{
  "version": 3,
  "sources": ["ssg:https://framer.com/m/framer/store.js@^1.0.0", "ssg:https://framerusercontent.com/modules/FZjYlw33eNo8pxLbSFLX/mIr6aiS9WGDutyQDFlPu/SuperfieldsShared.js", "ssg:https://framerusercontent.com/modules/JfW6EfEeJnrqM1YQCYmc/3By4VvLRRlsqmHmoICUC/Masonry.js", "ssg:https://framerusercontent.com/modules/1o5Bk6b6qvbR58A6b2Ej/xu2xC8xMv1IGk9SwK36m/Superfields.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", "import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{ControlType}from\"framer\";import{motion}from\"framer-motion\";import{createContext,cloneElement}from\"react\";import{createStore}from\"https://framer.com/m/framer/store.js@^1.0.0\";export const usePaginationState=createStore({});export const useFilterState=createStore({});export const useFavouriteState=createStore({});export const useSearchState=createStore({});export const useRandomizationState=createStore({});export const SuperfieldsContext=/*#__PURE__*/createContext({active:false});export const superfieldsId=({hidden=undefined}={})=>({superfieldsId:{type:ControlType.Number,defaultValue:0,min:0,step:1,displayStepper:true,title:\"CMS ID\",description:\"Match with ID on Superfields component\",hidden}});export const buttonPropertyControls=({text=\"\"})=>({appearance:{type:ControlType.Enum,defaultValue:\"default\",options:[\"default\",\"custom\"],optionTitles:[\"Default\",\"Custom\"],displaySegmentedControl:true},customLayer:{type:ControlType.ComponentInstance,title:\"Layer\",description:\"Connect a custom layer from outside the breakpoint\",hidden:props=>props.appearance!==\"custom\"},text:{type:ControlType.String,defaultValue:text,hidden:props=>props.appearance!==\"default\"},fill:fillProp({color:\"#000\",gradientColorA:\"#8C8C8C\",gradientColorB:\"#000\",hidden:props=>props.appearance!==\"default\"}),fontColor:{type:ControlType.Color,defaultValue:\"#FFF\",hidden:props=>props.appearance!==\"default\"},font:{type:\"font\",controls:\"extended\",defaultFontType:\"sans-serif\",defaultValue:{fontSize:14,lineHeight:1.4},hidden:props=>props.appearance!==\"default\"},padding:{type:ControlType.FusedNumber,defaultValue:12,toggleKey:\"paddingIsMixed\",toggleTitles:[\"All\",\"Individual\"],valueKeys:[\"paddingTop\",\"paddingRight\",\"paddingBottom\",\"paddingLeft\"],valueLabels:[\"T\",\"R\",\"B\",\"L\"],min:0,hidden:props=>props.appearance!==\"default\"},radius:{type:ControlType.FusedNumber,defaultValue:8,toggleKey:\"radiusIsMixed\",toggleTitles:[\"All\",\"Individual\"],valueKeys:[\"radiusTopLeft\",\"radiusTopRight\",\"radiusBottomRight\",\"radiusBottomLeft\"],valueLabels:[\"TL\",\"TR\",\"BR\",\"BL\"],min:0,hidden:props=>props.appearance!==\"default\"},border:borderPropertyControl({hidden:props=>props.appearance!==\"default\"}),shadows:{type:ControlType.BoxShadow,hidden:props=>props.appearance!==\"default\"}});export function Button({props,onClick,onMouseEnter=null}){var _props_font,_props_style;if(props.appearance==\"custom\"){var _props_customLayer,_props_style1,_props_style2;let layer=(_props_customLayer=props.customLayer)===null||_props_customLayer===void 0?void 0:_props_customLayer[0];const width=(_props_style1=props.style)===null||_props_style1===void 0?void 0:_props_style1.width;const height=(_props_style2=props.style)===null||_props_style2===void 0?void 0:_props_style2.height;if(layer&&props.style&&(width||height)){layer=/*#__PURE__*/cloneElement(layer,{style:{...layer.props.style,...width&&{width:width},...height&&{height:height}}});}return /*#__PURE__*/_jsx(\"div\",{style:{display:\"contents\"},onClick:onClick,children:layer});}return /*#__PURE__*/_jsxs(\"div\",{onClick:onClick,style:{position:\"relative\",display:\"flex\",justifyContent:((_props_font=props.font)===null||_props_font===void 0?void 0:_props_font.textAlign)||\"center\",alignItems:\"center\",...createBackground(props.fill),color:props.fontColor,padding:props.paddingIsMixed?`${props.paddingTop}px ${props.paddingRight}px ${props.paddingBottom}px ${props.paddingLeft}px`:`${props.padding}px`,borderRadius:props.radiusIsMixed?`${props.radiusTopLeft}px ${props.radiusTopRight}px ${props.radiusBottomRight}px ${props.radiusBottomLeft}px`:`${props.radius}px`,userSelect:\"none\",cursor:\"pointer\",flex:props.sizing==\"fill\"?\"1 0 0\":undefined,textWrap:((_props_style=props.style)===null||_props_style===void 0?void 0:_props_style.width)==\"100%\"?undefined:\"nowrap\",boxShadow:props.shadows,...props.font,...props.style},children:[props.text,/*#__PURE__*/_jsx(Border,{...props.border})]});}Button.displayName=\"Superfields/Button\";export const borderPropertyControl=(props={})=>({type:ControlType.Object,optional:true,controls:{color:{type:ControlType.Color,defaultValue:\"#222\"},width:{type:ControlType.FusedNumber,defaultValue:1,toggleKey:\"widthIsMixed\",toggleTitles:[\"All\",\"Individual\"],valueKeys:[\"widthTop\",\"widthRight\",\"widthBottom\",\"widthLeft\"],valueLabels:[\"T\",\"R\",\"B\",\"L\"],min:0},style:{type:ControlType.Enum,defaultValue:\"solid\",options:[\"solid\",\"dashed\",\"dotted\",\"double\"],optionTitles:[\"Solid\",\"Dashed\",\"Dotted\",\"Double\"]}},...props});export function Border({width,widthIsMixed,widthTop,widthRight,widthBottom,widthLeft,style,color,transition,animate,radius=\"inherit\"}){return /*#__PURE__*/_jsx(motion.div,{animate:{borderColor:color,...animate},style:{position:\"absolute\",inset:0,borderWidth:widthIsMixed?`${widthTop}px ${widthRight}px ${widthBottom}px ${widthLeft}px`:`${width}px`,borderStyle:style,borderRadius:radius,pointerEvents:\"none\"},initial:false,transition:transition});}Border.displayName=\"Superfields/Border\";export function Message({title,subtitle}){return /*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",width:\"100%\",height:\"100%\",placeContent:\"center\",placeItems:\"center\",flexDirection:\"column\",gap:16,backgroundColor:\"rgba(136, 85, 255, 0.1)\",borderRadius:6,border:\"1px dashed rgb(136, 85, 255)\",color:\"rgb(136, 85, 255)\",fontSize:16,padding:20,minHeight:200,textWrap:\"balance\"},children:[/*#__PURE__*/_jsx(\"p\",{style:{margin:0,fontWeight:600,textAlign:\"center\"},children:title}),/*#__PURE__*/_jsx(\"p\",{style:{margin:0,opacity:.7,lineHeight:1.5,textAlign:\"center\"},children:subtitle})]});}Message.displayName=\"Superfields/Message\";export const EmptyState=Message;export function createBackground(fill,on=null){if(fill){let{color,colorA,colorB}=fill;if(typeof on==\"boolean\"){if(on){color=fill.colorOn;colorA=fill.colorAOn;colorB=fill.colorBOn;}else{color=fill.colorOff;colorA=fill.colorAOff;colorB=fill.colorBOff;}}if(fill.type==\"color\"){return{backgroundColor:color,backgroundImage:\"none\"};}else{return{backgroundColor:\"none\",backgroundImage:`linear-gradient(${fill.gradientAngle}deg, ${colorB}, ${colorA})`};}}return{};}export function fillProp({color=\"#FFF\",gradientColorA=\"#FFF\",gradientColorB=\"#BDBDBD\",noDefault=false,...props}){return{type:ControlType.Object,optional:true,icon:\"color\",defaultValue:noDefault?undefined:{type:\"color\",color,colorA:gradientColorA,colorB:gradientColorB,gradientAngle:0},controls:{type:{type:ControlType.Enum,defaultValue:\"color\",options:[\"color\",\"gradient\"],optionTitles:[\"Color\",\"Gradient\"],displaySegmentedControl:true},color:{type:ControlType.Color,defaultValue:color,hidden:props=>props.type!=\"color\"},colorA:{type:ControlType.Color,defaultValue:gradientColorA,title:\"Colors\",hidden:props=>props.type!=\"gradient\"},colorB:{type:ControlType.Color,defaultValue:gradientColorB,title:\" \",hidden:props=>props.type!=\"gradient\"},gradientAngle:{type:ControlType.Number,defaultValue:0,title:\"Angle\",step:1,min:0,max:360,unit:\"\\xb0\",hidden:props=>props.type!=\"gradient\"}},...props};}export function fillPropOnOff({colorOn=\"#FFF\",colorAOn=\"#FFF\",colorBOn=\"#000\",colorOff=\"#FFF\",colorAOff=\"#FFF\",colorBOff=\"#000\",noDefault=false,...props}){return{type:ControlType.Object,optional:true,icon:\"color\",defaultValue:noDefault?undefined:{type:\"color\",colorOn,colorAOn,colorBOn,colorOff,colorAOff,colorBOff,gradientAngle:0},controls:{type:{type:ControlType.Enum,defaultValue:\"color\",options:[\"color\",\"gradient\"],optionTitles:[\"Color\",\"Gradient\"],displaySegmentedControl:true},colorOn:{type:ControlType.Color,defaultValue:colorOn,hidden:props=>props.type!=\"color\"},colorAOn:{type:ControlType.Color,defaultValue:colorAOn,title:\"Colors On\",hidden:props=>props.type!=\"gradient\"},colorBOn:{type:ControlType.Color,defaultValue:colorBOn,title:\" \",hidden:props=>props.type!=\"gradient\"},colorOff:{type:ControlType.Color,defaultValue:colorOff,hidden:props=>props.type!=\"color\"},colorAOff:{type:ControlType.Color,defaultValue:colorAOff,title:\"Colors Off\",hidden:props=>props.type!=\"gradient\"},colorBOff:{type:ControlType.Color,defaultValue:colorBOff,title:\" \",hidden:props=>props.type!=\"gradient\"},gradientAngle:{type:ControlType.Number,defaultValue:0,title:\"Angle\",step:1,min:0,max:360,unit:\"\\xb0\",hidden:props=>props.type!=\"gradient\"}},...props};}\nexport const __FramerMetadata__ = {\"exports\":{\"fillPropOnOff\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"superfieldsId\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"borderPropertyControl\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"fillProp\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"SuperfieldsContext\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"buttonPropertyControls\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"Border\":{\"type\":\"reactComponent\",\"name\":\"Border\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"useFavouriteState\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"EmptyState\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"useSearchState\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"Button\":{\"type\":\"reactComponent\",\"name\":\"Button\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"Message\":{\"type\":\"reactComponent\",\"name\":\"Message\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"useFilterState\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"useRandomizationState\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"createBackground\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"usePaginationState\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./SuperfieldsShared.map", "// Code from Nikolay Goncharuk on GitHub:\n// https://github.com/GoncharukBro/react-smart-masonry/blob/master/src/Masonry.tsx\n// https://github.com/GoncharukBro/react-smart-masonry/blob/master/src/useResize.ts\n//\n// Modified by Isaac Roberts\n// https://framestack.co/components/masonry-layout\n//\n// Copyright (c) 2021 Nikolay Goncharuk\n// MIT License\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{useState,useLayoutEffect,useMemo,useRef,Children,isValidElement}from\"react\";const DEFAULT_COLUMNS=1;const DEFAULT_GAP=0;export default function Masonry({breakpoints,columns=DEFAULT_COLUMNS,gap=DEFAULT_GAP,reverse=false,autoArrange=false,alignment=\"center\",children,style,...otherProps},forwardedRef){const elements=useRef([]);const[arrange,setArrange]=useState(false);// eslint-disable-next-line react-hooks/exhaustive-deps\nuseLayoutEffect(()=>{if(autoArrange&&!arrange)setArrange(true);return()=>{if(autoArrange&&arrange)setArrange(false);};});const layout=useMemo(()=>{if(columns<1)return[];const arrayOfChildren=Children.toArray(children);if(reverse)arrayOfChildren.reverse();const newLayout=Array.from({length:columns},()=>{return[];});const columnHeights=newLayout.map(()=>0);const getcolumnIndex=index=>{if(autoArrange&&arrange&&elements.current.length>0){const columnIndex=columnHeights.findIndex(item=>{return item===Math.min(...columnHeights);});const element=elements.current.find(item=>item.index===index);const elementHeight=element===null||element===void 0?void 0:element.element.getBoundingClientRect().height;columnHeights[columnIndex]+=elementHeight||0;return columnIndex;}return index%columns;};arrayOfChildren.forEach((child,index)=>{if(child&&/*#__PURE__*/isValidElement(child)){newLayout[getcolumnIndex(index)].push({element:child,index});}});return newLayout;},[arrange,autoArrange,children,columns,reverse]);const temporaryElements=[];const addElement=index=>element=>{if(element!==null){temporaryElements.push({element,index});elements.current=temporaryElements;}};return /*#__PURE__*/_jsx(\"div\",{ref:forwardedRef,style:{display:\"flex\",gap,...style},...otherProps,children:layout.map((column,columnIndex)=>/*#__PURE__*/_jsx(\"div\",{style:{flex:1,display:\"flex\",flexDirection:\"column\",alignItems:alignment,gap},children:column.map((item,itemIndex)=>/*#__PURE__*/_jsx(\"div\",{ref:addElement(item.index),children:item.element},itemIndex))},columnIndex))});}Masonry.displayName=\"Superfields/Masonry\";\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"Masonry\",\"slots\":[\"children\"],\"annotations\":{\"framerContractVersion\":\"1\"}},\"MasonryProps\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Masonry.map", "import{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import{addPropertyControls,ControlType,RenderTarget,// @ts-ignore\nResolveLinks,// @ts-ignore\nuseQueryData}from\"framer\";import{cloneElement,useEffect,useState,useRef,useMemo}from\"react\";import{Message,usePaginationState,useFilterState,useFavouriteState,useSearchState,useRandomizationState}from\"https://framerusercontent.com/modules/FZjYlw33eNo8pxLbSFLX/mIr6aiS9WGDutyQDFlPu/SuperfieldsShared.js\";import Masonry from\"https://framerusercontent.com/modules/JfW6EfEeJnrqM1YQCYmc/3By4VvLRRlsqmHmoICUC/Masonry.js\";const FAVOURITES_FILTER_ID=\"[{(FAVOURITES)}]\";const DELIMITER=\"_&%#|_\";/**\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight any\n * @framerIntrinsicWidth 600\n */export default function Superfields(props){var _props_collectionList,_props_emptyState,_randomizationState_superfieldsId,_filters_FAVOURITES_FILTER_ID,_searchState_superfieldsId,_paginationState_superfieldsId,_randomizationState_superfieldsId1;const{superfieldsId,layout,componentConfig,favouriting,randomize,cmsCollectionName,slugFieldName,favouritesOnly}=props;const collectionList=(_props_collectionList=props.collectionList)===null||_props_collectionList===void 0?void 0:_props_collectionList[0];const emptyState=(_props_emptyState=props.emptyState)===null||_props_emptyState===void 0?void 0:_props_emptyState[0];const isCanvas=RenderTarget.current()===RenderTarget.canvas;const scrollUpRef=useRef(null);const[paginationState,setPaginationState]=usePaginationState();const[filterState,setFilterState]=useFilterState();const[favouriteState,setFavouriteState]=useFavouriteState();const[searchState,setSearchState]=useSearchState();const[randomizationState,setRandomizationState]=useRandomizationState();const filters=filterState[superfieldsId];const{query,queryData,propertyControlsByName,slugFieldId}=useMemo(()=>{var _collectionList_props,_collectionList_props_children_props,_collectionList_props_children,_collectionList_props1,_collectionList_props_children_props_children_props,_collectionList_props_children_props_children,_collectionList_props_children_props1,_collectionList_props_children1,_collectionList_props2,_propertyControlsByName_slugFieldName;var _collectionList_props_query,_ref;const query=(_ref=(_collectionList_props_query=collectionList===null||collectionList===void 0?void 0:(_collectionList_props=collectionList.props)===null||_collectionList_props===void 0?void 0:_collectionList_props.query)!==null&&_collectionList_props_query!==void 0?_collectionList_props_query:collectionList===null||collectionList===void 0?void 0:(_collectionList_props1=collectionList.props)===null||_collectionList_props1===void 0?void 0:(_collectionList_props_children=_collectionList_props1.children)===null||_collectionList_props_children===void 0?void 0:(_collectionList_props_children_props=_collectionList_props_children.props)===null||_collectionList_props_children_props===void 0?void 0:_collectionList_props_children_props.query)!==null&&_ref!==void 0?_ref:collectionList===null||collectionList===void 0?void 0:(_collectionList_props2=collectionList.props)===null||_collectionList_props2===void 0?void 0:(_collectionList_props_children1=_collectionList_props2.children)===null||_collectionList_props_children1===void 0?void 0:(_collectionList_props_children_props1=_collectionList_props_children1.props)===null||_collectionList_props_children_props1===void 0?void 0:(_collectionList_props_children_props_children=_collectionList_props_children_props1.children)===null||_collectionList_props_children_props_children===void 0?void 0:(_collectionList_props_children_props_children_props=_collectionList_props_children_props_children.props)===null||_collectionList_props_children_props_children_props===void 0?void 0:_collectionList_props_children_props_children_props.query;let queryData=null;if(query===null||query===void 0?void 0:query.from){if(query.from.data){queryData=query.from.data;}else if(query.from.left){let left=query.from.left;for(let i=0;i<100;i++){if(left.type==\"Collection\"){queryData=left.data;break;}else if(left.left){left=left.left;}else{break;}}}}// Get property controls\nconst propertyControlsByName={};const propertyControlsById=(queryData===null||queryData===void 0?void 0:queryData.propertyControls)||{};for(const id in propertyControlsById){const control=propertyControlsById[id];propertyControlsByName[control.title]={id,...control};}var _propertyControlsByName_slugFieldName_id;const slugFieldId=(_propertyControlsByName_slugFieldName_id=(_propertyControlsByName_slugFieldName=propertyControlsByName[slugFieldName])===null||_propertyControlsByName_slugFieldName===void 0?void 0:_propertyControlsByName_slugFieldName.id)!==null&&_propertyControlsByName_slugFieldName_id!==void 0?_propertyControlsByName_slugFieldName_id:\"\";return{query,queryData,propertyControlsByName,slugFieldId};},[collectionList]);const select=useMemo(()=>{let select=Array.isArray(query===null||query===void 0?void 0:query.select)?[...query.select]:[];if((query===null||query===void 0?void 0:query.select)&&(filters||props.search)){let usedFieldNames=[];if(filters){for(const fieldName of Object.keys(filters)){const filter=filters[fieldName];if(filter.fieldType==\"multipleOptions\"){usedFieldNames.push(...fieldName.split(DELIMITER));}else{usedFieldNames.push(fieldName);}}}for(const fieldName of props.searchFields){usedFieldNames.push(fieldName);}usedFieldNames=usedFieldNames.map(value=>{var _propertyControlsByName_value;return((_propertyControlsByName_value=propertyControlsByName[value])===null||_propertyControlsByName_value===void 0?void 0:_propertyControlsByName_value.id)||null;}).filter(value=>value!==null);for(const value of select){usedFieldNames.push(value.name);}select=Array.from(new Set(usedFieldNames)).map(name=>({name,type:\"Identifier\"}));}return select;},[query,filters,props.search,props.searchFields]);const originalData=query?useQueryData({...query,select}):[];let paginationLength=0;let paginationType=props.paginationType;if(collectionList&&query&&!isCanvas){var _collectionList_props_children,_collectionList_props;const QueryData=(_collectionList_props=collectionList.props)===null||_collectionList_props===void 0?void 0:(_collectionList_props_children=_collectionList_props.children)===null||_collectionList_props_children===void 0?void 0:_collectionList_props_children.type;if(QueryData){const a=QueryData({query:{...query,select:[{name:\"id\",type:\"Identifier\"}]},children:collection=>{if(collection&&collection.length!==originalData.length){paginationLength=(collection===null||collection===void 0?void 0:collection.length)||0;paginationType=\"framerPagination\";}return null;}});}}const pagination=props.pagination||paginationLength!==0;const itemsPerPage=paginationLength!==0?paginationLength:props.pagination?props.itemsPerPage:0;let data=originalData;const originalDataMap={};if(!isCanvas){if(Array.isArray(queryData)){for(const item of queryData){originalDataMap[item.id]=item;}}else if(Array.isArray(data)){for(const item of data){originalDataMap[item.id]=item;}}}const[dataOrder,setDataOrder]=useState(null);// Array.from({ length: originalData?.length || 0 }, (_, i) => i)\nconst updatePaginationState=()=>{if(Array.isArray(data)){const totalPages=Math.ceil(data.length/itemsPerPage);setPaginationState({[superfieldsId]:{page:0,totalPages,itemsPerPage,totalItems:data.length,paginationType,active:pagination,onPaginationChange}});}};useEffect(()=>{updatePaginationState();setFilterState({});setRandomizationState({[superfieldsId]:{seed:props.randomize&&!isCanvas?Math.random():null}});},[]);useEffect(()=>{var _randomizationState_superfieldsId;var _randomizationState_superfieldsId_seed;const seed=(_randomizationState_superfieldsId_seed=(_randomizationState_superfieldsId=randomizationState[superfieldsId])===null||_randomizationState_superfieldsId===void 0?void 0:_randomizationState_superfieldsId.seed)!==null&&_randomizationState_superfieldsId_seed!==void 0?_randomizationState_superfieldsId_seed:null;if(seed&&!isCanvas&&Array.isArray(originalData)){const newDataOrder=Array.from({length:originalData.length},(_,i)=>i);shuffle(newDataOrder,seed);setDataOrder(newDataOrder);}},[randomize,(_randomizationState_superfieldsId=randomizationState[superfieldsId])===null||_randomizationState_superfieldsId===void 0?void 0:_randomizationState_superfieldsId.seed,originalData]);function onPaginationChange(){if(props.scrollUp&&scrollUpRef.current&&paginationType==\"prevNextButtons\"){const rect=scrollUpRef.current.getBoundingClientRect();const topIsInView=rect.top>=0&&rect.top<=window.innerHeight;if(!topIsInView){scrollUpRef.current.scrollIntoView({behavior:\"smooth\"});}}}// Filtering\nif(!isCanvas&&filters){let newData=[...data];for(const fieldName in filters){if(fieldName==FAVOURITES_FILTER_ID){continue;}const filter=filters[fieldName];const value=filter===null||filter===void 0?void 0:filter.value;const conditionContains=(filter===null||filter===void 0?void 0:filter.condition)===\"contains\";const fields=[];if(filter.fieldType===\"multipleOptions\"){for(const n of fieldName.split(DELIMITER)){const field=propertyControlsByName[n.trim()];if(field){fields.push(field);}}}else{const field=propertyControlsByName[fieldName];if(field){fields.push(field);}}if(filter&&fields.length&&value!=null&&value!=undefined){const filteredData=[];for(const cmsItem of newData){let foundMatch=false;const originalDataItem=originalDataMap[cmsItem.id];for(const field of fields){const dataFieldValue=originalDataItem[field.id];if(typeof value==\"string\"&&filter.multiSelect){const values=value.split(DELIMITER);switch(field.type){case\"string\":if(conditionContains){for(const value of values){if(dataFieldValue.includes(value)){foundMatch=true;break;}}}else{if(values.includes(dataFieldValue)){foundMatch=true;}}break;case\"enum\":for(const v of values){var _field_optionTitles,_field_options;if(dataFieldValue==((_field_options=field.options)===null||_field_options===void 0?void 0:_field_options[(_field_optionTitles=field.optionTitles)===null||_field_optionTitles===void 0?void 0:_field_optionTitles.indexOf(v)])){foundMatch=true;}}break;}}else{switch(field.type){case\"boolean\":if(dataFieldValue==value){foundMatch=true;}break;case\"string\":if(conditionContains){var _originalDataItem_field_id;if((_originalDataItem_field_id=originalDataItem[field.id])===null||_originalDataItem_field_id===void 0?void 0:_originalDataItem_field_id.includes(value)){foundMatch=true;}}else{if(dataFieldValue==value){foundMatch=true;}}break;case\"enum\":var _field_optionTitles1,_field_options1;if(dataFieldValue==((_field_options1=field.options)===null||_field_options1===void 0?void 0:_field_options1[(_field_optionTitles1=field.optionTitles)===null||_field_optionTitles1===void 0?void 0:_field_optionTitles1.indexOf(value)]))foundMatch=true;break;}}if(foundMatch){filteredData.push(cmsItem);break;}}}newData=filteredData;}}data=newData;}// Favourites filter\nconst favouriteFilterValue=filters===null||filters===void 0?void 0:(_filters_FAVOURITES_FILTER_ID=filters[FAVOURITES_FILTER_ID])===null||_filters_FAVOURITES_FILTER_ID===void 0?void 0:_filters_FAVOURITES_FILTER_ID.value;if(!isCanvas&&slugFieldId&&data&&(favouritesOnly||typeof favouriteFilterValue===\"boolean\")){const favourites=favouriteState[cmsCollectionName];if(Array.isArray(favourites)){if(favouriteFilterValue===true||favouritesOnly){data=data.filter(item=>favourites.includes(item[slugFieldId]));}else{data=data.filter(item=>!favourites.includes(item[slugFieldId]));}}else if(favouritesOnly){// Hide all items in optimized version of website if favourites only is enabled\ndata=[];}}// Search\nlet missingSearchFieldError=\"\";var _searchState_superfieldsId_trim_toLowerCase;const searchText=(_searchState_superfieldsId_trim_toLowerCase=(_searchState_superfieldsId=searchState[superfieldsId])===null||_searchState_superfieldsId===void 0?void 0:_searchState_superfieldsId.trim().toLowerCase())!==null&&_searchState_superfieldsId_trim_toLowerCase!==void 0?_searchState_superfieldsId_trim_toLowerCase:\"\";if(searchText.length&&Array.isArray(data)){const otherData=[];// 0: Hidden\n// 1: Includes text\n// 2: Includes full word\n// 3: Starts with\n// 4: Exact match\nconst levels=[[...data],[],[],[],[]];const itemLevels=new Array(data.length).fill(0);for(let i=0;i<props.searchFields.length;i++){const fieldName=props.searchFields[i];const property=propertyControlsByName[fieldName];if(!property){missingSearchFieldError=fieldName;break;}const propertyID=property.id;const propertyType=property.type;const optionMap={};const propIsString=propertyType==\"string\";const propIsEnum=propertyType==\"enum\";const propIsNumber=propertyType==\"number\";if(propertyType==\"enum\"&&property.options&&property.optionTitles){for(let i=0;i<property.options.length;i++){optionMap[property.options[i]]=property.optionTitles[i].toLowerCase();}}for(const ii in data){var _originalDataMap_cmsItem_id;const cmsItem=data[ii];const value=(_originalDataMap_cmsItem_id=originalDataMap[cmsItem.id])===null||_originalDataMap_cmsItem_id===void 0?void 0:_originalDataMap_cmsItem_id[propertyID];if(value==undefined||value==null){continue;}let text=propIsString?value.toLowerCase():propIsEnum?optionMap[value]:propIsNumber?String(value):\"\";let level=0;if(text==searchText){level=4;}else if(text.includes(searchText)){if(text.startsWith(searchText)){level=3;}else if((\" \"+text+\" \").includes(\" \"+searchText+\" \")){level=2;}else{level=1;}}// Move item to new level if it's a higher level\nconst oldLevel=itemLevels[ii];if(level>oldLevel){// Remove from old level\nconst oldLevelItems=[];for(const item of levels[oldLevel]){if(item!=cmsItem){oldLevelItems.push(item);}}levels[oldLevel]=oldLevelItems;// Add to new level\nlevels[level].push(cmsItem);itemLevels[ii]=level;}}}if(!missingSearchFieldError.length){data=[...levels[4],...levels[3],...levels[2],...levels[1],...otherData];}}if((data===null||data===void 0?void 0:data.length)!==((_paginationState_superfieldsId=paginationState[superfieldsId])===null||_paginationState_superfieldsId===void 0?void 0:_paginationState_superfieldsId.totalItems)){updatePaginationState();}// Number of items removed from beginning of array by pagination\nlet childrenStartOffset=0;// Pagination and randomization are performed after filtering and search\nlet items=data;// Randomization\nif(!isCanvas&&!searchText&&((_randomizationState_superfieldsId1=randomizationState[superfieldsId])===null||_randomizationState_superfieldsId1===void 0?void 0:_randomizationState_superfieldsId1.seed)){let orderedItems=originalData;if(dataOrder){orderedItems=new Array(originalData.length);for(let i=0;i<dataOrder.length;i++){orderedItems[dataOrder[i]]=originalData[i];}}items=orderedItems.filter(item=>items.includes(item));}// Pagination\nif(!isCanvas&&pagination){const state=paginationState[superfieldsId];if(state){switch(paginationType){case\"prevNextButtons\":items=items.slice(state.page*itemsPerPage,state.page*itemsPerPage+itemsPerPage);childrenStartOffset=state.page*itemsPerPage;break;case\"loadMoreButton\":case\"framerPagination\":items=items.slice(0,(state.page+1)*itemsPerPage);break;}}}let showNotComponentChildError=false;let children=null;let className=\"\";if(!isCanvas&&collectionList&&query){var _collectionList_props1,_clpc_props,_clpc_props_children_props,_clpc_props_children,_clpc_props1;const{offset,limit,...otherQuery}=query;let childrenFunction=null;const clpc=(_collectionList_props1=collectionList.props)===null||_collectionList_props1===void 0?void 0:_collectionList_props1.children;if(typeof clpc==\"function\"){childrenFunction=clpc;}else if(typeof(clpc===null||clpc===void 0?void 0:(_clpc_props=clpc.props)===null||_clpc_props===void 0?void 0:_clpc_props.children)==\"function\"){var _clpc_props2;childrenFunction=clpc===null||clpc===void 0?void 0:(_clpc_props2=clpc.props)===null||_clpc_props2===void 0?void 0:_clpc_props2.children;}else if(typeof(clpc===null||clpc===void 0?void 0:(_clpc_props1=clpc.props)===null||_clpc_props1===void 0?void 0:(_clpc_props_children=_clpc_props1.children)===null||_clpc_props_children===void 0?void 0:(_clpc_props_children_props=_clpc_props_children.props)===null||_clpc_props_children_props===void 0?void 0:_clpc_props_children_props.children)==\"function\"){childrenFunction=clpc.props.children.props.children;}if(childrenFunction){var _clChildren_props,_collectionList_props2;const state=paginationState[superfieldsId];const paginationInfo={currentPage:state?state.page+1:1,totalPages:state?state.totalPages:1,isLoading:false};const loadMore=()=>{const state=paginationState[superfieldsId];if(pagination&&state){const newPage=state.page+1;if(newPage>=0&&newPage<state.totalPages){setPaginationState(prev=>({[superfieldsId]:{...prev[superfieldsId],page:newPage}}));onPaginationChange();}}};let clChildren=childrenFunction(items,paginationInfo,loadMore);const modifyChildren=elements=>{if(componentConfig&&componentConfig.variant.length>0&&(elements===null||elements===void 0?void 0:elements.length)){const newChildren=[];let isComponentWithVariants=true;for(let i=0;i<elements.length;i++){const child=elements[i];const component=/*#__PURE__*/_jsx(ComponentVariantSwitch,{// key={child.props?.id}\nchild:child,componentConfig:componentConfig});if(component===child){isComponentWithVariants=false;break;}else{newChildren.push(component);}}if(isComponentWithVariants){return newChildren;}}return elements;};if(Array.isArray(clChildren)){children=modifyChildren(clChildren);}else if(Array.isArray(clChildren===null||clChildren===void 0?void 0:(_clChildren_props=clChildren.props)===null||_clChildren_props===void 0?void 0:_clChildren_props.children)){const childrenArray=clChildren.props.children;let arrayIndex=childrenArray.findIndex(child=>Array.isArray(child));if(arrayIndex==-1){children=modifyChildren(childrenArray);}else{let newChildren=[];for(const child of childrenArray){if(Array.isArray(child)){newChildren=newChildren.concat(modifyChildren(child));}else{newChildren.push(child);}}children=newChildren;}}className=((_collectionList_props2=collectionList.props)===null||_collectionList_props2===void 0?void 0:_collectionList_props2.className)||\"\";}}if(!collectionList){return /*#__PURE__*/_jsx(Message,{title:\"Connect a CMS Collection List\",subtitle:\"Drag the handle on the right side to a Collection List or select from the dropdown list. The Collection List must be outside of a page to be connected.\"});}if(!isCanvas&&!query){return /*#__PURE__*/_jsx(Message,{title:\"Connect a CMS Collection List\",subtitle:\"The layer that's connected isn't a Collection List. Make sure the Collection List isn't inside of any other layers or components when connecting it.\"});}if(favouriting&&cmsCollectionName==\"\"){return /*#__PURE__*/_jsx(Message,{title:\"Enter a CMS Collection Name\",subtitle:'Write the name of the CMS collection in the \"CMS Collection Name\" property. The name is used for saving favourites as a cookie and for matching with favourite buttons.'});}if(favouriting&&slugFieldName==\"\"){return /*#__PURE__*/_jsx(Message,{title:\"Enter a Slug Field Name\",subtitle:'Write the name of the field in the \"Slug Field Name\" property. \"Slug\" is the default value unless you renamed it.'});}if(showNotComponentChildError){return /*#__PURE__*/_jsx(Message,{title:\"Collection List item is not a component with variants.\",subtitle:\"To use variant overrides, make sure the only item in the Collection List is a component with variants. Otherwise, remove the component variant override.\"});}if(missingSearchFieldError.length){return /*#__PURE__*/_jsx(Message,{title:`\"${missingSearchFieldError}\" field does not exist in your CMS collection`,subtitle:`The field \"${missingSearchFieldError}\" is in the search fields list, but there are no fields in your CMS collection with that name. Edit the field name in the search fields list, or add a new CMS field with that name.`});}let layoutStyle={};if(layout){const padding=layout.paddingIsMixed?`${layout.paddingTop}px ${layout.paddingRight}px ${layout.paddingBottom}px ${layout.paddingLeft}px`:`${layout.padding}px`;switch(layout.type){case\"stack\":const isVertical=layout.direction==\"vertical\";layoutStyle={display:\"flex\",flexDirection:isVertical?\"column\":\"row\",flexWrap:layout.wrap?\"wrap\":\"nowrap\",alignItems:isVertical?layout.alignV:layout.alignH,justifyContent:layout.distribute,gap:layout.gap,padding};break;case\"grid\":// Columns\nlet gridTemplateColumns=\"\";if(layout.columns==\"auto\"){if(layout.gridWidthType==\"min\"){gridTemplateColumns=`repeat(auto-fill, minmax(${layout.gridWidth}px, 1fr))`;}else{// \"fixed\"\ngridTemplateColumns=`repeat(auto-fill, ${layout.gridWidth}px)`;}}else{if(layout.gridWidthType==\"min\"){gridTemplateColumns=`repeat(${layout.columnCount}, minmax(${layout.gridWidth}px, 1fr))`;}else{// \"fixed\"\ngridTemplateColumns=`repeat(${layout.columnCount}, ${layout.gridWidth}px)`;}}// Rows\nlet gridAutoRows=\"\";switch(layout.gridHeightType){case\"fixed\":gridAutoRows=`${layout.gridHeight}px`;break;case\"fit\":gridAutoRows=\"min-content\";break;}layoutStyle={display:\"grid\",gridTemplateColumns,gridAutoRows,justifyContent:layout.gridAlign,alignItems:layout.gridAlignV,columnGap:layout.gapH,rowGap:layout.gapV,padding,placeContent:\"start end\"};break;}}const isMasonry=(layout===null||layout===void 0?void 0:layout.type)==\"masonry\";// Canvas view\nif(isCanvas){if(collectionList){let paginationPreviewOffset=0;let paginationItemsAfter=0;if(pagination&&paginationType!==\"framerPagination\"){try{const children=collectionList.type.type(collectionList.props).props.children.props.children;if(children.length>1){for(let i=0;i<children.length;i++){if(children[i].key==\"repeated\"){paginationPreviewOffset=i;paginationItemsAfter=children.length-i-1;break;}}}}catch{console.log(\"Failed to calculate Superfields pagination preview offset.\");}}if(isMasonry){var _collectionList_props___node_cache,_collectionList_props___node,_collectionList_props3;const htmlElement=(_collectionList_props3=collectionList.props)===null||_collectionList_props3===void 0?void 0:(_collectionList_props___node=_collectionList_props3.__node)===null||_collectionList_props___node===void 0?void 0:(_collectionList_props___node_cache=_collectionList_props___node.cache)===null||_collectionList_props___node_cache===void 0?void 0:_collectionList_props___node_cache.htmlElement;if(htmlElement){var _htmlElement_reactFiberKey_memoizedProps_children__props_children_props_children__props_children__props,_htmlElement_reactFiberKey_memoizedProps_children__props_children_props_children__props_children_,_htmlElement_reactFiberKey_memoizedProps_children__props_children_props_children__props_children,_htmlElement_reactFiberKey_memoizedProps_children__props_children_props_children__props,_htmlElement_reactFiberKey_memoizedProps_children__props_children_props_children_,_htmlElement_reactFiberKey_memoizedProps_children__props_children_props_children,_htmlElement_reactFiberKey_memoizedProps_children__props_children_props,_htmlElement_reactFiberKey_memoizedProps_children__props_children,_htmlElement_reactFiberKey_memoizedProps_children__props,_htmlElement_reactFiberKey_memoizedProps_children_,_htmlElement_reactFiberKey_memoizedProps_children,_htmlElement_reactFiberKey_memoizedProps,_htmlElement_reactFiberKey;let reactFiberKey=\"\";for(const key of Object.keys(htmlElement)){if(key.startsWith(\"__reactFiber\")){reactFiberKey=key;}}// Solution for getting React children from CMS collection on canvas by Fehmi Ozuseven\nlet cmsChildren=(_htmlElement_reactFiberKey=htmlElement[reactFiberKey])===null||_htmlElement_reactFiberKey===void 0?void 0:(_htmlElement_reactFiberKey_memoizedProps=_htmlElement_reactFiberKey.memoizedProps)===null||_htmlElement_reactFiberKey_memoizedProps===void 0?void 0:(_htmlElement_reactFiberKey_memoizedProps_children=_htmlElement_reactFiberKey_memoizedProps.children)===null||_htmlElement_reactFiberKey_memoizedProps_children===void 0?void 0:(_htmlElement_reactFiberKey_memoizedProps_children_=_htmlElement_reactFiberKey_memoizedProps_children[0])===null||_htmlElement_reactFiberKey_memoizedProps_children_===void 0?void 0:(_htmlElement_reactFiberKey_memoizedProps_children__props=_htmlElement_reactFiberKey_memoizedProps_children_.props)===null||_htmlElement_reactFiberKey_memoizedProps_children__props===void 0?void 0:(_htmlElement_reactFiberKey_memoizedProps_children__props_children=_htmlElement_reactFiberKey_memoizedProps_children__props.children)===null||_htmlElement_reactFiberKey_memoizedProps_children__props_children===void 0?void 0:(_htmlElement_reactFiberKey_memoizedProps_children__props_children_props=_htmlElement_reactFiberKey_memoizedProps_children__props_children.props)===null||_htmlElement_reactFiberKey_memoizedProps_children__props_children_props===void 0?void 0:(_htmlElement_reactFiberKey_memoizedProps_children__props_children_props_children=_htmlElement_reactFiberKey_memoizedProps_children__props_children_props.children)===null||_htmlElement_reactFiberKey_memoizedProps_children__props_children_props_children===void 0?void 0:(_htmlElement_reactFiberKey_memoizedProps_children__props_children_props_children_=_htmlElement_reactFiberKey_memoizedProps_children__props_children_props_children[1])===null||_htmlElement_reactFiberKey_memoizedProps_children__props_children_props_children_===void 0?void 0:(_htmlElement_reactFiberKey_memoizedProps_children__props_children_props_children__props=_htmlElement_reactFiberKey_memoizedProps_children__props_children_props_children_.props)===null||_htmlElement_reactFiberKey_memoizedProps_children__props_children_props_children__props===void 0?void 0:(_htmlElement_reactFiberKey_memoizedProps_children__props_children_props_children__props_children=_htmlElement_reactFiberKey_memoizedProps_children__props_children_props_children__props.children)===null||_htmlElement_reactFiberKey_memoizedProps_children__props_children_props_children__props_children===void 0?void 0:(_htmlElement_reactFiberKey_memoizedProps_children__props_children_props_children__props_children_=_htmlElement_reactFiberKey_memoizedProps_children__props_children_props_children__props_children[0])===null||_htmlElement_reactFiberKey_memoizedProps_children__props_children_props_children__props_children_===void 0?void 0:(_htmlElement_reactFiberKey_memoizedProps_children__props_children_props_children__props_children__props=_htmlElement_reactFiberKey_memoizedProps_children__props_children_props_children__props_children_.props)===null||_htmlElement_reactFiberKey_memoizedProps_children__props_children_props_children__props_children__props===void 0?void 0:_htmlElement_reactFiberKey_memoizedProps_children__props_children_props_children__props_children__props.children;if(Array.isArray(cmsChildren)){let children=[];for(const child of cmsChildren){var _child_props;if(child.key==\"repeated\"&&Array.isArray((_child_props=child.props)===null||_child_props===void 0?void 0:_child_props.children)){children=children.concat(child.props.children);}else{children.push(child);}}return /*#__PURE__*/_jsx(Masonry,{columns:layout.masonryColumns,gap:`${layout.gapV}px ${layout.gapH}px`,alignment:layout.masonryItemWidth===\"fit\"?layout.masonryAlign:\"stretch\",autoArrange:true,reverse:false,children:children});}}}else{var _collectionList_props4;var _props_id;const id=(_props_id=props.id)!==null&&_props_id!==void 0?_props_id:\"a\"+String(Math.floor(Math.random()*999999999));return /*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/cloneElement(collectionList,{id,style:{...(_collectionList_props4=collectionList.props)===null||_collectionList_props4===void 0?void 0:_collectionList_props4.style,...props.style,...layoutStyle}}),pagination&&paginationType!==\"framerPagination\"&&/*#__PURE__*/_jsx(\"style\",{children:`#${id} > *:nth-child(n+${itemsPerPage+1+paginationPreviewOffset})${paginationItemsAfter?`:not(:nth-last-child(-n+${paginationItemsAfter}))`:\"\"} { display: none !important; }`})]});}}else{return /*#__PURE__*/_jsx(\"div\",{style:{height:100}});}}// Empty state\nif(!(items===null||items===void 0?void 0:items.length)){if(emptyState){return /*#__PURE__*/cloneElement(emptyState,{style:{...emptyState.props.style,...props.style}});}else{return /*#__PURE__*/_jsx(\"div\",{});}}return /*#__PURE__*/_jsxs(\"div\",{...collectionList.props,style:{...collectionList===null||collectionList===void 0?void 0:collectionList.props.style,...props.style,position:\"relative\",overflow:pagination&&paginationType==\"infiniteScroll\"?\"hidden auto\":undefined,...layoutStyle},className:isMasonry?\"\":className,children:[isMasonry?/*#__PURE__*/_jsx(Masonry,{columns:layout.masonryColumns,gap:`${layout.gapV}px ${layout.gapH}px`,alignment:layout.masonryItemWidth===\"fit\"?layout.masonryAlign:\"stretch\",autoArrange:true,reverse:false,children:children}):children,props.scrollUp&&/*#__PURE__*/_jsx(\"div\",{ref:scrollUpRef,style:{position:\"absolute\",top:props.scrollUp.offset,pointerEvents:\"none\"}})]});}addPropertyControls(Superfields,{superfieldsId:{type:ControlType.Number,defaultValue:0,step:1,min:0,displayStepper:true,title:\"ID\"},collectionList:{type:ControlType.ComponentInstance},emptyState:{type:ControlType.ComponentInstance},layout:{type:ControlType.Object,optional:true,controls:{type:{type:ControlType.Enum,defaultValue:\"stack\",options:[\"stack\",\"grid\",\"masonry\"],optionTitles:[\"Stack\",\"Grid\",\"Masonry\"],displaySegmentedControl:true,segmentedControlDirection:\"vertical\"},direction:{type:ControlType.Enum,defaultValue:\"vertical\",options:[\"horizontal\",\"vertical\"],optionTitles:[\"Horizontal\",\"Vertical\"],optionIcons:[\"direction-horizontal\",\"direction-vertical\"],displaySegmentedControl:true,hidden:props=>props.type!=\"stack\"},distribute:{type:ControlType.Enum,defaultValue:\"start\",options:[\"start\",\"center\",\"end\",\"space-between\",\"space-around\",\"space-evenly\"],optionTitles:[\"Start\",\"Center\",\"End\",\"Space Between\",\"Space Around\",\"Space Evenly\"],hidden:props=>props.type!=\"stack\"},alignH:{type:ControlType.Enum,defaultValue:\"start\",options:[\"start\",\"center\",\"end\"],optionTitles:[\"Top\",\"Center\",\"Bottom\"],optionIcons:[\"align-top\",\"align-middle\",\"align-bottom\"],displaySegmentedControl:true,title:\"Align\",hidden:props=>props.type!=\"stack\"||props.direction!=\"horizontal\"},alignV:{type:ControlType.Enum,defaultValue:\"start\",options:[\"start\",\"center\",\"end\"],optionTitles:[\"Left\",\"Center\",\"Right\"],optionIcons:[\"align-left\",\"align-center\",\"align-right\"],displaySegmentedControl:true,title:\"Align\",hidden:props=>props.type!=\"stack\"||props.direction!=\"vertical\"},wrap:{type:ControlType.Boolean,defaultValue:false,hidden:props=>props.type!=\"stack\"},columns:{type:ControlType.Enum,defaultValue:\"fixed\",options:[\"auto\",\"fixed\"],optionTitles:[\"Auto\",\"Fixed\"],displaySegmentedControl:true,hidden:props=>props.type!=\"grid\"},columnCount:{type:ControlType.Number,defaultValue:2,min:1,step:1,displayStepper:true,title:\" \",hidden:props=>props.type!=\"grid\"||props.columns==\"auto\"},gridWidthType:{type:ControlType.Enum,defaultValue:\"min\",options:[\"min\",\"fixed\"],optionTitles:[\"Min\",\"Fixed\"],displaySegmentedControl:true,title:\"Width\",hidden:props=>props.type!=\"grid\"},gridWidth:{type:ControlType.Number,defaultValue:200,min:1,step:1,title:\" \",hidden:props=>props.type!=\"grid\"},gridHeightType:{type:ControlType.Enum,defaultValue:\"fit\",options:[\"fit\",\"fixed\"],optionTitles:[\"Fit\",\"Fixed\"],displaySegmentedControl:true,title:\"Height\",hidden:props=>props.type!=\"grid\"},gridHeight:{type:ControlType.Number,defaultValue:200,min:1,step:1,title:\" \",hidden:props=>props.type!=\"grid\"||props.gridHeightType!=\"fixed\"},gridAlign:{type:ControlType.Enum,defaultValue:\"center\",options:[\"start\",\"center\",\"end\"],optionTitles:[\"Left\",\"Center\",\"Right\"],displaySegmentedControl:true,title:\"Align\",hidden:props=>props.type!=\"grid\"},gridAlignV:{type:ControlType.Enum,defaultValue:\"start\",options:[\"start\",\"center\",\"end\"],optionTitles:[\"Top\",\"Center\",\"Bottom\"],optionIcons:[\"align-top\",\"align-middle\",\"align-bottom\"],displaySegmentedControl:true,title:\" \",hidden:props=>props.type!=\"grid\"||props.gridHeightType!==\"fit\"},masonryColumns:{type:ControlType.Number,defaultValue:3,min:1,step:1,displayStepper:true,title:\"Columns\",hidden:props=>props.type!==\"masonry\"},masonryItemWidth:{type:ControlType.Enum,defaultValue:\"fill\",options:[\"fit\",\"fill\"],optionTitles:[\"Fit\",\"Fill\"],displaySegmentedControl:true,title:\"Item Width\",hidden:props=>props.type!==\"masonry\"},masonryAlign:{type:ControlType.Enum,defaultValue:\"center\",options:[\"start\",\"center\",\"end\"],optionTitles:[\"Left\",\"Center\",\"Right\"],displaySegmentedControl:true,title:\"Align\",hidden:props=>props.type!==\"masonry\"||props.masonryItemWidth!==\"fit\"},gap:{type:ControlType.Number,defaultValue:10,min:0,step:1,hidden:props=>props.type!==\"stack\"},gapH:{type:ControlType.Number,defaultValue:10,min:0,step:1,hidden:props=>props.type!==\"grid\"&&(props.type!==\"masonry\"||props.masonryColumns===1)},gapV:{type:ControlType.Number,defaultValue:10,min:0,step:1,hidden:props=>props.type!==\"grid\"&&props.type!==\"masonry\"},padding:{type:ControlType.FusedNumber,defaultValue:0,toggleKey:\"paddingIsMixed\",toggleTitles:[\"All\",\"Individual\"],valueKeys:[\"paddingTop\",\"paddingRight\",\"paddingBottom\",\"paddingLeft\"],valueLabels:[\"T\",\"R\",\"B\",\"L\"],min:0}}},componentConfig:{type:ControlType.Object,optional:true,title:\"Component\",description:\" \",controls:{variant:{type:ControlType.String,defaultValue:\"\",placeholder:\"Variant Name\",description:\"Override the component's variant for responsive design.\\n\\n*Note:* The component must be the only layer inside the Collection List to use this.\"}}},pagination:{type:ControlType.Boolean,defaultValue:false},paginationType:{type:ControlType.Enum,defaultValue:\"pagination\",options:[\"prevNextButtons\",\"loadMoreButton\"],optionTitles:[\"Prev/Next Buttons\",\"Load More Button\"],title:\"Type\",displaySegmentedControl:true,segmentedControlDirection:\"vertical\",hidden:props=>!props.pagination},itemsPerPage:{type:ControlType.Number,defaultValue:4,min:1,step:1,displayStepper:true,hidden:props=>!props.pagination},scrollUp:{type:ControlType.Object,optional:true,icon:\"interaction\",defaultValue:{offset:0},controls:{offset:{type:ControlType.Number,defaultValue:-32,step:1,description:\"When the page is changed, scroll up to the top of the Superfields component with an offset in px.\"}},hidden:props=>!props.pagination||props.paginationType!=\"prevNextButtons\"},filtering:{type:ControlType.Boolean,defaultValue:false},favouriting:{type:ControlType.Boolean,defaultValue:false},cmsCollectionName:{type:ControlType.String,defaultValue:\"\",placeholder:\"CMS Collection Name\",title:\"CMS Collection Name\",hidden:props=>!props.favouriting},slugFieldName:{type:ControlType.String,defaultValue:\"Slug\",placeholder:\"Slug Field Name\",hidden:props=>!props.favouriting},favouritesOnly:{type:ControlType.Boolean,defaultValue:false,hidden:props=>!props.favouriting},search:{type:ControlType.Boolean,defaultValue:false},searchFields:{type:ControlType.Array,defaultValue:[\"Title\"],title:\"Fields\",control:{type:ControlType.String,placeholder:\"CMS Field Name\"},description:\"CMS fields to search\",hidden:props=>!props.search},randomize:{type:ControlType.Boolean,defaultValue:false}});function ComponentVariantSwitch({child,componentConfig}){var _child_props_children_props_children,_child_props_children_props,_child_props_children,_child_props,_component_type,_component_props_children__props_children_props,_component_props_children__props_children,_component_props_children__props,_component_props_children_,_component_props_children,_component_props,_component_props1;const componentProps=child===null||child===void 0?void 0:(_child_props=child.props)===null||_child_props===void 0?void 0:(_child_props_children=_child_props.children)===null||_child_props_children===void 0?void 0:(_child_props_children_props=_child_props_children.props)===null||_child_props_children_props===void 0?void 0:(_child_props_children_props_children=_child_props_children_props.children)===null||_child_props_children_props_children===void 0?void 0:_child_props_children_props_children.props;// Component types:\n// default: variant prop is 0 levels down\n// links: use ResolveLinks and go 2 levels down\n// child: variant prop is 1 levels down\nlet componentType=\"default\";let component=componentProps===null||componentProps===void 0?void 0:componentProps.children;if(typeof component==\"function\"&&(componentProps===null||componentProps===void 0?void 0:componentProps.links)){componentType=\"links\";component=ResolveLinks.render({links:componentProps.links,children:componentProps.children});}else if(!(component===null||component===void 0?void 0:(_component_type=component.type)===null||_component_type===void 0?void 0:_component_type.propertyControls)){componentType=\"child\";}const cData=componentType==\"links\"?component===null||component===void 0?void 0:(_component_props=component.props)===null||_component_props===void 0?void 0:(_component_props_children=_component_props.children)===null||_component_props_children===void 0?void 0:(_component_props_children_=_component_props_children[0])===null||_component_props_children_===void 0?void 0:(_component_props_children__props=_component_props_children_.props)===null||_component_props_children__props===void 0?void 0:(_component_props_children__props_children=_component_props_children__props.children)===null||_component_props_children__props_children===void 0?void 0:(_component_props_children__props_children_props=_component_props_children__props_children.props)===null||_component_props_children__props_children_props===void 0?void 0:_component_props_children__props_children_props.children:componentType==\"child\"?component===null||component===void 0?void 0:(_component_props1=component.props)===null||_component_props1===void 0?void 0:_component_props1.children:component;if(component&&cData){var _cData_type_propertyControls,_cData_type;const variantProp=(_cData_type=cData.type)===null||_cData_type===void 0?void 0:(_cData_type_propertyControls=_cData_type.propertyControls)===null||_cData_type_propertyControls===void 0?void 0:_cData_type_propertyControls.variant;if(variantProp){if(componentType==\"links\"){return /*#__PURE__*/cloneElement(component,{children:{...component.props.children[0],props:{...component.props.children[0].props,children:{...component.props.children[0].props.children,props:{...component.props.children[0].props.children.props,children:{...cData,props:{...cData.props,variant:componentConfig.variant}}}}}}});}else if(componentType==\"child\"){return /*#__PURE__*/cloneElement(component,{children:{...cData,props:{...cData.props,variant:componentConfig.variant}}});}else{return /*#__PURE__*/cloneElement(component,{variant:componentConfig.variant});}}}return child;}class SeededRNG{next(){this.seed=(this.a*this.seed+this.c)%this.m;return this.seed/(this.m-1);}constructor(seed){this.seed=seed;this.m=2147483648// 2**31\n;this.a=1103515245;this.c=12345;}}// Fisher-Yates Shuffle using a seeded RNG\nfunction shuffle(array,seed){const rng=new SeededRNG(seed);for(let i=array.length-1;i>0;i--){const j=Math.floor(rng.next()*(i+1));[array[i],array[j]]=[array[j],array[i]]// Swap elements\n;}}\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"Superfields\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"any-prefer-fixed\",\"framerSupportedLayoutHeight\":\"any\",\"framerIntrinsicWidth\":\"600\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Superfields.map"],
  "mappings": "gQAAqF,SAASA,GAAYC,EAAO,CACjH,IAAMC,EAAUC,GAAK,CAAC,MAAM,OAAO,OAAO,CAAC,GAAGF,CAAM,CAAC,CAAC,CAAC,EACjDG,EAAaC,GAAU,CAC1B,OAAOA,GAAW,aAAYA,EAASA,EAASH,EAAU,KAAK,GAAGA,EAAU,MAAM,OAAO,OAAO,CAAC,GAAGA,EAAU,MAAM,GAAGG,CAAQ,CAAC,CAAE,EACjIC,EAAW,OAAOL,GAAS,SAAS,OAAO,OAAO,CAAC,GAAGA,CAAM,CAAC,EAAEA,EAC7DM,EAAa,IAAI,IACjBC,EAAcH,GAAU,CAC3B,OAAOA,GAAW,aAAYA,EAASA,EAASC,CAAU,GAAGA,EAAW,OAAOD,GAAW,SAAS,OAAO,OAAO,CAAC,GAAGC,EAAW,GAAGD,CAAQ,CAAC,EAAEA,EACjJE,EAAa,QAAQE,GAAQA,EAAOH,CAAU,CAAC,CAAE,EACjD,SAASI,GAAU,CACnB,GAAK,CAACC,EAAMC,CAAQ,EAAEC,GAASP,CAAU,EAIzC,OAFAQ,GAAU,KACVP,EAAa,IAAIK,CAAQ,EAAQ,IAAIL,EAAa,OAAOK,CAAQ,GAAI,CAAC,CAAC,EACpEG,GAAe,IAAI,IAAMA,GAAe,EAAQ,CAACb,EAAU,MAAME,CAAY,GAC1E,CAACO,EAAMH,CAAa,CAA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,EAAE,EAAE,EAAE,CAACmK,EAAMnK,CAAC,EAAEmK,EAAME,CAAC,CAAC,EAAE,CAACF,EAAME,CAAC,EAAEF,EAAMnK,CAAC,CAAC,CACvK,CAAC",
  "names": ["createStore", "state1", "dataStore", "Data", "setDataStore", "newState", "storeState", "storeSetters", "setStoreState", "setter", "useStore", "state", "setState", "ye", "ue", "useObserveData", "usePaginationState", "createStore", "useFilterState", "useFavouriteState", "useSearchState", "useRandomizationState", "superfieldsId", "hidden", "ControlType", "Button", "props", "onClick", "onMouseEnter", "_props_font", "_props_style", "_props_customLayer", "_props_style1", "_props_style2", "layer", "width", "height", "q", "p", "u", "createBackground", "Border", "borderPropertyControl", "ControlType", "widthIsMixed", "widthTop", "widthRight", "widthBottom", "widthLeft", "style", "color", "transition", "animate", "radius", "motion", "Message", "title", "subtitle", "createBackground", "fill", "on", "color", "colorA", "colorB", "fillProp", "gradientColorA", "gradientColorB", "noDefault", "props", "ControlType", "fillPropOnOff", "colorOn", "colorAOn", "colorBOn", "colorOff", "colorAOff", "colorBOff", "DEFAULT_COLUMNS", "DEFAULT_GAP", "Masonry", "breakpoints", "columns", "gap", "reverse", "autoArrange", "alignment", "children", "style", "otherProps", "forwardedRef", "elements", "pe", "arrange", "setArrange", "ye", "fe", "layout", "se", "arrayOfChildren", "j", "newLayout", "columnHeights", "getcolumnIndex", "index", "columnIndex", "item", "element", "elementHeight", "child", "J", "temporaryElements", "addElement", "p", "column", "itemIndex", "FAVOURITES_FILTER_ID", "DELIMITER", "Superfields", "props", "_props_collectionList", "_props_emptyState", "_randomizationState_superfieldsId", "_filters_FAVOURITES_FILTER_ID", "_searchState_superfieldsId", "_paginationState_superfieldsId", "_randomizationState_superfieldsId1", "superfieldsId", "layout", "componentConfig", "favouriting", "randomize", "cmsCollectionName", "slugFieldName", "favouritesOnly", "collectionList", "emptyState", "isCanvas", "RenderTarget", "scrollUpRef", "pe", "paginationState", "setPaginationState", "usePaginationState", "filterState", "setFilterState", "useFilterState", "favouriteState", "setFavouriteState", "useFavouriteState", "searchState", "setSearchState", "useSearchState", "randomizationState", "setRandomizationState", "useRandomizationState", "filters", "query", "queryData", "propertyControlsByName", "slugFieldId", "se", "_collectionList_props", "_collectionList_props_children_props", "_collectionList_props_children", "_collectionList_props1", "_collectionList_props_children_props_children_props", "_collectionList_props_children_props_children", "_collectionList_props_children_props1", "_collectionList_props_children1", "_collectionList_props2", "_propertyControlsByName_slugFieldName", "_collectionList_props_query", "_ref", "left", "i", "propertyControlsById", "id", "control", "_propertyControlsByName_slugFieldName_id", "select", "usedFieldNames", "fieldName", "value", "_propertyControlsByName_value", "name", "originalData", "useQueryData", "paginationLength", "paginationType", "QueryData", "a", "collection", "pagination", "itemsPerPage", "data", "originalDataMap", "item", "dataOrder", "setDataOrder", "ye", "updatePaginationState", "totalPages", "onPaginationChange", "ue", "_randomizationState_superfieldsId_seed", "seed", "newDataOrder", "_", "shuffle", "rect", "window", "newData", "filter", "conditionContains", "fields", "n", "field", "filteredData", "cmsItem", "foundMatch", "originalDataItem", "dataFieldValue", "values", "v", "_field_optionTitles", "_field_options", "_originalDataItem_field_id", "_field_optionTitles1", "_field_options1", "favouriteFilterValue", "favourites", "missingSearchFieldError", "_searchState_superfieldsId_trim_toLowerCase", "searchText", "otherData", "levels", "itemLevels", "property", "propertyID", "propertyType", "optionMap", "propIsString", "propIsEnum", "propIsNumber", "ii", "_originalDataMap_cmsItem_id", "text", "level", "oldLevel", "oldLevelItems", "childrenStartOffset", "items", "orderedItems", "state", "showNotComponentChildError", "children", "className", "_clpc_props", "_clpc_props_children_props", "_clpc_props_children", "_clpc_props1", "offset", "limit", "otherQuery", "childrenFunction", "clpc", "_clpc_props2", "_clChildren_props", "paginationInfo", "clChildren", "newPage", "prev", "modifyChildren", "elements", "newChildren", "isComponentWithVariants", "child", "component", "p", "ComponentVariantSwitch", "childrenArray", "Message", "layoutStyle", "padding", "isVertical", "gridTemplateColumns", "gridAutoRows", "isMasonry", "paginationPreviewOffset", "paginationItemsAfter", "_collectionList_props___node_cache", "_collectionList_props___node", "_collectionList_props3", "htmlElement", "_htmlElement_reactFiberKey_memoizedProps_children__props_children_props_children__props_children__props", "_htmlElement_reactFiberKey_memoizedProps_children__props_children_props_children__props_children_", "_htmlElement_reactFiberKey_memoizedProps_children__props_children_props_children__props_children", "_htmlElement_reactFiberKey_memoizedProps_children__props_children_props_children__props", "_htmlElement_reactFiberKey_memoizedProps_children__props_children_props_children_", "_htmlElement_reactFiberKey_memoizedProps_children__props_children_props_children", "_htmlElement_reactFiberKey_memoizedProps_children__props_children_props", "_htmlElement_reactFiberKey_memoizedProps_children__props_children", "_htmlElement_reactFiberKey_memoizedProps_children__props", "_htmlElement_reactFiberKey_memoizedProps_children_", "_htmlElement_reactFiberKey_memoizedProps_children", "_htmlElement_reactFiberKey_memoizedProps", "_htmlElement_reactFiberKey", "reactFiberKey", "key", "cmsChildren", "_child_props", "Masonry", "_collectionList_props4", "_props_id", "u", "l", "q", "addPropertyControls", "ControlType", "_child_props_children_props_children", "_child_props_children_props", "_child_props_children", "_component_type", "_component_props_children__props_children_props", "_component_props_children__props_children", "_component_props_children__props", "_component_props_children_", "_component_props_children", "_component_props", "_component_props1", "componentProps", "componentType", "ResolveLinks", "cData", "_cData_type_propertyControls", "_cData_type", "SeededRNG", "array", "rng", "j"]
}
