diff --git a/asset-manifest.json b/asset-manifest.json index ebf94a7..4d6f4ac 100644 --- a/asset-manifest.json +++ b/asset-manifest.json @@ -1,10 +1,10 @@ { "files": { - "main.js": "./static/js/main.bf08fe0d.js", + "main.js": "./static/js/main.04d393cc.js", "index.html": "./index.html", - "main.bf08fe0d.js.map": "./static/js/main.bf08fe0d.js.map" + "main.04d393cc.js.map": "./static/js/main.04d393cc.js.map" }, "entrypoints": [ - "static/js/main.bf08fe0d.js" + "static/js/main.04d393cc.js" ] } \ No newline at end of file diff --git a/index.html b/index.html index 22a6276..637a3a7 100644 --- a/index.html +++ b/index.html @@ -1 +1 @@ -
0&&a(u)?n>1?e(u,n-1,a,i,s):r(s,u):i||(s[s.length]=u)}return s}},5099:function(e,t,n){var r=n(372)();e.exports=r},8667:function(e,t,n){var r=n(3082),o=n(9793);e.exports=function(e,t){for(var n=0,a=(t=r(t,e)).length;null!=e&&n=200){var h=t?null:s(e);if(h)return l(h);f=!1,u=i,m=new r}else m=t?[]:p;e:for(;++c0){if(++n>=800)return arguments[0]}else n=0;return e.apply(void 0,arguments)}}},511:function(e,t,n){var r=n(8384);e.exports=function(){this.__data__=new r,this.size=0}},835:function(e){e.exports=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}},707:function(e){e.exports=function(e){return this.__data__.get(e)}},8832:function(e){e.exports=function(e){return this.__data__.has(e)}},5077:function(e,t,n){var r=n(8384),o=n(5797),a=n(8059);e.exports=function(e,t){var n=this.__data__;if(n instanceof r){var i=n.__data__;if(!o||i.length<199)return i.push([e,t]),this.size=++n.size,this;n=this.__data__=new a(i)}return n.set(e,t),this.size=n.size,this}},7167:function(e){e.exports=function(e,t,n){for(var r=n-1,o=e.length;++ra}var yf="undefined"!==typeof window?window:null;var bf=n(812);function xf(e,t){var n=function(e,t){var n,r=t.getBoundingClientRect();if(t.fakeTransform)n=t.fakeTransform;else{var o=window.getComputedStyle(t);n=o.getPropertyValue("-webkit-transform")||o.getPropertyValue("transform")}var a=0,i=0;if(n&&"none"!==n&&"string"===typeof n){var s=n.split("(")[1].split(")")[0].split(",");a=parseInt(s[4],10),i=parseInt(s[5],10)}return"left"===e?"translateX(".concat(window.innerWidth,"px) translateX(").concat(a-r.left,"px)"):"right"===e?"translateX(-".concat(r.left+r.width-a,"px)"):"up"===e?"translateY(".concat(window.innerHeight,"px) translateY(").concat(i-r.top,"px)"):"translateY(-".concat(r.top+r.height-i,"px)")}(e,t);n&&(t.style.webkitTransform=n,t.style.transform=n)}var wf={enter:bf.x9.enteringScreen,exit:bf.x9.leavingScreen},Sf=e.forwardRef((function(n,r){var o=n.children,a=n.direction,i=void 0===a?"down":a,s=n.in,l=n.onEnter,c=n.onEntered,u=n.onEntering,d=n.onExit,f=n.onExited,p=n.onExiting,m=n.style,h=n.timeout,v=void 0===h?wf:h,g=n.TransitionComponent,y=void 0===g?Xl:g,x=(0,Ol.Z)(n,["children","direction","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"]),w=Ql(),S=e.useRef(null),E=e.useCallback((function(e){S.current=t.findDOMNode(e)}),[]),O=(0,tc.Z)(o.ref,E),k=(0,tc.Z)(O,r),_=function(e){return function(t){e&&(void 0===t?e(S.current):e(S.current,t))}},P=_((function(e,t){xf(i,e),Jl(e),l&&l(e,t)})),C=_((function(e,t){var n=ec({timeout:v,style:m},{mode:"enter"});e.style.webkitTransition=w.transitions.create("-webkit-transform",(0,b.Z)({},n,{easing:w.transitions.easing.easeOut})),e.style.transition=w.transitions.create("transform",(0,b.Z)({},n,{easing:w.transitions.easing.easeOut})),e.style.webkitTransform="none",e.style.transform="none",u&&u(e,t)})),j=_(c),Z=_(p),R=_((function(e){var t=ec({timeout:v,style:m},{mode:"exit"});e.style.webkitTransition=w.transitions.create("-webkit-transform",(0,b.Z)({},t,{easing:w.transitions.easing.sharp})),e.style.transition=w.transitions.create("transform",(0,b.Z)({},t,{easing:w.transitions.easing.sharp})),xf(i,e),d&&d(e)})),T=_((function(e){e.style.webkitTransition="",e.style.transition="",f&&f(e)})),N=e.useCallback((function(){S.current&&xf(i,S.current)}),[i]);return e.useEffect((function(){if(!s&&"down"!==i&&"right"!==i){var e=(0,kd.Z)((function(){S.current&&xf(i,S.current)}));return window.addEventListener("resize",e),function(){e.clear(),window.removeEventListener("resize",e)}}}),[i,s]),e.useEffect((function(){s||N()}),[s,N]),e.createElement(y,(0,b.Z)({nodeRef:S,onEnter:P,onEntered:j,onEntering:C,onExit:R,onExited:T,onExiting:Z,appear:!0,in:s,timeout:v},x),(function(t,n){return e.cloneElement(o,(0,b.Z)({ref:k,style:(0,b.Z)({visibility:"exited"!==t||s?void 0:"hidden"},m,o.props.style)},n))}))})),Ef=Sf;function Of(t){var n=t.children,r=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.getTrigger,r=void 0===n?gf:n,o=t.target,a=void 0===o?yf:o,i=(0,Ol.Z)(t,["getTrigger","target"]),s=e.useRef(),l=e.useState((function(){return r(s,i)})),c=l[0],u=l[1];return e.useEffect((function(){var e=function(){u(r(s,(0,b.Z)({target:a},i)))};return e(),a.addEventListener("scroll",e),function(){a.removeEventListener("scroll",e)}}),[a,r,JSON.stringify(i)]),c}();return e.createElement(Ef,{appear:!1,direction:"down",in:!r},n)}Of.propTypes={children:d().node.isRequired};var kf=Of,_f=function(){return _f=Object.assign||function(e){for(var t,n=1,r=arguments.length;n received a React element as `filter` props. If you intended to set the list filter elements, use the `filters` (with an s) prop instead. The `filter` prop is internal and should not be set by the developer.");var g=l(),y=Ms(),b=Ny({resource:v,filterDefaultValues:a,sort:c,perPage:d,debounce:m,syncWithLocation:h}),x=b[0],w=b[1],S=Iy(v),E=S[0],O=S[1],k=function(t,n,r,o,a){var i=JSON.stringify({pagination:n,sort:r,filter:o}),s=(0,e.useRef)({}),l=gb({type:"getList",resource:t,payload:{pagination:n,sort:r,filter:o}},a,(function(e){var n=Vf()(e.admin.resources,[t,"list","cachedRequests",i,"ids"]),r=Vf()(e.admin.resources,[t,"list","cachedRequests",i,"total"]),o=Vf()(e.admin.resources,[t,"list","ids"]),a=Vf()(e.admin.resources,[t,"list","total"]),l="undefined"===typeof n?o:n,c="undefined"===typeof r?a:r,u=Vf()(e.admin.resources,[t,"data"],bb);if(s.current.finalIds!==l||s.current.finalTotal!==c||s.current.allRecords!==u){var d={finalIds:l,finalTotal:c,allRecords:u};s.current={finalIds:l,finalTotal:c,allRecords:u,result:d}}return s.current.result}),(function(){return null}),xb),c=l.data,u=c.finalIds,d=c.finalTotal,f=c.allRecords,p=l.error,m=l.loading,h=l.loaded,v=l.refetch;return{data:(0,e.useMemo)((function(){return"undefined"===typeof u?bb:u.map((function(e){return f[e]})).reduce((function(e,t){return t?(e[t.id]=t,e):e}),{})}),[u,f]),ids:"undefined"===typeof u?yb:u,total:d,error:p,loading:m,loaded:h,refetch:v}}(v,{page:x.page,perPage:x.perPage},{field:x.sort,order:x.order},kb(kb({},x.filter),f),{action:ya,onFailure:function(e){return y("string"===typeof e?e:e.message||"ra.notification.http_error",{type:"warning",messageArgs:{_:"string"===typeof e?e:e&&e.message?e.message:void 0}})}}),_=k.ids,P=k.data,C=k.total,j=k.error,Z=k.loading,R=k.loaded,T=k.refetch,N=Math.ceil(C/x.perPage)||1;return(0,e.useEffect)((function(){x.page<=0||!Z&&x.page>1&&0===_.length?w.setPage(1):!Z&&x.page>N&&w.setPage(N)}),[Z,x.page,_,w,C,N]),{basePath:n,currentSort:(0,e.useMemo)((function(){return{field:x.sort,order:x.order}}),[x.sort,x.order]),data:P,defaultTitle:g("ra.page.list",{name:Xf()(v,2)}),displayedFilters:x.displayedFilters,error:j,exporter:o,filter:f,filterValues:x.filterValues,hasCreate:i,hideFilter:w.hideFilter,ids:_,loaded:R||_.length>0,loading:Z,onSelect:O.select,onToggleItem:O.toggle,onUnselectItems:O.clearSelection,page:x.page,perPage:x.perPage,refetch:T,resource:v,selectedIds:E,setFilters:w.setFilters,setPage:w.setPage,setPerPage:w.setPerPage,setSort:w.setSort,showFilter:w.showFilter,total:C}},Zb=e.forwardRef((function(t,n){var r=t.children,o=t.classes,a=t.className,i=t.color,s=void 0===i?"default":i,l=t.component,c=void 0===l?"button":l,u=t.disabled,d=void 0!==u&&u,f=t.disableFocusRipple,p=void 0!==f&&f,m=t.focusVisibleClassName,h=t.size,v=void 0===h?"large":h,g=t.variant,y=void 0===g?"circular":g,x=(0,Ol.Z)(t,["children","classes","className","color","component","disabled","disableFocusRipple","focusVisibleClassName","size","variant"]);return e.createElement(qu,(0,b.Z)({className:(0,kl.Z)(o.root,a,"large"!==v&&o["size".concat((0,_l.Z)(v))],d&&o.disabled,"extended"===y&&o.extended,{primary:o.primary,secondary:o.secondary,inherit:o.colorInherit}[s]),component:c,disabled:d,focusRipple:!p,focusVisibleClassName:(0,kl.Z)(o.focusVisible,m),ref:n},x),e.createElement("span",{className:o.label},r))})),Rb=(0,ml.Z)((function(e){return{root:(0,b.Z)({},e.typography.button,{boxSizing:"border-box",minHeight:36,transition:e.transitions.create(["background-color","box-shadow","border"],{duration:e.transitions.duration.short}),borderRadius:"50%",padding:0,minWidth:0,width:56,height:56,boxShadow:e.shadows[6],"&:active":{boxShadow:e.shadows[12]},color:e.palette.getContrastText(e.palette.grey[300]),backgroundColor:e.palette.grey[300],"&:hover":{backgroundColor:e.palette.grey.A100,"@media (hover: none)":{backgroundColor:e.palette.grey[300]},"&$disabled":{backgroundColor:e.palette.action.disabledBackground},textDecoration:"none"},"&$focusVisible":{boxShadow:e.shadows[6]},"&$disabled":{color:e.palette.action.disabled,boxShadow:e.shadows[0],backgroundColor:e.palette.action.disabledBackground}}),label:{width:"100%",display:"inherit",alignItems:"inherit",justifyContent:"inherit"},primary:{color:e.palette.primary.contrastText,backgroundColor:e.palette.primary.main,"&:hover":{backgroundColor:e.palette.primary.dark,"@media (hover: none)":{backgroundColor:e.palette.primary.main}}},secondary:{color:e.palette.secondary.contrastText,backgroundColor:e.palette.secondary.main,"&:hover":{backgroundColor:e.palette.secondary.dark,"@media (hover: none)":{backgroundColor:e.palette.secondary.main}}},extended:{borderRadius:24,padding:"0 16px",width:"auto",minHeight:"auto",minWidth:48,height:48,"&$sizeSmall":{width:"auto",padding:"0 8px",borderRadius:17,minWidth:34,height:34},"&$sizeMedium":{width:"auto",padding:"0 16px",borderRadius:20,minWidth:40,height:40}},focusVisible:{},disabled:{},colorInherit:{color:"inherit"},sizeSmall:{width:40,height:40},sizeMedium:{width:48,height:48}}}),{name:"MuiFab"})(Zb),Tb=n(3459),Nb=function(){return Nb=Object.assign||function(e){for(var t,n=1,r=arguments.length;n
-1},de.prototype.set=function(e,t){var n=this.__data__,r=ve(n,e);return r<0?n.push([e,t]):n[r][1]=t,this},fe.prototype.clear=function(){this.__data__={hash:new ue,map:new(Q||de),string:new ue}},fe.prototype.delete=function(e){return we(this,e).delete(e)},fe.prototype.get=function(e){return we(this,e).get(e)},fe.prototype.has=function(e){return we(this,e).has(e)},fe.prototype.set=function(e,t){return we(this,e).set(e,t),this},pe.prototype.add=pe.prototype.push=function(e){return this.__data__.set(e,r),this},pe.prototype.has=function(e){return this.__data__.has(e)},me.prototype.clear=function(){this.__data__=new de},me.prototype.delete=function(e){return this.__data__.delete(e)},me.prototype.get=function(e){return this.__data__.get(e)},me.prototype.has=function(e){return this.__data__.has(e)},me.prototype.set=function(e,t){var n=this.__data__;if(n instanceof de){var r=n.__data__;if(!Q||r.length<199)return r.push([e,t]),this;n=this.__data__=new fe(r)}return n.set(e,t),this};var Ee=function(e){return q.call(e)};function Oe(e,t){return!!(t=null==t?o:t)&&("number"==typeof e||E.test(e))&&e>-1&&e%1==0&&e