1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[513],{71513:(e,t,s)=>{s.r(t),s.d(t,{default:()=>p});var l=s(37876),a=s(29652),n=s(97462);function i({data:e,isItems:t}){function s(e){let t="";if(e){let s=new Date(e.split("/").reverse().join(","));t=`${s.toLocaleString("en",{month:"short"})} ${s.getFullYear()}`}return t}let i=e?.generalProgress||e?.progress||0;return(0,l.jsxs)(a.A,{orientation:"col",space:t?"":4,className:"w-full",children:[(0,l.jsx)(n.A,{type:"h2",tag:`${t?"h4":"h2"}`,className:t?"text-lg leading-lg pb-2":"",content:e?.title||e?.progressItemTitle}),(0,l.jsx)("div",{className:"h-8 w-full bg-[#eee] p-1 rounded-md",children:(0,l.jsxs)("div",{className:`${!i?"bg-transparent":"100"!=i?"bg-first":"bg-second"} h-full flex justify-between items-center gap-4 px-2 rounded-[4px]`,style:{width:`${i}%`},children:[(0,l.jsx)(n.A,{type:"p",className:"text-white text-sm drop-shadow-[0_1px_2px_rgba(0,0,0,0.35)]",content:"completion"}),(0,l.jsx)(n.A,{type:"p",className:"text-white text-sm drop-shadow-[0_1px_2px_rgba(0,0,0,0.35)]",content:`${i}%`})]})}),(0,l.jsxs)("div",{className:"w-full relative",children:[t?null:(0,l.jsxs)("div",{className:"absolute w-full",children:[(0,l.jsx)("div",{className:"flex justify-between items-center relative top-[6px]",children:[...Array(7)].map((e,t)=>(0,l.jsx)("div",{className:"h-[10px] w-[2px] bg-[#383838]"},t))}),(0,l.jsx)("div",{className:"border border-dashed border-[#383838] h-[2px]"})]}),(0,l.jsxs)("div",{className:`flex justify-between ${t?"pt-2":"pt-4"}`,children:[(0,l.jsxs)("div",{className:"flex flex-col",children:[(0,l.jsx)(n.A,{type:"p",className:"text-[#383838] text-sm",content:"start date"}),(0,l.jsx)(n.A,{type:"p",className:"text-[#919191] text-[16px] leading-5",content:s(e?.startDate)})]}),(0,l.jsxs)("div",{className:"flex flex-col",children:[(0,l.jsx)(n.A,{type:"p",className:"text-[#383838] text-end text-sm",content:"end date"}),(0,l.jsx)(n.A,{type:"p",className:"text-[#919191] text-end text-[16px] leading-5",content:s(e?.endDate)})]})]})]})]})}var r=s(30),c=s(84175),d=s(14232),x=s(23042),o=s(67421);function p({data:e}){let[t,s]=(0,d.useState)(!1);return(0,l.jsx)(r.A,{id:e?.sectionId,color:e?.backgroundType,children:(0,l.jsxs)("div",{className:"w-full rounded-2xl shadow-custom hover:scale-[1.02] transition-all p-6 cursor-pointer",onClick:()=>s(!t),children:[(0,l.jsx)(i,{data:e}),(0,l.jsx)(x.N,{children:t&&(0,l.jsx)(o.P.div,{initial:{height:"0"},animate:{height:"auto"},exit:{height:"0"},transition:{duration:.4},className:"overflow-hidden",children:(0,l.jsxs)(a.A,{orientation:"col",className:"pt-6 gap-4",space:"0",children:[(0,l.jsx)(n.A,{className:"text-second text-2xl leading-8 pb-2",type:"title",content:"Description"}),(0,l.jsx)(n.A,{className:"",type:"body_1",content:e?.progressDescription}),e?.button?(0,l.jsx)(c.A,{...e?.button,variant:"fill"}):null,(0,l.jsxs)("div",{className:"w-full pt-8",children:[(0,l.jsx)(n.A,{className:"text-second text-2xl leading-8 pb-2",type:"title",content:"Task Timeline"}),(0,l.jsx)("div",{className:"flex flex-col gap-2",children:e?.progressItems?.map?.((e,t)=>(0,l.jsx)("div",{className:"border border-[#eee] px-4 py-2 rounded-lg",children:(0,l.jsx)(i,{data:e,isItems:!0})},t))})]})]})})})]})})}}}]);
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.