import{A as y,H as x,a3 as f,B as s,j as e,T as g,D as t,S as b}from"./main-crazy-owls-work.js";import{c as u}from"./emotion-react.browser.esm-Y_LRzwGN.js";import{D as v,P as w}from"./TemplateDocLink-C5Om0X4f.js";import{C as T}from"./index-9x8aFyWV.js";import{F as l}from"./index-DLeF0Q26.js";import{A as j}from"./index-B1hhaeCD.js";globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(r,o){return this.cache.has(r)?this.cache.get(r):(this.cache.set(r,o),o)}};const{Paragraph:_,Text:i,Title:z}=g;var P={name:"mxaaot",styles:"padding:16px 16px 8px "},k={name:"zvmrfm",styles:"margin:0 8px"},A={name:"1dj0lm5",styles:"margin:0;padding:0 16px 12px;word-break:break-word"},C={name:"1xiqvtr",styles:"margin:0;padding:0 16px 12px;white-space:pre-wrap;word-break:break-word"};function M({actions:r,allowHtml:o=!1,message:c,name:d,subtitle:n,type:m}){const{token:p}=y.useToken(),{siteName:h}=x(f);return s(T,{css:u({borderColor:p.colorBorder},"",""),styles:{body:{padding:"0"}},children:[s(l,{css:P,justify:"space-between",children:[s(l,{children:[e(j,{size:"large",children:"P"}),s(l,{css:k,vertical:!0,children:[e(z,{className:"text-capitalize",level:5,style:{marginBottom:"0px"},children:d??h??t("Profile name")}),n&&e(i,{style:{fontSize:"12px"},type:"secondary",children:n}),e(i,{style:{fontSize:"12px"},type:"secondary",children:t("Just Now")})]})]}),e(v,{size:22})]}),o?e("div",{css:A,dangerouslySetInnerHTML:{__html:c}}):e(_,{css:C,ellipsis:{expandable:"collapsible",rows:3,symbol:a=>a?t("hide"):t("…see more")},children:c}),e(w,{type:m}),e(l,{align:"center",className:"py-2",justify:"space-around",style:{borderTop:`1px solid ${p.colorBorder}`},children:r.map(a=>s(b,{align:"center",size:"small",children:[e(l,{align:"center",children:a.icon}),e(i,{children:a.label})]},a.label))})]})}export{M as P};
