{"version":3,"file":"Custom_Code_Reset.BsVbfHvf.mjs","names":["React.isValidElement","React.cloneElement","useRef","useMemo","React.useCallback","_jsxs","_jsx","__esmMin","ne","init_ssg_sandbox_shims","j","init_npm_react_18_3_1","window","pe","z","K","c","p","de","addPropertyControls","RenderTarget","init_framer_BWzg2IRg","ControlType","init_store_management","evGetRandomString","getCollectionStoreKey","useCollectionStoreBinding","removeSavedServicesFilters","path","storage","keys","i","key","SERVICES_FILTER_MEMORY_PREFIX","encodedPath","decoded","error","normalizeGroup","value","result","resolveCollectionStore","source","hasMeaningfulValue","filterIsActive","filter","storeHasActiveFilters","state","clearStoreState","previous","resetPage","fillSlot","node","next","child","index","CMSClearAllFilters","props","button","primaryCollection","secondaryCollection","filterGroup","primaryStore","FALLBACK_PRIMARY","secondaryStore","FALLBACK_SECONDARY","visibility","canvasState","blockLink","fillButton","debugMode","style","id","isCanvas","componentId","explicitGroup","derivedPrimary","derivedSecondary","primaryStoreKey","secondaryStoreKey","primaryBinding","secondaryBinding","canonicalProviderBinding","canonicalServicesBinding","derivedPrimaryKey","derivedSecondaryKey","derivedPrimaryBinding","derivedSecondaryBinding","allStoreBindings","allStoreKeys","item","primaryState","secondaryState","primaryActive","secondaryActive","runtimeActive","visibleActive","shouldShow","clearAll","event","target","changed","visited","renderedButton","init_Custom_Code_Reset","init_jsx_runtime"],"sources":["https:/framerusercontent.com/modules/kgrlOYFiFktELwwW32t0/f3RizNuLSUZ3dAkwCHB0/Custom_Code_Reset.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import*as React from\"react\";import{useMemo,useRef}from\"react\";import{addPropertyControls,ControlType,RenderTarget}from\"framer\";import{useCollectionStoreBinding,getCollectionStoreKey,evGetRandomString}from\"https://framerusercontent.com/modules/2VZikWBxCagm4nJReNjX/PfyILngDXp5cnNZmDCPc/store_management.js\";/**\n * CMS Clear All Filters — custom Framer design\n *\n * Designed for the current dual-store setup:\n * Primary   = Service Providers\n * Secondary = Services\n *\n * @framerIntrinsicWidth 140\n * @framerIntrinsicHeight 44\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight auto\n * @framerDisableUnlink\n */const FALLBACK_PRIMARY=\"Service Providers\";const FALLBACK_SECONDARY=\"Services\";// Shared Filters persists selections under this prefix. Clear must remove them\n// too, otherwise a locale switch / browser Back can restore cleared filters.\nconst SERVICES_FILTER_MEMORY_PREFIX=\"zettla:services:filters:v1:\";function removeSavedServicesFilters(){if(typeof window===\"undefined\")return;try{const path=window.location.pathname.toLowerCase().replace(/\\/+$/,\"\");// Only touch Services; this Clear component can be reused elsewhere.\nif(!/(?:^|\\/)(?:services|servicios)$/.test(path))return;const storage=window.sessionStorage;const keys=[];for(let i=0;i<storage.length;i++){const key=storage.key(i);if(key?.startsWith(SERVICES_FILTER_MEMORY_PREFIX)){const suffix=key.slice(SERVICES_FILTER_MEMORY_PREFIX.length);// The stored path is encodedURIComponent('/services') or the\n// historical locale-specific '/es/services' path.\nconst encodedPath=suffix.split(\":\",1)[0];let decoded=\"\";try{decoded=decodeURIComponent(encodedPath);}catch{}if(/(?:^|\\/)(?:services|servicios)\\/?$/i.test(decoded)){keys.push(key);}}}keys.forEach(key=>storage.removeItem(key));}catch(error){console.warn(\"[CMSClearAllFilters] Could not clear saved Services filters\",error);}}function normalizeGroup(value){if(typeof value!==\"string\")return\"\";const result=value.trim();if(!result||result.toLowerCase()===\"auto\")return\"\";return result;}function resolveCollectionStore(source){if(!source)return\"\";try{return getCollectionStoreKey(source,\"auto\")||\"\";}catch{return\"\";}}function hasMeaningfulValue(value){if(Array.isArray(value))return value.length>0;if(value===null||value===undefined)return false;if(typeof value===\"string\")return value.trim()!==\"\";if(typeof value===\"object\")return Object.keys(value).length>0;return true;}function filterIsActive(filter){if(!filter)return false;const candidates=[filter.value,filter.values,filter.alternateValues,filter.selectedValue,filter.selectedMin,filter.selectedMax,filter.from,filter.to];return candidates.some(hasMeaningfulValue);}function storeHasActiveFilters(state){const filters=Array.isArray(state?.filters)?state.filters:[];return filters.some(filterIsActive);}function clearStoreState(previous,resetPage){// Search uses both CMS text filters and legacy searchRules; reset BOTH.\n// Epoch prevents search/local UI from re-seeding old text after the click.\nreturn{...previous||{},filters:[],searchRules:[],searchTerm:\"\",searchFields:[],searchDisplayTitle:\"\",zettlaFacetSearch:null,zettlaResetEpoch:Number(previous?.zettlaResetEpoch||0)+1,...resetPage?{pagination:{...previous?.pagination||{},page:1}}:{}};}function fillSlot(node){const children=React.Children.toArray(node);const next=children.map((child,index)=>{if(!/*#__PURE__*/React.isValidElement(child))return child;return /*#__PURE__*/React.cloneElement(child,{key:child.key??`cms-clear-slot-${index}`,style:{...child.props?.style||{},width:\"100%\",maxWidth:\"none\",minWidth:0,alignSelf:\"stretch\"}});});if(Array.isArray(node))return next;return next[0]??node;}export default function CMSClearAllFilters(props){const{button,primaryCollection,secondaryCollection,filterGroup=\"auto\",primaryStore=FALLBACK_PRIMARY,secondaryStore=FALLBACK_SECONDARY,visibility=\"activeOnly\",canvasState=\"active\",resetPage=true,blockLink=true,fillButton=true,debugMode=false,style,id}=props;const isCanvas=RenderTarget.current()===RenderTarget.canvas;const componentIdRef=useRef(id||evGetRandomString());const componentId=componentIdRef.current;const explicitGroup=normalizeGroup(filterGroup);const derivedPrimary=useMemo(()=>resolveCollectionStore(primaryCollection),[primaryCollection]);const derivedSecondary=useMemo(()=>resolveCollectionStore(secondaryCollection),[secondaryCollection]);// Exact store names win in auto mode. This avoids the old issue where a\n// wrapped CMS slot sometimes resolved to a different key and the Reset\n// component never saw the active filters.\nconst primaryStoreKey=explicitGroup||String(primaryStore||\"\").trim()||derivedPrimary||FALLBACK_PRIMARY;const secondaryStoreKey=explicitGroup||String(secondaryStore||\"\").trim()||derivedSecondary||FALLBACK_SECONDARY;const primaryBinding=useCollectionStoreBinding(primaryStoreKey,`${componentId}-clear-primary`);const secondaryBinding=useCollectionStoreBinding(secondaryStoreKey,`${componentId}-clear-secondary`);// The latest carousel checks both canonical stores and the collection-derived\n// store. Reset every distinct store it can read, even when the connected\n// Framer CMS slot resolves to an unexpected locale-specific key.\nconst canonicalProviderBinding=useCollectionStoreBinding(FALLBACK_PRIMARY,`${componentId}-clear-canonical-provider`);const canonicalServicesBinding=useCollectionStoreBinding(FALLBACK_SECONDARY,`${componentId}-clear-canonical-services`);const derivedPrimaryKey=derivedPrimary||primaryStoreKey;const derivedSecondaryKey=derivedSecondary||secondaryStoreKey;const derivedPrimaryBinding=useCollectionStoreBinding(derivedPrimaryKey,`${componentId}-clear-derived-primary`);const derivedSecondaryBinding=useCollectionStoreBinding(derivedSecondaryKey,`${componentId}-clear-derived-secondary`);const allStoreBindings=[{key:primaryStoreKey,binding:primaryBinding},{key:secondaryStoreKey,binding:secondaryBinding},{key:FALLBACK_PRIMARY,binding:canonicalProviderBinding},{key:FALLBACK_SECONDARY,binding:canonicalServicesBinding},{key:derivedPrimaryKey,binding:derivedPrimaryBinding},{key:derivedSecondaryKey,binding:derivedSecondaryBinding}];const allStoreKeys=Array.from(new Set(allStoreBindings.map(item=>item.key).filter(Boolean)));const primaryState=primaryBinding?.state;const secondaryState=secondaryBinding?.state;const primaryActive=storeHasActiveFilters(primaryState);const secondaryActive=secondaryStoreKey!==primaryStoreKey&&storeHasActiveFilters(secondaryState);const runtimeActive=primaryActive||secondaryActive||allStoreBindings.some(item=>item.binding?.state?.zettlaFacetSearch?.term||storeHasActiveFilters(item.binding?.state)||Boolean(item.binding?.state?.searchTerm)||Array.isArray(item.binding?.state?.searchRules)&&item.binding.state.searchRules.length>0);const visibleActive=isCanvas?canvasState===\"active\":runtimeActive;const shouldShow=visibility===\"always\"||visibleActive;const clearAll=React.useCallback(event=>{if(blockLink&&event){event.preventDefault();event.stopPropagation();}// Prevent persisted Services filters from being re-injected on\n// Refresh, Back or locale change after Reset.\nremoveSavedServicesFilters();// City URL Sync can otherwise re-apply a previously selected\n// location immediately after Clear or on the next browser Back.\nif(typeof window!==\"undefined\"){try{const path=window.location.pathname.toLowerCase().replace(/\\/+$/,\"\");if(/(?:^|\\/)(?:services|servicios)$/.test(path)){const target=new URL(window.location.href);let changed=false;for(const key of Array.from(target.searchParams.keys())){if(/^(?:auto|neighborhood|service-providers|services)-city$/i.test(key)){target.searchParams.delete(key);changed=true;}}if(changed)window.history.replaceState(window.history.state,\"\",`${target.pathname}${target.search}${target.hash}`);}}catch(error){console.warn(\"[CMSClearAllFilters] Could not clear City URL Sync\",error);}}// Signal ALL connected filter/search controls before shared-store\n// writes. This clears local draft selection and restoration guards.\nif(typeof window!==\"undefined\"){window.dispatchEvent(new CustomEvent(\"zettla:cms-reset\",{detail:{storeKeys:allStoreKeys}}));}// A Framer CMS slot may yield its own store key. Clear each distinct\n// key in this same click, including the two canonical provider keys.\n// setState is idempotent per store; duplicate bindings are skipped.\nconst visited=new Set;for(const item of allStoreBindings){if(!item.key||visited.has(item.key))continue;visited.add(item.key);item.binding?.setState?.(previous=>clearStoreState(previous,resetPage));}if(debugMode){console.log(\"🧹 CMS Clear All\",{primaryStoreKey,secondaryStoreKey,primaryFilters:primaryState?.filters?.length||0,secondaryFilters:secondaryState?.filters?.length||0});}},[blockLink,resetPage,allStoreBindings,allStoreKeys,primaryStoreKey,secondaryStoreKey,primaryState?.filters,secondaryState?.filters,debugMode]);const renderedButton=fillButton?fillSlot(button):button;return /*#__PURE__*/_jsxs(\"div\",{\"data-cms-clear-active\":visibleActive?\"true\":\"false\",style:{width:\"100%\",maxWidth:\"none\",minWidth:0,alignSelf:\"stretch\",boxSizing:\"border-box\",display:shouldShow?\"block\":\"none\",...style},children:[renderedButton?/*#__PURE__*/_jsx(\"div\",{role:\"button\",\"aria-label\":\"Clear all filters\",tabIndex:shouldShow?0:-1,onClickCapture:clearAll,onKeyDown:event=>{if(event.key===\"Enter\"||event.key===\" \"){event.preventDefault();clearAll(event);}},style:{width:\"100%\",maxWidth:\"none\",minWidth:0,cursor:\"pointer\"},children:renderedButton}):/*#__PURE__*/_jsx(\"div\",{style:{width:\"100%\",minHeight:40,display:\"flex\",alignItems:\"center\",justifyContent:\"center\",border:\"1px dashed rgba(0,0,0,.2)\",borderRadius:8,fontSize:12,fontFamily:\"Inter, system-ui, sans-serif\",color:\"rgba(0,0,0,.55)\"},children:\"Connect your Reset button design\"}),debugMode&&/*#__PURE__*/_jsxs(\"div\",{style:{marginTop:8,padding:8,border:\"1px solid rgba(0,0,0,.12)\",borderRadius:6,fontFamily:\"ui-monospace, SFMono-Regular, Menlo, monospace\",fontSize:10,lineHeight:\"14px\"},children:[/*#__PURE__*/_jsxs(\"div\",{children:[\"Primary Store: \",primaryStoreKey]}),/*#__PURE__*/_jsxs(\"div\",{children:[\"Secondary Store: \",secondaryStoreKey]}),/*#__PURE__*/_jsxs(\"div\",{children:[\"Primary Active: \",primaryActive?\"Yes\":\"No\"]}),/*#__PURE__*/_jsxs(\"div\",{children:[\"Secondary Active: \",secondaryActive?\"Yes\":\"No\"]}),/*#__PURE__*/_jsxs(\"div\",{children:[\"Visible: \",shouldShow?\"Yes\":\"No\"]})]})]});}addPropertyControls(CMSClearAllFilters,{button:{type:ControlType.Slot,title:\"Button\",description:\"Connect your own Framer Reset / Clear All design.\",maxCount:1},filterGroup:{type:ControlType.String,title:\"Filter Group\",description:\"Keep auto for the current dual-store setup. If CMSFilters uses one explicit shared group, enter it here.\",defaultValue:\"auto\",placeholder:\"auto\"},primaryStore:{type:ControlType.String,title:\"Primary Store\",description:\"Exact Primary Store shown by CMSFilters debug.\",defaultValue:\"Service Providers\",hidden:p=>normalizeGroup(p.filterGroup)!==\"\"},secondaryStore:{type:ControlType.String,title:\"Secondary Store\",description:\"Exact Secondary Store shown by CMSFilters debug.\",defaultValue:\"Services\",hidden:p=>normalizeGroup(p.filterGroup)!==\"\"},primaryCollection:{type:ControlType.Slot,title:\"Primary CMS\",description:\"Optional. Store names above are more reliable for this setup.\",maxCount:1,hidden:p=>normalizeGroup(p.filterGroup)!==\"\"},secondaryCollection:{type:ControlType.Slot,title:\"Secondary CMS\",description:\"Optional. Store names above are more reliable for this setup.\",maxCount:1,hidden:p=>normalizeGroup(p.filterGroup)!==\"\"},visibility:{type:ControlType.Enum,title:\"Visibility\",options:[\"activeOnly\",\"always\"],optionTitles:[\"Filters Active\",\"Always\"],defaultValue:\"activeOnly\",displaySegmentedControl:true},canvasState:{type:ControlType.Enum,title:\"Canvas State\",description:\"Preview the active/hidden state while designing in Framer.\",options:[\"active\",\"inactive\"],optionTitles:[\"Active\",\"Inactive\"],defaultValue:\"active\",displaySegmentedControl:true,hidden:p=>p.visibility===\"always\"},resetPage:{type:ControlType.Boolean,title:\"Reset Page\",defaultValue:true,enabledTitle:\"Yes\",disabledTitle:\"No\"},blockLink:{type:ControlType.Boolean,title:\"Block Link\",description:\"Prevents a connected link-style button from navigating.\",defaultValue:true,enabledTitle:\"Yes\",disabledTitle:\"No\"},fillButton:{type:ControlType.Boolean,title:\"Button Width\",description:\"Forces your connected Reset design to fill this component.\",defaultValue:true,enabledTitle:\"Fill\",disabledTitle:\"Original\"},debugMode:{type:ControlType.Boolean,title:\"Debug\",defaultValue:false,enabledTitle:\"On\",disabledTitle:\"Off\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"CMSClearAllFilters\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Custom_Code_Reset.map"],"mappings":"A,+SAckE,SAAS2B,IAA4B,CAAC,GAAUf,IAAS,OAAmB,GAAG,CAAC,IAAMgB,EAAKhB,EAAO,SAAS,SAAS,YAAY,CAAC,CAAC,QAAQ,OAAO,EAAE,EACrN,GAAG,CAAC,kCAAkC,KAAKgB,CAAI,EAAE,OAAO,IAAMC,EAAQjB,EAAO,eAAqBkB,EAAK,CAAC,EAAE,IAAI,IAAIC,EAAE,EAAEA,EAAEF,EAAQ,OAAOE,IAAI,CAAC,IAAMC,EAAIH,EAAQ,IAAIE,CAAC,EAAE,G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