PageSourceSearch

https://www.blogsareback.com/_next/static/chunks/f53cbb21332e0539.js?dpl=dpl_2AoYzJN76fgCzbjZUujwxkzXrRk6

js blogsareback.com collected 2026-10-04 22:47:00 UTC 22,284 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,778917,e=>{"use strict";let t=(0,e.i(475254).default)("external-link",[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]]);e.s(["ExternalLink",()=>t],778917)},70955,e=>{"use strict";var t=e.i(790224);async function r(e,r){try{return await e.getBlogs(r)}catch(e){return(0,t.logError)("Error fetching user blogs:",e,{userId:r}),[]}}async function a(e,r,a){try{let t=await e.addBlog(r,a);return{success:!0,data:t}}catch(e){return(0,t.logError)("Error adding blog:",e,{userId:r,feedUrl:a.feed_url}),{success:!1,error:e instanceof Error?e.message:"Failed to add blog",errorCode:e?.code}}}async function o(e,t,r,a="custom"){try{return await e.deleteBlog(t,r,a),{success:!0}}catch(e){return console.error("Error deleting blog:",e),{success:!1,error:e instanceof Error?e.message:"Failed to delete blog"}}}async function n(e,t,r,a,o="custom"){try{return await e.updateBlogTags(t,r,a,o),{success:!0}}catch(e){return console.error("Error updating blog tags:",e),{success:!1,error:e instanceof Error?e.message:"Failed to update tags"}}}async function l(e,t,r,a=[],o){try{let n=await e.followDirectoryBlog(t,r,a,o);return{success:!0,data:n}}catch(e){return console.error("Error following directory blog:",e),{success:!1,error:e instanceof Error?e.message:"Failed to follow blog"}}}async function s(e,t,r){try{return await e.unfollowDirectoryBlog(t,r),{success:!0}}catch(e){return console.error("Error unfollowing directory blog:",e),{success:!1,error:e instanceof Error?e.message:"Failed to unfollow blog"}}}async function i(e,t,r,a=[],o){try{let n=await e.followCommunityBlog(t,r,a,o);return{success:!0,data:n}}catch(e){return console.error("Error following community blog:",e),{success:!1,error:e instanceof Error?e.message:"Failed to follow blog"}}}async function c(e,t,r){try{return await e.unfollowCommunityBlog(t,r),{success:!0}}catch(e){return console.error("Error unfollowing community blog:",e),{success:!1,error:e instanceof Error?e.message:"Failed to unfollow blog"}}}async function u(e,t,r,a,o){try{return await e.updateBlogStatusValues?.(t,r,a,o),{success:!0}}catch(e){return console.error("Error updating blog status values:",e),{success:!1,error:e instanceof Error?e.message:"Failed to update status values"}}}e.s(["addBlog",()=>a,"deleteBlog",()=>o,"followCommunityBlog",()=>i,"followDirectoryBlog",()=>l,"getAllBlogs",()=>r,"unfollowCommunityBlog",()=>c,"unfollowDirectoryBlog",()=>s,"updateBlogStatusValues",()=>u,"updateBlogTags",()=>n])},16862,e=>{"use strict";var t=e.i(271645),r=e.i(920755);function a(){let[e,a]=(0,t.useState)(null),[o,n]=(0,t.useState)(!0);return(0,t.useEffect)(()=>{let e=(0,r.createClient)();(async()=>{if(navigator.onLine){let{data:{user:t}}=await e.auth.getUser();a(t)}else{let{data:{session:t}}=await e.auth.getSession();a(t?.user??null)}n(!1)})();let{data:{subscription:t}}=e.auth.onAuthStateChange((e,t)=>{a(t?.user??null)});return()=>{t.unsubscribe()}},[]),{user:e,isLoading:o}}e.s(["useAuthUser",()=>a])},983123,e=>{"use strict";let t=(0,e.i(475254).default)("rss",[["path",{d:"M4 11a9 9 0 0 1 9 9",key:"pv89mb"}],["path",{d:"M4 4a16 16 0 0 1 16 16",key:"k0647b"}],["circle",{cx:"5",cy:"19",r:"1",key:"bfqh0e"}]]);e.s(["Rss",()=>t],983123)},283086,e=>{"use strict";let t=(0,e.i(475254).default)("sparkles",[["path",{d:"M11.017 2.814a1 1 0 0 1 1.966 0l1.051 5.558a2 2 0 0 0 1.594 1.594l5.558 1.051a1 1 0 0 1 0 1.966l-5.558 1.051a2 2 0 0 0-1.594 1.594l-1.051 5.558a1 1 0 0 1-1.966 0l-1.051-5.558a2 2 0 0 0-1.594-1.594l-5.558-1.051a1 1 0 0 1 0-1.966l5.558-1.051a2 2 0 0 0 1.594-1.594z",key:"1s2grr"}],["path",{d:"M20 2v4",key:"1rf3ol"}
1],["path",{d:"M22 4h-4",key:"gwowj6"}],["circle",{cx:"4",cy:"20",r:"2",key:"6kqj1y"}]]);e.s(["Sparkles",()=>t],283086)},265172,e=>{"use strict";var t=e.i(639372);let r={get url(){return`file://${e.P("node_modules/jotai/esm/vanilla/utils.mjs")}`}},a=Symbol((r.env?r.env.MODE:void 0)!=="production"?"RESET":""),o=e=>"function"==typeof(null==e?void 0:e.then);function n(e=()=>{try{return window.localStorage}catch(e){(r.env?r.env.MODE:void 0)!=="production"&&"u">typeof window&&console.warn(e);return}},t){var a;let l,s,i,c,u={getItem:(r,a)=>{var n,i;let c=e=>{if(l!==(e=e||"")){try{s=JSON.parse(e,null==t?void 0:t.reviver)}catch(e){return a}l=e}return s},u=null!=(i=null==(n=e())?void 0:n.getItem(r))?i:null;return o(u)?u.then(c):c(u)},setItem:(r,a)=>{var o;return null==(o=e())?void 0:o.setItem(r,JSON.stringify(a,null==t?void 0:t.replacer))},removeItem:t=>{var r;return null==(r=e())?void 0:r.removeItem(t)}};try{i=null==(a=e())?void 0:a.subscribe}catch(e){}return!i&&"u">typeof window&&"function"==typeof window.addEventListener&&window.Storage&&(i=(t,r)=>{if(!(e()instanceof window.Storage))return()=>{};let a=a=>{a.storageArea===e()&&a.key===t&&r(a.newValue)};return window.addEventListener("storage",a),()=>{window.removeEventListener("storage",a)}}),i&&(c=i,u.subscribe=(e,t,r)=>c(e,e=>{let a;try{a=JSON.parse(e||"")}catch(e){a=r}t(a)})),u}let l=n();function s(e,n,i=l,c){let u=null==c?void 0:c.getOnInit,d=(0,t.atom)(u?i.getItem(e,n):n);return(r.env?r.env.MODE:void 0)!=="production"&&(d.debugPrivate=!0),d.onMount=t=>{let r;return t(i.getItem(e,n)),i.subscribe&&(r=i.subscribe(e,t,n)),r},(0,t.atom)(e=>e(d),(t,r,l)=>{let s="function"==typeof l?l(t(d)):l;return s===a?(r(d,n),i.removeItem(e)):o(s)?s.then(t=>(r(d,t),i.setItem(e,t))):(r(d,s),i.setItem(e,s))})}e.s(["atomWithStorage",()=>s,"createJSONStorage",()=>n])},979775,e=>{"use strict";var t=e.i(639372),r=e.i(265172);function a(e,r){let a;return(0,t.atom)(t=>{let o=t(e);return void 0!==a&&r(a,o)?a:(a=o,o)})}function o(e,t,a=300){let n=function(e=300){let t=new Map,r=new Map;return{getItem:e=>{let t=r.get(e);return void 0!==t?t:localStorage.getItem(e)},setItem:(a,o)=>{let n=t.get(a);n&&clearTimeout(n),r.set(a,o);let l=setTimeout(()=>{localStorage.setItem(a,o),t.delete(a),r.delete(a)},e);t.set(a,l)},removeItem:e=>{let a=t.get(e);a&&(clearTimeout(a),t.delete(e)),r.delete(e),localStorage.removeItem(e)}}}(a);return(0,r.atomWithStorage)(e,t,(0,r.createJSONStorage)(()=>n))}e.s(["atomWithDebouncedStorage",()=>o,"atomWithStableReference",()=>a,"getProjectSpecificKey",0,e=>`blogsareback:${e}`])},964053,995926,e=>{"use strict";var t=e.i(326999);e.s(["Dialog",0,t],964053);var r=e.i(841947);e.s(["XIcon",()=>r.default],995926)},630374,e=>{"use strict";var t=e.i(843476),r=e.i(271645),a=e.i(964053),o=e.i(995926),n=e.i(647163);let l=r.createContext(null);function s({...e}){return(0,t.jsx)(a.Dialog.Root,{"data-slot":"dialog",...e})}function i({...e}){return(0,t.jsx)(a.Dialog.Trigger,{"data-slot":"dialog-trigger",...e})}function c({...e}){return(0,t.jsx)(a.Dialog.Portal,{"data-slot":"dialog-portal",...e})}function u({...e}){return(0,t.jsx)(a.Dialog.Close,{"data-slot":"dialog-close",...e})}function d({className:e,...r}){return(0,t.jsx)(a.Dialog.Overlay,{"data-slot":"dialog-overlay",className:(0,n.cn)("data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50","bg-black/50 backdrop-blur-sm",e),...r})}function f({className:e,children:s,showCloseButton:i=!0,onPointerDownOutside:u,onInteractOutside:f,...p}){let[m,g]=r.useState(null);return(0,t.jsxs)(c,{"data-slot":"dialog-portal",children:[(0,t.jsx)(d,{}),(0,t.jsx)("div",{className:"fixed inset-0 z-50 flex items-center justify-center p-4",children:(0,t.jsxs)(a.Dialog.Content,{"data-slot":"dialog-content",className:(0,n.cn)("bg-background relative grid w-full max-w-[calc(100%-2rem)] gap-4 rounded-lg border border-border/50 p-6 shadow-xl duration-200 sm:max-w-lg","data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0","data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95",e),onPointerDownOutside:e=>{e.target.closest("[data-radix-popper-content-wrapper]")&&e.preventDefault(),u?.(e)},onInteractOutside:e=>{e.target.closest("[data-radix-popper-content-wrapper]")&&e.preventDefault(),f?.(e)},...p,children:[(0,t.jsx)(l.Provider,{value:m,children:s}),(0,t.jsx)("div",{ref:g,"data-slot":"dialog-popover-container",className:"fixed inset-0 z-[100] pointer-events-none [&>*]:pointer-events-auto"}),i&&(0,t.jsxs)(a.Dialog.Close,{"data-slot":"dialog-close",className:"ring-offset-background focus:ring-ring absolute top-3 right-3 rounded-sm p-1.5 text-muted-foreground
1/70 transition-colors hover:bg-muted hover:text-foreground focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",children:[(0,t.jsx)(o.XIcon,{}),(0,t.jsx)("span",{className:"sr-only",children:"Close"})]})]})})]})}function p({className:e,...r}){return(0,t.jsx)("div",{"data-slot":"dialog-header",className:(0,n.cn)("flex flex-col gap-2 text-center sm:text-left",e),...r})}function m({className:e,...r}){return(0,t.jsx)("div",{"data-slot":"dialog-footer",className:(0,n.cn)("flex flex-col-reverse gap-2 sm:flex-row sm:justify-end",e),...r})}function g({className:e,...r}){return(0,t.jsx)(a.Dialog.Title,{"data-slot":"dialog-title",className:(0,n.cn)("text-lg leading-none font-semibold",e),...r})}function h({className:e,...r}){return(0,t.jsx)(a.Dialog.Description,{"data-slot":"dialog-description",className:(0,n.cn)("text-muted-foreground text-sm",e),...r})}e.s(["Dialog",()=>s,"DialogClose",()=>u,"DialogContent",()=>f,"DialogDescription",()=>h,"DialogFooter",()=>m,"DialogHeader",()=>p,"DialogTitle",()=>g,"DialogTrigger",()=>i,"useDialogPortalContainer",0,()=>r.useContext(l)])},491288,e=>{"use strict";var t=e.i(843476),r=e.i(271645),a=e.i(105069),o=e.i(630374),n=e.i(743687),l=e.i(647163);let s=r.createContext(void 0),i=()=>{let e=r.useContext(s);if(!e)throw Error("useModalContext must be used within a Modal provider");return e};function c({children:e,open:l,onOpenChange:i,disableSnapPointDefaults:c=!1,drawerProps:u,dialogProps:d,preventOutsideClose:f=!1}){let p=(0,a.default)(),m=p?n.Drawer:o.Dialog,g=[1],[h,x]=r.useState(g[0]),v=c?{}:{snapPoints:g,activeSnapPoint:h,setActiveSnapPoint:e=>x(e)},y=p?{...v,...u}:{...d};return(0,t.jsx)(m,{open:l,onOpenChange:i,...y,children:(0,t.jsx)(s.Provider,{value:{isMobile:p},children:e})})}function u({className:e,children:r,preventOutsideClose:a,...s}){let{isMobile:c}=i();return c?(0,t.jsx)(n.DrawerContent,{className:(0,l.cn)("max-h-[96dvh]! flex flex-col",e),preventOverlayClose:a,...s,children:r}):(0,t.jsx)(o.DialogContent,{className:(0,l.cn)("max-h-[90dvh] overflow-hidden flex flex-col",e),onInteractOutside:a?e=>e.preventDefault():void 0,...s,children:r})}function d({className:e,children:r,...a}){let{isMobile:s}=i(),c=s?n.DrawerHeader:o.DialogHeader;return(0,t.jsx)(c,{className:(0,l.cn)(s&&"shrink-0",e),...a,children:r})}function f({className:e,children:r,...a}){return(0,t.jsx)("div",{className:(0,l.cn)("flex-1","overflow-y-auto","mx-auto","mobile:max-w-[95vw]","mobile:px-3 mobile:pb-3","thin-scrollbars",e),...a,children:r})}function p({className:e,children:r,...a}){let{isMobile:s}=i(),c=s?n.DrawerFooter:o.DialogFooter;return(0,t.jsx)(c,{className:(0,l.cn)("shrink-0 bg-background",s&&"pt-4 border-t",e),...a,children:r})}function m({className:e,children:r,...a}){let{isMobile:l}=i(),s=l?n.DrawerTitle:o.DialogTitle;return(0,t.jsx)(s,{className:e,...a,children:r})}function g({className:e,children:r,...a}){let{isMobile:l}=i(),s=l?n.DrawerDescription:o.DialogDescription;return(0,t.jsx)(s,{className:e,...a,children:r})}function h({className:e,children:r,...a}){let{isMobile:l}=i(),s=l?n.DrawerClose:o.DialogClose;return(0,t.jsx)(s,{className:e,...a,children:r})}e.s(["Modal",()=>c,"ModalBody",()=>f,"ModalClose",()=>h,"ModalContent",()=>u,"ModalDescription",()=>g,"ModalFooter",()=>p,"ModalHeader",()=>d,"ModalTitle",()=>m])},959411,e=>{"use strict";var t=e.i(271645);e.i(174080);var r=e.i(991918),a=e.i(843476),o=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,o)=>{let n=(0,r.createSlot)(`Primitive.${o}`),l=t.forwardRef((e,t)=>{let{asChild:r,...l}=e;return"u">typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,a.jsx)(r?n:o,{...l,ref:t})});return l.displayName=`Primitive.${o}`,{...e,[o]:l}},{}),n=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}),l=t.forwardRef((e,t)=>(0,a.jsx)(o.span,{...e,ref:t,style:{...n,...e.style}}));l.displayName="VisuallyHidden",e.s(["Root",()=>l,"VisuallyHidden",()=>l],959411)},929532,648440,e=>{"use strict";var t=e.i(271645),r=e.i(672464),a=e.i(618566),o=e.i(265172),n=e.i(639372),l=e.i(979775);let s=(0,o.atomWithStorage)((0,l.getProjectSpecificKey)("referral-ref"),null),i=(0,o.atomWithStorage)((0,l.getProjectSpecificKey)("referral-blog"),null),
1c=(0,o.atomWithStorage)((0,l.getProjectSpecificKey)("referral-modal-shown"),!1),u=(0,n.atom)(!1);function d(){localStorage.removeItem((0,l.getProjectSpecificKey)("referral-ref")),localStorage.removeItem((0,l.getProjectSpecificKey)("referral-blog"))}function f(){let e=(0,a.useSearchParams)(),[o,n]=(0,r.useAtom)(s),[l,c]=(0,r.useAtom)(i),d=(0,r.useSetAtom)(u);return(0,t.useEffect)(()=>{let t=e.get("ref");if(t&&t.trim()){n(t.trim());{let e=new URL(window.location.href);e.searchParams.delete("ref"),window.history.replaceState({},"",e.pathname+e.search)}}},[e,n]),(0,t.useEffect)(()=>{!o||l||(async()=>{d(!0);try{let e=await fetch(`/api/referral/lookup?ref=${encodeURIComponent(o)}`);if(e.ok){let t=await e.json();t.success&&t.blog?c(t.blog):n(null)}else n(null)}catch(e){console.error("Referral lookup failed:",e),n(null)}finally{d(!1)}})()},[o,l,c,n,d]),{referralRef:o,referralBlog:l}}function p(){let e=(0,a.useSearchParams)(),o=(0,r.useSetAtom)(s);(0,t.useEffect)(()=>{let t=e.get("ref");if(t&&t.trim()){o(t.trim());{let e=new URL(window.location.href);e.searchParams.delete("ref"),window.history.replaceState({},"",e.pathname+e.search)}}},[e,o])}e.s(["clearReferralState",()=>d,"referralBlogAtom",0,i,"referralLoadingAtom",0,u,"referralModalShownAtom",0,c,"referralRefAtom",0,s],648440),e.s(["useReferralBlog",()=>f,"useReferralTracker",()=>p],929532)},429697,e=>{"use strict";var t=e.i(843476),r=e.i(271645),a=e.i(522016),o=e.i(363178),n=e.i(457367),l=e.i(972520),s=e.i(897250),i=e.i(991799),c=e.i(15127),u=e.i(957470),d=e.i(647163),f=e.i(902135);let p=[{href:"/explore",label:"Explore"},{href:"/collections",label:"Collections"},{href:"/our-blog",label:"Blog"},{href:"/about",label:"About"},{href:"/extension",label:"Extension"},{href:"/faq",label:"FAQ"}],m=[{href:"/guides/how-to-rss",label:"RSS Guide"},{href:"/submit",label:"Submit Your Blog"}];function g(){let[e,o]=(0,r.useState)(!1),{isOpen:s,toggle:i,close:g}=(0,n.useMobileMenu)(),x=(0,r.useRef)({start:400,end:560}),v=(0,r.useRef)(null),y=(0,r.useRef)(null),b=(0,r.useRef)(null),w=(0,r.useRef)(null);return(0,r.useEffect)(()=>{let e=()=>{let e=window.innerHeight;x.current={start:.5*e,end:.7*e}};return e(),window.addEventListener("resize",e,{passive:!0}),()=>window.removeEventListener("resize",e)},[]),(0,r.useEffect)(()=>{let e=0,t=0,r=()=>{e||(e=requestAnimationFrame(()=>{let r;e=0;let a=window.scrollY,{start:n,end:l}=x.current;if(Math.abs((r=a<=n?0:a>=l?1:(a-n)/(l-n))-t)>.01){t=r,(e=>{let t=v.current,r=y.current,a=b.current,o=w.current;if(!t||!r||!a||!o)return;t.style.pointerEvents=e>0?"auto":"none";let n=e<=0?0:e<.5?10:20;t.style.backdropFilter=e>0?`blur(${n}px)`:"none",t.style.webkitBackdropFilter=e>0?`blur(${n}px)`:"none",r.style.opacity=String(.9*e),a.style.opacity=String(.12*e),o.style.opacity=String(e),o.style.transform=`translateY(${-((1-e)*8)}px)`})(r);let e=r>0;o(t=>t!==e?e:t)}}))};return window.addEventListener("scroll",r,{passive:!0}),r(),()=>{window.removeEventListener("scroll",r),e&&cancelAnimationFrame(e)}},[]),(0,r.useEffect)(()=>{!e&&s&&g()},[e,s,g]),(0,r.useEffect)(()=>(e?document.documentElement.dataset.navbarVisible="true":delete document.documentElement.dataset.navbarVisible,()=>{delete document.documentElement.dataset.navbarVisible}),[e]),(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("nav",{ref:v,"aria-label":"Site navigation",className:"fixed top-0 left-0 w-screen z-50",style:{pointerEvents:"none",backdropFilter:"none",WebkitBackdropFilter:"none"},children:[(0,t.jsx)("div",{ref:y,className:"absolute inset-0",style:{background:"var(--hp-cream)",opacity:0,transition:"opacity 0.15s ease-out"}}),(0,t.jsx)("div",{ref:b,className:"absolute bottom-0 left-0 right-0 h-px",style:{background:"var(--hp-ink-muted)",opacity:0,transition:"opacity 0.15s ease-out"}}),(0,t.jsxs)("div",{ref:w,className:"relative max-w-7xl mx-auto px-6 h-14 flex items-center justify-between",style:{opacity:0,transform:"translateY(-8px)",transition:"opacity 0.15s ease-out, transform 0.15s ease-out",willChange:"transform, opacity"},children:[(0,t.jsxs)(a.default,{href:"/",className:"flex items-center gap-2.5 group shrink-0","aria-label":`${u.APP_NAME} home`,children:[(0,t.jsx)(c.default,{className:"w-7 h-7 transition-all duration-300 grayscale group-hover:grayscale-0","aria-hidden":"true"}),(0,t.jsx)("span",{className:"font-semibold text-[15px] tracking-tight hidden lg:block",style:{color:"var(--hp-ink)"},children:u.APP_NAME})]}),(0,t.jsx)("div",{className:"hidden md:flex items-center gap-0.5",children:p.map(e=>(0,t.jsxs)(a.default,{href:e.href,prefetch:!1,className:"hp-nav-link relative font-body text-[13px] font-medium tracking-wide uppercase px-3.5 py-2 transition-colors duration-200 group",children:[(0,t.jsx)("span",{className:"relative z-10 transition-colors duration-200",style:{color:"var(--hp-ink-soft)"},children:e.label}),(0,t.jsx)("span",{className:"absolute bottom-1 left-3.5 right-3.5 h-[1.5px] scale-x-0 group-hover:scale-x-100 transition-transform duration-250 ease-out origin-left",style:{background:"var(--hp-coral)"}})]},e.href))}),(0,t.jsxs)("div",{className:"flex items-center gap-2 shrink-0",children:[(0,t.jsx)(f.default,{}),(0,t.jsxs)(a.default,{href:"/dashboard",prefetch:!1,className:(0,d.cn)("hidden md:inline-flex","group items-center gap-2","font-body text-[13px] font-medium tracking-wide uppercase","px-5 py-2","rounded-none","transition-opacity duration-200 hover:opacity-85"),style:{background:"var(--hp-ink)",color:"var(--hp-cream)"},children:["Open App",(0,t.jsx)(l.ArrowRight,{className:"w-3.5 h-3.5 transition-transform duration-200 group-hover:translate-x-0.5"})]}),(0,t.jsx)("button",{onClick:i,className:"md:hidden w-10 h-10 flex items-center justify-center rounded-sm","aria-label":s?"Close menu":"Open menu","aria-expanded":s,children:(0,t.jsxs)("div",{className:"w-[18px] h-3.5 relative",children:[(0,t.jsx)("span",{className:(0,d.cn)("absolute left-0 h-[1.5px] w-full rounded-full transition-all duration-300 ease-out",s?"top-1/2 -translate-y-1/2 rotate-45":"top-0"),style:{background:"var(--hp-ink)"}}),(0,t.jsx)("span",{className:(0,d.cn)("absolute left-0 top-1/2 -translate-y-1/2 h-[1.5px] w-full rounded-full transition-all duration-300 ease-out",s?"opacity-0 scale-x-0":"opacity-100 scale-x-100"),style:{background:"var(--hp-ink)"}}),(0,t.jsx)("span",{className:(0,d.cn)("absolute left-0 h-[1.5px] w-full rounded-full transition-all duration-300 ease-out",s?"top-1/2 -translate-y-1/2 -rotate-45":"bottom-0"),style:{background:"var(--hp-ink)"}})]})})]})]})]}),(0,t.jsxs)("div",{className:(0,d.cn)("fixed inset-x-0 bottom-0 z-40 flex flex-col md:hidden","transition-all duration-300 ease-out",s?"opacity-100 visible":"opacity-0 invisible pointer-events-none"),style:{to
1p:"56px",background:"var(--hp-cream)"},"aria-hidden":!s,children:[(0,t.jsxs)("div",{className:"flex-1 overflow-y-auto px-6 pt-6 pb-4 thin-scrollbars",children:[(0,t.jsx)("div",{className:"space-y-0.5",children:p.map((e,r)=>(0,t.jsx)(a.default,{href:e.href,prefetch:!1,onClick:g,className:(0,d.cn)("block font-body text-lg py-3 px-4 rounded-sm","transition-all duration-300 ease-out","active:opacity-70",s?"opacity-100 translate-x-0":"opacity-0 -translate-x-3"),style:{color:"var(--hp-ink)",transitionDelay:s?`${40*r}ms`:"0ms"},children:e.label},e.href))}),(0,t.jsx)("div",{className:"mt-4 pt-4 space-y-0.5",style:{borderTop:"1px solid var(--hp-ink-muted)",borderTopColor:"color-mix(in srgb, var(--hp-ink-muted) 15%, transparent)"},children:m.map((e,r)=>(0,t.jsx)(a.default,{href:e.href,prefetch:!1,onClick:g,className:(0,d.cn)("block font-body text-base py-3 px-4 rounded-sm","transition-all duration-300 ease-out","active:opacity-70",s?"opacity-100 translate-x-0":"opacity-0 -translate-x-3"),style:{color:"var(--hp-ink-soft)",transitionDelay:s?`${(p.length+r)*40}ms`:"0ms"},children:e.label},e.href))})]}),(0,t.jsxs)("div",{className:"px-6 py-4 space-y-3",style:{borderTop:"1px solid var(--hp-ink-muted)",borderTopColor:"color-mix(in srgb, var(--hp-ink-muted) 15%, transparent)"},children:[(0,t.jsx)(h,{}),(0,t.jsxs)(a.default,{href:"/dashboard",prefetch:!1,onClick:g,className:(0,d.cn)("flex items-center justify-center gap-3","w-full py-3.5 rounded-none","font-body text-base font-medium","transition-opacity duration-200 hover:opacity-85","active:scale-[0.98] transition-transform"),style:{background:"var(--hp-ink)",color:"var(--hp-cream)"},children:["Open App",(0,t.jsx)(l.ArrowRight,{className:"w-4 h-4"})]})]})]})]})}function h(){let{resolvedTheme:e,setTheme:r}=(0,o.useTheme)();return(0,t.jsxs)("button",{onClick:()=>r("dark"===e?"light":"dark"),className:"flex items-center justify-between w-full px-4 py-3 rounded-sm active:opacity-70",children:[(0,t.jsx)("span",{className:"font-body text-sm",style:{color:"var(--hp-ink-muted)"},children:"Theme"}),(0,t.jsxs)("span",{className:"inline-flex items-center gap-2 px-3 py-1.5 rounded-full font-body text-xs font-medium",style:{background:"var(--hp-ink)",color:"var(--hp-cream)"},children:[(0,t.jsx)(s.Sun,{className:"w-3 h-3 dark:hidden"}),(0,t.jsx)("span",{className:"dark:hidden",children:"Light"}),(0,t.jsx)(i.Moon,{className:"hidden w-3 h-3 dark:block"}),(0,t.jsx)("span",{className:"hidden dark:inline",children:"Dark"})]})]})}e.s(["HomepageNavbar",()=>g])},438079,e=>{e.v(e=>Promise.resolve().then(()=>e(483476)))}]);

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.