PageSourceSearch

https://venue.ink/assets/CotTzYB3.js

js venue.ink collected 2026-09-24 09:51:22 UTC 11,446 bytes, 3 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};e._posthogReleaseId=e._posthogReleaseId||"01a0d059-0dc8-0000-0784-6ee3765120be";var n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]="545fc170-3d11-5094-bbb8-1835dd11260d")}catch(e){}}();import{j as t,r as ke}from"./1_rjLJJT.js";import{c as Y,t as ae,bf as ye,aG as Ne,L as ue,ao as ce,bg as de,B as he,O as xe,u as re,bh as we,o as Te,H as ve,T as ge,aV as Ce,bi as Ae,bj as Se,a as be,C as Pe,F as Ie,ar as Le,a7 as Fe,ap as _e,h as ze,ae as fe,af as pe}from"./BzLaZ4LI.js";import{L as je,H as Ee,b as Be}from"./CJi0kXOi.js";import{b as De,c as Ue,a as Oe,T as Re}from"./Da5HTlwd.js";import{g as He}from"./DsKN6oxK.js";import"./BiUYuhao.js";import"./CF1GVhvA.js";import"./BnWyCVyG.js";function $e(s){const e=Y.c(31),{application:n,conventionPostingId:l}=s,p=xe(),{handle:d,personId:f}=re(),i=n.applicantHandle?`@${n.applicantHandle}`:n.applicantName??"Applicant";let o;e[0]!==n.id||e[1]!==l||e[2]!==p||e[3]!==d||e[4]!==f?(o=p("conventionApplication",{applicationId:n.id,conventionPostingId:l,handle:d,personId:f}),e[0]=n.id,e[1]=l,e[2]=p,e[3]=d,e[4]=f,e[5]=o):o=e[5];const r=n.applicantProfileImageUrl??we;let a;e[6]!==i||e[7]!==r?(a=t.jsx("img",{src:r,alt:i,className:"size-12 rounded-full bg-ink-black-100 object-cover dark:bg-ink-black-800"}),e[6]=i,e[7]=r,e[8]=a):a=e[8];let j;e[9]!==n.hasUnreadConversation?(j=n.hasUnreadConversation?t.jsx("svg",{"aria-hidden":"true",height:"18",width:"18",className:"absolute -right-1 -top-1 z-10 text-ink-white dark:text-ink-black-900",children:t.jsx("circle",{cx:"9",cy:"9",r:"6",stroke:"currentColor",strokeWidth:"3",fill:"#DB4B3A"})}):null,e[9]=n.hasUnreadConversation,e[10]=j):j=e[10];let u;e[11]!==a||e[12]!==j?(u=t.jsxs("div",{className:"relative shrink-0",children:[a,j]}),e[11]=a,e[12]=j,e[13]=u):u=e[13];let c;e[14]!==i?(c=t.jsx(ve,{size:"xl",className:"w-full truncate",children:i}),e[14]=i,e[15]=c):c=e[15];let h;e[16]!==n.hasUnreadConversation?(h=n.hasUnreadConversation&&t.jsx("span",{className:"sr-only",children:"Unread messages"}),e[16]=n.hasUnreadConversation,e[17]=h):h=e[17];let b;e[18]!==n.createdAt?(b=He(n.createdAt,Te(),"Applied"),e[18]=n.createdAt,e[19]=b):b=e[19];let x;e[20]!==b?(x=t.jsx(ge,{variant:"label",size:"xs",inactive:!0,children:b}),e[20]=b,e[21]=x):x=e[21];let v;e[22]!==c||e[23]!==h||e[24]!==x?(v=t.jsxs("div",{className:"flex min-w-0 flex-1 flex-col gap-2 py-1",children:[c,h,x]}),e[22]=c,e[23]=h,e[24]=x,e[25]=v):v=e[25];let g;e[26]===Symbol.for("react.memo_cache_sentinel")?(g=t.jsx(Ce,{size:24,className:"shrink-0 self-center text-ink-black/40 dark:text-ink-white/40"}),e[26]=g):g=e[26];let k;return e[27]!==o||e[28]!==v||e[29]!==u?(k=t.jsxs(je,{to:o,viewTransition:!0,className:"flex w-full items-start gap-4 border-b border-ink-black/10 px-5 py-4 no-underline dark:border-ink-white/10",children:[u,v,g]}),e[27]=o,e[28]=v,e[29]=u,e[30]=k):k=e[30],k}function Me(s){const e=Y.c(17),{conventionPostingId:n,personId:l,tab:p,archived:d,emptyTitle:f,emptyDescription:i}=s,o=d===void 0?!1:d;let r;e[0]!==o||e[1]!==n||e[2]!==l||e[3]!==p?(r={archived:o,conventionPostingId:n,limit:24,personId:l,tab:p},e[0]=o,e[1]=n,e[2]=l,e[3]=p,e[4]=r):r=e[4];let a;e[5]===Symbol.for("react.memo_cache_sentinel")?(a={getNextPageParam:Ve},e[5]=a):a=e[5];const{data:j,isLoading:u,isFetchingNextPage:c,fetchNextPage:h,error:b,refetch:x}=ae.conventions.getPageOfConventionApplications.useInfiniteQuery(r,a);let v;if(e[6]!==o||e[7]!==n||e[8]!==j?.pages||e[9]!==i||e[10]!==f||e[11]!==b||e[12]!==h||e[13]!==c||e[14]!==u||e[15]!==x){const g=j?.pages??[],k=g[g.length-1]?.hasMore===!0,y=g.flatMap(Qe);v=t.jsx(ye,{hasMore:k,onLoadMore:h,children:u&&!c?t.jsx(Ne,{children:t.jsx(ue,{})}):y.length>0?t.jsx("div",{className:"flex flex-col overflow-hidden",children:y.map(N=>t.jsx($e,{application:N,conventionPostingId:n},N.id))},o?"archived":"active"):b?t.jsx(ce,{icon:de,title:"Unable to load applications",description:"Please try again.",children:t.jsx(he,{variant:"secondary",size:"sm",onClick:()=>{x()},children:"Try again"})}):t.jsx(ce,{icon:de,title:f,description:i})}
1),e[6]=o,e[7]=n,e[8]=j?.pages,e[9]=i,e[10]=f,e[11]=b,e[12]=h,e[13]=c,e[14]=u,e[15]=x,e[16]=v}else v=e[16];return v}function Qe(s){return s.applications}function Ve(s){return s.applications[s.applications.length-1]?.id}const oe=[{value:"waitlisted",label:"New",emptyTitle:"No new applications",emptyDescription:"When artists apply to this convention, they'll show up here."},{value:"offered",label:"Offered",emptyTitle:"No offers out",emptyDescription:"Artists you've offered a spot to will show up here."},{value:"attending",label:"Attending",emptyTitle:"Nobody attending yet",emptyDescription:"Artists who've paid for their spot will show up here."},{value:"ignored",label:"Ignored",emptyTitle:"No ignored applications",emptyDescription:"Applications you turn down will show up here."}];function me(s){const e=oe.find(n=>n.value===s);return e?e.value:"waitlisted"}const Ge="conventionApplicationsSelectedTab";function We(s){const e=Y.c(8),{count:n,isSelected:l}=s;if(n===void 0){let r;return e[0]===Symbol.for("react.memo_cache_sentinel")?(r=t.jsx(Fe,{className:"inline-flex size-4 rounded-full"}),e[0]=r):r=e[0],r}if(n===0)return null;const p=l?"bg-ink-black text-ink-white":"bg-ink-black/5 text-ink-black-400";let d;e[1]!==p?(d=be("flex h-4 w-4 items-center justify-center rounded-full px-1",p),e[1]=p,e[2]=d):d=e[2];const f=n>99?"99+":n;let i;e[3]!==f?(i=t.jsx("span",{className:"text-[10px] font-medium leading-none",children:f}),e[3]=f,e[4]=i):i=e[4];let o;return e[5]!==d||e[6]!==i?(o=t.jsx("div",{className:d,children:i}),e[5]=d,e[6]=i,e[7]=o):o=e[7],o}function Ke(s){const e=Y.c(99),{conventionPostingId:n}=s,{personId:l,handle:p}=re(),d=xe(),[f,i]=Ae(Ge,"waitlisted");let o;
1e[0]!==f?(o=me(f),e[0]=f,e[1]=o):o=e[1];const r=o,[a,j]=ke.useState(!1);let u;e[2]!==a||e[3]!==n?(u={archived:a,conventionPostingId:n},e[2]=a,e[3]=n,e[4]=u):u=e[4];const{data:c}=ae.conventions.getConventionApplicationCounts.useQuery(u);let h;e[5]!==l?(h={personId:l,archived:!1},e[5]=l,e[6]=h):h=e[6];const b=!!l;let x;e[7]!==b?(x={enabled:b},e[7]=b,e[8]=x):x=e[8];const{data:v}=ae.conventions.getConventionPostingsForManager.useQuery(h,x);let g,k,y,N,w,C,A,S,T,P,I,L,F,_,z;if(e[9]!==r||e[10]!==n||e[11]!==c?.attending||e[12]!==c?.ignored||e[13]!==c?.offered||e[14]!==c?.waitlisted||e[15]!==d||e[16]!==p||e[17]!==l||e[18]!==v||e[19]!==i){const m=v?.find(le=>le.id===n),te=c?.waitlisted,ne=c?.offered,ie=c?.attending,se=c?.ignored;let J;e[35]!==te||e[36]!==ne||e[37]!==ie||e[38]!==se?(J={waitlisted:te,offered:ne,attending:ie,ignored:se},e[35]=te,e[36]=ne,e[37]=ie,e[38]=se,e[39]=J):J=e[39],N=J,I=t.jsx(Ee,{children:t.jsx("title",{children:m?.name??"Convention"})}),y=Pe,P="px-0",k=Oe,S=r,e[40]!==i?(T=le=>{i(me(le)),j(!1)},e[40]=i,e[41]=T):T=e[41],g=Ie,A="bg-ink-paper dark:bg-ink-black-900",C="mx-auto w-full max-w-screen-xs",z="flex items-center gap-3 px-5 pb-2 pt-4";let K;e[42]!==d||e[43]!==p||e[44]!==l?(K=d("conventions",{handle:p,personId:l}),e[42]=d,e[43]=p,e[44]=l,e[45]=K):K=e[45];let X;e[46]===Symbol.for("react.memo_cache_sentinel")?(X=t.jsx(Le,{size:20}),e[46]=X):X=e[46],e[47]!==K?(w=t.jsx(je,{to:K,"aria-label":"Back to conventions",viewTransition:!0,className:"flex size-8 shrink-0 items-center justify-center rounded-full bg-ink-black/5 text-ink-black no-underline dark:bg-ink-white/5 dark:text-ink-white",children:X}),e[47]=K,e[48]=w):w=e[48],L="flex min-w-0 flex-col",F=t.jsx(ve,{size:"2xl",className:"truncate",children:m?.name??"Convention"}),_=m&&t.jsx(ge,{variant:"body",size:"sm",className:"truncate",children:Se(m.startsOn,m.endsOn,"long")}),e[9]=r,e[10]=n,e[11]=c?.attending,e[12]=c?.ignored,e[13]=c?.offered,e[14]=c?.waitlisted,e[15]=d,e[16]=p,e[17]=l,e[18]=v,e[19]=i,e[20]=g,e[21]=k,e[22]=y,e[23]=N,e[24]=w,e[25]=C,e[26]=A,e[27]=S,e[28]=T,e[29]=P,e[30]=I,e[31]=L,e[32]=F,e[33]=_,e[34]=z}else g=e[20],k=e[21],y=e[22],N=e[23],w=e[24],C=e[25],A=e[26],S=e[27],T=e[28],P=e[29],I=e[30],L=e[31],F=e[32],_=e[33],z=e[34];let E;e[49]!==L||e[50]!==F||e[51]!==_?(E=t.jsxs("div",{className:L,children:[F,_]}),e[49]=L,e[50]=F,e[51]=_,e[52]=E):E=e[52];let B;e[53]!==w||e[54]!==E||e[55]!==z?(B=t.jsxs("div",{className:z,children:[w,E]}),e[53]=w,e[54]=E,e[55]=z,e[56]=B):B=e[56];let Z;e[57]===Symbol.for("react.memo_cache_sentinel")?(Z=t.jsx("div",{className:"absolute bottom-0 left-0 h-px w-full bg-ink-black-100"}),e[57]=Z):Z=e[57];let D;e[58]!==r||e[59]!==N?(D=oe.map(m=>t.jsx(De,{variant:"underline",value:m.value,children:t.jsxs("span",{className:"flex flex-nowrap items-center justify-center gap-1",children:[t.jsx("span",{children:m.label}),t.jsx(We,{count:N[m.value],isSelected:r===m.value})]})},m.value)),e[58]=r,e[59]=N,e[60]=D):D=e[60];let U;e[61]!==D?(U=t.jsxs("div",{className:"relative",children:[Z,t.jsx(Re,{variant:"underline",className:"invisible-scrollbar relative z-10 mb-3 overflow-x-auto px-5",children:D})]}),e[61]=D,e[62]=U):U=e[62];let O;e[63]!==C||e[64]!==B||e[65]!==U?(O=t.jsxs("div",{className:C,children:[B,U]}),e[63]=C,e[64]=B,e[65]=U,e[66]=O):O=e[66];let R;e[67]!==A||e[68]!==O?(R=t.jsx("div",{className:A,children:O}),e[67]=A,e[68]=O,e[69]=R):R=e[69];const ee=a?"primary":"tertiary";let H;e[70]!==a?(H=()=>j(!a),e[70]=a,e[71]=H):H=e[71];let $;e[72]!==ee||e[73]!==H?($=t.jsx("div",{className:"mb-3 flex px-5",children:t.jsx(he,{variant:ee,size:"sm",onClick:H,className:"inline-flex h-7 min-h-7 gap-1 rounded-full border-0 px-3",children:"Archived"})}),e[72]=ee,e[73]=H,e[74]=$):$=e[74];let M;e[75]!==r||e[76]!==a||e[77]!==n||e[78]!==l?(M=oe.map(m=>t.jsx(Ue,{value:m.value,className:be("mt-0 flex flex-1 flex-col gap-4",r!==m.value&&"hidden"),children:t.jsx(Me,{conventionPostingId:n,personId:l,tab:m.value,archived:a,emptyTitle:a?"Nothing archived":m.emptyTitle,emptyDescription:a?"Archived applications will show up here.":m.emptyDescription})},m.value)),e[75]=r,e[76]=a,e[77]=n,e[78]=l,e[79]=M):M=e[79];let Q;e[80]!==$||e[81]!==M?(Q=t.jsx("div",{className:"mx-auto w-full max-w-screen-xs",children:t.jsxs("div",{className:"relative flex flex-1 flex-col pb-4",children:[$,M]})}),e[80]=$,e[81]=M,e[82]=Q):Q=e[82];let V;e[83]!==g||e[84]!==R||e[85]!==Q?(V=t.jsx(g,{headerSlot:R,children:Q}),e[83]=g,e[84]=R,e[85]=Q,e[86]=V):V=e[86];let G;e[87]!==k||e[88]!==S||e[89]!==T||e[90]!==V?(G=t.jsx(k,{value:S,onValueChange:T,children:V}),e[87]=k,e[88]=S,e[89]=T,e[90]=V,e[91]=G):G=e[91];let W;e[92]!==y||e[93]!==P||e[94]!==G?(W=t.jsx(y,{className:P,children:G}),e[92]=y,e[93]=P,e[94]=G,e[95]=W):W=e[95];let q;return e[96]!==I||e[97]!==W?(q=t.jsxs(t.Fragment,{children:[I,W]}),e[96]=I,e[97]=W,e[98]=q):q=e[98],q}function it(){const s=Y.c(5),{conventionPostingId:e}=Be(),{personId:n,isLoading:l}=re(),{isEnabled:p,isLoading:d}=_e("conventions-preview",n);if(l||d){let i;return s[0]===Symbol.for("react.memo_cache_sentinel")?(i=t.jsx(ue,{code:ze.featureFlagEnabled_isLoading}),s[0]=i):i=s[0],i}if(!p){let i;return s[1]===Symbol.for("react.memo_cache_sentinel")?(i=t.jsx(fe,{code:pe.featureFlagNotEnabled}),s[1]=i):i=s[1],i}if(!e){let i;return s[2]===Symbol.for("react.memo_cache_sentinel")?(i=t.jsx(fe,{code:pe.getConventionPosting}),s[2]=i):i=s[2],i}let f;return s[3]!==e?(f=t.jsx(Ke,{conventionPostingId:e}),s[3]=e,s[4]=f):f=s[4],f}export{it as default};
2
3//# chunkId=545fc170-3d11-5094-bbb8-1835dd11260d

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.