{"version":3,"file":"SectionHeaderSearch.CmlJrnM7.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","useEffect","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","init_framer_NoX26bUd","addPropertyControls","RenderTarget","useIsStaticRenderer","ControlType","motion","init_framer_motion_1EwlFBEG","ICON_ACCENT_COLORS","getLiquidGlassFinish","init_cardSurface","init_brandControl","init_resolveElementId","getWidthValue","init_useInteractiveStates","getCopyStackGap","init_ButtonClose","getCardThemeColors","ModalSurfaceOverlay","useEffectiveBreakpoint","resolveBrand","init_themeControl","withAlpha","BADGE_ACCENT_COLORS","getTypographyStyles","themePropertyControls","resolveCollectionElementId","init_modalSurface","init_propertyControlCopy","BADGE_ACCENT_COLOR_TITLES","init_pushDataLayerEvent","FRAMER_THEME_DESCRIPTION_SURFACE","HINT_BADGE","CardSurfaceOverlay","resolveTricountThemeVariant","getTricountChipColors","getSectionWrapperStyles","init_colorEffects","MODAL_SURFACE_VARIANT_PROPERTY_CONTROL","init_themeHelpers","init_layoutStyles","liquidGlassLegacyHighlightToVariant","ModalSurfaceContent","isLightThemeSurface","toAccentGradient","init_inputStyles","parseRgba","init_placeholders","applyCardSurfaceStyle","resolveThemeProp","init_usePageLanguage","isDevelopment","getContainerStyles","ButtonCloseWithRef","init_colors","getBrandFocusColor","getGap","useAccessibilityStrings","FRAMER_BREAKPOINT_DESCRIPTION","normalizeElementId","FRAMER_ICON_SVG_CUSTOM_DESCRIPTION","getInputElementStyle","pickSafeDivProps","formatRgba","getInputContainerStyle","init_domProps","contrastRatio","getInputPlaceholderColor","init_colorParsing","VISUALLY_HIDDEN_STYLE","getIconRaw","init_ModalOverlayAnimatePresence","init_FeaturedIcon","getStagger","init_accessibilityLocalization","useIconLoaded","init_controlTextStyles","getModalThemeColors","processSVG","init_useModal","createModalVariants","useModal","isFramerEditorEnvironment","getResponsiveSpacing","init_linkHelpers","Tokens","init_sectionProps","ModalOverlayAnimatePresence","getThemeColors","getSectionStyles","useReducedMotion$1","getSectionPaddingY","LIQUID_GLASS_FILL_ALPHA","iconPixelSizeForSquareSide","breakpointPropertyControl","getResponsiveModalWidths","getNewTabAriaLabel","init_useInViewport","ICON_OPTION_TITLES_WITH_NONE_AND_CUSTOM","init_uiStrings","useReducedMotion","getControlSizeValue","init_icons","getModalBackdropColor","getRadius","init_badgeAccentConstants","kernHeadingPlainText","pushDataLayerEvent","FRAMER_THEME_DESCRIPTION_SURFACE_WITH_CHILDREN","init_kzrQVyBVYml9GnkpIguG","getColorValue","getIcon","getSectionRestProps","init_motionVariants","PRESERVE_CONTROL_NEWLINES","getModalContainerStyle","ICON_OPTIONS_WITH_NONE_AND_CUSTOM","createUiStringReader","createSectionVariants","getFocusOutlineWidth","init_svg","init_breakpointControl","init_modalConstants","getShadow","useSmartLinkProps","getZIndex","useInteractiveStates","getCopyToCtaMarginTop","init_useAccessibilityStrings","getTransition","init_env","FeaturedIcon","getSpacing","getAccessibilityStrings","getCardRadius","brandPropertyControl","usePageLanguage","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","getHelpSearchLocale","pathname","first","match","LOCALE_PATH_SEGMENT","getLocaleHelpSearchIndexUrl","locale","family","HELP_SEARCH_INDEX_LOCALE_CDN_BASE","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","helpIndexFamily","TRICOUNT_HELP_CDN_HOSTS","shouldUseHelpIndexCdn","resolveIndexUrls","explicitUrl","urls","TRICOUNT_HELP_SEARCH_INDEX_CDN_URL","HELP_SEARCH_INDEX_PATH","HELP_SEARCH_INDEX_CDN_URL","fetchIndex","signal","response","loadHelpSearchIndex","englishKey","ENGLISH_INDEX_KEY","key","cachedIndexByLocale","inflight","inflightLoadByLocale","load","localeUrl","cachedEnglish","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","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","looksSensitive","term","compact","hasEmail","hasLongDigitRun","looksLikeIban","isHelpOrigin","HELP_ORIGINS","useHelpSearchNoResultTracking","isSettled","matchCount","ce","MAX_LOGGED_TERM_LENGTH","loggedTerms","HELP_SEARCH_NO_RESULTS_EVENT","init_useHelpSearchNoResultTracking","normalizeSearchPathname","path","trimmed","stripLocalePrefixFromSearchPath","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","isBodyIndexSettled","setIsBodyIndexSettled","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","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/9HuUqMBmHFb3z8LZNxZn/helpSearchIndex.js","https:/framerusercontent.com/modules/RwYqM9peexHuGWb1RjgA/8iuiatiiW2aBfh3IqiIQ/collectionSearchFilter.js","https:/framerusercontent.com/modules/9q0SZwaSV5g6UJVFdQLo/GhovSghfUCRACULKhczU/Badge.js","https:/framerusercontent.com/modules/s7X81BFyfCgls0RUH8bj/itey2ygTAjEh3myjU3Py/cardAccessibility.js","https:/framerusercontent.com/modules/y2lAV3Wpxi0n3uWRXYEu/Xfxrs995Tlum6sEcocDc/cardAccessibilityStrings.js","https:/framerusercontent.com/modules/qzvHcKzbXR3bZBxBKyxz/OvUwhfjM2ewnZbgX831P/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/893CnlC7orHpIIs2k6gl/yqQtDI6dAAvLR7y6oaQ2/useHelpSearchNoResultTracking.js","https:/framerusercontent.com/modules/qA3udEKSZSTxpWEKsM49/w5TPD66y9e6fMBlQwG8E/searchQuerySync.js","https:/framerusercontent.com/modules/ykkR4NKjThcZeBK5ngsO/YvJv08jnwhBaHT0XflcE/modalSearch.js","https:/framerusercontent.com/modules/GUmK3XezNjwXTSyjhGwn/XXt1hBuGjrDD5ijCsr74/modalSearchStrings.js","https:/framerusercontent.com/modules/je6vWcfdbReeqag8iNpl/JFT7IVfKfNvmjS4s1XXB/ModalSearch.js","https:/framerusercontent.com/modules/Sh1qW1MnBwDY6Hpok42w/96IJCpo15efPdR34fggJ/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;export const HELP_SEARCH_INDEX_LOCALE_CDN_BASE=\"https://static.bunq.com/website/data/help-search-index\";export const TRICOUNT_HELP_SEARCH_INDEX_CDN_URL=\"https://static.bunq.com/website/data/help-search-index.tricount.json\";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\"]);const TRICOUNT_HELP_CDN_HOSTS=new Set([\"help.tricount.com\",\"versatile-service-778510.framer.app\"]);const ENGLISH_INDEX_KEY=\"en\";const LOCALE_PATH_SEGMENT=/^([a-z]{2})-([a-z]{2})$/i;const cachedIndexByLocale=new Map;const inflightLoadByLocale=new Map;export function getHelpSearchLocale(pathname){const path=pathname??(typeof window===\"undefined\"?\"\":window.location.pathname);const first=path.split(\"/\").filter(Boolean)[0]??\"\";const match=LOCALE_PATH_SEGMENT.exec(first);if(match===null||match[1].toLowerCase()===\"en\"){return null;}return first.toLowerCase();}export function getLocaleHelpSearchIndexUrl(locale,family=\"bunq\"){const base=family===\"tricount\"?`${HELP_SEARCH_INDEX_LOCALE_CDN_BASE}.tricount`:HELP_SEARCH_INDEX_LOCALE_CDN_BASE;return`${base}.${locale}.json`;}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 helpIndexFamily(pageOrigin){const hostname=hostnameFromOrigin(pageOrigin);return hostname!==null&&TRICOUNT_HELP_CDN_HOSTS.has(hostname)?\"tricount\":\"bunq\";}export function shouldUseHelpIndexCdn(pageOrigin){const hostname=hostnameFromOrigin(pageOrigin);return shouldFallbackToBunqHelpIndexCdn(pageOrigin)||hostname!==null&&TRICOUNT_HELP_CDN_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(helpIndexFamily(pageOrigin)===\"tricount\"&&shouldUseHelpIndexCdn(pageOrigin)){urls.push(TRICOUNT_HELP_SEARCH_INDEX_CDN_URL);}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){const pageOrigin=typeof window===\"undefined\"?undefined:window.location.origin;const family=helpIndexFamily(pageOrigin);const locale=shouldUseHelpIndexCdn(pageOrigin)?getHelpSearchLocale():null;const englishKey=`${family}:${ENGLISH_INDEX_KEY}`;const key=locale===null?englishKey:`${family}:${locale}`;const cached=cachedIndexByLocale.get(key);if(cached){return cached;}const inflight=inflightLoadByLocale.get(key);if(inflight){return inflight;}const load=(async()=>{await Promise.resolve();try{const urls=resolveIndexUrls(explicitUrl);const localeUrl=locale===null?null:getLocaleHelpSearchIndexUrl(locale,family);if(localeUrl!==null){urls.unshift(localeUrl);}const cachedEnglish=cachedIndexByLocale.get(englishKey);for(const url of urls){if(url!==localeUrl&&cachedEnglish){return cachedEnglish;}try{const parsed=await fetchIndex(url,signal);if(parsed){cachedIndexByLocale.set(url===localeUrl?key:englishKey,parsed);return parsed;}}catch(error){if(signal?.aborted){throw error;}}}return null;}finally{inflightLoadByLocale.delete(key);}})();inflightLoadByLocale.set(key,load);return load;}export function resetHelpSearchIndexCacheForTests(){cachedIndexByLocale.clear();inflightLoadByLocale.clear();}\nexport const __FramerMetadata__ = {\"exports\":{\"resetHelpSearchIndexCacheForTests\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"shouldFallbackToBunqHelpIndexCdn\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"shouldUseHelpIndexCdn\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"slugsMatchingQuery\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"HELP_SEARCH_INDEX_LOCALE_CDN_BASE\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"loadHelpSearchIndex\":{\"type\":\"function\",\"isAsync\":true,\"annotations\":{\"framerContractVersion\":\"1\"}},\"TRICOUNT_HELP_SEARCH_INDEX_CDN_URL\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"HELP_SEARCH_INDEX_VERSION\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"getLocaleHelpSearchIndexUrl\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"isAllowedHelpSearchIndexUrl\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"HELP_SEARCH_INDEX_CDN_URL\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"parseHelpSearchIndex\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"HELP_SEARCH_INDEX_PATH\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"HelpSearchIndex\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"getHelpSearchLocale\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"getItemSlug\":{\"type\":\"function\",\"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/9HuUqMBmHFb3z8LZNxZn/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\":{\"clearSearchFilter\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"applySearchFilter\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"ItemSearchText\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"itemMatchesQuery\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"htmlToSearchText\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"SearchFilterResult\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"SearchFilterOptions\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"MIN_SEARCH_QUERY_LENGTH\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"getItemSearchText\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"fieldHasToken\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"getFilterableItems\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","/**\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/R0jXzRgIXe7V2nzOy92j/linkHelpers.js\";import{useInteractiveStates}from\"https://framerusercontent.com/modules/Oyd67FvSjdl6uCVEyAij/93TOs8iurSkrwziSZ4OV/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/uHQu1MTq9jEJaJSooLsQ/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/kspxwaCe0EMYnlgwBNri/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\"}},\"default\":{\"type\":\"reactComponent\",\"name\":\"Badge\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"BadgeAccentColor\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"BadgeProps\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"BADGE_ACCENT_COLOR_TITLES\":{\"type\":\"variable\",\"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\"}};\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/MCZgm06XZx7RPzQU9KoP/uiStrings.js\";import{CARD_ACCESSIBILITY_UI_STRING_TRANSLATIONS}from\"https://framerusercontent.com/modules/s7X81BFyfCgls0RUH8bj/itey2ygTAjEh3myjU3Py/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})};}\nexport const __FramerMetadata__ = {\"exports\":{\"CardAccessibilityStrings\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"CARD_ACCESSIBILITY_UI_STRINGS\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"getCardAccessibilityStrings\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","/**\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/RLb3xOUwCazdMgwrEkNt/cardSurface.js\";import{withAlpha}from\"https://framerusercontent.com/modules/LcVxbLU0r8yRbNNFNhrj/8eBuHAZp75ozI1uUlOdF/colorEffects.js\";import{htmlToSearchText}from\"https://framerusercontent.com/modules/RwYqM9peexHuGWb1RjgA/8iuiatiiW2aBfh3IqiIQ/collectionSearchFilter.js\";import{getNewTabAriaLabel,useSmartLinkProps}from\"https://framerusercontent.com/modules/NbJRONH2Z4yDLXjbVsSq/R0jXzRgIXe7V2nzOy92j/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/NMb3xR3qKC2y95iPqSFz/FeaturedIcon.js\";import Badge from\"https://framerusercontent.com/modules/9q0SZwaSV5g6UJVFdQLo/GhovSghfUCRACULKhczU/Badge.js\";import{useInteractiveStates}from\"https://framerusercontent.com/modules/Oyd67FvSjdl6uCVEyAij/93TOs8iurSkrwziSZ4OV/useInteractiveStates.js\";import{getBrandFocusColor,getCardThemeColors,getThemeColors,resolveBrand}from\"https://framerusercontent.com/modules/30edN7qiEI1dwQI5mdZ5/uHQu1MTq9jEJaJSooLsQ/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/kspxwaCe0EMYnlgwBNri/usePageLanguage.js\";import{useAccessibilityStrings}from\"https://framerusercontent.com/modules/DzuvqFGguqPhhxTSFsr4/3Nj0Xqa6jEHgrlPNKqVJ/useAccessibilityStrings.js\";import{getCardAccessibilityStrings}from\"https://framerusercontent.com/modules/y2lAV3Wpxi0n3uWRXYEu/Xfxrs995Tlum6sEcocDc/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\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"CardSearchResult\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"CardSearchResultProps\":{\"type\":\"tsType\",\"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{useEffect}from\"react\";import{pushDataLayerEvent}from\"https://framerusercontent.com/modules/U5i7bneQufZYH6i8Wcln/ZiFE6Fx9FLBDRgRbGhTC/pushDataLayerEvent.js\";import{getHelpSearchLocale}from\"https://framerusercontent.com/modules/BNc22V5OleFxwlAtFbLs/9HuUqMBmHFb3z8LZNxZn/helpSearchIndex.js\";export const HELP_SEARCH_NO_RESULTS_EVENT=\"help_search_no_results\";const MAX_LOGGED_TERM_LENGTH=80;const HELP_ORIGINS=new Set([\"https://help.bunq.com\",\"https://help.tricount.com\"]);const loggedTerms=new Set;export function resetHelpSearchNoResultTrackingForTests(){loggedTerms.clear();}function looksSensitive(term){const compact=term.replace(/[^a-z0-9@]/gi,\"\");const hasEmail=term.includes(\"@\");const hasLongDigitRun=/\\d{6,}/.test(compact);const looksLikeIban=/^[a-z]{2}\\d{2}[a-z0-9]{8,}$/i.test(compact);return hasEmail||hasLongDigitRun||looksLikeIban;}function isHelpOrigin(){if(typeof window===\"undefined\")return false;return HELP_ORIGINS.has(window.location.origin);}export function useHelpSearchNoResultTracking({query,isSettled,matchCount,enabled}){useEffect(()=>{if(!enabled||!isSettled||matchCount>0||!isHelpOrigin())return;const term=query.trim().toLowerCase().slice(0,MAX_LOGGED_TERM_LENGTH);if(term===\"\"||loggedTerms.has(term)||looksSensitive(term))return;loggedTerms.add(term);pushDataLayerEvent({event:HELP_SEARCH_NO_RESULTS_EVENT,search_term:term,locale:getHelpSearchLocale()??\"en\"});},[enabled,isSettled,matchCount,query]);}\nexport const __FramerMetadata__ = {\"exports\":{\"resetHelpSearchNoResultTrackingForTests\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"useHelpSearchNoResultTracking\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"HELP_SEARCH_NO_RESULTS_EVENT\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","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.\"}};\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/MCZgm06XZx7RPzQU9KoP/uiStrings.js\";import{MODAL_SEARCH_UI_STRING_TRANSLATIONS}from\"https://framerusercontent.com/modules/ykkR4NKjThcZeBK5ngsO/YvJv08jnwhBaHT0XflcE/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})};}\nexport const __FramerMetadata__ = {\"exports\":{\"ModalSearchStrings\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"MODAL_SEARCH_UI_STRINGS\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"getModalSearchStrings\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","/**\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/xdgJ82S6Dev3kA7dXuVw/inputStyles.js\";import{useModal}from\"https://framerusercontent.com/modules/w9au2mLWaooURZgTwDza/7N1ZOVfa2PdehdMNHYDI/useModal.js\";import{useInteractiveStates}from\"https://framerusercontent.com/modules/Oyd67FvSjdl6uCVEyAij/93TOs8iurSkrwziSZ4OV/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/lJwHLh4VqzSAJcqwkB6s/modalConstants.js\";import{ModalOverlayAnimatePresence}from\"https://framerusercontent.com/modules/gnPzazAoBpiJ3sn3T5EM/ZzNpd3hsHctGm1ZyBpr9/ModalOverlayAnimatePresence.js\";import{createModalVariants}from\"https://framerusercontent.com/modules/4txbpRwhPsY7unmUb1pS/IEipsElHO5rJHTpkAylg/motionVariants.js\";import{ButtonCloseWithRef}from\"https://framerusercontent.com/modules/K5WXeTRnlTrVIxulnLAb/yCexYLAAaTFY4sB2hF8f/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/8iuiatiiW2aBfh3IqiIQ/collectionSearchFilter.js\";import{useHelpSearchNoResultTracking}from\"https://framerusercontent.com/modules/893CnlC7orHpIIs2k6gl/yqQtDI6dAAvLR7y6oaQ2/useHelpSearchNoResultTracking.js\";import{loadHelpSearchIndex,slugsMatchingQuery}from\"https://framerusercontent.com/modules/BNc22V5OleFxwlAtFbLs/9HuUqMBmHFb3z8LZNxZn/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/zGfYL1ljnfvktiJZAos2/modalSurface.js\";import{getBrandFocusColor,resolveBrand}from\"https://framerusercontent.com/modules/30edN7qiEI1dwQI5mdZ5/uHQu1MTq9jEJaJSooLsQ/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/WjbQ4rRCndEJceinuxTG/accessibilityLocalization.js\";import{getModalSearchStrings}from\"https://framerusercontent.com/modules/GUmK3XezNjwXTSyjhGwn/XXt1hBuGjrDD5ijCsr74/modalSearchStrings.js\";import{usePageLanguage}from\"https://framerusercontent.com/modules/dVNjDhV3hu8667Ecdtis/kspxwaCe0EMYnlgwBNri/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[isBodyIndexSettled,setIsBodyIndexSettled]=useState(false);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);setIsBodyIndexSettled(true);}},()=>{if(!cancelled){setIsBodyIndexSettled(true);}});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;useHelpSearchNoResultTracking({query:debouncedQuery,isSettled:filterSettledForActiveQuery&&isBodyIndexSettled&&bodyIndex!==null,matchCount,enabled:!isCanvas&&hasCollectionList&&isSearching});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\":{\"ModalSearchTriggerSize\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"ModalSearchProps\":{\"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/uHQu1MTq9jEJaJSooLsQ/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/zMx56iyA1uwmHufUpGLM/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/JFT7IVfKfNvmjS4s1XXB/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\":{\"Breakpoint\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"reactComponent\",\"name\":\"SectionHeaderSearch\",\"slots\":[\"collectionList\"],\"annotations\":{\"framerContractVersion\":\"1\"}},\"SectionHea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