{"version":3,"file":"SupplierQuoteAgent.BY4NujdJ.mjs","names":["useRef","useState","__esmMin","init_npm_react_18_3_1","_e","de","p","c","init_jsx_runtime","ce","useInView","useReducedMotion","init_framer_motion_DhsWWWsN","addPropertyControls","ControlType","useIsStaticRenderer","init_framer_CKT6jEEQ","timeline","stage","root","$","s","$$","T","M","OUT","SOFT","IO","SINE_IO","at","x","y","n","el","css","uid","pct","ms","run","name","prefix","body","stops","t","decl","ease","easing","sampled","i","step","fn","blur","px","enter","start","from","b","dur","show","bl","a","din","dout","to","press","smoother","clamp01","clamp","arc","dx","dy","cx","bend","cy","v","u","build","frame","drop","bubble","atts","cards","pose","r","d","g","conf","sub","OFF","DROP","REST","C","S","AWAY","moves","tipAt","t0","t1","clicks","squeeze","cursorOpacity","ring","o","q","rs","stackAt","vx","so","fan","lift","flat","slot","home","land","card","rows","fillEnd","g0","peak","quiet","row","txt","hidden","w","scene","SupplierQuoteAgent","props","isStatic","reduceMotion","still","playing","rootRef","stageRef","inView","built","setBuilt","fit","h","VIEW","ro","FONTS","link","cancelled","keyframes","instances","style","EDGE","CSS","STILL_CSS","MARKUP","init_SupplierQuoteAgent"],"sources":["https:/framerusercontent.com/modules/FVKq2XiZFQFV2UgLnDwT/A16IlnGdadIMCGUMBMCc/SupplierQuoteAgent.js"],"sourcesContent":["// Generated by gen.py from the standalone scene in .context/quote-upload.\n// Edit the scene and regenerate rather than editing this file in Framer.\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{useEffect,useRef,useState}from\"react\";import{addPropertyControls,ControlType,useIsStaticRenderer}from\"framer\";import{useInView,useReducedMotion}from\"framer-motion\";/* The supplier quote agent, as a loop: files are dragged into the agent, the\n   bid sheet fills, the supplier confirms and submits, and the frame swooshes\n   away and reassembles.\n\n   The scene is a fixed 1280x800 stage on one CSS timeline. It is measured once\n   its fonts load, scaled to fit the component, and paused while off screen. */const CSS=\".lsq { --brand: #ff4b00; --n-50: #fafafa; --n-100: #f5f5f5; --n-200: #e5e5e5; --n-300: #d4d4d4; --n-400: #a3a3a3; --n-500: #737373; --n-600: #525252; --n-700: #404040; --n-800: #262626; --n-900: #171717; --white: #fff; --ink: #262626; --ink-2: #525252; --ink-3: #737373; --border: #e5e5e5; --ok-bg: #dcfce7; --ok-line: #bbf7d0; --ok-fg: #166534; --ease: cubic-bezier(0.22, 1, 0.36, 1); --ease-io: cubic-bezier(0.65, 0, 0.35, 1); --ease-back: cubic-bezier(0.34, 1.56, 0.64, 1); --r-sm: 6px; --r: 8px; --r-lg: 12px; --r-xl: 16px; --display: 'Wasa', 'Inter Tight', Inter, system-ui, sans-serif; --body: Inter, system-ui, -apple-system, 'Segoe UI', sans-serif; --label: 'Inter Tight', Inter, system-ui, sans-serif; --m: 128px; --fw: 1024px; --shadow-card: 0 1px 2px rgb(38 38 38 / 0.05), 0 12px 32px -8px rgb(38 38 38 / 0.1); --shadow-pop: 0 2px 4px rgb(38 38 38 / 0.06), 0 20px 52px -14px rgb(38 38 38 / 0.24); }\\n.lsq, .lsq * { box-sizing: border-box; margin: 0; padding: 0; }\\n.lsq .frame { position: absolute; left: var(--m); width: var(--fw); z-index: 10; overflow: hidden; border: 1px solid var(--border); border-radius: var(--r-xl); background: var(--white); box-shadow: var(--shadow-card); }\\n.lsq .ptitle { color: var(--n-900); font-size: 25px; font-weight: 600; letter-spacing: -0.02em; }\\n.lsq .btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 42px; padding: 0 17px; border-radius: var(--r); background: var(--n-900); color: var(--white); font-size: 17px; font-weight: 500; letter-spacing: -0.01em; white-space: nowrap; }\\n.lsq .btn.ghost { border: 1px solid var(--border); background: var(--white); color: var(--n-900); }\\n.lsq .cursor { position: absolute; top: 0; left: 0; z-index: 60; width: 30px; height: 30px; pointer-events: none; filter: drop-shadow(0 3px 7px rgb(38 38 38 / 0.3)); }\\n.lsq .click { position: absolute; top: 0; left: 0; z-index: 59; width: 52px; height: 52px; margin: -26px 0 0 -26px; border: 2px solid var(--n-900); border-radius: 50%; opacity: 0; pointer-events: none; }\\n.lsq .cursor { transform-origin: 7px 4px; }\\n.lsq .frame { top: 130px; height: 540px; overflow: visible; }\\n.lsq .head { display: flex; align-items: center; gap: 14px; height: 72px; padding: 0 24px; border-bottom: 1px solid var(--border); }\\n.lsq .head .ptitle { font-size: 22px; }\\n.lsq .head .crumb { color: var(--ink-3); font-size: 22px; }\\n.lsq .head .btns { position: relative; margin-left: auto; }\\n.lsq .head .btn svg { width: 18px; height: 18px; }\\n.lsq #submit { width: 188px; }\\n.lsq #submit .lab { display: inline-flex; align-items: center; gap: 9px; }\\n.lsq #submit .l2 { position: absolute; opacity: 0; }\\n.lsq .body { display: flex; height: 468px; border-radius: 0 0 var(--r-xl) var(--r-xl); overflow: hidden; }\\n.lsq .agent { position: relative; display: flex; flex-direction: column; width: 320px; flex: none; padding: 18px; border-right: 1px solid var(--border); background: var(--n-50); }\\n.lsq .thread-area { position: relative; flex: 1; }\\n.lsq .drop { position: absolute; inset: 0 0 14px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; border-radius: var(--r-lg); background: var(--white); text-align: center; }\\n.lsq .drop .edge { position: absolute; inset: 0; border: 1.5px dashed var(--n-300); border-radius: var(--r-lg); }\\n.lsq .drop .ico { display: grid; width: 48px; height: 48px; margin-bottom: 8px; place-items: center; border-radius: var(--r-lg); background: var(--n-100); color: var(--ink-2); }\\n.lsq .drop .ico svg { width: 24px; height: 24px; }\\n.lsq .drop .t1 { color: var(--n-900); font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }\\n.lsq .drop .t2 { color: var(--ink-3); font-size: 15px; }\\n.lsq .bubble { position: absolute; inset: 0 0 auto; padding: 8px 10px 10px; border-radius: var(--r-lg); background: var(--n-100); opacity: 0; }\\n.lsq .att { display: flex; align-items: center; gap: 10px; height: 46px; margin-top: 6px; padding: 0 10px; border: 1px solid var(--border); border-radius: var(--r); background: var(--white); opacity: 0; }\\n.lsq .att .nm { color: var(--n-900); font-size: 15px; font-weight: 500; }\\n.lsq .att .sz { margin-left: auto; color: var(--ink-3); font-size: 13px; }\\n.lsq .ft { display: grid; width: 32px; height: 30px; flex: none; place-items: center; border-radius: 5px; background: var(--n-200); color: var(--ink-2); font-family: var(--label); font-size: 11px; font-weight: 700; }\\n.lsq .composer { display: flex; align-items: center; gap: 10px; height: 52px; padding: 0 8px 0 14px; border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--white); color: var(--ink-3); font-size: 15px; }\\n.lsq .composer svg { width: 18px; height: 18px; }\\n.lsq .composer .send { display: grid; width: 36px; height: 36px; margin-left: auto; place-items: center; border-radius: var(--r); background: var(--n-900); color: var(--white); }\\n.lsq .sheet { flex: 1; padding: 18px 22px; }\\n.lsq .bar-top { position: relative; display: flex; align-items: center; height: 44px; margin-bottom: 14px; }\\n.lsq .bar-top .st { color: var(--n-900); font-family: var(--label); font-size: 17px; font-weight: 600; }\\n.lsq .status { position: relative; flex: 1; height: 20px; margin-left: 14px; color: var(--ink-3); font-size: 15px; }\\n.lsq .status span { position: absolute; top: 0; left: 0; display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; opacity: 0; }\\n.lsq .status svg { width: 16px; height: 16px; }\\n.lsq .bar-top .acts { position: absolute; right: 0; display: flex; gap: 8px; opacity: 0; }\\n.lsq .bar-top .acts .btn { height: 38px; padding: 0 14px; font-size: 15px; }\\n.lsq .grid { position: relative; border: 1px solid var(--n-200); border-radius: var(--r); }\\n.lsq .row { display: grid; grid-template-columns: 36px 1fr 82px 112px 96px 108px; height: 50px; border-top: 1px solid var(--n-200); }\\n.lsq .row.hdr { height: 40px; border-top: 0; border-radius: var(--r) var(--r) 0 0; background: var(--n-50); }\\n.lsq .c { display: flex; align-items: center; padding: 0 12px; overflow: hidden; border-left: 1px solid var(--n-200); color: var(--ink-2); font-size: 16px; font-weight: 450; white-space: nowrap; font-variant-numeric: tabular-nums; }\\n.lsq .c:first-child { justify-content: center; padding: 0; border-left: 0; background: var(--n-50); color: var(--ink-3); font-size: 13px; }\\n.lsq .c.n { justify-content: flex-end; }\\n.lsq .hdr .c { color: var(--ink-3); font-size: 14px; font-weight: 600; }\\n.lsq .item { color: var(--n-900); font-weight: 500; }\\n.lsq .v { position: relative; display: inline-block; font-weight: 600; opacity: 0; }\\n.lsq .v .o { display: block; color: var(--brand); }\\n.lsq .v .k { position: absolute; inset: 0; color: var(--n-900); clip-path: inset(0 100% 0 0); }\\n.lsq .think { position: absolute; inset: 0 0 auto; border-radius: var(--r-lg); box-shadow: 0 0 0 1px rgb(255 75 0 / 0.5), 0 0 16px 0 rgb(255 75 0 / 0.14); pointer-events: none; opacity: 0; }\\n.lsq .reply { position: absolute; left: 0; right: 0; padding: 0 4px; color: var(--n-900); font-size: 15px; line-height: 1.45; opacity: 0; }\\n.lsq .stack { position: absolute; top: 0; left: 0; z-index: 58; width: 236px; height: 120px; transform-origin: 0 0; pointer-events: none; }\\n.lsq .stack .card { position: absolute; top: 0; left: 0; display: flex; align-items: center; gap: 10px; width: 264px; height: 46px; padding: 0 10px; border: 1px solid var(--border); border-radius: var(--r); background: var(--white); box-shadow: var(--shadow-pop); color: var(--n-900); font-size: 15px; font-weight: 500; }\\n.lsq .stack .card .sz { margin-left: auto; color: var(--ink-3); font-size: 13px; font-weight: 400; }\\n.lsq .stack .card:nth-child(1) { transform: translate(26px, 36px) rotate(-8deg); }\\n.lsq .stack .card:nth-child(2) { transform: translate(16px, 17px) rotate(5deg); }\\n.lsq .stack .card:nth-child(3) { transform: rotate(-1deg); }\\n.lsq .stack .count { position: absolute; top: -10px; left: 250px; display: grid; width: 26px; height: 26px; place-items: center; border-radius: 50%; background: var(--n-900); color: var(--white); font-size: 13px; font-weight: 600; }\";const MARKUP='<div class=\"frame\" id=\"frame\"> <div class=\"head\" id=\"head\"> <span class=\"crumb\">Quotes /</span> <span class=\"ptitle\">Q3 bracket and housing program</span> <div class=\"btns\"> <div class=\"btn\" id=\"submit\"> <span class=\"lab l1\" id=\"sub1\"> <svg viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M22 2 11 13\" /><path d=\"M22 2 15 22l-4-9-9-4 20-7Z\" /></svg> Submit quote </span> <span class=\"lab l2\" id=\"sub2\"> <svg viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2.2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M5 12.5l4.5 4.5L19 7.5\" /></svg> Quote submitted </span> </div> </div> </div> <div class=\"body\"> <div class=\"agent\" id=\"agent\"> <div class=\"thread-area\"> <div class=\"drop\" id=\"drop\"> <div class=\"edge\" id=\"edge\"></div> <div class=\"ico\"> <svg viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.8\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M12 15V4\" /><path d=\"m7 8.5 5-5 5 5\" /><path d=\"M4 14v4.5A1.5 1.5 0 0 0 5.5 20h13a1.5 1.5 0 0 0 1.5-1.5V14\" /></svg> </div> <div class=\"t1\">Drop files to fill this quote</div> <div class=\"t2\">Excel, PDF or CSV</div> </div> <div class=\"think\" id=\"think\"></div> <div class=\"bubble\" id=\"bubble\"> <div class=\"att\"><span class=\"ft\">XLS</span><span class=\"nm\">Price list 2026.xlsx</span><span class=\"sz\">48 KB</span></div> <div class=\"att\"><span class=\"ft\">PDF</span><span class=\"nm\">Q1 quote rev3.pdf</span><span class=\"sz\">312 KB</span></div> <div class=\"att\"><span class=\"ft\">CSV</span><span class=\"nm\">Lead times.csv</span><span class=\"sz\">6 KB</span></div> </div> <div class=\"reply\" id=\"reply\">Done. I filled 18 values from your files. Lead times came from Q1 quote rev3.pdf.</div> </div> <div class=\"composer\"> <svg viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\"><path d=\"M12 5v14M5 12h14\" /></svg> Ask me anything <span class=\"send\"><svg viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2.2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M12 19V5M6 11l6-6 6 6\" /></svg></span> </div> </div> <div class=\"sheet\"> <div class=\"bar-top\" id=\"bartop\"> <span class=\"st\">Bid sheet</span> <span class=\"status\"> <span id=\"s-review\">18 values filled by AI. Review before confirming.</span> <span id=\"s-done\"><svg viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2.4\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M5 12.5l4.5 4.5L19 7.5\" /></svg>All 18 values confirmed</span> </span> <div class=\"acts\" id=\"acts\"> <span class=\"btn ghost\">Dismiss</span> <span class=\"btn\" id=\"confirm\">Confirm all</span> </div> </div> <div class=\"grid\" id=\"grid\"> <div class=\"row hdr\"><span class=\"c\"></span><span class=\"c\">Item</span><span class=\"c n\">Qty</span><span class=\"c n\">Unit price</span><span class=\"c n\">MOQ</span><span class=\"c n\">Lead time</span></div> <div class=\"row\"><span class=\"c\">1</span><span class=\"c item\">Steel bracket</span><span class=\"c n\">1,200</span><span class=\"c n\"><b class=\"v\">$4.12</b></span><span class=\"c n\"><b class=\"v\">500</b></span><span class=\"c n\"><b class=\"v\">6 wks</b></span></div> <div class=\"row\"><span class=\"c\">2</span><span class=\"c item\">Aluminum housing</span><span class=\"c n\">1,200</span><span class=\"c n\"><b class=\"v\">$11.80</b></span><span class=\"c n\"><b class=\"v\">250</b></span><span class=\"c n\"><b class=\"v\">8 wks</b></span></div> <div class=\"row\"><span class=\"c\">3</span><span class=\"c item\">M6 hex bolt</span><span class=\"c n\">9,600</span><span class=\"c n\"><b class=\"v\">$0.06</b></span><span class=\"c n\"><b class=\"v\">5,000</b></span><span class=\"c n\"><b class=\"v\">2 wks</b></span></div> <div class=\"row\"><span class=\"c\">4</span><span class=\"c item\">EPDM gasket</span><span class=\"c n\">2,400</span><span class=\"c n\"><b class=\"v\">$0.38</b></span><span class=\"c n\"><b class=\"v\">1,000</b></span><span class=\"c n\"><b class=\"v\">4 wks</b></span></div> <div class=\"row\"><span class=\"c\">5</span><span class=\"c item\">Wiring harness</span><span class=\"c n\">1,200</span><span class=\"c n\"><b class=\"v\">$6.45</b></span><span class=\"c n\"><b class=\"v\">300</b></span><span class=\"c n\"><b class=\"v\">10 wks</b></span></div> <div class=\"row\"><span class=\"c\">6</span><span class=\"c item\">Shipping carton</span><span class=\"c n\">600</span><span class=\"c n\"><b class=\"v\">$1.10</b></span><span class=\"c n\"><b class=\"v\">200</b></span><span class=\"c n\"><b class=\"v\">3 wks</b></span></div> </div> </div> </div> </div> <div class=\"stack\" id=\"stack\"> <div class=\"card\"><span class=\"ft\">CSV</span>Lead times.csv<span class=\"sz\">6 KB</span></div> <div class=\"card\"><span class=\"ft\">PDF</span>Q1 quote rev3.pdf<span class=\"sz\">312 KB</span></div> <div class=\"card\"><span class=\"ft\">XLS</span>Price list 2026.xlsx<span class=\"sz\">48 KB</span></div> <span class=\"count\">3</span> </div> <div class=\"click\"></div> <div class=\"cursor\"><svg viewBox=\"0 0 24 24\" fill=\"none\"> <path d=\"M5.5 2.8 18.4 13.1a.62.62 0 0 1-.33 1.1l-5.2.62a.62.62 0 0 0-.47.33l-2.4 4.66a.62.62 0 0 1-1.17-.2L5.1 3.3a.62.62 0 0 1 .4-.5Z\" fill=\"#262626\" stroke=\"#fff\" stroke-width=\"1.5\" stroke-linejoin=\"round\"/> </svg></div>';// The part of the stage on show: the frame, with room for its shadow and for\n// the soft side edges the cursor and files enter through.\nconst VIEW={x:104,y:106,w:1072,h:588};const EDGE=16;const FONTS=\"https://fonts.googleapis.com/css2?family=Inter:wght@400..700&family=Inter+Tight:wght@500..700&display=swap\";/** Writes the scene's keyframes for one instance and returns them as CSS. */function timeline(root,prefix){const stage=root.querySelector(\".stage\");const $=s=>root.querySelector(s);const $$=s=>Array.from(root.querySelectorAll(s));const T=8300;const M={dragIn:800,drop:2300,fill:2800,review:3750,confirm:5400,submit:6450,swoosh:7050,gone:7850,reset:8e3};const OUT=\"cubic-bezier(0.16, 1, 0.3, 1)\";// arrivals\nconst SOFT=\"cubic-bezier(0.33, 1, 0.68, 1)\";// fades\nconst IO=\"cubic-bezier(0.65, 0, 0.35, 1)\";// hand-offs\nconst SINE_IO=\"cubic-bezier(0.37, 0, 0.63, 1)\";const IN=\"cubic-bezier(0.5, 0, 0.78, 0.18)\";// the exit\nfunction at(el){let x=0,y=0,n=el;while(n&&n!==stage){x+=n.offsetLeft;y+=n.offsetTop;n=n.offsetParent;if(n&&n!==stage){x+=n.clientLeft;y+=n.clientTop;}}return{x,y,w:el.offsetWidth,h:el.offsetHeight,cx:x+el.offsetWidth/2,cy:y+el.offsetHeight/2};}const css=[];let uid=0;const pct=ms=>`${+(Math.min(T,Math.max(0,ms))/T*100).toFixed(4)}%`;/** Animate el through stops: [ms | [ms, ms], declarations, easing-to-next?]. */function run(el,stops,easing=\"linear\"){const name=`${prefix}${uid++}`;const body=stops.map(([t,decl,ease])=>{const at=[].concat(t).map(pct).join(\", \");return`${at} { ${decl}${ease?` animation-timing-function: ${ease};`:\"\"} }`;}).join(\" \");css.push(`@keyframes ${name} { ${body} }`);el.style.animation=`${name} ${T}ms ${easing} infinite`;}/** Keyframes sampled from fn(ms) -> declarations, linear in between. */function sampled(el,fn,step=1e3/120){const stops=[];for(let i=0;i*step<T;i++)stops.push([i*step,fn(i*step)]);stops.push([T,fn(T)]);run(el,stops);}const blur=px=>`filter: blur(${px}px);`;/** Hidden, then in over dur, then held until the reset. */function enter(el,start,dur,from=\"translateY(12px)\",b=0){run(el,[[[0,start],`opacity: 0; transform: ${from}; ${blur(b)}`,OUT],[[start+dur,M.reset],`opacity: 1; transform: none; ${blur(0)}`],[[M.reset+10,T],`opacity: 0; transform: ${from}; ${blur(b)}`]]);}/** In at a, out at b: rises in, drifts up and out. */function show(el,a,b,{din=420,dout=280,from=\"translateY(6px)\",to=\"translateY(-5px)\",b:bl=3}={}){run(el,[[[0,a],`opacity: 0; transform: ${from}; ${blur(bl)}`,OUT],[[a+din,b],`opacity: 1; transform: none; ${blur(0)}`,IO],[b+dout,`opacity: 0; transform: ${to}; ${blur(bl)}`],[[b+dout+1,T],`opacity: 0; transform: ${from}; ${blur(bl)}`]]);}/** A button giving under a click at t. */function press(el,t){run(el,[[[0,t-70],\"transform: scale(1);\",IO],[t+50,\"transform: scale(0.96);\",OUT],[[t+480,T],\"transform: scale(1);\"]]);}const smoother=x=>x*x*x*(x*(x*6-15)+10);const clamp01=x=>Math.min(1,Math.max(0,x));const clamp=(x,a,b)=>Math.min(b,Math.max(a,x));/** A point on a gentle arc from a to b; bend bows it sideways. */function arc(a,b,u,bend){const dx=b.x-a.x,dy=b.y-a.y;const cx=(a.x+b.x)/2-dy*bend,cy=(a.y+b.y)/2+dx*bend;const v=1-u;return{x:v*v*a.x+2*v*u*cx+u*u*b.x,y:v*v*a.y+2*v*u*cy+u*u*b.y};}function build(){const frame=$(\"#frame\");const drop=$(\"#drop\");const bubble=$(\"#bubble\");const atts=$$(\".att\");const cards=$$(\"#stack .card\").reverse();// top first: XLS, PDF, CSV\n// The carried cards are exact copies of the chips they become.\nfor(const c of cards)c.style.width=`${atts[0].offsetWidth}px`;$(\"#stack .count\").style.left=`${atts[0].offsetWidth-14}px`;$(\"#think\").style.height=`${bubble.offsetHeight}px`;$(\"#reply\").style.top=`${bubble.offsetHeight+16}px`;/* 1. Reassemble. The shell rises and settles, then its parts arrive in\n           reading order, each sharpening out of a soft blur. */const pose=(x,y,r,s)=>`transform: translate(${x}px, ${y}px) rotate(${r}deg) scale(${s});`;run(frame,[[0,`opacity: 0; ${pose(0,44,0,.955)}`,OUT],[[1050,M.swoosh],`opacity: 1; ${pose(0,0,0,1)}`,IO],[M.swoosh+260,`opacity: 1; ${pose(-6,12,.6,.982)}`,IN],[[M.gone,T],`opacity: 1; ${pose(380,-980,-6,.84)}`]]);const parts=[$(\"#head\"),$(\"#agent\"),$(\"#bartop\"),...$$(\"#grid .row\")];parts.forEach((el,i)=>enter(el,120+i*60,820,\"translateY(16px)\",5));/* 2. The drop zone wakes as the files arrive over it, then gives way. */run(drop,[[[0,M.drop-560],\"opacity: 1; background-color: #fff;\",IO],[[M.drop-180,M.drop+20],\"opacity: 1; background-color: #f5f5f5;\",SOFT],[[M.drop+320,M.reset],\"opacity: 0; background-color: #f5f5f5;\"],[[M.reset+10,T],\"opacity: 1; background-color: #fff;\"]]);run($(\"#edge\"),[[[0,M.drop-560],\"border-color: #d4d4d4;\",IO],[[M.drop-180,M.reset],\"border-color: #262626;\"],[[M.reset+10,T],\"border-color: #d4d4d4;\"]]);run($(\"#drop .ico\"),[[[0,M.drop-560],\"transform: none;\",IO],[[M.drop-180,M.reset],\"transform: translateY(-4px);\"],[[M.reset+10,T],\"transform: none;\"]]);enter(bubble,M.drop+20,320,\"translateY(4px) scale(0.99)\");/* 3. The cursor. Its tip sits at (7, 4) inside the 30px box. */const d=at(drop);const g=at($(\"#grid\"));const conf=at($(\"#confirm\"));const sub=at($(\"#submit\"));const OFF={x:1350,y:640};const DROP={x:d.cx-4,y:d.cy-34};const REST={x:g.x+g.w-80,y:g.y+g.h+30};const C={x:conf.cx,y:conf.cy};const S={x:sub.cx+30,y:sub.cy};const AWAY={x:S.x-70,y:S.y+170};const moves=[[M.dragIn,M.drop-200,OFF,DROP,.14],[M.drop+420,M.drop+1300,DROP,REST,-.12],[M.confirm-760,M.confirm-90,REST,C,.12],[M.submit-780,M.submit-90,C,S,-.14],[M.submit+280,M.swoosh+560,S,AWAY,.1]];const tipAt=t=>{if(t>=M.swoosh+640)return OFF;let p=OFF;for(const[t0,t1,a,b,bend]of moves){if(t<t0)break;p=t>=t1?b:arc(a,b,smoother((t-t0)/(t1-t0)),bend);}return p;};const clicks=[M.drop,M.confirm,M.submit];const squeeze=t=>{let s=1;for(const c of clicks){const x=(t-(c-90))/300;if(x>0&&x<1)s-=.13*Math.sin(Math.PI*x)**2;}return s;};const cursorOpacity=t=>{if(t>=M.swoosh+720)return 1;// parked off stage, ready for the next loop\nreturn 1-smoother(clamp01((t-(M.submit+320))/560));};sampled($(\".cursor\"),t=>{const p=tipAt(t);return`opacity: ${cursorOpacity(t).toFixed(3)}; transform: translate(${(p.x-7).toFixed(2)}px, ${(p.y-4).toFixed(2)}px) scale(${squeeze(t).toFixed(4)});`;});const ring=(q,s,o)=>`opacity: ${o}; transform: translate(${q.x}px, ${q.y}px) scale(${s});`;const rs=[[0,ring(DROP,.3,0)]];[[DROP,M.drop],[C,M.confirm],[S,M.submit]].forEach(([q,t])=>{rs.push([t-1,ring(q,.3,0),SOFT],[t+90,ring(q,.55,.7),OUT],[t+640,ring(q,1.15,0)]);});rs.push([T,ring(S,1.15,0)]);run($(\".click\"),rs);/* 4. The stack rides the tip and sways with its speed, the way a held\n           thing trails a moving hand. On release each card glides into the\n           slot of the chip it becomes, sheds its lift, and hands over. */const stackAt=t=>{if(t>=M.reset)t=0;// parked off stage with the cursor\nt=Math.min(t,M.drop);const p=tipAt(t),q=tipAt(t-24);const vx=(p.x-q.x)/24;return{x:p.x+8,y:p.y+14,rot:clamp(vx*2.6,-5,5)};};sampled($(\"#stack\"),t=>{const s=stackAt(t);return`transform: translate(${s.x.toFixed(2)}px, ${s.y.toFixed(2)}px) rotate(${s.rot.toFixed(3)}deg);`;});$(\"#stack\").style.transformOrigin=\"-8px -14px\";const so=stackAt(M.drop);const fan=[\"translate(0px, 0px) rotate(-1deg)\",\"translate(16px, 17px) rotate(5deg)\",\"translate(26px, 36px) rotate(-8deg)\"];const lift=\"box-shadow: 0 2px 4px rgb(38 38 38 / 0.06), 0 20px 52px -14px rgb(38 38 38 / 0.24);\";const flat=\"box-shadow: 0 0 0 rgb(38 38 38 / 0), 0 0 0 0 rgb(38 38 38 / 0);\";cards.forEach((card,i)=>{const slot=at(atts[i]);const home=`translate(${(slot.x-so.x).toFixed(2)}px, ${(slot.y-so.y).toFixed(2)}px) rotate(0deg)`;const t0=M.drop+i*75;const land=t0+540;run(card,[[[0,t0],`opacity: 1; transform: ${fan[i]}; ${lift}`,OUT],[land,`opacity: 1; transform: ${home}; ${flat}`,SOFT],[[land+160,M.reset],`opacity: 0; transform: ${home}; ${flat}`],[[M.reset+10,T],`opacity: 1; transform: ${fan[i]}; ${lift}`]]);run(atts[i],[[[0,land-70],\"opacity: 0;\"],[[land,M.reset],\"opacity: 1;\"],[[M.reset+10,T],\"opacity: 0;\"]]);});run($(\"#stack .count\"),[[[0,M.drop-60],\"opacity: 1; transform: scale(1);\",SOFT],[[M.drop+160,M.reset],\"opacity: 0; transform: scale(0.6);\"],[[M.reset+10,T],\"opacity: 1; transform: scale(1);\"]]);/* 5. The agent thinks: once the files settle, one slow breath of\n           orange around them while the sheet fills, gone as the last value\n           lands. Then the agent says what it did. */const rows=$$(\"#grid .row:not(.hdr)\");const STAGGER=65;const fillEnd=M.fill+(rows.length-1+2)*STAGGER+620;const g0=M.drop+560;const peak=M.fill+520;const quiet=\"opacity: 0; box-shadow: 0 0 0 1px rgb(255 75 0 / 0.5), 0 0 8px 0 rgb(255 75 0 / 0);\";const full=\"opacity: 1; box-shadow: 0 0 0 1px rgb(255 75 0 / 0.5), 0 0 16px 0 rgb(255 75 0 / 0.14);\";run($(\"#think\"),[[[0,g0],quiet,SINE_IO],[peak,full,SINE_IO],[[fillEnd+80,T],quiet]]);enter($(\"#reply\"),fillEnd-60,560,\"translateY(8px)\",3);/* 6. One wave across the sheet, top-left to bottom-right. Each value\n           sharpens into place. */rows.forEach((row,r)=>{row.querySelectorAll(\".v\").forEach((v,c)=>{const txt=v.textContent;v.innerHTML=`<span class=\"o\">${txt}</span><span class=\"k\">${txt}</span>`;const t=M.fill+(r+c)*STAGGER;const hidden=`opacity: 0; transform: translateY(7px) scale(0.94); ${blur(4)}`;run(v,[[[0,t],hidden,OUT],[[t+620,M.reset],`opacity: 1; transform: none; ${blur(0)}`],[[M.reset+10,T],hidden]]);// Confirm all: a left-to-right wipe from orange to ink, in the same wave.\nconst w=M.confirm+100+(r+c)*34;run(v.querySelector(\".o\"),[[[0,w],\"clip-path: inset(0 0 0 0%);\",IO],[[w+340,M.reset],\"clip-path: inset(0 0 0 100%);\"],[[M.reset+10,T],\"clip-path: inset(0 0 0 0%);\"]]);run(v.querySelector(\".k\"),[[[0,w],\"clip-path: inset(0 100% 0 0);\",IO],[[w+340,M.reset],\"clip-path: inset(0 0% 0 0);\"],[[M.reset+10,T],\"clip-path: inset(0 100% 0 0);\"]]);});});/* 7. Review, confirm, submit. Every swap is a crossfade. */show($(\"#s-review\"),M.review,M.confirm+60);show($(\"#s-done\"),M.confirm+200,M.reset);show($(\"#acts\"),M.review+220,M.confirm+300,{to:\"translateY(0px)\",b:2});press($(\"#confirm\"),M.confirm);press($(\"#submit\"),M.submit);run($(\"#sub1\"),[[[0,M.submit+40],`opacity: 1; transform: none; ${blur(0)}`,IO],[[M.submit+300,M.reset],`opacity: 0; transform: translateY(-9px); ${blur(3)}`],[[M.reset+10,T],`opacity: 1; transform: none; ${blur(0)}`]]);show($(\"#sub2\"),M.submit+150,M.reset,{from:\"translateY(9px)\"});return css.join(\"\\n\");}const scene=build();// On a page the clip has edges, so the frame fades as it leaves rather\n// than being cut off at the top.\ncss.length=0;run(stage,[[[0,M.swoosh+330],\"opacity: 1;\",SOFT],[[M.gone-30,T-10],\"opacity: 0;\"],[T,\"opacity: 1;\"]]);return`${scene}\n${css.join(\"\\n\")}`;}let instances=0;/**\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight any-prefer-fixed\n */export default function SupplierQuoteAgent(props){const{playing=true,style}=props;const isStatic=useIsStaticRenderer();const reduceMotion=useReducedMotion();const still=isStatic||!!reduceMotion||!playing;const rootRef=useRef(null);const stageRef=useRef(null);const inView=useInView(rootRef,{amount:.25});const[built,setBuilt]=useState(false);// Fit the stage's view into the component.\nuseEffect(()=>{const root=rootRef.current;const stage=stageRef.current;if(!root||!stage)return;const fit=()=>{const w=root.clientWidth;const h=root.clientHeight;if(!w||!h)return;const s=Math.min(w/VIEW.w,h/VIEW.h);const x=w/2-(VIEW.x+VIEW.w/2)*s;const y=h/2-(VIEW.y+VIEW.h/2)*s;stage.style.transform=`translate(${x}px, ${y}px) scale(${s})`;};fit();const ro=new ResizeObserver(fit);ro.observe(root);return()=>ro.disconnect();},[]);// Load the type, measure the scene and write its timeline.\nuseEffect(()=>{if(still||typeof document===\"undefined\")return;const root=rootRef.current;if(!root)return;if(!document.querySelector(`link[href=\"${FONTS}\"]`)){const link=document.createElement(\"link\");link.rel=\"stylesheet\";link.href=FONTS;document.head.appendChild(link);}let cancelled=false;const keyframes=document.createElement(\"style\");const prefix=`lsq${++instances}_`;Promise.all([document.fonts.load('500 16px \"Inter\"'),document.fonts.load('600 17px \"Inter Tight\"')]).catch(()=>{}).then(()=>{if(cancelled)return;keyframes.textContent=timeline(root,prefix);root.appendChild(keyframes);for(const a of root.getAnimations({subtree:true}))a.currentTime=0;setBuilt(true);});return()=>{cancelled=true;keyframes.remove();setBuilt(false);};},[still]);// Start from the top each time it scrolls into view; rest while away.\nuseEffect(()=>{const root=rootRef.current;if(!root||!built)return;for(const a of root.getAnimations({subtree:true})){if(inView){a.currentTime=0;a.play();}else a.pause();}},[inView,built]);return /*#__PURE__*/_jsxs(\"div\",{ref:rootRef,className:`lsq${still?\" is-still\":\"\"}`,role:\"img\",\"aria-label\":\"A supplier drags a price list, a PDF quote and a CSV of lead times into the LightSource agent. The bid sheet fills itself, the supplier confirms every value and submits the quote.\",style:{...style,position:\"relative\",width:\"100%\",height:\"100%\",overflow:\"hidden\",WebkitMaskImage:`linear-gradient(to right, transparent, #000 ${EDGE}px, #000 calc(100% - ${EDGE}px), transparent)`,maskImage:`linear-gradient(to right, transparent, #000 ${EDGE}px, #000 calc(100% - ${EDGE}px), transparent)`},children:[/*#__PURE__*/_jsx(\"style\",{children:CSS+STILL_CSS}),/*#__PURE__*/_jsx(\"div\",{ref:stageRef,className:\"stage\",dangerouslySetInnerHTML:{__html:MARKUP}})]});}// The stage's own frame, and the held state shown on the canvas thumbnail,\n// with reduced motion, or when playing is off: the sheet filled, in review.\nconst STILL_CSS=`\n.lsq .stage { position: absolute; top: 0; left: 0; width: 1280px; height: 800px; transform-origin: 0 0; font-family: var(--body); font-feature-settings: 'ss01' 1, 'cv05' 1, 'tnum' 1; -webkit-font-smoothing: antialiased; color: var(--ink); }\n.lsq.is-still .stage * { animation: none !important; }\n.lsq.is-still .drop, .lsq.is-still .stack, .lsq.is-still .cursor, .lsq.is-still .click, .lsq.is-still .think, .lsq.is-still #s-done, .lsq.is-still #sub2 { opacity: 0 !important; }\n.lsq.is-still .bubble, .lsq.is-still .att, .lsq.is-still .reply, .lsq.is-still .v, .lsq.is-still #s-review, .lsq.is-still #acts { opacity: 1 !important; }\n.lsq.is-still .reply { top: 190px; }\n.lsq.is-still .v { color: var(--brand); }\n`;addPropertyControls(SupplierQuoteAgent,{playing:{type:ControlType.Boolean,title:\"Playing\",defaultValue:true}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"SupplierQuoteAgent\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutWidth\":\"any-prefer-fixed\",\"framerSupportedLayoutHeight\":\"any-prefer-fixed\",\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./SupplierQuoteAgent.map"],"mappings":"A,iQAS0P,SAASiB,EAAS,EAAK,EAAO,CAAC,IAAMC,EAAMC,EAAK,cAAc,QAAQ,EAAQC,EAAE,GAAGD,EAAK,cAAcE,CAAC,EAAQC,EAAG,GAAG,MAAM,KAAKH,EAAK,iBAAiBE,CAAC,CAAC,EAAQE,EAAE,KAAWC,EAAE,CAAC,OAAO,IAAI,KAAK,KAAK,KAAK,KAAK,OAAO,KAAK,QAAQ,KAAK,OAAO,KAAK,OAAO,KAAK,KAAK,KAAK,MAAM,GAAG,EAAQC,EAAI,gCACnhBC,EAA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