1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3092],{64758:function(e,n,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/signed-document/[documentId]",function(){return r(47515)}])},70648:function(e,n,r){"use strict";r.d(n,{C:function(){return s}});var t=r(92228),i=r(52322);r(2784);var o=r(55989),d=r(62048),l=r(65992);function u(){let e=(0,t.Z)(["\n #proxy-renderer{\n overflow: hidden;\n }\n\n #pdf-controls{\n background:none;\n box-shadow: none;\n }\n\n #pdf-page-wrapper{\n margin: 10px 0;\n }\n\n .react-pdf__Page__textContent span::selection{\n background: #1d1d1d24;\n }\n\n #pdf-renderer{\n background: #8080801c;\n }\n\n #pdf-page-info{\n color: #000000;\n margin-bottom: 10px;\n }\n\n .pdf-renderer::-webkit-scrollbar-thumb:hover{\n background: #797775;\n min-width:5px\n border-radius: 9px;\n }\n\n #pdf-renderer::-webkit-scrollbar-thumb{\n background: #797775;\n border-radius: 10px;\n }\n\n #pdf-renderer::-webkit-scrollbar {\n border-radius: 9px;\n width:6px\n }\n"]);return u=function(){return e},e}let c=(0,l.ZP)(o.ZP)(u()),a=e=>{let{document:n}=e;return(0,i.jsxs)("div",{style:{position:"absolute",top:"40%",left:"48%",textAlign:"center"},children:[(0,i.jsx)("div",{children:"Preview of this file is not available."}),(0,i.jsx)("div",{children:"However, If you still want to view it, please click here."}),(0,i.jsx)("div",{style:{marginTop:"10px"},children:(0,i.jsx)(d.Z,{variant:"contained",color:"primary",href:n.url,download:!0,children:".zip"===n.fileType.slice(n.fileType.lastIndexOf("."))?"Download":"Preview"})})]})},s=e=>{let{document:n,style:r={}}=e;return(0,i.jsx)(c,{documents:[{uri:null==n?void 0:n.url,fileName:(null==n?void 0:n.label)+"."+(null==n?void 0:n.fileType)}],pluginRenderers:o.lX,style:{marginTop:"10px",width:"100%",height:"calc(100vh - 91px)",...r},config:{header:{disableHeader:!0,disableFileName:!0,retainURLParams:!0},noRenderer:{overrideComponent:()=>(0,i.jsx)(a,{document:n})},pdfZoom:{defaultZoom:.6,zoomJump:.1},pdfVerticalScrollByDefault:!0}})}},60767:function(e,n,r){"use strict";r.d(n,{Z:function(){return x}});var t=r(52322),i=r(2784),o=r(45118),d=r(76429),l=r(53939),u=r(42921),c=r(72841),a=r(62197),s=r(37944),p=r(5632),f=r(70648),h=r(27447);function x(){let[e,n]=(0,i.useState)({url:"",fileType:""}),[r,x]=(0,i.useState)(!1),m=(0,o.Z)(),b=(0,p.useRouter)(),{user:v}=(0,h.Eu)();return(0,i.useEffect)(()=>{b.isReady&&(async()=>{try{x(!0);let{data:{downloadUrl:e,fileType:r}}=await d.h.call(l.qh.GET_SIGNED_USER_AGREEMENT_DOCUMENT,{params:{documentId:b.query.documentId,participantId:b.query.participantId?b.query.participantId:v.participant.id}});n({url:e,fileType:r})}catch(e){m.exception(e)}finally{x(!1)}})()},[b]),(0,t.jsx)(s.A,{title:b.query.name||"Signed Document",children:r?(0,t.jsx)(u.Z,{display:"flex",justifyContent:"center",alignItems:"center",sx:{height:"calc(100vh - 124px)"},children:(0,t.jsx)(c.Z,{})}):e.url?(0,t.jsx)(f.C,{document:{...e,label:"agreement-document"}}):(0,t.jsx)(u.Z,{display:"flex",justifyContent:"center",alignItems:"center",sx:{height:"calc(100vh - 124px)"},children:(0,t.jsx)(a.Z,{children:"No Signed Documents found."})})})}},47515:function(e,n,r){"use strict";r.r(n);var t=r(60767);n.default=t.Z},55989:function(e,n,r){"use strict";r.d(n,{ZP:function(){return t.D},lX:function(){return t.b}});var t=r(49076)},92228:function(e,n,r){"use strict";function t(e,n){return n||(n=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(n)}}))}r.d(n,{Z:function(){return t}})}},function(e){e.O(0,[6291,3835,6997,6475,5180,8180,8462,7944,9774,2888,179],function(){return e(e.s=64758)}),_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.