PageSourceSearch

https://pintoolbox.com/assets/teams_.get-started-CESA0nBF.js

js pintoolbox.com collected 2026-10-02 01:39:50 UTC 1,691 bytes, 1 lines download raw bytes

1import{h as c,x as m,r as p,y as g,z as d,n as v,A as u,j as l}from"./index-D4oiVd53.js";import{I as h}from"./InvitationLinkError-CShL0WXO.js";import{T}from"./TeamsGetStarted-CPC7VCJm.js";import"./AccountArtwork-BJ3GYdIm.js";import"./customer-reviews-yLxCSYwv.js";import"./LoginSection-DXhf2gbJ.js";async function E(t=c,e=m,r=!1){const n=g(await t());if(n.kind!=="authenticated")return n;let i;try{i=await e()}catch(s){throw console.warn("[Pin Toolbox] Unable to resolve the current Team before onboarding",s),new Error("We couldn’t check your team right now. Please try again.")}const o=r&&i.subscription?.isTeamPlan&&i.subscription.setupPending?{billingOwnerHasSeat:i.subscription.billingOwnerHasSeat??!0,interval:i.subscription.interval??"year",invites:i.invites?.filter(function(a){return a.status==="pending"}).map(function(a){return{email:a.email,role:a.role}})??[]}:void 0;if(i.subscription?.isTeamPlan&&!o)throw d({to:"/settings",search:{tab:"teams"}});return o?{...n,pendingTeamSetup:o}:n}function I(t){const e=t.billing,r=t.auth_error,n=v(t.invitation_token);return{...r==="google"?{auth_error:r}:{},...e==="success"||e==="cancel"?{billing:e}:{},...n?{invitation_token:n}:{}}}function y(t,e=p){return e(t)}function P(){const t=u.useLoaderData(),e=u.useSearch();return"invitationError"in t?l.jsx(h,{message:t.invitationError}):l.jsx(T,{billingReturn:e.billing,initialUser:t.user,...e.auth_error?{authError:e.auth_error}:{},..."pendingTeamSetup"in t&&t.pendingTeamSetup?{pendingTeamSetup:t.pendingTeamSetup}:{},..."invitation"in t?{invitation:t.invitation}:{}})}export{P as component,E as loadTeamsGetStarted,y as loadTeamsGetStartedInvitation,I as validateTeamsGetStartedSearch};

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.