"use strict";(globalThis.webpackChunk_affine_web=globalThis.webpackChunk_affine_web||[]).push([[101],{90101:(s,e,l)=>{l.r(e),l.d(e,{Component:()=>g,TrashPage:()=>f});var t=l(36870),a=l(77562),r=l(65423),n=l(4892),o=l(24312),c=l(71006),h=l(45483),i=l(10980),j=l(33907),x=l(17049),d=l(86326),b=l(84064),u=l(11352);let C=()=>{let s=(0,o.s9)();return(0,t.jsx)(r.Y,{left:(0,t.jsxs)("div",{className:"lvjt6l0",children:[(0,t.jsx)(h.DeleteIcon,{className:"lvjt6l2"}),s["com.arms.workspaceSubPath.trash"]()]})})},f=()=>{let s=(0,i.h1)(j.q),e=(0,i.h1)(x.j).workspace,l=e.docCollection;(0,c.Z1)(l);let r=(0,n.Q)(l),h=(0,a.Iu)(r,{trash:!0}),f=(0,b.Tq)();(0,d.useEffect)(()=>{if(f)return s.globalContext.isTrash.set(!0),()=>{s.globalContext.isTrash.set(!1)}},[s.globalContext.isTrash,f]);let g=(0,o.s9)();return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(b.EY,{title:g.Trash()}),(0,t.jsx)(b.tC,{icon:"trash"}),(0,t.jsx)(b.XP,{children:(0,t.jsx)(C,{})}),(0,t.jsx)(b.s$,{children:(0,t.jsx)("div",{className:"lvjt6l1",children:h.length>0?(0,t.jsx)(a.ik,{}):(0,t.jsx)(u.Pp,{type:"trash",docCollection:e.docCollection})})})]})},g=()=>(0,t.jsx)(f,{})}}]); //# sourceMappingURL=chunk.101.8974fafc.js.map