PageSourceSearch

https://tailify.io/_next/static/chunks/8421.68da9cd5c539093d.js

js tailify.io collected 2026-10-02 01:58:37 UTC 8,574 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[802,8421],{4937:(e,t,s)=>{s.d(t,{A:()=>r});let r=function(){for(var e,t,s=0,r="",i=arguments.length;s<i;s++)(e=arguments[s])&&(t=function e(t){var s,r,i="";if("string"==typeof t||"number"==typeof t)i+=t;else if("object"==typeof t)if(Array.isArray(t)){var a=t.length;for(s=0;s<a;s++)t[s]&&(r=e(t[s]))&&(i&&(i+=" "),i+=r)}else for(r in t)t[r]&&(i&&(i+=" "),i+=r);return i}(e))&&(r&&(r+=" "),r+=t);return r}},7525:(e,t,s)=>{s.d(t,{CurrencyProvider:()=>n,H:()=>o,S:()=>l});var r=s(56397),i=s(47929);let a=(0,i.createContext)("USD");function n({currency:e,children:t}){return(0,r.jsx)(a.Provider,{value:e,children:t})}function o(){return(0,i.useContext)(a)}function l(e,t){return"EUR"===t?e.replace("$","€"):e}},18421:(e,t,s)=>{s.r(t),s.d(t,{UpgradeModal:()=>b});var r=s(56397),i=s(47929),a=s(72140),n=s(45169),o=s(55547),l=s(19757),d=s(8609),c=s(48027),x=s(45040),u=s(88017),m=s(85041),h=s(67057),f=s(7525);let p=[{id:"pay_per_cv",icon:a.A,name:"Pay-per-CV",price:"$4.99",period:"one-time",description:"Download this CV as PDF and Word",features:["PDF export","Word (.docx) export","1 Coach session"],badge:null},{id:"pro_monthly",icon:n.A,name:"Pro Monthly",price:"$19",period:"/ month",description:"Unlimited CVs, exports & Coach",features:["Unlimited CV generations","PDF & Word exports","Unlimited Coach sessions","Priority support"],badge:"Most popular"},{id:"pro_6month",icon:o.A,name:"Pro 6-Month",price:"$12",period:"/ mo \xb7 $72 every 6 mo",description:"Cover your full job search — save 37%",features:["Everything in Pro Monthly","Save 37% vs monthly ($72 vs $114)","Covers a full 6-month job search"],badge:"Best value"}];function b({onClose:e,reason:t,context:s}){let[a,n]=(0,i.useState)("pro_6month"),[o,g]=(0,i.useState)(!1),v=(0,f.H)(),[y,C]=(0,i.useState)(null),j=(0,h.s)();async function E(){g(!0),C(null);try{let e=await (0,m.J)(a);j.track("checkout_started",{plan:a}),window.location.href=e}catch(e){C(e instanceof Error?e.message:"Something went wrong. Please try again."),g(!1)}}return(0,r.jsx)("div",{className:"fixed inset-0 z-50 flex items-center justify-center p-4 bg-black/40",onClick:t=>t.target===t.currentTarget&&e(),children:(0,r.jsxs)("div",{className:"bg-white rounded-lg border border-[#E8E8E4] w-full max-w-lg shadow-xl",children:[(0,r.jsxs)("div",{className:"flex items-center justify-between p-5 border-b border-[#E8E8E4]",children:[(0,r.jsxs)("div",{children:[(0,r.jsx)("h2",{className:"text-base font-medium text-[#2C2C2A]",children:s?`Download your CV for ${s.role} at ${s.company}`:"credits"===t?"Voyage credits used up":"plan"===t?"Voyage requires a plan":"Unlock CV export"}),(0,r.jsx)("p",{className:"text-sm text-[#9B9B97] mt-0.5",children:s?s.score>0?`You matched ${s.score}% of keywords — this CV is ready to submit`:"Your tailored CV is ready to submit":"credits"===t?"You've used all your Voyage sessions. Upgrade to keep preparing.":"plan"===t?"Voyage interview coaching is a Pro feature.":"Choose a plan to download your tailored CV"})]}),(0,r.jsx)("button",{onClick:e,className:"w-8 h-8 flex items-center justify-center rounded-md hover:bg-[#F0F0EC] transition-colors",children:(0,r.jsx)(l.A,{size:16,className:"text-[#9B9B97]"})})]}),(0,r.jsx)("div",{className:"p-5 space-y-3",children:p.map(e=>{let t=e.icon,i=a===e.id;return(0,r.jsxs)("button",{onClick:()=>n(e.id),className:`w-full text-left p-4 rounded-lg border transition-colors ${i?"border-[#7C3AED] bg-[#7C3AED]/5":"border-[#E8E8E4] bg-white hover:border-[#7C3AED]/30"}`,children:[(0,r.jsxs)("div",{className:"flex items-start justify-between",children:[(0,r.jsxs)("div",{className:"flex items-start gap-3",children:[(0,r.jsx)("div",{className:`w-8 h-8 rounded-md flex items-center justify-center flex-shrink-0 ${i?"bg-[#7C3AED]":"bg-[#7C3AED]/10"}`,children:(0,r.jsx)(t,{size:15,className:i?"text-white":"text-[#7C3AED]"})}),(0,r.jsxs)("div",{children:[(0,r.jsxs)("div",{className:"flex items-center gap-2",children:[(0,r.jsx)("span",{className:"text-sm font-medium text-[#2C2C2A]",children:e.name}),e.badge&&(0,r.jsx)(u.E,{variant:"default",size:"sm",children:e.badge})]}),(0,r.jsx)("p",{className:"text-xs text-[#9B9B97] mt-0.5",children:"pay_per_cv"===e.id&&s?`Download this CV for ${s.company} as PDF and Word`:e.description})]})]}),(0,r.jsxs)("div",{className:"text-right flex-shrink-0 ml-3",children:[(0,r.jsx)("span",{className:"text-sm font-medium text-[#2C2C2A]",children:(0,f.S)(e.price,v)}),(0,r.jsxs)("span",{className:"text-xs text-[#9B9B97]",children:[" ",(0,f.S)(e.period,v)]})]})]}),i&&(0,r.jsx)("ul",{className:"mt-3 space-y-1.5 pl-11",children:e.features.map(e=>(0,r.jsxs)("li",{className:"flex items-center gap-2 text-xs text-[#2C2C2A]",children:[(0,r.jsx)(d.A,{size:11,className:"text-[#1D9E75] flex-shrink-0"}),(0,f.S)(e,v)]},e))})]},e.id)})}),(0,r.jsxs)("div",{className:"px-5 pb-5",children:[y&&(0,r.jsx)("p",{className:"text-xs text-red-600 mb-3",children:y}),(0,r.jsx)(x.$,{variant:"default",className:"w-full flex items-center gap-2",onClick:E,disabled:o,children:o?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(c.A,{size:14,className:"animate-spin"}),"Redirecting…"]}):(0,r.jsxs)(r.Fragment,{children:["Continue with ",p.find(e=>e.id===a)?.name,(0,r.jsx)("span",{className:"opacity-70",children:"→"})]})}),(0,r.jsx)("p",{className:"text-xs text-[#9B9B97] text-center mt-2",children:"Secure payment via Stripe \xb7 Cancel anytime"})]})]})})}},19757:(e,t,s)=>{s.d(t,{A:()=>r});let r=(0,s(43224).A)("x",[["path",{d:"M18 6 6 18",key:"1bl5f8"}
1],["path",{d:"m6 6 12 12",key:"d8bk6v"}]])},45040:(e,t,s)=>{s.d(t,{$:()=>o});var r=s(56397);s(47929);var i=s(4937);let a={default:"bg-[#7C3AED] text-white hover:bg-[#6D28D9] focus-visible:ring-2 focus-visible:ring-[#7C3AED] focus-visible:ring-offset-2",ai:"bg-[#1D9E75] text-white hover:bg-[#059669] focus-visible:ring-2 focus-visible:ring-[#1D9E75] focus-visible:ring-offset-2",outline:"border border-[#E5E7EB] bg-white text-[#111827] hover:bg-[#F8F7FF] hover:border-[#7C3AED]/40 focus-visible:ring-2 focus-visible:ring-[#7C3AED] focus-visible:ring-offset-2",ghost:"text-[#111827] hover:bg-[#F3F4F6] focus-visible:ring-2 focus-visible:ring-[#7C3AED] focus-visible:ring-offset-2",destructive:"bg-red-600 text-white hover:bg-red-700 focus-visible:ring-2 focus-visible:ring-red-600 focus-visible:ring-offset-2"},n={sm:"h-8 px-3 text-sm rounded-lg",md:"h-10 px-4 text-sm rounded-lg",lg:"h-12 px-6 text-base rounded-xl"};function o({variant:e="default",size:t="md",className:s,children:l,disabled:d,...c}){return(0,r.jsx)("button",{className:(0,i.A)("inline-flex items-center justify-center font-semibold transition-all duration-150","disabled:opacity-50 disabled:cursor-not-allowed","focus-visible:outline-none","active:scale-[0.97]",a[e],n[t],s),disabled:d,...c,children:l})}},45169:(e,t,s)=>{s.d(t,{A:()=>r});let r=(0,s(43224).A)("star",[["path",{d:"M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z",key:"r04s7s"}]])},55547:(e,t,s)=>{s.d(t,{A:()=>r});let r=(0,s(43224).A)("calendar",[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}]])},72140:(e,t,s)=>{s.d(t,{A:()=>r});let r=(0,s(43224).A)("zap",[["path",{d:"M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z",key:"1xq2db"}]])},85041:(e,t,s)=>{s.d(t,{J:()=>i});var r=s(80981);let i=(0,r.createServerReference)("40c4a87cc2672078cbd7b540636718c76568bcfe1b",r.callServer,void 0,r.findSourceMapURL,"createCheckout")},88017:(e,t,s)=>{s.d(t,{E:()=>o});var r=s(56397);s(47929);var i=s(4937);let a={default:"bg-[#7C3AED]/10 text-[#7C3AED]",success:"bg-[#059669]/10 text-[#059669]",warning:"bg-amber-50 text-amber-700",error:"bg-red-50 text-red-600",ai:"bg-[#1D9E75]/10 text-[#1D9E75] border border-[#1D9E75]/25",outline:"border border-[#E5E7EB] text-[#6B7280] bg-transparent"},n={sm:"text-xs px-2 py-0.5 rounded-md",md:"text-xs px-2.5 py-1 rounded-lg"};function o({variant:e="default",size:t="md",children:s,className:l}){return(0,r.jsx)("span",{className:(0,i.A)("inline-flex items-center font-semibold",a[e],n[t],l),children:s})}}}]);

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.