{"version":3,"file":"PortfolioVisual.DFELLwZG.mjs","names":["React.forwardRef","useRef","useState","__esmMin","init_ssg_sandbox_shims","window","_e","de","init_jsx_runtime","J","p","init_npm_react_18_3_1","ce","motion","cx","addPropertyControls","withCSS","init_framer_BL70qLPA","useIsStaticRenderer","useSVGTemplate","ControlType","mask","Base","MotionSVG","SVG","svg","getProps","Icon","init_VP3YkQ_cg","props","rest","animated","width1","color","restProps","href","className","P_DcoRcrY","JEeZYcamG","style","pointProgress","time","INITIAL_HOLD_MS","index","POINT_INTERVAL_MS","POINT_ANIMATION_MS","landedTotals","groups","levers","packaging","fees","net","portfolioPoints","landed","PortfolioVisual","defaultEntries","canvas","shell","isStatic","completed","setTime","node","root","ctx","media","frame","previous","elapsed","lastUpdate","visible","tabVisible","disposed","colors","mint","leaf","paint","compact","w","h","dpr","pw","ph","x","i","y","v","points","done","t","fade","LOOP_MS","FADE_MS","progress","rising","ease","peak","value","amber","width","height","finished","stop","tick","now","sync","animate","io","ro","visibility","safe","entries","entry","READING_MS","fraction","TOTALS","totals","packagingTarget","feesTarget","heading","css","badge","readingLabel","packagingLabel","dollars","feesLabel","savingsLabel","label","cadence","raw","groupWeights","init_PortfolioVisual","current","sum","weight","\"sku\"","\"opportunity\"","\"net\"","\"lever\""],"sources":["https:/framerusercontent.com/modules/WifFVFBn95dfBfnMde2n/4e9JMH8YJJAFqayLI6Z0/VP3YkQ_cg.js","https:/framerusercontent.com/modules/kkvgLIi7zQNPR45dRLHV/jieiGMntO50Nq9s8uPT8/PortfolioVisual.js"],"sourcesContent":["// Generated by Framer (85eaff3)\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType,cx,motion,useSVGTemplate,withCSS}from\"framer\";import*as React from\"react\";import{forwardRef}from\"react\";const mask=\"var(--framer-icon-mask)\";const Base=/*#__PURE__*/forwardRef(function(props,ref){return /*#__PURE__*/_jsx(\"svg\",{...props,ref:ref,children:props.children});});const MotionSVG=motion.create(Base);const SVG=/*#__PURE__*/forwardRef((props,ref)=>{const{animated,layoutId,children,...rest}=props;return animated?/*#__PURE__*/_jsx(MotionSVG,{...rest,layoutId:layoutId,ref:ref,children:children}):/*#__PURE__*/_jsx(\"svg\",{...rest,ref:ref,children:children});});const svg='<svg display=\"block\" role=\"presentation\" viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M 0 8 L 3 0 L 6 8 C 5.13 8.65 4.08 9 3 9 C 1.92 9 0.87 8.65 0 8 Z\" fill=\"transparent\" height=\"9px\" id=\"OY0jb57ji\" stroke-dasharray=\"\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"var(--js9iwy, 2)\" stroke=\"var(--1m973uw, rgb(0,0,0))\" transform=\"translate(16 8)\" width=\"6px\"/><path d=\"M 0 8 L 3 0 L 6 8 C 5.13 8.65 4.08 9 3 9 C 1.92 9 0.87 8.65 0 8 Z\" fill=\"transparent\" height=\"9px\" id=\"m80PD4Bl9\" stroke-dasharray=\"\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"var(--js9iwy, 2)\" stroke=\"var(--1m973uw, rgb(0,0,0))\" transform=\"translate(2 8)\" width=\"6px\"/><path d=\"M 0 0 L 10 0\" fill=\"transparent\" height=\"1px\" id=\"ksx04W_CP\" stroke-dasharray=\"\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"var(--js9iwy, 2)\" stroke=\"var(--1m973uw, rgb(0,0,0))\" transform=\"translate(7 21)\" width=\"10px\"/><path d=\"M 0 0 L 0 18\" fill=\"transparent\" height=\"18px\" id=\"x_MTqapgH\" stroke-dasharray=\"\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"var(--js9iwy, 2)\" stroke=\"var(--1m973uw, rgb(0,0,0))\" transform=\"translate(12 3)\" width=\"1px\"/><path d=\"M 0 2 L 2 2 C 4 2 7 1 9 0 C 11 1 14 2 16 2 L 18 2\" fill=\"transparent\" height=\"2px\" id=\"RdSIzAqjw\" stroke-dasharray=\"\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"var(--js9iwy, 2)\" stroke=\"var(--1m973uw, rgb(0,0,0))\" transform=\"translate(3 5)\" width=\"18px\"/></svg>';const getProps=({color,height,id,width,width1,...props})=>{return{...props,JEeZYcamG:width1??props.JEeZYcamG??2,P_DcoRcrY:color??props.P_DcoRcrY??\"rgb(0, 0, 0)\"};};const Component=/*#__PURE__*/React.forwardRef(function(props,ref){const{style,className,layoutId,variant,P_DcoRcrY,JEeZYcamG,...restProps}=getProps(props);const href=useSVGTemplate(\"1615520681\",svg);return /*#__PURE__*/_jsx(SVG,{...restProps,className:cx(\"framer-WTsWc\",className),layoutId:layoutId,ref:ref,role:\"presentation\",style:{\"--1m973uw\":P_DcoRcrY,\"--js9iwy\":JEeZYcamG,...style},viewBox:\"0 0 24 24\",children:/*#__PURE__*/_jsx(\"use\",{href:href})});});const css=[`.framer-WTsWc { -webkit-mask: ${mask}; aspect-ratio: 1; display: block; mask: ${mask}; width: 24px; }`];/**\n * This is a generated Framer component.\n * @framerIntrinsicWidth 24\n * @framerIntrinsicHeight 24\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight any-prefer-fixed\n * @framerVariables {\"P_DcoRcrY\":\"color\",\"JEeZYcamG\":\"width1\"}\n * @framerImmutableVariables true\n * @framerVector {\"name\":\"Scale\",\"color\":{\"type\":\"variable\",\"value\":\"1m973uw\"},\"set\":{\"localId\":\"vectorSet/ZsiCCGPvG\",\"id\":\"ZsiCCGPvG\",\"moduleId\":\"Y7SpbVH16cWqMhj75z1M\"}}\n */const Icon=withCSS(Component,css,\"framer-WTsWc\");Icon.displayName=\"Scale\";export default Icon;addPropertyControls(Icon,{P_DcoRcrY:{defaultValue:\"rgb(0, 0, 0)\",hidden:false,title:\"Color\",type:ControlType.Color},JEeZYcamG:{defaultValue:2,displayStepper:true,hidden:false,max:16,min:1,title:\"Width\",type:ControlType.Number}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"Icon\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutHeight\":\"any-prefer-fixed\",\"framerSupportedLayoutWidth\":\"any-prefer-fixed\",\"framerImmutableVariables\":\"true\",\"framerContractVersion\":\"1\",\"framerIntrinsicHeight\":\"24\",\"framerVariables\":\"{\\\"P_DcoRcrY\\\":\\\"color\\\",\\\"JEeZYcamG\\\":\\\"width1\\\"}\",\"framerIntrinsicWidth\":\"24\",\"framerVector\":\"{\\\"name\\\":\\\"Scale\\\",\\\"color\\\":{\\\"type\\\":\\\"variable\\\",\\\"value\\\":\\\"1m973uw\\\"},\\\"set\\\":{\\\"localId\\\":\\\"vectorSet/ZsiCCGPvG\\\",\\\"id\\\":\\\"ZsiCCGPvG\\\",\\\"moduleId\\\":\\\"Y7SpbVH16cWqMhj75z1M\\\"}}\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType,useIsStaticRenderer}from\"framer\";import{useEffect,useRef,useState}from\"react\";const READING_MS=1500;const POINT_INTERVAL_MS=115;const POINT_ANIMATION_MS=1400;const INITIAL_HOLD_MS=1500;const FINISHED_HOLD_MS=3500;const FADE_MS=1200;const TOTALS={packaging:155e3,fees:997e3,net:842e3};const levers=[{name:\"Material substitution\",target:347e3},{name:\"Lightweighting\",target:32e4},{name:\"Recycled content\",target:85e3},{name:\"Mono-material\",target:49e3},{name:\"Supplier change\",target:41e3}];const raw=Array.from({length:100},(_,index)=>{const current=96e3*Math.exp(-2.48*index/99);const lever=index<48?index%2:index%5;return{index,current,lever,optimized:current*(.55*1.05+.45*.6)};});const groupWeights=levers.map((_,i)=>raw.filter(p=>p.lever===i).reduce((sum,p)=>sum+p.current,0));const portfolioPoints=raw.map(p=>{const weight=groupWeights[p.lever]??1;const target=levers[p.lever]?.target??0;const net=target*p.current/weight;return{...p,net,packaging:net*TOTALS.packaging/TOTALS.net,fees:net*TOTALS.fees/TOTALS.net};});const LOOP_MS=INITIAL_HOLD_MS+99*POINT_INTERVAL_MS+POINT_ANIMATION_MS+FINISHED_HOLD_MS+FADE_MS;function pointProgress(time,index){return Math.max(0,Math.min(1,(time-INITIAL_HOLD_MS-index*POINT_INTERVAL_MS)/POINT_ANIMATION_MS));}function landedTotals(time){const groups=levers.map(()=>0);let packaging=0,fees=0,net=0;portfolioPoints.forEach(p=>{const progress=pointProgress(time,p.index);const landed=progress===1?1:0;packaging+=p.packaging*landed;fees+=p.fees*landed;net+=p.net*landed;groups[p.lever]=(groups[p.lever]??0)+p.net*landed;});return{packaging,fees,net,groups};}const defaultEntries=[{\"sku\":\"Salad clamshell, 48 oz\",\"opportunity\":\"Material substitution → PET\",\"net\":\"−15%\",\"lever\":0},{\"sku\":\"Snack flow-pack, 6 oz\",\"opportunity\":\"Lightweighting, −12% grams\",\"net\":\"−5%\",\"lever\":1},{\"sku\":\"Produce tub, 16 oz\",\"opportunity\":\"Recycled content to 30% PCR\",\"net\":\"−7%\",\"lever\":2},{\"sku\":\"Cold cup lid, 30 oz\",\"opportunity\":\"Material substitution → PP\",\"net\":\"−13%\",\"lever\":0},{\"sku\":\"Pouch with spout, 10 oz\",\"opportunity\":\"Mono-material PE\",\"net\":\"−16%\",\"lever\":3},{\"sku\":\"Folding carton, 12 ct\",\"opportunity\":\"Lightweighting, −8% board\",\"net\":\"−5%\",\"lever\":1},{\"sku\":\"Hinged container, 32 oz\",\"opportunity\":\"Supplier change, lower-cost resin\",\"net\":\"−4%\",\"lever\":4},{\"sku\":\"Shrink sleeve, 2 L\",\"opportunity\":\"Material substitution → PET-S\",\"net\":\"−11%\",\"lever\":0}];const dollars=v=>`$${Math.round(v/1e3)}k`;const css=`.neta-opt-portfolio{container-type:inline-size;box-sizing:border-box;padding:12px;border-radius:30px;background:linear-gradient(150deg,#18391C,#202A23 45%,#101A14);border:1px solid rgba(101,177,89,.2);box-shadow:0 24px 50px -20px rgba(22,75,32,.3);font-family:'IBM Plex Mono',monospace;color:#CAF2B1}.neta-opt-portfolio *{box-sizing:border-box}.neta-opt-portfolio .nop-inner{border:1px solid rgba(202,242,177,.18);border-radius:23px;padding:20px;display:grid;gap:14px}.neta-opt-portfolio .nop-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;font-size:10px;line-height:1.5}.neta-opt-portfolio .nop-head span:first-child{max-width:76%}.neta-opt-portfolio .nop-head span:last-child{color:var(--nop-leaf);white-space:nowrap}.neta-opt-portfolio .nop-curve{position:relative;border-radius:16px;overflow:hidden;background:#032510}.neta-opt-portfolio canvas{width:100%;height:auto;aspect-ratio:400/320;display:block}.neta-opt-portfolio .nop-reading{position:absolute;top:9%;right:3.5%;width:45%;padding:12px;border-radius:14px;background:rgba(3,31,13,.96);border:1px solid rgba(101,177,89,.36);box-shadow:0 12px 30px rgba(0,0,0,.2);font-family:Inter,sans-serif;color:#E8F5DE}.neta-opt-portfolio .nop-badge{display:inline-flex;align-items:center;gap:4px;border-radius:999px;padding:3px 7px;background:rgba(101,177,89,.14);font:10px/1.3 'IBM Plex Mono',monospace;color:var(--nop-mint)}.neta-opt-portfolio .nop-reading b{font-size:12px;line-height:1.4;font-weight:500;display:block;margin:10px 0 8px}.neta-opt-portfolio .nop-reading p{font-size:10px;line-height:1.5;color:#9CBC92;margin:0 0 8px}.neta-opt-portfolio .nop-net{font:600 9px/1.5 'IBM Plex Mono',monospace;display:inline-block;padding:2px 6px;border-radius:999px;background:rgba(101,177,89,.15);color:var(--nop-mint)}.neta-opt-portfolio .nop-counters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.neta-opt-portfolio .nop-counter{padding:10px;border:1px solid rgba(202,242,177,.14);background:rgba(202,242,177,.035);border-radius:12px;display:flex;flex-direction:column;align-items:flex-start;gap:7px;min-width:0}.neta-opt-portfolio .nop-counter span{font-size:9px;line-height:1.4;color:#9CBC92}.neta-opt-portfolio .nop-counter b{font-size:18px;line-height:1.15;font-weight:400}.neta-opt-portfolio .nop-counter small{font:11px/1.5 Inter,sans-serif;color:#9CBC92}.neta-opt-portfolio .nop-counter:last-child{border-color:rgba(101,177,89,.5);background:rgba(101,177,89,.07)}@container(max-width:350px){.neta-opt-portfolio .nop-inner{padding:12px;gap:12px}.neta-opt-portfolio .nop-reading{padding:8px;width:48%}.neta-opt-portfolio .nop-reading b{font-size:11px;margin:6px 0}.neta-opt-portfolio .nop-head{font-size:9px}.neta-opt-portfolio .nop-counter{padding:8px 6px}.neta-opt-portfolio .nop-counter b{font-size:16px}}\n`;/**\n * Animated sample portfolio chart; text and sample entries are editable in Properties.\n * @framerIntrinsicWidth 420\n * @framerIntrinsicHeight 474\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight auto\n */export default function PortfolioVisual(props){const{compact=false,heading=\"Total cost per SKU \\xb7 packaging + EPR\",badge=\"AI-modeled\",readingLabel=\"Reading\",packagingLabel=\"Packaging cost\",feesLabel=\"EPR fees\",savingsLabel=\"Net savings\",cadence=\"per year\",packagingTarget=155e3,feesTarget=997e3,animate=true,entries=defaultEntries,leaf=\"#65B159\",mint=\"#CAF2B1\",amber=\"#E7B877\"}=props;const canvas=useRef(null),shell=useRef(null);const isStatic=useIsStaticRenderer();const completed=LOOP_MS-FADE_MS;const[time,setTime]=useState(completed);useEffect(()=>{const node=canvas.current,root=shell.current;if(typeof window===\"undefined\"||!node||!root)return;const ctx=node.getContext(\"2d\");if(!ctx)return;const media=window.matchMedia(\"(prefers-reduced-motion: reduce)\");let frame=0,previous=0,elapsed=0,lastUpdate=0,visible=false,tabVisible=!document.hidden,disposed=false;const colors=[mint,leaf,\"#9DCF8D\",\"#8CD2B0\",\"#B8CF81\"];const paint=t=>{if(compact){const w=Math.max(1,node.getBoundingClientRect().width),h=Math.max(1,node.getBoundingClientRect().height),dpr=Math.min(window.devicePixelRatio||1,2),pw=Math.round(w*dpr),ph=Math.round(h*dpr);if(node.width!==pw||node.height!==ph){node.width=pw;node.height=ph;}ctx.setTransform(pw/400,0,0,ph/150,0,0);ctx.clearRect(0,0,400,150);const x=i=>5+i/99*390,y=v=>142-v/1e5*126;ctx.globalAlpha=.1;ctx.strokeStyle=mint;ctx.lineWidth=1;for(let i=0;i<5;i++){ctx.beginPath();ctx.moveTo(0,15+i*30);ctx.lineTo(400,15+i*30);ctx.stroke();}const points=portfolioPoints.filter((p,i)=>i%3===0||i===99),done=points.filter(p=>pointProgress(t,p.index)===1),fade=t>LOOP_MS-FADE_MS?Math.max(0,(LOOP_MS-t)/FADE_MS):1;if(done.length>1){ctx.globalAlpha=.13*fade;ctx.fillStyle=leaf;ctx.beginPath();done.forEach((p,i)=>i===0?ctx.moveTo(x(p.index),y(p.current)):ctx.lineTo(x(p.index),y(p.current)));[...done].reverse().forEach(p=>ctx.lineTo(x(p.index),y(p.optimized)));ctx.closePath();ctx.fill();ctx.globalAlpha=.9*fade;ctx.strokeStyle=leaf;ctx.lineWidth=1.6;ctx.setLineDash([4,3]);ctx.beginPath();done.forEach((p,i)=>i===0?ctx.moveTo(x(p.index),y(p.optimized)):ctx.lineTo(x(p.index),y(p.optimized)));ctx.stroke();ctx.setLineDash([]);}ctx.globalAlpha=.55;ctx.strokeStyle=mint;ctx.lineWidth=1;ctx.beginPath();points.forEach((p,i)=>i===0?ctx.moveTo(x(p.index),y(p.current)):ctx.lineTo(x(p.index),y(p.current)));ctx.stroke();points.forEach(p=>{const progress=pointProgress(t,p.index),rising=progress<.3,ease=v=>1-(1-v)**3,peak=p.current*1.0275,value=progress===0?p.current:rising?p.current+(peak-p.current)*ease(progress/.3):peak+(p.optimized-peak)*ease((progress-.3)/.7);ctx.globalAlpha=progress===0?.15:fade;ctx.fillStyle=progress===0?mint:rising?amber:colors[p.lever];ctx.beginPath();ctx.arc(x(p.index),y(value),progress>0&&progress<1?2:1.2,0,Math.PI*2);ctx.fill();});ctx.globalAlpha=1;return;}const width=Math.max(1,node.getBoundingClientRect().width),height=width*320/400,dpr=Math.min(window.devicePixelRatio||1,2);const pw=Math.round(width*dpr),ph=Math.round(height*dpr);if(node.width!==pw||node.height!==ph){node.width=pw;node.height=ph;}ctx.setTransform(pw/400,0,0,ph/320,0,0);ctx.clearRect(0,0,400,320);const x=i=>44+i/99*344,y=v=>296-v/1e5*262;ctx.lineWidth=1;ctx.font='9px \"IBM Plex Mono\",monospace';ctx.textAlign=\"right\";[0,5e4,1e5].forEach(v=>{ctx.globalAlpha=.13;ctx.strokeStyle=mint;ctx.beginPath();ctx.moveTo(44,y(v));ctx.lineTo(388,y(v));ctx.stroke();ctx.globalAlpha=.6;ctx.fillStyle=mint;ctx.fillText(`$${v/1e3}k`,38,y(v)+3);});ctx.textAlign=\"left\";ctx.fillText(\"SKUs, ranked by current total cost →\",44,314);ctx.font='8px \"IBM Plex Mono\",monospace';ctx.globalAlpha=.7;ctx.fillText(\"current\",60,15);ctx.fillText(\"optimized\",118,15);ctx.fillText(\"cost up\",178,15);ctx.beginPath();ctx.moveTo(44,12);ctx.lineTo(56,12);ctx.strokeStyle=mint;ctx.stroke();ctx.setLineDash([3,2]);ctx.beginPath();ctx.moveTo(102,12);ctx.lineTo(114,12);ctx.strokeStyle=leaf;ctx.stroke();ctx.setLineDash([]);ctx.fillStyle=amber;ctx.beginPath();ctx.arc(172,12,2,0,Math.PI*2);ctx.fill();const finished=portfolioPoints.filter(p=>pointProgress(t,p.index)===1),fade=t>LOOP_MS-FADE_MS?Math.max(0,(LOOP_MS-t)/FADE_MS):1;if(finished.length>1){ctx.globalAlpha=.12*fade;ctx.fillStyle=leaf;ctx.beginPath();finished.forEach((p,i)=>i===0?ctx.moveTo(x(p.index),y(p.current)):ctx.lineTo(x(p.index),y(p.current)));[...finished].reverse().forEach(p=>ctx.lineTo(x(p.index),y(p.optimized)));ctx.closePath();ctx.fill();ctx.globalAlpha=.9*fade;ctx.strokeStyle=leaf;ctx.lineWidth=1.4;ctx.setLineDash([4,3]);ctx.beginPath();finished.forEach((p,i)=>i===0?ctx.moveTo(x(p.index),y(p.optimized)):ctx.lineTo(x(p.index),y(p.optimized)));ctx.stroke();ctx.setLineDash([]);}ctx.globalAlpha=.55;ctx.strokeStyle=mint;ctx.lineWidth=1;ctx.beginPath();portfolioPoints.forEach((p,i)=>i===0?ctx.moveTo(x(i),y(p.current)):ctx.lineTo(x(i),y(p.current)));ctx.stroke();portfolioPoints.forEach(p=>{const progress=pointProgress(t,p.index),rising=progress<.3,ease=v=>1-(1-v)**3,peak=p.current*1.0275,value=progress===0?p.current:rising?p.current+(peak-p.current)*ease(progress/.3):peak+(p.optimized-peak)*ease((progress-.3)/.7);ctx.globalAlpha=progress===0?.18:fade;ctx.fillStyle=progress===0?mint:rising?amber:colors[p.lever];ctx.beginPath();ctx.arc(x(p.index),y(value),progress>0&&progress<1?2.3:1.4,0,Math.PI*2);ctx.fill();});ctx.globalAlpha=1;};const stop=()=>{cancelAnimationFrame(frame);frame=0;previous=0;};const tick=now=>{if(disposed)return;if(previous)elapsed+=Math.min(now-previous,80);previous=now;const t=elapsed%LOOP_MS;paint(t);if(!compact&&now-lastUpdate>80){setTime(t);lastUpdate=now;}frame=requestAnimationFrame(tick);};const sync=()=>{stop();if(isStatic||!animate||media.matches){paint(completed);setTime(completed);}else if(visible&&tabVisible)frame=requestAnimationFrame(tick);};const io=new IntersectionObserver(([e])=>{visible=!!e?.isIntersecting;sync();});io.observe(root);const ro=new ResizeObserver(()=>{if(isStatic||!animate||media.matches)paint(completed);else paint(elapsed%LOOP_MS);});ro.observe(node);const visibility=()=>{tabVisible=!document.hidden;sync();};media.addEventListener(\"change\",sync);document.addEventListener(\"visibilitychange\",visibility);paint(completed);sync();return()=>{disposed=true;stop();io.disconnect();ro.disconnect();media.removeEventListener(\"change\",sync);document.removeEventListener(\"visibilitychange\",visibility);};},[compact,animate,isStatic,leaf,mint,amber]);const safe=entries.length?entries:defaultEntries,entry=safe[Math.floor(time/READING_MS)%safe.length]||safe[0],baseTotals=landedTotals(time),fraction=baseTotals.net/TOTALS.net,totals={packaging:Math.max(0,packagingTarget)*fraction,fees:Math.max(0,feesTarget)*fraction,net:(Math.max(0,feesTarget)-Math.max(0,packagingTarget))*fraction};if(compact)return /*#__PURE__*/_jsxs(\"div\",{ref:shell,style:{...props.style,position:\"relative\",width:\"100%\",height:props.style?.height??176,padding:14,borderRadius:14,boxSizing:\"border-box\",overflow:\"hidden\",background:\"linear-gradient(150deg,#18391C,#1C2820 45%,#101A14)\",fontFamily:'\"IBM Plex Mono\",monospace',fontWeight:400,color:\"#9CBC92\"},children:[/*#__PURE__*/_jsx(\"div\",{\"aria-hidden\":\"true\",style:{position:\"absolute\",inset:0,backgroundImage:\"linear-gradient(rgba(101,177,89,.07) 1px,transparent 1px),linear-gradient(90deg,rgba(101,177,89,.07) 1px,transparent 1px)\",backgroundSize:\"64px 64px\"}}),/*#__PURE__*/_jsx(\"span\",{style:{position:\"relative\",zIndex:1,fontSize:10,lineHeight:\"12px\"},children:heading}),/*#__PURE__*/_jsx(\"canvas\",{ref:canvas,role:\"img\",\"aria-label\":\"Current and optimized total cost by SKU\",style:{position:\"absolute\",left:14,bottom:14,width:\"calc(100% - 28px)\",height:118,display:\"block\"}})]});return /*#__PURE__*/_jsxs(\"div\",{ref:shell,className:\"neta-opt-portfolio\",style:{...props.style,position:\"relative\",width:\"100%\",height:\"auto\",\"--nop-leaf\":leaf,\"--nop-mint\":mint},children:[/*#__PURE__*/_jsx(\"style\",{children:css}),/*#__PURE__*/_jsxs(\"div\",{className:\"nop-inner\",children:[/*#__PURE__*/_jsxs(\"div\",{className:\"nop-head\",children:[/*#__PURE__*/_jsx(\"span\",{children:heading}),/*#__PURE__*/_jsx(\"span\",{children:badge})]}),/*#__PURE__*/_jsxs(\"div\",{className:\"nop-curve\",children:[/*#__PURE__*/_jsx(\"canvas\",{ref:canvas,role:\"img\",\"aria-label\":\"Current and optimized packaging plus EPR cost across 1,000 sample SKUs\"}),/*#__PURE__*/_jsxs(\"div\",{className:\"nop-reading\",children:[/*#__PURE__*/_jsxs(\"span\",{className:\"nop-badge\",children:[/*#__PURE__*/_jsx(\"svg\",{width:\"11\",height:\"11\",viewBox:\"0 0 24 24\",fill:\"none\",stroke:\"currentColor\",strokeWidth:\"2\",\"aria-hidden\":\"true\",children:/*#__PURE__*/_jsx(\"path\",{d:\"m12 3 2.5 6.5L21 12l-6.5 2.5L12 21l-2.5-6.5L3 12l6.5-2.5Z\"})}),readingLabel]}),/*#__PURE__*/_jsx(\"b\",{children:entry.sku}),/*#__PURE__*/_jsx(\"p\",{children:entry.opportunity}),/*#__PURE__*/_jsxs(\"span\",{className:\"nop-net\",children:[\"Net cost \",entry.net]})]})]}),/*#__PURE__*/_jsx(\"div\",{className:\"nop-counters\",children:[[packagingLabel,\"+\"+dollars(totals.packaging),amber],[feesLabel,\"−\"+dollars(totals.fees),leaf],[savingsLabel,dollars(totals.net),mint]].map(([label,value,color],i)=>/*#__PURE__*/_jsxs(\"div\",{className:\"nop-counter\",children:[/*#__PURE__*/_jsx(\"span\",{children:label}),/*#__PURE__*/_jsx(\"b\",{style:{color},children:value}),i===2&&/*#__PURE__*/_jsx(\"small\",{children:cadence})]},i))})]})]});}addPropertyControls(PortfolioVisual,{compact:{type:ControlType.Boolean,title:\"Compact\",defaultValue:false},heading:{type:ControlType.String,title:\"Heading\",defaultValue:\"Total cost per SKU \\xb7 packaging + EPR\"},badge:{type:ControlType.String,title:\"Badge\",defaultValue:\"AI-modeled\"},readingLabel:{type:ControlType.String,title:\"Reading label\",defaultValue:\"Reading\"},packagingLabel:{type:ControlType.String,title:\"Packaging label\",defaultValue:\"Packaging cost\"},feesLabel:{type:ControlType.String,title:\"Fees label\",defaultValue:\"EPR fees\"},savingsLabel:{type:ControlType.String,title:\"Savings label\",defaultValue:\"Net savings\"},cadence:{type:ControlType.String,title:\"Cadence\",defaultValue:\"per year\"},packagingTarget:{type:ControlType.Number,title:\"Packaging cost\",defaultValue:155e3,min:0,max:5e7,step:1e3,displayStepper:true},feesTarget:{type:ControlType.Number,title:\"EPR fees\",defaultValue:997e3,min:0,max:5e7,step:1e3,displayStepper:true},animate:{type:ControlType.Boolean,title:\"Animate\",defaultValue:true},entries:{type:ControlType.Array,title:\"Sample SKUs\",maxCount:20,defaultValue:defaultEntries,control:{type:ControlType.Object,controls:{sku:{type:ControlType.String,title:\"SKU\",defaultValue:\"Sample SKU\"},opportunity:{type:ControlType.String,title:\"Opportunity\",defaultValue:\"Lightweighting\"},net:{type:ControlType.String,title:\"Net cost\",defaultValue:\"−5%\"},lever:{type:ControlType.Number,title:\"Lever\",defaultValue:0,min:0,max:4,step:1}}}},leaf:{type:ControlType.Color,title:\"Accent\",defaultValue:\"#65B159\"},mint:{type:ControlType.Color,title:\"Highlight\",defaultValue:\"#CAF2B1\"},amber:{type:ControlType.Color,title:\"Cost up\",defaultValue:\"#E7B877\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"PortfolioVisual\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutHeight\":\"auto\",\"framerSupportedLayoutWidth\":\"any-prefer-fixed\",\"framerContractVersion\":\"1\",\"framerIntrinsicWidth\":\"420\",\"framerIntrinsicHeight\":\"474\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./PortfolioVisual.map"],"mappings":"A,oVACgM,EAAK,0BAAgC,EAAkB,gBAAW,SAAS,EAAM,EAAI,CAAC,MAAoB,gBAAK,MAAM,CAAC,GAAG6B,EAAU,MAAI,SAASA,EAAM,QAAQ,CAAC,CAAE,CAAC,EAAQ,EAAUhB,EAAO,OAAOS,CAAI,EAAQ,EAAiB,iBAAY,EAAM,IAAM,CAAC,GAAK,CAAC,WAAS,WAAS,WAAS,GAAGQ,GAAMD,EAAM,OAAOE,EAAsB,gBAAKR,EAAU,CAAC,GAAGO,EAAc,WAAa,MAAa,UAAQ,CAAC,EAAe,gBAAK,MAAM,CAAC,GAAGA,EAAS,MAAa,UAAQ,CAAC,CAAE,CAAC,E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