(self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[5429],{86591:function(){},13277:function(){},9708:function(Tt,lt,x){"use strict";x.d(lt,{Z:function(){return y},F:function(){return vt}});var _=x(96156),se=x(94184),Te=x.n(se),fe=x(93355),ut=(0,fe.b)("warning","error","");function y(r,he,Ue){var be;return Te()((be={},(0,_.Z)(be,"".concat(r,"-status-success"),he==="success"),(0,_.Z)(be,"".concat(r,"-status-warning"),he==="warning"),(0,_.Z)(be,"".concat(r,"-status-error"),he==="error"),(0,_.Z)(be,"".concat(r,"-status-validating"),he==="validating"),(0,_.Z)(be,"".concat(r,"-has-feedback"),Ue),be))}var vt=function(he,Ue){return Ue||he}},91774:function(Tt,lt,x){"use strict";x.d(lt,{Z:function(){return Ho}});var _=x(30381),se=x.n(_),Te=x(80334),fe={getNow:function(){return se()()},getFixedDate:function(t){return se()(t,"YYYY-MM-DD")},getEndDate:function(t){var n=t.clone();return n.endOf("month")},getWeekDay:function(t){var n=t.clone().locale("en_US");return n.weekday()+n.localeData().firstDayOfWeek()},getYear:function(t){return t.year()},getMonth:function(t){return t.month()},getDate:function(t){return t.date()},getHour:function(t){return t.hour()},getMinute:function(t){return t.minute()},getSecond:function(t){return t.second()},addYear:function(t,n){var a=t.clone();return a.add(n,"year")},addMonth:function(t,n){var a=t.clone();return a.add(n,"month")},addDate:function(t,n){var a=t.clone();return a.add(n,"day")},setYear:function(t,n){var a=t.clone();return a.year(n)},setMonth:function(t,n){var a=t.clone();return a.month(n)},setDate:function(t,n){var a=t.clone();return a.date(n)},setHour:function(t,n){var a=t.clone();return a.hour(n)},setMinute:function(t,n){var a=t.clone();return a.minute(n)},setSecond:function(t,n){var a=t.clone();return a.second(n)},isAfter:function(t,n){return t.isAfter(n)},isValidate:function(t){return t.isValid()},locale:{getWeekFirstDay:function(t){var n=se()().locale(t);return n.localeData().firstDayOfWeek()},getWeekFirstDate:function(t,n){var a=n.clone(),o=a.locale(t);return o.weekday(0)},getWeek:function(t,n){var a=n.clone(),o=a.locale(t);return o.week()},getShortWeekDays:function(t){var n=se()().locale(t);return n.localeData().weekdaysMin()},getShortMonths:function(t){var n=se()().locale(t);return n.localeData().monthsShort()},format:function(t,n,a){var o=n.clone(),l=o.locale(t);return l.format(a)},parse:function(t,n,a){for(var o=[],l=0;l1&&(u=t.addDate(u,-7)),u}function un(e,t,n){var a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;switch(t){case"year":return n.addYear(e,a*10);case"quarter":case"month":return n.addYear(e,a);default:return n.addMonth(e,a)}}function Ne(e,t){var n=t.generateConfig,a=t.locale,o=t.format;return typeof o=="function"?o(e):n.locale.format(a.locale,e,o)}function da(e,t){var n=t.generateConfig,a=t.locale,o=t.formatList;return!e||typeof o[0]=="function"?null:n.locale.parse(a.locale,e,o)}function Bn(e){var t=e.cellDate,n=e.mode,a=e.disabledDate,o=e.generateConfig;if(!a)return!1;var l=function(f,h,m){for(var D=h;D<=m;){var P=void 0;switch(f){case"date":{if(P=o.setDate(t,D),!a(P))return!1;break}case"month":{if(P=o.setMonth(t,D),!Bn({cellDate:P,mode:"month",generateConfig:o,disabledDate:a}))return!1;break}case"year":{if(P=o.setYear(t,D),!Bn({cellDate:P,mode:"year",generateConfig:o,disabledDate:a}))return!1;break}}D+=1}return!0};switch(n){case"date":case"week":return a(t);case"month":{var u=1,c=o.getDate(o.getEndDate(t));return l("date",u,c)}case"quarter":{var s=Math.floor(o.getMonth(t)/3)*3,v=s+2;return l("month",s,v)}case"year":return l("month",0,11);case"decade":{var C=o.getYear(t),d=Math.floor(C/at)*at,i=d+at-1;return l("year",d,i)}}}function Er(e){var t=r.useContext(ie),n=t.hideHeader;if(n)return null;var a=e.prefixCls,o=e.generateConfig,l=e.locale,u=e.value,c=e.format,s="".concat(a,"-header");return r.createElement($e,{prefixCls:s},u?Ne(u,{locale:l,format:c,generateConfig:o}):"\xA0")}var br=Er,va=x(56982);function kr(e){var t=e.prefixCls,n=e.units,a=e.onSelect,o=e.value,l=e.active,u=e.hideDisabledOptions,c="".concat(t,"-cell"),s=r.useContext(ie),v=s.open,C=(0,r.useRef)(null),d=(0,r.useRef)(new Map),i=(0,r.useRef)();return(0,r.useLayoutEffect)(function(){var g=d.current.get(o);g&&v!==!1&&an(C.current,g.offsetTop,120)},[o]),(0,r.useLayoutEffect)(function(){if(v){var g=d.current.get(o);g&&(i.current=Fn(g,function(){an(C.current,g.offsetTop,0)}))}return function(){var f;(f=i.current)===null||f===void 0||f.call(i)}},[v]),r.createElement("ul",{className:re()("".concat(t,"-column"),(0,S.Z)({},"".concat(t,"-column-active"),l)),ref:C,style:{position:"relative"}},n.map(function(g){var f;return u&&g.disabled?null:r.createElement("li",{key:g.value,ref:function(m){d.current.set(g.value,m)},className:re()(c,(f={},(0,S.Z)(f,"".concat(c,"-disabled"),g.disabled),(0,S.Z)(f,"".concat(c,"-selected"),o===g.value),f)),onClick:function(){g.disabled||a(g.value)}},r.createElement("div",{className:"".concat(c,"-inner")},g.label))}))}var En=kr;function ga(e,t){for(var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"0",a=String(e);a.length=12,te%=12);var Ie=r.useMemo(function(){if(!v)return[!1,!1];var L=[!0,!0];return we.forEach(function(oe){var G=oe.disabled,B=oe.value;G||(B>=12?L[1]=!1:L[0]=!1)}),L},[v,we]),Oe=(0,M.Z)(Ie,2),Q=Oe[0],Fe=Oe[1],Pt=r.useMemo(function(){return v?we.filter(j?function(L){return L.value>=12}:function(L){return L.value<12}).map(function(L){var oe=L.value%12,G=oe===0?"12":ga(oe,2);return(0,p.Z)((0,p.Z)({},L),{},{label:G,value:oe})}):we},[v,j,we]),_e=Un(0,59,g,de&&de(ae)),We=Un(0,59,h,ve&&ve(ae,z));a.current={onUpDown:function(oe){var G=b[o];if(G)for(var B=G.units.findIndex(function(Je){return Je.value===G.value}),J=G.units.length,ye=1;ye2&&arguments[2]!==void 0?arguments[2]:!1;(Ze===h||Be)&&(cn(k),Y&&Y(k),_e&&_e(k,F),T&&!ln(c,k,ge)&&!(i==null?void 0:i(k))&&T(k))},_t=function(k){return J.current&&J.current.onKeyDown?([$.Z.LEFT,$.Z.RIGHT,$.Z.UP,$.Z.DOWN,$.Z.PAGE_UP,$.Z.PAGE_DOWN,$.Z.ENTER].includes(k.which)&&k.preventDefault(),J.current.onKeyDown(k)):((0,Te.ZP)(!1,"Panel not correct handle keyDown event. Please help to fire issue about this."),!1)},Mt=function(k){J.current&&J.current.onBlur&&J.current.onBlur(k)};Fe&&oe!=="right"&&(Fe.current={onKeyDown:_t,onClose:function(){J.current&&J.current.onClose&&J.current.onClose()}}),r.useEffect(function(){s&&!ye.current&&Kt(s)},[s]),r.useEffect(function(){ye.current=!1},[]);var R,pe=(0,p.Z)((0,p.Z)({},e),{},{operationRef:J,prefixCls:a,viewDate:Wt,value:ge,onViewDateChange:Le,sourceMode:tt,onPanelChange:Qe,disabledDate:i});switch(delete pe.onChange,delete pe.onSelect,Ze){case"decade":R=r.createElement(Pr,(0,y.Z)({},pe,{onSelect:function(k,F){Le(k),ce(k,F)}}));break;case"year":R=r.createElement(co,(0,y.Z)({},pe,{onSelect:function(k,F){Le(k),ce(k,F)}}));break;case"month":R=r.createElement(Qr,(0,y.Z)({},pe,{onSelect:function(k,F){Le(k),ce(k,F)}}));break;case"quarter":R=r.createElement(ao,(0,y.Z)({},pe,{onSelect:function(k,F){Le(k),ce(k,F)}}));break;case"week":R=r.createElement(Kr,(0,y.Z)({},pe,{onSelect:function(k,F){Le(k),ce(k,F)}}));break;case"time":delete pe.showTime,R=r.createElement(ha,(0,y.Z)({},pe,(0,nt.Z)(N)==="object"?N:null,{onSelect:function(k,F){Le(k),ce(k,F)}}));break;default:N?R=r.createElement(Fr,(0,y.Z)({},pe,{onSelect:function(k,F){Le(k),ce(k,F)}})):R=r.createElement($n,(0,y.Z)({},pe,{onSelect:function(k,F){Le(k),ce(k,F)}}))}var Ve,q,st=function(){var k=c.getNow(),F=On(c.getHour(k),c.getMinute(k),c.getSecond(k),we?X:1,Ie?de:1,Oe?xe:1),Be=Ot(c,k,F[0],F[1],F[2]);ce(Be,"submit")};We||(Ve=wa(a,Ze,E),q=ya({prefixCls:a,components:O,needConfirmButton:je,okDisabled:!ge||i&&i(ge),locale:u,showNow:P,onNow:je&&st,onOk:function(){ge&&(ce(ge,"submit",!0),z&&z(ge))}}));var Rt;if(K&&Ze==="date"&&h==="date"&&!N){var me=c.getNow(),zt="".concat(a,"-today-btn"),Zt=i&&i(me);Rt=r.createElement("a",{className:re()(zt,Zt&&"".concat(zt,"-disabled")),"aria-disabled":Zt,onClick:function(){Zt||ce(me,"mouse",!0)}},u.today)}return r.createElement(ie.Provider,{value:(0,p.Z)((0,p.Z)({},Q),{},{mode:Ze,hideHeader:"hideHeader"in e?b:Q.hideHeader,hidePrevBtn:L&&oe==="right",hideNextBtn:L&&oe==="left"})},r.createElement("div",{tabIndex:D,className:re()("".concat(a,"-panel"),o,(t={},(0,S.Z)(t,"".concat(a,"-panel-has-range"),G&&G[0]&&G[1]),(0,S.Z)(t,"".concat(a,"-panel-has-range-hover"),B&&B[0]&&B[1]),(0,S.Z)(t,"".concat(a,"-panel-rtl"),H==="rtl"),t)),style:l,onKeyDown:_t,onBlur:Mt,onMouseDown:ae,ref:Pt},R,Ve||q||Rt?r.createElement("div",{className:"".concat(a,"-footer")},Ve,q,Rt):null))}var Ea=so,fo=x(2306),vo={bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:1,adjustY:1}},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:1,adjustY:1}},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:0,adjustY:1}},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:0,adjustY:1}}};function go(e){var t,n=e.prefixCls,a=e.popupElement,o=e.popupStyle,l=e.visible,u=e.dropdownClassName,c=e.dropdownAlign,s=e.transitionName,v=e.getPopupContainer,C=e.children,d=e.range,i=e.popupPlacement,g=e.direction,f="".concat(n,"-dropdown"),h=function(){return i!==void 0?i:g==="rtl"?"bottomRight":"bottomLeft"};return r.createElement(fo.Z,{showAction:[],hideAction:[],popupPlacement:h(),builtinPlacements:vo,prefixCls:f,popupTransitionName:s,popup:a,popupAlign:c,popupVisible:l,popupClassName:re()(u,(t={},(0,S.Z)(t,"".concat(f,"-range"),d),(0,S.Z)(t,"".concat(f,"-rtl"),g==="rtl"),t)),popupStyle:o,getPopupContainer:v},C)}var ba=go;function _n(e){var t=e.open,n=e.value,a=e.isClickOutside,o=e.triggerOpen,l=e.forwardKeyDown,u=e.onKeyDown,c=e.blurToCancel,s=e.onSubmit,v=e.onCancel,C=e.onFocus,d=e.onBlur,i=e.currentFocusedKey,g=e.key,f=g===void 0?"start":g,h=(0,r.useState)(!1),m=(0,M.Z)(h,2),D=m[0],P=m[1],N=(0,r.useState)(!1),K=(0,M.Z)(N,2),E=K[0],b=K[1],Y=(0,r.useRef)(),T=(0,r.useRef)(!1),j=(0,r.useRef)(!1),ae=(0,r.useRef)(!1),te={onMouseDown:function(){P(!0),o(!0)},onKeyDown:function(O){var H=function(){ae.current=!0};if(u(O,H),!ae.current){switch(O.which){case $.Z.ENTER:{t?s()!==!1&&P(!0):o(!0),O.preventDefault();return}case $.Z.TAB:{D&&t&&!O.shiftKey?(P(!1),O.preventDefault()):!D&&t&&!l(O)&&O.shiftKey&&(P(!0),O.preventDefault());return}case $.Z.ESC:{P(!0),v();return}}!t&&![$.Z.SHIFT].includes(O.which)?o(!0):D||l(O)}},onFocus:function(O){P(!0),b(!0),i&&(i.current=f),clearTimeout(Y.current),C&&C(O)},onBlur:function(O){if(T.current||!a(document.activeElement)){T.current=!1;return}c?setTimeout(function(){for(var H=document,ne=H.activeElement;ne&&ne.shadowRoot;)ne=ne.shadowRoot.activeElement;a(ne)&&v()},0):t&&(o(!1),j.current&&s()),b(!1),i?(i.current="",Y.current=setTimeout(function(){i.current||d==null||d(O)},100)):d==null||d(O)}};return(0,r.useEffect)(function(){j.current=!1},[t]),(0,r.useEffect)(function(){j.current=!0},[n]),(0,r.useEffect)(function(){return on(function(z){var O=dr(z);if(t){var H=a(O);H?(!E||H)&&o(!1):(T.current=!0,requestAnimationFrame(function(){T.current=!1}))}})}),(0,r.useEffect)(function(){return function(){return clearTimeout(Y.current)}},[]),[te,{focused:E,typing:D}]}function zn(e){var t=e.valueTexts,n=e.onTextChange,a=r.useState(""),o=(0,M.Z)(a,2),l=o[0],u=o[1],c=r.useRef([]);c.current=t;function s(C){u(C),n(C)}function v(){u(c.current[0])}return r.useEffect(function(){t.every(function(C){return C!==l})&&v()},[t.join("||")]),[l,s,v]}var mo=x(96774),Co=x.n(mo);function kn(e,t){var n=t.formatList,a=t.generateConfig,o=t.locale;return(0,va.Z)(function(){if(!e)return[[""],""];for(var l="",u=[],c=0;c1&&arguments[1]!==void 0?arguments[1]:!1;if(cancelAnimationFrame(v.current),D){s(m);return}v.current=requestAnimationFrame(function(){s(m)})}var d=kn(c,{formatList:n,generateConfig:a,locale:o}),i=(0,M.Z)(d,2),g=i[1];function f(m){C(m)}function h(){var m=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;C(null,m)}return(0,r.useEffect)(function(){h(!0)},[e]),(0,r.useEffect)(function(){return function(){return cancelAnimationFrame(v.current)}},[]),[g,f,h]}function xl(e){var t=e.picker,n=e.disabledHours,a=e.disabledMinutes,o=e.disabledSeconds;t==="time"&&(n||a||o)&&warning(!1,"'disabledHours', 'disabledMinutes', 'disabledSeconds' will be removed in the next major version, please use 'disabledTime' instead.")}function ho(e){var t,n=e.prefixCls,a=n===void 0?"rc-picker":n,o=e.id,l=e.tabIndex,u=e.style,c=e.className,s=e.dropdownClassName,v=e.dropdownAlign,C=e.popupStyle,d=e.transitionName,i=e.generateConfig,g=e.locale,f=e.inputReadOnly,h=e.allowClear,m=e.autoFocus,D=e.showTime,P=e.picker,N=P===void 0?"date":P,K=e.format,E=e.use12Hours,b=e.value,Y=e.defaultValue,T=e.open,j=e.defaultOpen,ae=e.defaultOpenValue,te=e.suffixIcon,z=e.clearIcon,O=e.disabled,H=e.disabledDate,ne=e.placeholder,X=e.getPopupContainer,Pe=e.pickerRef,de=e.panelRender,ve=e.onChange,xe=e.onOpenChange,je=e.onFocus,we=e.onBlur,Ie=e.onMouseDown,Oe=e.onMouseUp,Q=e.onMouseEnter,Fe=e.onMouseLeave,Pt=e.onContextMenu,_e=e.onClick,We=e.onKeyDown,Se=e.onSelect,Me=e.direction,L=e.autoComplete,oe=L===void 0?"off":L,G=e.inputRender,B=r.useRef(null),J=N==="date"&&!!D||N==="time",ye=ma(rn(K,N,D,E)),ze=r.useRef(null),Je=r.useRef(null),ge=r.useRef(null),cn=(0,Ye.Z)(null,{value:b,defaultValue:Y}),Ft=(0,M.Z)(cn,2),Ee=Ft[0],Wt=Ft[1],Kt=r.useState(Ee),Le=(0,M.Z)(Kt,2),qe=Le[0],Re=Le[1],He=r.useRef(null),Ze=(0,Ye.Z)(!1,{value:T,defaultValue:j,postState:function(V){return O?!1:V},onChange:function(V){xe&&xe(V),!V&&He.current&&He.current.onClose&&He.current.onClose()}}),et=(0,M.Z)(Ze,2),Ke=et[0],xt=et[1],tt=kn(qe,{formatList:ye,generateConfig:i,locale:g}),rt=(0,M.Z)(tt,2),Qe=rt[0],ce=rt[1],_t=zn({valueTexts:Qe,onTextChange:function(V){var Ae=da(V,{locale:g,formatList:ye,generateConfig:i});Ae&&(!H||!H(Ae))&&Re(Ae)}}),Mt=(0,M.Z)(_t,3),R=Mt[0],pe=Mt[1],Ve=Mt[2],q=function(V){Re(V),Wt(V),ve&&!ln(i,Ee,V)&&ve(V,V?Ne(V,{generateConfig:i,locale:g,format:ye[0]}):"")},st=function(V){O&&V||xt(V)},Rt=function(V){return Ke&&He.current&&He.current.onKeyDown?He.current.onKeyDown(V):((0,Te.ZP)(!1,"Picker not correct forward KeyDown operation. Please help to fire issue about this."),!1)},me=function(){for(var V=arguments.length,Ae=new Array(V),ft=0;ftg(C);case"month":return i(m)>i(C);case"week":return d(m)>d(C);default:return!Dt(s,m,C)&&s.isAfter(m,C)}return!1},[u,c[1],C,t]),h=r.useCallback(function(m){if(u&&u(m))return!0;if(c[0]&&v)return!Dt(s,m,C)&&s.isAfter(v,m);if(n&&v)switch(a){case"quarter":return g(m)0&&arguments[0]!==void 0?arguments[0]:!1,w=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Z=null;U&&Xt&&Xt[0]&&Xt[1]&&f.isAfter(Xt[1],Xt[0])&&(Z=Xt);var A=b;if(b&&(0,nt.Z)(b)==="object"&&b.defaultValue){var Ce=b.defaultValue;A=(0,p.Z)((0,p.Z)({},b),{},{defaultValue:W(Ce,R)||void 0})}var Ut=null;return Pe&&(Ut=function(ot,dt){return Pe(ot,dt,{range:R?"end":"start"})}),r.createElement(jt.Provider,{value:{inRange:!0,panelPosition:I,rangedValue:Go||ue,hoverRangedValue:Z}},r.createElement(Ea,(0,y.Z)({},e,w,{dateRender:Ut,showTime:A,mode:Bt[R],generateConfig:f,style:void 0,direction:Ee,disabledDate:R===0?dn:Zn,disabledTime:function(ot){return X?X(ot,R===0?"start":"end"):!1},className:re()((0,S.Z)({},"".concat(l,"-panel-focused"),R===0?!ar:!ur)),value:W(ue,R),locale:h,tabIndex:-1,onPanelChange:function(ot,dt){R===0&&aa(!0),R===1&&oa(!0),Xn(Xe(Bt,dt,R),Xe(ue,ot,R));var Et=ot;I==="right"&&Bt[R]===dt&&(Et=un(Et,dt,f,-1)),F(Et,R)},onOk:null,onSelect:void 0,onChange:void 0,defaultValue:R===0?W(ue,1):W(ue,0)})))}var pt=0,ir=0;if(R&&et.current&&xt.current&&Ze.current){pt=et.current.offsetWidth+xt.current.offsetWidth;var gl=Qe.current.offsetLeft>pt?Qe.current.offsetLeft-pt:Qe.current.offsetLeft;Ze.current.offsetWidth&&Qe.current.offsetWidth&&pt>Ze.current.offsetWidth-Qe.current.offsetWidth-(Ee==="rtl"?0:gl)&&(ir=pt)}var ml=Ee==="rtl"?{right:pt}:{left:pt};function Cl(){var I,w=wa(l,Bt[R],Pt),Z=ya({prefixCls:l,components:cn,needConfirmButton:qe,okDisabled:!W(ue,R)||ne&&ne(ue[R]),locale:h,rangeList:vl,onOk:function(){W(ue,R)&&(vn(ue,R),Je&&Je(ue))}});if(E!=="time"&&!b){var A=k(R),Ce=un(A,E,f),Ut=Bt[R],yt=Ut===E,ot=la(yt?"left":!1,{pickerValue:A,onPickerValueChange:function(Ge){F(Ge,R)}}),dt=la("right",{pickerValue:Ce,onPickerValueChange:function(Ge){F(un(Ge,E,f,-1),R)}});Ee==="rtl"?I=r.createElement(r.Fragment,null,dt,yt&&ot):I=r.createElement(r.Fragment,null,ot,yt&&dt)}else I=la();var Et=r.createElement(r.Fragment,null,r.createElement("div",{className:"".concat(l,"-panels")},I),(w||Z)&&r.createElement("div",{className:"".concat(l,"-footer")},w,Z));return de&&(Et=de(Et)),r.createElement("div",{className:"".concat(l,"-panel-container"),style:{marginLeft:ir},ref:Ze,onMouseDown:function(Ge){Ge.preventDefault()}},Et)}var hl=r.createElement("div",{className:re()("".concat(l,"-range-wrapper"),"".concat(l,"-").concat(E,"-range-wrapper")),style:{minWidth:Fo}},r.createElement("div",{ref:Qe,className:"".concat(l,"-range-arrow"),style:ml}),Cl()),cr;we&&(cr=r.createElement("span",{className:"".concat(l,"-suffix")},we));var sr;je&&(W(me,0)&&!q[0]||W(me,1)&&!q[1])&&(sr=r.createElement("span",{onMouseDown:function(w){w.preventDefault(),w.stopPropagation()},onMouseUp:function(w){w.preventDefault(),w.stopPropagation();var Z=me;q[0]||(Z=Xe(Z,null,0)),q[1]||(Z=Xe(Z,null,1)),vn(Z,null),Gt(!1,R)},className:"".concat(l,"-clear")},Ie||r.createElement("span",{className:"".concat(l,"-clear-btn")})));var fr={size:Pn(E,ce[0],f)},ua=0,ia=0;et.current&&Ke.current&&xt.current&&(R===0?ia=et.current.offsetWidth:(ua=pt,ia=Ke.current.offsetWidth));var Dl=Ee==="rtl"?{right:ua}:{left:ua},Pl=function(w,Z){var A=Xe(ue,w,R);Z==="submit"||Z!=="key"&&!qe?(vn(A,R),R===0?aa():oa()):wt(A)};return r.createElement(ie.Provider,{value:{operationRef:Ve,hideHeader:E==="time",onDateMouseEnter:nl,onDateMouseLeave:al,hideRanges:!0,onSelect:Pl,open:U}},r.createElement(ba,{visible:U,popupElement:hl,popupStyle:v,prefixCls:l,dropdownClassName:C,dropdownAlign:i,getPopupContainer:g,transitionName:d,range:!0,direction:Ee},r.createElement("div",(0,y.Z)({ref:He,className:re()(l,"".concat(l,"-range"),s,(t={},(0,S.Z)(t,"".concat(l,"-disabled"),q[0]&&q[1]),(0,S.Z)(t,"".concat(l,"-focused"),R===0?nr:lr),(0,S.Z)(t,"".concat(l,"-rtl"),Ee==="rtl"),t)),style:c,onClick:il,onMouseEnter:J,onMouseLeave:ye,onMouseDown:cl,onMouseUp:B},Ca(e)),r.createElement("div",{className:re()("".concat(l,"-input"),(n={},(0,S.Z)(n,"".concat(l,"-input-active"),R===0),(0,S.Z)(n,"".concat(l,"-input-placeholder"),!!Ga),n)),ref:et},r.createElement("input",(0,y.Z)({id:u,disabled:q[0],readOnly:Q||typeof ce[0]=="function"||!ar,value:Ga||Yn,onChange:function(w){Ka(w.target.value)},autoFocus:D,placeholder:W(m,0)||"",ref:tt},ol,fr,{autoComplete:Le}))),r.createElement("div",{className:"".concat(l,"-range-separator"),ref:xt},j),r.createElement("div",{className:re()("".concat(l,"-input"),(a={},(0,S.Z)(a,"".concat(l,"-input-active"),R===1),(0,S.Z)(a,"".concat(l,"-input-placeholder"),!!Xa),a)),ref:Ke},r.createElement("input",(0,y.Z)({disabled:q[1],readOnly:Q||typeof ce[0]=="function"||!ur,value:Xa||In,onChange:function(w){Ua(w.target.value)},placeholder:W(m,1)||"",ref:rt},ul,fr,{autoComplete:Le}))),r.createElement("div",{className:"".concat(l,"-active-bar"),style:(0,p.Z)((0,p.Z)({},Dl),{},{width:ia,position:"absolute"})}),cr,sr)))}var ko=function(e){(0,ee.Z)(n,e);var t=(0,ke.Z)(n);function n(){var a;(0,mn.Z)(this,n);for(var o=arguments.length,l=new Array(o),u=0;u