PageSourceSearch

https://nexus-hq-oficial.lovable.app/assets/sales-data-Brd8HcLU.js

js nexus-hq-oficial.lovable.app collected 2026-10-03 05:36:20 UTC 28,472 bytes, 1 lines download raw bytes

1import{_ as e,a as t,b as n,c as r,d as i,f as a,g as o,h as s,i as c,l,m as u,o as d,p as f,r as p,s as m,u as h,v as g,x as _,y as v}from"./index-CvGmoA7R.js";var y=class extends d{#e;#t=void 0;#n=void 0;#r=void 0;#i;#a;#o;#s;#c;#l;#u;#d;#f;#p=new Set;constructor(e,t){super(),this.options=t,this.#e=e,this.#o=null,this.bindMethods(),this.setOptions(t)}bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.size===1&&(this.#t.addObserver(this),x(this.#t,this.options)?this.#m():this.updateResult(),this.#y())}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return S(this.#t,this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return S(this.#t,this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,this.#b(),this.#x(),this.#t.removeObserver(this)}setOptions(e){let t=this.options,n=this.#t;if(this.options=this.#e.defaultQueryOptions(e),this.options.enabled!==void 0&&typeof this.options.enabled!=`boolean`&&typeof this.options.enabled!=`function`&&typeof i(this.options.enabled,this.#t)!=`boolean`)throw Error(`Expected enabled to be a boolean or a callback that returns a boolean`);this.#S(),this.#t.setOptions(this.options),t._defaulted&&!a(this.options,t)&&this.#e.getQueryCache().notify({type:`observerOptionsUpdated`,query:this.#t,observer:this});let r=this.hasListeners();r&&C(this.#t,n,this.options,t)&&this.#m(),this.updateResult(),r&&(this.#t!==n||i(this.options.enabled,this.#t)!==i(t.enabled,this.#t)||i(this.options.staleTime,this.#t)!==i(t.staleTime,this.#t))&&this.#g();let o=this.#_();r&&(this.#t!==n||i(this.options.enabled,this.#t)!==i(t.enabled,this.#t)||o!==this.#f)&&this.#v(o)}getOptimisticResult(e){let t=this.#e.getQueryCache().build(this.#e,e),n=this.createResult(t,e);return a(this.getCurrentResult(),n)||(this.#r=n,this.#a=this.options,this.#i=this.#t.state),n}getCurrentResult(){return this.#r}trackResult(e,t){return new Proxy(e,{get:(e,n)=>(this.trackProp(n),t?.(n),Reflect.get(e,n))})}trackProp(e){this.#p.add(e)}getCurrentQuery(){return this.#t}refetch({...e}={}){return this.fetch({...e})}fetchOptimistic(e){let t=this.#e.defaultQueryOptions(e),n=this.#e.getQueryCache().build(this.#e,t),r=()=>{},i,a=new Promise(e=>{i=e,r=this.#e.getQueryCache().subscribe(i=>{i.type===`updated`&&i.query.queryHash===n.queryHash&&n.state.data!==void 0&&(r(),e(this.createResult(n,t)))})});return Promise.race([n.fetch().then(()=>{let e=this.createResult(n,t);return i?.(e),e}).finally(()=>{r()}),a])}fetch(e){return this.#m({...e,cancelRefetch:e.cancelRefetch??!0}).then(()=>(this.updateResult(),this.#r))}#m(e){this.#S();let t=this.#t.fetch(this.options,e);return e?.throwOnError||(t=t.catch(l)),t}#h(e){return!m()&&i(this.options.enabled,this.#t)!==!1&&r(e)}#g(){this.#b();let e=i(this.options.staleTime,this.#t);if(this.#r.isStale||!this.#h(e))return;let t=u(this.#r.dataUpdatedAt,e)+1;this.#u=s.setTimeout(()=>{this.#r.isStale||this.updateResult()},t)}#_(){return(typeof this.options.refetchInterval==`function`?this.options.refetchInterval(this.#t):this.options.refetchInterval)??!1}#v(e){this.#x(),this.#f=e,!(this.#f===0||!this.#h(this.#f))&&(this.#d=s.setInterval(()=>{(this.options.refetchIntervalInBackground||t.isFocused())&&this.#m()},this.#f))}#y(){this.#g(),this.#v(this.#_())}#b(){this.#u!==void 0&&(s.clearTimeout(this.#u),this.#u=void 0)}#x(){this.#d!==void 0&&(s.clearInterval(this.#d),this.#d=void 0)}createResult(e,t){let n=this.#t,r=this.options,a=this.#r,o=this.#i,s=this.#a,c=e===n?this.#n:e.state,{state:l}=e,u={...l},d=!1,f;if(t._optimisticResults){let i=this.hasListeners(),a=!i&&x(e,t),o=i&&C(e,n,t,r);(a||o)&&(u={...u,...p(l.data,e.options)}),t._optimisticResults===`isRestoring`&&(u.fetchStatus=`idle`)}let{error:m,errorUpdatedAt:g,status:_}=u;f=u.data;let v=!1;if(t.placeholderData!==void 0&&f===void 0&&_===`pending`){let e;a?.isPlaceholderData&&t.placeholderData===s?.placeholderData?(e=a.data,v=!0):e=typeof t.placeholderData==`function`?t.placeholderData(this.#l?.state.data,this.#l):t.placeholderData,e!==void 0&&(_=`success`,f=h(a?.data,e,t),d=!0)}if(t.select&&f!==void 0&&!v)if(a&&f===o?.data&&t.select===this.#s)f=this.#c;else try{this.#s=t.select,f=t.select(f),f=h(a?.data,f,t),this.#c=f,this.#o=null}catch(e){this.#o=e}else f===void 0&&(this.#o=null);this.#o&&(m=this.#o,f=this.#c,g=Date.now(),_=`error`,d=!1);let y=u.fetchStatus===`fetching`,b=_===`pending`,S=_===`error`,T=b&&y,E=f!==void 0;return{status:_,fetchStatus:u.fetchStatus,isPending:b,isSuccess:_===`
1success`,isError:S,isInitialLoading:T,isLoading:T,data:f,dataUpdatedAt:u.dataUpdatedAt,error:m,errorUpdatedAt:g,failureCount:u.fetchFailureCount,failureReason:u.fetchFailureReason,errorUpdateCount:u.errorUpdateCount,isFetched:e.isFetched(),isFetchedAfterMount:u.dataUpdateCount>c.dataUpdateCount||u.errorUpdateCount>c.errorUpdateCount,isFetching:y,isRefetching:y&&!b,isLoadingError:S&&!E,isPaused:u.fetchStatus===`paused`,isPlaceholderData:d,isRefetchError:S&&E,isStale:w(e,t),refetch:this.refetch,isEnabled:i(t.enabled,e)!==!1}}updateResult(){let e=this.#r,t=this.createResult(this.#t,this.options);if(this.#i=this.#t.state,this.#a=this.options,this.#i.data!==void 0&&(this.#l=this.#t),a(t,e))return;this.#r=t;let n=(()=>{if(!e)return!0;let{notifyOnChangeProps:t}=this.options,n=typeof t==`function`?t():t;if(n===`all`||!n&&!this.#p.size)return!0;let r=new Set(n??this.#p);return this.options.throwOnError&&r.add(`error`),Object.keys(this.#r).some(t=>{let n=t;return this.#r[n]!==e[n]&&r.has(n)})})();c.batch(()=>{n&&this.listeners.forEach(e=>{e(this.#r)}),this.#e.getQueryCache().notify({query:this.#t,type:`observerResultsUpdated`})})}#S(){let e=this.#e.getQueryCache().build(this.#e,this.options);if(e===this.#t)return;let t=this.#t;this.#t=e,this.#n=e.state,this.hasListeners()&&(t?.removeObserver(this),e.addObserver(this))}onQueryUpdate(){this.updateResult(),this.hasListeners()&&this.#y()}};function b(e,t){return i(t.enabled,e)!==!1&&e.state.data===void 0&&(e.state.status!==`error`||i(t.retryOnMount,e)!==!1)}function x(e,t){return b(e,t)||e.state.data!==void 0&&S(e,t,t.refetchOnMount)}function S(e,t,n){if(i(t.enabled,e)!==!1&&i(t.staleTime,e)!==`static`){let r=typeof n==`function`?n(e):n;return r===`always`||r!==!1&&w(e,t)}return!1}function C(e,t,n,r){return(e!==t||i(r.enabled,e)===!1)&&(!n.suspense||e.state.status!==`error`)&&w(e,n)}function w(e,t){return i(t.enabled,e)!==!1&&e.isStaleByTime(i(t.staleTime,e))}var T=_(n(),1),E=T.createContext(!1),ee=()=>T.useContext(E);E.Provider;var D=g();function te(){let e=!1;return{clearReset:()=>{e=!1},reset:()=>{e=!0},isReset:()=>e}}var ne=T.createContext(te()),re=()=>T.useContext(ne),ie=(e,t,n)=>{let r=n?.state.error&&typeof e.throwOnError==`function`?f(e.throwOnError,[n.state.error,n]):e.throwOnError;(e.suspense||r)&&(t.isReset()||(e.retryOnMount=!1))},ae=e=>{T.useEffect(()=>{e.clearReset()},[e])},oe=({result:e,errorResetBoundary:t,throwOnError:n,query:r,suspense:i})=>e.isError&&!t.isReset()&&!e.isFetching&&r&&(i&&e.data===void 0||f(n,[e.error,r])),se=e=>{if(e.suspense){let t=1e3,n=e=>e===`static`?e:Math.max(e??t,t),r=e.staleTime;e.staleTime=typeof r==`function`?(...e)=>n(r(...e)):n(r),typeof e.gcTime==`number`&&(e.gcTime=Math.max(e.gcTime,t))}},ce=(e,t)=>e?.suspense&&t.isPending,le=(e,t,n)=>t.fetchOptimistic(e).catch(()=>{n.clearReset()});function ue(e,t,n){let r=ee(),i=re(),a=o(n),s=a.defaultQueryOptions(e),u=a.getQueryCache().get(s.queryHash),d=e.subscribed!==!1;s._optimisticResults=r?`isRestoring`:d?`optimistic`:void 0,se(s),ie(s,i,u),ae(i);let[f]=T.useState(()=>new t(a,s)),p=f.getOptimisticResult(s),m=!r&&d;if(T.useSyncExternalStore(T.useCallback(e=>{let t=m?f.subscribe(c.batchCalls(e)):l;return f.updateResult(),t},[f,m]),()=>f.getCurrentResult(),()=>f.getCurrentResult()),T.useEffect(()=>{f.setOptions(s)},[s,f]),ce(s,p))throw le(s,f,i);if(oe({result:p,errorResetBoundary:i,throwOnError:s.throwOnError,query:u,suspense:s.suspense}))throw p.error;return s.notifyOnChangeProps?p:f.trackResult(p)}function de(e,t){return ue(e,y,t)}function O(e){return e}var k=(...e)=>e.filter((e,t,n)=>!!e&&e.trim()!==``&&n.indexOf(e)===t).join(` `).trim(),fe=e=>e.replace(/([a-z0-9])([A-Z])/g,`$1-$2`).toLowerCase(),pe=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,t,n)=>n?n.toUpperCase():t.toLowerCase()),A=e=>{let t=pe(e);return t.charAt(0).toUpperCase()+t.slice(1)},me={xmlns:`http://www.w3.org/2000/svg`,width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:2,strokeLinecap:`round`,strokeLinejoin:`round`},he=e=>{for(let t in e)if(t.startsWith(`aria-`)||t===`role`||t===`title`)return!0;return!1},ge=(0,T.forwardRef)(({color:e=`currentColor`,size:t=24,strokeWidth:n=2,absoluteStrokeWidth:r,className:i=``,children:a,iconNode:o,...s},c)=>(0,T.createElement)(`svg`,{ref:c,...me,width:t,height:t,stroke:e,strokeWidth:r?Number(n)*24/Number(t):n,className:k(`lucide`,i),...!a&&!he(s)&&{"aria-hidden":`true`},...s},[...o.map(([e,t])=>(0,T.createElement)(e,t)),...Array.isArray(a)?a:[a]])),j=(e,t)=>{let n=(0,T.forwardRef)(({className:n,...r},i)=>(0,T.createElement)(ge,{ref:i,iconNode:t,className:k(`lucide-${fe(A(e))}`,`lucide-${e}`,n),...r}));return n.displayName=A(e),n},_e=j(`circle-check`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`path`,{d:`m9 12 2 2 4-4`,key:`dzmm74`}]]),M=j(`play`,[[`path`,{d:`M5 5a2 2 0 0 1 3.008-1.728l11.997 6.998a2 2 0 0 1 .003 3.458l-12 7A2 2 0 0 1 5 19z`,key:`10ikf1`}]]),ve=j(`shield-check`,[[`path`,{d:`M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z`,key:`oel41y`}],[`path`,{d:`m9 12 2 2 4-4`,key:`dzmm74`}]]),N={subscription:{monthly:{id:`subscription-monthly`,label:`Mensal`,price:19.9,billingType:`monthly`,checkoutUrl:`https://lastlink.com/p/C7291B0F4/checkout-payment/`,enabled:!0}
1,quarterly:{id:`subscription-quarterly`,label:`Trimestral`,price:39.9,billingType:`quarterly`,checkoutUrl:`https://lastlink.com/p/C7291B0F4/checkout-payment/`,enabled:!0},lifetime:{id:`subscription-lifetime`,label:`Vitalício`,price:167,billingType:`one_time`,checkoutUrl:`https://lastlink.com/p/CFD9E298B/checkout-payment/`,enabled:!0}},premium:{id:`premium-lifetime`,label:`Vitalício`,price:59.9,billingType:`one_time`,checkoutUrl:`https://lastlink.com/p/C78A1FF3C/checkout-payment/`,enabled:!0},quadrinhos:{id:`quadrinhos-lifetime`,label:`Vitalício`,price:29.9,billingType:`one_time`,checkoutUrl:`https://lastlink.com/p/C0F6E2736/checkout-payment/`,enabled:!0}};function P(e){return!!(e.enabled&&e.checkoutUrl)}function F(e){return new Intl.NumberFormat(`pt-BR`,{style:`currency`,currency:`BRL`}).format(e).replace(/\u00a0/g,` `)}function ye(e){let t=P(e);return{enabled:t,label:e.label,price:F(e.price),checkoutUrl:t?e.checkoutUrl:``,endsAt:null}}function be(e){return e===`assinatura`?Object.values(N.subscription).every(P):e===`premium`?P(N.premium):e===`quadrinhos`&&P(N.quadrinhos)}var xe=[{id:`a`,route:`/`,trackingId:`A`,weight:50,enabled:!0,activeInRotation:!0,offerMode:`lifetime`},{id:`b`,route:`/teste-b`,trackingId:`B`,weight:0,enabled:!0,activeInRotation:!1,offerMode:`lifetime`},{id:`c`,route:`/teste-c`,trackingId:`C`,weight:0,enabled:!0,activeInRotation:!1,offerMode:`lifetime`},{id:`manga`,route:`/manga`,trackingId:`MANGA`,weight:0,enabled:!0,activeInRotation:!1,offerMode:`lifetime`},{id:`quadrinhos`,route:`/quadrinhos`,trackingId:`QUADRINHOS`,weight:0,enabled:!0,activeInRotation:!1,offerMode:`test`},{id:`marvel`,route:`/marvel`,trackingId:`MARVEL`,weight:0,enabled:!0,activeInRotation:!1,offerMode:`lifetime`},{id:`dc`,route:`/dc`,trackingId:`DC`,weight:0,enabled:!0,activeInRotation:!1,offerMode:`lifetime`},{id:`vitalicio`,route:`/vitalicio`,trackingId:`VITALICIO`,weight:0,enabled:!0,activeInRotation:!1,offerMode:`lifetime`},{id:`black-friday`,route:`/black-friday`,trackingId:`BLACK_FRIDAY`,weight:0,enabled:!1,activeInRotation:!1,offerMode:`disabled`},{id:`assinatura`,route:`/assinatura`,trackingId:`ASSINATURA`,weight:0,enabled:!0,activeInRotation:!1,offerMode:`test`},{id:`premium`,route:`/premium`,trackingId:`PREMIUM`,weight:50,enabled:!0,activeInRotation:!0,offerMode:`test`}],Se=`/oferta`,I=`nexus_ab_oferta`;function L(e){if(e)return xe.find(t=>t.id===e.toLowerCase())}function Ce(e){return e.offerMode===`lifetime`||e.offerMode===`test`&&be(e.id)}function R(e){let t=L(e);return!!(t&&t.enabled&&t.activeInRotation&&t.weight>0&&Ce(t))}var z=[`utm_source`,`utm_medium`,`utm_campaign`,`utm_term`,`utm_content`,`campaign_id`,`adset_id`,`ad_id`,`placement`,`platform`,`publisher_platform`,`campaign_name`,`adset_name`,`ad_name`,`fbclid`,`fbc`,`fbp`,`src`,`sck`],we=`https://nexus-hqs.lovable.app/api/public/analytics/landing-event`,B=`nexus_campaign_params`,V=`nexus_session_id`,Te=200,Ee=/[^\s@]+@[^\s@]+\.[^\s@]+/;function H(e){if(!e)return null;let t=e.trim().slice(0,Te);return!t||Ee.test(t)?null:t}function U(){if(!(typeof window>`u`))try{let e=JSON.parse(window.sessionStorage.getItem(B)||`{}`),t=new URLSearchParams(window.location.search),n=!1;for(let r of z){if(e[r])continue;let i=H(t.get(r));i&&(e[r]=i,n=!0)}n&&window.sessionStorage.setItem(B,JSON.stringify(e))}catch{}}function W(){let e={};if(typeof window>`u`)return e;try{let t=JSON.parse(window.sessionStorage.getItem(B)||`{}`);for(let n of z)typeof t[n]==`string`&&(e[n]=t[n])}catch{}let t=new URLSearchParams(window.location.search);for(let n of z){let r=H(t.get(n));r&&!e[n]&&(e[n]=r)}return e}function De(){if(typeof window>`u`)return``;try{let e=window.sessionStorage.getItem(V);if(e)return e;let t=window.crypto?.randomUUID?.()??`s-${Date.now().toString(36)}-${Math.random().toString(36).slice(2,12)}`;return window.sessionStorage.setItem(V,t),t}catch{return``}}function Oe(){try{return document.referrer?new URL(document.referrer).hostname.slice(0,120):null}catch{return null}}function G(e,t,n){if(!(typeof window>`u`))try{let r={event_type:e,session_id:De(),variant_id:t.variantId,landing_path:t.landingPath,...n?.plan_key?{plan_key:n.plan_key}:{},...n?.price?{price:n.price}:{},...W(),referrer_host:Oe(),metadata:{tracking_id:q(t.variantId),viewport_w:String(window.innerWidth),...n?.metadata??{}},occurred_at:new Date().toISOString()};fetch(we,{method:`POST`,headers:{"Content-Type":`application/json`},body:JSON.stringify(r),keepalive:!0,credentials:`omit`}).catch(()=>{})}catch{}}function K(e,t,n){try{let r=new URL(e);for(let[e,t]of Object.entries(W()))r.searchParams.has(e)||r.searchParams.set(e,t);return r.searchParams.has(`src`)||r.searchParams.set(`src`,`nexus`),r.searchParams.has(`sck`)||r.searchParams.set(`sck`,n?`${t.variantId}:${n}`:t.variantId),r.searchParams.set(`ab_variant`,t.variantId),r.searchParams.set(`landing_path`,t.landingPath),r.toString()}catch{return e}}function q(e){return L(e)?.trackingId??e.toUpperCase()}function J(){let e=W(),t={};for(let n of[`utm_source`,`utm_campaign`,`placement`])e[n]&&(t[n]=e[n]);return t}var Y=new Set;function ke(e,t){typeof window>`u`||Y.has(e)||(Y.add(e),U(),G(`landing_view`,{variantId:t,landingPath:e}))}var X=new Set;function Ae(e){if(typeof window>`u`)return;let t=`${e.landingPath}:${e.variantId}`;if(!X.has(t)){X.add(t),U();try{window.fbq?.(`trackCustom`,`LandingVariantView`,{variant:q(e.variantId),landing_path:e.landingPath,...J()})}catch{}G(`variant_view`,e)}}function je(e,t){try{window.fbq?.(`trackCustom`,`NexusCheckoutClick`,{variant:q(e.variantId),landing_path:e.landingPath,...J(),...t??{}})}catch{}let n=t?.price??t?.price_test;G(`checkout_click`,e,{plan_key:t?.plan,price:n,metadata:t?.price_test?{price_test:t.price_test}:void 0})}function Me(){try{let e=window.localStorage.getItem(I);if(!e)return null;let t=JSON.parse(e);return!t.expires||t.expires<Date.now()?null:R(t.id)?t.id:null}catch{return null}}function Ne(e){let t=2592e3;try{window.localStorage.setItem(I,JSON.stringify({id:e,expires:Date.now()+t*1e3}))}catch{}try{document.cookie=`${I}
1=${e}; Max-Age=${t}; Path=/; SameSite=Lax${location.protocol===`https:`?`; Secure`:``}`}catch{}}var Pe=(0,T.createContext)(null);function Fe({variantId:e,landingPath:t,track:n=!0,children:r}){return(0,T.useEffect)(()=>{U(),n&&(ke(t,e),Ae({variantId:e,landingPath:t}))},[e,t,n]),(0,D.jsx)(Pe.Provider,{value:{variantId:e,landingPath:t},children:r})}function Ie(){return(0,T.useContext)(Pe)}var Z=`inline-flex w-full items-center justify-center rounded-2xl px-6 py-4 text-base font-extrabold uppercase tracking-wide transition-transform duration-200 sm:text-lg`;function Le(e){return e||{variantId:`none`,landingPath:typeof window<`u`?window.location.pathname:`/`}}function Q({offer:e,children:t,loading:n,className:r=``,disabledLabel:i=`Checkout em configuração`,trackingExtra:a}){let o=Ie(),s=e?.checkoutUrl??``,[c,l]=(0,T.useState)(s);return(0,T.useEffect)(()=>{s&&(U(),l(K(s,Le(o),a?.plan)))},[s,o?.variantId,o?.landingPath,a?.plan]),n?(0,D.jsx)(`div`,{className:`${Z} animate-pulse bg-surface-2 text-transparent ${r}`,"aria-hidden":`true`,children:t}):e?.enabled&&s?(0,D.jsx)(`a`,{href:c,onClick:e=>{let t=Le(o);e.currentTarget.href=K(s,t,a?.plan),je(t,a)},className:`${Z} bg-gradient-gold text-primary-foreground shadow-gold hover:scale-[1.02] active:scale-[0.99] ${r}`,children:t}):(0,D.jsx)(`span`,{className:`${Z} cursor-not-allowed border border-border bg-surface text-muted-foreground ${r}`,children:i})}var Re=8;function ze({covers:e,direction:t=`left`,loading:n,priority:r,compact:i=!1,speedClassName:a=``}){let o=(0,T.useRef)(null),[s,c]=(0,T.useState)(!1),l=!n&&e.length>0;if((0,T.useEffect)(()=>{let e=o.current;if(!e||typeof IntersectionObserver>`u`)return;let t=new IntersectionObserver(e=>c(!e.some(e=>e.isIntersecting)),{rootMargin:`200px`});return t.observe(e),()=>t.disconnect()},[l]),n||e.length===0)return(0,D.jsx)(`div`,{className:`flex overflow-hidden px-4 ${i?`gap-2`:`gap-3`}`,children:Array.from({length:6}).map((e,t)=>(0,D.jsx)(`div`,{className:`${i?`h-36 w-24 sm:h-44 sm:w-[7.33rem]`:`h-44 w-30 sm:h-60 sm:w-40`} shrink-0 animate-pulse rounded-xl bg-surface-2`},t))});let u=e.slice(0,Re),d=[...u,...u];return(0,D.jsxs)(`div`,{ref:o,className:`relative overflow-hidden`,children:[(0,D.jsx)(`div`,{className:`flex w-max ${i?`gap-2`:`gap-3`} ${t===`left`?`marquee-track-left`:`marquee-track-right`} ${a} ${s?`marquee-paused`:``}`,children:d.map((e,t)=>(0,D.jsx)(`div`,{className:`${i?`h-36 w-24 sm:h-44 sm:w-[7.33rem]`:`h-44 w-30 sm:h-60 sm:w-40`} shrink-0 overflow-hidden rounded-xl border border-primary/20 bg-surface shadow-card ring-1 ring-black/40`,children:(0,D.jsx)(`img`,{src:e.cover,alt:`Capa de ${e.title}`,width:160,height:240,loading:r&&t<3?`eager`:`lazy`,fetchPriority:r&&t<3?`high`:`low`,decoding:`async`,className:`h-full w-full object-cover`})},`${e.id}-${t}`))}),(0,D.jsx)(`div`,{className:`pointer-events-none absolute inset-y-0 left-0 w-10 bg-gradient-to-r from-background to-transparent`}),(0,D.jsx)(`div`,{className:`pointer-events-none absolute inset-y-0 right-0 w-10 bg-gradient-to-l from-background to-transparent`})]})}var Be={version:1,asset_id:`b740ff6d-95db-418d-b293-eba419ee2381`,project_id:`47481875-ff5c-407f-a8d1-16462f80bf95`,url:`/__l5e/assets-v1/b740ff6d-95db-418d-b293-eba419ee2381/nexus-hq-demo-poster.webp`,r2_key:`a/v1/47481875-ff5c-407f-a8d1-16462f80bf95/b740ff6d-95db-418d-b293-eba419ee2381/nexus-hq-demo-poster.webp`,original_filename:`nexus-hq-demo-poster.webp`,size:10618,content_type:`image/webp`,created_at:`2026-09-20T20:41:01Z`},Ve={version:1,asset_id:`50dd8f86-cc1b-42df-8fba-5572eb4109dc`,project_id:`47481875-ff5c-407f-a8d1-16462f80bf95`,url:`/__l5e/assets-v1/50dd8f86-cc1b-42df-8fba-5572eb4109dc/nexus-hq-demo.mp4`,r2_key:`a/v1/47481875-ff5c-407f-a8d1-16462f80bf95/50dd8f86-cc1b-42df-8fba-5572eb4109dc/nexus-hq-demo.mp4`,original_filename:`nexus-hq-demo.mp4`,size:58605807,content_type:`video/mp4`,created_at:`2026-09-20T20:40:57Z`};function He({offer:e,posterPriority:t=!0,showOffer:n=!0}){let[r,i]=(0,T.useState)(!1);return(0,D.jsxs)(`section`,{"aria-labelledby":`demo-video-title`,className:`relative px-4 py-14`,children:[(0,D.jsx)(`div`,{className:`glow-top pointer-events-none absolute inset-x-0 top-0 h-56`}),(0,D.jsxs)(`div`,{className:`relative mx-auto max-w-3xl text-center`,children:[(0,D.jsxs)(`p`,{className:`inline-flex items-center gap-2 rounded-full border border-primary/40 bg-primary/10 px-4 py-1.5 text-xs font-bold text-primary uppercase`,children:[(0,D.jsx)(M,{"aria-hidden":`true`,className:`h-3.5 w-3.5 fill-current`}),`Demonstração do app`]}),(0,D.jsx)(`h2`,{id:`demo-video-title`,className:`mt-5 text-2xl font-black uppercase sm:text-4xl`,children:n?`Veja o NEXUS HQ por dentro`:`Veja o NEXUS HQ em ação`}),n&&(0,D.jsx)(`p`,{className:`mx-auto mt-3 max-w-xl text-sm leading-relaxed text-muted-foreground sm:text-base`,children:`Veja como é simples encontrar, organizar e ler seus quadrinhos em um só lugar.`}),(0,D.jsx)(`div`,{className:`bg-gradient-gold mx-auto mt-8 w-full max-w-[390px] rounded-[22px] p-[2px] shadow-gold`,children:(0,D.jsx)(`div`,{className:`aspect-[9/16] overflow-hidden rounded-[20px] bg-surface`,children:r?(0,D.jsxs)(`video`,{className:`block h-full w-full object-contain`,controls:!0,autoPlay:!0,playsInl
1ine:!0,preload:`auto`,poster:Be.url,"aria-label":`Demonstração do aplicativo NEXUS HQ`,children:[(0,D.jsx)(`source`,{src:Ve.url,type:`video/mp4`}),`Seu navegador não suporta a reprodução deste vídeo.`]}):(0,D.jsxs)(`button`,{type:`button`,onClick:()=>i(!0),"aria-label":`Reproduzir a demonstração do aplicativo NEXUS HQ`,className:`group relative block h-full w-full`,children:[(0,D.jsx)(`img`,{src:Be.url,alt:`Prévia da demonstração do aplicativo NEXUS HQ`,width:360,height:640,loading:t?`eager`:`lazy`,fetchPriority:t?`high`:`low`,decoding:`async`,className:`block h-full w-full object-cover`}),(0,D.jsx)(`span`,{className:`absolute inset-0 flex items-center justify-center bg-black/25`,children:(0,D.jsx)(`span`,{className:`bg-gradient-gold text-primary-foreground flex h-16 w-16 items-center justify-center rounded-full shadow-gold transition-transform group-hover:scale-105`,children:(0,D.jsx)(M,{"aria-hidden":`true`,className:`h-7 w-7 fill-current`})})})]})})}),n&&(0,D.jsxs)(`div`,{className:`mx-auto mt-8 max-w-md rounded-2xl border border-primary/30 bg-surface/80 p-5 shadow-card sm:p-6`,children:[(0,D.jsx)(`p`,{className:`text-lg font-black text-foreground`,children:`Gostou do que viu?`}),(0,D.jsxs)(`p`,{className:`mt-2 text-sm font-semibold text-foreground`,children:[`Tenha acesso ao NEXUS HQ por apenas `,e.price,`.`]}),(0,D.jsx)(`p`,{className:`mt-2 text-xs leading-relaxed text-muted-foreground`,children:`Pagamento único • Acesso vitalício • Sem mensalidade • Garantia de 7 dias`}),(0,D.jsx)(`div`,{className:`mt-5`,children:(0,D.jsxs)(Q,{offer:e,children:[`Quero meu acesso por `,e.price]})})]})]})]})}var Ue={version:1,asset_id:`8e04c29f-cf43-4bb1-b1c0-2e1819c2f02e`,project_id:`47481875-ff5c-407f-a8d1-16462f80bf95`,url:`/__l5e/assets-v1/8e04c29f-cf43-4bb1-b1c0-2e1819c2f02e/nexus-testimonial-01.webp`,r2_key:`a/v1/47481875-ff5c-407f-a8d1-16462f80bf95/8e04c29f-cf43-4bb1-b1c0-2e1819c2f02e/nexus-testimonial-01.webp`,original_filename:`nexus-testimonial-01.webp`,size:34090,content_type:`image/webp`,created_at:`2026-09-18T00:59:15Z`},We={version:1,asset_id:`ec453c9c-7eef-4d19-a1f1-94d88190a0d1`,project_id:`47481875-ff5c-407f-a8d1-16462f80bf95`,url:`/__l5e/assets-v1/ec453c9c-7eef-4d19-a1f1-94d88190a0d1/nexus-testimonial-02.webp`,r2_key:`a/v1/47481875-ff5c-407f-a8d1-16462f80bf95/ec453c9c-7eef-4d19-a1f1-94d88190a0d1/nexus-testimonial-02.webp`,original_filename:`nexus-testimonial-02.webp`,size:38130,content_type:`image/webp`,created_at:`2026-09-18T00:59:19Z`},Ge={version:1,asset_id:`c12ae3f4-bac1-4742-9501-fe57c344ca6c`,project_id:`47481875-ff5c-407f-a8d1-16462f80bf95`,url:`/__l5e/assets-v1/c12ae3f4-bac1-4742-9501-fe57c344ca6c/nexus-testimonial-03.webp`,r2_key:`a/v1/47481875-ff5c-407f-a8d1-16462f80bf95/c12ae3f4-bac1-4742-9501-fe57c344ca6c/nexus-testimonial-03.webp`,original_filename:`nexus-testimonial-03.webp`,size:32884,content_type:`image/webp`,created_at:`2026-09-18T00:59:23Z`},Ke={version:1,asset_id:`c6120384-7ce3-41b0-95e4-f69f102525cc`,project_id:`47481875-ff5c-407f-a8d1-16462f80bf95`,url:`/__l5e/assets-v1/c6120384-7ce3-41b0-95e4-f69f102525cc/nexus-testimonial-04.webp`,r2_key:`a/v1/47481875-ff5c-407f-a8d1-16462f80bf95/c6120384-7ce3-41b0-95e4-f69f102525cc/nexus-testimonial-04.webp`,original_filename:`nexus-testimonial-04.webp`,size:39624,content_type:`image/webp`,created_at:`2026-09-18T00:59:26Z`};function qe(e){let{rootMargin:t=`300px`,once:n=!1}=e??{},r=(0,T.useRef)(null),[i,a]=(0,T.useState)(!1);return(0,T.useEffect)(()=>{let e=r.current;if(!e)return;if(typeof IntersectionObserver>`u`){a(!0);return}let i=new IntersectionObserver(e=>{e.some(e=>e.isIntersecting)?(a(!0),n&&i.disconnect()):n||a(!1)},{rootMargin:t});return i.observe(e),()=>i.disconnect()},[t,n]),{ref:r,inView:i}}var $=[{src:Ue.url,width:900,height:839,aspect:`aspect-[900/839]`},{src:We.url,width:900,height:1057,aspect:`aspect-[900/1057]`},{src:Ge.url,width:900,height:1049,aspect:`aspect-[900/1049]`},{src:Ke.url,width:900,height:1034,aspect:`aspect-[900/1034]`}];function Je({offer:e,showCta:t=!0}){let n=qe({rootMargin:`400px`,once:!0}),r=(0,T.useRef)(null),[i,a]=(0,T.useState)(0),o=e=>{let t=r.current;if(!t)return;let n=t.children.item(e);n instanceof HTMLElement&&(t.scrollTo({left:n.offsetLeft-t.offsetLeft,behavior:`smooth`}),a(e))};return(0,D.jsxs)(`section`,{ref:n.ref,"aria-labelledby":`testimonials-title`,className:`defer-paint relative overflow-hidden border-y border-primary/15 px-4 py-16`,children:[(0,D.jsx)(`div`,{className:`glow-top pointer-events-none absolute inset-x-0 top-0 h-64`}),(0,D.jsxs)(`div`,{className:`relative mx-auto max-w-5xl`,children:[(0,D.jsxs)(`div`,{className:`mx-auto max-w-2xl text-center`,children:[(0,D.jsx)(`p`,{className:`text-xs font-bold tracking-[0.2em] text-primary uppercase`,children:`Depoimentos reais`}),(0,D.jsx)(`h2`,{id:`testimonials-title`,className:`mt-3 text-2xl font-black uppercase sm:text-4xl`,children:`Quem já conheceu o NEXUS HQ, aprovou`}),(0,D.jsx)(`p`,{className:`mt-3 text-sm leading-relaxed text-muted-foreground sm:text-base`,children:`Veja o que algumas pessoas acharam da experiência.`})]}),(0,D.jsx)(`div`,{ref:r,onScroll:()=>{let e=r.current;if(!e||e.clientWidth===0)return;let t=Array.from(e.children).filter(e=>e instanceof HTMLElement),n=t.reduce((n,r,i)=>{let a=r.offsetLeft-e.offsetLeft,o=t[n]?.offsetLeft??0;return Math.abs(a-e.scrollLeft)<Math.abs(o-e.offsetLeft-e.scrollLeft)?i:n},0);n!==i&&a(n)},className:`no-scrollbar -mx-4 mt-8 flex snap-x snap-mandatory items-start overflow-x-auto px-4 sm:mx-auto sm:grid sm:max-w-4xl sm:grid-cols-2 sm:gap-5 sm:overflow-visible sm:px-0`,children:$.map((e,t)=>(0,D.jsx)(`figure`,{className:`w-full shrink-0 snap-center px-1 sm:w-auto 
1sm:px-0`,children:(0,D.jsx)(`div`,{className:`overflow-hidden rounded-2xl border border-primary/25 bg-surface shadow-card`,children:n.inView?(0,D.jsx)(`img`,{src:e.src,alt:`Depoimento de cliente do NEXUS HQ ${t+1}`,width:e.width,height:e.height,loading:`lazy`,decoding:`async`,className:`block h-auto w-full`}):(0,D.jsx)(`div`,{className:`${e.aspect} w-full bg-surface`,"aria-hidden":`true`})})},e.src))}),(0,D.jsx)(`div`,{className:`mt-5 flex items-center justify-center gap-2 sm:hidden`,"aria-label":`Escolher depoimento`,children:$.map((e,t)=>(0,D.jsx)(`button`,{type:`button`,onClick:()=>o(t),"aria-label":`Ver depoimento ${t+1}`,"aria-current":i===t?`true`:void 0,className:`h-2 rounded-full transition-[width,background-color] ${i===t?`w-6 bg-primary`:`w-2 bg-surface-2`}`},e.src))}),t&&(0,D.jsx)(`div`,{className:`mx-auto mt-8 max-w-sm`,children:(0,D.jsx)(Q,{offer:e,children:`Quero meu acesso ao NEXUS HQ`})})]})]})}var Ye=e({method:`GET`}).handler(v(`8151206dfb614cf82ce6838f2ae5f52e615ea69980f244f4dcd45ea15b51b544`)),Xe=`https://nexus-hqs.lovable.app`,Ze=`${Xe}/auth`;`${Xe}`;var Qe=`https://lastlink.com/p/CD0FA197E/checkout-payment/`,$e=`R$ 19,90`,et={enabled:!0,label:`Acesso vitalício`,price:$e,checkoutUrl:Qe,endsAt:null};function tt(e){return{enabled:!0,label:e?.label?.trim()||et.label,price:$e,checkoutUrl:Qe,endsAt:e?.endsAt??null}}var nt=O({queryKey:[`sales-page-data`],queryFn:()=>Ye(),staleTime:3e5,gcTime:6e5,retry:1});export{de as S,ye as _,qe as a,j as b,Q as c,Me as d,Se as f,N as g,F as h,Je as i,Fe as l,R as m,tt as n,He as o,L as p,nt as r,ze as s,Ze as t,Ne as u,ve as v,O as x,_e as y};

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.