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AW,aAAa,cAAc;CAC3D,OAAO,aAAa,eAAe;AACpC;AACA,SAAS,2BAA2B,IAAI,eAAe;CACtD,IAAI,kBAAkB,YAAY,kBAAkB,UAAU,OAAO;CACrE,MAAM,cAAc,kBAAkB,WAAW,oBAAoB;CACrE,IAAI,YAAY,EAAE,KAAK,CAAC,GAAG,WAAW,MAAM,GAAG,OAAO;CACtD,OAAO,YAAY,IAAI,IAAI;AAC5B","names":[],"sources":["../../../../../site1/node_modules/nuxt/dist/app/components/nuxt-link.js"],"sourcesContent":["import { useNuxtApp, useRuntimeConfig } from \"../nuxt.js\";\nimport { isAbsoluteHref, isRootedPath, sanitizeAnchorHref } from \"../utils.js\";\nimport { navigationDiagnostics } from \"../diagnostics/navigation.js\";\nimport { encodeRoutePath, navigateTo, resolveRouteObject, useRouter } from \"../composables/router.js\";\nimport { renderDiagnostics } from \"../diagnostics/render.js\";\nimport { cancelIdleCallback, requestIdleCallback } from \"../compat/idle-callback.js\";\nimport { onNuxtReady } from \"../composables/ready.js\";\nimport { canPrefetch, prefetchGroup } from \"../internal/prefetch-util.js\";\nimport { prefetchRouteComponents } from \"../composables/preload.js\";\nimport { computed, defineComponent, h, inject, onBeforeUnmount, onMounted, provide, ref, resolveComponent, shallowRef, unref } from \"vue\";\nimport { componentIslands, nuxtLinkDefaults } from \"#build/nuxt.config.mjs\";\nimport { hasProtocol, joinURL, parseQuery, withTrailingSlash, withoutTrailingSlash } from \"ufo\";\nimport { hashMode } from \"#build/router.options.mjs\";\n//#region src/app/components/nuxt-link.ts\nconst firstNonUndefined = (...args) => args.find((arg) => arg !== void 0);\nconst NuxtLinkDevKeySymbol = Symbol(\"nuxt-link-dev-key\");\n/* @__NO_SIDE_EFFECTS__ */\nfunction defineNuxtLink(options) {\n\tconst componentName = options.componentName || \"NuxtLink\";\n\tfunction checkPropConflicts(props, main, sub) {\n\t\tif (false && props[main] !== void 0 && props[sub] !== void 0) renderDiagnostics.NUXT_E4010({\n\t\t\tcomponentName,\n\t\t\tmain,\n\t\t\tsub\n\t\t});\n\t}\n\tfunction isHashLinkWithoutHashMode(link) {\n\t\treturn !hashMode && typeof link === \"string\" && link.startsWith(\"#\");\n\t}\n\tfunction resolveTrailingSlashBehavior(to, resolve, trailingSlash) {\n\t\tconst effectiveTrailingSlash = trailingSlash ?? options.trailingSlash;\n\t\tif (!to || effectiveTrailingSlash !== \"append\" && effectiveTrailingSlash !== \"remove\") return to;\n\t\tif (typeof to === \"string\") return applyTrailingSlashBehavior(to, effectiveTrailingSlash);\n\t\tconst path = \"path\" in to && to.path !== void 0 ? to.path : resolve(to).path;\n\t\treturn {\n\t\t\t...to,\n\t\t\tname: void 0,\n\t\t\tpath: applyTrailingSlashBehavior(path, effectiveTrailingSlash)\n\t\t};\n\t}\n\t/**\n\t* The link state `<NuxtLink>` renders with. Kept separate from `useNuxtLink` so the component\n\t* does not resolve the `<RouterLink>` link state backing `route`/`isActive`/`isExactActive`,\n\t* which it never reads.\n\t*/\n\tfunction useLinkTarget(props) {\n\t\tconst router = useRouter();\n\t\tconst config = /* @__PURE__ */ useRuntimeConfig();\n\t\tconst rootedHref = router.options?.history?.createHref ?? ((path) => joinURL(config.app.baseURL, path));\n\t\tconst hasTarget = computed(() => !!unref(props.target) && unref(props.target) !== \"_self\");\n\t\tconst isAbsoluteUrl = computed(() => {\n\t\t\tconst path = unref(props.to) || unref(props.href) || \"\";\n\t\t\treturn typeof path === \"string\" && isAbsoluteHref(path);\n\t\t});\n\t\tconst isExternal = computed(() => {\n\t\t\tif (unref(props.external)) return true;\n\t\t\tconst path = unref(props.to) || unref(props.href) || \"\";\n\t\t\tif (typeof path === \"object\") return false;\n\t\t\treturn path === \"\" || isAbsoluteUrl.value;\n\t\t});\n\t\tconst to = computed(() => {\n\t\t\tcheckPropConflicts(props, \"to\", \"href\");\n\t\t\tconst path = unref(props.to) || unref(props.href) || \"\";\n\t\t\tif (isExternal.value) return path;\n\t\t\treturn resolveTrailingSlashBehavior(path, router.resolve, unref(props.trailingSlash));\n\t\t});\n\t\tconst href = computed(() => {\n\t\t\tconst effectiveTrailingSlash = unref(props.trailingSlash) ?? options.trailingSlash;\n\t\t\tif (!to.value || isAbsoluteUrl.value || isHashLinkWithoutHashMode(to.value)) {\n\t\t\t\tconst raw = to.value;\n\t\t\t\treturn typeof raw === \"string\" ? sanitizeAnchorHref(raw) : raw;\n\t\t\t}\n\t\t\tif (isExternal.value) {\n\t\t\t\tconst path = typeof to.value === \"object\" && \"path\" in to.value ? resolveRouteObject(to.value) : to.value;\n\t\t\t\tconst href = typeof path === \"object\" ? router.resolve(path).href : path;\n\t\t\t\tconst safe = typeof href === \"string\" ? sanitizeAnchorHref(href) : href;\n\t\t\t\treturn safe === null ? null : applyTrailingSlashBehavior(safe, effectiveTrailingSlash);\n\t\t\t}\n\t\t\tif (typeof to.value === \"object\") return router.resolve(to.value)?.href ?? null;\n\t\t\treturn applyTrailingSlashBehavior(isRootedPath(to.value) ? rootedHref(to.value) : router.resolve(to.value).href, effectiveTrailingSlash);\n\t\t});\n\t\treturn {\n\t\t\tto,\n\t\t\thasTarget,\n\t\t\tisAbsoluteUrl,\n\t\t\tisExternal,\n\t\t\thref,\n\t\t\tasync navigate(_e) {\n\t\t\t\tif (href.value === null) {\n\t\t\t\t\tif (false) navigationDiagnostics.NUXT_E2011({ componentName });\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t\tawait navigateTo(href.value, {\n\t\t\t\t\treplace: unref(props.replace),\n\t\t\t\t\texternal: isExternal.value || hasTarget.value\n\t\t\t\t});\n\t\t\t}\n\t\t};\n\t}\n\tfunction useNuxtLink(props) {\n\t\tconst router = useRouter();\n\t\tconst target = useLinkTarget(props);\n\t\tconst builtinRouterLink = resolveComponent(\"RouterLink\");\n\t\tconst useBuiltinLink = builtinRouterLink && typeof builtinRouterLink !== \"string\" ? builtinRouterLink.useLink : void 0;\n\t\tconst link = target.isExternal.value ? void 0 : useBuiltinLink?.({\n\t\t\t...props,\n\t\t\tto: target.to,\n\t\t\tviewTransition: unref(props.viewTransition)\n\t\t});\n\t\treturn {\n\t\t\t...target,\n\t\t\tisActive: link?.isActive ?? computed(() => target.to.value === router.currentRoute.value.path),\n\t\t\tisExactActive: link?.isExactActive ?? computed(() => target.to.value === router.currentRoute.value.path),\n\t\t\troute: link?.route ?? computed(() => router.resolve(target.to.value))\n\t\t};\n\t}\n\tfunction checkNuxtLinkNesting() {\n\t\tif (inject(NuxtLinkDevKeySymbol, false)) renderDiagnostics.NUXT_E4009();\n\t\telse provide(NuxtLinkDevKeySymbol, true);\n\t}\n\t/**\n\t* Render an internal link as a plain anchor, matching the markup `<RouterLink>` produces\n\t* for the same location.\n\t*/\n\tfunction renderStaticInternalLink(props, slots, router, rawTo) {\n\t\tif (false) {\n\t\t\tcheckPropConflicts(props, \"to\", \"href\");\n\t\t\tcheckPropConflicts(props, \"noRel\", \"rel\");\n\t\t}\n\t\tconst route = router.resolve(resolveTrailingSlashBehavior(rawTo, router.resolve, props.trailingSlash));\n\t\tconst currentRoute = router.currentRoute.value;\n\t\tconst index = activeRecordIndex(route, currentRoute);\n\t\tconst isActive = index > -1 && includesParams(currentRoute.params, route.params);\n\t\tconst isExactActive = index > -1 && index === currentRoute.matched.length - 1 && isSameRouteLocationParams(currentRoute.params, route.params);\n\t\tlet dataInternal;\n\t\tif (componentIslands && useNuxtApp().ssrContext?.islandContext) {\n\t\t\tconst flags = [];\n\t\t\tif (props.replace) flags.push(\"replace\");\n\t\t\tif ((typeof props.prefetchOn === \"string\" ? props.prefetchOn === \"visibility\" : props.prefetchOn?.visibility ?? options.prefetchOn?.visibility) && (props.prefetch ?? options.prefetch) !== false && props.noPrefetch !== true) flags.push(\"prefetch\");\n\t\t\tdataInternal = flags.join(\" \");\n\t\t}\n\t\tconst routerOptions = router.options;\n\t\tconst href = sanitizeAnchorHref(route.href);\n\t\treturn h(\"a\", {\n\t\t\t\"aria-current\": isExactActive ? props.ariaCurrentValue ?? \"page\" : null,\n\t\t\thref,\n\t\t\t\"class\": {\n\t\t\t\t[getLinkClass(props.activeClass || options.activeClass, routerOptions.linkActiveClass, \"router-link-active\")]: isActive,\n\t\t\t\t[getLinkClass(props.exactActiveClass || options.exactActiveClass, routerOptions.linkExactActiveClass, \"router-link-exact-active\")]: isExactActive\n\t\t\t},\n\t\t\t\"rel\": props.rel || void 0,\n\t\t\t\"data-internal\": dataInternal\n\t\t}, slots.default?.({\n\t\t\troute,\n\t\t\thref,\n\t\t\tisActive,\n\t\t\tisExactActive,\n\t\t\tnavigate: () => navigateTo(route.href, { replace: props.replace })\n\t\t}));\n\t}\n\treturn defineComponent({\n\t\tname: componentName,\n\t\tprops: {\n\t\t\tto: {\n\t\t\t\ttype: [String, Object],\n\t\t\t\trequired: false\n\t\t\t},\n\t\t\thref: {\n\t\t\t\ttype: [String, Object],\n\t\t\t\trequired: false\n\t\t\t},\n\t\t\ttarget: {\n\t\t\t\ttype: String,\n\t\t\t\trequired: false\n\t\t\t},\n\t\t\trel: {\n\t\t\t\ttype: String,\n\t\t\t\trequired: false\n\t\t\t},\n\t\t\tnoRel: {\n\t\t\t\ttype: Boolean,\n\t\t\t\tdefault: void 0,\n\t\t\t\trequired: false\n\t\t\t},\n\t\t\tprefetch: {\n\t\t\t\ttype: Boolean,\n\t\t\t\tdefault: void 0,\n\t\t\t\trequired: false\n\t\t\t},\n\t\t\tprefetchOn: {\n\t\t\t\ttype: [String, Object],\n\t\t\t\trequired: false\n\t\t\t},\n\t\t\tnoPrefetch: {\n\t\t\t\ttype: Boolean,\n\t\t\t\tdefault: void 0,\n\t\t\t\trequired: false\n\t\t\t},\n\t\t\tactiveClass: {\n\t\t\t\ttype: String,\n\t\t\t\trequired: false\n\t\t\t},\n\t\t\texactActiveClass: {\n\t\t\t\ttype: String,\n\t\t\t\trequired: false\n\t\t\t},\n\t\t\tprefetchedClass: {\n\t\t\t\ttype: String,\n\t\t\t\trequired: false\n\t\t\t},\n\t\t\treplace: {\n\t\t\t\ttype: Boolean,\n\t\t\t\tdefault: void 0,\n\t\t\t\trequired: false\n\t\t\t},\n\t\t\tariaCurrentValue: {\n\t\t\t\ttype: String,\n\t\t\t\trequired: false\n\t\t\t},\n\t\t\texternal: {\n\t\t\t\ttype: Boolean,\n\t\t\t\tdefault: void 0,\n\t\t\t\trequired: false\n\t\t\t},\n\t\t\tcustom: {\n\t\t\t\ttype: Boolean,\n\t\t\t\tdefault: void 0,\n\t\t\t\trequired: false\n\t\t\t},\n\t\t\ttrailingSlash: {\n\t\t\t\ttype: String,\n\t\t\t\trequired: false\n\t\t\t}\n\t\t},\n\t\tuseLink: useNuxtLink,\n\t\tsetup(props, { slots }) {\n\t\t\tconst router = useRouter();\n\t\t\tif (true && !props.custom) {\n\t\t\t\tconst rawTo = props.to || props.href || \"\";\n\t\t\t\tif (!(props.external || typeof rawTo === \"string\" && (rawTo === \"\" || isAbsoluteHref(rawTo))) && !isHashLinkWithoutHashMode(rawTo) && (!props.target || props.target === \"_self\")) {\n\t\t\t\t\tif (false) checkNuxtLinkNesting();\n\t\t\t\t\treturn () => renderStaticInternalLink(props, slots, router, rawTo);\n\t\t\t\t}\n\t\t\t}\n\t\t\tconst routerLinkComponent = resolveComponent(\"RouterLink\");\n\t\t\tconst { to, href, navigate, isExternal, hasTarget, isAbsoluteUrl } = useLinkTarget(props);\n\t\t\tconst prefetched = shallowRef(false);\n\t\t\tconst el = true ? void 0 : ref(null);\n\t\t\tconst elRef = true ? void 0 : (ref) => {\n\t\t\t\tel.value = props.custom ? ref?.$el?.nextElementSibling : ref?.$el;\n\t\t\t};\n\t\t\tfunction prefetchOn(mode) {\n\t\t\t\treturn typeof props.prefetchOn === \"string\" ? props.prefetchOn === mode : props.prefetchOn?.[mode] ?? options.prefetchOn?.[mode];\n\t\t\t}\n\t\t\tfunction prefetchAllowed() {\n\t\t\t\treturn Boolean((props.prefetch ?? options.prefetch) !== false && props.noPrefetch !== true && props.target !== \"_blank\" && canPrefetch());\n\t\t\t}\n\t\t\tfunction shouldPrefetch(mode) {\n\t\t\t\tif (true) return false;\n\t\t\t\treturn Boolean(!prefetched.value && prefetchOn(mode) && prefetchAllowed());\n\t\t\t}\n\t\t\tfunction resolvedPath() {\n\t\t\t\tconst path = typeof to.value === \"string\" ? to.value : isExternal.value ? resolveRouteObject(to.value) : router.resolve(to.value).fullPath;\n\t\t\t\treturn isExternal.value ? new URL(path, window.location.href).href : path;\n\t\t\t}\n\t\t\tfunction escalate() {\n\t\t\t\tif (!prefetched.value) {\n\t\t\t\t\tif (prefetchOn(\"interaction\")) prefetch();\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t\tif (!isExternal.value) useNuxtApp()._prefetch?.promote(prefetchGroup(resolvedPath()));\n\t\t\t}\n\t\t\tasync function prefetch(nuxtApp = useNuxtApp()) {\n\t\t\t\tif (true) return;\n\t\t\t\tif (prefetched.value) return;\n\t\t\t\tif (href.value === null) return;\n\t\t\t\tprefetched.value = true;\n\t\t\t\tconst normalizedPath = resolvedPath();\n\t\t\t\tawait Promise.all([nuxtApp.hooks.callHook(\"link:prefetch\", normalizedPath)?.catch(() => {}), !false && !isExternal.value && !hasTarget.value && prefetchRouteComponents(to.value, router)]);\n\t\t\t}\n\t\t\tif (false && !props.custom) {\n\t\t\t\tcheckPropConflicts(props, \"noPrefetch\", \"prefetch\");\n\t\t\t\tif (shouldPrefetch(\"visibility\")) {\n\t\t\t\t\tconst nuxtApp = useNuxtApp();\n\t\t\t\t\tlet idleId;\n\t\t\t\t\tlet unobserve = null;\n\t\t\t\t\tonMounted(() => {\n\t\t\t\t\t\tconst observer = useObserver();\n\t\t\t\t\t\tonNuxtReady(() => {\n\t\t\t\t\t\t\tidleId = requestIdleCallback(() => {\n\t\t\t\t\t\t\t\tif (el?.value?.tagName) unobserve = observer.observe(el.value, async () => {\n\t\t\t\t\t\t\t\t\tunobserve?.();\n\t\t\t\t\t\t\t\t\tunobserve = null;\n\t\t\t\t\t\t\t\t\tawait prefetch(nuxtApp);\n\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t});\n\t\t\t\t\t\t});\n\t\t\t\t\t});\n\t\t\t\t\tonBeforeUnmount(() => {\n\t\t\t\t\t\tif (idleId) cancelIdleCallback(idleId);\n\t\t\t\t\t\tunobserve?.();\n\t\t\t\t\t\tunobserve = null;\n\t\t\t\t\t});\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (false && true && !props.custom) checkNuxtLinkNesting();\n\t\t\treturn () => {\n\t\t\t\tconst target = props.target || null;\n\t\t\t\tcheckPropConflicts(props, \"noRel\", \"rel\");\n\t\t\t\tconst rel = firstNonUndefined(props.noRel ? \"\" : props.rel, options.externalRelAttribute, isAbsoluteUrl.value || hasTarget.value ? \"noopener noreferrer\" : \"\") || null;\n\t\t\t\tconst getCustomSlotProps = (routerLinkSlotProps) => ({\n\t\t\t\t\tnavigate,\n\t\t\t\t\tget route() {\n\t\t\t\t\t\tif (!href.value) return;\n\t\t\t\t\t\tconst url = new URL(href.value, false ? window.location.href : \"http://localhost\");\n\t\t\t\t\t\treturn {\n\t\t\t\t\t\t\tpath: url.pathname,\n\t\t\t\t\t\t\tfullPath: url.pathname,\n\t\t\t\t\t\t\tget query() {\n\t\t\t\t\t\t\t\treturn parseQuery(url.search);\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\thash: url.hash,\n\t\t\t\t\t\t\tparams: {},\n\t\t\t\t\t\t\tname: void 0,\n\t\t\t\t\t\t\tmatched: [],\n\t\t\t\t\t\t\tredirectedFrom: void 0,\n\t\t\t\t\t\t\tmeta: {},\n\t\t\t\t\t\t\thref: href.value\n\t\t\t\t\t\t};\n\t\t\t\t\t},\n\t\t\t\t\trel,\n\t\t\t\t\ttarget,\n\t\t\t\t\tisExternal: isExternal.value || hasTarget.value,\n\t\t\t\t\tisActive: false,\n\t\t\t\t\tisExactActive: false,\n\t\t\t\t\t...routerLinkSlotProps,\n\t\t\t\t\thref: typeof routerLinkSlotProps?.href === \"string\" ? sanitizeAnchorHref(routerLinkSlotProps.href) : href.value,\n\t\t\t\t\tprefetch,\n\t\t\t\t\tprefetched: prefetched.value,\n\t\t\t\t\tshouldPrefetch\n\t\t\t\t});\n\t\t\t\tif (!isExternal.value && !hasTarget.value && !isHashLinkWithoutHashMode(to.value)) {\n\t\t\t\t\tconst routerLinkProps = {\n\t\t\t\t\t\tref: elRef,\n\t\t\t\t\t\tto: to.value,\n\t\t\t\t\t\tactiveClass: props.activeClass || options.activeClass,\n\t\t\t\t\t\texactActiveClass: props.exactActiveClass || options.exactActiveClass,\n\t\t\t\t\t\treplace: props.replace,\n\t\t\t\t\t\tariaCurrentValue: props.ariaCurrentValue,\n\t\t\t\t\t\tcustom: props.custom\n\t\t\t\t\t};\n\t\t\t\t\tif (!props.custom) {\n\t\t\t\t\t\tif (false) {\n\t\t\t\t\t\t\tif ((prefetchOn(\"interaction\") || prefetched.value) && prefetchAllowed()) {\n\t\t\t\t\t\t\t\trouterLinkProps.onPointerenter = escalate;\n\t\t\t\t\t\t\t\trouterLinkProps.onFocus = escalate;\n\t\t\t\t\t\t\t\trouterLinkProps.onPointerdown = escalate;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif (prefetched.value) routerLinkProps.class = props.prefetchedClass || options.prefetchedClass;\n\t\t\t\t\t\t}\n\t\t\t\t\t\trouterLinkProps.rel = props.rel || void 0;\n\t\t\t\t\t\tif (true && componentIslands && useNuxtApp().ssrContext?.islandContext) {\n\t\t\t\t\t\t\tconst flags = [];\n\t\t\t\t\t\t\tif (props.replace) flags.push(\"replace\");\n\t\t\t\t\t\t\tif ((typeof props.prefetchOn === \"string\" ? props.prefetchOn === \"visibility\" : props.prefetchOn?.visibility ?? options.prefetchOn?.visibility) && (props.prefetch ?? options.prefetch) !== false && props.noPrefetch !== true) flags.push(\"prefetch\");\n\t\t\t\t\t\t\trouterLinkProps[\"data-internal\"] = flags.join(\" \");\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\treturn h(routerLinkComponent, routerLinkProps, props.custom && slots.default ? { default: (slotProps) => slots.default(getCustomSlotProps(slotProps)) } : slots.default);\n\t\t\t\t}\n\t\t\t\tif (props.custom) {\n\t\t\t\t\tif (!slots.default) return null;\n\t\t\t\t\treturn slots.default(getCustomSlotProps());\n\t\t\t\t}\n\t\t\t\treturn h(\"a\", {\n\t\t\t\t\tref: el,\n\t\t\t\t\thref: href.value || null,\n\t\t\t\t\trel,\n\t\t\t\t\ttarget,\n\t\t\t\t\tonClick: async (event) => {\n\t\t\t\t\t\tif (isExternal.value || hasTarget.value) return;\n\t\t\t\t\t\tevent.preventDefault();\n\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\tconst encodedHref = encodeRoutePath(href.value ?? \"\");\n\t\t\t\t\t\t\treturn await (props.replace ? router.replace(encodedHref) : router.push(encodedHref));\n\t\t\t\t\t\t} finally {\n\t\t\t\t\t\t\tif (false && isHashLinkWithoutHashMode(to.value)) {\n\t\t\t\t\t\t\t\tconst rawHash = to.value.slice(1);\n\t\t\t\t\t\t\t\tlet hash = rawHash;\n\t\t\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\t\t\thash = decodeURIComponent(rawHash);\n\t\t\t\t\t\t\t\t} catch {}\n\t\t\t\t\t\t\t\tdocument.getElementById(hash)?.focus();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}, slots.default?.());\n\t\t\t};\n\t\t}\n\t});\n}\nconst NuxtLink = /* @__PURE__ */ defineNuxtLink(nuxtLinkDefaults);\nfunction isSameRouteRecord(a, b) {\n\treturn (a.aliasOf || a) === (b.aliasOf || b);\n}\nfunction getOriginalPath(record) {\n\treturn record ? record.aliasOf ? record.aliasOf.path : record.path : \"\";\n}\nfunction isEquivalentArray(a, b) {\n\treturn Array.isArray(b) ? a.length === b.length && a.every((value, i) => value === b[i]) : a.length === 1 && a[0] === b;\n}\nfunction isSameParamValue(a, b) {\n\treturn Array.isArray(a) ? isEquivalentArray(a, b) : Array.isArray(b) ? isEquivalentArray(b, a) : (a && a.valueOf()) === (b && b.valueOf());\n}\nfunction isSameRouteLocationParams(a, b) {\n\tif (Object.keys(a).length !== Object.keys(b).length) return false;\n\tfor (const key in a) if (!isSameParamValue(a[key], b[key])) return false;\n\treturn true;\n}\nfunction includesParams(outer, inner) {\n\tfor (const key in inner) {\n\t\tconst innerValue = inner[key];\n\t\tconst outerValue = outer[key];\n\t\tif (typeof innerValue === \"string\") {\n\t\t\tif (innerValue !== outerValue) return false;\n\t\t} else if (!Array.isArray(outerValue) || outerValue.length !== innerValue.length || innerValue.some((value, i) => value.valueOf() !== outerValue[i].valueOf())) return false;\n\t}\n\treturn true;\n}\nfunction activeRecordIndex(route, currentRoute) {\n\tconst { matched } = route;\n\tconst { length } = matched;\n\tconst routeMatched = matched[length - 1];\n\tconst currentMatched = currentRoute.matched;\n\tif (!routeMatched || !currentMatched.length) return -1;\n\tconst index = currentMatched.findIndex(isSameRouteRecord.bind(null, routeMatched));\n\tif (index > -1) return index;\n\tconst parentRecordPath = getOriginalPath(matched[length - 2]);\n\treturn length > 1 && getOriginalPath(routeMatched) === parentRecordPath && currentMatched[currentMatched.length - 1].path !== parentRecordPath ? currentMatched.findIndex(isSameRouteRecord.bind(null, matched[length - 2])) : index;\n}\n/** Resolve an active-link class, falling back from the per-link value to the router-wide one. */\nfunction getLinkClass(propClass, globalClass, defaultClass) {\n\treturn propClass ?? globalClass ?? defaultClass;\n}\nfunction applyTrailingSlashBehavior(to, trailingSlash) {\n\tif (trailingSlash !== \"append\" && trailingSlash !== \"remove\") return to;\n\tconst normalizeFn = trailingSlash === \"append\" ? withTrailingSlash : withoutTrailingSlash;\n\tif (hasProtocol(to) && !to.startsWith(\"http\")) return to;\n\treturn normalizeFn(to, true);\n}\n/** @internal */\nfunction useObserver() {\n\tif (true) return;\n\tconst nuxtApp = useNuxtApp();\n\tif (nuxtApp._observer) return nuxtApp._observer;\n\tlet observer = null;\n\tconst callbacks = /* @__PURE__ */ new Map();\n\tconst observe = (element, callback) => {\n\t\tobserver ||= new IntersectionObserver((entries) => {\n\t\t\tfor (const entry of entries) {\n\t\t\t\tconst callback = callbacks.get(entry.target);\n\t\t\t\tif ((entry.isIntersecting || entry.intersectionRatio > 0) && callback) callback();\n\t\t\t}\n\t\t});\n\t\tcallbacks.set(element, callback);\n\t\tobserver.observe(element);\n\t\treturn () => {\n\t\t\tcallbacks.delete(element);\n\t\t\tobserver?.unobserve(element);\n\t\t\tif (callbacks.size === 0) {\n\t\t\t\tobserver?.disconnect();\n\t\t\t\tobserver = null;\n\t\t\t}\n\t\t};\n\t};\n\treturn nuxtApp._observer = { observe };\n}\n//#endregion\nexport { NuxtLink as default, defineNuxtLink, useObserver };\n"],"version":3}