@para-ui/core 2.1.39 → 2.1.40
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Button/index.js +1 -1
- package/ButtonGroup/index.js +9 -9
- package/Checkbox/index.js +1 -1
- package/CheckboxGroup/index.js +1 -1
- package/ComboSelect/index.js +2 -2
- package/DatePicker/index.js +1 -1
- package/Drawer/index.js +2 -2
- package/Drawer/interface.d.ts +5 -0
- package/Form/index.d.ts +7 -2
- package/Form/index.js +67 -613
- package/FormItem/compoments/defaultCompoments/index.d.ts +1 -1
- package/FormItem/errorTips.d.ts +1 -1
- package/FormItem/index.d.ts +3 -3
- package/FormItem/index.js +67 -613
- package/FunctionModal/index.js +18 -18
- package/Help/index.js +1 -1
- package/InputLang/index.js +1 -1
- package/InputNumber/index.js +1 -1
- package/Label/index.js +5 -5
- package/Modal/index.js +1 -1
- package/MultiBox/index.js +1 -1
- package/OperateBtn/index.js +1 -1
- package/PageHeader/index.js +5 -5
- package/Pagination/index.js +2 -2
- package/PopConfirm/index.d.ts +2 -0
- package/PopConfirm/index.js +2 -2
- package/README.md +11 -0
- package/Radio/index.js +2 -2
- package/RadioGroup/index.js +1 -1
- package/Search/index.js +1 -1
- package/Select/index.js +1 -1
- package/SelectInput/index.js +1 -1
- package/SingleBox/index.js +1 -1
- package/Switch/index.js +1 -1
- package/Table/index.js +2 -2
- package/Tabs/index.js +2 -2
- package/TextField/index.js +1 -1
- package/TimePicker/index.js +1 -1
- package/ToggleButton/index.js +1 -1
- package/Transfer/index.js +1 -1
- package/Tree/index.js +1 -1
- package/Upload/index.js +1 -1
- package/cdn/AutoBox/index.js +2 -2
- package/cdn/AutoTips/index.js +2 -2
- package/cdn/Breadcrumbs/index.js +4 -4
- package/cdn/Button/index.js +4 -4
- package/cdn/ButtonGroup/index.js +4 -4
- package/cdn/Carousel/index.js +1 -1
- package/cdn/Checkbox/index.js +3 -3
- package/cdn/CheckboxGroup/index.js +4 -4
- package/cdn/ComboSelect/index.js +4 -4
- package/cdn/DatePicker/index.js +3 -3
- package/cdn/Drawer/index.js +10 -10
- package/cdn/Form/index.js +71 -647
- package/cdn/FormItem/index.js +39 -615
- package/cdn/FunctionModal/index.js +19 -19
- package/cdn/Help/index.js +3 -3
- package/cdn/InputLang/index.js +3 -3
- package/cdn/InputNumber/index.js +5 -5
- package/cdn/Label/index.js +4 -4
- package/cdn/Modal/index.js +3 -3
- package/cdn/MultiBox/index.js +4 -4
- package/cdn/OperateBtn/index.js +3 -3
- package/cdn/PageHeader/index.js +4 -4
- package/cdn/Pagination/index.js +3 -3
- package/cdn/PopConfirm/index.js +3 -3
- package/cdn/Popover/index.js +2 -2
- package/cdn/Radio/index.js +3 -3
- package/cdn/RadioGroup/index.js +3 -3
- package/cdn/Search/index.js +3 -3
- package/cdn/Select/index.js +3 -3
- package/cdn/SelectInput/index.js +4 -4
- package/cdn/SingleBox/index.js +3 -3
- package/cdn/Switch/index.js +3 -3
- package/cdn/Table/index.js +3 -3
- package/cdn/Tabs/index.js +3 -3
- package/cdn/TextField/index.js +3 -3
- package/cdn/TimePicker/index.js +3 -3
- package/cdn/ToggleButton/index.js +4 -4
- package/cdn/Tooltip/index.js +2 -2
- package/cdn/Transfer/index.js +3 -3
- package/cdn/Tree/index.js +5 -5
- package/cdn/Upload/index.js +3 -3
- package/index.js +3 -770
- package/package.json +1 -1
- package/style.css +4 -4
package/cdn/Popover/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("react"),require("react-dom")):"function"==typeof define&&define.amd?define(["react","react-dom"],t):"object"==typeof exports?exports.ParaUI=t(require("react"),require("react-dom")):e.ParaUI=t(e.react,e["react-dom"])}(self,(function(e,t){return function(){var n={20170:function(e,t,n){"use strict";var r=n(87462),i=n(93324),o=n(45987),s=n(8156),a=n(96630),u=n(8920),c=n(5653),l=n(17294);function f(e){return"scale(".concat(e,", ").concat(Math.pow(e,2),")")}var d={entering:{opacity:1,transform:f(1)},entered:{opacity:1,transform:"none"}},p=s.forwardRef((function(e,t){var n=e.children,p=e.disableStrictModeCompat,h=void 0!==p&&p,v=e.in,y=e.onEnter,m=e.onEntered,g=e.onEntering,b=e.onExit,x=e.onExited,Z=e.onExiting,S=e.style,w=e.timeout,k=void 0===w?"auto":w,E=e.TransitionComponent,R=void 0===E?a.ZP:E,P=(0,o.Z)(e,["children","disableStrictModeCompat","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"]),C=s.useRef(),O=s.useRef(),A=(0,u.Z)(),j=A.unstable_strictMode&&!h,T=s.useRef(null),M=(0,l.Z)(n.ref,t),N=(0,l.Z)(j?T:void 0,M),I=function(e){return function(t,n){if(e){var r=j?[T.current,t]:[t,n],o=(0,i.Z)(r,2),s=o[0],a=o[1];void 0===a?e(s):e(s,a)}}},z=I(g),L=I((function(e,t){(0,c.n)(e);var n,r=(0,c.C)({style:S,timeout:k},{mode:"enter"}),i=r.duration,o=r.delay;"auto"===k?(n=A.transitions.getAutoHeightDuration(e.clientHeight),O.current=n):n=i,e.style.transition=[A.transitions.create("opacity",{duration:n,delay:o}),A.transitions.create("transform",{duration:.666*n,delay:o})].join(","),y&&y(e,t)})),$=I(m),D=I(Z),F=I((function(e){var t,n=(0,c.C)({style:S,timeout:k},{mode:"exit"}),r=n.duration,i=n.delay;"auto"===k?(t=A.transitions.getAutoHeightDuration(e.clientHeight),O.current=t):t=r,e.style.transition=[A.transitions.create("opacity",{duration:t,delay:i}),A.transitions.create("transform",{duration:.666*t,delay:i||.333*t})].join(","),e.style.opacity="0",e.style.transform=f(.75),b&&b(e)})),H=I(x);return s.useEffect((function(){return function(){clearTimeout(C.current)}}),[]),s.createElement(R,(0,r.Z)({appear:!0,in:v,nodeRef:j?T:void 0,onEnter:L,onEntered:$,onEntering:z,onExit:F,onExited:H,onExiting:D,addEndListener:function(e,t){var n=j?e:t;"auto"===k&&(C.current=setTimeout(n,O.current||0))},timeout:"auto"===k?null:k},P),(function(e,t){return s.cloneElement(n,(0,r.Z)({style:(0,r.Z)({opacity:0,transform:f(.75),visibility:"exited"!==e||v?void 0:"hidden"},d[e],S,n.props.style),ref:N},t))}))}));p.muiSupportAuto=!0,t.Z=p},21766:function(e,t,n){"use strict";var r=n(45987),i=n(87462),o=n(8156),s=n(47111),a=n(159),u=n(93869),c=n(30626),l=n(76234),f=n(82568),d=n(17294),p=n(55192),h=n(92781),v=n(39436),y=n(54095),m=n(57964);var g=new v.Z,b=o.forwardRef((function(e,t){var n=(0,a.Z)(),b=(0,u.Z)({name:"MuiModal",props:(0,i.Z)({},e),theme:n}),x=b.BackdropComponent,Z=void 0===x?m.Z:x,S=b.BackdropProps,w=b.children,k=b.closeAfterTransition,E=void 0!==k&&k,R=b.container,P=b.disableAutoFocus,C=void 0!==P&&P,O=b.disableBackdropClick,A=void 0!==O&&O,j=b.disableEnforceFocus,T=void 0!==j&&j,M=b.disableEscapeKeyDown,N=void 0!==M&&M,I=b.disablePortal,z=void 0!==I&&I,L=b.disableRestoreFocus,$=void 0!==L&&L,D=b.disableScrollLock,F=void 0!==D&&D,H=b.hideBackdrop,W=void 0!==H&&H,B=b.keepMounted,_=void 0!==B&&B,U=b.manager,q=void 0===U?g:U,V=b.onBackdropClick,G=b.onClose,J=b.onEscapeKeyDown,K=b.onRendered,X=b.open,Y=(0,r.Z)(b,["BackdropComponent","BackdropProps","children","closeAfterTransition","container","disableAutoFocus","disableBackdropClick","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","manager","onBackdropClick","onClose","onEscapeKeyDown","onRendered","open"]),Q=o.useState(!0),ee=Q[0],te=Q[1],ne=o.useRef({}),re=o.useRef(null),ie=o.useRef(null),oe=(0,d.Z)(ie,t),se=function(e){return!!e.children&&e.children.props.hasOwnProperty("in")}(b),ae=function(){return(0,c.Z)(re.current)},ue=function(){return ne.current.modalRef=ie.current,ne.current.mountNode=re.current,ne.current},ce=function(){q.mount(ue(),{disableScrollLock:F}),ie.current.scrollTop=0},le=(0,p.Z)((function(){var e=function(e){return e="function"==typeof e?e():e,s.findDOMNode(e)}(R)||ae().body;q.add(ue(),e),ie.current&&ce()})),fe=o.useCallback((function(){return q.isTopModal(ue())}),[q]),de=(0,p.Z)((function(e){re.current=e,e&&(K&&K(),X&&fe()?ce():(0,v.G)(ie.current,!0))})),pe=o.useCallback((function(){q.remove(ue())}),[q]);if(o.useEffect((function(){return function(){pe()}}),[pe]),o.useEffect((function(){X?le():se&&E||pe()}),[X,pe,se,E,le]),!_&&!X&&(!se||ee))return null;var he=function(e){return{root:{position:"fixed",zIndex:e.zIndex.modal,right:0,bottom:0,top:0,left:0},hidden:{visibility:"hidden"}}}(n||{zIndex:h.Z}),ve={};return void 0===w.props.tabIndex&&(ve.tabIndex=w.props.tabIndex||"-1"),se&&(ve.onEnter=(0,f.Z)((function(){te(!1)}),w.props.onEnter),ve.onExited=(0,f.Z)((function(){te(!0),E&&pe()}),w.props.onExited)),o.createElement(l.Z,{ref:de,container:R,disablePortal:z},o.createElement("div",(0,i.Z)({ref:oe,onKeyDown:function(e){"Escape"===e.key&&fe()&&(J&&J(e),N||(e.stopPropagation(),G&&G(e,"escapeKeyDown")))},role:"presentation"},Y,{style:(0,i.Z)({},he.root,!X&&ee?he.hidden:{},Y.style)}),W?null:o.createElement(Z,(0,i.Z)({open:X,onClick:function(e){e.target===e.currentTarget&&(V&&V(e),!A&&G&&G(e,"backdropClick"))}},S)),o.createElement(y.Z,{disableEnforceFocus:T,disableAutoFocus:C,disableRestoreFocus:$,getDoc:ae,isEnabled:fe,open:X},o.cloneElement(w,ve))))}));t.Z=b},39436:function(e,t,n){"use strict";n.d(t,{G:function(){return c},Z:function(){return h}});var r=n(15671),i=n(43144),o=n(89062),s=n(75840),a=n(30626),u=n(80713);function c(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function l(e){return parseInt(window.getComputedStyle(e)["padding-right"],10)||0}function f(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[],i=arguments.length>4?arguments[4]:void 0,s=[t,n].concat((0,o.Z)(r)),a=["TEMPLATE","SCRIPT","STYLE"];[].forEach.call(e.children,(function(e){1===e.nodeType&&-1===s.indexOf(e)&&-1===a.indexOf(e.tagName)&&c(e,i)}))}function d(e,t){var n=-1;return e.some((function(e,r){return!!t(e)&&(n=r,!0)})),n}function p(e,t){var n,r=[],i=[],o=e.container;if(!t.disableScrollLock){if(function(e){var t=(0,a.Z)(e);return t.body===e?(0,u.Z)(t).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}(o)){var c=(0,s.Z)();r.push({value:o.style.paddingRight,key:"padding-right",el:o}),o.style["padding-right"]="".concat(l(o)+c,"px"),n=(0,a.Z)(o).querySelectorAll(".mui-fixed"),[].forEach.call(n,(function(e){i.push(e.style.paddingRight),e.style.paddingRight="".concat(l(e)+c,"px")}))}var f=o.parentElement,d="HTML"===f.nodeName&&"scroll"===window.getComputedStyle(f)["overflow-y"]?f:o;r.push({value:d.style.overflow,key:"overflow",el:d}),d.style.overflow="hidden"}return function(){n&&[].forEach.call(n,(function(e,t){i[t]?e.style.paddingRight=i[t]:e.style.removeProperty("padding-right")})),r.forEach((function(e){var t=e.value,n=e.el,r=e.key;t?n.style.setProperty(r,t):n.style.removeProperty(r)}))}}var h=function(){function e(){(0,r.Z)(this,e),this.modals=[],this.containers=[]}return(0,i.Z)(e,[{key:"add",value:function(e,t){var n=this.modals.indexOf(e);if(-1!==n)return n;n=this.modals.length,this.modals.push(e),e.modalRef&&c(e.modalRef,!1);var r=function(e){var t=[];return[].forEach.call(e.children,(function(e){e.getAttribute&&"true"===e.getAttribute("aria-hidden")&&t.push(e)})),t}(t);f(t,e.mountNode,e.modalRef,r,!0);var i=d(this.containers,(function(e){return e.container===t}));return-1!==i?(this.containers[i].modals.push(e),n):(this.containers.push({modals:[e],container:t,restore:null,hiddenSiblingNodes:r}),n)}},{key:"mount",value:function(e,t){var n=d(this.containers,(function(t){return-1!==t.modals.indexOf(e)})),r=this.containers[n];r.restore||(r.restore=p(r,t))}},{key:"remove",value:function(e){var t=this.modals.indexOf(e);if(-1===t)return t;var n=d(this.containers,(function(t){return-1!==t.modals.indexOf(e)})),r=this.containers[n];if(r.modals.splice(r.modals.indexOf(e),1),this.modals.splice(t,1),0===r.modals.length)r.restore&&r.restore(),e.modalRef&&c(e.modalRef,!0),f(r.container,e.mountNode,e.modalRef,r.hiddenSiblingNodes,!1),this.containers.splice(n,1);else{var i=r.modals[r.modals.length-1];i.modalRef&&c(i.modalRef,!1)}return t}},{key:"isTopModal",value:function(e){return this.modals.length>0&&this.modals[this.modals.length-1]===e}}]),e}()},57964:function(e,t,n){"use strict";var r=n(87462),i=n(45987),o=n(8156),s={root:{zIndex:-1,position:"fixed",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent"},invisible:{backgroundColor:"transparent"}},a=o.forwardRef((function(e,t){var n=e.invisible,a=void 0!==n&&n,u=e.open,c=(0,i.Z)(e,["invisible","open"]);return u?o.createElement("div",(0,r.Z)({"aria-hidden":!0,ref:t},c,{style:(0,r.Z)({},s.root,a?s.invisible:{},c.style)})):null}));t.Z=a},79895:function(e,t,n){"use strict";var r=n(45987),i=n(87462),o=n(8156),s=n(86010),a=n(52543),u=o.forwardRef((function(e,t){var n=e.classes,a=e.className,u=e.component,c=void 0===u?"div":u,l=e.square,f=void 0!==l&&l,d=e.elevation,p=void 0===d?1:d,h=e.variant,v=void 0===h?"elevation":h,y=(0,r.Z)(e,["classes","className","component","square","elevation","variant"]);return o.createElement(c,(0,i.Z)({className:(0,s.Z)(n.root,a,"outlined"===v?n.outlined:n["elevation".concat(p)],!f&&n.rounded),ref:t},y))}));t.Z=(0,a.Z)((function(e){var t={};return e.shadows.forEach((function(e,n){t["elevation".concat(n)]={boxShadow:e}})),(0,i.Z)({root:{backgroundColor:e.palette.background.paper,color:e.palette.text.primary,transition:e.transitions.create("box-shadow")},rounded:{borderRadius:e.shape.borderRadius},outlined:{border:"1px solid ".concat(e.palette.divider)}},t)}),{name:"MuiPaper"})(u)},52387:function(e,t,n){"use strict";var r=n(87462),i=n(45987),o=n(8156),s=n(47111),a=n(79437),u=n(86010),c=n(30626),l=n(80713),f=n(82568),d=n(52543),p=n(21766),h=n(20170),v=n(79895);function y(e,t){var n=0;return"number"==typeof t?n=t:"center"===t?n=e.height/2:"bottom"===t&&(n=e.height),n}function m(e,t){var n=0;return"number"==typeof t?n=t:"center"===t?n=e.width/2:"right"===t&&(n=e.width),n}function g(e){return[e.horizontal,e.vertical].map((function(e){return"number"==typeof e?"".concat(e,"px"):e})).join(" ")}function b(e){return"function"==typeof e?e():e}var x=o.forwardRef((function(e,t){var n=e.action,d=e.anchorEl,x=e.anchorOrigin,Z=void 0===x?{vertical:"top",horizontal:"left"}:x,S=e.anchorPosition,w=e.anchorReference,k=void 0===w?"anchorEl":w,E=e.children,R=e.classes,P=e.className,C=e.container,O=e.elevation,A=void 0===O?8:O,j=e.getContentAnchorEl,T=e.marginThreshold,M=void 0===T?16:T,N=e.onEnter,I=e.onEntered,z=e.onEntering,L=e.onExit,$=e.onExited,D=e.onExiting,F=e.open,H=e.PaperProps,W=void 0===H?{}:H,B=e.transformOrigin,_=void 0===B?{vertical:"top",horizontal:"left"}:B,U=e.TransitionComponent,q=void 0===U?h.Z:U,V=e.transitionDuration,G=void 0===V?"auto":V,J=e.TransitionProps,K=void 0===J?{}:J,X=(0,i.Z)(e,["action","anchorEl","anchorOrigin","anchorPosition","anchorReference","children","classes","className","container","elevation","getContentAnchorEl","marginThreshold","onEnter","onEntered","onEntering","onExit","onExited","onExiting","open","PaperProps","transformOrigin","TransitionComponent","transitionDuration","TransitionProps"]),Y=o.useRef(),Q=o.useCallback((function(e){if("anchorPosition"===k)return S;var t=b(d),n=(t&&1===t.nodeType?t:(0,c.Z)(Y.current).body).getBoundingClientRect(),r=0===e?Z.vertical:"center";return{top:n.top+y(n,r),left:n.left+m(n,Z.horizontal)}}),[d,Z.horizontal,Z.vertical,S,k]),ee=o.useCallback((function(e){var t=0;if(j&&"anchorEl"===k){var n=j(e);if(n&&e.contains(n)){var r=function(e,t){for(var n=t,r=0;n&&n!==e;)r+=(n=n.parentElement).scrollTop;return r}(e,n);t=n.offsetTop+n.clientHeight/2-r||0}0}return t}),[Z.vertical,k,j]),te=o.useCallback((function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return{vertical:y(e,_.vertical)+t,horizontal:m(e,_.horizontal)}}),[_.horizontal,_.vertical]),ne=o.useCallback((function(e){var t=ee(e),n={width:e.offsetWidth,height:e.offsetHeight},r=te(n,t);if("none"===k)return{top:null,left:null,transformOrigin:g(r)};var i=Q(t),o=i.top-r.vertical,s=i.left-r.horizontal,a=o+n.height,u=s+n.width,c=(0,l.Z)(b(d)),f=c.innerHeight-M,p=c.innerWidth-M;if(o<M){var h=o-M;o-=h,r.vertical+=h}else if(a>f){var v=a-f;o-=v,r.vertical+=v}if(s<M){var y=s-M;s-=y,r.horizontal+=y}else if(u>p){var m=u-p;s-=m,r.horizontal+=m}return{top:"".concat(Math.round(o),"px"),left:"".concat(Math.round(s),"px"),transformOrigin:g(r)}}),[d,k,Q,ee,te,M]),re=o.useCallback((function(){var e=Y.current;if(e){var t=ne(e);null!==t.top&&(e.style.top=t.top),null!==t.left&&(e.style.left=t.left),e.style.transformOrigin=t.transformOrigin}}),[ne]),ie=o.useCallback((function(e){Y.current=s.findDOMNode(e)}),[]);o.useEffect((function(){F&&re()})),o.useImperativeHandle(n,(function(){return F?{updatePosition:function(){re()}}:null}),[F,re]),o.useEffect((function(){if(F){var e=(0,a.Z)((function(){re()}));return window.addEventListener("resize",e),function(){e.clear(),window.removeEventListener("resize",e)}}}),[F,re]);var oe=G;"auto"!==G||q.muiSupportAuto||(oe=void 0);var se=C||(d?(0,c.Z)(b(d)).body:void 0);return o.createElement(p.Z,(0,r.Z)({container:se,open:F,ref:t,BackdropProps:{invisible:!0},className:(0,u.Z)(R.root,P)},X),o.createElement(q,(0,r.Z)({appear:!0,in:F,onEnter:N,onEntered:I,onExit:L,onExited:$,onExiting:D,timeout:oe},K,{onEntering:(0,f.Z)((function(e,t){z&&z(e,t),re()}),K.onEntering)}),o.createElement(v.Z,(0,r.Z)({elevation:A,ref:ie},W,{className:(0,u.Z)(R.paper,W.className)}),E)))}));t.ZP=(0,d.Z)({root:{},paper:{position:"absolute",overflowY:"auto",overflowX:"hidden",minWidth:16,minHeight:16,maxWidth:"calc(100% - 32px)",maxHeight:"calc(100% - 32px)",outline:0}},{name:"MuiPopover"})(x)},76234:function(e,t,n){"use strict";var r=n(8156),i=n(47111),o=n(34236),s=n(17294);var a="undefined"!=typeof window?r.useLayoutEffect:r.useEffect,u=r.forwardRef((function(e,t){var n=e.children,u=e.container,c=e.disablePortal,l=void 0!==c&&c,f=e.onRendered,d=r.useState(null),p=d[0],h=d[1],v=(0,s.Z)(r.isValidElement(n)?n.ref:null,t);return a((function(){l||h(function(e){return e="function"==typeof e?e():e,i.findDOMNode(e)}(u)||document.body)}),[u,l]),a((function(){if(p&&!l)return(0,o.Z)(t,p),function(){(0,o.Z)(t,null)}}),[t,p,l]),a((function(){f&&(p||l)&&f()}),[f,p,l]),l?r.isValidElement(n)?r.cloneElement(n,{ref:v}):n:p?i.createPortal(n,p):p}));t.Z=u},54095:function(e,t,n){"use strict";var r=n(8156),i=n(47111),o=n(30626),s=n(17294);t.Z=function(e){var t=e.children,n=e.disableAutoFocus,a=void 0!==n&&n,u=e.disableEnforceFocus,c=void 0!==u&&u,l=e.disableRestoreFocus,f=void 0!==l&&l,d=e.getDoc,p=e.isEnabled,h=e.open,v=r.useRef(),y=r.useRef(null),m=r.useRef(null),g=r.useRef(),b=r.useRef(null),x=r.useCallback((function(e){b.current=i.findDOMNode(e)}),[]),Z=(0,s.Z)(t.ref,x),S=r.useRef();return r.useEffect((function(){S.current=h}),[h]),!S.current&&h&&"undefined"!=typeof window&&(g.current=d().activeElement),r.useEffect((function(){if(h){var e=(0,o.Z)(b.current);a||!b.current||b.current.contains(e.activeElement)||(b.current.hasAttribute("tabIndex")||b.current.setAttribute("tabIndex",-1),b.current.focus());var t=function(){null!==b.current&&(e.hasFocus()&&!c&&p()&&!v.current?b.current&&!b.current.contains(e.activeElement)&&b.current.focus():v.current=!1)},n=function(t){!c&&p()&&9===t.keyCode&&e.activeElement===b.current&&(v.current=!0,t.shiftKey?m.current.focus():y.current.focus())};e.addEventListener("focus",t,!0),e.addEventListener("keydown",n,!0);var r=setInterval((function(){t()}),50);return function(){clearInterval(r),e.removeEventListener("focus",t,!0),e.removeEventListener("keydown",n,!0),f||(g.current&&g.current.focus&&g.current.focus(),g.current=null)}}}),[a,c,f,p,h]),r.createElement(r.Fragment,null,r.createElement("div",{tabIndex:0,ref:y,"data-test":"sentinelStart"}),r.cloneElement(t,{ref:Z}),r.createElement("div",{tabIndex:0,ref:m,"data-test":"sentinelEnd"}))}},96230:function(e,t){"use strict";t.Z={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"}},34733:function(e,t){"use strict";t.Z={black:"#000",white:"#fff"}},18334:function(e,t){"use strict";t.Z={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"}},88105:function(e,t){"use strict";t.Z={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#d5d5d5",A200:"#aaaaaa",A400:"#303030",A700:"#616161"}},34446:function(e,t){"use strict";t.Z={50:"#e8eaf6",100:"#c5cae9",200:"#9fa8da",300:"#7986cb",400:"#5c6bc0",500:"#3f51b5",600:"#3949ab",700:"#303f9f",800:"#283593",900:"#1a237e",A100:"#8c9eff",A200:"#536dfe",A400:"#3d5afe",A700:"#304ffe"}},59546:function(e,t){"use strict";t.Z={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"}},9198:function(e,t){"use strict";t.Z={50:"#fce4ec",100:"#f8bbd0",200:"#f48fb1",300:"#f06292",400:"#ec407a",500:"#e91e63",600:"#d81b60",700:"#c2185b",800:"#ad1457",900:"#880e4f",A100:"#ff80ab",A200:"#ff4081",A400:"#f50057",A700:"#c51162"}},20907:function(e,t){"use strict";t.Z={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"}},59693:function(e,t,n){"use strict";n.d(t,{mi:function(){return a},_j:function(){return c},$n:function(){return l}});var r=n(60288);function i(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;return Math.min(Math.max(t,e),n)}function o(e){if(e.type)return e;if("#"===e.charAt(0))return o(function(e){e=e.substr(1);var t=new RegExp(".{1,".concat(e.length>=6?2:1,"}"),"g"),n=e.match(t);return n&&1===n[0].length&&(n=n.map((function(e){return e+e}))),n?"rgb".concat(4===n.length?"a":"","(").concat(n.map((function(e,t){return t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3})).join(", "),")"):""}(e));var t=e.indexOf("("),n=e.substring(0,t);if(-1===["rgb","rgba","hsl","hsla"].indexOf(n))throw new Error((0,r.Z)(3,e));var i=e.substring(t+1,e.length-1).split(",");return{type:n,values:i=i.map((function(e){return parseFloat(e)}))}}function s(e){var t=e.type,n=e.values;return-1!==t.indexOf("rgb")?n=n.map((function(e,t){return t<3?parseInt(e,10):e})):-1!==t.indexOf("hsl")&&(n[1]="".concat(n[1],"%"),n[2]="".concat(n[2],"%")),"".concat(t,"(").concat(n.join(", "),")")}function a(e,t){var n=u(e),r=u(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function u(e){var t="hsl"===(e=o(e)).type?o(function(e){var t=(e=o(e)).values,n=t[0],r=t[1]/100,i=t[2]/100,a=r*Math.min(i,1-i),u=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:(e+n/30)%12;return i-a*Math.max(Math.min(t-3,9-t,1),-1)},c="rgb",l=[Math.round(255*u(0)),Math.round(255*u(8)),Math.round(255*u(4))];return"hsla"===e.type&&(c+="a",l.push(t[3])),s({type:c,values:l})}(e)).values:e.values;return t=t.map((function(e){return(e/=255)<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4)})),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function c(e,t){if(e=o(e),t=i(t),-1!==e.type.indexOf("hsl"))e.values[2]*=1-t;else if(-1!==e.type.indexOf("rgb"))for(var n=0;n<3;n+=1)e.values[n]*=1-t;return s(e)}function l(e,t){if(e=o(e),t=i(t),-1!==e.type.indexOf("hsl"))e.values[2]+=(100-e.values[2])*t;else if(-1!==e.type.indexOf("rgb"))for(var n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;return s(e)}},90157:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(87462),i=n(45987),o=["xs","sm","md","lg","xl"];function s(e){var t=e.values,n=void 0===t?{xs:0,sm:600,md:960,lg:1280,xl:1920}:t,s=e.unit,a=void 0===s?"px":s,u=e.step,c=void 0===u?5:u,l=(0,i.Z)(e,["values","unit","step"]);function f(e){var t="number"==typeof n[e]?n[e]:e;return"@media (min-width:".concat(t).concat(a,")")}function d(e,t){var r=o.indexOf(t);return r===o.length-1?f(e):"@media (min-width:".concat("number"==typeof n[e]?n[e]:e).concat(a,") and ")+"(max-width:".concat((-1!==r&&"number"==typeof n[o[r+1]]?n[o[r+1]]:t)-c/100).concat(a,")")}return(0,r.Z)({keys:o,values:n,up:f,down:function(e){var t=o.indexOf(e)+1,r=n[o[t]];return t===o.length?f("xs"):"@media (max-width:".concat(("number"==typeof r&&t>0?r:e)-c/100).concat(a,")")},between:d,only:function(e){return d(e,e)},width:function(e){return n[e]}},l)}},66026:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(4942),i=n(87462);function o(e,t,n){var o;return(0,i.Z)({gutters:function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,i.Z)({paddingLeft:t(2),paddingRight:t(2)},n,(0,r.Z)({},e.up("sm"),(0,i.Z)({paddingLeft:t(3),paddingRight:t(3)},n[e.up("sm")])))},toolbar:(o={minHeight:56},(0,r.Z)(o,"".concat(e.up("xs")," and (orientation: landscape)"),{minHeight:48}),(0,r.Z)(o,e.up("sm"),{minHeight:64}),o)},n)}},75635:function(e,t,n){"use strict";var r=n(45987),i=n(35953),o=n(90157),s=n(66026),a=n(8442),u=n(44606),c=n(97681),l=n(36875),f=n(88035),d=n(43366),p=n(92781);t.Z=function(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.breakpoints,n=void 0===t?{}:t,h=e.mixins,v=void 0===h?{}:h,y=e.palette,m=void 0===y?{}:y,g=e.spacing,b=e.typography,x=void 0===b?{}:b,Z=(0,r.Z)(e,["breakpoints","mixins","palette","spacing","typography"]),S=(0,a.ZP)(m),w=(0,o.Z)(n),k=(0,f.Z)(g),E=(0,i.Z)({breakpoints:w,direction:"ltr",mixins:(0,s.Z)(w,k,v),overrides:{},palette:S,props:{},shadows:c.Z,typography:(0,u.Z)(S,x),spacing:k,shape:l.Z,transitions:d.ZP,zIndex:p.Z},Z),R=arguments.length,P=new Array(R>1?R-1:0),C=1;C<R;C++)P[C-1]=arguments[C];return E=P.reduce((function(e,t){return(0,i.Z)(e,t)}),E)}},8442:function(e,t,n){"use strict";n.d(t,{ZP:function(){return b}});var r=n(87462),i=n(45987),o=n(60288),s=n(35953),a=n(34733),u=n(88105),c=n(34446),l=n(9198),f=n(20907),d=n(59546),p=n(96230),h=n(18334),v=n(59693),y={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.54)",disabled:"rgba(0, 0, 0, 0.38)",hint:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:a.Z.white,default:u.Z[50]},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},m={text:{primary:a.Z.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",hint:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:u.Z[800],default:"#303030"},action:{active:a.Z.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function g(e,t,n,r){var i=r.light||r,o=r.dark||1.5*r;e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:"light"===t?e.light=(0,v.$n)(e.main,i):"dark"===t&&(e.dark=(0,v._j)(e.main,o)))}function b(e){var t=e.primary,n=void 0===t?{light:c.Z[300],main:c.Z[500],dark:c.Z[700]}:t,b=e.secondary,x=void 0===b?{light:l.Z.A200,main:l.Z.A400,dark:l.Z.A700}:b,Z=e.error,S=void 0===Z?{light:f.Z[300],main:f.Z[500],dark:f.Z[700]}:Z,w=e.warning,k=void 0===w?{light:d.Z[300],main:d.Z[500],dark:d.Z[700]}:w,E=e.info,R=void 0===E?{light:p.Z[300],main:p.Z[500],dark:p.Z[700]}:E,P=e.success,C=void 0===P?{light:h.Z[300],main:h.Z[500],dark:h.Z[700]}:P,O=e.type,A=void 0===O?"light":O,j=e.contrastThreshold,T=void 0===j?3:j,M=e.tonalOffset,N=void 0===M?.2:M,I=(0,i.Z)(e,["primary","secondary","error","warning","info","success","type","contrastThreshold","tonalOffset"]);function z(e){return(0,v.mi)(e,m.text.primary)>=T?m.text.primary:y.text.primary}var L=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:500,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:300,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:700;if(!(e=(0,r.Z)({},e)).main&&e[t]&&(e.main=e[t]),!e.main)throw new Error((0,o.Z)(4,t));if("string"!=typeof e.main)throw new Error((0,o.Z)(5,JSON.stringify(e.main)));return g(e,"light",n,N),g(e,"dark",i,N),e.contrastText||(e.contrastText=z(e.main)),e},$={dark:m,light:y};return(0,s.Z)((0,r.Z)({common:a.Z,type:A,primary:L(n),secondary:L(x,"A400","A200","A700"),error:L(S),warning:L(k),info:L(R),success:L(C),grey:u.Z,contrastThreshold:T,getContrastText:z,augmentColor:L,tonalOffset:N},$[A]),I)}},88035:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(71279);function i(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:8;if(e.mui)return e;var t=(0,r.h)({spacing:e}),n=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return 0===n.length?t(1):1===n.length?t(n[0]):n.map((function(e){if("string"==typeof e)return e;var n=t(e);return"number"==typeof n?"".concat(n,"px"):n})).join(" ")};return Object.defineProperty(n,"unit",{get:function(){return e}}),n.mui=!0,n}},44606:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(87462),i=n(45987),o=n(35953);function s(e){return Math.round(1e5*e)/1e5}var a={textTransform:"uppercase"},u='"Roboto", "Helvetica", "Arial", sans-serif';function c(e,t){var n="function"==typeof t?t(e):t,c=n.fontFamily,l=void 0===c?u:c,f=n.fontSize,d=void 0===f?14:f,p=n.fontWeightLight,h=void 0===p?300:p,v=n.fontWeightRegular,y=void 0===v?400:v,m=n.fontWeightMedium,g=void 0===m?500:m,b=n.fontWeightBold,x=void 0===b?700:b,Z=n.htmlFontSize,S=void 0===Z?16:Z,w=n.allVariants,k=n.pxToRem,E=(0,i.Z)(n,["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"]);var R=d/14,P=k||function(e){return"".concat(e/S*R,"rem")},C=function(e,t,n,i,o){return(0,r.Z)({fontFamily:l,fontWeight:e,fontSize:P(t),lineHeight:n},l===u?{letterSpacing:"".concat(s(i/t),"em")}:{},o,w)},O={h1:C(h,96,1.167,-1.5),h2:C(h,60,1.2,-.5),h3:C(y,48,1.167,0),h4:C(y,34,1.235,.25),h5:C(y,24,1.334,0),h6:C(g,20,1.6,.15),subtitle1:C(y,16,1.75,.15),subtitle2:C(g,14,1.57,.1),body1:C(y,16,1.5,.15),body2:C(y,14,1.43,.15),button:C(g,14,1.75,.4,a),caption:C(y,12,1.66,.4),overline:C(y,12,2.66,1,a)};return(0,o.Z)((0,r.Z)({htmlFontSize:S,pxToRem:P,round:s,fontFamily:l,fontSize:d,fontWeightLight:h,fontWeightRegular:y,fontWeightMedium:g,fontWeightBold:x},O),E,{clone:!1})}},99700:function(e,t,n){"use strict";var r=(0,n(75635).Z)();t.Z=r},97681:function(e,t){"use strict";function n(){return["".concat(arguments.length<=0?void 0:arguments[0],"px ").concat(arguments.length<=1?void 0:arguments[1],"px ").concat(arguments.length<=2?void 0:arguments[2],"px ").concat(arguments.length<=3?void 0:arguments[3],"px rgba(0,0,0,").concat(.2,")"),"".concat(arguments.length<=4?void 0:arguments[4],"px ").concat(arguments.length<=5?void 0:arguments[5],"px ").concat(arguments.length<=6?void 0:arguments[6],"px ").concat(arguments.length<=7?void 0:arguments[7],"px rgba(0,0,0,").concat(.14,")"),"".concat(arguments.length<=8?void 0:arguments[8],"px ").concat(arguments.length<=9?void 0:arguments[9],"px ").concat(arguments.length<=10?void 0:arguments[10],"px ").concat(arguments.length<=11?void 0:arguments[11],"px rgba(0,0,0,").concat(.12,")")].join(",")}var r=["none",n(0,2,1,-1,0,1,1,0,0,1,3,0),n(0,3,1,-2,0,2,2,0,0,1,5,0),n(0,3,3,-2,0,3,4,0,0,1,8,0),n(0,2,4,-1,0,4,5,0,0,1,10,0),n(0,3,5,-1,0,5,8,0,0,1,14,0),n(0,3,5,-1,0,6,10,0,0,1,18,0),n(0,4,5,-2,0,7,10,1,0,2,16,1),n(0,5,5,-3,0,8,10,1,0,3,14,2),n(0,5,6,-3,0,9,12,1,0,3,16,2),n(0,6,6,-3,0,10,14,1,0,4,18,3),n(0,6,7,-4,0,11,15,1,0,4,20,3),n(0,7,8,-4,0,12,17,2,0,5,22,4),n(0,7,8,-4,0,13,19,2,0,5,24,4),n(0,7,9,-4,0,14,21,2,0,5,26,4),n(0,8,9,-5,0,15,22,2,0,6,28,5),n(0,8,10,-5,0,16,24,2,0,6,30,5),n(0,8,11,-5,0,17,26,2,0,6,32,5),n(0,9,11,-5,0,18,28,2,0,7,34,6),n(0,9,12,-6,0,19,29,2,0,7,36,6),n(0,10,13,-6,0,20,31,3,0,8,38,7),n(0,10,13,-6,0,21,33,3,0,8,40,7),n(0,10,14,-6,0,22,35,3,0,8,42,7),n(0,11,14,-7,0,23,36,3,0,9,44,8),n(0,11,15,-7,0,24,38,3,0,9,46,8)];t.Z=r},36875:function(e,t){"use strict";t.Z={borderRadius:4}},43366:function(e,t,n){"use strict";var r=n(45987),i={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},o={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function s(e){return"".concat(Math.round(e),"ms")}t.ZP={easing:i,duration:o,create:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["all"],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.duration,a=void 0===n?o.standard:n,u=t.easing,c=void 0===u?i.easeInOut:u,l=t.delay,f=void 0===l?0:l;(0,r.Z)(t,["duration","easing","delay"]);return(Array.isArray(e)?e:[e]).map((function(e){return"".concat(e," ").concat("string"==typeof a?a:s(a)," ").concat(c," ").concat("string"==typeof f?f:s(f))})).join(",")},getAutoHeightDuration:function(e){if(!e)return 0;var t=e/36;return Math.round(10*(4+15*Math.pow(t,.25)+t/5))}}},8920:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(159),i=(n(8156),n(99700));function o(){return(0,r.Z)()||i.Z}},52543:function(e,t,n){"use strict";var r=n(87462),i=n(38920),o=n(99700);t.Z=function(e,t){return(0,i.Z)(e,(0,r.Z)({defaultTheme:o.Z},t))}},92781:function(e,t){"use strict";t.Z={mobileStepper:1e3,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500}},5653:function(e,t,n){"use strict";n.d(t,{n:function(){return r},C:function(){return i}});var r=function(e){return e.scrollTop};function i(e,t){var n=e.timeout,r=e.style,i=void 0===r?{}:r;return{duration:i.transitionDuration||"number"==typeof n?n:n[t.mode]||0,delay:i.transitionDelay}}},82568:function(e,t,n){"use strict";function r(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.reduce((function(e,t){return null==t?e:function(){for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];e.apply(this,r),t.apply(this,r)}}),(function(){}))}n.d(t,{Z:function(){return r}})},79437:function(e,t,n){"use strict";function r(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:166;function r(){for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];var s=this,a=function(){e.apply(s,i)};clearTimeout(t),t=setTimeout(a,n)}return r.clear=function(){clearTimeout(t)},r}n.d(t,{Z:function(){return r}})},75840:function(e,t,n){"use strict";function r(){var e=document.createElement("div");e.style.width="99px",e.style.height="99px",e.style.position="absolute",e.style.top="-9999px",e.style.overflow="scroll",document.body.appendChild(e);var t=e.offsetWidth-e.clientWidth;return document.body.removeChild(e),t}n.d(t,{Z:function(){return r}})},30626:function(e,t,n){"use strict";function r(e){return e&&e.ownerDocument||document}n.d(t,{Z:function(){return r}})},80713:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(30626);function i(e){return(0,r.Z)(e).defaultView||window}},34236:function(e,t,n){"use strict";function r(e,t){"function"==typeof e?e(t):e&&(e.current=t)}n.d(t,{Z:function(){return r}})},55192:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(8156),i="undefined"!=typeof window?r.useLayoutEffect:r.useEffect;function o(e){var t=r.useRef(e);return i((function(){t.current=e})),r.useCallback((function(){return t.current.apply(void 0,arguments)}),[])}},17294:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(8156),i=n(34236);function o(e,t){return r.useMemo((function(){return null==e&&null==t?null:function(n){(0,i.Z)(e,n),(0,i.Z)(t,n)}}),[e,t])}},26975:function(e,t,n){"use strict";n.d(t,{NU:function(){return l}});var r=n(8156),i=n.n(r),o=n(5034),s=n(54013),a=n(54620),u=(0,s.Ue)((0,a.Z)()),c={disableGeneration:!1,generateClassName:(0,o.Z)(),jss:u,sheetsCache:null,sheetsManager:new Map,sheetsRegistry:null},l=i().createContext(c)},17076:function(e,t){"use strict";var n="function"==typeof Symbol&&Symbol.for;t.Z=n?Symbol.for("mui.nested"):"__THEME_NESTED__"},5034:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(17076),i=["checked","disabled","error","focused","focusVisible","required","expanded","selected"];function o(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.disableGlobal,n=void 0!==t&&t,o=e.productionPrefix,s=void 0===o?"jss":o,a=e.seed,u=void 0===a?"":a,c=""===u?"":"".concat(u,"-"),l=0,f=function(){return l+=1};return function(e,t){var o=t.options.name;if(o&&0===o.indexOf("Mui")&&!t.options.link&&!n){if(-1!==i.indexOf(e.key))return"Mui-".concat(e.key);var a="".concat(c).concat(o,"-").concat(e.key);return t.options.theme[r.Z]&&""===u?"".concat(a,"-").concat(f()):a}return"".concat(c).concat(s).concat(f())}}},62241:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(87462),i=n(35953);function o(e){var t="function"==typeof e;return{create:function(n,o){var s;try{s=t?e(n):e}catch(e){throw e}if(!o||!n.overrides||!n.overrides[o])return s;var a=n.overrides[o],u=(0,r.Z)({},s);return Object.keys(a).forEach((function(e){u[e]=(0,i.Z)(u[e],a[e])})),u},options:{}}}},56902:function(e,t){"use strict";t.Z={}},93869:function(e,t,n){"use strict";function r(e){var t=e.theme,n=e.name,r=e.props;if(!t||!t.props||!t.props[n])return r;var i,o=t.props[n];for(i in o)void 0===r[i]&&(r[i]=o[i]);return r}n.d(t,{Z:function(){return r}})},54620:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(27202),i=n(5019),o=n(63057),s=n(30314),a=n(83961),u=n(39414),c=n(26895);function l(){return{plugins:[(0,r.Z)(),(0,i.Z)(),(0,o.Z)(),(0,s.Z)(),(0,a.Z)(),"undefined"==typeof window?null:(0,u.Z)(),(0,c.Z)()]}}},12038:function(e,t,n){"use strict";n.d(t,{n:function(){return i}});var r=-1e9;function i(){return r+=1}},22954:function(e,t,n){"use strict";n.d(t,{Z:function(){return x}});var r=n(45987),i=n(87462),o=n(8156),s=n.n(o),a=n(54013),u=n(65835),c=n(91286),l=n(159),f=n(26975),d=n(12038),p=n(62241),h=n(56902);function v(e,t,n){var r=e.state;if(e.stylesOptions.disableGeneration)return t||{};r.cacheClasses||(r.cacheClasses={value:null,lastProp:null,lastJSS:{}});var i=!1;return r.classes!==r.cacheClasses.lastJSS&&(r.cacheClasses.lastJSS=r.classes,i=!0),t!==r.cacheClasses.lastProp&&(r.cacheClasses.lastProp=t,i=!0),i&&(r.cacheClasses.value=(0,u.Z)({baseClasses:r.cacheClasses.lastJSS,newClasses:t,Component:n})),r.cacheClasses.value}function y(e,t){var n=e.state,r=e.theme,o=e.stylesOptions,s=e.stylesCreator,l=e.name;if(!o.disableGeneration){var f=c.Z.get(o.sheetsManager,s,r);f||(f={refs:0,staticSheet:null,dynamicStyles:null},c.Z.set(o.sheetsManager,s,r,f));var d=(0,i.Z)({},s.options,o,{theme:r,flip:"boolean"==typeof o.flip?o.flip:"rtl"===r.direction});d.generateId=d.serverGenerateClassName||d.generateClassName;var p=o.sheetsRegistry;if(0===f.refs){var h;o.sheetsCache&&(h=c.Z.get(o.sheetsCache,s,r));var v=s.create(r,l);h||((h=o.jss.createStyleSheet(v,(0,i.Z)({link:!1},d))).attach(),o.sheetsCache&&c.Z.set(o.sheetsCache,s,r,h)),p&&p.add(h),f.staticSheet=h,f.dynamicStyles=(0,a._$)(v)}if(f.dynamicStyles){var y=o.jss.createStyleSheet(f.dynamicStyles,(0,i.Z)({link:!0},d));y.update(t),y.attach(),n.dynamicSheet=y,n.classes=(0,u.Z)({baseClasses:f.staticSheet.classes,newClasses:y.classes}),p&&p.add(y)}else n.classes=f.staticSheet.classes;f.refs+=1}}function m(e,t){var n=e.state;n.dynamicSheet&&n.dynamicSheet.update(t)}function g(e){var t=e.state,n=e.theme,r=e.stylesOptions,i=e.stylesCreator;if(!r.disableGeneration){var o=c.Z.get(r.sheetsManager,i,n);o.refs-=1;var s=r.sheetsRegistry;0===o.refs&&(c.Z.delete(r.sheetsManager,i,n),r.jss.removeStyleSheet(o.staticSheet),s&&s.remove(o.staticSheet)),t.dynamicSheet&&(r.jss.removeStyleSheet(t.dynamicSheet),s&&s.remove(t.dynamicSheet))}}function b(e,t){var n,r=s().useRef([]),i=s().useMemo((function(){return{}}),t);r.current!==i&&(r.current=i,n=e()),s().useEffect((function(){return function(){n&&n()}}),[i])}function x(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.name,o=t.classNamePrefix,a=t.Component,u=t.defaultTheme,c=void 0===u?h.Z:u,x=(0,r.Z)(t,["name","classNamePrefix","Component","defaultTheme"]),Z=(0,p.Z)(e),S=n||o||"makeStyles";Z.options={index:(0,d.n)(),name:n,meta:S,classNamePrefix:S};var w=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=(0,l.Z)()||c,r=(0,i.Z)({},s().useContext(f.NU),x),o=s().useRef(),u=s().useRef();b((function(){var i={name:n,state:{},stylesCreator:Z,stylesOptions:r,theme:t};return y(i,e),u.current=!1,o.current=i,function(){g(i)}}),[t,Z]),s().useEffect((function(){u.current&&m(o.current,e),u.current=!0}));var d=v(o.current,e.classes,a);return d};return w}},91286:function(e,t){"use strict";var n={set:function(e,t,n,r){var i=e.get(t);i||(i=new Map,e.set(t,i)),i.set(n,r)},get:function(e,t,n){var r=e.get(t);return r?r.get(n):void 0},delete:function(e,t,n){e.get(t).delete(n)}};t.Z=n},65835:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(87462);function i(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.baseClasses,n=e.newClasses;e.Component;if(!n)return t;var i=(0,r.Z)({},t);return Object.keys(n).forEach((function(e){n[e]&&(i[e]="".concat(t[e]," ").concat(n[e]))})),i}},83800:function(e,t,n){"use strict";var r=n(8156),i=n.n(r)().createContext(null);t.Z=i},159:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(8156),i=n.n(r),o=n(83800);function s(){return i().useContext(o.Z)}},38920:function(e,t,n){"use strict";var r=n(87462),i=n(45987),o=n(8156),s=n.n(o),a=n(8679),u=n.n(a),c=n(22954),l=n(93869),f=n(159);t.Z=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function(n){var o=t.defaultTheme,a=t.withTheme,d=void 0!==a&&a,p=t.name,h=(0,i.Z)(t,["defaultTheme","withTheme","name"]);var v=p,y=(0,c.Z)(e,(0,r.Z)({defaultTheme:o,Component:n,name:p||n.displayName,classNamePrefix:v},h)),m=s().forwardRef((function(e,t){e.classes;var a,u=e.innerRef,c=(0,i.Z)(e,["classes","innerRef"]),h=y((0,r.Z)({},n.defaultProps,e)),v=c;return("string"==typeof p||d)&&(a=(0,f.Z)()||o,p&&(v=(0,l.Z)({theme:a,name:p,props:c})),d&&!v.theme&&(v.theme=a)),s().createElement(n,(0,r.Z)({ref:u||t,classes:h},v))}));return u()(m,n),m}}},71410:function(e,t,n){"use strict";n.d(t,{k:function(){return s}});var r=n(71002),i={xs:0,sm:600,md:960,lg:1280,xl:1920},o={keys:["xs","sm","md","lg","xl"],up:function(e){return"@media (min-width:".concat(i[e],"px)")}};function s(e,t,n){if(Array.isArray(t)){var i=e.theme.breakpoints||o;return t.reduce((function(e,r,o){return e[i.up(i.keys[o])]=n(t[o]),e}),{})}if("object"===(0,r.Z)(t)){var s=e.theme.breakpoints||o;return Object.keys(t).reduce((function(e,r){return e[s.up(r)]=n(t[r]),e}),{})}return n(t)}},92578:function(e,t,n){"use strict";function r(e){var t={};return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}n.d(t,{Z:function(){return r}})},19668:function(e,t,n){"use strict";var r=n(35953);t.Z=function(e,t){return t?(0,r.Z)(e,t,{clone:!1}):e}},71279:function(e,t,n){"use strict";n.d(t,{h:function(){return d}});var r=n(93324),i=n(71410),o=n(19668),s=n(92578),a={m:"margin",p:"padding"},u={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},c={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},l=(0,s.Z)((function(e){if(e.length>2){if(!c[e])return[e];e=c[e]}var t=e.split(""),n=(0,r.Z)(t,2),i=n[0],o=n[1],s=a[i],l=u[o]||"";return Array.isArray(l)?l.map((function(e){return s+e})):[s+l]})),f=["m","mt","mr","mb","ml","mx","my","p","pt","pr","pb","pl","px","py","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY"];function d(e){var t=e.spacing||8;return"number"==typeof t?function(e){return t*e}:Array.isArray(t)?function(e){return t[e]}:"function"==typeof t?t:function(){}}function p(e,t){return function(n){return e.reduce((function(e,r){return e[r]=function(e,t){if("string"==typeof t||null==t)return t;var n=e(Math.abs(t));return t>=0?n:"number"==typeof n?-n:"-".concat(n)}(t,n),e}),{})}}function h(e){var t=d(e.theme);return Object.keys(e).map((function(n){if(-1===f.indexOf(n))return null;var r=p(l(n),t),o=e[n];return(0,i.k)(e,o,r)})).reduce(o.Z,{})}h.propTypes={},h.filterProps=f},35953:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(87462),i=n(71002);function o(e){return e&&"object"===(0,i.Z)(e)&&e.constructor===Object}function s(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{clone:!0},i=n.clone?(0,r.Z)({},e):e;return o(e)&&o(t)&&Object.keys(t).forEach((function(r){"__proto__"!==r&&(o(t[r])&&r in e?i[r]=s(e[r],t[r],n):i[r]=t[r])})),i}},60288:function(e,t,n){"use strict";function r(e){for(var t="https://mui.com/production-error/?code="+e,n=1;n<arguments.length;n+=1)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified Material-UI error #"+e+"; visit "+t+" for the full message."}n.d(t,{Z:function(){return r}})},86010:function(e,t,n){"use strict";function r(e){var t,n,i="";if("string"==typeof e||"number"==typeof e)i+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(n=r(e[t]))&&(i&&(i+=" "),i+=n);else for(t in e)e[t]&&(i&&(i+=" "),i+=t);return i}function i(){for(var e,t,n=0,i="";n<arguments.length;)(e=arguments[n++])&&(t=r(e))&&(i&&(i+=" "),i+=t);return i}n.d(t,{Z:function(){return i}})},95845:function(e,t,n){(t=n(23645)(!1)).push([e.id,".paraui-popover-paper{box-shadow:0px 2px 8px 0px rgba(171,176,185,.4)}",""]),e.exports=t},23645:function(e){"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n=function(e,t){var n=e[1]||"",r=e[3];if(!r)return n;if(t&&"function"==typeof btoa){var i=(s=r,a=btoa(unescape(encodeURIComponent(JSON.stringify(s)))),u="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(a),"/*# ".concat(u," */")),o=r.sources.map((function(e){return"/*# sourceURL=".concat(r.sourceRoot||"").concat(e," */")}));return[n].concat(o).concat([i]).join("\n")}var s,a,u;return[n].join("\n")}(t,e);return t[2]?"@media ".concat(t[2]," {").concat(n,"}"):n})).join("")},t.i=function(e,n,r){"string"==typeof e&&(e=[[null,e,""]]);var i={};if(r)for(var o=0;o<this.length;o++){var s=this[o][0];null!=s&&(i[s]=!0)}for(var a=0;a<e.length;a++){var u=[].concat(e[a]);r&&i[u[0]]||(n&&(u[2]?u[2]="".concat(n," and ").concat(u[2]):u[2]=n),t.push(u))}},t}},55730:function(e,t,n){"use strict";n.d(t,{if:function(){return g},wR:function(){return K},HO:function(){return ne}});var r=n(33827),i=n(89062),o="",s="",a="",u="",c=r.Z&&"ontouchstart"in document.documentElement;if(r.Z){var l={Moz:"-moz-",ms:"-ms-",O:"-o-",Webkit:"-webkit-"},f=document.createElement("p").style;for(var d in l)if(d+"Transform"in f){o=d,s=l[d];break}"Webkit"===o&&"msHyphens"in f&&(o="ms",s=l.ms,u="edge"),"Webkit"===o&&"-apple-trailing-word"in f&&(a="apple")}var p=o,h=s,v=a,y=u,m=c;function g(e){return"-"===e[1]||"ms"===p?e:"@"+h+"keyframes"+e.substr(10)}var b={noPrefill:["appearance"],supportedProperty:function(e){return"appearance"===e&&("ms"===p?"-webkit-"+e:h+e)}},x={noPrefill:["color-adjust"],supportedProperty:function(e){return"color-adjust"===e&&("Webkit"===p?h+"print-"+e:e)}},Z=/[-\s]+(.)?/g;function S(e,t){return t?t.toUpperCase():""}function w(e){return e.replace(Z,S)}function k(e){return w("-"+e)}var E,R={noPrefill:["mask"],supportedProperty:function(e,t){if(!/^mask/.test(e))return!1;if("Webkit"===p){var n="mask-image";if(w(n)in t)return e;if(p+k(n)in t)return h+e}return e}},P={noPrefill:["text-orientation"],supportedProperty:function(e){return"text-orientation"===e&&("apple"!==v||m?e:h+e)}},C={noPrefill:["transform"],supportedProperty:function(e,t,n){return"transform"===e&&(n.transform?e:h+e)}},O={noPrefill:["transition"],supportedProperty:function(e,t,n){return"transition"===e&&(n.transition?e:h+e)}},A={noPrefill:["writing-mode"],supportedProperty:function(e){return"writing-mode"===e&&("Webkit"===p||"ms"===p&&"edge"!==y?h+e:e)}},j={noPrefill:["user-select"],supportedProperty:function(e){return"user-select"===e&&("Moz"===p||"ms"===p||"apple"===v?h+e:e)}},T={supportedProperty:function(e,t){return!!/^break-/.test(e)&&("Webkit"===p?"WebkitColumn"+k(e)in t&&h+"column-"+e:"Moz"===p&&("page"+k(e)in t&&"page-"+e))}},M={supportedProperty:function(e,t){if(!/^(border|margin|padding)-inline/.test(e))return!1;if("Moz"===p)return e;var n=e.replace("-inline","");return p+k(n)in t&&h+n}},N={supportedProperty:function(e,t){return w(e)in t&&e}},I={supportedProperty:function(e,t){var n=k(e);return"-"===e[0]||"-"===e[0]&&"-"===e[1]?e:p+n in t?h+e:"Webkit"!==p&&"Webkit"+n in t&&"-webkit-"+e}},z={supportedProperty:function(e){return"scroll-snap"===e.substring(0,11)&&("ms"===p?""+h+e:e)}},L={supportedProperty:function(e){return"overscroll-behavior"===e&&("ms"===p?h+"scroll-chaining":e)}},$={"flex-grow":"flex-positive","flex-shrink":"flex-negative","flex-basis":"flex-preferred-size","justify-content":"flex-pack",order:"flex-order","align-items":"flex-align","align-content":"flex-line-pack"},D={supportedProperty:function(e,t){var n=$[e];return!!n&&(p+k(n)in t&&h+n)}},F={flex:"box-flex","flex-grow":"box-flex","flex-direction":["box-orient","box-direction"],order:"box-ordinal-group","align-items":"box-align","flex-flow":["box-orient","box-direction"],"justify-content":"box-pack"},H=Object.keys(F),W=function(e){return h+e},B={supportedProperty:function(e,t,n){var r=n.multiple;if(H.indexOf(e)>-1){var i=F[e];if(!Array.isArray(i))return p+k(i)in t&&h+i;if(!r)return!1;for(var o=0;o<i.length;o++)if(!(p+k(i[0])in t))return!1;return i.map(W)}return!1}},_=[b,x,R,P,C,O,A,j,T,M,N,I,z,L,D,B],U=_.filter((function(e){return e.supportedProperty})).map((function(e){return e.supportedProperty})),q=_.filter((function(e){return e.noPrefill})).reduce((function(e,t){return e.push.apply(e,(0,i.Z)(t.noPrefill)),e}),[]),V={};if(r.Z){E=document.createElement("p");var G=window.getComputedStyle(document.documentElement,"");for(var J in G)isNaN(J)||(V[G[J]]=G[J]);q.forEach((function(e){return delete V[e]}))}function K(e,t){if(void 0===t&&(t={}),!E)return e;if(null!=V[e])return V[e];"transition"!==e&&"transform"!==e||(t[e]=e in E.style);for(var n=0;n<U.length&&(V[e]=U[n](e,E.style,t),!V[e]);n++);try{E.style[e]=""}catch(e){return!1}return V[e]}var X,Y={},Q={transition:1,"transition-property":1,"-webkit-transition":1,"-webkit-transition-property":1},ee=/(^\s*[\w-]+)|, (\s*[\w-]+)(?![^()]*\))/g;function te(e,t,n){if("var"===t)return"var";if("all"===t)return"all";if("all"===n)return", all";var r=t?K(t):", "+K(n);return r||(t||n)}function ne(e,t){var n=t;if(!X||"content"===e)return t;if("string"!=typeof n||!isNaN(parseInt(n,10)))return n;var r=e+n;if(null!=Y[r])return Y[r];try{X.style[e]=n}catch(e){return Y[r]=!1,!1}if(Q[e])n=n.replace(ee,te);else if(""===X.style[e]&&("-ms-flex"===(n=h+n)&&(X.style[e]="-ms-flexbox"),X.style[e]=n,""===X.style[e]))return Y[r]=!1,!1;return X.style[e]="",Y[r]=n,Y[r]}r.Z&&(X=document.createElement("p"))},8679:function(e,t,n){"use strict";var r=n(21296),i={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},s={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},a={};function u(e){return r.isMemo(e)?s:a[e.$$typeof]||i}a[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},a[r.Memo]=s;var c=Object.defineProperty,l=Object.getOwnPropertyNames,f=Object.getOwnPropertySymbols,d=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(h){var i=p(n);i&&i!==h&&e(t,i,r)}var s=l(n);f&&(s=s.concat(f(n)));for(var a=u(t),v=u(n),y=0;y<s.length;++y){var m=s[y];if(!(o[m]||r&&r[m]||v&&v[m]||a&&a[m])){var g=d(n,m);try{c(t,m,g)}catch(e){}}}}return t}},96103:function(e,t){"use strict";
|
|
1
|
+
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("react"),require("react-dom")):"function"==typeof define&&define.amd?define(["react","react-dom"],t):"object"==typeof exports?exports.ParaUI=t(require("react"),require("react-dom")):e.ParaUI=t(e.react,e["react-dom"])}(self,(function(e,t){return function(){var n={20170:function(e,t,n){"use strict";var r=n(87462),i=n(93324),o=n(45987),s=n(8156),a=n(96630),u=n(8920),c=n(5653),l=n(17294);function f(e){return"scale(".concat(e,", ").concat(Math.pow(e,2),")")}var d={entering:{opacity:1,transform:f(1)},entered:{opacity:1,transform:"none"}},p=s.forwardRef((function(e,t){var n=e.children,p=e.disableStrictModeCompat,h=void 0!==p&&p,v=e.in,y=e.onEnter,m=e.onEntered,g=e.onEntering,b=e.onExit,x=e.onExited,Z=e.onExiting,S=e.style,w=e.timeout,k=void 0===w?"auto":w,E=e.TransitionComponent,R=void 0===E?a.ZP:E,P=(0,o.Z)(e,["children","disableStrictModeCompat","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"]),C=s.useRef(),O=s.useRef(),A=(0,u.Z)(),j=A.unstable_strictMode&&!h,T=s.useRef(null),M=(0,l.Z)(n.ref,t),N=(0,l.Z)(j?T:void 0,M),I=function(e){return function(t,n){if(e){var r=j?[T.current,t]:[t,n],o=(0,i.Z)(r,2),s=o[0],a=o[1];void 0===a?e(s):e(s,a)}}},z=I(g),L=I((function(e,t){(0,c.n)(e);var n,r=(0,c.C)({style:S,timeout:k},{mode:"enter"}),i=r.duration,o=r.delay;"auto"===k?(n=A.transitions.getAutoHeightDuration(e.clientHeight),O.current=n):n=i,e.style.transition=[A.transitions.create("opacity",{duration:n,delay:o}),A.transitions.create("transform",{duration:.666*n,delay:o})].join(","),y&&y(e,t)})),$=I(m),D=I(Z),F=I((function(e){var t,n=(0,c.C)({style:S,timeout:k},{mode:"exit"}),r=n.duration,i=n.delay;"auto"===k?(t=A.transitions.getAutoHeightDuration(e.clientHeight),O.current=t):t=r,e.style.transition=[A.transitions.create("opacity",{duration:t,delay:i}),A.transitions.create("transform",{duration:.666*t,delay:i||.333*t})].join(","),e.style.opacity="0",e.style.transform=f(.75),b&&b(e)})),H=I(x);return s.useEffect((function(){return function(){clearTimeout(C.current)}}),[]),s.createElement(R,(0,r.Z)({appear:!0,in:v,nodeRef:j?T:void 0,onEnter:L,onEntered:$,onEntering:z,onExit:F,onExited:H,onExiting:D,addEndListener:function(e,t){var n=j?e:t;"auto"===k&&(C.current=setTimeout(n,O.current||0))},timeout:"auto"===k?null:k},P),(function(e,t){return s.cloneElement(n,(0,r.Z)({style:(0,r.Z)({opacity:0,transform:f(.75),visibility:"exited"!==e||v?void 0:"hidden"},d[e],S,n.props.style),ref:N},t))}))}));p.muiSupportAuto=!0,t.Z=p},76234:function(e,t,n){"use strict";var r=n(8156),i=n(47111),o=n(34236),s=n(17294);var a="undefined"!=typeof window?r.useLayoutEffect:r.useEffect,u=r.forwardRef((function(e,t){var n=e.children,u=e.container,c=e.disablePortal,l=void 0!==c&&c,f=e.onRendered,d=r.useState(null),p=d[0],h=d[1],v=(0,s.Z)(r.isValidElement(n)?n.ref:null,t);return a((function(){l||h(function(e){return e="function"==typeof e?e():e,i.findDOMNode(e)}(u)||document.body)}),[u,l]),a((function(){if(p&&!l)return(0,o.Z)(t,p),function(){(0,o.Z)(t,null)}}),[t,p,l]),a((function(){f&&(p||l)&&f()}),[f,p,l]),l?r.isValidElement(n)?r.cloneElement(n,{ref:v}):n:p?i.createPortal(n,p):p}));t.Z=u},96230:function(e,t){"use strict";t.Z={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"}},34733:function(e,t){"use strict";t.Z={black:"#000",white:"#fff"}},18334:function(e,t){"use strict";t.Z={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"}},88105:function(e,t){"use strict";t.Z={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#d5d5d5",A200:"#aaaaaa",A400:"#303030",A700:"#616161"}},34446:function(e,t){"use strict";t.Z={50:"#e8eaf6",100:"#c5cae9",200:"#9fa8da",300:"#7986cb",400:"#5c6bc0",500:"#3f51b5",600:"#3949ab",700:"#303f9f",800:"#283593",900:"#1a237e",A100:"#8c9eff",A200:"#536dfe",A400:"#3d5afe",A700:"#304ffe"}},59546:function(e,t){"use strict";t.Z={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"}},9198:function(e,t){"use strict";t.Z={50:"#fce4ec",100:"#f8bbd0",200:"#f48fb1",300:"#f06292",400:"#ec407a",500:"#e91e63",600:"#d81b60",700:"#c2185b",800:"#ad1457",900:"#880e4f",A100:"#ff80ab",A200:"#ff4081",A400:"#f50057",A700:"#c51162"}},20907:function(e,t){"use strict";t.Z={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"}},59693:function(e,t,n){"use strict";n.d(t,{mi:function(){return a},_j:function(){return c},$n:function(){return l}});var r=n(60288);function i(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;return Math.min(Math.max(t,e),n)}function o(e){if(e.type)return e;if("#"===e.charAt(0))return o(function(e){e=e.substr(1);var t=new RegExp(".{1,".concat(e.length>=6?2:1,"}"),"g"),n=e.match(t);return n&&1===n[0].length&&(n=n.map((function(e){return e+e}))),n?"rgb".concat(4===n.length?"a":"","(").concat(n.map((function(e,t){return t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3})).join(", "),")"):""}(e));var t=e.indexOf("("),n=e.substring(0,t);if(-1===["rgb","rgba","hsl","hsla"].indexOf(n))throw new Error((0,r.Z)(3,e));var i=e.substring(t+1,e.length-1).split(",");return{type:n,values:i=i.map((function(e){return parseFloat(e)}))}}function s(e){var t=e.type,n=e.values;return-1!==t.indexOf("rgb")?n=n.map((function(e,t){return t<3?parseInt(e,10):e})):-1!==t.indexOf("hsl")&&(n[1]="".concat(n[1],"%"),n[2]="".concat(n[2],"%")),"".concat(t,"(").concat(n.join(", "),")")}function a(e,t){var n=u(e),r=u(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function u(e){var t="hsl"===(e=o(e)).type?o(function(e){var t=(e=o(e)).values,n=t[0],r=t[1]/100,i=t[2]/100,a=r*Math.min(i,1-i),u=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:(e+n/30)%12;return i-a*Math.max(Math.min(t-3,9-t,1),-1)},c="rgb",l=[Math.round(255*u(0)),Math.round(255*u(8)),Math.round(255*u(4))];return"hsla"===e.type&&(c+="a",l.push(t[3])),s({type:c,values:l})}(e)).values:e.values;return t=t.map((function(e){return(e/=255)<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4)})),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function c(e,t){if(e=o(e),t=i(t),-1!==e.type.indexOf("hsl"))e.values[2]*=1-t;else if(-1!==e.type.indexOf("rgb"))for(var n=0;n<3;n+=1)e.values[n]*=1-t;return s(e)}function l(e,t){if(e=o(e),t=i(t),-1!==e.type.indexOf("hsl"))e.values[2]+=(100-e.values[2])*t;else if(-1!==e.type.indexOf("rgb"))for(var n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;return s(e)}},90157:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(87462),i=n(45987),o=["xs","sm","md","lg","xl"];function s(e){var t=e.values,n=void 0===t?{xs:0,sm:600,md:960,lg:1280,xl:1920}:t,s=e.unit,a=void 0===s?"px":s,u=e.step,c=void 0===u?5:u,l=(0,i.Z)(e,["values","unit","step"]);function f(e){var t="number"==typeof n[e]?n[e]:e;return"@media (min-width:".concat(t).concat(a,")")}function d(e,t){var r=o.indexOf(t);return r===o.length-1?f(e):"@media (min-width:".concat("number"==typeof n[e]?n[e]:e).concat(a,") and ")+"(max-width:".concat((-1!==r&&"number"==typeof n[o[r+1]]?n[o[r+1]]:t)-c/100).concat(a,")")}return(0,r.Z)({keys:o,values:n,up:f,down:function(e){var t=o.indexOf(e)+1,r=n[o[t]];return t===o.length?f("xs"):"@media (max-width:".concat(("number"==typeof r&&t>0?r:e)-c/100).concat(a,")")},between:d,only:function(e){return d(e,e)},width:function(e){return n[e]}},l)}},66026:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(4942),i=n(87462);function o(e,t,n){var o;return(0,i.Z)({gutters:function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,i.Z)({paddingLeft:t(2),paddingRight:t(2)},n,(0,r.Z)({},e.up("sm"),(0,i.Z)({paddingLeft:t(3),paddingRight:t(3)},n[e.up("sm")])))},toolbar:(o={minHeight:56},(0,r.Z)(o,"".concat(e.up("xs")," and (orientation: landscape)"),{minHeight:48}),(0,r.Z)(o,e.up("sm"),{minHeight:64}),o)},n)}},75635:function(e,t,n){"use strict";var r=n(45987),i=n(35953),o=n(90157),s=n(66026),a=n(8442),u=n(44606),c=n(97681),l=n(36875),f=n(88035),d=n(43366),p=n(92781);t.Z=function(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.breakpoints,n=void 0===t?{}:t,h=e.mixins,v=void 0===h?{}:h,y=e.palette,m=void 0===y?{}:y,g=e.spacing,b=e.typography,x=void 0===b?{}:b,Z=(0,r.Z)(e,["breakpoints","mixins","palette","spacing","typography"]),S=(0,a.ZP)(m),w=(0,o.Z)(n),k=(0,f.Z)(g),E=(0,i.Z)({breakpoints:w,direction:"ltr",mixins:(0,s.Z)(w,k,v),overrides:{},palette:S,props:{},shadows:c.Z,typography:(0,u.Z)(S,x),spacing:k,shape:l.Z,transitions:d.ZP,zIndex:p.Z},Z),R=arguments.length,P=new Array(R>1?R-1:0),C=1;C<R;C++)P[C-1]=arguments[C];return E=P.reduce((function(e,t){return(0,i.Z)(e,t)}),E)}},8442:function(e,t,n){"use strict";n.d(t,{ZP:function(){return b}});var r=n(87462),i=n(45987),o=n(60288),s=n(35953),a=n(34733),u=n(88105),c=n(34446),l=n(9198),f=n(20907),d=n(59546),p=n(96230),h=n(18334),v=n(59693),y={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.54)",disabled:"rgba(0, 0, 0, 0.38)",hint:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:a.Z.white,default:u.Z[50]},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},m={text:{primary:a.Z.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",hint:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:u.Z[800],default:"#303030"},action:{active:a.Z.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function g(e,t,n,r){var i=r.light||r,o=r.dark||1.5*r;e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:"light"===t?e.light=(0,v.$n)(e.main,i):"dark"===t&&(e.dark=(0,v._j)(e.main,o)))}function b(e){var t=e.primary,n=void 0===t?{light:c.Z[300],main:c.Z[500],dark:c.Z[700]}:t,b=e.secondary,x=void 0===b?{light:l.Z.A200,main:l.Z.A400,dark:l.Z.A700}:b,Z=e.error,S=void 0===Z?{light:f.Z[300],main:f.Z[500],dark:f.Z[700]}:Z,w=e.warning,k=void 0===w?{light:d.Z[300],main:d.Z[500],dark:d.Z[700]}:w,E=e.info,R=void 0===E?{light:p.Z[300],main:p.Z[500],dark:p.Z[700]}:E,P=e.success,C=void 0===P?{light:h.Z[300],main:h.Z[500],dark:h.Z[700]}:P,O=e.type,A=void 0===O?"light":O,j=e.contrastThreshold,T=void 0===j?3:j,M=e.tonalOffset,N=void 0===M?.2:M,I=(0,i.Z)(e,["primary","secondary","error","warning","info","success","type","contrastThreshold","tonalOffset"]);function z(e){return(0,v.mi)(e,m.text.primary)>=T?m.text.primary:y.text.primary}var L=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:500,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:300,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:700;if(!(e=(0,r.Z)({},e)).main&&e[t]&&(e.main=e[t]),!e.main)throw new Error((0,o.Z)(4,t));if("string"!=typeof e.main)throw new Error((0,o.Z)(5,JSON.stringify(e.main)));return g(e,"light",n,N),g(e,"dark",i,N),e.contrastText||(e.contrastText=z(e.main)),e},$={dark:m,light:y};return(0,s.Z)((0,r.Z)({common:a.Z,type:A,primary:L(n),secondary:L(x,"A400","A200","A700"),error:L(S),warning:L(k),info:L(R),success:L(C),grey:u.Z,contrastThreshold:T,getContrastText:z,augmentColor:L,tonalOffset:N},$[A]),I)}},88035:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(71279);function i(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:8;if(e.mui)return e;var t=(0,r.h)({spacing:e}),n=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return 0===n.length?t(1):1===n.length?t(n[0]):n.map((function(e){if("string"==typeof e)return e;var n=t(e);return"number"==typeof n?"".concat(n,"px"):n})).join(" ")};return Object.defineProperty(n,"unit",{get:function(){return e}}),n.mui=!0,n}},44606:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(87462),i=n(45987),o=n(35953);function s(e){return Math.round(1e5*e)/1e5}var a={textTransform:"uppercase"},u='"Roboto", "Helvetica", "Arial", sans-serif';function c(e,t){var n="function"==typeof t?t(e):t,c=n.fontFamily,l=void 0===c?u:c,f=n.fontSize,d=void 0===f?14:f,p=n.fontWeightLight,h=void 0===p?300:p,v=n.fontWeightRegular,y=void 0===v?400:v,m=n.fontWeightMedium,g=void 0===m?500:m,b=n.fontWeightBold,x=void 0===b?700:b,Z=n.htmlFontSize,S=void 0===Z?16:Z,w=n.allVariants,k=n.pxToRem,E=(0,i.Z)(n,["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"]);var R=d/14,P=k||function(e){return"".concat(e/S*R,"rem")},C=function(e,t,n,i,o){return(0,r.Z)({fontFamily:l,fontWeight:e,fontSize:P(t),lineHeight:n},l===u?{letterSpacing:"".concat(s(i/t),"em")}:{},o,w)},O={h1:C(h,96,1.167,-1.5),h2:C(h,60,1.2,-.5),h3:C(y,48,1.167,0),h4:C(y,34,1.235,.25),h5:C(y,24,1.334,0),h6:C(g,20,1.6,.15),subtitle1:C(y,16,1.75,.15),subtitle2:C(g,14,1.57,.1),body1:C(y,16,1.5,.15),body2:C(y,14,1.43,.15),button:C(g,14,1.75,.4,a),caption:C(y,12,1.66,.4),overline:C(y,12,2.66,1,a)};return(0,o.Z)((0,r.Z)({htmlFontSize:S,pxToRem:P,round:s,fontFamily:l,fontSize:d,fontWeightLight:h,fontWeightRegular:y,fontWeightMedium:g,fontWeightBold:x},O),E,{clone:!1})}},99700:function(e,t,n){"use strict";var r=(0,n(75635).Z)();t.Z=r},97681:function(e,t){"use strict";function n(){return["".concat(arguments.length<=0?void 0:arguments[0],"px ").concat(arguments.length<=1?void 0:arguments[1],"px ").concat(arguments.length<=2?void 0:arguments[2],"px ").concat(arguments.length<=3?void 0:arguments[3],"px rgba(0,0,0,").concat(.2,")"),"".concat(arguments.length<=4?void 0:arguments[4],"px ").concat(arguments.length<=5?void 0:arguments[5],"px ").concat(arguments.length<=6?void 0:arguments[6],"px ").concat(arguments.length<=7?void 0:arguments[7],"px rgba(0,0,0,").concat(.14,")"),"".concat(arguments.length<=8?void 0:arguments[8],"px ").concat(arguments.length<=9?void 0:arguments[9],"px ").concat(arguments.length<=10?void 0:arguments[10],"px ").concat(arguments.length<=11?void 0:arguments[11],"px rgba(0,0,0,").concat(.12,")")].join(",")}var r=["none",n(0,2,1,-1,0,1,1,0,0,1,3,0),n(0,3,1,-2,0,2,2,0,0,1,5,0),n(0,3,3,-2,0,3,4,0,0,1,8,0),n(0,2,4,-1,0,4,5,0,0,1,10,0),n(0,3,5,-1,0,5,8,0,0,1,14,0),n(0,3,5,-1,0,6,10,0,0,1,18,0),n(0,4,5,-2,0,7,10,1,0,2,16,1),n(0,5,5,-3,0,8,10,1,0,3,14,2),n(0,5,6,-3,0,9,12,1,0,3,16,2),n(0,6,6,-3,0,10,14,1,0,4,18,3),n(0,6,7,-4,0,11,15,1,0,4,20,3),n(0,7,8,-4,0,12,17,2,0,5,22,4),n(0,7,8,-4,0,13,19,2,0,5,24,4),n(0,7,9,-4,0,14,21,2,0,5,26,4),n(0,8,9,-5,0,15,22,2,0,6,28,5),n(0,8,10,-5,0,16,24,2,0,6,30,5),n(0,8,11,-5,0,17,26,2,0,6,32,5),n(0,9,11,-5,0,18,28,2,0,7,34,6),n(0,9,12,-6,0,19,29,2,0,7,36,6),n(0,10,13,-6,0,20,31,3,0,8,38,7),n(0,10,13,-6,0,21,33,3,0,8,40,7),n(0,10,14,-6,0,22,35,3,0,8,42,7),n(0,11,14,-7,0,23,36,3,0,9,44,8),n(0,11,15,-7,0,24,38,3,0,9,46,8)];t.Z=r},36875:function(e,t){"use strict";t.Z={borderRadius:4}},43366:function(e,t,n){"use strict";var r=n(45987),i={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},o={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function s(e){return"".concat(Math.round(e),"ms")}t.ZP={easing:i,duration:o,create:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["all"],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.duration,a=void 0===n?o.standard:n,u=t.easing,c=void 0===u?i.easeInOut:u,l=t.delay,f=void 0===l?0:l;(0,r.Z)(t,["duration","easing","delay"]);return(Array.isArray(e)?e:[e]).map((function(e){return"".concat(e," ").concat("string"==typeof a?a:s(a)," ").concat(c," ").concat("string"==typeof f?f:s(f))})).join(",")},getAutoHeightDuration:function(e){if(!e)return 0;var t=e/36;return Math.round(10*(4+15*Math.pow(t,.25)+t/5))}}},8920:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(159),i=(n(8156),n(99700));function o(){return(0,r.Z)()||i.Z}},52543:function(e,t,n){"use strict";var r=n(87462),i=n(38920),o=n(99700);t.Z=function(e,t){return(0,i.Z)(e,(0,r.Z)({defaultTheme:o.Z},t))}},92781:function(e,t){"use strict";t.Z={mobileStepper:1e3,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500}},5653:function(e,t,n){"use strict";n.d(t,{n:function(){return r},C:function(){return i}});var r=function(e){return e.scrollTop};function i(e,t){var n=e.timeout,r=e.style,i=void 0===r?{}:r;return{duration:i.transitionDuration||"number"==typeof n?n:n[t.mode]||0,delay:i.transitionDelay}}},82568:function(e,t,n){"use strict";function r(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.reduce((function(e,t){return null==t?e:function(){for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];e.apply(this,r),t.apply(this,r)}}),(function(){}))}n.d(t,{Z:function(){return r}})},79437:function(e,t,n){"use strict";function r(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:166;function r(){for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];var s=this,a=function(){e.apply(s,i)};clearTimeout(t),t=setTimeout(a,n)}return r.clear=function(){clearTimeout(t)},r}n.d(t,{Z:function(){return r}})},30626:function(e,t,n){"use strict";function r(e){return e&&e.ownerDocument||document}n.d(t,{Z:function(){return r}})},80713:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(30626);function i(e){return(0,r.Z)(e).defaultView||window}},34236:function(e,t,n){"use strict";function r(e,t){"function"==typeof e?e(t):e&&(e.current=t)}n.d(t,{Z:function(){return r}})},55192:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(8156),i="undefined"!=typeof window?r.useLayoutEffect:r.useEffect;function o(e){var t=r.useRef(e);return i((function(){t.current=e})),r.useCallback((function(){return t.current.apply(void 0,arguments)}),[])}},17294:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(8156),i=n(34236);function o(e,t){return r.useMemo((function(){return null==e&&null==t?null:function(n){(0,i.Z)(e,n),(0,i.Z)(t,n)}}),[e,t])}},26975:function(e,t,n){"use strict";n.d(t,{NU:function(){return l}});var r=n(8156),i=n.n(r),o=n(5034),s=n(54013),a=n(54620),u=(0,s.Ue)((0,a.Z)()),c={disableGeneration:!1,generateClassName:(0,o.Z)(),jss:u,sheetsCache:null,sheetsManager:new Map,sheetsRegistry:null},l=i().createContext(c)},17076:function(e,t){"use strict";var n="function"==typeof Symbol&&Symbol.for;t.Z=n?Symbol.for("mui.nested"):"__THEME_NESTED__"},5034:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(17076),i=["checked","disabled","error","focused","focusVisible","required","expanded","selected"];function o(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.disableGlobal,n=void 0!==t&&t,o=e.productionPrefix,s=void 0===o?"jss":o,a=e.seed,u=void 0===a?"":a,c=""===u?"":"".concat(u,"-"),l=0,f=function(){return l+=1};return function(e,t){var o=t.options.name;if(o&&0===o.indexOf("Mui")&&!t.options.link&&!n){if(-1!==i.indexOf(e.key))return"Mui-".concat(e.key);var a="".concat(c).concat(o,"-").concat(e.key);return t.options.theme[r.Z]&&""===u?"".concat(a,"-").concat(f()):a}return"".concat(c).concat(s).concat(f())}}},62241:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(87462),i=n(35953);function o(e){var t="function"==typeof e;return{create:function(n,o){var s;try{s=t?e(n):e}catch(e){throw e}if(!o||!n.overrides||!n.overrides[o])return s;var a=n.overrides[o],u=(0,r.Z)({},s);return Object.keys(a).forEach((function(e){u[e]=(0,i.Z)(u[e],a[e])})),u},options:{}}}},56902:function(e,t){"use strict";t.Z={}},93869:function(e,t,n){"use strict";function r(e){var t=e.theme,n=e.name,r=e.props;if(!t||!t.props||!t.props[n])return r;var i,o=t.props[n];for(i in o)void 0===r[i]&&(r[i]=o[i]);return r}n.d(t,{Z:function(){return r}})},54620:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(27202),i=n(5019),o=n(63057),s=n(30314),a=n(83961),u=n(39414),c=n(26895);function l(){return{plugins:[(0,r.Z)(),(0,i.Z)(),(0,o.Z)(),(0,s.Z)(),(0,a.Z)(),"undefined"==typeof window?null:(0,u.Z)(),(0,c.Z)()]}}},12038:function(e,t,n){"use strict";n.d(t,{n:function(){return i}});var r=-1e9;function i(){return r+=1}},22954:function(e,t,n){"use strict";n.d(t,{Z:function(){return x}});var r=n(45987),i=n(87462),o=n(8156),s=n.n(o),a=n(54013),u=n(65835),c=n(91286),l=n(159),f=n(26975),d=n(12038),p=n(62241),h=n(56902);function v(e,t,n){var r=e.state;if(e.stylesOptions.disableGeneration)return t||{};r.cacheClasses||(r.cacheClasses={value:null,lastProp:null,lastJSS:{}});var i=!1;return r.classes!==r.cacheClasses.lastJSS&&(r.cacheClasses.lastJSS=r.classes,i=!0),t!==r.cacheClasses.lastProp&&(r.cacheClasses.lastProp=t,i=!0),i&&(r.cacheClasses.value=(0,u.Z)({baseClasses:r.cacheClasses.lastJSS,newClasses:t,Component:n})),r.cacheClasses.value}function y(e,t){var n=e.state,r=e.theme,o=e.stylesOptions,s=e.stylesCreator,l=e.name;if(!o.disableGeneration){var f=c.Z.get(o.sheetsManager,s,r);f||(f={refs:0,staticSheet:null,dynamicStyles:null},c.Z.set(o.sheetsManager,s,r,f));var d=(0,i.Z)({},s.options,o,{theme:r,flip:"boolean"==typeof o.flip?o.flip:"rtl"===r.direction});d.generateId=d.serverGenerateClassName||d.generateClassName;var p=o.sheetsRegistry;if(0===f.refs){var h;o.sheetsCache&&(h=c.Z.get(o.sheetsCache,s,r));var v=s.create(r,l);h||((h=o.jss.createStyleSheet(v,(0,i.Z)({link:!1},d))).attach(),o.sheetsCache&&c.Z.set(o.sheetsCache,s,r,h)),p&&p.add(h),f.staticSheet=h,f.dynamicStyles=(0,a._$)(v)}if(f.dynamicStyles){var y=o.jss.createStyleSheet(f.dynamicStyles,(0,i.Z)({link:!0},d));y.update(t),y.attach(),n.dynamicSheet=y,n.classes=(0,u.Z)({baseClasses:f.staticSheet.classes,newClasses:y.classes}),p&&p.add(y)}else n.classes=f.staticSheet.classes;f.refs+=1}}function m(e,t){var n=e.state;n.dynamicSheet&&n.dynamicSheet.update(t)}function g(e){var t=e.state,n=e.theme,r=e.stylesOptions,i=e.stylesCreator;if(!r.disableGeneration){var o=c.Z.get(r.sheetsManager,i,n);o.refs-=1;var s=r.sheetsRegistry;0===o.refs&&(c.Z.delete(r.sheetsManager,i,n),r.jss.removeStyleSheet(o.staticSheet),s&&s.remove(o.staticSheet)),t.dynamicSheet&&(r.jss.removeStyleSheet(t.dynamicSheet),s&&s.remove(t.dynamicSheet))}}function b(e,t){var n,r=s().useRef([]),i=s().useMemo((function(){return{}}),t);r.current!==i&&(r.current=i,n=e()),s().useEffect((function(){return function(){n&&n()}}),[i])}function x(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.name,o=t.classNamePrefix,a=t.Component,u=t.defaultTheme,c=void 0===u?h.Z:u,x=(0,r.Z)(t,["name","classNamePrefix","Component","defaultTheme"]),Z=(0,p.Z)(e),S=n||o||"makeStyles";Z.options={index:(0,d.n)(),name:n,meta:S,classNamePrefix:S};var w=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=(0,l.Z)()||c,r=(0,i.Z)({},s().useContext(f.NU),x),o=s().useRef(),u=s().useRef();b((function(){var i={name:n,state:{},stylesCreator:Z,stylesOptions:r,theme:t};return y(i,e),u.current=!1,o.current=i,function(){g(i)}}),[t,Z]),s().useEffect((function(){u.current&&m(o.current,e),u.current=!0}));var d=v(o.current,e.classes,a);return d};return w}},91286:function(e,t){"use strict";var n={set:function(e,t,n,r){var i=e.get(t);i||(i=new Map,e.set(t,i)),i.set(n,r)},get:function(e,t,n){var r=e.get(t);return r?r.get(n):void 0},delete:function(e,t,n){e.get(t).delete(n)}};t.Z=n},65835:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(87462);function i(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.baseClasses,n=e.newClasses;e.Component;if(!n)return t;var i=(0,r.Z)({},t);return Object.keys(n).forEach((function(e){n[e]&&(i[e]="".concat(t[e]," ").concat(n[e]))})),i}},83800:function(e,t,n){"use strict";var r=n(8156),i=n.n(r)().createContext(null);t.Z=i},159:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(8156),i=n.n(r),o=n(83800);function s(){return i().useContext(o.Z)}},38920:function(e,t,n){"use strict";var r=n(87462),i=n(45987),o=n(8156),s=n.n(o),a=n(8679),u=n.n(a),c=n(22954),l=n(93869),f=n(159);t.Z=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function(n){var o=t.defaultTheme,a=t.withTheme,d=void 0!==a&&a,p=t.name,h=(0,i.Z)(t,["defaultTheme","withTheme","name"]);var v=p,y=(0,c.Z)(e,(0,r.Z)({defaultTheme:o,Component:n,name:p||n.displayName,classNamePrefix:v},h)),m=s().forwardRef((function(e,t){e.classes;var a,u=e.innerRef,c=(0,i.Z)(e,["classes","innerRef"]),h=y((0,r.Z)({},n.defaultProps,e)),v=c;return("string"==typeof p||d)&&(a=(0,f.Z)()||o,p&&(v=(0,l.Z)({theme:a,name:p,props:c})),d&&!v.theme&&(v.theme=a)),s().createElement(n,(0,r.Z)({ref:u||t,classes:h},v))}));return u()(m,n),m}}},71410:function(e,t,n){"use strict";n.d(t,{k:function(){return s}});var r=n(71002),i={xs:0,sm:600,md:960,lg:1280,xl:1920},o={keys:["xs","sm","md","lg","xl"],up:function(e){return"@media (min-width:".concat(i[e],"px)")}};function s(e,t,n){if(Array.isArray(t)){var i=e.theme.breakpoints||o;return t.reduce((function(e,r,o){return e[i.up(i.keys[o])]=n(t[o]),e}),{})}if("object"===(0,r.Z)(t)){var s=e.theme.breakpoints||o;return Object.keys(t).reduce((function(e,r){return e[s.up(r)]=n(t[r]),e}),{})}return n(t)}},92578:function(e,t,n){"use strict";function r(e){var t={};return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}n.d(t,{Z:function(){return r}})},19668:function(e,t,n){"use strict";var r=n(35953);t.Z=function(e,t){return t?(0,r.Z)(e,t,{clone:!1}):e}},71279:function(e,t,n){"use strict";n.d(t,{h:function(){return d}});var r=n(93324),i=n(71410),o=n(19668),s=n(92578),a={m:"margin",p:"padding"},u={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},c={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},l=(0,s.Z)((function(e){if(e.length>2){if(!c[e])return[e];e=c[e]}var t=e.split(""),n=(0,r.Z)(t,2),i=n[0],o=n[1],s=a[i],l=u[o]||"";return Array.isArray(l)?l.map((function(e){return s+e})):[s+l]})),f=["m","mt","mr","mb","ml","mx","my","p","pt","pr","pb","pl","px","py","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY"];function d(e){var t=e.spacing||8;return"number"==typeof t?function(e){return t*e}:Array.isArray(t)?function(e){return t[e]}:"function"==typeof t?t:function(){}}function p(e,t){return function(n){return e.reduce((function(e,r){return e[r]=function(e,t){if("string"==typeof t||null==t)return t;var n=e(Math.abs(t));return t>=0?n:"number"==typeof n?-n:"-".concat(n)}(t,n),e}),{})}}function h(e){var t=d(e.theme);return Object.keys(e).map((function(n){if(-1===f.indexOf(n))return null;var r=p(l(n),t),o=e[n];return(0,i.k)(e,o,r)})).reduce(o.Z,{})}h.propTypes={},h.filterProps=f},35953:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var r=n(87462),i=n(71002);function o(e){return e&&"object"===(0,i.Z)(e)&&e.constructor===Object}function s(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{clone:!0},i=n.clone?(0,r.Z)({},e):e;return o(e)&&o(t)&&Object.keys(t).forEach((function(r){"__proto__"!==r&&(o(t[r])&&r in e?i[r]=s(e[r],t[r],n):i[r]=t[r])})),i}},60288:function(e,t,n){"use strict";function r(e){for(var t="https://mui.com/production-error/?code="+e,n=1;n<arguments.length;n+=1)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified Material-UI error #"+e+"; visit "+t+" for the full message."}n.d(t,{Z:function(){return r}})},86010:function(e,t,n){"use strict";function r(e){var t,n,i="";if("string"==typeof e||"number"==typeof e)i+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(n=r(e[t]))&&(i&&(i+=" "),i+=n);else for(t in e)e[t]&&(i&&(i+=" "),i+=t);return i}function i(){for(var e,t,n=0,i="";n<arguments.length;)(e=arguments[n++])&&(t=r(e))&&(i&&(i+=" "),i+=t);return i}n.d(t,{Z:function(){return i}})},95845:function(e,t,n){(t=n(23645)(!1)).push([e.id,".paraui-popover-paper{box-shadow:0px 2px 8px 0px rgba(171,176,185,.4)}",""]),e.exports=t},23645:function(e){"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n=function(e,t){var n=e[1]||"",r=e[3];if(!r)return n;if(t&&"function"==typeof btoa){var i=(s=r,a=btoa(unescape(encodeURIComponent(JSON.stringify(s)))),u="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(a),"/*# ".concat(u," */")),o=r.sources.map((function(e){return"/*# sourceURL=".concat(r.sourceRoot||"").concat(e," */")}));return[n].concat(o).concat([i]).join("\n")}var s,a,u;return[n].join("\n")}(t,e);return t[2]?"@media ".concat(t[2]," {").concat(n,"}"):n})).join("")},t.i=function(e,n,r){"string"==typeof e&&(e=[[null,e,""]]);var i={};if(r)for(var o=0;o<this.length;o++){var s=this[o][0];null!=s&&(i[s]=!0)}for(var a=0;a<e.length;a++){var u=[].concat(e[a]);r&&i[u[0]]||(n&&(u[2]?u[2]="".concat(n," and ").concat(u[2]):u[2]=n),t.push(u))}},t}},55730:function(e,t,n){"use strict";n.d(t,{if:function(){return g},wR:function(){return K},HO:function(){return ne}});var r=n(33827),i=n(89062),o="",s="",a="",u="",c=r.Z&&"ontouchstart"in document.documentElement;if(r.Z){var l={Moz:"-moz-",ms:"-ms-",O:"-o-",Webkit:"-webkit-"},f=document.createElement("p").style;for(var d in l)if(d+"Transform"in f){o=d,s=l[d];break}"Webkit"===o&&"msHyphens"in f&&(o="ms",s=l.ms,u="edge"),"Webkit"===o&&"-apple-trailing-word"in f&&(a="apple")}var p=o,h=s,v=a,y=u,m=c;function g(e){return"-"===e[1]||"ms"===p?e:"@"+h+"keyframes"+e.substr(10)}var b={noPrefill:["appearance"],supportedProperty:function(e){return"appearance"===e&&("ms"===p?"-webkit-"+e:h+e)}},x={noPrefill:["color-adjust"],supportedProperty:function(e){return"color-adjust"===e&&("Webkit"===p?h+"print-"+e:e)}},Z=/[-\s]+(.)?/g;function S(e,t){return t?t.toUpperCase():""}function w(e){return e.replace(Z,S)}function k(e){return w("-"+e)}var E,R={noPrefill:["mask"],supportedProperty:function(e,t){if(!/^mask/.test(e))return!1;if("Webkit"===p){var n="mask-image";if(w(n)in t)return e;if(p+k(n)in t)return h+e}return e}},P={noPrefill:["text-orientation"],supportedProperty:function(e){return"text-orientation"===e&&("apple"!==v||m?e:h+e)}},C={noPrefill:["transform"],supportedProperty:function(e,t,n){return"transform"===e&&(n.transform?e:h+e)}},O={noPrefill:["transition"],supportedProperty:function(e,t,n){return"transition"===e&&(n.transition?e:h+e)}},A={noPrefill:["writing-mode"],supportedProperty:function(e){return"writing-mode"===e&&("Webkit"===p||"ms"===p&&"edge"!==y?h+e:e)}},j={noPrefill:["user-select"],supportedProperty:function(e){return"user-select"===e&&("Moz"===p||"ms"===p||"apple"===v?h+e:e)}},T={supportedProperty:function(e,t){return!!/^break-/.test(e)&&("Webkit"===p?"WebkitColumn"+k(e)in t&&h+"column-"+e:"Moz"===p&&("page"+k(e)in t&&"page-"+e))}},M={supportedProperty:function(e,t){if(!/^(border|margin|padding)-inline/.test(e))return!1;if("Moz"===p)return e;var n=e.replace("-inline","");return p+k(n)in t&&h+n}},N={supportedProperty:function(e,t){return w(e)in t&&e}},I={supportedProperty:function(e,t){var n=k(e);return"-"===e[0]||"-"===e[0]&&"-"===e[1]?e:p+n in t?h+e:"Webkit"!==p&&"Webkit"+n in t&&"-webkit-"+e}},z={supportedProperty:function(e){return"scroll-snap"===e.substring(0,11)&&("ms"===p?""+h+e:e)}},L={supportedProperty:function(e){return"overscroll-behavior"===e&&("ms"===p?h+"scroll-chaining":e)}},$={"flex-grow":"flex-positive","flex-shrink":"flex-negative","flex-basis":"flex-preferred-size","justify-content":"flex-pack",order:"flex-order","align-items":"flex-align","align-content":"flex-line-pack"},D={supportedProperty:function(e,t){var n=$[e];return!!n&&(p+k(n)in t&&h+n)}},F={flex:"box-flex","flex-grow":"box-flex","flex-direction":["box-orient","box-direction"],order:"box-ordinal-group","align-items":"box-align","flex-flow":["box-orient","box-direction"],"justify-content":"box-pack"},H=Object.keys(F),W=function(e){return h+e},B={supportedProperty:function(e,t,n){var r=n.multiple;if(H.indexOf(e)>-1){var i=F[e];if(!Array.isArray(i))return p+k(i)in t&&h+i;if(!r)return!1;for(var o=0;o<i.length;o++)if(!(p+k(i[0])in t))return!1;return i.map(W)}return!1}},_=[b,x,R,P,C,O,A,j,T,M,N,I,z,L,D,B],U=_.filter((function(e){return e.supportedProperty})).map((function(e){return e.supportedProperty})),q=_.filter((function(e){return e.noPrefill})).reduce((function(e,t){return e.push.apply(e,(0,i.Z)(t.noPrefill)),e}),[]),V={};if(r.Z){E=document.createElement("p");var G=window.getComputedStyle(document.documentElement,"");for(var J in G)isNaN(J)||(V[G[J]]=G[J]);q.forEach((function(e){return delete V[e]}))}function K(e,t){if(void 0===t&&(t={}),!E)return e;if(null!=V[e])return V[e];"transition"!==e&&"transform"!==e||(t[e]=e in E.style);for(var n=0;n<U.length&&(V[e]=U[n](e,E.style,t),!V[e]);n++);try{E.style[e]=""}catch(e){return!1}return V[e]}var X,Y={},Q={transition:1,"transition-property":1,"-webkit-transition":1,"-webkit-transition-property":1},ee=/(^\s*[\w-]+)|, (\s*[\w-]+)(?![^()]*\))/g;function te(e,t,n){if("var"===t)return"var";if("all"===t)return"all";if("all"===n)return", all";var r=t?K(t):", "+K(n);return r||(t||n)}function ne(e,t){var n=t;if(!X||"content"===e)return t;if("string"!=typeof n||!isNaN(parseInt(n,10)))return n;var r=e+n;if(null!=Y[r])return Y[r];try{X.style[e]=n}catch(e){return Y[r]=!1,!1}if(Q[e])n=n.replace(ee,te);else if(""===X.style[e]&&("-ms-flex"===(n=h+n)&&(X.style[e]="-ms-flexbox"),X.style[e]=n,""===X.style[e]))return Y[r]=!1,!1;return X.style[e]="",Y[r]=n,Y[r]}r.Z&&(X=document.createElement("p"))},8679:function(e,t,n){"use strict";var r=n(21296),i={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},s={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},a={};function u(e){return r.isMemo(e)?s:a[e.$$typeof]||i}a[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},a[r.Memo]=s;var c=Object.defineProperty,l=Object.getOwnPropertyNames,f=Object.getOwnPropertySymbols,d=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(h){var i=p(n);i&&i!==h&&e(t,i,r)}var s=l(n);f&&(s=s.concat(f(n)));for(var a=u(t),v=u(n),y=0;y<s.length;++y){var m=s[y];if(!(o[m]||r&&r[m]||v&&v[m]||a&&a[m])){var g=d(n,m);try{c(t,m,g)}catch(e){}}}}return t}},96103:function(e,t){"use strict";
|
|
2
2
|
/** @license React v16.13.1
|
|
3
3
|
* react-is.production.min.js
|
|
4
4
|
*
|
|
@@ -13,4 +13,4 @@
|
|
|
13
13
|
* @copyright Oleg Isonen (Slobodskoi) / Isonen 2014-present
|
|
14
14
|
* @website https://github.com/cssinjs/jss
|
|
15
15
|
* @license MIT
|
|
16
|
-
*/ye()},96630:function(e,t,n){"use strict";var r=n(63366),i=n(94578),o=n(8156),s=n.n(o),a=n(47111),u=n.n(a),c=n(6035),l=n(220),f="unmounted",d="exited",p="entering",h="entered",v="exiting",y=function(e){function t(t,n){var r;r=e.call(this,t,n)||this;var i,o=n&&!n.isMounting?t.enter:t.appear;return r.appearStatus=null,t.in?o?(i=d,r.appearStatus=p):i=h:i=t.unmountOnExit||t.mountOnEnter?f:d,r.state={status:i},r.nextCallback=null,r}(0,i.Z)(t,e),t.getDerivedStateFromProps=function(e,t){return e.in&&t.status===f?{status:d}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(e){var t=null;if(e!==this.props){var n=this.state.status;this.props.in?n!==p&&n!==h&&(t=p):n!==p&&n!==h||(t=v)}this.updateStatus(!1,t)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var e,t,n,r=this.props.timeout;return e=t=n=r,null!=r&&"number"!=typeof r&&(e=r.exit,t=r.enter,n=void 0!==r.appear?r.appear:t),{exit:e,enter:t,appear:n}},n.updateStatus=function(e,t){void 0===e&&(e=!1),null!==t?(this.cancelNextCallback(),t===p?this.performEnter(e):this.performExit()):this.props.unmountOnExit&&this.state.status===d&&this.setState({status:f})},n.performEnter=function(e){var t=this,n=this.props.enter,r=this.context?this.context.isMounting:e,i=this.props.nodeRef?[r]:[u().findDOMNode(this),r],o=i[0],s=i[1],a=this.getTimeouts(),l=r?a.appear:a.enter;!e&&!n||c.Z.disabled?this.safeSetState({status:h},(function(){t.props.onEntered(o)})):(this.props.onEnter(o,s),this.safeSetState({status:p},(function(){t.props.onEntering(o,s),t.onTransitionEnd(l,(function(){t.safeSetState({status:h},(function(){t.props.onEntered(o,s)}))}))})))},n.performExit=function(){var e=this,t=this.props.exit,n=this.getTimeouts(),r=this.props.nodeRef?void 0:u().findDOMNode(this);t&&!c.Z.disabled?(this.props.onExit(r),this.safeSetState({status:v},(function(){e.props.onExiting(r),e.onTransitionEnd(n.exit,(function(){e.safeSetState({status:d},(function(){e.props.onExited(r)}))}))}))):this.safeSetState({status:d},(function(){e.props.onExited(r)}))},n.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},n.setNextCallback=function(e){var t=this,n=!0;return this.nextCallback=function(r){n&&(n=!1,t.nextCallback=null,e(r))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},n.onTransitionEnd=function(e,t){this.setNextCallback(t);var n=this.props.nodeRef?this.props.nodeRef.current:u().findDOMNode(this),r=null==e&&!this.props.addEndListener;if(n&&!r){if(this.props.addEndListener){var i=this.props.nodeRef?[this.nextCallback]:[n,this.nextCallback],o=i[0],s=i[1];this.props.addEndListener(o,s)}null!=e&&setTimeout(this.nextCallback,e)}else setTimeout(this.nextCallback,0)},n.render=function(){var e=this.state.status;if(e===f)return null;var t=this.props,n=t.children,i=(t.in,t.mountOnEnter,t.unmountOnExit,t.appear,t.enter,t.exit,t.timeout,t.addEndListener,t.onEnter,t.onEntering,t.onEntered,t.onExit,t.onExiting,t.onExited,t.nodeRef,(0,r.Z)(t,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]));return s().createElement(l.Z.Provider,{value:null},"function"==typeof n?n(e,i):s().cloneElement(s().Children.only(n),i))},t}(s().Component);function m(){}y.contextType=l.Z,y.propTypes={},y.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:m,onEntering:m,onEntered:m,onExit:m,onExiting:m,onExited:m},y.UNMOUNTED=f,y.EXITED=d,y.ENTERING=p,y.ENTERED=h,y.EXITING=v,t.ZP=y},220:function(e,t,n){"use strict";var r=n(8156),i=n.n(r);t.Z=i().createContext(null)},6035:function(e,t){"use strict";t.Z={disabled:!1}},24895:function(e,t,n){var r=n(93379),i=n(95845);"string"==typeof(i=i.__esModule?i.default:i)&&(i=[[e.id,i,""]]);var o={insert:"head",singleton:!1};r(i,o);e.exports=i.locals||{}},93379:function(e,t,n){"use strict";var r,i=function(){return void 0===r&&(r=Boolean(window&&document&&document.all&&!window.atob)),r},o=function(){var e={};return function(t){if(void 0===e[t]){var n=document.querySelector(t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}e[t]=n}return e[t]}}(),s=[];function a(e){for(var t=-1,n=0;n<s.length;n++)if(s[n].identifier===e){t=n;break}return t}function u(e,t){for(var n={},r=[],i=0;i<e.length;i++){var o=e[i],u=t.base?o[0]+t.base:o[0],c=n[u]||0,l="".concat(u," ").concat(c);n[u]=c+1;var f=a(l),d={css:o[1],media:o[2],sourceMap:o[3]};-1!==f?(s[f].references++,s[f].updater(d)):s.push({identifier:l,updater:y(d,t),references:1}),r.push(l)}return r}function c(e){var t=document.createElement("style"),r=e.attributes||{};if(void 0===r.nonce){var i=n.nc;i&&(r.nonce=i)}if(Object.keys(r).forEach((function(e){t.setAttribute(e,r[e])})),"function"==typeof e.insert)e.insert(t);else{var s=o(e.insert||"head");if(!s)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");s.appendChild(t)}return t}var l,f=(l=[],function(e,t){return l[e]=t,l.filter(Boolean).join("\n")});function d(e,t,n,r){var i=n?"":r.media?"@media ".concat(r.media," {").concat(r.css,"}"):r.css;if(e.styleSheet)e.styleSheet.cssText=f(t,i);else{var o=document.createTextNode(i),s=e.childNodes;s[t]&&e.removeChild(s[t]),s.length?e.insertBefore(o,s[t]):e.appendChild(o)}}function p(e,t,n){var r=n.css,i=n.media,o=n.sourceMap;if(i?e.setAttribute("media",i):e.removeAttribute("media"),o&&"undefined"!=typeof btoa&&(r+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(o))))," */")),e.styleSheet)e.styleSheet.cssText=r;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(r))}}var h=null,v=0;function y(e,t){var n,r,i;if(t.singleton){var o=v++;n=h||(h=c(t)),r=d.bind(null,n,o,!1),i=d.bind(null,n,o,!0)}else n=c(t),r=p.bind(null,n,t),i=function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(n)};return r(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;r(e=t)}else i()}}e.exports=function(e,t){(t=t||{}).singleton||"boolean"==typeof t.singleton||(t.singleton=i());var n=u(e=e||[],t);return function(e){if(e=e||[],"[object Array]"===Object.prototype.toString.call(e)){for(var r=0;r<n.length;r++){var i=a(n[r]);s[i].references--}for(var o=u(e,t),c=0;c<n.length;c++){var l=a(n[c]);0===s[l].references&&(s[l].updater(),s.splice(l,1))}n=o}}}},8156:function(t){"use strict";t.exports=e},47111:function(e){"use strict";e.exports=t},30907:function(e,t,n){"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}n.d(t,{Z:function(){return r}})},83878:function(e,t,n){"use strict";function r(e){if(Array.isArray(e))return e}n.d(t,{Z:function(){return r}})},45057:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(30907);function i(e){if(Array.isArray(e))return(0,r.Z)(e)}},97326:function(e,t,n){"use strict";function r(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}n.d(t,{Z:function(){return r}})},15671:function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}n.d(t,{Z:function(){return r}})},43144:function(e,t,n){"use strict";function r(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)}}function i(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}n.d(t,{Z:function(){return i}})},4942:function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,{Z:function(){return r}})},87462:function(e,t,n){"use strict";function r(){return 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},r.apply(this,arguments)}n.d(t,{Z:function(){return r}})},94578:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(89611);function i(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,(0,r.Z)(e,t)}},59199:function(e,t,n){"use strict";function r(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}n.d(t,{Z:function(){return r}})},31902:function(e,t,n){"use strict";function r(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o=[],s=!0,a=!1;try{for(n=n.call(e);!(s=(r=n.next()).done)&&(o.push(r.value),!t||o.length!==t);s=!0);}catch(e){a=!0,i=e}finally{try{s||null==n.return||n.return()}finally{if(a)throw i}}return o}}n.d(t,{Z:function(){return r}})},25267:function(e,t,n){"use strict";function r(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}n.d(t,{Z:function(){return r}})},42786:function(e,t,n){"use strict";function r(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}n.d(t,{Z:function(){return r}})},45987:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(63366);function i(e,t){if(null==e)return{};var n,i,o=(0,r.Z)(e,t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(i=0;i<s.length;i++)n=s[i],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}},63366:function(e,t,n){"use strict";function r(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}n.d(t,{Z:function(){return r}})},89611:function(e,t,n){"use strict";function r(e,t){return r=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},r(e,t)}n.d(t,{Z:function(){return r}})},93324:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(83878),i=n(31902),o=n(40181),s=n(25267);function a(e,t){return(0,r.Z)(e)||(0,i.Z)(e,t)||(0,o.Z)(e,t)||(0,s.Z)()}},89062:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(45057),i=n(59199),o=n(40181),s=n(42786);function a(e){return(0,r.Z)(e)||(0,i.Z)(e)||(0,o.Z)(e)||(0,s.Z)()}},71002:function(e,t,n){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}n.d(t,{Z:function(){return r}})},40181:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(30907);function i(e,t){if(e){if("string"==typeof e)return(0,r.Z)(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?(0,r.Z)(e,t):void 0}}}},r={};function i(e){var t=r[e];if(void 0!==t)return t.exports;var o=r[e]={id:e,exports:{}};return n[e](o,o.exports,i),o.exports}i.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(t,{a:t}),t},i.d=function(e,t){for(var n in t)i.o(t,n)&&!i.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},i.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var o={};return function(){"use strict";i.r(o),i.d(o,{Popover:function(){return c}});var e=i(8156),t=i.n(e),n=i(52387);i(24895);function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function s(){return s=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},s.apply(this,arguments)}function a(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),i.forEach((function(t){r(e,t,n[t])}))}return e}function u(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var c=function(e){var r,i=e.className,o=e.children,c=e.classes,l=e.style,f=u(e,["className","children","classes","style"]);return t().createElement(n.ZP,s({style:a({zIndex:1500},l),className:(r="paraui-popover",i&&(r+=" "+i),r),classes:{paper:c?"paraui-popover-paper ".concat(c):"paraui-popover-paper"}},f),o)};o.default=c}(),o}()}));
|
|
16
|
+
*/ye()},96630:function(e,t,n){"use strict";var r=n(63366),i=n(94578),o=n(8156),s=n.n(o),a=n(47111),u=n.n(a),c=n(6035),l=n(220),f="unmounted",d="exited",p="entering",h="entered",v="exiting",y=function(e){function t(t,n){var r;r=e.call(this,t,n)||this;var i,o=n&&!n.isMounting?t.enter:t.appear;return r.appearStatus=null,t.in?o?(i=d,r.appearStatus=p):i=h:i=t.unmountOnExit||t.mountOnEnter?f:d,r.state={status:i},r.nextCallback=null,r}(0,i.Z)(t,e),t.getDerivedStateFromProps=function(e,t){return e.in&&t.status===f?{status:d}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(e){var t=null;if(e!==this.props){var n=this.state.status;this.props.in?n!==p&&n!==h&&(t=p):n!==p&&n!==h||(t=v)}this.updateStatus(!1,t)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var e,t,n,r=this.props.timeout;return e=t=n=r,null!=r&&"number"!=typeof r&&(e=r.exit,t=r.enter,n=void 0!==r.appear?r.appear:t),{exit:e,enter:t,appear:n}},n.updateStatus=function(e,t){void 0===e&&(e=!1),null!==t?(this.cancelNextCallback(),t===p?this.performEnter(e):this.performExit()):this.props.unmountOnExit&&this.state.status===d&&this.setState({status:f})},n.performEnter=function(e){var t=this,n=this.props.enter,r=this.context?this.context.isMounting:e,i=this.props.nodeRef?[r]:[u().findDOMNode(this),r],o=i[0],s=i[1],a=this.getTimeouts(),l=r?a.appear:a.enter;!e&&!n||c.Z.disabled?this.safeSetState({status:h},(function(){t.props.onEntered(o)})):(this.props.onEnter(o,s),this.safeSetState({status:p},(function(){t.props.onEntering(o,s),t.onTransitionEnd(l,(function(){t.safeSetState({status:h},(function(){t.props.onEntered(o,s)}))}))})))},n.performExit=function(){var e=this,t=this.props.exit,n=this.getTimeouts(),r=this.props.nodeRef?void 0:u().findDOMNode(this);t&&!c.Z.disabled?(this.props.onExit(r),this.safeSetState({status:v},(function(){e.props.onExiting(r),e.onTransitionEnd(n.exit,(function(){e.safeSetState({status:d},(function(){e.props.onExited(r)}))}))}))):this.safeSetState({status:d},(function(){e.props.onExited(r)}))},n.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},n.setNextCallback=function(e){var t=this,n=!0;return this.nextCallback=function(r){n&&(n=!1,t.nextCallback=null,e(r))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},n.onTransitionEnd=function(e,t){this.setNextCallback(t);var n=this.props.nodeRef?this.props.nodeRef.current:u().findDOMNode(this),r=null==e&&!this.props.addEndListener;if(n&&!r){if(this.props.addEndListener){var i=this.props.nodeRef?[this.nextCallback]:[n,this.nextCallback],o=i[0],s=i[1];this.props.addEndListener(o,s)}null!=e&&setTimeout(this.nextCallback,e)}else setTimeout(this.nextCallback,0)},n.render=function(){var e=this.state.status;if(e===f)return null;var t=this.props,n=t.children,i=(t.in,t.mountOnEnter,t.unmountOnExit,t.appear,t.enter,t.exit,t.timeout,t.addEndListener,t.onEnter,t.onEntering,t.onEntered,t.onExit,t.onExiting,t.onExited,t.nodeRef,(0,r.Z)(t,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]));return s().createElement(l.Z.Provider,{value:null},"function"==typeof n?n(e,i):s().cloneElement(s().Children.only(n),i))},t}(s().Component);function m(){}y.contextType=l.Z,y.propTypes={},y.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:m,onEntering:m,onEntered:m,onExit:m,onExiting:m,onExited:m},y.UNMOUNTED=f,y.EXITED=d,y.ENTERING=p,y.ENTERED=h,y.EXITING=v,t.ZP=y},220:function(e,t,n){"use strict";var r=n(8156),i=n.n(r);t.Z=i().createContext(null)},6035:function(e,t){"use strict";t.Z={disabled:!1}},24895:function(e,t,n){var r=n(93379),i=n(95845);"string"==typeof(i=i.__esModule?i.default:i)&&(i=[[e.id,i,""]]);var o={insert:"head",singleton:!1};r(i,o);e.exports=i.locals||{}},93379:function(e,t,n){"use strict";var r,i=function(){return void 0===r&&(r=Boolean(window&&document&&document.all&&!window.atob)),r},o=function(){var e={};return function(t){if(void 0===e[t]){var n=document.querySelector(t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}e[t]=n}return e[t]}}(),s=[];function a(e){for(var t=-1,n=0;n<s.length;n++)if(s[n].identifier===e){t=n;break}return t}function u(e,t){for(var n={},r=[],i=0;i<e.length;i++){var o=e[i],u=t.base?o[0]+t.base:o[0],c=n[u]||0,l="".concat(u," ").concat(c);n[u]=c+1;var f=a(l),d={css:o[1],media:o[2],sourceMap:o[3]};-1!==f?(s[f].references++,s[f].updater(d)):s.push({identifier:l,updater:y(d,t),references:1}),r.push(l)}return r}function c(e){var t=document.createElement("style"),r=e.attributes||{};if(void 0===r.nonce){var i=n.nc;i&&(r.nonce=i)}if(Object.keys(r).forEach((function(e){t.setAttribute(e,r[e])})),"function"==typeof e.insert)e.insert(t);else{var s=o(e.insert||"head");if(!s)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");s.appendChild(t)}return t}var l,f=(l=[],function(e,t){return l[e]=t,l.filter(Boolean).join("\n")});function d(e,t,n,r){var i=n?"":r.media?"@media ".concat(r.media," {").concat(r.css,"}"):r.css;if(e.styleSheet)e.styleSheet.cssText=f(t,i);else{var o=document.createTextNode(i),s=e.childNodes;s[t]&&e.removeChild(s[t]),s.length?e.insertBefore(o,s[t]):e.appendChild(o)}}function p(e,t,n){var r=n.css,i=n.media,o=n.sourceMap;if(i?e.setAttribute("media",i):e.removeAttribute("media"),o&&"undefined"!=typeof btoa&&(r+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(o))))," */")),e.styleSheet)e.styleSheet.cssText=r;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(r))}}var h=null,v=0;function y(e,t){var n,r,i;if(t.singleton){var o=v++;n=h||(h=c(t)),r=d.bind(null,n,o,!1),i=d.bind(null,n,o,!0)}else n=c(t),r=p.bind(null,n,t),i=function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(n)};return r(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;r(e=t)}else i()}}e.exports=function(e,t){(t=t||{}).singleton||"boolean"==typeof t.singleton||(t.singleton=i());var n=u(e=e||[],t);return function(e){if(e=e||[],"[object Array]"===Object.prototype.toString.call(e)){for(var r=0;r<n.length;r++){var i=a(n[r]);s[i].references--}for(var o=u(e,t),c=0;c<n.length;c++){var l=a(n[c]);0===s[l].references&&(s[l].updater(),s.splice(l,1))}n=o}}}},8156:function(t){"use strict";t.exports=e},47111:function(e){"use strict";e.exports=t},30907:function(e,t,n){"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}n.d(t,{Z:function(){return r}})},83878:function(e,t,n){"use strict";function r(e){if(Array.isArray(e))return e}n.d(t,{Z:function(){return r}})},45057:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(30907);function i(e){if(Array.isArray(e))return(0,r.Z)(e)}},97326:function(e,t,n){"use strict";function r(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}n.d(t,{Z:function(){return r}})},15671:function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}n.d(t,{Z:function(){return r}})},43144:function(e,t,n){"use strict";function r(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)}}function i(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}n.d(t,{Z:function(){return i}})},4942:function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,{Z:function(){return r}})},87462:function(e,t,n){"use strict";function r(){return 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},r.apply(this,arguments)}n.d(t,{Z:function(){return r}})},94578:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(89611);function i(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,(0,r.Z)(e,t)}},59199:function(e,t,n){"use strict";function r(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}n.d(t,{Z:function(){return r}})},31902:function(e,t,n){"use strict";function r(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o=[],s=!0,a=!1;try{for(n=n.call(e);!(s=(r=n.next()).done)&&(o.push(r.value),!t||o.length!==t);s=!0);}catch(e){a=!0,i=e}finally{try{s||null==n.return||n.return()}finally{if(a)throw i}}return o}}n.d(t,{Z:function(){return r}})},25267:function(e,t,n){"use strict";function r(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}n.d(t,{Z:function(){return r}})},42786:function(e,t,n){"use strict";function r(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}n.d(t,{Z:function(){return r}})},45987:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(63366);function i(e,t){if(null==e)return{};var n,i,o=(0,r.Z)(e,t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(i=0;i<s.length;i++)n=s[i],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}},63366:function(e,t,n){"use strict";function r(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}n.d(t,{Z:function(){return r}})},89611:function(e,t,n){"use strict";function r(e,t){return r=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},r(e,t)}n.d(t,{Z:function(){return r}})},93324:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(83878),i=n(31902),o=n(40181),s=n(25267);function a(e,t){return(0,r.Z)(e)||(0,i.Z)(e,t)||(0,o.Z)(e,t)||(0,s.Z)()}},89062:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(45057),i=n(59199),o=n(40181),s=n(42786);function a(e){return(0,r.Z)(e)||(0,i.Z)(e)||(0,o.Z)(e)||(0,s.Z)()}},71002:function(e,t,n){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}n.d(t,{Z:function(){return r}})},40181:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(30907);function i(e,t){if(e){if("string"==typeof e)return(0,r.Z)(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?(0,r.Z)(e,t):void 0}}}},r={};function i(e){var t=r[e];if(void 0!==t)return t.exports;var o=r[e]={id:e,exports:{}};return n[e](o,o.exports,i),o.exports}i.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(t,{a:t}),t},i.d=function(e,t){for(var n in t)i.o(t,n)&&!i.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},i.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var o={};return function(){"use strict";i.r(o),i.d(o,{Popover:function(){return q},default:function(){return V}});var e=i(8156),t=i.n(e),n=i(87462),r=i(45987),s=i(47111),a=i(79437),u=i(86010),c=i(30626),l=i(80713),f=i(82568),d=i(52543),p=i(159),h=i(93869),v=i(76234),y=i(17294),m=i(55192),g=i(92781),b=i(15671),x=i(43144),Z=i(89062);function S(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function w(e){return parseInt(window.getComputedStyle(e)["padding-right"],10)||0}function k(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[],i=arguments.length>4?arguments[4]:void 0,o=[t,n].concat((0,Z.Z)(r)),s=["TEMPLATE","SCRIPT","STYLE"];[].forEach.call(e.children,(function(e){1===e.nodeType&&-1===o.indexOf(e)&&-1===s.indexOf(e.tagName)&&S(e,i)}))}function E(e,t){var n=-1;return e.some((function(e,r){return!!t(e)&&(n=r,!0)})),n}function R(e,t){var n,r=[],i=[],o=e.container;if(!t.disableScrollLock){if(function(e){var t=(0,c.Z)(e);return t.body===e?(0,l.Z)(t).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}(o)){var s=function(){var e=document.createElement("div");e.style.width="99px",e.style.height="99px",e.style.position="absolute",e.style.top="-9999px",e.style.overflow="scroll",document.body.appendChild(e);var t=e.offsetWidth-e.clientWidth;return document.body.removeChild(e),t}();r.push({value:o.style.paddingRight,key:"padding-right",el:o}),o.style["padding-right"]="".concat(w(o)+s,"px"),n=(0,c.Z)(o).querySelectorAll(".mui-fixed"),[].forEach.call(n,(function(e){i.push(e.style.paddingRight),e.style.paddingRight="".concat(w(e)+s,"px")}))}var a=o.parentElement,u="HTML"===a.nodeName&&"scroll"===window.getComputedStyle(a)["overflow-y"]?a:o;r.push({value:u.style.overflow,key:"overflow",el:u}),u.style.overflow="hidden"}return function(){n&&[].forEach.call(n,(function(e,t){i[t]?e.style.paddingRight=i[t]:e.style.removeProperty("padding-right")})),r.forEach((function(e){var t=e.value,n=e.el,r=e.key;t?n.style.setProperty(r,t):n.style.removeProperty(r)}))}}var P=function(){function e(){(0,b.Z)(this,e),this.modals=[],this.containers=[]}return(0,x.Z)(e,[{key:"add",value:function(e,t){var n=this.modals.indexOf(e);if(-1!==n)return n;n=this.modals.length,this.modals.push(e),e.modalRef&&S(e.modalRef,!1);var r=function(e){var t=[];return[].forEach.call(e.children,(function(e){e.getAttribute&&"true"===e.getAttribute("aria-hidden")&&t.push(e)})),t}(t);k(t,e.mountNode,e.modalRef,r,!0);var i=E(this.containers,(function(e){return e.container===t}));return-1!==i?(this.containers[i].modals.push(e),n):(this.containers.push({modals:[e],container:t,restore:null,hiddenSiblingNodes:r}),n)}},{key:"mount",value:function(e,t){var n=E(this.containers,(function(t){return-1!==t.modals.indexOf(e)})),r=this.containers[n];r.restore||(r.restore=R(r,t))}},{key:"remove",value:function(e){var t=this.modals.indexOf(e);if(-1===t)return t;var n=E(this.containers,(function(t){return-1!==t.modals.indexOf(e)})),r=this.containers[n];if(r.modals.splice(r.modals.indexOf(e),1),this.modals.splice(t,1),0===r.modals.length)r.restore&&r.restore(),e.modalRef&&S(e.modalRef,!0),k(r.container,e.mountNode,e.modalRef,r.hiddenSiblingNodes,!1),this.containers.splice(n,1);else{var i=r.modals[r.modals.length-1];i.modalRef&&S(i.modalRef,!1)}return t}},{key:"isTopModal",value:function(e){return this.modals.length>0&&this.modals[this.modals.length-1]===e}}]),e}();var C=function(t){var n=t.children,r=t.disableAutoFocus,i=void 0!==r&&r,o=t.disableEnforceFocus,a=void 0!==o&&o,u=t.disableRestoreFocus,l=void 0!==u&&u,f=t.getDoc,d=t.isEnabled,p=t.open,h=e.useRef(),v=e.useRef(null),m=e.useRef(null),g=e.useRef(),b=e.useRef(null),x=e.useCallback((function(e){b.current=s.findDOMNode(e)}),[]),Z=(0,y.Z)(n.ref,x),S=e.useRef();return e.useEffect((function(){S.current=p}),[p]),!S.current&&p&&"undefined"!=typeof window&&(g.current=f().activeElement),e.useEffect((function(){if(p){var e=(0,c.Z)(b.current);i||!b.current||b.current.contains(e.activeElement)||(b.current.hasAttribute("tabIndex")||b.current.setAttribute("tabIndex",-1),b.current.focus());var t=function(){null!==b.current&&(e.hasFocus()&&!a&&d()&&!h.current?b.current&&!b.current.contains(e.activeElement)&&b.current.focus():h.current=!1)},n=function(t){!a&&d()&&9===t.keyCode&&e.activeElement===b.current&&(h.current=!0,t.shiftKey?m.current.focus():v.current.focus())};e.addEventListener("focus",t,!0),e.addEventListener("keydown",n,!0);var r=setInterval((function(){t()}),50);return function(){clearInterval(r),e.removeEventListener("focus",t,!0),e.removeEventListener("keydown",n,!0),l||(g.current&&g.current.focus&&g.current.focus(),g.current=null)}}}),[i,a,l,d,p]),e.createElement(e.Fragment,null,e.createElement("div",{tabIndex:0,ref:v,"data-test":"sentinelStart"}),e.cloneElement(n,{ref:Z}),e.createElement("div",{tabIndex:0,ref:m,"data-test":"sentinelEnd"}))},O={root:{zIndex:-1,position:"fixed",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent"},invisible:{backgroundColor:"transparent"}},A=e.forwardRef((function(t,i){var o=t.invisible,s=void 0!==o&&o,a=t.open,u=(0,r.Z)(t,["invisible","open"]);return a?e.createElement("div",(0,n.Z)({"aria-hidden":!0,ref:i},u,{style:(0,n.Z)({},O.root,s?O.invisible:{},u.style)})):null}));var j=new P,T=e.forwardRef((function(t,i){var o=(0,p.Z)(),a=(0,h.Z)({name:"MuiModal",props:(0,n.Z)({},t),theme:o}),u=a.BackdropComponent,l=void 0===u?A:u,d=a.BackdropProps,b=a.children,x=a.closeAfterTransition,Z=void 0!==x&&x,w=a.container,k=a.disableAutoFocus,E=void 0!==k&&k,R=a.disableBackdropClick,P=void 0!==R&&R,O=a.disableEnforceFocus,T=void 0!==O&&O,M=a.disableEscapeKeyDown,N=void 0!==M&&M,I=a.disablePortal,z=void 0!==I&&I,L=a.disableRestoreFocus,$=void 0!==L&&L,D=a.disableScrollLock,F=void 0!==D&&D,H=a.hideBackdrop,W=void 0!==H&&H,B=a.keepMounted,_=void 0!==B&&B,U=a.manager,q=void 0===U?j:U,V=a.onBackdropClick,G=a.onClose,J=a.onEscapeKeyDown,K=a.onRendered,X=a.open,Y=(0,r.Z)(a,["BackdropComponent","BackdropProps","children","closeAfterTransition","container","disableAutoFocus","disableBackdropClick","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","manager","onBackdropClick","onClose","onEscapeKeyDown","onRendered","open"]),Q=e.useState(!0),ee=Q[0],te=Q[1],ne=e.useRef({}),re=e.useRef(null),ie=e.useRef(null),oe=(0,y.Z)(ie,i),se=function(e){return!!e.children&&e.children.props.hasOwnProperty("in")}(a),ae=function(){return(0,c.Z)(re.current)},ue=function(){return ne.current.modalRef=ie.current,ne.current.mountNode=re.current,ne.current},ce=function(){q.mount(ue(),{disableScrollLock:F}),ie.current.scrollTop=0},le=(0,m.Z)((function(){var e=function(e){return e="function"==typeof e?e():e,s.findDOMNode(e)}(w)||ae().body;q.add(ue(),e),ie.current&&ce()})),fe=e.useCallback((function(){return q.isTopModal(ue())}),[q]),de=(0,m.Z)((function(e){re.current=e,e&&(K&&K(),X&&fe()?ce():S(ie.current,!0))})),pe=e.useCallback((function(){q.remove(ue())}),[q]);if(e.useEffect((function(){return function(){pe()}}),[pe]),e.useEffect((function(){X?le():se&&Z||pe()}),[X,pe,se,Z,le]),!_&&!X&&(!se||ee))return null;var he=function(e){return{root:{position:"fixed",zIndex:e.zIndex.modal,right:0,bottom:0,top:0,left:0},hidden:{visibility:"hidden"}}}(o||{zIndex:g.Z}),ve={};return void 0===b.props.tabIndex&&(ve.tabIndex=b.props.tabIndex||"-1"),se&&(ve.onEnter=(0,f.Z)((function(){te(!1)}),b.props.onEnter),ve.onExited=(0,f.Z)((function(){te(!0),Z&&pe()}),b.props.onExited)),e.createElement(v.Z,{ref:de,container:w,disablePortal:z},e.createElement("div",(0,n.Z)({ref:oe,onKeyDown:function(e){"Escape"===e.key&&fe()&&(J&&J(e),N||(e.stopPropagation(),G&&G(e,"escapeKeyDown")))},role:"presentation"},Y,{style:(0,n.Z)({},he.root,!X&&ee?he.hidden:{},Y.style)}),W?null:e.createElement(l,(0,n.Z)({open:X,onClick:function(e){e.target===e.currentTarget&&(V&&V(e),!P&&G&&G(e,"backdropClick"))}},d)),e.createElement(C,{disableEnforceFocus:T,disableAutoFocus:E,disableRestoreFocus:$,getDoc:ae,isEnabled:fe,open:X},e.cloneElement(b,ve))))})),M=i(20170),N=e.forwardRef((function(t,i){var o=t.classes,s=t.className,a=t.component,c=void 0===a?"div":a,l=t.square,f=void 0!==l&&l,d=t.elevation,p=void 0===d?1:d,h=t.variant,v=void 0===h?"elevation":h,y=(0,r.Z)(t,["classes","className","component","square","elevation","variant"]);return e.createElement(c,(0,n.Z)({className:(0,u.Z)(o.root,s,"outlined"===v?o.outlined:o["elevation".concat(p)],!f&&o.rounded),ref:i},y))})),I=(0,d.Z)((function(e){var t={};return e.shadows.forEach((function(e,n){t["elevation".concat(n)]={boxShadow:e}})),(0,n.Z)({root:{backgroundColor:e.palette.background.paper,color:e.palette.text.primary,transition:e.transitions.create("box-shadow")},rounded:{borderRadius:e.shape.borderRadius},outlined:{border:"1px solid ".concat(e.palette.divider)}},t)}),{name:"MuiPaper"})(N);function z(e,t){var n=0;return"number"==typeof t?n=t:"center"===t?n=e.height/2:"bottom"===t&&(n=e.height),n}function L(e,t){var n=0;return"number"==typeof t?n=t:"center"===t?n=e.width/2:"right"===t&&(n=e.width),n}function $(e){return[e.horizontal,e.vertical].map((function(e){return"number"==typeof e?"".concat(e,"px"):e})).join(" ")}function D(e){return"function"==typeof e?e():e}var F=e.forwardRef((function(t,i){var o=t.action,d=t.anchorEl,p=t.anchorOrigin,h=void 0===p?{vertical:"top",horizontal:"left"}:p,v=t.anchorPosition,y=t.anchorReference,m=void 0===y?"anchorEl":y,g=t.children,b=t.classes,x=t.className,Z=t.container,S=t.elevation,w=void 0===S?8:S,k=t.getContentAnchorEl,E=t.marginThreshold,R=void 0===E?16:E,P=t.onEnter,C=t.onEntered,O=t.onEntering,A=t.onExit,j=t.onExited,N=t.onExiting,F=t.open,H=t.PaperProps,W=void 0===H?{}:H,B=t.transformOrigin,_=void 0===B?{vertical:"top",horizontal:"left"}:B,U=t.TransitionComponent,q=void 0===U?M.Z:U,V=t.transitionDuration,G=void 0===V?"auto":V,J=t.TransitionProps,K=void 0===J?{}:J,X=(0,r.Z)(t,["action","anchorEl","anchorOrigin","anchorPosition","anchorReference","children","classes","className","container","elevation","getContentAnchorEl","marginThreshold","onEnter","onEntered","onEntering","onExit","onExited","onExiting","open","PaperProps","transformOrigin","TransitionComponent","transitionDuration","TransitionProps"]),Y=e.useRef(),Q=e.useCallback((function(e){if("anchorPosition"===m)return v;var t=D(d),n=(t&&1===t.nodeType?t:(0,c.Z)(Y.current).body).getBoundingClientRect(),r=0===e?h.vertical:"center";return{top:n.top+z(n,r),left:n.left+L(n,h.horizontal)}}),[d,h.horizontal,h.vertical,v,m]),ee=e.useCallback((function(e){var t=0;if(k&&"anchorEl"===m){var n=k(e);if(n&&e.contains(n)){var r=function(e,t){for(var n=t,r=0;n&&n!==e;)r+=(n=n.parentElement).scrollTop;return r}(e,n);t=n.offsetTop+n.clientHeight/2-r||0}0}return t}),[h.vertical,m,k]),te=e.useCallback((function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return{vertical:z(e,_.vertical)+t,horizontal:L(e,_.horizontal)}}),[_.horizontal,_.vertical]),ne=e.useCallback((function(e){var t=ee(e),n={width:e.offsetWidth,height:e.offsetHeight},r=te(n,t);if("none"===m)return{top:null,left:null,transformOrigin:$(r)};var i=Q(t),o=i.top-r.vertical,s=i.left-r.horizontal,a=o+n.height,u=s+n.width,c=(0,l.Z)(D(d)),f=c.innerHeight-R,p=c.innerWidth-R;if(o<R){var h=o-R;o-=h,r.vertical+=h}else if(a>f){var v=a-f;o-=v,r.vertical+=v}if(s<R){var y=s-R;s-=y,r.horizontal+=y}else if(u>p){var g=u-p;s-=g,r.horizontal+=g}return{top:"".concat(Math.round(o),"px"),left:"".concat(Math.round(s),"px"),transformOrigin:$(r)}}),[d,m,Q,ee,te,R]),re=e.useCallback((function(){var e=Y.current;if(e){var t=ne(e);null!==t.top&&(e.style.top=t.top),null!==t.left&&(e.style.left=t.left),e.style.transformOrigin=t.transformOrigin}}),[ne]),ie=e.useCallback((function(e){Y.current=s.findDOMNode(e)}),[]);e.useEffect((function(){F&&re()})),e.useImperativeHandle(o,(function(){return F?{updatePosition:function(){re()}}:null}),[F,re]),e.useEffect((function(){if(F){var e=(0,a.Z)((function(){re()}));return window.addEventListener("resize",e),function(){e.clear(),window.removeEventListener("resize",e)}}}),[F,re]);var oe=G;"auto"!==G||q.muiSupportAuto||(oe=void 0);var se=Z||(d?(0,c.Z)(D(d)).body:void 0);return e.createElement(T,(0,n.Z)({container:se,open:F,ref:i,BackdropProps:{invisible:!0},className:(0,u.Z)(b.root,x)},X),e.createElement(q,(0,n.Z)({appear:!0,in:F,onEnter:P,onEntered:C,onExit:A,onExited:j,onExiting:N,timeout:oe},K,{onEntering:(0,f.Z)((function(e,t){O&&O(e,t),re()}),K.onEntering)}),e.createElement(I,(0,n.Z)({elevation:w,ref:ie},W,{className:(0,u.Z)(b.paper,W.className)}),g)))})),H=(0,d.Z)({root:{},paper:{position:"absolute",overflowY:"auto",overflowX:"hidden",minWidth:16,minHeight:16,maxWidth:"calc(100% - 32px)",maxHeight:"calc(100% - 32px)",outline:0}},{name:"MuiPopover"})(F);i(24895);function W(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function B(){return B=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},B.apply(this,arguments)}function _(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){W(e,t,n[t])}))}return e}function U(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var q=function(e){var n,r=e.className,i=e.children,o=e.classes,s=e.style,a=U(e,["className","children","classes","style"]);return t().createElement(H,B({style:_({zIndex:1500},s),className:(n="paraui-popover",r&&(n+=" "+r),n),classes:{paper:o?"paraui-popover-paper ".concat(o):"paraui-popover-paper"}},a),i)},V=q}(),o}()}));
|