PageSourceSearch

https://soloyoutube.lovable.app/assets/DrivePricing-CVsspzIm.js

js soloyoutube.lovable.app collected 2026-10-03 03:46:23 UTC 18,473 bytes, 6 lines download raw bytes

1import{e as P,r as y,j as e}from"./vendor-react-D3NGllsf.js";import{s as f,f as O}from"./autochat-core-Dxd4xxGa.js";import{a as H}from"./vendor-query-BUobAdSF.js";import{x as U,j as X,a7 as Z,b as n,C as A,K as I,a3 as h,aw as m,aG as v,aH as j,aI as T,X as R,k as $,I as Q,L as J,bb as W,a as Y,u as o,aa as ee,ah as te}from"./index-Bt2u_ktz.js";import{S as ae}from"./SEOHead-DhjRVFpI.js";import{S as ne}from"./Snowfall-CvLuaLgk.js";import{u as se}from"./useAutochatAccess-B2IUX2zR.js";import{S as B,a as i}from"./SoloToolAdvancedCard-Dzr46KbI.js";import{m as ie}from"./vendor-motion-BVE-Kjyy.js";import{C as d}from"./cloud-upload-DMZmbzu4.js";import{H as re}from"./hard-drive-BX2FJN_Q.js";import"./vendor-supabase-XOXmZWMk.js";import"./vendor-ui-Vd3rW98i.js";import"./useBrandingSettings-xLqvMl_a.js";import"./useUserPurchasedCourses-CSvPHl2z.js";/**
2 * @license lucide-react v0.462.0 - ISC
3 *
4 * This source code is licensed under the ISC license.
5 * See the LICENSE file in the root directory of this source tree.
6 */const N=U("FolderTree",[["path",{d:"M20 10a1 1 0 0 0 1-1V6a1 1 0 0 0-1-1h-2.5a1 1 0 0 1-.8-.4l-.9-1.2A1 1 0 0 0 15 3h-2a1 1 0 0 0-1 1v5a1 1 0 0 0 1 1Z",key:"hod4my"}],["path",{d:"M20 21a1 1 0 0 0 1-1v-3a1 1 0 0 0-1-1h-2.9a1 1 0 0 1-.88-.55l-.42-.85a1 1 0 0 0-.92-.6H13a1 1 0 0 0-1 1v5a1 1 0 0 0 1 1Z",key:"w4yl2u"}],["path",{d:"M3 5a2 2 0 0 0 2 2h3",key:"f2jnh7"}],["path",{d:"M3 3v13a2 2 0 0 0 2 2h3",key:"k8epm1"}]]),c=t=>new Intl.NumberFormat("vi-VN").format(t)+"đ",le=[{icon:re,title:"Giải phóng dung lượng máy tính / điện thoại",desc:"Video, MP3, kịch bản không còn chất đống trong ổ cứng hay bộ nhớ điện thoại. Máy nhẹ thì làm việc cũng mượt hơn."},{icon:d,title:"Kết quả tự bay thẳng lên Google Drive",desc:"Làm xong là file có mặt trên Drive của bạn ngay — không cần bấm tải, không cần tự kéo thả lên mây."},{icon:N,title:"File xếp gọn theo từng tool",desc:"Mỗi tool một thư mục riêng trên Drive, tìm lại kịch bản hay video cũ chỉ mất vài giây."},{icon:W,title:"Xem – gửi – đăng ngay từ điện thoại",desc:"Không phải chép qua USB hay gửi Zalo cho chính mình. Mở Drive trên điện thoại là dùng được liền."},{icon:I,title:"Máy hỏng, đổi máy vẫn còn nguyên file",desc:"Công sức cả buổi làm video không bao giờ mất theo ổ cứng. Mọi thứ đã nằm an toàn trên Drive của bạn."},{icon:Y,title:"Áp dụng cho cả 3 tool + kích hoạt tự động",desc:"AutoChat, VoiceMax và Erender đều đồng bộ. Chuyển khoản xong là hệ thống tự mở quyền, không chờ duyệt tay."}],oe=[{label:"Nơi nhận kết quả",std:"Nằm rải trong máy bạn",pro:"Tự lên Google Drive của bạn"},{label:"Dung lượng máy",std:"Đầy dần theo mỗi video",pro:"Máy luôn nhẹ, file để trên mây"},{label:"Sắp xếp file",std:"Tự tìm, tự dọn",pro:"Xếp sẵn theo từng tool"},{label:"Dùng trên điện thoại",std:"Phải chép qua lại",pro:"Mở Drive là có ngay"},{label:"Máy hỏng / đổi máy",std:"Nguy cơ mất sạch",pro:"File vẫn còn nguyên"},{label:"Kích hoạt",std:"—",pro:"Tự động sau chuyển khoản"}],ce=[{q:"File lưu vào Drive của ai?",a:"Drive của chính bạn. Bạn kết nối tài khoản Google một lần, sau đó mọi kết quả từ 3 tool sẽ tự nằm trong Drive của bạn và bạn toàn quyền quản lý."},{q:"Không mua gói này thì kết quả đi đâu?",a:"File vẫn được lưu về đúng thư mục trên máy nơi bạn tải nguyên liệu lên. Chỉ là bạn phải tự dọn, tự sắp xếp và máy sẽ đầy dần theo thời gian."},{q:"Có tự động gia hạn không?",a:"Không. Gói chạy đúng 30 ngày, hết hạn bạn chủ động gia hạn, không bị trừ tiền tự động."},{q:"Gói này có thay cho gói tool tiêu chuẩn không?",a:"Không. Đây là gói gắn thêm vào gói tool tiêu chuẩn, giúp toàn bộ kết quả của 3 tool được đưa thẳng lên Google Drive."}],b=[{card:"border-sky-400/25 bg-gradient-to-br from-sky-500/10 to-transparent",icon:"bg-sky-500/20 text-sky-300"},{card:"border-emerald-400/25 bg-gradient-to-br from-emerald-500/10 to-transparent",icon:"bg-emerald-500/20 text-emerald-300"},{card:"border-amber-400/25 bg-gradient-to-br from-amber-500/10 to-transparent",icon:"bg-amber-500/20 text-amber-300"},{card:"border-fuchsia-400/25 bg-gradient-to-br from-fuchsia-500/10 to-transparent",icon:"bg-fuchsia-500/20 text-fuchsia-300"},{card:"border-cyan-400/25 bg-gradient-to-br from-cyan-500/10 to-transparent",icon:"bg-cyan-500/20 text-cyan-300"},{card:"border-lime-400/25 bg-gradient-to-br from-lime-500/10 to-transparent",icon:"bg-lime-500/20 text-lime-300"}];function _e(){var G;const{user:t}=X(),g=P(),{hasAdvanced:x,advancedExpiresAt:k,isAdvancedLifetime:E}=se(),[u,K]=y.useState(""),[w,_]=y.useState(!1),[C,D]=y.useState(!1),s=a=>{var l;return(l=document.getElementById(a))==null?void 0:l.scrollIntoView({behavior:"smooth",block:"start"})},{data:r,refetch:L}=H({queryKey:["profile-drive-pricing",t==null?void 0:t.id],queryFn:async()=>
6{if(!(t!=null&&t.id))return null;const{data:a}=await f.from("profiles").select("full_name, phone, email").eq("id",t.id).maybeSingle();return a},enabled:!!(t!=null&&t.id)}),q=(r==null?void 0:r.full_name)||((G=t==null?void 0:t.email)==null?void 0:G.split("@")[0])||"",S=(r==null?void 0:r.email)||(t==null?void 0:t.email)||"",p=(r==null?void 0:r.phone)||"";async function V(){if(!u.trim()||!(t!=null&&t.id)){o.error("Nhập số điện thoại Zalo");return}_(!0);try{const{error:a}=await f.from("profiles").update({phone:u.trim()}).eq("id",t.id);if(a)throw a;o.success("Đã lưu số điện thoại"),await L()}catch{o.error("Không lưu được số điện thoại")}finally{_(!1)}}async function z(){if(!(t!=null&&t.id)){o.error("Vui lòng đăng nhập trước khi mua gói"),g("/login");return}if(!p){o.error("Vui lòng nhập số điện thoại Zalo trước");return}D(!0);try{const a=typeof crypto<"u"&&"randomUUID"in crypto?crypto.randomUUID():`${Date.now()}-${Math.random().toString(36).slice(2,10)}`,l="TL"+a.slice(-6).toUpperCase(),{data:F,error:M}=await f.from("tool_subscriptions").insert({id:a,user_id:t.id,tool_name:B,package_duration:"1 Tháng",quantity:1,price_per_unit:i,total_amount:i,original_amount:i,savings_amount:0,customer_name:q,customer_phone:p,customer_email:S,status:"pending",payment_reference:l,affiliate_ref:ee()||null,affiliate_click_id:te()||null,admin_notes:"3 Tool Đồng Bộ Google Drive (30 ngày) — mua từ /pricingdrive"}).select().single();if(M)throw M;g("/app/tool-payment",{state:{orderData:{subscription_id:F.id,tool_name:B,package_duration:"1 Tháng",quantity:1,total_amount:i,original_amount:i,savings_amount:0,customer_name:q,customer_phone:p,customer_email:S,payment_reference:l}}})}catch{o.error("Có lỗi xảy ra, vui lòng thử lại"),D(!1)}}return e.jsxs("div",{className:"min-h-screen bg-[#0a0a0f] text-slate-200",children:[e.jsx(ae,{title:"3 Tool Đồng Bộ Qua Google Drive — 249.000đ/30 ngày",description:"Kết quả của AutoChat, VoiceMax và Erender tự lưu thẳng lên Google Drive của bạn: giải phóng dung lượng máy tính và điện thoại, file không thất lạc, mở được mọi lúc mọi nơi.",url:"/pricingdrive"}),e.jsx(ne,{count:28,subtle:!0}),e.jsxs("section",{className:"relative overflow-hidden border-b border-sky-500/20",children:[e.jsx("div",{className:"absolute inset-0 bg-[radial-gradient(ellipse_at_top,rgba(56,189,248,0.22),transparent_60%),radial-gradient(ellipse_at_bottom_right,rgba(52,211,153,0.18),transparent_55%),radial-gradient(ellipse_at_bottom_left,rgba(251,191,36,0.14),transparent_55%)]"}),e.jsx("div",{className:"absolute -top-24 left-1/2 h-72 w-72 -translate-x-1/2 rounded-full bg-sky-500/20 blur-[100px]"}),e.jsx("div",{className:"container max-w-4xl relative z-10 px-4 py-14 md:py-20 text-center",children:e.jsxs(ie.div,{initial:{opacity:0,y:16},animate:{opacity:1,y:0},children:[e.jsx(Z,{className:"mb-4 bg-gradient-to-r from-sky-500/25 to-emerald-500/25 text-sky-200 border border-sky-400/40",children:"Gói nâng cấp cho cả 3 tool"}),e.jsx("h1",{className:"text-3xl md:text-5xl font-bold leading-tight bg-gradient-to-r from-sky-300 via-cyan-200 to-emerald-300 bg-clip-text text-transparent",children:"3 Tool Đồng Bộ Qua Google Drive"}),e.jsxs("p",{className:"mt-4 text-lg text-slate-300",children:["Mọi kết quả từ AutoChat, VoiceMax và Erender ",e.jsx("b",{className:"text-sky-200",children:"tự bay thẳng lên Google Drive"})," của bạn — máy tính và điện thoại được giải phóng dung lượng, file không bao giờ thất lạc."]}),e.jsxs("div",{className:"mt-6 inline-flex items-end gap-2 rounded-2xl border border-sky-400/30 bg-black/40 px-6 py-4 shadow-[0_0_40px_-10px_rgba(56,189,248,0.6)]",children:[e.jsx("span",{className:"text-4xl md:text-5xl font-extrabold bg-gradient-to-r from-sky-300 to-emerald-300 bg-clip-text text-transparent",children:c(i)}),e.jsx("span",{className:"mb-1 text-slate-400",children:"/ 30 ngày"})]}),x?e.jsxs("div",{className:"mt-6 inline-flex flex-col items-center gap-2 rounded-xl border border-emerald-600/50 bg-emerald-500/10 px-5 py-4",children:[e.jsx("span",{className:"font-semibold text-emerald-300",children:"Bạn đang có gói đồng bộ Google Drive"}),!E&&k&&e.jsxs("span",{className:"text-sm text-emerald-200/80",children:["Hạn tới ",O(k)]}),e.jsxs("div",{className:"flex flex-wrap justify-center gap-2",children:[e.jsx(n,{className:"bg-gradient-to-r from-emerald-500 to-teal-500 text-emerald-950 font-bold hover:opacity-90",onClick:()=>g("/tool"),children:"Vào tool làm việc"}),e.jsx(n,{variant:"outline",className:"border-emerald-400/40 text-emerald-200",onClick:()=>s("mua-goi"),children:"Gia hạn thêm 30 ngày"})]})]}):e.jsxs("div",{className:"mt-6 flex flex-wrap items-center justify-center gap-3",children:[e.jsxs(n,{size:"lg",onClick:()=>s("mua-goi"),className:"bg-gradient-to-r from-sky-500 to-emerald-500 hover:opacity-90 text-white font-bold shadow-[0_0_30px_-8px_rgba(56,189,248,0.9)]",children:[e.jsx(d,{className:"mr-2 h-4 w-4"})," Nâng cấp ",c(i)]}),e.jsx(n,{size:"lg",variant:"outline",className:"border-emerald-400/40 text-emerald-200 hover:bg-emerald-500/10",onClick:()=>s("loi-ich"),children:"Xem lợi ích"})]}),e.jsxs("div",{className:"mt-7 flex flex-wrap items-center justify-center gap-2",children:[e.jsxs(n,{variant:"outline",size:"sm",className:"border-sky-400/30 bg-white/5 text-sky-200 hover:bg-sky-500/10",onClick:()=>s("loi-ich"),children:[e.jsx(d,{className:"mr-1.5 h-4 w-4"})," Lợi ích"]}),e.jsxs(n,{variant:"outline",size:"sm",className:"border-emerald-400/30 bg-white/5 text-emerald-200 hover:bg-emerald-500/10",onClick:()=>s("so-sanh"),children:[e.jsx(A,{className:"mr-1.5 h-4 w-4"})," So sánh"]}),e.jsxs(n,{variant:"outline",size:"sm",className:"border-amber-400/30 bg-white/5 text-amber-200 hover:bg-amber-500/10",onClick:()=>s("cach-hoat-dong"),children:[e.jsx(N,{className:"mr-1.5 h-4 w-4"})," Cách hoạt động"]}),e.jsxs(n,{variant:"outline",size:"sm",className:"border-fuchsia-400/30 bg-white/5 text-fuchsia-200 hover:bg-fuchsia-500/10",onClick:()=>s("cau-hoi"),children:[e.jsx(I,{className:"mr-1.5 h-4 w-4"})," Câu hỏi thường gặp"]}
6)]})]})})]}),e.jsxs("section",{id:"loi-ich",className:"container max-w-5xl px-4 py-12",children:[e.jsx("h2",{className:"text-2xl md:text-3xl font-bold text-white text-center",children:"Bạn được gì khi nâng cấp?"}),e.jsx("p",{className:"mt-2 text-center text-slate-400",children:"Điều quan trọng nhất: kết quả trả thẳng về Google Drive — máy bạn không còn phải gánh file nặng."}),e.jsx("div",{className:"mt-8 grid md:grid-cols-2 gap-4",children:le.map((a,l)=>e.jsx(h,{className:`border transition-transform hover:-translate-y-1 ${b[l%b.length].card}`,children:e.jsxs(m,{className:"p-5 flex gap-3",children:[e.jsx("div",{className:`rounded-lg p-2 h-fit ${b[l%b.length].icon}`,children:e.jsx(a.icon,{className:"h-5 w-5"})}),e.jsxs("div",{children:[e.jsx("div",{className:"font-semibold text-white",children:a.title}),e.jsx("p",{className:"text-sm text-slate-400 mt-1",children:a.desc})]})]})},a.title))})]}),e.jsx("section",{id:"so-sanh",className:"container max-w-4xl px-4 pb-12",children:e.jsxs(h,{className:"bg-white/[0.03] border-white/10 overflow-hidden",children:[e.jsxs(v,{children:[e.jsx(j,{className:"text-white",children:"Không có gói & Có gói khác nhau thế nào?"}),e.jsx(T,{children:"Cùng một tool, chỉ khác chỗ nhận kết quả."})]}),e.jsx(m,{className:"p-0",children:e.jsxs("div",{className:"grid grid-cols-3 border-t border-white/10 text-sm",children:[e.jsx("div",{className:"p-3 font-semibold text-slate-400"}),e.jsx("div",{className:"p-3 font-semibold text-slate-300 border-l border-white/10",children:"Không có gói"}),e.jsx("div",{className:"p-3 font-semibold text-emerald-300 border-l border-white/10",children:"Có gói đồng bộ Drive"}),oe.map(a=>e.jsxs("div",{className:"contents",children:[e.jsx("div",{className:"p-3 border-t border-white/10 text-slate-300",children:a.label}),e.jsxs("div",{className:"p-3 border-t border-l border-white/10 text-slate-400 flex gap-2",children:[e.jsx(R,{className:"h-4 w-4 shrink-0 text-rose-400/70"}),e.jsx("span",{children:a.std})]}),e.jsxs("div",{className:"p-3 border-t border-l border-white/10 text-emerald-200 flex gap-2",children:[e.jsx(A,{className:"h-4 w-4 shrink-0 text-emerald-400"}),e.jsx("span",{children:a.pro})]})]},a.label))]})})]})}),e.jsx("section",{className:"container max-w-4xl px-4 pb-12",children:e.jsxs("div",{className:"rounded-2xl border border-sky-400/30 bg-gradient-to-r from-sky-500/15 via-cyan-500/10 to-emerald-500/15 p-6 text-center",children:[e.jsx("div",{className:"text-xl font-bold text-white",children:"Đừng để ổ cứng đầy làm chậm cả buổi làm việc"}),e.jsxs("p",{className:"mt-2 text-slate-300",children:["Chỉ ",c(i),"/30 ngày — mọi kết quả tự lên Drive, máy bạn luôn nhẹ."]}),e.jsxs("div",{className:"mt-4 flex flex-wrap justify-center gap-2",children:[e.jsxs(n,{onClick:()=>s("mua-goi"),className:"bg-gradient-to-r from-sky-500 to-emerald-500 text-white font-bold hover:opacity-90",children:[e.jsx(d,{className:"mr-2 h-4 w-4"})," Nâng cấp ngay"]}),e.jsx(n,{variant:"ghost",className:"text-slate-300",onClick:()=>s("cau-hoi"),children:"Xem câu hỏi thường gặp"})]})]})}),e.jsx("section",{id:"cach-hoat-dong",className:"container max-w-4xl px-4 pb-12",children:e.jsxs(h,{className:"bg-amber-500/[0.06] border-amber-500/30",children:[e.jsx(v,{children:e.jsxs(j,{className:"text-amber-200 flex items-center gap-2",children:[e.jsx(N,{className:"h-5 w-5"})," Hoạt động đơn giản trong 3 bước"]})}),e.jsxs(m,{className:"space-y-3 text-slate-300 text-sm leading-relaxed",children:[e.jsxs("ul",{className:"space-y-2",children:[e.jsxs("li",{children:["• ",e.jsx("b",{className:"text-amber-200",children:"Bước 1:"})," Nâng cấp gói — hệ thống tự mở quyền ngay sau khi nhận chuyển khoản."]}),e.jsxs("li",{children:["• ",e.jsx("b",{className:"text-amber-200",children:"Bước 2:"})," Bấm kết nối tài khoản Google một lần duy nhất."]}),e.jsxs("li",{children:["• ",e.jsx("b",{className:"text-amber-200",children:"Bước 3:"})," Cứ làm việc như thường — kịch bản, MP3, video xong là tự nằm trên Drive của bạn."]})]}),e.jsx("p",{className:"text-slate-400",children:"Từ lúc đó máy bạn không còn phải chứa file nặng, mà mở điện thoại lên là xem lại được toàn bộ thành quả."})]})]})}),e.jsx("section",{id:"mua-goi",className:"container max-w-2xl px-4 pb-12",children:e.jsxs(h,{className:"border-sky-500/40 bg-white/[0.03]",children:[e.jsxs(v,{children:[e.jsxs(j,{className:"text-white flex items-center gap-2",children:[e.jsx(d,{className:"h-5 w-5 text-sky-300"})," ",x?"Gia hạn gói":"Nâng cấp ngay"]}),e.jsxs(T,{children:[c(i)," / 30 ngày · Chuyển khoản xong hệ thống tự mở quyền."]})]}),e.jsx(m,{className:"space-y-4",children:t!=null&&t.id?e.jsxs(e.Fragment,{children:[!p&&e.jsxs("div",{className:"space-y-2",children:[e.jsx($,{htmlFor:"drive-phone",children:"Số điện thoại Zalo"}),e.jsxs("div",{className:"flex gap-2",children:[e.jsx(Q,{id:"drive-phone",value:u,onChange:a=>K(a.target.value),placeholder:"09xxxxxxxx"}),e.jsx(n,{variant:"outline",onClick:V,disabled:w,children:w?"Đang lưu...":"Lưu"})]})]}),e.jsxs(n,{className:"w-full",size:"lg",onClick:z,disabled:C,children:[C&&e.jsx(J,{className:"mr-2 h-4 w-4 animate-spin"}),x?"Gia hạn":"Nâng cấp"," ",c(i)," / 30 ngày"]})]}):e.jsx(n,{className:"w-full",onClick:()=>
6g("/login"),children:"Đăng nhập để nâng cấp"})})]})}),e.jsxs("section",{id:"cau-hoi",className:"container max-w-3xl px-4 pb-28",children:[e.jsx("h2",{className:"text-2xl font-bold text-white text-center mb-6",children:"Câu hỏi thường gặp"}),e.jsx("div",{className:"space-y-3",children:ce.map(a=>e.jsx(h,{className:"bg-white/[0.03] border-white/10",children:e.jsxs(m,{className:"p-5",children:[e.jsx("div",{className:"font-semibold text-white",children:a.q}),e.jsx("p",{className:"text-sm text-slate-400 mt-1",children:a.a})]})},a.q))})]}),!x&&e.jsx("div",{className:"fixed inset-x-0 bottom-0 z-50 border-t border-sky-400/25 bg-[#0a0a0f]/90 backdrop-blur px-4 py-3",children:e.jsxs("div",{className:"container max-w-4xl flex flex-wrap items-center justify-between gap-3",children:[e.jsxs("div",{className:"text-sm",children:[e.jsxs("span",{className:"font-bold bg-gradient-to-r from-sky-300 to-emerald-300 bg-clip-text text-transparent",children:[c(i)," / 30 ngày"]}),e.jsx("span",{className:"text-slate-400",children:" · kết quả tự lên Google Drive"})]}),e.jsxs("div",{className:"flex gap-2",children:[e.jsx(n,{size:"sm",variant:"outline",className:"border-emerald-400/40 text-emerald-200",onClick:()=>s("loi-ich"),children:"Xem lợi ích"}),e.jsxs(n,{size:"sm",onClick:()=>s("mua-goi"),className:"bg-gradient-to-r from-sky-500 to-emerald-500 text-white font-bold hover:opacity-90",children:[e.jsx(d,{className:"mr-1.5 h-4 w-4"})," Nâng cấp ngay"]})]})]})})]})}export{_e 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.