PageSourceSearch

https://subbd.com/_next/static/immutable/chunks/16pwirh98c6-o.js

js subbd.com collected 2026-10-08 08:11:50 UTC 32,614 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,752672,953627,e=>{"use strict";var t=e.i(283164);e.i(533335);var r=e.i(277218),n=e.i(623531);let i=e=>null!=e&&e>Date.now();e.s(["hasPremium",0,i],953627),e.s(["useMyPremium",0,function(){let{isAuthenticated:e}=(0,r.useConvexAuth)(),a=(0,n.useQuery)(t.api.profiles.getMyState,e?{}:"skip");if(void 0!==a)return{endsAt:a.premiumEndsAt,hasPremium:i(a.premiumEndsAt)}}],752672)},351108,e=>{"use strict";e.i(752672),e.s([])},83016,913914,82191,e=>{"use strict";e.i(59096),e.i(37639);var t=e.i(945611),r=e.i(589340),n=e.i(626937);let i=e=>(e.displayName||e.userName).split(" ")[0];e.s(["firstNameOf",0,i],913914),e.s(["CreatorPosterCard",0,({creator:e,onClick:a,nameTone:o="white",children:s,hideMeta:l=!1,className:u,sizes:c="(max-width: 640px) 50vw, (max-width: 1280px) 25vw, 240px"})=>{let d,p=e.media.profileImage?.media.url,f=e.media.backgroundImage?.media.url??p,m=((d=[e.city,e.niche,...e.features??[]].filter(e=>!!e)).length?d:e.tags??[]).slice(0,3).join(" · ");return(0,t.jsxs)("button",{type:"button",onClick:a,"aria-label":e.displayName||e.userName,className:(0,n.cn)("group relative block w-full cursor-pointer overflow-hidden border border-white/10 bg-[#191012] text-left",u),children:[p&&(0,t.jsx)(r.default,{src:p,alt:"",fill:!0,sizes:c,className:"rounded-[inherit] object-cover transition-[opacity,transform] duration-300 ease-out group-hover:scale-105 [@media(hover:hover)]:group-hover:opacity-0"}),f&&f!==p&&(0,t.jsx)(r.default,{src:f,alt:"",fill:!0,sizes:c,className:"rounded-[inherit] object-cover opacity-0 transition-[opacity,transform] duration-300 ease-out [@media(hover:hover)]:group-hover:scale-105 [@media(hover:hover)]:group-hover:opacity-100"}),(0,t.jsx)("span",{className:"absolute bottom-0 left-0 h-0.5 w-0 bg-[linear-gradient(90deg,#E11F69,#FE3642)] group-hover:animate-rcBar"}),(0,t.jsx)("span",{className:"absolute inset-0 bg-[linear-gradient(to_top,rgba(6,3,4,.93)_4%,rgba(6,3,4,.45)_36%,transparent_64%)]"}),s,!l&&(0,t.jsxs)("span",{className:"absolute inset-x-0 bottom-0 flex flex-col gap-2 p-3",children:[(0,t.jsxs)("span",{className:"flex min-w-0 items-baseline gap-1.75",children:[(0,t.jsx)("span",{className:(0,n.cn)("min-w-0 truncate text-[19px] font-extrabold leading-[1.05] tracking-[-.4px]","white"===o?"text-white [text-shadow:0_2px_0_rgba(0,0,0,.5),0_8px_20px_rgba(0,0,0,.75)]":"bg-[linear-gradient(96deg,#E11F69_0%,#FF6FA5_46%,#FE3642_100%)] bg-clip-text text-transparent [filter:drop-shadow(0_2px_6px_rgba(225,31,105,.7))]"),children:i(e)}),void 0!==e.age&&(0,t.jsx)("span",{className:"shrink-0 text-xs font-semibold text-white/62 [text-shadow:0_1px_6px_rgba(0,0,0,.8)]",children:e.age})]}),m&&(0,t.jsx)("span",{className:"-mt-1 truncate text-[10.5px] font-medium leading-[1.35] text-white/60",children:m})]})]})}],82191),e.s([],83016)},59096,981730,324788,37639,e=>{"use strict";var t=e.i(283164);e.i(533335);var r=e.i(623531),n=e.i(460993);let i="192px",a="(min-width: 1043px) 412px, 40vw";e.s(["PICKER_HERO_SIZES",0,a,"PROFILE_TILE_SIZES",0,"(max-width: 768px) 50vw, 250px","TEASER_TILE_SIZES",0,i],981730);var o=e.i(673043);let s=(e,t)=>e?{id:t,media:{url:e,contentType:"image/webp"}}:void 0,l=e=>{let t=s(e.avatarUrl,`${e._id}-avatar`),r=s(e.bgUrl??e.avatarUrl,`${e._id}-bg`),n=r??t,i=e.teasersEnabled?(e.teaserUrls??[]).map((t,r)=>s(t,`${e._id}-teaser-${r}`)).filter(e=>!!e):void 0;return{id:e._id,userName:e.username,displayName:e.displayName,bio:e.bio,followerCount:e.followerCount,hasAiBot:e.hasAiBot,isMe:e.isMe,isFollowedByCurrentUser:e.isFollowing,isVerified:!0,isAvailable:e.hasAiBot,isLive:!1,tags:e.tags,age:e.age,city:e.city,niche:e.niche,features:e.features,media:{profileImage:t,backgroundImage:r,backgroundImageMobile:r,subscriptionPreviewMedia:n?[n]:[],promoSetImages:(e.promoUrls??[]).map((t,r)=>s(t,`${e._id}-promo-${r}`)).filter(e=>!!e).concat(t?[t]:[]).slice(0,3),teaserMedia:i}}};e.s(["getPromoImageUrl",0,e=>e.media.subscriptionPreviewMedia?.find(e=>e.media.contentType.startsWith("image/"))?.media.url,"mapPublicProfile",0,l],324788);let u=e=>{(0,o.prefetchImages)(e.media.teaserMedia?.map(e=>e.media.url),{sizes:i})};e.s(["warmCreatorTeasers",0,u],37639),e.s(["useWarmFantasyPicker",0,()=>{let e=(0,r.useQuery)(t.api.authPicker.pool,{});(0,r.useQuery)(t.api.profiles.discover,{}),(0,r.useQuery)(t.api.fantasyPresets.list,{}),(0,n.useEffect)(()=>{for(let{profile:t,heroUrl:r}of e?.creators??[]){let e=l(t);(0,o.prefetchImages)([e.media.profileImage?.media.url].filter(e=>!!e),{sizes:"90px"}),(0,o.prefetchImages)([r??e.media.backgroundImage?.media.url].filter(e=>!!e),{sizes:a}),u(e)}},[e])}],59096)},525412,377731,e=>{"use strict";var t=e.i(945611),r=e.i(460993),n=e.i(630226),i=e.i(311255),a=e.i(383586),o=e.i(1074),s="Avatar",[l,u]=(0,n.createContextScope)(s),c=[0,()=>
1void 0],[d,p]=l(s),f=r.forwardRef((e,n)=>{let{__scopeAvatar:i,...a}=e,[s,l]=r.useState("idle"),[u,p]=function(){let e=c;{let[t]=e=r.useState(0),n=r.useRef(!1);r.useEffect(()=>{t>1&&!n.current&&(n.current=!0,console.warn("Avatar: Only one `Avatar.Image` component should be rendered per `Avatar.Root`, but multiple were detected. This will lead to unexpected behavior."))},[t])}return e}();return(0,t.jsx)(d,{scope:i,imageLoadingStatus:s,setImageLoadingStatus:l,imageCount:u,setImageCount:p,children:(0,t.jsx)(o.Primitive.span,{...a,ref:n})})});f.displayName=s;var m="AvatarImage",h=r.forwardRef((e,n)=>{var s;let{__scopeAvatar:l,src:u,onLoadingStatusChange:c,...d}=e,f=p(m,l);s=f.setImageCount,r.useEffect(()=>(s(e=>e+1),()=>{s(e=>e-1)}),[s]);let h=function(e,{loadingStatus:t,setLoadingStatus:r,referrerPolicy:n,crossOrigin:i}){return(0,a.useLayoutEffect)(()=>{if(!e)return void r("error");let t=new window.Image,a=e=>{r(v(e.currentTarget))},o=()=>r("error");return t.addEventListener("load",a),t.addEventListener("error",o),n&&(t.referrerPolicy=n),t.crossOrigin=i??null,t.src=e,r(v(t)),()=>{t.removeEventListener("load",a),t.removeEventListener("error",o),r("idle")}},[e,i,n,r]),t}(u,{referrerPolicy:d.referrerPolicy,crossOrigin:d.crossOrigin,loadingStatus:f.imageLoadingStatus,setLoadingStatus:f.setImageLoadingStatus}),g=(0,i.useCallbackRef)(e=>{c?.(e)}),x=r.useRef(h);return(0,a.useLayoutEffect)(()=>{let e=x.current;x.current=h,h!==e&&g(h)},[h,g]),"loaded"===h?(0,t.jsx)(o.Primitive.img,{...d,ref:n,src:u}):null});h.displayName=m;var g="AvatarFallback",x=r.forwardRef((e,n)=>{let{__scopeAvatar:i,delayMs:a,...s}=e,l=p(g,i),[u,c]=r.useState(void 0===a);return r.useEffect(()=>{if(void 0!==a){let e=window.setTimeout(()=>c(!0),a);return()=>window.clearTimeout(e)}},[a]),u&&"loaded"!==l.imageLoadingStatus?(0,t.jsx)(o.Primitive.span,{...s,ref:n}):null});function v(e){return e.complete?e.naturalWidth>0?"loaded":"error":"loading"}x.displayName=g;var b=e.i(626937);let y={xs:{box:"size-6 text-xs"},sm:{box:"size-9 text-sm"},md:{box:"size-12 text-base"},lg:{box:"size-15 text-2xl"},xl:{box:"size-20 text-3xl"}};e.s(["Avatar",0,function({src:e,name:r,size:n="md",live:i,available:a,className:o}){let{box:s}=y[n];return(0,t.jsx)("span",{className:(0,b.cn)("inline-block rounded-full",i&&"bg-linear-to-b from-matte-red to-juicy-red p-px",a&&!i&&"bg-green-500 p-px",o),children:(0,t.jsxs)(f,{className:(0,b.cn)("relative grid place-items-center overflow-hidden rounded-full bg-[#4F3F3F] font-semibold text-white",s),children:[e?(0,t.jsx)(h,{src:e,alt:r,className:"absolute inset-0 size-full object-cover"}):null,(0,t.jsx)(x,{delayMs:600*!!e,children:r.charAt(0).toUpperCase()})]})})}],377731),e.s([],525412)},597797,333869,e=>{"use strict";var t=e.i(945611),r=e.i(283164);e.i(533335);var n=e.i(623531),i=e.i(589340),a=e.i(460993),o=e.i(626937),s=e.i(115230),l=e.i(39435);e.i(764083);var u=e.i(28640);e.i(907491);var c=e.i(604629),d=e.i(64011),p=e.i(893732),f=e.i(336465),m=e.i(193708),h=e.i(925999);let g=new Intl.DateTimeFormat("en-US",{month:"long",day:"numeric",hour:"numeric",minute:"numeric"}),x=({file:e,onRemove:r})=>{let[n,o]=(0,a.useState)(""),s=e.type.startsWith("video/");return(0,a.useEffect)(()=>{let t=URL.createObjectURL(e);return o(t),()=>URL.revokeObjectURL(t)},[e]),(0,t.jsxs)("div",{className:"relative size-16",children:[(0,t.jsx)("button",{type:"button",onClick:r,"aria-label":"Remove attachment",className:"absolute right-1 top-1 z-10 flex size-4 items-center justify-center rounded-full bg-black/60 backdrop-blur-sm",children:(0,t.jsx)(d.CrossIcon,{size:10,color:"white"})}),n&&(s?(0,t.jsx)("video",{src:n,controls:!0,className:"size-16 rounded-xl object-cover"}):(0,t.jsx)(i.default,{src:n,alt:"attachment",width:64,height:64,className:"size-16 rounded-xl object-cover"}))]})};e.s(["CreatePost",0,({avatarUrl:e,displayName:d,onPosted:v,className:b})=>{var y;let w,j=(0,n.useAction)(r.api.media.generateUploadUrl),E=(0,n.useMutation)(r.api.media.registerMedia),S=(0,n.useMutation)(r.api.posts.createPost),P=(0,a.useRef)(null),N=(0,a.useRef)(null),[k,_]=(0,a.useState)(""),[C,T]=(0,a.useState)([]),[I,O]=(0,a.useState)("public"),[R,A]=(0,a.useState)(!1),[L,M]=(0,a.useState)(!1),[U,F]=(0,a.useState)(""),[z,B]=(0,a.useState)(!1),[$,H]=(0,a.useState)(""),[D,K]=(0,a.useState)(!1),[Q,W]=(0,a.useState)(null),[Y,V]=(0,a.useState)(null),G=(""!==k.trim()||C.length>0)&&!D;(0,a.useEffect)(()=>{let e=N.current;e&&(e.style.height="auto",e.style.height=`${Math.min(e.scrollHeight,240)}px`)},[k]);let Z=async()=>
1{if(G){K(!0),W(null),V(null);try{let e=await Promise.all(C.map(async e=>{let{objectKey:t}=await (0,l.uploadFile)(j,e);return E({objectKey:t,contentType:e.type,visibility:"public"})})),t=L?Number.parseFloat(U):NaN,r=Number.isFinite(t)&&t>0?(0,s.tokensToCents)(t):void 0,n=z&&$?new Date($).getTime():void 0,i=void 0!==n&&!Number.isNaN(n)&&n>Date.now();await S({text:k.trim(),mediaIds:e,audience:I,priceCents:r,isHighlighted:R,scheduledAt:i?n:void 0}),i&&V(`Scheduled for ${g.format(n)}.`),_(""),T([]),O("public"),A(!1),M(!1),F(""),B(!1),H(""),v?.()}catch(e){W(e instanceof Error?e.message:"Failed to publish post")}finally{K(!1)}}};return(0,t.jsxs)("div",{className:(0,o.cn)("mx-1.5 lg:mx-0 mb-4 rounded-3xl bg-white/[0.07] p-4",b),children:[(0,t.jsxs)("div",{className:"flex gap-3",children:[e?(0,t.jsx)(i.default,{src:e,alt:d,width:40,height:40,className:"size-10 shrink-0 rounded-full object-cover"}):(0,t.jsx)("div",{className:"flex size-10 shrink-0 items-center justify-center rounded-full bg-white/5",children:(0,t.jsx)("span",{className:"text-white font-bold text-base leading-[133%]",children:d.charAt(0)})}),(0,t.jsx)("textarea",{ref:N,rows:1,value:k,onChange:e=>_(e.target.value),"aria-label":"Post text",placeholder:"Share something with your fans…",className:"w-full resize-none bg-transparent pt-2 leading-[140%] text-sm text-white placeholder-white/50 focus:outline-none"})]}),C.length>0&&(0,t.jsx)("div",{className:"mt-3 flex flex-wrap gap-2 pl-[52px]",children:C.map((e,r)=>{let n=`${e.name}-${e.lastModified}-${r}`;return(0,t.jsx)(x,{file:e,onRemove:()=>{T(e=>e.filter((e,t)=>t!==r))}},n)})}),L&&(0,t.jsxs)("div",{className:"mt-3 flex items-center gap-2 rounded-xl bg-white/5 px-3 py-2.5",children:[(0,t.jsx)(h.TokenIcon,{className:"size-5 shrink-0 overflow-visible"}),(0,t.jsx)("input",{type:"number",min:0,inputMode:"decimal",value:U,onChange:e=>F(e.target.value),"aria-label":"Points to unlock",placeholder:"0",className:"w-20 bg-transparent text-xs text-white placeholder-white/40 focus:outline-none [appearance:textfield] [&::-webkit-inner-spin-button]:appearance-none [&::-webkit-outer-spin-button]:appearance-none"}),(0,t.jsx)("span",{className:"text-xs text-white/50",children:"points to unlock"})]}),z&&(0,t.jsxs)("div",{className:"mt-3 flex items-center gap-2 rounded-xl bg-white/5 px-3 py-2.5",children:[(0,t.jsx)(c.CalendarIcon,{className:"size-5 shrink-0"}),(0,t.jsx)("input",{type:"datetime-local",value:$,min:(y=new Date,w=e=>String(e).padStart(2,"0"),`${y.getFullYear()}-${w(y.getMonth()+1)}-${w(y.getDate())}T${w(y.getHours())}:${w(y.getMinutes())}`),onChange:e=>H(e.target.value),"aria-label":"Schedule date and time",className:"bg-transparent text-xs text-white placeholder-white/40 focus:outline-none [&::-webkit-calendar-picker-indicator]:invert"})]}),(0,t.jsx)("hr",{className:"my-3 border-white/10"}),(0,t.jsxs)("div",{className:"flex flex-wrap items-center gap-2",children:[(0,t.jsx)("button",{type:"button",onClick:()=>P.current?.click(),"aria-label":"Add media",className:"flex size-9 items-center justify-center rounded-full bg-white/10 transition-colors duration-150 hover:bg-white/20",children:(0,t.jsx)(f.PictureIcon,{size:20,color:"#FE3642"})}),(0,t.jsxs)("div",{className:"flex items-center rounded-full bg-white/5 p-0.5",children:[(0,t.jsx)("button",{type:"button",onClick:()=>O("public"),className:(0,o.cn)("rounded-full px-3 py-1.5 text-xs transition-colors duration-150","public"===I?"bg-white/15 text-white":"text-white/60 hover:text-white"),children:"Public"}),(0,t.jsxs)("button",{type:"button",onClick:()=>O("subscriber"),className:(0,o.cn)("flex items-center gap-1.5 rounded-full px-3 py-1.5 text-xs transition-colors duration-150","subscriber"===I?"bg-white/15 text-white":"text-white/60 hover:text-white"),children:[(0,t.jsx)(p.CrownIcon,{size:14,color:"subscriber"===I?"#FE3642":"currentColor"}),"Subscribers"]}
1)]}),(0,t.jsxs)("button",{type:"button",onClick:()=>M(e=>!e),"aria-pressed":L,className:(0,o.cn)("flex items-center gap-1.5 rounded-full px-3 py-1.5 text-xs transition-colors duration-150",L?"bg-matte-red/20 text-matte-red":"bg-white/5 text-white/60 hover:text-white"),children:[(0,t.jsx)(h.TokenIcon,{size:14,className:"overflow-visible"}),"Pay-to-unlock"]}),(0,t.jsxs)("button",{type:"button",onClick:()=>B(e=>!e),"aria-pressed":z,className:(0,o.cn)("flex items-center gap-1.5 rounded-full px-3 py-1.5 text-xs transition-colors duration-150",z?"bg-matte-red/20 text-matte-red":"bg-white/5 text-white/60 hover:text-white"),children:[(0,t.jsx)(c.CalendarIcon,{size:14,color:z?"#FE3642":"currentColor"}),"Schedule"]}),(0,t.jsxs)("button",{type:"button",onClick:()=>A(e=>!e),"aria-pressed":R,className:(0,o.cn)("flex items-center gap-1.5 rounded-full px-3 py-1.5 text-xs transition-colors duration-150",R?"bg-matte-red/20 text-matte-red":"bg-white/5 text-white/60 hover:text-white"),children:[(0,t.jsx)(m.StarIcon,{size:14,color:R?"#FE3642":"currentColor"}),"Highlight"]}),(0,t.jsx)(u.PrimaryButton,{size:"sm",className:"ml-auto w-min px-5",onClick:Z,disabled:!G,isLoading:D,loadingChildren:"Posting…",children:"Post"}),(0,t.jsx)("input",{ref:P,type:"file",accept:"image/*,video/*",multiple:!0,hidden:!0,onChange:e=>{let t=Array.from(e.target.files??[]),r=t.find(e=>e.size>0x6400000);r?W(`"${r.name}" is too large (max 100MB).`):t.length>0&&(W(null),T(e=>[...e,...t])),e.target.value=""}})]}),Q&&(0,t.jsx)("p",{className:"mt-2 text-xs text-matte-red",children:Q}),Y&&(0,t.jsx)("p",{className:"mt-2 text-xs text-white/70",children:Y})]})}],333869),e.s([],597797)},487578,e=>{"use strict";e.s(["DISCOVER_ROUTE",0,"/discover","FANTASY_ROUTE",0,"/fantasy","HOME_ROUTE",0,"/","MESSAGES_ROUTE",0,"/messages","PROFILE_ROUTE",0,"/profile","SAVE_AND_PAID",0,"/save-and-paid","SETTINGS_DESKTOP_ROUTE",0,"/settings","SETTINGS_MOBILE_ROUTE",0,"/settings","VAULT",0,"/vault","WALLET_ROUTE",0,"/settings/payment"])},639210,258231,e=>{"use strict";var t,r=e.i(497032),n=e.i(460993),i=(0,n.createContext)({get client(){return t},bootstrap:void 0}),a=function(e){return"function"==typeof e},o=function(){return(0,n.useContext)(i).client},s=function(e,t){return(s=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)};"function"==typeof SuppressedError&&SuppressedError;var l={componentStack:null,exceptionEvent:null,error:null};!function(e){if("function"!=typeof e&&null!==e)throw TypeError("Class extends value "+String(e)+" is not a constructor or null");function t(){this.constructor=r}function r(t){var r=e.call(this,t)||this;return r.state=l,r}s(r,e),r.prototype=null===e?Object.create(e):(t.prototype=e.prototype,new t),r.prototype.componentDidCatch=function(e,t){var r,n=this.props.additionalProperties;a(n)?r=n(e):"object"==typeof n&&(r=n);var i=this.context.client.captureException(e,r),o=t.componentStack;this.setState({error:e,componentStack:null!=o?o:null,exceptionEvent:i})},r.prototype.render=function(){var e=this.props,t=e.children,r=e.fallback,i=this.state;if(null==i.componentStack)return a(t)?t():t;var o=a(r)?n.default.createElement(r,{error:i.error,componentStack:i.componentStack,exceptionEvent:i.exceptionEvent}):r;return n.default.isValidElement(o)?o:(console.warn("[PostHog.js][PostHogErrorBoundary] Invalid fallback prop, provide a valid React element or a function that returns a valid React element."),n.default.createElement(n.default.Fragment,null))},r.contextType=i}(n.default.Component),t=r.default,e.s(["PostHogProvider",0,function(e){var r,a,o=e.children,s=e.client,l=e.apiKey,u=e.options,c=(0,n.useRef)(null),d=(0,n.useMemo)(function(){if(s)return l&&console.warn("[PostHog.js] You have provided both `client` and `apiKey` to `PostHogProvider`. `apiKey` will be ignored in favour of `client`."),u&&console.warn("[PostHog.js] You have provided both `client` and `options` to `PostHogProvider`. `options` will be ignored in favour of `client`."),s;var e=t;return l||console.warn("[PostHog.js] No `apiKey` or `client` were provided to `PostHogProvider`. Using default global `window.posthog` instance. You must initialize it manually. This is not recommended behavior."),e},[s,l,JSON.stringify(u)]);return(0,n.useEffect)(function(){if(!s&&l){var e=t,r=c.current;r?(l!==r.apiKey&&console.warn("[PostHog.js] You have provided a different `apiKey` to `PostHogProvider` than the one that was already initialized. This is not supported by our provider and we'll keep using the previous key. If you need to toggle between API Keys you need to control the `client` yourself and pass it in as a prop rather than an `apiKey` prop."),u&&!function e(t,r,n){if(void 0===n&&(n=new WeakMap),t===r)return!0;
1if("object"!=typeof t||null===t||"object"!=typeof r||null===r)return!1;if(n.has(t)&&n.get(t)===r)return!0;n.set(t,r);var i=Object.keys(t),a=Object.keys(r);if(i.length!==a.length)return!1;for(var o=0;o<i.length;o++){var s=i[o];if(!a.includes(s)||!e(t[s],r[s],n))return!1}return!0}(u,r.options)&&e.set_config(u)):(e.__loaded&&console.warn("[PostHog.js] `posthog` was already loaded elsewhere. This may cause issues."),e.init(l,u)),c.current={apiKey:l,options:null!=u?u:{}}}},[s,l,JSON.stringify(u)]),n.default.createElement(i.Provider,{value:{client:d,bootstrap:null!=(r=null==u?void 0:u.bootstrap)?r:null==(a=null==s?void 0:s.config)?void 0:a.bootstrap}},o)},"usePostHog",0,o],258231),e.s(["useAnalytics",0,function(){let e=o();return{capture(t,r){e?.capture(t,r)},identify(t,r){e?.identify(t,r)},reset(){e?.reset()},captureException(t,r){e?.captureException(t,r)},isFeatureEnabled:t=>e?.isFeatureEnabled(t)??!1}}],639210)},87825,31724,333224,e=>{"use strict";var t=e.i(118752);e.s(["h",()=>t.useUser],31724);var t=t;e.s(["useUser",()=>t.useUser],333224);var t=t,r=e.i(283164);e.i(533335);var n=e.i(277218),i=e.i(623531);e.s(["useAppData",0,function(){let{isAuthenticated:e}=(0,n.useConvexAuth)(),{user:a}=(0,t.useUser)(),o=(0,i.useQuery)(r.api.users.getMe,e?{}:"skip"),s=(0,i.useQuery)(r.api.profiles.getMyProfile,e?{}:"skip"),l=(0,i.useQuery)(r.api.wallet.getBalance,e?{}:"skip"),u=(0,i.useQuery)(r.api.conversations.listConversations,e?{}:"skip"),c=u?.filter(e=>e.hasUnread).length??0;return{isAuthenticated:e,role:o?.role??null,isCreator:o?.role==="creator",isAdmin:o?.role==="admin",isAnonymous:!1,profile:s??null,hasCustomAvatar:!!a?.hasImage,balanceTokens:l?l.tokensCents:0,isBalanceLoading:e&&void 0===l,unreadCount:c}}],87825)},269273,804167,e=>{"use strict";var t=e.i(460993);let r="(width >= 768px)";e.s(["DESKTOP_MEDIA_QUERY",0,r],804167),e.s(["useIsMobile",0,e=>{let[n,i]=(0,t.useState)(e??!1);return(0,t.useEffect)(()=>{let e=window.matchMedia(r),t=()=>{i(!e.matches)};return t(),e.addEventListener("change",t),()=>e.removeEventListener("change",t)},[]),n}],269273)},673043,e=>{"use strict";var t=e.i(589340),r=e.i(368553);e.s(["prefetchImages",0,(e,{sizes:n})=>{if(e?.length)for(let i of e){let{props:e}=(0,t.getImageProps)({alt:"",src:i,width:256,height:256,sizes:n});e.srcSet?(0,r.preload)(e.src,{as:"image",imageSrcSet:e.srcSet,imageSizes:e.sizes,fetchPriority:"low"}):(0,r.preload)(e.src,{as:"image",fetchPriority:"low"})}}])},115230,e=>{"use strict";e.s(["formatTokens",0,function(e){let t=e/1;return Number.isInteger(t)?`${t}`:t.toFixed(2)},"tokensToCents",0,function(e){return Math.round(+e)}])},39435,e=>{"use strict";async function t(e,t){let{uploadUrl:r,objectKey:n,servingUrl:i}=await e({contentType:t.type});if(!(await fetch(r,{method:"PUT",headers:{"Content-Type":t.type},body:t})).ok)throw Error("Upload failed");return{objectKey:n,servingUrl:i}}e.s(["uploadFile",0,t])},910219,859648,e=>{"use strict";var t=e.i(945611),r=e.i(54375),n=e.i(460993),i=e.i(269273);e.i(764083);var a=e.i(242810),o=e.i(169291),s=e.i(626937);let l=(0,e.i(841204).create)(e=>({bottomTabsHidden:!1,setBottomTabsHidden:t=>e({bottomTabsHidden:t}),isRailOpen:!1,toggleRail:()=>e(e=>({isRailOpen:!e.isRailOpen}))}));function u({sidebar:e,header:r,fullBleed:n=!1,children:i}){let a=l(e=>e.isRailOpen);return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:"hidden md:block",children:[r,e]}),(0,t.jsx)("div",{className:(0,s.cn)("transition-[margin-left] duration-300 ease-in-out",n?"pt-[var(--header-h-desktop)]":"pt-[var(--header-offset-desktop)]",a?"md:ml-[150px]":"md:ml-[100px]"),children:(0,t.jsx)("div",{className:(0,s.cn)("mx-auto flex w-full justify-between gap-4",n?"max-w-[1500px]":"max-w-[1208px] px-4"),children:i})})]})}e.s(["useChromeStore",0,l],859648);var c=e.i(485558);function d({hideMobileHeader:e,initiallyHiddenHeader:r=!1,transparentHeader:i=!1,mobileHeader:a,mobileSidebarMenu:o,bottomTabs:u,showMenu:p,children:f}){let m,h=l(e=>e.bottomTabsHidden);(0,c.useScrollLock)(p);let g=(m=(0,n.useRef)(null),(0,n.useEffect)(()=>{if(!p)return;let e=m.current?.firstElementChild;e&&(e.scrollTop=0)},[p]),m);return(0,t.jsxs)(t.Fragment,{children:[!e&&a,(0,t.jsx)("div",{className:(0,s.cn)("pt-[var(--header-h-phone)] pb-13.5",(e||r||i)&&"pt-[0px]",h&&"pb-0"),children:f}),(0,t.jsx)(n.Activity,{mode:p?"visible":"hidden",children:(0,t.jsx)("div",{ref:g,className:"fixed top-0 right-0 left-0 bottom-13.5 z-50 animate-menuIn",children:o})}),(0,t.jsx)("div",{className:(0,s.cn)("fixed bottom-0 left-0 right-0 z-50 transition-[transform,opacity] duration-300",h?"pointer-events-none translate-y-full opacity-0":"translate-y-0 opacity-100"),children:u})]})}e.s(["BaseLayoutServer",0,function({initialIsMobile:e,hideMobileHeader:s=!1,initiallyHiddenHeader:l=!1,transparentHeader:c=!1,fullBleed:p=!1,sidebar:f,header:m,mobileHeader:h,bottomTabs:g,mobileSidebarMenu:x,children:v}){let b=(0,i.useIsMobile)(e),y=(0,r.usePathname)(),[w,j]=(0,n.use
1State)(!1);(0,n.useEffect)(()=>(b||(document.documentElement.style.overflowY="scroll"),()=>{document.documentElement.style.overflowY=""}),[b]),(0,n.useEffect)(()=>{j(!1)},[y]);let E=(0,n.useMemo)(()=>({isExpanded:w,onClick:()=>{j(e=>!e)},close:()=>{j(!1)}}),[w]);return(0,t.jsxs)(o.MenuButtonProvider,{value:E,children:[(0,t.jsx)(a.BaseGradient,{}),b?(0,t.jsx)(d,{hideMobileHeader:s,initiallyHiddenHeader:l,transparentHeader:c,mobileHeader:h,mobileSidebarMenu:x,bottomTabs:g,showMenu:w,children:v}):(0,t.jsx)(u,{sidebar:f,header:m,fullBleed:p,children:v})]})}],910219)},997189,399869,454015,e=>{"use strict";e.i(910219);var t=e.i(945611),r=e.i(460993),n=e.i(626937);let i=(0,r.memo)(({children:e,className:r,style:i,ref:a,...o})=>(0,t.jsx)("div",{ref:a,className:(0,n.cn)("min-w-0 flex-1 max-w-[792px]",r),style:i,...o,children:e}));i.displayName="BaseLayoutServerMainContent",e.s(["BaseLayoutServerMainContent",0,i],399869);let a=(0,r.memo)(({children:e,className:r,style:i,ref:a,...o})=>(0,t.jsx)("div",{ref:a,className:(0,n.cn)("hidden lg:block w-64.5 shrink-0 sticky top-[var(--header-offset-desktop)] h-fit",r),style:i,...o,children:e}));a.displayName="BaseLayoutServerSideContent",e.s(["BaseLayoutServerSideContent",0,a],454015),e.i(169291),e.s([],997189)},169291,e=>{"use strict";var t=e.i(460993);let r=(0,t.createContext)(null),n=r.Provider;e.s(["MenuButtonProvider",0,n,"useMenuButton",0,function(){let e=(0,t.useContext)(r);if(!e)throw Error("useMenuButton must be used within BaseLayoutServer");return e}])},788460,(e,t,r)=>{"use strict";e.i(771428),Object.defineProperty(r,"__esModule",{value:!0});var n={default:function(){return x},useLinkStatus:function(){return b}};for(var i in n)Object.defineProperty(r,i,{enumerable:!0,get:n[i]});let a=e.r(744066),o=e.r(945611),s=a._(e.r(460993)),l=e.r(105900),u=e.r(885238),c=e.r(145790),d=e.r(103816),p=e.r(893245),f=e.r(595737),m=e.r(826522),h=e.r(999292),g=e.r(252625);function x(t){var r;let n,i,a,[x,b]=(0,s.useOptimistic)(m.IDLE_LINK_STATUS),y=(0,s.useRef)(null),{href:w,as:j,children:E,prefetch:S=null,passHref:P,replace:N,shallow:k,scroll:_,onClick:C,onMouseEnter:T,onTouchStart:I,legacyBehavior:O=!1,onNavigate:R,transitionTypes:A,ref:L,unstable_dynamicOnHover:M,...U}=t;n=E,O&&("string"==typeof n||"number"==typeof n)&&(n=(0,o.jsx)("a",{children:n}));let F=s.default.useContext(u.AppRouterContext),z=!1!==S,B=!1===S?"none":!0===S?"full":"auto",$="none"!==B?"auto"===B?g.FetchStrategy.PPR:g.FetchStrategy.Full:g.FetchStrategy.PPR,H="string"==typeof(r=j||w)?r:(0,l.formatUrl)(r);if(O){if(n?.$$typeof===Symbol.for("react.lazy"))throw Object.defineProperty(Error("`<Link legacyBehavior>` received a direct child that is either a Server Component, or JSX that was loaded with React.lazy(). This is not supported. Either remove legacyBehavior, or make the direct child a Client Component that renders the Link's `<a>` tag."),"__NEXT_ERROR_CODE",{value:"E863",enumerable:!1,configurable:!0});i=s.default.Children.only(n)}let D=O?i&&"object"==typeof i&&i.ref:L,K,Q=s.default.useCallback(e=>(null!==F&&(y.current=(0,m.mountLinkInstance)(e,H,F,$,z,b,K)),()=>{y.current&&((0,m.unmountLinkForCurrentNavigation)(y.current),y.current=null),(0,m.unmountPrefetchableInstance)(e)}),[z,H,F,$,b,K]),W={ref:(0,c.useMergedRef)(Q,D),onClick(t){O||"function"!=typeof C||C(t),O&&i.props&&"function"==typeof i.props.onClick&&i.props.onClick(t),!F||t.defaultPrevented||function(t,r,n,i,a,o,l,u="none"){if("u">typeof window){let c,{nodeName:d}=t.currentTarget;if("A"===d.toUpperCase()&&((c=t.currentTarget.getAttribute("target"))&&"_self"!==c||t.metaKey||t.ctrlKey||t.shiftKey||t.altKey||t.nativeEvent&&2===t.nativeEvent.which)||t.currentTarget.hasAttribute("download"))return;if(!(0,h.isLocalURL)(r)){i&&(t.preventDefault(),location.replace(r));return}if(t.preventDefault(),o){let e=!1;if(o({preventDefault:()=>{e=!0}}),e)return}let{dispatchNavigateAction:p}=e.r(373199);s.default.startTransition(()=>{p(r,i?"replace":"push",!1===a?f.ScrollBehavior.NoScroll:f.ScrollBehavior.Default,n.current,l,u)})}}(t,H,y,N,_,R,A,B)},onMouseEnter(e){O||"function"!=typeof T||T(e),O&&i.props&&"function"==typeof i.props.onMouseEnter&&i.props.onMouseEnter(e),F&&z&&(0,m.onNavigationIntent)(e.currentTarget,!0===M)},onTouchStart:function(e){O||"function"!=typeof I||I(e),O&&i.props&&"function"==typeof i.props.onTouchStart&&i.props.onTouchStart(e),F&&z&&(0,m.onNavigationIntent)(e.currentTarget,!0===M)}};return(0,d.isAbsoluteUrl)(H)?W.href=H:O&&!P&&("a"!==i.type||"href"in i.props)||(W.href=(0,p.addBasePath)(H)),a=O?s.default.cloneElement(i,W):(0,o.jsx)("a",{...U,...W,children:n}),(0,o.jsx)(v.Provider,{value:x,children:a})}let v=(0,s.createContext)(m.IDLE_LINK_STATUS),b=()=>(0,s.useContext)(v);("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esMo
1dule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},105900,(e,t,r)=>{"use strict";e.i(771428),Object.defineProperty(r,"__esModule",{value:!0});var n={formatUrl:function(){return s},formatWithValidation:function(){return u},urlObjectKeys:function(){return l}};for(var i in n)Object.defineProperty(r,i,{enumerable:!0,get:n[i]});let a=e.r(744066)._(e.r(849068)),o=/https?|ftp|gopher|file/;function s(e){let{auth:t,hostname:r}=e,n=e.protocol||"",i=e.pathname||"",s=e.hash||"",l=e.query||"",u=!1;t=t?encodeURIComponent(t).replace(/%3A/i,":")+"@":"",e.host?u=t+e.host:r&&(u=t+(~r.indexOf(":")?`[${r}]`:r),e.port&&(u+=":"+e.port)),l&&"object"==typeof l&&(l=String(a.urlQueryToSearchParams(l)));let c=e.search||l&&`?${l}`||"";return n&&!n.endsWith(":")&&(n+=":"),e.slashes||(!n||o.test(n))&&!1!==u?(u="//"+(u||""),i&&"/"!==i[0]&&(i="/"+i)):u||(u=""),s&&"#"!==s[0]&&(s="#"+s),c&&"?"!==c[0]&&(c="?"+c),i=i.replace(/[?#]/g,encodeURIComponent),c=c.replace("#","%23"),`${n}${u}${i}${c}${s}`}let l=["auth","hash","host","hostname","href","path","pathname","port","protocol","query","search","slashes"];function u(e){return s(e)}},999292,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"isLocalURL",{enumerable:!0,get:function(){return a}});let n=e.r(103816),i=e.r(119530);function a(e){if(!(0,n.isAbsoluteUrl)(e))return!0;try{let t=(0,n.getLocationOrigin)(),r=new URL(e,t);return r.origin===t&&(0,i.hasBasePath)(r.pathname)}catch(e){return!1}}},849068,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={assign:function(){return l},searchParamsToUrlQuery:function(){return a},urlQueryToSearchParams:function(){return s}};for(var i in n)Object.defineProperty(r,i,{enumerable:!0,get:n[i]});function a(e){let t={};for(let[r,n]of e.entries()){let e=t[r];void 0===e?t[r]=n:Array.isArray(e)?e.push(n):t[r]=[e,n]}return t}function o(e){return"string"==typeof e?e:("number"!=typeof e||isNaN(e))&&"boolean"!=typeof e?"":String(e)}function s(e){let t=new URLSearchParams;for(let[r,n]of Object.entries(e))if(Array.isArray(n))for(let e of n)t.append(r,o(e));else t.set(r,o(n));return t}function l(e,...t){for(let r of t){for(let t of r.keys())e.delete(t);for(let[t,n]of r.entries())e.append(t,n)}return e}},103816,(e,t,r)=>{"use strict";e.i(771428),Object.defineProperty(r,"__esModule",{value:!0});var n={DecodeError:function(){return x},MiddlewareNotFoundError:function(){return w},MissingStaticPage:function(){return y},NormalizeError:function(){return v},PageNotFoundError:function(){return b},SP:function(){return h},ST:function(){return g},WEB_VITALS:function(){return a},execOnce:function(){return o},getDisplayName:function(){return d},getLocationOrigin:function(){return u},getURL:function(){return c},isAbsoluteUrl:function(){return l},isResSent:function(){return p},loadGetInitialProps:function(){return m},normalizeRepeatedSlashes:function(){return f},stringifyError:function(){return j}};for(var i in n)Object.defineProperty(r,i,{enumerable:!0,get:n[i]});let a=["CLS","FCP","FID","INP","LCP","TTFB"];function o(e){let t,r=!1;return(...n)=>(r||(r=!0,t=e(...n)),t)}let s=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/,l=e=>{let t=e.charCodeAt(0);return!!(t>=65&&t<=90||t>=97&&t<=122)&&s.test(e)};function u(){let{protocol:e,hostname:t,port:r}=window.location;return`${e}//${t}${r?":"+r:""}`}function c(){let{href:e}=window.location,t=u();return e.substring(t.length)}function d(e){return"string"==typeof e?e:e.displayName||e.name||"Unknown"}function p(e){return e.finished||e.headersSent}function f(e){let t=e.split("?");return t[0].replace(/\\/g,"/").replace(/\/\/+/g,"/")+(t[1]?`?${t.slice(1).join("?")}`:"")}async function m(e,t){let r=t.res||t.ctx&&t.ctx.res;if(!e.getInitialProps)return t.ctx&&t.Component?{pageProps:await m(t.Component,t.ctx)}:{};let n=await e.getInitialProps(t);if(r&&p(r))return n;if(!n)throw Object.defineProperty(Error(`"${d(e)}.getInitialProps()" should resolve to an object. But found "${n}" instead.`),"__NEXT_ERROR_CODE",{value:"E1025",enumerable:!1,configurable:!0});return n}let h="u">typeof performance,g=h&&["mark","measure","getEntriesByName"].every(e=>"function"==typeof performance[e]);
1class x extends Error{}class v extends Error{}class b extends Error{constructor(e){super(),this.code="ENOENT",this.name="PageNotFoundError",this.message=`Cannot find module for page: ${e}`}}class y extends Error{constructor(e,t){super(),this.message=`Failed to load static file for page: ${e} ${t}`}}class w extends Error{constructor(){super(),this.code="ENOENT",this.message="Cannot find the middleware module"}}function j(e){return JSON.stringify({message:e.message,stack:e.stack})}},54375,(e,t,r)=>{t.exports=e.r(610705)}]);

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.