https://dashboard.goldenvolunteer.com/_next/static/chunks/pages/[o…/[documentId]-428d4a069f33d655.js
1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6118],{10823:(e,n,t)=>{"use strict";t.r(n),t.d(n,{__N_SSP:()=>y,default:()=>w});var o=t(37876),i=t(14232),a=t(1479),r=t.n(a),d=t(16773),l=t(50156),u=t(41177),s=t(91810),c=t(73963),m=t(58666),p=t(48878),v=t(40435),y=!0;let w=()=>{var e,n,t;let{t:a}=(0,d.useTranslation)(["common"]),{companyName:y}=(0,i.useContext)(c.A),w=(0,l.rd)(),{currentOrganization:b}=(0,i.useContext)(m.A);(0,l.HU)(a("page-name-viewDocument","{{companyName}} - View Document",{companyName:y}));let[h,_]=(0,i.useState)();(0,i.useEffect)(()=>{(async()=>{_(await u.Ay.userClient().call({url:"organizations/".concat(b.id,"/documents/").concat(w.query.documentId)}))})()},[]);let f=async()=>{let e=await u.Ay.userClient().call({url:"organizations/".concat(b.id,"/documents/").concat(w.query.documentId,"/link")});window.open(e.downloadLink)};return(0,o.jsxs)(o.Fragment,{children:[!h&&(0,o.jsx)(v.A,{}),(0,o.jsx)(p.A,{children:a("document-organizer-warning","Sharing files via {{name}} is a Beta Service. Please only download files created by people you trust, scan them for viruses before you open them, and do so at your own risk.",{name:y})}),(0,o.jsx)("br",{}),h&&(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(p.A,{children:null==h?void 0:h.name}),(null==h||null==(e=h.createdBy)?void 0:e.name)&&(0,o.jsxs)("div",{children:[a("submitted-by","Submitted by"),": ",null==h?void 0:h.createdBy.name]}),(0,o.jsxs)("div",{children:[a("date-submitted","Date Submitted"),": ",r()(null==h?void 0:h.submittedAt).format("LL z")]}),(null==h||null==(n=h.volunteer)?void 0:n.name)&&(0,o.jsxs)("div",{children:[a("submitted-for-participant","Submitted for Participant"),": ",null==h?void 0:h.volunteer.name]}),(null==h||null==(t=h.opportunity)?void 0:t.name)&&(0,o.jsxs)("div",{children:[a("submitted-for-opportunity","Submitted for Opportunity"),": ",null==h?void 0:h.opportunity.name]}),(0,o.jsx)("br",{}),(0,o.jsx)(s.A,{onClick:f,variant:"primary",size:"large",children:a("download-document","Download Document")})]})]})}},91502:(e,n,t)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/[orgId]/manage_document/[documentId]",function(){return t(10823)}])}},e=>{var n=n=>e(e.s=n);e.O(0,[636,6593,8792],()=>(n(3821),n(91502))),_N_E=e.O()}]);
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.