PageSourceSearch

https://page2doc.com/assets/ai-features-CInzMNLO.js

js page2doc.com collected 2026-09-24 14:49:53 UTC 23,434 bytes, 1 lines download raw bytes

1import{r as h,M as B,j as e,N as V,O as X,P as T,U as K,a as L,Q as R,n as q,V as M,W as O,X as P,Y as Z,_ as Q,$ as Y,a0 as ee,h as _,a1 as I,A as C,u as te,z as ae,t as a,L as o,v as c,a2 as se,Z as ie,a3 as w,e as re,B as ne}from"./index--O6ybP7K.js";import{P as le,A as oe,E as ce}from"./ActionToolbar-7k0_O2LP.js";import{U as de}from"./UsageMeter-DMbRIJvv.js";const me={summarize:"/api/ai/summarize",translate:"/api/ai/translate",extract:"/api/ai/extract-content",keywords:"/api/ai/keywords",analyze:"/api/ai/analyze",metadata:"/api/ai/metadata"};function xe(t,g){return t?t.content.kind==="markdown"?t.content.text:JSON.stringify(g,null,2):""}function he(){const[t,g]=h.useState("summarize"),[u,p]=h.useState(""),[l,d]=h.useState(null),[j,b]=h.useState(null),[f,y]=h.useState(!1),[N,s]=h.useState(""),[i,v]=h.useState("Spanish"),[D,$]=h.useState(!1),{beginRequest:U,cancelRequest:F,isCurrentRequest:G}=B(),S={summarize:"Artificial intelligence (AI) is transforming the way we work, communicate, and solve complex problems. From healthcare diagnostics to autonomous vehicles, AI systems are becoming increasingly sophisticated and integrated into our daily lives. Machine learning algorithms can now process vast amounts of data to identify patterns and make predictions with remarkable accuracy. Natural language processing enables computers to understand and generate human language, powering virtual assistants and translation services. Computer vision allows machines to interpret and analyze visual information, enabling applications like facial recognition and medical image analysis. As AI continues to evolve, it raises important questions about ethics, privacy, and the future of work. Researchers and policymakers are working to ensure that AI development remains beneficial and aligned with human values while addressing potential risks and challenges.",translate:"Hello! This is a sample text for translation. AI-powered translation can convert this text into over 40 different languages while preserving the original meaning and context. This technology is incredibly useful for global communication, business expansion, and breaking down language barriers.",extract:"<html><body><nav>Navigation menu</nav><aside>Sidebar ads</aside><article><h1>Main Article Title</h1><p>This is the main content of the article that we want to extract. AI can intelligently identify and separate this from navigation, ads, and other clutter.</p><p>It preserves the important information while removing unnecessary elements.</p></article><footer>Footer content</footer></body></html>",keywords:"Artificial intelligence is revolutionizing the healthcare industry by enabling more accurate diagnoses, personalized treatment plans, and efficient drug discovery. Machine learning models trained on vast medical datasets can detect early signs of diseases like cancer, diabetes, and cardiovascular conditions with remarkable precision. AI-powered imaging tools are transforming radiology by identifying subtle patterns in X-rays, MRIs, and CT scans that human eyes might miss. Furthermore, natural language processing is streamlining medical documentation, reducing physician burnout, and improving patient outcomes. The integration of AI in telemedicine has expanded access to quality healthcare in rural and underserved communities worldwide.",analyze:"The rise of remote work has fundamentally changed how organizations operate and how employees experience their professional lives. Companies that embraced flexible working arrangements during the pandemic have seen significant improvements in employee satisfaction and retention. However, challenges remain around maintaining company culture, fostering collaboration, and ensuring equitable treatment between remote and in-office workers. Studies show that hybrid models, combining both remote and in-person work, tend to produce the best outcomes for both productivity and employee wellbeing. Organizations must invest in digital infrastructure, clear communication protocols, and inclusive management practices to successfully navigate this new landscape of work.",metadata:"Page2Doc is a powerful Chrome extension that converts any web page into professional PDF, Word, and Excel documents with a single click. Featuring AI-powered summarization, translation to 40+ languages, smart content extraction, and SEO metadata generation. Perfect for researchers, students, marketers, and business professionals who need to save, share, and repurpose web content efficiently. Works on any website with no signup required."},m=`ai-${t}`,H=async()=>{const r=U();y(!0),s(""),d(null),b(null),P({product:m,action:`${m}_started`,surface:"web"});try{const n=u||S[t];let x;switch(t){case"summarize":x={text:n,style:"bullet-points",maxLength:200};break;case"translate":x={text:n,targetLanguage:i};break;case"extract":x={html:n};break;default:x={text:n}}const k=await Z(me[t],{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(x),signal:r.signal});d(k.envelope),b(k),P({product:m,action:`${m}_completed`,surface:"web",metadata:{tokensUsed:k.tokensUsed??0,creditsDeducted:k.creditsDeducted??0}})}catch(n){if(Q(n))return;if(n instanceof Y&&n.status===402){$(!0),P({product:m,action:`${m}_failed`,surface:"web",metadata:{reason:"credits_exhausted"}});return}const x=ee(n,"Processing failed. Please try again.");s(x),P({product:m,action:`${m}_failed`,surface:"web",metadata:{reason:x}})}finally{G(r)&&y(!1)}},W=()=>{navigator.clipboard.writeText(xe(l,j))},J=[{id:"summarize",label:"Summarize",icon:e.jsx(L,{className:"w-4 h-4"})},{id:"translate",label:"Translate",icon:e.jsx(R,{className:"w-4 h-4"})},{id:"extract",label:"Extract",icon:e.jsx(T,{className:"w-4 h-4"})},{id:"keywords",label:"Keywords",icon:e.jsx(q,{className:"w-4 h-4"})},{id:"analyze",label:"Analyze",icon:e.jsx(M,{className:"w-4 h-4"})},{id:"metadata",label:"Metadata",icon:e.jsx(O,{className:"w-4 h-4"})}],A=!!l;return e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:"bg-white rounded-2xl shadow-xl overflow-hidden border border-gray-200",children:[e.jsx("div",{className:"flex border-b border-gray-200 bg-gray-50 overflow-x-auto",children:J.map(r=>e.jsxs("button",{onClick:()=>{F(),g(r.id),y(!1),p(""),d(null),b(null),s("")},className:`flex-1 min-w-[100px] px-4 py-4 font-semibold flex items-center justify-center gap-2 transition text-sm ${t===r.id?"bg-white text-blue-600 border-b-2 border-blue-600":"text-gray-600 hover:text-gray-900 hover:bg-gray-100"}`,"data-testid":`tab-ai-${r.id}`,children:[r.icon,e.jsx("span",{className:"hidden sm:inline",children:r.label})]},r.id))}),e.jsx("div",{className:"p-6 md:p-8",children:e.jsxs("div",{className:"grid md:grid-cols-2 gap-6",children:[e.jsxs("div",{children:[e.jsxs("div",{className:"flex items-center justify-between mb-3",children:[e.jsxs("label",{className:"block text-sm font-semibold text-gray-700",children:["Input ",t==="extract"?"HTML":"Text"]}),e.jsx("button",{onClick:()=>p(S[t]),className:"text-xs text-blue-600 hover:text-blue-700","data-testid":"button-load-sample",children:"Load Sample"})]}),e.jsx(le,{mode:"text",action:t,value:u,onChange:p,onSubmit:H,loading:f,placeholder:`Paste your ${t==="extract"?"HTML":"text"} here...`,children:t==="translate"&&e.jsxs("div",{children:[e.jsx("label",{className:"block text-sm font-semibold text-gray-700 mb-2",children:"Target Language"}),e.jsx("select",{className:"w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-blue-500",value:i,onChange:r=>v(r.target.value),"data-testid":"select-target-language",children:V.map(r=>e.jsx("optgroup",{label:r.label,children:r.languages.map(n=>e.jsx("option",{value:n,children:n},n))},r.label))})]})}),e.jsx("div",{className:"mt-4",children:e.jsx(de,{estimateInputChars:(u||S[t]).length})})]}),e.jsxs("div",{children:[e.jsxs("div",{className:"flex items-center justify-between mb-3",children:[e.jsx("label",{className:"block text-sm font-semibold text-gray-700",children:"AI Result"}),A&&e.jsx("div",{className:"flex items-center gap-3",children:e.jsx(oe,{onCopy:W})})]}),e.jsx("div",{className:"w-full min-h-[16rem] max-h-[28rem] p-4 border border-gray-300 rounded-lg bg-gray-50 overflow-y-auto","data-testid":"output-ai-result",children:N?e.jsx("p",{className:"text-sm text-red-600",children:N}):l?e.jsx(X,{envelope:l}):e.jsx("p",{className:"text-gray-400 text-sm",children:"AI-processed result will appear here..."})}),A&&l&&e.jsx("div",{className:"mt-4",children:e.jsx(ce,{envelope:l,rawResult:j})}),A&&e.jsx("div",{className:"mt-4 p-4 bg-blue-50 border border-blue-200 rounded-lg",children:e.jsxs("div",{className:"flex items-start gap-2",children:[e.jsx(T,{className:"w-5 h-5 text-blue-600 flex-shrink-0 mt-0.5"}),e.jsxs("div",{className:"text-sm",children:[e.jsx("p",{className:"font-semibold text-blue-900 mb-1",children:"Pro Tip"}),e.jsxs("p",{className:"text-blue-700",children:[t==="summarize"&&"Try different summary styles: bullet-points, paragraph, or executive.",t==="translate"&&"Translations preserve HTML formatting and markdown structure.",t==="extract"&&"AI automatically removes ads, navigation, and clutter from web pages.",t==="keywords"&&"Export results as JSON or CSV for SEO tools and content planning.",t==="analyze"&&"Document analysis runs locally — no AI credits consumed for this feature.",t==="metadata"&&"Generated metadata is optimized for Google, Facebook, Twitter, and LinkedIn."]})]})]})})]})]})})]}),e.jsx(K,{open:D,onOpenChange:$,product:m,trigger:"ai_token_limit"})]})}const z={blue:"from-blue-500 to-blue-600",green:"from-green-500 to-green-600",purple:"from-purple-500 to-purple-600",orange:"from-orange-500 to-orange-600",indigo:"from-indigo-500 to-indigo-600",pink:"from-pink-500 to-pink-600"},E={en:"Try it",fr:"Essayer",es:"Probar",de:"Ausprobieren"};function ge({icon:t,title:g,description:u,benefits:p,color:l,actionType:d}){const{lang:j}=_(),b=()=>{const f=d||"none";window.location.href=`/#convert-bar?action=${f}`};return e.jsxs("div",{className:"bg-white rounded-xl p-6 shadow-sm hover:shadow-lg transition group border border-gray-100",children:[e.jsx("div",{className:`w-14 h-14 bg-gradient-to-br ${z[l]} rounded-lg flex items-center justify-center text-white mb-4 group-hover:scale-110 transition`,children:t}),e.jsx("h3",{className:"text-xl font-bold text-gray-900 mb-2",children:g}),e.jsx("p",{className:"text-gray-600 mb-4",children:u}),e.jsx("ul",{className:"space-y-2 mb-4",children:p.map((f,y)=>e.jsxs("li",{className:"flex items-start gap-2 text-sm text-gray-700",children:[e.jsx(I,{className:"w-4 h-4 text-green-600 flex-shrink-0 mt-0.5"}),e.jsx("span",{children:f})]},y))}),d&&e.jsxs("button",{onClick:b,className:`w-full mt-2 px-4 py-2.5 bg-gradient-to-r ${z[l]} text-white rounded-lg font-medium text-sm hover:opacity-90 transition flex items-center justify-center gap-2 shadow-sm`,"data-testid":`button-try-${d}`,children:[E[j]||E.en,e.jsx(C,{className:"w-4 h-4"})]})]})}const fe="2026-08-05";function ye(){const{lang:t}=_();te({lang:t});const g=["summarization","translation","extraction","keywords","insights","metadata"],u=[e.jsx(L,{className:"w-8 h-8"}),e.jsx(R,{className:"w-8 h-8"}),e.jsx(ne,{className:"w-8 h-8"}),e.jsx(q,{className:"w-8 h-8"}),e.jsx(M,{className:"w-8 h-8"}),e.jsx(O,{className:"w-8 h-8"})],p=["blue","green","purple","orange","indigo","pink"],l=["summarize","translate","extract","keywords","analyze","metadata"],d=g.map((s,i)=>({icon:u[i],title:a(t,`aiPage.features.${s}.title`),description:a(t,`aiPage.features.${s}.description`),benefits:ae(t,`aiPage.features.${s}
1.benefits`),color:p[i],actionType:l[i]})),j=[{value:"40+",label:a(t,"aiPage.stats.languages")},{value:"95%",label:a(t,"aiPage.stats.accuracy")},{value:"<3s",label:a(t,"aiPage.stats.speed")},{value:"AI",label:a(t,"aiPage.stats.model")}],b=["research","business","content","legal","news","ecommerce"],f=["📚","💼","✍️","⚖️","📰","🛍️"],y=b.map((s,i)=>({title:a(t,`aiPage.useCases.${s}.title`),description:a(t,`aiPage.useCases.${s}.description`),icon:f[i]})),N=[{key:"AI",us:!0,them:!1},{key:"languages",us:!0,them:"Limited"},{key:"speed",us:"< 3s",them:"5-15s"},{key:"format",us:!0,them:"Partial"},{key:"batch",us:!0,them:!1},{key:"fileSize",us:!0,them:!1},{key:"api",us:!0,them:"Extra cost"},{key:"privacy",us:!0,them:"Unknown"}];return e.jsxs("div",{className:"min-h-screen bg-gradient-to-b from-white via-blue-50/30 to-white",children:[e.jsx("header",{className:"border-b bg-white/80 backdrop-blur-sm sticky top-0 z-50",children:e.jsxs("div",{className:"max-w-7xl mx-auto px-4 py-4 flex items-center justify-between",children:[e.jsxs(o,{href:c("/",t),className:"flex items-center gap-2","data-testid":"link-home",children:[e.jsx("div",{className:"w-8 h-8 bg-gradient-to-br from-blue-600 to-green-500 rounded-lg flex items-center justify-center",children:e.jsx(T,{className:"w-5 h-5 text-white"})}),e.jsx("span",{className:"font-bold text-xl",children:"Page2Doc"})]}),e.jsxs("nav",{className:"hidden md:flex items-center gap-6",children:[e.jsx(o,{href:c("/#features",t),className:"text-gray-600 hover:text-gray-900","data-testid":"link-features",children:a(t,"common.features")}),e.jsx(o,{href:c("/#pricing",t),className:"text-gray-600 hover:text-gray-900","data-testid":"link-pricing",children:a(t,"common.pricing")}),e.jsx(o,{href:c("/blog",t),className:"text-gray-600 hover:text-gray-900","data-testid":"link-blog",children:a(t,"common.blog")}),e.jsx(se,{}),e.jsx(o,{href:c("/",t),className:"px-4 py-2 bg-blue-600 text-white rounded-lg hover:bg-blue-700 transition","data-testid":"link-get-started",children:a(t,"common.getStarted")})]})]})}),e.jsxs("section",{className:"max-w-7xl mx-auto px-4 py-20 text-center",children:[e.jsxs("div",{className:"inline-flex items-center gap-2 px-4 py-2 bg-blue-100 text-blue-700 rounded-full text-sm font-medium mb-6","data-testid":"badge-AI",children:[e.jsx(T,{className:"w-4 h-4"}),a(t,"aiPage.badge")]}),e.jsxs("h1",{className:"text-5xl md:text-6xl font-bold text-gray-900 mb-6 leading-tight","data-testid":"text-hero-title",children:[a(t,"aiPage.heroTitle1"),e.jsx("span",{className:"block text-transparent bg-clip-text bg-gradient-to-r from-blue-600 to-green-500",children:a(t,"aiPage.heroTitle2")})]}),e.jsx("p",{className:"text-xl text-gray-600 max-w-3xl mx-auto mb-10","data-testid":"text-hero-subtitle",children:a(t,"aiPage.heroSubtitle")}),e.jsxs("div",{className:"flex flex-col sm:flex-row items-center justify-center gap-4 mb-12",children:[e.jsxs(o,{href:c("/#pricing",t),className:"px-8 py-4 bg-gradient-to-r from-blue-600 to-blue-700 text-white rounded-lg font-semibold hover:from-blue-700 hover:to-blue-800 transition shadow-lg hover:shadow-xl flex items-center gap-2","data-testid":"button-start-trial",children:[a(t,"aiPage.ctaStart"),e.jsx(C,{className:"w-5 h-5"})]}),e.jsx("a",{href:"/#convert-bar?action=summarize",className:"px-8 py-4 bg-white border-2 border-gray-200 text-gray-700 rounded-lg font-semibold hover:border-blue-600 hover:text-blue-600 transition","data-testid":"button-try-demo",children:a(t,"aiPage.ctaTryDemo")})]}),e.jsx("div",{className:"grid grid-cols-2 md:grid-cols-4 gap-8 max-w-4xl mx-auto",children:j.map((s,i)=>e.jsxs("div",{className:"text-center","data-testid":`stat-${i}`,children:[e.jsx("div",{className:"text-3xl md:text-4xl font-bold text-gray-900 mb-1",children:s.value}),e.jsx("div",{className:"text-sm text-gray-600",children:s.label})]},i))})]}),e.jsxs("section",{className:"max-w-7xl mx-auto px-4 py-20",children:[e.jsxs("div",{className:"text-center mb-16",children:[e.jsx("h2",{className:"text-4xl font-bold text-gray-900 mb-4","data-testid":"text-features-title",children:a(t,"aiPage.featuresTitle")}),e.jsx("p",{className:"text-xl text-gray-600 max-w-2xl mx-auto","data-testid":"text-features-subtitle",children:a(t,"aiPage.featuresSubtitle")})]}),e.jsx("div",{className:"grid md:grid-cols-2 lg:grid-cols-3 gap-8",children:d.map((s,i)=>e.jsx(ge,{...s},i))})]}),e.jsxs("section",{id:"demo",className:"max-w-7xl mx-auto px-4 py-20",children:[e.jsxs("div",{className:"text-center mb-12",children:[e.jsxs("div",{className:"inline-flex items-center gap-2 px-4 py-2 bg-green-100 text-green-700 rounded-full text-sm font-medium mb-6","data-testid":"badge-demo",children:[e.jsx(ie,{className:"w-4 h-4"}),a(t,"aiPage.demoBadge")]}),e.jsx("h2",{className:"text-4xl font-bold text-gray-900 mb-4","data-testid":"text-demo-title",children:a(t,"aiPage.demoTitle")}),e.jsx("p",{className:"text-xl text-gray-600 max-w-2xl mx-auto","data-testid":"text-demo-subtitle",children:a(t,"aiPage.demoSubtitle")})]}),e.jsx(he,{})]}),e.jsx("section",{className:"bg-gradient-to-br from-blue-50 to-green-50 py-20",children:e.jsxs("div",{className:"max-w-7xl mx-auto px-4",children:[e.jsxs("div",{className:"text-center mb-16",children:[e.jsx("h2",{className:"text-4xl font-bold text-gray-900 mb-4","data-testid":"text-usecases-title",children:a(t,"aiPage.useCasesTitle")}),e.jsx("p",{className:"text-xl text-gray-600 max-w-2xl mx-auto","data-testid":"text-usecases-subtitle",children:a(t,"aiPage.useCasesSubtitle")})]}),e.jsx("div",{className:"grid md:grid-cols-2 lg:grid-cols-3 gap-8",children:y.map((s,i)=>e.jsxs("div",{className:"bg-white rounded-xl p-6 shadow-sm hover:shadow-md transition","data-testid":`usecase-${i}`,children:[e.jsx("div",{className:"text-4xl mb-4",children:s.icon}),e.jsx("h3",{className:"text-xl font-semibold text-gray-900 mb-2",children:s.title}),e.jsx("p",{className:"text-gray-600",children:s.description})]},i))})]})}),e.jsxs("section",{className:"max-w-7xl mx-auto px-4 py-20",children:[e.jsxs("div",{className:"text-center mb-16",children:[e.jsx("h2",{className:"text-4xl font-bold text-gray-900 mb-4","data-testid":"text-howitworks-title",children:a(t,"aiPage.howItWorksTitle")}),e.jsx("p",{className:"text-xl text-gray-600 max-w-2xl mx-auto","data-testid":"text-howitworks-subtitle",children:a(t,"aiPage.howItWorksSubtitle")})]}),e.jsx("div",{className:"grid md:grid-cols-3 gap-8",children:["step1","step2","step3"].map((s,i)=>{const v=["blue","green","purple"];return e.jsxs("div",{className:"text-center","data-testid":`step-${i+1}`,children:[e.jsx("div",{className:`w-16 h-16 bg-${v[i]}-100 rounded-full flex items-center justify-center mx-auto mb-6`,children:e.jsx("span",{className:`text-2xl font-bold text-${v[i]}-600`,children:i+1})}),e.jsx("h3",{className:"text-xl font-semibold mb-3",children:a(t,`aiPage.steps.${s}.title`)}),e.jsx("p",{className:"text-gray-600",children:a(t,`aiPage.steps.${s}.description`)})]},i)})})]}),e.jsxs("section",{className:"max-w-5xl mx-auto px-4 py-20",children:[e.jsx("div",{className:"text-center mb-12",children:e.jsx("h2",{className:"text-4xl font-bold text-gray-900 mb-4","data-testid":"text-comparison-title",children:a(t,"aiPage.comparisonTitle")})}),e.jsx("div",{className:"bg-white rounded-2xl shadow-lg overflow-hidden",children:e.jsx("div",{className:"overflow-x-auto",children:e.jsxs("table",{className:"w-full min-w-[360px]",children:[e.jsx("thead",{className:"bg-gradient-to-r from-blue-600 to-green-500 text-white",children:e.jsxs("tr",{children:[e.jsx("th",{className:"px-3 sm:px-6 py-4 text-left text-xs sm:text-sm",children:a(t,"aiPage.comparison.feature")}),e.jsx("th",{className:"px-3 sm:px-6 py-4 text-center text-xs sm:text-sm whitespace-nowrap",children:a(t,"aiPage.comparison.page2doc")}),e.jsx("th",{className:"px-3 sm:px-6 py-4 text-center text-xs sm:text-sm",children:a(t,"aiPage.comparison.others")})]})}),e.jsx("tbody",{className:"divide-y divide-gray-200",children:N.map((s,i)=>e.jsxs("tr",{className:"hover:bg-gray-50","data-testid":`comparison-row-${i}`,children:[e.jsx("td",{className:"px-3 sm:px-6 py-4 font-medium text-gray-900 text-xs sm:text-sm",children:a(t,`aiPage.comparison.rows.${s.key}`)}),e.jsx("td",{className:"px-6 py-4 text-center",children:typeof s.us=="boolean"?s.us?e.jsx(I,{className:"w-6 h-6 text-green-600 mx-auto"}):e.jsx("span",{className:"text-gray-400",children:"—"}):e.jsx("span",{className:"text-blue-600 font-semibold",children:s.us})}),e.jsx("td",{className:"px-6 py-4 text-center",children:typeof s.them=="boolean"?s.them?e.jsx(I,{className:"w-6 h-6 text-gray-400 mx-auto"}):e.jsx("span",{className:"text-red-400",children:"✗"}):e.jsx("span",{className:"text-gray-500",children:s.them})})]},i))})]})})})]}),e.jsx("section",{className:"max-w-4xl mx-auto px-4 py-20",children:e.jsxs("div",{className:"bg-gradient-to-r from-blue-600 to-green-500 rounded-2xl p-12 text-center text-white shadow-2xl",children:[e.jsxs("div",{className:"flex items-center justify-center gap-2 mb-6",children:[e.jsx(w,{className:"w-6 h-6 fill-yellow-300 text-yellow-300"}),e.jsx(w,{className:"w-6 h-6 fill-yellow-300 text-yellow-300"}),e.jsx(w,{className:"w-6 h-6 fill-yellow-300 text-yellow-300"}),e.jsx(w,{className:"w-6 h-6 fill-yellow-300 text-yellow-300"}),e.jsx(w,{className:"w-6 h-6 fill-yellow-300 text-yellow-300"})]}),e.jsx("h2",{className:"text-4xl font-bold mb-4","data-testid":"text-cta-title",children:a(t,"aiPage.ctaTitle")}),e.jsx("p",{className:"text-xl mb-8 text-blue-100","data-testid":"text-cta-subtitle",children:a(t,"aiPage.ctaSubtitle")}),e.jsxs("div",{className:"flex flex-col sm:flex-row items-center justify-center gap-4",children:[e.jsxs(o,{href:c("/#pricing",t),className:"px-8 py-4 bg-white text-blue-600 rounded-lg font-semibold hover:bg-gray-100 transition shadow-lg inline-flex items-center gap-2","data-testid":"button-view-pricing",children:[a(t,"aiPage.ctaPricing"),e.jsx(C,{className:"w-5 h-5"})]}),e.jsx("a",{href:re,target:"_blank",rel:"noopener noreferrer",className:"px-8 py-4 bg-blue-700 text-white rounded-lg font-semibold hover:bg-blue-800 transition border-2 border-white/20","data-testid":"button-install-extension",children:a(t,"aiPage.ctaInstall")})]}),e.jsx("p",{className:"text-sm text-blue-100 mt-6","data-testid":"text-cta-footer",children:a(t,"aiPage.ctaFooter")})]})}),e.jsxs("section",{className:"max-w-3xl mx-auto px-4 py-20",children:[e.jsx("div",{className:"text-center mb-12",children:e.jsx("h2",{className:"text-4xl font-bold text-gray-900 mb-4","data-testid":"text-faq-title",children:a(t,"aiPage.faqTitle")})}),e.jsx("div",{className:"space-y-6",children:[0,1,2,3,4,5].map(s=>e.jsxs("details",{className:"bg-white rounded-lg shadow-sm hover:shadow-md transition","data-testid":`faq-ai-${s}`,children:[e.jsx("summary",{className:"px-6 py-4 font-semibold text-gray-900 cursor-pointer hover:text-blue-600",children:a(t,`aiPage.faqs.${s}.q`)}),e.jsx("p",{className:"px-6 pb-4 text-gray-600",children:a(t,`aiPage.faqs.${s}.a`)})]},s))})]}),e.jsx("footer",{className:"border-t bg-gray-50 py-12",children:e.jsxs("div",{className:"max-w-7xl mx-auto px-4 text-center text-gray-600",children:[e.jsxs("p",{children:["© 2025 Page2Doc. ",a(t,"common.copyright")]}),e.jsxs("div",{className:"flex items-center justify-center gap-6 mt-4",children:[e.jsx(o,{href:c("/privacy",t),className:"hover:text-gray-900","data-testid":"link-privacy",children:a(t,"footer.privacyPolicy")}),e.jsx(o,{href:c("/terms",t),className:"hover:text-gray-900","data-testid":"link-terms",children:a(t,"footer.termsOfService")}),e.jsx(o,{href:c("/blog",t),className:"hover:text-gray-900","data-testid":"link-blog-footer",children:a(t,"common.blog")}),e.jsx("a",{href:"mailto:[email protected]",className:"hover:text-gray-900","data-testid":"link-contact",children:a(t,"footer.contact")})]})]})})]})}export{fe as PAGE_LASTMOD,ye 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.