1;!function(){try { var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&((e._debugIds|| (e._debugIds={}))[n]="32e40c09-9af1-3463-48a9-d7fa8e76ec9c")}catch(e){}}(); 2(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,345327,e=>{"use strict";var t=e.i(843476),r=e.i(500932),n=e.i(657688),a=e.i(731876);e.s(["default",0,function(e){let l,i,s,o,c=(0,r.c)(11);return c[0]!==e.className?(l=(0,a.cn)("h-6 text-sm flex items-center text-muted-foreground space-x-2",e.className),c[0]=e.className,c[1]=l):l=c[1],c[2]!==e.imgClassName||c[3]!==e.imgSrc?(i=e.imgSrc&&(0,t.jsx)(n.default,{src:e.imgSrc,alt:"Blog icon",width:16,height:16,className:(0,a.cn)("rounded-full",e.imgClassName)}),c[2]=e.imgClassName,c[3]=e.imgSrc,c[4]=i):i=c[4],c[5]!==e.name?(s=(0,t.jsx)("span",{className:"truncate max-w-[180px] font-normal font-sans",children:e.name}),c[5]=e.name,c[6]=s):s=c[6],c[7]!==l||c[8]!==i||c[9]!==s?(o=(0,t.jsxs)("div",{className:l,children:[i,s]}),c[7]=l,c[8]=i,c[9]=s,c[10]=o):o=c[10],o}])},348028,e=>{"use strict";e.i(924856);var t=e.i(493298),r=e.i(198983);e.s(["getNoteUrl",0,function(e,n,a=!1){let l=function(e){try{return encodeURIComponent(decodeURIComponent(e))}catch{return encodeURIComponent(e)}}(a?n?.id||"":n?.slug||n?.id||""),{fullUrl:i,customDomainOrRelativeUrl:s}=(0,r.getBlogUrl)(e),o=(0,t.joinUrlPath)(s,l);return{fullNoteUrl:(0,t.joinUrlPath)(i,l),relativeNoteUrl:o}}],348028)},775003,e=>{"use strict";var t=e.i(500932);e.i(924856);var r=e.i(507940),n=e.i(912598),a=e.i(672464),l=e.i(889362),i=e.i(715571),s=e.i(611263),o=e.i(805998),c=e.i(418397),u=e.i(868713),d=e.i(368075),m=e.i(87220);let p=[...new Set([...d.supportTiers,...d.writerTiers].map(e=>e.value))];function h(){}e.s(["useSupportModal",0,function(){let e,d,f,x,g=(0,t.c)(11),y=(0,a.useSetAtom)(s.supportModalAtom),v=(0,n.useQueryClient)(),{address:w}=(0,i.useAccount)();g[0]!==w||g[1]!==v?(e=e=>{let t=e.coinId;!t||(v.prefetchQuery({queryKey:["coinData",t],queryFn:async()=>{let e=await (0,o.getCoinById)(t);return e&&(0,r.isValidCoin)(e)?e:null},staleTime:3e4,retry:!1}),v.prefetchQuery({queryKey:["coinPriceInUSD",t],queryFn:()=>(0,o.getCoinPriceInUSD)(t),staleTime:3e4,retry:!1}),v.prefetchQuery({queryKey:[m.POST_QUERY_KEYS.ALL_AVATAR,t,6],queryFn:()=>(0,o.getCoinSupporters)({coinId:t,onlyAvatars:!0,limit:6}),staleTime:3e4,retry:!1}),w&&v.fetchQuery({queryKey:["ethPriceInUSD"],queryFn:c.getCurrentEthPriceInUSD,staleTime:3e5}).then(e=>{if(e&&!(e<=0))for(let r of p){let n=(0,l.parseEther)(String(Number(r)/e));v.prefetchQuery({queryKey:["paymentOptions",t,r,w],queryFn:()=>(0,u.getPaymentOptionsForAmount)(t,n,w),staleTime:3e4})}}).catch(h))},g[0]=w,g[1]=v,g[2]=e):e=g[2];let j=e;g[3]!==y?(d=(e,t)=>{e.coinId&&y({isOpen:!0,coinId:e.coinId,title:`Support ${e.name}`,modalType:"writer",blog:e,post:t})},g[3]=y,g[4]=d):d=g[4];let b=d;g[5]!==y?(f=()=>{y({isOpen:!1})},g[5]=y,g[6]=f):f=g[6];let k=f;return g[7]!==k||g[8]!==b||g[9]!==j?(x={openSupport:b,closeSupport:k,prefetchSupportData:j},g[7]=k,g[8]=b,g[9]=j,g[10]=x):x=g[10],x}])},902454,e=>{"use strict";let t="noopener noreferrer nofollow ugc";e.s(["USER_GENERATED_LINK_REL",0,t,"userGeneratedLinkRel",0,function(e){if("string"==typeof e)try{let t=new URL(e.startsWith("//")?`https:${e}`:e);if(("https:"===t.protocol||"http:"===t.protocol)&&"armstr.ng"===t.hostname&&!t.username&&!t.password)return"noopener"}catch{}return t}])},853773,e=>{"use strict";var t=e.i(843476),r=e.i(500932);e.i(924856);var n=e.i(275643),a=e.i(738635),l=e.i(731876);e.s(["default",0,function(e){let i,s,o,c=(0,r.c)(9),{date:u,className:d,showOnSmallScreens:m,showRelative:p}=e,h=void 0!==p&&p;if(c[0]!==u||c[1]!==h){let e="number"==typeof u?u:u.getTime();i=h?(0,n.formatRelativeTime)(e):new Date(e).toLocaleDateString("en-US",{month:"short",day:"numeric",timeZone:"UTC"}),c[0]=u,c[1]=h,c[2]=i}else i=c[2];let f=!(void 0!==m&&m)&&"hidden 4xs:flex";return c[3]!==d||c[4]!==f?(s=(0,l.cn)("font-sans h-6 text-sm px-2 font-normal text-nowrap",f,d),c[3]=d,c[4]=f,c[5]=s):s=c[5],c[6]!==i||c[7]!==s?(o=(0,t.jsx)(a.Badge,{variant:"tag",className:s,children:i}),c[6]=i,c[7]=s,c[8]=o):o=c[8],o}])},500774,e=>{"use strict";
2let t=(0,e.i(796019).default)("Heart",[["path",{d:"M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z",key:"c3ymky"}]]);e.s(["Heart",0,t],500774)},621397,e=>{"use strict";var t=e.i(843476),r=e.i(500932),n=e.i(500774),a=e.i(271645),l=e.i(738635),i=e.i(380266),s=e.i(775003),o=e.i(731876);e.s(["SupportBadge",0,function(e){let c,u,d,m,p,h,f,x,g,y,v=(0,r.c)(22),{blog:w,post:j,initialCount:b}=e,{openSupport:k}=(0,s.useSupportModal)(),[N,S]=(0,a.useState)(!1),_=b??0;v[0]!==w||v[1]!==k||v[2]!==j?(c=e=>{e.preventDefault(),e.stopPropagation(),k(w,j)},v[0]=w,v[1]=k,v[2]=j,v[3]=c):c=v[3],v[4]===Symbol.for("react.memo_cache_sentinel")?(u=()=>S(!0),d=()=>S(!1),v[4]=u,v[5]=d):(u=v[4],d=v[5]);let A=N&&"text-pink-500";v[6]!==A?(m=(0,o.cn)("transition-colors duration-300",A),v[6]=A,v[7]=m):m=v[7],v[8]!==m?(p=(0,t.jsx)(n.Heart,{size:20,strokeWidth:2.2,className:m}),v[8]=m,v[9]=p):p=v[9];let E=N&&"text-pink-500";return v[10]!==E?(h=(0,o.cn)("font-bold select-none transition-colors duration-300",E),v[10]=E,v[11]=h):h=v[11],v[12]!==_||v[13]!==h?(f=(0,t.jsx)("span",{className:h,children:_}),v[12]=_,v[13]=h,v[14]=f):f=v[14],v[15]!==c||v[16]!==p||v[17]!==f?(x=(0,t.jsx)(i.TooltipTrigger,{asChild:!0,children:(0,t.jsxs)(l.Badge,{variant:"outline",className:"flex items-center gap-2 border-none text-muted-foreground p-0 hover:text-foreground transition-colors cursor-pointer",onClick:c,onMouseEnter:u,onMouseLeave:d,children:[p,f]})}),v[15]=c,v[16]=p,v[17]=f,v[18]=x):x=v[18],v[19]===Symbol.for("react.memo_cache_sentinel")?(g=(0,t.jsx)(i.TooltipContent,{className:"liquid-glass-tint-heavy liquid-glass-blur-large",children:(0,t.jsx)("p",{children:"Support this writer"})}),v[19]=g):g=v[19],v[20]!==x?(y=(0,t.jsx)(i.TooltipProvider,{children:(0,t.jsxs)(i.Tooltip,{children:[x,g]})}),v[20]=x,v[21]=y):y=v[21],y}])},166202,333339,e=>{"use strict";var t=e.i(843476),r=e.i(500932),n=e.i(266027);function a(e,t){if(!e&&!t)return 0;if(!e)return -1;if(!t)return 1;if(e.avatar_url&&t.avatar_url)e.avatar_url,t.avatar_url;else if(e.avatar_url)return -1;else if(t.avatar_url)return 1;return 0}var l=e.i(29270),i=e.i(619089),s=e.i(731876);function o(e){let n,a,l,o,c,u,d=(0,r.c)(16),{badge:m,small:p,position:h,className:f}=e,x=p?"-space-x-1 hover:space-x-0":"-space-x-3 hover:space-x-0";return d[0]!==f||d[1]!==x?(n=(0,s.cn)("flex flex-row justify-center ",x,"*:ring *:ring-background",f),d[0]=f,d[1]=x,d[2]=n):n=d[2],d[3]===Symbol.for("react.memo_cache_sentinel")?(a=[void 0,void 0,void 0],d[3]=a):a=d[3],d[4]!==p?(l=a.map((e,r)=>(0,t.jsx)(i.Skeleton,{className:(0,s.cn)(p?"h-6 w-6 hidden 4xs:flex":"h-8 w-8","transition-all rounded-full")},r)),d[4]=p,d[5]=l):l=d[5],d[6]!==n||d[7]!==l?(o=(0,t.jsx)("div",{className:n,children:l}),d[6]=n,d[7]=l,d[8]=o):o=d[8],d[9]!==m||d[10]!==h||d[11]!==p?(c=m&&"vertical"===h?(0,t.jsx)(i.Skeleton,{className:"h-4 w-40 mt-1"}):m&&(0,t.jsx)(i.Skeleton,{className:(0,s.cn)(p?"h-6":"h-8","w-24 rounded-full !-ml-1 border-l-[3px] border-l-white dark:border-l-black")}),d[9]=m,d[10]=h,d[11]=p,d[12]=c):c=d[12],d[13]!==o||d[14]!==c?(u=(0,t.jsxs)(t.Fragment,{children:[o,c]}),d[13]=o,d[14]=c,d[15]=u):u=d[15],u}var c=e.i(805998),u=e.i(73833),d=e.i(284503);let m="/collectibles";async function p(e){let t=await (0,d.default)(`${m}/notes/${e}/postcollectible`,{next:{revalidate:!1}},{ignoreImpersonation:!0,bypassCookies:!0});if(0!==Object.keys(t).length)return t}async function h(e,t){let r=new URLSearchParams({size:t?.toString()||"10"}),n=await (0,d.default)(`${m}/collectors/overview/${e}?${r.toString()}`,{next:{revalidate:1800}},{bypassCookies:!0});return(0,u.isErrorResponse)(n)?(console.error("Error getting collectors",n),{total:0,records:[]}):n}e.s(["getCollectorsOverview",0,h,"getPostCollectible",0,p],333339);var f=e.i(909069),x=e.i(621397);function g(e){return e.stopPropagation()}e.s(["PostCardFooterClient",0,function(e){let i,s,u,d,m,y,v,w,j,b=(0,r.c)(48),{blog:k,post:N,supporterCount:S}=e,_=!!N.coinId,A="coinId"in k&&!!k.coinId,E=N.coinId;b[0]!==E?(i=["coinSupportersAvatars",E],s=async()=>
2{if(E)return(0,c.getCoinSupporters)({coinId:E,onlyAvatars:!0,limit:3})},b[0]=E,b[1]=i,b[2]=s):(i=b[1],s=b[2]);let C=!!E;b[3]!==i||b[4]!==s||b[5]!==C?(u={queryKey:i,queryFn:s,enabled:C,staleTime:3e5},b[3]=i,b[4]=s,b[5]=C,b[6]=u):u=b[6];let{data:U,isLoading:P}=(0,n.useQuery)(u);b[7]!==E?(d=["coinSupportersAll",E],m=async()=>{if(E)return(0,c.getCoinSupporters)({coinId:E,limit:10})},b[7]=E,b[8]=d,b[9]=m):(d=b[8],m=b[9]);let T=!!E;b[10]!==d||b[11]!==m||b[12]!==T?(y={queryKey:d,queryFn:m,enabled:T,staleTime:3e5},b[10]=d,b[11]=m,b[12]=T,b[13]=y):y=b[13];let{data:O,isLoading:I}=(0,n.useQuery)(y);b[14]!==N.id?(w=["collectors",N.id],v=async()=>{let e=await p(N.id);if(!e)return null;let{total:t,records:r}=await h(e.id,3);return 0===t?null:{total:t,records:r}},b[14]=N.id,b[15]=v,b[16]=w):(v=b[15],w=b[16]);let L=!_&&!A;b[17]!==v||b[18]!==L||b[19]!==w?(j={queryKey:w,queryFn:v,enabled:L,staleTime:3e5},b[17]=v,b[18]=L,b[19]=w,b[20]=j):j=b[20];let{data:R,isLoading:z}=(0,n.useQuery)(j),D=P||I||z;if(_){let e,r;b[21]!==O||b[22]!==U?(e=(0,f.getAvatars)(U,O),b[21]=O,b[22]=U,b[23]=e):e=b[23];let n=e,a=O?.totalSupporterCount||0,i=`${a}${!D&&1!==a?" supporters":" supporter"}`,s=null;if(D){let e;b[24]===Symbol.for("react.memo_cache_sentinel")?(e=(0,t.jsx)(o,{small:!0,badge:!0}),b[24]=e):e=b[24],s=e}else if(n&&n.length>0){let e;b[25]!==n||b[26]!==i?(e=(0,t.jsx)(l.default,{avatars:n,text:i,small:!0}),b[25]=n,b[26]=i,b[27]=e):e=b[27],s=e}else if(a>0){let e;b[28]!==i?(e=(0,t.jsx)("span",{className:"text-sm text-muted-foreground",children:i}),b[28]=i,b[29]=e):e=b[29],s=e}return s?(b[30]!==s?(r=(0,t.jsx)("div",{className:"z-20 p-4 flex flex-col gap-2 mt-auto",children:(0,t.jsx)("div",{className:"flex items-center gap-3",children:s})}),b[30]=s,b[31]=r):r=b[31],r):null}if(A){let e;return b[32]!==k||b[33]!==N||b[34]!==S?(e=(0,t.jsx)("div",{className:"z-20 flex px-4 py-2 mt-auto",onClick:g,children:(0,t.jsx)(x.SupportBadge,{blog:k,post:N,initialCount:S})}),b[32]=k,b[33]=N,b[34]=S,b[35]=e):e=b[35],e}if(R){let e,r,n,i;b[36]!==R.records||b[37]!==R.total?(e=function(e,t){let r=e.map(e=>"user"in e&&e.user&&Object.keys(e.user).length>0?{id:e.userId,wallet_address:e.user?.walletAddress,lowercase_wallet_address:e.user?.walletAddress?.toLowerCase(),...e.user}:{id:e?.userId,wallet_address:e?.walletAddress,lowercase_wallet_address:e?.walletAddress?.toLowerCase()}).sort(a).slice(0,3);for(;r.length<3&&r.length<t;)r.push({id:`placeholder-${r.length}`});return r}(R.records,R.total),b[36]=R.records,b[37]=R.total,b[38]=e):e=b[38];let s=e,c=`${R.total} collected`,u=null;if(D){let e;b[39]===Symbol.for("react.memo_cache_sentinel")?(e=(0,t.jsx)(o,{small:!0,badge:!0}),b[39]=e):e=b[39],u=e}else if(s.length>0){let e;b[40]!==s||b[41]!==c?(e=(0,t.jsx)(l.default,{avatars:s,text:c,small:!0}),b[40]=s,b[41]=c,b[42]=e):e=b[42],u=e}return u?(b[43]!==u?(r=(0,t.jsx)("div",{className:"z-20 p-2 pl-4 flex items-center gap-3",children:u}),b[43]=u,b[44]=r):r=b[44],b[45]===Symbol.for("react.memo_cache_sentinel")?(n=(0,t.jsx)("div",{className:"h-4"}),b[45]=n):n=b[45],b[46]!==r?(i=(0,t.jsxs)("div",{className:"flex flex-col mt-auto",children:[r,n]}),b[46]=r,b[47]=i):i=b[47],i):null}return null}],166202)},637584,e=>{"use strict";var t=e.i(843476),r=e.i(500932),n=e.i(657688),a=e.i(853773),l=e.i(345327);e.s(["PostCardImage",0,function(e){let i,s,o,c,u,d=(0,r.c)(16),{coverImg:m,coverAlt:p,text:h,priority:f,blogName:x,blogIcon:g,publishedAt:y}=e;return d[0]!==p||d[1]!==m||d[2]!==f||d[3]!==h?(i=(0,t.jsx)("div",{className:"relative w-full h-full transition-transform duration-300 ease-in-out group-hover:scale-105",children:m?(0,t.jsx)(n.default,{className:"object-cover w-full h-full",src:m.src,alt:p?.trim()||"Post cover image",fill:!0,sizes:"(min-width: 768px) 510px, 100vw",priority:f}):(0,t.jsx)("div",{className:"flex items-center justify-center w-full h-full px-4 bg-muted/30",children:(0,t.jsx)("span",{className:"text-2xl text-center text-foreground font-header",children:h})})}),d[0]=p,d[1]=m,d[2]=f,d[3]=h,d[4]=i):i=d[4],d[5]!==g||d[6]!==x?(s=(0,t.jsx)(l.default,{className:"rounded-2xl backdrop-blur-md px-2 bg-muted/80 text-foreground",imgClassName:"rounded-sm",name:x,imgSrc:g}),d[5]=g,d[6]=x,d[7]=s):s=d[7],d[8]!==y?(o=(0,t.jsx)(a.default,{className:"rounded-xl backdrop-blur-md px-2 bg-muted/80 text-foreground",date:y,showRelative:!0}),d[8]=y,d[9]=o):o=d[9],d[10]!==s||d[11]!==o?(c=(0,t.jsxs)("div",{className:"absolute top-0 left-0 right-0 flex justify-between items-center m-2 roun
2ded-2xl space-x-1",children:[s,o]}),d[10]=s,d[11]=o,d[12]=c):c=d[12],d[13]!==i||d[14]!==c?(u=(0,t.jsxs)("div",{className:"w-full overflow-hidden rounded-lg rounded-t-xl relative aspect-[2/1]",children:[i,c]}),d[13]=i,d[14]=c,d[15]=u):u=d[15],u}])},40249,e=>{"use strict";var t=e.i(843476),r=e.i(500932),n=e.i(775003);e.s(["SupportDataPrefetcher",0,function(e){let a,l,i=(0,r.c)(8),{blog:s,children:o}=e,{prefetchSupportData:c}=(0,n.useSupportModal)();if(!s.coinId){let e;return i[0]!==o?(e=(0,t.jsx)(t.Fragment,{children:o}),i[0]=o,i[1]=e):e=i[1],e}return i[2]!==s||i[3]!==c?(a=()=>c(s),i[2]=s,i[3]=c,i[4]=a):a=i[4],i[5]!==o||i[6]!==a?(l=(0,t.jsx)("div",{className:"contents",onMouseEnter:a,children:o}),i[5]=o,i[6]=a,i[7]=l):l=i[7],l}])},673677,e=>{"use strict";var t=e.i(843476),r=e.i(500932);e.i(924856);var n=e.i(902454),a=e.i(522016),l=e.i(731876),i=e.i(348028),s=e.i(767080);function o(e){let n,a,i,o,c=(0,r.c)(9),{description:u,className:d}=e;return c[0]!==d?(n=(0,l.cn)("px-4 pt-1 pb-2",d),c[0]=d,c[1]=n):n=c[1],c[2]!==u?(a=(0,l.decodeHtml)(u),c[2]=u,c[3]=a):a=c[3],c[4]!==a?(i=(0,t.jsx)(s.CardDescription,{className:"font-body text-muted-foreground line-clamp-3 max-h-16",children:a}),c[4]=a,c[5]=i):i=c[5],c[6]!==n||c[7]!==i?(o=(0,t.jsx)(s.CardContent,{className:n,children:i}),c[6]=n,c[7]=i,c[8]=o):o=c[8],o}var c=e.i(166202);function u(e){let n,a,i=(0,r.c)(5),{children:o,className:c}=e;return i[0]!==c?(n=(0,l.cn)("line-clamp-2 text-2xl font-header text-foreground card-header-title",c),i[0]=c,i[1]=n):n=i[1],i[2]!==o||i[3]!==n?(a=(0,t.jsx)(s.CardHeader,{className:"pt-4 pb-2 px-4 max-h-[91px]",children:(0,t.jsx)(s.CardTitle,{className:n,children:o})}),i[2]=o,i[3]=n,i[4]=a):a=i[4],a}var d=e.i(637584);function m(e){let n,a,i=(0,r.c)(5),{children:o,className:c}=e;return i[0]!==c?(n=(0,l.cn)("group relative overflow-hidden rounded-2xl p-2 shadow-xs transition-all duration-300 ease-in-out hover:shadow-sm hover:bg-muted/50 dark:hover:bg-muted/30 h-full flex flex-col cursor-pointer w-full min-w-0",c),i[0]=c,i[1]=n):n=i[1],i[2]!==o||i[3]!==n?(a=(0,t.jsx)(s.Card,{className:n,children:o}),i[2]=o,i[3]=n,i[4]=a):a=i[4],a}var p=e.i(40249);function h(e){let l,i=(0,r.c)(11),{href:s,linkType:o,children:c}=e;if("disabled"===o){let e;return i[0]!==c?(e=(0,t.jsx)("div",{className:"cursor-pointer",children:c}),i[0]=c,i[1]=e):e=i[1],e}if("external"===o){let e,r;return i[2]!==s?(e=(0,n.userGeneratedLinkRel)(s),i[2]=s,i[3]=e):e=i[3],i[4]!==c||i[5]!==s||i[6]!==e?(r=(0,t.jsx)(a.default,{href:s,target:"_blank",rel:e,className:"block no-underline cursor-pointer",children:c}),i[4]=c,i[5]=s,i[6]=e,i[7]=r):r=i[7],r}return i[8]!==c||i[9]!==s?(l=(0,t.jsx)(a.default,{href:s,className:"block no-underline cursor-pointer",children:c}),i[8]=c,i[9]=s,i[10]=l):l=i[10],l}e.s(["PostCardClient",0,function(e){let n,a,s,f,x,g,y,v,w,j,b=(0,r.c)(46),{blog:k,post:N,hideFooter:S,linkType:_,href:A,priority:E,className:C,titleClassName:U,idx:P,supporterCount:T}=e,O=void 0!==S&&S,I=void 0===_?"internal":_;b[0]!==k||b[1]!==A||b[2]!==N?(n=A??(0,i.getNoteUrl)(k,N).fullNoteUrl,b[0]=k,b[1]=A,b[2]=N,b[3]=n):n=b[3];let L=n,R=void 0!==E&&E||void 0!==P&&P<5,z=O?"flex-1 pb-6":"flex-1";b[4]!==C||b[5]!==z?(a=(0,l.cn)(z,C),b[4]=C,b[5]=z,b[6]=a):a=b[6];let D=N.cover_img?.img,q=N.cover_img?.altText,Y=N.title||"",F=N.publishedAt||0;b[7]!==k.logo_url||b[8]!==k.name||b[9]!==R||b[10]!==F||b[11]!==D||b[12]!==q||b[13]!==Y?(s=(0,t.jsx)(d.PostCardImage,{coverImg:D,coverAlt:q,text:Y,priority:R,blogName:k.name,blogIcon:k.logo_url,publishedAt:F}),b[7]=k.logo_url,b[8]=k.name,b[9]=R,b[10]=F,b[11]=D,b[12]=q,b[13]=Y,b[14]=s):s=b[14],b[15]!==I||b[16]!==L||b[17]!==s?(f=(0,t.jsx)(h,{href:L,linkType:I,children:s}),b[15]=I,b[16]=L,b[17]=s,b[18]=f):f=b[18],b[19]!==I||b[20]!==N.cover_img?.img||b[21]!==N.title||b[22]!==L||b[23]!==U?(x=N.cover_img?.img?(0,t.jsx)(h,{href:L,linkType:I,children:(0,t.jsx)(u,{className:U,children:N.title})}):(0,t.jsx)(h,{href:L,linkType:I,children:(0,t.jsx)("div",{className:"max-h-[91px]"})}),b[19]=I,b[20]=N.cover_img?.img,b[21]=N.title,b[22]=L,b[23]=U,b[24]=x):x=b[24];let H=N.post_preview||"",X=N.cover_img?.img?void 0:"pt-4";return b[25]!==H||b[26]!==X?(g=(0,t.jsx)(o,{description:H,className:X}),b[25]=H,b[26]=X,b[27]=g):g=b[27],b[28]!==I||b[29]!==L||b[30]!==g?(y=(0,t.jsx)(h,{href:L,linkType:I,children:g}),b[28]=I,b[29]=L,b[30]=g,b[31]=y):y=b[31],b[32]!==k||b[33]!==O||b[34]!==N||b[35]!==T?(v=!O&&(0,t.jsx)(c.PostCardFooterClient,{blog:k,post:N,supporterCount:T}),b[32]=k,b[33]=O,b[34]=N,b[35]=T,b[36]=v):v=b[36],b[37]!==f||b[38]!==x||b[39]!==y||b[40]!==v||b[41]!==a?(w=(0,t.jsx)("div",{className:"w-full h-full flex flex-col",children:(0,t.jsxs)(m,{className:a,children:[f,x,y,v]})}),b[37]=f,b[38]=x,b[39]=y,b[40]=v,b[41]=a,b[42]=w):w=b[42],b[43]!==k||b[44]!==w?(j=(0,t.jsx)(p.SupportDataPrefetcher,{blog:k,children:w}),b[43]=k,b[44]=w,b[45]=j):j=b[45],j}],673677)},208125,e=>{"use strict";var t=e.i(481770);e.s(["trackX402ChainSwitched",0,function(e){return(0,t.captureProductEvent)("x402_chain_switched",e)},"trackX402ContentRevealed",0,function(e){return(0,t.captureProductEvent)("x402_content_revealed",e)},"trackX402EmbedPasted",0,function(e){return(0,t.captureProductEvent)("x402_embed_pasted",e)},"trackX402ModalOpened",0,function(e){return(0,t.captureProductEvent)("x402_modal_opened",e)},"trackX402PaymentError",0,function(e){return(0,t.captureProductEvent)("x402_payment_error",e)},"trackX402PaymentRejected",0,function(e){return(0,t.captureProductEvent)("x402_payment_rejected",e)},"trackX402PaymentSubmitted",0,function(e){return(0,t.captureProductEvent)("x402_payment_submitted",e)},"trackX402PaymentSuccess",0,function(e){return(0,t.captureProductEvent)("x402_payment_success",e)},"trackX402RevealClicked",0,function(e){return(0,t.captureProductEvent)("x402_reveal_clicked",e)},"trackX402TokenChanged",0,function(e){return(0,t.captureProductEvent)("x402_token_changed",e)},"trackX402WalletPrompted",0,function(e){return(0,t.captureProductEvent)("x402_wallet_prompted",e)}])},302125,(e,t,r)=>{var n;e.e,t.exports=(n=function(){var e=JSON.parse('{"$":"dollar","%":"percent","&":"and","<":"less",">":"greater","|":"or","¢":"cent","£":"pound","¤":"currency","Â¥":"yen","©":"(c)","ª":"a","®":"(r)","º":"o","Ã":"A","Ã":"A","Ã":"A","Ã":"A","Ã":"A","Ã
":"A","Ã":"AE","Ã":"C","Ã":"E","Ã":"E","Ã":"E","Ã":"E","Ã":"I","Ã":"I","Ã":"I","Ã":"I","Ã":"D","Ã":"N","Ã":"O","Ã":"O","Ã":"O","Ã":"O","Ã":"O","Ã":"O","Ã":"U","Ã":"U","Ã":"U","Ã":"U","Ã":"Y","Ã":"TH","Ã":"ss","à ":"a","á":"a","â":"a","ã":"a","ä":"a","Ã¥":"a","æ":"ae","ç":"c","è":"e","é":"e","ê":"e","ë":"e","ì":"i","Ã":"i","î":"i","ï":"i","ð":"d","ñ":"n","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","ù":"u","ú":"u","û":"u","ü":"u","ý":"y","þ":"th","ÿ":"y","Ä":"A","Ä":"a","Ä":"A","Ä":"a","Ä":"A","Ä
":"a","Ä":"C","Ä":"
2c","Ä":"C","Ä":"c","Ä":"D","Ä":"d","Ä":"DJ","Ä":"dj","Ä":"E","Ä":"e","Ä":"E","Ä":"e","Ä":"e","Ä":"e","Ä":"E","Ä":"e","Ä":"G","Ä":"g","Ä¢":"G","Ä£":"g","Ĩ":"I","Ä©":"i","Ī":"i","Ä«":"i","Ä®":"I","į":"i","İ":"I","ı":"i","Ķ":"k","Ä·":"k","Ä»":"L","ļ":"l","Ľ":"L","ľ":"l","Å":"L","Å":"l","Å":"N","Å":"n","Å
":"N","Å":"n","Å":"N","Å":"n","Å":"O","Å":"o","Å":"O","Å":"o","Å":"OE","Å":"oe","Å":"R","Å":"r","Å":"R","Å":"r","Å":"S","Å":"s","Å":"S","Å":"s","Å ":"S","Å¡":"s","Å¢":"T","Å£":"t","Ť":"T","Å¥":"t","Ũ":"U","Å©":"u","Ū":"u","Å«":"u","Å®":"U","ů":"u","Ű":"U","ű":"u","Ų":"U","ų":"u","Å´":"W","ŵ":"w","Ŷ":"Y","Å·":"y","Ÿ":"Y","Ź":"Z","ź":"z","Å»":"Z","ż":"z","Ž":"Z","ž":"z","Æ":"E","Æ":"f","Æ ":"O","Æ¡":"o","Ư":"U","ư":"u","Ç":"LJ","Ç":"lj","Ç":"NJ","Ç":"nj","È":"S","È":"s","È":"T","È":"t","É":"e","Ë":"o","Î":"A","Î":"E","Î":"H","Î":"I","Î":"O","Î":"Y","Î":"W","Î":"i","Î":"A","Î":"B","Î":"G","Î":"D","Î":"E","Î":"Z","Î":"H","Î":"8","Î":"I","Î":"K","Î":"L","Î":"M","Î":"N","Î":"3","Î":"O","Î ":"P","Ρ":"R","Σ":"S","Τ":"T","Î¥":"Y","Φ":"F","Χ":"X","Ψ":"PS","Ω":"W","Ϊ":"I","Ϋ":"Y","ά":"a","Î":"e","ή":"h","ί":"i","ΰ":"y","α":"a","β":"b","γ":"g","δ":"d","ε":"e","ζ":"z","η":"h","θ":"8","ι":"i","κ":"k","λ":"l","μ":"m","ν":"n","ξ":"3","ο":"o","Ï":"p","Ï":"r","Ï":"s","Ï":"s","Ï":"t","Ï
":"y","Ï":"f","Ï":"x","Ï":"ps","Ï":"w","Ï":"i","Ï":"y","Ï":"o","Ï":"y","Ï":"w","Ð":"Yo","Ð":"DJ","Ð":"Ye","Ð":"I","Ð":"Yi","Ð":"J","Ð":"LJ","Ð":"NJ","Ð":"C","Ð":"DZ","Ð":"A","Ð":"B","Ð":"V","Ð":"G","Ð":"D","Ð":"E","Ð":"Zh","Ð":"Z","Ð":"I","Ð":"J","Ð":"K","Ð":"L","Ð":"M","Ð":"N","Ð":"O","Ð":"P","Ð ":"R","С":"S","Т":"T","У":"U","Ф":"F","Ð¥":"H","Ц":"C","Ч":"Ch","Ш":"Sh","Щ":"Sh","Ъ":"U","Ы":"Y","Ь":"","Ð":"E","Ю":"Yu","Я":"Ya","а":"a","б":"b","в":"v","г":"g","д":"d","е":"e","ж":"zh","з":"z","и":"i","й":"j","к":"k","л":"l","м":"m","н":"n","о":"o","п":"p","Ñ":"r","Ñ":"s","Ñ":"t","Ñ":"u","Ñ":"f","Ñ
":"h","Ñ":"c","Ñ":"ch","Ñ":"sh","Ñ":"sh","Ñ":"u","Ñ":"y","Ñ":"","Ñ":"e","Ñ":"yu","Ñ":"ya","Ñ":"yo","Ñ":"dj","Ñ":"ye","Ñ":"i","Ñ":"yi","Ñ":"j","Ñ":"lj","Ñ":"nj","Ñ":"c","Ñ":"u","Ñ":"dz","Ò":"G","Ò":"g","Ò":"GH","Ò":"gh","Ò":"KH","Ò":"kh","Ò¢":"NG","Ò£":"ng","Ò®":"UE","Ò¯":"ue","Ò°":"U","Ò±":"u","Òº":"H","Ò»":"h","Ó":"AE","Ó":"ae","Ó¨":"OE","Ó©":"oe","Ô±":"A","Ô²":"B","Ô³":"G","Ô´":"D","Ôµ":"E","Ô¶":"Z","Ô·":"E\'","Ô¸":"Y\'","Ô¹":"T\'","Ôº":"JH","Ô»":"I","Ô¼":"L","Ô½":"X","Ô¾":"C\'","Ô¿":"K","Õ":"H","Õ":"D\'","Õ":"GH","Õ":"TW","Õ":"M","Õ
":"Y","Õ":"N","Õ":"SH","Õ":"CH","Õ":"P","Õ":"J","Õ":"R\'","Õ":"S","Õ":"V","Õ":"T","Õ":"R","Õ":"C","Õ":"P\'","Õ":"Q\'","Õ":"O\'\'","Õ":"F","Ö":"EV","Ø¡":"a","Ø¢":"aa","Ø£":"a","ؤ":"u","Ø¥":"i","ئ":"e","ا":"a","ب":"b","Ø©":"h","ت":"t","Ø«":"th","ج":"j","Ø":"h","Ø®":"kh","د":"d","ذ":"th","ر":"r","ز":"z","س":"s","Ø´":"sh","ص":"s","ض":"dh","Ø·":"t","ظ":"z","ع":"a","غ":"gh","Ù":"f","Ù":"q","Ù":"k","Ù":"l","Ù
":"m","Ù":"n","Ù":"h","Ù":"w","Ù":"a","Ù":"y","Ù":"an","Ù":"on","Ù":"en","Ù":"a","Ù":"u","Ù":"e","Ù":"","Ù ":"0","Ù¡":"1","Ù¢":"2","Ù£":"3","Ù¤":"4","Ù¥":"5","Ù¦":"6","Ù§":"7","Ù¨":"8","Ù©":"9","Ù¾":"p","Ú":"ch","Ú":"zh","Ú©":"k","Ú¯":"g","Û":"y","Û°":"0","Û±":"1","Û²":"2","Û³":"3","Û´":"4","Ûµ":"5","Û¶":"6","Û·":"7","Û¸":"8","Û¹":"9","฿":"baht","á":"a","á":"b","á":"g","á":"d","á":"e","á":"v","á":"z","á":"t","á":"i","á":"k","á":"l","á":"m","á":"n","á":"o","á":"p","á":"zh","á ":"r","á¡":"s","á¢":"t","á£":"u","á¤":"f","á¥":"k","á¦":"gh","á§":"q","á¨":"sh","á©":"ch","áª":"ts","á«":"dz","á¬":"ts","á":"ch","á®":"kh","á¯":"j","á°":"h","á¹¢":"S","á¹£":"s","áº":"W","áº":"w","áº":"W","áº":"w","áº":"W","áº
":"w","áº":"SS","Ạ":"A","ạ":"a","Ả":"A","ả":"a","Ấ":"A","ấ":"a","Ầ":"A","ầ":"a","Ẩ":"A","ẩ":"a","Ẫ":"A","ẫ":"a","Ậ":"A","áº":"a","Ắ":"A","ắ":"a","Ằ":"A","ằ":"a","Ẳ":"A","ẳ":"a","Ẵ":"A","ẵ":"a","Ặ":"A","ặ":"a","Ẹ":"E","ẹ":"e","Ẻ":"E","ẻ":"e","Ẽ":"E","ẽ":"e","Ế":"E","ế":"e","á»":"E","á»":"e","á»":"E","á»":"e","á»":"E","á»
":"e","á»":"E","á»":"e","á»":"I","á»":"i","á»":"I","á»":"i","á»":"O","á»":"o","á»":"O","á»":"o","á»":"O","á»":"o","á»":"O","á»":"o","á»":"O","á»":"o","á»":"O","á»":"o","á»":"O","á»":"o","á»":"O","á»":"o","á»":"O","á»":"o","á»":"O","á»":"o","á» ":"O","ỡ":"o","Ợ":"O","ợ":"o","Ụ":"U","ụ":"u","Ủ":"U","á»§":"u","Ứ":"U","ứ":"u","Ừ":"U","ừ":"u","Ử":"U","á»":"u","á»®":"U","ữ":"u","á»°":"U","á»±":"u","Ỳ":"Y","ỳ":"y","á»´":"Y","ỵ":"y","á»¶":"Y","á»·":"y","Ỹ":"Y","ỹ":"y","â":"-","â":"\'","â":"\'","â":"\\"","â":"\\"","â":"\\"","â ":"+","â¢":"*","â¦":"...","â ":"ecu","â¢":"cruzeiro","â£":"french franc","â¤":"lira","â¥":"mill","â¦":"naira","â
2§":"peseta","â¨":"rupee","â©":"won","âª":"new shequel","â«":"dong","â¬":"euro","â":"kip","â®":"tugrik","â¯":"drachma","â°":"penny","â±":"peso","â²":"guarani","â³":"austral","â´":"hryvnia","âµ":"cedi","â¸":"kazakhstani tenge","â¹":"indian rupee","âº":"turkish lira","â½":"russian ruble","â¿":"bitcoin","â ":"sm","â¢":"tm","â":"d","â":"delta","â":"sum","â":"infinity","â¥":"love","å
":"yuan","å":"yen","ï·¼":"rial","ﻵ":"laa","ï»·":"laa","ﻹ":"lai","ï»»":"la"}'),t=JSON.parse('{"bg":{"Ð":"Y","Ц":"Ts","Щ":"Sht","Ъ":"A","Ь":"Y","й":"y","Ñ":"ts","Ñ":"sht","Ñ":"a","Ñ":"y"},"de":{"Ã":"AE","ä":"ae","Ã":"OE","ö":"oe","Ã":"UE","ü":"ue","Ã":"ss","%":"prozent","&":"und","|":"oder","â":"summe","â":"unendlich","â¥":"liebe"},"es":{"%":"por ciento","&":"y","<":"menor que",">":"mayor que","|":"o","¢":"centavos","£":"libras","¤":"moneda","â£":"francos","â":"suma","â":"infinito","â¥":"amor"},"fr":{"%":"pourcent","&":"et","<":"plus petit",">":"plus grand","|":"ou","¢":"centime","£":"livre","¤":"devise","â£":"franc","â":"somme","â":"infini","â¥":"amour"},"pt":{"%":"porcento","&":"e","<":"menor",">":"maior","|":"ou","¢":"centavo","â":"soma","£":"libra","â":"infinito","â¥":"amor"},"uk":{"Ð":"Y","и":"y","Ð":"Y","й":"y","Ц":"Ts","Ñ":"ts","Ð¥":"Kh","Ñ
":"kh","Щ":"Shch","Ñ":"shch","Ð":"H","г":"h"},"vi":{"Ä":"D","Ä":"d"},"da":{"Ã":"OE","ø":"oe","Ã
":"AA","Ã¥":"aa","%":"procent","&":"og","|":"eller","$":"dollar","<":"mindre end",">":"større end"},"nb":{"&":"og","Ã
":"AA","Ã":"AE","Ã":"OE","Ã¥":"aa","æ":"ae","ø":"oe"},"it":{"&":"e"},"nl":{"&":"en"},"sv":{"&":"och","Ã
":"AA","Ã":"AE","Ã":"OE","Ã¥":"aa","ä":"ae","ö":"oe"}}');function r(r,n){if("string"!=typeof r)throw Error("slugify: string argument expected");var a=t[(n="string"==typeof n?{replacement:n}:n||{}).locale]||{},l=void 0===n.replacement?"-":n.replacement,i=void 0===n.trim||n.trim,s=r.normalize().split("").reduce(function(t,r){var i=a[r];return void 0===i&&(i=e[r]),void 0===i&&(i=r),i===l&&(i=" "),t+i.replace(n.remove||/[^\w\s$*_+~.()'"!\-:@]+/g,"")},"");return n.strict&&(s=s.replace(/[^A-Za-z0-9\s]/g,"")),i&&(s=s.trim()),s=s.replace(/\s+/g,l),n.lower&&(s=s.toLowerCase()),s}return r.extend=function(t){Object.assign(e,t)},r})(),t.exports.default=n()},959386,e=>{"use strict";let t=(0,e.i(796019).default)("Lock",[["rect",{width:"18",height:"11",x:"3",y:"11",rx:"2",ry:"2",key:"1w4ew1"}],["path",{d:"M7 11V7a5 5 0 0 1 10 0v4",key:"fwvmzm"}]]);e.s(["Lock",0,t],959386)},412424,e=>{"use strict";let t=(0,e.i(796019).default)("Download",[["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["polyline",{points:"7 10 12 15 17 10",key:"2ggqvy"}],["line",{x1:"12",x2:"12",y1:"15",y2:"3",key:"1vk2je"}]]);e.s(["Download",0,t],412424)},427516,793205,482913,e=>{"use strict";var t=e.i(843476),r=e.i(500932),n=e.i(412424);let a=(0,e.i(796019).default)("LockOpen",[["rect",{width:"18",height:"11",x:"3",y:"11",rx:"2",ry:"2",key:"1w4ew1"}],["path",{d:"M7 11V7a5 5 0 0 1 9.9-1",key:"1mm8w8"}]]);var l=e.i(768951),i=e.i(247167),s=e.i(257198);let o=/\/x402\/([a-zA-Z0-9_-]+)(\?.*)?$/,c=new Set([s.absoluteAPI,"publish.new","www.publish.new",i.default.env.NEXT_PUBLIC_PUBLISH_URL].filter(Boolean).map(e=>(function(e){try{return e.includes("://")?new URL(e).hostname:e}catch{return e}})(e)));function u(e){try{let t=JSON.parse(e);if(t.url&&t.filename)return t}catch{}return null}function d(e,t){let r=document.createElement("a");r.href=e,r.download=t,r.click()}function m(e){return e.startsWith("image/")}function p(e){return"application/pdf"===e}async function h(e){let t=e.headers.get("content-type")||"text/plain";if(t.startsWith("text/")||t.includes("json")||t.includes("xml"))return{content:await e.text(),isFile:!1};let r=await e.blob(),n=URL.createObjectURL(r),a=e.headers.get("content-disposition"),l=a?.match(/filename="?([^"]+)"?/);return{content:JSON.stringify({url:n,filename:l?.[1]||"download",contentType:t}),isFile:!0}}function f(e){let a,i,s,o,c,u,h=(0,r.c)(18),{url:f,filename:x,contentType:g}=e;return h[0]!==g||h[1]!==x||h[2]!==f?(a=m(g)&&(0,t.jsx)("img",{src:f,alt:x,className:"max-w-full rounded-lg"}),h[0]=g,h[1]=x,h[2]=f,h[3]=a):a=h[3],h[4]!==g||h[5]!==x||h[6]!==f?(i=p(g)&&(0,t.jsx)("iframe",{src:f,className:"h-[400px] w-full rounded-lg border",title:x}),h[4]=g,h[5]=x,h[6]=f,h[7]=i):i=h[7],h[8]!==x||h[9]!==f?(s=()=>d(f,x),h[8]=x,h[9]=f,h[10]=s):s=h[10],h[11]===Symbol.for("react.memo_cache_sentinel")?(o=(0,t.jsx)(n.Download,{className:"mr-2 h-4 w-4"}),h[11]=o):o=h[11],h[12]!==s?(c=(0,t.jsxs)(l.Button,{variant:"outline",size:"sm",onClick:s,children:[o,"Download"]}),h[12]=s,h[13]=c):c=h[13],h[14]!==a||h[15]!==i||h[16]!==c?(u=(0,t.jsxs)("div",{className:"space-y-3",children:[a,i,c]}),h[14]=a,h[15]=i,h[16]=c,h[17]=u):u=h[17],u}
2e.s(["downloadFile",0,d,"handleX402Response",0,h,"isImageType",0,m,"isPdfType",0,p,"isX402Url",0,function(e){try{var t;let r=new URL(e);return t=r.hostname,c.has(t)&&o.test(r.pathname)}catch{return!1}},"normalizeX402Url",0,function(e){try{var t;let r=new URL(e);if(t=r.hostname,!c.has(t)||o.test(r.pathname))return e;let n=r.pathname.replace(/^\//,"").replace(/\/$/,"");if(!n||n.includes("/"))return e;return r.pathname=`/x402/${n}`,r.toString()}catch{return e}},"parseX402Url",0,function(e){if(!e)return null;let t=e.match(o);if(!t)return null;let r=t[1];try{let t=new URL(e).searchParams.get("chain")||"tempo";return{slug:r,chain:t}}catch{return{slug:r,chain:"tempo"}}},"tryParseFileData",0,u],793205),e.s(["X402UnlockedContent",0,function(e){let n,l,i,s=(0,r.c)(6),{content:o}=e;s[0]!==o?(n=u(o),s[0]=o,s[1]=n):n=s[1];let c=n;return s[2]===Symbol.for("react.memo_cache_sentinel")?(l=(0,t.jsxs)("div",{className:"mb-3 flex items-center gap-2 text-sm text-green-600",children:[(0,t.jsx)(a,{className:"h-4 w-4"}),(0,t.jsx)("span",{className:"font-medium",children:"Unlocked"})]}),s[2]=l):l=s[2],s[3]!==o||s[4]!==c?(i=(0,t.jsxs)("div",{className:"rounded-xl border bg-card p-6",children:[l,c?(0,t.jsx)(f,{url:c.url,filename:c.filename,contentType:c.contentType}):(0,t.jsx)("div",{className:"prose dark:prose-invert max-w-none whitespace-pre-wrap",children:o})]}),s[3]=o,s[4]=c,s[5]=i):i=s[5],i}],427516);var x=e.i(266027);async function g(e){let t=await fetch(`${s.absoluteAPI}/x402/${e}/details`);return t.ok?t.json():null}e.s(["useX402Details",0,function(e){let t,n,a,l,i=(0,r.c)(10),{slug:s}=e;i[0]!==s?(t=["x402-details",s],n=()=>g(s),i[0]=s,i[1]=t,i[2]=n):(t=i[1],n=i[2]);let o=!!s;i[3]!==t||i[4]!==n||i[5]!==o?(a={queryKey:t,queryFn:n,enabled:o,staleTime:3e4},i[3]=t,i[4]=n,i[5]=o,i[6]=a):a=i[6];let{data:c,isLoading:u}=(0,x.useQuery)(a),d=void 0===c?null:c;return i[7]!==d||i[8]!==u?(l={details:d,isLoading:u},i[7]=d,i[8]=u,i[9]=l):l=i[9],l}],482913)}]); 3 4//# debugId=32e40c09-9af1-3463-48a9-d7fa8e76ec9c
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.