PageSourceSearch

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

js venue.ink collected 2026-09-24 09:51:39 UTC 18,144 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]="70ea4464-2d0c-55cd-a145-46759e051b6c")}catch(e){}}();import{r as w,j as t}from"./1_rjLJJT.js";import{c as Ne,am as Pe,t as he,p as Oe,cL as Ve,T as xe,bK as Be,B as Re,a as Ue,H as He,cM as Ge,aj as We,k as Xe,a7 as _e,ao as Ye,C as Je,F as Ze,u as et}from"./BzLaZ4LI.js";import{u as tt,a as ze,K as st,P as it,D as lt,c as nt,S as ot,v as at,b as rt,C as ct,s as ut,d as dt,e as ft}from"./DTiI9Hoq.js";import{T as mt,D as ht,C as qe}from"./CwRjIYSi.js";import{R as xt}from"./CZEInz57.js";import{S as pt}from"./CGkMmlqZ.js";import{A as gt}from"./B8Gh17e6.js";import{d as St,f as bt,e as jt,b as kt,g as vt,S as Qt,a as Ct}from"./eOhqpjg0.js";import{r as yt}from"./TbZLusC8.js";import{R as Nt,a9 as At,K as Et,k as Mt,B as _t}from"./CF1GVhvA.js";import{g as Le}from"./FqlJZZlx.js";import"./CJi0kXOi.js";import"./BiUYuhao.js";import"./BnWyCVyG.js";function qt(i){const e=Math.floor(i/60),s=i%60;return e===0?`${s}m`:s===0?`${e}h`:`${e}h${s}m`}function ye(i){const e=i/100;return`$${Number.isInteger(e)?e:e.toFixed(2)}`}function wt(i,e){return i===null&&e===null?null:i!==null&&e!==null&&i===e?ye(i):i!==null&&e!==null?`${ye(i)}–${ye(e)}`:i!==null?`from ${ye(i)}`:`up to ${ye(e)}`}function Ke(i){const e=[];i.durationMinutes!==null&&e.push(qt(i.durationMinutes)),i.depositAmountCents!==null&&e.push(`${ye(i.depositAmountCents)} deposit`);const s=wt(i.minQuoteAmountCents,i.maxQuoteAmountCents);return s&&e.push(s),e.join(" · ")}function we(i){if(i)return i.data?.httpStatus===409?"A quick quote with this name already exists":i.message}function Rt(i){const e=Ne.c(117),{open:s,onOpenChange:o,providerId:f,editingQuote:a}=i,{toast:u}=Pe(),m=he.useUtils(),[c,S]=w.useState(""),[n,j]=w.useState(""),[h,Q]=w.useState(""),[r,k]=w.useState(""),[d,K]=w.useState(""),[p,R]=w.useState(!1),[U,D]=w.useState(""),C=w.useRef(""),E=w.useRef(null),I=w.useRef(null);let M;e[0]===Symbol.for("react.memo_cache_sentinel")?(M=A=>{C.current=A,D(A)},e[0]=M):M=e[0];const v=M;let b,y;e[1]!==a||e[2]!==s?(b=()=>{if(s){S(a?.name??""),j(a?.durationMinutes?.toString()??""),Q(a?.depositAmountCents?.toString()??""),k(a?.minQuoteAmountCents?.toString()??""),K(a?.maxQuoteAmountCents?.toString()??"");const A=!!a?.scheduleMessage;R(A),v(Oe(A?a.scheduleMessage:Ve))}},y=[s,a],e[1]=a,e[2]=s,e[3]=b,e[4]=y):(b=e[3],y=e[4]),w.useEffect(b,y);const _=!!a;let q;e[5]!==o||e[6]!==u||e[7]!==m?(q=()=>{m.quickQuotes.listQuickQuotes.invalidate(),u({title:"Success",description:"Quick quote created successfully."}),o(!1)},e[5]=o,e[6]=u,e[7]=m,e[8]=q):q=e[8];let g;e[9]!==u?(g=A=>{u({title:"Error",description:we(A)??"Failed to create quick quote. Please try again."})},e[9]=u,e[10]=g):g=e[10];let N;e[11]!==q||e[12]!==g?(N={onSuccess:q,onError:g},e[11]=q,e[12]=g,e[13]=N):N=e[13];const te=he.quickQuotes.createQuickQuote.useMutation(N);let Y;e[14]!==o||e[15]!==u||e[16]!==m?(Y=()=>{m.quickQuotes.listQuickQuotes.invalidate(),u({title:"Success",description:"Quick quote updated successfully."}),o(!1)},e[14]=o,e[15]=u,e[16]=m,e[17]=Y):Y=e[17];let J;e[18]!==u?(J=A=>{u({title:"Error",description:we(A)??"Failed to update quick quote. Please try again."})},e[18]=u,e[19]=J):J=e[19];let se;e[20]!==Y||e[21]!==J?(se={onSuccess:Y,onError:J},e[20]=Y,e[21]=J,e[22]=se):se=e[22];const ae=he.quickQuotes.updateQuickQuote.useMutation(se),ie=_?ae:te,l=ie.isPending;let le;e[23]!==ie.error?(le=we(ie.error),e[23]=ie.error,e[24]=le):le=e[24];const O=le,V=n!==""||h!==""||r!==""||d!==""||p;let pe;e[25]!==te||e[26]!==p||e[27]!==h||e[28]!==n||e[29]!==a||e[30]!==V||e[31]!==_||e[32]!==d||e[33]!==r||e[34]!==c||e[35]!==f||e[36]!==ae?(pe=A=>{if(A.preventDefault(),A.stopPropagation(),!c.trim()||!V)return;const Ce=C.current,De=n!==""?Number(n):null,Ie=h!==""?Number(h):null,Fe=r!==""?Number(r):null,$e=d!==""?Number(d):null,Te=p&&Ce&&Ce!=="<p></p>"?Ce:null;_&&a?ae.mutate({personId:f,id:a.id,name:c,durationMinutes:De,depositAmountCents:Ie,scheduleMessage:Te,quote:{minAmountCents:Fe,maxAmountCents:$e}}):te.mutate({personId:f,name:c,durationMinutes:De,depositAmountCents:Ie,scheduleMessage:Te,quote:{minAmountCents:Fe,maxAmountCents:$e}})},e[25]=te,e[26]=p,e[27]=h,e[28]=n,e[29]=a,e[30]=V,e[31]=_,e[32]=d,e[33]=r,e[34]=c,e[35]=f,e[36]=ae,e[37]=pe):pe=e[37];const re=pe,ce=_?"Edit Quick Quote":"New Quick Quote";let Z;e[38]!==ce?(Z=t.jsx(St,{children:t.jsx("div",{className:"flex flex-col gap-1",children:t.jsx(xe,{size:"lg",className:"leading-tighter",children:ce})})}),e[38]=ce,e[39]=Z):Z=e[39];const ue=_?"Edit an existing quick quote template":"Create a new quick quote template";let F;e[40]!==ue?(F=t.jsx(Nt,{children:t.jsx(bt,{children:ue})}),e[40]=ue,e[41]=F):F=e[41];let B;e[42]!==Z||e[43]!==F?(B=t.jsxs(jt,{children:[Z,F]}),e[42]=Z,e[43]=F,e[44]=B):B=e[44];let G;e[45]===Symbol.for("react.memo_cache_sentinel")?(G=A=>S(A.target.value),e[45]=G):G=e[45];let $;e[46]!==l||e[47]!==c?($=t.jsx("div",{className:"space-y-2",children:t.jsx(mt,{label:"Title",value:c,onChange:G,disabled:l,maxLength:20,variant:"labeled",placeholder:"Half Day"})}),e[46]=l,e[47]=c,e[48]=$):$=e[48];let T;e[49]!==n||e[50]!==l?(T=t.jsx("div",{className:"flex-1",children:t.jsx(ht,{durationMinutes:n,setDurationMinutes:j,disabled:l,label:"Duration"})}),e[49]=n,e[50]=l,e[51]=T):T=e[51];let z;e[52]!==h||e[53]!==l?(z=t.jsx("div",{className:"flex-1",children:t.jsx(qe,{currency:"USD",amountCents:h,setAmountCents:Q,placeholderAmountCents:0,disabled:l,label:"Deposit"})}),e[52]=h,e[53]=l,e[54]=z):z=e[54];let L;e[55]!==T||e[56]!==z?(L=t.jsxs("div",{className:"flex flex-row gap-3",children:[T,z]}),e[55]=T,e[56]=z,e[57]=L):L=e[57];let P;e[58]!==l||e[59]!==r?(P=t.jsx("div",{className:"flex-1",children:t.jsx(qe,{currency:"USD",amountCents:r,setAmountCents:k,placeholderAmountCents:0,disabled:l,label:"Low Estimate"})}),e[58]=l,e[59]=r,e[60]=P):P=e[60];let W;e[61]!==l||e[62]!==d?(W=t.jsx("div",{className:"flex-1",children:t.jsx(qe,{currency:"USD",amountCents:d,setAmountCents:K,placeholderAmountCents:0,disabled:l,label:"High Estimate"})}),e[61]=l,e[62]=d,e[63]=W):W=e[63];let x;e[64]!==P||e[65]!==W?(x=t.jsxs("div",{className:"flex flex-row gap-3",children:[P,W]}
1),e[64]=P,e[65]=W,e[66]=x):x=e[66];let X;e[67]===Symbol.for("react.memo_cache_sentinel")?(X=t.jsx(Be,{children:"Currency will match your book's currency."}),e[67]=X):X=e[67];let H;e[68]!==p||e[69]!==l?(H=t.jsx(pt,{checked:p,onCheckedChange:R,disabled:l}),e[68]=p,e[69]=l,e[70]=H):H=e[70];let ge;e[71]===Symbol.for("react.memo_cache_sentinel")?(ge=t.jsx(xe,{size:"sm",children:"Customize message"}),e[71]=ge):ge=e[71];let de;e[72]!==H?(de=t.jsxs("label",{className:"flex items-center gap-3 cursor-pointer",children:[H,ge]}),e[72]=H,e[73]=de):de=e[73];let ne;e[74]!==p||e[75]!==l||e[76]!==U?(ne=p&&t.jsx(xt,{ref:E,value:U??"",onChangeValue:v,placeholder:"Message to include with the quote",disabled:l,allowImages:!0,className:"min-h-[200px]",supportedShortcodes:Le("REQUEST_ACCEPTED"),editorControls:t.jsx(gt,{onSelect:A=>{if(E.current){const Ce=E.current.insertShortcodeNode(A);Ce&&v(Ce)}else console.warn("editorRef.current is null")},templateVariables:Le("REQUEST_ACCEPTED")})}),e[74]=p,e[75]=l,e[76]=U,e[77]=ne):ne=e[77];let fe;e[78]!==de||e[79]!==ne?(fe=t.jsxs("div",{className:"flex flex-col gap-3 flex-1",children:[de,ne]}),e[78]=de,e[79]=ne,e[80]=fe):fe=e[80];let me;e[81]!==$||e[82]!==L||e[83]!==x||e[84]!==fe?(me=t.jsxs("div",{className:"px-5 flex flex-col gap-6 flex-1",children:[$,L,x,X,fe]}),e[81]=$,e[82]=L,e[83]=x,e[84]=fe,e[85]=me):me=e[85];let oe;e[86]!==O?(oe=O&&t.jsx("div",{className:"px-5",children:t.jsx("p",{className:"text-sm text-ink-destructive",children:O})}),e[86]=O,e[87]=oe):oe=e[87];let ee;e[88]!==me||e[89]!==oe?(ee=t.jsxs(kt,{className:"pt-3 pb-8 flex-1 flex flex-col gap-6",children:[me,oe]}),e[88]=me,e[89]=oe,e[90]=ee):ee=e[90];let Se;e[91]!==o?(Se=()=>o(!1),e[91]=o,e[92]=Se):Se=e[92];let be;e[93]!==l||e[94]!==Se?(be=t.jsx(Re,{variant:"secondary",onClick:Se,disabled:l,children:"Cancel"}),e[93]=l,e[94]=Se,e[95]=be):be=e[95];let Ae;e[96]===Symbol.for("react.memo_cache_sentinel")?(Ae=()=>yt(I),e[96]=Ae):Ae=e[96];let je;e[97]!==V||e[98]!==l||e[99]!==c?(je=!c.trim()||!V||l,e[97]=V,e[98]=l,e[99]=c,e[100]=je):je=e[100];const Me=_?"Update":"Save";let ke;e[101]!==l||e[102]!==je||e[103]!==Me?(ke=t.jsx(Re,{variant:"primary",onClick:Ae,disabled:je,isLoading:l,children:Me}),e[101]=l,e[102]=je,e[103]=Me,e[104]=ke):ke=e[104];let ve;e[105]!==be||e[106]!==ke?(ve=t.jsxs(vt,{children:[be,ke]}),e[105]=be,e[106]=ke,e[107]=ve):ve=e[107];let Qe;e[108]!==re||e[109]!==B||e[110]!==ee||e[111]!==ve?(Qe=t.jsx(Qt,{side:"right",className:"flex flex-col",children:t.jsxs("form",{className:"flex flex-col flex-1 overflow-hidden",onSubmit:re,ref:I,children:[B,ee,ve]})}),e[108]=re,e[109]=B,e[110]=ee,e[111]=ve,e[112]=Qe):Qe=e[112];let Ee;return e[113]!==o||e[114]!==s||e[115]!==Qe?(Ee=t.jsx(Ct,{open:s,onOpenChange:o,children:Qe}),e[113]=o,e[114]=s,e[115]=Qe,e[116]=Ee):Ee=e[116],Ee}const Dt=12;function It(i){const e=Ne.c(78),{providerId:s}=i,{toast:o}=Pe(),f=he.useUtils(),[a,u]=w.useState(null),[m,c]=w.useState(!1);let S;e[0]===Symbol.for("react.memo_cache_sentinel")?(S=[],e[0]=S):S=e[0];const[n,j]=w.useState(S);let h;e[1]!==s?(h={personId:s},e[1]=s,e[2]=h):h=e[2];const{data:Q,isLoading:r}=he.quickQuotes.listQuickQuotes.useQuery(h);let k;e[3]!==Q?(k=Q?.filter(Lt)??[],e[3]=Q,e[4]=k):k=e[4];const d=k;let K;e[5]!==Q?(K=Q?.filter(zt)??[],e[5]=Q,e[6]=K):K=e[6];const p=K;let R,U;e[7]!==d?(R=()=>{j(d)},U=[d],e[7]=d,e[8]=R,e[9]=U):(R=e[8],U=e[9]),w.useLayoutEffect(R,U);let D;e[10]!==f?(D=()=>{f.quickQuotes.listQuickQuotes.invalidate()},e[10]=f,e[11]=D):D=e[11];let C;e[12]!==o?(C=x=>{o({title:"Couldn't archive quick quote",description:x.message})},e[12]=o,e[13]=C):C=e[13];let E;e[14]!==D||e[15]!==C?(E={onSuccess:D,onError:C},e[14]=D,e[15]=C,e[16]=E):E=e[16];const{mutate:I,isPending:M}=he.quickQuotes.archiveQuickQuote.useMutation(E);let v;e[17]!==f?(v=()=>{f.quickQuotes.listQuickQuotes.invalidate()},e[17]=f,e[18]=v):v=e[18];let b;e[19]!==o?(b=x=>{o({title:"Couldn't restore quick quote",description:x.message})},e[19]=o,e[20]=b):b=e[20];let y;e[21]!==v||e[22]!==b?(y={onSuccess:v,onError:b},e[21]=v,e[22]=b,e[23]=y):y=e[23];const{mutate:_,isPending:q}
1=he.quickQuotes.restoreQuickQuote.useMutation(y);let g;e[24]!==f?(g=()=>{f.quickQuotes.listQuickQuotes.invalidate()},e[24]=f,e[25]=g):g=e[25];let N;e[26]!==d||e[27]!==o?(N=()=>{j(d),o({title:"Couldn't reorder",description:"Failed to update order. Please try again."})},e[26]=d,e[27]=o,e[28]=N):N=e[28];let te;e[29]!==g||e[30]!==N?(te={onSuccess:g,onError:N},e[29]=g,e[30]=N,e[31]=te):te=e[31];const{mutateAsync:Y,isPending:J}=he.quickQuotes.sortQuickQuotes.useMutation(te);let se;e[32]===Symbol.for("react.memo_cache_sentinel")?(se={coordinateGetter:ut},e[32]=se):se=e[32];const ae=tt(ze(it),ze(st,se));let ie;e[33]!==J||e[34]!==s||e[35]!==Y||e[36]!==n?(ie=async x=>{if(J)return;const{active:X,over:H}=x;if(H&&X.id!==H.id){const ge=n.findIndex(ee=>ee.id===X.id),de=n.findIndex(ee=>ee.id===H.id),ne=dt(n,ge,de);j(ne);const fe=n.map(Tt),me=ne.map($t),oe=Ge(fe,me);if(oe.length>0)try{await Y({personId:s,updates:oe})}catch{}}},e[33]=J,e[34]=s,e[35]=Y,e[36]=n,e[37]=ie):ie=e[37];const l=ie;let le;e[38]!==d.length||e[39]!==o?(le=()=>{if(d.length>=Dt){o({title:"Limit reached",description:"You've reached the limit of 12 quick quotes. Archive one to create a new one."});return}u(null),c(!0)},e[38]=d.length,e[39]=o,e[40]=le):le=e[40];const O=le;let V;e[41]===Symbol.for("react.memo_cache_sentinel")?(V=x=>{u(x),c(!0)},e[41]=V):V=e[41];const pe=V,re=n.length>0,ce=p.length>0,Z=!r&&!re&&!ce;let ue;e[42]===Symbol.for("react.memo_cache_sentinel")?(ue=t.jsx(We,{size:32}),e[42]=ue):ue=e[42];let F;e[43]!==O?(F=t.jsx(Xe,{backHref:"..",relative:"route",className:"border-b-transparent",rightSlot:t.jsx("button",{type:"button",onClick:O,"aria-label":"New quick quote",className:"flex items-center justify-center",children:ue})}),e[43]=O,e[44]=F):F=e[44];let B;e[45]===Symbol.for("react.memo_cache_sentinel")?(B=t.jsxs("div",{className:"flex flex-col gap-3",children:[t.jsx(xe,{size:"2xl",variant:"heading",children:"Quick quotes"}),t.jsx(xe,{inactive:!0,children:"Save your go-to deposit, duration and estimate. Pull them up in one tap."})]}),e[45]=B):B=e[45];let G;e[46]!==r?(G=r&&t.jsxs("div",{className:"flex flex-col gap-2",children:[t.jsx(_e,{className:"h-16 w-full"}),t.jsx(_e,{className:"h-16 w-full"}),t.jsx(_e,{className:"h-16 w-full"})]}),e[46]=r,e[47]=G):G=e[47];let $;e[48]!==O||e[49]!==Z?($=Z&&t.jsx(Ye,{centered:!1,icon:At,title:"Schedule in one tap",description:"Save your go-to deposit, duration and estimate. Pull them up anytime.",children:t.jsxs(Re,{onClick:O,size:"sm",children:[t.jsx(Et,{className:"size-4"}),"New quick quote"]})}),e[48]=O,e[49]=Z,e[50]=$):$=e[50];let T;e[51]!==I||e[52]!==l||e[53]!==re||e[54]!==M||e[55]!==s||e[56]!==ae||e[57]!==n?(T=re&&t.jsx(lt,{sensors:ae,collisionDetection:nt,onDragEnd:l,children:t.jsx(ot,{items:n.map(Ft),strategy:at,children:t.jsx("div",{className:"flex flex-col",children:n.map((x,X)=>t.jsx(Pt,{quote:x,isLast:X===n.length-1,onEdit:pe,onArchive:H=>I({personId:s,id:H}),isArchiving:M},x.id))})})}),e[51]=I,e[52]=l,e[53]=re,e[54]=M,e[55]=s,e[56]=ae,e[57]=n,e[58]=T):T=e[58];let z;e[59]!==p||e[60]!==ce||e[61]!==q||e[62]!==s||e[63]!==_?(z=ce&&t.jsxs("div",{className:"flex flex-col gap-2",children:[t.jsx(xe,{size:"sm",variant:"label",inactive:!0,className:"px-1",children:"Archived"}),t.jsx("div",{className:"flex flex-col",children:p.map((x,X)=>t.jsx(Ut,{quote:x,isLast:X===p.length-1,onRestore:()=>_({personId:s,id:x.id}),isRestoring:q},x.id))})]}),e[59]=p,e[60]=ce,e[61]=q,e[62]=s,e[63]=_,e[64]=z):z=e[64];let L;e[65]!==G||e[66]!==$||e[67]!==T||e[68]!==z?(L=t.jsx(Je,{children:t.jsxs("div",{className:"flex flex-col gap-6 p-5",children:[B,G,$,T,z]})}),e[65]=G,e[66]=$,e[67]=T,e[68]=z,e[69]=L):L=e[69];let P;e[70]!==a||e[71]!==s||e[72]!==m?(P=t.jsx(Rt,{open:m,onOpenChange:c,providerId:s,editingQuote:a}),e[70]=a,e[71]=s,e[72]=m,e[73]=P):P=e[73];let W;return e[74]!==F||e[75]!==L||e[76]!==P?(W=t.jsxs(Ze,{headerSlot:F,children:[L,P]}),e[74]=F,e[75]=L,e[76]=P,e[77]=W):W=e[77],W}function Ft(i){return i.id}function $t(i){return i.id}function Tt(i){return i.id}function zt(i){return i.archivedAtUtc!==null}function Lt(i){return i.archivedAtUtc===null}function Pt(i){const e=Ne.c(43),{quote:s,isLast:o,onEdit:f,onArchive:a,isArchiving:u}=i;let m;e[0]!==s.id?(m={id:s.id},e[0]=s.id,e[1]=m):m=e[1];const{attributes:c,listeners:S,setNodeRef:n,transform:j,transition:h,isDragging:Q}=rt(m);let r;e[2]!==j?(r=ct.Transform.toString(j),e[2]=j,e[3]=r):r=e[3];let k;e[4]!==r||e[5]!==h?(k={transform:r,transition:h},e[4]=r,e[5]=h,e[6]=k):k=e[6];const d=k,K=!o&&"border-b border-ink-black/10",p=Q&&"opacity-50";let R;e[7]!==K||e[8]!==p?(R=Ue("flex items-center gap-3 py-5",K,p),e[7]=K,e[8]=p,e[9]=R):R=e[9];const U=`Reorder ${s.name}`;let D;e[10]===Symbol.for("react.memo_cache_sentinel")?(D=t.jsx(ft,{size:20,"aria-hidden":!0}),e[10]=D):D=e[10];let C;e[11]!==c||e[12]!==S||e[13]!==U?(C=t.jsx("div",{className:"shrink-0 cursor-grab active:cursor-grabbing touch-none text-ink-black-400",...c,...S,"aria-label":U,children:D}),e[11]=c,e[12]=S,e[13]=U,e[14]=C):C=e[14];let E;e[15]!==f||e[16]!==s?(E=()=>f(s),e[15]=f,e[16]=s,e[17]=E):E=e[17];let I;e[18]!==s.name?(I=t.jsx(He,{size:"lg",className:"truncate",children:s.name}),e[18]=s.name,e[19]=I):I=e[19];let M;e[20]!==s?(M=Ke(s),e[20]=s,e[21]=M):M=e[21];let v;e[22]!==M?(v=t.jsx(xe,{size:"sm",inactive:!0,className:"truncate",children:M}),e[22]=M,e[23]=v):v=e[23];let b;e[24]!==E||e[25]!==I||e[26]!==v?(b=t.jsxs("button",{type:"button",className:"flex-1 min-w-0 text-left flex flex-col gap-2",onClick:E,children:[I,v]}),e[24]=E,e[25]=I,e[26]=v,e[27]=b):b=e[27];let y;e[28]!==a||e[29]!==s.id?(y=()=>
1a(s.id),e[28]=a,e[29]=s.id,e[30]=y):y=e[30];const _=`Archive ${s.name}`;let q;e[31]===Symbol.for("react.memo_cache_sentinel")?(q=t.jsx(Mt,{className:"size-5 text-ink-black dark:text-ink-white"}),e[31]=q):q=e[31];let g;e[32]!==u||e[33]!==y||e[34]!==_?(g=t.jsx("button",{type:"button",onClick:y,disabled:u,className:"size-8 flex items-center justify-center shrink-0","aria-label":_,children:q}),e[32]=u,e[33]=y,e[34]=_,e[35]=g):g=e[35];let N;return e[36]!==n||e[37]!==d||e[38]!==b||e[39]!==g||e[40]!==R||e[41]!==C?(N=t.jsxs("div",{ref:n,style:d,className:R,children:[C,b,g]}),e[36]=n,e[37]=d,e[38]=b,e[39]=g,e[40]=R,e[41]=C,e[42]=N):N=e[42],N}function Ut(i){const e=Ne.c(20),{quote:s,isLast:o,onRestore:f,isRestoring:a}=i,u=!o&&"border-b border-ink-black/10";let m;e[0]!==u?(m=Ue("w-full flex items-center justify-between gap-4 py-5 opacity-60",u),e[0]=u,e[1]=m):m=e[1];let c;e[2]!==s.name?(c=t.jsx(He,{size:"lg",className:"truncate",children:s.name}),e[2]=s.name,e[3]=c):c=e[3];let S;e[4]!==s?(S=Ke(s),e[4]=s,e[5]=S):S=e[5];let n;e[6]!==S?(n=t.jsx(xe,{size:"sm",inactive:!0,className:"truncate",children:S}),e[6]=S,e[7]=n):n=e[7];let j;e[8]!==c||e[9]!==n?(j=t.jsxs("div",{className:"flex flex-col gap-2 flex-1 min-w-0",children:[c,n]}),e[8]=c,e[9]=n,e[10]=j):j=e[10];const h=`Restore ${s.name}`;let Q;e[11]===Symbol.for("react.memo_cache_sentinel")?(Q=t.jsx(_t,{className:"size-3.5"}),e[11]=Q):Q=e[11];let r;e[12]!==a||e[13]!==f||e[14]!==h?(r=t.jsxs("button",{type:"button",onClick:f,disabled:a,"aria-label":h,className:"rounded-full h-8 flex gap-1 items-center justify-center border border-ink-black-100 hover:bg-ink-black/10 text-xs px-2 shrink-0",children:[Q,"Restore"]}),e[12]=a,e[13]=f,e[14]=h,e[15]=r):r=e[15];let k;return e[16]!==m||e[17]!==j||e[18]!==r?(k=t.jsxs("div",{className:m,children:[j,r]}),e[16]=m,e[17]=j,e[18]=r,e[19]=k):k=e[19],k}function is(){const i=Ne.c(2),{personId:e}=et();if(!e)return null;let s;return i[0]!==e?(s=t.jsx(It,{providerId:e}),i[0]=e,i[1]=s):s=i[1],s}export{is as default};
2
3//# chunkId=70ea4464-2d0c-55cd-a145-46759e051b6c

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.