PageSourceSearch

https://app.usehabits.com/_next/static/chunks/pages/advisor/billin…obile-checkout-complete-c6aa485f43ecf92c.js

js usehabits.com collected 2026-10-01 15:48:57 UTC 1,481 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3938],{53352:(e,t,n)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/advisor/billing/mobile-checkout-complete",function(){return n(68107)}])},68107:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});var i=n(14232),s=n(89099),r=n(21379),l=n(98306),u=n(37876);function o(){let e=(0,s.useRouter)(),{resolvedTheme:t}=(0,r.D)(),{0:n,1:o}=(0,i.useState)("");return(0,i.useEffect)(()=>{if(!e.isReady)return;let t=(0,l.B4)(e.query?.session_id);if(!t)return void o("Missing or invalid checkout session.");let n=(0,l.eD)(t);if(!n)return void o("Could not return to the Habits EE app.");window.location.replace(n)},[e.isReady,e.query?.session_id]),(0,u.jsx)("div",{className:"mx-auto flex h-full w-full max-w-[520px] flex-col items-center justify-center px-[10px] py-10",children:(0,u.jsx)("p",{className:"text-base text-center",style:{color:"dark"===t?"#D1D5DB":"#4B5563"},children:n||"Returning to Habits EE…"})})}},98306:(e,t,n)=>{"use strict";function i(e){if("string"!=typeof e)return null;let t=e.trim();return t.startsWith("cs_")?t:null}function s(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=new URLSearchParams(t).toString();return`habits-ee://${e}${n?`?${n}`:""}`}function r(e){let t=i(e);return t?s("billing/checkout-complete",{session_id:t}):null}function l(){return s("billing/checkout-cancelled")}n.d(t,{B4:()=>i,eD:()=>r,op:()=>l})}},e=>{e.O(0,[636,6593,8792],()=>e(e.s=53352)),_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.