PageSourceSearch

https://startupmelbourne.com/_next/static/chunks/0encyh~xuvhvl.js

js startupmelbourne.com collected 2026-10-07 23:18:21 UTC 43,576 bytes, 5 lines download raw bytes

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]="ef8ae54f-3f2a-4ca9-b567-1bfea1a2a9f9")}catch(e){}}();
2(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,90156,e=>{"use strict";let t=(0,e.i(796019).default)("Info",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]]);e.s(["default",0,t])},999682,e=>{"use strict";var t=e.i(271645);e.s(["usePrevious",0,function(e){let r=t.useRef({value:e,previous:e});return t.useMemo(()=>(r.current.value!==e&&(r.current.previous=r.current.value,r.current.value=e),r.current.previous),[e])}])},375091,e=>{"use strict";let t=(0,e.i(796019).default)("ChevronDown",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);e.s(["ChevronDown",0,t],375091)},737536,e=>{"use strict";var t=e.i(54548);e.s(["custom",0,function(e,r={}){let{key:a="custom",methods:n,name:i="Custom Provider",retryDelay:s}=r;return({retryCount:o})=>(0,t.createTransport)({key:a,methods:n,name:i,request:e.request.bind(e),retryCount:r.retryCount??o,retryDelay:s,type:"custom"})}])},330562,e=>{"use strict";var t=e.i(618254),r=e.i(454591);async function a(e,a){let{addEthereumChainParameter:n,chainId:i}=a,s=e.state.connections.get(a.connector?.uid??e.state.current);if(s){let e=s.connector;if(!e.switchChain)throw new r.SwitchChainNotSupportedError({connector:e});return await e.switchChain({addEthereumChainParameter:n,chainId:i})}let o=e.chains.find(e=>e.id===i);if(!o)throw new t.ChainNotConfiguredError;return e.setState(e=>({...e,chainId:i})),o}e.s(["switchChain",0,a])},800257,e=>{"use strict";var t=e.i(158350);let r=[];e.s(["getChains",0,function(e){let a=e.chains;return(0,t.deepEqual)(r,a)?r:(r=a,a)}])},574013,e=>{"use strict";var t=e.i(612880),r=e.i(737536),a=e.i(736618),n=e.i(138981),i=e.i(618254);async function s(e,o={}){let l,{assertChainId:c=!0}=o;if(o.connector){let{connector:t}=o;if("reconnecting"===e.state.status&&!t.getAccounts&&!t.getChainId)throw new i.ConnectorUnavailableReconnectingError({connector:t});let[r,a]=await Promise.all([t.getAccounts().catch(e=>{if(null===o.account)return[];throw e}),t.getChainId()]);l={accounts:r,chainId:a,connector:t}}else l=e.state.connections.get(e.state.current);if(!l)throw new i.ConnectorNotConnectedError;let u=o.chainId??l.chainId,d=await l.connector.getChainId();if(c&&d!==u)throw new i.ConnectorChainMismatchError({connectionChainId:u,connectorChainId:d});let p=l.connector;if(p.getClient)return p.getClient({chainId:u});let f=(0,n.parseAccount)(o.account??l.accounts[0]);if(f&&(f.address=(0,a.getAddress)(f.address)),o.account&&!l.accounts.some(e=>e.toLowerCase()===f.address.toLowerCase()))throw new i.ConnectorAccountNotFoundError({address:f.address,connector:p});let h=e.chains.find(e=>e.id===u),m=await l.connector.getProvider({chainId:u});return(0,t.createClient)({account:f,chain:h,name:"Connector Client",transport:e=>(0,r.custom)(m)({...e,retryCount:0})})}e.s(["getConnectorClient",0,s])},810521,e=>{"use strict";var t=e.i(954616),r=e.i(330562),a=e.i(800257),n=e.i(271645),i=e.i(802099);e.s(["useSwitchChain",0,function(e={}){let{mutation:s}=e,o=(0,i.useConfig)(e),l={mutationFn:e=>(0,r.switchChain)(o,e),mutationKey:["switchChain"]},{mutate:c,mutateAsync:u,...d}=(0,t.useMutation)({...s,...l});return{...d,chains:function(e={}){let t=(0,i.useConfig)(e);return(0,n.useSyncExternalStore)(e=>(function(e,t){let{onChange:r}=t;return e._internal.chains.subscribe((e,t)=>{r(e,t)})})(t,{onChange:e}),()=>(0,a.getChains)(t),()=>(0,a.getChains)(t))}({config:o}),switchChain:c,switchChainAsync:u}}],810521)},339027,e=>{"use strict";let t=(0,e.i(796019).default)("Wallet",[["path",{d:"M19 7V4a1 1 0 0 0-1-1H5a2 2 0 0 0 0 4h15a1 1 0 0 1 1 1v4h-3a2 2 0 0 0 0 4h3a1 1 0 0 0 1-1v-2a1 1 0 0 0-1-1",key:"18etb6"}],["path",{d:"M3 5v14a2 2 0 0 0 2 2h15a1 1 0 0 0 1-1v-4",key:"xoc0q4"}]]);e.s(["default",0,t])},487810,e=>{"use strict";var t=e.i(843476),r=e.i(85035),a=e.i(920168),n=e.i(68688),i=e.i(271645),s=e.i(846696),o=e.i(715571),l=e.i(891268);e.s(["default",0,function({label:e="Using wallet",className:c}){let{wallets:u}=(0,r.useWallets)(),{setActiveWallet:d}=(0,a.useSetActiveWallet)(),{address:p}=(0,o.useAccount)(),[f,h]=(0,i.useState)(!1),m=e=>{let t=`${e.address.slice(0,6)}...${e.address.slice(-4)}`;return"privy"===e.walletClientType?`Embedded (${t})`:`${e.walletClientType} (${t})`},g=e=>"privy"===e.walletClientType?"Embedded":e.walletClientType,x=async e=>{let t=u.find(t=>t.address===e);if(t){h(!0);try{await d(t),s.toast.success(`Switched to ${m(t)}`)}catch(e){console.error("Failed to switch wallet:",e),s.toast.error("Failed to switch wallet")}finally{h(!1)}}},y=u.find(e=>e.address.toLowerCase()===p?.toLowerCase());return 0===u.length?null:(0,t.jsxs)("div",{className:`flex justify-between items-center ${c||""}`,children:[(0,t.jsx)("span",{className:"text-sm text-muted-foreground",children:e}),u.length>1?(0,t.jsxs)(l.Select,{value:p||"",onValueChange:x,disabled:f,children:[(0,t.jsx)(l.SelectTrigger,{className:"h-auto py-0 px-0 border-0 bg-transparent w-auto gap-1 text-sm font-medium",children:(0,t.jsx)(l.SelectValue,{children:f?(0,t.jsx)(n.Loader2,{className:"h-3 w-3 animate-spin"}):y?(0,t.jsxs)("span",{className:"flex items-center gap-1",children:[g(y),"privy"===y.walletClientType&&(0,t.jsx)("span",{className:"text-[10px] bg-primary/10 text-primary px-1 py-0.5 rounded",children:"best"})]}):"Select"})}),(0,t.jsx)(l.SelectContent,{children:u.map(e=>(0,t.jsx)(l.SelectItem,{value:e.address,children:(0,t.jsxs)("span",{className:"flex items-center gap-2",children:[m(e),"privy"===e.walletClientType&&(0,t.jsx)("span",{className:"text-[10px] bg-primary/10 text-primary px-1 py-0.5 rounded",children:"best"})]})},`${e.address}-${e.walletClientType}`))})]}):(0,t.jsx)("span",{className:"text-sm font-medium",children:y?g(y):"Not connected"})]})}])},284517,e=>{"use strict";function t(e,t){let r="string"==typeof e?parseFloat(e):e;return isNaN(r)?"0":r>=1e9?`${(r/1e9).toFixed(1)}B`.replace(".0B","B"):r>=1e6?`${(r/1e6).toFixed(1)}M`.replace(".0M","M"):r>=1e3?`${(r/1e3).toFixed(1)}K`.replace(".0K","K"):r>=1?void 0!==t?r.toFixed(t):Number.isInteger(r)?r.toString():r.toFixed(2):r>0?r.toFixed(6):"0"}
2e.s(["formatAmount",0,t,"formatCryptoAmount",0,function(e){let t="string"==typeof e?parseFloat(e):e;return isNaN(t)||0===t?"0":t<1e-4?"<0.0001":t<1?t.toFixed(4):t<1e3?t.toFixed(2):t.toLocaleString(void 0,{maximumFractionDigits:2})},"formatRelativeTime",0,function(e,t=!1){let r=Math.floor(Math.floor((Date.now()-(t?1e3*e:e))/1e3)/60),a=Math.floor(r/60),n=Math.floor(a/24);return n>0?`${n}d ago`:a>0?`${a}h ago`:r>0?`${r}m ago`:"Just now"},"formatSubscriberCount",0,(e,r,a)=>{if(e<100&&r)return a?"<100":"<100 subscribers";if(e<100)return null;if(e<=1e3){let t=100*Math.floor(e/100);return a?`${t}+`:`>${t} subscribers`}if(e<=1e4){let r=100*Math.floor(e/100);return a?`${t(r)}+`:`>${t(r)} subscribers`}if(e<=1e5){let r=1e3*Math.round(e/1e3);return a?`${t(r)}+`:`>${t(r)} subscribers`}let n=1e4*Math.floor(e/1e4);return a?`${t(n)}+`:`>${t(n)} subscribers`},"formatTimestamp",0,function(e){return new Date(1e3*e).toLocaleString("en-US",{month:"short",day:"numeric",year:"numeric",hour:"numeric",minute:"2-digit",hour12:!0})},"formatUSDBalance",0,function(e){let t="string"==typeof e?parseFloat(e):e;return isNaN(t)?"$0":t>=1e9?`$${(t/1e9).toFixed(1)}B`.replace(".0B","B"):t>=1e6?`$${(t/1e6).toFixed(1)}M`.replace(".0M","M"):t>=1e3?`$${(t/1e3).toFixed(1)}K`.replace(".0K","K"):t>=1?`$${t.toFixed(2)}`:t>0?`$${t.toFixed(4)}`:"$0"},"formatUsdValue",0,function(e){return null==e?"—":e<.01?"<$0.01":`$${e.toLocaleString(void 0,{minimumFractionDigits:2,maximumFractionDigits:2})}`},"truncateAddress",0,function(e){return e.length<=10?e:`${e.slice(0,6)}...${e.slice(-4)}`},"truncateString",0,function(e){return e.length>6?e.substring(0,6)+"..."+e.substring(e.length-4):e}])},667585,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"BailoutToCSR",{enumerable:!0,get:function(){return n}});let a=e.r(132061);function n({reason:e,children:t}){if("u"<typeof window)throw Object.defineProperty(new a.BailoutToCSRError(e),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0});return t}},309885,(e,t,r)=>{"use strict";function a(e){return e.split("/").map(e=>encodeURIComponent(e)).join("/")}Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"encodeURIPath",{enumerable:!0,get:function(){return a}})},652157,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"PreloadChunks",{enumerable:!0,get:function(){return l}});let a=e.r(843476),n=e.r(174080),i=e.r(563599),s=e.r(309885),o=e.r(543369);function l({moduleIds:e}){if("u">typeof window)return null;let t=i.workAsyncStorage.getStore();if(void 0===t)return null;let r=[];if(t.reactLoadableManifest&&e){let a=t.reactLoadableManifest;for(let t of e){if(!a[t])continue;let e=a[t].files;r.push(...e)}}if(0===r.length)return null;let c=(0,o.getAssetTokenQuery)();return(0,a.jsx)(a.Fragment,{children:r.map(e=>{let r=`${t.assetPrefix}/_next/${(0,s.encodeURIPath)(e)}${c}`;return e.endsWith(".css")?(0,a.jsx)("link",{precedence:"dynamic",href:r,rel:"stylesheet",as:"style",nonce:t.nonce},e):((0,n.preload)(r,{as:"script",fetchPriority:"low",nonce:t.nonce}),null)})})}},869093,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"default",{enumerable:!0,get:function(){return c}});let a=e.r(843476),n=e.r(271645),i=e.r(667585),s=e.r(652157);function o(e){return{default:e&&"default"in e?e.default:e}}let l={loader:()=>Promise.resolve(o(()=>null)),loading:null,ssr:!0},c=function(e){let t={...l,...e},r=(0,n.lazy)(()=>t.loader().then(o)),c=t.loading;function u(e){let o=c?(0,a.jsx)(c,{isLoading:!0,pastDelay:!0,error:null}):null,l=!t.ssr||!!t.loading,u=l?n.Suspense:n.Fragment,d=t.ssr?(0,a.jsxs)(a.Fragment,{children:["u"<typeof window?(0,a.jsx)(s.PreloadChunks,{moduleIds:t.modules}):null,(0,a.jsx)(r,{...e})]}):(0,a.jsx)(i.BailoutToCSR,{reason:"next/dynamic",children:(0,a.jsx)(r,{...e})});return(0,a.jsx)(u,{...l?{fallback:o}:{},children:d})}return u.displayName="LoadableComponent",u}},770703,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"default",{enumerable:!0,get:function(){return n}});let a=e.r(563141)._(e.r(869093));function n(e,t){let r={};"function"==typeof e&&(r.loader=e);let n={...r,...t};return(0,a.default)({...n,modules:n.loadableGenerated?.modules})}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esMo
2dule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},369340,30207,e=>{"use strict";var t=e.i(271645);function r(e){let r=t.useRef(e);return t.useEffect(()=>{r.current=e}),t.useMemo(()=>(...e)=>r.current?.(...e),[])}e.s(["useCallbackRef",0,r],30207),e.s(["useControllableState",0,function({prop:e,defaultProp:a,onChange:n=()=>{}}){let[i,s]=function({defaultProp:e,onChange:a}){let n=t.useState(e),[i]=n,s=t.useRef(i),o=r(a);return t.useEffect(()=>{s.current!==i&&(o(i),s.current=i)},[i,s,o]),n}({defaultProp:a,onChange:n}),o=void 0!==e,l=o?e:i,c=r(n);return[l,t.useCallback(t=>{if(o){let r="function"==typeof t?t(e):t;r!==e&&c(r)}else s(t)},[o,e,s,c])]}],369340)},635804,e=>{"use strict";var t=e.i(271645),r=globalThis?.document?t.useLayoutEffect:()=>{};e.s(["useSize",0,function(e){let[a,n]=t.useState(void 0);return r(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});let t=new ResizeObserver(t=>{let r,a;if(!Array.isArray(t)||!t.length)return;let i=t[0];if("borderBoxSize"in i){let e=i.borderBoxSize,t=Array.isArray(e)?e[0]:e;r=t.inlineSize,a=t.blockSize}else r=e.offsetWidth,a=e.offsetHeight;n({width:r,height:a})});return t.observe(e,{box:"border-box"}),()=>t.unobserve(e)}n(void 0)},[e]),a}],635804)},738635,e=>{"use strict";var t=e.i(843476),r=e.i(500932),a=e.i(225913),n=e.i(731876);let i=(0,a.cva)("inline-flex items-center rounded-full border px-2.5 py-0.5 text-xs font-normal transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",{variants:{variant:{default:"border-transparent bg-primary/50 text-primary-foreground  dark:bg-primary/50 group-data-[state=active]:bg-primary ",secondary:"border-transparent bg-secondary/80 text-secondary-foreground ",destructive:"border-transparent bg-destructive text-destructive-foreground ",muted:"border-transparent bg-muted text-muted-foreground hover:bg-secondary hover:text-secondary-foreground",tag:"border-transparent bg-muted text-muted-foreground py-0",outline:"text-foreground"}},defaultVariants:{variant:"default"}});e.s(["Badge",0,function(e){let a,s,o,l,c,u=(0,r.c)(10);return u[0]!==e?({className:a,variant:o,...s}=e,u[0]=e,u[1]=a,u[2]=s,u[3]=o):(a=u[1],s=u[2],o=u[3]),u[4]!==a||u[5]!==o?(l=(0,n.cn)("font-sans group/badge",i({variant:o}),a),u[4]=a,u[5]=o,u[6]=l):l=u[6],u[7]!==s||u[8]!==l?(c=(0,t.jsx)("div",{className:l,...s}),u[7]=s,u[8]=l,u[9]=c):c=u[9],c}])},68688,e=>{"use strict";let t=(0,e.i(796019).default)("LoaderCircle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]);e.s(["Loader2",0,t],68688)},275599,e=>{"use strict";var t=e.i(843476),r=e.i(271645),a=e.i(731876);let n=r.forwardRef(({className:e,type:r,...n},i)=>(0,t.jsx)("input",{type:r,className:(0,a.cn)("flex h-10 w-full border border-input bg-background px-3 py-2 text-sm file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-0 focus-visible:ring-offset-0 focus:border-primary focus-visible:border-primary disabled:cursor-not-allowed disabled:opacity-50 rounded-lg",e),ref:i,...n}));n.displayName="Input",e.s(["Input",0,n])},687922,e=>{"use strict";let t=(0,e.i(796019).default)("Check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);e.s(["Check",0,t],687922)},935564,e=>{"use strict";let t=(0,e.i(796019).default)("Copy",[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]]);e.s(["Copy",0,t],935564)},445318,e=>{"use strict";e.s(["COIN_AUTHOR_FRIENDLY_NAME",0,"Author","COIN_MARKET_FRIENDLY_NAME",0,"Market","COIN_REWARDS_FRIENDLY_NAME",0,"Rewards"])},29270,e=>{"use strict";var t=e.i(843476),r=e.i(500932),a=e.i(271645),n=e.i(731876),i=e.i(959173),s=e.i(738635);function o(e){let a,i,o,l,c=(0,r.c)(18),{text:u,small:d,position:p,textClassName:f,variant:h,children:m}=e;c[0]!==m||c[1]!==u?(a=m??(u?(0,t.jsx)("span",{className:"truncate",children:u}):null),c[0]=m,c[1]=u,c[2]=a):a=c[2];let g=a;if(!g)return null;if("vertical"===p){let e,r;return c[3]!==f?(e=(0,n.cn)("text-xs text-muted-foreground line-clamp-1 text-center mt-1 flex justify-center text-nowrap font-sans",f),c[3]=f,c[4]=e):e=c[4],c[5]!==g||c[6]!==e?(r=(0,t.jsx)("div",{className:e,children:g}),c[5]=g,c[6]=e,c[7]=r):r=c[7],r}let x=d&&"h-6 min-w-6",y="minimal"===h&&"bg-transparent border-0";return c[8]!==x||c[9]!==y||c[10]!==f?(i=(0,n.cn)(x,"z-10 text-sm font-normal flex justify-center items-center px-2 -ml-1 hover:ml-0 transition-all duration-300 ring ring-avatar-ring overflow-hidden","max-w-[160px] sm:max-w-[220px]",y,f),c[8]=x,c[9]=y,c[10]=f,c[11]=i):i=c[11],c[12]!==g?(o=(0,t.jsx)("span",{className:"truncate",children:g}),c[12]=g,c[13]=o):o=c[13],c[14]!==i||c[15]!==o||c[16]!==u?(l=(0,t.jsx)(s.Badge,{variant:"muted",className:i,"aria-label":u,children:o}),c[14]=i,c[15]=o,c[16]=u,c[17]=l):l=c[17],l}e.s(["default",0,function(e){let s,l,c,u=(0,r.c)(16),{avatars:d,text:p,textClassName:f,className:h,small:m,position:g,variant:x,isNumbersOnly:y,renderAvatar:b,badgeContent:v}=e;if(u[0]!==d||u[1]!==h||u[2]!==y||u[3]!==b||u[4]!==m){let e=new Map;s=!y&&(0,t.jsx)("div",{className:(0,n.cn)("flex flex-row justify-center transition-all duration-300",m?"-space-x-1 hover:space-x-0":"-space-x-3 hover:space-x-0","*:ring *:ring-avatar-ring",h),children:d.map((r,n)=>{let s=r.id??r.lowercase_wallet_address??r.wallet_address??r.email??JSON.stringify(r),o=e.get(s)??
20;e.set(s,o+1);let l=`${s}-${o}`;return b?(0,t.jsx)(a.Fragment,{children:b(r,n)},l):(0,t.jsx)(i.AuthorAvatar,{user:r,size:24,className:"h-6 w-6"},l)})}),u[0]=d,u[1]=h,u[2]=y,u[3]=b,u[4]=m,u[5]=s}else s=u[5];return u[6]!==v||u[7]!==g||u[8]!==m||u[9]!==p||u[10]!==f||u[11]!==x?(l=(v||p)&&(0,t.jsx)(o,{text:p,textClassName:f,small:m,position:g,variant:x,children:v}),u[6]=v,u[7]=g,u[8]=m,u[9]=p,u[10]=f,u[11]=x,u[12]=l):l=u[12],u[13]!==s||u[14]!==l?(c=(0,t.jsxs)(t.Fragment,{children:[s,l]}),u[13]=s,u[14]=l,u[15]=c):c=u[15],c}],29270)},983668,e=>{"use strict";var t=e.i(271645);e.s(["useMediaQuery",0,function(e){let[r,a]=t.useState(!1);return t.useEffect(()=>{function t(e){a(e.matches)}let r=matchMedia(e);return r.addEventListener("change",t),a(r.matches),()=>r.removeEventListener("change",t)},[e]),r}])},909069,e=>{"use strict";var t=e.i(445318);e.s(["getAvatars",0,function(e,r,a=3){let n=e?.supporters.map(e=>({avatar_url:e.avatarUrl,lowercase_wallet_address:e.walletAddress,id:e.userId})).filter((e,t)=>t<a);return n&&r&&n.length<a&&n.push(...r.supporters.filter(e=>{var r;return!n.some(t=>t.lowercase_wallet_address===e.walletAddress)&&(r=e).name!==t.COIN_MARKET_FRIENDLY_NAME&&r.name!==t.COIN_AUTHOR_FRIENDLY_NAME&&r.name!==t.COIN_REWARDS_FRIENDLY_NAME}).slice(0,a-n.length).map(e=>({avatar_url:e.avatarUrl,lowercase_wallet_address:e.walletAddress,id:e.userId}))),n}])},397979,e=>{"use strict";let t=(0,e.i(796019).default)("BadgeDollarSign",[["path",{d:"M3.85 8.62a4 4 0 0 1 4.78-4.77 4 4 0 0 1 6.74 0 4 4 0 0 1 4.78 4.78 4 4 0 0 1 0 6.74 4 4 0 0 1-4.77 4.78 4 4 0 0 1-6.75 0 4 4 0 0 1-4.78-4.77 4 4 0 0 1 0-6.76Z",key:"3c2336"}],["path",{d:"M16 8h-6a2 2 0 1 0 0 4h4a2 2 0 1 1 0 4H8",key:"1h4pet"}],["path",{d:"M12 18V6",key:"zqpxq5"}]]);e.s(["BadgeDollarSign",0,t],397979)},216049,e=>{"use strict";var t=e.i(843476),r=e.i(500932),a=e.i(657688),n=e.i(380750),i=e.i(110973);e.s(["ShareDialogContent",0,function(e){let s,o,l,c,u,d,p=(0,r.c)(17),{url:f,imageSrc:h,text:m,title:g,description:x,postId:y}=e;return p[0]!==g?(s=(0,t.jsx)(n.DialogTitle,{className:"text-center mb-[2px]",children:g}),p[0]=g,p[1]=s):s=p[1],p[2]!==x?(o=(0,t.jsx)(n.DialogDescription,{className:"text-center text-balance",children:x}),p[2]=x,p[3]=o):o=p[3],p[4]!==h?(l=h&&(0,t.jsx)("div",{className:"rounded-xl overflow-hidden aspect-[1.5] min-w-[250px] 4xs:min-w-[290px] 3xs:min-w-[330px] 2xs:min-w-[380px] xs:min-w-[430px] sm:min-w-[462px] relative",children:(0,t.jsx)(a.default,{src:h,fill:!0,alt:"Post image",className:"object-contain"})}),p[4]=h,p[5]=l):l=p[5],p[6]!==y||p[7]!==m||p[8]!==f?(c=(0,t.jsx)("div",{className:"w-full overflow-hidden",children:(0,t.jsx)(i.ShareButtons,{postId:y,textToShare:m,url:f})}),p[6]=y,p[7]=m,p[8]=f,p[9]=c):c=p[9],p[10]!==l||p[11]!==c?(u=(0,t.jsxs)("div",{className:"flex flex-col gap-6 items-center mt-5 w-full overflow-hidden",children:[l,c]}),p[10]=l,p[11]=c,p[12]=u):u=p[12],p[13]!==s||p[14]!==o||p[15]!==u?(d=(0,t.jsxs)(t.Fragment,{children:[s,o,u]}),p[13]=s,p[14]=o,p[15]=u,p[16]=d):d=p[16],d}])},583425,e=>{"use strict";var t=e.i(843476),r=e.i(500932),a=e.i(770703),n=e.i(271645),i=e.i(889362),s=e.i(29270),o=e.i(380750),l=e.i(139628),c=e.i(983668);function u(e){return`${e} supporter${e>1?"s":""}`}let d=(0,a.default)(()=>e.A(63008),{loadableGenerated:{modules:[320534]},ssr:!1,loading:()=>null});function p(e){let a,n=(0,r.c)(2),{text:i}=e;return n[0]!==i?(a=(0,t.jsx)("span",{children:i}),n[0]=i,n[1]=a):a=n[1],a}e.s(["default",0,function(e){let a,f,h,m,g,x,y,b,v,w=(0,r.c)(67),{avatars:C,supporters:j,coinId:N,tier:S,isOnlyAvatars:_,coinsPerUSD:T,blog:I,title:k,postTitle:D,post:E,children:A}=e,[M,$]=(0,n.useState)(!1),P=(0,c.useMediaQuery)("(min-width: 640px)");e:{if(!S||!T){a=void 0;break e}switch(S){case 1:{let e,t;w[0]!==T?(e=(0,i.parseEther)((5*T).toString()),w[0]=T,w[1]=e):e=w[1],w[2]!==e?(t={maxHoldings:e},w[2]=e,w[3]=t):t=w[3],a=t;break e}case 5:{let e,t,r;w[4]!==T?(e=(0,i.parseEther)((5*T).toString()),w[4]=T,w[5]=e):e=w[5],w[6]!==T?(t=(0,i.parseEther)((10*T).toString()),w[6]=T,w[7]=t):t=w[7],w[8]!==e||w[9]!==t?(r={minHoldings:e,maxHoldings:t},w[8]=e,w[9]=t,w[10]=r):r=w[10],a=r;break e}case 10:{let e,t;w[11]!==T?(e=(0,i.parseEther)((10*T).toString()),w[11]=T,w[12]=e):e=w[12],w[13]!==e?(t={minHoldings:e},w[13]=e,w[14]=t):t=w[14],a=t;break e}default:a=void 0}}let O=a,F=j?.totalSupporterCount||0;if(0===F||!j)return null;w[15]!==F?(f=u(F),w[15]=F,w[16]=f):f=w[16];let R=f;w[17]!==R?(h=(0,t.jsx)(p,{text:R}),w[17]=R,w[18]=h):h=w[18];let L=h;w[19]!==k||w[20]!==j||w[21]!==S?(m=k||function(e,t){switch(t){case 1:return`${e.totalSupporterCount} liked it`;case 5:return`${e.totalSupporterCount} loved it`;case 10:return`${e.totalSupporterCount} true believers`;default:return u(e.totalSupporterCount)}}(j,S),w[19]=k,w[20]=j,w[21]=S,w[22]=m):m=w[22];let z=m;w[23]!==C?(g=C||[],w[23]=C,w[24]=g):g=w[24],w[25]!==L||w[26]!==g||w[27]!==R?(x=(0,t.jsx)("button",{type:"button",className:"flex items-center min-w-0",children:(0,t.jsx)(s.default,{avatars:g,text:R,textClassName:"pointer-events-none truncate",small:!0,badgeContent:L})}),w[25]=L,w[26]=g,w[27]=R,w[28]=x):x=w[28];let B=x,H=A||B;if(_){let e,r;return w[29]!==C?(e=C||[],w[29]=C,w[30]=e):e=w[30],w[31]!==L||w[32]!==e||w[33]!==R?(r=(0,t.jsx)(s.default,{avatars:e,text:R,textClassName:"pointer-events-none truncate",small:!0,badgeContent:L}),w[31]=L,w[32]=e,w[33]=R,w[34]=r):r=w[34],r}if(P){let e,r,a;return w[35]!==H?(e=(0,t.jsx)(o.DialogTrigger,{asChild:!0,children:H}),w[35]=H,w[36]=e):e=w[36],w[37]!==I||w[38]!==N||w[39]!==M||w[40]!==E||w[41]!==D||w[42]!==j||w[43]!==S||w[44]!==O||w[45]!==z?(r=
2M&&(0,t.jsx)(d,{supporters:j,coinId:N,tier:S,tierParams:O,isDesktop:!0,title:z,blog:I,onClose:()=>$(!1),postTitle:D,post:E}),w[37]=I,w[38]=N,w[39]=M,w[40]=E,w[41]=D,w[42]=j,w[43]=S,w[44]=O,w[45]=z,w[46]=r):r=w[46],w[47]!==M||w[48]!==e||w[49]!==r?(a=(0,t.jsxs)(o.Dialog,{open:M,onOpenChange:$,children:[e,r]}),w[47]=M,w[48]=e,w[49]=r,w[50]=a):a=w[50],a}return w[51]!==H?(y=(0,t.jsx)(l.DrawerTrigger,{asChild:!0,children:H}),w[51]=H,w[52]=y):y=w[52],w[53]!==I||w[54]!==N||w[55]!==M||w[56]!==E||w[57]!==D||w[58]!==j||w[59]!==S||w[60]!==O||w[61]!==z?(b=M&&(0,t.jsx)(d,{supporters:j,coinId:N,tier:S,tierParams:O,isDesktop:!1,title:z,blog:I,onClose:()=>$(!1),postTitle:D,post:E}),w[53]=I,w[54]=N,w[55]=M,w[56]=E,w[57]=D,w[58]=j,w[59]=S,w[60]=O,w[61]=z,w[62]=b):b=w[62],w[63]!==M||w[64]!==y||w[65]!==b?(v=(0,t.jsxs)(l.Drawer,{open:M,onOpenChange:$,dismissible:!0,closeThreshold:.4,children:[y,b]}),w[63]=M,w[64]=y,w[65]=b,w[66]=v):v=w[66],v}])},34714,e=>{"use strict";var t=e.i(843476),r=e.i(500932),a=e.i(380266);e.s(["PopularityIndicatorUI",0,function(e){let n,i,s,o,l,c=(0,r.c)(12),{popularity:u,noLabel:d,type:p}=e,f=`this ${p} has`;c[0]!==d?(n=!d&&(0,t.jsx)("span",{className:"text-sm text-muted-foreground mr-1",children:"Popularity"}),c[0]=d,c[1]=n):n=c[1],c[2]!==u?(i=[,,,,,].fill(0).map((e,r)=>(0,t.jsx)("div",{className:`rounded-full size-3 ${u>r?"bg-green-600":"bg-input"}`},`popularity-dot-${r}`)),c[2]=u,c[3]=i):i=c[3],c[4]!==n||c[5]!==i?(s=(0,t.jsx)(a.TooltipTrigger,{children:(0,t.jsxs)("div",{className:"flex items-center gap-1",children:[n,i]})}),c[4]=n,c[5]=i,c[6]=s):s=c[6];let h=`Popularity shows how much ${f} resonated with readers, and
3            how much support it's received compared to other ${"post"===p?"posts":"publications"} on Paragraph.`;return c[7]!==h?(o=(0,t.jsx)(a.TooltipContent,{className:"max-w-[280px]",children:(0,t.jsx)("div",{className:"space-y-1 py-2",children:(0,t.jsx)("p",{children:h})})}),c[7]=h,c[8]=o):o=c[8],c[9]!==s||c[10]!==o?(l=(0,t.jsxs)(a.Tooltip,{delayDuration:250,children:[s,o]}),c[9]=s,c[10]=o,c[11]=l):l=c[11],l}])},578374,e=>{"use strict";let t=(0,e.i(796019).default)("DollarSign",[["line",{x1:"12",x2:"12",y1:"2",y2:"22",key:"7eqyqh"}],["path",{d:"M17 5H9.5a3.5 3.5 0 0 0 0 7h5a3.5 3.5 0 0 1 0 7H6",key:"1b0p4s"}]]);e.s(["DollarSign",0,t],578374)},384868,e=>{"use strict";let t=(0,e.i(796019).default)("CircleX",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m15 9-6 6",key:"1uzhvr"}],["path",{d:"m9 9 6 6",key:"z0biqf"}]]);e.s(["default",0,t])},788991,e=>{"use strict";var t=e.i(574013),r=e.i(21701);e.s(["createWalletSendTransaction",0,function(e){return async a=>{let n=await (0,t.getConnectorClient)(e,a.chainId?{chainId:a.chainId}:void 0);return(0,r.sendTransaction)(n,{to:a.to,data:a.data,value:a.value??0n,gas:a.gas,account:n.account,chain:n.chain})}}])},551933,e=>{"use strict";var t=e.i(843476),r=e.i(500932),a=e.i(326999),n=e.i(225913),i=e.i(118431),s=e.i(271645),o=e.i(731876);let l=a.Root,c=a.Trigger;a.Close;let u=a.Portal,d=s.forwardRef((e,n)=>{let i,s,l,c,u=(0,r.c)(9);return u[0]!==e?({className:i,...s}=e,u[0]=e,u[1]=i,u[2]=s):(i=u[1],s=u[2]),u[3]!==i?(l=(0,o.cn)("fixed inset-0 z-50 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",i),u[3]=i,u[4]=l):l=u[4],u[5]!==s||u[6]!==n||u[7]!==l?(c=(0,t.jsx)(a.Overlay,{className:l,...s,ref:n}),u[5]=s,u[6]=n,u[7]=l,u[8]=c):c=u[8],c});d.displayName=a.Overlay.displayName;let p=(0,n.cva)("fixed z-50 gap-4 bg-background p-6 shadow-lg transition ease-in-out data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:duration-300 data-[state=open]:duration-500",{variants:{side:{top:"inset-x-0 top-0 border-b data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top",bottom:"inset-x-0 bottom-0 border-t data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom",left:"inset-y-0 left-0 h-full w-3/4 border-r data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left sm:max-w-sm",right:"inset-y-0 right-0 h-full w-3/4  border-l data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right sm:max-w-sm"}},defaultVariants:{side:"right"}}
3),f=s.forwardRef((e,n)=>{let s,l,c,d,f,h,m,g=(0,r.c)(14);g[0]!==e?({side:d,className:l,children:s,...c}=e,g[0]=e,g[1]=s,g[2]=l,g[3]=c,g[4]=d):(s=g[1],l=g[2],c=g[3],d=g[4]);let x=void 0===d?"right":d;return g[5]!==l||g[6]!==x?(f=(0,o.cn)(p({side:x}),l),g[5]=l,g[6]=x,g[7]=f):f=g[7],g[8]===Symbol.for("react.memo_cache_sentinel")?(h=(0,t.jsxs)(a.Close,{className:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-secondary",children:[(0,t.jsx)(i.X,{className:"h-4 w-4"}),(0,t.jsx)("span",{className:"sr-only",children:"Close"})]}),g[8]=h):h=g[8],g[9]!==s||g[10]!==c||g[11]!==n||g[12]!==f?(m=(0,t.jsx)(u,{children:(0,t.jsxs)(a.Content,{ref:n,className:f,...c,children:[s,h]})}),g[9]=s,g[10]=c,g[11]=n,g[12]=f,g[13]=m):m=g[13],m});f.displayName=a.Content.displayName,s.forwardRef((e,n)=>{let s,l,c,f,h,m,g,x,y=(0,r.c)(15);y[0]!==e?({side:f,className:l,children:s,...c}=e,y[0]=e,y[1]=s,y[2]=l,y[3]=c,y[4]=f):(s=y[1],l=y[2],c=y[3],f=y[4]);let b=void 0===f?"right":f;return y[5]===Symbol.for("react.memo_cache_sentinel")?(h=(0,t.jsx)(d,{}),y[5]=h):h=y[5],y[6]!==l||y[7]!==b?(m=(0,o.cn)(p({side:b}),l),y[6]=l,y[7]=b,y[8]=m):m=y[8],y[9]===Symbol.for("react.memo_cache_sentinel")?(g=(0,t.jsxs)(a.Close,{className:"absolute right-4 top-4 roun
3ded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-secondary",children:[(0,t.jsx)(i.X,{className:"h-4 w-4"}),(0,t.jsx)("span",{className:"sr-only",children:"Close"})]}),y[9]=g):g=y[9],y[10]!==s||y[11]!==c||y[12]!==n||y[13]!==m?(x=(0,t.jsxs)(u,{children:[h,(0,t.jsxs)(a.Content,{ref:n,className:m,...c,children:[s,g]})]}),y[10]=s,y[11]=c,y[12]=n,y[13]=m,y[14]=x):x=y[14],x}).displayName=a.Content.displayName;let h=e=>{let a,n,i,s,l=(0,r.c)(8);return l[0]!==e?({className:a,...n}=e,l[0]=e,l[1]=a,l[2]=n):(a=l[1],n=l[2]),l[3]!==a?(i=(0,o.cn)("flex flex-col space-y-2 text-center sm:text-left",a),l[3]=a,l[4]=i):i=l[4],l[5]!==n||l[6]!==i?(s=(0,t.jsx)("div",{className:i,...n}),l[5]=n,l[6]=i,l[7]=s):s=l[7],s};h.displayName="SheetHeader";let m=s.forwardRef((e,n)=>{let i,s,l,c,u=(0,r.c)(9);return u[0]!==e?({className:i,...s}=e,u[0]=e,u[1]=i,u[2]=s):(i=u[1],s=u[2]),u[3]!==i?(l=(0,o.cn)("text-lg font-semibold text-foreground",i),u[3]=i,u[4]=l):l=u[4],u[5]!==s||u[6]!==n||u[7]!==l?(c=(0,t.jsx)(a.Title,{ref:n,className:l,...s}),u[5]=s,u[6]=n,u[7]=l,u[8]=c):c=u[8],c});m.displayName=a.Title.displayName;let g=s.forwardRef((e,n)=>{let i,s,l,c,u=(0,r.c)(9);return u[0]!==e?({className:i,...s}=e,u[0]=e,u[1]=i,u[2]=s):(i=u[1],s=u[2]),u[3]!==i?(l=(0,o.cn)("text-sm text-muted-foreground",i),u[3]=i,u[4]=l):l=u[4],u[5]!==s||u[6]!==n||u[7]!==l?(c=(0,t.jsx)(a.Description,{ref:n,className:l,...s}),u[5]=s,u[6]=n,u[7]=l,u[8]=c):c=u[8],c});g.displayName=a.Description.displayName,e.s(["Sheet",0,l,"SheetContentNoOverlay",0,f,"SheetDescription",0,g,"SheetHeader",0,h,"SheetTitle",0,m,"SheetTrigger",0,c])},907062,e=>{"use strict";var t=e.i(669386),r=e.i(770270),a=e.i(574013);async function n(e,n){let i,{account:s,connector:o,...l}=n;return i="object"==typeof s&&"local"===s.type?e.getClient():await (0,a.getConnectorClient)(e,{account:s,connector:o}),(0,r.getAction)(i,t.signTypedData,"signTypedData")({...l,...s?{account:s}:{}})}e.s(["signTypedData",0,n])},316872,e=>{"use strict";var t=e.i(843393);e.s(["watchClient",0,function(e,r){let{onChange:a}=r;return e.subscribe(()=>(0,t.getClient)(e),a,{equalityFn:(e,t)=>e?.uid===t?.uid})}])},26400,e=>{"use strict";var t=e.i(843393),r=e.i(316872),a=e.i(238306),n=e.i(802099);e.s(["useClient",0,function(e={}){let i=(0,n.useConfig)(e);return(0,a.useSyncExternalStoreWithSelector)(e=>(0,r.watchClient)(i,{onChange:e}),()=>(0,t.getClient)(i,e),()=>(0,t.getClient)(i,e),e=>e,(e,t)=>e?.uid===t?.uid)}])},643005,e=>{"use strict";var t=e.i(142455),r=e.i(85035),a=e.i(271645),n=e.i(261389),i=e.i(274460),s=e.i(702669),o=e.i(896229),l=e.i(99311),c=e.i(79366),u=e.i(611770),d=e.i(858708),p=e.i(21701),f=e.i(46281),h=e.i(718296),m=e.i(863691),g=e.i(492344),x=e.i(715571),y=e.i(26400),b=e.i(259290);let v="0xef0100",w="0x0000000000000000000000000000000000000000";e.s(["useEnsureEOA",0,function(){let{wallets:e}=(0,r.useWallets)(),{address:C}=(0,x.useAccount)(),j=(0,y.useClient)({chainId:t.COIN_CHAIN});return{ensureEOA:(0,a.useCallback)(async()=>{if(!C||!j)return;let r=await (0,u.getCode)(j,{address:C});if(!r||"0x"===r||!r.startsWith(v))return;let a=e.find(e=>"privy"===e.walletClientType&&e.address.toLowerCase()===C.toLowerCase());if(!a)return;let x=await a.getEthereumProvider(),y=await (0,d.getTransactionCount)(j,{address:C,blockTag:"pending"}),N=(0,m.hashAuthorization)({chainId:t.COIN_CHAIN,address:w,nonce:y+1}),S=await x.request({method:"secp256k1_sign",params:[N]}),{r:_,s:T,yParity:I}=(0,o.parseSignature)(S),k={chainId:t.COIN_CHAIN,address:w,nonce:y+1,r:_,s:T,yParity:I},D=(0,l.toAccount)({address:C,signTransaction:async(e,{serializer:t}={})=>{let r=t?t(e):(0,g.serializeTransaction)(e),a=await x.request({method:"secp256k1_sign",params:[(0,s.keccak256)(r)]});return(0,g.serializeTransaction)(e,(0,o.parseSignature)(a))},signMessage:async()=>{throw Error("not implemented")},signTypedData:async()=>{throw Error("not implemented")}}),E=(0,n.createWalletClient)({account:D,chain:h.base,transport:(0,i.http)(b.BASE_MAINNET_ALCHEMY_RPC)}),A=await (0,c.estimateFeesPerGas)(j),M=await (0,p.sendTransaction)(E,{to:C,value:0n,gas:100000n,maxFeePerGas:A.maxFeePerGas,maxPriorityFeePerGas:A.maxPriorityFeePerGas,nonce:y,authorizationList:[k],chain:h.base,account:D});await (0,f.waitForTransactionReceipt)(j,{hash:M});let $=await (0,u.getCode)(E,{address:C});if($&&"0x"!==$&&$.startsWith(v))throw Error("Failed to remove 7702 delegation")},[C,j,e])}}])},184154,e=>{"use strict";var t=e.i(843476),r=e.i(500932),a=e.i(959173),n=e.i(731876);e.s(["BlogLogoImage",0,function(e){let i,s,o=(0,r.c)(7),{src:l,alt:c,className:u,size:d}=e,p=void 0===d?92:d;return o[0]!==u?(i=(0,n.cn)("h-10 w-10",u),o[0]=u,o[1]=i):i=o[1],o[2]!==c||o[3]!==p||o[4]!==l||o[5]!==i?(s=(0,t.jsx)(a.default,{src:l,alt:c,size:p,className:i,variant:"square",noFallback:!0}),o[2]=c,o[3]=p,o[4]=l,o[5]=i,o[6]=s):s=o[6],s}])},807930,e=>{"use strict";var t=e.i(843476),r=e.i(500932);e.i(924856);var a=e.i(507940),n=e.i(397979),i=e.i(522016),s=e.i(619089),o=e.i(184154);
3e.s(["WriterCoinLogo",0,function(e){let l,c,u,d,p,f,h,m=(0,r.c)(21),{blog:g,size:x}=e,y=void 0===x?64:x,b=Math.floor(y/3),v=Math.floor(b/3);m[0]!==g?(l=(0,a.constructCoinUrl)(g),m[0]=g,m[1]=l):l=m[1];let w=l;m[2]!==y?(c={height:y,width:y},m[2]=y,m[3]=c):c=m[3],m[4]!==g.logo_url||m[5]!==g.name||m[6]!==y?(u=g.logo_url?(0,t.jsx)(o.BlogLogoImage,{src:g.logo_url,alt:g.name,className:`h-[${y}px] w-[${y}px]`}):(0,t.jsx)(s.Skeleton,{className:"h-full w-full"}),m[4]=g.logo_url,m[5]=g.name,m[6]=y,m[7]=u):u=m[7],m[8]!==c||m[9]!==u?(d=(0,t.jsx)("div",{style:c,className:"rounded-md overflow-hidden",children:u}),m[8]=c,m[9]=u,m[10]=d):d=m[10];let C=-v,j=-v;m[11]!==b||m[12]!==C||m[13]!==j?(p=(0,t.jsx)(n.BadgeDollarSign,{style:{bottom:C,right:j,width:b,height:b},className:"absolute text-accent fill-accent-foreground"}),m[11]=b,m[12]=C,m[13]=j,m[14]=p):p=m[14],m[15]!==d||m[16]!==p?(f=(0,t.jsxs)("div",{className:"relative flex-shrink-0",children:[d,p]}),m[15]=d,m[16]=p,m[17]=f):f=m[17];let N=f;return m[18]!==w||m[19]!==N?(h=(0,t.jsx)(i.default,{href:w,className:"hover:opacity-80 transition",children:N}),m[18]=w,m[19]=N,m[20]=h):h=m[20],h}])},149887,350753,e=>{"use strict";var t=e.i(90156);e.s(["InfoIcon",()=>t.default],149887);var r=e.i(843476),a=e.i(500932),n=e.i(271645),i=e.i(380266),s=e.i(731876);e.s(["default",0,function(e){let t,o,l,c,u,d,p,f,h,m,g=(0,a.c)(22),{content:x,contentClassName:y,children:b,triggerClassName:v,delayDuration:w}=e,C=void 0===w?250:w,[j,N]=n.default.useState(!1),S=n.default.useRef(null);g[0]===Symbol.for("react.memo_cache_sentinel")?(t=()=>{S.current&&clearTimeout(S.current),N(!0)},g[0]=t):t=g[0];let _=t;g[1]===Symbol.for("react.memo_cache_sentinel")?(o=()=>{S.current=setTimeout(()=>{N(!1)},100)},g[1]=o):o=g[1];let T=o;g[2]===Symbol.for("react.memo_cache_sentinel")?(l=()=>()=>{S.current&&clearTimeout(S.current)},c=[],g[2]=l,g[3]=c):(l=g[2],c=g[3]),n.default.useEffect(l,c),g[4]!==v?(u=(0,s.cn)("cursor-pointer",v),g[4]=v,g[5]=u):u=g[5],g[6]!==j?(d=e=>{e.preventDefault(),"Enter"===e.key&&N(!j)},g[6]=j,g[7]=d):d=g[7],g[8]!==b||g[9]!==u||g[10]!==d?(p=(0,r.jsx)(i.TooltipTrigger,{asChild:!0,children:(0,r.jsx)("button",{type:"button",className:u,onClick:_,onMouseEnter:_,onMouseLeave:T,onTouchStart:_,onKeyDown:d,children:b})}),g[8]=b,g[9]=u,g[10]=d,g[11]=p):p=g[11];let I=x?y:"hidden";return g[12]!==x||g[13]!==I?(f=(0,r.jsx)(i.TooltipContent,{className:I,onPointerEnter:_,onPointerLeave:T,children:x}),g[12]=x,g[13]=I,g[14]=f):f=g[14],g[15]!==j||g[16]!==f||g[17]!==p?(h=(0,r.jsxs)(i.Tooltip,{open:j,children:[p,f]}),g[15]=j,g[16]=f,g[17]=p,g[18]=h):h=g[18],g[19]!==C||g[20]!==h?(m=(0,r.jsx)(i.TooltipProvider,{delayDuration:C,children:h}),g[19]=C,g[20]=h,g[21]=m):m=g[21],m}],350753)},441588,e=>{"use strict";var t=e.i(843476);e.i(924856);var r=e.i(507940),a=e.i(266027),n=e.i(672464),i=e.i(500932);function s(){let e,r=(0,i.c)(1);return r[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,t.jsxs)("div",{className:"flex items-center gap-1",children:[(0,t.jsx)("span",{className:"text-sm text-muted-foreground mr-1",children:"Popularity"}),[,,,,,].fill(0).map(o)]}),r[0]=e):e=r[0],e}function o(e,r){return(0,t.jsx)("div",{className:"rounded-full size-3 bg-input animate-pulse"},`popularity-fallback-${r}`)}var l=e.i(34714),c=e.i(611263),u=e.i(805998),d=e.i(284503),p=e.i(142455),f=e.i(553805),h=e.i(271645),m=e.i(715571),g=e.i(810521),x=e.i(303996),y=e.i(768951),b=e.i(380750),v=e.i(139628),w=e.i(551933),C=e.i(106175),j=e.i(983668),N=e.i(481770),S=e.i(216049),_=e.i(311991),T=e.i(667152);function I(e){let a,s,o,l,u,d,I,$,P,O,F,R,L,z,B,H,U,q=(0,i.c)(89),{type:W,variant:K,buttonText:G,children:V}=e,[Y,Q]=(0,n.useAtom)(c.supportModalAtom),X=Y.coinId,J=Y.blog,Z=Y.title,ee=(0,j.useMediaQuery)("(min-width: 640px)"),et=(0,m.useAccount)(),{switchChainAsync:er}=(0,g.useSwitchChain)(),ea="sheet"===K,en=Y.isOpen&&!!X;q[0]!==ea||q[1]!==Q?(a=()=>{if(ea){let e=document.activeElement;e&&e.blur&&e.blur()}Q({isOpen:!1})},q[0]=ea,q[1]=Q,q[2]=a):a=q[2];let ei=a,es=(0,C.useSupportPayment)({type:W,coinId:X||"",isOpen:en??!1,onTransactionSigned:()=>{"post"===W?ei():es.setStage("share")},onTransactionRejected:ei});q[3]!==Q?(s=()=>{Q({isOpen:!0})},q[3]=Q,q[4]=s):s=q[4];let eo=s;q[5]!==ei||q[6]!==es?(o=()=>{ei(),es.resetState()},q[5]=ei,q[6]=es,q[7]=o):o=q[7];let el=o;q[8]!==el||q[9]!==eo?(l=e=>{e?eo():el()},q[8]=el,q[9]=eo,q[10]=l):l=q[10];let ec=l;
3q[11]!==et.address||q[12]!==et.chainId||q[13]!==X||q[14]!==en||q[15]!==er?(u=()=>{en&&X&&(et.address&&et.chainId!==p.COIN_CHAIN&&er({chainId:p.COIN_CHAIN}).catch(M),(0,N.captureProductEvent)("support_modal_opened",{coinId:X}))},d=[en,et.address,et.chainId,er,X],q[11]=et.address,q[12]=et.chainId,q[13]=X,q[14]=en,q[15]=er,q[16]=u,q[17]=d):(u=q[16],d=q[17]),(0,h.useEffect)(u,d),q[18]!==es.stage||q[19]!==es.transactionError||q[20]!==Z||q[21]!==W?(I=()=>{switch(es.stage){case"bridge":return"Select payment method";case"wallet":return es.transactionError?"Transaction failed":"Confirm transaction";case"share":return"Success";default:return"post"===W&&Z||"Support"}},q[18]=es.stage,q[19]=es.transactionError,q[20]=Z,q[21]=W,q[22]=I):I=q[22];let eu=I;q[23]!==es.stage?($=()=>{switch(es.stage){case"bridge":return"max-w-md w-full flex flex-col max-h-[80vh]";case"wallet":case"share":return"gap-1";default:return"flex flex-col gap-0"}},q[23]=es.stage,q[24]=$):$=q[24];let ed=$;q[25]!==J||q[26]!==V||q[27]!==X||q[28]!==es||q[29]!==e.headerContent||q[30]!==e.popularity||q[31]!==e.ticker||q[32]!==W?(P=()=>{switch(es.stage){case"bridge":return(0,t.jsx)(x.PaymentOptionsDialogContent,{payment:es});case"wallet":return(0,t.jsx)(T.WalletStageContent,{transactionError:es.transactionError,onRetry:es.handleRetry});case"share":{if("writer"!==W||!J)return null;let e=(0,r.constructCoinUrl)(J),a=(0,f.getCollectibleImageUrl)({text:J.name||"Untitled",post:null,blog:J,blogOwnerUser:J.user,collectibleType:"POST",alwaysGenerate:!0,size:2048});return(0,t.jsx)(S.ShareDialogContent,{imageSrc:a,url:e,text:"Just bought this writer coin on Paragraph!",title:"You're all set!",description:"You supported this publication! Share it with others and help their writing find new readers."})}default:return(0,t.jsx)(_.SupportStageContent,{type:W,blog:"writer"===W?J:void 0,popularity:"writer"===W?e.popularity:void 0,headerContent:"post"===W?e.headerContent:void 0,coinId:X||"",payment:es,ticker:"writer"===W?e.ticker:void 0,children:"post"===W?V:void 0})}},q[25]=J,q[26]=V,q[27]=X,q[28]=es,q[29]=e.headerContent,q[30]=e.popularity,q[31]=e.ticker,q[32]=W,q[33]=P):P=q[33];let ep=P,ef=G;if(ef||(ef="Support"),"dialog"===K){let e,r,a,n,i,s;q[34]!==ec||q[35]!==es?(e=e=>{e&&"support"!==es.stage&&es.setStage("support"),ec(e)},q[34]=ec,q[35]=es,q[36]=e):e=q[36],q[37]===Symbol.for("react.memo_cache_sentinel")?(r=(0,t.jsx)(b.DialogDescription,{className:"sr-only",children:"Support dialog"}),q[37]=r):r=q[37],q[38]!==V?(a=V&&(0,t.jsx)(b.DialogTrigger,{asChild:!0,children:V}),q[38]=V,q[39]=a):a=q[39];let o=ed();return q[40]!==ep?(n=ep(),q[40]=ep,q[41]=n):n=q[41],q[42]!==o||q[43]!==n?(i=(0,t.jsx)(b.DialogContent,{className:o,onOpenAutoFocus:A,children:n}),q[42]=o,q[43]=n,q[44]=i):i=q[44],q[45]!==en||q[46]!==a||q[47]!==i||q[48]!==e?(s=(0,t.jsxs)(b.Dialog,{open:en,onOpenChange:e,children:[r,a,i]}),q[45]=en,q[46]=a,q[47]=i,q[48]=e,q[49]=s):s=q[49],s}if(ee){let e,r,a,n,i,s,o;return q[50]===Symbol.for("react.memo_cache_sentinel")?(e=(0,t.jsx)(w.SheetDescription,{className:"sr-only",children:"Support dialog"}),q[50]=e):e=q[50],q[51]!==G||q[52]!==ef?(r=G&&(0,t.jsx)(w.SheetTrigger,{asChild:!0,children:(0,t.jsx)(y.Button,{children:ef})}),q[51]=G,q[52]=ef,q[53]=r):r=q[53],q[54]!==eu?(a=eu(),q[54]=eu,q[55]=a):a=q[55],q[56]!==a?(n=(0,t.jsx)(w.SheetHeader,{className:"mb-2",children:(0,t.jsx)(w.SheetTitle,{className:"font-header text-foreground text-2xl",children:a})}),q[56]=a,q[57]=n):n=q[57],q[58]!==ep?(i=ep(),q[58]=ep,q[59]=i):i=q[59],q[60]!==n||q[61]!==i?(s=(0,t.jsxs)(w.SheetContentNoOverlay,{onOpenAutoFocus:E,className:"overflow-auto no-scrollbar sm:max-h-screen",children:[n,i]}),q[60]=n,q[61]=i,q[62]=s):s=q[62],q[63]!==ec||q[64]!==en||q[65]!==r||q[66]!==s?(o=(0,t.jsxs)(w.Sheet,{open:en,onOpenChange:ec,children:[e,r,s]}),q[63]=ec,q[64]=en,q[65]=r,q[66]=s,q[67]=o):o=q[67],o}let eh="post"===W?e.flexGrow:void 0;return q[68]===Symbol.for("react.memo_cache_sentinel")?(O=(0,t.jsx)(v.DrawerDescription,{className:"sr-only",children:"Support dialog"}),q[68]=O):O=q[68],q[69]!==G||q[70]!==eh||q[71]!==ef?(F=G&&(0,t.jsx)(v.DrawerTrigger,{asChild:!0,children:(0,t.jsx)(y.Button,{className:eh?"flex grow":void 0,children:ef})}),q[69]=G,q[70]=eh,q[71]=ef,q[72]=F):F=q[72],q[73]!==eu?(R=eu(),q[73]=eu,q[74]=R):R=q[74],q[75]!==R?(L=(0,t.jsx)(v.DrawerHeader,{className:"px-4 pt-4 pb-2",children:(0,t.jsx)(v.DrawerTitle,{className:"font-header text-foreground text-xl text-left",children:R})}),q[75]=R,q[76]=L):L=q[76],q[77]!==ep?(z=ep(),q[77]=ep,q[78]=z):z=q[78],q[79]!==z?(B=(0,t.jsx)("div",{className:"px-4 pb-2","data-vaul-no-drag":!0,onPointerDownCapture:k,children:z}),q[79]=z,q[80]=B):B=q[80],q[81]!==L||q[82]!==B?(H=(0,t.jsxs)(v.DrawerContent,{className:"px-2 max-h-[100dvh] overflow-y-auto overscroll-y-contain",onOpenAutoFocus:D,children:[L,B]}),q[81]=L,q[82]=B,q[83]=H):H=q[83],q[84]!==ec||q[85]!==en||q[86]!==F||q[87]!==H?(U=(0,t.jsxs)(v.Drawer,{open:en,onOpenChange:ec,dism
3issible:!0,closeThreshold:.4,children:[O,F,H]}),q[84]=ec,q[85]=en,q[86]=F,q[87]=H,q[88]=U):U=q[88],U}function k(e){return e.stopPropagation()}function D(e){return e.preventDefault()}function E(e){return e.preventDefault()}function A(e){return e.preventDefault()}function M(e){console.error("Failed to switch chain:",e)}e.s(["SupportModalGlobal",0,function(){let[e]=(0,n.useAtom)(c.supportModalAtom),{data:i}=(0,a.useQuery)({queryKey:["coinData",e.coinId],queryFn:async()=>{let t=await (0,u.getCoinById)(e.coinId);return t&&(0,r.isValidCoin)(t)?t:null},enabled:e.isOpen&&!!e.coinId,staleTime:3e4}),o=i?.contractAddress,p=i?.ticker,{data:f}=(0,a.useQuery)({queryKey:["coinPopularity",o],queryFn:async()=>{try{let e=await (0,d.default)(`/coins/popularity/${o}`,{},{bypassCookies:!0,ignoreImpersonation:!0});return e?.popularityScore??null}catch{return null}},enabled:e.isOpen&&!!o,staleTime:3e4});if(!e.isOpen||!e.coinId||"writer"!==e.modalType)return null;if(!o)return(0,t.jsx)(I,{type:"writer",variant:"dialog",popularity:(0,t.jsx)(s,{})});let h=null!=f?(0,t.jsx)(l.PopularityIndicatorUI,{popularity:f,type:"publication"}):(0,t.jsx)(s,{});return(0,t.jsx)(I,{type:"writer",variant:"dialog",ticker:p,popularity:h})}],441588)},627535,e=>{e.v(t=>Promise.all(["static/chunks/0lst30snzl4g2.js"].map(t=>e.l(t))).then(()=>t(955722)))},129372,e=>{e.v(t=>Promise.all(["static/chunks/0seomar6zyrlj.js","static/chunks/0q7e7c8dp9c_9.js"].map(t=>e.l(t))).then(()=>t(127261)))},63008,e=>{e.v(t=>Promise.all(["static/chunks/0xm3xrsv8qbl..js"].map(t=>e.l(t))).then(()=>t(320534)))}]);
4
5//# debugId=ef8ae54f-3f2a-4ca9-b567-1bfea1a2a9f9

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.