PageSourceSearch

https://app.updately.ai/assets/index-CG-sd856.js

js updately.ai collected 2026-10-05 14:16:13 UTC 2,747 bytes, 1 lines download raw bytes

1import{r,j as e,c as F,o as j}from"./index-BNIUXFGR.js";import{P as v}from"./PageHeader-D-Wu6-OD.js";import{d as P}from"./feed-D96Vw_Su.js";import{F as O,a as D,b as N}from"./FeedDetailHeader-CeP-41ng.js";import{S as L}from"./SheetDialog-CfbLwySF.js";import{u as A,a as y,F as E}from"./FilterFeedOptions-0EyaSt-n.js";import{F as R,a as S}from"./FeedLoading-iX7gUCdc.js";import{E as b}from"./Error-hz7VW3QJ.js";import{N as w}from"./NoDataFound-BmjR9Zo8.js";import{f as Q}from"./feed-DFomaFfO.js";import"./card-CbdnxEcK.js";import"./fixMardownLinks-hYhfxUrd.js";import"./differenceInCalendarDays-Db1tqh3O.js";import"./separator-dCkY31KD.js";import"./info-B5oUworL.js";import"./heart-BvRA5QaB.js";import"./thumbs-up-CgisVyMZ.js";import"./FormDialog-bR0reNd_.js";import"./schemas-DHo55-80.js";import"./business-DEh1s8Vl.js";import"./feed-DaHaiK1P.js";import"./select-a2YQn4QM.js";import"./external-link-C611VAew.js";import"./index-DOg0vyE0.js";import"./copy-BD_pDQv5.js";import"./paperclip-DGfxYPIf.js";import"./progress-D4IfvxL0.js";import"./SingleSelect-CVUqf8Rb.js";import"./useSuspenseQuery-D49Zv99D.js";import"./Input-Dy6MzsuR.js";function C({openFeedDialog:t,filterFeedOptions:s,initialLoadRef:i}){const l=A({...Q.infiniteArchivedPosts(s),enabled:!i}),{data:a,fetchNextPage:n,hasNextPage:o,isFetchingNextPage:d,error:m,isPending:u}=l,{ref:x,inView:f}=y({threshold:0,rootMargin:"100px"}),c=r.useMemo(()=>a?.pages.flatMap(p=>p.data)??[],[a?.pages]);return r.useEffect(()=>{f&&o&&!d&&n()},[f,o,n,d]),u?e.jsx(R,{}):m?e.jsx(b,{appendText:"Failed to load archived posts.",size:"text-sm"}):e.jsx(e.Fragment,{children:c.length>0?e.jsx("div",{className:"space-y-4",children:c.map((p,h)=>{const g=h===c.length-5;return e.jsx("div",{ref:g&&o?x:void 0,children:e.jsx(O,{openFeedDialog:t,data:p,isArchived:!0,filterFeedOptions:s})},p.post.id)})}):e.jsx(w,{className:"!h-96",text:"No archived posts found"})})}function me(){const[t,s]=r.useState({isOpen:!1,data:null,platform:null}),[i,l]=r.useState(P),a=r.useRef(!0),{data:n}=F(j.org()),o=(d,m)=>{s({isOpen:!0,data:d,platform:m})};return e.jsxs("div",{children:[e.jsx(v,{title:"Archived Posts",description:"View all archived posts"}),e.jsxs(r.Suspense,{fallback:e.jsx(S,{}),children:[e.jsx(E,{filterFeedOptions:i,setFilterFeedOptions:l,initialLoadRef:a}),e.jsx("div",{className:"mt-7 mb-5 space-y-5",children:e.jsx(C,{openFeedDialog:o,filterFeedOptions:i,initialLoadRef:a.current})})]}),e.jsx(L,{isOpen:t.isOpen,onClose:()=>s({isOpen:!1,data:null,platform:null}),title:e.jsx(N,{data:t.data}),widthPreset:"extraLarge",children:e.jsx(D,{data:t.data,orgData:n?.data,platform:t.platform,isArchived:!0,filterFeedOptions:i,closeFeedDialog:()=>s({isOpen:!1,data:null,platform:null})})})]})}export{me as component};

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.