{"version":3,"file":"cmsCollectionLayout.DXd8cgMO.mjs","names":["useRef","useCallback","useLayoutEffect","__esmMin","window","le","ne","init_ssg_sandbox_shims","de","init_npm_react_18_3_1","init_useInViewport","init_colors","isFramerEditorEnvironment","getSpacing","init_useInheritedSectionBreakpoint","SECTION_BREAKPOINT_ATTR","uppercaseLetterRatio","text","letters","isDisplayableReviewQuote","quote","normalized","pattern","BLOCKED_QUOTE_PATTERNS","upper","snippet","BLOCKED_QUOTE_SNIPPETS","hideNonDisplayableTestimonialItems","host","article","collectionItem","target","init_reviewModeration","isCmsCollectionPlaceholder","element","CMS_COLLECTION_PLACEHOLDER_ATTR","buildCmsCollectionGridCriticalCss","gridId","columns","gap","CMS_COLLECTION_GRID_ATTR","gridRules","slot","pagination","spinner","cmsChromeHideCss","CMS_PAGINATION_CHILD_HAS","isTestimonialColumnWrapper","TESTIMONIAL_COLUMN_ATTR","isCmsLayoutChromeElement","CMS_LAYOUT_CHROME_TAGS","layoutElementChildren","parent","child","hostSelector","isCmsCollectionPaginationControl","framerName","layerName","ariaLabel","CMS_COLLECTION_FIELD_LAYER_SELECTOR","controls","node","label","LOAD_MORE_LABEL_PATTERN","control","SPINNER_OR_LOADING_LABEL_PATTERN","isCmsCollectionInfiniteScrollSpinner","isCmsCollectionLoadMoreBusy","isCmsCollectionLoadMoreExhausted","button","isCmsCollectionSearchActive","CMS_COLLECTION_SEARCHING_ATTR","getCmsCollectionPaginationStyles","CMS_COLLECTION_INFINITE_SCROLL_SENTINEL_STYLES","CMS_COLLECTION_PAGINATION_BUTTON_STYLES","CMS_COLLECTION_PAGINATION_STYLES","applyCmsCollectionPaginationStyles","styles","CMS_COLLECTION_PAGINATION_HIDDEN_ATTR","applyInlineStyles","cssPropertyName","property","letter","important","value","getCollectionRoots","nested","getCollectionGridRoot","root","directChildren","wrapper","getCmsCollectionLayoutRoots","roots","layoutRoots","getCmsCollectionItemElements","gridRoot","isCmsCollectionItemChild","isTestimonialClone","TESTIMONIAL_CLONE_ATTR","syncCmsCollectionListItemRoles","listRoot","isList","CMS_COLLECTION_LIST_ITEM_ATTR","isGridLayout","hasCmsCollectionPaginationChild","applyCmsCollectionLayoutToHost","collectionRootStyles","collectionItemStyles","sectionBreakpoint","scrollRootRef","firstScrollRoot","item","useCmsCollectionLayout","hostRef","enabled","canvasObserverRef","applyStyles","observer","SECTION_GRID_CARDS_CMS_GRID_ID","init_cmsCollectionLayout"],"sources":["https:/framerusercontent.com/modules/WHFsOD0VNJLAyKL5PGaC/1xfd3odYu2J92N7dZW8l/reviewModeration.js","https:/framerusercontent.com/modules/eOSwza2JTdvRVICEipdz/u0IJJgH2fTYm4PD7RUQx/cmsCollectionLayout.js"],"sourcesContent":["const BLOCKED_QUOTE_PATTERNS=[/\\*{3,}/,/\\bHIV\\s+KOMMT\\b/i,/\\bBEOBACHTET\\s+FACEBOOK!?/i,/\\bABSOLUT\\s+0\\s+STERNE\\b/i,/\\bVORMUNDSCHAFT\\b.*\\b0\\s+STERNE\\b/i,/@BUNQ,,KREDIT/i,/\\bID\\.AUSWEI[Sẞ]/i,/\\bEINSCKENUNG\\b/i,/\\bEINBINDETT\\.KUNFT\\b/i];const BLOCKED_QUOTE_SNIPPETS=[\"TJA ABER DIE HABEN VORMUNDSCHAFT\",\"ICH ERWARTE DADURCH NACH EINSCKENUNG DES ID.AUSWEI\"];function uppercaseLetterRatio(text){const letters=text.replace(/[^a-zA-ZäöüÄÖÜß]/g,\"\");if(letters.length===0){return 0;}const uppercaseCount=letters.match(/[A-ZÄÖÜ]/g)?.length??0;return uppercaseCount/letters.length;}export function isDisplayableReviewQuote(quote){const normalized=quote?.trim();if(!normalized){return false;}for(const pattern of BLOCKED_QUOTE_PATTERNS){if(pattern.test(normalized)){return false;}}const upper=normalized.toUpperCase();for(const snippet of BLOCKED_QUOTE_SNIPPETS){if(upper.includes(snippet)){return false;}}if(normalized.length>=60&&uppercaseLetterRatio(normalized)>=.85){return false;}return true;}export function hideNonDisplayableTestimonialItems(host){const articles=host.querySelectorAll('article[itemtype=\"https://schema.org/Review\"]');articles.forEach(article=>{const quote=article.querySelector('[itemprop=\"reviewBody\"]')?.textContent?.trim()??\"\";const collectionItem=article.closest(\"[data-framer-name], li, div\")??article.parentElement;const target=collectionItem instanceof HTMLElement?collectionItem:article;if(isDisplayableReviewQuote(quote)){if(target.style.display===\"none\"){target.style.removeProperty(\"display\");}return;}target.style.display=\"none\";});}// recompile: 1792505897503\n\nexport const __FramerMetadata__ = {\"exports\":{\"isDisplayableReviewQuote\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"hideNonDisplayableTestimonialItems\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./reviewModeration.map","import{useCallback,useEffect,useLayoutEffect,useRef}from\"react\";import{getSpacing}from\"https://framerusercontent.com/modules/yBm4xQRQEBvJankYjkxZ/c6EjO8jGXzs7IawsBiU1/colors.js\";import{SECTION_BREAKPOINT_ATTR}from\"https://framerusercontent.com/modules/GXLXiYd3hoMReGGx4l0f/b4UbE0ZuqfXx81EZYOtE/useInheritedSectionBreakpoint.js\";import{getTestimonialCarouselBackgroundVariant,TESTIMONIAL_CMS_BG_VARIANT_ATTR}from\"https://framerusercontent.com/modules/95JIcxpoxTc4BWZhfuBf/JIu5v2DoYVW5zl3SXmYy/testimonialCarouselBackgrounds.js\";import{hideNonDisplayableTestimonialItems}from\"https://framerusercontent.com/modules/WHFsOD0VNJLAyKL5PGaC/1xfd3odYu2J92N7dZW8l/reviewModeration.js\";import{isFramerEditorEnvironment,setElementInert}from\"https://framerusercontent.com/modules/ftX3Jc41Y7LVySIwERQ6/Cl9pDI0KnsePkqBWjIGL/useInViewport.js\";const TESTIMONIAL_COLUMN_ATTR=\"data-bunq-testimonial-column\";const TESTIMONIAL_CLONE_ATTR=\"data-bunq-testimonial-clone\";const CMS_COLLECTION_FIELD_LAYER_SELECTOR=['[data-framer-name=\"Title\"]','[data-framer-name=\"Description\"]','[data-framer-name=\"Category\"]','[data-framer-name=\"Year\"]',\"[data-collection-category]\",\"article\"].join(\", \");const LOAD_MORE_LABEL_PATTERN=/load more|show more|meer laden|afficher plus|cargar más|carica di più/i;const SPINNER_OR_LOADING_LABEL_PATTERN=/^(loading|loading\\.\\.\\.|spinner)$/i;export const CMS_COLLECTION_PAGINATION_STYLES={justifyContent:\"center\",alignItems:\"center\",width:\"auto\",maxWidth:\"100%\",flex:\"0 0 auto\",alignSelf:\"center\",boxSizing:\"border-box\",marginTop:getSpacing(24),gridColumn:\"1 / -1\",justifySelf:\"center\"};const CMS_COLLECTION_PAGINATION_BUTTON_STYLES={alignSelf:\"center\",flex:\"0 0 auto\",width:\"auto\",maxWidth:\"100%\",boxSizing:\"border-box\",marginTop:getSpacing(24),gridColumn:\"1 / -1\",justifySelf:\"center\"};const CMS_COLLECTION_INFINITE_SCROLL_SENTINEL_STYLES={...CMS_COLLECTION_PAGINATION_STYLES,width:\"100%\",height:\"1px\",minHeight:0,overflow:\"hidden\",opacity:0,marginTop:0,pointerEvents:\"none\"};const CMS_PAGINATION_CHILD_HAS=':has(> [data-framer-name*=\"Load more\" i], > [data-framer-name*=\"Pagination\" i], > [data-framer-name*=\"Spinner\" i])';export const CMS_COLLECTION_GRID_ATTR=\"data-bunq-cms-grid\";export const CMS_COLLECTION_SEARCHING_ATTR=\"data-bunq-collection-searching\";export const CMS_COLLECTION_PLACEHOLDER_ATTR=\"data-bunq-cms-placeholder\";export function isCmsCollectionPlaceholder(element){return element.hasAttribute(CMS_COLLECTION_PLACEHOLDER_ATTR);}export const SECTION_GRID_CARDS_CMS_GRID_ID=\"section-grid-cards\";export function buildCmsCollectionGridCriticalCss(gridId,columns,gap){const host=`[${CMS_COLLECTION_GRID_ATTR}=\"${gridId}\"]`;const slotRules=[\"width:100% !important\",\"max-width:100% !important\",\"min-width:100% !important\",\"flex:1 1 100% !important\",\"align-self:stretch !important\",\"box-sizing:border-box !important\"].join(\";\");const gridRules=[\"display:grid !important\",`grid-template-columns:${columns} !important`,`gap:${gap} !important`,\"width:100% !important\",\"max-width:100% !important\",\"min-width:100% !important\",\"box-sizing:border-box !important\"].join(\";\");const slot=`${host} > :not(style):not(script):not(link):not(template)`;const pagination=[`${host} [data-framer-name*=\"Load More\" i]`,`${host} [data-framer-name*=\"Load more\" i]`,`${host} [data-framer-name*=\"Pagination\" i]`].join(\",\");const spinner=`${host} [data-framer-name*=\"Spinner\" i],${host} [data-framer-name=\"Loading\"]`;return[cmsChromeHideCss(host),`${host}{display:block;width:100%;min-width:0}`,`${slot}{${slotRules}}`,`${slot}:has(> :nth-child(2)),${slot} > *:has(> :nth-child(2)){${gridRules}}`,`${slot}:has(> :nth-child(2))${CMS_PAGINATION_CHILD_HAS},${slot} > *:has(> :nth-child(2))${CMS_PAGINATION_CHILD_HAS}{grid-auto-rows:auto!important}`,`${pagination}{grid-column:1/-1!important;width:auto!important;max-width:100%!important;justify-self:center!important}`,`${spinner}{grid-column:1/-1!important;width:100%!important;justify-self:center!important}`,`${spinner}{height:1px!important;min-height:0!important;overflow:hidden!important;opacity:0!important;margin:0!important;pointer-events:none!important}`].join(\"\");}export const CMS_COLLECTION_LAYOUT_ATTR=\"data-bunq-cms-layout\";const UNITLESS_CSS_PROPERTIES=new Set([\"opacity\",\"zIndex\",\"flex\",\"flexGrow\",\"flexShrink\",\"order\",\"lineHeight\",\"fontWeight\",\"gridRow\",\"gridColumn\",\"gridRowStart\",\"gridRowEnd\",\"gridColumnStart\",\"gridColumnEnd\",\"aspectRatio\",\"scale\"]);function formatCssValue(property,value){if(value===undefined||value===null||value===false||value===\"\")return undefined;if(typeof value===\"number\"){return UNITLESS_CSS_PROPERTIES.has(property)||value===0?String(value):`${value}px`;}return String(value).replace(/[{};<>]/g,\"\");}export function cssDeclarationsFromStyles(styles,important=true){const suffix=important?\"!important\":\"\";return Object.entries(styles).map(([property,value])=>{const formatted=formatCssValue(property,value);return formatted===undefined?\"\":`${cssPropertyName(property)}:${formatted}${suffix}`;}).filter(declaration=>declaration!==\"\").join(\";\");}export function getCmsCollectionLayoutId(breakpoint,reactId){return`${breakpoint}-${reactId.replace(/[^a-zA-Z0-9_-]/g,\"\")}`;}export function getCmsCollectionLayoutSelectors(layoutId){const host=`[${CMS_COLLECTION_LAYOUT_ATTR}=\"${layoutId.replace(/[^a-zA-Z0-9_-]/g,\"\")}\"]`;const layoutChild=\":not(style):not(script):not(link):not(template)\";const slot=`${host} > ${layoutChild}`;const gridRootSelectors=[`${slot}:has(> :nth-child(2))`,`${slot} > :only-child:has(> :nth-child(2))`];const notPagination=':not([data-framer-name*=\"Load more\" i]):not([data-framer-name*=\"Pagination\" i]):not([data-framer-name*=\"Spinner\" i])';const itemFilter=`${layoutChild}${notPagination}`;return{host,slot,gridRoots:gridRootSelectors.join(\",\"),itemFilter,items:gridRootSelectors.map(root=>`${root} > ${itemFilter}`).join(\",\")};}const CMS_SLOT_SIZE_RULES=\"width:100%!important;max-width:100%!important;min-width:100%!important;box-sizing:border-box!important\";const CMS_SLOT_POSITION_RESET_RULES=\"position:relative!important;inset:auto!important;transform:none!important\";export function buildCmsCollectionLayoutCriticalCss(layoutId,collectionRootStyles,collectionItemStyles={},options={}){const selectors=getCmsCollectionLayoutSelectors(layoutId);const rootDeclarations=cssDeclarationsFromStyles(collectionRootStyles);const itemDeclarations=cssDeclarationsFromStyles(collectionItemStyles,false);const gridRootsWithPagination=selectors.gridRoots.split(\",\").map(root=>`${root}${CMS_PAGINATION_CHILD_HAS}`).join(\",\");const slotRules=options.resetSlotPosition?`${CMS_SLOT_SIZE_RULES};${CMS_SLOT_POSITION_RESET_RULES}`:CMS_SLOT_SIZE_RULES;return[cmsChromeHideCss(selectors.host),`${selectors.slot}{${slotRules}}`,rootDeclarations===\"\"?\"\":`${selectors.gridRoots}{${rootDeclarations}}`,isGridLayout(collectionRootStyles)?`${gridRootsWithPagination}{grid-auto-rows:auto!important}`:\"\",itemDeclarations===\"\"?\"\":`${selectors.items}{${itemDeclarations}}`].join(\"\");}export const CMS_COLLECTION_CAP_READY_ATTR=\"data-bunq-cms-cap-ready\";export function buildCmsCollectionItemCapCriticalCss(layoutId,maxVisibleItems){if(!Number.isFinite(maxVisibleItems)||maxVisibleItems<1)return\"\";const firstHidden=Math.floor(maxVisibleItems)+1;const selectors=getCmsCollectionLayoutSelectors(layoutId);const pendingHost=`${selectors.host}:not([${CMS_COLLECTION_CAP_READY_ATTR}])`;const cappedItems=selectors.items.split(\",\").map(item=>`${pendingHost}${item.slice(selectors.host.length)}:nth-child(n+${firstHidden})`).join(\",\");return`${cappedItems}{display:none}`;}export function buildCmsCollectionFlexWrapCriticalCss(hostSelector,maxWidth,gap){const slotRules=[\"width:100% !important\",\"max-width:100% !important\",\"min-width:100% !important\",\"flex:1 1 100% !important\",\"align-self:stretch !important\",\"box-sizing:border-box !important\"].join(\";\");const wrapRules=[\"display:flex !important\",\"flex-direction:row !important\",\"flex-wrap:wrap !important\",\"justify-content:center !important\",\"align-items:center !important\",`gap:${gap} !important`,\"width:100% !important\",\"max-width:100% !important\",\"height:auto !important\",\"box-sizing:border-box !important\"].join(\";\");const itemRules=[\"width:auto !important\",\"max-width:100% !important\",\"flex:0 0 auto !important\",\"align-self:center !important\",\"box-sizing:border-box !important\"].join(\";\");const slot=`${hostSelector} > :not(style):not(script):not(link):not(template)`;const wrapTargets=[`${slot}:has(> :nth-child(2))`,`${slot} > *:has(> *)`,`${slot} > * > *:has(> *)`].join(\",\");return[cmsChromeHideCss(hostSelector),`${hostSelector}{display:block;width:100%;max-width:${maxWidth};margin-left:auto;margin-right:auto;box-sizing:border-box}`,`${slot}{${slotRules}}`,`${wrapTargets}{${wrapRules}}`,`${wrapTargets} > *{${itemRules}}`].join(\"\");}export const CMS_COLLECTION_ROWS_ATTR=\"data-bunq-cms-rows\";export const SECTION_SEARCH_RESULTS_CMS_ROWS_ID=\"section-search-results\";export function buildCmsCollectionRowsCriticalCss(rowsId){const host=`[${CMS_COLLECTION_ROWS_ATTR}=\"${rowsId}\"]`;const stretch=[\"width:100% !important\",\"max-width:100% !important\",\"min-width:0 !important\",\"box-sizing:border-box\"].join(\";\");const slot=`${host} > :not(style):not(script):not(link):not(template)`;return[cmsChromeHideCss(host),`${slot},${slot} > *{${stretch}}`,`${host} div[class*=\"-container\"]{${stretch};flex:1 0 auto !important}`].join(\"\");}function isTestimonialColumnWrapper(element){return element instanceof HTMLElement&&element.hasAttribute(TESTIMONIAL_COLUMN_ATTR);}const CMS_LAYOUT_CHROME_TAGS=new Set([\"STYLE\",\"SCRIPT\",\"LINK\",\"TEMPLATE\"]);export function isCmsLayoutChromeElement(element){return CMS_LAYOUT_CHROME_TAGS.has(element.tagName);}function layoutElementChildren(parent){return Array.from(parent.children).filter(child=>child instanceof HTMLElement&&!isCmsLayoutChromeElement(child)&&!isTestimonialColumnWrapper(child));}function cmsChromeHideCss(hostSelector){return`${hostSelector} > style,${hostSelector} > script,${hostSelector} > link,${hostSelector} > template{display:none!important}`;}export function isCmsCollectionPaginationControl(element){if(isTestimonialColumnWrapper(element)){return false;}const framerName=element.getAttribute(\"data-framer-name\")?.toLowerCase()??\"\";const layerName=element.getAttribute(\"name\")?.toLowerCase()??\"\";if(framerName.includes(\"pagination\")||framerName.includes(\"load more\")||framerName.includes(\"loadmore\")||framerName.includes(\"spinner\")||framerName===\"loading\"||framerName.includes(\"loading\")||layerName.includes(\"pagination\")||layerName.includes(\"load more\")||layerName.includes(\"loadmore\")||layerName.includes(\"spinner\")||layerName===\"loading\"){return true;}const ariaLabel=element.getAttribute(\"aria-label\")?.toLowerCase()??\"\";if(ariaLabel.includes(\"pagination\")||ariaLabel.includes(\"loading\")||ariaLabel.includes(\"spinner\")){return true;}if(element.getAttribute(\"aria-busy\")===\"true\"&&!element.querySelector(CMS_COLLECTION_FIELD_LAYER_SELECTOR)){return true;}if(element.tagName===\"NAV\"&&element.querySelector('[aria-current=\"page\"]')){return true;}if(element.querySelector(CMS_COLLECTION_FIELD_LAYER_SELECTOR)){return false;}const controls=(element.matches(\"button, a, [role='button']\")?[element]:Array.from(element.querySelectorAll(\"button, a, [role='button']\"))).filter(node=>node instanceof HTMLElement);if(controls.length===1){const label=(controls[0].textContent??\"\").trim();if(label.length>0&&LOAD_MORE_LABEL_PATTERN.test(label)){return true;}}if(controls.length>=2){const hasPageNumber=controls.some(control=>/^\\d+$/.test((control.textContent??\"\").trim()));if(hasPageNumber){return true;}}if(controls.length===0){const text=(element.textContent??\"\").trim();if(text.length>0&&text.length<48){if(LOAD_MORE_LABEL_PATTERN.test(text)||SPINNER_OR_LOADING_LABEL_PATTERN.test(text)){return true;}}}return false;}function isCmsCollectionInfiniteScrollSpinner(element){const framerName=element.getAttribute(\"data-framer-name\")?.toLowerCase()??\"\";const layerName=element.getAttribute(\"name\")?.toLowerCase()??\"\";const ariaLabel=element.getAttribute(\"aria-label\")?.toLowerCase()??\"\";return framerName.includes(\"spinner\")||framerName===\"loading\"||layerName.includes(\"spinner\")||ariaLabel.includes(\"loading\")||ariaLabel.includes(\"spinner\");}export function isCmsCollectionLoadMoreBusy(element){return element.getAttribute(\"aria-busy\")===\"true\"||element.querySelector('[aria-busy=\"true\"]')!==null;}export function isCmsCollectionLoadMoreExhausted(element){if(isCmsCollectionLoadMoreBusy(element)){return false;}if(element.getAttribute(\"aria-disabled\")===\"true\"||element.hasAttribute(\"disabled\")){return true;}const button=element.matches(\"button\")?element:element.querySelector(\"button\");return Boolean(button&&(button.getAttribute(\"aria-disabled\")===\"true\"||button.hasAttribute(\"disabled\")));}export function isCmsCollectionLoadMoreControl(element){const framerName=element.getAttribute(\"data-framer-name\")?.toLowerCase()??\"\";const layerName=element.getAttribute(\"name\")?.toLowerCase()??\"\";const names=[framerName,layerName];if(names.some(name=>name.includes(\"load more\")||name.includes(\"loadmore\"))){return true;}const buttons=element.matches(\"button\")?[element]:Array.from(element.querySelectorAll(\"button\"));return buttons.length===1&&LOAD_MORE_LABEL_PATTERN.test((buttons[0].textContent??\"\").trim());}function isCmsCollectionSearchActive(element){return element.closest(`[${CMS_COLLECTION_SEARCHING_ATTR}=\"true\"]`)!==null;}function getCmsCollectionPaginationStyles(element){if(isCmsCollectionSearchActive(element)){return{display:\"none\"};}if(isCmsCollectionInfiniteScrollSpinner(element)){return CMS_COLLECTION_INFINITE_SCROLL_SENTINEL_STYLES;}if(isCmsCollectionLoadMoreExhausted(element)){return{display:\"none\"};}if(element.matches(\"button\")){return CMS_COLLECTION_PAGINATION_BUTTON_STYLES;}return CMS_COLLECTION_PAGINATION_STYLES;}const CMS_COLLECTION_PAGINATION_HIDDEN_ATTR=\"data-bunq-cms-pagination-hidden\";function applyCmsCollectionPaginationStyles(element){const styles=getCmsCollectionPaginationStyles(element);if(styles.display===\"none\"){if(!element.hasAttribute(CMS_COLLECTION_PAGINATION_HIDDEN_ATTR)){element.setAttribute(CMS_COLLECTION_PAGINATION_HIDDEN_ATTR,\"true\");}}else if(element.hasAttribute(CMS_COLLECTION_PAGINATION_HIDDEN_ATTR)){element.removeAttribute(CMS_COLLECTION_PAGINATION_HIDDEN_ATTR);element.style.removeProperty(\"display\");}applyInlineStyles(element,styles,true);}function getLooseCollectionItems(root){const direct=layoutElementChildren(root);if(direct.length===1){const wrapper=direct[0];const nested=layoutElementChildren(wrapper);if(nested.length>1){return nested;}}return direct;}function cssPropertyName(property){return property.replace(/[A-Z]/g,letter=>`-${letter.toLowerCase()}`);}function applyInlineStyles(element,styles,important=false){Object.entries(styles).forEach(([property,value])=>{if(value==null)return;if(important){element.style.setProperty(cssPropertyName(property),String(value),\"important\");return;}element.style[property]=String(value);});}export function getCollectionRoots(host){return Array.from(host.children).flatMap(child=>{if(!(child instanceof HTMLElement)||isCmsLayoutChromeElement(child))return[];if(child.style.display===\"contents\"&&child.childElementCount>0){return Array.from(child.children).filter(nested=>nested instanceof HTMLElement&&!isCmsLayoutChromeElement(nested));}return[child];});}export function getCollectionGridRoot(root){const directChildren=layoutElementChildren(root);if(directChildren.length===1){const wrapper=directChildren[0];const nestedChildren=layoutElementChildren(wrapper);if(nestedChildren.length>1){return wrapper;}}return root;}export function getCmsCollectionLayoutRoots(host){const roots=getCollectionRoots(host);const candidates=roots.length>0?roots:[host];const layoutRoots=candidates.map(root=>getCollectionGridRoot(root));return[...new Set(layoutRoots)];}export function getCmsCollectionItemElements(host){return getCmsCollectionLayoutRoots(host).flatMap(gridRoot=>Array.from(gridRoot.children).filter(child=>child instanceof HTMLElement&&!isCmsLayoutChromeElement(child)&&!isTestimonialColumnWrapper(child)&&!isCmsCollectionPlaceholder(child)&&!isCmsCollectionPaginationControl(child)));}export function isCmsCollectionCardElement(element){return element.matches(CMS_COLLECTION_FIELD_LAYER_SELECTOR)||element.querySelector(CMS_COLLECTION_FIELD_LAYER_SELECTOR)!==null;}export function getCmsCollectionCardElements(items){const cards=items.filter(isCmsCollectionCardElement);return cards.length>0?cards:items;}export function countVisibleCmsCollectionCards(items){return getCmsCollectionCardElements(items).filter(item=>item.style.display!==\"none\").length;}function isCmsCollectionItemChild(child){return child instanceof HTMLElement&&!isCmsLayoutChromeElement(child)&&!isTestimonialColumnWrapper(child)&&!isCmsCollectionPlaceholder(child)&&!isCmsCollectionPaginationControl(child);}const CMS_COLLECTION_LIST_ITEM_ATTR=\"data-bunq-cms-listitem\";function isTestimonialClone(element){return element.hasAttribute(TESTIMONIAL_CLONE_ATTR);}export function syncCmsCollectionListItemRoles(listRoot){const isList=listRoot.getAttribute(\"role\")===\"list\";Array.from(listRoot.children).forEach(child=>{if(!(child instanceof HTMLElement))return;const isListItem=isList&&isCmsCollectionItemChild(child)&&!isTestimonialClone(child);if(isListItem){if(child.getAttribute(\"role\")!==\"listitem\"){child.setAttribute(\"role\",\"listitem\");child.setAttribute(CMS_COLLECTION_LIST_ITEM_ATTR,\"true\");}return;}if(child.hasAttribute(CMS_COLLECTION_LIST_ITEM_ATTR)){child.removeAttribute(\"role\");child.removeAttribute(CMS_COLLECTION_LIST_ITEM_ATTR);}});}function getCmsCollectionSearchRoots(host){const hostRoot=getCollectionGridRoot(host);const hostItems=Array.from(hostRoot.children).filter(isCmsCollectionItemChild);const layoutRoots=getCmsCollectionLayoutRoots(host);const layoutItems=layoutRoots.flatMap(root=>Array.from(root.children).filter(isCmsCollectionItemChild));if(hostItems.length>=layoutItems.length&&hostItems.length>0){return[hostRoot];}return layoutRoots.length>0?layoutRoots:[hostRoot];}function getCmsCollectionSearchItems(host){return getCmsCollectionSearchRoots(host).flatMap(root=>Array.from(root.children).filter(isCmsCollectionItemChild));}export function setCmsCollectionSearchActive(host,active){if(active){host.setAttribute(CMS_COLLECTION_SEARCHING_ATTR,\"true\");return;}host.removeAttribute(CMS_COLLECTION_SEARCHING_ATTR);}export function getCmsCollectionPaginationControls(host){const found=new Set;const addFrom=parent=>{if(!parent){return;}Array.from(parent.children).forEach(child=>{if(child instanceof HTMLElement&&isCmsCollectionPaginationControl(child)){found.add(child);}});};getCmsCollectionSearchRoots(host).forEach(gridRoot=>{addFrom(gridRoot);addFrom(gridRoot.parentElement);});addFrom(host);const named=host.querySelectorAll('[data-framer-name=\"Button Load More\"]');named.forEach(element=>found.add(element));const scope=host.closest(\"[data-bunq-collection-scope]\");if(scope instanceof HTMLElement){addFrom(scope);scope.querySelectorAll('[data-framer-name=\"Button Load More\"]').forEach(element=>{found.add(element);});}if(found.size>0){return[...found];}return Array.from(host.querySelectorAll('[data-framer-name*=\"Load More\" i], [data-framer-name*=\"Load more\" i], [data-framer-name*=\"Pagination\" i]')).filter(element=>isCmsCollectionPaginationControl(element));}function clickCmsCollectionLoadMore(host){const controls=getCmsCollectionPaginationControls(host);for(const control of controls){if(isCmsCollectionLoadMoreExhausted(control)){continue;}if(isCmsCollectionInfiniteScrollSpinner(control)){control.scrollIntoView({block:\"end\",inline:\"nearest\"});return true;}const clickable=control.matches(\"button, a, [role='button']\")?control:control.querySelector(\"button, a, [role='button']\");const target=clickable??control;if(isCmsCollectionLoadMoreExhausted(target)){continue;}target.click();return true;}return false;}function waitForCollectionItemIncrease(host,previousCount,timeoutMs,signal){return new Promise(resolve=>{let settled=false;let timeoutId=0;let observer=null;const finish=grew=>{if(settled){return;}settled=true;window.clearTimeout(timeoutId);observer?.disconnect();signal?.removeEventListener(\"abort\",onAbort);resolve(grew);};const onAbort=()=>finish(false);if(getCmsCollectionSearchItems(host).length>previousCount){finish(true);return;}if(signal?.aborted){finish(false);return;}timeoutId=window.setTimeout(()=>finish(false),timeoutMs);if(typeof MutationObserver!==\"undefined\"){observer=new MutationObserver(()=>{if(getCmsCollectionSearchItems(host).length>previousCount){finish(true);}});observer.observe(host,{childList:true,subtree:true});}signal?.addEventListener(\"abort\",onAbort);});}export async function expandCmsCollectionPagination(host,options={}){const maxClicks=options.maxClicks??50;const timeoutMs=options.timeoutMs??2e3;for(let click=0;click<maxClicks;click+=1){if(options.signal?.aborted){break;}const previousCount=getCmsCollectionSearchItems(host).length;if(!clickCmsCollectionLoadMore(host)){break;}const grew=await waitForCollectionItemIncrease(host,previousCount,timeoutMs,options.signal);if(!grew){break;}}return getCmsCollectionSearchItems(host).length;}function applyTestimonialBackgroundVariant(element,visualIndex){const variant=getTestimonialCarouselBackgroundVariant(visualIndex);element.setAttribute(TESTIMONIAL_CMS_BG_VARIANT_ATTR,variant);element.querySelectorAll(\"article\").forEach(article=>{article.setAttribute(TESTIMONIAL_CMS_BG_VARIANT_ATTR,variant);});}export function remapElementIdTree(root,oldId,newId){if(!oldId||!newId||oldId===newId)return;const rewrite=element=>{if(!element.id)return;if(element.id===oldId){element.id=newId;return;}if(element.id.startsWith(`${oldId}-`)){element.id=`${newId}${element.id.slice(oldId.length)}`;}};rewrite(root);root.querySelectorAll(\"[id]\").forEach(rewrite);}export function dedupeTestimonialArticleIds(host){const articles=[...host.querySelectorAll(\"article[id]\")];const seen=new Set;articles.forEach((article,index)=>{const current=article.id;const isFramerInternalId=/^[A-Za-z][A-Za-z0-9]{7,11}$/.test(current)&&!current.includes(\"-\");if(!current||seen.has(current)||isFramerInternalId){const nextId=`cms-testimonial-card-${index+1}`;if(!current){article.id=nextId;}else{remapElementIdTree(article,current,nextId);}seen.add(nextId);return;}seen.add(current);});}function removeTestimonialClones(root){root.querySelectorAll(`[${TESTIMONIAL_CLONE_ATTR}]`).forEach(clone=>clone.remove());}function getOriginalColumnItems(column){return Array.from(column.children).filter(child=>child instanceof HTMLElement&&!child.hasAttribute(TESTIMONIAL_CLONE_ATTR));}function fillTestimonialColumn(column,minimumItems,visualIndexOffset,itemStyles){const originals=getOriginalColumnItems(column);originals.forEach((item,index)=>applyTestimonialBackgroundVariant(item,visualIndexOffset+index));if(minimumItems<=originals.length||originals.length===0)return;for(let index=originals.length;index<minimumItems;index+=1){const clone=originals[index%originals.length].cloneNode(true);clone.setAttribute(TESTIMONIAL_CLONE_ATTR,\"true\");clone.setAttribute(\"aria-hidden\",\"true\");setElementInert(clone,true);applyInlineStyles(clone,itemStyles);applyTestimonialBackgroundVariant(clone,visualIndexOffset+index);column.appendChild(clone);}}function isGridLayout(styles){return styles.display===\"grid\"||styles.display===\"inline-grid\";}function hasCmsCollectionPaginationChild(gridRoot){return Array.from(gridRoot.children).some(child=>child instanceof HTMLElement&&!isCmsLayoutChromeElement(child)&&!isTestimonialColumnWrapper(child)&&isCmsCollectionPaginationControl(child));}export function applyCmsCollectionLayoutToHost(host,collectionRootStyles,collectionItemStyles={},sectionBreakpoint,scrollRootRef){if(sectionBreakpoint&&host.getAttribute(SECTION_BREAKPOINT_ATTR)!==sectionBreakpoint){host.setAttribute(SECTION_BREAKPOINT_ATTR,sectionBreakpoint);}let firstScrollRoot=null;getCollectionRoots(host).forEach(root=>{const gridRoot=getCollectionGridRoot(root);applyInlineStyles(root,{width:\"100%\",maxWidth:\"100%\",minWidth:\"100%\",boxSizing:\"border-box\"},true);if(gridRoot!==root){applyInlineStyles(root,{display:\"block\"},true);Array.from(root.children).forEach(child=>{if(!(child instanceof HTMLElement)||child===gridRoot||isCmsLayoutChromeElement(child))return;if(isCmsCollectionPaginationControl(child)){applyCmsCollectionPaginationStyles(child);}});}applyInlineStyles(gridRoot,collectionRootStyles,true);if(isGridLayout(collectionRootStyles)&&hasCmsCollectionPaginationChild(gridRoot)){applyInlineStyles(gridRoot,{gridAutoRows:\"auto\"},true);}Array.from(gridRoot.children).forEach(item=>{if(!(item instanceof HTMLElement)||isTestimonialColumnWrapper(item)||isCmsLayoutChromeElement(item)){return;}if(isCmsCollectionPaginationControl(item)){applyCmsCollectionPaginationStyles(item);return;}applyInlineStyles(item,collectionItemStyles);});syncCmsCollectionListItemRoles(gridRoot);if(!firstScrollRoot){firstScrollRoot=gridRoot;}});if(scrollRootRef){scrollRootRef.current=firstScrollRoot;}if(!isFramerEditorEnvironment()){hideNonDisplayableTestimonialItems(host);}}export function useCmsCollectionLayout(hostRef,enabled,collectionRootStyles,collectionItemStyles={},sectionBreakpoint,scrollRootRef){const canvasObserverRef=useRef(null);const applyStyles=useCallback(()=>{const host=hostRef.current;if(!host)return;applyCmsCollectionLayoutToHost(host,collectionRootStyles,collectionItemStyles,sectionBreakpoint,scrollRootRef);},[hostRef,collectionRootStyles,collectionItemStyles,sectionBreakpoint,scrollRootRef]);if(enabled&&typeof window!==\"undefined\"){queueMicrotask(()=>{applyStyles();const host=hostRef.current;if(!host||canvasObserverRef.current||typeof MutationObserver===\"undefined\")return;const observer=new MutationObserver(applyStyles);observer.observe(host,{childList:true,subtree:true});canvasObserverRef.current=observer;});}useLayoutEffect(()=>{if(!enabled){canvasObserverRef.current?.disconnect();canvasObserverRef.current=null;if(scrollRootRef){scrollRootRef.current=null;}return undefined;}const host=hostRef.current;if(!host)return undefined;applyStyles();if(typeof MutationObserver===\"undefined\"){return()=>{if(scrollRootRef){scrollRootRef.current=null;}if(sectionBreakpoint){host.removeAttribute(SECTION_BREAKPOINT_ATTR);}};}const observer=new MutationObserver(applyStyles);observer.observe(host,{childList:true,subtree:true});return()=>{observer.disconnect();canvasObserverRef.current?.disconnect();canvasObserverRef.current=null;if(scrollRootRef){scrollRootRef.current=null;}if(sectionBreakpoint){host.removeAttribute(SECTION_BREAKPOINT_ATTR);}};},[hostRef,enabled,applyStyles,sectionBreakpoint,scrollRootRef]);}export function useCmsTestimonialCarouselColumns(hostRef,enabled,isPhone,trackStyles,columnStyles,itemStyles,phoneListStyles,minimumItemsPerColumn,applyParallax,leftParallaxY,rightParallaxY){useEffect(()=>{if(!enabled)return undefined;const host=hostRef.current;if(!host)return undefined;let isApplyingLayout=false;const ensureColumn=(root,side)=>{const existing=root.querySelector(`[${TESTIMONIAL_COLUMN_ATTR}=\"${side}\"]`);if(existing){applyInlineStyles(existing,columnStyles);return existing;}const columnEl=document.createElement(\"div\");columnEl.setAttribute(TESTIMONIAL_COLUMN_ATTR,side);applyInlineStyles(columnEl,columnStyles);root.appendChild(columnEl);return columnEl;};const flattenColumns=root=>{root.querySelectorAll(`[${TESTIMONIAL_COLUMN_ATTR}]`).forEach(column=>{while(column.firstChild){root.appendChild(column.firstChild);}column.remove();});};const applyLayout=()=>{if(isApplyingLayout)return;isApplyingLayout=true;try{Array.from(host.children).forEach(collectionRoot=>{const root=collectionRoot;removeTestimonialClones(root);const looseItems=getLooseCollectionItems(root);if(isPhone){flattenColumns(root);applyInlineStyles(root,phoneListStyles);looseItems.forEach((item,index)=>{applyTestimonialBackgroundVariant(item,index);applyInlineStyles(item,itemStyles);});return;}applyInlineStyles(root,trackStyles);const leftColumn=ensureColumn(root,\"left\");const rightColumn=ensureColumn(root,\"right\");looseItems.forEach((item,index)=>{applyInlineStyles(item,itemStyles);const target=index%2===0?leftColumn:rightColumn;if(item.parentElement!==target){target.appendChild(item);}});const leftItems=getOriginalColumnItems(leftColumn);const filledLeftCount=Math.max(minimumItemsPerColumn,leftItems.length);fillTestimonialColumn(leftColumn,minimumItemsPerColumn,0,itemStyles);fillTestimonialColumn(rightColumn,minimumItemsPerColumn,filledLeftCount,itemStyles);Array.from(root.children).forEach(child=>{if(isTestimonialColumnWrapper(child))return;if(child instanceof HTMLElement&&child.childElementCount===0){child.remove();}});});}finally{setTimeout(()=>{isApplyingLayout=false;},0);}dedupeTestimonialArticleIds(host);};let cancelled=false;let rafA=0;let rafB=0;rafA=requestAnimationFrame(()=>{rafB=requestAnimationFrame(()=>{if(!cancelled)applyLayout();});});let observer;if(typeof MutationObserver!==\"undefined\"){observer=new MutationObserver(()=>{if(!isApplyingLayout)applyLayout();});observer.observe(host,{childList:true,subtree:true});}return()=>{cancelled=true;cancelAnimationFrame(rafA);cancelAnimationFrame(rafB);observer?.disconnect();};},[hostRef,enabled,isPhone,trackStyles,columnStyles,itemStyles,phoneListStyles,minimumItemsPerColumn]);useLayoutEffect(()=>{if(!enabled||isPhone||!applyParallax||!leftParallaxY||!rightParallaxY)return undefined;const host=hostRef.current;if(!host)return undefined;const applyTransforms=()=>{host.querySelectorAll(`[${TESTIMONIAL_COLUMN_ATTR}=\"left\"]`).forEach(column=>{column.style.transform=`translateY(${leftParallaxY.get()})`;});host.querySelectorAll(`[${TESTIMONIAL_COLUMN_ATTR}=\"right\"]`).forEach(column=>{column.style.transform=`translateY(${rightParallaxY.get()})`;});};applyTransforms();const unsubscribeLeft=leftParallaxY.on(\"change\",applyTransforms);const unsubscribeRight=rightParallaxY.on(\"change\",applyTransforms);return()=>{unsubscribeLeft();unsubscribeRight();};},[hostRef,enabled,isPhone,applyParallax,leftParallaxY,rightParallaxY]);}// recompile: 1792505897503\n\nexport const __FramerMetadata__ = {\"exports\":{\"isCmsLayoutChromeElement\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"getCmsCollectionPaginationControls\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"getCmsCollectionItemElements\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"expandCmsCollectionPagination\":{\"type\":\"function\",\"isAsync\":true,\"annotations\":{\"framerContractVersion\":\"1\"}},\"isCmsCollectionLoadMoreControl\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"getCmsCollectionLayoutId\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"remapElementIdTree\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"SECTION_GRID_CARDS_CMS_GRID_ID\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"CMS_COLLECTION_LAYOUT_ATTR\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"useCmsTestimonialCarouselColumns\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"buildCmsCollectionRowsCriticalCss\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"countVisibleCmsCollectionCards\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"CMS_COLLECTION_SEARCHING_ATTR\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"buildCmsCollectionGridCriticalCss\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"CMS_COLLECTION_CAP_READY_ATTR\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"CmsCollectionLayoutCriticalCssOptions\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"buildCmsCollectionFlexWrapCriticalCss\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"CMS_COLLECTION_GRID_ATTR\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"CmsCollectionLayoutSelectors\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"dedupeTestimonialArticleIds\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"isCmsCollectionPlaceholder\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"getCollectionRoots\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"isCmsCollectionLoadMoreBusy\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"syncCmsCollectionListItemRoles\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"isCmsCollectionPaginationControl\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"buildCmsCollectionLayoutCriticalCss\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"setCmsCollectionSearchActive\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"CMS_COLLECTION_PAGINATION_STYLES\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"CMS_COLLECTION_PLACEHOLDER_ATTR\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"getCmsCollectionCardElements\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"applyCmsCollectionLayoutToHost\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"isCmsCollectionCardElement\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"getCmsCollectionLayoutSelectors\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"buildCmsCollectionItemCapCriticalCss\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"SECTION_SEARCH_RESULTS_CMS_ROWS_ID\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"getCmsCollectionLayoutRoots\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"useCmsCollectionLayout\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"isCmsCollectionLoadMoreExhausted\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"CMS_COLLECTION_ROWS_ATTR\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"cssDeclarationsFromStyles\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"getCollectionGridRoot\":{\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