1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1321,4104],{48483:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(1413),a=n(67294),o={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z",fill:e}},{tag:"path",attrs:{d:"M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm193.4 225.7l-210.6 292a31.8 31.8 0 01-51.7 0L318.5 484.9c-3.8-5.3 0-12.7 6.5-12.7h46.9c10.3 0 19.9 5 25.9 13.3l71.2 98.8 157.2-218c6-8.4 15.7-13.3 25.9-13.3H699c6.5 0 10.3 7.4 6.4 12.7z",fill:t}},{tag:"path",attrs:{d:"M699 353h-46.9c-10.2 0-19.9 4.9-25.9 13.3L469 584.3l-71.2-98.8c-6-8.3-15.6-13.3-25.9-13.3H325c-6.5 0-10.3 7.4-6.5 12.7l124.6 172.8a31.8 31.8 0 0051.7 0l210.6-292c3.9-5.3.1-12.7-6.4-12.7z",fill:e}}]}},name:"check-circle",theme:"twotone"},i=n(84089),l=function(e,t){return a.createElement(i.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:o}))};l.displayName="CheckCircleTwoTone";var s=a.forwardRef(l)},4009:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(1413),a=n(67294),o={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M509.2 490.8c-.7-1.3-1.4-1.9-2.2-2-2.9 3.3-2.2 31.5 2.7 51.4 4-13.6 4.7-40.5-.5-49.4zm-1.6 120.5c-7.7 20-18.8 47.3-32.1 71.4 4-1.6 8.1-3.3 12.3-5 17.6-7.2 37.3-15.3 58.9-20.2-14.9-11.8-28.4-27.7-39.1-46.2z",fill:t}},{tag:"path",attrs:{d:"M534 352V136H232v752h560V394H576a42 42 0 01-42-42zm55 287.6c16.1-1.9 30.6-2.8 44.3-2.3 12.8.4 23.6 2 32 5.1.2.1.3.1.5.2.4.2.8.3 1.2.5.5.2 1.1.4 1.6.7.1.1.3.1.4.2 4.1 1.8 7.5 4 10.1 6.6 9.1 9.1 11.8 26.1 6.2 39.6-3.2 7.7-11.7 20.5-33.3 20.5-21.8 0-53.9-9.7-82.1-24.8-25.5 4.3-53.7 13.9-80.9 23.1-5.8 2-11.8 4-17.6 5.9-38 65.2-66.5 79.4-84.1 79.4-4.2 0-7.8-.9-10.8-2-6.9-2.6-12.8-8-16.5-15-.9-1.7-1.6-3.4-2.2-5.2-1.6-4.8-2.1-9.6-1.3-13.6l.6-2.7c.1-.2.1-.4.2-.6.2-.7.4-1.4.7-2.1 0-.1.1-.2.1-.3 4.1-11.9 13.6-23.4 27.7-34.6 12.3-9.8 27.1-18.7 45.9-28.4 15.9-28 37.6-75.1 51.2-107.4-10.8-41.8-16.7-74.6-10.1-98.6.9-3.3 2.5-6.4 4.6-9.1.2-.2.3-.4.5-.6.1-.1.1-.2.2-.2 6.3-7.5 16.9-11.9 28.1-11.5 16.6.7 29.7 11.5 33 30.1 1.7 8 2.2 16.5 1.9 25.7v.7c0 .5 0 1-.1 1.5-.7 13.3-3 26.6-7.3 44.7-.4 1.6-.8 3.2-1.2 5.2l-1 4.1-.1.3c.1.2.1.3.2.5l1.8 4.5c.1.3.3.7.4 1 .7 1.6 1.4 3.3 2.1 4.8v.1c8.7 18.8 19.7 33.4 33.9 45.1 4.3 3.5 8.9 6.7 13.9 9.8 1.8-.5 3.5-.7 5.3-.9z",fill:t}},{tag:"path",attrs:{d:"M391.5 761c5.7-4.4 16.2-14.5 30.1-34.7-10.3 9.4-23.4 22.4-30.1 34.7zm270.9-83l.2-.3h.2c.6-.4.5-.7.4-.9-.1-.1-4.5-9.3-45.1-7.4 35.3 13.9 43.5 9.1 44.3 8.6z",fill:t}},{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM602 137.8L790.2 326H602V137.8zM792 888H232V136h302v216a42 42 0 0042 42h216v494z",fill:e}},{tag:"path",attrs:{d:"M535.9 585.3c-.8-1.7-1.5-3.3-2.2-4.9-.1-.3-.3-.7-.4-1l-1.8-4.5c-.1-.2-.1-.3-.2-.5l.1-.3.2-1.1c4-16.3 8.6-35.3 9.4-54.4v-.7c.3-8.6-.2-17.2-2-25.6-3.8-21.3-19.5-29.6-32.9-30.2-11.3-.5-21.8 4-28.1 11.4-.1.1-.1.2-.2.2-.2.2-.4.4-.5.6-2.1 2.7-3.7 5.8-4.6 9.1-6.6 24-.7 56.8 10.1 98.6-13.6 32.4-35.3 79.4-51.2 107.4v.1c-27.7 14.3-64.1 35.8-73.6 62.9 0 .1-.1.2-.1.3-.2.7-.5 1.4-.7 2.1-.1.2-.1.4-.2.6-.2.9-.5 1.8-.6 2.7-.9 4-.4 8.8 1.3 13.6.6 1.8 1.3 3.5 2.2 5.2 3.7 7 9.6 12.4 16.5 15 3 1.1 6.6 2 10.8 2 17.6 0 46.1-14.2 84.1-79.4 5.8-1.9 11.8-3.9 17.6-5.9 27.2-9.2 55.4-18.8 80.9-23.1 28.2 15.1 60.3 24.8 82.1 24.8 21.6 0 30.1-12.8 33.3-20.5 5.6-13.5 2.9-30.5-6.2-39.6-2.6-2.6-6-4.8-10.1-6.6-.1-.1-.3-.1-.4-.2-.5-.2-1.1-.4-1.6-.7-.4-.2-.8-.3-1.2-.5-.2-.1-.3-.1-.5-.2-16.2-5.8-41.7-6.7-76.3-2.8l-5.3.6c-5-3-9.6-6.3-13.9-9.8-14.2-11.3-25.1-25.8-33.8-44.7zM391.5 761c6.7-12.3 19.8-25.3 30.1-34.7-13.9 20.2-24.4 30.3-30.1 34.7zM507 488.8c.8.1 1.5.7 2.2 2 5.2 8.9 4.5 35.8.5 49.4-4.9-19.9-5.6-48.1-2.7-51.4zm-19.2 188.9c-4.2 1.7-8.3 3.4-12.3 5 13.3-24.1 24.4
1-51.4 32.1-71.4 10.7 18.5 24.2 34.4 39.1 46.2-21.6 4.9-41.3 13-58.9 20.2zm175.4-.9c.1.2.2.5-.4.9h-.2l-.2.3c-.8.5-9 5.3-44.3-8.6 40.6-1.9 45 7.3 45.1 7.4z",fill:e}}]}},name:"file-pdf",theme:"twotone"},i=n(84089),l=function(e,t){return a.createElement(i.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:o}))};l.displayName="FilePdfTwoTone";var s=a.forwardRef(l)},28280:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(1413),a=n(67294),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M705.6 124.9a8 8 0 00-11.6 7.2v64.2c0 5.5 2.9 10.6 7.5 13.6a352.2 352.2 0 0162.2 49.8c32.7 32.8 58.4 70.9 76.3 113.3a355 355 0 0127.9 138.7c0 48.1-9.4 94.8-27.9 138.7a355.92 355.92 0 01-76.3 113.3 353.06 353.06 0 01-113.2 76.4c-43.8 18.6-90.5 28-138.5 28s-94.7-9.4-138.5-28a353.06 353.06 0 01-113.2-76.4A355.92 355.92 0 01184 650.4a355 355 0 01-27.9-138.7c0-48.1 9.4-94.8 27.9-138.7 17.9-42.4 43.6-80.5 76.3-113.3 19-19 39.8-35.6 62.2-49.8 4.7-2.9 7.5-8.1 7.5-13.6V132c0-6-6.3-9.8-11.6-7.2C178.5 195.2 82 339.3 80 506.3 77.2 745.1 272.5 943.5 511.2 944c239 .5 432.8-193.3 432.8-432.4 0-169.2-97-315.7-238.4-386.7zM480 560h64c4.4 0 8-3.6 8-8V88c0-4.4-3.6-8-8-8h-64c-4.4 0-8 3.6-8 8v464c0 4.4 3.6 8 8 8z"}}]},name:"poweroff",theme:"outlined"},i=n(84089),l=function(e,t){return a.createElement(i.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:o}))};l.displayName="PoweroffOutlined";var s=a.forwardRef(l)},87740:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(1413),a=n(67294),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M758.2 839.1C851.8 765.9 912 651.9 912 523.9 912 303 733.5 124.3 512.6 124 291.4 123.7 112 302.8 112 523.9c0 125.2 57.5 236.9 147.6 310.2 3.5 2.8 8.6 2.2 11.4-1.3l39.4-50.5c2.7-3.4 2.1-8.3-1.2-11.1-8.1-6.6-15.9-13.7-23.4-21.2a318.64 318.64 0 01-68.6-101.7C200.4 609 192 567.1 192 523.9s8.4-85.1 25.1-124.5c16.1-38.1 39.2-72.3 68.6-101.7 29.4-29.4 63.6-52.5 101.7-68.6C426.9 212.4 468.8 204 512 204s85.1 8.4 124.5 25.1c38.1 16.1 72.3 39.2 101.7 68.6 29.4 29.4 52.5 63.6 68.6 101.7 16.7 39.4 25.1 81.3 25.1 124.5s-8.4 85.1-25.1 124.5a318.64 318.64 0 01-68.6 101.7c-9.3 9.3-19.1 18-29.3 26L668.2 724a8 8 0 00-14.1 3l-39.6 162.2c-1.2 5 2.6 9.9 7.7 9.9l167 .8c6.7 0 10.5-7.7 6.3-12.9l-37.3-47.9z"}}]},name:"redo",theme:"outlined"},i=n(84089),l=function(e,t){return a.createElement(i.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:o}))};l.displayName="RedoOutlined";var s=a.forwardRef(l)},88484:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(1413),a=n(67294),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M400 317.7h73.9V656c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V317.7H624c6.7 0 10.4-7.7 6.3-12.9L518.3 163a8 8 0 00-12.6 0l-112 141.7c-4.1 5.3-.4 13 6.3 13zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"upload",theme:"outlined"},i=n(84089),l=function(e,t){return a.createElement(i.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:o}))};l.displayName="UploadOutlined";var s=a.forwardRef(l)},81643:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});var r=function(e){return e?"function"===typeof e?e():e:null}},14670:function(e,t,n){"use strict";n.d(t,{Z:function(){return M}});var r=n(87462),a=n(97685),o=n(4942),i=n(89739),l=n(8751),s=n(4340),c=n(18429),u=n(97937),d=n(21640),f=n(11475),p=n(78860),h=n(45605),m=n(94184),y=n.n(m),v=n(82225),g=n(67294),w=n(53124),b=n(5467),x=n(96159),C=n(15671),S=n(43144),E=n(60136),D=n(29388),k=function(e){(0,E.Z)(n,e);var t=(0,D.Z)(n);function n(){var e;return(0,C.Z)(this,n),(e=t.apply(this,arguments)).state={error:void 0,info:{componentStack:""}},e}return(0,S.Z)(n,[{key:"componentDidCatch",value:function(e,t){this.setState({error:e,info:t})}},{key:"render",value:function(){var e=this.props,t=e.message,n=e.description,r=e.children,a=this.state,o=a.error,i=a.info,l=i&&i.componentStack?i.componentStack:null,s="undefined"===typeof t?(o||"").toString():t,c="undefined"===typeof n?l:n;return o?g.createElement(M,{type:"error",message:s,description:g.createElement("pre",null,c)}):r}}]),n}(g.Component),O=k,I=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]])}return n},N={success:i.Z,info:p.Z,error:s.Z,warning:d.Z},P={success:l.Z,info:h.Z,error:c.Z,warning:f.Z},Z=function(e){var t=e.description,n=e.icon,r=e.prefixCls,a=e.type,i=(t?P:N)[a]||null;return n?(0,x.wm)(n,g.createElement("span",{className:"".concat(r,"-icon")},n),(function(){return{className:y()("".concat(r,"-icon"),(0,o.Z)({},n.props.className,n.props.className))}})):g.createElement(i,{className:"".concat(r,"-icon")})},R=function(e){var t=e.isClosable,n=e.closeText,r=e.prefixCls,a=e.closeIcon,o=e.handleClose;return t?g.createElement("button",{type:"button",onClick:o,className:"".concat(r,"-close-icon"),tabIndex:0},n?g.createElement("span",{className:"".concat(r,"-close-text")},n):a):null},T=function(e){var t,n=e.description,i=e.prefixCls,l=e.message,s=e.banner,c=e.className,d=void 0===c?"":c,f=e.style,p=e.onMouseEnter,h=e.onMouseLeave,m=e.onClick,x=e.afterClose,C=e.showIcon,S=e.closable,E=e.closeText,D=e.closeIcon,k=void 0===D?g.createElement(u.Z,null):D,O=e.action,N=I(e,["description","prefixCls","message","banner","className","style","onMouseEnter","onMouseLeave","onClick","afterClose","showIcon","closable","closeText","closeIcon","action"]),P=g.useState(!1),T=(0,a.Z)(P,2),M=T[0],_=T[1],A=g.useRef(),j=g.useContext(w.E_),z=j.getPrefixCls,L=j.direction,F=z("alert",i),H=function(e){var t;_(!0),null===(t=N.onClose)||void 0===t||t.call(N,e)},V=!!E||S,q=function(){var e=N.type;return void 0!==e?e:s?"warning":"info"}(),B=!(!s||void 0!==C)||C,U=y()(F,"".concat(F,"-").concat(q),(t={},(0,o.Z)(t,"".concat(F,"-with-description"),!!n),(0,o.Z)(t,"".concat(F,"-no-icon"),!B),(0,o.Z)(t,"".concat(F,"-banner"),!!s),(0,o.Z)(t,"".concat(F,"-rtl"),"rtl"===L),t),d),$=(0,b.Z)(N);return g.createElement(v.default,{visible:!M,motionName:"".concat(F,"-motion"),motionAppear:!1,motionEnter:!1,onLeaveStart:function(e){return{maxHeight:e.offsetHeight}},onLeaveEnd:x},(function(e){var t=e.className,a=e.style;return g.createElement("div",(0,r.Z)({ref:A,"data-show":!M,className:y()(U,t),style:(0,r.Z)((0,r.Z)({},f),a),onMouseEnter:p,onMouseLeave:h,onClick:m,role:"alert"},$),B?g.createElement(Z,{description:n,icon:N.icon,prefixCls:F,type:q}):null,g.createElement("div",{className:"".concat(F,"-content")},l?g.createElement("div",{className:"".concat(F,"-message")},l):null,n?g.createElement("div",{className:"".concat(F,"-description")},n):null),O?g.createElement("div",{className:"".concat(F,"-action")},O):null,g.createElement(R,{isClosable:!!V,closeText:E,prefixCls:F,closeIcon:k,handleClose:H}))}))};T.ErrorBoundary=O;var M=T},15746:function(e,t,n){"use strict";var r=n(21584);t.Z=r.Z},27049:function(e,t,n){"use strict";var r=n(87462),a=n(4942),o=n(94184),i=n.n(o),l=n(67294),s=n(53124),c=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]])}return n};t.Z=function(e){var t,n=l.useContext(s.E_),o=n.getPrefixCls,u=n.direction,d=e.prefixCls,f=e.type,p=void 0===f?"horizontal":f,h=e.orientation,m=void 0===h?"center":h,y=e.orientationMargin,v=e.className,g=e.children,w=e.dashed,b=e.plain,x=c(e,["prefixCls","type","orientation","orientationMargin","className","children","dashed","plain"]),C=o("divider",d),S=m.length>0?"-".concat(m):m,E=!!g,D="left"===m&&null!=y,k="right"===m&&null!=y,O=i()(C,"".concat(C,"-").concat(p),(t={},(0,a.Z)(t,"".concat(C,"-with-text"),E),(0,a.Z)(t,"".concat(C,"-with-text").concat(S),E),(0,a.Z)(t,"".concat(C,"-dashed"),!!w),(0,a.Z)(t,"".concat(C,"-plain"),!!b),(0,a.Z)(t,"".concat(C,"-rtl"),"rtl"===u),(0,a.Z)(t,"".concat(C,"-no-default-orientation-margin-left"),D),(0,a.Z)(t,"".concat(C,"-no-default-orientation-margin-right"),k),t),v),I=(0,r.Z)((0,r.Z)({},D&&{marginLeft:y}),k&&{marginRight:y});return l.createElement("div",(0,r.Z)({className:O},x,{role:"separator"}),g&&"vertical"!==p&&l.createElement("span",{className:"".concat(C,"-inner-text"),style:I},g))}},55241:function(e,t,n){"use strict";var r=n(87462),a=n(67294),o=n(53124),i=n(94199),l=n(81643),s=n(33603),c=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]])}return n},u=function(e){var t=e.title,n=e.content,r=e.prefixCls;return t||n?a.createElement(a.Fragment,null,t&&a.createElement("div",{className:"".concat(r,"-title")},(0,l.Z)(t)),a.createElement("div",{className:"".concat(r,"-inner-content")},(0,l.Z)(n))):null},d=a.forwardRef((function(e,t){var n=e.prefixCls,l=e.title,d=e.content,f=e._overlay,p=e.placement,h=void 0===p?"top":p,m=e.trigger,y=void 0===m?"hover":m,v=e.mouseEnterDelay,g=void 0===v?.1:v,w=e.mouseLeaveDelay,b=void 0===w?.1:w,x=e.overlayStyle,C=void 0===x?{}:x,S=c(e,["prefixCls","title","content","_overlay","placement","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle"]),E=a.useContext(o.E_).getPrefixCls,D=E("popover",n),k=E();
1return a.createElement(i.Z,(0,r.Z)({placement:h,trigger:y,mouseEnterDelay:g,mouseLeaveDelay:b,overlayStyle:C},S,{prefixCls:D,ref:t,overlay:f||a.createElement(u,{prefixCls:D,title:l,content:d}),transitionName:(0,s.mL)(k,"zoom-big",S.transitionName)}))}));t.Z=d},71230:function(e,t,n){"use strict";var r=n(92820);t.Z=r.Z},69309:function(e,t,n){"use strict";n.d(t,{Z:function(){return N}});var r=n(87462),a=n(4942),o=n(63606),i=n(97937),l=n(94184),s=n.n(l),c=n(1413),u=n(91),d=n(15671),f=n(43144),p=n(97326),h=n(60136),m=n(29388),y=n(67294),v=["className","prefixCls","style","active","status","iconPrefix","icon","wrapperStyle","stepNumber","disabled","description","title","subTitle","progressDot","stepIcon","tailContent","icons","stepIndex","onStepClick","onClick"];function g(e){return"string"===typeof e}var w=function(e){(0,h.Z)(n,e);var t=(0,m.Z)(n);function n(){var e;(0,d.Z)(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return e=t.call.apply(t,[this].concat(o)),(0,a.Z)((0,p.Z)(e),"onClick",(function(){var t=e.props,n=t.onClick,r=t.onStepClick,a=t.stepIndex;n&&n.apply(void 0,arguments),r(a)})),e}return(0,f.Z)(n,[{key:"renderIconNode",value:function(){var e,t,n=this.props,r=n.prefixCls,o=n.progressDot,i=n.stepIcon,l=n.stepNumber,c=n.status,u=n.title,d=n.description,f=n.icon,p=n.iconPrefix,h=n.icons,m=s()("".concat(r,"-icon"),"".concat(p,"icon"),(e={},(0,a.Z)(e,"".concat(p,"icon-").concat(f),f&&g(f)),(0,a.Z)(e,"".concat(p,"icon-check"),!f&&"finish"===c&&(h&&!h.finish||!h)),(0,a.Z)(e,"".concat(p,"icon-cross"),!f&&"error"===c&&(h&&!h.error||!h)),e)),v=y.createElement("span",{className:"".concat(r,"-icon-dot")});return t=o?"function"===typeof o?y.createElement("span",{className:"".concat(r,"-icon")},o(v,{index:l-1,status:c,title:u,description:d})):y.createElement("span",{className:"".concat(r,"-icon")},v):f&&!g(f)?y.createElement("span",{className:"".concat(r,"-icon")},f):h&&h.finish&&"finish"===c?y.createElement("span",{className:"".concat(r,"-icon")},h.finish):h&&h.error&&"error"===c?y.createElement("span",{className:"".concat(r,"-icon")},h.error):f||"finish"===c||"error"===c?y.createElement("span",{className:m}):y.createElement("span",{className:"".concat(r,"-icon")},l),i&&(t=i({index:l-1,status:c,title:u,description:d,node:t})),t}},{key:"render",value:function(){var e,t=this.props,n=t.className,o=t.prefixCls,i=t.style,l=t.active,d=t.status,f=void 0===d?"wait":d,p=(t.iconPrefix,t.icon),h=(t.wrapperStyle,t.stepNumber,t.disabled),m=t.description,g=t.title,w=t.subTitle,b=(t.progressDot,t.stepIcon,t.tailContent),x=(t.icons,t.stepIndex,t.onStepClick),C=t.onClick,S=(0,u.Z)(t,v),E=s()("".concat(o,"-item"),"".concat(o,"-item-").concat(f),n,(e={},(0,a.Z)(e,"".concat(o,"-item-custom"),p),(0,a.Z)(e,"".concat(o,"-item-active"),l),(0,a.Z)(e,"".concat(o,"-item-disabled"),!0===h),e)),D=(0,c.Z)({},i),k={};return x&&!h&&(k.role="button",k.tabIndex=0,k.onClick=this.onClick),y.createElement("div",(0,r.Z)({},S,{className:E,style:D}),y.createElement("div",(0,r.Z)({onClick:C},k,{className:"".concat(o,"-item-container")}),y.createElement("div",{className:"".concat(o,"-item-tail")},b),y.createElement("div",{className:"".concat(o,"-item-icon")},this.renderIconNode()),y.createElement("div",{className:"".concat(o,"-item-content")},y.createElement("div",{className:"".concat(o,"-item-title")},g,w&&y.createElement("div",{title:"string"===typeof w?w:void 0,className:"".concat(o,"-item-subtitle")},w)),m&&y.createElement("div",{className:"".concat(o,"-item-description")},m))))}}]),n}(y.Component),b=["prefixCls","style","className","children","direction","type","labelPlacement","iconPrefix","status","size","current","progressDot","stepIcon","initial","icons","onChange","items"],x=function(e){(0,h.Z)(n,e);var t=(0,m.Z)(n);function n(){var e;(0,d.Z)(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return e=t.call.apply(t,[this].concat(o)),(0,a.Z)((0,p.Z)(e),"onStepClick",(function(t){var n=e.props,r=n.onChange,a=n.current;r&&a!==t&&r(t)})),e}return(0,f.Z)(n,[{key:"render",value:function(){var e,t=this,n=this.props,o=n.prefixCls,i=n.style,l=void 0===i?{}:i,d=n.className,f=(n.children,n.direction),p=n.type,h=n.labelPlacement,m=n.iconPrefix,v=n.status,g=n.size,x=n.current,C=n.progressDot,S=n.stepIcon,E=n.initial,D=n.icons,k=n.onChange,O=n.items,I=void 0===O?[]:O,N=(0,u.Z)(n,b),P="navigation"===p,Z=C?"vertical":h,R=s()(o,"".concat(o,"-").concat(f),d,(e={},(0,a.Z)(e,"".concat(o,"-").concat(g),g),(0,a.Z)(e,"".concat(o,"-label-").concat(Z),"horizontal"===f),(0,a.Z)(e,"".concat(o,"-dot"),!!C),(0,a.Z)(e,"".concat(o,"-navigation"),P),e));return y.createElement("div",(0,r.Z)({className:R,style:l},N),I.filter((function(e){return e})).map((function(e,n){var a=(0,c.Z)({},e),i=E+n;return"error"===v&&n===x-1&&(a.className="".concat(o,"-next-error")),a.status||(a.status=i===x?v:i<x?"finish":"wait"),y.createElement(w,(0,r.Z)({},a,{active:i===x,stepNumber:i+1,stepIndex:i,key:i,prefixCls:o,iconPrefix:m,wrapperStyle:l,progressDot:C,stepIcon:S,icons:D,onStepClick:k&&t.onStepClick}))}
1)))}}]),n}(y.Component);(0,a.Z)(x,"Step",w),(0,a.Z)(x,"defaultProps",{type:"default",prefixCls:"rc-steps",iconPrefix:"rc",direction:"horizontal",labelPlacement:"horizontal",initial:0,current:0,status:"process",size:"",progressDot:!1});var C=x,S=n(53124),E=n(25378),D=n(93471),k=n(50344);var O=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]])}return n},I=function(e){var t,n=e.percent,l=e.size,c=e.className,u=e.direction,d=e.items,f=e.responsive,p=void 0===f||f,h=e.current,m=void 0===h?0:h,v=e.children,g=O(e,["percent","size","className","direction","items","responsive","current","children"]),w=(0,E.Z)(p).xs,b=y.useContext(S.E_),x=b.getPrefixCls,I=b.direction,N=y.useCallback((function(){return p&&w?"vertical":u}),[w,u]),P=x("steps",e.prefixCls),Z=x("",e.iconPrefix),R=function(e,t){return e||function(e){return e.filter((function(e){return e}))}((0,k.Z)(t).map((function(e){if(y.isValidElement(e)){var t=e.props;return(0,r.Z)({},t)}return null})))}(d,v),T=s()((t={},(0,a.Z)(t,"".concat(P,"-rtl"),"rtl"===I),(0,a.Z)(t,"".concat(P,"-with-progress"),void 0!==n),t),c),M={finish:y.createElement(o.Z,{className:"".concat(P,"-finish-icon")}),error:y.createElement(i.Z,{className:"".concat(P,"-error-icon")})};return y.createElement(C,(0,r.Z)({icons:M},g,{current:m,size:l,items:R,direction:N(),stepIcon:function(e){var t=e.node;if("process"===e.status&&void 0!==n){var r="small"===l?32:40;return y.createElement("div",{className:"".concat(P,"-progress-icon")},y.createElement(D.Z,{type:"circle",percent:n,width:r,strokeWidth:4,format:function(){return null}}),t)}return t},prefixCls:P,iconPrefix:Z,className:T}))};I.Step=C.Step;var N=I},94594:function(e,t,n){"use strict";n.d(t,{Z:function(){return x}});var r=n(87462),a=n(4942),o=n(50888),i=n(94184),l=n.n(i),s=n(97685),c=n(91),u=n(67294),d=n(21770),f=n(15105),p=u.forwardRef((function(e,t){var n,r=e.prefixCls,o=void 0===r?"rc-switch":r,i=e.className,p=e.checked,h=e.defaultChecked,m=e.disabled,y=e.loadingIcon,v=e.checkedChildren,g=e.unCheckedChildren,w=e.onClick,b=e.onChange,x=e.onKeyDown,C=(0,c.Z)(e,["prefixCls","className","checked","defaultChecked","disabled","loadingIcon","checkedChildren","unCheckedChildren","onClick","onChange","onKeyDown"]),S=(0,d.Z)(!1,{value:p,defaultValue:h}),E=(0,s.Z)(S,2),D=E[0],k=E[1];function O(e,t){var n=D;return m||(k(n=e),null===b||void 0===b||b(n,t)),n}var I=l()(o,i,(n={},(0,a.Z)(n,"".concat(o,"-checked"),D),(0,a.Z)(n,"".concat(o,"-disabled"),m),n));return u.createElement("button",Object.assign({},C,{type:"button",role:"switch","aria-checked":D,disabled:m,className:I,ref:t,onKeyDown:function(e){e.which===f.Z.LEFT?O(!1,e):e.which===f.Z.RIGHT&&O(!0,e),null===x||void 0===x||x(e)},onClick:function(e){var t=O(!D,e);null===w||void 0===w||w(t,e)}}),y,u.createElement("span",{className:"".concat(o,"-inner")},D?v:g))}));p.displayName="Switch";var h=p,m=n(53124),y=n(98866),v=n(97647),g=n(68349),w=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]])}return n},b=u.forwardRef((function(e,t){var n,i=e.prefixCls,s=e.size,c=e.disabled,d=e.loading,f=e.className,p=void 0===f?"":f,b=w(e,["prefixCls","size","disabled","loading","className"]),x=u.useContext(m.E_),C=x.getPrefixCls,S=x.direction,E=u.useContext(v.Z),D=u.useContext(y.Z),k=(null!==c&&void 0!==c?c:D)||d,O=C("switch",i),I=u.createElement("div",{className:"".concat(O,"-handle")},d&&u.createElement(o.Z,{className:"".concat(O,"-loading-icon")})),N=l()((n={},(0,a.Z)(n,"".concat(O,"-small"),"small"===(s||E)),(0,a.Z)(n,"".concat(O,"-loading"),d),(0,a.Z)(n,"".concat(O,"-rtl"),"rtl"===S),n),p);return u.createElement(g.Z,{insertExtraNode:!0},u.createElement(h,(0,r.Z)({},b,{prefixCls:O,className:N,disabled:k,ref:t,loadingIcon:I})))}));b.__ANT_SWITCH=!0;var x=b},67434:function(e,t,n){"use strict";var r=n(75263).default,a=n(64836).default;
1Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=a(n(38416)),i=a(n(56690)),l=a(n(89728)),s=a(n(61655)),c=a(n(26389)),u=a(n(42547)),d=a(n(94184)),f=r(n(67294)),p=n(51130),h=n(47419),m=n(71434),y=(0,n(66764).tuple)("text","input");var v=function(e){(0,s.default)(n,e);var t=(0,c.default)(n);function n(){return(0,i.default)(this,n),t.apply(this,arguments)}return(0,l.default)(n,[{key:"renderClearIcon",value:function(e){var t,n=this.props,r=n.value,a=n.disabled,i=n.readOnly,l=n.handleReset,s=n.suffix,c=!a&&!i&&r,p="".concat(e,"-clear-icon");return f.createElement(u.default,{onClick:l,onMouseDown:function(e){return e.preventDefault()},className:(0,d.default)((t={},(0,o.default)(t,"".concat(p,"-hidden"),!c),(0,o.default)(t,"".concat(p,"-has-suffix"),!!s),t),p),role:"button"})}},{key:"renderTextAreaWithClearIcon",value:function(e,t,n){var r,a=this.props,i=a.value,l=a.allowClear,s=a.className,c=a.focused,u=a.style,p=a.direction,y=a.bordered,v=a.hidden,g=a.status,w=n.status,b=n.hasFeedback;if(!l)return(0,h.cloneElement)(t,{value:i});var x,C=(0,d.default)("".concat(e,"-affix-wrapper"),"".concat(e,"-affix-wrapper-textarea-with-clear-btn"),(0,m.getStatusClassNames)("".concat(e,"-affix-wrapper"),(0,m.getMergedStatus)(w,g),b),(r={},(0,o.default)(r,"".concat(e,"-affix-wrapper-focused"),c),(0,o.default)(r,"".concat(e,"-affix-wrapper-rtl"),"rtl"===p),(0,o.default)(r,"".concat(e,"-affix-wrapper-borderless"),!y),(0,o.default)(r,"".concat(s),!((x=this.props).addonBefore||x.addonAfter)&&s),r));return f.createElement("span",{className:C,style:u,hidden:v},(0,h.cloneElement)(t,{style:null,value:i}),this.renderClearIcon(e))}},{key:"render",value:function(){var e=this;return f.createElement(p.FormItemInputContext.Consumer,null,(function(t){var n=e.props,r=n.prefixCls,a=n.inputType,o=n.element;if(a===y[0])return e.renderTextAreaWithClearIcon(r,o,t)}))}}]),n}(f.Component),g=v;t.default=g},14104:function(e,t,n){"use strict";var r=n(75263).default,a=n(64836).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=a(n(18698)),i=a(n(38416)),l=a(n(10434)),s=a(n(27424)),c=a(n(861)),u=a(n(94184)),d=a(n(57239)),f=a(n(60869)),p=a(n(18475)),h=r(n(67294)),m=n(31929),y=a(n(93319)),v=a(n(3236)),g=n(51130),w=n(71434),b=a(n(67434)),x=n(10815),C=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]])}return n};function S(e,t){return(0,c.default)(e||"").slice(0,t).join("")}function E(e,t,n,r){var a=n;return e?a=S(n,r):(0,c.default)(t||"").length<n.length&&(0,c.default)(n||"").length>r&&(a=t),a}var D=h.forwardRef((function(e,t){var n,r=e.prefixCls,a=e.bordered,D=void 0===a||a,k=e.showCount,O=void 0!==k&&k,I=e.maxLength,N=e.className,P=e.style,Z=e.size,R=e.disabled,T=e.onCompositionStart,M=e.onCompositionEnd,_=e.onChange,A=e.onFocus,j=e.onBlur,z=e.status,L=C(e,["prefixCls","bordered","showCount","maxLength","className","style","size","disabled","onCompositionStart","onCompositionEnd","onChange","onFocus","onBlur","status"]),F=h.useContext(m.ConfigContext),H=F.getPrefixCls,V=F.direction,q=h.useContext(v.default),B=h.useContext(y.default),U=null!==R&&void 0!==R?R:B,$=h.useContext(g.FormItemInputContext),X=$.status,Y=$.hasFeedback,K=$.isFormItemInput,W=$.feedbackIcon,G=(0,w.getMergedStatus)(X,z),J=h.useRef(null),Q=h.useRef(null),ee=h.useState(!1),te=(0,s.default)(ee,2),ne=te[0],re=te[1],ae=h.useState(!1),oe=(0,s.default)(ae,2),ie=oe[0],le=oe[1],se=h.useRef(),ce=h.useRef(0),ue=(0,f.default)(L.defaultValue,{value:L.value}),de=(0,s.default)(ue,2),fe=de[0],pe=de[1],he=L.hidden,me=function(e,t){void 0===L.value&&(pe(e),null===t||void 0===t||t())},ye=Number(I)>0;h.useEffect((function(){le((function(e){return!U&&e}))}),[U]);var ve=H("input",r);h.useImperativeHandle(t,(function(){var e;return{resizableTextArea:null===(e=J.current)||void 0===e?void 0:e.resizableTextArea,focus:function(e){var t,n;(0,x.triggerFocus)(null===(n=null===(t=J.current)||void 0===t?void 0:t.resizableTextArea)||void 0===n?void 0:n.textArea,e)},blur:function(){var e;return null===(e=J.current)||void 0===e?void 0:e.blur()}}}));var ge=h.createElement(d.default,(0,l.default)({},(0,p.default)(L,["allowClear"]),{disabled:U,className:(0,u.default)((n={},(0,i.default)(n,"".concat(ve,"-borderless"),!D),(0,i.default)(n,N,N&&!O),(0,i.default)(n,"".concat(ve,"-sm"),"small"===q||"small"===Z),(0,i.default)(n,"".concat(ve,"-lg"),"large"===q||"large"===Z),n),(0,w.getStatusClassNames)(ve,G)),style:O?{resize:null===P||void 0===P?void 0:P.resize}:P,prefixCls:ve,onCompositionStart:function(e){re(!0),se.current=fe,ce.current=e.currentTarget.selectionStart,null===T||void 0===T||T(e)},onChange:function(e){var t=e.target.value;!ne&&ye&&(t=E(e.target.selectionStart>=I+1||e.target.selectionStart===t.length||!e.target.selectionStart,fe,t,I));me(t),(0,x.resolveOnChange)(e.currentTarget,e,_,t)},onBlur:function(e){le(!1),null===j||void 0===j||j(e)},onFocus:function(e){le(!0),null===A||void 0===A||A(e)},onCompositionEnd:function(e){var t;re(!1);var n=e.currentTarget.value;ye&&(n=E(ce.current>=I+1||ce.current===(null===(t=se.current)||void 0===t?void 0:t.length),se.current,n,I));n!==fe&&(me(n),(0,x.resolveOnChange)(e.currentTarget,e,_,n)),null===M||void 0===M||M(e)},ref:J})),we=(0,x.fixControlledValue)(fe);ne||!ye||null!==L.value&&void 0!==L.value||(we=S(we,I));var be=h.createElement(b.default,(0,l.default)({disabled:U,focused:ie},L,{prefixCls:ve,direction:V,inputType:"text",value:we,element:ge,handleReset:function(e){var t,n,r;me(""),null===(t=J.current)||void 0===t||t.focus(),(0,x.resolveOnChange)(null===(r=null===(n=J.current)||void 0===n?void 0:n.resizableTextArea)||void 0===r?void 0:r.textArea,e,_)},ref:Q,bordered:D,status:z,style:O?void 0:P}));if(O||Y){var xe,Ce=(0,c.default)(we).length,Se="";return Se="object"===(0,o.default)(O)?O.formatter({value:we,count:Ce,maxLength:I}
1):"".concat(Ce).concat(ye?" / ".concat(I):""),h.createElement("div",{hidden:he,className:(0,u.default)("".concat(ve,"-textarea"),(xe={},(0,i.default)(xe,"".concat(ve,"-textarea-rtl"),"rtl"===V),(0,i.default)(xe,"".concat(ve,"-textarea-show-count"),O),(0,i.default)(xe,"".concat(ve,"-textarea-in-form-item"),K),xe),(0,w.getStatusClassNames)("".concat(ve,"-textarea"),G,Y),N),style:P,"data-count":Se},be,Y&&h.createElement("span",{className:"".concat(ve,"-textarea-suffix")},W))}return be}));t.default=D},20640:function(e,t,n){"use strict";var r=n(11742),a={"text/plain":"Text","text/html":"Url",default:"Text"};e.exports=function(e,t){var n,o,i,l,s,c,u=!1;t||(t={}),n=t.debug||!1;try{if(i=r(),l=document.createRange(),s=document.getSelection(),(c=document.createElement("span")).textContent=e,c.ariaHidden="true",c.style.all="unset",c.style.position="fixed",c.style.top=0,c.style.clip="rect(0, 0, 0, 0)",c.style.whiteSpace="pre",c.style.webkitUserSelect="text",c.style.MozUserSelect="text",c.style.msUserSelect="text",c.style.userSelect="text",c.addEventListener("copy",(function(r){if(r.stopPropagation(),t.format)if(r.preventDefault(),"undefined"===typeof r.clipboardData){n&&console.warn("unable to use e.clipboardData"),n&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var o=a[t.format]||a.default;window.clipboardData.setData(o,e)}else r.clipboardData.clearData(),r.clipboardData.setData(t.format,e);t.onCopy&&(r.preventDefault(),t.onCopy(r.clipboardData))})),document.body.appendChild(c),l.selectNodeContents(c),s.addRange(l),!document.execCommand("copy"))throw new Error("copy command was unsuccessful");u=!0}catch(d){n&&console.error("unable to copy using execCommand: ",d),n&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(t.format||"text",e),t.onCopy&&t.onCopy(window.clipboardData),u=!0}catch(d){n&&console.error("unable to copy using clipboardData: ",d),n&&console.error("falling back to prompt"),o=function(e){var t=(/mac os x/i.test(navigator.userAgent)?"\u2318":"Ctrl")+"+C";return e.replace(/#{\s*key\s*}/g,t)}("message"in t?t.message:"Copy to clipboard: #{key}, Enter"),window.prompt(o,e)}}finally{s&&("function"==typeof s.removeRange?s.removeRange(l):s.removeAllRanges()),c&&document.body.removeChild(c),i()}return u}},48429:function(e){"use strict";var t={},n="x",r=[],a=function(e){return r.push(e)},o=function(e,t){return t?t+"{"+e+"}":e},i=function(e,t,n){return"."+e+"{"+(t.replace(/[A-Z]|^ms/g,"-$&").toLowerCase()+":")+n+"}"},l=function(e){return e.replace(/&/g,"")},s=function e(s){var c=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",u=arguments[2];return Object.keys(s).map((function(d){var f=s[d];if(null===f)return"";if("object"===typeof f){var p=/^@/.test(d)?d:null;return e(f,p?c:c+d,p||u)}var h=d+f+c+u;if(t[h])return t[h];var m=n+r.length.toString(36);return a(o(i(m+l(c),d,f),u)),t[h]=m,m})).join(" ")};if(e.exports=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.map((function(e){return s(e)})).join(" ").trim()},e.exports.css=function(){return r.sort().join("")},e.exports.reset=function(){for(t={};r.length;)r.pop()},e.exports.prefix=function(e){return n=e},"undefined"!==typeof document){var c=document.head.appendChild(document.createElement("style")).sheet;a=function(e){r.push(e),c.insertRule(e,c.cssRules.length)}}},51919:function(){},12918:function(e,t,n){e.exports=n(89185)},75:function(e,t,n){var r=n(83454);(function(){var t,n,a;"undefined"!==typeof performance&&null!==performance&&performance.now?e.exports=function(){return performance.now()}:"undefined"!==typeof r&&null!==r&&r.hrtime?(e.exports=function(){return(t()-a)/1e6},n=r.hrtime,a=(t=function(){var e;return 1e9*(e=n())[0]+e[1]})()):Date.now?(e.exports=function(){return Date.now()-a},a=Date.now()):(e.exports=function(){return(new Date).getTime()-a},a=(new Date).getTime())}).call(this)},54087:function(e,t,n){for(var r=n(71407),a="undefined"===typeof window?n.g:window,o=["moz","webkit"],i="AnimationFrame",l=a["request"+i],s=a["cancel"+i]||a["cancelRequest"+i],c=0;!l&&c<o.length;c++)l=a[o[c]+"Request"+i],s=a[o[c]+"Cancel"+i]||a[o[c]+"CancelRequest"+i];if(!l||!s){var u=0,d=0,f=[];l=function(e){if(0===f.length){var t=r(),n=Math.max(0,16.666666666666668-(t-u));u=n+t,setTimeout((function(){var e=f.slice(0);f.length=0;for(var t=0;t<e.length;t++)if(!e[t].cancelled)try{e[t].callback(u)}catch(n){setTimeout((function(){throw n}),0)}}),Math.round(n))}
1return f.push({handle:++d,callback:e,cancelled:!1}),d},s=function(e){for(var t=0;t<f.length;t++)f[t].handle===e&&(f[t].cancelled=!0)}}e.exports=function(e){return l.call(a,e)},e.exports.cancel=function(){s.apply(a,arguments)},e.exports.polyfill=function(e){e||(e=a),e.requestAnimationFrame=l,e.cancelAnimationFrame=s}},71407:function(e,t,n){var r=n(83454);(function(){var t,n,a,o,i,l;"undefined"!==typeof performance&&null!==performance&&performance.now?e.exports=function(){return performance.now()}:"undefined"!==typeof r&&null!==r&&r.hrtime?(e.exports=function(){return(t()-i)/1e6},n=r.hrtime,o=(t=function(){var e;return 1e9*(e=n())[0]+e[1]})(),l=1e9*r.uptime(),i=o-l):Date.now?(e.exports=function(){return Date.now()-a},a=Date.now()):(e.exports=function(){return(new Date).getTime()-a},a=(new Date).getTime())}).call(this)},69590:function(e){"use strict";var t=Array.isArray,n=Object.keys,r=Object.prototype.hasOwnProperty,a="undefined"!==typeof Element;function o(e,i){if(e===i)return!0;if(e&&i&&"object"==typeof e&&"object"==typeof i){var l,s,c,u=t(e),d=t(i);if(u&&d){if((s=e.length)!=i.length)return!1;for(l=s;0!==l--;)if(!o(e[l],i[l]))return!1;return!0}if(u!=d)return!1;var f=e instanceof Date,p=i instanceof Date;if(f!=p)return!1;if(f&&p)return e.getTime()==i.getTime();var h=e instanceof RegExp,m=i instanceof RegExp;if(h!=m)return!1;if(h&&m)return e.toString()==i.toString();var y=n(e);if((s=y.length)!==n(i).length)return!1;for(l=s;0!==l--;)if(!r.call(i,y[l]))return!1;if(a&&e instanceof Element&&i instanceof Element)return e===i;for(l=s;0!==l--;)if(("_owner"!==(c=y[l])||!e.$$typeof)&&!o(e[c],i[c]))return!1;return!0}return e!==e&&i!==i}e.exports=function(e,t){try{return o(e,t)}catch(n){if(n.message&&n.message.match(/stack|recursion/i)||-2146828260===n.number)return console.warn("Warning: react-fast-compare does not handle circular references.",n.name,n.message),!1;throw n}}},97005:function(e,t,n){var r=n(67294);function a(e){return e&&"object"===typeof e&&"default"in e?e:{default:e}}var o=a(r);!function(e){if(!e||"undefined"===typeof window)return;const t=document.createElement("style");t.setAttribute("type","text/css"),t.innerHTML=e,document.head.appendChild(t)}('.rfm-marquee-container {\n overflow-x: hidden;\n display: flex;\n flex-direction: row;\n position: relative;\n width: var(--width);\n transform: var(--transform);\n}\n.rfm-marquee-container:hover div {\n animation-play-state: var(--pause-on-hover);\n}\n.rfm-marquee-container:active div {\n animation-play-state: var(--pause-on-click);\n}\n\n.rfm-overlay {\n position: absolute;\n width: 100%;\n height: 100%;\n}\n.rfm-overlay::before, .rfm-overlay::after {\n background: linear-gradient(to right, var(--gradient-color), rgba(255, 255, 255, 0));\n content: "";\n height: 100%;\n position: absolute;\n width: var(--gradient-width);\n z-index: 2;\n pointer-events: none;\n touch-action: none;\n}\n.rfm-overlay::after {\n right: 0;\n top: 0;\n transform: rotateZ(180deg);\n}\n.rfm-overlay::before {\n left: 0;\n top: 0;\n}\n\n.rfm-marquee {\n flex: 0 0 auto;\n min-width: var(--min-width);\n z-index: 1;\n display: flex;\n flex-direction: row;\n align-items: center;\n animation: scroll var(--duration) linear var(--delay) var(--iteration-count);\n animation-play-state: var(--play);\n animation-delay: var(--delay);\n animation-direction: var(--direction);\n}\n@keyframes scroll {\n 0% {\n transform: translateX(0%);\n }\n 100% {\n transform: translateX(-100%);\n }\n}\n\n.rfm-initial-child-container {\n flex: 0 0 auto;\n display: flex;\n min-width: auto;\n flex-direction: row;\n align-items: center;\n}\n\n.rfm-child {\n transform: var(--transform);\n}');const i=r.forwardRef((function({style:e={},className:t="",autoFill:n=!1,play:a=!0,pauseOnHover:i=!1,pauseOnClick:l=!1,direction:s="left",speed:c=50,delay:u=0,loop:d=0,gradient:f=!1,gradientColor:p="white",gradientWidth:h=200,onFinish:m,onCycleComplete:y,onMount:v,children:g},w){const[b,x]=r.useState(0),[C,S]=r.useState(0),[E,D]=r.useState(1),[k,O]=r.useState(!1),I=r.useRef(null),N=w||I,P=r.useRef(null),Z=r.useCallback((()=>
1{if(P.current&&N.current){const e=N.current.getBoundingClientRect(),t=P.current.getBoundingClientRect();let r=e.width,a=t.width;"up"!==s&&"down"!==s||(r=e.height,a=t.height),D(n&&r&&a&&a<r?Math.ceil(r/a):1),x(r),S(a)}}),[n,N,s]);r.useEffect((()=>{if(k&&(Z(),P.current&&N.current)){const e=new ResizeObserver((()=>Z()));return e.observe(N.current),e.observe(P.current),()=>{e&&e.disconnect()}}}),[Z,N,k]),r.useEffect((()=>{Z()}),[Z,g]),r.useEffect((()=>{O(!0)}),[]),r.useEffect((()=>{"function"===typeof v&&v()}),[]);const R=r.useMemo((()=>n?C*E/c:C<b?b/c:C/c),[n,b,C,E,c]),T=r.useMemo((()=>Object.assign(Object.assign({},e),{"--pause-on-hover":!a||i?"paused":"running","--pause-on-click":!a||i&&!l||l?"paused":"running","--width":"up"===s||"down"===s?"100vh":"100%","--transform":"up"===s?"rotate(-90deg)":"down"===s?"rotate(90deg)":"none"})),[e,a,i,l,s]),M=r.useMemo((()=>({"--gradient-color":p,"--gradient-width":"number"===typeof h?`${h}px`:h})),[p,h]),_=r.useMemo((()=>({"--play":a?"running":"paused","--direction":"left"===s?"normal":"reverse","--duration":`${R}s`,"--delay":`${u}s`,"--iteration-count":d?`${d}`:"infinite","--min-width":n?"auto":"100%"})),[a,s,R,u,d,n]),A=r.useMemo((()=>({"--transform":"up"===s?"rotate(90deg)":"down"===s?"rotate(-90deg)":"none"})),[s]),j=r.useCallback((e=>[...Array(Number.isFinite(e)&&e>=0?e:0)].map(((e,t)=>o.default.createElement(r.Fragment,{key:t},r.Children.map(g,(e=>o.default.createElement("div",{style:A,className:"rfm-child"},e))))))),[A,g]);return k?o.default.createElement("div",{ref:N,style:T,className:"rfm-marquee-container "+t},f&&o.default.createElement("div",{style:M,className:"rfm-overlay"}),o.default.createElement("div",{className:"rfm-marquee",style:_,onAnimationIteration:y,onAnimationEnd:m},o.default.createElement("div",{className:"rfm-initial-child-container",ref:P},r.Children.map(g,(e=>o.default.createElement("div",{style:A,className:"rfm-child"},e)))),j(E-1)),o.default.createElement("div",{className:"rfm-marquee",style:_},j(E))):null}));t.Z=i},88357:function(e,t,n){"use strict";n.d(t,{w_:function(){return c}});var r=n(67294),a={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},o=r.createContext&&r.createContext(a),i=function(){return i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var a in t=arguments[n])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e},i.apply(this,arguments)},l=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]])}return n};function s(e){return e&&e.map((function(e,t){return r.createElement(e.tag,i({key:t},e.attr),s(e.child))}))}function c(e){return function(t){return r.createElement(u,i({attr:i({},e.attr)},t),s(e.child))}}function u(e){var t=function(t){var n,a=e.attr,o=e.size,s=e.title,c=l(e,["attr","size","title"]),u=o||t.size||"1em";return t.className&&(n=t.className),e.className&&(n=(n?n+" ":"")+e.className),r.createElement("svg",i({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},t.attr,a,c,{className:n,style:i(i({color:e.color||t.color},t.style),e.style),height:u,width:u,xmlns:"http://www.w3.org/2000/svg"}),s&&r.createElement("title",null,s),e.children)};return void 0!==o?r.createElement(o.Consumer,null,(function(e){return t(e)})):t(a)}},89144:function(e,t,n){"use strict";t.__esModule=!0;var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();function o(e){return e&&e.__esModule?e:{default:e}}var i=o(n(94846)),l=o(n(79483)),s=o(n(2835)),c=o(n(75)),u=o(n(54087)),d=o(n(27739)),f=o(n(67294)),p=o(n(45697)),h=1e3/60,m=function(e){function t(n){var a=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),e.call(this,n),this.wasAnimating=!1,this.animationID=null,this.prevTime=0,this.accumulatedTime=0,this.unreadPropStyle=null,this.clearUnreadPropStyle=function(e){var t=!1,n=a.state,o=n.currentStyle,i=n.currentVelocity,l=n.lastIdealStyle,s=n.lastIdealVelocity;for(var c in e)if(Object.prototype.hasOwnProperty.call(e,c)){var u=e[c];"number"===typeof u&&(t||(t=!0,o=r({},o),i=r({},i),l=r({},l),s=r({}
1,s)),o[c]=u,i[c]=0,l[c]=u,s[c]=0)}t&&a.setState({currentStyle:o,currentVelocity:i,lastIdealStyle:l,lastIdealVelocity:s})},this.startAnimationIfNecessary=function(){a.animationID=u.default((function(e){var t=a.props.style;if(d.default(a.state.currentStyle,t,a.state.currentVelocity))return a.wasAnimating&&a.props.onRest&&a.props.onRest(),a.animationID=null,a.wasAnimating=!1,void(a.accumulatedTime=0);a.wasAnimating=!0;var n=e||c.default(),r=n-a.prevTime;if(a.prevTime=n,a.accumulatedTime=a.accumulatedTime+r,a.accumulatedTime>10*h&&(a.accumulatedTime=0),0===a.accumulatedTime)return a.animationID=null,void a.startAnimationIfNecessary();var o=(a.accumulatedTime-Math.floor(a.accumulatedTime/h)*h)/h,i=Math.floor(a.accumulatedTime/h),l={},u={},f={},p={};for(var m in t)if(Object.prototype.hasOwnProperty.call(t,m)){var y=t[m];if("number"===typeof y)f[m]=y,p[m]=0,l[m]=y,u[m]=0;else{for(var v=a.state.lastIdealStyle[m],g=a.state.lastIdealVelocity[m],w=0;w<i;w++){var b=s.default(h/1e3,v,g,y.val,y.stiffness,y.damping,y.precision);v=b[0],g=b[1]}var x=s.default(h/1e3,v,g,y.val,y.stiffness,y.damping,y.precision),C=x[0],S=x[1];f[m]=v+(C-v)*o,p[m]=g+(S-g)*o,l[m]=v,u[m]=g}}a.animationID=null,a.accumulatedTime-=i*h,a.setState({currentStyle:f,currentVelocity:p,lastIdealStyle:l,lastIdealVelocity:u}),a.unreadPropStyle=null,a.startAnimationIfNecessary()}))},this.state=this.defaultState()}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),a(t,null,[{key:"propTypes",value:{defaultStyle:p.default.objectOf(p.default.number),style:p.default.objectOf(p.default.oneOfType([p.default.number,p.default.object])).isRequired,children:p.default.func.isRequired,onRest:p.default.func},enumerable:!0}]),t.prototype.defaultState=function(){var e=this.props,t=e.defaultStyle,n=e.style,r=t||l.default(n),a=i.default(r);return{currentStyle:r,currentVelocity:a,lastIdealStyle:r,lastIdealVelocity:a}},t.prototype.componentDidMount=function(){this.prevTime=c.default(),this.startAnimationIfNecessary()},t.prototype.componentWillReceiveProps=function(e){null!=this.unreadPropStyle&&this.clearUnreadPropStyle(this.unreadPropStyle),this.unreadPropStyle=e.style,null==this.animationID&&(this.prevTime=c.default(),this.startAnimationIfNecessary())},t.prototype.componentWillUnmount=function(){null!=this.animationID&&(u.default.cancel(this.animationID),this.animationID=null)},t.prototype.render=function(){var e=this.props.children(this.state.currentStyle);return e&&f.default.Children.only(e)},t}(f.default.Component);t.default=m,e.exports=t.default},26506:function(e,t,n){"use strict";t.__esModule=!0;var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();function o(e){return e&&e.__esModule?e:{default:e}}var i=o(n(94846)),l=o(n(79483)),s=o(n(2835)),c=o(n(75)),u=o(n(54087)),d=o(n(27739)),f=o(n(67294)),p=o(n(45697)),h=1e3/60;var m=function(e){function t(n){var a=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),e.call(this,n),this.animationID=null,this.prevTime=0,this.accumulatedTime=0,this.unreadPropStyles=null,this.clearUnreadPropStyle=function(e){for(var t=a.state,n=t.currentStyles,o=t.currentVelocities,i=t.lastIdealStyles,l=t.lastIdealVelocities,s=!1,c=0;c<e.length;c++){var u=e[c],d=!1;for(var f in u)if(Object.prototype.hasOwnProperty.call(u,f)){var p=u[f];"number"===typeof p&&(d||(d=!0,s=!0,n[c]=r({},n[c]),o[c]=r({},o[c]),i[c]=r({},i[c]),l[c]=r({},l[c])),n[c][f]=p,o[c][f]=0,i[c][f]=p,l[c][f]=0)}}s&&a.setState({currentStyles:n,currentVelocities:o,lastIdealStyles:i,lastIdealVelocities:l})},this.startAnimationIfNecessary=function(){a.animationID=u.default((function(e){var t=a.props.styles(a.state.lastIdealStyles);if(function(e,t,n){for(var r=0;r<e.length;r++)if(!d.default(e[r],t[r],n[r]))return!1;return!0}(a.state.currentStyles,t,a.state.currentVelocities))return a.animationID=null,void(a.accumulatedTime=0);
1var n=e||c.default(),r=n-a.prevTime;if(a.prevTime=n,a.accumulatedTime=a.accumulatedTime+r,a.accumulatedTime>10*h&&(a.accumulatedTime=0),0===a.accumulatedTime)return a.animationID=null,void a.startAnimationIfNecessary();for(var o=(a.accumulatedTime-Math.floor(a.accumulatedTime/h)*h)/h,i=Math.floor(a.accumulatedTime/h),l=[],u=[],f=[],p=[],m=0;m<t.length;m++){var y=t[m],v={},g={},w={},b={};for(var x in y)if(Object.prototype.hasOwnProperty.call(y,x)){var C=y[x];if("number"===typeof C)v[x]=C,g[x]=0,w[x]=C,b[x]=0;else{for(var S=a.state.lastIdealStyles[m][x],E=a.state.lastIdealVelocities[m][x],D=0;D<i;D++){var k=s.default(h/1e3,S,E,C.val,C.stiffness,C.damping,C.precision);S=k[0],E=k[1]}var O=s.default(h/1e3,S,E,C.val,C.stiffness,C.damping,C.precision),I=O[0],N=O[1];v[x]=S+(I-S)*o,g[x]=E+(N-E)*o,w[x]=S,b[x]=E}}f[m]=v,p[m]=g,l[m]=w,u[m]=b}a.animationID=null,a.accumulatedTime-=i*h,a.setState({currentStyles:f,currentVelocities:p,lastIdealStyles:l,lastIdealVelocities:u}),a.unreadPropStyles=null,a.startAnimationIfNecessary()}))},this.state=this.defaultState()}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),a(t,null,[{key:"propTypes",value:{defaultStyles:p.default.arrayOf(p.default.objectOf(p.default.number)),styles:p.default.func.isRequired,children:p.default.func.isRequired},enumerable:!0}]),t.prototype.defaultState=function(){var e=this.props,t=e.defaultStyles,n=e.styles,r=t||n().map(l.default),a=r.map((function(e){return i.default(e)}));return{currentStyles:r,currentVelocities:a,lastIdealStyles:r,lastIdealVelocities:a}},t.prototype.componentDidMount=function(){this.prevTime=c.default(),this.startAnimationIfNecessary()},t.prototype.componentWillReceiveProps=function(e){null!=this.unreadPropStyles&&this.clearUnreadPropStyle(this.unreadPropStyles),this.unreadPropStyles=e.styles(this.state.lastIdealStyles),null==this.animationID&&(this.prevTime=c.default(),this.startAnimationIfNecessary())},t.prototype.componentWillUnmount=function(){null!=this.animationID&&(u.default.cancel(this.animationID),this.animationID=null)},t.prototype.render=function(){var e=this.props.children(this.state.currentStyles);return e&&f.default.Children.only(e)},t}(f.default.Component);t.default=m,e.exports=t.default},921:function(e,t,n){"use strict";t.__esModule=!0;var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();function o(e){return e&&e.__esModule?e:{default:e}}var i=o(n(94846)),l=o(n(79483)),s=o(n(2835)),c=o(n(48505)),u=o(n(75)),d=o(n(54087)),f=o(n(27739)),p=o(n(67294)),h=o(n(45697)),m=1e3/60;function y(e,t,n){var r=t;return null==r?e.map((function(e,t){return{key:e.key,data:e.data,style:n[t]}})):e.map((function(e,t){for(var a=0;a<r.length;a++)if(r[a].key===e.key)return{key:r[a].key,data:r[a].data,style:n[t]};return{key:e.key,data:e.data,style:n[t]}}))}function v(e,t,n,r,a,o,l,s,u){for(var d=c.default(r,a,(function(e,r){var a=t(r);return null==a||f.default(o[e],a,l[e])?(n({key:r.key,data:r.data}),null):{key:r.key,data:r.data,style:a}})),p=[],h=[],m=[],y=[],v=0;v<d.length;v++){for(var g=d[v],w=null,b=0;b<r.length;b++)if(r[b].key===g.key){w=b;break}if(null==w){var x=e(g);p[v]=x,m[v]=x;var C=i.default(g.style);h[v]=C,y[v]=C}else p[v]=o[w],m[v]=s[w],h[v]=l[w],y[v]=u[w]}return[d,p,h,m,y]}var g=function(e){function t(n){var a=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),e.call(this,n),this.unmounting=!1,this.animationID=null,this.prevTime=0,this.accumulatedTime=0,this.unreadPropStyles=null,this.clearUnreadPropStyle=function(e){for(var t=v(a.props.willEnter,a.props.willLeave,a.props.didLeave,a.state.mergedPropsStyles,e,a.state.currentStyles,a.state.currentVelocities,a.state.lastIdealStyles,a.state.lastIdealVelocities),n=t[0],o=t[1],i=t[2],l=t[3],s=t[4],c=0;c<e.length;c++){var u=e[c].style,d=!1;for(var f in u)if(Object.prototype.hasOwnProperty.call(u,f)){var p=u[f];"number"===typeof p&&(d||(d=!0,o[c]=r({},o[c]),i[c]=r({},i[c]),l[c]=r({},l[c]),s[c]=r({},s[c]),n[c]={key:n[c].key,data:n[c].data,style:r({},n[c].style)}),o[c][f]=p,i[c][f]=0,l[c][f]=p,s[c][f]=0,n[c].style[f]=p)}}a.setState({currentStyles:o,currentVelocities:i,mergedPropsStyles:n,lastIdealStyles:l,lastIdealVelocities:s})},this.startAnimationIfNecessary=function(){a.unmounting||(a.animationID=d.default((function(e){if(!a.unmounting){var t=a.props.styles,n="function"===typeof t?t(y(a.state.mergedPropsStyles,a.unreadPropStyles,a.state.lastIdealStyles)):t;if(function(e,t,n,r){if(r.length!==t.length)return!1;for(var a=0;a<r.length;a++)if(r[a].key!==t[a].key)return!1;for(a=0;a<r.length;a++)if(!f.default(e[a],t[a].style,n[a]))return!1;return!0}(a.state.currentStyles,n,a.state.currentVelocities,a.state.mergedPropsStyles))return a.animationID=null,void(a.accumulatedTime=0);var r=e||u.default(),o=r-a.prevTime;
1if(a.prevTime=r,a.accumulatedTime=a.accumulatedTime+o,a.accumulatedTime>10*m&&(a.accumulatedTime=0),0===a.accumulatedTime)return a.animationID=null,void a.startAnimationIfNecessary();for(var i=(a.accumulatedTime-Math.floor(a.accumulatedTime/m)*m)/m,l=Math.floor(a.accumulatedTime/m),c=v(a.props.willEnter,a.props.willLeave,a.props.didLeave,a.state.mergedPropsStyles,n,a.state.currentStyles,a.state.currentVelocities,a.state.lastIdealStyles,a.state.lastIdealVelocities),d=c[0],p=c[1],h=c[2],g=c[3],w=c[4],b=0;b<d.length;b++){var x=d[b].style,C={},S={},E={},D={};for(var k in x)if(Object.prototype.hasOwnProperty.call(x,k)){var O=x[k];if("number"===typeof O)C[k]=O,S[k]=0,E[k]=O,D[k]=0;else{for(var I=g[b][k],N=w[b][k],P=0;P<l;P++){var Z=s.default(m/1e3,I,N,O.val,O.stiffness,O.damping,O.precision);I=Z[0],N=Z[1]}var R=s.default(m/1e3,I,N,O.val,O.stiffness,O.damping,O.precision),T=R[0],M=R[1];C[k]=I+(T-I)*i,S[k]=N+(M-N)*i,E[k]=I,D[k]=N}}g[b]=E,w[b]=D,p[b]=C,h[b]=S}a.animationID=null,a.accumulatedTime-=l*m,a.setState({currentStyles:p,currentVelocities:h,lastIdealStyles:g,lastIdealVelocities:w,mergedPropsStyles:d}),a.unreadPropStyles=null,a.startAnimationIfNecessary()}})))},this.state=this.defaultState()}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),a(t,null,[{key:"propTypes",value:{defaultStyles:h.default.arrayOf(h.default.shape({key:h.default.string.isRequired,data:h.default.any,style:h.default.objectOf(h.default.number).isRequired})),styles:h.default.oneOfType([h.default.func,h.default.arrayOf(h.default.shape({key:h.default.string.isRequired,data:h.default.any,style:h.default.objectOf(h.default.oneOfType([h.default.number,h.default.object])).isRequired}))]).isRequired,children:h.default.func.isRequired,willEnter:h.default.func,willLeave:h.default.func,didLeave:h.default.func},enumerable:!0},{key:"defaultProps",value:{willEnter:function(e){return l.default(e.style)},willLeave:function(){return null},didLeave:function(){}},enumerable:!0}]),t.prototype.defaultState=function(){var e=this.props,t=e.defaultStyles,n=e.styles,r=e.willEnter,a=e.willLeave,o=e.didLeave,s="function"===typeof n?n(t):n,c=void 0;c=null==t?s:t.map((function(e){for(var t=0;t<s.length;t++)if(s[t].key===e.key)return s[t];return e}));var u=null==t?s.map((function(e){return l.default(e.style)})):t.map((function(e){return l.default(e.style)})),d=null==t?s.map((function(e){return i.default(e.style)})):t.map((function(e){return i.default(e.style)})),f=v(r,a,o,c,s,u,d,u,d),p=f[0];return{currentStyles:f[1],currentVelocities:f[2],lastIdealStyles:f[3],lastIdealVelocities:f[4],mergedPropsStyles:p}},t.prototype.componentDidMount=function(){this.prevTime=u.default(),this.startAnimationIfNecessary()},t.prototype.componentWillReceiveProps=function(e){this.unreadPropStyles&&this.clearUnreadPropStyle(this.unreadPropStyles);var t=e.styles;this.unreadPropStyles="function"===typeof t?t(y(this.state.mergedPropsStyles,this.unreadPropStyles,this.state.lastIdealStyles)):t,null==this.animationID&&(this.prevTime=u.default(),this.startAnimationIfNecessary())},t.prototype.componentWillUnmount=function(){this.unmounting=!0,null!=this.animationID&&(d.default.cancel(this.animationID),this.animationID=null)},t.prototype.render=function(){var e=y(this.state.mergedPropsStyles,this.unreadPropStyles,this.state.currentStyles),t=this.props.children(e);return t&&p.default.Children.only(t)},t}(p.default.Component);t.default=g,e.exports=t.default},94846:function(e,t){"use strict";t.__esModule=!0,t.default=function(e){var t={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=0);return t},e.exports=t.default},48505:function(e,t){"use strict";t.__esModule=!0,t.default=function(e,t,n){for(var r={},a=0;a<e.length;a++)r[e[a].key]=a;var o={};for(a=0;a<t.length;a++)o[t[a].key]=a;var i=[];for(a=0;a<t.length;a++)i[a]=t[a];for(a=0;a<e.length;a++)if(!Object.prototype.hasOwnProperty.call(o,e[a].key)){var l=n(a,e[a]);null!=l&&i.push(l)}return i.sort((function(e,n){var a=o[e.key],i=o[n.key],l=r[e.key],s=r[n.key];if(null!=a&&null!=i)return o[e.key]-o[n.key];if(null!=l&&null!=s)return r[e.key]-r[n.key];if(null!=a){for(var c=0;c<t.length;c++){var u=t[c].key;if(Object.prototype.hasOwnProperty.call(r,u)){if(a<o[u]&&s>r[u])return-1;if(a>o[u]&&s<r[u])return 1}}return 1}for(c=0;c<t.length;c++){u=t[c].key;if(Object.prototype.hasOwnProperty.call(r,u)){if(i<o[u]&&l>r[u])return 1;if(i>o[u]&&l<r[u])return-1}}return-1}))},e.exports=t.default},72392:function(e,t){"use strict";t.__esModule=!0,t.default={noWobble:{stiffness:170,damping:26},gentle:{stiffness:120,damping:14},wobbly:{stiffness:180,damping:12},stiff:{stiffness:210,damping:20}},e.exports=t.default},37727:function(e,t,n){"use strict";
1function r(e){return e&&e.__esModule?e.default:e}r(n(89144)),r(n(26506));var a=n(921);t.bg=r(a);var o=n(20124);t.ST=r(o),r(n(72392)),r(n(79483)),r(n(49566))},49566:function(e,t){"use strict";t.__esModule=!0,t.default=function(){0};e.exports=t.default},27739:function(e,t){"use strict";t.__esModule=!0,t.default=function(e,t,n){for(var r in t)if(Object.prototype.hasOwnProperty.call(t,r)){if(0!==n[r])return!1;var a="number"===typeof t[r]?t[r]:t[r].val;if(e[r]!==a)return!1}return!0},e.exports=t.default},20124:function(e,t,n){"use strict";t.__esModule=!0;var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.default=function(e,t){return r({},l,t,{val:e})};var a,o=n(72392),i=(a=o)&&a.__esModule?a:{default:a},l=r({},i.default.noWobble,{precision:.01});e.exports=t.default},2835:function(e,t){"use strict";t.__esModule=!0,t.default=function(e,t,r,a,o,i,l){var s=r+(-o*(t-a)+-i*r)*e,c=t+s*e;if(Math.abs(s)<l&&Math.abs(c-a)<l)return n[0]=a,n[1]=0,n;return n[0]=c,n[1]=s,n};var n=[0,0];e.exports=t.default},79483:function(e,t){"use strict";t.__esModule=!0,t.default=function(e){var t={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]="number"===typeof e[n]?e[n]:e[n].val);return t},e.exports=t.default},37184:function(e,t,n){"use strict";n.d(t,{Z:function(){return y}});var r=n(67294),a=n(37727),o=n(48429),i=n.n(o),l=n(69590),s=n.n(l),c="undefined"!==typeof window?window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(e){window.setTimeout(e,1e3/60)}:function(){},u=function(e,t){if(!window.requestAnimationFrame&&!window.webkitRequestAnimationFrame&&(!window.mozRequestAnimationFrame||!window.mozCancelRequestAnimationFrame)&&!window.oRequestAnimationFrame&&!window.msRequestAnimationFrame)return window.setTimeout(e,t);var n=(new Date).getTime(),r={value:0};return r.value=c((function a(){(new Date).getTime()-n>=t?e.call(null):r.value=c(a)})),r},d=function(e){return window.cancelAnimationFrame?window.cancelAnimationFrame(e.value):window.webkitCancelAnimationFrame?window.webkitCancelAnimationFrame(e.value):window.webkitCancelRequestAnimationFrame?window.webkitCancelRequestAnimationFrame(e.value):window.mozCancelRequestAnimationFrame?window.mozCancelRequestAnimationFrame(e.value):window.oCancelRequestAnimationFrame?window.oCancelRequestAnimationFrame(e.value):window.msCancelRequestAnimationFrame?window.msCancelRequestAnimationFrame(e.value):clearTimeout(e)};function f(){return f=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},f.apply(this,arguments)}function p(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function h(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var m=function(e){var t,n;function o(t){var n;h(p(n=e.call(this,t)||this),"isUnMounting",!1),h(p(n),"tickDelay",0),h(p(n),"tickLoop",0),h(p(n),"wordBox",null),h(p(n),"willLeave",(function(){var e=n.getDimensions().height;return{opacity:(0,a.ST)(n.getOpacity(),n.props.springConfig),translate:(0,a.ST)(-e,n.props.springConfig)}})),h(p(n),"willEnter",(function(){var e=n.getDimensions().height;return{opacity:n.getOpacity(),translate:e}})),h(p(n),"tick",(function(){n.isUnMounting||n.setState((function(e,t){var n=(e.currentWordIndex+1)%e.elements.length,r={currentWordIndex:n,currentEl:e.elements[n],wordCount:(e.wordCount+1)%1e3,currentInterval:Array.isArray(t.interval)?t.interval[n%t.interval.length]:t.interval};return t.onChange&&t.onChange(r),r}),(function(){n.state.currentInterval>0&&(n.clearTimeouts(),n.tickLoop=u(n.tick,n.state.currentInterval))}))})),h(p(n),"wrapperStyles",i()(f({},n.props.mask&&{overflow:"hidden"},{},{display:"inline-block",position:"relative",verticalAlign:"top"}))),h(p(n),"elementStyles",i()({display:"inline-block",left:0,top:0,whiteSpace:n.props.noWrap?"nowrap":"normal"}));var o=r.Children.toArray(t.children);return n.state={elements:o,currentEl:o[0],currentWordIndex:0,wordCount:0,currentInterval:Array.isArray(t.interval)?t.interval[0]:t.interval},n}n=e,(t=o).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var l=o.prototype;return l.componentDidMount=function(){var e=this,t=this.props.delay,n=this.state,r=n.currentInterval,a=n.elements;r>0&&a.length>1&&(this.tickDelay=u((function(){e.tickLoop=u(e.tick,r)}),t))},l.componentDidUpdate=function(e,t){var n=this,a=this.props,o=a.interval,i=a.children,l=a.delay,c=this.state.currentWordIndex,d=Array.isArray(o)?o[c%o.length]:o;t.currentInterval!==d&&(this.clearTimeouts(),d>0&&r.Children.count(i)>1?this.tickDelay=u((function(){n.tickLoop=u(n.tick,d)}),l):this.setState((function(e,t){var n=e.currentWordIndex;return{currentInterval:Array.isArray(t.interval)?t.interval[n%t.interval.length]:t.interval}}))),s()(e.children,i)||this.setState({elements:r.Children.toArray(i)})},l.componentWillUnmount=function(){this.isUnMounting=!0,this.clearTimeouts()},l.clearTimeouts=function(){null!=this.tickLoop&&d(this.tickLoop),null!=this.tickDelay&&d(this.tickDelay)},l.getOpacity=function(){return this.props.fade?0:1},l.getDimensions=function(){return null==this.wordBox?{width:0,height:0}:this.wordBox.getBoundingClientRect()},l.getTransitionMotionStyles=function(){var e=this.props.springConfig,t=this.state;return[{key:"step-"+t.wordCount,data:{currentEl:t.currentEl},style:{opacity:(0,a.ST)(1,e),translate:(0,a.ST)(0,e)}}]},l.render=function(){var e=this,t=this.props.className,n=void 0===t?"":t;return r.createElement("div",{className:this.wrapperStyles+" "+n},r.createElement(a.bg,{willLeave:this.willLeave,willEnter:this.willEnter,styles:this.getTransitionMotionStyles()},(function(t){var n=e.getDimensions(),a=n.height,o=n.width,i=null==e.wordBox?"auto":o,l=null==e.wordBox?"auto":a;return r.createElement("div",{style:{transition:"width "+e.props.adjustingSpeed+"ms linear",height:l,width:i}},t.map((function(t){return r.createElement("div",{className:e.elementStyles,ref:function(t){e.wordBox=t},key:t.key,style:{opacity:t.style.opacity,transform:"translateY("+t.style.translate+"px)",position:null==e.wordBox?"relative":"absolute"}},t.data.currentEl)})))}
1)))},o}(r.PureComponent);h(m,"defaultProps",{interval:3e3,delay:0,adjustingSpeed:150,springConfig:{stiffness:340,damping:30},fade:!0,mask:!1,noWrap:!0});var y=m},11742:function(e){e.exports=function(){var e=document.getSelection();if(!e.rangeCount)return function(){};for(var t=document.activeElement,n=[],r=0;r<e.rangeCount;r++)n.push(e.getRangeAt(r));switch(t.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":t.blur();break;default:t=null}return e.removeAllRanges(),function(){"Caret"===e.type&&e.removeAllRanges(),e.rangeCount||n.forEach((function(t){e.addRange(t)})),t&&t.focus()}}},82084:function(e,t,n){"use strict";n.d(t,{ZP:function(){return p}});var r=n(67294);const a={x:0,y:0,width:0,height:0,unit:"px"},o=(e,t,n)=>Math.min(Math.max(e,t),n),i=(e,t)=>e===t||e.width===t.width&&e.height===t.height&&e.x===t.x&&e.y===t.y&&e.unit===t.unit;function l(e,t,n){return"%"===e.unit?{...a,...e,unit:"%"}:{unit:"%",x:e.x?e.x/t*100:0,y:e.y?e.y/n*100:0,width:e.width?e.width/t*100:0,height:e.height?e.height/n*100:0}}function s(e,t,n){return e.unit?"px"===e.unit?{...a,...e,unit:"px"}:{unit:"px",x:e.x?e.x*t/100:0,y:e.y?e.y*n/100:0,width:e.width?e.width*t/100:0,height:e.height?e.height*n/100:0}:{...a,...e,unit:"px"}}function c(e,t,n,r,a,o=0,i=0,l=r,s=a){const c={...e};let u=Math.min(o,r),d=Math.min(i,a),f=Math.min(l,r),p=Math.min(s,a);t&&(t>1?(u=i?i*t:u,d=u/t,f=l*t):(d=o?o/t:d,u=d*t,p=s/t)),c.y<0&&(c.height=Math.max(c.height+c.y,d),c.y=0),c.x<0&&(c.width=Math.max(c.width+c.x,u),c.x=0);const h=r-(c.x+c.width);h<0&&(c.x=Math.min(c.x,r-u),c.width+=h);const m=a-(c.y+c.height);if(m<0&&(c.y=Math.min(c.y,a-d),c.height+=m),c.width<u&&(("sw"===n||"nw"==n)&&(c.x-=u-c.width),c.width=u),c.height<d&&(("nw"===n||"ne"==n)&&(c.y-=d-c.height),c.height=d),c.width>f&&(("sw"===n||"nw"==n)&&(c.x-=f-c.width),c.width=f),c.height>p&&(("nw"===n||"ne"==n)&&(c.y-=p-c.height),c.height=p),t){const e=c.width/c.height;if(e<t){const e=Math.max(c.width/t,d);("nw"===n||"ne"==n)&&(c.y-=e-c.height),c.height=e}else if(e>t){const e=Math.max(c.height*t,u);("sw"===n||"nw"==n)&&(c.x-=e-c.width),c.width=e}}return c}const u={capture:!0,passive:!1};let d=0;const f=class e extends r.PureComponent{constructor(){super(...arguments),this.docMoveBound=!1,this.mouseDownOnCrop=!1,this.dragStarted=!1,this.evData={startClientX:0,startClientY:0,startCropX:0,startCropY:0,clientX:0,clientY:0,isResize:!0},this.componentRef=(0,r.createRef)(),this.mediaRef=(0,r.createRef)(),this.initChangeCalled=!1,this.instanceId="rc-"+d++,this.state={cropIsActive:!1,newCropIsBeingDrawn:!1},this.onCropPointerDown=e=>{const{crop:t,disabled:n}=this.props,r=this.getBox();if(!t)return;const a=s(t,r.width,r.height);if(n)return;e.cancelable&&e.preventDefault(),this.bindDocMove(),this.componentRef.current.focus({preventScroll:!0});const o=e.target.dataset.ord,i=!!o;let l=e.clientX,c=e.clientY,u=a.x,d=a.y;if(o){const t=e.clientX-r.x,n=e.clientY-r.y;let i=0,s=0;"ne"===o||"e"==o?(i=t-(a.x+a.width),s=n-a.y,u=a.x,d=a.y+a.height):"se"===o||"s"===o?(i=t-(a.x+a.width),s=n-(a.y+a.height),u=a.x,d=a.y):"sw"===o||"w"==o?(i=t-a.x,s=n-(a.y+a.height),u=a.x+a.width,d=a.y):("nw"===o||"n"==o)&&(i=t-a.x,s=n-a.y,u=a.x+a.width,d=a.y+a.height),l=u+r.x+i,c=d+r.y+s}this.evData={startClientX:l,startClientY:c,startCropX:u,startCropY:d,clientX:e.clientX,clientY:e.clientY,isResize:i,ord:o},this.mouseDownOnCrop=!0,this.setState({cropIsActive:!0})},this.onComponentPointerDown=e=>{const{crop:t,disabled:n,locked:r,keepSelection:a,onChange:o}=this.props,i=this.getBox();if(n||r||a&&t)return;e.cancelable&&e.preventDefault(),this.bindDocMove(),this.componentRef.current.focus({preventScroll:!0});const c=e.clientX-i.x,u=e.clientY-i.y,d={unit:"px",x:c,y:u,width:0,height:0};this.evData={startClientX:e.clientX,startClientY:e.clientY,startCropX:c,startCropY:u,clientX:e.clientX,clientY:e.clientY,isResize:!0},this.mouseDownOnCrop=!0,o(s(d,i.width,i.height),l(d,i.width,i.height)),this.setState({cropIsActive:!0,newCropIsBeingDrawn:!0})},this.onDocPointerMove=e=>{const{crop:t,disabled:n,onChange:r,onDragStart:a}=this.props,o=this.getBox();if(n||!t||!this.mouseDownOnCrop)return;e.cancelable&&e.preventDefault(),this.dragStarted||(this.dragStarted=!0,a&&a(e));const{evData:c}=this;let u;c.clientX=e.clientX,c.clientY=e.clientY,u=c.isResize?this.resizeCrop():this.dragCrop(),i(t,u)||r(s(u,o.width,o.height),l(u,o.width,o.height))},this.onComponentKeyDown=t=>{const{crop:n,disabled:r,onChange:a,onComplete:i}=this.props;if(r)return;const c=t.key;let u=!1;if(!n)return;const d=this.getBox(),f=this.makePixelCrop(d),p=(navigator.platform.match("Mac")?t.metaKey:t.ctrlKey)?e.nudgeStepLarge:t.shiftKey?e.nudgeStepMedium:e.nudgeStep;if("ArrowLeft"===c?(f.x-=p,u=!0):"ArrowRight"===c?(f.x+=p,u=!0):"ArrowUp"===c?(f.y-=p,u=!0):"ArrowDown"===c&&(f.y+=p,u=!0),u){t.cancelable&&t.preventDefault(),f.x=o(f.x,0,d.width-f.width),f.y=o(f.y,0,d.height-f.height);const e=s(f,d.width,d.height),n=l(f,d.width,d.height);a(e,n),i&&i(e,n)}},this.onHandlerKeyDown=(t,n)=>{const{aspect:r=0,crop:a,disabled:o,minWidth:u=0,minHeight:d=0,maxWidth:f,maxHeight:p,onChange:h,onComplete:m}=this.props,y=this.getBox();if(o||!a)return;if("ArrowUp"!==t.key&&"ArrowDown"!==t.key&&"ArrowLeft"!==t.key&&"ArrowRight"!==t.key)return;t.stopPropagation(),t.preventDefault();const v=(navigator.platform.match("Mac")?t.metaKey:t.ctrlKey)?e.nudgeStepLarge:t.shiftKey?e.nudgeStepMedium:e.nudgeStep,g=function(e,t,n,r){const a={...e};return"ArrowLeft"===t?"nw"===r?(a.x-=n,a.y-=n,a.width+=n,a.height+=n):"w"===r?(a.x-=n,a.width+=n):"sw"===r?(a.x-=n,a.width+=n,a.height+=n):"ne"===r?(a.y+=n,a.width-=n,a.height-=n):"e"===r?a.width-=n:"se"===r&&(a.width-=n,a.height-=n):"ArrowRight"===t&&("nw"===r?(a.x+=n,a.y+=n,a.width-=n,a.height-=n):"w"===r?(a.x+=n,a.width-=n):"sw"===r?(a.x+=n,a.width-=n,a.height-=n):"ne"===r?(a.y-=n,a.width+=n,a.height+=n):"e"===r?a.width+=n:"se"===r&&(a.width+=n,a.height+=n)),"ArrowUp"===t?"nw"===r?(a.x-=n,a.y-=n,a.width+=n,a.height+=n):"n"===r?(a.y-=n,a.height+=n):"ne"===r?(a.y-=n,a.width+=n,a.height+=n):"sw"===r?(a.x+=n,a.width-=n,a.height-=n):"s"===r?a.height-=n:"se"===r&&(a.width-=n,a.height-=n):"ArrowDown"===t&&("nw"===r?(a.x+=n,a.y+=n,a.width-=n,a.height-=n):"n"===r?(a.y+=n,a.height-=n):"ne"===r?(a.y+=n,a.width-=n,a.height-=n):"sw"===r?(a.x-=n,a.width+=n,a.height+=n):"s"===r?a.height+=n:"se"===r&&(a.width+=n,a.height+=n)),a}(s(a,y.width,y.height),t.key,v,n),w=c(g,r,n,y.width,y.height,u,d,f,p);if(!i(a,w)){const e=l(w,y.width,y.height);h(w,e),m&&m(w,e)}},this.onDocPointerDone=e=>{const{crop:t,disabled:n,onComplete:r,onDragEnd:a}=this.props,o=this.getBox();this.unbindDocMove(),!n&&t&&this.mouseDownOnCrop&&(this.mouseDownOnCrop=!1,this.dragStarted=!1,a&&a(e),r&&r(s(t,o.width,o.height),l(t,o.width,o.height)),this.setState({cropIsActive:!1,newCropIsBeingDrawn:!1}))},this.onDragFocus=()=>{var e;null==(e=this.componentRef.current)||e.scrollTo(0,0)}}get document(){return document}getBox(){const e=this.mediaRef.current;if(!e)return{x:0,y:0,width:0,height:0};const{x:t,y:n,width:r,height:a}=e.getBoundingClientRect();return{x:t,y:n,width:r,height:a}}componentDidUpdate(e){const{crop:t,onComplete:n}=this.props;if(n&&!e.crop&&t){const{width:e,height:r}=this.getBox();e&&r&&n(s(t,e,r),l(t,e,r))}}componentWillUnmount(){this.resizeObserver&&this.resizeObserver.disconnect()}bindDocMove(){this.docMoveBound||(this.document.addEventListener("pointermove",this.onDocPointerMove,u),this.document.addEventListener("pointerup",this.onDocPointerDone,u),this.document.addEventListener("pointercancel",this.onDocPointerDone,u),this.docMoveBound=!0)}
1unbindDocMove(){this.docMoveBound&&(this.document.removeEventListener("pointermove",this.onDocPointerMove,u),this.document.removeEventListener("pointerup",this.onDocPointerDone,u),this.document.removeEventListener("pointercancel",this.onDocPointerDone,u),this.docMoveBound=!1)}getCropStyle(){const{crop:e}=this.props;if(e)return{top:`${e.y}${e.unit}`,left:`${e.x}${e.unit}`,width:`${e.width}${e.unit}`,height:`${e.height}${e.unit}`}}dragCrop(){const{evData:e}=this,t=this.getBox(),n=this.makePixelCrop(t),r=e.clientX-e.startClientX,a=e.clientY-e.startClientY;return n.x=o(e.startCropX+r,0,t.width-n.width),n.y=o(e.startCropY+a,0,t.height-n.height),n}getPointRegion(e,t,n,r){const{evData:a}=this,o=a.clientX-e.x,i=a.clientY-e.y;let l,s;return l=r&&t?"nw"===t||"n"===t||"ne"===t:i<a.startCropY,s=n&&t?"nw"===t||"w"===t||"sw"===t:o<a.startCropX,s?l?"nw":"sw":l?"ne":"se"}resolveMinDimensions(e,t,n=0,r=0){const a=Math.min(n,e.width),o=Math.min(r,e.height);return t&&(a||o)?t>1?a?[a,a/t]:[o*t,o]:o?[o*t,o]:[a,a/t]:[a,o]}resizeCrop(){const{evData:t}=this,{aspect:n=0,maxWidth:r,maxHeight:a}=this.props,i=this.getBox(),[l,s]=this.resolveMinDimensions(i,n,this.props.minWidth,this.props.minHeight);let u=this.makePixelCrop(i);const d=this.getPointRegion(i,t.ord,l,s),f=t.ord||d;let p=t.clientX-t.startClientX,h=t.clientY-t.startClientY;(l&&"nw"===f||"w"===f||"sw"===f)&&(p=Math.min(p,-l)),(s&&"nw"===f||"n"===f||"ne"===f)&&(h=Math.min(h,-s));const m={unit:"px",x:0,y:0,width:0,height:0};"ne"===d?(m.x=t.startCropX,m.width=p,n?(m.height=m.width/n,m.y=t.startCropY-m.height):(m.height=Math.abs(h),m.y=t.startCropY-m.height)):"se"===d?(m.x=t.startCropX,m.y=t.startCropY,m.width=p,m.height=n?m.width/n:h):"sw"===d?(m.x=t.startCropX+p,m.y=t.startCropY,m.width=Math.abs(p),m.height=n?m.width/n:h):"nw"===d&&(m.x=t.startCropX+p,m.width=Math.abs(p),n?(m.height=m.width/n,m.y=t.startCropY-m.height):(m.height=Math.abs(h),m.y=t.startCropY+h));const y=c(m,n,d,i.width,i.height,l,s,r,a);return n||e.xyOrds.indexOf(f)>-1?u=y:e.xOrds.indexOf(f)>-1?(u.x=y.x,u.width=y.width):e.yOrds.indexOf(f)>-1&&(u.y=y.y,u.height=y.height),u.x=o(u.x,0,i.width-u.width),u.y=o(u.y,0,i.height-u.height),u}renderCropSelection(){const{ariaLabels:t=e.defaultProps.ariaLabels,disabled:n,locked:a,renderSelectionAddon:o,ruleOfThirds:i,crop:l}=this.props,s=this.getCropStyle();if(l)return r.createElement("div",{style:s,className:"ReactCrop__crop-selection",onPointerDown:this.onCropPointerDown,"aria-label":t.cropArea,tabIndex:0,onKeyDown:this.onComponentKeyDown,role:"group"},!n&&!a&&r.createElement("div",{className:"ReactCrop__drag-elements",onFocus:this.onDragFocus},r.createElement("div",{className:"ReactCrop__drag-bar ord-n","data-ord":"n"}),r.createElement("div",{className:"ReactCrop__drag-bar ord-e","data-ord":"e"}),r.createElement("div",{className:"ReactCrop__drag-bar ord-s","data-ord":"s"}),r.createElement("div",{className:"ReactCrop__drag-bar ord-w","data-ord":"w"}),r.createElement("div",{className:"ReactCrop__drag-handle ord-nw","data-ord":"nw",tabIndex:0,"aria-label":t.nwDragHandle,onKeyDown:e=>this.onHandlerKeyDown(e,"nw"),role:"button"}),r.createElement("div",{className:"ReactCrop__drag-handle ord-n","data-ord":"n",tabIndex:0,"aria-label":t.nDragHandle,onKeyDown:e=>this.onHandlerKeyDown(e,"n"),role:"button"}),r.createElement("div",{className:"ReactCrop__drag-handle ord-ne","data-ord":"ne",tabIndex:0,"aria-label":t.neDragHandle,onKeyDown:e=>this.onHandlerKeyDown(e,"ne"),role:"button"}),r.createElement("div",{className:"ReactCrop__drag-handle ord-e","data-ord":"e",tabIndex:0,"aria-label":t.eDragHandle,onKeyDown:e=>this.onHandlerKeyDown(e,"e"),role:"button"}),r.createElement("div",{className:"ReactCrop__drag-handle ord-se","data-ord":"se",tabIndex:0,"aria-label":t.seDragHandle,onKeyDown:e=>this.onHandlerKeyDown(e,"se"),role:"button"}),r.createElement("div",{className:"ReactCrop__drag-handle ord-s","data-ord":"s",tabIndex:0,"aria-label":t.sDragHandle,onKeyDown:e=>this.onHandlerKeyDown(e,"s"),role:"button"}),r.createElement("div",{className:"ReactCrop__drag-handle ord-sw","data-ord":"sw",tabIndex:0,"aria-label":t.swDragHandle,onKeyDown:e=>this.onHandlerKeyDown(e,"sw"),role:"button"}),r.createElement("div",{className:"ReactCrop__drag-handle ord-w","data-ord":"w",tabIndex:0,"aria-label":t.wDragHandle,onKeyDown:e=>this.onHandlerKeyDown(e,"w"),role:"button"})),o&&r.createElement("div",{className:"ReactCrop__selection-addon",onPointerDown:e=>e.stopPropagation()},o(this.state)),i&&r.createElement(r.Fragment,null,r.createElement("div",{className:"ReactCrop__rule-of-thirds-hz"}),r.createElement("div",{className:"ReactCrop__rule-of-thirds-vt"})))}makePixelCrop(e){return s({...a,...this.props.crop||{}},e.width,e.height)}render(){const{aspect:e,children:t,circularCrop:n,className:a,crop:o,disabled:i,locked:l,style:s,ruleOfThirds:c}=this.props,{cropIsActive:u,newCropIsBeingDrawn:d}=this.state,f=o?this.renderCropSelection():null,p=((...e)=>e.filter((e=>e&&"string"==typeof e)).join(" "))("ReactCrop",a,u&&"ReactCrop--active",i&&"ReactCrop--disabled",l&&"ReactCrop--locked",d&&"ReactCrop--new-crop",o&&e&&"ReactCrop--fixed-aspect",o&&n&&"ReactCrop--circular-crop",o&&c&&"ReactCrop--rule-of-thirds",!this.dragStarted&&o&&!o.width&&!o.height&&"ReactCrop--invisible-crop",n&&"ReactCrop--no-animate");return r.createElement("div",{ref:this.componentRef,className:p,style:s},r.createElement("div",{ref:this.mediaRef,className:"ReactCrop__child-wrapper",onPointerDown:this.onComponentPointerDown},t),o?r.createElement("svg",{className:"ReactCrop__crop-mask",width:"100%",height:"100%"},r.createElement("defs",null,r.createElement("mask",{id:`hole-${this.instanceId}`},r.createElement("rect",{width:"100%",height:"100%",fill:"white"}),n?r.createElement("ellipse",{cx:`${o.x+o.width/2}${o.unit}`,cy:`${o.y+o.height/2}${o.unit}`,rx:`${o.width/2}${o.unit}`,ry:`${o.height/2}${o.unit}`,fill:"black"}):r.createElement("rect",{x:`${o.x}${o.unit}`,y:`${o.y}${o.unit}`,width:`${o.width}${o.unit}`,height:`${o.height}${o.unit}`,fill:"black"}))),r.createElement("rect",{fill:"black",fillOpacity:.5,width:"100%",height:"100%",mask:`url(#hole-${this.instanceId})`})):void 0,f)}};f.xOrds=["e","w"],f.yOrds=["n","s"],f.xyOrds=["nw","ne","se","sw"],f.nudgeStep=1,f.nudgeStepMedium=10,f.nudgeStepLarge=100,f.defaultProps={ariaLabels:{cropArea:"Use the arrow keys to move the crop selection area",nwDragHandle:"Use the arrow keys to move the north west drag handle to change the crop selection area",nDragHandle:"Use the up and down arrow keys to move the north drag handle to change the crop selection area",neDragHandle:"Use the arrow keys to move the north east drag handle to change the crop selection area",eDragHandle:"Use the up and down arrow keys to move the east drag handle to change the crop selection area",seDragHandle:"Use the arrow keys to move the south east drag handle to change the crop selection area",sDragHandle:"Use the up and down arrow keys to move the south drag handle to change the crop selection area",swDragHandle:"Use the arrow keys to move the south west drag handle to change the crop selection area",wDragHandle:"Use the up and down arrow keys to move the west drag handle to change the crop selection area"}};let p=f}}]);
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.