1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8569],{24718:(e,r,n)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/livedeals/managed-funds/preview/[pid]",function(){return n(30576)}])},30576:(e,r,n)=>{"use strict";n.r(r),n.d(r,{__N_SSP:()=>c,default:()=>p});var i=n(75038),t=n(23338),s=n(93472),a=n(28800),l=n(86598),o=n(76837),d=n(48332);let u=({serverSideError:e,liveDeal:r})=>{let n=(0,l.vG)(),{data:u,error:c,loading:p}=n.PAGE_LIVE_DEAL_DETAILS_QUERY,{data:g,error:h,loading:v}=n.DEFAULT_AIP_HERO_QUERY;if(p||v)return null;if(c)return(0,i.jsx)(t.default,{statusCode:500});let x=u?.pageManagedFundDetailsCollection?.items[0];return x&&e?.name!=="404"?e?.name==="400"&&e?.message==="Preview link expired"?(0,i.jsx)(d.S,{liveDeal:r}):(!h&&x.dealType?.length===1&&x.dealType?.includes("AIP")&&!x.hero&&(x.hero=g?.blockHeroWithSearchCollection?.items[0]),(0,i.jsx)(s.s,{theme:o.A,children:(0,i.jsx)(a.A,{...x,isPreview:!0,isManagedFund:!0})})):(0,i.jsx)(t.default,{statusCode:404})};var c=!0;let p=e=>(0,i.jsx)(l.Ae.Provider,{value:e.queryResults,children:(0,i.jsx)(u,{serverSideError:e.serverSideError,liveDeal:e.pid})})},48332:(e,r,n)=>{"use strict";n.d(r,{S:()=>p});var i=n(75038),t=n(76430),s=n(87057),a=n(10674),l=n(70392),o=n(55761),d=n(16994),u=n(64585),c=n(19760);let p=({liveDeal:e})=>{let r=e.liveDealId.replace(/-/g," ").toLocaleUpperCase(),[n,p]=(0,t.useState)(!0),[g,h]=(0,t.useState)(!1),{isOpen:v,onOpen:x,onClose:k}=(0,a.j)(),w=async e=>{h(!0),e&&await u.r.requestForNewPreviewLink({crmId:e,title:r}),p(!1),x()};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(s.a,{isOpen:n,onClose:()=>p(!1),displayCloseBtn:!1,title:`${r} preview`,okBtn:{onClick:()=>w(e.crmId),text:"Request new preview link",hidden:g},cancelBtn:{hidden:!0},overlayProps:{backgroundImage:"url('/images/ExpiredLinkBg.png')",backgroundPosition:"center",backgroundRepeat:"no-repeat",backgroundSize:"cover"},children:g?(0,i.jsx)(i.Fragment,{children:(0,i.jsxs)(l.az,{borderRadius:4,border:"1px solid",borderColor:"grey.12",bg:"grey.10",pt:13,pb:12,px:8,textAlign:"center",children:[(0,i.jsx)(o.y,{margin:"auto",mb:5}),(0,i.jsx)(d.E,{fontWeight:"bold",mb:0,children:"Please wait while we send your request..."})]})}):(0,i.jsx)(i.Fragment,{children:(0,i.jsx)(c.m,{title:"This preview link has expired. Please request a new link to view this page.",status:"warning"})})}),(0,i.jsx)(s.a,{isOpen:v,onClose:k,title:`${r} preview`,okBtn:{hidden:!0},displayCloseBtn:!1,cancelBtn:{hidden:!0},overlayProps:{backgroundImage:"url('/images/ExpiredLinkBg.png')",backgroundPosition:"center",backgroundRepeat:"no-repeat",backgroundSize:"cover"},children:(0,i.jsx)(c.m,{title:"Weâve sent a request to your Investment Manager to send you a new link. You should receive your new link email in the next 3 days.",status:"positive"})})]})}}},e=>{e.O(0,[6593,83,7720,2787,7188,6959,8138,87,854,1942,8800,636,8792],()=>e(e.s=24718)),_N_E=e.O()}]); 2//# sourceMappingURL=[pid]-1ac93aefff05424a.js.map
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.