1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8450],{1257:(e,t,s)=>{"use strict";s.d(t,{ErrorBoundary:()=>i});var n=s(56397),a=s(47929);class i extends a.Component{static getDerivedStateFromError(){return{hasError:!0}}render(){return this.state.hasError?this.props.fallback??(0,n.jsxs)("div",{className:"flex flex-col items-center justify-center py-24 text-center px-4",children:[(0,n.jsx)("p",{className:"text-sm font-medium text-[#2C2C2A] mb-4",children:"Algo sali\xf3 mal."}),(0,n.jsx)("button",{onClick:()=>window.location.reload(),className:"px-4 py-2 bg-[#7C3AED] text-white text-sm rounded-xl hover:bg-[#6D28D9] transition-colors",children:"Reintentar"})]}):this.props.children}constructor(...e){super(...e),this.state={hasError:!1}}}},4511:(e,t,s)=>{"use strict";s.d(t,{A:()=>n});let n=(0,s(43224).A)("circle-check-big",[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]])},7068:(e,t,s)=>{"use strict";s.d(t,{A:()=>n});let n=(0,s(43224).A)("circle-alert",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]])},7525:(e,t,s)=>{"use strict";s.d(t,{CurrencyProvider:()=>r,H:()=>l,S:()=>o});var n=s(56397),a=s(47929);let i=(0,a.createContext)("USD");function r({currency:e,children:t}){return(0,n.jsx)(i.Provider,{value:e,children:t})}function l(){return(0,a.useContext)(i)}function o(e,t){return"EUR"===t?e.replace("$","â¬"):e}},19757:(e,t,s)=>{"use strict";s.d(t,{A:()=>n});let n=(0,s(43224).A)("x",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]])},22870:e=>{e.exports={style:{fontFamily:"'Inter', 'Inter Fallback'",fontStyle:"normal"},className:"__className_fa2f99",variable:"__variable_fa2f99"}},28369:(e,t,s)=>{"use strict";s.d(t,{A:()=>n});let n=(0,s(43224).A)("info",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]])},33073:(e,t,s)=>{"use strict";s.d(t,{default:()=>i});var n=s(44728),a=s(56397);function i({locale:e,...t}){if(!e)throw Error(void 0);return(0,a.jsx)(n.Dk,{locale:e,...t})}},37885:e=>{e.exports={style:{fontFamily:"'DM Mono', 'DM Mono Fallback'",fontWeight:400,fontStyle:"normal"},className:"__className_47751c",variable:"__variable_47751c"}},51172:()=>{},54522:(e,t,s)=>{"use strict";s.d(t,{PostHogProvider:()=>d});var n=s(56397),a=s(1186),i=s(68538),r=s(47929),l=s(77503),o=s(69997);function c(){let e=o.env.NEXT_PUBLIC_POSTHOG_PROJECT_TOKEN;e&&!a.Ay.__loaded&&a.Ay.init(e,{api_host:o.env.NEXT_PUBLIC_POSTHOG_HOST??"https://us.i.posthog.com",person_profiles:"identified_only",capture_pageview:!0,capture_pageleave:!0,persistence:"memory",ip:!1})}function d({children:e}){return(0,r.useEffect)(()=>{function e(e){e.detail.analytics?c():a.Ay.opt_out_capturing()}return(0,l.h)().analytics&&c(),window.addEventListener("tailify:consent",e),()=>window.removeEventListener("tailify:consent",e)},[]),(0,n.jsx)(i.so,{client:a.Ay,children:e})}},77503:(e,t,s)=>{"use strict";s.d(t,{CookieConsentBanner:()=>d,h:()=>o});var n=s(56397),a=s(47929),i=s(4834),r=s.n(i);let l="tailify_cookie_consent";function o(){try{let e=localStorage.getItem(l);if(!e)return{analytics:!1,marketing:!1,decided:!1};return JSON.parse(e)}catch{return{analytics:!1,marketing:!1,decided:!1}}}function c(e){try{localStorage.setItem(l,JSON.stringify(e))}catch{}}function d(){let[e,t]=(0,a.useState)(!1),[s,i]=(0,a.useState)(!1),[l,d]=(0,a.useState)(!0),[x,m]=(0,a.useState)(!1);function u(e){let s={analytics:!!e||l,marketing:!!e||x,decided:!0};c(s),t(!1),window.dispatchEvent(new CustomEvent("tailify:consent",{detail:s}))}return((0,a.useEffect)(()=>{o().decided||t(!0)},[]),e)?(0,n.jsx)("div",{className:"fixed bottom-0 left-0 right-0 z-[9999] p-4 md:p-6",role:"dialog","aria-label":"Cookie consent","aria-modal":"false",children:(0,n.jsx)("div",{className:"max-w-2xl mx-auto md:mx-0 md:max-w-lg bg-white rounded-2xl shadow-2xl border border-[#E5E7EB] overflow-hidden",style:{boxShadow:"0 8px 40px rgba(0,0,0,0.12)"},children:(0,n.jsxs)("div",{className:"p-5",children:[(0,n.jsxs)("div",{className:"flex items-start justify-between gap-3 mb-3",children:[(0,n.jsx)("h2",{className:"text-sm font-bold text-[#111827]",children:"We use cookies"}),(0,n.jsx)("span",{className:"text-lg leading-none",children:"\uD83C\uDF6A"})]}),(0,n.jsxs)("p",{className:"text-xs text-[#6B7280] leading-relaxed mb-4",children:["We use essential cookies to run the service, and optional analytics cookies to understand how you use Tailify. We never sell your data."," ",(0,n.jsx)(r(),{href:"/legal/privacy",className:"text-[#7C3AED] hover:underline",children:"Privacy policy"}),"."]}
1),s&&(0,n.jsxs)("div",{className:"border border-[#E5E7EB] rounded-xl divide-y divide-[#F3F4F6] mb-4 text-xs",children:[(0,n.jsxs)("div",{className:"flex items-center justify-between px-4 py-3 gap-3",children:[(0,n.jsxs)("div",{children:[(0,n.jsx)("p",{className:"font-semibold text-[#374151]",children:"Essential"}),(0,n.jsx)("p",{className:"text-[#9CA3AF] mt-0.5",children:"Auth, CV generation, payments. Cannot be disabled."})]}),(0,n.jsx)("span",{className:"text-[10px] font-semibold text-[#059669] bg-[#D1FAE5] px-2 py-0.5 rounded-full flex-shrink-0",children:"Always on"})]}),(0,n.jsxs)("div",{className:"flex items-center justify-between px-4 py-3 gap-3",children:[(0,n.jsxs)("div",{children:[(0,n.jsx)("p",{className:"font-semibold text-[#374151]",children:"Analytics"}),(0,n.jsx)("p",{className:"text-[#9CA3AF] mt-0.5",children:"PostHog â helps us improve the product. No personal data sold."})]}),(0,n.jsx)("button",{onClick:()=>d(e=>!e),className:`flex-shrink-0 w-9 h-5 rounded-full transition-colors relative ${l?"bg-[#7C3AED]":"bg-[#E5E7EB]"}`,"aria-pressed":l,children:(0,n.jsx)("span",{className:`absolute top-0.5 w-4 h-4 rounded-full bg-white shadow transition-transform ${l?"translate-x-4":"translate-x-0.5"}`})})]}),(0,n.jsxs)("div",{className:"flex items-center justify-between px-4 py-3 gap-3",children:[(0,n.jsxs)("div",{children:[(0,n.jsx)("p",{className:"font-semibold text-[#374151]",children:"Marketing"}),(0,n.jsx)("p",{className:"text-[#9CA3AF] mt-0.5",children:"Product update emails and tips. You can unsubscribe anytime."})]}),(0,n.jsx)("button",{onClick:()=>m(e=>!e),className:`flex-shrink-0 w-9 h-5 rounded-full transition-colors relative ${x?"bg-[#7C3AED]":"bg-[#E5E7EB]"}`,"aria-pressed":x,children:(0,n.jsx)("span",{className:`absolute top-0.5 w-4 h-4 rounded-full bg-white shadow transition-transform ${x?"translate-x-4":"translate-x-0.5"}`})})]})]}),(0,n.jsxs)("div",{className:"flex flex-wrap items-center gap-2",children:[(0,n.jsx)("button",{onClick:()=>u(!0),className:"px-4 py-2 text-xs font-semibold text-white rounded-lg transition-all hover:opacity-90 flex-shrink-0",style:{background:"linear-gradient(135deg, #7C3AED, #4F46E5)"},children:"Accept all"}),s?(0,n.jsx)("button",{onClick:()=>u(!1),className:"px-4 py-2 text-xs font-semibold text-[#374151] bg-[#F3F4F6] hover:bg-[#E5E7EB] rounded-lg transition-colors flex-shrink-0",children:"Save preferences"}):(0,n.jsx)("button",{onClick:()=>i(!0),className:"px-4 py-2 text-xs font-semibold text-[#374151] bg-[#F3F4F6] hover:bg-[#E5E7EB] rounded-lg transition-colors flex-shrink-0",children:"Manage preferences"}),(0,n.jsx)("button",{onClick:function(){let e={analytics:!1,marketing:!1,decided:!0};c(e),t(!1),window.dispatchEvent(new CustomEvent("tailify:consent",{detail:e}))},className:"px-4 py-2 text-xs font-medium text-[#9CA3AF] hover:text-[#6B7280] transition-colors flex-shrink-0",children:"Reject optional"})]})]})})}):null}},90278:(e,t,s)=>{Promise.resolve().then(s.t.bind(s,51172,23)),Promise.resolve().then(s.bind(s,77503)),Promise.resolve().then(s.bind(s,7525)),Promise.resolve().then(s.bind(s,1257)),Promise.resolve().then(s.bind(s,54522)),Promise.resolve().then(s.bind(s,92530)),Promise.resolve().then(s.bind(s,99249)),Promise.resolve().then(s.bind(s,33073)),Promise.resolve().then(s.t.bind(s,95446,23)),Promise.resolve().then(s.t.bind(s,37885,23)),Promise.resolve().then(s.t.bind(s,22870,23)),Promise.resolve().then(s.t.bind(s,97663,23))},92530:(e,t,s)=>{"use strict";s.d(t,{StaleDeploymentHandler:()=>a});var n=s(47929);function a(){return(0,n.useEffect)(()=>{let e=window.fetch;return window.fetch=async function(...t){let[,s]=t,n=s?.headers,a=!1;n instanceof Headers?a=n.has("Next-Action"):n&&"object"==typeof n&&(a="Next-Action"in n||"next-action"in n);let i=await e(...t);return a&&404===i.status&&window.location.reload(),i},()=>{window.fetch=e}},[]),null}},95446:e=>{e.exports={style:{fontFamily:"'DM Sans', 'DM Sans Fallback'"},className:"__className_c99d8a",variable:"__variable_c99d8a"}},97663:e=>{e.exports={style:{fontFamily:"'EB Garamond', 'EB Garamond Fallback'"},className:"__className_a2d94e",variable:"__variable_a2d94e"}},99249:(e,t,s)=>{"use strict";s.d(t,{$:()=>c,ToastProvider:()=>m});var n=s(56397),a=s(47929),i=s(4511),r=s(7068),l=s(28369),o=s(19757);let c=(0,a.createContext)({toast:()=>{}}),d={success:(0,n.jsx)(i.A,{size:15,className:"text-[#1D9E75] flex-shrink-0"}),error:(0,n.jsx)(r.A,{size:15,className:"text-red-500 flex-shrink-0"}),info:(0,n.jsx)(l.A,{size:15,className:"text-[#7C3AED] flex-shrink-0"})},x={success:"border-[#1D9E75]/20",error:"border-red-200",info:"border-[#7C3AED]/20"};function m({children:e}){let[t,s]=(0,a.useState)([]),i=(0,a.useCallback)((e,t="info")=>{let n=Math.random().toString(36).slice(2);s(s=>[...s,{id:n,message:e,variant:t}]),setTimeout(()=>{s(e=>e.filter(e=>e.id!==n))},4e3)},[]);return(0,n.jsxs)(c.Provider,{value:{toast:i},children:[e,(0,n.jsx)("div",{className:"fixed bottom-4 right-4 z-50 flex flex-col gap-2 pointer-events-none",children:t.map(e=>(0,n.jsxs)("div",{className:`pointer-events-auto flex items-start gap-2.5 bg-white border ${x[e.variant]} rounded-lg shadow-md px-3.5 py-3 min-w-[280px] max-w-sm animate-in slide-in-from-bottom-2 fade-in duration-200`,children:[d[e.variant],(0,n.jsx)("p",{className:"text-sm text-[#2C2C2A] flex-1 leading-snug",children:e.message}),(0,n.jsx)("button",{onClick:()=>{var t;return t=e.id,void s(e=>e.filter(e=>e.id!==t))},"aria-label":"Dismiss",className:"text-[#9B9B97] hover:text-[#2C2C2A] transition-colors mt-0.5",children:(0,n.jsx)(o.A,{size:13})})]},e.id))})]})}}},e=>{e.O(0,[745,2371,6616,4834,4728,7861,9153,9090,7358],()=>e(e.s=90278)),_N_E=e.O()}]);
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.