1"use strict";(self.webpackChunkinsight_timer=self.webpackChunkinsight_timer||[]).push([[8695],{98695:(e,t,s)=>{s.r(t),s.d(t,{default:()=>a});var r=s(95679),i=s(3630);const u=e=>{let{userId:t}=e;const s=(e=>{let{userId:t}=e;return t?`/users/${t}/subscriptionDetails`:null})({userId:t}),{data:u,isValidating:n,error:a,revalidate:l,mutate:o}=(0,i.Ay)(s,(()=>t?(async e=>{let{userId:t}=e;const s=await(0,r.createDocRef)(`users/${t}/private/subscription`);return(0,r.getDocument)(s).then((e=>{if(!e.exists)return null;const t=e.data();return null!==t&&void 0!==t?t:null}))})({userId:t}):null),{revalidateOnFocus:!1,revalidateOnReconnect:!0,shouldRetryOnError:!1});return{userSubscriptionDetails:u,isSubscriptionDetailsLoading:!(!t||!n||u),error:a,revalidate:l,mutate:o}};var n=s(95254);const a=e=>{let{isAuthorized:t,user:s,setSubscriptionDetails:r,setIsSubscriptionDetailsLoading:i}=e;const{userSubscriptionDetails:a,isSubscriptionDetailsLoading:l}=u({userId:t&&null!==s&&void 0!==s&&s.uid?s.uid:void 0});return(0,n.useEffect)((()=>{r(a),i(l)}),[l,a,i,r]),null}}}]); 2//# sourceMappingURL=8695.f1f2a2c3.chunk.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.