{"version":3,"file":"GallantOSCommandData.DETKBVoS.mjs","names":["React.useContext","React.useMemo","React.Fragment","React.forwardRef","useRef","React.useId","React.useRef","React.useState"],"sources":["https:/framerusercontent.com/modules/y452ntRZkt5D9mFeYggv/kDHZ9KXdMx17zoYFW5xU/IjaDwT_6l.js","https:/framerusercontent.com/modules/CpqKi1V0oVbxhxJWTVWf/dAApopC5JTz8EEiLms8T/c72ZpJlVM.js","https:/framerusercontent.com/modules/KDmOYsdBqbhnN9QA20k7/NSK8vr7E21lC2p0XzjTO/GallantOSCommandData.js"],"sourcesContent":["// Generated by Framer (ddc5e5f)\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{addFonts,addPropertyControls,ControlType,cx,useComponentViewport,useLocaleInfo,useVariantState,withCSS}from\"framer\";import{LayoutGroup,motion,MotionConfigContext}from\"framer-motion\";import*as React from\"react\";import{useRef}from\"react\";const cycleOrder=[\"iKTYcjnj2\",\"tE8lHOnOB\",\"ah_utZGUj\",\"j7chMJYG7\",\"wU8hvx7Ex\",\"I4g40TWfF\"];const serializationHash=\"framer-4n8Zo\";const variantClassNames={ah_utZGUj:\"framer-v-rbf7nu\",I4g40TWfF:\"framer-v-1f62qw5\",iKTYcjnj2:\"framer-v-1579pjn\",j7chMJYG7:\"framer-v-1ud241z\",tE8lHOnOB:\"framer-v-8rbxf\",wU8hvx7Ex:\"framer-v-4kqoqc\"};function addPropertyOverrides(overrides,...variants){const nextOverrides={};variants?.forEach(variant=>variant&&Object.assign(nextOverrides,overrides[variant]));return nextOverrides;}const transition1={bounce:.2,delay:0,duration:.4,type:\"spring\"};const Transition=({value,children})=>{const config=React.useContext(MotionConfigContext);const transition=value??config.transition;const contextValue=React.useMemo(()=>({...config,transition}),[JSON.stringify(transition)]);return /*#__PURE__*/_jsx(MotionConfigContext.Provider,{value:contextValue,children:children});};const humanReadableVariantMap={Accent:\"iKTYcjnj2\",Critical:\"j7chMJYG7\",Information:\"wU8hvx7Ex\",Neutral:\"I4g40TWfF\",Success:\"tE8lHOnOB\",Warning:\"ah_utZGUj\"};const Variants=motion.create(React.Fragment);const getProps=({height,id,width,...props})=>{return{...props,variant:humanReadableVariantMap[props.variant]??props.variant??\"iKTYcjnj2\"};};const createLayoutDependency=(props,variants)=>{if(props.layoutDependency)return variants.join(\"-\")+props.layoutDependency;return variants.join(\"-\");};const Component=/*#__PURE__*/React.forwardRef(function(props,ref){const fallbackRef=useRef(null);const refBinding=ref??fallbackRef;const defaultLayoutId=React.useId();const{activeLocale,setLocale}=useLocaleInfo();const componentViewport=useComponentViewport();const{style,className,layoutId,variant,...restProps}=getProps(props);const{baseVariant,classNames,clearLoadingGesture,gestureHandlers,gestureVariant,isLoading,setGestureState,setVariant,variants}=useVariantState({cycleOrder,defaultVariant:\"iKTYcjnj2\",ref:refBinding,variant,variantClassNames});const layoutDependency=createLayoutDependency(props,variants);const sharedStyleClassNames=[];const scopingClassNames=cx(serializationHash,...sharedStyleClassNames);return /*#__PURE__*/_jsx(LayoutGroup,{id:layoutId??defaultLayoutId,children:/*#__PURE__*/_jsx(Variants,{animate:variants,initial:false,children:/*#__PURE__*/_jsx(Transition,{value:transition1,children:/*#__PURE__*/_jsx(motion.div,{...restProps,...gestureHandlers,className:cx(scopingClassNames,\"framer-1579pjn\",className,classNames),\"data-framer-name\":\"Accent\",layoutDependency:layoutDependency,layoutId:\"iKTYcjnj2\",ref:refBinding,style:{backgroundColor:\"var(--token-7ba63833-0774-49e5-b998-5cc7697f100d)\",borderBottomLeftRadius:\"100%\",borderBottomRightRadius:\"100%\",borderTopLeftRadius:\"100%\",borderTopRightRadius:\"100%\",...style},variants:{ah_utZGUj:{backgroundColor:\"var(--token-578cfbd9-d9ac-44de-afb2-f8bffb8f65a4)\"},I4g40TWfF:{backgroundColor:\"var(--token-50278e2e-908f-4f0c-a7de-3c8faa33626a)\"},j7chMJYG7:{backgroundColor:\"var(--token-b083e4e3-3b83-4849-aaf5-b7e13ab4fa2d)\"},tE8lHOnOB:{backgroundColor:\"var(--token-7982a3a4-ebd0-441b-9de8-30db09592bf4)\"},wU8hvx7Ex:{backgroundColor:\"var(--token-9d87e2e6-b04c-4889-8b62-cf06d44ef804)\"}},...addPropertyOverrides({ah_utZGUj:{\"data-framer-name\":\"Warning\"},I4g40TWfF:{\"data-framer-name\":\"Neutral\"},j7chMJYG7:{\"data-framer-name\":\"Critical\"},tE8lHOnOB:{\"data-framer-name\":\"Success\"},wU8hvx7Ex:{\"data-framer-name\":\"Information\"}},baseVariant,gestureVariant)})})})});});const css=[\".framer-4n8Zo.framer-1p39hjl, .framer-4n8Zo .framer-1p39hjl { display: block; }\",\".framer-4n8Zo.framer-1579pjn { height: 6px; position: relative; width: 6px; }\"];/**\n * This is a generated Framer component.\n * @framerIntrinsicHeight 6\n * @framerIntrinsicWidth 6\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"fixed\",\"fixed\"]},\"tE8lHOnOB\":{\"layout\":[\"fixed\",\"fixed\"]},\"ah_utZGUj\":{\"layout\":[\"fixed\",\"fixed\"]},\"j7chMJYG7\":{\"layout\":[\"fixed\",\"fixed\"]},\"wU8hvx7Ex\":{\"layout\":[\"fixed\",\"fixed\"]},\"I4g40TWfF\":{\"layout\":[\"fixed\",\"fixed\"]}}}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerAutoSizeImages true\n * @framerComponentViewportWidth true\n * @framerColorSyntax true\n */const FramerIjaDwT_6l=withCSS(Component,css,\"framer-4n8Zo\");export default FramerIjaDwT_6l;FramerIjaDwT_6l.displayName=\"GallantOS / Status\";FramerIjaDwT_6l.defaultProps={height:6,width:6};addPropertyControls(FramerIjaDwT_6l,{variant:{options:[\"iKTYcjnj2\",\"tE8lHOnOB\",\"ah_utZGUj\",\"j7chMJYG7\",\"wU8hvx7Ex\",\"I4g40TWfF\"],optionTitles:[\"Accent\",\"Success\",\"Warning\",\"Critical\",\"Information\",\"Neutral\"],title:\"Variant\",type:ControlType.Enum}});addFonts(FramerIjaDwT_6l,[{explicitInter:true,fonts:[]}],{supportsExplicitInterCodegen:true});\nexport const __FramerMetadata__ = {\"exports\":{\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"reactComponent\",\"name\":\"FramerIjaDwT_6l\",\"slots\":[],\"annotations\":{\"framerIntrinsicWidth\":\"6\",\"framerAutoSizeImages\":\"true\",\"framerIntrinsicHeight\":\"6\",\"framerComponentViewportWidth\":\"true\",\"framerDisplayContentsDiv\":\"false\",\"framerImmutableVariables\":\"true\",\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]},\\\"tE8lHOnOB\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]},\\\"ah_utZGUj\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]},\\\"j7chMJYG7\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]},\\\"wU8hvx7Ex\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]},\\\"I4g40TWfF\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]}}}\",\"framerContractVersion\":\"1\",\"framerColorSyntax\":\"true\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./IjaDwT_6l.map","// Generated by Framer (4f63079)\nimport{fontStore}from\"framer\";fontStore.loadFonts([\"FS;JetBrains Mono-regular\",\"FS;JetBrains Mono-bold\",\"FS;JetBrains Mono-bold italic\",\"FS;JetBrains Mono-italic\"]);export const fonts=[{explicitInter:true,fonts:[{cssFamilyName:\"JetBrains Mono\",source:\"fontshare\",style:\"normal\",uiFamilyName:\"JetBrains Mono\",url:\"https://framerusercontent.com/third-party-assets/fontshare/wf/TZ2PMVPWEVHUPJWOPNSWLOXAF6QPOEMZ/O4OZKA7ZLZGT4JOGT5IEKURK6U3RXYGM/EO5MKE3BUDOZN44BP4HDPXAJAC2BIMCD.woff2\",weight:\"400\"},{cssFamilyName:\"JetBrains Mono\",source:\"fontshare\",style:\"normal\",uiFamilyName:\"JetBrains Mono\",url:\"https://framerusercontent.com/third-party-assets/fontshare/wf/BTOY6STFL42WXJYET4IAFJ4R4NWQMPYV/SIRJV64UEOICTYN5EECZFJJ3ML2D6HVV/ATU2C7QZBG7GCVXROP265OYM5E55WHMK.woff2\",weight:\"700\"},{cssFamilyName:\"JetBrains Mono\",source:\"fontshare\",style:\"italic\",uiFamilyName:\"JetBrains Mono\",url:\"https://framerusercontent.com/third-party-assets/fontshare/wf/4UER7KOM5ELODXZSILS67WJ47ZOE75JQ/6CQXJGOZP6EVG2LPOOVWXH2KM6JHNSRY/UTZ3OSIQCH2DNRJBPY7UY3LB6YDOZNJX.woff2\",weight:\"700\"},{cssFamilyName:\"JetBrains Mono\",source:\"fontshare\",style:\"italic\",uiFamilyName:\"JetBrains Mono\",url:\"https://framerusercontent.com/third-party-assets/fontshare/wf/4CLQH4JOZMAJ6BPWKUFRQYNRRCIRLEBP/3KY6UMEKQ554PCGWM3CWW3ONMSYQ3ELX/O32TDYA5Q7PAMBBEUNMO44BILZFPSQXN.woff2\",weight:\"400\"}]}];export const css=['.framer-HMEz3 .framer-styles-preset-1m2naki:not(.rich-text-wrapper), .framer-HMEz3 .framer-styles-preset-1m2naki.rich-text-wrapper p { --framer-font-family: \"JetBrains Mono\", \"JetBrains Mono Placeholder\", sans-serif; --framer-font-family-bold: \"JetBrains Mono\", \"JetBrains Mono Placeholder\", sans-serif; --framer-font-family-bold-italic: \"JetBrains Mono\", \"JetBrains Mono Placeholder\", sans-serif; --framer-font-family-italic: \"JetBrains Mono\", \"JetBrains Mono Placeholder\", sans-serif; --framer-font-open-type-features: \\'blwf\\' on, \\'cv03\\' on, \\'cv04\\' on, \\'cv09\\' on, \\'cv11\\' on; --framer-font-size: 9px; --framer-font-style: normal; --framer-font-style-bold: normal; --framer-font-style-bold-italic: italic; --framer-font-style-italic: italic; --framer-font-variation-axes: normal; --framer-font-weight: 400; --framer-font-weight-bold: 700; --framer-font-weight-bold-italic: 700; --framer-font-weight-italic: 400; --framer-letter-spacing: 0em; --framer-line-height: 1em; --framer-paragraph-spacing: 20px; --framer-text-alignment: start; --framer-text-color: rgba(255, 255, 255, 0.48); --framer-text-decoration: none; --framer-text-stroke-color: initial; --framer-text-stroke-width: initial; --framer-text-transform: none; }'];export const className=\"framer-HMEz3\";\nexport const __FramerMetadata__ = {\"exports\":{\"fonts\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"css\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"className\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import*as React from\"react\";import{addPropertyControls,ControlType,RenderTarget}from\"framer\";import{useGallantOSRuntime}from\"https://framerusercontent.com/modules/PsBE4OEX9S3AYAqeDPMQ/RXwumgbtsbQ82CmGY0w2/GallantOSAuth.js\";import{GOS_COLOR,GOS_FONT,GOS_TYPE}from\"https://framerusercontent.com/modules/qvlCGlYyTjMOd6yHMHSL/3dOkDggwhog3XRcFK0Ge/GallantOSDesignSystem.js\";/* -------------------------------------------------------------------------- *//* GREETING                                                                   *//* -------------------------------------------------------------------------- */function getFirstName(email){if(!email)return\"\";const localPart=email.split(\"@\")[0]||\"\";const firstPart=localPart.split(/[._-]/)[0]||\"\";if(!firstPart)return\"\";return firstPart.charAt(0).toUpperCase()+firstPart.slice(1).toLowerCase();}function hashString(value){let hash=0;for(let i=0;i<value.length;i++){hash=hash*31+value.charCodeAt(i)>>>0;}return hash;}function getEarlyGreeting(firstName,now){const name=firstName||\"there\";const greetings=[`Before the world wakes, ${name}.`,`The day can catch up, ${name}.`,`You’re early, ${name}.`,`Ahead of the day, ${name}.`,\"The day hasn’t started. You have.\"];/*\n     * Stable for the user's local calendar day.\n     * It does not change on every refresh.\n     */const dayKey=[now.getFullYear(),now.getMonth()+1,now.getDate(),name].join(\"-\");return greetings[hashString(dayKey)%greetings.length];}function getGreeting(firstName,now){const hour=now.getHours();const suffix=firstName?`, ${firstName}.`:\".\";if(hour>=5&&hour<12){return`Good morning${suffix}`;}if(hour>=12&&hour<17){return`Good afternoon${suffix}`;}if(hour>=17){return`Good evening${suffix}`;}return getEarlyGreeting(firstName,now);}/* -------------------------------------------------------------------------- *//* LUMEN RESONANCE FIELD                                                      *//* -------------------------------------------------------------------------- *//*\n * This is the Gallant homepage cymatic/halftone visual language adapted for\n * GallantOS. The homepage's scroll-driven visual moves through tune-in,\n * resonance, dissolve and trail phases. GallantOS uses the RESONANCE state:\n * the cymatic bands remain formed, counter-rotate, and breathe continuously.\n */const LUMEN_ACCENT=GOS_COLOR.accent;const LUMEN_INDIGO=GOS_COLOR.indigo;const LUMEN_WARM=GOS_COLOR.warm;const BANDS=[{r:.06,thickness:.028,n:0,sharpness:1,weight:1.3,phase:0},{r:.13,thickness:.032,n:18,sharpness:3.8,weight:.95,phase:0},{r:.21,thickness:.048,n:16,sharpness:3.2,weight:1,phase:0},{r:.31,thickness:.062,n:14,sharpness:2.7,weight:1,phase:0},{r:.42,thickness:.072,n:12,sharpness:2.2,weight:.95,phase:0},{r:.53,thickness:.082,n:10,sharpness:1.8,weight:.85,phase:0}];const FIELD_THRESHOLD=.18;function hash2(x,y){const s=Math.sin(x*127.1+y*311.7)*43758.5453;return s-Math.floor(s);}function valueNoise(x,y){const xi=Math.floor(x);const yi=Math.floor(y);const fx=x-xi;const fy=y-yi;const sx=fx*fx*(3-2*fx);const sy=fy*fy*(3-2*fy);const a=hash2(xi,yi);const b=hash2(xi+1,yi);const c=hash2(xi,yi+1);const d=hash2(xi+1,yi+1);const top=a+(b-a)*sx;const bottom=c+(d-c)*sx;return top+(bottom-top)*sy;}function LumenResonanceField({density}){const canvasRef=React.useRef(null);React.useEffect(()=>{const canvas=canvasRef.current;if(!canvas)return;const ctx=canvas.getContext(\"2d\",{alpha:true});if(!ctx)return;let width=0;let height=0;let dpr=1;let raf=0;let alive=true;let field=null;const reduceMotion=typeof window!==\"undefined\"&&typeof window.matchMedia===\"function\"&&window.matchMedia(\"(prefers-reduced-motion: reduce)\").matches;function build(){/*\n             * Deliberately larger and farther right than the marketing hero.\n             * The outer rings crop off-screen so Lumen behaves like an\n             * environment, not an icon placed in a box.\n             */const cx=width*.84;const cy=height*.46;const base=Math.min(width,height);const halfMin=base/2*.98;const particles=[];const accents=[LUMEN_ACCENT,LUMEN_INDIGO,LUMEN_WARM];let accentIndex=0;function particleColor(){/*\n                 * GallantOS is quieter than the public homepage:\n                 * overwhelmingly white particles with rare warm/indigo signal.\n                 */if(Math.random()<.045){const color=accents[accentIndex%accents.length];accentIndex++;return color;}return\"#F1EEE7\";}function evaluateField(x,y){const dx=x-cx;const dy=y-cy;const r=Math.hypot(dx,dy)/halfMin;const theta=Math.atan2(dy,dx);let amp=0;let bestBand=-1;let bestContribution=0;for(let index=0;index<BANDS.length;index++){const band=BANDS[index];const dr=(r-band.r)/band.thickness;const radial=Math.exp(-dr*dr);let angular=1;if(band.n>0){const cosine=Math.cos(band.n*theta+band.phase)*.5+.5;angular=Math.pow(cosine,band.sharpness);}const contribution=radial*angular*band.weight;amp+=contribution;if(contribution>bestContribution){bestContribution=contribution;bestBand=index;}}const noise=valueNoise(x*.05,y*.05);amp*=.55+.7*noise;amp=Math.max(0,Math.min(1,amp));if(amp<FIELD_THRESHOLD){amp=0;}else{amp=(amp-FIELD_THRESHOLD)/(1-FIELD_THRESHOLD);}return{amp,bandIndex:bestBand};}const sampleRadius=halfMin*.66;const target=Math.floor(9800*density);const maxAttempts=target*25;let attempts=0;while(particles.length<target&&attempts<maxAttempts){attempts++;const px=cx+(Math.random()-.5)*2*sampleRadius;const py=cy+(Math.random()-.5)*2*sampleRadius;if(px<0||px>=width||py<0||py>=height){continue;}const{amp,bandIndex}=evaluateField(px,py);if(bandIndex<0||amp<=0){continue;}if(Math.random()>Math.pow(amp,.7)){continue;}const dx=px-cx;const dy=py-cy;particles.push({hx:px,hy:py,ang:Math.atan2(dy,dx),hr:Math.hypot(dx,dy),alpha:.5+.42*amp,size:Math.random()<.075?2:1,color:particleColor(),group:\"shell\",bandIndex});}/*\n             * Sparse environmental starfield across the whole workspace.\n             * This is what makes the gate feel continuous rather than like\n             * a small orb component sitting on an empty black page.\n             */const starCount=Math.floor(420*density);let starsAdded=0;let starAttempts=0;while(starsAdded<starCount&&starAttempts<starCount*10){starAttempts++;const x=Math.random()*width;const y=Math.random()*height;const dr=Math.hypot(x-cx,y-cy);if(dr/halfMin<.62){continue;}particles.push({hx:x,hy:y,ang:0,hr:dr,alpha:.09+Math.random()*.24,size:1,color:Math.random()<.025?LUMEN_ACCENT:\"#F1EEE7\",group:\"star\",bandIndex:-1});starsAdded++;}field={particles,cx,cy,halfMin};}function resize(){const rect=canvas.getBoundingClientRect();width=Math.max(1,rect.width);height=Math.max(1,rect.height);dpr=Math.min(window.devicePixelRatio||1,2);canvas.width=Math.floor(width*dpr);canvas.height=Math.floor(height*dpr);ctx.setTransform(dpr,0,0,dpr,0,0);build();}resize();const resizeObserver=new ResizeObserver(resize);resizeObserver.observe(canvas);function drawFrame(timeSeconds){if(!field){return;}const{particles,cx,cy,halfMin}=field;ctx.fillStyle=\"#080807\";ctx.fillRect(0,0,width,height);ctx.globalCompositeOperation=\"lighter\";/*\n             * Homepage resonance language:\n             * neighboring cymatic bands counter-rotate.\n             * GallantOS slows the rates slightly so it feels ambient.\n             */const globalBreath=1+.006*Math.sin(timeSeconds*Math.PI*2/7);const sunBreath=.91+.09*Math.sin(timeSeconds*Math.PI*2/4);for(let index=0;index<particles.length;index++){const particle=particles[index];if(particle.group===\"star\"){ctx.fillStyle=particle.color;ctx.globalAlpha=particle.alpha;ctx.fillRect(Math.floor(particle.hx),Math.floor(particle.hy),1,1);continue;}const bandIndex=particle.bandIndex;const rotationSpeed=bandIndex%2===0?.032:-.038;const angle=particle.ang+timeSeconds*rotationSpeed;const radius=particle.hr*globalBreath;const x=cx+Math.cos(angle)*radius;const y=cy+Math.sin(angle)*radius;let alpha=particle.alpha;if(bandIndex===0){alpha*=sunBreath;}ctx.fillStyle=particle.color;ctx.globalAlpha=alpha;const ix=Math.floor(x);const iy=Math.floor(y);if(particle.size===1){ctx.fillRect(ix,iy,1,1);}else{ctx.fillRect(ix-1,iy-1,2,2);}}ctx.globalAlpha=1;ctx.globalCompositeOperation=\"source-over\";/*\n             * The homepage uses faint crosshair guides and a center flare.\n             * Keep both, but quieter inside the operating system.\n             */ctx.strokeStyle=\"rgba(241,238,231,0.035)\";ctx.lineWidth=1;ctx.beginPath();ctx.moveTo(0,Math.floor(cy)+.5);ctx.lineTo(width,Math.floor(cy)+.5);ctx.moveTo(Math.floor(cx)+.5,0);ctx.lineTo(Math.floor(cx)+.5,height);ctx.stroke();const sunDiameter=2*(BANDS[0].r+BANDS[0].thickness)*halfMin;const flareHalf=sunDiameter*.15;ctx.strokeStyle=\"rgba(241,238,231,0.22)\";ctx.beginPath();ctx.moveTo(cx-flareHalf,Math.floor(cy)+.5);ctx.lineTo(cx+flareHalf,Math.floor(cy)+.5);ctx.moveTo(Math.floor(cx)+.5,cy-flareHalf);ctx.lineTo(Math.floor(cx)+.5,cy+flareHalf);ctx.stroke();}function tick(){if(!alive){return;}drawFrame(performance.now()/1e3);if(!reduceMotion){raf=requestAnimationFrame(tick);}}tick();return()=>{alive=false;cancelAnimationFrame(raf);resizeObserver.disconnect();};},[density]);return /*#__PURE__*/_jsx(\"canvas\",{ref:canvasRef,\"aria-hidden\":\"true\",style:{position:\"absolute\",inset:0,width:\"100%\",height:\"100%\",display:\"block\",pointerEvents:\"none\"}});}/* -------------------------------------------------------------------------- *//* RESPONSIVE COMMAND SURFACE                                                 *//* -------------------------------------------------------------------------- */const GALLANTOS_COMMAND_RESPONSIVE_CSS=`\n    .gos-command-data {\n        container-type: inline-size;\n        container-name: gallantos-command-data;\n        min-width: 0;\n    }\n\n    .gos-command-greeting-text {\n        width: 100%;\n        min-width: 0;\n        max-width: 100%;\n        font-family: ${GOS_FONT.display};\n        font-size: ${GOS_TYPE.greeting};\n        font-weight: 400;\n        line-height: ${GOS_TYPE.lineTight};\n        letter-spacing: -0.025em;\n        color: ${GOS_COLOR.text};\n        white-space: normal;\n        overflow-wrap: normal;\n        text-wrap: balance;\n    }\n\n    .gos-command-gate-copy {\n        position: absolute;\n        left: clamp(20px, 5.8cqi, 92px);\n        top: 24%;\n        z-index: 2;\n        width: min(760px, 62cqi);\n        min-width: 0;\n    }\n\n    .gos-command-gate-title {\n        font-family: ${GOS_FONT.display};\n        font-size: clamp(36px, 5.2cqi, 56px);\n        font-weight: 400;\n        letter-spacing: -0.025em;\n        line-height: 1.02;\n        color: ${GOS_COLOR.text};\n        white-space: normal;\n        text-wrap: balance;\n    }\n\n    .gos-command-gate-subtitle {\n        margin-top: 15px;\n        font-family: ${GOS_FONT.sans};\n        font-size: clamp(11px, 1.5cqi, 12px);\n        line-height: 1.45;\n        letter-spacing: 0.012em;\n        color: ${GOS_COLOR.textMuted};\n    }\n\n    @container gallantos-command-data (max-width: 600px) {\n        .gos-command-gate-copy {\n            left: 20px;\n            right: 20px;\n            top: 18%;\n            width: auto;\n        }\n\n        .gos-command-gate-title {\n            font-size: clamp(34px, 10cqi, 44px);\n        }\n    }\n\n    @container gallantos-command-data (max-width: 420px) {\n        .gos-command-greeting-text {\n            font-size: clamp(30px, 9cqi, 36px);\n            line-height: 1.02;\n        }\n\n        .gos-command-gate-copy {\n            left: 18px;\n            right: 18px;\n        }\n    }\n`;/* -------------------------------------------------------------------------- *//* COMPONENT                                                                  *//* -------------------------------------------------------------------------- *//**\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight any-prefer-fixed\n * @framerIntrinsicWidth 1000\n * @framerIntrinsicHeight 700\n */export default function GallantOSCommandData(props){const runtime=useGallantOSRuntime();const isCanvas=RenderTarget.current()===RenderTarget.canvas;/*\n     * PASS-THROUGH HOST FIX\n     *\n     * Framer wraps every Code Component instance in its own generated container.\n     * When this component returns null (for example, the signed-out Gate after an\n     * authorized user enters GallantOS), that generated container still occupies\n     * the full Framer frame and can intercept pointer input above the Utility Bar.\n     *\n     * Keep a tiny sentinel mounted in every render path and explicitly make the\n     * generated Framer host container pointer-transparent. This preserves all\n     * GallantOSCommandData rendering/runtime behavior while allowing Search, Bell,\n     * Ask Lucian, navigation, and other controls underneath to receive input.\n     */const passThroughRef=React.useRef(null);React.useEffect(()=>{const node=passThroughRef.current;const host=node?.parentElement;if(!host)return;const previousPointerEvents=host.style.pointerEvents;host.style.pointerEvents=\"none\";return()=>{host.style.pointerEvents=previousPointerEvents;};},[]);const hiddenPassThroughSentinel=/*#__PURE__*/_jsx(\"div\",{ref:passThroughRef,\"aria-hidden\":\"true\",style:{position:\"absolute\",width:1,height:1,opacity:0,pointerEvents:\"none\"}});const[now,setNow]=React.useState(()=>new Date);React.useEffect(()=>{const timer=setInterval(()=>{setNow(new Date);},6e4);return()=>clearInterval(timer);},[]);const authenticated=runtime.authenticated;const firstName=getFirstName(runtime.user?.email);const mode=props?.mode??\"Gate\";/*\n     * SIGNED-OUT GATE\n     *\n     * Canvas:\n     *   Always visible so the entrance can be designed in Framer.\n     *\n     * Preview / Published:\n     *   Signed out / verifying -> entrance visible.\n     *   Authorized            -> entrance removed entirely.\n     */if(mode===\"Gate\"){if(authenticated&&!isCanvas){return hiddenPassThroughSentinel;}return /*#__PURE__*/_jsxs(\"div\",{ref:passThroughRef,className:\"gos-command-data gos-command-gate\",style:{width:\"100%\",height:\"100%\",minWidth:0,minHeight:0,position:\"relative\",overflow:\"hidden\",boxSizing:\"border-box\",background:GOS_COLOR.background,color:GOS_COLOR.text,fontFamily:GOS_FONT.sans,pointerEvents:\"none\"},children:[/*#__PURE__*/_jsx(\"style\",{children:GALLANTOS_COMMAND_RESPONSIVE_CSS}),/*#__PURE__*/_jsx(\"div\",{\"aria-hidden\":\"true\",style:{position:\"absolute\",width:\"min(760px, 58cqi)\",aspectRatio:\"1 / 1\",right:\"-10%\",top:\"12%\",borderRadius:\"50%\",pointerEvents:\"none\",background:\"radial-gradient(circle at center, rgba(185,154,85,0.045) 0%, rgba(185,154,85,0.018) 24%, rgba(241,238,231,0.012) 42%, rgba(8,8,7,0) 70%)\",boxShadow:\"0 0 140px rgba(185,154,85,0.028)\"}}),/*#__PURE__*/_jsx(LumenResonanceField,{density:isCanvas?.66:.94}),/*#__PURE__*/_jsx(\"div\",{\"aria-hidden\":\"true\",style:{position:\"absolute\",inset:0,pointerEvents:\"none\",background:\"radial-gradient(circle at 88% 44%, rgba(185,154,85,0.025) 0%, rgba(8,8,7,0) 26%, rgba(8,8,7,0.10) 44%, rgba(8,8,7,0.48) 72%, rgba(8,8,7,0.78) 100%)\"}}),/*#__PURE__*/_jsx(\"div\",{\"aria-hidden\":\"true\",style:{position:\"absolute\",inset:0,pointerEvents:\"none\",background:\"linear-gradient(90deg, rgba(8,8,7,0.99) 0%, rgba(8,8,7,0.88) 25%, rgba(8,8,7,0.40) 48%, rgba(8,8,7,0.06) 70%, rgba(8,8,7,0) 100%)\"}}),/*#__PURE__*/_jsxs(\"div\",{className:\"gos-command-gate-copy\",children:[/*#__PURE__*/_jsx(\"div\",{className:\"gos-command-gate-title\",children:\"Welcome to GallantOS.\"}),/*#__PURE__*/_jsx(\"div\",{className:\"gos-command-gate-subtitle\",children:\"Powered by Lumen. Guided by Lucian.\"})]})]});}/*\n     * DYNAMIC AUTHENTICATED GREETING\n     */if(!authenticated&&!isCanvas){return hiddenPassThroughSentinel;}const greeting=isCanvas?\"Good morning, James.\":getGreeting(firstName,now);return /*#__PURE__*/_jsxs(\"div\",{ref:passThroughRef,className:\"gos-command-data\",style:{width:\"100%\",height:\"100%\",minWidth:0,boxSizing:\"border-box\",display:\"flex\",alignItems:\"center\",pointerEvents:\"none\"},children:[/*#__PURE__*/_jsx(\"style\",{children:GALLANTOS_COMMAND_RESPONSIVE_CSS}),/*#__PURE__*/_jsx(\"div\",{className:\"gos-command-greeting-text\",children:greeting})]});}GallantOSCommandData.defaultProps={mode:\"Gate\"};addPropertyControls(GallantOSCommandData,{mode:{type:ControlType.Enum,title:\"Mode\",options:[\"Gate\",\"Greeting\"],optionTitles:[\"Signed-Out Gate\",\"Dynamic Greeting\"],defaultValue:\"Gate\"}});/* -------------------------------------------------------------------------- *//* EXECUTIVE HEARTBEAT METRIC OVERRIDES                                       *//* -------------------------------------------------------------------------- */function heartbeatDisplay(runtime,key){if(!runtime.authenticated)return\"—\";const metric=runtime.command?.heartbeat?.[key];if(!metric)return\"—\";if(typeof metric.display===\"string\"&&metric.display.trim()){return metric.display;}if(typeof metric.value===\"string\"||typeof metric.value===\"number\"){return String(metric.value);}return\"—\";}/*\n * IMPORTANT:\n * Framer visual-component variables are exposed to Overrides as camelCase props.\n *\n * \"Label\"  -> props.label\n * \"Value\"  -> props.value\n * \"Detail\" -> props.detail\n *\n * Overrides also use forwardRef per Framer's current React 18 guidance.\n */export function CashPositionMetric(Component){return /*#__PURE__*/React.forwardRef((props,ref)=>{const runtime=useGallantOSRuntime();return /*#__PURE__*/_jsx(Component,{...props,ref:ref,label:\"CASH POSITION\",value:heartbeatDisplay(runtime,\"cashPosition\"),detail:\"\\xa0\"});});}export function YTDActualRevenueMetric(Component){return /*#__PURE__*/React.forwardRef((props,ref)=>{const runtime=useGallantOSRuntime();return /*#__PURE__*/_jsx(Component,{...props,ref:ref,label:\"YTD ACTUAL REVENUE\",value:heartbeatDisplay(runtime,\"ytdActualRevenue\"),detail:\"\\xa0\"});});}export function CurrentYearForecastMetric(Component){return /*#__PURE__*/React.forwardRef((props,ref)=>{const runtime=useGallantOSRuntime();const forecastVsGoal=heartbeatDisplay(runtime,\"forecastVsGoal\");return /*#__PURE__*/_jsx(Component,{...props,ref:ref,label:\"CURRENT-YEAR FORECAST\",value:heartbeatDisplay(runtime,\"currentYearForecast\"),detail:`FORECAST VS GOAL ${forecastVsGoal}`});});}export function CommittedUtilizationMetric(Component){return /*#__PURE__*/React.forwardRef((props,ref)=>{const runtime=useGallantOSRuntime();const potentialUtilization=heartbeatDisplay(runtime,\"potentialUtilization\");return /*#__PURE__*/_jsx(Component,{...props,ref:ref,label:\"COMMITTED UTILIZATION\",value:heartbeatDisplay(runtime,\"committedUtilization\"),detail:`POTENTIAL UTILIZATION ${potentialUtilization}`});});}/* -------------------------------------------------------------------------- *//* ATTENTION ROW OVERRIDES                                                    *//* -------------------------------------------------------------------------- */function getAttentionItem(runtime,index){if(!runtime.authenticated)return null;const items=runtime.command?.attention;if(!Array.isArray(items))return null;return items[index]||null;}function attentionVariant(severity){const normalized=String(severity||\"\").toLowerCase();if(normalized===\"critical\")return\"Critical\";if(normalized===\"warning\")return\"Warning\";return\"Neutral\";}function attentionMeta(severity){const normalized=String(severity||\"\").toLowerCase();if(normalized===\"critical\")return\"ACT NOW\";if(normalized===\"warning\")return\"REVIEW\";return\"CHECK\";}function renderAttentionComponent(Component,props,ref,runtime,index){const item=getAttentionItem(runtime,index);if(!item){return /*#__PURE__*/_jsx(Component,{...props,ref:ref,title:\"\",area:\"\",meta:\"\",style:{...props.style,opacity:0,pointerEvents:\"none\"}});}return /*#__PURE__*/_jsx(Component,{...props,ref:ref,variant:attentionVariant(item.severity),title:item.title||\"Attention required\",area:item.domain||\"System\",meta:attentionMeta(item.severity)});}export function AttentionItem01(Component){return /*#__PURE__*/React.forwardRef((props,ref)=>{const runtime=useGallantOSRuntime();return renderAttentionComponent(Component,props,ref,runtime,0);});}export function AttentionItem02(Component){return /*#__PURE__*/React.forwardRef((props,ref)=>{const runtime=useGallantOSRuntime();return renderAttentionComponent(Component,props,ref,runtime,1);});}export function AttentionItem03(Component){return /*#__PURE__*/React.forwardRef((props,ref)=>{const runtime=useGallantOSRuntime();return renderAttentionComponent(Component,props,ref,runtime,2);});}export function AttentionItem04(Component){return /*#__PURE__*/React.forwardRef((props,ref)=>{const runtime=useGallantOSRuntime();return renderAttentionComponent(Component,props,ref,runtime,3);});}function insightMoneyShort(value){const absolute=Math.abs(value);if(absolute>=1e6){const millions=value/1e6;return`$${millions.toFixed(millions>=10?0:1)}M`;}if(absolute>=1e3){return`$${Math.round(value/1e3)}K`;}return`$${Math.round(value)}`;}function insightNiceMax(value){if(!Number.isFinite(value)||value<=0)return 1e5;const target=value*1.12;if(target<=1e5){return Math.ceil(target/25e3)*25e3;}if(target<=5e5){return Math.ceil(target/5e4)*5e4;}if(target<=1e6){return Math.ceil(target/1e5)*1e5;}return Math.ceil(target/5e5)*5e5;}function insightPath(values,xFor,yFor){let path=\"\";let drawing=false;values.forEach((value,index)=>{if(typeof value!==\"number\"||!Number.isFinite(value)){drawing=false;return;}const command=drawing?\"L\":\"M\";path+=`${command}${xFor(index).toFixed(2)},${yFor(value).toFixed(2)} `;drawing=true;});return path.trim();}function LiveFinancialInsightChart({series}){const width=600;const height=205;const padding={top:14,right:18,bottom:30,left:46};const plotWidth=width-padding.left-padding.right;const plotHeight=height-padding.top-padding.bottom;const safeSeries=Array.isArray(series)?series.slice(0,12):[];const actualValues=safeSeries.map(item=>typeof item.actualRevenue===\"number\"?item.actualRevenue:null);const forecastValues=safeSeries.map(item=>typeof item.forecastRevenue===\"number\"?item.forecastRevenue:null);const requiredValues=safeSeries.map(item=>typeof item.requiredPace===\"number\"?item.requiredPace:null);const numericValues=[...actualValues,...forecastValues,...requiredValues].filter(value=>typeof value===\"number\");const yMax=insightNiceMax(Math.max(...numericValues,0));const count=Math.max(safeSeries.length,2);const xFor=index=>padding.left+index/(count-1)*plotWidth;const yFor=value=>padding.top+plotHeight-value/yMax*plotHeight;const actualPath=insightPath(actualValues,xFor,yFor);const forecastPath=insightPath(forecastValues,xFor,yFor);const requiredPath=insightPath(requiredValues,xFor,yFor);let latestActualIndex=-1;actualValues.forEach((value,index)=>{if(typeof value===\"number\")latestActualIndex=index;});const latestActual=latestActualIndex>=0?actualValues[latestActualIndex]:null;const monthLabels=[{index:0,label:\"JAN\"},{index:3,label:\"APR\"},{index:6,label:\"JUL\"},{index:9,label:\"OCT\"},{index:11,label:\"DEC\"}].filter(item=>item.index<safeSeries.length);const gridValues=[yMax,yMax/2,0];return /*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",inset:0,width:\"100%\",height:\"100%\",overflow:\"hidden\",pointerEvents:\"none\"},children:/*#__PURE__*/_jsxs(\"svg\",{viewBox:`0 0 ${width} ${height}`,width:\"100%\",height:\"100%\",preserveAspectRatio:\"none\",role:\"img\",\"aria-label\":\"Live actual revenue, forecast revenue, and required pace\",style:{display:\"block\",width:\"100%\",height:\"100%\"},children:[gridValues.map((value,index)=>{const y=yFor(value);return /*#__PURE__*/_jsxs(\"g\",{children:[/*#__PURE__*/_jsx(\"line\",{x1:padding.left,x2:width-padding.right,y1:y,y2:y,stroke:\"rgba(241,238,231,0.075)\",strokeWidth:\"1\"}),/*#__PURE__*/_jsx(\"text\",{x:4,y:y+3,fill:\"rgba(241,238,231,0.30)\",fontFamily:\"JetBrains Mono, monospace\",fontSize:\"7\",children:insightMoneyShort(value)})]},`grid-${index}`);}),latestActualIndex>=0&&/*#__PURE__*/_jsx(\"line\",{x1:xFor(latestActualIndex),x2:xFor(latestActualIndex),y1:padding.top,y2:height-padding.bottom,stroke:\"rgba(185,154,85,0.20)\",strokeWidth:\"1\"}),requiredPath&&/*#__PURE__*/_jsx(\"path\",{d:requiredPath,fill:\"none\",stroke:\"rgba(185,154,85,0.42)\",strokeWidth:\"1\",strokeDasharray:\"4 4\",vectorEffect:\"non-scaling-stroke\"}),forecastPath&&/*#__PURE__*/_jsx(\"path\",{d:forecastPath,fill:\"none\",stroke:\"rgba(241,238,231,0.48)\",strokeWidth:\"1.25\",vectorEffect:\"non-scaling-stroke\"}),actualPath&&/*#__PURE__*/_jsx(\"path\",{d:actualPath,fill:\"none\",stroke:\"#B99A55\",strokeWidth:\"2\",strokeLinecap:\"round\",strokeLinejoin:\"round\",vectorEffect:\"non-scaling-stroke\"}),latestActualIndex>=0&&typeof latestActual===\"number\"&&/*#__PURE__*/_jsxs(\"g\",{children:[/*#__PURE__*/_jsx(\"circle\",{cx:xFor(latestActualIndex),cy:yFor(latestActual),r:\"6\",fill:\"rgba(185,154,85,0.14)\",stroke:\"rgba(185,154,85,0.34)\",strokeWidth:\"1\",vectorEffect:\"non-scaling-stroke\"}),/*#__PURE__*/_jsx(\"circle\",{cx:xFor(latestActualIndex),cy:yFor(latestActual),r:\"2.4\",fill:\"#B99A55\"})]}),monthLabels.map(item=>/*#__PURE__*/_jsx(\"text\",{x:xFor(item.index),y:height-8,textAnchor:\"middle\",fill:\"rgba(241,238,231,0.28)\",fontFamily:\"JetBrains Mono, monospace\",fontSize:\"7\",children:item.label},item.label))]})});}/*\n * Apply this Override directly to the native\n * \"Financial Trajectory Plot\" frame inside the Financials Insight variant.\n *\n * In the Framer canvas we preserve the existing placeholder artwork so the\n * component remains easy to edit. In Preview / Published, an authorized user\n * sees the live chart from command.insight.financials.series.\n */export function FinancialInsightPlot(Component){return /*#__PURE__*/React.forwardRef((props,ref)=>{const runtime=useGallantOSRuntime();const isCanvas=RenderTarget.current()===RenderTarget.canvas;const series=runtime.command?.insight?.financials?.series;const shouldRenderLive=!isCanvas&&runtime.authenticated&&Array.isArray(series)&&series.length>0;return /*#__PURE__*/_jsx(Component,{...props,ref:ref,style:{...props.style,position:props.style?.position||\"relative\"},children:shouldRenderLive?/*#__PURE__*/_jsx(LiveFinancialInsightChart,{series:series}):props.children});});}function currentMonthIndexForSeries(series){const now=new Date;const month=now.getMonth();const year=now.getFullYear();const monthNames=[\"Jan\",\"Feb\",\"Mar\",\"Apr\",\"May\",\"Jun\",\"Jul\",\"Aug\",\"Sep\",\"Oct\",\"Nov\",\"Dec\"];const targetPrefix=`${monthNames[month]} ${year}`;const found=series.findIndex(item=>String(item.period||\"\").startsWith(targetPrefix));return found>=0?found:Math.min(month,Math.max(series.length-1,0));}function LiveClientsWorkInsightChart({series}){const width=600;const height=205;const padding={top:14,right:18,bottom:30,left:46};const plotWidth=width-padding.left-padding.right;const plotHeight=height-padding.top-padding.bottom;const safeSeries=Array.isArray(series)?series.slice(0,12):[];const committedValues=safeSeries.map(item=>typeof item.committedWork===\"number\"?item.committedWork:null);const pipelineValues=safeSeries.map(item=>typeof item.weightedPipeline===\"number\"?item.weightedPipeline:null);const outlookValues=safeSeries.map(item=>typeof item.forwardOutlook===\"number\"?item.forwardOutlook:null);const numericValues=[...committedValues,...pipelineValues,...outlookValues].filter(value=>typeof value===\"number\");const yMax=insightNiceMax(Math.max(...numericValues,0));const count=Math.max(safeSeries.length,2);const xFor=index=>padding.left+index/(count-1)*plotWidth;const yFor=value=>padding.top+plotHeight-value/yMax*plotHeight;const committedPath=insightPath(committedValues,xFor,yFor);const pipelinePath=insightPath(pipelineValues,xFor,yFor);const outlookPath=insightPath(outlookValues,xFor,yFor);const currentIndex=currentMonthIndexForSeries(safeSeries);const currentOutlook=outlookValues[currentIndex];const monthLabels=[{index:0,label:\"JAN\"},{index:3,label:\"APR\"},{index:6,label:\"JUL\"},{index:9,label:\"OCT\"},{index:11,label:\"DEC\"}].filter(item=>item.index<safeSeries.length);const gridValues=[yMax,yMax/2,0];return /*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",inset:0,width:\"100%\",height:\"100%\",overflow:\"hidden\",pointerEvents:\"none\"},children:/*#__PURE__*/_jsxs(\"svg\",{viewBox:`0 0 ${width} ${height}`,width:\"100%\",height:\"100%\",preserveAspectRatio:\"none\",role:\"img\",\"aria-label\":\"Live committed work, weighted pipeline, and forward outlook\",style:{display:\"block\",width:\"100%\",height:\"100%\"},children:[gridValues.map((value,index)=>{const y=yFor(value);return /*#__PURE__*/_jsxs(\"g\",{children:[/*#__PURE__*/_jsx(\"line\",{x1:padding.left,x2:width-padding.right,y1:y,y2:y,stroke:\"rgba(241,238,231,0.075)\",strokeWidth:\"1\"}),/*#__PURE__*/_jsx(\"text\",{x:4,y:y+3,fill:\"rgba(241,238,231,0.30)\",fontFamily:\"JetBrains Mono, monospace\",fontSize:\"7\",children:insightMoneyShort(value)})]},`cw-grid-${index}`);}),safeSeries.length>0&&/*#__PURE__*/_jsx(\"line\",{x1:xFor(currentIndex),x2:xFor(currentIndex),y1:padding.top,y2:height-padding.bottom,stroke:\"rgba(185,154,85,0.20)\",strokeWidth:\"1\"}),outlookPath&&/*#__PURE__*/_jsx(\"path\",{d:outlookPath,fill:\"none\",stroke:\"rgba(185,154,85,0.42)\",strokeWidth:\"1\",strokeDasharray:\"4 4\",vectorEffect:\"non-scaling-stroke\"}),pipelinePath&&/*#__PURE__*/_jsx(\"path\",{d:pipelinePath,fill:\"none\",stroke:\"rgba(241,238,231,0.48)\",strokeWidth:\"1.25\",strokeLinecap:\"round\",strokeLinejoin:\"round\",vectorEffect:\"non-scaling-stroke\"}),committedPath&&/*#__PURE__*/_jsx(\"path\",{d:committedPath,fill:\"none\",stroke:\"#B99A55\",strokeWidth:\"2\",strokeLinecap:\"round\",strokeLinejoin:\"round\",vectorEffect:\"non-scaling-stroke\"}),typeof currentOutlook===\"number\"&&/*#__PURE__*/_jsxs(\"g\",{children:[/*#__PURE__*/_jsx(\"circle\",{cx:xFor(currentIndex),cy:yFor(currentOutlook),r:\"6\",fill:\"rgba(185,154,85,0.14)\",stroke:\"rgba(185,154,85,0.34)\",strokeWidth:\"1\",vectorEffect:\"non-scaling-stroke\"}),/*#__PURE__*/_jsx(\"circle\",{cx:xFor(currentIndex),cy:yFor(currentOutlook),r:\"2.4\",fill:\"#B99A55\"})]}),monthLabels.map(item=>/*#__PURE__*/_jsx(\"text\",{x:xFor(item.index),y:height-8,textAnchor:\"middle\",fill:\"rgba(241,238,231,0.28)\",fontFamily:\"JetBrains Mono, monospace\",fontSize:\"7\",children:item.label},item.label))]})});}export function ClientsWorkInsightPlot(Component){return /*#__PURE__*/React.forwardRef((props,ref)=>{const runtime=useGallantOSRuntime();const isCanvas=RenderTarget.current()===RenderTarget.canvas;const series=runtime.command?.insight?.clientsWork?.series;const shouldRenderLive=!isCanvas&&runtime.authenticated&&Array.isArray(series)&&series.length>0;return /*#__PURE__*/_jsx(Component,{...props,ref:ref,style:{...props.style,position:props.style?.position||\"relative\"},children:shouldRenderLive?/*#__PURE__*/_jsx(LiveClientsWorkInsightChart,{series:series}):props.children});});}function insightPercent(value){return`${Math.round(value*100)}%`;}function LivePeoplePayrollInsightChart({series,capacityReference}){const width=600;const height=205;const padding={top:14,right:18,bottom:30,left:46};const plotWidth=width-padding.left-padding.right;const plotHeight=height-padding.top-padding.bottom;const safeSeries=Array.isArray(series)?series.slice(0,12):[];const committedValues=safeSeries.map(item=>typeof item.committedUtilization===\"number\"?item.committedUtilization:null);const potentialValues=safeSeries.map(item=>typeof item.potentialUtilization===\"number\"?item.potentialUtilization:null);const reference=typeof capacityReference===\"number\"&&Number.isFinite(capacityReference)?capacityReference:1;const yMax=Math.max(1.1,reference*1.08);const count=Math.max(safeSeries.length,2);const xFor=index=>padding.left+index/(count-1)*plotWidth;const yFor=value=>padding.top+plotHeight-value/yMax*plotHeight;const committedPath=insightPath(committedValues,xFor,yFor);const potentialPath=insightPath(potentialValues,xFor,yFor);const currentIndex=currentMonthIndexForSeries(safeSeries);const currentPotential=potentialValues[currentIndex];const monthLabels=[{index:0,label:\"JAN\"},{index:3,label:\"APR\"},{index:6,label:\"JUL\"},{index:9,label:\"OCT\"},{index:11,label:\"DEC\"}].filter(item=>item.index<safeSeries.length);const gridValues=[reference,reference/2,0];return /*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",inset:0,width:\"100%\",height:\"100%\",overflow:\"hidden\",pointerEvents:\"none\"},children:/*#__PURE__*/_jsxs(\"svg\",{viewBox:`0 0 ${width} ${height}`,width:\"100%\",height:\"100%\",preserveAspectRatio:\"none\",role:\"img\",\"aria-label\":\"Live committed utilization, potential utilization, and capacity reference\",style:{display:\"block\",width:\"100%\",height:\"100%\"},children:[gridValues.map((value,index)=>{const y=yFor(value);return /*#__PURE__*/_jsxs(\"g\",{children:[/*#__PURE__*/_jsx(\"line\",{x1:padding.left,x2:width-padding.right,y1:y,y2:y,stroke:\"rgba(241,238,231,0.075)\",strokeWidth:\"1\"}),/*#__PURE__*/_jsx(\"text\",{x:4,y:y+3,fill:\"rgba(241,238,231,0.30)\",fontFamily:\"JetBrains Mono, monospace\",fontSize:\"7\",children:insightPercent(value)})]},`pp-grid-${index}`);}),/*#__PURE__*/_jsx(\"line\",{x1:padding.left,x2:width-padding.right,y1:yFor(reference),y2:yFor(reference),stroke:\"rgba(185,154,85,0.42)\",strokeWidth:\"1\",strokeDasharray:\"4 4\"}),safeSeries.length>0&&/*#__PURE__*/_jsx(\"line\",{x1:xFor(currentIndex),x2:xFor(currentIndex),y1:padding.top,y2:height-padding.bottom,stroke:\"rgba(185,154,85,0.20)\",strokeWidth:\"1\"}),potentialPath&&/*#__PURE__*/_jsx(\"path\",{d:potentialPath,fill:\"none\",stroke:\"rgba(241,238,231,0.48)\",strokeWidth:\"1.25\",strokeLinecap:\"round\",strokeLinejoin:\"round\",vectorEffect:\"non-scaling-stroke\"}),committedPath&&/*#__PURE__*/_jsx(\"path\",{d:committedPath,fill:\"none\",stroke:\"#B99A55\",strokeWidth:\"2\",strokeLinecap:\"round\",strokeLinejoin:\"round\",vectorEffect:\"non-scaling-stroke\"}),typeof currentPotential===\"number\"&&/*#__PURE__*/_jsxs(\"g\",{children:[/*#__PURE__*/_jsx(\"circle\",{cx:xFor(currentIndex),cy:yFor(currentPotential),r:\"6\",fill:\"rgba(185,154,85,0.14)\",stroke:\"rgba(185,154,85,0.34)\",strokeWidth:\"1\",vectorEffect:\"non-scaling-stroke\"}),/*#__PURE__*/_jsx(\"circle\",{cx:xFor(currentIndex),cy:yFor(currentPotential),r:\"2.4\",fill:\"#B99A55\"})]}),monthLabels.map(item=>/*#__PURE__*/_jsx(\"text\",{x:xFor(item.index),y:height-8,textAnchor:\"middle\",fill:\"rgba(241,238,231,0.28)\",fontFamily:\"JetBrains Mono, monospace\",fontSize:\"7\",children:item.label},item.label))]})});}export function PeoplePayrollInsightPlot(Component){return /*#__PURE__*/React.forwardRef((props,ref)=>{const runtime=useGallantOSRuntime();const isCanvas=RenderTarget.current()===RenderTarget.canvas;const insight=runtime.command?.insight?.peoplePayroll;const series=insight?.series;const capacityReference=insight?.capacityReference;const shouldRenderLive=!isCanvas&&runtime.authenticated&&Array.isArray(series)&&series.length>0;return /*#__PURE__*/_jsx(Component,{...props,ref:ref,style:{...props.style,position:props.style?.position||\"relative\"},children:shouldRenderLive?/*#__PURE__*/_jsx(LivePeoplePayrollInsightChart,{series:series,capacityReference:capacityReference}):props.children});});}\nexport const __FramerMetadata__ = {\"exports\":{\"FinancialInsightPlot\":{\"type\":\"reactHoc\",\"name\":\"FinancialInsightPlot\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"reactComponent\",\"name\":\"GallantOSCommandData\",\"slots\":[],\"annotations\":{\"framerIntrinsicHeight\":\"700\",\"framerSupportedLayoutHeight\":\"any-prefer-fixed\",\"framerIntrinsicWidth\":\"1000\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"any-prefer-fixed\"}},\"AttentionItem03\":{\"type\":\"reactHoc\",\"name\":\"AttentionItem03\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"ClientsWorkInsightPlot\":{\"type\":\"reactHoc\",\"name\":\"ClientsWorkInsightPlot\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"CommittedUtilizationMetric\":{\"type\":\"reactHoc\",\"name\":\"CommittedUtilizationMetric\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"YTDActualRevenueMetric\":{\"type\":\"reactHoc\",\"name\":\"YTDActualRevenueMetric\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"AttentionItem04\":{\"type\":\"reactHoc\",\"name\":\"AttentionItem04\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"AttentionItem02\":{\"type\":\"reactHoc\",\"name\":\"AttentionItem02\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"AttentionItem01\":{\"type\":\"reactHoc\",\"name\":\"AttentionItem01\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"CurrentYearForecastMetric\":{\"type\":\"reactHoc\",\"name\":\"CurrentYearForecastMetric\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"PeoplePayrollInsightPlot\":{\"type\":\"reactHoc\",\"name\":\"PeoplePayrollInsightPlot\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"CashPositionMetric\":{\"type\":\"reactHoc\",\"name\":\"CashPositionMetric\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}"],"mappings":"scAComB,SAAS,GAAqB,EAAU,GAAG,EAAS,CAAC,IAAM,EAAc,CAAC,EAAuF,OAArF,GAAU,QAAQ,GAAS,GAAS,OAAO,OAAO,EAAc,EAAU,EAAQ,CAAC,EAAS,CAAc,sCAAhvB,IAA2H,IAAkE,IAA4B,EAAiC,EAAW,CAAC,YAAY,YAAY,YAAY,YAAY,YAAY,WAAW,EAAQ,EAAkB,eAAqB,EAAkB,CAAC,UAAU,kBAAkB,UAAU,mBAAmB,UAAU,mBAAmB,UAAU,mBAAmB,UAAU,iBAAiB,UAAU,iBAAiB,EAA+L,EAAY,CAAC,OAAO,GAAG,MAAM,EAAE,SAAS,GAAG,KAAK,QAAQ,EAAQ,GAAY,CAAC,QAAM,cAAY,CAAC,IAAM,EAAOA,EAAiB,CAAmB,EAAQ,EAAW,GAAO,EAAO,WAAiB,EAAaC,OAAmB,CAAC,GAAG,EAAO,YAAU,GAAG,CAAC,KAAK,UAAU,CAAU,CAAC,CAAC,EAAE,OAAoB,EAAK,EAAoB,SAAS,CAAC,MAAM,EAAsB,UAAQ,CAAC,CAAE,EAAQ,EAAwB,CAAC,OAAO,YAAY,SAAS,YAAY,YAAY,YAAY,QAAQ,YAAY,QAAQ,YAAY,Q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