PageSourceSearch

https://kidokit.com/29fecc101a576b3d0bf6e20b4832cf4e08828765-65b937a70ed72520e939.js

js kidokit.com collected 2026-10-02 00:51:43 UTC 112,659 bytes, 2 lines download raw bytes

1(self.webpackChunkkidokit_new_web=self.webpackChunkkidokit_new_web||[]).push([[283],{234:function(e,t,n){"use strict";n.d(t,{A:function(){return c}});var o=n(8168),r=n(6540),i={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"},a=n(7064),l=function(e,t){return r.createElement(a.A,(0,o.A)({},e,{ref:t,icon:i}))};var c=r.forwardRef(l)},329:function(e,t,n){"use strict";n.d(t,{A:function(){return c}});var o=n(8168),r=n(6540),i={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"}}
1]},name:"left",theme:"outlined"},a=n(7064),l=function(e,t){return r.createElement(a.A,(0,o.A)({},e,{ref:t,icon:i}))};var c=r.forwardRef(l)},8e3:function(e,t,n){"use strict";n.d(t,{A:function(){return c}});var o=n(8168),r=n(6540),i={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"},a=n(7064),l=function(e,t){return r.createElement(a.A,(0,o.A)({},e,{ref:t,icon:i}))};var c=r.forwardRef(l)},4429:function(e,t,n){"use strict";n.d(t,{A:function(){return Bn}});var o=n(6540),r=n(6942),i=n.n(r),a=n(2546),l=n(2065),c=n(682),s=n(2279),u=n(4103),d=n(8e3),m=n(8168),p=n(4467),f=n(5544),g=n(3986),v=n(2427),b=n(8719),h=n(6928),C=n(5371),y=h.A.ESC,$=h.A.TAB;var w=(0,o.forwardRef)((function(e,t){var n=e.overlay,r=e.arrow,i=e.prefixCls,a=(0,o.useMemo)((function(){return"function"==typeof n?n():n}),[n]),l=(0,b.K4)(t,null==a?void 0:a.ref);return o.createElement(o.Fragment,null,r&&o.createElement("div",{className:"".concat(i,"-arrow")}),o.cloneElement(a,{ref:(0,b.f3)(a)?l:void 0}))})),A={adjustX:1,adjustY:1},S=[0,0],x={topLeft:{points:["bl","tl"],overflow:A,offset:[0,-4],targetOffset:S},top:{points:["bc","tc"],overflow:A,offset:[0,-4],targetOffset:S},topRight:{points:["br","tr"],overflow:A,offset:[0,-4],targetOffset:S},bottomLeft:{points:["tl","bl"],overflow:A,offset:[0,4],targetOffset:S},bottom:{points:["tc","bc"],overflow:A,offset:[0,4],targetOffset:S},bottomRight:{points:["tr","br"],overflow:A,offset:[0,4],targetOffset:S}},I=["arrow","prefixCls","transitionName","animation","align","placement","placements","getPopupContainer","showAction","hideAction","overlayClassName","overlayStyle","visible","trigger","autoFocus","overlay","children","onVisibleChange"];function E(e,t){var n,r=e.arrow,a=void 0!==r&&r,l=e.prefixCls,c=void 0===l?"rc-dropdown":l,s=e.transitionName,u=e.animation,d=e.align,h=e.placement,A=void 0===h?"bottomLeft":h,S=e.placements,E=void 0===S?x:S,k=e.getPopupContainer,O=e.showAction,N=e.hideAction,M=e.overlayClassName,R=e.overlayStyle,B=e.visible,z=e.trigger,P=void 0===z?["hover"]:z,j=e.autoFocus,T=e.overlay,L=e.children,D=e.onVisibleChange,H=(0,g.A)(e,I),X=o.useState(),K=(0,f.A)(X,2),W=K[0],Y=K[1],F="visible"in e?B:W,_=o.useRef(null),q=o.useRef(null),V=o.useRef(null);o.useImperativeHandle(t,(function(){return _.current}));var G=function(e){Y(e),null==D||D(e)};!function(e){var t=e.visible,n=e.triggerRef,r=e.onVisibleChange,i=e.autoFocus,a=e.overlayRef,l=o.useRef(!1),c=function(){var e,o;t&&(null===(e=n.current)||void 0===e||null===(o=e.focus)||void 0===o||o.call(e),null==r||r(!1))},s=function(){var e;return!(null===(e=a.current)||void 0===e||!e.focus||(a.current.focus(),l.current=!0,0))},u=function(e){switch(e.keyCode){case y:c();break;case $:var t=!1;l.current||(t=s()),t?e.preventDefault():c()}};o.useEffect((function(){return t?(window.addEventListener("keydown",u),i&&(0,C.A)(s,3),function(){window.removeEventListener("keydown",u),l.current=!1}):function(){l.current=!1}}),[t])}({visible:F,triggerRef:V,onVisibleChange:G,autoFocus:j,overlayRef:q});var Z,U,Q,J=function(){return o.createElement(w,{ref:q,overlay:T,prefixCls:c,arrow:a})},ee=o.cloneElement(L,{className:i()(null===(n=L.props)||void 0===n?void 0:n.className,F&&(Z=e.openClassName,void 0!==Z?Z:"".concat(c,"-open"))),ref:(0,b.f3)(L)?(0,b.K4)(V,L.ref):void 0}),te=N;return te||-1===P.indexOf("contextMenu")||(te=["click"]),o.createElement(v.A,(0,m.A)({builtinPlacements:E},H,{prefixCls:c,ref:_,popupClassName:i()(M,(0,p.A)({},"".concat(c,"-show-arrow"),a)),popupStyle:R,action:P,showAction:O,hideAction:te,popupPlacement:A,popupAlign:d,popupTransitionName:s,popupAnimation:u,popupVisible:F,stretch:(U=e.minOverlayWidthMatchTrigger,Q=e.alignPoint,("minOverlayWidthMatchTrigger"in e?U:!Q)?"minWidth":""),popup:"function"==typeof T?J:J(),onPopupVisibleChange:G,onPopupClick:function(t){var n=e.onOverlayClick;Y(!1),n&&n(t)},getPopupContainer:k}),ee)}var k=o.forwardRef(E),O=n(1470),N=n(2533),M=n(9853),R=n(275),B=n(3257),z=n(3425),P=n(8877),j=n(2616),T=n(934),L=n(9379),D=n(436),H=n(9591),X=n(3210),K=n(8210),W=n(961),Y=o.createContext(null);function F(e,t){return void 0===e?null:"".concat(e,"-").concat(t)}function _(e){return F(o.useContext(Y),e)}var q=n(8104),V=["children","locked"],G=o.createContext(null);function Z(e){var t=e.children,n=e.locked,r=(0,g.A)(e,V),i=o.useContext(G),a=(0,q.A)((function(){return e=i,t=r,n=(0,L.A)({},e),Object.keys(t).forEach((function(e){var o=t[e];void 0!==o&&(n[e]=o)})),n;var e,t,n}),[i,r],(function(e,t){return!(n||e[0]===t[0]&&(0,X.A)(e[1],t[1],!0))}));return o.createElement(G.Provider,{value:a},t)}var U=[],Q=o.createContext(null);function J(){return o.useContext(Q)}var ee=o.createContext(U);function te(e){var t=o.useContext(ee);return o.useMemo((function(){return void 0!==e?[].concat((0,D.A)(t),[e]):t}),[t,e])}var ne=o.createContext(null),oe=o.createContext({}),re=n(2467);function ie(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if((0,re.A)(e)){var n=e.nodeName.toLowerCase(),o=["input","select","textarea","button"].includes(n)||e.isContentEditable||"a"===n&&!!e.getAttribute("href"),r=e.getAttribute("tabindex"),i=Number(r),a=null;return r&&!Number.isNaN(i)?a=i:o&&null===a&&(a=0),o&&e.disabled&&(a=null),null!==a&&(a>=0||t&&a<0)}return!1}function ae(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=(0,D.A)(e.querySelectorAll("*")).filter((function(e){return ie(e,t)}));return ie(e,t)&&n.unshift(e),n}var le=h.A.LEFT,ce=h.A.RIGHT,se=h.A.UP,ue=h.A.DOWN,de=h.A.ENTER,me=h.A.ESC,pe=h.A.HOME,fe=h.A.END,ge=[se,ue,le,ce];function ve(e,t){return ae(e,!0).filter((function(e){return t.has(e)}))}function be(e,t,n){var o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1;if(!e)return null;var r=ve(e,t),i=r.length,a=r.findIndex((function(e){return n===e}));return o<0?-1===a?a=i-1:a-=1:o>0&&(a+=1),r[a=(a+i)%i]}var he=function(e,t){var n=new Set,o=new Map,r=new Map;return e.forEach((function(e){var i=document.querySelector("[data-menu-id='".concat(F(t,e),"']"));i&&(n.add(i),r.set(i,e),o.set(e,i))})),{elements:n,key2element:o,element2key:r}};function Ce(e,t,n,r,i,a,l,c,s,u){var d=o.useRef(),m=o.useRef();m.current=t;var f=function(){C.A.cancel(d.current)};return o.useEffect((function(){return function(){f()}}),[]),function(o){var g=o.which;if([].concat(ge,[de,me,pe,fe]).includes(g)){var v=a(),b=he(v,r),h=b,y=h.elements,$=h.key2element,w=h.element2key,A=function(e,t){for(var n=e||document.activeElement;n;){if(t.has(n))return n;n=n.parentElement}return null}($.get(t),y),S=w.get(A),x=function(e,t,n,o){var r,i="prev",a="next",l="children",c="parent";if("inline"===e&&o===de)return{inlineTrigger:!0};var s=(0,p.A)((0,p.A)({},se,i),ue,a),u=(0,p.A)((0,p.A)((0,p.A)((0,p.A)({},le,n?a:i),ce,n?i:a),ue,l),de,l),d=(0,p.A)((0,p.A)((0,p.A)((0,p.A)((0,p.A)((0,p.A)({},se,i),ue,a),de,l),me,c),le,n?l:c),ce,n?c:l);switch(null===(r={inline:s,horizontal:u,vertical:d,inlineSub:s,horizontalSub:d,verticalSub:d}["".concat(e).concat(t?"":"Sub")])||void 0===r?void 0:r[o]){case i:return{offset:-1,sibling:!0};case a:return{offset:1,sibling:!0};case c:return{offset:-1,sibling:!1};case l:return{offset:1,sibling:!1};default:return null}}(e,1===l(S,!0).length,n,g);if(!x&&g!==pe&&g!==fe)return;(ge.includes(g)||[pe,fe].includes(g))&&o.preventDefault();var I=function(e){if(e){var t=e,n=e.querySelector("a");null!=n&&n.getAttribute("href")&&(t=n);var o=w.get(e);
1c(o),f(),d.current=(0,C.A)((function(){m.current===o&&t.focus()}))}};if([pe,fe].includes(g)||x.sibling||!A){var E,k,O=ve(E=A&&"inline"!==e?function(e){for(var t=e;t;){if(t.getAttribute("data-menu-list"))return t;t=t.parentElement}return null}(A):i.current,y);k=g===pe?O[0]:g===fe?O[O.length-1]:be(E,y,A,x.offset),I(k)}else if(x.inlineTrigger)s(S);else if(x.offset>0)s(S,!0),f(),d.current=(0,C.A)((function(){b=he(v,r);var e=A.getAttribute("aria-controls"),t=be(document.getElementById(e),b.elements);I(t)}),5);else if(x.offset<0){var N=l(S,!0),M=N[N.length-2],R=$.get(M);s(M,!1),I(R)}}null==u||u(o)}}var ye="__RC_UTIL_PATH_SPLIT__",$e=function(e){return e.join(ye)},we="rc-menu-more";function Ae(){var e=o.useState({}),t=(0,f.A)(e,2)[1],n=(0,o.useRef)(new Map),r=(0,o.useRef)(new Map),i=o.useState([]),a=(0,f.A)(i,2),l=a[0],c=a[1],s=(0,o.useRef)(0),u=(0,o.useRef)(!1),d=(0,o.useCallback)((function(e,o){var i=$e(o);r.current.set(i,e),n.current.set(e,i),s.current+=1;var a,l=s.current;a=function(){l===s.current&&(u.current||t({}))},Promise.resolve().then(a)}),[]),m=(0,o.useCallback)((function(e,t){var o=$e(t);r.current.delete(o),n.current.delete(e)}),[]),p=(0,o.useCallback)((function(e){c(e)}),[]),g=(0,o.useCallback)((function(e,t){var o=n.current.get(e)||"",r=o.split(ye);return t&&l.includes(r[0])&&r.unshift(we),r}),[l]),v=(0,o.useCallback)((function(e,t){return e.some((function(e){return g(e,!0).includes(t)}))}),[g]),b=(0,o.useCallback)((function(e){var t="".concat(n.current.get(e)).concat(ye),o=new Set;return(0,D.A)(r.current.keys()).forEach((function(e){e.startsWith(t)&&o.add(r.current.get(e))})),o}),[]);return o.useEffect((function(){return function(){u.current=!0}}),[]),{registerPath:d,unregisterPath:m,refreshOverflowKeys:p,isSubPathKey:v,getKeyPath:g,getKeys:function(){var e=(0,D.A)(n.current.keys());return l.length&&e.push(we),e},getSubPathKeys:b}}function Se(e){var t=o.useRef(e);t.current=e;var n=o.useCallback((function(){for(var e,n=arguments.length,o=new Array(n),r=0;r<n;r++)o[r]=arguments[r];return null===(e=t.current)||void 0===e?void 0:e.call.apply(e,[t].concat(o))}),[]);return e?n:void 0}var xe=Math.random().toFixed(5).toString().slice(2),Ie=0;var Ee=n(3029),ke=n(2901),Oe=n(5501),Ne=n(9426);function Me(e,t,n,r){var i=o.useContext(G),a=i.activeKey,l=i.onActive,c=i.onInactive,s={active:a===e};return t||(s.onMouseEnter=function(t){null==n||n({key:e,domEvent:t}),l(e)},s.onMouseLeave=function(t){null==r||r({key:e,domEvent:t}),c(e)}),s}function Re(e){var t=o.useContext(G),n=t.mode,r=t.rtl,i=t.inlineIndent;if("inline"!==n)return null;return r?{paddingRight:e*i}:{paddingLeft:e*i}}function Be(e){var t,n=e.icon,r=e.props,i=e.children;return null===n||!1===n?null:("function"==typeof n?t=o.createElement(n,(0,L.A)({},r)):"boolean"!=typeof n&&(t=n),t||i||null)}var ze=["item"];function Pe(e){var t=e.item,n=(0,g.A)(e,ze);return Object.defineProperty(n,"item",{get:function(){return(0,K.Ay)(!1,"`info.item` is deprecated since we will move to function component that not provides React Node instance in future."),t}}),n}var je=["title","attribute","elementRef"],Te=["style","className","eventKey","warnKey","disabled","itemIcon","children","role","onMouseEnter","onMouseLeave","onClick","onKeyDown","onFocus"],Le=["active"],De=function(e){(0,Oe.A)(n,e);var t=(0,Ne.A)(n);function n(){return(0,Ee.A)(this,n),t.apply(this,arguments)}return(0,ke.A)(n,[{key:"render",value:function(){var e=this.props,t=e.title,n=e.attribute,r=e.elementRef,i=(0,g.A)(e,je),a=(0,M.A)(i,["eventKey","popupClassName","popupOffset","onTitleClick"]);return(0,K.Ay)(!n,"`attribute` of Menu.Item is deprecated. Please pass attribute directly."),o.createElement(H.A.Item,(0,m.A)({},n,{title:"string"==typeof t?t:void 0},a,{ref:r}))}}]),n}(o.Component),He=o.forwardRef((function(e,t){var n=e.style,r=e.className,a=e.eventKey,l=(e.warnKey,e.disabled),c=e.itemIcon,s=e.children,u=e.role,d=e.onMouseEnter,f=e.onMouseLeave,v=e.onClick,C=e.onKeyDown,y=e.onFocus,$=(0,g.A)(e,Te),w=_(a),A=o.useContext(G),S=A.prefixCls,x=A.onItemClick,I=A.disabled,E=A.overflowDisabled,k=A.itemIcon,O=A.selectedKeys,N=A.onActive,M=o.useContext(oe)._internalRenderMenuItem,R="".concat(S,"-item"),B=o.useRef(),z=o.useRef(),P=I||l,j=(0,b.xK)(t,z),T=te(a);var H=function(e){return{key:a,keyPath:(0,D.A)(T).reverse(),item:B.current,domEvent:e}},X=c||k,K=Me(a,P,d,f),W=K.active,Y=(0,g.A)(K,Le),F=O.includes(a),q=Re(T.length),V={};"option"===e.role&&(V["aria-selected"]=F);var Z=o.createElement(De,(0,m.A)({ref:B,elementRef:j,role:null===u?"none":u||"menuitem",tabIndex:l?null:-1,"data-menu-id":E&&w?null:w},$,Y,V,{component:"li","aria-disabled":l,style:(0,L.A)((0,L.A)({},q),n),className:i()(R,(0,p.A)((0,p.A)((0,p.A)({},"".concat(R,"-active"),W),"".concat(R,"-selected"),F),"".concat(R,"-disabled"),P),r),onClick:function(e){if(!P){var t=H(e);null==v||v(Pe(t)),x(t)}},onKeyDown:function(e){if(null==C||C(e),e.which===h.A.ENTER){var t=H(e);null==v||v(Pe(t)),x(t)}},onFocus:function(e){N(a),null==y||y(e)}}),s,o.createElement(Be,{props:(0,L.A)((0,L.A)({},e),{},{isSelected:F}),icon:X}));return M&&(Z=M(Z,e,{selected:F})),Z}));
1function Xe(e,t){var n=e.eventKey,r=J(),i=te(n);return o.useEffect((function(){if(r)return r.registerPath(n,i),function(){r.unregisterPath(n,i)}}),[i]),r?null:o.createElement(He,(0,m.A)({},e,{ref:t}))}var Ke=o.forwardRef(Xe),We=["className","children"],Ye=function(e,t){var n=e.className,r=e.children,a=(0,g.A)(e,We),l=o.useContext(G),c=l.prefixCls,s=l.mode,u=l.rtl;return o.createElement("ul",(0,m.A)({className:i()(c,u&&"".concat(c,"-rtl"),"".concat(c,"-sub"),"".concat(c,"-").concat("inline"===s?"inline":"vertical"),n),role:"menu"},a,{"data-menu-list":!0,ref:t}),r)},Fe=o.forwardRef(Ye);Fe.displayName="SubMenuList";var _e=Fe;function qe(e,t){return(0,a.A)(e).map((function(e,n){if(o.isValidElement(e)){var r,i,a=e.key,l=null!==(r=null===(i=e.props)||void 0===i?void 0:i.eventKey)&&void 0!==r?r:a;null==l&&(l="tmp_key-".concat([].concat((0,D.A)(t),[n]).join("-")));var c={key:l,eventKey:l};return o.cloneElement(e,c)}return e}))}var Ve={adjustX:1,adjustY:1},Ge={topLeft:{points:["bl","tl"],overflow:Ve},topRight:{points:["br","tr"],overflow:Ve},bottomLeft:{points:["tl","bl"],overflow:Ve},bottomRight:{points:["tr","br"],overflow:Ve},leftTop:{points:["tr","tl"],overflow:Ve},leftBottom:{points:["br","bl"],overflow:Ve},rightTop:{points:["tl","tr"],overflow:Ve},rightBottom:{points:["bl","br"],overflow:Ve}},Ze={topLeft:{points:["bl","tl"],overflow:Ve},topRight:{points:["br","tr"],overflow:Ve},bottomLeft:{points:["tl","bl"],overflow:Ve},bottomRight:{points:["tr","br"],overflow:Ve},rightTop:{points:["tr","tl"],overflow:Ve},rightBottom:{points:["br","bl"],overflow:Ve},leftTop:{points:["tl","tr"],overflow:Ve},leftBottom:{points:["bl","br"],overflow:Ve}};function Ue(e,t,n){return t||(n?n[e]||n.other:void 0)}var Qe={horizontal:"bottomLeft",vertical:"rightTop","vertical-left":"rightTop","vertical-right":"leftTop"};function Je(e){var t=e.prefixCls,n=e.visible,r=e.children,a=e.popup,l=e.popupStyle,c=e.popupClassName,s=e.popupOffset,u=e.disabled,d=e.mode,m=e.onVisibleChange,g=o.useContext(G),b=g.getPopupContainer,h=g.rtl,y=g.subMenuOpenDelay,$=g.subMenuCloseDelay,w=g.builtinPlacements,A=g.triggerSubMenuAction,S=g.forceSubMenuRender,x=g.rootClassName,I=g.motion,E=g.defaultMotions,k=o.useState(!1),O=(0,f.A)(k,2),N=O[0],M=O[1],R=h?(0,L.A)((0,L.A)({},Ze),w):(0,L.A)((0,L.A)({},Ge),w),B=Qe[d],z=Ue(d,I,E),P=o.useRef(z);"inline"!==d&&(P.current=z);var j=(0,L.A)((0,L.A)({},P.current),{},{leavedClassName:"".concat(t,"-hidden"),removeOnLeave:!1,motionAppear:!0}),T=o.useRef();return o.useEffect((function(){return T.current=(0,C.A)((function(){M(n)})),function(){C.A.cancel(T.current)}}),[n]),o.createElement(v.A,{prefixCls:t,popupClassName:i()("".concat(t,"-popup"),(0,p.A)({},"".concat(t,"-rtl"),h),c,x),stretch:"horizontal"===d?"minWidth":null,getPopupContainer:b,builtinPlacements:R,popupPlacement:B,popupVisible:N,popup:a,popupStyle:l,popupAlign:s&&{offset:s},action:u?[]:[A],mouseEnterDelay:y,mouseLeaveDelay:$,onPopupVisibleChange:m,forceRender:S,popupMotion:j,fresh:!0},r)}var et=n(7557);function tt(e){var t=e.id,n=e.open,r=e.keyPath,i=e.children,a="inline",l=o.useContext(G),c=l.prefixCls,s=l.forceSubMenuRender,u=l.motion,d=l.defaultMotions,p=l.mode,g=o.useRef(!1);g.current=p===a;var v=o.useState(!g.current),b=(0,f.A)(v,2),h=b[0],C=b[1],y=!!g.current&&n;o.useEffect((function(){g.current&&C(!1)}),[p]);var $=(0,L.A)({},Ue(a,u,d));r.length>1&&($.motionAppear=!1);var w=$.onVisibleChanged;return $.onVisibleChanged=function(e){return g.current||e||C(!0),null==w?void 0:w(e)},h?null:o.createElement(Z,{mode:a,locked:!g.current},o.createElement(et.default,(0,m.A)({visible:y},$,{forceRender:s,removeOnLeave:!1,leavedClassName:"".concat(c,"-hidden")}),(function(e){var n=e.className,r=e.style;return o.createElement(_e,{id:t,className:n,style:r},i)})))}var nt=["style","className","title","eventKey","warnKey","disabled","internalPopupClose","children","itemIcon","expandIcon","popupClassName","popupOffset","popupStyle","onClick","onMouseEnter","onMouseLeave","onTitleClick","onTitleMouseEnter","onTitleMouseLeave"],ot=["active"],rt=o.forwardRef((function(e,t){var n=e.style,r=e.className,a=e.title,l=e.eventKe
1y,c=(e.warnKey,e.disabled),s=e.internalPopupClose,u=e.children,d=e.itemIcon,v=e.expandIcon,b=e.popupClassName,h=e.popupOffset,C=e.popupStyle,y=e.onClick,$=e.onMouseEnter,w=e.onMouseLeave,A=e.onTitleClick,S=e.onTitleMouseEnter,x=e.onTitleMouseLeave,I=(0,g.A)(e,nt),E=_(l),k=o.useContext(G),O=k.prefixCls,N=k.mode,M=k.openKeys,R=k.disabled,B=k.overflowDisabled,z=k.activeKey,P=k.selectedKeys,j=k.itemIcon,T=k.expandIcon,D=k.onItemClick,X=k.onOpenChange,K=k.onActive,W=o.useContext(oe)._internalRenderSubMenuItem,Y=o.useContext(ne).isSubPathKey,F=te(),q="".concat(O,"-submenu"),V=R||c,U=o.useRef(),Q=o.useRef();var J=null!=d?d:j,ee=null!=v?v:T,re=M.includes(l),ie=!B&&re,ae=Y(P,l),le=Me(l,V,S,x),ce=le.active,se=(0,g.A)(le,ot),ue=o.useState(!1),de=(0,f.A)(ue,2),me=de[0],pe=de[1],fe=function(e){V||pe(e)},ge=o.useMemo((function(){return ce||"inline"!==N&&(me||Y([z],l))}),[N,ce,z,me,l,Y]),ve=Re(F.length),be=Se((function(e){null==y||y(Pe(e)),D(e)})),he=E&&"".concat(E,"-popup"),Ce=o.createElement("div",(0,m.A)({role:"menuitem",style:ve,className:"".concat(q,"-title"),tabIndex:V?null:-1,ref:U,title:"string"==typeof a?a:null,"data-menu-id":B&&E?null:E,"aria-expanded":ie,"aria-haspopup":!0,"aria-controls":he,"aria-disabled":V,onClick:function(e){V||(null==A||A({key:l,domEvent:e}),"inline"===N&&X(l,!re))},onFocus:function(){K(l)}},se),a,o.createElement(Be,{icon:"horizontal"!==N?ee:void 0,props:(0,L.A)((0,L.A)({},e),{},{isOpen:ie,isSubMenu:!0})},o.createElement("i",{className:"".concat(q,"-arrow")}))),ye=o.useRef(N);if("inline"!==N&&F.length>1?ye.current="vertical":ye.current=N,!B){var $e=ye.current;Ce=o.createElement(Je,{mode:$e,prefixCls:q,visible:!s&&ie&&"inline"!==N,popupClassName:b,popupOffset:h,popupStyle:C,popup:o.createElement(Z,{mode:"horizontal"===$e?"vertical":$e},o.createElement(_e,{id:he,ref:Q},u)),disabled:V,onVisibleChange:function(e){"inline"!==N&&X(l,e)}},Ce)}var we=o.createElement(H.A.Item,(0,m.A)({ref:t,role:"none"},I,{component:"li",style:n,className:i()(q,"".concat(q,"-").concat(N),r,(0,p.A)((0,p.A)((0,p.A)((0,p.A)({},"".concat(q,"-open"),ie),"".concat(q,"-active"),ge),"".concat(q,"-selected"),ae),"".concat(q,"-disabled"),V)),onMouseEnter:function(e){fe(!0),null==$||$({key:l,domEvent:e})},onMouseLeave:function(e){fe(!1),null==w||w({key:l,domEvent:e})}}),Ce,!B&&o.createElement(tt,{id:he,open:ie,keyPath:F},u));return W&&(we=W(we,e,{selected:ae,active:ge,open:ie,disabled:V})),o.createElement(Z,{onItemClick:be,mode:"horizontal"===N?"vertical":N,itemIcon:J,expandIcon:ee},we)}));var it=o.forwardRef((function(e,t){var n,r=e.eventKey,i=e.children,a=te(r),l=qe(i,a),c=J();return o.useEffect((function(){if(c)return c.registerPath(r,a),function(){c.unregisterPath(r,a)}}),[a]),n=c?l:o.createElement(rt,(0,m.A)({ref:t},e),l),o.createElement(ee.Provider,{value:a},n)})),at=n(2284);function lt(e){var t=e.className,n=e.style,r=o.useContext(G).prefixCls;return J()?null:o.createElement("li",{role:"separator",className:i()("".concat(r,"-item-divider"),t),style:n})}var ct=["className","title","eventKey","children"],st=o.forwardRef((function(e,t){var n=e.className,r=e.title,a=(e.eventKey,e.children),l=(0,g.A)(e,ct),c=o.useContext(G).prefixCls,s="".concat(c,"-item-group");return o.createElement("li",(0,m.A)({ref:t,role:"presentation"},l,{onClick:function(e){return e.stopPropagation()},className:i()(s,n)}),o.createElement("div",{role:"presentation",className:"".concat(s,"-title"),title:"string"==typeof r?r:void 0},r),o.createElement("ul",{role:"group",className:"".concat(s,"-list")},a))}));var ut=o.forwardRef((function(e,t){var n=e.eventKey,r=qe(e.children,te(n));return J()?r:o.createElement(st,(0,m.A)({ref:t},(0,M.A)(e,["warnKey"])),r)})),dt=["label","children","key","type"];function mt(e,t){var n=t.item,r=t.group,i=t.submenu,a=t.divider;return(e||[]).map((function(e,l){if(e&&"object"===(0,at.A)(e)){var c=e,s=c.label,u=c.children,d=c.key,p=c.type,f=(0,g.A)(c,dt),v=null!=d?d:"tmp-".concat(l);return u||"group"===p?"group"===p?o.createElement(r,(0,m.A)({key:v},f,{title:s}),mt(u,t)):o.createElement(i,(0,m.A)({key:v},f,{title:s}),mt(u,t)):"divider"===p?o.createElement(a,(0,m.A)({key:v},f)):o.createElement(n,(0,m.A)({key:v},f),s)}return null})).filter((function(e){return e}))}function pt(e,t,n,o){var r=e,i=(0,L.A)({divider:lt,item:Ke,group:ut,submenu:it},o);return t&&(r=mt(t,i)),qe(r,n)}var ft=["prefixCls","rootClassName","style","className","tabIndex","items","children","direction","id","mode","inlineCollapsed","disabled","disabledOverflow","subMenuOpenDelay","subMenuCloseDelay","forceSubMenuRender","defaultOpenKeys","openKeys","activeKey","defaultActiveFirst","selectable","multiple","defaultSelectedKeys","selectedKeys","onSelect","onDeselect","inlineIndent","motion","defaultMotions","triggerSubMenuAction","builtinPlacements","itemIcon","expandIcon","overflowedIndicator","overflowedIndicatorPopupClassName","getPopupContainer","onClick","onOpenChange","onKeyDown","openAnimation","openTransitionName","_internalRenderMenuItem","_internalRenderSubMenuItem","_internalComponents"],gt=[],vt=o.forwardRef((function(e,t){var n,r=e,a=r.prefixCls,l=void 0===a?"rc-menu":a,c=r.rootClassName,s=r.style,u=r.className,d=r.tabIndex,v=void 0===d?0:d,b=r.items,h=r.children,C=r.direction,y=r.id,$=r.mode,w=void 0===$?"vertical":$,A=r.inlineCollapsed,S=r.disabled,x=r.disabledOverflow,I=r.subMenuOpenDelay,E=void 0===I?.1:I,k=r.subMenuCloseDelay,O=void 0===k?.1:k,M=r.forceSubMenuRender,R=r.defaultOpenKeys,B=r.openKeys,z=r.activeKey,P=r.defaultActiveFirst,j=r.selectable,T=void 0===j||j,K=r.multiple,F=void 0!==K&&K,_=r.defaultSelectedKeys,q=r.selectedKeys,V=r.onSelect,G=r.onDeselect,U=r.inlineIndent,J=void 0===U?24:U,ee=r.motion,te=r.defaultMotions,re=r.triggerSubMenuAction,ie=void 0===re?"hover":re,ae=r.builtinPlacements,le=r.itemIcon,ce=r.expandIcon,se=r.overflowedIndicator,ue=void 0===se?"...":se,de=r.overflowedIndicatorPopupClassName,me=r.getPopupContainer,pe=r.onClick,fe=r.onOpenChange,ge=r.onKeyDown,be=(r.openAnimation,r.openTransitionName,r._internalRenderMenuItem),ye=r._internalRenderSubMenuItem,$e=r._internalComponents,Ee=(0,g.A)(r,ft),ke=o.useMemo((function(){return[pt(h,b,gt,$e),pt(h,b,gt,{})]}),[h,b,$e]),Oe=(0,f.A)(ke,2),Ne=Oe[0],Me=Oe[1],Re=o.useState(!1),Be=(0,f.A)(Re,2),ze=Be[0],je=Be[1],Te=o.useRef(),Le=function(e){var t=(0,N.A)(e,{value:e}),n=(0,f.A)(t,2),r=n[0],i=n[1];return o.useEffect((function(){Ie+=1;var e="".concat(xe,"-").concat(Ie);i("rc-menu-uuid-".concat(e))}),[]),r}(y),De="rtl"===C;var He=(0,N.A)(R,{value:B,postState:function(e){return e||gt}}),Xe=(0,f.A)(He,2),We=Xe[0],Ye=Xe[1],Fe=function(e){function t(){Ye(e),null==fe||fe(e)}arguments.length>1&&void 0!==arguments[1]&&arguments[1]?(0,W.flushSync)(t):t()},_e=o.useState(We),qe=(0,f.A)(_e,2),Ve=qe[0],Ge=qe[1],Ze=o.useRef(!1),Ue=o.useMemo((function(){return"inline"!==w&&"vertical"!==w||!A?[w,!1]:["vertical",A]}),[w,A]),Qe=(0,f.A)(Ue,2),Je=Qe[0],et=Qe[1],tt="inline"===Je,nt=o.useState(Je),ot=(0,f.A)(nt,2),rt=ot[0],at=ot[1],lt=o.useState(et),ct=(0,f.A)(lt,2),st=ct[0],ut=ct[1];o.useEffect((function(){at(Je),ut(et),Ze.current&&(tt?Ye(Ve):Fe(gt))}),[Je,et]);var dt=o.useState(0),mt=(0,f.A)(dt,2),vt=mt[0],bt=mt[1],ht=vt>=Ne.length-1||"horizontal"!==rt||x;o.useEffect((function(){tt&&Ge(We)}),[We]),o.useEffect((function(){return Ze.current=!0,function(){Ze.current=!1}}),[]);var Ct=Ae(),yt=Ct.registerPath,$t=Ct.unregisterPath,wt=Ct.refreshOverflowKeys,At=Ct.isSubPathKey,St=Ct.getKeyPath,xt=Ct.getKeys,It=Ct.getSubPathKeys,Et=o.useMemo((function(){return{registerPath:yt,unregisterPath:$t}}),[yt,$t]),kt=o.useMemo((function(){return{isSubPathKey:At}}),[At]);o.useEffect((function(){wt(ht?gt:Ne.slice(vt+1).map((function(e){return e.key})))}),[vt,ht]);var Ot=(0,N.A)(z||P&&(null===(n=Ne[0])||void 0===n?void 0:n.key),{value:z}),Nt=(0,f.A)(Ot,2),Mt=Nt[0],Rt=Nt[1],Bt=Se((function(e){Rt(e)})),zt=Se((function(){Rt(void 0)}));(0,o.useImperativeHandle)(t,(function(){return{list:Te.current,focus:function(e){var t,n,o=xt(),r=he(o,Le),i=r.elements,a=r.key2element,l=r.element2key,c=ve(Te.current,i),s=null!=Mt?Mt:c[0]?l.get(c[0]):null===(t=Ne.f
1ind((function(e){return!e.props.disabled})))||void 0===t?void 0:t.key,u=a.get(s);s&&u&&(null==u||null===(n=u.focus)||void 0===n||n.call(u,e))}}}));var Pt=(0,N.A)(_||[],{value:q,postState:function(e){return Array.isArray(e)?e:null==e?gt:[e]}}),jt=(0,f.A)(Pt,2),Tt=jt[0],Lt=jt[1],Dt=Se((function(e){null==pe||pe(Pe(e)),function(e){if(T){var t,n=e.key,o=Tt.includes(n);t=F?o?Tt.filter((function(e){return e!==n})):[].concat((0,D.A)(Tt),[n]):[n],Lt(t);var r=(0,L.A)((0,L.A)({},e),{},{selectedKeys:t});o?null==G||G(r):null==V||V(r)}!F&&We.length&&"inline"!==rt&&Fe(gt)}(e)})),Ht=Se((function(e,t){var n=We.filter((function(t){return t!==e}));if(t)n.push(e);else if("inline"!==rt){var o=It(e);n=n.filter((function(e){return!o.has(e)}))}(0,X.A)(We,n,!0)||Fe(n,!0)})),Xt=Ce(rt,Mt,De,Le,Te,xt,St,Rt,(function(e,t){var n=null!=t?t:!We.includes(e);Ht(e,n)}),ge);o.useEffect((function(){je(!0)}),[]);var Kt=o.useMemo((function(){return{_internalRenderMenuItem:be,_internalRenderSubMenuItem:ye}}),[be,ye]),Wt="horizontal"!==rt||x?Ne:Ne.map((function(e,t){return o.createElement(Z,{key:e.key,overflowDisabled:t>vt},e)})),Yt=o.createElement(H.A,(0,m.A)({id:y,ref:Te,prefixCls:"".concat(l,"-overflow"),component:"ul",itemComponent:Ke,className:i()(l,"".concat(l,"-root"),"".concat(l,"-").concat(rt),u,(0,p.A)((0,p.A)({},"".concat(l,"-inline-collapsed"),st),"".concat(l,"-rtl"),De),c),dir:C,style:s,role:"menu",tabIndex:v,data:Wt,renderRawItem:function(e){return e},renderRawRest:function(e){var t=e.length,n=t?Ne.slice(-t):null;return o.createElement(it,{eventKey:we,title:ue,disabled:ht,internalPopupClose:0===t,popupClassName:de},n)},maxCount:"horizontal"!==rt||x?H.A.INVALIDATE:H.A.RESPONSIVE,ssr:"full","data-menu-list":!0,onVisibleChange:function(e){bt(e)},onKeyDown:Xt},Ee));return o.createElement(oe.Provider,{value:Kt},o.createElement(Y.Provider,{value:Le},o.createElement(Z,{prefixCls:l,rootClassName:c,mode:rt,openKeys:We,rtl:De,disabled:S,motion:ze?ee:null,defaultMotions:ze?te:null,activeKey:Mt,onActive:Bt,onInactive:zt,selectedKeys:Tt,inlineIndent:J,subMenuOpenDelay:E,subMenuCloseDelay:O,forceSubMenuRender:M,builtinPlacements:ae,triggerSubMenuAction:ie,getPopupContainer:me,itemIcon:le,expandIcon:ce,onItemClick:Dt,onOpenChange:Ht},o.createElement(ne.Provider,{value:kt},Yt),o.createElement("div",{style:{display:"none"},"aria-hidden":!0},o.createElement(Q.Provider,{value:Et},Me)))))})),bt=vt;bt.Item=Ke,bt.SubMenu=it,bt.ItemGroup=ut,bt.Divider=lt;var ht=bt;const Ct=o.createContext({});(()=>{let e=0})();var yt={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"},$t=n(7064),wt=function(e,t){return o.createElement($t.A,(0,m.A)({},e,{ref:t,icon:yt}))};var At=o.forwardRef(wt),St=n(3723),xt=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]])}return n};var It=e=>{const{prefixCls:t,className:n,dashed:r}=e,a=xt(e,["prefixCls","className","dashed"]),{getPrefixCls:l}=o.useContext(s.QO),c=l("menu",t),u=i()({[`${c}-item-divider-dashed`]:!!r},n);return o.createElement(lt,Object.assign({className:u},a))};var Et=(0,o.createContext)({prefixCls:"",firstLevel:!0,inlineCollapsed:!1}),kt=n(6795);var Ot=e=>{var t;const{className:n,children:r,icon:l,title:s,danger:u}=e,{prefixCls:d,firstLevel:m,direction:p,disableMenuItemTitleTooltip:f,inlineCollapsed:g}=o.useContext(Et),{siderCollapsed:v}=o.useContext(Ct);let b=s;void 0===s?b=m?r:"":!1===s&&(b="");const h={title:b};v||g||(h.title=null,h.open=!1);const C=(0,a.A)(r).length;let y=o.createElement(Ke,Object.assign({},(0,M.A)(e,["title","icon","danger"]),{className:i()({[`${d}-item-danger`]:u,[`${d}-item-only-child`]:1===(l?C+1:C)},n),title:"string"==typeof s?s:void 0}),(0,c.Ob)(l,{className:i()(o.isValidElement(l)?null===(t=l.props)||void 0===t?void 0:t.className:"",`${d}-item-icon`)}),(e=>{const t=o.createElement("span",{className:`${d}-title-content`},r);return(!l||o.isValidElement(r)&&"span"===r.type)&&r&&e&&m&&"string"==typeof r?o.createElement("div",{className:`${d}-inline-collapsed-noicon`},r.charAt(0)):t})(g));return f||(y=o.createElement(kt.A,Object.assign({},h,{placement:"rtl"===p?"left":"right",overlayClassName:`${d}-inline-collapsed-tooltip`}),y)),y},Nt=n(6327),Mt=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]])}return n};const Rt=o.createContext(null),Bt=o.forwardRef(((e,t)=>{const{children:n}=e,r=Mt(e,["children"]),i=o.useContext(Rt),a=o.useMemo((()=>Object.assign(Object.assign({},i),r)),[i,r.prefixCls,r.mode,r.selectable,r.rootClassName]),l=(0,O.supportNodeRef)(n),c=(0,O.useComposeRef)(t,l?n.ref:null);return o.createElement(Rt.Provider,{value:a},o.createElement(Nt.K6,null,l?o.cloneElement(n,{ref:c}):n))}));var zt=Rt,Pt=n(4552),jt=n(4978),Tt=n(5905),Lt=n(977),Dt=n(3561),Ht=n(9077),Xt=n(1078),Kt=n(33
16);var Wt=e=>{const{componentCls:t,motionDurationSlow:n,horizontalLineHeight:o,colorSplit:r,lineWidth:i,lineType:a,itemPaddingInline:l}=e;return{[`${t}-horizontal`]:{lineHeight:o,border:0,borderBottom:`${(0,Pt.unit)(i)} ${a} ${r}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${t}-item, ${t}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:l},[`> ${t}-item:hover,\n        > ${t}-item-active,\n        > ${t}-submenu ${t}-submenu-title:hover`]:{backgroundColor:"transparent"},[`${t}-item, ${t}-submenu-title`]:{transition:[`border-color ${n}`,`background ${n}`].join(",")},[`${t}-submenu-arrow`]:{display:"none"}}}};var Yt=e=>{let{componentCls:t,menuArrowOffset:n,calc:o}=e;return{[`${t}-rtl`]:{direction:"rtl"},[`${t}-submenu-rtl`]:{transformOrigin:"100% 0"},[`${t}-rtl${t}-vertical,\n    ${t}-submenu-rtl ${t}-vertical`]:{[`${t}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(${(0,Pt.unit)(o(n).mul(-1).equal())})`},"&::after":{transform:`rotate(45deg) translateY(${(0,Pt.unit)(n)})`}}}}};const Ft=e=>Object.assign({},(0,Tt.jk)(e));var _t=(e,t)=>{const{componentCls:n,itemColor:o,itemSelectedColor:r,groupTitleColor:i,itemBg:a,subMenuItemBg:l,itemSelectedBg:c,activeBarHeight:s,activeBarWidth:u,activeBarBorderWidth:d,motionDurationSlow:m,motionEaseInOut:p,motionEaseOut:f,itemPaddingInline:g,motionDurationMid:v,itemHoverColor:b,lineType:h,colorSplit:C,itemDisabledColor:y,dangerItemColor:$,dangerItemHoverColor:w,dangerItemSelectedColor:A,dangerItemActiveBg:S,dangerItemSelectedBg:x,popupBg:I,itemHoverBg:E,itemActiveBg:k,menuSubMenuBg:O,horizontalItemSelectedColor:N,horizontalItemSelectedBg:M,horizontalItemBorderRadius:R,horizontalItemHoverBg:B}=e;return{[`${n}-${t}, ${n}-${t} > ${n}`]:{color:o,background:a,[`&${n}-root:focus-visible`]:Object.assign({},Ft(e)),[`${n}-item-group-title`]:{color:i},[`${n}-submenu-selected`]:{[`> ${n}-submenu-title`]:{color:r}},[`${n}-item, ${n}-submenu-title`]:{color:o,[`&:not(${n}-item-disabled):focus-visible`]:Object.assign({},Ft(e))},[`${n}-item-disabled, ${n}-submenu-disabled`]:{color:`${y} !important`},[`${n}-item:not(${n}-item-selected):not(${n}-submenu-selected)`]:{[`&:hover, > ${n}-submenu-title:hover`]:{color:b}},[`&:not(${n}-horizontal)`]:{[`${n}-item:not(${n}-item-selected)`]:{"&:hover":{backgroundColor:E},"&:active":{backgroundColor:k}},[`${n}-submenu-title`]:{"&:hover":{backgroundColor:E},"&:active":{backgroundColor:k}}},[`${n}-item-danger`]:{color:$,[`&${n}-item:hover`]:{[`&:not(${n}-item-selected):not(${n}-submenu-selected)`]:{color:w}},[`&${n}-item:active`]:{background:S}},[`${n}-item a`]:{"&, &:hover":{color:"inherit"}},[`${n}-item-selected`]:{color:r,[`&${n}-item-danger`]:{color:A},"a, a:hover":{color:"inherit"}},[`& ${n}-item-selected`]:{backgroundColor:c,[`&${n}-item-danger`]:{backgroundColor:x}},[`&${n}-submenu > ${n}`]:{backgroundColor:O},[`&${n}-popup > ${n}`]:{backgroundColor:I},[`&${n}-submenu-popup > ${n}`]:{backgroundColor:I},[`&${n}-horizontal`]:Object.assign(Object.assign({},"dark"===t?{borderBottom:0}:{}),{[`> ${n}-item, > ${n}-submenu`]:{top:d,marginTop:e.calc(d).mul(-1).equal(),marginBottom:0,borderRadius:R,"&::after":{position:"absolute",insetInline:g,bottom:0,borderBottom:`${(0,Pt.unit)(s)} solid transparent`,transition:`border-color ${m} ${p}`,content:'""'},"&:hover, &-active, &-open":{background:B,"&::after":{borderBottomWidth:s,borderBottomColor:N}},"&-selected":{color:N,backgroundColor:M,"&:hover":{backgroundColor:M},"&::after":{borderBottomWidth:s,borderBottomColor:N}}}}),[`&${n}-root`]:{[`&${n}-inline, &${n}-vertical`]:{borderInlineEnd:`${(0,Pt.unit)(d)} ${h} ${C}`}},[`&${n}-inline`]:{[`${n}-sub${n}-inline`]:{background:l},[`${n}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${(0,Pt.unit)(u)} solid ${r}`,transform:"scaleY(0.0001)",opacity:0,transition:[`transform ${v} ${f}`,`opacity ${v} ${f}`].join(","),content:'""'},[`&${n}-item-danger`]:{"&::after":{borderInlineEndColor:A}}},[`${n}-selected, ${n}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${v} ${p}`,`opacity ${v} ${p}`].join(",")}}}}}};const qt=e=>{const{componentCls:t,itemHeight:n,itemMarginInline:o,padding:r,menuArrowSize:i,marginXS:a,itemMarginBlock:l,itemWidth:c}=e,s=e.calc(i).add(r).add(a).equal();return{[`${t}-item`]:{position:"relative",overflow:"hidden"},[`${t}-item, ${t}-submenu-title`]:{height:n,lineHeight:(0,Pt.unit)(n),paddingInline:r,overflow:"hidden",textOverflow:"ellipsis",marginInline:o,marginBlock:l,width:c},[`> ${t}-item,\n            > ${t}-submenu > ${t}-submenu-title`]:{height:n,lineHeight:(0,Pt.unit)(n)},[`${t}-item-group-list ${t}-submenu-title,\n            ${t}-submenu-title`]:{paddingInlineEnd:s}}};var Vt=e=>
vendor: 2,119 bytes, line 1
1{const{componentCls:t,iconCls:n,itemHeight:o,colorTextLightSolid:r,dropdownWidth:i,controlHeightLG:a,motionDurationMid:l,motionEaseOut:c,paddingXL:s,itemMarginInline:u,fontSizeLG:d,motionDurationSlow:m,paddingXS:p,boxShadowSecondary:f,collapsedWidth:g,collapsedIconSize:v}=e,b={height:o,lineHeight:(0,Pt.unit)(o),listStylePosition:"inside",listStyleType:"disc"};return[{[t]:{"&-inline, &-vertical":Object.assign({[`&${t}-root`]:{boxShadow:"none"}},qt(e))},[`${t}-submenu-popup`]:{[`${t}-vertical`]:Object.assign(Object.assign({},qt(e)),{boxShadow:f})}},{[`${t}-submenu-popup ${t}-vertical${t}-sub`]:{minWidth:i,maxHeight:`calc(100vh - ${(0,Pt.unit)(e.calc(a).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 ${m}`,`background ${m}`,`padding ${l} ${c}`,`padding-inline calc(50% - ${(0,Pt.unit)(e.calc(d).div(2).equal())} - ${(0,Pt.unit)(u)})`].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`]:b,[`& ${t}-item-group-title`]:{paddingInlineStart:s}},[`${t}-item`]:b}},{[`${t}-inline-collapsed`]:{width:g,[`&${t}-root`]:{[`${t}-item, ${t}-submenu ${t}-submenu-title`]:{[`> ${t}-inline-collapsed-noicon`]:{fontSize:d,textAlign:"center"}}},[`> ${t}-item,\n          > ${t}-item-group > ${t}-item-group-list > ${t}-item,\n          > ${t}-item-group > ${t}-item-group-list > ${t}-submenu > ${t}-submenu-title,\n          > ${t}-submenu > ${t}-submenu-title`]:{insetInlineStart:0,paddingInline:`calc(50% - ${(0,Pt.unit)(e.calc(d).div(2).equal())} - ${(0,Pt.unit)(u)})`,textOverflow:"clip",[`\n            ${t}-submenu-arrow,\n            ${t}-submenu-expand-icon\n          `]:{opacity:0},[`${t}-item-icon, ${n}`]:{margin:0,fontSize:v,lineHeight:(0,Pt.unit)(o),"+ span":{display:"inline-block",opacity:0}
1}},[`${t}-item-icon, ${n}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${t}-item-icon, ${n}`]:{display:"none"},"a, a:hover":{color:r}},[`${t}-item-group-title`]:Object.assign(Object.assign({},Tt.L9),{paddingInline:p})}}]};const Gt=e=>{const{componentCls:t,motionDurationSlow:n,motionDurationMid:o,motionEaseInOut:r,motionEaseOut:i,iconCls:a,iconSize:l,iconMarginInlineEnd:c}=e;return{[`${t}-item, ${t}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:[`border-color ${n}`,`background ${n}`,`padding ${n} ${r}`].join(","),[`${t}-item-icon, ${a}`]:{minWidth:l,fontSize:l,transition:[`font-size ${o} ${i}`,`margin ${n} ${r}`,`color ${n}`].join(","),"+ span":{marginInlineStart:c,opacity:1,transition:[`opacity ${n} ${r}`,`margin ${n}`,`color ${n}`].join(",")}},[`${t}-item-icon`]:Object.assign({},(0,Tt.Nk)()),[`&${t}-item-only-child`]:{[`> ${a}, > ${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"},[`> ${t}-submenu-title`]:{color:"inherit !important",cursor:"not-allowed"}}}},Zt=e=>{const{componentCls:t,motionDurationSlow:n,motionEaseInOut:o,borderRadius:r,menuArrowSize:i,menuArrowOffset:a}=e;return{[`${t}-submenu`]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:e.margin,width:i,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${n} ${o}, opacity ${n}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:e.calc(i).mul(.6).equal(),height:e.calc(i).mul(.15).equal(),backgroundColor:"currentcolor",borderRadius:r,transition:[`background ${n} ${o}`,`transform ${n} ${o}`,`top ${n} ${o}`,`color ${n} ${o}`].join(","),content:'""'},"&::before":{transform:`rotate(45deg) translateY(${(0,Pt.unit)(e.calc(a).mul(-1).equal())})`},"&::after":{transform:`rotate(-45deg) translateY(${(0,Pt.unit)(a)})`}}}}},Ut=e=>{const{antCls:t,componentCls:n,fontSize:o,motionDurationSlow:r,motionDurationMid:i,motionEaseInOut:a,paddingXS:l,padding:c,colorSplit:s,lineWidth:u,zIndexPopup:d,borderRadiusLG:m,subMenuItemBorderRadius:p,menuArrowSize:f,menuArrowOffset:g,lineType:v,groupTitleLineHeight:b,groupTitleFontSize:h}=e;return[{"":{[`${n}`]:Object.assign(Object.assign({},(0,Tt.t6)()),{"&-hidden":{display:"none"}})},[`${n}-submenu-hidden`]:{display:"none"}},{[n]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,Tt.dF)(e)),(0,Tt.t6)()),{marginBottom:0,paddingInlineStart:0,fontSize:o,lineHeight:0,listStyle:"none",outline:"none",transition:`width ${r} 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:`${(0,Pt.unit)(l)} ${(0,Pt.unit)(c)}`,fontSize:h,lineHeight:b,transition:`all ${r}`},[`&-horizontal ${n}-submenu`]:{transition:[`border-color ${r} ${a}`,`background ${r} ${a}`].join(",")},[`${n}-submenu, ${n}-submenu-inline`]:{transition:[`border-color ${r} ${a}`,`background ${r} ${a}`,`padding ${i} ${a}`].join(",")},[`${n}-submenu ${n}-sub`]:{cursor:"initial",transition:[`background ${r} ${a}`,`padding ${r} ${a}`].join(",")},[`${n}-title-content`]:{transition:`color ${r}`,[`> ${t}-typography-ellipsis-single-line`]:{display:"inline",verticalAlign:"unset"}},[`${n}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${n}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:s,borderStyle:v,borderWidth:0,borderTopWidth:u,marginBlock:u,padding:0,"&-dashed":{borderStyle:"dashed"}}}),Gt(e)),{[`${n}-item-group`]:{[`${n}-item-group-list`]:{margin:0,padding:0,[`${n}-item, ${n}-submenu-title`]:{paddingInline:`${(0,Pt.unit)(e.calc(o).mul(2).equal())} ${(0,Pt.unit)(c)}`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:d,borderRadius:m,boxShadow:"none",transformOrigin:"0 0",[`&${n}-submenu`]:{background:"transparent"},"&::before":{position:"absolute",inset:0,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'},[`> ${n}`]:Object.assign(Object.assign(Object.assign({borderRadius:m},Gt(e)),Zt(e)),{[`${n}-item, ${n}-submenu > ${n}-submenu-title`]:{borderRadius:p},[`${n}-submenu-title::after`]:{transition:`transform ${r} ${a}`}})},"\n          &-placement-leftTop,\n          &-placement-bottomRight,\n          ":{transformOrigin:"100% 0"},"\n          &-placement-leftBottom,\n          &-placement-topRight,\n          ":{transformOrigin:"100% 100%"},"\n          &-placement-rightBottom,\n          &-placement-topLeft,\n          ":{transformOrigin:"0 100%"},"\n          &-placement-bottomLeft,\n          &-placement-rightTop,\n          ":{transformOrigin:"0 0"},"\n          &-placement-leftTop,\n          &-placement-leftBottom\n          ":{paddingInlineEnd:e.paddingXS},"\n          &-placement-rightTop,\n          &-placement-rightBottom\n          ":{paddingInlineStart:e.paddingXS},"\n          &-placement-topRight,\n          &-placement-topLeft\n          ":{paddingBottom:e.paddingXS},"\n          &-placement-bottomRight,\n          &-placement-bottomLeft\n          ":{paddingTop:e.paddingXS}}}),Zt(e)),{[`&-inline-collapsed ${n}-submenu-arrow,\n        &-inline ${n}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${(0,Pt.unit)(g)})`},"&::after":{transform:`rotate(45deg) translateX(${(0,Pt.unit)(e.calc(g).mul(-1).equal())})`}},[`${n}-submenu-open${n}-submenu-inline > ${n}-submenu-title > ${n}-submenu-arrow`]:{transform:`translateY(${(0,Pt.unit)(e.calc(f).mul(.2).mul(-1).equal())})`,"&::after":{transform:`rotate(-45deg) translateX(${(0,Pt.unit)(e.calc(g).mul(-1).equal())})`},"&::before":{transform:`rotate(45deg) translateX(${(0,Pt.unit)(g)})`}}})},{[`${t}-layout-header`]:{[n]:{lineHeight:"inherit"}}}]},Qt=e=>{var t,n,o;const{colorPrimary:r,colorError:i,colorTextDisabled:a,colorErrorBg:l,colorText:c,colorTextDescription:s,colorBgContainer:u,colorFillAlter:d,colorFillContent:m,lineWidth:p,lineWidthBold:f,controlItemBgActive:g,colorBgTextHover:v,controlHeightLG:b,lineHeight:h,colorBgElevated:C,marginXXS:y,padding:$,fontSize:w,controlHeightSM:A,fontSizeLG:S,colorTextLightSolid:x,colorErrorHover:I}=e,E=null!==(t=e.activeBarWidth)&&void 0!==t?t:0,k=null!==(n=e.activeBarBorderWidth)&&void 0!==n?n:p,O=null!==(o=e.itemMarginInline)&&void 0!==o?o:e.marginXXS,N=new jt.q(x).setAlpha(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:e.zIndexPopupBase+50,radiusItem:e.borderRadiusLG,itemBorderRadius:e.borderRadiusLG,radiusSubMenuItem:e.borderRadiusSM,subMenuItemBorderRadius:e.borderRadiusSM,colorItemText:c,itemColor:c,colorItemTextHover:c,itemHoverColor:c,colorItemTextHoverHorizontal:r,horizontalItemHoverColor:r,colorGroupTitle:s,groupTitleColor:s,colorItemTextSelected:r,itemSelectedColor:r,colorItemTextSelectedHorizontal:r,horizontalItemSelectedColor:r,colorItemBg:u,itemBg:u,colorItemBgHover:v,itemHoverBg:v,colorItemBgActive:m,itemActiveBg:g,colorSubItemBg:d,subMenuItemBg:d,colorItemBgSelected:g,itemSelectedBg:g,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:E,colorActiveBarHeight:f,activeBarHeight:f,colorActiveBarBorderSize:p,activeBarBorderWidth:k,colorItemTextDisabled:a,itemDisabledColor:a,colorDangerItemText:i,dangerItemColor:i,colorDangerItemTextHover:i,dangerItemHoverColor:i,colorDangerItemTextSelected:i,dangerItemSelectedColor:i,
1colorDangerItemBgActive:l,dangerItemActiveBg:l,colorDangerItemBgSelected:l,dangerItemSelectedBg:l,itemMarginInline:O,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:b,groupTitleLineHeight:h,collapsedWidth:2*b,popupBg:C,itemMarginBlock:y,itemPaddingInline:$,horizontalLineHeight:1.15*b+"px",iconSize:w,iconMarginInlineEnd:A-w,collapsedIconSize:S,groupTitleFontSize:w,darkItemDisabledColor:new jt.q(x).setAlpha(.25).toRgbString(),darkItemColor:N,darkDangerItemColor:i,darkItemBg:"#001529",darkPopupBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:x,darkItemSelectedBg:r,darkDangerItemSelectedBg:i,darkItemHoverBg:"transparent",darkGroupTitleColor:N,darkItemHoverColor:x,darkDangerItemHoverColor:I,darkDangerItemSelectedColor:x,darkDangerItemActiveBg:i,itemWidth:E?`calc(100% + ${k}px)`:`calc(100% - ${2*O}px)`}};var Jt=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return(0,Xt.OF)("Menu",(e=>{const{colorBgElevated:t,controlHeightLG:n,fontSize:o,darkItemColor:r,darkDangerItemColor:i,darkItemBg:a,darkSubMenuItemBg:l,darkItemSelectedColor:c,darkItemSelectedBg:s,darkDangerItemSelectedBg:u,darkItemHoverBg:d,darkGroupTitleColor:m,darkItemHoverColor:p,darkItemDisabledColor:f,darkDangerItemHoverColor:g,darkDangerItemSelectedColor:v,darkDangerItemActiveBg:b,popupBg:h,darkPopupBg:C}=e,y=e.calc(o).div(7).mul(5).equal(),$=(0,Kt.h1)(e,{menuArrowSize:y,menuHorizontalHeight:e.calc(n).mul(1.15).equal(),menuArrowOffset:e.calc(y).mul(.25).equal(),menuSubMenuBg:t,calc:e.calc,popupBg:h}),w=(0,Kt.h1)($,{itemColor:r,itemHoverColor:p,groupTitleColor:m,itemSelectedColor:c,itemBg:a,popupBg:C,subMenuItemBg:l,itemActiveBg:"transparent",itemSelectedBg:s,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:d,itemDisabledColor:f,dangerItemColor:i,dangerItemHoverColor:g,dangerItemSelectedColor:v,dangerItemActiveBg:b,dangerItemSelectedBg:u,menuSubMenuBg:l,horizontalItemSelectedColor:c,horizontalItemSelectedBg:s});return[Ut($),Wt($),Vt($),_t($,"light"),_t(w,"dark"),Yt($),(0,Lt.A)($),(0,Dt._j)($,"slide-up"),(0,Dt._j)($,"slide-down"),(0,Ht.aB)($,"zoom-big")]}),Qt,{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)};var en=e=>{var t;const{popupClassName:n,icon:r,title:a,theme:l}=e,s=o.useContext(Et),{prefixCls:u,inlineCollapsed:d,theme:m}=s,p=te();let f;if(r){const e=o.isValidElement(a)&&"span"===a.type;f=o.createElement(o.Fragment,null,(0,c.Ob)(r,{className:i()(o.isValidElement(r)?null===(t=r.props)||void 0===t?void 0:t.className:"",`${u}-item-icon`)}),e?a:o.createElement("span",{className:`${u}-title-content`},a))}else f=d&&!p.length&&a&&"string"==typeof a?o.createElement("div",{className:`${u}-inline-collapsed-noicon`},a.charAt(0)):o.createElement("span",{className:`${u}-title-content`},a);const g=o.useMemo((()=>Object.assign(Object.assign({},s),{firstLevel:!1})),[s]),[v]=(0,R.YK)("Menu");return o.createElement(Et.Provider,{value:g},o.createElement(it,Object.assign({},(0,M.A)(e,["icon"]),{title:f,popupClassName:i()(u,n,`${u}-${l||m}`),popupStyle:{zIndex:v}})))},tn=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]])}return n};function nn(e){return null===e||!1===e}const on={item:Ot,submenu:en,divider:It},rn=(0,o.forwardRef)(((e,t)=>{var n;const r=o.useContext(zt),a=r||{},{getPrefixCls:l,getPopupContainer:u,direction:d,menu:m}=o.useContext(s.QO),p=l(),{prefixCls:f,className:g,style:v,theme:b="light",expandIcon:h,_internalDisableMenuItemTitleTooltip:C,inlineCollapsed:y,siderCollapsed:$,rootClassName:w,mode:A,selectable:S,onClick:x,overflowedIndicatorPopupClassName:I}=e,E=tn(e,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),k=(0,M.A)(E,["collapsedWidth"]);
1null===(n=a.validator)||void 0===n||n.call(a,{mode:A});const N=(0,O.useEvent)((function(){var e;null==x||x.apply(void 0,arguments),null===(e=a.onClick)||void 0===e||e.call(a)})),R=a.mode||A,B=null!=S?S:a.selectable,z=o.useMemo((()=>void 0!==$?$:y),[y,$]),P={horizontal:{motionName:`${p}-slide-up`},inline:(0,St.A)(p),other:{motionName:`${p}-zoom-big`}},j=l("menu",f||a.prefixCls),L=(0,T.A)(j),[D,H,X]=Jt(j,L,!r),K=i()(`${j}-${b}`,null==m?void 0:m.className,g),W=o.useMemo((()=>{var e,t;if("function"==typeof h||nn(h))return h||null;if("function"==typeof a.expandIcon||nn(a.expandIcon))return a.expandIcon||null;if("function"==typeof(null==m?void 0:m.expandIcon)||nn(null==m?void 0:m.expandIcon))return(null==m?void 0:m.expandIcon)||null;const n=null!==(e=null!=h?h:null==a?void 0:a.expandIcon)&&void 0!==e?e:null==m?void 0:m.expandIcon;return(0,c.Ob)(n,{className:i()(`${j}-submenu-expand-icon`,o.isValidElement(n)?null===(t=n.props)||void 0===t?void 0:t.className:void 0)})}),[h,null==a?void 0:a.expandIcon,null==m?void 0:m.expandIcon,j]),Y=o.useMemo((()=>({prefixCls:j,inlineCollapsed:z||!1,direction:d,firstLevel:!0,theme:b,mode:R,disableMenuItemTitleTooltip:C})),[j,z,d,C,b]);return D(o.createElement(zt.Provider,{value:null},o.createElement(Et.Provider,{value:Y},o.createElement(ht,Object.assign({getPopupContainer:u,overflowedIndicator:o.createElement(At,null),overflowedIndicatorPopupClassName:i()(j,`${j}-${b}`,I),mode:R,selectable:B,onClick:N},k,{inlineCollapsed:z,style:Object.assign(Object.assign({},null==m?void 0:m.style),v),className:K,prefixCls:j,direction:d,defaultMotions:P,expandIcon:W,ref:t,rootClassName:i()(w,H,a.rootClassName,X,L),_internalComponents:on})))))}));var an=rn;const ln=(0,o.forwardRef)(((e,t)=>{const n=(0,o.useRef)(null),r=o.useContext(Ct);return(0,o.useImperativeHandle)(t,(()=>({menu:n.current,focus:e=>{var t;null===(t=n.current)||void 0===t||t.focus(e)}}))),o.createElement(an,Object.assign({ref:n},e,r))}));ln.Item=Ot,ln.SubMenu=en,ln.Divider=It,ln.ItemGroup=ut;var cn=ln,sn=n(365),un=n(4211),dn=n(5201),mn=n(791);var pn=e=>{const{componentCls:t,menuCls:n,colorError:o,colorTextLightSolid:r}=e,i=`${n}-item`;return{[`${t}, ${t}-menu-submenu`]:{[`${n} ${i}`]:{[`&${i}-danger:not(${i}-disabled)`]:{color:o,"&:hover":{color:r,backgroundColor:o}}}}}};const fn=e=>{const{componentCls:t,menuCls:n,zIndexPopup:o,dropdownArrowDistance:r,sizePopupArrow:i,antCls:a,iconCls:l,motionDurationMid:c,paddingBlock:s,fontSize:u,dropdownEdgeChildPadding:d,colorTextDisabled:m,fontSizeIcon:p,controlPaddingHorizontal:f,colorBgElevated:g}=e;return[{[t]:Object.assign(Object.assign({},(0,Tt.dF)(e)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:o,display:"block","&::before":{position:"absolute",insetBlock:e.calc(i).div(2).sub(r).equal(),zIndex:-9999,opacity:1e-4,content:'""'},[`&-trigger${a}-btn`]:{[`& > ${l}-down, & > ${a}-btn-icon > ${l}-down`]:{fontSize:p}},[`${t}-wrap`]:{position:"relative",[`${a}-btn > ${l}-down`]:{fontSize:p},[`${l}-down::before`]:{transition:`transform ${c}`}},[`${t}-wrap-open`]:{[`${l}-down::before`]:{transform:"rotate(180deg)"}},"\n        &-hidden,\n        &-menu-hidden,\n        &-menu-submenu-hidden\n      ":{display:"none"},[`&${a}-slide-down-enter${a}-slide-down-enter-active${t}-placement-bottomLeft,\n          &${a}-slide-down-appear${a}-slide-down-appear-active${t}-placement-bottomLeft,\n          &${a}-slide-down-enter${a}-slide-down-enter-active${t}-placement-bottom,\n          &${a}-slide-down-appear${a}-slide-down-appear-active${t}-placement-bottom,\n          &${a}-slide-down-enter${a}-slide-down-enter-active${t}-placement-bottomRight,\n          &${a}-slide-down-appear${a}-slide-down-appear-active${t}-placement-bottomRight`]:{animationName:Dt.ox},[`&${a}-slide-up-enter${a}-slide-up-enter-active${t}-placement-topLeft,\n          &${a}-slide-up-appear${a}-slide-up-appear-active${t}-placement-topLeft,\n          &${a}-slide-up-enter${a}-slide-up-enter-active${t}-placement-top,\n          &${a}-slide-up-appear${a}-slide-up-appear-active${t}-placement-top,\n          &${a}-slide-up-enter${a}-slide-up-enter-active${t}-placement-topRight,\n          &${a}-slide-up-appear${a}-slide-up-appear-active${t}-placement-topRight`]:{animationName:Dt.nP},[`&${a}-slide-down-leave${a}-slide-down-leave-active${t}-placement-bottomLeft,\n          &${a}-slide-down-leave${a}-slide-down-leave-active${t}-placement-bottom,\n          &${a}-slide-down-leave${a}-slide-down-leave-active${t}-placement-bottomRight`]:{animationName:Dt.vR},[`&${a}-slide-up-leave${a}-slide-up-leave-active${t}-placement-topLeft,\n          &${a}-slide-up-leave${a}-slide-up-leave-active${t}-placement-top,\n          &${a}-slide-up-leave${a}-slide-up-leave-active${t}-placement-topRight`]:{animationName:Dt.YU}})},(0,dn.Ay)(e,g,{arrowPlacement:{top:!0,bottom:!0}}),{[`${t} ${n}`]:{position:"relative",margin:0},[`${n}-submenu-popup`]:{position:"absolute",zIndex:o,background:"transparent",boxShadow:"none",transformOrigin:"0 0","ul, li":{listStyle:"none",margin:0}},[`${t}, ${t}-menu-submenu`]:{[n]:Object.assign(Object.assign({padding:d,listStyleType:"none",backgroundColor:g,backgroundClip:"padding-box",borderRadius:e.borderRadiusLG,outline:"none",boxShadow:e.boxShadowSecondary},(0,Tt.K8)(e)),{"&:empty":{padding:0,boxShadow:"none"},[`${n}-item-group-title`]:{padding:`${(0,Pt.unit)(s)} ${(0,Pt.unit)(f)}`,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","> a":{color:"inherit",transition:`all ${c}`,"&:hover":{color:"inherit"},"&::after":{position:"absolute",inset:0,content:'""'}}},[`${n}-item, ${n}-submenu-title`]:Object.assign(Object.assign({clear:"both",margin:0,padding:`${(0,Pt.unit)(s)} ${(0,Pt.unit)(f)}`,color:e.colorText,fontWeight:"normal",fontSize:u,lineHeight:e.lineHeight,cursor:"pointer",transition:`all ${c}`,borderRadius:e.borderRadiusSM,"&:hover, &-active":{backgroundColor:e.controlItemBgHover}},(0,Tt.K8)(e)),{"&-selected":{color:e.colorPrimary,backgroundColor:e.controlItemBgActive,"&:hover, &-active":{backgroundColor:e.controlItemBgActiveHover}}
1,"&-disabled":{color:m,cursor:"not-allowed","&:hover":{color:m,backgroundColor:g,cursor:"not-allowed"},a:{pointerEvents:"none"}},"&-divider":{height:1,margin:`${(0,Pt.unit)(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.colorTextDescription,fontSize:p,fontStyle:"normal"}}}),[`${n}-item-group-list`]:{margin:`0 ${(0,Pt.unit)(e.marginXS)}`,padding:0,listStyle:"none"},[`${n}-submenu-title`]:{paddingInlineEnd:e.calc(f).add(e.fontSizeSM).equal()},[`${n}-submenu-vertical`]:{position:"relative"},[`${n}-submenu${n}-submenu-disabled ${t}-menu-submenu-title`]:{[`&, ${t}-menu-submenu-arrow-icon`]:{color:m,backgroundColor:g,cursor:"not-allowed"}},[`${n}-submenu-selected ${t}-menu-submenu-title`]:{color:e.colorPrimary}})}},[(0,Dt._j)(e,"slide-up"),(0,Dt._j)(e,"slide-down"),(0,un.Mh)(e,"move-up"),(0,un.Mh)(e,"move-down"),(0,Ht.aB)(e,"zoom-big")]]};var gn=(0,Xt.OF)("Dropdown",(e=>{const{marginXXS:t,sizePopupArrow:n,paddingXXS:o,componentCls:r}=e,i=(0,Kt.h1)(e,{menuCls:`${r}-menu`,dropdownArrowDistance:e.calc(n).div(2).add(t).equal(),dropdownEdgeChildPadding:o});return[fn(i),pn(i)]}),(e=>Object.assign(Object.assign({zIndexPopup:e.zIndexPopupBase+50,paddingBlock:(e.controlHeight-e.fontSize*e.lineHeight)/2},(0,dn.Ke)({contentRadius:e.borderRadiusLG,limitVerticalRadius:!0})),(0,mn.n)(e))),{resetStyle:!1});const vn=e=>{const{menu:t,arrow:n,prefixCls:r,children:a,trigger:l,disabled:u,dropdownRender:m,getPopupContainer:p,overlayClassName:f,rootClassName:g,overlayStyle:v,open:b,onOpenChange:h,visible:C,onVisibleChange:y,mouseEnterDelay:$=.15,mouseLeaveDelay:w=.1,autoAdjustOverflow:A=!0,placement:S="",overlay:x,transitionName:I}=e,{getPopupContainer:E,getPrefixCls:z,direction:L,dropdown:D}=o.useContext(s.QO);(0,P.rJ)("Dropdown");const H=o.useMemo((()=>{const e=z();return void 0!==I?I:S.includes("top")?`${e}-slide-down`:`${e}-slide-up`}),[z,S,I]),X=o.useMemo((()=>S?S.includes("Center")?S.slice(0,S.indexOf("Center")):S:"rtl"===L?"bottomRight":"bottomLeft"),[S,L]);const K=z("dropdown",r),W=(0,T.A)(K),[Y,F,_]=gn(K,W),[,q]=(0,sn.Ay)(),V=o.Children.only(a),G=(0,c.Ob)(V,{className:i()(`${K}-trigger`,{[`${K}-rtl`]:"rtl"===L},V.props.className),disabled:u}),Z=u?[]:l;let U;Z&&Z.includes("contextMenu")&&(U=!0);const[Q,J]=(0,N.A)(!1,{value:null!=b?b:C}),ee=(0,O.useEvent)((e=>{null==h||h(e,{source:"trigger"}),null==y||y(e),J(e)})),te=i()(f,g,F,_,W,null==D?void 0:D.className,{[`${K}-rtl`]:"rtl"===L}),ne=(0,B.A)({arrowPointAtCenter:"object"==typeof n&&n.pointAtCenter,autoAdjustOverflow:A,offset:q.marginXXS,arrowWidth:n?q.sizePopupArrow:0,borderRadius:q.borderRadius}),oe=o.useCallback((()=>{(null==t?void 0:t.selectable)&&(null==t?void 0:t.multiple)||(null==h||h(!1,{source:"menu"}),J(!1))}),[null==t?void 0:t.selectable,null==t?void 0:t.multiple]),[re,ie]=(0,R.YK)("Dropdown",null==v?void 0:v.zIndex);let ae=o.createElement(k,Object.assign({alignPoint:U},(0,M.A)(e,["rootClassName"]),{mouseEnterDelay:$,mouseLeaveDelay:w,visible:Q,builtinPlacements:ne,arrow:!!n,overlayClassName:te,prefixCls:K,getPopupContainer:p||E,transitionName:H,trigger:Z,overlay:()=>{let e;return e=(null==t?void 0:t.items)?o.createElement(cn,Object.assign({},t)):"function"==typeof x?x():x,m&&(e=m(e)),e=o.Children.only("string"==typeof e?o.createElement("span",null,e):e),o.createElement(Bt,{prefixCls:`${K}-menu`,rootClassName:i()(_,W),expandIcon:o.createElement("span",{className:`${K}-menu-submenu-arrow`},o.createElement(d.A,{className:`${K}-menu-submenu-arrow-icon`})),mode:"vertical",selectable:!1,onClick:oe,validator:e=>{let{mode:t}=e}},e)},placement:X,onVisibleChange:ee,overlayStyle:Object.assign(Object.assign(Object.assign({},null==D?void 0:D.style),v),{zIndex:re})}),G);return re&&(ae=o.createElement(j.A.Provider,{value:ie},ae)),Y(ae)};const bn=(0,z.A)(vn,"dropdown",(e=>e),(function(e){return Object.assign(Object.assign({},e),{align:{overflow:{adjustX:!1,adjustY:!1}}})}));vn._InternalPanelDoNotUseOrYouWillBeFired=e=>o.createElement(bn,Object.assign({},e),o.createElement("span",null));var hn=vn;const Cn=e=>{let{children:t}=e;const{getPrefixCls:n}=o.useContext(s.QO),r=n("breadcrumb");return o.createElement("li",{className:`${r}-separator`,"aria-hidden":"true"},""===t?t:t||"/")};Cn.__ANT_BREADCRUMB_SEPARATOR=!0;var yn=Cn,$n=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]])}return n};function wn(e,t,n,r){if(null==n)return null;const{className:a,onClick:c}=t,s=$n(t,["className","onClick"]),u=Object.assign(Object.assign({},(0,l.A)(s,{data:!0,aria:!0})),{onClick:c});return void 0!==r?o.createElement("a",Object.assign({},u,{className:i()(`${e}-link`,a),href:r}),n):o.createElement("span",Object.assign({},u,{className:i()(`${e}-link`,a)}),n)}function An(e,t){return(n,o,r,i,a)=>
1{if(t)return t(n,o,r,i);const l=function(e,t){if(void 0===e.title||null===e.title)return null;const n=Object.keys(t).join("|");return"object"==typeof e.title?e.title:String(e.title).replace(new RegExp(`:(${n})`,"g"),((e,n)=>t[n]||e))}(n,o);return wn(e,n,l,a)}}var Sn=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]])}return n};const xn=e=>{const{prefixCls:t,separator:n="/",children:r,menu:i,overlay:a,dropdownProps:l,href:c}=e;const s=(e=>{if(i||a){const n=Object.assign({},l);if(i){const e=i||{},{items:t}=e,r=Sn(e,["items"]);n.menu=Object.assign(Object.assign({},r),{items:null==t?void 0:t.map(((e,t)=>{var{key:n,title:r,label:i,path:a}=e,l=Sn(e,["key","title","label","path"]);let s=null!=i?i:r;return a&&(s=o.createElement("a",{href:`${c}${a}`},s)),Object.assign(Object.assign({},l),{key:null!=n?n:t,label:s})}))})}else a&&(n.overlay=a);return o.createElement(hn,Object.assign({placement:"bottom"},n),o.createElement("span",{className:`${t}-overlay-link`},e,o.createElement(u.A,null)))}return e})(r);return null!=s?o.createElement(o.Fragment,null,o.createElement("li",null,s),n&&o.createElement(yn,null,n)):null},In=e=>{const{prefixCls:t,children:n,href:r}=e,i=Sn(e,["prefixCls","children","href"]),{getPrefixCls:a}=o.useContext(s.QO),l=a("breadcrumb",t);return o.createElement(xn,Object.assign({},i,{prefixCls:l}),wn(l,i,n,r))};In.__ANT_BREADCRUMB_ITEM=!0;var En=In;var kn=(0,Xt.OF)("Breadcrumb",(e=>(e=>{const{componentCls:t,iconCls:n,calc:o}=e;return{[t]:Object.assign(Object.assign({},(0,Tt.dF)(e)),{color:e.itemColor,fontSize:e.fontSize,[n]:{fontSize:e.iconFontSize},ol:{display:"flex",flexWrap:"wrap",margin:0,padding:0,listStyle:"none"},a:Object.assign({color:e.linkColor,transition:`color ${e.motionDurationMid}`,padding:`0 ${(0,Pt.unit)(e.paddingXXS)}`,borderRadius:e.borderRadiusSM,height:e.fontHeight,display:"inline-block",marginInline:o(e.marginXXS).mul(-1).equal(),"&:hover":{color:e.linkHoverColor,backgroundColor:e.colorBgTextHover}},(0,Tt.K8)(e)),"li:last-child":{color:e.lastItemColor},[`${t}-separator`]:{marginInline:e.separatorMargin,color:e.separatorColor},[`${t}-link`]:{[`\n          > ${n} + span,\n          > ${n} + a\n        `]:{marginInlineStart:e.marginXXS}},[`${t}-overlay-link`]:{borderRadius:e.borderRadiusSM,height:e.fontHeight,display:"inline-block",padding:`0 ${(0,Pt.unit)(e.paddingXXS)}`,marginInline:o(e.marginXXS).mul(-1).equal(),[`> ${n}`]:{marginInlineStart:e.marginXXS,fontSize:e.fontSizeIcon},"&:hover":{color:e.linkHoverColor,backgroundColor:e.colorBgTextHover,a:{color:e.linkHoverColor}},a:{"&:hover":{backgroundColor:"transparent"}}},[`&${e.componentCls}-rtl`]:{direction:"rtl"}})}})((0,Kt.h1)(e,{}))),(e=>({itemColor:e.colorTextDescription,lastItemColor:e.colorText,iconFontSize:e.fontSize,linkColor:e.colorTextDescription,linkHoverColor:e.colorText,separatorColor:e.colorTextDescription,separatorMargin:e.marginXS}))),On=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]])}return n};function Nn(e){const{breadcrumbName:t,children:n}=e,o=On(e,["breadcrumbName","children"]),r=Object.assign({title:t},o);return n&&(r.menu={items:n.map((e=>{var{breadcrumbName:t}=e,n=On(e,["breadcrumbName"]);return Object.assign(Object.assign({},n),{title:t})}))}),r}var Mn=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]])}return n};const Rn=e=>{const{prefixCls:t,separator:n="/",style:r,className:u,rootClassName:d,routes:m,items:p,children:f,itemRender:g,params:v={}}=e,b=Mn(e,["prefixCls","separator","style","className","rootClassName","routes","items","children","itemRender","params"]),{getPrefixCls:h,direction:C,breadcrumb:y}=o.useContext(s.QO);let $;const w=h("breadcrumb",t),[A,S,x]=kn(w),I=function(e,t){return(0,o.useMemo)((()=>e||(t?t.map(Nn):null)),[e,t])}(p,m);
1const E=An(w,g);if(I&&I.length>0){const e=[],t=p||m;$=I.map(((r,i)=>{const{path:a,key:c,type:s,menu:u,overlay:d,onClick:m,className:p,separator:f,dropdownProps:g}=r,b=((e,t)=>{if(void 0===t)return t;let n=(t||"").replace(/^\//,"");return Object.keys(e).forEach((t=>{n=n.replace(`:${t}`,e[t])})),n})(v,a);void 0!==b&&e.push(b);const h=null!=c?c:i;if("separator"===s)return o.createElement(yn,{key:h},f);const C={},y=i===I.length-1;u?C.menu=u:d&&(C.overlay=d);let{href:$}=r;return e.length&&void 0!==b&&($=`#/${e.join("/")}`),o.createElement(xn,Object.assign({key:h},C,(0,l.A)(r,{data:!0,aria:!0}),{className:p,dropdownProps:g,href:$,separator:y?"":n,onClick:m,prefixCls:w}),E(r,v,t,e,$))}))}else if(f){const e=(0,a.A)(f).length;$=(0,a.A)(f).map(((t,o)=>{if(!t)return t;const r=o===e-1;return(0,c.Ob)(t,{separator:r?"":n,key:o})}))}const k=i()(w,null==y?void 0:y.className,{[`${w}-rtl`]:"rtl"===C},u,d,S,x),O=Object.assign(Object.assign({},null==y?void 0:y.style),r);return A(o.createElement("nav",Object.assign({className:k,style:O},b),o.createElement("ol",null,$)))};Rn.Item=En,Rn.Separator=yn;var Bn=Rn},3302:function(e,t,n){"use strict";n.d(t,{A:function(){return it}});var o=n(6540),r=n(234),i=n(6942),a=n.n(i),l=n(8168),c=n(9379),s=n(4467),u=n(5544),d=n(2284),m=n(3986);function p(){return{width:document.documentElement.clientWidth,height:window.innerHeight||document.documentElement.clientHeight}}var f=n(2533),g=["crossOrigin","decoding","draggable","loading","referrerPolicy","sizes","srcSet","useMap","alt"],v=o.createContext(null),b=0;function h(e){var t=e.src,n=e.isCustomPlaceholder,r=e.fallback,i=(0,o.useState)(n?"loading":"normal"),a=(0,u.A)(i,2),l=a[0],c=a[1],s=(0,o.useRef)(!1),d="error"===l;(0,o.useEffect)((function(){var e=!0;return function(e){return new Promise((function(t){var n=document.createElement("img");n.onerror=function(){return t(!1)},n.onload=function(){return t(!0)},n.src=e}))}(t).then((function(t){!t&&e&&c("error")})),function(){e=!1}}),[t]),(0,o.useEffect)((function(){n&&!s.current?c("loading"):d&&c("normal")}),[t]);var m=function(){c("normal")};return[function(e){s.current=!1,"loading"===l&&null!=e&&e.complete&&(e.naturalWidth||e.naturalHeight)&&(s.current=!0,m())},d&&r?{src:r}:{onLoad:m,src:t},l]}var C=n(2595),y=o.createContext({}),$=n(4808),w=n(6855),A=n(6928),S=n(2065);function x(e,t,n){var o=t;return!o&&n&&(o="".concat(e,"-").concat(n)),o}function I(e,t){var n=e["page".concat(t?"Y":"X","Offset")],o="scroll".concat(t?"Top":"Left");if("number"!=typeof n){var r=e.document;"number"!=typeof(n=r.documentElement[o])&&(n=r.body[o])}return n}var E=n(7557),k=n(8719),O=o.memo((function(e){return e.children}),(function(e,t){return!t.shouldUpdate})),N={width:0,height:0,overflow:"hidden",outline:"none"},M={outline:"none"},R=o.forwardRef((function(e,t){var n=e.prefixCls,r=e.className,i=e.style,s=e.title,u=e.ariaId,m=e.footer,p=e.closable,f=e.closeIcon,g=e.onClose,v=e.children,b=e.bodyStyle,h=e.bodyProps,C=e.modalRender,$=e.onMouseDown,w=e.onMouseUp,A=e.holderRef,x=e.visible,I=e.forceRender,E=e.width,R=e.height,B=e.classNames,z=e.styles,P=o.useContext(y).panel,j=(0,k.xK)(A,P),T=(0,o.useRef)(),L=(0,o.useRef)(),D=(0,o.useRef)();o.useImperativeHandle(t,(function(){return{focus:function(){var e;null===(e=D.current)||void 0===e||e.focus()},changeActive:function(e){var t=document.activeElement;e&&t===L.current?T.current.focus():e||t!==T.current||L.current.focus()}}}));var H,X,K={};void 0!==E&&(K.width=E),void 0!==R&&(K.height=R),m&&(H=o.createElement("div",{className:a()("".concat(n,"-footer"),null==B?void 0:B.footer),style:(0,c.A)({},null==z?void 0:z.footer)},m)),s&&(X=o.createElement("div",{className:a()("".concat(n,"-header"),null==B?void 0:B.header),style:(0,c.A)({},null==z?void 0:z.header)},o.createElement("div",{className:"".concat(n,"-title"),id:u},s)));var W,Y=(0,o.useMemo)((function(){return"object"===(0,d.A)(p)&&null!==p?p:p?{closeIcon:null!=f?f:o.createElement("span",{className:"".concat(n,"-close-x")})}:{}}),[p,f]),F=(0,S.A)(Y,!0);p&&(W=o.createElement("button",(0,l.A)({type:"button",onClick:g,"aria-label":"Close"},F,{className:"".concat(n,"-close")}),Y.closeIcon));var _=o.createElement("div",{className:a()("".concat(n,"-content"),null==B?void 0:B.content),style:null==z?void 0:z.content},W,X,o.createElement("div",(0,l.A)({className:a()("".concat(n,"-body"),null==B?void 0:B.body),style:(0,c.A)((0,c.A)({},b),null==z?void 0:z.body)},h),v),H);return o.createElement("div",{key:"dialog-element",role:"dialog","aria-labelledby":s?u:null,"aria-modal":"true",ref:j,style:(0,c.A)((0,c.A)({},i),K),className:a()(n,r),onMouseDown:$,onMouseUp:w},o.createElement("div",{tabIndex:0,ref:T,style:N,"aria-hidden":"true"}),o.createElement("div",{ref:D,tabIndex:-1,style:M},o.createElement(O,{shouldUpdate:x||I},C?C(_):_)),o.createElement("div",{tabIndex:0,ref:L,style:N,"aria-hidden":"true"}))}));var B=R,z=o.forwardRef((function(e,t){var n=e.prefixCls,r=e.title,i=e.style,s=e.className,d=e.visible,m=e.forceRender,p=e.destroyOnClose,f=e.motionName,g=e.ariaId,v=e.onVisibleChanged,b=e.mousePosition,h=(0,o.useRef)(),C=o.use
1State(),y=(0,u.A)(C,2),$=y[0],w=y[1],A={};function S(){var e,t,n,o,r,i=(e=h.current,t=e.getBoundingClientRect(),n={left:t.left,top:t.top},o=e.ownerDocument,r=o.defaultView||o.parentWindow,n.left+=I(r),n.top+=I(r,!0),n);w(b?"".concat(b.x-i.left,"px ").concat(b.y-i.top,"px"):"")}return $&&(A.transformOrigin=$),o.createElement(E.default,{visible:d,onVisibleChanged:v,onAppearPrepare:S,onEnterPrepare:S,forceRender:m,motionName:f,removeOnLeave:p,ref:h},(function(u,d){var m=u.className,p=u.style;return o.createElement(B,(0,l.A)({},e,{ref:t,title:r,ariaId:g,prefixCls:n,holderRef:d,style:(0,c.A)((0,c.A)((0,c.A)({},p),i),A),className:a()(s,m)}))}))}));z.displayName="Content";var P=z;function j(e){var t=e.prefixCls,n=e.style,r=e.visible,i=e.maskProps,s=e.motionName,u=e.className;return o.createElement(E.default,{key:"mask",visible:r,motionName:s,leavedClassName:"".concat(t,"-mask-hidden")},(function(e,r){var s=e.className,d=e.style;return o.createElement("div",(0,l.A)({ref:r,style:(0,c.A)((0,c.A)({},d),n),className:a()("".concat(t,"-mask"),s,u)},i))}))}var T=n(8210);function L(e){var t=e.prefixCls,n=void 0===t?"rc-dialog":t,r=e.zIndex,i=e.visible,s=void 0!==i&&i,d=e.keyboard,m=void 0===d||d,p=e.focusTriggerAfterClose,f=void 0===p||p,g=e.wrapStyle,v=e.wrapClassName,b=e.wrapProps,h=e.onClose,C=e.afterOpenChange,y=e.afterClose,I=e.transitionName,E=e.animation,k=e.closable,O=void 0===k||k,N=e.mask,M=void 0===N||N,R=e.maskTransitionName,B=e.maskAnimation,z=e.maskClosable,T=void 0===z||z,L=e.maskStyle,D=e.maskProps,H=e.rootClassName,X=e.classNames,K=e.styles;var W=(0,o.useRef)(),Y=(0,o.useRef)(),F=(0,o.useRef)(),_=o.useState(s),q=(0,u.A)(_,2),V=q[0],G=q[1],Z=(0,w.A)();function U(e){null==h||h(e)}var Q=(0,o.useRef)(!1),J=(0,o.useRef)(),ee=null;return T&&(ee=function(e){Q.current?Q.current=!1:Y.current===e.target&&U(e)}),(0,o.useEffect)((function(){s&&(G(!0),(0,$.A)(Y.current,document.activeElement)||(W.current=document.activeElement))}),[s]),(0,o.useEffect)((function(){return function(){clearTimeout(J.current)}}),[]),o.createElement("div",(0,l.A)({className:a()("".concat(n,"-root"),H)},(0,S.A)(e,{data:!0})),o.createElement(j,{prefixCls:n,visible:M&&s,motionName:x(n,R,B),style:(0,c.A)((0,c.A)({zIndex:r},L),null==K?void 0:K.mask),maskProps:D,className:null==X?void 0:X.mask}),o.createElement("div",(0,l.A)({tabIndex:-1,onKeyDown:function(e){if(m&&e.keyCode===A.A.ESC)return e.stopPropagation(),void U(e);s&&e.keyCode===A.A.TAB&&F.current.changeActive(!e.shiftKey)},className:a()("".concat(n,"-wrap"),v,null==X?void 0:X.wrapper),ref:Y,onClick:ee,style:(0,c.A)((0,c.A)((0,c.A)({zIndex:r},g),null==K?void 0:K.wrapper),{},{display:V?null:"none"})},b),o.createElement(P,(0,l.A)({},e,{onMouseDown:function(){clearTimeout(J.current),Q.current=!0},onMouseUp:function(){J.current=setTimeout((function(){Q.current=!1}))},ref:F,closable:O,ariaId:Z,prefixCls:n,visible:s&&V,onClose:U,onVisibleChanged:function(e){if(e)(0,$.A)(Y.current,document.activeElement)||null===(t=F.current)||void 0===t||t.focus();else{if(G(!1),M&&W.current&&f){try{W.current.focus({preventScroll:!0})}catch(n){}W.current=null}V&&(null==y||y())}var t;null==C||C(e)},motionName:x(n,I,E)}))))}var D=function(e){var t=e.visible,n=e.getContainer,r=e.forceRender,i=e.destroyOnClose,a=void 0!==i&&i,c=e.afterClose,s=e.panelRef,d=o.useState(t),m=(0,u.A)(d,2),p=m[0],f=m[1],g=o.useMemo((function(){return{panel:s}}),[s]);return o.useEffect((function(){t&&f(!0)}),[t]),r||!a||p?o.createElement(y.Provider,{value:g},o.createElement(C.A,{open:t||r||p,autoDestroy:!1,getContainer:n,autoLock:t||p},o.createElement(L,(0,l.A)({},e,{destroyOnClose:a,afterClose:function(){null==c||c(),f(!1)}})))):null};D.displayName="Dialog";var H=D,X=n(961);function K(e,t,n,o){var r=X.unstable_batchedUpdates?function(e){X.unstable_batchedUpdates(n,e)}:n;return null!=e&&e.addEventListener&&e.addEventListener(t,r,o),{remove:function(){null!=e&&e.removeEventListener&&e.removeEventListener(t,r,o)}}}var W=n(3210),Y=n(5371),F={x:0,y:0,rotate:0,scale:1,flipX:!1,flipY:!1};function _(e,t,n,o){var r=t+n,i=(n-o)/2;if(n>o){if(t>0)return(0,s.A)({},e,i);if(t<0&&r<o)return(0,s.A)({},e,-i)}else if(t<0||r>o)return(0,s.A)({},e,t<0?i:-i);return{}}function q(e,t,n,o){var r=p(),i=r.width,a=r.height,l=null;return e<=i&&t<=a?l={x:0,y:0}:(e>i||t>a)&&(l=(0,c.A)((0,c.A)({},_("x",n,e,i)),_("y",o,t,a))),l}
1function V(e,t){var n=e.x-t.x,o=e.y-t.y;return Math.hypot(n,o)}function G(e,t,n,r,i,a,l){var s=i.rotate,d=i.scale,m=i.x,p=i.y,f=(0,o.useState)(!1),g=(0,u.A)(f,2),v=g[0],b=g[1],h=(0,o.useRef)({point1:{x:0,y:0},point2:{x:0,y:0},eventType:"none"}),C=function(e){h.current=(0,c.A)((0,c.A)({},h.current),e)};return(0,o.useEffect)((function(){var e;return n&&t&&(e=K(window,"touchmove",(function(e){return e.preventDefault()}),{passive:!1})),function(){var t;null===(t=e)||void 0===t||t.remove()}}),[n,t]),{isTouching:v,onTouchStart:function(e){if(t){e.stopPropagation(),b(!0);var n=e.touches,o=void 0===n?[]:n;o.length>1?C({point1:{x:o[0].clientX,y:o[0].clientY},point2:{x:o[1].clientX,y:o[1].clientY},eventType:"touchZoom"}):C({point1:{x:o[0].clientX-m,y:o[0].clientY-p},eventType:"move"})}},onTouchMove:function(e){var t=e.touches,n=void 0===t?[]:t,o=h.current,r=o.point1,i=o.point2,c=o.eventType;if(n.length>1&&"touchZoom"===c){var s={x:n[0].clientX,y:n[0].clientY},d={x:n[1].clientX,y:n[1].clientY},m=function(e,t,n,o){var r=V(e,n),i=V(t,o);if(0===r&&0===i)return[e.x,e.y];var a=r/(r+i);return[e.x+a*(t.x-e.x),e.y+a*(t.y-e.y)]}(r,i,s,d),p=(0,u.A)(m,2),f=p[0],g=p[1],v=V(s,d)/V(r,i);l(v,"touchZoom",f,g,!0),C({point1:s,point2:d,eventType:"touchZoom"})}else"move"===c&&(a({x:n[0].clientX-r.x,y:n[0].clientY-r.y},"move"),C({eventType:"move"}))},onTouchEnd:function(){if(n){if(v&&b(!1),C({eventType:"none"}),r>d)return a({x:0,y:0,scale:r},"touchZoom");var t=e.current.offsetWidth*d,o=e.current.offsetHeight*d,i=e.current.getBoundingClientRect(),l=i.left,u=i.top,m=s%180!=0,p=q(m?o:t,m?t:o,l,u);p&&a((0,c.A)({},p),"dragRebound")}}}}var Z=function(e){var t=e.visible,n=e.maskTransitionName,r=e.getContainer,i=e.prefixCls,l=e.rootClassName,u=e.icons,d=e.countRender,m=e.showSwitch,p=e.showProgress,f=e.current,g=e.transform,b=e.count,h=e.scale,y=e.minScale,$=e.maxScale,w=e.closeIcon,S=e.onSwitchLeft,x=e.onSwitchRight,I=e.onClose,k=e.onZoomIn,O=e.onZoomOut,N=e.onRotateRight,M=e.onRotateLeft,R=e.onFlipX,B=e.onFlipY,z=e.toolbarRender,P=e.zIndex,j=(0,o.useContext)(v),T=u.rotateLeft,L=u.rotateRight,D=u.zoomIn,H=u.zoomOut,X=u.close,K=u.left,W=u.right,Y=u.flipX,F=u.flipY,_="".concat(i,"-operations-operation");o.useEffect((function(){var e=function(e){e.keyCode===A.A.ESC&&I()};return t&&window.addEventListener("keydown",e),function(){window.removeEventListener("keydown",e)}}),[t]);var q=[{icon:F,onClick:B,type:"flipY"},{icon:Y,onClick:R,type:"flipX"},{icon:T,onClick:M,type:"rotateLeft"},{icon:L,onClick:N,type:"rotateRight"},{icon:H,onClick:O,type:"zoomOut",disabled:h<=y},{icon:D,onClick:k,type:"zoomIn",disabled:h===$}].map((function(e){var t,n=e.icon,r=e.onClick,l=e.type,c=e.disabled;return o.createElement("div",{className:a()(_,(t={},(0,s.A)(t,"".concat(i,"-operations-operation-").concat(l),!0),(0,s.A)(t,"".concat(i,"-operations-operation-disabled"),!!c),t)),onClick:r,key:l},n)})),V=o.createElement("div",{className:"".concat(i,"-operations")},q);return o.createElement(E.default,{visible:t,motionName:n},(function(e){var t=e.className,n=e.style;return o.createElement(C.A,{open:!0,getContainer:null!=r?r:document.body},o.createElement("div",{className:a()("".concat(i,"-operations-wrapper"),t,l),style:(0,c.A)((0,c.A)({},n),{},{zIndex:P})},null===w?null:o.createElement("button",{className:"".concat(i,"-close"),onClick:I},w||X),m&&o.createElement(o.Fragment,null,o.createElement("div",{className:a()("".concat(i,"-switch-left"),(0,s.A)({},"".concat(i,"-switch-left-disabled"),0===f)),onClick:S},K),o.createElement("div",{className:a()("".concat(i,"-switch-right"),(0,s.A)({},"".concat(i,"-switch-right-disabled"),f===b-1)),onClick:x},W)),o.createElement("div",{className:"".concat(i,"-footer")},p&&o.createElement("div",{className:"".concat(i,"-progress")},d?d(f+1,b):"".concat(f+1," / ").concat(b)),z?z(V,(0,c.A)({icons:{flipYIcon:q[0],flipXIcon:q[1],rotateLeftIcon:q[2],rotateRightIcon:q[3],zoomOutIcon:q[4],zoomInIcon:q[5]},actions:{onFlipY:B,onFlipX:R,onRotateLeft:M,onRotateRight:N,onZoomOut:O,onZoomIn:k},transform:g},j?{current:f,total:b}:{})):V)))}))},U=["fallback","src","imgRef"],Q=["prefixCls","src","alt","fallback","movable","onClose","visible","icons","rootClassName","closeIcon","getContainer","current","count","countRender","scaleStep","minScale","maxScale","transitionName","maskTransitionName","imageRender","imgCommonProps","toolbarRender","onTransform","onChange"],J=function(e){var t=e.fallback,n=e.src,r=e.imgRef,i=(0,m.A)(e,U),a=h({src:n,fallback:t}),c=(0,u.A)(a,2),s=c[0],d=c[1];return o.createElement("img",(0,l.A)({ref:function(e){r.current=e,s(e)}},i,d))},ee=function(e){var t=e.prefixCls,n=e.src,r=e.alt,i=e.fallback,d=e.movable,f=void 0===d||d,g=e.onClose,b=e.visible,h=e.icons,C=void 0===h?{}:h,y=e.rootClassName,$=e.closeIcon,w=e.getContainer,S=e.current,x=void 0===S?0:S,I=e.count,E=void 0===I?1:I,k=e.countRender,O=e.scaleStep,N=void 0===O?.5:O,M=e.minScale,R=void 0===M?1:M,B=e.maxScale,z=void 0===B?50:B,P=e.transitionName,j=void 0===P?"zoom":P,L=e.maskTransitionName,D=void 0===L?"fade":L,X=e.imageRender,_=e.imgCommonProps,V=e.toolbarRender,U=e.onTransform,ee=e.onChange,te=(0,m.A)(e,Q),ne=(0,o.useRef)(),oe=(0,o.useContext)(v),re=oe&&E>1,ie=oe&&E>=1,ae=(0,o.useState)(!0),le=(0,u.A)(ae,2),ce=le[0],se=le[1],ue=function(e,t,n,r){var i=(0,o.useRef)(null),a=(0,o.useRef)([]),l=(0,o.useState)(F),s=(0,u.A)(l,2),d=s[0],m=s[1],f=function(e,t){null===i.current&&(a.current=[],i.current=(0,Y.A)((function(){m((function(e){var n=e;return a.current.forEach((function(e){n=(0,c.A)((0,c.A)({},n),e)})),i.current=null,null==r||r({transform:n,action:t}),n}))}))),a.current.push((0,c.A)((0,c.A)({},d),e))};return{transform:d,resetTransform:function(e){m(F),r&&!(0,W.A)(F,d)&&r({transform:F,action:e})},updateTransform:f,dispatchZoomChange:function(o,r,i,a,l){var c=e.current,s=c.width,u=c.height,m=c.offsetWidth,g=c.offsetHeight,v=c.offsetLeft,b=c.offsetTop,h=o,C=d.scale*o;C>n?(C=n,h=n/d.scale):C<t&&(h=(C=l?C:t)/d.scale);var y=null!=i?i:innerWidth/2,$=null!=a?a:innerHeight/2,w=h-1,A=w*s*.5,S=w*u*.5,x=w*(y-d.x-v),I=w*($-d.y-b),E=d.x-(x-A),k=d.y-(I-S);if(o<1&&1===C){var O=m*C,N=g*C,M=p(),R=M.width,B=M.height;O<=R&&N<=B&&(E=0,k=0)}f({x:E,y:k,scale:C},r)}}}(ne,R,z,U),de=ue.transform,me=ue.resetTransform,pe=ue.updateTransform,fe=ue.dispatchZoomChange,ge=function(e,t,n,r,i,a,l){var s=i.rotate,d=i.scale,m=i.x,p=i.y,f=(0,o.useState)(!1),g=(0,u.A)(f,2),v=g[0],b=g[1],h=(0,o.useRef)({diffX:0,diffY:0,transformX:0,transformY:0}
1),C=function(e){n&&v&&a({x:e.pageX-h.current.diffX,y:e.pageY-h.current.diffY},"move")},y=function(){if(n&&v){b(!1);var t=h.current,o=t.transformX,r=t.transformY;if(m===o||p===r)return;var i=e.current.offsetWidth*d,l=e.current.offsetHeight*d,u=e.current.getBoundingClientRect(),f=u.left,g=u.top,C=s%180!=0,y=q(C?l:i,C?i:l,f,g);y&&a((0,c.A)({},y),"dragRebound")}};return(0,o.useEffect)((function(){var e,n,o,r;if(t){o=K(window,"mouseup",y,!1),r=K(window,"mousemove",C,!1);try{window.top!==window.self&&(e=K(window.top,"mouseup",y,!1),n=K(window.top,"mousemove",C,!1))}catch(i){(0,T.$e)(!1,"[rc-image] ".concat(i))}}return function(){var t,i,a,l;null===(t=o)||void 0===t||t.remove(),null===(i=r)||void 0===i||i.remove(),null===(a=e)||void 0===a||a.remove(),null===(l=n)||void 0===l||l.remove()}}),[n,v,m,p,s,t]),{isMoving:v,onMouseDown:function(e){t&&0===e.button&&(e.preventDefault(),e.stopPropagation(),h.current={diffX:e.pageX-m,diffY:e.pageY-p,transformX:m,transformY:p},b(!0))},onMouseMove:C,onMouseUp:y,onWheel:function(e){if(n&&0!=e.deltaY){var t=Math.abs(e.deltaY/100),o=1+Math.min(t,1)*r;e.deltaY>0&&(o=1/o),l(o,"wheel",e.clientX,e.clientY)}}}}(ne,f,b,N,de,pe,fe),ve=ge.isMoving,be=ge.onMouseDown,he=ge.onWheel,Ce=G(ne,f,b,R,de,pe,fe),ye=Ce.isTouching,$e=Ce.onTouchStart,we=Ce.onTouchMove,Ae=Ce.onTouchEnd,Se=de.rotate,xe=de.scale,Ie=a()((0,s.A)({},"".concat(t,"-moving"),ve));(0,o.useEffect)((function(){ce||se(!0)}),[ce]);var Ee=function(e){null==e||e.preventDefault(),null==e||e.stopPropagation(),x>0&&(se(!1),me("prev"),null==ee||ee(x-1,x))},ke=function(e){null==e||e.preventDefault(),null==e||e.stopPropagation(),x<E-1&&(se(!1),me("next"),null==ee||ee(x+1,x))},Oe=function(e){b&&re&&(e.keyCode===A.A.LEFT?Ee():e.keyCode===A.A.RIGHT&&ke())};(0,o.useEffect)((function(){var e=K(window,"keydown",Oe,!1);return function(){e.remove()}}),[b,re,x]);var Ne=o.createElement(J,(0,l.A)({},_,{width:e.width,height:e.height,imgRef:ne,className:"".concat(t,"-img"),alt:r,style:{transform:"translate3d(".concat(de.x,"px, ").concat(de.y,"px, 0) scale3d(").concat(de.flipX?"-":"").concat(xe,", ").concat(de.flipY?"-":"").concat(xe,", 1) rotate(").concat(Se,"deg)"),transitionDuration:(!ce||ye)&&"0s"},fallback:i,src:n,onWheel:he,onMouseDown:be,onDoubleClick:function(e){b&&(1!==xe?pe({x:0,y:0,scale:1},"doubleClick"):fe(1+N,"doubleClick",e.clientX,e.clientY))},onTouchStart:$e,onTouchMove:we,onTouchEnd:Ae,onTouchCancel:Ae}));return o.createElement(o.Fragment,null,o.createElement(H,(0,l.A)({transitionName:j,maskTransitionName:D,closable:!1,keyboard:!0,prefixCls:t,onClose:g,visible:b,classNames:{wrapper:Ie},rootClassName:y,getContainer:w},te,{afterClose:function(){me("close")}}),o.createElement("div",{className:"".concat(t,"-img-wrapper")},X?X(Ne,(0,c.A)({transform:de},oe?{current:x}:{})):Ne)),o.createElement(Z,{visible:b,transform:de,maskTransitionName:D,closeIcon:$,getContainer:w,prefixCls:t,rootClassName:y,icons:C,countRender:k,showSwitch:re,showProgress:ie,current:x,count:E,scale:xe,minScale:R,maxScale:z,toolbarRender:V,onSwitchLeft:Ee,onSwitchRight:ke,onZoomIn:function(){fe(1+N,"zoomIn")},onZoomOut:function(){fe(1/(1+N),"zoomOut")},onRotateRight:function(){pe({rotate:Se+90},"rotateRight")},onRotateLeft:function(){pe({rotate:Se-90},"rotateLeft")},onFlipX:function(){pe({flipX:!de.flipX},"flipX")},onFlipY:function(){pe({flipY:!de.flipY},"flipY")},onClose:g,zIndex:void 0!==te.zIndex?te.zIndex+1:void 0}))},te=n(436);var ne=["visible","onVisibleChange","getContainer","current","movable","minScale","maxScale","countRender","closeIcon","onChange","onTransform","toolbarRender","imageRender"],oe=["src"],re=function(e){var t,n=e.previewPrefixCls,r=void 0===n?"rc-image-preview":n,i=e.children,a=e.icons,p=void 0===a?{}:a,b=e.items,h=e.preview,C=e.fallback,y="object"===(0,d.A)(h)?h:{},$=y.visible,w=y.onVisibleChange,A=y.getContainer,S=y.current,x=y.movable,I=y.minScale,E=y.maxScale,k=y.countRender,O=y.closeIcon,N=y.onChange,M=y.onTransform,R=y.toolbarRender,B=y.imageRender,z=(0,m.A)(y,ne),P=function(e){var t=o.useState({}),n=(0,u.A)(t,2),r=n[0],i=n[1],a=o.useCallback((function(e,t){return i((function(n){return(0,c.A)((0,c.A)({},n),{},(0,s.A)({},e,t))})),function(){i((function(t){var n=(0,c.A)({},t);return delete n[e],n}))}}),[]);return[o.useMemo((function(){return e?e.map((function(e){if("string"==typeof e)return{data:{src:e}};var t={};return Object.keys(e).forEach((function(n){["src"].concat((0,te.A)(g)).includes(n)&&(t[n]=e[n])})),{data:t}})):Object.keys(r).reduce((function(e,t){var n=r[t],o=n.canPreview,i=n.data;return o&&e.push({data:i,id:t}),e}),[])}),[e,r]),a]}(b),j=(0,u.A)(P,2),T=j[0],L=j[1],D=(0,f.A)(0,{value:S}),H=(0,u.A)(D,2),X=H[0],K=H[1],W=(0,o.useState)(!1),Y=(0,u.A)(W,2),F=Y[0],_=Y[1],q=(null===(t=T[X])||void 0===t?void 0:t.data)||{},V=q.src,G=(0,m.A)(q,oe),Z=(0,f.A)(!!$,{value:$,onChange:function(e,t){null==w||w(e,t,X)}}),U=(0,u.A)(Z,2),Q=U[0],J=U[1],re=(0,o.useState)(null),ie=(0,u.A)(re,2),ae=ie[0],le=ie[1],ce=o.useCallback((function(e,t,n){var o=T.findIndex((function(t){return t.id===e}));J(!0),le({x:t,y:n}),K(o<0?0:o),_(!0)}),[T]);o.useEffect((function(){Q?F||K(0):_(!1)}),[Q]);var se=o.useMemo((function(){return{register:L,onPreview:ce}}),[L,ce]);return o.createElement(v.Provider,{value:se},i,o.createElement(ee,(0,l.A)({"aria-hidden":!Q,movable:x,visible:Q,prefixCls:r,closeIcon:O,onClose:function(){J(!1),le(null)},mousePosition:ae,imgCommonProps:G,src:V,fallback:C,icons:p,minScale:I,maxScale:E,getContainer:A,current:X,count:T.length,countRender:k,onTransform:M,toolbarRender:R,imageRender:B,onChange:function(e,t){K(e),null==N||N(e,t)}},z)))},ie=["src","alt","onPreviewClose","prefixCls","previewPrefixCls","placeholder","fallback","width","height","style","preview","className","onClick","onError","wrapperClassName","wrapperStyle","rootClassName"],ae=["src","visible","onVisibleChange","getContainer","mask","maskClassName","movable","icons","scaleStep","minScale","maxScale","
1imageRender","toolbarRender"],le=function(e){var t=e.src,n=e.alt,r=e.onPreviewClose,i=e.prefixCls,p=void 0===i?"rc-image":i,C=e.previewPrefixCls,y=void 0===C?"".concat(p,"-preview"):C,$=e.placeholder,w=e.fallback,A=e.width,S=e.height,x=e.style,I=e.preview,E=void 0===I||I,k=e.className,O=e.onClick,N=e.onError,M=e.wrapperClassName,R=e.wrapperStyle,B=e.rootClassName,z=(0,m.A)(e,ie),P=$&&!0!==$,j="object"===(0,d.A)(E)?E:{},T=j.src,L=j.visible,D=void 0===L?void 0:L,H=j.onVisibleChange,X=void 0===H?r:H,K=j.getContainer,W=void 0===K?void 0:K,Y=j.mask,F=j.maskClassName,_=j.movable,q=j.icons,V=j.scaleStep,G=j.minScale,Z=j.maxScale,U=j.imageRender,Q=j.toolbarRender,J=(0,m.A)(j,ae),te=null!=T?T:t,ne=(0,f.A)(!!D,{value:D,onChange:X}),oe=(0,u.A)(ne,2),re=oe[0],le=oe[1],ce=h({src:t,isCustomPlaceholder:P,fallback:w}),se=(0,u.A)(ce,3),ue=se[0],de=se[1],me=se[2],pe=(0,o.useState)(null),fe=(0,u.A)(pe,2),ge=fe[0],ve=fe[1],be=(0,o.useContext)(v),he=!!E,Ce=a()(p,M,B,(0,s.A)({},"".concat(p,"-error"),"error"===me)),ye=(0,o.useMemo)((function(){var t={};return g.forEach((function(n){void 0!==e[n]&&(t[n]=e[n])})),t}),g.map((function(t){return e[t]}))),$e=function(e,t){var n=o.useState((function(){return String(b+=1)})),r=(0,u.A)(n,1)[0],i=o.useContext(v),a={data:t,canPreview:e};return o.useEffect((function(){if(i)return i.register(r,a)}),[]),o.useEffect((function(){i&&i.register(r,a)}),[e,t]),r}(he,(0,o.useMemo)((function(){return(0,c.A)((0,c.A)({},ye),{},{src:te})}),[te,ye]));return o.createElement(o.Fragment,null,o.createElement("div",(0,l.A)({},z,{className:Ce,onClick:he?function(e){var t=function(e){var t=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)}}(e.target),n=t.left,o=t.top;be?be.onPreview($e,n,o):(ve({x:n,y:o}),le(!0)),null==O||O(e)}:O,style:(0,c.A)({width:A,height:S},R)}),o.createElement("img",(0,l.A)({},ye,{className:a()("".concat(p,"-img"),(0,s.A)({},"".concat(p,"-img-placeholder"),!0===$),k),style:(0,c.A)({height:S},x),ref:ue},de,{width:A,height:S,onError:N})),"loading"===me&&o.createElement("div",{"aria-hidden":"true",className:"".concat(p,"-placeholder")},$),Y&&he&&o.createElement("div",{className:a()("".concat(p,"-mask"),F),style:{display:"none"===(null==x?void 0:x.display)?"none":void 0}},Y)),!be&&he&&o.createElement(ee,(0,l.A)({"aria-hidden":!re,visible:re,prefixCls:y,onClose:function(){le(!1),ve(null)},mousePosition:ge,src:te,alt:n,fallback:w,getContainer:W,icons:q,movable:_,scaleStep:V,minScale:G,maxScale:Z,rootClassName:B,imageRender:U,imgCommonProps:ye,toolbarRender:Q},J)))};le.PreviewGroup=re,le.displayName="Image";var ce=le,se=n(275),ue=n(3723),de=n(2279),me=n(934),pe=n(2246),fe=n(7852),ge=n(329),ve=n(8e3),be={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"},he=n(7064),Ce=function(e,t){return o.createElement(he.A,(0,l.A)({},e,{ref:t,icon:be}))};var ye=o.forwardRef(Ce),$e={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"},we=function(e,t){return o.createElement(he.A,(0,l.A)({},e,{ref:t,icon:$e}))};var Ae=o.forwardRef(we),Se={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"},xe=function(e,t){return o.createElement(he.A,(0,l.A)({},e,{ref:t,icon:Se}))};var Ie=o.forwardRef(xe),Ee={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"},ke=function(e,t){return o.createElement(he.A,(0,l.A)({},e,{ref:t,icon:Ee}))};var Oe=o.forwardRef(ke),Ne={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 
10 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"},Me=function(e,t){return o.createElement(he.A,(0,l.A)({},e,{ref:t,icon:Ne}))};var Re=o.forwardRef(Me),Be=n(4552),ze=n(4978),Pe=n(5905),je=n(4980);const Te=new Be.Keyframes("antFadeIn",{"0%":{opacity:0},"100%":{opacity:1}}),Le=new Be.Keyframes("antFadeOut",{"0%":{opacity:1},"100%":{opacity:0}}),De=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];const{antCls:n}=e,o=`${n}-fade`,r=t?"&":"";return[(0,je.b)(o,Te,Le,e.motionDurationMid,t),{[`\n        ${r}${o}-enter,\n        ${r}${o}-appear\n      `]:{opacity:0,animationTimingFunction:"linear"},[`${r}${o}-leave`]:{animationTimingFunction:"linear"}}]};var He=n(9077),Xe=n(336),Ke=n(1078);function We(e){return{position:e,inset:0}}const Ye=e=>{const{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}-content`]:{pointerEvents:"none"},[`${t}-mask`]:Object.assign(Object.assign({},We("fixed")),{zIndex:e.zIndexPopupBase,height:"100%",backgroundColor:e.colorBgMask,pointerEvents:"none",[`${t}-hidden`]:{display:"none"}}),[`${t}-wrap`]:Object.assign(Object.assign({},We("fixed")),{zIndex:e.zIndexPopupBase,overflow:"auto",outline:0,WebkitOverflowScrolling:"touch"})}},{[`${t}-root`]:De(e)}]},Fe=e=>{const{componentCls:t}=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:`${(0,Be.unit)(e.marginXS)} auto`},[`${t}-centered`]:{[t]:{flex:1}}}}},{[t]:Object.assign(Object.assign({},(0,Pe.dF)(e)),{pointerEvents:"none",position:"relative",top:100,width:"auto",maxWidth:`calc(100vw - ${(0,Be.unit)(e.calc(e.margin).mul(2).equal())})`,margin:"0 auto",paddingBottom:e.paddingLG,[`${t}-title`]:{margin:0,color:e.titleColor,fontWeight:e.fontWeightStrong,fontSize:e.titleFontSize,lineHeight:e.titleLineHeight,wordWrap:"break-word"},[`${t}-content`]:{position:"relative",backgroundColor:e.contentBg,backgroundClip:"padding-box",border:0,borderRadius:e.borderRadiusLG,boxShadow:e.boxShadow,pointerEvents:"auto",padding:e.contentPadding},[`${t}-close`]:Object.assign({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 ${e.motionDurationMid}, background-color ${e.motionDurationMid}`,"&-x":{display:"flex",fontSize:e.fontSizeLG,fontStyle:"normal",lineHeight:`${(0,Be.unit)(e.modalCloseBtnSize)}`,justifyContent:"center",textTransform:"none",textRendering:"auto"},"&:hover":{color:e.modalCloseIconHoverColor,backgroundColor:e.colorBgTextHover,textDecoration:"none"},"&:active":{backgroundColor:e.colorBgTextActive}},(0,Pe.K8)(e)),[`${t}-header`]:{color:e.colorText,background:e.headerBg,borderRadius:`${(0,Be.unit)(e.borderRadiusLG)} ${(0,Be.unit)(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}-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}-content,\n          ${t}-body,\n          ${t}-confirm-body-wrapper`]:{display:"flex",flexDirection:"column",flex:"auto"},[`${t}-confirm-body`]:{marginBottom:"auto"}}}]},_e=e=>{const{componentCls:t}=e;return{[`${t}-root`]:{[`${t}-wrap-rtl`]:{direction:"rtl",[`${t}-confirm-body`]:{direction:"rtl"}}}}};(0,Ke.OF)("Modal",(e=>{const t=(e=>{const t=e.padding,n=e.fontSizeHeading5,o=e.lineHeightHeading5;return(0,Xe.h1)(e,{modalHeaderHeight:e.calc(e.calc(o).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()})})(e);return[Fe(t),_e(t),Ye(t),(0,He.aB)(t,"zoom")]}),(e=>({footerBg:"transparent",headerBg:e.colorBgElevated,titleLineHeight:e.lineHeightHeading5,titleFontSize:e.fontSizeHeading5,contentBg:e.colorBgElevated,titleColor:e.colorTextHeading,contentPadding:e.wireframe?0:`${(0,Be.unit)(e.paddingMD)} ${(0,Be.unit)(e.paddingContentHorizontalLG)}`,headerPadding:e.wireframe?`${(0,Be.unit)(e.padding)} ${(0,Be.unit)(e.paddingLG)}`:0,headerBorderBottom:e.wireframe?`${(0,Be.unit)(e.lineWidth)} ${e.lineType} ${e.colorSplit}`:"none",headerMarginBottom:e.wireframe?0:e.marginXS,bodyPadding:e.wireframe?e.paddingLG:0,footerPadding:e.wireframe?`${(0,Be.unit)(e.paddingXS)} ${(0,Be.unit)(e.padding)}`:0,footerBorderTop:e.wireframe?`${(0,Be.unit)(e.lineWidth)} ${e.lineType} ${e.colorSplit}`:"none",footerBorderRadius:e.wireframe?`0 0 ${(0,Be.unit)(e.borderRadiusLG)} ${(0,Be.unit)(e.borderRadiusLG)}`:0,footerMarginTop:e.wireframe?0:e.marginSM,confirmBodyPadding:e.wireframe?`${(0,Be.unit)(2*e.padding)} ${(0,Be.unit)(2*e.padding)} ${(0,Be.unit)(e.paddingLG)}`:0,confirmIconMarginInlineEnd:e.wireframe?e.margin:e.marginSM,confirmBtnsMarginTop:e.wireframe?e.marginLG:e.marginSM})),{unitless:{titleLineHeight:!0}});const qe=e=>({position:e||"absolute",inset:0}),Ve=e=>{const{iconCls:t,motionDurationSlow:n,paddingXXS:o,marginXXS:r,prefixCls:i,colorTextLightSolid:a}=e;return{position:"absolute",inset:0,display:"flex",alignItems:"center",justifyContent:"center",color:a,background:new ze.q("#000").setAlpha(.5).toRgbString(),cursor:"pointer",opacity:0,transition:`opacity ${n}`,[`.${i}-mask-info`]:Object.assign(Object.assign({},Pe.L9),{padding:`0 ${(0,Be.unit)(o)}`,[t]:{marginInlineEnd:r,svg:{verticalAlign:"baseline"}}})}},Ge=e=>{const{previewCls:t,modalMaskBg:n,paddingSM:o,marginXL:r,margin:i,paddingLG:a,previewOperationColorDisabled:l,previewOperationHoverColor:c,motionDurationSlow:s,iconCls:u,colorTextLightSolid:d}=e,m=new ze.q(n).setAlpha(.1),p=m.clone().setAlpha(.2);return{[`${t}-footer`]:{position:"fixed",bottom:r,left:{_skip_check_:!0,value:0},width:"100%",display:"flex",flexDirection:"column",alignItems:"center",color:e.previewOperationColor},[`${t}-progress`]:{marginBottom:i},[`${t}-close`]:{position:"fixed",top:r,right:{_skip_check_:!0,value:r},display:"flex",color:d,backgroundColor:m.toRgbString(),borderRadius:"50%",padding:o,outline:0,border:0,cursor:"pointer",transition:`all ${s}`,"&:hover":{backgroundColor:p.toRgbString()},[`& > ${u}`]:{fontSize:e.previewOperationSize}},[`${t}-operations`]:{display:"flex",alignItems:"center",padding:`0 ${(0,Be.unit)(a)}`,backgroundColor:m.toRgbString(),borderRadius:100,"&-operation":{marginInlineStart:o,padding:o,cursor:"pointer",transition:`all ${s}`,userSelect:"none",[`&:not(${t}-operations-operation-disabled):hover > ${u}`]:{color:c},"&-disabled":{color:l,cursor:"not-allowed"},"&:first-of-type":{marginInlineStart:0},[`& > ${u}`]:{fontSize:e.previewOperationSize}}}}},Ze=e=>{const{modalMaskBg:t,iconCls:n,previewOperationColorDisabled:o,previewCls:r,zIndexPopup:i,motionDurationSlow:a}=e,l=new ze.q(t).setAlpha(.1),c=l.clone().setAlpha(.2);return{[`${r}-switch-left, ${r}-switch-right`]:{position:"fixed",insetBlockStart:"50%",zIndex:e.calc(i).add(1).equal({unit:!1}),display:"flex",alignItems:"center",justifyContent:"center",width:e.imagePreviewSwitchSize,height:e.imagePreviewSwitchSize,marginTop:e.calc(e.imagePreviewSwitchSize).mul(-1).div(2).equal(),color:e.previewOperationColor,background:l.toRgbString(),borderRadius:"50%",transform:"translateY(-50%)",cursor:"pointer",transition:`all ${a}`,userSelect:"none","&:hover":{background:c.toRgbString()},"&-disabled":{"&, &:hover":{color:o,background:"transparent",curs
1or:"not-allowed",[`> ${n}`]:{cursor:"not-allowed"}}},[`> ${n}`]:{fontSize:e.previewOperationSize}},[`${r}-switch-left`]:{insetInlineStart:e.marginSM},[`${r}-switch-right`]:{insetInlineEnd:e.marginSM}}},Ue=e=>{const{motionEaseOut:t,previewCls:n,motionDurationSlow:o,componentCls:r}=e;return[{[`${r}-preview-root`]:{[n]:{height:"100%",textAlign:"center",pointerEvents:"none"},[`${n}-body`]:Object.assign(Object.assign({},qe()),{overflow:"hidden"}),[`${n}-img`]:{maxWidth:"100%",maxHeight:"70%",verticalAlign:"middle",transform:"scale3d(1, 1, 1)",cursor:"grab",transition:`transform ${o} ${t} 0s`,userSelect:"none","&-wrapper":Object.assign(Object.assign({},qe()),{transition:`transform ${o} ${t} 0s`,display:"flex",justifyContent:"center",alignItems:"center","& > *":{pointerEvents:"auto"},"&::before":{display:"inline-block",width:1,height:"50%",marginInlineEnd:-1,content:'""'}})},[`${n}-moving`]:{[`${n}-preview-img`]:{cursor:"grabbing","&-wrapper":{transitionDuration:"0s"}}}}},{[`${r}-preview-root`]:{[`${n}-wrap`]:{zIndex:e.zIndexPopup}}},{[`${r}-preview-operations-wrapper`]:{position:"fixed",zIndex:e.calc(e.zIndexPopup).add(1).equal({unit:!1})},"&":[Ge(e),Ze(e)]}]},Qe=e=>{const{componentCls:t}=e;return{[t]:{position:"relative",display:"inline-block",[`${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}-mask`]:Object.assign({},Ve(e)),[`${t}-mask:hover`]:{opacity:1},[`${t}-placeholder`]:Object.assign({},qe())}}},Je=e=>{const{previewCls:t}=e;return{[`${t}-root`]:(0,He.aB)(e,"zoom"),"&":De(e,!0)}};var et=(0,Ke.OF)("Image",(e=>{const t=`${e.componentCls}-preview`,n=(0,Xe.h1)(e,{previewCls:t,modalMaskBg:new ze.q("#000").setAlpha(.45).toRgbString(),imagePreviewSwitchSize:e.controlHeightLG});return[Qe(n),Ue(n),Ye((0,Xe.h1)(n,{componentCls:t})),Je(n)]}),(e=>({zIndexPopup:e.zIndexPopupBase+80,previewOperationColor:new ze.q(e.colorTextLightSolid).setAlpha(.65).toRgbString(),previewOperationHoverColor:new ze.q(e.colorTextLightSolid).setAlpha(.85).toRgbString(),previewOperationColorDisabled:new ze.q(e.colorTextLightSolid).setAlpha(.25).toRgbString(),previewOperationSize:1.5*e.fontSizeIcon}))),tt=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]])}return n};const nt={rotateLeft:o.createElement(ye,null),rotateRight:o.createElement(Ae,null),zoomIn:o.createElement(Oe,null),zoomOut:o.createElement(Re,null),close:o.createElement(fe.A,null),left:o.createElement(ge.A,null),right:o.createElement(ve.A,null),flipX:o.createElement(Ie,null),flipY:o.createElement(Ie,{rotate:90})};var ot=function(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]])}return n};const rt=e=>{var t;const{prefixCls:n,preview:i,className:l,rootClassName:c,style:s}=e,u=ot(e,["prefixCls","preview","className","rootClassName","style"]),{getPrefixCls:d,locale:m=pe.A,getPopupContainer:p,image:f}=o.useContext(de.QO),g=d("image",n),v=d(),b=m.Image||pe.A.Image,h=(0,me.A)(g),[C,y,$]=et(g,h),w=a()(c,y,$,h),A=a()(l,y,null==f?void 0:f.className),[S]=(0,se.YK)("ImagePreview","object"==typeof i?i.zIndex:void 0),x=o.useMemo((()=>{var e;if(!1===i)return i;const t="object"==typeof i?i:{},{getContainer:n,closeIcon:a}=t,l=ot(t,["getContainer","closeIcon"]);return Object.assign(Object.assign({mask:o.createElement("div",{className:`${g}-mask-info`},o.createElement(r.A,null),null==b?void 0:b.preview),icons:nt},l),{getContainer:null!=n?n:p,transitionName:(0,ue.b)(v,"zoom",t.transitionName),maskTransitionName:(0,ue.b)(v,"fade",t.maskTransitionName),zIndex:S,closeIcon:null!=a?a:null===(e=null==f?void 0:f.preview)||void 0===e?void 0:e.closeIcon})}),[i,b,null===(t=null==f?void 0:f.preview)||void 0===t?void 0:t.closeIcon]),I=Object.assign(Object.assign({},null==f?void 0:f.style),s);return C(o.createElement(ce,Object.assign({prefixCls:g,preview:x,rootClassName:w,className:A,style:I},u)))};rt.PreviewGroup=e=>{var{previewPrefixCls:t,preview:n}=e,r=tt(e,["previewPrefixCls","preview"]);const{getPrefixCls:i}=o.useContext(de.QO),l=i("image",t),c=`${l}-preview`,s=i(),u=(0,me.A)(l),[d,m,p]=et(l,u),[f]=(0,se.YK)("ImagePreview","object"==typeof n?n.zIndex:void 0),g=o.useMemo((()=>{var e;if(!1===n)return n;const t="object"==typeof n?n:{},o=a()(m,p,u,null!==(e=t.rootClassName)&&void 0!==e?e:"");return Object.assign(Object.assign({},t),{transitionName:(0,ue.b)(s,"zoom",t.transitionName),maskTransitionName:(0,ue.b)(s,"fade",t.maskTransitionName),rootClassName:o,zIndex:f})}),[n]);return d(o.createElement(ce.PreviewGroup,Object.assign({preview:g,previewPrefixCls:c,icons:nt},r)))};var it=rt},977:function(e,t){"use strict";t.A=e=>({[e.componentCls]:{[`${e.antCls}-motion-collapse-legacy`]:{overflow:"hidden","&-active":{transition:`height ${e.motionDurationMid} ${e.motionEaseInOut},\n        opacity ${e.motionDurationMid} ${e.motionEaseInOut} !important`}},[`${e.antCls}-motion-collapse`]:{overflow:"hidden",transition:`height ${e.motionDurationMid} ${e.motionEaseInOut},\n        opacity ${e.motionDurationMid} ${e.motionEaseInOut} !important`}}})},640:function(e,t,n){"use strict";var o=n(6540),r=n(9765),i=n(4810),a=n(7152),l=n(6370);t.A=e=>o.createElement(i.Link,{to:e.link,style:{textDecoration:"none"}},o.createElement("div",{style:{height:"100%"}},o.createElement(a.A,{className:r.q1+" text-center"},o.createElement(l.A,{className:r.FS,md:19,xs:19},o.createElement("p",{className:r.BZ},e.text)),o.createElement(l.A,{className:r.ZS,md:5,xs:5},e.image&&o.createElement("img",{className:r.hN,src:e.image,alt:"#"})))))},9765:function(e,t,n){"use strict";n.d(t,{BZ:function(){return m},FS:function(){return p},L1:function(){return l},ZS:function(){return s},aP:function(){return a},cy:function(){return o},d5:function(){return c},hN:function(){return d},l1:function(){return r},q1:function(){return u},w7:function(){return i}});var o="blog-card-module--author--3caf4",r="blog-card-module--blog
1Card--6c3a4",i="blog-card-module--blogImg--741ba",a="blog-card-module--box--94407",l="blog-card-module--category--5d49c",c="blog-card-module--head--921ff",s="blog-card-module--imageContainer--44682",u="blog-card-module--relatedBlogCard--26a48",d="blog-card-module--relatedBlogImg--24513",m="blog-card-module--relatedText--5f8d7",p="blog-card-module--textContainer--0fec4"},5053:function(e,t,n){"use strict";n.d(t,{OO:function(){return u},QF:function(){return r},Sl:function(){return l},cy:function(){return o},el:function(){return c},eq:function(){return i},oB:function(){return s},wC:function(){return a}});var o="template-module--author--42cb6",r="template-module--breadcrumb--16f1c",i="template-module--highlights--01f4e",a="template-module--highlightsTitle--a3c28",l="template-module--image--518ac",c="template-module--kidokuTitle--6cf75",s="template-module--postContent--fdee7",u="template-module--seperator--05fbd"},1092:function(e,t,n){var o=n(6540);function r(e){return o.createElement("svg",e,o.createElement("path",{d:"M5 19H6.4L15.025 10.375L13.625 8.975L5 17.6V19ZM19.3 8.925L15.05 4.725L16.45 3.325C16.8333 2.94167 17.3042 2.75 17.8625 2.75C18.4208 2.75 18.8917 2.94167 19.275 3.325L20.675 4.725C21.0583 5.10833 21.2583 5.57083 21.275 6.1125C21.2917 6.65417 21.1083 7.11667 20.725 7.5L19.3 8.925ZM17.85 10.4L7.25 21H3V16.75L13.6 6.15L17.85 10.4ZM14.325 9.675L13.625 8.975L15.025 10.375L14.325 9.675Z",fill:"#3E574B"}))}r.defaultProps={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"},e.exports=r,r.default=r}}]);
2//# sourceMappingURL=29fecc101a576b3d0bf6e20b4832cf4e08828765-65b937a70ed72520e939.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.