{"version":3,"file":"CMSCollection.DAqcDPcd.mjs","names":["useState","isCanvas","useRef","useMemo","collection","props","_Fragment"],"sources":["https:/framerusercontent.com/modules/vj7bFUjvEQFgEzNBkdoG/vf3CKm378wlVcBk7IhSU/createStore.js","https:/framer.com/m/framer/store.js@^1.0","https:/framerusercontent.com/modules/2VZikWBxCagm4nJReNjX/uFUqD0e9fJ1WAIOOmgia/store_management.js","https:/framerusercontent.com/modules/jM8jD1GlrCxD96rrTGLC/4bEIFe2BsBAYVYzZCpsc/query_builders.js","https:/framerusercontent.com/modules/0ZtPI0zMKW1Pn08h8oa0/2vnwqGgQ3vjW4mR9YNCk/variant_utils.js","https:/framerusercontent.com/modules/Bd2ZGjxd3wA16PORsZcM/xywNBkllbjazCcWq1vQQ/masonry_utils.js","https:/framerusercontent.com/modules/4kubTvEfQH0kypVlANcr/XJcWtxajPv3CPzwRWN2c/CMSCollection.js"],"sourcesContent":["import{useState,useEffect}from\"react\";import{Data,useObserveData}from\"framer\";export function createStore(state1){// Use Data so that a Preview reload resets the state\nconst dataStore=Data({state:Object.freeze({...state1})});// Create a set function that updates the state\nconst setDataStore=newState=>{// If the state is an object, make sure we copy it\nif(typeof newState===\"function\"){newState=newState(dataStore.state);}dataStore.state=Object.freeze({...dataStore.state,...newState});};// Store the initial state, copy the object if it's an object\nlet storeState=typeof state1===\"object\"?Object.freeze({...state1}):state1;// Keep a list of all the listeners, in the form of React hook setters\nconst storeSetters=new Set();// Create a set function that updates all the listeners / setters\nconst setStoreState=newState=>{// If the state is an object, make sure we copy it\nif(typeof newState===\"function\"){newState=newState(storeState);}storeState=typeof newState===\"object\"?Object.freeze({...storeState,...newState}):newState;// Update all the listeners / setters with the new value\nstoreSetters.forEach(setter=>setter(storeState));};// Create the actual hook based on everything above\nfunction useStore(){// Create the hook we are going to use as a listener\nconst[state,setState]=useState(storeState);// If we unmount the component using this hook, we need to remove the listener\n// @ts-ignore\nuseEffect(()=>{// But right now, we need to add the listener\nstoreSetters.add(setState);return()=>storeSetters.delete(setState);},[]);// If Data context exists, use Data, otherwise use vanilla React state\nif(useObserveData()===true){useObserveData();return[dataStore.state,setDataStore];}else{// Return the state and a function to update the central store\nreturn[state,setStoreState];}}return useStore;}\nexport const __FramerMetadata__ = {\"exports\":{\"createStore\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./createStore.map","/*\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\";// Store management utilities for CMS Collection\n// Extracted from CMSCollection.tsx for better modularity\nimport{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);};// Internal helper to safely extract the CMS query from a collection slot\n// Supports both standard and Masonry CMS Collection structures.\nconst getCmsQueryFromCollectionSlot=slot=>{const element=Array.isArray(slot)?slot[0]:slot;if(!element)return null;// Masonry-enabled structure: children.props.query\nconst masonryQuery=element?.props?.children?.props?.query;if(masonryQuery)return masonryQuery;// Standard structure: children.props.children.props.query\nconst regularQuery=element?.props?.children?.props?.children?.props?.query;return regularQuery||null;};// Exported helper so other components can safely read the CMS query\nexport const getCmsQueryFromSlot=slot=>{return getCmsQueryFromCollectionSlot(slot);};// 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=getCmsQueryFromCollectionSlot(collection);if(!cmsQuery)return null;// Helper to traverse nested .left structures to find the deepest node\n// Each reference field adds another .left level:\n// 1 ref field: .left\n// 2 ref fields: .left.left\n// 3 ref fields: .left.left.left\n// ... and so on\nconst getDeepestLeft=node=>{if(!node)return null;let current=node;while(current?.left){current=current.left;}return current;};// Handle TWO query structures:\n// 1. WITHOUT reference fields: query.from.data and query.from.alias\n// 2. WITH reference fields: traverse nested .left levels to find data and alias\n//    (Framer adds a LEFT JOIN constraint for each reference field)\nlet alias=null;let data=null;if(cmsQuery.from?.constraint){// WITH reference fields - traverse to deepest level\nconst deepestFrom=getDeepestLeft(cmsQuery.from);// Both data and alias are on the same deepest node in the from chain\nalias=deepestFrom?.alias||deepestFrom?.collection;data=deepestFrom?.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=getCmsQueryFromCollectionSlot(collection);if(!cmsQuery)return null;// Helper to traverse nested .left structures to find the deepest node\nconst getDeepestLeft=node=>{if(!node)return null;let current=node;while(current?.left){current=current.left;}return current;};// Handle TWO query structures (same as getCollectionStoreKey):\n// 1. WITHOUT reference fields: query.from.data and query.from.alias\n// 2. WITH reference fields: traverse nested .left levels to find data and alias\nlet alias=null;let data=null;if(cmsQuery.from?.constraint){// WITH reference fields - traverse to deepest level\nconst deepestFrom=getDeepestLeft(cmsQuery.from);// Both data and alias are on the same deepest node in the from chain\nalias=deepestFrom?.alias||deepestFrom?.collection;data=deepestFrom?.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;}export const isPreview=RenderTarget.current()===RenderTarget.preview;export const isCanvas=RenderTarget.current()===RenderTarget.canvas;\nexport const __FramerMetadata__ = {\"exports\":{\"isPreview\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"isCanvas\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"getCollectionStore\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"getCollectionInfo\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"getCollectionStoreKey\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"evGetRandomString\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"getAvailableFilterFields\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"FilterStore\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"globalInitStore\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"getCmsQueryFromSlot\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./store_management.map","// Query building utilities for CMS Collection\n// Extracted from CMSCollection.tsx for better modularity\n// Query building types\n// Helper to check if filter has valid value based on type\nexport 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 that value can be converted to number\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;};// Helper to build search where clause - SIMPLIFIED: Always OR across fields\nexport 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 (simplified)\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// MULTI-REFERENCE FILTER SUPPORT (FLAT_ARRAY Pattern)\n// ============================================================================\n/**\n * Builds a FLAT_ARRAY condition for multi-reference filtering\n * Pattern: tagId IN FLAT_ARRAY(SELECT id FROM Tags WHERE id IN Template.tags)\n */function buildFlatArrayCondition(mainAlias,refFieldName,refCollectionAlias,refCollectionData,tagId){return{type:\"BinaryOperation\",left:{type:\"LiteralValue\",value:tagId},operator:\"in\",right:{type:\"FunctionCall\",functionName:\"FLAT_ARRAY\",arguments:[{type:\"Select\",from:{alias:refCollectionAlias,data:refCollectionData,type:\"Collection\"},select:[{collection:refCollectionAlias,name:\"id\",type:\"Identifier\"}],where:{type:\"BinaryOperation\",left:{collection:refCollectionAlias,name:\"id\",type:\"Identifier\"},operator:\"in\",right:{collection:mainAlias,name:refFieldName,type:\"Identifier\"}},orderBy:[{type:\"FunctionCall\",functionName:\"INDEX_OF\",arguments:[{collection:mainAlias,name:refFieldName,type:\"Identifier\"},{collection:refCollectionAlias,name:\"id\",type:\"Identifier\"}]}]}]}};}/**\n * Builds multi-reference query from filter rule\n */function buildMultiReferenceQueryFromFilter(filter,mainAlias,refFieldName,refCollectionAlias,refCollectionData){const values=Array.isArray(filter.value)?filter.value:[filter.value];if(values.length===0)return null;// Build FLAT_ARRAY pattern for first tag\nlet query=buildFlatArrayCondition(mainAlias,refFieldName,refCollectionAlias,refCollectionData,values[0]);// Combine additional tags with AND or OR\nfor(let i=1;i<values.length;i++){query={type:\"BinaryOperation\",left:query,operator:filter.logic===\"All\"?\"and\":\"or\",right:buildFlatArrayCondition(mainAlias,refFieldName,refCollectionAlias,refCollectionData,values[i])};}return query;}// Helper to build filter where clause for a single filter\nexport const buildFilterWhereClause=(filter,collectionId,propertyControls)=>{if(!hasValidFilterValue(filter)){return null;}// Handle multi-reference filters (FLAT_ARRAY pattern)\n// Multi-reference filter - uses FLAT_ARRAY pattern with improved query structure\nif(filter.type===\"multi-ref\"){const refFieldKey=filter.refFieldName||filter.field;const refCollectionAlias=filter.refCollectionId// This now contains the actual alias\n;if(!refCollectionAlias||!filter.refCollectionData){console.error(\"Multi-reference filter missing refCollectionId or refCollectionData:\",filter);return null;}return buildMultiReferenceQueryFromFilter(filter,collectionId,refFieldKey,refCollectionAlias,filter.refCollectionData// Pass the stored collection data\n);}// 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 and is_not_set operators\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\"};}if(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\"};}// NOTE: Array values (multi-select) are handled by buildMultiValueFilterClause()\n// which is called from buildFiltersWhereClause(). This ensures all operators\n// (contains, equals, starts_with, etc.) are properly respected for arrays.\n// The early array handler that was here (lines 424-459) was removed because it\n// hardcoded operator \"==\" and ignored the actual operator parameter.\n// Handle toggle special operators\nif(filter.type===\"toggle\"){// Determine if we need to invert the logic based on config\nconst shouldInvert=filter.config?.toggleInverse===true;// Tri-state support: Check if toggle is in OFF state (value === false)\n// When OFF in tri-state mode, we need to invert the query result\nconst isTriStateOff=value===false;// Build base query\nlet 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 base query in NOT operator 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\"};}// Handle negated contains\nif(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;};// Helper to build filters where clause - FIXED: Use hierarchical logic system\nexport 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 within this component\nconst filterConditions=componentFilters.map(filter=>{// IMPORTANT: Multi-reference filters MUST use buildFilterWhereClause\n// even when they have multiple values (array), because they need FLAT_ARRAY pattern\nif(filter.type===\"multi-ref\"){return buildFilterWhereClause(filter,collectionId,propertyControls);}// For other multi-value filters (arrays), respect individual filter logic\n// BUGFIX: Changed from length > 1 to length > 0 to handle single-value arrays\n// This ensures that dropdown filters with \"Allow Multiple: Yes\" properly\n// use buildMultiValueFilterClause which respects the operator (contains, etc.)\n// instead of the broken early array handler that hardcoded \"==\"\nif(Array.isArray(filter.value)&&filter.value.length>0){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\"};}// Keep essential debug info for support\nif(debugMode&&filters.length>3){console.log(`🔍 Complex filter query: ${filters.length} filters with ${globalLogic} logic`);}return globalCombined;};// Helper to build multi-value filter clause respecting individual filter logic\nconst buildMultiValueFilterClause=(filter,collectionId,propertyControls)=>{if(!Array.isArray(filter.value)||filter.value.length===0){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}=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\"starts_with\":return{arguments:[baseIdentifier,{type:\"LiteralValue\",value:val}],functionName:\"STARTS_WITH\",type:\"FunctionCall\"};case\"ends_with\":return{arguments:[baseIdentifier,{type:\"LiteralValue\",value:val}],functionName:\"ENDS_WITH\",type:\"FunctionCall\"};case\"not_contains\":return{operator:\"not\",type:\"UnaryOperation\",value:{arguments:[baseIdentifier,{type:\"LiteralValue\",value:val}],functionName:\"CONTAINS\",type:\"FunctionCall\"}};case\"equals\":return{left:baseIdentifier,operator:\"==\",right:{type:\"LiteralValue\",value:val},type:\"BinaryOperation\"};case\"not_equals\":return{left:baseIdentifier,operator:\"!=\",right:{type:\"LiteralValue\",value:val},type:\"BinaryOperation\"};case\"greater_than\":return{left:baseIdentifier,operator:\">\",right:{type:\"LiteralValue\",value:val},type:\"BinaryOperation\"};case\"less_than\":return{left:baseIdentifier,operator:\"<\",right:{type:\"LiteralValue\",value:val},type:\"BinaryOperation\"};case\"greater_than_or_equal\":return{left:baseIdentifier,operator:\">=\",right:{type:\"LiteralValue\",value:val},type:\"BinaryOperation\"};case\"less_than_or_equal\":return{left:baseIdentifier,operator:\"<=\",right:{type:\"LiteralValue\",value:val},type:\"BinaryOperation\"};default:// Fallback to equality\nreturn{left:baseIdentifier,operator:\"==\",right:{type:\"LiteralValue\",value:val},type:\"BinaryOperation\"};}});if(conditions.length===1){return conditions[0];}// Combine using individual filter logic - SPECIAL CASE: not_contains always uses AND\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;};// Helper to combine existing where clause with new filter where clause\nexport 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\"};};// Helper to build orderBy clause from sort state\nexport const buildOrderByClause=(sortState,propertyControls,collectionId)=>{if(!sortState||sortState.length===0){return[];}const orderBy=sortState.map((sort,index)=>{// Convert field title to internal key\nconst 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\"};});return orderBy;};\nexport const __FramerMetadata__ = {\"exports\":{\"FilterRule\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"Identifier\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"LiteralValue\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"buildFiltersWhereClause\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"buildSearchWhereClause\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"BinaryOperation\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"hasValidFilterValue\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"combineWhereClauses\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"UnaryOperation\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"buildFilterWhereClause\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"buildOrderByClause\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"FunctionCall\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./query_builders.map","// Variant override utilities for CMS Collection\n// Extracted for better readability and maintainability\nimport{cloneElement}from\"react\";// Get component name from React element\nexport 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\nif(!element||typeof element!==\"object\"){return element;}// Handle arrays\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\":{\"getComponentName\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"processVariantOverrides\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"VariantOverride\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"wrapWithVariantOverrides\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./variant_utils.map","// Masonry override utilities for CMS Collection\n// Allows overriding trackCount and rowGap props on Framer's masonry layout\nimport{cloneElement}from\"react\";/**\n * Check if a component is likely the masonry layout component\n * Framer uses withColumnMasonryLayout HOC which adds specific props\n */const isMasonryComponent=element=>{if(!element?.props)return false;// Check for masonry-specific props that only exist on MotionDivWithColumnMasonryLayout\nreturn\"columnMasonryLayoutEnabled\"in element.props||\"trackCount\"in element.props&&\"rowGap\"in element.props&&\"parentIsDataRepeater\"in element.props;};/**\n * Recursively process React tree and apply masonry overrides\n * @param element - React element to process\n * @param overrides - Masonry override configuration\n * @param depth - Current recursion depth (for debugging)\n * @returns Processed React element with masonry overrides applied\n */export const processMasonryOverrides=(element,overrides,depth=0)=>{// Return non-object elements as-is\nif(!element||typeof element!==\"object\"){return element;}// Handle arrays\nif(Array.isArray(element)){return element.map(child=>processMasonryOverrides(child,overrides,depth));}// Process React elements\nif(element.type&&element.props){let newProps={...element.props};// Check if this is the masonry component and apply overrides\nif(isMasonryComponent(element)){if(overrides.disableMasonry){// Standard mode: disable masonry entirely\nnewProps.columnMasonryLayoutEnabled=false;}else{// Masonry mode: override trackCount and rowGap\nif(overrides.trackCount!==undefined&&overrides.trackCount>0){newProps.trackCount=overrides.trackCount;}if(overrides.rowGap!==undefined&&overrides.rowGap>=0){newProps.rowGap=overrides.rowGap;}}}// Always process children recursively\nif(newProps.children){if(Array.isArray(newProps.children)){newProps.children=newProps.children.map(child=>processMasonryOverrides(child,overrides,depth+1));}else if(typeof newProps.children===\"function\"){// Wrap function children (like QueryData's children callback)\nconst originalFn=newProps.children;newProps.children=(...args)=>{const result=originalFn(...args);return processMasonryOverrides(result,overrides,depth+1);};}else{newProps.children=processMasonryOverrides(newProps.children,overrides,depth+1);}}return /*#__PURE__*/cloneElement(element,newProps);}return element;};/**\n * Wrap QueryData children function with masonry override logic\n * @param originalChildrenFn - Original children render function from QueryData\n * @param overrides - Masonry override configuration\n * @returns Wrapped function that applies masonry overrides\n */export const wrapWithMasonryOverrides=(originalChildrenFn,overrides)=>{return(collection,paginationInfo,loadMore)=>{// Call original function to get JSX\nconst originalJSX=originalChildrenFn(collection,paginationInfo,loadMore);// Process the JSX tree and apply masonry overrides\nreturn processMasonryOverrides(originalJSX,overrides);};};\nexport const __FramerMetadata__ = {\"exports\":{\"MasonryOverrides\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"wrapWithMasonryOverrides\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"processMasonryOverrides\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./masonry_utils.map","import{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import{useEffect,useRef,useMemo,cloneElement}from\"react\";import{addPropertyControls,ControlType,RenderTarget,// @ts-ignore-next-line\nuseQueryData}from\"framer\";import{getCollectionStore,getCollectionStoreKey,globalInitStore,getCollectionInfo,getCmsQueryFromSlot,evGetRandomString}from\"https://framerusercontent.com/modules/2VZikWBxCagm4nJReNjX/uFUqD0e9fJ1WAIOOmgia/store_management.js\";import{buildSearchWhereClause,buildFiltersWhereClause,combineWhereClauses,buildOrderByClause}from\"https://framerusercontent.com/modules/jM8jD1GlrCxD96rrTGLC/4bEIFe2BsBAYVYzZCpsc/query_builders.js\";import{wrapWithVariantOverrides,processVariantOverrides}from\"https://framerusercontent.com/modules/0ZtPI0zMKW1Pn08h8oa0/2vnwqGgQ3vjW4mR9YNCk/variant_utils.js\";import{processMasonryOverrides}from\"https://framerusercontent.com/modules/Bd2ZGjxd3wA16PORsZcM/xywNBkllbjazCcWq1vQQ/masonry_utils.js\";// Hook to get query count\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 * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight any\n * @framerDisableUnlink\n */export default function CMSCollection(props){const{collection,emptyState,collectionWidth=\"100%\",overflow=false,emptyStateWidth=\"100%\",filterLogic,storeKey,variantOverrides=[],urlSync=false,urlPrefix=\"\",layoutToggle=false,responsiveMasonry=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,masonryColumns=0,masonryGap=16,debugMode=false,style,fallback={text:\"No items found\",font:{fontSize:16,lineHeight:\"1.5em\"},backgroundColor:\"transparent\",padding:40,borderRadius:\"0px\"},id}=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??\"0px\";// Detect render mode\nconst current=RenderTarget.current();const isCanvas=current===RenderTarget.canvas;// Generate unique class name following CMSFilters pattern\nconst newId=id?id:evGetRandomString();const uniqueClassName=`cms-collection-${newId}`;// 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]);// Handle URL synchronization\n// @todo: Later work on this later.\n/*\n    useURLSync(\n        {\n            enabled: urlSync,\n            prefix: urlPrefix,\n            debounceDelay: 500,\n            debugMode,\n        },\n        collectionInfo,\n        state,\n        setState\n    )*/// Get original query\nconst originalQuery=collectionInfo?.query;// Build search where clause - memoized\nconst searchWhere=useMemo(()=>{const result=buildSearchWhereClause(state?.searchTerm||\"\",state?.searchFields||[],collectionInfo?.collectionId||\"\",collectionInfo?.propertyControls||{});return result;},[state?.searchTerm,state?.searchFields,collectionInfo?.collectionId,collectionInfo?.propertyControls]);// Build filters where clause - memoized\nconst filtersWhere=useMemo(()=>{const result=buildFiltersWhereClause(state?.filters||[],collectionInfo?.collectionId||\"\",collectionInfo?.propertyControls||{},filterLogic);// Keep for support debugging\nif(debugMode&&(state?.filters||[]).length>0){console.log(\"🔍 Applied filters:\",{totalFilters:(state?.filters||[]).length,filters:state?.filters,whereClause:result});}return result;},[state?.filters,collectionInfo?.collectionId,collectionInfo?.propertyControls,filterLogic]);// Combine search and filters - memoized\nconst combinedWhere=useMemo(()=>combineWhereClauses(searchWhere,filtersWhere,\"and\"),[searchWhere,filtersWhere]);// Combine with existing where clause - memoized\nconst finalWhere=useMemo(()=>{const result=combineWhereClauses(originalQuery?.where,combinedWhere,\"and\");if(debugMode&&result){console.log(\"🎯 Final where clause:\",JSON.stringify(result,null,2));}return result;},[originalQuery?.where,combinedWhere,debugMode]);// Build order by clause - memoized\nconst orderBy=useMemo(()=>buildOrderByClause(state?.sort||[],collectionInfo?.propertyControls||{},collectionInfo?.collectionId||\"\"),[state?.sort,collectionInfo?.propertyControls,collectionInfo?.collectionId]);// Determine layout styles - MUST be calculated before clonedCollection\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]);// Build the filtered query - memoized\nconst filteredQuery=useMemo(()=>{if(!originalQuery||!collectionInfo){return getCmsQueryFromSlot(collection);}const newQuery={...originalQuery,where:finalWhere,...orderBy.length>0&&{orderBy}};return newQuery;},[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]);// Clone collection with filtered query\nconst clonedCollection=useMemo(()=>{if(!collection?.[0]||!filteredQuery)return{elements:collection,masonryCss:\"\",isMasonry:false};const originalElement=collection[0];const firstChild=originalElement.props?.children;if(!firstChild)return{elements:collection,masonryCss:\"\",isMasonry:false};// --- Masonry structure ---\n// When Masonry is enabled, the query lives on the immediate child:\n//   container.props.children.props.query\n// In this case, `firstChild` is the query element (QueryData), so we only\n// need to clone that element with the new query and keep its children\n// function intact.\nif(firstChild?.props?.query){if(debugMode){console.log(\"🏗️ MASONRY DETECTED:\",{originalElementStyle:originalElement.props?.style,containerStyles,masonryColumns,masonryGap,uniqueClassName,firstChildType:firstChild?.type?.name||firstChild?.type,firstChildProps:Object.keys(firstChild?.props||{})});}const newQueryElement=/*#__PURE__*/cloneElement(firstChild,{query:filteredQuery});// Note: Masonry column/gap overrides are now applied via prop overrides\n// in processedCollection, not CSS injection\nconst newContainerElement=/*#__PURE__*/cloneElement(originalElement,{children:newQueryElement,style:{...originalElement.props?.style,width:\"100%\",overflow:overflow?\"visible\":\"hidden\"}});return{elements:[newContainerElement],masonryCss:\"\",isMasonry:true};}// --- Standard (non-Masonry) structure ---\n// container -> listElement -> queryElement (with .props.query)\nconst originalListElement=firstChild;const originalQueryElement=originalListElement?.props?.children;if(!originalQueryElement)return{elements:collection,masonryCss:\"\",isMasonry:false};// 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 ONLY layout styles (NOT width)\nconst newContainerElement=/*#__PURE__*/cloneElement(originalElement,{children:newListElement,style:{...originalElement.props?.style,...containerStyles,width:\"100%\",overflow:overflow?\"visible\":\"hidden\"}});return{elements:[newContainerElement],masonryCss:\"\",isMasonry:false};},[collection,filteredQuery,containerStyles,overflow,uniqueClassName,masonryColumns,masonryGap,debugMode]);// Build masonry overrides config\nconst masonryOverrides=useMemo(()=>{if(!layoutToggle){// Responsive Layout disabled - no overrides\nreturn{trackCount:undefined,rowGap:undefined,disableMasonry:false};}if(responsiveMasonry){// Masonry mode: override trackCount and rowGap\nreturn{trackCount:masonryColumns>0?masonryColumns:undefined,rowGap:masonryGap>=0?masonryGap:undefined,disableMasonry:false};}else{// Standard mode: disable masonry, use grid/stack layout\nreturn{trackCount:undefined,rowGap:undefined,disableMasonry:true};}},[layoutToggle,responsiveMasonry,masonryColumns,masonryGap]);// Apply variant and masonry overrides\nconst processedCollection=useMemo(()=>{const{elements,isMasonry}=clonedCollection;if(!elements){return elements;}const hasVariantOverrides=variantOverrides&&variantOverrides.length>0;const hasMasonryOverrides=masonryOverrides.trackCount!==undefined||masonryOverrides.rowGap!==undefined||masonryOverrides.disableMasonry===true;// If no overrides needed, return as-is\nif(!hasVariantOverrides&&!hasMasonryOverrides){return elements;}// Process each container element\nreturn elements.map(containerElement=>{if(isMasonry){// --- MASONRY STRUCTURE ---\n// container -> QueryData (with children function)\n// The QueryData's children function returns the masonry component\nconst queryElement=containerElement.props?.children;if(!queryElement)return containerElement;const originalChildrenFn=queryElement.props?.children;if(typeof originalChildrenFn!==\"function\")return containerElement;// Wrap children function to apply overrides to the rendered result\nconst wrappedChildren=(collection,paginationInfo,loadMore)=>{let result=originalChildrenFn(collection,paginationInfo,loadMore);// Apply masonry overrides (trackCount, rowGap)\nif(hasMasonryOverrides){result=processMasonryOverrides(result,masonryOverrides);}// Apply variant overrides\nif(hasVariantOverrides){result=processVariantOverrides(result,variantOverrides);}return result;};// Clone QueryData with wrapped children\nconst newQueryElement=/*#__PURE__*/cloneElement(queryElement,{...queryElement.props,children:wrappedChildren});// Clone container with new QueryData\nreturn /*#__PURE__*/cloneElement(containerElement,{children:newQueryElement,style:containerElement.props?.style});}else{// --- STANDARD (NON-MASONRY) STRUCTURE ---\n// container -> listElement -> cmsItem (QueryData with children function)\nconst 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);// Clone CMS Item with wrapped children\nconst newCmsItem=/*#__PURE__*/cloneElement(cmsItem,{...cmsItem.props,children:wrappedChildren});// Clone list element with new CMS Item\nconst newListElement=/*#__PURE__*/cloneElement(listElement,{children:newCmsItem});// Clone container with new list element\nreturn /*#__PURE__*/cloneElement(containerElement,{children:newListElement,style:containerElement.props?.style});}});},[clonedCollection,variantOverrides,masonryOverrides]);// Build wrapper CSS to override Framer's inline styles (width only)\n// Note: Masonry column/gap overrides are now applied via prop overrides in processedCollection\nconst wrapperCss=useMemo(()=>{return`\n            .${uniqueClassName} > div {\n                width: 100% !important;\n            }\n        `;},[uniqueClassName]);// Determine if we're in editor mode (no CMS data available)\nconst isEditorMode=!collectionInfo;// Show empty state if filtered and no results (only in preview/live mode)\nconst showEmptyState=!isEditorMode&&collectionInfo&&currentCount===0&&(state?.searchTerm||state?.filters&&state.filters.length>0);// If in canvas mode, apply layout styles directly to collection element\nif(isCanvas){const canvasCollection=useMemo(()=>{if(!collection?.[0])return collection;const element=collection[0];const props=element.props||{};// Check if masonry is enabled on this element\nconst isMasonryElement=props?.columnMasonryLayoutEnabled===true;// Build new props with masonry overrides if applicable\nconst newProps={style:{...props.style,...containerStyles,width:\"100%\",overflow:overflow?\"visible\":\"hidden\"}};// Handle masonry overrides based on layout settings\nif(isMasonryElement&&layoutToggle){if(responsiveMasonry){// Masonry mode: override trackCount and rowGap\nif(masonryColumns>0){newProps.trackCount=masonryColumns;}if(masonryGap>=0){newProps.rowGap=masonryGap;}}else{// Standard mode: disable masonry entirely\nnewProps.columnMasonryLayoutEnabled=false;}}return[/*#__PURE__*/cloneElement(element,newProps)];},[collection,containerStyles,overflow,layoutToggle,responsiveMasonry,masonryColumns,masonryGap]);return /*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",flexDirection:\"column\",width:\"100%\",...style},children:[wrapperCss&&/*#__PURE__*/_jsx(\"style\",{dangerouslySetInnerHTML:{__html:wrapperCss}}),collection&&Array.isArray(collection)&&collection.length>0?/*#__PURE__*/_jsx(\"div\",{className:uniqueClassName,style:{width:collectionWidth,marginLeft:\"auto\",marginRight:\"auto\"},children:canvasCollection}):/*#__PURE__*/_jsxs(\"div\",{style:{padding:\"24px\",textAlign:\"center\",backgroundColor:\"#f8f9fa\",border:\"2px dashed #dee2e6\",borderRadius:\"8px\",color:\"#6c757d\"},children:[/*#__PURE__*/_jsx(\"div\",{style:{fontSize:\"16px\",fontWeight:500,marginBottom:\"8px\",color:\"#495057\"},children:\"Connect CMS Collection\"}),/*#__PURE__*/_jsx(\"div\",{style:{fontSize:\"14px\"},children:\"Add your CMS List to the canvas and connect it.\"})]})]});}// Prepare empty state with width styling\nconst modifiedEmptyState=useMemo(()=>{if(!emptyState||!Array.isArray(emptyState)||emptyState.length===0){return null;}return /*#__PURE__*/cloneElement(emptyState[0],{style:{width:emptyStateWidth}});},[emptyState,emptyStateWidth]);return /*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",flexDirection:\"column\",width:\"100%\",...style},children:[wrapperCss&&/*#__PURE__*/_jsx(\"style\",{dangerouslySetInnerHTML:{__html:wrapperCss}}),debugMode&&state&&/*#__PURE__*/_jsxs(\"div\",{style:{padding:12,backgroundColor:\"#f8f9fa\",border:\"1px solid #dee2e6\",borderRadius:4,marginBottom:16,fontSize:12,fontFamily:\"monospace\"},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]}),urlSync&&/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"div\",{style:{marginTop:8,borderTop:\"1px solid #dee2e6\",paddingTop:8},children:/*#__PURE__*/_jsx(\"strong\",{children:\"🔗 URL Sync\"})}),/*#__PURE__*/_jsx(\"div\",{children:\"Enabled: Yes\"}),/*#__PURE__*/_jsxs(\"div\",{children:[\"Prefix: \",urlPrefix||\"(none)\"]}),/*#__PURE__*/_jsxs(\"div\",{children:[\"Current URL:\",\" \",typeof window!==\"undefined\"?window.location.search:\"\"]})]})]}),isEditorMode?// Editor mode: Show collection or connection prompt\ncollection&&Array.isArray(collection)&&collection.length>0?/*#__PURE__*/_jsx(\"div\",{className:uniqueClassName,style:{width:collectionWidth,marginLeft:\"auto\",marginRight:\"auto\"},children:processedCollection}):/*#__PURE__*/_jsxs(\"div\",{style:{padding:\"24px\",textAlign:\"center\",backgroundColor:\"#f8f9fa\",border:\"2px dashed #dee2e6\",borderRadius:\"8px\",color:\"#6c757d\"},children:[/*#__PURE__*/_jsx(\"div\",{style:{fontSize:\"16px\",fontWeight:500,marginBottom:\"8px\",color:\"#495057\"},children:\"Connect CMS Collection\"}),/*#__PURE__*/_jsx(\"div\",{style:{fontSize:\"14px\"},children:\"Add your CMS List to the canvas and connect it.\"})]}):collection&&Array.isArray(collection)&&collection.length>0?showEmptyState?// Filtered with no results - show empty state or fallback\nmodifiedEmptyState?modifiedEmptyState:/*#__PURE__*/_jsx(\"div\",{style:{textAlign:\"center\",padding:`${fallbackPadding}px`,backgroundColor:fallbackBackgroundColor,borderRadius:`${fallbackBorderRadius}`,fontFamily:fallbackFont?.family||\"sans-serif\",fontSize:fallbackFont?.fontSize||16,fontWeight:fallbackFont?.fontWeight,fontStyle:fallbackFont?.fontStyle,lineHeight:fallbackFont?.lineHeight||\"1.5em\",color:fallbackFont?.color||\"#666\"},children:fallbackText}):// Has results - show processed collection\n/*#__PURE__*/_jsx(\"div\",{className:uniqueClassName,style:{width:collectionWidth,marginLeft:\"auto\",marginRight:\"auto\"},children:processedCollection}):modifiedEmptyState?modifiedEmptyState:/*#__PURE__*/_jsx(\"div\",{style:{textAlign:\"center\",padding:`${fallbackPadding}px`,backgroundColor:fallbackBackgroundColor,borderRadius:`${fallbackBorderRadius}`,fontFamily:fallbackFont?.family||\"sans-serif\",fontSize:fallbackFont?.fontSize||16,fontWeight:fallbackFont?.fontWeight,fontStyle:fallbackFont?.fontStyle,lineHeight:fallbackFont?.lineHeight||\"1.5em\",color:fallbackFont?.color||\"#666\"},children:fallbackText})]});}// Property Controls\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\",description:\"Styling for fallback text when no items found and no empty state is connected\",controls:{text:{type:ControlType.String,title:\"Text\",description:\"Message shown when no results found\",defaultValue:\"No items found\"},font:{type:ControlType.Font,title:\"Font\",description:\"Typography settings for empty state text\",controls:\"extended\",defaultValue:{fontSize:16,lineHeight:\"1.5em\"}},color:{type:ControlType.Color,title:\"Color\",description:\"Text color for empty state text\",defaultValue:\"#666\"},backgroundColor:{type:ControlType.Color,title:\"Background\",description:\"Background color for empty state area\",defaultValue:\"rgba(0,0,0,0)\"},border:{type:ControlType.Border,title:\"Border\",description:\"Empty state border styling\",defaultValue:{borderWidth:0,borderStyle:\"solid\",borderColor:\"#dee2e6\"}},borderRadius:{type:ControlType.BorderRadius,title:\"Border Radius\",description:\"Corner rounding for empty state container\",defaultValue:\"0px\"},padding:{type:ControlType.Number,title:\"Padding\",description:\"Inner spacing around empty state text\",defaultValue:40,min:0,max:200,step:1,displayStepper:true,unit:\"px\"}}},collectionWidth:{type:ControlType.String,title:\"CMS Collection Width\",defaultValue:\"100%\",description:\"Please enter value with unit ex: 100%\"},overflow:{type:ControlType.Boolean,title:\"Overflow\",description:\"How to handle overflow content\",enabledTitle:\"Visible\",disabledTitle:\"Hidden\",defaultValue:false},emptyStateWidth:{type:ControlType.String,title:\"Empty State Width\",defaultValue:\"100%\",description:\"Please enter value with unit ex: 100%\"},filterLogic:{type:ControlType.Enum,title:\"Filter Logic\",description:\"How to combine multiple filter components on the page\",segmentedControlDirection:\"vertical\",options:[\"All\",\"Any\"],optionTitles:[\"All (AND)\",\"Any (OR)\"],defaultValue:\"All\"},storeKey:{type:ControlType.String,title:\"Filter Group\",description:\"Components with same group share filters. Leave empty or 'auto' to use collection name.\",defaultValue:\"auto\",placeholder:\"auto (uses collection name)\"},// @todo: Later work on this later.\n/* \n    urlSync: {\n      type: ControlType.Boolean,\n      title: \"🔗 URL Sync\",\n      description: \"Sync filters to URL for shareable filter states\",\n      defaultValue: false,\n      enabledTitle: \"Enabled\",\n      disabledTitle: \"Disabled\",\n    },\n    urlPrefix: {\n      type: ControlType.String,\n      title: \"URL Prefix\",\n      description:\n        \"Optional prefix for URL parameters (e.g., 'blog' → ?blog_s=search). Leave empty for no prefix.\",\n      defaultValue: \"\",\n      placeholder: \"e.g., blog\",\n      hidden: (props) => !props.urlSync,\n    },\n    */variantOverrides:{type:ControlType.Array,title:\"Variant Overrides\",description:\"Enter component name and variant name, you want to change in CMS Item. Note: Variant Overrides doen't show in canvas, check preview/published page.\",control:{type:ControlType.Object,controls:{componentName:{type:ControlType.String,title:\"Component Name\",description:\"Exact component name as it appears in CMS item (case-sensitive)\"},variantName:{type:ControlType.String,title:\"Variant Name\",description:\"Exact variant name to apply (case-sensitive)\"}}}},layoutToggle:{type:ControlType.Boolean,title:\"Layout Override\",description:\"Override layout settings per breakpoint. To mix masonry and grid layouts, enable Masonry on your CMS List in Framer first.\",enabledTitle:\"Enable\",disabledTitle:\"Disable\",defaultValue:false},responsiveMasonry:{type:ControlType.Boolean,title:\"Layout Type\",description:\"Masonry: Override masonry columns/gap (requires Masonry enabled on CMS List). Standard: Use grid/stack layout (disables masonry if enabled).\",enabledTitle:\"Masonry\",disabledTitle:\"Standard\",defaultValue:false,hidden:props=>!props.layoutToggle},layoutDisplay:{type:ControlType.Boolean,title:\"Display\",enabledTitle:\"Stack\",disabledTitle:\"Grid\",defaultValue:true,hidden:props=>!props.layoutToggle||props.responsiveMasonry===true},flexDirection:{type:ControlType.Enum,title:\"Direction\",options:[\"horizontal\",\"vertical\"],optionTitles:[\"horizontal\",\"vertical\"],displaySegmentedControl:true,hidden(props){return!props.layoutToggle||props.responsiveMasonry===true||!props.layoutDisplay;}},justifyContent:{type:ControlType.Enum,title:\"Justify\",options:[\"flex-start\",\"center\",\"flex-end\",\"space-between\",\"space-around\",\"space-evenly\"],optionTitles:[\"Start\",\"Center\",\"End\",\"Space Between\",\"Space Around\",\"Space Evenly\"],defaultValue:\"center\",hidden(props){return!props.layoutToggle||props.responsiveMasonry===true||props.layoutDisplay===false;}},alignRow:{type:ControlType.Enum,title:\"Align\",options:[\"flex-start\",\"center\",\"flex-end\"],optionTitles:[\"Left\",\"Center\",\"Right\"],displaySegmentedControl:true,hidden(props){const layout=props.layoutDisplay===true?\"stack\":\"grid\";return!props.layoutToggle||props.responsiveMasonry===true||layout===\"stack\"&&props.flexDirection===\"vertical\"||layout===\"grid\";}},alignColumn:{type:ControlType.Enum,title:\"Align\",options:[\"flex-start\",\"center\",\"flex-end\"],optionTitles:[\"Top\",\"Center\",\"Bottom\"],displaySegmentedControl:true,hidden(props){const layout=props.layoutDisplay===true?\"stack\":\"grid\";return!props.layoutToggle||props.responsiveMasonry===true||layout===\"stack\"&&props.flexDirection===\"horizontal\"||layout===\"grid\";}},gridColumns:{type:ControlType.Number,title:\"Columns\",defaultValue:3,min:1,max:10,step:1,displayStepper:true,hidden(props){const layout=props.layoutDisplay===true?\"stack\":\"grid\";return!props.layoutToggle||props.responsiveMasonry===true||layout===\"stack\";}},gridRows:{type:ControlType.Number,title:\"Rows\",defaultValue:0,min:0,max:10,step:1,displayStepper:true,description:\"0 = auto-size rows, 1+ = fixed row count\",hidden(props){const layout=props.layoutDisplay===true?\"stack\":\"grid\";return!props.layoutToggle||props.responsiveMasonry===true||layout===\"stack\";}},gridAutoRows:{type:ControlType.String,title:\"Auto Rows\",defaultValue:\"minmax(200px, auto)\",description:\"CSS grid-auto-rows value for row height. Examples: 'minmax(200px, auto)', '200px', 'auto'\",hidden(props){const layout=props.layoutDisplay===true?\"stack\":\"grid\";return!props.layoutToggle||props.responsiveMasonry===true||layout===\"stack\";}},flexWrap:{type:ControlType.Boolean,title:\"Wrap\",enabledTitle:\"Yes\",disabledTitle:\"No\",defaultValue:false,hidden(props){const layout=props.layoutDisplay===true?\"stack\":\"grid\";return!props.layoutToggle||props.responsiveMasonry===true||layout===\"grid\";}},gapRow:{type:ControlType.Number,title:\"Gap\",defaultValue:14,step:1,displayStepper:true,hidden(props){const layout=props.layoutDisplay===true?\"stack\":\"grid\";return!props.layoutToggle||props.responsiveMasonry===true||layout===\"stack\"&&props.flexWrap===true||layout===\"grid\";}},gapX:{type:ControlType.Number,title:\"Gap X\",defaultValue:16,step:1,unit:\"px\",displayStepper:true,hidden(props){const layout=props.layoutDisplay===true?\"stack\":\"grid\";return!props.layoutToggle||props.responsiveMasonry===true||layout===\"stack\"&&props.flexWrap===false;}},gapY:{type:ControlType.Number,title:\"Gap Y\",defaultValue:16,step:1,unit:\"px\",displayStepper:true,hidden(props){const layout=props.layoutDisplay===true?\"stack\":\"grid\";return!props.layoutToggle||props.responsiveMasonry===true||layout===\"stack\"&&props.flexWrap===false;}},masonryColumns:{type:ControlType.Number,title:\"Columns\",description:\"Override Framer's masonry column count for this breakpoint.\",defaultValue:0,min:0,max:10,step:1,displayStepper:true,hidden(props){return!props.layoutToggle||props.responsiveMasonry!==true;}},masonryGap:{type:ControlType.Number,title:\"Gap\",description:\"Gap between masonry items\",defaultValue:16,min:0,step:1,unit:\"px\",displayStepper:true,hidden(props){return!props.layoutToggle||props.responsiveMasonry!==true;}},debugMode:{type:ControlType.Boolean,title:\"🛠 Debug Mode\",defaultValue:false,description:\"Show debug information including active filters, logic, and query generation\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"CMSCollection\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutWidth\":\"any\",\"framerSupportedLayoutHeight\":\"any\",\"framerDisableUnlink\":\"\",\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./CMSCollection.map"],"mappings":"mQAA8E,SAAgB,EAAY,EAAO,CACjH,IAAM,EAAU,GAAK,CAAC,MAAM,OAAO,OAAO,CAAC,GAAG,EAAO,CAAC,CAAC,CAAC,CAClD,EAAa,GAAU,CAC1B,OAAO,GAAW,aAAY,EAAS,EAAS,EAAU,MAAM,EAAE,EAAU,MAAM,OAAO,OAAO,CAAC,GAAG,EAAU,MAAM,GAAG,EAAS,CAAC,EAChI,EAAW,OAAO,GAAS,SAAS,OAAO,OAAO,CAAC,GAAG,EAAO,CAAC,CAAC,EAC7D,EAAa,IAAI,IACjB,EAAc,GAAU,CAC3B,OAAO,GAAW,aAAY,EAAS,EAAS,EAAW,EAAE,EAAW,O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