1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6980],{32417:(e,t,n)=>{n.d(t,{A:()=>B});var r=n(79630),o=n(12115),i=n(63715);n(9587);var a=n(27061),s=n(86608),u=n(41197),c=n(74686),l=o.createContext(null),f=function(){if("undefined"!=typeof Map)return Map;function e(e,t){var n=-1;return e.some(function(e,r){return e[0]===t&&(n=r,!0)}),n}function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(t){var n=e(this.__entries__,t),r=this.__entries__[n];return r&&r[1]},t.prototype.set=function(t,n){var r=e(this.__entries__,t);~r?this.__entries__[r][1]=n:this.__entries__.push([t,n])},t.prototype.delete=function(t){var n=this.__entries__,r=e(n,t);~r&&n.splice(r,1)},t.prototype.has=function(t){return!!~e(this.__entries__,t)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(e,t){void 0===t&&(t=null);for(var n=0,r=this.__entries__;n<r.length;n++){var o=r[n];e.call(t,o[1],o[0])}},t}(),h="undefined"!=typeof window&&"undefined"!=typeof document&&window.document===document,d=void 0!==n.g&&n.g.Math===Math?n.g:"undefined"!=typeof self&&self.Math===Math?self:"undefined"!=typeof window&&window.Math===Math?window:Function("return this")(),p="function"==typeof requestAnimationFrame?requestAnimationFrame.bind(d):function(e){return setTimeout(function(){return e(Date.now())},1e3/60)},v=["top","right","bottom","left","width","height","size","weight"],m="undefined"!=typeof MutationObserver,g=function(){function e(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=function(e,t){var n=!1,r=!1,o=0;function i(){n&&(n=!1,e()),r&&s()}function a(){p(i)}function s(){var e=Date.now();if(n){if(e-o<2)return;r=!0}else n=!0,r=!1,setTimeout(a,20);o=e}return s}(this.refresh.bind(this),0)}return e.prototype.addObserver=function(e){~this.observers_.indexOf(e)||this.observers_.push(e),this.connected_||this.connect_()},e.prototype.removeObserver=function(e){var t=this.observers_,n=t.indexOf(e);~n&&t.splice(n,1),!t.length&&this.connected_&&this.disconnect_()},e.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},e.prototype.updateObservers_=function(){var e=this.observers_.filter(function(e){return e.gatherActive(),e.hasActive()});return e.forEach(function(e){return e.broadcastActive()}),e.length>0},e.prototype.connect_=function(){h&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),m?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){h&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(e){var t=e.propertyName,n=void 0===t?"":t;v.some(function(e){return!!~n.indexOf(e)})&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),b=function(e,t){for(var n=0,r=Object.keys(t);n<r.length;n++){var o=r[n];Object.defineProperty(e,o,{value:t[o],enumerable:!1,writable:!1,configurable:!0})}return e},y=function(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView||d},w=x(0,0,0,0);function A(e){return parseFloat(e)||0}function E(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return t.reduce(function(t,n){return t+A(e["border-"+n+"-width"])},0)}var _="undefined"!=typeof SVGGraphicsElement?function(e){return e instanceof y(e).SVGGraphicsElement}:function(e){return e instanceof y(e).SVGElement&&"function"==typeof e.getBBox};function x(e,t,n,r){return{x:e,y:t,width:n,height:r}}var M=function(){function e(e){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=x(0,0,0,0),this.target=e}return e.prototype.isActive=function(){var e=function(e){if(!h)return w;if(_(e)){var t;return x(0,0,(t=e.getBBox()).width,t.height)}return function(e){var t,n=e.clientWidth,r=e.clientHeight;if(!n&&!r)return w;var o=y(e).getComputedStyle(e),i=function(e){for(var t={},n=0,r=["top","right","bottom","left"];n<r.length;n++){var o=r[n],i=e["padding-"+o];t[o]=A(i)}return t}(o),a=i.left+i.right,s=i.top+i.bottom,u=A(o.width),c=A(o.height);if("border-box"===o.boxSizing&&(Math.round(u+a)!==n&&(u-=E(o,"left","right")+a),Math.round(c+s)!==r&&(c-=E(o,"top","bottom")+s)),(t=e)!==y(t).document.documentElement){var l=Math.round(u+a)-n,f=Math.round(c+s)-r;1!==Math.abs(l)&&(u-=l),1!==Math.abs(f)&&(c-=f)}return x(i.left,i.top,u,c)}(e)}(this.target);return this.contentRect_=e,e.width!==this.broadcastWidth||e.height!==this.broadcastHeight},e.prototype.broadcastRect=function(){var e=this.contentRect_;return this.broadcastWidth=e.width,this.broadcastHeight=e.height,e},e}(),k=function(e,t){var n,r,o,i,a,s=(n=t.x,r=t.y,o=t.width,i=t.height,b(a=Object.create(("undefined"!=typeof DOMRectReadOnly?DOMRectReadOnly:Object).prototype),{x:n,y:r,width:o,height:i,top:r,right:n+o,bottom:i+r,left:n}),a);b(this,{target:e,contentRect:s})},C=function(){function e(e,t,n){if(this.activeObservations_=[],this.observations_=new f,"function"!=typeof e)throw TypeError("The callback provided as parameter 1 is not a function.");this.callback_=e,this.controller_=t,this.callbackCtx_=n}return e.prototype.observe=function(e){if(!arguments.length)throw TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof y(e).Element))throw TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)||(t.set(e,new M(e)),this.controller_.addObserver(this),this.controller_.refresh())}},e.prototype.unobserve=function(e){if(!arguments.length)throw TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof y(e).Element))throw TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)&&(t.delete(e),t.size||this.controller_.removeObserver(this))}},e.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},e.prototype.gatherActive=function(){var e=this;this.clearActive(),this.observations_.forEach(function(t){t.isActive()&&e.activeObservations_.push(t)})},e.prototype.broadcastActive=function(){if(this.hasActive()){var e=this.callbackCtx_,t=this.activeObservations_.map(function(e){return new k(e.target,e.broadcastRect())});this.callback_.call(e,t,e),this.clearActive()}},e.prototype.clearActive=function(){this.activeObservations_.splice(0)},e.prototype.hasActive=function(){return this.activeObservations_.length>0},e}(),R="undefined"!=typeof WeakMap?new WeakMap:new f,P=function e(t){if(!(this instanceof e))throw TypeError("Cannot call a class as a function.");
1if(!arguments.length)throw TypeError("1 argument required, but only 0 present.");var n=new C(t,g.getInstance(),this);R.set(this,n)};["observe","unobserve","disconnect"].forEach(function(e){P.prototype[e]=function(){var t;return(t=R.get(this))[e].apply(t,arguments)}});var O=void 0!==d.ResizeObserver?d.ResizeObserver:P,L=new Map,z=new O(function(e){e.forEach(function(e){var t,n=e.target;null==(t=L.get(n))||t.forEach(function(e){return e(n)})})}),D=n(30857),N=n(28383),S=n(38289),T=n(30725),H=function(e){(0,S.A)(n,e);var t=(0,T.A)(n);function n(){return(0,D.A)(this,n),t.apply(this,arguments)}return(0,N.A)(n,[{key:"render",value:function(){return this.props.children}}]),n}(o.Component),W=o.forwardRef(function(e,t){var n=e.children,r=e.disabled,i=o.useRef(null),f=o.useRef(null),h=o.useContext(l),d="function"==typeof n,p=d?n(i):n,v=o.useRef({width:-1,height:-1,offsetWidth:-1,offsetHeight:-1}),m=!d&&o.isValidElement(p)&&(0,c.f3)(p),g=m?(0,c.A9)(p):null,b=(0,c.xK)(g,i),y=function(){var e;return(0,u.Ay)(i.current)||(i.current&&"object"===(0,s.A)(i.current)?(0,u.Ay)(null==(e=i.current)?void 0:e.nativeElement):null)||(0,u.Ay)(f.current)};o.useImperativeHandle(t,function(){return y()});var w=o.useRef(e);w.current=e;var A=o.useCallback(function(e){var t=w.current,n=t.onResize,r=t.data,o=e.getBoundingClientRect(),i=o.width,s=o.height,u=e.offsetWidth,c=e.offsetHeight,l=Math.floor(i),f=Math.floor(s);if(v.current.width!==l||v.current.height!==f||v.current.offsetWidth!==u||v.current.offsetHeight!==c){var d={width:l,height:f,offsetWidth:u,offsetHeight:c};v.current=d;var p=u===Math.round(i)?i:u,m=c===Math.round(s)?s:c,g=(0,a.A)((0,a.A)({},d),{},{offsetWidth:p,offsetHeight:m});null==h||h(g,e,r),n&&Promise.resolve().then(function(){n(g,e)})}},[]);return o.useEffect(function(){var e=y();return e&&!r&&(L.has(e)||(L.set(e,new Set),z.observe(e)),L.get(e).add(A)),function(){L.has(e)&&(L.get(e).delete(A),!L.get(e).size&&(z.unobserve(e),L.delete(e)))}},[i.current,r]),o.createElement(H,{ref:f},m?o.cloneElement(p,{ref:b}):p)}),j=o.forwardRef(function(e,t){var n=e.children;return("function"==typeof n?[n]:(0,i.A)(n)).map(function(n,i){var a=(null==n?void 0:n.key)||"".concat("rc-observer-key","-").concat(i);return o.createElement(W,(0,r.A)({},e,{key:a,ref:0===i?t:void 0}),n)})});j.Collection=function(e){var t=e.children,n=e.onBatchResize,r=o.useRef(0),i=o.useRef([]),a=o.useContext(l),s=o.useCallback(function(e,t,o){r.current+=1;var s=r.current;i.current.push({size:e,element:t,data:o}),Promise.resolve().then(function(){s===r.current&&(null==n||n(i.current),i.current=[])}),null==a||a(e,t,o)},[n,a]);return o.createElement(l.Provider,{value:s},t)};let B=j},56980:(e,t,n)=>{n.d(t,{A:()=>V});var r=n(27061),o=n(21858),i=n(52673),a=n(17799),s=n(29300),u=n.n(s),c=n(32417),l=n(41197),f=n(48680),h=n(18885),d=n(32934),p=n(49172),v=n(96951),m=n(12115),g=n(79630),b=n(82870),y=n(74686);function w(e){var t=e.prefixCls,n=e.align,r=e.arrow,o=e.arrowPos,i=r||{},a=i.className,s=i.content,c=o.x,l=o.y,f=m.useRef();if(!n||!n.points)return null;var h={position:"absolute"};if(!1!==n.autoArrow){var d=n.points[0],p=n.points[1],v=d[0],g=d[1],b=p[0],y=p[1];v!==b&&["t","b"].includes(v)?"t"===v?h.top=0:h.bottom=0:h.top=void 0===l?0:l,g!==y&&["l","r"].includes(g)?"l"===g?h.left=0:h.right=0:h.left=void 0===c?0:c}return m.createElement("div",{ref:f,className:u()("".concat(t,"-arrow"),a),style:h},s)}function A(e){var t=e.prefixCls,n=e.open,r=e.zIndex,o=e.mask,i=e.motion;return o?m.createElement(b.Ay,(0,g.A)({},i,{motionAppear:!0,visible:n,removeOnLeave:!0}),function(e){var n=e.className;return m.createElement("div",{style:{zIndex:r},className:u()("".concat(t,"-mask"),n)})}):null}var E=m.memo(function(e){return e.children},function(e,t){return t.cache}),_=m.forwardRef(function(e,t){var n=e.popup,i=e.className,a=e.prefixCls,s=e.style,l=e.target,f=e.onVisibleChanged,h=e.open,d=e.keepDom,v=e.fresh,_=e.onClick,x=e.mask,M=e.arrow,k=e.arrowPos,C=e.align,R=e.motion,P=e.maskMotion,O=e.forceRender,L=e.getPopupContainer,z=e.autoDestroy,D=e.portal,N=e.zIndex,S=e.onMouseEnter,T=e.onMouseLeave,H=e.onPointerEnter,W=e.onPointerDownCapture,j=e.ready,B=e.offsetX,V=e.offsetY,X=e.offsetR,F=e.offsetB,Y=e.onAlign,I=e.onPrepare,q=e.stretch,G=e.targetWidth,K=e.targetHeight,J="function"==typeof n?n():n,$=h||d,Q=(null==L?void 0:L.length)>0,U=m.useState(!L||!Q),Z=(0,o.A)(U,2),ee=Z[0],et=Z[1];if((0,p.A)(function(){!ee&&Q&&l&&et(!0)},[ee,Q,l]),!ee)return null;var en="auto",er={left:"-1000vw",top:"-1000vh",right:en,bottom:en};if(j||!h){var eo,ei=C.points,ea=C.dynamicInset||(null==(eo=C._experimental)?void 0:eo.dynamicInset),es=ea&&"r"===ei[0][1],eu=ea&&"b"===ei[0][0];es?(er.right=X,er.left=en):(er.left=B,er.right=en),eu?(er.bottom=F,er.top=en):(er.top=V,er.bottom=en)}var ec={};return q&&(q.includes("height")&&K?ec.height=K:q.includes("minHeight")&&K&&(ec.minHeight=K),q.includes("width")&&G?ec.width=G:q.includes("minWidth")&&G&&(ec.minWidth=G)),h||(ec.pointerEvents="none"),m.createElement(D,{open:O||$,getContainer:L&&function(){return L(l)},autoDestroy:z},m.createElement(A,{prefixCls:a,open:h,zIndex:N,mask:x,motion:P}),m.createElement(c.A,{onResize:Y,disabled:!h},function(e){return m.createElement(b.Ay,(0,g.A)({motionAppear:!0,motionEnter:!0,motionLeave:!0,removeOnLeave:!1,forceRender:O,leavedClassName:"".concat(a,"-hidden")},R,{onAppearPrepare:I,onEnterPrepare:I,visible:h,onVisibleChanged:function(e){var t;
1null==R||null==(t=R.onVisibleChanged)||t.call(R,e),f(e)}}),function(n,o){var c=n.className,l=n.style,f=u()(a,c,i);return m.createElement("div",{ref:(0,y.K4)(e,t,o),className:f,style:(0,r.A)((0,r.A)((0,r.A)((0,r.A)({"--arrow-x":"".concat(k.x||0,"px"),"--arrow-y":"".concat(k.y||0,"px")},er),ec),l),{},{boxSizing:"border-box",zIndex:N},s),onMouseEnter:S,onMouseLeave:T,onPointerEnter:H,onClick:_,onPointerDownCapture:W},M&&m.createElement(w,{prefixCls:a,arrow:M,arrowPos:k,align:C}),m.createElement(E,{cache:!h&&!v},J))})}))}),x=m.forwardRef(function(e,t){var n=e.children,r=e.getTriggerDOMNode,o=(0,y.f3)(n),i=m.useCallback(function(e){(0,y.Xf)(t,r?r(e):e)},[r]),a=(0,y.xK)(i,(0,y.A9)(n));return o?m.cloneElement(n,{ref:a}):n}),M=m.createContext(null);function k(e){return e?Array.isArray(e)?e:[e]:[]}var C=n(53930);function R(e,t,n,r){return t||(n?{motionName:"".concat(e,"-").concat(n)}:r?{motionName:r}:null)}function P(e){return e.ownerDocument.defaultView}function O(e){for(var t=[],n=null==e?void 0:e.parentElement,r=["hidden","scroll","clip","auto"];n;){var o=P(n).getComputedStyle(n);[o.overflowX,o.overflowY,o.overflow].some(function(e){return r.includes(e)})&&t.push(n),n=n.parentElement}return t}function L(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return Number.isNaN(e)?t:e}function z(e){return L(parseFloat(e),0)}function D(e,t){var n=(0,r.A)({},e);return(t||[]).forEach(function(e){if(!(e instanceof HTMLBodyElement||e instanceof HTMLHtmlElement)){var t=P(e).getComputedStyle(e),r=t.overflow,o=t.overflowClipMargin,i=t.borderTopWidth,a=t.borderBottomWidth,s=t.borderLeftWidth,u=t.borderRightWidth,c=e.getBoundingClientRect(),l=e.offsetHeight,f=e.clientHeight,h=e.offsetWidth,d=e.clientWidth,p=z(i),v=z(a),m=z(s),g=z(u),b=L(Math.round(c.width/h*1e3)/1e3),y=L(Math.round(c.height/l*1e3)/1e3),w=p*y,A=m*b,E=0,_=0;if("clip"===r){var x=z(o);E=x*b,_=x*y}var M=c.x+A-E,k=c.y+w-_,C=M+c.width+2*E-A-g*b-(h-d-m-g)*b,R=k+c.height+2*_-w-v*y-(l-f-p-v)*y;n.left=Math.max(n.left,M),n.top=Math.max(n.top,k),n.right=Math.min(n.right,C),n.bottom=Math.min(n.bottom,R)}}),n}function N(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n="".concat(t),r=n.match(/^(.*)\%$/);return r?e*(parseFloat(r[1])/100):parseFloat(n)}function S(e,t){var n=(0,o.A)(t||[],2),r=n[0],i=n[1];return[N(e.width,r),N(e.height,i)]}function T(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return[e[0],e[1]]}function H(e,t){var n,r=t[0],o=t[1];return n="t"===r?e.y:"b"===r?e.y+e.height:e.y+e.height/2,{x:"l"===o?e.x:"r"===o?e.x+e.width:e.x+e.width/2,y:n}}function W(e,t){var n={t:"b",b:"t",l:"r",r:"l"};return e.map(function(e,r){return r===t?n[e]||"c":e}).join("")}var j=n(85757);n(9587);var B=["prefixCls","children","action","showAction","hideAction","popupVisible","defaultPopupVisible","onPopupVisibleChange","afterPopupVisibleChange","mouseEnterDelay","mouseLeaveDelay","focusDelay","blurDelay","mask","maskClosable","getPopupContainer","forceRender","autoDestroy","destroyPopupOnHide","popup","popupClassName","popupStyle","popupPlacement","builtinPlacements","popupAlign","zIndex","stretch","getPopupClassNameFromAlign","fresh","alignPoint","onPopupClick","onPopupAlign","arrow","popupMotion","maskMotion","popupTransitionName","popupAnimation","maskTransitionName","maskAnimation","className","getTriggerDOMNode"];let V=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:a.A;return m.forwardRef(function(t,n){var a,s,g,b,y,w,A,E,z,N,V,X,F,Y,I,q,G,K=t.prefixCls,J=void 0===K?"rc-trigger-popup":K,$=t.children,Q=t.action,U=t.showAction,Z=t.hideAction,ee=t.popupVisible,et=t.defaultPopupVisible,en=t.onPopupVisibleChange,er=t.afterPopupVisibleChange,eo=t.mouseEnterDelay,ei=t.mouseLeaveDelay,ea=void 0===ei?.1:ei,es=t.focusDelay,eu=t.blurDelay,ec=t.mask,el=t.maskClosable,ef=t.getPopupContainer,eh=t.forceRender,ed=t.autoDestroy,ep=t.destroyPopupOnHide,ev=t.popup,em=t.popupClassName,eg=t.popupStyle,eb=t.popupPlacement,ey=t.builtinPlacements,ew=void 0===ey?{}:ey,eA=t.popupAlign,eE=t.zIndex,e_=t.stretch,ex=t.getPopupClassNameFromAlign,eM=t.fresh,ek=t.alignPoint,eC=t.onPopupClick,eR=t.onPopupAlign,eP=t.arrow,eO=t.popupMotion,eL=t.maskMotion,ez=t.popupTransitionName,eD=t.popupAnimation,eN=t.maskTransitionName,eS=t.maskAnimation,eT=t.className,eH=t.getTriggerDOMNode,eW=(0,i.A)(t,B),ej=m.useState(!1),eB=(0,o.A)(ej,2),eV=eB[0],eX=eB[1];(0,p.A)(function(){eX((0,v.A)())},[]);var eF=m.useRef({}),eY=m.useContext(M),eI=m.useMemo(function(){return{registerSubPopup:function(e,t){eF.current[e]=t,null==eY||eY.registerSubPopup(e,t)}}},[eY]),eq=(0,d.A)(),eG=m.useState(null),eK=(0,o.A)(eG,2),eJ=eK[0],e$=eK[1],eQ=m.useRef(null),eU=(0,h.A)(function(e){eQ.current=e,(0,l.fk)(e)&&eJ!==e&&e$(e),null==eY||eY.registerSubPopup(eq,e)}),eZ=m.useState(null),e0=(0,o.A)(eZ,2),e1=e0[0],e2=e0[1],e3=m.useRef(null),e5=(0,h.A)(function(e){(0,l.fk)(e)&&e1!==e&&(e2(e),e3.current=e)}),e8=m.Children.only($),e7=(null==e8?void 0:e8.props)||{},e6={},e9=(0,h.A)(function(e){var t,n;return(null==e1?void 0:e1.contains(e))||(null==(t=(0,f.j)(e1))?void 0:t.host)===e||e===e1||(null==eJ?void 0:eJ.contains(e))||(null==(n=(0,f.j)(eJ))?void 0:n.host)===e||e===eJ||Object.values(eF.current).some(function(t){return(null==t?void 0:t.contains(e))||e===t})}),e4=R(J,eO,eD,ez),te=R(J,eL,eS,eN),tt=m.useState(et||!1),tn=(0,o.A)(tt,2),tr=tn[0],to=tn[1],ti=null!=ee?ee:tr,ta=(0,h.A)(function(e){void 0===ee&&to(e)});(0,p.A)(function(){to(ee||!1)},[ee]);var ts=m.useRef(ti);ts.current=ti;var tu=m.useRef([]);tu.current=[];var tc=(0,h.A)(function(e){var t;ta(e),(null!=(t=tu.current[tu.current.length-1])?t:ti)!==e&&(tu.current.push(e),null==en||en(e))}),tl=m.useRef(),tf=function(){clearTimeout(tl.current)},th=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;tf(),0===t?tc(e):tl.current=setTimeout(function(){tc(e)},1e3*t)};m.useEffect(function(){return tf},[]);var td=m.useState(!1),tp=(0,o.A)(td,2),tv=tp[0],tm=tp[1];(0,p.A)(function(e){(!e||ti)&&tm(!0)},[ti]);var tg=m.useState(null),tb=(0,o.A)(tg,2),ty=tb[0],tw=tb[1],tA=m.useState(null),tE=(0,o.A)(tA,2),t_=tE[0],tx=tE[1],tM=function(e){tx([e.clientX,e.clientY])},tk=(a=ek&&null!==t_?t_:e1,s=m.useState({ready:!1,offsetX:0,offsetY:0,offsetR:0,offsetB:0,arrowX:0,arrowY:0,scaleX:1,scaleY:1,align:e
1w[eb]||{}}),b=(g=(0,o.A)(s,2))[0],y=g[1],w=m.useRef(0),A=m.useMemo(function(){return eJ?O(eJ):[]},[eJ]),E=m.useRef({}),ti||(E.current={}),z=(0,h.A)(function(){if(eJ&&a&&ti){var e=eJ.ownerDocument,t=P(eJ),n=t.getComputedStyle(eJ).position,i=eJ.style.left,s=eJ.style.top,u=eJ.style.right,c=eJ.style.bottom,f=eJ.style.overflow,h=(0,r.A)((0,r.A)({},ew[eb]),eA),d=e.createElement("div");if(null==(b=eJ.parentElement)||b.appendChild(d),d.style.left="".concat(eJ.offsetLeft,"px"),d.style.top="".concat(eJ.offsetTop,"px"),d.style.position=n,d.style.height="".concat(eJ.offsetHeight,"px"),d.style.width="".concat(eJ.offsetWidth,"px"),eJ.style.left="0",eJ.style.top="0",eJ.style.right="auto",eJ.style.bottom="auto",eJ.style.overflow="hidden",Array.isArray(a))M={x:a[0],y:a[1],width:0,height:0};else{var p,v,m,g,b,w,_,x,M,k,R,O=a.getBoundingClientRect();O.x=null!=(k=O.x)?k:O.left,O.y=null!=(R=O.y)?R:O.top,M={x:O.x,y:O.y,width:O.width,height:O.height}}var z=eJ.getBoundingClientRect(),N=t.getComputedStyle(eJ),j=N.height,B=N.width;z.x=null!=(w=z.x)?w:z.left,z.y=null!=(_=z.y)?_:z.top;var V=e.documentElement,X=V.clientWidth,F=V.clientHeight,Y=V.scrollWidth,I=V.scrollHeight,q=V.scrollTop,G=V.scrollLeft,K=z.height,J=z.width,$=M.height,Q=M.width,U=h.htmlRegion,Z="visible",ee="visibleFirst";"scroll"!==U&&U!==ee&&(U=Z);var et=U===ee,en=D({left:-G,top:-q,right:Y-G,bottom:I-q},A),er=D({left:0,top:0,right:X,bottom:F},A),eo=U===Z?er:en,ei=et?er:eo;eJ.style.left="auto",eJ.style.top="auto",eJ.style.right="0",eJ.style.bottom="0";var ea=eJ.getBoundingClientRect();eJ.style.left=i,eJ.style.top=s,eJ.style.right=u,eJ.style.bottom=c,eJ.style.overflow=f,null==(x=eJ.parentElement)||x.removeChild(d);var es=L(Math.round(J/parseFloat(B)*1e3)/1e3),eu=L(Math.round(K/parseFloat(j)*1e3)/1e3);if(!(0===es||0===eu||(0,l.fk)(a)&&!(0,C.A)(a))){var ec=h.offset,el=h.targetOffset,ef=S(z,ec),eh=(0,o.A)(ef,2),ed=eh[0],ep=eh[1],ev=S(M,el),em=(0,o.A)(ev,2),eg=em[0],ey=em[1];M.x-=eg,M.y-=ey;var eE=h.points||[],e_=(0,o.A)(eE,2),ex=e_[0],eM=T(e_[1]),ek=T(ex),eC=H(M,eM),eP=H(z,ek),eO=(0,r.A)({},h),eL=eC.x-eP.x+ed,ez=eC.y-eP.y+ep,eD=tf(eL,ez),eN=tf(eL,ez,er),eS=H(M,["t","l"]),eT=H(z,["t","l"]),eH=H(M,["b","r"]),eW=H(z,["b","r"]),ej=h.overflow||{},eB=ej.adjustX,eV=ej.adjustY,eX=ej.shiftX,eF=ej.shiftY,eY=function(e){return"boolean"==typeof e?e:e>=0};th();var eI=eY(eV),eq=ek[0]===eM[0];if(eI&&"t"===ek[0]&&(v>ei.bottom||E.current.bt)){var eG=ez;eq?eG-=K-$:eG=eS.y-eW.y-ep;var eK=tf(eL,eG),e$=tf(eL,eG,er);eK>eD||eK===eD&&(!et||e$>=eN)?(E.current.bt=!0,ez=eG,ep=-ep,eO.points=[W(ek,0),W(eM,0)]):E.current.bt=!1}if(eI&&"b"===ek[0]&&(p<ei.top||E.current.tb)){var eQ=ez;eq?eQ+=K-$:eQ=eH.y-eT.y-ep;var eU=tf(eL,eQ),eZ=tf(eL,eQ,er);eU>eD||eU===eD&&(!et||eZ>=eN)?(E.current.tb=!0,ez=eQ,ep=-ep,eO.points=[W(ek,0),W(eM,0)]):E.current.tb=!1}var e0=eY(eB),e1=ek[1]===eM[1];if(e0&&"l"===ek[1]&&(g>ei.right||E.current.rl)){var e2=eL;e1?e2-=J-Q:e2=eS.x-eW.x-ed;var e3=tf(e2,ez),e5=tf(e2,ez,er);e3>eD||e3===eD&&(!et||e5>=eN)?(E.current.rl=!0,eL=e2,ed=-ed,eO.points=[W(ek,1),W(eM,1)]):E.current.rl=!1}if(e0&&"r"===ek[1]&&(m<ei.left||E.current.lr)){var e8=eL;e1?e8+=J-Q:e8=eH.x-eT.x-ed;var e7=tf(e8,ez),e6=tf(e8,ez,er);e7>eD||e7===eD&&(!et||e6>=eN)?(E.current.lr=!0,eL=e8,ed=-ed,eO.points=[W(ek,1),W(eM,1)]):E.current.lr=!1}th();var e9=!0===eX?0:eX;"number"==typeof e9&&(m<er.left&&(eL-=m-er.left-ed,M.x+Q<er.left+e9&&(eL+=M.x-er.left+Q-e9)),g>er.right&&(eL-=g-er.right-ed,M.x>er.right-e9&&(eL+=M.x-er.right+e9)));var e4=!0===eF?0:eF;"number"==typeof e4&&(p<er.top&&(ez-=p-er.top-ep,M.y+$<er.top+e4&&(ez+=M.y-er.top+$-e4)),v>er.bottom&&(ez-=v-er.bottom-ep,M.y>er.bottom-e4&&(ez+=M.y-er.bottom+e4)));var te=z.x+eL,tt=z.y+ez,tn=M.x,tr=M.y,to=Math.max(te,tn),ta=Math.min(te+J,tn+Q),ts=Math.max(tt,tr),tu=Math.min(tt+K,tr+$);null==eR||eR(eJ,eO);var tc=ea.right-z.x-(eL+z.width),tl=ea.bottom-z.y-(ez+z.height);1===es&&(eL=Math.round(eL),tc=Math.round(tc)),1===eu&&(ez=Math.round(ez),tl=Math.round(tl)),y({ready:!0,offsetX:eL/es,offsetY:ez/eu,offsetR:tc/es,offsetB:tl/eu,arrowX:((to+ta)/2-te)/es,arrowY:((ts+tu)/2-tt)/eu,scaleX:es,scaleY:eu,align:eO})}function tf(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:eo,r=z.x+e,o=z.y+t,i=Math.max(r,n.left),a=Math.max(o,n.top);return Math.max(0,(Math.min(r+J,n.right)-i)*(Math.min(o+K,n.bottom)-a))}function th(){v=(p=z.y+ez)+K,g=(m=z.x+eL)+J}}}),N=function(){y(function(e){return(0,r.A)((0,r.A)({},e),{},{ready:!1})})},(0,p.A)(N,[eb]),(0,p.A)(function(){ti||N()},[ti]),[b.ready,b.offsetX,b.offsetY,b.offsetR,b.offsetB,b.arrowX,b.arrowY,b.scaleX,b.scaleY,b.align,function(){w.current+=1;var e=w.current;Promise.resolve().then(function(){w.current===e&&z()})}
1]),tC=(0,o.A)(tk,11),tR=tC[0],tP=tC[1],tO=tC[2],tL=tC[3],tz=tC[4],tD=tC[5],tN=tC[6],tS=tC[7],tT=tC[8],tH=tC[9],tW=tC[10],tj=(V=void 0===Q?"hover":Q,m.useMemo(function(){var e=k(null!=U?U:V),t=k(null!=Z?Z:V),n=new Set(e),r=new Set(t);return eV&&(n.has("hover")&&(n.delete("hover"),n.add("click")),r.has("hover")&&(r.delete("hover"),r.add("click"))),[n,r]},[eV,V,U,Z])),tB=(0,o.A)(tj,2),tV=tB[0],tX=tB[1],tF=tV.has("click"),tY=tX.has("click")||tX.has("contextMenu"),tI=(0,h.A)(function(){tv||tW()});X=function(){ts.current&&ek&&tY&&th(!1)},(0,p.A)(function(){if(ti&&e1&&eJ){var e=O(e1),t=O(eJ),n=P(eJ),r=new Set([n].concat((0,j.A)(e),(0,j.A)(t)));function o(){tI(),X()}return r.forEach(function(e){e.addEventListener("scroll",o,{passive:!0})}),n.addEventListener("resize",o,{passive:!0}),tI(),function(){r.forEach(function(e){e.removeEventListener("scroll",o),n.removeEventListener("resize",o)})}}},[ti,e1,eJ]),(0,p.A)(function(){tI()},[t_,eb]),(0,p.A)(function(){ti&&!(null!=ew&&ew[eb])&&tI()},[JSON.stringify(eA)]);var tq=m.useMemo(function(){var e=function(e,t,n,r){for(var o=n.points,i=Object.keys(e),a=0;a<i.length;a+=1){var s,u=i[a];if(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2?arguments[2]:void 0;return n?e[0]===t[0]:e[0]===t[0]&&e[1]===t[1]}(null==(s=e[u])?void 0:s.points,o,r))return"".concat(t,"-placement-").concat(u)}return""}(ew,J,tH,ek);return u()(e,null==ex?void 0:ex(tH))},[tH,ex,ew,J,ek]);m.useImperativeHandle(n,function(){return{nativeElement:e3.current,popupElement:eQ.current,forceAlign:tI}});var tG=m.useState(0),tK=(0,o.A)(tG,2),tJ=tK[0],t$=tK[1],tQ=m.useState(0),tU=(0,o.A)(tQ,2),tZ=tU[0],t0=tU[1],t1=function(){if(e_&&e1){var e=e1.getBoundingClientRect();t$(e.width),t0(e.height)}};function t2(e,t,n,r){e6[e]=function(o){var i;null==r||r(o),th(t,n);for(var a=arguments.length,s=Array(a>1?a-1:0),u=1;u<a;u++)s[u-1]=arguments[u];null==(i=e7[e])||i.call.apply(i,[e7,o].concat(s))}}(0,p.A)(function(){ty&&(tW(),ty(),tw(null))},[ty]),(tF||tY)&&(e6.onClick=function(e){var t;ts.current&&tY?th(!1):!ts.current&&tF&&(tM(e),th(!0));for(var n=arguments.length,r=Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];null==(t=e7.onClick)||t.call.apply(t,[e7,e].concat(r))});var t3=(F=void 0===el||el,(Y=m.useRef(ti)).current=ti,I=m.useRef(!1),m.useEffect(function(){if(tY&&eJ&&(!ec||F)){var e=function(){I.current=!1},t=function(e){var t;!Y.current||e9((null==(t=e.composedPath)||null==(t=t.call(e))?void 0:t[0])||e.target)||I.current||th(!1)},n=P(eJ);n.addEventListener("pointerdown",e,!0),n.addEventListener("mousedown",t,!0),n.addEventListener("contextmenu",t,!0);var r=(0,f.j)(e1);return r&&(r.addEventListener("mousedown",t,!0),r.addEventListener("contextmenu",t,!0)),function(){n.removeEventListener("pointerdown",e,!0),n.removeEventListener("mousedown",t,!0),n.removeEventListener("contextmenu",t,!0),r&&(r.removeEventListener("mousedown",t,!0),r.removeEventListener("contextmenu",t,!0))}}},[tY,e1,eJ,ec,F]),function(){I.current=!0}),t5=tV.has("hover"),t8=tX.has("hover");t5&&(t2("onMouseEnter",!0,eo,function(e){tM(e)}),t2("onPointerEnter",!0,eo,function(e){tM(e)}),q=function(e){(ti||tv)&&null!=eJ&&eJ.contains(e.target)&&th(!0,eo)},ek&&(e6.onMouseMove=function(e){var t;null==(t=e7.onMouseMove)||t.call(e7,e)})),t8&&(t2("onMouseLeave",!1,ea),t2("onPointerLeave",!1,ea),G=function(){th(!1,ea)}),tV.has("focus")&&t2("onFocus",!0,es),tX.has("focus")&&t2("onBlur",!1,eu),tV.has("contextMenu")&&(e6.onContextMenu=function(e){var t;ts.current&&tX.has("contextMenu")?th(!1):(tM(e),th(!0)),e.preventDefault();for(var n=arguments.length,r=Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];null==(t=e7.onContextMenu)||t.call.apply(t,[e7,e].concat(r))}),eT&&(e6.className=u()(e7.className,eT));var t7=m.useRef(!1);t7.current||(t7.current=eh||ti||tv);var t6=(0,r.A)((0,r.A)({},e7),e6),t9={};["onContextMenu","onClick","onMouseDown","onTouchStart","onMouseEnter","onMouseLeave","onFocus","onBlur"].forEach(function(e){eW[e]&&(t9[e]=function(){for(var t,n=arguments.length,r=Array(n),o=0;o<n;o++)r[o]=arguments[o];null==(t=t6[e])||t.call.apply(t,[t6].concat(r)),eW[e].apply(eW,r)})});var t4=m.cloneElement(e8,(0,r.A)((0,r.A)({},t6),t9)),ne=eP?(0,r.A)({},!0!==eP?eP:{}):null;return m.createElement(m.Fragment,null,m.createElement(c.A,{disabled:!ti,ref:e5,onResize:function(){t1(),tI()}},m.createElement(x,{getTriggerDOMNode:eH},t4)),t7.current&&m.createElement(M.Provider,{value:eI},m.createElement(_,{portal:e,ref:eU,prefixCls:J,popup:ev,className:u()(em,tq),style:eg,target:e1,onMouseEnter:q,onMouseLeave:G,onPointerEnter:q,zIndex:eE,open:ti,keepDom:tv,fresh:eM,onClick:eC,onPointerDownCapture:t3,mask:ec,motion:e4,maskMotion:te,onVisibleChanged:function(e){tm(!1),tW(),null==er||er(e)},onPrepare:function(){return new Promise(function(e){t1(),tw(function(){return e})})},forceRender:eh,autoDestroy:ed||ep||!1,getPopupContainer:ef,align:tH,arrow:ne,arrowPos:{x:tD,y:tN},ready:tR,offsetX:tP,offsetY:tO,offsetR:tL,offsetB:tz,onAlign:tI,stretch:e_,targetWidth:tJ/tS,targetHeight:tZ/tT})))})}(a.A)},96951:(e,t,n)=>{n.d(t,{A:()=>r});let r=function(){if("undefined"==typeof navigator||"undefined"==typeof window)return!1;var e=navigator.userAgent||navigator.vendor||window.opera;return/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(e)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/i.test(null==e?void 0:e.substr(0,4))}}}]);
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.