PageSourceSearch

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

js blogsareback.com collected 2026-10-04 22:47:03 UTC 31,717 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,173217,e=>{"use strict";var t=e.i(843476),r=e.i(167881),s=e.i(522016),a=e.i(972520),o=e.i(16862);e.s(["EndingCTAButtons",0,()=>{let{user:e,isLoading:n}=(0,o.useAuthUser)(),l=!n&&!!e;return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:"flex flex-col sm:flex-row gap-4 justify-center items-center mb-8",children:[(0,t.jsx)(r.Button,{asChild:!0,size:"lg",className:"group font-body text-base px-10 py-7 rounded-none",style:{background:"var(--hp-ink)",color:"var(--hp-cream)"},children:(0,t.jsxs)(s.default,{href:"/dashboard",prefetch:!1,children:[(0,t.jsx)("span",{className:"transition-opacity duration-200",children:l?"Continue Reading":"Start Reading Now"}),(0,t.jsx)(a.ArrowRight,{className:"ml-2 w-4 h-4 transition-transform group-hover:translate-x-1"})]})}),l?(0,t.jsx)(r.Button,{asChild:!0,variant:"outline",size:"lg",className:"font-body text-base px-10 py-7 rounded-none",style:{borderColor:"var(--hp-ink)",color:"var(--hp-ink)",background:"transparent"},children:(0,t.jsx)(s.default,{href:"/explore",prefetch:!1,children:"Explore Directory"})}):(0,t.jsx)(r.Button,{asChild:!0,variant:"outline",size:"lg",className:"font-body text-base px-10 py-7 rounded-none",style:{borderColor:"var(--hp-ink)",color:"var(--hp-ink)",background:"transparent"},children:(0,t.jsx)(s.default,{href:"/auth",prefetch:!1,children:"Create Free Account"})})]}),(0,t.jsx)("p",{className:"font-body text-sm",style:{color:"var(--hp-ink-muted)"},children:l?(0,t.jsxs)(t.Fragment,{children:["Welcome back",(0,t.jsx)("span",{className:"mx-2",style:{color:"var(--hp-coral)"},children:"•"}),"Your reading awaits"]}):(0,t.jsxs)(t.Fragment,{children:["No account required",(0,t.jsx)("span",{className:"mx-2",style:{color:"var(--hp-coral)"},children:"•"}),"Add cross-device sync anytime"]})})]})}])},812358,e=>{"use strict";var t=e.i(843476),r=e.i(167881),s=e.i(522016),a=e.i(972520),o=e.i(16862);e.s(["HeroCTAButtons",0,()=>{let{user:e,isLoading:n}=(0,o.useAuthUser)(),l=!n&&!!e;return(0,t.jsxs)("div",{className:"flex flex-col sm:flex-row gap-4 hp-animate-fade-up hp-stagger-3",children:[(0,t.jsx)(r.Button,{asChild:!0,size:"lg",className:"group relative overflow-hidden font-body text-base px-8 py-6 rounded-none hp-btn-glow",style:{background:"var(--hp-ink)",color:"var(--hp-cream)"},children:(0,t.jsxs)(s.default,{href:"/dashboard",prefetch:!1,children:[(0,t.jsx)("span",{className:"transition-opacity duration-200",children:l?"Continue Reading":"Start Reading"}),(0,t.jsx)(a.ArrowRight,{className:"ml-2 w-4 h-4 transition-transform group-hover:translate-x-1"})]})}),l?(0,t.jsx)(r.Button,{asChild:!0,variant:"outline",size:"lg",className:"font-body text-base px-8 py-6 rounded-none transition-colors",style:{borderColor:"var(--hp-ink)",color:"var(--hp-ink)",background:"transparent"},children:(0,t.jsx)(s.default,{href:"/explore",prefetch:!1,children:"Explore Directory"})}):(0,t.jsx)(r.Button,{asChild:!0,variant:"outline",size:"lg",className:"font-body text-base px-8 py-6 rounded-none transition-colors",style:{borderColor:"var(--hp-ink)",color:"var(--hp-ink)",background:"transparent"},children:(0,t.jsx)(s.default,{href:"/auth",prefetch:!1,children:"Create Free Account"})})]})}])},516015,(e,t,r)=>{},898547,(e,t,r)=>{var s=e.i(247167);e.r(516015);var a=e.r(271645),o=a&&"object"==typeof a&&"default"in a?a:{default:a},n=void 0!==s.default&&s.default.env&&!0,l=function(e){return"[object String]"===Object.prototype.toString.call(e)},i=function(){function e(e){var t=void 0===e?{}:e,r=t.name,s=void 0===r?"stylesheet":r,a=t.optimizeForSpeed,o=void 0===a?n:a;c(l(s),"`name` must be a string"),this._name=s,this._deletedRulePlaceholder="#"+s+"-deleted-rule____{}",c("boolean"==typeof o,"`optimizeForSpeed` must be a boolean"),this._optimizeForSpeed=o,this._serverSheet=void 0,this._tags=[],this._injected=!1,this._rulesCount=0;var i="u">typeof window&&document.querySelector('meta[property="csp-nonce"]');this._nonce=i?i.getAttribute("content"):null}var t,r=e.prototype;return r.setOptimizeForSpeed=function(e){c("boolean"==typeof e,"`setOptimizeForSpeed` accepts a boolean"),c(0===this._rulesCount,"optimizeForSpeed cannot be when rules have already been inserted"),this.flush(),this._optimizeForSpeed=e,this.inject()},r.isOptimizeForSpeed=function(){return this._optimizeForSpeed},r.inject=function(){var e=this;if(c(!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.get
1Sheet(),this._optimizeForSpeed||(n||console.warn("StyleSheet: optimizeForSpeed mode not supported falling back to standard mode."),this.flush(),this._injected=!0);return}this._serverSheet={cssRules:[],insertRule:function(t,r){return"number"==typeof r?e._serverSheet.cssRules[r]={cssText:t}:e._serverSheet.cssRules.push({cssText:t}),r},deleteRule:function(t){e._serverSheet.cssRules[t]=null}}},r.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]},r.getSheet=function(){return this.getSheetForTag(this._tags[this._tags.length-1])},r.insertRule=function(e,t){if(c(l(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 r=this.getSheet();"number"!=typeof t&&(t=r.cssRules.length);try{r.insertRule(e,t)}catch(t){return n||console.warn("StyleSheet: illegal rule: \n\n"+e+"\n\nSee https://stackoverflow.com/q/20007992 for more info"),-1}}else{var s=this._tags[t];this._tags.push(this.makeStyleTag(this._name,e,s))}return this._rulesCount++},r.replaceRule=function(e,t){if(this._optimizeForSpeed||"u"<typeof window){var r="u">typeof window?this.getSheet():this._serverSheet;if(t.trim()||(t=this._deletedRulePlaceholder),!r.cssRules[e])return e;r.deleteRule(e);try{r.insertRule(t,e)}catch(s){n||console.warn("StyleSheet: illegal rule: \n\n"+t+"\n\nSee https://stackoverflow.com/q/20007992 for more info"),r.insertRule(this._deletedRulePlaceholder,e)}}else{var s=this._tags[e];c(s,"old rule at index `"+e+"` not found"),s.textContent=t}return e},r.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];c(t,"rule at index `"+e+"` not found"),t.parentNode.removeChild(t),this._tags[e]=null}},r.flush=function(){this._injected=!1,this._rulesCount=0,"u">
1typeof window?(this._tags.forEach(function(e){return e&&e.parentNode.removeChild(e)}),this._tags=[]):this._serverSheet.cssRules=[]},r.cssRules=function(){var e=this;return"u"<typeof window?this._serverSheet.cssRules:this._tags.reduce(function(t,r){return r?t=t.concat(Array.prototype.map.call(e.getSheetForTag(r).cssRules,function(t){return t.cssText===e._deletedRulePlaceholder?null:t})):t.push(null),t},[])},r.makeStyleTag=function(e,t,r){t&&c(l(t),"makeStyleTag accepts only strings as second parameter");var s=document.createElement("style");this._nonce&&s.setAttribute("nonce",this._nonce),s.type="text/css",s.setAttribute("data-"+e,""),t&&s.appendChild(document.createTextNode(t));var a=document.head||document.getElementsByTagName("head")[0];return r?a.insertBefore(s,r):a.appendChild(s),s},t=[{key:"length",get:function(){return this._rulesCount}}],function(e,t){for(var r=0;r<t.length;r++){var s=t[r];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(e,s.key,s)}}(e.prototype,t),e}();function c(e,t){if(!e)throw Error("StyleSheet: "+t+".")}var d=function(e){for(var t=5381,r=e.length;r;)t=33*t^e.charCodeAt(--r);return t>>>0},u={};function h(e,t){if(!t)return"jsx-"+e;var r=String(t),s=e+r;return u[s]||(u[s]="jsx-"+d(e+"-"+r)),u[s]}function p(e,t){"u"<typeof window&&(t=t.replace(/\/style/gi,"\\/style"));var r=e+t;return u[r]||(u[r]=t.replace(/__jsx-style-dynamic-selector/g,e)),u[r]}var m=function(){function e(e){var t=void 0===e?{}:e,r=t.styleSheet,s=void 0===r?null:r,a=t.optimizeForSpeed,o=void 0!==a&&a;this._sheet=s||new i({name:"styled-jsx",optimizeForSpeed:o}),this._sheet.inject(),s&&"boolean"==typeof o&&(this._sheet.setOptimizeForSpeed(o),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 r=this.getIdAndRules(e),s=r.styleId,a=r.rules;if(s in this._instancesCounts){this._instancesCounts[s]+=1;return}var o=a.map(function(e){return t._sheet.insertRule(e)}).filter(function(e){return -1!==e});this._indices[s]=o,this._instancesCounts[s]=1},t.remove=function(e){var t=this,r=this.getIdAndRules(e).styleId;if(function(e,t){if(!e)throw Error("StyleSheetRegistry: "+t+".")}(r in this._instancesCounts,"styleId: `"+r+"` not found"),this._instancesCounts[r]-=1,this._instancesCounts[r]<1){var s=this._fromServer&&this._fromServer[r];s?(s.parentNode.removeChild(s),delete this._fromServer[r]):(this._indices[r].forEach(function(e){return t._sheet.deleteRule(e)}),delete this._indices[r]),delete this._instancesCounts[r]}},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]]}):[],r=this._sheet.cssRules();return t.concat(Object.keys(this._indices).map(function(t){return[t,e._indices[t].map(function(e){return r[e].cssText}).join(e._optimizeForSpeed?"":"\n")]}).filter(function(e){return!!e[1]}))},t.styles=function(e){var t,r;return t=this.cssRules(),void 0===(r=e)&&(r={}),t.map(function(e){var t=e[0],s=e[1];return o.default.createElement("style",{id:"__"+t,key:"__"+t,nonce:r.nonce?r.nonce:void 0,dangerouslySetInnerHTML:{__html:s}})})},t.getIdAndRules=function(e){var t=e.children,r=e.dynamic,s=e.id;if(r){var a=h(s,r);return{styleId:a,rules:Array.isArray(t)?t.map(function(e){return p(a,e)}):[p(a,t)]}}return{styleId:h(s),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=a.createContext(null);function f(){return new m}function y(){return a.useContext(x)}x.displayName="StyleSheetContext";var g=o.default.useInsertionEffect||o.default.useLayoutEffect,v="u">typeof window?f():void 0;function b(e){var t=v||y();return t&&("u"<typeof window?t.add(e):g(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(" ")},r.StyleRegistry=function(e){var t=e.registry,r=e.children,s=a.useContext(x),n=a.useState(function(){return s||t||f()})[0];return o.default.createElement(x.Provider,{value:n},r)},r.createStyleRegistry=f,r.style=b,r.useStyleRegistry=y},437902,(e,t,r)=>{t.exports=e.r(898547).style}
1,61017,e=>{"use strict";var t=e.i(843476),r=e.i(437902),s=e.i(283086),a=e.i(271645);let o=new Set([2,9,15,22]),n=o.size;e.s(["default",0,()=>{let[e,l]=(0,a.useState)("idle"),[i,c]=(0,a.useState)(-1),[d,u]=(0,a.useState)(!1),h=(0,a.useRef)(null),p=(0,a.useRef)(!1),m=(0,a.useRef)(null),x=(0,a.useRef)(null),f=(0,a.useCallback)(()=>{l("running"),c(-1),u(!1);let e=performance.now(),t=-1,r=!1,s=!1,a=0,o=()=>{let n=performance.now()-e;!r&&n>=400&&(r=!0,u(!0));let i=Math.min(Math.floor(n/180),23);if(i>t&&i<24&&(t=i,c(i)),!s&&n>=4320&&(s=!0,l("done")),n>=6820){l("idle"),c(-1),u(!1);return}a=requestAnimationFrame(o)};return a=requestAnimationFrame(o),()=>cancelAnimationFrame(a)},[]),y=(0,a.useCallback)(()=>{m.current=setTimeout(()=>{p.current?(x.current=f()??null,y()):m.current=null},8320)},[f]);return(0,a.useEffect)(()=>{let e=h.current;if(!e)return;let t=new IntersectionObserver(([e])=>{let t=p.current;p.current=e.isIntersecting,!e.isIntersecting||t||m.current||(m.current=setTimeout(()=>{x.current=f()??null,y()},400))},{threshold:.1});return t.observe(e),()=>{t.disconnect(),m.current&&clearTimeout(m.current),x.current?.()}},[f,y]),(0,t.jsxs)("section",{ref:h,style:{background:"var(--hp-paper)"},className:"jsx-931c3a50056ba773 relative py-24 md:py-32 overflow-hidden",children:[(0,t.jsxs)("div",{className:"jsx-931c3a50056ba773 container max-w-6xl mx-auto px-6",children:[(0,t.jsxs)("div",{className:"jsx-931c3a50056ba773 text-center mb-16",children:[(0,t.jsxs)("div",{className:"jsx-931c3a50056ba773 inline-flex items-center gap-3 mb-6",children:[(0,t.jsx)(s.Sparkles,{className:"w-4 h-4",style:{color:"var(--hp-sage)"}}),(0,t.jsx)("span",{style:{color:"var(--hp-sage)"},className:"jsx-931c3a50056ba773 font-body text-sm uppercase tracking-[0.2em]",children:"Efficient by Design"})]}),(0,t.jsx)("h2",{style:{color:"var(--hp-ink)"},className:"jsx-931c3a50056ba773 font-display text-4xl md:text-5xl lg:text-6xl mb-4",children:"Follow generously"}),(0,t.jsxs)("p",{style:{color:"var(--hp-ink-soft)"},className:"jsx-931c3a50056ba773 font-body text-lg md:text-xl max-w-2xl mx-auto",children:["The best writers don't post on a schedule. Follow them anyway—",(0,t.jsx)("strong",{style:{color:"var(--hp-ink)"},className:"jsx-931c3a50056ba773",children:"we only fetch what's new"}),"."]})]}),(0,t.jsxs)("div",{className:"jsx-931c3a50056ba773 grid md:grid-cols-2 gap-6 md:gap-8 max-w-4xl mx-auto",children:[(0,t.jsxs)("div",{style:{background:"var(--hp-cream)",border:"1px solid rgba(28, 25, 23, 0.08)"},className:"jsx-931c3a50056ba773 rounded-xl overflow-hidden",children:[(0,t.jsxs)("div",{style:{borderBottom:"1px solid rgba(28, 25, 23, 0.06)"},className:"jsx-931c3a50056ba773 px-5 py-4 flex items-center justify-between",children:[(0,t.jsx)("span",{style:{color:"var(--hp-ink-muted)"},className:"jsx-931c3a50056ba773 font-body text-xs uppercase tracking-[0.12em]",children:"Traditional RSS"}),(0,t.jsx)("span",{style:{color:"var(--hp-coral)"},className:"jsx-931c3a50056ba773 font-body text-xs tabular-nums",children:"idle"===e?"24 feeds":"done"===e?"24 fetched":`${Math.max(0,i+1)}/24`})]}),(0,t.jsx)("div",{className:"jsx-931c3a50056ba773 p-5",children:(0,t.jsx)("div",{className:"jsx-931c3a50056ba773 grid grid-cols-6 gap-2",children:[...Array(24)].map((r,s)=>{let a="idle"===e?"idle":s<i?"checked":s===i?"checking":"waiting",n=o.has(s);return(0,t.jsx)("div",{style:{background:"checking"===a?"var(--hp-coral)":"checked"===a?n?"var(--hp-sage)":"var(--hp-coral)":void 0,opacity:"checked"!==a||n?"
1waiting"===a?.5:1:.4,transform:"checking"===a?"scale(1.1)":"scale(1)",boxShadow:"checking"===a?"0 0 12px rgba(232, 93, 76, 0.4)":"none"},className:"jsx-931c3a50056ba773 aspect-square rounded-md transition-all duration-150 bg-[rgba(28,25,23,0.08)] dark:bg-[rgba(250,250,249,0.1)]"},s)})})}),(0,t.jsx)("div",{style:{background:"var(--hp-paper)",borderTop:"1px solid rgba(28, 25, 23, 0.06)"},className:"jsx-931c3a50056ba773 px-5 py-3 text-center",children:(0,t.jsx)("span",{style:{color:"var(--hp-ink-muted)"},className:"jsx-931c3a50056ba773 font-body text-xs",children:"Fetches every feed, every time"})})]}),(0,t.jsxs)("div",{style:{background:"var(--hp-cream)",border:"1px solid rgba(28, 25, 23, 0.08)"},className:"jsx-931c3a50056ba773 rounded-xl overflow-hidden",children:[(0,t.jsxs)("div",{style:{borderBottom:"1px solid rgba(28, 25, 23, 0.06)"},className:"jsx-931c3a50056ba773 px-5 py-4 flex items-center justify-between",children:[(0,t.jsx)("span",{style:{color:"var(--hp-ink-muted)"},className:"jsx-931c3a50056ba773 font-body text-xs uppercase tracking-[0.12em]",children:"Our Directory"}),(0,t.jsx)("span",{style:{color:"var(--hp-sage)"},className:"jsx-931c3a50056ba773 font-body text-xs",children:"idle"===e?"24 blogs":d?`${n} new`:"Checking..."})]}),(0,t.jsxs)("div",{className:"jsx-931c3a50056ba773 p-5 relative",children:["running"===e&&!d&&(0,t.jsx)("div",{style:{zIndex:10},className:"jsx-931c3a50056ba773 absolute left-5 right-5 h-full top-5 pointer-events-none overflow-hidden",children:(0,t.jsx)("div",{style:{background:"linear-gradient(90deg, transparent, var(--hp-sage), transparent)",boxShadow:"0 0 20px var(--hp-sage)",animation:"scanDown 400ms ease-out forwards"},className:"jsx-931c3a50056ba773 absolute left-0 right-0 h-1 rounded-full"})}),(0,t.jsx)("div",{className:"jsx-931c3a50056ba773 grid grid-cols-6 gap-2",children:[...Array(24)].map((r,s)=>{let a="idle"===e?"idle":d?o.has(s)?"new":"unchanged":"scanning";return(0,t.jsx)("div",{style:{background:"new"===a?"var(--hp-sage)":"scanning"===a?"rgba(107, 143, 113, 0.2)":void 0,opacity:"unchanged"===a?.4:1,boxShadow:"new"===a?"0 0 12px rgba(107, 143, 113, 0.4)":"none",transform:"new"===a?"scale(1.05)":"scale(1)"},className:"jsx-931c3a50056ba773 aspect-square rounded-md transition-all duration-300 bg-[rgba(28,25,23,0.08)] dark:bg-[rgba(250,250,249,0.1)]"},s)})})]}),(0,t.jsx)("div",{style:{background:"var(--hp-paper)",borderTop:"1px solid rgba(28, 25, 23, 0.06)"},className:"jsx-931c3a50056ba773 px-5 py-3 text-center",children:(0,t.jsx)("span",{style:{color:"var(--hp-ink-muted)"},className:"jsx-931c3a50056ba773 font-body text-xs",children:"One check, fetch only what's new"})})]})]}),(0,t.jsx)("p",{style:{color:"var(--hp-ink-muted)"},className:"jsx-931c3a50056ba773 text-center font-body text-sm mt-10 max-w-xl mx-auto",children:"We poll our directory continuously. Custom blogs you add are fetched normally—we only see the public directory, never your subscriptions."})]}),(0,t.jsx)(r.default,{id:"931c3a50056ba773",children:"@keyframes scanDown{0%{top:0%}to{top:100%}}"})]})}])},589905,e=>{"use strict";var t=e.i(843476),r=e.i(271645),s=e.i(929532);function a(){return(0,s.useReferralTracker)(),null}function o(){return(0,t.jsx)(r.Suspense,{fallback:null,children:(0,t.jsx)(a,{})})}e.s(["ReferralTracker",()=>o])},134545,906859,e=>{"use strict";var t=e.i(639372);let r=(0,t.atom)(null),s=(0,t.atom)(null),a=(0,t.atom)(!1),o=(0,t.atom)(null),n=(0,t.atom)(!1),l=(0,t.atom)(!1);e.s(["directFollowBlogAtom",0,s,"directFollowErrorAtom",0,o,"directFollowLoadingAtom",0,a,"directFollowModalOpenAtom",0,n,"directFollowSuccessAtom",0,l,"directFollowUrlAtom",0,r],134545);var i=e.i(843476),c=e.i(271645),d=e.i(672464),u=e.i(618566),h=e.i(167881),p=e.i(491288),m=e.i(959411),x=e.i(778917),f=e.i(531278),y=e.i(983123),g=e.i(972520),v=e.i(643531),b=e.i(70955),j=e.i(845694),w=e.i(846696);function k(){let e=(0,u.useRouter)(),[t,k]=(0,d.useAtom)(n),[_,N]=(0,d.useAtom)(s),[S,F]=(0,d.useAtom)(l),C=(0,d.useSetAtom)(r),R=(0,d.useSetAtom)(o),A=(0,d.useSetAtom)(a),[z,T]=(0,c.useState)(6),[B,I]=(0,c.useState)(!1),[M,E]=(0,c.useState)(!1),[O,D]=(0,c.useState)(!1);(0,c.useEffect)(()=>{t&&_?(async()=>{D(!0);try{let e=localStorage.getItem("local-user-id");if(!e)return void E(!1);let t=new j.IndexedDBAdapter(e),r=!1;r="directory"===_.source?await t.isFollowingDirectoryBlog(e,_.id):await t.isFollowingCommunityBlog(e,_.id),E(r)}catch(e){console.error("Failed to check follow status:",e),E(!1)}finally{D(!1)}})():E(!1)},[t,_]),(0,c.useEffect)(()=>
1{if(!S)return void T(6);if(z<=0){q(),e.push("/dashboard");return}let t=setTimeout(()=>{T(e=>e-1)},1e3);return()=>clearTimeout(t)},[S,z,e]);let q=(0,c.useCallback)(()=>{C(null),N(null),R(null),A(!1),k(!1),F(!1)},[C,N,R,A,k,F]),L=async()=>{if(_){I(!0);try{let e,t=localStorage.getItem("local-user-id");t||(t=`local-${crypto.randomUUID()}`,localStorage.setItem("local-user-id",t));let r=new j.IndexedDBAdapter(t),s={feed_url:_.feed_url,title:_.title,description:_.description,url:_.url,site_icon:_.site_icon??void 0,has_full_content:_.has_full_content,category:_.category,requires_proxy:_.requires_proxy,posts_require_proxy:_.posts_require_proxy,blocks_iframe:_.blocks_iframe,has_partial_archive:_.has_partial_archive};if(!(e="directory"===_.source?await (0,b.followDirectoryBlog)(r,t,_.id,[],s):await (0,b.followCommunityBlog)(r,t,_.id,[],s)).success)return void(e.error?.includes("already following")?w.toast.error("You are already following this blog"):w.toast.error(e.error||"Failed to follow blog"));w.toast.success("Blog added to your timeline"),F(!0)}catch(e){console.error("Failed to follow blog:",e),w.toast.error("Failed to follow blog")}finally{I(!1)}}},P=()=>{q()},U=()=>{q(),e.push("/dashboard")};return _?(0,i.jsx)(p.Modal,{open:t,onOpenChange:e=>!e&&P(),children:(0,i.jsxs)(p.ModalContent,{className:"homepage sm:max-w-lg overflow-hidden p-0 gap-0 border-0",children:[(0,i.jsx)("div",{className:"absolute inset-0 -z-10",style:{background:"var(--hp-cream)"}}),(0,i.jsx)("div",{className:"absolute inset-0 -z-10 opacity-[0.02]",style:{backgroundImage:"radial-gradient(var(--hp-ink) 0.5px, transparent 0.5px)",backgroundSize:"12px 12px"}}),O?(0,i.jsxs)("div",{className:"py-16 px-8 text-center",children:[(0,i.jsx)(m.Root,{children:(0,i.jsx)(p.ModalTitle,{children:"Loading"})}),(0,i.jsx)(f.Loader2,{className:"mx-auto w-8 h-8 animate-spin",style:{color:"var(--hp-ink-muted)"}}),(0,i.jsx)("p",{className:"mt-4 font-body text-sm",style:{color:"var(--hp-ink-muted)"},children:"Checking..."})]}):M?(0,i.jsxs)("div",{className:"relative",children:[(0,i.jsx)("div",{className:"absolute top-0 right-0 w-24 h-24 opacity-10",style:{background:"linear-gradient(45deg, transparent 50%, var(--hp-sage) 50%)"}}),(0,i.jsxs)(p.ModalHeader,{className:"pt-10 pb-6 px-8 text-center",children:[(0,i.jsx)("div",{className:"mx-auto mb-6 w-16 h-16 rounded-full flex items-center justify-center",style:{background:"rgba(107, 143, 113, 0.15)",border:"2px solid var(--hp-sage)"},children:(0,i.jsx)(v.Check,{className:"w-7 h-7",style:{color:"var(--hp-sage)"}})}),(0,i.jsx)(p.ModalTitle,{className:"font-display text-2xl md:text-3xl tracking-tight",style:{color:"var(--hp-ink)"},children:"Already Following"}),(0,i.jsxs)(p.ModalDescription,{className:"font-body text-base mt-2",style:{color:"var(--hp-ink-soft)"},children:[(0,i.jsx)("span",{style:{color:"var(--hp-ink)"},children:_.title})," ","is already in your feed"]})]}),(0,i.jsx)("div",{className:"px-8 pb-6",children:(0,i.jsxs)("div",{className:"flex items-center gap-4 p-4 rounded-sm",style:{background:"var(--hp-cream-warm)",borderLeft:"3px solid var(--hp-sage)"},children:[_.site_icon?(0,i.jsx)("img",{src:_.site_icon,alt:"",className:"w-10 h-10 rounded-sm object-cover shrink-0"}):(0,i.jsx)("div",{className:"w-10 h-10 rounded-sm flex items-center justify-center shrink-0",style:{background:"rgba(232, 93, 76, 0.1)"},children:(0,i.jsx)(y.Rss,{className:"w-5 h-5",style:{color:"var(--hp-coral)"}})}),(0,i.jsxs)("div",{className:"min-w-0",children:[(0,i.jsx)("p",{className:"font-display text-base truncate",style:{color:"var(--hp-ink)"},children:_.title}),(0,i.jsx)("p",{className:"font-body text-xs mt-0.5",style:{color:"var(--hp-ink-muted)"},children:"Following since you last visited"})]})]})}),(0,i.jsxs)(p.ModalFooter,{className:"flex-col gap-3 px-8 pb-8 pt-2 sm:flex-row justify-center",style:{background:"transparent"},children:[(0,i.jsx)(h.Button,{variant:"ghost",onClick:P,className:"w-full sm:w-auto font-body text-sm px-6 py-5 rounded-none transition-colors",style:{color:"var(--hp-ink-muted)",background:"transparent"},children:"Close"}),(0,i.jsxs)(h.Button,{onClick:U,className:"group w-full sm:w-auto font-body text-sm px-6 py-5 rounded-none",style:{background:"var(--hp-ink)",color:"var(--hp-cream)"},children:["Go to Feed",(0,i.jsx)(g.ArrowRight,{className:"ml-2 w-4 h-4 transition-transform group-hover:translate-x-1"})]})]})]}):S?(0,i.jsxs)("div",{className:"relative",children:[(0,i.jsx)("div",{className:"absolute top-0 right-0 w-24 h-24 opacity-10",style:{background:"linear-gradient(45deg, transparent 50%, var(--hp-sage) 50%)"}}),(0,i.jsx)("div",{className:"absolute bottom-0 left-0 w-16 h-16 opacity-10",style:{background:"linear-gradient(45deg, var(--hp-coral) 50%, transparent 50%)"}}),(0,i.jsxs)(p.ModalHeader,{className:"pt-10 pb-6 px-8 text-center",children:[(0,i.jsx)("div",{className:"mx-auto mb-6 w-16 h-16 rounded-full flex items-center justify-center hp-animate-scale-in",style:{background:"rgba(107, 143, 113, 0.15)",border:"2px s
1olid var(--hp-sage)"},children:(0,i.jsx)(v.Check,{className:"w-7 h-7",style:{color:"var(--hp-sage)"}})}),(0,i.jsx)(p.ModalTitle,{className:"font-display text-2xl md:text-3xl tracking-tight hp-animate-fade-up hp-stagger-1",style:{color:"var(--hp-ink)"},children:"You're In"}),(0,i.jsxs)(p.ModalDescription,{className:"font-body text-base mt-2 hp-animate-fade-up hp-stagger-2",style:{color:"var(--hp-ink-soft)"},children:[(0,i.jsx)("span",{style:{color:"var(--hp-ink)"},children:_.title})," ","will now appear in your feed"]})]}),(0,i.jsxs)("div",{className:"px-8 pb-6 hp-animate-fade-up hp-stagger-3",children:[(0,i.jsxs)("div",{className:"flex items-center gap-4 p-4 rounded-sm",style:{background:"var(--hp-cream-warm)",borderLeft:"3px solid var(--hp-sage)"},children:[_.site_icon?(0,i.jsx)("img",{src:_.site_icon,alt:"",className:"w-10 h-10 rounded-sm object-cover shrink-0"}):(0,i.jsx)("div",{className:"w-10 h-10 rounded-sm flex items-center justify-center shrink-0",style:{background:"rgba(232, 93, 76, 0.1)"},children:(0,i.jsx)(y.Rss,{className:"w-5 h-5",style:{color:"var(--hp-coral)"}})}),(0,i.jsxs)("div",{className:"min-w-0",children:[(0,i.jsx)("p",{className:"font-display text-base truncate",style:{color:"var(--hp-ink)"},children:_.title}),(0,i.jsx)("p",{className:"font-body text-xs mt-0.5",style:{color:"var(--hp-ink-muted)"},children:"Now following"})]})]}),(0,i.jsxs)("p",{className:"text-center mt-6 font-body text-sm",style:{color:"var(--hp-ink-muted)"},children:["Taking you to your feed in"," ",(0,i.jsx)("span",{className:"font-display text-base tabular-nums",style:{color:"var(--hp-coral)"},children:z})]})]}),(0,i.jsx)(p.ModalFooter,{className:"px-8 pb-8 pt-2 justify-center",style:{background:"transparent"},children:(0,i.jsxs)(h.Button,{onClick:U,className:"group font-body text-sm px-6 py-5 rounded-none hp-animate-fade-up hp-stagger-4",style:{background:"var(--hp-ink)",color:"var(--hp-cream)"},children:["Go Now",(0,i.jsx)(g.ArrowRight,{className:"ml-2 w-4 h-4 transition-transform group-hover:translate-x-1"})]})})]}):(0,i.jsxs)("div",{className:"relative",children:[(0,i.jsx)("div",{className:"absolute top-0 right-0 w-16 h-16",style:{background:"linear-gradient(45deg, transparent 50%, var(--hp-coral) 50%)",opacity:.1,borderRadius:"0 8px 0 0"}}),(0,i.jsxs)(p.ModalHeader,{className:"pt-8 pb-4 px-8 text-center",children:[(0,i.jsxs)("div",{className:"flex items-center justify-center gap-3 mb-4",children:[(0,i.jsx)("div",{className:"w-8 h-px",style:{background:"var(--hp-coral)"}}),(0,i.jsx)("span",{className:"font-body text-xs uppercase tracking-[0.2em]",style:{color:"var(--hp-coral)"},children:"Invitation"}),(0,i.jsx)("div",{className:"w-8 h-px",style:{background:"var(--hp-coral)"}})]}),(0,i.jsx)(p.ModalTitle,{className:"font-display text-2xl md:text-3xl tracking-tight",style:{color:"var(--hp-ink)"},children:"Follow This Blog?"}),(0,i.jsx)(p.ModalDescription,{className:"font-body text-base mt-2",style:{color:"var(--hp-ink-soft)"},children:"Add to your personal reading feed"})]}),(0,i.jsx)("div",{className:"px-8 py-4",children:(0,i.jsxs)("div",{className:"relative p-5 rounded-sm hp-card-lift",style:{background:"var(--hp-cream-warm)",border:"1px solid rgba(28, 25, 23, 0.08)"},children:[(0,i.jsxs)("div",{className:"flex items-start gap-4",children:[_.site_icon?(0,i.jsx)("img",{src:_.site_icon,alt:"",className:"w-14 h-14 rounded-sm object-cover shrink-0",style:{boxShadow:"0 2px 8px rgba(0, 0, 0, 0.08)"}}):(0,i.jsx)("div",{className:"w-14 h-14 rounded-sm flex items-center justify-center shrink-0",style:{background:"linear-gradient(135deg, var(--hp-coral) 0%, var(--hp-coral-soft) 100%)"},children:(0,i.jsx)(y.Rss,{className:"w-6 h-6",style:{color:"white"}})}),(0,i.jsxs)("div",{className:"min-w-0 flex-1",children:[(0,i.jsx)("h3",{className:"font-display text-lg leading-tight truncate",style:{color:"var(--hp-ink)"},children:_.title}),_.description&&(0,i.jsx)("p",{className:"font-body text-sm mt-2 line-clamp-2 leading-relaxed",style:{color:"var(--hp-ink-soft)"},children:_.description}),(0,i.jsxs)("a",{href:_.url,target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-1.5 mt-3 font-body text-xs transition-opacity hover:opacity-70",style:{color:"var(--hp-coral)"}
1,children:["Visit blog",(0,i.jsx)(x.ExternalLink,{className:"w-3 h-3"})]})]})]}),(0,i.jsx)("div",{className:"absolute -top-2 -right-2",children:(0,i.jsx)("span",{className:"inline-flex items-center px-2.5 py-1 font-body text-[10px] uppercase tracking-wider",style:{background:"directory"===_.source?"var(--hp-ink)":"var(--hp-coral)",color:"var(--hp-cream)",transform:"rotate(3deg)"},children:"directory"===_.source?"Directory":"Community"})})]})}),(0,i.jsxs)(p.ModalFooter,{className:"flex-col gap-3 px-8 pb-8 pt-4 sm:flex-row",style:{background:"transparent"},children:[(0,i.jsx)(h.Button,{variant:"ghost",onClick:P,className:"w-full sm:w-auto font-body text-sm px-6 py-5 rounded-none transition-colors",style:{color:"var(--hp-ink-muted)",background:"transparent"},children:"Not now"}),(0,i.jsx)(h.Button,{onClick:L,disabled:B,className:"group w-full sm:w-auto font-body text-sm px-6 py-5 rounded-none",style:{background:"var(--hp-ink)",color:"var(--hp-cream)"},children:B?(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(f.Loader2,{className:"mr-2 w-4 h-4 animate-spin",style:{color:"var(--hp-cream)"}}),"Following..."]}):(0,i.jsxs)(i.Fragment,{children:["Follow",(0,i.jsx)(g.ArrowRight,{className:"ml-2 w-4 h-4 transition-transform group-hover:translate-x-1"})]})})]})]})]})}):null}function _(){return(0,i.jsx)(c.Suspense,{fallback:null,children:(0,i.jsx)(k,{})})}e.s(["DirectFollowModal",()=>_],906859)},894775,e=>{"use strict";var t=e.i(843476),r=e.i(271645),s=e.i(672464),a=e.i(618566),o=e.i(134545),n=e.i(906859);function l(){return!function(){let e=(0,a.useSearchParams)(),t=(0,a.useRouter)(),[n,l]=(0,s.useAtom)(o.directFollowUrlAtom),[i,c]=(0,s.useAtom)(o.directFollowBlogAtom),[d,u]=(0,s.useAtom)(o.directFollowLoadingAtom),[h,p]=(0,s.useAtom)(o.directFollowErrorAtom),m=(0,s.useSetAtom)(o.directFollowModalOpenAtom),x=(0,s.useSetAtom)(o.directFollowSuccessAtom);(0,r.useEffect)(()=>{let t=e.get("follow")||e.get("subscribe");if(t&&t.trim()){l(t.trim());{let e=new URL(window.location.href);e.searchParams.delete("follow"),e.searchParams.delete("subscribe"),window.history.replaceState({},"",e.pathname+e.search)}}},[e,l]),(0,r.useEffect)(()=>{!n||i||d||(async()=>{u(!0),p(null);try{let e=await fetch(`/api/follow/lookup?url=${encodeURIComponent(n)}`);if(e.ok){let t=await e.json();t.success&&t.blog?(c(t.blog),m(!0)):(p("Blog not found in our catalog"),l(null))}else 404===e.status?p("Blog not found in our catalog"):p("Failed to look up blog"),l(null)}catch(e){console.error("Direct follow lookup failed:",e),p("Failed to look up blog"),l(null)}finally{u(!1)}})()},[n,i,d,u,p,c,l,m]);let f=(0,r.useCallback)(()=>{l(null),c(null),p(null),u(!1),m(!1),x(!1)},[l,c,p,u,m,x]);(0,r.useCallback)(()=>{x(!0)},[x]),(0,r.useCallback)(()=>{f(),t.push("/dashboard")},[f,t])}(),(0,t.jsx)(n.DirectFollowModal,{})}function i(){return(0,t.jsx)(r.Suspense,{fallback:null,children:(0,t.jsx)(l,{})})}e.s(["DirectFollowTracker",()=>i],894775)}]);

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.