1"use strict";(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[3716],{63535:(e,t,a)=>{a.r(t),a.d(t,{NoAccessPageComponent:()=>y,default:()=>I});var s=a(72791),n=a(42789),o=a(47375),c=a(6639),i=a(86134),r=a(81420),l=a(80948),m=a(21102),d=a(53002),u=a(46902),g=a(81982),p=a(36963),N=a(52745),_=a(67600);const h="IconDoor_stroke__BklwB",A="IconDoor_strokeAndFill__b5Cqw",P=e=>{const{className:t}=e;return s.createElement("svg",{className:t,width:"52",height:"59",viewBox:"0 0 52 59",xmlns:"http://www.w3.org/2000/svg"},s.createElement("g",{strokeWidth:"2.5",fill:"none",fillRule:"evenodd",strokeLinejoin:"round"},s.createElement("path",{className:A,strokeLinecap:"round",d:"M28.182 42.364H50V26H28.182z"}),s.createElement("path",{d:"M39.09 38v-4.364",stroke:"#FFF",strokeLinecap:"round"}),s.createElement("path",{className:h,d:"M31.455 26v-2.455c0-4.067 3.176-7.363 7.09-7.363 3.915 0 7.09 3.296 7.09 7.363V26",strokeLinecap:"round"}),s.createElement("path",{d:"M40.182 32.545c0 .603-.49 1.09-1.09 1.09-.603 0-1.092-.487-1.092-1.09 0-.602.49-1.09 1.09-1.09.603 0 1.092.488 1.092 1.09z",stroke:"#FFF"}),s.createElement("path",{className:h,strokeLinecap:"round",d:"M23.818 7.455h19.637V14M43.455 47.818v4.364H23.818M2 52.798l21.818 4.838V2L2 6.838z"}),s.createElement("path",{className:h,d:"M19.455 30.91c0 2.107-1.71 3.817-3.82 3.817-2.106 0-3.817-1.71-3.817-3.818 0-2.11 1.71-3.82 3.818-3.82s3.82 1.71 3.82 3.82z",strokeLinecap:"round"})))};P.defaultProps={className:null};const v=P,E="NoAccessPage_root__SZeeo",T="NoAccessPage_contentContainer__S+csn marketplaceModalRootStyles",f="NoAccessPage_layoutWrapperMain__1zmHC",L="NoAccessPage_emailSubmittedContent__Pzc1B marketplaceModalBaseStyles",k="NoAccessPage_modalIcon__+yTvr marketplaceModalIconStyles",M="NoAccessPage_modalTitle__cNGNy marketplaceModalTitleStyles",C="NoAccessPage_modalMessage__HJsS2 marketplaceModalParagraphStyles",D="NoAccessPage_ctaButton__dDSMe buttonDefault",S="NoAccessPage_modalSpacer__e4Iwm",w=e=>
1{const[t,a]=(0,s.useState)(!1);(0,s.useEffect)((()=>{a(!0)}),[]);const{data:n,routeConfiguration:o,userId:c,userEmail:i}=e;if(null===n||void 0===n||!n.type||"none"===n.type)return null;const{type:r,text:l,href:m}=n;if(!t)return s.createElement("div",{className:S});const u=(0,d.Ij)(r,m,o,c,i);return"internal"===r&&u.route?s.createElement(g.RC,{name:u.route.name,to:u.route.to,params:u.route.params,className:D},l):s.createElement(g.dL,{href:u.link,className:D},l)},y=e=>{var t,a;const n=(0,c.mX)(),o=(0,i.a5)(),d=(0,l.YB)(),u=n.marketplaceName,{scrollingDisabled:h,currentUser:A,params:P}=e,D=null===P||void 0===P?void 0:P.missingAccessRight,S=D===m.hb,y=D===m.Tr,I=D===m.sW,b=D===m.AI,{accessControl:B}=n||{},{requireApprovalToJoinOptions:{callToAction:O}={},requirePermissionToInitiateTransactionsOptions:{callToAction:z}={},requirePermissionToPostListingsOptions:{callToAction:F}={},requirePermissionToReadOptions:{callToAction:H}={}}=(null===B||void 0===B?void 0:B.users)||{},q=S?{schemaTitle:"NoAccessPage.userPendingApproval.schemaTitle",heading:"NoAccessPage.userPendingApproval.heading",content:"NoAccessPage.userPendingApproval.content",ctaData:O}:y?{schemaTitle:"NoAccessPage.postListings.schemaTitle",heading:"NoAccessPage.postListings.heading",content:"NoAccessPage.postListings.content",ctaData:F}:I?{schemaTitle:"NoAccessPage.initiateTransactions.schemaTitle",heading:"NoAccessPage.initiateTransactions.heading",content:"NoAccessPage.initiateTransactions.content",ctaData:z}:b?{schemaTitle:"NoAccessPage.viewListings.schemaTitle",heading:"NoAccessPage.viewListings.heading",content:"NoAccessPage.viewListings.content",ctaData:H}:{};return q.heading&&q.content?s.createElement(g.T3,{title:d.formatMessage({id:q.schemaTitle}),scrollingDisabled:h},s.createElement(g.ip,{mainColumnClassName:f,topbar:s.createElement(N.Z,null),footer:s.createElement(_.Z,null)},s.createElement(g.I4,{className:E,childrenWrapperClassName:T,as:"section",image:n.branding.brandImage,sizes:"100%",useOverlay:!0},s.createElement("div",{className:L},s.createElement(v,{className:k}),s.createElement(g.X6,{as:"h1",rootClassName:M},d.formatMessage({id:q.heading})),s.createElement("p",{className:C},d.formatMessage({id:q.content},{marketplaceName:u})),s.createElement(w,{data:q.ctaData,routeConfiguration:o,userId:null===A||void 0===A||null===(t=A.id)||void 0===t?void 0:t.uuid,userEmail:null===A||void 0===A||null===(a=A.attributes)||void 0===a?void 0:a.email}))))):(r.default.dev&&console.warn("The missing access right, ".concat(D,", is not handled. Translations missing.")),s.createElement(p.Z,{staticContext:e.staticContext}))};y.defaultProps={};const I=(0,n.qC)((0,o.$j)((e=>{const{currentUser:t}=e.user;return{scrollingDisabled:(0,u.uS)(e),currentUser:t}})))(y)}}]); 2//# sourceMappingURL=NoAccessPage.ddcd403d.chunk.js.map
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.