Files
chinese-family-tree-2/.next/static/chunks/e5be83f45c43c1ba.js
T
freedakgmail e44dd0bd95 0.0.8.0
2025-11-23 18:03:04 +08:00

1 line
18 KiB
JavaScript

(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,21446,e=>{"use strict";let s=(0,e.i(27706).default)("User",[["path",{d:"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2",key:"975kel"}],["circle",{cx:"12",cy:"7",r:"4",key:"17ys0d"}]]);e.s(["User",()=>s],21446)},26922,e=>{"use strict";let s=(0,e.i(27706).default)("Upload",[["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["polyline",{points:"17 8 12 3 7 8",key:"t8dd8p"}],["line",{x1:"12",x2:"12",y1:"3",y2:"15",key:"widbto"}]]);e.s(["Upload",()=>s],26922)},74665,8204,e=>{"use strict";var s=e.i(27706);let t=(0,s.default)("CircleUser",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}],["path",{d:"M7 20.662V19a2 2 0 0 1 2-2h6a2 2 0 0 1 2 2v1.662",key:"154egf"}]]);e.s(["CircleUser",()=>t],74665);let a=(0,s.default)("CircleUserRound",[["path",{d:"M18 20a6 6 0 0 0-12 0",key:"1qehca"}],["circle",{cx:"12",cy:"10",r:"4",key:"1h16sb"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]]);e.s(["CircleUserRound",()=>a],8204)},35904,34420,e=>{"use strict";var s=e.i(36792),t=e.i(69744);function a({className:e,...a}){return(0,s.jsx)("textarea",{"data-slot":"textarea",className:(0,t.cn)("border-input placeholder:text-muted-foreground focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive dark:bg-input/30 flex field-sizing-content min-h-16 w-full rounded-md border bg-transparent px-3 py-2 text-base shadow-xs transition-[color,box-shadow] outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",e),...a})}e.s(["Textarea",()=>a],35904);let r=(0,e.i(27706).default)("ArrowLeft",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]]);e.s(["ArrowLeft",()=>r],34420)},90432,e=>{"use strict";var s=e.i(36792),t=e.i(97185),a=e.i(6315),a=a,r=e.i(69744);function d({...e}){return(0,s.jsx)(t.Root,{"data-slot":"dialog",...e})}function l({...e}){return(0,s.jsx)(t.Trigger,{"data-slot":"dialog-trigger",...e})}function i({...e}){return(0,s.jsx)(t.Portal,{"data-slot":"dialog-portal",...e})}function n({className:e,...a}){return(0,s.jsx)(t.Overlay,{"data-slot":"dialog-overlay",className:(0,r.cn)("data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/50",e),...a})}function o({className:e,children:d,showCloseButton:l=!0,...o}){return(0,s.jsxs)(i,{"data-slot":"dialog-portal",children:[(0,s.jsx)(n,{}),(0,s.jsxs)(t.Content,{"data-slot":"dialog-content",className:(0,r.cn)("bg-background data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 fixed top-[50%] left-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 rounded-lg border p-6 shadow-lg duration-200 sm:max-w-lg",e),...o,children:[d,l&&(0,s.jsxs)(t.Close,{"data-slot":"dialog-close",className:"ring-offset-background focus:ring-ring data-[state=open]:bg-accent data-[state=open]:text-muted-foreground absolute top-4 right-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",children:[(0,s.jsx)(a.default,{}),(0,s.jsx)("span",{className:"sr-only",children:"Close"})]})]})]})}function c({className:e,...t}){return(0,s.jsx)("div",{"data-slot":"dialog-header",className:(0,r.cn)("flex flex-col gap-2 text-center sm:text-left",e),...t})}function m({className:e,...t}){return(0,s.jsx)("div",{"data-slot":"dialog-footer",className:(0,r.cn)("flex flex-col-reverse gap-2 sm:flex-row sm:justify-end",e),...t})}function x({className:e,...a}){return(0,s.jsx)(t.Title,{"data-slot":"dialog-title",className:(0,r.cn)("text-lg leading-none font-semibold",e),...a})}function h({className:e,...a}){return(0,s.jsx)(t.Description,{"data-slot":"dialog-description",className:(0,r.cn)("text-muted-foreground text-sm",e),...a})}e.s(["Dialog",()=>d,"DialogContent",()=>o,"DialogDescription",()=>h,"DialogFooter",()=>m,"DialogHeader",()=>c,"DialogTitle",()=>x,"DialogTrigger",()=>l],90432)},43359,e=>{"use strict";let s=(0,e.i(27706).default)("Users",[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["path",{d:"M16 3.13a4 4 0 0 1 0 7.75",key:"1da9ce"}]]);e.s(["Users",()=>s],43359)},78657,e=>{"use strict";let s=(0,e.i(27706).default)("ZoomIn",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["line",{x1:"21",x2:"16.65",y1:"21",y2:"16.65",key:"13gj7c"}],["line",{x1:"11",x2:"11",y1:"8",y2:"14",key:"1vmskp"}],["line",{x1:"8",x2:"14",y1:"11",y2:"11",key:"durymu"}]]);e.s(["ZoomIn",()=>s],78657)},49326,e=>{"use strict";let s=(0,e.i(27706).default)("Calendar",[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}]]);e.s(["default",()=>s])},7790,e=>{"use strict";let s=(0,e.i(27706).default)("SquarePen",[["path",{d:"M12 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7",key:"1m0v6g"}],["path",{d:"M18.375 2.625a1 1 0 0 1 3 3l-9.013 9.014a2 2 0 0 1-.853.505l-2.873.84a.5.5 0 0 1-.62-.62l.84-2.873a2 2 0 0 1 .506-.852z",key:"ohrbg2"}]]);e.s(["Edit",()=>s],7790)},91258,e=>{"use strict";var s=e.i(49326);e.s(["Calendar",()=>s.default])},63998,e=>{"use strict";let s=(0,e.i(27706).default)("UserPlus",[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}],["line",{x1:"19",x2:"19",y1:"8",y2:"14",key:"1bvyxn"}],["line",{x1:"22",x2:"16",y1:"11",y2:"11",key:"1shjgl"}]]);e.s(["UserPlus",()=>s],63998)},30869,e=>{"use strict";var s=e.i(36792),t=e.i(3965),a=e.i(69074),r=e.i(92879),d=e.i(82772),l=e.i(23951),i=e.i(9991),n=e.i(34420),o=e.i(7790),c=e.i(432),m=e.i(27706);let x=(0,m.default)("Share2",[["circle",{cx:"18",cy:"5",r:"3",key:"gq8acd"}],["circle",{cx:"6",cy:"12",r:"3",key:"w7nqdw"}],["circle",{cx:"18",cy:"19",r:"3",key:"1xt0gg"}],["line",{x1:"8.59",x2:"15.42",y1:"13.51",y2:"17.49",key:"47mynk"}],["line",{x1:"15.41",x2:"8.59",y1:"6.51",y2:"10.49",key:"1n3mei"}]]),h=(0,m.default)("Printer",[["path",{d:"M6 18H4a2 2 0 0 1-2-2v-5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v5a2 2 0 0 1-2 2h-2",key:"143wyd"}],["path",{d:"M6 9V3a1 1 0 0 1 1-1h10a1 1 0 0 1 1 1v6",key:"1itne7"}],["rect",{x:"6",y:"14",width:"12",height:"8",rx:"1",key:"1ue0tg"}]]);var u=e.i(74665),g=e.i(8204),f=e.i(42469),p=e.i(27458),j=e.i(63998),b=e.i(34346),y=e.i(76584),N=e.i(62345),v=e.i(76637),k=e.i(75212);function w(){let{id:e}=(0,a.useParams)(),{getMember:m,updateMember:w,deleteMember:I,treeData:M}=(0,r.useFamily)(),{showConfirm:U}=(0,k.useDialog)(),C=(0,a.useRouter)(),[S,L]=(0,b.useState)(!1),[P,R]=(0,b.useState)(void 0),B=m(e),D=Object.values(M.members);if((0,b.useEffect)(()=>{B?.avatarImageId?y.db.images.get(B.avatarImageId).then(e=>{if(e){let s=URL.createObjectURL(e.blob);return R(s),()=>URL.revokeObjectURL(s)}}):R(void 0)},[B?.avatarImageId]),!B)return(0,s.jsxs)("div",{className:"min-h-screen flex flex-col bg-background",children:[(0,s.jsx)(d.SiteHeader,{}),(0,s.jsxs)("div",{className:"flex-1 flex flex-col items-center justify-center gap-4",children:[(0,s.jsx)("p",{className:"text-muted-foreground",children:"Member not found"}),(0,s.jsx)(i.Button,{onClick:()=>C.push("/members"),children:"Back to List"})]})]});let E=async()=>{await U("确定要删除这位成员吗?这将同时删除其关联关系。","删除成员","destructive")&&(I(B.id),C.push("/members"))};return S?(0,s.jsxs)("div",{className:"min-h-screen flex flex-col bg-background",children:[(0,s.jsx)(d.SiteHeader,{}),(0,s.jsxs)("div",{className:"container mx-auto py-8",children:[(0,s.jsxs)("div",{className:"mb-6 flex items-center gap-2",children:[(0,s.jsxs)(i.Button,{variant:"ghost",onClick:()=>L(!1),children:[(0,s.jsx)(n.ArrowLeft,{className:"mr-2 h-4 w-4"})," 返回"]}),(0,s.jsxs)("h1",{className:"text-2xl font-bold font-serif",children:["编辑成员: ",B.fullName]})]}),(0,s.jsx)(l.MemberForm,{initialData:B,existingMembers:D,onSubmit:e=>{w(e.id,e),L(!1)},onCancel:()=>L(!1)})]})]}):(0,s.jsxs)("div",{className:"min-h-screen flex flex-col bg-background",children:[(0,s.jsx)(d.SiteHeader,{}),(0,s.jsxs)("main",{className:"container mx-auto py-8 px-4 md:px-6",children:[(0,s.jsxs)("div",{className:"flex flex-col md:flex-row justify-between items-start gap-6 mb-8 border-b border-border pb-8",children:[(0,s.jsxs)("div",{className:"flex items-start gap-6",children:[(0,s.jsx)("div",{className:"h-32 w-32 rounded-lg bg-muted flex items-center justify-center border-2 border-primary/20 overflow-hidden",children:P?(0,s.jsx)("img",{src:P,alt:B.fullName,className:"h-full w-full object-cover"}):"FEMALE"===B.gender?(0,s.jsx)(g.CircleUserRound,{className:"h-20 w-20 text-pink-400"}):(0,s.jsx)(u.CircleUser,{className:"h-20 w-20 text-blue-400"})}),(0,s.jsxs)("div",{children:[(0,s.jsxs)("div",{className:"flex items-center gap-3 mb-2",children:[(0,s.jsx)("h1",{className:"text-4xl font-bold font-serif text-foreground",children:B.fullName}),(0,s.jsxs)("span",{className:"px-2 py-1 bg-primary/10 text-primary text-sm font-medium rounded-full border border-primary/20",children:[B.generation,"世"]})]}),(0,s.jsxs)("div",{className:"space-y-1 text-muted-foreground",children:[B.courtesyName&&(0,s.jsxs)("p",{children:["字:",(0,s.jsx)("span",{className:"text-foreground",children:B.courtesyName})]}),B.artName&&(0,s.jsxs)("p",{children:["号:",(0,s.jsx)("span",{className:"text-foreground",children:B.artName})]}),B.ancestralHome&&(0,s.jsxs)("p",{children:["籍贯:",B.ancestralHome]})]}),B.tags&&B.tags.length>0&&(0,s.jsx)("div",{className:"flex flex-wrap gap-2 mt-3",children:B.tags.map(e=>(0,s.jsx)("span",{className:"px-2 py-1 bg-primary/10 text-primary text-xs font-medium rounded-md border border-primary/20",children:e},e))})]})]}),(0,s.jsxs)("div",{className:"flex gap-2 flex-wrap",children:[!B.fatherId&&(0,s.jsxs)(i.Button,{variant:"outline",onClick:()=>{let e=new URLSearchParams;e.set("childId",B.id),e.set("generation",(B.generation-1).toString()),e.set("gender","MALE"),B.motherId&&e.set("spouseId",B.motherId),C.push(`/members/new?${e.toString()}`)},className:"gap-2",children:[(0,s.jsx)(j.UserPlus,{className:"h-4 w-4"})," 添加父亲"]}),!B.motherId&&(0,s.jsxs)(i.Button,{variant:"outline",onClick:()=>{let e=new URLSearchParams;e.set("childId",B.id),e.set("generation",(B.generation-1).toString()),e.set("gender","FEMALE"),B.fatherId&&e.set("spouseId",B.fatherId),C.push(`/members/new?${e.toString()}`)},className:"gap-2",children:[(0,s.jsx)(j.UserPlus,{className:"h-4 w-4"})," 添加母亲"]}),(0,s.jsxs)(i.Button,{variant:"default",onClick:()=>{let e=new URLSearchParams;"MALE"===B.gender?e.set("fatherId",B.id):e.set("motherId",B.id),e.set("generation",(B.generation+1).toString()),C.push(`/members/new?${e.toString()}`)},className:"gap-2",children:[(0,s.jsx)(j.UserPlus,{className:"h-4 w-4"})," 添加子女"]}),(0,s.jsxs)(i.Button,{variant:"secondary",onClick:()=>{let e=new URLSearchParams;e.set("spouseId",B.id),e.set("generation",B.generation.toString()),e.set("gender","MALE"===B.gender?"FEMALE":"MALE"),C.push(`/members/new?${e.toString()}`)},className:"gap-2",children:[(0,s.jsx)(j.UserPlus,{className:"h-4 w-4"})," 添加配偶"]}),(0,s.jsx)(i.Button,{variant:"outline",size:"icon",onClick:()=>window.print(),children:(0,s.jsx)(h,{className:"h-4 w-4"})}),(0,s.jsx)(i.Button,{variant:"outline",size:"icon",children:(0,s.jsx)(x,{className:"h-4 w-4"})}),(0,s.jsxs)(i.Button,{variant:"outline",onClick:()=>L(!0),className:"gap-2",children:[(0,s.jsx)(o.Edit,{className:"h-4 w-4"})," 编辑"]}),(0,s.jsx)(i.Button,{variant:"destructive",size:"icon",onClick:E,children:(0,s.jsx)(c.Trash,{className:"h-4 w-4"})})]})]}),(0,s.jsxs)("div",{className:"grid grid-cols-1 lg:grid-cols-3 gap-8",children:[(0,s.jsxs)("div",{className:"lg:col-span-2 space-y-8",children:[(0,s.jsxs)("section",{children:[(0,s.jsxs)("h2",{className:"text-2xl font-serif font-bold mb-4 flex items-center gap-2",children:[(0,s.jsx)("span",{className:"w-1 h-6 bg-primary rounded-full"}),"生平事迹"]}),(0,s.jsx)("div",{className:"prose prose-stone dark:prose-invert max-w-none bg-card p-6 rounded-lg border border-border shadow-sm",children:B.bio?(0,s.jsx)("p",{className:"whitespace-pre-line leading-relaxed",children:B.bio}):(0,s.jsx)("p",{className:"text-muted-foreground italic",children:"暂无生平记录..."})})]}),B.photoIds&&B.photoIds.length>0&&(0,s.jsxs)("section",{children:[(0,s.jsxs)("h2",{className:"text-2xl font-serif font-bold mb-4 flex items-center gap-2",children:[(0,s.jsx)(f.Images,{className:"h-6 w-6 text-primary"}),"照片墙"]}),(0,s.jsx)("div",{className:"bg-card p-6 rounded-lg border border-border shadow-sm",children:(0,s.jsx)(N.PhotoGallery,{photoIds:B.photoIds,onChange:e=>w(B.id,{photoIds:e}),readonly:!1})})]}),B.stories&&B.stories.length>0&&(0,s.jsxs)("section",{children:[(0,s.jsxs)("h2",{className:"text-2xl font-serif font-bold mb-4 flex items-center gap-2",children:[(0,s.jsx)(p.BookOpen,{className:"h-6 w-6 text-primary"}),"家族故事"]}),(0,s.jsx)("div",{className:"bg-card p-6 rounded-lg border border-border shadow-sm",children:(0,s.jsx)(v.StoryManager,{stories:B.stories,onChange:e=>w(B.id,{stories:e}),readonly:!1})})]}),(0,s.jsxs)("section",{children:[(0,s.jsxs)("h2",{className:"text-2xl font-serif font-bold mb-4 flex items-center gap-2",children:[(0,s.jsx)("span",{className:"w-1 h-6 bg-secondary rounded-full"}),"家族关系"]}),(0,s.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[(0,s.jsxs)("div",{className:"bg-card p-4 rounded-lg border border-border",children:[(0,s.jsx)("h3",{className:"font-medium text-muted-foreground mb-2 text-sm uppercase tracking-wider",children:"父亲 (Father)"}),B.fatherId?(0,s.jsx)(t.default,{href:`/members/${B.fatherId}`,className:"text-lg font-serif font-bold hover:underline text-primary",children:m(B.fatherId)?.fullName||B.fatherId}):B.spouseFatherName?(0,s.jsx)("span",{className:"text-lg font-serif font-bold text-foreground",children:B.spouseFatherName}):(0,s.jsx)("span",{className:"text-muted-foreground",children:"-"})]}),(0,s.jsxs)("div",{className:"bg-card p-4 rounded-lg border border-border",children:[(0,s.jsx)("h3",{className:"font-medium text-muted-foreground mb-2 text-sm uppercase tracking-wider",children:"母亲 (Mother)"}),B.motherId?(0,s.jsx)(t.default,{href:`/members/${B.motherId}`,className:"text-lg font-serif font-bold hover:underline text-primary",children:m(B.motherId)?.fullName||B.motherId}):B.spouseMotherName?(0,s.jsx)("span",{className:"text-lg font-serif font-bold text-foreground",children:B.spouseMotherName}):(0,s.jsx)("span",{className:"text-muted-foreground",children:"-"})]}),(0,s.jsxs)("div",{className:"bg-card p-4 rounded-lg border border-border",children:[(0,s.jsx)("h3",{className:"font-medium text-muted-foreground mb-2 text-sm uppercase tracking-wider",children:"配偶 (Spouse)"}),(0,s.jsx)("div",{className:"flex flex-wrap gap-2",children:B.spouseIds?.length>0?B.spouseIds.map(e=>(0,s.jsx)(t.default,{href:`/members/${e}`,className:"px-3 py-1 bg-muted rounded hover:bg-muted/80 text-sm font-medium",children:m(e)?.fullName||e},e)):(0,s.jsx)("span",{className:"text-muted-foreground",children:"无记录"})})]}),(0,s.jsxs)("div",{className:"bg-card p-4 rounded-lg border border-border",children:[(0,s.jsx)("h3",{className:"font-medium text-muted-foreground mb-2 text-sm uppercase tracking-wider",children:"子女 (Children)"}),(0,s.jsx)("div",{className:"flex flex-wrap gap-2",children:B.childrenIds?.length>0?B.childrenIds.map(e=>(0,s.jsx)(t.default,{href:`/members/${e}`,className:"px-3 py-1 bg-muted rounded hover:bg-muted/80 text-sm font-medium",children:m(e)?.fullName||e},e)):(0,s.jsx)("span",{className:"text-muted-foreground",children:"无记录"})})]})]})]})]}),(0,s.jsxs)("div",{className:"space-y-6",children:[(0,s.jsxs)("div",{className:"bg-card rounded-lg border border-border p-6 shadow-sm",children:[(0,s.jsx)("h3",{className:"font-serif font-bold text-lg mb-4 border-b border-border pb-2",children:"详细信息"}),(0,s.jsxs)("dl",{className:"space-y-4 text-sm",children:[(0,s.jsxs)("div",{children:[(0,s.jsx)("dt",{className:"text-muted-foreground",children:"出生日期"}),(0,s.jsx)("dd",{className:"font-medium",children:B.birthDate||"-"})]}),B.deathDate&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)("div",{children:[(0,s.jsx)("dt",{className:"text-muted-foreground",children:"逝世日期"}),(0,s.jsx)("dd",{className:"font-medium",children:B.deathDate})]}),(0,s.jsxs)("div",{children:[(0,s.jsx)("dt",{className:"text-muted-foreground",children:"谥号"}),(0,s.jsx)("dd",{className:"font-medium",children:B.posthumousName||"-"})]}),(0,s.jsxs)("div",{children:[(0,s.jsx)("dt",{className:"text-muted-foreground",children:"墓地"}),(0,s.jsx)("dd",{className:"font-medium",children:B.burialPlace||"-"})]})]}),B.generationName&&(0,s.jsxs)("div",{children:[(0,s.jsx)("dt",{className:"text-muted-foreground",children:"字辈"}),(0,s.jsx)("dd",{className:"font-medium",children:B.generationName})]})]})]}),(B.phone||B.telephone||B.email||B.address)&&(0,s.jsxs)("div",{className:"bg-card rounded-lg border border-border p-6 shadow-sm",children:[(0,s.jsx)("h3",{className:"font-serif font-bold text-lg mb-4 border-b border-border pb-2",children:"联系方式"}),(0,s.jsxs)("dl",{className:"space-y-4 text-sm",children:[B.phone&&(0,s.jsxs)("div",{children:[(0,s.jsx)("dt",{className:"text-muted-foreground",children:"手机号"}),(0,s.jsx)("dd",{className:"font-medium",children:(0,s.jsx)("a",{href:`tel:${B.phone}`,className:"hover:text-primary",children:B.phone})})]}),B.telephone&&(0,s.jsxs)("div",{children:[(0,s.jsx)("dt",{className:"text-muted-foreground",children:"固定电话"}),(0,s.jsx)("dd",{className:"font-medium",children:(0,s.jsx)("a",{href:`tel:${B.telephone}`,className:"hover:text-primary",children:B.telephone})})]}),B.email&&(0,s.jsxs)("div",{children:[(0,s.jsx)("dt",{className:"text-muted-foreground",children:"邮箱"}),(0,s.jsx)("dd",{className:"font-medium",children:(0,s.jsx)("a",{href:`mailto:${B.email}`,className:"hover:text-primary",children:B.email})})]}),B.address&&(0,s.jsxs)("div",{children:[(0,s.jsx)("dt",{className:"text-muted-foreground",children:"现居地址"}),(0,s.jsx)("dd",{className:"font-medium",children:B.address})]})]})]})]})]})]})]})}e.s(["default",()=>w],30869)}]);