PageSourceSearch

https://www.raixer.com/assets/Products-DXfk0fJt.js

js raixer.com collected 2026-09-25 06:58:00 UTC 6,189 bytes, 1 lines download raw bytes

1import{r as o,j as e}from"./react-vendor-DL_jcNr5.js";import{H as x}from"./helmet-_v06W0yj.js";import{B as u}from"./button-DL57pY_p.js";import{P as h}from"./ProductCardCompact-BBEE414o.js";import{fetchProducts as f}from"./stripe-products-DVfgk0dn.js";import j from"./DemoCtaSection-pl2RmBhy.js";import{b as p}from"./index-CyhMsy3Z.js";import{A as g,a as b,b as v,c as N}from"./accordion-BZrAql9c.js";import{u as y}from"./usePrefetchOnIdle-UTM35q7-.js";import{C as w}from"./circle-help-D7OuVm66.js";import"./radix-core-B_pLx6zZ.js";import"./floating-ui-Cvfw4c_J.js";import"./ui-utils--X5BZniO.js";import"./utils-BGkA_7jJ.js";import"./useFormatPrice-iwDIhcWR.js";import"./star-Dpz9LPUO.js";import"./createLucideIcon-C621SLsM.js";import"./arrow-right-B9VrOL2C.js";import"./client-Dx-jOAlE.js";import"./supabase-m9kAYu83.js";import"./radix-dialog-CkXwguX4.js";import"./react-query-D7GX_s2z.js";import"./legacy-redirects-jyAQCFZG.js";import"./radix-accordion-Dh-efQdJ.js";import"./chevron-down-Dah1I6OU.js";const q="/videos/product-hero-desktop.mp4",E="/videos/product-hero-mobile.mp4",P=()=>{const{t:s}=p(),l=o.useRef(null),c=o.useRef(null);return o.useEffect(()=>{const r=t=>{if(!t)return;const a=t.play();a!==void 0&&a.catch(k=>{setTimeout(()=>t.play().catch(()=>{}),1e3)})},d=l.current,i=c.current,n=t=>()=>{t.currentTime=0,r(t)};[d,i].forEach(t=>{t&&(t.addEventListener("canplay",()=>r(t)),t.addEventListener("loadedmetadata",()=>r(t)),t.addEventListener("ended",n(t)),r(t))});const m=setInterval(()=>{[d,i].forEach(t=>{t?.paused&&r(t)})},3e3);return()=>{clearInterval(m),[d,i].forEach(t=>{t&&(t.removeEventListener("canplay",()=>r(t)),t.removeEventListener("loadedmetadata",()=>r(t)),t.removeEventListener("ended",n(t)))})}},[]),e.jsxs(e.Fragment,{children:[e.jsx("section",{className:"md:hidden",children:e.jsx("div",{className:"container mx-auto px-6 pt-4",children:e.jsxs("div",{className:"max-w-5xl mx-auto",children:[e.jsx("div",{className:"relative aspect-[4/5] overflow-hidden rounded-xl bg-muted",children:e.jsx("video",{ref:c,autoPlay:!0,loop:!0,muted:!0,playsInline:!0,preload:"auto",className:"absolute inset-0 w-full h-full object-cover",children:e.jsx("source",{src:E,type:"video/mp4"})})}),e.jsxs("div",{className:"pt-5 pb-2 text-center",children:[e.jsx("h1",{className:"text-2xl font-bold text-foreground mb-2",children:s("products.page.title")}),e.jsx("p",{className:"text-sm text-muted-foreground",children:s("products.page.heroSubtitle")})]})]})})}),e.jsx("section",{className:"hidden md:block",children:e.jsx("div",{className:"container mx-auto px-6 md:px-8 lg:px-12 pt-6",children:e.jsx("div",{className:"max-w-5xl mx-auto",children:e.jsxs("div",{className:"relative w-full aspect-video max-h-[60vh] overflow-hidden rounded-2xl",children:[e.jsx("video",{ref:l,autoPlay:!0,loop:!0,muted:!0,playsInline:!0,preload:"auto",className:"absolute inset-0 w-full h-full object-cover",children:e.jsx("source",{src:q,type:"video/mp4"})}),e.jsx("div",{className:"absolute inset-x-0 bottom-0 h-1/3 bg-gradient-to-b from-transparent to-black/55"}),e.jsx("div",{className:"absolute inset-0 z-10 flex items-end justify-center pb-8 lg:pb-10",children:e.jsx("div",{className:"px-6 md:px-8 lg:px-12",children:e.jsxs("div",{className:"max-w-3xl mx-auto text-center",children:[e.jsx("h1",{className:"text-3xl md:text-4xl lg:text-5xl font-bold text-white mb-3",style:{textShadow:"2px 2px 6px rgba(0,0,0,0.7)"},children:s("products.page.title")}),e.jsx("p",{className:"text-base md:text-lg text-white/90 max-w-2xl mx-auto",style:{textShadow:"1px 1px 4px rgba(0,0,0,0.7)"},children:s("products.page.heroSubtitle")})]})})})]})})})})]})},_=()=>{const{t:s}=p();y(["/checkout","/product/raixer-mini"]);const[l,c]=o.useState([]),[r,d]=o.useState(!0),[i,n]=o.useState(null),m=[{question:s("products.page.faq.q1"),answer:s("products.page.faq.a1")},{question:s("products.page.faq.q2"),answer:s("products.page.faq.a2")},{question:s("products.page.faq.q3"),answer:s("products.page.faq.a3")},{question:s("products.page.faq.q4"),answer:s("products.page.faq.a4")}];return o.useEffect(()=>{(async()=>{try{d(!0);const a=await f();c(a)}catch{n(s("products.page.error"))}finally{d(!1)}})()},[]),e.jsxs("div",{className:"bg-gray-50",children:[e.jsxs(x,{children:[e.jsx("link",{rel:"preload",as:"video",href:"/videos/product-hero-desktop.mp4",type:"video/mp4",media:"(min-width: 768px)"}),e.jsx("link",{rel:"preload",as:"video",href:"/videos/product-hero-mobile.mp4",type:"video/mp4",media:"(max-width: 767px)"})]}),e.jsx(P,{}),e.jsx("section",{className:"pt-6 pb-10 md:pt-8 md:pb-14",children:e.jsx("div",{className:"container mx-auto px-6 md:px-8 lg:px-12",children:e.jsx("div",{className:"max-w-5xl mx-auto",children:r?e.jsx("div",{className:"min-h-[40vh]"}):i?e.jsxs("div",{className:"text-center py-20",children:[e.jsx("p",{className:"text-red-600 mb-4",children:i}),e.jsx(u,{onClick:()=>window.location.reload(),children:s("products.page.retry")})]}):l.length===0?e.jsx("div",{className:"text-center py-20",children:e.jsx("p",{className:"text-muted-foreground mb-4",children:s("products.page.empty")})}):e.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-4",children:l.map(t=>e.jsx(h,{product:t},t.id))})})})}),e.jsx(j,{}),e.jsx("section",{className:"py-16 md:py-20 bg-gray-50",children:e.jsx("div",{className:"container mx-auto px-6 md:px-8 lg:px-12",children:e.jsxs("div",{className:"max-w-3xl mx-auto",children:[e.jsxs("div",{className:"text-center mb-12",children:[e.jsx("div",{className:"inline-flex items-center justify-center w-12 h-12 rounded-full bg-raixer/10 mb-4",children:e.jsx(w,{className:"w-6 h-6 text-raixer"})}),e.jsx("h2",{className:"text-3xl font-bold text-foreground mb-4",children:s("products.page.faq.title")}),e.jsx("p",{className:"text-muted-foreground",children:s("products.page.faq.subtitle")})]}),e.jsx(g,{type:"single",collapsible:!0,className:"w-full",children:m.map((t,a)=>e.jsxs(b,{value:`item-${a}`,className:"bg-white rounded-lg mb-3 border border-gray-100 px-6",children:[e.jsx(v,{className:"text-left font-semibold hover:no-underline",children:t.question}),e.jsx(N,{className:"text-muted-foreground",children:t.answer})]},a))})]})})})]})};export{_ as default};

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.