{"version":3,"file":"zExO2R0AI.DvKwatFw.mjs","names":["TabText","Legal","React.useContext","React.useMemo","React.Fragment","React.forwardRef","useRef","React.useId","_Fragment"],"sources":["https:/framerusercontent.com/modules/nAJurgiywlrC3s5smpzg/BIqDayqxZPa1epdfRZXp/zExO2R0AI.js"],"sourcesContent":["// Generated by Framer (4ecd144)\nimport{jsx as _jsx,Fragment as _Fragment}from\"react/jsx-runtime\";import{addFonts,addPropertyControls,ChildrenCanSuspend,ComponentViewportProvider,ControlType,cx,forwardLoader,getFonts,PathVariablesContext,queryCache,ResolveLinks,runTasksWithYield,runWithYield,SmartComponentScopedContainer,useComponentViewport,useLocaleInfo,useQueryData,useRouter,useVariantState,withCSS}from\"framer\";import{LayoutGroup,motion,MotionConfigContext}from\"framer-motion\";import*as React from\"react\";import{useRef}from\"react\";import Legal from\"https://framerusercontent.com/modules/dOCb8n97jP4TtdM1CIAD/4ET0tgiYFYA9NM8Cq1be/Vu0Bi1s2J.js\";import TabText from\"https://framerusercontent.com/modules/bqcf7b7nVRkaFEVN8lUc/BZIXNUJprF2IQwN4rYVV/QUAFY96_K.js\";const TabTextFonts=getFonts(TabText);const serializationHash=\"framer-Su11r\";const variantClassNames={phF1xRrDT:\"framer-v-1w3pcg7\"};function addPropertyOverrides(overrides,...variants){const nextOverrides={};variants?.forEach(variant=>variant&&Object.assign(nextOverrides,overrides[variant]));return nextOverrides;}const idHjx7ZnGAF=undefined;const Tn4RGx60WHjx7ZnGAF=undefined;const HAEJnddk1Hjx7ZnGAF=undefined;const Y8mzAL4Wm=undefined;const transition1={bounce:.2,delay:0,duration:.4,type:\"spring\"};const equals=(a,b)=>{return typeof a===\"string\"&&typeof b===\"string\"?a.toLowerCase()===b.toLowerCase():a===b;};const convertFromBoolean=(value,activeLocale)=>{return value?\"MYi2xy0L4\":\"XbR4ykQS5\";};const matchVariant=(...args)=>{for(const arg of args){if(arg&&typeof arg===\"string\")return arg;}return undefined;};const query=prequery=>prequery({from:{alias:\"Hjx7ZnGAF\",data:Legal,type:\"Collection\"},limit:{type:\"LiteralValue\",value:10},select:[{collection:\"Hjx7ZnGAF\",name:\"id\",type:\"Identifier\"},{collection:\"Hjx7ZnGAF\",name:\"Tn4RGx60W\",type:\"Identifier\"},{collection:\"Hjx7ZnGAF\",name:\"HAEJnddk1\",type:\"Identifier\"}]});const query1=()=>({from:{alias:\"Hjx7ZnGAF\",data:Legal,type:\"Collection\"},limit:{type:\"LiteralValue\",value:10},select:[{collection:\"Hjx7ZnGAF\",name:\"id\",type:\"Identifier\"},{collection:\"Hjx7ZnGAF\",name:\"Tn4RGx60W\",type:\"Identifier\"},{collection:\"Hjx7ZnGAF\",name:\"HAEJnddk1\",type:\"Identifier\"}]});const QueryData=({query,pageSize,children})=>{const data=useQueryData(query);return children(data);};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=({currentId,height,id,width,...props})=>{return{...props,Y8mzAL4Wm:currentId??props.Y8mzAL4Wm??\"\"};};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,Y8mzAL4Wm,...restProps}=getProps(props);const{baseVariant,classNames,clearLoadingGesture,gestureHandlers,gestureVariant,isLoading,setGestureState,setVariant,variants}=useVariantState({defaultVariant:\"phF1xRrDT\",ref:refBinding,variant,variantClassNames});const layoutDependency=createLayoutDependency(props,variants);const sharedStyleClassNames=[];const scopingClassNames=cx(serializationHash,...sharedStyleClassNames);const router=useRouter();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-1w3pcg7\",className,classNames),\"data-framer-name\":\"Default\",layoutDependency:layoutDependency,layoutId:\"phF1xRrDT\",ref:refBinding,style:{...style},children:/*#__PURE__*/_jsx(motion.div,{className:\"framer-17r1bqa\",\"data-framer-name\":\"Legal List\",layoutDependency:layoutDependency,layoutId:\"Hjx7ZnGAF\",children:/*#__PURE__*/_jsx(ChildrenCanSuspend,{children:/*#__PURE__*/_jsx(QueryData,{query:query1(),children:(collection,paginationInfo,loadMore)=>{return /*#__PURE__*/_jsx(_Fragment,{children:collection?.map(({HAEJnddk1:HAEJnddk1Hjx7ZnGAF,id:idHjx7ZnGAF,Tn4RGx60W:Tn4RGx60WHjx7ZnGAF},index)=>{Tn4RGx60WHjx7ZnGAF??=\"\";HAEJnddk1Hjx7ZnGAF??=\"\";return /*#__PURE__*/_jsx(LayoutGroup,{id:`Hjx7ZnGAF-${idHjx7ZnGAF}`,children:/*#__PURE__*/_jsx(PathVariablesContext.Provider,{value:{HAEJnddk1:HAEJnddk1Hjx7ZnGAF},children:/*#__PURE__*/_jsx(motion.div,{className:\"framer-m7lpx3\",\"data-framer-name\":\"Legal Chip\",layoutDependency:layoutDependency,layoutId:\"Lu0ea3MnU\",children:/*#__PURE__*/_jsx(ResolveLinks,{links:[{href:{pathVariables:{HAEJnddk1:HAEJnddk1Hjx7ZnGAF},webPageId:\"VTd1BWxpk\"},implicitPathVariables:undefined}],children:resolvedLinks=>/*#__PURE__*/_jsx(ComponentViewportProvider,{height:30,y:(componentViewport?.y||0)+0+0+0,children:/*#__PURE__*/_jsx(SmartComponentScopedContainer,{className:\"framer-1xqkpkl-container\",layoutDependency:layoutDependency,layoutId:\"AEDE3sv83-container\",nodeId:\"AEDE3sv83\",rendersWithMotion:true,scopeId:\"zExO2R0AI\",children:/*#__PURE__*/_jsx(TabText,{height:\"100%\",id:\"AEDE3sv83\",L2RRR94OG:Tn4RGx60WHjx7ZnGAF,layoutId:\"AEDE3sv83\",sBEGK503a:resolvedLinks[0],variant:matchVariant(convertFromBoolean(equals(idHjx7ZnGAF,Y8mzAL4Wm),activeLocale)),width:\"100%\"})})})})})})},idHjx7ZnGAF);})});}})})})})})})});});const css=[\".framer-Su11r.framer-140p5pl, .framer-Su11r .framer-140p5pl { display: block; }\",\".framer-Su11r.framer-1w3pcg7 { align-content: flex-start; align-items: flex-start; display: flex; flex-direction: row; flex-wrap: wrap; gap: 24px; height: min-content; justify-content: flex-start; padding: 0px; position: relative; width: min-content; }\",\".framer-Su11r .framer-17r1bqa { align-content: center; align-items: center; display: flex; flex: 1 0 0px; flex-direction: row; flex-wrap: wrap; gap: 24px; height: min-content; justify-content: flex-start; padding: 0px; position: relative; width: 1px; }\",\".framer-Su11r .framer-m7lpx3 { align-content: center; align-items: center; display: flex; flex: none; flex-direction: row; flex-wrap: nowrap; gap: 10px; height: min-content; justify-content: flex-start; padding: 0px; position: relative; width: min-content; }\",\".framer-Su11r .framer-1xqkpkl-container { flex: none; height: auto; position: relative; width: auto; }\"];/**\n * This is a generated Framer component.\n * @framerIntrinsicHeight 200\n * @framerIntrinsicWidth 200\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"auto\",\"auto\"]}}}\n * @framerVariables {\"Y8mzAL4Wm\":\"currentId\"}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerAutoSizeImages true\n * @framerComponentViewportWidth true\n * @framerColorSyntax true\n */const FramerzExO2R0AI=withCSS(Component,css,\"framer-Su11r\");export default FramerzExO2R0AI;FramerzExO2R0AI.displayName=\"Cross Nav\";FramerzExO2R0AI.defaultProps={height:200,width:200};addPropertyControls(FramerzExO2R0AI,{Y8mzAL4Wm:{defaultValue:\"\",title:\"Current Id\",type:ControlType.String},onY8mzAL4WmChange:{changes:\"Y8mzAL4Wm\",type:ControlType.ChangeHandler}});addFonts(FramerzExO2R0AI,[{explicitInter:true,fonts:[]},...TabTextFonts],{supportsExplicitInterCodegen:true});FramerzExO2R0AI.loader={load:(props,context)=>{const locale=context.locale;const priority=context.priority;const queryCacheEntry=queryCache.get(query1(),locale,priority);return runTasksWithYield([()=>queryCacheEntry.preload(),async()=>{const parentData=await runWithYield(()=>queryCacheEntry.readMaybeAsync(),context)??[];return runTasksWithYield(parentData.flatMap(item=>()=>forwardLoader(TabText,{},context)),context);}],context);}};\nexport const __FramerMetadata__ = {\"exports\":{\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"reactComponent\",\"name\":\"FramerzExO2R0AI\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerAutoSizeImages\":\"true\",\"framerIntrinsicWidth\":\"200\",\"framerDisplayContentsDiv\":\"false\",\"framerImmutableVariables\":\"true\",\"framerColorSyntax\":\"true\",\"framerIntrinsicHeight\":\"200\",\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"auto\\\"]}}}\",\"framerComponentViewportWidth\":\"true\",\"framerVariables\":\"{\\\"Y8mzAL4Wm\\\":\\\"currentId\\\"}\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}"],"mappings":"wiBACgE,IAAgU,IAAkE,IAA4B,IAA0I,IAAkH,EAAO,EAAa,EAASA,CAAO,EAAQ,EAAkB,eAAqB,EAAkB,CAAC,UAAU,kBAAkB,EAA2T,EAAY,CAAC,OAAO,GAAG,MAAM,EAAE,SAAS,GAAG,KAAK,QAAQ,EAAQ,GAAQ,EAAE,IAAY,OAAO,GAAI,UAAU,OAAO,GAAI,SAAS,EAAE,YAAY,IAAI,EAAE,YAAY,EAAE,IAAI,EAAU,GAAoB,EAAM,IAAuB,EAAM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