1import{_ as A,b as J,c as K,s as ee,j as e,a as i,g as te}from"./index-hPEqu-_B.js";import{p as a,c as j,r as C,h as se,I as O,i as re,a as ne,A as _,b as ae,d as le,S as ie,f as D,m as oe}from"./SelectBox-CffVGLAX.js";import"./app-co0WSqPV.js";var ce=function(){function s(t,r){this.xf=r,this.n=t}return s.prototype["@@transducer/init"]=A.init,s.prototype["@@transducer/result"]=A.result,s.prototype["@@transducer/step"]=function(t,r){return this.n>0?(this.n-=1,t):this.xf["@@transducer/step"](t,r)},s}();function de(s){return function(t){return new ce(s,t)}}var pe=J(K(["drop"],de,function(t,r){return ee(Math.max(0,t),1/0,r)}));const L={SLUGS:{SLUG:"slug"},IDS:{NEAR_TERM:"nearTerm",NET_ZERO:"netZero"}},ue={ACTION:"action",STATUS_TEXT:"statusText",ACTION_TYPE:"actionType",SCOPES_COVERED:"scopesCovered",TEMPERATURE_ALIGNMENT:"temperatureAlignment",BASE_YEAR:"baseYear",TARGET_YEAR:"targetYear",DATE_PUBLISHED:"datePublished",COMPANY:"company",SECTOR:"sector",LOCATION:"location",COMPANY_TEMPERATURE_ALIGNMENT:"companyTemperatureAlignment",TARGET_TIMELINE:"targetTimeline",TARGET_TYPE:"targetType",TARGET_VALUE:"targetValue",PROGRESS_AGAINST_TARGET:"progressAgainstTarget",ELAPSED_TIME_FRAME:"elapsedTimeframe",REGION:"region",TEXT:"text",SLUG:"slug",NEAR_TERM:"nearTerm",NET_ZERO:"netZero",SME:"sme",BA15_STATUS:"ba15Status",SELECTION:"selection",TARGET_DESCRIPTION:"targetDescription"},xe="Commitment removed";function M({disabled:s,onClick:t,children:r}){return e.jsx("button",{type:"button",onClick:t,disabled:s,className:j("flex items-center justify-center text-white rounded-lg bg-purple ml-2.5",{"opacity-25 cursor-default":s}),style:{width:30,height:30},children:r})}function k({children:s,onChange:t,label:r,value:n,id:l}){return e.jsxs("label",{htmlFor:l,className:"relative flex items-center mr-5 cursor-pointer",children:[e.jsx("span",{className:"block mr-2.5 text-ms--1",children:r}),e.jsx("select",{id:l,value:n,name:r,className:"pr-5 border rounded appearance-none py-[5px] border-cell pl-[5px] focus:border-purple focus:outline-none",onChange:t,children:s}),e.jsx("svg",{style:{width:10},className:"absolute top-0 bottom-0 right-0 my-auto pointer-events-none mr-[5px]",viewBox:"0 0 10 6",children:e.jsx("path",{fillRule:"evenodd",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.28",d:"M9 1 5 5 1 1z"})})]})}function G({gotoPage:s,canPreviousPage:t,previousPage:r,nextPage:n,canNextPage:l,pageOptions:o,pageSize:c,pageIndex:p,setPageSize:d,total:u}){const m=c*(p+1),g=m>u?u:m;return e.jsxs("div",{className:"flex flex-wrap items-center py-2.5 pagination px-[15px]",children:[e.jsxs("div",{className:"mr-auto text-ms--1 w-full lg:w-auto mb-2.5 lg:mb-0",children:["Showing ",c*p||1," - ",g," of ",u]}),o.length>1&&e.jsx(k,{onChange:x=>{s(x.target.value?Number(x.target.value)-1:0)},value:p+1,label:"Page",id:"page",children:Array.from({length:o.length}).map((x,v)=>e.jsx("option",{value:v+1,children:v+1},v))}),e.jsx(k,{onChange:x=>{d(Number(x.target.value))},label:"Per page",value:c,id:"per-page",children:[10,20,30,40,50].map(x=>e.jsx("option",{value:x,children:x},x))}),e.jsxs(M,{onClick:()=>r(),disabled:!t,children:[e.jsx("svg",{style:{width:7},viewBox:"0 0 7 11",children:e.jsx("path",{fill:"none",stroke:"#FFF",strokeLinejoin:"round",strokeWidth:"1.5",d:"M5.583.813.896 5.5l4.687 4.688"})}),e.jsx("span",{className:"sr-only",children:"Previous"})]}),e.jsxs(M,{onClick:()=>n(),disabled:!l,children:[e.jsx("svg",{style:{transform:"rotate(180deg)",width:7},viewBox:"0 0 7 11",children:e.jsx("path",{fill:"none",stroke:"#FFF",strokeLinejoin:"round",strokeWidth:"1.5",d:"M5.583.813.896 5.5l4.687 4.688"})}),e.jsx("span",{className:"sr-only",children:"Next"})]})]})}G.propTypes={gotoPage:a.func.isRequired,canPreviousPage:a.bool.isRequired,previousPage:a.func.isRequired,nextPage:a.func.isRequired,canNextPage:a.bool.isRequired,pageIndex:a.number.isRequired,pageOptions:a.arrayOf(a.any),pageSize:a.number,setPageSize:a.func.isRequired,total:a.number};const me=i.createContext(),B=i.createContext();function he(){return i.useContext(B)}function Z({children:s}){const[t,r]=i.useState(!1),[n,l]=i.useState(!1);return e.jsx(me.Provider,{value:{isOpen:t,regionalFilter:n}
1,children:e.jsx(B.Provider,{value:{toggleFilter:r,setRegionalFilter:l},children:s})})}Z.propTypes={children:a.node.isRequired};const ge=i.memo(Z);function F(s,t){const[r,n]=i.useState(t);return i.useEffect(()=>{const l=window==null?void 0:window.matchMedia(s),o=()=>{n(!!l.matches)};return l==null||l.addEventListener("change",o),n(l.matches),()=>{l==null||l.removeEventListener("change",o)}},[s]),r}const U=i.createContext();function fe(){return i.useContext(U)}function $({children:s}){const t=F("(min-width: 62em"),r=F(`(min-width: ${1440/16}em`);return e.jsx(U.Provider,{value:{desktop:t,huge:r},children:s})}$.propTypes={children:a.node.isRequired};const je=i.memo($);function S({children:s,committed:t,className:r="text-ms--4 font-600"}){let n="bg-target-green";switch(t){case"Committed":n="bg-target-amber";break;case xe:n="bg-target-grey";break}return e.jsx("div",{className:j(r,"inline-flex text-white justify-center text-center uppercase rounded-full px-2.5 py-[5px]",n),children:s})}S.propTypes={children:a.node.isRequired,committed:a.string};function T({index:s,className:t,children:r,...n}){return e.jsx("div",{...n,className:j(s%2===0?"bg-lightest-purple":"bg-white","py-[15px] px-2.5 border-r border-b border-cell font-light flex items-center text-sm",t),children:r})}function ve({cells:s,index:t}){const[{row:{original:{text:r}}}]=s;return r?e.jsx(T,{index:t,className:"col-span-6 text-xs",children:r}):s.map((n,l)=>{const{isAggregateParent:o,isAggregated:c,sibling:p,rowSpan:d}=n.row.original;return!o&&!c?e.jsx(T,{...n.getCellProps(),className:j("text-xs col-span-1"),index:t,children:n.render("Cell")}):p&&l<=2?null:o&&l<=2?e.jsx(T,{...n.getCellProps(),style:{gridRow:`span ${d}`},className:j("text-xs col-span-1"),index:t,children:n.render("Cell")}):l<=2&&c?null:e.jsx(T,{...n.getCellProps(),className:j("text-xs col-span-1"),index:t,children:c&&l===3?e.jsxs("div",{className:"flex items-center",children:[e.jsxs("svg",{className:"flex-shrink-0 mr-[5px]",width:"18",height:"31",viewBox:"0 0 18 31",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[e.jsx("path",{d:"M1.89453 0.545166L1.89453 28.2321",stroke:"#DDDDE7",strokeWidth:"2"}),e.jsx("path",{d:"M17.8945 27.2433L12.8945 24.3565L12.8945 30.13L17.8945 27.2433ZM2.89453 27.7433L13.3945 27.7433L13.3945 26.7433L2.89453 26.7433L2.89453 27.7433Z",fill:"#DDDDE7"})]}),e.jsxs("div",{children:[e.jsx("div",{className:"text-ms--4 block",children:n.row.original.reportingAggregateLevel}),n.render("Cell")]})]}):n.render("Cell")})})}function be({headerGroups:s,rs:t,prepareRow:r}){return e.jsxs(e.Fragment,{children:[e.jsx("div",{className:"contents",role:"header",children:s.map(n=>n.headers.map((l,o,{length:c})=>e.jsx("div",{className:j("bg-purple uppercase text-white text-ms--3 py-2.5 px-2.5 border-b border-cell",o<c-1&&"border-r",o===0&&"col-span-2",o===1&&"col-span-2",o===2&&"col-span-2"),children:l.render("Header")},`h-${o}`)))}),e.jsx("div",{className:"contents",children:Object.entries(t).map(([n,l],o)=>{const{sector:c,companyTemperatureAlignment:p,count:d,location:u}=l[0].original;return e.jsxs(i.Fragment,{children:[e.jsx(T,{className:"flex items-center col-span-2",index:o,style:{gridRow:`span ${d}`},children:e.jsxs("div",{className:"px-[15px] mb-2.5 lg:mb-0 lg:px-0 text-sm",children:[e.jsx("div",{className:"font-400 mb-[5px] leading-tight",children:n}),e.jsx("div",{className:"text-xs",children:u})]})}),e.jsx(T,{className:"flex items-center leading-tight font-400 col-span-2",index:o,style:{gridRow:`span ${d}`},children:c}),e.jsx(T,{className:"flex items-center justify-center col-span-2",index:o,style:{gridRow:`span ${d}`},children:e.jsx(S,{className:"text-ms--1 font-400",children:p})}),e.jsx("div",{className:"contents",children:l.map((m,g)=>(r(m),e.jsx("div",{className:"contents",...m.getRowProps(),children:e.jsx(ve,{k:g,index:o,cells:pe(3,m.cells)})})))})]},n)})})]})}function b({title:s,children:t}){return e.jsxs("li",{className:"gap-0 grid grid-cols-2 mb-2.5",children:[e.jsxs("span",{className:"text-ms--2 leading-none uppercase",children:[s,":"]}),e.jsx("span",{className:"text-ms--2",children:t})]})}function Te({rs:s,prepareRow:t}){return e.jsx(e.Fragment,{children:Object.entries(s).map(([r,n])=>{const{sector:l,companyTemperatureAlignment:o,location:c,company:
1p,text:d}=n[0].original;return e.jsxs("div",{className:"bg-white mb-5 p-5",children:[e.jsxs("div",{className:"flex justify-between pb-2.5 mb-2.5",children:[e.jsxs("div",{children:[e.jsx("div",{className:"font-500 mb-2.5",children:p}),e.jsxs("div",{className:"flex items-center mb-[5px]",children:[e.jsx("svg",{className:"mr-[5px]",width:"10",height:"15",viewBox:"0 0 10 15",fill:"none",children:e.jsx("path",{d:"M4.72207 0.902344C2.32327 0.902344 0.37207 2.85354 0.37207 5.25234C0.37207 6.19335 0.940435 7.40799 1.30957 8.09304L4.45957 13.943C4.5123 14.0386 4.61308 14.0977 4.72207 14.0977C4.83106 14.0977 4.93183 14.0385 4.98457 13.943L8.13457 8.09304C8.5037 7.40808 9.07207 6.19344 9.07207 5.25234C9.07207 2.85354 7.12087 0.902344 4.72207 0.902344ZM4.72207 1.50234C6.79687 1.50234 8.47207 3.17754 8.47207 5.25234C8.47207 5.92325 7.95175 7.17129 7.60957 7.80699L4.72207 13.1695L1.83457 7.80699C1.49239 7.17125 0.97207 5.92314 0.97207 5.25234C0.97207 3.17754 2.64727 1.50234 4.72207 1.50234ZM4.72207 3.00234C3.48281 3.00234 2.47207 4.01309 2.47207 5.25234C2.47207 6.4916 3.48281 7.50234 4.72207 7.50234C5.96132 7.50234 6.97207 6.4916 6.97207 5.25234C6.97207 4.01309 5.96132 3.00234 4.72207 3.00234ZM4.72207 3.60234C5.63672 3.60234 6.37207 4.33769 6.37207 5.25234C6.37207 6.167 5.63672 6.90234 4.72207 6.90234C3.80741 6.90234 3.07207 6.167 3.07207 5.25234C3.07207 4.33769 3.80741 3.60234 4.72207 3.60234Z",fill:"black"})}),e.jsx("span",{className:"text-ms--2",children:c})]}),e.jsxs("div",{className:"flex items-center",children:[e.jsxs("svg",{className:"mr-[5px]",style:{marginTop:1},width:"10",height:"10",fill:"none",viewBox:"0 0 13 13",children:[e.jsx("path",{fill:"#000",d:"M6.5 12.32C3.28 12.32.68 9.72.68 6.5S3.28.68 6.5.68s5.82 2.6 5.82 5.82-2.6 5.82-5.82 5.82Zm0-10.995A5.183 5.183 0 0 0 1.325 6.5 5.183 5.183 0 0 0 6.5 11.675 5.183 5.183 0 0 0 11.675 6.5 5.183 5.183 0 0 0 6.5 1.325Z"}),e.jsx("path",{fill:"#000",d:"M8.248 3.625A3.34 3.34 0 0 0 6.5 3.142v-.645a3.95 3.95 0 0 1 2.093.599l-.345.529Z"}),e.jsx("path",{fill:"#000",d:"M6.5 6.822c-.023 0-.07 0-.092-.024a.324.324 0 0 1-.23-.321V1.003c0-.184.139-.321.322-.321.184 0 .321.138.321.321v4.44l2.485-3.68c.091-.139.299-.185.46-.092.138.091.184.3.091.46L6.776 6.684a.328.328 0 0 1-.276.138Z"})]}),e.jsx("span",{className:"text-ms--2",children:l})]})]}),e.jsx(S,{className:"flex-shrink-0 self-start font-400",children:o})]}),d?e.jsx("div",{className:"text-ms--2",children:d}):e.jsx(e.Fragment,{children:n.map(u=>{t(u);const{progressAgainstTarget:m,elapsedTimeframe:g,scopesCovered:x,targetTimeline:v,isAggregated:N,targetValue:w,targetType:E,reportingAggregateLevel:R}=u.original;return e.jsx("ul",{className:j("border-t py-[5px] border-cell",{"pl-5":N}),...u.getRowProps(),children:N?e.jsxs(e.Fragment,{children:[e.jsxs("li",{className:"flex items-end -ml-1 mb-2.5",children:[e.jsxs("svg",{className:"flex-shrink-0 mr-2.5",width:"10",height:"22",viewBox:"0 0 10 22",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[e.jsx("path",{d:"M1 0L1 20",stroke:"#DDDDE7",strokeWidth:"2"}),e.jsx("path",{d:"M10 19L5 16.1132L5 21.8868L10 19ZM1 19.5L5.5 19.5L5.5 18.5L1 18.5L1 19.5Z",fill:"#DDDDE7"})]}),e.jsx("div",{className:"text-ms--3 font-500 leading-none block uppercase",children:R})]}),e.jsx(b,{title:"Scopes covered",children:x}),e.jsx(b,{title:"Progress against target",children:m}),e.jsx(b,{title:"Elapsed timeframe",children:g})]}):e.jsxs(e.Fragment,{children:[e.jsx(b,{title:"Target timeframe",children:v}),e.jsx(b,{title:"Target value",children:w}),e.jsx(b,{title:"Target type",children:E}),e.jsx(b,{title:"Scopes covered",children:x})]})})})})]},r)})})}function Ne({data:s,columns:t}){const{desktop:r}=fe(),{getTableProps:n,headerGroups:l,rows:o,prepareRow:c,page:p,canPreviousPage:d,canNextPage:u,pageOptions:m,gotoPage:g,nextPage:x,previousPage:v,setPageSize:N,allColumns:w,state:{pageIndex:E,pageSize:R}}=C.useTable({columns:t,data:s,initialState:{pageIndex:0,pageSize:10,groupBy:["company"],paginateExpandedRows:!0,hiddenColumns:["location"]}},C.useFilters,C.useGlobalFilter,C.useGroupBy,C.useExpanded,C.usePagination),h=i.useMemo(()=>te(f=>f.original.company,p.flatMap(f=>f.subRows)),[p]);return e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:"px-5 pt-5 mb-5 lg:flex lg:items-center bg-purple text-white lg:bg-lightest-purple lg:text-black",children:[e.jsx("div",{className:"flex items-center mr-2",children:e.jsx("h2",{className:"mb-5 text-ms-3 lg:mr-auto lg:mb-0 leading-normal",children:"Progress data"})}),e.jsx("div",{className:"flex gap-4 relative text-black",children:w.filter(f=>f.canFilter).map(f=>e.jsx(i.Fragment,{children:f.render("Filter")},f.id))})]}),e.jsx("div",{className:"w-full lg:grid lg:grid-cols-12 px-5 lg:px-0 lg:gap-0",...n(),children:r?e.jsx(be,{headerGroups:l,prepareRow:c,rs:h}):e.jsx(Te,{prepareRow:c,rs:h})}),e.jsx("div",{children:e.jsx(G,{gotoPage:g,canPreviousPage:d,previousPage:v,nextPage:x,canNextPage:u,pageIndex:E,pageOptions:m,pageSize:R,setPageSize:N,total:o.length})})]})}function Ce(s){return e.jsx(ge,{children:e.jsx(Ne,{...s})})}const ye=i.memo(Ce);function H({onClick:s}){return e.jsxs("button",{type:"button",onClick:s,className:"absolute top-0 right-0 z-20 text-black border-2 border-transparent roun
1ded-full p-[5px] hover:text-red focus:outline-none",children:[e.jsx("span",{className:"sr-only",children:"Hide key"}),e.jsx("svg",{style:{width:20},viewBox:"0 0 30 30",children:e.jsx("path",{fill:"none",stroke:"currentColor",strokeWidth:"1.5",d:"m7.575 8.282 14.143 14.143m-13.436 0L22.425 8.282"})})]})}H.propTypes={onClick:a.func.isRequired};const V=i.forwardRef(({onClick:s,filterValue:t,disabled:r,placeholder:n="All",isOpen:l,resetFilter:o},c)=>{const p=se(d=>d.setParamValue);return e.jsxs("div",{className:"relative overflow-hidden whitespace-no-wrap max-w-200 w-full",children:[e.jsx(O,{ref:c,readOnly:!0,as:"div",active:!!t,disabled:r,placeholder:n,className:j("truncate w-full pr-[30px]",{"cursor-pointer":!r,hidden:!t&&n===L.SLUGS.SLUG}),onClick:r?null:d=>{s(d)},isOpen:l,children:t||n}),e.jsx("button",{"aria-label":"toggle menu",className:j("absolute top-0 bottom-0 right-0 flex items-center justify-center h-full my-auto text-black focus:outline-none hover:text-purple",{"cursor-default":r,"pointer-events-none":!t}),type:"button",style:{width:34,height:34},disabled:r,onClick:t?()=>{n===L.SLUGS.SLUG&&(p(null),re("company")),o()}:null,children:t?e.jsx("svg",{style:{width:20},viewBox:"0 0 30 30",children:e.jsx("path",{fill:"none",stroke:"currentColor",strokeWidth:"1.5",d:"m7.575 8.282 14.143 14.143m-13.436 0L22.425 8.282"})}):e.jsx("svg",{style:{width:10},viewBox:"0 0 10 6",children:e.jsx("path",{fillRule:"evenodd",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.28",d:"M9 1 5 5 1 1z"})})})]})});V.propTypes={filterValue:a.string,onClick:a.func,resetFilter:a.func,placeholder:a.string,disabled:a.bool,isOpen:a.bool};const we=i.memo(V),I=(s,t)=>s.filter(Boolean).filter(r=>r.toLowerCase().includes(t.toLowerCase()));function q({options:s,onChange:t,setFilter:r,filterValue:n="",close:l,isOpen:o,selectRef:c}){const p=i.useRef(),d=i.useRef();ae(d,h=>{h.target!==c.current&&l()});const[u,m]=i.useState(I(s,n)),{getMenuProps:g,getInputProps:x,getComboboxProps:v,highlightedIndex:N,getItemProps:w,setInputValue:E,inputValue:R}=le({items:u,defaultSelectedItem:n,onSelectedItemChange:h=>{r(h.selectedItem||void 0),t&&t(h.selectedItem),l()},onInputValueChange:h=>{m(I(s,h.inputValue))}});return i.useLayoutEffect(()=>{p&&p.current.focus()},[]),e.jsxs(ie,{...D,...g({ref:d}),children:[e.jsxs("div",{...v(),className:"relative mb-5",children:[e.jsx(O,{isOpen:o,...x({ref:p,placeholder:"Search"})}),R?e.jsx(H,{onClick:()=>E("")}):e.jsx("svg",{style:{width:18,height:18},className:"absolute top-0 bottom-0 right-0 my-auto mr-2.5",viewBox:"0 0 18 18",children:e.jsx("path",{stroke:"#000",strokeWidth:".25",d:"m16.846 16.09-3.628-3.638c1.067-1.231 1.654-2.783 1.654-4.495A6.932 6.932 0 0 0 7.936 1C4.095.947 1 4.05 1 7.903a6.932 6.932 0 0 0 6.936 6.957 6.896 6.896 0 0 0 4.482-1.66l3.628 3.64c.106.106.267.16.373.16a.575.575 0 0 0 .374-.16c.266-.215.266-.536.053-.75Zm-8.91-2.3a5.86 5.86 0 0 1-5.869-5.887 5.86 5.86 0 0 1 5.869-5.886 5.86 5.86 0 0 1 5.869 5.886 5.86 5.86 0 0 1-5.869 5.886Z"})})]}),e.jsx("ul",{children:u.map((h,f)=>e.jsx("li",{className:"rounded-lg cursor-pointer p-2.5",style:N===f||n===h?{backgroundColor:"#eeeef3"}:{},...w({item:h,index:f}),children:h},`${h}${f}`))})]},"m")}q.propTypes={options:a.arrayOf(a.string),onChange:a.func,setValue:a.func,setFilter:a.func,filterValue:a.string,close:a.func,isOpen:a.bool};function W({className:s="relative",onChange:t,column:{setFilter:r,preFilteredRows:n,filterValue:l,id:o,Header:c,width:p=200}}){const d=ne({id:o,input:n}),[u,m]=i.useState(),g=i.useRef();return e.jsxs("div",{className:j("pb-[15px] lg:pb-0",s),style:{flex:`${p} 0 auto`},children:[e.jsx(we,{filterValue:l,placeholder:c,onClick:()=>{m(x=>!x)},resetFilter:()=>r(null),isOpen:u,ref:g}),e.jsx(_,{children:u&&e.jsx(q,{placeholder:c,setFilter:r,options:d,onChange:t,filterValue:l,close:()=>m(!1),isOpen:u,selectRef:g})})]})}W.propTypes={column:a.shape({filterValue:a.string,setFilter:a.func,preFilteredRows:a.arrayOf(a.object),filteredRows:a.arrayOf(a.object),id:a.string,width:a.number,Header:a.string}),onChange:a.func};const P=i.memo(W);function Y({column:s,className:t}){const{setRegionalFilter:r}=he();return e.jsx(P,{className:t,column:s,onChange:n=>{n&&r(!0)}})}
1Y.propTypes={column:a.shape({filterValue:a.string,setFilter:a.func,preFilteredRows:a.arrayOf(a.object),filteredRows:a.arrayOf(a.object),id:a.string})};const Ee=i.memo(Y),z=i.createContext(),X=i.createContext();function Re(){return i.useContext(z)}function Pe(){return i.useContext(X)}function Se(){return[Re(),Pe()]}function Q({children:s}){const[t,r]=i.useState(!1);return e.jsx(z.Provider,{value:t,children:e.jsx(X.Provider,{value:r,children:s})})}Q.propTypes={children:a.node.isRequired};const Ae=i.memo(Q),{COMPANY:Le,SECTOR:Me,LOCATION:ke,COMPANY_TEMPERATURE_ALIGNMENT:Fe,TARGET_TIMELINE:Ie,TARGET_TYPE:Oe,TARGET_VALUE:_e,SCOPES_COVERED:De,PROGRESS_AGAINST_TARGET:Ge,ELAPSED_TIME_FRAME:Be}=ue;function y({text:s,id:t}){const[r,n]=Se(),l=r===t;return e.jsxs("div",{className:"absolute top-0 right-0 ",style:{width:16,height:16},children:[e.jsxs("button",{onClick:()=>n(o=>o===t?null:t),type:"button",className:`w-full h-full flex items-center justify-center 2 bg-white rounded-full z-10`,children:[e.jsx("svg",{width:"2",height:"10",viewBox:"0 0 2 10",fill:"none",children:e.jsx("path",{d:"M0.685333 10V2.89062H1.9158V10H0.685333ZM0.685333 1.4209V0.0332031H1.9158V1.4209H0.685333Z",fill:"#5D266D"})}),e.jsx("span",{className:"sr-only",children:"What is this?"})]}),e.jsx(_,{children:l&&e.jsxs(oe.div,{...D,style:{width:265,bottom:25,left:"50%",transform:"translate3d(-50%, -5px, 0)",filter:"drop-shadow(0px 4px 6px rgba(0, 0, 0, 0.1))"},className:"bg-white py-[15px] px-5 text-purple text-center normal-case absolute left-0 z-20 left-1/2 mb-2.5",children:[e.jsx("button",{onClick:()=>n(null),style:{width:16,height:16},className:"text-white bg-purple rounded-full flex items-center justify-center absolute top-0 right-0 mt-[5px] mr-[5px]",type:"button",children:e.jsx("span",{className:"text-ms--4 leading-none",children:"X"})}),e.jsx("p",{className:"text-ms--1",children:s}),e.jsx("svg",{style:{left:"50%",transform:"translate3d(-50%, 100%, 0)",bottom:2},className:"absolute ",width:"17",height:"14",viewBox:"0 0 17 14",fill:"none",children:e.jsx("path",{d:"M8.6001 14L0.486607 0.5L16.7136 0.5L8.6001 14Z",fill:"white"})})]})})]})}function Ze(){return i.useMemo(()=>[{Header:"Company",accessor:Le,Filter:t=>e.jsx(P,{...t,className:"lg:relative"}),filter:"equals",width:210},{Header:"Sector",accessor:Me,Filter:t=>e.jsx(P,{...t,className:"lg:relative"}),filter:"equals",width:210},{Header:"Location",accessor:ke,Filter:t=>e.jsx(Ee,{...t,className:"lg:relative"}),filter:"equals",width:210},{Header:()=>e.jsxs("div",{className:"relative pr-5",children:[e.jsx(y,{id:0,text:"Company-wide temperature alignment based on the ambition of a companyâs scope 1 and 2 targets"}),"Company temperature Alignment"]}),accessor:Fe,disableFilters:!0},{Header:()=>e.jsxs("div",{className:"relative pr-5",children:[e.jsx(y,{open:!0,id:1,text:"Base year to target year"}),"Target timeframe"]}),accessor:Ie,disableFilters:!0},{Header:()=>e.jsx("div",{className:"relative pr-5",children:"Target type"}),accessor:Oe,disableFilters:!0},{Header:()=>e.jsxs("div",{className:"relative pr-5",children:[e.jsx(y,{open:!0,id:2,text:"Emissions reduction to be achieved in target year"}),"Target value"]}),accessor:_e,disableFilters:!0},{Header:()=>e.jsxs("div",{className:"relative pr-5",children:[e.jsx(y,{id:3,text:"Emissions scopes included in target."}),"Scopes covered"]}),accessor:De,disableFilters:!0},{Header:()=>e.jsxs("div",{className:"relative pr-5",children:[e.jsx(y,{id:3,text:"Percent of progress achieved against the target"}),"Target Completion"]}),accessor:Ge,disableFilters:!0},{Header:()=>e.jsxs("div",{className:"relative pr-5",children:[e.jsx(y,{id:4,text:"Percent of time elapsed between the start and end of the target"}),"Elapsed Timeframe"]}),accessor:Be,disableFilters:!0}],[])}function Ve({data:s,ids:t}){const r=Ze();return e.jsx(je,{children:e.jsx(Ae,{children:e.jsx(ye,{expandedId:t,data:s,columns:r})})})}export{Ve as default}; 3//# sourceMappingURL=progressTable-DZARpKLU.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.