1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2968],{61382:(e,n,s)=>{"use strict";s.r(n),s.d(n,{default:()=>j});var i=s(37876),t=s(77328),l=s.n(t),r=s(14232),a=s(2171),o=s(57994),c=s(38614),d=s(47553),u=s(5357),m=s(21639),f=s(82669),h=s(16495),p=s(83872);let x=(0,r.memo)(()=>{var e,n;let{primaryUserData:s}=(0,a.useSelector)(e=>e.PrimaryUserData),t=[{label:"profile",key:"profile",url:h.APP_PATHS.profileSettings,event:"settings-profile-tab",description:"Edit your profile information like name, profile picture, skills"},{label:"inbox",key:"inbox",url:h.APP_PATHS.inboxSettings,event:"settings-inbox-tab",description:"Edit shorthands and control who can send you messages on Peerlist"},{label:"account",key:"account",url:h.APP_PATHS.accountSettings,event:"settings-account-tab",description:"Change your password anytime."},{label:"notifications",key:"notifications",url:h.APP_PATHS.notificationSettings,event:"notifications-account-tab",description:"Select the kinds of notifications you get about your activities, interests, and recommendations."},{label:"job preferences",key:"jobPreferences",url:h.APP_PATHS.jobPreferenceSettings,event:"settings-jobPreferences-tab",description:"You can see & set your job preferences",badge:(null==s||null==(e=s.jobPreferences)?void 0:e.status)!==h.JOB_PREFERENCES_CONST.STATUS_INACTIVE?(0,i.jsx)(u.A.Green,{className:"ml-2",children:"Open"}):null},{label:"custom domain",key:"customDomain",url:h.APP_PATHS.customDomainSettings,event:"settings-customDomain-tab",description:"Use your profile as a portfolio on your domain",badge:(null==s||null==(n=s.customDomain)?void 0:n.domainName)?(0,i.jsx)(u.A.Green,{className:"ml-2",children:"Connected"}):(0,i.jsx)(u.A.Red,{className:"ml-2",children:"Not Connected"})}];return(0,i.jsx)("ul",{children:t.map(e=>"notifications"!==e.key||(null==s?void 0:s.published)?(0,i.jsx)("li",{className:"w-full",children:(0,i.jsx)(c.A,{page:e,children:(0,i.jsx)("p",{className:"text-xs block lg:hidden",children:e.description})})},e.url):null)})}),j=(0,d.A)(e=>{let{children:n,pageHeading:s="Settings",title:t=null,loading:a=!1,centerTopChildren:c=null}=e,[d,u]=(0,r.useState)(!1);return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(l(),{children:(0,i.jsx)("title",{children:"Peerlist Settings | ".concat(t||s)})}),(0,i.jsxs)(o.A.Center,{children:[(0,i.jsxs)(o.A.CenterTop,{internalPage:!0,children:[(0,i.jsxs)("div",{className:"flex justify-between items-center w-full",children:[(0,i.jsxs)("div",{className:"flex items-center gap-1",children:[(0,i.jsx)(o.A.BackButton,{}),(0,i.jsx)(o.A.PageHeading,{children:s})]}),c]}),(0,i.jsx)(m.Ay.CarbonOutline,{circular:!0,onClick:()=>u(e=>!e),className:"lg:hidden flex",children:d?(0,i.jsx)(p.CloseXIcon,{size:18}):(0,i.jsx)(p.MenuIcon,{size:16})})]}),(0,i.jsx)("main",{children:a?(0,i.jsx)("div",{className:"flex items-center justify-center vertical-center-loader w-full",children:(0,i.jsx)(f.A,{})}):(0,i.jsx)("div",{children:n})})]}),(0,i.jsx)(o.A.Right,{showSidePanel:d,paddingX:"px-0",children:(0,i.jsx)(x,{})})]})})},88828:(e,n,s)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/user/settings/custom-domain",function(){return s(93784)}])},93784:(e,n,s)=>{"use strict";s.r(n),s.d(n,{default:()=>f});var i=s(37876),t=s(2171);s(14232);var l=s(48230),r=s.n(l),a=s(16495),o=s(62086),c=s(47553),d=s(21639),u=s(61382),m=s(83872);let f=(0,c.A)(()=>{let{primaryUserData:e}=(0,t.useSelector)(e=>e.PrimaryUserData);return(0,i.jsx)(u.default,{pageHeading:"Custom Domain",centerTopChildren:(0,i.jsx)(d.Ay.Carbon,{as:r(),href:a.APP_PATHS.userCustomDomainCustomisePath({profileHandle:e.profileHandle}),className:"flex whitespace-nowrap gap-1 pl-3.5",target:"_blank",rel:"noreferrer",iconRight:(0,i.jsx)(m.ArrowUpRightIcon,{size:"16"}),children:"Preview"}),children:(0,i.jsx)(o.A,{})})})}},e=>{e.O(0,[2086,636,6593,8792],()=>e(e.s=88828)),_N_E=e.O()}]);
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.