PageSourceSearch

https://reworkdigital.io/_next/static/chunks/pages/business-hub-278cc58f2ad13990.js

js reworkdigital.io collected 2026-10-05 02:44:19 UTC 21,725 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[18340],{14136:(e,t,s)=>{"use strict";s.d(t,{A:()=>a});let a=(0,s(48900).A)("Building2",[["path",{d:"M6 22V4a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v18Z",key:"1b4qmf"}],["path",{d:"M6 12H4a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h2",key:"i71pzd"}],["path",{d:"M18 9h2a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2h-2",key:"10jefs"}],["path",{d:"M10 6h4",key:"1itunk"}],["path",{d:"M10 10h4",key:"tcdvrf"}],["path",{d:"M10 14h4",key:"kelpxr"}],["path",{d:"M10 18h4",key:"1ulq68"}]])},21355:(e,t,s)=>{"use strict";s.d(t,{A:()=>a});let a=(0,s(48900).A)("FileText",[["path",{d:"M14.5 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7.5L14.5 2z",key:"1nnpy2"}],["polyline",{points:"14 2 14 8 20 8",key:"1ew0cm"}],["line",{x1:"16",x2:"8",y1:"13",y2:"13",key:"14keom"}],["line",{x1:"16",x2:"8",y1:"17",y2:"17",key:"17nazh"}],["line",{x1:"10",x2:"8",y1:"9",y2:"9",key:"1a5vjj"}]])},25527:(e,t,s)=>{"use strict";s.d(t,{A:()=>a});let a=(0,s(48900).A)("CreditCard",[["rect",{width:"20",height:"14",x:"2",y:"5",rx:"2",key:"ynyp8z"}],["line",{x1:"2",x2:"22",y1:"10",y2:"10",key:"1b3vmo"}]])},32e3:(e,t,s)=>{"use strict";s.d(t,{A:()=>a});let a=(0,s(48900).A)("CheckCircle",[["path",{d:"M22 11.08V12a10 10 0 1 1-5.93-9.14",key:"g774vq"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]])},32257:(e,t,s)=>{"use strict";s.d(t,{A:()=>a});let a=(0,s(48900).A)("Check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]])},34287:(e,t,s)=>{"use strict";s.d(t,{A:()=>a});let a=(0,s(48900).A)("ListChecks",[["path",{d:"m3 17 2 2 4-4",key:"1jhpwq"}],["path",{d:"m3 7 2 2 4-4",key:"1obspn"}],["path",{d:"M13 6h8",key:"15sg57"}],["path",{d:"M13 12h8",key:"h98zly"}],["path",{d:"M13 18h8",key:"oe0vm4"}]])},35740:(e,t,s)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/business-hub",function(){return s(65341)}])},36867:(e,t,s)=>{"use strict";s.d(t,{A:()=>a});let a=(0,s(48900).A)("Star",[["polygon",{points:"12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2",key:"8f66p6"}]])},41180:(e,t,s)=>{"use strict";s.d(t,{A:()=>a});let a=(0,s(48900).A)("TrendingUp",[["polyline",{points:"22 7 13.5 15.5 8.5 10.5 2 17",key:"126l90"}],["polyline",{points:"16 7 22 7 22 13",key:"kwv8wd"}]])},45069:(e,t,s)=>{"use strict";s.d(t,{A:()=>a});let a=(0,s(48900).A)("Package",[["path",{d:"m7.5 4.27 9 5.15",key:"1c824w"}],["path",{d:"M21 8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16Z",key:"hh9hay"}],["path",{d:"m3.3 7 8.7 5 8.7-5",key:"g66t2b"}],["path",{d:"M12 22V12",key:"d0xqtd"}]])},46137:(e,t,s)=>{"use strict";s.d(t,{A:()=>a});let a=(0,s(48900).A)("Minus",[["path",{d:"M5 12h14",key:"1ays0h"}]])},46293:(e,t,s)=>{"use strict";s.d(t,{A:()=>a});let a=(0,s(48900).A)("Users",[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["path",{d:"M16 3.13a4 4 0 0 1 0 7.75",key:"1da9ce"}]])},50276:(e,t,s)=>{"use strict";s.d(t,{A:()=>a});let a=(0,s(48900).A)("Globe",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",key:"13o1zl"}],["path",{d:"M2 12h20",key:"9i4pu4"}]])},56262:(e,t,s)=>{"use strict";s.d(t,{A:()=>a});let a=(0,s(48900).A)("ScrollText",[["path",{d:"M8 21h12a2 2 0 0 0 2-2v-2H10v2a2 2 0 1 1-4 0V5a2 2 0 1 0-4 0v3h4",key:"13a6an"}],["path",{d:"M19 17V5a2 2 0 0 0-2-2H4",key:"zz82l3"}],["path",{d:"M15 8h-5",key:"1khuty"}],["path",{d:"M15 12h-5",key:"r7krc0"}]])},59435:(e,t,s)=>{"use strict";s.d(t,{A:()=>a});let a=(0,s(48900).A)("Search",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]])},60383:(e,t,s)=>{"use strict";s.d(t,{A:()=>a});let a=(0,s(48900).A)("Plus",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]])},65341:(e,t,s)=>{"use strict";s.r(t),s.d(t,{default:()=>G});var a=s(37876),r=s(14232),l=s(89099),n=s(48230),i=s.n(n),d=s(91040),o=s(91171),c=s(7341),h=s(70514),u=s(96297),x=s(57445),p=s(67609),m=s(64597),b=s(11415),y=s(50873),g=s(19412),k=s(42009),v=s(9532),f=s(95680),j=s(28419),w=s(60383),A=s(14463),N=s(54893),M=s(41180),_=s(78165),S=s(60418),C=s(45069),H=s(79247),B=s(36867),q=s(46293),z=s(68520),L=s(59435),E=s(78439),F=s(73291),P=s(21355),T=s(25527),V=s(56262);let R="https://api.reworkdigital.io/api/v1",U=e=>
1(e||0).toLocaleString("en-US",{style:"currency",currency:"USD",maximumFractionDigits:0});function I(e){let{icon:t,tint:s,title:r,subtitle:l,href:n,hrefLabel:d,children:o}=e;return(0,a.jsxs)("div",{className:"bg-white dark:bg-neutral-900 rounded-2xl border border-neutral-200 dark:border-neutral-800 p-4 sm:p-5",children:[(0,a.jsxs)("div",{className:"flex items-start justify-between gap-3 mb-3",children:[(0,a.jsxs)("div",{className:"flex items-center gap-2.5 min-w-0",children:[(0,a.jsx)("div",{className:"w-8 h-8 rounded-lg flex items-center justify-center flex-shrink-0 ".concat(s),children:(0,a.jsx)(t,{className:"w-4 h-4"})}),(0,a.jsxs)("div",{className:"min-w-0",children:[(0,a.jsx)("h2",{className:"text-sm font-bold truncate",children:r}),l&&(0,a.jsx)("p",{className:"text-[11px] text-neutral-500 dark:text-neutral-400 truncate",children:l})]})]}),n&&(0,a.jsx)(i(),{href:n,className:"flex-shrink-0 text-xs font-semibold text-violet-600 dark:text-violet-400 hover:underline whitespace-nowrap",children:d||"View all"})]}),o]})}function Y(e){let{text:t,cta:s}=e;return(0,a.jsxs)("div",{className:"py-3",children:[(0,a.jsx)("p",{className:"text-xs text-neutral-500 dark:text-neutral-400",children:t}),s&&(0,a.jsxs)(i(),{href:s.href,className:"mt-2 inline-flex items-center gap-1.5 text-xs font-semibold text-violet-600 dark:text-violet-400 hover:underline",children:[s.label," ",(0,a.jsx)(j.A,{className:"w-3.5 h-3.5"})]})]})}let D=["paid","requirements_submitted","in_progress","revision_requested","late","delivered"],W={paid:"Paid, not started",requirements_submitted:"Requirements sent",in_progress:"In progress",revision_requested:"Revision requested",late:"Past the delivery date",delivered:"Awaiting your approval"},X=()=>{let e=(0,l.useRouter)(),t=(0,m.r)(),s=(0,b.X)(),[n,o]=(0,r.useState)(null),[X,G]=(0,r.useState)(""),[K,O]=(0,r.useState)(""),[Z,$]=(0,r.useState)(!1),[J,Q]=(0,r.useState)("business"),[ee,et]=(0,r.useState)(null),[es,ea]=(0,r.useState)([]),[er,el]=(0,r.useState)([]),[en,ei]=(0,r.useState)(!0),ed=t.hasBusinessHub;(0,r.useEffect)(()=>{let e=(0,y.getFirebaseAuth)(),t=(0,g.onAuthStateChanged)(e,async e=>{if(!e)return void o(null);o(e.uid),G(e.displayName||""),O(e.photoURL||"");try{let t=await (0,k.getDoc)((0,k.doc)((0,y.getFirebaseFirestore)(),"users",e.uid)),s=t.exists()?t.data():null;(null==s?void 0:s.companyName)&&G(String(s.companyName))}catch(e){}});return()=>t()},[]);let eo=(0,r.useCallback)(async()=>{var e,t;ei(!0);let s=v.L.getAccessToken(),a=s?{headers:{Authorization:"Bearer ".concat(s)}}:{},[r,l,n]=await Promise.allSettled([d.A.get("".concat(R,"/services/company/spend"),a),d.A.get("".concat(R,"/services/company/vendor-scorecard"),a),f.$m.getMyPurchases()]);if("fulfilled"===r.status&&et(r.value.data),"fulfilled"===l.status&&ea((null==(e=l.value.data)?void 0:e.vendors)||[]),"fulfilled"===n.status){let e=(null==(t=n.value.data)?void 0:t.orders)||n.value.data||[];el(Array.isArray(e)?e:[])}ei(!1)},[]);(0,r.useEffect)(()=>{ed?eo():t.loading||ei(!1)},[ed,t.loading,eo]);let ec=(0,r.useMemo)(()=>{var e,t;let s=[...(null==ee?void 0:ee.by_month)||[]].sort((e,t)=>e.month.localeCompare(t.month)),a=s[s.length-1],r=s[s.length-2],l=(null==a||null==(e=a.totals)?void 0:e.net_spend)||0,n=(null==r||null==(t=r.totals)?void 0:t.net_spend)||0,i=n>0?Math.round((l-n)/n*100):null;return{cur:l,prev:n,pct:i,hasCurrent:!!a}},[ee]),eh=(0,r.useMemo)(()=>[...(null==ee?void 0:ee.by_contractor)||[]].sort((e,t)=>{var s,a;return((null==(s=t.totals)?void 0:s.net_spend)||0)-((null==(a=e.totals)?void 0:a.net_spend)||0)}).slice(0,3),[ee]),eu=(0,r.useMemo)(()=>er.filter(e=>D.includes(String(e.status).toLowerCase())),[er]),ex=(0,r.useMemo)(()=>{let e=new Map;for(let t of eu){let s=String(t.status).toLowerCase();e.set(s,(e.get(s)||0)+1)}return e},[eu]),ep=ex.get("delivered")||0,em=(0,r.useMemo)(()=>eu.filter(e=>{let t=String(e.status).toLowerCase();return(e.is_late||"late"===t)&&"delivered"!==t}).length,[eu]),eb=(0,r.useMemo)(()=>[...es].sort((e,t)=>(t.engagements||0)-(e.engagements||0)).slice(0,4),[es]),ey=t.hasBusinessHub;return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(p.Ay,{title:"Business Hub",description:"Your Business Hub - what you spent, what is in flight, who you have used, and who holds a 
1seat. Escrow and contracts across 160+ countries, vendor scorecards built from what actually happened, and a monthly statement finance can file.",noindex:!0}),(0,a.jsxs)("div",{className:"w-full p-4 sm:p-6 pb-4 space-y-5 sm:space-y-6",children:[(0,a.jsxs)("header",{className:"flex flex-col sm:flex-row sm:items-start justify-between gap-3",children:[(0,a.jsxs)("div",{className:"min-w-0",children:[(0,a.jsx)("h1",{className:"text-xl sm:text-2xl font-bold",children:"Business Hub"}),(0,a.jsx)("p",{className:"text-sm text-neutral-600 dark:text-neutral-400 mt-1",children:"Buy automation at scale without the paperwork risk: unlimited posts, seats for the whole team, escrow and contracts across 160+ countries, and vendor scorecards built from what actually happened."}),(0,a.jsx)(h.WL,{planKey:"enterprise"===J?"enterprise":"business",label:"How to use it",className:"mt-1.5 text-neutral-500 dark:text-neutral-400"})]}),ed&&(0,a.jsxs)(i(),{href:"/create-project",className:"self-start sm:self-auto flex-shrink-0 inline-flex items-center gap-2 px-4 py-2.5 rounded-lg bg-violet-600 hover:bg-violet-700 text-white text-sm font-semibold",children:[(0,a.jsx)(w.A,{className:"w-4 h-4"})," Post a project"]})]}),!ed&&s.hasExpertHub&&(0,a.jsxs)("div",{className:"rounded-xl border border-violet-200 dark:border-violet-900/60 bg-violet-50 dark:bg-violet-950/30 p-4 flex flex-col sm:flex-row sm:items-center gap-3 justify-between",children:[(0,a.jsx)("p",{className:"text-sm text-violet-900 dark:text-violet-200",children:"You're on Expert Hub. Your storefront, packages and payouts live on the Expert Hub page."}),(0,a.jsx)(i(),{href:"/expert-hub",className:"self-start sm:self-auto flex-shrink-0 px-3 py-2 rounded-lg bg-violet-600 hover:bg-violet-700 text-white text-sm font-semibold",children:"Go to Expert Hub"})]}),(0,a.jsx)(c.A,{hub:"business",hasAccess:ed,loading:t.loading,featureName:"Business Hub",wide:!0,hideCta:!0,description:(0,a.jsx)(u.A,{hubKind:"business",userName:X,userPhoto:K,onSubscribe:t=>{if(!n)return void e.push("/login?redirect=".concat(encodeURIComponent("/business-hub")));Q("enterprise"===t?"enterprise":"business"),$(!0)}}),children:en?(0,a.jsx)("div",{className:"flex items-center justify-center py-16 text-neutral-400",children:(0,a.jsx)(A.A,{className:"w-5 h-5 animate-spin"})}):(0,a.jsxs)("div",{className:"space-y-5",children:[(0,a.jsx)(I,{icon:N.A,tint:"bg-emerald-100 dark:bg-emerald-500/15 text-emerald-600 dark:text-emerald-400",title:"Spend",subtitle:"This month against last",href:"/company/spend",hrefLabel:"Full report",children:ec.hasCurrent?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("div",{className:"flex flex-wrap items-baseline gap-x-4 gap-y-1",children:[(0,a.jsx)("span",{className:"text-2xl sm:text-3xl font-bold tabular-nums",children:U(ec.cur)}),null!==ec.pct&&(0,a.jsxs)("span",{className:"inline-flex items-center gap-1 text-xs font-semibold ".concat(ec.pct>0?"text-amber-600 dark:text-amber-400":"text-emerald-600 dark:text-emerald-400"),children:[ec.pct>0?(0,a.jsx)(M.A,{className:"w-3.5 h-3.5"}):(0,a.jsx)(_.A,{className:"w-3.5 h-3.5"}),Math.abs(ec.pct),"% vs ",U(ec.prev)," last month"]})]}),eh.length>0&&(0,a.jsx)("div",{className:"mt-3 space-y-1.5",children:eh.map(e=>{var t;return(0,a.jsxs)("div",{className:"flex items-center justify-between gap-3 text-xs",children:[(0,a.jsx)("span",{className:"truncate text-neutral-600 dar
1k:text-neutral-400",children:e.contractor_email}),(0,a.jsx)("span",{className:"tabular-nums font-medium flex-shrink-0",children:U((null==(t=e.totals)?void 0:t.net_spend)||0)})]},e.contractor_email)})}),ee&&!ee.is_complete&&(0,a.jsxs)("p",{className:"mt-3 flex items-start gap-1.5 text-[11px] text-amber-700 dark:text-amber-400",children:[(0,a.jsx)(S.A,{className:"w-3.5 h-3.5 flex-shrink-0 mt-px"}),"At least one payment rail could not be read. This total may be short. See the full report for coverage."]})]}):(0,a.jsx)(Y,{text:"Nothing has settled yet. Spend appears here once your first engagement is paid.",cta:{href:"/services",label:"Browse services"}})}),(0,a.jsxs)("div",{className:"grid lg:grid-cols-2 gap-4 sm:gap-5",children:[(0,a.jsx)(I,{icon:C.A,tint:"bg-blue-100 dark:bg-blue-500/15 text-blue-600 dark:text-blue-400",title:"Work in flight",subtitle:"".concat(eu.length," open ").concat(1===eu.length?"order":"orders"),href:"/orders?view=buying",children:0===eu.length?(0,a.jsx)(Y,{text:"No open orders. Anything you buy shows its stage here.",cta:{href:"/services",label:"Browse services"}}):(0,a.jsxs)(a.Fragment,{children:[(ep>0||em>0)&&(0,a.jsxs)("div",{className:"mb-3 flex flex-wrap gap-2",children:[ep>0&&(0,a.jsxs)(i(),{href:"/orders?view=buying",className:"inline-flex items-center gap-1.5 px-2.5 py-1.5 rounded-lg bg-amber-50 dark:bg-amber-900/20 border border-amber-200 dark:border-amber-900/50 text-[11px] font-semibold text-amber-800 dark:text-amber-300",children:[(0,a.jsx)(H.A,{className:"w-3.5 h-3.5"}),ep," awaiting your approval"]}),em>0&&(0,a.jsxs)(i(),{href:"/orders?view=buying",className:"inline-flex items-center gap-1.5 px-2.5 py-1.5 rounded-lg bg-red-50 dark:bg-red-900/20 border border-red-200 dark:border-red-900/50 text-[11px] font-semibold text-red-800 dark:text-red-300",children:[(0,a.jsx)(S.A,{className:"w-3.5 h-3.5"}),em," past due"]})]}),(0,a.jsx)("div",{className:"space-y-1.5",children:D.filter(e=>(ex.get(e)||0)>0).map(e=>(0,a.jsxs)("div",{className:"flex items-center justify-between gap-3 text-xs",children:[(0,a.jsx)("span",{className:"text-neutral-600 dar
1k:text-neutral-400",children:W[e]}),(0,a.jsx)("span",{className:"tabular-nums font-semibold",children:ex.get(e)})]},e))})]})}),(0,a.jsx)(I,{icon:B.A,tint:"bg-violet-100 dark:bg-violet-500/15 text-violet-600 dark:text-violet-400",title:"Vendor bench",subtitle:"Experts you have already used",href:"/company/vendors",hrefLabel:"Scorecards",children:0===eb.length?(0,a.jsx)(Y,{text:"Your bench fills as engagements complete, with on-time and dispute rates measured from what actually happened.",cta:{href:"/automation",label:"Find experts"}}):(0,a.jsx)("div",{className:"space-y-2",children:eb.map(e=>{var t,s;return(0,a.jsxs)("div",{className:"flex items-center justify-between gap-3",children:[(0,a.jsxs)("div",{className:"min-w-0",children:[(0,a.jsx)("p",{className:"text-xs font-medium truncate",children:e.contractor_email}),(0,a.jsxs)("p",{className:"text-[11px] text-neutral-500 dark:text-neutral-400",children:[e.engagements," engagement",1===e.engagements?"":"s",e.average_rating?" \xb7 ".concat(e.average_rating.toFixed(1),"★"):"",(null==(t=e.on_time)?void 0:t.base)>0?" \xb7 ".concat(Math.round(null!=(s=e.on_time.rate)?s:0),"% on time"):""]})]}),(0,a.jsx)(i(),{href:e.contractor_uid?"/professional/".concat(e.contractor_uid):"/company/vendors",className:"flex-shrink-0 px-2.5 py-1.5 rounded-lg border border-neutral-200 dark:border-neutral-700 text-[11px] font-semibold hover:bg-neutral-50 dark:hover:bg-neutral-800",children:"Re-hire"})]},e.key)})})})]}),(0,a.jsxs)(I,{icon:q.A,tint:"bg-amber-100 dark:bg-amber-500/15 text-amber-600 dark:text-amber-400",title:"Team & seats",subtitle:ey?"Seats are included in your plan":void 0,href:"/team-management",hrefLabel:"Manage team",children:[(0,a.jsx)("p",{className:"text-xs text-neutral-500 dark:text-neutral-400",children:"Business Hub includes seats for your whole team with role management, so buying is not bottlenecked on one login. Invite the people who brief and approve work."}),(0,a.jsxs)("div",{className:"mt-3 flex flex-wrap gap-2",children:[(0,a.jsxs)(i(),{href:"/team-management",className:"inline-flex items-center gap-1.5 px-3 py-2 rounded-lg bg-neutral-900 dark:bg-white text-white dark:text-neutral-900 text-xs font-semibold",children:[(0,a.jsx)(q.A,{className:"w-3.5 h-3.5"})," Invite a teammate"]}),(0,a.jsx)(i(),{href:"/my-teams",className:"inline-flex items-center gap-1.5 px-3 py-2 rounded-lg border border-neutral-200 dark:border-neutral-700 text-xs font-semibold hover:bg-neutral-50 dark:hover:bg-neutral-800",children:"Your teams"})]})]}),(0,a.jsx)(I,{icon:z.A,tint:"bg-emerald-100 dark:bg-emerald-500/15 text-emerald-600 dark:text-emerald-400",title:"Get work started",children:(0,a.jsx)("div",{className:"grid sm:grid-cols-2 gap-2",children:[{href:"/create-project",icon:w.A,label:"Post a project & get proposals",hint:"Unlimited on Business Hub"},{href:"/rework-auto/shortlist",icon:L.A,label:"Request a managed shortlist",hint:"We shortlist for you"},{href:"/services",icon:B.A,label:"Browse services to buy",hint:"Fixed-scope, priced up front"},{href:"/postings",icon:E.A,label:"Your postings & proposals",hint:"Incoming responses"}].map(e=>(0,a.jsxs)(i(),{href:e.href,className:"flex items-center gap-2.5 px-3 py-2.5 rounded-xl border border-neutral-200 dark:border-neutral-800 hover:border-violet-300 dark:hover:border-violet-800 hover:bg-neutral-50 dark:hover:bg-neutral-800/50 transition-colors group",children:[(0,a.jsx)(e.icon,{className:"w-4 h-4 text-neutral-400 group-hover:text-violet-500 transition-colors flex-shrink-0"}),(0,a.jsxs)("span",{className:"flex-1 min-w-0",children:[(0,a.jsx)("span",{className:"block text-sm truncate",children:e.label}),(0,a.jsx)("span",{className:"block text-[11px] text-neutral-500 dark:text-neutral-400 truncate",children:e.hint})]}),(0,a.jsx)(j.A,{className:"w-3.5 h-3.5 text-neutral-300 dark:text-neutral-600 group-hover:text-violet-500 transition-colors flex-shrink-0"})]},e.href))})}),(0,a.jsx)(I,{icon:F.A,tint:"bg-neutral-200 dark:bg-neutral-800 text-neutral-700 dark:text-neutral-300",title:"Finance & compliance",subtitle:"Included in Business Hub",children:(0,a.jsx)("div",{className:"grid sm:grid-cols-2 gap-2",children:[{href:"/company/statement",icon:P.A,label:"Consolidated monthly statement",hint:"One document finance can file"},{href:"/company/bulk-payments",icon:T.A,label:"Bulk payments",hint:"Release many at once"},{href:"/company/audit-logs",icon:V.A,label:"Audit logs",hint:"Who did what, when"}].map(e=>(0,a.jsxs)(i(),{href:e.href,className:"flex items-center gap-2.5 px-3 py-2.5 rounded-xl border border-neutral-200 dark:border-neutral-800 hover:border-violet-300 dark:hover:border-violet-800 hover:bg-neutral-50 dark:hover:bg-neutral-800/50 transition-colors group",children:[(0,a.jsx)(e.icon,{className:"w-4 h-4 text-neutral-400 group-hover:text-violet-500 transition-colors flex-shrink-0"}),(0,a.jsxs)("span",{className:"flex-1 min-w-0",children:[(0,a.jsx)("span",{className:"block text-sm truncate",children:e.label}),(0,a.jsx)("span",{className:"block text-[11px] text-neutral-500 dark:text-neutral-400 truncate",children:e.hint})]}),(0,a.jsx)(j.A,{className:"w-3.5 h-3.5 text-neutral-300 dark:text-neutral-600 group-hover:text-violet-500 transition-colors flex-shrink-0"})]},e.href))})})]})}),(0,a.jsx)(x.A,{open:Z,onClose:()=>$(!1),hubKind:"business",uid:n,initialTier:J,onSuccess:()=>{$(!1),t.refresh(),s.refresh()}})]})]})};X.getLayout=function(e){return(0,a.jsx)(o.A,{children:e})};let G=X},68520:(e,t,s)=>{"use strict";s.d(t,{A:()=>a});let a=(0,s(48900).A)("ShoppingBag",[["path",{d:"M6 2 3 6v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V6l-3-4Z",key:"hou9p0"}],["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M16 10a4 4 0 0 1-8 0",key:"1ltviw"}]])},70200:(e,t,s)=>{"use strict";s.d(t,{A:()=>a});
1let a=(0,s(48900).A)("Store",[["path",{d:"m2 7 4.41-4.41A2 2 0 0 1 7.83 2h8.34a2 2 0 0 1 1.42.59L22 7",key:"ztvudi"}],["path",{d:"M4 12v8a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-8",key:"1b2hhj"}],["path",{d:"M15 22v-4a2 2 0 0 0-2-2h-2a2 2 0 0 0-2 2v4",key:"2ebpfo"}],["path",{d:"M2 7h20",key:"1fcdvo"}],["path",{d:"M22 7v3a2 2 0 0 1-2 2v0a2.7 2.7 0 0 1-1.59-.63.7.7 0 0 0-.82 0A2.7 2.7 0 0 1 16 12a2.7 2.7 0 0 1-1.59-.63.7.7 0 0 0-.82 0A2.7 2.7 0 0 1 12 12a2.7 2.7 0 0 1-1.59-.63.7.7 0 0 0-.82 0A2.7 2.7 0 0 1 8 12a2.7 2.7 0 0 1-1.59-.63.7.7 0 0 0-.82 0A2.7 2.7 0 0 1 4 12v0a2 2 0 0 1-2-2V7",key:"jon5kx"}]])},78165:(e,t,s)=>{"use strict";s.d(t,{A:()=>a});let a=(0,s(48900).A)("TrendingDown",[["polyline",{points:"22 17 13.5 8.5 8.5 13.5 2 7",key:"1r2t7k"}],["polyline",{points:"16 17 22 17 22 11",key:"11uiuu"}]])},78439:(e,t,s)=>{"use strict";s.d(t,{A:()=>a});let a=(0,s(48900).A)("Building",[["rect",{width:"16",height:"20",x:"4",y:"2",rx:"2",ry:"2",key:"76otgf"}],["path",{d:"M9 22v-4h6v4",key:"r93iot"}],["path",{d:"M8 6h.01",key:"1dz90k"}],["path",{d:"M16 6h.01",key:"1x0f13"}],["path",{d:"M12 6h.01",key:"1vi96p"}],["path",{d:"M12 10h.01",key:"1nrarc"}],["path",{d:"M12 14h.01",key:"1etili"}],["path",{d:"M16 10h.01",key:"1m94wz"}],["path",{d:"M16 14h.01",key:"1gbofw"}],["path",{d:"M8 10h.01",key:"19clt8"}],["path",{d:"M8 14h.01",key:"6423bh"}]])},79247:(e,t,s)=>{"use strict";s.d(t,{A:()=>a});let a=(0,s(48900).A)("Clock",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 16 14",key:"68esgv"}]])},98136:(e,t,s)=>{"use strict";s.d(t,{A:()=>a});let a=(0,s(48900).A)("XCircle",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m15 9-6 6",key:"1uzhvr"}],["path",{d:"m9 9 6 6",key:"z0biqf"}]])}},e=>{e.O(0,[82175,96510,26807,51901,91952,38965,10657,91171,24597,28592,2078,77477,90636,46593,38792],()=>e(e.s=35740)),_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.