{"version":3,"file":"SectionHeaderSearch.Bk4JMMM2.mjs","names":["queryTokens","_jsx","LEGACY_DEFAULT_ARIA_LABEL","forwardRef","useMemo","_jsxs","_Fragment","useRef","_jsx","forwardRef","useId","useMemo","_jsxs","_Fragment","useContext","useState","useLayoutEffect","createContext","useRef","useCallback","useLayoutEffect","React.isValidElement","React.Fragment","React.cloneElement","custom","useRef","_jsx","forwardRef","useMemo","useReducedMotion","useState","useLayoutEffect","useId","useCallback","useEffect","startTransition","_jsxs","createPortal","_Fragment","useEffect","useRef","_jsx","forwardRef","useReducedMotion","useId","useMemo","_jsxs","__esmMin","ne","init_ssg_sandbox_shims","init_npm_react_18_3_1","te","window","x","oe","pe","le","z","ie","_e","init_npm_react_dom_18_3_1","de","l","Ha","c","J","init_jsx_runtime","B","ce","init_framer_DzFZHHXo","addPropertyControls","RenderTarget","useIsStaticRenderer","ControlType","motion","init_framer_motion_1EwlFBEG","createSectionVariants","getSectionRestProps","getColorValue","ICON_OPTIONS_WITH_NONE_AND_CUSTOM","getTricountChipColors","init_colorEffects","FRAMER_ICON_SVG_CUSTOM_DESCRIPTION","resolveCollectionElementId","getBrandFocusColor","useAccessibilityStrings","getSectionStyles","LIQUID_GLASS_FILL_ALPHA","CardSurfaceOverlay","resolveTricountThemeVariant","brandPropertyControl","init_badgeAccentConstants","init_domProps","contrastRatio","FRAMER_THEME_DESCRIPTION_SURFACE","applyCardSurfaceStyle","init_brandControl","init_usePageLanguage","getInputElementStyle","parseRgba","pickSafeDivProps","formatRgba","usePageLanguage","ModalSurfaceContent","isLightThemeSurface","toAccentGradient","ModalSurfaceOverlay","resolveBrand","withAlpha","getSectionWrapperStyles","getLiquidGlassFinish","init_modalSurface","resolveThemeProp","createModalVariants","init_uiStrings","init_cardSurface","themePropertyControls","init_resolveElementId","useInteractiveStates","init_useAccessibilityStrings","useReducedMotion$1","getSectionPaddingY","BADGE_ACCENT_COLORS","kernHeadingPlainText","FRAMER_THEME_DESCRIPTION_SURFACE_WITH_CHILDREN","getTypographyStyles","BADGE_ACCENT_COLOR_TITLES","init_propertyControlCopy","HINT_BADGE","init_inputStyles","init_placeholders","getInputPlaceholderColor","createUiStringReader","ICON_ACCENT_COLORS","FeaturedIcon","getTransition","getAccessibilityStrings","breakpointPropertyControl","getModalContainerStyle","getZIndex","isDevelopment","getCopyToCtaMarginTop","ButtonCloseWithRef","init_svg","init_modalConstants","getResponsiveSpacing","ICON_OPTION_TITLES_WITH_NONE_AND_CUSTOM","init_sectionProps","getNewTabAriaLabel","init_useInViewport","getStagger","useSmartLinkProps","getSpacing","getCardRadius","Tokens","init_icons","init_controlTextStyles","getModalBackdropColor","MODAL_SURFACE_VARIANT_PROPERTY_CONTROL","useEffectiveBreakpoint","init_themeHelpers","init_themeControl","liquidGlassLegacyHighlightToVariant","getThemeColors","init_layoutStyles","getRadius","processSVG","init_useModal","getShadow","isFramerEditorEnvironment","getControlSizeValue","ModalOverlayAnimatePresence","useReducedMotion","getFocusOutlineWidth","useIconLoaded","init_breakpointControl","getModalThemeColors","init_linkHelpers","VISUALLY_HIDDEN_STYLE","getInputContainerStyle","init_colorParsing","init_kzrQVyBVYml9GnkpIguG","getIconRaw","PRESERVE_CONTROL_NEWLINES","init_ModalOverlayAnimatePresence","iconPixelSizeForSquareSide","getResponsiveModalWidths","getIcon","init_motionVariants","useModal","init_FeaturedIcon","init_accessibilityLocalization","getContainerStyles","getCardThemeColors","init_colors","init_useInteractiveStates","getGap","init_ButtonClose","getWidthValue","init_env","getCopyStackGap","FRAMER_BREAKPOINT_DESCRIPTION","normalizeElementId","SECTION_GRADIENT_PRESET_DEFAULT","getSectionBackgroundFromProps","sectionBackgroundPropertyControls","init_sectionBackground","getSectionRootBackgroundStyle","init_useSectionAnimation","init_sectionGradientPresets","getSectionContentStackStyle","useSectionAnimation","getAccentTextOnBackgroundContrastRatio","accent","isAccentTextOnBackgroundAA","ratio","isAccentTextOnBackgroundLargeAA","accentColorOptionTitle","title","blend","foreground","alpha","background","getDarkGlassAccentBadgeFill","accentFill","lightestDarkSurface","withFill","ACCENT_GLASS_FILL_ALPHA","ACCENT_GLASS_TINT_ALPHA","getReadableAccentTextOnDarkGlass","cached","darkGlassAccentTextCache","fill","readable","color","BADGE_ACCENT_COLORS_WCAG_AA","DEFAULT_TAG_ACCENT_COLOR","init_accentContrast","COLLECTION_ID","init_collectionId","getItemSlug","item","parts","articlesAt","parseHelpSearchIndex","raw","candidate","slug","tokens","token","posting","index","isAllowedHelpSearchIndexUrl","urlString","pageOrigin","url","ALLOWED_INDEX_HOSTS","ALLOWED_INDEX_HOST_SUFFIXES","suffix","queryTokens$1","query","slugsMatchingQuery","matched","intersection","next","indexValue","hostnameFromOrigin","shouldFallbackToBunqHelpIndexCdn","hostname","BUNQ_HELP_CDN_FALLBACK_HOSTS","resolveIndexUrls","explicitUrl","urls","HELP_SEARCH_INDEX_PATH","HELP_SEARCH_INDEX_CDN_URL","fetchIndex","signal","response","loadHelpSearchIndex","cachedIndex","inflightLoad","parsed","error","init_helpSearchIndex","getFilterableItems","container","collectionEl","renderedChildren","current","depth","children","hasTextContent","element","child","NON_ITEM_TAGS","htmlToSearchText","value","getItemSearchText","description","bodyNodes","node","queryTokens","escapeRegExp","fieldHasToken","field","fieldHasExactToken","fieldMatchesAllTokens","searchableFields","body","fallback","itemMatchesQuery","lowerQuery","options","fields","rankMatch","extraSlugs","applySearchFilter","items","filterId","maxResults","attr","trimmedQuery","matches","ranked","left","right","rankDelta","withinCap","parent","rankedSet","clearSearchFilter","init_collectionSearchFilter","Badge","props","BadgeInternal","DEFAULT_CIRCLE_ICON_SVG","LEGACY_DEFAULT_ARIA_LABEL$1","init_Badge","ref","theme","breakpointProp","brand","semanticMode","variant","accentColor","size","label","link","ariaLabelProp","showIcon","icon","iconSvg","style","rest","safeDomProps","breakpoint","resolvedBrand","pageLanguage","smartLink","safeLinkHref","linkInteractiveStyles","linkHandlers","isAccentMode","isDarkSurface","dotColor","iconSize","showIconResolved","effectiveIconSvg","processedIconSvg","getBadgeBackground","getBadgeTextColor","getPaddingX","typography","solidBackground","textColor","paddingX","gap","tintedBackground","useGradientFill","finalBackground","resolvedGlassTone","badgeHeight","badgeRadius","tricountSolidFill","liquidGlassFinish","neutralVariant","badgeStyle","iconContainerStyle","iconSvgStyle","iconDotStyle","rawAriaOverride","trimmedAriaOverride","trimmedLabelText","spokenOverride","opensInNewTab","linkAccessibleName","linkAriaLabel","hiddenSpokenOverride","inner","linkTouchTargetStyle","key","CARD_ACCESSIBILITY_UI_STRING_TRANSLATIONS","init_cardAccessibility","getCardAccessibilityStrings","language","CARD_ACCESSIBILITY_UI_STRINGS","count","date","category","init_cardAccessibilityStrings","stripFramerShrinkToFitWidth","width","SHRINK_TO_FIT_WIDTHS","_width","CardSearchResult","CardSearchResultInternal","init_CardSearchResult","searchBody","_showIcon","iconProp","iconName","iconColorProp","showCategory","categoryStyle","_showDescription","showChevron","openInNewTab","ariaLabel","surface","idProp","legacyCardId","strings","cardStrings","searchResultReactId","titleId","descriptionId","newTabId","linkUrl","rootId","isInteractive","iconColorRaw","iconColor","reducedMotion","isHovered","isFocused","isPressed","handlers","isTricount","isPlain","colors","sectionColors","dividerColor","tri","isInverted","usesDarkCardSurface","hoverFilter","resolvedIcon","hasIcon","chevronSVG","isPhone","cardPaddingV","cardPaddingH","cardBorderRadius","plainHoverBg","cardStyle","base","contentColumnStyle","titleStyle","descriptionStyle","categoryCaptionStyle","showCategoryBadge","showCategoryCaption","searchBodyText","authoredAriaLabel","hasTitle","linkLabelledBy","linkDescribedBy","cardBody","interactionHandlers","parseBreakpoint","readInheritedSectionBreakpoint","host","SECTION_BREAKPOINT_ATTR","useInheritedSectionBreakpoint","contextBreakpoint","SectionBreakpointContext","domBreakpoint","setInheritedBreakpoint","inheritedBreakpoint","observer","cancelled","syncBreakpoint","tryAttach","init_useInheritedSectionBreakpoint","uppercaseLetterRatio","text","letters","isDisplayableReviewQuote","quote","normalized","pattern","BLOCKED_QUOTE_PATTERNS","upper","snippet","BLOCKED_QUOTE_SNIPPETS","hideNonDisplayableTestimonialItems","article","collectionItem","target","init_reviewModeration","isCmsCollectionPlaceholder","CMS_COLLECTION_PLACEHOLDER_ATTR","buildCmsCollectionGridCriticalCss","gridId","columns","CMS_COLLECTION_GRID_ATTR","gridRules","slot","pagination","spinner","cmsChromeHideCss","CMS_PAGINATION_CHILD_HAS","formatCssValue","property","UNITLESS_CSS_PROPERTIES","cssDeclarationsFromStyles","styles","important","formatted","cssPropertyName","declaration","getCmsCollectionLayoutId","reactId","getCmsCollectionLayoutSelectors","layoutId","CMS_COLLECTION_LAYOUT_ATTR","layoutChild","gridRootSelectors","itemFilter","root","buildCmsCollectionLayoutCriticalCss","collectionRootStyles","collectionItemStyles","selectors","rootDeclarations","itemDeclarations","gridRootsWithPagination","slotRules","CMS_SLOT_SIZE_RULES","CMS_SLOT_POSITION_RESET_RULES","isGridLayout","buildCmsCollectionFlexWrapCriticalCss","hostSelector","maxWidth","wrapRules","wrapTargets","buildCmsCollectionRowsCriticalCss","rowsId","CMS_COLLECTION_ROWS_ATTR","stretch","isTestimonialColumnWrapper","TESTIMONIAL_COLUMN_ATTR","isCmsLayoutChromeElement","CMS_LAYOUT_CHROME_TAGS","layoutElementChildren","isCmsCollectionPaginationControl","framerName","layerName","CMS_COLLECTION_FIELD_LAYER_SELECTOR","controls","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","CMS_COLLECTION_PAGINATION_HIDDEN_ATTR","applyInlineStyles","letter","getCollectionRoots","nested","getCollectionGridRoot","directChildren","wrapper","getCmsCollectionLayoutRoots","roots","layoutRoots","getCmsCollectionItemElements","gridRoot","isCmsCollectionItemChild","isTestimonialClone","TESTIMONIAL_CLONE_ATTR","syncCmsCollectionListItemRoles","listRoot","isList","CMS_COLLECTION_LIST_ITEM_ATTR","hasCmsCollectionPaginationChild","applyCmsCollectionLayoutToHost","sectionBreakpoint","scrollRootRef","firstScrollRoot","useCmsCollectionLayout","hostRef","enabled","canvasObserverRef","applyStyles","SECTION_GRID_CARDS_CMS_GRID_ID","SECTION_SEARCH_RESULTS_CMS_ROWS_ID","init_cmsCollectionLayout","injectBreakpointIntoCmsSlot","sectionContext","K","nextChildren","isCustomComponent","hasResponsiveBreakpoint","nextProps","init_injectBreakpointIntoCmsSlot","normalizeSearchPathname","path","trimmed","stripLocalePrefixFromSearchPath","match","LOCALE_PATH_PREFIX","searchPathnamesMatch","currentPath","searchResultsPath","readSearchQueryParam","param","readSeededSearchQuery","isOnSearchResultsPath","stripSearchQueryParamOffResultsPage","replaceSearchQueryParam","dispatchSearchQueryChange","detail","SEARCH_QUERY_CHANGE_EVENT","subscribeSearchQueryChange","handler","listener","event","init_searchQuerySync","MODAL_SEARCH_UI_STRING_TRANSLATIONS","init_modalSearch","getModalSearchStrings","MODAL_SEARCH_UI_STRINGS","shown","total","init_modalSearchStrings","supportsTopLayerPopover","ModalSearch","ModalSearchInternal","RESULTS_REFRESH_INTERVAL_MS","LEGACY_DEFAULT_ARIA_LABEL","DEFAULT_MAX_RESULTS","init_ModalSearch","_ref","id","presentation","glassVariant","surfaceTriggerTintOverlay","triggerSize","triggerPlaceholder","searchPlaceholder","noResultsText","emptyStateText","minQueryText","collectionList","controlledIsOpen","showModal","hidden","onClose","closeOnBackdropClick","closeOnEscape","debounceDelay","showAllResultsLabel","searchQueryParam","initialQuery","searchIndexUrl","searchStrings","authorAriaLabel","resolvedAriaLabel","isInline","effectiveSurface","isStatic","modalMotion","isCanvas","hasMounted","setHasMounted","safeModalId","searchInputId","searchFieldId","resultsScrollerId","styleScope","inputSelector","fieldSelector","scrollerSelector","resultsScrollerRef","resultsContainerRef","resultsPanelRef","searchInputRef","containerRef","hasCollectionList","seededQueryFromProp","searchQuery","setSearchQuery","debouncedQuery","setDebouncedQuery","resultCounts","setResultCounts","appliedFilterQuery","setAppliedFilterQuery","scrollEdges","setScrollEdges","inlinePanelDismissed","setInlinePanelDismissed","inlinePanelBox","setInlinePanelBox","didSeedFromUrlRef","isLocalQueryDriverRef","searchQueryRef","debouncedQueryRef","collectionMounted","setCollectionMounted","mountCollection","bodyIndex","setBodyIndex","triggerHandlers","isOpen","handleOpen","handleClose","modalRef","closeButtonRef","backdropProps","timer","fromUrl","applyExternalSearchQuery","nextQuery","syncFromLocation","unsubscribe","currentDebounced","filterItems","counts","intervalId","scheduled","resultsRoot","raf","handleSearchChange","handleClearSearch","dismissInlinePanel","handleInlineFocusOut","handleInlinePanelKeyDown","themeColors","responsiveCollectionList","isLargeTrigger","isLiquidGlassTrigger","searchIconSVG","clearIconSVG","triggerContainerStyle","triggerRadius","triggerRadiusPx","triggerStyle","triggerTextStyle","modalContentStyles","minWidth","modalSearchContainerStyle","modalSearchInputStyle","placeholderCSS","hideNativeSearchCancelCSS","modalSearchFocusCSS","hideResultsScrollbarCSS","resultsGap","applyWrapperStyles","updateScrollEdges","scroller","scrollTop","scrollHeight","clientHeight","maxScroll","activeQuery","isSearching","isQueryTooShort","matchCount","shownCount","hasMatches","showResultsList","showInlinePanel","isFixedInlinePanel","isTopLayerPanel","isPortaledPanel","topLayerOpenPanelRef","panel","isOpenInTopLayer","onPointerDown","inlinePanelBoxRef","applyInlinePanelBox","syncReact","prev","updateInlinePanelBox","rect","navHeight","onResize","onScroll","visualViewport","buildSearchResultsHref","params","navigateToSearchResults","href","handleInlineKeyDown","filterSettledForActiveQuery","statusMessage","resultsSummaryText","resultsSummary","inlineAnnouncement","fadeSize","resultsMask","portalTarget","hasStatusCopy","resultsStatusStyle","resultsScrollerStyle","collectionResultsNode","canvasEmptySlot","fieldPlaceholder","inlineInputStyle","trailingIconPad","panelGap","panelRadius","inlinePanelStyle","showAllHref","showAllDivider","showAllStyle","inlineResultsPanel","\"role\"","useCollectionPageSchema","opts","data","\"name\"","\"description\"","\"itemListElement\"","\"position\"","\"item\"","el","SectionHeaderSearch","SectionHeaderSearchInternal","init_SectionHeaderSearch","heading","sectionId","showBottomPadding","backgroundVariant","backgroundPreset","backgroundEnabled","backgroundGradientBrand","backgroundPresetTricount","backgroundOverlayDirection","backgroundShowOverlay","useMontserrat","searchTriggerPlaceholder","searchInputPlaceholder","searchNoResultsText","searchEmptyStateText","searchMinQueryText","searchMaxResults","searchShowAllLabel","searchAriaLabel","collectionSchemaEnabled","collectionSchema","collectionSchemaName","schemaName","collectionSchemaDescription","schemaDescription","collectionSchemaSlug","schemaSlug","collectionSchemaPathPrefix","schemaPathPrefix","sectionBgColor","isGradient","backgroundLayer","componentId","headingId","sectionRef","animate","focusRingInset","sectionStyles","containerStyles","copyStackGap","copyToCtaMarginTop","contentStyles","innerHeaderStyles","headingStyles","descriptionStyles","searchWrapperStyles","containerVariants","itemVariants","p"],"sources":["https:/framerusercontent.com/modules/1XTicB6ZB0oMHOK199vO/6stFObwnGGHDscYC3a5Q/accentContrast.js","https:/framerusercontent.com/modules/ELyWSXK8tBY7KFqORue0/WtHyWr5a1vDiCCILz0OQ/collectionId.js","https:/framerusercontent.com/modules/BNc22V5OleFxwlAtFbLs/LVgA5ixkee3rIKkpgBV8/helpSearchIndex.js","https:/framerusercontent.com/modules/RwYqM9peexHuGWb1RjgA/SWS0DFNyymmRqtv96AaW/collectionSearchFilter.js","https:/framerusercontent.com/modules/9q0SZwaSV5g6UJVFdQLo/LcwUKLAqnL2B6fBC2jXn/Badge.js","https:/framerusercontent.com/modules/s7X81BFyfCgls0RUH8bj/9ptzc5WhD7QkYLaWdkUf/cardAccessibility.js","https:/framerusercontent.com/modules/y2lAV3Wpxi0n3uWRXYEu/H1fKiLx1ycds7QMY9g95/cardAccessibilityStrings.js","https:/framerusercontent.com/modules/qzvHcKzbXR3bZBxBKyxz/yQn9EB3etpcgTYzw2haF/CardSearchResult.js","https:/framerusercontent.com/modules/3WESqm56YJyrnHigs8iQ/lYIZVzaiHrQw1gDJr0PT/useInheritedSectionBreakpoint.js","https:/framerusercontent.com/modules/yViEmUCqysmi1x1XmBkR/Lx2u69EfXos1bzuyefxA/reviewModeration.js","https:/framerusercontent.com/modules/b2ilh64oGM37Rt6YVZrt/Knyqk7osDlP3Om0EAqrv/cmsCollectionLayout.js","https:/framerusercontent.com/modules/qSAi9VileQLI8aez6prv/Ad2aY254SZWgAy6AB6Nk/injectBreakpointIntoCmsSlot.js","https:/framerusercontent.com/modules/qA3udEKSZSTxpWEKsM49/w5TPD66y9e6fMBlQwG8E/searchQuerySync.js","https:/framerusercontent.com/modules/ykkR4NKjThcZeBK5ngsO/eq0V3botktSmGsRHp4T1/modalSearch.js","https:/framerusercontent.com/modules/GUmK3XezNjwXTSyjhGwn/Yy0cyJzfSC7LvjAkOa99/modalSearchStrings.js","https:/framerusercontent.com/modules/je6vWcfdbReeqag8iNpl/gmwY7q0t0vzcGF7qFlch/ModalSearch.js","https:/framerusercontent.com/modules/Sh1qW1MnBwDY6Hpok42w/Mmx73PYcyXjyVKLfayR7/SectionHeaderSearch.js"],"sourcesContent":["import{contrastRatio,formatRgba,parseRgba}from\"https://framerusercontent.com/modules/A8521j2MLHn01xoKoATB/dDJ8iJ179cXIMlAMrLEL/colorParsing.js\";import{BADGE_ACCENT_COLORS,BADGE_ACCENT_COLOR_TITLES}from\"https://framerusercontent.com/modules/ERwHkp0S7TS5OOtXo7Ib/PNUp0mSPjCPHdxsKAZ39/badgeAccentConstants.js\";import{getColorValue}from\"https://framerusercontent.com/modules/FDyEZnwYBuMJmxNPNbkh/o8HvPx0AEeB6fHDPq2cJ/colors.js\";export const WCAG_AA_NORMAL_TEXT_MIN_RATIO=4.5;export const WCAG_AA_LARGE_TEXT_MIN_RATIO=3;export function getAccentTextOnBackgroundContrastRatio(accent){return contrastRatio(getColorValue(`/Text/text-${accent}`),getColorValue(`/Backgrounds/bg-${accent}`));}export function isAccentTextOnBackgroundAA(accent){const ratio=getAccentTextOnBackgroundContrastRatio(accent);return ratio!=null&&ratio>=WCAG_AA_NORMAL_TEXT_MIN_RATIO;}export function isAccentTextOnBackgroundLargeAA(accent){const ratio=getAccentTextOnBackgroundContrastRatio(accent);return ratio!=null&&ratio>=WCAG_AA_LARGE_TEXT_MIN_RATIO;}export const BADGE_ACCENT_COLORS_WCAG_AA=BADGE_ACCENT_COLORS.filter(isAccentTextOnBackgroundLargeAA);export const DEFAULT_TAG_ACCENT_COLOR=\"yellow\";export function accentColorOptionTitle(accent){const title=BADGE_ACCENT_COLOR_TITLES[accent];return isAccentTextOnBackgroundAA(accent)?title:`${title} (fails AA)`;}export const ACCENT_GLASS_TINT_ALPHA=.13;export const ACCENT_GLASS_FILL_ALPHA=.46;function blend(foreground,alpha,background){return{r:foreground.r*alpha+background.r*(1-alpha),g:foreground.g*alpha+background.g*(1-alpha),b:foreground.b*alpha+background.b*(1-alpha),a:1};}export function getDarkGlassAccentBadgeFill(accent){const accentFill=parseRgba(getColorValue(`/Backgrounds/bg-${accent}`));const lightestDarkSurface=parseRgba(getColorValue(\"/Backgrounds/bg-tertiary\"));if(!accentFill||!lightestDarkSurface)return null;const withFill=blend(accentFill,ACCENT_GLASS_FILL_ALPHA,lightestDarkSurface);return formatRgba(blend(accentFill,ACCENT_GLASS_TINT_ALPHA,withFill));}const darkGlassAccentTextCache=new Map;export function getReadableAccentTextOnDarkGlass(accent){const cached=darkGlassAccentTextCache.get(accent);if(cached)return cached;const fill=getDarkGlassAccentBadgeFill(accent);const candidates=[getColorValue(`/Text/text-${accent}`),getColorValue(`/Utility colors/utility-${accent}-300`),getColorValue(`/Utility colors/utility-${accent}-200`),getColorValue(`/Utility colors/utility-${accent}-100`)];const meetsTextContrast=color=>fill!==null&&(contrastRatio(color,fill)??0)>=WCAG_AA_NORMAL_TEXT_MIN_RATIO;const firstReadableCandidate=candidates.find(meetsTextContrast);const readable=firstReadableCandidate??getColorValue(\"/Text/text-primary\");darkGlassAccentTextCache.set(accent,readable);return readable;}\nexport const __FramerMetadata__ = {\"exports\":{\"isAccentTextOnBackgroundAA\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"accentColorOptionTitle\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"ACCENT_GLASS_TINT_ALPHA\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"DEFAULT_TAG_ACCENT_COLOR\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"WCAG_AA_LARGE_TEXT_MIN_RATIO\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"getReadableAccentTextOnDarkGlass\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"isAccentTextOnBackgroundLargeAA\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"ACCENT_GLASS_FILL_ALPHA\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"getAccentTextOnBackgroundContrastRatio\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"BADGE_ACCENT_COLORS_WCAG_AA\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"getDarkGlassAccentBadgeFill\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"WCAG_AA_NORMAL_TEXT_MIN_RATIO\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","export const COLLECTION_ID=\"3.14px solid transparent\";\nexport const __FramerMetadata__ = {\"exports\":{\"COLLECTION_ID\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./collectionId.map","export const HELP_SEARCH_INDEX_PATH=\"/help-search-index.json\";export const HELP_SEARCH_INDEX_CDN_URL=\"https://static.bunq.com/website/data/help-search-index.json\";export const HELP_SEARCH_INDEX_VERSION=1;const ALLOWED_INDEX_HOSTS=new Set([\"static.bunq.com\",\"help.bunq.com\",\"help.tricount.com\",\"framerusercontent.com\"]);const ALLOWED_INDEX_HOST_SUFFIXES=[\".framerusercontent.com\"];const BUNQ_HELP_CDN_FALLBACK_HOSTS=new Set([\"help.bunq.com\",\"diverse-methodologies-768530.framer.app\"]);let cachedIndex=null;let inflightLoad=null;export function getItemSlug(item){const href=item.querySelector(\"a[href]\")?.getAttribute(\"href\")??\"\";const path=href.split(\"?\")[0]??\"\";const parts=path.split(\"/\").filter(Boolean);const articlesAt=parts.lastIndexOf(\"articles\");const slug=articlesAt>=0?parts[articlesAt+1]:parts[parts.length-1];return(slug??\"\").toLowerCase();}export function parseHelpSearchIndex(raw){if(raw===null||typeof raw!==\"object\"){return null;}const candidate=raw;if(candidate.version!==HELP_SEARCH_INDEX_VERSION){return null;}if(typeof candidate.source!==\"string\"||candidate.source.trim()===\"\"){return null;}if(typeof candidate.articleCount!==\"number\"||!Number.isFinite(candidate.articleCount)){return null;}if(!Array.isArray(candidate.slugs)||candidate.slugs.some(slug=>typeof slug!==\"string\")){return null;}if(candidate.tokens===null||typeof candidate.tokens!==\"object\"||Array.isArray(candidate.tokens)){return null;}const tokens={};for(const[token,posting]of Object.entries(candidate.tokens)){if(!Array.isArray(posting)||posting.some(index=>typeof index!==\"number\"||index<0)){return null;}tokens[token]=posting;}return{articleCount:candidate.articleCount,slugs:candidate.slugs,source:candidate.source.trim(),tokens,version:HELP_SEARCH_INDEX_VERSION};}export function isAllowedHelpSearchIndexUrl(urlString,pageOrigin){if(urlString.startsWith(\"/\")&&!urlString.startsWith(\"//\")){return true;}try{const url=new URL(urlString);if(url.protocol!==\"https:\"){return false;}if(pageOrigin!==undefined&&url.origin===new URL(pageOrigin).origin){return true;}if(ALLOWED_INDEX_HOSTS.has(url.hostname)){return true;}return ALLOWED_INDEX_HOST_SUFFIXES.some(suffix=>url.hostname.endsWith(suffix));}catch{return false;}}function queryTokens(query){return query.trim().toLowerCase().split(/\\s+/).filter(token=>token.length>0);}export function slugsMatchingQuery(index,query){const tokens=queryTokens(query);const matched=new Set;if(tokens.length===0){return matched;}let intersection=null;for(const token of tokens){const posting=index.tokens[token];if(posting===undefined){return matched;}const next=new Set(posting);if(intersection===null){intersection=next;continue;}intersection=new Set([...intersection].filter(indexValue=>next.has(indexValue)));}if(intersection===null){return matched;}for(const indexValue of intersection){const slug=index.slugs[indexValue];if(typeof slug===\"string\"&&slug!==\"\"){matched.add(slug);}}return matched;}function hostnameFromOrigin(pageOrigin){if(!pageOrigin){return null;}try{return new URL(pageOrigin).hostname;}catch{return null;}}export function shouldFallbackToBunqHelpIndexCdn(pageOrigin){const hostname=hostnameFromOrigin(pageOrigin);return hostname!==null&&BUNQ_HELP_CDN_FALLBACK_HOSTS.has(hostname);}function resolveIndexUrls(explicitUrl){const urls=[];const pageOrigin=typeof window===\"undefined\"?undefined:window.location.origin;if(explicitUrl&&isAllowedHelpSearchIndexUrl(explicitUrl,pageOrigin)){urls.push(explicitUrl);}if(pageOrigin!==undefined&&pageOrigin.startsWith(\"https://\")){urls.push(new URL(HELP_SEARCH_INDEX_PATH,pageOrigin).toString());}if(shouldFallbackToBunqHelpIndexCdn(pageOrigin)){urls.push(HELP_SEARCH_INDEX_CDN_URL);}return[...new Set(urls)];}async function fetchIndex(url,signal){const pageOrigin=typeof window===\"undefined\"?undefined:window.location.origin;if(!isAllowedHelpSearchIndexUrl(url,pageOrigin)){return null;}const response=await fetch(url,{signal,mode:\"cors\",credentials:\"omit\",headers:{Accept:\"application/json\"}});if(!response.ok){return null;}return parseHelpSearchIndex(await response.json());}export async function loadHelpSearchIndex(explicitUrl,signal){if(cachedIndex){return cachedIndex;}if(inflightLoad){return inflightLoad;}inflightLoad=(async()=>{try{for(const url of resolveIndexUrls(explicitUrl)){try{const parsed=await fetchIndex(url,signal);if(parsed){cachedIndex=parsed;return parsed;}}catch(error){if(signal?.aborted){throw error;}}}return null;}finally{inflightLoad=null;}})();return inflightLoad;}export function resetHelpSearchIndexCacheForTests(){cachedIndex=null;inflightLoad=null;}\nexport const __FramerMetadata__ = {\"exports\":{\"shouldFallbackToBunqHelpIndexCdn\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"loadHelpSearchIndex\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"getItemSlug\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"HELP_SEARCH_INDEX_CDN_URL\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"parseHelpSearchIndex\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"HelpSearchIndex\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"HELP_SEARCH_INDEX_PATH\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"slugsMatchingQuery\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"isAllowedHelpSearchIndexUrl\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"resetHelpSearchIndexCacheForTests\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"HELP_SEARCH_INDEX_VERSION\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./helpSearchIndex.map","import{COLLECTION_ID}from\"https://framerusercontent.com/modules/ELyWSXK8tBY7KFqORue0/WtHyWr5a1vDiCCILz0OQ/collectionId.js\";import{getItemSlug}from\"https://framerusercontent.com/modules/BNc22V5OleFxwlAtFbLs/LVgA5ixkee3rIKkpgBV8/helpSearchIndex.js\";export const MIN_SEARCH_QUERY_LENGTH=2;export function getFilterableItems(container){const collectionEl=container.querySelector(`[style*=\"border: ${COLLECTION_ID}\"]`);if(collectionEl&&collectionEl.children.length>0){return renderedChildren(collectionEl);}let current=container;for(let depth=0;depth<8;depth++){const children=renderedChildren(current);if(children.length>1){return children;}if(children.length===0){return hasTextContent(current)?renderedChildren(container):[];}current=children[0];}return renderedChildren(container);}function hasTextContent(element){return(element.textContent??\"\").trim()!==\"\";}const NON_ITEM_TAGS=new Set([\"STYLE\",\"SCRIPT\",\"LINK\",\"TEMPLATE\"]);function renderedChildren(element){return Array.from(element.children).filter(child=>!NON_ITEM_TAGS.has(child.tagName));}export function htmlToSearchText(value){return value.replace(/<script[\\s\\S]*?<\\/script>/gi,\" \").replace(/<style[\\s\\S]*?<\\/style>/gi,\" \").replace(/<[^>]+>/g,\" \").replace(/&nbsp;/gi,\" \").replace(/&amp;/gi,\"&\").replace(/&lt;/gi,\"<\").replace(/&gt;/gi,\">\").replace(/&quot;/gi,'\"').replace(/&#39;/g,\"'\").replace(/&apos;/gi,\"'\").replace(/\\s+/g,\" \").trim();}export function getItemSearchText(item){const title=item.querySelector(\"h3, h2, [data-search-title]\")?.textContent?.trim()??\"\";const description=item.querySelector(\"p, [data-search-description]\")?.textContent?.trim()??\"\";const bodyNodes=item.querySelectorAll(\"[data-search-body]\");const body=Array.from(bodyNodes).map(node=>node.textContent?.trim()??\"\").filter(Boolean).join(\" \");const fallback=item.textContent??item.innerText??\"\";return{title,description,body,fallback};}function queryTokens(query){return query.trim().toLowerCase().split(/\\s+/).filter(token=>token.length>0);}function escapeRegExp(value){return value.replace(/[.*+?^${}()|[\\]\\\\]/g,\"\\\\$&\");}export function fieldHasToken(field,token){if(!field||!token)return false;if(token.length<=3){return fieldHasExactToken(field,token);}const pattern=new RegExp(`(?:^|[^\\\\p{L}\\\\p{N}])${escapeRegExp(token)}`,\"iu\");return pattern.test(field);}function fieldHasExactToken(field,token){if(!field||!token)return false;const pattern=new RegExp(`(?:^|[^\\\\p{L}\\\\p{N}])${escapeRegExp(token)}(?=[^\\\\p{L}\\\\p{N}]|$)`,\"iu\");return pattern.test(field);}function fieldMatchesAllTokens(field,tokens){return tokens.every(token=>fieldHasToken(field,token));}function searchableFields(item){const{title,description,body,fallback}=getItemSearchText(item);if(!title&&!description&&!body){return{title:fallback,description:\"\",body:\"\"};}return{title,description,body};}export function itemMatchesQuery(item,lowerQuery,options={}){const tokens=queryTokens(lowerQuery);if(tokens.length===0)return false;const fields=searchableFields(item);if(fieldMatchesAllTokens(fields.title,tokens)||fieldMatchesAllTokens(fields.description,tokens)||fieldMatchesAllTokens(fields.body,tokens)){return true;}const slug=getItemSlug(item);return Boolean(slug&&options.extraSlugs?.has(slug));}function rankMatch(item,tokens,extraSlugs){const fields=searchableFields(item);if(tokens.every(token=>fieldHasExactToken(fields.title,token)))return 4;if(fieldMatchesAllTokens(fields.title,tokens))return 3;if(fieldMatchesAllTokens(fields.description,tokens))return 2;if(fieldMatchesAllTokens(fields.body,tokens))return 1;const slug=getItemSlug(item);if(slug&&extraSlugs?.has(slug))return 1;return 0;}export function applySearchFilter(items,query,filterId,maxResults,options={}){const attr=`data-filter-${filterId}`;const trimmedQuery=query.trim();const lowerQuery=trimmedQuery.toLowerCase();if(trimmedQuery.length<MIN_SEARCH_QUERY_LENGTH){items.forEach(item=>{item.setAttribute(attr,\"no-match\");item.style.display=\"none\";});return{matchCount:0,shownCount:0};}const tokens=queryTokens(lowerQuery);const matches=[];items.forEach(item=>{if(!itemMatchesQuery(item,lowerQuery,options)){item.setAttribute(attr,\"no-match\");item.style.display=\"none\";return;}matches.push(item);});const ranked=[...matches].sort((left,right)=>{const rankDelta=rankMatch(right,tokens,options.extraSlugs)-rankMatch(left,tokens,options.extraSlugs);if(rankDelta!==0)return rankDelta;return matches.indexOf(left)-matches.indexOf(right);});ranked.forEach((item,index)=>{const withinCap=index<maxResults;item.setAttribute(attr,withinCap?\"match\":\"no-match\");item.style.display=withinCap?\"\":\"none\";});const parent=items[0]?.parentElement;if(parent&&ranked.length>0){const rankedSet=new Set(ranked);const currentOrder=Array.from(parent.children).filter(child=>rankedSet.has(child));const needsReorder=currentOrder.some((child,index)=>child!==ranked[index]);if(needsReorder){ranked.forEach(item=>parent.appendChild(item));}}return{matchCount:ranked.length,shownCount:Math.min(ranked.length,maxResults)};}export function clearSearchFilter(items,filterId){const attr=`data-filter-${filterId}`;items.forEach(item=>{item.removeAttribute(attr);item.style.display=\"\";});}\nexport const __FramerMetadata__ = {\"exports\":{\"applySearchFilter\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"SearchFilterResult\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"htmlToSearchText\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"clearSearchFilter\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"SearchFilterOptions\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"itemMatchesQuery\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"getItemSearchText\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"fieldHasToken\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"ItemSearchText\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"MIN_SEARCH_QUERY_LENGTH\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"getFilterableItems\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./collectionSearchFilter.map","/**\n * @framerIntrinsicWidth 80\n * @framerIntrinsicHeight 32\n * @framerSupportedLayoutWidth auto\n * @framerSupportedLayoutHeight auto\n */import{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import{forwardRef,useMemo}from\"react\";import{addPropertyControls,ControlType}from\"framer\";import{FRAMER_BREAKPOINT_DESCRIPTION,FRAMER_ICON_SVG_CUSTOM_DESCRIPTION,FRAMER_THEME_DESCRIPTION_SURFACE}from\"https://framerusercontent.com/modules/kgixvU6ZSjEgZfx2dLER/Q65e6Gi2zjpkkR9gHZsP/propertyControlCopy.js\";import{useEffectiveBreakpoint,getColorValue,getSpacing,getTypographyStyles,getRadius,getControlSizeValue}from\"https://framerusercontent.com/modules/FDyEZnwYBuMJmxNPNbkh/o8HvPx0AEeB6fHDPq2cJ/colors.js\";import{getNewTabAriaLabel,useSmartLinkProps}from\"https://framerusercontent.com/modules/NbJRONH2Z4yDLXjbVsSq/esv4JmwQchyf4AOTeCMx/linkHelpers.js\";import{useInteractiveStates}from\"https://framerusercontent.com/modules/Oyd67FvSjdl6uCVEyAij/14FJa2dF7nkq7KadeT6u/useInteractiveStates.js\";import{getIconRaw,useIconLoaded,ICON_OPTIONS_WITH_NONE_AND_CUSTOM,ICON_OPTION_TITLES_WITH_NONE_AND_CUSTOM}from\"https://framerusercontent.com/modules/OuAHgtW29YOxApe6lCN1/x6VYfnQbS7Urc2bc3NKd/icons.js\";import{processSVG}from\"https://framerusercontent.com/modules/Ajjw0fi7RIb9ZhcKml39/ybYliQmQh8TM4GSgGrW0/svg.js\";import{HINT_BADGE}from\"https://framerusercontent.com/modules/48iFuUf79i0lV1xbzOpm/nGERshBdPoCbedj8TF0R/placeholders.js\";import{pickSafeDivProps}from\"https://framerusercontent.com/modules/HHfrxxHLEFZsStlLgAXu/krlOY33jgKWYGriuGjxz/domProps.js\";import{VISUALLY_HIDDEN_STYLE}from\"https://framerusercontent.com/modules/LQuuOAryIVnwswuGx8Ex/giy81PU7vHV8vs0co0Cz/layoutStyles.js\";import{getTricountChipColors,resolveBrand,resolveTricountThemeVariant,isLightThemeSurface}from\"https://framerusercontent.com/modules/30edN7qiEI1dwQI5mdZ5/rczlMVpO86xUCrPYmNd4/themeHelpers.js\";import{breakpointPropertyControl}from\"https://framerusercontent.com/modules/9AEeOcnhLXJS5wK1KhPx/HxesVu229HtloeOn45Cz/breakpointControl.js\";import{brandPropertyControl,themePropertyControls}from\"https://framerusercontent.com/modules/T2sckviMCmJ4Jmbp9jxp/zJxITVIOZG02MHJo3RLt/brandControl.js\";import{resolveThemeProp}from\"https://framerusercontent.com/modules/lFWBe5qCxlzWknbvQ1Np/XNuxV4GDM1tSiiZKcYOz/themeControl.js\";import{getLiquidGlassFinish,LIQUID_GLASS_FILL_ALPHA,liquidGlassLegacyHighlightToVariant,toAccentGradient,withAlpha}from\"https://framerusercontent.com/modules/LcVxbLU0r8yRbNNFNhrj/8eBuHAZp75ozI1uUlOdF/colorEffects.js\";import{BADGE_ACCENT_COLORS,BADGE_ACCENT_COLOR_TITLES}from\"https://framerusercontent.com/modules/ERwHkp0S7TS5OOtXo7Ib/PNUp0mSPjCPHdxsKAZ39/badgeAccentConstants.js\";import{accentColorOptionTitle,getReadableAccentTextOnDarkGlass}from\"https://framerusercontent.com/modules/1XTicB6ZB0oMHOK199vO/6stFObwnGGHDscYC3a5Q/accentContrast.js\";import{usePageLanguage}from\"https://framerusercontent.com/modules/dVNjDhV3hu8667Ecdtis/fqfFx6PZxzQxdiQqyTBh/usePageLanguage.js\";const DEFAULT_CIRCLE_ICON_SVG=getIconRaw(\"circle\");const LEGACY_DEFAULT_ARIA_LABEL=\"Label\";export{BADGE_ACCENT_COLORS,BADGE_ACCENT_COLOR_TITLES};const BadgeInternal=/*#__PURE__*/forwardRef(function BadgeInternal(props,ref){const theme=resolveThemeProp(props);const{breakpoint:breakpointProp=\"desktop\",brand,semanticMode=true,variant=\"default\",accentColor=\"blue\",size=\"medium\",label=\"Label\",link,ariaLabel:ariaLabelProp=\"\",showIcon=true,icon=\"check\",iconSvg=DEFAULT_CIRCLE_ICON_SVG,style,...rest}=props;const safeDomProps=useMemo(()=>pickSafeDivProps(rest),[rest]);const breakpoint=useEffectiveBreakpoint(breakpointProp);useIconLoaded(showIcon===false?undefined:icon);const resolvedBrand=resolveBrand(brand);const pageLanguage=usePageLanguage();const smartLink=useSmartLinkProps(link);const safeLinkHref=smartLink.href;const{styles:linkInteractiveStyles,handlers:linkHandlers}=useInteractiveStates(!safeLinkHref,{brand:resolvedBrand,transitions:true});const useAccentColors=!semanticMode;const isAccentMode=useAccentColors&&accentColor;const isDarkSurface=!isLightThemeSurface(theme,resolvedBrand);const getDotColor=()=>{if(isAccentMode&&resolvedBrand===\"tricount\"){return getTricountChipColors(resolveTricountThemeVariant(theme)).color;}if(isAccentMode){if(!isDarkSurface){return getColorValue(`/Text/text-${accentColor}`);}return getColorValue(`/Foregrounds/fg-${accentColor}`);}if(isDarkSurface){switch(variant){case\"default\":return getColorValue(\"/Foregrounds/fg-primary\");case\"success\":return getColorValue(\"/Foregrounds/fg-success\");case\"warning\":return getColorValue(\"/Foregrounds/fg-warning\");case\"danger\":return getColorValue(\"/Foregrounds/fg-error\");case\"info\":return getColorValue(\"/Foregrounds/fg-information\");default:return getColorValue(\"/Foregrounds/fg-primary\");}}else{switch(variant){case\"success\":return getColorValue(\"/Foregrounds/fg-success\");case\"warning\":return getColorValue(\"/Foregrounds/fg-warning\");case\"danger\":return getColorValue(\"/Foregrounds/fg-error\");case\"info\":return getColorValue(\"/Foregrounds/fg-information\");default:return getColorValue(\"/Foregrounds/fg-inverted-primary\");}}};const dotColor=getDotColor();const iconSize=size===\"small\"?16:size===\"medium\"?20:24;const showIconResolved=showIcon!==false&&icon!==\"none\";const effectiveIconSvg=icon===\"custom\"?iconSvg:icon===\"none\"?\"\":getIconRaw(icon);const processedIconSvg=(()=>{if(!effectiveIconSvg||!effectiveIconSvg.trim()||!effectiveIconSvg.includes(\"<svg\")){return\"\";}return processSVG(effectiveIconSvg.trim(),iconSize,dotColor,{replaceStroke:true});})();const getBadgeBackground=()=>{if(isAccentMode&&resolvedBrand===\"tricount\"){return getTricountChipColors(resolveTricountThemeVariant(theme)).background;}if(isAccentMode){if(!isDarkSurface){return getColorValue(`/Utility colors/utility-${accentColor}-200`);}return getColorValue(`/Backgrounds/bg-${accentColor}`);}if(isDarkSurface){switch(variant){case\"success\":return getColorValue(\"/Backgrounds/bg-success\");case\"warning\":return getColorValue(\"/Backgrounds/bg-warning\");case\"danger\":return getColorValue(\"/Backgrounds/bg-error\");case\"info\":return getColorValue(\"/Backgrounds/bg-information\");default:return getColorValue(\"/Utility colors/utility-white-10%\");}}else{switch(variant){case\"success\":return getColorValue(\"/Utility colors/utility-success-100\");case\"warning\":return getColorValue(\"/Utility colors/utility-warning-100\");case\"danger\":return getColorValue(\"/Utility colors/utility-error-100\");case\"info\":return getColorValue(\"/Utility colors/utility-blue-100\");default:return getColorValue(\"/Utility colors/utility-black-10%\");}}};const getBadgeTextColor=()=>{if(isAccentMode&&resolvedBrand===\"tricount\"){return getTricountChipColors(resolveTricountThemeVariant(theme)).color;}if(isAccentMode&&isDarkSurface){return getReadableAccentTextOnDarkGlass(accentColor);}if(isAccentMode){return getColorValue(`/Text/text-${accentColor}`);}if(isDarkSurface){switch(variant){case\"success\":return getColorValue(\"/Text/text-success\");case\"warning\":return getColorValue(\"/Text/text-warning\");case\"danger\":return getColorValue(\"/Text/text-error\");case\"info\":return getColorValue(\"/Text/text-information\");default:return getColorValue(\"/Text/text-secondary\");}}else{return getColorValue(\"/Text/text-inverted-primary\");}};const getPaddingX=()=>{if(size===\"small\"){return breakpoint===\"phone\"?getSpacing(8):breakpoint===\"tablet\"?getSpacing(10):getSpacing(12);}if(size===\"medium\"){return breakpoint===\"phone\"?getSpacing(12):breakpoint===\"tablet\"?getSpacing(16):getSpacing(16);}return breakpoint===\"phone\"?getSpacing(16):breakpoint===\"tablet\"?getSpacing(20):getSpacing(20);};const getGap=()=>{if(size===\"small\"){return breakpoint===\"phone\"?getSpacing(4):breakpoint===\"tablet\"?getSpacing(6):getSpacing(6);}if(size===\"medium\"){return breakpoint===\"phone\"?getSpacing(6):breakpoint===\"tablet\"?getSpacing(8):getSpacing(8);}return breakpoint===\"phone\"?getSpacing(8):breakpoint===\"tablet\"?getSpacing(10):getSpacing(10);};const typography=size===\"small\"?getTypographyStyles(\"/Detail SM/Heavy\",breakpoint,{brand:resolvedBrand}):size===\"medium\"?getTypographyStyles(\"/Body SM/Heavy\",breakpoint,{brand:resolvedBrand}):getTypographyStyles(\"/Body SM/Heavy\",breakpoint,{brand:resolvedBrand});const solidBackground=getBadgeBackground();const textColor=getBadgeTextColor();const paddingX=getPaddingX();const gap=getGap();const tintedBackground=useMemo(()=>withAlpha(solidBackground,LIQUID_GLASS_FILL_ALPHA),[solidBackground]);const useGradientFill=isAccentMode&&resolvedBrand!==\"tricount\"||variant!==\"default\";const finalBackground=useMemo(()=>useGradientFill?toAccentGradient(tintedBackground):tintedBackground,[useGradientFill,tintedBackground]);const resolvedGlassTone=isDarkSurface?\"light\":\"dark\";const badgeHeight=size===\"small\"?getSpacing(24):size===\"medium\"?getSpacing(32):getSpacing(40);const badgeRadius=getRadius(\"radius-full\");const tricountSolidFill=useMemo(()=>useGradientFill?toAccentGradient(solidBackground):solidBackground,[useGradientFill,solidBackground]);const liquidGlassFinish=useMemo(()=>{if(resolvedBrand===\"tricount\"){return{background:solidBackground,border:\"none\"};}const neutralVariant=liquidGlassLegacyHighlightToVariant(resolvedGlassTone);if(useGradientFill){return getLiquidGlassFinish({variant:\"colored\",surface:\"button\",selected:false,accentColor:solidBackground,baseFill:finalBackground,brand:resolvedBrand,solidFill:tricountSolidFill});}return getLiquidGlassFinish({variant:neutralVariant,surface:\"button\",selected:false,brand:resolvedBrand,solidFill:tricountSolidFill});},[resolvedGlassTone,useGradientFill,solidBackground,finalBackground,resolvedBrand,tricountSolidFill]);const badgeStyle=useMemo(()=>({display:\"inline-flex\",alignItems:\"center\",minWidth:getSpacing(32),whiteSpace:\"nowrap\",height:badgeHeight,paddingLeft:paddingX,paddingRight:paddingX,gap,borderRadius:badgeRadius,background:finalBackground,color:textColor,...typography,...liquidGlassFinish??null,...style}),[badgeHeight,badgeRadius,style,finalBackground,textColor,paddingX,gap,typography,liquidGlassFinish]);const iconContainerStyle={display:\"inline-flex\",alignItems:\"center\",justifyContent:\"center\",flexShrink:0,width:getSpacing(iconSize),height:getSpacing(iconSize)};const iconSvgStyle={display:\"inline-flex\",width:\"100%\",height:\"100%\"};const iconDotStyle={display:\"inline-block\",width:\"100%\",height:\"100%\",borderRadius:getRadius(\"radius-full\"),boxSizing:\"border-box\",borderWidth:getSpacing(2),borderStyle:\"solid\",borderColor:dotColor};const rawAriaOverride=(ariaLabelProp??\"\").trim();const trimmedAriaOverride=rawAriaOverride===LEGACY_DEFAULT_ARIA_LABEL?\"\":rawAriaOverride;const trimmedLabelText=label?.trim()??\"\";const spokenOverride=trimmedAriaOverride!==\"\"&&trimmedAriaOverride!==trimmedLabelText?trimmedAriaOverride:undefined;const opensInNewTab=Boolean(safeLinkHref)&&smartLink.target===\"_blank\";const linkAccessibleName=spokenOverride??trimmedLabelText;const linkAriaLabel=opensInNewTab&&linkAccessibleName?getNewTabAriaLabel(linkAccessibleName,pageLanguage):spokenOverride;const hiddenSpokenOverride=safeLinkHref?undefined:spokenOverride;const inner=/*#__PURE__*/_jsxs(_Fragment,{children:[showIconResolved&&/*#__PURE__*/_jsx(\"span\",{style:iconContainerStyle,\"aria-hidden\":\"true\",children:processedIconSvg?/*#__PURE__*/_jsx(\"span\",{style:iconSvgStyle,dangerouslySetInnerHTML:{__html:processedIconSvg}}):/*#__PURE__*/_jsx(\"span\",{style:iconDotStyle})}),/*#__PURE__*/_jsx(\"span\",{style:{whiteSpace:\"nowrap\"},\"aria-hidden\":hiddenSpokenOverride?true:undefined,children:label}),hiddenSpokenOverride?/*#__PURE__*/_jsx(\"span\",{style:VISUALLY_HIDDEN_STYLE,children:hiddenSpokenOverride}):null]});if(safeLinkHref){const linkTouchTargetStyle={display:\"inline-flex\",alignItems:\"center\",justifyContent:\"center\",minWidth:getControlSizeValue(\"touchTarget\"),minHeight:getControlSizeValue(\"touchTarget\"),borderRadius:badgeRadius,textDecoration:\"none\",...linkInteractiveStyles};return /*#__PURE__*/_jsx(\"a\",{ref:ref,href:smartLink.href,target:smartLink.target,rel:smartLink.rel,onClick:smartLink.onClick,style:{...smartLink.style,...linkTouchTargetStyle},\"aria-label\":linkAriaLabel,onMouseEnter:linkHandlers.onMouseEnter,onMouseLeave:linkHandlers.onMouseLeave,onMouseDown:linkHandlers.onMouseDown,onMouseUp:linkHandlers.onMouseUp,onFocus:linkHandlers.onFocus,onBlur:linkHandlers.onBlur,...safeDomProps,children:/*#__PURE__*/_jsx(\"span\",{style:badgeStyle,children:inner})});}return /*#__PURE__*/_jsx(\"span\",{ref:ref,style:badgeStyle,...safeDomProps,children:inner});});BadgeInternal.displayName=\"Badge Internal - Atom\";export default function Badge(props){return /*#__PURE__*/_jsx(BadgeInternal,{...props});}Badge.displayName=\"Badge - Atom\";addPropertyControls(Badge,{label:{type:ControlType.String,title:\"Label\",defaultValue:\"Label\",placeholder:HINT_BADGE,description:\"Type the short label shown on the badge—keep it brief so the pill stays balanced.\"},link:{type:ControlType.Link,title:\"Link\",defaultValue:\"\",description:\"Add a URL to make the whole badge clickable; leave empty for display-only badges.\"},icon:{type:ControlType.Enum,title:\"Icon\",options:[...ICON_OPTIONS_WITH_NONE_AND_CUSTOM],optionTitles:ICON_OPTIONS_WITH_NONE_AND_CUSTOM.map(key=>ICON_OPTION_TITLES_WITH_NONE_AND_CUSTOM[key]),displaySegmentedControl:false,defaultValue:\"check\",description:\"Select an icon, None for text-only badges, or Custom to paste SVG below.\"},iconSvg:{type:ControlType.String,title:\"Icon SVG\",defaultValue:DEFAULT_CIRCLE_ICON_SVG,placeholder:\"<svg>...</svg>\",description:FRAMER_ICON_SVG_CUSTOM_DESCRIPTION,preventLocalization:true,hidden:props=>props.icon!==\"custom\"},semanticMode:{type:ControlType.Boolean,title:\"Color Mode\",defaultValue:true,enabledTitle:\"Semantic\",disabledTitle:\"Accent\",description:\"Choose Semantic for status-driven colors (success, warning, …). Switch to Accent to use one brand accent from your tokens.\"},variant:{type:ControlType.Enum,title:\"Variant\",options:[\"default\",\"success\",\"warning\",\"danger\",\"info\"],optionTitles:[\"Default\",\"Success\",\"Warning\",\"Danger\",\"Info\"],defaultValue:\"default\",description:\"With Semantic on, choose Default for neutral labels or a status variant to reinforce meaning.\",hidden:props=>props.semanticMode===false},accentColor:{type:ControlType.Enum,title:\"Color\",options:[...BADGE_ACCENT_COLORS],optionTitles:BADGE_ACCENT_COLORS.map(c=>accentColorOptionTitle(c)),defaultValue:\"blue\",description:\"With Accent mode on, pick which background token color fills the badge. Accents marked (fails AA) miss WCAG 4.5:1 for accent text on the matching fill; prefer unmarked colors for chips with that pairing.\",hidden:props=>props.semanticMode!==false},size:{type:ControlType.Enum,title:\"Size\",options:[\"small\",\"medium\",\"large\"],optionTitles:[\"Small\",\"Medium\",\"Large\"],displaySegmentedControl:true,defaultValue:\"medium\",description:\"Use Small in dense layouts; Medium or Large when the badge should read clearly at a glance.\"},ariaLabel:{type:ControlType.String,title:\"ARIA Label\",defaultValue:\"\",placeholder:\"Leave empty to use the visible label\",description:\"Accessible name override. Leave empty so screen readers read the visible label. Set it only when you need a different spoken name.\"},id:{type:ControlType.String,title:\"ID\",defaultValue:\"badge\",placeholder:\"e.g. my-element\",description:\"Set a unique id when you link to this element or tag it for analytics; clear or change it if you use multiple badges on one page.\",preventLocalization:true},...breakpointPropertyControl(FRAMER_BREAKPOINT_DESCRIPTION),...themePropertyControls(FRAMER_THEME_DESCRIPTION_SURFACE),...brandPropertyControl()});\nexport const __FramerMetadata__ = {\"exports\":{\"BADGE_ACCENT_COLORS\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"BADGE_ACCENT_COLOR_TITLES\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"BadgeAccentColor\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"BadgeProps\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"reactComponent\",\"name\":\"Badge\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","export const CARD_ACCESSIBILITY_UI_STRING_TRANSLATIONS={bg:{likes:\"Харесвания: {count}\",updatedOn:\"Актуализирано {date}\",inCategory:\"в {category}\"},de:{likes:\"Likes: {count}\",updatedOn:\"Aktualisiert {date}\",inCategory:\"in {category}\"},de_AT:{likes:\"„Gef\\xe4llt mir“-Angaben: {count}\",updatedOn:\"Aktualisiert am {date}\"},es:{likes:\"Me gusta: {count}\",updatedOn:\"Actualizado {date}\",inCategory:\"en {category}\"},fr:{likes:\"J’aime : {count}\",updatedOn:\"Mis \\xe0 jour le {date}\",inCategory:\"dans {category}\"},id:{likes:\"Suka: {count}\"},it:{likes:\"Mi piace: {count}\",updatedOn:\"Aggiornato il {date}\",inCategory:\"in {category}\"},nl:{likes:\"Vind-ik-leuks: {count}\",updatedOn:\"Bijgewerkt op {date}\",inCategory:\"in {category}\"},pl:{likes:\"Polubienia: {count}\",updatedOn:\"Zaktualizowano {date}\",inCategory:\"w {category}\"},pt_PT:{likes:\"Gostos: {count}\",updatedOn:\"Atualizado a {date}\",inCategory:\"em {category}\"},sk:{likes:\"Lajky: {count}\",updatedOn:\"Aktualizovan\\xe9 {date}\",inCategory:\"v {category}\"},tr:{inCategory:\"{category} i\\xe7inde\"}};// recompile: cit3454-t1\n\nexport const __FramerMetadata__ = {\"exports\":{\"CARD_ACCESSIBILITY_UI_STRING_TRANSLATIONS\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./cardAccessibility.map","import{createUiStringReader}from\"https://framerusercontent.com/modules/2sEnrolSYrCtGI5xw54b/4xtN3LJ4FXMvrNBe5CHl/uiStrings.js\";import{CARD_ACCESSIBILITY_UI_STRING_TRANSLATIONS}from\"https://framerusercontent.com/modules/s7X81BFyfCgls0RUH8bj/9ptzc5WhD7QkYLaWdkUf/cardAccessibility.js\";export const CARD_ACCESSIBILITY_UI_STRINGS={likes:\"Likes: {count}\",updatedOn:\"Updated {date}\",inCategory:\"in {category}\"};export function getCardAccessibilityStrings(language){const t=createUiStringReader(CARD_ACCESSIBILITY_UI_STRINGS,CARD_ACCESSIBILITY_UI_STRING_TRANSLATIONS,language);return{likes:count=>t(\"likes\",{count}),updatedOn:date=>t(\"updatedOn\",{date}),inCategory:category=>t(\"inCategory\",{category})};}// recompile: cit3454-t2\n\nexport const __FramerMetadata__ = {\"exports\":{\"getCardAccessibilityStrings\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"CARD_ACCESSIBILITY_UI_STRINGS\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"CardAccessibilityStrings\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./cardAccessibilityStrings.map","/**\n * @framerIntrinsicWidth 600\n * @framerIntrinsicHeight 80\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight any-prefer-fixed\n */import{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import{forwardRef,useId,useRef,useMemo}from\"react\";import{addPropertyControls,ControlType}from\"framer\";import Tokens,{useEffectiveBreakpoint,useReducedMotion,kernHeadingPlainText}from\"https://framerusercontent.com/modules/JnflwrfTBO2W3YxUCt5T/kzrQVyBVYml9GnkpIguG/index.js\";import{getGap,getCardRadius,VISUALLY_HIDDEN_STYLE}from\"https://framerusercontent.com/modules/LQuuOAryIVnwswuGx8Ex/giy81PU7vHV8vs0co0Cz/layoutStyles.js\";import{applyCardSurfaceStyle,CardSurfaceOverlay}from\"https://framerusercontent.com/modules/s0sufguyw0flCdVPRcnP/svjZlFpOI1yw7CG976le/cardSurface.js\";import{withAlpha}from\"https://framerusercontent.com/modules/LcVxbLU0r8yRbNNFNhrj/8eBuHAZp75ozI1uUlOdF/colorEffects.js\";import{htmlToSearchText}from\"https://framerusercontent.com/modules/RwYqM9peexHuGWb1RjgA/SWS0DFNyymmRqtv96AaW/collectionSearchFilter.js\";import{getNewTabAriaLabel,useSmartLinkProps}from\"https://framerusercontent.com/modules/NbJRONH2Z4yDLXjbVsSq/esv4JmwQchyf4AOTeCMx/linkHelpers.js\";import{pickSafeDivProps}from\"https://framerusercontent.com/modules/HHfrxxHLEFZsStlLgAXu/krlOY33jgKWYGriuGjxz/domProps.js\";import{normalizeElementId,resolveCollectionElementId}from\"https://framerusercontent.com/modules/EhucoCcvUrEmkeXlMWEK/cWNi6yGoZtcnACJzdijP/resolveElementId.js\";import{PRESERVE_CONTROL_NEWLINES}from\"https://framerusercontent.com/modules/7usa64yv6f2tRQTyL0ZP/vLnRRLKlbcu5QqFfxMDX/controlTextStyles.js\";import{getIcon,ICON_OPTIONS_WITH_NONE_AND_CUSTOM,ICON_OPTION_TITLES_WITH_NONE_AND_CUSTOM,ICON_ACCENT_COLORS}from\"https://framerusercontent.com/modules/OuAHgtW29YOxApe6lCN1/x6VYfnQbS7Urc2bc3NKd/icons.js\";import FeaturedIcon from\"https://framerusercontent.com/modules/Kh0Egfp0qTfCabtCLJHL/ROiqn3VwLVPxn4zIGp1K/FeaturedIcon.js\";import Badge from\"https://framerusercontent.com/modules/9q0SZwaSV5g6UJVFdQLo/LcwUKLAqnL2B6fBC2jXn/Badge.js\";import{useInteractiveStates}from\"https://framerusercontent.com/modules/Oyd67FvSjdl6uCVEyAij/14FJa2dF7nkq7KadeT6u/useInteractiveStates.js\";import{getBrandFocusColor,getCardThemeColors,getThemeColors,resolveBrand}from\"https://framerusercontent.com/modules/30edN7qiEI1dwQI5mdZ5/rczlMVpO86xUCrPYmNd4/themeHelpers.js\";import{brandPropertyControl}from\"https://framerusercontent.com/modules/T2sckviMCmJ4Jmbp9jxp/zJxITVIOZG02MHJo3RLt/brandControl.js\";import{themePropertyControls,resolveThemeProp}from\"https://framerusercontent.com/modules/lFWBe5qCxlzWknbvQ1Np/XNuxV4GDM1tSiiZKcYOz/themeControl.js\";import{FRAMER_THEME_DESCRIPTION_SURFACE_WITH_CHILDREN}from\"https://framerusercontent.com/modules/kgixvU6ZSjEgZfx2dLER/Q65e6Gi2zjpkkR9gHZsP/propertyControlCopy.js\";import{usePageLanguage}from\"https://framerusercontent.com/modules/dVNjDhV3hu8667Ecdtis/fqfFx6PZxzQxdiQqyTBh/usePageLanguage.js\";import{useAccessibilityStrings}from\"https://framerusercontent.com/modules/DzuvqFGguqPhhxTSFsr4/15c4ijGrk1cJzhydTiZH/useAccessibilityStrings.js\";import{getCardAccessibilityStrings}from\"https://framerusercontent.com/modules/y2lAV3Wpxi0n3uWRXYEu/H1fKiLx1ycds7QMY9g95/cardAccessibilityStrings.js\";const SHRINK_TO_FIT_WIDTHS=new Set([\"auto\",\"fit-content\",\"min-content\",\"max-content\"]);function stripFramerShrinkToFitWidth(style){if(!style||typeof style!==\"object\")return{};const{width}=style;if(typeof width!==\"string\"||!SHRINK_TO_FIT_WIDTHS.has(width.trim().toLowerCase())){return style;}const{width:_width,...rest}=style;return rest;}const CardSearchResultInternal=/*#__PURE__*/forwardRef(function CardSearchResultInternal(props,ref){const theme=resolveThemeProp(props);const{breakpoint:breakpointProp=\"desktop\",brand,title=\"Search result title\",description=\"\",searchBody=\"\",category=\"Category\",showIcon:_showIcon,icon:iconProp=\"none\",iconName=\"\",iconSvg=\"\",iconColor:iconColorProp=\"blue\",showCategory=false,categoryStyle=\"badge\",showDescription:_showDescription,showChevron=true,variant=\"plain\",link,openInNewTab=false,ariaLabel,surface=\"liquid-glass\",style,id:idProp,...rest}=props;const breakpoint=useEffectiveBreakpoint(breakpointProp);const legacyCardId=props.cardId;const pageLanguage=usePageLanguage();const strings=useAccessibilityStrings();const cardStrings=getCardAccessibilityStrings(pageLanguage);const searchResultReactId=useId().replace(/:/g,\"\");const titleId=`card-search-result-${searchResultReactId}-title`;const descriptionId=`card-search-result-${searchResultReactId}-description`;const newTabId=`card-search-result-${searchResultReactId}-new-tab`;const smartLink=useSmartLinkProps(link??\"\",openInNewTab,{brand});const linkUrl=smartLink.href||undefined;const rootId=resolveCollectionElementId(normalizeElementId(legacyCardId)??idProp,\"card-search-result\",linkUrl||title);const isInteractive=Boolean(linkUrl);const safeDomProps=useMemo(()=>pickSafeDivProps(rest),[rest]);const icon=iconProp===\"none\"?\"none\":iconName&&iconName.length?iconName:iconProp;const iconColorRaw=String(iconColorProp??\"\").toLowerCase().trim().replace(/\\s+/g,\"-\").replace(/grey/g,\"gray\");const iconColor=iconColorRaw===\"default\"?\"default\":ICON_ACCENT_COLORS.includes(iconColorRaw)?iconColorRaw:\"blue\";const reducedMotion=useReducedMotion();const{isHovered,isFocused,isPressed,handlers}=useInteractiveStates(!isInteractive);const isTricount=resolveBrand(brand)===\"tricount\";const isPlain=variant===\"plain\";const colors=useMemo(()=>{const sectionColors=getThemeColors(theme,brand);const dividerColor=sectionColors.dividerGlass;if(isTricount&&isPlain){return{cardBg:\"transparent\",titleColor:sectionColors.textPrimary,descriptionColor:sectionColors.textSecondary,chevronColor:sectionColors.fgSecondary,focusOutlineColor:getBrandFocusColor(brand,theme),dividerColor,hoverBg:withAlpha(sectionColors.textPrimary,.08)};}if(isTricount){const tri=getCardThemeColors(theme,\"tricount\");return{cardBg:tri.cardBg,titleColor:tri.titleColor,descriptionColor:tri.descriptionColor,chevronColor:tri.iconColor,focusOutlineColor:getBrandFocusColor(brand,theme),dividerColor,hoverBg:Tokens.getColorValue(\"/Backgrounds/bg-tertiary\")};}const isInverted=theme===\"inverted\";return{cardBg:Tokens.getColorValue(isInverted?\"/Backgrounds/bg-inverted-tertiary\":\"/Backgrounds/bg-tertiary\"),titleColor:Tokens.getColorValue(isInverted?\"/Text/text-inverted-primary\":\"/Text/text-primary\"),descriptionColor:Tokens.getColorValue(isInverted?\"/Text/text-inverted-secondary\":\"/Text/text-secondary\"),chevronColor:Tokens.getColorValue(isInverted?\"/Foregrounds/fg-inverted-secondary\":\"/Foregrounds/fg-secondary\"),focusOutlineColor:getBrandFocusColor(brand,theme),dividerColor,hoverBg:Tokens.getColorValue(isInverted?\"/Backgrounds/bg-inverted-secondary\":\"/Backgrounds/bg-quaternary\")};},[brand,theme,isPlain,isTricount]);const usesDarkCardSurface=!isTricount&&theme!==\"inverted\";const hoverFilter=useMemo(()=>{if(isPlain)return\"none\";const active=isInteractive&&(isHovered||isPressed);if(!usesDarkCardSurface){return Tokens.getBrightnessFilter(false,isHovered&&isInteractive,isPressed&&isInteractive);}return active?\"brightness(1.4)\":\"none\";},[isPlain,usesDarkCardSurface,isInteractive,isHovered,isPressed]);const resolvedIcon=icon??\"none\";const hasIcon=resolvedIcon!==\"none\";const chevronSVG=getIcon(\"arrow-narrow-right\",16,colors.chevronColor,{opticalInset:0});const isPhone=breakpoint===\"phone\";const cardPaddingV=Tokens.getSpacing(isPlain?14:12);const cardPaddingH=Tokens.getSpacing(isPhone?12:14);const cardBorderRadius=getCardRadius(breakpoint,\"small\");const plainHoverBg=isPlain&&isInteractive&&(isHovered||isPressed)?colors.hoverBg:\"transparent\";const cardStyle=useMemo(()=>{const base={display:\"flex\",flexDirection:\"row\",alignItems:\"center\",gap:getGap(\"sm\",breakpoint),padding:`${cardPaddingV} ${cardPaddingH}`,width:\"100%\",maxWidth:\"100%\",minWidth:0,textDecoration:\"none\",cursor:isInteractive?\"pointer\":\"default\",outline:isFocused?`${Tokens.getFocusOutlineWidth()} solid ${colors.focusOutlineColor}`:`${Tokens.getFocusOutlineWidth()} solid transparent`,outlineOffset:-2,transition:reducedMotion?\"none\":`${Tokens.getTransition(\"filter\",\"quick\")}, ${Tokens.getTransition(\"outline\",\"quick\")}, ${Tokens.getTransition(\"background-color\",\"quick\")}`,filter:hoverFilter,boxSizing:\"border-box\",position:\"relative\",...stripFramerShrinkToFitWidth(style)};if(isPlain){return{...base,borderRadius:0,background:plainHoverBg,borderBottom:`1px solid ${colors.dividerColor}`};}return applyCardSurfaceStyle({...base,borderRadius:cardBorderRadius,background:colors.cardBg},surface);},[breakpoint,cardPaddingV,cardPaddingH,cardBorderRadius,colors,isInteractive,isFocused,hoverFilter,reducedMotion,style,surface,isPlain,plainHoverBg]);const contentColumnStyle={display:\"flex\",flexDirection:\"column\",gap:getGap(\"xs\",breakpoint),minWidth:0,flex:1};const titleStyle={margin:0,color:colors.titleColor,...Tokens.getTypographyStyles(\"/Body MD/Heavy\",breakpoint),overflowWrap:\"anywhere\",wordBreak:\"break-word\",display:\"-webkit-box\",WebkitLineClamp:2,WebkitBoxOrient:\"vertical\",overflow:\"hidden\"};const descriptionStyle={margin:0,color:colors.descriptionColor,...Tokens.getTypographyStyles(\"/Body MD/Light\",breakpoint),display:\"-webkit-box\",WebkitLineClamp:2,WebkitBoxOrient:\"vertical\",overflow:\"hidden\",...PRESERVE_CONTROL_NEWLINES};const categoryCaptionStyle={margin:0,color:colors.descriptionColor,...Tokens.getTypographyStyles(\"/Body SM/Light\",breakpoint)};const showCategoryBadge=showCategory&&Boolean(category)&&categoryStyle===\"badge\";const showCategoryCaption=showCategory&&Boolean(category)&&categoryStyle===\"caption\";const searchBodyText=htmlToSearchText(searchBody);const authoredAriaLabel=ariaLabel?.trim()||undefined;const opensInNewTab=isInteractive&&smartLink.target===\"_blank\";const linkAriaLabel=authoredAriaLabel&&opensInNewTab?getNewTabAriaLabel(authoredAriaLabel,pageLanguage):authoredAriaLabel;const hasTitle=Boolean(title?.trim());const linkLabelledBy=!authoredAriaLabel&&hasTitle?[titleId,opensInNewTab?newTabId:\"\"].filter(Boolean).join(\" \"):undefined;const linkDescribedBy=hasTitle&&description?.trim()?descriptionId:undefined;const cardBody=/*#__PURE__*/_jsxs(_Fragment,{children:[!isPlain?/*#__PURE__*/_jsx(CardSurfaceOverlay,{surface:surface,radius:cardBorderRadius,theme:theme,brand:brand}):null,hasIcon&&/*#__PURE__*/_jsx(\"div\",{style:{flexShrink:0,alignSelf:\"center\"},children:/*#__PURE__*/_jsx(FeaturedIcon,{id:`${rootId}-icon`,breakpoint:breakpoint,theme:theme,brand:brand,iconContext:\"card\",variant:\"solid\",color:resolveBrand(brand)===\"tricount\"?undefined:iconColor,size:24,icon:resolvedIcon===\"custom\"?\"custom\":resolvedIcon,iconName:resolvedIcon===\"custom\"?\"custom\":resolvedIcon,iconSvg:resolvedIcon===\"custom\"?iconSvg:undefined})}),/*#__PURE__*/_jsxs(\"div\",{style:contentColumnStyle,children:[showCategoryBadge?/*#__PURE__*/_jsx(\"div\",{style:{display:\"flex\"},children:/*#__PURE__*/_jsx(Badge,{id:`${rootId}-badge`,label:category,breakpoint:breakpoint,theme:theme,brand:brand,size:\"small\",variant:\"default\"})}):null,title&&/*#__PURE__*/_jsx(\"h3\",{id:titleId,style:titleStyle,children:kernHeadingPlainText(title)}),description?.trim()?/*#__PURE__*/_jsx(\"p\",{id:descriptionId,style:descriptionStyle,children:description}):null,showCategoryCaption?/*#__PURE__*/_jsx(\"span\",{style:categoryCaptionStyle,children:cardStrings.inCategory(category)}):null,linkLabelledBy&&opensInNewTab?/*#__PURE__*/_jsx(\"span\",{id:newTabId,style:VISUALLY_HIDDEN_STYLE,children:strings.newTabSuffix.trim()}):null,searchBodyText?/*#__PURE__*/_jsx(\"span\",{\"data-search-body\":\"\",hidden:true,children:searchBodyText}):null]}),showChevron&&isInteractive&&/*#__PURE__*/_jsx(\"span\",{style:{flexShrink:0,display:\"flex\",alignItems:\"center\"},\"aria-hidden\":true,dangerouslySetInnerHTML:{__html:chevronSVG}})]});const interactionHandlers={onMouseEnter:handlers.onMouseEnter,onMouseLeave:handlers.onMouseLeave,onMouseDown:handlers.onMouseDown,onMouseUp:handlers.onMouseUp,onFocus:handlers.onFocus,onBlur:handlers.onBlur};if(isInteractive&&linkUrl){return /*#__PURE__*/_jsx(\"a\",{ref:ref,href:smartLink.href,target:smartLink.target,rel:smartLink.rel,style:{...cardStyle,...smartLink.style},\"aria-label\":linkAriaLabel,\"aria-labelledby\":linkLabelledBy,\"aria-describedby\":linkDescribedBy,onClick:smartLink.onClick,...interactionHandlers,...safeDomProps,id:rootId,children:cardBody});}return /*#__PURE__*/_jsx(\"article\",{ref:ref,style:cardStyle,...interactionHandlers,...safeDomProps,id:rootId,children:cardBody});});export default function CardSearchResult(props){const ref=useRef(null);return /*#__PURE__*/_jsx(CardSearchResultInternal,{...props,ref:ref});}CardSearchResult.displayName=\"Card Search Result - Molecule\";addPropertyControls(CardSearchResult,{title:{type:ControlType.String,title:\"Title\",defaultValue:\"Search result title\",placeholder:\"Enter result title...\",description:\"Primary heading for the search result.\"},category:{type:ControlType.String,title:\"Category\",defaultValue:\"Category\",placeholder:\"Enter category...\",description:\"Category label for the badge or caption presentation.\",hidden:props=>!props.showCategory},description:{type:ControlType.String,title:\"Supporting Text\",defaultValue:\"\",placeholder:\"Enter description...\",description:\"Short excerpt or description. Truncated to 2 lines. Leave empty to hide.\",displayTextArea:true},searchBody:{type:ControlType.String,title:\"Search Body\",defaultValue:\"\",placeholder:\"Optional extra keywords only\",description:\"Hidden from the row. Do not bind CMS Content. Help body search uses the public index.\",displayTextArea:true},link:{type:ControlType.Link,title:\"Link\",defaultValue:\"\",description:\"URL to navigate to when the card is clicked.\"},iconName:{type:ControlType.String,title:\"Icon Name\",defaultValue:\"\",placeholder:\"e.g. check\",description:\"CMS-bound icon name. Overrides the Icon enum when set.\",preventLocalization:true},icon:{type:ControlType.Enum,title:\"Icon\",options:[...ICON_OPTIONS_WITH_NONE_AND_CUSTOM],optionTitles:ICON_OPTIONS_WITH_NONE_AND_CUSTOM.map(c=>ICON_OPTION_TITLES_WITH_NONE_AND_CUSTOM[c]),defaultValue:\"none\",description:\"Optional left icon. Prefer None for compact typeahead rows.\"},iconSvg:{type:ControlType.String,title:\"Icon SVG\",defaultValue:\"\",placeholder:\"Paste SVG code...\",description:\"Custom SVG code for the icon when Icon is set to custom.\",displayTextArea:true,preventLocalization:true,hidden:props=>props.icon!==\"custom\"},iconColor:{type:ControlType.String,title:\"Icon Color\",defaultValue:\"blue\",placeholder:\"e.g. orange\",description:\"Accent color for the icon background.\",preventLocalization:true,hidden:props=>props.icon===\"none\"&&(!props.iconName||props.iconName.length===0)},showCategory:{type:ControlType.Boolean,title:\"Show Category\",defaultValue:false,enabledTitle:\"Show\",disabledTitle:\"Hide\",description:\"Optional category above the title (badge) or under the description (caption).\"},categoryStyle:{type:ControlType.Enum,title:\"Category Style\",options:[\"badge\",\"caption\"],optionTitles:[\"Badge\",\"Caption\"],defaultValue:\"badge\",displaySegmentedControl:true,description:\"Badge sits above the title. Caption shows in {category} under the description.\",hidden:props=>!props.showCategory},showChevron:{type:ControlType.Boolean,title:\"Show Chevron\",defaultValue:true,enabledTitle:\"Show\",disabledTitle:\"Hide\",description:\"Show a right-side navigation chevron to indicate the card is a link.\"},variant:{type:ControlType.Enum,title:\"Variant\",options:[\"plain\",\"card\"],optionTitles:[\"Plain\",\"Card\"],defaultValue:\"plain\",displaySegmentedControl:true,description:\"Plain is a flat divider row (no fill/radius). Card keeps the filled surface.\"},openInNewTab:{type:ControlType.Boolean,title:\"Open in New Tab\",defaultValue:false,enabledTitle:\"New Tab\",disabledTitle:\"Same Tab\",description:\"Open the link in a new browser tab.\"},ariaLabel:{type:ControlType.String,title:\"ARIA Label\",defaultValue:\"\",placeholder:\"Defaults to title if empty...\",description:\"Accessible name for the card link. Leave empty to use the title. Must include the visible title.\"},id:{type:ControlType.String,title:\"ID\",defaultValue:\"card-search-result\",placeholder:\"e.g. my-element\",description:\"HTML id for the root element (e.g. for analytics or anchor links).\",preventLocalization:true},breakpoint:{type:ControlType.Enum,title:\"Breakpoint\",options:[\"desktop\",\"tablet\",\"phone\"],optionTitles:[\"Desktop\",\"Tablet\",\"Phone\"],displaySegmentedControl:false,defaultValue:\"desktop\",description:\"Select the breakpoint to match Framer's canvas.\"},...themePropertyControls(FRAMER_THEME_DESCRIPTION_SURFACE_WITH_CHILDREN),...brandPropertyControl()});\nexport const __FramerMetadata__ = {\"exports\":{\"CardSearchResultProps\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"reactComponent\",\"name\":\"CardSearchResult\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","import{createContext,useContext,useLayoutEffect,useState}from\"react\";export const SECTION_BREAKPOINT_ATTR=\"data-bunq-section-breakpoint\";export const SectionBreakpointContext=/*#__PURE__*/createContext(undefined);function parseBreakpoint(value){if(value===\"desktop\"||value===\"tablet\"||value===\"phone\"){return value;}return undefined;}export function readInheritedSectionBreakpoint(element){if(!element)return undefined;const host=element.closest(`[${SECTION_BREAKPOINT_ATTR}]`);if(!(host instanceof HTMLElement))return undefined;return parseBreakpoint(host.getAttribute(SECTION_BREAKPOINT_ATTR));}export function useInheritedSectionBreakpoint(ref){const contextBreakpoint=useContext(SectionBreakpointContext);const[domBreakpoint,setInheritedBreakpoint]=useState();const inheritedBreakpoint=domBreakpoint??contextBreakpoint;useLayoutEffect(()=>{const element=ref.current;if(!element)return undefined;let observer;let cancelled=false;const syncBreakpoint=()=>{setInheritedBreakpoint(readInheritedSectionBreakpoint(element));};const tryAttach=()=>{const host=element.closest(`[${SECTION_BREAKPOINT_ATTR}]`);if(!(host instanceof HTMLElement))return false;syncBreakpoint();observer?.disconnect();observer=new MutationObserver(syncBreakpoint);observer.observe(host,{attributes:true,attributeFilter:[SECTION_BREAKPOINT_ATTR]});return true;};if(!tryAttach()){queueMicrotask(()=>{if(!cancelled)tryAttach();});}return()=>{cancelled=true;observer?.disconnect();};},[ref]);return inheritedBreakpoint;}export function useSlotFallbackBreakpoint(ownBreakpoint){const contextBreakpoint=useContext(SectionBreakpointContext);if(ownBreakpoint!==\"desktop\"||contextBreakpoint===undefined){return ownBreakpoint;}return contextBreakpoint;}\nexport const __FramerMetadata__ = {\"exports\":{\"useSlotFallbackBreakpoint\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"readInheritedSectionBreakpoint\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"useInheritedSectionBreakpoint\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"SectionBreakpointContext\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"SECTION_BREAKPOINT_ATTR\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./useInheritedSectionBreakpoint.map","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\";});}\nexport const __FramerMetadata__ = {\"exports\":{\"hideNonDisplayableTestimonialItems\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"isDisplayableReviewQuote\":{\"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/FDyEZnwYBuMJmxNPNbkh/o8HvPx0AEeB6fHDPq2cJ/colors.js\";import{SECTION_BREAKPOINT_ATTR}from\"https://framerusercontent.com/modules/3WESqm56YJyrnHigs8iQ/lYIZVzaiHrQw1gDJr0PT/useInheritedSectionBreakpoint.js\";import{getTestimonialCarouselBackgroundVariant,TESTIMONIAL_CMS_BG_VARIANT_ATTR}from\"https://framerusercontent.com/modules/zb4EfFSvYfha8rCUQ5UG/WMUEp89zHibdEdnVLzKM/testimonialCarouselBackgrounds.js\";import{hideNonDisplayableTestimonialItems}from\"https://framerusercontent.com/modules/yViEmUCqysmi1x1XmBkR/Lx2u69EfXos1bzuyefxA/reviewModeration.js\";import{isFramerEditorEnvironment,setElementInert}from\"https://framerusercontent.com/modules/utSMfW8SFuWGMAtLH63t/kxuEoP1Ai1XrnDSuImYH/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]);}\nexport const __FramerMetadata__ = {\"exports\":{\"SECTION_SEARCH_RESULTS_CMS_ROWS_ID\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"CMS_COLLECTION_CAP_READY_ATTR\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"CMS_COLLECTION_GRID_ATTR\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"countVisibleCmsCollectionCards\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"CmsCollectionLayoutCriticalCssOptions\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"applyCmsCollectionLayoutToHost\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"isCmsCollectionLoadMoreExhausted\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"getCmsCollectionLayoutRoots\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"isCmsLayoutChromeElement\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"buildCmsCollectionRowsCriticalCss\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"CMS_COLLECTION_PAGINATION_STYLES\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"isCmsCollectionPaginationControl\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"isCmsCollectionLoadMoreBusy\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"getCmsCollectionPaginationControls\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"CMS_COLLECTION_ROWS_ATTR\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"getCmsCollectionItemElements\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"isCmsCollectionPlaceholder\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"buildCmsCollectionFlexWrapCriticalCss\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"getCmsCollectionLayoutId\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"SECTION_GRID_CARDS_CMS_GRID_ID\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"buildCmsCollectionItemCapCriticalCss\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"buildCmsCollectionLayoutCriticalCss\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"getCmsCollectionLayoutSelectors\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"dedupeTestimonialArticleIds\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"isCmsCollectionCardElement\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"cssDeclarationsFromStyles\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"remapElementIdTree\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"getCollectionRoots\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"CmsCollectionLayoutSelectors\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"buildCmsCollectionGridCriticalCss\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"CMS_COLLECTION_PLACEHOLDER_ATTR\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"isCmsCollectionLoadMoreControl\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"useCmsCollectionLayout\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"syncCmsCollectionListItemRoles\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"expandCmsCollectionPagination\":{\"type\":\"function\",\"isAsync\":true,\"annotations\":{\"framerContractVersion\":\"1\"}},\"CMS_COLLECTION_LAYOUT_ATTR\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"useCmsTestimonialCarouselColumns\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"setCmsCollectionSearchActive\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"CMS_COLLECTION_SEARCHING_ATTR\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"getCmsCollectionCardElements\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"getCollectionGridRoot\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","import*as React from\"react\";export function injectBreakpointIntoCmsSlot(node,breakpoint,sectionContext){if(Array.isArray(node)){return node.map(child=>injectBreakpointIntoCmsSlot(child,breakpoint,sectionContext));}if(!/*#__PURE__*/React.isValidElement(node)){return node;}const nextChildren=node.props.children!=null?injectBreakpointIntoCmsSlot(node.props.children,breakpoint,sectionContext):node.props.children;const isCustomComponent=typeof node.type!==\"string\"&&node.type!==React.Fragment;const hasResponsiveBreakpoint=Object.prototype.hasOwnProperty.call(node.props,\"breakpoint\");const nextProps={};if(isCustomComponent){nextProps.canvasBreakpoint=breakpoint;}if(hasResponsiveBreakpoint||isCustomComponent){nextProps.breakpoint=breakpoint;}if(sectionContext&&isCustomComponent){if(sectionContext.theme!==undefined){nextProps.theme=sectionContext.theme;nextProps.themeTricount=sectionContext.theme;}if(sectionContext.brand!==undefined){nextProps.brand=sectionContext.brand;}}if(nextChildren!==node.props.children){nextProps.children=nextChildren;}if(Object.keys(nextProps).length===0){return node;}return /*#__PURE__*/React.cloneElement(node,nextProps);}\nexport const __FramerMetadata__ = {\"exports\":{\"SectionCmsInjectionContext\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"injectBreakpointIntoCmsSlot\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./injectBreakpointIntoCmsSlot.map","import{isDevelopment}from\"https://framerusercontent.com/modules/llQ8rGhCICS7CbBpBDaR/XSNbagNzLL44wGo0ydJp/env.js\";export const SEARCH_QUERY_CHANGE_EVENT=\"bunq:search-query-change\";const LOCALE_PATH_PREFIX=/^(\\/[a-z]{2}(?:-[a-z]{2})?)(?=\\/|$)/i;export function normalizeSearchPathname(path){const withLeading=path.startsWith(\"/\")?path:`/${path}`;const trimmed=withLeading.replace(/\\/+$/,\"\");return trimmed.length>0?trimmed:\"/\";}function stripLocalePrefixFromSearchPath(path){const normalized=normalizeSearchPathname(path);const match=LOCALE_PATH_PREFIX.exec(normalized);if(!match)return normalized;const rest=normalized.slice(match[1].length);return rest?normalizeSearchPathname(rest):\"/\";}function searchPathnamesMatch(currentPath,searchResultsPath){const current=normalizeSearchPathname(currentPath);const target=normalizeSearchPathname(searchResultsPath);if(current===target)return true;return stripLocalePrefixFromSearchPath(current)===stripLocalePrefixFromSearchPath(target);}export function readSearchQueryParam(param){if(typeof window===\"undefined\")return\"\";try{return new URLSearchParams(window.location.search).get(param)?.trim()??\"\";}catch(error){if(isDevelopment()){console.error(\"searchQuerySync: failed to read search query from URL\",error);}return\"\";}}export function readSeededSearchQuery(param,searchResultsPath){if(!isOnSearchResultsPath(searchResultsPath))return\"\";return readSearchQueryParam(param);}export function stripSearchQueryParamOffResultsPage(param,searchResultsPath){if(isOnSearchResultsPath(searchResultsPath))return;if(!readSearchQueryParam(param))return;replaceSearchQueryParam(param,\"\");}export function isOnSearchResultsPath(searchResultsPath){if(typeof window===\"undefined\")return false;try{return searchPathnamesMatch(window.location.pathname,searchResultsPath);}catch(error){if(isDevelopment()){console.error(\"searchQuerySync: failed to compare pathname to search results path\",error);}return false;}}export function replaceSearchQueryParam(param,query){if(typeof window===\"undefined\")return;const trimmed=query.trim();try{const url=new URL(window.location.href);if(trimmed){url.searchParams.set(param,trimmed);}else{url.searchParams.delete(param);}const next=`${url.pathname}${url.search}${url.hash}`;const current=`${window.location.pathname}${window.location.search}${window.location.hash}`;if(next!==current){window.history.replaceState(window.history.state,\"\",next);}}catch(error){if(isDevelopment()){console.error(\"searchQuerySync: failed to replace search query in URL\",error);}}dispatchSearchQueryChange(param,trimmed);}export function dispatchSearchQueryChange(param,query){if(typeof window===\"undefined\")return;const detail={param,query:query.trim()};window.dispatchEvent(new CustomEvent(SEARCH_QUERY_CHANGE_EVENT,{detail}));}export function subscribeSearchQueryChange(handler){if(typeof window===\"undefined\")return()=>undefined;const listener=event=>{const custom=event;const detail=custom.detail;if(!detail||typeof detail.param!==\"string\"||typeof detail.query!==\"string\"){return;}handler(detail);};window.addEventListener(SEARCH_QUERY_CHANGE_EVENT,listener);return()=>window.removeEventListener(SEARCH_QUERY_CHANGE_EVENT,listener);}\nexport const __FramerMetadata__ = {\"exports\":{\"normalizeSearchPathname\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"replaceSearchQueryParam\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"readSearchQueryParam\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"stripSearchQueryParamOffResultsPage\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"subscribeSearchQueryChange\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"dispatchSearchQueryChange\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"SearchQueryChangeDetail\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"SEARCH_QUERY_CHANGE_EVENT\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"readSeededSearchQuery\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"isOnSearchResultsPath\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./searchQuerySync.map","export const MODAL_SEARCH_UI_STRING_TRANSLATIONS={bg:{resultCount:\"Резултати: {count}\",showingResults:\"Показват се {shown} от {total} резултата. Продължавай да пишеш, за да ги ограничиш.\"},de:{resultCount:\"Ergebnisse: {count}\",showingResults:\"{shown} von {total} Ergebnissen werden angezeigt. Tipp weiter, um sie einzugrenzen.\"},de_AT:{showingResults:\"{shown} von {total} Ergebnissen angezeigt. Tippe weiter, um sie einzugrenzen.\"},es:{resultCount:\"Resultados: {count}\",showingResults:\"Mostrando {shown} de {total} resultados. Sigue escribiendo para acotarlos.\"},fr:{resultCount:\"R\\xe9sultats : {count}\",showingResults:\"{shown} r\\xe9sultats affich\\xe9s sur {total}. Continue \\xe0 taper pour les affiner.\"},it:{resultCount:\"Risultati: {count}\",showingResults:\"{shown} di {total} risultati mostrati. Continua a scrivere per restringerli.\"},nl:{resultCount:\"Resultaten: {count}\",showingResults:\"{shown} van {total} resultaten getoond. Typ verder om ze te verfijnen.\"},pl:{resultCount:\"Wyniki: {count}\",showingResults:\"Wyświetlono {shown} z {total} wynik\\xf3w. Pisz dalej, aby zawęzić wyniki.\"},pt_PT:{resultCount:\"Resultados: {count}\",showingResults:\"A mostrar {shown} de {total} resultados. Continua a escrever para os filtrar.\"},sk:{resultCount:\"V\\xfdsledky: {count}\",showingResults:\"Zobrazuje sa {shown} z {total} v\\xfdsledkov. P\\xedš ďalej a z\\xfaž ich.\"}};// recompile: cit3454-t1\n\nexport const __FramerMetadata__ = {\"exports\":{\"MODAL_SEARCH_UI_STRING_TRANSLATIONS\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./modalSearch.map","import{createUiStringReader}from\"https://framerusercontent.com/modules/2sEnrolSYrCtGI5xw54b/4xtN3LJ4FXMvrNBe5CHl/uiStrings.js\";import{MODAL_SEARCH_UI_STRING_TRANSLATIONS}from\"https://framerusercontent.com/modules/ykkR4NKjThcZeBK5ngsO/eq0V3botktSmGsRHp4T1/modalSearch.js\";export const MODAL_SEARCH_UI_STRINGS={resultCount:\"Results: {count}\",showingResults:\"Showing {shown} of {total} results. Keep typing to narrow them down.\"};export function getModalSearchStrings(language){const t=createUiStringReader(MODAL_SEARCH_UI_STRINGS,MODAL_SEARCH_UI_STRING_TRANSLATIONS,language);return{resultCount:count=>t(\"resultCount\",{count}),showingResults:(shown,total)=>t(\"showingResults\",{shown,total})};}// recompile: cit3454-t2\n\nexport const __FramerMetadata__ = {\"exports\":{\"MODAL_SEARCH_UI_STRINGS\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"ModalSearchStrings\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"getModalSearchStrings\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./modalSearchStrings.map","/**\n * @framerDisableUnlink\n * @framerIntrinsicWidth 280\n * @framerIntrinsicHeight 48\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight auto\n */import{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import{forwardRef,useRef,useState,useEffect,useLayoutEffect,useCallback,useId,useMemo,startTransition}from\"react\";import{createPortal}from\"react-dom\";import{addPropertyControls,ControlType,RenderTarget,useIsStaticRenderer}from\"framer\";import{useReducedMotion,useEffectiveBreakpoint,getRadius,getSpacing,getTypographyStyles,getFocusOutlineWidth,getZIndex,getResponsiveSpacing,getShadow,getColorValue,getTransition}from\"https://framerusercontent.com/modules/FDyEZnwYBuMJmxNPNbkh/o8HvPx0AEeB6fHDPq2cJ/colors.js\";import{getGap,VISUALLY_HIDDEN_STYLE}from\"https://framerusercontent.com/modules/LQuuOAryIVnwswuGx8Ex/giy81PU7vHV8vs0co0Cz/layoutStyles.js\";import{getInputContainerStyle,getInputElementStyle,getInputPlaceholderColor}from\"https://framerusercontent.com/modules/8bYsP9WP0FSjOW4yE6SU/PcdiPElsxI2MH8WbWjO6/inputStyles.js\";import{useModal}from\"https://framerusercontent.com/modules/w9au2mLWaooURZgTwDza/7N1ZOVfa2PdehdMNHYDI/useModal.js\";import{useInteractiveStates}from\"https://framerusercontent.com/modules/Oyd67FvSjdl6uCVEyAij/14FJa2dF7nkq7KadeT6u/useInteractiveStates.js\";import{getIcon}from\"https://framerusercontent.com/modules/OuAHgtW29YOxApe6lCN1/x6VYfnQbS7Urc2bc3NKd/icons.js\";import{iconPixelSizeForSquareSide}from\"https://framerusercontent.com/modules/Ajjw0fi7RIb9ZhcKml39/ybYliQmQh8TM4GSgGrW0/svg.js\";import{getModalBackdropColor,getModalContainerStyle,getModalThemeColors,getResponsiveModalWidths}from\"https://framerusercontent.com/modules/XsnVuU913anGEMMeDQoB/OV4tss2ssVFi1fO1ZXHJ/modalConstants.js\";import{ModalOverlayAnimatePresence}from\"https://framerusercontent.com/modules/gnPzazAoBpiJ3sn3T5EM/Le2kigSHGPiVnEVOQFtV/ModalOverlayAnimatePresence.js\";import{createModalVariants}from\"https://framerusercontent.com/modules/4txbpRwhPsY7unmUb1pS/IEipsElHO5rJHTpkAylg/motionVariants.js\";import{ButtonCloseWithRef}from\"https://framerusercontent.com/modules/K5WXeTRnlTrVIxulnLAb/k29OZO1g42PwXqdVeiqq/ButtonClose.js\";import{DEFAULT_DEBOUNCE_MS as DEFAULT_DEBOUNCE_DELAY}from\"https://framerusercontent.com/modules/FH2wN6RYgVf0K5AZfGoS/Ze9jQYMiJqcdjvk51egr/timing.js\";import{injectBreakpointIntoCmsSlot}from\"https://framerusercontent.com/modules/qSAi9VileQLI8aez6prv/Ad2aY254SZWgAy6AB6Nk/injectBreakpointIntoCmsSlot.js\";import{applySearchFilter,clearSearchFilter,getFilterableItems,MIN_SEARCH_QUERY_LENGTH}from\"https://framerusercontent.com/modules/RwYqM9peexHuGWb1RjgA/SWS0DFNyymmRqtv96AaW/collectionSearchFilter.js\";import{loadHelpSearchIndex,slugsMatchingQuery}from\"https://framerusercontent.com/modules/BNc22V5OleFxwlAtFbLs/LVgA5ixkee3rIKkpgBV8/helpSearchIndex.js\";import{isOnSearchResultsPath,readSearchQueryParam,readSeededSearchQuery,replaceSearchQueryParam,stripSearchQueryParamOffResultsPage,subscribeSearchQueryChange}from\"https://framerusercontent.com/modules/qA3udEKSZSTxpWEKsM49/w5TPD66y9e6fMBlQwG8E/searchQuerySync.js\";import{MODAL_SURFACE_VARIANT_PROPERTY_CONTROL,ModalSurfaceContent,ModalSurfaceOverlay}from\"https://framerusercontent.com/modules/j1lbN8XHe1XwXCOxVvuu/OgleybrU9v7EwynLxShf/modalSurface.js\";import{getBrandFocusColor,resolveBrand}from\"https://framerusercontent.com/modules/30edN7qiEI1dwQI5mdZ5/rczlMVpO86xUCrPYmNd4/themeHelpers.js\";import{brandPropertyControl,themePropertyControls}from\"https://framerusercontent.com/modules/T2sckviMCmJ4Jmbp9jxp/zJxITVIOZG02MHJo3RLt/brandControl.js\";import{resolveThemeProp}from\"https://framerusercontent.com/modules/lFWBe5qCxlzWknbvQ1Np/XNuxV4GDM1tSiiZKcYOz/themeControl.js\";import{isDevelopment}from\"https://framerusercontent.com/modules/llQ8rGhCICS7CbBpBDaR/XSNbagNzLL44wGo0ydJp/env.js\";import{breakpointPropertyControl}from\"https://framerusercontent.com/modules/9AEeOcnhLXJS5wK1KhPx/HxesVu229HtloeOn45Cz/breakpointControl.js\";import{getAccessibilityStrings}from\"https://framerusercontent.com/modules/sLKTWVvx6xNKxv4cbSHt/gjfUlxEaUiZUmHQTPqDX/accessibilityLocalization.js\";import{getModalSearchStrings}from\"https://framerusercontent.com/modules/GUmK3XezNjwXTSyjhGwn/Yy0cyJzfSC7LvjAkOa99/modalSearchStrings.js\";import{usePageLanguage}from\"https://framerusercontent.com/modules/dVNjDhV3hu8667Ecdtis/fqfFx6PZxzQxdiQqyTBh/usePageLanguage.js\";const RESULTS_REFRESH_INTERVAL_MS=1e3;const LEGACY_DEFAULT_ARIA_LABEL=\"Search\";function supportsTopLayerPopover(){return typeof HTMLElement!==\"undefined\"&&typeof HTMLElement.prototype.showPopover===\"function\";}const DEFAULT_MAX_RESULTS=8;const ModalSearchInternal=/*#__PURE__*/forwardRef(function ModalSearchInternal(props,_ref){const theme=resolveThemeProp(props);const{id,breakpoint:breakpointProp=\"desktop\",presentation=\"inline\",surface=\"liquid-glass\",brand=\"bunq\",glassVariant,surfaceTriggerTintOverlay,triggerSize=\"default\",triggerPlaceholder=\"Search...\",searchPlaceholder=\"Search...\",noResultsText=\"No results found.\",emptyStateText=\"Type to search help articles\",minQueryText=\"Keep typing to see results\",collectionList,isOpen:controlledIsOpen,showModal,hidden=false,onClose,closeOnBackdropClick=true,closeOnEscape=true,debounceDelay=DEFAULT_DEBOUNCE_DELAY,maxResults=DEFAULT_MAX_RESULTS,showAllResultsLabel=\"Show all search results\",searchResultsPath=\"/search\",searchQueryParam=\"q\",initialQuery,searchIndexUrl=\"\",ariaLabel=\"\",style}=props;const pageLanguage=usePageLanguage();const strings=useMemo(()=>getAccessibilityStrings(pageLanguage),[pageLanguage]);const searchStrings=useMemo(()=>getModalSearchStrings(pageLanguage),[pageLanguage]);const authorAriaLabel=typeof ariaLabel===\"string\"?ariaLabel.trim():\"\";const resolvedAriaLabel=authorAriaLabel&&authorAriaLabel!==LEGACY_DEFAULT_ARIA_LABEL?authorAriaLabel:strings.search;const isInline=presentation===\"inline\";const effectiveSurface=resolveBrand(brand)===\"tricount\"?\"solid\":surface;const breakpoint=useEffectiveBreakpoint(breakpointProp);const reducedMotion=useReducedMotion();const isStatic=useIsStaticRenderer();const modalMotion=useMemo(()=>createModalVariants(reducedMotion||isStatic,{liquidGlass:effectiveSurface===\"liquid-glass\",backdropColor:getModalBackdropColor(theme)}),[reducedMotion,isStatic,effectiveSurface,theme]);const isCanvas=RenderTarget.current()===RenderTarget.canvas;const[hasMounted,setHasMounted]=useState(false);useLayoutEffect(()=>{setHasMounted(true);},[]);const modalId=useId();const safeModalId=modalId.replace(/:/g,\"\");const searchInputId=`modal-search-input-${safeModalId}`;const searchFieldId=`modal-search-field-${safeModalId}`;const resultsScrollerId=`modal-search-scroller-${safeModalId}`;const styleScope=`${resolveBrand(brand)}-${theme??\"default\"}`.replace(/[^a-z0-9-]/gi,\"\");const inputSelector=`[data-modal-search-input=\"${styleScope}\"]`;const fieldSelector=`[data-modal-search-field=\"${styleScope}\"]`;const scrollerSelector=`[data-modal-search-scroller=\"${styleScope}\"]`;const filterId=useRef(`modal-search-${safeModalId}`);const resultsScrollerRef=useRef(null);const resultsContainerRef=useRef(null);const resultsPanelRef=useRef(null);const searchInputRef=useRef(null);const containerRef=useRef(null);const hasCollectionList=Array.isArray(collectionList)?collectionList.filter(Boolean).length>0:Boolean(collectionList);const seededQueryFromProp=(initialQuery??\"\").trim();const[searchQuery,setSearchQuery]=useState(seededQueryFromProp);const[debouncedQuery,setDebouncedQuery]=useState(seededQueryFromProp);const[resultCounts,setResultCounts]=useState({matchCount:0,shownCount:0});const[appliedFilterQuery,setAppliedFilterQuery]=useState(null);const[scrollEdges,setScrollEdges]=useState({top:false,bottom:false});const[inlinePanelDismissed,setInlinePanelDismissed]=useState(false);const[inlinePanelBox,setInlinePanelBox]=useState(null);const didSeedFromUrlRef=useRef(Boolean(seededQueryFromProp));const isLocalQueryDriverRef=useRef(false);const searchQueryRef=useRef(searchQuery);const debouncedQueryRef=useRef(debouncedQuery);searchQueryRef.current=searchQuery;debouncedQueryRef.current=debouncedQuery;const[collectionMounted,setCollectionMounted]=useState(()=>isCanvas||Boolean(seededQueryFromProp)||!isInline&&(controlledIsOpen===true||showModal===true));const mountCollection=useCallback(()=>{setCollectionMounted(true);},[]);const[bodyIndex,setBodyIndex]=useState(null);const{isHovered,isFocused,handlers:triggerHandlers}=useInteractiveStates(false);const effectiveControlledIsOpen=isInline?false:controlledIsOpen===undefined&&showModal!==true?undefined:(controlledIsOpen??false)||showModal===true;const{isOpen,open:handleOpen,close:handleClose,modalRef,closeButtonRef,backdropProps}=useModal({isOpen:effectiveControlledIsOpen,onClose,closeOnEscape:isInline?false:closeOnEscape,closeOnBackdropClick:isInline?false:closeOnBackdropClick,inertBackground:isInline?false:undefined});useEffect(()=>{const applyDebounced=()=>setDebouncedQuery(searchQuery);const timer=setTimeout(applyDebounced,debounceDelay);return()=>clearTimeout(timer);},[searchQuery,debounceDelay]);useLayoutEffect(()=>{if(didSeedFromUrlRef.current||isCanvas)return;didSeedFromUrlRef.current=true;if(seededQueryFromProp){setCollectionMounted(true);return;}stripSearchQueryParamOffResultsPage(searchQueryParam,searchResultsPath);const fromUrl=readSeededSearchQuery(searchQueryParam,searchResultsPath);if(!fromUrl)return;isLocalQueryDriverRef.current=false;setSearchQuery(fromUrl);setDebouncedQuery(fromUrl);setInlinePanelDismissed(false);setCollectionMounted(true);},[isCanvas,searchQueryParam,searchResultsPath,seededQueryFromProp]);const applyExternalSearchQuery=useCallback(nextQuery=>{isLocalQueryDriverRef.current=false;setSearchQuery(nextQuery);setDebouncedQuery(nextQuery);if(nextQuery.trim().length>0){setCollectionMounted(true);setInlinePanelDismissed(false);}else{setResultCounts({matchCount:0,shownCount:0});setAppliedFilterQuery(null);setInlinePanelDismissed(true);}},[]);useEffect(()=>{if(isCanvas||typeof window===\"undefined\")return undefined;const syncFromLocation=()=>{stripSearchQueryParamOffResultsPage(searchQueryParam,searchResultsPath);applyExternalSearchQuery(readSeededSearchQuery(searchQueryParam,searchResultsPath));};const unsubscribe=subscribeSearchQueryChange(detail=>{if(detail.param!==searchQueryParam)return;const current=searchQueryRef.current.trim();const currentDebounced=debouncedQueryRef.current.trim();if(detail.query===current&&detail.query===currentDebounced)return;if(isLocalQueryDriverRef.current&&detail.query===current)return;applyExternalSearchQuery(detail.query);});window.addEventListener(\"popstate\",syncFromLocation);return()=>{unsubscribe();window.removeEventListener(\"popstate\",syncFromLocation);};},[applyExternalSearchQuery,isCanvas,searchQueryParam,searchResultsPath]);useEffect(()=>{if(isCanvas||!isInline||typeof window===\"undefined\")return;if(!isOnSearchResultsPath(searchResultsPath))return;if(!isLocalQueryDriverRef.current)return;const trimmed=debouncedQuery.trim();if(readSearchQueryParam(searchQueryParam)===trimmed)return;replaceSearchQueryParam(searchQueryParam,trimmed);},[debouncedQuery,isCanvas,isInline,searchQueryParam,searchResultsPath]);useEffect(()=>{if(!isInline&&isOpen){setCollectionMounted(true);}},[isInline,isOpen]);useEffect(()=>{if(searchQuery.trim().length>0){setCollectionMounted(true);}},[searchQuery]);useEffect(()=>{if(isCanvas||searchQuery.trim().length<MIN_SEARCH_QUERY_LENGTH){return;}let cancelled=false;void loadHelpSearchIndex(searchIndexUrl||undefined).then(index=>{if(!cancelled){setBodyIndex(index);}});return()=>{cancelled=true;};},[isCanvas,searchIndexUrl,searchQuery]);const filterItems=useCallback(query=>{const container=resultsContainerRef.current;if(!container||isCanvas)return;const items=getFilterableItems(container);if(items.length===0)return;const extraSlugs=bodyIndex?slugsMatchingQuery(bodyIndex,query):undefined;const counts=applySearchFilter(items,query,filterId.current,maxResults,{extraSlugs});startTransition(()=>{setResultCounts(counts);setAppliedFilterQuery(query);});},[bodyIndex,isCanvas,maxResults]);useEffect(()=>{if(isCanvas||!hasCollectionList||!collectionMounted)return;if(!isInline&&!isOpen)return;filterItems(debouncedQuery);if(typeof MutationObserver===\"undefined\"){const intervalId=setInterval(()=>filterItems(debouncedQuery),RESULTS_REFRESH_INTERVAL_MS);return()=>clearInterval(intervalId);}let scheduled=0;const scheduleFilter=()=>{if(scheduled)return;scheduled=window.requestAnimationFrame(()=>{scheduled=0;filterItems(debouncedQuery);});};const observer=new MutationObserver(scheduleFilter);const resultsRoot=resultsContainerRef.current;if(resultsRoot){observer.observe(resultsRoot,{childList:true,subtree:true});}return()=>{observer.disconnect();if(scheduled)window.cancelAnimationFrame(scheduled);};},[debouncedQuery,filterItems,hasCollectionList,collectionMounted,isCanvas,isOpen,isInline,hasMounted]);useEffect(()=>{if(isInline)return;if(isOpen){startTransition(()=>{setSearchQuery(\"\");setDebouncedQuery(\"\");setResultCounts({matchCount:0,shownCount:0});setAppliedFilterQuery(null);});setCollectionMounted(true);}else{const container=resultsContainerRef.current;if(container){clearSearchFilter(getFilterableItems(container),filterId.current);}}},[isOpen,isInline]);useEffect(()=>{if(isInline||!isOpen||!searchInputRef.current)return undefined;const raf=requestAnimationFrame(()=>{searchInputRef.current?.focus();});return()=>cancelAnimationFrame(raf);},[isOpen,isInline]);const handleSearchChange=useCallback(e=>{const value=e.target.value;isLocalQueryDriverRef.current=true;if(value.trim().length>0){setCollectionMounted(true);}setSearchQuery(value);startTransition(()=>{setInlinePanelDismissed(false);});},[]);const handleClearSearch=useCallback(()=>{isLocalQueryDriverRef.current=true;startTransition(()=>{setSearchQuery(\"\");setDebouncedQuery(\"\");setResultCounts({matchCount:0,shownCount:0});setAppliedFilterQuery(null);setInlinePanelDismissed(true);});if(!isCanvas&&isInline&&isOnSearchResultsPath(searchResultsPath)){replaceSearchQueryParam(searchQueryParam,\"\");}const container=resultsContainerRef.current;if(container){clearSearchFilter(getFilterableItems(container),filterId.current);}searchInputRef.current?.focus();},[isCanvas,isInline,searchQueryParam,searchResultsPath]);const dismissInlinePanel=useCallback(()=>{setInlinePanelDismissed(true);},[]);const handleInlineFocusOut=useCallback(event=>{const next=event.relatedTarget;if(!(next instanceof Node))return;if(containerRef.current?.contains(next))return;if(resultsPanelRef.current?.contains(next))return;dismissInlinePanel();},[dismissInlinePanel]);const handleInlinePanelKeyDown=useCallback(event=>{if(event.key!==\"Escape\")return;event.preventDefault();searchInputRef.current?.focus();dismissInlinePanel();},[dismissInlinePanel]);const themeColors=useMemo(()=>getModalThemeColors(theme,brand),[theme,brand]);const responsiveCollectionList=useMemo(()=>injectBreakpointIntoCmsSlot(collectionList,breakpointProp,{theme,brand:resolveBrand(brand)}),[collectionList,breakpointProp,theme,brand]);const isLargeTrigger=triggerSize===\"large\";const isLiquidGlassTrigger=effectiveSurface===\"liquid-glass\";const triggerSidePx=isLargeTrigger?64:48;const iconSize=iconPixelSizeForSquareSide(triggerSidePx);const iconColor=themeColors.iconSecondary;const searchIconSVG=getIcon(\"search\",iconSize,iconColor,{opticalInset:0});const clearIconSVG=getIcon(\"x-circle\",iconSize,iconColor,{opticalInset:0});const triggerContainerStyle=getInputContainerStyle({breakpoint,theme,brand,disabled:false,isFocused,isHovered,reducedMotion});const triggerRadius=getRadius(isLargeTrigger?\"radius-xl\":\"radius-lg\");const triggerRadiusPx=(()=>{const parsed=parseFloat(String(triggerRadius));return Number.isFinite(parsed)?parsed:16;})();const triggerStyle=useMemo(()=>({...triggerContainerStyle,cursor:\"pointer\",userSelect:\"none\",WebkitUserSelect:\"none\",justifyContent:\"flex-start\",gap:getSpacing(12),width:\"100%\",minWidth:getSpacing(200),...isLargeTrigger?{height:getSpacing(64),borderRadius:triggerRadius}:{},...isLiquidGlassTrigger?{backgroundColor:\"transparent\",position:\"relative\",isolation:\"isolate\"}:{},...style}),[triggerContainerStyle,style,isLargeTrigger,isLiquidGlassTrigger,triggerRadius]);const triggerTextStyle=useMemo(()=>({...getTypographyStyles(isLargeTrigger?\"/Body XL/Light\":\"/Body LG/Light\",breakpoint),color:getInputPlaceholderColor(theme,brand),flex:1,textAlign:\"left\",overflow:\"hidden\",whiteSpace:\"nowrap\",textOverflow:\"ellipsis\"}),[theme,brand,breakpoint,isLargeTrigger]);const modalContentStyles=useMemo(()=>{const{maxWidth,minWidth}=getResponsiveModalWidths(breakpoint,{defaultMaxWidth:680,tabletMaxWidth:560,phoneMaxWidth:360});return{...getModalContainerStyle(breakpoint,{maxWidth,minWidth,surface:effectiveSurface}),overflow:\"hidden\",display:\"flex\",flexDirection:\"column\"};},[breakpoint,effectiveSurface]);const modalSearchContainerStyle=useMemo(()=>getInputContainerStyle({breakpoint,theme,brand,isFocused:false,isHovered:false,reducedMotion}),[breakpoint,theme,brand,reducedMotion]);const modalSearchInputStyle=useMemo(()=>getInputElementStyle({breakpoint,theme,brand}),[breakpoint,theme,brand]);const placeholderCSS=`\n            ${inputSelector}::placeholder {\n                color: ${getInputPlaceholderColor(theme,brand)};\n                opacity: 1;\n            }\n        `;const hideNativeSearchCancelCSS=`\n            ${inputSelector}::-webkit-search-cancel-button,\n            ${inputSelector}::-webkit-search-decoration,\n            ${inputSelector}::-webkit-search-results-button,\n            ${inputSelector}::-webkit-search-results-decoration {\n                -webkit-appearance: none;\n                appearance: none;\n                display: none;\n            }\n        `;const modalSearchFocusCSS=`\n            ${fieldSelector}:has(${inputSelector}:focus-visible) {\n                outline: ${getFocusOutlineWidth()} solid ${getBrandFocusColor(brand)};\n                outline-offset: ${getSpacing(2)};\n            }\n        `;const hideResultsScrollbarCSS=`\n            ${scrollerSelector} {\n                scrollbar-width: none;\n                -ms-overflow-style: none;\n            }\n            ${scrollerSelector}::-webkit-scrollbar {\n                width: 0;\n                height: 0;\n                display: none;\n            }\n        `;const resultsGap=useMemo(()=>isInline?\"0px\":getGap(\"sm\",breakpoint),[breakpoint,isInline]);useLayoutEffect(()=>{if(!hasCollectionList||!collectionMounted)return undefined;const container=resultsContainerRef.current;if(!container)return undefined;const applyWrapperStyles=()=>{const items=getFilterableItems(container);const wrapper=items[0]?.parentElement??container.firstElementChild;if(!wrapper)return;wrapper.style.display=\"flex\";wrapper.style.flexDirection=\"column\";wrapper.style.alignItems=\"stretch\";wrapper.style.width=\"100%\";wrapper.style.maxWidth=\"100%\";wrapper.style.gap=resultsGap;};applyWrapperStyles();if(typeof MutationObserver===\"undefined\")return undefined;const observer=new MutationObserver(applyWrapperStyles);observer.observe(container,{childList:true,subtree:true});return()=>observer.disconnect();},[hasCollectionList,collectionMounted,resultsGap,isOpen,isInline,hasMounted]);const updateScrollEdges=useCallback(()=>{const scroller=resultsScrollerRef.current;if(!scroller)return;const{scrollTop,scrollHeight,clientHeight}=scroller;const maxScroll=scrollHeight-clientHeight;const next={top:scrollTop>1,bottom:maxScroll>1&&scrollTop<maxScroll-1};setScrollEdges(current=>current.top===next.top&&current.bottom===next.bottom?current:next);},[]);const activeQuery=debouncedQuery.trim();const isSearching=activeQuery.length>=MIN_SEARCH_QUERY_LENGTH;const isQueryTooShort=activeQuery.length>0&&!isSearching;const{matchCount,shownCount}=resultCounts;const hasMatches=isSearching&&matchCount>0;const showResultsList=hasCollectionList&&hasMatches;const inlineWantsPanel=isInline&&!inlinePanelDismissed&&(showModal===true||searchQuery.trim().length>0);const showInlinePanel=Boolean(inlineWantsPanel)&&!isOnSearchResultsPath(searchResultsPath);const isFixedInlinePanel=isInline&&hasMounted&&!isCanvas;const isTopLayerPanel=isFixedInlinePanel&&supportsTopLayerPopover();const isPortaledPanel=isFixedInlinePanel&&!isTopLayerPanel;const topLayerOpenPanelRef=useRef(null);useLayoutEffect(()=>{const panel=resultsPanelRef.current;if(!panel||!isTopLayerPanel)return;if(panel.getAttribute(\"popover\")!==\"manual\"){panel.setAttribute(\"popover\",\"manual\");}const isOpenInTopLayer=topLayerOpenPanelRef.current===panel;if(showInlinePanel===isOpenInTopLayer)return;try{if(showInlinePanel){panel.showPopover();topLayerOpenPanelRef.current=panel;return;}panel.hidePopover();topLayerOpenPanelRef.current=null;}catch{topLayerOpenPanelRef.current=null;}},[isTopLayerPanel,showInlinePanel,hidden]);useEffect(()=>{if(isInline){if(!showInlinePanel)return undefined;}else if(!isOpen){return undefined;}updateScrollEdges();const scroller=resultsScrollerRef.current;if(!scroller||typeof ResizeObserver===\"undefined\")return undefined;const observer=new ResizeObserver(updateScrollEdges);observer.observe(scroller);return()=>observer.disconnect();},[isOpen,isInline,showInlinePanel,updateScrollEdges,resultCounts]);useEffect(()=>{if(!isInline||!showInlinePanel)return undefined;const onPointerDown=event=>{const target=event.target;if(!(target instanceof Node))return;if(containerRef.current?.contains(target))return;if(resultsPanelRef.current?.contains(target))return;dismissInlinePanel();};document.addEventListener(\"pointerdown\",onPointerDown,true);return()=>document.removeEventListener(\"pointerdown\",onPointerDown,true);},[isInline,showInlinePanel,dismissInlinePanel]);const inlinePanelBoxRef=useRef(null);const applyInlinePanelBox=useCallback((next,syncReact)=>{inlinePanelBoxRef.current=next;const panel=resultsPanelRef.current;if(panel){panel.style.position=\"fixed\";panel.style.top=`${next.top}px`;panel.style.left=`${next.left}px`;panel.style.width=`${next.width}px`;panel.style.right=\"auto\";panel.style.bottom=\"auto\";panel.style.zIndex=String(getZIndex(\"elevated\"));panel.style.visibility=\"visible\";}if(syncReact){setInlinePanelBox(prev=>prev&&prev.top===next.top&&prev.left===next.left&&prev.width===next.width?prev:next);}},[]);const updateInlinePanelBox=useCallback(options=>{const syncReact=options?.syncReact!==false;const field=(searchInputRef.current?.parentElement)??(typeof document!==\"undefined\"?document.getElementById(searchFieldId):null);const panel=resultsPanelRef.current;if(!field)return;const rect=field.getBoundingClientRect();const gap=Number.parseFloat(String(getSpacing(8)))||8;const navHeight=Number.parseFloat(typeof document!==\"undefined\"?getComputedStyle(document.documentElement).getPropertyValue(\"--nav-header-height\"):\"\")||0;if(rect.bottom<=navHeight+gap){if(panel)panel.style.visibility=\"hidden\";return;}applyInlinePanelBox({top:rect.bottom+gap,left:rect.left,width:rect.width},syncReact);},[applyInlinePanelBox,searchFieldId]);useLayoutEffect(()=>{if(!isInline||isCanvas||!hasMounted)return undefined;updateInlinePanelBox({syncReact:true});if(!showInlinePanel)return undefined;const onResize=()=>updateInlinePanelBox({syncReact:true});const onScroll=()=>updateInlinePanelBox({syncReact:false});window.addEventListener(\"resize\",onResize);window.addEventListener(\"scroll\",onScroll,{capture:true,passive:true});const visualViewport=window.visualViewport;visualViewport?.addEventListener(\"resize\",onResize);visualViewport?.addEventListener(\"scroll\",onScroll);return()=>{window.removeEventListener(\"resize\",onResize);window.removeEventListener(\"scroll\",onScroll,true);visualViewport?.removeEventListener(\"resize\",onResize);visualViewport?.removeEventListener(\"scroll\",onScroll);};},[isInline,isCanvas,hasMounted,showInlinePanel,updateInlinePanelBox,searchQuery,resultCounts]);const buildSearchResultsHref=useCallback(query=>{const trimmed=query.trim();if(!trimmed)return searchResultsPath;const path=searchResultsPath.startsWith(\"/\")?searchResultsPath:`/${searchResultsPath}`;const params=new URLSearchParams;params.set(searchQueryParam,trimmed);return`${path}?${params.toString()}`;},[searchResultsPath,searchQueryParam]);const navigateToSearchResults=useCallback(query=>{if(typeof window===\"undefined\"||isCanvas)return;const trimmed=query.trim();if(trimmed.length<MIN_SEARCH_QUERY_LENGTH)return;if(isOnSearchResultsPath(searchResultsPath)){isLocalQueryDriverRef.current=true;setDebouncedQuery(query);replaceSearchQueryParam(searchQueryParam,trimmed);setInlinePanelDismissed(false);return;}const href=buildSearchResultsHref(trimmed);try{const current=new URL(window.location.href);const next=new URL(href,window.location.origin);if(current.pathname===next.pathname&&current.search===next.search){setInlinePanelDismissed(false);return;}}catch(error){if(isDevelopment()){console.error(\"ModalSearch: failed to compare current URL before navigate\",error);}}window.location.assign(href);},[buildSearchResultsHref,isCanvas,searchQueryParam,searchResultsPath]);const handleInlineKeyDown=useCallback(event=>{if(event.key===\"Escape\"){event.preventDefault();if(searchQuery.length>0){handleClearSearch();}else{dismissInlinePanel();searchInputRef.current?.blur();}return;}if(event.key===\"Enter\"){event.preventDefault();navigateToSearchResults(searchQuery);}},[searchQuery,handleClearSearch,dismissInlinePanel,navigateToSearchResults]);const filterSettledForActiveQuery=collectionMounted&&appliedFilterQuery===debouncedQuery;const statusMessage=!hasCollectionList?\"\":isQueryTooShort?minQueryText:!isSearching?isInline?\"\":emptyStateText:filterSettledForActiveQuery&&matchCount===0?noResultsText:\"\";const resultsSummaryText=!hasMatches||!filterSettledForActiveQuery?\"\":matchCount>shownCount?searchStrings.showingResults(shownCount,matchCount):searchStrings.resultCount(matchCount);const resultsSummary=isInline?\"\":resultsSummaryText;const inlineAnnouncement=isInline&&showInlinePanel?statusMessage||resultsSummaryText:\"\";const fadeSize=getSpacing(24);const resultsMask=scrollEdges.top||scrollEdges.bottom?`linear-gradient(to bottom, transparent 0px, black ${scrollEdges.top?fadeSize:\"0px\"}, black calc(100% - ${scrollEdges.bottom?fadeSize:\"0px\"}), transparent 100%)`:undefined;if(hidden)return null;const portalTarget=typeof document!==\"undefined\"?containerRef.current?.ownerDocument?.body??document.body:null;const hasStatusCopy=Boolean(statusMessage||resultsSummary);const resultsStatusStyle={flexShrink:0,...getTypographyStyles(\"/Body SM/Light\",breakpoint),color:themeColors.textSecondary,textAlign:statusMessage?\"center\":\"left\",...hasStatusCopy?{paddingBottom:getGap(\"sm\",breakpoint)}:{height:0,overflow:\"hidden\",lineHeight:0}};const resultsScrollerStyle={flex:\"0 1 auto\",overflowY:\"auto\",minHeight:0,paddingLeft:0,paddingRight:0,...resultsMask?{maskImage:resultsMask,WebkitMaskImage:resultsMask}:{}};const collectionResultsNode=hasCollectionList&&collectionMounted?/*#__PURE__*/_jsx(\"div\",{id:`modal-search-results-${safeModalId}`,\"data-modal-search-results\":\"\",ref:resultsContainerRef,style:showResultsList?undefined:{display:\"none\"},children:responsiveCollectionList}):null;const canvasEmptySlot=!hasCollectionList&&isCanvas?/*#__PURE__*/_jsx(\"div\",{style:{padding:`${getGap(\"xl\",breakpoint)} ${getGap(\"lg\",breakpoint)}`,textAlign:\"center\",borderRadius:getRadius(\"radius-lg\"),background:themeColors.bgTertiary},children:/*#__PURE__*/_jsxs(\"span\",{style:{...getTypographyStyles(\"/Body MD/Light\",breakpoint),color:themeColors.textTertiary},children:[\"Connect a CMS Collection List to the \",/*#__PURE__*/_jsx(\"strong\",{children:\"Collection List\"}),\" slot to enable search results.\"]})}):null;if(isInline){const fieldPlaceholder=searchPlaceholder||triggerPlaceholder;const inlineInputStyle={...getInputElementStyle({breakpoint,theme,brand}),flex:1,width:\"100%\",minWidth:0,paddingLeft:getResponsiveSpacing(isLargeTrigger?24:20,breakpoint),paddingRight:0};const trailingIconPad=getResponsiveSpacing(isLargeTrigger?20:16,breakpoint);const panelGap=getSpacing(8);const panelRadius=getRadius(isLargeTrigger?\"radius-xl\":\"radius-lg\");const inlinePanelStyle=isFixedInlinePanel?{position:\"fixed\",top:inlinePanelBox?.top??0,left:inlinePanelBox?.left??0,right:\"auto\",bottom:\"auto\",width:inlinePanelBox?.width??\"100%\",margin:0,border:\"none\",color:\"inherit\",zIndex:getZIndex(\"elevated\"),display:showInlinePanel?\"flex\":\"none\",flexDirection:\"column\",maxHeight:\"min(60vh, 420px)\",overflow:\"hidden\",borderRadius:panelRadius,backgroundColor:themeColors.bgSecondary,boxShadow:getShadow(\"medium\"),paddingTop:0,paddingBottom:0,paddingLeft:0,paddingRight:0}:{position:\"absolute\",left:0,right:0,top:`calc(100% + ${panelGap})`,zIndex:getZIndex(\"elevated\"),display:showInlinePanel?\"flex\":\"none\",flexDirection:\"column\",maxHeight:\"min(60vh, 420px)\",overflow:\"hidden\",borderRadius:panelRadius,backgroundColor:themeColors.bgSecondary,boxShadow:getShadow(\"medium\"),paddingTop:0,paddingBottom:0,paddingLeft:0,paddingRight:0};const showAllHref=showAllResultsLabel.trim().length>0&&isSearching&&searchQuery.trim().length>=MIN_SEARCH_QUERY_LENGTH?buildSearchResultsHref(searchQuery):null;const showAllDivider=themeColors.borderSecondary;const showAllStyle={display:\"block\",flexShrink:0,padding:`${getSpacing(14)} ${getSpacing(16)}`,borderTop:`1px solid ${showAllDivider}`,...getTypographyStyles(\"/Body MD/Heavy\",breakpoint),color:getColorValue(resolveBrand(brand)===\"tricount\"?\"/Text/text-brand-tricount\":\"/Text/text-brand-bunq\"),textDecoration:\"none\",cursor:\"pointer\",backgroundColor:themeColors.bgTertiary,borderLeft:\"none\",borderRight:\"none\",borderBottom:\"none\",width:\"100%\",textAlign:\"left\",boxSizing:\"border-box\"};const inlineResultsPanel=/*#__PURE__*/_jsxs(\"div\",{ref:resultsPanelRef,\"data-bunq-search-dropdown\":\"\",\"aria-hidden\":!showInlinePanel,style:inlinePanelStyle,onKeyDown:handleInlinePanelKeyDown,children:[/*#__PURE__*/_jsx(\"div\",{style:{...resultsStatusStyle,paddingLeft:getSpacing(16),paddingRight:getSpacing(16)},children:statusMessage||resultsSummary}),/*#__PURE__*/_jsxs(\"div\",{id:resultsScrollerId,\"data-modal-search-scroller\":styleScope,ref:resultsScrollerRef,role:\"region\",\"aria-label\":strings.searchResults,onScroll:updateScrollEdges,style:resultsScrollerStyle,children:[collectionResultsNode,canvasEmptySlot]}),showAllHref?/*#__PURE__*/_jsx(\"a\",{href:showAllHref,style:showAllStyle,onClick:event=>{if(event.metaKey||event.ctrlKey||event.shiftKey||event.altKey||event.button!==0){return;}if(typeof window===\"undefined\")return;try{const current=new URL(window.location.href);const next=new URL(showAllHref,window.location.origin);if(current.pathname===next.pathname&&current.search===next.search){event.preventDefault();setInlinePanelDismissed(false);}}catch(error){if(isDevelopment()){console.error(\"ModalSearch: failed to handle Show all navigation\",error);}}},children:showAllResultsLabel}):null]});return /*#__PURE__*/_jsxs(\"span\",{ref:containerRef,id:id,style:{display:\"inline-block\",width:\"100%\",position:\"relative\",...style},onBlur:handleInlineFocusOut,children:[/*#__PURE__*/_jsx(\"span\",{role:\"status\",\"aria-live\":\"polite\",style:VISUALLY_HIDDEN_STYLE,children:inlineAnnouncement}),/*#__PURE__*/_jsx(\"style\",{dangerouslySetInnerHTML:{__html:`${placeholderCSS} ${hideNativeSearchCancelCSS} ${modalSearchFocusCSS} ${hideResultsScrollbarCSS}${showAllHref?` ${scrollerSelector} [data-modal-search-results] a:last-of-type { border-bottom-color: transparent; }`:\"\"}`}}),/*#__PURE__*/_jsxs(\"div\",{id:searchFieldId,\"data-modal-search-field\":styleScope,style:{...triggerStyle,cursor:\"text\",userSelect:\"auto\",WebkitUserSelect:\"auto\",position:\"relative\"},onMouseEnter:triggerHandlers.onMouseEnter,onMouseLeave:triggerHandlers.onMouseLeave,children:[/*#__PURE__*/_jsx(ModalSurfaceOverlay,{surface:effectiveSurface,theme:theme,glassVariant:glassVariant,shade:\"light\",tintOverlay:surfaceTriggerTintOverlay,stack:\"nested\",radius:triggerRadiusPx}),/*#__PURE__*/_jsx(\"input\",{ref:searchInputRef,id:searchInputId,\"data-modal-search-input\":styleScope,type:\"search\",role:\"searchbox\",\"aria-label\":resolvedAriaLabel,value:searchQuery,onChange:handleSearchChange,onKeyDown:handleInlineKeyDown,onFocus:event=>{mountCollection();triggerHandlers.onFocus(event);if(searchQuery.trim().length>0)setInlinePanelDismissed(false);},onBlur:triggerHandlers.onBlur,placeholder:fieldPlaceholder,style:inlineInputStyle,autoComplete:\"off\",spellCheck:false}),searchQuery.length>0&&/*#__PURE__*/_jsx(\"button\",{type:\"button\",\"aria-label\":strings.clearSearch,onClick:handleClearSearch,style:{flexShrink:0,display:\"flex\",alignItems:\"center\",justifyContent:\"center\",width:getSpacing(44),height:getSpacing(44),minWidth:getSpacing(44),padding:0,border:\"none\",borderRadius:getRadius(\"radius-full\"),background:\"transparent\",cursor:\"pointer\",color:themeColors.iconSecondary,transition:getTransition(\"filter\",\"quick\")},dangerouslySetInnerHTML:{__html:clearIconSVG}}),/*#__PURE__*/_jsx(\"span\",{style:{display:\"flex\",alignItems:\"center\",flexShrink:0,padding:`${getResponsiveSpacing(12,breakpoint)} ${trailingIconPad} ${getResponsiveSpacing(12,breakpoint)} 0`},\"aria-hidden\":true,dangerouslySetInnerHTML:{__html:searchIconSVG}})]}),isPortaledPanel?/*#__PURE__*/createPortal(inlineResultsPanel,containerRef.current?.ownerDocument?.body??document.body):inlineResultsPanel]});}return /*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"span\",{ref:containerRef,id:id,style:{display:\"inline-block\",width:\"100%\"},children:/*#__PURE__*/_jsxs(\"div\",{role:\"button\",tabIndex:0,\"aria-label\":resolvedAriaLabel,style:triggerStyle,onClick:handleOpen,onKeyDown:e=>{if(e.key===\"Enter\"||e.key===\" \"){e.preventDefault();handleOpen();}},onMouseEnter:triggerHandlers.onMouseEnter,onMouseLeave:triggerHandlers.onMouseLeave,onFocus:triggerHandlers.onFocus,onBlur:triggerHandlers.onBlur,children:[/*#__PURE__*/_jsx(ModalSurfaceOverlay,{surface:effectiveSurface,theme:theme,glassVariant:glassVariant,shade:\"light\",tintOverlay:surfaceTriggerTintOverlay,stack:\"nested\",radius:triggerRadiusPx}),/*#__PURE__*/_jsx(\"span\",{style:{display:\"flex\",alignItems:\"center\",flexShrink:0,padding:`${getResponsiveSpacing(12,breakpoint)} 0 ${getResponsiveSpacing(12,breakpoint)} ${getResponsiveSpacing(isLargeTrigger?24:20,breakpoint)}`},\"aria-hidden\":true,dangerouslySetInnerHTML:{__html:searchIconSVG}}),/*#__PURE__*/_jsx(\"span\",{style:triggerTextStyle,children:triggerPlaceholder})]})}),portalTarget&&/*#__PURE__*/createPortal(/*#__PURE__*/_jsxs(ModalOverlayAnimatePresence,{isOpen:isOpen,keyPrefix:\"modal-search\",motion:modalMotion,breakpoint:breakpoint,theme:theme,surface:effectiveSurface,brand:brand,onBackdropClick:backdropProps.onClick,panelRef:modalRef,panelStyle:modalContentStyles,panelProps:{\"role\":\"dialog\",\"aria-modal\":true,\"aria-label\":strings.search},children:[/*#__PURE__*/_jsx(ModalSurfaceOverlay,{surface:effectiveSurface,theme:theme,glassVariant:glassVariant}),/*#__PURE__*/_jsxs(ModalSurfaceContent,{children:[/*#__PURE__*/_jsx(\"style\",{dangerouslySetInnerHTML:{__html:`${placeholderCSS} ${hideNativeSearchCancelCSS} ${modalSearchFocusCSS} ${hideResultsScrollbarCSS}`}}),/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",alignItems:\"center\",gap:getGap(\"xs\",breakpoint),flexShrink:0},children:[/*#__PURE__*/_jsxs(\"div\",{id:searchFieldId,\"data-modal-search-field\":styleScope,style:{...modalSearchContainerStyle,flex:1,minWidth:0,display:\"flex\",alignItems:\"center\",gap:getSpacing(12),justifyContent:\"flex-start\",...isLiquidGlassTrigger?{backgroundColor:\"transparent\",position:\"relative\",isolation:\"isolate\"}:{}},children:[/*#__PURE__*/_jsx(ModalSurfaceOverlay,{surface:effectiveSurface,theme:theme,glassVariant:glassVariant,shade:\"light\",tintOverlay:surfaceTriggerTintOverlay,stack:\"nested\",radius:triggerRadiusPx}),/*#__PURE__*/_jsx(\"span\",{style:{display:\"flex\",alignItems:\"center\",flexShrink:0,padding:`${getResponsiveSpacing(12,breakpoint)} 0 ${getResponsiveSpacing(12,breakpoint)} ${getResponsiveSpacing(20,breakpoint)}`},\"aria-hidden\":true,dangerouslySetInnerHTML:{__html:searchIconSVG}}),/*#__PURE__*/_jsx(\"input\",{ref:searchInputRef,id:searchInputId,\"data-modal-search-input\":styleScope,type:\"search\",role:\"searchbox\",\"aria-label\":searchPlaceholder||strings.search,value:searchQuery,onChange:handleSearchChange,onFocus:mountCollection,placeholder:searchPlaceholder,style:{...modalSearchInputStyle,flex:1,width:\"100%\",paddingLeft:0},autoComplete:\"off\",spellCheck:false}),searchQuery.length>0&&/*#__PURE__*/_jsx(\"button\",{type:\"button\",\"aria-label\":strings.clearSearch,onClick:handleClearSearch,style:{flexShrink:0,display:\"flex\",alignItems:\"center\",justifyContent:\"center\",width:getSpacing(44),height:getSpacing(44),minWidth:getSpacing(44),marginRight:getResponsiveSpacing(8,breakpoint),padding:0,border:\"none\",borderRadius:getRadius(\"radius-full\"),background:\"transparent\",cursor:\"pointer\",color:themeColors.iconSecondary,transition:getTransition(\"filter\",\"quick\")},dangerouslySetInnerHTML:{__html:clearIconSVG}})]}),/*#__PURE__*/_jsx(ButtonCloseWithRef,{ref:closeButtonRef,theme:theme,brand:brand,breakpoint:breakpoint,placement:\"inline\",onClick:handleClose,ariaLabel:strings.closeSearch})]}),/*#__PURE__*/_jsx(\"div\",{role:\"status\",\"aria-live\":\"polite\",style:resultsStatusStyle,children:statusMessage||resultsSummary}),/*#__PURE__*/_jsxs(\"div\",{id:resultsScrollerId,\"data-modal-search-scroller\":styleScope,ref:resultsScrollerRef,onScroll:updateScrollEdges,style:resultsScrollerStyle,children:[collectionResultsNode,canvasEmptySlot]})]})]}),portalTarget)]});});export default function ModalSearch(props){const ref=useRef(null);return /*#__PURE__*/_jsx(ModalSearchInternal,{...props,ref:ref});}ModalSearch.displayName=\"Modal Search - Molecule\";addPropertyControls(ModalSearch,{id:{type:ControlType.String,title:\"ID\",defaultValue:\"modal-search\",placeholder:\"e.g. modal-search-help-center\",description:\"Unique DOM id for the search trigger.\",preventLocalization:true},triggerPlaceholder:{type:ControlType.String,title:\"Trigger Placeholder\",defaultValue:\"Search...\",placeholder:\"Enter placeholder text...\",description:\"Placeholder text displayed on the trigger search bar.\"},searchPlaceholder:{type:ControlType.String,title:\"Search Placeholder\",defaultValue:\"Search...\",placeholder:\"Enter search placeholder...\",description:\"Placeholder text for the search input inside the modal.\"},noResultsText:{type:ControlType.String,title:\"No Results Text\",defaultValue:\"No results found.\",placeholder:\"Enter no-results message...\",description:\"Message shown when the search query returns no results.\"},emptyStateText:{type:ControlType.String,title:\"Empty State Text\",defaultValue:\"Type to search help articles\",placeholder:\"Enter empty state hint...\",description:\"Optional message shown before the user has typed anything.\"},minQueryText:{type:ControlType.String,title:\"Min Query Text\",defaultValue:\"Keep typing to see results\",placeholder:\"Enter short-query hint...\",description:`Message shown while the query is shorter than ${MIN_SEARCH_QUERY_LENGTH} characters.`},collectionList:{type:ControlType.ComponentInstance,title:\"Collection List\",description:\"Connect a Framer CMS Collection List here. Items will be filtered by the search query.\"},presentation:{type:ControlType.Enum,title:\"Presentation\",options:[\"inline\",\"modal\"],optionTitles:[\"Inline\",\"Modal\"],displaySegmentedControl:true,defaultValue:\"inline\",description:\"Inline: typeahead dropdown under the field (default). Modal: trigger bar opens a centered dialog.\"},glassVariant:{...MODAL_SURFACE_VARIANT_PROPERTY_CONTROL,hidden:({brand})=>resolveBrand(brand)===\"tricount\"},surfaceTriggerTintOverlay:{type:ControlType.String,title:\"Trigger Tint\",defaultValue:\"\",placeholder:\"e.g. hex with alpha channel or a token path\",description:\"Optional translucent CSS background layered on the trigger bar (and the modal's inner search input). Use to match a sibling element like a pricing-table row.\",preventLocalization:true,hidden:({brand})=>resolveBrand(brand)===\"tricount\"},triggerSize:{type:ControlType.Enum,title:\"Trigger Size\",options:[\"default\",\"large\"],optionTitles:[\"Default\",\"Large\"],displaySegmentedControl:true,defaultValue:\"default\",description:\"Default: 48px bar / 20px icon. Large: 64px bar / 24px icon — search glyph uses a tight viewBox so it fills the pixel size.\"},showModal:{type:ControlType.Boolean,title:\"Show Results\",defaultValue:false,enabledTitle:\"Yes\",disabledTitle:\"No\",description:\"Preview open results on the Framer canvas. Inline: forces the dropdown open. Modal: opens the dialog.\"},hidden:{type:ControlType.Boolean,title:\"Hidden\",defaultValue:false,enabledTitle:\"Yes\",disabledTitle:\"No\",description:\"Hide the component entirely.\"},closeOnBackdropClick:{type:ControlType.Boolean,title:\"Close on Backdrop Click\",defaultValue:true,enabledTitle:\"Yes\",disabledTitle:\"No\",description:\"Modal only: whether clicking the backdrop closes the dialog.\",hidden:props=>(props.presentation??\"inline\")===\"inline\"},closeOnEscape:{type:ControlType.Boolean,title:\"Close on Escape\",defaultValue:true,enabledTitle:\"Yes\",disabledTitle:\"No\",description:\"Modal only: whether Escape closes the dialog. Inline always clears/dismisses on Escape.\",hidden:props=>(props.presentation??\"inline\")===\"inline\"},debounceDelay:{type:ControlType.Number,title:\"Debounce Delay\",defaultValue:DEFAULT_DEBOUNCE_DELAY,min:0,max:1e3,step:50,unit:\"ms\",displayStepper:true,description:\"Delay in milliseconds before the search filter is applied.\"},maxResults:{type:ControlType.Number,title:\"Max Results\",defaultValue:DEFAULT_MAX_RESULTS,min:3,max:50,step:1,displayStepper:true,description:\"Most result rows shown at once. Extra matches are reported in the count line instead.\"},showAllResultsLabel:{type:ControlType.String,title:\"Show All Label\",defaultValue:\"Show all search results\",placeholder:\"Show all search results\",description:\"Footer link under the dropdown. Empty hides it. Enter uses the same destination.\",hidden:props=>(props.presentation??\"inline\")===\"modal\"},searchResultsPath:{type:ControlType.String,title:\"Results Path\",defaultValue:\"/search\",placeholder:\"/search\",description:\"Page path for Enter and Show all (query appended as ?q=…).\",preventLocalization:true,hidden:props=>(props.presentation??\"inline\")===\"modal\"},searchQueryParam:{type:ControlType.String,title:\"Query Param\",defaultValue:\"q\",placeholder:\"q\",description:\"URL search param key for the query. Also seeds the field on load.\",preventLocalization:true,hidden:props=>(props.presentation??\"inline\")===\"modal\"},searchIndexUrl:{type:ControlType.String,title:\"Search Index URL\",defaultValue:\"\",placeholder:\"/help-search-index.json\",description:\"Public JSON for body-only matches. Leave empty for same-origin, then static.bunq.com. Not GitLab.\",preventLocalization:true},onClose:{type:ControlType.EventHandler,title:\"On Close\",description:\"Callback fired when the modal closes.\",hidden:props=>(props.presentation??\"inline\")===\"inline\"},ariaLabel:{type:ControlType.String,title:\"ARIA Label\",defaultValue:\"\",placeholder:\"e.g. Search help\",description:\"Accessible label for the search field (inline) or trigger button (modal). Leave blank to use Search in the page language.\"},...breakpointPropertyControl(),...themePropertyControls(\"Default is dark mode, inverted is light mode. Theme passes to all children.\"),...brandPropertyControl()});\nexport const __FramerMetadata__ = {\"exports\":{\"ModalSearchProps\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"ModalSearchTriggerSize\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"ModalSearchPresentation\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"reactComponent\",\"name\":\"ModalSearch\",\"slots\":[\"collectionList\"],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","/**\n * @framerDisableUnlink\n * @framerIntrinsicWidth 1280\n * @framerIntrinsicHeight auto\n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight auto\n */import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{forwardRef,useRef,useMemo,useId,useEffect}from\"react\";import{motion}from\"framer-motion\";import{addPropertyControls,ControlType}from\"framer\";import{breakpointPropertyControl}from\"https://framerusercontent.com/modules/9AEeOcnhLXJS5wK1KhPx/HxesVu229HtloeOn45Cz/breakpointControl.js\";import{themePropertyControls}from\"https://framerusercontent.com/modules/T2sckviMCmJ4Jmbp9jxp/zJxITVIOZG02MHJo3RLt/brandControl.js\";import{resolveThemeProp}from\"https://framerusercontent.com/modules/lFWBe5qCxlzWknbvQ1Np/XNuxV4GDM1tSiiZKcYOz/themeControl.js\";import{FRAMER_THEME_DESCRIPTION_SURFACE_WITH_CHILDREN}from\"https://framerusercontent.com/modules/kgixvU6ZSjEgZfx2dLER/Q65e6Gi2zjpkkR9gHZsP/propertyControlCopy.js\";import{useReducedMotion,useEffectiveBreakpoint,kernHeadingPlainText,getSpacing,getFocusOutlineWidth,getTypographyStyles,getWidthValue,getStagger}from\"https://framerusercontent.com/modules/FDyEZnwYBuMJmxNPNbkh/o8HvPx0AEeB6fHDPq2cJ/colors.js\";import{getThemeColors,resolveBrand}from\"https://framerusercontent.com/modules/30edN7qiEI1dwQI5mdZ5/rczlMVpO86xUCrPYmNd4/themeHelpers.js\";import{getSectionStyles,getContainerStyles,getCopyStackGap,getCopyToCtaMarginTop,getSectionWrapperStyles,getSectionPaddingY}from\"https://framerusercontent.com/modules/LQuuOAryIVnwswuGx8Ex/giy81PU7vHV8vs0co0Cz/layoutStyles.js\";import{SECTION_GRADIENT_PRESET_DEFAULT}from\"https://framerusercontent.com/modules/JT38eNLF3NCcfcMPZQnl/QlNEQa82XrinV6ykg4ff/sectionGradientPresets.js\";import{getSectionBackgroundFromProps,getSectionContentStackStyle,getSectionRootBackgroundStyle,sectionBackgroundPropertyControls}from\"https://framerusercontent.com/modules/jZFHLdiOT2heZl3JSdXg/xJC08PwyUOAgofIDroTo/sectionBackground.js\";import{getSectionRestProps}from\"https://framerusercontent.com/modules/DTXTjpsqu0cSSSvQLUkb/zk62E5Alz9C8GnMJzVZo/sectionProps.js\";import{PRESERVE_CONTROL_NEWLINES}from\"https://framerusercontent.com/modules/7usa64yv6f2tRQTyL0ZP/vLnRRLKlbcu5QqFfxMDX/controlTextStyles.js\";import{useSectionAnimation}from\"https://framerusercontent.com/modules/T0hsVXlJCFwqijvkTPxe/tyisoBgZtesxOp7DlWLc/useSectionAnimation.js\";import{createSectionVariants}from\"https://framerusercontent.com/modules/4txbpRwhPsY7unmUb1pS/IEipsElHO5rJHTpkAylg/motionVariants.js\";import ModalSearch from\"https://framerusercontent.com/modules/je6vWcfdbReeqag8iNpl/gmwY7q0t0vzcGF7qFlch/ModalSearch.js\";const SectionHeaderSearchInternal=/*#__PURE__*/forwardRef(function SectionHeaderSearchInternal(props,ref){const theme=resolveThemeProp(props);const{breakpoint:breakpointProp=\"desktop\",heading=\"Short section heading goes here\",description=\"One or two sentences describing this section. Replace with your own copy so the layout and length are clear.\",sectionId,showBottomPadding=true,backgroundVariant=\"gradient\",backgroundPreset=SECTION_GRADIENT_PRESET_DEFAULT,brand,backgroundEnabled,backgroundGradientBrand,backgroundPresetTricount,backgroundOverlayDirection=\"top-color-bottom-neutral\",backgroundShowOverlay=true,useMontserrat=false,searchTriggerPlaceholder=\"Search...\",searchInputPlaceholder=\"Search...\",searchNoResultsText=\"No results found.\",searchEmptyStateText=\"\",searchMinQueryText,searchMaxResults,searchShowAllLabel,searchResultsPath,searchQueryParam,collectionList,searchAriaLabel=\"Search help\",collectionSchemaEnabled,collectionSchema,collectionSchemaName,schemaName,collectionSchemaDescription,schemaDescription,collectionSchemaSlug,schemaSlug,collectionSchemaPathPrefix,schemaPathPrefix,style,children,...rest}=props;useCollectionPageSchema({enabled:collectionSchemaEnabled===true||collectionSchema===true||collectionSchema===\"true\",name:collectionSchemaName||schemaName,description:collectionSchemaDescription||schemaDescription,slug:collectionSchemaSlug||schemaSlug,pathPrefix:collectionSchemaPathPrefix||schemaPathPrefix||\"/topics\"});const breakpoint=useEffectiveBreakpoint(breakpointProp);const resolvedBrand=resolveBrand(brand??backgroundGradientBrand);const isTricount=resolvedBrand===\"tricount\";const colors=getThemeColors(theme,resolvedBrand);const{sectionBgColor,isGradient,backgroundLayer}=getSectionBackgroundFromProps({theme,backgroundVariant,backgroundPreset,brand,backgroundEnabled,backgroundGradientBrand,backgroundPresetTricount,backgroundOverlayDirection,backgroundShowOverlay,colors});const reducedMotion=useReducedMotion();const componentId=useId();const headingId=useId();const{sectionRef,animate}=useSectionAnimation(ref);const focusRingInset=`calc(${getSpacing(2)} + ${getFocusOutlineWidth()})`;const sectionStyles=useMemo(()=>({...getSectionRootBackgroundStyle({useMontserrat,brand:brand??backgroundGradientBrand}),...getSectionStyles(breakpoint),backgroundColor:sectionBgColor,overflow:\"visible\",...style,paddingTop:`calc(${getSectionPaddingY(breakpoint)} + var(--nav-header-height, 80px))`,...showBottomPadding?{}:{paddingBottom:focusRingInset}}),[breakpoint,sectionBgColor,style,useMontserrat,brand,backgroundGradientBrand,showBottomPadding,focusRingInset]);const containerStyles=useMemo(()=>({...getContainerStyles(breakpoint),...getSectionContentStackStyle(isGradient)}),[breakpoint,isGradient]);const copyStackGap=getCopyStackGap(breakpoint);const copyToCtaMarginTop=getCopyToCtaMarginTop(breakpoint);const contentStyles={display:\"flex\",flexDirection:\"column\",alignItems:\"center\",gap:0};const innerHeaderStyles={display:\"flex\",flexDirection:\"column\",gap:copyStackGap,textAlign:\"center\",alignItems:\"center\"};const headingStyles={...getTypographyStyles(\"/Headline 3XL/Heavy\",breakpoint),color:colors.textPrimary,margin:0,textAlign:\"center\",...PRESERVE_CONTROL_NEWLINES};const descriptionStyles={...getTypographyStyles(\"/Subheadline/MD\",breakpoint),color:colors.textPrimary,margin:0,textAlign:\"center\",maxWidth:getWidthValue(\"width-lg\"),...PRESERVE_CONTROL_NEWLINES};const searchWrapperStyles={width:\"100%\",maxWidth:getWidthValue(\"width-sm\"),boxSizing:\"border-box\",overflow:\"visible\",padding:focusRingInset,...heading||description?{marginTop:copyToCtaMarginTop}:{}};const{container:containerVariants,item:itemVariants}=createSectionVariants(reducedMotion,{stagger:getStagger(\"loose\")});return /*#__PURE__*/_jsxs(motion.section,{ref:sectionRef,style:sectionStyles,id:sectionId||`section-header-search-${componentId}`,\"aria-labelledby\":heading?headingId:undefined,initial:animate===\"visible\"?false:\"hidden\",animate:animate,variants:containerVariants,...getSectionRestProps(rest),children:[backgroundLayer,/*#__PURE__*/_jsx(\"div\",{style:containerStyles,children:/*#__PURE__*/_jsxs(\"div\",{style:contentStyles,children:[Boolean(heading??description)&&/*#__PURE__*/_jsxs(motion.div,{style:innerHeaderStyles,variants:itemVariants,children:[heading&&/*#__PURE__*/_jsx(\"h1\",{id:headingId,style:headingStyles,children:kernHeadingPlainText(heading)}),description&&/*#__PURE__*/_jsx(\"p\",{style:descriptionStyles,children:description})]}),/*#__PURE__*/_jsx(motion.div,{style:searchWrapperStyles,variants:itemVariants,children:/*#__PURE__*/_jsx(ModalSearch,{breakpoint:breakpoint,theme:theme,brand:resolvedBrand,presentation:\"inline\",surface:isTricount?\"solid\":\"liquid-glass\",triggerSize:\"large\",triggerPlaceholder:searchTriggerPlaceholder,searchPlaceholder:searchInputPlaceholder||searchTriggerPlaceholder,noResultsText:searchNoResultsText,emptyStateText:searchEmptyStateText,minQueryText:searchMinQueryText,maxResults:searchMaxResults,showAllResultsLabel:searchShowAllLabel,searchResultsPath:searchResultsPath,searchQueryParam:searchQueryParam,collectionList:collectionList,ariaLabel:searchAriaLabel})}),children]})})]});});function useCollectionPageSchema(opts){useEffect(()=>{if(!opts.enabled||!opts.name||!opts.slug)return undefined;const base=(opts.baseUrl||(typeof location!==\"undefined\"?location.origin:\"\")).replace(/\\/$/,\"\");const prefix=opts.pathPrefix||\"/topics\";const url=`${base}${prefix}/${opts.slug}`;const data={\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"CollectionPage\",\"name\":opts.name,\"description\":opts.description||undefined,url},{\"@type\":\"BreadcrumbList\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Help\",\"item\":{\"@id\":`${base}/`,\"name\":\"Help\"}},{\"@type\":\"ListItem\",\"position\":2,\"name\":opts.name,\"item\":{\"@id\":url,\"name\":opts.name}}]}]};const id=\"cc-collection-page-jsonld\";let el=document.getElementById(id);if(!el){el=document.createElement(\"script\");el.type=\"application/ld+json\";el.id=id;document.body.appendChild(el);}el.text=JSON.stringify(data);return()=>{el?.parentNode?.removeChild(el);};},[opts.enabled,opts.name,opts.description,opts.slug,opts.pathPrefix,opts.baseUrl]);}export default function SectionHeaderSearch(props){const ref=useRef(null);const breakpoint=useEffectiveBreakpoint(props.breakpoint??\"desktop\");return /*#__PURE__*/_jsx(\"div\",{style:{...getSectionWrapperStyles(breakpoint),overflow:\"visible\",...props.style},children:/*#__PURE__*/_jsx(SectionHeaderSearchInternal,{...props,ref:ref})});}SectionHeaderSearch.displayName=\"Section Header Search - Organism\";addPropertyControls(SectionHeaderSearch,{heading:{type:ControlType.String,title:\"Headline\",defaultValue:\"Short section heading goes here\",placeholder:\"e.g. Short headline (one line)\",description:\"Main heading text for the section.\",displayTextArea:true},description:{type:ControlType.String,title:\"Subheadline\",defaultValue:\"One or two sentences describing this section. Replace with your own copy so the layout and length are clear.\",placeholder:\"One or two sentences describing the section\",description:\"Description or body text.\",displayTextArea:true},showBottomPadding:{type:ControlType.Boolean,title:\"Bottom Padding\",defaultValue:true,enabledTitle:\"On\",disabledTitle:\"Off\",description:\"Turn off to remove the section's bottom vertical padding when stacking tightly against the section below. A few pixels stay so the search field's focus ring is not clipped.\"},searchTriggerPlaceholder:{type:ControlType.String,title:\"Trigger Placeholder\",defaultValue:\"Search...\",placeholder:\"Enter placeholder text...\",description:\"Placeholder text displayed on the search trigger bar.\"},searchInputPlaceholder:{type:ControlType.String,title:\"Search Placeholder\",defaultValue:\"Search...\",placeholder:\"Enter search placeholder...\",description:\"Placeholder text for the search input inside the modal.\"},searchNoResultsText:{type:ControlType.String,title:\"No Results Text\",defaultValue:\"No results found.\",placeholder:\"Enter no-results message...\",description:\"Message shown when the search query returns no results.\"},searchEmptyStateText:{type:ControlType.String,title:\"Empty State Text\",defaultValue:\"\",placeholder:\"Enter empty state hint...\",description:\"Optional message shown before the user has typed anything.\",displayTextArea:true},searchMinQueryText:{type:ControlType.String,title:\"Min Query Text\",defaultValue:\"Keep typing to see results\",placeholder:\"Enter short-query hint...\",description:\"Message shown while the query is still too short to search on.\"},searchMaxResults:{type:ControlType.Number,title:\"Max Results\",defaultValue:8,min:3,max:50,step:1,displayStepper:true,description:\"Most result rows shown at once. Extra matches are reported in the count line instead.\"},searchShowAllLabel:{type:ControlType.String,title:\"Show All Label\",defaultValue:\"Show all search results\",placeholder:\"Show all search results\",description:\"Footer link under the dropdown. Empty hides it.\"},searchResultsPath:{type:ControlType.String,title:\"Results Path\",defaultValue:\"/search\",placeholder:\"/search\",description:\"Page path for Enter and Show all (appends ?q=…).\",preventLocalization:true},searchQueryParam:{type:ControlType.String,title:\"Query Param\",defaultValue:\"q\",placeholder:\"q\",description:\"URL param for the query. Also prefills the field on load.\",preventLocalization:true},searchAriaLabel:{type:ControlType.String,title:\"Search ARIA Label\",defaultValue:\"Search help\",placeholder:\"e.g. Search help\",description:\"Accessible label for the search field.\"},collectionList:{type:ControlType.ComponentInstance,title:\"Collection List\",description:\"Connect a Framer CMS Collection List here. Items will be filtered by the search query.\"},...sectionBackgroundPropertyControls({variantDefault:\"gradient\",presetDefault:SECTION_GRADIENT_PRESET_DEFAULT,overlayDirectionDefault:\"top-color-bottom-neutral\"}),sectionId:{type:ControlType.String,title:\"Section ID\",defaultValue:\"section-header-search\",placeholder:\"e.g. search\",description:\"HTML id for the section element. Used for anchor links and page navigation.\",preventLocalization:true},...breakpointPropertyControl(),collectionSchemaEnabled:{type:ControlType.Boolean,title:\"Collection Schema\",defaultValue:false,enabledTitle:\"On\",disabledTitle:\"Off\",description:\"Inject CollectionPage + BreadcrumbList JSON-LD (topic/category pages).\"},collectionSchemaName:{type:ControlType.String,title:\"Schema Name\",defaultValue:\"\",hidden:p=>!p.collectionSchemaEnabled},collectionSchemaDescription:{type:ControlType.String,title:\"Schema Description\",defaultValue:\"\",hidden:p=>!p.collectionSchemaEnabled},collectionSchemaSlug:{type:ControlType.String,title:\"Schema Slug\",defaultValue:\"\",hidden:p=>!p.collectionSchemaEnabled,preventLocalization:true},collectionSchemaPathPrefix:{type:ControlType.String,title:\"Schema Path Prefix\",defaultValue:\"/topics\",hidden:p=>!p.collectionSchemaEnabled,preventLocalization:true},...themePropertyControls(FRAMER_THEME_DESCRIPTION_SURFACE_WITH_CHILDREN)});\nexport const __FramerMetadata__ = {\"exports\":{\"SectionHeaderSearchProps\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"reactComponent\",\"name\":\"SectionHeaderSearch\",\"slots\":[\"collectionList\"],\"annotations\":{\"framerContractVersion\":\"1\"}},\"Breakpoint\":{\"type\":\"variable\",\"annotations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