PageSourceSearch

https://frontpopulaire.fr/_next/static/chunks/898.30ce769064b491a6.js

js frontpopulaire.fr collected 2026-10-02 11:33:08 UTC 62,118 bytes, 8 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[898],{38898:function(e,t,n){n.r(t),n.d(t,{Popup:function(){return tX},default:function(){return tG}});var o,r,i,a,u,c,s,l,f=n(87462),p=n(71002),d=n(1413),h=n(91),v=n(67294),m=n(15671),y=n(43144),g=n(97326),w=n(32531),b=n(51630),Z=n(4942),C=n(73935),E=function(e){return+setTimeout(e,16)},x=function(e){return clearTimeout(e)};"undefined"!=typeof window&&"requestAnimationFrame"in window&&(E=function(e){return window.requestAnimationFrame(e)},x=function(e){return window.cancelAnimationFrame(e)});var k=0,O=new Map,T=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=k+=1;return!function t(o){if(0===o)O.delete(n),e();else{var r=E(function(){t(o-1)});O.set(n,r)}}(t),n};function P(e,t){if(!e)return!1;if(e.contains)return e.contains(t);for(var n=t;n;){if(n===e)return!0;n=n.parentNode}return!1}function M(e){return e instanceof HTMLElement||e instanceof SVGElement?e:e instanceof v.Component?C.findDOMNode(e):null}T.cancel=function(e){var t=O.get(e);return O.delete(t),x(t)};var S=n(59864);function D(e,t){"function"==typeof e?e(t):"object"===(0,p.Z)(e)&&e&&"current"in e&&(e.current=t)}function L(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];var o=t.filter(function(e){return e});return o.length<=1?o[0]:function(e){t.forEach(function(t){D(t,e)})}}function A(e){var t,n,o=(0,S.isMemo)(e)?e.type.type:e.type;return("function"!=typeof o||null!==(t=o.prototype)&&void 0!==t&&!!t.render)&&("function"!=typeof e||null!==(n=e.prototype)&&void 0!==n&&!!n.render)}function R(e,t,n,o){var r=C.unstable_batchedUpdates?function(e){C.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)}}}function N(){return!!("undefined"!=typeof window&&window.document&&window.document.createElement)}var j=(0,v.forwardRef)(function(e,t){var n=e.didUpdate,o=e.getContainer,r=e.children,i=(0,v.useRef)(),a=(0,v.useRef)();(0,v.useImperativeHandle)(t,function(){return{}});var u=(0,v.useRef)(!1);return!u.current&&N()&&(a.current=o(),i.current=a.current.parentNode,u.current=!0),(0,v.useEffect)(function(){null==n||n(e)}),(0,v.useEffect)(function(){return null===a.current.parentNode&&null!==i.current&&i.current.appendChild(a.current),function(){var e,t;null===(e=a.current)||void 0===e||null===(t=e.parentNode)||void 0===t||t.removeChild(a.current)}},[]),a.current?C.createPortal(r,a.current):null}),V=n(94184),H=n.n(V),W=n(86854),F=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))},B=v.createContext({}),I=function(e){(0,w.Z)(n,e);var t=(0,b.Z)(n);function n(){return(0,m.Z)(this,n),t.apply(this,arguments)}return(0,y.Z)(n,[{key:"render",value:function(){return this.props.children}}]),n}(v.Component);function z(e){var t=v.useRef(!1),n=v.useState(e),o=(0,W.Z)(n,2),r=o[0],i=o[1];return v.useEffect(function(){return t.current=!1,function(){t.current=!0}}
1,[]),[r,function(e,n){n&&t.current||i(e)}]}var _="none",$="appear",Y="enter",X="leave",U="none",G="prepare",q="start",K="active",J="prepared";function Q(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit".concat(e)]="webkit".concat(t),n["Moz".concat(e)]="moz".concat(t),n["ms".concat(e)]="MS".concat(t),n["O".concat(e)]="o".concat(t.toLowerCase()),n}var ee=(o=N(),r="undefined"!=typeof window?window:{},i={animationend:Q("Animation","AnimationEnd"),transitionend:Q("Transition","TransitionEnd")},!o||("AnimationEvent"in r||delete i.animationend.animation,"TransitionEvent"in r||delete i.transitionend.transition),i),et={};N()&&(et=document.createElement("div").style);var en={};function eo(e){if(en[e])return en[e];var t=ee[e];if(t)for(var n=Object.keys(t),o=n.length,r=0;r<o;r+=1){var i=n[r];if(Object.prototype.hasOwnProperty.call(t,i)&&i in et)return en[e]=t[i],en[e]}return""}var er=eo("animationend"),ei=eo("transitionend"),ea=!!(er&&ei),eu=er||"animationend",ec=ei||"transitionend";function es(e,t){return e?"object"===(0,p.Z)(e)?e[t.replace(/-\w/g,function(e){return e[1].toUpperCase()})]:"".concat(e,"-").concat(t):null}var el=function(e){var t=(0,v.useRef)(),n=(0,v.useRef)(e);n.current=e;var o=v.useCallback(function(e){n.current(e)},[]);function r(e){e&&(e.removeEventListener(ec,o),e.removeEventListener(eu,o))}return v.useEffect(function(){return function(){r(t.current)}},[]),[function(e){t.current&&t.current!==e&&r(t.current),e&&e!==t.current&&(e.addEventListener(ec,o),e.addEventListener(eu,o),t.current=e)},r]},ef=N()?v.useLayoutEffect:v.useEffect,ep=function(){var e=v.useRef(null);function t(){T.cancel(e.current)}return v.useEffect(function(){return function(){t()}},[]),[function n(o){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2;t();var i=T(function(){r<=1?o({isCanceled:function(){return i!==e.current}}):n(o,r-1)});e.current=i},t]},ed=[G,q,K,"end"],eh=[G,J];function ev(e){return e===K||"end"===e}var em=function(e,t,n){var o=z(U),r=(0,W.Z)(o,2),i=r[0],a=r[1],u=ep(),c=(0,W.Z)(u,2),s=c[0],l=c[1],f=t?eh:ed;return ef(function(){if(i!==U&&"end"!==i){var e=f[f.indexOf(i)+1],t=n(i);!1===t?a(e,!0):e&&s(function(n){function o(){n.isCanceled()||a(e,!0)}!0===t?o():Promise.resolve(t).then(o)})}},[e,i]),v.useEffect(function(){return function(){l()}},[]),[function(){a(G,!0)},i]},ey=(a=ea,"object"===(0,p.Z)(ea)&&(a=ea.transitionSupport),(u=v.forwardRef(function(e,t){var n=e.visible,o=void 0===n||n,r=e.removeOnLeave,i=void 0===r||r,u=e.forceRender,c=e.children,s=e.motionName,l=e.leavedClassName,f=e.eventProps,p=v.useContext(B).motion,h=!!(e.motionName&&a&&!1!==p),m=(0,v.useRef)(),y=(0,v.useRef)(),g=function(e,t,n,o){var r=o.motionEnter,i=void 0===r||r,a=o.motionAppear,u=void 0===a||a,c=o.motionLeave,s=void 0===c||c,l=o.motionDeadline,f=o.motionLeaveImmediately,p=o.onAppearPrepare,h=o.onEnterPrepare,m=o.onLeavePrepare,y=o.onAppearStart,g=o.onEnterStart,w=o.onLeaveStart,b=o.onAppearActive,C=o.onEnterActive,E=o.onLeaveActive,x=o.onAppearEnd,k=o.onEnterEnd,O=o.onLeaveEnd,T=o.onVisibleChanged,P=z(),M=(0,W.Z)(P,2),S=M[0],D=M[1],L=z(_),A=(0,W.Z)(L,2),R=A[0],N=A[1],j=z(null),V=(0,W.Z)(j,2),H=V[0],F=V[1],B=(0,v.useRef)(!1),I=(0,v.useRef)(null),U=(0,v.useRef)(!1);function Q(){N(_,!0),F(null,!0)}function ee(e){var t,o=n();if(!e||e.deadline||e.target===o){var r=U.current;R===$&&r?t=null==x?void 0:x(o,e):R===Y&&r?t=null==k?void 0:k(o,e):R===X&&r&&(t=null==O?void 0:O(o,e)),R!==_&&r&&!1!==t&&Q()}}var et=el(ee),en=(0,W.Z)(et,1)[0],eo=function(e){var t,n,o;switch(e){case $:return t={},(0,Z.Z)(t,G,p),(0,Z.Z)(t,q,y),(0,Z.Z)(t,K,b),t;case Y:return n={},(0,Z.Z)(n,G,h),(0,Z.Z)(n,q,g),(0,Z.Z)(n,K,C),n;case X:return o={},(0,Z.Z)(o,G,m),(0,Z.Z)(o,q,w),(0,Z.Z)(o,K,E),o;default:return{}}},er=v.useMemo(function(){return eo(R)},[R]),ei=em(R,!e,function(e){if(e===G){var t,o=er[G];return!!o&&o(n())}return ec in er&&F((null===(t=er[ec])||void 0===t?void 0:t.call(er,n(),null))||null),ec===K&&(en(n()),l>0&&(clearTimeout(I.current),I.current=setTimeout(function(){ee({deadline:!0})},l))),ec===J&&Q(),!0}),ea=(0,W.Z)(ei,2),eu=ea[0],ec=ea[1],es=ev(ec);U.current=es,ef(function(){D(t);var n,o=B.current;B.current=!0,!o&&t&&u&&(n=$),o&&t&&i&&(n=Y),(o&&!t&&s||!o&&f&&!t&&s)&&(n=X);var r=eo(n);n&&(e||r[G])?(N(n),eu()):N(_)},[t]),(0,v.useEffect)(function(){(R!==$||u)&&(R!==Y||i)&&(R!==X||s)||N(_)},[u,i,s]),(0,v.useEffect)(function(){return function(){B.current=!1,clearTimeout(I.current)}},[]);var ep=v.useRef(!1);(0,v.useEffect)(function(){S&&(ep.current=!0),void 0!==S&&R===_&&((ep.current||S)&&(null==T||T(S)),ep.current=!0)},[S,R]);var ed=H;return er[G]&&ec===q&&(ed=(0,d.Z)({transition:"none"},ed)),[R,ec,ed,null!=S?S:t]}(h,o,function(){try{return m.current instanceof HTMLElement?m.current:M(y.current)}catch(e){return null}},e),w=(0,W.Z)(g,4),b=w[0],C=w[1],E=w[2],x=w[3],k=v.useRef(x);x&&(k.current=!0);var O=v.useCallback(function(e){m.current=e,D(t,e)},[t]),T=(0,d.Z)((0,d.Z)({},f),{},{visible:o});if(c){if(b===_)P=x?c((0,d.Z)({},T),O):!i&&k.current&&l?c((0,d.Z)((0,d.Z)({},T),{},{className:l}),O):!u&&(i||l)?null:c((0,d.Z)((0,d.Z)({},T),{},{style:{display:"none"}}),O);else{C===G?L="prepare":ev(C)?L="active":C===q&&(L="start");var P,S,L,R=es(s,"".concat(b,"-").concat(L));P=c((0,d.Z)((0,d.Z)({},T),{},{className:H()(es(s,b),(S={},(0,Z.Z)(S,R,R&&L),(0,Z.Z)(S,s,"string"==typeof s),S)),style:E}),O)}}else P=null;return v.isValidElement(P)&&A(P)&&!P.ref&&(P=v.cloneElement(P,{ref:O})),v.createElement(I,{ref:y},P)})).displayName="CSSMotion",u),eg="keep",ew="remove",eb="removed";function eZ(e){var t;return t=e&&"object"===(0,p.Z)(e)&&"key"in e?e:{key:e},(0,d.Z)((0,d.Z)({},t),{},{key:String(t.key)})}function eC(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return e.map(eZ)}var eE=["component","children","onVisibleChanged","onAllRemoved"],ex=["status"],ek=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"];function eO(e){var t=e.prefixCls,n=e.motion,o=e.animation,r=e.transitionName;return n||(o?{motionName:"".concat(t,"-").concat(o)}:r?{motionName:r}:null)}function eT(e){var t=e.prefixCls,n=e.visible,o=e.zIndex,r=e.mask,i=e.maskMotion,a=e.maskAnimation,u=e.maskTransitionName;if(!r)return null;var c={};return(i||u||a)&&(c=(0,d.Z)({motionAppear:!0},eO({motion:i,prefixCls:t,transitionName:u,animation:a}))),v.createElement(ey,(0,f.Z)({},c,{visible:n,removeOnLeave:!0}),function(e){var n=e.className;return v.createElement("div",{style:{zIndex:o},className:H()("".concat(t,"-mask"),n)})})}function eP(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,o)}return n}function eM(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
1t%2?eP(Object(n),!0).forEach(function(t){var o,r;o=e,r=n[t],t in o?Object.defineProperty(o,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):o[t]=r}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):eP(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function eS(e){return(eS="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}!function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ey,n=function(e){(0,w.Z)(o,e);var n=(0,b.Z)(o);function o(){var e;(0,m.Z)(this,o);for(var t=arguments.length,r=Array(t),i=0;i<t;i++)r[i]=arguments[i];return e=n.call.apply(n,[this].concat(r)),(0,Z.Z)((0,g.Z)(e),"state",{keyEntities:[]}),(0,Z.Z)((0,g.Z)(e),"removeKey",function(t){var n=e.state.keyEntities.map(function(e){return e.key!==t?e:(0,d.Z)((0,d.Z)({},e),{},{status:eb})});return e.setState({keyEntities:n}),n.filter(function(e){return e.status!==eb}).length}),e}return(0,y.Z)(o,[{key:"render",value:function(){var e=this,n=this.state.keyEntities,o=this.props,r=o.component,i=o.children,a=o.onVisibleChanged,u=o.onAllRemoved,c=(0,h.Z)(o,eE),s=r||v.Fragment,l={};return ek.forEach(function(e){l[e]=c[e],delete c[e]}),delete c.keys,v.createElement(s,c,n.map(function(n){var o=n.status,r=(0,h.Z)(n,ex);return v.createElement(t,(0,f.Z)({},l,{key:r.key,visible:"add"===o||o===eg,eventProps:r,onVisibleChanged:function(t){null==a||a(t,{key:r.key}),!t&&0===e.removeKey(r.key)&&u&&u()}}),i)}))}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n=e.keys,o=t.keyEntities;return{keyEntities:(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=[],o=0,r=t.length,i=eC(e),a=eC(t);i.forEach(function(e){for(var t=!1,i=o;i<r;i+=1){var u=a[i];if(u.key===e.key){o<i&&(n=n.concat(a.slice(o,i).map(function(e){return(0,d.Z)((0,d.Z)({},e),{},{status:"add"})})),o=i),n.push((0,d.Z)((0,d.Z)({},u),{},{status:eg})),o+=1,t=!0;break}}t||n.push((0,d.Z)((0,d.Z)({},e),{},{status:ew}))}),o<r&&(n=n.concat(a.slice(o).map(function(e){return(0,d.Z)((0,d.Z)({},e),{},{status:"add"})})));var u={};return n.forEach(function(e){var t=e.key;u[t]=(u[t]||0)+1}),Object.keys(u).filter(function(e){return u[e]>1}).forEach(function(e){(n=n.filter(function(t){var n=t.key,o=t.status;return n!==e||o!==ew})).forEach(function(t){t.key===e&&(t.status=eg)})}),n})(o,eC(n)).filter(function(e){var t=o.find(function(t){var n=t.key;return e.key===n});return!t||t.status!==eb||e.status!==ew})}}}]),o}(v.Component);(0,Z.Z)(n,"defaultProps",{component:"div"})}(ea);var eD={Webkit:"-webkit-",Moz:"-moz-",ms:"-ms-",O:"-o-"};function eL(){if(void 0!==s)return s;s="";var e=document.createElement("p").style;for(var t in eD)t+"Transform" in e&&(s=t);return s}function eA(){return eL()?"".concat(eL(),"TransitionProperty"):"transitionProperty"}function eR(){return eL()?"".concat(eL(),"Transform"):"transform"}function eN(e,t){var n=eA();n&&(e.style[n]=t,"transitionProperty"!==n&&(e.style.transitionProperty=t))}function ej(e,t){var n=eR();n&&(e.style[n]=t,"transform"!==n&&(e.style.transform=t))}var eV=/matrix\((.*)\)/,eH=/matrix3d\((.*)\)/,eW=/[\-+]?(?:\d*\.|)\d+(?:[eE][\-+]?\d+|)/.source;function eF(e){var t=e.style.display;e.style.display="none",e.offsetHeight,e.style.display=t}function eB(e,t,n){var o=n;if("object"===eS(t)){for(var r in t)t.hasOwnProperty(r)&&eB(e,r,t[r]);return}if(void 0!==o){"number"==typeof o&&(o="".concat(o,"px")),e.style[t]=o;return}return l(e,t)}function eI(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}function ez(e){var t,n,o,r,i,a,u=(i=(r=e.ownerDocument).body,a=r&&r.documentElement,n=Math.floor((t=e.getBoundingClientRect()).left),o=Math.floor(t.top),{left:n-=a.clientLeft||i.clientLeft||0,top:o-=a.clientTop||i.clientTop||0}),c=e.ownerDocument,s=c.defaultView||c.parentWindow;return u.left+=eI(s),u.top+=eI(s,!0),u}function e_(e){return null!=e&&e==e.window}
1function e$(e){return e_(e)?e.document:9===e.nodeType?e:e.ownerDocument}var eY=RegExp("^(".concat(eW,")(?!px)[a-z%]+$"),"i"),eX=/^(top|right|bottom|left)$/,eU="currentStyle",eG="runtimeStyle",eq="left";function eK(e,t){return"left"===e?t.useCssRight?"right":e:t.useCssBottom?"bottom":e}function eJ(e){return"left"===e?"right":"right"===e?"left":"top"===e?"bottom":"bottom"===e?"top":void 0}function eQ(e,t,n){"static"===eB(e,"position")&&(e.style.position="relative");var o=-999,r=-999,i=eK("left",n),a=eK("top",n),u=eJ(i),c=eJ(a);"left"!==i&&(o=999),"top"!==a&&(r=999);var s="",l=ez(e);("left"in t||"top"in t)&&(s=e.style.transitionProperty||e.style[eA()]||"",eN(e,"none")),"left"in t&&(e.style[u]="",e.style[i]="".concat(o,"px")),"top"in t&&(e.style[c]="",e.style[a]="".concat(r,"px")),eF(e);var f=ez(e),p={};for(var d in t)if(t.hasOwnProperty(d)){var h=eK(d,n),v="left"===d?o:r,m=l[d]-f[d];h===d?p[h]=v+m:p[h]=v-m}eB(e,p),eF(e),("left"in t||"top"in t)&&eN(e,s);var y={};for(var g in t)if(t.hasOwnProperty(g)){var w=eK(g,n),b=t[g]-l[g];g===w?y[w]=p[w]+b:y[w]=p[w]-b}eB(e,y)}function e0(e,t){for(var n=0;n<e.length;n++)t(e[n])}function e1(e){return"border-box"===l(e,"boxSizing")}"undefined"!=typeof window&&(l=window.getComputedStyle?function(e,t,n){var o=n,r="",i=e$(e);return(o=o||i.defaultView.getComputedStyle(e,null))&&(r=o.getPropertyValue(t)||o[t]),r}:function(e,t){var n=e[eU]&&e[eU][t];if(eY.test(n)&&!eX.test(t)){var o=e.style,r=o[eq],i=e[eG][eq];e[eG][eq]=e[eU][eq],o[eq]="fontSize"===t?"1em":n||0,n=o.pixelLeft+"px",o[eq]=r,e[eG][eq]=i}return""===n?"auto":n});var e2=["margin","border","padding"];function e9(e,t,n){var o,r,i,a=0;for(r=0;r<t.length;r++)if(o=t[r])for(i=0;i<n.length;i++)a+=parseFloat(l(e,"border"===o?"".concat(o).concat(n[i],"Width"):o+n[i]))||0;return a}var e6={getParent:function(e){var t=e;do t=11===t.nodeType&&t.host?t.host:t.parentNode;while(t&&1!==t.nodeType&&9!==t.nodeType);return t}};function e4(e,t,n){var o=n;if(e_(e))return"width"===t?e6.viewportWidth(e):e6.viewportHeight(e);if(9===e.nodeType)return"width"===t?e6.docWidth(e):e6.docHeight(e);var r="width"===t?["Left","Right"]:["Top","Bottom"],i="width"===t?Math.floor(e.getBoundingClientRect().width):Math.floor(e.getBoundingClientRect().height),a=e1(e),u=0;(null==i||i<=0)&&(i=void 0,(null==(u=l(e,t))||0>Number(u))&&(u=e.style[t]||0),u=Math.floor(parseFloat(u))||0),void 0===o&&(o=a?1:-1);var c=void 0!==i||a,s=i||u;return -1===o?c?s-e9(e,["border","padding"],r):u:c?1===o?s:s+(2===o?-e9(e,["border"],r):e9(e,["margin"],r)):u+e9(e,e2.slice(o),r)}e0(["Width","Height"],function(e){e6["doc".concat(e)]=function(t){var n=t.document;return Math.max(n.documentElement["scroll".concat(e)],n.body["scroll".concat(e)],e6["viewport".concat(e)](n))},e6["viewport".concat(e)]=function(t){var n="client".concat(e),o=t.document,r=o.body,i=o.documentElement[n];return"CSS1Compat"===o.compatMode&&i||r&&r[n]||i}});var e3={position:"absolute",visibility:"hidden",display:"block"};function e5(){for(var e,t=arguments.length,n=Array(t),o=0;o<t;o++)n[o]=arguments[o];var r=n[0];return 0!==r.offsetWidth?e=e4.apply(void 0,n):function(e,t,n){var o,r={},i=e.style;for(o in t)t.hasOwnProperty(o)&&(r[o]=i[o],i[o]=t[o]);for(o in n.call(e),t)t.hasOwnProperty(o)&&(i[o]=r[o])}(r,e3,function(){e=e4.apply(void 0,n)}),e}function e8(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e}e0(["width","height"],function(e){var t=e.charAt(0).toUpperCase()+e.slice(1);e6["outer".concat(t)]=function(t,n){return t&&e5(t,e,n?0:1)};var n="width"===e?["Left","Right"]:["Top","Bottom"];e6[e]=function(t,o){var r=o;return void 0!==r?t?(e1(t)&&(r+=e9(t,["padding","border"],n)),eB(t,e,r)):void 0:t&&e5(t,e,-1)}});var e7={getWindow:function(e){if(e&&e.document&&e.setTimeout)return e;var t=e.ownerDocument||e;return t.defaultView||t.parentWindow},getDocument:e$,offset:function(e,t,n){if(void 0===t)return ez(e);!function(e,t,n){if(n.ignoreShake){var o,r,i,a=ez(e),u=a.left.toFixed(0),c=a.top.toFixed(0),s=t.left.toFixed(0),l=t.top.toFixed(0);if(u===s&&c===l)return}n.useCssRight||n.useCssBottom?eQ(e,t,n):n.useCssTransform&&eR() in document.body.style?(o=ez(e),i={x:(r=function(e){var t=window.getComputedStyle(e,null),n=t.getPropertyValue("transform")||t.getPropertyValue(eR());if(n&&"none"!==n){var o=n.replace(/[^0-9\-.,]/g,"").split(",");return{x:parseFloat(o[12]||o[4],0),y:parseFloat(o[13]||o[5],0)}}return{x:0,y:0}}(e)).x,y:r.y},"left"in t&&(i.x=r.x+t.left-o.left),"top"in t&&(i.y=r.y+t.top-o.top),function(e,t){var n=window.getComputedStyle(e,null),o=n.getPropertyValue("transform")||n.getPropertyValue(eR());if(o&&"none"!==o){var r,i=o.match(eV);i?((r=(i=i[1]).split(",").map(function(e){return parseFloat(e,10)}))[4]=t.x,r[5]=t.y,ej(e,"matrix(".concat(r.join(","),")"))):((r=o.match(eH)[1].split(",").map(function(e){return parseFloat(e,10)}))[12]=t.x,r[13]=t.y,ej(e,"matrix3d(".concat(r.join(","),")")))}else ej(e,"translateX(".concat(t.x,"px) translateY(").concat(t.y,"px) translateZ(0)"))}(e,i)):eQ(e,t,n)}(e,t,n||{})},isWindow:e_,each:e0,css:eB,clone:function(e){var t,n={};for(t in e)e.hasOwnProperty(t)&&(n[t]=e[t]);if(e.overflow)for(t in e)e.hasOwnProperty(t)&&(n.overflow[t]=e.overflow[t]);return n},mix:e8,getWindowScrollLeft:function(e){return eI(e)},getWindowScrollTop:function(e){return eI(e,!0)},merge:function(){for(var e={},t=0;t<arguments.length;t++)e7.mix(e,t<0||arguments.length<=t?void 0:arguments[t]);return e}
1,viewportWidth:0,viewportHeight:0};e8(e7,e6);var te=e7.getParent;function tt(e){if(e7.isWindow(e)||9===e.nodeType)return null;var t,n=e7.getDocument(e).body,o=e7.css(e,"position");if(!("fixed"===o||"absolute"===o))return"html"===e.nodeName.toLowerCase()?null:te(e);for(t=te(e);t&&t!==n&&9!==t.nodeType;t=te(t))if("static"!==(o=e7.css(t,"position")))return t;return null}var tn=e7.getParent;function to(e,t){for(var n={left:0,right:1/0,top:0,bottom:1/0},o=tt(e),r=e7.getDocument(e),i=r.defaultView||r.parentWindow,a=r.body,u=r.documentElement;o;){if((-1===navigator.userAgent.indexOf("MSIE")||0!==o.clientWidth)&&o!==a&&o!==u&&"visible"!==e7.css(o,"overflow")){var c=e7.offset(o);c.left+=o.clientLeft,c.top+=o.clientTop,n.top=Math.max(n.top,c.top),n.right=Math.min(n.right,c.left+o.clientWidth),n.bottom=Math.min(n.bottom,c.top+o.clientHeight),n.left=Math.max(n.left,c.left)}else if(o===a||o===u)break;o=tt(o)}var s=null;e7.isWindow(e)||9===e.nodeType||(s=e.style.position,"absolute"!==e7.css(e,"position")||(e.style.position="fixed"));var l=e7.getWindowScrollLeft(i),f=e7.getWindowScrollTop(i),p=e7.viewportWidth(i),d=e7.viewportHeight(i),h=u.scrollWidth,v=u.scrollHeight,m=window.getComputedStyle(a);if("hidden"===m.overflowX&&(h=i.innerWidth),"hidden"===m.overflowY&&(v=i.innerHeight),e.style&&(e.style.position=s),t||function(e){if(e7.isWindow(e)||9===e.nodeType)return!1;var t=e7.getDocument(e),n=t.body,o=null;for(o=tn(e);o&&o!==n&&o!==t;o=tn(o))if("fixed"===e7.css(o,"position"))return!0;return!1}(e))n.left=Math.max(n.left,l),n.top=Math.max(n.top,f),n.right=Math.min(n.right,l+p),n.bottom=Math.min(n.bottom,f+d);else{var y=Math.max(h,l+p);n.right=Math.min(n.right,y);var g=Math.max(v,f+d);n.bottom=Math.min(n.bottom,g)}return n.top>=0&&n.left>=0&&n.bottom>n.top&&n.right>n.left?n:null}function tr(e){if(e7.isWindow(e)||9===e.nodeType){var t,n,o,r=e7.getWindow(e);t={left:e7.getWindowScrollLeft(r),top:e7.getWindowScrollTop(r)},n=e7.viewportWidth(r),o=e7.viewportHeight(r)}else t=e7.offset(e),n=e7.outerWidth(e),o=e7.outerHeight(e);return t.width=n,t.height=o,t}function ti(e,t){var n=t.charAt(0),o=t.charAt(1),r=e.width,i=e.height,a=e.left,u=e.top;return"c"===n?u+=i/2:"b"===n&&(u+=i),"c"===o?a+=r/2:"r"===o&&(a+=r),{left:a,top:u}}function ta(e,t,n,o,r){var i=ti(t,n[1]),a=ti(e,n[0]),u=[a.left-i.left,a.top-i.top];return{left:Math.round(e.left-u[0]+o[0]-r[0]),top:Math.round(e.top-u[1]+o[1]-r[1])}}function tu(e,t,n){return e.left<n.left||e.left+t.width>n.right}function tc(e,t,n){return e.top<n.top||e.top+t.height>n.bottom}function ts(e,t,n){var o=[];return e7.each(e,function(e){o.push(e.replace(t,function(e){return n[e]}))}),o}function tl(e,t){return e[t]=-e[t],e}function tf(e,t){return(/%$/.test(e)?parseInt(e.substring(0,e.length-1),10)/100*t:parseInt(e,10))||0}function tp(e,t){e[0]=tf(e[0],t.width),e[1]=tf(e[1],t.height)}function td(e,t,n,o){var r=n.points,i=n.offset||[0,0],a=n.targetOffset||[0,0],u=n.overflow,c=n.source||e;i=[].concat(i),a=[].concat(a);var s={},l=0,f=to(c,!!(u=u||{}).alwaysByViewport),p=tr(c);tp(i,p),tp(a,t);var d=ta(p,t,r,i,a),h=e7.merge(p,d);if(f&&(u.adjustX||u.adjustY)&&o){if(u.adjustX&&tu(d,p,f)){var v,m,y,g,w=ts(r,/[lr]/gi,{l:"r",r:"l"}),b=tl(i,0),Z=tl(a,0);(g=ta(p,t,w,b,Z)).left>f.right||g.left+p.width<f.left||(l=1,r=w,i=b,a=Z)}if(u.adjustY&&tc(d,p,f)){var C,E=ts(r,/[tb]/gi,{t:"b",b:"t"}),x=tl(i,1),k=tl(a,1);(C=ta(p,t,E,x,k)).top>f.bottom||C.top+p.height<f.top||(l=1,r=E,i=x,a=k)}l&&(d=ta(p,t,r,i,a),e7.mix(h,d));var O=tu(d,p,f),T=tc(d,p,f);
1if(O||T){var P=r;O&&(P=ts(r,/[lr]/gi,{l:"r",r:"l"})),T&&(P=ts(r,/[tb]/gi,{t:"b",b:"t"})),r=P,i=n.offset||[0,0],a=n.targetOffset||[0,0]}s.adjustX=u.adjustX&&O,s.adjustY=u.adjustY&&T,(s.adjustX||s.adjustY)&&(v=d,m=e7.clone(v),y={width:p.width,height:p.height},s.adjustX&&m.left<f.left&&(m.left=f.left),s.resizeWidth&&m.left>=f.left&&m.left+y.width>f.right&&(y.width-=m.left+y.width-f.right),s.adjustX&&m.left+y.width>f.right&&(m.left=Math.max(f.right-y.width,f.left)),s.adjustY&&m.top<f.top&&(m.top=f.top),s.resizeHeight&&m.top>=f.top&&m.top+y.height>f.bottom&&(y.height-=m.top+y.height-f.bottom),s.adjustY&&m.top+y.height>f.bottom&&(m.top=Math.max(f.bottom-y.height,f.top)),h=e7.mix(m,y))}return h.width!==p.width&&e7.css(c,"width",e7.width(c)+h.width-p.width),h.height!==p.height&&e7.css(c,"height",e7.height(c)+h.height-p.height),e7.offset(c,{left:h.left,top:h.top},{useCssRight:n.useCssRight,useCssBottom:n.useCssBottom,useCssTransform:n.useCssTransform,ignoreShake:n.ignoreShake}),{points:r,offset:i,targetOffset:a,overflow:s}}function th(e,t,n){var o,r,i=n.target||t,a=tr(i),u=(o=to(i,n.overflow&&n.overflow.alwaysByViewport),r=tr(i),!!o&&!(r.left+r.width<=o.left)&&!(r.top+r.height<=o.top)&&!(r.left>=o.right)&&!(r.top>=o.bottom));return td(e,a,n,u)}th.__getOffsetParent=tt,th.__getVisibleRectForElement=to;var tv={},tm=[];function ty(e,t){}function tg(e,t){}function tw(e,t,n){t||tv[n]||(e(!1,n),tv[n]=!0)}function tb(e,t){tw(ty,e,t)}tb.preMessage=function(e){tm.push(e)},tb.resetWarned=function(){tv={}},tb.noteOnce=function(e,t){tw(tg,e,t)};var tZ=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],o=new Set;return function e(t,r){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,a=o.has(t);if(tb(!a,"Warning: There may be circular references"),a)return!1;if(t===r)return!0;if(n&&i>1)return!1;o.add(t);var u=i+1;if(Array.isArray(t)){if(!Array.isArray(r)||t.length!==r.length)return!1;for(var c=0;c<t.length;c++)if(!e(t[c],r[c],u))return!1;return!0}if(t&&r&&"object"===(0,p.Z)(t)&&"object"===(0,p.Z)(r)){var s=Object.keys(t);return s.length===Object.keys(r).length&&s.every(function(n){return e(t[n],r[n],u)})}return!1}(e,t)},tC=function(e){if(!e)return!1;if(e instanceof Element){if(e.offsetParent)return!0;if(e.getBBox){var t=e.getBBox(),n=t.width,o=t.height;if(n||o)return!0}if(e.getBoundingClientRect){var r=e.getBoundingClientRect(),i=r.width,a=r.height;if(i||a)return!0}}return!1},tE=N()?v.useLayoutEffect:v.useEffect,tx=function(e,t){var n=v.useRef(!0);tE(function(){return e(n.current)},t),tE(function(){return n.current=!1,function(){n.current=!0}},[])},tk=function(e,t){var n=v.useRef(!1),o=v.useRef(null);function r(){window.clearTimeout(o.current)}return[function i(a){if(r(),n.current&&!0!==a)o.current=window.setTimeout(function(){n.current=!1,i()},t);else{if(!1===e(a))return;n.current=!0,o.current=window.setTimeout(function(){n.current=!1},t)}},function(){n.current=!1,r()}]},tO=n(91033);function tT(e,t){var n=null,o=null,r=new tO.default(function(e){var r=(0,W.Z)(e,1)[0].target;if(document.documentElement.contains(r)){var i=r.getBoundingClientRect(),a=i.width,u=i.height,c=Math.floor(a),s=Math.floor(u);(n!==c||o!==s)&&Promise.resolve().then(function(){t({width:c,height:s})}),n=c,o=s}});return e&&r.observe(e),function(){r.disconnect()}}function tP(e){return"function"!=typeof e?null:e()}function tM(e){return"object"===(0,p.Z)(e)&&e?e:null}var tS=v.forwardRef(function(e,t){var n=e.children,o=e.disabled,r=e.target,i=e.align,a=e.onAlign,u=e.monitorWindowResize,c=e.monitorBufferTime,s=v.useRef({}),l=v.useRef(),f=v.Children.only(n),p=v.useRef({});p.current.disabled=o,p.current.target=r,p.current.align=i,p.current.onAlign=a;var d=tk(function(){var e=p.current,t=e.disabled,n=e.target,o=e.align,r=e.onAlign,i=l.current;if(!t&&n&&i){var a,u,c,f,d,h,v,m,y,g,w,b=tP(n),Z=tM(n);s.current.element=b,s.current.point=Z,s.current.align=o;var C=document.activeElement;return b&&tC(b)?w=th(i,b,o):Z&&(f=(c=e7.getDocument(i)).defaultView||c.parentWindow,d=e7.getWindowScrollLeft(f),h=e7.getWindowScrollTop(f),v=e7.viewportWidth(f),m=e7.viewportHe
1ight(f),y={left:a="pageX"in Z?Z.pageX:d+Z.clientX,top:u="pageY"in Z?Z.pageY:h+Z.clientY,width:0,height:0},g=[o.points[0],"cc"],w=td(i,y,eM(eM({},o),{},{points:g}),a>=0&&a<=d+v&&u>=0&&u<=h+m)),C!==document.activeElement&&P(i,C)&&"function"==typeof C.focus&&C.focus(),r&&w&&r(i,w),!0}return!1},void 0===c?0:c),h=(0,W.Z)(d,2),m=h[0],y=h[1],g=v.useState(),w=(0,W.Z)(g,2),b=w[0],Z=w[1],C=v.useState(),E=(0,W.Z)(C,2),x=E[0],k=E[1];return tx(function(){Z(tP(r)),k(tM(r))}),v.useEffect(function(){var e;s.current.element===b&&((e=s.current.point)===x||e&&x&&("pageX"in x&&"pageY"in x?e.pageX===x.pageX&&e.pageY===x.pageY:"clientX"in x&&"clientY"in x&&e.clientX===x.clientX&&e.clientY===x.clientY))&&tZ(s.current.align,i)||m()}),v.useEffect(function(){return tT(l.current,m)},[l.current]),v.useEffect(function(){return tT(b,m)},[b]),v.useEffect(function(){o?y():m()},[o]),v.useEffect(function(){if(u)return R(window,"resize",m).remove},[u]),v.useEffect(function(){return function(){y()}},[]),v.useImperativeHandle(t,function(){return{forceAlign:function(){return m(!0)}}}),v.isValidElement(f)&&(f=v.cloneElement(f,{ref:L(f.ref,l)})),f});function tD(){tD=function(){return e};var e={},t=Object.prototype,n=t.hasOwnProperty,o=Object.defineProperty||function(e,t,n){e[t]=n.value},r="function"==typeof Symbol?Symbol:{},i=r.iterator||"@@iterator",a=r.asyncIterator||"@@asyncIterator",u=r.toStringTag||"@@toStringTag";function c(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(s){c=function(e,t,n){return e[t]=n}}function l(e,t,n,r){var i,a,u=Object.create((t&&t.prototype instanceof h?t:h).prototype);return o(u,"_invoke",{value:(i=new k(r||[]),a="suspendedStart",function(t,o){if("executing"===a)throw Error("Generator is already running");if("completed"===a){if("throw"===t)throw o;return T()}for(i.method=t,i.arg=o;;){var r=i.delegate;if(r){var u=function e(t,n){var o=n.method,r=t.iterator[o];if(void 0===r)return n.delegate=null,"throw"===o&&t.iterator.return&&(n.method="return",n.arg=void 0,e(t,n),"throw"===n.method)||"return"!==o&&(n.method="throw",n.arg=TypeError("The iterator does not provide a '"+o+"' method")),d;var i=f(r,t.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,d;var a=i.arg;return a?a.done?(n[t.resultName]=a.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=void 0),n.delegate=null,d):a:(n.method="throw",n.arg=TypeError("iterator result is not an object"),n.delegate=null,d)}(r,i);if(u){if(u===d)continue;return u}}if("next"===i.method)i.sent=i._sent=i.arg;else if("throw"===i.method){if("suspendedStart"===a)throw a="completed",i.arg;i.dispatchException(i.arg)}else"return"===i.method&&i.abrupt("return",i.arg);a="executing";var c=f(e,n,i);if("normal"===c.type){if(a=i.done?"completed":"suspendedYield",c.arg===d)continue;return{value:c.arg,done:i.done}}"throw"===c.type&&(a="completed",i.method="throw",i.arg=c.arg)}})}),u}function f(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(o){return{type:"throw",arg:o}}}e.wrap=l;var d={};function h(){}function v(){}function m(){}var y={};c(y,i,function(){return this});var g=Object.getPrototypeOf,w=g&&g(g(O([])));w&&w!==t&&n.call(w,i)&&(y=w);var b=m.prototype=h.prototype=Object.create(y);function Z(e){["next","throw","return"].forEach(function(t){c(e,t,function(e){return this._invoke(t,e)})})}function C(e,t){var r;o(this,"_invoke",{value:function(o,i){function a(){return new t(function(r,a){!function o(r,i,a,u){var c=f(e[r],e,i);if("throw"!==c.type){var s=c.arg,l=s.value;return l&&"object"==(0,p.Z)(l)&&n.call(l,"__await")?t.resolve(l.__await).then(function(e){o("next",e,a,u)},function(e){o("throw",e,a,u)}):t.resolve(l).then(function(e){s.value=e,a(s)},function(e){return o("throw",e,a,u)})}u(c.arg)}(o,i,r,a)})}return r=r?r.then(a,a):a()}})}function E(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function x(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function k(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(E,this),this.reset(!0)}function O(e){if(e){var t=e[i];if(t)return t.call(e);
1if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,r=function t(){for(;++o<e.length;)if(n.call(e,o))return t.value=e[o],t.done=!1,t;return t.value=void 0,t.done=!0,t};return r.next=r}}return{next:T}}function T(){return{value:void 0,done:!0}}return v.prototype=m,o(b,"constructor",{value:m,configurable:!0}),o(m,"constructor",{value:v,configurable:!0}),v.displayName=c(m,u,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===v||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,m):(e.__proto__=m,c(e,u,"GeneratorFunction")),e.prototype=Object.create(b),e},e.awrap=function(e){return{__await:e}},Z(C.prototype),c(C.prototype,a,function(){return this}),e.AsyncIterator=C,e.async=function(t,n,o,r,i){void 0===i&&(i=Promise);var a=new C(l(t,n,o,r),i);return e.isGeneratorFunction(n)?a:a.next().then(function(e){return e.done?e.value:a.next()})},Z(b),c(b,u,"Generator"),c(b,i,function(){return this}),c(b,"toString",function(){return"[object Generator]"}),e.keys=function(e){var t=Object(e),n=[];for(var o in t)n.push(o);return n.reverse(),function e(){for(;n.length;){var o=n.pop();if(o in t)return e.value=o,e.done=!1,e}return e.done=!0,e}},e.values=O,k.prototype={constructor:k,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(x),!e)for(var t in this)"t"===t.charAt(0)&&n.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function o(n,o){return a.type="throw",a.arg=e,t.next=n,o&&(t.method="next",t.arg=void 0),!!o}for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r],a=i.completion;if("root"===i.tryLoc)return o("end");if(i.tryLoc<=this.prev){var u=n.call(i,"catchLoc"),c=n.call(i,"finallyLoc");if(u&&c){if(this.prev<i.catchLoc)return o(i.catchLoc,!0);if(this.prev<i.finallyLoc)return o(i.finallyLoc)}else if(u){if(this.prev<i.catchLoc)return o(i.catchLoc,!0)}else{if(!c)throw Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return o(i.finallyLoc)}}}},abrupt:function(e,t){for(var o=this.tryEntries.length-1;o>=0;--o){var r=this.tryEntries[o];if(r.tryLoc<=this.prev&&n.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var i=r;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,d):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),d},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),x(n),d}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var o=n.completion;if("throw"===o.type){var r=o.arg;x(n)}return r}}throw Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:O(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),d}},e}function tL(e,t,n,o,r,i,a){try{var u=e[i](a),c=u.value}catch(s){n(s);return}u.done?t(c):Promise.resolve(c).then(o,r)}tS.displayName="Align";var tA=["measure","alignPre","align",null,"motion"],tR=function(e,t){var n=z(null),o=(0,W.Z)(n,2),r=o[0],i=o[1],a=(0,v.useRef)();function u(){T.cancel(a.current)}return(0,v.useEffect)(function(){i("measure",!0)},[e]),(0,v.useEffect)(function(){if("measure"===r&&t(),r){var e;a.current=T((e=tD().mark(function e(){var t,n;return tD().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:(n=tA[(t=tA.indexOf(r))+1])&&-1!==t&&i(n,!0);case 3:case"end":return e.stop()}},e)}),function(){var t=this,n=arguments;return new Promise(function(o,r){var i=e.apply(t,n);function a(e){tL(i,o,r,a,u,"next",e)}function u(e){tL(i,o,r,a,u,"throw",e)}a(void 0)})}))}},[r]),(0,v.useEffect)(function(){return function(){u()}},[]),[r,function(e){u(),a.current=T(function(){i(function(e){switch(r){case"align":return"motion";case"motion":return"stable"}return e},!0),null==e||e()})}]},tN=function(e){var t=v.useState({width:0,height:0}),n=(0,W.Z)(t,2),o=n[0],r=n[1];return[v.useMemo(function(){var t={};if(e){var n=o.width,r=o.height;-1!==e.indexOf("height")&&r?t.height=r:-1!==e.indexOf("minHeight")&&r&&(t.minHeight=r),-1!==e.indexOf("width")&&n?t.width=n:-1!==e.indexOf("minWidth")&&n&&(t.minWidth=n)}return t},[e,o]),function(e){var t=e.offsetWidth,n=e.offsetHeight,o=e.getBoundingClientRect(),i=o.width,a=o.height;1>Math.abs(t-i)&&1>Math.abs(n-a)&&(t=i,n=a),r({width:t,height:n})}]},tj=v.forwardRef(function(e,t){var n=e.visible,o=e.prefixCls,r=e.className,i=e.style,a=e.children,u=e.zIndex,c=e.stretch,s=e.destroyPopupOnHide,l=e.forceRender,p=e.align,h=e.point,m=e.getRootDomNo
1de,y=e.getClassNameFromAlign,g=e.onAlign,w=e.onMouseEnter,b=e.onMouseLeave,Z=e.onMouseDown,C=e.onTouchStart,E=e.onClick,x=(0,v.useRef)(),k=(0,v.useRef)(),O=(0,v.useState)(),T=(0,W.Z)(O,2),P=T[0],M=T[1],S=tN(c),D=(0,W.Z)(S,2),L=D[0],A=D[1],R=tR(n,function(){c&&A(m())}),N=(0,W.Z)(R,2),j=N[0],V=N[1],F=(0,v.useState)(0),B=(0,W.Z)(F,2),I=B[0],z=B[1],_=(0,v.useRef)();function $(){var e;null===(e=x.current)||void 0===e||e.forceAlign()}function Y(e,t){var n=y(t);P!==n&&M(n),z(function(e){return e+1}),"align"===j&&(null==g||g(e,t))}tx(function(){"alignPre"===j&&z(0)},[j]),tx(function(){"align"===j&&(I<3?$():V(function(){var e;null===(e=_.current)||void 0===e||e.call(_)}))},[I]);var X=(0,d.Z)({},eO(e));function U(){return new Promise(function(e){_.current=e})}["onAppearEnd","onEnterEnd","onLeaveEnd"].forEach(function(e){var t=X[e];X[e]=function(e,n){return V(),null==t?void 0:t(e,n)}}),v.useEffect(function(){X.motionName||"motion"!==j||V()},[X.motionName,j]),v.useImperativeHandle(t,function(){return{forceAlign:$,getElement:function(){return k.current}}});var G=(0,d.Z)((0,d.Z)({},L),{},{zIndex:u,opacity:"motion"!==j&&"stable"!==j&&n?0:void 0,pointerEvents:n||"stable"===j?void 0:"none"},i),q=!0;null!=p&&p.points&&("align"===j||"stable"===j)&&(q=!1);var K=a;return v.Children.count(a)>1&&(K=v.createElement("div",{className:"".concat(o,"-content")},a)),v.createElement(ey,(0,f.Z)({visible:n,ref:k,leavedClassName:"".concat(o,"-hidden")},X,{onAppearPrepare:U,onEnterPrepare:U,removeOnLeave:s,forceRender:l}),function(e,t){var n=e.className,i=e.style,a=H()(o,r,P,n);return v.createElement(tS,{target:h||m,key:"popup",ref:x,monitorWindowResize:!0,disabled:q,align:p,onAlign:Y},v.createElement("div",{ref:t,className:a,onMouseEnter:w,onMouseLeave:b,onMouseDownCapture:Z,onTouchStartCapture:C,onClick:E,style:(0,d.Z)((0,d.Z)({},i),G)},K))})});tj.displayName="PopupInner";var tV=v.forwardRef(function(e,t){var n=e.prefixCls,o=e.visible,r=e.zIndex,i=e.children,a=e.mobile,u=(a=void 0===a?{}:a).popupClassName,c=a.popupStyle,s=a.popupMotion,l=a.popupRender,p=e.onClick,h=v.useRef();v.useImperativeHandle(t,function(){return{forceAlign:function(){},getElement:function(){return h.current}}});var m=(0,d.Z)({zIndex:r},c),y=i;return v.Children.count(i)>1&&(y=v.createElement("div",{className:"".concat(n,"-content")},i)),l&&(y=l(y)),v.createElement(ey,(0,f.Z)({visible:o,ref:h,removeOnLeave:!0},void 0===s?{}:s),function(e,t){var o=e.className,r=e.style,i=H()(n,u,o);return v.createElement("div",{ref:t,className:i,onClick:p,style:(0,d.Z)((0,d.Z)({},r),m)},y)})});tV.displayName="MobilePopupInner";var tH=["visible","mobile"],tW=v.forwardRef(function(e,t){var n=e.visible,o=e.mobile,r=(0,h.Z)(e,tH),i=(0,v.useState)(n),a=(0,W.Z)(i,2),u=a[0],c=a[1],s=(0,v.useState)(!1),l=(0,W.Z)(s,2),p=l[0],m=l[1],y=(0,d.Z)((0,d.Z)({},r),{},{visible:u});(0,v.useEffect)(function(){c(n),n&&o&&m(F())},[n,o]);var g=p?v.createElement(tV,(0,f.Z)({},y,{mobile:o,ref:t})):v.createElement(tj,(0,f.Z)({},y,{ref:t}));return v.createElement("div",null,v.createElement(eT,y),g)});tW.displayName="Popup";var tF=v.createContext(null);function tB(){}var tI=["onClick","onMouseDown","onTouchStart","onMouseEnter","onMouseLeave","onFocus","onBlur","onContextMenu"],tz=(c=function(e){(0,w.Z)(n,e);var t=(0,b.Z)(n);function n(e){var o,r;return(0,m.Z)(this,n),o=t.call(this,e),(0,Z.Z)((0,g.Z)(o),"popupRef",v.createRef()),(0,Z.Z)((0,g.Z)(o),"triggerRef",v.createRef()),(0,Z.Z)((0,g.Z)(o),"portalContainer",void 0),(0,Z.Z)((0,g.Z)(o),"attachId",void 0),(0,Z.Z)((0,g.Z)(o),"clickOutsideHandler",void 0),(0,Z.Z)((0,g.Z)(o),"touchOutsideHandler",void 0),(0,Z.Z)((0,g.Z)(o),"contextMenuOutsideHandler1",void 0),(0,Z.Z)((0,g.Z)(o),"contextMenuOutsideHandler2",void 0),(0,Z.Z)((0,g.Z)(o),"mouseDownTimeout",void 0),(0,Z.Z)((0,g.Z)(o),"focusTime",void 0),(0,Z.Z)((0,g.Z)(o),"preClickTime",void 0),(0,Z.Z)((0,g.Z)(o),"preTouchTime",void 0),(0,Z.Z)((0,g.Z)(o),"delayTimer",void 0),(0,Z.Z)((0,g.Z)(o),"hasPopupMouseDown",void 0),(0,Z.Z)((0,g.Z)(o),"onMouseEnter",function(e){var t=o.props.mouseEnterDelay;o.fireEvents("onMouseEnter",e),o.delaySetPopupVisible(!0,t,t?null:e)}),(0,Z.Z)((0,g.Z)(o),"onMouseMove",function(e){o.fireEvents("onMouseMove",e),o.setPoint(e)}),(0,Z.Z)((0,g.Z)(o),"onMouseLeave",function(e){o.fireEvents("onMouseLeave",e),o.delaySetPopupVisible(!1,o.props.mouseLeaveDelay)}),(0,Z.Z)((0,g.Z)(o),"onPopupMouseEnter",function(){o.clearDelayTimer()}),(0,Z.Z)((0,g.Z)(o),"onPopupMouseLeave",function(e){var t;e.relatedTarget&&!e.relatedTarget.setTimeout&&P(null===(t=o.popupRef.current)||void 0===t?void 0:t.getElement(),e.relatedTarget)||o.delaySetPopupVisible(!1,o.props.mouseLeaveDelay)}),(0,Z.Z)((0,g.Z)(o),"onFocus",function(e){o.fireEvents("onFocus",e),o.clearDelayTimer(),o.isFocusToShow()&&(o.focusTime=Date.now(),o.delaySetPopupVisible(!0,o.props.focusDelay))}),(0,Z.Z)((0,g.Z)(o),"onMouseDown",function(e){o.fireEvents("onMouseDown",e),o.preClickTime=Date.now()}),(0,Z.Z)((0,g.Z)(o),"onTouchStart",function(e){o.fireEvents("onTouchStart",e),o.preTouchTime=Date.now()}),(0,Z.Z)((0,g.Z)(o),"onBlur",function(e){o.fireEvents("onBlur",e),o.clearDelayTimer(),o.isBlurToHide()&&o.delaySetPopupVisible(!1,o.props.blurDelay)}),(0,Z.Z)((0,g.Z)(o),"onContextMenu",function(e){e.preventDefault(),o.fireEvents("onContextMenu",e),o.setPopupVisible(!0,e)}),(0,Z.Z)((0,g.Z)(o),"onContextMenuClose",function(){o.isContextMenuToShow()&&o.close()}),(0,Z.Z)((0,g.Z)(o),"onClick",function(e){if(o.fireEvents("onClick",e),o.focusTime){var t;if(o.preClickTime&&o.preTouchTime?t=Math.min(o.preClickTime,o.preTouchTime):o.preClickTime?t=o.preClickTime:o.preTouchTime&&(t=o.preTouchTime),20>Math.abs(t-o.focusTime))return;o.focusTime=0}o.preClickTime=0,o.preTouchTime=0,o.isClickToShow()&&(o.isClickToHide()||o.isBlurToHide())&&e&&e.preventDefault&&e.preventDefault();var n=!o.state.popupVisible;(o.isClickToHide()&&!n||n&&o.isClickToShow())&&o.setPopupVisible(!o.state.popupVisible,e)}),(0,Z.Z)((0,g.Z)(o),"onPopupMouseDown",function(){if(o.hasPopupMouseDown=!0,clearTimeout(o.mouseDownTimeout),o.mouseDownTimeout=window.setTimeout(function(){o.hasPopupMouseDown=!1},0),o.context){var e;(e=o.context).onPopupMouseDown.apply(e,arguments)}}),(0,Z.Z)((0,g.Z)(o),"onDocumentClick",function(e){if(!o.props.mask||o.props.maskClosable){var t=e.target,n=o.getRootDomNo
1de(),r=o.getPopupDomNode();(!P(n,t)||o.isContextMenuOnly())&&!P(r,t)&&!o.hasPopupMouseDown&&o.close()}}),(0,Z.Z)((0,g.Z)(o),"getRootDomNode",function(){var e=o.props.getTriggerDOMNode;if(e)return e(o.triggerRef.current);try{var t=M(o.triggerRef.current);if(t)return t}catch(n){}return C.findDOMNode((0,g.Z)(o))}),(0,Z.Z)((0,g.Z)(o),"getPopupClassNameFromAlign",function(e){var t=[],n=o.props,r=n.popupPlacement,i=n.builtinPlacements,a=n.prefixCls,u=n.alignPoint,c=n.getPopupClassNameFromAlign;return r&&i&&t.push(function(e,t,n,o){for(var r=n.points,i=Object.keys(e),a=0;a<i.length;a+=1){var u,c=i[a];if(u=e[c].points,o?u[0]===r[0]:u[0]===r[0]&&u[1]===r[1])return"".concat(t,"-placement-").concat(c)}return""}(i,a,e,u)),c&&t.push(c(e)),t.join(" ")}),(0,Z.Z)((0,g.Z)(o),"getComponent",function(){var e=o.props,t=e.prefixCls,n=e.destroyPopupOnHide,r=e.popupClassName,i=e.onPopupAlign,a=e.popupMotion,u=e.popupAnimation,c=e.popupTransitionName,s=e.popupStyle,l=e.mask,p=e.maskAnimation,d=e.maskTransitionName,h=e.maskMotion,m=e.zIndex,y=e.popup,g=e.stretch,w=e.alignPoint,b=e.mobile,Z=e.forceRender,C=e.onPopupClick,E=o.state,x=E.popupVisible,k=E.point,O=o.getPopupAlign(),T={};return o.isMouseEnterToShow()&&(T.onMouseEnter=o.onPopupMouseEnter),o.isMouseLeaveToHide()&&(T.onMouseLeave=o.onPopupMouseLeave),T.onMouseDown=o.onPopupMouseDown,T.onTouchStart=o.onPopupMouseDown,v.createElement(tW,(0,f.Z)({prefixCls:t,destroyPopupOnHide:n,visible:x,point:w&&k,className:r,align:O,onAlign:i,animation:u,getClassNameFromAlign:o.getPopupClassNameFromAlign},T,{stretch:g,getRootDomNode:o.getRootDomNode,style:s,mask:l,zIndex:m,transitionName:c,maskAnimation:p,maskTransitionName:d,maskMotion:h,ref:o.popupRef,motion:a,mobile:b,forceRender:Z,onClick:C}),"function"==typeof y?y():y)}),(0,Z.Z)((0,g.Z)(o),"attachParent",function(e){T.cancel(o.attachId);var t,n=o.props,r=n.getPopupContainer,i=n.getDocument,a=o.getRootDomNode();r?(a||0===r.length)&&(t=r(a)):t=i(o.getRootDomNode()).body,t?t.appendChild(e):o.attachId=T(function(){o.attachParent(e)})}),(0,Z.Z)((0,g.Z)(o),"getContainer",function(){if(!o.portalContainer){var e=(0,o.props.getDocument)(o.getRootDomNode()).createElement("div");e.style.position="absolute",e.style.top="0",e.style.left="0",e.style.width="100%",o.portalContainer=e}return o.attachParent(o.portalContainer),o.portalContainer}),(0,Z.Z)((0,g.Z)(o),"setPoint",function(e){o.props.alignPoint&&e&&o.setState({point:{pageX:e.pageX,pageY:e.pageY}})}),(0,Z.Z)((0,g.Z)(o),"handlePortalUpdate",function(){o.state.prevPopupVisible!==o.state.popupVisible&&o.props.afterPopupVisibleChange(o.state.popupVisible)}),(0,Z.Z)((0,g.Z)(o),"triggerContextValue",{onPopupMouseDown:o.onPopupMouseDown}),r="popupVisible"in e?!!e.popupVisible:!!e.defaultPopupVisible,o.state={prevPopupVisible:r,popupVisible:r},tI.forEach(function(e){o["fire".concat(e)]=function(t){o.fireEvents(e,t)}}),o}return(0,y.Z)(n,[{key:"componentDidMount",value:function(){this.componentDidUpdate()}},{key:"componentDidUpdate",value:function(){var e,t=this.props;if(this.state.popupVisible){!this.clickOutsideHandler&&(this.isClickToHide()||this.isContextMenuToShow())&&(e=t.getDocument(this.getRootDomNode()),this.clickOutsideHandler=R(e,"mousedown",this.onDocumentClick)),this.touchOutsideHandler||(e=e||t.getDocument(this.getRootDomNode()),this.touchOutsideHandler=R(e,"touchstart",this.onDocumentClick)),!this.contextMenuOutsideHandler1&&this.isContextMenuToShow()&&(e=e||t.getDocument(this.getRootDomNode()),this.contextMenuOutsideHandler1=R(e,"scroll",this.onContextMenuClose)),!this.contextMenuOutsideHandler2&&this.isContextMenuToShow()&&(this.contextMenuOutsideHandler2=R(window,"blur",this.onContextMenuClose));return}this.clearOutsideHandler()}},{key:"componentWillUnmount",value:function(){this.clearDelayTimer(),this.clearOutsideHandler(),clearTimeout(this.mouseDownTimeout),T.cancel(this.attachId)}},{key:"getPopupDomNode",value:function(){var e;return(null===(e=this.popupRef.current)||void 0===e?void 0:e.getElement())||null}},{key:"getPopupAlign",value:function(){var e,t=this.props,n=t.popupPlacement,o=t.popupAlign,r=t.builtinPlacements;return n&&r?(e=r[n]||{},(0,d.Z)((0,d.Z)({},e),o)):o}}
1,{key:"setPopupVisible",value:function(e,t){var n=this.props.alignPoint,o=this.state.popupVisible;this.clearDelayTimer(),o!==e&&("popupVisible"in this.props||this.setState({popupVisible:e,prevPopupVisible:o}),this.props.onPopupVisibleChange(e)),n&&t&&e&&this.setPoint(t)}},{key:"delaySetPopupVisible",value:function(e,t,n){var o=this,r=1e3*t;if(this.clearDelayTimer(),r){var i=n?{pageX:n.pageX,pageY:n.pageY}:null;this.delayTimer=window.setTimeout(function(){o.setPopupVisible(e,i),o.clearDelayTimer()},r)}else this.setPopupVisible(e,n)}},{key:"clearDelayTimer",value:function(){this.delayTimer&&(clearTimeout(this.delayTimer),this.delayTimer=null)}},{key:"clearOutsideHandler",value:function(){this.clickOutsideHandler&&(this.clickOutsideHandler.remove(),this.clickOutsideHandler=null),this.contextMenuOutsideHandler1&&(this.contextMenuOutsideHandler1.remove(),this.contextMenuOutsideHandler1=null),this.contextMenuOutsideHandler2&&(this.contextMenuOutsideHandler2.remove(),this.contextMenuOutsideHandler2=null),this.touchOutsideHandler&&(this.touchOutsideHandler.remove(),this.touchOutsideHandler=null)}},{key:"createTwoChains",value:function(e){var t=this.props.children.props,n=this.props;return t[e]&&n[e]?this["fire".concat(e)]:t[e]||n[e]}},{key:"isClickToShow",value:function(){var e=this.props,t=e.action,n=e.showAction;return -1!==t.indexOf("click")||-1!==n.indexOf("click")}},{key:"isContextMenuOnly",value:function(){var e=this.props.action;return"contextMenu"===e||1===e.length&&"contextMenu"===e[0]}},{key:"isContextMenuToShow",value:function(){var e=this.props,t=e.action,n=e.showAction;return -1!==t.indexOf("contextMenu")||-1!==n.indexOf("contextMenu")}},{key:"isClickToHide",value:function(){var e=this.props,t=e.action,n=e.hideAction;return -1!==t.indexOf("click")||-1!==n.indexOf("click")}},{key:"isMouseEnterToShow",value:function(){var e=this.props,t=e.action,n=e.showAction;return -1!==t.indexOf("hover")||-1!==n.indexOf("mouseEnter")}},{key:"isMouseLeaveToHide",value:function(){var e=this.props,t=e.action,n=e.hideAction;return -1!==t.indexOf("hover")||-1!==n.indexOf("mouseLeave")}},{key:"isFocusToShow",value:function(){var e=this.props,t=e.action,n=e.showAction;return -1!==t.indexOf("focus")||-1!==n.indexOf("focus")}},{key:"isBlurToHide",value:function(){var e=this.props,t=e.action,n=e.hideAction;return -1!==t.indexOf("focus")||-1!==n.indexOf("blur")}},{key:"forcePopupAlign",value:function(){if(this.state.popupVisible){var e;null===(e=this.popupRef.current)||void 0===e||e.forceAlign()}}},{key:"fireEvents",value:function(e,t){var n=this.props.children.props[e];n&&n(t);var o=this.props[e];o&&o(t)}},{key:"close",value:function(){this.setPopupVisible(!1)}},{key:"render",value:function(){var e,t=this.state.popupVisible,n=this.props,o=n.children,r=n.forceRender,i=n.alignPoint,a=n.className,u=n.autoDestroy,c=v.Children.only(o),s={key:"trigger"};this.isContextMenuToShow()?s.onContextMenu=this.onContextMenu:s.onContextMenu=this.createTwoChains("onContextMenu"),this.isClickToHide()||this.isClickToShow()?(s.onClick=this.onClick,s.onMouseDown=this.onMouseDown,s.onTouchStart=this.onTouchStart):(s.onClick=this.createTwoChains("onClick"),s.onMouseDown=this.createTwoChains("onMouseDown"),s.onTouchStart=this.createTwoChains("onTouchStart")),this.isMouseEnterToShow()?(s.onMouseEnter=this.onMouseEnter,i&&(s.onMouseMove=this.onMouseMove)):s.onMouseEnter=this.createTwoChains("onMouseEnter"),this.isMouseLeaveToHide()?s.onMouseLeave=this.onMouseLeave:s.onMouseLeave=this.createTwoChains("onMouseLeave"),this.isFocusToShow()||this.isBlurToHide()?(s.onFocus=this.onFocus,s.onBlur=this.onBlur):(s.onFocus=this.createTwoChains("onFocus"),s.onBlur=this.createTwoChains("onBlur"));var l=H()(c&&c.props&&c.props.className,a);l&&(s.className=l);var f=(0,d.Z)({},s);A(c)&&(f.ref=L(this.triggerRef,c.ref));var p=v.cloneElement(c,f);return(t||this.popupRef.current||r)&&(e=v.createElement(j,{key:"portal",getContainer:this.getContainer,didUpdate:this.handlePortalUpdate},this.getComponent())),!t&&u&&(e=null),v.createElement(tF.Provider,{value:this.triggerContextValue},p,e)}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n=e.popupVisible,o={};return void 0!==n&&t.popupVisible!==n&&(o.popupVisible=n,o.prevPopupVisible=t.popupVisible),o}}]),n}(v.Component),(0,Z.Z)(c,"contextType",tF),(0,Z.Z)(c,"defaultProps",{prefixCls:"rc-trigger-popup",getPopupClassNameFromAlign:function(){return""},getDocument:function(e){return e?e.ownerDocument:window.document},onPopupVisibleChange:tB,afterPopupVisibleChange:tB,onPopupAlign:tB,popupClassName:"",mouseEnterDelay:0,mou
vendor: 4,601 bytes, lines 1-8
1seLeaveDelay:.1,focusDelay:0,blurDelay:.15,popupStyle:{},destroyPopupOnHide:!1,popupAlign:{},defaultPopupVisible:!1,mask:!1,maskClosable:!0,action:[],showAction:[],hideAction:[],autoDestroy:!1}),c),t_={adjustX:1,adjustY:1},t$=[0,0],tY={left:{points:["cr","cl"],overflow:t_,offset:[-4,0],targetOffset:t$},right:{points:["cl","cr"],overflow:t_,offset:[4,0],targetOffset:t$},top:{points:["bc","tc"],overflow:t_,offset:[0,-4],targetOffset:t$},bottom:{points:["tc","bc"],overflow:t_,offset:[0,4],targetOffset:t$},topLeft:{points:["bl","tl"],overflow:t_,offset:[0,-4],targetOffset:t$},leftTop:{points:["tr","tl"],overflow:t_,offset:[-4,0],targetOffset:t$},topRight:{points:["br","tr"],overflow:t_,offset:[0,-4],targetOffset:t$},rightTop:{points:["tl","tr"],overflow:t_,offset:[4,0],targetOffset:t$},bottomRight:{points:["tr","br"],overflow:t_,offset:[0,4],targetOffset:t$},rightBottom:{points:["bl","br"],overflow:t_,offset:[4,0],targetOffset:t$},bottomLeft:{points:["tl","bl"],overflow:t_,offset:[0,4],targetOffset:t$},leftBottom:{points:["br","bl"],overflow:t_,offset:[-4,0],targetOffset:t$}};function tX(e){var t=e.showArrow,n=e.arrowContent,o=e.children,r=e.prefixCls,i=e.id,a=e.overlayInnerStyle,u=e.className,c=e.style;return v.createElement("div",{className:H()("".concat(r,"-content"),u),style:c},!1!==t&&v.createElement("div",{className:"".concat(r,"-arrow"),key:"arrow"},n),v.createElement("div",{className:"".concat(r,"-inner"),id:i,role:"tooltip",style:a},"function"==typeof o?o():o))}var tU=["overlayClassName","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle","prefixCls","children","onVisibleChange","afterVisibleChange","transitionName","animation","motion","placement","align","destroyTooltipOnHide","defaultVisible","getTooltipContainer","overlayInnerStyle","arrowContent","overlay","id","showArrow"],tG=(0,v.forwardRef)(function(e,t){var n=e.overlayClassName,o=e.trigger,r=e.mouseEnterDelay,i=e.mouseLeaveDelay,a=e.overlayStyle,u=e.prefixCls,c=void 0===u?"rc-tooltip":u,s=e.children,l=e.onVisibleChange,m=e.afterVisibleChange,y=e.transitionName,g=e.animation,w=e.motion,b=e.placement,Z=e.align,C=e.destroyTooltipOnHide,E=void 0!==C&&C,x=e.defaultVisible,k=e.getTooltipContainer,O=e.overlayInnerStyle,T=e.arrowContent,P=e.overlay,M=e.id,S=e.showArrow,D=void 0===S||S,L=(0,h.Z)(e,tU),A=(0,v.useRef)(null);(0,v.useImperativeHandle)(t,function(){return A.current});var R=(0,d.Z)({},L);"visible"in e&&(R.popupVisible=e.visible);var N=!1,j=!1;if("boolean"==typeof E)N=E;else if(E&&"object"===(0,p.Z)(E)){var V=E.keepParent;N=!0===V,j=!1===V}return v.createElement(tz,(0,f.Z)({popupClassName:n,prefixCls:c,popup:function(){return v.createElement(tX,{showArrow:D,arrowContent:T,key:"content",prefixCls:c,id:M,overlayInnerStyle:O},P)},action:void 0===o?["hover"]:o,builtinPlacements:tY,popupPlacement:void 0===b?"right":b,ref:A,popupAlign:void 0===Z?{}:Z,getPopupContainer:k,onPopupVisibleChange:l,afterPopupVisibleChange:m,popupTransitionName:y,popupAnimation:g,popupMotion:w,defaultPopupVisible:x,destroyPopupOnHide:N,autoDestroy:j,mouseLeaveDelay:void 0===i?.1:i,popupStyle:a,mouseEnterDelay:void 0===r?0:r},R),s)})},69921:function(e,t){/** @license React v16.13.1
2 * react-is.production.min.js
3 *
4 * Copyright (c) Facebook, Inc. and its affiliates.
5 *
6 * This source code is licensed under the MIT license found in the
7 * LICENSE file in the root directory of this source tree.
8 */ var n="function"==typeof Symbol&&Symbol.for,o=n?Symbol.for("react.element"):60103,r=n?Symbol.for("react.portal"):60106,i=n?Symbol.for("react.fragment"):60107,a=n?Symbol.for("react.strict_mode"):60108,u=n?Symbol.for("react.profiler"):60114,c=n?Symbol.for("react.provider"):60109,s=n?Symbol.for("react.context"):60110,l=n?Symbol.for("react.async_mode"):60111,f=n?Symbol.for("react.concurrent_mode"):60111,p=n?Symbol.for("react.forward_ref"):60112,d=n?Symbol.for("react.suspense"):60113,h=n?Symbol.for("react.suspense_list"):60120,v=n?Symbol.for("react.memo"):60115,m=n?Symbol.for("react.lazy"):60116,y=n?Symbol.for("react.block"):60121,g=n?Symbol.for("react.fundamental"):60117,w=n?Symbol.for("react.responder"):60118,b=n?Symbol.for("react.scope"):60119;function Z(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case o:switch(e=e.type){case l:case f:case i:case u:case a:case d:return e;default:switch(e=e&&e.$$typeof){case s:case p:case m:case v:case c:return e;default:return t}}case r:return t}}}function C(e){return Z(e)===f}t.AsyncMode=l,t.ConcurrentMode=f,t.ContextConsumer=s,t.ContextProvider=c,t.Element=o,t.ForwardRef=p,t.Fragment=i,t.Lazy=m,t.Memo=v,t.Portal=r,t.Profiler=u,t.
8StrictMode=a,t.Suspense=d,t.isAsyncMode=function(e){return C(e)||Z(e)===l},t.isConcurrentMode=C,t.isContextConsumer=function(e){return Z(e)===s},t.isContextProvider=function(e){return Z(e)===c},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===o},t.isForwardRef=function(e){return Z(e)===p},t.isFragment=function(e){return Z(e)===i},t.isLazy=function(e){return Z(e)===m},t.isMemo=function(e){return Z(e)===v},t.isPortal=function(e){return Z(e)===r},t.isProfiler=function(e){return Z(e)===u},t.isStrictMode=function(e){return Z(e)===a},t.isSuspense=function(e){return Z(e)===d},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===i||e===f||e===u||e===a||e===d||e===h||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===v||e.$$typeof===c||e.$$typeof===s||e.$$typeof===p||e.$$typeof===g||e.$$typeof===w||e.$$typeof===b||e.$$typeof===y)},t.typeOf=Z},59864:function(e,t,n){e.exports=n(69921)},30907:function(e,t,n){n.d(t,{Z:function(){return o}});function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=Array(t);n<t;n++)o[n]=e[n];return o}},51630:function(e,t,n){n.d(t,{Z:function(){return i}});var o=n(61120),r=n(82963);function i(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();return function(){var n,i=(0,o.Z)(e);if(t){var a=(0,o.Z)(this).constructor;n=Reflect.construct(i,arguments,a)}else n=i.apply(this,arguments);return(0,r.Z)(this,n)}}},1413:function(e,t,n){n.d(t,{Z:function(){return i}});var o=n(4942);function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,o)}return n}function i(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(Object(n),!0).forEach(function(t){(0,o.Z)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}},91:function(e,t,n){n.d(t,{Z:function(){return o}});function o(e,t){if(null==e)return{};var n,o,r=function(e,t){if(null==e)return{};var n,o,r={},i=Object.keys(e);for(o=0;o<i.length;o++)n=i[o],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)n=i[o],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}},86854:function(e,t,n){n.d(t,{Z:function(){return r}});var o=n(40181);function r(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var o,r,i,a,u=[],c=!0,s=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(o=i.call(n)).done)&&(u.push(o.value),u.length!==t);c=!0);}catch(l){s=!0,r=l}finally{try{if(!c&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(s)throw r}}return u}}(e,t)||(0,o.Z)(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},40181:function(e,t,n){n.d(t,{Z:function(){return r}});var o=n(30907);function r(e,t){if(e){if("string"==typeof e)return(0,o.Z)(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return(0,o.Z)(e,t)}}}}]);

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.