{"version":3,"file":"Grid_Injection.B488BOPi.mjs","names":["Phosphor","React.useContext","React.useMemo","React.Fragment","useRef","React.useId","useRef","p","__legacyOverrideHOC_DataObserverContext","_jsx"],"sources":["https:/framerusercontent.com/modules/rUqOBJXmD4MaQYLBZhsV/EBsijFX7FjpvkfYHnUlY/lGQcTluZR.js","https:/framerusercontent.com/modules/aWb1uaaNtdtQZym85E2n/XxsK3Mpzi6fXlylJueYo/Grid_Injection.js"],"sourcesContent":["// Generated by Framer (5940525)\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{addFonts,addPropertyControls,ComponentViewportProvider,ControlType,cx,getFonts,getPropertyControls,SmartComponentScopedContainer,useActiveVariantCallback,useComponentViewport,useLocaleInfo,useVariantState,withCSS}from\"framer\";import{LayoutGroup,motion,MotionConfigContext}from\"framer-motion\";import*as React from\"react\";import{useRef}from\"react\";import{Icon as Phosphor}from\"https://framerusercontent.com/modules/tYScH7LTqUtz5KUaUAYP/p8dptk4UIND8hbFWz9V7/Phosphor.js\";const PhosphorFonts=getFonts(Phosphor);const PhosphorControls=getPropertyControls(Phosphor);const serializationHash=\"framer-9ZUJY\";const variantClassNames={bn6CCTekL:\"framer-v-1mxm3rg\"};function addPropertyOverrides(overrides,...variants){const nextOverrides={};variants?.forEach(variant=>variant&&Object.assign(nextOverrides,overrides[variant]));return nextOverrides;}const l_IHv3Dko=undefined;const qzzC1FMx4=undefined;const zz7IYQFsT=undefined;const numberToPixelString=value=>{if(typeof value!==\"number\")return value;if(!Number.isFinite(value))return undefined;return Math.max(0,value)+\"px\";};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 Variants=motion.create(React.Fragment);const getProps=({click,height,id,name1,padding,width,...props})=>{return{...props,l_IHv3Dko:padding??props.l_IHv3Dko??\"13px 29px 13px 29px\",qzzC1FMx4:click??props.qzzC1FMx4,zz7IYQFsT:name1??props.zz7IYQFsT??\"CaretRight\"};};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,zz7IYQFsT,qzzC1FMx4,l_IHv3Dko,...restProps}=getProps(props);const{baseVariant,classNames,clearLoadingGesture,gestureHandlers,gestureVariant,isLoading,setGestureState,setVariant,variants}=useVariantState({defaultVariant:\"bn6CCTekL\",ref:refBinding,variant,variantClassNames});const layoutDependency=createLayoutDependency(props,variants);const{activeVariantCallback,delay}=useActiveVariantCallback(baseVariant);const onTap1f9t4qk=activeVariantCallback(async(...args)=>{setGestureState({isPressed:false});if(qzzC1FMx4){const res=await qzzC1FMx4(...args);if(res===false)return false;}});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-1mxm3rg\",className,classNames),\"data-border\":true,\"data-framer-name\":\"Default\",\"data-highlight\":true,layoutDependency:layoutDependency,layoutId:\"bn6CCTekL\",onTap:onTap1f9t4qk,ref:refBinding,style:{\"--border-bottom-width\":\"1px\",\"--border-color\":\"var(--token-b52ef8b3-7e8f-4a36-ac45-32a6a37f175e, rgb(230, 230, 230))\",\"--border-left-width\":\"1px\",\"--border-right-width\":\"1px\",\"--border-style\":\"solid\",\"--border-top-width\":\"1px\",\"--ez2m1l\":numberToPixelString(l_IHv3Dko),borderBottomLeftRadius:999,borderBottomRightRadius:999,borderTopLeftRadius:999,borderTopRightRadius:999,...style},children:/*#__PURE__*/_jsx(ComponentViewportProvider,{children:/*#__PURE__*/_jsx(SmartComponentScopedContainer,{className:\"framer-1rzvrfp-container\",\"data-framer-name\":\"Icon\",isAuthoredByUser:true,isModuleExternal:true,layoutDependency:layoutDependency,layoutId:\"h1KB4fHiw-container\",name:\"Icon\",nodeId:\"h1KB4fHiw\",rendersWithMotion:true,scopeId:\"lGQcTluZR\",children:/*#__PURE__*/_jsx(Phosphor,{color:\"var(--token-5e660a36-3cdd-45f5-9e01-9c137f30ecb7, rgb(2, 2, 2))\",height:\"100%\",iconSearch:\"House\",iconSelection:zz7IYQFsT,id:\"h1KB4fHiw\",layoutId:\"h1KB4fHiw\",mirrored:false,name:\"Icon\",selectByList:true,style:{height:\"100%\",width:\"100%\"},weight:\"light\",width:\"100%\"})})})})})})});});const css=[\"@supports (aspect-ratio: 1) { body { --framer-aspect-ratio-supported: auto; } }\",\".framer-9ZUJY.framer-1inff68, .framer-9ZUJY .framer-1inff68 { display: block; }\",\".framer-9ZUJY.framer-1mxm3rg { align-content: center; align-items: center; cursor: pointer; display: flex; flex-direction: row; flex-wrap: nowrap; gap: 10px; height: min-content; justify-content: center; overflow: var(--overflow-clip-fallback, clip); padding: var(--ez2m1l); position: relative; width: min-content; will-change: var(--framer-will-change-override, transform); }\",\".framer-9ZUJY .framer-1rzvrfp-container { flex: none; height: 18px; position: relative; width: 18px; }\",'.framer-9ZUJY[data-border=\"true\"]::after, .framer-9ZUJY [data-border=\"true\"]::after { content: \"\"; border-width: var(--border-top-width, 0) var(--border-right-width, 0) var(--border-bottom-width, 0) var(--border-left-width, 0); border-color: var(--border-color, none); border-style: var(--border-style, none); width: 100%; height: 100%; position: absolute; box-sizing: border-box; left: 0; top: 0; border-radius: inherit; corner-shape: inherit; pointer-events: none; }'];/**\n * This is a generated Framer component.\n * @framerIntrinsicHeight 44\n * @framerIntrinsicWidth 76\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"auto\",\"auto\"]}}}\n * @framerVariables {\"zz7IYQFsT\":\"name1\",\"qzzC1FMx4\":\"click\",\"l_IHv3Dko\":\"padding\"}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerAutoSizeImages true\n * @framerComponentViewportWidth true\n * @framerColorSyntax true\n */const FramerlGQcTluZR=withCSS(Component,css,\"framer-9ZUJY\");export default FramerlGQcTluZR;FramerlGQcTluZR.displayName=\"Toggle Pill\";FramerlGQcTluZR.defaultProps={height:44,width:76};addPropertyControls(FramerlGQcTluZR,{zz7IYQFsT:PhosphorControls?.[\"iconSelection\"]&&{...PhosphorControls[\"iconSelection\"],defaultValue:\"CaretRight\",description:undefined,hidden:undefined,title:\"Name\"},qzzC1FMx4:{title:\"Click\",type:ControlType.EventHandler},l_IHv3Dko:{defaultValue:\"13px 29px 13px 29px\",title:\"Padding\",type:ControlType.Padding}});addFonts(FramerlGQcTluZR,[{explicitInter:true,fonts:[]},...PhosphorFonts],{supportsExplicitInterCodegen:true});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"FramerlGQcTluZR\",\"slots\":[],\"annotations\":{\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"auto\\\"]}}}\",\"framerIntrinsicHeight\":\"44\",\"framerDisplayContentsDiv\":\"false\",\"framerIntrinsicWidth\":\"76\",\"framerColorSyntax\":\"true\",\"framerContractVersion\":\"1\",\"framerComponentViewportWidth\":\"true\",\"framerImmutableVariables\":\"true\",\"framerAutoSizeImages\":\"true\",\"framerVariables\":\"{\\\"zz7IYQFsT\\\":\\\"name1\\\",\\\"qzzC1FMx4\\\":\\\"click\\\",\\\"l_IHv3Dko\\\":\\\"padding\\\"}\"}},\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./lGQcTluZR.map","// OneRowAutoGrid.tsx\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{useLayoutEffect,useRef}from\"react\";export function OneRowAutoGrid(){const elRef=useRef(null);useLayoutEffect(()=>{const el=elRef.current;if(!el)return;// Save previous inline styles\nconst prev={display:el.style.display,width:el.style.width,gridAutoFlow:el.style.gridAutoFlow,gridAutoColumns:el.style.gridAutoColumns,gridTemplateRows:el.style.gridTemplateRows};el.__prev=prev;// FORCE one-row grid\nel.style.display=\"grid\";el.style.gridAutoFlow=\"column\";el.style.gridAutoColumns=\"max-content\"// one column per card\n;el.style.gridTemplateRows=\"1fr\"// single row\n;el.style.width=\"max-content\"// shrink-wrap to content\n;return()=>{const p=el.__prev;if(p){el.style.display=p.display;el.style.width=p.width;el.style.gridAutoFlow=p.gridAutoFlow;el.style.gridAutoColumns=p.gridAutoColumns;el.style.gridTemplateRows=p.gridTemplateRows;}};},[]);return{ref:el=>{elRef.current=el;}};}// ---------------- \"Off\" override ----------------\nexport function Off(){// literally does nothing\nreturn{};}import{useContext as __legacyOverrideHOC_useContext}from\"react\";import{DataObserverContext as __legacyOverrideHOC_DataObserverContext}from\"framer\";export function withOneRowAutoGrid(C){return props=>{__legacyOverrideHOC_useContext(__legacyOverrideHOC_DataObserverContext);return _jsx(C,{...props,...OneRowAutoGrid(props)});};}withOneRowAutoGrid.displayName=\"OneRowAutoGrid\";export function withOff(C){return props=>{__legacyOverrideHOC_useContext(__legacyOverrideHOC_DataObserverContext);return _jsx(C,{...props,...Off(props)});};}withOff.displayName=\"Off\";\nexport const __FramerMetadata__ = {\"exports\":{\"withOneRowAutoGrid\":{\"type\":\"reactHoc\",\"name\":\"withOneRowAutoGrid\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withOff\":{\"type\":\"reactHoc\",\"name\":\"withOff\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"OneRowAutoGrid\":{\"type\":\"override\",\"name\":\"OneRowAutoGrid\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"Off\":{\"type\":\"override\",\"name\":\"Off\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Grid_Injection.map"],"mappings":"0fAC2C,IAAyO,IAAkE,IAA4B,IAAoJ,CAAM,EAAc,EAASA,EAAS,CAAO,EAAiB,EAAoBA,EAAS,CAAO,EAAkB,eAAqB,EAAkB,CAAC,UAAU,mBAAmB,CAA4Q,EAAoB,GAAO,CAAC,GAAG,OAAO,GAAQ,SAAS,OAAO,EAAU,UAAO,SAAS,EAAM,CAAkB,OAAO,KAAK,IAAI,EAAE,EAAM,CAAC,MAAa,EAAY,CAAC,OAAO,GAAG,MAAM,EAAE,SAAS,GAAG,KAAK,SAAS,CAAO,GAAY,CAAC,QAAM,cAAY,CAAC,IAAM,EAAOC,EAAiB,EAAoB,CAAO,EAAW,GAAO,EAAO,WAAiB,EAAaC,OAAmB,CAAC,GAAG,EAAO,aAAW,EAAE,CAAC,KAAK,UAAU,EAAW,CAAC,CAAC,CAAC,OAAoB,EAAK,EAAoB,SAAS,CAAC,MAAM,EAAsB,WAAS,CAAC,EAAS,EAAS,EAAO,OAAOC,EAAe,CAAO,GAAU,CAAC,QAAM,SAAO,KAAG,QAAM,UAAQ,QAAM,GAAG,MAAgB,CAAC,GAAG,EAAM,UAAU,GAAS,EAAM,WAAW,sBAAsB,UAAU,GAAO,EAAM,UAAU,UAAU,GAAO,EAAM,WAAW,aAAa,EAAS,GAAwB,EAAM,IAAe,EAAM,iBAAwB,EAAS,KAAK,IAAI,CAAC,EAAM,iBAAwB,EAAS,KAAK,IAAI,CAWj3D,EAAgB,EAXi4D,EAAiB,SAAS,EAAM,EAAI,CAAC,IAAM,EAAYC,EAAO,KAAK,CAAO,EAAW,GAAK,EAAkB,EAAgBC,GAAa,CAAM,CAAC,eAAa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