{"version":3,"sources":["node_modules/@stencil/core/internal/app-data/index.js","node_modules/@stencil/core/internal/client/index.js","node_modules/@now/dpl-webcomponents/dist/components/clsx.m.js","node_modules/@now/dpl-webcomponents/dist/components/i18n.js","node_modules/@now/dpl-webcomponents/dist/components/header.js","node_modules/@now/dpl-webcomponents/dist/components/index3.js","node_modules/@now/dpl-webcomponents/dist/components/init-dpl-element.js","node_modules/@now/dpl-webcomponents/dist/components/now-internal-flyout2.js","node_modules/@now/dpl-webcomponents/dist/components/now-fallback-header.js","projects/suche-lib/src/lib/components/main-layout/header/header.component.ts","projects/suche-lib/src/lib/components/main-layout/header/header.component.html","node_modules/@now/dpl-webcomponents/dist/components/footer.js","node_modules/@now/dpl-webcomponents/dist/components/now-fallback-footer.js","projects/suche-lib/src/lib/components/main-layout/footer/footer.component.ts","projects/suche-lib/src/lib/components/main-layout/footer/footer.component.html","projects/suche-lib/src/lib/components/main-layout/main-layout.component.ts","projects/suche-lib/src/lib/components/main-layout/main-layout.component.html","projects/suche-lib/src/lib/components/responsive-context-info-header/responsive-context-info-header.component.ts","projects/suche-lib/src/lib/components/responsive-context-info-header/responsive-context-info-header.component.html","projects/suche-lib/src/lib/messages/Messages.ts","node_modules/@angular/forms/fesm2022/forms.mjs","projects/suche-lib/src/lib/components/typeahead/typeahead.component.ts","projects/suche-lib/src/lib/components/typeahead/typeahead.component.html","projects/suche-lib/src/lib/services/integration/suggestion.client.ts","projects/suche-lib/src/lib/components/suchleiste/textsuche/textsuche.component.ts","projects/suche-lib/src/lib/components/suchleiste/textsuche/textsuche.component.html","projects/suche-lib/src/lib/components/suchleiste/suchleiste.component.ts","projects/suche-lib/src/lib/components/suchleiste/suchleiste.component.html","projects/suche-lib/src/lib/components/suchergebnis/suchergebnis-hits-card/suchergebnis-hits-card.component.ts","projects/suche-lib/src/lib/components/suchergebnis/suchergebnis-hits-card/suchergebnis-hits-card.component.html","projects/suche-lib/src/lib/components/facetten/basis-facette/basis-facette.component.ts","projects/suche-lib/src/lib/components/facetten/basis-facette/basis-facette.component.html","projects/suche-lib/src/lib/components/facetten/facetten-modal-button/facetten-modal-button.component.ts","projects/suche-lib/src/lib/components/facetten/facetten-modal-button/facetten-modal-button.component.html","projects/suche-lib/src/lib/components/checkbox-helper-functions/checkbox-helper-functions.ts","projects/suche-lib/src/lib/components/checkbox-facette/checkbox-liste/filterSelectItem.ts","projects/suche-lib/src/lib/shared/pipes/truncate/truncate.pipe.ts","projects/suche-lib/src/lib/components/checkbox-facette/checkbox-liste/checkbox-liste.component.ts","projects/suche-lib/src/lib/components/checkbox-facette/checkbox-liste/checkbox-liste.component.html","projects/suche-lib/src/lib/components/checkbox-facette/checkbox-facette.component.ts","projects/suche-lib/src/lib/components/checkbox-facette/checkbox-facette.component.html","projects/suche-lib/src/lib/components/facetten/anbieter-facette/anbieter-facette.component.ts","projects/suche-lib/src/lib/components/facetten/anbieter-facette/anbieter-facette.component.html","projects/suche-lib/src/lib/components/facetten/barrierefreiheit-facette/barrierefreiheit-facette.component.ts","projects/suche-lib/src/lib/components/facetten/barrierefreiheit-facette/barrierefreiheit-facette.component.html","projects/suche-lib/src/lib/components/facetten/beginntermin-facette/beginntermin-facette.component.ts","projects/suche-lib/src/lib/components/facetten/beginntermin-facette/beginntermin-facette.component.html","projects/suche-lib/src/lib/components/facetten/dauer-facette/dauer-facette.component.ts","projects/suche-lib/src/lib/components/facetten/dauer-facette/dauer-facette.component.html","projects/suche-lib/src/lib/components/facetten/erweiterte-suche-toggle/erweiterte-suche-toggle.component.ts","projects/suche-lib/src/lib/components/facetten/erweiterte-suche-toggle/erweiterte-suche-toggle.component.html","projects/suche-lib/src/lib/components/facetten/facetten-slide-in/facetten-slide-in.component.ts","projects/suche-lib/src/lib/components/facetten/facetten-slide-in/facetten-slide-in.component.html","projects/suche-lib/src/lib/services/facetten/facetten-reset.service.ts","projects/suche-lib/src/lib/components/facetten/filter-zuruecksetzen/filter-zuruecksetzen.component.ts","projects/suche-lib/src/lib/components/facetten/filter-zuruecksetzen/filter-zuruecksetzen.component.html","projects/suche-lib/src/lib/components/facetten/foerderart-facette/foerderart-facette.component.ts","projects/suche-lib/src/lib/components/facetten/foerderart-facette/foerderart-facette.component.html","projects/suche-lib/src/lib/components/facetten/kosten-facette/kosten-facette.component.ts","projects/suche-lib/src/lib/components/facetten/kosten-facette/kosten-facette.component.html","projects/suche-lib/src/lib/components/facetten/modalIdData.ts","projects/suche-lib/src/lib/components/facetten/ort-facette/ort-suche-ortsunabhaengig.component/ort-suche-ortsunabhaengig.component.ts","projects/suche-lib/src/lib/components/facetten/ort-facette/ort-suche-ortsunabhaengig.component/ort-suche-ortsunabhaengig.component.html","projects/suche-lib/src/lib/shared/directives/tooltip/tooltip.directive.ts","projects/suche-lib/src/lib/components/facetten/ort-facette/ort-suche-suchzeile/ort-suche-suchzeile.component.ts","projects/suche-lib/src/lib/components/facetten/ort-facette/ort-suche-suchzeile/ort-suche-suchzeile.component.html","projects/suche-lib/src/lib/components/facetten/ort-facette/ort-facette.component.ts","projects/suche-lib/src/lib/components/facetten/ort-facette/ort-facette.component.html","projects/suche-lib/src/lib/components/range-slider/range-slider.component.ts","projects/suche-lib/src/lib/components/range-slider/range-slider.component.html","projects/suche-lib/src/lib/services/facetten/instance/umkreis-facetten.service.ts","projects/suche-lib/src/lib/components/facetten/umkreis-facette/ort-suchumkreis/ort-suchumkreis.component.ts","projects/suche-lib/src/lib/components/facetten/umkreis-facette/ort-suchumkreis/ort-suchumkreis.component.html","projects/suche-lib/src/lib/components/facetten/umkreis-facette/umkreis-facette.component.ts","projects/suche-lib/src/lib/components/facetten/umkreis-facette/umkreis-facette.component.html","projects/suche-lib/src/lib/components/facetten/unterrichtsform-facette/unterrichtsform-basis-facette/unterrichtsform-basis-facette.component.ts","projects/suche-lib/src/lib/components/facetten/unterrichtsform-facette/unterrichtsform-basis-facette/unterrichtsform-basis-facette.component.html","projects/suche-lib/src/lib/components/facetten/unterrichtsform-facette/digitale-lernform-facette/digitale-lernform-facette.component.ts","projects/suche-lib/src/lib/components/facetten/unterrichtsform-facette/digitale-lernform-facette/digitale-lernform-facette.component.html","projects/suche-lib/src/lib/components/facetten/unterrichtsform-facette/fernunterricht-facette/fernunterricht-facette.component.ts","projects/suche-lib/src/lib/components/facetten/unterrichtsform-facette/fernunterricht-facette/fernunterricht-facette.component.html","projects/suche-lib/src/lib/components/facetten/unterrichtsform-facette/kombinierte-lernform-facette/kombinierte-lernform-facette.component.ts","projects/suche-lib/src/lib/components/facetten/unterrichtsform-facette/kombinierte-lernform-facette/kombinierte-lernform-facette.component.html","projects/suche-lib/src/lib/components/facetten/unterrichtsform-facette/unterrichtsform-facette.component.ts","projects/suche-lib/src/lib/components/facetten/unterrichtsform-facette/unterrichtsform-facette.component.html","projects/suche-lib/src/lib/components/facetten/unterrichtsform-facette/vorort-facette/vorort-facette.component.ts","projects/suche-lib/src/lib/components/facetten/unterrichtsform-facette/vorort-facette/vorort-facette.component.html","projects/suche-lib/src/lib/components/facetten/unterrichtszeit-facette/unterrichtszeit-facette.component.ts","projects/suche-lib/src/lib/components/facetten/unterrichtszeit-facette/unterrichtszeit-facette.component.html","projects/suche-lib/src/lib/components/facetten/weiterbildungsart-facette/weiterbildungsart-facette.component.ts","projects/suche-lib/src/lib/components/facetten/weiterbildungsart-facette/weiterbildungsart-facette.component.html","projects/suche-lib/src/lib/components/facetten/facetten.component.ts","projects/suche-lib/src/lib/components/facetten/facetten.component.html","projects/suche-lib/src/lib/components/facetten/facetten.module.ts","projects/suche-lib/src/lib/components/suchergebnis/mobile-show-filter-button/mobile-show-filter-button.component.ts","projects/suche-lib/src/lib/components/suchergebnis/mobile-show-filter-button/mobile-show-filter-button.component.html","projects/suche-lib/src/lib/components/suchergebnis/required-inputs-state/required-inputs-state.component.ts","projects/suche-lib/src/lib/components/suchergebnis/required-inputs-state/required-inputs-state.component.html","projects/suche-lib/src/lib/components/suchergebnis/berufe-empty-state/berufe-empty-state.component.ts","projects/suche-lib/src/lib/components/suchergebnis/berufe-empty-state/berufe-empty-state.component.html","projects/suche-lib/src/lib/components/suchergebnis/suchergebnis-empty-state/suchergebnis-empty-state.component.ts","projects/suche-lib/src/lib/components/suchergebnis/suchergebnis-empty-state/suchergebnis-empty-state.component.html","projects/suche-lib/src/lib/components/angebot-list-item/angebot-list-item.component.ts","projects/suche-lib/src/lib/components/angebot-list-item/angebot-list-item.component.html","projects/suche-lib/src/lib/components/angebot-list/angebot-list.component.ts","projects/suche-lib/src/lib/components/angebot-list/angebot-list.component.html","projects/suche-lib/src/lib/services/state/termin-tabelle-sorting.service.ts","projects/suche-lib/src/lib/shared/utils/duration.ts","projects/suche-lib/src/lib/components/dropdown/dropdown.component.ts","projects/suche-lib/src/lib/components/dropdown/dropdown.component.html","projects/suche-lib/src/lib/components/angebot-termine-kachel/mobile-column-sort/mobile-column-sort.component.ts","projects/suche-lib/src/lib/components/angebot-termine-kachel/mobile-column-sort/mobile-column-sort.component.html","projects/suche-lib/src/lib/components/paginierung/paginierung-dpl/paginierung-dpl.component.ts","projects/suche-lib/src/lib/components/paginierung/paginierung-dpl/paginierung-dpl.component.html","projects/suche-lib/src/lib/components/angebot-termine-kachel/termin-tabelle-paginierung/termin-tabelle-paginierung.component.ts","projects/suche-lib/src/lib/components/angebot-termine-kachel/termin-tabelle-paginierung/termin-tabelle-paginierung.component.html","projects/suche-lib/src/lib/components/angebot-termine-kachel/termin-tabelle-kachel/termin-tabelle-kachel.component.ts","projects/suche-lib/src/lib/components/angebot-termine-kachel/termin-tabelle-kachel/termin-tabelle-kachel.component.html","projects/suche-lib/src/lib/components/angebot-termine-kachel/angebot-termine-kachel.component.ts","projects/suche-lib/src/lib/components/angebot-termine-kachel/angebot-termine-kachel.component.html","projects/suche-lib/src/lib/components/angebot-termine/angebot-termine-slider/angebot-termine-slider.component.ts","projects/suche-lib/src/lib/components/angebot-termine/angebot-termine-slider/angebot-termine-slider.component.html","projects/suche-lib/src/lib/components/angebot-termine/angebot-termine.component.ts","projects/suche-lib/src/lib/components/angebot-termine/angebot-termine.component.html","projects/suche-lib/src/lib/components/suchergebnis/ansichten/kompakt-ansicht/kompakt-ansicht.component.ts","projects/suche-lib/src/lib/components/suchergebnis/ansichten/kompakt-ansicht/kompakt-ansicht.component.html","projects/suche-lib/src/lib/services/absuche/absuche-link.service.ts","projects/suche-lib/src/lib/components/suchergebnis/suchergebnis-absuche-card/suchergebnis-absuche-card.component.ts","projects/suche-lib/src/lib/components/suchergebnis/suchergebnis-absuche-card/suchergebnis-absuche-card.component.html","projects/suche-lib/src/lib/components/suchergebnis/suchergebnis.component.ts","projects/suche-lib/src/lib/components/suchergebnis/suchergebnis.component.html","projects/suche-lib/src/lib/components/absuche-cards/absuche-cards.component.ts","projects/suche-lib/src/lib/components/absuche-cards/absuche-cards.component.html","projects/suche-lib/src/lib/components/feedback/feedback.component.ts","projects/suche-lib/src/lib/components/feedback/feedback.component.html","projects/suche-lib/src/lib/pages/suche/suche.component.ts","projects/suche-lib/src/lib/pages/suche/suche.component.html","projects/suche-lib/src/lib/testDaten/termin.data.spec.ts","projects/suche-lib/src/lib/testDaten/angebot.data.spec.ts","projects/suche-lib/src/lib/testDaten/bildungsangebotRest.data.spec.ts","projects/suche-lib/src/lib/interceptors/loading/loading.interceptor.ts","projects/suche-lib/src/lib/interceptors/xapikey/xapikey.interceptor.ts","projects/suche-lib/src/lib/suche-lib.module.ts","projects/suche-lib/src/lib/pages/themenfelder/bearbeiten-button/bearbeiten-button.component.ts","projects/suche-lib/src/lib/pages/themenfelder/bearbeiten-button/bearbeiten-button.component.html","projects/suche-lib/src/lib/pages/themenfelder/themenfelder-selection/themenfelder-selection.component.ts","projects/suche-lib/src/lib/pages/themenfelder/themenfelder-selection/themenfelder-selection.component.html","projects/suche-lib/src/lib/services/dkz/dkz.service.ts","projects/suche-lib/src/lib/services/themenfelder/themenfelder.service.ts","projects/suche-lib/src/lib/pages/themenfelder/themenfelder.component.ts","projects/suche-lib/src/lib/pages/themenfelder/themenfelder.component.html","projects/suche-app/src/app/components/back-to-top-button/back-to-top-button.component.ts","projects/suche-app/src/app/components/back-to-top-button/back-to-top-button.component.html","projects/suche-app/src/app/components/oiam-oauth/oiam-oauth.component.ts","projects/suche-app/src/app/components/oiam-oauth/oiam-oauth.component.html","projects/suche-app/src/app/components/version/version.component.ts","projects/suche-app/src/app/components/version/version.component.html","projects/suche-lib/src/lib/services/error/error.service.ts","projects/suche-app/src/app/service/canonical-url.service.ts","projects/suche-app/src/app/app.component.ts","projects/suche-app/src/app/app.component.html","projects/suche-app/src/environments/environment.prod.ts","projects/suche-lib/src/lib/interceptors/error/error.interceptor.ts","projects/suche-app/src/app/service/open-graph.service.ts","projects/suche-lib/src/lib/services/integration/error.handler.ts","node_modules/@angular/animations/fesm2022/animations.mjs","node_modules/@angular/animations/fesm2022/browser.mjs","node_modules/@angular/platform-browser/fesm2022/animations.mjs","projects/suche-app/src/app/pages/angebot-nicht-gefunden/angebot-nicht-gefunden.component.ts","projects/suche-app/src/app/pages/angebot-nicht-gefunden/angebot-nicht-gefunden.component.html","projects/suche-app/src/app/pages/error/error.component.ts","projects/suche-app/src/app/pages/error/error.component.html","projects/suche-app/src/app/pages/error404/error404.component.ts","projects/suche-app/src/app/pages/error404/error404.component.html","projects/suche-app/src/app/pages/suche/suche.component.ts","projects/suche-app/src/app/pages/suche/suche.component.html","projects/suche-app/src/app/pages/themenfelder/themenfelder-page.component.ts","projects/suche-app/src/app/pages/themenfelder/themenfelder-page.component.html","projects/suche-app/src/app/resolver/detailseite.resolver.ts","projects/suche-app/src/app/app.routes.ts","projects/suche-app/src/app/app.config.ts","projects/suche-app/src/main.ts"],"sourcesContent":["const BUILD = {\n allRenderFn: false,\n cmpDidLoad: true,\n cmpDidUnload: false,\n cmpDidUpdate: true,\n cmpDidRender: true,\n cmpWillLoad: true,\n cmpWillUpdate: true,\n cmpWillRender: true,\n connectedCallback: true,\n disconnectedCallback: true,\n element: true,\n event: true,\n hasRenderFn: true,\n lifecycle: true,\n hostListener: true,\n hostListenerTargetWindow: true,\n hostListenerTargetDocument: true,\n hostListenerTargetBody: true,\n hostListenerTargetParent: false,\n hostListenerTarget: true,\n member: true,\n method: true,\n mode: true,\n observeAttribute: true,\n prop: true,\n propMutable: true,\n reflect: true,\n scoped: true,\n shadowDom: true,\n slot: true,\n cssAnnotations: true,\n state: true,\n style: true,\n svg: true,\n updatable: true,\n vdomAttribute: true,\n vdomXlink: true,\n vdomClass: true,\n vdomFunctional: true,\n vdomKey: true,\n vdomListener: true,\n vdomRef: true,\n vdomPropOrAttr: true,\n vdomRender: true,\n vdomStyle: true,\n vdomText: true,\n watchCallback: true,\n taskQueue: true,\n hotModuleReplacement: false,\n isDebug: false,\n isDev: false,\n isTesting: false,\n hydrateServerSide: false,\n hydrateClientSide: false,\n lifecycleDOMEvents: false,\n lazyLoad: false,\n profile: false,\n slotRelocation: true,\n appendChildSlotFix: false,\n cloneNodeFix: false,\n hydratedAttribute: false,\n hydratedClass: true,\n // TODO(STENCIL-663): Remove code related to deprecated `safari10` field.\n safari10: false,\n scriptDataOpts: false,\n scopedSlotTextContentFix: false,\n // TODO(STENCIL-662): Remove code related to deprecated shadowDomShim field\n shadowDomShim: false,\n slotChildNodesFix: false,\n invisiblePrehydration: true,\n propBoolean: true,\n propNumber: true,\n propString: true,\n // TODO(STENCIL-659): Remove code implementing the CSS variable shim\n cssVarShim: false,\n constructableCSS: true,\n cmpShouldUpdate: true,\n devTools: false,\n // TODO(STENCIL-661): Remove code related to the dynamic import shim\n dynamicImportShim: false,\n shadowDelegatesFocus: true,\n initializeNextTick: false,\n asyncLoading: false,\n asyncQueue: false,\n transformTagName: false,\n attachStyles: true\n};\nconst Env = {};\nconst NAMESPACE = /* default */'app';\nexport { BUILD, Env, NAMESPACE };","/**\n * Virtual DOM patching algorithm based on Snabbdom by\n * Simon Friis Vindum (@paldepind)\n * Licensed under the MIT License\n * https://github.com/snabbdom/snabbdom/blob/master/LICENSE\n *\n * Modified for Stencil's renderer and slot projection\n */\nlet scopeId;\nlet contentRef;\nlet hostTagName;\nlet customError;\nlet i = 0;\nlet useNativeShadowDom = false;\nlet checkSlotFallbackVisibility = false;\nlet checkSlotRelocate = false;\nlet isSvgMode = false;\nlet renderingRef = null;\nlet queueCongestion = 0;\nlet queuePending = false;\n/*\n Stencil Client Platform v3.2.0 | MIT Licensed | https://stenciljs.com\n */\nimport { BUILD, NAMESPACE } from '@stencil/core/internal/app-data';\nconst Build = {\n isDev: BUILD.isDev ? true : false,\n isBrowser: true,\n isServer: false,\n isTesting: BUILD.isTesting ? true : false\n};\nconst Context = {};\nconst getAssetPath = path => {\n const assetUrl = new URL(path, plt.$resourcesUrl$);\n return assetUrl.origin !== win.location.origin ? assetUrl.href : assetUrl.pathname;\n};\nconst setAssetPath = path => plt.$resourcesUrl$ = path;\nconst createTime = (fnName, tagName = '') => {\n if (BUILD.profile && performance.mark) {\n const key = `st:${fnName}:${tagName}:${i++}`;\n // Start\n performance.mark(key);\n // End\n return () => performance.measure(`[Stencil] ${fnName}() <${tagName}>`, key);\n } else {\n return () => {\n return;\n };\n }\n};\nconst uniqueTime = (key, measureText) => {\n if (BUILD.profile && performance.mark) {\n if (performance.getEntriesByName(key, 'mark').length === 0) {\n performance.mark(key);\n }\n return () => {\n if (performance.getEntriesByName(measureText, 'measure').length === 0) {\n performance.measure(measureText, key);\n }\n };\n } else {\n return () => {\n return;\n };\n }\n};\nconst inspect = ref => {\n const hostRef = getHostRef(ref);\n if (!hostRef) {\n return undefined;\n }\n const flags = hostRef.$flags$;\n const hostElement = hostRef.$hostElement$;\n return {\n renderCount: hostRef.$renderCount$,\n flags: {\n hasRendered: !!(flags & 2 /* HOST_FLAGS.hasRendered */),\n hasConnected: !!(flags & 1 /* HOST_FLAGS.hasConnected */),\n isWaitingForChildren: !!(flags & 4 /* HOST_FLAGS.isWaitingForChildren */),\n isConstructingInstance: !!(flags & 8 /* HOST_FLAGS.isConstructingInstance */),\n isQueuedForUpdate: !!(flags & 16 /* HOST_FLAGS.isQueuedForUpdate */),\n hasInitializedComponent: !!(flags & 32 /* HOST_FLAGS.hasInitializedComponent */),\n hasLoadedComponent: !!(flags & 64 /* HOST_FLAGS.hasLoadedComponent */),\n isWatchReady: !!(flags & 128 /* HOST_FLAGS.isWatchReady */),\n isListenReady: !!(flags & 256 /* HOST_FLAGS.isListenReady */),\n needsRerender: !!(flags & 512 /* HOST_FLAGS.needsRerender */)\n },\n instanceValues: hostRef.$instanceValues$,\n ancestorComponent: hostRef.$ancestorComponent$,\n hostElement,\n lazyInstance: hostRef.$lazyInstance$,\n vnode: hostRef.$vnode$,\n modeName: hostRef.$modeName$,\n onReadyPromise: hostRef.$onReadyPromise$,\n onReadyResolve: hostRef.$onReadyResolve$,\n onInstancePromise: hostRef.$onInstancePromise$,\n onInstanceResolve: hostRef.$onInstanceResolve$,\n onRenderResolve: hostRef.$onRenderResolve$,\n queuedListeners: hostRef.$queuedListeners$,\n rmListeners: hostRef.$rmListeners$,\n ['s-id']: hostElement['s-id'],\n ['s-cr']: hostElement['s-cr'],\n ['s-lr']: hostElement['s-lr'],\n ['s-p']: hostElement['s-p'],\n ['s-rc']: hostElement['s-rc'],\n ['s-sc']: hostElement['s-sc']\n };\n};\nconst installDevTools = () => {\n if (BUILD.devTools) {\n const stencil = win.stencil = win.stencil || {};\n const originalInspect = stencil.inspect;\n stencil.inspect = ref => {\n let result = inspect(ref);\n if (!result && typeof originalInspect === 'function') {\n result = originalInspect(ref);\n }\n return result;\n };\n }\n};\nconst CONTENT_REF_ID = 'r';\nconst ORG_LOCATION_ID = 'o';\nconst SLOT_NODE_ID = 's';\nconst TEXT_NODE_ID = 't';\nconst HYDRATE_ID = 's-id';\nconst HYDRATED_STYLE_ID = 'sty-id';\nconst HYDRATE_CHILD_ID = 'c-id';\nconst HYDRATED_CSS = '{visibility:hidden}.hydrated{visibility:inherit}';\nconst XLINK_NS = 'http://www.w3.org/1999/xlink';\n/**\n * Default style mode id\n */\n/**\n * Reusable empty obj/array\n * Don't add values to these!!\n */\nconst EMPTY_OBJ = {};\n/**\n * Namespaces\n */\nconst SVG_NS = 'http://www.w3.org/2000/svg';\nconst HTML_NS = 'http://www.w3.org/1999/xhtml';\nconst isDef = v => v != null;\n/**\n * Check whether a value is a 'complex type', defined here as an object or a\n * function.\n *\n * @param o the value to check\n * @returns whether it's a complex type or not\n */\nconst isComplexType = o => {\n // https://jsperf.com/typeof-fn-object/5\n o = typeof o;\n return o === 'object' || o === 'function';\n};\n/**\n * Helper method for querying a `meta` tag that contains a nonce value\n * out of a DOM's head.\n *\n * @param doc The DOM containing the `head` to query against\n * @returns The content of the meta tag representing the nonce value, or `undefined` if no tag\n * exists or the tag has no content.\n */\nfunction queryNonceMetaTagContent(doc) {\n var _a, _b, _c;\n return (_c = (_b = (_a = doc.head) === null || _a === void 0 ? void 0 : _a.querySelector('meta[name=\"csp-nonce\"]')) === null || _b === void 0 ? void 0 : _b.getAttribute('content')) !== null && _c !== void 0 ? _c : undefined;\n}\n/**\n * Production h() function based on Preact by\n * Jason Miller (@developit)\n * Licensed under the MIT License\n * https://github.com/developit/preact/blob/master/LICENSE\n *\n * Modified for Stencil's compiler and vdom\n */\n// export function h(nodeName: string | d.FunctionalComponent, vnodeData: d.PropsType, child?: d.ChildType): d.VNode;\n// export function h(nodeName: string | d.FunctionalComponent, vnodeData: d.PropsType, ...children: d.ChildType[]): d.VNode;\nconst h = (nodeName, vnodeData, ...children) => {\n let child = null;\n let key = null;\n let slotName = null;\n let simple = false;\n let lastSimple = false;\n const vNodeChildren = [];\n const walk = c => {\n for (let i = 0; i < c.length; i++) {\n child = c[i];\n if (Array.isArray(child)) {\n walk(child);\n } else if (child != null && typeof child !== 'boolean') {\n if (simple = typeof nodeName !== 'function' && !isComplexType(child)) {\n child = String(child);\n } else if (BUILD.isDev && typeof nodeName !== 'function' && child.$flags$ === undefined) {\n consoleDevError(`vNode passed as children has unexpected type.\nMake sure it's using the correct h() function.\nEmpty objects can also be the cause, look for JSX comments that became objects.`);\n }\n if (simple && lastSimple) {\n // If the previous child was simple (string), we merge both\n vNodeChildren[vNodeChildren.length - 1].$text$ += child;\n } else {\n // Append a new vNode, if it's text, we create a text vNode\n vNodeChildren.push(simple ? newVNode(null, child) : child);\n }\n lastSimple = simple;\n }\n }\n };\n walk(children);\n if (vnodeData) {\n if (BUILD.isDev && nodeName === 'input') {\n validateInputProperties(vnodeData);\n }\n // normalize class / classname attributes\n if (BUILD.vdomKey && vnodeData.key) {\n key = vnodeData.key;\n }\n if (BUILD.slotRelocation && vnodeData.name) {\n slotName = vnodeData.name;\n }\n if (BUILD.vdomClass) {\n const classData = vnodeData.className || vnodeData.class;\n if (classData) {\n vnodeData.class = typeof classData !== 'object' ? classData : Object.keys(classData).filter(k => classData[k]).join(' ');\n }\n }\n }\n if (BUILD.isDev && vNodeChildren.some(isHost)) {\n consoleDevError(`The must be the single root component. Make sure:\n- You are NOT using hostData() and in the same component.\n- is used once, and it's the single root component of the render() function.`);\n }\n if (BUILD.vdomFunctional && typeof nodeName === 'function') {\n // nodeName is a functional component\n return nodeName(vnodeData === null ? {} : vnodeData, vNodeChildren, vdomFnUtils);\n }\n const vnode = newVNode(nodeName, null);\n vnode.$attrs$ = vnodeData;\n if (vNodeChildren.length > 0) {\n vnode.$children$ = vNodeChildren;\n }\n if (BUILD.vdomKey) {\n vnode.$key$ = key;\n }\n if (BUILD.slotRelocation) {\n vnode.$name$ = slotName;\n }\n return vnode;\n};\n/**\n * A utility function for creating a virtual DOM node from a tag and some\n * possible text content.\n *\n * @param tag the tag for this element\n * @param text possible text content for the node\n * @returns a newly-minted virtual DOM node\n */\nconst newVNode = (tag, text) => {\n const vnode = {\n $flags$: 0,\n $tag$: tag,\n $text$: text,\n $elm$: null,\n $children$: null\n };\n if (BUILD.vdomAttribute) {\n vnode.$attrs$ = null;\n }\n if (BUILD.vdomKey) {\n vnode.$key$ = null;\n }\n if (BUILD.slotRelocation) {\n vnode.$name$ = null;\n }\n return vnode;\n};\nconst Host = {};\n/**\n * Check whether a given node is a Host node or not\n *\n * @param node the virtual DOM node to check\n * @returns whether it's a Host node or not\n */\nconst isHost = node => node && node.$tag$ === Host;\n/**\n * Implementation of {@link d.FunctionalUtilities} for Stencil's VDom.\n *\n * Note that these functions convert from {@link d.VNode} to\n * {@link d.ChildNode} to give functional component developers a friendly\n * interface.\n */\nconst vdomFnUtils = {\n forEach: (children, cb) => children.map(convertToPublic).forEach(cb),\n map: (children, cb) => children.map(convertToPublic).map(cb).map(convertToPrivate)\n};\n/**\n * Convert a {@link d.VNode} to a {@link d.ChildNode} in order to present a\n * friendlier public interface (hence, 'convertToPublic').\n *\n * @param node the virtual DOM node to convert\n * @returns a converted child node\n */\nconst convertToPublic = node => ({\n vattrs: node.$attrs$,\n vchildren: node.$children$,\n vkey: node.$key$,\n vname: node.$name$,\n vtag: node.$tag$,\n vtext: node.$text$\n});\n/**\n * Convert a {@link d.ChildNode} back to an equivalent {@link d.VNode} in\n * order to use the resulting object in the virtual DOM. The initial object was\n * likely created as part of presenting a public API, so converting it back\n * involved making it 'private' again (hence, `convertToPrivate`).\n *\n * @param node the child node to convert\n * @returns a converted virtual DOM node\n */\nconst convertToPrivate = node => {\n if (typeof node.vtag === 'function') {\n const vnodeData = Object.assign({}, node.vattrs);\n if (node.vkey) {\n vnodeData.key = node.vkey;\n }\n if (node.vname) {\n vnodeData.name = node.vname;\n }\n return h(node.vtag, vnodeData, ...(node.vchildren || []));\n }\n const vnode = newVNode(node.vtag, node.vtext);\n vnode.$attrs$ = node.vattrs;\n vnode.$children$ = node.vchildren;\n vnode.$key$ = node.vkey;\n vnode.$name$ = node.vname;\n return vnode;\n};\n/**\n * Validates the ordering of attributes on an input element\n *\n * @param inputElm the element to validate\n */\nconst validateInputProperties = inputElm => {\n const props = Object.keys(inputElm);\n const value = props.indexOf('value');\n if (value === -1) {\n return;\n }\n const typeIndex = props.indexOf('type');\n const minIndex = props.indexOf('min');\n const maxIndex = props.indexOf('max');\n const stepIndex = props.indexOf('step');\n if (value < typeIndex || value < minIndex || value < maxIndex || value < stepIndex) {\n consoleDevWarn(`The \"value\" prop of should be set after \"min\", \"max\", \"type\" and \"step\"`);\n }\n};\nconst initializeClientHydrate = (hostElm, tagName, hostId, hostRef) => {\n const endHydrate = createTime('hydrateClient', tagName);\n const shadowRoot = hostElm.shadowRoot;\n const childRenderNodes = [];\n const slotNodes = [];\n const shadowRootNodes = BUILD.shadowDom && shadowRoot ? [] : null;\n const vnode = hostRef.$vnode$ = newVNode(tagName, null);\n if (!plt.$orgLocNodes$) {\n initializeDocumentHydrate(doc.body, plt.$orgLocNodes$ = new Map());\n }\n hostElm[HYDRATE_ID] = hostId;\n hostElm.removeAttribute(HYDRATE_ID);\n clientHydrate(vnode, childRenderNodes, slotNodes, shadowRootNodes, hostElm, hostElm, hostId);\n childRenderNodes.map(c => {\n const orgLocationId = c.$hostId$ + '.' + c.$nodeId$;\n const orgLocationNode = plt.$orgLocNodes$.get(orgLocationId);\n const node = c.$elm$;\n if (orgLocationNode && supportsShadow && orgLocationNode['s-en'] === '') {\n orgLocationNode.parentNode.insertBefore(node, orgLocationNode.nextSibling);\n }\n if (!shadowRoot) {\n node['s-hn'] = tagName;\n if (orgLocationNode) {\n node['s-ol'] = orgLocationNode;\n node['s-ol']['s-nr'] = node;\n }\n }\n plt.$orgLocNodes$.delete(orgLocationId);\n });\n if (BUILD.shadowDom && shadowRoot) {\n shadowRootNodes.map(shadowRootNode => {\n if (shadowRootNode) {\n shadowRoot.appendChild(shadowRootNode);\n }\n });\n }\n endHydrate();\n};\nconst clientHydrate = (parentVNode, childRenderNodes, slotNodes, shadowRootNodes, hostElm, node, hostId) => {\n let childNodeType;\n let childIdSplt;\n let childVNode;\n let i;\n if (node.nodeType === 1 /* NODE_TYPE.ElementNode */) {\n childNodeType = node.getAttribute(HYDRATE_CHILD_ID);\n if (childNodeType) {\n // got the node data from the element's attribute\n // `${hostId}.${nodeId}.${depth}.${index}`\n childIdSplt = childNodeType.split('.');\n if (childIdSplt[0] === hostId || childIdSplt[0] === '0') {\n childVNode = {\n $flags$: 0,\n $hostId$: childIdSplt[0],\n $nodeId$: childIdSplt[1],\n $depth$: childIdSplt[2],\n $index$: childIdSplt[3],\n $tag$: node.tagName.toLowerCase(),\n $elm$: node,\n $attrs$: null,\n $children$: null,\n $key$: null,\n $name$: null,\n $text$: null\n };\n childRenderNodes.push(childVNode);\n node.removeAttribute(HYDRATE_CHILD_ID);\n // this is a new child vnode\n // so ensure its parent vnode has the vchildren array\n if (!parentVNode.$children$) {\n parentVNode.$children$ = [];\n }\n // add our child vnode to a specific index of the vnode's children\n parentVNode.$children$[childVNode.$index$] = childVNode;\n // this is now the new parent vnode for all the next child checks\n parentVNode = childVNode;\n if (shadowRootNodes && childVNode.$depth$ === '0') {\n shadowRootNodes[childVNode.$index$] = childVNode.$elm$;\n }\n }\n }\n // recursively drill down, end to start so we can remove nodes\n for (i = node.childNodes.length - 1; i >= 0; i--) {\n clientHydrate(parentVNode, childRenderNodes, slotNodes, shadowRootNodes, hostElm, node.childNodes[i], hostId);\n }\n if (node.shadowRoot) {\n // keep drilling down through the shadow root nodes\n for (i = node.shadowRoot.childNodes.length - 1; i >= 0; i--) {\n clientHydrate(parentVNode, childRenderNodes, slotNodes, shadowRootNodes, hostElm, node.shadowRoot.childNodes[i], hostId);\n }\n }\n } else if (node.nodeType === 8 /* NODE_TYPE.CommentNode */) {\n // `${COMMENT_TYPE}.${hostId}.${nodeId}.${depth}.${index}`\n childIdSplt = node.nodeValue.split('.');\n if (childIdSplt[1] === hostId || childIdSplt[1] === '0') {\n // comment node for either the host id or a 0 host id\n childNodeType = childIdSplt[0];\n childVNode = {\n $flags$: 0,\n $hostId$: childIdSplt[1],\n $nodeId$: childIdSplt[2],\n $depth$: childIdSplt[3],\n $index$: childIdSplt[4],\n $elm$: node,\n $attrs$: null,\n $children$: null,\n $key$: null,\n $name$: null,\n $tag$: null,\n $text$: null\n };\n if (childNodeType === TEXT_NODE_ID) {\n childVNode.$elm$ = node.nextSibling;\n if (childVNode.$elm$ && childVNode.$elm$.nodeType === 3 /* NODE_TYPE.TextNode */) {\n childVNode.$text$ = childVNode.$elm$.textContent;\n childRenderNodes.push(childVNode);\n // remove the text comment since it's no longer needed\n node.remove();\n if (!parentVNode.$children$) {\n parentVNode.$children$ = [];\n }\n parentVNode.$children$[childVNode.$index$] = childVNode;\n if (shadowRootNodes && childVNode.$depth$ === '0') {\n shadowRootNodes[childVNode.$index$] = childVNode.$elm$;\n }\n }\n } else if (childVNode.$hostId$ === hostId) {\n // this comment node is specifcally for this host id\n if (childNodeType === SLOT_NODE_ID) {\n // `${SLOT_NODE_ID}.${hostId}.${nodeId}.${depth}.${index}.${slotName}`;\n childVNode.$tag$ = 'slot';\n if (childIdSplt[5]) {\n node['s-sn'] = childVNode.$name$ = childIdSplt[5];\n } else {\n node['s-sn'] = '';\n }\n node['s-sr'] = true;\n if (BUILD.shadowDom && shadowRootNodes) {\n // browser support shadowRoot and this is a shadow dom component\n // create an actual slot element\n childVNode.$elm$ = doc.createElement(childVNode.$tag$);\n if (childVNode.$name$) {\n // add the slot name attribute\n childVNode.$elm$.setAttribute('name', childVNode.$name$);\n }\n // insert the new slot element before the slot comment\n node.parentNode.insertBefore(childVNode.$elm$, node);\n // remove the slot comment since it's not needed for shadow\n node.remove();\n if (childVNode.$depth$ === '0') {\n shadowRootNodes[childVNode.$index$] = childVNode.$elm$;\n }\n }\n slotNodes.push(childVNode);\n if (!parentVNode.$children$) {\n parentVNode.$children$ = [];\n }\n parentVNode.$children$[childVNode.$index$] = childVNode;\n } else if (childNodeType === CONTENT_REF_ID) {\n // `${CONTENT_REF_ID}.${hostId}`;\n if (BUILD.shadowDom && shadowRootNodes) {\n // remove the content ref comment since it's not needed for shadow\n node.remove();\n } else if (BUILD.slotRelocation) {\n hostElm['s-cr'] = node;\n node['s-cn'] = true;\n }\n }\n }\n }\n } else if (parentVNode && parentVNode.$tag$ === 'style') {\n const vnode = newVNode(null, node.textContent);\n vnode.$elm$ = node;\n vnode.$index$ = '0';\n parentVNode.$children$ = [vnode];\n }\n};\nconst initializeDocumentHydrate = (node, orgLocNodes) => {\n if (node.nodeType === 1 /* NODE_TYPE.ElementNode */) {\n let i = 0;\n for (; i < node.childNodes.length; i++) {\n initializeDocumentHydrate(node.childNodes[i], orgLocNodes);\n }\n if (node.shadowRoot) {\n for (i = 0; i < node.shadowRoot.childNodes.length; i++) {\n initializeDocumentHydrate(node.shadowRoot.childNodes[i], orgLocNodes);\n }\n }\n } else if (node.nodeType === 8 /* NODE_TYPE.CommentNode */) {\n const childIdSplt = node.nodeValue.split('.');\n if (childIdSplt[0] === ORG_LOCATION_ID) {\n orgLocNodes.set(childIdSplt[1] + '.' + childIdSplt[2], node);\n node.nodeValue = '';\n // useful to know if the original location is\n // the root light-dom of a shadow dom component\n node['s-en'] = childIdSplt[3];\n }\n }\n};\n// Private\nconst computeMode = elm => modeResolutionChain.map(h => h(elm)).find(m => !!m);\n// Public\nconst setMode = handler => modeResolutionChain.push(handler);\nconst getMode = ref => getHostRef(ref).$modeName$;\n/**\n * Parse a new property value for a given property type.\n *\n * While the prop value can reasonably be expected to be of `any` type as far as TypeScript's type checker is concerned,\n * it is not safe to assume that the string returned by evaluating `typeof propValue` matches:\n * 1. `any`, the type given to `propValue` in the function signature\n * 2. the type stored from `propType`.\n *\n * This function provides the capability to parse/coerce a property's value to potentially any other JavaScript type.\n *\n * Property values represented in TSX preserve their type information. In the example below, the number 0 is passed to\n * a component. This `propValue` will preserve its type information (`typeof propValue === 'number'`). Note that is\n * based on the type of the value being passed in, not the type declared of the class member decorated with `@Prop`.\n * ```tsx\n * \n * ```\n *\n * HTML prop values on the other hand, will always a string\n *\n * @param propValue the new value to coerce to some type\n * @param propType the type of the prop, expressed as a binary number\n * @returns the parsed/coerced value\n */\nconst parsePropertyValue = (propValue, propType) => {\n // ensure this value is of the correct prop type\n if (propValue != null && !isComplexType(propValue)) {\n if (BUILD.propBoolean && propType & 4 /* MEMBER_FLAGS.Boolean */) {\n // per the HTML spec, any string value means it is a boolean true value\n // but we'll cheat here and say that the string \"false\" is the boolean false\n return propValue === 'false' ? false : propValue === '' || !!propValue;\n }\n if (BUILD.propNumber && propType & 2 /* MEMBER_FLAGS.Number */) {\n // force it to be a number\n return parseFloat(propValue);\n }\n if (BUILD.propString && propType & 1 /* MEMBER_FLAGS.String */) {\n // could have been passed as a number or boolean\n // but we still want it as a string\n return String(propValue);\n }\n // redundant return here for better minification\n return propValue;\n }\n // not sure exactly what type we want\n // so no need to change to a different type\n return propValue;\n};\nconst getElement = ref => BUILD.lazyLoad ? getHostRef(ref).$hostElement$ : ref;\nconst createEvent = (ref, name, flags) => {\n const elm = getElement(ref);\n return {\n emit: detail => {\n if (BUILD.isDev && !elm.isConnected) {\n consoleDevWarn(`The \"${name}\" event was emitted, but the dispatcher node is no longer connected to the dom.`);\n }\n return emitEvent(elm, name, {\n bubbles: !!(flags & 4 /* EVENT_FLAGS.Bubbles */),\n composed: !!(flags & 2 /* EVENT_FLAGS.Composed */),\n cancelable: !!(flags & 1 /* EVENT_FLAGS.Cancellable */),\n detail\n });\n }\n };\n};\n/**\n * Helper function to create & dispatch a custom Event on a provided target\n * @param elm the target of the Event\n * @param name the name to give the custom Event\n * @param opts options for configuring a custom Event\n * @returns the custom Event\n */\nconst emitEvent = (elm, name, opts) => {\n const ev = plt.ce(name, opts);\n elm.dispatchEvent(ev);\n return ev;\n};\nconst rootAppliedStyles = /*@__PURE__*/new WeakMap();\nconst registerStyle = (scopeId, cssText, allowCS) => {\n let style = styles.get(scopeId);\n if (supportsConstructableStylesheets && allowCS) {\n style = style || new CSSStyleSheet();\n if (typeof style === 'string') {\n style = cssText;\n } else {\n style.replaceSync(cssText);\n }\n } else {\n style = cssText;\n }\n styles.set(scopeId, style);\n};\nconst addStyle = (styleContainerNode, cmpMeta, mode, hostElm) => {\n var _a;\n let scopeId = getScopeId(cmpMeta, mode);\n const style = styles.get(scopeId);\n if (!BUILD.attachStyles) {\n return scopeId;\n }\n // if an element is NOT connected then getRootNode() will return the wrong root node\n // so the fallback is to always use the document for the root node in those cases\n styleContainerNode = styleContainerNode.nodeType === 11 /* NODE_TYPE.DocumentFragment */ ? styleContainerNode : doc;\n if (style) {\n if (typeof style === 'string') {\n styleContainerNode = styleContainerNode.head || styleContainerNode;\n let appliedStyles = rootAppliedStyles.get(styleContainerNode);\n let styleElm;\n if (!appliedStyles) {\n rootAppliedStyles.set(styleContainerNode, appliedStyles = new Set());\n }\n if (!appliedStyles.has(scopeId)) {\n if (BUILD.hydrateClientSide && styleContainerNode.host && (styleElm = styleContainerNode.querySelector(`[${HYDRATED_STYLE_ID}=\"${scopeId}\"]`))) {\n // This is only happening on native shadow-dom, do not needs CSS var shim\n styleElm.innerHTML = style;\n } else {\n // TODO(STENCIL-659): Remove code implementing the CSS variable shim\n if (BUILD.cssVarShim && plt.$cssShim$) {\n // TODO(STENCIL-659): Remove code implementing the CSS variable shim\n styleElm = plt.$cssShim$.createHostStyle(hostElm, scopeId, style,\n // TODO(STENCIL-662): Remove code related to deprecated shadowDomShim field\n !!(cmpMeta.$flags$ & 10 /* CMP_FLAGS.needsScopedEncapsulation */));\n const newScopeId = styleElm['s-sc'];\n if (newScopeId) {\n scopeId = newScopeId;\n // we don't want to add this styleID to the appliedStyles Set\n // since the cssVarShim might need to apply several different\n // stylesheets for the same component\n appliedStyles = null;\n }\n } else {\n styleElm = doc.createElement('style');\n styleElm.innerHTML = style;\n }\n // Apply CSP nonce to the style tag if it exists\n const nonce = (_a = plt.$nonce$) !== null && _a !== void 0 ? _a : queryNonceMetaTagContent(doc);\n if (nonce != null) {\n styleElm.setAttribute('nonce', nonce);\n }\n if (BUILD.hydrateServerSide || BUILD.hotModuleReplacement) {\n styleElm.setAttribute(HYDRATED_STYLE_ID, scopeId);\n }\n styleContainerNode.insertBefore(styleElm, styleContainerNode.querySelector('link'));\n }\n if (appliedStyles) {\n appliedStyles.add(scopeId);\n }\n }\n } else if (BUILD.constructableCSS && !styleContainerNode.adoptedStyleSheets.includes(style)) {\n styleContainerNode.adoptedStyleSheets = [...styleContainerNode.adoptedStyleSheets, style];\n }\n }\n return scopeId;\n};\nconst attachStyles = hostRef => {\n const cmpMeta = hostRef.$cmpMeta$;\n const elm = hostRef.$hostElement$;\n const flags = cmpMeta.$flags$;\n const endAttachStyles = createTime('attachStyles', cmpMeta.$tagName$);\n const scopeId = addStyle(BUILD.shadowDom && supportsShadow && elm.shadowRoot ? elm.shadowRoot : elm.getRootNode(), cmpMeta, hostRef.$modeName$, elm);\n // TODO(STENCIL-662): Remove code related to deprecated shadowDomShim field\n if ((BUILD.shadowDom || BUILD.scoped) && BUILD.cssAnnotations && flags & 10 /* CMP_FLAGS.needsScopedEncapsulation */) {\n // only required when we're NOT using native shadow dom (slot)\n // or this browser doesn't support native shadow dom\n // and this host element was NOT created with SSR\n // let's pick out the inner content for slot projection\n // create a node to represent where the original\n // content was first placed, which is useful later on\n // DOM WRITE!!\n elm['s-sc'] = scopeId;\n elm.classList.add(scopeId + '-h');\n if (BUILD.scoped && flags & 2 /* CMP_FLAGS.scopedCssEncapsulation */) {\n elm.classList.add(scopeId + '-s');\n }\n }\n endAttachStyles();\n};\nconst getScopeId = (cmp, mode) => 'sc-' + (BUILD.mode && mode && cmp.$flags$ & 32 /* CMP_FLAGS.hasMode */ ? cmp.$tagName$ + '-' + mode : cmp.$tagName$);\nconst convertScopedToShadow = css => css.replace(/\\/\\*!@([^\\/]+)\\*\\/[^\\{]+\\{/g, '$1{');\n/**\n * Production setAccessor() function based on Preact by\n * Jason Miller (@developit)\n * Licensed under the MIT License\n * https://github.com/developit/preact/blob/master/LICENSE\n *\n * Modified for Stencil's compiler and vdom\n */\nconst setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags) => {\n if (oldValue !== newValue) {\n let isProp = isMemberInElement(elm, memberName);\n let ln = memberName.toLowerCase();\n if (BUILD.vdomClass && memberName === 'class') {\n const classList = elm.classList;\n const oldClasses = parseClassList(oldValue);\n const newClasses = parseClassList(newValue);\n classList.remove(...oldClasses.filter(c => c && !newClasses.includes(c)));\n classList.add(...newClasses.filter(c => c && !oldClasses.includes(c)));\n } else if (BUILD.vdomStyle && memberName === 'style') {\n // update style attribute, css properties and values\n if (BUILD.updatable) {\n for (const prop in oldValue) {\n if (!newValue || newValue[prop] == null) {\n if (!BUILD.hydrateServerSide && prop.includes('-')) {\n elm.style.removeProperty(prop);\n } else {\n elm.style[prop] = '';\n }\n }\n }\n }\n for (const prop in newValue) {\n if (!oldValue || newValue[prop] !== oldValue[prop]) {\n if (!BUILD.hydrateServerSide && prop.includes('-')) {\n elm.style.setProperty(prop, newValue[prop]);\n } else {\n elm.style[prop] = newValue[prop];\n }\n }\n }\n } else if (BUILD.vdomKey && memberName === 'key') ;else if (BUILD.vdomRef && memberName === 'ref') {\n // minifier will clean this up\n if (newValue) {\n newValue(elm);\n }\n } else if (BUILD.vdomListener && (BUILD.lazyLoad ? !isProp : !elm.__lookupSetter__(memberName)) && memberName[0] === 'o' && memberName[1] === 'n') {\n // Event Handlers\n // so if the member name starts with \"on\" and the 3rd characters is\n // a capital letter, and it's not already a member on the element,\n // then we're assuming it's an event listener\n if (memberName[2] === '-') {\n // on- prefixed events\n // allows to be explicit about the dom event to listen without any magic\n // under the hood:\n // // listens for \"click\"\n // // listens for \"Click\"\n // // listens for \"ionChange\"\n // // listens for \"EVENTS\"\n memberName = memberName.slice(3);\n } else if (isMemberInElement(win, ln)) {\n // standard event\n // the JSX attribute could have been \"onMouseOver\" and the\n // member name \"onmouseover\" is on the window's prototype\n // so let's add the listener \"mouseover\", which is all lowercased\n memberName = ln.slice(2);\n } else {\n // custom event\n // the JSX attribute could have been \"onMyCustomEvent\"\n // so let's trim off the \"on\" prefix and lowercase the first character\n // and add the listener \"myCustomEvent\"\n // except for the first character, we keep the event name case\n memberName = ln[2] + memberName.slice(3);\n }\n if (oldValue) {\n plt.rel(elm, memberName, oldValue, false);\n }\n if (newValue) {\n plt.ael(elm, memberName, newValue, false);\n }\n } else if (BUILD.vdomPropOrAttr) {\n // Set property if it exists and it's not a SVG\n const isComplex = isComplexType(newValue);\n if ((isProp || isComplex && newValue !== null) && !isSvg) {\n try {\n if (!elm.tagName.includes('-')) {\n const n = newValue == null ? '' : newValue;\n // Workaround for Safari, moving the caret when re-assigning the same valued\n if (memberName === 'list') {\n isProp = false;\n } else if (oldValue == null || elm[memberName] != n) {\n elm[memberName] = n;\n }\n } else {\n elm[memberName] = newValue;\n }\n } catch (e) {}\n }\n /**\n * Need to manually update attribute if:\n * - memberName is not an attribute\n * - if we are rendering the host element in order to reflect attribute\n * - if it's a SVG, since properties might not work in \n * - if the newValue is null/undefined or 'false'.\n */\n let xlink = false;\n if (BUILD.vdomXlink) {\n if (ln !== (ln = ln.replace(/^xlink\\:?/, ''))) {\n memberName = ln;\n xlink = true;\n }\n }\n if (newValue == null || newValue === false) {\n if (newValue !== false || elm.getAttribute(memberName) === '') {\n if (BUILD.vdomXlink && xlink) {\n elm.removeAttributeNS(XLINK_NS, memberName);\n } else {\n elm.removeAttribute(memberName);\n }\n }\n } else if ((!isProp || flags & 4 /* VNODE_FLAGS.isHost */ || isSvg) && !isComplex) {\n newValue = newValue === true ? '' : newValue;\n if (BUILD.vdomXlink && xlink) {\n elm.setAttributeNS(XLINK_NS, memberName, newValue);\n } else {\n elm.setAttribute(memberName, newValue);\n }\n }\n }\n }\n};\nconst parseClassListRegex = /\\s/;\nconst parseClassList = value => !value ? [] : value.split(parseClassListRegex);\nconst updateElement = (oldVnode, newVnode, isSvgMode, memberName) => {\n // if the element passed in is a shadow root, which is a document fragment\n // then we want to be adding attrs/props to the shadow root's \"host\" element\n // if it's not a shadow root, then we add attrs/props to the same element\n const elm = newVnode.$elm$.nodeType === 11 /* NODE_TYPE.DocumentFragment */ && newVnode.$elm$.host ? newVnode.$elm$.host : newVnode.$elm$;\n const oldVnodeAttrs = oldVnode && oldVnode.$attrs$ || EMPTY_OBJ;\n const newVnodeAttrs = newVnode.$attrs$ || EMPTY_OBJ;\n if (BUILD.updatable) {\n // remove attributes no longer present on the vnode by setting them to undefined\n for (memberName in oldVnodeAttrs) {\n if (!(memberName in newVnodeAttrs)) {\n setAccessor(elm, memberName, oldVnodeAttrs[memberName], undefined, isSvgMode, newVnode.$flags$);\n }\n }\n }\n // add new & update changed attributes\n for (memberName in newVnodeAttrs) {\n setAccessor(elm, memberName, oldVnodeAttrs[memberName], newVnodeAttrs[memberName], isSvgMode, newVnode.$flags$);\n }\n};\n/**\n * Create a DOM Node corresponding to one of the children of a given VNode.\n *\n * @param oldParentVNode the parent VNode from the previous render\n * @param newParentVNode the parent VNode from the current render\n * @param childIndex the index of the VNode, in the _new_ parent node's\n * children, for which we will create a new DOM node\n * @param parentElm the parent DOM node which our new node will be a child of\n * @returns the newly created node\n */\nconst createElm = (oldParentVNode, newParentVNode, childIndex, parentElm) => {\n // tslint:disable-next-line: prefer-const\n const newVNode = newParentVNode.$children$[childIndex];\n let i = 0;\n let elm;\n let childNode;\n let oldVNode;\n if (BUILD.slotRelocation && !useNativeShadowDom) {\n // remember for later we need to check to relocate nodes\n checkSlotRelocate = true;\n if (newVNode.$tag$ === 'slot') {\n if (scopeId) {\n // scoped css needs to add its scoped id to the parent element\n parentElm.classList.add(scopeId + '-s');\n }\n newVNode.$flags$ |= newVNode.$children$ ?\n // slot element has fallback content\n 2 /* VNODE_FLAGS.isSlotFallback */ :\n // slot element does not have fallback content\n 1 /* VNODE_FLAGS.isSlotReference */;\n }\n }\n if (BUILD.isDev && newVNode.$elm$) {\n consoleDevError(`The JSX ${newVNode.$text$ !== null ? `\"${newVNode.$text$}\" text` : `\"${newVNode.$tag$}\" element`} node should not be shared within the same renderer. The renderer caches element lookups in order to improve performance. However, a side effect from this is that the exact same JSX node should not be reused. For more information please see https://stenciljs.com/docs/templating-jsx#avoid-shared-jsx-nodes`);\n }\n if (BUILD.vdomText && newVNode.$text$ !== null) {\n // create text node\n elm = newVNode.$elm$ = doc.createTextNode(newVNode.$text$);\n } else if (BUILD.slotRelocation && newVNode.$flags$ & 1 /* VNODE_FLAGS.isSlotReference */) {\n // create a slot reference node\n elm = newVNode.$elm$ = BUILD.isDebug || BUILD.hydrateServerSide ? slotReferenceDebugNode(newVNode) : doc.createTextNode('');\n } else {\n if (BUILD.svg && !isSvgMode) {\n isSvgMode = newVNode.$tag$ === 'svg';\n }\n // create element\n elm = newVNode.$elm$ = BUILD.svg ? doc.createElementNS(isSvgMode ? SVG_NS : HTML_NS, BUILD.slotRelocation && newVNode.$flags$ & 2 /* VNODE_FLAGS.isSlotFallback */ ? 'slot-fb' : newVNode.$tag$) : doc.createElement(BUILD.slotRelocation && newVNode.$flags$ & 2 /* VNODE_FLAGS.isSlotFallback */ ? 'slot-fb' : newVNode.$tag$);\n if (BUILD.svg && isSvgMode && newVNode.$tag$ === 'foreignObject') {\n isSvgMode = false;\n }\n // add css classes, attrs, props, listeners, etc.\n if (BUILD.vdomAttribute) {\n updateElement(null, newVNode, isSvgMode);\n }\n if ((BUILD.shadowDom || BUILD.scoped) && isDef(scopeId) && elm['s-si'] !== scopeId) {\n // if there is a scopeId and this is the initial render\n // then let's add the scopeId as a css class\n elm.classList.add(elm['s-si'] = scopeId);\n }\n if (newVNode.$children$) {\n for (i = 0; i < newVNode.$children$.length; ++i) {\n // create the node\n childNode = createElm(oldParentVNode, newVNode, i, elm);\n // return node could have been null\n if (childNode) {\n // append our new node\n elm.appendChild(childNode);\n }\n }\n }\n if (BUILD.svg) {\n if (newVNode.$tag$ === 'svg') {\n // Only reset the SVG context when we're exiting element\n isSvgMode = false;\n } else if (elm.tagName === 'foreignObject') {\n // Reenter SVG context when we're exiting element\n isSvgMode = true;\n }\n }\n }\n if (BUILD.slotRelocation) {\n elm['s-hn'] = hostTagName;\n if (newVNode.$flags$ & (2 /* VNODE_FLAGS.isSlotFallback */ | 1 /* VNODE_FLAGS.isSlotReference */)) {\n // remember the content reference comment\n elm['s-sr'] = true;\n // remember the content reference comment\n elm['s-cr'] = contentRef;\n // remember the slot name, or empty string for default slot\n elm['s-sn'] = newVNode.$name$ || '';\n // check if we've got an old vnode for this slot\n oldVNode = oldParentVNode && oldParentVNode.$children$ && oldParentVNode.$children$[childIndex];\n if (oldVNode && oldVNode.$tag$ === newVNode.$tag$ && oldParentVNode.$elm$) {\n // we've got an old slot vnode and the wrapper is being replaced\n // so let's move the old slot content back to it's original location\n putBackInOriginalLocation(oldParentVNode.$elm$, false);\n }\n }\n }\n return elm;\n};\nconst putBackInOriginalLocation = (parentElm, recursive) => {\n plt.$flags$ |= 1 /* PLATFORM_FLAGS.isTmpDisconnected */;\n const oldSlotChildNodes = parentElm.childNodes;\n for (let i = oldSlotChildNodes.length - 1; i >= 0; i--) {\n const childNode = oldSlotChildNodes[i];\n if (childNode['s-hn'] !== hostTagName && childNode['s-ol']) {\n // // this child node in the old element is from another component\n // // remove this node from the old slot's parent\n // childNode.remove();\n // and relocate it back to it's original location\n parentReferenceNode(childNode).insertBefore(childNode, referenceNode(childNode));\n // remove the old original location comment entirely\n // later on the patch function will know what to do\n // and move this to the correct spot in need be\n childNode['s-ol'].remove();\n childNode['s-ol'] = undefined;\n checkSlotRelocate = true;\n }\n if (recursive) {\n putBackInOriginalLocation(childNode, recursive);\n }\n }\n plt.$flags$ &= ~1 /* PLATFORM_FLAGS.isTmpDisconnected */;\n};\n/**\n * Create DOM nodes corresponding to a list of {@link d.Vnode} objects and\n * add them to the DOM in the appropriate place.\n *\n * @param parentElm the DOM node which should be used as a parent for the new\n * DOM nodes\n * @param before a child of the `parentElm` which the new children should be\n * inserted before (optional)\n * @param parentVNode the parent virtual DOM node\n * @param vnodes the new child virtual DOM nodes to produce DOM nodes for\n * @param startIdx the index in the child virtual DOM nodes at which to start\n * creating DOM nodes (inclusive)\n * @param endIdx the index in the child virtual DOM nodes at which to stop\n * creating DOM nodes (inclusive)\n */\nconst addVnodes = (parentElm, before, parentVNode, vnodes, startIdx, endIdx) => {\n let containerElm = BUILD.slotRelocation && parentElm['s-cr'] && parentElm['s-cr'].parentNode || parentElm;\n let childNode;\n if (BUILD.shadowDom && containerElm.shadowRoot && containerElm.tagName === hostTagName) {\n containerElm = containerElm.shadowRoot;\n }\n for (; startIdx <= endIdx; ++startIdx) {\n if (vnodes[startIdx]) {\n childNode = createElm(null, parentVNode, startIdx, parentElm);\n if (childNode) {\n vnodes[startIdx].$elm$ = childNode;\n containerElm.insertBefore(childNode, BUILD.slotRelocation ? referenceNode(before) : before);\n }\n }\n }\n};\n/**\n * Remove the DOM elements corresponding to a list of {@link d.VNode} objects.\n * This can be used to, for instance, clean up after a list of children which\n * should no longer be shown.\n *\n * This function also handles some of Stencil's slot relocation logic.\n *\n * @param vnodes a list of virtual DOM nodes to remove\n * @param startIdx the index at which to start removing nodes (inclusive)\n * @param endIdx the index at which to stop removing nodes (inclusive)\n * @param vnode a VNode\n * @param elm an element\n */\nconst removeVnodes = (vnodes, startIdx, endIdx, vnode, elm) => {\n for (; startIdx <= endIdx; ++startIdx) {\n if (vnode = vnodes[startIdx]) {\n elm = vnode.$elm$;\n callNodeRefs(vnode);\n if (BUILD.slotRelocation) {\n // we're removing this element\n // so it's possible we need to show slot fallback content now\n checkSlotFallbackVisibility = true;\n if (elm['s-ol']) {\n // remove the original location comment\n elm['s-ol'].remove();\n } else {\n // it's possible that child nodes of the node\n // that's being removed are slot nodes\n putBackInOriginalLocation(elm, true);\n }\n }\n // remove the vnode's element from the dom\n elm.remove();\n }\n }\n};\n/**\n * Reconcile the children of a new VNode with the children of an old VNode by\n * traversing the two collections of children, identifying nodes that are\n * conserved or changed, calling out to `patch` to make any necessary\n * updates to the DOM, and rearranging DOM nodes as needed.\n *\n * The algorithm for reconciling children works by analyzing two 'windows' onto\n * the two arrays of children (`oldCh` and `newCh`). We keep track of the\n * 'windows' by storing start and end indices and references to the\n * corresponding array entries. Initially the two 'windows' are basically equal\n * to the entire array, but we progressively narrow the windows until there are\n * no children left to update by doing the following:\n *\n * 1. Skip any `null` entries at the beginning or end of the two arrays, so\n * that if we have an initial array like the following we'll end up dealing\n * only with a window bounded by the highlighted elements:\n *\n * [null, null, VNode1 , ... , VNode2, null, null]\n * ^^^^^^ ^^^^^^\n *\n * 2. Check to see if the elements at the head and tail positions are equal\n * across the windows. This will basically detect elements which haven't\n * been added, removed, or changed position, i.e. if you had the following\n * VNode elements (represented as HTML):\n *\n * oldVNode: `

HEY

`\n * newVNode: `

THERE

`\n *\n * Then when comparing the children of the `
` tag we check the equality\n * of the VNodes corresponding to the `

` tags and, since they are the\n * same tag in the same position, we'd be able to avoid completely\n * re-rendering the subtree under them with a new DOM element and would just\n * call out to `patch` to handle reconciling their children and so on.\n *\n * 3. Check, for both windows, to see if the element at the beginning of the\n * window corresponds to the element at the end of the other window. This is\n * a heuristic which will let us identify _some_ situations in which\n * elements have changed position, for instance it _should_ detect that the\n * children nodes themselves have not changed but merely moved in the\n * following example:\n *\n * oldVNode: `

`\n * newVNode: `
`\n *\n * If we find cases like this then we also need to move the concrete DOM\n * elements corresponding to the moved children to write the re-order to the\n * DOM.\n *\n * 4. Finally, if VNodes have the `key` attribute set on them we check for any\n * nodes in the old children which have the same key as the first element in\n * our window on the new children. If we find such a node we handle calling\n * out to `patch`, moving relevant DOM nodes, and so on, in accordance with\n * what we find.\n *\n * Finally, once we've narrowed our 'windows' to the point that either of them\n * collapse (i.e. they have length 0) we then handle any remaining VNode\n * insertion or deletion that needs to happen to get a DOM state that correctly\n * reflects the new child VNodes. If, for instance, after our window on the old\n * children has collapsed we still have more nodes on the new children that\n * we haven't dealt with yet then we need to add them, or if the new children\n * collapse but we still have unhandled _old_ children then we need to make\n * sure the corresponding DOM nodes are removed.\n *\n * @param parentElm the node into which the parent VNode is rendered\n * @param oldCh the old children of the parent node\n * @param newVNode the new VNode which will replace the parent\n * @param newCh the new children of the parent node\n */\nconst updateChildren = (parentElm, oldCh, newVNode, newCh) => {\n let oldStartIdx = 0;\n let newStartIdx = 0;\n let idxInOld = 0;\n let i = 0;\n let oldEndIdx = oldCh.length - 1;\n let oldStartVnode = oldCh[0];\n let oldEndVnode = oldCh[oldEndIdx];\n let newEndIdx = newCh.length - 1;\n let newStartVnode = newCh[0];\n let newEndVnode = newCh[newEndIdx];\n let node;\n let elmToMove;\n while (oldStartIdx <= oldEndIdx && newStartIdx <= newEndIdx) {\n if (oldStartVnode == null) {\n // VNode might have been moved left\n oldStartVnode = oldCh[++oldStartIdx];\n } else if (oldEndVnode == null) {\n oldEndVnode = oldCh[--oldEndIdx];\n } else if (newStartVnode == null) {\n newStartVnode = newCh[++newStartIdx];\n } else if (newEndVnode == null) {\n newEndVnode = newCh[--newEndIdx];\n } else if (isSameVnode(oldStartVnode, newStartVnode)) {\n // if the start nodes are the same then we should patch the new VNode\n // onto the old one, and increment our `newStartIdx` and `oldStartIdx`\n // indices to reflect that. We don't need to move any DOM Nodes around\n // since things are matched up in order.\n patch(oldStartVnode, newStartVnode);\n oldStartVnode = oldCh[++oldStartIdx];\n newStartVnode = newCh[++newStartIdx];\n } else if (isSameVnode(oldEndVnode, newEndVnode)) {\n // likewise, if the end nodes are the same we patch new onto old and\n // decrement our end indices, and also likewise in this case we don't\n // need to move any DOM Nodes.\n patch(oldEndVnode, newEndVnode);\n oldEndVnode = oldCh[--oldEndIdx];\n newEndVnode = newCh[--newEndIdx];\n } else if (isSameVnode(oldStartVnode, newEndVnode)) {\n // case: \"Vnode moved right\"\n //\n // We've found that the last node in our window on the new children is\n // the same VNode as the _first_ node in our window on the old children\n // we're dealing with now. Visually, this is the layout of these two\n // nodes:\n //\n // newCh: [..., newStartVnode , ... , newEndVnode , ...]\n // ^^^^^^^^^^^\n // oldCh: [..., oldStartVnode , ... , oldEndVnode , ...]\n // ^^^^^^^^^^^^^\n //\n // In this situation we need to patch `newEndVnode` onto `oldStartVnode`\n // and move the DOM element for `oldStartVnode`.\n if (BUILD.slotRelocation && (oldStartVnode.$tag$ === 'slot' || newEndVnode.$tag$ === 'slot')) {\n putBackInOriginalLocation(oldStartVnode.$elm$.parentNode, false);\n }\n patch(oldStartVnode, newEndVnode);\n // We need to move the element for `oldStartVnode` into a position which\n // will be appropriate for `newEndVnode`. For this we can use\n // `.insertBefore` and `oldEndVnode.$elm$.nextSibling`. If there is a\n // sibling for `oldEndVnode.$elm$` then we want to move the DOM node for\n // `oldStartVnode` between `oldEndVnode` and it's sibling, like so:\n //\n // \n // \n // \n // \n // \n // \n // ```\n // In this case if we do not unshadow here and use the value of the shadowing property, attributeChangedCallback\n // will be called with `newValue = \"some-value\"` and will set the shadowed property (this.someAttribute = \"another-value\")\n // to the value that was set inline i.e. \"some-value\" from above example. When\n // the connectedCallback attempts to unshadow it will use \"some-value\" as the initial value rather than \"another-value\"\n //\n // The case where the attribute was NOT set inline but was not set programmatically shall be handled/unshadowed\n // by connectedCallback as this attributeChangedCallback will not fire.\n //\n // https://developers.google.com/web/fundamentals/web-components/best-practices#lazy-properties\n //\n // TODO(STENCIL-16) we should think about whether or not we actually want to be reflecting the attributes to\n // properties here given that this goes against best practices outlined here\n // https://developers.google.com/web/fundamentals/web-components/best-practices#avoid-reentrancy\n if (this.hasOwnProperty(propName)) {\n newValue = this[propName];\n delete this[propName];\n } else if (prototype.hasOwnProperty(propName) && typeof this[propName] === 'number' && this[propName] == newValue) {\n // if the propName exists on the prototype of `Cstr`, this update may be a result of Stencil using native\n // APIs to reflect props as attributes. Calls to `setAttribute(someElement, propName)` will result in\n // `propName` to be converted to a `DOMString`, which may not be what we want for other primitive props.\n return;\n }\n this[propName] = newValue === null && typeof this[propName] === 'boolean' ? false : newValue;\n });\n };\n // create an array of attributes to observe\n // and also create a map of html attribute name to js property name\n Cstr.observedAttributes = members.filter(([_, m]) => m[0] & 15 /* MEMBER_FLAGS.HasAttribute */) // filter to only keep props that should match attributes\n .map(([propName, m]) => {\n const attrName = m[1] || propName;\n attrNameToPropName.set(attrName, propName);\n if (BUILD.reflect && m[0] & 512 /* MEMBER_FLAGS.ReflectAttr */) {\n cmpMeta.$attrsToReflect$.push([propName, attrName]);\n }\n return attrName;\n });\n }\n }\n return Cstr;\n};\nconst initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId, Cstr) => {\n // initializeComponent\n if ((BUILD.lazyLoad || BUILD.hydrateServerSide || BUILD.style) && (hostRef.$flags$ & 32 /* HOST_FLAGS.hasInitializedComponent */) === 0) {\n if (BUILD.lazyLoad || BUILD.hydrateClientSide) {\n // we haven't initialized this element yet\n hostRef.$flags$ |= 32 /* HOST_FLAGS.hasInitializedComponent */;\n // lazy loaded components\n // request the component's implementation to be\n // wired up with the host element\n Cstr = loadModule(cmpMeta, hostRef, hmrVersionId);\n if (Cstr.then) {\n // Await creates a micro-task avoid if possible\n const endLoad = uniqueTime(`st:load:${cmpMeta.$tagName$}:${hostRef.$modeName$}`, `[Stencil] Load module for <${cmpMeta.$tagName$}>`);\n Cstr = await Cstr;\n endLoad();\n }\n if ((BUILD.isDev || BUILD.isDebug) && !Cstr) {\n throw new Error(`Constructor for \"${cmpMeta.$tagName$}#${hostRef.$modeName$}\" was not found`);\n }\n if (BUILD.member && !Cstr.isProxied) {\n // we've never proxied this Constructor before\n // let's add the getters/setters to its prototype before\n // the first time we create an instance of the implementation\n if (BUILD.watchCallback) {\n cmpMeta.$watchers$ = Cstr.watchers;\n }\n proxyComponent(Cstr, cmpMeta, 2 /* PROXY_FLAGS.proxyState */);\n Cstr.isProxied = true;\n }\n const endNewInstance = createTime('createInstance', cmpMeta.$tagName$);\n // ok, time to construct the instance\n // but let's keep track of when we start and stop\n // so that the getters/setters don't incorrectly step on data\n if (BUILD.member) {\n hostRef.$flags$ |= 8 /* HOST_FLAGS.isConstructingInstance */;\n }\n // construct the lazy-loaded component implementation\n // passing the hostRef is very important during\n // construction in order to directly wire together the\n // host element and the lazy-loaded instance\n try {\n new Cstr(hostRef);\n } catch (e) {\n consoleError(e);\n }\n if (BUILD.member) {\n hostRef.$flags$ &= ~8 /* HOST_FLAGS.isConstructingInstance */;\n }\n if (BUILD.watchCallback) {\n hostRef.$flags$ |= 128 /* HOST_FLAGS.isWatchReady */;\n }\n endNewInstance();\n fireConnectedCallback(hostRef.$lazyInstance$);\n } else {\n // sync constructor component\n Cstr = elm.constructor;\n hostRef.$flags$ |= 32 /* HOST_FLAGS.hasInitializedComponent */;\n // wait for the CustomElementRegistry to mark the component as ready before setting `isWatchReady`. Otherwise,\n // watchers may fire prematurely if `customElements.get()`/`customElements.whenDefined()` resolves _before_\n // Stencil has completed instantiating the component.\n customElements.whenDefined(cmpMeta.$tagName$).then(() => hostRef.$flags$ |= 128 /* HOST_FLAGS.isWatchReady */);\n }\n if (BUILD.style && Cstr.style) {\n // this component has styles but we haven't registered them yet\n let style = Cstr.style;\n if (BUILD.mode && typeof style !== 'string') {\n style = style[hostRef.$modeName$ = computeMode(elm)];\n if (BUILD.hydrateServerSide && hostRef.$modeName$) {\n elm.setAttribute('s-mode', hostRef.$modeName$);\n }\n }\n const scopeId = getScopeId(cmpMeta, hostRef.$modeName$);\n if (!styles.has(scopeId)) {\n const endRegisterStyles = createTime('registerStyles', cmpMeta.$tagName$);\n if (!BUILD.hydrateServerSide && BUILD.shadowDom &&\n // TODO(STENCIL-662): Remove code related to deprecated shadowDomShim field\n BUILD.shadowDomShim && cmpMeta.$flags$ & 8 /* CMP_FLAGS.needsShadowDomShim */) {\n style = await import('./shadow-css.js').then(m => m.scopeCss(style, scopeId, false));\n }\n registerStyle(scopeId, style, !!(cmpMeta.$flags$ & 1 /* CMP_FLAGS.shadowDomEncapsulation */));\n endRegisterStyles();\n }\n }\n }\n // we've successfully created a lazy instance\n const ancestorComponent = hostRef.$ancestorComponent$;\n const schedule = () => scheduleUpdate(hostRef, true);\n if (BUILD.asyncLoading && ancestorComponent && ancestorComponent['s-rc']) {\n // this is the initial load and this component it has an ancestor component\n // but the ancestor component has NOT fired its will update lifecycle yet\n // so let's just cool our jets and wait for the ancestor to continue first\n // this will get fired off when the ancestor component\n // finally gets around to rendering its lazy self\n // fire off the initial update\n ancestorComponent['s-rc'].push(schedule);\n } else {\n schedule();\n }\n};\nconst fireConnectedCallback = instance => {\n if (BUILD.lazyLoad && BUILD.connectedCallback) {\n safeCall(instance, 'connectedCallback');\n }\n};\nconst connectedCallback = elm => {\n if ((plt.$flags$ & 1 /* PLATFORM_FLAGS.isTmpDisconnected */) === 0) {\n const hostRef = getHostRef(elm);\n const cmpMeta = hostRef.$cmpMeta$;\n const endConnected = createTime('connectedCallback', cmpMeta.$tagName$);\n if (BUILD.hostListenerTargetParent) {\n // only run if we have listeners being attached to a parent\n addHostEventListeners(elm, hostRef, cmpMeta.$listeners$, true);\n }\n if (!(hostRef.$flags$ & 1 /* HOST_FLAGS.hasConnected */)) {\n // first time this component has connected\n hostRef.$flags$ |= 1 /* HOST_FLAGS.hasConnected */;\n let hostId;\n if (BUILD.hydrateClientSide) {\n hostId = elm.getAttribute(HYDRATE_ID);\n if (hostId) {\n if (BUILD.shadowDom && supportsShadow && cmpMeta.$flags$ & 1 /* CMP_FLAGS.shadowDomEncapsulation */) {\n const scopeId = BUILD.mode ? addStyle(elm.shadowRoot, cmpMeta, elm.getAttribute('s-mode')) : addStyle(elm.shadowRoot, cmpMeta);\n elm.classList.remove(scopeId + '-h', scopeId + '-s');\n }\n initializeClientHydrate(elm, cmpMeta.$tagName$, hostId, hostRef);\n }\n }\n if (BUILD.slotRelocation && !hostId) {\n // initUpdate\n // if the slot polyfill is required we'll need to put some nodes\n // in here to act as original content anchors as we move nodes around\n // host element has been connected to the DOM\n if (BUILD.hydrateServerSide || (BUILD.slot || BUILD.shadowDom) &&\n // TODO(STENCIL-662): Remove code related to deprecated shadowDomShim field\n cmpMeta.$flags$ & (4 /* CMP_FLAGS.hasSlotRelocation */ | 8 /* CMP_FLAGS.needsShadowDomShim */)) {\n setContentReference(elm);\n }\n }\n if (BUILD.asyncLoading) {\n // find the first ancestor component (if there is one) and register\n // this component as one of the actively loading child components for its ancestor\n let ancestorComponent = elm;\n while (ancestorComponent = ancestorComponent.parentNode || ancestorComponent.host) {\n // climb up the ancestors looking for the first\n // component that hasn't finished its lifecycle update yet\n if (BUILD.hydrateClientSide && ancestorComponent.nodeType === 1 /* NODE_TYPE.ElementNode */ && ancestorComponent.hasAttribute('s-id') && ancestorComponent['s-p'] || ancestorComponent['s-p']) {\n // we found this components first ancestor component\n // keep a reference to this component's ancestor component\n attachToAncestor(hostRef, hostRef.$ancestorComponent$ = ancestorComponent);\n break;\n }\n }\n }\n // Lazy properties\n // https://developers.google.com/web/fundamentals/web-components/best-practices#lazy-properties\n if (BUILD.prop && !BUILD.hydrateServerSide && cmpMeta.$members$) {\n Object.entries(cmpMeta.$members$).map(([memberName, [memberFlags]]) => {\n if (memberFlags & 31 /* MEMBER_FLAGS.Prop */ && elm.hasOwnProperty(memberName)) {\n const value = elm[memberName];\n delete elm[memberName];\n elm[memberName] = value;\n }\n });\n }\n if (BUILD.initializeNextTick) {\n // connectedCallback, taskQueue, initialLoad\n // angular sets attribute AFTER connectCallback\n // https://github.com/angular/angular/issues/18909\n // https://github.com/angular/angular/issues/19940\n nextTick(() => initializeComponent(elm, hostRef, cmpMeta));\n } else {\n initializeComponent(elm, hostRef, cmpMeta);\n }\n } else {\n // not the first time this has connected\n // reattach any event listeners to the host\n // since they would have been removed when disconnected\n addHostEventListeners(elm, hostRef, cmpMeta.$listeners$, false);\n // fire off connectedCallback() on component instance\n fireConnectedCallback(hostRef.$lazyInstance$);\n }\n endConnected();\n }\n};\nconst setContentReference = elm => {\n // only required when we're NOT using native shadow dom (slot)\n // or this browser doesn't support native shadow dom\n // and this host element was NOT created with SSR\n // let's pick out the inner content for slot projection\n // create a node to represent where the original\n // content was first placed, which is useful later on\n const contentRefElm = elm['s-cr'] = doc.createComment(BUILD.isDebug ? `content-ref (host=${elm.localName})` : '');\n contentRefElm['s-cn'] = true;\n elm.insertBefore(contentRefElm, elm.firstChild);\n};\nconst disconnectedCallback = elm => {\n if ((plt.$flags$ & 1 /* PLATFORM_FLAGS.isTmpDisconnected */) === 0) {\n const hostRef = getHostRef(elm);\n const instance = BUILD.lazyLoad ? hostRef.$lazyInstance$ : elm;\n if (BUILD.hostListener) {\n if (hostRef.$rmListeners$) {\n hostRef.$rmListeners$.map(rmListener => rmListener());\n hostRef.$rmListeners$ = undefined;\n }\n }\n // clear CSS var-shim tracking\n // TODO(STENCIL-659): Remove code implementing the CSS variable shim\n if (BUILD.cssVarShim && plt.$cssShim$) {\n // TODO(STENCIL-659): Remove code implementing the CSS variable shim\n plt.$cssShim$.removeHost(elm);\n }\n if (BUILD.lazyLoad && BUILD.disconnectedCallback) {\n safeCall(instance, 'disconnectedCallback');\n }\n if (BUILD.cmpDidUnload) {\n safeCall(instance, 'componentDidUnload');\n }\n }\n};\nconst defineCustomElement = (Cstr, compactMeta) => {\n customElements.define(compactMeta[1], proxyCustomElement(Cstr, compactMeta));\n};\nconst proxyCustomElement = (Cstr, compactMeta) => {\n const cmpMeta = {\n $flags$: compactMeta[0],\n $tagName$: compactMeta[1]\n };\n if (BUILD.member) {\n cmpMeta.$members$ = compactMeta[2];\n }\n if (BUILD.hostListener) {\n cmpMeta.$listeners$ = compactMeta[3];\n }\n if (BUILD.watchCallback) {\n cmpMeta.$watchers$ = Cstr.$watchers$;\n }\n if (BUILD.reflect) {\n cmpMeta.$attrsToReflect$ = [];\n }\n if (BUILD.shadowDom && !supportsShadow && cmpMeta.$flags$ & 1 /* CMP_FLAGS.shadowDomEncapsulation */) {\n // TODO(STENCIL-662): Remove code related to deprecated shadowDomShim field\n cmpMeta.$flags$ |= 8 /* CMP_FLAGS.needsShadowDomShim */;\n }\n const originalConnectedCallback = Cstr.prototype.connectedCallback;\n const originalDisconnectedCallback = Cstr.prototype.disconnectedCallback;\n Object.assign(Cstr.prototype, {\n __registerHost() {\n registerHost(this, cmpMeta);\n },\n connectedCallback() {\n connectedCallback(this);\n if (BUILD.connectedCallback && originalConnectedCallback) {\n originalConnectedCallback.call(this);\n }\n },\n disconnectedCallback() {\n disconnectedCallback(this);\n if (BUILD.disconnectedCallback && originalDisconnectedCallback) {\n originalDisconnectedCallback.call(this);\n }\n },\n __attachShadow() {\n if (supportsShadow) {\n if (BUILD.shadowDelegatesFocus) {\n this.attachShadow({\n mode: 'open',\n delegatesFocus: !!(cmpMeta.$flags$ & 16 /* CMP_FLAGS.shadowDelegatesFocus */)\n });\n } else {\n this.attachShadow({\n mode: 'open'\n });\n }\n } else {\n this.shadowRoot = this;\n }\n }\n });\n Cstr.is = cmpMeta.$tagName$;\n return proxyComponent(Cstr, cmpMeta, 1 /* PROXY_FLAGS.isElementConstructor */ | 2 /* PROXY_FLAGS.proxyState */);\n};\nconst forceModeUpdate = elm => {\n if (BUILD.style && BUILD.mode && !BUILD.lazyLoad) {\n const mode = computeMode(elm);\n const hostRef = getHostRef(elm);\n if (hostRef.$modeName$ !== mode) {\n const cmpMeta = hostRef.$cmpMeta$;\n const oldScopeId = elm['s-sc'];\n const scopeId = getScopeId(cmpMeta, mode);\n const style = elm.constructor.style[mode];\n const flags = cmpMeta.$flags$;\n if (style) {\n if (!styles.has(scopeId)) {\n registerStyle(scopeId, style, !!(flags & 1 /* CMP_FLAGS.shadowDomEncapsulation */));\n }\n hostRef.$modeName$ = mode;\n elm.classList.remove(oldScopeId + '-h', oldScopeId + '-s');\n attachStyles(hostRef);\n forceUpdate(elm);\n }\n }\n }\n};\nconst patchCloneNode = HostElementPrototype => {\n const orgCloneNode = HostElementPrototype.cloneNode;\n HostElementPrototype.cloneNode = function (deep) {\n const srcNode = this;\n const isShadowDom = BUILD.shadowDom ? srcNode.shadowRoot && supportsShadow : false;\n const clonedNode = orgCloneNode.call(srcNode, isShadowDom ? deep : false);\n if (BUILD.slot && !isShadowDom && deep) {\n let i = 0;\n let slotted, nonStencilNode;\n const stencilPrivates = ['s-id', 's-cr', 's-lr', 's-rc', 's-sc', 's-p', 's-cn', 's-sr', 's-sn', 's-hn', 's-ol', 's-nr', 's-si'];\n for (; i < srcNode.childNodes.length; i++) {\n slotted = srcNode.childNodes[i]['s-nr'];\n nonStencilNode = stencilPrivates.every(privateField => !srcNode.childNodes[i][privateField]);\n if (slotted) {\n if (BUILD.appendChildSlotFix && clonedNode.__appendChild) {\n clonedNode.__appendChild(slotted.cloneNode(true));\n } else {\n clonedNode.appendChild(slotted.cloneNode(true));\n }\n }\n if (nonStencilNode) {\n clonedNode.appendChild(srcNode.childNodes[i].cloneNode(true));\n }\n }\n }\n return clonedNode;\n };\n};\nconst patchSlotAppendChild = HostElementPrototype => {\n HostElementPrototype.__appendChild = HostElementPrototype.appendChild;\n HostElementPrototype.appendChild = function (newChild) {\n const slotName = newChild['s-sn'] = getSlotName(newChild);\n const slotNode = getHostSlotNode(this.childNodes, slotName);\n if (slotNode) {\n const slotChildNodes = getHostSlotChildNodes(slotNode, slotName);\n const appendAfter = slotChildNodes[slotChildNodes.length - 1];\n return appendAfter.parentNode.insertBefore(newChild, appendAfter.nextSibling);\n }\n return this.__appendChild(newChild);\n };\n};\n/**\n * Patches the text content of an unnamed slotted node inside a scoped component\n * @param hostElementPrototype the `Element` to be patched\n * @param cmpMeta component runtime metadata used to determine if the component should be patched or not\n */\nconst patchTextContent = (hostElementPrototype, cmpMeta) => {\n if (BUILD.scoped && cmpMeta.$flags$ & 2 /* CMP_FLAGS.scopedCssEncapsulation */) {\n const descriptor = Object.getOwnPropertyDescriptor(Node.prototype, 'textContent');\n Object.defineProperty(hostElementPrototype, '__textContent', descriptor);\n Object.defineProperty(hostElementPrototype, 'textContent', {\n get() {\n var _a;\n // get the 'default slot', which would be the first slot in a shadow tree (if we were using one), whose name is\n // the empty string\n const slotNode = getHostSlotNode(this.childNodes, '');\n // when a slot node is found, the textContent _may_ be found in the next sibling (text) node, depending on how\n // nodes were reordered during the vdom render. first try to get the text content from the sibling.\n if (((_a = slotNode === null || slotNode === void 0 ? void 0 : slotNode.nextSibling) === null || _a === void 0 ? void 0 : _a.nodeType) === 3 /* NODE_TYPES.TEXT_NODE */) {\n return slotNode.nextSibling.textContent;\n } else if (slotNode) {\n return slotNode.textContent;\n } else {\n // fallback to the original implementation\n return this.__textContent;\n }\n },\n set(value) {\n var _a;\n // get the 'default slot', which would be the first slot in a shadow tree (if we were using one), whose name is\n // the empty string\n const slotNode = getHostSlotNode(this.childNodes, '');\n // when a slot node is found, the textContent _may_ need to be placed in the next sibling (text) node,\n // depending on how nodes were reordered during the vdom render. first try to set the text content on the\n // sibling.\n if (((_a = slotNode === null || slotNode === void 0 ? void 0 : slotNode.nextSibling) === null || _a === void 0 ? void 0 : _a.nodeType) === 3 /* NODE_TYPES.TEXT_NODE */) {\n slotNode.nextSibling.textContent = value;\n } else if (slotNode) {\n slotNode.textContent = value;\n } else {\n // we couldn't find a slot, but that doesn't mean that there isn't one. if this check ran before the DOM\n // loaded, we could have missed it. check for a content reference element on the scoped component and insert\n // it there\n this.__textContent = value;\n const contentRefElm = this['s-cr'];\n if (contentRefElm) {\n this.insertBefore(contentRefElm, this.firstChild);\n }\n }\n }\n });\n }\n};\nconst patchChildSlotNodes = (elm, cmpMeta) => {\n class FakeNodeList extends Array {\n item(n) {\n return this[n];\n }\n }\n // TODO(STENCIL-662): Remove code related to deprecated shadowDomShim field\n if (cmpMeta.$flags$ & 8 /* CMP_FLAGS.needsShadowDomShim */) {\n const childNodesFn = elm.__lookupGetter__('childNodes');\n Object.defineProperty(elm, 'children', {\n get() {\n return this.childNodes.map(n => n.nodeType === 1);\n }\n });\n Object.defineProperty(elm, 'childElementCount', {\n get() {\n return elm.children.length;\n }\n });\n Object.defineProperty(elm, 'childNodes', {\n get() {\n const childNodes = childNodesFn.call(this);\n if ((plt.$flags$ & 1 /* PLATFORM_FLAGS.isTmpDisconnected */) === 0 && getHostRef(this).$flags$ & 2 /* HOST_FLAGS.hasRendered */) {\n const result = new FakeNodeList();\n for (let i = 0; i < childNodes.length; i++) {\n const slot = childNodes[i]['s-nr'];\n if (slot) {\n result.push(slot);\n }\n }\n return result;\n }\n return FakeNodeList.from(childNodes);\n }\n });\n }\n};\nconst getSlotName = node => node['s-sn'] || node.nodeType === 1 && node.getAttribute('slot') || '';\n/**\n * Recursively searches a series of child nodes for a slot with the provided name.\n * @param childNodes the nodes to search for a slot with a specific name.\n * @param slotName the name of the slot to match on.\n * @returns a reference to the slot node that matches the provided name, `null` otherwise\n */\nconst getHostSlotNode = (childNodes, slotName) => {\n let i = 0;\n let childNode;\n for (; i < childNodes.length; i++) {\n childNode = childNodes[i];\n if (childNode['s-sr'] && childNode['s-sn'] === slotName) {\n return childNode;\n }\n childNode = getHostSlotNode(childNode.childNodes, slotName);\n if (childNode) {\n return childNode;\n }\n }\n return null;\n};\nconst getHostSlotChildNodes = (n, slotName) => {\n const childNodes = [n];\n while ((n = n.nextSibling) && n['s-sn'] === slotName) {\n childNodes.push(n);\n }\n return childNodes;\n};\nconst hmrStart = (elm, cmpMeta, hmrVersionId) => {\n // ¯\\_(ツ)_/¯\n const hostRef = getHostRef(elm);\n // reset state flags to only have been connected\n hostRef.$flags$ = 1 /* HOST_FLAGS.hasConnected */;\n // TODO\n // detatch any event listeners that may have been added\n // because we're not passing an exact event name it'll\n // remove all of this element's event, which is good\n // create a callback for when this component finishes hmr\n elm['s-hmr-load'] = () => {\n // finished hmr for this element\n delete elm['s-hmr-load'];\n };\n // re-initialize the component\n initializeComponent(elm, hostRef, cmpMeta, hmrVersionId);\n};\nconst bootstrapLazy = (lazyBundles, options = {}) => {\n var _a;\n if (BUILD.profile && performance.mark) {\n performance.mark('st:app:start');\n }\n installDevTools();\n const endBootstrap = createTime('bootstrapLazy');\n const cmpTags = [];\n const exclude = options.exclude || [];\n const customElements = win.customElements;\n const head = doc.head;\n const metaCharset = /*@__PURE__*/head.querySelector('meta[charset]');\n const visibilityStyle = /*@__PURE__*/doc.createElement('style');\n const deferredConnectedCallbacks = [];\n const styles = /*@__PURE__*/doc.querySelectorAll(`[${HYDRATED_STYLE_ID}]`);\n let appLoadFallback;\n let isBootstrapping = true;\n let i = 0;\n Object.assign(plt, options);\n plt.$resourcesUrl$ = new URL(options.resourcesUrl || './', doc.baseURI).href;\n if (BUILD.asyncQueue) {\n if (options.syncQueue) {\n plt.$flags$ |= 4 /* PLATFORM_FLAGS.queueSync */;\n }\n }\n if (BUILD.hydrateClientSide) {\n // If the app is already hydrated there is not point to disable the\n // async queue. This will improve the first input delay\n plt.$flags$ |= 2 /* PLATFORM_FLAGS.appLoaded */;\n }\n if (BUILD.hydrateClientSide && BUILD.shadowDom) {\n for (; i < styles.length; i++) {\n registerStyle(styles[i].getAttribute(HYDRATED_STYLE_ID), convertScopedToShadow(styles[i].innerHTML), true);\n }\n }\n lazyBundles.map(lazyBundle => {\n lazyBundle[1].map(compactMeta => {\n const cmpMeta = {\n $flags$: compactMeta[0],\n $tagName$: compactMeta[1],\n $members$: compactMeta[2],\n $listeners$: compactMeta[3]\n };\n if (BUILD.member) {\n cmpMeta.$members$ = compactMeta[2];\n }\n if (BUILD.hostListener) {\n cmpMeta.$listeners$ = compactMeta[3];\n }\n if (BUILD.reflect) {\n cmpMeta.$attrsToReflect$ = [];\n }\n if (BUILD.watchCallback) {\n cmpMeta.$watchers$ = {};\n }\n if (BUILD.shadowDom && !supportsShadow && cmpMeta.$flags$ & 1 /* CMP_FLAGS.shadowDomEncapsulation */) {\n // TODO(STENCIL-662): Remove code related to deprecated shadowDomShim field\n cmpMeta.$flags$ |= 8 /* CMP_FLAGS.needsShadowDomShim */;\n }\n const tagName = BUILD.transformTagName && options.transformTagName ? options.transformTagName(cmpMeta.$tagName$) : cmpMeta.$tagName$;\n const HostElement = class extends HTMLElement {\n // StencilLazyHost\n constructor(self) {\n // @ts-ignore\n super(self);\n self = this;\n registerHost(self, cmpMeta);\n if (BUILD.shadowDom && cmpMeta.$flags$ & 1 /* CMP_FLAGS.shadowDomEncapsulation */) {\n // this component is using shadow dom\n // and this browser supports shadow dom\n // add the read-only property \"shadowRoot\" to the host element\n // adding the shadow root build conditionals to minimize runtime\n if (supportsShadow) {\n if (BUILD.shadowDelegatesFocus) {\n self.attachShadow({\n mode: 'open',\n delegatesFocus: !!(cmpMeta.$flags$ & 16 /* CMP_FLAGS.shadowDelegatesFocus */)\n });\n } else {\n self.attachShadow({\n mode: 'open'\n });\n }\n } else if (!BUILD.hydrateServerSide && !('shadowRoot' in self)) {\n self.shadowRoot = self;\n }\n }\n if (BUILD.slotChildNodesFix) {\n patchChildSlotNodes(self, cmpMeta);\n }\n }\n connectedCallback() {\n if (appLoadFallback) {\n clearTimeout(appLoadFallback);\n appLoadFallback = null;\n }\n if (isBootstrapping) {\n // connectedCallback will be processed once all components have been registered\n deferredConnectedCallbacks.push(this);\n } else {\n plt.jmp(() => connectedCallback(this));\n }\n }\n disconnectedCallback() {\n plt.jmp(() => disconnectedCallback(this));\n }\n componentOnReady() {\n return getHostRef(this).$onReadyPromise$;\n }\n };\n if (BUILD.cloneNodeFix) {\n patchCloneNode(HostElement.prototype);\n }\n if (BUILD.appendChildSlotFix) {\n patchSlotAppendChild(HostElement.prototype);\n }\n if (BUILD.hotModuleReplacement) {\n HostElement.prototype['s-hmr'] = function (hmrVersionId) {\n hmrStart(this, cmpMeta, hmrVersionId);\n };\n }\n if (BUILD.scopedSlotTextContentFix) {\n patchTextContent(HostElement.prototype, cmpMeta);\n }\n cmpMeta.$lazyBundleId$ = lazyBundle[0];\n if (!exclude.includes(tagName) && !customElements.get(tagName)) {\n cmpTags.push(tagName);\n customElements.define(tagName, proxyComponent(HostElement, cmpMeta, 1 /* PROXY_FLAGS.isElementConstructor */));\n }\n });\n });\n if (BUILD.invisiblePrehydration && (BUILD.hydratedClass || BUILD.hydratedAttribute)) {\n visibilityStyle.innerHTML = cmpTags + HYDRATED_CSS;\n visibilityStyle.setAttribute('data-styles', '');\n // Apply CSP nonce to the style tag if it exists\n const nonce = (_a = plt.$nonce$) !== null && _a !== void 0 ? _a : queryNonceMetaTagContent(doc);\n if (nonce != null) {\n visibilityStyle.setAttribute('nonce', nonce);\n }\n head.insertBefore(visibilityStyle, metaCharset ? metaCharset.nextSibling : head.firstChild);\n }\n // Process deferred connectedCallbacks now all components have been registered\n isBootstrapping = false;\n if (deferredConnectedCallbacks.length) {\n deferredConnectedCallbacks.map(host => host.connectedCallback());\n } else {\n if (BUILD.profile) {\n plt.jmp(() => appLoadFallback = setTimeout(appDidLoad, 30, 'timeout'));\n } else {\n plt.jmp(() => appLoadFallback = setTimeout(appDidLoad, 30));\n }\n }\n // Fallback appLoad event\n endBootstrap();\n};\nconst getConnect = (_ref, tagName) => {\n const componentOnReady = () => {\n let elm = doc.querySelector(tagName);\n if (!elm) {\n elm = doc.createElement(tagName);\n doc.body.appendChild(elm);\n }\n return typeof elm.componentOnReady === 'function' ? elm.componentOnReady() : Promise.resolve(elm);\n };\n const create = (...args) => {\n return componentOnReady().then(el => el.create(...args));\n };\n return {\n create,\n componentOnReady\n };\n};\nconst getContext = (_elm, context) => {\n if (context in Context) {\n return Context[context];\n } else if (context === 'window') {\n return win;\n } else if (context === 'document') {\n return doc;\n } else if (context === 'isServer' || context === 'isPrerender') {\n return BUILD.hydrateServerSide ? true : false;\n } else if (context === 'isClient') {\n return BUILD.hydrateServerSide ? false : true;\n } else if (context === 'resourcesUrl' || context === 'publicPath') {\n return getAssetPath('.');\n } else if (context === 'queue') {\n return {\n write: writeTask,\n read: readTask,\n tick: {\n then(cb) {\n return nextTick(cb);\n }\n }\n };\n }\n return undefined;\n};\nconst Fragment = (_, children) => children;\nconst addHostEventListeners = (elm, hostRef, listeners, attachParentListeners) => {\n if (BUILD.hostListener && listeners) {\n // this is called immediately within the element's constructor\n // initialize our event listeners on the host element\n // we do this now so that we can listen to events that may\n // have fired even before the instance is ready\n if (BUILD.hostListenerTargetParent) {\n // this component may have event listeners that should be attached to the parent\n if (attachParentListeners) {\n // this is being ran from within the connectedCallback\n // which is important so that we know the host element actually has a parent element\n // filter out the listeners to only have the ones that ARE being attached to the parent\n listeners = listeners.filter(([flags]) => flags & 32 /* LISTENER_FLAGS.TargetParent */);\n } else {\n // this is being ran from within the component constructor\n // everything BUT the parent element listeners should be attached at this time\n // filter out the listeners that are NOT being attached to the parent\n listeners = listeners.filter(([flags]) => !(flags & 32 /* LISTENER_FLAGS.TargetParent */));\n }\n }\n listeners.map(([flags, name, method]) => {\n const target = BUILD.hostListenerTarget ? getHostListenerTarget(elm, flags) : elm;\n const handler = hostListenerProxy(hostRef, method);\n const opts = hostListenerOpts(flags);\n plt.ael(target, name, handler, opts);\n (hostRef.$rmListeners$ = hostRef.$rmListeners$ || []).push(() => plt.rel(target, name, handler, opts));\n });\n }\n};\nconst hostListenerProxy = (hostRef, methodName) => ev => {\n try {\n if (BUILD.lazyLoad) {\n if (hostRef.$flags$ & 256 /* HOST_FLAGS.isListenReady */) {\n // instance is ready, let's call it's member method for this event\n hostRef.$lazyInstance$[methodName](ev);\n } else {\n (hostRef.$queuedListeners$ = hostRef.$queuedListeners$ || []).push([methodName, ev]);\n }\n } else {\n hostRef.$hostElement$[methodName](ev);\n }\n } catch (e) {\n consoleError(e);\n }\n};\nconst getHostListenerTarget = (elm, flags) => {\n if (BUILD.hostListenerTargetDocument && flags & 4 /* LISTENER_FLAGS.TargetDocument */) return doc;\n if (BUILD.hostListenerTargetWindow && flags & 8 /* LISTENER_FLAGS.TargetWindow */) return win;\n if (BUILD.hostListenerTargetBody && flags & 16 /* LISTENER_FLAGS.TargetBody */) return doc.body;\n if (BUILD.hostListenerTargetParent && flags & 32 /* LISTENER_FLAGS.TargetParent */) return elm.parentElement;\n return elm;\n};\n// prettier-ignore\nconst hostListenerOpts = flags => supportsListenerOptions ? {\n passive: (flags & 1 /* LISTENER_FLAGS.Passive */) !== 0,\n capture: (flags & 2 /* LISTENER_FLAGS.Capture */) !== 0\n} : (flags & 2 /* LISTENER_FLAGS.Capture */) !== 0;\n/**\n * Assigns the given value to the nonce property on the runtime platform object.\n * During runtime, this value is used to set the nonce attribute on all dynamically created script and style tags.\n * @param nonce The value to be assigned to the platform nonce property.\n * @returns void\n */\nconst setNonce = nonce => plt.$nonce$ = nonce;\nconst setPlatformOptions = opts => Object.assign(plt, opts);\nconst insertVdomAnnotations = (doc, staticComponents) => {\n if (doc != null) {\n const docData = {\n hostIds: 0,\n rootLevelIds: 0,\n staticComponents: new Set(staticComponents)\n };\n const orgLocationNodes = [];\n parseVNodeAnnotations(doc, doc.body, docData, orgLocationNodes);\n orgLocationNodes.forEach(orgLocationNode => {\n if (orgLocationNode != null) {\n const nodeRef = orgLocationNode['s-nr'];\n let hostId = nodeRef['s-host-id'];\n let nodeId = nodeRef['s-node-id'];\n let childId = `${hostId}.${nodeId}`;\n if (hostId == null) {\n hostId = 0;\n docData.rootLevelIds++;\n nodeId = docData.rootLevelIds;\n childId = `${hostId}.${nodeId}`;\n if (nodeRef.nodeType === 1 /* NODE_TYPE.ElementNode */) {\n nodeRef.setAttribute(HYDRATE_CHILD_ID, childId);\n } else if (nodeRef.nodeType === 3 /* NODE_TYPE.TextNode */) {\n if (hostId === 0) {\n const textContent = nodeRef.nodeValue.trim();\n if (textContent === '') {\n // useless whitespace node at the document root\n orgLocationNode.remove();\n return;\n }\n }\n const commentBeforeTextNode = doc.createComment(childId);\n commentBeforeTextNode.nodeValue = `${TEXT_NODE_ID}.${childId}`;\n nodeRef.parentNode.insertBefore(commentBeforeTextNode, nodeRef);\n }\n }\n let orgLocationNodeId = `${ORG_LOCATION_ID}.${childId}`;\n const orgLocationParentNode = orgLocationNode.parentElement;\n if (orgLocationParentNode) {\n if (orgLocationParentNode['s-en'] === '') {\n // ending with a \".\" means that the parent element\n // of this node's original location is a SHADOW dom element\n // and this node is apart of the root level light dom\n orgLocationNodeId += `.`;\n } else if (orgLocationParentNode['s-en'] === 'c') {\n // ending with a \".c\" means that the parent element\n // of this node's original location is a SCOPED element\n // and this node is apart of the root level light dom\n orgLocationNodeId += `.c`;\n }\n }\n orgLocationNode.nodeValue = orgLocationNodeId;\n }\n });\n }\n};\nconst parseVNodeAnnotations = (doc, node, docData, orgLocationNodes) => {\n if (node == null) {\n return;\n }\n if (node['s-nr'] != null) {\n orgLocationNodes.push(node);\n }\n if (node.nodeType === 1 /* NODE_TYPE.ElementNode */) {\n node.childNodes.forEach(childNode => {\n const hostRef = getHostRef(childNode);\n if (hostRef != null && !docData.staticComponents.has(childNode.nodeName.toLowerCase())) {\n const cmpData = {\n nodeIds: 0\n };\n insertVNodeAnnotations(doc, childNode, hostRef.$vnode$, docData, cmpData);\n }\n parseVNodeAnnotations(doc, childNode, docData, orgLocationNodes);\n });\n }\n};\nconst insertVNodeAnnotations = (doc, hostElm, vnode, docData, cmpData) => {\n if (vnode != null) {\n const hostId = ++docData.hostIds;\n hostElm.setAttribute(HYDRATE_ID, hostId);\n if (hostElm['s-cr'] != null) {\n hostElm['s-cr'].nodeValue = `${CONTENT_REF_ID}.${hostId}`;\n }\n if (vnode.$children$ != null) {\n const depth = 0;\n vnode.$children$.forEach((vnodeChild, index) => {\n insertChildVNodeAnnotations(doc, vnodeChild, cmpData, hostId, depth, index);\n });\n }\n if (hostElm && vnode && vnode.$elm$ && !hostElm.hasAttribute('c-id')) {\n const parent = hostElm.parentElement;\n if (parent && parent.childNodes) {\n const parentChildNodes = Array.from(parent.childNodes);\n const comment = parentChildNodes.find(node => node.nodeType === 8 /* NODE_TYPE.CommentNode */ && node['s-sr']);\n if (comment) {\n const index = parentChildNodes.indexOf(hostElm) - 1;\n vnode.$elm$.setAttribute(HYDRATE_CHILD_ID, `${comment['s-host-id']}.${comment['s-node-id']}.0.${index}`);\n }\n }\n }\n }\n};\nconst insertChildVNodeAnnotations = (doc, vnodeChild, cmpData, hostId, depth, index) => {\n const childElm = vnodeChild.$elm$;\n if (childElm == null) {\n return;\n }\n const nodeId = cmpData.nodeIds++;\n const childId = `${hostId}.${nodeId}.${depth}.${index}`;\n childElm['s-host-id'] = hostId;\n childElm['s-node-id'] = nodeId;\n if (childElm.nodeType === 1 /* NODE_TYPE.ElementNode */) {\n childElm.setAttribute(HYDRATE_CHILD_ID, childId);\n } else if (childElm.nodeType === 3 /* NODE_TYPE.TextNode */) {\n const parentNode = childElm.parentNode;\n const nodeName = parentNode.nodeName;\n if (nodeName !== 'STYLE' && nodeName !== 'SCRIPT') {\n const textNodeId = `${TEXT_NODE_ID}.${childId}`;\n const commentBeforeTextNode = doc.createComment(textNodeId);\n parentNode.insertBefore(commentBeforeTextNode, childElm);\n }\n } else if (childElm.nodeType === 8 /* NODE_TYPE.CommentNode */) {\n if (childElm['s-sr']) {\n const slotName = childElm['s-sn'] || '';\n const slotNodeId = `${SLOT_NODE_ID}.${childId}.${slotName}`;\n childElm.nodeValue = slotNodeId;\n }\n }\n if (vnodeChild.$children$ != null) {\n const childDepth = depth + 1;\n vnodeChild.$children$.forEach((vnode, index) => {\n insertChildVNodeAnnotations(doc, vnode, cmpData, hostId, childDepth, index);\n });\n }\n};\nconst hostRefs = /*@__PURE__*/new WeakMap();\nconst getHostRef = ref => hostRefs.get(ref);\nconst registerInstance = (lazyInstance, hostRef) => hostRefs.set(hostRef.$lazyInstance$ = lazyInstance, hostRef);\nconst registerHost = (elm, cmpMeta) => {\n const hostRef = {\n $flags$: 0,\n $hostElement$: elm,\n $cmpMeta$: cmpMeta,\n $instanceValues$: new Map()\n };\n if (BUILD.isDev) {\n hostRef.$renderCount$ = 0;\n }\n if (BUILD.method && BUILD.lazyLoad) {\n hostRef.$onInstancePromise$ = new Promise(r => hostRef.$onInstanceResolve$ = r);\n }\n if (BUILD.asyncLoading) {\n hostRef.$onReadyPromise$ = new Promise(r => hostRef.$onReadyResolve$ = r);\n elm['s-p'] = [];\n elm['s-rc'] = [];\n }\n addHostEventListeners(elm, hostRef, cmpMeta.$listeners$, false);\n return hostRefs.set(elm, hostRef);\n};\nconst isMemberInElement = (elm, memberName) => memberName in elm;\nconst consoleError = (e, el) => (customError || console.error)(e, el);\nconst STENCIL_DEV_MODE = BUILD.isTesting ? ['STENCIL:'] // E2E testing\n: ['%cstencil', 'color: white;background:#4c47ff;font-weight: bold; font-size:10px; padding:2px 6px; border-radius: 5px'];\nconst consoleDevError = (...m) => console.error(...STENCIL_DEV_MODE, ...m);\nconst consoleDevWarn = (...m) => console.warn(...STENCIL_DEV_MODE, ...m);\nconst consoleDevInfo = (...m) => console.info(...STENCIL_DEV_MODE, ...m);\nconst setErrorHandler = handler => customError = handler;\nconst cmpModules = /*@__PURE__*/new Map();\nconst loadModule = (cmpMeta, hostRef, hmrVersionId) => {\n // loadModuleImport\n const exportName = cmpMeta.$tagName$.replace(/-/g, '_');\n const bundleId = cmpMeta.$lazyBundleId$;\n if (BUILD.isDev && typeof bundleId !== 'string') {\n consoleDevError(`Trying to lazily load component <${cmpMeta.$tagName$}> with style mode \"${hostRef.$modeName$}\", but it does not exist.`);\n return undefined;\n }\n const module = !BUILD.hotModuleReplacement ? cmpModules.get(bundleId) : false;\n if (module) {\n return module[exportName];\n }\n /*!__STENCIL_STATIC_IMPORT_SWITCH__*/\n return import(/* @vite-ignore */\n /* webpackInclude: /\\.entry\\.js$/ */\n /* webpackExclude: /\\.system\\.entry\\.js$/ */\n /* webpackMode: \"lazy\" */\n `./${bundleId}.entry.js${BUILD.hotModuleReplacement && hmrVersionId ? '?s-hmr=' + hmrVersionId : ''}`).then(importedModule => {\n if (!BUILD.hotModuleReplacement) {\n cmpModules.set(bundleId, importedModule);\n }\n return importedModule[exportName];\n }, consoleError);\n};\nconst styles = /*@__PURE__*/new Map();\nconst modeResolutionChain = [];\nconst win = typeof window !== 'undefined' ? window : {};\n// TODO(STENCIL-659): Remove code implementing the CSS variable shim\nconst CSS = BUILD.cssVarShim ? win.CSS : null;\nconst doc = win.document || {\n head: {}\n};\nconst H = win.HTMLElement || class {};\nconst plt = {\n $flags$: 0,\n $resourcesUrl$: '',\n jmp: h => h(),\n raf: h => requestAnimationFrame(h),\n ael: (el, eventName, listener, opts) => el.addEventListener(eventName, listener, opts),\n rel: (el, eventName, listener, opts) => el.removeEventListener(eventName, listener, opts),\n ce: (eventName, opts) => new CustomEvent(eventName, opts)\n};\nconst setPlatformHelpers = helpers => {\n Object.assign(plt, helpers);\n};\nconst supportsShadow =\n// TODO(STENCIL-662): Remove code related to deprecated shadowDomShim field\nBUILD.shadowDomShim && BUILD.shadowDom ? /*@__PURE__*/(() => (doc.head.attachShadow + '').indexOf('[native') > -1)() : true;\nconst supportsListenerOptions = /*@__PURE__*/(() => {\n let supportsListenerOptions = false;\n try {\n doc.addEventListener('e', null, Object.defineProperty({}, 'passive', {\n get() {\n supportsListenerOptions = true;\n }\n }));\n } catch (e) {}\n return supportsListenerOptions;\n})();\nconst promiseResolve = v => Promise.resolve(v);\nconst supportsConstructableStylesheets = BUILD.constructableCSS ? /*@__PURE__*/(() => {\n try {\n new CSSStyleSheet();\n return typeof new CSSStyleSheet().replaceSync === 'function';\n } catch (e) {}\n return false;\n})() : false;\nconst queueDomReads = [];\nconst queueDomWrites = [];\nconst queueDomWritesLow = [];\nconst queueTask = (queue, write) => cb => {\n queue.push(cb);\n if (!queuePending) {\n queuePending = true;\n if (write && plt.$flags$ & 4 /* PLATFORM_FLAGS.queueSync */) {\n nextTick(flush);\n } else {\n plt.raf(flush);\n }\n }\n};\nconst consume = queue => {\n for (let i = 0; i < queue.length; i++) {\n try {\n queue[i](performance.now());\n } catch (e) {\n consoleError(e);\n }\n }\n queue.length = 0;\n};\nconst consumeTimeout = (queue, timeout) => {\n let i = 0;\n let ts = 0;\n while (i < queue.length && (ts = performance.now()) < timeout) {\n try {\n queue[i++](ts);\n } catch (e) {\n consoleError(e);\n }\n }\n if (i === queue.length) {\n queue.length = 0;\n } else if (i !== 0) {\n queue.splice(0, i);\n }\n};\nconst flush = () => {\n if (BUILD.asyncQueue) {\n queueCongestion++;\n }\n // always force a bunch of medium callbacks to run, but still have\n // a throttle on how many can run in a certain time\n // DOM READS!!!\n consume(queueDomReads);\n // DOM WRITES!!!\n if (BUILD.asyncQueue) {\n const timeout = (plt.$flags$ & 6 /* PLATFORM_FLAGS.queueMask */) === 2 /* PLATFORM_FLAGS.appLoaded */ ? performance.now() + 14 * Math.ceil(queueCongestion * (1.0 / 10.0)) : Infinity;\n consumeTimeout(queueDomWrites, timeout);\n consumeTimeout(queueDomWritesLow, timeout);\n if (queueDomWrites.length > 0) {\n queueDomWritesLow.push(...queueDomWrites);\n queueDomWrites.length = 0;\n }\n if (queuePending = queueDomReads.length + queueDomWrites.length + queueDomWritesLow.length > 0) {\n // still more to do yet, but we've run out of time\n // let's let this thing cool off and try again in the next tick\n plt.raf(flush);\n } else {\n queueCongestion = 0;\n }\n } else {\n consume(queueDomWrites);\n if (queuePending = queueDomReads.length > 0) {\n // still more to do yet, but we've run out of time\n // let's let this thing cool off and try again in the next tick\n plt.raf(flush);\n }\n }\n};\nconst nextTick = /*@__PURE__*/cb => promiseResolve().then(cb);\nconst readTask = /*@__PURE__*/queueTask(queueDomReads, false);\nconst writeTask = /*@__PURE__*/queueTask(queueDomWrites, true);\nexport { BUILD, Env, NAMESPACE } from '@stencil/core/internal/app-data';\nexport { Build, CSS, Context, Fragment, H, H as HTMLElement, Host, STENCIL_DEV_MODE, addHostEventListeners, bootstrapLazy, cmpModules, connectedCallback, consoleDevError, consoleDevInfo, consoleDevWarn, consoleError, createEvent, defineCustomElement, disconnectedCallback, doc, forceModeUpdate, forceUpdate, getAssetPath, getConnect, getContext, getElement, getHostRef, getMode, getRenderingRef, getValue, h, insertVdomAnnotations, isMemberInElement, loadModule, modeResolutionChain, nextTick, parsePropertyValue, plt, postUpdateComponent, promiseResolve, proxyComponent, proxyCustomElement, readTask, registerHost, registerInstance, renderVdom, setAssetPath, setErrorHandler, setMode, setNonce, setPlatformHelpers, setPlatformOptions, setValue, styles, supportsConstructableStylesheets, supportsListenerOptions, supportsShadow, win, writeTask };","function r(e) {\n var t,\n f,\n n = \"\";\n if (\"string\" == typeof e || \"number\" == typeof e) n += e;else if (\"object\" == typeof e) if (Array.isArray(e)) for (t = 0; t < e.length; t++) e[t] && (f = r(e[t])) && (n && (n += \" \"), n += f);else for (t in e) e[t] && (n && (n += \" \"), n += t);\n return n;\n}\nfunction clsx() {\n for (var e, t, f = 0, n = \"\"; f < arguments.length;) (e = arguments[f++]) && (t = r(e)) && (n && (n += \" \"), n += t);\n return n;\n}\nexport { clsx as c };\n\n","function getDefaultExportFromCjs(x) {\n return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;\n}\nfunction createCommonjsModule(fn, basedir, module) {\n return module = {\n path: basedir,\n exports: {},\n require: function (path, base) {\n return commonjsRequire();\n }\n }, fn(module, module.exports), module.exports;\n}\nfunction commonjsRequire() {\n throw new Error('Dynamic requires are not currently supported by @rollup/plugin-commonjs');\n}\nvar errors = createCommonjsModule(function (module, exports) {\n /**\r\n * @file **unraw - errors.ts** | Error messages used by `unraw`.\r\n * @author Ian Sanders\r\n * @copyright 2019 Ian Sanders\r\n * @license MIT\r\n */\n Object.defineProperty(exports, \"__esModule\", {\n value: true\n });\n // NOTE: don't construct errors here or they'll have the wrong stack trace.\n // NOTE: don't make custom error class; the JS engines use `SyntaxError`\n /**\r\n * Keys for possible error messages used by `unraw`.\r\n * Note: These do _not_ map to actual error object types. All errors thrown\r\n * are `SyntaxError`.\r\n */\n // Don't use const enum or JS users won't be able to access the enum values\n var ErrorType;\n (function (ErrorType) {\n /**\r\n * Thrown when a badly formed Unicode escape sequence is found. Possible\r\n * reasons include the code being too short (`\"\\u25\"`) or having invalid\r\n * characters (`\"\\u2$A5\"`).\r\n */\n ErrorType[\"MalformedUnicode\"] = \"MALFORMED_UNICODE\";\n /**\r\n * Thrown when a badly formed hexadecimal escape sequence is found. Possible\r\n * reasons include the code being too short (`\"\\x2\"`) or having invalid\r\n * characters (`\"\\x2$\"`).\r\n */\n ErrorType[\"MalformedHexadecimal\"] = \"MALFORMED_HEXADECIMAL\";\n /**\r\n * Thrown when a Unicode code point escape sequence has too high of a code\r\n * point. The maximum code point allowed is `\\u{10FFFF}`, so `\\u{110000}` and\r\n * higher will throw this error.\r\n */\n ErrorType[\"CodePointLimit\"] = \"CODE_POINT_LIMIT\";\n /**\r\n * Thrown when an octal escape sequences is encountered and `allowOctals` is\r\n * `false`. For example, `unraw(\"\\234\", false)`.\r\n */\n ErrorType[\"OctalDeprecation\"] = \"OCTAL_DEPRECATION\";\n /**\r\n * Thrown only when a single backslash is found at the end of a string. For\r\n * example, `\"\\\\\"` or `\"test\\\\x24\\\\\"`.\r\n */\n ErrorType[\"EndOfString\"] = \"END_OF_STRING\";\n })(ErrorType = exports.ErrorType || (exports.ErrorType = {}));\n /** Map of error message names to the full text of the message. */\n exports.errorMessages = new Map([[ErrorType.MalformedUnicode, \"malformed Unicode character escape sequence\"], [ErrorType.MalformedHexadecimal, \"malformed hexadecimal character escape sequence\"], [ErrorType.CodePointLimit, \"Unicode codepoint must not be greater than 0x10FFFF in escape sequence\"], [ErrorType.OctalDeprecation, '\"0\"-prefixed octal literals and octal escape sequences are deprecated; ' + 'for octal literals use the \"0o\" prefix instead'], [ErrorType.EndOfString, \"malformed escape sequence at end of string\"]]);\n //# sourceMappingURL=errors.js.map\n});\nvar dist = createCommonjsModule(function (module, exports) {\n /**\r\n * @file **unraw** | Convert raw escape sequences to their respective characters\r\n * (undo `String.raw`).\r\n * @author Ian Sanders\r\n * @copyright 2019 Ian Sanders\r\n * @license MIT\r\n */\n Object.defineProperty(exports, \"__esModule\", {\n value: true\n });\n exports.ErrorType = errors.ErrorType;\n exports.errorMessages = errors.errorMessages;\n /**\r\n * Parse a string as a base-16 number. This is more strict than `parseInt` as it\r\n * will not allow any other characters, including (for example) \"+\", \"-\", and\r\n * \".\".\r\n * @param hex A string containing a hexadecimal number.\r\n * @returns The parsed integer, or `NaN` if the string is not a valid hex\r\n * number.\r\n */\n function parseHexToInt(hex) {\n const isOnlyHexChars = !hex.match(/[^a-f0-9]/i);\n return isOnlyHexChars ? parseInt(hex, 16) : NaN;\n }\n /**\r\n * Check the validity and length of a hexadecimal code and optionally enforces\r\n * a specific number of hex digits.\r\n * @param hex The string to validate and parse.\r\n * @param errorName The name of the error message to throw a `SyntaxError` with\r\n * if `hex` is invalid. This is used to index `errorMessages`.\r\n * @param enforcedLength If provided, will throw an error if `hex` is not\r\n * exactly this many characters.\r\n * @returns The parsed hex number as a normal number.\r\n * @throws {SyntaxError} If the code is not valid.\r\n */\n function validateAndParseHex(hex, errorName, enforcedLength) {\n const parsedHex = parseHexToInt(hex);\n if (Number.isNaN(parsedHex) || enforcedLength !== undefined && enforcedLength !== hex.length) {\n throw new SyntaxError(errors.errorMessages.get(errorName));\n }\n return parsedHex;\n }\n /**\r\n * Parse a two-digit hexadecimal character escape code.\r\n * @param code The two-digit hexadecimal number that represents the character to\r\n * output.\r\n * @returns The single character represented by the code.\r\n * @throws {SyntaxError} If the code is not valid hex or is not the right\r\n * length.\r\n */\n function parseHexadecimalCode(code) {\n const parsedCode = validateAndParseHex(code, errors.ErrorType.MalformedHexadecimal, 2);\n return String.fromCharCode(parsedCode);\n }\n /**\r\n * Parse a four-digit Unicode character escape code.\r\n * @param code The four-digit unicode number that represents the character to\r\n * output.\r\n * @param surrogateCode Optional four-digit unicode surrogate that represents\r\n * the other half of the character to output.\r\n * @returns The single character represented by the code.\r\n * @throws {SyntaxError} If the codes are not valid hex or are not the right\r\n * length.\r\n */\n function parseUnicodeCode(code, surrogateCode) {\n const parsedCode = validateAndParseHex(code, errors.ErrorType.MalformedUnicode, 4);\n if (surrogateCode !== undefined) {\n const parsedSurrogateCode = validateAndParseHex(surrogateCode, errors.ErrorType.MalformedUnicode, 4);\n return String.fromCharCode(parsedCode, parsedSurrogateCode);\n }\n return String.fromCharCode(parsedCode);\n }\n /**\r\n * Test if the text is surrounded by curly braces (`{}`).\r\n * @param text Text to check.\r\n * @returns `true` if the text is in the form `{*}`.\r\n */\n function isCurlyBraced(text) {\n return text.charAt(0) === \"{\" && text.charAt(text.length - 1) === \"}\";\n }\n /**\r\n * Parse a Unicode code point character escape code.\r\n * @param codePoint A unicode escape code point, including the surrounding curly\r\n * braces.\r\n * @returns The single character represented by the code.\r\n * @throws {SyntaxError} If the code is not valid hex or does not have the\r\n * surrounding curly braces.\r\n */\n function parseUnicodeCodePointCode(codePoint) {\n if (!isCurlyBraced(codePoint)) {\n throw new SyntaxError(errors.errorMessages.get(errors.ErrorType.MalformedUnicode));\n }\n const withoutBraces = codePoint.slice(1, -1);\n const parsedCode = validateAndParseHex(withoutBraces, errors.ErrorType.MalformedUnicode);\n try {\n return String.fromCodePoint(parsedCode);\n } catch (err) {\n throw err instanceof RangeError ? new SyntaxError(errors.errorMessages.get(errors.ErrorType.CodePointLimit)) : err;\n }\n }\n // Have to give overload that takes boolean for when compiler doesn't know if\n // true or false\n function parseOctalCode(code, error = false) {\n if (error) {\n throw new SyntaxError(errors.errorMessages.get(errors.ErrorType.OctalDeprecation));\n }\n // The original regex only allows digits so we don't need to have a strict\n // octal parser like hexToInt. Length is not enforced for octals.\n const parsedCode = parseInt(code, 8);\n return String.fromCharCode(parsedCode);\n }\n /**\r\n * Map of unescaped letters to their corresponding special JS escape characters.\r\n * Intentionally does not include characters that map to themselves like \"\\'\".\r\n */\n const singleCharacterEscapes = new Map([[\"b\", \"\\b\"], [\"f\", \"\\f\"], [\"n\", \"\\n\"], [\"r\", \"\\r\"], [\"t\", \"\\t\"], [\"v\", \"\\v\"], [\"0\", \"\\0\"]]);\n /**\r\n * Parse a single character escape sequence and return the matching character.\r\n * If none is matched, defaults to `code`.\r\n * @param code A single character code.\r\n */\n function parseSingleCharacterCode(code) {\n return singleCharacterEscapes.get(code) || code;\n }\n /**\r\n * Matches every escape sequence possible, including invalid ones.\r\n *\r\n * All capture groups (described below) are unique (only one will match), except\r\n * for 4, which can only potentially match if 3 does.\r\n *\r\n * **Capture Groups:**\r\n * 0. A single backslash\r\n * 1. Hexadecimal code\r\n * 2. Unicode code point code with surrounding curly braces\r\n * 3. Unicode escape code with surrogate\r\n * 4. Surrogate code\r\n * 5. Unicode escape code without surrogate\r\n * 6. Octal code _NOTE: includes \"0\"._\r\n * 7. A single character (will never be \\, x, u, or 0-3)\r\n */\n const escapeMatch = /\\\\(?:(\\\\)|x([\\s\\S]{0,2})|u(\\{[^}]*\\}?)|u([\\s\\S]{4})\\\\u([^{][\\s\\S]{0,3})|u([\\s\\S]{0,4})|([0-3]?[0-7]{1,2})|([\\s\\S])|$)/g;\n /**\r\n * Replace raw escape character strings with their escape characters.\r\n * @param raw A string where escape characters are represented as raw string\r\n * values like `\\'` rather than `'`.\r\n * @param allowOctals If `true`, will process the now-deprecated octal escape\r\n * sequences (ie, `\\111`).\r\n * @returns The processed string, with escape characters replaced by their\r\n * respective actual Unicode characters.\r\n */\n function unraw(raw, allowOctals = false) {\n return raw.replace(escapeMatch, function (_, backslash, hex, codePoint, unicodeWithSurrogate, surrogate, unicode, octal, singleCharacter) {\n // Compare groups to undefined because empty strings mean different errors\n // Otherwise, `\\u` would fail the same as `\\` which is wrong.\n if (backslash !== undefined) {\n return \"\\\\\";\n }\n if (hex !== undefined) {\n return parseHexadecimalCode(hex);\n }\n if (codePoint !== undefined) {\n return parseUnicodeCodePointCode(codePoint);\n }\n if (unicodeWithSurrogate !== undefined) {\n return parseUnicodeCode(unicodeWithSurrogate, surrogate);\n }\n if (unicode !== undefined) {\n return parseUnicodeCode(unicode);\n }\n if (octal === \"0\") {\n return \"\\0\";\n }\n if (octal !== undefined) {\n return parseOctalCode(octal, !allowOctals);\n }\n if (singleCharacter !== undefined) {\n return parseSingleCharacterCode(singleCharacter);\n }\n throw new SyntaxError(errors.errorMessages.get(errors.ErrorType.EndOfString));\n });\n }\n exports.unraw = unraw;\n exports.default = unraw;\n //# sourceMappingURL=index.js.map\n});\nconst unraw = /*@__PURE__*/getDefaultExportFromCjs(dist);\nconst isString = s => typeof s === \"string\";\nconst isFunction = f => typeof f === \"function\";\nconst cache = /* @__PURE__ */new Map();\nfunction normalizeLocales(locales) {\n const out = Array.isArray(locales) ? locales : [locales];\n return [...out, \"en\"];\n}\nfunction date(locales, value, format) {\n const _locales = normalizeLocales(locales);\n const formatter = getMemoized(() => cacheKey(\"date\", _locales, format), () => new Intl.DateTimeFormat(_locales, format));\n return formatter.format(isString(value) ? new Date(value) : value);\n}\nfunction number(locales, value, format) {\n const _locales = normalizeLocales(locales);\n const formatter = getMemoized(() => cacheKey(\"number\", _locales, format), () => new Intl.NumberFormat(_locales, format));\n return formatter.format(value);\n}\nfunction plural(locales, ordinal, value, {\n offset = 0,\n ...rules\n}) {\n const _locales = normalizeLocales(locales);\n const plurals = ordinal ? getMemoized(() => cacheKey(\"plural-ordinal\", _locales), () => new Intl.PluralRules(_locales, {\n type: \"ordinal\"\n })) : getMemoized(() => cacheKey(\"plural-cardinal\", _locales), () => new Intl.PluralRules(_locales, {\n type: \"cardinal\"\n }));\n return rules[value] ?? rules[plurals.select(value - offset)] ?? rules.other;\n}\nfunction getMemoized(getKey, construct) {\n const key = getKey();\n let formatter = cache.get(key);\n if (!formatter) {\n formatter = construct();\n cache.set(key, formatter);\n }\n return formatter;\n}\nfunction cacheKey(type, locales, options) {\n const localeKey = locales.join(\"-\");\n return `${type}-${localeKey}-${JSON.stringify(options)}`;\n}\nconst UNICODE_REGEX = /\\\\u[a-fA-F0-9]{4}|\\\\x[a-fA-F0-9]{2}/g;\nconst getDefaultFormats = (locale, locales, formats = {}) => {\n locales = locales || locale;\n const style = format => isString(format) ? formats[format] || {\n style: format\n } : format;\n const replaceOctothorpe = (value, message) => {\n const numberFormat = Object.keys(formats).length ? style(\"number\") : {};\n const valueStr = number(locales, value, numberFormat);\n return message.replace(\"#\", valueStr);\n };\n return {\n plural: (value, cases) => {\n const {\n offset = 0\n } = cases;\n const message = plural(locales, false, value, cases);\n return replaceOctothorpe(value - offset, message);\n },\n selectordinal: (value, cases) => {\n const {\n offset = 0\n } = cases;\n const message = plural(locales, true, value, cases);\n return replaceOctothorpe(value - offset, message);\n },\n select: (value, rules) => rules[value] ?? rules.other,\n number: (value, format) => number(locales, value, style(format)),\n date: (value, format) => date(locales, value, style(format)),\n undefined: value => value\n };\n};\nfunction interpolate(translation, locale, locales) {\n return (values, formats = {}) => {\n const formatters = getDefaultFormats(locale, locales, formats);\n const formatMessage = message => {\n if (!Array.isArray(message)) return message;\n return message.reduce((message2, token) => {\n if (isString(token)) return message2 + token;\n const [name, type, format] = token;\n let interpolatedFormat = {};\n if (format != null && !isString(format)) {\n Object.keys(format).forEach(key => {\n interpolatedFormat[key] = formatMessage(format[key]);\n });\n } else {\n interpolatedFormat = format;\n }\n const value = formatters[type](values[name], interpolatedFormat);\n if (value == null) return message2;\n return message2 + value;\n }, \"\");\n };\n const result = formatMessage(translation);\n if (isString(result) && UNICODE_REGEX.test(result)) {\n return unraw(result.trim());\n }\n if (isString(result)) return result.trim();\n return result;\n };\n}\nclass EventEmitter {\n constructor() {\n this._events = {};\n }\n on(event, listener) {\n if (!this._hasEvent(event)) this._events[event] = [];\n this._events[event].push(listener);\n return () => this.removeListener(event, listener);\n }\n removeListener(event, listener) {\n if (!this._hasEvent(event)) return;\n const index = this._events[event].indexOf(listener);\n if (~index) this._events[event].splice(index, 1);\n }\n emit(event, ...args) {\n if (!this._hasEvent(event)) return;\n this._events[event].map(listener => listener.apply(this, args));\n }\n _hasEvent(event) {\n return Array.isArray(this._events[event]);\n }\n}\nclass I18n extends EventEmitter {\n constructor(params) {\n super();\n /**\n * Alias for {@see I18n._}\n */\n this.t = this._.bind(this);\n this._messages = {};\n this._localeData = {};\n if (params.missing != null) this._missing = params.missing;\n if (params.messages != null) this.load(params.messages);\n if (params.localeData != null) this.loadLocaleData(params.localeData);\n if (params.locale != null || params.locales != null) {\n this.activate(params.locale, params.locales);\n }\n }\n get locale() {\n return this._locale;\n }\n get locales() {\n return this._locales;\n }\n get messages() {\n return this._messages[this._locale] ?? {};\n }\n /**\n * @deprecated this has no effect. Please remove this from the code. Deprecated in v4\n */\n get localeData() {\n return this._localeData[this._locale] ?? {};\n }\n _loadLocaleData(locale, localeData) {\n if (this._localeData[locale] == null) {\n this._localeData[locale] = localeData;\n } else {\n Object.assign(this._localeData[locale], localeData);\n }\n }\n /**\n * @deprecated Plurals automatically used from Intl.PluralRules you can safely remove this call. Deprecated in v4\n */\n loadLocaleData(localeOrAllData, localeData) {\n if (localeData != null) {\n this._loadLocaleData(localeOrAllData, localeData);\n } else {\n Object.keys(localeOrAllData).forEach(locale => this._loadLocaleData(locale, localeOrAllData[locale]));\n }\n this.emit(\"change\");\n }\n _load(locale, messages) {\n if (this._messages[locale] == null) {\n this._messages[locale] = messages;\n } else {\n Object.assign(this._messages[locale], messages);\n }\n }\n load(localeOrMessages, messages) {\n if (messages != null) {\n this._load(localeOrMessages, messages);\n } else {\n Object.keys(localeOrMessages).forEach(locale => this._load(locale, localeOrMessages[locale]));\n }\n this.emit(\"change\");\n }\n /**\n * @param options {@link LoadAndActivateOptions}\n */\n loadAndActivate({\n locale,\n locales,\n messages\n }) {\n this._locale = locale;\n this._locales = locales || void 0;\n this._messages[this._locale] = messages;\n this.emit(\"change\");\n }\n activate(locale, locales) {\n this._locale = locale;\n this._locales = locales;\n this.emit(\"change\");\n }\n _(id, values = {}, {\n message,\n formats\n } = {}) {\n if (!isString(id)) {\n values = id.values || values;\n message = id.message;\n id = id.id;\n }\n const messageMissing = !this.messages[id];\n const missing = this._missing;\n if (missing && messageMissing) {\n return isFunction(missing) ? missing(this._locale, id) : missing;\n }\n if (messageMissing) {\n this.emit(\"missing\", {\n id,\n locale: this._locale\n });\n }\n let translation = this.messages[id] || message || id;\n if (isString(translation) && UNICODE_REGEX.test(translation)) return JSON.parse(`\"${translation}\"`);\n if (isString(translation)) return translation;\n return interpolate(translation, this._locale, this._locales)(values, formats);\n }\n date(value, format) {\n return date(this._locales || this._locale, value, format);\n }\n number(value, format) {\n return number(this._locales || this._locale, value, format);\n }\n}\nfunction setupI18n(params = {}) {\n return new I18n(params);\n}\nconst i18n = setupI18n();\n\n/*eslint-disable*/\nconst messages = JSON.parse(\"{\\\"header.home_link_title\\\":\\\"Startseite der nationalen Weiterbildungsplattform\\\",\\\"header.logo_alt_text\\\":\\\"Logo der nationalen Weiterbildungsplattform\\\",\\\"header.meta_navigation_label\\\":\\\"Metanavigation mit Informationen zur angebotenen Sprache\\\",\\\"header.main_navigation_label\\\":\\\"Hauptnavigation\\\",\\\"header.language.language\\\":\\\"Sprache\\\",\\\"header.language.sign_language\\\":\\\"Gebärdensprache\\\",\\\"header.language.leichte_sprache\\\":\\\"Leichte Sprache\\\",\\\"header.language.english_information\\\":\\\"English Information\\\",\\\"header.menu.menu\\\":\\\"Menü\\\",\\\"header.menu.homepage\\\":\\\"Startseite\\\",\\\"header.menu.perspektiven\\\":\\\"Perspektiven\\\",\\\"header.menu.online_tests\\\":\\\"Online-Tests\\\",\\\"header.menu.weiterbildungen\\\":\\\"Weiterbildungen\\\",\\\"header.menu.foerderung\\\":\\\"Förderung\\\",\\\"header.menu.beratung\\\":\\\"Beratung\\\",\\\"header.profile.profile\\\":\\\"Profil\\\",\\\"header.profile.my_account\\\":\\\"Mein Bereich\\\",\\\"header.profile.bookmarks\\\":\\\"Merkliste\\\",\\\"header.profile.my_searches\\\":\\\"Meine Suchen\\\",\\\"header.profile.personal_data\\\":\\\"Daten & Einstellungen\\\",\\\"header.profile.notifications\\\":\\\"Mitteilungen\\\",\\\"header.profile.skill_profile\\\":\\\"Kompetenzprofil\\\",\\\"header.profile.login\\\":\\\"Anmelden\\\",\\\"header.profile.logout\\\":\\\"Abmelden\\\",\\\"footer.navigation_label\\\":\\\"Informationen über die Seite\\\",\\\"footer.copyright\\\":\\\"Bundesagentur für Arbeit\\\",\\\"footer.imprint\\\":\\\"Impressum\\\",\\\"footer.legal_notices\\\":\\\"Rechtliche Hinweise\\\",\\\"footer.data_protection\\\":\\\"Datenschutz\\\",\\\"footer.accessibility_declaration\\\":\\\"Erklärung zur Barrierefreiheit\\\",\\\"footer.about_us\\\":\\\"Über uns\\\",\\\"footer.support_and_feedback\\\":\\\"Support und Feedback\\\",\\\"footer.faq\\\":\\\"Fragen & Antworten\\\",\\\"footer.ba_notice.footnote\\\":\\\"Diese Website wird betrieben von der Bundesagentur für Arbeit\\\",\\\"footer.ba_notice.link_aria_label\\\":\\\"Bundesagentur für Arbeit\\\",\\\"footer.ba_notice.logo_alt_text\\\":\\\"Logo Bundesagentur für Arbeit\\\",\\\"cookies.title\\\":\\\"Cookie-Einstellungen\\\",\\\"cookies.accept_selection\\\":\\\"Auswahl bestätigen\\\",\\\"cookies.accept_selection_aria_label\\\":\\\"Auswahl bestätigen – Ausgewählte Cookies werden akzeptiert\\\",\\\"cookies.accept_all\\\":\\\"Alle zulassen\\\",\\\"cookies.accept_all_aria_label\\\":\\\"Alle zulassen – Alle Cookies werden akzeptiert\\\",\\\"cookies.select_area_label\\\":\\\"Bitte wählen Sie aus:\\\",\\\"cookies.default.text\\\":\\\"Wir möchten unsere Online-Angebote auf Ihre Bedürfnisse anpassen. Zu diesem Zweck setzen wir sogenannte Cookies ein. Entscheiden Sie bitte selbst, welche Cookies Sie zulassen. Die Arten von Cookies werden nachfolgend beschrieben. Weitere Informationen erhalten Sie in unserer \\\",\\\"cookies.default.link\\\":\\\"Datenschutzerklärung\\\",\\\"cookies.technicallyNecessary.option\\\":\\\"Technisch Notwendig\\\",\\\"cookies.technicallyNecessary.text\\\":\\\"Diese Cookies sind für den Betrieb der Seite unbedingt notwendig, ermöglichen aber in jedem Fall eine für Sie uneingeschränkte und funktionale Nutzung unseres Online-Angebots. Notwendige Cookies helfen dabei, unsere Webseite nutzbar zu machen, indem sie Grundfunktionen wie Seitennavigation, Zugriff auf sichere Bereiche der Webseite ermöglichen, aber auch sicherheitsrelevante Funktionen ermöglichen.\\\",\\\"cookies.statistics.option\\\":\\\"Statistik\\\",\\\"cookies.statistics.text\\\":\\\"Diese Cookies sammeln Informationen darüber, wie Sie unser Online-Angebot verwenden. Sie speichern keine Informationen, die eine persönliche Identifikation des Besuchers erlauben. Die mit Hilfe dieser Cookies gesammelten Informationen sind aggregiert und somit anonym. Durch die gesammelten anonymen Daten können wir das Online-Angebot kontinuierlich verbessern.\\\",\\\"cookies.personalization.option\\\":\\\"Personalisierung\\\",\\\"cookies.personalization.text\\\":\\\"Diese Cookies helfen uns dabei, Sie bei der Nutzung des Online-Angebotes optimal zu unterstützen. Wir können Ihnen passende Informationen zu Ihrem Anliegen anbieten und Ihre Einstellungen speichern, um somit Ihren nächsten Online-Portal-Besuch zu vereinfachen.\\\",\\\"cookies.marketing.option\\\":\\\"Marketing\\\",\\\"cookies.marketing.text\\\":\\\"Diese Cookies werden genutzt, um Ihnen auf Ihre Bedürfnisse und Interessen zugeschnittene Marketinginhalte auszuspielen. Ebenso möchten wir die Wirksamkeit unserer Kommunikationsmaßnahmen messen und die Anzeigenhäufigkeit bedarfsgerecht steuern, um Ihnen möglichst relevante Informationen anzuzeigen. Es werden keine personenbezogenen Daten gespeichert und es ist kein Rückschluss auf Ihre Person möglich.\\\",\\\"cookies.details.show\\\":\\\"Details anzeigen\\\",\\\"cookies.details.hide\\\":\\\"Details ausblenden\\\",\\\"typeahead.primary.title\\\":\\\"Finden Sie Informationen zu Ihrem Beruf\\\",\\\"typeahead.primary.input_label\\\":\\\"Geben Sie Ihren aktuellen oder Wunschberuf ein\\\",\\\"typeahead.primary.input_placeholder\\\":\\\"Beispiel: Immobilienmakler/in\\\",\\\"typeahead.primary.button\\\":\\\"Beruf finden\\\",\\\"typeahead.primary.result_no_results_message\\\":\\\"Ihre Suche ergab keine Treffer. Bitte überprüfen Sie Ihre Angaben.\\\",\\\"typeahead.primary.result_live_region_content\\\":[[\\\"count\\\",\\\"plural\\\",{\\\"one\\\":\\\"Ein Ergebnis\\\",\\\"other\\\":[[\\\"count\\\"],\\\" Ergebnisse\\\"]}]],\\\"typeahead.primary.source_reference\\\":\\\"Die Informationen werden von der Bundesagentur für Arbeit bereitgestellt.\\\",\\\"typeahead.primary.source_reference_logo_alt_text\\\":\\\"Logo der Bundesagentur für Arbeit\\\",\\\"typeahead.secondary.title\\\":\\\"Nicht der gewünschte Beruf?\\\",\\\"typeahead.secondary.input_label\\\":\\\"Suchen Sie weiter – geben Sie einen anderen Beruf ein\\\",\\\"typeahead.secondary.input_placeholder\\\":\\\"Beispiel: Immobilienmakler/in\\\",\\\"typeahead.secondary.button\\\":\\\"Beruf finden\\\",\\\"typeahead.secondary.result_no_results_message\\\":\\\"Ihre Suche ergab keine Treffer. Bitte überprüfen Sie Ihre Angaben.\\\",\\\"typeahead.secondary.result_live_region_content\\\":[[\\\"count\\\",\\\"plural\\\",{\\\"one\\\":\\\"Ein Ergebnis\\\",\\\"other\\\":[\\\"#\\\",\\\" Ergebnisse\\\"]}]],\\\"feedback.body\\\":\\\"Wir freuen uns auf Ihr Feedback zu Inhalten und Funktionen von „mein NOW“. Teilen Sie uns mit, was Ihnen besonders gefallen hat und welche Informationen Ihnen fehlen. Geben Sie dabei bitte keine personenbezogenen oder personenbeziehbaren Daten wie zum Beispiel Ihren Namen oder Wohnort an.\\\",\\\"feedback.caption\\\":\\\"Die Teilnahme an dieser Umfrage ist für Sie freiwillig und anonym. Rückschlüsse auf Ihre Person sind nicht möglich. Sie erhalten keine Antwort von uns.\\\",\\\"feedback.rating_button\\\":[[\\\"ratingValue\\\"],\\\" von 5 Sternen. \\\",[\\\"selectedRating\\\",\\\"plural\\\",{\\\"0\\\":\\\"Keinen Stern\\\",\\\"1\\\":\\\"1 Stern\\\",\\\"other\\\":[\\\"#\\\",\\\" Sterne\\\"]}],\\\" ausgewählt.\\\"],\\\"feedback.send_button\\\":\\\"Feedback senden\\\",\\\"feedback.textarea.label\\\":\\\"Ihr Feedback\\\",\\\"feedback.textarea.hint\\\":[\\\"Maximale Länge: \\\",[\\\"count\\\"],\\\" Zeichen.\\\"],\\\"feedback.textarea.warning\\\":\\\"Maximale Zeichenlänge erreicht.\\\",\\\"feedback.confirmation\\\":\\\"Vielen Dank, Ihre Bewertung zählt!\\\",\\\"feedback.aria_rating\\\":\\\"Bitte bewerten Sie, indem Sie einen bis fünf Sterne vergeben.\\\",\\\"feedback.error\\\":\\\"Ihr Feedback konnte leider nicht übermittelt werden. Bitte versuchen Sie es zu einem späteren Zeitpunkt erneut.\\\",\\\"error_modal.title\\\":\\\"Entschuldigung!\\\",\\\"error_modal.body\\\":\\\"Es ist ein unerwarteter Fehler aufgetreten.\\\",\\\"error_modal.button\\\":\\\"Schließen\\\",\\\"favorite_toggle.save_favorit_label.BERATUNG\\\":\\\"Merken\\\",\\\"favorite_toggle.save_favorit_label.BERUF\\\":\\\"Merken\\\",\\\"favorite_toggle.save_favorit_label.BRANCHE\\\":\\\"Merken\\\",\\\"favorite_toggle.save_favorit_label.FOERDERUNG\\\":\\\"Merken\\\",\\\"favorite_toggle.save_favorit_label.WEITERBILDUNG\\\":\\\"Merken\\\",\\\"favorite_toggle.save_favorit_label.WEITERBILDUNGSANGEBOT\\\":\\\"Merken\\\",\\\"favorite_toggle.save_favorit_label.WEITERBILDUNGSSUCHE\\\":\\\"Suche speichern\\\",\\\"favorite_toggle.save_favorit_aria_label.BERATUNG\\\":\\\"Favorit merken\\\",\\\"favorite_toggle.save_favorit_aria_label.BERUF\\\":\\\"Favorit merken\\\",\\\"favorite_toggle.save_favorit_aria_label.BRANCHE\\\":\\\"Favorit merken\\\",\\\"favorite_toggle.save_favorit_aria_label.FOERDERUNG\\\":\\\"Favorit merken\\\",\\\"favorite_toggle.save_favorit_aria_label.WEITERBILDUNG\\\":\\\"Favorit merken\\\",\\\"favorite_toggle.save_favorit_aria_label.WEITERBILDUNGSANGEBOT\\\":\\\"Favorit merken\\\",\\\"favorite_toggle.save_favorit_aria_label.WEITERBILDUNGSSUCHE\\\":\\\"Suche speichern\\\",\\\"favorite_toggle.remove_favorit_label.BERATUNG\\\":\\\"Entfernen\\\",\\\"favorite_toggle.remove_favorit_label.BERUF\\\":\\\"Entfernen\\\",\\\"favorite_toggle.remove_favorit_label.BRANCHE\\\":\\\"Entfernen\\\",\\\"favorite_toggle.remove_favorit_label.FOERDERUNG\\\":\\\"Entfernen\\\",\\\"favorite_toggle.remove_favorit_label.WEITERBILDUNG\\\":\\\"Entfernen\\\",\\\"favorite_toggle.remove_favorit_label.WEITERBILDUNGSANGEBOT\\\":\\\"Entfernen\\\",\\\"favorite_toggle.remove_favorit_label.WEITERBILDUNGSSUCHE\\\":\\\"Suche entfernen\\\",\\\"favorite_toggle.remove_favorit_aria_label.BERATUNG\\\":\\\"Favorit entfernen\\\",\\\"favorite_toggle.remove_favorit_aria_label.BERUF\\\":\\\"Favorit entfernen\\\",\\\"favorite_toggle.remove_favorit_aria_label.BRANCHE\\\":\\\"Favorit entfernen\\\",\\\"favorite_toggle.remove_favorit_aria_label.FOERDERUNG\\\":\\\"Favorit entfernen\\\",\\\"favorite_toggle.remove_favorit_aria_label.WEITERBILDUNG\\\":\\\"Favorit entfernen\\\",\\\"favorite_toggle.remove_favorit_aria_label.WEITERBILDUNGSANGEBOT\\\":\\\"Favorit entfernen\\\",\\\"favorite_toggle.remove_favorit_aria_label.WEITERBILDUNGSSUCHE\\\":\\\"Suche entfernen\\\",\\\"favorite_toggle.not_logged_in_modal.title\\\":\\\"Favorit merken\\\",\\\"favorite_toggle.not_logged_in_modal.title_suche\\\":\\\"Suche speichern\\\",\\\"favorite_toggle.not_logged_in_modal.body\\\":[\\\"Bitte melden Sie sich in Ihrem persönlichen Bereich an oder erstellen Sie sich ein Profil, um \\\",[\\\"target_basisdienst\\\"],\\\" „\\\",[\\\"target_name\\\"],\\\"“ auf Ihre Merkliste setzen zu können.\\\"],\\\"favorite_toggle.not_logged_in_modal.body_suche\\\":\\\"Bitte melden Sie sich in Ihrem persönlichen Bereich an oder erstellen Sie ein Profil, um diese Suche speichern zu können.\\\",\\\"favorite_toggle.not_logged_in_modal.button_cancel\\\":\\\"Abbrechen\\\",\\\"favorite_toggle.not_logged_in_modal.button_confirm\\\":\\\"Anmelden\\\",\\\"favorite_toggle.not_logged_in_modal.target_basisdienst_foerderung\\\":\\\"die Förderung\\\",\\\"favorite_toggle.not_logged_in_modal.target_basisdienst_weiterbildung\\\":\\\"die Weiterbildung\\\",\\\"favorite_toggle.not_logged_in_modal.target_basisdienst_beratung\\\":\\\"die Beratung\\\",\\\"favorite_toggle.not_logged_in_modal.target_basisdienst_beruf\\\":\\\"den Beruf\\\",\\\"favorite_toggle.not_logged_in_modal.target_basisdienst_branche\\\":\\\"die Branche\\\",\\\"favorite_toggle.not_logged_in_modal.target_basisdienst_weiterbildungsangebot\\\":\\\"das Weiterbildungsangebot\\\",\\\"favorite_toggle.no_profile_modal.title\\\":\\\"Favorit merken\\\",\\\"favorite_toggle.no_profile_modal.title_suche\\\":\\\"Suche speichern\\\",\\\"favorite_toggle.no_profile_modal.body\\\":\\\"Bitte registrieren Sie sich bei „mein NOW“, um Favoriten zu speichern und jederzeit darauf zugreifen zu können. So finden Sie auch dieses Angebot wieder.\\\",\\\"favorite_toggle.no_profile_modal.body_suche\\\":\\\"Bitte registrieren Sie sich bei „mein NOW“, um Ihre Suche zu speichern und jederzeit darauf zugreifen zu können.\\\",\\\"favorite_toggle.no_profile_modal.button_cancel\\\":\\\"Abbrechen\\\",\\\"favorite_toggle.no_profile_modal.button_confirm\\\":\\\"Registrieren\\\",\\\"favorite_toggle.saved_suche_hint\\\":\\\"Diese Suche haben Sie bereits gespeichert.\\\",\\\"favorite_toggle.loading_user_information\\\":\\\"Lädt...\\\",\\\"wegweiser.start_btn\\\":\\\"Start\\\",\\\"wegweiser.abbrechen_btn\\\":\\\"Abbrechen\\\",\\\"wegweiser.privatpersonen.title\\\":\\\"Einfach die richtigen Inhalte auf „mein NOW“ finden\\\",\\\"wegweiser.privatpersonen.description\\\":\\\"Sie wünschen sich eine erste Orientierung auf „mein NOW“? Mit nur wenigen Fragen führt Sie der WegWeiser zum passenden Beginn Ihrer Weiterbildungsreise.\\\",\\\"wegweiser.privatpersonen.duration\\\":\\\"Dauer: \\\",\\\"wegweiser.privatpersonen.time\\\":\\\"max. 4 Minuten\\\",\\\"wegweiser.unternehmen.title\\\":\\\"Beginnen Sie Ihre Reise auf „mein NOW“\\\",\\\"wegweiser.unternehmen.description\\\":\\\"Sie wünschen sich eine erste Orientierung auf „mein NOW“? Mit nur wenigen Fragen zeigt Ihnen der WegWeiser den passenden Einstieg zum Thema Weiterbildungen für Ihr Unternehmen.\\\",\\\"wegweiser.unternehmen.duration\\\":\\\"Dauer: \\\",\\\"wegweiser.unternehmen.time\\\":\\\"max. 4 Minuten\\\",\\\"wegweiser.floating_btn_text\\\":\\\"Einstieg finden\\\",\\\"back_to_top.text\\\":\\\"nach oben\\\"}\");\ni18n.load('de', messages);\ni18n.activate('de');\nconst t = i18n.t;\nexport { t };\n\n","import { h } from '@stencil/core/internal/client';\nimport { c as clsx } from './clsx.m.js';\nimport { t } from './i18n.js';\n\n// Original-Datei: /assets/images/now-logo.svg\nconst NOW_LOGO = 'data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz48c3ZnIGlkPSJtZWluX05PVyIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB2aWV3Qm94PSIwIDAgMTI0LjU4IDUzLjYiPjxkZWZzPjxzdHlsZT4uY2xzLTF7ZmlsbDojMDA0ZDcxO30uY2xzLTJ7ZmlsbDojNzk2NmFiO308L3N0eWxlPjwvZGVmcz48cGF0aCBjbGFzcz0iY2xzLTIiIGQ9Ik0xMDAuMDYsMjAuODVsMTAuMTUsNi43MiwxLjAzLDEyLjY0Yy40MSwuNzEsMS40MywuNzEsMS44NSwwbDExLjM1LTE5LjM2Yy40Mi0uNzEtLjEtMS42MS0uOTItMS42MWgtMjIuNTNjLS44MiwwLTEuMzQsLjg5LS45MiwxLjZaIi8+PGc+PGc+PHBhdGggY2xhc3M9ImNscy0xIiBkPSJNNDIuMDEsMTkuMjF2MzEuMDJjMCwxLjc5LS45LDIuNjktMi42OSwyLjY5aC00LjFjLS44MSwwLTEuNDMtLjE5LTEuODYtLjU2cy0uODEtLjk0LTEuMTctMS42OWwtOS4zMy0xNy42OWMtLjM5LS43NS0uNzctMS41OC0xLjE1LTIuNDktLjM4LS45MS0uNjktMS43OS0uOTUtMi42NGgtLjU0Yy4xLC44OCwuM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0xIiBkPSJNMzQuMjgsNC40bC4xNSwxLjk4LC4xMywuMzJWMTQuNzVoLTEuODFWNC40aDEuNTNabTQuNzYtLjI1YzEuODcsMCwyLjgsLjk1LDIuOCwyLjg1djcuNzZoLTEuODFWNy41YzAtLjY5LS4xMS0xLjE3LS4zNC0xLjQzLS4yMy0uMjYtLjYxLS4zOS0xLjE1LS4zOS0uNjQsMC0xLjI3LC4xNi0xLjkxLC40Ny0uNjQsLjMxLTEuNCwuNzQtMi4yNywxLjI4bC0uMDgtMS4zYy44MS0uNjIsMS42MS0xLjExLDIuNC0xLjQ2LC43OS0uMzUsMS41OC0uNTIsMi4zNi0uNTJaIi8+PC9nPjxwYXRoIGNsYXNzPSJjbHMtMSIgZD0iTTEwNy4wNiw1Mi4zMmwzLjUzLTYuMDFjLjE4LS4zLC4xOC0uNjgsMC0uOThsLTE0LjcyLTI1LjU0Yy0uMTctLjMtLjUtLjQ5LS44NC0uNDloLTYuODhjLS43NSwwLTEuMjIsLjgxLS44NSwxLjQ2bDE4LjA3LDMxLjU0Yy4zNywuNjUsMS4zMSwuNjUsMS42OSwwWiIvPjxwYXRoIGNsYXNzPSJjbHMtMSIgZD0iTTk0LjI5LDUyLjI3bDMuNDItNi4wOWMuMTctLjMsLjE3LS42NiwwLS45NmwtMTQuNTktMjUuNDJjLS4xNy0uMy0uNS0uNDktLjg1LS40OWgtNi44OGMtLjc1LDAtMS4yMiwuODEtLjg1LDEuNDZsMTguMDUsMzEuNTFjLjM4LC42NiwxLjMyLC42NSwxLjcsMFoiLz48L2c+PC9zdmc+';\nconst LanguageButton = ({\n entries\n}) => h(\"now-internal-flyout\", {\n variant: \"tertiary\",\n // purge-css-from-tsx-exception dw-icon-person-arms-spread\n icon: \"person-arms-spread\",\n label: t('header.language.language'),\n flyoutId: \"mobile-language-flyout\",\n entries: entries,\n isMobile: true\n});\nconst MenuButton = ({\n entries,\n isMobile\n}) => h(\"now-internal-flyout\", {\n variant: isMobile ? 'primary' : 'tertiary',\n // purge-css-from-tsx-exception dw-icon-list\n icon: \"list\",\n label: t('header.menu.menu'),\n flyoutId: isMobile ? 'mobile-menu-flyout' : 'menu-flyout',\n entries: entries,\n isMobile: isMobile,\n useStore: \"navigationMenuOpen\"\n});\n\n/* eslint-disable react/jsx-no-bind */\nconst Header = ({\n config: {\n linkStartseite,\n linkLeichteSprache,\n linkGebaerdensprache,\n linkEnglischeSprache,\n linkPerspektiven,\n linkOnlineTests,\n linkWeiterbildungen,\n linkFoerderung,\n linkBeratung\n },\n targetGroup,\n logoSrc,\n location,\n wide,\n ref,\n renderProfileButton\n}) => {\n const language = [\n // purge-css-from-tsx-exception dw-icon\n // purge-css-from-tsx-exception dw-icon-easy-read-fill\n {\n href: linkLeichteSprache,\n icon: 'easy-read-fill',\n label: t('header.language.leichte_sprache')\n },\n // purge-css-from-tsx-exception dw-icon-hand-fill\n {\n href: linkGebaerdensprache,\n icon: 'hand-fill',\n label: t('header.language.sign_language')\n }, {\n href: linkEnglischeSprache,\n // purge-css-from-tsx-exception dw-icon-globe-fill\n icon: 'globe-fill',\n label: t('header.language.english_information')\n }];\n const menu = [{\n href: linkPerspektiven[targetGroup],\n label: t('header.menu.perspektiven'),\n patterns: [/privatpersonen\\/berufe/iu, /unternehmen\\/branchentrends/iu]\n }, {\n href: linkOnlineTests[targetGroup],\n label: t('header.menu.online_tests'),\n patterns: [/privatpersonen\\/online-tests/iu, /unternehmen\\/online-tests/iu, /new-plan/iu]\n }, {\n href: linkWeiterbildungen[targetGroup],\n label: t('header.menu.weiterbildungen'),\n patterns: [/privatpersonen\\/weiterbildungen/iu, /unternehmen\\/weiterbildungen/iu, /weiterbildungssuche/iu, /now-suche/iu]\n }, {\n href: linkFoerderung[targetGroup],\n label: t({\n id: 'header.menu.foerderung'\n }),\n patterns: [/privatpersonen\\/foerderungen/iu, /unternehmen\\/foerderungen/iu]\n }, {\n href: linkBeratung[targetGroup],\n label: t('header.menu.beratung'),\n patterns: [/privatpersonen\\/beratung/iu, /unternehmen\\/beratung/iu]\n }];\n const logo = h(\"div\", {\n class: \"now-logo\"\n }, h(\"a\", {\n href: linkStartseite,\n title: t('header.home_link_title')\n }, h(\"img\", {\n src: logoSrc,\n alt: t('header.logo_alt_text')\n })));\n const languageKeyUp = ev => {\n if (ev.key === 'Tab') {\n ev.target.scrollIntoView();\n }\n };\n return [h(\"header\", {\n key: \"desktop\",\n class: clsx('now-header', {\n 'now-header-wide': wide,\n initializing: ref\n }),\n ref: ref\n }, h(\"nav\", {\n class: \"now-nav-meta\",\n \"aria-label\": t('header.meta_navigation_label')\n }, h(\"ul\", {\n class: \"container-fluid\"\n }, language.map(({\n label,\n href,\n icon\n }) => h(\"li\", {\n key: href\n }, h(\"a\", {\n class: `now-link-on-dark now-icon dw-icon dw-icon-${icon}`,\n href: href,\n onKeyUp: languageKeyUp\n }, label))))), h(\"nav\", {\n class: \"now-nav-main\",\n \"aria-label\": t('header.main_navigation_label')\n }, h(\"ul\", {\n class: \"container-fluid\"\n }, h(\"li\", null, logo), menu.map(({\n label,\n href,\n patterns\n }) => {\n const isActive = location && patterns.some(regex => regex.test(location));\n return h(\"li\", {\n key: href,\n class: clsx('now-menu-item d-none d-lg-block', {\n active: isActive\n }),\n \"aria-current\": isActive ? 'page' : undefined\n }, h(\"a\", {\n href: href\n }, label));\n }), h(\"li\", {\n class: \"d-lg-none ms-auto\"\n }, h(MenuButton, {\n isMobile: false,\n entries: menu\n })), renderProfileButton?.(false)))), h(\"header\", {\n key: \"mobile\",\n class: \"now-mobile-header\"\n }, h(\"div\", {\n class: \"container-fluid fixed-bottom w-100\"\n }, h(LanguageButton, {\n entries: language\n }), h(MenuButton, {\n isMobile: true,\n entries: [{\n href: linkStartseite,\n label: t('header.menu.homepage')\n }, ...menu]\n }), renderProfileButton?.(true)), h(\"div\", {\n class: \"container-fluid\"\n }, logo))];\n};\nexport { Header as H, NOW_LOGO as N };\n\n","import { getRenderingRef, forceUpdate } from '@stencil/core/internal/client';\nconst appendToMap = (map, propName, value) => {\n const items = map.get(propName);\n if (!items) {\n map.set(propName, [value]);\n } else if (!items.includes(value)) {\n items.push(value);\n }\n};\nconst debounce = (fn, ms) => {\n let timeoutId;\n return (...args) => {\n if (timeoutId) {\n clearTimeout(timeoutId);\n }\n timeoutId = setTimeout(() => {\n timeoutId = 0;\n fn(...args);\n }, ms);\n };\n};\n\n/**\n * Check if a possible element isConnected.\n * The property might not be there, so we check for it.\n *\n * We want it to return true if isConnected is not a property,\n * otherwise we would remove these elements and would not update.\n *\n * Better leak in Edge than to be useless.\n */\nconst isConnected = maybeElement => !('isConnected' in maybeElement) || maybeElement.isConnected;\nconst cleanupElements = debounce(map => {\n for (let key of map.keys()) {\n map.set(key, map.get(key).filter(isConnected));\n }\n}, 2000);\nconst stencilSubscription = () => {\n if (typeof getRenderingRef !== 'function') {\n // If we are not in a stencil project, we do nothing.\n // This function is not really exported by @stencil/core.\n return {};\n }\n const elmsToUpdate = new Map();\n return {\n dispose: () => elmsToUpdate.clear(),\n get: propName => {\n const elm = getRenderingRef();\n if (elm) {\n appendToMap(elmsToUpdate, propName, elm);\n }\n },\n set: propName => {\n const elements = elmsToUpdate.get(propName);\n if (elements) {\n elmsToUpdate.set(propName, elements.filter(forceUpdate));\n }\n cleanupElements(elmsToUpdate);\n },\n reset: () => {\n elmsToUpdate.forEach(elms => elms.forEach(forceUpdate));\n cleanupElements(elmsToUpdate);\n }\n };\n};\nconst unwrap = val => typeof val === 'function' ? val() : val;\nconst createObservableMap = (defaultState, shouldUpdate = (a, b) => a !== b) => {\n const unwrappedState = unwrap(defaultState);\n let states = new Map(Object.entries(unwrappedState !== null && unwrappedState !== void 0 ? unwrappedState : {}));\n const handlers = {\n dispose: [],\n get: [],\n set: [],\n reset: []\n };\n const reset = () => {\n var _a;\n // When resetting the state, the default state may be a function - unwrap it to invoke it.\n // otherwise, the state won't be properly reset\n states = new Map(Object.entries((_a = unwrap(defaultState)) !== null && _a !== void 0 ? _a : {}));\n handlers.reset.forEach(cb => cb());\n };\n const dispose = () => {\n // Call first dispose as resetting the state would\n // cause less updates ;)\n handlers.dispose.forEach(cb => cb());\n reset();\n };\n const get = propName => {\n handlers.get.forEach(cb => cb(propName));\n return states.get(propName);\n };\n const set = (propName, value) => {\n const oldValue = states.get(propName);\n if (shouldUpdate(value, oldValue, propName)) {\n states.set(propName, value);\n handlers.set.forEach(cb => cb(propName, value, oldValue));\n }\n };\n const state = typeof Proxy === 'undefined' ? {} : new Proxy(unwrappedState, {\n get(_, propName) {\n return get(propName);\n },\n ownKeys(_) {\n return Array.from(states.keys());\n },\n getOwnPropertyDescriptor() {\n return {\n enumerable: true,\n configurable: true\n };\n },\n has(_, propName) {\n return states.has(propName);\n },\n set(_, propName, value) {\n set(propName, value);\n return true;\n }\n });\n const on = (eventName, callback) => {\n handlers[eventName].push(callback);\n return () => {\n removeFromArray(handlers[eventName], callback);\n };\n };\n const onChange = (propName, cb) => {\n const unSet = on('set', (key, newValue) => {\n if (key === propName) {\n cb(newValue);\n }\n });\n // We need to unwrap the defaultState because it might be a function.\n // Otherwise we might not be sending the right reset value.\n const unReset = on('reset', () => cb(unwrap(defaultState)[propName]));\n return () => {\n unSet();\n unReset();\n };\n };\n const use = (...subscriptions) => {\n const unsubs = subscriptions.reduce((unsubs, subscription) => {\n if (subscription.set) {\n unsubs.push(on('set', subscription.set));\n }\n if (subscription.get) {\n unsubs.push(on('get', subscription.get));\n }\n if (subscription.reset) {\n unsubs.push(on('reset', subscription.reset));\n }\n if (subscription.dispose) {\n unsubs.push(on('dispose', subscription.dispose));\n }\n return unsubs;\n }, []);\n return () => unsubs.forEach(unsub => unsub());\n };\n const forceUpdate = key => {\n const oldValue = states.get(key);\n handlers.set.forEach(cb => cb(key, oldValue, oldValue));\n };\n return {\n state,\n get,\n set,\n on,\n onChange,\n use,\n dispose,\n reset,\n forceUpdate\n };\n};\nconst removeFromArray = (array, item) => {\n const index = array.indexOf(item);\n if (index >= 0) {\n array[index] = array[array.length - 1];\n array.length--;\n }\n};\nconst createStore = (defaultState, shouldUpdate) => {\n const map = createObservableMap(defaultState, shouldUpdate);\n map.use(stencilSubscription());\n return map;\n};\nexport { createStore as c };\n\n","function initDplElement(element, key, init) {\n let resolveResultPromise;\n const resultPromise = new Promise(resolve => {\n resolveResultPromise = result => resolve(result);\n });\n const runInit = () => {\n const result = init(element, window.dpl?.[key]);\n resolveResultPromise(result);\n };\n if (window.dpl?.[key]) {\n runInit();\n } else {\n window.addEventListener('init.now.dpl', runInit, {\n once: true\n });\n }\n return resultPromise;\n}\nexport { initDplElement as i };\n\n","import { proxyCustomElement, HTMLElement, h, Fragment } from '@stencil/core/internal/client';\nimport { c as clsx } from './clsx.m.js';\nimport { c as createStore } from './index3.js';\nimport { i as initDplElement } from './init-dpl-element.js';\nconst store = createStore({\n navigationMenuOpen: false,\n profileMenuOpen: false\n});\nconst nowInternalFlyoutCss = \"@charset \\\"UTF-8\\\";:root{--bs-blue:#0d6efd;--bs-indigo:#6610f2;--bs-purple:#6f42c1;--bs-pink:#d63384;--bs-red:#dc3545;--bs-orange:#fd7e14;--bs-yellow:#ffc107;--bs-green:#198754;--bs-teal:#20c997;--bs-cyan:#0dcaf0;--bs-black:#000;--bs-white:#fff;--bs-gray:#6c757d;--bs-gray-dark:#343a40;--bs-gray-100:#f8f9fa;--bs-gray-200:#e9ecef;--bs-gray-300:#dee2e6;--bs-gray-400:#ced4da;--bs-gray-500:#adb5bd;--bs-gray-600:#6c757d;--bs-gray-700:#495057;--bs-gray-800:#343a40;--bs-gray-900:#212529;--bs-primary:#0d6efd;--bs-secondary:#6c757d;--bs-success:#198754;--bs-info:#0dcaf0;--bs-warning:#ffc107;--bs-danger:#dc3545;--bs-light:#f8f9fa;--bs-dark:#212529;--bs-primary-rgb:13, 110, 253;--bs-secondary-rgb:108, 117, 125;--bs-success-rgb:25, 135, 84;--bs-info-rgb:13, 202, 240;--bs-warning-rgb:255, 193, 7;--bs-danger-rgb:220, 53, 69;--bs-light-rgb:248, 249, 250;--bs-dark-rgb:33, 37, 41;--bs-white-rgb:255, 255, 255;--bs-black-rgb:0, 0, 0;--bs-body-color-rgb:0, 0, 0;--bs-body-bg-rgb:238, 241, 244;--bs-font-sans-serif:\\\"Nunito\\\", \\\"Helvetica Neue\\\", \\\"Arial\\\", \\\"sans-serif\\\", \\\"Apple Color Emoji\\\", \\\"Segoe UI Emoji\\\", \\\"Segoe UI Symbol\\\", \\\"Noto Color Emoji\\\";--bs-font-monospace:SFMono-Regular, Menlo, Monaco, Consolas, \\\"Liberation Mono\\\", \\\"Courier New\\\", monospace;--bs-gradient:linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0));--bs-body-font-family:var(--bs-font-sans-serif);--bs-body-font-size:1rem;--bs-body-font-weight:400;--bs-body-line-height:1.5;--bs-body-color:#000000;--bs-body-bg:#EEF1F4;--bs-border-width:1px;--bs-border-style:solid;--bs-border-color:#dee2e6;--bs-border-color-translucent:rgba(0, 0, 0, 0.175);--bs-border-radius:12px;--bs-border-radius-sm:0.25rem;--bs-border-radius-lg:0.5rem;--bs-border-radius-xl:1rem;--bs-border-radius-2xl:2rem;--bs-border-radius-pill:50rem;--bs-link-color:#0d6efd;--bs-link-hover-color:#0a58ca;--bs-code-color:#D42C80;--bs-highlight-bg:#fff3cd}*,*::before,*::after{box-sizing:border-box}@media (prefers-reduced-motion: no-preference){:root{scroll-behavior:smooth}}ul{padding-left:2rem}ul{margin-top:0;margin-bottom:1rem}ul ul{margin-bottom:0}a{color:var(--bs-link-color);text-decoration:none}a:hover{color:var(--bs-link-hover-color)}a:not([href]):not([class]),a:not([href]):not([class]):hover{color:inherit;text-decoration:none}code{font-family:var(--bs-font-monospace);font-size:1em}code{font-size:0.8125rem;color:var(--bs-code-color);word-wrap:break-word}a>code{color:inherit}label{display:inline-block}button{border-radius:0}button:focus:not(:focus-visible){outline:0}button{margin:0;font-family:inherit;font-size:inherit;line-height:inherit}button{text-transform:none}button,[type=button]{-webkit-appearance:button}button:not(:disabled),[type=button]:not(:disabled){cursor:pointer}::-moz-focus-inner{padding:0;border-style:none}::-webkit-datetime-edit-fields-wrapper,::-webkit-datetime-edit-text,::-webkit-datetime-edit-minute,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-year-field{padding:0}::-webkit-inner-spin-button{height:auto}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-color-swatch-wrapper{padding:0}::file-selector-button{font:inherit;-webkit-appearance:button}[hidden]{display:none !important}.collapse:not(.show){display:none}.collapsing{height:0;overflow:hidden;transition:height 0.24s ease-in-out}.nav{--bs-nav-link-padding-x:1rem;--bs-nav-link-padding-y:0.5rem;--bs-nav-link-color:var(--bs-link-color);--bs-nav-link-hover-color:var(--bs-link-hover-color);--bs-nav-link-disabled-color:#6c757d;display:flex;flex-wrap:wrap;padding-left:0;margin-bottom:0;list-style:none}.shadow{box-shadow:0px 4px 8px 2px rgba(0, 0, 0, 0.15), 0px 1px 2px 0px rgba(0, 0, 0, 0.3) !important}:root,:host{--now-h1-font-size:2.25rem;--now-h1-line-height:2.75rem;--now-h1-font-weight:800;--now-h1-margin-top:0;--now-h1-margin-bottom:0}@media (min-width: 992px){:root,:host{--now-h1-font-size:3rem;--now-h1-line-height:3.75rem}}:root,:host{--now-h2-font-size:2rem;--now-h2-line-height:2.5rem;--now-h2-font-weight:700;--now-h2-margin-top:4.5rem;--now-h2-margin-bottom:1.5rem}@media (min-width: 992px){:root,:host{--now-h2-font-size:2.5rem;--now-h2-line-height:3rem}}:root,:host{--now-h3-font-size:1.75rem;--now-h3-line-height:2.25rem;--now-h3-font-weight:700;--now-h3-margin-top:3rem;--now-h3-margin-bottom:1.5rem}@media (min-width: 992px){:root,:host{--now-h3-font-size:2rem;--now-h3-line-height:2.5rem}}:root,:host{--now-h4-font-size:1.5rem;--now-h4-line-height:1.75rem;--now-h4-font-weight:700;--now-h4-margin-top:2.5rem;--now-h4-margin-bottom:1.5rem}@media (min-width: 992px){:root,:host{--now-h4-font-size:1.75rem;--now-h4-line-height:2.25rem}}:root,:host{--now-h5-font-size:1.25rem;--now-h5-line-height:1.5rem;--now-h5-font-weight:700;--now-h5-margin-top:2rem;--now-h5-margin-bottom:1.5rem}@media (min-width: 992px){:root,:host{--now-h5-font-size:1.5rem;--now-h5-line-height:1.75rem}}:root,:host{--now-h6-font-size:1.125rem;--now-h6-line-height:1.5rem;--now-h6-font-weight:700;--now-h6-margin-top:1.5rem;--now-h6-margin-bottom:1.5rem}@media (min-width: 992px){:root,:host{--now-h6-font-size:1.25rem;--now-h6-line-height:1.5rem}}:root,:host{--now-h1-subtitle-font-size:1.5rem;--now-h1-subtitle-line-height:2.25rem;--now-h1-subtitle-font-weight:200}@media (min-width: 992px){:root,:host{--now-h1-subtitle-font-size:1.75rem;--now-h1-subtitle-line-height:2.5rem}}:root,:host{--now-body-default-font-size:1rem;--now-body-default-line-height:1.5rem;--now-body-default-font-weight:400}@media (min-width: 992px){:root,:host{--now-body-default-font-size:1rem;--now-body-default-line-height:1.5rem}}:root,:host{--now-body-semibold-font-size:1rem;--now-body-semibold-line-height:1.5rem;--now-body-semibold-font-weight:600}@media (min-width: 992px){:root,:host{--now-body-semibold-font-size:1rem;--now-body-semibold-line-height:1.5rem}}:root,:host{--now-body-bold-font-size:1rem;--now-body-bold-line-height:1.5rem;--now-body-bold-font-weight:700}@media (min-width: 992px){:root,:host{--now-body-bold-font-size:1rem;--now-body-bold-line-height:1.5rem}}:root,:host{--now-body-large-font-size:1rem;--now-body-large-line-height:1.5rem;--now-body-large-font-weight:400}@media (min-width: 992px){:root,:host{--now-body-large-font-size:1.25rem;--now-body-large-line-height:2.25rem}}:root,:host{--now-body-large-bold-font-size:1rem;--now-body-large-bold-line-height:1.5rem;--now-body-large-bold-font-weight:700}@media (min-width: 992px){:root,:host{--now-body-large-bold-font-size:1.25rem;--now-body-large-bold-line-height:2.25rem}}:root,:host{--now-body-large-light-font-size:1rem;--now-body-large-light-line-height:1.5rem;--now-body-large-light-font-weight:300}@media (min-width: 992px){:root,:host{--now-body-large-light-font-size:1.25rem;--now-body-large-light-line-height:2.25rem}}:root,:host{--now-caption-default-font-size:0.875rem;--now-caption-default-line-height:1rem;--now-caption-default-font-weight:400}@media (min-width: 992px){:root,:host{--now-caption-default-font-size:0.875rem;--now-caption-default-line-height:1rem}}:root,:host{--now-caption-bold-font-size:0.875rem;--now-caption-bold-line-height:1rem;--now-caption-bold-font-weight:700}@media (min-width: 992px){:root,:host{--now-caption-bold-font-size:0.875rem;--now-caption-bold-line-height:1rem}}label{font-size:var(--now-label-default-font-size);line-height:var(--now-label-default-line-height);font-weight:var(--now-label-default-font-weight)}:root,:host{--now-label-default-font-size:1rem;--now-label-default-line-height:1.25rem;--now-label-default-font-weight:400}@media (min-width: 992px){:root,:host{--now-label-default-font-size:1rem;--now-label-default-line-height:1.25rem}}.now-link-list li,a{font-size:var(--now-label-medium-font-size);line-height:var(--now-label-medium-line-height);font-weight:var(--now-label-medium-font-weight)}:root,:host{--now-label-medium-font-size:1rem;--now-label-medium-line-height:1.25rem;--now-label-medium-font-weight:500}@media (min-width: 992px){:root,:host{--now-label-medium-font-size:1rem;--now-label-medium-line-height:1.25rem}}:root,:host{--now-label-medium-large-font-size:1rem;--now-label-medium-large-line-height:1.25rem;--now-label-medium-large-font-weight:500}@media (min-width: 992px){:root,:host{--now-label-medium-large-font-size:1.25rem;--now-label-medium-large-line-height:1.75rem}}:root,:host{--now-label-bold-font-size:1rem;--now-label-bold-line-height:1.25rem;--now-label-bold-font-weight:700}@media (min-width: 992px){:root,:host{--now-label-bold-font-size:1rem;--now-label-bold-line-height:1.25rem}}:root,:host{--now-label-bold-large-font-size:1.25rem;--now-label-bold-large-line-height:1.75rem;--now-label-bold-large-font-weight:700}@media (min-width: 992px){:root,:host{--now-label-bold-large-font-size:1.25rem;--now-label-bold-large-line-height:1.75rem}}:root,:host{--now-label-extra-bold-font-size:1rem;--now-label-extra-bold-line-height:1.25rem;--now-label-extra-bold-font-weight:800}@media (min-width: 992px){:root,:host{--now-label-extra-bold-font-size:1rem;--now-label-extra-bold-line-height:1.25rem}}:root,:host{--now-label-light-font-size:1rem;--now-label-light-line-height:1.25rem;--now-label-light-font-weight:300}@media (min-width: 992px){:root,:host{--now-label-light-font-size:1rem;--now-label-light-line-height:1.25rem}}:root,:host{--now-label-extra-bold-large-font-size:1.25rem;--now-label-extra-bold-large-line-height:1.75rem;--now-label-extra-bold-large-font-weight:800}@media (min-width: 992px){:root,:host{--now-label-extra-bold-large-font-size:1.25rem;--now-label-extra-bold-large-line-height:1.75rem}}:root,:host{--now-footnote-font-size:0.75rem;--now-footnote-line-height:1rem;--now-footnote-font-weight:400}@media (min-width: 992px){:root,:host{--now-footnote-font-size:0.75rem;--now-footnote-line-height:1rem}}label{display:block;position:relative;margin-bottom:4px;color:#43474B}:not(.now-keyboard-mode) :focus{outline:none}.now-keyboard-mode :not(now-header,now-footer,now-feedback,now-typeahead,now-cookie-disclaimer,now-favorit-toggle,now-wegweiser-float):focus,.now-keyboard-mode .now-focused{outline:2px solid transparent;box-shadow:0 0 0 2px #EEF1F4, 0 0 0 4px #004D71}.dw-icon-arrow-right::before{height:1em;aspect-ratio:1;content:\\\"\\\";mask-position:center;mask-size:1em;mask-repeat:no-repeat;background-color:currentcolor;mask-image:url(\\\"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMiIgaGVpZ2h0PSIzMiIgZmlsbD0iIzAwMDAwMCIgdmlld0JveD0iMCAwIDI1NiAyNTYiPjxwYXRoIGQ9Ik0yMjEuNjYsMTMzLjY2bC03Miw3MmE4LDgsMCwwLDEtMTEuMzItMTEuMzJMMTk2LjY5LDEzNkg0MGE4LDgsMCwwLDEsMC0xNkgxOTYuNjlMMTM4LjM0LDYxLjY2YTgsOCwwLDAsMSwxMS4zMi0xMS4zMmw3Miw3MkE4LDgsMCwwLDEsMjIxLjY2LDEzMy42NloiPjwvcGF0aD48L3N2Zz4=\\\")}@media (-ms-high-contrast: active), (forced-colors: active), (prefers-contrast: more){.dw-icon-arrow-right::before{background-color:CanvasText !important}}.now-flyout-container{width:max-content;max-width:1280px;position:relative}.now-flyout-collapse{position:relative;width:100%;padding-top:8px}.now-flyout-collapse::before{position:absolute;top:0;right:50%;width:24px;height:0;transform:translate(50%);border:4px solid #FFFFFF;content:\\\"\\\";z-index:1001;-webkit-clip-path:polygon(50% 0%, 0 100%, 100% 100%);clip-path:polygon(50% 0%, 0 100%, 100% 100%);}.now-flyout{position:relative;width:max-content;padding:24px;border-radius:12px;background-color:#FFFFFF;box-shadow:0px 4px 8px 2px rgba(0, 0, 0, 0.15), 0px 1px 2px 0px rgba(0, 0, 0, 0.3);outline:1px solid transparent;overflow:auto}.now-flyout-bottom-container{width:100%;position:absolute;bottom:61px;left:0}.now-flyout-bottom-container .now-flyout-collapse{padding-top:0}.now-flyout-bottom-container .now-flyout-collapse::before{content:none}.now-flyout-bottom-container .now-flyout{width:100%;border-radius:12px 12px 0 0;clip-path:polygon(0 -16px, 100% -16px, 100% 100%, 0 100%)}.now-flyout-bottom-container .now-flyout ul{width:100%}a{padding-top:0.75rem;padding-bottom:0.75rem;display:inline-block}a:has(img){padding:0}a:hover,a:focus{text-decoration:underline}a,a:visited{color:#000000}a:hover,a:focus{color:#574687}a:active{color:#452D6E}.now-keyboard-mode .now-link-list li a:focus,.now-keyboard-mode .now-link-list li button:focus{background-color:#DCE3EB}.now-link-list{margin:0;padding:0;display:flex;flex-direction:column;gap:8px;list-style:none}.now-link-list>li{position:relative}.now-link-list>li::before{position:absolute;display:inline-block;text-align:center;font-size:1.25em;line-height:1em;top:calc(50% - 0.5em);left:0.4em;pointer-events:none}.now-link-list li{color:#000000;border-radius:4px}.now-link-list li a,.now-link-list li button{font-size:inherit;line-height:inherit;text-decoration:none !important;padding:8px 0.5em 8px 2.25em;width:100%;text-align:left;border-width:0;background-color:transparent;border-radius:4px}.now-link-list li a:hover,.now-link-list li a:active,.now-link-list li a:focus,.now-link-list li button:hover,.now-link-list li button:active,.now-link-list li button:focus{color:#000000}.now-link-list li:hover{background:#DCE3EB}.now-link-list li:active{background:#BCC8D4}.now-link-list .now-divider{margin-bottom:9px}.now-link-list .now-divider::after{content:\\\"\\\";height:1px;width:100%;background-color:#A9ACAD;position:absolute;margin:8px 0;bottom:-17px;left:0;border-radius:1px}now-flyout{display:block}\";\nconst NowInternalFlyout = /*@__PURE__*/proxyCustomElement(class extends HTMLElement {\n constructor() {\n super();\n this.__registerHost();\n this.variant = undefined;\n this.icon = undefined;\n this.label = undefined;\n this.flyoutId = undefined;\n this.entries = undefined;\n this.isMobile = false;\n this.useStore = undefined;\n this.expanded = false;\n this.isTransitioning = false;\n }\n watchExpandedHandler(value) {\n if (value) {\n this.flyoutCollapse?.show();\n } else {\n this.flyoutCollapse?.hide();\n }\n if (this.useStore) {\n store.state[this.useStore] = value;\n }\n // Flyout wird geschlossen bei Click außerhalb, Focus außerhalb und Esc-Taste\n // Listener werden im Timeout gesetzt, damit ursprünglicher Click nicht bereits Event auslöst\n const method = value ? document.addEventListener : document.removeEventListener;\n setTimeout(() => {\n method('click', this.closeFlyoutOnClickOrFocusOut);\n method('keydown', this.closeFlyoutOnEscape);\n });\n }\n flyout;\n flyoutCollapse;\n componentDidLoad() {\n initDplElement(this.flyout, 'bs', (element, bs) => {\n if (this.flyoutCollapse) return this.flyoutCollapse;\n this.flyoutCollapse = new bs.Collapse(element, {\n toggle: false\n });\n this.flyout?.addEventListener('shown.bs.collapse', this.flyoutDidShow);\n this.flyout?.addEventListener('hidden.bs.collapse', this.flyoutDidHide);\n });\n if (this.useStore) {\n store.onChange(this.useStore, value => {\n this.expanded = value;\n });\n }\n }\n toggle() {\n if (this.isTransitioning) return;\n this.isTransitioning = true;\n this.expanded = !this.expanded;\n }\n flyoutDidShow = () => {\n this.expanded = true;\n this.isTransitioning = false;\n };\n flyoutDidHide = () => {\n this.expanded = false;\n this.isTransitioning = false;\n };\n closeFlyoutOnClickOrFocusOut = e => {\n const target = e.composedPath()[0];\n if (!target.closest('.now-flyout-container') && !target.closest(`${this.flyoutId}-btn`)) {\n this.expanded = false;\n }\n };\n closeFlyoutOnEscape = event => {\n if (event.key === 'Escape' || event.code === 'Escape') {\n this.expanded = false;\n }\n };\n render() {\n const buttonId = `${this.flyoutId}-btn`;\n /* purge-css-from-tsx-exception now-menu-btn-primary, now-menu-btn-tertiary, now-btn-primary, now-btn-tertiary */\n const className = this.isMobile ? `now-menu-btn now-menu-btn-${this.variant} dw-icon-${this.icon}` : `now-btn now-btn-${this.variant} now-btn-icon dw-btn-icon dw-icon-${this.icon}`;\n return h(Fragment, null, h(\"button\", {\n id: buttonId,\n class: className,\n type: \"button\",\n \"aria-expanded\": this.expanded.toString(),\n \"aria-controls\": this.flyoutId,\n onClick: () => this.toggle()\n }, this.label), h(\"div\", {\n class: this.isMobile ? 'now-flyout-bottom-container' : 'now-flyout-container'\n }, h(\"div\", {\n id: this.flyoutId,\n class: \"now-flyout-collapse collapse\",\n ref: el => this.flyout = el\n }, h(\"nav\", {\n class: \"now-flyout\"\n }, h(\"ul\", {\n class: \"now-link-list\"\n }, this.entries?.filter(({\n isVisible = true\n }) => isVisible).map(({\n label,\n icon = 'arrow-right',\n withDividerBelow,\n ...entry\n }) => {\n return h(\"li\", {\n key: label,\n class: clsx('dw-icon', `dw-icon-${icon}`, {\n 'now-divider': withDividerBelow\n })\n }, entry.type === 'button' ? h(\"button\", {\n onClick: entry.onClick\n }, label) : h(\"a\", {\n href: entry.href\n }, label));\n }))))));\n }\n static get watchers() {\n return {\n \"expanded\": [\"watchExpandedHandler\"]\n };\n }\n static get style() {\n return nowInternalFlyoutCss;\n }\n}, [0, \"now-internal-flyout\", {\n \"variant\": [1],\n \"icon\": [1],\n \"label\": [1],\n \"flyoutId\": [1, \"flyout-id\"],\n \"entries\": [16],\n \"isMobile\": [4, \"is-mobile\"],\n \"useStore\": [1, \"use-store\"],\n \"expanded\": [32],\n \"isTransitioning\": [32]\n}]);\nfunction defineCustomElement() {\n if (typeof customElements === \"undefined\") {\n return;\n }\n const components = [\"now-internal-flyout\"];\n components.forEach(tagName => {\n switch (tagName) {\n case \"now-internal-flyout\":\n if (!customElements.get(tagName)) {\n customElements.define(tagName, NowInternalFlyout);\n }\n break;\n }\n });\n}\nexport { NowInternalFlyout as N, defineCustomElement as d };\n\n","import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';\nimport { H as Header, N as NOW_LOGO } from './header.js';\nimport { d as defineCustomElement$2 } from './now-internal-flyout2.js';\nconst nowFallbackHeaderCss = \"@charset \\\"UTF-8\\\";:root{--bs-blue:#0d6efd;--bs-indigo:#6610f2;--bs-purple:#6f42c1;--bs-pink:#d63384;--bs-red:#dc3545;--bs-orange:#fd7e14;--bs-yellow:#ffc107;--bs-green:#198754;--bs-teal:#20c997;--bs-cyan:#0dcaf0;--bs-black:#000;--bs-white:#fff;--bs-gray:#6c757d;--bs-gray-dark:#343a40;--bs-gray-100:#f8f9fa;--bs-gray-200:#e9ecef;--bs-gray-300:#dee2e6;--bs-gray-400:#ced4da;--bs-gray-500:#adb5bd;--bs-gray-600:#6c757d;--bs-gray-700:#495057;--bs-gray-800:#343a40;--bs-gray-900:#212529;--bs-primary:#0d6efd;--bs-secondary:#6c757d;--bs-success:#198754;--bs-info:#0dcaf0;--bs-warning:#ffc107;--bs-danger:#dc3545;--bs-light:#f8f9fa;--bs-dark:#212529;--bs-primary-rgb:13, 110, 253;--bs-secondary-rgb:108, 117, 125;--bs-success-rgb:25, 135, 84;--bs-info-rgb:13, 202, 240;--bs-warning-rgb:255, 193, 7;--bs-danger-rgb:220, 53, 69;--bs-light-rgb:248, 249, 250;--bs-dark-rgb:33, 37, 41;--bs-white-rgb:255, 255, 255;--bs-black-rgb:0, 0, 0;--bs-body-color-rgb:0, 0, 0;--bs-body-bg-rgb:238, 241, 244;--bs-font-sans-serif:\\\"Nunito\\\", \\\"Helvetica Neue\\\", \\\"Arial\\\", \\\"sans-serif\\\", \\\"Apple Color Emoji\\\", \\\"Segoe UI Emoji\\\", \\\"Segoe UI Symbol\\\", \\\"Noto Color Emoji\\\";--bs-font-monospace:SFMono-Regular, Menlo, Monaco, Consolas, \\\"Liberation Mono\\\", \\\"Courier New\\\", monospace;--bs-gradient:linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0));--bs-body-font-family:var(--bs-font-sans-serif);--bs-body-font-size:1rem;--bs-body-font-weight:400;--bs-body-line-height:1.5;--bs-body-color:#000000;--bs-body-bg:#EEF1F4;--bs-border-width:1px;--bs-border-style:solid;--bs-border-color:#dee2e6;--bs-border-color-translucent:rgba(0, 0, 0, 0.175);--bs-border-radius:12px;--bs-border-radius-sm:0.25rem;--bs-border-radius-lg:0.5rem;--bs-border-radius-xl:1rem;--bs-border-radius-2xl:2rem;--bs-border-radius-pill:50rem;--bs-link-color:#0d6efd;--bs-link-hover-color:#0a58ca;--bs-code-color:#D42C80;--bs-highlight-bg:#fff3cd}*,*::before,*::after{box-sizing:border-box}@media (prefers-reduced-motion: no-preference){:root{scroll-behavior:smooth}}::-moz-focus-inner{padding:0;border-style:none}::-webkit-datetime-edit-fields-wrapper,::-webkit-datetime-edit-text,::-webkit-datetime-edit-minute,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-year-field{padding:0}::-webkit-inner-spin-button{height:auto}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-color-swatch-wrapper{padding:0}::file-selector-button{font:inherit;-webkit-appearance:button}.shadow{box-shadow:0px 4px 8px 2px rgba(0, 0, 0, 0.15), 0px 1px 2px 0px rgba(0, 0, 0, 0.3) !important}:root,:host{--now-h1-font-size:2.25rem;--now-h1-line-height:2.75rem;--now-h1-font-weight:800;--now-h1-margin-top:0;--now-h1-margin-bottom:0}@media (min-width: 992px){:root,:host{--now-h1-font-size:3rem;--now-h1-line-height:3.75rem}}:root,:host{--now-h2-font-size:2rem;--now-h2-line-height:2.5rem;--now-h2-font-weight:700;--now-h2-margin-top:4.5rem;--now-h2-margin-bottom:1.5rem}@media (min-width: 992px){:root,:host{--now-h2-font-size:2.5rem;--now-h2-line-height:3rem}}:root,:host{--now-h3-font-size:1.75rem;--now-h3-line-height:2.25rem;--now-h3-font-weight:700;--now-h3-margin-top:3rem;--now-h3-margin-bottom:1.5rem}@media (min-width: 992px){:root,:host{--now-h3-font-size:2rem;--now-h3-line-height:2.5rem}}:root,:host{--now-h4-font-size:1.5rem;--now-h4-line-height:1.75rem;--now-h4-font-weight:700;--now-h4-margin-top:2.5rem;--now-h4-margin-bottom:1.5rem}@media (min-width: 992px){:root,:host{--now-h4-font-size:1.75rem;--now-h4-line-height:2.25rem}}:root,:host{--now-h5-font-size:1.25rem;--now-h5-line-height:1.5rem;--now-h5-font-weight:700;--now-h5-margin-top:2rem;--now-h5-margin-bottom:1.5rem}@media (min-width: 992px){:root,:host{--now-h5-font-size:1.5rem;--now-h5-line-height:1.75rem}}:root,:host{--now-h6-font-size:1.125rem;--now-h6-line-height:1.5rem;--now-h6-font-weight:700;--now-h6-margin-top:1.5rem;--now-h6-margin-bottom:1.5rem}@media (min-width: 992px){:root,:host{--now-h6-font-size:1.25rem;--now-h6-line-height:1.5rem}}:root,:host{--now-h1-subtitle-font-size:1.5rem;--now-h1-subtitle-line-height:2.25rem;--now-h1-subtitle-font-weight:200}@media (min-width: 992px){:root,:host{--now-h1-subtitle-font-size:1.75rem;--now-h1-subtitle-line-height:2.5rem}}:root,:host{--now-body-default-font-size:1rem;--now-body-default-line-height:1.5rem;--now-body-default-font-weight:400}@media (min-width: 992px){:root,:host{--now-body-default-font-size:1rem;--now-body-default-line-height:1.5rem}}:root,:host{--now-body-semibold-font-size:1rem;--now-body-semibold-line-height:1.5rem;--now-body-semibold-font-weight:600}@media (min-width: 992px){:root,:host{--now-body-semibold-font-size:1rem;--now-body-semibold-line-height:1.5rem}}:root,:host{--now-body-bold-font-size:1rem;--now-body-bold-line-height:1.5rem;--now-body-bold-font-weight:700}@media (min-width: 992px){:root,:host{--now-body-bold-font-size:1rem;--now-body-bold-line-height:1.5rem}}:root,:host{--now-body-large-font-size:1rem;--now-body-large-line-height:1.5rem;--now-body-large-font-weight:400}@media (min-width: 992px){:root,:host{--now-body-large-font-size:1.25rem;--now-body-large-line-height:2.25rem}}:root,:host{--now-body-large-bold-font-size:1rem;--now-body-large-bold-line-height:1.5rem;--now-body-large-bold-font-weight:700}@media (min-width: 992px){:root,:host{--now-body-large-bold-font-size:1.25rem;--now-body-large-bold-line-height:2.25rem}}:root,:host{--now-body-large-light-font-size:1rem;--now-body-large-light-line-height:1.5rem;--now-body-large-light-font-weight:300}@media (min-width: 992px){:root,:host{--now-body-large-light-font-size:1.25rem;--now-body-large-light-line-height:2.25rem}}:root,:host{--now-caption-default-font-size:0.875rem;--now-caption-default-line-height:1rem;--now-caption-default-font-weight:400}@media (min-width: 992px){:root,:host{--now-caption-default-font-size:0.875rem;--now-caption-default-line-height:1rem}}:root,:host{--now-caption-bold-font-size:0.875rem;--now-caption-bold-line-height:1rem;--now-caption-bold-font-weight:700}@media (min-width: 992px){:root,:host{--now-caption-bold-font-size:0.875rem;--now-caption-bold-line-height:1rem}}:root,:host{--now-label-default-font-size:1rem;--now-label-default-line-height:1.25rem;--now-label-default-font-weight:400}@media (min-width: 992px){:root,:host{--now-label-default-font-size:1rem;--now-label-default-line-height:1.25rem}}:root,:host{--now-label-medium-font-size:1rem;--now-label-medium-line-height:1.25rem;--now-label-medium-font-weight:500}@media (min-width: 992px){:root,:host{--now-label-medium-font-size:1rem;--now-label-medium-line-height:1.25rem}}:root,:host{--now-label-medium-large-font-size:1rem;--now-label-medium-large-line-height:1.25rem;--now-label-medium-large-font-weight:500}@media (min-width: 992px){:root,:host{--now-label-medium-large-font-size:1.25rem;--now-label-medium-large-line-height:1.75rem}}:root,:host{--now-label-bold-font-size:1rem;--now-label-bold-line-height:1.25rem;--now-label-bold-font-weight:700}@media (min-width: 992px){:root,:host{--now-label-bold-font-size:1rem;--now-label-bold-line-height:1.25rem}}:root,:host{--now-label-bold-large-font-size:1.25rem;--now-label-bold-large-line-height:1.75rem;--now-label-bold-large-font-weight:700}@media (min-width: 992px){:root,:host{--now-label-bold-large-font-size:1.25rem;--now-label-bold-large-line-height:1.75rem}}:root,:host{--now-label-extra-bold-font-size:1rem;--now-label-extra-bold-line-height:1.25rem;--now-label-extra-bold-font-weight:800}@media (min-width: 992px){:root,:host{--now-label-extra-bold-font-size:1rem;--now-label-extra-bold-line-height:1.25rem}}:root,:host{--now-label-light-font-size:1rem;--now-label-light-line-height:1.25rem;--now-label-light-font-weight:300}@media (min-width: 992px){:root,:host{--now-label-light-font-size:1rem;--now-label-light-line-height:1.25rem}}:root,:host{--now-label-extra-bold-large-font-size:1.25rem;--now-label-extra-bold-large-line-height:1.75rem;--now-label-extra-bold-large-font-weight:800}@media (min-width: 992px){:root,:host{--now-label-extra-bold-large-font-size:1.25rem;--now-label-extra-bold-large-line-height:1.75rem}}:root,:host{--now-footnote-font-size:0.75rem;--now-footnote-line-height:1rem;--now-footnote-font-weight:400}@media (min-width: 992px){:root,:host{--now-footnote-font-size:0.75rem;--now-footnote-line-height:1rem}}:not(.now-keyboard-mode) :focus{outline:none}.now-keyboard-mode :not(now-header,now-footer,now-feedback,now-typeahead,now-cookie-disclaimer,now-favorit-toggle,now-wegweiser-float):focus,.now-keyboard-mode .now-focused{outline:2px solid transparent;box-shadow:0 0 0 2px #EEF1F4, 0 0 0 4px #004D71}.dw-icon-globe-fill::before{height:1em;aspect-ratio:1;content:\\\"\\\";mask-position:center;mask-size:1em;mask-repeat:no-repeat;background-color:currentcolor;mask-image:url(\\\"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMiIgaGVpZ2h0PSIzMiIgZmlsbD0iIzAwMDAwMCIgdmlld0JveD0iMCAwIDI1NiAyNTYiPjxwYXRoIGQ9Ik0xMjgsMjRoMEExMDQsMTA0LDAsMSwwLDIzMiwxMjgsMTA0LjEyLDEwNC4xMiwwLDAsMCwxMjgsMjRabTc4LjM2LDY0SDE3MC43MWExMzUuMjgsMTM1LjI4LDAsMCwwLTIyLjMtNDUuNkE4OC4yOSw4OC4yOSwwLDAsMSwyMDYuMzcsODhaTTIxNiwxMjhhODcuNjEsODcuNjEsMCwwLDEtMy4zMywyNEgxNzQuMTZhMTU3LjQ0LDE1Ny40NCwwLDAsMCwwLTQ4aDM4LjUxQTg3LjYxLDg3LjYxLDAsMCwxLDIxNiwxMjhaTTEyOCw0M2ExMTUuMjcsMTE1LjI3LDAsMCwxLDI2LDQ1SDEwMkExMTUuMTEsMTE1LjExLDAsMCwxLDEyOCw0M1pNMTAyLDE2OEgxNTRhMTE1LjExLDExNS4xMSwwLDAsMS0yNiw0NUExMTUuMjcsMTE1LjI3LDAsMCwxLDEwMiwxNjhabS0zLjktMTZhMTQwLjg0LDE0MC44NCwwLDAsMSwwLTQ4aDU5Ljg4YTE0MC44NCwxNDAuODQsMCwwLDEsMCw0OFptNTAuMzUsNjEuNmExMzUuMjgsMTM1LjI4LDAsMCwwLDIyLjMtNDUuNmgzNS42NkE4OC4yOSw4OC4yOSwwLDAsMSwxNDguNDEsMjEzLjZaIj48L3BhdGg+PC9zdmc+\\\")}@media (-ms-high-contrast: active), (forced-colors: active), (prefers-contrast: more){.dw-icon-globe-fill::before{background-color:CanvasText !important}}.dw-icon-easy-read-fill::before{height:1em;aspect-ratio:1;content:\\\"\\\";mask-position:center;mask-size:1em;mask-repeat:no-repeat;background-color:currentcolor;mask-image:url(\\\"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMiIgaGVpZ2h0PSIzMiIgZmlsbD0iIzAwMDAwMCIgdmlld0JveD0iMCAwIDI1NiAyNTYiPjxwYXRoIGQ9Ik0yNDAsODBWMjAwYTgsOCwwLDAsMS04LDhIMTYwYTI0LDI0LDAsMCwwLTI0LDIzLjk0LDcuOSw3LjksMCwwLDEtNS4xMiw3LjU1QTgsOCwwLDAsMSwxMjAsMjMyYTI0LDI0LDAsMCwwLTI0LTI0SDI0YTgsOCwwLDAsMS04LThWODBhOCw4LDAsMCwxLDgtOEg4OGEzMiwzMiwwLDAsMSwzMiwzMnY2My43M2E4LjE3LDguMTcsMCwwLDAsNy40Nyw4LjI1LDgsOCwwLDAsMCw4LjUzLThWMTA0YTMyLDMyLDAsMCwxLDMyLTMyaDY0QTgsOCwwLDAsMSwyNDAsODBaTTg4LjgxLDU2SDg5YTQ3LjkyLDQ3LjkyLDAsMCwxLDM2LDE3LjQsNCw0LDAsMCwwLDYuMDgsMEE0Ny45Miw0Ny45MiwwLDAsMSwxNjcsNTZoLjE5YTQsNCwwLDAsMCwzLjU0LTUuODQsNDgsNDgsMCwwLDAtODUuNDYsMEE0LDQsMCwwLDAsODguODEsNTZaIj48L3BhdGg+PC9zdmc+\\\")}@media (-ms-high-contrast: active), (forced-colors: active), (prefers-contrast: more){.dw-icon-easy-read-fill::before{background-color:CanvasText !important}}.dw-icon-hand-fill::before{height:1em;aspect-ratio:1;content:\\\"\\\";mask-position:center;mask-size:1em;mask-repeat:no-repeat;background-color:currentcolor;mask-image:url(\\\"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMiIgaGVpZ2h0PSIzMiIgZmlsbD0iIzAwMDAwMCIgdmlld0JveD0iMCAwIDI1NiAyNTYiPjxwYXRoIGQ9Ik0yMTYsNjR2OTAuOTNjMCw0Ni4yLTM2Ljg1LDg0LjU1LTgzLDg1LjA2QTgzLjcxLDgzLjcxLDAsMCwxLDcyLjYsMjE1LjRDNTAuNzksMTkyLjMzLDI2LjE1LDEzNiwyNi4xNSwxMzZhMTYsMTYsMCwwLDEsNi41My0yMi4yM2M3LjY2LTQsMTcuMS0uODQsMjEuNCw2LjYybDIxLDM2LjQ0YTYuMDksNi4wOSwwLDAsMCw2LDMuMDlsLjEyLDBBOC4xOSw4LjE5LDAsMCwwLDg4LDE1MS43NFY0OGExNiwxNiwwLDAsMSwxNi43Ny0xNmM4LjYxLjQsMTUuMjMsNy44MiwxNS4yMywxNi40M1YxMTJhOCw4LDAsMCwwLDguNTMsOCw4LjE3LDguMTcsMCwwLDAsNy40Ny04LjI1VjMyYTE2LDE2LDAsMCwxLDE2Ljc3LTE2YzguNjEuNCwxNS4yMyw3LjgyLDE1LjIzLDE2LjQzVjEyMGE4LDgsMCwwLDAsOC41Myw4LDguMTcsOC4xNywwLDAsMCw3LjQ3LTguMjVWNjQuNDVjMC04LjYxLDYuNjItMTYsMTUuMjMtMTYuNDNBMTYsMTYsMCwwLDEsMjE2LDY0WiI+PC9wYXRoPjwvc3ZnPg==\\\")}@media (-ms-high-contrast: active), (forced-colors: active), (prefers-contrast: more){.dw-icon-hand-fill::before{background-color:CanvasText !important}}.dw-icon-person-arms-spread::before{height:1em;aspect-ratio:1;content:\\\"\\\";mask-position:center;mask-size:1em;mask-repeat:no-repeat;background-color:currentcolor;mask-image:url(\\\"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMiIgaGVpZ2h0PSIzMiIgZmlsbD0iIzAwMDAwMCIgdmlld0JveD0iMCAwIDI1NiAyNTYiPjxwYXRoIGQ9Ik0xNjAsNDBhMzIsMzIsMCwxLDAtMzIsMzJBMzIsMzIsMCwwLDAsMTYwLDQwWk0xMjgsNTZhMTYsMTYsMCwxLDEsMTYtMTZBMTYsMTYsMCwwLDEsMTI4LDU2Wk0yMzEuNSw4Ny43MUExOS42MiwxOS42MiwwLDAsMCwyMTIsNzJINDRhMjAsMjAsMCwwLDAtOC4zOCwzOC4xNmwuMTMsMCw1MC43NSwyMi4zNS0yMSw3OS43MkEyMCwyMCwwLDAsMCwxMDIsMjI4LjhsMjYtNDQuODcsMjYsNDQuODdhMjAsMjAsMCwwLDAsMzYuNC0xNi41MmwtMjEtNzkuNzIsNTAuNzUtMjIuMzUuMTMsMEExOS42NCwxOS42NCwwLDAsMCwyMzEuNSw4Ny43MVptLTE3LjgsNy45LTU2LjkzLDI1LjA2YTgsOCwwLDAsMC00LjUxLDkuMzZMMTc1LjEzLDIxN2E3LDcsMCwwLDAsLjQ5LDEuMzUsNCw0LDAsMCwxLTUsNS40NSw0LDQsMCwwLDEtMi4yNS0yLjA3LDYuMzEsNi4zMSwwLDAsMC0uMzQtLjYzTDEzNC45MiwxNjRhOCw4LDAsMCwwLTEzLjg0LDBMODgsMjIxLjA1YTYuMzEsNi4zMSwwLDAsMC0uMzQuNjMsNCw0LDAsMCwxLTIuMjUsMi4wNyw0LDQsMCwwLDEtNS01LjQ1LDcsNywwLDAsMCwuNDktMS4zNUwxMDMuNzQsMTMwYTgsOCwwLDAsMC00LjUxLTkuMzZMNDIuMyw5NS42MUE0LDQsMCwwLDEsNDQsODhIMjEyYTQsNCwwLDAsMSwxLjczLDcuNjFaIj48L3BhdGg+PC9zdmc+\\\")}@media (-ms-high-contrast: active), (forced-colors: active), (prefers-contrast: more){.dw-icon-person-arms-spread::before{background-color:CanvasText !important}}.dw-icon-list::before{height:1em;aspect-ratio:1;content:\\\"\\\";mask-position:center;mask-size:1em;mask-repeat:no-repeat;background-color:currentcolor;mask-image:url(\\\"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMiIgaGVpZ2h0PSIzMiIgZmlsbD0iIzAwMDAwMCIgdmlld0JveD0iMCAwIDI1NiAyNTYiPjxwYXRoIGQ9Ik0yMjQsMTI4YTgsOCwwLDAsMS04LDhINDBhOCw4LDAsMCwxLDAtMTZIMjE2QTgsOCwwLDAsMSwyMjQsMTI4Wk00MCw3MkgyMTZhOCw4LDAsMCwwLDAtMTZINDBhOCw4LDAsMCwwLDAsMTZaTTIxNiwxODRINDBhOCw4LDAsMCwwLDAsMTZIMjE2YTgsOCwwLDAsMCwwLTE2WiI+PC9wYXRoPjwvc3ZnPg==\\\")}@media (-ms-high-contrast: active), (forced-colors: active), (prefers-contrast: more){.dw-icon-list::before{background-color:CanvasText !important}}\";\nconst NowFallbackHeader$1 = /*@__PURE__*/proxyCustomElement(class extends HTMLElement {\n constructor() {\n super();\n this.__registerHost();\n this.basePath = undefined;\n this.wide = false;\n }\n get cleanBasePath() {\n // Remove ending slash\n return this.basePath.replace(/\\/$/, '');\n }\n // ignore icons used in the header\n // purge-css-from-tsx-exception dw-icon\n // purge-css-from-tsx-exception dw-icon-easy-read-fill\n // purge-css-from-tsx-exception dw-icon-hand-fill\n // purge-css-from-tsx-exception dw-icon-globe-fill\n // purge-css-from-tsx-exception dw-icon-list\n // purge-css-from-tsx-exception dw-icon-person-arms-spread\n render() {\n return h(Header, {\n config: {\n linkStartseite: `${this.cleanBasePath}/`,\n linkLeichteSprache: `${this.cleanBasePath}/leichte-sprache`,\n linkGebaerdensprache: `${this.cleanBasePath}/gebaerdensprache`,\n linkEnglischeSprache: `${this.cleanBasePath}/en`,\n linkPerspektiven: {\n privatpersonen: `${this.cleanBasePath}/privatpersonen/berufe`,\n unternehmen: `${this.cleanBasePath}/unternehmen/branchentrends`\n },\n linkOnlineTests: {\n privatpersonen: `${this.cleanBasePath}/privatpersonen/online-tests`,\n unternehmen: `${this.cleanBasePath}/unternehmen/online-tests`\n },\n linkWeiterbildungen: {\n privatpersonen: `${this.cleanBasePath}/privatpersonen/weiterbildungen`,\n unternehmen: `${this.cleanBasePath}/unternehmen/weiterbildungen`\n },\n linkFoerderung: {\n privatpersonen: `${this.cleanBasePath}/privatpersonen/foerderungen`,\n unternehmen: `${this.cleanBasePath}/unternehmen/foerderungen`\n },\n linkBeratung: {\n privatpersonen: `${this.cleanBasePath}/privatpersonen/beratung`,\n unternehmen: `${this.cleanBasePath}/unternehmen/beratung`\n }\n },\n targetGroup: \"privatpersonen\",\n logoSrc: NOW_LOGO,\n wide: this.wide\n });\n }\n static get style() {\n return nowFallbackHeaderCss;\n }\n}, [0, \"now-fallback-header\", {\n \"basePath\": [1, \"base-path\"],\n \"wide\": [4]\n}]);\nfunction defineCustomElement$1() {\n if (typeof customElements === \"undefined\") {\n return;\n }\n const components = [\"now-fallback-header\", \"now-internal-flyout\"];\n components.forEach(tagName => {\n switch (tagName) {\n case \"now-fallback-header\":\n if (!customElements.get(tagName)) {\n customElements.define(tagName, NowFallbackHeader$1);\n }\n break;\n case \"now-internal-flyout\":\n if (!customElements.get(tagName)) {\n defineCustomElement$2();\n }\n break;\n }\n });\n}\nconst NowFallbackHeader = NowFallbackHeader$1;\nconst defineCustomElement = defineCustomElement$1;\nexport { NowFallbackHeader, defineCustomElement };\n\n","import { CUSTOM_ELEMENTS_SCHEMA, Component, inject } from '@angular/core';\n\nimport { defineCustomElement as defineFallbackHeader } from '@now/dpl-webcomponents/dist/components/now-fallback-header';\nimport { LIB_CONFIG } from '../../../lib.config';\n\ndefineFallbackHeader();\n\n@Component({\n selector: 'now-wbsuche-lib-header',\n templateUrl: './header.component.html',\n styleUrls: ['./header.component.scss'],\n schemas: [CUSTOM_ELEMENTS_SCHEMA]\n})\nexport class HeaderComponent {\n public nowPortalBasePath = inject(LIB_CONFIG).nowPortalBasePath;\n}\n","\n\n","import { h } from '@stencil/core/internal/client';\nimport { c as clsx } from './clsx.m.js';\nimport { t } from './i18n.js';\n\n// Original-Datei: /assets/images/ba-logo.svg\nconst BA_LOGO = 'data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4NCjxzdmcgaWQ9IkxvZ28iIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgdmlld0JveD0iMCAwIDMyMS4zNiA2Mi43NCI+DQogIDxkZWZzPg0KICAgIDxzdHlsZT4NCiAgICAgIC5j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sbD0iIzQzNDc0QiIvPgo8L3N2Zz4K';\nconst Footer = ({\n config: {\n linkImpressum,\n linkRechtlicheHinweise,\n linkDatenschutz,\n linkBarrierefreiheit,\n linkUeberUns,\n linkSupportUndFeedback,\n linkFaq\n },\n waveSrc,\n logoSrc,\n wide,\n ref\n}) => {\n const links = [{\n id: 'impressum',\n label: t({\n id: 'footer.imprint'\n }),\n url: linkImpressum,\n target: '_self'\n }, {\n id: 'rechtliche-hinweise',\n label: t({\n id: 'footer.legal_notices'\n }),\n url: linkRechtlicheHinweise,\n target: '_self'\n }, {\n id: 'datenschutz',\n label: t({\n id: 'footer.data_protection'\n }),\n url: linkDatenschutz,\n target: '_self'\n }, {\n id: 'barrierefreiheit',\n label: t({\n id: 'footer.accessibility_declaration'\n }),\n url: linkBarrierefreiheit,\n target: '_self'\n }, {\n id: 'ueber-uns',\n label: t({\n id: 'footer.about_us'\n }),\n url: linkUeberUns,\n target: '_self'\n }, {\n id: 'support-und-feedback',\n label: t({\n id: 'footer.support_and_feedback'\n }),\n url: linkSupportUndFeedback,\n target: '_self'\n }, {\n id: 'faq',\n label: t({\n id: 'footer.faq'\n }),\n url: linkFaq,\n target: '_self'\n }];\n return h(\"footer\", {\n class: clsx('now-footer-wrap', {\n 'now-footer-wide': wide,\n initializing: ref\n }),\n ref: ref\n }, h(\"img\", {\n src: waveSrc,\n class: \"now-footer-wave\",\n alt: \"\",\n \"aria-hidden\": \"true\"\n }), h(\"div\", {\n class: \"now-footer-background\"\n }, h(\"div\", {\n class: \"now-footer-content container-fluid\"\n }, h(\"p\", {\n class: \"now-label-extra-bold now-copyright\"\n }, \"\\u00A9 \", t({\n id: 'footer.copyright'\n })), h(\"nav\", {\n \"aria-label\": t({\n id: 'footer.navigation_label'\n })\n }, h(\"ul\", {\n class: \"now-anchors-group\"\n }, links.map(({\n id,\n label,\n url,\n target\n }) => h(\"li\", {\n key: id\n }, h(\"a\", {\n class: \"now-link-on-dark\",\n target: target,\n href: url,\n rel: \"noopener\"\n }, label))))), h(\"div\", {\n class: \"now-ba-notice\"\n }, h(\"p\", {\n class: \"now-footnote\"\n }, t({\n id: 'footer.ba_notice.footnote'\n })), h(\"a\", {\n href: \"https://www.arbeitsagentur.de\",\n target: \"_blank\",\n \"aria-label\": t({\n id: 'footer.ba_notice.link_aria_label'\n })\n }, h(\"img\", {\n src: logoSrc,\n alt: t({\n id: 'footer.ba_notice.logo_alt_text'\n })\n }))))));\n};\nexport { BA_LOGO as B, Footer as F, WAVE as W };\n\n","import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';\nimport { F as Footer, W as WAVE, B as BA_LOGO } from './footer.js';\nconst NowFallbackFooter$1 = /*@__PURE__*/proxyCustomElement(class extends HTMLElement {\n constructor() {\n super();\n this.__registerHost();\n this.basePath = undefined;\n this.wide = false;\n }\n get cleanBasePath() {\n // Remove ending slash\n return this.basePath.replace(/\\/$/, '');\n }\n render() {\n return h(Footer, {\n config: {\n linkImpressum: `${this.cleanBasePath}/impressum`,\n linkRechtlicheHinweise: `${this.cleanBasePath}/rechtliche-hinweise`,\n linkDatenschutz: `${this.cleanBasePath}/datenschutz`,\n linkBarrierefreiheit: `${this.cleanBasePath}/barrierefreiheit`,\n linkUeberUns: `${this.cleanBasePath}/ueber-uns`,\n linkSupportUndFeedback: `${this.cleanBasePath}/support-und-feedback`,\n linkFaq: `${this.cleanBasePath}/faq`\n },\n waveSrc: WAVE,\n logoSrc: BA_LOGO,\n wide: this.wide\n });\n }\n}, [0, \"now-fallback-footer\", {\n \"basePath\": [1, \"base-path\"],\n \"wide\": [4]\n}]);\nfunction defineCustomElement$1() {\n if (typeof customElements === \"undefined\") {\n return;\n }\n const components = [\"now-fallback-footer\"];\n components.forEach(tagName => {\n switch (tagName) {\n case \"now-fallback-footer\":\n if (!customElements.get(tagName)) {\n customElements.define(tagName, NowFallbackFooter$1);\n }\n break;\n }\n });\n}\nconst NowFallbackFooter = NowFallbackFooter$1;\nconst defineCustomElement = defineCustomElement$1;\nexport { NowFallbackFooter, defineCustomElement };\n\n","import { CUSTOM_ELEMENTS_SCHEMA, Component, inject } from '@angular/core';\nimport { defineCustomElement as defineFallbackFooter } from '@now/dpl-webcomponents/dist/components/now-fallback-footer';\nimport { LIB_CONFIG } from '../../../lib.config';\n\ndefineFallbackFooter();\n\n@Component({\n selector: 'now-wbsuche-lib-footer',\n templateUrl: './footer.component.html',\n schemas: [CUSTOM_ELEMENTS_SCHEMA]\n})\nexport class FooterComponent {\n public nowPortalBasePath = inject(LIB_CONFIG).nowPortalBasePath;\n}\n","\n\n","import { Component, ViewEncapsulation } from '@angular/core';\nimport { HeaderComponent } from './header/header.component';\nimport { FooterComponent } from './footer/footer.component';\n\n@Component({\n selector: 'now-wbsuche-lib-main-layout',\n templateUrl: './main-layout.component.html',\n styleUrls: ['./main-layout.component.scss', './global-print-styles.scss'],\n encapsulation: ViewEncapsulation.None,\n imports: [HeaderComponent, FooterComponent]\n})\nexport class MainLayoutComponent {\n /**\n * Sprunglink zur Verbesserung der Barrierefreiheit.\n */\n goTo(location: string): void {\n // Zurücksetzen der Location, da sonst bei der Einsprung nur einmal ausgeführt werden kann.\n window.location.hash = '';\n window.location.hash = location;\n }\n}\n","\n\n
\n \n
\n\n","import { CommonModule } from '@angular/common';\nimport { Component } from '@angular/core';\nimport { ScreenSizeService, ViewMode } from '../../services/screen-size/screen-size.service';\nimport { BreadcrumbComponent } from '../breadcrumb/breadcrumb.component';\n\n@Component({\n selector: 'now-wbsuche-lib-responsive-context-info-header',\n templateUrl: './responsive-context-info-header.component.html',\n styleUrls: ['./responsive-context-info-header.component.scss'],\n imports: [CommonModule, BreadcrumbComponent]\n})\nexport class ResponsiveContextInfoHeaderComponent {\n public title = 'Ihre Weiterbildungssuche \\n mit passenden Angeboten';\n public subtitle =\n 'Entdecken Sie Ihre Weiterbildungsmöglichkeiten mithilfe unserer umfassenden Suche.';\n public smallDisplayAlternativeText = 'Die Weiterbildungssuche mit passenden Angeboten';\n\n constructor(private screenSizeService: ScreenSizeService) {}\n\n public isDesktop$ = this.screenSizeService.onlyLargeDesktop$;\n\n public isDesktopOrBigger$ = this.screenSizeService.rangeFrom$(ViewMode.DESKTOP);\n public isPhabletOrSmaller = this.screenSizeService.rangeTo$(ViewMode.PHABLET);\n public isTabletOrBigger$ = this.screenSizeService.rangeFrom$(ViewMode.TABLET);\n public isPhabletOrBigger$ = this.screenSizeService.rangeFrom$(ViewMode.PHABLET);\n}\n","
\n \n
\n
\n

\n {{ (isDesktopOrBigger$ | async) ? '„mein NOW“ – ' : ''\n }}{{ (isTabletOrBigger$ | async) ? title : smallDisplayAlternativeText }}\n

\n

Weiterbildungssuche

\n

\n {{ subtitle }}\n

\n
\n
\n
\n","/*\n * Komponentenweite Textkonstanten.\n */\nexport const Messages = Object.freeze({\n WEITERBILDUNG_EINGABEFELD_LABEL: 'Sucheingabe Weiterbildungsangebote',\n WEITERBILDUNG_EINGABEFELD_INFO: 'Suchbegriff oder Weiterbildung',\n\n ORT_EINGABEPARAMETER_FEHLERHAFT: 'Geben Sie eine gültige Ortsbezeichnung oder PLZ ein',\n ORT_EINGABEPARAMETER_PLZ: 'Bitte geben Sie eine 5-stellige PLZ an',\n ORT_EINGABEFELD_INFO: 'Wo? (Bundesland, Ort oder PLZ)',\n\n GEWAEHLTER_BILDUNGSZIEL: 'Gewähltes Weiterbildungsziel',\n GEWAEHLTE_BILDUNGSZIELE: 'Gewählte Weiterbildungsziele',\n\n GEWAEHLTER_WEITERBILDUNGSBEREICH: 'Gewählter Weiterbildungsbereich',\n GEWAEHLTE_WEITERBILDUNGSBEREICHE: 'Gewählte Weiterbildungsbereiche',\n\n UMKREIS_SUCHEINGABE_LABEL: 'Sucheingabe Ort',\n UMKREISAUSWAHL_LABEL: 'Umkreis',\n UMKREISAUSWAHL_TITLE: 'Zur Änderung Suchumkreis Ortseingabe erforderlich',\n\n SUCHTYP_LABEL: 'Auswahl Suchtyp',\n\n KEINE_ERGEBNISSE: 'keine Ergebnisse',\n ZEICHEN_WEITERE: '…',\n SORTIEREN_NACH: 'Sortieren nach:',\n ORT_EINGABE_MIN_LENGTH: (minLength: number) => `Bitte mindestens ${minLength} Zeichen eingeben`\n});\n","/**\n * @license Angular v19.0.6\n * (c) 2010-2024 Google LLC. https://angular.io/\n * License: MIT\n */\n\nimport * as i0 from '@angular/core';\nimport { Directive, InjectionToken, forwardRef, Optional, Inject, ɵisPromise, ɵisSubscribable, ɵRuntimeError, Self, untracked, computed, signal, EventEmitter, Input, Host, SkipSelf, booleanAttribute, ChangeDetectorRef, Output, Injectable, inject, NgModule, Version } from '@angular/core';\nimport { ɵgetDOM } from '@angular/common';\nimport { from, forkJoin, Subject } from 'rxjs';\nimport { map } from 'rxjs/operators';\n\n/**\n * Base class for all ControlValueAccessor classes defined in Forms package.\n * Contains common logic and utility functions.\n *\n * Note: this is an *internal-only* class and should not be extended or used directly in\n * applications code.\n */\nlet BaseControlValueAccessor = /*#__PURE__*/(() => {\n class BaseControlValueAccessor {\n _renderer;\n _elementRef;\n /**\n * The registered callback function called when a change or input event occurs on the input\n * element.\n * @nodoc\n */\n onChange = _ => {};\n /**\n * The registered callback function called when a blur event occurs on the input element.\n * @nodoc\n */\n onTouched = () => {};\n constructor(_renderer, _elementRef) {\n this._renderer = _renderer;\n this._elementRef = _elementRef;\n }\n /**\n * Helper method that sets a property on a target element using the current Renderer\n * implementation.\n * @nodoc\n */\n setProperty(key, value) {\n this._renderer.setProperty(this._elementRef.nativeElement, key, value);\n }\n /**\n * Registers a function called when the control is touched.\n * @nodoc\n */\n registerOnTouched(fn) {\n this.onTouched = fn;\n }\n /**\n * Registers a function called when the control value changes.\n * @nodoc\n */\n registerOnChange(fn) {\n this.onChange = fn;\n }\n /**\n * Sets the \"disabled\" property on the range input element.\n * @nodoc\n */\n setDisabledState(isDisabled) {\n this.setProperty('disabled', isDisabled);\n }\n static ɵfac = function BaseControlValueAccessor_Factory(__ngFactoryType__) {\n return new (__ngFactoryType__ || BaseControlValueAccessor)(i0.ɵɵdirectiveInject(i0.Renderer2), i0.ɵɵdirectiveInject(i0.ElementRef));\n };\n static ɵdir = /* @__PURE__ */i0.ɵɵdefineDirective({\n type: BaseControlValueAccessor\n });\n }\n return BaseControlValueAccessor;\n})();\n/*#__PURE__*/(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n/**\n * Base class for all built-in ControlValueAccessor classes (except DefaultValueAccessor, which is\n * used in case no other CVAs can be found). We use this class to distinguish between default CVA,\n * built-in CVAs and custom CVAs, so that Forms logic can recognize built-in CVAs and treat custom\n * ones with higher priority (when both built-in and custom CVAs are present).\n *\n * Note: this is an *internal-only* class and should not be extended or used directly in\n * applications code.\n */\nlet BuiltInControlValueAccessor = /*#__PURE__*/(() => {\n class BuiltInControlValueAccessor extends BaseControlValueAccessor {\n static ɵfac = /* @__PURE__ */(() => {\n let ɵBuiltInControlValueAccessor_BaseFactory;\n return function BuiltInControlValueAccessor_Factory(__ngFactoryType__) {\n return (ɵBuiltInControlValueAccessor_BaseFactory || (ɵBuiltInControlValueAccessor_BaseFactory = i0.ɵɵgetInheritedFactory(BuiltInControlValueAccessor)))(__ngFactoryType__ || BuiltInControlValueAccessor);\n };\n })();\n static ɵdir = /* @__PURE__ */i0.ɵɵdefineDirective({\n type: BuiltInControlValueAccessor,\n features: [i0.ɵɵInheritDefinitionFeature]\n });\n }\n return BuiltInControlValueAccessor;\n})();\n/*#__PURE__*/(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n/**\n * Used to provide a `ControlValueAccessor` for form controls.\n *\n * See `DefaultValueAccessor` for how to implement one.\n *\n * @publicApi\n */\nconst NG_VALUE_ACCESSOR = /*#__PURE__*/new InjectionToken(ngDevMode ? 'NgValueAccessor' : '');\nconst CHECKBOX_VALUE_ACCESSOR = {\n provide: NG_VALUE_ACCESSOR,\n useExisting: /*#__PURE__*/forwardRef(() => CheckboxControlValueAccessor),\n multi: true\n};\n/**\n * @description\n * A `ControlValueAccessor` for writing a value and listening to changes on a checkbox input\n * element.\n *\n * @usageNotes\n *\n * ### Using a checkbox with a reactive form.\n *\n * The following example shows how to use a checkbox with a reactive form.\n *\n * ```ts\n * const rememberLoginControl = new FormControl();\n * ```\n *\n * ```html\n * \n * ```\n *\n * @ngModule ReactiveFormsModule\n * @ngModule FormsModule\n * @publicApi\n */\nlet CheckboxControlValueAccessor = /*#__PURE__*/(() => {\n class CheckboxControlValueAccessor extends BuiltInControlValueAccessor {\n /**\n * Sets the \"checked\" property on the input element.\n * @nodoc\n */\n writeValue(value) {\n this.setProperty('checked', value);\n }\n static ɵfac = /* @__PURE__ */(() => {\n let ɵCheckboxControlValueAccessor_BaseFactory;\n return function CheckboxControlValueAccessor_Factory(__ngFactoryType__) {\n return (ɵCheckboxControlValueAccessor_BaseFactory || (ɵCheckboxControlValueAccessor_BaseFactory = i0.ɵɵgetInheritedFactory(CheckboxControlValueAccessor)))(__ngFactoryType__ || CheckboxControlValueAccessor);\n };\n })();\n static ɵdir = /* @__PURE__ */i0.ɵɵdefineDirective({\n type: CheckboxControlValueAccessor,\n selectors: [[\"input\", \"type\", \"checkbox\", \"formControlName\", \"\"], [\"input\", \"type\", \"checkbox\", \"formControl\", \"\"], [\"input\", \"type\", \"checkbox\", \"ngModel\", \"\"]],\n hostBindings: function CheckboxControlValueAccessor_HostBindings(rf, ctx) {\n if (rf & 1) {\n i0.ɵɵlistener(\"change\", function CheckboxControlValueAccessor_change_HostBindingHandler($event) {\n return ctx.onChange($event.target.checked);\n })(\"blur\", function CheckboxControlValueAccessor_blur_HostBindingHandler() {\n return ctx.onTouched();\n });\n }\n },\n standalone: false,\n features: [i0.ɵɵProvidersFeature([CHECKBOX_VALUE_ACCESSOR]), i0.ɵɵInheritDefinitionFeature]\n });\n }\n return CheckboxControlValueAccessor;\n})();\n/*#__PURE__*/(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\nconst DEFAULT_VALUE_ACCESSOR = {\n provide: NG_VALUE_ACCESSOR,\n useExisting: /*#__PURE__*/forwardRef(() => DefaultValueAccessor),\n multi: true\n};\n/**\n * We must check whether the agent is Android because composition events\n * behave differently between iOS and Android.\n */\nfunction _isAndroid() {\n const userAgent = ɵgetDOM() ? ɵgetDOM().getUserAgent() : '';\n return /android (\\d+)/.test(userAgent.toLowerCase());\n}\n/**\n * @description\n * Provide this token to control if form directives buffer IME input until\n * the \"compositionend\" event occurs.\n * @publicApi\n */\nconst COMPOSITION_BUFFER_MODE = /*#__PURE__*/new InjectionToken(ngDevMode ? 'CompositionEventMode' : '');\n/**\n * The default `ControlValueAccessor` for writing a value and listening to changes on input\n * elements. The accessor is used by the `FormControlDirective`, `FormControlName`, and\n * `NgModel` directives.\n *\n *\n * @usageNotes\n *\n * ### Using the default value accessor\n *\n * The following example shows how to use an input element that activates the default value accessor\n * (in this case, a text field).\n *\n * ```ts\n * const firstNameControl = new FormControl();\n * ```\n *\n * ```html\n * \n * ```\n *\n * This value accessor is used by default for `` and `