1var _sentryDebugIds,_sentryDebugIdIdentifier;void 0===_sentryDebugIds&&(_sentryDebugIds={});try{var stack=(new Error).stack;stack&&(_sentryDebugIds[stack]="23393855-da64-42d5-b9e9-b73db1d65bee",_sentryDebugIdIdentifier="sentry-dbid-23393855-da64-42d5-b9e9-b73db1d65bee")}catch(e){} 2var SENTRY_RELEASE;SENTRY_RELEASE={name: "Ariadna", version: "1.6.3"}; 3__d(function(g,r,i,a,m,_e,d){"use strict";function e(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(_e,"__esModule",{value:!0}),Object.defineProperty(_e,"default",{enumerable:!0,get:function(){return b}});var t=e(r(d[0]));r(d[1]);var n=e(r(d[2])),o=e(r(d[3])),s=r(d[4]),l=r(d[5]),c=r(d[6]),u=r(d[7]),p=r(d[8]),h=r(d[9]),v=r(d[10]),f=r(d[11]),y=r(d[12]),x=r(d[13]),_=r(d[14]);r(d[15]);const j=6e4;function S(e){if(void 0!==e)return!0===Array.isArray(e)?e[0]:e}function b(){const e=(0,l.useNavigation)(),n=(0,l.useRouter)(),b=(0,y.useSession)(),{didRenderSignUpScreen:k,isBootOverlayVisible:w}=(0,v.useBootOverlay)(),C=t.default.useCallback(function(){setTimeout(k,300)},[k]),[E,O]=t.default.useState(!0),T=t.default.useCallback(function(e){return!0!==E?j:e},[E]);t.default.useEffect(()=>{O(!0)},[w]);const L=(0,l.useLocalSearchParams)(),{isOpen:F,openModal:P}=(0,y.useModalNavigation)(),[R]=t.default.useState(!1),M=F,W=S(L.code),N=S(L.campaign),U=S(L.show),A=S(L.next),B=t.default.useMemo(()=>void 0===A||""===A?"/(auth)/signup/login/":{params:{next:A},pathname:"/(auth)/signup/login/"},[A]),q=t.default.useMemo(()=>{if(void 0!==N)return;if(void 0===W)return;const e=W.trim();return""!==e?e:void 0},[N,W]),[$,V]=t.default.useState(()=>void 0!==q),z=t.default.useCallback(async({chatId:e,deepSearchId:t,inviteType:o,teamId:s})=>{if("team"!==o||void 0===s||""===s){if("chat"===o&&void 0!==e&&""!==e){const t="/inbox";return void 0!==s&&""!==s?void n.replace({params:{chat_id:e},pathname:`/team/${(0,h.getShortTeamPathId)(s)}/inbox`}):void n.replace({params:{chat_id:e},pathname:t})}n.replace("/")}else{if(void 0!==t&&""!==t){const e=(0,h.buildScopedSearchDetailPath)("team",s,t);if(null!==e)return void n.replace(e)}n.replace(`/team/${(0,h.getShortTeamPathId)(s)}`)}},[n]),D=(0,f.useCheckInviteCode)({onError:()=>{V(!1),void 0===b.token?n.replace("/signup"):z({})},onSuccess:async(e,t)=>{V(!1);const o=e.email??void 0,s=void 0!==e.invite_type&&""!==e.invite_type?e.invite_type:void 0,l=void 0!==e.team_id&&null!==e.team_id&&""!==e.team_id?e.team_id:void 0,c=void 0!==e.chat_id&&null!==e.chat_id&&""!==e.chat_id?e.chat_id:void 0,u=void 0!==e.deep_search_id&&null!==e.deep_search_id&&""!==e.deep_search_id?e.deep_search_id:void 0;void 0===b.token?(n.replace("/signup"),P("signup/claim-your-invite/index",{chatId:c??"",deepSearchId:u??"",code:t,inviteEmail:o??"",inviteType:s??"",teamId:l??""})):await z({chatId:c,deepSearchId:u,inviteType:s,teamId:l})}});return t.default.useLayoutEffect(()=>{e.setOptions({headerShown:!1})},[e]),t.default.useEffect(()=>{x.posthog.capture("System_Starting_Screen_Displayed")},[]),t.default.useEffect(()=>{void 0!==q&&!0!==b.loading&&D.mutate(q.trim())},[q,b.loading]),t.default.useEffect(()=>{void 0!==W&&void 0!==N&&n.replace(`/signup/invite?code=${encodeURIComponent(W)}&campaign=${encodeURIComponent(N)}`)},[N,W,n]),t.default.useEffect(()=>{if(void 0===q&&void 0!==U){const e={"claim-your-invite":"signup/claim-your-invite/index",login:"signup/login/index","request-access":"signup/request-access/index"}[U];void 0!==e&&P(e,void 0!==A?{next:A}:void 0)}},[q,A,P,U]),(0,_.jsxs)(_.Fragment,{children:[(0,_.jsx)(u.VideoBackground,{posterSource:void 0,onFirstFrameRender:C,style:I.video}),(0,_.jsxs)(s.SafeAreaView,{style:I.root,children:[(0,_.jsx)(c.Stack,{style:I.header,children:(0,_.jsx)(c.FadingElement,{delay:T(50),fadeOut:M,children:(0,_.jsx)(c.Logo,{color:p.theme.colors.secondary})})}),(0,_.jsx)(c.Stack,{style:I.logoWrapper,children:(0,_.jsx)(c.FadingElement,{delay:T(150),fadeOut:M,children:(0,_.jsx)(c.TextLogo,{})})}),!0===$?(0,_.jsx)(c.Stack,{style:I.spinnerWrapper,children:(0,_.jsx)(c.Spinner,{color:p.theme.colors.secondary})}):(0,_.jsxs)(c.Stack,{gap:14,children:[(0,_.jsxs)(c.Stack,{gap:4,children:[(0,_.jsx)(c.FadingElement,{delay:T(250),fadeOut:M,children:(0,_.jsx)(c.NavigationLink,{asChild:!0,href:"/signup/claim-your-invite",onPress:()=>{x.posthog.capture("User_Clicked_Claim_Invite")},children:(0,_.jsx)(c.Button,{disabled:R,label:"Enter with an invite",style:I.button,variant:"primary"})})}),(0,_.jsx)(c.FadingElement,{delay:T(350),fadeOut:M,children:(0,_.jsx)(c.NavigationLink,{asChild:!0,href:"/signup/request-access",onPress:()=>{x.posthog.capture("User_Clicked_Request_Access")},children:(0,_.jsx)(c.Button,{disabled:R,label:"Join the waitlist",style:I.button,variant:"secondary"})})})]}),(0,_.jsx)(c.FadingElement,{delay:T(450),fadeOut:M,children:(0,_.jsxs)(c.Stack,{row:!0,style:I.loginWrapper,children:[(0,_.jsx)(c.Text,{color:"secondary",style:I.loginText,children:"Already have an account?"}),(0,_.jsx)(c.NavigationLink,{asChild:!0,href:B,onPress:()=>{x.posthog.capture("User_Clicked_Login_Now")},children:(0,_.jsx)(o.default,{accessibilityLabel:"Login now",accessibilityRole:"button",children:(0,_.jsx)(c.Text,{style:I.loginText,children:"Login now"})})})]})})]})]})]})}const I=n.default.create({button:{alignSelf:"center",maxWidth:280,width:"55%"},header:{alignItems:"center",width:"100%"},loginText:{fontFamily:"RestartHard-Medium",fontSize:14},loginWrapper:{alignItems:"center",justifyContent:"center",width:"100%"},logoWrapper:{alignItems:"center",width:"100%"}
3,root:Object.assign({height:"100%",justifyContent:"space-between",position:"absolute",width:"100%"},{padding:64}),spinnerWrapper:{alignItems:"center",justifyContent:"center"},video:{height:"100%",position:"absolute",width:"100%",zIndex:0}})},819,[12,120,142,351,390,829,837,860,831,833,861,857,832,840,6,852]); 4//# sourceMappingURL=/_expo/static/js/web/index-503607db181cdc59bb6e099b8a9ee967.js.map 5//# debugId=23393855-da64-42d5-b9e9-b73db1d65bee
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.