PageSourceSearch

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

js venue.ink collected 2026-10-01 12:12:19 UTC 5,948 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:{},n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]="01a0f45b-c6e6-7b73-a05e-0683d405913b")}catch(e){}}();import{r as k,j as t}from"./1_rjLJJT.js";import{c as Q,u as X,t as $,a2 as Z,Y as z,a3 as ee,B as Y}from"./Cnl0lOne.js";import{e as te,f as se,c as ae,d as le,a as re,D as ne}from"./1wdvSDDz.js";import{S as oe,a as ie,b as ce,c as de,d as me}from"./Bt3tkbpM.js";import{T as fe}from"./Bz_KDPNB.js";import{D as ue}from"./YLLfQEvQ.js";import{u as he}from"./IR4uT189.js";import{z as V}from"./B5dUIQ6s.js";import"./BnWyCVyG.js";import"./B35B_vHQ.js";const xe=["I am not a tattoo artist","I signed up with another email","It's missing features that I need","It's too expensive","Another reason"],pe=V.object({reason:V.string().min(1,"Please select a reason"),feedback:V.string().min(3,"Please provide at least 3 characters of feedback")});function Ce(){const e=Q.c(58),W=he(),[l,H]=k.useState(!0),[s,G]=k.useState(""),[r,J]=k.useState("");let S;e[0]===Symbol.for("react.memo_cache_sentinel")?(S={},e[0]=S):S=e[0];const[n,K]=k.useState(S),{personId:o}=X(),L=$.useUtils(),{logOut:O}=k.useContext(Z);let _;e[1]!==O||e[2]!==o||e[3]!==L?(_={onSuccess:async()=>{L.getPersonSettings.invalidate(o),await O()}},e[1]=O,e[2]=o,e[3]=L,e[4]=_):_=e[4];const{mutateAsync:U,isPending:a}=$.requestDeletion.useMutation(_);let D;e[5]!==r||e[6]!==o||e[7]!==s||e[8]!==U?(D=async y=>{y.preventDefault();const P=pe.safeParse({reason:s,feedback:r});if(!P.success){K(P.error.flatten().fieldErrors);return}await U({personId:o,reason:P.data.reason,feedback:P.data.feedback}),H(!1)},e[5]=r,e[6]=o,e[7]=s,e[8]=U,e[9]=D):D=e[9];const q=D;let w;e[10]!==W||e[11]!==l?(w=()=>{l||W("../",{preventScrollReset:!0})},e[10]=W,e[11]=l,e[12]=w):w=e[12];const B=w;let N;e[13]===Symbol.for("react.memo_cache_sentinel")?(N=t.jsxs(te,{children:[t.jsx(se,{children:"Are you sure you want to delete your account?"}),t.jsx(ae,{children:"This action cannot be undone."})]}),e[13]=N):N=e[13];let C;e[14]===Symbol.for("react.memo_cache_sentinel")?(C=t.jsx("label",{htmlFor:"deletion-reason",className:"block text-sm font-medium mb-2",children:"Why you want to delete your account?"}),e[14]=C):C=e[14];let E;e[15]===Symbol.for("react.memo_cache_sentinel")?(E=y=>G(y),e[15]=E):E=e[15];let I;e[16]===Symbol.for("react.memo_cache_sentinel")?(I=t.jsx(oe,{id:"deletion-reason",children:t.jsx(ie,{placeholder:"Select a reason..."})}),e[16]=I):I=e[16];let R;e[17]===Symbol.for("react.memo_cache_sentinel")?(R=t.jsx(ce,{children:xe.map(be)}),e[17]=R):R=e[17];let i;e[18]!==s?(i=t.jsxs(de,{value:s,onValueChange:E,children:[I,R]}),e[18]=s,e[19]=i):i=e[19];let c;e[20]!==n.reason?(c=t.jsx(z,{errors:n.reason}),e[20]=n.reason,e[21]=c):c=e[21];let d;e[22]!==c||e[23]!==i?(d=t.jsxs("div",{children:[C,t.jsxs("div",{className:"flex flex-col space-y-2",children:[i,c]})]}),e[22]=c,e[23]=i,e[24]=d):d=e[24];let m;e[25]!==s?(m=s==="It's too expensive"&&t.jsx("div",{className:"bg-ink-black-50 border border-ink-black-200 rounded-lg p-4 space-y-3",children:t.jsxs("div",{className:"flex flex-col items-start space-y-2",children:[t.jsx("h3",{className:"font-medium text-ink-black-900",children:"We have other plans available"}),t.jsx("p",{className:"text-sm text-ink-black-600",children:"We understand pricing is important. We offer flexible plans to fit different budgets, including a $50 USD/month plan with only 5% payment processing fees."}),t.jsxs("a",{href:ee.pricingUrl,target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center text-sm font-medium text-ink-forest hover:text-ink-forest-700 underline",children:["View all pricing plans",t.jsx("svg",{className:"ml-1 w-4 h-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:t.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M10 6H6a2 2 0 00-2 2v10a2 2 0 002 2h10a2 2 0 002-2v-4M14 4h6m0 0v6m0-6L10 14"})})]})]})}),e[25]=s,e[26]=m):m=e[26];let F;e[27]===Symbol.for("react.memo_cache_sentinel")?(F=t.jsx("label",{htmlFor:"feedback",className:"block text-sm font-medium mb-2",children:"Is there anything else you would like to share?"}),e[27]=F):F=e[27];let T;e[28]===Symbol.for("react.memo_cache_sentinel")?(T=y=>J(y.target.value),e[28]=T):T=e[28];let f;e[29]!==r?(f=t.jsxs("div",{children:[F,t.jsx(fe,{id:"feedback",value:r,onChange:T,placeholder:"Tell us more about your experience...",minRows:3,className:"text-base",maxLength:4096})]}),e[29]=r,e[30]=f):f=e[30];let u;e[31]!==n.feedback?(u=t.jsx(z,{errors:n.feedback}),e[31]=n.feedback,e[32]=u):u=e[32];let h;e[33]!==f||e[34]!==u?(h=t.jsxs("div",{className:"flex flex-col space-y-2",children:[f,u]}
1),e[33]=f,e[34]=u,e[35]=h):h=e[35];let x;e[36]!==d||e[37]!==m||e[38]!==h?(x=t.jsxs("div",{className:"px-5 space-y-4",children:[d,m,h]}),e[36]=d,e[37]=m,e[38]=h,e[39]=x):x=e[39];let p;e[40]!==a?(p=t.jsx(ue,{asChild:!0,children:t.jsx(Y,{variant:"secondary",className:"text-center py-4",disabled:a,children:"Cancel"})}),e[40]=a,e[41]=p):p=e[41];const M=a?"Deleting...":"Delete";let b;e[42]!==a||e[43]!==M?(b=t.jsx(Y,{className:"text-red-500 text-center py-4",variant:"destructive",submit:!0,disabled:a,fullWidth:!0,children:M}),e[42]=a,e[43]=M,e[44]=b):b=e[44];let j;e[45]!==p||e[46]!==b?(j=t.jsxs(le,{variant:"inline",children:[p,b]}),e[45]=p,e[46]=b,e[47]=j):j=e[47];let v;e[48]!==q||e[49]!==x||e[50]!==j?(v=t.jsxs("form",{onSubmit:q,children:[x,j]}),e[48]=q,e[49]=x,e[50]=j,e[51]=v):v=e[51];let g;e[52]!==B||e[53]!==v?(g=t.jsxs(re,{onAnimationEndCapture:B,children:[N,v]}),e[52]=B,e[53]=v,e[54]=g):g=e[54];let A;return e[55]!==l||e[56]!==g?(A=t.jsx(ne,{open:l,onOpenChange:H,children:g}),e[55]=l,e[56]=g,e[57]=A):A=e[57],A}function be(e){return t.jsx(me,{value:e,children:e},e)}export{Ce as default};
2
3//# chunkId=01a0f45b-c6e6-7b73-a05e-0683d405913b

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.