PageSourceSearch

https://thegiddylist.com/_next/static/chunks/fc30911c214cb634.js

js thegiddylist.com collected 2026-10-02 01:45:57 UTC 28,534 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,18566,(e,t,s)=>{t.exports=e.r(76562)},61805,e=>{"use strict";var t=e.i(43476);function s({size:e="sm",className:s=""}){return(0,t.jsxs)("span",{className:`inline-flex items-center gap-0.5 rounded-full bg-gradient-to-r from-gold-light to-gold font-semibold text-foreground ${{sm:"px-1.5 py-0.5 text-[10px]",md:"px-2 py-1 text-xs"}[e]} ${s}`,children:[(0,t.jsxs)("svg",{className:"sm"===e?"w-2.5 h-2.5":"w-3 h-3",fill:"currentColor",viewBox:"0 0 20 20",children:[(0,t.jsx)("path",{d:"M8.433 7.418c.155-.103.346-.196.567-.267v1.698a2.305 2.305 0 01-.567-.267C8.07 8.34 8 8.114 8 8c0-.114.07-.34.433-.582zM11 12.849v-1.698c.22.071.412.164.567.267.364.243.433.468.433.582 0 .114-.07.34-.433.582a2.305 2.305 0 01-.567.267z"}),(0,t.jsx)("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm1-13a1 1 0 10-2 0v.092a4.535 4.535 0 00-1.676.662C6.602 6.234 6 7.009 6 8c0 .99.602 1.765 1.324 2.246.48.32 1.054.545 1.676.662v1.941c-.391-.127-.68-.317-.843-.504a1 1 0 10-1.51 1.31c.562.649 1.413 1.076 2.353 1.253V15a1 1 0 102 0v-.092a4.535 4.535 0 001.676-.662C13.398 13.766 14 12.991 14 12c0-.99-.602-1.765-1.324-2.246A4.535 4.535 0 0011 9.092V7.151c.391.127.68.317.843.504a1 1 0 101.511-1.31c-.563-.649-1.413-1.076-2.354-1.253V5z",clipRule:"evenodd"})]}),"$"]})}e.s(["default",()=>s])},16015,(e,t,s)=>{},98547,(e,t,s)=>{var r=e.i(47167);e.r(16015);var n=e.r(71645),i=n&&"object"==typeof n&&"default"in n?n:{default:n},o=void 0!==r.default&&r.default.env&&!0,a=function(e){return"[object String]"===Object.prototype.toString.call(e)},l=function(){function e(e){var t=void 0===e?{}:e,s=t.name,r=void 0===s?"stylesheet":s,n=t.optimizeForSpeed,i=void 0===n?o:n;d(a(r),"`name` must be a string"),this._name=r,this._deletedRulePlaceholder="#"+r+"-deleted-rule____{}",d("boolean"==typeof i,"`optimizeForSpeed` must be a boolean"),this._optimizeForSpeed=i,this._serverSheet=void 0,this._tags=[],this._injected=!1,this._rulesCount=0;var l="u">typeof window&&document.querySelector('meta[property="csp-nonce"]');this._nonce=l?l.getAttribute("content"):null}var t,s=e.prototype;return s.setOptimizeForSpeed=function(e){d("boolean"==typeof e,"`setOptimizeForSpeed` accepts a boolean"),d(0===this._rulesCount,"optimizeForSpeed cannot be when rules have already been inserted"),this.flush(),this._optimizeForSpeed=e,this.inject()},s.isOptimizeForSpeed=function(){return this._optimizeForSpeed},s.inject=function(){var e=this;if(d(!this._injected,"sheet already injected"),this._injected=!0,"u">typeof window&&this._optimizeForSpeed){this._tags[0]=this.makeStyleTag(this._name),this._optimizeForSpeed="insertRule"in this.getSheet(),this._optimizeForSpeed||(o||console.warn("StyleSheet: optimizeForSpeed mode not supported falling back to standard mode."),this.flush(),this._injected=!0);return}this._serverSheet={cssRules:[],insertRule:function(t,s){return"number"==typeof s?e._serverSheet.cssRules[s]={cssText:t}:e._serverSheet.cssRules.push({cssText:t}),s},deleteRule:function(t){e._serverSheet.cssRules[t]=null}}},s.getSheetForTag=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]},s.getSheet=function(){return this.getSheetForTag(this._tags[this._tags.length-1])},s.insertRule=function(e,t){if(d(a(e),"`insertRule` accepts only strings"),"u"<typeof window)return"number"!=typeof t&&(t=this._serverSheet.cssRules.length),this._serverSheet.insertRule(e,t),this._rulesCount++;if(this._optimizeForSpeed){var s=this.getSheet();"number"!=typeof t&&(t=s.cssRules.length);try{s.insertRule(e,t)}catch(t){return o||console.warn("StyleSheet: illegal rule: \n\n"+e+"\n\nSee https://stackoverflow.com/q/20007992 for more info"),-1}}else{var r=this._tags[t];this._tags.push(this.makeStyleTag(this._name,e,r))}return this._rulesCount++},s.replaceRule=function(e,t){if(this._optimizeForSpeed||"u"<typeof window){var s="u">typeof window?this.getSheet():this._serverSheet;if(t.trim()||(t=this._deletedRulePlaceholder),!s.cssRules[e])return e;s.deleteRule(e);try{s.insertRule(t,e)}catch(r){o||console.warn("StyleSheet: illegal rule: \n\n"+t+"\n\nSee https://stackoverflow.com/q/20007992 for more info"),s.insertRule(this._deletedRulePlaceholder,e)}
1}else{var r=this._tags[e];d(r,"old rule at index `"+e+"` not found"),r.textContent=t}return e},s.deleteRule=function(e){if("u"<typeof window)return void this._serverSheet.deleteRule(e);if(this._optimizeForSpeed)this.replaceRule(e,"");else{var t=this._tags[e];d(t,"rule at index `"+e+"` not found"),t.parentNode.removeChild(t),this._tags[e]=null}},s.flush=function(){this._injected=!1,this._rulesCount=0,"u">typeof window?(this._tags.forEach(function(e){return e&&e.parentNode.removeChild(e)}),this._tags=[]):this._serverSheet.cssRules=[]},s.cssRules=function(){var e=this;return"u"<typeof window?this._serverSheet.cssRules:this._tags.reduce(function(t,s){return s?t=t.concat(Array.prototype.map.call(e.getSheetForTag(s).cssRules,function(t){return t.cssText===e._deletedRulePlaceholder?null:t})):t.push(null),t},[])},s.makeStyleTag=function(e,t,s){t&&d(a(t),"makeStyleTag accepts only strings as second parameter");var r=document.createElement("style");this._nonce&&r.setAttribute("nonce",this._nonce),r.type="text/css",r.setAttribute("data-"+e,""),t&&r.appendChild(document.createTextNode(t));var n=document.head||document.getElementsByTagName("head")[0];return s?n.insertBefore(r,s):n.appendChild(r),r},t=[{key:"length",get:function(){return this._rulesCount}}],function(e,t){for(var s=0;s<t.length;s++){var r=t[s];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}(e.prototype,t),e}();function d(e,t){if(!e)throw Error("StyleSheet: "+t+".")}var c=function(e){for(var t=5381,s=e.length;s;)t=33*t^e.charCodeAt(--s);return t>>>0},u={};function h(e,t){if(!t)return"jsx-"+e;var s=String(t),r=e+s;return u[r]||(u[r]="jsx-"+c(e+"-"+s)),u[r]}function f(e,t){"u"<typeof window&&(t=t.replace(/\/style/gi,"\\/style"));var s=e+t;return u[s]||(u[s]=t.replace(/__jsx-style-dynamic-selector/g,e)),u[s]}var m=function(){function e(e){var t=void 0===e?{}:e,s=t.styleSheet,r=void 0===s?null:s,n=t.optimizeForSpeed,i=void 0!==n&&n;this._sheet=r||new l({name:"styled-jsx",optimizeForSpeed:i}),this._sheet.inject(),r&&"boolean"==typeof i&&(this._sheet.setOptimizeForSpeed(i),this._optimizeForSpeed=this._sheet.isOptimizeForSpeed()),this._fromServer=void 0,this._indices={},this._instancesCounts={}}var t=e.prototype;return t.add=function(e){var t=this;void 0===this._optimizeForSpeed&&(this._optimizeForSpeed=Array.isArray(e.children),this._sheet.setOptimizeForSpeed(this._optimizeForSpeed),this._optimizeForSpeed=this._sheet.isOptimizeForSpeed()),"u">typeof window&&!this._fromServer&&(this._fromServer=this.selectFromServer(),this._instancesCounts=Object.keys(this._fromServer).reduce(function(e,t){return e[t]=0,e},{}));var s=this.getIdAndRules(e),r=s.styleId,n=s.rules;if(r in this._instancesCounts){this._instancesCounts[r]+=1;return}var i=n.map(function(e){return t._sheet.insertRule(e)}).filter(function(e){return -1!==e});this._indices[r]=i,this._instancesCounts[r]=1},t.remove=function(e){var t=this,s=this.getIdAndRules(e).styleId;if(function(e,t){if(!e)throw Error("StyleSheetRegistry: "+t+".")}(s in this._instancesCounts,"styleId: `"+s+"` not found"),this._instancesCounts[s]-=1,this._instancesCounts[s]<1){var r=this._fromServer&&this._fromServer[s];r?(r.parentNode.removeChild(r),delete this._fromServer[s]):(this._indices[s].forEach(function(e){return t._sheet.deleteRule(e)}),delete this._indices[s]),delete this._instancesCounts[s]}},t.update=function(e,t){this.add(t),this.remove(e)},t.flush=function(){this._sheet.flush(),this._sheet.inject(),this._fromServer=void 0,this._indices={},this._instancesCounts={}},t.cssRules=function(){var e=this,t=this._fromServer?Object.keys(this._fromServer).map(function(t){return[t,e._fromServer[t]]}):[],s=this._sheet.cssRules();return t.concat(Object.keys(this._indices).map(function(t){return[t,e._indices[t].map(function(e){return s[e].cssText}).join(e._optimizeForSpeed?"":"\n")]}).filter(function(e){return!!e[1]}))},t.styles=function(e){var t,s;return t=this.cssRules(),void 0===(s=e)&&(s={}),t.map(function(e){var t=e[0],r=e[1];return i.default.createElement("style",{id:"__"+t,key:"__"+t,nonce:s.nonce?s.nonce:void 0,dangerouslySetInnerHTML:{__html:r}}
1)})},t.getIdAndRules=function(e){var t=e.children,s=e.dynamic,r=e.id;if(s){var n=h(r,s);return{styleId:n,rules:Array.isArray(t)?t.map(function(e){return f(n,e)}):[f(n,t)]}}return{styleId:h(r),rules:Array.isArray(t)?t:[t]}},t.selectFromServer=function(){return Array.prototype.slice.call(document.querySelectorAll('[id^="__jsx-"]')).reduce(function(e,t){return e[t.id.slice(2)]=t,e},{})},e}(),x=n.createContext(null);function p(){return new m}function g(){return n.useContext(x)}x.displayName="StyleSheetContext";var v=i.default.useInsertionEffect||i.default.useLayoutEffect,j="u">typeof window?p():void 0;function b(e){var t=j||g();return t&&("u"<typeof window?t.add(e):v(function(){return t.add(e),function(){t.remove(e)}},[e.id,String(e.dynamic)])),null}b.dynamic=function(e){return e.map(function(e){return h(e[0],e[1])}).join(" ")},s.StyleRegistry=function(e){var t=e.registry,s=e.children,r=n.useContext(x),o=n.useState(function(){return r||t||p()})[0];return i.default.createElement(x.Provider,{value:o},s)},s.createStyleRegistry=p,s.style=b,s.useStyleRegistry=g},37902,(e,t,s)=>{t.exports=e.r(98547).style},17257,e=>{"use strict";var t=e.i(43476),s=e.i(37902),r=e.i(22016),n=e.i(71645),i=e.i(18566),o=e.i(84515),a=e.i(84487);function l({label:e,isOpen:s,onToggle:r,children:n,dropdownRef:i,icon:o,transparent:a}){return(0,t.jsxs)("div",{className:"relative",ref:i,children:[(0,t.jsxs)("button",{onClick:r,className:`flex items-center gap-1.5 px-4 py-2 rounded-lg text-base font-medium transition-all duration-150 ${a?"text-white/80 hover:text-white":"text-foreground/60 hover:text-foreground"}`,children:[e,o,(0,t.jsx)("svg",{className:`w-4 h-4 transition-transform duration-200 ${s?"rotate-180":""}`,fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M19 9l-7 7-7-7"})})]}),s&&(0,t.jsx)("div",{className:"absolute left-0 mt-1.5 w-52 rounded-xl border border-gray-100 bg-white py-1.5 shadow-lg animate-dropdown-fade",children:n})]})}function d({href:e,onClick:s,children:n}){return(0,t.jsx)(r.default,{href:e,onClick:s,className:"block px-4 py-2.5 text-sm text-foreground/80 hover:bg-gray-50 hover:text-red transition-colors",children:n})}function c(){return(0,t.jsx)("div",{className:"border-t border-gray-100 my-1"})}function u(){let e=(0,i.useRouter)(),u=(0,i.usePathname)(),[h,f]=(0,n.useState)(null),[m,x]=(0,n.useState)(null),[p,g]=(0,n.useState)(!0),[v,j]=(0,n.useState)(!1),b="/"===u&&!v,[y,w]=(0,n.useState)(!1),[_,S]=(0,n.useState)(!1),[C,k]=(0,n.useState)(!1),[N,R]=(0,n.useState)(!1),[z,F]=(0,n.useState)(!1),M=(0,n.useRef)(null),L=(0,n.useRef)(null),T=(0,n.useRef)(null),A=(0,n.useRef)(null),E=(0,n.useRef)(null),B=()=>{w(!1),S(!1),k(!1),R(!1),F(!1)};async function O(){await o.supabase.auth.signOut(),e.push("/login")}if((0,n.useEffect)(()=>{let e=()=>j(window.scrollY>10);return window.addEventListener("scroll",e),()=>window.removeEventListener("scroll",e)},[]),(0,n.useEffect)(()=>{!async function(){let{data:e}=await o.supabase.auth.getSession();if(e.session?.user){f({id:e.session.user.id,email:e.session.user.email||""});let{data:t}=await o.supabase.from("creator_profiles").select("*").eq("id",e.session.user.id).single();t&&x(t)}g(!1)}();let{data:e}=o.supabase.auth.onAuthStateChange(async(e,t)=>{t?.user?f({id:t.user.id,email:t.user.email||""}):(f(null),x(null))});return()=>{e.subscription.unsubscribe()}},[]),(0,n.useEffect)(()=>{function e(e){let t=e.target;M.current&&!M.current.contains(t)&&w(!1),L.current&&!L.current.contains(t)&&S(!1),T.current&&!T.current.contains(t)&&k(!1),A.current&&!A.current.contains(t)&&R(!1),E.current&&!E.current.contains(t)&&F(!1)}return document.addEventListener("mousedown",e),()=>document.removeEventListener("mousedown",e)},[]),"/login"===u)return null;let $=(0,t.jsx)("span",{className:"inline-flex items-center justify-center w-5 h-5 rounded-full bg-gradient-to-r from-gold-light to-gold text-[10px] font-bold text-foreground",children:"$"});return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(s.default,{id:"604461d854b7a07c",children:"@keyframes dropdownFade{0%{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:translateY(0)}}.animate-dropdown-fade{animation:.15s ease-out forwards dropdownFade}"}),(0,t.jsx)("nav",{className:`jsx-604461d854b7a07c fixed top-0 left-0 right-0 z-50 transition-all duration-300 ${v?"bg-white/98 backdrop-blur-md shadow-sm":"/"===u?"bg-transparent":"bg-white/98 backdrop-blur-md"}`,children:(0,t.jsxs)("div",{className:"jsx-604461d854b7a07c section-container py-3 flex items-center justify-between",children:[(0,t.jsx)(r.default,{href:"/",onClick:e=>{"/"===u&&(e.preventDefault(),window.scrollTo({top:0,behavior:"smooth"}))},className:"hover:opacity-80 transition-opacity duration-150",children:(0,t.jsx)("img",{src:"/logo.png",alt:"The Giddy List",className:`jsx-604461d854b7a07c h-11 md:h-12 w-auto transition-all duration-300 ${b?"brightness-0 invert":""}`})}),(0,t.jsx)("div",{className:"jsx-604461d854b7a07c hidden md:flex items-center gap-1",children:h?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)(l,{label:"My Family",isOpen:C,onToggle:()=>{k(!C),w(!1),R(!1)},dropdownRef:T,transparent:b,children:[(0,t.jsx)(d,{href:"/dashboard",onClick:B,children:"My Kids"}),(0,t.jsx)(c,{}),(0,t.jsx)(d,{href:"/my-kids",onClick:B,children:"Wishlists"}),(0,t.jsx)(d,{href:"/registry",onClick:B,children:"Registries"})]}),(0,t.jsxs)(l,{label:"Create & Earn",isOpen:N,onToggle:()=>{R(!N),w(!1),k(!1)},dropdownRef:A,icon:$,transparent:b,children:[(0,t.jsx)(d,{href:"/collections",onClick:B,children:"My Guides"}),(0,t.jsx)(d,{href:m?.guide_enabled?"/dashboard/earnings":"/dashboard/become-guide",onClick:B,children:m?.guide_enabled?"Earnings":"Start Earning"}),(0,t.jsx)(c,{}),(0,t.jsx)(d,{href:"/collections/new",onClick:B,children:(0,t.jsxs)("span",{className:"jsx-604461d854b7a07c flex items-center gap-2",children:[(0,t.jsx)("svg",{fill:"currentColor",viewBox:"0 0 20 20",className:"jsx-604461d854b7a07c w-4 h-4 text-gold",children:(0,t.jsx)("path",{fillRule:"evenodd",d:"M10 3a1 1 0 011 1v5h5a1 1 0 110 2h-5v5a1 1 0 11-2 0v-5H4a1 1 0 110-2h5V4a1 1 0 011-1z",clipRule:"evenodd",className:"jsx-604461d854b7a07c"})}),"Create Guide"]})})]}),(0,t.jsxs)(l,{label:"Discover",isOpen:y,onToggle:()=>
1{w(!y),k(!1),R(!1)},dropdownRef:M,transparent:b,children:[(0,t.jsx)(d,{href:"/discover/age/0-2",onClick:B,children:"Babies (0-2)"}),(0,t.jsx)(d,{href:"/discover/age/3-5",onClick:B,children:"Toddlers (3-5)"}),(0,t.jsx)(d,{href:"/discover/age/6-8",onClick:B,children:"Kids (6-8)"}),(0,t.jsx)(d,{href:"/discover/age/9-12",onClick:B,children:"Tweens (9-12)"}),(0,t.jsx)(d,{href:"/discover/age/13-18",onClick:B,children:"Teens (13-18)"}),(0,t.jsx)(c,{}),(0,t.jsx)(d,{href:"/guides",onClick:B,children:"Browse Guides"})]})]}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)(l,{label:"Discover",isOpen:y,onToggle:()=>{w(!y),S(!1)},dropdownRef:M,transparent:b,children:[(0,t.jsx)(d,{href:"/discover/age/0-2",onClick:B,children:"Babies (0-2)"}),(0,t.jsx)(d,{href:"/discover/age/3-5",onClick:B,children:"Toddlers (3-5)"}),(0,t.jsx)(d,{href:"/discover/age/6-8",onClick:B,children:"Kids (6-8)"}),(0,t.jsx)(d,{href:"/discover/age/9-12",onClick:B,children:"Tweens (9-12)"}),(0,t.jsx)(d,{href:"/discover/age/13-18",onClick:B,children:"Teens (13-18)"}),(0,t.jsx)(c,{}),(0,t.jsx)(d,{href:"/guides",onClick:B,children:"Browse Guides"})]}),(0,t.jsxs)(l,{label:"For Parents",isOpen:_,onToggle:()=>{S(!_),w(!1)},dropdownRef:L,transparent:b,children:[(0,t.jsx)(d,{href:"/#how-it-works",onClick:B,children:"How It Works"}),(0,t.jsx)(d,{href:"/login",onClick:B,children:"Create a Wishlist"}),(0,t.jsx)(d,{href:"/login",onClick:B,children:"Create a Registry"}),(0,t.jsx)(c,{}),(0,t.jsx)(d,{href:"/dashboard/become-guide",onClick:B,children:(0,t.jsxs)("span",{className:"jsx-604461d854b7a07c flex items-center gap-2",children:[(0,t.jsxs)("svg",{fill:"currentColor",viewBox:"0 0 20 20",className:"jsx-604461d854b7a07c w-4 h-4 text-gold",children:[(0,t.jsx)("path",{d:"M8.433 7.418c.155-.103.346-.196.567-.267v1.698a2.305 2.305 0 01-.567-.267C8.07 8.34 8 8.114 8 8c0-.114.07-.34.433-.582zM11 12.849v-1.698c.22.071.412.164.567.267.364.243.433.468.433.582 0 .114-.07.34-.433.582a2.305 2.305 0 01-.567.267z",className:"jsx-604461d854b7a07c"}),(0,t.jsx)("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm1-13a1 1 0 10-2 0v.092a4.535 4.535 0 00-1.676.662C6.602 6.234 6 7.009 6 8c0 .99.602 1.765 1.324 2.246.48.32 1.054.545 1.676.662v1.941c-.391-.127-.68-.317-.843-.504a1 1 0 10-1.51 1.31c.562.649 1.413 1.076 2.353 1.253V15a1 1 0 102 0v-.092a4.535 4.535 0 001.676-.662C13.398 13.766 14 12.991 14 12c0-.99-.602-1.765-1.324-2.246A4.535 4.535 0 0011 9.092V7.151c.391.127.68.317.843.504a1 1 0 101.511-1.31c-.563-.649-1.413-1.076-2.354-1.253V5z",clipRule:"evenodd",className:"jsx-604461d854b7a07c"})]}),"Create & Earn"]})})]})]})}),(0,t.jsx)("div",{className:"jsx-604461d854b7a07c flex items-center gap-2",children:p?(0,t.jsx)("div",{className:"jsx-604461d854b7a07c w-8 h-8 rounded-full bg-gray-100 animate-pulse"}):h?(0,t.jsx)(t.Fragment,{children:(0,t.jsxs)("div",{ref:E,className:"jsx-604461d854b7a07c relative",children:[(0,t.jsxs)("button",{onClick:()=>{F(!z),w(!1),k(!1),R(!1)},className:`jsx-604461d854b7a07c flex items-center gap-2 rounded-full p-1 transition-all duration-150 ${b?"hover:bg-white/10":"hover:bg-gray-100"}`,children:[(0,t.jsx)(a.default,{src:m?.avatar_url,name:m?.display_name||h.email,size:"sm"}),(0,t.jsx)("svg",{fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",className:`jsx-604461d854b7a07c w-4 h-4 transition-transform duration-200 ${z?"rotate-180":""} ${b?"text-white/60":"text-foreground/40"}`,children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M19 9l-7 7-7-7",className:"jsx-604461d854b7a07c"})})]}),z&&(0,t.jsxs)("div",{className:"jsx-604461d854b7a07c absolute right-0 mt-1.5 w-52 rounded-xl border border-gray-100 bg-white py-1.5 shadow-lg animate-dropdown-fade",children:[(0,t.jsx)(r.default,{href:"/settings",className:"block px-4 py-2.5 text-sm text-foreground/70 hover:bg-gray-50 hover:text-red transition-colors",onClick:B,children:"Account Settings"}),(0,t.jsx)(c,{}),(0,t.jsx)("button",{onClick:()=>{B(),O()},className:"jsx-604461d854b7a07c block w-full text-left px-4 py-2.5 text-sm text-red hover:bg-red/5 transition-colors",children:"Log Out"})]})]})}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)(r.default,{href:"/dashboard/become-guide",className:"hidden sm:inline-flex items-center gap-2 px-4 py-2 rounded-full bg-gradient-to-r from-gold-light to-gold text-sm font-medium text-foreground hover:shadow-md transition-all duration-150",children:[(0,t.jsxs)("svg",{fill:"currentColor",viewBox:"0 0 20 20",className:"jsx-604461d854b7a07c w-4 h-4",children:[(0,t.jsx)("path",{d:"M8.433 7.418c.155-.103.346-.196.567-.267v1.698a2.305 2.305 0 01-.567-.267C8.07 8.34 8 8.114 8 8c0-.114.07-.34.433-.582zM11 12.849v-1.698c.22.071.412.164.567.267.364.243.433.468.433.582 0 .114-.07.34-.433.582a2.305 2.305 0 01-.567.267z",className:"jsx-604461d854b7a07c"}),(0,t.jsx)("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm1-13a1 1 0 10-2 0v.092a4.535 4.535 0 00-1.676.662C6.602 6.234 6 7.009 6 8c0 .99.602 1.765 1.324 2.246.48.32 1.054.545 1.676.662v1.941c-.391-.127-.68-.317-.843-.504a1 1 0 10-1.51 1.31c.562.649 1.413 1.076 2.353 1.253V15a1 1 0 102 0v-.092a4.535 4.535 0 001.676-.662C13.398 13.766 14 12.991 14 12c0-.99-.602-1.765-1.324-2.246A4.535 4.535 0 0011 9.092V7.151c.391.127.68.317.843.504a1 1 0 101.511-1.31c-.563-.649-1.413-1.076-2.354-1.253V5z",clipRule:"evenodd",className:"jsx-604461d854b7a07c"})]}),"Create & Earn"]}),(0,t.jsx)(r.default,{href:"/login",className:`px-4 py-2 text-base font-medium transition-all duration-150 ${b?"text-white/80 hover:text-white":"text-foreground
1/60 hover:text-foreground"}`,children:"Log In"}),(0,t.jsx)(r.default,{href:"/login",className:"rounded-full bg-red px-6 py-2.5 text-base font-medium text-white hover:opacity-90 transition-all duration-150",children:"Start Free"})]})})]})})]})}e.s(["default",()=>u])},89759,e=>{"use strict";var t=e.i(43476),s=e.i(22016),r=e.i(18566),n=e.i(71645),i=e.i(84515),o=e.i(61805);function a({onClose:e}){return(0,t.jsx)("div",{className:"fixed inset-0 z-50 flex items-center justify-center bg-foreground/50 p-4",children:(0,t.jsxs)("div",{className:"w-full max-w-md overflow-hidden rounded-2xl bg-card shadow-lg",children:[(0,t.jsxs)("div",{className:"flex items-center justify-between p-4 border-b border-border",children:[(0,t.jsx)("h2",{className:"text-lg font-bold text-foreground",children:"What would you like to create?"}),(0,t.jsx)("button",{onClick:e,className:"p-2 text-foreground/60 hover:text-foreground transition-colors",children:(0,t.jsx)("svg",{className:"w-5 h-5",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M6 18L18 6M6 6l12 12"})})})]}),(0,t.jsxs)("div",{className:"p-4 space-y-4",children:[(0,t.jsxs)("div",{className:"rounded-xl border border-border bg-white p-4",children:[(0,t.jsxs)("div",{className:"flex items-center gap-2 mb-2",children:[(0,t.jsx)("svg",{className:"w-5 h-5 text-red",fill:"currentColor",viewBox:"0 0 20 20",children:(0,t.jsx)("path",{fillRule:"evenodd",d:"M3.172 5.172a4 4 0 015.656 0L10 6.343l1.172-1.171a4 4 0 115.656 5.656L10 17.657l-6.828-6.829a4 4 0 010-5.656z",clipRule:"evenodd"})}),(0,t.jsx)("span",{className:"text-sm font-semibold text-foreground uppercase tracking-wide",children:"For My Family"})]}),(0,t.jsx)("p",{className:"text-sm text-foreground/60 mb-4",children:"Create wishlists and registries to share with family"}),(0,t.jsxs)("div",{className:"flex gap-2",children:[(0,t.jsx)(s.default,{href:"/dashboard?add=true",onClick:e,className:"flex-1 rounded-xl bg-red px-4 py-2.5 text-sm font-medium text-white text-center hover:bg-red-hover transition-colors",children:"Create Wishlist"}),(0,t.jsx)(s.default,{href:"/registry/new",onClick:e,className:"flex-1 rounded-xl border border-border bg-white px-4 py-2.5 text-sm font-medium text-foreground text-center hover:bg-cream-dark transition-colors",children:"Create Registry"})]})]}),(0,t.jsxs)("div",{className:"rounded-xl border border-gold/30 bg-gradient-to-br from-gold-light/30 to-red-light/20 p-4",children:[(0,t.jsxs)("div",{className:"flex items-center gap-2 mb-2",children:[(0,t.jsxs)("svg",{className:"w-5 h-5 text-gold",fill:"currentColor",viewBox:"0 0 20 20",children:[(0,t.jsx)("path",{d:"M8.433 7.418c.155-.103.346-.196.567-.267v1.698a2.305 2.305 0 01-.567-.267C8.07 8.34 8 8.114 8 8c0-.114.07-.34.433-.582zM11 12.849v-1.698c.22.071.412.164.567.267.364.243.433.468.433.582 0 .114-.07.34-.433.582a2.305 2.305 0 01-.567.267z"}),(0,t.jsx)("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm1-13a1 1 0 10-2 0v.092a4.535 4.535 0 00-1.676.662C6.602 6.234 6 7.009 6 8c0 .99.602 1.765 1.324 2.246.48.32 1.054.545 1.676.662v1.941c-.391-.127-.68-.317-.843-.504a1 1 0 10-1.51 1.31c.562.649 1.413 1.076 2.353 1.253V15a1 1 0 102 0v-.092a4.535 4.535 0 001.676-.662C13.398 13.766 14 12.991 14 12c0-.99-.602-1.765-1.324-2.246A4.535 4.535 0 0011 9.092V7.151c.391.127.68.317.843.504a1 1 0 101.511-1.31c-.563-.649-1.413-1.076-2.354-1.253V5z",clipRule:"evenodd"})]}),(0,t.jsx)("span",{className:"text-sm font-semibold text-foreground uppercase tracking-wide",children:"Create & Earn"}),(0,t.jsx)(o.default,{size:"sm"})]}),(0,t.jsx)("p",{className:"text-sm text-foreground/60 mb-4",children:"Make gift guides and earn money from recommendations"}),(0,t.jsx)(s.default,{href:"/collections/new",onClick:e,className:"block w-full rounded-xl bg-gradient-to-r from-gold to-gold-dark px-4 py-2.5 text-sm font-medium text-white text-center hover:opacity-90 transition-opacity",children:"Create Gift Guide"})]})]})]})})}
1function l(){let e=(0,r.usePathname)(),[o,l]=(0,n.useState)(!1),[d,c]=(0,n.useState)(!0),[u,h]=(0,n.useState)(!1);if((0,n.useEffect)(()=>{!async function(){let{data:e}=await i.supabase.auth.getSession();l(!!e.session?.user),c(!1)}();let{data:e}=i.supabase.auth.onAuthStateChange((e,t)=>{l(!!t?.user)});return()=>{e.subscription.unsubscribe()}},[]),"/login"===e||d||!o)return null;let f=t=>e===t||e.startsWith(t+"/");return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("nav",{className:"fixed bottom-0 left-0 right-0 z-50 bg-white/95 backdrop-blur-lg border-t border-gray-100 md:hidden safe-area-bottom",children:(0,t.jsxs)("div",{className:"flex items-center justify-around py-1",children:[(0,t.jsxs)(s.default,{href:"/",className:`flex flex-col items-center gap-0.5 px-4 py-2 transition-colors ${"/"===e?"text-red":"text-foreground/40"}`,children:[(0,t.jsx)("svg",{className:"w-6 h-6",fill:"/"===e?"currentColor":"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5*("/"!==e),d:"M3 12l2-2m0 0l7-7 7 7M5 10v10a1 1 0 001 1h3m10-11l2 2m-2-2v10a1 1 0 01-1 1h-3m-6 0a1 1 0 001-1v-4a1 1 0 011-1h2a1 1 0 011 1v4a1 1 0 001 1m-6 0h6"})}),(0,t.jsx)("span",{className:"text-[10px] font-medium",children:"Home"})]}),(0,t.jsxs)(s.default,{href:"/discover",className:`flex flex-col items-center gap-0.5 px-4 py-2 transition-colors ${f("/discover")?"text-red":"text-foreground/40"}`,children:[(0,t.jsx)("svg",{className:"w-6 h-6",fill:f("/discover")?"currentColor":"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5*!f("/discover"),d:"M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z"})}),(0,t.jsx)("span",{className:"text-[10px] font-medium",children:"Discover"})]}),(0,t.jsx)("button",{onClick:()=>h(!0),className:"flex items-center justify-center w-12 h-12 -mt-3 rounded-full bg-red text-white shadow-lg shadow-red/30 active:scale-95 transition-transform",children:(0,t.jsx)("svg",{className:"w-6 h-6",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",strokeWidth:2.5,children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 4v16m8-8H4"})})}),(0,t.jsxs)(s.default,{href:"/dashboard",className:`flex flex-col items-center gap-0.5 px-4 py-2 transition-colors ${f("/dashboard")||f("/collections")||f("/registry")?"text-red":"text-foreground/40"}`,children:[(0,t.jsx)("svg",{className:"w-6 h-6",fill:f("/dashboard")||f("/collections")||f("/registry")?"currentColor":"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:f("/dashboard")||f("/collections")||f("/registry")?0:1.5,d:"M4.318 6.318a4.5 4.5 0 000 6.364L12 20.364l7.682-7.682a4.5 4.5 0 00-6.364-6.364L12 7.636l-1.318-1.318a4.5 4.5 0 00-6.364 0z"})}),(0,t.jsx)("span",{className:"text-[10px] font-medium",children:"My Lists"})]}),(0,t.jsxs)(s.default,{href:"/settings",className:`flex flex-col items-center gap-0.5 px-4 py-2 transition-colors ${f("/settings")?"text-red":"text-foreground/40"}`,children:[(0,t.jsx)("svg",{className:"w-6 h-6",fill:f("/settings")?"currentColor":"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5*!f("/settings"),d:"M16 7a4 4 0 11-8 0 4 4 0 018 0zM12 14a7 7 0 00-7 7h14a7 7 0 00-7-7z"})}),(0,t.jsx)("span",{className:"text-[10px] font-medium",children:"Profile"})]})]})}),u&&(0,t.jsx)(a,{onClose:()=>h(!1)})]})}e.s(["default",()=>l],89759)},6421,e=>{"use strict";var t=e.i(71645),s=e.i(84515);function r(){return(0,t.useEffect)(()=>{let e=e=>{e?(document.cookie=`sb-access-token=${e.access_token}; path=/; max-age=604800; secure; samesite=lax`,document.cookie=`sb-refresh-token=${e.refresh_token}; path=/; max-age=604800; secure; samesite=lax`):(document.cookie="sb-access-token=; path=/; max-age=0",document.cookie="sb-refresh-token=; path=/; max-age=0")};s.supabase.auth.getSession().then(({data:{session:t}})=>{e(t)});let{data:{subscription:t}}=s.supabase.auth.onAuthStateChange((t,s)=>{e(s)});return()=>{t.unsubscribe()}},[]),null}e.s(["default",()=>r])}]);

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.