1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,33525,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"warnOnce",{enumerable:!0,get:function(){return n}});let n=e=>{}},98183,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={assign:function(){return l},searchParamsToUrlQuery:function(){return a},urlQueryToSearchParams:function(){return i}};for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]});function a(e){let t={};for(let[r,n]of e.entries()){let e=t[r];void 0===e?t[r]=n:Array.isArray(e)?e.push(n):t[r]=[e,n]}return t}function s(e){return"string"==typeof e?e:("number"!=typeof e||isNaN(e))&&"boolean"!=typeof e?"":String(e)}function i(e){let t=new URLSearchParams;for(let[r,n]of Object.entries(e))if(Array.isArray(n))for(let e of n)t.append(r,s(e));else t.set(r,s(n));return t}function l(e,...t){for(let r of t){for(let t of r.keys())e.delete(t);for(let[t,n]of r.entries())e.append(t,n)}return e}},95057,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={formatUrl:function(){return i},formatWithValidation:function(){return c},urlObjectKeys:function(){return l}};for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]});let a=e.r(90809)._(e.r(98183)),s=/https?|ftp|gopher|file/;function i(e){let{auth:t,hostname:r}=e,n=e.protocol||"",o=e.pathname||"",i=e.hash||"",l=e.query||"",c=!1;t=t?encodeURIComponent(t).replace(/%3A/i,":")+"@":"",e.host?c=t+e.host:r&&(c=t+(~r.indexOf(":")?`[${r}]`:r),e.port&&(c+=":"+e.port)),l&&"object"==typeof l&&(l=String(a.urlQueryToSearchParams(l)));let d=e.search||l&&`?${l}`||"";return n&&!n.endsWith(":")&&(n+=":"),e.slashes||(!n||s.test(n))&&!1!==c?(c="//"+(c||""),o&&"/"!==o[0]&&(o="/"+o)):c||(c=""),i&&"#"!==i[0]&&(i="#"+i),d&&"?"!==d[0]&&(d="?"+d),o=o.replace(/[?#]/g,encodeURIComponent),d=d.replace("#","%23"),`${n}${c}${o}${d}${i}`}let l=["auth","hash","host","hostname","href","path","pathname","port","protocol","query","search","slashes"];function c(e){return i(e)}},18581,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"useMergedRef",{enumerable:!0,get:function(){return o}});let n=e.r(71645);function o(e,t){let r=(0,n.useRef)(null),o=(0,n.useRef)(null);return(0,n.useCallback)(n=>{if(null===n){let e=r.current;e&&(r.current=null,e());let t=o.current;t&&(o.current=null,t())}else e&&(r.current=a(e,n)),t&&(o.current=a(t,n))},[e,t])}function a(e,t){if("function"!=typeof e)return e.current=t,()=>{e.current=null};{let r=e(t);return"function"==typeof r?r:()=>e(null)}}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},18967,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={DecodeError:function(){return y},MiddlewareNotFoundError:function(){return v},MissingStaticPage:function(){return j},NormalizeError:function(){return g},PageNotFoundError:function(){return b},SP:function(){return m},ST:function(){return x},WEB_VITALS:function(){return a},execOnce:function(){return s},getDisplayName:function(){return f},getLocationOrigin:function(){return c},getURL:function(){return d},isAbsoluteUrl:function(){return l},isResSent:function(){return u},loadGetInitialProps:function(){return p},normalizeRepeatedSlashes:function(){return h},stringifyError:function(){return w}};for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]});let a=["CLS","FCP","FID","INP","LCP","TTFB"];function s(e){let t,r=!1;return(...n)=>(r||(r=!0,t=e(...n)),t)}let i=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/,l=e=>i.test(e);function c(){let{protocol:e,hostname:t,port:r}=window.location;return`${e}//${t}${r?":"+r:""}`}function d(){let{href:e}=window.location,t=c();return e.substring(t.length)}function f(e){return"string"==typeof e?e:e.displayName||e.name||"Unknown"}function u(e){return e.finished||e.headersSent}function h(e){let t=e.split("?");return t[0].replace(/\\/g,"/").replace(/\/\/+/g,"/")+(t[1]?`?${t.slice(1).join("?")}`:"")}async function p(e,t){let r=t.res||t.ctx&&t.ctx.res;if(!e.getInitialProps)return t.ctx&&t.Component?{pageProps:await p(t.Component,t.ctx)}:{};let n=await e.getInitialProps(t);if(r&&u(r))return n;if(!n)throw Object.defineProperty(Error(`"${f(e)}.getInitialProps()" should resolve to an object. But found "${n}
1" instead.`),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0});return n}let m="undefined"!=typeof performance,x=m&&["mark","measure","getEntriesByName"].every(e=>"function"==typeof performance[e]);class y extends Error{}class g extends Error{}class b extends Error{constructor(e){super(),this.code="ENOENT",this.name="PageNotFoundError",this.message=`Cannot find module for page: ${e}`}}class j extends Error{constructor(e,t){super(),this.message=`Failed to load static file for page: ${e} ${t}`}}class v extends Error{constructor(){super(),this.code="ENOENT",this.message="Cannot find the middleware module"}}function w(e){return JSON.stringify({message:e.message,stack:e.stack})}},73668,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"isLocalURL",{enumerable:!0,get:function(){return a}});let n=e.r(18967),o=e.r(52817);function a(e){if(!(0,n.isAbsoluteUrl)(e))return!0;try{let t=(0,n.getLocationOrigin)(),r=new URL(e,t);return r.origin===t&&(0,o.hasBasePath)(r.pathname)}catch(e){return!1}}},84508,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"errorOnce",{enumerable:!0,get:function(){return n}});let n=e=>{}},22016,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={default:function(){return y},useLinkStatus:function(){return b}};for(var o in n)Object.defineProperty(r,o,{enumerable:!0,get:n[o]});let a=e.r(90809),s=e.r(43476),i=a._(e.r(71645)),l=e.r(95057),c=e.r(8372),d=e.r(18581),f=e.r(18967),u=e.r(5550);e.r(33525);let h=e.r(91949),p=e.r(73668),m=e.r(9396);function x(e){return"string"==typeof e?e:(0,l.formatUrl)(e)}function y(t){var r;let n,o,a,[l,y]=(0,i.useOptimistic)(h.IDLE_LINK_STATUS),b=(0,i.useRef)(null),{href:j,as:v,children:w,prefetch:N=null,passHref:C,replace:P,shallow:_,scroll:T,onClick:O,onMouseEnter:E,onTouchStart:S,legacyBehavior:k=!1,onNavigate:A,ref:R,unstable_dynamicOnHover:L,...M}=t;n=w,k&&("string"==typeof n||"number"==typeof n)&&(n=(0,s.jsx)("a",{children:n}));let F=i.default.useContext(c.AppRouterContext),I=!1!==N,G=!1!==N?null===(r=N)||"auto"===r?m.FetchStrategy.PPR:m.FetchStrategy.Full:m.FetchStrategy.PPR,{href:U,as:H}=i.default.useMemo(()=>{let e=x(j);return{href:e,as:v?x(v):e}},[j,v]);if(k){if(n?.$$typeof===Symbol.for("react.lazy"))throw Object.defineProperty(Error("`<Link legacyBehavior>` received a direct child that is either a Server Component, or JSX that was loaded with React.lazy(). This is not supported. Either remove legacyBehavior, or make the direct child a Client Component that renders the Link's `<a>` tag."),"__NEXT_ERROR_CODE",{value:"E863",enumerable:!1,configurable:!0});o=i.default.Children.only(n)}let $=k?o&&"object"==typeof o&&o.ref:R,B=i.default.useCallback(e=>(null!==F&&(b.current=(0,h.mountLinkInstance)(e,U,F,G,I,y)),()=>{b.current&&((0,h.unmountLinkForCurrentNavigation)(b.current),b.current=null),(0,h.unmountPrefetchableInstance)(e)}),[I,U,F,G,y]),z={ref:(0,d.useMergedRef)(B,$),onClick(t){k||"function"!=typeof O||O(t),k&&o.props&&"function"==typeof o.props.onClick&&o.props.onClick(t),!F||t.defaultPrevented||function(t,r,n,o,a,s,l){if("undefined"!=typeof window){let c,{nodeName:d}=t.currentTarget;if("A"===d.toUpperCase()&&((c=t.currentTarget.getAttribute("target"))&&"_self"!==c||t.metaKey||t.ctrlKey||t.shiftKey||t.altKey||t.nativeEvent&&2===t.nativeEvent.which)||t.currentTarget.hasAttribute("download"))return;if(!(0,p.isLocalURL)(r)){a&&(t.preventDefault(),location.replace(r));return}if(t.preventDefault(),l){let e=!1;if(l({preventDefault:()=>{e=!0}}),e)return}let{dispatchNavigateAction:f}=e.r(99781);i.default.startTransition(()=>{f(n||r,a?"replace":"push",s??!0,o.current)})}}(t,U,H,b,P,T,A)},onMouseEnter(e){k||"function"!=typeof E||E(e),k&&o.props&&"function"==typeof o.props.onMouseEnter&&o.props.onMouseEnter(e),F&&I&&(0,h.onNavigationIntent)(e.currentTarget,!0===L)},onTouchStart:function(e){k||"function"!=typeof S||S(e),k&&o.props&&"function"==typeof o.props.onTouchStart&&o.props.onTouchStart(e),F&&I&&(0,h.onNavigationIntent)(e.currentTarget,!0===L)}};return(0,f.isAbsoluteUrl)(H)?z.href=H:k&&!C&&("a"!==o.type||"href"in o.props)||(z.href=(0,u.addBasePath)(H)),a=k?i.default.cloneElement(o,z):(0,s.jsx)("a",{...M,...z,children:n}),(0,s.jsx)(g.Provider,{value:l,children:a})}e.r(84508);let g=(0,i.createContext)(h.IDLE_LINK_STATUS),b=()=>(0,i.useContext)(g);("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esMo
1dule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},28129,e=>{"use strict";var t=e.i(43476),r=e.i(22016),n=e.i(46932),o=e.i(68127),a=e.i(53810);function s({hideCta:e=!1}){let s=new Date().getFullYear(),i={hidden:{opacity:0,y:20},visible:{opacity:1,y:0,transition:{duration:.5,ease:[.22,1,.36,1]}}},l=[{name:"Twitter",href:"https://x.com/CreditTally_io",icon:(0,t.jsx)("svg",{className:"w-5 h-5",fill:"currentColor",viewBox:"0 0 24 24",children:(0,t.jsx)("path",{d:"M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z"})})},{name:"YouTube",href:"https://www.youtube.com/@CreditTally",icon:(0,t.jsx)("svg",{className:"w-5 h-5",fill:"currentColor",viewBox:"0 0 24 24",children:(0,t.jsx)("path",{d:"M23.498 6.186a3.016 3.016 0 0 0-2.122-2.136C19.505 3.545 12 3.545 12 3.545s-7.505 0-9.377.505A3.017 3.017 0 0 0 .502 6.186C0 8.07 0 12 0 12s0 3.93.502 5.814a3.016 3.016 0 0 0 2.122 2.136c1.871.505 9.376.505 9.376.505s7.505 0 9.377-.505a3.015 3.015 0 0 0 2.122-2.136C24 15.93 24 12 24 12s0-3.93-.502-5.814zM9.545 15.568V8.432L15.818 12l-6.273 3.568z"})})}];return(0,t.jsx)(n.motion.footer,{initial:"hidden",whileInView:"visible",viewport:{once:!0,margin:"-50px"},variants:{hidden:{opacity:0},visible:{opacity:1,transition:{staggerChildren:.08,delayChildren:.1}}},className:"mt-auto px-4 md:px-6 pb-6",children:(0,t.jsxs)("div",{className:"bg-[#faf9f7] rounded-3xl shadow-sm border border-[#e7e5e4] overflow-hidden",children:[!e&&(0,t.jsx)(n.motion.div,{variants:i,className:"bg-[#1c1917]",children:(0,t.jsx)("div",{className:"px-8 md:px-12 py-12 md:py-14",children:(0,t.jsxs)("div",{className:"flex flex-col lg:flex-row items-center justify-between gap-8",children:[(0,t.jsxs)("div",{className:"text-center lg:text-left",children:[(0,t.jsx)("h3",{className:"text-2xl md:text-3xl font-semibold text-[#faf9f7] mb-2",style:{fontFamily:"Fraunces, serif"},children:"Ready to maximize your rewards?"}),(0,t.jsx)("p",{className:"text-base text-[#a8a29e] max-w-xl",children:"Join a community of smart spenders earning more on every purchase."})]}),(0,t.jsxs)("div",{className:"flex flex-col sm:flex-row gap-3",children:[(0,t.jsx)(n.motion.button,{whileHover:{scale:1.02},whileTap:{scale:.98},className:"px-6 py-3 bg-[#e8690a] text-white font-semibold rounded-full hover:bg-[#d65f09] transition-colors text-sm",children:"Get Started For Free"}),(0,t.jsxs)(n.motion.a,{href:a.CHROME_STORE_URL,target:"_blank",rel:"noopener noreferrer",whileHover:{scale:1.02},whileTap:{scale:.98},className:"inline-flex items-center justify-center gap-2 px-6 py-3 bg-transparent text-[#faf9f7] font-semibold rounded-full border border-[#57534e] hover:border-[#78716c] transition-colors text-sm",children:[(0,t.jsx)(o.SiGooglechrome,{className:"w-5 h-5"}),"Add to Chrome"]}),(0,t.jsxs)(n.motion.a,{href:a.MAC_APP_STORE_URL,target:"_blank",rel:"noopener noreferrer",whileHover:{scale:1.02},whileTap:{scale:.98},className:"inline-flex items-center justify-center gap-2 px-6 py-3 bg-transparent text-[#faf9f7] font-semibold rounded-full border border-[#57534e] hover:border-[#78716c] transition-colors text-sm",children:[(0,t.jsx)(o.SiApple,{className:"w-5 h-5"}),"Mac App Store"]})]})]})})}),(0,t.jsxs)("div",{className:"px-8 md:px-12 py-10 md:py-12",children:[(0,t.jsxs)("div",{className:"grid grid-cols-2 md:grid-cols-5 gap-8 lg:gap-10",children:[(0,t.jsxs)(n.motion.div,{variants:i,className:"col-span-2 md:col-span-2",children:[(0,t.jsxs)("div",{className:"flex items-center gap-3 mb-6",children:[(0,t.jsx)(n.motion.div,{whileHover:{scale:1.05,rotate:-3},transition:{type:"spring",stiffness:400,damping:17},children:(0,t.jsxs)("svg",{viewBox:"0 0 128 128",className:"w-10 h-10",children:[(0,t.jsxs)("defs",{children:[(0,t.jsxs)("linearGradient",{id:"footerCardGrad1",x1:"0%",y1:"0%",x2:"100%",y2:"100%",children:[(0,t.jsx)("stop",{offset:"0%",stopColor:"#e7e5e4"}),(0,t.jsx)("stop",{offset:"100%",stopColor:"#d6d3d1"})]}),(0,t.jsxs)("linearGradient",{id:"footerCardGrad2",x1:"0%",y1:"0%",x2:"100%",y2:"100%",children:[(0,t.jsx)("stop",{offset:"0%",stopColor:"#a8a29e"}),(0,t.jsx)("stop",{offset:"100%",stopColor:"#78716c"})]}),(0,t.jsxs)("linearGradient",{id:"footerCardGrad3",x1:"0%",y1:"0%",x2:"100%",y2:"100%",children:[(0,t.jsx)("stop",{offset:"0%",stopColor:"#44403c"}),(0,t.jsx)("stop",{offset:"100%",stopColor:"#292524"})]})]}),(0,t.jsxs)("g",{transform:"translate(56, 66)",children:[(0,t.jsx)("rect",{x:"-30",y:"-19",width:"60",height:"38",rx:"6",ry:"6",fill:"url(#footerCardGrad1)",transform:"rotate(-7)"}),(0,t.jsx)("rect",{x:"-30",y:"-19",width:"60",height:"38",rx:"6",ry:"6",fill:"url(#footerCardGrad2)",transform:"translate(3, -6) rotate(-1)"}),(0,t.jsx)("rect",{x:"-30",y:"-19",width:"60",height:"38",rx:"6",ry:"6",fill:"url(#footerCardGrad3)",transform:"translate(7, -13) rotate(3)"}),(0,t.jsx)("rect",{x:"-17",y:"-24",width:"10",height:"7",rx:"2",ry:"2",fill:"#e8690a",transform:"rotate(3)"})]})]})}),(0,t.jsx)("span",{className:"text-2xl font-semibold text-[#1c1917] tracking-tight",style:{fontFamily:"Fraunces, serif"},children:"CreditTally"})]}),(0,t.jsx)("p",{className:"text-sm text-[#78716c] leading-relaxed mb-6 max-w-xs",children:"Know which card to reach for, every time you shop."}),(0,t.jsx)("div",{className:"flex items-center gap-3",children:l.map(e=>(0,t.jsx)(n.motion.a,{href:e.href,whileHover:{scale:1.1,y:-2},whileTap:{scale:.95},className:"w-10 h-10 rounded-full bg-[#f5f5f4] flex items-center justify-center text-[#78716c] hover:text-[#1c1917] hover:bg-[#e7e5e4] transition-colors","aria-label":e.name,children:e.icon},e.name))})]}),Object.entries({Product:[{name:"Features",href:"/#features"},{name:"Supported Cards",href:"/#cards"},{name:"Browser Extension",href:"#"}],Resources:[{name:"Blog",href:"/blog"},{name:"FAQ",href:"/faq"},{name:"Contact",href:"/contact"}],Legal:[{name:"Privacy Policy",href:"/privacy"},{name:"Terms of Service",href:"/terms"},{name:"Cookie Policy",href:"/cookies"}]}).map(([e,o])=>(0,t.jsxs)(n.motion.div,{variants:i,className:"col-span-1",children:[(0,t.jsx)("h4",{className:"text-sm font-semibold text-[#1c1917] mb-4 uppercase tracking-wider",children:e}),(0,t.jsx)("ul",{className:"space-y-3",children:o.map(e=>(0,t.jsx)("li",{children:e.href.includes("#")?(0,t.jsx)("a",{href:e.href,className:"text-sm text-[#78716c] hover:text-[#1c1917] transition-colors",children:e.name}):(0,t.jsx)(r.default,{href:e.href,className:"text-sm text-[#78716c] hover:text-[#1c1917] transition-colors",children:e.name})},e.name))})]},e))]}),(0,t.jsx)(n.motion.div,{variants:i,className:"mt-12 pt-8 border-t border-[#e7e5e4]",children:(0,t.jsxs)("div",{className:"flex flex-col md:flex-row items-center justify-between gap-4",children:[(0,t.jsxs)("p",{className:"text-sm text-[#a8a29e]",children:["© ",s," CreditTally. All rights reserved."]}),(0,t.jsx)("a",{href:"#",className:"termly-display-preferences text-sm text-[#78716c] hover:text-[#1c1917] transition-colors",children:"Consent Preferences"})]})})]})]})})}e.s(["default",()=>s])},63604,e=>{"use strict";var t=e.i(43476),r=e.i(22016),n=e.i(46932),o=e.i(88653),a=e.i(71645),s=e.i(26732);let i=[{label:"How It Works",href:"/#how-it-works"},{label:"Features",href:"/#features"},{label:"Supported Cards",href:"/#cards"}],l=()=>(0,t.jsxs)("svg",{viewBox:"0 0 128 128",className:"w-10 h-10 drop-shadow-sm",children:[(0,t.jsxs)("defs",{children:[(0,t.jsxs)("linearGradient",{id:"pubHdrGrad1",x1:"0%",y1:"0%",x2:"100%",y2:"100%",children:[(0,t.jsx)("stop",{offset:"0%",stopColor:"#e7e5e4"}),(0,t.jsx)("stop",{offset:"100%",stopColor:"#d6d3d1"})]}),(0,t.jsxs)("linearGradient",{id:"pubHdrGrad2",x1:"0%",y1:"0%",x2:"100%",y2:"100%",children:[(0,t.jsx)("stop",{offset:"0%",stopColor:"#a8a29e"}),(0,t.jsx)("stop",{offset:"100%",stopColor:"#78716c"})]}),(0,t.jsxs)("linearGradient",{id:"pubHdrGrad3",x1:"0%",y1:"0%",x2:"100%",y2:"100%",children:[(0,t.jsx)("stop",{offset:"0%",stopColor:"#44403c"}),(0,t.jsx)("stop",{offset:"100%",stopColor:"#292524"})]})]}),(0,t.jsxs)("g",{transform:"translate(56, 66)",children:[(0,t.jsx)("rect",{x:"-30",y:"-19",width:"60",height:"38",rx:"6",ry:"6",fill:"url(#pubHdrGrad1)",transform:"rotate(-7)"}),(0,t.jsx)("rect",{x:"-30",y:"-19",width:"60",height:"38",rx:"6",ry:"6",fill:"url(#pubHdrGrad2)",transform:"translate(3, -6) rotate(-1)"}),(0,t.jsx)("rect",{x:"-30",y:"-19",width:"60",height:"38",rx:"6",ry:"6",fill:"url(#pubHdrGrad3)",transform:"translate(7, -13) rotate(3)"}),(0,t.jsx)("rect",{x:"-17",y:"-24",width:"10",height:"7",rx:"2",ry:"2",fill:"#e8690a",transform:"rotate(3)"})]})]});function c(){let{data:e}
1=(0,s.useSession)(),c=!!e?.user,[d,f]=(0,a.useState)(null),[u,h]=(0,a.useState)(!1);return(0,t.jsx)(n.motion.header,{initial:{y:-100,opacity:0},animate:{y:0,opacity:1},transition:{duration:.6,ease:[.22,1,.36,1]},className:"fixed top-0 left-0 right-0 z-50 px-6 py-4",children:(0,t.jsxs)("div",{className:"mx-auto max-w-7xl",children:[(0,t.jsxs)(n.motion.nav,{className:"flex items-center justify-between px-6 py-3 rounded-2xl bg-white/70 backdrop-blur-xl border border-white/20 shadow-[0_8px_32px_rgba(0,0,0,0.08)]",initial:{scale:.95},animate:{scale:1},transition:{duration:.5,delay:.1,ease:[.22,1,.36,1]},children:[(0,t.jsxs)(r.default,{href:"/",className:"flex items-center gap-3 group",children:[(0,t.jsx)(n.motion.div,{whileHover:{rotate:-5},whileTap:{scale:.95},transition:{type:"spring",stiffness:400,damping:17},children:(0,t.jsx)(l,{})}),(0,t.jsx)("span",{className:"text-xl font-semibold text-[#292524] tracking-tight",style:{fontFamily:"Fraunces, serif"},children:"CreditTally"})]}),(0,t.jsx)("div",{className:"hidden lg:block absolute left-1/2 -translate-x-1/2",children:(0,t.jsx)(n.motion.div,{initial:{opacity:0,y:-10},animate:{opacity:1,y:0},transition:{duration:.4,delay:.2},className:"flex items-center gap-1 p-1.5 rounded-full bg-[#f5f5f4]/80",children:i.map(e=>(0,t.jsxs)(r.default,{href:e.href,onMouseEnter:()=>f(e.href),onMouseLeave:()=>f(null),className:"relative px-4 py-2 text-sm font-medium transition-colors",children:[(0,t.jsx)(o.AnimatePresence,{children:d===e.href&&(0,t.jsx)(n.motion.div,{layoutId:"pubNavPill",className:"absolute inset-0 rounded-full bg-white/50",initial:{opacity:0}
1,animate:{opacity:1},exit:{opacity:0},transition:{type:"spring",stiffness:400,damping:30}})}),(0,t.jsx)("span",{className:"relative z-10 text-[#78716c] hover:text-[#44403c] transition-colors duration-200",children:e.label})]},e.href))})}),(0,t.jsxs)("div",{className:"flex items-center gap-3",children:[c?(0,t.jsx)(n.motion.div,{whileHover:{scale:1.02},whileTap:{scale:.98},className:"hidden lg:block",children:(0,t.jsx)(r.default,{href:"/cards",className:"px-5 py-2.5 text-sm font-medium text-white rounded-full bg-linear-to-r from-[#e8690a] to-[#f59e0b] hover:shadow-lg hover:shadow-[#e8690a]/25 transition-shadow",children:"My Account"})}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(r.default,{href:"/auth/login",className:"hidden lg:inline-block px-4 py-2 text-sm font-medium text-[#44403c] hover:text-[#292524] transition-colors",children:"Log In"}),(0,t.jsx)(n.motion.div,{whileHover:{scale:1.02},whileTap:{scale:.98},className:"hidden lg:block",children:(0,t.jsx)(r.default,{href:"/auth/register",className:"px-5 py-2.5 text-sm font-medium text-white rounded-full bg-linear-to-r from-[#e8690a] to-[#f59e0b] hover:shadow-lg hover:shadow-[#e8690a]/25 transition-shadow",children:"Create Account"})})]}),(0,t.jsxs)("button",{onClick:()=>h(e=>!e),className:"lg:hidden w-9 h-9 flex flex-col items-center justify-center gap-1.5 rounded-xl hover:bg-[#f5f5f4] transition-colors","aria-label":"Toggle menu",children:[(0,t.jsx)(n.motion.span,{animate:u?{rotate:45,y:6}:{rotate:0,y:0},transition:{duration:.2},className:"block w-5 h-0.5 bg-[#292524] rounded-full"}),(0,t.jsx)(n.motion.span,{animate:u?{opacity:0}:{opacity:1},transition:{duration:.15},className:"block w-5 h-0.5 bg-[#292524] rounded-full"}),(0,t.jsx)(n.motion.span,{animate:u?{rotate:-45,y:-6}:{rotate:0,y:0},transition:{duration:.2},className:"block w-5 h-0.5 bg-[#292524] rounded-full"})]})]})]}),(0,t.jsx)(o.AnimatePresence,{children:u&&(0,t.jsxs)(n.motion.div,{initial:{opacity:0,y:-8},animate:{opacity:1,y:0},exit:{opacity:0,y:-8},transition:{duration:.2},className:"lg:hidden mt-2 rounded-2xl bg-white/90 backdrop-blur-xl border border-white/20 shadow-[0_8px_32px_rgba(0,0,0,0.08)] px-4 py-4 flex flex-col gap-1",children:[i.map(e=>(0,t.jsx)(r.default,{href:e.href,onClick:()=>h(!1),className:"px-4 py-3 rounded-xl text-sm font-medium text-[#44403c] hover:bg-[#f5f5f4] transition-colors",children:e.label},e.href)),(0,t.jsx)("div",{className:"border-t border-[#e7e5e4] mt-2 pt-3 flex flex-col gap-2",children:c?(0,t.jsx)(r.default,{href:"/cards",onClick:()=>h(!1),className:"px-4 py-3 rounded-xl text-sm font-semibold text-white text-center bg-linear-to-r from-[#e8690a] to-[#f59e0b]",children:"My Account"}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(r.default,{href:"/auth/login",onClick:()=>h(!1),className:"px-4 py-3 rounded-xl text-sm font-medium text-[#44403c] hover:bg-[#f5f5f4] transition-colors",children:"Log In"}),(0,t.jsx)(r.default,{href:"/auth/register",onClick:()=>h(!1),className:"px-4 py-3 rounded-xl text-sm font-semibold text-white text-center bg-linear-to-r from-[#e8690a] to-[#f59e0b]",children:"Create Account"})]})})]})})]})})}e.s(["default",()=>c])}]);
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.