1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5411],{15492:(e,l,n)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/company/settings/billing",function(){return n(74721)}])},47028:(e,l,n)=>{"use strict";n.d(l,{A:()=>h});var t=n(37876),s=n(14232),i=n(48230),a=n.n(i),o=n(4960),c=n(89311),r=n(83872),d=n(16495),u=n(21639);let h=()=>{let e=s.useRef();return(0,t.jsxs)("div",{className:"w-full group flex gap-4",onMouseEnter:()=>{e.current&&e.current.play()},onMouseLeave:()=>{e.current&&e.current.stop()},children:[(0,t.jsx)(o.a,{loop:!0,src:d.CDNLOTTIES.sparklesLottie,style:{height:40,width:40},ref:e,keepLastFrame:!0}),(0,t.jsxs)("div",{className:"flex flex-col items-start gap-3",children:[(0,t.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,t.jsx)(c.default.NormalText,{xxl:!0,className:"font-instrument",children:"Find the perfect job!"}),(0,t.jsx)(c.default.NormalText,{sm:!0,children:"Use Job Hunt AI to find the perfect job for you."})]}),(0,t.jsx)(u.Ay.Carbon,{iconRight:(0,t.jsx)(r.ArrowRightIcon,{size:14}),as:a(),small:!0,href:d.APP_PATHS.jobHuntAI,children:"Job Hunt AI"})]})]})}},55852:(e,l,n)=>{"use strict";n.d(l,{A:()=>b});var t=n(37876),s=n(2171),i=n(57994),a=n(14232),o=n(89099),c=n(89311),r=n(99478),d=n(81851),u=n(16416),h=n(17255);let x=()=>{let e=(0,o.useRouter)(),{company:l}=(0,s.useSelector)(e=>e.Company),[n,i]=(0,a.useState)(!1),x=()=>e.push(u.A.APP_PATHS.profileSettings),g={basicProfile:{label:"Basic Profile - 15%",checked:!1,points:15,onClick:x},companyTags:{label:"Industry - 10%",checked:!1,points:10,onClick:x},location:{label:"Location - 5%",checked:!1,points:5,onClick:x},socialLinks:{label:"Social links - 5%",checked:!1,points:5,onClick:x},whoWeAre:{label:"Who we are - 30%",checked:!1,points:30,onClick:x},toolsAndTechStack:{label:"Tools & tech stack - 5%",checked:!1,points:5,onClick:x},blog:{label:"Company Blog (RSS) - 15%",checked:!1,points:15,onClick:()=>i(u.A.OVERVIEW_SECTIONS.rss)},podcastYoutube:{label:"Podcast (YouTube / RSS) - 15%",checked:!1,points:15,onClick:()=>{}}},p={WEAK:{color:"red",label:"\uD83D\uDC4E Weak"},MODERATE:{color:"blue-dark",label:"\uD83D\uDE47 Moderate"},STRONG:{color:"green",label:"\uD83E\uDEE1 Strong"}},m=(e=>{var l,n,t,s,i,a,o,c,r,d;let{companyData:u,strength:h}=e,x={...h},g=0;return(null==u?void 0:u.tagline)&&(null==u?void 0:u.size)&&(null==(l=Object.keys(null==u?void 0:u.size))?void 0:l.length)>0&&(x.basicProfile.checked=!0,g+=x.basicProfile.points),(null==u||null==(n=u.industryCategory)?void 0:n.length)>0&&(x.companyTags.checked=!0,g+=x.companyTags.points),(null==u?void 0:u.description)&&((null==u?void 0:u.videoLink)||(null==u||null==(t=u.images)?void 0:t.length)>0)&&(x.whoWeAre.checked=!0,g+=x.whoWeAre.points),((null==u?void 0:u.hq)&&(null==(i=Object)||null==(s=i.keys(u.hq))?void 0:s.length)>0||(null==u?void 0:u.isRemote))&&(x.location.checked=!0,g+=x.location.points),(null==u?void 0:u.socialLinks)&&Object.keys(u.socialLinks).length>0&&(x.socialLinks.checked=!0,g+=x.socialLinks.points),(null==u?void 0:u.tools)&&(null==u?void 0:u.tools.length)>0&&(x.toolsAndTechStack.checked=!0,g+=x.toolsAndTechStack.points),((null==u||null==(a=u.integrations)?void 0:a.github)||(null==u||null==(o=u.integrations)?void 0:o.dribbble))&&(x.githubDribbble.checked=!0,g+=x.githubDribbble.points),(null==u||null==(c=u.integrations)?void 0:c.rss)&&(x.blog.checked=!0,g+=x.blog.points),((null==u||null==(r=u.integrations)?void 0:r.podcast)||(null==u||null==(d=u.integrations)?void 0:d.youtube))&&(x.podcastYoutube.checked=!0,g+=x.podcastYoutube.points),g})({companyData:l,strength:g}),b=p.WEAK;return(m>60&&(b=p.MODERATE),m>=80&&(b=p.STRONG),100===m)?null:(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:"mb-14",children:[(0,t.jsxs)("div",{className:"mb-6",children:[(0,t.jsxs)("p",{className:"text-lg font-normal text-gray-1k mb-0.5",children:[m,"%"]}),(0,t.jsxs)("div",{className:"flex items-center justify-between mb-2",children:[(0,t.jsx)(c.default.SemiBoldText,{xs:!0,children:"Profile Strength"}),(0,t.jsx)("span",{className:"text-xs font-semibold text-".concat(b.color),children:b.label})]}),(0,t.jsx)(r.A,{profilePercentage:m,customProgressColor:"bg-".concat(b.color)})]}),Object.entries(g).map(e=>{let[l,n]=e;return(0,t.jsx)("button",{type:"button",className:"block disabled:text-gray-500",onClick:n.onClick,disabled:n.checked,children:(0,t.jsx)(d.A,{label:n.label,checked:n.checked,className:"mb-1 ".concat(n.checked?"text-gray-500":"text-gray-1k")})},l)})]}),"basicProfile"===n&&(0,t.jsx)(h.A.CreateCompanyProfile,{data:l,showModal:!0,setShowModal:i,isEditing:!0}),n===u.A.OVERVIEW_SECTIONS.whoweare&&(0,t.jsx)(h.A.AddWhoWeAre,{showModal:!0,setShowModal:i}
1),n===u.A.OVERVIEW_SECTIONS.rss&&(0,t.jsx)(h.A.AddRSS,{showModal:!0,setShowModal:i})]})};var g=n(55389),p=n(47028),m=n(61889);let b=e=>{let{companyData:l=null,toggleRightPanel:n=!1}=e,{company:a}=(0,s.useSelector)(e=>e.Company);if(!(null==a?void 0:a.id)&&!(null==l?void 0:l.id))return(0,t.jsx)(i.A.Right,{});let o=null==l?void 0:l.access;return(0,t.jsx)(i.A.Right,{showSidePanel:n,className:"overflow-y-auto pt-4 pb-20 hide-scrollbar",paddingX:"px-0",children:o?(0,t.jsx)(t.Fragment,{children:(0,t.jsx)(j,{})}):(0,t.jsx)("div",{className:"px-6 flex flex-col gap-10",children:(0,t.jsx)(k,{companyData:l})})})},j=()=>(0,t.jsxs)("div",{children:[(0,t.jsx)("div",{className:"mb-14",children:(0,t.jsx)(m.A,{showCompanyName:!0})}),(0,t.jsx)("div",{className:"px-6",children:(0,t.jsx)(x,{})})]}),k=()=>(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(p.A,{}),(0,t.jsx)(g.A,{})]})},68580:(e,l,n)=>{"use strict";n.d(l,{A:()=>a});var t=n(37876),s=n(89099),i=n(2171);let a=e=>l=>{let n=(0,s.useRouter)(),{appData:a}=(0,i.useSelector)(e=>e.AppData);if(null==a?void 0:a.id)return(null==a?void 0:a.isCompanyAdmin)?(0,t.jsx)(e,{...l}):(n.push("/404"),null)}},74721:(e,l,n)=>{"use strict";n.r(l),n.d(l,{default:()=>j});var t=n(37876),s=n(77328),i=n.n(s),a=n(2171),o=n(14232),c=n(48230),r=n.n(c),d=n(34321),u=n(57994),h=n(21639),x=n(55852),g=n(68580),p=n(86425),m=n(89311),b=n(16495);let j=(0,g.A)(e=>{let{pageProp:l}=e,[n,s]=(0,o.useState)(),{company:c}=(0,a.useSelector)(e=>e.Company),[g,j]=(0,o.useState)(!1);async function k(){try{let n=await d.Q6.getBilling();if(n){var e,l;s(null==n||null==(l=n.data)||null==(e=l.data)?void 0:e.url)}}catch(e){}}return(0,o.useEffect)(()=>{k()},[]),(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(i(),{children:(0,t.jsx)("title",{children:"Company Settings | Billing and Plan"})}),(0,t.jsxs)(u.A.Center,{children:[(0,t.jsxs)(u.A.CenterTop,{children:[(0,t.jsx)("div",{className:"w-full",children:(0,t.jsx)("div",{className:"flex justify-between items-center w-full ",children:(0,t.jsx)(u.A.PageHeading,{children:"Billing and Plan"})})}),(0,t.jsxs)("div",{className:"flex items-center lg:pl-0 pl-4 gap-2 lg:gap-4",children:[(null==l?void 0:l.centerTopOptions)||null,(0,t.jsx)(u.A.RightPanelToggle,{toggleRightPanel:g,setToggleRightPanel:j})]})]}),(0,t.jsx)("div",{className:"p-6 flex flex-col gap-10 mb-10",children:(0,t.jsx)(p.A.Section,{title:"Manage Billing",children:(0,t.jsxs)("div",{className:"flex justify-between items-center mt-8 gap-4 sm:flex-row flex-col",children:[(0,t.jsxs)("div",{className:"w-3/4",children:[(0,t.jsx)(m.default.NormalText,{xs:!0,children:"For downloading invoice, add/remove payment method, update billing information, and cancel plan."}),(0,t.jsx)(m.default.NormalText,{xs:!0,as:"span",children:"For any billing related query, please email"}),(0,t.jsx)(r(),{href:"mailto:".concat(b.PEERLIST_AKASH_EMAIL),target:"_blank",title:"Mail to Akash",className:"inline hover:underline",children:(0,t.jsx)(m.default.SemiBoldText,{xs:!0,as:"span",className:"ml-1",children:b.PEERLIST_AKASH_EMAIL})})]}),(0,t.jsx)("div",{children:(0,t.jsx)(h.Ay.CarbonOutline,{className:"".concat(n?"":"pointer-events-none"),small:!0,as:r(),href:n||"",target:"_blank",disabled:!n,title:"Billing Portal to download invoice, upgrade plans.",children:"Billing Portal â"})})]})})})]}),(0,t.jsx)(x.A,{toggleRightPanel:g,companyData:c})]})})},81851:(e,l,n)=>{"use strict";n.d(l,{A:()=>o});var t=n(37876),s=n(78004),i=n.n(s),a=n(83872);let o=e=>{let{checked:l,label:n,isDark:s=!1,className:o="",onClick:c=()=>{}}=e,r=s?i().white.DEFAULT:"rgb(var(--gray-1k))";return(0,t.jsx)("button",{type:"button",onClick:c,children:(0,t.jsxs)("div",{className:"flex cursor-pointer items-center text-xs text-gray-1k ".concat(o),children:[(0,t.jsx)("div",{children:(0,t.jsx)(a.CheckRoundedIcon,{size:16,background:l?i().green.bright:i().transparent,color:l?i().green.bright:r,checkColor:l?i().white.DEFAULT:"none"})}),(0,t.jsx)("p",{className:"ml-1 font-medium ".concat(l?"line-through opacity-50":"hover:underline ml-1.5"," ").concat(s?"text-gray-00 dark:text-gray-1k":"text-gray-1k"),children:n})]})})}}},e=>{e.O(0,[5389,1889,636,6593,8792],()=>e(e.s=15492)),_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.