PageSourceSearch

https://app.adeptads.ai/_nuxt/DZ1ZiFaB.js

js adeptads.ai collected 2026-10-05 11:49:06 UTC 1,398 bytes, 1 lines download raw bytes

1import{Gn as e,qi as t}from"./CLLDXjUq.js";import{t as n}from"./BRiNof1Z.js";import{t as r}from"./ZgMSNu9B.js";import{t as i}from"./BO0KOBtm.js";var a=t(null),o=e(()=>a.value||[]),s=t(!1),c=t(null),l=0,u=null,d=3e5;function f(e,t,n){return e.find(e=>e.tier===t&&e.billing_cycle===n)}function p(e){var t;return((t=e[0])==null?void 0:t.currency)||`USD`}function m(e,t,n){let r=f(e,t,n);return r?Math.round(r.unit_amount/100):0}function h(e,t,n){let r=f(e,t,n);return r?i(Math.round(r.unit_amount/100),r.currency):t===`trial`?i(0,p(e)):``}function g(e,t){let n=f(e,t,`yearly`);return n?i(Math.round(n.unit_amount/100/12),n.currency):t===`trial`?i(0,p(e)):``}function _(e,t){let n=e.find(e=>e.tier===t);return n&&i(0,n.currency).replace(/[\d.,\s]/g,``).trim()||`$`}function v(){let{getPlans:e}=r(),t=async(t=!1)=>{let r=Date.now();return!t&&a.value&&r-l<d?o.value:u?await u:(s.value=!0,c.value=null,u=e().then(e=>{let t=e||[];return a.value=t,l=Date.now(),n.info(`✅ Loaded ${t.length} Stripe plans`),t}).catch(e=>(n.error(`❌ Failed to load Stripe plans`,e),console.error(`❌ Failed to load Stripe plans:`,e),c.value=e instanceof Error?e:Error(`Failed to load plans`),o.value)).finally(()=>{s.value=!1,u=null}),await u)};return{plans:o,loading:s,error:c,fetchPlans:t,ensureLoaded:async()=>{let e=Date.now();return(!a.value||e-l>=d)&&await t(!1),o.value}}}export{v as a,_ as i,h as n,m as r,g as t};

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.