@reltio/remotes 1.4.1612 → 1.4.1613
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/1572.js +1 -1
- 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/1925.js +1 -1
- package/1946.js +1 -1
- package/2049.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/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/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/4481.js +1 -1
- package/4703.js +1 -1
- package/4780.js +1 -1
- package/4788.js +1 -1
- package/4806.js +1 -1
- package/4826.js +1 -1
- package/50.js +1 -1
- package/5053.js +1 -1
- package/5108.js +1 -1
- package/5163.js +1 -1
- package/5171.js +1 -1
- package/5225.js +1 -1
- package/527.js +1 -1
- package/5617.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/6844.js +1 -1
- package/6853.js +1 -1
- package/6860.js +1 -1
- package/6890.js +1 -1
- package/6903.js +1 -1
- package/7293.js +1 -1
- package/735.js +1 -1
- package/7422.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/8360.js.map +1 -1
- package/8565.js +1 -1
- package/8741.js +1 -1
- package/9016.js +1 -1
- package/9283.js +1 -1
- package/9309.js +1 -1
- package/9328.js +1 -1
- package/9387.js +1 -1
- package/9397.js +1 -1
- package/9719.js +1 -1
- package/9736.js +1 -1
- package/9861.js +1 -1
- package/987.js +1 -1
- package/9898.js +1 -1
- package/9960.js +1 -1
- package/main.js +1 -1
- package/package.json +1 -1
- package/remoteEntry.js +1 -1
package/8565.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},d=(new Error).stack;d&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[d]="28d798cc-daf8-4ef2-a309-f2707af79438",e._sentryDebugIdIdentifier="sentry-dbid-28d798cc-daf8-4ef2-a309-f2707af79438")}catch(e){}}();var _global="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};_global.SENTRY_RELEASE={id:"1.4.
|
|
1
|
+
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},d=(new Error).stack;d&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[d]="28d798cc-daf8-4ef2-a309-f2707af79438",e._sentryDebugIdIdentifier="sentry-dbid-28d798cc-daf8-4ef2-a309-f2707af79438")}catch(e){}}();var _global="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};_global.SENTRY_RELEASE={id:"1.4.1614"},(self.webpackChunk_reltio_remotes=self.webpackChunk_reltio_remotes||[]).push([[8565],{48862:(e,d,f)=>{f.r(d),f.d(d,{default:()=>n});const n=f(5163)._n}}]);
|
|
2
2
|
//# sourceMappingURL=8565.js.map
|
package/8741.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]="eda5ece5-f543-4488-9870-6c2629d17158",e._sentryDebugIdIdentifier="sentry-dbid-eda5ece5-f543-4488-9870-6c2629d17158")}catch(e){}}();var _global="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};_global.SENTRY_RELEASE={id:"1.4.1613"},(self.webpackChunk_reltio_remotes=self.webpackChunk_reltio_remotes||[]).push([[8741],{14625:(e,t,r)=>{r.d(t,{Z:()=>u});var n=r(24328),o=r.n(n),l=r(52730),i=r(50673),a=r(28045),s=r(42639);const c=(0,r(72342).makeStyles)({icon:{maxHeight:"25px",maxWidth:"25px",marginRight:"16px"}}),u=e=>{let{group:t,metadata:r}=e;const n=c(),u=(0,l.useSelector)(i.ZP.selectors.getAbsoluteImagePath),d=(0,a.XH8)(r,{type:t.id}),p=(0,a.vPL)(u,d);return o().createElement(s.Z,{className:n.icon,icon:p,avatarText:t.title[0]})}},12933:(e,t,r)=>{r.d(t,{Z:()=>V});var n=r(24328),o=r.n(n),l=r(2507),i=r.n(l),a=r(71153),s=r.n(a),c=r(50914),u=r(22311),d=r(26638),p=r(65643),m=r(40007),f=r(40435),b=r(72342);const h=(0,b.makeStyles)({attribute:{cursor:"pointer",lineHeight:"16px",flexBasis:"100%",display:"flex",alignItems:"center",padding:"0 10px 0 16px",width:"calc(100% - 32px)","&$attributeWithValue":{borderBottom:"1px solid rgba(0,0,0,0.38)"},"&$disabled":{cursor:"default"}},disabled:{},attributeWithValue:{},noSelect:{},name:{fontSize:"14px",color:"rgba(0,0,0,0.87)",overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",direction:"rtl",textAlign:"left",flex:"1 0",width:"0","& $noSelect":{color:"rgba(0,0,0,0.38)"},"&$disabled":{color:"rgba(0,0,0,0.26)","& $noSelect":{color:"rgba(0,0,0,0.26)"}}}}),g=(0,c.either)((0,c.prop)("title"),(0,c.prop)("fieldName")),y=e=>{let{value:t,getLabel:r=g,onSelectAttributeClick:n,disabled:l=!1}=e;const a=h(),c=t&&r(t);return o().createElement("div",{onClick:l?void 0:n,className:s()(a.attribute,{[a.attributeWithValue]:!!c},{[a.disabled]:l})},o().createElement(m.Z,{value:c},o().createElement("div",{className:s()(a.name,{[a.disabled]:l})},c||o().createElement("span",{className:a.noSelect},i().text("Select attribute")))),o().createElement(f.Z,{size:"M",icon:p.Z,disabled:l}))};var x=r(28045);function w(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){v(e,t,r[t])}))}return e}function v(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const O=(0,c.eqBy)((0,c.pick)(["fieldName","uri","entityTypeUri"])),C=(e,t)=>t&&!!t.find(O(e)),S=(e,t)=>e.title.toLowerCase().includes(t.toLowerCase()),I=(e,t)=>S(e,t)||(e.children||[]).some((e=>I(e,t))),E=(e,t)=>e.findIndex(O(t)),k=(0,x.fW1)("title"),P=function(e,t,r,n){let o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,l=arguments.length>5&&void 0!==arguments[5]&&arguments[5];const i=S(e,n);return[{item:n?w({},e,{filterText:n}):e,level:o,groupId:t,groupName:r}].concat(e.children?e.children.filter((e=>l||i||I(e,n))).flatMap((e=>P(e,t,r,n,o+1,l||i))):[]).flat()},j=(0,c.curry)(((e,t)=>t.map((t=>({item:t,items:t.attributes.filter((t=>I(t,e))).map((r=>P(r,t.id,t.title,e)))}))).filter((e=>e.items.length))));var T=r(52730),N=r(35488),R=r(50673),L=r(33117),Z=r(63485),D=r(94792),A=r(14625);const F=(0,b.makeStyles)({subHeader:{backgroundColor:"#f5f5f5",padding:"0 16px",margin:0,display:"flex",alignItems:"center",color:"rgba(0,0,0,0.84)",fontSize:"14px",fontWeight:500}});function B(){return B=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},B.apply(this,arguments)}function W(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){$(e,t,r[t])}))}return e}function $(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const z=(0,n.memo)((e=>{let{selectedAttributes:t,onItemClick:r,focusIndex:n,hideCheckBox:l}=e,i=function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},l=Object.keys(e);for(n=0;n<l.length;n++)r=l[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(n=0;n<l.length;n++)r=l[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(e,["selectedAttributes","onItemClick","focusIndex","hideCheckBox"]);const a=F(),s=(0,T.useSelector)(R.ZP.selectors.getMetadata);return o().createElement(Z.Z,B({getItemSize:(e,t)=>t.items?40:28,renderItem:(e,i,a)=>{let{item:s,level:c,groupId:u,groupName:d}=i;const p=C(s,t),m=a===n;return o().createElement(L.Z,{key:`item-${u}-${s.fieldName}`,onClick:r,checked:p,data:W({},s,{groupName:d}),notSelectable:s.notSelectable,hideCheckBox:l,label:o().createElement(D.Z,{text:s.title,highlight:s.filterText}),labelInText:s.title,level:c,style:e,isFocused:m,groupId:u,LogoIcon:s.LogoIcon})},renderGroupTitle:(e,t)=>o().createElement(N.ZP,{component:"div",className:a.subHeader,style:e,key:`group-${t.item.id}`},t.item.needGroupIcon&&o().createElement(A.Z,{group:t.item,metadata:s}),t.item.title),focusIndex:n},i))}));var M=r(41008);const H=(0,b.makeStyles)({selector:{minWidth:"200px",alignItems:"stretch",background:"rgba(0,0,0, 0.0267)",boxSizing:"border-box",borderRadius:"4px",display:"flex"}}),V=(0,n.memo)((e=>{let{className:t,itemsGroups:r,value:l,getLabel:a,onSelect:p,onRestoreFocus:m=c.identity,onOpenPopup:f=c.identity,disableRestoreFocus:b=!1,disableEnforceFocus:h=!1,single:g=!1,ungroup:x=!1,disabled:v=!1,hideCheckBox:S=!1}=e;const I=H(),[P,T]=(0,n.useState)(null),N=(0,n.useCallback)((()=>T(null)),[]),R=!!P,[L,Z]=(0,n.useState)(""),D=(0,n.useCallback)((()=>Z("")),[]),[A,F]=(0,n.useState)([]),B=(0,n.useCallback)((()=>F([])),[]),W=(0,n.useMemo)((()=>j(L,r)),[r,L]),$=(0,n.useMemo)((()=>(0,c.pipe)((0,c.when)((0,c.always)(x),(0,c.chain)((0,c.pipe)((0,c.prop)("items"),c.flatten,(0,c.map)((0,c.pick)(["item","level"]))))),M.LG)(W)),[x,W]),V=(0,n.useMemo)((()=>Math.max(k(W),308)),[W]),_=(0,c.pipe)((0,c.tap)((0,c.pipe)(B,D,N)),m),G=(0,n.useRef)(),U=(0,n.useCallback)(((e,t)=>{p({checked:t,attribute:e,index:t?A.length:E(A,e),selectedAttributes:A}),g?(F(t?[e]:[]),_({})):(F((e=>{let{attribute:t,selectedAttributes:r,checked:n}=e;return n?r.concat(t):r.filter((e=>!O(t,e)))})({selectedAttributes:A,attribute:e,checked:t})),G.current&&G.current.focus())}),[A,p,g,_,G]),K=(0,n.useCallback)((e=>{let{onListItemClick:t,selectedAttributes:r}=e;return e=>{let{item:n,groupData:o}=e;const l=C(n,r);t(w({},n,{groupName:o.groupName}),!l)}})({onListItemClick:U,selectedAttributes:A}),[U,A]),{focusIndex:X,handleKeyDown:q}=(0,d.t)({items:$,open:R,onSelectFocusedItem:K,selectedItems:A,onClose:_});return o().createElement("div",{className:s()(I.selector,t),"data-reltio-id":"attribute-selector"},o().createElement(y,{value:l,getLabel:a,onSelectAttributeClick:e=>{f(),T(e.currentTarget)},disabled:v}),o().createElement(u.Z,{open:R,anchorEl:P,onClose:_,onSearch:Z,title:i().text("Select attribute"),containerWidth:V,containerHeight:507,searchInputOnKeyDown:q,anchorOrigin:{horizontal:"right",vertical:"bottom"},searchInputRef:G,disableRestoreFocus:b,disableEnforceFocus:h},o().createElement(z,{items:$,onItemClick:U,selectedAttributes:A,width:V,height:400,focusIndex:X,hideCheckBox:S})))}))},91431:(e,t,r)=>{r.d(t,{Z:()=>m});var n=r(24328),o=r.n(n),l=r(13980),i=r.n(l),a=r(3073),s=r(28831),c=r(71153),u=r.n(c);const d=(0,r(72342).makeStyles)((()=>({hidden:{visibility:"hidden"}}))),p=e=>{let{rowIndex:t,rowValue:r,className:l}=e;const i=d(),{toggleRowCollapse:c,getIsRowCollapsible:p,getIsRowCollapsed:m}=(0,n.useContext)(a.x),f=p(r),b=m(t);return o().createElement(s.Z,{className:u()(l,{[i.hidden]:!f}),isOpen:!b,onClick:e=>{c(t),e.stopPropagation()}})};p.propTypes={rowIndex:i().number,rowValue:i().object,className:i().string};const m=p},89902:(e,t,r)=>{r.d(t,{Z:()=>u});var n=r(24328),o=r.n(n),l=r(71153),i=r.n(l),a=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,a.is)(Number,e),u=e=>{let{className:t,width:r=0,maxWidth:l}=e;const a=s(),u=(0,n.useCallback)((e=>(l?100*e/l:0)+"%"),[l]);return r?o().createElement("div",{className:i()(a.bar,t),style:{width:c(r)?u(r):r}}):null}},80560:(e,t,r)=>{r.d(t,{Z:()=>S});var n=r(24328),o=r.n(n),l=r(13980),i=r.n(l),a=r(2507),s=r.n(a),c=r(71153),u=r.n(c),d=r(50914),p=r(28045),m=r(22311),f=r(33117),b=r(41008),h=r(63485),g=r(26638),y=r(94792);const x=(0,r(72342).makeStyles)((()=>({popupContainer:{},container:{"&$popupContainer":{height:"408px",minWidth:"200px"}}})));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 v(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){O(e,t,r[t])}))}return e}function O(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const C=e=>{let{open:t,anchorEl:r,data:l,onSearch:i,onClose:a,titleText:s,filterText:c,onListItemClick:O,selected:C,hideCheckBox:S,renderGroupTitle:I}=e,E=function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},l=Object.keys(e);for(n=0;n<l.length;n++)r=l[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(n=0;n<l.length;n++)r=l[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(e,["open","anchorEl","data","onSearch","onClose","titleText","filterText","onListItemClick","selected","hideCheckBox","renderGroupTitle"]);const k=(0,n.useCallback)((e=>e.label.toLowerCase().includes(c.toLowerCase())),[c]),P=(0,n.useCallback)((e=>k(e)||(e.children||[]).some(P)),[k]),j=(0,n.useMemo)((()=>{const e=(0,d.curry)(((e,r,n,o)=>[{item:v({},r,{filterText:c}),level:e,groupId:n,groupName:o},...t(r.children||[],n,o,e+1)])),t=function(t,r,n){let o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;const l=t=>e(o,t,r,n),i=t.filter(P);return(I?d.map:d.chain)(l,i)};return t}),[c,I,P]),T=(0,n.useCallback)((e=>e.map((e=>({item:e,items:j(e.attributes,e.id,e.label)}))).filter((e=>e.items.length))),[j]),N=(0,n.useCallback)((e=>{let{item:t}=e;O(t,!C.find((e=>e.id===t.id||e.id.includes(`${t.id}.`))))}),[O,C]),R=(0,n.useMemo)((()=>(I?T:j)(l)),[l,I,T,j]),L=(0,n.useMemo)((()=>(0,b.LG)(R)),[R]),{focusIndex:Z,handleKeyDown:D}=(0,g.t)({items:L,open:t,onSelectFocusedItem:N,selectedItems:C}),A=(0,n.useRef)(null);A.current=Z;const F=(0,n.useCallback)(((e,t,r)=>{let{item:n,level:l=0}=t;const i=!!C.find((e=>e.id===n.id||e.id.includes(`${n.id}.`))),a=A.current===r;return o().createElement(f.Z,{key:n.id,onClick:O,checked:i,level:l,data:n,label:o().createElement(y.Z,{text:n.label,highlight:n.filterText}),labelInText:n.label,style:e,hideCheckBox:S,isFocused:a,notSelectable:n.notSelectable,LogoIcon:n.LogoIcon})}),[S,O,C]),B=(0,p.fW1)("label")(R)||308,W=x();return o().createElement(m.Z,w({open:t,className:u()(W.container,W.popupContainer),anchorEl:r,onClose:a,onSearch:i,title:s,containerWidth:B,searchInputOnKeyDown:D},E),o().createElement(h.Z,{height:300,renderItem:F,items:L,hideSubtitles:!0,getItemSize:()=>32,containerWidth:B,focusIndex:Z,renderGroupTitle:I}))};C.propTypes={open:i().bool,hideCheckBox:i().bool,anchorEl:i().any,selected:i().array,data:i().array,filterText:i().string,titleText:i().string,onClose:i().func,onListItemClick:i().func,onSearch:i().func,renderGroupTitle:i().func},C.defaultProps={data:[],selected:[],titleText:s().text("Show/hide columns"),filterText:""};const S=C},87086:(e,t,r)=>{r.d(t,{Z:()=>c});var n=r(24328),o=r.n(n),l=r(28207),i=r(47746);function a(){return a=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},a.apply(this,arguments)}const s=e=>{let{open:t=!0,children:r}=e,s=function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},l=Object.keys(e);for(n=0;n<l.length;n++)r=l[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(n=0;n<l.length;n++)r=l[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(e,["open","children"]);const[c,u]=(0,n.useState)(t),d=(0,i.Z)().transitions.duration.leavingScreen;return(0,n.useEffect)((()=>{if(t!==c){if(!t){const e=setTimeout((()=>{u(!1)}),d);return()=>clearTimeout(e)}u(!0)}}),[t,d,c]),o().createElement(l.ZP,a({open:t},s),c&&r)};s.displayName="Drawer";const c=s},92934:(e,t,r)=>{r.d(t,{Q:()=>c});var n=r(24328),o=r.n(n),l=r(2507),i=r.n(l),a=r(28045),s=r(72108);const c=(0,n.memo)((e=>{let{entityTypes:t,selectedEntityTypes:r,single:l,placeholder:c,enableEmptyValueUnderline:u,onChange:d,classes:p={},ListLabelProps:m={},disabled:f=!1}=e;const b=(0,n.useMemo)((()=>t.filter(a.oDv)),[t]);return o().createElement(s.S,{items:b,selectedItemsUris:r,single:l,placeholder:c,enableEmptyValueUnderline:u,onChange:d,classes:p,ListLabelProps:m,disabled:f,label:i().text("Entity type"),dataReltioId:"entity-type-selector",selectionPopupTitle:i().text("Select entity types")})}));c.displayName="EntityTypesSelector"},72108:(e,t,r)=>{r.d(t,{S:()=>N});var n=r(24328),o=r.n(n),l=r(71153),i=r.n(l),a=r(50914),s=r(28045),c=r(53242),u=r(65643),d=r(23883),p=r(72342);const m=(0,p.makeStyles)({listLabelContainer:{display:"flex",alignItems:"center",position:"relative",overflow:"hidden",whiteSpace:"nowrap",justifyContent:"space-between",height:"100%",width:"100%"},listLabel:{visibility:"hidden",position:"absolute",overflow:"hidden"},visibleItemsLabel:{textOverflow:"ellipsis",marginRight:"5px",overflow:"hidden",flex:1,flexBasis:"auto"},hiddenCount:{color:"rgba(0,0,0,0.87)",fontSize:"13px",lineHeight:"15px",padding:"5px 8px",borderRadius:"16px",backgroundColor:"rgba(0,0,0,.12)"}}),f=(e,t)=>{const{childNodes:r,clientLeft:n,clientWidth:o}=t;if(r.length>0){const[t]=Array.from(r),l=document.createRange();l.setStart(t,0);for(let r=0;r<e.length;r++){l.setEnd(t,l.endOffset+e[r].length);const{width:i}=l.getBoundingClientRect();if(n+i>o)return r;r!==e.length-1&&l.setEnd(t,l.endOffset+", ".length)}}return-1},b=e=>e.join(", "),h=e=>`calc(${(0,a.isNil)(e)?"100%":`${e}px`} - 35px)`,g=e=>{let{list:t,maxWidth:r}=e;const l=m(),i=(0,n.useRef)(),[a,s]=(0,n.useState)(0);(0,n.useEffect)((()=>{s(((e,t)=>{const r=e.length,n=((e,t)=>{if(t){const r=f(e,t);return-1===r?0:e.length-r}return 0})(e,t);return r-Math.max(1,r-n)})(t,i.current))}),[t]);const c=b(t),u=a>0,p=u?b(t.slice(0,-a)):c;return o().createElement(d.Z,{title:u?c:""},o().createElement("div",{className:l.listLabelContainer},o().createElement("div",{style:{width:h(r)},className:l.listLabel,ref:i},c),o().createElement("div",{className:l.visibleItemsLabel},p),u&&o().createElement("div",{className:l.hiddenCount},`+${a}`)))};var y=r(40435),x=r(22311),w=r(26638),v=r(33117),O=r(94792),C=r(63485);function S(){return S=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},S.apply(this,arguments)}const I=(0,a.always)(32),E=(0,n.memo)((e=>{let{selectedItems:t,onItemClick:r,focusIndex:n,width:l,height:i}=e,a=function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},l=Object.keys(e);for(n=0;n<l.length;n++)r=l[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(n=0;n<l.length;n++)r=l[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(e,["selectedItems","onItemClick","focusIndex","width","height"]);return o().createElement(C.Z,S({getItemSize:I,renderItem:(e,l,i)=>{let{item:a}=l;const s=!!t.find((e=>a.uri===e)),c=i===n;return o().createElement(v.Z,{key:a.uri,onClick:r,checked:s,data:a,label:o().createElement(O.Z,{text:a.label,highlight:a.filterText}),labelInText:a.label,style:e,isFocused:c,hideIcon:!0,LogoIcon:a.LogoIcon})},focusIndex:n,fixedTitle:!1,disableHorizontalScrollbar:!0,width:l,height:i},a))}));E.displayName="SelectMetadataTypesList";const k=(0,p.makeStyles)({root:{borderRadius:"4px 4px 0 0",margin:0,fontSize:"14px",letterSpacing:0,lineHeight:"16px"},inputLabel:{overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",width:"100%",cursor:"pointer",top:"calc(50% - 23px)"},inputText:{display:"flex",flexGrow:1,alignItems:"center",height:"25px",width:"calc(100% - 53px)",paddingTop:"18px",paddingBottom:"4px",color:"rgba(0,0,0,0.87)",overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"},input:{width:0,cursor:"pointer","&.Mui-disabled":{backgroundColor:"transparent",cursor:"default"},"&$emptyInput":{width:"100%"}},emptyInput:{},disabledInput:{},disabledPointer:{},disabledUnderline:{},inputRoot:{flex:1,paddingRight:"4px",fontSize:"14px",letterSpacing:0,lineHeight:"16px",cursor:"pointer","&$disabledInput":{backgroundColor:"rgba(0, 0, 0, 0.03)",cursor:"pointer","&$disabledPointer":{cursor:"default"},"&$disabledUnderline::before":{borderBottomStyle:"solid"}}},icon:{transform:"rotate(0deg)",transition:"transform 0.35s ease"},"popup-opened-icon":{transform:"rotate(-180deg)"}});function P(){return P=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},P.apply(this,arguments)}function j(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){T(e,t,r[t])}))}return e}function T(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const N=(0,n.memo)((e=>{let{placeholder:t,classes:r={},items:l,selectedItemsUris:d,onChange:p,ListLabelProps:m={},disabled:f,enableEmptyValueUnderline:b,single:h,label:v,dataReltioId:O,selectionPopupTitle:C}=e;const S=k(),[I,T]=(0,n.useState)(!1),N=(0,n.useCallback)((()=>T(!0)),[]),R=(0,n.useCallback)((()=>T(!1)),[]),[L,Z]=(0,n.useState)(""),D=(0,n.useCallback)((()=>Z("")),[]),A=(0,n.useCallback)((0,a.pipe)(D,R),[R,D]),F=l.filter((e=>{let{label:t}=e;return s.P6Y.strings.search(t,L)})).map(((e,t)=>({item:{item:j({},e,{filterText:L})},index:t}))),B=(0,n.useMemo)((()=>d.map((e=>l.find((0,a.propEq)("uri",e)))).map((0,a.prop)("label"))),[d,l]),W=(0,n.useCallback)(((e,t)=>{h?(p(t?[e.uri]:[]),A()):p(t?d.concat(e.uri):d.filter((t=>t!==e.uri)))}),[d,p,h,A]),$=(0,n.useCallback)((e=>{let{item:t}=e;const r=!d.includes(t.uri);W(t,r)}),[d,W]),{focusIndex:z,handleKeyDown:M}=(0,w.t)({items:F,open:I,onSelectFocusedItem:$,selectedItems:d,onClose:A}),H=(0,n.useRef)(),V=H.current?H.current.getBoundingClientRect().width:0,_=Math.max(V,255),G=0===d.length;return o().createElement(o().Fragment,null,o().createElement(c.Z,{label:v,ref:H,InputProps:{startAdornment:G&&!t?null:o().createElement("div",{className:i()(S.inputText,r.inputText)},G?o().createElement("div",null,t):o().createElement(g,P({},m,{list:B}))),classes:{root:S.inputRoot,input:i()(S.input,r.input,{[S.emptyInput]:G&&!t}),disabled:i()(S.disabledInput,{[S.disabledPointer]:f}),underline:S.disabledUnderline},endAdornment:o().createElement(y.Z,{size:"L",icon:u.Z,iconClassName:i()(S.icon,{[S["popup-opened-icon"]]:I}),disabled:f}),readOnly:!0,disableUnderline:G&&!b},inputProps:{tabIndex:-1},InputLabelProps:{classes:{root:i()(S.inputLabel,r.label)}},value:"",onClick:f?void 0:N,classes:{root:i()(S.root,r.root)},size:"small",variant:"filled",disabled:f,"data-reltio-id":O}),o().createElement(x.Z,{open:I,anchorEl:H.current,onClose:A,onSearch:Z,title:C,containerWidth:_,containerHeight:355,searchInputOnKeyDown:M,transformOrigin:{horizontal:"left",vertical:"top"},anchorOrigin:{horizontal:"left",vertical:"bottom"},PaperProps:{"data-reltio-id":`${O}-popup`}},o().createElement(E,{items:F,onItemClick:W,selectedItems:d,width:_,height:245,focusIndex:z})))}));N.displayName="MetadataTypesSelector"},79145:(e,t,r)=>{r.d(t,{Z:()=>O});var n=r(24328),o=r.n(n),l=r(13980),i=r.n(l),a=r(71153),s=r.n(a),c=r(2507),u=r.n(c),d=r(72342);const p="46px",m=(0,d.makeStyles)((e=>({readOnlyLogicOperatorContainer:{display:"flex",alignItems:"center",marginRight:"40px",width:"76px",fontSize:"14px",color:e.palette.text.secondary,maxHeight:p},readOnlyFilter:{display:"flex",alignItems:"center",fontSize:"14px",color:e.palette.text.secondary,width:"50px",marginLeft:"12px",maxHeight:p}})));var f=r(7342);const b=e=>{let{className:t,rowData:r}=e;const n=m();return o().createElement("div",{className:s()(n.readOnlyLogicOperatorContainer,t)},r&&r.operator?(0,f.Z)(r.operator):u().text("Where"))};b.propTypes={className:i().string,rowData:i().object};const h=b;var g=r(28045);const y=e=>{let{className:t,rowData:r}=e;const n=m();return o().createElement("div",{className:s()(n.readOnlyFilter,t)},r&&r.filter?(0,g.XS2)(r.filter):u().text("equals"))};var x=r(53862);const w=(0,d.makeStyles)((()=>({row:{display:"flex",marginBottom:"12px"},rowItem:{paddingRight:"10px",display:"flex"},fullWidth:{flexGrow:"1",flexBasis:"0",overflow:"hidden"},hidden:{visibility:"hidden"}})));const v=e=>{let{classes:t={},rowData:r,previousRowData:n,LogicOperatorComponent:l=h,AttributeSelectorComponent:i,FilterSelectorComponent:a=y,ValuesEditorComponent:c,ActionsComponent:u,filterSelectorRef:d,attributeSelectorProps:p={}}=e,m=function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},l=Object.keys(e);for(n=0;n<l.length;n++)r=l[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(n=0;n<l.length;n++)r=l[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(e,["classes","rowData","previousRowData","LogicOperatorComponent","AttributeSelectorComponent","FilterSelectorComponent","ValuesEditorComponent","ActionsComponent","filterSelectorRef","attributeSelectorProps"]);const f=w();return o().createElement("div",{className:s()(f.row,t.root),"data-reltio-id":"query-builder-row"},o().createElement(l,{className:t.logicOperatorContainer,rowContext:m,rowData:n}),o().createElement("div",{className:s()(f.rowItem,t.attributeSelectorContainer)},o().createElement(i,{attributeSelectorProps:p,rowContext:m,rowData:r})),o().createElement("div",{className:s()(f.rowItem,t.filterSelectorContainer)},o().createElement(a,{textFieldInputRef:d,rowContext:m,rowData:r})),o().createElement("div",{className:s()(f.rowItem,f.fullWidth,t.valuesEditorContainer)},o().createElement(c,{rowContext:m,rowData:r})),o().createElement("div",{className:s()(f.rowItem,t.actionsContainer,{[f.hidden]:!r})},o().createElement(u,{rowContext:m,rowData:r})))};v.propTypes={classes:i().shape({root:i().string,logicOperatorContainer:i().string,attributeSelectorContainer:i().string,filterSelectorContainer:i().string,valuesEditorContainer:i().string,actionsContainer:i().string}),rowData:x.Xw,previousRowData:x.Xw,LogicOperatorComponent:i().elementType,AttributeSelectorComponent:i().elementType,FilterSelectorComponent:i().elementType,ValuesEditorComponent:i().elementType,ActionsComponent:i().elementType,filterSelectorRef:i().object,attributeSelectorProps:i().shape({onRestoreFocus:i().func,onOpen:i().func,disablePopoverRestoreFocus:i().bool})};const O=(0,n.memo)(v)},51586:(e,t,r)=>{r.d(t,{Z:()=>p});var n=r(24328),o=r.n(n),l=r(13980),i=r.n(l),a=r(50914),s=r(79145),c=r(53862);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{className:t,rowClasses:r,rowsData:n,lastRowAttributeSelectorProps:l,filterSelectorRef:i,filterSelectorRefIndex:c}=e,d=function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},l=Object.keys(e);for(n=0;n<l.length;n++)r=l[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(n=0;n<l.length;n++)r=l[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(e,["className","rowClasses","rowsData","lastRowAttributeSelectorProps","filterSelectorRef","filterSelectorRefIndex"]);const p=(e,t,n)=>{const p=t>0?(0,a.path)([t-1],n):null,m=t===n.length?{attributeSelectorProps:l}:{};return o().createElement(s.Z,u({key:e&&e.id,rowData:e,previousRowData:p,classes:r,filterSelectorRef:t===c?i:void 0},d,m))};return o().createElement("div",{className:t},n.map(p),p(null,n.length,n))};d.propTypes={className:i().string,rowClasses:i().shape({root:i().string,logicOperatorContainer:i().string,attributeSelectorContainer:i().string,filterSelectorContainer:i().string,valuesEditorContainer:i().string,actionsContainer:i().string}),rowsData:i().arrayOf(c.Xw),LogicOperatorComponent:i().elementType,AttributeSelectorComponent:i().elementType,FilterSelectorComponent:i().elementType,ValuesEditorComponent:i().elementType,ActionsComponent:i().elementType,filterSelectorRef:i().object,filterSelectorRefIndex:i().number,lastRowAttributeSelectorProps:i().shape({onRestoreFocus:i().func,onOpen:i().func,disablePopoverRestoreFocus:i().bool})};const p=(0,n.memo)(d)},2633:(e,t,r)=>{r.d(t,{Z:()=>l});var n=r(54573),o=r(50914);const l={BY_LABEL:(0,n.c)({stringify:(0,o.prop)("label")})}}}]);
|
|
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]="eda5ece5-f543-4488-9870-6c2629d17158",e._sentryDebugIdIdentifier="sentry-dbid-eda5ece5-f543-4488-9870-6c2629d17158")}catch(e){}}();var _global="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};_global.SENTRY_RELEASE={id:"1.4.1614"},(self.webpackChunk_reltio_remotes=self.webpackChunk_reltio_remotes||[]).push([[8741],{14625:(e,t,r)=>{r.d(t,{Z:()=>u});var n=r(24328),o=r.n(n),l=r(52730),i=r(50673),a=r(28045),s=r(42639);const c=(0,r(72342).makeStyles)({icon:{maxHeight:"25px",maxWidth:"25px",marginRight:"16px"}}),u=e=>{let{group:t,metadata:r}=e;const n=c(),u=(0,l.useSelector)(i.ZP.selectors.getAbsoluteImagePath),d=(0,a.XH8)(r,{type:t.id}),p=(0,a.vPL)(u,d);return o().createElement(s.Z,{className:n.icon,icon:p,avatarText:t.title[0]})}},12933:(e,t,r)=>{r.d(t,{Z:()=>V});var n=r(24328),o=r.n(n),l=r(2507),i=r.n(l),a=r(71153),s=r.n(a),c=r(50914),u=r(22311),d=r(26638),p=r(65643),m=r(40007),f=r(40435),b=r(72342);const h=(0,b.makeStyles)({attribute:{cursor:"pointer",lineHeight:"16px",flexBasis:"100%",display:"flex",alignItems:"center",padding:"0 10px 0 16px",width:"calc(100% - 32px)","&$attributeWithValue":{borderBottom:"1px solid rgba(0,0,0,0.38)"},"&$disabled":{cursor:"default"}},disabled:{},attributeWithValue:{},noSelect:{},name:{fontSize:"14px",color:"rgba(0,0,0,0.87)",overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",direction:"rtl",textAlign:"left",flex:"1 0",width:"0","& $noSelect":{color:"rgba(0,0,0,0.38)"},"&$disabled":{color:"rgba(0,0,0,0.26)","& $noSelect":{color:"rgba(0,0,0,0.26)"}}}}),g=(0,c.either)((0,c.prop)("title"),(0,c.prop)("fieldName")),y=e=>{let{value:t,getLabel:r=g,onSelectAttributeClick:n,disabled:l=!1}=e;const a=h(),c=t&&r(t);return o().createElement("div",{onClick:l?void 0:n,className:s()(a.attribute,{[a.attributeWithValue]:!!c},{[a.disabled]:l})},o().createElement(m.Z,{value:c},o().createElement("div",{className:s()(a.name,{[a.disabled]:l})},c||o().createElement("span",{className:a.noSelect},i().text("Select attribute")))),o().createElement(f.Z,{size:"M",icon:p.Z,disabled:l}))};var x=r(28045);function w(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){v(e,t,r[t])}))}return e}function v(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const O=(0,c.eqBy)((0,c.pick)(["fieldName","uri","entityTypeUri"])),C=(e,t)=>t&&!!t.find(O(e)),S=(e,t)=>e.title.toLowerCase().includes(t.toLowerCase()),I=(e,t)=>S(e,t)||(e.children||[]).some((e=>I(e,t))),E=(e,t)=>e.findIndex(O(t)),k=(0,x.fW1)("title"),P=function(e,t,r,n){let o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,l=arguments.length>5&&void 0!==arguments[5]&&arguments[5];const i=S(e,n);return[{item:n?w({},e,{filterText:n}):e,level:o,groupId:t,groupName:r}].concat(e.children?e.children.filter((e=>l||i||I(e,n))).flatMap((e=>P(e,t,r,n,o+1,l||i))):[]).flat()},j=(0,c.curry)(((e,t)=>t.map((t=>({item:t,items:t.attributes.filter((t=>I(t,e))).map((r=>P(r,t.id,t.title,e)))}))).filter((e=>e.items.length))));var T=r(52730),N=r(35488),R=r(50673),L=r(33117),Z=r(63485),D=r(94792),A=r(14625);const F=(0,b.makeStyles)({subHeader:{backgroundColor:"#f5f5f5",padding:"0 16px",margin:0,display:"flex",alignItems:"center",color:"rgba(0,0,0,0.84)",fontSize:"14px",fontWeight:500}});function B(){return B=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},B.apply(this,arguments)}function W(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){$(e,t,r[t])}))}return e}function $(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const z=(0,n.memo)((e=>{let{selectedAttributes:t,onItemClick:r,focusIndex:n,hideCheckBox:l}=e,i=function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},l=Object.keys(e);for(n=0;n<l.length;n++)r=l[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(n=0;n<l.length;n++)r=l[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(e,["selectedAttributes","onItemClick","focusIndex","hideCheckBox"]);const a=F(),s=(0,T.useSelector)(R.ZP.selectors.getMetadata);return o().createElement(Z.Z,B({getItemSize:(e,t)=>t.items?40:28,renderItem:(e,i,a)=>{let{item:s,level:c,groupId:u,groupName:d}=i;const p=C(s,t),m=a===n;return o().createElement(L.Z,{key:`item-${u}-${s.fieldName}`,onClick:r,checked:p,data:W({},s,{groupName:d}),notSelectable:s.notSelectable,hideCheckBox:l,label:o().createElement(D.Z,{text:s.title,highlight:s.filterText}),labelInText:s.title,level:c,style:e,isFocused:m,groupId:u,LogoIcon:s.LogoIcon})},renderGroupTitle:(e,t)=>o().createElement(N.ZP,{component:"div",className:a.subHeader,style:e,key:`group-${t.item.id}`},t.item.needGroupIcon&&o().createElement(A.Z,{group:t.item,metadata:s}),t.item.title),focusIndex:n},i))}));var M=r(41008);const H=(0,b.makeStyles)({selector:{minWidth:"200px",alignItems:"stretch",background:"rgba(0,0,0, 0.0267)",boxSizing:"border-box",borderRadius:"4px",display:"flex"}}),V=(0,n.memo)((e=>{let{className:t,itemsGroups:r,value:l,getLabel:a,onSelect:p,onRestoreFocus:m=c.identity,onOpenPopup:f=c.identity,disableRestoreFocus:b=!1,disableEnforceFocus:h=!1,single:g=!1,ungroup:x=!1,disabled:v=!1,hideCheckBox:S=!1}=e;const I=H(),[P,T]=(0,n.useState)(null),N=(0,n.useCallback)((()=>T(null)),[]),R=!!P,[L,Z]=(0,n.useState)(""),D=(0,n.useCallback)((()=>Z("")),[]),[A,F]=(0,n.useState)([]),B=(0,n.useCallback)((()=>F([])),[]),W=(0,n.useMemo)((()=>j(L,r)),[r,L]),$=(0,n.useMemo)((()=>(0,c.pipe)((0,c.when)((0,c.always)(x),(0,c.chain)((0,c.pipe)((0,c.prop)("items"),c.flatten,(0,c.map)((0,c.pick)(["item","level"]))))),M.LG)(W)),[x,W]),V=(0,n.useMemo)((()=>Math.max(k(W),308)),[W]),_=(0,c.pipe)((0,c.tap)((0,c.pipe)(B,D,N)),m),G=(0,n.useRef)(),U=(0,n.useCallback)(((e,t)=>{p({checked:t,attribute:e,index:t?A.length:E(A,e),selectedAttributes:A}),g?(F(t?[e]:[]),_({})):(F((e=>{let{attribute:t,selectedAttributes:r,checked:n}=e;return n?r.concat(t):r.filter((e=>!O(t,e)))})({selectedAttributes:A,attribute:e,checked:t})),G.current&&G.current.focus())}),[A,p,g,_,G]),K=(0,n.useCallback)((e=>{let{onListItemClick:t,selectedAttributes:r}=e;return e=>{let{item:n,groupData:o}=e;const l=C(n,r);t(w({},n,{groupName:o.groupName}),!l)}})({onListItemClick:U,selectedAttributes:A}),[U,A]),{focusIndex:X,handleKeyDown:q}=(0,d.t)({items:$,open:R,onSelectFocusedItem:K,selectedItems:A,onClose:_});return o().createElement("div",{className:s()(I.selector,t),"data-reltio-id":"attribute-selector"},o().createElement(y,{value:l,getLabel:a,onSelectAttributeClick:e=>{f(),T(e.currentTarget)},disabled:v}),o().createElement(u.Z,{open:R,anchorEl:P,onClose:_,onSearch:Z,title:i().text("Select attribute"),containerWidth:V,containerHeight:507,searchInputOnKeyDown:q,anchorOrigin:{horizontal:"right",vertical:"bottom"},searchInputRef:G,disableRestoreFocus:b,disableEnforceFocus:h},o().createElement(z,{items:$,onItemClick:U,selectedAttributes:A,width:V,height:400,focusIndex:X,hideCheckBox:S})))}))},91431:(e,t,r)=>{r.d(t,{Z:()=>m});var n=r(24328),o=r.n(n),l=r(13980),i=r.n(l),a=r(3073),s=r(28831),c=r(71153),u=r.n(c);const d=(0,r(72342).makeStyles)((()=>({hidden:{visibility:"hidden"}}))),p=e=>{let{rowIndex:t,rowValue:r,className:l}=e;const i=d(),{toggleRowCollapse:c,getIsRowCollapsible:p,getIsRowCollapsed:m}=(0,n.useContext)(a.x),f=p(r),b=m(t);return o().createElement(s.Z,{className:u()(l,{[i.hidden]:!f}),isOpen:!b,onClick:e=>{c(t),e.stopPropagation()}})};p.propTypes={rowIndex:i().number,rowValue:i().object,className:i().string};const m=p},89902:(e,t,r)=>{r.d(t,{Z:()=>u});var n=r(24328),o=r.n(n),l=r(71153),i=r.n(l),a=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,a.is)(Number,e),u=e=>{let{className:t,width:r=0,maxWidth:l}=e;const a=s(),u=(0,n.useCallback)((e=>(l?100*e/l:0)+"%"),[l]);return r?o().createElement("div",{className:i()(a.bar,t),style:{width:c(r)?u(r):r}}):null}},80560:(e,t,r)=>{r.d(t,{Z:()=>S});var n=r(24328),o=r.n(n),l=r(13980),i=r.n(l),a=r(2507),s=r.n(a),c=r(71153),u=r.n(c),d=r(50914),p=r(28045),m=r(22311),f=r(33117),b=r(41008),h=r(63485),g=r(26638),y=r(94792);const x=(0,r(72342).makeStyles)((()=>({popupContainer:{},container:{"&$popupContainer":{height:"408px",minWidth:"200px"}}})));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 v(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){O(e,t,r[t])}))}return e}function O(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const C=e=>{let{open:t,anchorEl:r,data:l,onSearch:i,onClose:a,titleText:s,filterText:c,onListItemClick:O,selected:C,hideCheckBox:S,renderGroupTitle:I}=e,E=function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},l=Object.keys(e);for(n=0;n<l.length;n++)r=l[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(n=0;n<l.length;n++)r=l[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(e,["open","anchorEl","data","onSearch","onClose","titleText","filterText","onListItemClick","selected","hideCheckBox","renderGroupTitle"]);const k=(0,n.useCallback)((e=>e.label.toLowerCase().includes(c.toLowerCase())),[c]),P=(0,n.useCallback)((e=>k(e)||(e.children||[]).some(P)),[k]),j=(0,n.useMemo)((()=>{const e=(0,d.curry)(((e,r,n,o)=>[{item:v({},r,{filterText:c}),level:e,groupId:n,groupName:o},...t(r.children||[],n,o,e+1)])),t=function(t,r,n){let o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;const l=t=>e(o,t,r,n),i=t.filter(P);return(I?d.map:d.chain)(l,i)};return t}),[c,I,P]),T=(0,n.useCallback)((e=>e.map((e=>({item:e,items:j(e.attributes,e.id,e.label)}))).filter((e=>e.items.length))),[j]),N=(0,n.useCallback)((e=>{let{item:t}=e;O(t,!C.find((e=>e.id===t.id||e.id.includes(`${t.id}.`))))}),[O,C]),R=(0,n.useMemo)((()=>(I?T:j)(l)),[l,I,T,j]),L=(0,n.useMemo)((()=>(0,b.LG)(R)),[R]),{focusIndex:Z,handleKeyDown:D}=(0,g.t)({items:L,open:t,onSelectFocusedItem:N,selectedItems:C}),A=(0,n.useRef)(null);A.current=Z;const F=(0,n.useCallback)(((e,t,r)=>{let{item:n,level:l=0}=t;const i=!!C.find((e=>e.id===n.id||e.id.includes(`${n.id}.`))),a=A.current===r;return o().createElement(f.Z,{key:n.id,onClick:O,checked:i,level:l,data:n,label:o().createElement(y.Z,{text:n.label,highlight:n.filterText}),labelInText:n.label,style:e,hideCheckBox:S,isFocused:a,notSelectable:n.notSelectable,LogoIcon:n.LogoIcon})}),[S,O,C]),B=(0,p.fW1)("label")(R)||308,W=x();return o().createElement(m.Z,w({open:t,className:u()(W.container,W.popupContainer),anchorEl:r,onClose:a,onSearch:i,title:s,containerWidth:B,searchInputOnKeyDown:D},E),o().createElement(h.Z,{height:300,renderItem:F,items:L,hideSubtitles:!0,getItemSize:()=>32,containerWidth:B,focusIndex:Z,renderGroupTitle:I}))};C.propTypes={open:i().bool,hideCheckBox:i().bool,anchorEl:i().any,selected:i().array,data:i().array,filterText:i().string,titleText:i().string,onClose:i().func,onListItemClick:i().func,onSearch:i().func,renderGroupTitle:i().func},C.defaultProps={data:[],selected:[],titleText:s().text("Show/hide columns"),filterText:""};const S=C},87086:(e,t,r)=>{r.d(t,{Z:()=>c});var n=r(24328),o=r.n(n),l=r(28207),i=r(47746);function a(){return a=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},a.apply(this,arguments)}const s=e=>{let{open:t=!0,children:r}=e,s=function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},l=Object.keys(e);for(n=0;n<l.length;n++)r=l[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(n=0;n<l.length;n++)r=l[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(e,["open","children"]);const[c,u]=(0,n.useState)(t),d=(0,i.Z)().transitions.duration.leavingScreen;return(0,n.useEffect)((()=>{if(t!==c){if(!t){const e=setTimeout((()=>{u(!1)}),d);return()=>clearTimeout(e)}u(!0)}}),[t,d,c]),o().createElement(l.ZP,a({open:t},s),c&&r)};s.displayName="Drawer";const c=s},92934:(e,t,r)=>{r.d(t,{Q:()=>c});var n=r(24328),o=r.n(n),l=r(2507),i=r.n(l),a=r(28045),s=r(72108);const c=(0,n.memo)((e=>{let{entityTypes:t,selectedEntityTypes:r,single:l,placeholder:c,enableEmptyValueUnderline:u,onChange:d,classes:p={},ListLabelProps:m={},disabled:f=!1}=e;const b=(0,n.useMemo)((()=>t.filter(a.oDv)),[t]);return o().createElement(s.S,{items:b,selectedItemsUris:r,single:l,placeholder:c,enableEmptyValueUnderline:u,onChange:d,classes:p,ListLabelProps:m,disabled:f,label:i().text("Entity type"),dataReltioId:"entity-type-selector",selectionPopupTitle:i().text("Select entity types")})}));c.displayName="EntityTypesSelector"},72108:(e,t,r)=>{r.d(t,{S:()=>N});var n=r(24328),o=r.n(n),l=r(71153),i=r.n(l),a=r(50914),s=r(28045),c=r(53242),u=r(65643),d=r(23883),p=r(72342);const m=(0,p.makeStyles)({listLabelContainer:{display:"flex",alignItems:"center",position:"relative",overflow:"hidden",whiteSpace:"nowrap",justifyContent:"space-between",height:"100%",width:"100%"},listLabel:{visibility:"hidden",position:"absolute",overflow:"hidden"},visibleItemsLabel:{textOverflow:"ellipsis",marginRight:"5px",overflow:"hidden",flex:1,flexBasis:"auto"},hiddenCount:{color:"rgba(0,0,0,0.87)",fontSize:"13px",lineHeight:"15px",padding:"5px 8px",borderRadius:"16px",backgroundColor:"rgba(0,0,0,.12)"}}),f=(e,t)=>{const{childNodes:r,clientLeft:n,clientWidth:o}=t;if(r.length>0){const[t]=Array.from(r),l=document.createRange();l.setStart(t,0);for(let r=0;r<e.length;r++){l.setEnd(t,l.endOffset+e[r].length);const{width:i}=l.getBoundingClientRect();if(n+i>o)return r;r!==e.length-1&&l.setEnd(t,l.endOffset+", ".length)}}return-1},b=e=>e.join(", "),h=e=>`calc(${(0,a.isNil)(e)?"100%":`${e}px`} - 35px)`,g=e=>{let{list:t,maxWidth:r}=e;const l=m(),i=(0,n.useRef)(),[a,s]=(0,n.useState)(0);(0,n.useEffect)((()=>{s(((e,t)=>{const r=e.length,n=((e,t)=>{if(t){const r=f(e,t);return-1===r?0:e.length-r}return 0})(e,t);return r-Math.max(1,r-n)})(t,i.current))}),[t]);const c=b(t),u=a>0,p=u?b(t.slice(0,-a)):c;return o().createElement(d.Z,{title:u?c:""},o().createElement("div",{className:l.listLabelContainer},o().createElement("div",{style:{width:h(r)},className:l.listLabel,ref:i},c),o().createElement("div",{className:l.visibleItemsLabel},p),u&&o().createElement("div",{className:l.hiddenCount},`+${a}`)))};var y=r(40435),x=r(22311),w=r(26638),v=r(33117),O=r(94792),C=r(63485);function S(){return S=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},S.apply(this,arguments)}const I=(0,a.always)(32),E=(0,n.memo)((e=>{let{selectedItems:t,onItemClick:r,focusIndex:n,width:l,height:i}=e,a=function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},l=Object.keys(e);for(n=0;n<l.length;n++)r=l[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(n=0;n<l.length;n++)r=l[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(e,["selectedItems","onItemClick","focusIndex","width","height"]);return o().createElement(C.Z,S({getItemSize:I,renderItem:(e,l,i)=>{let{item:a}=l;const s=!!t.find((e=>a.uri===e)),c=i===n;return o().createElement(v.Z,{key:a.uri,onClick:r,checked:s,data:a,label:o().createElement(O.Z,{text:a.label,highlight:a.filterText}),labelInText:a.label,style:e,isFocused:c,hideIcon:!0,LogoIcon:a.LogoIcon})},focusIndex:n,fixedTitle:!1,disableHorizontalScrollbar:!0,width:l,height:i},a))}));E.displayName="SelectMetadataTypesList";const k=(0,p.makeStyles)({root:{borderRadius:"4px 4px 0 0",margin:0,fontSize:"14px",letterSpacing:0,lineHeight:"16px"},inputLabel:{overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",width:"100%",cursor:"pointer",top:"calc(50% - 23px)"},inputText:{display:"flex",flexGrow:1,alignItems:"center",height:"25px",width:"calc(100% - 53px)",paddingTop:"18px",paddingBottom:"4px",color:"rgba(0,0,0,0.87)",overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"},input:{width:0,cursor:"pointer","&.Mui-disabled":{backgroundColor:"transparent",cursor:"default"},"&$emptyInput":{width:"100%"}},emptyInput:{},disabledInput:{},disabledPointer:{},disabledUnderline:{},inputRoot:{flex:1,paddingRight:"4px",fontSize:"14px",letterSpacing:0,lineHeight:"16px",cursor:"pointer","&$disabledInput":{backgroundColor:"rgba(0, 0, 0, 0.03)",cursor:"pointer","&$disabledPointer":{cursor:"default"},"&$disabledUnderline::before":{borderBottomStyle:"solid"}}},icon:{transform:"rotate(0deg)",transition:"transform 0.35s ease"},"popup-opened-icon":{transform:"rotate(-180deg)"}});function P(){return P=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},P.apply(this,arguments)}function j(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){T(e,t,r[t])}))}return e}function T(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const N=(0,n.memo)((e=>{let{placeholder:t,classes:r={},items:l,selectedItemsUris:d,onChange:p,ListLabelProps:m={},disabled:f,enableEmptyValueUnderline:b,single:h,label:v,dataReltioId:O,selectionPopupTitle:C}=e;const S=k(),[I,T]=(0,n.useState)(!1),N=(0,n.useCallback)((()=>T(!0)),[]),R=(0,n.useCallback)((()=>T(!1)),[]),[L,Z]=(0,n.useState)(""),D=(0,n.useCallback)((()=>Z("")),[]),A=(0,n.useCallback)((0,a.pipe)(D,R),[R,D]),F=l.filter((e=>{let{label:t}=e;return s.P6Y.strings.search(t,L)})).map(((e,t)=>({item:{item:j({},e,{filterText:L})},index:t}))),B=(0,n.useMemo)((()=>d.map((e=>l.find((0,a.propEq)("uri",e)))).map((0,a.prop)("label"))),[d,l]),W=(0,n.useCallback)(((e,t)=>{h?(p(t?[e.uri]:[]),A()):p(t?d.concat(e.uri):d.filter((t=>t!==e.uri)))}),[d,p,h,A]),$=(0,n.useCallback)((e=>{let{item:t}=e;const r=!d.includes(t.uri);W(t,r)}),[d,W]),{focusIndex:z,handleKeyDown:M}=(0,w.t)({items:F,open:I,onSelectFocusedItem:$,selectedItems:d,onClose:A}),H=(0,n.useRef)(),V=H.current?H.current.getBoundingClientRect().width:0,_=Math.max(V,255),G=0===d.length;return o().createElement(o().Fragment,null,o().createElement(c.Z,{label:v,ref:H,InputProps:{startAdornment:G&&!t?null:o().createElement("div",{className:i()(S.inputText,r.inputText)},G?o().createElement("div",null,t):o().createElement(g,P({},m,{list:B}))),classes:{root:S.inputRoot,input:i()(S.input,r.input,{[S.emptyInput]:G&&!t}),disabled:i()(S.disabledInput,{[S.disabledPointer]:f}),underline:S.disabledUnderline},endAdornment:o().createElement(y.Z,{size:"L",icon:u.Z,iconClassName:i()(S.icon,{[S["popup-opened-icon"]]:I}),disabled:f}),readOnly:!0,disableUnderline:G&&!b},inputProps:{tabIndex:-1},InputLabelProps:{classes:{root:i()(S.inputLabel,r.label)}},value:"",onClick:f?void 0:N,classes:{root:i()(S.root,r.root)},size:"small",variant:"filled",disabled:f,"data-reltio-id":O}),o().createElement(x.Z,{open:I,anchorEl:H.current,onClose:A,onSearch:Z,title:C,containerWidth:_,containerHeight:355,searchInputOnKeyDown:M,transformOrigin:{horizontal:"left",vertical:"top"},anchorOrigin:{horizontal:"left",vertical:"bottom"},PaperProps:{"data-reltio-id":`${O}-popup`}},o().createElement(E,{items:F,onItemClick:W,selectedItems:d,width:_,height:245,focusIndex:z})))}));N.displayName="MetadataTypesSelector"},79145:(e,t,r)=>{r.d(t,{Z:()=>O});var n=r(24328),o=r.n(n),l=r(13980),i=r.n(l),a=r(71153),s=r.n(a),c=r(2507),u=r.n(c),d=r(72342);const p="46px",m=(0,d.makeStyles)((e=>({readOnlyLogicOperatorContainer:{display:"flex",alignItems:"center",marginRight:"40px",width:"76px",fontSize:"14px",color:e.palette.text.secondary,maxHeight:p},readOnlyFilter:{display:"flex",alignItems:"center",fontSize:"14px",color:e.palette.text.secondary,width:"50px",marginLeft:"12px",maxHeight:p}})));var f=r(7342);const b=e=>{let{className:t,rowData:r}=e;const n=m();return o().createElement("div",{className:s()(n.readOnlyLogicOperatorContainer,t)},r&&r.operator?(0,f.Z)(r.operator):u().text("Where"))};b.propTypes={className:i().string,rowData:i().object};const h=b;var g=r(28045);const y=e=>{let{className:t,rowData:r}=e;const n=m();return o().createElement("div",{className:s()(n.readOnlyFilter,t)},r&&r.filter?(0,g.XS2)(r.filter):u().text("equals"))};var x=r(53862);const w=(0,d.makeStyles)((()=>({row:{display:"flex",marginBottom:"12px"},rowItem:{paddingRight:"10px",display:"flex"},fullWidth:{flexGrow:"1",flexBasis:"0",overflow:"hidden"},hidden:{visibility:"hidden"}})));const v=e=>{let{classes:t={},rowData:r,previousRowData:n,LogicOperatorComponent:l=h,AttributeSelectorComponent:i,FilterSelectorComponent:a=y,ValuesEditorComponent:c,ActionsComponent:u,filterSelectorRef:d,attributeSelectorProps:p={}}=e,m=function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},l=Object.keys(e);for(n=0;n<l.length;n++)r=l[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(n=0;n<l.length;n++)r=l[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(e,["classes","rowData","previousRowData","LogicOperatorComponent","AttributeSelectorComponent","FilterSelectorComponent","ValuesEditorComponent","ActionsComponent","filterSelectorRef","attributeSelectorProps"]);const f=w();return o().createElement("div",{className:s()(f.row,t.root),"data-reltio-id":"query-builder-row"},o().createElement(l,{className:t.logicOperatorContainer,rowContext:m,rowData:n}),o().createElement("div",{className:s()(f.rowItem,t.attributeSelectorContainer)},o().createElement(i,{attributeSelectorProps:p,rowContext:m,rowData:r})),o().createElement("div",{className:s()(f.rowItem,t.filterSelectorContainer)},o().createElement(a,{textFieldInputRef:d,rowContext:m,rowData:r})),o().createElement("div",{className:s()(f.rowItem,f.fullWidth,t.valuesEditorContainer)},o().createElement(c,{rowContext:m,rowData:r})),o().createElement("div",{className:s()(f.rowItem,t.actionsContainer,{[f.hidden]:!r})},o().createElement(u,{rowContext:m,rowData:r})))};v.propTypes={classes:i().shape({root:i().string,logicOperatorContainer:i().string,attributeSelectorContainer:i().string,filterSelectorContainer:i().string,valuesEditorContainer:i().string,actionsContainer:i().string}),rowData:x.Xw,previousRowData:x.Xw,LogicOperatorComponent:i().elementType,AttributeSelectorComponent:i().elementType,FilterSelectorComponent:i().elementType,ValuesEditorComponent:i().elementType,ActionsComponent:i().elementType,filterSelectorRef:i().object,attributeSelectorProps:i().shape({onRestoreFocus:i().func,onOpen:i().func,disablePopoverRestoreFocus:i().bool})};const O=(0,n.memo)(v)},51586:(e,t,r)=>{r.d(t,{Z:()=>p});var n=r(24328),o=r.n(n),l=r(13980),i=r.n(l),a=r(50914),s=r(79145),c=r(53862);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{className:t,rowClasses:r,rowsData:n,lastRowAttributeSelectorProps:l,filterSelectorRef:i,filterSelectorRefIndex:c}=e,d=function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},l=Object.keys(e);for(n=0;n<l.length;n++)r=l[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(n=0;n<l.length;n++)r=l[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(e,["className","rowClasses","rowsData","lastRowAttributeSelectorProps","filterSelectorRef","filterSelectorRefIndex"]);const p=(e,t,n)=>{const p=t>0?(0,a.path)([t-1],n):null,m=t===n.length?{attributeSelectorProps:l}:{};return o().createElement(s.Z,u({key:e&&e.id,rowData:e,previousRowData:p,classes:r,filterSelectorRef:t===c?i:void 0},d,m))};return o().createElement("div",{className:t},n.map(p),p(null,n.length,n))};d.propTypes={className:i().string,rowClasses:i().shape({root:i().string,logicOperatorContainer:i().string,attributeSelectorContainer:i().string,filterSelectorContainer:i().string,valuesEditorContainer:i().string,actionsContainer:i().string}),rowsData:i().arrayOf(c.Xw),LogicOperatorComponent:i().elementType,AttributeSelectorComponent:i().elementType,FilterSelectorComponent:i().elementType,ValuesEditorComponent:i().elementType,ActionsComponent:i().elementType,filterSelectorRef:i().object,filterSelectorRefIndex:i().number,lastRowAttributeSelectorProps:i().shape({onRestoreFocus:i().func,onOpen:i().func,disablePopoverRestoreFocus:i().bool})};const p=(0,n.memo)(d)},2633:(e,t,r)=>{r.d(t,{Z:()=>l});var n=r(54573),o=r(50914);const l={BY_LABEL:(0,n.c)({stringify:(0,o.prop)("label")})}}}]);
|
|
2
2
|
//# sourceMappingURL=8741.js.map
|
package/9016.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
/*! For license information please see 9016.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]="a29390b4-82d6-42af-a84b-4acac3401254",e._sentryDebugIdIdentifier="sentry-dbid-a29390b4-82d6-42af-a84b-4acac3401254")}catch(e){}}();var _global="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};_global.SENTRY_RELEASE={id:"1.4.1613"},(self.webpackChunk_reltio_remotes=self.webpackChunk_reltio_remotes||[]).push([[9016,3463],{40855:(e,t,r)=>{r.d(t,{tP:()=>h,NU:()=>y,ZP:()=>v});var n=r(7896),i=r(31461),s=r(24328),o=r(70882),a=r(54426),l=r(59938),u=r(52322);const c=["children","injectFirst","disableGeneration"],f=(0,o.Ue)((0,l.Z)()),d=(0,a.Z)(),h=new Map,p={disableGeneration:!1,generateClassName:d,jss:f,sheetsCache:null,sheetsManager:h,sheetsRegistry:null},y=s.createContext(p);let m;function v(e){const{children:t,injectFirst:r=!1,disableGeneration:a=!1}=e,f=(0,i.Z)(e,c),d=s.useContext(y),{generateClassName:h,jss:p,serverGenerateClassName:v,sheetsCache:g,sheetsManager:b,sheetsRegistry:S}=(0,n.Z)({},d,f),x=s.useMemo((()=>{const e={disableGeneration:a,generateClassName:h,jss:p,serverGenerateClassName:v,sheetsCache:g,sheetsManager:b,sheetsRegistry:S};if(!e.jss.options.insertionPoint&&r&&"undefined"!=typeof window){if(!m){const e=document.head;m=document.createComment("mui-inject-first"),e.insertBefore(m,e.firstChild)}e.jss=(0,o.Ue)({plugins:(0,l.Z)().plugins,insertionPoint:m})}return e}),[r,a,h,p,v,g,b,S]);return(0,u.jsx)(y.Provider,{value:x,children:t})}},54426:(e,t,r)=>{r.d(t,{Z:()=>s});var n=r(53227);const i=["checked","disabled","error","focused","focusVisible","required","expanded","selected"];function s(e={}){const{disableGlobal:t=!1,productionPrefix:r="jss",seed:s=""}=e,o=""===s?"":`${s}-`;let a=0;const l=()=>(a+=1,a);return(e,a)=>{const u=a.options.name;if(u&&0===u.indexOf("Mui")&&!a.options.link&&!t){if(-1!==i.indexOf(e.key))return`Mui-${e.key}`;const t=`${o}${u}-${e.key}`;return a.options.theme[n.Z]&&""===s?`${t}-${l()}`:t}return`${o}${r}${l()}`}}},61041:(e,t,r)=>{r.d(t,{Z:()=>i});var n=r(7896);function i(e){const{theme:t,name:r,props:i}=e;if(!(t&&t.components&&t.components[r]&&t.components[r].defaultProps))return i;const s=(0,n.Z)({},i),o=t.components[r].defaultProps;let a;for(a in o)void 0===s[a]&&(s[a]=o[a]);return s}},59938:(e,t,r)=>{r.d(t,{Z:()=>Ae});var n=r(70882),i=Date.now(),s="fnValues"+i,o="fnStyle"+ ++i;var a=r(7896),l="@global",u="@global ",c=function(){function e(e,t,r){for(var i in this.type="global",this.at=l,this.isProcessed=!1,this.key=e,this.options=r,this.rules=new n.RB((0,a.Z)({},r,{parent:this})),t)this.rules.add(i,t[i]);this.rules.process()}var t=e.prototype;return t.getRule=function(e){return this.rules.get(e)},t.addRule=function(e,t,r){var n=this.rules.add(e,t,r);return n&&this.options.jss.plugins.onProcessRule(n),n},t.replaceRule=function(e,t,r){var n=this.rules.replace(e,t,r);return n&&this.options.jss.plugins.onProcessRule(n),n},t.indexOf=function(e){return this.rules.indexOf(e)},t.toString=function(e){return this.rules.toString(e)},e}(),f=function(){function e(e,t,r){this.type="global",this.at=l,this.isProcessed=!1,this.key=e,this.options=r;var n=e.substr(u.length);this.rule=r.jss.createRule(n,t,(0,a.Z)({},r,{parent:this}))}return e.prototype.toString=function(e){return this.rule?this.rule.toString(e):""},e}(),d=/\s*,\s*/g;function h(e,t){for(var r=e.split(d),n="",i=0;i<r.length;i++)n+=t+" "+r[i].trim(),r[i+1]&&(n+=", ");return n}var p=/\s*,\s*/g,y=/&/g,m=/\$([\w-]+)/g;const v=function(){function e(e,t){return function(r,n){var i=e.getRule(n)||t&&t.getRule(n);return i?i.selector:n}}function t(e,t){for(var r=t.split(p),n=e.split(p),i="",s=0;s<r.length;s++)for(var o=r[s],a=0;a<n.length;a++){var l=n[a];i&&(i+=", "),i+=-1!==l.indexOf("&")?l.replace(y,o):o+" "+l}return i}function r(e,t,r){if(r)return(0,a.Z)({},r,{index:r.index+1});var n=e.options.nestingLevel;n=void 0===n?1:n+1;var i=(0,a.Z)({},e.options,{nestingLevel:n,index:t.indexOf(e)+1});return delete i.name,i}return{onProcessStyle:function(n,i,s){if("style"!==i.type)return n;var o,l,u=i,c=u.options.parent;for(var f in n){var d=-1!==f.indexOf("&"),h="@"===f[0];if(d||h){if(o=r(u,c,o),d){var p=t(f,u.selector);l||(l=e(c,s)),p=p.replace(m,l);var y=u.key+"-"+f;"replaceRule"in c?c.replaceRule(y,n[f],(0,a.Z)({},o,{selector:p})):c.addRule(y,n[f],(0,a.Z)({},o,{selector:p}))}else h&&c.addRule(f,{},o).addRule(u.key,n[f],{selector:u.selector});delete n[f]}}return n}}};var g=/[A-Z]/g,b=/^ms-/,S={};function x(e){return"-"+e.toLowerCase()}const k=function(e){if(S.hasOwnProperty(e))return S[e];var t=e.replace(g,x);return S[e]=b.test(t)?"-"+t:t};function w(e){var t={};for(var r in e)t[0===r.indexOf("--")?r:k(r)]=e[r];return e.fallbacks&&(Array.isArray(e.fallbacks)?t.fallbacks=e.fallbacks.map(w):t.fallbacks=w(e.fallbacks)),t}var P=n.HZ&&CSS?CSS.px:"px",R=n.HZ&&CSS?CSS.ms:"ms",C=n.HZ&&CSS?CSS.percent:"%";function Z(e){var t=/(-[a-z])/g,r=function(e){return e[1].toUpperCase()},n={};for(var i in e)n[i]=e[i],n[i.replace(t,r)]=e[i];return n}var j=Z({"animation-delay":R,"animation-duration":R,"background-position":P,"background-position-x":P,"background-position-y":P,"background-size":P,border:P,"border-bottom":P,"border-bottom-left-radius":P,"border-bottom-right-radius":P,"border-bottom-width":P,"border-left":P,"border-left-width":P,"border-radius":P,"border-right":P,"border-right-width":P,"border-top":P,"border-top-left-radius":P,"border-top-right-radius":P,"border-top-width":P,"border-width":P,"border-block":P,"border-block-end":P,"border-block-end-width":P,"border-block-start":P,"border-block-start-width":P,"border-block-width":P,"border-inline":P,"border-inline-end":P,"border-inline-end-width":P,"border-inline-start":P,"border-inline-start-width":P,"border-inline-width":P,"border-start-start-radius":P,"border-start-end-radius":P,"border-end-start-radius":P,"border-end-end-radius":P,margin:P,"margin-bottom":P,"margin-left":P,"margin-right":P,"margin-top":P,"margin-block":P,"margin-block-end":P,"margin-block-start":P,"margin-inline":P,"margin-inline-end":P,"margin-inline-start":P,padding:P,"padding-bottom":P,"padding-left":P,"padding-right":P,"padding-top":P,"padding-block":P,"padding-block-end":P,"padding-block-start":P,"padding-inline":P,"padding-inline-end":P,"padding-inline-start":P,"mask-position-x":P,"mask-position-y":P,"mask-size":P,height:P,width:P,"min-height":P,"max-height":P,"min-width":P,"max-width":P,bottom:P,left:P,top:P,right:P,inset:P,"inset-block":P,"inset-block-end":P,"inset-block-start":P,"inset-inline":P,"inset-inline-end":P,"inset-inline-start":P,"box-shadow":P,"text-shadow":P,"column-gap":P,"column-rule":P,"column-rule-width":P,"column-width":P,"font-size":P,"font-size-delta":P,"letter-spacing":P,"text-decoration-thickness":P,"text-indent":P,"text-stroke":P,"text-stroke-width":P,"word-spacing":P,motion:P,"motion-offset":P,outline:P,"outline-offset":P,"outline-width":P,perspective:P,"perspective-origin-x":C,"perspective-origin-y":C,"transform-origin":C,"transform-origin-x":C,"transform-origin-y":C,"transform-origin-z":C,"transition-delay":R,"transition-duration":R,"vertical-align":P,"flex-basis":P,"shape-margin":P,size:P,gap:P,grid:P,"grid-gap":P,"row-gap":P,"grid-row-gap":P,"grid-column-gap":P,"grid-template-rows":P,"grid-template-columns":P,"grid-auto-rows":P,"grid-auto-columns":P,"box-shadow-x":P,"box-shadow-y":P,"box-shadow-blur":P,"box-shadow-spread":P,"font-line-height":P,"text-shadow-x":P,"text-shadow-y":P,"text-shadow-blur":P});function O(e,t,r){if(null==t)return t;if(Array.isArray(t))for(var n=0;n<t.length;n++)t[n]=O(e,t[n],r);else if("object"==typeof t)if("fallbacks"===e)for(var i in t)t[i]=O(i,t[i],r);else for(var s in t)t[s]=O(e+"-"+s,t[s],r);else if("number"==typeof t&&!1===isNaN(t)){var o=r[e]||j[e];return!o||0===t&&o===P?t.toString():"function"==typeof o?o(t).toString():""+t+o}return t}const $=function(e){void 0===e&&(e={});var t=Z(e);return{onProcessStyle:function(e,r){if("style"!==r.type)return e;for(var n in e)e[n]=O(n,e[n],t);return e},onChangeValue:function(e,r){return O(r,e,t)}}};var A=r(20653),M=r(38777),N="",E="",I="",T="",_=A.Z&&"ontouchstart"in document.documentElement;if(A.Z){var G={Moz:"-moz-",ms:"-ms-",O:"-o-",Webkit:"-webkit-"},z=document.createElement("p").style;for(var V in G)if(V+"Transform"in z){N=V,E=G[V];break}"Webkit"===N&&"msHyphens"in z&&(N="ms",E=G.ms,T="edge"),"Webkit"===N&&"-apple-trailing-word"in z&&(I="apple")}var q=N,U=E,F=I,W=T,D=_,J={noPrefill:["appearance"],supportedProperty:function(e){return"appearance"===e&&("ms"===q?"-webkit-"+e:U+e)}},H={noPrefill:["color-adjust"],supportedProperty:function(e){return"color-adjust"===e&&("Webkit"===q?U+"print-"+e:e)}},B=/[-\s]+(.)?/g;function L(e,t){return t?t.toUpperCase():""}function K(e){return e.replace(B,L)}function Y(e){return K("-"+e)}var Q,X={noPrefill:["mask"],supportedProperty:function(e,t){if(!/^mask/.test(e))return!1;if("Webkit"===q){var r="mask-image";if(K(r)in t)return e;if(q+Y(r)in t)return U+e}return e}},ee={noPrefill:["text-orientation"],supportedProperty:function(e){return"text-orientation"===e&&("apple"!==F||D?e:U+e)}},te={noPrefill:["transform"],supportedProperty:function(e,t,r){return"transform"===e&&(r.transform?e:U+e)}},re={noPrefill:["transition"],supportedProperty:function(e,t,r){return"transition"===e&&(r.transition?e:U+e)}},ne={noPrefill:["writing-mode"],supportedProperty:function(e){return"writing-mode"===e&&("Webkit"===q||"ms"===q&&"edge"!==W?U+e:e)}},ie={noPrefill:["user-select"],supportedProperty:function(e){return"user-select"===e&&("Moz"===q||"ms"===q||"apple"===F?U+e:e)}},se={supportedProperty:function(e,t){return!!/^break-/.test(e)&&("Webkit"===q?"WebkitColumn"+Y(e)in t&&U+"column-"+e:"Moz"===q&&"page"+Y(e)in t&&"page-"+e)}},oe={supportedProperty:function(e,t){if(!/^(border|margin|padding)-inline/.test(e))return!1;if("Moz"===q)return e;var r=e.replace("-inline","");return q+Y(r)in t&&U+r}},ae={supportedProperty:function(e,t){return K(e)in t&&e}},le={supportedProperty:function(e,t){var r=Y(e);return"-"===e[0]||"-"===e[0]&&"-"===e[1]?e:q+r in t?U+e:"Webkit"!==q&&"Webkit"+r in t&&"-webkit-"+e}},ue={supportedProperty:function(e){return"scroll-snap"===e.substring(0,11)&&("ms"===q?""+U+e:e)}},ce={supportedProperty:function(e){return"overscroll-behavior"===e&&("ms"===q?U+"scroll-chaining":e)}},fe={"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"},de={supportedProperty:function(e,t){var r=fe[e];return!!r&&q+Y(r)in t&&U+r}},he={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"},pe=Object.keys(he),ye=function(e){return U+e},me={supportedProperty:function(e,t,r){var n=r.multiple;if(pe.indexOf(e)>-1){var i=he[e];if(!Array.isArray(i))return q+Y(i)in t&&U+i;if(!n)return!1;for(var s=0;s<i.length;s++)if(!(q+Y(i[0])in t))return!1;return i.map(ye)}return!1}},ve=[J,H,X,ee,te,re,ne,ie,se,oe,ae,le,ue,ce,de,me],ge=ve.filter((function(e){return e.supportedProperty})).map((function(e){return e.supportedProperty})),be=ve.filter((function(e){return e.noPrefill})).reduce((function(e,t){return e.push.apply(e,(0,M.Z)(t.noPrefill)),e}),[]),Se={};if(A.Z){Q=document.createElement("p");var xe=window.getComputedStyle(document.documentElement,"");for(var ke in xe)isNaN(ke)||(Se[xe[ke]]=xe[ke]);be.forEach((function(e){return delete Se[e]}))}function we(e,t){if(void 0===t&&(t={}),!Q)return e;if(null!=Se[e])return Se[e];"transition"!==e&&"transform"!==e||(t[e]=e in Q.style);for(var r=0;r<ge.length&&(Se[e]=ge[r](e,Q.style,t),!Se[e]);r++);try{Q.style[e]=""}catch(e){return!1}return Se[e]}var Pe,Re={},Ce={transition:1,"transition-property":1,"-webkit-transition":1,"-webkit-transition-property":1},Ze=/(^\s*[\w-]+)|, (\s*[\w-]+)(?![^()]*\))/g;function je(e,t,r){return"var"===t?"var":"all"===t?"all":"all"===r?", all":(t?we(t):", "+we(r))||t||r}function Oe(e,t){var r=t;if(!Pe||"content"===e)return t;if("string"!=typeof r||!isNaN(parseInt(r,10)))return r;var n=e+r;if(null!=Re[n])return Re[n];try{Pe.style[e]=r}catch(e){return Re[n]=!1,!1}if(Ce[e])r=r.replace(Ze,je);else if(""===Pe.style[e]&&("-ms-flex"===(r=U+r)&&(Pe.style[e]="-ms-flexbox"),Pe.style[e]=r,""===Pe.style[e]))return Re[n]=!1,!1;return Pe.style[e]="",Re[n]=r,Re[n]}A.Z&&(Pe=document.createElement("p"));const $e=function(){function e(t){for(var r in t){var i=t[r];if("fallbacks"===r&&Array.isArray(i))t[r]=i.map(e);else{var s=!1,o=we(r);o&&o!==r&&(s=!0);var a=!1,l=Oe(o,(0,n.EK)(i));l&&l!==i&&(a=!0),(s||a)&&(s&&delete t[r],t[o||r]=l||i)}}return t}return{onProcessRule:function(e){if("keyframes"===e.type){var t=e;t.at=function(e){return"-"===e[1]||"ms"===q?e:"@"+U+"keyframes"+e.substr(10)}(t.at)}},onProcessStyle:function(t,r){return"style"!==r.type?t:e(t)},onChangeValue:function(e,t){return Oe(t,(0,n.EK)(e))||e}}};function Ae(){return{plugins:[{onCreateRule:function(e,t,r){if("function"!=typeof t)return null;var i=(0,n.JH)(e,{},r);return i[o]=t,i},onProcessStyle:function(e,t){if(s in t||o in t)return e;var r={};for(var n in e){var i=e[n];"function"==typeof i&&(delete e[n],r[n]=i)}return t[s]=r,e},onUpdate:function(e,t,r,n){var i=t,a=i[o];a&&(i.style=a(e)||{});var l=i[s];if(l)for(var u in l)i.prop(u,l[u](e),n)}},{onCreateRule:function(e,t,r){if(!e)return null;if(e===l)return new c(e,t,r);if("@"===e[0]&&e.substr(0,u.length)===u)return new f(e,t,r);var n=r.parent;return n&&("global"===n.type||n.options.parent&&"global"===n.options.parent.type)&&(r.scoped=!1),r.selector||!1!==r.scoped||(r.selector=e),null},onProcessRule:function(e,t){"style"===e.type&&t&&(function(e,t){var r=e.options,n=e.style,i=n?n[l]:null;if(i){for(var s in i)t.addRule(s,i[s],(0,a.Z)({},r,{selector:h(s,e.selector)}));delete n[l]}}(e,t),function(e,t){var r=e.options,n=e.style;for(var i in n)if("@"===i[0]&&i.substr(0,l.length)===l){var s=h(i.substr(l.length),e.selector);t.addRule(s,n[i],(0,a.Z)({},r,{selector:s})),delete n[i]}}(e,t))}},v(),{onProcessStyle:function(e){if(Array.isArray(e)){for(var t=0;t<e.length;t++)e[t]=w(e[t]);return e}return w(e)},onChangeValue:function(e,t,r){if(0===t.indexOf("--"))return e;var n=k(t);return t===n?e:(r.prop(n,e),null)}},$(),"undefined"==typeof window?null:$e(),(e=function(e,t){return e.length===t.length?e>t?1:-1:e.length-t.length},{onProcessStyle:function(t,r){if("style"!==r.type)return t;for(var n={},i=Object.keys(t).sort(e),s=0;s<i.length;s++)n[i[s]]=t[i[s]];return n}})]};var e}},24142:(e,t,r)=>{r.d(t,{Z:()=>g});var n=r(31461),i=r(7896),s=r(24328),o=r(70882),a=r(14691);const l=(e,t,r,n)=>{let i=e.get(t);i||(i=new Map,e.set(t,i)),i.set(r,n)},u=(e,t,r)=>{const n=e.get(t);return n?n.get(r):void 0},c=(e,t,r)=>{e.get(t).delete(r)};var f=r(96170),d=r(40855);let h=-1e9;var p=r(48970),y=r(93298);const m={},v=["name","classNamePrefix","Component","defaultTheme"];function g(e,t={}){const{name:r,classNamePrefix:g,Component:b,defaultTheme:S=m}=t,x=(0,n.Z)(t,v),k=function(e){const t="function"==typeof e;return{create:(r,n)=>{let s;try{s=t?e(r):e}catch(e){throw e}if(!n||!r.components||!r.components[n]||!r.components[n].styleOverrides&&!r.components[n].variants)return s;const o=r.components[n].styleOverrides||{},a=r.components[n].variants||[],l=(0,i.Z)({},s);return Object.keys(o).forEach((e=>{l[e]=(0,p.Z)(l[e]||{},o[e])})),a.forEach((e=>{const t=(0,y.Z)(e.props);l[t]=(0,p.Z)(l[t]||{},e.style)})),l},options:{}}}(e),w=r||g||"makeStyles";return k.options={index:(h+=1,h),name:r,meta:w,classNamePrefix:w},(e={})=>{const t=(0,f.Z)()||S,n=(0,i.Z)({},s.useContext(d.NU),x),h=s.useRef(),p=s.useRef();!function(f,d){const y=s.useRef([]);let m;const v=s.useMemo((()=>({})),d);y.current!==v&&(y.current=v,m=(()=>{const s={name:r,state:{},stylesCreator:k,stylesOptions:n,theme:t};return function({state:e,theme:t,stylesOptions:r,stylesCreator:n,name:s},c){if(r.disableGeneration)return;let f=u(r.sheetsManager,n,t);f||(f={refs:0,staticSheet:null,dynamicStyles:null},l(r.sheetsManager,n,t,f));const d=(0,i.Z)({},n.options,r,{theme:t,flip:"boolean"==typeof r.flip?r.flip:"rtl"===t.direction});d.generateId=d.serverGenerateClassName||d.generateClassName;const h=r.sheetsRegistry;if(0===f.refs){let e;r.sheetsCache&&(e=u(r.sheetsCache,n,t));const a=n.create(t,s);e||(e=r.jss.createStyleSheet(a,(0,i.Z)({link:!1},d)),e.attach(),r.sheetsCache&&l(r.sheetsCache,n,t,e)),h&&h.add(e),f.staticSheet=e,f.dynamicStyles=(0,o._$)(a)}if(f.dynamicStyles){const t=r.jss.createStyleSheet(f.dynamicStyles,(0,i.Z)({link:!0},d));t.update(c),t.attach(),e.dynamicSheet=t,e.classes=(0,a.Z)({baseClasses:f.staticSheet.classes,newClasses:t.classes}),h&&h.add(t)}else e.classes=f.staticSheet.classes;f.refs+=1}(s,e),p.current=!1,h.current=s,()=>{!function({state:e,theme:t,stylesOptions:r,stylesCreator:n}){if(r.disableGeneration)return;const i=u(r.sheetsManager,n,t);i.refs-=1;const s=r.sheetsRegistry;0===i.refs&&(c(r.sheetsManager,n,t),r.jss.removeStyleSheet(i.staticSheet),s&&s.remove(i.staticSheet)),e.dynamicSheet&&(r.jss.removeStyleSheet(e.dynamicSheet),s&&s.remove(e.dynamicSheet))}(s)}})()),s.useEffect((()=>()=>{m&&m()}),[v])}(0,[t,k]),s.useEffect((()=>{p.current&&function({state:e},t){e.dynamicSheet&&e.dynamicSheet.update(t)}(h.current,e),p.current=!0}));const y=function({state:e,stylesOptions:t},r,n){if(t.disableGeneration)return r||{};e.cacheClasses||(e.cacheClasses={value:null,lastProp:null,lastJSS:{}});let i=!1;return e.classes!==e.cacheClasses.lastJSS&&(e.cacheClasses.lastJSS=e.classes,i=!0),r!==e.cacheClasses.lastProp&&(e.cacheClasses.lastProp=r,i=!0),i&&(e.cacheClasses.value=(0,a.Z)({baseClasses:e.cacheClasses.lastJSS,newClasses:r,Component:n})),e.cacheClasses.value}(h.current,e.classes,b);return y}}},14691:(e,t,r)=>{r.d(t,{Z:()=>i});var n=r(7896);function i(e={}){const{baseClasses:t,newClasses:r,Component:i}=e;if(!r)return t;const s=(0,n.Z)({},t);return Object.keys(r).forEach((e=>{r[e]&&(s[e]=`${t[e]} ${r[e]}`)})),s}},93298:(e,t,r)=>{r.d(t,{Z:()=>a});var n=r(31461),i=r(1290);const s=["variant"];function o(e){return 0===e.length}function a(e){const{variant:t}=e,r=(0,n.Z)(e,s);let a=t||"";return Object.keys(r).sort().forEach((t=>{a+="color"===t?o(a)?e[t]:(0,i.Z)(e[t]):`${o(a)?t:(0,i.Z)(t)}${(0,i.Z)(e[t].toString())}`})),a}},96170:(e,t,r)=>{r.d(t,{Z:()=>i});var n=r(47903);function i(){var e;const t=(0,n.Z)();return null!=(e=null==t?void 0:t.$$material)?e:t}},79016:(e,t,r)=>{r.d(t,{Z:()=>p});var n=r(7896),i=r(31461),s=r(24328),o=r(73463),a=r.n(o),l=r(24142),u=r(61041),c=r(96170),f=r(52322);const d=["defaultTheme","withTheme","name"],h=["classes"],p=(e,t={})=>r=>{const{defaultTheme:o,withTheme:p=!1,name:y}=t,m=(0,i.Z)(t,d);let v=y;const g=(0,l.Z)(e,(0,n.Z)({defaultTheme:o,Component:r,name:y||r.displayName,classNamePrefix:v},m)),b=s.forwardRef((function(e,t){const s=(0,i.Z)(e,h),a=g((0,n.Z)({},r.defaultProps,e));let l,d=s;return("string"==typeof y||p)&&(l=(0,c.Z)()||o,y&&(d=(0,u.Z)({theme:l,name:y,props:s})),p&&!d.theme&&(d.theme=l)),(0,f.jsx)(r,(0,n.Z)({ref:t,classes:a},d))}));return a()(b,r),b}},73463:(e,t,r)=>{var n=r(48570),i={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},s={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},o={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},a={};function l(e){return n.isMemo(e)?o:a[e.$$typeof]||i}a[n.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},a[n.Memo]=o;var u=Object.defineProperty,c=Object.getOwnPropertyNames,f=Object.getOwnPropertySymbols,d=Object.getOwnPropertyDescriptor,h=Object.getPrototypeOf,p=Object.prototype;e.exports=function e(t,r,n){if("string"!=typeof r){if(p){var i=h(r);i&&i!==p&&e(t,i,n)}var o=c(r);f&&(o=o.concat(f(r)));for(var a=l(t),y=l(r),m=0;m<o.length;++m){var v=o[m];if(!(s[v]||n&&n[v]||y&&y[v]||a&&a[v])){var g=d(r,v);try{u(t,v,g)}catch(e){}}}}return t}},20653:(e,t,r)=>{r.d(t,{Z:()=>i});var n="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};const i="object"===("undefined"==typeof window?"undefined":n(window))&&"object"===("undefined"==typeof document?"undefined":n(document))&&9===document.nodeType},70882:(e,t,r)=>{r.d(t,{RB:()=>B,xE:()=>Y,Ue:()=>ye,JH:()=>f,_$:()=>ve,HZ:()=>me,EK:()=>h});var n=r(7896),i=r(20653),s=r(87371),o=r(81665),a=r(80753),l=r(31461),u={}.constructor;function c(e){if(null==e||"object"!=typeof e)return e;if(Array.isArray(e))return e.map(c);if(e.constructor!==u)return e;var t={};for(var r in e)t[r]=c(e[r]);return t}function f(e,t,r){void 0===e&&(e="unnamed");var n=r.jss,i=c(t);return n.plugins.onCreateRule(e,i,r)||(e[0],null)}var d=function(e,t){for(var r="",n=0;n<e.length&&"!important"!==e[n];n++)r&&(r+=t),r+=e[n];return r},h=function(e){if(!Array.isArray(e))return e;var t="";if(Array.isArray(e[0]))for(var r=0;r<e.length&&"!important"!==e[r];r++)t&&(t+=", "),t+=d(e[r]," ");else t=d(e,", ");return"!important"===e[e.length-1]&&(t+=" !important"),t};function p(e){return e&&!1===e.format?{linebreak:"",space:""}:{linebreak:"\n",space:" "}}function y(e,t){for(var r="",n=0;n<t;n++)r+=" ";return r+e}function m(e,t,r){void 0===r&&(r={});var n="";if(!t)return n;var i=r.indent,s=void 0===i?0:i,o=t.fallbacks;!1===r.format&&(s=-1/0);var a=p(r),l=a.linebreak,u=a.space;if(e&&s++,o)if(Array.isArray(o))for(var c=0;c<o.length;c++){var f=o[c];for(var d in f){var m=f[d];null!=m&&(n&&(n+=l),n+=y(d+":"+u+h(m)+";",s))}}else for(var v in o){var g=o[v];null!=g&&(n&&(n+=l),n+=y(v+":"+u+h(g)+";",s))}for(var b in t){var S=t[b];null!=S&&"fallbacks"!==b&&(n&&(n+=l),n+=y(b+":"+u+h(S)+";",s))}return(n||r.allowEmpty)&&e?(n&&(n=""+l+n+l),y(""+e+u+"{"+n,--s)+y("}",s)):n}var v=/([[\].#*$><+~=|^:(),"'`\s])/g,g="undefined"!=typeof CSS&&CSS.escape,b=function(e){return g?g(e):e.replace(v,"\\$1")},S=function(){function e(e,t,r){this.type="style",this.isProcessed=!1;var n=r.sheet,i=r.Renderer;this.key=e,this.options=r,this.style=t,n?this.renderer=n.renderer:i&&(this.renderer=new i)}return e.prototype.prop=function(e,t,r){if(void 0===t)return this.style[e];var n=!!r&&r.force;if(!n&&this.style[e]===t)return this;var i=t;r&&!1===r.process||(i=this.options.jss.plugins.onChangeValue(t,e,this));var s=null==i||!1===i,o=e in this.style;if(s&&!o&&!n)return this;var a=s&&o;if(a?delete this.style[e]:this.style[e]=i,this.renderable&&this.renderer)return a?this.renderer.removeProperty(this.renderable,e):this.renderer.setProperty(this.renderable,e,i),this;var l=this.options.sheet;return l&&l.attached,this},e}(),x=function(e){function t(t,r,n){var i;i=e.call(this,t,r,n)||this;var s=n.selector,o=n.scoped,l=n.sheet,u=n.generateId;return s?i.selectorText=s:!1!==o&&(i.id=u((0,a.Z)((0,a.Z)(i)),l),i.selectorText="."+b(i.id)),i}(0,o.Z)(t,e);var r=t.prototype;return r.applyTo=function(e){var t=this.renderer;if(t){var r=this.toJSON();for(var n in r)t.setProperty(e,n,r[n])}return this},r.toJSON=function(){var e={};for(var t in this.style){var r=this.style[t];"object"!=typeof r?e[t]=r:Array.isArray(r)&&(e[t]=h(r))}return e},r.toString=function(e){var t=this.options.sheet,r=t&&t.options.link?(0,n.Z)({},e,{allowEmpty:!0}):e;return m(this.selectorText,this.style,r)},(0,s.Z)(t,[{key:"selector",set:function(e){if(e!==this.selectorText){this.selectorText=e;var t=this.renderer,r=this.renderable;r&&t&&(t.setSelector(r,e)||t.replaceRule(r,this))}},get:function(){return this.selectorText}}]),t}(S),k={onCreateRule:function(e,t,r){return"@"===e[0]||r.parent&&"keyframes"===r.parent.type?null:new x(e,t,r)}},w={indent:1,children:!0},P=/@([\w-]+)/,R=function(){function e(e,t,r){this.type="conditional",this.isProcessed=!1,this.key=e;var i=e.match(P);for(var s in this.at=i?i[1]:"unknown",this.query=r.name||"@"+this.at,this.options=r,this.rules=new B((0,n.Z)({},r,{parent:this})),t)this.rules.add(s,t[s]);this.rules.process()}var t=e.prototype;return t.getRule=function(e){return this.rules.get(e)},t.indexOf=function(e){return this.rules.indexOf(e)},t.addRule=function(e,t,r){var n=this.rules.add(e,t,r);return n?(this.options.jss.plugins.onProcessRule(n),n):null},t.replaceRule=function(e,t,r){var n=this.rules.replace(e,t,r);return n&&this.options.jss.plugins.onProcessRule(n),n},t.toString=function(e){void 0===e&&(e=w);var t=p(e).linebreak;if(null==e.indent&&(e.indent=w.indent),null==e.children&&(e.children=w.children),!1===e.children)return this.query+" {}";var r=this.rules.toString(e);return r?this.query+" {"+t+r+t+"}":""},e}(),C=/@container|@media|@supports\s+/,Z={onCreateRule:function(e,t,r){return C.test(e)?new R(e,t,r):null}},j={indent:1,children:!0},O=/@keyframes\s+([\w-]+)/,$=function(){function e(e,t,r){this.type="keyframes",this.at="@keyframes",this.isProcessed=!1;var i=e.match(O);i&&i[1]?this.name=i[1]:this.name="noname",this.key=this.type+"-"+this.name,this.options=r;var s=r.scoped,o=r.sheet,a=r.generateId;for(var l in this.id=!1===s?this.name:b(a(this,o)),this.rules=new B((0,n.Z)({},r,{parent:this})),t)this.rules.add(l,t[l],(0,n.Z)({},r,{parent:this}));this.rules.process()}return e.prototype.toString=function(e){void 0===e&&(e=j);var t=p(e).linebreak;if(null==e.indent&&(e.indent=j.indent),null==e.children&&(e.children=j.children),!1===e.children)return this.at+" "+this.id+" {}";var r=this.rules.toString(e);return r&&(r=""+t+r+t),this.at+" "+this.id+" {"+r+"}"},e}(),A=/@keyframes\s+/,M=/\$([\w-]+)/g,N=function(e,t){return"string"==typeof e?e.replace(M,(function(e,r){return r in t?t[r]:e})):e},E=function(e,t,r){var n=e[t],i=N(n,r);i!==n&&(e[t]=i)},I={onCreateRule:function(e,t,r){return"string"==typeof e&&A.test(e)?new $(e,t,r):null},onProcessStyle:function(e,t,r){return"style"===t.type&&r?("animation-name"in e&&E(e,"animation-name",r.keyframes),"animation"in e&&E(e,"animation",r.keyframes),e):e},onChangeValue:function(e,t,r){var n=r.options.sheet;if(!n)return e;switch(t){case"animation":case"animation-name":return N(e,n.keyframes);default:return e}}},T=function(e){function t(){return e.apply(this,arguments)||this}return(0,o.Z)(t,e),t.prototype.toString=function(e){var t=this.options.sheet,r=t&&t.options.link?(0,n.Z)({},e,{allowEmpty:!0}):e;return m(this.key,this.style,r)},t}(S),_={onCreateRule:function(e,t,r){return r.parent&&"keyframes"===r.parent.type?new T(e,t,r):null}},G=function(){function e(e,t,r){this.type="font-face",this.at="@font-face",this.isProcessed=!1,this.key=e,this.style=t,this.options=r}return e.prototype.toString=function(e){var t=p(e).linebreak;if(Array.isArray(this.style)){for(var r="",n=0;n<this.style.length;n++)r+=m(this.at,this.style[n]),this.style[n+1]&&(r+=t);return r}return m(this.at,this.style,e)},e}(),z=/@font-face/,V={onCreateRule:function(e,t,r){return z.test(e)?new G(e,t,r):null}},q=function(){function e(e,t,r){this.type="viewport",this.at="@viewport",this.isProcessed=!1,this.key=e,this.style=t,this.options=r}return e.prototype.toString=function(e){return m(this.key,this.style,e)},e}(),U={onCreateRule:function(e,t,r){return"@viewport"===e||"@-ms-viewport"===e?new q(e,t,r):null}},F=function(){function e(e,t,r){this.type="simple",this.isProcessed=!1,this.key=e,this.value=t,this.options=r}return e.prototype.toString=function(e){if(Array.isArray(this.value)){for(var t="",r=0;r<this.value.length;r++)t+=this.key+" "+this.value[r]+";",this.value[r+1]&&(t+="\n");return t}return this.key+" "+this.value+";"},e}(),W={"@charset":!0,"@import":!0,"@namespace":!0},D=[k,Z,I,_,V,U,{onCreateRule:function(e,t,r){return e in W?new F(e,t,r):null}}],J={process:!0},H={force:!0,process:!0},B=function(){function e(e){this.map={},this.raw={},this.index=[],this.counter=0,this.options=e,this.classes=e.classes,this.keyframes=e.keyframes}var t=e.prototype;return t.add=function(e,t,r){var i=this.options,s=i.parent,o=i.sheet,a=i.jss,l=i.Renderer,u=i.generateId,c=i.scoped,d=(0,n.Z)({classes:this.classes,parent:s,sheet:o,jss:a,Renderer:l,generateId:u,scoped:c,name:e,keyframes:this.keyframes,selector:void 0},r),h=e;e in this.raw&&(h=e+"-d"+this.counter++),this.raw[h]=t,h in this.classes&&(d.selector="."+b(this.classes[h]));var p=f(h,t,d);if(!p)return null;this.register(p);var y=void 0===d.index?this.index.length:d.index;return this.index.splice(y,0,p),p},t.replace=function(e,t,r){var i=this.get(e),s=this.index.indexOf(i);i&&this.remove(i);var o=r;return-1!==s&&(o=(0,n.Z)({},r,{index:s})),this.add(e,t,o)},t.get=function(e){return this.map[e]},t.remove=function(e){this.unregister(e),delete this.raw[e.key],this.index.splice(this.index.indexOf(e),1)},t.indexOf=function(e){return this.index.indexOf(e)},t.process=function(){var e=this.options.jss.plugins;this.index.slice(0).forEach(e.onProcessRule,e)},t.register=function(e){this.map[e.key]=e,e instanceof x?(this.map[e.selector]=e,e.id&&(this.classes[e.key]=e.id)):e instanceof $&&this.keyframes&&(this.keyframes[e.name]=e.id)},t.unregister=function(e){delete this.map[e.key],e instanceof x?(delete this.map[e.selector],delete this.classes[e.key]):e instanceof $&&delete this.keyframes[e.name]},t.update=function(){var e,t,r;if("string"==typeof(arguments.length<=0?void 0:arguments[0])?(e=arguments.length<=0?void 0:arguments[0],t=arguments.length<=1?void 0:arguments[1],r=arguments.length<=2?void 0:arguments[2]):(t=arguments.length<=0?void 0:arguments[0],r=arguments.length<=1?void 0:arguments[1],e=null),e)this.updateOne(this.get(e),t,r);else for(var n=0;n<this.index.length;n++)this.updateOne(this.index[n],t,r)},t.updateOne=function(t,r,n){void 0===n&&(n=J);var i=this.options,s=i.jss.plugins,o=i.sheet;if(t.rules instanceof e)t.rules.update(r,n);else{var a=t.style;if(s.onUpdate(r,t,o,n),n.process&&a&&a!==t.style){for(var l in s.onProcessStyle(t.style,t,o),t.style){var u=t.style[l];u!==a[l]&&t.prop(l,u,H)}for(var c in a){var f=t.style[c],d=a[c];null==f&&f!==d&&t.prop(c,null,H)}}}},t.toString=function(e){for(var t="",r=this.options.sheet,n=!!r&&r.options.link,i=p(e).linebreak,s=0;s<this.index.length;s++){var o=this.index[s].toString(e);(o||n)&&(t&&(t+=i),t+=o)}return t},e}(),L=function(){function e(e,t){for(var r in this.attached=!1,this.deployed=!1,this.classes={},this.keyframes={},this.options=(0,n.Z)({},t,{sheet:this,parent:this,classes:this.classes,keyframes:this.keyframes}),t.Renderer&&(this.renderer=new t.Renderer(this)),this.rules=new B(this.options),e)this.rules.add(r,e[r]);this.rules.process()}var t=e.prototype;return t.attach=function(){return this.attached||(this.renderer&&this.renderer.attach(),this.attached=!0,this.deployed||this.deploy()),this},t.detach=function(){return this.attached?(this.renderer&&this.renderer.detach(),this.attached=!1,this):this},t.addRule=function(e,t,r){var n=this.queue;this.attached&&!n&&(this.queue=[]);var i=this.rules.add(e,t,r);return i?(this.options.jss.plugins.onProcessRule(i),this.attached?this.deployed?(n?n.push(i):(this.insertRule(i),this.queue&&(this.queue.forEach(this.insertRule,this),this.queue=void 0)),i):i:(this.deployed=!1,i)):null},t.replaceRule=function(e,t,r){var n=this.rules.get(e);if(!n)return this.addRule(e,t,r);var i=this.rules.replace(e,t,r);return i&&this.options.jss.plugins.onProcessRule(i),this.attached?this.deployed?(this.renderer&&(i?n.renderable&&this.renderer.replaceRule(n.renderable,i):this.renderer.deleteRule(n)),i):i:(this.deployed=!1,i)},t.insertRule=function(e){this.renderer&&this.renderer.insertRule(e)},t.addRules=function(e,t){var r=[];for(var n in e){var i=this.addRule(n,e[n],t);i&&r.push(i)}return r},t.getRule=function(e){return this.rules.get(e)},t.deleteRule=function(e){var t="object"==typeof e?e:this.rules.get(e);return!(!t||this.attached&&!t.renderable)&&(this.rules.remove(t),!(this.attached&&t.renderable&&this.renderer)||this.renderer.deleteRule(t.renderable))},t.indexOf=function(e){return this.rules.indexOf(e)},t.deploy=function(){return this.renderer&&this.renderer.deploy(),this.deployed=!0,this},t.update=function(){var e;return(e=this.rules).update.apply(e,arguments),this},t.updateOne=function(e,t,r){return this.rules.updateOne(e,t,r),this},t.toString=function(e){return this.rules.toString(e)},e}(),K=function(){function e(){this.plugins={internal:[],external:[]},this.registry={}}var t=e.prototype;return t.onCreateRule=function(e,t,r){for(var n=0;n<this.registry.onCreateRule.length;n++){var i=this.registry.onCreateRule[n](e,t,r);if(i)return i}return null},t.onProcessRule=function(e){if(!e.isProcessed){for(var t=e.options.sheet,r=0;r<this.registry.onProcessRule.length;r++)this.registry.onProcessRule[r](e,t);e.style&&this.onProcessStyle(e.style,e,t),e.isProcessed=!0}},t.onProcessStyle=function(e,t,r){for(var n=0;n<this.registry.onProcessStyle.length;n++)t.style=this.registry.onProcessStyle[n](t.style,t,r)},t.onProcessSheet=function(e){for(var t=0;t<this.registry.onProcessSheet.length;t++)this.registry.onProcessSheet[t](e)},t.onUpdate=function(e,t,r,n){for(var i=0;i<this.registry.onUpdate.length;i++)this.registry.onUpdate[i](e,t,r,n)},t.onChangeValue=function(e,t,r){for(var n=e,i=0;i<this.registry.onChangeValue.length;i++)n=this.registry.onChangeValue[i](n,t,r);return n},t.use=function(e,t){void 0===t&&(t={queue:"external"});var r=this.plugins[t.queue];-1===r.indexOf(e)&&(r.push(e),this.registry=[].concat(this.plugins.external,this.plugins.internal).reduce((function(e,t){for(var r in t)r in e&&e[r].push(t[r]);return e}),{onCreateRule:[],onProcessRule:[],onProcessStyle:[],onProcessSheet:[],onChangeValue:[],onUpdate:[]}))},e}(),Y=function(){function e(){this.registry=[]}var t=e.prototype;return t.add=function(e){var t=this.registry,r=e.options.index;if(-1===t.indexOf(e))if(0===t.length||r>=this.index)t.push(e);else for(var n=0;n<t.length;n++)if(t[n].options.index>r)return void t.splice(n,0,e)},t.reset=function(){this.registry=[]},t.remove=function(e){var t=this.registry.indexOf(e);this.registry.splice(t,1)},t.toString=function(e){for(var t=void 0===e?{}:e,r=t.attached,n=(0,l.Z)(t,["attached"]),i=p(n).linebreak,s="",o=0;o<this.registry.length;o++){var a=this.registry[o];null!=r&&a.attached!==r||(s&&(s+=i),s+=a.toString(n))}return s},(0,s.Z)(e,[{key:"index",get:function(){return 0===this.registry.length?0:this.registry[this.registry.length-1].options.index}}]),e}(),Q=new Y,X="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window&&window.Math===Math?window:"undefined"!=typeof self&&self.Math===Math?self:Function("return this")(),ee="2f1acc6c3a606b082e5eef5e54414ffb";null==X[ee]&&(X[ee]=0);var te=X[ee]++,re=function(e){void 0===e&&(e={});var t=0;return function(r,n){t+=1;var i="",s="";return n&&(n.options.classNamePrefix&&(s=n.options.classNamePrefix),null!=n.options.jss.id&&(i=String(n.options.jss.id))),e.minify?""+(s||"c")+te+i+t:s+r.key+"-"+te+(i?"-"+i:"")+"-"+t}},ne=function(e){var t;return function(){return t||(t=e()),t}},ie=function(e,t){try{return e.attributeStyleMap?e.attributeStyleMap.get(t):e.style.getPropertyValue(t)}catch(e){return""}},se=function(e,t,r){try{var n=r;if(Array.isArray(r)&&(n=h(r)),e.attributeStyleMap)e.attributeStyleMap.set(t,n);else{var i=n?n.indexOf("!important"):-1,s=i>-1?n.substr(0,i-1):n;e.style.setProperty(t,s,i>-1?"important":"")}}catch(e){return!1}return!0},oe=function(e,t){try{e.attributeStyleMap?e.attributeStyleMap.delete(t):e.style.removeProperty(t)}catch(e){}},ae=function(e,t){return e.selectorText=t,e.selectorText===t},le=ne((function(){return document.querySelector("head")}));var ue=ne((function(){var e=document.querySelector('meta[property="csp-nonce"]');return e?e.getAttribute("content"):null})),ce=function(e,t,r){try{"insertRule"in e?e.insertRule(t,r):"appendRule"in e&&e.appendRule(t)}catch(e){return!1}return e.cssRules[r]},fe=function(e,t){var r=e.cssRules.length;return void 0===t||t>r?r:t},de=function(){function e(e){this.getPropertyValue=ie,this.setProperty=se,this.removeProperty=oe,this.setSelector=ae,this.hasInsertedRules=!1,this.cssRules=[],e&&Q.add(e),this.sheet=e;var t,r=this.sheet?this.sheet.options:{},n=r.media,i=r.meta,s=r.element;this.element=s||((t=document.createElement("style")).textContent="\n",t),this.element.setAttribute("data-jss",""),n&&this.element.setAttribute("media",n),i&&this.element.setAttribute("data-meta",i);var o=ue();o&&this.element.setAttribute("nonce",o)}var t=e.prototype;return t.attach=function(){if(!this.element.parentNode&&this.sheet){!function(e,t){var r=t.insertionPoint,n=function(e){var t=Q.registry;if(t.length>0){var r=function(e,t){for(var r=0;r<e.length;r++){var n=e[r];if(n.attached&&n.options.index>t.index&&n.options.insertionPoint===t.insertionPoint)return n}return null}(t,e);if(r&&r.renderer)return{parent:r.renderer.element.parentNode,node:r.renderer.element};if(r=function(e,t){for(var r=e.length-1;r>=0;r--){var n=e[r];if(n.attached&&n.options.insertionPoint===t.insertionPoint)return n}return null}(t,e),r&&r.renderer)return{parent:r.renderer.element.parentNode,node:r.renderer.element.nextSibling}}var n=e.insertionPoint;if(n&&"string"==typeof n){var i=function(e){for(var t=le(),r=0;r<t.childNodes.length;r++){var n=t.childNodes[r];if(8===n.nodeType&&n.nodeValue.trim()===e)return n}return null}(n);if(i)return{parent:i.parentNode,node:i.nextSibling}}return!1}(t);if(!1!==n&&n.parent)n.parent.insertBefore(e,n.node);else if(r&&"number"==typeof r.nodeType){var i=r,s=i.parentNode;s&&s.insertBefore(e,i.nextSibling)}else le().appendChild(e)}(this.element,this.sheet.options);var e=Boolean(this.sheet&&this.sheet.deployed);this.hasInsertedRules&&e&&(this.hasInsertedRules=!1,this.deploy())}},t.detach=function(){if(this.sheet){var e=this.element.parentNode;e&&e.removeChild(this.element),this.sheet.options.link&&(this.cssRules=[],this.element.textContent="\n")}},t.deploy=function(){var e=this.sheet;e&&(e.options.link?this.insertRules(e.rules):this.element.textContent="\n"+e.toString()+"\n")},t.insertRules=function(e,t){for(var r=0;r<e.index.length;r++)this.insertRule(e.index[r],r,t)},t.insertRule=function(e,t,r){if(void 0===r&&(r=this.element.sheet),e.rules){var n=e,i=r;if("conditional"===e.type||"keyframes"===e.type){var s=fe(r,t);if(!1===(i=ce(r,n.toString({children:!1}),s)))return!1;this.refCssRule(e,s,i)}return this.insertRules(n.rules,i),i}var o=e.toString();if(!o)return!1;var a=fe(r,t),l=ce(r,o,a);return!1!==l&&(this.hasInsertedRules=!0,this.refCssRule(e,a,l),l)},t.refCssRule=function(e,t,r){e.renderable=r,e.options.parent instanceof L&&this.cssRules.splice(t,0,r)},t.deleteRule=function(e){var t=this.element.sheet,r=this.indexOf(e);return-1!==r&&(t.deleteRule(r),this.cssRules.splice(r,1),!0)},t.indexOf=function(e){return this.cssRules.indexOf(e)},t.replaceRule=function(e,t){var r=this.indexOf(e);return-1!==r&&(this.element.sheet.deleteRule(r),this.cssRules.splice(r,1),this.insertRule(t,r))},t.getRules=function(){return this.element.sheet.cssRules},e}(),he=0,pe=function(){function e(e){this.id=he++,this.version="10.10.0",this.plugins=new K,this.options={id:{minify:!1},createGenerateId:re,Renderer:i.Z?de:null,plugins:[]},this.generateId=re({minify:!1});for(var t=0;t<D.length;t++)this.plugins.use(D[t],{queue:"internal"});this.setup(e)}var t=e.prototype;return t.setup=function(e){return void 0===e&&(e={}),e.createGenerateId&&(this.options.createGenerateId=e.createGenerateId),e.id&&(this.options.id=(0,n.Z)({},this.options.id,e.id)),(e.createGenerateId||e.id)&&(this.generateId=this.options.createGenerateId(this.options.id)),null!=e.insertionPoint&&(this.options.insertionPoint=e.insertionPoint),"Renderer"in e&&(this.options.Renderer=e.Renderer),e.plugins&&this.use.apply(this,e.plugins),this},t.createStyleSheet=function(e,t){void 0===t&&(t={});var r=t.index;"number"!=typeof r&&(r=0===Q.index?0:Q.index+1);var i=new L(e,(0,n.Z)({},t,{jss:this,generateId:t.generateId||this.generateId,insertionPoint:this.options.insertionPoint,Renderer:this.options.Renderer,index:r}));return this.plugins.onProcessSheet(i),i},t.removeStyleSheet=function(e){return e.detach(),Q.remove(e),this},t.createRule=function(e,t,r){if(void 0===t&&(t={}),void 0===r&&(r={}),"object"==typeof e)return this.createRule(void 0,e,t);var i=(0,n.Z)({},r,{name:e,jss:this,Renderer:this.options.Renderer});i.generateId||(i.generateId=this.generateId),i.classes||(i.classes={}),i.keyframes||(i.keyframes={});var s=f(e,t,i);return s&&this.plugins.onProcessRule(s),s},t.use=function(){for(var e=this,t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return r.forEach((function(t){e.plugins.use(t)})),this},e}(),ye=function(e){return new pe(e)},me="object"==typeof CSS&&null!=CSS&&"number"in CSS;function ve(e){var t=null;for(var r in e){var n=e[r],i=typeof n;if("function"===i)t||(t={}),t[r]=n;else if("object"===i&&null!==n&&!Array.isArray(n)){var s=ve(n);s&&(t||(t={}),t[r]=s)}}return t}ye()},66866:(e,t)=>{var r="function"==typeof Symbol&&Symbol.for,n=r?Symbol.for("react.element"):60103,i=r?Symbol.for("react.portal"):60106,s=r?Symbol.for("react.fragment"):60107,o=r?Symbol.for("react.strict_mode"):60108,a=r?Symbol.for("react.profiler"):60114,l=r?Symbol.for("react.provider"):60109,u=r?Symbol.for("react.context"):60110,c=r?Symbol.for("react.async_mode"):60111,f=r?Symbol.for("react.concurrent_mode"):60111,d=r?Symbol.for("react.forward_ref"):60112,h=r?Symbol.for("react.suspense"):60113,p=r?Symbol.for("react.suspense_list"):60120,y=r?Symbol.for("react.memo"):60115,m=r?Symbol.for("react.lazy"):60116,v=r?Symbol.for("react.block"):60121,g=r?Symbol.for("react.fundamental"):60117,b=r?Symbol.for("react.responder"):60118,S=r?Symbol.for("react.scope"):60119;function x(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case n:switch(e=e.type){case c:case f:case s:case a:case o:case h:return e;default:switch(e=e&&e.$$typeof){case u:case d:case m:case y:case l:return e;default:return t}}case i:return t}}}function k(e){return x(e)===f}t.AsyncMode=c,t.ConcurrentMode=f,t.ContextConsumer=u,t.ContextProvider=l,t.Element=n,t.ForwardRef=d,t.Fragment=s,t.Lazy=m,t.Memo=y,t.Portal=i,t.Profiler=a,t.StrictMode=o,t.Suspense=h,t.isAsyncMode=function(e){return k(e)||x(e)===c},t.isConcurrentMode=k,t.isContextConsumer=function(e){return x(e)===u},t.isContextProvider=function(e){return x(e)===l},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===n},t.isForwardRef=function(e){return x(e)===d},t.isFragment=function(e){return x(e)===s},t.isLazy=function(e){return x(e)===m},t.isMemo=function(e){return x(e)===y},t.isPortal=function(e){return x(e)===i},t.isProfiler=function(e){return x(e)===a},t.isStrictMode=function(e){return x(e)===o},t.isSuspense=function(e){return x(e)===h},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===s||e===f||e===a||e===o||e===h||e===p||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===y||e.$$typeof===l||e.$$typeof===u||e.$$typeof===d||e.$$typeof===g||e.$$typeof===b||e.$$typeof===S||e.$$typeof===v)},t.typeOf=x},48570:(e,t,r)=>{e.exports=r(66866)},926:(e,t,r)=>{function n(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}r.d(t,{Z:()=>n})},87371:(e,t,r)=>{r.d(t,{Z:()=>s});var n=r(45850);function i(e,t){for(var r=0;r<t.length;r++){var i=t[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,(0,n.Z)(i.key),i)}}function s(e,t,r){return t&&i(e.prototype,t),r&&i(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}},38777:(e,t,r)=>{r.d(t,{Z:()=>s});var n=r(926),i=r(59147);function s(e){return function(e){if(Array.isArray(e))return(0,n.Z)(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||(0,i.Z)(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},45850:(e,t,r)=>{r.d(t,{Z:()=>i});var n=r(86522);function i(e){var t=function(e,t){if("object"!==(0,n.Z)(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var i=r.call(e,t);if("object"!==(0,n.Z)(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e,"string");return"symbol"===(0,n.Z)(t)?t:String(t)}},86522:(e,t,r)=>{function n(e){return n="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},n(e)}r.d(t,{Z:()=>n})},59147:(e,t,r)=>{r.d(t,{Z:()=>i});var n=r(926);function i(e,t){if(e){if("string"==typeof e)return(0,n.Z)(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?(0,n.Z)(e,t):void 0}}}}]);
|
|
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]="a29390b4-82d6-42af-a84b-4acac3401254",e._sentryDebugIdIdentifier="sentry-dbid-a29390b4-82d6-42af-a84b-4acac3401254")}catch(e){}}();var _global="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};_global.SENTRY_RELEASE={id:"1.4.1614"},(self.webpackChunk_reltio_remotes=self.webpackChunk_reltio_remotes||[]).push([[9016,3463],{40855:(e,t,r)=>{r.d(t,{tP:()=>h,NU:()=>y,ZP:()=>v});var n=r(7896),i=r(31461),s=r(24328),o=r(70882),a=r(54426),l=r(59938),u=r(52322);const c=["children","injectFirst","disableGeneration"],f=(0,o.Ue)((0,l.Z)()),d=(0,a.Z)(),h=new Map,p={disableGeneration:!1,generateClassName:d,jss:f,sheetsCache:null,sheetsManager:h,sheetsRegistry:null},y=s.createContext(p);let m;function v(e){const{children:t,injectFirst:r=!1,disableGeneration:a=!1}=e,f=(0,i.Z)(e,c),d=s.useContext(y),{generateClassName:h,jss:p,serverGenerateClassName:v,sheetsCache:g,sheetsManager:b,sheetsRegistry:S}=(0,n.Z)({},d,f),x=s.useMemo((()=>{const e={disableGeneration:a,generateClassName:h,jss:p,serverGenerateClassName:v,sheetsCache:g,sheetsManager:b,sheetsRegistry:S};if(!e.jss.options.insertionPoint&&r&&"undefined"!=typeof window){if(!m){const e=document.head;m=document.createComment("mui-inject-first"),e.insertBefore(m,e.firstChild)}e.jss=(0,o.Ue)({plugins:(0,l.Z)().plugins,insertionPoint:m})}return e}),[r,a,h,p,v,g,b,S]);return(0,u.jsx)(y.Provider,{value:x,children:t})}},54426:(e,t,r)=>{r.d(t,{Z:()=>s});var n=r(53227);const i=["checked","disabled","error","focused","focusVisible","required","expanded","selected"];function s(e={}){const{disableGlobal:t=!1,productionPrefix:r="jss",seed:s=""}=e,o=""===s?"":`${s}-`;let a=0;const l=()=>(a+=1,a);return(e,a)=>{const u=a.options.name;if(u&&0===u.indexOf("Mui")&&!a.options.link&&!t){if(-1!==i.indexOf(e.key))return`Mui-${e.key}`;const t=`${o}${u}-${e.key}`;return a.options.theme[n.Z]&&""===s?`${t}-${l()}`:t}return`${o}${r}${l()}`}}},61041:(e,t,r)=>{r.d(t,{Z:()=>i});var n=r(7896);function i(e){const{theme:t,name:r,props:i}=e;if(!(t&&t.components&&t.components[r]&&t.components[r].defaultProps))return i;const s=(0,n.Z)({},i),o=t.components[r].defaultProps;let a;for(a in o)void 0===s[a]&&(s[a]=o[a]);return s}},59938:(e,t,r)=>{r.d(t,{Z:()=>Ae});var n=r(70882),i=Date.now(),s="fnValues"+i,o="fnStyle"+ ++i;var a=r(7896),l="@global",u="@global ",c=function(){function e(e,t,r){for(var i in this.type="global",this.at=l,this.isProcessed=!1,this.key=e,this.options=r,this.rules=new n.RB((0,a.Z)({},r,{parent:this})),t)this.rules.add(i,t[i]);this.rules.process()}var t=e.prototype;return t.getRule=function(e){return this.rules.get(e)},t.addRule=function(e,t,r){var n=this.rules.add(e,t,r);return n&&this.options.jss.plugins.onProcessRule(n),n},t.replaceRule=function(e,t,r){var n=this.rules.replace(e,t,r);return n&&this.options.jss.plugins.onProcessRule(n),n},t.indexOf=function(e){return this.rules.indexOf(e)},t.toString=function(e){return this.rules.toString(e)},e}(),f=function(){function e(e,t,r){this.type="global",this.at=l,this.isProcessed=!1,this.key=e,this.options=r;var n=e.substr(u.length);this.rule=r.jss.createRule(n,t,(0,a.Z)({},r,{parent:this}))}return e.prototype.toString=function(e){return this.rule?this.rule.toString(e):""},e}(),d=/\s*,\s*/g;function h(e,t){for(var r=e.split(d),n="",i=0;i<r.length;i++)n+=t+" "+r[i].trim(),r[i+1]&&(n+=", ");return n}var p=/\s*,\s*/g,y=/&/g,m=/\$([\w-]+)/g;const v=function(){function e(e,t){return function(r,n){var i=e.getRule(n)||t&&t.getRule(n);return i?i.selector:n}}function t(e,t){for(var r=t.split(p),n=e.split(p),i="",s=0;s<r.length;s++)for(var o=r[s],a=0;a<n.length;a++){var l=n[a];i&&(i+=", "),i+=-1!==l.indexOf("&")?l.replace(y,o):o+" "+l}return i}function r(e,t,r){if(r)return(0,a.Z)({},r,{index:r.index+1});var n=e.options.nestingLevel;n=void 0===n?1:n+1;var i=(0,a.Z)({},e.options,{nestingLevel:n,index:t.indexOf(e)+1});return delete i.name,i}return{onProcessStyle:function(n,i,s){if("style"!==i.type)return n;var o,l,u=i,c=u.options.parent;for(var f in n){var d=-1!==f.indexOf("&"),h="@"===f[0];if(d||h){if(o=r(u,c,o),d){var p=t(f,u.selector);l||(l=e(c,s)),p=p.replace(m,l);var y=u.key+"-"+f;"replaceRule"in c?c.replaceRule(y,n[f],(0,a.Z)({},o,{selector:p})):c.addRule(y,n[f],(0,a.Z)({},o,{selector:p}))}else h&&c.addRule(f,{},o).addRule(u.key,n[f],{selector:u.selector});delete n[f]}}return n}}};var g=/[A-Z]/g,b=/^ms-/,S={};function x(e){return"-"+e.toLowerCase()}const k=function(e){if(S.hasOwnProperty(e))return S[e];var t=e.replace(g,x);return S[e]=b.test(t)?"-"+t:t};function w(e){var t={};for(var r in e)t[0===r.indexOf("--")?r:k(r)]=e[r];return e.fallbacks&&(Array.isArray(e.fallbacks)?t.fallbacks=e.fallbacks.map(w):t.fallbacks=w(e.fallbacks)),t}var P=n.HZ&&CSS?CSS.px:"px",R=n.HZ&&CSS?CSS.ms:"ms",C=n.HZ&&CSS?CSS.percent:"%";function Z(e){var t=/(-[a-z])/g,r=function(e){return e[1].toUpperCase()},n={};for(var i in e)n[i]=e[i],n[i.replace(t,r)]=e[i];return n}var j=Z({"animation-delay":R,"animation-duration":R,"background-position":P,"background-position-x":P,"background-position-y":P,"background-size":P,border:P,"border-bottom":P,"border-bottom-left-radius":P,"border-bottom-right-radius":P,"border-bottom-width":P,"border-left":P,"border-left-width":P,"border-radius":P,"border-right":P,"border-right-width":P,"border-top":P,"border-top-left-radius":P,"border-top-right-radius":P,"border-top-width":P,"border-width":P,"border-block":P,"border-block-end":P,"border-block-end-width":P,"border-block-start":P,"border-block-start-width":P,"border-block-width":P,"border-inline":P,"border-inline-end":P,"border-inline-end-width":P,"border-inline-start":P,"border-inline-start-width":P,"border-inline-width":P,"border-start-start-radius":P,"border-start-end-radius":P,"border-end-start-radius":P,"border-end-end-radius":P,margin:P,"margin-bottom":P,"margin-left":P,"margin-right":P,"margin-top":P,"margin-block":P,"margin-block-end":P,"margin-block-start":P,"margin-inline":P,"margin-inline-end":P,"margin-inline-start":P,padding:P,"padding-bottom":P,"padding-left":P,"padding-right":P,"padding-top":P,"padding-block":P,"padding-block-end":P,"padding-block-start":P,"padding-inline":P,"padding-inline-end":P,"padding-inline-start":P,"mask-position-x":P,"mask-position-y":P,"mask-size":P,height:P,width:P,"min-height":P,"max-height":P,"min-width":P,"max-width":P,bottom:P,left:P,top:P,right:P,inset:P,"inset-block":P,"inset-block-end":P,"inset-block-start":P,"inset-inline":P,"inset-inline-end":P,"inset-inline-start":P,"box-shadow":P,"text-shadow":P,"column-gap":P,"column-rule":P,"column-rule-width":P,"column-width":P,"font-size":P,"font-size-delta":P,"letter-spacing":P,"text-decoration-thickness":P,"text-indent":P,"text-stroke":P,"text-stroke-width":P,"word-spacing":P,motion:P,"motion-offset":P,outline:P,"outline-offset":P,"outline-width":P,perspective:P,"perspective-origin-x":C,"perspective-origin-y":C,"transform-origin":C,"transform-origin-x":C,"transform-origin-y":C,"transform-origin-z":C,"transition-delay":R,"transition-duration":R,"vertical-align":P,"flex-basis":P,"shape-margin":P,size:P,gap:P,grid:P,"grid-gap":P,"row-gap":P,"grid-row-gap":P,"grid-column-gap":P,"grid-template-rows":P,"grid-template-columns":P,"grid-auto-rows":P,"grid-auto-columns":P,"box-shadow-x":P,"box-shadow-y":P,"box-shadow-blur":P,"box-shadow-spread":P,"font-line-height":P,"text-shadow-x":P,"text-shadow-y":P,"text-shadow-blur":P});function O(e,t,r){if(null==t)return t;if(Array.isArray(t))for(var n=0;n<t.length;n++)t[n]=O(e,t[n],r);else if("object"==typeof t)if("fallbacks"===e)for(var i in t)t[i]=O(i,t[i],r);else for(var s in t)t[s]=O(e+"-"+s,t[s],r);else if("number"==typeof t&&!1===isNaN(t)){var o=r[e]||j[e];return!o||0===t&&o===P?t.toString():"function"==typeof o?o(t).toString():""+t+o}return t}const $=function(e){void 0===e&&(e={});var t=Z(e);return{onProcessStyle:function(e,r){if("style"!==r.type)return e;for(var n in e)e[n]=O(n,e[n],t);return e},onChangeValue:function(e,r){return O(r,e,t)}}};var A=r(20653),M=r(38777),N="",E="",I="",T="",_=A.Z&&"ontouchstart"in document.documentElement;if(A.Z){var G={Moz:"-moz-",ms:"-ms-",O:"-o-",Webkit:"-webkit-"},z=document.createElement("p").style;for(var V in G)if(V+"Transform"in z){N=V,E=G[V];break}"Webkit"===N&&"msHyphens"in z&&(N="ms",E=G.ms,T="edge"),"Webkit"===N&&"-apple-trailing-word"in z&&(I="apple")}var q=N,U=E,F=I,W=T,D=_,J={noPrefill:["appearance"],supportedProperty:function(e){return"appearance"===e&&("ms"===q?"-webkit-"+e:U+e)}},H={noPrefill:["color-adjust"],supportedProperty:function(e){return"color-adjust"===e&&("Webkit"===q?U+"print-"+e:e)}},B=/[-\s]+(.)?/g;function L(e,t){return t?t.toUpperCase():""}function K(e){return e.replace(B,L)}function Y(e){return K("-"+e)}var Q,X={noPrefill:["mask"],supportedProperty:function(e,t){if(!/^mask/.test(e))return!1;if("Webkit"===q){var r="mask-image";if(K(r)in t)return e;if(q+Y(r)in t)return U+e}return e}},ee={noPrefill:["text-orientation"],supportedProperty:function(e){return"text-orientation"===e&&("apple"!==F||D?e:U+e)}},te={noPrefill:["transform"],supportedProperty:function(e,t,r){return"transform"===e&&(r.transform?e:U+e)}},re={noPrefill:["transition"],supportedProperty:function(e,t,r){return"transition"===e&&(r.transition?e:U+e)}},ne={noPrefill:["writing-mode"],supportedProperty:function(e){return"writing-mode"===e&&("Webkit"===q||"ms"===q&&"edge"!==W?U+e:e)}},ie={noPrefill:["user-select"],supportedProperty:function(e){return"user-select"===e&&("Moz"===q||"ms"===q||"apple"===F?U+e:e)}},se={supportedProperty:function(e,t){return!!/^break-/.test(e)&&("Webkit"===q?"WebkitColumn"+Y(e)in t&&U+"column-"+e:"Moz"===q&&"page"+Y(e)in t&&"page-"+e)}},oe={supportedProperty:function(e,t){if(!/^(border|margin|padding)-inline/.test(e))return!1;if("Moz"===q)return e;var r=e.replace("-inline","");return q+Y(r)in t&&U+r}},ae={supportedProperty:function(e,t){return K(e)in t&&e}},le={supportedProperty:function(e,t){var r=Y(e);return"-"===e[0]||"-"===e[0]&&"-"===e[1]?e:q+r in t?U+e:"Webkit"!==q&&"Webkit"+r in t&&"-webkit-"+e}},ue={supportedProperty:function(e){return"scroll-snap"===e.substring(0,11)&&("ms"===q?""+U+e:e)}},ce={supportedProperty:function(e){return"overscroll-behavior"===e&&("ms"===q?U+"scroll-chaining":e)}},fe={"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"},de={supportedProperty:function(e,t){var r=fe[e];return!!r&&q+Y(r)in t&&U+r}},he={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"},pe=Object.keys(he),ye=function(e){return U+e},me={supportedProperty:function(e,t,r){var n=r.multiple;if(pe.indexOf(e)>-1){var i=he[e];if(!Array.isArray(i))return q+Y(i)in t&&U+i;if(!n)return!1;for(var s=0;s<i.length;s++)if(!(q+Y(i[0])in t))return!1;return i.map(ye)}return!1}},ve=[J,H,X,ee,te,re,ne,ie,se,oe,ae,le,ue,ce,de,me],ge=ve.filter((function(e){return e.supportedProperty})).map((function(e){return e.supportedProperty})),be=ve.filter((function(e){return e.noPrefill})).reduce((function(e,t){return e.push.apply(e,(0,M.Z)(t.noPrefill)),e}),[]),Se={};if(A.Z){Q=document.createElement("p");var xe=window.getComputedStyle(document.documentElement,"");for(var ke in xe)isNaN(ke)||(Se[xe[ke]]=xe[ke]);be.forEach((function(e){return delete Se[e]}))}function we(e,t){if(void 0===t&&(t={}),!Q)return e;if(null!=Se[e])return Se[e];"transition"!==e&&"transform"!==e||(t[e]=e in Q.style);for(var r=0;r<ge.length&&(Se[e]=ge[r](e,Q.style,t),!Se[e]);r++);try{Q.style[e]=""}catch(e){return!1}return Se[e]}var Pe,Re={},Ce={transition:1,"transition-property":1,"-webkit-transition":1,"-webkit-transition-property":1},Ze=/(^\s*[\w-]+)|, (\s*[\w-]+)(?![^()]*\))/g;function je(e,t,r){return"var"===t?"var":"all"===t?"all":"all"===r?", all":(t?we(t):", "+we(r))||t||r}function Oe(e,t){var r=t;if(!Pe||"content"===e)return t;if("string"!=typeof r||!isNaN(parseInt(r,10)))return r;var n=e+r;if(null!=Re[n])return Re[n];try{Pe.style[e]=r}catch(e){return Re[n]=!1,!1}if(Ce[e])r=r.replace(Ze,je);else if(""===Pe.style[e]&&("-ms-flex"===(r=U+r)&&(Pe.style[e]="-ms-flexbox"),Pe.style[e]=r,""===Pe.style[e]))return Re[n]=!1,!1;return Pe.style[e]="",Re[n]=r,Re[n]}A.Z&&(Pe=document.createElement("p"));const $e=function(){function e(t){for(var r in t){var i=t[r];if("fallbacks"===r&&Array.isArray(i))t[r]=i.map(e);else{var s=!1,o=we(r);o&&o!==r&&(s=!0);var a=!1,l=Oe(o,(0,n.EK)(i));l&&l!==i&&(a=!0),(s||a)&&(s&&delete t[r],t[o||r]=l||i)}}return t}return{onProcessRule:function(e){if("keyframes"===e.type){var t=e;t.at=function(e){return"-"===e[1]||"ms"===q?e:"@"+U+"keyframes"+e.substr(10)}(t.at)}},onProcessStyle:function(t,r){return"style"!==r.type?t:e(t)},onChangeValue:function(e,t){return Oe(t,(0,n.EK)(e))||e}}};function Ae(){return{plugins:[{onCreateRule:function(e,t,r){if("function"!=typeof t)return null;var i=(0,n.JH)(e,{},r);return i[o]=t,i},onProcessStyle:function(e,t){if(s in t||o in t)return e;var r={};for(var n in e){var i=e[n];"function"==typeof i&&(delete e[n],r[n]=i)}return t[s]=r,e},onUpdate:function(e,t,r,n){var i=t,a=i[o];a&&(i.style=a(e)||{});var l=i[s];if(l)for(var u in l)i.prop(u,l[u](e),n)}},{onCreateRule:function(e,t,r){if(!e)return null;if(e===l)return new c(e,t,r);if("@"===e[0]&&e.substr(0,u.length)===u)return new f(e,t,r);var n=r.parent;return n&&("global"===n.type||n.options.parent&&"global"===n.options.parent.type)&&(r.scoped=!1),r.selector||!1!==r.scoped||(r.selector=e),null},onProcessRule:function(e,t){"style"===e.type&&t&&(function(e,t){var r=e.options,n=e.style,i=n?n[l]:null;if(i){for(var s in i)t.addRule(s,i[s],(0,a.Z)({},r,{selector:h(s,e.selector)}));delete n[l]}}(e,t),function(e,t){var r=e.options,n=e.style;for(var i in n)if("@"===i[0]&&i.substr(0,l.length)===l){var s=h(i.substr(l.length),e.selector);t.addRule(s,n[i],(0,a.Z)({},r,{selector:s})),delete n[i]}}(e,t))}},v(),{onProcessStyle:function(e){if(Array.isArray(e)){for(var t=0;t<e.length;t++)e[t]=w(e[t]);return e}return w(e)},onChangeValue:function(e,t,r){if(0===t.indexOf("--"))return e;var n=k(t);return t===n?e:(r.prop(n,e),null)}},$(),"undefined"==typeof window?null:$e(),(e=function(e,t){return e.length===t.length?e>t?1:-1:e.length-t.length},{onProcessStyle:function(t,r){if("style"!==r.type)return t;for(var n={},i=Object.keys(t).sort(e),s=0;s<i.length;s++)n[i[s]]=t[i[s]];return n}})]};var e}},24142:(e,t,r)=>{r.d(t,{Z:()=>g});var n=r(31461),i=r(7896),s=r(24328),o=r(70882),a=r(14691);const l=(e,t,r,n)=>{let i=e.get(t);i||(i=new Map,e.set(t,i)),i.set(r,n)},u=(e,t,r)=>{const n=e.get(t);return n?n.get(r):void 0},c=(e,t,r)=>{e.get(t).delete(r)};var f=r(96170),d=r(40855);let h=-1e9;var p=r(48970),y=r(93298);const m={},v=["name","classNamePrefix","Component","defaultTheme"];function g(e,t={}){const{name:r,classNamePrefix:g,Component:b,defaultTheme:S=m}=t,x=(0,n.Z)(t,v),k=function(e){const t="function"==typeof e;return{create:(r,n)=>{let s;try{s=t?e(r):e}catch(e){throw e}if(!n||!r.components||!r.components[n]||!r.components[n].styleOverrides&&!r.components[n].variants)return s;const o=r.components[n].styleOverrides||{},a=r.components[n].variants||[],l=(0,i.Z)({},s);return Object.keys(o).forEach((e=>{l[e]=(0,p.Z)(l[e]||{},o[e])})),a.forEach((e=>{const t=(0,y.Z)(e.props);l[t]=(0,p.Z)(l[t]||{},e.style)})),l},options:{}}}(e),w=r||g||"makeStyles";return k.options={index:(h+=1,h),name:r,meta:w,classNamePrefix:w},(e={})=>{const t=(0,f.Z)()||S,n=(0,i.Z)({},s.useContext(d.NU),x),h=s.useRef(),p=s.useRef();!function(f,d){const y=s.useRef([]);let m;const v=s.useMemo((()=>({})),d);y.current!==v&&(y.current=v,m=(()=>{const s={name:r,state:{},stylesCreator:k,stylesOptions:n,theme:t};return function({state:e,theme:t,stylesOptions:r,stylesCreator:n,name:s},c){if(r.disableGeneration)return;let f=u(r.sheetsManager,n,t);f||(f={refs:0,staticSheet:null,dynamicStyles:null},l(r.sheetsManager,n,t,f));const d=(0,i.Z)({},n.options,r,{theme:t,flip:"boolean"==typeof r.flip?r.flip:"rtl"===t.direction});d.generateId=d.serverGenerateClassName||d.generateClassName;const h=r.sheetsRegistry;if(0===f.refs){let e;r.sheetsCache&&(e=u(r.sheetsCache,n,t));const a=n.create(t,s);e||(e=r.jss.createStyleSheet(a,(0,i.Z)({link:!1},d)),e.attach(),r.sheetsCache&&l(r.sheetsCache,n,t,e)),h&&h.add(e),f.staticSheet=e,f.dynamicStyles=(0,o._$)(a)}if(f.dynamicStyles){const t=r.jss.createStyleSheet(f.dynamicStyles,(0,i.Z)({link:!0},d));t.update(c),t.attach(),e.dynamicSheet=t,e.classes=(0,a.Z)({baseClasses:f.staticSheet.classes,newClasses:t.classes}),h&&h.add(t)}else e.classes=f.staticSheet.classes;f.refs+=1}(s,e),p.current=!1,h.current=s,()=>{!function({state:e,theme:t,stylesOptions:r,stylesCreator:n}){if(r.disableGeneration)return;const i=u(r.sheetsManager,n,t);i.refs-=1;const s=r.sheetsRegistry;0===i.refs&&(c(r.sheetsManager,n,t),r.jss.removeStyleSheet(i.staticSheet),s&&s.remove(i.staticSheet)),e.dynamicSheet&&(r.jss.removeStyleSheet(e.dynamicSheet),s&&s.remove(e.dynamicSheet))}(s)}})()),s.useEffect((()=>()=>{m&&m()}),[v])}(0,[t,k]),s.useEffect((()=>{p.current&&function({state:e},t){e.dynamicSheet&&e.dynamicSheet.update(t)}(h.current,e),p.current=!0}));const y=function({state:e,stylesOptions:t},r,n){if(t.disableGeneration)return r||{};e.cacheClasses||(e.cacheClasses={value:null,lastProp:null,lastJSS:{}});let i=!1;return e.classes!==e.cacheClasses.lastJSS&&(e.cacheClasses.lastJSS=e.classes,i=!0),r!==e.cacheClasses.lastProp&&(e.cacheClasses.lastProp=r,i=!0),i&&(e.cacheClasses.value=(0,a.Z)({baseClasses:e.cacheClasses.lastJSS,newClasses:r,Component:n})),e.cacheClasses.value}(h.current,e.classes,b);return y}}},14691:(e,t,r)=>{r.d(t,{Z:()=>i});var n=r(7896);function i(e={}){const{baseClasses:t,newClasses:r,Component:i}=e;if(!r)return t;const s=(0,n.Z)({},t);return Object.keys(r).forEach((e=>{r[e]&&(s[e]=`${t[e]} ${r[e]}`)})),s}},93298:(e,t,r)=>{r.d(t,{Z:()=>a});var n=r(31461),i=r(1290);const s=["variant"];function o(e){return 0===e.length}function a(e){const{variant:t}=e,r=(0,n.Z)(e,s);let a=t||"";return Object.keys(r).sort().forEach((t=>{a+="color"===t?o(a)?e[t]:(0,i.Z)(e[t]):`${o(a)?t:(0,i.Z)(t)}${(0,i.Z)(e[t].toString())}`})),a}},96170:(e,t,r)=>{r.d(t,{Z:()=>i});var n=r(47903);function i(){var e;const t=(0,n.Z)();return null!=(e=null==t?void 0:t.$$material)?e:t}},79016:(e,t,r)=>{r.d(t,{Z:()=>p});var n=r(7896),i=r(31461),s=r(24328),o=r(73463),a=r.n(o),l=r(24142),u=r(61041),c=r(96170),f=r(52322);const d=["defaultTheme","withTheme","name"],h=["classes"],p=(e,t={})=>r=>{const{defaultTheme:o,withTheme:p=!1,name:y}=t,m=(0,i.Z)(t,d);let v=y;const g=(0,l.Z)(e,(0,n.Z)({defaultTheme:o,Component:r,name:y||r.displayName,classNamePrefix:v},m)),b=s.forwardRef((function(e,t){const s=(0,i.Z)(e,h),a=g((0,n.Z)({},r.defaultProps,e));let l,d=s;return("string"==typeof y||p)&&(l=(0,c.Z)()||o,y&&(d=(0,u.Z)({theme:l,name:y,props:s})),p&&!d.theme&&(d.theme=l)),(0,f.jsx)(r,(0,n.Z)({ref:t,classes:a},d))}));return a()(b,r),b}},73463:(e,t,r)=>{var n=r(48570),i={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},s={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},o={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},a={};function l(e){return n.isMemo(e)?o:a[e.$$typeof]||i}a[n.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},a[n.Memo]=o;var u=Object.defineProperty,c=Object.getOwnPropertyNames,f=Object.getOwnPropertySymbols,d=Object.getOwnPropertyDescriptor,h=Object.getPrototypeOf,p=Object.prototype;e.exports=function e(t,r,n){if("string"!=typeof r){if(p){var i=h(r);i&&i!==p&&e(t,i,n)}var o=c(r);f&&(o=o.concat(f(r)));for(var a=l(t),y=l(r),m=0;m<o.length;++m){var v=o[m];if(!(s[v]||n&&n[v]||y&&y[v]||a&&a[v])){var g=d(r,v);try{u(t,v,g)}catch(e){}}}}return t}},20653:(e,t,r)=>{r.d(t,{Z:()=>i});var n="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};const i="object"===("undefined"==typeof window?"undefined":n(window))&&"object"===("undefined"==typeof document?"undefined":n(document))&&9===document.nodeType},70882:(e,t,r)=>{r.d(t,{RB:()=>B,xE:()=>Y,Ue:()=>ye,JH:()=>f,_$:()=>ve,HZ:()=>me,EK:()=>h});var n=r(7896),i=r(20653),s=r(87371),o=r(81665),a=r(80753),l=r(31461),u={}.constructor;function c(e){if(null==e||"object"!=typeof e)return e;if(Array.isArray(e))return e.map(c);if(e.constructor!==u)return e;var t={};for(var r in e)t[r]=c(e[r]);return t}function f(e,t,r){void 0===e&&(e="unnamed");var n=r.jss,i=c(t);return n.plugins.onCreateRule(e,i,r)||(e[0],null)}var d=function(e,t){for(var r="",n=0;n<e.length&&"!important"!==e[n];n++)r&&(r+=t),r+=e[n];return r},h=function(e){if(!Array.isArray(e))return e;var t="";if(Array.isArray(e[0]))for(var r=0;r<e.length&&"!important"!==e[r];r++)t&&(t+=", "),t+=d(e[r]," ");else t=d(e,", ");return"!important"===e[e.length-1]&&(t+=" !important"),t};function p(e){return e&&!1===e.format?{linebreak:"",space:""}:{linebreak:"\n",space:" "}}function y(e,t){for(var r="",n=0;n<t;n++)r+=" ";return r+e}function m(e,t,r){void 0===r&&(r={});var n="";if(!t)return n;var i=r.indent,s=void 0===i?0:i,o=t.fallbacks;!1===r.format&&(s=-1/0);var a=p(r),l=a.linebreak,u=a.space;if(e&&s++,o)if(Array.isArray(o))for(var c=0;c<o.length;c++){var f=o[c];for(var d in f){var m=f[d];null!=m&&(n&&(n+=l),n+=y(d+":"+u+h(m)+";",s))}}else for(var v in o){var g=o[v];null!=g&&(n&&(n+=l),n+=y(v+":"+u+h(g)+";",s))}for(var b in t){var S=t[b];null!=S&&"fallbacks"!==b&&(n&&(n+=l),n+=y(b+":"+u+h(S)+";",s))}return(n||r.allowEmpty)&&e?(n&&(n=""+l+n+l),y(""+e+u+"{"+n,--s)+y("}",s)):n}var v=/([[\].#*$><+~=|^:(),"'`\s])/g,g="undefined"!=typeof CSS&&CSS.escape,b=function(e){return g?g(e):e.replace(v,"\\$1")},S=function(){function e(e,t,r){this.type="style",this.isProcessed=!1;var n=r.sheet,i=r.Renderer;this.key=e,this.options=r,this.style=t,n?this.renderer=n.renderer:i&&(this.renderer=new i)}return e.prototype.prop=function(e,t,r){if(void 0===t)return this.style[e];var n=!!r&&r.force;if(!n&&this.style[e]===t)return this;var i=t;r&&!1===r.process||(i=this.options.jss.plugins.onChangeValue(t,e,this));var s=null==i||!1===i,o=e in this.style;if(s&&!o&&!n)return this;var a=s&&o;if(a?delete this.style[e]:this.style[e]=i,this.renderable&&this.renderer)return a?this.renderer.removeProperty(this.renderable,e):this.renderer.setProperty(this.renderable,e,i),this;var l=this.options.sheet;return l&&l.attached,this},e}(),x=function(e){function t(t,r,n){var i;i=e.call(this,t,r,n)||this;var s=n.selector,o=n.scoped,l=n.sheet,u=n.generateId;return s?i.selectorText=s:!1!==o&&(i.id=u((0,a.Z)((0,a.Z)(i)),l),i.selectorText="."+b(i.id)),i}(0,o.Z)(t,e);var r=t.prototype;return r.applyTo=function(e){var t=this.renderer;if(t){var r=this.toJSON();for(var n in r)t.setProperty(e,n,r[n])}return this},r.toJSON=function(){var e={};for(var t in this.style){var r=this.style[t];"object"!=typeof r?e[t]=r:Array.isArray(r)&&(e[t]=h(r))}return e},r.toString=function(e){var t=this.options.sheet,r=t&&t.options.link?(0,n.Z)({},e,{allowEmpty:!0}):e;return m(this.selectorText,this.style,r)},(0,s.Z)(t,[{key:"selector",set:function(e){if(e!==this.selectorText){this.selectorText=e;var t=this.renderer,r=this.renderable;r&&t&&(t.setSelector(r,e)||t.replaceRule(r,this))}},get:function(){return this.selectorText}}]),t}(S),k={onCreateRule:function(e,t,r){return"@"===e[0]||r.parent&&"keyframes"===r.parent.type?null:new x(e,t,r)}},w={indent:1,children:!0},P=/@([\w-]+)/,R=function(){function e(e,t,r){this.type="conditional",this.isProcessed=!1,this.key=e;var i=e.match(P);for(var s in this.at=i?i[1]:"unknown",this.query=r.name||"@"+this.at,this.options=r,this.rules=new B((0,n.Z)({},r,{parent:this})),t)this.rules.add(s,t[s]);this.rules.process()}var t=e.prototype;return t.getRule=function(e){return this.rules.get(e)},t.indexOf=function(e){return this.rules.indexOf(e)},t.addRule=function(e,t,r){var n=this.rules.add(e,t,r);return n?(this.options.jss.plugins.onProcessRule(n),n):null},t.replaceRule=function(e,t,r){var n=this.rules.replace(e,t,r);return n&&this.options.jss.plugins.onProcessRule(n),n},t.toString=function(e){void 0===e&&(e=w);var t=p(e).linebreak;if(null==e.indent&&(e.indent=w.indent),null==e.children&&(e.children=w.children),!1===e.children)return this.query+" {}";var r=this.rules.toString(e);return r?this.query+" {"+t+r+t+"}":""},e}(),C=/@container|@media|@supports\s+/,Z={onCreateRule:function(e,t,r){return C.test(e)?new R(e,t,r):null}},j={indent:1,children:!0},O=/@keyframes\s+([\w-]+)/,$=function(){function e(e,t,r){this.type="keyframes",this.at="@keyframes",this.isProcessed=!1;var i=e.match(O);i&&i[1]?this.name=i[1]:this.name="noname",this.key=this.type+"-"+this.name,this.options=r;var s=r.scoped,o=r.sheet,a=r.generateId;for(var l in this.id=!1===s?this.name:b(a(this,o)),this.rules=new B((0,n.Z)({},r,{parent:this})),t)this.rules.add(l,t[l],(0,n.Z)({},r,{parent:this}));this.rules.process()}return e.prototype.toString=function(e){void 0===e&&(e=j);var t=p(e).linebreak;if(null==e.indent&&(e.indent=j.indent),null==e.children&&(e.children=j.children),!1===e.children)return this.at+" "+this.id+" {}";var r=this.rules.toString(e);return r&&(r=""+t+r+t),this.at+" "+this.id+" {"+r+"}"},e}(),A=/@keyframes\s+/,M=/\$([\w-]+)/g,N=function(e,t){return"string"==typeof e?e.replace(M,(function(e,r){return r in t?t[r]:e})):e},E=function(e,t,r){var n=e[t],i=N(n,r);i!==n&&(e[t]=i)},I={onCreateRule:function(e,t,r){return"string"==typeof e&&A.test(e)?new $(e,t,r):null},onProcessStyle:function(e,t,r){return"style"===t.type&&r?("animation-name"in e&&E(e,"animation-name",r.keyframes),"animation"in e&&E(e,"animation",r.keyframes),e):e},onChangeValue:function(e,t,r){var n=r.options.sheet;if(!n)return e;switch(t){case"animation":case"animation-name":return N(e,n.keyframes);default:return e}}},T=function(e){function t(){return e.apply(this,arguments)||this}return(0,o.Z)(t,e),t.prototype.toString=function(e){var t=this.options.sheet,r=t&&t.options.link?(0,n.Z)({},e,{allowEmpty:!0}):e;return m(this.key,this.style,r)},t}(S),_={onCreateRule:function(e,t,r){return r.parent&&"keyframes"===r.parent.type?new T(e,t,r):null}},G=function(){function e(e,t,r){this.type="font-face",this.at="@font-face",this.isProcessed=!1,this.key=e,this.style=t,this.options=r}return e.prototype.toString=function(e){var t=p(e).linebreak;if(Array.isArray(this.style)){for(var r="",n=0;n<this.style.length;n++)r+=m(this.at,this.style[n]),this.style[n+1]&&(r+=t);return r}return m(this.at,this.style,e)},e}(),z=/@font-face/,V={onCreateRule:function(e,t,r){return z.test(e)?new G(e,t,r):null}},q=function(){function e(e,t,r){this.type="viewport",this.at="@viewport",this.isProcessed=!1,this.key=e,this.style=t,this.options=r}return e.prototype.toString=function(e){return m(this.key,this.style,e)},e}(),U={onCreateRule:function(e,t,r){return"@viewport"===e||"@-ms-viewport"===e?new q(e,t,r):null}},F=function(){function e(e,t,r){this.type="simple",this.isProcessed=!1,this.key=e,this.value=t,this.options=r}return e.prototype.toString=function(e){if(Array.isArray(this.value)){for(var t="",r=0;r<this.value.length;r++)t+=this.key+" "+this.value[r]+";",this.value[r+1]&&(t+="\n");return t}return this.key+" "+this.value+";"},e}(),W={"@charset":!0,"@import":!0,"@namespace":!0},D=[k,Z,I,_,V,U,{onCreateRule:function(e,t,r){return e in W?new F(e,t,r):null}}],J={process:!0},H={force:!0,process:!0},B=function(){function e(e){this.map={},this.raw={},this.index=[],this.counter=0,this.options=e,this.classes=e.classes,this.keyframes=e.keyframes}var t=e.prototype;return t.add=function(e,t,r){var i=this.options,s=i.parent,o=i.sheet,a=i.jss,l=i.Renderer,u=i.generateId,c=i.scoped,d=(0,n.Z)({classes:this.classes,parent:s,sheet:o,jss:a,Renderer:l,generateId:u,scoped:c,name:e,keyframes:this.keyframes,selector:void 0},r),h=e;e in this.raw&&(h=e+"-d"+this.counter++),this.raw[h]=t,h in this.classes&&(d.selector="."+b(this.classes[h]));var p=f(h,t,d);if(!p)return null;this.register(p);var y=void 0===d.index?this.index.length:d.index;return this.index.splice(y,0,p),p},t.replace=function(e,t,r){var i=this.get(e),s=this.index.indexOf(i);i&&this.remove(i);var o=r;return-1!==s&&(o=(0,n.Z)({},r,{index:s})),this.add(e,t,o)},t.get=function(e){return this.map[e]},t.remove=function(e){this.unregister(e),delete this.raw[e.key],this.index.splice(this.index.indexOf(e),1)},t.indexOf=function(e){return this.index.indexOf(e)},t.process=function(){var e=this.options.jss.plugins;this.index.slice(0).forEach(e.onProcessRule,e)},t.register=function(e){this.map[e.key]=e,e instanceof x?(this.map[e.selector]=e,e.id&&(this.classes[e.key]=e.id)):e instanceof $&&this.keyframes&&(this.keyframes[e.name]=e.id)},t.unregister=function(e){delete this.map[e.key],e instanceof x?(delete this.map[e.selector],delete this.classes[e.key]):e instanceof $&&delete this.keyframes[e.name]},t.update=function(){var e,t,r;if("string"==typeof(arguments.length<=0?void 0:arguments[0])?(e=arguments.length<=0?void 0:arguments[0],t=arguments.length<=1?void 0:arguments[1],r=arguments.length<=2?void 0:arguments[2]):(t=arguments.length<=0?void 0:arguments[0],r=arguments.length<=1?void 0:arguments[1],e=null),e)this.updateOne(this.get(e),t,r);else for(var n=0;n<this.index.length;n++)this.updateOne(this.index[n],t,r)},t.updateOne=function(t,r,n){void 0===n&&(n=J);var i=this.options,s=i.jss.plugins,o=i.sheet;if(t.rules instanceof e)t.rules.update(r,n);else{var a=t.style;if(s.onUpdate(r,t,o,n),n.process&&a&&a!==t.style){for(var l in s.onProcessStyle(t.style,t,o),t.style){var u=t.style[l];u!==a[l]&&t.prop(l,u,H)}for(var c in a){var f=t.style[c],d=a[c];null==f&&f!==d&&t.prop(c,null,H)}}}},t.toString=function(e){for(var t="",r=this.options.sheet,n=!!r&&r.options.link,i=p(e).linebreak,s=0;s<this.index.length;s++){var o=this.index[s].toString(e);(o||n)&&(t&&(t+=i),t+=o)}return t},e}(),L=function(){function e(e,t){for(var r in this.attached=!1,this.deployed=!1,this.classes={},this.keyframes={},this.options=(0,n.Z)({},t,{sheet:this,parent:this,classes:this.classes,keyframes:this.keyframes}),t.Renderer&&(this.renderer=new t.Renderer(this)),this.rules=new B(this.options),e)this.rules.add(r,e[r]);this.rules.process()}var t=e.prototype;return t.attach=function(){return this.attached||(this.renderer&&this.renderer.attach(),this.attached=!0,this.deployed||this.deploy()),this},t.detach=function(){return this.attached?(this.renderer&&this.renderer.detach(),this.attached=!1,this):this},t.addRule=function(e,t,r){var n=this.queue;this.attached&&!n&&(this.queue=[]);var i=this.rules.add(e,t,r);return i?(this.options.jss.plugins.onProcessRule(i),this.attached?this.deployed?(n?n.push(i):(this.insertRule(i),this.queue&&(this.queue.forEach(this.insertRule,this),this.queue=void 0)),i):i:(this.deployed=!1,i)):null},t.replaceRule=function(e,t,r){var n=this.rules.get(e);if(!n)return this.addRule(e,t,r);var i=this.rules.replace(e,t,r);return i&&this.options.jss.plugins.onProcessRule(i),this.attached?this.deployed?(this.renderer&&(i?n.renderable&&this.renderer.replaceRule(n.renderable,i):this.renderer.deleteRule(n)),i):i:(this.deployed=!1,i)},t.insertRule=function(e){this.renderer&&this.renderer.insertRule(e)},t.addRules=function(e,t){var r=[];for(var n in e){var i=this.addRule(n,e[n],t);i&&r.push(i)}return r},t.getRule=function(e){return this.rules.get(e)},t.deleteRule=function(e){var t="object"==typeof e?e:this.rules.get(e);return!(!t||this.attached&&!t.renderable)&&(this.rules.remove(t),!(this.attached&&t.renderable&&this.renderer)||this.renderer.deleteRule(t.renderable))},t.indexOf=function(e){return this.rules.indexOf(e)},t.deploy=function(){return this.renderer&&this.renderer.deploy(),this.deployed=!0,this},t.update=function(){var e;return(e=this.rules).update.apply(e,arguments),this},t.updateOne=function(e,t,r){return this.rules.updateOne(e,t,r),this},t.toString=function(e){return this.rules.toString(e)},e}(),K=function(){function e(){this.plugins={internal:[],external:[]},this.registry={}}var t=e.prototype;return t.onCreateRule=function(e,t,r){for(var n=0;n<this.registry.onCreateRule.length;n++){var i=this.registry.onCreateRule[n](e,t,r);if(i)return i}return null},t.onProcessRule=function(e){if(!e.isProcessed){for(var t=e.options.sheet,r=0;r<this.registry.onProcessRule.length;r++)this.registry.onProcessRule[r](e,t);e.style&&this.onProcessStyle(e.style,e,t),e.isProcessed=!0}},t.onProcessStyle=function(e,t,r){for(var n=0;n<this.registry.onProcessStyle.length;n++)t.style=this.registry.onProcessStyle[n](t.style,t,r)},t.onProcessSheet=function(e){for(var t=0;t<this.registry.onProcessSheet.length;t++)this.registry.onProcessSheet[t](e)},t.onUpdate=function(e,t,r,n){for(var i=0;i<this.registry.onUpdate.length;i++)this.registry.onUpdate[i](e,t,r,n)},t.onChangeValue=function(e,t,r){for(var n=e,i=0;i<this.registry.onChangeValue.length;i++)n=this.registry.onChangeValue[i](n,t,r);return n},t.use=function(e,t){void 0===t&&(t={queue:"external"});var r=this.plugins[t.queue];-1===r.indexOf(e)&&(r.push(e),this.registry=[].concat(this.plugins.external,this.plugins.internal).reduce((function(e,t){for(var r in t)r in e&&e[r].push(t[r]);return e}),{onCreateRule:[],onProcessRule:[],onProcessStyle:[],onProcessSheet:[],onChangeValue:[],onUpdate:[]}))},e}(),Y=function(){function e(){this.registry=[]}var t=e.prototype;return t.add=function(e){var t=this.registry,r=e.options.index;if(-1===t.indexOf(e))if(0===t.length||r>=this.index)t.push(e);else for(var n=0;n<t.length;n++)if(t[n].options.index>r)return void t.splice(n,0,e)},t.reset=function(){this.registry=[]},t.remove=function(e){var t=this.registry.indexOf(e);this.registry.splice(t,1)},t.toString=function(e){for(var t=void 0===e?{}:e,r=t.attached,n=(0,l.Z)(t,["attached"]),i=p(n).linebreak,s="",o=0;o<this.registry.length;o++){var a=this.registry[o];null!=r&&a.attached!==r||(s&&(s+=i),s+=a.toString(n))}return s},(0,s.Z)(e,[{key:"index",get:function(){return 0===this.registry.length?0:this.registry[this.registry.length-1].options.index}}]),e}(),Q=new Y,X="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window&&window.Math===Math?window:"undefined"!=typeof self&&self.Math===Math?self:Function("return this")(),ee="2f1acc6c3a606b082e5eef5e54414ffb";null==X[ee]&&(X[ee]=0);var te=X[ee]++,re=function(e){void 0===e&&(e={});var t=0;return function(r,n){t+=1;var i="",s="";return n&&(n.options.classNamePrefix&&(s=n.options.classNamePrefix),null!=n.options.jss.id&&(i=String(n.options.jss.id))),e.minify?""+(s||"c")+te+i+t:s+r.key+"-"+te+(i?"-"+i:"")+"-"+t}},ne=function(e){var t;return function(){return t||(t=e()),t}},ie=function(e,t){try{return e.attributeStyleMap?e.attributeStyleMap.get(t):e.style.getPropertyValue(t)}catch(e){return""}},se=function(e,t,r){try{var n=r;if(Array.isArray(r)&&(n=h(r)),e.attributeStyleMap)e.attributeStyleMap.set(t,n);else{var i=n?n.indexOf("!important"):-1,s=i>-1?n.substr(0,i-1):n;e.style.setProperty(t,s,i>-1?"important":"")}}catch(e){return!1}return!0},oe=function(e,t){try{e.attributeStyleMap?e.attributeStyleMap.delete(t):e.style.removeProperty(t)}catch(e){}},ae=function(e,t){return e.selectorText=t,e.selectorText===t},le=ne((function(){return document.querySelector("head")}));var ue=ne((function(){var e=document.querySelector('meta[property="csp-nonce"]');return e?e.getAttribute("content"):null})),ce=function(e,t,r){try{"insertRule"in e?e.insertRule(t,r):"appendRule"in e&&e.appendRule(t)}catch(e){return!1}return e.cssRules[r]},fe=function(e,t){var r=e.cssRules.length;return void 0===t||t>r?r:t},de=function(){function e(e){this.getPropertyValue=ie,this.setProperty=se,this.removeProperty=oe,this.setSelector=ae,this.hasInsertedRules=!1,this.cssRules=[],e&&Q.add(e),this.sheet=e;var t,r=this.sheet?this.sheet.options:{},n=r.media,i=r.meta,s=r.element;this.element=s||((t=document.createElement("style")).textContent="\n",t),this.element.setAttribute("data-jss",""),n&&this.element.setAttribute("media",n),i&&this.element.setAttribute("data-meta",i);var o=ue();o&&this.element.setAttribute("nonce",o)}var t=e.prototype;return t.attach=function(){if(!this.element.parentNode&&this.sheet){!function(e,t){var r=t.insertionPoint,n=function(e){var t=Q.registry;if(t.length>0){var r=function(e,t){for(var r=0;r<e.length;r++){var n=e[r];if(n.attached&&n.options.index>t.index&&n.options.insertionPoint===t.insertionPoint)return n}return null}(t,e);if(r&&r.renderer)return{parent:r.renderer.element.parentNode,node:r.renderer.element};if(r=function(e,t){for(var r=e.length-1;r>=0;r--){var n=e[r];if(n.attached&&n.options.insertionPoint===t.insertionPoint)return n}return null}(t,e),r&&r.renderer)return{parent:r.renderer.element.parentNode,node:r.renderer.element.nextSibling}}var n=e.insertionPoint;if(n&&"string"==typeof n){var i=function(e){for(var t=le(),r=0;r<t.childNodes.length;r++){var n=t.childNodes[r];if(8===n.nodeType&&n.nodeValue.trim()===e)return n}return null}(n);if(i)return{parent:i.parentNode,node:i.nextSibling}}return!1}(t);if(!1!==n&&n.parent)n.parent.insertBefore(e,n.node);else if(r&&"number"==typeof r.nodeType){var i=r,s=i.parentNode;s&&s.insertBefore(e,i.nextSibling)}else le().appendChild(e)}(this.element,this.sheet.options);var e=Boolean(this.sheet&&this.sheet.deployed);this.hasInsertedRules&&e&&(this.hasInsertedRules=!1,this.deploy())}},t.detach=function(){if(this.sheet){var e=this.element.parentNode;e&&e.removeChild(this.element),this.sheet.options.link&&(this.cssRules=[],this.element.textContent="\n")}},t.deploy=function(){var e=this.sheet;e&&(e.options.link?this.insertRules(e.rules):this.element.textContent="\n"+e.toString()+"\n")},t.insertRules=function(e,t){for(var r=0;r<e.index.length;r++)this.insertRule(e.index[r],r,t)},t.insertRule=function(e,t,r){if(void 0===r&&(r=this.element.sheet),e.rules){var n=e,i=r;if("conditional"===e.type||"keyframes"===e.type){var s=fe(r,t);if(!1===(i=ce(r,n.toString({children:!1}),s)))return!1;this.refCssRule(e,s,i)}return this.insertRules(n.rules,i),i}var o=e.toString();if(!o)return!1;var a=fe(r,t),l=ce(r,o,a);return!1!==l&&(this.hasInsertedRules=!0,this.refCssRule(e,a,l),l)},t.refCssRule=function(e,t,r){e.renderable=r,e.options.parent instanceof L&&this.cssRules.splice(t,0,r)},t.deleteRule=function(e){var t=this.element.sheet,r=this.indexOf(e);return-1!==r&&(t.deleteRule(r),this.cssRules.splice(r,1),!0)},t.indexOf=function(e){return this.cssRules.indexOf(e)},t.replaceRule=function(e,t){var r=this.indexOf(e);return-1!==r&&(this.element.sheet.deleteRule(r),this.cssRules.splice(r,1),this.insertRule(t,r))},t.getRules=function(){return this.element.sheet.cssRules},e}(),he=0,pe=function(){function e(e){this.id=he++,this.version="10.10.0",this.plugins=new K,this.options={id:{minify:!1},createGenerateId:re,Renderer:i.Z?de:null,plugins:[]},this.generateId=re({minify:!1});for(var t=0;t<D.length;t++)this.plugins.use(D[t],{queue:"internal"});this.setup(e)}var t=e.prototype;return t.setup=function(e){return void 0===e&&(e={}),e.createGenerateId&&(this.options.createGenerateId=e.createGenerateId),e.id&&(this.options.id=(0,n.Z)({},this.options.id,e.id)),(e.createGenerateId||e.id)&&(this.generateId=this.options.createGenerateId(this.options.id)),null!=e.insertionPoint&&(this.options.insertionPoint=e.insertionPoint),"Renderer"in e&&(this.options.Renderer=e.Renderer),e.plugins&&this.use.apply(this,e.plugins),this},t.createStyleSheet=function(e,t){void 0===t&&(t={});var r=t.index;"number"!=typeof r&&(r=0===Q.index?0:Q.index+1);var i=new L(e,(0,n.Z)({},t,{jss:this,generateId:t.generateId||this.generateId,insertionPoint:this.options.insertionPoint,Renderer:this.options.Renderer,index:r}));return this.plugins.onProcessSheet(i),i},t.removeStyleSheet=function(e){return e.detach(),Q.remove(e),this},t.createRule=function(e,t,r){if(void 0===t&&(t={}),void 0===r&&(r={}),"object"==typeof e)return this.createRule(void 0,e,t);var i=(0,n.Z)({},r,{name:e,jss:this,Renderer:this.options.Renderer});i.generateId||(i.generateId=this.generateId),i.classes||(i.classes={}),i.keyframes||(i.keyframes={});var s=f(e,t,i);return s&&this.plugins.onProcessRule(s),s},t.use=function(){for(var e=this,t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return r.forEach((function(t){e.plugins.use(t)})),this},e}(),ye=function(e){return new pe(e)},me="object"==typeof CSS&&null!=CSS&&"number"in CSS;function ve(e){var t=null;for(var r in e){var n=e[r],i=typeof n;if("function"===i)t||(t={}),t[r]=n;else if("object"===i&&null!==n&&!Array.isArray(n)){var s=ve(n);s&&(t||(t={}),t[r]=s)}}return t}ye()},66866:(e,t)=>{var r="function"==typeof Symbol&&Symbol.for,n=r?Symbol.for("react.element"):60103,i=r?Symbol.for("react.portal"):60106,s=r?Symbol.for("react.fragment"):60107,o=r?Symbol.for("react.strict_mode"):60108,a=r?Symbol.for("react.profiler"):60114,l=r?Symbol.for("react.provider"):60109,u=r?Symbol.for("react.context"):60110,c=r?Symbol.for("react.async_mode"):60111,f=r?Symbol.for("react.concurrent_mode"):60111,d=r?Symbol.for("react.forward_ref"):60112,h=r?Symbol.for("react.suspense"):60113,p=r?Symbol.for("react.suspense_list"):60120,y=r?Symbol.for("react.memo"):60115,m=r?Symbol.for("react.lazy"):60116,v=r?Symbol.for("react.block"):60121,g=r?Symbol.for("react.fundamental"):60117,b=r?Symbol.for("react.responder"):60118,S=r?Symbol.for("react.scope"):60119;function x(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case n:switch(e=e.type){case c:case f:case s:case a:case o:case h:return e;default:switch(e=e&&e.$$typeof){case u:case d:case m:case y:case l:return e;default:return t}}case i:return t}}}function k(e){return x(e)===f}t.AsyncMode=c,t.ConcurrentMode=f,t.ContextConsumer=u,t.ContextProvider=l,t.Element=n,t.ForwardRef=d,t.Fragment=s,t.Lazy=m,t.Memo=y,t.Portal=i,t.Profiler=a,t.StrictMode=o,t.Suspense=h,t.isAsyncMode=function(e){return k(e)||x(e)===c},t.isConcurrentMode=k,t.isContextConsumer=function(e){return x(e)===u},t.isContextProvider=function(e){return x(e)===l},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===n},t.isForwardRef=function(e){return x(e)===d},t.isFragment=function(e){return x(e)===s},t.isLazy=function(e){return x(e)===m},t.isMemo=function(e){return x(e)===y},t.isPortal=function(e){return x(e)===i},t.isProfiler=function(e){return x(e)===a},t.isStrictMode=function(e){return x(e)===o},t.isSuspense=function(e){return x(e)===h},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===s||e===f||e===a||e===o||e===h||e===p||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===y||e.$$typeof===l||e.$$typeof===u||e.$$typeof===d||e.$$typeof===g||e.$$typeof===b||e.$$typeof===S||e.$$typeof===v)},t.typeOf=x},48570:(e,t,r)=>{e.exports=r(66866)},926:(e,t,r)=>{function n(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}r.d(t,{Z:()=>n})},87371:(e,t,r)=>{r.d(t,{Z:()=>s});var n=r(45850);function i(e,t){for(var r=0;r<t.length;r++){var i=t[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,(0,n.Z)(i.key),i)}}function s(e,t,r){return t&&i(e.prototype,t),r&&i(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}},38777:(e,t,r)=>{r.d(t,{Z:()=>s});var n=r(926),i=r(59147);function s(e){return function(e){if(Array.isArray(e))return(0,n.Z)(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||(0,i.Z)(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},45850:(e,t,r)=>{r.d(t,{Z:()=>i});var n=r(86522);function i(e){var t=function(e,t){if("object"!==(0,n.Z)(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var i=r.call(e,t);if("object"!==(0,n.Z)(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e,"string");return"symbol"===(0,n.Z)(t)?t:String(t)}},86522:(e,t,r)=>{function n(e){return n="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},n(e)}r.d(t,{Z:()=>n})},59147:(e,t,r)=>{r.d(t,{Z:()=>i});var n=r(926);function i(e,t){if(e){if("string"==typeof e)return(0,n.Z)(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?(0,n.Z)(e,t):void 0}}}}]);
|
|
3
3
|
//# sourceMappingURL=9016.js.map
|