1import{c as p,o as m,a as e,d as C,t as i,F as H,r as q,b as v,e as x,f as S,g as c,u as h,w,h as D,i as Y,n as e2,j as $,k as t2,l as s2,m as k,p as a2,q as o2}from"./9f2Vt0lA.js";import{h as n2}from"./keEWR343.js";import{_ as L}from"./Cx1bNx5Z.js";import{u as M}from"./CDHn9QO0.js";import{r as P,a as i2,b as r2,F as l2,c as c2}from"./B03RBc5x.js";import{r as A}from"./CIc9IpYw.js";import{r as d2}from"./BqVax5py.js";import{r as m2}from"./DKyrrwEq.js";(function(){try{var l=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new l.Error().stack;a&&(l._sentryDebugIds=l._sentryDebugIds||{},l._sentryDebugIds[a]="9c3d0d2e-79bd-4ecf-8a0b-140f90273edc",l._sentryDebugIdIdentifier="sentry-dbid-9c3d0d2e-79bd-4ecf-8a0b-140f90273edc")}catch{}})();const h2=""+new URL("hero-image-after.BanHasOF.webp",import.meta.url).href;function p2(l,a){return m(),p("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[e("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"m3.75 13.5 10.5-11.25L12 10.5h8.25L9.75 21.75 12 13.5H3.75Z"})])}function u2(l,a){return m(),p("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[e("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M21 11.25v8.25a1.5 1.5 0 0 1-1.5 1.5H5.25a1.5 1.5 0 0 1-1.5-1.5v-8.25M12 4.875A2.625 2.625 0 1 0 9.375 7.5H12m0-2.625V7.5m0-2.625A2.625 2.625 0 1 1 14.625 7.5H12m0 0V21m-8.625-9.75h18c.621 0 1.125-.504 1.125-1.125v-1.5c0-.621-.504-1.125-1.125-1.125h-18c-.621 0-1.125.504-1.125 1.125v1.5c0 .621.504 1.125 1.125 1.125Z"})])}const f2={class:"px-3 pb-19 pt-3 lg:pt-6 sm:px-6"},g2={class:"mx-auto flex max-w-5xl flex-col items-center gap-10 rounded-2xl bg-gray-950 px-6 py-10 text-center sm:px-9 md:px-10 md:py-12 lg:flex-row lg:justify-between lg:px-14 lg:py-14 lg:text-left"},x2={class:"lg:max-w-[50%]"},C2={class:"text-[clamp(1.8rem,2.8vw,2.4rem)] font-extrabold leading-tight tracking-tighter text-white"},_2={class:"mt-2 text-sm/6 text-white/50"},w2={class:"mt-5 flex flex-wrap justify-center gap-3 lg:justify-start"},v2={class:"shrink-0"},b2=C({__name:"SectionCta",setup(l){const a=M(),t=[{key:"private",icon:P},{key:"noUploads",icon:i2},{key:"free",icon:r2}];return(s,n)=>{const r=L;return m(),p("section",f2,[e("div",g2,[e("div",x2,[e("h2",C2,i(s.$t("home.cta.titleStart"))+" "+i(s.$t("home.cta.titleHighlight")),1),e("p",_2,i(s.$t("home.cta.subtitle")),1),e("div",w2,[(m(),p(H,null,q(t,u=>e("span",{key:u.key,class:"inline-flex items-center gap-1.5 rounded-full border border-white/10 bg-white/5 px-3 py-1.5 text-2xs font-medium text-white/50"},[(m(),v(S(u.icon),{class:"size-4 text-accent-400"})),x(" "+i(s.$t(`home.cta.badges.${u.key}`)),1)])),64))])]),e("div",v2,[c(r,{to:"/enhance",class:"group inline-flex items-center gap-1.5 rounded-full bg-linear-to-br from-accent-400 to-accent-550 px-8 py-3.5 text-sm font-bold text-white whitespace-nowrap transition-colors duration-100 hover:from-accent-550 hover:to-accent-650 hover:shadow-accent-500/30",onClick:n[0]||(n[0]=u=>h(a).track("cta_clicked",{location:"cta_section"}))},{default:w(()=>[x(i(s.$t("home.cta.button"))+" ",1),c(h(A),{class:"size-4 shrink-0 transition-transform duration-100 group-hover:translate-x-0.5"})]),_:1})])])])}}}),y2=Object.assign(b2,{__name:"SectionsSectionCta"}),$2=C({__name:"SectionFaq",setup(l){const{t:a}=D(),t=[{q:"home.faq.q1",a:["home.faq.a1p1","home.faq.a1p2"]},{q:"home.faq.q2",a:["home.faq.a2p1","home.faq.a2p2"]},{q:"home.faq.q3",a:["home.faq.a3p1","home.faq.a3p2"]},{q:"home.faq.q4",a:["home.faq.a4p1","home.faq.a4p2","home.faq.a4p3"]},{q:"home.faq.q5",a:["home.faq.a5p1","home.faq.a5p2"]},{q:"home.faq.q6",a:["home.faq.a6p1","home.faq.a6p2"]},{q:"home.faq.q7",a:["home.faq.a7p1"]}],s=Y(()=>t.map(n=>({question:a(n.q),answers:n.a.map(r=>a(r))})));return(n,r)=>(m(),v(l2,{id:"faq",title:h(a)("home.faq.title"),items:s.value},null,8,["title","items"]))}}),k2=Object.assign($2,{__name:"SectionsSectionFaq"}),S2="data:image/svg+xml,%3csvg%20width='32'%20height='32'%20viewBox='0%200%2032%2032'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20opacity='0.5'%20d='M30%207V25C30%2025.5304%2029.7893%2026.0391%2029.4142%2026.4142C29.0391%2026.7893%2028.5304%2027%2028%2027H4C3.46957%2027%202.96086%2026.7893%202.58579%2026.4142C2.21071%2026.0391%202%2025.5304%202%2025V7C2%206.46957%202.21071%205.96086%202.58579%205.58579C2.96086%205.21071%203.46957%205%204%205H28C28.5304%205%2029.0391%205.21071%2029.4142%205.58579C29.7893%205.96086%2030%206.46957%2030%207Z'%20fill='%23E6947E'/%3e%3cpath%20d='M17.0008%205V27C17.0008%2027.2652%2016.8954%2027.5196%2016.7079%2027.7071C16.5204%2027.8946%2016.266%2028%2016.0008%2028C15.7356%2028%2015.4812%2027.8946%2015.2937%2027.7071C15.1061%2027.5196%2015.0008%2027.2652%2015.0008%2027V5C15.0008%204.73478%2015.1061%204.48043%2015.2937%204.29289C15.4812%204.10536%2015.7356%204%2016.0008%204C16.266%204%2
1016.5204%204.10536%2016.7079%204.29289C16.8954%204.48043%2017.0008%204.73478%2017.0008%205ZM12.0008%2015H4.41454L6.70829%2012.7075C6.89593%2012.5199%207.00134%2012.2654%207.00134%2012C7.00134%2011.7346%206.89593%2011.4801%206.70829%2011.2925C6.52065%2011.1049%206.26615%2010.9994%206.00079%2010.9994C5.73542%2010.9994%205.48093%2011.1049%205.29329%2011.2925L1.29329%2015.2925C1.20031%2015.3854%201.12655%2015.4957%201.07623%2015.6171C1.0259%2015.7385%201%2015.8686%201%2016C1%2016.1314%201.0259%2016.2615%201.07623%2016.3829C1.12655%2016.5043%201.20031%2016.6146%201.29329%2016.7075L5.29329%2020.7075C5.48093%2020.8951%205.73542%2021.0006%206.00079%2021.0006C6.26615%2021.0006%206.52065%2020.8951%206.70829%2020.7075C6.89593%2020.5199%207.00134%2020.2654%207.00134%2020C7.00134%2019.7346%206.89593%2019.4801%206.70829%2019.2925L4.41454%2017H12.0008C12.266%2017%2012.5204%2016.8946%2012.7079%2016.7071C12.8954%2016.5196%2013.0008%2016.2652%2013.0008%2016C13.0008%2015.7348%2012.8954%2015.4804%2012.7079%2015.2929C12.5204%2015.1054%2012.266%2015%2012.0008%2015ZM30.7083%2015.2925L26.7083%2011.2925C26.5206%2011.1049%2026.2661%2010.9994%2026.0008%2010.9994C25.7354%2010.9994%2025.4809%2011.1049%2025.2933%2011.2925C25.1056%2011.4801%2025.0002%2011.7346%2025.0002%2012C25.0002%2012.2654%2025.1056%2012.5199%2025.2933%2012.7075L27.587%2015H20.0008C19.7356%2015%2019.4812%2015.1054%2019.2937%2015.2929C19.1061%2015.4804%2019.0008%2015.7348%2019.0008%2016C19.0008%2016.2652%2019.1061%2016.5196%2019.2937%2016.7071C19.4812%2016.8946%2019.7356%2017%2020.0008%2017H27.587L25.2933%2019.2925C25.1056%2019.4801%2025.0002%2019.7346%2025.0002%2020C25.0002%2020.2654%2025.1056%2020.5199%2025.2933%2020.7075C25.4809%2020.8951%2025.7354%2021.0006%2026.0008%2021.0006C26.2661%2021.0006%2026.5206%2020.8951%2026.7083%2020.7075L30.7083%2016.7075C30.8013%2016.6146%2030.875%2016.5043%2030.9253%2016.3829C30.9757%2016.2615%2031.0016%2016.1314%2031.0016%2016C31.0016%2015.8686%2030.9757%2015.7385%2030.9253%2015.6171C30.875%2015.4957%2030.8013%2015.3854%2030.7083%2015.2925Z'%20fill='%23272727'/%3e%3c/svg%3e",H2="data:image/svg+xml,%3csvg%20width='32'%20height='32'%20viewBox='0%200%2032%2032'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20opacity='0.5'%20d='M29.9992%2015.9518C29.9992%2018.604%2028.9456%2021.1475%2027.0702%2023.0229C25.1949%2
1024.8982%2022.6513%2025.9518%2019.9992%2025.9518H8.99918C8.00663%2025.9506%207.02568%2025.7383%206.12144%2025.329C5.2172%2024.9198%204.41033%2024.3229%203.75437%2023.578C3.09841%2022.8331%202.60837%2021.9572%202.31675%2021.0084C2.02514%2020.0597%201.93862%2019.0598%202.06294%2018.0751C2.18726%2017.0903%202.51957%2016.1433%203.03783%2015.2968C3.55609%2014.4503%204.24845%2013.7237%205.06896%2013.1652C5.88946%2012.6067%206.81936%2012.229%207.79695%2012.0573C8.77454%2011.8857%209.77746%2011.9238%2010.7392%2012.1693V12.1818C11.6142%2010.0354%2013.2077%208.25972%2015.2472%207.15826C17.2867%206.0568%2019.6454%205.69803%2021.9201%206.14329C24.1949%206.58855%2026.2443%207.81019%2027.7179%209.59931C29.1916%2011.3884%2029.998%2013.6339%2029.9992%2015.9518Z'%20fill='%23E6947E'/%3e%3cpath%20d='M20.0011%205C17.9582%205.00157%2015.956%205.57142%2014.2185%206.64582C12.4809%207.72023%2011.0765%209.25682%2010.1623%2011.0837C9.07479%2010.9251%207.96622%2010.9923%206.90579%2011.2811C5.84535%2011.5699%204.85579%2012.0741%203.99882%2012.7622C3.14186%2013.4504%202.43589%2014.3077%201.92493%2015.2808C1.41397%2016.2538%201.109%2017.3217%201.02902%2018.4179C0.949047%2019.514%201.09579%2020.6149%201.4601%2021.6518C1.82441%2022.6887%202.39847%2023.6395%203.14647%2024.4447C3.89447%2025.2499%204.80037%2025.8924%205.80767%2026.3321C6.81496%2026.7717%207.90204%2026.9991%209.00109%2027H20.0011C22.9185%2027%2025.7164%2025.8411%2027.7793%2023.7782C29.8422%2021.7153%2031.0011%2018.9174%2031.0011%2016C31.0011%2013.0826%2029.8422%2010.2847%2027.7793%208.22183C25.7164%206.15893%2022.9185%205%2020.0011%205ZM20.0011%2025H9.00109C7.40979%2025%205.88367%2024.3679%204.75845%2023.2426C3.63324%2022.1174%203.00109%2020.5913%203.00109%2019C3.00109%2017.4087%203.63324%2015.8826%204.75845%2014.7574C5.88367%2013.6321%207.40979%2013%209.00109%2013C9.13859%2013%209.27609%2013%209.41234%2013.0138C9.13887%2013.9856%209.00049%2014.9904%209.00109%2016C9.00109%2016.2652%209.10645%2016.5196%209.29399%2016.7071C9.48152%2016.8946%209.73588%2017%2010.0011%2017C10.2663%2017%2010.5207%2016.8946%2010.7082%2016.7071C10.8957%2016.5196%2011.0011%2016.2652%2011.0011%2016C11.0011%2014.22%2011.5289%2012.4799
1%2012.5179%2010.9999C13.5068%209.51983%2014.9124%208.36627%2016.5569%207.68508C18.2015%207.0039%2020.0111%206.82567%2021.7569%207.17293C23.5027%207.5202%2025.1064%208.37737%2026.3651%209.63604C27.6237%2010.8947%2028.4809%2012.4984%2028.8282%2014.2442C29.1754%2015.99%2028.9972%2017.7996%2028.316%2019.4442C27.6348%2021.0887%2026.4813%2022.4943%2025.0012%2023.4832C23.5212%2024.4722%2021.7811%2025%2020.0011%2025ZM23.7086%2014.7075L21.4148%2017L23.7086%2019.2925C23.8015%2019.3854%2023.8752%2019.4957%2023.9255%2019.6171C23.9758%2019.7385%2024.0017%2019.8686%2024.0017%2020C24.0017%2020.1314%2023.9758%2020.2615%2023.9255%2020.3829C23.8752%2020.5043%2023.8015%2020.6146%2023.7086%2020.7075C23.6157%2020.8004%2023.5054%2020.8741%2023.384%2020.9244C23.2626%2020.9747%2023.1325%2021.0006%2023.0011%2021.0006C22.8697%2021.0006%2022.7396%2020.9747%2022.6182%2020.9244C22.4968%2020.8741%2022.3865%2020.8004%2022.2936%2020.7075L20.0011%2018.4137L17.7086%2020.7075C17.521%2020.8951%2017.2665%2021.0006%2017.0011%2021.0006C16.7357%2021.0006%2016.4812%2020.8951%2016.2936%2020.7075C16.106%2020.5199%2016.0005%2020.2654%2016.0005%2020C16.0005%2019.7346%2016.106%2019.4801%2016.2936%2019.2925L18.5873%2017L16.2936%2014.7075C16.106%2014.5199%2016.0005%2014.2654%2016.0005%2014C16.0005%2013.7346%2016.106%2013.4801%2016.2936%2013.2925C16.4812%2013.1049%2016.7357%2012.9994%2017.0011%2012.9994C17.2665%2012.9994%2017.521%2013.1049%2017.7086%2013.2925L20.0011%2015.5863L22.2936%2013.2925C22.3865%2013.1996%2022.4968%2013.1259%2022.6182%2013.0756C22.7396%2013.0253%2022.8697%2012.9994%2023.0011%2012.9994C23.1325%2012.9994%2023.2626%2013.0253%2023.384%2013.0756C23.5054%2013.1259%2023.6157%2013.1996%2023.7086%2013.2925C23.8015%2013.3854%2023.8752%2013.4957%2023.9255%2013.6171C23.9758%2013.7385%2024.0017%2013.8686%2024.0017%2014C24.0017%2014.1314%2023.9758%2014.2615%2023.9255%2014.3829C23.8752%2014.5043%2023.8015%2014.6146%2023.7086%2014.7075Z'%20fill='%23272727'/%3e%3c/svg%3e",q2="data:image/svg+xml,%3csvg%20width='32'%20height='32'%20viewBox='0%200%2032%2032'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20opacity='0.5'%20d='M26%205V26H19V5H26Z'%20fill='%23E6947E'/%3e%3cpath%20d='M28%2025H27V5C27%204.73478%2026.8946%204.48043%2026.7071%204.29289C26.5196%204.10536%2026.2652%204%2026%204H19C18.7348%204%2018.4804%204.10536%2018.2929%204.29289C18.1054%204.48043%2018%204.73478%2018%205V10H12C11.7348%2010%2011.4804%2010.1054%2011.2929%2010.2929C11.1054%2010.4804%2011%2010.7348%2011%2011V16H6C5.73478%2016%205.48043%2016.1054%205.29289%2016.2929C5.10536%2016.4804%205%2016.7348%205%2017V25H4C3.73478%2025%203.48043%2025.1054%203.29289%2025.2929C3.10536%2025.4804%203%2025.7348%203%2026C3%2026.2652%203.10536%2026.5196%203.29289%2026.7071C3.48043%2026.8946%203.73478%2027%204%2027H28C28.2652%2027%2028.5196%2026.8946%2028.7071%2026.7071C28.8946%2026.5196%2029%2026.2652%2029%2026C29%2025.7348%2028.8946%2025.4804%2028.7071%2025.2929C28.5196%2025.1054%2028.2652%2025%2028%2025ZM20%206H25V25H20V6ZM13%2012H18V25H13V12ZM7%2018H11V25H7V18Z'%20fill='%23272727'/%3e%3c/svg%3e",L2="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='32'%20height='32'%20fill='%23272727'%20viewBox='0%200%20256%20256'%3e%3cpath%20d='M208,48V208H48V48Z'%20fill='%23E6947E'%20opacity='0.5'%3e%3c/path%3e%3cpath%20d='M216,48V96a8,8,0,0,1-16,0V67.31l-42.34,42.35a8,8,0,0,1-11.32-11.32L188.69,56H160a8,8,0,0,1,0-16h48A8,8,0,0,1,216,48ZM98.34,146.34,56,188.69V160a8,8,0,0,0-16,0v48a8,8,0,0,0,8,8H96a8,8,0,0,0,0-16H67.31l42.35-42.34a8,8,0,0,0-11.32-11.32ZM208,152a8,8,0,0,0-8,8v28.69l-42.34-42.35a8,8,0,0,0-11.32,11.32L188.69,200H160a8,8,0,0,0,0,16h48a8,8,0,0,0,8-8V160A8,8,0,0,0,208,152ZM67.31,56H96a8,8,0,0,0,0-16H48a8,8,0,0,0-8,8V96a8,8,0,0,0,16,0V67.31l42.34,42.35a8,8,0,0,0,11.32-11.32Z'%3e%3c/path%3e%3c/svg%3e",M2="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='32'%20height='32'%20fill='%23272727'%20viewBox='0%200%20256%20256'%3e%3cpath%20d='M224,64V176a16,16,0,0,1-16,16H48a16,16,0,0,1-16-16V64A16,16,0,0,1,48,48H208A16,16,0,0,1,224,64Z'%20fill='%23E6947E'%20opacity='0.5'%3e%3c/path%3e%3cpath%20d='M208,40H48A24,24,0,0,0,24,64V1
176a24,24,0,0,0,24,24H208a24,24,0,0,0,24-24V64A24,24,0,0,0,208,40Zm8,136a8,8,0,0,1-8,8H48a8,8,0,0,1-8-8V64a8,8,0,0,1,8-8H208a8,8,0,0,1,8,8Zm-48,48a8,8,0,0,1-8,8H96a8,8,0,0,1,0-16h64A8,8,0,0,1,168,224ZM157.66,106.34a8,8,0,0,1-11.32,11.32L136,107.31V152a8,8,0,0,1-16,0V107.31l-10.34,10.35a8,8,0,0,1-11.32-11.32l24-24a8,8,0,0,1,11.32,0Z'%3e%3c/path%3e%3c/svg%3e",A2={id:"features",class:"pixel-bg relative px-3 py-16 sm:px-6 lg:py-20"},V2={class:"relative z-1 mx-auto max-w-5xl"},E2={class:"mb-8 lg:mb-12 text-center"},I2={class:"text-[clamp(1.8rem,2.8vw,2.4rem)] font-extrabold leading-tight tracking-tighter"},Z2={class:"mx-auto mt-1.5 max-w-4/5 sm:max-w-lg text-sm/6 lg:text-base text-gray-500"},T2={class:"grid grid-cols-1 gap-4 sm:grid-cols-2 md:grid-cols-3"},j2=["src","alt"],B2=C({__name:"SectionFeatures",setup(l){const a=[{key:"upscale",icon:L2},{key:"contentTypes",icon:M2},{key:"tiers",icon:q2},{key:"privacy",icon:H2,wide:!0},{key:"comparison",icon:S2,lastWide:!0}];return(t,s)=>(m(),p("section",A2,[e("div",V2,[e("div",E2,[e("h2",I2,i(t.$t("home.features.titleStart"))+" "+i(t.$t("home.features.titleHighlight")),1),e("p",Z2,i(t.$t("home.features.subtitle")),1)]),e("div",T2,[(m(),p(H,null,q(a,n=>c(c2,{key:n.key,title:t.$t(`home.features.items.${n.key}.title`),text:t.$t(`home.features.items.${n.key}.description`),class:e2({"sm:col-span-2 md:col-span-1":n.lastWide,"md:col-span-2":n.wide})},{icon:w(()=>[e("img",{src:n.icon,alt:t.$t(`home.features.items.${n.key}.title`),class:"size-7",draggable:"false"},null,8,j2)]),_:2},1032,["title","text","class"])),64))])])]))}}),F2=Object.assign(B2,{__name:"SectionsSectionFeatures"}),O2={class:"pixel-bg relative flex flex-col items-center px-6 py-28 text-center"},z2={class:"relative z-1 flex flex-col items-center"},N2={class:"mb-10 inline-flex items-center gap-2 rounded-full border border-gray-200 bg-white py-1 pr-4 pl-1.5 text-2xs text-gray-500"},R2={class:"rounded-full bg-linear-to-br from-accent-400 to-accent-550 px-2.5 py-0.5 text-xxs font-bold uppercase tracking-wide text-white"},U2={class:"max-w-180 text-[clamp(2rem,5.2vw,4.6rem)] font-extrabold leading-[1.125] tracking-tighter lg:leading-[1.1] xl:leading-[1.05]"},D2={class:"mt-5 max-w-md text-sm leading-relaxed text-gray-500 lg:text-base"},P2={class:"mt-10 flex w-full max-w-54 flex-col items-center gap-2.5 sm:max-w-none sm:w-auto sm:flex-row"},W2=C({__name:"SectionHero",setup(l){const a=M();return(t,s)=>{const n=L;return m(),p("section",O2,[e("div",z2,[e("div",N2,[e("span",R2,i(t.$t("home.hero.badge")),1),x(" "+i(t.$t("home.hero.badgeText")),1)]),e("h1",U2,[x(i(t.$t("home.hero.titleStart"))+" "+i(t.$t("home.hero.titleHighlight"))+" ",1),s[2]||(s[2]=e("br",{class:"xl:hidden"},null,-1)),x(" "+i(t.$t("home.hero.titleEnd")),1)]),e("p",D2,i(t.$t("home.hero.subtitle")),1),e("div",P2,[c(n,{to:"/enhance",class:"group inline-flex w-full items-center justify-center gap-1.5 rounded-full bg-linear-to-br from-accent-400 to-accent-550 px-7 py-3 text-sm font-bold text-white shadow-sm transition-colors duration-100 sm:w-auto hover:from-accent-550 hover:to-accent-650 hover:shadow-accent-500/30",onClick:s[0]||(s[0]=r=>h(a).track("cta_clicked",{location:"hero"}))},{default:w(()=>[x(i(t.$t("home.hero.cta"))+" ",1),c(h(A),{class:"size-4 shrink-0 transition-transform duration-100 group-hover:translate-x-0.5"})]),_:1}),c(n,{to:"/enhance",class:"inline-flex w-full items-center justify-center rounded-full border border-gray-200 bg-white px-7 py-3 text-sm font-semibold text-gray-900 transition-colors sm:w-auto hover:border-gray-300 hover:bg-gray-50",onClick:s[1]||(s[1]=r=>h(a).track("cta_clicked",{location:"hero_samples"}))},{default:w(()=>[x(i(t.$t("home.hero.trySamples")),1)]),_:1})])])])}}}),X2=Object.assign(W2,{__name:"SectionsSectionHero"}),K2=["aria-valuenow"],G2=["src","alt"],J2=["src","alt"],Q2={class:"absolute top-1/2 -left-px flex -translate-x-1/2 -translate-y-1/2 items-center"},z=100,N=0,Y2=50,e0=2e3,t0=750,s0=750,a0=.4,R=1.1,U=1,o0=C({__name:"BeforeAfterSlider",props:{beforeSrc:{},afterSrc:{},beforeLabel:{default:"Before"},afterLabel:{default:"After"}},setup(l){const a=l,t=$(null),s=$(z),n=$(R);let r=null,u=null,_=null,V=!1;const W=o=>o<.5?4*o*o*o:1-(-2*o+2)**3/2,E=(o,d,f)=>o+(d-o)*f,b=()=>{u!==null&&(cancelAnimationFrame(u),u=null),_!==null&&(clearTimeout(_),_=null),n.value=U},I=(o,d,f,g)=>new Promise(y=>{const J=performance.now(),B=Q=>{const F=Math.min((Q-J)/f,1),O=W(F);s.value=E(o,d,O),g?.(O),F<1?u=requestAnimationFrame(B):(u=null,y())};u=requestAnimationFrame(B)}),X=o=>new Promise(d=>{_=window.setTimeout(()=>{_=null,d()},o)}),K=async()=>{V||(V=!0,await I(z,N,e0,o=>{n.value=E(R,U,o)}),await X(t0),await I(N,Y2,s0))},Z=o=>"touches"in o?o.touches[0]?.clientX??0:o.clientX,T=(o,d)=>{const f=d.getBoundingClientRect(),g=(o-f.left)/f.width*100;s.value=Math.max(0,Math.min(100,g))},j=o=>{b();const d=t.value;if(!d)return;T(Z(o),d);const f=y=>{T(Z(y),d)},g=()=>{document.removeEventListener("mousemove",f),document.removeEventListener("mouseup",g),document.removeEventListener("touchmove",f),document.removeEventListener("touchend",g),r=null};document.addEventListener("mousemove",f),document.addEventListener("mouseup",g),document.addEventListener("touchmove",f,{passive:!0}),document.addEventListener("touchend",g),r=g},G=o=>{b(),o.key==="ArrowLeft"?s.value=Math.max(0,s.value-2):o.key==="ArrowRight"&&(s.value=Math.min(100,s.value+2))};return t2(()=>{if(!t.value)return;
1const o=new IntersectionObserver(([d])=>{d?.isIntersecting&&(K(),o.disconnect())},{threshold:a0});o.observe(t.value)}),s2(()=>{b(),r?.()}),(o,d)=>(m(),p("div",{ref_key:"containerRef",ref:t,role:"slider",tabindex:"0","aria-valuenow":Math.round(h(s)),"aria-valuemin":"0","aria-valuemax":"100","aria-label":"Image comparison slider",class:"relative aspect-square sm:aspect-video cursor-ew-resize select-none overflow-hidden rounded-2xl shadow-lg shadow-black/10 ring-1 ring-black/5",onMousedown:j,onTouchstartPassive:j,onKeydown:G},[e("img",{src:a.beforeSrc,alt:a.beforeLabel,class:"absolute inset-0 h-full w-full object-cover",style:k({transform:`scale(${h(n)})`}),fetchpriority:"high",draggable:"false"},null,12,G2),e("img",{src:a.afterSrc,alt:a.afterLabel,class:"absolute inset-0 h-full w-full object-cover",style:k({clipPath:`inset(0 0 0 ${h(s)}%)`,transform:`scale(${h(n)})`}),draggable:"false"},null,12,J2),e("div",{class:"absolute inset-y-0 left-0 z-10 -ml-px w-full border-l-2 border-white",style:k({transform:`translateX(${h(s)}%)`})},[e("div",Q2,[c(h(d2),{class:"size-4 text-white drop-shadow"}),d[0]||(d[0]=e("div",{class:"h-8 w-2 rounded-full bg-white shadow-sm"},null,-1)),c(h(m2),{class:"size-4 text-white drop-shadow"})])],4)],40,K2))}}),n0=Object.assign(o0,{__name:"UiBeforeAfterSlider"}),i0={class:"px-3 pb-12 sm:px-6"},r0={class:"mx-auto max-w-4xl"},l0={class:"mt-8 flex flex-wrap items-center justify-center gap-2.5 lg:mt-10 sm:grid sm:grid-cols-3 sm:gap-0 lg:px-4"},c0={class:"inline-flex items-center gap-1.5 rounded-full border border-gray-200 bg-white px-3 py-1.5 text-2xs font-semibold text-gray-900 shadow-xs sm:hidden"},d0={class:"hidden items-center gap-3.5 px-3 lg:px-6 py-5 sm:flex"},m0={class:"flex size-10.5 shrink-0 items-center justify-center rounded-xl bg-linear-to-br from-accent-400 to-accent-550"},h0={class:"text-sm font-semibold tracking-tight text-gray-900"},p0={class:"mt-0.5 text-2xs text-gray-500"},u0=C({__name:"SectionShowcase",props:{examples:{}},setup(l){const a=l,t=[{key:"private",icon:P},{key:"gpu",icon:p2},{key:"free",icon:u2}];return(s,n)=>(m(),p("section",i0,[e("div",r0,[c(n0,{"before-src":a.examples[0].beforeSrc,"after-src":a.examples[0].afterSrc,"before-label":a.examples[0].beforeLabel,"after-label":a.examples[0].afterLabel},null,8,["before-src","after-src","before-label","after-label"]),e("div",l0,[(m(),p(H,null,q(t,r=>e("div",{key:r.key},[e("span",c0,[(m(),v(S(r.icon),{class:"size-4 text-accent-500 stroke-2"})),x(" "+i(s.$t(`home.showcase.badges.${r.key}.title`)),1)]),e("div",d0,[e("div",m0,[(m(),v(S(r.icon),{class:"size-5 stroke-[1.8] text-white"}))]),e("div",null,[e("p",h0,i(s.$t(`home.showcase.badges.${r.key}.title`)),1),e("p",p0,i(s.$t(`home.showcase.badges.${r.key}.subtitle`)),1)])])])),64))])])]))}}),f0=Object.assign(u0,{__name:"SectionsSectionShowcase"}),g0=""+new URL("ai-video-upscaling.C3R2L_Ij.webp",import.meta.url).href,x0={class:"px-3 py-3 sm:px-6 lg:py-20"},C0={class:"mx-auto max-w-5xl rounded-2xl bg-gray-950 px-6 py-10 sm:px-9 md:px-10 md:py-12 lg:rounded-none lg:bg-transparent lg:p-0"},_0={class:"grid grid-cols-1 items-center gap-10 lg:grid-cols-2 lg:gap-16"},w0={class:"text-[clamp(1.8rem,2.8vw,2.4rem)] font-extrabold leading-tight tracking-tighter text-white lg:text-gray-900"},v0={class:"mt-5 space-y-4"},b0={class:"text-sm leading-relaxed text-white/50 lg:text-base lg:text-gray-500"},y0={class:"text-sm leading-relaxed text-white/50 lg:text-base lg:text-gray-500"},$0={class:"text-sm leading-relaxed text-white/50 lg:text-base lg:text-gray-500"},k0=C({__name:"SectionUseCases",setup(l){const a=M();return(t,s)=>{const n=L;return m(),p("section",x0,[e("div",C0,[e("div",_0,[s[1]||(s[1]=e("img",{src:g0,alt:"AI video upscaling",width:"480",height:"480",loading:"lazy",class:"hidden aspect-square select-none rounded-2xl shadow-lg shadow-black/6 ring-1 ring-black/3 lg:block",draggable:"false"},null,-1)),e("div",null,[e("h2",w0,i(t.$t("home.useCases.titleStart"))+" "+i(t.$t("home.useCases.titleHighlight")),1),e("div",v0,[e("p",b0,i(t.$t("home.useCases.p1")),1),e("p",y0,i(t.$t("home.useCases.p2")),1),e("p",$0,i(t.$t("home.useCases.p3")),1)]),c(n,{to:"/enhance",class:"group mt-8 inl
1ine-flex items-center gap-1.5 rounded-full bg-linear-to-br from-accent-400 to-accent-550 px-7 py-3 text-sm font-bold text-white shadow-sm transition-colors duration-100 hover:from-accent-550 hover:to-accent-650 hover:shadow-accent-500/30",onClick:s[0]||(s[0]=r=>h(a).track("cta_clicked",{location:"usecases_section"}))},{default:w(()=>[x(i(t.$t("home.useCases.cta"))+" ",1),c(h(A),{class:"size-4 shrink-0 transition-transform duration-100 group-hover:translate-x-0.5"})]),_:1})])])])])}}}),S0=Object.assign(k0,{__name:"SectionsSectionUseCases"}),Z0=C({__name:"index",setup(l){const{t:a}=D();a2({title:a("home.seo.title"),description:a("home.seo.description"),ogUrl:"https://bettervideo.ai/",articleModifiedTime:"2026-07-12T00:00:00Z"}),o2({link:[{rel:"canonical",href:"https://bettervideo.ai/"}]});const t=[{label:"Live Action",beforeSrc:n2,afterSrc:h2}];return(s,n)=>(m(),p("div",null,[c(X2),c(f0,{examples:t}),c(F2),c(S0),c(k2),c(y2)]))}});export{Z0 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.