@reltio/remotes 1.4.1600 → 1.4.1601
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/1039.js +1 -1
- package/1146.js +1 -1
- package/1148.js +1 -1
- package/1334.js +1 -1
- package/1425.js +1 -1
- package/{7056.js → 1572.js} +2 -2
- package/1572.js.map +1 -0
- package/1584.js +1 -1
- package/1664.js +1 -1
- package/1707.js +1 -1
- package/1790.js +1 -1
- package/1840.js +1 -1
- package/1946.js +1 -1
- package/2066.js +1 -1
- package/2201.js +1 -1
- package/2400.js +1 -1
- package/2463.js +1 -1
- package/2579.js +1 -1
- package/2641.js +1 -1
- package/2775.js +1 -1
- package/3096.js +1 -1
- package/3123.js +1 -1
- package/3348.js +1 -1
- package/3358.js +1 -1
- package/3383.js +1 -1
- package/3424.js +1 -1
- package/3463.js +1 -1
- package/3469.js +1 -1
- package/3538.js +1 -1
- package/356.js +1 -1
- package/3603.js +1 -1
- package/3875.js +1 -1
- package/3879.js +1 -1
- package/3902.js +1 -1
- package/3926.js +1 -1
- package/4212.js +1 -1
- package/4390.js +1 -1
- package/4426.js +1 -1
- package/4703.js +1 -1
- package/4806.js +1 -1
- package/4826.js +1 -1
- package/50.js +1 -1
- package/5108.js +1 -1
- package/5171.js +1 -1
- package/527.js +1 -1
- package/5617.js +1 -1
- package/584.js +1 -1
- package/6020.js +1 -1
- package/6287.js +1 -1
- package/6606.js +1 -1
- package/673.js +1 -1
- package/6799.js +1 -1
- package/68.js +1 -1
- package/6844.js +1 -1
- package/6853.js +1 -1
- package/6860.js +1 -1
- package/6903.js +1 -1
- package/7293.js +1 -1
- package/735.js +1 -1
- package/7422.js +1 -1
- package/7436.js +1 -1
- package/764.js +1 -1
- package/7829.js +1 -1
- package/7896.js +1 -1
- package/8075.js +1 -1
- package/820.js +1 -1
- package/8207.js +1 -1
- package/8322.js +1 -1
- package/8360.js +1 -1
- package/8565.js +1 -1
- package/8741.js +1 -1
- package/9016.js +1 -1
- package/9251.js +1 -1
- package/9283.js +1 -1
- package/9309.js +1 -1
- package/9328.js +1 -1
- package/9383.js +1 -1
- package/9397.js +1 -1
- package/9470.js +1 -1
- package/9622.js +1 -1
- package/9719.js +1 -1
- package/9736.js +1 -1
- package/9854.js +1 -1
- package/9861.js +1 -1
- package/987.js +1 -1
- package/9960.js +1 -1
- package/main.js +1 -1
- package/package.json +1 -1
- package/remoteEntry.js +1 -1
- package/remoteEntry.js.map +1 -1
- package/7056.js.map +0 -1
package/9397.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=(new Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="f874190c-c480-4585-acb9-d4842f4ac8e0",e._sentryDebugIdIdentifier="sentry-dbid-f874190c-c480-4585-acb9-d4842f4ac8e0")}catch(e){}}();var _global="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};_global.SENTRY_RELEASE={id:"1.4.1601"},(self.webpackChunk_reltio_remotes=self.webpackChunk_reltio_remotes||[]).push([[9397],{30488:(e,t,r)=>{r.d(t,{Z:()=>i});var n=r(38748),o=r(50548);const i=e=>t=>(0,o.l)(n.X,e,t)},82565:(e,t,r)=>{r.d(t,{Z:()=>d});var n=r(24328),o=r.n(n),i=r(12115);function a(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?Object(arguments[t]):{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),n.forEach((function(t){l(e,t,r[t])}))}return e}function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const s=(0,r(72342).makeStyles)((e=>({basicViewPaper:a({display:"flex",flexDirection:"column"},e.basicView)})));function c(){return c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},c.apply(this,arguments)}const u=(0,n.forwardRef)(((e,t)=>{let{children:r,className:n}=e,a=function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(e,["children","className"]);const l=s();return o().createElement(i.Z,c({ref:t,className:n,classes:{root:l.basicViewPaper}},a),r)}));u.displayName="BasicView";const d=u},17998:(e,t,r)=>{r.d(t,{Z:()=>d});var n=r(24328),o=r.n(n),i=r(2507),a=r.n(i),l=r(26482),s=r(79312);const c=(0,r(72342).makeStyles)({toolbar:{minHeight:"48px",padding:"8px 24px",lineHeight:"28px"},title:{fontSize:"18px",fontWeight:"normal",lineHeight:"inherit",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"}});function u(){return u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},u.apply(this,arguments)}const d=e=>{let{title:t="",children:r=null,classes:n={}}=e,i=function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(e,["title","children","classes"]);const d=c();return o().createElement(l.Z,u({className:n.root,classes:{root:d.toolbar}},i),o().createElement(s.Z,{className:n.title,classes:{root:d.title},variant:"h6"},a().text(t)),r)}},89902:(e,t,r)=>{r.d(t,{Z:()=>u});var n=r(24328),o=r.n(n),i=r(71153),a=r.n(i),l=r(50914);const s=(0,r(72342).makeStyles)((e=>({bar:{backgroundColor:e.palette.secondary.main,opacity:.12,position:"absolute",minHeight:"20px",minWidth:"5px",borderRadius:"2px",top:0,left:0,height:"100%"}}))),c=e=>(0,l.is)(Number,e),u=e=>{let{className:t,width:r=0,maxWidth:i}=e;const l=s(),u=(0,n.useCallback)((e=>(i?100*e/i:0)+"%"),[i]);return r?o().createElement("div",{className:a()(l.bar,t),style:{width:c(r)?u(r):r}}):null}},98538:(e,t,r)=>{r.d(t,{Z:()=>O});var n=r(24328),o=r.n(n),i=r(71153),a=r.n(i),l=r(50914),s=r(38677),c=r(18960),u=r(55962),d=r(80852),p=r(95341),m=r(79312),h=r(78223),g=r(47591);const b=(0,r(72342).makeStyles)((e=>({buttonRoot:{"&$selected":{color:e.palette.action.active,backgroundColor:(0,g.Fq)(e.palette.action.active,.12),"&:hover":{backgroundColor:(0,g.Fq)(e.palette.action.active,.15)}}},selected:{},paper:{minWidth:"112px"},menuItem:{minHeight:"32px"},menuText:{color:e.palette.text.primary,fontSize:"13px",lineHeight:"15px",letterSpacing:0}}))),f=(0,h.Z)(p.Z),y=(0,n.forwardRef)(((e,t)=>{let{item:r,onMenuClose:n=l.identity}=e;const i=b(),{disabled:a,text:s,tooltip:c,onClick:u,id:p="",selectable:h,selected:g}=r;return o().createElement(f,{tooltipTitle:c,showForDisabled:!0,classes:{root:i.menuItem},onClick:e=>{n(e),u(e)},disabled:a,ref:t,"data-modal":!0,"data-reltio-id":`reltio-search-menu-item${p}`},h&&o().createElement(d.Z,{checked:g,color:"primary"}),o().createElement(m.Z,{classes:{root:i.menuText}},s))}));y.displayName="MenuItemRenderer";const v=y;function w(){return w=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},w.apply(this,arguments)}function x(e){let{className:t,menuId:r,buttonComponent:i=s.Z,buttonContent:d,menuItems:p=[],buttonProps:m={},popoverProps:h={},onMenuOpen:g=l.identity,onMenuClose:f=l.identity,MenuItemRenderer:y=v}=e;const x=i,O=b(),k=(0,n.useRef)(),[S,E]=(0,n.useState)(!1);(0,u.D)((()=>{S?g():f()}),[S]);const j=(0,n.useCallback)((e=>{null==e||e.stopPropagation(),E((e=>!e))}),[]);return o().createElement(o().Fragment,null,o().createElement(x,w({ref:k,className:a()(O.buttonRoot,{[O.selected]:S},t),onClick:j,"aria-pressed":S,"aria-controls":S?r:void 0,"aria-haspopup":"true"},m),d),o().createElement(c.Z,w({id:r,variant:"menu",open:S,autoFocus:!1,classes:{paper:O.paper},anchorEl:k.current,onClose:j,anchorOrigin:{vertical:"bottom",horizontal:"right"},transformOrigin:{vertical:"top",horizontal:"right"},elevation:2,MenuListProps:{autoFocusItem:S}},h),p.map(((e,t)=>o().createElement(y,{item:e,key:t,onMenuClose:j})))))}x.displayName="DropDownMenuButton";const O=x},7882:(e,t,r)=>{r.d(t,{Z:()=>i});var n=r(24328),o=r.n(n);class i extends o().Component{constructor(e){super(e),this.state={error:null}}componentDidCatch(e){this.setState({error:e}),console.error(e)}render(){const{children:e,error:t}=this.props;return this.state.error?t:e}}},14593:(e,t,r)=>{r.d(t,{Z:()=>C});var n=r(24328),o=r.n(n),i=r(66244),a=r.n(i),l=r(44443),s=r(50914),c=r(71153),u=r.n(c);function d(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?Object(arguments[t]):{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),n.forEach((function(t){p(e,t,r[t])}))}return e}function p(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function m(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}const h=e=>{let{x:t,y:r,width:n,height:o,id:i,minWidth:a,minHeight:l,maxWidth:s,maxHeight:c,isStatic:u}=e;return{x:t,y:r,w:n,h:o,minW:a,minH:l,maxW:s,maxH:c,i,static:u}},g=e=>{let{x:t,y:r,w:n,h:o,maxW:i,minW:a,minH:l,maxH:s,i:c}=e;return{x:t,y:r,width:n,height:o,minWidth:a,minHeight:l,maxWidth:i,maxHeight:s,id:c,isStatic:m(e,["x","y","w","h","maxW","minW","minH","maxH","i"]).static}},b=e=>(e||[]).map(g),f=(0,s.curry)(((e,t)=>(e||[]).find((0,s.propEq)("id",t)))),y=(0,s.curry)(((e,t,r)=>(0,s.mergeAll)([r,(0,s.pick)(e,t)]))),v=(0,s.curry)(((e,t,r)=>(r||[]).map((r=>(0,s.pipe)((0,s.prop)("id"),f(t),(0,s.defaultTo)({}),y(e,s.__,r))(r))))),w=(0,s.curry)(((e,t)=>t.map((r=>{const n=t.filter((e=>e.y===r.y)).map((t=>e[t.id]||!t.autosizing&&t.minHeight||0)),o=Math.max(...n);if(r.height!==o&&o){const e=r.autosizing?{minHeight:o,maxHeight:o}:{};return d({},r,e,{height:o})}return r})))),x=(0,s.curry)(((e,t)=>t.map((t=>{const r=e[t.id];return r&&t.autosizing?d({},t,{minHeight:r,maxHeight:r,height:r}):t}))));var O=r(79573),k=r(72342),S=r(6391);const E=(0,k.makeStyles)((e=>({gridLayout:{position:"relative",width:"100%","& .react-grid-item":{"&.react-grid-placeholder":{background:"rgba(0, 0, 0, 0.03)",border:"2px dashed rgba(0, 0, 0, 0.3)",borderRadius:"3px",transitionDuration:"100ms",zIndex:7,userSelect:"none","& .react-resizable-handle":{display:"none"}},"&.static .react-resizable-handle":{display:"none"},"&.customView .react-resizable-handle":{width:"10px",height:"10px"},"&.cssTransforms":{transitionProperty:"transform"},"&.react-draggable-dragging":{transition:"none",zIndex:8,willChange:"transform","& .react-resizable-handle":{backgroundImage:"none"}},"& .react-resizable-handle":{position:"absolute",width:"17px",height:"17px",bottom:0,right:0,zIndex:20,backgroundImage:`url('${(0,S.m5F)('<svg width="10" height="10" viewBox="0 0 10 10" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path stroke="#505050" stroke-opacity=".54" d="M9.5 0v10M0 9.5h9M7.5 4v4M4 7.5h3"/>\n</svg>')}')`,backgroundRepeat:"no-repeat",backgroundOrigin:"content-box",boxSizing:"border-box",cursor:"se-resize"},"&.fullscreen":{visibility:"visible",position:"unset",width:"100% !important",height:"100% !important",transform:"translate(0) !important"}}},gridFullscreen:{height:"100% !important",overflowY:"hidden","& .react-resizable-handle, & .react-grid-item":{visibility:"hidden"}},isResizing:{zIndex:9,willChange:"width, height",pointerEvents:"none"}})));function j(){return j=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},j.apply(this,arguments)}const z={cols:4,rowHeight:30,margin:[15,15]},H=e=>{let{views:t,layout:r,layoutOptions:i=z,onLayoutChanged:c=O.ZT,draggableHandle:d,LayoutItem:p,onRemove:m,onDrop:y,droppingItem:k,isDroppable:S,isStatic:H,classes:C}=e;const R=(0,n.useRef)(),I=(0,n.useRef)({}),P=E(),[Z,N]=(0,n.useState)(null),[D,M]=(0,n.useState)(null),[W,_]=(0,n.useState)(0),{cols:F,rowHeight:L,margin:T}=i,V=(0,n.useMemo)((()=>(e=>(e||[]).map(h))(r)),[r]),$=(0,s.pipe)(b,v(["autosizing"],r),(0,s.ifElse)((0,s.always)(H),w(I.current),x(I.current)),c),q=(0,n.useCallback)((e=>M((t=>t?null:e))),[]),A=null!==D;return o().createElement(o().Fragment,null,o().createElement(l.Z,{refreshMode:"debounce",refreshRate:50,handleWidth:!0,onResize:e=>_(e)}),!!W&&o().createElement(a(),{innerRef:R,layout:V,cols:F,draggableHandle:d,autoSize:!0,rowHeight:L,width:W,margin:T,onLayoutChange:H?void 0:$,isResizable:!H&&!A,isDraggable:!H&&!A,className:u()(null==C?void 0:C.root,P.gridLayout,{[P.gridFullscreen]:A}),onDrop:(e,t,r)=>{y&&y(b(e),g(t),r)},droppingItem:k,isDroppable:!H&&S,onResizeStart:(e,t)=>N(t.i),onResizeStop:()=>N(null),"data-reltio-id":"reltio-grid-layout"},V.map((e=>{const n=D===e.i,a=Z===e.i,s=(f(r,e.i)||{}).autosizing?{AutosizeComponent:(c=e.i,o().createElement(l.Z,{handleHeight:!0,onResize:(e,t)=>{if(t){const e=((e,t)=>{const{margin:r,rowHeight:n}=t;return Math.ceil((e+r[1])/(n+r[1]))})(t,i);e!==I.current[c]&&(I.current[c]=e,$(V))}}}))}:{};var c;return o().createElement(p,j({key:e.i,layoutItemConfig:e,views:t,onToggleFullscreen:q,onRemove:m,className:u()(null==C?void 0:C.item,{static:H,fullscreen:n,[P.isResizing]:a}),isFullscreen:n},s))}))))};H.displayName="ReltioGridLayout";const C=(0,n.memo)(H)},43129:(e,t,r)=>{r.d(t,{Z:()=>l});var n=r(24328),o=r.n(n),i=r(30750);const a=(0,r(72342).makeStyles)({loader:{width:"100%",top:0,left:0,position:"absolute",borderRadius:"2px"}}),l=()=>{const e=a();return o().createElement(i.Z,{color:"primary",className:e.loader,"data-reltio-id":"dashboard-item-loader"})}},65298:(e,t,r)=>{r.d(t,{Z:()=>s});var n=r(24328),o=r.n(n),i=r(82565),a=r(52388);const l=(0,r(72342).makeStyles)((()=>({view:{flex:1,width:"100%",height:"100%",overflow:"hidden",boxShadow:"none"}}))),s=e=>{let{id:t,children:r}=e;const n=l();return o().createElement(a.H.Provider,{value:t},o().createElement(i.Z,{className:n.view,"data-reltio-id":`layout-item-${t}`},r))}},52388:(e,t,r)=>{r.d(t,{H:()=>o});var n=r(24328);const o=r.n(n)().createContext(null);o.displayName="DashboardViewIdContext"}}]);
|
|
1
|
+
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=(new Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="f874190c-c480-4585-acb9-d4842f4ac8e0",e._sentryDebugIdIdentifier="sentry-dbid-f874190c-c480-4585-acb9-d4842f4ac8e0")}catch(e){}}();var _global="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};_global.SENTRY_RELEASE={id:"1.4.1602"},(self.webpackChunk_reltio_remotes=self.webpackChunk_reltio_remotes||[]).push([[9397],{30488:(e,t,r)=>{r.d(t,{Z:()=>i});var n=r(38748),o=r(50548);const i=e=>t=>(0,o.l)(n.X,e,t)},82565:(e,t,r)=>{r.d(t,{Z:()=>d});var n=r(24328),o=r.n(n),i=r(12115);function a(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?Object(arguments[t]):{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),n.forEach((function(t){l(e,t,r[t])}))}return e}function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const s=(0,r(72342).makeStyles)((e=>({basicViewPaper:a({display:"flex",flexDirection:"column"},e.basicView)})));function c(){return c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},c.apply(this,arguments)}const u=(0,n.forwardRef)(((e,t)=>{let{children:r,className:n}=e,a=function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(e,["children","className"]);const l=s();return o().createElement(i.Z,c({ref:t,className:n,classes:{root:l.basicViewPaper}},a),r)}));u.displayName="BasicView";const d=u},17998:(e,t,r)=>{r.d(t,{Z:()=>d});var n=r(24328),o=r.n(n),i=r(2507),a=r.n(i),l=r(26482),s=r(79312);const c=(0,r(72342).makeStyles)({toolbar:{minHeight:"48px",padding:"8px 24px",lineHeight:"28px"},title:{fontSize:"18px",fontWeight:"normal",lineHeight:"inherit",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"}});function u(){return u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},u.apply(this,arguments)}const d=e=>{let{title:t="",children:r=null,classes:n={}}=e,i=function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(e,["title","children","classes"]);const d=c();return o().createElement(l.Z,u({className:n.root,classes:{root:d.toolbar}},i),o().createElement(s.Z,{className:n.title,classes:{root:d.title},variant:"h6"},a().text(t)),r)}},89902:(e,t,r)=>{r.d(t,{Z:()=>u});var n=r(24328),o=r.n(n),i=r(71153),a=r.n(i),l=r(50914);const s=(0,r(72342).makeStyles)((e=>({bar:{backgroundColor:e.palette.secondary.main,opacity:.12,position:"absolute",minHeight:"20px",minWidth:"5px",borderRadius:"2px",top:0,left:0,height:"100%"}}))),c=e=>(0,l.is)(Number,e),u=e=>{let{className:t,width:r=0,maxWidth:i}=e;const l=s(),u=(0,n.useCallback)((e=>(i?100*e/i:0)+"%"),[i]);return r?o().createElement("div",{className:a()(l.bar,t),style:{width:c(r)?u(r):r}}):null}},98538:(e,t,r)=>{r.d(t,{Z:()=>O});var n=r(24328),o=r.n(n),i=r(71153),a=r.n(i),l=r(50914),s=r(38677),c=r(18960),u=r(55962),d=r(80852),p=r(95341),m=r(79312),h=r(78223),g=r(47591);const b=(0,r(72342).makeStyles)((e=>({buttonRoot:{"&$selected":{color:e.palette.action.active,backgroundColor:(0,g.Fq)(e.palette.action.active,.12),"&:hover":{backgroundColor:(0,g.Fq)(e.palette.action.active,.15)}}},selected:{},paper:{minWidth:"112px"},menuItem:{minHeight:"32px"},menuText:{color:e.palette.text.primary,fontSize:"13px",lineHeight:"15px",letterSpacing:0}}))),f=(0,h.Z)(p.Z),y=(0,n.forwardRef)(((e,t)=>{let{item:r,onMenuClose:n=l.identity}=e;const i=b(),{disabled:a,text:s,tooltip:c,onClick:u,id:p="",selectable:h,selected:g}=r;return o().createElement(f,{tooltipTitle:c,showForDisabled:!0,classes:{root:i.menuItem},onClick:e=>{n(e),u(e)},disabled:a,ref:t,"data-modal":!0,"data-reltio-id":`reltio-search-menu-item${p}`},h&&o().createElement(d.Z,{checked:g,color:"primary"}),o().createElement(m.Z,{classes:{root:i.menuText}},s))}));y.displayName="MenuItemRenderer";const v=y;function w(){return w=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},w.apply(this,arguments)}function x(e){let{className:t,menuId:r,buttonComponent:i=s.Z,buttonContent:d,menuItems:p=[],buttonProps:m={},popoverProps:h={},onMenuOpen:g=l.identity,onMenuClose:f=l.identity,MenuItemRenderer:y=v}=e;const x=i,O=b(),k=(0,n.useRef)(),[S,E]=(0,n.useState)(!1);(0,u.D)((()=>{S?g():f()}),[S]);const j=(0,n.useCallback)((e=>{null==e||e.stopPropagation(),E((e=>!e))}),[]);return o().createElement(o().Fragment,null,o().createElement(x,w({ref:k,className:a()(O.buttonRoot,{[O.selected]:S},t),onClick:j,"aria-pressed":S,"aria-controls":S?r:void 0,"aria-haspopup":"true"},m),d),o().createElement(c.Z,w({id:r,variant:"menu",open:S,autoFocus:!1,classes:{paper:O.paper},anchorEl:k.current,onClose:j,anchorOrigin:{vertical:"bottom",horizontal:"right"},transformOrigin:{vertical:"top",horizontal:"right"},elevation:2,MenuListProps:{autoFocusItem:S}},h),p.map(((e,t)=>o().createElement(y,{item:e,key:t,onMenuClose:j})))))}x.displayName="DropDownMenuButton";const O=x},7882:(e,t,r)=>{r.d(t,{Z:()=>i});var n=r(24328),o=r.n(n);class i extends o().Component{constructor(e){super(e),this.state={error:null}}componentDidCatch(e){this.setState({error:e}),console.error(e)}render(){const{children:e,error:t}=this.props;return this.state.error?t:e}}},14593:(e,t,r)=>{r.d(t,{Z:()=>C});var n=r(24328),o=r.n(n),i=r(66244),a=r.n(i),l=r(44443),s=r(50914),c=r(71153),u=r.n(c);function d(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?Object(arguments[t]):{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),n.forEach((function(t){p(e,t,r[t])}))}return e}function p(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function m(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}const h=e=>{let{x:t,y:r,width:n,height:o,id:i,minWidth:a,minHeight:l,maxWidth:s,maxHeight:c,isStatic:u}=e;return{x:t,y:r,w:n,h:o,minW:a,minH:l,maxW:s,maxH:c,i,static:u}},g=e=>{let{x:t,y:r,w:n,h:o,maxW:i,minW:a,minH:l,maxH:s,i:c}=e;return{x:t,y:r,width:n,height:o,minWidth:a,minHeight:l,maxWidth:i,maxHeight:s,id:c,isStatic:m(e,["x","y","w","h","maxW","minW","minH","maxH","i"]).static}},b=e=>(e||[]).map(g),f=(0,s.curry)(((e,t)=>(e||[]).find((0,s.propEq)("id",t)))),y=(0,s.curry)(((e,t,r)=>(0,s.mergeAll)([r,(0,s.pick)(e,t)]))),v=(0,s.curry)(((e,t,r)=>(r||[]).map((r=>(0,s.pipe)((0,s.prop)("id"),f(t),(0,s.defaultTo)({}),y(e,s.__,r))(r))))),w=(0,s.curry)(((e,t)=>t.map((r=>{const n=t.filter((e=>e.y===r.y)).map((t=>e[t.id]||!t.autosizing&&t.minHeight||0)),o=Math.max(...n);if(r.height!==o&&o){const e=r.autosizing?{minHeight:o,maxHeight:o}:{};return d({},r,e,{height:o})}return r})))),x=(0,s.curry)(((e,t)=>t.map((t=>{const r=e[t.id];return r&&t.autosizing?d({},t,{minHeight:r,maxHeight:r,height:r}):t}))));var O=r(79573),k=r(72342),S=r(6391);const E=(0,k.makeStyles)((e=>({gridLayout:{position:"relative",width:"100%","& .react-grid-item":{"&.react-grid-placeholder":{background:"rgba(0, 0, 0, 0.03)",border:"2px dashed rgba(0, 0, 0, 0.3)",borderRadius:"3px",transitionDuration:"100ms",zIndex:7,userSelect:"none","& .react-resizable-handle":{display:"none"}},"&.static .react-resizable-handle":{display:"none"},"&.customView .react-resizable-handle":{width:"10px",height:"10px"},"&.cssTransforms":{transitionProperty:"transform"},"&.react-draggable-dragging":{transition:"none",zIndex:8,willChange:"transform","& .react-resizable-handle":{backgroundImage:"none"}},"& .react-resizable-handle":{position:"absolute",width:"17px",height:"17px",bottom:0,right:0,zIndex:20,backgroundImage:`url('${(0,S.m5F)('<svg width="10" height="10" viewBox="0 0 10 10" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path stroke="#505050" stroke-opacity=".54" d="M9.5 0v10M0 9.5h9M7.5 4v4M4 7.5h3"/>\n</svg>')}')`,backgroundRepeat:"no-repeat",backgroundOrigin:"content-box",boxSizing:"border-box",cursor:"se-resize"},"&.fullscreen":{visibility:"visible",position:"unset",width:"100% !important",height:"100% !important",transform:"translate(0) !important"}}},gridFullscreen:{height:"100% !important",overflowY:"hidden","& .react-resizable-handle, & .react-grid-item":{visibility:"hidden"}},isResizing:{zIndex:9,willChange:"width, height",pointerEvents:"none"}})));function j(){return j=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},j.apply(this,arguments)}const z={cols:4,rowHeight:30,margin:[15,15]},H=e=>{let{views:t,layout:r,layoutOptions:i=z,onLayoutChanged:c=O.ZT,draggableHandle:d,LayoutItem:p,onRemove:m,onDrop:y,droppingItem:k,isDroppable:S,isStatic:H,classes:C}=e;const R=(0,n.useRef)(),I=(0,n.useRef)({}),P=E(),[Z,N]=(0,n.useState)(null),[D,M]=(0,n.useState)(null),[W,_]=(0,n.useState)(0),{cols:F,rowHeight:L,margin:T}=i,V=(0,n.useMemo)((()=>(e=>(e||[]).map(h))(r)),[r]),$=(0,s.pipe)(b,v(["autosizing"],r),(0,s.ifElse)((0,s.always)(H),w(I.current),x(I.current)),c),q=(0,n.useCallback)((e=>M((t=>t?null:e))),[]),A=null!==D;return o().createElement(o().Fragment,null,o().createElement(l.Z,{refreshMode:"debounce",refreshRate:50,handleWidth:!0,onResize:e=>_(e)}),!!W&&o().createElement(a(),{innerRef:R,layout:V,cols:F,draggableHandle:d,autoSize:!0,rowHeight:L,width:W,margin:T,onLayoutChange:H?void 0:$,isResizable:!H&&!A,isDraggable:!H&&!A,className:u()(null==C?void 0:C.root,P.gridLayout,{[P.gridFullscreen]:A}),onDrop:(e,t,r)=>{y&&y(b(e),g(t),r)},droppingItem:k,isDroppable:!H&&S,onResizeStart:(e,t)=>N(t.i),onResizeStop:()=>N(null),"data-reltio-id":"reltio-grid-layout"},V.map((e=>{const n=D===e.i,a=Z===e.i,s=(f(r,e.i)||{}).autosizing?{AutosizeComponent:(c=e.i,o().createElement(l.Z,{handleHeight:!0,onResize:(e,t)=>{if(t){const e=((e,t)=>{const{margin:r,rowHeight:n}=t;return Math.ceil((e+r[1])/(n+r[1]))})(t,i);e!==I.current[c]&&(I.current[c]=e,$(V))}}}))}:{};var c;return o().createElement(p,j({key:e.i,layoutItemConfig:e,views:t,onToggleFullscreen:q,onRemove:m,className:u()(null==C?void 0:C.item,{static:H,fullscreen:n,[P.isResizing]:a}),isFullscreen:n},s))}))))};H.displayName="ReltioGridLayout";const C=(0,n.memo)(H)},43129:(e,t,r)=>{r.d(t,{Z:()=>l});var n=r(24328),o=r.n(n),i=r(30750);const a=(0,r(72342).makeStyles)({loader:{width:"100%",top:0,left:0,position:"absolute",borderRadius:"2px"}}),l=()=>{const e=a();return o().createElement(i.Z,{color:"primary",className:e.loader,"data-reltio-id":"dashboard-item-loader"})}},65298:(e,t,r)=>{r.d(t,{Z:()=>s});var n=r(24328),o=r.n(n),i=r(82565),a=r(52388);const l=(0,r(72342).makeStyles)((()=>({view:{flex:1,width:"100%",height:"100%",overflow:"hidden",boxShadow:"none"}}))),s=e=>{let{id:t,children:r}=e;const n=l();return o().createElement(a.H.Provider,{value:t},o().createElement(i.Z,{className:n.view,"data-reltio-id":`layout-item-${t}`},r))}},52388:(e,t,r)=>{r.d(t,{H:()=>o});var n=r(24328);const o=r.n(n)().createContext(null);o.displayName="DashboardViewIdContext"}}]);
|
|
2
2
|
//# sourceMappingURL=9397.js.map
|
package/9470.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*! For license information please see 9470.js.LICENSE.txt */
|
|
2
|
-
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=(new Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="f818a78b-daaf-4813-a4d6-1a601648254b",e._sentryDebugIdIdentifier="sentry-dbid-f818a78b-daaf-4813-a4d6-1a601648254b")}catch(e){}}();var _global="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};_global.SENTRY_RELEASE={id:"1.4.1601"},(self.webpackChunk_reltio_remotes=self.webpackChunk_reltio_remotes||[]).push([[9470,7896],{25455:(e,t,o)=>{o.d(t,{Z:()=>d});var r=o(24328),n=o(84501),a=o(36855),i=o(52322);const l=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function s(e){const t=[],o=[];return Array.from(e.querySelectorAll(l)).forEach(((e,r)=>{const n=function(e){const t=parseInt(e.getAttribute("tabindex")||"",10);return Number.isNaN(t)?"true"===e.contentEditable||("AUDIO"===e.nodeName||"VIDEO"===e.nodeName||"DETAILS"===e.nodeName)&&null===e.getAttribute("tabindex")?0:e.tabIndex:t}(e);-1!==n&&function(e){return!(e.disabled||"INPUT"===e.tagName&&"hidden"===e.type||function(e){if("INPUT"!==e.tagName||"radio"!==e.type)return!1;if(!e.name)return!1;const t=t=>e.ownerDocument.querySelector(`input[type="radio"]${t}`);let o=t(`[name="${e.name}"]:checked`);return o||(o=t(`[name="${e.name}"]`)),o!==e}(e))}(e)&&(0===n?t.push(e):o.push({documentOrder:r,tabIndex:n,node:e}))})),o.sort(((e,t)=>e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex)).map((e=>e.node)).concat(t)}function c(){return!0}const d=function(e){const{children:t,disableAutoFocus:o=!1,disableEnforceFocus:l=!1,disableRestoreFocus:d=!1,getTabbable:u=s,isEnabled:p=c,open:f}=e,m=r.useRef(!1),h=r.useRef(null),b=r.useRef(null),v=r.useRef(null),g=r.useRef(null),Z=r.useRef(!1),y=r.useRef(null),x=(0,n.Z)(t.ref,y),w=r.useRef(null);r.useEffect((()=>{f&&y.current&&(Z.current=!o)}),[o,f]),r.useEffect((()=>{if(!f||!y.current)return;const e=(0,a.Z)(y.current);return y.current.contains(e.activeElement)||(y.current.hasAttribute("tabIndex")||y.current.setAttribute("tabIndex","-1"),Z.current&&y.current.focus()),()=>{d||(v.current&&v.current.focus&&(m.current=!0,v.current.focus()),v.current=null)}}),[f]),r.useEffect((()=>{if(!f||!y.current)return;const e=(0,a.Z)(y.current),t=t=>{const{current:o}=y;if(null!==o)if(e.hasFocus()&&!l&&p()&&!m.current){if(!o.contains(e.activeElement)){if(t&&g.current!==t.target||e.activeElement!==g.current)g.current=null;else if(null!==g.current)return;if(!Z.current)return;let a=[];if(e.activeElement!==h.current&&e.activeElement!==b.current||(a=u(y.current)),a.length>0){var r,n;const e=Boolean((null==(r=w.current)?void 0:r.shiftKey)&&"Tab"===(null==(n=w.current)?void 0:n.key)),t=a[0],o=a[a.length-1];"string"!=typeof t&&"string"!=typeof o&&(e?o.focus():t.focus())}else o.focus()}}else m.current=!1},o=t=>{w.current=t,!l&&p()&&"Tab"===t.key&&e.activeElement===y.current&&t.shiftKey&&(m.current=!0,b.current&&b.current.focus())};e.addEventListener("focusin",t),e.addEventListener("keydown",o,!0);const r=setInterval((()=>{e.activeElement&&"BODY"===e.activeElement.tagName&&t(null)}),50);return()=>{clearInterval(r),e.removeEventListener("focusin",t),e.removeEventListener("keydown",o,!0)}}),[o,l,d,p,f,u]);const S=e=>{null===v.current&&(v.current=e.relatedTarget),Z.current=!0};return(0,i.jsxs)(r.Fragment,{children:[(0,i.jsx)("div",{tabIndex:f?0:-1,onFocus:S,ref:h,"data-testid":"sentinelStart"}),r.cloneElement(t,{ref:x,onFocus:e=>{null===v.current&&(v.current=e.relatedTarget),Z.current=!0,g.current=e.target;const o=t.props.onFocus;o&&o(e)}}),(0,i.jsx)("div",{tabIndex:f?0:-1,onFocus:S,ref:b,"data-testid":"sentinelEnd"})]})}},41622:(e,t,o)=>{o.d(t,{G:()=>i,Z:()=>d});var r=o(36855),n=o(27270),a=o(41626);function i(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function l(e){return parseInt((0,n.Z)(e).getComputedStyle(e).paddingRight,10)||0}function s(e,t,o,r,n){const a=[t,o,...r];[].forEach.call(e.children,(e=>{const t=-1===a.indexOf(e),o=!function(e){const t=-1!==["TEMPLATE","SCRIPT","STYLE","LINK","MAP","META","NOSCRIPT","PICTURE","COL","COLGROUP","PARAM","SLOT","SOURCE","TRACK"].indexOf(e.tagName),o="INPUT"===e.tagName&&"hidden"===e.getAttribute("type");return t||o}(e);t&&o&&i(e,n)}))}function c(e,t){let o=-1;return e.some(((e,r)=>!!t(e)&&(o=r,!0))),o}class d{constructor(){this.containers=void 0,this.modals=void 0,this.modals=[],this.containers=[]}add(e,t){let o=this.modals.indexOf(e);if(-1!==o)return o;o=this.modals.length,this.modals.push(e),e.modalRef&&i(e.modalRef,!1);const r=function(e){const t=[];return[].forEach.call(e.children,(e=>{"true"===e.getAttribute("aria-hidden")&&t.push(e)})),t}(t);s(t,e.mount,e.modalRef,r,!0);const n=c(this.containers,(e=>e.container===t));return-1!==n?(this.containers[n].modals.push(e),o):(this.containers.push({modals:[e],container:t,restore:null,hiddenSiblings:r}),o)}mount(e,t){const o=c(this.containers,(t=>-1!==t.modals.indexOf(e))),i=this.containers[o];i.restore||(i.restore=function(e,t){const o=[],i=e.container;if(!t.disableScrollLock){if(function(e){const t=(0,r.Z)(e);return t.body===e?(0,n.Z)(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}(i)){const e=(0,a.Z)((0,r.Z)(i));o.push({value:i.style.paddingRight,property:"padding-right",el:i}),i.style.paddingRight=`${l(i)+e}px`;const t=(0,r.Z)(i).querySelectorAll(".mui-fixed");[].forEach.call(t,(t=>{o.push({value:t.style.paddingRight,property:"padding-right",el:t}),t.style.paddingRight=`${l(t)+e}px`}))}let e;if(i.parentNode instanceof DocumentFragment)e=(0,r.Z)(i).body;else{const t=i.parentElement,o=(0,n.Z)(i);e="HTML"===(null==t?void 0:t.nodeName)&&"scroll"===o.getComputedStyle(t).overflowY?t:i}o.push({value:e.style.overflow,property:"overflow",el:e},{value:e.style.overflowX,property:"overflow-x",el:e},{value:e.style.overflowY,property:"overflow-y",el:e}),e.style.overflow="hidden"}return()=>{o.forEach((({value:e,el:t,property:o})=>{e?t.style.setProperty(o,e):t.style.removeProperty(o)}))}}(i,t))}remove(e,t=!0){const o=this.modals.indexOf(e);if(-1===o)return o;const r=c(this.containers,(t=>-1!==t.modals.indexOf(e))),n=this.containers[r];if(n.modals.splice(n.modals.indexOf(e),1),this.modals.splice(o,1),0===n.modals.length)n.restore&&n.restore(),e.modalRef&&i(e.modalRef,t),s(n.container,e.mount,e.modalRef,n.hiddenSiblings,!1),this.containers.splice(r,1);else{const e=n.modals[n.modals.length-1];e.modalRef&&i(e.modalRef,!1)}return o}isTopModal(e){return this.modals.length>0&&this.modals[this.modals.length-1]===e}}},83820:(e,t,o)=>{o.d(t,{Z:()=>c});var r=o(24328),n=o(75047),a=o(84501),i=o(21399),l=o(75377),s=o(52322);const c=r.forwardRef((function(e,t){const{children:o,container:c,disablePortal:d=!1}=e,[u,p]=r.useState(null),f=(0,a.Z)(r.isValidElement(o)?o.ref:null,t);if((0,i.Z)((()=>{d||p(function(e){return"function"==typeof e?e():e}(c)||document.body)}),[c,d]),(0,i.Z)((()=>{if(u&&!d)return(0,l.Z)(t,u),()=>{(0,l.Z)(t,null)}}),[t,u,d]),d){if(r.isValidElement(o)){const e={ref:f};return r.cloneElement(o,e)}return(0,s.jsx)(r.Fragment,{children:o})}return(0,s.jsx)(r.Fragment,{children:u?n.createPortal(o,u):u})}))},73570:(e,t,o)=>{o.d(t,{Z:()=>b});var r=o(7896),n=o(31461),a=o(24328),i=o(75047),l=o(84501),s=o(27270),c=o(71166),d=o(21399),u=o(52322);const p=["onChange","maxRows","minRows","style","value"];function f(e){return parseInt(e,10)||0}const m={visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"};function h(e){return null==e||0===Object.keys(e).length||0===e.outerHeightStyle&&!e.overflow}const b=a.forwardRef((function(e,t){const{onChange:o,maxRows:b,minRows:v=1,style:g,value:Z}=e,y=(0,n.Z)(e,p),{current:x}=a.useRef(null!=Z),w=a.useRef(null),S=(0,l.Z)(t,w),k=a.useRef(null),C=a.useRef(0),[P,R]=a.useState({outerHeightStyle:0}),E=a.useCallback((()=>{const t=w.current,o=(0,s.Z)(t).getComputedStyle(t);if("0px"===o.width)return{outerHeightStyle:0};const r=k.current;r.style.width=o.width,r.value=t.value||e.placeholder||"x","\n"===r.value.slice(-1)&&(r.value+=" ");const n=o.boxSizing,a=f(o.paddingBottom)+f(o.paddingTop),i=f(o.borderBottomWidth)+f(o.borderTopWidth),l=r.scrollHeight;r.value="x";const c=r.scrollHeight;let d=l;return v&&(d=Math.max(Number(v)*c,d)),b&&(d=Math.min(Number(b)*c,d)),d=Math.max(d,c),{outerHeightStyle:d+("border-box"===n?a+i:0),overflow:Math.abs(d-l)<=1}}),[b,v,e.placeholder]),$=(e,t)=>{const{outerHeightStyle:o,overflow:r}=t;return C.current<20&&(o>0&&Math.abs((e.outerHeightStyle||0)-o)>1||e.overflow!==r)?(C.current+=1,{overflow:r,outerHeightStyle:o}):e},M=a.useCallback((()=>{const e=E();h(e)||R((t=>$(t,e)))}),[E]);return a.useEffect((()=>{const e=(0,c.Z)((()=>{C.current=0,w.current&&(()=>{const e=E();h(e)||i.flushSync((()=>{R((t=>$(t,e)))}))})()}));let t;const o=w.current,r=(0,s.Z)(o);return r.addEventListener("resize",e),"undefined"!=typeof ResizeObserver&&(t=new ResizeObserver(e),t.observe(o)),()=>{e.clear(),r.removeEventListener("resize",e),t&&t.disconnect()}})),(0,d.Z)((()=>{M()})),a.useEffect((()=>{C.current=0}),[Z]),(0,u.jsxs)(a.Fragment,{children:[(0,u.jsx)("textarea",(0,r.Z)({value:Z,onChange:e=>{C.current=0,x||M(),o&&o(e)},ref:S,rows:v,style:(0,r.Z)({height:P.outerHeightStyle,overflow:P.overflow?"hidden":void 0},g)},y)),(0,u.jsx)("textarea",{"aria-hidden":!0,className:e.className,readOnly:!0,ref:k,tabIndex:-1,style:(0,r.Z)({},m,g,{padding:0})})]})}))},49161:(e,t,o)=>{o.d(t,{T:()=>i});var r=o(24328);o(52322);const n={disableDefaultClasses:!1},a=r.createContext(n);function i(e){const{disableDefaultClasses:t}=r.useContext(a);return o=>t?"":e(o)}},69917:(e,t,o)=>{o.d(t,{Z:()=>a});var r=o(7896),n=o(65444);function a(e,t,o){return void 0===e||(0,n.Z)(e)?t:(0,r.Z)({},t,{ownerState:(0,r.Z)({},t.ownerState,o)})}},97427:(e,t,o)=>{function r(e,t=[]){if(void 0===e)return{};const o={};return Object.keys(e).filter((o=>o.match(/^on[A-Z]/)&&"function"==typeof e[o]&&!t.includes(o))).forEach((t=>{o[t]=e[t]})),o}o.d(t,{Z:()=>r})},65444:(e,t,o)=>{function r(e){return"string"==typeof e}o.d(t,{Z:()=>r})},5584:(e,t,o)=>{function r(e,t){return"function"==typeof e?e(t):e}o.d(t,{Z:()=>r})},80876:(e,t,o)=>{o.d(t,{Z:()=>p});var r=o(7896),n=o(31461),a=o(84501),i=o(69917),l=o(6277),s=o(97427);function c(e){if(void 0===e)return{};const t={};return Object.keys(e).filter((t=>!(t.match(/^on[A-Z]/)&&"function"==typeof e[t]))).forEach((o=>{t[o]=e[o]})),t}var d=o(5584);const u=["elementType","externalSlotProps","ownerState"];function p(e){var t;const{elementType:o,externalSlotProps:p,ownerState:f}=e,m=(0,n.Z)(e,u),h=(0,d.Z)(p,f),{props:b,internalRef:v}=function(e){const{getSlotProps:t,additionalProps:o,externalSlotProps:n,externalForwardedProps:a,className:i}=e;if(!t){const e=(0,l.default)(null==a?void 0:a.className,null==n?void 0:n.className,i,null==o?void 0:o.className),t=(0,r.Z)({},null==o?void 0:o.style,null==a?void 0:a.style,null==n?void 0:n.style),s=(0,r.Z)({},o,a,n);return e.length>0&&(s.className=e),Object.keys(t).length>0&&(s.style=t),{props:s,internalRef:void 0}}const d=(0,s.Z)((0,r.Z)({},a,n)),u=c(n),p=c(a),f=t(d),m=(0,l.default)(null==f?void 0:f.className,null==o?void 0:o.className,i,null==a?void 0:a.className,null==n?void 0:n.className),h=(0,r.Z)({},null==f?void 0:f.style,null==o?void 0:o.style,null==a?void 0:a.style,null==n?void 0:n.style),b=(0,r.Z)({},f,o,p,u);return m.length>0&&(b.className=m),Object.keys(h).length>0&&(b.style=h),{props:b,internalRef:f.ref}}((0,r.Z)({},m,{externalSlotProps:h})),g=(0,a.Z)(v,null==h?void 0:h.ref,null==(t=e.additionalProps)?void 0:t.ref);return(0,i.Z)(o,(0,r.Z)({},b,{ref:g}),f)}},88546:(e,t,o)=>{o.d(t,{Z:()=>h});var r=o(31461),n=o(7896),a=o(24328),i=o(6277),l=o(69075),s=o(65992),c=o(43853),d=o(17055),u=o(70436),p=o(52322);const f=["children","className","component","components","componentsProps","invisible","open","slotProps","slots","TransitionComponent","transitionDuration"],m=(0,s.ZP)("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,o.invisible&&t.invisible]}})((({ownerState:e})=>(0,n.Z)({position:"fixed",display:"flex",alignItems:"center",justifyContent:"center",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent"},e.invisible&&{backgroundColor:"transparent"}))),h=a.forwardRef((function(e,t){var o,a,s;const h=(0,c.Z)({props:e,name:"MuiBackdrop"}),{children:b,className:v,component:g="div",components:Z={},componentsProps:y={},invisible:x=!1,open:w,slotProps:S={},slots:k={},TransitionComponent:C=d.Z,transitionDuration:P}=h,R=(0,r.Z)(h,f),E=(0,n.Z)({},h,{component:g,invisible:x}),$=(e=>{const{classes:t,invisible:o}=e,r={root:["root",o&&"invisible"]};return(0,l.Z)(r,u.s,t)})(E),M=null!=(o=S.root)?o:y.root;return(0,p.jsx)(C,(0,n.Z)({in:w,timeout:P},R,{children:(0,p.jsx)(m,(0,n.Z)({"aria-hidden":!0},M,{as:null!=(a=null!=(s=k.root)?s:Z.Root)?a:g,className:(0,i.default)($.root,v,null==M?void 0:M.className),ownerState:(0,n.Z)({},E,null==M?void 0:M.ownerState),classes:$,ref:t,children:b}))}))}))},70436:(e,t,o)=>{o.d(t,{s:()=>a,Z:()=>i});var r=o(69222),n=o(15672);function a(e){return(0,n.Z)("MuiBackdrop",e)}const i=(0,r.Z)("MuiBackdrop",["root","invisible"])},38677:(e,t,o)=>{o.d(t,{Z:()=>w});var r=o(31461),n=o(7896),a=o(24328),i=o(6277),l=o(73022),s=o(69075),c=o(47591),d=o(65992),u=o(43853),p=o(13705),f=o(7342),m=o(58997),h=o(49146),b=o(52322);const v=["children","color","component","className","disabled","disableElevation","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","size","startIcon","type","variant"],g=e=>(0,n.Z)({},"small"===e.size&&{"& > *:nth-of-type(1)":{fontSize:18}},"medium"===e.size&&{"& > *:nth-of-type(1)":{fontSize:20}},"large"===e.size&&{"& > *:nth-of-type(1)":{fontSize:22}}),Z=(0,d.ZP)(p.Z,{shouldForwardProp:e=>(0,d.FO)(e)||"classes"===e,name:"MuiButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,t[o.variant],t[`${o.variant}${(0,f.Z)(o.color)}`],t[`size${(0,f.Z)(o.size)}`],t[`${o.variant}Size${(0,f.Z)(o.size)}`],"inherit"===o.color&&t.colorInherit,o.disableElevation&&t.disableElevation,o.fullWidth&&t.fullWidth]}})((({theme:e,ownerState:t})=>{var o,r;const a="light"===e.palette.mode?e.palette.grey[300]:e.palette.grey[800],i="light"===e.palette.mode?e.palette.grey.A100:e.palette.grey[700];return(0,n.Z)({},e.typography.button,{minWidth:64,padding:"6px 16px",borderRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create(["background-color","box-shadow","border-color","color"],{duration:e.transitions.duration.short}),"&:hover":(0,n.Z)({textDecoration:"none",backgroundColor:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,c.Fq)(e.palette.text.primary,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"text"===t.variant&&"inherit"!==t.color&&{backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,c.Fq)(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"outlined"===t.variant&&"inherit"!==t.color&&{border:`1px solid ${(e.vars||e).palette[t.color].main}`,backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,c.Fq)(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"contained"===t.variant&&{backgroundColor:e.vars?e.vars.palette.Button.inheritContainedHoverBg:i,boxShadow:(e.vars||e).shadows[4],"@media (hover: none)":{boxShadow:(e.vars||e).shadows[2],backgroundColor:(e.vars||e).palette.grey[300]}},"contained"===t.variant&&"inherit"!==t.color&&{backgroundColor:(e.vars||e).palette[t.color].dark,"@media (hover: none)":{backgroundColor:(e.vars||e).palette[t.color].main}}),"&:active":(0,n.Z)({},"contained"===t.variant&&{boxShadow:(e.vars||e).shadows[8]}),[`&.${m.Z.focusVisible}`]:(0,n.Z)({},"contained"===t.variant&&{boxShadow:(e.vars||e).shadows[6]}),[`&.${m.Z.disabled}`]:(0,n.Z)({color:(e.vars||e).palette.action.disabled},"outlined"===t.variant&&{border:`1px solid ${(e.vars||e).palette.action.disabledBackground}`},"contained"===t.variant&&{color:(e.vars||e).palette.action.disabled,boxShadow:(e.vars||e).shadows[0],backgroundColor:(e.vars||e).palette.action.disabledBackground})},"text"===t.variant&&{padding:"6px 8px"},"text"===t.variant&&"inherit"!==t.color&&{color:(e.vars||e).palette[t.color].main},"outlined"===t.variant&&{padding:"5px 15px",border:"1px solid currentColor"},"outlined"===t.variant&&"inherit"!==t.color&&{color:(e.vars||e).palette[t.color].main,border:e.vars?`1px solid rgba(${e.vars.palette[t.color].mainChannel} / 0.5)`:`1px solid ${(0,c.Fq)(e.palette[t.color].main,.5)}`},"contained"===t.variant&&{color:e.vars?e.vars.palette.text.primary:null==(o=(r=e.palette).getContrastText)?void 0:o.call(r,e.palette.grey[300]),backgroundColor:e.vars?e.vars.palette.Button.inheritContainedBg:a,boxShadow:(e.vars||e).shadows[2]},"contained"===t.variant&&"inherit"!==t.color&&{color:(e.vars||e).palette[t.color].contrastText,backgroundColor:(e.vars||e).palette[t.color].main},"inherit"===t.color&&{color:"inherit",borderColor:"currentColor"},"small"===t.size&&"text"===t.variant&&{padding:"4px 5px",fontSize:e.typography.pxToRem(13)},"large"===t.size&&"text"===t.variant&&{padding:"8px 11px",fontSize:e.typography.pxToRem(15)},"small"===t.size&&"outlined"===t.variant&&{padding:"3px 9px",fontSize:e.typography.pxToRem(13)},"large"===t.size&&"outlined"===t.variant&&{padding:"7px 21px",fontSize:e.typography.pxToRem(15)},"small"===t.size&&"contained"===t.variant&&{padding:"4px 10px",fontSize:e.typography.pxToRem(13)},"large"===t.size&&"contained"===t.variant&&{padding:"8px 22px",fontSize:e.typography.pxToRem(15)},t.fullWidth&&{width:"100%"})}),(({ownerState:e})=>e.disableElevation&&{boxShadow:"none","&:hover":{boxShadow:"none"},[`&.${m.Z.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${m.Z.disabled}`]:{boxShadow:"none"}})),y=(0,d.ZP)("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.startIcon,t[`iconSize${(0,f.Z)(o.size)}`]]}})((({ownerState:e})=>(0,n.Z)({display:"inherit",marginRight:8,marginLeft:-4},"small"===e.size&&{marginLeft:-2},g(e)))),x=(0,d.ZP)("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.endIcon,t[`iconSize${(0,f.Z)(o.size)}`]]}})((({ownerState:e})=>(0,n.Z)({display:"inherit",marginRight:-4,marginLeft:8},"small"===e.size&&{marginRight:-2},g(e)))),w=a.forwardRef((function(e,t){const o=a.useContext(h.Z),c=(0,l.Z)(o,e),d=(0,u.Z)({props:c,name:"MuiButton"}),{children:p,color:g="primary",component:w="button",className:S,disabled:k=!1,disableElevation:C=!1,disableFocusRipple:P=!1,endIcon:R,focusVisibleClassName:E,fullWidth:$=!1,size:M="medium",startIcon:O,type:T,variant:I="text"}=d,N=(0,r.Z)(d,v),A=(0,n.Z)({},d,{color:g,component:w,disabled:k,disableElevation:C,disableFocusRipple:P,fullWidth:$,size:M,type:T,variant:I}),j=(e=>{const{color:t,disableElevation:o,fullWidth:r,size:a,variant:i,classes:l}=e,c={root:["root",i,`${i}${(0,f.Z)(t)}`,`size${(0,f.Z)(a)}`,`${i}Size${(0,f.Z)(a)}`,"inherit"===t&&"colorInherit",o&&"disableElevation",r&&"fullWidth"],label:["label"],startIcon:["startIcon",`iconSize${(0,f.Z)(a)}`],endIcon:["endIcon",`iconSize${(0,f.Z)(a)}`]},d=(0,s.Z)(c,m.F,l);return(0,n.Z)({},l,d)})(A),B=O&&(0,b.jsx)(y,{className:j.startIcon,ownerState:A,children:O}),F=R&&(0,b.jsx)(x,{className:j.endIcon,ownerState:A,children:R});return(0,b.jsxs)(Z,(0,n.Z)({ownerState:A,className:(0,i.default)(o.className,j.root,S),component:w,disabled:k,focusRipple:!P,focusVisibleClassName:(0,i.default)(j.focusVisible,E),ref:t,type:T},N,{classes:j,children:[B,p,F]}))}))},58997:(e,t,o)=>{o.d(t,{F:()=>a,Z:()=>i});var r=o(69222),n=o(15672);function a(e){return(0,n.Z)("MuiButton",e)}const i=(0,r.Z)("MuiButton",["root","text","textInherit","textPrimary","textSecondary","textSuccess","textError","textInfo","textWarning","outlined","outlinedInherit","outlinedPrimary","outlinedSecondary","outlinedSuccess","outlinedError","outlinedInfo","outlinedWarning","contained","containedInherit","containedPrimary","containedSecondary","containedSuccess","containedError","containedInfo","containedWarning","disableElevation","focusVisible","disabled","colorInherit","textSizeSmall","textSizeMedium","textSizeLarge","outlinedSizeSmall","outlinedSizeMedium","outlinedSizeLarge","containedSizeSmall","containedSizeMedium","containedSizeLarge","sizeMedium","sizeSmall","sizeLarge","fullWidth","startIcon","endIcon","iconSizeSmall","iconSizeMedium","iconSizeLarge"])},13705:(e,t,o)=>{o.d(t,{Z:()=>T});var r=o(7896),n=o(31461),a=o(24328),i=o(6277),l=o(69075),s=o(65992),c=o(43853),d=o(98659),u=o(78647),p=o(8250),f=o(89789),m=o(46324),h=o(52322);var b=o(15489);const v=["center","classes","className"];let g,Z,y,x,w=e=>e;const S=(0,m.keyframes)(g||(g=w`
|
|
2
|
+
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=(new Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="f818a78b-daaf-4813-a4d6-1a601648254b",e._sentryDebugIdIdentifier="sentry-dbid-f818a78b-daaf-4813-a4d6-1a601648254b")}catch(e){}}();var _global="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};_global.SENTRY_RELEASE={id:"1.4.1602"},(self.webpackChunk_reltio_remotes=self.webpackChunk_reltio_remotes||[]).push([[9470,7896],{25455:(e,t,o)=>{o.d(t,{Z:()=>d});var r=o(24328),n=o(84501),a=o(36855),i=o(52322);const l=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function s(e){const t=[],o=[];return Array.from(e.querySelectorAll(l)).forEach(((e,r)=>{const n=function(e){const t=parseInt(e.getAttribute("tabindex")||"",10);return Number.isNaN(t)?"true"===e.contentEditable||("AUDIO"===e.nodeName||"VIDEO"===e.nodeName||"DETAILS"===e.nodeName)&&null===e.getAttribute("tabindex")?0:e.tabIndex:t}(e);-1!==n&&function(e){return!(e.disabled||"INPUT"===e.tagName&&"hidden"===e.type||function(e){if("INPUT"!==e.tagName||"radio"!==e.type)return!1;if(!e.name)return!1;const t=t=>e.ownerDocument.querySelector(`input[type="radio"]${t}`);let o=t(`[name="${e.name}"]:checked`);return o||(o=t(`[name="${e.name}"]`)),o!==e}(e))}(e)&&(0===n?t.push(e):o.push({documentOrder:r,tabIndex:n,node:e}))})),o.sort(((e,t)=>e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex)).map((e=>e.node)).concat(t)}function c(){return!0}const d=function(e){const{children:t,disableAutoFocus:o=!1,disableEnforceFocus:l=!1,disableRestoreFocus:d=!1,getTabbable:u=s,isEnabled:p=c,open:f}=e,m=r.useRef(!1),h=r.useRef(null),b=r.useRef(null),v=r.useRef(null),g=r.useRef(null),Z=r.useRef(!1),y=r.useRef(null),x=(0,n.Z)(t.ref,y),w=r.useRef(null);r.useEffect((()=>{f&&y.current&&(Z.current=!o)}),[o,f]),r.useEffect((()=>{if(!f||!y.current)return;const e=(0,a.Z)(y.current);return y.current.contains(e.activeElement)||(y.current.hasAttribute("tabIndex")||y.current.setAttribute("tabIndex","-1"),Z.current&&y.current.focus()),()=>{d||(v.current&&v.current.focus&&(m.current=!0,v.current.focus()),v.current=null)}}),[f]),r.useEffect((()=>{if(!f||!y.current)return;const e=(0,a.Z)(y.current),t=t=>{const{current:o}=y;if(null!==o)if(e.hasFocus()&&!l&&p()&&!m.current){if(!o.contains(e.activeElement)){if(t&&g.current!==t.target||e.activeElement!==g.current)g.current=null;else if(null!==g.current)return;if(!Z.current)return;let a=[];if(e.activeElement!==h.current&&e.activeElement!==b.current||(a=u(y.current)),a.length>0){var r,n;const e=Boolean((null==(r=w.current)?void 0:r.shiftKey)&&"Tab"===(null==(n=w.current)?void 0:n.key)),t=a[0],o=a[a.length-1];"string"!=typeof t&&"string"!=typeof o&&(e?o.focus():t.focus())}else o.focus()}}else m.current=!1},o=t=>{w.current=t,!l&&p()&&"Tab"===t.key&&e.activeElement===y.current&&t.shiftKey&&(m.current=!0,b.current&&b.current.focus())};e.addEventListener("focusin",t),e.addEventListener("keydown",o,!0);const r=setInterval((()=>{e.activeElement&&"BODY"===e.activeElement.tagName&&t(null)}),50);return()=>{clearInterval(r),e.removeEventListener("focusin",t),e.removeEventListener("keydown",o,!0)}}),[o,l,d,p,f,u]);const S=e=>{null===v.current&&(v.current=e.relatedTarget),Z.current=!0};return(0,i.jsxs)(r.Fragment,{children:[(0,i.jsx)("div",{tabIndex:f?0:-1,onFocus:S,ref:h,"data-testid":"sentinelStart"}),r.cloneElement(t,{ref:x,onFocus:e=>{null===v.current&&(v.current=e.relatedTarget),Z.current=!0,g.current=e.target;const o=t.props.onFocus;o&&o(e)}}),(0,i.jsx)("div",{tabIndex:f?0:-1,onFocus:S,ref:b,"data-testid":"sentinelEnd"})]})}},41622:(e,t,o)=>{o.d(t,{G:()=>i,Z:()=>d});var r=o(36855),n=o(27270),a=o(41626);function i(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function l(e){return parseInt((0,n.Z)(e).getComputedStyle(e).paddingRight,10)||0}function s(e,t,o,r,n){const a=[t,o,...r];[].forEach.call(e.children,(e=>{const t=-1===a.indexOf(e),o=!function(e){const t=-1!==["TEMPLATE","SCRIPT","STYLE","LINK","MAP","META","NOSCRIPT","PICTURE","COL","COLGROUP","PARAM","SLOT","SOURCE","TRACK"].indexOf(e.tagName),o="INPUT"===e.tagName&&"hidden"===e.getAttribute("type");return t||o}(e);t&&o&&i(e,n)}))}function c(e,t){let o=-1;return e.some(((e,r)=>!!t(e)&&(o=r,!0))),o}class d{constructor(){this.containers=void 0,this.modals=void 0,this.modals=[],this.containers=[]}add(e,t){let o=this.modals.indexOf(e);if(-1!==o)return o;o=this.modals.length,this.modals.push(e),e.modalRef&&i(e.modalRef,!1);const r=function(e){const t=[];return[].forEach.call(e.children,(e=>{"true"===e.getAttribute("aria-hidden")&&t.push(e)})),t}(t);s(t,e.mount,e.modalRef,r,!0);const n=c(this.containers,(e=>e.container===t));return-1!==n?(this.containers[n].modals.push(e),o):(this.containers.push({modals:[e],container:t,restore:null,hiddenSiblings:r}),o)}mount(e,t){const o=c(this.containers,(t=>-1!==t.modals.indexOf(e))),i=this.containers[o];i.restore||(i.restore=function(e,t){const o=[],i=e.container;if(!t.disableScrollLock){if(function(e){const t=(0,r.Z)(e);return t.body===e?(0,n.Z)(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}(i)){const e=(0,a.Z)((0,r.Z)(i));o.push({value:i.style.paddingRight,property:"padding-right",el:i}),i.style.paddingRight=`${l(i)+e}px`;const t=(0,r.Z)(i).querySelectorAll(".mui-fixed");[].forEach.call(t,(t=>{o.push({value:t.style.paddingRight,property:"padding-right",el:t}),t.style.paddingRight=`${l(t)+e}px`}))}let e;if(i.parentNode instanceof DocumentFragment)e=(0,r.Z)(i).body;else{const t=i.parentElement,o=(0,n.Z)(i);e="HTML"===(null==t?void 0:t.nodeName)&&"scroll"===o.getComputedStyle(t).overflowY?t:i}o.push({value:e.style.overflow,property:"overflow",el:e},{value:e.style.overflowX,property:"overflow-x",el:e},{value:e.style.overflowY,property:"overflow-y",el:e}),e.style.overflow="hidden"}return()=>{o.forEach((({value:e,el:t,property:o})=>{e?t.style.setProperty(o,e):t.style.removeProperty(o)}))}}(i,t))}remove(e,t=!0){const o=this.modals.indexOf(e);if(-1===o)return o;const r=c(this.containers,(t=>-1!==t.modals.indexOf(e))),n=this.containers[r];if(n.modals.splice(n.modals.indexOf(e),1),this.modals.splice(o,1),0===n.modals.length)n.restore&&n.restore(),e.modalRef&&i(e.modalRef,t),s(n.container,e.mount,e.modalRef,n.hiddenSiblings,!1),this.containers.splice(r,1);else{const e=n.modals[n.modals.length-1];e.modalRef&&i(e.modalRef,!1)}return o}isTopModal(e){return this.modals.length>0&&this.modals[this.modals.length-1]===e}}},83820:(e,t,o)=>{o.d(t,{Z:()=>c});var r=o(24328),n=o(75047),a=o(84501),i=o(21399),l=o(75377),s=o(52322);const c=r.forwardRef((function(e,t){const{children:o,container:c,disablePortal:d=!1}=e,[u,p]=r.useState(null),f=(0,a.Z)(r.isValidElement(o)?o.ref:null,t);if((0,i.Z)((()=>{d||p(function(e){return"function"==typeof e?e():e}(c)||document.body)}),[c,d]),(0,i.Z)((()=>{if(u&&!d)return(0,l.Z)(t,u),()=>{(0,l.Z)(t,null)}}),[t,u,d]),d){if(r.isValidElement(o)){const e={ref:f};return r.cloneElement(o,e)}return(0,s.jsx)(r.Fragment,{children:o})}return(0,s.jsx)(r.Fragment,{children:u?n.createPortal(o,u):u})}))},73570:(e,t,o)=>{o.d(t,{Z:()=>b});var r=o(7896),n=o(31461),a=o(24328),i=o(75047),l=o(84501),s=o(27270),c=o(71166),d=o(21399),u=o(52322);const p=["onChange","maxRows","minRows","style","value"];function f(e){return parseInt(e,10)||0}const m={visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"};function h(e){return null==e||0===Object.keys(e).length||0===e.outerHeightStyle&&!e.overflow}const b=a.forwardRef((function(e,t){const{onChange:o,maxRows:b,minRows:v=1,style:g,value:Z}=e,y=(0,n.Z)(e,p),{current:x}=a.useRef(null!=Z),w=a.useRef(null),S=(0,l.Z)(t,w),k=a.useRef(null),C=a.useRef(0),[P,R]=a.useState({outerHeightStyle:0}),E=a.useCallback((()=>{const t=w.current,o=(0,s.Z)(t).getComputedStyle(t);if("0px"===o.width)return{outerHeightStyle:0};const r=k.current;r.style.width=o.width,r.value=t.value||e.placeholder||"x","\n"===r.value.slice(-1)&&(r.value+=" ");const n=o.boxSizing,a=f(o.paddingBottom)+f(o.paddingTop),i=f(o.borderBottomWidth)+f(o.borderTopWidth),l=r.scrollHeight;r.value="x";const c=r.scrollHeight;let d=l;return v&&(d=Math.max(Number(v)*c,d)),b&&(d=Math.min(Number(b)*c,d)),d=Math.max(d,c),{outerHeightStyle:d+("border-box"===n?a+i:0),overflow:Math.abs(d-l)<=1}}),[b,v,e.placeholder]),$=(e,t)=>{const{outerHeightStyle:o,overflow:r}=t;return C.current<20&&(o>0&&Math.abs((e.outerHeightStyle||0)-o)>1||e.overflow!==r)?(C.current+=1,{overflow:r,outerHeightStyle:o}):e},M=a.useCallback((()=>{const e=E();h(e)||R((t=>$(t,e)))}),[E]);return a.useEffect((()=>{const e=(0,c.Z)((()=>{C.current=0,w.current&&(()=>{const e=E();h(e)||i.flushSync((()=>{R((t=>$(t,e)))}))})()}));let t;const o=w.current,r=(0,s.Z)(o);return r.addEventListener("resize",e),"undefined"!=typeof ResizeObserver&&(t=new ResizeObserver(e),t.observe(o)),()=>{e.clear(),r.removeEventListener("resize",e),t&&t.disconnect()}})),(0,d.Z)((()=>{M()})),a.useEffect((()=>{C.current=0}),[Z]),(0,u.jsxs)(a.Fragment,{children:[(0,u.jsx)("textarea",(0,r.Z)({value:Z,onChange:e=>{C.current=0,x||M(),o&&o(e)},ref:S,rows:v,style:(0,r.Z)({height:P.outerHeightStyle,overflow:P.overflow?"hidden":void 0},g)},y)),(0,u.jsx)("textarea",{"aria-hidden":!0,className:e.className,readOnly:!0,ref:k,tabIndex:-1,style:(0,r.Z)({},m,g,{padding:0})})]})}))},49161:(e,t,o)=>{o.d(t,{T:()=>i});var r=o(24328);o(52322);const n={disableDefaultClasses:!1},a=r.createContext(n);function i(e){const{disableDefaultClasses:t}=r.useContext(a);return o=>t?"":e(o)}},69917:(e,t,o)=>{o.d(t,{Z:()=>a});var r=o(7896),n=o(65444);function a(e,t,o){return void 0===e||(0,n.Z)(e)?t:(0,r.Z)({},t,{ownerState:(0,r.Z)({},t.ownerState,o)})}},97427:(e,t,o)=>{function r(e,t=[]){if(void 0===e)return{};const o={};return Object.keys(e).filter((o=>o.match(/^on[A-Z]/)&&"function"==typeof e[o]&&!t.includes(o))).forEach((t=>{o[t]=e[t]})),o}o.d(t,{Z:()=>r})},65444:(e,t,o)=>{function r(e){return"string"==typeof e}o.d(t,{Z:()=>r})},5584:(e,t,o)=>{function r(e,t){return"function"==typeof e?e(t):e}o.d(t,{Z:()=>r})},80876:(e,t,o)=>{o.d(t,{Z:()=>p});var r=o(7896),n=o(31461),a=o(84501),i=o(69917),l=o(6277),s=o(97427);function c(e){if(void 0===e)return{};const t={};return Object.keys(e).filter((t=>!(t.match(/^on[A-Z]/)&&"function"==typeof e[t]))).forEach((o=>{t[o]=e[o]})),t}var d=o(5584);const u=["elementType","externalSlotProps","ownerState"];function p(e){var t;const{elementType:o,externalSlotProps:p,ownerState:f}=e,m=(0,n.Z)(e,u),h=(0,d.Z)(p,f),{props:b,internalRef:v}=function(e){const{getSlotProps:t,additionalProps:o,externalSlotProps:n,externalForwardedProps:a,className:i}=e;if(!t){const e=(0,l.default)(null==a?void 0:a.className,null==n?void 0:n.className,i,null==o?void 0:o.className),t=(0,r.Z)({},null==o?void 0:o.style,null==a?void 0:a.style,null==n?void 0:n.style),s=(0,r.Z)({},o,a,n);return e.length>0&&(s.className=e),Object.keys(t).length>0&&(s.style=t),{props:s,internalRef:void 0}}const d=(0,s.Z)((0,r.Z)({},a,n)),u=c(n),p=c(a),f=t(d),m=(0,l.default)(null==f?void 0:f.className,null==o?void 0:o.className,i,null==a?void 0:a.className,null==n?void 0:n.className),h=(0,r.Z)({},null==f?void 0:f.style,null==o?void 0:o.style,null==a?void 0:a.style,null==n?void 0:n.style),b=(0,r.Z)({},f,o,p,u);return m.length>0&&(b.className=m),Object.keys(h).length>0&&(b.style=h),{props:b,internalRef:f.ref}}((0,r.Z)({},m,{externalSlotProps:h})),g=(0,a.Z)(v,null==h?void 0:h.ref,null==(t=e.additionalProps)?void 0:t.ref);return(0,i.Z)(o,(0,r.Z)({},b,{ref:g}),f)}},88546:(e,t,o)=>{o.d(t,{Z:()=>h});var r=o(31461),n=o(7896),a=o(24328),i=o(6277),l=o(69075),s=o(65992),c=o(43853),d=o(17055),u=o(70436),p=o(52322);const f=["children","className","component","components","componentsProps","invisible","open","slotProps","slots","TransitionComponent","transitionDuration"],m=(0,s.ZP)("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,o.invisible&&t.invisible]}})((({ownerState:e})=>(0,n.Z)({position:"fixed",display:"flex",alignItems:"center",justifyContent:"center",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent"},e.invisible&&{backgroundColor:"transparent"}))),h=a.forwardRef((function(e,t){var o,a,s;const h=(0,c.Z)({props:e,name:"MuiBackdrop"}),{children:b,className:v,component:g="div",components:Z={},componentsProps:y={},invisible:x=!1,open:w,slotProps:S={},slots:k={},TransitionComponent:C=d.Z,transitionDuration:P}=h,R=(0,r.Z)(h,f),E=(0,n.Z)({},h,{component:g,invisible:x}),$=(e=>{const{classes:t,invisible:o}=e,r={root:["root",o&&"invisible"]};return(0,l.Z)(r,u.s,t)})(E),M=null!=(o=S.root)?o:y.root;return(0,p.jsx)(C,(0,n.Z)({in:w,timeout:P},R,{children:(0,p.jsx)(m,(0,n.Z)({"aria-hidden":!0},M,{as:null!=(a=null!=(s=k.root)?s:Z.Root)?a:g,className:(0,i.default)($.root,v,null==M?void 0:M.className),ownerState:(0,n.Z)({},E,null==M?void 0:M.ownerState),classes:$,ref:t,children:b}))}))}))},70436:(e,t,o)=>{o.d(t,{s:()=>a,Z:()=>i});var r=o(69222),n=o(15672);function a(e){return(0,n.Z)("MuiBackdrop",e)}const i=(0,r.Z)("MuiBackdrop",["root","invisible"])},38677:(e,t,o)=>{o.d(t,{Z:()=>w});var r=o(31461),n=o(7896),a=o(24328),i=o(6277),l=o(73022),s=o(69075),c=o(47591),d=o(65992),u=o(43853),p=o(13705),f=o(7342),m=o(58997),h=o(49146),b=o(52322);const v=["children","color","component","className","disabled","disableElevation","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","size","startIcon","type","variant"],g=e=>(0,n.Z)({},"small"===e.size&&{"& > *:nth-of-type(1)":{fontSize:18}},"medium"===e.size&&{"& > *:nth-of-type(1)":{fontSize:20}},"large"===e.size&&{"& > *:nth-of-type(1)":{fontSize:22}}),Z=(0,d.ZP)(p.Z,{shouldForwardProp:e=>(0,d.FO)(e)||"classes"===e,name:"MuiButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,t[o.variant],t[`${o.variant}${(0,f.Z)(o.color)}`],t[`size${(0,f.Z)(o.size)}`],t[`${o.variant}Size${(0,f.Z)(o.size)}`],"inherit"===o.color&&t.colorInherit,o.disableElevation&&t.disableElevation,o.fullWidth&&t.fullWidth]}})((({theme:e,ownerState:t})=>{var o,r;const a="light"===e.palette.mode?e.palette.grey[300]:e.palette.grey[800],i="light"===e.palette.mode?e.palette.grey.A100:e.palette.grey[700];return(0,n.Z)({},e.typography.button,{minWidth:64,padding:"6px 16px",borderRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create(["background-color","box-shadow","border-color","color"],{duration:e.transitions.duration.short}),"&:hover":(0,n.Z)({textDecoration:"none",backgroundColor:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,c.Fq)(e.palette.text.primary,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"text"===t.variant&&"inherit"!==t.color&&{backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,c.Fq)(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"outlined"===t.variant&&"inherit"!==t.color&&{border:`1px solid ${(e.vars||e).palette[t.color].main}`,backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,c.Fq)(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"contained"===t.variant&&{backgroundColor:e.vars?e.vars.palette.Button.inheritContainedHoverBg:i,boxShadow:(e.vars||e).shadows[4],"@media (hover: none)":{boxShadow:(e.vars||e).shadows[2],backgroundColor:(e.vars||e).palette.grey[300]}},"contained"===t.variant&&"inherit"!==t.color&&{backgroundColor:(e.vars||e).palette[t.color].dark,"@media (hover: none)":{backgroundColor:(e.vars||e).palette[t.color].main}}),"&:active":(0,n.Z)({},"contained"===t.variant&&{boxShadow:(e.vars||e).shadows[8]}),[`&.${m.Z.focusVisible}`]:(0,n.Z)({},"contained"===t.variant&&{boxShadow:(e.vars||e).shadows[6]}),[`&.${m.Z.disabled}`]:(0,n.Z)({color:(e.vars||e).palette.action.disabled},"outlined"===t.variant&&{border:`1px solid ${(e.vars||e).palette.action.disabledBackground}`},"contained"===t.variant&&{color:(e.vars||e).palette.action.disabled,boxShadow:(e.vars||e).shadows[0],backgroundColor:(e.vars||e).palette.action.disabledBackground})},"text"===t.variant&&{padding:"6px 8px"},"text"===t.variant&&"inherit"!==t.color&&{color:(e.vars||e).palette[t.color].main},"outlined"===t.variant&&{padding:"5px 15px",border:"1px solid currentColor"},"outlined"===t.variant&&"inherit"!==t.color&&{color:(e.vars||e).palette[t.color].main,border:e.vars?`1px solid rgba(${e.vars.palette[t.color].mainChannel} / 0.5)`:`1px solid ${(0,c.Fq)(e.palette[t.color].main,.5)}`},"contained"===t.variant&&{color:e.vars?e.vars.palette.text.primary:null==(o=(r=e.palette).getContrastText)?void 0:o.call(r,e.palette.grey[300]),backgroundColor:e.vars?e.vars.palette.Button.inheritContainedBg:a,boxShadow:(e.vars||e).shadows[2]},"contained"===t.variant&&"inherit"!==t.color&&{color:(e.vars||e).palette[t.color].contrastText,backgroundColor:(e.vars||e).palette[t.color].main},"inherit"===t.color&&{color:"inherit",borderColor:"currentColor"},"small"===t.size&&"text"===t.variant&&{padding:"4px 5px",fontSize:e.typography.pxToRem(13)},"large"===t.size&&"text"===t.variant&&{padding:"8px 11px",fontSize:e.typography.pxToRem(15)},"small"===t.size&&"outlined"===t.variant&&{padding:"3px 9px",fontSize:e.typography.pxToRem(13)},"large"===t.size&&"outlined"===t.variant&&{padding:"7px 21px",fontSize:e.typography.pxToRem(15)},"small"===t.size&&"contained"===t.variant&&{padding:"4px 10px",fontSize:e.typography.pxToRem(13)},"large"===t.size&&"contained"===t.variant&&{padding:"8px 22px",fontSize:e.typography.pxToRem(15)},t.fullWidth&&{width:"100%"})}),(({ownerState:e})=>e.disableElevation&&{boxShadow:"none","&:hover":{boxShadow:"none"},[`&.${m.Z.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${m.Z.disabled}`]:{boxShadow:"none"}})),y=(0,d.ZP)("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.startIcon,t[`iconSize${(0,f.Z)(o.size)}`]]}})((({ownerState:e})=>(0,n.Z)({display:"inherit",marginRight:8,marginLeft:-4},"small"===e.size&&{marginLeft:-2},g(e)))),x=(0,d.ZP)("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.endIcon,t[`iconSize${(0,f.Z)(o.size)}`]]}})((({ownerState:e})=>(0,n.Z)({display:"inherit",marginRight:-4,marginLeft:8},"small"===e.size&&{marginRight:-2},g(e)))),w=a.forwardRef((function(e,t){const o=a.useContext(h.Z),c=(0,l.Z)(o,e),d=(0,u.Z)({props:c,name:"MuiButton"}),{children:p,color:g="primary",component:w="button",className:S,disabled:k=!1,disableElevation:C=!1,disableFocusRipple:P=!1,endIcon:R,focusVisibleClassName:E,fullWidth:$=!1,size:M="medium",startIcon:O,type:T,variant:I="text"}=d,N=(0,r.Z)(d,v),A=(0,n.Z)({},d,{color:g,component:w,disabled:k,disableElevation:C,disableFocusRipple:P,fullWidth:$,size:M,type:T,variant:I}),j=(e=>{const{color:t,disableElevation:o,fullWidth:r,size:a,variant:i,classes:l}=e,c={root:["root",i,`${i}${(0,f.Z)(t)}`,`size${(0,f.Z)(a)}`,`${i}Size${(0,f.Z)(a)}`,"inherit"===t&&"colorInherit",o&&"disableElevation",r&&"fullWidth"],label:["label"],startIcon:["startIcon",`iconSize${(0,f.Z)(a)}`],endIcon:["endIcon",`iconSize${(0,f.Z)(a)}`]},d=(0,s.Z)(c,m.F,l);return(0,n.Z)({},l,d)})(A),B=O&&(0,b.jsx)(y,{className:j.startIcon,ownerState:A,children:O}),F=R&&(0,b.jsx)(x,{className:j.endIcon,ownerState:A,children:R});return(0,b.jsxs)(Z,(0,n.Z)({ownerState:A,className:(0,i.default)(o.className,j.root,S),component:w,disabled:k,focusRipple:!P,focusVisibleClassName:(0,i.default)(j.focusVisible,E),ref:t,type:T},N,{classes:j,children:[B,p,F]}))}))},58997:(e,t,o)=>{o.d(t,{F:()=>a,Z:()=>i});var r=o(69222),n=o(15672);function a(e){return(0,n.Z)("MuiButton",e)}const i=(0,r.Z)("MuiButton",["root","text","textInherit","textPrimary","textSecondary","textSuccess","textError","textInfo","textWarning","outlined","outlinedInherit","outlinedPrimary","outlinedSecondary","outlinedSuccess","outlinedError","outlinedInfo","outlinedWarning","contained","containedInherit","containedPrimary","containedSecondary","containedSuccess","containedError","containedInfo","containedWarning","disableElevation","focusVisible","disabled","colorInherit","textSizeSmall","textSizeMedium","textSizeLarge","outlinedSizeSmall","outlinedSizeMedium","outlinedSizeLarge","containedSizeSmall","containedSizeMedium","containedSizeLarge","sizeMedium","sizeSmall","sizeLarge","fullWidth","startIcon","endIcon","iconSizeSmall","iconSizeMedium","iconSizeLarge"])},13705:(e,t,o)=>{o.d(t,{Z:()=>T});var r=o(7896),n=o(31461),a=o(24328),i=o(6277),l=o(69075),s=o(65992),c=o(43853),d=o(98659),u=o(78647),p=o(8250),f=o(89789),m=o(46324),h=o(52322);var b=o(15489);const v=["center","classes","className"];let g,Z,y,x,w=e=>e;const S=(0,m.keyframes)(g||(g=w`
|
|
3
3
|
0% {
|
|
4
4
|
transform: scale(0);
|
|
5
5
|
opacity: 0.1;
|