1import{j as i}from"./elements-DVh2jUIM.js";import{B as l}from"./BoardCollectionDetailPage-C_bTQedM.js";import{B as m,a as d}from"./BoardDetailPresentation-6kScNe0a.js";import{x as p,P as u,Z as c,W as I,_ as f}from"./index-DeQvL4I7.js";import{A as g}from"./authorization-CE7gncHO.js";import{u as h}from"./useRedirectOnAssociationChange-DZlWegyT.js";import"./BoardDetailNotFound-B1R5bN6J.js";import"./BoardDetailSlideOverLayout-CDAgiebb.js";import"./useAttachmentViewer-CxkfXrEj.js";import"./CollectionDecisionModal-BjmBmGZR.js";import"./useMutation-CfDMVIpo.js";import"./NoteContent-T4pgf4E0.js";import"./index-DWdRGcKw.js";import"./MessageForm-BADqpkoZ.js";import"./index.esm-BsOhZrKM.js";import"./useMessageComposer-DeQiPBu-.js";import"./board-portal-requests-BfgGLja0.js";import"./MessageList-BdHw_M8e.js";import"./useBoardFrustrationEnabled-DO3xOrwY.js";import"./grids-DXrfAsUA.js";import"./startOfDay-AazlW55I.js";import"./useAuthorization-D7B2eQha.js";const U={showPropertySelector:!0,showAi:!1,requiresRedesignPage:"collectionsPage"};async function W({params:r,request:a}){const o=parseInt(r.id??"");if(!o)return c("/board/collections");const e=new URL(a.url),t=parseInt(e.searchParams.get("associationId")??"0");if(!t)return c("/board/collections");const n=I.getBoardCollectionDetail(o,t).catch(s=>(console.error(s),null));return f({collectionDetail:n,collectionId:o,associationId:t})}function Z(){h("/board/collections");const r=p(),{collectionDetail:a,collectionId:o,associationId:e}=u();return i.jsx(g,{controller:"Board_v2",action:"ActionItems_Collections",children:i.jsx(m,{dataQa:"collection-detail-panel",onClose:()=>r("/board/collections"),children:({isSlideOver:t,onClose:n})=>i.jsx(l,{collectionDetailPromise:a,collectionId:o,associationId:e,isSlideOver:t,onClose:n,slideOverNavigation:i.jsx(d,{currentItemId:o,getItemPath:s=>`/board/collections/${s}?associationId=${e}`})})})})}export{Z as Component,U as handle,W as loader};
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.