PageSourceSearch

https://app.mentalyc.com/assets/js/index-00d5b09b.js

js mentalyc.com collected 2026-09-24 11:11:20 UTC 2,446 bytes, 2 lines download raw bytes

1import{r as P,_ as x}from"./azure-b7f4c004.js";import{d as D,g as I,i as v,u as A,p as g,j as t,a as p,T as _,S as b,b as E,B as R,C as k,F as C,k as T,l as B,R as z,L as F}from"./registration-0c84e8c2.js";import"./analytics-99e053f8.js";import"./iconsax-fa9e39a7.js";import"./sentry-e70f6bf5.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new e.Error().stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="b9fbbd43-db58-44c1-b8e0-b66431394d77",e._sentryDebugIdIdentifier="sentry-dbid-b9fbbd43-db58-44c1-b8e0-b66431394d77")}catch{}})();const j="_container_1wco3_1",N="_loading_1wco3_9",O="_success_1wco3_13",W="_success_message_1wco3_22",h={container:j,loading:N,success:O,success_message:W},Y=B(()=>x(()=>import("./DefaultLayout-6cfd98b7.js"),["assets/css/registration-8b20d1d3.css","assets/css/ErrorFallback-46853439.css","assets/css/index-412759e9.css","assets/css/PrivateRouter-4e1c1a6f.css"]));function q(){const e=D.c(10),s=I(),{pendingPayment:y,setPendingPayment:r}=v(),{isOwner:w,logout:d}=A();let n;e[0]===Symbol.for("react.memo_cache_sentinel")?(n=g.getData(),e[0]=n):n=e[0];const S=n,u=g.getStatus(),a=s.state?.plan??S?.plan??"",f=w()?"/manage/subscription":"/payment";if(!y&&u==="idle"){let l;return e[1]!==f?(l=t(z,{to:f}),e[1]=f,e[2]=l):l=e[2],l}let o;e[3]!==d||e[4]!==r?(o=async()=>{g.clear(),r(!1),await d()},e[3]=d,e[4]=r,e[5]=o):o=e[5];const m=o,L=u==="timed_out"||u==="error";let i;e[6]===Symbol.for("react.memo_cache_sentinel")?(i=t(F,{}),e[6]=i):i=e[6];let c;return e[7]!==m||e[8]!==a?(c=t(P.Suspense,{fallback:i,children:t(Y,{customContainerClass:"tw-h-full",beforeHeader:null,children:t("div",{className:h.container,children:t("div",{className:h.loading,children:L?p("div",{className:"tw-flex tw-flex-col tw-items-center tw-gap-4 tw-text-center",children:[t(_,{size:b.LARGE,weight:E.BOLD,children:"We couldn't finish processing your payment."}),t(_,{size:b.BASE,children:"Your payment may still have gone through. Please log out and log back in to refresh your account. If your new plan is not reflected, contact support."}),t(R,{color:k.PRIMARY,onClick:m,children:"Log out"})]}):p(C,{children:[t(T,{}),p(_,{size:b.BASE,children:["Please wait while we process your payment",a?` for the ${a} plan`:"","..."]})]})})})})}),e[7]=m,e[8]=a,e[9]=c):c=e[9],c}export{q as default};
2//# sourceMappingURL=index-00d5b09b.js.map

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.