1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7236],{18248:function(e,t,o){var a,n=o(57437),r=o(15735),i=o(39155),l=o(58414),s=o(46387),c=o(27849),d=o(13979),u=o(8e4),p=o(89058),m=o(55788);!function(e){e.info="info",e.error="error",e.warning="warning",e.success="success",e.default="default"}(a||(a={}));const g={base:{padding:"12px 24px 12px 12px",display:{sm:"flex",xs:"grid"},borderRadius:"4px",gridTemplateColumns:"32px auto",color:"colors.textPrimary","& .MuiAlert-icon":{alignSelf:"flex-start",flexShrink:0,p:0,mr:"8px"},"& .MuiAlert-action":{alignSelf:"center",padding:0,ml:{sm:"auto",xs:"0px"},marginRight:0,gridColumn:2,"& button":{color:"inherit"},mt:{sm:0,xs:"12px"}},"& .MuiAlert-message":{maxWidth:"700px",p:0,gap:"4px",display:"flex",flexDirection:"column",justifyContent:"center",mr:{sm:"16px",xs:0}},"&.MuiPaper-root.MuiPaper-rounded.MuiPaper-elevation":{borderRadius:"4px"}},default:{base:{"& .MuiAlert-action button":{color:"colors.textPrimary"},"& .MuiAlert-icon":{color:"colors.statusNeutralDark"}},contained:{backgroundColor:"colors.statusNeutralLight"},outlined:{backgroundColor:"colors.white",border:"1px solid",borderColor:"colors.borderGreyLight"}},info:{base:{"& .MuiAlert-action button":{color:"colors.statusIncomingDark"},"& .MuiAlert-icon":{color:"colors.functionalInfo"}},contained:{backgroundColor:"colors.statusIncomingLight"},outlined:{backgroundColor:"colors.white",border:"1px solid",borderColor:"colors.functionalInfo"}},success:{base:{"& .MuiAlert-action button, .MuiAlert-icon":{color:"colors.functionalSuccess"}},contained:{backgroundColor:"colors.statusConfirmedLight"},outlined:{backgroundColor:"colors.white",border:"1px solid",borderColor:"colors.functionalSuccess"}},error:{base:{"& .MuiAlert-action button, .MuiAlert-icon":{color:"colors.functionalDanger"}},contained:{backgroundColor:"colors.statusCancelledLight"},outlined:{backgroundColor:"colors.white",border:"1px solid",borderColor:"colors.functionalDanger"}},warning:{base:{"& .MuiAlert-action button, .MuiAlert-icon":{color:"colors.functionalWarning"}},contained:{backgroundColor:"colors.statusPendingLight"},outlined:{backgroundColor:"colors.white",border:"1px solid",borderColor:"colors.functionalWarning"}}},x={default:{severity:"info","data-tour":"default-alert"},info:{severity:"info","data-tour":"info-alert"},success:{severity:"success","data-tour":"success-alert"},error:{severity:"error","data-tour":"error-alert"},warning:{severity:"warning","data-tour":"warning-alert"}},h={default:u.Z,info:u.Z,error:d.Z,success:c.Z,warning:p.Z},f=e=>{let{children:t,animated:o}=e;return o?(0,n.jsx)(l.Z,{direction:"left",in:!0,children:t}):t};t.Z=e=>{let{children:t,type:o="default",sx:a,onActionClick:l,title:c,variant:d="contained",animated:u=!0,id:p}=e;var b;const{t:v}=(0,m.$G)(),w=o in g?o:"default",y={...x[w]},M=[g.base,(null===(b=g[w])||void 0===b?void 0:b.base)||{},g[w][d],...Array.isArray(a)?a:[a]],C=l&&(0,n.jsx)(i.Z,{variant:"text",onClick:l,children:v("common.got_it_excl")}),Z=h[w],P="default"===o?void 0:o;return(0,n.jsx)(f,{animated:u,children:(0,n.jsxs)(r.Z,{...y,sx:M,action:C,icon:(0,n.jsx)(Z,{}),color:P,...p&&{id:p},children:[!!c&&(0,n.jsx)(s.Z,{variant:"h6",children:c}),(0,n.jsx)(s.Z,{variant:"body2",children:t})]})})}},41180:function(e,t,o){var a=o(57437),n=o(95576),r=o(8e4);t.Z=e=>{let{color:t,...o}=e;return(0,a.jsx)(n.Z,{"data-tour":"notification-icon","data-styleid":"notification-icon-".concat(null!==t&&void 0!==t?t:"default"),size:"large",color:t,className:"filled",...o,children:(0,a.jsx)(r.Z,{})})}},76093:function(e,t,o){o.r(t);var a=o(57437),n=o(55788),r=o(34396);t.default=()=>{const{t:e}=(0,n.$G)();return(0,a.jsx)(r.Z,{title:e("common.team_members"),modalSubtitle:e("profile.profile_team_members.are_you_sure_you_want"),modalText:e("profile.profile_team_members.they_will_remain_in_the")})}},34396:function(e,t,o){o.d(t,{Z:function(){return y}});var a=o(57437),n=o(2265),r=o(21170),i=o(19902),l=o(46387),s=o(67293),
1c=o(14672),d=o(8646),u=o(55788),p=o(73271),m=o(7220),g=o(338),x=o(61277);const h={current:0,limit:0,allowanceMessage:"",ignoreLimit:0,disable_members:!1,free:0,extra:0,allowExtra:"0",showAlways:!1,allowManuals:!1};var f=()=>{const{t:e}=(0,u.$G)(),{showErrorMessage:t}=(0,m.Z)(),o=(0,c.CGy)(c.BY5),[a,r]=(0,n.useState)(h),[i,l]=(0,n.useState)([]),[s,d]=(0,n.useState)(null),f=(0,n.useRef)(!0),{limit:b,page:v,setLimit:w,setPage:y,total:M,list:C,setList:Z,isFetching:P,setIsFetching:_,setTotal:k,resetList:T}=(0,p.Z)({},{limit:x.Q}),j=C[v]||[],L=(0,n.useCallback)((e=>{T(),w(Number(e.target.value)),y(1)}),[T,w,y]),I=(0,n.useCallback)((function(){let o=arguments.length>0&&void 0!==arguments[0]&&arguments[0];var a;return Boolean(null===(a=C[v])||void 0===a?void 0:a.length)&&!o?Promise.resolve():(_(!0),(0,g.NK)({page:v,limit:b}).then((e=>{Z(e.list.map(g.vz)),k(e.total),r(e.limit)})).catch((o=>{const a=o instanceof Error?o.message:"error.something_went_wrong";t(e(a))})).finally((()=>{_(!1)})))}),[_,v,b,C,Z,k,t,e]),S=(0,n.useRef)(I);S.current=I;const A=(0,n.useCallback)((async o=>{try{if(!o)throw new Error(e("profile_team_members.use_team_members_list.no_member_selected_for_deletion"));await(0,g.yP)(o),await S.current(!0)}catch(a){t(a instanceof Error?a.message:String(a))}}),[t,e]);return(0,n.useEffect)((()=>{o&&f.current&&(S.current(),(0,g.Gr)().then((e=>{l(e.sections||[]),d(e.settings.parentManage)})).catch((o=>{const a=o instanceof Error?o.message:"error.something_went_wrong";t(e(a))})))}),[o,t,e]),(0,n.useEffect)((()=>{f.current?f.current=!1:o&&S.current()}),[v,b,o]),{list:j,total:M,page:v,limit:b,isFetching:P,limitData:a,additionalFields:i,settings:s,setPage:y,setIsFetching:_,changeElementsOnPage:L,getMembersList:I,deleteTeamMember:A}},b=o(68045);var v=()=>{const{showErrorMessage:e}=(0,m.Z)(),{t:t}=(0,u.$G)(),[o,a]=(0,n.useState)(null),[r,i]=(0,n.useState)(null),l=(0,n.useCallback)((()=>{i(null),a(null)}),[]),s=(0,n.useCallback)((e=>{i({id:null!==e&&void 0!==e?e:void 0}),a("delete")}),[]),c=(0,n.useCallback)((()=>{a("validate")}),[]),d=(0,n.useCallback)((()=>{a("add")}),[]);return{activeModal:o,memberData:r,closeModal:l,handleOpenDeleteModal:s,handleOpenValidateModal:c,addValidatedMember:(0,n.useCallback)((e=>{i(e),d()}),[d]),editTeamMember:(0,n.useCallback)((o=>(0,g.Gr)(o).then((e=>{const{photoURL:t=""}=e.userData;i({...e.userData,photoURL:b.fK.test(t)?"":t}),d()})).catch((o=>{const a=o instanceof Error?o.message:t("error.something_went_wrong");e(a)}))),[d,e,t])}};const w={wrapper:{p:{xs:"0",sm:"24px"},position:"relative",display:"flex",flexDirection:"column",justifyContent:"space-between","&.MuiPaper-root.MuiPaper-rounded":{border:{xs:"none",sm:1},borderRadius:{xs:0,sm:"16px"}},'&[data-haslist="true"]':{minHeight:"645px"},'&[data-haslist="false"]':{minHeight:"580px"}}};var y=e=>{let{title:t,modalText:o,modalSubtitle:u,children:p,renderTopContent:m,slotSx:g,additionalNotificationsData:x,hideCardButtons:h,canAddMembers:b}=e;const y=(0,c.CGy)(c.mEh).includes("members"),{list:M,total:C,page:Z,limit:P,isFetching:_,limitData:k,additionalFields:T,settings:j,setPage:L,changeElementsOnPage:I,getMembersList:S,deleteTeamMember:A}=f(),{activeModal:E,memberData:D,closeModal:F,handleOpenDeleteModal:N,handleOpenValidateModal:B,addValidatedMember:R,editTeamMember:W}=v(),G=Boolean(k.ignoreLimit)||k.current<k.limit||0===k.limit,O=!k.disable_members,z=G&&(null!==b&&void 0!==b?b:O)&&!y,H=Boolean(null===j||void 0===j?void 0:j.allow_exhibitors_to_manage_connection_settings_of_team_members),V=(0,n.useCallback)((async()=>{var e;await A(null!==(e=null===D||void 0===D?void 0:D.id)&&void 0!==e?e:null),F()}),[A,null===D||void 0===D?void 0:D.id,F]),$=(0,n.useCallback)((e=>{L(e)}),[L]),K=(0,n.useCallback)((()=>S(!0)),[S]),U=(null===g||void 0===g?void 0:g.paper)?[w.wrapper,g.paper]:w.wrapper;return(0,a.jsxs)(i.Z,{variant:"outlined","data-haslist":Boolean(M.length),sx:U,children:[(0,a.jsxs)(r.Z,{children:[(0,a.jsx)(d.vL,{title:t,showAddButton:z,handleOpenValidateModal:B,showConnectionSettingsBtn:H,hideNotifications:!O,notificationData:{limit:k.limit,allowanceMessage:k.allowanceMessage,...x}}),m,(0,a.jsx)(s.default,{sx:{height:"initial"},isLoading:_||!1,children:(0,a.jsx)(d.in,{total:C,currentIsFetching:_,showAddButton:z,addTeamMember:B,members:M,hideButtons:Boolean(h||y),handleOpenModalWindow:N,editTeamMember:W,elementsOnPage:P,page:Z,setPage:$,changeElementsOnPage:I})})]}),p,(0,a.jsx)(d.xI,{open:"validate"===E,onClose:F,onSave:R}),(0,a.jsx)(d.aq,{open:"add"===E,onClose:F,initialValues:D,additionalFields:T,onSave:K}),(0,a.jsx)(d.i8,{open:"delete"===E,onClose:F,subtitle:(0,a.jsxs)(a.Fragment,{children:[u&&(0,a.jsx)(l.Z,{variant:"body2",children:u}),(0,a.jsx)(l.Z,{variant:"body2",children:o})]}),onDelete:V})]})}}
1,83739:function(e,t,o){var a=o(57437),n=o(2265),r=o(64119),i=o(16210),l=o(92920),s=o(46387),c=o(79507),d=o(35791),u=o(77305),p=o(77468),m=o(9026),g=o(41530),x=o(44134);const h=(0,n.forwardRef)(((e,t)=>{const{titleProps:o,icon:i,title:l,subtitle:s,open:c,onClose:d,iconProps:u,closeIconProps:p,contentProps:m,children:g,ActionButtons:h,actionsProps:P,color:_="primary",width:k,style:T,...j}=(0,r.Z)({props:e,name:"IconModal"}),L="number"===typeof k?"".concat(k,"px"):k,I={color:_},S=(0,n.useMemo)((()=>(0,x.w)()),[]);var A;const E=l?null!==(A=null===o||void 0===o?void 0:o.id)&&void 0!==A?A:"icon-modal-title-".concat(S):void 0;var D;return(0,a.jsxs)(f,{open:c,ref:t,"data-styleid":"modal",onClose:d,ownerState:I,"aria-labelledby":l?E:void 0,style:{"--Dialog-width":k?L:"100%",...T},...j,children:[(0,a.jsxs)(b,{children:[i&&(0,a.jsx)(y,{size:56,variant:"circular",ownerState:I,...u,children:i}),l&&(0,a.jsx)(v,{variant:"h3",...o,id:null!==(D=null===o||void 0===o?void 0:o.id)&&void 0!==D?D:E,children:l}),s&&(0,a.jsx)(w,{variant:"body2",children:s})]}),d&&(0,a.jsx)(M,{onClose:d,...p}),(0,a.jsx)(C,{...m,children:g}),h&&(0,a.jsx)(Z,{...P,children:h})]})}));h.displayName="IconModal";const f=(0,i.ZP)(d.Z,{name:"IconModal",slot:"root"})({}),b=(0,i.ZP)(g.Z,{name:"IconModal",slot:"header"})({}),v=(0,i.ZP)(c.Z,{name:"IconModal",slot:"title"})({}),w=(0,i.ZP)(s.Z,{name:"IconModal",slot:"subtitle"})({}),y=(0,i.ZP)(l.default,{name:"IconModal",slot:"icon"})({}),M=(0,i.ZP)(u.Z,{name:"IconModal",slot:"close"})({}),C=(0,i.ZP)(p.Z,{name:"IconModal",slot:"content"})({}),Z=(0,i.ZP)(m.Z,{name:"IconModal",slot:"actions"})({});t.Z=h},77305:function(e,t,o){var a=o(57437),n=o(95576),r=o(2265),i=o(8876),l=o(98727),s=o(75714);const c=(0,r.forwardRef)(((e,t)=>{let{onClose:o,className:r,...c}=e;if(!o)return null;return(0,a.jsx)(n.Z,{"aria-label":"close",color:"default",size:"large",ref:t,className:(0,l.N)([s.y.iconClose,"rounded","dense",r]),...c,onClick:e=>{o(e,"escapeKeyDown")},children:(0,a.jsx)(i.Z,{})})}));c.displayName="ModalCloseButton",t.Z=c},12824:function(e,t,o){var a=o(57437),n=o(2265),r=o(79507),i=o(64119),l=o(16210),s=o(35791),c=o(77305),d=o(77468),u=o(9026),p=o(44134);const m=(0,n.forwardRef)(((e,t)=>{const{titleProps:o,title:r,open:l,onClose:s,closeIconProps:c,contentProps:d,children:u,ActionButtons:m,actionsProps:v,width:w,style:y,...M}=(0,i.Z)({props:e,name:"ModalWindow"}),C="number"===typeof w?"".concat(w,"px"):w,Z=(0,n.useMemo)((()=>(0,p.w)()),[]);var P;const _=r?null!==(P=null===o||void 0===o?void 0:o.id)&&void 0!==P?P:"modal-window-title-".concat(Z):void 0;return(0,a.jsxs)(g,{open:l,ref:t,"data-styleid":"modal",onClose:s,style:{"--Dialog-width":w?C:"100%",...y},"aria-labelledby":r?_:void 0,...M,children:[r&&(0,a.jsx)(x,{variant:"h4",...o,id:_,children:r}),(0,a.jsx)(h,{onClose:s,...c}),(0,a.jsx)(f,{...d,children:u}),m&&(0,a.jsx)(b,{...v,children:m})]})}));m.displayName="ModalWindow";const g=(0,l.ZP)(s.Z,{name:"ModalWindow",slot:"root"})({}),x=(0,l.ZP)(r.Z,{name:"ModalWindow",slot:"title"})({}),h=(0,l.ZP)(c.Z,{name:"ModalWindow",slot:"close"})({}),f=(0,l.ZP)(d.Z,{name:"ModalWindow",slot:"content"})({}),b=(0,l.ZP)(u.Z,{name:"ModalWindow",slot:"actions"})({});t.Z=m},31231:function(e,t,o){o.d(t,{default:function(){return p}});var a=o(57437),n=(o(2265),o(21170)),r=o(24021),i=o(89051),l=o(46387),s=o(79965),c=o(55788),d=o(88064);var u={tooltip:(e,t)=>({pointerEvents:"auto","& .MuiTooltip-tooltip":{backgroundColor:t?"colors.textPrimary":"common.white",borderRadius:"3px",color:t?"common.white":"colors.textPrimary",paddingY:"regular"===e?"4px":"8px",paddingX:"regular"===e?"8px":"10px",filter:"drop-shadow(0px 0px 24px rgba(0, 0, 0, 0.103544))",fontSize:"12px",lineHeight:1.4,maxWidth:"222px","& .MuiTooltip-arrow":{color:t?"colors.textPrimary":"common.white",fontSize:"regular"===e?"10px":"16px"}},"&[data-popper-placement='bottom-start'] .MuiTooltip-arrow":{marginLeft:"regular"===e?"4px":"12px"},"&[data-popper-placement='top-start'] .MuiTooltip-arrow":{marginLeft:"regular"===e?"4px":"12px"},"&[data-popper-placement='bottom-end'] .MuiTooltip-arrow":{marginLeft:"regular"===e?"-4px":"-12px"},"&[data-popper-placement='top-end'] .MuiTooltip-arrow":{marginLeft:"regular"===e?"-4px":"-12px"},"&[data-popper-placement='left-start'] .MuiTooltip-arrow":{marginTop:"regular"===e?0:"4px"},"&[data-popper-placement='right-start'] .MuiTooltip-arrow":{marginTop:"regular"===e?0:"4px"},"&[data-popper-placement='left-end'] .MuiTooltip-arrow":{marginTop:"regular"===e?0:"-4px"},"&[data-popper-placement='right-end'] .MuiTooltip-arrow":{marginTop:"regular"===e?0:"-4px"}}),content:{},header:{display:"flex",flexDirection:"column",gap:"4px"},actions:e=>({borderTop:1,borderColor:"colors.borderGreyLight",display:"flex",alignItems:"center",gap:"4px",marginX:"regular"===e?"-8px":"-10px",marginBottom:"regular"===e?"-4px":"-8px",marginTop:"regular"===e?"4px":"8px",paddingY:"8px",paddingX:"regular"===e?"8px":"10px"}),cancelButton:e=>({...e&&{backgroundColor:"transparent",color:"colors.white","&:hover":{backgroundColor:e=>(0,d.Fq)(e.palette.colors.white||"#ffffff",.1)}}})};var p=e=>{let{title:t,heading:o,message:d,onCancel:p,onOk:m,cancelText:g,okText:x,children:h,onClose:f,sx:b,disableInteractive:v,size:w="regular",isDark:y=!1,...M}=e;const{t:C}=(0,c.$G)(),Z=Boolean(o||d),P=Boolean(p||m);if(!Z&&!t)return h;const _={enterTouchDelay:0,...M,title:(0,a.jsxs)(n.Z,{sx:u.content,children:[t||(0,a.jsxs)(n.Z,{sx:u.header,children:[o&&(0,a.jsx)(l.Z,{variant:"h5",children:o}),d&&(0,a.jsx)(l.Z,{variant:"subtitle4",children:d})]}),P&&(0,a.jsxs)(n.Z,{sx:u.actions(w),children:[p&&(0,a.jsx)(s.Z,{size:"small",color:"neutral",sx:u.cancelButton(y),fullWidth:!0,onClick:p,children:g||C("common.cancel")}),m&&(0,a.jsx)(s.Z,{size:"small",color:y?"neutral":"primary",fullWidth:!0,onClick:m,children:x||C("common.ok")})]})]}),onClose:f,disableInteractive:v,PopperProps:{sx:[u.tooltip(w,y),...Array.isArray(b)?b:[b]]}};return(0,a.jsx)(r.d,{onClickAway:e=>v&&f?f(e):null,children:(0,a.jsx)(i.Z,{..._,children:h})})}},32665:function(e,t,o){o.d(t,{x:function(){return l}});var a=o(71096),n=o.n(a),r=o(72489),i=o(97482);const l=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"l LT";try{return n()((0,r.S)(e)).format(t)}catch(o){return(0,i.H)(o),"Invalid Date"}}},72489:function(e,t,o){o.d(t,{S:function(){return n}});var a=o(97482);function n(e){try{return"number"!==typeof e?e:"".concat(e).length<=10?1e3*e:e}catch(t){return(0,a.H)(t),e}}},87906:function(e,t,o){o.d(t,{B:function(){return l}});var a=o(71096),n=o.n(a),r=o(97482),i=o(72489);const l=e=>{try{return n()().isAfter((0,i.S)(e))}catch(t){return(0,r.H)(t),!1}}},73271:function(e,t,o){var a,n=o(2265);
1!function(e){e.SET_TOTAL="pagination/setTotoal",e.SET_LIST="pagination/setList",e.SET_IS_FETCHING="pagination/setIsFetching",e.SET_PAGE="pagination/setPage",e.SET_LIMIT="pagination/setLimit",e.ADD_NEW_FILTERS="pagination/addNewFilters",e.SET_MULTIPLE_PROPERTIES="pagination/setMultipleProperties"}(a||(a={}));const r={list:{},page:1,limit:4,total:0,filters:{},isFetching:!1},i=(e,t)=>{let{type:o,payload:a}=t;switch(o){case"pagination/setPage":return{...e,page:a};case"pagination/setTotoal":return{...e,total:a};case"pagination/setIsFetching":return{...e,isFetching:a};case"pagination/setLimit":return{...e,limit:a};case"pagination/setList":return{...e,list:a};case"pagination/addNewFilters":return{...e,filters:{...e.filters,...a}};case"pagination/setMultipleProperties":return{...e,...a};default:return e}};t.Z=(e,t)=>{const o={...r,...t,filters:e||{}},[a,l]=(0,n.useReducer)(i,o),s=(0,n.useCallback)((e=>l({type:"pagination/setPage",payload:e})),[]),c=(0,n.useCallback)((e=>l({type:"pagination/setTotoal",payload:e})),[]),d=(0,n.useCallback)((e=>l({type:"pagination/setIsFetching",payload:e})),[]),u=(0,n.useCallback)((e=>l({type:"pagination/setLimit",payload:e})),[]),p=(0,n.useCallback)((e=>l({type:"pagination/addNewFilters",payload:e})),[]),m=(0,n.useCallback)((()=>l({type:"pagination/setList",payload:{}})),[]),g=(0,n.useCallback)((function(e){const t=arguments.length>1&&void 0!==arguments[1]&&arguments[1]?{[a.page]:e}:{...a.list,[a.page]:e};l({type:"pagination/setList",payload:t})}),[a]);return{setPage:s,setTotal:c,setLimit:u,setIsFetching:d,addNewFilter:p,resetList:m,setList:g,updateAnyFields:(0,n.useCallback)((e=>l({type:"pagination/setMultipleProperties",payload:e})),[]),...a}}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.