{"version":3,"file":"CMSFilter.CdINSJR2.mjs","names":["useRef","useMemo","cloneElement","_jsx","_Fragment","useState","useRef","_Fragment","_Fragment","_Fragment","_Fragment","_Fragment","useState","useRef","_Fragment","_Fragment","useState","useRef","__esmMin","de","pe","ce","z","_e","p","init_npm_react_18_3_1","addPropertyControls","useQueryData","RenderTarget","init_framer_Bf4_tcb2","ControlType","init_createStore","createStore","init_store_js__1","evGetRandomString","result","i","length","globalInitStore","stores","getCollectionStore","getCollectionStoreKey","getCollectionInfo","getAvailableFilterFields","isCanvas","init_StoreManagement","collectionId","newStore","initState","setInitState","manualStoreKey","cmsQuery","collection","alias","data","propertyControls","key","control","field","getComponentName","processVariantOverrides","wrapWithVariantOverrides","init_Variant_utils","element","child","variantOverrides","depth","componentName","override","vo","newProps","originalJSX","originalChildrenFn","paginationInfo","loadMore","hasValidFilterValue","buildSearchWhereClause","buildFilterWhereClause","buildFiltersWhereClause","buildMultiValueFilterClause","combineWhereClauses","buildOrderByClause","init_Query_builders","filter","operator","value","searchTerm","searchFields","searchFieldKeys","title","conditions","fieldKey","whereClause","val","combined","shouldInvert","isTriStateOff","baseQuery","mappedOperator","validFilters","filters","filtersByComponent","componentConditions","componentFilters","componentId","builderLogic","filterConditions","builderOperator","componentCombined","globalOperator","globalLogic","globalCombined","baseIdentifier","filterOperator","existing","additional","sortState","sort","useQueryCount","debugMode","query","countQuery","CMSCollection","props","fallbackText","fallback","actualStoreKey","storeKey","isInitialized","isStoreInitialized","collectionInfo","useStore","state","setState","originalQuery","searchWhere","filtersWhere","filterLogic","combinedWhere","finalWhere","orderBy","containerStyles","layoutToggle","layoutDisplay","flexDirection","alignRow","alignColumn","flexWrap","gapY","gapX","gapRow","gridColumns","gridRows","justifyContent","gridAutoRows","filteredQuery","currentCount","clonedCollection","originalElement","originalListElement","originalQueryElement","processedCollection","listElement","containerElement","cmsItem","wrappedChildren","newCmsItem","isEditorMode","showEmptyState","modifiedEmptyState","emptyState","emptyStateWidth","style","collectionWidth","init_CMSCollection","init_jsx_runtime","getOptionData","getActiveMatch","getRecommendedFilterType","getOptionCounts","formatCountDisplay","hasValidValue","init_filter_utils","config","values","titles","optionMap","option","cmsFieldType","counts","enumValues","enumValue","countData","template","countText","count","countStyle","activeMatch","TextFilter","l","uniqueClassName","filterInputStyles","border","onChange","init_TextFilter","SelectFilter","isOpen","setIsOpen","dropdownRef","handleClickOutside","event","selectControls","filterSelectStyles","optionControls","selectedValues","toggleOption","optionValue","v","idx","DropdownArrow","selectedIdx","displayText","controls","init_SelectFilter","CMSEnumFilter","enumFieldInfo","availableFields","f","enumOptions","optionCounts","configWithOptions","optionTitle","selected","filterCheckboxStyles","CheckboxItem","isSelected","current","filterPillStyles","text","countElement","label","countTemplate","styles","init_CMSEnumFilter","ToggleFilter","toggleStyle","isTriState","showLabels","isInverse","defaultLabels","onLabel","offLabel","anyLabel","isValueActive","currentState","handleClick","renderSwitch","renderPill","switchWidth","filterToggleStyles","switchHeight","knobSize","gap","knobPositionOff","knobPositionAny","knobPositionOn","stateClass","borderRadius","pillGap","pillOptions","opt","isActive","init_ToggleFilter","CheckboxFilter","options","isAllSelected","debugLevel","init_CheckboxFilter","TagFilter","init_TagFilter","DropdownFilter","init_DropdownFilter","NumberFilter","stringValue","numValue","init_NumberFilter","DoubleRangeSlider","min","max","step","initialMin","initialMax","minRange","setMinRange","maxRange","setMaxRange","isSyncingRef","lastEmittedRef","rangeTrackRef","minInputRef","maxInputRef","nextMin","nextMax","minPercent","maxPercent","last","onRangeChange","handleMinInput","raw","newValue","minRangeValueGap","handleMaxInput","handleTrackClick","rect","clickPct","clickValue","newMin","newMax","rangeColor","bubbleColor","bubbleTextColor","font","trackColor","thumbBorderColor","thumbColor","init_DoubleRangeSlider","RangeFilter","currentValue","unit","filterRangeStyles","minValue","maxValue","init_RangeFilter","FilterControl","fieldInfo","isToggleInvalid","hasValue","showLabel","filterLabelStyles","labelText","fieldExists","isValidField","filterContainerStyles","init_FilterControl","CMSFilters","debug","id","filterValues","setFilterValues","setIsInitialized","thisComponentFilters","restoredValues","lastDashIndex","filterId","lastKnownStoreStateRef","allStoreFilters","storeStateKey","a","b","newFilterValues","index","fieldName","normalizedFieldName","matchingStoreFilter","currentFilterValues","activeFilters","originalIndex","c","currentFilters","prevState","normalizeFieldName","mergedFilters","existingIndex","newFilter","handleFilterChange","prev","renderFilters","init_CMSFilter"],"sources":["https:/framer.com/m/framer/store.js@^1.0","https:/framerusercontent.com/modules/fGN1IPlqamL7joTmwPeH/Xt9cbw9Ua9mMHpg4UuVs/StoreManagement.js","https:/framerusercontent.com/modules/fHgEuOY9q2vjBn6zUxcL/mRiOUDyYp9zY9ZfmruWC/Variant_utils.js","https:/framerusercontent.com/modules/Ynj5QNLR3Gsyj4M9gmMa/1Cxb6sN3Pj7DY7eZEqap/Query_builders.js","https:/framerusercontent.com/modules/nsln4iFvMbxWPrBadbov/kZKkz3vF1vM5NKEer0v0/CMSCollection.js","https:/framerusercontent.com/modules/8t4wAEVIEW49rMhOZjZW/PQhcG4yZfkIHdwCdaOvo/filter_utils.js","https:/framerusercontent.com/modules/FHqRXME93mWMs3IDWXfC/QyFeIJkqOBoO6JAm0cN7/TextFilter.js","https:/framerusercontent.com/modules/AriU3p2OUNgHYoCILVA4/nqX4dl8nxEQow1sOWrpt/SelectFilter.js","https:/framerusercontent.com/modules/ybJHDJ85VZoRJ6fNzsI0/YHjhDt2cjmLhNvByL0Ws/CMSEnumFilter.js","https:/framerusercontent.com/modules/10QCf43E4tbOXgx1ECvJ/Dj72TpTH6KjmWMrKOgXO/ToggleFilter.js","https:/framerusercontent.com/modules/ixFJb1DikSWTe5cysJbR/uwxJ105m5obu07VPRHaM/CheckboxFilter.js","https:/framerusercontent.com/modules/rGXZZaT17uU9RXncOxdG/JUzUpnDZjrA7cK8tWJb7/TagFilter.js","https:/framerusercontent.com/modules/35TsDTo0KAsCudpwqnK1/qys6WXyOlS8iM4qhMVz3/DropdownFilter.js","https:/framerusercontent.com/modules/vnbZ8S3JJq34f4LkpBg9/UBDlNwteqwVm8UtOygEW/NumberFilter.js","https:/framerusercontent.com/modules/uqTCLD2flbyo9EM5RjrM/uai6aWSJQgbHX53Rgbiy/DoubleRangeSlider.js","https:/framerusercontent.com/modules/btM09c71B1E5oPlNZhUW/jknVSFzr1wwZQ8yskZjs/RangeFilter.js","https:/framerusercontent.com/modules/hGZZ1Rf3nrTLPZZQe1yw/5FGvUgbAomloVbe8dlrG/FilterControl.js","https:/framerusercontent.com/modules/qOvHvFzfJSFUfjvE3w8N/yIBYtdHbK9Ig8CPCfFiX/CMSFilter.js"],"sourcesContent":["/*\n * createStore (framer/store@1.0.1)\n *\n * Learn More: https://www.framer.com/asset-urls\n */\n\nexport * from \"https://framerusercontent.com/modules/vj7bFUjvEQFgEzNBkdoG/vf3CKm378wlVcBk7IhSU/createStore.js\"\n","// Store management utilities for CMS Collection\n// Extracted from CMSCollection.tsx for better modularity\nimport{RenderTarget}from\"framer\";import{createStore}from\"https://framer.com/m/framer/store.js@^1.0\";// Global store initialization tracker\nexport const globalInitStore=createStore({storeInitialized:[]});// Global stores per collection ID\nconst stores=new Map;// Helper to get or create store for collection\nexport const getCollectionStore=collectionId=>{if(!stores.has(collectionId)){const newStore=createStore({searchTerm:\"\",searchFields:[],filters:[],debug:true,count:0});stores.set(collectionId,newStore);// Mark this collection as initialized\nconst[initState,setInitState]=globalInitStore();if(!initState.storeInitialized.includes(collectionId)){setInitState({storeInitialized:[...initState.storeInitialized,collectionId]});}}return stores.get(collectionId);};// Helper to get store key for collection - prioritizes actual CMS collection name\nexport const getCollectionStoreKey=(collection,manualStoreKey)=>{// If manual store key is provided and not \"auto\", use it\nif(manualStoreKey&&manualStoreKey.trim()!==\"\"&&manualStoreKey!==\"auto\"){return manualStoreKey.trim();}const cmsQuery=collection?.length&&collection[0]?.props?.children?.props?.children?.props?.query;if(!cmsQuery)return null;// Handle TWO query structures:\n// 1. WITHOUT reference fields: query.from.data and query.from.alias\n// 2. WITH reference fields: query.from.left.data and query.from.constraint.left.alias\n//    (Framer adds a LEFT JOIN constraint when reference fields exist)\nlet alias=null;let data=null;if(cmsQuery.from?.constraint){// WITH reference fields - data and alias are in different locations\nalias=cmsQuery.from.constraint?.left?.alias||cmsQuery.from.constraint?.left?.collection;data=cmsQuery.from.left?.data;}else{// WITHOUT reference fields - standard path\nalias=cmsQuery.from?.alias;data=cmsQuery.from?.data;}// Priority order for store key:\n// 1. CMS collection name/title from data\n// 2. Collection display name\n// 3. Alias as fallback\nconst storeKey=data?.name||data?.title||data?.displayName||alias;return storeKey||null;};// Helper to extract collection info from slot connection\nexport const getCollectionInfo=collection=>{const cmsQuery=collection?.length&&collection[0]?.props?.children?.props?.children?.props?.query;if(!cmsQuery)return null;// Handle TWO query structures (same as getCollectionStoreKey):\n// 1. WITHOUT reference fields: query.from.data and query.from.alias\n// 2. WITH reference fields: query.from.left.data and query.from.constraint.left.alias\nlet alias=null;let data=null;if(cmsQuery.from?.constraint){// WITH reference fields\nalias=cmsQuery.from.constraint?.left?.alias||cmsQuery.from.constraint?.left?.collection;data=cmsQuery.from.left?.data;}else{// WITHOUT reference fields\nalias=cmsQuery.from?.alias;data=cmsQuery.from?.data;}return{collectionId:alias||\"\",collectionName:data?.displayName||\"\",query:cmsQuery,propertyControls:data?.propertyControls||{}};};// Helper to get available fields from CMS with their types\nexport const getAvailableFilterFields=propertyControls=>{if(!propertyControls||typeof propertyControls!==\"object\"){return[];}return Object.entries(propertyControls).map(([key,control])=>({key,title:control.title||key,type:control.type||\"string\",options:control.options,optionTitles:control.optionTitles})).filter(field=>field.title&&field.type);};// Utility function to generate random strings\nexport function evGetRandomString(length=8){const chars=\"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789\";let result=\"\";for(let i=0;i<length;i++){result+=chars.charAt(Math.floor(Math.random()*chars.length));}return result;}// Environment detection helpers\nexport const isPreview=RenderTarget.current()===RenderTarget.preview;export const isCanvas=RenderTarget.current()===RenderTarget.canvas;\nexport const __FramerMetadata__ = {\"exports\":{\"getCollectionStore\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"evGetRandomString\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"getCollectionInfo\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"getCollectionStoreKey\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"isCanvas\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"globalInitStore\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"getAvailableFilterFields\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"isPreview\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./StoreManagement.map","// Variant override utilities for CMS Collection\n// Extracted for better readability and maintainability\nimport{cloneElement}from\"react\";/**\n * Get component name from React element\n * @param element - React element\n * @returns Component name string or null\n */export const getComponentName=element=>{if(!element?.type)return null;// Try displayName first, then name, then fallback\nreturn element.type.displayName||element.type.name||element.type.constructor?.name||\"Unknown\";};/**\n * Recursively process React tree and apply variant overrides\n * @param element - React element to process\n * @param variantOverrides - Array of variant override configurations\n * @param depth - Current recursion depth (for debugging)\n * @returns Processed React element with variant overrides applied\n */export const processVariantOverrides=(element,variantOverrides,depth=0)=>{// Return non-object elements as-is (strings, numbers, null, etc.)\nif(!element||typeof element!==\"object\"){return element;}// Handle arrays of elements\nif(Array.isArray(element)){return element.map(child=>processVariantOverrides(child,variantOverrides,depth));}// Process React elements\nif(element.type&&element.props){const componentName=getComponentName(element);// Check if this component should have its variant overridden\nconst override=variantOverrides.find(vo=>vo.componentName.toLowerCase().trim()===componentName?.toLowerCase().trim());let newProps={...element.props};// ONLY change variant if we found a matching override\nif(override){newProps.variant=override.variantName;}// Always process children recursively\nif(newProps.children){if(Array.isArray(newProps.children)){newProps.children=newProps.children.map(child=>processVariantOverrides(child,variantOverrides,depth+1));}else{newProps.children=processVariantOverrides(newProps.children,variantOverrides,depth+1);}}return /*#__PURE__*/cloneElement(element,newProps);}return element;};/**\n * Wrap CMS Item children function with variant override logic\n * @param originalChildrenFn - Original children render function from CMS Item\n * @param variantOverrides - Array of variant override configurations\n * @returns Wrapped function that applies variant overrides\n */export const wrapWithVariantOverrides=(originalChildrenFn,variantOverrides)=>{return(collection,paginationInfo,loadMore)=>{// Call original function to get JSX\nconst originalJSX=originalChildrenFn(collection,paginationInfo,loadMore);// Process the JSX tree and apply variant overrides\nreturn processVariantOverrides(originalJSX,variantOverrides);};};\nexport const __FramerMetadata__ = {\"exports\":{\"processVariantOverrides\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"wrapWithVariantOverrides\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"getComponentName\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Variant_utils.map","// Query building utilities for CMS Collection\n// Extracted from CMSCollection.tsx for better modularity\n// ============================================\n// Validation Helper\n// ============================================\n/**\n * Check if filter has valid value based on type\n */export const hasValidFilterValue=filter=>{const{value,operator}=filter;// Operators that don't need values\nif(operator===\"is_set\"||operator===\"is_not_set\"){return true;}// Handle different value types\nif(value===null||value===undefined){return false;}// For numeric comparison operators, validate number conversion\nconst numericOps=[\"greater_than\",\"less_than\",\"greater_than_or_equal\",\"less_than_or_equal\"];if(numericOps.includes(operator)){if(typeof value===\"number\")return!isNaN(value);if(typeof value===\"string\")return!isNaN(parseFloat(value));return false;}// For range filters, check both min and max\nif(operator===\"between\"&&typeof value===\"object\"){return value.min!==undefined&&!isNaN(value.min)||value.max!==undefined&&!isNaN(value.max);}// For arrays (multi-select), check length\nif(Array.isArray(value)){return value.length>0;}// For strings, check if not empty\nif(typeof value===\"string\"){return value.trim()!==\"\";}// For booleans and numbers, always valid\nreturn true;};// ============================================\n// Search Query Builder\n// ============================================\n/**\n * Build search where clause - ALWAYS OR across fields\n */export const buildSearchWhereClause=(searchTerm,searchFields,collectionId,propertyControls)=>{if(!searchTerm||!searchTerm.trim()||searchFields.length===0){return null;}// Convert field titles to internal keys\nconst searchFieldKeys=searchFields.map(title=>{const field=Object.entries(propertyControls).find(([key,control])=>control.title?.toLowerCase()===title.toLowerCase());return field?field[0]:title;}).filter(Boolean);if(searchFieldKeys.length===0)return null;// Build search conditions - ALWAYS OR\nconst conditions=searchFieldKeys.map(fieldKey=>({arguments:[{collection:collectionId,name:fieldKey,type:\"Identifier\"},{type:\"LiteralValue\",value:searchTerm}],functionName:\"CONTAINS\",type:\"FunctionCall\"}));// Single condition\nif(conditions.length===1){return conditions[0];}// Multiple conditions with OR logic\nlet whereClause={left:conditions[0],operator:\"or\",right:conditions[1],type:\"BinaryOperation\"};// Add remaining conditions with OR\nfor(let i=2;i<conditions.length;i++){whereClause={left:whereClause,operator:\"or\",right:conditions[i],type:\"BinaryOperation\"};}return whereClause;};// ============================================\n// Single Filter Query Builder\n// ============================================\n/**\n * Build filter where clause for a single filter\n */export const buildFilterWhereClause=(filter,collectionId,propertyControls)=>{if(!hasValidFilterValue(filter)){return null;}// Convert field title to internal key\nconst fieldKey=Object.entries(propertyControls).find(([key,control])=>control.title?.toLowerCase()===filter.field.toLowerCase())?.[0]||filter.field;const{operator,value}=filter;// ---- Handle is_set operator ----\nif(operator===\"is_set\"){return{left:{left:{collection:collectionId,name:fieldKey,type:\"Identifier\"},operator:\"!=\",right:{type:\"LiteralValue\",value:null},type:\"BinaryOperation\"},operator:\"and\",right:{left:{collection:collectionId,name:fieldKey,type:\"Identifier\"},operator:\"!=\",right:{type:\"LiteralValue\",value:\"\"},type:\"BinaryOperation\"},type:\"BinaryOperation\"};}// ---- Handle is_not_set operator ----\nif(operator===\"is_not_set\"){return{operator:\"not\",type:\"UnaryOperation\",value:{left:{left:{collection:collectionId,name:fieldKey,type:\"Identifier\"},operator:\"!=\",right:{type:\"LiteralValue\",value:null},type:\"BinaryOperation\"},operator:\"and\",right:{left:{collection:collectionId,name:fieldKey,type:\"Identifier\"},operator:\"!=\",right:{type:\"LiteralValue\",value:\"\"},type:\"BinaryOperation\"},type:\"BinaryOperation\"}};}// ---- Handle range (between) operator ----\nif(operator===\"between\"&&typeof value===\"object\"){const conditions=[];if(value.min!==undefined&&!isNaN(value.min)){conditions.push({left:{collection:collectionId,name:fieldKey,type:\"Identifier\"},operator:\">=\",right:{type:\"LiteralValue\",value:value.min},type:\"BinaryOperation\"});}if(value.max!==undefined&&!isNaN(value.max)){conditions.push({left:{collection:collectionId,name:fieldKey,type:\"Identifier\"},operator:\"<=\",right:{type:\"LiteralValue\",value:value.max},type:\"BinaryOperation\"});}if(conditions.length===0)return null;if(conditions.length===1)return conditions[0];return{left:conditions[0],operator:\"and\",right:conditions[1],type:\"BinaryOperation\"};}// ---- Handle array values (multi-select) ----\nif(Array.isArray(value)&&value.length>0){const conditions=value.map(val=>({left:{collection:collectionId,name:fieldKey,type:\"Identifier\"},operator:\"==\",right:{type:\"LiteralValue\",value:val},type:\"BinaryOperation\"}));if(conditions.length===1){return conditions[0];}// Combine with OR logic for multi-select\nlet combined={left:conditions[0],operator:\"or\",right:conditions[1],type:\"BinaryOperation\"};for(let i=2;i<conditions.length;i++){combined={left:combined,operator:\"or\",right:conditions[i],type:\"BinaryOperation\"};}return combined;}// ---- Handle toggle special operators ----\nif(filter.type===\"toggle\"){const shouldInvert=filter.config?.toggleInverse===true;const isTriStateOff=value===false;let baseQuery;switch(operator){case\"is_enabled\":baseQuery={left:{collection:collectionId,name:fieldKey,type:\"Identifier\"},operator:shouldInvert?\"!=\":\"==\",right:{type:\"LiteralValue\",value:true},type:\"BinaryOperation\"};break;case\"is_disabled\":baseQuery={left:{collection:collectionId,name:fieldKey,type:\"Identifier\"},operator:shouldInvert?\"!=\":\"==\",right:{type:\"LiteralValue\",value:false},type:\"BinaryOperation\"};break;case\"has_value\":baseQuery={left:{collection:collectionId,name:fieldKey,type:\"Identifier\"},operator:shouldInvert?\"<=\":\">\",right:{type:\"LiteralValue\",value:0},type:\"BinaryOperation\"};break;case\"is_empty\":baseQuery={left:{collection:collectionId,name:fieldKey,type:\"Identifier\"},operator:shouldInvert?\"!=\":\"==\",right:{type:\"LiteralValue\",value:0},type:\"BinaryOperation\"};break;}// If tri-state OFF, wrap in NOT to invert results\nif(isTriStateOff&&baseQuery){return{operator:\"not\",type:\"UnaryOperation\",value:baseQuery};}return baseQuery;}// ---- Handle text search functions ----\nif(operator===\"contains\"){return{arguments:[{collection:collectionId,name:fieldKey,type:\"Identifier\"},{type:\"LiteralValue\",value:value}],functionName:\"CONTAINS\",type:\"FunctionCall\"};}if(operator===\"starts_with\"){return{arguments:[{collection:collectionId,name:fieldKey,type:\"Identifier\"},{type:\"LiteralValue\",value:value}],functionName:\"STARTS_WITH\",type:\"FunctionCall\"};}if(operator===\"ends_with\"){return{arguments:[{collection:collectionId,name:fieldKey,type:\"Identifier\"},{type:\"LiteralValue\",value:value}],functionName:\"ENDS_WITH\",type:\"FunctionCall\"};}if(operator===\"not_contains\"){return{operator:\"not\",type:\"UnaryOperation\",value:{arguments:[{collection:collectionId,name:fieldKey,type:\"Identifier\"},{type:\"LiteralValue\",value:value}],functionName:\"CONTAINS\",type:\"FunctionCall\"}};}// ---- Handle comparison operators ----\nconst operatorMap={equals:\"==\",not_equals:\"!=\",greater_than:\">\",less_than:\"<\",greater_than_or_equal:\">=\",less_than_or_equal:\"<=\"};const mappedOperator=operatorMap[operator];if(mappedOperator){return{left:{collection:collectionId,name:fieldKey,type:\"Identifier\"},operator:mappedOperator,right:{type:\"LiteralValue\",value:value},type:\"BinaryOperation\"};}return null;};// ============================================\n// Multi-Filter Query Builder (Hierarchical)\n// ============================================\n/**\n * Build filters where clause with hierarchical logic system\n */export const buildFiltersWhereClause=(filters,collectionId,propertyControls,globalLogic,debugMode=false)=>{const validFilters=filters.filter(hasValidFilterValue);if(validFilters.length===0){return null;}// Group filters by component and builder logic\nconst filtersByComponent=new Map;validFilters.forEach(filter=>{const key=`${filter.componentId}-${filter.builderLogic}`;if(!filtersByComponent.has(key)){filtersByComponent.set(key,[]);}filtersByComponent.get(key).push(filter);});// Build conditions for each component group\nconst componentConditions=[];for(const[key,componentFilters]of filtersByComponent){const[componentId,builderLogic]=key.split(\"-\");// Build individual filter conditions\nconst filterConditions=componentFilters.map(filter=>{if(Array.isArray(filter.value)&&filter.value.length>1){return buildMultiValueFilterClause(filter,collectionId,propertyControls);}return buildFilterWhereClause(filter,collectionId,propertyControls);}).filter(Boolean);if(filterConditions.length===0)continue;if(filterConditions.length===1){componentConditions.push(filterConditions[0]);continue;}// Combine filters within component using builder logic\nconst builderOperator=builderLogic===\"All\"?\"and\":\"or\";let componentCombined={left:filterConditions[0],operator:builderOperator,right:filterConditions[1],type:\"BinaryOperation\"};for(let i=2;i<filterConditions.length;i++){componentCombined={left:componentCombined,operator:builderOperator,right:filterConditions[i],type:\"BinaryOperation\"};}componentConditions.push(componentCombined);}if(componentConditions.length===0){return null;}if(componentConditions.length===1){return componentConditions[0];}// Combine component conditions using global logic\nconst globalOperator=globalLogic===\"All\"?\"and\":\"or\";let globalCombined={left:componentConditions[0],operator:globalOperator,right:componentConditions[1],type:\"BinaryOperation\"};for(let i=2;i<componentConditions.length;i++){globalCombined={left:globalCombined,operator:globalOperator,right:componentConditions[i],type:\"BinaryOperation\"};}return globalCombined;};// ============================================\n// Multi-Value Filter Helper\n// ============================================\nconst buildMultiValueFilterClause=(filter,collectionId,propertyControls)=>{if(!Array.isArray(filter.value)||filter.value.length===0){return null;}const fieldKey=Object.entries(propertyControls).find(([key,control])=>control.title?.toLowerCase()===filter.field.toLowerCase())?.[0]||filter.field;const{operator}=filter;// Build conditions for each value\nconst conditions=filter.value.map(val=>{const baseIdentifier={collection:collectionId,name:fieldKey,type:\"Identifier\"};switch(operator){case\"contains\":return{arguments:[baseIdentifier,{type:\"LiteralValue\",value:val}],functionName:\"CONTAINS\",type:\"FunctionCall\"};case\"equals\":return{left:baseIdentifier,operator:\"==\",right:{type:\"LiteralValue\",value:val},type:\"BinaryOperation\"};// ... other operators\ndefault:return{left:baseIdentifier,operator:\"==\",right:{type:\"LiteralValue\",value:val},type:\"BinaryOperation\"};}});if(conditions.length===1){return conditions[0];}// not_contains always uses AND; others respect filter.logic\nconst filterOperator=filter.operator===\"not_contains\"?\"and\":filter.logic===\"All\"?\"and\":\"or\";let combined={left:conditions[0],operator:filterOperator,right:conditions[1],type:\"BinaryOperation\"};for(let i=2;i<conditions.length;i++){combined={left:combined,operator:filterOperator,right:conditions[i],type:\"BinaryOperation\"};}return combined;};// ============================================\n// Utility Functions\n// ============================================\n/**\n * Combine existing where clause with new filter where clause\n */export const combineWhereClauses=(existing,additional,operator=\"and\")=>{if(!existing&&!additional)return null;if(!existing)return additional;if(!additional)return existing;return{left:existing,operator:operator,right:additional,type:\"BinaryOperation\"};};/**\n * Build orderBy clause from sort state\n */export const buildOrderByClause=(sortState,propertyControls,collectionId)=>{if(!sortState||sortState.length===0){return[];}return sortState.map(sort=>{const fieldKey=Object.entries(propertyControls).find(([key,control])=>control.title?.toLowerCase()===sort.field.toLowerCase())?.[0]||sort.field;return{collection:collectionId,name:fieldKey,direction:sort.direction,type:\"Identifier\"};});};\nexport const __FramerMetadata__ = {\"exports\":{\"buildSearchWhereClause\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"buildFiltersWhereClause\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"combineWhereClauses\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"buildFilterWhereClause\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"buildOrderByClause\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"hasValidFilterValue\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Query_builders.map","import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{useEffect,useRef,useMemo,cloneElement}from\"react\";import{addPropertyControls,ControlType,RenderTarget,useQueryData}from\"framer\";import{getCollectionInfo,getCollectionStore,getCollectionStoreKey,globalInitStore}from\"https://framerusercontent.com/modules/fGN1IPlqamL7joTmwPeH/Xt9cbw9Ua9mMHpg4UuVs/StoreManagement.js\";import{wrapWithVariantOverrides}from\"https://framerusercontent.com/modules/fHgEuOY9q2vjBn6zUxcL/mRiOUDyYp9zY9ZfmruWC/Variant_utils.js\";import{buildFiltersWhereClause,buildOrderByClause,buildSearchWhereClause,combineWhereClauses}from\"https://framerusercontent.com/modules/Ynj5QNLR3Gsyj4M9gmMa/1Cxb6sN3Pj7DY7eZEqap/Query_builders.js\";// ============================================\n// Hook: useQueryCount\n// ============================================\nfunction useQueryCount(query,debugMode=false){if(debugMode){console.log(\"🎣 useQueryCount CALLED with:\",{hasQuery:!!query,hasFrom:!!query?.from,queryWhere:query?.where});}if(!query||!query.from){if(debugMode){console.log(\"❌ useQueryCount early return - no query or no from\");}return 0;}const countQuery={...query,select:[]};const collection=useQueryData(countQuery);if(debugMode){console.log(\"📊 useQueryCount result:\",{queryWhere:query?.where,countQueryWhere:countQuery?.where,resultLength:collection?.length});}return collection.length;}// ============================================\n// Main Component: CMSCollection\n// ============================================\n/**\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight any\n * @framerDisableUnlink\n */export default function CMSCollection(props){const{collection,emptyState,collectionWidth=\"100%\",emptyStateWidth=\"100%\",filterLogic,storeKey,variantOverrides=[],urlSync=false,urlPrefix=\"\",layoutToggle=false,layoutDisplay=true,flexDirection=\"horizontal\",justifyContent=\"center\",alignRow=\"flex-start\",alignColumn=\"flex-start\",gridColumns=3,gridRows=0,gridAutoRows=\"minmax(200px, auto)\",flexWrap=false,gapRow=14,gapX=16,gapY=16,debugMode=false,style,fallback={text:\"No items found\",font:{fontSize:16,lineHeight:\"1.5em\"},backgroundColor:\"transparent\",padding:40,borderRadius:0}}=props;// Extract fallback settings with defaults\nconst fallbackText=fallback?.text||\"No items found\";const fallbackFont=fallback?.font||{fontSize:16,lineHeight:\"1.5em\"};const fallbackBackgroundColor=fallback?.backgroundColor||\"transparent\";const fallbackPadding=fallback?.padding??40;const fallbackBorderRadius=fallback?.borderRadius??0;// Detect render mode\nconst current=RenderTarget.current();const isCanvas=current===RenderTarget.canvas;// Get store key for this collection\nconst actualStoreKey=getCollectionStoreKey(collection,storeKey);const isInitialized=useRef(false);// Watch for store initialization\nconst[initState]=globalInitStore();const isStoreInitialized=actualStoreKey&&initState.storeInitialized.includes(actualStoreKey);// Extract collection info from slot connection\nconst collectionInfo=useMemo(()=>{return isStoreInitialized?getCollectionInfo(collection):null;},[collection,isStoreInitialized]);// Get store for this collection\nconst useStore=actualStoreKey?getCollectionStore(actualStoreKey):null;const[state,setState]=useStore?useStore():[null,null];// Initialize store if connected but not initialized\nuseEffect(()=>{if(actualStoreKey&&!isStoreInitialized&&!isInitialized.current){getCollectionStore(actualStoreKey);isInitialized.current=true;}},[actualStoreKey,isStoreInitialized]);// Get original query\nconst originalQuery=collectionInfo?.query;// ============================================\n// Build Query Clauses (Memoized)\n// ============================================\n// Build search where clause\nconst searchWhere=useMemo(()=>{return buildSearchWhereClause(state?.searchTerm||\"\",state?.searchFields||[],collectionInfo?.collectionId||\"\",collectionInfo?.propertyControls||{});},[state?.searchTerm,state?.searchFields,collectionInfo?.collectionId,collectionInfo?.propertyControls]);// Build filters where clause\nconst filtersWhere=useMemo(()=>{const result=buildFiltersWhereClause(state?.filters||[],collectionInfo?.collectionId||\"\",collectionInfo?.propertyControls||{},filterLogic);if(debugMode&&(state?.filters||[]).length>0){console.log(\"🔍 Applied filters:\",{totalFilters:(state?.filters||[]).length});}return result;},[state?.filters,collectionInfo?.collectionId,collectionInfo?.propertyControls,filterLogic]);// Combine search and filters\nconst combinedWhere=useMemo(()=>combineWhereClauses(searchWhere,filtersWhere,\"and\"),[searchWhere,filtersWhere]);// Combine with existing where clause\nconst finalWhere=useMemo(()=>combineWhereClauses(originalQuery?.where,combinedWhere,\"and\"),[originalQuery?.where,combinedWhere]);// Build order by clause\nconst orderBy=useMemo(()=>buildOrderByClause(state?.sort||[],collectionInfo?.propertyControls||{},collectionInfo?.collectionId||\"\"),[state?.sort,collectionInfo?.propertyControls,collectionInfo?.collectionId]);// ============================================\n// Layout Styles (Memoized)\n// ============================================\nconst containerStyles=useMemo(()=>{if(!layoutToggle)return{};const layout=layoutDisplay?\"flex\":\"grid\";if(layout===\"flex\"){return{display:\"flex\",flexDirection:flexDirection===\"horizontal\"?\"row\":\"column\",justifyContent,alignItems:flexDirection===\"horizontal\"?alignRow:alignColumn,flexWrap:flexWrap?\"wrap\":\"nowrap\",gap:flexWrap?`${gapY}px ${gapX}px`:`${gapRow}px`};}else{return{display:\"grid\",gridTemplateColumns:`repeat(${gridColumns}, 1fr)`,...gridRows>0&&{gridTemplateRows:`repeat(${gridRows}, 1fr)`},gridAutoRows,gap:`${gapY}px ${gapX}px`};}},[layoutToggle,layoutDisplay,flexDirection,justifyContent,alignRow,alignColumn,flexWrap,gapRow,gapX,gapY,gridColumns,gridRows,gridAutoRows]);// ============================================\n// Build Filtered Query (Memoized)\n// ============================================\nconst filteredQuery=useMemo(()=>{if(!originalQuery||!collectionInfo){return collection?.[0]?.props?.children?.props?.children?.props?.query;}return{...originalQuery,where:finalWhere,...orderBy.length>0&&{orderBy}};},[originalQuery,finalWhere,orderBy,collection,collectionInfo]);// Update count in store when query changes\nconst currentCount=useQueryCount(filteredQuery||{},debugMode);useEffect(()=>{if(setState&&currentCount!==state?.count){setState({...state,count:currentCount});}},[currentCount,setState]);// ============================================\n// Clone Collection with Filtered Query\n// ============================================\nconst clonedCollection=useMemo(()=>{if(!collection?.[0]||!filteredQuery)return collection;const originalElement=collection[0];const originalListElement=originalElement.props?.children;const originalQueryElement=originalListElement?.props?.children;if(!originalQueryElement)return collection;// Clone the query element with new query\nconst newQueryElement=/*#__PURE__*/cloneElement(originalQueryElement,{query:filteredQuery});// Clone the list element with new query element\nconst newListElement=/*#__PURE__*/cloneElement(originalListElement,{children:newQueryElement});// Clone the container with new list element AND apply layout styles\nconst newContainerElement=/*#__PURE__*/cloneElement(originalElement,{children:newListElement,style:{...originalElement.props?.style,...containerStyles,width:\"100%\",overflow:\"hidden\"}});return[newContainerElement];},[collection,filteredQuery,containerStyles]);// ============================================\n// Apply Variant Overrides\n// ============================================\nconst processedCollection=useMemo(()=>{if(!clonedCollection||!variantOverrides||variantOverrides.length===0){return clonedCollection;}return clonedCollection.map(containerElement=>{const listElement=containerElement.props?.children;if(!listElement)return containerElement;const cmsItem=listElement.props?.children;if(!cmsItem)return containerElement;const originalChildrenFn=cmsItem.props?.children;if(typeof originalChildrenFn!==\"function\")return containerElement;// Wrap children function with variant override logic\nconst wrappedChildren=wrapWithVariantOverrides(originalChildrenFn,variantOverrides);const newCmsItem=/*#__PURE__*/cloneElement(cmsItem,{...cmsItem.props,children:wrappedChildren});const newListElement=/*#__PURE__*/cloneElement(listElement,{children:newCmsItem});return /*#__PURE__*/cloneElement(containerElement,{children:newListElement});});},[clonedCollection,variantOverrides]);// ============================================\n// Render Logic\n// ============================================\nconst isEditorMode=!collectionInfo;const showEmptyState=!isEditorMode&&collectionInfo&&currentCount===0&&(state?.searchTerm||state?.filters&&state.filters.length>0);// Canvas mode rendering\nif(isCanvas){// ... canvas-specific rendering\n}// Prepare empty state\nconst modifiedEmptyState=useMemo(()=>{if(!emptyState||!Array.isArray(emptyState)||emptyState.length===0){return null;}return /*#__PURE__*/cloneElement(emptyState[0],{style:{width:emptyStateWidth}});},[emptyState,emptyStateWidth]);// Main render\nreturn /*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",flexDirection:\"column\",width:\"100%\",...style},children:[debugMode&&state&&/*#__PURE__*/_jsxs(\"div\",{style:{},children:[/*#__PURE__*/_jsx(\"div\",{children:/*#__PURE__*/_jsx(\"strong\",{children:\"🛠 Debug Information\"})}),/*#__PURE__*/_jsxs(\"div\",{children:[\"Store Key: \",actualStoreKey]}),/*#__PURE__*/_jsxs(\"div\",{children:['Search Term: \"',state.searchTerm,'\"']}),/*#__PURE__*/_jsxs(\"div\",{children:[\"Search Fields: [\",state.searchFields.join(\", \"),\"]\"]}),/*#__PURE__*/_jsxs(\"div\",{children:[\"Active Filters: \",state.filters?.length||0]}),/*#__PURE__*/_jsxs(\"div\",{children:[\"Filter Logic: \",filterLogic]}),/*#__PURE__*/_jsxs(\"div\",{children:[\"Total Results: \",currentCount]}),/*#__PURE__*/_jsxs(\"div\",{children:[\"Collection ID: \",collectionInfo?.collectionId]})]}),isEditorMode?// Editor mode: Show collection or connection prompt\ncollection?.length>0?/*#__PURE__*/_jsx(\"div\",{style:{width:collectionWidth,margin:\"0 auto\"},children:processedCollection}):/*#__PURE__*/_jsx(\"div\",{children:\"Connect CMS Collection\"}):collection?.length>0?showEmptyState?// No results - show empty state\nmodifiedEmptyState||/*#__PURE__*/_jsx(\"div\",{children:fallbackText}):// Has results - show collection\n/*#__PURE__*/_jsx(\"div\",{style:{width:collectionWidth,margin:\"0 auto\"},children:processedCollection}):modifiedEmptyState||/*#__PURE__*/_jsx(\"div\",{children:fallbackText})]});}// ============================================\n// Property Controls (Framer UI)\n// ============================================\naddPropertyControls(CMSCollection,{collection:{type:ControlType.Slot,title:\"Collection\",description:\"Connect your CMS Collection List component here\",maxCount:1},emptyState:{type:ControlType.Slot,title:\"Empty State\",description:\"Component to show when no items match the filters\",maxCount:1},fallback:{type:ControlType.Object,title:\"Empty State Fallback\",controls:{text:{type:ControlType.String,defaultValue:\"No items found\"},font:{type:ControlType.Font,title:\"Font\"},backgroundColor:{type:ControlType.Color,defaultValue:\"transparent\"},padding:{type:ControlType.Number,defaultValue:40},borderRadius:{type:ControlType.Number,defaultValue:0}}},collectionWidth:{type:ControlType.String,title:\"CMS Collection Width\",defaultValue:\"100%\"},filterLogic:{type:ControlType.Enum,title:\"Filter Logic\",options:[\"All\",\"Any\"],optionTitles:[\"All (AND)\",\"Any (OR)\"],defaultValue:\"All\"},storeKey:{type:ControlType.String,title:\"Filter Group\",defaultValue:\"auto\",placeholder:\"auto (uses collection name)\"},variantOverrides:{type:ControlType.Array,title:\"Variant Overrides\",control:{type:ControlType.Object,controls:{componentName:{type:ControlType.String,title:\"Component Name\"},variantName:{type:ControlType.String,title:\"Variant Name\"}}}},layoutToggle:{type:ControlType.Boolean,title:\"Responsive Layout\",defaultValue:false},// ... more layout controls (flexDirection, gridColumns, gaps, etc.)\ndebugMode:{type:ControlType.Boolean,title:\"🛠 Debug Mode\",defaultValue:false}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"CMSCollection\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutHeight\":\"any\",\"framerDisableUnlink\":\"\",\"framerSupportedLayoutWidth\":\"any\",\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./CMSCollection.map","import{jsx as _jsx}from\"react/jsx-runtime\";import{useQueryData}from\"framer\";// ============================================\n// Option Data Processing\n// ============================================\n/**\n * Get option values and titles from config\n * Supports both old format (string[]) and new format (object[])\n */export const getOptionData=config=>{if(!config.options||config.options.length===0){return{values:[],titles:[],optionMap:new Map};}const values=[];const titles=[];const optionMap=new Map// value -> title mapping\n;config.options.forEach(option=>{if(typeof option===\"string\"){// Backward compatibility: old format\nvalues.push(option);titles.push(option);optionMap.set(option,option);}else if(option&&typeof option===\"object\"&&option.value&&option.title){// New format: {value, title}\nvalues.push(option.value);titles.push(option.title);optionMap.set(option.value,option.title);}});return{values,titles,optionMap};};// ============================================\n// Match/Operator Options by Filter Type\n// ============================================\n/**\n * Get available match operators based on field type and filter type\n */export const getMatchOptions=(fieldType,filterType)=>{switch(filterType){case\"text\":return{options:[\"contains\",\"not_contains\",\"starts_with\",\"ends_with\",\"equals\",\"not_equals\",\"is_set\",\"is_not_set\"],titles:[\"Contains\",\"Doesn't contain\",\"Starts with\",\"Ends with\",\"Equals\",\"Doesn't equal\",\"Is set\",\"Is not set\"],default:\"contains\"};case\"dropdown\":return{options:[\"contains\",\"not_contains\",\"starts_with\",\"ends_with\",\"equals\",\"not_equals\",\"greater_than\",\"less_than\",\"greater_than_or_equal\",\"less_than_or_equal\",\"is_set\",\"is_not_set\"],titles:[\"Contains\",\"Doesn't contain\",\"Starts with\",\"Ends with\",\"Equals\",\"Doesn't equal\",\"Greater than\",\"Less than\",\"Greater than or equal\",\"Less than or equal\",\"Is set\",\"Is not set\"],default:\"equals\"};case\"number\":return{options:[\"equals\",\"not_equals\",\"greater_than\",\"less_than\",\"greater_than_or_equal\",\"less_than_or_equal\",\"is_set\",\"is_not_set\"],titles:[\"Equals\",\"Doesn't equal\",\"Greater than\",\"Less than\",\"Greater than or equal\",\"Less than or equal\",\"Is set\",\"Is not set\"],default:\"equals\"};case\"toggle\":return{options:[\"is_enabled\",\"is_disabled\",\"has_value\",\"is_empty\",\"is_set\",\"is_not_set\"],titles:[\"Enabled (true)\",\"Disabled (false)\",\"Has Value\",\"Is Empty\",\"Is Set (not null)\",\"Is Not Set (null)\"],default:\"is_enabled\"};case\"cms-enum\":return{options:[\"equals\",\"not_equals\",\"is_set\",\"is_not_set\"],titles:[\"Equals\",\"Doesn't equal\",\"Is set\",\"Is not set\"],default:\"equals\"};case\"range\":return{options:[\"between\"],titles:[\"Between\"],default:\"between\"};default:return{options:[\"equals\"],titles:[\"Equals\"],default:\"equals\"};}};// ============================================\n// Active Match Getter\n// ============================================\n/**\n * Get the appropriate match value based on filter type\n */export const getActiveMatch=config=>{if(!config.filterType){console.warn(\"getActiveMatch: config.filterType is undefined, defaulting to 'dropdown'\",config);return config.matchText||\"equals\";}switch(config.filterType){case\"text\":return config.matchText||\"contains\";case\"dropdown\":return config.matchText||\"equals\";case\"number\":return config.matchNumber||\"equals\";case\"toggle\":return config.matchToggle||\"is_enabled\";case\"range\":return\"between\";case\"cms-enum\":return config.matchEnum||\"equals\";default:return config.match||\"equals\";}};// ============================================\n// Auto-Detection Helpers\n// ============================================\n/**\n * Auto-detect recommended filter type based on CMS field type\n */export const getRecommendedFilterType=cmsFieldType=>{switch(cmsFieldType){case\"string\":case\"richtext\":return\"text\";case\"number\":return\"range\";case\"enum\":return\"cms-enum\";case\"boolean\":return\"toggle\";default:return\"text\";}};// ============================================\n// Option Count Functions\n// ============================================\n/**\n * Get count for each CMS dropdown option\n */export const getOptionCounts=(collectionId,fieldKey,enumValues,originalQuery)=>{const counts={};enumValues.forEach(enumValue=>{try{const countQuery={...originalQuery,where:originalQuery.where?{left:originalQuery.where,operator:\"and\",right:{left:{collection:collectionId,name:fieldKey,type:\"Identifier\"},operator:\"==\",right:{type:\"LiteralValue\",value:enumValue},type:\"BinaryOperation\"},type:\"BinaryOperation\"}:{left:{collection:collectionId,name:fieldKey,type:\"Identifier\"},operator:\"==\",right:{type:\"LiteralValue\",value:enumValue},type:\"BinaryOperation\"},select:[]};const countData=useQueryData(countQuery);counts[enumValue]=countData.length;}catch(error){counts[enumValue]=0;}});return counts;};/**\n * Format count display using template\n */export const formatCountDisplay=(option,count,template=\"[{count}]\",countStyle)=>{if(!template||!template.includes(\"{count}\")){return{text:option};}const countText=template.replace(\"{count}\",count.toString());// If template has styling, create a styled element\nif(countStyle&&Object.keys(countStyle).length>0){const styledCount=/*#__PURE__*/_jsx(\"span\",{style:{fontSize:countStyle.fontSize,color:countStyle.color,backgroundColor:countStyle.backgroundColor,padding:countStyle.padding,borderRadius:countStyle.borderRadius,margin:countStyle.margin,fontFamily:countStyle?.font?.fontFamily||undefined,fontWeight:countStyle?.font?.fontWeight??undefined,fontStyle:countStyle?.font?.fontStyle??undefined,...countStyle.size!==0&&{width:countStyle.size,height:countStyle.size,placeContent:\"center\",textAlign:\"center\",display:\"inline-block\"}},children:countText});return{text:option,countElement:styledCount};}return{text:`${option} ${countText}`};};// ============================================\n// Validation Functions\n// ============================================\n/**\n * Get valid toggle operators for a field type\n */export const getValidToggleOperators=fieldType=>{switch(fieldType){case\"boolean\":return[\"is_enabled\",\"is_disabled\",\"is_set\",\"is_not_set\",\"has_value\",\"is_empty\"];case\"number\":return[\"has_value\",\"is_empty\",\"is_set\",\"is_not_set\",\"equals\",\"not_equals\",\"greater_than\",\"less_than\",\"greater_than_or_equal\",\"less_than_or_equal\"];case\"string\":case\"richtext\":return[\"is_set\",\"is_not_set\",\"has_value\",\"is_empty\",\"contains\",\"not_contains\",\"starts_with\",\"ends_with\",\"equals\",\"not_equals\"];default:return[\"is_set\",\"is_not_set\",\"has_value\",\"is_empty\"];}};/**\n * Validate filter value based on config and filter type\n */export const hasValidValue=(config,value)=>{const activeMatch=getActiveMatch(config);// 1. FIELD NAME VALIDATION - must have field name\nif(!config.fieldName||!config.fieldName.trim()){return false;}// 2. Operators that don't need values\nif([\"is_set\",\"is_not_set\"].includes(activeMatch)){return true;}// 3. TOGGLE SPECIAL LOGIC - only apply filter when user explicitly enables it\nif(config.filterType===\"toggle\"){if(config.toggleTriState){// Tri-state: null/undefined = ANY, true = ON, false = OFF\nreturn value===true||value===false;}// Binary toggle: Only apply when ON\nreturn value===true;}// 4. Handle range filters\nif(config.filterType===\"range\"){if(!value||typeof value!==\"object\"){return false;}return value.min!==undefined&&!isNaN(value.min)||value.max!==undefined&&!isNaN(value.max);}// 5. Handle dropdown with multiple selection\nif(config.filterType===\"dropdown\"&&config.allowMultiple){return Array.isArray(value)&&value.length>0;}// 6. Handle CMS enum with multiple selection\nif(config.filterType===\"cms-enum\"&&config.allowMultiple){return Array.isArray(value)&&value.length>0;}// 7. Handle null/undefined\nif(value===null||value===undefined){return false;}// 8. Handle string values\nif(typeof value===\"string\"){return value.trim()!==\"\";}// 9. Handle number values\nif(typeof value===\"number\"){return!isNaN(value);}// 10. Handle boolean values\nif(typeof value===\"boolean\"){return true;}// 11. Default: value exists\nreturn true;};\nexport const __FramerMetadata__ = {\"exports\":{\"formatCountDisplay\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"getOptionData\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"getActiveMatch\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"hasValidValue\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"getRecommendedFilterType\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"getOptionCounts\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"getMatchOptions\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"getValidToggleOperators\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./filter_utils.map","import{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import{getActiveMatch}from\"https://framerusercontent.com/modules/8t4wAEVIEW49rMhOZjZW/PQhcG4yZfkIHdwCdaOvo/filter_utils.js\";// TextFilter component for CMS Filter system\n// Extracted from CMSFilters.tsx for better modularity\n// import { getActiveMatch } from \"https://framerusercontent.com/modules/.../filter_utils.js\";\n/**\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight any\n * @framerDisableUnlink\n */export function TextFilter({config,value,onChange,debugLevel,filterInputStyles,uniqueClassName}){const activeMatch=getActiveMatch(config);// No input needed for is_set/is_not_set operators\nif(activeMatch===\"is_set\"||activeMatch===\"is_not_set\"){return /*#__PURE__*/_jsx(\"div\",{style:{padding:8,fontSize:12,color:\"#666\",fontStyle:\"italic\"},children:\"No input needed - checks if field has value\"});}return /*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"style\",{children:`\n          .cms-filter-input.${uniqueClassName} {\n            ${(()=>{if(typeof filterInputStyles?.border===\"string\"){return`border: ${filterInputStyles.border};`;}else if(filterInputStyles?.border){const border=filterInputStyles.border;return`\n                  ${border.borderWidth!==undefined?`border-width: ${border.borderWidth}px;`:\"\"}\n                  ${border.borderTopWidth!==undefined?`border-top-width: ${border.borderTopWidth}px;`:\"\"}\n                  ${border.borderBottomWidth!==undefined?`border-bottom-width: ${border.borderBottomWidth}px;`:\"\"}\n                  ${border.borderLeftWidth!==undefined?`border-left-width: ${border.borderLeftWidth}px;`:\"\"}\n                  ${border.borderRightWidth!==undefined?`border-right-width: ${border.borderRightWidth}px;`:\"\"}\n                  ${border.borderStyle?`border-style: ${border.borderStyle};`:\"border-style: solid;\"}\n                  ${border.borderColor?`border-color: ${border.borderColor};`:\"border-color: #dee2e6;\"}\n                `;}else{return\"border: none;\";}})()}\n            transition: border-color 0.2s ease, \n                        background-color 0.2s ease, \n                        color 0.2s ease, \n                        box-shadow 0.2s ease;\n          }\n\n          .cms-filter-input.${uniqueClassName}:hover:not(:focus) {\n            border-color: ${filterInputStyles?.hoverBorderColor||filterInputStyles?.selectedBorderColor||\"#007AFF\"} !important;\n            background-color: ${filterInputStyles?.hoverBackgroundColor||\"#f8f9fa\"} !important;\n            color: ${filterInputStyles?.hoverTextColor||filterInputStyles?.color||\"#333\"} !important;\n          }\n\n          .cms-filter-input.${uniqueClassName}:focus {\n            border-color: ${filterInputStyles?.selectedBorderColor||\"#007AFF\"} !important;\n            background-color: ${filterInputStyles?.selectedBackgroundColor||\"#fff\"} !important;\n            color: ${filterInputStyles?.selectedTextColor||\"#333\"} !important;\n          }\n        `}),/*#__PURE__*/_jsx(\"input\",{className:`${uniqueClassName} cms-filter-input`,type:\"text\",placeholder:`${config.title}...`,value:value||\"\",onChange:e=>onChange(e.target.value),style:{padding:\"8px 12px\",borderRadius:4,fontSize:13,outline:\"none\",width:\"100%\",lineHeight:1.2,...filterInputStyles,fontFamily:filterInputStyles?.font?.fontFamily||undefined,fontWeight:filterInputStyles?.font?.fontWeight??undefined,fontStyle:filterInputStyles?.font?.fontStyle??undefined}})]});}\nexport const __FramerMetadata__ = {\"exports\":{\"TextFilter\":{\"type\":\"reactComponent\",\"name\":\"TextFilter\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerSupportedLayoutHeight\":\"any\",\"framerSupportedLayoutWidth\":\"any\",\"framerDisableUnlink\":\"\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./TextFilter.map","// SelectFilter component for div-based custom dropdowns\n// 使用 div 构建的自定义下拉选择器，支持单选和多选\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{getActiveMatch,getOptionData}from\"https://framerusercontent.com/modules/8t4wAEVIEW49rMhOZjZW/PQhcG4yZfkIHdwCdaOvo/filter_utils.js\";import{useState,useRef,useEffect}from\"react\";/**\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight any\n * @framerDisableUnlink\n */export function SelectFilter({config,value,onChange,debugLevel,filterSelectStyles,uniqueClassName}){const[isOpen,setIsOpen]=useState(false);const dropdownRef=useRef(null);// ============================================\n// 点击外部关闭下拉框\n// ============================================\nuseEffect(()=>{const handleClickOutside=event=>{if(dropdownRef.current&&!dropdownRef.current.contains(event.target)){setIsOpen(false);}};if(isOpen){document.addEventListener(\"mousedown\",handleClickOutside);}return()=>{document.removeEventListener(\"mousedown\",handleClickOutside);};},[isOpen]);// ============================================\n// 防御性检查\n// ============================================\nif(!config){return /*#__PURE__*/_jsx(\"div\",{style:{padding:8,color:\"#999\"},children:\"Config not available\"});}const activeMatch=getActiveMatch(config);// is_set/is_not_set 不需要输入\nif(activeMatch===\"is_set\"||activeMatch===\"is_not_set\"){return /*#__PURE__*/_jsx(\"div\",{style:{padding:8,fontSize:12,color:\"#666\",fontStyle:\"italic\"},children:\"No input needed - checks if field has value\"});}// 获取选项数据\nconst{values,titles}=getOptionData(config);if(values.length===0){return /*#__PURE__*/_jsx(\"div\",{style:{padding:8,fontSize:12,color:\"#dc3545\",fontStyle:\"italic\",backgroundColor:\"#f8d7da\",borderRadius:4},children:\"No options configured. Please add options to the filter configuration.\"});}// 样式配置\nconst selectControls=filterSelectStyles?.selectControls||{};const optionControls=filterSelectStyles?.optionControls||{};// ============================================\n// 多选模式\n// ============================================\nif(config.allowMultiple){const selectedValues=Array.isArray(value)?value:[];const toggleOption=optionValue=>{const newSelected=selectedValues.includes(optionValue)?selectedValues.filter(v=>v!==optionValue):[...selectedValues,optionValue];onChange(newSelected);};const getDisplayText=()=>{if(selectedValues.length===0)return`Select ${config.title||\"option\"}...`;if(selectedValues.length===1){const idx=values.indexOf(selectedValues[0]);return titles[idx]||selectedValues[0];}return`${selectedValues.length} selected`;};return /*#__PURE__*/_jsxs(\"div\",{ref:dropdownRef,style:{position:\"relative\",width:\"100%\"},children:[/*#__PURE__*/_jsx(\"style\",{children:`\n          /* 触发器样式 */\n          .dropdown-trigger.${uniqueClassName} {\n            padding: ${selectControls?.padding||\"8px 12px\"};\n            border-radius: ${selectControls?.borderRadius||\"4px\"};\n            font-size: ${selectControls?.fontSize||\"13\"}px;\n            background-color: ${selectControls?.backgroundColor||\"#fff\"};\n            color: ${selectControls?.color||\"#333\"};\n            border: 1px solid ${selectControls?.borderColor||\"#dee2e6\"};\n            cursor: pointer;\n            transition: all 0.2s ease;\n          }\n          .dropdown-trigger.${uniqueClassName}:hover {\n            border-color: ${selectControls?.hoverBorderColor||\"#007AFF\"};\n            background-color: ${selectControls?.hoverBackgroundColor||\"#f8f9fa\"};\n          }\n          .dropdown-trigger.${uniqueClassName}.open {\n            border-color: ${selectControls?.selectedBorderColor||\"#007AFF\"};\n            background-color: ${selectControls?.selectedBackgroundColor||\"#007AFF\"};\n            color: ${selectControls?.selectedTextColor||\"#fff\"};\n          }\n\n          /* 下拉选项容器 */\n          .dropdown-options.${uniqueClassName} {\n            position: absolute;\n            top: 100%;\n            left: 0;\n            right: 0;\n            margin-top: ${selectControls?.marginTop||\"4\"}px;\n            padding: ${optionControls?.dropdownPadding||\"0\"};\n            background-color: ${optionControls?.dropdownBackgroundColor||\"#fff\"};\n            border: 1px solid #dee2e6;\n            border-radius: ${optionControls?.dropdownBorderRadius||\"4px\"};\n            max-height: ${optionControls?.maxHeight||\"200\"}px;\n            overflow-y: auto;\n            z-index: 1000;\n            box-shadow: 0 2px 8px rgba(0,0,0,0.15);\n          }\n\n          /* 选项样式 */\n          .dropdown-option.${uniqueClassName} {            \n            display: flex;\n            align-items: center;\n            gap: 8px;\n            padding: ${optionControls?.optionPadding||\"8px 12px\"};\n            cursor: pointer;\n            transition: background-color 0.15s ease;\n            color: ${optionControls?.optionColor||\"#333\"};\n          }\n          .dropdown-option.${uniqueClassName}:hover {\n            \n            background-color: ${optionControls?.optionHoverBackgroundColor||\"#f8f9fa\"};\n            color: ${optionControls?.optionHoverTextColor||\"#333\"};\n          }\n          .dropdown-option.${uniqueClassName}.selected {\n            background-color: ${optionControls?.optionSelectedBackgroundColor||\"#007AFF\"};\n            color: ${optionControls?.optionSelectedTextColor||\"#fff\"};\n          }\n        `}),/*#__PURE__*/_jsxs(\"div\",{className:`dropdown-trigger ${uniqueClassName} ${isOpen?\"open\":\"\"}`,onClick:()=>setIsOpen(!isOpen),style:{width:\"100%\",position:\"relative\"},children:[/*#__PURE__*/_jsx(\"span\",{style:{color:selectedValues.length===0?\"#999\":\"inherit\"},children:getDisplayText()}),/*#__PURE__*/_jsx(DropdownArrow,{isOpen:isOpen,controls:selectControls})]}),isOpen&&/*#__PURE__*/_jsx(\"div\",{className:`dropdown-options ${uniqueClassName}`,children:values.map((optionValue,idx)=>/*#__PURE__*/_jsxs(\"div\",{className:`dropdown-option ${uniqueClassName} ${selectedValues.includes(optionValue)?\"selected\":\"\"}`,onClick:()=>toggleOption(optionValue),children:[/*#__PURE__*/_jsx(\"input\",{type:\"checkbox\",checked:selectedValues.includes(optionValue),onChange:()=>{},style:{margin:0,cursor:\"pointer\"}}),/*#__PURE__*/_jsx(\"span\",{children:titles[idx]})]},idx))})]});}// ============================================\n// 单选模式\n// ============================================\nconst selectedIdx=values.indexOf(value);const displayText=selectedIdx>=0?titles[selectedIdx]:`Select ${config.title||\"option\"}...`;return /*#__PURE__*/_jsxs(\"div\",{ref:dropdownRef,style:{position:\"relative\",width:\"100%\"},children:[/*#__PURE__*/_jsx(\"style\",{children:`\n        .dropdown-trigger-single.${uniqueClassName} {\n          padding: ${selectControls?.padding||\"8px 12px\"};\n          border-radius: ${selectControls?.borderRadius||\"4px\"};\n          font-size: ${selectControls?.fontSize||\"13\"}px;\n          background-color: ${selectControls?.backgroundColor||\"#fff\"};\n          color: ${selectControls?.color||\"#333\"};\n          border: 1px solid ${selectControls?.borderColor||\"#dee2e6\"};\n          cursor: pointer;\n          transition: all 0.2s ease;\n        }\n        .dropdown-trigger-single.${uniqueClassName}:hover {\n          border-color: ${selectControls?.hoverBorderColor||\"#007AFF\"};\n        }\n        .dropdown-trigger-single.${uniqueClassName}.open {\n          border-color: ${selectControls?.selectedBorderColor||\"#007AFF\"};\n        }\n\n        .dropdown-option-single.${uniqueClassName} {\n          padding: ${optionControls?.optionPadding||\"8px 12px\"};\n          cursor: pointer;\n          transition: background-color 0.15s ease;\n          color: ${optionControls?.optionColor||\"#333\"};\n        }\n        .dropdown-option-single.${uniqueClassName}:hover {\n          background-color: ${optionControls?.optionHoverBackgroundColor||\"#f8f9fa\"};\n          color: ${optionControls?.optionHoverTextColor||\"#333\"};\n        }\n        .dropdown-option-single.${uniqueClassName}.selected {\n          background-color: ${optionControls?.optionSelectedBackgroundColor||\"#007AFF\"};\n          color: ${optionControls?.optionSelectedTextColor||\"#fff\"};\n        }\n      `}),/*#__PURE__*/_jsxs(\"div\",{className:`dropdown-trigger-single ${uniqueClassName} ${isOpen?\"open\":\"\"}`,onClick:()=>setIsOpen(!isOpen),style:{width:\"100%\",position:\"relative\"},children:[/*#__PURE__*/_jsx(\"span\",{children:displayText}),/*#__PURE__*/_jsx(DropdownArrow,{isOpen:isOpen,controls:selectControls})]}),isOpen&&/*#__PURE__*/_jsxs(\"div\",{className:`dropdown-options ${uniqueClassName}`,children:[/*#__PURE__*/_jsxs(\"div\",{className:`dropdown-option-single ${uniqueClassName} ${!value?\"selected\":\"\"}`,onClick:()=>{onChange(\"\");setIsOpen(false);},children:[\"Select \",config.title||\"option\",\"...\"]}),values.map((optionValue,idx)=>/*#__PURE__*/_jsx(\"div\",{className:`dropdown-option-single ${uniqueClassName} ${value===optionValue?\"selected\":\"\"}`,onClick:()=>{onChange(optionValue);setIsOpen(false);},children:titles[idx]},idx))]})]});}// 下拉箭头子组件\nfunction DropdownArrow({isOpen,controls}){return /*#__PURE__*/_jsx(\"svg\",{xmlns:\"http://www.w3.org/2000/svg\",width:controls?.arrowSize??16,height:controls?.arrowSize??16,viewBox:\"0 0 24 24\",fill:\"none\",style:{position:\"absolute\",right:controls?.arrowPosition??8,top:\"50%\",transform:`translateY(-50%) rotate(${isOpen?\"180deg\":\"0deg\"})`,transition:\"transform 0.2s ease\"},children:/*#__PURE__*/_jsx(\"path\",{d:\"M7 10l5 5 5-5\",fill:\"none\",stroke:controls?.arrowColor||\"currentColor\",strokeWidth:\"2\"})});}\nexport const __FramerMetadata__ = {\"exports\":{\"SelectFilter\":{\"type\":\"reactComponent\",\"name\":\"SelectFilter\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutHeight\":\"any\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"any\",\"framerDisableUnlink\":\"\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./SelectFilter.map","// CMSEnumFilter component for CMS Filter system\n// 专门处理 CMS 枚举字段的过滤器\nimport{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import{getActiveMatch,getOptionCounts,formatCountDisplay}from\"https://framerusercontent.com/modules/8t4wAEVIEW49rMhOZjZW/PQhcG4yZfkIHdwCdaOvo/filter_utils.js\";import{SelectFilter}from\"https://framerusercontent.com/modules/AriU3p2OUNgHYoCILVA4/nqX4dl8nxEQow1sOWrpt/SelectFilter.js\";/**\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight any\n * @framerDisableUnlink\n */export function CMSEnumFilter({config,value,onChange,debugLevel,filterPillStyles,filterSelectStyles,filterCheckboxStyles,uniqueClassName,availableFields,collectionInfo}){// ============================================\n// 防御性检查\n// ============================================\nif(!config){return /*#__PURE__*/_jsx(\"div\",{style:{padding:8,color:\"#999\"},children:\"Config not available\"});}const activeMatch=getActiveMatch(config);// is_set/is_not_set 不需要输入\nif(activeMatch===\"is_set\"||activeMatch===\"is_not_set\"){return /*#__PURE__*/_jsx(\"div\",{style:{padding:8,fontSize:12,color:\"#666\",fontStyle:\"italic\"},children:\"No input needed - checks if field has value\"});}// ============================================\n// 查找枚举字段信息\n// ============================================\nconst enumFieldInfo=availableFields?.find(f=>f.title.toLowerCase()===config.fieldName?.toLowerCase()&&f.type===\"enum\");// ============================================\n// 确定枚举选项\n// ============================================\nlet enumOptions;let enumValues;let optionCounts={};if(!availableFields||availableFields.length===0){// 编辑器模式：显示占位选项\nenumOptions=[\"Option 1\",\"Option 2\",\"Option 3\",\"Option 4\"];enumValues=[\"option1\",\"option2\",\"option3\",\"option4\"];}else if(!enumFieldInfo||!enumFieldInfo.optionTitles){// 预览模式：字段无效时显示错误\nreturn /*#__PURE__*/_jsxs(\"div\",{style:{padding:8,color:\"#dc3545\",fontSize:12,fontStyle:\"italic\",backgroundColor:\"#f8d7da\",borderRadius:4},children:['CMS enum field \"',config.fieldName,'\" not found or has no options.']});}else{// 预览模式：使用实际 CMS 数据\nenumOptions=enumFieldInfo.optionTitles;enumValues=enumFieldInfo.options||enumFieldInfo.optionTitles;// 获取每个选项的计数\nif(config.showPostCount&&collectionInfo){const fieldKey=Object.keys(collectionInfo.propertyControls).find(key=>collectionInfo.propertyControls[key]?.title?.toLowerCase()===config.fieldName?.toLowerCase());if(fieldKey){optionCounts=getOptionCounts(collectionInfo.collectionId,fieldKey,enumValues,collectionInfo.query);}}}// ============================================\n// 样式 1: Dropdown（下拉菜单）\n// ============================================\nif(config.enumStyle===\"dropdown\"){const configWithOptions={...config,options:enumValues.map((optionValue,idx)=>{const optionTitle=enumOptions[idx];const count=optionCounts[optionValue];const displayTitle=config.showPostCount&&count!==undefined?formatCountDisplay(optionTitle,count,config.countTemplate).text:optionTitle;return{value:optionValue,title:displayTitle};})};return /*#__PURE__*/_jsx(SelectFilter,{config:configWithOptions,value:value,onChange:onChange,debugLevel:debugLevel,filterSelectStyles:filterSelectStyles,uniqueClassName:uniqueClassName});}// ============================================\n// 样式 2: Checkboxes（复选框列表）\n// ============================================\nif(config.enumStyle===\"checkboxes\"){const selected=config.allowMultiple?value||[]:value||\"\";return /*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"style\",{children:`\n          .cms-checkbox-filter {\n            display: flex;\n            align-items: center;\n            gap: ${filterCheckboxStyles?.checkboxGap||10}px;\n            cursor: pointer;\n            transition: all 0.2s ease;\n            padding: ${filterCheckboxStyles?.padding||\"8px 0\"};\n          }\n          .cms-checkbox-filter:hover {\n            background-color: ${filterCheckboxStyles?.hoverBackgroundColor||\"#f8f9fa\"};\n          }\n          .cms-checkbox-filter-selected {\n            background-color: ${filterCheckboxStyles?.activeBackgroundColor||\"transparent\"};\n          }\n        `}),/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",flexDirection:\"column\",gap:6},children:[config.showAllOption&&/*#__PURE__*/_jsx(CheckboxItem,{label:config.allOptionLabel||`All ${config.title}`,isSelected:config.allowMultiple?Array.isArray(selected)&&selected.length===0:selected===\"\",onClick:()=>onChange(config.allowMultiple?[]:\"\"),styles:filterCheckboxStyles}),enumOptions.map((option,idx)=>{const optionValue=enumValues[idx];const isSelected=config.allowMultiple?Array.isArray(selected)&&selected.includes(optionValue):selected===optionValue;const count=optionCounts[optionValue];return /*#__PURE__*/_jsx(CheckboxItem,{label:option,count:config.showPostCount?count:undefined,countTemplate:config.countTemplate,countStyle:config.countStyle,isSelected:isSelected,onClick:()=>{if(config.allowMultiple){const current=Array.isArray(selected)?[...selected]:[];if(isSelected){onChange(current.filter(v=>v!==optionValue));}else{onChange([...current,optionValue]);}}else{onChange(isSelected&&config.allowDeselect!==false?\"\":optionValue);}},styles:filterCheckboxStyles},idx);})]})]});}// ============================================\n// 样式 3: Tags/Pills（标签/药丸）- 默认样式\n// ============================================\nconst selectedValues=Array.isArray(value)?value:value?[value]:[];return /*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"style\",{children:`\n        .cms-enum-tag.${uniqueClassName} {\n          padding: 6px 12px;\n          border-radius: 4px;\n          font-size: 14px;\n          cursor: pointer;\n          transition: all 0.2s ease;\n          background-color: ${filterPillStyles?.backgroundColor||\"#fff\"};\n          color: ${filterPillStyles?.color||\"#333\"};\n          border: 1px solid ${filterPillStyles?.borderColor||\"#dee2e6\"};\n          user-select: none;\n        }\n        .cms-enum-tag.${uniqueClassName}:hover {\n          background-color: ${filterPillStyles?.hoverBackgroundColor||\"#f8f9fa\"};\n          border-color: ${filterPillStyles?.hoverBorderColor||\"#007AFF\"};\n        }\n        .cms-enum-tag.${uniqueClassName}.selected {\n          background-color: ${filterPillStyles?.selectedBackgroundColor||\"#007AFF\"};\n          color: ${filterPillStyles?.selectedTextColor||\"#fff\"};\n          border-color: ${filterPillStyles?.selectedBorderColor||\"#007AFF\"};\n        }\n      `}),/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",flexWrap:\"wrap\",gap:filterPillStyles?.gap||8},children:[config.showAllOption&&/*#__PURE__*/_jsx(\"div\",{className:`cms-enum-tag ${uniqueClassName} ${selectedValues.length===0?\"selected\":\"\"}`,onClick:()=>onChange(config.allowMultiple?[]:\"\"),children:config.allOptionLabel||`All ${config.title}`}),enumValues.map((optionValue,idx)=>{const optionTitle=enumOptions[idx];const isSelected=selectedValues.includes(optionValue);const count=optionCounts[optionValue];const{text,countElement}=config.showPostCount&&count!==undefined?formatCountDisplay(optionTitle,count,config.countTemplate,config.countStyle):{text:optionTitle,countElement:null};return /*#__PURE__*/_jsxs(\"div\",{className:`cms-enum-tag ${uniqueClassName} ${isSelected?\"selected\":\"\"}`,onClick:()=>{if(config.allowMultiple){if(isSelected){onChange(selectedValues.filter(v=>v!==optionValue));}else{onChange([...selectedValues,optionValue]);}}else{onChange(isSelected&&config.allowDeselect!==false?\"\":optionValue);}},children:[text,countElement&&/*#__PURE__*/_jsxs(_Fragment,{children:[\" \",countElement]})]},idx);})]})]});}// 复选框子组件\nfunction CheckboxItem({label,count,countTemplate,countStyle,isSelected,onClick,styles}){const{text,countElement}=count!==undefined?formatCountDisplay(label,count,countTemplate,countStyle):{text:label,countElement:null};return /*#__PURE__*/_jsxs(\"div\",{onClick:onClick,className:`cms-checkbox-filter ${isSelected?\"cms-checkbox-filter-selected\":\"\"}`,children:[/*#__PURE__*/_jsx(\"div\",{style:{width:styles?.scale||18,height:styles?.scale||18,borderRadius:styles?.checkboxBorderRadius||4,border:`1px solid ${isSelected?styles?.selectedBorderColor:styles?.borderColor||\"#dee2e6\"}`,backgroundColor:isSelected?styles?.selectedBackgroundColor:\"transparent\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\"},children:isSelected&&/*#__PURE__*/_jsx(\"svg\",{width:\"12\",height:\"12\",viewBox:\"0 0 24 24\",fill:\"none\",children:/*#__PURE__*/_jsx(\"path\",{d:\"M20 6L9 17L4 12\",stroke:styles?.selectedSvgColor||\"#fff\",strokeWidth:\"2.5\",strokeLinecap:\"round\",strokeLinejoin:\"round\"})})}),/*#__PURE__*/_jsxs(\"span\",{style:{color:isSelected?styles?.selectedTextColor:styles?.color},children:[text,countElement&&/*#__PURE__*/_jsxs(_Fragment,{children:[\" \",countElement]})]})]});}\nexport const __FramerMetadata__ = {\"exports\":{\"CMSEnumFilter\":{\"type\":\"reactComponent\",\"name\":\"CMSEnumFilter\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"any\",\"framerDisableUnlink\":\"\",\"framerSupportedLayoutHeight\":\"any\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","import{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import{getActiveMatch}from\"https://framerusercontent.com/modules/8t4wAEVIEW49rMhOZjZW/PQhcG4yZfkIHdwCdaOvo/filter_utils.js\";/**\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight any\n * @framerDisableUnlink\n */export function ToggleFilter({config,value,onChange,debugLevel,filterToggleStyles,uniqueClassName}){// ============================================\n// 防御性检查\n// ============================================\nif(!config){return /*#__PURE__*/_jsx(\"div\",{style:{padding:8,fontSize:12,color:\"#999\"},children:\"Toggle configuration not available\"});}const activeMatch=getActiveMatch(config);// No input needed for is_set/is_not_set operators\nif(activeMatch===\"is_set\"||activeMatch===\"is_not_set\"){return /*#__PURE__*/_jsx(\"div\",{style:{padding:8,fontSize:12,color:\"#666\",fontStyle:\"italic\"},children:\"No input needed - checks if field has value\"});}// ============================================\n// 配置解析\n// ============================================\nconst toggleStyle=config.toggleStyle||\"switch\";const isTriState=config.toggleTriState||false;const showLabels=config.toggleShowLabels!==false// Default true\n;const isInverse=config.toggleInverse||false;// ============================================\n// 智能默认标签（基于操作符和反转模式）\n// ============================================\nconst getDefaultLabels=()=>{const base=(()=>{switch(activeMatch){// Boolean operators\ncase\"is_enabled\":return isInverse?{on:\"Disabled\",off:\"Enabled\",any:\"Any\"}:{on:\"Enabled\",off:\"Disabled\",any:\"Any\"};case\"is_disabled\":return isInverse?{on:\"Enabled\",off:\"Disabled\",any:\"Any\"}:{on:\"Disabled\",off:\"Enabled\",any:\"Any\"};// Value operators\ncase\"has_value\":return isInverse?{on:\"Hide With Value\",off:\"Show With Value\",any:\"Any\"}:{on:\"Has Value\",off:\"Empty\",any:\"Any\"};case\"is_empty\":return isInverse?{on:\"Hide Empty\",off:\"Show Empty\",any:\"Any\"}:{on:\"Empty\",off:\"Has Value\",any:\"Any\"};default:return isInverse?{on:\"Exclude\",off:\"Include\",any:\"Any\"}:{on:\"On\",off:\"Off\",any:\"Any\"};}})();return base;};const defaultLabels=getDefaultLabels();const onLabel=config.toggleOnLabel||defaultLabels.on;const offLabel=config.toggleOffLabel||defaultLabels.off;const anyLabel=config.toggleAnyLabel||defaultLabels.any;// ============================================\n// 状态判断逻辑\n// ============================================\nconst isValueActive=()=>{if(value===null||value===undefined)return false;if(typeof value===\"boolean\")return value;if(typeof value===\"string\")return value.trim()!==\"\";if(typeof value===\"number\")return true;return!!value;};const getCurrentState=()=>{if(isTriState){if(value===null||value===undefined)return\"any\";return isValueActive()?\"on\":\"off\";}else{return isValueActive()?\"on\":\"off\";}};const currentState=getCurrentState();// ============================================\n// 点击处理\n// ============================================\nconst handleClick=()=>{if(isTriState){// 循环: ANY -> ON -> OFF -> ANY\nif(value===null||value===undefined){onChange(true);}else if(isValueActive()){onChange(false);}else{onChange(null);}}else{// 二态切换: OFF <-> ON\nonChange(isValueActive()?false:true);}};// ============================================\n// 渲染：根据样式选择\n// ============================================\nswitch(toggleStyle){case\"switch\":return renderSwitch();case\"pill\":return renderPill();default:return renderSwitch();}// ============================================\n// Switch 样式渲染\n// ============================================\nfunction renderSwitch(){const switchWidth=filterToggleStyles?.switchWidth??52;const switchHeight=filterToggleStyles?.switchHeight??24;const knobSize=filterToggleStyles?.knobSize??18;const gap=filterToggleStyles?.gap??12;// 计算滑块位置\nconst knobPositionOff=gap;const knobPositionAny=(switchWidth-knobSize)/2;const knobPositionOn=switchWidth-knobSize-gap;const stateClass=currentState===\"on\"?\"is-on\":currentState===\"any\"?\"is-any\":\"is-off\";return /*#__PURE__*/_jsxs(\"div\",{className:\"cms-toggle-wrapper\",children:[/*#__PURE__*/_jsx(\"style\",{children:`\n          .cms-toggle-switch.${uniqueClassName} {\n            position: relative;\n            width: ${switchWidth}px;\n            height: ${switchHeight}px;\n            border-radius: ${switchHeight/2}px;\n            cursor: pointer;\n            transition: all 0.2s ease;\n          }\n\n          .cms-toggle-knob.${uniqueClassName} {\n            position: relative;\n            width: ${knobSize}px;\n            height: ${knobSize}px;\n            border-radius: ${knobSize/2}px;\n            background-color: #fff;\n            transition: all 0.2s ease;\n            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);\n          }\n\n          /* Knob Positions */\n          .cms-toggle-switch.${uniqueClassName}.is-off .cms-toggle-knob.${uniqueClassName} {\n            left: ${knobPositionOff}px;\n          }\n          .cms-toggle-switch.${uniqueClassName}.is-any .cms-toggle-knob.${uniqueClassName} {\n            left: ${knobPositionAny}px;\n          }\n          .cms-toggle-switch.${uniqueClassName}.is-on .cms-toggle-knob.${uniqueClassName} {\n            left: ${knobPositionOn}px;\n          }\n\n          .cms-toggle-wrapper {\n            display: flex;\n            align-items: center;\n            gap: 12px;\n          }\n        `}),/*#__PURE__*/_jsx(\"div\",{className:`cms-toggle-switch ${uniqueClassName} ${stateClass}`,onClick:handleClick,children:/*#__PURE__*/_jsx(\"div\",{className:`cms-toggle-knob ${uniqueClassName}`})}),showLabels&&/*#__PURE__*/_jsx(\"span\",{className:`cms-toggle-label ${uniqueClassName} ${stateClass}`,children:currentState===\"on\"?onLabel:currentState===\"any\"?anyLabel:offLabel})]});}// ============================================\n// Pill 样式渲染（分段控制器）\n// ============================================\nfunction renderPill(){const borderRadius=filterToggleStyles?.borderRadius??20;const pillGap=filterToggleStyles?.pillGap??0;const pillOptions=isTriState?[{value:\"any\",label:anyLabel},{value:\"on\",label:onLabel},{value:\"off\",label:offLabel}]:[{value:\"on\",label:onLabel},{value:\"off\",label:offLabel}];const activeIndex=pillOptions.findIndex(opt=>opt.value===currentState);const totalOptions=pillOptions.length;return /*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"style\",{children:`\n          .cms-pill-container.${uniqueClassName} {\n            position: relative;\n            display: flex;\n            gap: ${pillGap}px;\n            padding: 2px;\n            background-color: ${filterToggleStyles?.backgroundColor||\"#f0f0f0\"};\n            border-radius: ${borderRadius}px;\n          }\n\n          .cms-pill-option.${uniqueClassName} {\n            flex: 1;\n            padding: 8px 16px;\n            text-align: center;\n            cursor: pointer;\n            border-radius: ${borderRadius-2}px;\n            transition: all 0.2s ease;\n            z-index: 2;\n          }\n\n          .cms-pill-option.${uniqueClassName}.is-active {\n            color: #fff;\n            background-color: ${filterToggleStyles?.selectedBackgroundColor||\"#007AFF\"};\n          }\n        `}),/*#__PURE__*/_jsx(\"div\",{className:`cms-pill-container ${uniqueClassName}`,children:pillOptions.map(option=>{const isActive=currentState===option.value;return /*#__PURE__*/_jsx(\"div\",{className:`cms-pill-option ${uniqueClassName} ${isActive?\"is-active\":\"\"}`,onClick:()=>{if(isTriState){onChange(option.value===\"on\"?true:option.value===\"off\"?false:null);}else{onChange(option.value===\"on\"?true:false);}},children:option.label},option.value);})})]});}}\nexport const __FramerMetadata__ = {\"exports\":{\"ToggleFilter\":{\"type\":\"reactComponent\",\"name\":\"ToggleFilter\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"any\",\"framerSupportedLayoutHeight\":\"any\",\"framerDisableUnlink\":\"\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","/**\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight any\n * @framerDisableUnlink\n */import{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";export function CheckboxFilter({config,value,onChange,debugLevel,filterCheckboxStyles,uniqueClassName}){const selected=config.allowMultiple?value||[]:value||\"\";const options=config.options||[];return /*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"style\",{children:`\n                .cms-checkbox-filter {\n                    background-color: ${filterCheckboxStyles.backgroundColor};\n\n                    ${(()=>{if(typeof filterCheckboxStyles?.border===\"string\"){return`border: ${filterCheckboxStyles.border};`;}else if(filterCheckboxStyles?.border){const border=filterCheckboxStyles.border;return`\n                                ${border.borderWidth!==undefined?`border-width: ${border.borderWidth}px;`:\"\"}\n                                ${border.borderTopWidth!==undefined?`border-top-width: ${border.borderTopWidth}px;`:\"\"}\n                                ${border.borderBottomWidth!==undefined?`border-bottom-width: ${border.borderBottomWidth}px;`:\"\"}\n                                ${border.borderLeftWidth!==undefined?`border-left-width: ${border.borderLeftWidth}px;`:\"\"}\n                                ${border.borderRightWidth!==undefined?`border-right-width: ${border.borderRightWidth}px;`:\"\"}\n                                ${border.borderStyle?`border-style: ${border.borderStyle};`:\"border-style: solid;\"}\n                                ${border.borderColor?`border-color: ${border.borderColor};`:\"border-color: #dee2e6;\"}\n                            `;}else{return\"border: none;\";}})()}\n\n                    padding: ${filterCheckboxStyles.padding||\"8px 0\"};\n                    border-radius: ${filterCheckboxStyles.borderRadius};\n                }\n\n                .cms-checkbox-filter:hover {\n                    background-color: ${filterCheckboxStyles.hoverBackgroundColor};\n                    border-color: ${filterCheckboxStyles.hoverBorderColor};\n                }\n\n                .cms-checkbox-filter.cms-checkbox-filter-selected {\n                    background-color: ${filterCheckboxStyles.activeBackgroundColor};\n                    border-color: ${filterCheckboxStyles.activeBorderColor};\n                }\n            `}),/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",flexDirection:\"column\",gap:filterCheckboxStyles.gap||6},children:[config.showAllOption&&(()=>{const isAllSelected=config.allowMultiple?Array.isArray(selected)&&selected.length===0:selected===\"\";return /*#__PURE__*/_jsxs(\"div\",{onClick:()=>{if(!isAllSelected){onChange(config.allowMultiple?[]:\"\");}},className:isAllSelected?\"cms-checkbox-filter cms-checkbox-filter-selected\":\"cms-checkbox-filter\",style:{display:\"flex\",alignItems:\"center\",gap:filterCheckboxStyles.checkboxGap||10,cursor:\"pointer\",transition:\"all 0.2s ease\"},children:[/*#__PURE__*/_jsx(\"div\",{style:{position:\"relative\",...filterCheckboxStyles.checkboxBorder,borderColor:isAllSelected?filterCheckboxStyles.selectedBorderColor:filterCheckboxStyles.checkboxBorder.borderColor,borderRadius:filterCheckboxStyles.checkboxBorderRadius,backgroundColor:isAllSelected?filterCheckboxStyles.selectedBackgroundColor:filterCheckboxStyles.checkboxBackgroundColor,color:isAllSelected?filterCheckboxStyles.selectedTextColor:filterCheckboxStyles.color,transition:\"all 0.2s ease\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\",flexShrink:0,width:filterCheckboxStyles.scale||18,height:filterCheckboxStyles.scale||18},children:isAllSelected&&/*#__PURE__*/_jsx(\"svg\",{width:(filterCheckboxStyles.scale||18)!==18?\"70%\":\"12px\",height:(filterCheckboxStyles.scale||18)!==18?\"70%\":\"12px\",viewBox:\"0 0 24 24\",fill:\"none\",style:{color:filterCheckboxStyles.selectedSvgColor},children:/*#__PURE__*/_jsx(\"path\",{d:\"M20 6L9 17L4 12\",stroke:\"currentColor\",strokeWidth:\"2.5\",strokeLinecap:\"round\",strokeLinejoin:\"round\"})})}),/*#__PURE__*/_jsx(\"span\",{style:{fontFamily:filterCheckboxStyles?.font?.fontFamily||undefined,fontWeight:filterCheckboxStyles?.font?.fontWeight??undefined,fontStyle:filterCheckboxStyles?.font?.fontStyle??undefined,fontSize:filterCheckboxStyles.fontSize,transition:\"color 0.2s ease\",color:isAllSelected?filterCheckboxStyles.selectedTextColor:filterCheckboxStyles.color},children:config.allOptionLabel||`All ${config.title}`})]});})(),options.map((option,idx)=>{const optionValue=option.value||option.title;const optionTitle=option.title||option.value;const isSelected=config.allowMultiple?Array.isArray(selected)&&selected.includes(optionValue):selected===optionValue;return /*#__PURE__*/_jsxs(\"div\",{onClick:()=>{if(config.allowMultiple){const current=Array.isArray(selected)?[...selected]:[];if(isSelected){onChange(current.filter(v=>v!==optionValue));}else{current.push(optionValue);onChange(current);}}else{onChange(isSelected&&(config.allowDeselect??true)?\"\":optionValue);}},className:isSelected?\"cms-checkbox-filter cms-checkbox-filter-selected\":\"cms-checkbox-filter\",style:{display:\"flex\",alignItems:\"center\",gap:filterCheckboxStyles.checkboxGap||10,cursor:\"pointer\",transition:\"all 0.2s ease\"},children:[/*#__PURE__*/_jsx(\"div\",{style:{position:\"relative\",...filterCheckboxStyles.checkboxBorder,borderColor:isSelected?filterCheckboxStyles.selectedBorderColor:filterCheckboxStyles.checkboxBorder.borderColor,borderRadius:filterCheckboxStyles.checkboxBorderRadius,backgroundColor:isSelected?filterCheckboxStyles.selectedBackgroundColor:filterCheckboxStyles.checkboxBackgroundColor,color:isSelected?filterCheckboxStyles.selectedTextColor:filterCheckboxStyles.color,transition:\"all 0.2s ease\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\",flexShrink:0,width:filterCheckboxStyles.scale||18,height:filterCheckboxStyles.scale||18},children:isSelected&&/*#__PURE__*/_jsx(\"svg\",{width:(filterCheckboxStyles.scale||18)!==18?\"70%\":\"12px\",height:(filterCheckboxStyles.scale||18)!==18?\"70%\":\"12px\",viewBox:\"0 0 24 24\",fill:\"none\",style:{color:isSelected?filterCheckboxStyles.selectedSvgColor:\"\"},children:/*#__PURE__*/_jsx(\"path\",{d:\"M20 6L9 17L4 12\",stroke:\"currentColor\",strokeWidth:\"2.5\",strokeLinecap:\"round\",strokeLinejoin:\"round\"})})}),/*#__PURE__*/_jsx(\"span\",{style:{fontFamily:filterCheckboxStyles?.font?.fontFamily||undefined,fontWeight:filterCheckboxStyles?.font?.fontWeight??undefined,fontStyle:filterCheckboxStyles?.font?.fontStyle??undefined,fontSize:filterCheckboxStyles.fontSize,transition:\"color 0.2s ease\",color:isSelected?filterCheckboxStyles.selectedTextColor:filterCheckboxStyles.color},children:optionTitle})]},idx);}),(debugLevel===\"ui_helpers\"||debugLevel===\"full_debug\")&&/*#__PURE__*/_jsxs(\"div\",{style:{fontSize:11,color:\"#666\",marginTop:4},children:[\"Selected:\",\" \",Array.isArray(selected)?selected.join(\", \"):selected]})]})]});}\nexport const __FramerMetadata__ = {\"exports\":{\"CheckboxFilter\":{\"type\":\"reactComponent\",\"name\":\"CheckboxFilter\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"any\",\"framerSupportedLayoutHeight\":\"any\",\"framerDisableUnlink\":\"\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./CheckboxFilter.map","// TagFilter component for tag-style selection\n// Extracted from DropdownFilter.tsx for better maintainability\nimport{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import{getActiveMatch,getOptionData}from\"https://framerusercontent.com/modules/8t4wAEVIEW49rMhOZjZW/PQhcG4yZfkIHdwCdaOvo/filter_utils.js\";/**\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight any\n * @framerDisableUnlink\n */export function TagFilter({config,value,onChange,debugLevel,filterPillStyles,uniqueClassName}){const activeMatch=getActiveMatch(config);// \"is_set\" and \"is_not_set\" do not require input\nif(activeMatch===\"is_set\"||activeMatch===\"is_not_set\"){return /*#__PURE__*/_jsx(\"div\",{style:{padding:8,fontSize:12,color:\"#666\",fontStyle:\"italic\"},children:\"No input needed - checks if field has value\"});}// Extract option data\nconst{values,titles,optionMap}=getOptionData(config);if(values.length===0){return /*#__PURE__*/_jsx(\"div\",{style:{padding:8,fontSize:12,color:\"#dc3545\",fontStyle:\"italic\",backgroundColor:\"#f8d7da\",borderRadius:4},children:\"No options configured. Please add options to the filter configuration.\"});}// Normalize selected values\nconst selectedValues=Array.isArray(value)?value:value?[value]:[];const isAllSelected=config.allowMultiple?selectedValues.length===0:!value;return /*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"style\",{children:`\n                .tag-filter.${uniqueClassName} {\n                    padding: 6px 12px;\n                    border-radius: 4px;\n                    font-size: 14px;\n                    cursor: pointer;\n                    transition: all 0.2s ease;\n                    background-color: ${filterPillStyles?.backgroundColor||\"#fff\"};\n                    color: ${filterPillStyles?.color||\"#333\"};\n\n                    ${(()=>{if(typeof filterPillStyles?.border===\"string\"){return`border: ${filterPillStyles.border};`;}if(filterPillStyles?.border){const border=filterPillStyles.border;return`\n                                ${border.borderWidth!==undefined?`border-width: ${border.borderWidth}px;`:\"\"}\n                                ${border.borderTopWidth!==undefined?`border-top-width: ${border.borderTopWidth}px;`:\"\"}\n                                ${border.borderBottomWidth!==undefined?`border-bottom-width: ${border.borderBottomWidth}px;`:\"\"}\n                                ${border.borderLeftWidth!==undefined?`border-left-width: ${border.borderLeftWidth}px;`:\"\"}\n                                ${border.borderRightWidth!==undefined?`border-right-width: ${border.borderRightWidth}px;`:\"\"}\n                                ${border.borderStyle?`border-style: ${border.borderStyle};`:\"border-style: solid;\"}\n                                ${border.borderColor?`border-color: ${border.borderColor};`:\"border-color: #dee2e6;\"}\n                            `;}return\"border: none;\";})()}\n                }\n\n                .tag-filter.${uniqueClassName}:hover {\n                    color: ${filterPillStyles?.hoverTextColor||\"#fff\"} !important;\n                    border-color: ${filterPillStyles?.hoverBorderColor||\"#007AFF\"} !important;\n                    background-color: ${filterPillStyles?.hoverBackgroundColor||\"#f8f9fa\"} !important;\n                }\n\n                .tag-filter.${uniqueClassName}.selected {\n                    background-color: ${filterPillStyles?.selectedBackgroundColor||\"#007AFF\"} !important;\n                    color: ${filterPillStyles?.selectedTextColor||\"#fff\"} !important;\n                    border-color: ${filterPillStyles?.selectedBorderColor||\"#007AFF\"} !important;\n                }\n            `}),/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",flexDirection:\"column\",gap:8},children:[/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",flexWrap:\"wrap\",gap:filterPillStyles?.gap||8},children:[config.showAllOption&&/*#__PURE__*/_jsx(\"div\",{className:`tag-filter ${uniqueClassName} ${isAllSelected?\"selected\":\"\"}`,style:{...filterPillStyles},onClick:()=>{if(!isAllSelected){onChange(config.allowMultiple?[]:\"\");}},children:config.allOptionLabel||`All ${config.title}`}),values.map((optionValue,idx)=>{const optionTitle=titles[idx];const isSelected=selectedValues.includes(optionValue);return /*#__PURE__*/_jsx(\"div\",{className:`tag-filter ${uniqueClassName} ${isSelected?\"selected\":\"\"}`,style:{...filterPillStyles},onClick:()=>{if(config.allowMultiple){if(isSelected){onChange(selectedValues.filter(v=>v!==optionValue));}else{onChange([...selectedValues,optionValue]);}}else{onChange(isSelected&&(config.allowDeselect??true)?\"\":optionValue);}},children:optionTitle},idx);})]}),(debugLevel===\"ui_helpers\"||debugLevel===\"full_debug\")&&selectedValues.length>0&&/*#__PURE__*/_jsxs(\"div\",{style:{fontSize:11,color:\"#007AFF\",padding:\"6px 10px\",backgroundColor:\"#f0f8ff\",borderRadius:4,border:\"1px solid #b3d9ff\"},children:[/*#__PURE__*/_jsx(\"strong\",{children:selectedValues.length}),\" selected:\",\" \",selectedValues.map(val=>optionMap.get(val)||val).join(\", \")]})]})]});}\nexport const __FramerMetadata__ = {\"exports\":{\"TagFilter\":{\"type\":\"reactComponent\",\"name\":\"TagFilter\",\"slots\":[],\"annotations\":{\"framerDisableUnlink\":\"\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutHeight\":\"any\",\"framerSupportedLayoutWidth\":\"any\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","// DropdownFilter component - Clean router for different dropdown styles\n// Separated into specialized components for better maintainability\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{CheckboxFilter}from\"https://framerusercontent.com/modules/ixFJb1DikSWTe5cysJbR/uwxJ105m5obu07VPRHaM/CheckboxFilter.js\";import{SelectFilter}from\"https://framerusercontent.com/modules/AriU3p2OUNgHYoCILVA4/nqX4dl8nxEQow1sOWrpt/SelectFilter.js\";import{TagFilter}from\"https://framerusercontent.com/modules/rGXZZaT17uU9RXncOxdG/JUzUpnDZjrA7cK8tWJb7/TagFilter.js\";/**\n * DropdownFilter - 下拉过滤器路由组件\n *\n * 根据 config.multiStyle 将请求路由到不同的 UI 组件：\n * - \"checkboxes\" → CheckboxFilter（复选框列表）\n * - \"tags\"       → TagFilter（标签按钮）\n * - \"select\"     → SelectFilter（下拉选择器）\n *\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight any\n * @framerDisableUnlink\n */export function DropdownFilter({config,value,onChange,debugLevel,filterSelectStyles,filterPillStyles,filterCheckboxStyles,uniqueClassName}){// ============================================\n// 根据 multiStyle 路由到对应组件\n// ============================================\n// 复选框样式\nif(config.multiStyle===\"checkboxes\"){return /*#__PURE__*/_jsx(CheckboxFilter,{config:config,value:value,onChange:onChange,debugLevel:debugLevel,filterCheckboxStyles:filterCheckboxStyles,uniqueClassName:uniqueClassName});}// 标签按钮样式\nif(config.multiStyle===\"tags\"){return /*#__PURE__*/_jsx(TagFilter,{config:config,value:value,onChange:onChange,debugLevel:debugLevel,filterPillStyles:filterPillStyles,uniqueClassName:uniqueClassName});}// 下拉选择器样式\nif(config.multiStyle===\"select\"){return /*#__PURE__*/_jsx(SelectFilter,{config:config,value:value,onChange:onChange,debugLevel:debugLevel,filterSelectStyles:filterSelectStyles,uniqueClassName:uniqueClassName});}// 默认返回 null（理论上不会到达这里）\nreturn null;}\nexport const __FramerMetadata__ = {\"exports\":{\"DropdownFilter\":{\"type\":\"reactComponent\",\"name\":\"DropdownFilter\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutHeight\":\"any\",\"framerDisableUnlink\":\"\",\"framerSupportedLayoutWidth\":\"any\",\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","// NumberFilter component for CMS Filter system\n// Extracted from CMSFilters.tsx for better modularity\nimport{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import{getActiveMatch}from\"https://framerusercontent.com/modules/8t4wAEVIEW49rMhOZjZW/PQhcG4yZfkIHdwCdaOvo/filter_utils.js\";/**\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight any\n * @framerDisableUnlink\n */export function NumberFilter({config,value,onChange,debugLevel,filterInputStyles,uniqueClassName}){const activeMatch=getActiveMatch(config);// For is_set / is_not_set operators → no input required\nif(activeMatch===\"is_set\"||activeMatch===\"is_not_set\"){return /*#__PURE__*/_jsx(\"div\",{style:{padding:8,fontSize:12,color:\"#666\",fontStyle:\"italic\"},children:\"No input needed - checks if field has value\"});}return /*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"style\",{children:`\n                .cms-filter-input.${uniqueClassName} {\n                    ${(()=>{if(typeof filterInputStyles?.border===\"string\"){return`border: ${filterInputStyles.border};`;}// Border object case\nif(filterInputStyles?.border){const border=filterInputStyles.border;return`\n                                ${border.borderWidth!==undefined?`border-width: ${border.borderWidth}px;`:\"\"}\n                                ${border.borderTopWidth!==undefined?`border-top-width: ${border.borderTopWidth}px;`:\"\"}\n                                ${border.borderBottomWidth!==undefined?`border-bottom-width: ${border.borderBottomWidth}px;`:\"\"}\n                                ${border.borderLeftWidth!==undefined?`border-left-width: ${border.borderLeftWidth}px;`:\"\"}\n                                ${border.borderRightWidth!==undefined?`border-right-width: ${border.borderRightWidth}px;`:\"\"}\n                                ${border.borderStyle?`border-style: ${border.borderStyle};`:\"border-style: solid;\"}\n                                ${border.borderColor?`border-color: ${border.borderColor};`:\"border-color: #dee2e6;\"}\n                            `;}// No border specified\nreturn\"border: none;\";})()}\n\n                    transition: \n                        border-color 0.2s ease,\n                        background-color 0.2s ease,\n                        color 0.2s ease,\n                        box-shadow 0.2s ease;\n                }\n\n                .cms-filter-input.${uniqueClassName}:hover:not(:focus) {\n                    border-color: ${filterInputStyles?.hoverBorderColor||filterInputStyles?.selectedBorderColor||\"#007AFF\"} !important;\n\n                    background-color: ${filterInputStyles?.hoverBackgroundColor||\"#f8f9fa\"} !important;\n\n                    color: ${filterInputStyles?.hoverTextColor||filterInputStyles?.color||\"#333\"} !important;\n                }\n\n                .cms-filter-input.${uniqueClassName}:focus {\n                    border-color: ${filterInputStyles?.selectedBorderColor||\"#007AFF\"} !important;\n\n                    background-color: ${filterInputStyles?.selectedBackgroundColor||\"#fff\"} !important;\n\n                    color: ${filterInputStyles?.selectedTextColor||\"#333\"} !important;\n                }\n            `}),/*#__PURE__*/_jsx(\"input\",{className:`${uniqueClassName} cms-filter-input`,type:\"number\",placeholder:`Enter ${config.title.toLowerCase()}...`,value:value??\"\",onChange:e=>{const stringValue=e.target.value.trim();if(stringValue===\"\"){onChange(\"\");return;}const numValue=parseFloat(stringValue);onChange(isNaN(numValue)?\"\":numValue);},style:{padding:\"8px 12px\",borderRadius:4,fontSize:14,outline:\"none\",width:\"100%\",lineHeight:1.2,...filterInputStyles,fontFamily:filterInputStyles?.font?.fontFamily,fontWeight:filterInputStyles?.font?.fontWeight,fontStyle:filterInputStyles?.font?.fontStyle}})]});}\nexport const __FramerMetadata__ = {\"exports\":{\"NumberFilter\":{\"type\":\"reactComponent\",\"name\":\"NumberFilter\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerSupportedLayoutHeight\":\"any\",\"framerSupportedLayoutWidth\":\"any\",\"framerDisableUnlink\":\"\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","// DoubleRangeSlider – Clean Version (same logic, clearer structure)\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{useState,useEffect,useRef}from\"react\";export function DoubleRangeSlider({config,minRangeValueGap=1,trackColor=\"#dddddd\",rangeColor=\"#007AFF\",thumbColor=\"#fff\",thumbBorderColor=\"#007AFF\",bubbleColor=\"#007AFF\",bubbleTextColor=\"#ffffff\",padding=0,borderRadius=20,backgroundColor=\"#ffffff\",font,fontSize,value,onRangeChange}){const min=config?.min??0;const max=config?.max??100;const step=config?.step??1;const unit=config?.unit??\"\";/*--------------------------------------------------------------\n     | Internal values (sync from props)\n     --------------------------------------------------------------*/const initialMin=value?.min??min;const initialMax=value?.max??max;const[minRange,setMinRange]=useState(initialMin);const[maxRange,setMaxRange]=useState(initialMax);const isSyncingRef=useRef(false);const lastEmittedRef=useRef({min:initialMin,max:initialMax});const rangeTrackRef=useRef(null);const minInputRef=useRef(null);const maxInputRef=useRef(null);/*--------------------------------------------------------------\n     | Sync FROM external value\n     --------------------------------------------------------------*/useEffect(()=>{// When cleared externally\nif(value===null||value===undefined){const changed=minRange!==min||maxRange!==max;if(changed){isSyncingRef.current=true;setMinRange(min);setMaxRange(max);lastEmittedRef.current={min,max};}return;}const nextMin=value.min??min;const nextMax=value.max??max;const changed=nextMin!==minRange||nextMax!==maxRange;if(changed){isSyncingRef.current=true;setMinRange(nextMin);setMaxRange(nextMax);lastEmittedRef.current={min:nextMin,max:nextMax};}},[value,min,max]);/*--------------------------------------------------------------\n     | Update track + emit onChange\n     --------------------------------------------------------------*/useEffect(()=>{// Update range highlight\nif(rangeTrackRef.current){const minPercent=(minRange-min)/(max-min)*100;const maxPercent=(maxRange-min)/(max-min)*100;rangeTrackRef.current.style.left=`${minPercent}%`;rangeTrackRef.current.style.width=`${maxPercent-minPercent}%`;rangeTrackRef.current.style.right=\"auto\";}// Skip emitting when syncing\nif(isSyncingRef.current){isSyncingRef.current=false;return;}// Only emit when changed\nconst last=lastEmittedRef.current;if(last.min!==minRange||last.max!==maxRange){lastEmittedRef.current={min:minRange,max:maxRange};onRangeChange?.(minRange,maxRange);}},[minRange,maxRange,min,max,onRangeChange]);/*--------------------------------------------------------------\n     | Handlers\n     --------------------------------------------------------------*/const handleMinInput=e=>{const raw=parseInt(e.target.value);const newValue=Math.min(raw,maxRange-minRangeValueGap);setMinRange(newValue);};const handleMaxInput=e=>{const raw=parseInt(e.target.value);const newValue=Math.max(raw,minRange+minRangeValueGap);setMaxRange(newValue);};const handleTrackClick=e=>{const track=e.currentTarget;const rect=track.getBoundingClientRect();const clickX=e.clientX-rect.left;const clickPct=clickX/rect.width*100;const clickValue=Math.round(min+clickPct/100*(max-min));// Decide which thumb is closer\nconst distToMin=Math.abs(clickValue-minRange);const distToMax=Math.abs(clickValue-maxRange);if(distToMin<distToMax){// Move min\nconst newMin=Math.min(clickValue,maxRange-minRangeValueGap);setMinRange(Math.max(min,Math.round(newMin/step)*step));}else{// Move max\nconst newMax=Math.max(clickValue,minRange+minRangeValueGap);setMaxRange(Math.min(max,Math.round(newMax/step)*step));}};/*--------------------------------------------------------------\n     | Render\n     --------------------------------------------------------------*/const minPercent=(minRange-min)/(max-min)*100;const maxPercent=(maxRange-min)/(max-min)*100;return /*#__PURE__*/_jsxs(\"div\",{className:\"double_range_slider_box\",style:{width:\"100%\",backgroundColor,borderRadius,padding},children:[/*#__PURE__*/_jsxs(\"div\",{className:\"double_range_slider\",onClick:handleTrackClick,children:[/*#__PURE__*/_jsx(\"span\",{className:\"range_track\",ref:rangeTrackRef,style:{backgroundColor:rangeColor}}),/*#__PURE__*/_jsx(\"input\",{ref:minInputRef,type:\"range\",className:\"min\",min:min,max:max,value:minRange,step:step,onChange:handleMinInput}),/*#__PURE__*/_jsx(\"input\",{ref:maxInputRef,type:\"range\",className:\"max\",min:min,max:max,value:maxRange,step:step,onChange:handleMaxInput}),/*#__PURE__*/_jsx(\"div\",{className:\"minvalue\",style:{backgroundColor:bubbleColor,color:bubbleTextColor,left:`${minPercent}%`,transform:`translate(-${minPercent}%, -150%)`,fontSize,fontFamily:font?.fontFamily,fontWeight:font?.fontWeight,fontStyle:font?.fontStyle},children:minRange}),/*#__PURE__*/_jsx(\"div\",{className:\"maxvalue\",style:{backgroundColor:bubbleColor,color:bubbleTextColor,right:`${100-maxPercent}%`,transform:`translate(${100-maxPercent}%, -150%)`,fontSize,fontFamily:font?.fontFamily,fontWeight:font?.fontWeight,fontStyle:font?.fontStyle},children:maxRange})]}),/*#__PURE__*/_jsx(\"style\",{children:`\n                .double_range_slider_box {\n                    position: relative;\n                    display: flex;\n                    justify-content: center;\n                    align-items: center;\n                }\n\n                .double_range_slider {\n                    width: 100%;\n                    height: 5px;\n                    position: relative;\n                    background-color: ${trackColor};\n                    border-radius: 20px;\n                    margin-top: 42px;\n                    cursor: pointer;\n                }\n\n                .double_range_slider .range_track {\n                    height: 100%;\n                    position: absolute;\n                    border-radius: 20px;\n                }\n\n                .double_range_slider input {\n                    position: absolute;\n                    width: 100%;\n                    height: 5px;\n                    background: none;\n                    pointer-events: none;\n                    -webkit-appearance: none;\n                    top: 50%;\n                    transform: translateY(-50%);\n                }\n\n                .double_range_slider input::-webkit-slider-thumb {\n                    height: 20px;\n                    width: 20px;\n                    border-radius: 50%;\n                    border: 3px solid ${thumbBorderColor};\n                    background-color: ${thumbColor};\n                    pointer-events: auto;\n                    cursor: pointer;\n                }\n\n                .double_range_slider .minvalue,\n                .double_range_slider .maxvalue {\n                    position: absolute;\n                    padding: 6px 12px;\n                    border-radius: 1rem;\n                    top: 0;\n                    white-space: nowrap;\n                }\n            `})]});}\nexport const __FramerMetadata__ = {\"exports\":{\"DoubleRangeSlider\":{\"type\":\"reactComponent\",\"name\":\"DoubleRangeSlider\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./DoubleRangeSlider.map","import{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import{DoubleRangeSlider}from\"https://framerusercontent.com/modules/uqTCLD2flbyo9EM5RjrM/uai6aWSJQgbHX53Rgbiy/DoubleRangeSlider.js\";// RangeFilter component for CMS Filter system\n// Extracted from CMSFilters.tsx for better modularity\n/**\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight any\n * @framerDisableUnlink\n */export function RangeFilter({config,value,onChange,filterInputStyles,filterRangeStyles,uniqueClassName}){const min=config.min??0;const max=config.max??100;const step=config.step??1;const currentValue=value||{min,max};const unit=config.unit||\"\";/*--------------------------------------------------------------\n     | Range Slider Mode\n     --------------------------------------------------------------*/if(config.rangeStyle===\"range-slider\"){return /*#__PURE__*/_jsx(DoubleRangeSlider,{...filterRangeStyles,config:config,value:value,onRangeChange:(minValue,maxValue)=>onChange({min:minValue,max:maxValue})});}/*--------------------------------------------------------------\n     | Dual Input Mode (default)\n     --------------------------------------------------------------*/return /*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"style\",{children:`\n                .cms-filter-input.${uniqueClassName} {\n                    transition:\n                        border-color 0.2s ease,\n                        background-color 0.2s ease,\n                        color 0.2s ease,\n                        box-shadow 0.2s ease;\n                }\n\n                .cms-filter-input.${uniqueClassName}:hover:not(:focus) {\n                    border-color: ${filterInputStyles?.hoverBorderColor||filterInputStyles?.selectedBorderColor||\"#007AFF\"} !important;\n\n                    background-color: ${filterInputStyles?.hoverBackgroundColor||\"#f8f9fa\"} !important;\n\n                    color: ${filterInputStyles?.hoverTextColor||filterInputStyles?.color||\"#333\"} !important;\n                }\n\n                .cms-filter-input.${uniqueClassName}:focus {\n                    border-color: ${filterInputStyles?.selectedBorderColor||\"#007AFF\"} !important;\n\n                    background-color: ${filterInputStyles?.selectedBackgroundColor||\"#fff\"} !important;\n\n                    color: ${filterInputStyles?.selectedTextColor||\"#333\"} !important;\n                }\n            `}),/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",flexDirection:\"column\",gap:8},children:[/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",flexDirection:config.rangeInputOptions===\"left-right\"?\"row\":\"column\",justifyContent:config.rangeInputOptions===\"left-right\"?\"space-between\":\"space-around\",flexWrap:\"wrap\",gap:8},children:[/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",alignItems:config.rangeInputOptions===\"left-right\"?\"flex-start\":\"center\",flexDirection:config.rangeInputOptions===\"left-right\"?\"column\":\"row\",gap:8},children:[/*#__PURE__*/_jsx(\"label\",{style:{fontSize:12,color:\"#666\",minWidth:30,fontFamily:filterInputStyles?.font?.fontFamily},children:\"Min:\"}),/*#__PURE__*/_jsx(\"input\",{className:`${uniqueClassName} cms-filter-input`,type:\"number\",value:currentValue.min!==undefined?currentValue.min:min,onChange:e=>{const newMin=e.target.value?parseFloat(e.target.value):min;onChange({min:newMin,max:currentValue.max!==undefined?currentValue.max:max});},min:min,max:currentValue.max!==undefined?currentValue.max:max,step:step,style:{padding:\"6px 8px\",border:\"1px solid #dee2e6\",borderRadius:4,fontSize:12,lineHeight:1.2,outline:\"none\",flex:1,...filterInputStyles,fontFamily:filterInputStyles?.font?.fontFamily,fontWeight:filterInputStyles?.font?.fontWeight,fontStyle:filterInputStyles?.font?.fontStyle}}),unit&&/*#__PURE__*/_jsx(\"span\",{style:{fontSize:12,color:\"#666\"},children:unit})]}),/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",alignItems:config.rangeInputOptions===\"left-right\"?\"flex-start\":\"center\",flexDirection:config.rangeInputOptions===\"left-right\"?\"column\":\"row\",gap:8},children:[/*#__PURE__*/_jsx(\"label\",{style:{fontSize:12,color:\"#666\",minWidth:30,fontFamily:filterInputStyles?.font?.fontFamily},children:\"Max:\"}),/*#__PURE__*/_jsx(\"input\",{className:`${uniqueClassName} cms-filter-input`,type:\"number\",value:currentValue.max!==undefined?currentValue.max:max,onChange:e=>{const newMax=e.target.value?parseFloat(e.target.value):max;onChange({min:currentValue.min!==undefined?currentValue.min:min,max:newMax});},min:currentValue.min!==undefined?currentValue.min:min,max:max,step:step,style:{padding:\"6px 8px\",border:\"1px solid #dee2e6\",borderRadius:4,fontSize:12,lineHeight:1.2,outline:\"none\",flex:1,...filterInputStyles,fontFamily:filterInputStyles?.font?.fontFamily,fontWeight:filterInputStyles?.font?.fontWeight,fontStyle:filterInputStyles?.font?.fontStyle}}),unit&&/*#__PURE__*/_jsx(\"span\",{style:{fontSize:12,color:\"#666\"},children:unit})]})]}),config.rangeBottomLabel&&/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",justifyContent:\"space-between\",fontSize:11,color:\"#999\",marginTop:4},children:[/*#__PURE__*/_jsxs(\"span\",{children:[\"Min: \",min,unit]}),/*#__PURE__*/_jsxs(\"span\",{children:[\"Max: \",max,unit]})]})]})]});}\nexport const __FramerMetadata__ = {\"exports\":{\"RangeFilter\":{\"type\":\"reactComponent\",\"name\":\"RangeFilter\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutWidth\":\"any\",\"framerSupportedLayoutHeight\":\"any\",\"framerContractVersion\":\"1\",\"framerDisableUnlink\":\"\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./RangeFilter.map","// FilterControl wrapper component - routes to appropriate filter type\n// Extracted from CMSFilters.tsx for better modularity\nimport{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import{getActiveMatch,hasValidValue,getRecommendedFilterType}from\"https://framerusercontent.com/modules/8t4wAEVIEW49rMhOZjZW/PQhcG4yZfkIHdwCdaOvo/filter_utils.js\";import{TextFilter}from\"https://framerusercontent.com/modules/FHqRXME93mWMs3IDWXfC/QyFeIJkqOBoO6JAm0cN7/TextFilter.js\";import{CMSEnumFilter}from\"https://framerusercontent.com/modules/ybJHDJ85VZoRJ6fNzsI0/YHjhDt2cjmLhNvByL0Ws/CMSEnumFilter.js\";import{ToggleFilter}from\"https://framerusercontent.com/modules/10QCf43E4tbOXgx1ECvJ/Dj72TpTH6KjmWMrKOgXO/ToggleFilter.js\";import{DropdownFilter}from\"https://framerusercontent.com/modules/35TsDTo0KAsCudpwqnK1/qys6WXyOlS8iM4qhMVz3/DropdownFilter.js\";import{NumberFilter}from\"https://framerusercontent.com/modules/vnbZ8S3JJq34f4LkpBg9/UBDlNwteqwVm8UtOygEW/NumberFilter.js\";import{RangeFilter}from\"https://framerusercontent.com/modules/btM09c71B1E5oPlNZhUW/jknVSFzr1wwZQ8yskZjs/RangeFilter.js\";/**\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight any\n * @framerDisableUnlink\n */export function FilterControl({config,value,onChange,availableFields,debugLevel,filterContainerStyles,filterLabelStyles,filterInputStyles,filterPillStyles,filterRangeStyles,filterToggleStyles,filterCheckboxStyles,filterSelectStyles,uniqueClassName,collectionInfo}){// Find field info\nconst fieldInfo=availableFields.length>0?availableFields.find(f=>f.title.toLowerCase()===config.fieldName.toLowerCase()):null;// Toggle filter invalid if target is not boolean\nconst isToggleInvalid=availableFields.length>0&&config.filterType===\"toggle\"&&fieldInfo&&fieldInfo.type!==\"boolean\";const hasValue=hasValidValue(config,value);const activeMatch=getActiveMatch(config);// Label rendering\nconst showLabel=filterLabelStyles?.labelToggle!==false;const labelText=config.title;// Validation\nconst fieldExists=availableFields.length===0||fieldInfo;const isValidField=fieldExists&&!isToggleInvalid;return /*#__PURE__*/_jsxs(\"div\",{className:`cms-filter-container ${uniqueClassName}`,style:{...filterContainerStyles,...filterContainerStyles?.border},children:[showLabel&&/*#__PURE__*/_jsx(\"label\",{style:{display:\"block\",...filterLabelStyles,fontFamily:filterLabelStyles?.font?.fontFamily||undefined,fontWeight:filterLabelStyles?.font?.fontWeight??500,fontStyle:filterLabelStyles?.font?.fontStyle??undefined},children:labelText}),availableFields.length>0&&!fieldExists&&/*#__PURE__*/_jsxs(\"div\",{style:{color:\"#e74c3c\",fontSize:12,marginBottom:8,fontStyle:\"italic\"},children:['⚠️ Field \"',config.fieldName,'\" not found. Available:',\" \",availableFields.map(f=>f.title).join(\", \")]}),isToggleInvalid&&/*#__PURE__*/_jsxs(\"div\",{style:{color:\"#e74c3c\",fontSize:12,marginBottom:8,fontStyle:\"italic\"},children:['⚠️ Toggle filter requires boolean field. \"',fieldInfo?.title,'\" is ',fieldInfo?.type,\". Recommended:\",\" \",getRecommendedFilterType(fieldInfo?.type||\"\")]}),isValidField&&/*#__PURE__*/_jsxs(_Fragment,{children:[config.filterType===\"text\"&&/*#__PURE__*/_jsx(TextFilter,{config:config,value:value,onChange:onChange,debugLevel:debugLevel,filterInputStyles:filterInputStyles,uniqueClassName:uniqueClassName}),config.filterType===\"number\"&&/*#__PURE__*/_jsx(NumberFilter,{config:config,value:value,onChange:onChange,debugLevel:debugLevel,filterInputStyles:filterInputStyles,uniqueClassName:uniqueClassName}),config.filterType===\"dropdown\"&&/*#__PURE__*/_jsx(DropdownFilter,{config:config,value:value,onChange:onChange,debugLevel:debugLevel,filterSelectStyles:filterSelectStyles,filterPillStyles:filterPillStyles,filterCheckboxStyles:filterCheckboxStyles,uniqueClassName:uniqueClassName}),config.filterType===\"range\"&&/*#__PURE__*/_jsx(RangeFilter,{config:config,value:value,onChange:onChange,debugLevel:debugLevel,filterInputStyles:filterInputStyles,filterRangeStyles:filterRangeStyles,uniqueClassName:uniqueClassName}),config.filterType===\"toggle\"&&/*#__PURE__*/_jsx(ToggleFilter,{config:config,value:value,onChange:onChange,debugLevel:debugLevel,filterToggleStyles:filterToggleStyles,uniqueClassName:uniqueClassName}),config.filterType===\"cms-enum\"&&/*#__PURE__*/_jsx(CMSEnumFilter,{config:config,value:value,onChange:onChange,debugLevel:debugLevel,filterInputStyles:filterInputStyles,filterPillStyles:filterPillStyles,filterSelectStyles:filterSelectStyles,filterCheckboxStyles:filterCheckboxStyles,uniqueClassName:uniqueClassName,availableFields:availableFields,collectionInfo:collectionInfo})]}),debugLevel===\"ui_helpers\"&&/*#__PURE__*/_jsxs(\"div\",{style:{marginTop:8,fontSize:11,color:\"#666\"},children:[/*#__PURE__*/_jsxs(\"div\",{children:[\"Field: \",config.fieldName,\" | Filter: \",config.filterType,\" \",\"| Match: \",activeMatch]}),/*#__PURE__*/_jsxs(\"div\",{children:[\"Valid: \",hasValue?\"✅\":\"❌\",\" | Logic:\",\" \",config.logic||\"Any\"]})]}),debugLevel===\"full_debug\"&&/*#__PURE__*/_jsxs(\"div\",{style:{marginTop:8,fontSize:10,color:\"#888\",fontFamily:\"monospace\"},children:[/*#__PURE__*/_jsxs(\"div\",{children:[\"Config: \",JSON.stringify(config,null,2)]}),/*#__PURE__*/_jsxs(\"div\",{children:[\"Value:\",\" \",typeof value===\"object\"?JSON.stringify(value):String(value||\"undefined\")]}),/*#__PURE__*/_jsxs(\"div\",{children:[\"Valid: \",hasValue?\"✅\":\"❌\"]})]})]});}\nexport const __FramerMetadata__ = {\"exports\":{\"FilterControl\":{\"type\":\"reactComponent\",\"name\":\"FilterControl\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutHeight\":\"any\",\"framerContractVersion\":\"1\",\"framerDisableUnlink\":\"\",\"framerSupportedLayoutWidth\":\"any\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","// CMSFilters - 过滤系统核心入口组件\n// 使用模块化架构，协调所有过滤器功能\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{useState,useEffect,useRef}from\"react\";import{addPropertyControls,ControlType}from\"framer\";// 导入工具函数\nimport{hasValidValue,getActiveMatch}from\"https://framerusercontent.com/modules/8t4wAEVIEW49rMhOZjZW/PQhcG4yZfkIHdwCdaOvo/filter_utils.js\";import{FilterControl}from\"https://framerusercontent.com/modules/hGZZ1Rf3nrTLPZZQe1yw/5FGvUgbAomloVbe8dlrG/FilterControl.js\";import{evGetRandomString,getAvailableFilterFields,getCollectionInfo,getCollectionStore,getCollectionStoreKey,globalInitStore,isCanvas}from\"https://framerusercontent.com/modules/fGN1IPlqamL7joTmwPeH/Xt9cbw9Ua9mMHpg4UuVs/StoreManagement.js\";/**\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight any\n * @framerDisableUnlink\n */export default function CMSFilters(props){const{collection,filters,builderLogic,storeKey,style,debugLevel:debug,filterContainerStyles,filterLabelStyles,filterInputStyles,filterPillStyles,filterRangeStyles,filterToggleStyles,filterCheckboxStyles,filterSelectStyles,id}=props;// Canvas 模式下禁用调试\nconst debugLevel=isCanvas?false:debug;// 生成唯一标识\nconst newId=id?id:evGetRandomString();const uniqueClassName=`cms-filter-${newId}`;// ============================================\n// Store 连接\n// ============================================\nconst actualStoreKey=getCollectionStoreKey(collection,storeKey);// 立即初始化 Store（修复竞态条件）\nif(actualStoreKey){getCollectionStore(actualStoreKey);}// 监听 Store 初始化状态\nconst[initState]=globalInitStore();const isStoreInitialized=actualStoreKey&&initState.storeInitialized.includes(actualStoreKey);// 提取集合信息\nconst collectionInfo=getCollectionInfo(collection);// 获取 Store\nconst useStore=actualStoreKey?getCollectionStore(actualStoreKey):null;const[state,setState]=useStore?useStore():[null,null];// ============================================\n// 本地状态\n// ============================================\nconst[filterValues,setFilterValues]=useState({});const[isInitialized,setIsInitialized]=useState(false);// 获取可用字段（用于验证）\nconst availableFields=collectionInfo?getAvailableFilterFields(collectionInfo.propertyControls):[];// ============================================\n// Effect 1: 从 Store 恢复 UI 状态（仅一次）\n// ============================================\nuseEffect(()=>{if(!setState||!state||isInitialized)return;// 检查 Store 中是否有此组件的过滤器\nconst thisComponentFilters=state.filters?.filter(f=>f.componentId===id)||[];if(thisComponentFilters.length>0){// 从 Store 恢复 UI 状态\nconst restoredValues={};thisComponentFilters.forEach(filter=>{const lastDashIndex=filter.id.lastIndexOf(\"-\");const originalIndex=filter.id.substring(lastDashIndex+1);const filterId=`filter-${originalIndex}`;restoredValues[filterId]=filter.value;});setFilterValues(restoredValues);if(debugLevel===\"full_debug\"){console.log(\"🔄 Restored UI state from store:\",{componentId:id,restoredFilters:thisComponentFilters.length,restoredValues});}}setIsInitialized(true);},[setState,state,id,isInitialized,debugLevel]);// ============================================\n// Effect 2: 同步外部 Store 变化到本地状态\n// ============================================\nconst lastKnownStoreStateRef=useRef(\"\");useEffect(()=>{if(!isInitialized)return;const allStoreFilters=state?.filters||[];// 创建稳定的序列化以检测实际变化\nconst storeStateKey=JSON.stringify(allStoreFilters.map(f=>({id:f.id,field:f.field,value:f.value,operator:f.operator,componentId:f.componentId})).sort((a,b)=>a.id.localeCompare(b.id)));// 防循环：仅在 Store 实际变化时处理\nif(storeStateKey===lastKnownStoreStateRef.current){return;}lastKnownStoreStateRef.current=storeStateKey;// 使用回调模式同步\nsetFilterValues(currentFilterValues=>{const newFilterValues={};filters.forEach((config,index)=>{const filterId=`filter-${index}`;const fieldName=config.fieldName;if(!fieldName||!fieldName.trim())return;const normalizedFieldName=fieldName.trim().toLowerCase();// 查找匹配的 Store 过滤器\nconst matchingStoreFilter=allStoreFilters.find(f=>{const fieldsMatch=(f.field||\"\").trim().toLowerCase()===normalizedFieldName;return fieldsMatch&&f.type===config.filterType&&f.operator===getActiveMatch(config);});if(matchingStoreFilter){newFilterValues[filterId]=matchingStoreFilter.value;}});// 深度比较，避免不必要的更新\nconst currentKey=JSON.stringify(currentFilterValues);const newKey=JSON.stringify(newFilterValues);if(currentKey!==newKey){return newFilterValues;}return currentFilterValues;});},[state?.filters,id,isInitialized,filters,debugLevel]);// ============================================\n// Effect 3: 更新 Store（当过滤器值变化时）\n// ============================================\nuseEffect(()=>{if(!isInitialized)return;if(!setState||filters.length===0)return;// 构建活跃的过滤器\nconst activeFilters=filters.filter((config,index)=>{const filterId=`filter-${index}`;const value=filterValues[filterId];if(!config.fieldName||!config.fieldName.trim())return false;return hasValidValue(config,value);}).map(config=>{const originalIndex=filters.findIndex(c=>c===config);const filterId=`filter-${originalIndex}`;const value=filterValues[filterId];const activeMatch=getActiveMatch(config);return{id:`${id}-${originalIndex}`,field:config.fieldName?.trim()||\"\",displayTitle:config.title,type:config.filterType,operator:activeMatch,value:value,logic:config.logic||\"Any\",builderLogic:builderLogic,componentId:id,config:config,toggleOnLabel:config.toggleOnLabel,toggleOffLabel:config.toggleOffLabel};});// 使用 setState 回调避免依赖 state\nsetState(prevState=>{const currentFilters=prevState?.filters||[];// 辅助函数\nconst normalizeFieldName=field=>(field||\"\").trim().toLowerCase();const normalizeOperator=op=>(op||\"\").trim().toLowerCase();const normalizeType=type=>(type||\"\").trim().toLowerCase();const buildFilterKey=(field,type,operator)=>`${normalizeFieldName(field)}::${normalizeType(type)}::${normalizeOperator(operator)}`;// 获取其他组件的过滤器\nconst otherComponentFilters=currentFilters.filter(f=>f.componentId!==id);// 合并过滤器\nconst mergedFilters=[...otherComponentFilters];activeFilters.forEach(newFilter=>{const existingIndex=mergedFilters.findIndex(f=>normalizeFieldName(f.field)===normalizeFieldName(newFilter.field)&&f.type===newFilter.type&&f.operator===newFilter.operator);if(existingIndex>=0){// 更新现有过滤器\nmergedFilters[existingIndex]={...mergedFilters[existingIndex],value:newFilter.value,displayTitle:newFilter.displayTitle,logic:newFilter.logic,builderLogic:newFilter.builderLogic,config:newFilter.config,toggleOnLabel:newFilter.toggleOnLabel,toggleOffLabel:newFilter.toggleOffLabel};}else{// 添加新过滤器\nmergedFilters.push(newFilter);}});// 检查是否有实际变化\nconst currentFiltersKey=JSON.stringify(currentFilters.map(f=>({id:f.id,field:f.field,value:f.value,operator:f.operator})).sort((a,b)=>a.id.localeCompare(b.id)));const mergedFiltersKey=JSON.stringify(mergedFilters.map(f=>({id:f.id,field:f.field,value:f.value,operator:f.operator})).sort((a,b)=>a.id.localeCompare(b.id)));if(currentFiltersKey!==mergedFiltersKey){return{...prevState,filters:mergedFilters};}return prevState;});},[isInitialized,filterValues,filters,setState,id,builderLogic,debugLevel]);// ============================================\n// 事件处理\n// ============================================\nconst handleFilterChange=(index,value)=>{const filterId=`filter-${index}`;if(debugLevel===\"full_debug\"){console.log(\"👆 USER CLICKED filter:\",{componentId:id,filterId,newValue:value,previousValue:filterValues[filterId]});}setFilterValues(prev=>({...prev,[filterId]:value}));};// ============================================\n// 渲染过滤器\n// ============================================\nconst renderFilters=()=>{return filters.map((config,index)=>{const filterId=`filter-${index}`;const value=filterValues[filterId];return /*#__PURE__*/_jsx(FilterControl,{config:config,value:value,onChange:newValue=>handleFilterChange(index,newValue),availableFields:availableFields,debugLevel:debugLevel,filterContainerStyles:filterContainerStyles||{},filterLabelStyles:filterLabelStyles||{},filterInputStyles:filterInputStyles||{},filterPillStyles:filterPillStyles||{},filterRangeStyles:filterRangeStyles||{},filterToggleStyles:filterToggleStyles||{},filterCheckboxStyles:filterCheckboxStyles||{},filterSelectStyles:filterSelectStyles||{},uniqueClassName:uniqueClassName,collectionInfo:collectionInfo},filterId);});};// ============================================\n// 加载状态\n// ============================================\nif(!collection||!Array.isArray(collection)||!collection.length){return /*#__PURE__*/_jsxs(\"div\",{style:{padding:16,textAlign:\"center\",color:\"#666\"},children:[/*#__PURE__*/_jsx(\"div\",{children:\"🔄 Connecting to CMS collection...\"}),debugLevel!==\"hide\"&&/*#__PURE__*/_jsxs(\"div\",{style:{fontSize:11,marginTop:4},children:[\"Store key: \",actualStoreKey]})]});}// ============================================\n// 主渲染\n// ============================================\nreturn /*#__PURE__*/_jsxs(\"div\",{className:`cms-filters ${uniqueClassName}`,style:{...style,display:\"grid\",gridTemplateColumns:`repeat(${filterContainerStyles?.column||1}, 1fr)`,gap:filterContainerStyles?.gap||12},children:[debugLevel===\"ui_helpers\"&&/*#__PURE__*/_jsxs(\"div\",{style:{padding:8,backgroundColor:\"#f0f9ff\",border:\"1px solid #0ea5e9\",borderRadius:4,fontSize:11,color:\"#0369a1\"},children:[/*#__PURE__*/_jsxs(\"div\",{children:[\"🔧 CMS Filters: \",filters.length,\" configured,\",\" \",Object.keys(filterValues).length,\" with values\"]}),/*#__PURE__*/_jsxs(\"div\",{children:[\"Logic: \",builderLogic,\" | Store: \",actualStoreKey]})]}),debugLevel===\"full_debug\"&&/*#__PURE__*/_jsxs(\"div\",{style:{padding:8,backgroundColor:\"#fef3c7\",border:\"1px solid #f59e0b\",borderRadius:4,fontSize:10,color:\"#92400e\",fontFamily:\"monospace\"},children:[/*#__PURE__*/_jsxs(\"div\",{children:[\"Component ID: \",id]}),/*#__PURE__*/_jsxs(\"div\",{children:[\"Store Key: \",actualStoreKey]}),/*#__PURE__*/_jsxs(\"div\",{children:[\"Initialized: \",isInitialized?\"✅\":\"❌\"]}),/*#__PURE__*/_jsxs(\"div\",{children:[\"Available Fields: \",availableFields.length]}),/*#__PURE__*/_jsxs(\"div\",{children:[\"Filter Values: \",JSON.stringify(filterValues)]})]}),filters.length>0?renderFilters():/*#__PURE__*/_jsx(\"div\",{style:{padding:16,textAlign:\"center\",color:\"#666\",fontStyle:\"italic\"},children:\"No filters configured. Add filter configurations to start filtering.\"})]});}// ============================================\n// CMSFilters Property Controls\n// Framer 属性面板配置\n// ============================================\n// ============================================\n// CMSFilters Property Controls\n// Framer 属性面板配置\n// ============================================\naddPropertyControls(CMSFilters,{// ========================================\n// 基础配置\n// ========================================\ncollection:{type:ControlType.Slot,title:\"Collection\",description:\"Connect your CMS Collection List component here\",maxCount:1},// ========================================\n// 过滤器数组配置（核心）\n// ========================================\nfilters:{type:ControlType.Array,title:\"Filters\",description:\"Configure individual filter controls for your CMS fields\",control:{type:ControlType.Object,controls:{// ---- 基础信息 ----\ntitle:{type:ControlType.String,title:\"Display Title\",description:\"Label shown to users above the filter control\",placeholder:\"e.g., Price Range, Category, Status\",defaultValue:\"Filter\"},fieldName:{type:ControlType.String,title:\"CMS Field Name\",description:\"Exact name of the CMS field to filter (case-sensitive)\",placeholder:\"e.g., Title, Price, Category\",defaultValue:\"\"},filterType:{type:ControlType.Enum,title:\"Filter Type\",description:\"Choose the type of filter UI based on your field data\",options:[\"text\",\"number\",\"dropdown\",\"range\",\"toggle\",\"cms-enum\"],optionTitles:[\"Text Input\",\"Number Input\",\"Dropdown\",\"Range Slider\",\"Toggle\",\"CMS Dropdown\"],defaultValue:\"text\"},// ---- Text/Dropdown 匹配方式 ----\nmatchText:{type:ControlType.Enum,title:\"Match\",description:\"How to match the user input against field values\",options:[\"contains\",\"not_contains\",\"starts_with\",\"ends_with\",\"equals\",\"not_equals\",\"greater_than\",\"less_than\",\"greater_than_or_equal\",\"less_than_or_equal\",\"is_set\",\"is_not_set\"],optionTitles:[\"Contains\",\"Doesn't contain\",\"Starts with\",\"Ends with\",\"Equals\",\"Doesn't equal\",\"Greater than\",\"Less than\",\"Greater than or equal\",\"Less than or equal\",\"Is set\",\"Is not set\"],defaultValue:\"contains\",hidden:props=>![\"text\",\"dropdown\"].includes(props.filterType)},// ---- Number 匹配方式 ----\nmatchNumber:{type:ControlType.Enum,title:\"Match\",options:[\"equals\",\"not_equals\",\"greater_than\",\"less_than\",\"greater_than_or_equal\",\"less_than_or_equal\",\"is_set\",\"is_not_set\"],optionTitles:[\"Equals\",\"Doesn't equal\",\"Greater than\",\"Less than\",\"Greater than or equal\",\"Less than or equal\",\"Is set\",\"Is not set\"],defaultValue:\"equals\",hidden:props=>props.filterType!==\"number\"},// ---- Toggle 匹配方式 ----\nmatchToggle:{type:ControlType.Enum,title:\"Match\",options:[\"is_enabled\",\"is_disabled\",\"is_set\",\"is_not_set\"],optionTitles:[\"Is Enabled\",\"Is Disabled\",\"Is set\",\"Is not set\"],defaultValue:\"is_enabled\",hidden:props=>props.filterType!==\"toggle\"},// ---- CMS Enum 匹配方式 ----\nmatchEnum:{type:ControlType.Enum,title:\"Match\",options:[\"equals\",\"not_equals\",\"is_set\",\"is_not_set\"],optionTitles:[\"Equals\",\"Doesn't equal\",\"Is set\",\"Is not set\"],defaultValue:\"equals\",hidden:props=>props.filterType!==\"cms-enum\"},// ========================================\n// Range 专属选项\n// ========================================\nmin:{type:ControlType.Number,title:\"Min Value\",defaultValue:0,hidden:props=>props.filterType!==\"range\"},max:{type:ControlType.Number,title:\"Max Value\",defaultValue:100,hidden:props=>props.filterType!==\"range\"},step:{type:ControlType.Number,title:\"Step\",defaultValue:1,hidden:props=>props.filterType!==\"range\"},rangeStyle:{type:ControlType.Enum,title:\"Range Style\",options:[\"dual-input\",\"range-slider\"],optionTitles:[\"Dual Input\",\"Range Slider\"],defaultValue:\"dual-input\",hidden:props=>props.filterType!==\"range\"},rangeInputOptions:{type:ControlType.Enum,title:\"Dual Input Options\",options:[\"left-right\",\"full-width\"],optionTitles:[\"Left and Right\",\"Full Width\"],defaultValue:\"full-width\",hidden:props=>props.filterType!==\"range\"||props.rangeStyle!==\"dual-input\"},rangeBottomLabel:{type:ControlType.Boolean,title:\"Range Bottom Label\",enabledTitle:\"Show\",disabledTitle:\"Hide\",defaultValue:true,hidden:props=>props.filterType!==\"range\"||props.rangeStyle!==\"dual-input\"},unit:{type:ControlType.String,title:\"Unit\",placeholder:\"e.g., $, %, units, px, km\",defaultValue:\"\",hidden:props=>props.filterType!==\"range\"||props.rangeStyle!==\"dual-input\"},// ========================================\n// Toggle 专属选项\n// ========================================\ntoggleStyle:{type:ControlType.Enum,title:\"Toggle Style\",options:[\"switch\",\"pill\"],optionTitles:[\"Switch\",\"Pill (Segmented)\"],defaultValue:\"switch\",hidden:props=>props.filterType!==\"toggle\"},toggleTriState:{type:ControlType.Boolean,title:\"Tri-State Mode\",description:\"Enable 3-state toggle: ON / OFF / ANY\",enabledTitle:\"Enabled\",disabledTitle:\"Disabled\",defaultValue:false,hidden:props=>props.filterType!==\"toggle\"},toggleAnyLabel:{type:ControlType.String,title:\"ANY Label\",placeholder:\"e.g., All, Any, No Filter\",defaultValue:\"Any\",hidden:props=>props.filterType!==\"toggle\"||!props.toggleTriState},toggleInverse:{type:ControlType.Boolean,title:\"Inverse Logic\",enabledTitle:\"Inverted\",disabledTitle:\"Normal\",defaultValue:false,hidden:props=>props.filterType!==\"toggle\"},toggleShowLabels:{type:ControlType.Boolean,title:\"Show Labels\",enabledTitle:\"Show\",disabledTitle:\"Hide\",defaultValue:true,hidden:props=>props.filterType!==\"toggle\"||props.toggleStyle!==\"switch\"},toggleOnLabel:{type:ControlType.String,title:\"ON Label\",placeholder:\"e.g., Enabled, Active, Include\",defaultValue:\"\",hidden:props=>props.filterType!==\"toggle\"},toggleOffLabel:{type:ControlType.String,title:\"OFF Label\",placeholder:\"e.g., Disabled, Inactive, Exclude\",defaultValue:\"\",hidden:props=>props.filterType!==\"toggle\"},// ========================================\n// Dropdown 专属选项\n// ========================================\noptions:{type:ControlType.Array,title:\"Options\",control:{type:ControlType.Object,controls:{value:{type:ControlType.String,title:\"Value (for filtering)\",placeholder:\"e.g., premium, basic\",defaultValue:\"\"},title:{type:ControlType.String,title:\"Display Title\",placeholder:\"e.g., Premium Plan\",defaultValue:\"\"}}},defaultValue:[{value:\"option1\",title:\"Option 1\"},{value:\"option2\",title:\"Option 2\"}],hidden:props=>props.filterType!==\"dropdown\"},multiStyle:{type:ControlType.Enum,title:\"Selection Style\",options:[\"checkboxes\",\"tags\",\"select\"],optionTitles:[\"Checkboxes\",\"Tag Buttons\",\"Select\"],defaultValue:\"checkboxes\",hidden:props=>props.filterType!==\"dropdown\"},// ========================================\n// CMS Enum 专属选项\n// ========================================\nenumStyle:{type:ControlType.Enum,title:\"CMS Selection Style\",options:[\"tags\",\"checkboxes\",\"dropdown\"],optionTitles:[\"Tag Buttons\",\"Checkboxes\",\"Select\"],defaultValue:\"tags\",hidden:props=>props.filterType!==\"cms-enum\"},// ========================================\n// 共享选项（Dropdown & CMS Enum）\n// ========================================\nallowMultiple:{type:ControlType.Boolean,title:\"Allow Multiple Selection\",defaultValue:false,hidden:props=>!(props.filterType===\"dropdown\"||props.filterType===\"cms-enum\")},logic:{type:ControlType.Enum,title:\"Logic\",description:\"How to combine multiple selected options\",options:[\"All\",\"Any\"],optionTitles:[\"All (AND)\",\"Any (OR)\"],defaultValue:\"Any\",hidden:props=>!(props.filterType===\"dropdown\"&&props.allowMultiple)},showPostCount:{type:ControlType.Boolean,title:\"Show Post Count\",defaultValue:false,hidden:props=>props.filterType!==\"cms-enum\"},countTemplate:{type:ControlType.String,title:\"Count Template\",description:\"Use {count} as placeholder\",defaultValue:\"[{count}]\",hidden:props=>props.filterType!==\"cms-enum\"||!props.showPostCount},countStyle:{type:ControlType.Object,title:\"Count Styling\",controls:{font:{type:ControlType.Font,title:\"Font Family\"},fontSize:{type:ControlType.Number,title:\"Font Size\",defaultValue:12},color:{type:ControlType.Color,title:\"Text Color\",defaultValue:\"#666\"},backgroundColor:{type:ControlType.Color,title:\"Background\",defaultValue:\"#f0f0f0\"},padding:{type:ControlType.Padding,title:\"Padding\",defaultValue:\"2px 4px\"},borderRadius:{type:ControlType.Number,title:\"Border Radius\",defaultValue:3},margin:{type:ControlType.Padding,title:\"Margin\",defaultValue:\"0 0 0 4px\"},size:{type:ControlType.Number,title:\"Size\",defaultValue:0}},hidden:props=>props.filterType!==\"cms-enum\"||!props.showPostCount},showAllOption:{type:ControlType.Boolean,title:\"Show 'All' option\",defaultValue:true,hidden:props=>!(props.filterType===\"dropdown\"||props.filterType===\"cms-enum\")},allOptionLabel:{type:ControlType.String,title:\"All Label\",placeholder:\"e.g., All Posts, Show All\",defaultValue:\"All\",hidden:props=>!(props.filterType===\"dropdown\"||props.filterType===\"cms-enum\")||!props.showAllOption},allowDeselect:{type:ControlType.Boolean,title:\"Allow Deselect\",defaultValue:true,hidden:props=>!(props.filterType===\"dropdown\"||props.filterType===\"cms-enum\")||props.allowMultiple}}},defaultValue:[]},// ========================================\n// 构建逻辑\n// ========================================\nbuilderLogic:{type:ControlType.Enum,title:\"Builder Logic\",description:\"How to combine filters within this builder\",displaySegmentedControl:true,options:[\"All\",\"Any\"],optionTitles:[\"All (AND)\",\"Any (OR)\"],defaultValue:\"All\"},// ========================================\n// Store 配置\n// ========================================\nstoreKey:{type:ControlType.String,title:\"Filter Group\",description:\"Components with same group share filters\",defaultValue:\"auto\",placeholder:\"auto (uses collection name)\"},// ========================================\n// 调试\n// ========================================\ndebugLevel:{type:ControlType.Enum,title:\"🐛 Debug Level\",options:[\"hide\",\"ui_helpers\",\"full_debug\"],optionTitles:[\"Hide (Production)\",\"UI Helpers\",\"Full Debug\"],defaultValue:\"hide\"},// ========================================\n// 样式配置（简化展示）\n// ========================================\nfilterContainerStyles:{type:ControlType.Object,title:\"Container Styles\",controls:{column:{type:ControlType.Number,title:\"Column\",defaultValue:1,min:1,max:10},gap:{type:ControlType.Number,title:\"Column Gap\",defaultValue:12},backgroundColor:{type:ControlType.Color,defaultValue:\"transparent\"},padding:{type:ControlType.Padding,defaultValue:\"0px\"},border:{type:ControlType.Border},borderRadius:{type:ControlType.Number,title:\"Border Radius\",defaultValue:0}}},filterLabelStyles:{type:ControlType.Object,title:\"Label Styles\",controls:{labelToggle:{type:ControlType.Boolean,title:\"Toggle\",enabledTitle:\"Show\",disabledTitle:\"Hide\"},font:{type:ControlType.Font,title:\"Font Family\",hidden:p=>!p.labelToggle},fontSize:{type:ControlType.Number,title:\"Font Size\",defaultValue:14,hidden:p=>!p.labelToggle},padding:{type:ControlType.Padding,defaultValue:\"0 0 16px 0\",hidden:p=>!p.labelToggle},color:{type:ControlType.Color,defaultValue:\"#333\",hidden:p=>!p.labelToggle}}},filterInputStyles:{type:ControlType.Object,title:\"Input Styles\",description:\"Styling for input fields and interactive elements\",controls:{font:{type:ControlType.Font,title:\"Font Family\"},fontSize:{type:ControlType.Number,title:\"Font Size\",defaultValue:14,min:8,max:100,step:1},padding:{type:ControlType.Padding,defaultValue:\"8px 16px 8px 16px\"},color:{type:ControlType.Color,title:\"Color\",defaultValue:\"#333\"},backgroundColor:{type:ControlType.Color,title:\"Background Color\",defaultValue:\"white\"},border:{type:ControlType.Border,defaultValue:{borderWidth:1,borderStyle:\"solid\",borderColor:\"#dee2e6\"}},borderRadius:{type:ControlType.Number,title:\"Border Radius\",defaultValue:6,min:0,max:100,step:1},selectedTextColor:{type:ControlType.Color,title:\"Selected Background Color\",defaultValue:\"#333\",optional:true},selectedBackgroundColor:{type:ControlType.Color,title:\"Selected Inner Background Color\",defaultValue:\"white\",optional:true},selectedBorderColor:{type:ControlType.Color,title:\"Selected Border Color\",defaultValue:\"#000\"},hoverTextColor:{type:ControlType.Color,title:\"Hover Color\",defaultValue:\"#333\",optional:true},hoverBackgroundColor:{type:ControlType.Color,title:\"Hover Background Color\",defaultValue:\"#f8f9fa\",optional:true},hoverBorderColor:{type:ControlType.Color,title:\"Hover Border Color\",defaultValue:\"#007AFF\",optional:true}},defaultValue:{fontSize:14,backgroundColor:\"#fff\",borderRadius:6}},filterPillStyles:{type:ControlType.Object,title:\"Pill Styles\",description:\"Styling for pill button fields and interactive elements\",controls:{font:{type:ControlType.Font,title:\"Font Family\"},fontSize:{type:ControlType.Number,title:\"Font Size\",defaultValue:14,min:8,max:100,step:1},gap:{type:ControlType.Number,title:\"Gap\",description:\"Spacing between filter tag\",defaultValue:6,step:1},padding:{type:ControlType.Padding,defaultValue:\"8px 16px 8px 16px\"},color:{type:ControlType.Color,title:\"Color\",defaultValue:\"#333\"},backgroundColor:{type:ControlType.Color,title:\"Background Color\",defaultValue:\"white\"},border:{type:ControlType.Border,defaultValue:{borderWidth:1,borderStyle:\"solid\",borderColor:\"#dee2e6\"}},borderRadius:{type:ControlType.Number,title:\"Border Radius\",defaultValue:6,min:0,max:100,step:1},selectedTextColor:{type:ControlType.Color,title:\"Selected Text Color\",defaultValue:\"white\",optional:true},selectedBackgroundColor:{type:ControlType.Color,title:\"Selected Background Color\",defaultValue:\"#007AFF\",optional:true},selectedBorderColor:{type:ControlType.Color,title:\"Selected Border Color\",defaultValue:\"#007AFF\"},hoverTextColor:{type:ControlType.Color,title:\"Hover Color\",defaultValue:\"#333\",optional:true},hoverBackgroundColor:{type:ControlType.Color,title:\"Hover Background Color\",defaultValue:\"#fff\",optional:true},hoverBorderColor:{type:ControlType.Color,title:\"Hover Border Color\",defaultValue:\"#007AFF\",optional:true}},defaultValue:{fontSize:14,backgroundColor:\"#fff\",borderRadius:6}},filterToggleStyles:{type:ControlType.Object,title:\"Toggle Styles\",controls:{// Switch-specific controls\nswitchWidth:{type:ControlType.Number,title:\"Switch Width\",defaultValue:52,min:24,max:200,step:1,displayStepper:true},switchHeight:{type:ControlType.Number,title:\"Switch Height\",defaultValue:24,min:12,max:100,step:1,displayStepper:true},knobSize:{type:ControlType.Number,title:\"Switch Knob Size\",defaultValue:18,min:8,max:100,step:1,displayStepper:true},gap:{type:ControlType.Number,title:\"Switch Gap\",defaultValue:2,min:0,max:100,step:1,displayStepper:true},padding:{type:ControlType.Padding,title:\"Pill Padding\",defaultValue:\"8px 12px 8px 12px\"},pillGap:{type:ControlType.Number,title:\"Pill Gap\",defaultValue:0,min:0,max:20,step:1,displayStepper:true},backgroundColor:{type:ControlType.Color,title:\"Background\",defaultValue:\"#e0e0e0\"},innerBackgroundColor:{type:ControlType.Color,title:\"Inner Background\",defaultValue:\"white\"},border:{type:ControlType.Border,defaultValue:{borderWidth:1,borderStyle:\"solid\",borderColor:\"#dee2e6\"}},borderRadius:{type:ControlType.Number,title:\"Border Radius\",defaultValue:50,min:0,max:100,step:1},color:{type:ControlType.Color,title:\"Color\",defaultValue:\"#333\"},selectedBackgroundColor:{type:ControlType.Color,title:\"Selected Background\",defaultValue:\"#007AFF\",optional:true},selectedTextColor:{type:ControlType.Color,title:\"Selected Text Color\",defaultValue:\"#fff\",optional:true},selectedBorderColor:{type:ControlType.Color,title:\"Selected Border\",defaultValue:\"#007AFF\",optional:true},hoverBackgroundColor:{type:ControlType.Color,title:\"Hover Background\",defaultValue:\"#0056b3\",optional:true},hoverTextColor:{type:ControlType.Color,title:\"Hover Text Color\",defaultValue:\"#fff\",optional:true},hoverBorderColor:{type:ControlType.Color,title:\"Hover Border\",defaultValue:\"#004085\",optional:true},font:{type:ControlType.Font,title:\"Font Family\"},fontSize:{type:ControlType.Number,title:\"Font Size\",defaultValue:14,min:8,max:32,step:1,displayStepper:true},labelColor:{type:ControlType.Color,title:\"Label Color\",defaultValue:\"#666\",optional:true}},defaultValue:{backgroundColor:\"#e0e0e0\",borderRadius:50,selectedBackgroundColor:\"#007AFF\"}},filterRangeStyles:{type:ControlType.Object,title:\"Range Styles\",controls:{font:{type:ControlType.Font,title:\"Font Family\"},fontSize:{type:ControlType.Number,title:\"Font Size\",defaultValue:14,step:1},minRangeValueGap:{type:ControlType.Number,title:\"Min Range Gap\",defaultValue:1,min:1,step:1},padding:{type:ControlType.Padding,title:\"Padding\",defaultValue:\"0px\"},trackColor:{type:ControlType.Color,title:\"Track Color\",defaultValue:\"#dddddd\"},rangeColor:{type:ControlType.Color,title:\"Range Color\",defaultValue:\"#007AFF\"},thumbColor:{type:ControlType.Color,title:\"Thumb Color\",defaultValue:\"#ffffff\"},thumbBorderColor:{type:ControlType.Color,title:\"Thumb Border Color\",defaultValue:\"#007AFF\"},bubbleColor:{type:ControlType.Color,title:\"Bubble Color\",defaultValue:\"#007AFF\"},bubbleTextColor:{type:ControlType.Color,title:\"Bubble Text Color\",defaultValue:\"#ffffff\"},borderRadius:{type:ControlType.Number,title:\"Border Radius\",defaultValue:20,min:0,max:50,step:1},backgroundColor:{type:ControlType.Color,title:\"Background Color\",defaultValue:\"transparent\"}},defaultValue:{}},filterCheckboxStyles:{type:ControlType.Object,title:\"Checkboxes Styles\",controls:{font:{type:ControlType.Font,title:\"Font Family\"},fontSize:{type:ControlType.Number,title:\"Font Size\",defaultValue:14,min:8,max:100,step:1},gap:{type:ControlType.Number,title:\"Gap\",defaultValue:6,step:1},backgroundColor:{type:ControlType.Color,title:\"Background Color\",defaultValue:\"white\"},border:{type:ControlType.Border,title:\"Border\",defaultValue:{borderWidth:0,borderStyle:\"solid\",borderColor:\"#dee2e6\"}},borderRadius:{type:ControlType.BorderRadius,title:\"Border Radius\",defaultValue:\"3px\"},hoverBackgroundColor:{type:ControlType.Color,title:\"Hover Background Color\",defaultValue:\"#f8f9fa\"},hoverBorderColor:{type:ControlType.Color,title:\"Hover Border Color\",defaultValue:\"#dee2e6\"},activeBackgroundColor:{type:ControlType.Color,title:\"Active Background Color\",defaultValue:\"#007AFF\"},activeBorderColor:{type:ControlType.Color,title:\"Active Border Color\",defaultValue:\"#007AFF\"},padding:{type:ControlType.Padding,title:\"Padding\",defaultValue:\"8px 0px 8px 0px\"},checkboxGap:{type:ControlType.Number,title:\"Checkbox Gap\",defaultValue:10,step:1},scale:{type:ControlType.Number,title:\"Size\",defaultValue:18,min:10,max:100,step:1},color:{type:ControlType.Color,title:\"Text Color\",defaultValue:\"#333\"},checkboxBackgroundColor:{type:ControlType.Color,title:\"Checkbox Background Color\",defaultValue:\"white\"},checkboxBorder:{type:ControlType.Border,title:\"Checkbox Border\",defaultValue:{borderWidth:2,borderStyle:\"solid\",borderColor:\"#dee2e6\"}},checkboxBorderRadius:{type:ControlType.Number,title:\"Checkbox Border Radius\",defaultValue:3,min:0,max:100,step:1},selectedTextColor:{type:ControlType.Color,title:\"Selected Text Color\",defaultValue:\"#000\",optional:true},selectedBackgroundColor:{type:ControlType.Color,title:\"Checkbox Selected Background Color\",defaultValue:\"#007AFF\",optional:true},selectedBorderColor:{type:ControlType.Color,title:\"Checkbox Selected Border Color\",defaultValue:\"#007AFF\"},selectedSvgColor:{type:ControlType.Color,title:\"Checkbox Selected Check Color\",defaultValue:\"#fff\"}},defaultValue:{}},filterSelectStyles:{type:ControlType.Object,title:\"Select Styles\",controls:{selectControls:{type:ControlType.Object,title:\"Select Control Styles\",controls:{font:{type:ControlType.Font,title:\"Font Family\"},fontSize:{type:ControlType.Number,title:\"Font Size\",defaultValue:14,min:8,max:100,step:1},padding:{type:ControlType.Padding,title:\"Padding\",defaultValue:\"8px 12px 8px 12px\"},marginTop:{type:ControlType.Number,title:\"Gap\",defaultValue:4,min:0,max:100,step:1},color:{type:ControlType.Color,title:\"Color\",defaultValue:\"#333\"},backgroundColor:{type:ControlType.Color,title:\"Background Color\",defaultValue:\"white\"},border:{type:ControlType.Border,defaultValue:{borderWidth:1,borderStyle:\"solid\",borderColor:\"#dee2e6\"}},borderRadius:{type:ControlType.BorderRadius,title:\"Border Radius\",defaultValue:\"3px\"},hoverTextColor:{type:ControlType.Color,title:\"Hover Text Color\",defaultValue:\"#333\"},hoverBackgroundColor:{type:ControlType.Color,title:\"Hover Background Color\",defaultValue:\"#f8f9fa\"},hoverBorderColor:{type:ControlType.Color,title:\"Hover Border Color\",defaultValue:\"#007AFF\"},selectedTextColor:{type:ControlType.Color,title:\"Selected Text Color\",defaultValue:\"#fff\"},selectedBackgroundColor:{type:ControlType.Color,title:\"Selected Background Color\",defaultValue:\"#007AFF\"},selectedBorderColor:{type:ControlType.Color,title:\"Selected Border Color\",defaultValue:\"#007AFF\"},arrowSize:{type:ControlType.Number,title:\"Arrow Size\",defaultValue:16,step:1},arrowPosition:{type:ControlType.Number,title:\"Arrow Position\",defaultValue:8,step:1},arrowColor:{type:ControlType.Color,title:\"Arrow Color\",defaultValue:\"\"}}},optionControls:{type:ControlType.Object,title:\"Option Styles\",controls:{maxHeight:{type:ControlType.Number,title:\"Max Height\",defaultValue:200,min:100,max:500,step:1,unit:\"px\"},optionFont:{type:ControlType.Font,title:\"Font Family\"},optionFontSize:{type:ControlType.Number,title:\"Font Size\",defaultValue:14,min:8,max:100,step:1},dropdownPadding:{type:ControlType.Padding,title:\"Dropdown Padding\",defaultValue:\"0px\"},dropdownBackgroundColor:{type:ControlType.Color,title:\"Dropdown Background Color\",defaultValue:\"white\"},dropdownBorder:{type:ControlType.Border,title:\"Dropdown Border\",defaultValue:{borderWidth:1,borderStyle:\"solid\",borderColor:\"#dee2e6\"}},dropdownBorderRadius:{type:ControlType.BorderRadius,title:\"Dropdown Border Radius\",defaultValue:\"3px\"},optionPadding:{type:ControlType.Padding,title:\"Padding\",defaultValue:\"8px 16px 8px 16px\"},optionMargin:{type:ControlType.Padding,title:\"Margin\",defaultValue:\"0\"},optionColor:{type:ControlType.Color,title:\"Color\",defaultValue:\"#333\"},optionBackgroundColor:{type:ControlType.Color,title:\"Background Color\",defaultValue:\"white\"},optionBorder:{type:ControlType.Border,title:\"Border\",defaultValue:{borderWidth:1,borderStyle:\"solid\",borderColor:\"#dee2e6\"}},optionBorderRadius:{type:ControlType.BorderRadius,title:\"Border Radius\",defaultValue:\"3px\"},optionHoverTextColor:{type:ControlType.Color,title:\"Hover Text Color\",defaultValue:\"#333\"},optionHoverBackgroundColor:{type:ControlType.Color,title:\"Hover Background Color\",defaultValue:\"#f8f9fa\"},optionHoverBorderColor:{type:ControlType.Color,title:\"Hover Border Color\",defaultValue:\"#dee2e6\"},optionSelectedTextColor:{type:ControlType.Color,title:\"Selected Text Color\",defaultValue:\"#fff\"},optionSelectedBackgroundColor:{type:ControlType.Color,title:\"Selected Background Color\",defaultValue:\"#007AFF\"},optionSelectedBorderColor:{type:ControlType.Color,title:\"Selected Border Color\",defaultValue:\"#007AFF\"}}}},defaultValue:{}}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"CMSFilters\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerDisableUnlink\":\"\",\"framerSupportedLayoutHeight\":\"any\",\"framerSupportedLayoutWidth\":\"any\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}"],"mappings":"A,0TC0BA,SAAgBkC,EAA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