{"version":3,"file":"CategoryBlogSelector.BAPfPg4d.mjs","names":["serializationHash","variantClassNames","transition1","transformTemplate1","Transition","React.useContext","React.useMemo","getProps","createLayoutDependency","Variants","React.Fragment","React.useRef","React.useId","BlogPost","LoadMoreSpinner","React.useContext","React.useMemo","React.Fragment","useRef","React.useId","Blog","_Fragment","_window","ALL_CATEGORY","useState","useCallback","_window_location","currentCategory","where","useState","_window"],"sources":["https:/framerusercontent.com/modules/Kz1ovMXwI3fcqySZvNvp/w74ihiN3ctJF8D7NcUne/hkyQGyjNo.js","https:/framerusercontent.com/modules/n1Vp7fMjmpkYxVIbsfrt/K7MrzZbAbYgE66qEtc0D/eJBJ7IzmS.js","https:/framerusercontent.com/modules/YPuY9t7IAvII0NZLmwGW/h6EuVIArRylxJnQStUZm/Pagination.js","https:/framerusercontent.com/modules/TCFWynNizkV87CAV6G9X/rxkOgXgfTx7WvQOD38oN/CategoryBlogSelector.js"],"sourcesContent":["// Generated by Framer (dfd7da3)\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addFonts,addPropertyControls,ControlType,cx,RichText,useActiveVariantCallback,useComponentViewport,useLocaleInfo,useVariantState,withCSS,withFX,withOptimizedAppearEffect}from\"framer\";import{LayoutGroup,motion,MotionConfigContext}from\"framer-motion\";import*as React from\"react\";const MotionDivWithFX=withFX(motion.div);const MotionDivWithFXWithOptimizedAppearEffect=withOptimizedAppearEffect(withFX(motion.div));const enabledGestures={jRWayMeIO:{hover:true}};const cycleOrder=[\"jRWayMeIO\",\"DSND7cMxB\",\"aWHs2NvxB\"];const serializationHash=\"framer-VCVzI\";const variantClassNames={aWHs2NvxB:\"framer-v-jqzl33\",DSND7cMxB:\"framer-v-3i758d\",jRWayMeIO:\"framer-v-1ywgz3u\"};function addPropertyOverrides(overrides,...variants){const nextOverrides={};variants===null||variants===void 0?void 0:variants.forEach(variant=>variant&&Object.assign(nextOverrides,overrides[variant]));return nextOverrides;}const transition1={duration:0,type:\"tween\"};const transformTemplate1=(_,t)=>`translate(-50%, -50%) ${t}`;const transition2={delay:0,duration:.3,ease:[.44,0,.56,1],type:\"tween\"};const animation={opacity:1,rotate:0,rotateX:0,rotateY:0,scale:1,skewX:0,skewY:0,transition:transition2,x:0,y:0};const animation1={opacity:.001,rotate:0,rotateX:0,rotateY:0,scale:1,skewX:0,skewY:0,x:0,y:0};const transition3={delay:0,duration:1,ease:[0,0,1,1],type:\"tween\"};const animation2={opacity:1,rotate:360,rotateX:0,rotateY:0,scale:1,skewX:0,skewY:0,x:0,y:0};const Transition=({value,children})=>{const config=React.useContext(MotionConfigContext);const transition=value!==null&&value!==void 0?value:config.transition;const contextValue=React.useMemo(()=>({...config,transition}),[JSON.stringify(transition)]);return /*#__PURE__*/_jsx(MotionConfigContext.Provider,{value:contextValue,children:children});};const humanReadableVariantMap={Default:\"jRWayMeIO\",Hidden:\"aWHs2NvxB\",Loading:\"DSND7cMxB\"};const getProps=({click,height,id,width,...props})=>{var _humanReadableVariantMap_props_variant,_ref;return{...props,variant:(_ref=(_humanReadableVariantMap_props_variant=humanReadableVariantMap[props.variant])!==null&&_humanReadableVariantMap_props_variant!==void 0?_humanReadableVariantMap_props_variant:props.variant)!==null&&_ref!==void 0?_ref:\"jRWayMeIO\",Wld3NDzSj:click!==null&&click!==void 0?click:props.Wld3NDzSj};};const createLayoutDependency=(props,variants)=>{if(props.layoutDependency)return variants.join(\"-\")+props.layoutDependency;return variants.join(\"-\");};const Variants=motion.create(React.Fragment);const Component=/*#__PURE__*/React.forwardRef(function(props,ref){const{activeLocale,setLocale}=useLocaleInfo();const{style,className,layoutId,variant,Wld3NDzSj,...restProps}=getProps(props);const{baseVariant,classNames,clearLoadingGesture,gestureHandlers,gestureVariant,isLoading,setGestureState,setVariant,variants}=useVariantState({cycleOrder,defaultVariant:\"jRWayMeIO\",enabledGestures,variant,variantClassNames});const layoutDependency=createLayoutDependency(props,variants);const{activeVariantCallback,delay}=useActiveVariantCallback(baseVariant);const onTapn9xadi=activeVariantCallback(async(...args)=>{setGestureState({isPressed:false});if(Wld3NDzSj){const res=await Wld3NDzSj(...args);if(res===false)return false;}});const sharedStyleClassNames=[];const isDisplayed=()=>{if(baseVariant===\"aWHs2NvxB\")return false;return true;};const scopingClassNames=cx(serializationHash,...sharedStyleClassNames);const ref1=React.useRef(null);const isDisplayed1=()=>{if(baseVariant===\"DSND7cMxB\")return true;return false;};const defaultLayoutId=React.useId();const componentViewport=useComponentViewport();return /*#__PURE__*/_jsx(LayoutGroup,{id:layoutId!==null&&layoutId!==void 0?layoutId:defaultLayoutId,children:/*#__PURE__*/_jsx(Variants,{animate:variants,initial:false,children:isDisplayed()&&/*#__PURE__*/_jsx(Transition,{value:transition1,children:/*#__PURE__*/_jsxs(motion.div,{...restProps,...gestureHandlers,className:cx(scopingClassNames,\"framer-1ywgz3u\",className,classNames),\"data-border\":true,\"data-framer-name\":\"Default\",\"data-highlight\":true,layoutDependency:layoutDependency,layoutId:\"jRWayMeIO\",onTap:onTapn9xadi,ref:ref!==null&&ref!==void 0?ref:ref1,style:{\"--border-bottom-width\":\"1px\",\"--border-color\":\"rgb(219, 219, 219)\",\"--border-left-width\":\"1px\",\"--border-right-width\":\"1px\",\"--border-style\":\"solid\",\"--border-top-width\":\"1px\",backgroundColor:\"rgb(255, 255, 255)\",borderBottomLeftRadius:10,borderBottomRightRadius:10,borderTopLeftRadius:10,borderTopRightRadius:10,...style},...addPropertyOverrides({\"jRWayMeIO-hover\":{\"data-framer-name\":undefined},DSND7cMxB:{\"data-framer-name\":\"Loading\"}},baseVariant,gestureVariant),children:[/*#__PURE__*/_jsx(RichText,{__fromCanvasComponent:true,children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{style:{\"--font-selector\":\"SW50ZXItU2VtaUJvbGQ=\",\"--framer-font-family\":'\"Inter\", \"Inter Placeholder\", sans-serif',\"--framer-font-size\":\"14px\",\"--framer-font-weight\":\"600\",\"--framer-text-alignment\":\"center\",\"--framer-text-color\":\"var(--extracted-r6o4lv, var(--token-65650d6a-d540-43c9-b94b-a8d393058add, rgb(83, 104, 229)))\"},children:\"Cargar m\\xe1s\"})}),className:\"framer-cm6qgp\",fonts:[\"Inter-SemiBold\"],layoutDependency:layoutDependency,layoutId:\"zBUEciNn4\",style:{\"--extracted-r6o4lv\":\"var(--token-65650d6a-d540-43c9-b94b-a8d393058add, rgb(83, 104, 229))\",opacity:1},variants:{\"jRWayMeIO-hover\":{opacity:.65},DSND7cMxB:{opacity:0}},verticalAlignment:\"top\",withExternalLayout:true}),isDisplayed1()&&/*#__PURE__*/_jsx(MotionDivWithFXWithOptimizedAppearEffect,{__perspectiveFX:false,__smartComponentFX:true,__targetOpacity:1,animate:animation,className:\"framer-1yc1m1p\",\"data-framer-appear-id\":\"1yc1m1p\",\"data-framer-name\":\"Spinner\",initial:animation1,layoutDependency:layoutDependency,layoutId:\"QKsWpVlDI\",optimized:true,style:{mask:\"url('https://framerusercontent.com/images/pGiXYozQ3mE4cilNOItfe2L2fUA.svg') alpha no-repeat center / cover add\",WebkitMask:\"url('https://framerusercontent.com/images/pGiXYozQ3mE4cilNOItfe2L2fUA.svg') alpha no-repeat center / cover add\"},transformTemplate:transformTemplate1,children:/*#__PURE__*/_jsx(MotionDivWithFX,{__framer__loop:animation2,__framer__loopEffectEnabled:true,__framer__loopRepeatDelay:0,__framer__loopRepeatType:\"loop\",__framer__loopTransition:transition3,__perspectiveFX:false,__smartComponentFX:true,__targetOpacity:1,className:\"framer-16pliip\",\"data-framer-name\":\"Conic\",layoutDependency:layoutDependency,layoutId:\"JdrFR1eJq\",style:{background:'conic-gradient(from 0deg at 50% 50%, var(--token-59ea1928-70e9-43ce-8b94-3954d4ac8335, rgb(68, 91, 219)) /* {\"name\":\"accent\"} */ 0deg, rgb(255, 255, 255) 342deg)'},children:/*#__PURE__*/_jsx(motion.div,{className:\"framer-8c19bi\",\"data-framer-name\":\"Round\",layoutDependency:layoutDependency,layoutId:\"Ti99_TCgz\",style:{backgroundColor:\"rgb(255, 255, 255)\",borderBottomLeftRadius:1,borderBottomRightRadius:1,borderTopLeftRadius:1,borderTopRightRadius:1}})})})]})})})});});const css=[\"@supports (aspect-ratio: 1) { body { --framer-aspect-ratio-supported: auto; } }\",\".framer-VCVzI.framer-1u6s2v0, .framer-VCVzI .framer-1u6s2v0 { display: block; }\",\".framer-VCVzI.framer-1ywgz3u { align-content: center; align-items: center; cursor: pointer; display: flex; flex-direction: row; flex-wrap: nowrap; gap: 10px; height: 55px; justify-content: center; padding: 10px 25px 10px 25px; position: relative; width: min-content; }\",\".framer-VCVzI .framer-cm6qgp { -webkit-user-select: none; flex: none; height: auto; position: relative; user-select: none; white-space: pre; width: auto; }\",\".framer-VCVzI .framer-1yc1m1p { aspect-ratio: 1 / 1; flex: none; height: var(--framer-aspect-ratio-supported, 20px); left: 50%; overflow: visible; position: absolute; top: 50%; width: 20px; z-index: 1; }\",\".framer-VCVzI .framer-16pliip { bottom: 0px; flex: none; left: 0px; overflow: visible; position: absolute; right: 0px; top: 0px; }\",\".framer-VCVzI .framer-8c19bi { flex: none; height: 2px; left: calc(50.00000000000002% - 2px / 2); overflow: visible; position: absolute; top: 0px; width: 2px; }\",\"@supports (background: -webkit-named-image(i)) and (not (font-palette:dark)) { .framer-VCVzI.framer-1ywgz3u { gap: 0px; } .framer-VCVzI.framer-1ywgz3u > * { margin: 0px; margin-left: calc(10px / 2); margin-right: calc(10px / 2); } .framer-VCVzI.framer-1ywgz3u > :first-child { margin-left: 0px; } .framer-VCVzI.framer-1ywgz3u > :last-child { margin-right: 0px; } }\",'.framer-VCVzI[data-border=\"true\"]::after, .framer-VCVzI [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; pointer-events: none; }'];/**\n * This is a generated Framer component.\n * @framerIntrinsicHeight 55\n * @framerIntrinsicWidth 128\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"auto\",\"fixed\"]},\"DSND7cMxB\":{\"layout\":[\"auto\",\"fixed\"]},\"aWHs2NvxB\":{\"layout\":[\"auto\",\"fixed\"]},\"exlklG2Kx\":{\"layout\":[\"auto\",\"fixed\"]}}}\n * @framerVariables {\"Wld3NDzSj\":\"click\"}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerComponentViewportWidth true\n */const FramerhkyQGyjNo=withCSS(Component,css,\"framer-VCVzI\");export default FramerhkyQGyjNo;FramerhkyQGyjNo.displayName=\"Load-More-spinner\";FramerhkyQGyjNo.defaultProps={height:55,width:128};addPropertyControls(FramerhkyQGyjNo,{variant:{options:[\"jRWayMeIO\",\"DSND7cMxB\",\"aWHs2NvxB\"],optionTitles:[\"Default\",\"Loading\",\"Hidden\"],title:\"Variant\",type:ControlType.Enum},Wld3NDzSj:{title:\"Click\",type:ControlType.EventHandler}});addFonts(FramerhkyQGyjNo,[{explicitInter:true,fonts:[{family:\"Inter\",source:\"framer\",style:\"normal\",unicodeRange:\"U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F\",url:\"https://framerusercontent.com/assets/hyOgCu0Xnghbimh0pE8QTvtt2AU.woff2\",weight:\"600\"},{family:\"Inter\",source:\"framer\",style:\"normal\",unicodeRange:\"U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116\",url:\"https://framerusercontent.com/assets/NeGmSOXrPBfEFIy5YZeHq17LEDA.woff2\",weight:\"600\"},{family:\"Inter\",source:\"framer\",style:\"normal\",unicodeRange:\"U+1F00-1FFF\",url:\"https://framerusercontent.com/assets/oYaAX5himiTPYuN8vLWnqBbfD2s.woff2\",weight:\"600\"},{family:\"Inter\",source:\"framer\",style:\"normal\",unicodeRange:\"U+0370-03FF\",url:\"https://framerusercontent.com/assets/lEJLP4R0yuCaMCjSXYHtJw72M.woff2\",weight:\"600\"},{family:\"Inter\",source:\"framer\",style:\"normal\",unicodeRange:\"U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF\",url:\"https://framerusercontent.com/assets/cRJyLNuTJR5jbyKzGi33wU9cqIQ.woff2\",weight:\"600\"},{family:\"Inter\",source:\"framer\",style:\"normal\",unicodeRange:\"U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD\",url:\"https://framerusercontent.com/assets/1ZFS7N918ojhhd0nQWdj3jz4w.woff2\",weight:\"600\"},{family:\"Inter\",source:\"framer\",style:\"normal\",unicodeRange:\"U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB\",url:\"https://framerusercontent.com/assets/A0Wcc7NgXMjUuFdquHDrIZpzZw0.woff2\",weight:\"600\"}]}],{supportsExplicitInterCodegen:true});\nexport const __FramerMetadata__ = {\"exports\":{\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"reactComponent\",\"name\":\"FramerhkyQGyjNo\",\"slots\":[],\"annotations\":{\"framerComponentViewportWidth\":\"true\",\"framerVariables\":\"{\\\"Wld3NDzSj\\\":\\\"click\\\"}\",\"framerDisplayContentsDiv\":\"false\",\"framerIntrinsicHeight\":\"55\",\"framerContractVersion\":\"1\",\"framerIntrinsicWidth\":\"128\",\"framerImmutableVariables\":\"true\",\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"fixed\\\"]},\\\"DSND7cMxB\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"fixed\\\"]},\\\"aWHs2NvxB\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"fixed\\\"]},\\\"exlklG2Kx\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"fixed\\\"]}}}\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./hkyQGyjNo.map","// Generated by Framer (569fd08)\nimport{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import{addFonts,addPropertyControls,ChildrenCanSuspend,ComponentViewportProvider,ControlType,cx,getFonts,PathVariablesContext,ResolveLinks,SmartComponentScopedContainer,useActiveVariantCallback,useComponentViewport,useLoadMorePaginatedQuery,useLocaleInfo,useQueryData,useRouter,useVariantState,withCSS}from\"framer\";import{LayoutGroup,motion,MotionConfigContext}from\"framer-motion\";import*as React from\"react\";import{useRef}from\"react\";import Blog from\"https://framerusercontent.com/modules/VuHihhFMsW6Hf4fbWkml/o15z3ZFM9daopcsXs6jA/R2yXBQjAa.js\";import BlogPost from\"https://framerusercontent.com/modules/84ExtZV9XvbOINDrmbW3/YvSOpO7PkU3vcN34u49T/BxHqUyzBO.js\";import LoadMoreSpinner from\"https://framerusercontent.com/modules/Kz1ovMXwI3fcqySZvNvp/w74ihiN3ctJF8D7NcUne/hkyQGyjNo.js\";const BlogPostFonts=getFonts(BlogPost);const LoadMoreSpinnerFonts=getFonts(LoadMoreSpinner);const serializationHash=\"framer-yWcLi\";const variantClassNames={YwcPApp9e:\"framer-v-1wu02yq\"};function addPropertyOverrides(overrides,...variants){const nextOverrides={};variants?.forEach(variant=>variant&&Object.assign(nextOverrides,overrides[variant]));return nextOverrides;}const ZC6tnEXJcecVtJKd61=undefined;const tXtGXurPMecVtJKd61=undefined;const HRyLoyiCQecVtJKd61=undefined;const icErzsTMXecVtJKd61=undefined;const FUqdn3XUTecVtJKd61=undefined;const idecVtJKd61=undefined;const MWXXu_aqC=undefined;const transition1={damping:60,delay:0,mass:1,stiffness:500,type:\"spring\"};const toResponsiveImage=value=>{if(typeof value===\"object\"&&value!==null&&typeof value.src===\"string\"){return value;}return typeof value===\"string\"?{src:value}:undefined;};const transformTemplate1=(_,t)=>`translateX(-50%) ${t}`;const loaderVariants=(repeaterState,variants,currentVariant)=>{if(repeaterState.currentPage>=repeaterState.totalPages)return variants.disabled??currentVariant;if(repeaterState.isLoading)return variants.loading??currentVariant;return currentVariant;};const query=(prequery,{MWXXu_aqC})=>prequery({from:{alias:\"ecVtJKd61\",data:Blog,type:\"Collection\"},select:[{collection:\"ecVtJKd61\",name:\"ZC6tnEXJc\",type:\"Identifier\"},{collection:\"ecVtJKd61\",name:\"tXtGXurPM\",type:\"Identifier\"},{collection:\"ecVtJKd61\",name:\"HRyLoyiCQ\",type:\"Identifier\"},{collection:\"ecVtJKd61\",name:\"icErzsTMX\",type:\"Identifier\"},{collection:\"ecVtJKd61\",name:\"FUqdn3XUT\",type:\"Identifier\"},{collection:\"ecVtJKd61\",name:\"id\",type:\"Identifier\"}],where:{left:{arguments:[{collection:\"ecVtJKd61\",name:\"FUqdn3XUT\",type:\"Identifier\"},{type:\"LiteralValue\",value:\"\"}],functionName:\"CONTAINS\",type:\"FunctionCall\"},operator:\"and\",right:{arguments:[{collection:\"ecVtJKd61\",name:\"xzwSxkxgu\",type:\"Identifier\"},{type:\"LiteralValue\",value:MWXXu_aqC}],functionName:\"CONTAINS\",type:\"FunctionCall\"},type:\"BinaryOperation\"}});const QueryData=({query,pageSize,children})=>{const{paginatedQuery,paginationInfo,loadMore}=useLoadMorePaginatedQuery(query,pageSize,\"ecVtJKd61\");const data=useQueryData(paginatedQuery);return children(data,paginationInfo,loadMore);};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=({category,height,id,width,...props})=>{return{...props,MWXXu_aqC:category??props.MWXXu_aqC};};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,MWXXu_aqC,...restProps}=getProps(props);const{baseVariant,classNames,clearLoadingGesture,gestureHandlers,gestureVariant,isLoading,setGestureState,setVariant,variants}=useVariantState({defaultVariant:\"YwcPApp9e\",ref:refBinding,variant,variantClassNames});const layoutDependency=createLayoutDependency(props,variants);const{activeVariantCallback,delay}=useActiveVariantCallback(baseVariant);const Wld3NDzSj1x58lqd=({loadMore})=>activeVariantCallback(async(...args)=>{loadMore();});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-1wu02yq\",className,classNames),\"data-framer-name\":\"Variant 1\",layoutDependency:layoutDependency,layoutId:\"YwcPApp9e\",ref:refBinding,style:{...style},children:/*#__PURE__*/_jsx(motion.div,{className:\"framer-1hb90je\",layoutDependency:layoutDependency,layoutId:\"ecVtJKd61\",children:/*#__PURE__*/_jsx(ChildrenCanSuspend,{children:/*#__PURE__*/_jsx(QueryData,{pageSize:30,query:{from:{alias:\"ecVtJKd61\",data:Blog,type:\"Collection\"},select:[{collection:\"ecVtJKd61\",name:\"ZC6tnEXJc\",type:\"Identifier\"},{collection:\"ecVtJKd61\",name:\"tXtGXurPM\",type:\"Identifier\"},{collection:\"ecVtJKd61\",name:\"HRyLoyiCQ\",type:\"Identifier\"},{collection:\"ecVtJKd61\",name:\"icErzsTMX\",type:\"Identifier\"},{collection:\"ecVtJKd61\",name:\"FUqdn3XUT\",type:\"Identifier\"},{collection:\"ecVtJKd61\",name:\"id\",type:\"Identifier\"}],where:{left:{arguments:[{collection:\"ecVtJKd61\",name:\"FUqdn3XUT\",type:\"Identifier\"},{type:\"LiteralValue\",value:\"\"}],functionName:\"CONTAINS\",type:\"FunctionCall\"},operator:\"and\",right:{arguments:[{collection:\"ecVtJKd61\",name:\"xzwSxkxgu\",type:\"Identifier\"},{type:\"LiteralValue\",value:MWXXu_aqC}],functionName:\"CONTAINS\",type:\"FunctionCall\"},type:\"BinaryOperation\"}},children:(collection,paginationInfo,loadMore)=>{return /*#__PURE__*/_jsxs(_Fragment,{children:[collection?.map(({FUqdn3XUT:FUqdn3XUTecVtJKd61,HRyLoyiCQ:HRyLoyiCQecVtJKd61,icErzsTMX:icErzsTMXecVtJKd61,id:idecVtJKd61,tXtGXurPM:tXtGXurPMecVtJKd61,ZC6tnEXJc:ZC6tnEXJcecVtJKd61},index)=>{ZC6tnEXJcecVtJKd61??=\"\";HRyLoyiCQecVtJKd61??=0;icErzsTMXecVtJKd61??=\"\";FUqdn3XUTecVtJKd61??=\"\";return /*#__PURE__*/_jsx(LayoutGroup,{id:`ecVtJKd61-${idecVtJKd61}`,children:/*#__PURE__*/_jsx(PathVariablesContext.Provider,{value:{ZC6tnEXJc:ZC6tnEXJcecVtJKd61},children:/*#__PURE__*/_jsx(motion.div,{className:\"framer-1e19uab\",layoutDependency:layoutDependency,layoutId:\"Dq_xI1aJE\",children:/*#__PURE__*/_jsx(ResolveLinks,{links:[{href:{pathVariables:{ZC6tnEXJc:ZC6tnEXJcecVtJKd61},webPageId:\"q8hOsRcUs\"},implicitPathVariables:undefined}],children:resolvedLinks=>/*#__PURE__*/_jsx(ComponentViewportProvider,{height:484,children:/*#__PURE__*/_jsx(SmartComponentScopedContainer,{className:\"framer-innmw-container\",layoutDependency:layoutDependency,layoutId:\"gK28AMUeq-container\",nodeId:\"gK28AMUeq\",rendersWithMotion:true,scopeId:\"eJBJ7IzmS\",children:/*#__PURE__*/_jsx(BlogPost,{ChLsPBHSo:toResponsiveImage(tXtGXurPMecVtJKd61),CYuF4HtAF:resolvedLinks[0],height:\"100%\",id:\"gK28AMUeq\",layoutId:\"gK28AMUeq\",Ld6p_9a63:icErzsTMXecVtJKd61,PI6LoV_aQ:HRyLoyiCQecVtJKd61,style:{width:\"100%\"},variant:\"zKzb12eol\",vhtTHzZfj:\" \",VObw3fUPA:FUqdn3XUTecVtJKd61,width:\"100%\"})})})})})})},idecVtJKd61);}),/*#__PURE__*/_jsx(ComponentViewportProvider,{height:55,children:/*#__PURE__*/_jsx(SmartComponentScopedContainer,{className:\"framer-dgp1or-container\",layoutDependency:layoutDependency,layoutId:\"OaAXkv8h6-container\",nodeId:\"OaAXkv8h6\",rendersWithMotion:true,scopeId:\"eJBJ7IzmS\",transformTemplate:transformTemplate1,children:/*#__PURE__*/_jsx(LoadMoreSpinner,{height:\"100%\",id:\"OaAXkv8h6\",layoutId:\"OaAXkv8h6\",variant:loaderVariants(paginationInfo,{disabled:\"aWHs2NvxB\",loading:\"DSND7cMxB\"},\"jRWayMeIO\"),width:\"100%\",Wld3NDzSj:Wld3NDzSj1x58lqd({loadMore})})})})]});}})})})})})})});});const css=[\"@supports (aspect-ratio: 1) { body { --framer-aspect-ratio-supported: auto; } }\",\".framer-yWcLi.framer-of3whc, .framer-yWcLi .framer-of3whc { display: block; }\",\".framer-yWcLi.framer-1wu02yq { align-content: center; align-items: center; display: flex; flex-direction: column; flex-wrap: nowrap; gap: 20px; height: min-content; justify-content: center; overflow: visible; padding: 0px; position: relative; width: 1100px; }\",\".framer-yWcLi .framer-1hb90je { display: grid; flex: none; gap: 0px; grid-auto-rows: min-content; grid-template-columns: repeat(auto-fill, minmax(365px, 1fr)); height: min-content; justify-content: center; padding: 0px 0px 40px 0px; position: relative; width: 100%; }\",\".framer-yWcLi .framer-1e19uab { align-content: center; align-items: center; align-self: start; display: flex; flex: none; flex-direction: row; flex-wrap: nowrap; gap: 10px; height: auto; justify-content: center; justify-self: start; max-width: 745px; min-width: 365px; overflow: visible; padding: 0px 0px 50px 0px; position: relative; width: 100%; z-index: 1; }\",\".framer-yWcLi .framer-innmw-container { flex: 1 0 0px; height: auto; position: relative; width: 1px; }\",\".framer-yWcLi .framer-dgp1or-container { bottom: 0px; flex: none; height: auto; left: 50%; position: absolute; width: auto; z-index: 0; }\"];/**\n * This is a generated Framer component.\n * @framerIntrinsicHeight 4823\n * @framerIntrinsicWidth 1100\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"fixed\",\"auto\"]}}}\n * @framerVariables {\"MWXXu_aqC\":\"category\"}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerAutoSizeImages true\n * @framerComponentViewportWidth true\n * @framerColorSyntax true\n */const FramereJBJ7IzmS=withCSS(Component,css,\"framer-yWcLi\");export default FramereJBJ7IzmS;FramereJBJ7IzmS.displayName=\"EntryBlogView\";FramereJBJ7IzmS.defaultProps={height:4823,width:1100};addPropertyControls(FramereJBJ7IzmS,{MWXXu_aqC:{defaultValue:\"\",title:\"Category\",type:ControlType.String}});addFonts(FramereJBJ7IzmS,[{explicitInter:true,fonts:[]},...BlogPostFonts,...LoadMoreSpinnerFonts],{supportsExplicitInterCodegen:true});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"FramereJBJ7IzmS\",\"slots\":[],\"annotations\":{\"framerIntrinsicWidth\":\"1100\",\"framerAutoSizeImages\":\"true\",\"framerContractVersion\":\"1\",\"framerImmutableVariables\":\"true\",\"framerVariables\":\"{\\\"MWXXu_aqC\\\":\\\"category\\\"}\",\"framerDisplayContentsDiv\":\"false\",\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"auto\\\"]}}}\",\"framerColorSyntax\":\"true\",\"framerComponentViewportWidth\":\"true\",\"framerIntrinsicHeight\":\"4823\"}},\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./eJBJ7IzmS.map","var _window;import{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import{useState,useEffect,useCallback}from\"react\";import{createStore}from\"https://framer.com/m/framer/store.js@^1.0.0\";const LIMIT=12;//id assigned in CMS for category\nconst CATEGORY_ID=\"FUqdn3XUT\";const SCROLL_THRESHOLD=200;const PREVIOUS_CLASS=\"Previous\";const PREVIOUS_DISABLED_CLASS=\"Previous Disabled\";const NEXT_CLASS=\"Next\";const NEXT_DISABLED_CLASS=\"Next Disabled\";const PAGE_NUMBER_CLASS=\"Page Number\";const PAGE_NUMBER_ACTIVE_CLASS=\"Page Number Active\";const PAGE_NUMBER_DEFAULT=\"Page Number Default\";const BLOG_CATEGORY=\"Blog Category\";const BLOG_CATEGORY_SELECTED=\"Blog Category Selected\";const BTN_CAT=\"BtnCatDrop\";const BTN_CAT_SEL=\"BtnCatDrop Selected\";const ALL_CATEGORY=\"Todas las categor\\xedas\";export const useStore=createStore({limit:LIMIT,offset:0,totalItems:0,currentPage:1,allCategories:[],currentCategory:ALL_CATEGORY});const useSetQuery=()=>{var _window_location,_window;const[store,setStore]=useStore();const searchParams=new URLSearchParams((_window=window)===null||_window===void 0?void 0:(_window_location=_window.location)===null||_window_location===void 0?void 0:_window_location.search);const currentCategory=searchParams.get(\"cat\")||ALL_CATEGORY;const currentPage=parseInt(searchParams.get(\"p\")||\"1\");useEffect(()=>{setStore({limit:LIMIT,offset:(currentPage-1)*LIMIT,currentPage,currentCategory:currentCategory});},[]);};export function onlyUnique(value,index,array){return value&&array.indexOf(value)===index;}(_window=window)===null||_window===void 0?void 0:_window.totalItems=0;export function withCounter(Component){return({...props})=>{var _window_location,_window;const searchParams=new URLSearchParams((_window=window)===null||_window===void 0?void 0:(_window_location=_window.location)===null||_window_location===void 0?void 0:_window_location.search);const currentCategory=searchParams.get(\"cat\")||ALL_CATEGORY;const where=currentCategory===ALL_CATEGORY?undefined:{where:{left:{name:CATEGORY_ID,type:\"Identifier\"},operator:\"==\",right:{type:\"LiteralValue\",//value: store?.currentCategory,\nvalue:currentCategory},type:\"BinaryOperation\"}};const[store,setStore]=useStore();const[newProps,setNewProps]=useState({...props,children:{...props.children,props:{...props.children.props,query:{...props.children.props.query,...where}}}});const addLimit=useCallback(()=>{setTimeout(()=>{var _window,_window1;(_window=window)===null||_window===void 0?void 0:_window.totalItems+=1;setStore({totalItems:(_window1=window)===null||_window1===void 0?void 0:_window1.totalItems});});},[store]);const resetLimit=useCallback(()=>{setStore({...store,totalItems:0});console.log(\"resetLimit\",store.totalItems);},[store]);useEffect(()=>{if(!props.href){var _window_location,_window,_window1;// no es el componente padre\nconst searchParams=new URLSearchParams((_window=window)===null||_window===void 0?void 0:(_window_location=_window.location)===null||_window_location===void 0?void 0:_window_location.search);const currentCategory=searchParams.get(\"cat\")||ALL_CATEGORY;const where=currentCategory===ALL_CATEGORY?undefined:{where:{left:{name:CATEGORY_ID,type:\"Identifier\"},operator:\"==\",right:{type:\"LiteralValue\",//value: store?.currentCategory,\nvalue:currentCategory},type:\"BinaryOperation\"}};console.log(\"withCounter\",currentCategory,currentCategory);setNewProps({...props,children:{...props.children,props:{...props.children.props,query:{...props.children.props.query,...where}}}});(_window1=window)===null||_window1===void 0?void 0:_window1.totalItems=0;}else{addLimit();}},[store.currentCategory,store.currentPage]);if(props.href){return null;}return /*#__PURE__*/_jsx(Component,{...newProps});};}export function withCollectionList(Component){return props=>{var _window_location,_window;const[store,setStore]=useStore();const[newProps,setNewProps]=useState({});const searchParams=new URLSearchParams((_window=window)===null||_window===void 0?void 0:(_window_location=_window.location)===null||_window_location===void 0?void 0:_window_location.search);const currentCategory=searchParams.get(\"cat\")||ALL_CATEGORY;useEffect(()=>{const data=props.children.props.query.from.data;setStore({// totalItems: 30,\n// store?.currentCategory === ALL_CATEGORY\n//     ? Object.keys(\n//           props.children.props.query.from.data\n//               .propertyControls\n//       )\n//     : props.children.props.query.from.data.filter(\n//           (post) =>\n//               post[CATEGORY_ID] === store?.currentCategory\n//       ).length,\nallCategories:[\"Todas las categor\\xedas\",\"Oposiciones\",\"Fuerzas y Cuerpos de Seguridad\",\"Administrativos\",\"Correos\",\"Leyes\",\"Bomberos\",\"Tropa y Mariner\\xeda\",\"Metro Madrid\",\"T\\xe9cnicas de Estudio\",\"Justicia\",\"Consejos Estudio\",\"MIR/EIR\"]});const where=//store?.currentCategory === ALL_CATEGORY\ncurrentCategory===ALL_CATEGORY?undefined:{where:{left:{name:CATEGORY_ID,type:\"Identifier\"},operator:\"==\",right:{type:\"LiteralValue\",//value: store?.currentCategory,\nvalue:currentCategory},type:\"BinaryOperation\"}};setNewProps({...props,children:{...props.children,props:{...props.children.props,query:{...props.children.props.query,...where,limit:{type:\"LiteralValue\",value:store.limit},offset:{type:\"LiteralValue\",value:store.offset}}}}});},[//store.offset,\n//store.limit,\nstore.currentCategory,store.currentPage]);if(!newProps||Object.keys(newProps).length===0){return /*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",flexDirection:\"row\",padding:\"10px\",gap:10,width:\"100%\",overflow:\"hidden\",flexWrap:\"wrap\",justifyContent:\"center\",alignItems:\"center\"},children:[/*#__PURE__*/_jsx(\"div\",{style:{width:\"100%\",maxWidth:330,height:\"360px\",background:\"#FAFAFA\",borderRadius:10}}),/*#__PURE__*/_jsx(\"div\",{style:{width:\"100%\",maxWidth:330,height:\"360px\",background:\"#FAFAFA\",borderRadius:10}}),/*#__PURE__*/_jsx(\"div\",{style:{width:\"100%\",maxWidth:330,height:\"360px\",background:\"#FAFAFA\",borderRadius:10}})]});}return /*#__PURE__*/_jsx(Component,{...newProps});};}export function withLoadMore(Component){return props=>{const[store,setStore]=useStore();useSetQuery();return /*#__PURE__*/_jsx(_Fragment,{children:store.limit<store.totalItems&&/*#__PURE__*/_jsx(Component,{...props,onClick:()=>setStore({limit:store.limit+LIMIT})})});};}export function withInfiniteScroll(Component){return props=>{const[store,setStore]=useStore();useSetQuery();useEffect(()=>{window.addEventListener(\"scroll\",handleScroll);return()=>{window.removeEventListener(\"scroll\",handleScroll);};},[store.limit,store.totalItems]);const handleScroll=()=>{if(store.limit<store.totalItems&&window.innerHeight+document.documentElement.scrollTop>=document.documentElement.offsetHeight-SCROLL_THRESHOLD){setStore({limit:store.limit+LIMIT});}};return /*#__PURE__*/_jsx(Component,{...props});};}export function withPrevious(Component){return props=>{const[store,setStore]=useStore();useSetQuery();const handlePreviousPage=()=>{if(store.currentPage>1){var _window_location,_window,_window_location1,_window1,_window_location2,_window2,_window_location3,_window3;const newPage=store.currentPage-1;const newOffset=(newPage-1)*LIMIT;/*setStore({\n                    offset: newOffset,\n                    currentPage: newPage,\n                })*/window.scrollTo(0,0);const searchParams=new URLSearchParams((_window=window)===null||_window===void 0?void 0:(_window_location=_window.location)===null||_window_location===void 0?void 0:_window_location.search);searchParams.set(\"p\",newPage.toString());(_window1=window)===null||_window1===void 0?void 0:(_window_location1=_window1.location)===null||_window_location1===void 0?void 0:_window_location1.href=`${(_window2=window)===null||_window2===void 0?void 0:(_window_location2=_window2.location)===null||_window_location2===void 0?void 0:_window_location2.origin}${(_window3=window)===null||_window3===void 0?void 0:(_window_location3=_window3.location)===null||_window_location3===void 0?void 0:_window_location3.pathname}?${searchParams.toString()}`;}};return /*#__PURE__*/_jsx(Component,{...props,onClick:handlePreviousPage,variant:store.currentPage!==1?PREVIOUS_CLASS:PREVIOUS_DISABLED_CLASS});};}export function withNext(Component){return props=>{const[store,setStore]=useStore();useSetQuery();const handleNextPage=()=>{if(store.currentPage*LIMIT<store.totalItems){var _window_location,_window,_window_location1,_window1,_window_location2,_window2,_window_location3,_window3;const newPage=store.currentPage+1;const newOffset=(newPage-1)*LIMIT;/*setStore({\n                    offset: newOffset,\n                    currentPage: newPage,\n                })*/window.scrollTo(0,0);const searchParams=new URLSearchParams((_window=window)===null||_window===void 0?void 0:(_window_location=_window.location)===null||_window_location===void 0?void 0:_window_location.search);searchParams.set(\"p\",newPage);(_window1=window)===null||_window1===void 0?void 0:(_window_location1=_window1.location)===null||_window_location1===void 0?void 0:_window_location1.href=`${(_window2=window)===null||_window2===void 0?void 0:(_window_location2=_window2.location)===null||_window_location2===void 0?void 0:_window_location2.origin}${(_window3=window)===null||_window3===void 0?void 0:(_window_location3=_window3.location)===null||_window_location3===void 0?void 0:_window_location3.pathname}?${searchParams.toString()}`;}};return /*#__PURE__*/_jsx(Component,{...props,onClick:handleNextPage,variant:store.currentPage*LIMIT<store.totalItems?NEXT_CLASS:NEXT_DISABLED_CLASS});};}export function withCurrentPage(Component){return props=>{const[store,setStore]=useStore();useSetQuery();const[currentPage,setCurrentPage]=useState(()=>store.currentPage.toString());const[totalPages,setTotalPages]=useState(()=>Math.ceil(store.totalItems/LIMIT));useEffect(()=>{setCurrentPage(store.currentPage.toString());setTotalPages(Math.ceil(store.totalItems/LIMIT));},[store.currentPage,store.totalItems]);return /*#__PURE__*/_jsx(Component,{...props,page:`${currentPage}/${totalPages}`});};}export function withPageSelector(Component){return props=>{const[store,setStore]=useStore();const[pages,setPages]=useState([]);useSetQuery();useEffect(()=>{const generatePages=()=>{const totalPages=Math.ceil(store.totalItems/LIMIT);const newPages=Array.from({length:totalPages},(_,index)=>index+1);setPages(newPages);};generatePages();},[store.totalItems]);const handleNewPage=newPage=>{const newOffset=(newPage-1)*LIMIT;setStore({offset:newOffset,currentPage:newPage});window.scrollTo(0,0);};return /*#__PURE__*/_jsx(\"div\",{style:{display:\"flex\",flexDirection:\"row\"},children:pages.map((item,index)=>{return /*#__PURE__*/_jsx(Component,{...props,page:item.toString(),onClick:()=>handleNewPage(item),variant:store.currentPage===item?PAGE_NUMBER_ACTIVE_CLASS:PAGE_NUMBER_CLASS},index);})});};}export function withTablePagination(Component){return props=>{const[store,setStore]=useStore();const[pages,setPages]=useState([]);useSetQuery();useEffect(()=>{const generatePages=()=>{const totalPages=Math.ceil(store.totalItems/LIMIT);const adjacentPages=store.currentPage===1||store.currentPage===totalPages?2:1;const pages=[];for(let i=1;i<=totalPages;i++){const isWithinRange=i>=store.currentPage-adjacentPages&&i<=store.currentPage+adjacentPages;if(i===1||i===totalPages||isWithinRange){pages.push(i);}else if(i===store.currentPage-adjacentPages-1&&i!==1||i===store.currentPage+adjacentPages+1&&i!==totalPages){pages.push(\"...\");}}setPages(pages);};generatePages();},[store.totalItems,store.currentPage]);const handleNewPage=newPage=>{var _window_location,_window,_window_location1,_window1,_window_location2,_window2,_window_location3,_window3;const newOffset=(newPage-1)*LIMIT;/*setStore({\n                offset: newOffset,\n                currentPage: newPage,\n            })*/window.scrollTo(0,0);const searchParams=new URLSearchParams((_window=window)===null||_window===void 0?void 0:(_window_location=_window.location)===null||_window_location===void 0?void 0:_window_location.search);searchParams.set(\"p\",newPage);(_window1=window)===null||_window1===void 0?void 0:(_window_location1=_window1.location)===null||_window_location1===void 0?void 0:_window_location1.href=`${(_window2=window)===null||_window2===void 0?void 0:(_window_location2=_window2.location)===null||_window_location2===void 0?void 0:_window_location2.origin}${(_window3=window)===null||_window3===void 0?void 0:(_window_location3=_window3.location)===null||_window_location3===void 0?void 0:_window_location3.pathname}?${searchParams.toString()}`;};return /*#__PURE__*/_jsx(\"div\",{style:{display:\"flex\",flexDirection:\"row\"},children:pages.map((item,index,array)=>{const isEllipsis=item===\"...\";return /*#__PURE__*/_jsx(Component,{...props,page:item.toString(),onClick:()=>!isEllipsis&&store.currentPage!==item&&handleNewPage(item),variant:isEllipsis?PAGE_NUMBER_DEFAULT:store.currentPage===item?PAGE_NUMBER_ACTIVE_CLASS:PAGE_NUMBER_CLASS},index);})});};}export function withCategoryButtons(Component){return props=>{const[store,setStore]=useStore();const[categories,setCategories]=useState([]);//useSetQuery()\nuseEffect(()=>{var _window;setCategories([ALL_CATEGORY,...store.allCategories].filter(onlyUnique));(_window=window)===null||_window===void 0?void 0:_window.totalItems=0;},[store.currentCategory,store.allCategories]);const handleNewPage=newCategory=>{var _window_location,_window;/*setStore({\n                offset: 0,\n                currentPage: 1,\n                currentCategory: newCategory,\n            })*/const searchParams=new URLSearchParams((_window=window)===null||_window===void 0?void 0:(_window_location=_window.location)===null||_window_location===void 0?void 0:_window_location.search);if(newCategory===ALL_CATEGORY){var _window_location1,_window1,_window_location2,_window2,_window_location3,_window3;(_window1=window)===null||_window1===void 0?void 0:(_window_location1=_window1.location)===null||_window_location1===void 0?void 0:_window_location1.href=`${(_window2=window)===null||_window2===void 0?void 0:(_window_location2=_window2.location)===null||_window_location2===void 0?void 0:_window_location2.origin}${(_window3=window)===null||_window3===void 0?void 0:(_window_location3=_window3.location)===null||_window_location3===void 0?void 0:_window_location3.pathname}`;}else{var _window_location4,_window4,_window_location5,_window5,_window_location6,_window6;searchParams.set(\"cat\",newCategory);searchParams.delete(\"p\");(_window4=window)===null||_window4===void 0?void 0:(_window_location4=_window4.location)===null||_window_location4===void 0?void 0:_window_location4.href=`${(_window5=window)===null||_window5===void 0?void 0:(_window_location5=_window5.location)===null||_window_location5===void 0?void 0:_window_location5.origin}${(_window6=window)===null||_window6===void 0?void 0:(_window_location6=_window6.location)===null||_window_location6===void 0?void 0:_window_location6.pathname}?${searchParams.toString()}`;}//window.scrollTo(0, 0)\n};return /*#__PURE__*/_jsx(\"div\",{style:{display:\"flex\",flexDirection:\"column\",zIndex:100},children:categories.map((item,index,array)=>{const isSelected=item===store.currentCategory;//||\n//   (store.currentCategory === \"\" && item === ALL_CATEGORY)\nreturn /*#__PURE__*/_jsx(Component,{style:{margin:\"10px\",padding:\"5px\",backgroundColor:\"lightblue\",borderRadius:\"8px\",zIndex:90},...props,categoryTitle:item.toString(),variant:!isSelected?BTN_CAT:BTN_CAT_SEL,onClick:e=>{e.stopPropagation();if(!isSelected)handleNewPage(item);}},index);})});};}export function currentCategory(Component){return props=>{var _window_location,_window;//const [store, setStore] = useStore()\nconst searchParams=new URLSearchParams((_window=window)===null||_window===void 0?void 0:(_window_location=_window.location)===null||_window_location===void 0?void 0:_window_location.search);searchParams.get(\"cat\")||ALL_CATEGORY;const[category,setCategories]=useState(searchParams.get(\"cat\")||ALL_CATEGORY);//useSetQuery()\n/*\n        useEffect(() => {\n            setCategories(store.currentCategory)\n        }, [store.currentCategory])\n*/return /*#__PURE__*/_jsx(Component,{...props,category:category});};}\nexport const __FramerMetadata__ = {\"exports\":{\"withPageSelector\":{\"type\":\"reactHoc\",\"name\":\"withPageSelector\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withPrevious\":{\"type\":\"reactHoc\",\"name\":\"withPrevious\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withCategoryButtons\":{\"type\":\"reactHoc\",\"name\":\"withCategoryButtons\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withLoadMore\":{\"type\":\"reactHoc\",\"name\":\"withLoadMore\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withCurrentPage\":{\"type\":\"reactHoc\",\"name\":\"withCurrentPage\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"currentCategory\":{\"type\":\"reactHoc\",\"name\":\"currentCategory\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"onlyUnique\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withTablePagination\":{\"type\":\"reactHoc\",\"name\":\"withTablePagination\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"useStore\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withInfiniteScroll\":{\"type\":\"reactHoc\",\"name\":\"withInfiniteScroll\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withNext\":{\"type\":\"reactHoc\",\"name\":\"withNext\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withCounter\":{\"type\":\"reactHoc\",\"name\":\"withCounter\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withCollectionList\":{\"type\":\"reactHoc\",\"name\":\"withCollectionList\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Pagination.map","import{jsx as _jsx}from\"react/jsx-runtime\";import{useStore}from\"https://framerusercontent.com/modules/YPuY9t7IAvII0NZLmwGW/h6EuVIArRylxJnQStUZm/Pagination.js\";import{useEffect,useState}from\"react\";import{addPropertyControls,ControlType}from\"framer\";// Welcome to Code in Framer\n// Get Started: https://www.framer.com/developers/\nconst ALL_CATEGORY=\"todos\";const selectInputCategories=[{label:\"Todas las categor\\xedas\",value:\"todos\"},{label:\"Oposiciones\",value:\"oposiciones\"},{label:\"Fuerzas y Cuerpos de Seguridad\",value:\"fuerzas-y-cuerpos-de-seguridad\"},{label:\"Administrativos\",value:\"administrativos\"},{label:\"Correos\",value:\"correos\"},{label:\"Leyes\",value:\"leyes\"},{label:\"Bomberos\",value:\"bomberos\"},{label:\"Tropa y Mariner\\xeda\",value:\"tropa-y-marineria\"},{label:\"Metro Madrid\",value:\"metro-madrid\"},{label:\"T\\xe9cnicas de Estudio\",value:\"tecnicas-de-estudio\"},{label:\"Justicia\",value:\"justicia\"},{label:\"Consejos Estudio\",value:\"consejos-estudio\"},{label:\"MIR/EIR\",value:\"mir-eir\"}];export default function CategoryBlogSelector({category,...props}){const[store,setStore]=useStore();const[categories,setCategories]=useState([]);const[currentCategory,setCurrentCategory]=useState(\"\");console.log(\"CategoryBlogSelector:: \",category);useEffect(()=>{setCurrentCategory(category||\"todos\");},[category]);const handleNewPage=newCategorySlug=>{try{setCurrentCategory(newCategorySlug);// const searchParams = new URLSearchParams(window?.location?.search)\nif(newCategorySlug===ALL_CATEGORY){var _window_location,_window,_window_location1,_window1;(_window=window)===null||_window===void 0?void 0:(_window_location=_window.location)===null||_window_location===void 0?void 0:_window_location.href=`${(_window1=window)===null||_window1===void 0?void 0:(_window_location1=_window1.location)===null||_window_location1===void 0?void 0:_window_location1.origin}/blog`;}else{var // searchParams.set(\"cat\", newCategorySlug)\n// searchParams.delete(\"p\")\n_window_location2,_window2,_window_location3,_window3;(_window2=window)===null||_window2===void 0?void 0:(_window_location2=_window2.location)===null||_window_location2===void 0?void 0:_window_location2.href=`${(_window3=window)===null||_window3===void 0?void 0:(_window_location3=_window3.location)===null||_window_location3===void 0?void 0:_window_location3.origin}/blog/categoria/${newCategorySlug}`;}}catch(ex){console.error(ex);}};return /*#__PURE__*/_jsx(\"div\",{style:containerStyle,children:/*#__PURE__*/_jsx(\"select\",{name:\"select\",style:{WebkitAppearance:\"none\",width:\"100%\",height:49,backgroundColor:\"white\",fontSize:16,borderRadius:5,fontFamily:\"Inter, sans serif\",lineHeight:\"1.2em\",paddingLeft:15,paddingRight:15,background:\"transparent\",backgroundImage:`url(\"data:image/svg+xml;utf8,<svg fill='black' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>\")`,backgroundRepeat:\"no-repeat\",backgroundPositionX:\"100%\",backgroundPositionY:\"10px\",border:\"none\",color:\"black\"},value:currentCategory,onChange:({target:{value}})=>handleNewPage(value),children:selectInputCategories.map(({label,value})=>/*#__PURE__*/_jsx(\"option\",{value:value,style:{color:\"black\"},children:label}))})});}const containerStyle={display:\"flex\",width:\"100%\",minWidth:340,justifyContent:\"center\",alignItems:\"center\",overflow:\"hidden\",borderWidth:1,borderStyle:\"solid\",borderColor:\"rgb(37, 35, 35)\",borderRadius:5};CategoryBlogSelector.defaultProps={category:\"\"};addPropertyControls(CategoryBlogSelector,{category:{title:\"Categor\\xeda\",type:ControlType.String}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"CategoryBlogSelector\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}"],"mappings":"ynBACutB,SAAS,GAAqB,EAAU,GAAG,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