PageSourceSearch

https://www.threesigma.ai/_next/static/chunks/pages/developer/no-active-subscription-7ba12ced7747e854.js

js threesigma.ai collected 2026-10-05 12:46:09 UTC 5,177 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6746],{39226:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/developer/no-active-subscription",function(){return n(11018)}])},46260:function(e,t,n){"use strict";n.d(t,{a:function(){return useAuth}});var r=n(67294),i=n(98571),useAuth=function(){return(0,r.useContext)(i.ZP)}},50749:function(e,t,n){"use strict";n.d(t,{s:function(){return useOrg}});var r=n(72253),i=n(14932),o=n(46260),useOrg=function(){var e,t=(0,o.a)();if(!t.user||(null===(e=t.user.orgs)||void 0===e?void 0:e.length)===0||!t.activeOrg)throw Error("User must be part of an organization and activeOrg must exist");var n=(0,i._)((0,r._)({},t.user),{orgs:t.user.orgs||[],activeOrg:t.activeOrg});return(0,i._)((0,r._)({},t),{user:n,activeOrg:n.activeOrg})}},11018:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return no_active_subscription}});var r=n(11010),i=n(10092),o=n(85893),a=n(67294),s=n(91309),c=n(39332),u=n(45697),d=n.n(u),l=n(46260),g=n(50929),AuthGuard=function(e){var t=e.children,n=(0,c.useRouter)(),r=(0,l.a)(),i=r.isAuthenticated,u=r.issuer,d=(0,s._)((0,a.useState)(!1),2),h=d[0],p=d[1],f=(0,a.useCallback)(function(){if(i)p(!0);else{var e=new URLSearchParams({returnTo:globalThis.location.href}).toString();n.replace(g.H.login+"?".concat(e))}},[i,u,n]);return((0,a.useEffect)(function(){f()},[]),h)?(0,o.jsx)(o.Fragment,{children:t}):null};AuthGuard.propTypes={children:d().node};var h=n(30136),p=n(36822),f=n(21214),v=n(11057),x=n(15861),m=n(66242),b=n(44267),_=n(50749),w=n(26215),j=n(79914),no_active_subscription=function(){var e,t=(0,c.useRouter)(),n=(0,_.s)(),s=n.signOut,u=n.activeOrg,d=(e=(0,r._)(function(){return(0,i.Jh)(this,function(e){switch(e.label){case 0:return t.push(g.H.login),[4,s()];case 1:return e.sent(),[2]}})}),function(){return e.apply(this,arguments)});return(0,a.useEffect)(function(){u.active_subscription&&t.push(g.H.developer.index)},[]),(0,o.jsx)(AuthGuard,{children:(0,o.jsx)(p.Z,{sx:{backgroundRepeat:"no-repeat",backgroundPosition:"top center",backgroundImage:'url("/assets/gradient-bg.svg")',display:"flex",flex:"1 1 auto",flexDirection:"column",height:"100%"},children:(0,o.jsx)(p.Z,{sx:{alignItems:"center",display:"flex",justifyContent:"center",flex:"1 1 auto"},children:(0,o.jsxs)(f.Z,{maxWidth:"md",sx:{py:{}},children:[(0,o.jsx)(p.Z,{sx:{mb:4},children:(0,o.jsx)(v.Z,{onClick:d,variant:"text",startIcon:(0,o.jsx)(h.Z,{color:"grey"}),sx:{alignItems:"center",display:"inline-flex",textTransform:"none"},children:(0,o.jsx)(x.Z,{variant:"subtitle2",color:"textSecondary",children:"Logout"})})}),(0,o.jsx)(m.Z,{elevation:16,children:(0,o.jsxs)(b.Z,{sx:{maxWidth:600},children:[(0,o.jsx)(x.Z,{variant:"h6",color:"textSecondary",gutterBottom:!0,children:"Your organization is active."}),(0,o.jsx)(x.Z,{variant:"h4",gutterBottom:!0,children:"Continue to the dashboard"}),(0,o.jsx)(j.E,{variant:"contained",size:"large",sx:{mt:2},endIcon:(0,o.jsx)(w.Z,{}),children:"Continue"})]})})]})})})})}},50929:function(e,t,n){"use strict";n.d(t,{H:function(){return r}});var r=new Proxy({401:"/401",404:"/404",500:"/500",acceptOrgInvite:"/accept-org-invite",apiWaitlist:"/api-waitlist",careers:"/careers",checkout:"/checkout",confirmRegistration:"/confirm-registration",contact:"/contact",developer:{index:"/developer/documents",onboarding:"/developer/onboarding",playground:"/developer/playground",noActiveSubscription:"/developer/no-active-subscription",account:"/developer/account",createOrg:"/developer/new-org",documents:{documentDetails:"/developer/documents/:documentId",edit:"/developer/documents/:documentId/edit",index:"/developer/documents"}},dashboard:{account:"/dashboard/account",blank:"/dashboard/blank",chat:"/dashboard/chat",documents:{documentDetails:"/dashboard/documents/:documentId",edit:"/dashboard/documents/:documentId/edit",index:"/dashboard/documents"},index:"/dashboard/chat",pluginContext:"/dashboard/plugin-context",pluginTutorial:"/dashboard/plugin-tutorial",pricing:"/dashboard/pricing"},developerLanding:"/developer-api",forgotPassword:"/forgot-password",index:"/",login:"/login",messageSent:"/message-sent",onboarding:"/onboarding",orgRegistration:"/org-registration",pluginRegister:"/chat-gpt-plugin-register",pricing:"/pricing",register:"/register",registrationConfirmed:"/registration-confirmed",resetPassword:"/reset-password",roganChat:"/rogan-chat",termsOfService:"/terms-of-service",waitlist:"/waitlist"},{get:function(e,t){return t in e?e[t]:"/404"}})},79914:function(e,t,n){"use strict";n.d(t,{E:function(){return StripePortalButton}});var r=n(11010),i=n(34788),o=n(12796),a=n(72253),s=n(14932),c=n(91309),u=n(10092),d=n(85893),l=n(67294),g=n(11163),h=n(31812),p=n(50929),StripePortalButton=function(e){var t,n=(0,i._)({},(0,o._)(e)),f=(0,c._)((0,l.useState)(!1),2),v=f[0],x=f[1],m=(0,g.useRouter)(),b=(t=(0,r._)(function(){return(0,u.Jh)(this,function(e){return x(!0),m.push(p.H.developer.index),x(!1),[2]})}),function(){return t.apply(this,arguments)});return(0,d.jsx)(h.Z,(0,s._)((0,a._)({},n),{loading:v,onClick:b,children:e.children}))}}},function(e){e.O(0,[5920,1057,9332,1051,9774,2888,179],function(){return e(e.s=39226)}),_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.