From 92d2afad338a9761ff8c60099ece447a863cb65f Mon Sep 17 00:00:00 2001 From: John Datserakis Date: Mon, 4 Sep 2023 22:35:28 -0400 Subject: [PATCH] Update DynamicLink click handling --- README.md | 66 +- dist/vue-navigation-bar.css | 204 +- dist/vue-navigation-bar.esm.js | 58 +- dist/vue-navigation-bar.min.js | 2 +- dist/vue-navigation-bar.umd.js | 56 +- docs/assets/index.676fc0fb.js | 5 + docs/assets/index.9f2598a5.js | 5 - docs/index.html | 2 +- example/App.vue | 35 +- package.json | 2 +- src/components/DynamicLink.vue | 33 +- test/VueNavigationBar.spec.js | 1 - yarn.lock | 12666 +++++++++++++------------------ 13 files changed, 5372 insertions(+), 7763 deletions(-) create mode 100644 docs/assets/index.676fc0fb.js delete mode 100644 docs/assets/index.9f2598a5.js diff --git a/README.md b/README.md index ffafdca..f07e036 100755 --- a/README.md +++ b/README.md @@ -235,39 +235,39 @@ Sometimes you may want your links to perform an action instead of following a li ### Props -| prop | type | required | default | possible values | description | -| ---------------------------------------- | ---------------- | -------- | ----------------- | ---------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| elementId | String | no | A generated uuid | | This value will be set as the `id` of the instance | -| isUsingVueRouter | Boolean | no | false | | If you want to use vue-router, set this to true and all links will automatically be `` | -| mobileBreakpoint | Number | no | 992 | | Width at which the navbar turns into the mobile version | -| brandImagePath | String or Object | no | '/' | | Link path of menu-option. If you have `isUsingVueRouter === true`, then this needs to be an `Object` with a `name` property or just a `String` of your path. Otherwise, just provide a `String`. link | -| brandImage | Image | no | | | `import` your image here to use your brand image | -| brandImageAltText | String | no | 'brand-image' | | The `alt` tag text for your brand image | -| collapseButtonImageOpen | Image | no | A hamburger icon | | `import` your image here | -| collapseButtonImageClose | Image | no | A times icon | | `import` your image here | -| collapseButtonOpenColor | String | no | `#373737` | | CSS hex - `#FFF`. Only applicable if you don't supply a `collapseButtonImageOpen`. | -| collapseButtonCloseColor | String | no | `#373737` | | CSS hex - `#FFF`. Only applicable if you don't supply a `collapseButtonImageClose`. | -| showBrandImageInMobilePopup | Boolean | no | false | | If you want to show your brand logo in the mobile popup | -| ariaLabelMainNav | String | no | 'Main Navigation' | | The `aria-label` value for the main navbar element | -| tooltipAnimationType | String | no | 'shift-away' | 'shift-away', 'shift-toward', 'scale', 'perspective' | See [tippy.js docs](https://atomiks.github.io/tippyjs/all-options/) | -| tooltipPlacement | String | no | 'bottom' | 'top', 'bottom', 'left', 'right' ... and more. | See [tippy.js docs](https://atomiks.github.io/tippyjs/v6/all-props/#placement) for the complete list. Also, make sure to cross reference with popper.js's options. The tooltip dropdown will always drop in the direction you set here. | -| menuOptionsLeft | Object | no | {} | | Menu options that will be _pulled_ to the left towards the `brand-image` | -| menuOptionsLeft.type | String | yes | | 'link', 'button', 'spacer', 'dropdown' | What type of link will this menu-option be? `link` will be a link, `button` will be a button, `spacer` will be a spacer with a width of `30px` , `dropdown` will create a dropdown on desktop and a `ul/li` list on mobile. `dropdown` only works on menuOptions, not subMenuOptions. | -| menuOptionsLeft.text | String | yes | | | Text of menu-option | -| menuOptionsLeft.path | String or Object | yes | | | Link path of menu-option. If you have `isUsingVueRouter === true`, then this needs to be an `Object` with a `name` property or just a `String` of your path. Otherwise, just provide a `String`. Not applicable to `dropdown` menuOption types | -| menuOptionsLeft.arrowColor | String | no | | | CSS hex - `#FFF`. This styles the little chevron icon. | -| menuOptionsLeft.class | String | no | | | Only for `menuOptionsLeft.type === 'button'` - provide a class name so you can style your buttons | -| menuOptionsLeft.isLinkAction | Boolean | no | false | | When `true` , the `path` option of the `menuOption` will not fire - instead, you'll be able to register for the `@vnb-item-clicked` event which will spit you out the `text` value of your `menuOption` . That way, you can do an action you may want to trigger. | -| menuOptionsLeft.iconLeft | HTML String | no | | | Only for `menuOptionsLeft.type === 'link or menuOptionsLeft.type === 'dropdown'`. HTML string of the icon you want to use. See more info on the `Icon` section of the README. | -| menuOptionsLeft.iconRight | HTML String | no | | | Only for `menuOptionsLeft.type === 'link or menuOptionsLeft.type === 'dropdown'`. HTML string of the icon you want to use. See more info on the `Icon` section of the README. | -| menuOptionsLeft.subMenuOptions | Object | no | | | Sub-menu-options that will be shown | -| menuOptionsLeft.subMenuOptions.type | String | yes | | 'link', 'hr' | What type of link will this sub-menu-option be? `link` will be a link, `hr` will be a `hr` spacer | -| menuOptionsLeft.subMenuOptions.text | String | yes | | | Text of sub-menu-option | -| menuOptionsLeft.subMenuOptions.subText | String | no | | | Sub text of sub-menu-option | -| menuOptionsLeft.subMenuOptions.path | String | yes | | | Link path of sub-menu-option | -| menuOptionsLeft.subMenuOptions.iconLeft | HTML String | no | | | HTML string of the icon you want to use. See more info on the `Icon` section of the README. | -| menuOptionsLeft.subMenuOptions.iconRight | HTML String | no | | | HTML string of the icon you want to use. See more info on the `Icon` section of the README. | -| menuOptionsRight | Object | no | {} | | Menu options that will be pushed to the right of the navbar. See above - all `menuOptionsLeft` apply | +| prop | type | required | default | possible values | description | +| ---------------------------------------- | ---------------- | -------- | ----------------- | ---------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| elementId | String | no | A generated uuid | | This value will be set as the `id` of the instance | +| isUsingVueRouter | Boolean | no | false | | If you want to use vue-router, set this to true and all links will automatically be `` | +| mobileBreakpoint | Number | no | 992 | | Width at which the navbar turns into the mobile version | +| brandImagePath | String or Object | no | '/' | | Link path of menu-option. If you have `isUsingVueRouter === true`, then this needs to be an `Object` with a `name` property or just a `String` of your path. Otherwise, just provide a `String`. link | +| brandImage | Image | no | | | `import` your image here to use your brand image | +| brandImageAltText | String | no | 'brand-image' | | The `alt` tag text for your brand image | +| collapseButtonImageOpen | Image | no | A hamburger icon | | `import` your image here | +| collapseButtonImageClose | Image | no | A times icon | | `import` your image here | +| collapseButtonOpenColor | String | no | `#373737` | | CSS hex - `#FFF`. Only applicable if you don't supply a `collapseButtonImageOpen`. | +| collapseButtonCloseColor | String | no | `#373737` | | CSS hex - `#FFF`. Only applicable if you don't supply a `collapseButtonImageClose`. | +| showBrandImageInMobilePopup | Boolean | no | false | | If you want to show your brand logo in the mobile popup | +| ariaLabelMainNav | String | no | 'Main Navigation' | | The `aria-label` value for the main navbar element | +| tooltipAnimationType | String | no | 'shift-away' | 'shift-away', 'shift-toward', 'scale', 'perspective' | See [tippy.js docs](https://atomiks.github.io/tippyjs/all-options/) | +| tooltipPlacement | String | no | 'bottom' | 'top', 'bottom', 'left', 'right' ... and more. | See [tippy.js docs](https://atomiks.github.io/tippyjs/v6/all-props/#placement) for the complete list. Also, make sure to cross reference with popper.js's options. The tooltip dropdown will always drop in the direction you set here. | +| menuOptionsLeft | Object | no | {} | | Menu options that will be _pulled_ to the left towards the `brand-image` | +| menuOptionsLeft.type | String | yes | | 'link', 'button', 'spacer', 'dropdown' | What type of link will this menu-option be? `link` will be a link, `button` will be a button, `spacer` will be a spacer with a width of `30px` , `dropdown` will create a dropdown on desktop and a `ul/li` list on mobile. `dropdown` only works on menuOptions, not subMenuOptions. | +| menuOptionsLeft.text | String | yes | | | Text of menu-option | +| menuOptionsLeft.path | String or Object | no | | | Link path of menu-option. If you have `isUsingVueRouter === true`, then this needs to be an `Object` with a `name` property or just a `String` of your path. Otherwise, just provide a `String`. Not applicable to `dropdown` menuOption types. Do not use when setting `isLinkAction`. | +| menuOptionsLeft.arrowColor | String | no | | | CSS hex - `#FFF`. This styles the little chevron icon. | +| menuOptionsLeft.class | String | no | | | Only for `menuOptionsLeft.type === 'button'` - provide a class name so you can style your buttons | +| menuOptionsLeft.isLinkAction | Boolean | no | false | | When `true`, any `path` option of the `menuOption` will not fire - instead, you'll be able to register for the `@vnb-item-clicked` event which will spit you out the `text` value of your `menuOption` . That way, you can do an action you may want to trigger. | +| menuOptionsLeft.iconLeft | HTML String | no | | | Only for `menuOptionsLeft.type === 'link or menuOptionsLeft.type === 'dropdown'`. HTML string of the icon you want to use. See more info on the `Icon` section of the README. | +| menuOptionsLeft.iconRight | HTML String | no | | | Only for `menuOptionsLeft.type === 'link or menuOptionsLeft.type === 'dropdown'`. HTML string of the icon you want to use. See more info on the `Icon` section of the README. | +| menuOptionsLeft.subMenuOptions | Object | no | | | Sub-menu-options that will be shown | +| menuOptionsLeft.subMenuOptions.type | String | yes | | 'link', 'hr' | What type of link will this sub-menu-option be? `link` will be a link, `hr` will be a `hr` spacer | +| menuOptionsLeft.subMenuOptions.text | String | yes | | | Text of sub-menu-option | +| menuOptionsLeft.subMenuOptions.subText | String | no | | | Sub text of sub-menu-option | +| menuOptionsLeft.subMenuOptions.path | String | no | | | Link path of sub-menu-option | +| menuOptionsLeft.subMenuOptions.iconLeft | HTML String | no | | | HTML string of the icon you want to use. See more info on the `Icon` section of the README. | +| menuOptionsLeft.subMenuOptions.iconRight | HTML String | no | | | HTML string of the icon you want to use. See more info on the `Icon` section of the README. | +| menuOptionsRight | Object | no | {} | | Menu options that will be pushed to the right of the navbar. See above - all `menuOptionsLeft` apply | ## Events diff --git a/dist/vue-navigation-bar.css b/dist/vue-navigation-bar.css index c0a18ed..72e7c5e 100644 --- a/dist/vue-navigation-bar.css +++ b/dist/vue-navigation-bar.css @@ -23,18 +23,6 @@ height: auto; } -.vnb__brand-image-wrapper { - padding-left: 10px; -} -.vnb__brand-image-wrapper__link__image { - max-height: 30px; -} - -.vnb-image { - max-width: 100%; - height: auto; -} - .vnb__collapse-button { cursor: pointer; border: 0; @@ -49,6 +37,18 @@ max-width: 30px; } +.vnb__brand-image-wrapper { + padding-left: 10px; +} +.vnb__brand-image-wrapper__link__image { + max-height: 30px; +} + +.vnb-image { + max-width: 100%; + height: auto; +} + .vnb__menu-options { display: flex; flex-direction: row; @@ -207,44 +207,6 @@ height: auto; } -.vnb__menu-options__option__button { - display: flex; - flex-direction: row; - justify-content: center; - align-items: center; - font-weight: 400; - color: #fff; - text-align: center; - vertical-align: middle; - user-select: none; - font-size: 0.9rem; - line-height: 1; - border-radius: 0.25rem; - text-transform: uppercase; - letter-spacing: 1px; - padding: 0.5rem 1rem; - transition: background 0.2s ease-in; -} -.vnb__menu-options__option__button__icon svg { - max-height: 16px; - max-width: 16px; -} -.vnb__menu-options__option__button__icon--left { - margin-right: 5px; -} -.vnb__menu-options__option__button__icon--right { - margin-left: 5px; -} - -.vnb-button { - background: #007aff; -} -.vnb-button:hover { - color: #fff; - background: #0062cc; - text-decoration: none; -} - .vnb__menu-options__option__link { cursor: pointer; font-weight: 500; @@ -342,56 +304,92 @@ width: 30px; } -.tippy-box[data-animation=perspective][data-placement^=top] { - transform-origin: bottom; +.vnb__menu-options__option__button { + display: flex; + flex-direction: row; + justify-content: center; + align-items: center; + font-weight: 400; + color: #fff; + text-align: center; + vertical-align: middle; + user-select: none; + font-size: 0.9rem; + line-height: 1; + border-radius: 0.25rem; + text-transform: uppercase; + letter-spacing: 1px; + padding: 0.5rem 1rem; + transition: background 0.2s ease-in; +} +.vnb__menu-options__option__button__icon svg { + max-height: 16px; + max-width: 16px; +} +.vnb__menu-options__option__button__icon--left { + margin-right: 5px; +} +.vnb__menu-options__option__button__icon--right { + margin-left: 5px; } -.tippy-box[data-animation=perspective][data-placement^=top][data-state=visible] { - transform: perspective(700px); +.vnb-button { + background: #007aff; +} +.vnb-button:hover { + color: #fff; + background: #0062cc; + text-decoration: none; } -.tippy-box[data-animation=perspective][data-placement^=top][data-state=hidden] { - transform: perspective(700px) translateY(8px) rotateX(60deg); +.tippy-box[data-animation=shift-toward][data-state=hidden] { + opacity: 0; } -.tippy-box[data-animation=perspective][data-placement^=bottom] { - transform-origin: top; +.tippy-box[data-animation=shift-toward][data-state=hidden][data-placement^=top] { + transform: translateY(-10px); } -.tippy-box[data-animation=perspective][data-placement^=bottom][data-state=visible] { - transform: perspective(700px); +.tippy-box[data-animation=shift-toward][data-state=hidden][data-placement^=bottom] { + transform: translateY(10px); } -.tippy-box[data-animation=perspective][data-placement^=bottom][data-state=hidden] { - transform: perspective(700px) translateY(-8px) rotateX(-60deg); +.tippy-box[data-animation=shift-toward][data-state=hidden][data-placement^=left] { + transform: translateX(-10px); } -.tippy-box[data-animation=perspective][data-placement^=left] { - transform-origin: right; +.tippy-box[data-animation=shift-toward][data-state=hidden][data-placement^=right] { + transform: translateX(10px); } -.tippy-box[data-animation=perspective][data-placement^=left][data-state=visible] { - transform: perspective(700px); +.tippy-box[data-theme~=light] { + color: #26323d; + box-shadow: 0 0 20px 4px rgba(154, 161, 177, 0.15), 0 4px 80px -8px rgba(36, 40, 47, 0.25), 0 4px 4px -2px rgba(91, 94, 105, 0.15); + background-color: #fff; } -.tippy-box[data-animation=perspective][data-placement^=left][data-state=hidden] { - transform: perspective(700px) translateX(8px) rotateY(-60deg); +.tippy-box[data-theme~=light][data-placement^=top] > .tippy-arrow:before { + border-top-color: #fff; } -.tippy-box[data-animation=perspective][data-placement^=right] { - transform-origin: left; +.tippy-box[data-theme~=light][data-placement^=bottom] > .tippy-arrow:before { + border-bottom-color: #fff; } -.tippy-box[data-animation=perspective][data-placement^=right][data-state=visible] { - transform: perspective(700px); +.tippy-box[data-theme~=light][data-placement^=left] > .tippy-arrow:before { + border-left-color: #fff; } -.tippy-box[data-animation=perspective][data-placement^=right][data-state=hidden] { - transform: perspective(700px) translateX(-8px) rotateY(60deg); +.tippy-box[data-theme~=light][data-placement^=right] > .tippy-arrow:before { + border-right-color: #fff; } -.tippy-box[data-animation=perspective][data-state=hidden] { - opacity: 0; +.tippy-box[data-theme~=light] > .tippy-backdrop { + background-color: #fff; +} + +.tippy-box[data-theme~=light] > .tippy-svg-arrow { + fill: #fff; } .tippy-box[data-animation=scale][data-placement^=top] { @@ -435,52 +433,54 @@ transform: translateX(-10px); } -.tippy-box[data-animation=shift-toward][data-state=hidden] { - opacity: 0; +.tippy-box[data-animation=perspective][data-placement^=top] { + transform-origin: bottom; } -.tippy-box[data-animation=shift-toward][data-state=hidden][data-placement^=top] { - transform: translateY(-10px); +.tippy-box[data-animation=perspective][data-placement^=top][data-state=visible] { + transform: perspective(700px); } -.tippy-box[data-animation=shift-toward][data-state=hidden][data-placement^=bottom] { - transform: translateY(10px); +.tippy-box[data-animation=perspective][data-placement^=top][data-state=hidden] { + transform: perspective(700px) translateY(8px) rotateX(60deg); } -.tippy-box[data-animation=shift-toward][data-state=hidden][data-placement^=left] { - transform: translateX(-10px); +.tippy-box[data-animation=perspective][data-placement^=bottom] { + transform-origin: top; } -.tippy-box[data-animation=shift-toward][data-state=hidden][data-placement^=right] { - transform: translateX(10px); +.tippy-box[data-animation=perspective][data-placement^=bottom][data-state=visible] { + transform: perspective(700px); } -.tippy-box[data-theme~=light] { - color: #26323d; - box-shadow: 0 0 20px 4px rgba(154, 161, 177, 0.15), 0 4px 80px -8px rgba(36, 40, 47, 0.25), 0 4px 4px -2px rgba(91, 94, 105, 0.15); - background-color: #fff; +.tippy-box[data-animation=perspective][data-placement^=bottom][data-state=hidden] { + transform: perspective(700px) translateY(-8px) rotateX(-60deg); } -.tippy-box[data-theme~=light][data-placement^=top] > .tippy-arrow:before { - border-top-color: #fff; +.tippy-box[data-animation=perspective][data-placement^=left] { + transform-origin: right; } -.tippy-box[data-theme~=light][data-placement^=bottom] > .tippy-arrow:before { - border-bottom-color: #fff; +.tippy-box[data-animation=perspective][data-placement^=left][data-state=visible] { + transform: perspective(700px); } -.tippy-box[data-theme~=light][data-placement^=left] > .tippy-arrow:before { - border-left-color: #fff; +.tippy-box[data-animation=perspective][data-placement^=left][data-state=hidden] { + transform: perspective(700px) translateX(8px) rotateY(-60deg); } -.tippy-box[data-theme~=light][data-placement^=right] > .tippy-arrow:before { - border-right-color: #fff; +.tippy-box[data-animation=perspective][data-placement^=right] { + transform-origin: left; } -.tippy-box[data-theme~=light] > .tippy-backdrop { - background-color: #fff; +.tippy-box[data-animation=perspective][data-placement^=right][data-state=visible] { + transform: perspective(700px); } -.tippy-box[data-theme~=light] > .tippy-svg-arrow { - fill: #fff; +.tippy-box[data-animation=perspective][data-placement^=right][data-state=hidden] { + transform: perspective(700px) translateX(-8px) rotateY(60deg); +} + +.tippy-box[data-animation=perspective][data-state=hidden] { + opacity: 0; } \ No newline at end of file diff --git a/dist/vue-navigation-bar.esm.js b/dist/vue-navigation-bar.esm.js index b90e050..d30f9e3 100644 --- a/dist/vue-navigation-bar.esm.js +++ b/dist/vue-navigation-bar.esm.js @@ -1,5 +1,5 @@ import { VueScreenSizeMixin } from 'vue-screen-size'; -import { resolveComponent, openBlock, createElementBlock, Fragment, createElementVNode, renderSlot, normalizeProps, mergeProps, createCommentVNode, createBlock, withCtx, createVNode, normalizeStyle, normalizeClass, createTextVNode, toDisplayString, renderList, withKeys } from 'vue'; +import { resolveComponent, openBlock, createElementBlock, Fragment, createBlock, mergeProps, withCtx, renderSlot, createCommentVNode, createVNode, normalizeStyle, createElementVNode, normalizeClass, createTextVNode, toDisplayString, renderList, withKeys } from 'vue'; import tippy, { hideAll } from 'tippy.js'; // https://stackoverflow.com/a/2117523/8014660 @@ -20,7 +20,7 @@ var script$8 = { }, path: { type: [String, Object], - required: true, + required: false, }, isLinkAction: { type: Boolean, @@ -35,34 +35,36 @@ function render$8(_ctx, _cache, $props, $setup, $data, $options) { var _component_router_link = resolveComponent("router-link"); return (openBlock(), createElementBlock(Fragment, null, [ - createElementVNode("template", null, [ - ($props.isLinkAction) - ? renderSlot(_ctx.$slots, "content", normalizeProps(mergeProps({ key: 0 }, _ctx.$attrs))) - : createCommentVNode("v-if", true) - ]), - ($props.isUsingVueRouter) - ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [ - ($props.path.name) - ? (openBlock(), createBlock(_component_router_link, mergeProps({ key: 0 }, _ctx.$attrs, { - to: {name: this.path.name} - }), { - default: withCtx(function () { return [ - renderSlot(_ctx.$slots, "content") - ]; }), - _: 3 /* FORWARDED */ - }, 16 /* FULL_PROPS */, ["to"])) - : (openBlock(), createBlock(_component_router_link, mergeProps({ key: 1 }, _ctx.$attrs, { - to: {path: this.path} - }), { - default: withCtx(function () { return [ - renderSlot(_ctx.$slots, "content") - ]; }), - _: 3 /* FORWARDED */ - }, 16 /* FULL_PROPS */, ["to"])) - ], 2112 /* STABLE_FRAGMENT, DEV_ROOT_FRAGMENT */)) - : (openBlock(), createElementBlock("a", mergeProps({ key: 1 }, _ctx.$attrs, { href: $props.path }), [ + ($props.isUsingVueRouter && $props.path && $props.path.name) + ? (openBlock(), createBlock(_component_router_link, mergeProps({ key: 0 }, _ctx.$attrs, { + to: { name: this.path.name } + }), { + default: withCtx(function () { return [ + renderSlot(_ctx.$slots, "content") + ]; }), + _: 3 /* FORWARDED */ + }, 16 /* FULL_PROPS */, ["to"])) + : createCommentVNode("v-if", true), + ($props.isUsingVueRouter && $props.path && !$props.path.name) + ? (openBlock(), createBlock(_component_router_link, mergeProps({ key: 1 }, _ctx.$attrs, { + to: { path: this.path } + }), { + default: withCtx(function () { return [ + renderSlot(_ctx.$slots, "content") + ]; }), + _: 3 /* FORWARDED */ + }, 16 /* FULL_PROPS */, ["to"])) + : createCommentVNode("v-if", true), + (!$props.isUsingVueRouter && !$props.isLinkAction && $props.path) + ? (openBlock(), createElementBlock("a", mergeProps({ key: 2 }, _ctx.$attrs, { href: $props.path }), [ renderSlot(_ctx.$slots, "content") ], 16 /* FULL_PROPS */, _hoisted_1$7)) + : createCommentVNode("v-if", true), + ($props.isLinkAction) + ? (openBlock(), createElementBlock("a", mergeProps({ key: 3 }, _ctx.$attrs, { href: "javascript:void(0);" }), [ + renderSlot(_ctx.$slots, "content") + ], 16 /* FULL_PROPS */)) + : createCommentVNode("v-if", true) ], 64 /* STABLE_FRAGMENT */)) } diff --git a/dist/vue-navigation-bar.min.js b/dist/vue-navigation-bar.min.js index ff18476..ae1470b 100644 --- a/dist/vue-navigation-bar.min.js +++ b/dist/vue-navigation-bar.min.js @@ -1 +1 @@ -var VueNavigationBar=function(e,t){"use strict";var n={data:function(){return{event:null,vssWidth:null,vssHeight:null}},computed:{$vssEvent:function(){return this.event},$vssWidth:function(){return this.vssWidth||this.getScreenWidth()},$vssHeight:function(){return this.vssHeight||this.getScreenHeight()}},methods:{getScreenWidth:function(){return window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth},getScreenHeight:function(){return window.innerHeight||document.documentElement.clientHeight||document.body.clientHeight},handleResize:function(e){this.event=e,this.vssWidth=this.getScreenWidth(),this.vssHeight=this.getScreenHeight()},$vssDestroyListener:function(){window.removeEventListener("resize",this.handleResize)}},mounted:function(){window.addEventListener("resize",this.handleResize)},destroyed:function(){window.removeEventListener("resize",this.handleResize)}};function o(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(e){var t=16*Math.random()|0;return("x"==e?t:3&t|8).toString(16)}))}var i={name:"dynamic-link",props:{isUsingVueRouter:{type:Boolean,required:!0},path:{type:[String,Object],required:!0},isLinkAction:{type:Boolean,required:!0}}},r=["href"];i.render=function(e,n,o,i,s,a){var p=t.resolveComponent("router-link");return t.openBlock(),t.createElementBlock(t.Fragment,null,[t.createElementVNode("template",null,[o.isLinkAction?t.renderSlot(e.$slots,"content",t.normalizeProps(t.mergeProps({key:0},e.$attrs))):t.createCommentVNode("v-if",!0)]),o.isUsingVueRouter?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[o.path.name?(t.openBlock(),t.createBlock(p,t.mergeProps({key:0},e.$attrs,{to:{name:this.path.name}}),{default:t.withCtx((function(){return[t.renderSlot(e.$slots,"content")]})),_:3},16,["to"])):(t.openBlock(),t.createBlock(p,t.mergeProps({key:1},e.$attrs,{to:{path:this.path}}),{default:t.withCtx((function(){return[t.renderSlot(e.$slots,"content")]})),_:3},16,["to"]))],2112)):(t.openBlock(),t.createElementBlock("a",t.mergeProps({key:1},e.$attrs,{href:o.path}),[t.renderSlot(e.$slots,"content")],16,r))],64)},i.__file="src/components/DynamicLink.vue";var s={name:"brand-image",props:{options:{type:Object,required:!0}},data:function(){return{}},components:{DynamicLink:i},emits:["vnb-item-clicked"]},a={class:"vnb__brand-image-wrapper"},p=["src","alt"];s.render=function(e,n,o,i,r,s){var c=t.resolveComponent("dynamic-link");return t.openBlock(),t.createElementBlock("div",a,[t.createVNode(c,{path:o.options.brandImagePath,isUsingVueRouter:o.options.isUsingVueRouter,class:"vnb__brand-image-wrapper__link","aria-label":"Homepage",isLinkAction:!1,onClick:n[0]||(n[0]=function(t){return e.$emit("vnb-item-clicked","brand-image")})},{content:t.withCtx((function(){return[o.options.brandImage?(t.openBlock(),t.createElementBlock("img",{key:0,src:o.options.brandImage,alt:o.options.brandImageAltText,class:"vnb-image vnb__brand-image-wrapper__link__image"},null,8,p)):t.createCommentVNode("v-if",!0)]})),_:1},8,["path","isUsingVueRouter"])])},s.__file="src/components/BrandImage.vue";var c={name:"collapse-button",mixins:[n],props:{options:{type:Object,required:!0},menuIsVisible:{type:Boolean,required:!0}},data:function(){return{}},methods:{collapseButtonClicked:function(){this.$emit("collapse-button-clicked")}},emits:["collapse-button-clicked"]},l=["aria-expanded"],u=["src"],d=[t.createElementVNode("title",null,"Menu",-1),t.createElementVNode("g",{transform:"matrix(.1 0 0 -.1 0 100)"},[t.createElementVNode("path",{d:"m0 850v-40h500 500v40 40h-500-500z"}),t.createElementVNode("path",{d:"m0 495v-45h500 500v45 45h-500-500z"}),t.createElementVNode("path",{d:"m0 140v-40h500 500v40 40h-500-500z"})],-1)];c.render=function(e,n,o,i,r,s){return e.$vssWidth0&&(o=A(n.width)/s||1),r>0&&(i=A(n.height)/r||1)}return{width:n.width/o,height:n.height/i,top:n.top/i,right:n.right/o,bottom:n.bottom/i,left:n.left/o,x:n.left/o,y:n.top/i}}function D(e){var t=M(e),n=e.offsetWidth,o=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-o)<=1&&(o=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:o}}function S(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&V(n)){var o=t;do{if(o&&e.isSameNode(o))return!0;o=o.parentNode||o.host}while(o)}return!1}function j(e){return E(e).getComputedStyle(e)}function R(e){return["table","td","th"].indexOf(O(e))>=0}function P(e){return((B(e)?e.ownerDocument:e.document)||window.document).documentElement}function H(e){return"html"===O(e)?e:e.assignedSlot||e.parentNode||(V(e)?e.host:null)||P(e)}function q(e){return C(e)&&"fixed"!==j(e).position?e.offsetParent:null}function W(e){for(var t=E(e),n=q(e);n&&R(n)&&"static"===j(n).position;)n=q(n);return n&&("html"===O(n)||"body"===O(n)&&"static"===j(n).position)?t:n||function(e){var t=-1!==navigator.userAgent.toLowerCase().indexOf("firefox");if(-1!==navigator.userAgent.indexOf("Trident")&&C(e)&&"fixed"===j(e).position)return null;var n=H(e);for(V(n)&&(n=n.host);C(n)&&["html","body"].indexOf(O(n))<0;){var o=j(n);if("none"!==o.transform||"none"!==o.perspective||"paint"===o.contain||-1!==["transform","perspective"].indexOf(o.willChange)||t&&"filter"===o.willChange||t&&o.filter&&"none"!==o.filter)return n;n=n.parentNode}return null}(e)||t}function U(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function $(e,t,n){return N(e,I(t,n))}function z(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function F(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}function Y(e){return e.split("-")[1]}var K={top:"auto",right:"auto",bottom:"auto",left:"auto"};function X(e){var t,n=e.popper,o=e.popperRect,i=e.placement,r=e.variation,s=e.offsets,a=e.position,p=e.gpuAcceleration,c=e.adaptive,l=e.roundOffsets,u=e.isFixed,d=s.x,f=void 0===d?0:d,m=s.y,v=void 0===m?0:m,y="function"==typeof l?l({x:f,y:v}):{x:f,y:v};f=y.x,v=y.y;var k=s.hasOwnProperty("x"),x=s.hasOwnProperty("y"),w=_,O=h,B=window;if(c){var C=W(n),V="clientHeight",L="clientWidth";if(C===E(n)&&"static"!==j(C=P(n)).position&&"absolute"===a&&(V="scrollHeight",L="scrollWidth"),C=C,i===h||(i===_||i===g)&&"end"===r)O=b,v-=(u&&C===B&&B.visualViewport?B.visualViewport.height:C[V])-o.height,v*=p?1:-1;if(i===_||(i===h||i===b)&&"end"===r)w=g,f-=(u&&C===B&&B.visualViewport?B.visualViewport.width:C[L])-o.width,f*=p?1:-1}var T,N=Object.assign({position:a},c&&K),I=!0===l?function(e){var t=e.x,n=e.y,o=window.devicePixelRatio||1;return{x:A(t*o)/o||0,y:A(n*o)/o||0}}({x:f,y:v}):{x:f,y:v};return f=I.x,v=I.y,p?Object.assign({},N,((T={})[O]=x?"0":"",T[w]=k?"0":"",T.transform=(B.devicePixelRatio||1)<=1?"translate("+f+"px, "+v+"px)":"translate3d("+f+"px, "+v+"px, 0)",T)):Object.assign({},N,((t={})[O]=x?v+"px":"",t[w]=k?f+"px":"",t.transform="",t))}var G={passive:!0};var J={left:"right",right:"left",bottom:"top",top:"bottom"};function Q(e){return e.replace(/left|right|bottom|top/g,(function(e){return J[e]}))}var Z={start:"end",end:"start"};function ee(e){return e.replace(/start|end/g,(function(e){return Z[e]}))}function te(e){var t=E(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function ne(e){return M(P(e)).left+te(e).scrollLeft}function oe(e){var t=j(e),n=t.overflow,o=t.overflowX,i=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+i+o)}function ie(e,t){var n;void 0===t&&(t=[]);var o=function e(t){return["html","body","#document"].indexOf(O(t))>=0?t.ownerDocument.body:C(t)&&oe(t)?t:e(H(t))}(e),i=o===(null==(n=e.ownerDocument)?void 0:n.body),r=E(o),s=i?[r].concat(r.visualViewport||[],oe(o)?o:[]):o,a=t.concat(s);return i?a:a.concat(ie(H(s)))}function re(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function se(e,t){return"viewport"===t?re(function(e){var t=E(e),n=P(e),o=t.visualViewport,i=n.clientWidth,r=n.clientHeight,s=0,a=0;return o&&(i=o.width,r=o.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(s=o.offsetLeft,a=o.offsetTop)),{width:i,height:r,x:s+ne(e),y:a}}(e)):B(t)?function(e){var t=M(e);return t.top=t.top+e.clientTop,t.left=t.left+e.clientLeft,t.bottom=t.top+e.clientHeight,t.right=t.left+e.clientWidth,t.width=e.clientWidth,t.height=e.clientHeight,t.x=t.left,t.y=t.top,t}(t):re(function(e){var t,n=P(e),o=te(e),i=null==(t=e.ownerDocument)?void 0:t.body,r=N(n.scrollWidth,n.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),s=N(n.scrollHeight,n.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),a=-o.scrollLeft+ne(e),p=-o.scrollTop;return"rtl"===j(i||n).direction&&(a+=N(n.clientWidth,i?i.clientWidth:0)-r),{width:r,height:s,x:a,y:p}}(P(e)))}function ae(e,t,n){var o="clippingParents"===t?function(e){var t=ie(H(e)),n=["absolute","fixed"].indexOf(j(e).position)>=0&&C(e)?W(e):e;return B(n)?t.filter((function(e){return B(e)&&S(e,n)&&"body"!==O(e)})):[]}(e):[].concat(t),i=[].concat(o,[n]),r=i[0],s=i.reduce((function(t,n){var o=se(e,n);return t.top=N(o.top,t.top),t.right=I(o.right,t.right),t.bottom=I(o.bottom,t.bottom),t.left=N(o.left,t.left),t}),se(e,r));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}function pe(e){var t,n=e.reference,o=e.element,i=e.placement,r=i?T(i):null,s=i?Y(i):null,a=n.x+n.width/2-o.width/2,p=n.y+n.height/2-o.height/2;switch(r){case h:t={x:a,y:n.y-o.height};break;case b:t={x:a,y:n.y+n.height};break;case g:t={x:n.x+n.width,y:p};break;case _:t={x:n.x-o.width,y:p};break;default:t={x:n.x,y:n.y}}var c=r?U(r):null;if(null!=c){var l="y"===c?"height":"width";switch(s){case"start":t[c]=t[c]-(n[l]/2-o[l]/2);break;case"end":t[c]=t[c]+(n[l]/2-o[l]/2)}}return t}function ce(e,t){void 0===t&&(t={});var n=t,o=n.placement,i=void 0===o?e.placement:o,r=n.boundary,s=void 0===r?"clippingParents":r,a=n.rootBoundary,p=void 0===a?"viewport":a,c=n.elementContext,l=void 0===c?"popper":c,u=n.altBoundary,d=void 0!==u&&u,f=n.padding,m=void 0===f?0:f,v=z("number"!=typeof m?m:F(m,y)),_="popper"===l?"reference":"popper",k=e.rects.popper,x=e.elements[d?_:l],w=ae(B(x)?x:x.contextElement||P(e.elements.popper),s,p),O=M(e.elements.reference),E=pe({reference:O,element:k,strategy:"absolute",placement:i}),C=re(Object.assign({},k,E)),V="popper"===l?C:O,L={top:w.top-V.top+v.top,bottom:V.bottom-w.bottom+v.bottom,left:w.left-V.left+v.left,right:V.right-w.right+v.right},T=e.modifiersData.offset;if("popper"===l&&T){var N=T[i];Object.keys(L).forEach((function(e){var t=[g,b].indexOf(e)>=0?1:-1,n=[h,b].indexOf(e)>=0?"y":"x";L[e]+=N[n]*t}))}return L}function le(e,t){void 0===t&&(t={});var n=t,o=n.placement,i=n.boundary,r=n.rootBoundary,s=n.padding,a=n.flipVariations,p=n.allowedAutoPlacements,c=void 0===p?x:p,l=Y(o),u=l?a?k:k.filter((function(e){return Y(e)===l})):y,d=u.filter((function(e){return c.indexOf(e)>=0}));0===d.length&&(d=u,"production"!==process.env.NODE_ENV&&console.error(["Popper: The `allowedAutoPlacements` option did not allow any","placements. Ensure the `placement` option matches the variation","of the allowed placements.",'For example, "auto" cannot be used to allow "bottom-start".','Use "auto-start" instead.'].join(" ")));var f=d.reduce((function(t,n){return t[n]=ce(e,{placement:n,boundary:i,rootBoundary:r,padding:s})[T(n)],t}),{});return Object.keys(f).sort((function(e,t){return f[e]-f[t]}))}function ue(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function de(e){return[h,g,b,_].some((function(t){return e[t]>=0}))}function fe(e,t,n){void 0===n&&(n=!1);var o,i,r=C(t),s=C(t)&&function(e){var t=e.getBoundingClientRect(),n=A(t.width)/e.offsetWidth||1,o=A(t.height)/e.offsetHeight||1;return 1!==n||1!==o}(t),a=P(t),p=M(e,s),c={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(r||!r&&!n)&&(("body"!==O(t)||oe(a))&&(c=(o=t)!==E(o)&&C(o)?{scrollLeft:(i=o).scrollLeft,scrollTop:i.scrollTop}:te(o)),C(t)?((l=M(t,!0)).x+=t.clientLeft,l.y+=t.clientTop):a&&(l.x=ne(a))),{x:p.left+c.scrollLeft-l.x,y:p.top+c.scrollTop-l.y,width:p.width,height:p.height}}function me(e){var t=new Map,n=new Set,o=[];return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||function e(i){n.add(i.name),[].concat(i.requires||[],i.requiresIfExists||[]).forEach((function(o){if(!n.has(o)){var i=t.get(o);i&&e(i)}})),o.push(i)}(e)})),o}function ve(e){for(var t=arguments,n=arguments.length,o=new Array(n>1?n-1:0),i=1;i100){console.error("Popper: An infinite loop in the modifiers cycle has been detected! The cycle has been interrupted to prevent a browser crash.");break}if(!0!==a.reset){var r=a.orderedModifiers[i],s=r.fn,p=r.options,u=void 0===p?{}:p,d=r.name;"function"==typeof s&&(a=s({state:a,options:u,name:d,instance:l})||a)}else a.reset=!1,i=-1}}else"production"!==process.env.NODE_ENV&&console.error(ge)}},update:(i=function(){return new Promise((function(e){l.forceUpdate(),e(a)}))},function(){return s||(s=new Promise((function(e){Promise.resolve().then((function(){s=void 0,e(i())}))}))),s}),destroy:function(){u(),c=!0}};if(!ye(e,t))return"production"!==process.env.NODE_ENV&&console.error(ge),l;function u(){p.forEach((function(e){return e()})),p=[]}return l.setOptions(n).then((function(e){!c&&n.onFirstUpdate&&n.onFirstUpdate(e)})),l}}var xe=ke({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,o=e.options,i=o.scroll,r=void 0===i||i,s=o.resize,a=void 0===s||s,p=E(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return r&&c.forEach((function(e){e.addEventListener("scroll",n.update,G)})),a&&p.addEventListener("resize",n.update,G),function(){r&&c.forEach((function(e){e.removeEventListener("scroll",n.update,G)})),a&&p.removeEventListener("resize",n.update,G)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=pe({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,o=n.gpuAcceleration,i=void 0===o||o,r=n.adaptive,s=void 0===r||r,a=n.roundOffsets,p=void 0===a||a;if("production"!==process.env.NODE_ENV){var c=j(t.elements.popper).transitionProperty||"";s&&["transform","top","right","bottom","left"].some((function(e){return c.indexOf(e)>=0}))&&console.warn(["Popper: Detected CSS transitions on at least one of the following",'CSS properties: "transform", "top", "right", "bottom", "left".',"\n\n",'Disable the "computeStyles" modifier\'s `adaptive` option to allow',"for smooth transitions, or remove these properties from the CSS","transition declaration on the popper element if only transitioning","opacity or background-color for example.","\n\n","We recommend using the popper element as a wrapper around an inner","element that can have any CSS property transitioned for animations."].join(" "))}var l={placement:T(t.placement),variation:Y(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:i,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,X(Object.assign({},l,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:s,roundOffsets:p})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,X(Object.assign({},l,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:p})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},L,{name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,o=e.name,i=n.offset,r=void 0===i?[0,0]:i,s=x.reduce((function(e,n){return e[n]=function(e,t,n){var o=T(e),i=[_,h].indexOf(o)>=0?-1:1,r="function"==typeof n?n(Object.assign({},t,{placement:e})):n,s=r[0],a=r[1];return s=s||0,a=(a||0)*i,[_,g].indexOf(o)>=0?{x:a,y:s}:{x:s,y:a}}(n,t.rects,r),e}),{}),a=s[t.placement],p=a.x,c=a.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=p,t.modifiersData.popperOffsets.y+=c),t.modifiersData[o]=s}},{name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,o=e.name;if(!t.modifiersData[o]._skip){for(var i=n.mainAxis,r=void 0===i||i,s=n.altAxis,a=void 0===s||s,p=n.fallbackPlacements,c=n.padding,l=n.boundary,u=n.rootBoundary,d=n.altBoundary,f=n.flipVariations,m=void 0===f||f,v=n.allowedAutoPlacements,y=t.options.placement,k=T(y),x=p||(k===y||!m?[Q(y)]:function(e){if("auto"===T(e))return[];var t=Q(e);return[ee(e),t,ee(t)]}(y)),w=[y].concat(x).reduce((function(e,n){return e.concat("auto"===T(n)?le(t,{placement:n,boundary:l,rootBoundary:u,padding:c,flipVariations:m,allowedAutoPlacements:v}):n)}),[]),O=t.rects.reference,E=t.rects.popper,B=new Map,C=!0,V=w[0],L=0;L=0,D=M?"width":"height",S=ce(t,{placement:N,boundary:l,rootBoundary:u,altBoundary:d,padding:c}),j=M?A?g:_:A?b:h;O[D]>E[D]&&(j=Q(j));var R=Q(j),P=[];if(r&&P.push(S[I]<=0),a&&P.push(S[j]<=0,S[R]<=0),P.every((function(e){return e}))){V=N,C=!1;break}B.set(N,P)}if(C)for(var H=function(e){var t=w.find((function(t){var n=B.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return V=t,"break"},q=m?3:1;q>0;q--){if("break"===H(q))break}t.placement!==V&&(t.modifiersData[o]._skip=!0,t.placement=V,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},{name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,o=e.name,i=n.mainAxis,r=void 0===i||i,s=n.altAxis,a=void 0!==s&&s,p=n.boundary,c=n.rootBoundary,l=n.altBoundary,u=n.padding,d=n.tether,f=void 0===d||d,m=n.tetherOffset,v=void 0===m?0:m,y=ce(t,{boundary:p,rootBoundary:c,padding:u,altBoundary:l}),k=T(t.placement),x=Y(t.placement),w=!x,O=U(k),E="x"===O?"y":"x",B=t.modifiersData.popperOffsets,C=t.rects.reference,V=t.rects.popper,L="function"==typeof v?v(Object.assign({},t.rects,{placement:t.placement})):v,A="number"==typeof L?{mainAxis:L,altAxis:L}:Object.assign({mainAxis:0,altAxis:0},L),M=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,S={x:0,y:0};if(B){if(r){var j,R="y"===O?h:_,P="y"===O?b:g,H="y"===O?"height":"width",q=B[O],z=q+y[R],F=q-y[P],K=f?-V[H]/2:0,X="start"===x?C[H]:V[H],G="start"===x?-V[H]:-C[H],J=t.elements.arrow,Q=f&&J?D(J):{width:0,height:0},Z=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},ee=Z[R],te=Z[P],ne=$(0,C[H],Q[H]),oe=w?C[H]/2-K-ne-ee-A.mainAxis:X-ne-ee-A.mainAxis,ie=w?-C[H]/2+K+ne+te+A.mainAxis:G+ne+te+A.mainAxis,re=t.elements.arrow&&W(t.elements.arrow),se=re?"y"===O?re.clientTop||0:re.clientLeft||0:0,ae=null!=(j=null==M?void 0:M[O])?j:0,pe=q+ie-ae,le=$(f?I(z,q+oe-ae-se):z,q,f?N(F,pe):F);B[O]=le,S[O]=le-q}if(a){var ue,de="x"===O?h:_,fe="x"===O?b:g,me=B[E],ve="y"===E?"height":"width",he=me+y[de],be=me-y[fe],ge=-1!==[h,_].indexOf(k),_e=null!=(ue=null==M?void 0:M[E])?ue:0,ye=ge?he:me-C[ve]-V[ve]-_e+A.altAxis,ke=ge?me+C[ve]+V[ve]-_e-A.altAxis:be,xe=f&&ge?function(e,t,n){var o=$(e,t,n);return o>n?n:o}(ye,me,ke):$(f?ye:he,me,f?ke:be);B[E]=xe,S[E]=xe-me}t.modifiersData[o]=S}},requiresIfExists:["offset"]},{name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,o=e.name,i=e.options,r=n.elements.arrow,s=n.modifiersData.popperOffsets,a=T(n.placement),p=U(a),c=[_,g].indexOf(a)>=0?"height":"width";if(r&&s){var l=function(e,t){return z("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:F(e,y))}(i.padding,n),u=D(r),d="y"===p?h:_,f="y"===p?b:g,m=n.rects.reference[c]+n.rects.reference[p]-s[p]-n.rects.popper[c],v=s[p]-n.rects.reference[p],k=W(r),x=k?"y"===p?k.clientHeight||0:k.clientWidth||0:0,w=m/2-v/2,O=l[d],E=x-u[c]-l[f],B=x/2-u[c]/2+w,C=$(O,B,E),V=p;n.modifiersData[o]=((t={})[V]=C,t.centerOffset=C-B,t)}},effect:function(e){var t=e.state,n=e.options.element,o=void 0===n?"[data-popper-arrow]":n;null!=o&&("string"!=typeof o||(o=t.elements.popper.querySelector(o)))&&("production"!==process.env.NODE_ENV&&(C(o)||console.error(['Popper: "arrow" element must be an HTMLElement (not an SVGElement).',"To use an SVG arrow, wrap it in an HTMLElement that will be used as","the arrow."].join(" "))),S(t.elements.popper,o)?t.elements.arrow=o:"production"!==process.env.NODE_ENV&&console.error(['Popper: "arrow" modifier\'s `element` must be a child of the popper',"element."].join(" ")))},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,o=t.rects.reference,i=t.rects.popper,r=t.modifiersData.preventOverflow,s=ce(t,{elementContext:"reference"}),a=ce(t,{altBoundary:!0}),p=ue(s,o),c=ue(a,i,r),l=de(p),u=de(c);t.modifiersData[n]={referenceClippingOffsets:p,popperEscapeOffsets:c,isReferenceHidden:l,hasPopperEscaped:u},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":l,"data-popper-escaped":u})}}]}),we={passive:!0,capture:!0},Oe=function(){return document.body};function Ee(e,t,n){if(Array.isArray(e)){var o=e[t];return null==o?Array.isArray(n)?n[t]:n:o}return e}function Be(e,t){var n={}.toString.call(e);return 0===n.indexOf("[object")&&n.indexOf(t+"]")>-1}function Ce(e,t){return"function"==typeof e?e.apply(void 0,t):e}function Ve(e,t){return 0===t?e:function(o){clearTimeout(n),n=setTimeout((function(){e(o)}),t)};var n}function Le(e){return[].concat(e)}function Te(e,t){-1===e.indexOf(t)&&e.push(t)}function Ne(e){return[].slice.call(e)}function Ie(e){return Object.keys(e).reduce((function(t,n){return void 0!==e[n]&&(t[n]=e[n]),t}),{})}function Ae(){return document.createElement("div")}function Me(e){return["Element","Fragment"].some((function(t){return Be(e,t)}))}function De(e){return!(!e||!e._tippy||e._tippy.reference!==e)}function Se(e){return Me(e)?[e]:function(e){return Be(e,"NodeList")}(e)?Ne(e):Array.isArray(e)?e:Ne(document.querySelectorAll(e))}function je(e,t){e.forEach((function(e){e&&(e.style.transitionDuration=t+"ms")}))}function Re(e,t){e.forEach((function(e){e&&e.setAttribute("data-state",t)}))}function Pe(e,t,n){var o=t+"EventListener";["transitionend","webkitTransitionEnd"].forEach((function(t){e[o](t,n)}))}function He(e,t){for(var n=t;n;){var o;if(e.contains(n))return!0;n=null==n.getRootNode||null==(o=n.getRootNode())?void 0:o.host}return!1}var qe={isTouch:!1},We=0;function Ue(){qe.isTouch||(qe.isTouch=!0,window.performance&&document.addEventListener("mousemove",$e))}function $e(){var e=performance.now();e-We<20&&(qe.isTouch=!1,document.removeEventListener("mousemove",$e)),We=e}function ze(){var e=document.activeElement;if(De(e)){var t=e._tippy;e.blur&&!t.state.isVisible&&e.blur()}}var Fe,Ye=!!("undefined"!=typeof window&&"undefined"!=typeof document)&&!!window.msCrypto;function Ke(e){return[e+"() was called on a"+("destroy"===e?"n already-":" ")+"destroyed instance. This is a no-op but","indicates a potential memory leak."].join(" ")}function Xe(e){return e.replace(/[ \t]{2,}/g," ").replace(/^[ \t]*/gm,"").trim()}function Ge(e){return Xe("\n %ctippy.js\n\n %c"+Xe(e)+"\n\n %c👷‍ This is a development-only message. It will be removed in production.\n ")}function Je(e){return[Ge(e),"color: #00C584; font-size: 1.3em; font-weight: bold;","line-height: 1.5","color: #a6a095;"]}function Qe(e,t){var n;e&&!Fe.has(t)&&(Fe.add(t),(n=console).warn.apply(n,Je(t)))}function Ze(e,t){var n;e&&!Fe.has(t)&&(Fe.add(t),(n=console).error.apply(n,Je(t)))}"production"!==process.env.NODE_ENV&&(Fe=new Set);var et={animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},tt=Object.assign({appendTo:Oe,aria:{content:"auto",expanded:"auto"},delay:0,duration:[300,250],getReferenceClientRect:null,hideOnClick:!0,ignoreAttributes:!1,interactive:!1,interactiveBorder:2,interactiveDebounce:0,moveTransition:"",offset:[0,10],onAfterUpdate:function(){},onBeforeUpdate:function(){},onCreate:function(){},onDestroy:function(){},onHidden:function(){},onHide:function(){},onMount:function(){},onShow:function(){},onShown:function(){},onTrigger:function(){},onUntrigger:function(){},onClickOutside:function(){},placement:"top",plugins:[],popperOptions:{},render:null,showOnCreate:!1,touch:!0,trigger:"mouseenter focus",triggerTarget:null},et,{allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999}),nt=Object.keys(tt);function ot(e){var t=(e.plugins||[]).reduce((function(t,n){var o,i=n.name,r=n.defaultValue;i&&(t[i]=void 0!==e[i]?e[i]:null!=(o=tt[i])?o:r);return t}),{});return Object.assign({},e,t)}function it(e,t){var n=Object.assign({},t,{content:Ce(t.content,[e])},t.ignoreAttributes?{}:function(e,t){return(t?Object.keys(ot(Object.assign({},tt,{plugins:t}))):nt).reduce((function(t,n){var o=(e.getAttribute("data-tippy-"+n)||"").trim();if(!o)return t;if("content"===n)t[n]=o;else try{t[n]=JSON.parse(o)}catch(e){t[n]=o}return t}),{})}(e,t.plugins));return n.aria=Object.assign({},tt.aria,n.aria),n.aria={expanded:"auto"===n.aria.expanded?t.interactive:n.aria.expanded,content:"auto"===n.aria.content?t.interactive?null:"describedby":n.aria.content},n}function rt(e,t){void 0===e&&(e={}),void 0===t&&(t=[]),Object.keys(e).forEach((function(e){var n,o,i=function(e,t){var n=Object.assign({},e);return t.forEach((function(e){delete n[e]})),n}(tt,Object.keys(et)),r=(n=i,o=e,!{}.hasOwnProperty.call(n,o));r&&(r=0===t.filter((function(t){return t.name===e})).length),Qe(r,["`"+e+"`","is not a valid prop. You may have spelled it incorrectly, or if it's","a plugin, forgot to pass it in an array as props.plugins.","\n\n","All props: https://atomiks.github.io/tippyjs/v6/all-props/\n","Plugins: https://atomiks.github.io/tippyjs/v6/plugins/"].join(" "))}))}function st(e,t){e.innerHTML=t}function at(e){var t=Ae();return!0===e?t.className="tippy-arrow":(t.className="tippy-svg-arrow",Me(e)?t.appendChild(e):st(t,e)),t}function pt(e,t){Me(t.content)?(st(e,""),e.appendChild(t.content)):"function"!=typeof t.content&&(t.allowHTML?st(e,t.content):e.textContent=t.content)}function ct(e){var t=e.firstElementChild,n=Ne(t.children);return{box:t,content:n.find((function(e){return e.classList.contains("tippy-content")})),arrow:n.find((function(e){return e.classList.contains("tippy-arrow")||e.classList.contains("tippy-svg-arrow")})),backdrop:n.find((function(e){return e.classList.contains("tippy-backdrop")}))}}function lt(e){var t=Ae(),n=Ae();n.className="tippy-box",n.setAttribute("data-state","hidden"),n.setAttribute("tabindex","-1");var o=Ae();function i(n,o){var i=ct(t),r=i.box,s=i.content,a=i.arrow;o.theme?r.setAttribute("data-theme",o.theme):r.removeAttribute("data-theme"),"string"==typeof o.animation?r.setAttribute("data-animation",o.animation):r.removeAttribute("data-animation"),o.inertia?r.setAttribute("data-inertia",""):r.removeAttribute("data-inertia"),r.style.maxWidth="number"==typeof o.maxWidth?o.maxWidth+"px":o.maxWidth,o.role?r.setAttribute("role",o.role):r.removeAttribute("role"),n.content===o.content&&n.allowHTML===o.allowHTML||pt(s,e.props),o.arrow?a?n.arrow!==o.arrow&&(r.removeChild(a),r.appendChild(at(o.arrow))):r.appendChild(at(o.arrow)):a&&r.removeChild(a)}return o.className="tippy-content",o.setAttribute("data-state","hidden"),pt(o,e.props),t.appendChild(n),n.appendChild(o),i(e.props,e.props),{popper:t,onUpdate:i}}lt.$$tippy=!0;var ut=1,dt=[],ft=[];function mt(e,t){var n,o,i,r,s,a,p,c,l=it(e,Object.assign({},tt,ot(Ie(t)))),u=!1,d=!1,f=!1,m=!1,v=[],h=Ve(Y,l.interactiveDebounce),b=ut++,g=(c=l.plugins).filter((function(e,t){return c.indexOf(e)===t})),_={id:b,reference:e,popper:Ae(),popperInstance:null,props:l,state:{isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},plugins:g,clearDelayTimeouts:function(){clearTimeout(n),clearTimeout(o),cancelAnimationFrame(i)},setProps:function(t){"production"!==process.env.NODE_ENV&&Qe(_.state.isDestroyed,Ke("setProps"));if(_.state.isDestroyed)return;A("onBeforeUpdate",[_,t]),z();var n=_.props,o=it(e,Object.assign({},n,Ie(t),{ignoreAttributes:!0}));_.props=o,$(),n.interactiveDebounce!==o.interactiveDebounce&&(S(),h=Ve(Y,o.interactiveDebounce));n.triggerTarget&&!o.triggerTarget?Le(n.triggerTarget).forEach((function(e){e.removeAttribute("aria-expanded")})):o.triggerTarget&&e.removeAttribute("aria-expanded");D(),I(),x&&x(n,o);_.popperInstance&&(J(),Z().forEach((function(e){requestAnimationFrame(e._tippy.popperInstance.forceUpdate)})));A("onAfterUpdate",[_,t])},setContent:function(e){_.setProps({content:e})},show:function(){"production"!==process.env.NODE_ENV&&Qe(_.state.isDestroyed,Ke("show"));var e=_.state.isVisible,t=_.state.isDestroyed,n=!_.state.isEnabled,o=qe.isTouch&&!_.props.touch,i=Ee(_.props.duration,0,tt.duration);if(e||t||n||o)return;if(V().hasAttribute("disabled"))return;if(A("onShow",[_],!1),!1===_.props.onShow(_))return;_.state.isVisible=!0,C()&&(k.style.visibility="visible");I(),H(),_.state.isMounted||(k.style.transition="none");if(C()){var r=T(),s=r.box,p=r.content;je([s,p],0)}a=function(){var e;if(_.state.isVisible&&!m){if(m=!0,k.offsetHeight,k.style.transition=_.props.moveTransition,C()&&_.props.animation){var t=T(),n=t.box,o=t.content;je([n,o],i),Re([n,o],"visible")}M(),D(),Te(ft,_),null==(e=_.popperInstance)||e.forceUpdate(),A("onMount",[_]),_.props.animation&&C()&&function(e,t){W(e,t)}(i,(function(){_.state.isShown=!0,A("onShown",[_])}))}},function(){var e,t=_.props.appendTo,n=V();e=_.props.interactive&&t===Oe||"parent"===t?n.parentNode:Ce(t,[n]);e.contains(k)||e.appendChild(k);_.state.isMounted=!0,J(),"production"!==process.env.NODE_ENV&&Qe(_.props.interactive&&t===tt.appendTo&&n.nextElementSibling!==k,["Interactive tippy element may not be accessible via keyboard","navigation because it is not directly after the reference element","in the DOM source order.","\n\n","Using a wrapper
or tag around the reference element","solves this by creating a new parentNode context.","\n\n","Specifying `appendTo: document.body` silences this warning, but it","assumes you are using a focus management solution to handle","keyboard navigation.","\n\n","See: https://atomiks.github.io/tippyjs/v6/accessibility/#interactivity"].join(" "))}()},hide:function(){"production"!==process.env.NODE_ENV&&Qe(_.state.isDestroyed,Ke("hide"));var e=!_.state.isVisible,t=_.state.isDestroyed,n=!_.state.isEnabled,o=Ee(_.props.duration,1,tt.duration);if(e||t||n)return;if(A("onHide",[_],!1),!1===_.props.onHide(_))return;_.state.isVisible=!1,_.state.isShown=!1,m=!1,u=!1,C()&&(k.style.visibility="hidden");if(S(),q(),I(!0),C()){var i=T(),r=i.box,s=i.content;_.props.animation&&(je([r,s],o),Re([r,s],"hidden"))}M(),D(),_.props.animation?C()&&function(e,t){W(e,(function(){!_.state.isVisible&&k.parentNode&&k.parentNode.contains(k)&&t()}))}(o,_.unmount):_.unmount()},hideWithInteractivity:function(e){"production"!==process.env.NODE_ENV&&Qe(_.state.isDestroyed,Ke("hideWithInteractivity"));L().addEventListener("mousemove",h),Te(dt,h),h(e)},enable:function(){_.state.isEnabled=!0},disable:function(){_.hide(),_.state.isEnabled=!1},unmount:function(){"production"!==process.env.NODE_ENV&&Qe(_.state.isDestroyed,Ke("unmount"));_.state.isVisible&&_.hide();if(!_.state.isMounted)return;Q(),Z().forEach((function(e){e._tippy.unmount()})),k.parentNode&&k.parentNode.removeChild(k);ft=ft.filter((function(e){return e!==_})),_.state.isMounted=!1,A("onHidden",[_])},destroy:function(){"production"!==process.env.NODE_ENV&&Qe(_.state.isDestroyed,Ke("destroy"));if(_.state.isDestroyed)return;_.clearDelayTimeouts(),_.unmount(),z(),delete e._tippy,_.state.isDestroyed=!0,A("onDestroy",[_])}};if(!l.render)return"production"!==process.env.NODE_ENV&&Ze(!0,"render() function has not been supplied."),_;var y=l.render(_),k=y.popper,x=y.onUpdate;k.setAttribute("data-tippy-root",""),k.id="tippy-"+_.id,_.popper=k,e._tippy=_,k._tippy=_;var w=g.map((function(e){return e.fn(_)})),O=e.hasAttribute("aria-expanded");return $(),D(),I(),A("onCreate",[_]),l.showOnCreate&&ee(),k.addEventListener("mouseenter",(function(){_.props.interactive&&_.state.isVisible&&_.clearDelayTimeouts()})),k.addEventListener("mouseleave",(function(){_.props.interactive&&_.props.trigger.indexOf("mouseenter")>=0&&L().addEventListener("mousemove",h)})),_;function E(){var e=_.props.touch;return Array.isArray(e)?e:[e,0]}function B(){return"hold"===E()[0]}function C(){var e;return!(null==(e=_.props.render)||!e.$$tippy)}function V(){return p||e}function L(){var e,t,n=V().parentNode;return n?null!=(t=Le(n)[0])&&null!=(e=t.ownerDocument)&&e.body?t.ownerDocument:document:document}function T(){return ct(k)}function N(e){return _.state.isMounted&&!_.state.isVisible||qe.isTouch||r&&"focus"===r.type?0:Ee(_.props.delay,e?0:1,tt.delay)}function I(e){void 0===e&&(e=!1),k.style.pointerEvents=_.props.interactive&&!e?"":"none",k.style.zIndex=""+_.props.zIndex}function A(e,t,n){var o;(void 0===n&&(n=!0),w.forEach((function(n){n[e]&&n[e].apply(n,t)})),n)&&(o=_.props)[e].apply(o,t)}function M(){var t=_.props.aria;if(t.content){var n="aria-"+t.content,o=k.id;Le(_.props.triggerTarget||e).forEach((function(e){var t=e.getAttribute(n);if(_.state.isVisible)e.setAttribute(n,t?t+" "+o:o);else{var i=t&&t.replace(o,"").trim();i?e.setAttribute(n,i):e.removeAttribute(n)}}))}}function D(){!O&&_.props.aria.expanded&&Le(_.props.triggerTarget||e).forEach((function(e){_.props.interactive?e.setAttribute("aria-expanded",_.state.isVisible&&e===V()?"true":"false"):e.removeAttribute("aria-expanded")}))}function S(){L().removeEventListener("mousemove",h),dt=dt.filter((function(e){return e!==h}))}function j(t){if(!qe.isTouch||!f&&"mousedown"!==t.type){var n=t.composedPath&&t.composedPath()[0]||t.target;if(!_.props.interactive||!He(k,n)){if(Le(_.props.triggerTarget||e).some((function(e){return He(e,n)}))){if(qe.isTouch)return;if(_.state.isVisible&&_.props.trigger.indexOf("click")>=0)return}else A("onClickOutside",[_,t]);!0===_.props.hideOnClick&&(_.clearDelayTimeouts(),_.hide(),d=!0,setTimeout((function(){d=!1})),_.state.isMounted||q())}}}function R(){f=!0}function P(){f=!1}function H(){var e=L();e.addEventListener("mousedown",j,!0),e.addEventListener("touchend",j,we),e.addEventListener("touchstart",P,we),e.addEventListener("touchmove",R,we)}function q(){var e=L();e.removeEventListener("mousedown",j,!0),e.removeEventListener("touchend",j,we),e.removeEventListener("touchstart",P,we),e.removeEventListener("touchmove",R,we)}function W(e,t){var n=T().box;function o(e){e.target===n&&(Pe(n,"remove",o),t())}if(0===e)return t();Pe(n,"remove",s),Pe(n,"add",o),s=o}function U(t,n,o){void 0===o&&(o=!1),Le(_.props.triggerTarget||e).forEach((function(e){e.addEventListener(t,n,o),v.push({node:e,eventType:t,handler:n,options:o})}))}function $(){var e;B()&&(U("touchstart",F,{passive:!0}),U("touchend",K,{passive:!0})),(e=_.props.trigger,e.split(/\s+/).filter(Boolean)).forEach((function(e){if("manual"!==e)switch(U(e,F),e){case"mouseenter":U("mouseleave",K);break;case"focus":U(Ye?"focusout":"blur",X);break;case"focusin":U("focusout",X)}}))}function z(){v.forEach((function(e){var t=e.node,n=e.eventType,o=e.handler,i=e.options;t.removeEventListener(n,o,i)})),v=[]}function F(e){var t,n=!1;if(_.state.isEnabled&&!G(e)&&!d){var o="focus"===(null==(t=r)?void 0:t.type);r=e,p=e.currentTarget,D(),!_.state.isVisible&&Be(e,"MouseEvent")&&dt.forEach((function(t){return t(e)})),"click"===e.type&&(_.props.trigger.indexOf("mouseenter")<0||u)&&!1!==_.props.hideOnClick&&_.state.isVisible?n=!0:ee(e),"click"===e.type&&(u=!n),n&&!o&&te(e)}}function Y(e){var t=e.target,n=V().contains(t)||k.contains(t);"mousemove"===e.type&&n||function(e,t){var n=t.clientX,o=t.clientY;return e.every((function(e){var t=e.popperRect,i=e.popperState,r=e.props.interactiveBorder,s=i.placement.split("-")[0],a=i.modifiersData.offset;if(!a)return!0;var p="bottom"===s?a.top.y:0,c="top"===s?a.bottom.y:0,l="right"===s?a.left.x:0,u="left"===s?a.right.x:0,d=t.top-o+p>r,f=o-t.bottom-c>r,m=t.left-n+l>r,v=n-t.right-u>r;return d||f||m||v}))}(Z().concat(k).map((function(e){var t,n=null==(t=e._tippy.popperInstance)?void 0:t.state;return n?{popperRect:e.getBoundingClientRect(),popperState:n,props:l}:null})).filter(Boolean),e)&&(S(),te(e))}function K(e){G(e)||_.props.trigger.indexOf("click")>=0&&u||(_.props.interactive?_.hideWithInteractivity(e):te(e))}function X(e){_.props.trigger.indexOf("focusin")<0&&e.target!==V()||_.props.interactive&&e.relatedTarget&&k.contains(e.relatedTarget)||te(e)}function G(e){return!!qe.isTouch&&B()!==e.type.indexOf("touch")>=0}function J(){Q();var t=_.props,n=t.popperOptions,o=t.placement,i=t.offset,r=t.getReferenceClientRect,s=t.moveTransition,p=C()?ct(k).arrow:null,c=r?{getBoundingClientRect:r,contextElement:r.contextElement||V()}:e,l=[{name:"offset",options:{offset:i}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5}},{name:"computeStyles",options:{adaptive:!s}},{name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(e){var t=e.state;if(C()){var n=T().box;["placement","reference-hidden","escaped"].forEach((function(e){"placement"===e?n.setAttribute("data-placement",t.placement):t.attributes.popper["data-popper-"+e]?n.setAttribute("data-"+e,""):n.removeAttribute("data-"+e)})),t.attributes.popper={}}}}];C()&&p&&l.push({name:"arrow",options:{element:p,padding:3}}),l.push.apply(l,(null==n?void 0:n.modifiers)||[]),_.popperInstance=xe(c,k,Object.assign({},n,{placement:o,onFirstUpdate:a,modifiers:l}))}function Q(){_.popperInstance&&(_.popperInstance.destroy(),_.popperInstance=null)}function Z(){return Ne(k.querySelectorAll("[data-tippy-root]"))}function ee(e){_.clearDelayTimeouts(),e&&A("onTrigger",[_,e]),H();var t=N(!0),o=E(),i=o[0],r=o[1];qe.isTouch&&"hold"===i&&r&&(t=r),t?n=setTimeout((function(){_.show()}),t):_.show()}function te(e){if(_.clearDelayTimeouts(),A("onUntrigger",[_,e]),_.state.isVisible){if(!(_.props.trigger.indexOf("mouseenter")>=0&&_.props.trigger.indexOf("click")>=0&&["mouseleave","mousemove"].indexOf(e.type)>=0&&u)){var t=N(!1);t?o=setTimeout((function(){_.state.isVisible&&_.hide()}),t):i=requestAnimationFrame((function(){_.hide()}))}}else q()}}function vt(e,t){void 0===t&&(t={});var n=tt.plugins.concat(t.plugins||[]);"production"!==process.env.NODE_ENV&&(!function(e){var t=!e,n="[object Object]"===Object.prototype.toString.call(e)&&!e.addEventListener;Ze(t,["tippy() was passed","`"+String(e)+"`","as its targets (first) argument. Valid types are: String, Element,","Element[], or NodeList."].join(" ")),Ze(n,["tippy() was passed a plain object which is not supported as an argument","for virtual positioning. Use props.getReferenceClientRect instead."].join(" "))}(e),rt(t,n)),document.addEventListener("touchstart",Ue,we),window.addEventListener("blur",ze);var o=Object.assign({},t,{plugins:n}),i=Se(e);if("production"!==process.env.NODE_ENV){var r=Me(o.content),s=i.length>1;Qe(r&&s,["tippy() was passed an Element as the `content` prop, but more than","one tippy instance was created by this invocation. This means the","content element will only be appended to the last tippy instance.","\n\n","Instead, pass the .innerHTML of the element, or use a function that","returns a cloned version of the element instead.","\n\n","1) content: element.innerHTML\n","2) content: () => element.cloneNode(true)"].join(" "))}var a=i.reduce((function(e,t){var n=t&&mt(t,o);return n&&e.push(n),e}),[]);return Me(e)?a[0]:a}vt.defaultProps=tt,vt.setDefaultProps=function(e){"production"!==process.env.NODE_ENV&&rt(e,[]),Object.keys(e).forEach((function(t){tt[t]=e[t]}))},vt.currentInput=qe;var ht=function(e){var t=void 0===e?{}:e,n=t.exclude,o=t.duration;ft.forEach((function(e){var t=!1;if(n&&(t=De(n)?e.reference===n:e.popper===n.popper),!t){var i=e.props.duration;e.setProps({duration:o}),e.hide(),e.state.isDestroyed||e.setProps({duration:i})}}))};Object.assign({},L,{effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow)}}),vt.setDefaultProps({render:lt});var bt={name:"desktop-menu-item-link",props:{option:{type:Object,required:!0},options:{type:Object,required:!0}},data:function(){return{currentExpandedStatus:"closed"}},computed:{isExpanded:function(){return"open"===this.currentExpandedStatus}},methods:{subMenuItemSelected:function(e){this.closeAllTooltips()},subMenuItemTabbed:function(e){this.option.subMenuOptions[this.option.subMenuOptions.length-1].text===e&&this.closeAllTooltips()},menuShown:function(){this.currentExpandedStatus="open"},menuHidden:function(){this.currentExpandedStatus="closed"},closeAllTooltips:function(){ht()},initTippy:function(){var e=this,t=document.getElementById("dropdown-menu-parent-"+this.option.id),n=document.getElementById("sub-menu-options-"+this.option.id);n.style.display="block",vt(t,{theme:"light",content:n,interactive:!0,animation:this.options.tooltipAnimationType,role:"Menu",trigger:"click mouseenter focus",appendTo:"parent",arrow:!0,inertia:!1,placement:this.options.tooltipPlacement,popperOptions:{modifiers:[{name:"flip",options:{fallbackPlacements:[this.options.tooltipPlacement]}}]},onShow:function(t){ht({exclude:t}),e.menuShown()},onHide:function(){e.menuHidden()}})}},mounted:function(){this.option.subMenuOptions&&this.option.subMenuOptions.length&&this.initTippy()},components:{DynamicLink:i},emits:["vnb-item-clicked"]},gt=["innerHTML"],_t=["innerHTML"],yt=["id","aria-expanded","aria-label"],kt=["innerHTML"],xt=["innerHTML"],wt=[t.createElementVNode("title",null,"Toggle Arrow",-1),t.createElementVNode("path",{d:"m12 268c-7-7-12-17-12-23 0-13 232-245 245-245 6 0 64 54 129 119 119 119 132 142 90 158-11 4-44-23-113-91-53-53-101-96-106-96-6 0-53 43-105 95s-99 95-105 95-16-5-23-12z",transform:"matrix(.1 0 0 -.1 0 28)"},null,-1)],Ot=["id"],Et={class:"vnb__sub-menu-options__option",tabindex:"-1"},Bt=["innerHTML"],Ct={class:"vnb__sub-menu-options__option__link__text-wrapper"},Vt={class:"vnb__sub-menu-options__option__link__text-wrapper__text"},Lt={key:0,class:"vnb__sub-menu-options__option__link__text-wrapper__sub-text"},Tt=["innerHTML"],Nt={key:1,class:"vnb__sub-menu-options__option__hr",tabindex:"-1"};bt.render=function(e,n,o,i,r,s){var a=t.resolveComponent("dynamic-link");return o.option.subMenuOptions&&o.option.subMenuOptions.length?(t.openBlock(),t.createElementBlock("span",{key:1,class:"vnb__menu-options__option__link",id:"dropdown-menu-parent-"+o.option.id,"aria-haspopup":"true","aria-expanded":s.isExpanded?"true":"false","aria-label":o.option.text,tabindex:"0"},[o.option.iconLeft?(t.openBlock(),t.createElementBlock("span",{key:0,class:"vnb__menu-options__option__link__icon vnb__menu-options__option__button__icon--left",innerHTML:o.option.iconLeft},null,8,kt)):t.createCommentVNode("v-if",!0),t.createTextVNode(" "+t.toDisplayString(o.option.text)+" ",1),o.option.iconRight?(t.openBlock(),t.createElementBlock("span",{key:1,class:"vnb__menu-options__option__link__icon vnb__menu-options__option__button__icon--right",innerHTML:o.option.iconRight},null,8,xt)):t.createCommentVNode("v-if",!0),(t.openBlock(),t.createElementBlock("svg",{height:"28pt",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 49 28",width:"49pt",xmlns:"http://www.w3.org/2000/svg",style:t.normalizeStyle({fill:o.option.arrowColor}),class:t.normalizeClass(["vnb__menu-options__option__arrow",{"vnb__menu-options__option__arrow--hover":s.isExpanded}])},wt,6)),"link"===o.option.type?(t.openBlock(),t.createElementBlock("div",{key:2,class:"vnb__sub-menu-options",id:"sub-menu-options-"+o.option.id},[t.createElementVNode("div",Et,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(o.option.subMenuOptions,(function(n,i){return t.openBlock(),t.createElementBlock("div",null,["link"===n.type?(t.openBlock(),t.createBlock(a,{path:n.path,isUsingVueRouter:o.options.isUsingVueRouter,key:i,class:"vnb__sub-menu-options__option__link",onClick:function(t){s.subMenuItemSelected(n.text),e.$emit("vnb-item-clicked",n.text)},"aria-label":n.text,tabindex:"0",onKeydown:t.withKeys((function(e){return s.subMenuItemTabbed(n.text)}),["tab"]),isLinkAction:!!n.isLinkAction},{content:t.withCtx((function(){return[n.iconLeft?(t.openBlock(),t.createElementBlock("span",{key:0,class:"vnb__sub-menu-options__option__link__icon vnb__sub-menu-options__option__link__icon--left",innerHTML:n.iconLeft},null,8,Bt)):t.createCommentVNode("v-if",!0),t.createElementVNode("span",Ct,[t.createElementVNode("span",Vt,t.toDisplayString(n.text),1),n.subText?(t.openBlock(),t.createElementBlock("span",Lt,t.toDisplayString(n.subText),1)):t.createCommentVNode("v-if",!0)]),n.iconRight?(t.openBlock(),t.createElementBlock("span",{key:1,class:"vnb__sub-menu-options__option__link__icon vnb__sub-menu-options__option__link__icon--right",innerHTML:n.iconRight},null,8,Tt)):t.createCommentVNode("v-if",!0)]})),_:2},1032,["path","isUsingVueRouter","onClick","aria-label","onKeydown","isLinkAction"])):(t.openBlock(),t.createElementBlock("hr",Nt))])})),256))])],8,Ot)):t.createCommentVNode("v-if",!0)],8,yt)):(t.openBlock(),t.createBlock(a,{key:0,path:o.option.path,isUsingVueRouter:o.options.isUsingVueRouter,class:"vnb__menu-options__option__link","aria-label":o.option.text,tabindex:"0",isLinkAction:!!o.option.isLinkAction,onClick:n[0]||(n[0]=function(t){return e.$emit("vnb-item-clicked",o.option.text)})},{content:t.withCtx((function(){return[o.option.iconLeft?(t.openBlock(),t.createElementBlock("span",{key:0,class:"vnb__menu-options__option__link__icon vnb__menu-options__option__button__icon--left",innerHTML:o.option.iconLeft},null,8,gt)):t.createCommentVNode("v-if",!0),t.createTextVNode(" "+t.toDisplayString(o.option.text)+" ",1),o.option.iconRight?(t.openBlock(),t.createElementBlock("span",{key:1,class:"vnb__menu-options__option__link__icon vnb__menu-options__option__button__icon--right",innerHTML:o.option.iconRight},null,8,_t)):t.createCommentVNode("v-if",!0)]})),_:1},8,["path","isUsingVueRouter","aria-label","isLinkAction"]))},bt.__file="src/components/DesktopMenuItemLink.vue";var It={name:"desktop-menu-item-spacer",props:{option:{type:Object,required:!0}},data:function(){return{}}},At={class:"vnb__menu-options__option__spacer"};It.render=function(e,n,o,i,r,s){return t.openBlock(),t.createElementBlock("div",At)},It.__file="src/components/DesktopMenuItemSpacer.vue";var Mt={name:"menu-options",mixins:[n],props:{options:{type:Object,required:!0},type:{type:String,required:!0}},data:function(){return{}},methods:{vnbItemClicked:function(e){this.$emit("vnb-item-clicked",e)}},components:{DesktopMenuItemLink:bt,DesktopMenuItemButton:f,DesktopMenuItemSpacer:It},emits:["vnb-item-clicked"]};Mt.render=function(e,n,o,i,r,s){var a=t.resolveComponent("desktop-menu-item-link"),p=t.resolveComponent("desktop-menu-item-button"),c=t.resolveComponent("desktop-menu-item-spacer");return e.$vssWidth>o.options.mobileBreakpoint?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(["vnb__menu-options",{"vnb__menu-options--left":"left"===o.type},{"vnb__menu-options--right":"right"===o.type}])},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList("left"===o.type?o.options.menuOptionsLeft:o.options.menuOptionsRight,(function(e,n){return t.openBlock(),t.createElementBlock("div",{key:n,class:"vnb__menu-options__option"},["link"===e.type?(t.openBlock(),t.createBlock(a,{key:0,option:e,options:o.options,onVnbItemClicked:s.vnbItemClicked},null,8,["option","options","onVnbItemClicked"])):"button"===e.type?(t.openBlock(),t.createBlock(p,{key:1,option:e,options:o.options,onVnbItemClicked:s.vnbItemClicked},null,8,["option","options","onVnbItemClicked"])):(t.openBlock(),t.createBlock(c,{key:2,option:e},null,8,["option"]))])})),128))],2)):t.createCommentVNode("v-if",!0)},Mt.__file="src/components/MenuOptions.vue";var Dt={name:"popup",props:{options:{type:Object,required:!0},menuIsVisible:{type:Boolean,required:!0}},data:function(){return{}},computed:{combinedMenuItems:function(){return this.options.menuOptionsLeft.concat(this.options.menuOptionsRight)}},methods:{closeButtonClicked:function(){this.$emit("close-button-clicked")},itemSelected:function(e){this.$emit("vnb-item-clicked",e.text),this.closeButtonClicked()}},components:{DynamicLink:i},emits:["close-button-clicked","vnb-item-clicked"]},St={key:0,class:"vnb__popup"},jt={class:"vnb__popup__top"},Rt=["src","alt"],Pt=["aria-expanded"],Ht=["src"],qt=[t.createElementVNode("title",null,"Close button",-1),t.createElementVNode("path",{d:"m42 967c-12-13-22-27-22-33 0-5 93-102 207-216l208-208-208-208c-114-114-207-214-207-223 0-8 11-26 25-39l26-24 214 214 215 215 215-215 214-214 26 24c14 13 25 28 25 34s-92 103-205 216-205 209-205 215 92 102 205 215 205 210 205 216c0 12-42 54-55 54-5 0-104-94-220-210l-210-210-210 210c-115 116-212 210-216 210-3 0-15-10-27-23z",transform:"matrix(.1 0 0 -.1 0 100)"},null,-1)],Wt={class:"vnb__popup__bottom"},Ut={key:0,class:"vnb__popup__bottom__custom-section"},$t={class:"vnb__popup__bottom__menu-options"},zt=["innerHTML"],Ft=["innerHTML"],Yt={key:1,class:"vnb__popup__bottom__menu-options__option__link vnb__popup__bottom__menu-options__option__link--no-highlight"},Kt={class:"vnb__popup__bottom__sub-menu-options"},Xt={class:"vnb__popup__bottom__sub-menu-options__option__link__sub-text"};Dt.render=function(e,n,o,i,r,s){var a=t.resolveComponent("dynamic-link");return o.menuIsVisible?(t.openBlock(),t.createElementBlock("div",St,[t.createElementVNode("div",jt,[o.options.showBrandImageInMobilePopup&&o.options.brandImage?(t.openBlock(),t.createElementBlock("img",{key:0,src:o.options.brandImage,alt:o.options.brandImageAltText,class:"vnb-image vnb__popup__top__image"},null,8,Rt)):t.createCommentVNode("v-if",!0),t.createElementVNode("button",{class:"vnb__popup__top__close-button",onClick:n[0]||(n[0]=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return s.closeButtonClicked&&s.closeButtonClicked.apply(s,e)}),"aria-label":"Close Button",title:"Close","aria-expanded":o.menuIsVisible?"true":"false"},[o.options.collapseButtonImageClose?(t.openBlock(),t.createElementBlock("img",{key:0,src:o.options.collapseButtonImageClose,alt:"Close button",class:"vnb__popup__top__close-button__image"},null,8,Ht)):(t.openBlock(),t.createElementBlock("svg",{key:1,height:"100pt",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 100 100",width:"100pt",xmlns:"http://www.w3.org/2000/svg",class:"vnb__popup__top__close-button__image",style:t.normalizeStyle({fill:o.options.collapseButtonCloseColor})},qt,4))],8,Pt)]),t.createElementVNode("div",Wt,[this.$slots["custom-section"]?(t.openBlock(),t.createElementBlock("div",Ut,[t.renderSlot(e.$slots,"custom-section")])):t.createCommentVNode("v-if",!0),t.createElementVNode("ul",$t,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(s.combinedMenuItems,(function(e,n){return t.openBlock(),t.createElementBlock("li",{key:n,class:"vnb__popup__bottom__menu-options__option"},[e.subMenuOptions?(t.openBlock(),t.createElementBlock("span",Yt,t.toDisplayString(e.text),1)):(t.openBlock(),t.createBlock(a,{key:0,path:e.path,isUsingVueRouter:o.options.isUsingVueRouter,class:t.normalizeClass(["vnb__popup__bottom__menu-options__option__link",e.class]),onClick:function(t){return s.itemSelected(e)},"aria-label":e.text,isLinkAction:!!e.isLinkAction},{content:t.withCtx((function(){return[e.iconLeft?(t.openBlock(),t.createElementBlock("span",{key:0,class:"vnb__popup__bottom__menu-options__option__link__icon vnb__popup__bottom__menu-options__option__link__icon--left",innerHTML:e.iconLeft},null,8,zt)):t.createCommentVNode("v-if",!0),t.createTextVNode(" "+t.toDisplayString(e.text)+" ",1),e.iconRight?(t.openBlock(),t.createElementBlock("span",{key:1,class:"vnb__popup__bottom__menu-options__option__link__icon vnb__popup__bottom__menu-options__option__link__icon--right",innerHTML:e.iconRight},null,8,Ft)):t.createCommentVNode("v-if",!0)]})),_:2},1032,["path","isUsingVueRouter","class","onClick","aria-label","isLinkAction"])),t.createElementVNode("div",Kt,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.subMenuOptions,(function(n,i){return t.openBlock(),t.createElementBlock("div",{key:i,class:"vnb__popup__bottom__sub-menu-options__option"},["link"===n.type?(t.openBlock(),t.createBlock(a,{key:0,path:n.path,isUsingVueRouter:o.options.isUsingVueRouter,class:"vnb__popup__bottom__sub-menu-options__option__link",onClick:function(e){return s.itemSelected(n)},"aria-label":n.text,isLinkAction:!!e.isLinkAction},{content:t.withCtx((function(){return[t.createTextVNode(t.toDisplayString(n.text)+" ",1),t.createElementVNode("span",Xt,t.toDisplayString(n.subText),1)]})),_:2},1032,["path","isUsingVueRouter","onClick","aria-label","isLinkAction"])):t.createCommentVNode("v-if",!0)])})),128))])])})),128))])])])):t.createCommentVNode("v-if",!0)},Dt.__file="src/components/Popup.vue";var Gt={name:"vue-navigation-bar",mixins:[n],props:{options:{type:Object,required:!0}},data:function(){return{menuIsVisible:!1}},computed:{finalOptions:function(){if(this.options.menuOptionsLeft)for(var e=0;eo.options.mobileBreakpoint?t.renderSlot(e.$slots,"custom-section",{key:0}):t.createCommentVNode("v-if",!0),t.createVNode(p,{options:s.finalOptions,type:"right",onVnbItemClicked:s.vnbItemClicked},null,8,["options","onVnbItemClicked"]),s.finalOptions.menuOptionsLeft.length||s.finalOptions.menuOptionsRight.length?(t.openBlock(),t.createBlock(c,{key:1,options:s.finalOptions,menuIsVisible:r.menuIsVisible,onCollapseButtonClicked:s.showMobilePopup},null,8,["options","menuIsVisible","onCollapseButtonClicked"])):t.createCommentVNode("v-if",!0),s.finalOptions.menuOptionsLeft.length||s.finalOptions.menuOptionsRight.length?(t.openBlock(),t.createBlock(l,{key:2,options:s.finalOptions,menuIsVisible:r.menuIsVisible,onCloseButtonClicked:s.closeMobilePopup,onVnbItemClicked:s.vnbItemClicked},{"custom-section":t.withCtx((function(){return[t.renderSlot(e.$slots,"custom-section")]})),_:3},8,["options","menuIsVisible","onCloseButtonClicked","onVnbItemClicked"])):t.createCommentVNode("v-if",!0)],8,Jt)},Gt.__file="src/vue-navigation-bar.vue";var Zt={install:Qt},en=null;return"undefined"!=typeof window?en=window.Vue:"undefined"!=typeof global&&(en=global.Vue),en&&en.use(Zt),e.default=Gt,e.install=Qt,Object.defineProperty(e,"__esModule",{value:!0}),e}({},Vue); +var VueNavigationBar=function(e,t){"use strict";var n={data:function(){return{event:null,vssWidth:null,vssHeight:null}},computed:{$vssEvent:function(){return this.event},$vssWidth:function(){return this.vssWidth||this.getScreenWidth()},$vssHeight:function(){return this.vssHeight||this.getScreenHeight()}},methods:{getScreenWidth:function(){return window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth},getScreenHeight:function(){return window.innerHeight||document.documentElement.clientHeight||document.body.clientHeight},handleResize:function(e){this.event=e,this.vssWidth=this.getScreenWidth(),this.vssHeight=this.getScreenHeight()},$vssDestroyListener:function(){window.removeEventListener("resize",this.handleResize)}},mounted:function(){window.addEventListener("resize",this.handleResize)},destroyed:function(){window.removeEventListener("resize",this.handleResize)}};function o(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(e){var t=16*Math.random()|0;return("x"==e?t:3&t|8).toString(16)}))}var i={name:"dynamic-link",props:{isUsingVueRouter:{type:Boolean,required:!0},path:{type:[String,Object],required:!1},isLinkAction:{type:Boolean,required:!0}}},r=["href"];i.render=function(e,n,o,i,s,a){var p=t.resolveComponent("router-link");return t.openBlock(),t.createElementBlock(t.Fragment,null,[o.isUsingVueRouter&&o.path&&o.path.name?(t.openBlock(),t.createBlock(p,t.mergeProps({key:0},e.$attrs,{to:{name:this.path.name}}),{default:t.withCtx((function(){return[t.renderSlot(e.$slots,"content")]})),_:3},16,["to"])):t.createCommentVNode("v-if",!0),o.isUsingVueRouter&&o.path&&!o.path.name?(t.openBlock(),t.createBlock(p,t.mergeProps({key:1},e.$attrs,{to:{path:this.path}}),{default:t.withCtx((function(){return[t.renderSlot(e.$slots,"content")]})),_:3},16,["to"])):t.createCommentVNode("v-if",!0),o.isUsingVueRouter||o.isLinkAction||!o.path?t.createCommentVNode("v-if",!0):(t.openBlock(),t.createElementBlock("a",t.mergeProps({key:2},e.$attrs,{href:o.path}),[t.renderSlot(e.$slots,"content")],16,r)),o.isLinkAction?(t.openBlock(),t.createElementBlock("a",t.mergeProps({key:3},e.$attrs,{href:"javascript:void(0);"}),[t.renderSlot(e.$slots,"content")],16)):t.createCommentVNode("v-if",!0)],64)},i.__file="src/components/DynamicLink.vue";var s={name:"brand-image",props:{options:{type:Object,required:!0}},data:function(){return{}},components:{DynamicLink:i},emits:["vnb-item-clicked"]},a={class:"vnb__brand-image-wrapper"},p=["src","alt"];s.render=function(e,n,o,i,r,s){var c=t.resolveComponent("dynamic-link");return t.openBlock(),t.createElementBlock("div",a,[t.createVNode(c,{path:o.options.brandImagePath,isUsingVueRouter:o.options.isUsingVueRouter,class:"vnb__brand-image-wrapper__link","aria-label":"Homepage",isLinkAction:!1,onClick:n[0]||(n[0]=function(t){return e.$emit("vnb-item-clicked","brand-image")})},{content:t.withCtx((function(){return[o.options.brandImage?(t.openBlock(),t.createElementBlock("img",{key:0,src:o.options.brandImage,alt:o.options.brandImageAltText,class:"vnb-image vnb__brand-image-wrapper__link__image"},null,8,p)):t.createCommentVNode("v-if",!0)]})),_:1},8,["path","isUsingVueRouter"])])},s.__file="src/components/BrandImage.vue";var c={name:"collapse-button",mixins:[n],props:{options:{type:Object,required:!0},menuIsVisible:{type:Boolean,required:!0}},data:function(){return{}},methods:{collapseButtonClicked:function(){this.$emit("collapse-button-clicked")}},emits:["collapse-button-clicked"]},l=["aria-expanded"],u=["src"],d=[t.createElementVNode("title",null,"Menu",-1),t.createElementVNode("g",{transform:"matrix(.1 0 0 -.1 0 100)"},[t.createElementVNode("path",{d:"m0 850v-40h500 500v40 40h-500-500z"}),t.createElementVNode("path",{d:"m0 495v-45h500 500v45 45h-500-500z"}),t.createElementVNode("path",{d:"m0 140v-40h500 500v40 40h-500-500z"})],-1)];c.render=function(e,n,o,i,r,s){return e.$vssWidth0&&N(o.width)/e.offsetWidth||1,r=e.offsetHeight>0&&N(o.height)/e.offsetHeight||1);var s=(B(e)?E(e):window).visualViewport,a=!D()&&n,p=(o.left+(a&&s?s.offsetLeft:0))/i,c=(o.top+(a&&s?s.offsetTop:0))/r,l=o.width/i,u=o.height/r;return{width:l,height:u,top:c,right:p+l,bottom:c+u,left:p,x:p,y:c}}function R(e){var t=j(e),n=e.offsetWidth,o=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-o)<=1&&(o=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:o}}function S(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&V(n)){var o=t;do{if(o&&e.isSameNode(o))return!0;o=o.parentNode||o.host}while(o)}return!1}function H(e){return E(e).getComputedStyle(e)}function P(e){return["table","td","th"].indexOf(O(e))>=0}function W(e){return((B(e)?e.ownerDocument:e.document)||window.document).documentElement}function U(e){return"html"===O(e)?e:e.assignedSlot||e.parentNode||(V(e)?e.host:null)||W(e)}function $(e){return C(e)&&"fixed"!==H(e).position?e.offsetParent:null}function q(e){for(var t=E(e),n=$(e);n&&P(n)&&"static"===H(n).position;)n=$(n);return n&&("html"===O(n)||"body"===O(n)&&"static"===H(n).position)?t:n||function(e){var t=/firefox/i.test(M());if(/Trident/i.test(M())&&C(e)&&"fixed"===H(e).position)return null;var n=U(e);for(V(n)&&(n=n.host);C(n)&&["html","body"].indexOf(O(n))<0;){var o=H(n);if("none"!==o.transform||"none"!==o.perspective||"paint"===o.contain||-1!==["transform","perspective"].indexOf(o.willChange)||t&&"filter"===o.willChange||t&&o.filter&&"none"!==o.filter)return n;n=n.parentNode}return null}(e)||t}function z(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function F(e,t,n){return I(e,A(t,n))}function Y(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function K(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}function X(e){return e.split("-")[1]}var J={top:"auto",right:"auto",bottom:"auto",left:"auto"};function G(e){var t,n=e.popper,o=e.popperRect,i=e.placement,r=e.variation,s=e.offsets,a=e.position,p=e.gpuAcceleration,c=e.adaptive,l=e.roundOffsets,u=e.isFixed,d=s.x,f=void 0===d?0:d,m=s.y,v=void 0===m?0:m,y="function"==typeof l?l({x:f,y:v}):{x:f,y:v};f=y.x,v=y.y;var k=s.hasOwnProperty("x"),x=s.hasOwnProperty("y"),w=_,O=h,B=window;if(c){var C=q(n),V="clientHeight",L="clientWidth";if(C===E(n)&&"static"!==H(C=W(n)).position&&"absolute"===a&&(V="scrollHeight",L="scrollWidth"),C=C,i===h||(i===_||i===g)&&"end"===r)O=b,v-=(u&&C===B&&B.visualViewport?B.visualViewport.height:C[V])-o.height,v*=p?1:-1;if(i===_||(i===h||i===b)&&"end"===r)w=g,f-=(u&&C===B&&B.visualViewport?B.visualViewport.width:C[L])-o.width,f*=p?1:-1}var T,I=Object.assign({position:a},c&&J),A=!0===l?function(e,t){var n=e.x,o=e.y,i=t.devicePixelRatio||1;return{x:N(n*i)/i||0,y:N(o*i)/i||0}}({x:f,y:v},E(n)):{x:f,y:v};return f=A.x,v=A.y,p?Object.assign({},I,((T={})[O]=x?"0":"",T[w]=k?"0":"",T.transform=(B.devicePixelRatio||1)<=1?"translate("+f+"px, "+v+"px)":"translate3d("+f+"px, "+v+"px, 0)",T)):Object.assign({},I,((t={})[O]=x?v+"px":"",t[w]=k?f+"px":"",t.transform="",t))}var Q={passive:!0};var Z={left:"right",right:"left",bottom:"top",top:"bottom"};function ee(e){return e.replace(/left|right|bottom|top/g,(function(e){return Z[e]}))}var te={start:"end",end:"start"};function ne(e){return e.replace(/start|end/g,(function(e){return te[e]}))}function oe(e){var t=E(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function ie(e){return j(W(e)).left+oe(e).scrollLeft}function re(e){var t=H(e),n=t.overflow,o=t.overflowX,i=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+i+o)}function se(e,t){var n;void 0===t&&(t=[]);var o=function e(t){return["html","body","#document"].indexOf(O(t))>=0?t.ownerDocument.body:C(t)&&re(t)?t:e(U(t))}(e),i=o===(null==(n=e.ownerDocument)?void 0:n.body),r=E(o),s=i?[r].concat(r.visualViewport||[],re(o)?o:[]):o,a=t.concat(s);return i?a:a.concat(se(U(s)))}function ae(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function pe(e,t,n){return"viewport"===t?ae(function(e,t){var n=E(e),o=W(e),i=n.visualViewport,r=o.clientWidth,s=o.clientHeight,a=0,p=0;if(i){r=i.width,s=i.height;var c=D();(c||!c&&"fixed"===t)&&(a=i.offsetLeft,p=i.offsetTop)}return{width:r,height:s,x:a+ie(e),y:p}}(e,n)):B(t)?function(e,t){var n=j(e,!1,"fixed"===t);return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}(t,n):ae(function(e){var t,n=W(e),o=oe(e),i=null==(t=e.ownerDocument)?void 0:t.body,r=I(n.scrollWidth,n.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),s=I(n.scrollHeight,n.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),a=-o.scrollLeft+ie(e),p=-o.scrollTop;return"rtl"===H(i||n).direction&&(a+=I(n.clientWidth,i?i.clientWidth:0)-r),{width:r,height:s,x:a,y:p}}(W(e)))}function ce(e,t,n,o){var i="clippingParents"===t?function(e){var t=se(U(e)),n=["absolute","fixed"].indexOf(H(e).position)>=0&&C(e)?q(e):e;return B(n)?t.filter((function(e){return B(e)&&S(e,n)&&"body"!==O(e)})):[]}(e):[].concat(t),r=[].concat(i,[n]),s=r[0],a=r.reduce((function(t,n){var i=pe(e,n,o);return t.top=I(i.top,t.top),t.right=A(i.right,t.right),t.bottom=A(i.bottom,t.bottom),t.left=I(i.left,t.left),t}),pe(e,s,o));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}function le(e){var t,n=e.reference,o=e.element,i=e.placement,r=i?T(i):null,s=i?X(i):null,a=n.x+n.width/2-o.width/2,p=n.y+n.height/2-o.height/2;switch(r){case h:t={x:a,y:n.y-o.height};break;case b:t={x:a,y:n.y+n.height};break;case g:t={x:n.x+n.width,y:p};break;case _:t={x:n.x-o.width,y:p};break;default:t={x:n.x,y:n.y}}var c=r?z(r):null;if(null!=c){var l="y"===c?"height":"width";switch(s){case"start":t[c]=t[c]-(n[l]/2-o[l]/2);break;case"end":t[c]=t[c]+(n[l]/2-o[l]/2)}}return t}function ue(e,t){void 0===t&&(t={});var n=t,o=n.placement,i=void 0===o?e.placement:o,r=n.strategy,s=void 0===r?e.strategy:r,a=n.boundary,p=void 0===a?"clippingParents":a,c=n.rootBoundary,l=void 0===c?"viewport":c,u=n.elementContext,d=void 0===u?"popper":u,f=n.altBoundary,m=void 0!==f&&f,v=n.padding,_=void 0===v?0:v,k=Y("number"!=typeof _?_:K(_,y)),x="popper"===d?"reference":"popper",w=e.rects.popper,O=e.elements[m?x:d],E=ce(B(O)?O:O.contextElement||W(e.elements.popper),p,l,s),C=j(e.elements.reference),V=le({reference:C,element:w,strategy:"absolute",placement:i}),L=ae(Object.assign({},w,V)),T="popper"===d?L:C,I={top:E.top-T.top+k.top,bottom:T.bottom-E.bottom+k.bottom,left:E.left-T.left+k.left,right:T.right-E.right+k.right},A=e.modifiersData.offset;if("popper"===d&&A){var N=A[i];Object.keys(I).forEach((function(e){var t=[g,b].indexOf(e)>=0?1:-1,n=[h,b].indexOf(e)>=0?"y":"x";I[e]+=N[n]*t}))}return I}function de(e,t){void 0===t&&(t={});var n=t,o=n.placement,i=n.boundary,r=n.rootBoundary,s=n.padding,a=n.flipVariations,p=n.allowedAutoPlacements,c=void 0===p?x:p,l=X(o),u=l?a?k:k.filter((function(e){return X(e)===l})):y,d=u.filter((function(e){return c.indexOf(e)>=0}));0===d.length&&(d=u);var f=d.reduce((function(t,n){return t[n]=ue(e,{placement:n,boundary:i,rootBoundary:r,padding:s})[T(n)],t}),{});return Object.keys(f).sort((function(e,t){return f[e]-f[t]}))}function fe(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function me(e){return[h,g,b,_].some((function(t){return e[t]>=0}))}function ve(e,t,n){void 0===n&&(n=!1);var o,i,r=C(t),s=C(t)&&function(e){var t=e.getBoundingClientRect(),n=N(t.width)/e.offsetWidth||1,o=N(t.height)/e.offsetHeight||1;return 1!==n||1!==o}(t),a=W(t),p=j(e,s,n),c={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(r||!r&&!n)&&(("body"!==O(t)||re(a))&&(c=(o=t)!==E(o)&&C(o)?{scrollLeft:(i=o).scrollLeft,scrollTop:i.scrollTop}:oe(o)),C(t)?((l=j(t,!0)).x+=t.clientLeft,l.y+=t.clientTop):a&&(l.x=ie(a))),{x:p.left+c.scrollLeft-l.x,y:p.top+c.scrollTop-l.y,width:p.width,height:p.height}}function he(e){var t=new Map,n=new Set,o=[];return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||function e(i){n.add(i.name),[].concat(i.requires||[],i.requiresIfExists||[]).forEach((function(o){if(!n.has(o)){var i=t.get(o);i&&e(i)}})),o.push(i)}(e)})),o}var be={placement:"bottom",modifiers:[],strategy:"absolute"};function ge(){for(var e=arguments,t=arguments.length,n=new Array(t),o=0;o=0?-1:1,r="function"==typeof n?n(Object.assign({},t,{placement:e})):n,s=r[0],a=r[1];return s=s||0,a=(a||0)*i,[_,g].indexOf(o)>=0?{x:a,y:s}:{x:s,y:a}}(n,t.rects,r),e}),{}),a=s[t.placement],p=a.x,c=a.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=p,t.modifiersData.popperOffsets.y+=c),t.modifiersData[o]=s}},{name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,o=e.name;if(!t.modifiersData[o]._skip){for(var i=n.mainAxis,r=void 0===i||i,s=n.altAxis,a=void 0===s||s,p=n.fallbackPlacements,c=n.padding,l=n.boundary,u=n.rootBoundary,d=n.altBoundary,f=n.flipVariations,m=void 0===f||f,v=n.allowedAutoPlacements,y=t.options.placement,k=T(y),x=p||(k===y||!m?[ee(y)]:function(e){if("auto"===T(e))return[];var t=ee(e);return[ne(e),t,ne(t)]}(y)),w=[y].concat(x).reduce((function(e,n){return e.concat("auto"===T(n)?de(t,{placement:n,boundary:l,rootBoundary:u,padding:c,flipVariations:m,allowedAutoPlacements:v}):n)}),[]),O=t.rects.reference,E=t.rects.popper,B=new Map,C=!0,V=w[0],L=0;L=0,D=M?"width":"height",j=ue(t,{placement:I,boundary:l,rootBoundary:u,altBoundary:d,padding:c}),R=M?N?g:_:N?b:h;O[D]>E[D]&&(R=ee(R));var S=ee(R),H=[];if(r&&H.push(j[A]<=0),a&&H.push(j[R]<=0,j[S]<=0),H.every((function(e){return e}))){V=I,C=!1;break}B.set(I,H)}if(C)for(var P=function(e){var t=w.find((function(t){var n=B.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return V=t,"break"},W=m?3:1;W>0;W--){if("break"===P(W))break}t.placement!==V&&(t.modifiersData[o]._skip=!0,t.placement=V,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},{name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,o=e.name,i=n.mainAxis,r=void 0===i||i,s=n.altAxis,a=void 0!==s&&s,p=n.boundary,c=n.rootBoundary,l=n.altBoundary,u=n.padding,d=n.tether,f=void 0===d||d,m=n.tetherOffset,v=void 0===m?0:m,y=ue(t,{boundary:p,rootBoundary:c,padding:u,altBoundary:l}),k=T(t.placement),x=X(t.placement),w=!x,O=z(k),E="x"===O?"y":"x",B=t.modifiersData.popperOffsets,C=t.rects.reference,V=t.rects.popper,L="function"==typeof v?v(Object.assign({},t.rects,{placement:t.placement})):v,N="number"==typeof L?{mainAxis:L,altAxis:L}:Object.assign({mainAxis:0,altAxis:0},L),M=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,D={x:0,y:0};if(B){if(r){var j,S="y"===O?h:_,H="y"===O?b:g,P="y"===O?"height":"width",W=B[O],U=W+y[S],$=W-y[H],Y=f?-V[P]/2:0,K="start"===x?C[P]:V[P],J="start"===x?-V[P]:-C[P],G=t.elements.arrow,Q=f&&G?R(G):{width:0,height:0},Z=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},ee=Z[S],te=Z[H],ne=F(0,C[P],Q[P]),oe=w?C[P]/2-Y-ne-ee-N.mainAxis:K-ne-ee-N.mainAxis,ie=w?-C[P]/2+Y+ne+te+N.mainAxis:J+ne+te+N.mainAxis,re=t.elements.arrow&&q(t.elements.arrow),se=re?"y"===O?re.clientTop||0:re.clientLeft||0:0,ae=null!=(j=null==M?void 0:M[O])?j:0,pe=W+ie-ae,ce=F(f?A(U,W+oe-ae-se):U,W,f?I($,pe):$);B[O]=ce,D[O]=ce-W}if(a){var le,de="x"===O?h:_,fe="x"===O?b:g,me=B[E],ve="y"===E?"height":"width",he=me+y[de],be=me-y[fe],ge=-1!==[h,_].indexOf(k),_e=null!=(le=null==M?void 0:M[E])?le:0,ye=ge?he:me-C[ve]-V[ve]-_e+N.altAxis,ke=ge?me+C[ve]+V[ve]-_e-N.altAxis:be,xe=f&&ge?function(e,t,n){var o=F(e,t,n);return o>n?n:o}(ye,me,ke):F(f?ye:he,me,f?ke:be);B[E]=xe,D[E]=xe-me}t.modifiersData[o]=D}},requiresIfExists:["offset"]},{name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,o=e.name,i=e.options,r=n.elements.arrow,s=n.modifiersData.popperOffsets,a=T(n.placement),p=z(a),c=[_,g].indexOf(a)>=0?"height":"width";if(r&&s){var l=function(e,t){return Y("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:K(e,y))}(i.padding,n),u=R(r),d="y"===p?h:_,f="y"===p?b:g,m=n.rects.reference[c]+n.rects.reference[p]-s[p]-n.rects.popper[c],v=s[p]-n.rects.reference[p],k=q(r),x=k?"y"===p?k.clientHeight||0:k.clientWidth||0:0,w=m/2-v/2,O=l[d],E=x-u[c]-l[f],B=x/2-u[c]/2+w,C=F(O,B,E),V=p;n.modifiersData[o]=((t={})[V]=C,t.centerOffset=C-B,t)}},effect:function(e){var t=e.state,n=e.options.element,o=void 0===n?"[data-popper-arrow]":n;null!=o&&("string"!=typeof o||(o=t.elements.popper.querySelector(o)))&&S(t.elements.popper,o)&&(t.elements.arrow=o)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,o=t.rects.reference,i=t.rects.popper,r=t.modifiersData.preventOverflow,s=ue(t,{elementContext:"reference"}),a=ue(t,{altBoundary:!0}),p=fe(s,o),c=fe(a,i,r),l=me(p),u=me(c);t.modifiersData[n]={referenceClippingOffsets:p,popperEscapeOffsets:c,isReferenceHidden:l,hasPopperEscaped:u},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":l,"data-popper-escaped":u})}}]}),ke={passive:!0,capture:!0},xe=function(){return document.body};function we(e,t,n){if(Array.isArray(e)){var o=e[t];return null==o?Array.isArray(n)?n[t]:n:o}return e}function Oe(e,t){var n={}.toString.call(e);return 0===n.indexOf("[object")&&n.indexOf(t+"]")>-1}function Ee(e,t){return"function"==typeof e?e.apply(void 0,t):e}function Be(e,t){return 0===t?e:function(o){clearTimeout(n),n=setTimeout((function(){e(o)}),t)};var n}function Ce(e){return[].concat(e)}function Ve(e,t){-1===e.indexOf(t)&&e.push(t)}function Le(e){return[].slice.call(e)}function Te(e){return Object.keys(e).reduce((function(t,n){return void 0!==e[n]&&(t[n]=e[n]),t}),{})}function Ie(){return document.createElement("div")}function Ae(e){return["Element","Fragment"].some((function(t){return Oe(e,t)}))}function Ne(e){return!(!e||!e._tippy||e._tippy.reference!==e)}function Me(e){return Ae(e)?[e]:function(e){return Oe(e,"NodeList")}(e)?Le(e):Array.isArray(e)?e:Le(document.querySelectorAll(e))}function De(e,t){e.forEach((function(e){e&&(e.style.transitionDuration=t+"ms")}))}function je(e,t){e.forEach((function(e){e&&e.setAttribute("data-state",t)}))}function Re(e,t,n){var o=t+"EventListener";["transitionend","webkitTransitionEnd"].forEach((function(t){e[o](t,n)}))}function Se(e,t){for(var n=t;n;){var o;if(e.contains(n))return!0;n=null==n.getRootNode||null==(o=n.getRootNode())?void 0:o.host}return!1}var He={isTouch:!1},Pe=0;function We(){He.isTouch||(He.isTouch=!0,window.performance&&document.addEventListener("mousemove",Ue))}function Ue(){var e=performance.now();e-Pe<20&&(He.isTouch=!1,document.removeEventListener("mousemove",Ue)),Pe=e}function $e(){var e=document.activeElement;if(Ne(e)){var t=e._tippy;e.blur&&!t.state.isVisible&&e.blur()}}var qe,ze=!!("undefined"!=typeof window&&"undefined"!=typeof document)&&!!window.msCrypto;function Fe(e){return[e+"() was called on a"+("destroy"===e?"n already-":" ")+"destroyed instance. This is a no-op but","indicates a potential memory leak."].join(" ")}function Ye(e){return e.replace(/[ \t]{2,}/g," ").replace(/^[ \t]*/gm,"").trim()}function Ke(e){return Ye("\n %ctippy.js\n\n %c"+Ye(e)+"\n\n %c👷‍ This is a development-only message. It will be removed in production.\n ")}function Xe(e){return[Ke(e),"color: #00C584; font-size: 1.3em; font-weight: bold;","line-height: 1.5","color: #a6a095;"]}function Je(e,t){var n;e&&!qe.has(t)&&(qe.add(t),(n=console).warn.apply(n,Xe(t)))}function Ge(e,t){var n;e&&!qe.has(t)&&(qe.add(t),(n=console).error.apply(n,Xe(t)))}"production"!==process.env.NODE_ENV&&(qe=new Set);var Qe={animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},Ze=Object.assign({appendTo:xe,aria:{content:"auto",expanded:"auto"},delay:0,duration:[300,250],getReferenceClientRect:null,hideOnClick:!0,ignoreAttributes:!1,interactive:!1,interactiveBorder:2,interactiveDebounce:0,moveTransition:"",offset:[0,10],onAfterUpdate:function(){},onBeforeUpdate:function(){},onCreate:function(){},onDestroy:function(){},onHidden:function(){},onHide:function(){},onMount:function(){},onShow:function(){},onShown:function(){},onTrigger:function(){},onUntrigger:function(){},onClickOutside:function(){},placement:"top",plugins:[],popperOptions:{},render:null,showOnCreate:!1,touch:!0,trigger:"mouseenter focus",triggerTarget:null},Qe,{allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999}),et=Object.keys(Ze);function tt(e){var t=(e.plugins||[]).reduce((function(t,n){var o,i=n.name,r=n.defaultValue;i&&(t[i]=void 0!==e[i]?e[i]:null!=(o=Ze[i])?o:r);return t}),{});return Object.assign({},e,t)}function nt(e,t){var n=Object.assign({},t,{content:Ee(t.content,[e])},t.ignoreAttributes?{}:function(e,t){return(t?Object.keys(tt(Object.assign({},Ze,{plugins:t}))):et).reduce((function(t,n){var o=(e.getAttribute("data-tippy-"+n)||"").trim();if(!o)return t;if("content"===n)t[n]=o;else try{t[n]=JSON.parse(o)}catch(e){t[n]=o}return t}),{})}(e,t.plugins));return n.aria=Object.assign({},Ze.aria,n.aria),n.aria={expanded:"auto"===n.aria.expanded?t.interactive:n.aria.expanded,content:"auto"===n.aria.content?t.interactive?null:"describedby":n.aria.content},n}function ot(e,t){void 0===e&&(e={}),void 0===t&&(t=[]),Object.keys(e).forEach((function(e){var n,o,i=function(e,t){var n=Object.assign({},e);return t.forEach((function(e){delete n[e]})),n}(Ze,Object.keys(Qe)),r=(n=i,o=e,!{}.hasOwnProperty.call(n,o));r&&(r=0===t.filter((function(t){return t.name===e})).length),Je(r,["`"+e+"`","is not a valid prop. You may have spelled it incorrectly, or if it's","a plugin, forgot to pass it in an array as props.plugins.","\n\n","All props: https://atomiks.github.io/tippyjs/v6/all-props/\n","Plugins: https://atomiks.github.io/tippyjs/v6/plugins/"].join(" "))}))}function it(e,t){e.innerHTML=t}function rt(e){var t=Ie();return!0===e?t.className="tippy-arrow":(t.className="tippy-svg-arrow",Ae(e)?t.appendChild(e):it(t,e)),t}function st(e,t){Ae(t.content)?(it(e,""),e.appendChild(t.content)):"function"!=typeof t.content&&(t.allowHTML?it(e,t.content):e.textContent=t.content)}function at(e){var t=e.firstElementChild,n=Le(t.children);return{box:t,content:n.find((function(e){return e.classList.contains("tippy-content")})),arrow:n.find((function(e){return e.classList.contains("tippy-arrow")||e.classList.contains("tippy-svg-arrow")})),backdrop:n.find((function(e){return e.classList.contains("tippy-backdrop")}))}}function pt(e){var t=Ie(),n=Ie();n.className="tippy-box",n.setAttribute("data-state","hidden"),n.setAttribute("tabindex","-1");var o=Ie();function i(n,o){var i=at(t),r=i.box,s=i.content,a=i.arrow;o.theme?r.setAttribute("data-theme",o.theme):r.removeAttribute("data-theme"),"string"==typeof o.animation?r.setAttribute("data-animation",o.animation):r.removeAttribute("data-animation"),o.inertia?r.setAttribute("data-inertia",""):r.removeAttribute("data-inertia"),r.style.maxWidth="number"==typeof o.maxWidth?o.maxWidth+"px":o.maxWidth,o.role?r.setAttribute("role",o.role):r.removeAttribute("role"),n.content===o.content&&n.allowHTML===o.allowHTML||st(s,e.props),o.arrow?a?n.arrow!==o.arrow&&(r.removeChild(a),r.appendChild(rt(o.arrow))):r.appendChild(rt(o.arrow)):a&&r.removeChild(a)}return o.className="tippy-content",o.setAttribute("data-state","hidden"),st(o,e.props),t.appendChild(n),n.appendChild(o),i(e.props,e.props),{popper:t,onUpdate:i}}pt.$$tippy=!0;var ct=1,lt=[],ut=[];function dt(e,t){var n,o,i,r,s,a,p,c,l=nt(e,Object.assign({},Ze,tt(Te(t)))),u=!1,d=!1,f=!1,m=!1,v=[],h=Be(Y,l.interactiveDebounce),b=ct++,g=(c=l.plugins).filter((function(e,t){return c.indexOf(e)===t})),_={id:b,reference:e,popper:Ie(),popperInstance:null,props:l,state:{isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},plugins:g,clearDelayTimeouts:function(){clearTimeout(n),clearTimeout(o),cancelAnimationFrame(i)},setProps:function(t){"production"!==process.env.NODE_ENV&&Je(_.state.isDestroyed,Fe("setProps"));if(_.state.isDestroyed)return;N("onBeforeUpdate",[_,t]),z();var n=_.props,o=nt(e,Object.assign({},n,Te(t),{ignoreAttributes:!0}));_.props=o,q(),n.interactiveDebounce!==o.interactiveDebounce&&(j(),h=Be(Y,o.interactiveDebounce));n.triggerTarget&&!o.triggerTarget?Ce(n.triggerTarget).forEach((function(e){e.removeAttribute("aria-expanded")})):o.triggerTarget&&e.removeAttribute("aria-expanded");D(),A(),x&&x(n,o);_.popperInstance&&(G(),Z().forEach((function(e){requestAnimationFrame(e._tippy.popperInstance.forceUpdate)})));N("onAfterUpdate",[_,t])},setContent:function(e){_.setProps({content:e})},show:function(){"production"!==process.env.NODE_ENV&&Je(_.state.isDestroyed,Fe("show"));var e=_.state.isVisible,t=_.state.isDestroyed,n=!_.state.isEnabled,o=He.isTouch&&!_.props.touch,i=we(_.props.duration,0,Ze.duration);if(e||t||n||o)return;if(V().hasAttribute("disabled"))return;if(N("onShow",[_],!1),!1===_.props.onShow(_))return;_.state.isVisible=!0,C()&&(k.style.visibility="visible");A(),P(),_.state.isMounted||(k.style.transition="none");if(C()){var r=T(),s=r.box,p=r.content;De([s,p],0)}a=function(){var e;if(_.state.isVisible&&!m){if(m=!0,k.offsetHeight,k.style.transition=_.props.moveTransition,C()&&_.props.animation){var t=T(),n=t.box,o=t.content;De([n,o],i),je([n,o],"visible")}M(),D(),Ve(ut,_),null==(e=_.popperInstance)||e.forceUpdate(),N("onMount",[_]),_.props.animation&&C()&&function(e,t){U(e,t)}(i,(function(){_.state.isShown=!0,N("onShown",[_])}))}},function(){var e,t=_.props.appendTo,n=V();e=_.props.interactive&&t===xe||"parent"===t?n.parentNode:Ee(t,[n]);e.contains(k)||e.appendChild(k);_.state.isMounted=!0,G(),"production"!==process.env.NODE_ENV&&Je(_.props.interactive&&t===Ze.appendTo&&n.nextElementSibling!==k,["Interactive tippy element may not be accessible via keyboard","navigation because it is not directly after the reference element","in the DOM source order.","\n\n","Using a wrapper
or tag around the reference element","solves this by creating a new parentNode context.","\n\n","Specifying `appendTo: document.body` silences this warning, but it","assumes you are using a focus management solution to handle","keyboard navigation.","\n\n","See: https://atomiks.github.io/tippyjs/v6/accessibility/#interactivity"].join(" "))}()},hide:function(){"production"!==process.env.NODE_ENV&&Je(_.state.isDestroyed,Fe("hide"));var e=!_.state.isVisible,t=_.state.isDestroyed,n=!_.state.isEnabled,o=we(_.props.duration,1,Ze.duration);if(e||t||n)return;if(N("onHide",[_],!1),!1===_.props.onHide(_))return;_.state.isVisible=!1,_.state.isShown=!1,m=!1,u=!1,C()&&(k.style.visibility="hidden");if(j(),W(),A(!0),C()){var i=T(),r=i.box,s=i.content;_.props.animation&&(De([r,s],o),je([r,s],"hidden"))}M(),D(),_.props.animation?C()&&function(e,t){U(e,(function(){!_.state.isVisible&&k.parentNode&&k.parentNode.contains(k)&&t()}))}(o,_.unmount):_.unmount()},hideWithInteractivity:function(e){"production"!==process.env.NODE_ENV&&Je(_.state.isDestroyed,Fe("hideWithInteractivity"));L().addEventListener("mousemove",h),Ve(lt,h),h(e)},enable:function(){_.state.isEnabled=!0},disable:function(){_.hide(),_.state.isEnabled=!1},unmount:function(){"production"!==process.env.NODE_ENV&&Je(_.state.isDestroyed,Fe("unmount"));_.state.isVisible&&_.hide();if(!_.state.isMounted)return;Q(),Z().forEach((function(e){e._tippy.unmount()})),k.parentNode&&k.parentNode.removeChild(k);ut=ut.filter((function(e){return e!==_})),_.state.isMounted=!1,N("onHidden",[_])},destroy:function(){"production"!==process.env.NODE_ENV&&Je(_.state.isDestroyed,Fe("destroy"));if(_.state.isDestroyed)return;_.clearDelayTimeouts(),_.unmount(),z(),delete e._tippy,_.state.isDestroyed=!0,N("onDestroy",[_])}};if(!l.render)return"production"!==process.env.NODE_ENV&&Ge(!0,"render() function has not been supplied."),_;var y=l.render(_),k=y.popper,x=y.onUpdate;k.setAttribute("data-tippy-root",""),k.id="tippy-"+_.id,_.popper=k,e._tippy=_,k._tippy=_;var w=g.map((function(e){return e.fn(_)})),O=e.hasAttribute("aria-expanded");return q(),D(),A(),N("onCreate",[_]),l.showOnCreate&&ee(),k.addEventListener("mouseenter",(function(){_.props.interactive&&_.state.isVisible&&_.clearDelayTimeouts()})),k.addEventListener("mouseleave",(function(){_.props.interactive&&_.props.trigger.indexOf("mouseenter")>=0&&L().addEventListener("mousemove",h)})),_;function E(){var e=_.props.touch;return Array.isArray(e)?e:[e,0]}function B(){return"hold"===E()[0]}function C(){var e;return!(null==(e=_.props.render)||!e.$$tippy)}function V(){return p||e}function L(){var e,t,n=V().parentNode;return n?null!=(t=Ce(n)[0])&&null!=(e=t.ownerDocument)&&e.body?t.ownerDocument:document:document}function T(){return at(k)}function I(e){return _.state.isMounted&&!_.state.isVisible||He.isTouch||r&&"focus"===r.type?0:we(_.props.delay,e?0:1,Ze.delay)}function A(e){void 0===e&&(e=!1),k.style.pointerEvents=_.props.interactive&&!e?"":"none",k.style.zIndex=""+_.props.zIndex}function N(e,t,n){var o;(void 0===n&&(n=!0),w.forEach((function(n){n[e]&&n[e].apply(n,t)})),n)&&(o=_.props)[e].apply(o,t)}function M(){var t=_.props.aria;if(t.content){var n="aria-"+t.content,o=k.id;Ce(_.props.triggerTarget||e).forEach((function(e){var t=e.getAttribute(n);if(_.state.isVisible)e.setAttribute(n,t?t+" "+o:o);else{var i=t&&t.replace(o,"").trim();i?e.setAttribute(n,i):e.removeAttribute(n)}}))}}function D(){!O&&_.props.aria.expanded&&Ce(_.props.triggerTarget||e).forEach((function(e){_.props.interactive?e.setAttribute("aria-expanded",_.state.isVisible&&e===V()?"true":"false"):e.removeAttribute("aria-expanded")}))}function j(){L().removeEventListener("mousemove",h),lt=lt.filter((function(e){return e!==h}))}function R(t){if(!He.isTouch||!f&&"mousedown"!==t.type){var n=t.composedPath&&t.composedPath()[0]||t.target;if(!_.props.interactive||!Se(k,n)){if(Ce(_.props.triggerTarget||e).some((function(e){return Se(e,n)}))){if(He.isTouch)return;if(_.state.isVisible&&_.props.trigger.indexOf("click")>=0)return}else N("onClickOutside",[_,t]);!0===_.props.hideOnClick&&(_.clearDelayTimeouts(),_.hide(),d=!0,setTimeout((function(){d=!1})),_.state.isMounted||W())}}}function S(){f=!0}function H(){f=!1}function P(){var e=L();e.addEventListener("mousedown",R,!0),e.addEventListener("touchend",R,ke),e.addEventListener("touchstart",H,ke),e.addEventListener("touchmove",S,ke)}function W(){var e=L();e.removeEventListener("mousedown",R,!0),e.removeEventListener("touchend",R,ke),e.removeEventListener("touchstart",H,ke),e.removeEventListener("touchmove",S,ke)}function U(e,t){var n=T().box;function o(e){e.target===n&&(Re(n,"remove",o),t())}if(0===e)return t();Re(n,"remove",s),Re(n,"add",o),s=o}function $(t,n,o){void 0===o&&(o=!1),Ce(_.props.triggerTarget||e).forEach((function(e){e.addEventListener(t,n,o),v.push({node:e,eventType:t,handler:n,options:o})}))}function q(){var e;B()&&($("touchstart",F,{passive:!0}),$("touchend",K,{passive:!0})),(e=_.props.trigger,e.split(/\s+/).filter(Boolean)).forEach((function(e){if("manual"!==e)switch($(e,F),e){case"mouseenter":$("mouseleave",K);break;case"focus":$(ze?"focusout":"blur",X);break;case"focusin":$("focusout",X)}}))}function z(){v.forEach((function(e){var t=e.node,n=e.eventType,o=e.handler,i=e.options;t.removeEventListener(n,o,i)})),v=[]}function F(e){var t,n=!1;if(_.state.isEnabled&&!J(e)&&!d){var o="focus"===(null==(t=r)?void 0:t.type);r=e,p=e.currentTarget,D(),!_.state.isVisible&&Oe(e,"MouseEvent")&<.forEach((function(t){return t(e)})),"click"===e.type&&(_.props.trigger.indexOf("mouseenter")<0||u)&&!1!==_.props.hideOnClick&&_.state.isVisible?n=!0:ee(e),"click"===e.type&&(u=!n),n&&!o&&te(e)}}function Y(e){var t=e.target,n=V().contains(t)||k.contains(t);"mousemove"===e.type&&n||function(e,t){var n=t.clientX,o=t.clientY;return e.every((function(e){var t=e.popperRect,i=e.popperState,r=e.props.interactiveBorder,s=i.placement.split("-")[0],a=i.modifiersData.offset;if(!a)return!0;var p="bottom"===s?a.top.y:0,c="top"===s?a.bottom.y:0,l="right"===s?a.left.x:0,u="left"===s?a.right.x:0,d=t.top-o+p>r,f=o-t.bottom-c>r,m=t.left-n+l>r,v=n-t.right-u>r;return d||f||m||v}))}(Z().concat(k).map((function(e){var t,n=null==(t=e._tippy.popperInstance)?void 0:t.state;return n?{popperRect:e.getBoundingClientRect(),popperState:n,props:l}:null})).filter(Boolean),e)&&(j(),te(e))}function K(e){J(e)||_.props.trigger.indexOf("click")>=0&&u||(_.props.interactive?_.hideWithInteractivity(e):te(e))}function X(e){_.props.trigger.indexOf("focusin")<0&&e.target!==V()||_.props.interactive&&e.relatedTarget&&k.contains(e.relatedTarget)||te(e)}function J(e){return!!He.isTouch&&B()!==e.type.indexOf("touch")>=0}function G(){Q();var t=_.props,n=t.popperOptions,o=t.placement,i=t.offset,r=t.getReferenceClientRect,s=t.moveTransition,p=C()?at(k).arrow:null,c=r?{getBoundingClientRect:r,contextElement:r.contextElement||V()}:e,l=[{name:"offset",options:{offset:i}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5}},{name:"computeStyles",options:{adaptive:!s}},{name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(e){var t=e.state;if(C()){var n=T().box;["placement","reference-hidden","escaped"].forEach((function(e){"placement"===e?n.setAttribute("data-placement",t.placement):t.attributes.popper["data-popper-"+e]?n.setAttribute("data-"+e,""):n.removeAttribute("data-"+e)})),t.attributes.popper={}}}}];C()&&p&&l.push({name:"arrow",options:{element:p,padding:3}}),l.push.apply(l,(null==n?void 0:n.modifiers)||[]),_.popperInstance=ye(c,k,Object.assign({},n,{placement:o,onFirstUpdate:a,modifiers:l}))}function Q(){_.popperInstance&&(_.popperInstance.destroy(),_.popperInstance=null)}function Z(){return Le(k.querySelectorAll("[data-tippy-root]"))}function ee(e){_.clearDelayTimeouts(),e&&N("onTrigger",[_,e]),P();var t=I(!0),o=E(),i=o[0],r=o[1];He.isTouch&&"hold"===i&&r&&(t=r),t?n=setTimeout((function(){_.show()}),t):_.show()}function te(e){if(_.clearDelayTimeouts(),N("onUntrigger",[_,e]),_.state.isVisible){if(!(_.props.trigger.indexOf("mouseenter")>=0&&_.props.trigger.indexOf("click")>=0&&["mouseleave","mousemove"].indexOf(e.type)>=0&&u)){var t=I(!1);t?o=setTimeout((function(){_.state.isVisible&&_.hide()}),t):i=requestAnimationFrame((function(){_.hide()}))}}else W()}}function ft(e,t){void 0===t&&(t={});var n=Ze.plugins.concat(t.plugins||[]);"production"!==process.env.NODE_ENV&&(!function(e){var t=!e,n="[object Object]"===Object.prototype.toString.call(e)&&!e.addEventListener;Ge(t,["tippy() was passed","`"+String(e)+"`","as its targets (first) argument. Valid types are: String, Element,","Element[], or NodeList."].join(" ")),Ge(n,["tippy() was passed a plain object which is not supported as an argument","for virtual positioning. Use props.getReferenceClientRect instead."].join(" "))}(e),ot(t,n)),document.addEventListener("touchstart",We,ke),window.addEventListener("blur",$e);var o=Object.assign({},t,{plugins:n}),i=Me(e);if("production"!==process.env.NODE_ENV){var r=Ae(o.content),s=i.length>1;Je(r&&s,["tippy() was passed an Element as the `content` prop, but more than","one tippy instance was created by this invocation. This means the","content element will only be appended to the last tippy instance.","\n\n","Instead, pass the .innerHTML of the element, or use a function that","returns a cloned version of the element instead.","\n\n","1) content: element.innerHTML\n","2) content: () => element.cloneNode(true)"].join(" "))}var a=i.reduce((function(e,t){var n=t&&dt(t,o);return n&&e.push(n),e}),[]);return Ae(e)?a[0]:a}ft.defaultProps=Ze,ft.setDefaultProps=function(e){"production"!==process.env.NODE_ENV&&ot(e,[]),Object.keys(e).forEach((function(t){Ze[t]=e[t]}))},ft.currentInput=He;var mt=function(e){var t=void 0===e?{}:e,n=t.exclude,o=t.duration;ut.forEach((function(e){var t=!1;if(n&&(t=Ne(n)?e.reference===n:e.popper===n.popper),!t){var i=e.props.duration;e.setProps({duration:o}),e.hide(),e.state.isDestroyed||e.setProps({duration:i})}}))};Object.assign({},L,{effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow)}}),ft.setDefaultProps({render:pt});var vt={name:"desktop-menu-item-link",props:{option:{type:Object,required:!0},options:{type:Object,required:!0}},data:function(){return{currentExpandedStatus:"closed"}},computed:{isExpanded:function(){return"open"===this.currentExpandedStatus}},methods:{subMenuItemSelected:function(e){this.closeAllTooltips()},subMenuItemTabbed:function(e){this.option.subMenuOptions[this.option.subMenuOptions.length-1].text===e&&this.closeAllTooltips()},menuShown:function(){this.currentExpandedStatus="open"},menuHidden:function(){this.currentExpandedStatus="closed"},closeAllTooltips:function(){mt()},initTippy:function(){var e=this,t=document.getElementById("dropdown-menu-parent-"+this.option.id),n=document.getElementById("sub-menu-options-"+this.option.id);n.style.display="block",ft(t,{theme:"light",content:n,interactive:!0,animation:this.options.tooltipAnimationType,role:"Menu",trigger:"click mouseenter focus",appendTo:"parent",arrow:!0,inertia:!1,placement:this.options.tooltipPlacement,popperOptions:{modifiers:[{name:"flip",options:{fallbackPlacements:[this.options.tooltipPlacement]}}]},onShow:function(t){mt({exclude:t}),e.menuShown()},onHide:function(){e.menuHidden()}})}},mounted:function(){this.option.subMenuOptions&&this.option.subMenuOptions.length&&this.initTippy()},components:{DynamicLink:i},emits:["vnb-item-clicked"]},ht=["innerHTML"],bt=["innerHTML"],gt=["id","aria-expanded","aria-label"],_t=["innerHTML"],yt=["innerHTML"],kt=[t.createElementVNode("title",null,"Toggle Arrow",-1),t.createElementVNode("path",{d:"m12 268c-7-7-12-17-12-23 0-13 232-245 245-245 6 0 64 54 129 119 119 119 132 142 90 158-11 4-44-23-113-91-53-53-101-96-106-96-6 0-53 43-105 95s-99 95-105 95-16-5-23-12z",transform:"matrix(.1 0 0 -.1 0 28)"},null,-1)],xt=["id"],wt={class:"vnb__sub-menu-options__option",tabindex:"-1"},Ot=["innerHTML"],Et={class:"vnb__sub-menu-options__option__link__text-wrapper"},Bt={class:"vnb__sub-menu-options__option__link__text-wrapper__text"},Ct={key:0,class:"vnb__sub-menu-options__option__link__text-wrapper__sub-text"},Vt=["innerHTML"],Lt={key:1,class:"vnb__sub-menu-options__option__hr",tabindex:"-1"};vt.render=function(e,n,o,i,r,s){var a=t.resolveComponent("dynamic-link");return o.option.subMenuOptions&&o.option.subMenuOptions.length?(t.openBlock(),t.createElementBlock("span",{key:1,class:"vnb__menu-options__option__link",id:"dropdown-menu-parent-"+o.option.id,"aria-haspopup":"true","aria-expanded":s.isExpanded?"true":"false","aria-label":o.option.text,tabindex:"0"},[o.option.iconLeft?(t.openBlock(),t.createElementBlock("span",{key:0,class:"vnb__menu-options__option__link__icon vnb__menu-options__option__button__icon--left",innerHTML:o.option.iconLeft},null,8,_t)):t.createCommentVNode("v-if",!0),t.createTextVNode(" "+t.toDisplayString(o.option.text)+" ",1),o.option.iconRight?(t.openBlock(),t.createElementBlock("span",{key:1,class:"vnb__menu-options__option__link__icon vnb__menu-options__option__button__icon--right",innerHTML:o.option.iconRight},null,8,yt)):t.createCommentVNode("v-if",!0),(t.openBlock(),t.createElementBlock("svg",{height:"28pt",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 49 28",width:"49pt",xmlns:"http://www.w3.org/2000/svg",style:t.normalizeStyle({fill:o.option.arrowColor}),class:t.normalizeClass(["vnb__menu-options__option__arrow",{"vnb__menu-options__option__arrow--hover":s.isExpanded}])},kt,6)),"link"===o.option.type?(t.openBlock(),t.createElementBlock("div",{key:2,class:"vnb__sub-menu-options",id:"sub-menu-options-"+o.option.id},[t.createElementVNode("div",wt,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(o.option.subMenuOptions,(function(n,i){return t.openBlock(),t.createElementBlock("div",null,["link"===n.type?(t.openBlock(),t.createBlock(a,{path:n.path,isUsingVueRouter:o.options.isUsingVueRouter,key:i,class:"vnb__sub-menu-options__option__link",onClick:function(t){s.subMenuItemSelected(n.text),e.$emit("vnb-item-clicked",n.text)},"aria-label":n.text,tabindex:"0",onKeydown:t.withKeys((function(e){return s.subMenuItemTabbed(n.text)}),["tab"]),isLinkAction:!!n.isLinkAction},{content:t.withCtx((function(){return[n.iconLeft?(t.openBlock(),t.createElementBlock("span",{key:0,class:"vnb__sub-menu-options__option__link__icon vnb__sub-menu-options__option__link__icon--left",innerHTML:n.iconLeft},null,8,Ot)):t.createCommentVNode("v-if",!0),t.createElementVNode("span",Et,[t.createElementVNode("span",Bt,t.toDisplayString(n.text),1),n.subText?(t.openBlock(),t.createElementBlock("span",Ct,t.toDisplayString(n.subText),1)):t.createCommentVNode("v-if",!0)]),n.iconRight?(t.openBlock(),t.createElementBlock("span",{key:1,class:"vnb__sub-menu-options__option__link__icon vnb__sub-menu-options__option__link__icon--right",innerHTML:n.iconRight},null,8,Vt)):t.createCommentVNode("v-if",!0)]})),_:2},1032,["path","isUsingVueRouter","onClick","aria-label","onKeydown","isLinkAction"])):(t.openBlock(),t.createElementBlock("hr",Lt))])})),256))])],8,xt)):t.createCommentVNode("v-if",!0)],8,gt)):(t.openBlock(),t.createBlock(a,{key:0,path:o.option.path,isUsingVueRouter:o.options.isUsingVueRouter,class:"vnb__menu-options__option__link","aria-label":o.option.text,tabindex:"0",isLinkAction:!!o.option.isLinkAction,onClick:n[0]||(n[0]=function(t){return e.$emit("vnb-item-clicked",o.option.text)})},{content:t.withCtx((function(){return[o.option.iconLeft?(t.openBlock(),t.createElementBlock("span",{key:0,class:"vnb__menu-options__option__link__icon vnb__menu-options__option__button__icon--left",innerHTML:o.option.iconLeft},null,8,ht)):t.createCommentVNode("v-if",!0),t.createTextVNode(" "+t.toDisplayString(o.option.text)+" ",1),o.option.iconRight?(t.openBlock(),t.createElementBlock("span",{key:1,class:"vnb__menu-options__option__link__icon vnb__menu-options__option__button__icon--right",innerHTML:o.option.iconRight},null,8,bt)):t.createCommentVNode("v-if",!0)]})),_:1},8,["path","isUsingVueRouter","aria-label","isLinkAction"]))},vt.__file="src/components/DesktopMenuItemLink.vue";var Tt={name:"desktop-menu-item-spacer",props:{option:{type:Object,required:!0}},data:function(){return{}}},It={class:"vnb__menu-options__option__spacer"};Tt.render=function(e,n,o,i,r,s){return t.openBlock(),t.createElementBlock("div",It)},Tt.__file="src/components/DesktopMenuItemSpacer.vue";var At={name:"menu-options",mixins:[n],props:{options:{type:Object,required:!0},type:{type:String,required:!0}},data:function(){return{}},methods:{vnbItemClicked:function(e){this.$emit("vnb-item-clicked",e)}},components:{DesktopMenuItemLink:vt,DesktopMenuItemButton:f,DesktopMenuItemSpacer:Tt},emits:["vnb-item-clicked"]};At.render=function(e,n,o,i,r,s){var a=t.resolveComponent("desktop-menu-item-link"),p=t.resolveComponent("desktop-menu-item-button"),c=t.resolveComponent("desktop-menu-item-spacer");return e.$vssWidth>o.options.mobileBreakpoint?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(["vnb__menu-options",{"vnb__menu-options--left":"left"===o.type},{"vnb__menu-options--right":"right"===o.type}])},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList("left"===o.type?o.options.menuOptionsLeft:o.options.menuOptionsRight,(function(e,n){return t.openBlock(),t.createElementBlock("div",{key:n,class:"vnb__menu-options__option"},["link"===e.type?(t.openBlock(),t.createBlock(a,{key:0,option:e,options:o.options,onVnbItemClicked:s.vnbItemClicked},null,8,["option","options","onVnbItemClicked"])):"button"===e.type?(t.openBlock(),t.createBlock(p,{key:1,option:e,options:o.options,onVnbItemClicked:s.vnbItemClicked},null,8,["option","options","onVnbItemClicked"])):(t.openBlock(),t.createBlock(c,{key:2,option:e},null,8,["option"]))])})),128))],2)):t.createCommentVNode("v-if",!0)},At.__file="src/components/MenuOptions.vue";var Nt={name:"popup",props:{options:{type:Object,required:!0},menuIsVisible:{type:Boolean,required:!0}},data:function(){return{}},computed:{combinedMenuItems:function(){return this.options.menuOptionsLeft.concat(this.options.menuOptionsRight)}},methods:{closeButtonClicked:function(){this.$emit("close-button-clicked")},itemSelected:function(e){this.$emit("vnb-item-clicked",e.text),this.closeButtonClicked()}},components:{DynamicLink:i},emits:["close-button-clicked","vnb-item-clicked"]},Mt={key:0,class:"vnb__popup"},Dt={class:"vnb__popup__top"},jt=["src","alt"],Rt=["aria-expanded"],St=["src"],Ht=[t.createElementVNode("title",null,"Close button",-1),t.createElementVNode("path",{d:"m42 967c-12-13-22-27-22-33 0-5 93-102 207-216l208-208-208-208c-114-114-207-214-207-223 0-8 11-26 25-39l26-24 214 214 215 215 215-215 214-214 26 24c14 13 25 28 25 34s-92 103-205 216-205 209-205 215 92 102 205 215 205 210 205 216c0 12-42 54-55 54-5 0-104-94-220-210l-210-210-210 210c-115 116-212 210-216 210-3 0-15-10-27-23z",transform:"matrix(.1 0 0 -.1 0 100)"},null,-1)],Pt={class:"vnb__popup__bottom"},Wt={key:0,class:"vnb__popup__bottom__custom-section"},Ut={class:"vnb__popup__bottom__menu-options"},$t=["innerHTML"],qt=["innerHTML"],zt={key:1,class:"vnb__popup__bottom__menu-options__option__link vnb__popup__bottom__menu-options__option__link--no-highlight"},Ft={class:"vnb__popup__bottom__sub-menu-options"},Yt={class:"vnb__popup__bottom__sub-menu-options__option__link__sub-text"};Nt.render=function(e,n,o,i,r,s){var a=t.resolveComponent("dynamic-link");return o.menuIsVisible?(t.openBlock(),t.createElementBlock("div",Mt,[t.createElementVNode("div",Dt,[o.options.showBrandImageInMobilePopup&&o.options.brandImage?(t.openBlock(),t.createElementBlock("img",{key:0,src:o.options.brandImage,alt:o.options.brandImageAltText,class:"vnb-image vnb__popup__top__image"},null,8,jt)):t.createCommentVNode("v-if",!0),t.createElementVNode("button",{class:"vnb__popup__top__close-button",onClick:n[0]||(n[0]=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return s.closeButtonClicked&&s.closeButtonClicked.apply(s,e)}),"aria-label":"Close Button",title:"Close","aria-expanded":o.menuIsVisible?"true":"false"},[o.options.collapseButtonImageClose?(t.openBlock(),t.createElementBlock("img",{key:0,src:o.options.collapseButtonImageClose,alt:"Close button",class:"vnb__popup__top__close-button__image"},null,8,St)):(t.openBlock(),t.createElementBlock("svg",{key:1,height:"100pt",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 100 100",width:"100pt",xmlns:"http://www.w3.org/2000/svg",class:"vnb__popup__top__close-button__image",style:t.normalizeStyle({fill:o.options.collapseButtonCloseColor})},Ht,4))],8,Rt)]),t.createElementVNode("div",Pt,[this.$slots["custom-section"]?(t.openBlock(),t.createElementBlock("div",Wt,[t.renderSlot(e.$slots,"custom-section")])):t.createCommentVNode("v-if",!0),t.createElementVNode("ul",Ut,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(s.combinedMenuItems,(function(e,n){return t.openBlock(),t.createElementBlock("li",{key:n,class:"vnb__popup__bottom__menu-options__option"},[e.subMenuOptions?(t.openBlock(),t.createElementBlock("span",zt,t.toDisplayString(e.text),1)):(t.openBlock(),t.createBlock(a,{key:0,path:e.path,isUsingVueRouter:o.options.isUsingVueRouter,class:t.normalizeClass(["vnb__popup__bottom__menu-options__option__link",e.class]),onClick:function(t){return s.itemSelected(e)},"aria-label":e.text,isLinkAction:!!e.isLinkAction},{content:t.withCtx((function(){return[e.iconLeft?(t.openBlock(),t.createElementBlock("span",{key:0,class:"vnb__popup__bottom__menu-options__option__link__icon vnb__popup__bottom__menu-options__option__link__icon--left",innerHTML:e.iconLeft},null,8,$t)):t.createCommentVNode("v-if",!0),t.createTextVNode(" "+t.toDisplayString(e.text)+" ",1),e.iconRight?(t.openBlock(),t.createElementBlock("span",{key:1,class:"vnb__popup__bottom__menu-options__option__link__icon vnb__popup__bottom__menu-options__option__link__icon--right",innerHTML:e.iconRight},null,8,qt)):t.createCommentVNode("v-if",!0)]})),_:2},1032,["path","isUsingVueRouter","class","onClick","aria-label","isLinkAction"])),t.createElementVNode("div",Ft,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.subMenuOptions,(function(n,i){return t.openBlock(),t.createElementBlock("div",{key:i,class:"vnb__popup__bottom__sub-menu-options__option"},["link"===n.type?(t.openBlock(),t.createBlock(a,{key:0,path:n.path,isUsingVueRouter:o.options.isUsingVueRouter,class:"vnb__popup__bottom__sub-menu-options__option__link",onClick:function(e){return s.itemSelected(n)},"aria-label":n.text,isLinkAction:!!e.isLinkAction},{content:t.withCtx((function(){return[t.createTextVNode(t.toDisplayString(n.text)+" ",1),t.createElementVNode("span",Yt,t.toDisplayString(n.subText),1)]})),_:2},1032,["path","isUsingVueRouter","onClick","aria-label","isLinkAction"])):t.createCommentVNode("v-if",!0)])})),128))])])})),128))])])])):t.createCommentVNode("v-if",!0)},Nt.__file="src/components/Popup.vue";var Kt={name:"vue-navigation-bar",mixins:[n],props:{options:{type:Object,required:!0}},data:function(){return{menuIsVisible:!1}},computed:{finalOptions:function(){if(this.options.menuOptionsLeft)for(var e=0;eo.options.mobileBreakpoint?t.renderSlot(e.$slots,"custom-section",{key:0}):t.createCommentVNode("v-if",!0),t.createVNode(p,{options:s.finalOptions,type:"right",onVnbItemClicked:s.vnbItemClicked},null,8,["options","onVnbItemClicked"]),s.finalOptions.menuOptionsLeft.length||s.finalOptions.menuOptionsRight.length?(t.openBlock(),t.createBlock(c,{key:1,options:s.finalOptions,menuIsVisible:r.menuIsVisible,onCollapseButtonClicked:s.showMobilePopup},null,8,["options","menuIsVisible","onCollapseButtonClicked"])):t.createCommentVNode("v-if",!0),s.finalOptions.menuOptionsLeft.length||s.finalOptions.menuOptionsRight.length?(t.openBlock(),t.createBlock(l,{key:2,options:s.finalOptions,menuIsVisible:r.menuIsVisible,onCloseButtonClicked:s.closeMobilePopup,onVnbItemClicked:s.vnbItemClicked},{"custom-section":t.withCtx((function(){return[t.renderSlot(e.$slots,"custom-section")]})),_:3},8,["options","menuIsVisible","onCloseButtonClicked","onVnbItemClicked"])):t.createCommentVNode("v-if",!0)],8,Xt)},Kt.__file="src/vue-navigation-bar.vue";var Gt={install:Jt},Qt=null;return"undefined"!=typeof window?Qt=window.Vue:"undefined"!=typeof global&&(Qt=global.Vue),Qt&&Qt.use(Gt),e.default=Kt,e.install=Jt,Object.defineProperty(e,"__esModule",{value:!0}),e}({},Vue); diff --git a/dist/vue-navigation-bar.umd.js b/dist/vue-navigation-bar.umd.js index 87076b7..88be8a7 100644 --- a/dist/vue-navigation-bar.umd.js +++ b/dist/vue-navigation-bar.umd.js @@ -26,7 +26,7 @@ }, path: { type: [String, Object], - required: true, + required: false, }, isLinkAction: { type: Boolean, @@ -41,34 +41,36 @@ var _component_router_link = vue.resolveComponent("router-link"); return (vue.openBlock(), vue.createElementBlock(vue.Fragment, null, [ - vue.createElementVNode("template", null, [ - ($props.isLinkAction) - ? vue.renderSlot(_ctx.$slots, "content", vue.normalizeProps(vue.mergeProps({ key: 0 }, _ctx.$attrs))) - : vue.createCommentVNode("v-if", true) - ]), - ($props.isUsingVueRouter) - ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 0 }, [ - ($props.path.name) - ? (vue.openBlock(), vue.createBlock(_component_router_link, vue.mergeProps({ key: 0 }, _ctx.$attrs, { - to: {name: this.path.name} - }), { - default: vue.withCtx(function () { return [ - vue.renderSlot(_ctx.$slots, "content") - ]; }), - _: 3 /* FORWARDED */ - }, 16 /* FULL_PROPS */, ["to"])) - : (vue.openBlock(), vue.createBlock(_component_router_link, vue.mergeProps({ key: 1 }, _ctx.$attrs, { - to: {path: this.path} - }), { - default: vue.withCtx(function () { return [ - vue.renderSlot(_ctx.$slots, "content") - ]; }), - _: 3 /* FORWARDED */ - }, 16 /* FULL_PROPS */, ["to"])) - ], 2112 /* STABLE_FRAGMENT, DEV_ROOT_FRAGMENT */)) - : (vue.openBlock(), vue.createElementBlock("a", vue.mergeProps({ key: 1 }, _ctx.$attrs, { href: $props.path }), [ + ($props.isUsingVueRouter && $props.path && $props.path.name) + ? (vue.openBlock(), vue.createBlock(_component_router_link, vue.mergeProps({ key: 0 }, _ctx.$attrs, { + to: { name: this.path.name } + }), { + default: vue.withCtx(function () { return [ + vue.renderSlot(_ctx.$slots, "content") + ]; }), + _: 3 /* FORWARDED */ + }, 16 /* FULL_PROPS */, ["to"])) + : vue.createCommentVNode("v-if", true), + ($props.isUsingVueRouter && $props.path && !$props.path.name) + ? (vue.openBlock(), vue.createBlock(_component_router_link, vue.mergeProps({ key: 1 }, _ctx.$attrs, { + to: { path: this.path } + }), { + default: vue.withCtx(function () { return [ + vue.renderSlot(_ctx.$slots, "content") + ]; }), + _: 3 /* FORWARDED */ + }, 16 /* FULL_PROPS */, ["to"])) + : vue.createCommentVNode("v-if", true), + (!$props.isUsingVueRouter && !$props.isLinkAction && $props.path) + ? (vue.openBlock(), vue.createElementBlock("a", vue.mergeProps({ key: 2 }, _ctx.$attrs, { href: $props.path }), [ vue.renderSlot(_ctx.$slots, "content") ], 16 /* FULL_PROPS */, _hoisted_1$7)) + : vue.createCommentVNode("v-if", true), + ($props.isLinkAction) + ? (vue.openBlock(), vue.createElementBlock("a", vue.mergeProps({ key: 3 }, _ctx.$attrs, { href: "javascript:void(0);" }), [ + vue.renderSlot(_ctx.$slots, "content") + ], 16 /* FULL_PROPS */)) + : vue.createCommentVNode("v-if", true) ], 64 /* STABLE_FRAGMENT */)) } diff --git a/docs/assets/index.676fc0fb.js b/docs/assets/index.676fc0fb.js new file mode 100644 index 0000000..ff9467d --- /dev/null +++ b/docs/assets/index.676fc0fb.js @@ -0,0 +1,5 @@ +const Sa=function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))i(o);new MutationObserver(o=>{for(const r of o)if(r.type==="childList")for(const s of r.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&i(s)}).observe(document,{childList:!0,subtree:!0});function n(o){const r={};return o.integrity&&(r.integrity=o.integrity),o.referrerpolicy&&(r.referrerPolicy=o.referrerpolicy),o.crossorigin==="use-credentials"?r.credentials="include":o.crossorigin==="anonymous"?r.credentials="omit":r.credentials="same-origin",r}function i(o){if(o.ep)return;o.ep=!0;const r=n(o);fetch(o.href,r)}};Sa();function ho(e,t){const n=Object.create(null),i=e.split(",");for(let o=0;o!!n[o.toLowerCase()]:o=>!!n[o]}const ve={},Jt=[],nt=()=>{},La=()=>!1,Ba=/^on[^a-z]/,gi=e=>Ba.test(e),mo=e=>e.startsWith("onUpdate:"),ke=Object.assign,vo=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Da=Object.prototype.hasOwnProperty,oe=(e,t)=>Da.call(e,t),z=Array.isArray,Zt=e=>_i(e)==="[object Map]",is=e=>_i(e)==="[object Set]",Q=e=>typeof e=="function",Ce=e=>typeof e=="string",go=e=>typeof e=="symbol",ge=e=>e!==null&&typeof e=="object",os=e=>ge(e)&&Q(e.then)&&Q(e.catch),rs=Object.prototype.toString,_i=e=>rs.call(e),ja=e=>_i(e).slice(8,-1),ss=e=>_i(e)==="[object Object]",_o=e=>Ce(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Gn=ho(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),bi=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Ha=/-(\w)/g,ut=bi(e=>e.replace(Ha,(t,n)=>n?n.toUpperCase():"")),$a=/\B([A-Z])/g,Ut=bi(e=>e.replace($a,"-$1").toLowerCase()),yi=bi(e=>e.charAt(0).toUpperCase()+e.slice(1)),Li=bi(e=>e?`on${yi(e)}`:""),Pn=(e,t)=>!Object.is(e,t),Bi=(e,t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},Na=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let zo;const Ki=()=>zo||(zo=typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:typeof window!="undefined"?window:typeof global!="undefined"?global:{});function dn(e){if(z(e)){const t={};for(let n=0;n{if(n){const i=n.split(Fa);i.length>1&&(t[i[0].trim()]=i[1].trim())}}),t}function Wt(e){let t="";if(Ce(e))t=e;else if(z(e))for(let n=0;nCe(e)?e:e==null?"":z(e)||ge(e)&&(e.toString===rs||!Q(e.toString))?JSON.stringify(e,ls,2):String(e),ls=(e,t)=>t&&t.__v_isRef?ls(e,t.value):Zt(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[i,o])=>(n[`${i} =>`]=o,n),{})}:is(t)?{[`Set(${t.size})`]:[...t.values()]}:ge(t)&&!z(t)&&!ss(t)?String(t):t;let Je;class Ka{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=Je,!t&&Je&&(this.index=(Je.scopes||(Je.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=Je;try{return Je=this,t()}finally{Je=n}}}on(){Je=this}off(){Je=this.parent}stop(t){if(this._active){let n,i;for(n=0,i=this.effects.length;n{const t=new Set(e);return t.w=0,t.n=0,t},cs=e=>(e.w&Tt)>0,us=e=>(e.n&Tt)>0,Qa=({deps:e})=>{if(e.length)for(let t=0;t{const{deps:t}=e;if(t.length){let n=0;for(let i=0;i{(c==="length"||c>=l)&&a.push(u)})}else switch(n!==void 0&&a.push(s.get(n)),t){case"add":z(e)?_o(n)&&a.push(s.get("length")):(a.push(s.get($t)),Zt(e)&&a.push(s.get(Qi)));break;case"delete":z(e)||(a.push(s.get($t)),Zt(e)&&a.push(s.get(Qi)));break;case"set":Zt(e)&&a.push(s.get($t));break}if(a.length===1)a[0]&&Ji(a[0]);else{const l=[];for(const u of a)u&&l.push(...u);Ji(bo(l))}}function Ji(e,t){const n=z(e)?e:[...e];for(const i of n)i.computed&&Yo(i);for(const i of n)i.computed||Yo(i)}function Yo(e,t){(e!==Ze||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}const Za=ho("__proto__,__v_isRef,__isVue"),ds=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(go)),Ga=wo(),el=wo(!1,!0),tl=wo(!0),Xo=nl();function nl(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const i=ae(this);for(let r=0,s=this.length;r{e[t]=function(...n){hn();const i=ae(this)[t].apply(this,n);return mn(),i}}),e}function il(e){const t=ae(this);return Fe(t,"has",e),t.hasOwnProperty(e)}function wo(e=!1,t=!1){return function(i,o,r){if(o==="__v_isReactive")return!e;if(o==="__v_isReadonly")return e;if(o==="__v_isShallow")return t;if(o==="__v_raw"&&r===(e?t?bl:_s:t?gs:vs).get(i))return i;const s=z(i);if(!e){if(s&&oe(Xo,o))return Reflect.get(Xo,o,r);if(o==="hasOwnProperty")return il}const a=Reflect.get(i,o,r);return(go(o)?ds.has(o):Za(o))||(e||Fe(i,"get",o),t)?a:Se(a)?s&&_o(o)?a:a.value:ge(a)?e?ys(a):xi(a):a}}const ol=hs(),rl=hs(!0);function hs(e=!1){return function(n,i,o,r){let s=n[i];if(nn(s)&&Se(s)&&!Se(o))return!1;if(!e&&(!ai(o)&&!nn(o)&&(s=ae(s),o=ae(o)),!z(n)&&Se(s)&&!Se(o)))return s.value=o,!0;const a=z(n)&&_o(i)?Number(i)e,wi=e=>Reflect.getPrototypeOf(e);function qn(e,t,n=!1,i=!1){e=e.__v_raw;const o=ae(e),r=ae(t);n||(t!==r&&Fe(o,"get",t),Fe(o,"get",r));const{has:s}=wi(o),a=i?xo:n?Co:In;if(s.call(o,t))return a(e.get(t));if(s.call(o,r))return a(e.get(r));e!==o&&e.get(t)}function zn(e,t=!1){const n=this.__v_raw,i=ae(n),o=ae(e);return t||(e!==o&&Fe(i,"has",e),Fe(i,"has",o)),e===o?n.has(e):n.has(e)||n.has(o)}function Kn(e,t=!1){return e=e.__v_raw,!t&&Fe(ae(e),"iterate",$t),Reflect.get(e,"size",e)}function Qo(e){e=ae(e);const t=ae(this);return wi(t).has.call(t,e)||(t.add(e),_t(t,"add",e,e)),this}function Jo(e,t){t=ae(t);const n=ae(this),{has:i,get:o}=wi(n);let r=i.call(n,e);r||(e=ae(e),r=i.call(n,e));const s=o.call(n,e);return n.set(e,t),r?Pn(t,s)&&_t(n,"set",e,t):_t(n,"add",e,t),this}function Zo(e){const t=ae(this),{has:n,get:i}=wi(t);let o=n.call(t,e);o||(e=ae(e),o=n.call(t,e)),i&&i.call(t,e);const r=t.delete(e);return o&&_t(t,"delete",e,void 0),r}function Go(){const e=ae(this),t=e.size!==0,n=e.clear();return t&&_t(e,"clear",void 0,void 0),n}function Yn(e,t){return function(i,o){const r=this,s=r.__v_raw,a=ae(s),l=t?xo:e?Co:In;return!e&&Fe(a,"iterate",$t),s.forEach((u,c)=>i.call(o,l(u),l(c),r))}}function Xn(e,t,n){return function(...i){const o=this.__v_raw,r=ae(o),s=Zt(r),a=e==="entries"||e===Symbol.iterator&&s,l=e==="keys"&&s,u=o[e](...i),c=n?xo:t?Co:In;return!t&&Fe(r,"iterate",l?Qi:$t),{next(){const{value:h,done:m}=u.next();return m?{value:h,done:m}:{value:a?[c(h[0]),c(h[1])]:c(h),done:m}},[Symbol.iterator](){return this}}}}function xt(e){return function(...t){return e==="delete"?!1:this}}function fl(){const e={get(r){return qn(this,r)},get size(){return Kn(this)},has:zn,add:Qo,set:Jo,delete:Zo,clear:Go,forEach:Yn(!1,!1)},t={get(r){return qn(this,r,!1,!0)},get size(){return Kn(this)},has:zn,add:Qo,set:Jo,delete:Zo,clear:Go,forEach:Yn(!1,!0)},n={get(r){return qn(this,r,!0)},get size(){return Kn(this,!0)},has(r){return zn.call(this,r,!0)},add:xt("add"),set:xt("set"),delete:xt("delete"),clear:xt("clear"),forEach:Yn(!0,!1)},i={get(r){return qn(this,r,!0,!0)},get size(){return Kn(this,!0)},has(r){return zn.call(this,r,!0)},add:xt("add"),set:xt("set"),delete:xt("delete"),clear:xt("clear"),forEach:Yn(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(r=>{e[r]=Xn(r,!1,!1),n[r]=Xn(r,!0,!1),t[r]=Xn(r,!1,!0),i[r]=Xn(r,!0,!0)}),[e,n,t,i]}const[pl,dl,hl,ml]=fl();function Eo(e,t){const n=t?e?ml:hl:e?dl:pl;return(i,o,r)=>o==="__v_isReactive"?!e:o==="__v_isReadonly"?e:o==="__v_raw"?i:Reflect.get(oe(n,o)&&o in i?n:i,o,r)}const vl={get:Eo(!1,!1)},gl={get:Eo(!1,!0)},_l={get:Eo(!0,!1)},vs=new WeakMap,gs=new WeakMap,_s=new WeakMap,bl=new WeakMap;function yl(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function wl(e){return e.__v_skip||!Object.isExtensible(e)?0:yl(ja(e))}function xi(e){return nn(e)?e:Oo(e,!1,ms,vl,vs)}function bs(e){return Oo(e,!1,ul,gl,gs)}function ys(e){return Oo(e,!0,cl,_l,_s)}function Oo(e,t,n,i,o){if(!ge(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const r=o.get(e);if(r)return r;const s=wl(e);if(s===0)return e;const a=new Proxy(e,s===2?i:n);return o.set(e,a),a}function Gt(e){return nn(e)?Gt(e.__v_raw):!!(e&&e.__v_isReactive)}function nn(e){return!!(e&&e.__v_isReadonly)}function ai(e){return!!(e&&e.__v_isShallow)}function ws(e){return Gt(e)||nn(e)}function ae(e){const t=e&&e.__v_raw;return t?ae(t):e}function xs(e){return si(e,"__v_skip",!0),e}const In=e=>ge(e)?xi(e):e,Co=e=>ge(e)?ys(e):e;function Es(e){At&&Ze&&(e=ae(e),ps(e.dep||(e.dep=bo())))}function Os(e,t){e=ae(e);const n=e.dep;n&&Ji(n)}function Se(e){return!!(e&&e.__v_isRef===!0)}function xl(e){return Cs(e,!1)}function El(e){return Cs(e,!0)}function Cs(e,t){return Se(e)?e:new Ol(e,t)}class Ol{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:ae(t),this._value=n?t:In(t)}get value(){return Es(this),this._value}set value(t){const n=this.__v_isShallow||ai(t)||nn(t);t=n?t:ae(t),Pn(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:In(t),Os(this))}}function en(e){return Se(e)?e.value:e}const Cl={get:(e,t,n)=>en(Reflect.get(e,t,n)),set:(e,t,n,i)=>{const o=e[t];return Se(o)&&!Se(n)?(o.value=n,!0):Reflect.set(e,t,n,i)}};function As(e){return Gt(e)?e:new Proxy(e,Cl)}class Al{constructor(t,n,i,o){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this._dirty=!0,this.effect=new yo(t,()=>{this._dirty||(this._dirty=!0,Os(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!o,this.__v_isReadonly=i}get value(){const t=ae(this);return Es(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}function kl(e,t,n=!1){let i,o;const r=Q(e);return r?(i=e,o=nt):(i=e.get,o=e.set),new Al(i,o,r||!o,n)}function kt(e,t,n,i){let o;try{o=i?e(...i):e()}catch(r){Ei(r,t,n)}return o}function it(e,t,n,i){if(Q(e)){const r=kt(e,t,n,i);return r&&os(r)&&r.catch(s=>{Ei(s,t,n)}),r}const o=[];for(let r=0;r>>1;Sn(Me[i])lt&&Me.splice(t,1)}function Il(e){z(e)?tn.push(...e):(!mt||!mt.includes(e,e.allowRecurse?Dt+1:Dt))&&tn.push(e),Rs()}function er(e,t=Mn?lt+1:0){for(;tSn(n)-Sn(i)),Dt=0;Dte.id==null?1/0:e.id,Ml=(e,t)=>{const n=Sn(e)-Sn(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function Is(e){Zi=!1,Mn=!0,Me.sort(Ml);const t=nt;try{for(lt=0;ltCe(g)?g.trim():g)),h&&(o=n.map(Na))}let a,l=i[a=Li(t)]||i[a=Li(ut(t))];!l&&r&&(l=i[a=Li(Ut(t))]),l&&it(l,e,6,o);const u=i[a+"Once"];if(u){if(!e.emitted)e.emitted={};else if(e.emitted[a])return;e.emitted[a]=!0,it(u,e,6,o)}}function Ms(e,t,n=!1){const i=t.emitsCache,o=i.get(e);if(o!==void 0)return o;const r=e.emits;let s={},a=!1;if(!Q(e)){const l=u=>{const c=Ms(u,t,!0);c&&(a=!0,ke(s,c))};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!r&&!a?(ge(e)&&i.set(e,null),null):(z(r)?r.forEach(l=>s[l]=null):ke(s,r),ge(e)&&i.set(e,s),s)}function Oi(e,t){return!e||!gi(t)?!1:(t=t.slice(2).replace(/Once$/,""),oe(e,t[0].toLowerCase()+t.slice(1))||oe(e,Ut(t))||oe(e,t))}let De=null,Ss=null;function li(e){const t=De;return De=e,Ss=e&&e.type.__scopeId||null,t}function ft(e,t=De,n){if(!t||e._n)return e;const i=(...o)=>{i._d&&fr(-1);const r=li(t);let s;try{s=e(...o)}finally{li(r),i._d&&fr(1)}return s};return i._n=!0,i._c=!0,i._d=!0,i}function Di(e){const{type:t,vnode:n,proxy:i,withProxy:o,props:r,propsOptions:[s],slots:a,attrs:l,emit:u,render:c,renderCache:h,data:m,setupState:g,ctx:O,inheritAttrs:C}=e;let P,R;const I=li(e);try{if(n.shapeFlag&4){const d=o||i;P=st(c.call(d,d,h,r,g,m,O)),R=l}else{const d=t;P=st(d.length>1?d(r,{attrs:l,slots:a,emit:u}):d(r,null)),R=t.props?l:Ll(l)}}catch(d){On.length=0,Ei(d,e,1),P=xe(Rt)}let V=P;if(R&&C!==!1){const d=Object.keys(R),{shapeFlag:W}=V;d.length&&W&7&&(s&&d.some(mo)&&(R=Bl(R,s)),V=on(V,R))}return n.dirs&&(V=on(V),V.dirs=V.dirs?V.dirs.concat(n.dirs):n.dirs),n.transition&&(V.transition=n.transition),P=V,li(I),P}const Ll=e=>{let t;for(const n in e)(n==="class"||n==="style"||gi(n))&&((t||(t={}))[n]=e[n]);return t},Bl=(e,t)=>{const n={};for(const i in e)(!mo(i)||!(i.slice(9)in t))&&(n[i]=e[i]);return n};function Dl(e,t,n){const{props:i,children:o,component:r}=e,{props:s,children:a,patchFlag:l}=t,u=r.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return i?tr(i,s,u):!!s;if(l&8){const c=t.dynamicProps;for(let h=0;he.__isSuspense;function $l(e,t){t&&t.pendingBranch?z(e)?t.effects.push(...e):t.effects.push(e):Il(e)}const Qn={};function ei(e,t,n){return Ls(e,t,n)}function Ls(e,t,{immediate:n,deep:i,flush:o,onTrack:r,onTrigger:s}=ve){var a;const l=Xa()===((a=Te)==null?void 0:a.scope)?Te:null;let u,c=!1,h=!1;if(Se(e)?(u=()=>e.value,c=ai(e)):Gt(e)?(u=()=>e,i=!0):z(e)?(h=!0,c=e.some(d=>Gt(d)||ai(d)),u=()=>e.map(d=>{if(Se(d))return d.value;if(Gt(d))return Qt(d);if(Q(d))return kt(d,l,2)})):Q(e)?t?u=()=>kt(e,l,2):u=()=>{if(!(l&&l.isUnmounted))return m&&m(),it(e,l,3,[g])}:u=nt,t&&i){const d=u;u=()=>Qt(d())}let m,g=d=>{m=I.onStop=()=>{kt(d,l,4)}},O;if(Bn)if(g=nt,t?n&&it(t,l,3,[u(),h?[]:void 0,g]):u(),o==="sync"){const d=Mc();O=d.__watcherHandles||(d.__watcherHandles=[])}else return nt;let C=h?new Array(e.length).fill(Qn):Qn;const P=()=>{if(!!I.active)if(t){const d=I.run();(i||c||(h?d.some((W,M)=>Pn(W,C[M])):Pn(d,C)))&&(m&&m(),it(t,l,3,[d,C===Qn?void 0:h&&C[0]===Qn?[]:C,g]),C=d)}else I.run()};P.allowRecurse=!!t;let R;o==="sync"?R=P:o==="post"?R=()=>He(P,l&&l.suspense):(P.pre=!0,l&&(P.id=l.uid),R=()=>ko(P));const I=new yo(u,R);t?n?P():C=I.run():o==="post"?He(I.run.bind(I),l&&l.suspense):I.run();const V=()=>{I.stop(),l&&l.scope&&vo(l.scope.effects,I)};return O&&O.push(V),V}function Nl(e,t,n){const i=this.proxy,o=Ce(e)?e.includes(".")?Bs(i,e):()=>i[e]:e.bind(i,i);let r;Q(t)?r=t:(r=t.handler,n=t);const s=Te;sn(this);const a=Ls(o,r.bind(i),n);return s?sn(s):Nt(),a}function Bs(e,t){const n=t.split(".");return()=>{let i=e;for(let o=0;o{Qt(n,t)});else if(ss(e))for(const n in e)Qt(e[n],t);return e}function St(e,t,n,i){const o=e.dirs,r=t&&t.dirs;for(let s=0;ske({name:e.name},t,{setup:e}))():e}const xn=e=>!!e.type.__asyncLoader,js=e=>e.type.__isKeepAlive;function Vl(e,t){Hs(e,"a",t)}function Fl(e,t){Hs(e,"da",t)}function Hs(e,t,n=Te){const i=e.__wdc||(e.__wdc=()=>{let o=n;for(;o;){if(o.isDeactivated)return;o=o.parent}return e()});if(Ci(t,i,n),n){let o=n.parent;for(;o&&o.parent;)js(o.parent.vnode)&&Ul(i,t,n,o),o=o.parent}}function Ul(e,t,n,i){const o=Ci(t,e,i,!0);$s(()=>{vo(i[t],o)},n)}function Ci(e,t,n=Te,i=!1){if(n){const o=n[e]||(n[e]=[]),r=t.__weh||(t.__weh=(...s)=>{if(n.isUnmounted)return;hn(),sn(n);const a=it(t,n,e,s);return Nt(),mn(),a});return i?o.unshift(r):o.push(r),r}}const yt=e=>(t,n=Te)=>(!Bn||e==="sp")&&Ci(e,(...i)=>t(...i),n),Wl=yt("bm"),ql=yt("m"),zl=yt("bu"),Kl=yt("u"),Yl=yt("bum"),$s=yt("um"),Xl=yt("sp"),Ql=yt("rtg"),Jl=yt("rtc");function Zl(e,t=Te){Ci("ec",e,t)}const Ns="components";function qe(e,t){return ec(Ns,e,!0,t)||e}const Gl=Symbol.for("v-ndc");function ec(e,t,n=!0,i=!1){const o=De||Te;if(o){const r=o.type;if(e===Ns){const a=Rc(r,!1);if(a&&(a===t||a===ut(t)||a===yi(ut(t))))return r}const s=nr(o[e]||r[e],t)||nr(o.appContext[e],t);return!s&&i?r:s}}function nr(e,t){return e&&(e[t]||e[ut(t)]||e[yi(ut(t))])}function ci(e,t,n,i){let o;const r=n&&n[i];if(z(e)||Ce(e)){o=new Array(e.length);for(let s=0,a=e.length;st(s,a,void 0,r&&r[a]));else{const s=Object.keys(e);o=new Array(s.length);for(let a=0,l=s.length;api(t)?!(t.type===Rt||t.type===Ie&&!Vs(t.children)):!0)?e:null}const Gi=e=>e?Zs(e)?Mo(e)||e.proxy:Gi(e.parent):null,En=ke(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>Gi(e.parent),$root:e=>Gi(e.root),$emit:e=>e.emit,$options:e=>To(e),$forceUpdate:e=>e.f||(e.f=()=>ko(e.update)),$nextTick:e=>e.n||(e.n=Ts.bind(e.proxy)),$watch:e=>Nl.bind(e)}),ji=(e,t)=>e!==ve&&!e.__isScriptSetup&&oe(e,t),tc={get({_:e},t){const{ctx:n,setupState:i,data:o,props:r,accessCache:s,type:a,appContext:l}=e;let u;if(t[0]!=="$"){const g=s[t];if(g!==void 0)switch(g){case 1:return i[t];case 2:return o[t];case 4:return n[t];case 3:return r[t]}else{if(ji(i,t))return s[t]=1,i[t];if(o!==ve&&oe(o,t))return s[t]=2,o[t];if((u=e.propsOptions[0])&&oe(u,t))return s[t]=3,r[t];if(n!==ve&&oe(n,t))return s[t]=4,n[t];eo&&(s[t]=0)}}const c=En[t];let h,m;if(c)return t==="$attrs"&&Fe(e,"get",t),c(e);if((h=a.__cssModules)&&(h=h[t]))return h;if(n!==ve&&oe(n,t))return s[t]=4,n[t];if(m=l.config.globalProperties,oe(m,t))return m[t]},set({_:e},t,n){const{data:i,setupState:o,ctx:r}=e;return ji(o,t)?(o[t]=n,!0):i!==ve&&oe(i,t)?(i[t]=n,!0):oe(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(r[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:i,appContext:o,propsOptions:r}},s){let a;return!!n[s]||e!==ve&&oe(e,s)||ji(t,s)||(a=r[0])&&oe(a,s)||oe(i,s)||oe(En,s)||oe(o.config.globalProperties,s)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:oe(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function ir(e){return z(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let eo=!0;function nc(e){const t=To(e),n=e.proxy,i=e.ctx;eo=!1,t.beforeCreate&&or(t.beforeCreate,e,"bc");const{data:o,computed:r,methods:s,watch:a,provide:l,inject:u,created:c,beforeMount:h,mounted:m,beforeUpdate:g,updated:O,activated:C,deactivated:P,beforeDestroy:R,beforeUnmount:I,destroyed:V,unmounted:d,render:W,renderTracked:M,renderTriggered:Z,errorCaptured:ce,serverPrefetch:pe,expose:te,inheritAttrs:fe,components:le,directives:ee,filters:Ee}=t;if(u&&ic(u,i,null),s)for(const K in s){const q=s[K];Q(q)&&(i[K]=q.bind(n))}if(o){const K=o.call(n,n);ge(K)&&(e.data=xi(K))}if(eo=!0,r)for(const K in r){const q=r[K],we=Q(q)?q.bind(n,n):Q(q.get)?q.get.bind(n,n):nt,Oe=!Q(q)&&Q(q.set)?q.set.bind(n):nt,Ae=Ge({get:we,set:Oe});Object.defineProperty(i,K,{enumerable:!0,configurable:!0,get:()=>Ae.value,set:me=>Ae.value=me})}if(a)for(const K in a)Fs(a[K],i,n,K);if(l){const K=Q(l)?l.call(n):l;Reflect.ownKeys(K).forEach(q=>{ti(q,K[q])})}c&&or(c,e,"c");function G(K,q){z(q)?q.forEach(we=>K(we.bind(n))):q&&K(q.bind(n))}if(G(Wl,h),G(ql,m),G(zl,g),G(Kl,O),G(Vl,C),G(Fl,P),G(Zl,ce),G(Jl,M),G(Ql,Z),G(Yl,I),G($s,d),G(Xl,pe),z(te))if(te.length){const K=e.exposed||(e.exposed={});te.forEach(q=>{Object.defineProperty(K,q,{get:()=>n[q],set:we=>n[q]=we})})}else e.exposed||(e.exposed={});W&&e.render===nt&&(e.render=W),fe!=null&&(e.inheritAttrs=fe),le&&(e.components=le),ee&&(e.directives=ee)}function ic(e,t,n=nt){z(e)&&(e=to(e));for(const i in e){const o=e[i];let r;ge(o)?"default"in o?r=gt(o.from||i,o.default,!0):r=gt(o.from||i):r=gt(o),Se(r)?Object.defineProperty(t,i,{enumerable:!0,configurable:!0,get:()=>r.value,set:s=>r.value=s}):t[i]=r}}function or(e,t,n){it(z(e)?e.map(i=>i.bind(t.proxy)):e.bind(t.proxy),t,n)}function Fs(e,t,n,i){const o=i.includes(".")?Bs(n,i):()=>n[i];if(Ce(e)){const r=t[e];Q(r)&&ei(o,r)}else if(Q(e))ei(o,e.bind(n));else if(ge(e))if(z(e))e.forEach(r=>Fs(r,t,n,i));else{const r=Q(e.handler)?e.handler.bind(n):t[e.handler];Q(r)&&ei(o,r,e)}}function To(e){const t=e.type,{mixins:n,extends:i}=t,{mixins:o,optionsCache:r,config:{optionMergeStrategies:s}}=e.appContext,a=r.get(t);let l;return a?l=a:!o.length&&!n&&!i?l=t:(l={},o.length&&o.forEach(u=>ui(l,u,s,!0)),ui(l,t,s)),ge(t)&&r.set(t,l),l}function ui(e,t,n,i=!1){const{mixins:o,extends:r}=t;r&&ui(e,r,n,!0),o&&o.forEach(s=>ui(e,s,n,!0));for(const s in t)if(!(i&&s==="expose")){const a=oc[s]||n&&n[s];e[s]=a?a(e[s],t[s]):t[s]}return e}const oc={data:rr,props:sr,emits:sr,methods:yn,computed:yn,beforeCreate:Be,created:Be,beforeMount:Be,mounted:Be,beforeUpdate:Be,updated:Be,beforeDestroy:Be,beforeUnmount:Be,destroyed:Be,unmounted:Be,activated:Be,deactivated:Be,errorCaptured:Be,serverPrefetch:Be,components:yn,directives:yn,watch:sc,provide:rr,inject:rc};function rr(e,t){return t?e?function(){return ke(Q(e)?e.call(this,this):e,Q(t)?t.call(this,this):t)}:t:e}function rc(e,t){return yn(to(e),to(t))}function to(e){if(z(e)){const t={};for(let n=0;n1)return n&&Q(t)?t.call(i&&i.proxy):t}}function cc(e,t,n,i=!1){const o={},r={};si(r,ki,1),e.propsDefaults=Object.create(null),Ws(e,t,o,r);for(const s in e.propsOptions[0])s in o||(o[s]=void 0);n?e.props=i?o:bs(o):e.type.props?e.props=o:e.props=r,e.attrs=r}function uc(e,t,n,i){const{props:o,attrs:r,vnode:{patchFlag:s}}=e,a=ae(o),[l]=e.propsOptions;let u=!1;if((i||s>0)&&!(s&16)){if(s&8){const c=e.vnode.dynamicProps;for(let h=0;h{l=!0;const[m,g]=qs(h,t,!0);ke(s,m),g&&a.push(...g)};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}if(!r&&!l)return ge(e)&&i.set(e,Jt),Jt;if(z(r))for(let c=0;c-1,g[1]=C<0||O-1||oe(g,"default"))&&a.push(h)}}}const u=[s,a];return ge(e)&&i.set(e,u),u}function ar(e){return e[0]!=="$"}function lr(e){const t=e&&e.toString().match(/^\s*(function|class) (\w+)/);return t?t[2]:e===null?"null":""}function cr(e,t){return lr(e)===lr(t)}function ur(e,t){return z(t)?t.findIndex(n=>cr(n,e)):Q(t)&&cr(t,e)?0:-1}const zs=e=>e[0]==="_"||e==="$stable",Ro=e=>z(e)?e.map(st):[st(e)],fc=(e,t,n)=>{if(t._n)return t;const i=ft((...o)=>Ro(t(...o)),n);return i._c=!1,i},Ks=(e,t,n)=>{const i=e._ctx;for(const o in e){if(zs(o))continue;const r=e[o];if(Q(r))t[o]=fc(o,r,i);else if(r!=null){const s=Ro(r);t[o]=()=>s}}},Ys=(e,t)=>{const n=Ro(t);e.slots.default=()=>n},pc=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=ae(t),si(t,"_",n)):Ks(t,e.slots={})}else e.slots={},t&&Ys(e,t);si(e.slots,ki,1)},dc=(e,t,n)=>{const{vnode:i,slots:o}=e;let r=!0,s=ve;if(i.shapeFlag&32){const a=t._;a?n&&a===1?r=!1:(ke(o,t),!n&&a===1&&delete o._):(r=!t.$stable,Ks(t,o)),s=t}else t&&(Ys(e,t),s={default:1});if(r)for(const a in o)!zs(a)&&!(a in s)&&delete o[a]};function io(e,t,n,i,o=!1){if(z(e)){e.forEach((m,g)=>io(m,t&&(z(t)?t[g]:t),n,i,o));return}if(xn(i)&&!o)return;const r=i.shapeFlag&4?Mo(i.component)||i.component.proxy:i.el,s=o?null:r,{i:a,r:l}=e,u=t&&t.r,c=a.refs===ve?a.refs={}:a.refs,h=a.setupState;if(u!=null&&u!==l&&(Ce(u)?(c[u]=null,oe(h,u)&&(h[u]=null)):Se(u)&&(u.value=null)),Q(l))kt(l,a,12,[s,c]);else{const m=Ce(l),g=Se(l);if(m||g){const O=()=>{if(e.f){const C=m?oe(h,l)?h[l]:c[l]:l.value;o?z(C)&&vo(C,r):z(C)?C.includes(r)||C.push(r):m?(c[l]=[r],oe(h,l)&&(h[l]=c[l])):(l.value=[r],e.k&&(c[e.k]=l.value))}else m?(c[l]=s,oe(h,l)&&(h[l]=s)):g&&(l.value=s,e.k&&(c[e.k]=s))};s?(O.id=-1,He(O,n)):O()}}}const He=$l;function hc(e){return mc(e)}function mc(e,t){const n=Ki();n.__VUE__=!0;const{insert:i,remove:o,patchProp:r,createElement:s,createText:a,createComment:l,setText:u,setElementText:c,parentNode:h,nextSibling:m,setScopeId:g=nt,insertStaticContent:O}=e,C=(f,p,v,_=null,w=null,x=null,L=!1,A=null,k=!!p.dynamicChildren)=>{if(f===p)return;f&&!vn(f,p)&&(_=y(f),me(f,w,x,!0),f=null),p.patchFlag===-2&&(k=!1,p.dynamicChildren=null);const{type:E,ref:H,shapeFlag:D}=p;switch(E){case Ai:P(f,p,v,_);break;case Rt:R(f,p,v,_);break;case ni:f==null&&I(p,v,_,L);break;case Ie:le(f,p,v,_,w,x,L,A,k);break;default:D&1?W(f,p,v,_,w,x,L,A,k):D&6?ee(f,p,v,_,w,x,L,A,k):(D&64||D&128)&&E.process(f,p,v,_,w,x,L,A,k,T)}H!=null&&w&&io(H,f&&f.ref,x,p||f,!p)},P=(f,p,v,_)=>{if(f==null)i(p.el=a(p.children),v,_);else{const w=p.el=f.el;p.children!==f.children&&u(w,p.children)}},R=(f,p,v,_)=>{f==null?i(p.el=l(p.children||""),v,_):p.el=f.el},I=(f,p,v,_)=>{[f.el,f.anchor]=O(f.children,p,v,_,f.el,f.anchor)},V=({el:f,anchor:p},v,_)=>{let w;for(;f&&f!==p;)w=m(f),i(f,v,_),f=w;i(p,v,_)},d=({el:f,anchor:p})=>{let v;for(;f&&f!==p;)v=m(f),o(f),f=v;o(p)},W=(f,p,v,_,w,x,L,A,k)=>{L=L||p.type==="svg",f==null?M(p,v,_,w,x,L,A,k):pe(f,p,w,x,L,A,k)},M=(f,p,v,_,w,x,L,A)=>{let k,E;const{type:H,props:D,shapeFlag:$,transition:U,dirs:Y}=f;if(k=f.el=s(f.type,x,D&&D.is,D),$&8?c(k,f.children):$&16&&ce(f.children,k,null,_,w,x&&H!=="foreignObject",L,A),Y&&St(f,null,_,"created"),Z(k,f,f.scopeId,L,_),D){for(const ne in D)ne!=="value"&&!Gn(ne)&&r(k,ne,null,D[ne],x,f.children,_,w,de);"value"in D&&r(k,"value",null,D.value),(E=D.onVnodeBeforeMount)&&rt(E,_,f)}Y&&St(f,null,_,"beforeMount");const se=(!w||w&&!w.pendingBranch)&&U&&!U.persisted;se&&U.beforeEnter(k),i(k,p,v),((E=D&&D.onVnodeMounted)||se||Y)&&He(()=>{E&&rt(E,_,f),se&&U.enter(k),Y&&St(f,null,_,"mounted")},w)},Z=(f,p,v,_,w)=>{if(v&&g(f,v),_)for(let x=0;x<_.length;x++)g(f,_[x]);if(w){let x=w.subTree;if(p===x){const L=w.vnode;Z(f,L,L.scopeId,L.slotScopeIds,w.parent)}}},ce=(f,p,v,_,w,x,L,A,k=0)=>{for(let E=k;E{const A=p.el=f.el;let{patchFlag:k,dynamicChildren:E,dirs:H}=p;k|=f.patchFlag&16;const D=f.props||ve,$=p.props||ve;let U;v&&Lt(v,!1),(U=$.onVnodeBeforeUpdate)&&rt(U,v,p,f),H&&St(p,f,v,"beforeUpdate"),v&&Lt(v,!0);const Y=w&&p.type!=="foreignObject";if(E?te(f.dynamicChildren,E,A,v,_,Y,x):L||q(f,p,A,null,v,_,Y,x,!1),k>0){if(k&16)fe(A,p,D,$,v,_,w);else if(k&2&&D.class!==$.class&&r(A,"class",null,$.class,w),k&4&&r(A,"style",D.style,$.style,w),k&8){const se=p.dynamicProps;for(let ne=0;ne{U&&rt(U,v,p,f),H&&St(p,f,v,"updated")},_)},te=(f,p,v,_,w,x,L)=>{for(let A=0;A{if(v!==_){if(v!==ve)for(const A in v)!Gn(A)&&!(A in _)&&r(f,A,v[A],null,L,p.children,w,x,de);for(const A in _){if(Gn(A))continue;const k=_[A],E=v[A];k!==E&&A!=="value"&&r(f,A,E,k,L,p.children,w,x,de)}"value"in _&&r(f,"value",v.value,_.value)}},le=(f,p,v,_,w,x,L,A,k)=>{const E=p.el=f?f.el:a(""),H=p.anchor=f?f.anchor:a("");let{patchFlag:D,dynamicChildren:$,slotScopeIds:U}=p;U&&(A=A?A.concat(U):U),f==null?(i(E,v,_),i(H,v,_),ce(p.children,v,H,w,x,L,A,k)):D>0&&D&64&&$&&f.dynamicChildren?(te(f.dynamicChildren,$,v,w,x,L,A),(p.key!=null||w&&p===w.subTree)&&Xs(f,p,!0)):q(f,p,v,H,w,x,L,A,k)},ee=(f,p,v,_,w,x,L,A,k)=>{p.slotScopeIds=A,f==null?p.shapeFlag&512?w.ctx.activate(p,v,_,L,k):Ee(p,v,_,w,x,L,k):ye(f,p,k)},Ee=(f,p,v,_,w,x,L)=>{const A=f.component=Oc(f,_,w);if(js(f)&&(A.ctx.renderer=T),Cc(A),A.asyncDep){if(w&&w.registerDep(A,G),!f.el){const k=A.subTree=xe(Rt);R(null,k,p,v)}return}G(A,f,p,v,w,x,L)},ye=(f,p,v)=>{const _=p.component=f.component;if(Dl(f,p,v))if(_.asyncDep&&!_.asyncResolved){K(_,p,v);return}else _.next=p,Pl(_.update),_.update();else p.el=f.el,_.vnode=p},G=(f,p,v,_,w,x,L)=>{const A=()=>{if(f.isMounted){let{next:H,bu:D,u:$,parent:U,vnode:Y}=f,se=H,ne;Lt(f,!1),H?(H.el=Y.el,K(f,H,L)):H=Y,D&&Bi(D),(ne=H.props&&H.props.onVnodeBeforeUpdate)&&rt(ne,U,H,Y),Lt(f,!0);const _e=Di(f),Ue=f.subTree;f.subTree=_e,C(Ue,_e,h(Ue.el),y(Ue),f,w,x),H.el=_e.el,se===null&&jl(f,_e.el),$&&He($,w),(ne=H.props&&H.props.onVnodeUpdated)&&He(()=>rt(ne,U,H,Y),w)}else{let H;const{el:D,props:$}=p,{bm:U,m:Y,parent:se}=f,ne=xn(p);if(Lt(f,!1),U&&Bi(U),!ne&&(H=$&&$.onVnodeBeforeMount)&&rt(H,se,p),Lt(f,!0),D&&J){const _e=()=>{f.subTree=Di(f),J(D,f.subTree,f,w,null)};ne?p.type.__asyncLoader().then(()=>!f.isUnmounted&&_e()):_e()}else{const _e=f.subTree=Di(f);C(null,_e,v,_,f,w,x),p.el=_e.el}if(Y&&He(Y,w),!ne&&(H=$&&$.onVnodeMounted)){const _e=p;He(()=>rt(H,se,_e),w)}(p.shapeFlag&256||se&&xn(se.vnode)&&se.vnode.shapeFlag&256)&&f.a&&He(f.a,w),f.isMounted=!0,p=v=_=null}},k=f.effect=new yo(A,()=>ko(E),f.scope),E=f.update=()=>k.run();E.id=f.uid,Lt(f,!0),E()},K=(f,p,v)=>{p.component=f;const _=f.vnode.props;f.vnode=p,f.next=null,uc(f,p.props,_,v),dc(f,p.children,v),hn(),er(),mn()},q=(f,p,v,_,w,x,L,A,k=!1)=>{const E=f&&f.children,H=f?f.shapeFlag:0,D=p.children,{patchFlag:$,shapeFlag:U}=p;if($>0){if($&128){Oe(E,D,v,_,w,x,L,A,k);return}else if($&256){we(E,D,v,_,w,x,L,A,k);return}}U&8?(H&16&&de(E,w,x),D!==E&&c(v,D)):H&16?U&16?Oe(E,D,v,_,w,x,L,A,k):de(E,w,x,!0):(H&8&&c(v,""),U&16&&ce(D,v,_,w,x,L,A,k))},we=(f,p,v,_,w,x,L,A,k)=>{f=f||Jt,p=p||Jt;const E=f.length,H=p.length,D=Math.min(E,H);let $;for($=0;$H?de(f,w,x,!0,!1,D):ce(p,v,_,w,x,L,A,k,D)},Oe=(f,p,v,_,w,x,L,A,k)=>{let E=0;const H=p.length;let D=f.length-1,$=H-1;for(;E<=D&&E<=$;){const U=f[E],Y=p[E]=k?Ot(p[E]):st(p[E]);if(vn(U,Y))C(U,Y,v,null,w,x,L,A,k);else break;E++}for(;E<=D&&E<=$;){const U=f[D],Y=p[$]=k?Ot(p[$]):st(p[$]);if(vn(U,Y))C(U,Y,v,null,w,x,L,A,k);else break;D--,$--}if(E>D){if(E<=$){const U=$+1,Y=U$)for(;E<=D;)me(f[E],w,x,!0),E++;else{const U=E,Y=E,se=new Map;for(E=Y;E<=$;E++){const B=p[E]=k?Ot(p[E]):st(p[E]);B.key!=null&&se.set(B.key,E)}let ne,_e=0;const Ue=$-Y+1;let wt=!1,Fn=0;const It=new Array(Ue);for(E=0;E=Ue){me(B,w,x,!0);continue}let N;if(B.key!=null)N=se.get(B.key);else for(ne=Y;ne<=$;ne++)if(It[ne-Y]===0&&vn(B,p[ne])){N=ne;break}N===void 0?me(B,w,x,!0):(It[N-Y]=E+1,N>=Fn?Fn=N:wt=!0,C(B,p[N],v,null,w,x,L,A,k),_e++)}const b=wt?vc(It):Jt;for(ne=b.length-1,E=Ue-1;E>=0;E--){const B=Y+E,N=p[B],re=B+1{const{el:x,type:L,transition:A,children:k,shapeFlag:E}=f;if(E&6){Ae(f.component.subTree,p,v,_);return}if(E&128){f.suspense.move(p,v,_);return}if(E&64){L.move(f,p,v,T);return}if(L===Ie){i(x,p,v);for(let D=0;DA.enter(x),w);else{const{leave:D,delayLeave:$,afterLeave:U}=A,Y=()=>i(x,p,v),se=()=>{D(x,()=>{Y(),U&&U()})};$?$(x,Y,se):se()}else i(x,p,v)},me=(f,p,v,_=!1,w=!1)=>{const{type:x,props:L,ref:A,children:k,dynamicChildren:E,shapeFlag:H,patchFlag:D,dirs:$}=f;if(A!=null&&io(A,null,v,f,!0),H&256){p.ctx.deactivate(f);return}const U=H&1&&$,Y=!xn(f);let se;if(Y&&(se=L&&L.onVnodeBeforeUnmount)&&rt(se,p,f),H&6)Pe(f.component,v,_);else{if(H&128){f.suspense.unmount(v,_);return}U&&St(f,null,p,"beforeUnmount"),H&64?f.type.remove(f,p,v,w,T,_):E&&(x!==Ie||D>0&&D&64)?de(E,p,v,!1,!0):(x===Ie&&D&384||!w&&H&16)&&de(k,p,v),_&&je(f)}(Y&&(se=L&&L.onVnodeUnmounted)||U)&&He(()=>{se&&rt(se,p,f),U&&St(f,null,p,"unmounted")},v)},je=f=>{const{type:p,el:v,anchor:_,transition:w}=f;if(p===Ie){Re(v,_);return}if(p===ni){d(f);return}const x=()=>{o(v),w&&!w.persisted&&w.afterLeave&&w.afterLeave()};if(f.shapeFlag&1&&w&&!w.persisted){const{leave:L,delayLeave:A}=w,k=()=>L(v,x);A?A(f.el,x,k):k()}else x()},Re=(f,p)=>{let v;for(;f!==p;)v=m(f),o(f),f=v;o(p)},Pe=(f,p,v)=>{const{bum:_,scope:w,update:x,subTree:L,um:A}=f;_&&Bi(_),w.stop(),x&&(x.active=!1,me(L,f,p,v)),A&&He(A,p),He(()=>{f.isUnmounted=!0},p),p&&p.pendingBranch&&!p.isUnmounted&&f.asyncDep&&!f.asyncResolved&&f.suspenseId===p.pendingId&&(p.deps--,p.deps===0&&p.resolve())},de=(f,p,v,_=!1,w=!1,x=0)=>{for(let L=x;Lf.shapeFlag&6?y(f.component.subTree):f.shapeFlag&128?f.suspense.next():m(f.anchor||f.el),S=(f,p,v)=>{f==null?p._vnode&&me(p._vnode,null,null,!0):C(p._vnode||null,f,p,null,null,null,v),er(),Ps(),p._vnode=f},T={p:C,um:me,m:Ae,r:je,mt:Ee,mc:ce,pc:q,pbc:te,n:y,o:e};let j,J;return t&&([j,J]=t(T)),{render:S,hydrate:j,createApp:lc(S,j)}}function Lt({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function Xs(e,t,n=!1){const i=e.children,o=t.children;if(z(i)&&z(o))for(let r=0;r>1,e[n[a]]0&&(t[i]=n[r-1]),n[r]=i)}}for(r=n.length,s=n[r-1];r-- >0;)n[r]=s,s=t[s];return n}const gc=e=>e.__isTeleport,Ie=Symbol.for("v-fgt"),Ai=Symbol.for("v-txt"),Rt=Symbol.for("v-cmt"),ni=Symbol.for("v-stc"),On=[];let et=null;function F(e=!1){On.push(et=e?null:[])}function _c(){On.pop(),et=On[On.length-1]||null}let Ln=1;function fr(e){Ln+=e}function Qs(e){return e.dynamicChildren=Ln>0?et||Jt:null,_c(),Ln>0&&et&&et.push(e),e}function X(e,t,n,i,o,r){return Qs(be(e,t,n,i,o,r,!0))}function $e(e,t,n,i,o){return Qs(xe(e,t,n,i,o,!0))}function pi(e){return e?e.__v_isVNode===!0:!1}function vn(e,t){return e.type===t.type&&e.key===t.key}const ki="__vInternal",Js=({key:e})=>e!=null?e:null,ii=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?Ce(e)||Se(e)||Q(e)?{i:De,r:e,k:t,f:!!n}:e:null);function be(e,t=null,n=null,i=0,o=null,r=e===Ie?0:1,s=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Js(t),ref:t&&ii(t),scopeId:Ss,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:r,patchFlag:i,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:De};return a?(Po(l,n),r&128&&e.normalize(l)):n&&(l.shapeFlag|=Ce(n)?8:16),Ln>0&&!s&&et&&(l.patchFlag>0||r&6)&&l.patchFlag!==32&&et.push(l),l}const xe=bc;function bc(e,t=null,n=null,i=0,o=null,r=!1){if((!e||e===Gl)&&(e=Rt),pi(e)){const a=on(e,t,!0);return n&&Po(a,n),Ln>0&&!r&&et&&(a.shapeFlag&6?et[et.indexOf(e)]=a:et.push(a)),a.patchFlag|=-2,a}if(Pc(e)&&(e=e.__vccOpts),t){t=yc(t);let{class:a,style:l}=t;a&&!Ce(a)&&(t.class=Wt(a)),ge(l)&&(ws(l)&&!z(l)&&(l=ke({},l)),t.style=dn(l))}const s=Ce(e)?1:Hl(e)?128:gc(e)?64:ge(e)?4:Q(e)?2:0;return be(e,t,n,i,o,s,r,!0)}function yc(e){return e?ws(e)||ki in e?ke({},e):e:null}function on(e,t,n=!1){const{props:i,ref:o,patchFlag:r,children:s}=e,a=t?wn(i||{},t):i;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:a,key:a&&Js(a),ref:t&&t.ref?n&&o?z(o)?o.concat(ii(t)):[o,ii(t)]:ii(t):o,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:s,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Ie?r===-1?16:r|16:r,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&on(e.ssContent),ssFallback:e.ssFallback&&on(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function rn(e=" ",t=0){return xe(Ai,null,e,t)}function wc(e,t){const n=xe(ni,null,e);return n.staticCount=t,n}function he(e="",t=!1){return t?(F(),$e(Rt,null,e)):xe(Rt,null,e)}function st(e){return e==null||typeof e=="boolean"?xe(Rt):z(e)?xe(Ie,null,e.slice()):typeof e=="object"?Ot(e):xe(Ai,null,String(e))}function Ot(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:on(e)}function Po(e,t){let n=0;const{shapeFlag:i}=e;if(t==null)t=null;else if(z(t))n=16;else if(typeof t=="object")if(i&65){const o=t.default;o&&(o._c&&(o._d=!1),Po(e,o()),o._c&&(o._d=!0));return}else{n=32;const o=t._;!o&&!(ki in t)?t._ctx=De:o===3&&De&&(De.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else Q(t)?(t={default:t,_ctx:De},n=32):(t=String(t),i&64?(n=16,t=[rn(t)]):n=8);e.children=t,e.shapeFlag|=n}function wn(...e){const t={};for(let n=0;nTe=e),Io=e=>{Kt.length>1?Kt.forEach(t=>t(e)):Kt[0](e)};const sn=e=>{Io(e),e.scope.on()},Nt=()=>{Te&&Te.scope.off(),Io(null)};function Zs(e){return e.vnode.shapeFlag&4}let Bn=!1;function Cc(e,t=!1){Bn=t;const{props:n,children:i}=e.vnode,o=Zs(e);cc(e,n,o,t),pc(e,i);const r=o?Ac(e,t):void 0;return Bn=!1,r}function Ac(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=xs(new Proxy(e.ctx,tc));const{setup:i}=n;if(i){const o=e.setupContext=i.length>1?Tc(e):null;sn(e),hn();const r=kt(i,e,0,[e.props,o]);if(mn(),Nt(),os(r)){if(r.then(Nt,Nt),t)return r.then(s=>{dr(e,s,t)}).catch(s=>{Ei(s,e,0)});e.asyncDep=r}else dr(e,r,t)}else Gs(e,t)}function dr(e,t,n){Q(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:ge(t)&&(e.setupState=As(t)),Gs(e,n)}let hr;function Gs(e,t,n){const i=e.type;if(!e.render){if(!t&&hr&&!i.render){const o=i.template||To(e).template;if(o){const{isCustomElement:r,compilerOptions:s}=e.appContext.config,{delimiters:a,compilerOptions:l}=i,u=ke(ke({isCustomElement:r,delimiters:a},s),l);i.render=hr(o,u)}}e.render=i.render||nt}sn(e),hn(),nc(e),mn(),Nt()}function kc(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get(t,n){return Fe(e,"get","$attrs"),t[n]}}))}function Tc(e){const t=n=>{e.exposed=n||{}};return{get attrs(){return kc(e)},slots:e.slots,emit:e.emit,expose:t}}function Mo(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(As(xs(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in En)return En[n](e)},has(t,n){return n in t||n in En}}))}function Rc(e,t=!0){return Q(e)?e.displayName||e.name:e.name||t&&e.__name}function Pc(e){return Q(e)&&"__vccOpts"in e}const Ge=(e,t)=>kl(e,t,Bn);function ea(e,t,n){const i=arguments.length;return i===2?ge(t)&&!z(t)?pi(t)?xe(e,null,[t]):xe(e,t):xe(e,null,t):(i>3?n=Array.prototype.slice.call(arguments,2):i===3&&pi(n)&&(n=[n]),xe(e,t,n))}const Ic=Symbol.for("v-scx"),Mc=()=>gt(Ic),Sc="3.3.4",Lc="http://www.w3.org/2000/svg",jt=typeof document!="undefined"?document:null,mr=jt&&jt.createElement("template"),Bc={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,i)=>{const o=t?jt.createElementNS(Lc,e):jt.createElement(e,n?{is:n}:void 0);return e==="select"&&i&&i.multiple!=null&&o.setAttribute("multiple",i.multiple),o},createText:e=>jt.createTextNode(e),createComment:e=>jt.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>jt.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,i,o,r){const s=n?n.previousSibling:t.lastChild;if(o&&(o===r||o.nextSibling))for(;t.insertBefore(o.cloneNode(!0),n),!(o===r||!(o=o.nextSibling)););else{mr.innerHTML=i?`${e}`:e;const a=mr.content;if(i){const l=a.firstChild;for(;l.firstChild;)a.appendChild(l.firstChild);a.removeChild(l)}t.insertBefore(a,n)}return[s?s.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}};function Dc(e,t,n){const i=e._vtc;i&&(t=(t?[t,...i]:[...i]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}function jc(e,t,n){const i=e.style,o=Ce(n);if(n&&!o){if(t&&!Ce(t))for(const r in t)n[r]==null&&oo(i,r,"");for(const r in n)oo(i,r,n[r])}else{const r=i.display;o?t!==n&&(i.cssText=n):t&&e.removeAttribute("style"),"_vod"in e&&(i.display=r)}}const vr=/\s*!important$/;function oo(e,t,n){if(z(n))n.forEach(i=>oo(e,t,i));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const i=Hc(e,t);vr.test(n)?e.setProperty(Ut(i),n.replace(vr,""),"important"):e[i]=n}}const gr=["Webkit","Moz","ms"],Hi={};function Hc(e,t){const n=Hi[t];if(n)return n;let i=ut(t);if(i!=="filter"&&i in e)return Hi[t]=i;i=yi(i);for(let o=0;o$i||(qc.then(()=>$i=0),$i=Date.now());function Kc(e,t){const n=i=>{if(!i._vts)i._vts=Date.now();else if(i._vts<=n.attached)return;it(Yc(i,n.value),t,5,[i])};return n.value=e,n.attached=zc(),n}function Yc(e,t){if(z(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(i=>o=>!o._stopped&&i&&i(o))}else return t}const yr=/^on[a-z]/,Xc=(e,t,n,i,o=!1,r,s,a,l)=>{t==="class"?Dc(e,i,o):t==="style"?jc(e,n,i):gi(t)?mo(t)||Uc(e,t,n,i,s):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Qc(e,t,i,o))?Nc(e,t,i,r,s,a,l):(t==="true-value"?e._trueValue=i:t==="false-value"&&(e._falseValue=i),$c(e,t,i,o))};function Qc(e,t,n,i){return i?!!(t==="innerHTML"||t==="textContent"||t in e&&yr.test(t)&&Q(n)):t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA"||yr.test(t)&&Ce(n)?!1:t in e}const Jc={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},Zc=(e,t)=>n=>{if(!("key"in n))return;const i=Ut(n.key);if(t.some(o=>o===i||Jc[o]===i))return e(n)},Gc=ke({patchProp:Xc},Bc);let wr;function eu(){return wr||(wr=hc(Gc))}const tu=(...e)=>{const t=eu().createApp(...e),{mount:n}=t;return t.mount=i=>{const o=nu(i);if(!o)return;const r=t._component;!Q(r)&&!r.render&&!r.template&&(r.template=o.innerHTML),o.innerHTML="";const s=n(o,!1,o instanceof SVGElement);return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),s},t};function nu(e){return Ce(e)?document.querySelector(e):e}var iu="/vue-navigation-bar/assets/lockup-color.5dabaa34.png";var dt=(e,t)=>{const n=e.__vccOpts||e;for(const[i,o]of t)n[i]=o;return n};const ou={name:"app",data(){return{navbarOptions:{elementId:"main-navbar",isUsingVueRouter:!0,mobileBreakpoint:992,brandImagePath:"./",brandImage:iu,brandImageAltText:"brand-image",collapseButtonOpenColor:"#661c23",collapseButtonCloseColor:"#661c23",showBrandImageInMobilePopup:!0,ariaLabelMainNav:"Main Navigation",tooltipAnimationType:"shift-away",tooltipPlacement:"bottom",menuOptionsLeft:[{type:"link",text:"Why Dunder Mifflin",arrowColor:"#659CC8",subMenuOptions:[{isLinkAction:!0,type:"link",text:"About",subText:"Stupid corporate wet blankets. Like booze ever killed anyone."},{type:"hr"},{type:"link",text:"Locations",subText:"You're a presentation tool!",path:{name:"locations"}},{type:"hr"},{type:"link",text:"Blog",subText:"I enjoy having breakfast in bed. I like waking up to the smell of bacon. Sue me.",path:{name:"blog"}}]},{type:"link",text:"Contact",subMenuOptions:[{type:"link",text:"Customer Service",path:{name:"customer-service"},iconLeft:''},{type:"link",text:"Accounting",path:{name:"accounting"},iconLeft:''},{type:"hr"},{type:"link",text:"Reception",path:{name:"reception"},iconLeft:' '}]}],menuOptionsRight:[{type:"button",text:"Signup",path:{name:"signup"},class:"button-red"},{type:"button",text:"Login",path:{name:"login"},iconRight:' '}]}}},methods:{vnbItemClicked(e){e==="About"&&alert("'About' was selected.")}}},ru={id:"app"},su={class:"main-navbar-section"},au={class:"container"},lu=wc('

vue-navigation-bar

To install:
yarn add vue-navigation-bar

vue-navigation-bar is a simple, pretty navbar for your Vue projects. And wouldn't you know it - this page is using it right now!

Check out the GitHub page to see how you can use vue-navigation-bar in your Vue projects.

',1);function cu(e,t,n,i,o,r){const s=qe("vue-navigation-bar");return F(),X("div",ru,[be("section",su,[be("div",au,[xe(s,{options:o.navbarOptions,onVnbItemClicked:r.vnbItemClicked},null,8,["options","onVnbItemClicked"])])]),lu])}var uu=dt(ou,[["render",cu]]),So={data:function(){return{event:null,vssWidth:null,vssHeight:null}},computed:{$vssEvent:function(){return this.event},$vssWidth:function(){return this.vssWidth||this.getScreenWidth()},$vssHeight:function(){return this.vssHeight||this.getScreenHeight()}},methods:{getScreenWidth:function(){return window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth},getScreenHeight:function(){return window.innerHeight||document.documentElement.clientHeight||document.body.clientHeight},handleResize:function(t){this.event=t,this.vssWidth=this.getScreenWidth(),this.vssHeight=this.getScreenHeight()},$vssDestroyListener:function(){window.removeEventListener("resize",this.handleResize)}},mounted:function(){window.addEventListener("resize",this.handleResize)},destroyed:function(){window.removeEventListener("resize",this.handleResize)}};function Ni(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(e){var t=Math.random()*16|0,n=e=="x"?t:t&3|8;return n.toString(16)})}const fu={name:"dynamic-link",props:{isUsingVueRouter:{type:Boolean,required:!0},path:{type:[String,Object],required:!1},isLinkAction:{type:Boolean,required:!0}}},pu=["href"];function du(e,t,n,i,o,r){const s=qe("router-link");return F(),X(Ie,null,[n.isUsingVueRouter&&n.path&&n.path.name?(F(),$e(s,wn({key:0},e.$attrs,{to:{name:this.path.name}}),{default:ft(()=>[Ht(e.$slots,"content")]),_:3},16,["to"])):he("",!0),n.isUsingVueRouter&&n.path&&!n.path.name?(F(),$e(s,wn({key:1},e.$attrs,{to:{path:this.path}}),{default:ft(()=>[Ht(e.$slots,"content")]),_:3},16,["to"])):he("",!0),!n.isUsingVueRouter&&!n.isLinkAction&&n.path?(F(),X("a",wn({key:2},e.$attrs,{href:n.path}),[Ht(e.$slots,"content")],16,pu)):he("",!0),n.isLinkAction?(F(),X("a",wn({key:3},e.$attrs,{href:"javascript:void(0);"}),[Ht(e.$slots,"content")],16)):he("",!0)],64)}var Ti=dt(fu,[["render",du]]);const hu={name:"brand-image",props:{options:{type:Object,required:!0}},data(){return{}},components:{DynamicLink:Ti},emits:["vnb-item-clicked"]},mu={class:"vnb__brand-image-wrapper"},vu=["src","alt"];function gu(e,t,n,i,o,r){const s=qe("dynamic-link");return F(),X("div",mu,[xe(s,{path:n.options.brandImagePath,isUsingVueRouter:n.options.isUsingVueRouter,class:"vnb__brand-image-wrapper__link","aria-label":"Homepage",isLinkAction:!1,onClick:t[0]||(t[0]=a=>e.$emit("vnb-item-clicked","brand-image"))},{content:ft(()=>[n.options.brandImage?(F(),X("img",{key:0,src:n.options.brandImage,alt:n.options.brandImageAltText,class:"vnb-image vnb__brand-image-wrapper__link__image"},null,8,vu)):he("",!0)]),_:1},8,["path","isUsingVueRouter"])])}var _u=dt(hu,[["render",gu]]);const bu={name:"collapse-button",mixins:[So],props:{options:{type:Object,required:!0},menuIsVisible:{type:Boolean,required:!0}},data(){return{}},methods:{collapseButtonClicked(){this.$emit("collapse-button-clicked")}},emits:["collapse-button-clicked"]},yu=["aria-expanded"],wu=["src"],xu=be("title",null,"Menu",-1),Eu=be("g",{transform:"matrix(.1 0 0 -.1 0 100)"},[be("path",{d:"m0 850v-40h500 500v40 40h-500-500z"}),be("path",{d:"m0 495v-45h500 500v45 45h-500-500z"}),be("path",{d:"m0 140v-40h500 500v40 40h-500-500z"})],-1),Ou=[xu,Eu];function Cu(e,t,n,i,o,r){return e.$vssWidthr.collapseButtonClicked&&r.collapseButtonClicked(...s)),type:"button","aria-expanded":n.menuIsVisible?"true":"false"},[n.options.collapseButtonImageOpen?(F(),X("img",{key:0,src:n.options.collapseButtonImageOpen,alt:"Menu",class:"vnb__collapse-button__image"},null,8,wu)):(F(),X("svg",{key:1,height:"100pt",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 100 100",width:"100pt",xmlns:"http://www.w3.org/2000/svg",class:"vnb__collapse-button__image",style:dn({fill:n.options.collapseButtonOpenColor})},Ou,4))],8,yu)):he("",!0)}var Au=dt(bu,[["render",Cu]]);const ku={name:"desktop-menu-item-button",props:{option:{type:Object,required:!0},options:{type:Object,required:!0}},data(){return{}},components:{DynamicLink:Ti},emits:["vnb-item-clicked"]},Tu=["innerHTML"],Ru=["innerHTML"];function Pu(e,t,n,i,o,r){const s=qe("dynamic-link");return F(),$e(s,{path:n.option.path,isUsingVueRouter:n.options.isUsingVueRouter,class:Wt(["vnb__menu-options__option__button","vnb-button",n.option.class]),"aria-label":n.option.text,isLinkAction:!!n.option.isLinkAction,onClick:t[0]||(t[0]=a=>e.$emit("vnb-item-clicked",n.option.text))},{content:ft(()=>[n.option.iconLeft?(F(),X("span",{key:0,class:"vnb__menu-options__option__button__icon vnb__menu-options__option__button__icon--left",innerHTML:n.option.iconLeft},null,8,Tu)):he("",!0),rn(" "+vt(n.option.text)+" ",1),n.option.iconRight?(F(),X("span",{key:1,class:"vnb__menu-options__option__button__icon vnb__menu-options__option__button__icon--right",innerHTML:n.option.iconRight},null,8,Ru)):he("",!0)]),_:1},8,["path","isUsingVueRouter","class","aria-label","isLinkAction"])}var Iu=dt(ku,[["render",Pu]]),Ne="top",Xe="bottom",Qe="right",Ve="left",Lo="auto",$n=[Ne,Xe,Qe,Ve],an="start",Dn="end",Mu="clippingParents",ta="viewport",gn="popper",Su="reference",xr=$n.reduce(function(e,t){return e.concat([t+"-"+an,t+"-"+Dn])},[]),na=[].concat($n,[Lo]).reduce(function(e,t){return e.concat([t,t+"-"+an,t+"-"+Dn])},[]),Lu="beforeRead",Bu="read",Du="afterRead",ju="beforeMain",Hu="main",$u="afterMain",Nu="beforeWrite",Vu="write",Fu="afterWrite",Uu=[Lu,Bu,Du,ju,Hu,$u,Nu,Vu,Fu];function pt(e){return e?(e.nodeName||"").toLowerCase():null}function ze(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function Ft(e){var t=ze(e).Element;return e instanceof t||e instanceof Element}function Ye(e){var t=ze(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function Bo(e){if(typeof ShadowRoot=="undefined")return!1;var t=ze(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function Wu(e){var t=e.state;Object.keys(t.elements).forEach(function(n){var i=t.styles[n]||{},o=t.attributes[n]||{},r=t.elements[n];!Ye(r)||!pt(r)||(Object.assign(r.style,i),Object.keys(o).forEach(function(s){var a=o[s];a===!1?r.removeAttribute(s):r.setAttribute(s,a===!0?"":a)}))})}function qu(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(i){var o=t.elements[i],r=t.attributes[i]||{},s=Object.keys(t.styles.hasOwnProperty(i)?t.styles[i]:n[i]),a=s.reduce(function(l,u){return l[u]="",l},{});!Ye(o)||!pt(o)||(Object.assign(o.style,a),Object.keys(r).forEach(function(l){o.removeAttribute(l)}))})}}var ia={name:"applyStyles",enabled:!0,phase:"write",fn:Wu,effect:qu,requires:["computeStyles"]};function ct(e){return e.split("-")[0]}var Vt=Math.max,di=Math.min,ln=Math.round;function ro(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function oa(){return!/^((?!chrome|android).)*safari/i.test(ro())}function cn(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!1);var i=e.getBoundingClientRect(),o=1,r=1;t&&Ye(e)&&(o=e.offsetWidth>0&&ln(i.width)/e.offsetWidth||1,r=e.offsetHeight>0&&ln(i.height)/e.offsetHeight||1);var s=Ft(e)?ze(e):window,a=s.visualViewport,l=!oa()&&n,u=(i.left+(l&&a?a.offsetLeft:0))/o,c=(i.top+(l&&a?a.offsetTop:0))/r,h=i.width/o,m=i.height/r;return{width:h,height:m,top:c,right:u+h,bottom:c+m,left:u,x:u,y:c}}function Do(e){var t=cn(e),n=e.offsetWidth,i=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-i)<=1&&(i=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:i}}function ra(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&Bo(n)){var i=t;do{if(i&&e.isSameNode(i))return!0;i=i.parentNode||i.host}while(i)}return!1}function bt(e){return ze(e).getComputedStyle(e)}function zu(e){return["table","td","th"].indexOf(pt(e))>=0}function Pt(e){return((Ft(e)?e.ownerDocument:e.document)||window.document).documentElement}function Ri(e){return pt(e)==="html"?e:e.assignedSlot||e.parentNode||(Bo(e)?e.host:null)||Pt(e)}function Er(e){return!Ye(e)||bt(e).position==="fixed"?null:e.offsetParent}function Ku(e){var t=/firefox/i.test(ro()),n=/Trident/i.test(ro());if(n&&Ye(e)){var i=bt(e);if(i.position==="fixed")return null}var o=Ri(e);for(Bo(o)&&(o=o.host);Ye(o)&&["html","body"].indexOf(pt(o))<0;){var r=bt(o);if(r.transform!=="none"||r.perspective!=="none"||r.contain==="paint"||["transform","perspective"].indexOf(r.willChange)!==-1||t&&r.willChange==="filter"||t&&r.filter&&r.filter!=="none")return o;o=o.parentNode}return null}function Nn(e){for(var t=ze(e),n=Er(e);n&&zu(n)&&bt(n).position==="static";)n=Er(n);return n&&(pt(n)==="html"||pt(n)==="body"&&bt(n).position==="static")?t:n||Ku(e)||t}function jo(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Cn(e,t,n){return Vt(e,di(t,n))}function Yu(e,t,n){var i=Cn(e,t,n);return i>n?n:i}function sa(){return{top:0,right:0,bottom:0,left:0}}function aa(e){return Object.assign({},sa(),e)}function la(e,t){return t.reduce(function(n,i){return n[i]=e,n},{})}var Xu=function(t,n){return t=typeof t=="function"?t(Object.assign({},n.rects,{placement:n.placement})):t,aa(typeof t!="number"?t:la(t,$n))};function Qu(e){var t,n=e.state,i=e.name,o=e.options,r=n.elements.arrow,s=n.modifiersData.popperOffsets,a=ct(n.placement),l=jo(a),u=[Ve,Qe].indexOf(a)>=0,c=u?"height":"width";if(!(!r||!s)){var h=Xu(o.padding,n),m=Do(r),g=l==="y"?Ne:Ve,O=l==="y"?Xe:Qe,C=n.rects.reference[c]+n.rects.reference[l]-s[l]-n.rects.popper[c],P=s[l]-n.rects.reference[l],R=Nn(r),I=R?l==="y"?R.clientHeight||0:R.clientWidth||0:0,V=C/2-P/2,d=h[g],W=I-m[c]-h[O],M=I/2-m[c]/2+V,Z=Cn(d,M,W),ce=l;n.modifiersData[i]=(t={},t[ce]=Z,t.centerOffset=Z-M,t)}}function Ju(e){var t=e.state,n=e.options,i=n.element,o=i===void 0?"[data-popper-arrow]":i;o!=null&&(typeof o=="string"&&(o=t.elements.popper.querySelector(o),!o)||!ra(t.elements.popper,o)||(t.elements.arrow=o))}var Zu={name:"arrow",enabled:!0,phase:"main",fn:Qu,effect:Ju,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function un(e){return e.split("-")[1]}var Gu={top:"auto",right:"auto",bottom:"auto",left:"auto"};function ef(e,t){var n=e.x,i=e.y,o=t.devicePixelRatio||1;return{x:ln(n*o)/o||0,y:ln(i*o)/o||0}}function Or(e){var t,n=e.popper,i=e.popperRect,o=e.placement,r=e.variation,s=e.offsets,a=e.position,l=e.gpuAcceleration,u=e.adaptive,c=e.roundOffsets,h=e.isFixed,m=s.x,g=m===void 0?0:m,O=s.y,C=O===void 0?0:O,P=typeof c=="function"?c({x:g,y:C}):{x:g,y:C};g=P.x,C=P.y;var R=s.hasOwnProperty("x"),I=s.hasOwnProperty("y"),V=Ve,d=Ne,W=window;if(u){var M=Nn(n),Z="clientHeight",ce="clientWidth";if(M===ze(n)&&(M=Pt(n),bt(M).position!=="static"&&a==="absolute"&&(Z="scrollHeight",ce="scrollWidth")),M=M,o===Ne||(o===Ve||o===Qe)&&r===Dn){d=Xe;var pe=h&&M===W&&W.visualViewport?W.visualViewport.height:M[Z];C-=pe-i.height,C*=l?1:-1}if(o===Ve||(o===Ne||o===Xe)&&r===Dn){V=Qe;var te=h&&M===W&&W.visualViewport?W.visualViewport.width:M[ce];g-=te-i.width,g*=l?1:-1}}var fe=Object.assign({position:a},u&&Gu),le=c===!0?ef({x:g,y:C},ze(n)):{x:g,y:C};if(g=le.x,C=le.y,l){var ee;return Object.assign({},fe,(ee={},ee[d]=I?"0":"",ee[V]=R?"0":"",ee.transform=(W.devicePixelRatio||1)<=1?"translate("+g+"px, "+C+"px)":"translate3d("+g+"px, "+C+"px, 0)",ee))}return Object.assign({},fe,(t={},t[d]=I?C+"px":"",t[V]=R?g+"px":"",t.transform="",t))}function tf(e){var t=e.state,n=e.options,i=n.gpuAcceleration,o=i===void 0?!0:i,r=n.adaptive,s=r===void 0?!0:r,a=n.roundOffsets,l=a===void 0?!0:a,u={placement:ct(t.placement),variation:un(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,Or(Object.assign({},u,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:s,roundOffsets:l})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,Or(Object.assign({},u,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}var nf={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:tf,data:{}},Jn={passive:!0};function of(e){var t=e.state,n=e.instance,i=e.options,o=i.scroll,r=o===void 0?!0:o,s=i.resize,a=s===void 0?!0:s,l=ze(t.elements.popper),u=[].concat(t.scrollParents.reference,t.scrollParents.popper);return r&&u.forEach(function(c){c.addEventListener("scroll",n.update,Jn)}),a&&l.addEventListener("resize",n.update,Jn),function(){r&&u.forEach(function(c){c.removeEventListener("scroll",n.update,Jn)}),a&&l.removeEventListener("resize",n.update,Jn)}}var rf={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:of,data:{}},sf={left:"right",right:"left",bottom:"top",top:"bottom"};function oi(e){return e.replace(/left|right|bottom|top/g,function(t){return sf[t]})}var af={start:"end",end:"start"};function Cr(e){return e.replace(/start|end/g,function(t){return af[t]})}function Ho(e){var t=ze(e),n=t.pageXOffset,i=t.pageYOffset;return{scrollLeft:n,scrollTop:i}}function $o(e){return cn(Pt(e)).left+Ho(e).scrollLeft}function lf(e,t){var n=ze(e),i=Pt(e),o=n.visualViewport,r=i.clientWidth,s=i.clientHeight,a=0,l=0;if(o){r=o.width,s=o.height;var u=oa();(u||!u&&t==="fixed")&&(a=o.offsetLeft,l=o.offsetTop)}return{width:r,height:s,x:a+$o(e),y:l}}function cf(e){var t,n=Pt(e),i=Ho(e),o=(t=e.ownerDocument)==null?void 0:t.body,r=Vt(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),s=Vt(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),a=-i.scrollLeft+$o(e),l=-i.scrollTop;return bt(o||n).direction==="rtl"&&(a+=Vt(n.clientWidth,o?o.clientWidth:0)-r),{width:r,height:s,x:a,y:l}}function No(e){var t=bt(e),n=t.overflow,i=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+i)}function ca(e){return["html","body","#document"].indexOf(pt(e))>=0?e.ownerDocument.body:Ye(e)&&No(e)?e:ca(Ri(e))}function An(e,t){var n;t===void 0&&(t=[]);var i=ca(e),o=i===((n=e.ownerDocument)==null?void 0:n.body),r=ze(i),s=o?[r].concat(r.visualViewport||[],No(i)?i:[]):i,a=t.concat(s);return o?a:a.concat(An(Ri(s)))}function so(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function uf(e,t){var n=cn(e,!1,t==="fixed");return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}function Ar(e,t,n){return t===ta?so(lf(e,n)):Ft(t)?uf(t,n):so(cf(Pt(e)))}function ff(e){var t=An(Ri(e)),n=["absolute","fixed"].indexOf(bt(e).position)>=0,i=n&&Ye(e)?Nn(e):e;return Ft(i)?t.filter(function(o){return Ft(o)&&ra(o,i)&&pt(o)!=="body"}):[]}function pf(e,t,n,i){var o=t==="clippingParents"?ff(e):[].concat(t),r=[].concat(o,[n]),s=r[0],a=r.reduce(function(l,u){var c=Ar(e,u,i);return l.top=Vt(c.top,l.top),l.right=di(c.right,l.right),l.bottom=di(c.bottom,l.bottom),l.left=Vt(c.left,l.left),l},Ar(e,s,i));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}function ua(e){var t=e.reference,n=e.element,i=e.placement,o=i?ct(i):null,r=i?un(i):null,s=t.x+t.width/2-n.width/2,a=t.y+t.height/2-n.height/2,l;switch(o){case Ne:l={x:s,y:t.y-n.height};break;case Xe:l={x:s,y:t.y+t.height};break;case Qe:l={x:t.x+t.width,y:a};break;case Ve:l={x:t.x-n.width,y:a};break;default:l={x:t.x,y:t.y}}var u=o?jo(o):null;if(u!=null){var c=u==="y"?"height":"width";switch(r){case an:l[u]=l[u]-(t[c]/2-n[c]/2);break;case Dn:l[u]=l[u]+(t[c]/2-n[c]/2);break}}return l}function jn(e,t){t===void 0&&(t={});var n=t,i=n.placement,o=i===void 0?e.placement:i,r=n.strategy,s=r===void 0?e.strategy:r,a=n.boundary,l=a===void 0?Mu:a,u=n.rootBoundary,c=u===void 0?ta:u,h=n.elementContext,m=h===void 0?gn:h,g=n.altBoundary,O=g===void 0?!1:g,C=n.padding,P=C===void 0?0:C,R=aa(typeof P!="number"?P:la(P,$n)),I=m===gn?Su:gn,V=e.rects.popper,d=e.elements[O?I:m],W=pf(Ft(d)?d:d.contextElement||Pt(e.elements.popper),l,c,s),M=cn(e.elements.reference),Z=ua({reference:M,element:V,strategy:"absolute",placement:o}),ce=so(Object.assign({},V,Z)),pe=m===gn?ce:M,te={top:W.top-pe.top+R.top,bottom:pe.bottom-W.bottom+R.bottom,left:W.left-pe.left+R.left,right:pe.right-W.right+R.right},fe=e.modifiersData.offset;if(m===gn&&fe){var le=fe[o];Object.keys(te).forEach(function(ee){var Ee=[Qe,Xe].indexOf(ee)>=0?1:-1,ye=[Ne,Xe].indexOf(ee)>=0?"y":"x";te[ee]+=le[ye]*Ee})}return te}function df(e,t){t===void 0&&(t={});var n=t,i=n.placement,o=n.boundary,r=n.rootBoundary,s=n.padding,a=n.flipVariations,l=n.allowedAutoPlacements,u=l===void 0?na:l,c=un(i),h=c?a?xr:xr.filter(function(O){return un(O)===c}):$n,m=h.filter(function(O){return u.indexOf(O)>=0});m.length===0&&(m=h);var g=m.reduce(function(O,C){return O[C]=jn(e,{placement:C,boundary:o,rootBoundary:r,padding:s})[ct(C)],O},{});return Object.keys(g).sort(function(O,C){return g[O]-g[C]})}function hf(e){if(ct(e)===Lo)return[];var t=oi(e);return[Cr(e),t,Cr(t)]}function mf(e){var t=e.state,n=e.options,i=e.name;if(!t.modifiersData[i]._skip){for(var o=n.mainAxis,r=o===void 0?!0:o,s=n.altAxis,a=s===void 0?!0:s,l=n.fallbackPlacements,u=n.padding,c=n.boundary,h=n.rootBoundary,m=n.altBoundary,g=n.flipVariations,O=g===void 0?!0:g,C=n.allowedAutoPlacements,P=t.options.placement,R=ct(P),I=R===P,V=l||(I||!O?[oi(P)]:hf(P)),d=[P].concat(V).reduce(function(Re,Pe){return Re.concat(ct(Pe)===Lo?df(t,{placement:Pe,boundary:c,rootBoundary:h,padding:u,flipVariations:O,allowedAutoPlacements:C}):Pe)},[]),W=t.rects.reference,M=t.rects.popper,Z=new Map,ce=!0,pe=d[0],te=0;te=0,ye=Ee?"width":"height",G=jn(t,{placement:fe,boundary:c,rootBoundary:h,altBoundary:m,padding:u}),K=Ee?ee?Qe:Ve:ee?Xe:Ne;W[ye]>M[ye]&&(K=oi(K));var q=oi(K),we=[];if(r&&we.push(G[le]<=0),a&&we.push(G[K]<=0,G[q]<=0),we.every(function(Re){return Re})){pe=fe,ce=!1;break}Z.set(fe,we)}if(ce)for(var Oe=O?3:1,Ae=function(Pe){var de=d.find(function(y){var S=Z.get(y);if(S)return S.slice(0,Pe).every(function(T){return T})});if(de)return pe=de,"break"},me=Oe;me>0;me--){var je=Ae(me);if(je==="break")break}t.placement!==pe&&(t.modifiersData[i]._skip=!0,t.placement=pe,t.reset=!0)}}var vf={name:"flip",enabled:!0,phase:"main",fn:mf,requiresIfExists:["offset"],data:{_skip:!1}};function kr(e,t,n){return n===void 0&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function Tr(e){return[Ne,Qe,Xe,Ve].some(function(t){return e[t]>=0})}function gf(e){var t=e.state,n=e.name,i=t.rects.reference,o=t.rects.popper,r=t.modifiersData.preventOverflow,s=jn(t,{elementContext:"reference"}),a=jn(t,{altBoundary:!0}),l=kr(s,i),u=kr(a,o,r),c=Tr(l),h=Tr(u);t.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:u,isReferenceHidden:c,hasPopperEscaped:h},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":c,"data-popper-escaped":h})}var _f={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:gf};function bf(e,t,n){var i=ct(e),o=[Ve,Ne].indexOf(i)>=0?-1:1,r=typeof n=="function"?n(Object.assign({},t,{placement:e})):n,s=r[0],a=r[1];return s=s||0,a=(a||0)*o,[Ve,Qe].indexOf(i)>=0?{x:a,y:s}:{x:s,y:a}}function yf(e){var t=e.state,n=e.options,i=e.name,o=n.offset,r=o===void 0?[0,0]:o,s=na.reduce(function(c,h){return c[h]=bf(h,t.rects,r),c},{}),a=s[t.placement],l=a.x,u=a.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=u),t.modifiersData[i]=s}var wf={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:yf};function xf(e){var t=e.state,n=e.name;t.modifiersData[n]=ua({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}var Ef={name:"popperOffsets",enabled:!0,phase:"read",fn:xf,data:{}};function Of(e){return e==="x"?"y":"x"}function Cf(e){var t=e.state,n=e.options,i=e.name,o=n.mainAxis,r=o===void 0?!0:o,s=n.altAxis,a=s===void 0?!1:s,l=n.boundary,u=n.rootBoundary,c=n.altBoundary,h=n.padding,m=n.tether,g=m===void 0?!0:m,O=n.tetherOffset,C=O===void 0?0:O,P=jn(t,{boundary:l,rootBoundary:u,padding:h,altBoundary:c}),R=ct(t.placement),I=un(t.placement),V=!I,d=jo(R),W=Of(d),M=t.modifiersData.popperOffsets,Z=t.rects.reference,ce=t.rects.popper,pe=typeof C=="function"?C(Object.assign({},t.rects,{placement:t.placement})):C,te=typeof pe=="number"?{mainAxis:pe,altAxis:pe}:Object.assign({mainAxis:0,altAxis:0},pe),fe=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,le={x:0,y:0};if(!!M){if(r){var ee,Ee=d==="y"?Ne:Ve,ye=d==="y"?Xe:Qe,G=d==="y"?"height":"width",K=M[d],q=K+P[Ee],we=K-P[ye],Oe=g?-ce[G]/2:0,Ae=I===an?Z[G]:ce[G],me=I===an?-ce[G]:-Z[G],je=t.elements.arrow,Re=g&&je?Do(je):{width:0,height:0},Pe=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:sa(),de=Pe[Ee],y=Pe[ye],S=Cn(0,Z[G],Re[G]),T=V?Z[G]/2-Oe-S-de-te.mainAxis:Ae-S-de-te.mainAxis,j=V?-Z[G]/2+Oe+S+y+te.mainAxis:me+S+y+te.mainAxis,J=t.elements.arrow&&Nn(t.elements.arrow),f=J?d==="y"?J.clientTop||0:J.clientLeft||0:0,p=(ee=fe==null?void 0:fe[d])!=null?ee:0,v=K+T-p-f,_=K+j-p,w=Cn(g?di(q,v):q,K,g?Vt(we,_):we);M[d]=w,le[d]=w-K}if(a){var x,L=d==="x"?Ne:Ve,A=d==="x"?Xe:Qe,k=M[W],E=W==="y"?"height":"width",H=k+P[L],D=k-P[A],$=[Ne,Ve].indexOf(R)!==-1,U=(x=fe==null?void 0:fe[W])!=null?x:0,Y=$?H:k-Z[E]-ce[E]-U+te.altAxis,se=$?k+Z[E]+ce[E]-U-te.altAxis:D,ne=g&&$?Yu(Y,k,se):Cn(g?Y:H,k,g?se:D);M[W]=ne,le[W]=ne-k}t.modifiersData[i]=le}}var Af={name:"preventOverflow",enabled:!0,phase:"main",fn:Cf,requiresIfExists:["offset"]};function kf(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function Tf(e){return e===ze(e)||!Ye(e)?Ho(e):kf(e)}function Rf(e){var t=e.getBoundingClientRect(),n=ln(t.width)/e.offsetWidth||1,i=ln(t.height)/e.offsetHeight||1;return n!==1||i!==1}function Pf(e,t,n){n===void 0&&(n=!1);var i=Ye(t),o=Ye(t)&&Rf(t),r=Pt(t),s=cn(e,o,n),a={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(i||!i&&!n)&&((pt(t)!=="body"||No(r))&&(a=Tf(t)),Ye(t)?(l=cn(t,!0),l.x+=t.clientLeft,l.y+=t.clientTop):r&&(l.x=$o(r))),{x:s.left+a.scrollLeft-l.x,y:s.top+a.scrollTop-l.y,width:s.width,height:s.height}}function If(e){var t=new Map,n=new Set,i=[];e.forEach(function(r){t.set(r.name,r)});function o(r){n.add(r.name);var s=[].concat(r.requires||[],r.requiresIfExists||[]);s.forEach(function(a){if(!n.has(a)){var l=t.get(a);l&&o(l)}}),i.push(r)}return e.forEach(function(r){n.has(r.name)||o(r)}),i}function Mf(e){var t=If(e);return Uu.reduce(function(n,i){return n.concat(t.filter(function(o){return o.phase===i}))},[])}function Sf(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}function Lf(e){var t=e.reduce(function(n,i){var o=n[i.name];return n[i.name]=o?Object.assign({},o,i,{options:Object.assign({},o.options,i.options),data:Object.assign({},o.data,i.data)}):i,n},{});return Object.keys(t).map(function(n){return t[n]})}var Rr={placement:"bottom",modifiers:[],strategy:"absolute"};function Pr(){for(var e=arguments.length,t=new Array(e),n=0;n-1}function ma(e,t){return typeof e=="function"?e.apply(void 0,t):e}function Ir(e,t){if(t===0)return e;var n;return function(i){clearTimeout(n),n=setTimeout(function(){e(i)},t)}}function Nf(e){return e.split(/\s+/).filter(Boolean)}function Yt(e){return[].concat(e)}function Mr(e,t){e.indexOf(t)===-1&&e.push(t)}function Vf(e){return e.filter(function(t,n){return e.indexOf(t)===n})}function Ff(e){return e.split("-")[0]}function hi(e){return[].slice.call(e)}function Sr(e){return Object.keys(e).reduce(function(t,n){return e[n]!==void 0&&(t[n]=e[n]),t},{})}function kn(){return document.createElement("div")}function Pi(e){return["Element","Fragment"].some(function(t){return Vo(e,t)})}function Uf(e){return Vo(e,"NodeList")}function Wf(e){return Vo(e,"MouseEvent")}function va(e){return!!(e&&e._tippy&&e._tippy.reference===e)}function qf(e){return Pi(e)?[e]:Uf(e)?hi(e):Array.isArray(e)?e:hi(document.querySelectorAll(e))}function Fi(e,t){e.forEach(function(n){n&&(n.style.transitionDuration=t+"ms")})}function Lr(e,t){e.forEach(function(n){n&&n.setAttribute("data-state",t)})}function zf(e){var t,n=Yt(e),i=n[0];return i!=null&&(t=i.ownerDocument)!=null&&t.body?i.ownerDocument:document}function Kf(e,t){var n=t.clientX,i=t.clientY;return e.every(function(o){var r=o.popperRect,s=o.popperState,a=o.props,l=a.interactiveBorder,u=Ff(s.placement),c=s.modifiersData.offset;if(!c)return!0;var h=u==="bottom"?c.top.y:0,m=u==="top"?c.bottom.y:0,g=u==="right"?c.left.x:0,O=u==="left"?c.right.x:0,C=r.top-i+h>l,P=i-r.bottom-m>l,R=r.left-n+g>l,I=n-r.right-O>l;return C||P||R||I})}function Ui(e,t,n){var i=t+"EventListener";["transitionend","webkitTransitionEnd"].forEach(function(o){e[i](o,n)})}function Br(e,t){for(var n=t;n;){var i;if(e.contains(n))return!0;n=n.getRootNode==null||(i=n.getRootNode())==null?void 0:i.host}return!1}var at={isTouch:!1},Dr=0;function Yf(){at.isTouch||(at.isTouch=!0,window.performance&&document.addEventListener("mousemove",ga))}function ga(){var e=performance.now();e-Dr<20&&(at.isTouch=!1,document.removeEventListener("mousemove",ga)),Dr=e}function Xf(){var e=document.activeElement;if(va(e)){var t=e._tippy;e.blur&&!t.state.isVisible&&e.blur()}}function Qf(){document.addEventListener("touchstart",Yf,Bt),window.addEventListener("blur",Xf)}var Jf=typeof window!="undefined"&&typeof document!="undefined",Zf=Jf?!!window.msCrypto:!1,Gf={animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},ep={allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999},tt=Object.assign({appendTo:ha,aria:{content:"auto",expanded:"auto"},delay:0,duration:[300,250],getReferenceClientRect:null,hideOnClick:!0,ignoreAttributes:!1,interactive:!1,interactiveBorder:2,interactiveDebounce:0,moveTransition:"",offset:[0,10],onAfterUpdate:function(){},onBeforeUpdate:function(){},onCreate:function(){},onDestroy:function(){},onHidden:function(){},onHide:function(){},onMount:function(){},onShow:function(){},onShown:function(){},onTrigger:function(){},onUntrigger:function(){},onClickOutside:function(){},placement:"top",plugins:[],popperOptions:{},render:null,showOnCreate:!1,touch:!0,trigger:"mouseenter focus",triggerTarget:null},Gf,ep),tp=Object.keys(tt),np=function(t){var n=Object.keys(t);n.forEach(function(i){tt[i]=t[i]})};function _a(e){var t=e.plugins||[],n=t.reduce(function(i,o){var r=o.name,s=o.defaultValue;if(r){var a;i[r]=e[r]!==void 0?e[r]:(a=tt[r])!=null?a:s}return i},{});return Object.assign({},e,n)}function ip(e,t){var n=t?Object.keys(_a(Object.assign({},tt,{plugins:t}))):tp,i=n.reduce(function(o,r){var s=(e.getAttribute("data-tippy-"+r)||"").trim();if(!s)return o;if(r==="content")o[r]=s;else try{o[r]=JSON.parse(s)}catch{o[r]=s}return o},{});return i}function jr(e,t){var n=Object.assign({},t,{content:ma(t.content,[e])},t.ignoreAttributes?{}:ip(e,t.plugins));return n.aria=Object.assign({},tt.aria,n.aria),n.aria={expanded:n.aria.expanded==="auto"?t.interactive:n.aria.expanded,content:n.aria.content==="auto"?t.interactive?null:"describedby":n.aria.content},n}var op=function(){return"innerHTML"};function ao(e,t){e[op()]=t}function Hr(e){var t=kn();return e===!0?t.className=pa:(t.className=da,Pi(e)?t.appendChild(e):ao(t,e)),t}function $r(e,t){Pi(t.content)?(ao(e,""),e.appendChild(t.content)):typeof t.content!="function"&&(t.allowHTML?ao(e,t.content):e.textContent=t.content)}function lo(e){var t=e.firstElementChild,n=hi(t.children);return{box:t,content:n.find(function(i){return i.classList.contains(fa)}),arrow:n.find(function(i){return i.classList.contains(pa)||i.classList.contains(da)}),backdrop:n.find(function(i){return i.classList.contains($f)})}}function ba(e){var t=kn(),n=kn();n.className=Hf,n.setAttribute("data-state","hidden"),n.setAttribute("tabindex","-1");var i=kn();i.className=fa,i.setAttribute("data-state","hidden"),$r(i,e.props),t.appendChild(n),n.appendChild(i),o(e.props,e.props);function o(r,s){var a=lo(t),l=a.box,u=a.content,c=a.arrow;s.theme?l.setAttribute("data-theme",s.theme):l.removeAttribute("data-theme"),typeof s.animation=="string"?l.setAttribute("data-animation",s.animation):l.removeAttribute("data-animation"),s.inertia?l.setAttribute("data-inertia",""):l.removeAttribute("data-inertia"),l.style.maxWidth=typeof s.maxWidth=="number"?s.maxWidth+"px":s.maxWidth,s.role?l.setAttribute("role",s.role):l.removeAttribute("role"),(r.content!==s.content||r.allowHTML!==s.allowHTML)&&$r(u,e.props),s.arrow?c?r.arrow!==s.arrow&&(l.removeChild(c),l.appendChild(Hr(s.arrow))):l.appendChild(Hr(s.arrow)):c&&l.removeChild(c)}return{popper:t,onUpdate:o}}ba.$$tippy=!0;var rp=1,Zn=[],ri=[];function sp(e,t){var n=jr(e,Object.assign({},tt,_a(Sr(t)))),i,o,r,s=!1,a=!1,l=!1,u=!1,c,h,m,g=[],O=Ir(v,n.interactiveDebounce),C,P=rp++,R=null,I=Vf(n.plugins),V={isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},d={id:P,reference:e,popper:kn(),popperInstance:R,props:n,state:V,plugins:I,clearDelayTimeouts:Y,setProps:se,setContent:ne,show:_e,hide:Ue,hideWithInteractivity:wt,enable:$,disable:U,unmount:Fn,destroy:It};if(!n.render)return d;var W=n.render(d),M=W.popper,Z=W.onUpdate;M.setAttribute("data-tippy-root",""),M.id="tippy-"+d.id,d.popper=M,e._tippy=d,M._tippy=d;var ce=I.map(function(b){return b.fn(d)}),pe=e.hasAttribute("aria-expanded");return J(),Oe(),K(),q("onCreate",[d]),n.showOnCreate&&H(),M.addEventListener("mouseenter",function(){d.props.interactive&&d.state.isVisible&&d.clearDelayTimeouts()}),M.addEventListener("mouseleave",function(){d.props.interactive&&d.props.trigger.indexOf("mouseenter")>=0&&Ee().addEventListener("mousemove",O)}),d;function te(){var b=d.props.touch;return Array.isArray(b)?b:[b,0]}function fe(){return te()[0]==="hold"}function le(){var b;return!!((b=d.props.render)!=null&&b.$$tippy)}function ee(){return C||e}function Ee(){var b=ee().parentNode;return b?zf(b):document}function ye(){return lo(M)}function G(b){return d.state.isMounted&&!d.state.isVisible||at.isTouch||c&&c.type==="focus"?0:Vi(d.props.delay,b?0:1,tt.delay)}function K(b){b===void 0&&(b=!1),M.style.pointerEvents=d.props.interactive&&!b?"":"none",M.style.zIndex=""+d.props.zIndex}function q(b,B,N){if(N===void 0&&(N=!0),ce.forEach(function(ie){ie[b]&&ie[b].apply(ie,B)}),N){var re;(re=d.props)[b].apply(re,B)}}function we(){var b=d.props.aria;if(!!b.content){var B="aria-"+b.content,N=M.id,re=Yt(d.props.triggerTarget||e);re.forEach(function(ie){var Le=ie.getAttribute(B);if(d.state.isVisible)ie.setAttribute(B,Le?Le+" "+N:N);else{var Ke=Le&&Le.replace(N,"").trim();Ke?ie.setAttribute(B,Ke):ie.removeAttribute(B)}})}}function Oe(){if(!(pe||!d.props.aria.expanded)){var b=Yt(d.props.triggerTarget||e);b.forEach(function(B){d.props.interactive?B.setAttribute("aria-expanded",d.state.isVisible&&B===ee()?"true":"false"):B.removeAttribute("aria-expanded")})}}function Ae(){Ee().removeEventListener("mousemove",O),Zn=Zn.filter(function(b){return b!==O})}function me(b){if(!(at.isTouch&&(l||b.type==="mousedown"))){var B=b.composedPath&&b.composedPath()[0]||b.target;if(!(d.props.interactive&&Br(M,B))){if(Yt(d.props.triggerTarget||e).some(function(N){return Br(N,B)})){if(at.isTouch||d.state.isVisible&&d.props.trigger.indexOf("click")>=0)return}else q("onClickOutside",[d,b]);d.props.hideOnClick===!0&&(d.clearDelayTimeouts(),d.hide(),a=!0,setTimeout(function(){a=!1}),d.state.isMounted||de())}}}function je(){l=!0}function Re(){l=!1}function Pe(){var b=Ee();b.addEventListener("mousedown",me,!0),b.addEventListener("touchend",me,Bt),b.addEventListener("touchstart",Re,Bt),b.addEventListener("touchmove",je,Bt)}function de(){var b=Ee();b.removeEventListener("mousedown",me,!0),b.removeEventListener("touchend",me,Bt),b.removeEventListener("touchstart",Re,Bt),b.removeEventListener("touchmove",je,Bt)}function y(b,B){T(b,function(){!d.state.isVisible&&M.parentNode&&M.parentNode.contains(M)&&B()})}function S(b,B){T(b,B)}function T(b,B){var N=ye().box;function re(ie){ie.target===N&&(Ui(N,"remove",re),B())}if(b===0)return B();Ui(N,"remove",h),Ui(N,"add",re),h=re}function j(b,B,N){N===void 0&&(N=!1);var re=Yt(d.props.triggerTarget||e);re.forEach(function(ie){ie.addEventListener(b,B,N),g.push({node:ie,eventType:b,handler:B,options:N})})}function J(){fe()&&(j("touchstart",p,{passive:!0}),j("touchend",_,{passive:!0})),Nf(d.props.trigger).forEach(function(b){if(b!=="manual")switch(j(b,p),b){case"mouseenter":j("mouseleave",_);break;case"focus":j(Zf?"focusout":"blur",w);break;case"focusin":j("focusout",w);break}})}function f(){g.forEach(function(b){var B=b.node,N=b.eventType,re=b.handler,ie=b.options;B.removeEventListener(N,re,ie)}),g=[]}function p(b){var B,N=!1;if(!(!d.state.isEnabled||x(b)||a)){var re=((B=c)==null?void 0:B.type)==="focus";c=b,C=b.currentTarget,Oe(),!d.state.isVisible&&Wf(b)&&Zn.forEach(function(ie){return ie(b)}),b.type==="click"&&(d.props.trigger.indexOf("mouseenter")<0||s)&&d.props.hideOnClick!==!1&&d.state.isVisible?N=!0:H(b),b.type==="click"&&(s=!N),N&&!re&&D(b)}}function v(b){var B=b.target,N=ee().contains(B)||M.contains(B);if(!(b.type==="mousemove"&&N)){var re=E().concat(M).map(function(ie){var Le,Ke=ie._tippy,qt=(Le=Ke.popperInstance)==null?void 0:Le.state;return qt?{popperRect:ie.getBoundingClientRect(),popperState:qt,props:n}:null}).filter(Boolean);Kf(re,b)&&(Ae(),D(b))}}function _(b){var B=x(b)||d.props.trigger.indexOf("click")>=0&&s;if(!B){if(d.props.interactive){d.hideWithInteractivity(b);return}D(b)}}function w(b){d.props.trigger.indexOf("focusin")<0&&b.target!==ee()||d.props.interactive&&b.relatedTarget&&M.contains(b.relatedTarget)||D(b)}function x(b){return at.isTouch?fe()!==b.type.indexOf("touch")>=0:!1}function L(){A();var b=d.props,B=b.popperOptions,N=b.placement,re=b.offset,ie=b.getReferenceClientRect,Le=b.moveTransition,Ke=le()?lo(M).arrow:null,qt=ie?{getBoundingClientRect:ie,contextElement:ie.contextElement||ee()}:e,qo={name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(Un){var zt=Un.state;if(le()){var Ma=ye(),Si=Ma.box;["placement","reference-hidden","escaped"].forEach(function(Wn){Wn==="placement"?Si.setAttribute("data-placement",zt.placement):zt.attributes.popper["data-popper-"+Wn]?Si.setAttribute("data-"+Wn,""):Si.removeAttribute("data-"+Wn)}),zt.attributes.popper={}}}},Mt=[{name:"offset",options:{offset:re}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5}},{name:"computeStyles",options:{adaptive:!Le}},qo];le()&&Ke&&Mt.push({name:"arrow",options:{element:Ke,padding:3}}),Mt.push.apply(Mt,(B==null?void 0:B.modifiers)||[]),d.popperInstance=jf(qt,M,Object.assign({},B,{placement:N,onFirstUpdate:m,modifiers:Mt}))}function A(){d.popperInstance&&(d.popperInstance.destroy(),d.popperInstance=null)}function k(){var b=d.props.appendTo,B,N=ee();d.props.interactive&&b===ha||b==="parent"?B=N.parentNode:B=ma(b,[N]),B.contains(M)||B.appendChild(M),d.state.isMounted=!0,L()}function E(){return hi(M.querySelectorAll("[data-tippy-root]"))}function H(b){d.clearDelayTimeouts(),b&&q("onTrigger",[d,b]),Pe();var B=G(!0),N=te(),re=N[0],ie=N[1];at.isTouch&&re==="hold"&&ie&&(B=ie),B?i=setTimeout(function(){d.show()},B):d.show()}function D(b){if(d.clearDelayTimeouts(),q("onUntrigger",[d,b]),!d.state.isVisible){de();return}if(!(d.props.trigger.indexOf("mouseenter")>=0&&d.props.trigger.indexOf("click")>=0&&["mouseleave","mousemove"].indexOf(b.type)>=0&&s)){var B=G(!1);B?o=setTimeout(function(){d.state.isVisible&&d.hide()},B):r=requestAnimationFrame(function(){d.hide()})}}function $(){d.state.isEnabled=!0}function U(){d.hide(),d.state.isEnabled=!1}function Y(){clearTimeout(i),clearTimeout(o),cancelAnimationFrame(r)}function se(b){if(!d.state.isDestroyed){q("onBeforeUpdate",[d,b]),f();var B=d.props,N=jr(e,Object.assign({},B,Sr(b),{ignoreAttributes:!0}));d.props=N,J(),B.interactiveDebounce!==N.interactiveDebounce&&(Ae(),O=Ir(v,N.interactiveDebounce)),B.triggerTarget&&!N.triggerTarget?Yt(B.triggerTarget).forEach(function(re){re.removeAttribute("aria-expanded")}):N.triggerTarget&&e.removeAttribute("aria-expanded"),Oe(),K(),Z&&Z(B,N),d.popperInstance&&(L(),E().forEach(function(re){requestAnimationFrame(re._tippy.popperInstance.forceUpdate)})),q("onAfterUpdate",[d,b])}}function ne(b){d.setProps({content:b})}function _e(){var b=d.state.isVisible,B=d.state.isDestroyed,N=!d.state.isEnabled,re=at.isTouch&&!d.props.touch,ie=Vi(d.props.duration,0,tt.duration);if(!(b||B||N||re)&&!ee().hasAttribute("disabled")&&(q("onShow",[d],!1),d.props.onShow(d)!==!1)){if(d.state.isVisible=!0,le()&&(M.style.visibility="visible"),K(),Pe(),d.state.isMounted||(M.style.transition="none"),le()){var Le=ye(),Ke=Le.box,qt=Le.content;Fi([Ke,qt],0)}m=function(){var Mt;if(!(!d.state.isVisible||u)){if(u=!0,M.offsetHeight,M.style.transition=d.props.moveTransition,le()&&d.props.animation){var Mi=ye(),Un=Mi.box,zt=Mi.content;Fi([Un,zt],ie),Lr([Un,zt],"visible")}we(),Oe(),Mr(ri,d),(Mt=d.popperInstance)==null||Mt.forceUpdate(),q("onMount",[d]),d.props.animation&&le()&&S(ie,function(){d.state.isShown=!0,q("onShown",[d])})}},k()}}function Ue(){var b=!d.state.isVisible,B=d.state.isDestroyed,N=!d.state.isEnabled,re=Vi(d.props.duration,1,tt.duration);if(!(b||B||N)&&(q("onHide",[d],!1),d.props.onHide(d)!==!1)){if(d.state.isVisible=!1,d.state.isShown=!1,u=!1,s=!1,le()&&(M.style.visibility="hidden"),Ae(),de(),K(!0),le()){var ie=ye(),Le=ie.box,Ke=ie.content;d.props.animation&&(Fi([Le,Ke],re),Lr([Le,Ke],"hidden"))}we(),Oe(),d.props.animation?le()&&y(re,d.unmount):d.unmount()}}function wt(b){Ee().addEventListener("mousemove",O),Mr(Zn,O),O(b)}function Fn(){d.state.isVisible&&d.hide(),d.state.isMounted&&(A(),E().forEach(function(b){b._tippy.unmount()}),M.parentNode&&M.parentNode.removeChild(M),ri=ri.filter(function(b){return b!==d}),d.state.isMounted=!1,q("onHidden",[d]))}function It(){d.state.isDestroyed||(d.clearDelayTimeouts(),d.unmount(),f(),delete e._tippy,d.state.isDestroyed=!0,q("onDestroy",[d]))}}function Vn(e,t){t===void 0&&(t={});var n=tt.plugins.concat(t.plugins||[]);Qf();var i=Object.assign({},t,{plugins:n}),o=qf(e),r=o.reduce(function(s,a){var l=a&&sp(a,i);return l&&s.push(l),s},[]);return Pi(e)?r[0]:r}Vn.defaultProps=tt;Vn.setDefaultProps=np;Vn.currentInput=at;var Nr=function(t){var n=t===void 0?{}:t,i=n.exclude,o=n.duration;ri.forEach(function(r){var s=!1;if(i&&(s=va(i)?r.reference===i:r.popper===i.popper),!s){var a=r.props.duration;r.setProps({duration:o}),r.hide(),r.state.isDestroyed||r.setProps({duration:a})}})};Object.assign({},ia,{effect:function(t){var n=t.state,i={popper:{position:n.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};Object.assign(n.elements.popper.style,i.popper),n.styles=i,n.elements.arrow&&Object.assign(n.elements.arrow.style,i.arrow)}});Vn.setDefaultProps({render:ba});const ap={name:"desktop-menu-item-link",props:{option:{type:Object,required:!0},options:{type:Object,required:!0}},data(){return{currentExpandedStatus:"closed"}},computed:{isExpanded(){return this.currentExpandedStatus==="open"}},methods:{subMenuItemSelected(e){this.closeAllTooltips()},subMenuItemTabbed(e){this.option.subMenuOptions[this.option.subMenuOptions.length-1].text===e&&this.closeAllTooltips()},menuShown(){this.currentExpandedStatus="open"},menuHidden(){this.currentExpandedStatus="closed"},closeAllTooltips(){Nr()},initTippy(){let e=document.getElementById("dropdown-menu-parent-"+this.option.id);const t=document.getElementById("sub-menu-options-"+this.option.id);t.style.display="block",Vn(e,{theme:"light",content:t,interactive:!0,animation:this.options.tooltipAnimationType,role:"Menu",trigger:"click mouseenter focus",appendTo:"parent",arrow:!0,inertia:!1,placement:this.options.tooltipPlacement,popperOptions:{modifiers:[{name:"flip",options:{fallbackPlacements:[this.options.tooltipPlacement]}}]},onShow:n=>{Nr({exclude:n}),this.menuShown()},onHide:()=>{this.menuHidden()}})}},mounted(){this.option.subMenuOptions&&this.option.subMenuOptions.length&&this.initTippy()},components:{DynamicLink:Ti},emits:["vnb-item-clicked"]},lp=["innerHTML"],cp=["innerHTML"],up=["id","aria-expanded","aria-label"],fp=["innerHTML"],pp=["innerHTML"],dp=be("title",null,"Toggle Arrow",-1),hp=be("path",{d:"m12 268c-7-7-12-17-12-23 0-13 232-245 245-245 6 0 64 54 129 119 119 119 132 142 90 158-11 4-44-23-113-91-53-53-101-96-106-96-6 0-53 43-105 95s-99 95-105 95-16-5-23-12z",transform:"matrix(.1 0 0 -.1 0 28)"},null,-1),mp=[dp,hp],vp=["id"],gp={class:"vnb__sub-menu-options__option",tabindex:"-1"},_p=["innerHTML"],bp={class:"vnb__sub-menu-options__option__link__text-wrapper"},yp={class:"vnb__sub-menu-options__option__link__text-wrapper__text"},wp={key:0,class:"vnb__sub-menu-options__option__link__text-wrapper__sub-text"},xp=["innerHTML"],Ep={key:1,class:"vnb__sub-menu-options__option__hr",tabindex:"-1"};function Op(e,t,n,i,o,r){const s=qe("dynamic-link");return!n.option.subMenuOptions||!n.option.subMenuOptions.length?(F(),$e(s,{key:0,path:n.option.path,isUsingVueRouter:n.options.isUsingVueRouter,class:"vnb__menu-options__option__link","aria-label":n.option.text,tabindex:"0",isLinkAction:!!n.option.isLinkAction,onClick:t[0]||(t[0]=a=>e.$emit("vnb-item-clicked",n.option.text))},{content:ft(()=>[n.option.iconLeft?(F(),X("span",{key:0,class:"vnb__menu-options__option__link__icon vnb__menu-options__option__button__icon--left",innerHTML:n.option.iconLeft},null,8,lp)):he("",!0),rn(" "+vt(n.option.text)+" ",1),n.option.iconRight?(F(),X("span",{key:1,class:"vnb__menu-options__option__link__icon vnb__menu-options__option__button__icon--right",innerHTML:n.option.iconRight},null,8,cp)):he("",!0)]),_:1},8,["path","isUsingVueRouter","aria-label","isLinkAction"])):(F(),X("span",{key:1,class:"vnb__menu-options__option__link",id:"dropdown-menu-parent-"+n.option.id,"aria-haspopup":"true","aria-expanded":r.isExpanded?"true":"false","aria-label":n.option.text,tabindex:"0"},[n.option.iconLeft?(F(),X("span",{key:0,class:"vnb__menu-options__option__link__icon vnb__menu-options__option__button__icon--left",innerHTML:n.option.iconLeft},null,8,fp)):he("",!0),rn(" "+vt(n.option.text)+" ",1),n.option.iconRight?(F(),X("span",{key:1,class:"vnb__menu-options__option__link__icon vnb__menu-options__option__button__icon--right",innerHTML:n.option.iconRight},null,8,pp)):he("",!0),(F(),X("svg",{height:"28pt",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 49 28",width:"49pt",xmlns:"http://www.w3.org/2000/svg",style:dn({fill:n.option.arrowColor}),class:Wt(["vnb__menu-options__option__arrow",{"vnb__menu-options__option__arrow--hover":r.isExpanded}])},mp,6)),n.option.type==="link"?(F(),X("div",{key:2,class:"vnb__sub-menu-options",id:"sub-menu-options-"+n.option.id},[be("div",gp,[(F(!0),X(Ie,null,ci(n.option.subMenuOptions,(a,l)=>(F(),X("div",null,[a.type==="link"?(F(),$e(s,{path:a.path,isUsingVueRouter:n.options.isUsingVueRouter,key:l,class:"vnb__sub-menu-options__option__link",onClick:u=>{r.subMenuItemSelected(a.text),e.$emit("vnb-item-clicked",a.text)},"aria-label":a.text,tabindex:"0",onKeydown:Zc(u=>r.subMenuItemTabbed(a.text),["tab"]),isLinkAction:!!a.isLinkAction},{content:ft(()=>[a.iconLeft?(F(),X("span",{key:0,class:"vnb__sub-menu-options__option__link__icon vnb__sub-menu-options__option__link__icon--left",innerHTML:a.iconLeft},null,8,_p)):he("",!0),be("span",bp,[be("span",yp,vt(a.text),1),a.subText?(F(),X("span",wp,vt(a.subText),1)):he("",!0)]),a.iconRight?(F(),X("span",{key:1,class:"vnb__sub-menu-options__option__link__icon vnb__sub-menu-options__option__link__icon--right",innerHTML:a.iconRight},null,8,xp)):he("",!0)]),_:2},1032,["path","isUsingVueRouter","onClick","aria-label","onKeydown","isLinkAction"])):(F(),X("hr",Ep))]))),256))])],8,vp)):he("",!0)],8,up))}var Cp=dt(ap,[["render",Op]]);const Ap={name:"desktop-menu-item-spacer",props:{option:{type:Object,required:!0}},data(){return{}}},kp={class:"vnb__menu-options__option__spacer"};function Tp(e,t,n,i,o,r){return F(),X("div",kp)}var Rp=dt(Ap,[["render",Tp]]);const Pp={name:"menu-options",mixins:[So],props:{options:{type:Object,required:!0},type:{type:String,required:!0}},data(){return{}},methods:{vnbItemClicked(e){this.$emit("vnb-item-clicked",e)}},components:{DesktopMenuItemLink:Cp,DesktopMenuItemButton:Iu,DesktopMenuItemSpacer:Rp},emits:["vnb-item-clicked"]};function Ip(e,t,n,i,o,r){const s=qe("desktop-menu-item-link"),a=qe("desktop-menu-item-button"),l=qe("desktop-menu-item-spacer");return e.$vssWidth>n.options.mobileBreakpoint?(F(),X("div",{key:0,class:Wt(["vnb__menu-options",{"vnb__menu-options--left":n.type==="left"},{"vnb__menu-options--right":n.type==="right"}])},[(F(!0),X(Ie,null,ci(n.type==="left"?n.options.menuOptionsLeft:n.options.menuOptionsRight,(u,c)=>(F(),X("div",{key:c,class:"vnb__menu-options__option"},[u.type==="link"?(F(),$e(s,{key:0,option:u,options:n.options,onVnbItemClicked:r.vnbItemClicked},null,8,["option","options","onVnbItemClicked"])):u.type==="button"?(F(),$e(a,{key:1,option:u,options:n.options,onVnbItemClicked:r.vnbItemClicked},null,8,["option","options","onVnbItemClicked"])):(F(),$e(l,{key:2,option:u},null,8,["option"]))]))),128))],2)):he("",!0)}var Mp=dt(Pp,[["render",Ip]]);const Sp={name:"popup",props:{options:{type:Object,required:!0},menuIsVisible:{type:Boolean,required:!0}},data(){return{}},computed:{combinedMenuItems(){return this.options.menuOptionsLeft.concat(this.options.menuOptionsRight)}},methods:{closeButtonClicked(){this.$emit("close-button-clicked")},itemSelected(e){this.$emit("vnb-item-clicked",e.text),this.closeButtonClicked()}},components:{DynamicLink:Ti},emits:["close-button-clicked","vnb-item-clicked"]},Lp={key:0,class:"vnb__popup"},Bp={class:"vnb__popup__top"},Dp=["src","alt"],jp=["aria-expanded"],Hp=["src"],$p=be("title",null,"Close button",-1),Np=be("path",{d:"m42 967c-12-13-22-27-22-33 0-5 93-102 207-216l208-208-208-208c-114-114-207-214-207-223 0-8 11-26 25-39l26-24 214 214 215 215 215-215 214-214 26 24c14 13 25 28 25 34s-92 103-205 216-205 209-205 215 92 102 205 215 205 210 205 216c0 12-42 54-55 54-5 0-104-94-220-210l-210-210-210 210c-115 116-212 210-216 210-3 0-15-10-27-23z",transform:"matrix(.1 0 0 -.1 0 100)"},null,-1),Vp=[$p,Np],Fp={class:"vnb__popup__bottom"},Up={key:0,class:"vnb__popup__bottom__custom-section"},Wp={class:"vnb__popup__bottom__menu-options"},qp=["innerHTML"],zp=["innerHTML"],Kp={key:1,class:"vnb__popup__bottom__menu-options__option__link vnb__popup__bottom__menu-options__option__link--no-highlight"},Yp={class:"vnb__popup__bottom__sub-menu-options"},Xp={class:"vnb__popup__bottom__sub-menu-options__option__link__sub-text"};function Qp(e,t,n,i,o,r){const s=qe("dynamic-link");return n.menuIsVisible?(F(),X("div",Lp,[be("div",Bp,[n.options.showBrandImageInMobilePopup&&n.options.brandImage?(F(),X("img",{key:0,src:n.options.brandImage,alt:n.options.brandImageAltText,class:"vnb-image vnb__popup__top__image"},null,8,Dp)):he("",!0),be("button",{class:"vnb__popup__top__close-button",onClick:t[0]||(t[0]=(...a)=>r.closeButtonClicked&&r.closeButtonClicked(...a)),"aria-label":"Close Button",title:"Close","aria-expanded":n.menuIsVisible?"true":"false"},[n.options.collapseButtonImageClose?(F(),X("img",{key:0,src:n.options.collapseButtonImageClose,alt:"Close button",class:"vnb__popup__top__close-button__image"},null,8,Hp)):(F(),X("svg",{key:1,height:"100pt",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 100 100",width:"100pt",xmlns:"http://www.w3.org/2000/svg",class:"vnb__popup__top__close-button__image",style:dn({fill:n.options.collapseButtonCloseColor})},Vp,4))],8,jp)]),be("div",Fp,[this.$slots["custom-section"]?(F(),X("div",Up,[Ht(e.$slots,"custom-section")])):he("",!0),be("ul",Wp,[(F(!0),X(Ie,null,ci(r.combinedMenuItems,(a,l)=>(F(),X("li",{key:l,class:"vnb__popup__bottom__menu-options__option"},[a.subMenuOptions?(F(),X("span",Kp,vt(a.text),1)):(F(),$e(s,{key:0,path:a.path,isUsingVueRouter:n.options.isUsingVueRouter,class:Wt(["vnb__popup__bottom__menu-options__option__link",a.class]),onClick:u=>r.itemSelected(a),"aria-label":a.text,isLinkAction:!!a.isLinkAction},{content:ft(()=>[a.iconLeft?(F(),X("span",{key:0,class:"vnb__popup__bottom__menu-options__option__link__icon vnb__popup__bottom__menu-options__option__link__icon--left",innerHTML:a.iconLeft},null,8,qp)):he("",!0),rn(" "+vt(a.text)+" ",1),a.iconRight?(F(),X("span",{key:1,class:"vnb__popup__bottom__menu-options__option__link__icon vnb__popup__bottom__menu-options__option__link__icon--right",innerHTML:a.iconRight},null,8,zp)):he("",!0)]),_:2},1032,["path","isUsingVueRouter","class","onClick","aria-label","isLinkAction"])),be("div",Yp,[(F(!0),X(Ie,null,ci(a.subMenuOptions,(u,c)=>(F(),X("div",{key:c,class:"vnb__popup__bottom__sub-menu-options__option"},[u.type==="link"?(F(),$e(s,{key:0,path:u.path,isUsingVueRouter:n.options.isUsingVueRouter,class:"vnb__popup__bottom__sub-menu-options__option__link",onClick:h=>r.itemSelected(u),"aria-label":u.text,isLinkAction:!!a.isLinkAction},{content:ft(()=>[rn(vt(u.text)+" ",1),be("span",Xp,vt(u.subText),1)]),_:2},1032,["path","isUsingVueRouter","onClick","aria-label","isLinkAction"])):he("",!0)]))),128))])]))),128))])])])):he("",!0)}var Jp=dt(Sp,[["render",Qp]]);const Zp={name:"vue-navigation-bar",mixins:[So],props:{options:{type:Object,required:!0}},data(){return{menuIsVisible:!1}},computed:{finalOptions(){if(this.options.menuOptionsLeft)for(let e=0;en.options.mobileBreakpoint?Ht(e.$slots,"custom-section",{key:0}):he("",!0),xe(a,{options:r.finalOptions,type:"right",onVnbItemClicked:r.vnbItemClicked},null,8,["options","onVnbItemClicked"]),r.finalOptions.menuOptionsLeft.length||r.finalOptions.menuOptionsRight.length?(F(),$e(l,{key:1,options:r.finalOptions,menuIsVisible:o.menuIsVisible,onCollapseButtonClicked:r.showMobilePopup},null,8,["options","menuIsVisible","onCollapseButtonClicked"])):he("",!0),r.finalOptions.menuOptionsLeft.length||r.finalOptions.menuOptionsRight.length?(F(),$e(u,{key:2,options:r.finalOptions,menuIsVisible:o.menuIsVisible,onCloseButtonClicked:r.closeMobilePopup,onVnbItemClicked:r.vnbItemClicked},{"custom-section":ft(()=>[Ht(e.$slots,"custom-section")]),_:3},8,["options","menuIsVisible","onCloseButtonClicked","onVnbItemClicked"])):he("",!0)],8,Gp)}var ya=dt(Zp,[["render",ed]]);function co(e){co.installed||(co.installed=!0,e.component("VueNavigationBar",ya))}const td={install:co};let mi=null;typeof window!="undefined"?mi=window.Vue:typeof global!="undefined"&&(mi=global.Vue);mi&&mi.use(td);/*! + * vue-router v4.2.4 + * (c) 2023 Eduardo San Martin Morote + * @license MIT + */const Xt=typeof window!="undefined";function nd(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const ue=Object.assign;function Wi(e,t){const n={};for(const i in t){const o=t[i];n[i]=ot(o)?o.map(e):e(o)}return n}const Tn=()=>{},ot=Array.isArray,id=/\/$/,od=e=>e.replace(id,"");function qi(e,t,n="/"){let i,o={},r="",s="";const a=t.indexOf("#");let l=t.indexOf("?");return a=0&&(l=-1),l>-1&&(i=t.slice(0,l),r=t.slice(l+1,a>-1?a:t.length),o=e(r)),a>-1&&(i=i||t.slice(0,a),s=t.slice(a,t.length)),i=ld(i!=null?i:t,n),{fullPath:i+(r&&"?")+r+s,path:i,query:o,hash:s}}function rd(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Vr(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function sd(e,t,n){const i=t.matched.length-1,o=n.matched.length-1;return i>-1&&i===o&&fn(t.matched[i],n.matched[o])&&wa(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function fn(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function wa(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!ad(e[n],t[n]))return!1;return!0}function ad(e,t){return ot(e)?Fr(e,t):ot(t)?Fr(t,e):e===t}function Fr(e,t){return ot(t)?e.length===t.length&&e.every((n,i)=>n===t[i]):e.length===1&&e[0]===t}function ld(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),i=e.split("/"),o=i[i.length-1];(o===".."||o===".")&&i.push("");let r=n.length-1,s,a;for(s=0;s1&&r--;else break;return n.slice(0,r).join("/")+"/"+i.slice(s-(s===i.length?1:0)).join("/")}var Hn;(function(e){e.pop="pop",e.push="push"})(Hn||(Hn={}));var Rn;(function(e){e.back="back",e.forward="forward",e.unknown=""})(Rn||(Rn={}));function cd(e){if(!e)if(Xt){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),od(e)}const ud=/^[^#]+#/;function fd(e,t){return e.replace(ud,"#")+t}function pd(e,t){const n=document.documentElement.getBoundingClientRect(),i=e.getBoundingClientRect();return{behavior:t.behavior,left:i.left-n.left-(t.left||0),top:i.top-n.top-(t.top||0)}}const Ii=()=>({left:window.pageXOffset,top:window.pageYOffset});function dd(e){let t;if("el"in e){const n=e.el,i=typeof n=="string"&&n.startsWith("#"),o=typeof n=="string"?i?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!o)return;t=pd(o,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.pageXOffset,t.top!=null?t.top:window.pageYOffset)}function Ur(e,t){return(history.state?history.state.position-t:-1)+e}const uo=new Map;function hd(e,t){uo.set(e,t)}function md(e){const t=uo.get(e);return uo.delete(e),t}let vd=()=>location.protocol+"//"+location.host;function xa(e,t){const{pathname:n,search:i,hash:o}=t,r=e.indexOf("#");if(r>-1){let a=o.includes(e.slice(r))?e.slice(r).length:1,l=o.slice(a);return l[0]!=="/"&&(l="/"+l),Vr(l,"")}return Vr(n,e)+i+o}function gd(e,t,n,i){let o=[],r=[],s=null;const a=({state:m})=>{const g=xa(e,location),O=n.value,C=t.value;let P=0;if(m){if(n.value=g,t.value=m,s&&s===O){s=null;return}P=C?m.position-C.position:0}else i(g);o.forEach(R=>{R(n.value,O,{delta:P,type:Hn.pop,direction:P?P>0?Rn.forward:Rn.back:Rn.unknown})})};function l(){s=n.value}function u(m){o.push(m);const g=()=>{const O=o.indexOf(m);O>-1&&o.splice(O,1)};return r.push(g),g}function c(){const{history:m}=window;!m.state||m.replaceState(ue({},m.state,{scroll:Ii()}),"")}function h(){for(const m of r)m();r=[],window.removeEventListener("popstate",a),window.removeEventListener("beforeunload",c)}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",c,{passive:!0}),{pauseListeners:l,listen:u,destroy:h}}function Wr(e,t,n,i=!1,o=!1){return{back:e,current:t,forward:n,replaced:i,position:window.history.length,scroll:o?Ii():null}}function _d(e){const{history:t,location:n}=window,i={value:xa(e,n)},o={value:t.state};o.value||r(i.value,{back:null,current:i.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function r(l,u,c){const h=e.indexOf("#"),m=h>-1?(n.host&&document.querySelector("base")?e:e.slice(h))+l:vd()+e+l;try{t[c?"replaceState":"pushState"](u,"",m),o.value=u}catch(g){console.error(g),n[c?"replace":"assign"](m)}}function s(l,u){const c=ue({},t.state,Wr(o.value.back,l,o.value.forward,!0),u,{position:o.value.position});r(l,c,!0),i.value=l}function a(l,u){const c=ue({},o.value,t.state,{forward:l,scroll:Ii()});r(c.current,c,!0);const h=ue({},Wr(i.value,l,null),{position:c.position+1},u);r(l,h,!1),i.value=l}return{location:i,state:o,push:a,replace:s}}function bd(e){e=cd(e);const t=_d(e),n=gd(e,t.state,t.location,t.replace);function i(r,s=!0){s||n.pauseListeners(),history.go(r)}const o=ue({location:"",base:e,go:i,createHref:fd.bind(null,e)},t,n);return Object.defineProperty(o,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(o,"state",{enumerable:!0,get:()=>t.state.value}),o}function yd(e){return typeof e=="string"||e&&typeof e=="object"}function Ea(e){return typeof e=="string"||typeof e=="symbol"}const Et={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},Oa=Symbol("");var qr;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(qr||(qr={}));function pn(e,t){return ue(new Error,{type:e,[Oa]:!0},t)}function ht(e,t){return e instanceof Error&&Oa in e&&(t==null||!!(e.type&t))}const zr="[^/]+?",wd={sensitive:!1,strict:!1,start:!0,end:!0},xd=/[.+*?^${}()[\]/\\]/g;function Ed(e,t){const n=ue({},wd,t),i=[];let o=n.start?"^":"";const r=[];for(const u of e){const c=u.length?[]:[90];n.strict&&!u.length&&(o+="/");for(let h=0;ht.length?t.length===1&&t[0]===40+40?1:-1:0}function Cd(e,t){let n=0;const i=e.score,o=t.score;for(;n0&&t[t.length-1]<0}const Ad={type:0,value:""},kd=/[a-zA-Z0-9_]/;function Td(e){if(!e)return[[]];if(e==="/")return[[Ad]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(g){throw new Error(`ERR (${n})/"${u}": ${g}`)}let n=0,i=n;const o=[];let r;function s(){r&&o.push(r),r=[]}let a=0,l,u="",c="";function h(){!u||(n===0?r.push({type:0,value:u}):n===1||n===2||n===3?(r.length>1&&(l==="*"||l==="+")&&t(`A repeatable param (${u}) must be alone in its segment. eg: '/:ids+.`),r.push({type:1,value:u,regexp:c,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):t("Invalid state to consume buffer"),u="")}function m(){u+=l}for(;a{s(I)}:Tn}function s(c){if(Ea(c)){const h=i.get(c);h&&(i.delete(c),n.splice(n.indexOf(h),1),h.children.forEach(s),h.alias.forEach(s))}else{const h=n.indexOf(c);h>-1&&(n.splice(h,1),c.record.name&&i.delete(c.record.name),c.children.forEach(s),c.alias.forEach(s))}}function a(){return n}function l(c){let h=0;for(;h=0&&(c.record.path!==n[h].record.path||!Ca(c,n[h]));)h++;n.splice(h,0,c),c.record.name&&!Xr(c)&&i.set(c.record.name,c)}function u(c,h){let m,g={},O,C;if("name"in c&&c.name){if(m=i.get(c.name),!m)throw pn(1,{location:c});C=m.record.name,g=ue(Yr(h.params,m.keys.filter(I=>!I.optional).map(I=>I.name)),c.params&&Yr(c.params,m.keys.map(I=>I.name))),O=m.stringify(g)}else if("path"in c)O=c.path,m=n.find(I=>I.re.test(O)),m&&(g=m.parse(O),C=m.record.name);else{if(m=h.name?i.get(h.name):n.find(I=>I.re.test(h.path)),!m)throw pn(1,{location:c,currentLocation:h});C=m.record.name,g=ue({},h.params,c.params),O=m.stringify(g)}const P=[];let R=m;for(;R;)P.unshift(R.record),R=R.parent;return{name:C,path:O,params:g,matched:P,meta:Sd(P)}}return e.forEach(c=>r(c)),{addRoute:r,resolve:u,removeRoute:s,getRoutes:a,getRecordMatcher:o}}function Yr(e,t){const n={};for(const i of t)i in e&&(n[i]=e[i]);return n}function Id(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:Md(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}}}function Md(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const i in e.components)t[i]=typeof n=="object"?n[i]:n;return t}function Xr(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function Sd(e){return e.reduce((t,n)=>ue(t,n.meta),{})}function Qr(e,t){const n={};for(const i in e)n[i]=i in t?t[i]:e[i];return n}function Ca(e,t){return t.children.some(n=>n===e||Ca(e,n))}const Aa=/#/g,Ld=/&/g,Bd=/\//g,Dd=/=/g,jd=/\?/g,ka=/\+/g,Hd=/%5B/g,$d=/%5D/g,Ta=/%5E/g,Nd=/%60/g,Ra=/%7B/g,Vd=/%7C/g,Pa=/%7D/g,Fd=/%20/g;function Fo(e){return encodeURI(""+e).replace(Vd,"|").replace(Hd,"[").replace($d,"]")}function Ud(e){return Fo(e).replace(Ra,"{").replace(Pa,"}").replace(Ta,"^")}function fo(e){return Fo(e).replace(ka,"%2B").replace(Fd,"+").replace(Aa,"%23").replace(Ld,"%26").replace(Nd,"`").replace(Ra,"{").replace(Pa,"}").replace(Ta,"^")}function Wd(e){return fo(e).replace(Dd,"%3D")}function qd(e){return Fo(e).replace(Aa,"%23").replace(jd,"%3F")}function zd(e){return e==null?"":qd(e).replace(Bd,"%2F")}function vi(e){try{return decodeURIComponent(""+e)}catch{}return""+e}function Kd(e){const t={};if(e===""||e==="?")return t;const i=(e[0]==="?"?e.slice(1):e).split("&");for(let o=0;or&&fo(r)):[i&&fo(i)]).forEach(r=>{r!==void 0&&(t+=(t.length?"&":"")+n,r!=null&&(t+="="+r))})}return t}function Yd(e){const t={};for(const n in e){const i=e[n];i!==void 0&&(t[n]=ot(i)?i.map(o=>o==null?null:""+o):i==null?i:""+i)}return t}const Xd=Symbol(""),Zr=Symbol(""),Uo=Symbol(""),Ia=Symbol(""),po=Symbol("");function _n(){let e=[];function t(i){return e.push(i),()=>{const o=e.indexOf(i);o>-1&&e.splice(o,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function Ct(e,t,n,i,o){const r=i&&(i.enterCallbacks[o]=i.enterCallbacks[o]||[]);return()=>new Promise((s,a)=>{const l=h=>{h===!1?a(pn(4,{from:n,to:t})):h instanceof Error?a(h):yd(h)?a(pn(2,{from:t,to:h})):(r&&i.enterCallbacks[o]===r&&typeof h=="function"&&r.push(h),s())},u=e.call(i&&i.instances[o],t,n,l);let c=Promise.resolve(u);e.length<3&&(c=c.then(l)),c.catch(h=>a(h))})}function zi(e,t,n,i){const o=[];for(const r of e)for(const s in r.components){let a=r.components[s];if(!(t!=="beforeRouteEnter"&&!r.instances[s]))if(Qd(a)){const u=(a.__vccOpts||a)[t];u&&o.push(Ct(u,n,i,r,s))}else{let l=a();o.push(()=>l.then(u=>{if(!u)return Promise.reject(new Error(`Couldn't resolve component "${s}" at "${r.path}"`));const c=nd(u)?u.default:u;r.components[s]=c;const m=(c.__vccOpts||c)[t];return m&&Ct(m,n,i,r,s)()}))}}return o}function Qd(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function Gr(e){const t=gt(Uo),n=gt(Ia),i=Ge(()=>t.resolve(en(e.to))),o=Ge(()=>{const{matched:l}=i.value,{length:u}=l,c=l[u-1],h=n.matched;if(!c||!h.length)return-1;const m=h.findIndex(fn.bind(null,c));if(m>-1)return m;const g=es(l[u-2]);return u>1&&es(c)===g&&h[h.length-1].path!==g?h.findIndex(fn.bind(null,l[u-2])):m}),r=Ge(()=>o.value>-1&&eh(n.params,i.value.params)),s=Ge(()=>o.value>-1&&o.value===n.matched.length-1&&wa(n.params,i.value.params));function a(l={}){return Gd(l)?t[en(e.replace)?"replace":"push"](en(e.to)).catch(Tn):Promise.resolve()}return{route:i,href:Ge(()=>i.value.href),isActive:r,isExactActive:s,navigate:a}}const Jd=Ds({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:Gr,setup(e,{slots:t}){const n=xi(Gr(e)),{options:i}=gt(Uo),o=Ge(()=>({[ts(e.activeClass,i.linkActiveClass,"router-link-active")]:n.isActive,[ts(e.exactActiveClass,i.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const r=t.default&&t.default(n);return e.custom?r:ea("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:o.value},r)}}}),Zd=Jd;function Gd(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function eh(e,t){for(const n in t){const i=t[n],o=e[n];if(typeof i=="string"){if(i!==o)return!1}else if(!ot(o)||o.length!==i.length||i.some((r,s)=>r!==o[s]))return!1}return!0}function es(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const ts=(e,t,n)=>e!=null?e:t!=null?t:n,th=Ds({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const i=gt(po),o=Ge(()=>e.route||i.value),r=gt(Zr,0),s=Ge(()=>{let u=en(r);const{matched:c}=o.value;let h;for(;(h=c[u])&&!h.components;)u++;return u}),a=Ge(()=>o.value.matched[s.value]);ti(Zr,Ge(()=>s.value+1)),ti(Xd,a),ti(po,o);const l=xl();return ei(()=>[l.value,a.value,e.name],([u,c,h],[m,g,O])=>{c&&(c.instances[h]=u,g&&g!==c&&u&&u===m&&(c.leaveGuards.size||(c.leaveGuards=g.leaveGuards),c.updateGuards.size||(c.updateGuards=g.updateGuards))),u&&c&&(!g||!fn(c,g)||!m)&&(c.enterCallbacks[h]||[]).forEach(C=>C(u))},{flush:"post"}),()=>{const u=o.value,c=e.name,h=a.value,m=h&&h.components[c];if(!m)return ns(n.default,{Component:m,route:u});const g=h.props[c],O=g?g===!0?u.params:typeof g=="function"?g(u):g:null,P=ea(m,ue({},O,t,{onVnodeUnmounted:R=>{R.component.isUnmounted&&(h.instances[c]=null)},ref:l}));return ns(n.default,{Component:P,route:u})||P}}});function ns(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const nh=th;function ih(e){const t=Pd(e.routes,e),n=e.parseQuery||Kd,i=e.stringifyQuery||Jr,o=e.history,r=_n(),s=_n(),a=_n(),l=El(Et);let u=Et;Xt&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const c=Wi.bind(null,y=>""+y),h=Wi.bind(null,zd),m=Wi.bind(null,vi);function g(y,S){let T,j;return Ea(y)?(T=t.getRecordMatcher(y),j=S):j=y,t.addRoute(j,T)}function O(y){const S=t.getRecordMatcher(y);S&&t.removeRoute(S)}function C(){return t.getRoutes().map(y=>y.record)}function P(y){return!!t.getRecordMatcher(y)}function R(y,S){if(S=ue({},S||l.value),typeof y=="string"){const v=qi(n,y,S.path),_=t.resolve({path:v.path},S),w=o.createHref(v.fullPath);return ue(v,_,{params:m(_.params),hash:vi(v.hash),redirectedFrom:void 0,href:w})}let T;if("path"in y)T=ue({},y,{path:qi(n,y.path,S.path).path});else{const v=ue({},y.params);for(const _ in v)v[_]==null&&delete v[_];T=ue({},y,{params:h(v)}),S.params=h(S.params)}const j=t.resolve(T,S),J=y.hash||"";j.params=c(m(j.params));const f=rd(i,ue({},y,{hash:Ud(J),path:j.path})),p=o.createHref(f);return ue({fullPath:f,hash:J,query:i===Jr?Yd(y.query):y.query||{}},j,{redirectedFrom:void 0,href:p})}function I(y){return typeof y=="string"?qi(n,y,l.value.path):ue({},y)}function V(y,S){if(u!==y)return pn(8,{from:S,to:y})}function d(y){return Z(y)}function W(y){return d(ue(I(y),{replace:!0}))}function M(y){const S=y.matched[y.matched.length-1];if(S&&S.redirect){const{redirect:T}=S;let j=typeof T=="function"?T(y):T;return typeof j=="string"&&(j=j.includes("?")||j.includes("#")?j=I(j):{path:j},j.params={}),ue({query:y.query,hash:y.hash,params:"path"in j?{}:y.params},j)}}function Z(y,S){const T=u=R(y),j=l.value,J=y.state,f=y.force,p=y.replace===!0,v=M(T);if(v)return Z(ue(I(v),{state:typeof v=="object"?ue({},J,v.state):J,force:f,replace:p}),S||T);const _=T;_.redirectedFrom=S;let w;return!f&&sd(i,j,T)&&(w=pn(16,{to:_,from:j}),Ae(j,j,!0,!1)),(w?Promise.resolve(w):te(_,j)).catch(x=>ht(x)?ht(x,2)?x:Oe(x):q(x,_,j)).then(x=>{if(x){if(ht(x,2))return Z(ue({replace:p},I(x.to),{state:typeof x.to=="object"?ue({},J,x.to.state):J,force:f}),S||_)}else x=le(_,j,!0,p,J);return fe(_,j,x),x})}function ce(y,S){const T=V(y,S);return T?Promise.reject(T):Promise.resolve()}function pe(y){const S=Re.values().next().value;return S&&typeof S.runWithContext=="function"?S.runWithContext(y):y()}function te(y,S){let T;const[j,J,f]=oh(y,S);T=zi(j.reverse(),"beforeRouteLeave",y,S);for(const v of j)v.leaveGuards.forEach(_=>{T.push(Ct(_,y,S))});const p=ce.bind(null,y,S);return T.push(p),de(T).then(()=>{T=[];for(const v of r.list())T.push(Ct(v,y,S));return T.push(p),de(T)}).then(()=>{T=zi(J,"beforeRouteUpdate",y,S);for(const v of J)v.updateGuards.forEach(_=>{T.push(Ct(_,y,S))});return T.push(p),de(T)}).then(()=>{T=[];for(const v of f)if(v.beforeEnter)if(ot(v.beforeEnter))for(const _ of v.beforeEnter)T.push(Ct(_,y,S));else T.push(Ct(v.beforeEnter,y,S));return T.push(p),de(T)}).then(()=>(y.matched.forEach(v=>v.enterCallbacks={}),T=zi(f,"beforeRouteEnter",y,S),T.push(p),de(T))).then(()=>{T=[];for(const v of s.list())T.push(Ct(v,y,S));return T.push(p),de(T)}).catch(v=>ht(v,8)?v:Promise.reject(v))}function fe(y,S,T){a.list().forEach(j=>pe(()=>j(y,S,T)))}function le(y,S,T,j,J){const f=V(y,S);if(f)return f;const p=S===Et,v=Xt?history.state:{};T&&(j||p?o.replace(y.fullPath,ue({scroll:p&&v&&v.scroll},J)):o.push(y.fullPath,J)),l.value=y,Ae(y,S,T,p),Oe()}let ee;function Ee(){ee||(ee=o.listen((y,S,T)=>{if(!Pe.listening)return;const j=R(y),J=M(j);if(J){Z(ue(J,{replace:!0}),j).catch(Tn);return}u=j;const f=l.value;Xt&&hd(Ur(f.fullPath,T.delta),Ii()),te(j,f).catch(p=>ht(p,12)?p:ht(p,2)?(Z(p.to,j).then(v=>{ht(v,20)&&!T.delta&&T.type===Hn.pop&&o.go(-1,!1)}).catch(Tn),Promise.reject()):(T.delta&&o.go(-T.delta,!1),q(p,j,f))).then(p=>{p=p||le(j,f,!1),p&&(T.delta&&!ht(p,8)?o.go(-T.delta,!1):T.type===Hn.pop&&ht(p,20)&&o.go(-1,!1)),fe(j,f,p)}).catch(Tn)}))}let ye=_n(),G=_n(),K;function q(y,S,T){Oe(y);const j=G.list();return j.length?j.forEach(J=>J(y,S,T)):console.error(y),Promise.reject(y)}function we(){return K&&l.value!==Et?Promise.resolve():new Promise((y,S)=>{ye.add([y,S])})}function Oe(y){return K||(K=!y,Ee(),ye.list().forEach(([S,T])=>y?T(y):S()),ye.reset()),y}function Ae(y,S,T,j){const{scrollBehavior:J}=e;if(!Xt||!J)return Promise.resolve();const f=!T&&md(Ur(y.fullPath,0))||(j||!T)&&history.state&&history.state.scroll||null;return Ts().then(()=>J(y,S,f)).then(p=>p&&dd(p)).catch(p=>q(p,y,S))}const me=y=>o.go(y);let je;const Re=new Set,Pe={currentRoute:l,listening:!0,addRoute:g,removeRoute:O,hasRoute:P,getRoutes:C,resolve:R,options:e,push:d,replace:W,go:me,back:()=>me(-1),forward:()=>me(1),beforeEach:r.add,beforeResolve:s.add,afterEach:a.add,onError:G.add,isReady:we,install(y){const S=this;y.component("RouterLink",Zd),y.component("RouterView",nh),y.config.globalProperties.$router=S,Object.defineProperty(y.config.globalProperties,"$route",{enumerable:!0,get:()=>en(l)}),Xt&&!je&&l.value===Et&&(je=!0,d(o.location).catch(J=>{}));const T={};for(const J in Et)Object.defineProperty(T,J,{get:()=>l.value[J],enumerable:!0});y.provide(Uo,S),y.provide(Ia,bs(T)),y.provide(po,l);const j=y.unmount;Re.add(y),y.unmount=function(){Re.delete(y),Re.size<1&&(u=Et,ee&&ee(),ee=null,l.value=Et,je=!1,K=!1),j()}}};function de(y){return y.reduce((S,T)=>S.then(()=>pe(T)),Promise.resolve())}return Pe}function oh(e,t){const n=[],i=[],o=[],r=Math.max(t.matched.length,e.matched.length);for(let s=0;sfn(u,a))?i.push(a):n.push(a));const l=e.matched[s];l&&(t.matched.find(u=>fn(u,l))||o.push(l))}return[n,i,o]}const Wo=tu(uu),We={template:"
"},rh=ih({history:bd(),routes:[{path:"/",name:"home",component:We},{path:"/about",name:"about",component:We},{path:"/locations",name:"locations",component:We},{path:"/blog",name:"blog",component:We},{path:"/pricing",name:"pricing",component:We},{path:"/pricing/pro",name:"pricing-pro",component:We},{path:"/pricing/starter",name:"pricing-starter",component:We},{path:"/contact",name:"contact",component:We},{path:"/customer-service",name:"customer-service",component:We},{path:"/accounting",name:"accounting",component:We},{path:"/reception",name:"reception",component:We},{path:"/signup",name:"signup",component:We},{path:"/login",name:"login",component:We}]});Wo.use(rh);Wo.component("vue-navigation-bar",ya);Wo.mount("#app"); diff --git a/docs/assets/index.9f2598a5.js b/docs/assets/index.9f2598a5.js deleted file mode 100644 index 45a871c..0000000 --- a/docs/assets/index.9f2598a5.js +++ /dev/null @@ -1,5 +0,0 @@ -const Da=function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))i(o);new MutationObserver(o=>{for(const r of o)if(r.type==="childList")for(const s of r.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&i(s)}).observe(document,{childList:!0,subtree:!0});function n(o){const r={};return o.integrity&&(r.integrity=o.integrity),o.referrerpolicy&&(r.referrerPolicy=o.referrerpolicy),o.crossorigin==="use-credentials"?r.credentials="include":o.crossorigin==="anonymous"?r.credentials="omit":r.credentials="same-origin",r}function i(o){if(o.ep)return;o.ep=!0;const r=n(o);fetch(o.href,r)}};Da();function vo(e,t){const n=Object.create(null),i=e.split(",");for(let o=0;o!!n[o.toLowerCase()]:o=>!!n[o]}const Na="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Ha=vo(Na);function Gr(e){return!!e||e===""}function qt(e){if(Q(e)){const t={};for(let n=0;n{if(n){const i=n.split(ja);i.length>1&&(t[i[0].trim()]=i[1].trim())}}),t}function It(e){let t="";if(Ee(e))t=e;else if(Q(e))for(let n=0;nEe(e)?e:e==null?"":Q(e)||Oe(e)&&(e.toString===is||!ne(e.toString))?JSON.stringify(e,es,2):String(e),es=(e,t)=>t&&t.__v_isRef?es(e,t.value):nn(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[i,o])=>(n[`${i} =>`]=o,n),{})}:ts(t)?{[`Set(${t.size})`]:[...t.values()]}:Oe(t)&&!Q(t)&&!os(t)?String(t):t,ge={},tn=[],nt=()=>{},Ua=()=>!1,Wa=/^on[^a-z]/,bi=e=>Wa.test(e),go=e=>e.startsWith("onUpdate:"),Le=Object.assign,_o=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},qa=Object.prototype.hasOwnProperty,ue=(e,t)=>qa.call(e,t),Q=Array.isArray,nn=e=>yi(e)==="[object Map]",ts=e=>yi(e)==="[object Set]",ne=e=>typeof e=="function",Ee=e=>typeof e=="string",bo=e=>typeof e=="symbol",Oe=e=>e!==null&&typeof e=="object",ns=e=>Oe(e)&&ne(e.then)&&ne(e.catch),is=Object.prototype.toString,yi=e=>is.call(e),za=e=>yi(e).slice(8,-1),os=e=>yi(e)==="[object Object]",yo=e=>Ee(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Gn=vo(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),wi=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Ka=/-(\w)/g,ut=wi(e=>e.replace(Ka,(t,n)=>n?n.toUpperCase():"")),Ya=/\B([A-Z])/g,zt=wi(e=>e.replace(Ya,"-$1").toLowerCase()),xi=wi(e=>e.charAt(0).toUpperCase()+e.slice(1)),Bi=wi(e=>e?`on${xi(e)}`:""),Pn=(e,t)=>!Object.is(e,t),Di=(e,t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},Xa=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let Ko;const Qa=()=>Ko||(Ko=typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:typeof window!="undefined"?window:typeof global!="undefined"?global:{});let rt;class Ja{constructor(t=!1){this.active=!0,this.effects=[],this.cleanups=[],!t&&rt&&(this.parent=rt,this.index=(rt.scopes||(rt.scopes=[])).push(this)-1)}run(t){if(this.active){const n=rt;try{return rt=this,t()}finally{rt=n}}}on(){rt=this}off(){rt=this.parent}stop(t){if(this.active){let n,i;for(n=0,i=this.effects.length;n{const t=new Set(e);return t.w=0,t.n=0,t},rs=e=>(e.w&Rt)>0,ss=e=>(e.n&Rt)>0,Ga=({deps:e})=>{if(e.length)for(let t=0;t{const{deps:t}=e;if(t.length){let n=0;for(let i=0;i{(u==="length"||u>=i)&&a.push(l)});else switch(n!==void 0&&a.push(s.get(n)),t){case"add":Q(e)?yo(n)&&a.push(s.get("length")):(a.push(s.get(jt)),nn(e)&&a.push(s.get(Xi)));break;case"delete":Q(e)||(a.push(s.get(jt)),nn(e)&&a.push(s.get(Xi)));break;case"set":nn(e)&&a.push(s.get(jt));break}if(a.length===1)a[0]&&Qi(a[0]);else{const l=[];for(const u of a)u&&l.push(...u);Qi(wo(l))}}function Qi(e,t){for(const n of Q(e)?e:[...e])(n!==et||n.allowRecurse)&&(n.scheduler?n.scheduler():n.run())}const tl=vo("__proto__,__v_isRef,__isVue"),cs=new Set(Object.getOwnPropertyNames(Symbol).map(e=>Symbol[e]).filter(bo)),nl=Co(),il=Co(!1,!0),ol=Co(!0),Xo=rl();function rl(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const i=fe(this);for(let r=0,s=this.length;r{e[t]=function(...n){hn();const i=fe(this)[t].apply(this,n);return mn(),i}}),e}function Co(e=!1,t=!1){return function(i,o,r){if(o==="__v_isReactive")return!e;if(o==="__v_isReadonly")return e;if(o==="__v_isShallow")return t;if(o==="__v_raw"&&r===(e?t?wl:hs:t?ds:ps).get(i))return i;const s=Q(i);if(!e&&s&&ue(Xo,o))return Reflect.get(Xo,o,r);const a=Reflect.get(i,o,r);return(bo(o)?cs.has(o):tl(o))||(e||ze(i,"get",o),t)?a:Me(a)?!s||!yo(o)?a.value:a:Oe(a)?e?ms(a):$n(a):a}}const sl=us(),al=us(!0);function us(e=!1){return function(n,i,o,r){let s=n[i];if(Mn(s)&&Me(s)&&!Me(o))return!1;if(!e&&!Mn(o)&&(vs(o)||(o=fe(o),s=fe(s)),!Q(n)&&Me(s)&&!Me(o)))return s.value=o,!0;const a=Q(n)&&yo(i)?Number(i)e,Ci=e=>Reflect.getPrototypeOf(e);function zn(e,t,n=!1,i=!1){e=e.__v_raw;const o=fe(e),r=fe(t);t!==r&&!n&&ze(o,"get",t),!n&&ze(o,"get",r);const{has:s}=Ci(o),a=i?Eo:n?Ao:Ln;if(s.call(o,t))return a(e.get(t));if(s.call(o,r))return a(e.get(r));e!==o&&e.get(t)}function Kn(e,t=!1){const n=this.__v_raw,i=fe(n),o=fe(e);return e!==o&&!t&&ze(i,"has",e),!t&&ze(i,"has",o),e===o?n.has(e):n.has(e)||n.has(o)}function Yn(e,t=!1){return e=e.__v_raw,!t&&ze(fe(e),"iterate",jt),Reflect.get(e,"size",e)}function Qo(e){e=fe(e);const t=fe(this);return Ci(t).has.call(t,e)||(t.add(e),vt(t,"add",e,e)),this}function Jo(e,t){t=fe(t);const n=fe(this),{has:i,get:o}=Ci(n);let r=i.call(n,e);r||(e=fe(e),r=i.call(n,e));const s=o.call(n,e);return n.set(e,t),r?Pn(t,s)&&vt(n,"set",e,t):vt(n,"add",e,t),this}function Zo(e){const t=fe(this),{has:n,get:i}=Ci(t);let o=n.call(t,e);o||(e=fe(e),o=n.call(t,e)),i&&i.call(t,e);const r=t.delete(e);return o&&vt(t,"delete",e,void 0),r}function Go(){const e=fe(this),t=e.size!==0,n=e.clear();return t&&vt(e,"clear",void 0,void 0),n}function Xn(e,t){return function(i,o){const r=this,s=r.__v_raw,a=fe(s),l=t?Eo:e?Ao:Ln;return!e&&ze(a,"iterate",jt),s.forEach((u,c)=>i.call(o,l(u),l(c),r))}}function Qn(e,t,n){return function(...i){const o=this.__v_raw,r=fe(o),s=nn(r),a=e==="entries"||e===Symbol.iterator&&s,l=e==="keys"&&s,u=o[e](...i),c=n?Eo:t?Ao:Ln;return!t&&ze(r,"iterate",l?Xi:jt),{next(){const{value:h,done:m}=u.next();return m?{value:h,done:m}:{value:a?[c(h[0]),c(h[1])]:c(h),done:m}},[Symbol.iterator](){return this}}}}function yt(e){return function(...t){return e==="delete"?!1:this}}function dl(){const e={get(r){return zn(this,r)},get size(){return Yn(this)},has:Kn,add:Qo,set:Jo,delete:Zo,clear:Go,forEach:Xn(!1,!1)},t={get(r){return zn(this,r,!1,!0)},get size(){return Yn(this)},has:Kn,add:Qo,set:Jo,delete:Zo,clear:Go,forEach:Xn(!1,!0)},n={get(r){return zn(this,r,!0)},get size(){return Yn(this,!0)},has(r){return Kn.call(this,r,!0)},add:yt("add"),set:yt("set"),delete:yt("delete"),clear:yt("clear"),forEach:Xn(!0,!1)},i={get(r){return zn(this,r,!0,!0)},get size(){return Yn(this,!0)},has(r){return Kn.call(this,r,!0)},add:yt("add"),set:yt("set"),delete:yt("delete"),clear:yt("clear"),forEach:Xn(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(r=>{e[r]=Qn(r,!1,!1),n[r]=Qn(r,!0,!1),t[r]=Qn(r,!1,!0),i[r]=Qn(r,!0,!0)}),[e,n,t,i]}const[hl,ml,vl,gl]=dl();function Oo(e,t){const n=t?e?gl:vl:e?ml:hl;return(i,o,r)=>o==="__v_isReactive"?!e:o==="__v_isReadonly"?e:o==="__v_raw"?i:Reflect.get(ue(n,o)&&o in i?n:i,o,r)}const _l={get:Oo(!1,!1)},bl={get:Oo(!1,!0)},yl={get:Oo(!0,!1)},ps=new WeakMap,ds=new WeakMap,hs=new WeakMap,wl=new WeakMap;function xl(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Cl(e){return e.__v_skip||!Object.isExtensible(e)?0:xl(za(e))}function $n(e){return Mn(e)?e:ko(e,!1,fs,_l,ps)}function El(e){return ko(e,!1,pl,bl,ds)}function ms(e){return ko(e,!0,fl,yl,hs)}function ko(e,t,n,i,o){if(!Oe(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const r=o.get(e);if(r)return r;const s=Cl(e);if(s===0)return e;const a=new Proxy(e,s===2?i:n);return o.set(e,a),a}function on(e){return Mn(e)?on(e.__v_raw):!!(e&&e.__v_isReactive)}function Mn(e){return!!(e&&e.__v_isReadonly)}function vs(e){return!!(e&&e.__v_isShallow)}function gs(e){return on(e)||Mn(e)}function fe(e){const t=e&&e.__v_raw;return t?fe(t):e}function _s(e){return si(e,"__v_skip",!0),e}const Ln=e=>Oe(e)?$n(e):e,Ao=e=>Oe(e)?ms(e):e;function bs(e){kt&&et&&(e=fe(e),ls(e.dep||(e.dep=wo())))}function ys(e,t){e=fe(e),e.dep&&Qi(e.dep)}function Me(e){return!!(e&&e.__v_isRef===!0)}function Ol(e){return ws(e,!1)}function kl(e){return ws(e,!0)}function ws(e,t){return Me(e)?e:new Al(e,t)}class Al{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:fe(t),this._value=n?t:Ln(t)}get value(){return bs(this),this._value}set value(t){t=this.__v_isShallow?t:fe(t),Pn(t,this._rawValue)&&(this._rawValue=t,this._value=this.__v_isShallow?t:Ln(t),ys(this))}}function xn(e){return Me(e)?e.value:e}const Tl={get:(e,t,n)=>xn(Reflect.get(e,t,n)),set:(e,t,n,i)=>{const o=e[t];return Me(o)&&!Me(n)?(o.value=n,!0):Reflect.set(e,t,n,i)}};function xs(e){return on(e)?e:new Proxy(e,Tl)}class Rl{constructor(t,n,i,o){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this._dirty=!0,this.effect=new xo(t,()=>{this._dirty||(this._dirty=!0,ys(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!o,this.__v_isReadonly=i}get value(){const t=fe(this);return bs(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}function Il(e,t,n=!1){let i,o;const r=ne(e);return r?(i=e,o=nt):(i=e.get,o=e.set),new Rl(i,o,r||!o,n)}function At(e,t,n,i){let o;try{o=i?e(...i):e()}catch(r){Ei(r,t,n)}return o}function Xe(e,t,n,i){if(ne(e)){const r=At(e,t,n,i);return r&&ns(r)&&r.catch(s=>{Ei(s,t,n)}),r}const o=[];for(let r=0;r>>1;Sn(We[i])ht&&We.splice(t,1)}function As(e,t,n,i){Q(e)?n.push(...e):(!t||!t.includes(e,e.allowRecurse?i+1:i))&&n.push(e),ks()}function Sl(e){As(e,yn,Cn,Qt)}function Bl(e){As(e,Ct,En,Jt)}function Ro(e,t=null){if(Cn.length){for(Zi=t,yn=[...new Set(Cn)],Cn.length=0,Qt=0;QtSn(n)-Sn(i)),Jt=0;Jte.id==null?1/0:e.id;function Rs(e){Ji=!1,ai=!0,Ro(e),We.sort((n,i)=>Sn(n)-Sn(i));const t=nt;try{for(ht=0;htg.trim()):h&&(o=n.map(Xa))}let a,l=i[a=Bi(t)]||i[a=Bi(ut(t))];!l&&r&&(l=i[a=Bi(zt(t))]),l&&Xe(l,e,6,o);const u=i[a+"Once"];if(u){if(!e.emitted)e.emitted={};else if(e.emitted[a])return;e.emitted[a]=!0,Xe(u,e,6,o)}}function Is(e,t,n=!1){const i=t.emitsCache,o=i.get(e);if(o!==void 0)return o;const r=e.emits;let s={},a=!1;if(!ne(e)){const l=u=>{const c=Is(u,t,!0);c&&(a=!0,Le(s,c))};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!r&&!a?(i.set(e,null),null):(Q(r)?r.forEach(l=>s[l]=null):Le(s,r),i.set(e,s),s)}function Oi(e,t){return!e||!bi(t)?!1:(t=t.slice(2).replace(/Once$/,""),ue(e,t[0].toLowerCase()+t.slice(1))||ue(e,zt(t))||ue(e,t))}let De=null,Ps=null;function li(e){const t=De;return De=e,Ps=e&&e.type.__scopeId||null,t}function ft(e,t=De,n){if(!t||e._n)return e;const i=(...o)=>{i._d&&ur(-1);const r=li(t),s=e(...o);return li(r),i._d&&ur(1),s};return i._n=!0,i._c=!0,i._d=!0,i}function Ni(e){const{type:t,vnode:n,proxy:i,withProxy:o,props:r,propsOptions:[s],slots:a,attrs:l,emit:u,render:c,renderCache:h,data:m,setupState:g,ctx:x,inheritAttrs:k}=e;let E,T;const L=li(e);try{if(n.shapeFlag&4){const p=o||i;E=st(c.call(p,p,h,r,g,m,x)),T=l}else{const p=t;E=st(p.length>1?p(r,{attrs:l,slots:a,emit:u}):p(r,null)),T=t.props?l:Nl(l)}}catch(p){On.length=0,Ei(p,e,1),E=Ce(Qe)}let F=E;if(T&&k!==!1){const p=Object.keys(T),{shapeFlag:W}=F;p.length&&W&7&&(s&&p.some(go)&&(T=Hl(T,s)),F=Wt(F,T))}return n.dirs&&(F.dirs=F.dirs?F.dirs.concat(n.dirs):n.dirs),n.transition&&(F.transition=n.transition),E=F,li(L),E}const Nl=e=>{let t;for(const n in e)(n==="class"||n==="style"||bi(n))&&((t||(t={}))[n]=e[n]);return t},Hl=(e,t)=>{const n={};for(const i in e)(!go(i)||!(i.slice(9)in t))&&(n[i]=e[i]);return n};function $l(e,t,n){const{props:i,children:o,component:r}=e,{props:s,children:a,patchFlag:l}=t,u=r.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return i?er(i,s,u):!!s;if(l&8){const c=t.dynamicProps;for(let h=0;he.__isSuspense;function Vl(e,t){t&&t.pendingBranch?Q(e)?t.effects.push(...e):t.effects.push(e):Bl(e)}function ei(e,t){if(Re){let n=Re.provides;const i=Re.parent&&Re.parent.provides;i===n&&(n=Re.provides=Object.create(i)),n[e]=t}}function Tt(e,t,n=!1){const i=Re||De;if(i){const o=i.parent==null?i.vnode.appContext&&i.vnode.appContext.provides:i.parent.provides;if(o&&e in o)return o[e];if(arguments.length>1)return n&&ne(t)?t.call(i.proxy):t}}const tr={};function ti(e,t,n){return Ms(e,t,n)}function Ms(e,t,{immediate:n,deep:i,flush:o,onTrack:r,onTrigger:s}=ge){const a=Re;let l,u=!1,c=!1;if(Me(e)?(l=()=>e.value,u=vs(e)):on(e)?(l=()=>e,i=!0):Q(e)?(c=!0,u=e.some(on),l=()=>e.map(T=>{if(Me(T))return T.value;if(on(T))return en(T);if(ne(T))return At(T,a,2)})):ne(e)?t?l=()=>At(e,a,2):l=()=>{if(!(a&&a.isUnmounted))return h&&h(),Xe(e,a,3,[m])}:l=nt,t&&i){const T=l;l=()=>en(T())}let h,m=T=>{h=E.onStop=()=>{At(T,a,4)}};if(Bn)return m=nt,t?n&&Xe(t,a,3,[l(),c?[]:void 0,m]):l(),nt;let g=c?[]:tr;const x=()=>{if(!!E.active)if(t){const T=E.run();(i||u||(c?T.some((L,F)=>Pn(L,g[F])):Pn(T,g)))&&(h&&h(),Xe(t,a,3,[T,g===tr?void 0:g,m]),g=T)}else E.run()};x.allowRecurse=!!t;let k;o==="sync"?k=x:o==="post"?k=()=>Ne(x,a&&a.suspense):k=()=>{!a||a.isMounted?Sl(x):x()};const E=new xo(l,k);return t?n?x():g=E.run():o==="post"?Ne(E.run.bind(E),a&&a.suspense):E.run(),()=>{E.stop(),a&&a.scope&&_o(a.scope.effects,E)}}function Ul(e,t,n){const i=this.proxy,o=Ee(e)?e.includes(".")?Ls(i,e):()=>i[e]:e.bind(i,i);let r;ne(t)?r=t:(r=t.handler,n=t);const s=Re;sn(this);const a=Ms(o,r.bind(i),n);return s?sn(s):Vt(),a}function Ls(e,t){const n=t.split(".");return()=>{let i=e;for(let o=0;o{en(n,t)});else if(os(e))for(const n in e)en(e[n],t);return e}function Wl(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Hs(()=>{e.isMounted=!0}),$s(()=>{e.isUnmounting=!0}),e}const Ye=[Function,Array],ql={name:"BaseTransition",props:{mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Ye,onEnter:Ye,onAfterEnter:Ye,onEnterCancelled:Ye,onBeforeLeave:Ye,onLeave:Ye,onAfterLeave:Ye,onLeaveCancelled:Ye,onBeforeAppear:Ye,onAppear:Ye,onAfterAppear:Ye,onAppearCancelled:Ye},setup(e,{slots:t}){const n=Rc(),i=Wl();let o;return()=>{const r=t.default&&Bs(t.default(),!0);if(!r||!r.length)return;let s=r[0];if(r.length>1){for(const k of r)if(k.type!==Qe){s=k;break}}const a=fe(e),{mode:l}=a;if(i.isLeaving)return Hi(s);const u=nr(s);if(!u)return Hi(s);const c=Gi(u,a,i,n);eo(u,c);const h=n.subTree,m=h&&nr(h);let g=!1;const{getTransitionKey:x}=u.type;if(x){const k=x();o===void 0?o=k:k!==o&&(o=k,g=!0)}if(m&&m.type!==Qe&&(!Nt(u,m)||g)){const k=Gi(m,a,i,n);if(eo(m,k),l==="out-in")return i.isLeaving=!0,k.afterLeave=()=>{i.isLeaving=!1,n.update()},Hi(s);l==="in-out"&&u.type!==Qe&&(k.delayLeave=(E,T,L)=>{const F=Ss(i,m);F[String(m.key)]=m,E._leaveCb=()=>{T(),E._leaveCb=void 0,delete c.delayedLeave},c.delayedLeave=L})}return s}}},zl=ql;function Ss(e,t){const{leavingVNodes:n}=e;let i=n.get(t.type);return i||(i=Object.create(null),n.set(t.type,i)),i}function Gi(e,t,n,i){const{appear:o,mode:r,persisted:s=!1,onBeforeEnter:a,onEnter:l,onAfterEnter:u,onEnterCancelled:c,onBeforeLeave:h,onLeave:m,onAfterLeave:g,onLeaveCancelled:x,onBeforeAppear:k,onAppear:E,onAfterAppear:T,onAppearCancelled:L}=t,F=String(e.key),p=Ss(n,e),W=(H,J)=>{H&&Xe(H,i,9,J)},P={mode:r,persisted:s,beforeEnter(H){let J=a;if(!n.isMounted)if(o)J=k||a;else return;H._leaveCb&&H._leaveCb(!0);const Z=p[F];Z&&Nt(e,Z)&&Z.el._leaveCb&&Z.el._leaveCb(),W(J,[H])},enter(H){let J=l,Z=u,ae=c;if(!n.isMounted)if(o)J=E||l,Z=T||u,ae=L||c;else return;let oe=!1;const ee=H._enterCb=pe=>{oe||(oe=!0,pe?W(ae,[H]):W(Z,[H]),P.delayedLeave&&P.delayedLeave(),H._enterCb=void 0)};J?(J(H,ee),J.length<=1&&ee()):ee()},leave(H,J){const Z=String(e.key);if(H._enterCb&&H._enterCb(!0),n.isUnmounting)return J();W(h,[H]);let ae=!1;const oe=H._leaveCb=ee=>{ae||(ae=!0,J(),ee?W(x,[H]):W(g,[H]),H._leaveCb=void 0,p[Z]===e&&delete p[Z])};p[Z]=e,m?(m(H,oe),m.length<=1&&oe()):oe()},clone(H){return Gi(H,t,n,i)}};return P}function Hi(e){if(ki(e))return e=Wt(e),e.children=null,e}function nr(e){return ki(e)?e.children?e.children[0]:void 0:e}function eo(e,t){e.shapeFlag&6&&e.component?eo(e.component.subTree,t):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function Bs(e,t=!1,n){let i=[],o=0;for(let r=0;r1)for(let r=0;r!!e.type.__asyncLoader,ki=e=>e.type.__isKeepAlive;function Kl(e,t){Ns(e,"a",t)}function Yl(e,t){Ns(e,"da",t)}function Ns(e,t,n=Re){const i=e.__wdc||(e.__wdc=()=>{let o=n;for(;o;){if(o.isDeactivated)return;o=o.parent}return e()});if(Ai(t,i,n),n){let o=n.parent;for(;o&&o.parent;)ki(o.parent.vnode)&&Xl(i,t,n,o),o=o.parent}}function Xl(e,t,n,i){const o=Ai(t,e,i,!0);js(()=>{_o(i[t],o)},n)}function Ai(e,t,n=Re,i=!1){if(n){const o=n[e]||(n[e]=[]),r=t.__weh||(t.__weh=(...s)=>{if(n.isUnmounted)return;hn(),sn(n);const a=Xe(t,n,e,s);return Vt(),mn(),a});return i?o.unshift(r):o.push(r),r}}const _t=e=>(t,n=Re)=>(!Bn||e==="sp")&&Ai(e,t,n),Ql=_t("bm"),Hs=_t("m"),Jl=_t("bu"),Zl=_t("u"),$s=_t("bum"),js=_t("um"),Gl=_t("sp"),ec=_t("rtg"),tc=_t("rtc");function nc(e,t=Re){Ai("ec",e,t)}let to=!0;function ic(e){const t=Vs(e),n=e.proxy,i=e.ctx;to=!1,t.beforeCreate&&ir(t.beforeCreate,e,"bc");const{data:o,computed:r,methods:s,watch:a,provide:l,inject:u,created:c,beforeMount:h,mounted:m,beforeUpdate:g,updated:x,activated:k,deactivated:E,beforeDestroy:T,beforeUnmount:L,destroyed:F,unmounted:p,render:W,renderTracked:P,renderTriggered:H,errorCaptured:J,serverPrefetch:Z,expose:ae,inheritAttrs:oe,components:ee,directives:pe,filters:ke}=t;if(u&&oc(u,i,null,e.appContext.config.unwrapInjectedRef),s)for(const X in s){const z=s[X];ne(z)&&(i[X]=z.bind(n))}if(o){const X=o.call(n,n);Oe(X)&&(e.data=$n(X))}if(to=!0,r)for(const X in r){const z=r[X],_e=ne(z)?z.bind(n,n):ne(z.get)?z.get.bind(n,n):nt,Ie=!ne(z)&&ne(z.set)?z.set.bind(n):nt,Pe=lt({get:_e,set:Ie});Object.defineProperty(i,X,{enumerable:!0,configurable:!0,get:()=>Pe.value,set:we=>Pe.value=we})}if(a)for(const X in a)Fs(a[X],i,n,X);if(l){const X=ne(l)?l.call(n):l;Reflect.ownKeys(X).forEach(z=>{ei(z,X[z])})}c&&ir(c,e,"c");function re(X,z){Q(z)?z.forEach(_e=>X(_e.bind(n))):z&&X(z.bind(n))}if(re(Ql,h),re(Hs,m),re(Jl,g),re(Zl,x),re(Kl,k),re(Yl,E),re(nc,J),re(tc,P),re(ec,H),re($s,L),re(js,p),re(Gl,Z),Q(ae))if(ae.length){const X=e.exposed||(e.exposed={});ae.forEach(z=>{Object.defineProperty(X,z,{get:()=>n[z],set:_e=>n[z]=_e})})}else e.exposed||(e.exposed={});W&&e.render===nt&&(e.render=W),oe!=null&&(e.inheritAttrs=oe),ee&&(e.components=ee),pe&&(e.directives=pe)}function oc(e,t,n=nt,i=!1){Q(e)&&(e=no(e));for(const o in e){const r=e[o];let s;Oe(r)?"default"in r?s=Tt(r.from||o,r.default,!0):s=Tt(r.from||o):s=Tt(r),Me(s)&&i?Object.defineProperty(t,o,{enumerable:!0,configurable:!0,get:()=>s.value,set:a=>s.value=a}):t[o]=s}}function ir(e,t,n){Xe(Q(e)?e.map(i=>i.bind(t.proxy)):e.bind(t.proxy),t,n)}function Fs(e,t,n,i){const o=i.includes(".")?Ls(n,i):()=>n[i];if(Ee(e)){const r=t[e];ne(r)&&ti(o,r)}else if(ne(e))ti(o,e.bind(n));else if(Oe(e))if(Q(e))e.forEach(r=>Fs(r,t,n,i));else{const r=ne(e.handler)?e.handler.bind(n):t[e.handler];ne(r)&&ti(o,r,e)}}function Vs(e){const t=e.type,{mixins:n,extends:i}=t,{mixins:o,optionsCache:r,config:{optionMergeStrategies:s}}=e.appContext,a=r.get(t);let l;return a?l=a:!o.length&&!n&&!i?l=t:(l={},o.length&&o.forEach(u=>ui(l,u,s,!0)),ui(l,t,s)),r.set(t,l),l}function ui(e,t,n,i=!1){const{mixins:o,extends:r}=t;r&&ui(e,r,n,!0),o&&o.forEach(s=>ui(e,s,n,!0));for(const s in t)if(!(i&&s==="expose")){const a=rc[s]||n&&n[s];e[s]=a?a(e[s],t[s]):t[s]}return e}const rc={data:or,props:Bt,emits:Bt,methods:Bt,computed:Bt,beforeCreate:Be,created:Be,beforeMount:Be,mounted:Be,beforeUpdate:Be,updated:Be,beforeDestroy:Be,beforeUnmount:Be,destroyed:Be,unmounted:Be,activated:Be,deactivated:Be,errorCaptured:Be,serverPrefetch:Be,components:Bt,directives:Bt,watch:ac,provide:or,inject:sc};function or(e,t){return t?e?function(){return Le(ne(e)?e.call(this,this):e,ne(t)?t.call(this,this):t)}:t:e}function sc(e,t){return Bt(no(e),no(t))}function no(e){if(Q(e)){const t={};for(let n=0;n0)&&!(s&16)){if(s&8){const c=e.vnode.dynamicProps;for(let h=0;h{l=!0;const[m,g]=Ws(h,t,!0);Le(s,m),g&&a.push(...g)};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}if(!r&&!l)return i.set(e,tn),tn;if(Q(r))for(let c=0;c-1,g[1]=k<0||x-1||ue(g,"default"))&&a.push(h)}}}const u=[s,a];return i.set(e,u),u}function rr(e){return e[0]!=="$"}function sr(e){const t=e&&e.toString().match(/^\s*function (\w+)/);return t?t[1]:e===null?"null":""}function ar(e,t){return sr(e)===sr(t)}function lr(e,t){return Q(t)?t.findIndex(n=>ar(n,e)):ne(t)&&ar(t,e)?0:-1}const qs=e=>e[0]==="_"||e==="$stable",Io=e=>Q(e)?e.map(st):[st(e)],uc=(e,t,n)=>{const i=ft((...o)=>Io(t(...o)),n);return i._c=!1,i},zs=(e,t,n)=>{const i=e._ctx;for(const o in e){if(qs(o))continue;const r=e[o];if(ne(r))t[o]=uc(o,r,i);else if(r!=null){const s=Io(r);t[o]=()=>s}}},Ks=(e,t)=>{const n=Io(t);e.slots.default=()=>n},fc=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=fe(t),si(t,"_",n)):zs(t,e.slots={})}else e.slots={},t&&Ks(e,t);si(e.slots,Ti,1)},pc=(e,t,n)=>{const{vnode:i,slots:o}=e;let r=!0,s=ge;if(i.shapeFlag&32){const a=t._;a?n&&a===1?r=!1:(Le(o,t),!n&&a===1&&delete o._):(r=!t.$stable,zs(t,o)),s=t}else t&&(Ks(e,t),s={default:1});if(r)for(const a in o)!qs(a)&&!(a in s)&&delete o[a]};function Lt(e,t,n,i){const o=e.dirs,r=t&&t.dirs;for(let s=0;soo(m,t&&(Q(t)?t[g]:t),n,i,o));return}if(ci(i)&&!o)return;const r=i.shapeFlag&4?Lo(i.component)||i.component.proxy:i.el,s=o?null:r,{i:a,r:l}=e,u=t&&t.r,c=a.refs===ge?a.refs={}:a.refs,h=a.setupState;if(u!=null&&u!==l&&(Ee(u)?(c[u]=null,ue(h,u)&&(h[u]=null)):Me(u)&&(u.value=null)),ne(l))At(l,a,12,[s,c]);else{const m=Ee(l),g=Me(l);if(m||g){const x=()=>{if(e.f){const k=m?c[l]:l.value;o?Q(k)&&_o(k,r):Q(k)?k.includes(r)||k.push(r):m?(c[l]=[r],ue(h,l)&&(h[l]=c[l])):(l.value=[r],e.k&&(c[e.k]=l.value))}else m?(c[l]=s,ue(h,l)&&(h[l]=s)):Me(l)&&(l.value=s,e.k&&(c[e.k]=s))};s?(x.id=-1,Ne(x,n)):x()}}}const Ne=Vl;function mc(e){return vc(e)}function vc(e,t){const n=Qa();n.__VUE__=!0;const{insert:i,remove:o,patchProp:r,createElement:s,createText:a,createComment:l,setText:u,setElementText:c,parentNode:h,nextSibling:m,setScopeId:g=nt,cloneNode:x,insertStaticContent:k}=e,E=(f,d,v,w=null,y=null,R=null,M=!1,O=null,A=!!d.dynamicChildren)=>{if(f===d)return;f&&!Nt(f,d)&&(w=D(f),xe(f,y,R,!0),f=null),d.patchFlag===-2&&(A=!1,d.dynamicChildren=null);const{type:C,ref:$,shapeFlag:B}=d;switch(C){case Po:T(f,d,v,w);break;case Qe:L(f,d,v,w);break;case ni:f==null&&F(d,v,w,M);break;case Te:pe(f,d,v,w,y,R,M,O,A);break;default:B&1?P(f,d,v,w,y,R,M,O,A):B&6?ke(f,d,v,w,y,R,M,O,A):(B&64||B&128)&&C.process(f,d,v,w,y,R,M,O,A,le)}$!=null&&y&&oo($,f&&f.ref,R,d||f,!d)},T=(f,d,v,w)=>{if(f==null)i(d.el=a(d.children),v,w);else{const y=d.el=f.el;d.children!==f.children&&u(y,d.children)}},L=(f,d,v,w)=>{f==null?i(d.el=l(d.children||""),v,w):d.el=f.el},F=(f,d,v,w)=>{[f.el,f.anchor]=k(f.children,d,v,w,f.el,f.anchor)},p=({el:f,anchor:d},v,w)=>{let y;for(;f&&f!==d;)y=m(f),i(f,v,w),f=y;i(d,v,w)},W=({el:f,anchor:d})=>{let v;for(;f&&f!==d;)v=m(f),o(f),f=v;o(d)},P=(f,d,v,w,y,R,M,O,A)=>{M=M||d.type==="svg",f==null?H(d,v,w,y,R,M,O,A):ae(f,d,y,R,M,O,A)},H=(f,d,v,w,y,R,M,O)=>{let A,C;const{type:$,props:B,shapeFlag:V,transition:q,patchFlag:ie,dirs:de}=f;if(f.el&&x!==void 0&&ie===-1)A=f.el=x(f.el);else{if(A=f.el=s(f.type,R,B&&B.is,B),V&8?c(A,f.children):V&16&&Z(f.children,A,null,w,y,R&&$!=="foreignObject",M,O),de&&Lt(f,null,w,"created"),B){for(const me in B)me!=="value"&&!Gn(me)&&r(A,me,null,B[me],R,f.children,w,y,I);"value"in B&&r(A,"value",null,B.value),(C=B.onVnodeBeforeMount)&&ot(C,w,f)}J(A,f,f.scopeId,M,w)}de&&Lt(f,null,w,"beforeMount");const he=(!y||y&&!y.pendingBranch)&&q&&!q.persisted;he&&q.beforeEnter(A),i(A,d,v),((C=B&&B.onVnodeMounted)||he||de)&&Ne(()=>{C&&ot(C,w,f),he&&q.enter(A),de&&Lt(f,null,w,"mounted")},y)},J=(f,d,v,w,y)=>{if(v&&g(f,v),w)for(let R=0;R{for(let C=A;C{const O=d.el=f.el;let{patchFlag:A,dynamicChildren:C,dirs:$}=d;A|=f.patchFlag&16;const B=f.props||ge,V=d.props||ge;let q;v&&St(v,!1),(q=V.onVnodeBeforeUpdate)&&ot(q,v,d,f),$&&Lt(d,f,v,"beforeUpdate"),v&&St(v,!0);const ie=y&&d.type!=="foreignObject";if(C?oe(f.dynamicChildren,C,O,v,w,ie,R):M||_e(f,d,O,null,v,w,ie,R,!1),A>0){if(A&16)ee(O,d,B,V,v,w,y);else if(A&2&&B.class!==V.class&&r(O,"class",null,V.class,y),A&4&&r(O,"style",B.style,V.style,y),A&8){const de=d.dynamicProps;for(let he=0;he{q&&ot(q,v,d,f),$&&Lt(d,f,v,"updated")},w)},oe=(f,d,v,w,y,R,M)=>{for(let O=0;O{if(v!==w){for(const O in w){if(Gn(O))continue;const A=w[O],C=v[O];A!==C&&O!=="value"&&r(f,O,C,A,M,d.children,y,R,I)}if(v!==ge)for(const O in v)!Gn(O)&&!(O in w)&&r(f,O,v[O],null,M,d.children,y,R,I);"value"in w&&r(f,"value",v.value,w.value)}},pe=(f,d,v,w,y,R,M,O,A)=>{const C=d.el=f?f.el:a(""),$=d.anchor=f?f.anchor:a("");let{patchFlag:B,dynamicChildren:V,slotScopeIds:q}=d;q&&(O=O?O.concat(q):q),f==null?(i(C,v,w),i($,v,w),Z(d.children,v,$,y,R,M,O,A)):B>0&&B&64&&V&&f.dynamicChildren?(oe(f.dynamicChildren,V,v,y,R,M,O),(d.key!=null||y&&d===y.subTree)&&Xs(f,d,!0)):_e(f,d,v,$,y,R,M,O,A)},ke=(f,d,v,w,y,R,M,O,A)=>{d.slotScopeIds=O,f==null?d.shapeFlag&512?y.ctx.activate(d,v,w,M,A):Ae(d,v,w,y,R,M,A):re(f,d,A)},Ae=(f,d,v,w,y,R,M)=>{const O=f.component=Tc(f,w,y);if(ki(f)&&(O.ctx.renderer=le),Ic(O),O.asyncDep){if(y&&y.registerDep(O,X),!f.el){const A=O.subTree=Ce(Qe);L(null,A,d,v)}return}X(O,f,d,v,y,R,M)},re=(f,d,v)=>{const w=d.component=f.component;if($l(f,d,v))if(w.asyncDep&&!w.asyncResolved){z(w,d,v);return}else w.next=d,Ll(w.update),w.update();else d.component=f.component,d.el=f.el,w.vnode=d},X=(f,d,v,w,y,R,M)=>{const O=()=>{if(f.isMounted){let{next:$,bu:B,u:V,parent:q,vnode:ie}=f,de=$,he;St(f,!1),$?($.el=ie.el,z(f,$,M)):$=ie,B&&Di(B),(he=$.props&&$.props.onVnodeBeforeUpdate)&&ot(he,q,$,ie),St(f,!0);const me=Ni(f),Ve=f.subTree;f.subTree=me,E(Ve,me,h(Ve.el),D(Ve),f,y,R),$.el=me.el,de===null&&jl(f,me.el),V&&Ne(V,y),(he=$.props&&$.props.onVnodeUpdated)&&Ne(()=>ot(he,q,$,ie),y)}else{let $;const{el:B,props:V}=d,{bm:q,m:ie,parent:de}=f,he=ci(d);if(St(f,!1),q&&Di(q),!he&&($=V&&V.onVnodeBeforeMount)&&ot($,de,d),St(f,!0),B&&K){const me=()=>{f.subTree=Ni(f),K(B,f.subTree,f,y,null)};he?d.type.__asyncLoader().then(()=>!f.isUnmounted&&me()):me()}else{const me=f.subTree=Ni(f);E(null,me,v,w,f,y,R),d.el=me.el}if(ie&&Ne(ie,y),!he&&($=V&&V.onVnodeMounted)){const me=d;Ne(()=>ot($,de,me),y)}d.shapeFlag&256&&f.a&&Ne(f.a,y),f.isMounted=!0,d=v=w=null}},A=f.effect=new xo(O,()=>Os(f.update),f.scope),C=f.update=A.run.bind(A);C.id=f.uid,St(f,!0),C()},z=(f,d,v)=>{d.component=f;const w=f.vnode.props;f.vnode=d,f.next=null,cc(f,d.props,w,v),pc(f,d.children,v),hn(),Ro(void 0,f.update),mn()},_e=(f,d,v,w,y,R,M,O,A=!1)=>{const C=f&&f.children,$=f?f.shapeFlag:0,B=d.children,{patchFlag:V,shapeFlag:q}=d;if(V>0){if(V&128){Pe(C,B,v,w,y,R,M,O,A);return}else if(V&256){Ie(C,B,v,w,y,R,M,O,A);return}}q&8?($&16&&I(C,y,R),B!==C&&c(v,B)):$&16?q&16?Pe(C,B,v,w,y,R,M,O,A):I(C,y,R,!0):($&8&&c(v,""),q&16&&Z(B,v,w,y,R,M,O,A))},Ie=(f,d,v,w,y,R,M,O,A)=>{f=f||tn,d=d||tn;const C=f.length,$=d.length,B=Math.min(C,$);let V;for(V=0;V$?I(f,y,R,!0,!1,B):Z(d,v,w,y,R,M,O,A,B)},Pe=(f,d,v,w,y,R,M,O,A)=>{let C=0;const $=d.length;let B=f.length-1,V=$-1;for(;C<=B&&C<=V;){const q=f[C],ie=d[C]=A?Et(d[C]):st(d[C]);if(Nt(q,ie))E(q,ie,v,null,y,R,M,O,A);else break;C++}for(;C<=B&&C<=V;){const q=f[B],ie=d[V]=A?Et(d[V]):st(d[V]);if(Nt(q,ie))E(q,ie,v,null,y,R,M,O,A);else break;B--,V--}if(C>B){if(C<=V){const q=V+1,ie=q<$?d[q].el:w;for(;C<=V;)E(null,d[C]=A?Et(d[C]):st(d[C]),v,ie,y,R,M,O,A),C++}}else if(C>V)for(;C<=B;)xe(f[C],y,R,!0),C++;else{const q=C,ie=C,de=new Map;for(C=ie;C<=V;C++){const j=d[C]=A?Et(d[C]):st(d[C]);j.key!=null&&de.set(j.key,C)}let he,me=0;const Ve=V-ie+1;let bt=!1,Un=0;const _=new Array(Ve);for(C=0;C=Ve){xe(j,y,R,!0);continue}let te;if(j.key!=null)te=de.get(j.key);else for(he=ie;he<=V;he++)if(_[he-ie]===0&&Nt(j,d[he])){te=he;break}te===void 0?xe(j,y,R,!0):(_[te-ie]=C+1,te>=Un?Un=te:bt=!0,E(j,d[te],v,null,y,R,M,O,A),me++)}const N=bt?gc(_):tn;for(he=N.length-1,C=Ve-1;C>=0;C--){const j=ie+C,te=d[j],se=j+1<$?d[j+1].el:w;_[C]===0?E(null,te,v,se,y,R,M,O,A):bt&&(he<0||C!==N[he]?we(te,v,se,2):he--)}}},we=(f,d,v,w,y=null)=>{const{el:R,type:M,transition:O,children:A,shapeFlag:C}=f;if(C&6){we(f.component.subTree,d,v,w);return}if(C&128){f.suspense.move(d,v,w);return}if(C&64){M.move(f,d,v,le);return}if(M===Te){i(R,d,v);for(let B=0;BO.enter(R),y);else{const{leave:B,delayLeave:V,afterLeave:q}=O,ie=()=>i(R,d,v),de=()=>{B(R,()=>{ie(),q&&q()})};V?V(R,ie,de):de()}else i(R,d,v)},xe=(f,d,v,w=!1,y=!1)=>{const{type:R,props:M,ref:O,children:A,dynamicChildren:C,shapeFlag:$,patchFlag:B,dirs:V}=f;if(O!=null&&oo(O,null,v,f,!0),$&256){d.ctx.deactivate(f);return}const q=$&1&&V,ie=!ci(f);let de;if(ie&&(de=M&&M.onVnodeBeforeUnmount)&&ot(de,d,f),$&6)S(f.component,v,w);else{if($&128){f.suspense.unmount(v,w);return}q&&Lt(f,null,d,"beforeUnmount"),$&64?f.type.remove(f,d,v,y,le,w):C&&(R!==Te||B>0&&B&64)?I(C,d,v,!1,!0):(R===Te&&B&384||!y&&$&16)&&I(A,d,v),w&&Fe(f)}(ie&&(de=M&&M.onVnodeUnmounted)||q)&&Ne(()=>{de&&ot(de,d,f),q&&Lt(f,null,d,"unmounted")},v)},Fe=f=>{const{type:d,el:v,anchor:w,transition:y}=f;if(d===Te){b(v,w);return}if(d===ni){W(f);return}const R=()=>{o(v),y&&!y.persisted&&y.afterLeave&&y.afterLeave()};if(f.shapeFlag&1&&y&&!y.persisted){const{leave:M,delayLeave:O}=y,A=()=>M(v,R);O?O(f.el,R,A):A()}else R()},b=(f,d)=>{let v;for(;f!==d;)v=m(f),o(f),f=v;o(d)},S=(f,d,v)=>{const{bum:w,scope:y,update:R,subTree:M,um:O}=f;w&&Di(w),y.stop(),R&&(R.active=!1,xe(M,f,d,v)),O&&Ne(O,d),Ne(()=>{f.isUnmounted=!0},d),d&&d.pendingBranch&&!d.isUnmounted&&f.asyncDep&&!f.asyncResolved&&f.suspenseId===d.pendingId&&(d.deps--,d.deps===0&&d.resolve())},I=(f,d,v,w=!1,y=!1,R=0)=>{for(let M=R;Mf.shapeFlag&6?D(f.component.subTree):f.shapeFlag&128?f.suspense.next():m(f.anchor||f.el),ce=(f,d,v)=>{f==null?d._vnode&&xe(d._vnode,null,null,!0):E(d._vnode||null,f,d,null,null,null,v),Ts(),d._vnode=f},le={p:E,um:xe,m:we,r:Fe,mt:Ae,mc:Z,pc:_e,pbc:oe,n:D,o:e};let Y,K;return t&&([Y,K]=t(le)),{render:ce,hydrate:Y,createApp:hc(ce,Y)}}function St({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function Xs(e,t,n=!1){const i=e.children,o=t.children;if(Q(i)&&Q(o))for(let r=0;r>1,e[n[a]]0&&(t[i]=n[r-1]),n[r]=i)}}for(r=n.length,s=n[r-1];r-- >0;)n[r]=s,s=t[s];return n}const _c=e=>e.__isTeleport,Qs="components";function qe(e,t){return yc(Qs,e,!0,t)||e}const bc=Symbol();function yc(e,t,n=!0,i=!1){const o=De||Re;if(o){const r=o.type;if(e===Qs){const a=Sc(r);if(a&&(a===t||a===ut(t)||a===xi(ut(t))))return r}const s=cr(o[e]||r[e],t)||cr(o.appContext[e],t);return!s&&i?r:s}}function cr(e,t){return e&&(e[t]||e[ut(t)]||e[xi(ut(t))])}const Te=Symbol(void 0),Po=Symbol(void 0),Qe=Symbol(void 0),ni=Symbol(void 0),On=[];let Ft=null;function U(e=!1){On.push(Ft=e?null:[])}function wc(){On.pop(),Ft=On[On.length-1]||null}let fi=1;function ur(e){fi+=e}function Js(e){return e.dynamicChildren=fi>0?Ft||tn:null,wc(),fi>0&&Ft&&Ft.push(e),e}function G(e,t,n,i,o,r){return Js(ye(e,t,n,i,o,r,!0))}function He(e,t,n,i,o){return Js(Ce(e,t,n,i,o,!0))}function pi(e){return e?e.__v_isVNode===!0:!1}function Nt(e,t){return e.type===t.type&&e.key===t.key}const Ti="__vInternal",Zs=({key:e})=>e!=null?e:null,ii=({ref:e,ref_key:t,ref_for:n})=>e!=null?Ee(e)||Me(e)||ne(e)?{i:De,r:e,k:t,f:!!n}:e:null;function ye(e,t=null,n=null,i=0,o=null,r=e===Te?0:1,s=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Zs(t),ref:t&&ii(t),scopeId:Ps,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:r,patchFlag:i,dynamicProps:o,dynamicChildren:null,appContext:null};return a?(Mo(l,n),r&128&&e.normalize(l)):n&&(l.shapeFlag|=Ee(n)?8:16),fi>0&&!s&&Ft&&(l.patchFlag>0||r&6)&&l.patchFlag!==32&&Ft.push(l),l}const Ce=xc;function xc(e,t=null,n=null,i=0,o=null,r=!1){if((!e||e===bc)&&(e=Qe),pi(e)){const a=Wt(e,t,!0);return n&&Mo(a,n),a}if(Bc(e)&&(e=e.__vccOpts),t){t=Cc(t);let{class:a,style:l}=t;a&&!Ee(a)&&(t.class=It(a)),Oe(l)&&(gs(l)&&!Q(l)&&(l=Le({},l)),t.style=qt(l))}const s=Ee(e)?1:Fl(e)?128:_c(e)?64:Oe(e)?4:ne(e)?2:0;return ye(e,t,n,i,o,s,r,!0)}function Cc(e){return e?gs(e)||Ti in e?Le({},e):e:null}function Wt(e,t,n=!1){const{props:i,ref:o,patchFlag:r,children:s}=e,a=t?wn(i||{},t):i;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:a,key:a&&Zs(a),ref:t&&t.ref?n&&o?Q(o)?o.concat(ii(t)):[o,ii(t)]:ii(t):o,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:s,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Te?r===-1?16:r|16:r,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Wt(e.ssContent),ssFallback:e.ssFallback&&Wt(e.ssFallback),el:e.el,anchor:e.anchor}}function rn(e=" ",t=0){return Ce(Po,null,e,t)}function Ec(e,t){const n=Ce(ni,null,e);return n.staticCount=t,n}function be(e="",t=!1){return t?(U(),He(Qe,null,e)):Ce(Qe,null,e)}function st(e){return e==null||typeof e=="boolean"?Ce(Qe):Q(e)?Ce(Te,null,e.slice()):typeof e=="object"?Et(e):Ce(Po,null,String(e))}function Et(e){return e.el===null||e.memo?e:Wt(e)}function Mo(e,t){let n=0;const{shapeFlag:i}=e;if(t==null)t=null;else if(Q(t))n=16;else if(typeof t=="object")if(i&65){const o=t.default;o&&(o._c&&(o._d=!1),Mo(e,o()),o._c&&(o._d=!0));return}else{n=32;const o=t._;!o&&!(Ti in t)?t._ctx=De:o===3&&De&&(De.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else ne(t)?(t={default:t,_ctx:De},n=32):(t=String(t),i&64?(n=16,t=[rn(t)]):n=8);e.children=t,e.shapeFlag|=n}function wn(...e){const t={};for(let n=0;nt(s,a,void 0,r&&r[a]));else{const s=Object.keys(e);o=new Array(s.length);for(let a=0,l=s.length;api(t)?!(t.type===Qe||t.type===Te&&!Gs(t.children)):!0)?e:null}const ro=e=>e?ea(e)?Lo(e)||e.proxy:ro(e.parent):null,hi=Le(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>ro(e.parent),$root:e=>ro(e.root),$emit:e=>e.emit,$options:e=>Vs(e),$forceUpdate:e=>()=>Os(e.update),$nextTick:e=>Es.bind(e.proxy),$watch:e=>Ul.bind(e)}),Oc={get({_:e},t){const{ctx:n,setupState:i,data:o,props:r,accessCache:s,type:a,appContext:l}=e;let u;if(t[0]!=="$"){const g=s[t];if(g!==void 0)switch(g){case 1:return i[t];case 2:return o[t];case 4:return n[t];case 3:return r[t]}else{if(i!==ge&&ue(i,t))return s[t]=1,i[t];if(o!==ge&&ue(o,t))return s[t]=2,o[t];if((u=e.propsOptions[0])&&ue(u,t))return s[t]=3,r[t];if(n!==ge&&ue(n,t))return s[t]=4,n[t];to&&(s[t]=0)}}const c=hi[t];let h,m;if(c)return t==="$attrs"&&ze(e,"get",t),c(e);if((h=a.__cssModules)&&(h=h[t]))return h;if(n!==ge&&ue(n,t))return s[t]=4,n[t];if(m=l.config.globalProperties,ue(m,t))return m[t]},set({_:e},t,n){const{data:i,setupState:o,ctx:r}=e;return o!==ge&&ue(o,t)?(o[t]=n,!0):i!==ge&&ue(i,t)?(i[t]=n,!0):ue(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(r[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:i,appContext:o,propsOptions:r}},s){let a;return!!n[s]||e!==ge&&ue(e,s)||t!==ge&&ue(t,s)||(a=r[0])&&ue(a,s)||ue(i,s)||ue(hi,s)||ue(o.config.globalProperties,s)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:ue(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}},kc=Ys();let Ac=0;function Tc(e,t,n){const i=e.type,o=(t?t.appContext:e.appContext)||kc,r={uid:Ac++,vnode:e,type:i,parent:t,appContext:o,root:null,next:null,subTree:null,effect:null,update:null,scope:new Ja(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(o.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Ws(i,o),emitsOptions:Is(i,o),emit:null,emitted:null,propsDefaults:ge,inheritAttrs:i.inheritAttrs,ctx:ge,data:ge,props:ge,attrs:ge,slots:ge,refs:ge,setupState:ge,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return r.ctx={_:r},r.root=t?t.root:r,r.emit=Dl.bind(null,r),e.ce&&e.ce(r),r}let Re=null;const Rc=()=>Re||De,sn=e=>{Re=e,e.scope.on()},Vt=()=>{Re&&Re.scope.off(),Re=null};function ea(e){return e.vnode.shapeFlag&4}let Bn=!1;function Ic(e,t=!1){Bn=t;const{props:n,children:i}=e.vnode,o=ea(e);lc(e,n,o,t),fc(e,i);const r=o?Pc(e,t):void 0;return Bn=!1,r}function Pc(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=_s(new Proxy(e.ctx,Oc));const{setup:i}=n;if(i){const o=e.setupContext=i.length>1?Lc(e):null;sn(e),hn();const r=At(i,e,0,[e.props,o]);if(mn(),Vt(),ns(r)){if(r.then(Vt,Vt),t)return r.then(s=>{fr(e,s,t)}).catch(s=>{Ei(s,e,0)});e.asyncDep=r}else fr(e,r,t)}else ta(e,t)}function fr(e,t,n){ne(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Oe(t)&&(e.setupState=xs(t)),ta(e,n)}let pr;function ta(e,t,n){const i=e.type;if(!e.render){if(!t&&pr&&!i.render){const o=i.template;if(o){const{isCustomElement:r,compilerOptions:s}=e.appContext.config,{delimiters:a,compilerOptions:l}=i,u=Le(Le({isCustomElement:r,delimiters:a},s),l);i.render=pr(o,u)}}e.render=i.render||nt}sn(e),hn(),ic(e),mn(),Vt()}function Mc(e){return new Proxy(e.attrs,{get(t,n){return ze(e,"get","$attrs"),t[n]}})}function Lc(e){const t=i=>{e.exposed=i||{}};let n;return{get attrs(){return n||(n=Mc(e))},slots:e.slots,emit:e.emit,expose:t}}function Lo(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(xs(_s(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in hi)return hi[n](e)}}))}function Sc(e){return ne(e)&&e.displayName||e.name}function Bc(e){return ne(e)&&"__vccOpts"in e}const lt=(e,t)=>Il(e,t,Bn);function na(e,t,n){const i=arguments.length;return i===2?Oe(t)&&!Q(t)?pi(t)?Ce(e,null,[t]):Ce(e,t):Ce(e,null,t):(i>3?n=Array.prototype.slice.call(arguments,2):i===3&&pi(n)&&(n=[n]),Ce(e,t,n))}const Dc="3.2.33",Nc="http://www.w3.org/2000/svg",Ht=typeof document!="undefined"?document:null,dr=Ht&&Ht.createElement("template"),Hc={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,i)=>{const o=t?Ht.createElementNS(Nc,e):Ht.createElement(e,n?{is:n}:void 0);return e==="select"&&i&&i.multiple!=null&&o.setAttribute("multiple",i.multiple),o},createText:e=>Ht.createTextNode(e),createComment:e=>Ht.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Ht.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},cloneNode(e){const t=e.cloneNode(!0);return"_value"in e&&(t._value=e._value),t},insertStaticContent(e,t,n,i,o,r){const s=n?n.previousSibling:t.lastChild;if(o&&(o===r||o.nextSibling))for(;t.insertBefore(o.cloneNode(!0),n),!(o===r||!(o=o.nextSibling)););else{dr.innerHTML=i?`${e}`:e;const a=dr.content;if(i){const l=a.firstChild;for(;l.firstChild;)a.appendChild(l.firstChild);a.removeChild(l)}t.insertBefore(a,n)}return[s?s.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}};function $c(e,t,n){const i=e._vtc;i&&(t=(t?[t,...i]:[...i]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}function jc(e,t,n){const i=e.style,o=Ee(n);if(n&&!o){for(const r in n)so(i,r,n[r]);if(t&&!Ee(t))for(const r in t)n[r]==null&&so(i,r,"")}else{const r=i.display;o?t!==n&&(i.cssText=n):t&&e.removeAttribute("style"),"_vod"in e&&(i.display=r)}}const hr=/\s*!important$/;function so(e,t,n){if(Q(n))n.forEach(i=>so(e,t,i));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const i=Fc(e,t);hr.test(n)?e.setProperty(zt(i),n.replace(hr,""),"important"):e[i]=n}}const mr=["Webkit","Moz","ms"],$i={};function Fc(e,t){const n=$i[t];if(n)return n;let i=ut(t);if(i!=="filter"&&i in e)return $i[t]=i;i=xi(i);for(let o=0;o{let e=Date.now,t=!1;if(typeof window!="undefined"){Date.now()>document.createEvent("Event").timeStamp&&(e=()=>performance.now());const n=navigator.userAgent.match(/firefox\/(\d+)/i);t=!!(n&&Number(n[1])<=53)}return[e,t]})();let ao=0;const qc=Promise.resolve(),zc=()=>{ao=0},Kc=()=>ao||(qc.then(zc),ao=ia());function Yc(e,t,n,i){e.addEventListener(t,n,i)}function Xc(e,t,n,i){e.removeEventListener(t,n,i)}function Qc(e,t,n,i,o=null){const r=e._vei||(e._vei={}),s=r[t];if(i&&s)s.value=i;else{const[a,l]=Jc(t);if(i){const u=r[t]=Zc(i,o);Yc(e,a,u,l)}else s&&(Xc(e,a,s,l),r[t]=void 0)}}const gr=/(?:Once|Passive|Capture)$/;function Jc(e){let t;if(gr.test(e)){t={};let n;for(;n=e.match(gr);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0}return[zt(e.slice(2)),t]}function Zc(e,t){const n=i=>{const o=i.timeStamp||ia();(Wc||o>=n.attached-1)&&Xe(Gc(i,n.value),t,5,[i])};return n.value=e,n.attached=Kc(),n}function Gc(e,t){if(Q(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(i=>o=>!o._stopped&&i&&i(o))}else return t}const _r=/^on[a-z]/,eu=(e,t,n,i,o=!1,r,s,a,l)=>{t==="class"?$c(e,i,o):t==="style"?jc(e,n,i):bi(t)?go(t)||Qc(e,t,n,i,s):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):tu(e,t,i,o))?Uc(e,t,i,r,s,a,l):(t==="true-value"?e._trueValue=i:t==="false-value"&&(e._falseValue=i),Vc(e,t,i,o))};function tu(e,t,n,i){return i?!!(t==="innerHTML"||t==="textContent"||t in e&&_r.test(t)&&ne(n)):t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA"||_r.test(t)&&Ee(n)?!1:t in e}const nu={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String};zl.props;const iu={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},ou=(e,t)=>n=>{if(!("key"in n))return;const i=zt(n.key);if(t.some(o=>o===i||iu[o]===i))return e(n)},ru=Le({patchProp:eu},Hc);let br;function su(){return br||(br=mc(ru))}const au=(...e)=>{const t=su().createApp(...e),{mount:n}=t;return t.mount=i=>{const o=lu(i);if(!o)return;const r=t._component;!ne(r)&&!r.render&&!r.template&&(r.template=o.innerHTML),o.innerHTML="";const s=n(o,!1,o instanceof SVGElement);return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),s},t};function lu(e){return Ee(e)?document.querySelector(e):e}var cu="/vue-navigation-bar/assets/lockup-color.5dabaa34.png";var dt=(e,t)=>{const n=e.__vccOpts||e;for(const[i,o]of t)n[i]=o;return n};const uu={name:"app",data(){return{navbarOptions:{elementId:"main-navbar",isUsingVueRouter:!0,mobileBreakpoint:992,brandImagePath:"./",brandImage:cu,brandImageAltText:"brand-image",collapseButtonOpenColor:"#661c23",collapseButtonCloseColor:"#661c23",showBrandImageInMobilePopup:!0,ariaLabelMainNav:"Main Navigation",tooltipAnimationType:"shift-away",tooltipPlacement:"bottom",menuOptionsLeft:[{type:"link",text:"Why Dunder Mifflin",arrowColor:"#659CC8",subMenuOptions:[{isLinkAction:!0,type:"link",text:"About",subText:"Stupid corporate wet blankets. Like booze ever killed anyone.",path:{name:"about"}},{type:"hr"},{type:"link",text:"Locations",subText:"You're a presentation tool!",path:{name:"locations"}},{type:"hr"},{type:"link",text:"Blog",subText:"I enjoy having breakfast in bed. I like waking up to the smell of bacon. Sue me.",path:{name:"blog"}}]},{type:"link",text:"Contact",subMenuOptions:[{type:"link",text:"Customer Service",path:{name:"customer-service"},iconLeft:''},{type:"link",text:"Accounting",path:{name:"accounting"},iconLeft:''},{type:"hr"},{type:"link",text:"Reception",path:{name:"reception"},iconLeft:' '}]}],menuOptionsRight:[{type:"button",text:"Signup",path:{name:"signup"},class:"button-red"},{type:"button",text:"Login",path:{name:"login"},iconRight:' '}]}}},methods:{vnbItemClicked(e){e==="About"&&alert("'About' was selected.")}}},fu={id:"app"},pu={class:"main-navbar-section"},du={class:"container"},hu=Ec('

vue-navigation-bar

To install:
yarn add vue-navigation-bar

vue-navigation-bar is a simple, pretty navbar for your Vue projects. And wouldn't you know it - this page is using it right now!

Check out the GitHub page to see how you can use vue-navigation-bar in your Vue projects.

',1);function mu(e,t,n,i,o,r){const s=qe("vue-navigation-bar");return U(),G("div",fu,[ye("section",pu,[ye("div",du,[Ce(s,{options:o.navbarOptions,onVnbItemClicked:r.vnbItemClicked},null,8,["options","onVnbItemClicked"])])]),hu])}var vu=dt(uu,[["render",mu]]),So={data:function(){return{event:null,vssWidth:null,vssHeight:null}},computed:{$vssEvent:function(){return this.event},$vssWidth:function(){return this.vssWidth||this.getScreenWidth()},$vssHeight:function(){return this.vssHeight||this.getScreenHeight()}},methods:{getScreenWidth:function(){return window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth},getScreenHeight:function(){return window.innerHeight||document.documentElement.clientHeight||document.body.clientHeight},handleResize:function(t){this.event=t,this.vssWidth=this.getScreenWidth(),this.vssHeight=this.getScreenHeight()},$vssDestroyListener:function(){window.removeEventListener("resize",this.handleResize)}},mounted:function(){window.addEventListener("resize",this.handleResize)},destroyed:function(){window.removeEventListener("resize",this.handleResize)}};function ji(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(e){var t=Math.random()*16|0,n=e=="x"?t:t&3|8;return n.toString(16)})}const gu={name:"dynamic-link",props:{isUsingVueRouter:{type:Boolean,required:!0},path:{type:[String,Object],required:!0},isLinkAction:{type:Boolean,required:!0}}},_u=["href"];function bu(e,t,n,i,o,r){const s=qe("router-link");return U(),G(Te,null,[ye("template",null,[n.isLinkAction?$t(e.$slots,"content",Va(wn({key:0},e.$attrs))):be("",!0)]),n.isUsingVueRouter?(U(),G(Te,{key:0},[n.path.name?(U(),He(s,wn({key:0},e.$attrs,{to:{name:this.path.name}}),{default:ft(()=>[$t(e.$slots,"content")]),_:3},16,["to"])):(U(),He(s,wn({key:1},e.$attrs,{to:{path:this.path}}),{default:ft(()=>[$t(e.$slots,"content")]),_:3},16,["to"]))],64)):(U(),G("a",wn({key:1},e.$attrs,{href:n.path}),[$t(e.$slots,"content")],16,_u))],64)}var Ri=dt(gu,[["render",bu]]);const yu={name:"brand-image",props:{options:{type:Object,required:!0}},data(){return{}},components:{DynamicLink:Ri},emits:["vnb-item-clicked"]},wu={class:"vnb__brand-image-wrapper"},xu=["src","alt"];function Cu(e,t,n,i,o,r){const s=qe("dynamic-link");return U(),G("div",wu,[Ce(s,{path:n.options.brandImagePath,isUsingVueRouter:n.options.isUsingVueRouter,class:"vnb__brand-image-wrapper__link","aria-label":"Homepage",isLinkAction:!1,onClick:t[0]||(t[0]=a=>e.$emit("vnb-item-clicked","brand-image"))},{content:ft(()=>[n.options.brandImage?(U(),G("img",{key:0,src:n.options.brandImage,alt:n.options.brandImageAltText,class:"vnb-image vnb__brand-image-wrapper__link__image"},null,8,xu)):be("",!0)]),_:1},8,["path","isUsingVueRouter"])])}var Eu=dt(yu,[["render",Cu]]);const Ou={name:"collapse-button",mixins:[So],props:{options:{type:Object,required:!0},menuIsVisible:{type:Boolean,required:!0}},data(){return{}},methods:{collapseButtonClicked(){this.$emit("collapse-button-clicked")}},emits:["collapse-button-clicked"]},ku=["aria-expanded"],Au=["src"],Tu=ye("title",null,"Menu",-1),Ru=ye("g",{transform:"matrix(.1 0 0 -.1 0 100)"},[ye("path",{d:"m0 850v-40h500 500v40 40h-500-500z"}),ye("path",{d:"m0 495v-45h500 500v45 45h-500-500z"}),ye("path",{d:"m0 140v-40h500 500v40 40h-500-500z"})],-1),Iu=[Tu,Ru];function Pu(e,t,n,i,o,r){return e.$vssWidthr.collapseButtonClicked&&r.collapseButtonClicked(...s)),type:"button","aria-expanded":n.menuIsVisible?"true":"false"},[n.options.collapseButtonImageOpen?(U(),G("img",{key:0,src:n.options.collapseButtonImageOpen,alt:"Menu",class:"vnb__collapse-button__image"},null,8,Au)):(U(),G("svg",{key:1,height:"100pt",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 100 100",width:"100pt",xmlns:"http://www.w3.org/2000/svg",class:"vnb__collapse-button__image",style:qt({fill:n.options.collapseButtonOpenColor})},Iu,4))],8,ku)):be("",!0)}var Mu=dt(Ou,[["render",Pu]]);const Lu={name:"desktop-menu-item-button",props:{option:{type:Object,required:!0},options:{type:Object,required:!0}},data(){return{}},components:{DynamicLink:Ri},emits:["vnb-item-clicked"]},Su=["innerHTML"],Bu=["innerHTML"];function Du(e,t,n,i,o,r){const s=qe("dynamic-link");return U(),He(s,{path:n.option.path,isUsingVueRouter:n.options.isUsingVueRouter,class:It(["vnb__menu-options__option__button","vnb-button",n.option.class]),"aria-label":n.option.text,isLinkAction:!!n.option.isLinkAction,onClick:t[0]||(t[0]=a=>e.$emit("vnb-item-clicked",n.option.text))},{content:ft(()=>[n.option.iconLeft?(U(),G("span",{key:0,class:"vnb__menu-options__option__button__icon vnb__menu-options__option__button__icon--left",innerHTML:n.option.iconLeft},null,8,Su)):be("",!0),rn(" "+mt(n.option.text)+" ",1),n.option.iconRight?(U(),G("span",{key:1,class:"vnb__menu-options__option__button__icon vnb__menu-options__option__button__icon--right",innerHTML:n.option.iconRight},null,8,Bu)):be("",!0)]),_:1},8,["path","isUsingVueRouter","class","aria-label","isLinkAction"])}var Nu=dt(Lu,[["render",Du]]),$e="top",Ze="bottom",Ge="right",je="left",Bo="auto",jn=[$e,Ze,Ge,je],an="start",Dn="end",Hu="clippingParents",oa="viewport",gn="popper",$u="reference",yr=jn.reduce(function(e,t){return e.concat([t+"-"+an,t+"-"+Dn])},[]),ra=[].concat(jn,[Bo]).reduce(function(e,t){return e.concat([t,t+"-"+an,t+"-"+Dn])},[]),ju="beforeRead",Fu="read",Vu="afterRead",Uu="beforeMain",Wu="main",qu="afterMain",zu="beforeWrite",Ku="write",Yu="afterWrite",Xu=[ju,Fu,Vu,Uu,Wu,qu,zu,Ku,Yu];function pt(e){return e?(e.nodeName||"").toLowerCase():null}function it(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function ln(e){var t=it(e).Element;return e instanceof t||e instanceof Element}function Je(e){var t=it(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function Do(e){if(typeof ShadowRoot=="undefined")return!1;var t=it(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function Qu(e){var t=e.state;Object.keys(t.elements).forEach(function(n){var i=t.styles[n]||{},o=t.attributes[n]||{},r=t.elements[n];!Je(r)||!pt(r)||(Object.assign(r.style,i),Object.keys(o).forEach(function(s){var a=o[s];a===!1?r.removeAttribute(s):r.setAttribute(s,a===!0?"":a)}))})}function Ju(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(i){var o=t.elements[i],r=t.attributes[i]||{},s=Object.keys(t.styles.hasOwnProperty(i)?t.styles[i]:n[i]),a=s.reduce(function(l,u){return l[u]="",l},{});!Je(o)||!pt(o)||(Object.assign(o.style,a),Object.keys(r).forEach(function(l){o.removeAttribute(l)}))})}}var sa={name:"applyStyles",enabled:!0,phase:"write",fn:Qu,effect:Ju,requires:["computeStyles"]};function ct(e){return e.split("-")[0]}var Ut=Math.max,mi=Math.min,cn=Math.round;function un(e,t){t===void 0&&(t=!1);var n=e.getBoundingClientRect(),i=1,o=1;if(Je(e)&&t){var r=e.offsetHeight,s=e.offsetWidth;s>0&&(i=cn(n.width)/s||1),r>0&&(o=cn(n.height)/r||1)}return{width:n.width/i,height:n.height/o,top:n.top/o,right:n.right/i,bottom:n.bottom/o,left:n.left/i,x:n.left/i,y:n.top/o}}function No(e){var t=un(e),n=e.offsetWidth,i=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-i)<=1&&(i=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:i}}function aa(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&Do(n)){var i=t;do{if(i&&e.isSameNode(i))return!0;i=i.parentNode||i.host}while(i)}return!1}function gt(e){return it(e).getComputedStyle(e)}function Zu(e){return["table","td","th"].indexOf(pt(e))>=0}function Pt(e){return((ln(e)?e.ownerDocument:e.document)||window.document).documentElement}function Ii(e){return pt(e)==="html"?e:e.assignedSlot||e.parentNode||(Do(e)?e.host:null)||Pt(e)}function wr(e){return!Je(e)||gt(e).position==="fixed"?null:e.offsetParent}function Gu(e){var t=navigator.userAgent.toLowerCase().indexOf("firefox")!==-1,n=navigator.userAgent.indexOf("Trident")!==-1;if(n&&Je(e)){var i=gt(e);if(i.position==="fixed")return null}var o=Ii(e);for(Do(o)&&(o=o.host);Je(o)&&["html","body"].indexOf(pt(o))<0;){var r=gt(o);if(r.transform!=="none"||r.perspective!=="none"||r.contain==="paint"||["transform","perspective"].indexOf(r.willChange)!==-1||t&&r.willChange==="filter"||t&&r.filter&&r.filter!=="none")return o;o=o.parentNode}return null}function Fn(e){for(var t=it(e),n=wr(e);n&&Zu(n)&>(n).position==="static";)n=wr(n);return n&&(pt(n)==="html"||pt(n)==="body"&>(n).position==="static")?t:n||Gu(e)||t}function Ho(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function kn(e,t,n){return Ut(e,mi(t,n))}function ef(e,t,n){var i=kn(e,t,n);return i>n?n:i}function la(){return{top:0,right:0,bottom:0,left:0}}function ca(e){return Object.assign({},la(),e)}function ua(e,t){return t.reduce(function(n,i){return n[i]=e,n},{})}var tf=function(t,n){return t=typeof t=="function"?t(Object.assign({},n.rects,{placement:n.placement})):t,ca(typeof t!="number"?t:ua(t,jn))};function nf(e){var t,n=e.state,i=e.name,o=e.options,r=n.elements.arrow,s=n.modifiersData.popperOffsets,a=ct(n.placement),l=Ho(a),u=[je,Ge].indexOf(a)>=0,c=u?"height":"width";if(!(!r||!s)){var h=tf(o.padding,n),m=No(r),g=l==="y"?$e:je,x=l==="y"?Ze:Ge,k=n.rects.reference[c]+n.rects.reference[l]-s[l]-n.rects.popper[c],E=s[l]-n.rects.reference[l],T=Fn(r),L=T?l==="y"?T.clientHeight||0:T.clientWidth||0:0,F=k/2-E/2,p=h[g],W=L-m[c]-h[x],P=L/2-m[c]/2+F,H=kn(p,P,W),J=l;n.modifiersData[i]=(t={},t[J]=H,t.centerOffset=H-P,t)}}function of(e){var t=e.state,n=e.options,i=n.element,o=i===void 0?"[data-popper-arrow]":i;o!=null&&(typeof o=="string"&&(o=t.elements.popper.querySelector(o),!o)||!aa(t.elements.popper,o)||(t.elements.arrow=o))}var rf={name:"arrow",enabled:!0,phase:"main",fn:nf,effect:of,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function fn(e){return e.split("-")[1]}var sf={top:"auto",right:"auto",bottom:"auto",left:"auto"};function af(e){var t=e.x,n=e.y,i=window,o=i.devicePixelRatio||1;return{x:cn(t*o)/o||0,y:cn(n*o)/o||0}}function xr(e){var t,n=e.popper,i=e.popperRect,o=e.placement,r=e.variation,s=e.offsets,a=e.position,l=e.gpuAcceleration,u=e.adaptive,c=e.roundOffsets,h=e.isFixed,m=s.x,g=m===void 0?0:m,x=s.y,k=x===void 0?0:x,E=typeof c=="function"?c({x:g,y:k}):{x:g,y:k};g=E.x,k=E.y;var T=s.hasOwnProperty("x"),L=s.hasOwnProperty("y"),F=je,p=$e,W=window;if(u){var P=Fn(n),H="clientHeight",J="clientWidth";if(P===it(n)&&(P=Pt(n),gt(P).position!=="static"&&a==="absolute"&&(H="scrollHeight",J="scrollWidth")),P=P,o===$e||(o===je||o===Ge)&&r===Dn){p=Ze;var Z=h&&P===W&&W.visualViewport?W.visualViewport.height:P[H];k-=Z-i.height,k*=l?1:-1}if(o===je||(o===$e||o===Ze)&&r===Dn){F=Ge;var ae=h&&P===W&&W.visualViewport?W.visualViewport.width:P[J];g-=ae-i.width,g*=l?1:-1}}var oe=Object.assign({position:a},u&&sf),ee=c===!0?af({x:g,y:k}):{x:g,y:k};if(g=ee.x,k=ee.y,l){var pe;return Object.assign({},oe,(pe={},pe[p]=L?"0":"",pe[F]=T?"0":"",pe.transform=(W.devicePixelRatio||1)<=1?"translate("+g+"px, "+k+"px)":"translate3d("+g+"px, "+k+"px, 0)",pe))}return Object.assign({},oe,(t={},t[p]=L?k+"px":"",t[F]=T?g+"px":"",t.transform="",t))}function lf(e){var t=e.state,n=e.options,i=n.gpuAcceleration,o=i===void 0?!0:i,r=n.adaptive,s=r===void 0?!0:r,a=n.roundOffsets,l=a===void 0?!0:a,u={placement:ct(t.placement),variation:fn(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,xr(Object.assign({},u,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:s,roundOffsets:l})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,xr(Object.assign({},u,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}var cf={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:lf,data:{}},Jn={passive:!0};function uf(e){var t=e.state,n=e.instance,i=e.options,o=i.scroll,r=o===void 0?!0:o,s=i.resize,a=s===void 0?!0:s,l=it(t.elements.popper),u=[].concat(t.scrollParents.reference,t.scrollParents.popper);return r&&u.forEach(function(c){c.addEventListener("scroll",n.update,Jn)}),a&&l.addEventListener("resize",n.update,Jn),function(){r&&u.forEach(function(c){c.removeEventListener("scroll",n.update,Jn)}),a&&l.removeEventListener("resize",n.update,Jn)}}var ff={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:uf,data:{}},pf={left:"right",right:"left",bottom:"top",top:"bottom"};function oi(e){return e.replace(/left|right|bottom|top/g,function(t){return pf[t]})}var df={start:"end",end:"start"};function Cr(e){return e.replace(/start|end/g,function(t){return df[t]})}function $o(e){var t=it(e),n=t.pageXOffset,i=t.pageYOffset;return{scrollLeft:n,scrollTop:i}}function jo(e){return un(Pt(e)).left+$o(e).scrollLeft}function hf(e){var t=it(e),n=Pt(e),i=t.visualViewport,o=n.clientWidth,r=n.clientHeight,s=0,a=0;return i&&(o=i.width,r=i.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(s=i.offsetLeft,a=i.offsetTop)),{width:o,height:r,x:s+jo(e),y:a}}function mf(e){var t,n=Pt(e),i=$o(e),o=(t=e.ownerDocument)==null?void 0:t.body,r=Ut(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),s=Ut(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),a=-i.scrollLeft+jo(e),l=-i.scrollTop;return gt(o||n).direction==="rtl"&&(a+=Ut(n.clientWidth,o?o.clientWidth:0)-r),{width:r,height:s,x:a,y:l}}function Fo(e){var t=gt(e),n=t.overflow,i=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+i)}function fa(e){return["html","body","#document"].indexOf(pt(e))>=0?e.ownerDocument.body:Je(e)&&Fo(e)?e:fa(Ii(e))}function An(e,t){var n;t===void 0&&(t=[]);var i=fa(e),o=i===((n=e.ownerDocument)==null?void 0:n.body),r=it(i),s=o?[r].concat(r.visualViewport||[],Fo(i)?i:[]):i,a=t.concat(s);return o?a:a.concat(An(Ii(s)))}function lo(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function vf(e){var t=un(e);return t.top=t.top+e.clientTop,t.left=t.left+e.clientLeft,t.bottom=t.top+e.clientHeight,t.right=t.left+e.clientWidth,t.width=e.clientWidth,t.height=e.clientHeight,t.x=t.left,t.y=t.top,t}function Er(e,t){return t===oa?lo(hf(e)):ln(t)?vf(t):lo(mf(Pt(e)))}function gf(e){var t=An(Ii(e)),n=["absolute","fixed"].indexOf(gt(e).position)>=0,i=n&&Je(e)?Fn(e):e;return ln(i)?t.filter(function(o){return ln(o)&&aa(o,i)&&pt(o)!=="body"}):[]}function _f(e,t,n){var i=t==="clippingParents"?gf(e):[].concat(t),o=[].concat(i,[n]),r=o[0],s=o.reduce(function(a,l){var u=Er(e,l);return a.top=Ut(u.top,a.top),a.right=mi(u.right,a.right),a.bottom=mi(u.bottom,a.bottom),a.left=Ut(u.left,a.left),a},Er(e,r));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}function pa(e){var t=e.reference,n=e.element,i=e.placement,o=i?ct(i):null,r=i?fn(i):null,s=t.x+t.width/2-n.width/2,a=t.y+t.height/2-n.height/2,l;switch(o){case $e:l={x:s,y:t.y-n.height};break;case Ze:l={x:s,y:t.y+t.height};break;case Ge:l={x:t.x+t.width,y:a};break;case je:l={x:t.x-n.width,y:a};break;default:l={x:t.x,y:t.y}}var u=o?Ho(o):null;if(u!=null){var c=u==="y"?"height":"width";switch(r){case an:l[u]=l[u]-(t[c]/2-n[c]/2);break;case Dn:l[u]=l[u]+(t[c]/2-n[c]/2);break}}return l}function Nn(e,t){t===void 0&&(t={});var n=t,i=n.placement,o=i===void 0?e.placement:i,r=n.boundary,s=r===void 0?Hu:r,a=n.rootBoundary,l=a===void 0?oa:a,u=n.elementContext,c=u===void 0?gn:u,h=n.altBoundary,m=h===void 0?!1:h,g=n.padding,x=g===void 0?0:g,k=ca(typeof x!="number"?x:ua(x,jn)),E=c===gn?$u:gn,T=e.rects.popper,L=e.elements[m?E:c],F=_f(ln(L)?L:L.contextElement||Pt(e.elements.popper),s,l),p=un(e.elements.reference),W=pa({reference:p,element:T,strategy:"absolute",placement:o}),P=lo(Object.assign({},T,W)),H=c===gn?P:p,J={top:F.top-H.top+k.top,bottom:H.bottom-F.bottom+k.bottom,left:F.left-H.left+k.left,right:H.right-F.right+k.right},Z=e.modifiersData.offset;if(c===gn&&Z){var ae=Z[o];Object.keys(J).forEach(function(oe){var ee=[Ge,Ze].indexOf(oe)>=0?1:-1,pe=[$e,Ze].indexOf(oe)>=0?"y":"x";J[oe]+=ae[pe]*ee})}return J}function bf(e,t){t===void 0&&(t={});var n=t,i=n.placement,o=n.boundary,r=n.rootBoundary,s=n.padding,a=n.flipVariations,l=n.allowedAutoPlacements,u=l===void 0?ra:l,c=fn(i),h=c?a?yr:yr.filter(function(x){return fn(x)===c}):jn,m=h.filter(function(x){return u.indexOf(x)>=0});m.length===0&&(m=h);var g=m.reduce(function(x,k){return x[k]=Nn(e,{placement:k,boundary:o,rootBoundary:r,padding:s})[ct(k)],x},{});return Object.keys(g).sort(function(x,k){return g[x]-g[k]})}function yf(e){if(ct(e)===Bo)return[];var t=oi(e);return[Cr(e),t,Cr(t)]}function wf(e){var t=e.state,n=e.options,i=e.name;if(!t.modifiersData[i]._skip){for(var o=n.mainAxis,r=o===void 0?!0:o,s=n.altAxis,a=s===void 0?!0:s,l=n.fallbackPlacements,u=n.padding,c=n.boundary,h=n.rootBoundary,m=n.altBoundary,g=n.flipVariations,x=g===void 0?!0:g,k=n.allowedAutoPlacements,E=t.options.placement,T=ct(E),L=T===E,F=l||(L||!x?[oi(E)]:yf(E)),p=[E].concat(F).reduce(function(Fe,b){return Fe.concat(ct(b)===Bo?bf(t,{placement:b,boundary:c,rootBoundary:h,padding:u,flipVariations:x,allowedAutoPlacements:k}):b)},[]),W=t.rects.reference,P=t.rects.popper,H=new Map,J=!0,Z=p[0],ae=0;ae=0,Ae=ke?"width":"height",re=Nn(t,{placement:oe,boundary:c,rootBoundary:h,altBoundary:m,padding:u}),X=ke?pe?Ge:je:pe?Ze:$e;W[Ae]>P[Ae]&&(X=oi(X));var z=oi(X),_e=[];if(r&&_e.push(re[ee]<=0),a&&_e.push(re[X]<=0,re[z]<=0),_e.every(function(Fe){return Fe})){Z=oe,J=!1;break}H.set(oe,_e)}if(J)for(var Ie=x?3:1,Pe=function(b){var S=p.find(function(I){var D=H.get(I);if(D)return D.slice(0,b).every(function(ce){return ce})});if(S)return Z=S,"break"},we=Ie;we>0;we--){var xe=Pe(we);if(xe==="break")break}t.placement!==Z&&(t.modifiersData[i]._skip=!0,t.placement=Z,t.reset=!0)}}var xf={name:"flip",enabled:!0,phase:"main",fn:wf,requiresIfExists:["offset"],data:{_skip:!1}};function Or(e,t,n){return n===void 0&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function kr(e){return[$e,Ge,Ze,je].some(function(t){return e[t]>=0})}function Cf(e){var t=e.state,n=e.name,i=t.rects.reference,o=t.rects.popper,r=t.modifiersData.preventOverflow,s=Nn(t,{elementContext:"reference"}),a=Nn(t,{altBoundary:!0}),l=Or(s,i),u=Or(a,o,r),c=kr(l),h=kr(u);t.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:u,isReferenceHidden:c,hasPopperEscaped:h},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":c,"data-popper-escaped":h})}var Ef={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:Cf};function Of(e,t,n){var i=ct(e),o=[je,$e].indexOf(i)>=0?-1:1,r=typeof n=="function"?n(Object.assign({},t,{placement:e})):n,s=r[0],a=r[1];return s=s||0,a=(a||0)*o,[je,Ge].indexOf(i)>=0?{x:a,y:s}:{x:s,y:a}}function kf(e){var t=e.state,n=e.options,i=e.name,o=n.offset,r=o===void 0?[0,0]:o,s=ra.reduce(function(c,h){return c[h]=Of(h,t.rects,r),c},{}),a=s[t.placement],l=a.x,u=a.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=u),t.modifiersData[i]=s}var Af={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:kf};function Tf(e){var t=e.state,n=e.name;t.modifiersData[n]=pa({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}var Rf={name:"popperOffsets",enabled:!0,phase:"read",fn:Tf,data:{}};function If(e){return e==="x"?"y":"x"}function Pf(e){var t=e.state,n=e.options,i=e.name,o=n.mainAxis,r=o===void 0?!0:o,s=n.altAxis,a=s===void 0?!1:s,l=n.boundary,u=n.rootBoundary,c=n.altBoundary,h=n.padding,m=n.tether,g=m===void 0?!0:m,x=n.tetherOffset,k=x===void 0?0:x,E=Nn(t,{boundary:l,rootBoundary:u,padding:h,altBoundary:c}),T=ct(t.placement),L=fn(t.placement),F=!L,p=Ho(T),W=If(p),P=t.modifiersData.popperOffsets,H=t.rects.reference,J=t.rects.popper,Z=typeof k=="function"?k(Object.assign({},t.rects,{placement:t.placement})):k,ae=typeof Z=="number"?{mainAxis:Z,altAxis:Z}:Object.assign({mainAxis:0,altAxis:0},Z),oe=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,ee={x:0,y:0};if(!!P){if(r){var pe,ke=p==="y"?$e:je,Ae=p==="y"?Ze:Ge,re=p==="y"?"height":"width",X=P[p],z=X+E[ke],_e=X-E[Ae],Ie=g?-J[re]/2:0,Pe=L===an?H[re]:J[re],we=L===an?-J[re]:-H[re],xe=t.elements.arrow,Fe=g&&xe?No(xe):{width:0,height:0},b=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:la(),S=b[ke],I=b[Ae],D=kn(0,H[re],Fe[re]),ce=F?H[re]/2-Ie-D-S-ae.mainAxis:Pe-D-S-ae.mainAxis,le=F?-H[re]/2+Ie+D+I+ae.mainAxis:we+D+I+ae.mainAxis,Y=t.elements.arrow&&Fn(t.elements.arrow),K=Y?p==="y"?Y.clientTop||0:Y.clientLeft||0:0,f=(pe=oe==null?void 0:oe[p])!=null?pe:0,d=X+ce-f-K,v=X+le-f,w=kn(g?mi(z,d):z,X,g?Ut(_e,v):_e);P[p]=w,ee[p]=w-X}if(a){var y,R=p==="x"?$e:je,M=p==="x"?Ze:Ge,O=P[W],A=W==="y"?"height":"width",C=O+E[R],$=O-E[M],B=[$e,je].indexOf(T)!==-1,V=(y=oe==null?void 0:oe[W])!=null?y:0,q=B?C:O-H[A]-J[A]-V+ae.altAxis,ie=B?O+H[A]+J[A]-V-ae.altAxis:$,de=g&&B?ef(q,O,ie):kn(g?q:C,O,g?ie:$);P[W]=de,ee[W]=de-O}t.modifiersData[i]=ee}}var Mf={name:"preventOverflow",enabled:!0,phase:"main",fn:Pf,requiresIfExists:["offset"]};function Lf(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function Sf(e){return e===it(e)||!Je(e)?$o(e):Lf(e)}function Bf(e){var t=e.getBoundingClientRect(),n=cn(t.width)/e.offsetWidth||1,i=cn(t.height)/e.offsetHeight||1;return n!==1||i!==1}function Df(e,t,n){n===void 0&&(n=!1);var i=Je(t),o=Je(t)&&Bf(t),r=Pt(t),s=un(e,o),a={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(i||!i&&!n)&&((pt(t)!=="body"||Fo(r))&&(a=Sf(t)),Je(t)?(l=un(t,!0),l.x+=t.clientLeft,l.y+=t.clientTop):r&&(l.x=jo(r))),{x:s.left+a.scrollLeft-l.x,y:s.top+a.scrollTop-l.y,width:s.width,height:s.height}}function Nf(e){var t=new Map,n=new Set,i=[];e.forEach(function(r){t.set(r.name,r)});function o(r){n.add(r.name);var s=[].concat(r.requires||[],r.requiresIfExists||[]);s.forEach(function(a){if(!n.has(a)){var l=t.get(a);l&&o(l)}}),i.push(r)}return e.forEach(function(r){n.has(r.name)||o(r)}),i}function Hf(e){var t=Nf(e);return Xu.reduce(function(n,i){return n.concat(t.filter(function(o){return o.phase===i}))},[])}function $f(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}function jf(e){var t=e.reduce(function(n,i){var o=n[i.name];return n[i.name]=o?Object.assign({},o,i,{options:Object.assign({},o.options,i.options),data:Object.assign({},o.data,i.data)}):i,n},{});return Object.keys(t).map(function(n){return t[n]})}var Ar={placement:"bottom",modifiers:[],strategy:"absolute"};function Tr(){for(var e=arguments.length,t=new Array(e),n=0;n-1}function ga(e,t){return typeof e=="function"?e.apply(void 0,t):e}function Rr(e,t){if(t===0)return e;var n;return function(i){clearTimeout(n),n=setTimeout(function(){e(i)},t)}}function zf(e){return e.split(/\s+/).filter(Boolean)}function Zt(e){return[].concat(e)}function Ir(e,t){e.indexOf(t)===-1&&e.push(t)}function Kf(e){return e.filter(function(t,n){return e.indexOf(t)===n})}function Yf(e){return e.split("-")[0]}function vi(e){return[].slice.call(e)}function Pr(e){return Object.keys(e).reduce(function(t,n){return e[n]!==void 0&&(t[n]=e[n]),t},{})}function Tn(){return document.createElement("div")}function Pi(e){return["Element","Fragment"].some(function(t){return Vo(e,t)})}function Xf(e){return Vo(e,"NodeList")}function Qf(e){return Vo(e,"MouseEvent")}function _a(e){return!!(e&&e._tippy&&e._tippy.reference===e)}function Jf(e){return Pi(e)?[e]:Xf(e)?vi(e):Array.isArray(e)?e:vi(document.querySelectorAll(e))}function Vi(e,t){e.forEach(function(n){n&&(n.style.transitionDuration=t+"ms")})}function Mr(e,t){e.forEach(function(n){n&&n.setAttribute("data-state",t)})}function Zf(e){var t,n=Zt(e),i=n[0];return i!=null&&(t=i.ownerDocument)!=null&&t.body?i.ownerDocument:document}function Gf(e,t){var n=t.clientX,i=t.clientY;return e.every(function(o){var r=o.popperRect,s=o.popperState,a=o.props,l=a.interactiveBorder,u=Yf(s.placement),c=s.modifiersData.offset;if(!c)return!0;var h=u==="bottom"?c.top.y:0,m=u==="top"?c.bottom.y:0,g=u==="right"?c.left.x:0,x=u==="left"?c.right.x:0,k=r.top-i+h>l,E=i-r.bottom-m>l,T=r.left-n+g>l,L=n-r.right-x>l;return k||E||T||L})}function Ui(e,t,n){var i=t+"EventListener";["transitionend","webkitTransitionEnd"].forEach(function(o){e[i](o,n)})}function Lr(e,t){for(var n=t;n;){var i;if(e.contains(n))return!0;n=n.getRootNode==null||(i=n.getRootNode())==null?void 0:i.host}return!1}var at={isTouch:!1},Sr=0;function ep(){at.isTouch||(at.isTouch=!0,window.performance&&document.addEventListener("mousemove",ba))}function ba(){var e=performance.now();e-Sr<20&&(at.isTouch=!1,document.removeEventListener("mousemove",ba)),Sr=e}function tp(){var e=document.activeElement;if(_a(e)){var t=e._tippy;e.blur&&!t.state.isVisible&&e.blur()}}function np(){document.addEventListener("touchstart",ep,Dt),window.addEventListener("blur",tp)}var ip=typeof window!="undefined"&&typeof document!="undefined",op=ip?!!window.msCrypto:!1,rp={animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},sp={allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999},tt=Object.assign({appendTo:va,aria:{content:"auto",expanded:"auto"},delay:0,duration:[300,250],getReferenceClientRect:null,hideOnClick:!0,ignoreAttributes:!1,interactive:!1,interactiveBorder:2,interactiveDebounce:0,moveTransition:"",offset:[0,10],onAfterUpdate:function(){},onBeforeUpdate:function(){},onCreate:function(){},onDestroy:function(){},onHidden:function(){},onHide:function(){},onMount:function(){},onShow:function(){},onShown:function(){},onTrigger:function(){},onUntrigger:function(){},onClickOutside:function(){},placement:"top",plugins:[],popperOptions:{},render:null,showOnCreate:!1,touch:!0,trigger:"mouseenter focus",triggerTarget:null},rp,sp),ap=Object.keys(tt),lp=function(t){var n=Object.keys(t);n.forEach(function(i){tt[i]=t[i]})};function ya(e){var t=e.plugins||[],n=t.reduce(function(i,o){var r=o.name,s=o.defaultValue;if(r){var a;i[r]=e[r]!==void 0?e[r]:(a=tt[r])!=null?a:s}return i},{});return Object.assign({},e,n)}function cp(e,t){var n=t?Object.keys(ya(Object.assign({},tt,{plugins:t}))):ap,i=n.reduce(function(o,r){var s=(e.getAttribute("data-tippy-"+r)||"").trim();if(!s)return o;if(r==="content")o[r]=s;else try{o[r]=JSON.parse(s)}catch{o[r]=s}return o},{});return i}function Br(e,t){var n=Object.assign({},t,{content:ga(t.content,[e])},t.ignoreAttributes?{}:cp(e,t.plugins));return n.aria=Object.assign({},tt.aria,n.aria),n.aria={expanded:n.aria.expanded==="auto"?t.interactive:n.aria.expanded,content:n.aria.content==="auto"?t.interactive?null:"describedby":n.aria.content},n}var up=function(){return"innerHTML"};function co(e,t){e[up()]=t}function Dr(e){var t=Tn();return e===!0?t.className=ha:(t.className=ma,Pi(e)?t.appendChild(e):co(t,e)),t}function Nr(e,t){Pi(t.content)?(co(e,""),e.appendChild(t.content)):typeof t.content!="function"&&(t.allowHTML?co(e,t.content):e.textContent=t.content)}function uo(e){var t=e.firstElementChild,n=vi(t.children);return{box:t,content:n.find(function(i){return i.classList.contains(da)}),arrow:n.find(function(i){return i.classList.contains(ha)||i.classList.contains(ma)}),backdrop:n.find(function(i){return i.classList.contains(qf)})}}function wa(e){var t=Tn(),n=Tn();n.className=Wf,n.setAttribute("data-state","hidden"),n.setAttribute("tabindex","-1");var i=Tn();i.className=da,i.setAttribute("data-state","hidden"),Nr(i,e.props),t.appendChild(n),n.appendChild(i),o(e.props,e.props);function o(r,s){var a=uo(t),l=a.box,u=a.content,c=a.arrow;s.theme?l.setAttribute("data-theme",s.theme):l.removeAttribute("data-theme"),typeof s.animation=="string"?l.setAttribute("data-animation",s.animation):l.removeAttribute("data-animation"),s.inertia?l.setAttribute("data-inertia",""):l.removeAttribute("data-inertia"),l.style.maxWidth=typeof s.maxWidth=="number"?s.maxWidth+"px":s.maxWidth,s.role?l.setAttribute("role",s.role):l.removeAttribute("role"),(r.content!==s.content||r.allowHTML!==s.allowHTML)&&Nr(u,e.props),s.arrow?c?r.arrow!==s.arrow&&(l.removeChild(c),l.appendChild(Dr(s.arrow))):l.appendChild(Dr(s.arrow)):c&&l.removeChild(c)}return{popper:t,onUpdate:o}}wa.$$tippy=!0;var fp=1,Zn=[],ri=[];function pp(e,t){var n=Br(e,Object.assign({},tt,ya(Pr(t)))),i,o,r,s=!1,a=!1,l=!1,u=!1,c,h,m,g=[],x=Rr(d,n.interactiveDebounce),k,E=fp++,T=null,L=Kf(n.plugins),F={isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},p={id:E,reference:e,popper:Tn(),popperInstance:T,props:n,state:F,plugins:L,clearDelayTimeouts:q,setProps:ie,setContent:de,show:he,hide:me,hideWithInteractivity:Ve,enable:B,disable:V,unmount:bt,destroy:Un};if(!n.render)return p;var W=n.render(p),P=W.popper,H=W.onUpdate;P.setAttribute("data-tippy-root",""),P.id="tippy-"+p.id,p.popper=P,e._tippy=p,P._tippy=p;var J=L.map(function(_){return _.fn(p)}),Z=e.hasAttribute("aria-expanded");return Y(),Ie(),X(),z("onCreate",[p]),n.showOnCreate&&C(),P.addEventListener("mouseenter",function(){p.props.interactive&&p.state.isVisible&&p.clearDelayTimeouts()}),P.addEventListener("mouseleave",function(){p.props.interactive&&p.props.trigger.indexOf("mouseenter")>=0&&ke().addEventListener("mousemove",x)}),p;function ae(){var _=p.props.touch;return Array.isArray(_)?_:[_,0]}function oe(){return ae()[0]==="hold"}function ee(){var _;return!!((_=p.props.render)!=null&&_.$$tippy)}function pe(){return k||e}function ke(){var _=pe().parentNode;return _?Zf(_):document}function Ae(){return uo(P)}function re(_){return p.state.isMounted&&!p.state.isVisible||at.isTouch||c&&c.type==="focus"?0:Fi(p.props.delay,_?0:1,tt.delay)}function X(_){_===void 0&&(_=!1),P.style.pointerEvents=p.props.interactive&&!_?"":"none",P.style.zIndex=""+p.props.zIndex}function z(_,N,j){if(j===void 0&&(j=!0),J.forEach(function(se){se[_]&&se[_].apply(se,N)}),j){var te;(te=p.props)[_].apply(te,N)}}function _e(){var _=p.props.aria;if(!!_.content){var N="aria-"+_.content,j=P.id,te=Zt(p.props.triggerTarget||e);te.forEach(function(se){var Se=se.getAttribute(N);if(p.state.isVisible)se.setAttribute(N,Se?Se+" "+j:j);else{var Ke=Se&&Se.replace(j,"").trim();Ke?se.setAttribute(N,Ke):se.removeAttribute(N)}})}}function Ie(){if(!(Z||!p.props.aria.expanded)){var _=Zt(p.props.triggerTarget||e);_.forEach(function(N){p.props.interactive?N.setAttribute("aria-expanded",p.state.isVisible&&N===pe()?"true":"false"):N.removeAttribute("aria-expanded")})}}function Pe(){ke().removeEventListener("mousemove",x),Zn=Zn.filter(function(_){return _!==x})}function we(_){if(!(at.isTouch&&(l||_.type==="mousedown"))){var N=_.composedPath&&_.composedPath()[0]||_.target;if(!(p.props.interactive&&Lr(P,N))){if(Zt(p.props.triggerTarget||e).some(function(j){return Lr(j,N)})){if(at.isTouch||p.state.isVisible&&p.props.trigger.indexOf("click")>=0)return}else z("onClickOutside",[p,_]);p.props.hideOnClick===!0&&(p.clearDelayTimeouts(),p.hide(),a=!0,setTimeout(function(){a=!1}),p.state.isMounted||S())}}}function xe(){l=!0}function Fe(){l=!1}function b(){var _=ke();_.addEventListener("mousedown",we,!0),_.addEventListener("touchend",we,Dt),_.addEventListener("touchstart",Fe,Dt),_.addEventListener("touchmove",xe,Dt)}function S(){var _=ke();_.removeEventListener("mousedown",we,!0),_.removeEventListener("touchend",we,Dt),_.removeEventListener("touchstart",Fe,Dt),_.removeEventListener("touchmove",xe,Dt)}function I(_,N){ce(_,function(){!p.state.isVisible&&P.parentNode&&P.parentNode.contains(P)&&N()})}function D(_,N){ce(_,N)}function ce(_,N){var j=Ae().box;function te(se){se.target===j&&(Ui(j,"remove",te),N())}if(_===0)return N();Ui(j,"remove",h),Ui(j,"add",te),h=te}function le(_,N,j){j===void 0&&(j=!1);var te=Zt(p.props.triggerTarget||e);te.forEach(function(se){se.addEventListener(_,N,j),g.push({node:se,eventType:_,handler:N,options:j})})}function Y(){oe()&&(le("touchstart",f,{passive:!0}),le("touchend",v,{passive:!0})),zf(p.props.trigger).forEach(function(_){if(_!=="manual")switch(le(_,f),_){case"mouseenter":le("mouseleave",v);break;case"focus":le(op?"focusout":"blur",w);break;case"focusin":le("focusout",w);break}})}function K(){g.forEach(function(_){var N=_.node,j=_.eventType,te=_.handler,se=_.options;N.removeEventListener(j,te,se)}),g=[]}function f(_){var N,j=!1;if(!(!p.state.isEnabled||y(_)||a)){var te=((N=c)==null?void 0:N.type)==="focus";c=_,k=_.currentTarget,Ie(),!p.state.isVisible&&Qf(_)&&Zn.forEach(function(se){return se(_)}),_.type==="click"&&(p.props.trigger.indexOf("mouseenter")<0||s)&&p.props.hideOnClick!==!1&&p.state.isVisible?j=!0:C(_),_.type==="click"&&(s=!j),j&&!te&&$(_)}}function d(_){var N=_.target,j=pe().contains(N)||P.contains(N);if(!(_.type==="mousemove"&&j)){var te=A().concat(P).map(function(se){var Se,Ke=se._tippy,Kt=(Se=Ke.popperInstance)==null?void 0:Se.state;return Kt?{popperRect:se.getBoundingClientRect(),popperState:Kt,props:n}:null}).filter(Boolean);Gf(te,_)&&(Pe(),$(_))}}function v(_){var N=y(_)||p.props.trigger.indexOf("click")>=0&&s;if(!N){if(p.props.interactive){p.hideWithInteractivity(_);return}$(_)}}function w(_){p.props.trigger.indexOf("focusin")<0&&_.target!==pe()||p.props.interactive&&_.relatedTarget&&P.contains(_.relatedTarget)||$(_)}function y(_){return at.isTouch?oe()!==_.type.indexOf("touch")>=0:!1}function R(){M();var _=p.props,N=_.popperOptions,j=_.placement,te=_.offset,se=_.getReferenceClientRect,Se=_.moveTransition,Ke=ee()?uo(P).arrow:null,Kt=se?{getBoundingClientRect:se,contextElement:se.contextElement||pe()}:e,zo={name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(Wn){var Yt=Wn.state;if(ee()){var Ba=Ae(),Si=Ba.box;["placement","reference-hidden","escaped"].forEach(function(qn){qn==="placement"?Si.setAttribute("data-placement",Yt.placement):Yt.attributes.popper["data-popper-"+qn]?Si.setAttribute("data-"+qn,""):Si.removeAttribute("data-"+qn)}),Yt.attributes.popper={}}}},Mt=[{name:"offset",options:{offset:te}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5}},{name:"computeStyles",options:{adaptive:!Se}},zo];ee()&&Ke&&Mt.push({name:"arrow",options:{element:Ke,padding:3}}),Mt.push.apply(Mt,(N==null?void 0:N.modifiers)||[]),p.popperInstance=Uf(Kt,P,Object.assign({},N,{placement:j,onFirstUpdate:m,modifiers:Mt}))}function M(){p.popperInstance&&(p.popperInstance.destroy(),p.popperInstance=null)}function O(){var _=p.props.appendTo,N,j=pe();p.props.interactive&&_===va||_==="parent"?N=j.parentNode:N=ga(_,[j]),N.contains(P)||N.appendChild(P),p.state.isMounted=!0,R()}function A(){return vi(P.querySelectorAll("[data-tippy-root]"))}function C(_){p.clearDelayTimeouts(),_&&z("onTrigger",[p,_]),b();var N=re(!0),j=ae(),te=j[0],se=j[1];at.isTouch&&te==="hold"&&se&&(N=se),N?i=setTimeout(function(){p.show()},N):p.show()}function $(_){if(p.clearDelayTimeouts(),z("onUntrigger",[p,_]),!p.state.isVisible){S();return}if(!(p.props.trigger.indexOf("mouseenter")>=0&&p.props.trigger.indexOf("click")>=0&&["mouseleave","mousemove"].indexOf(_.type)>=0&&s)){var N=re(!1);N?o=setTimeout(function(){p.state.isVisible&&p.hide()},N):r=requestAnimationFrame(function(){p.hide()})}}function B(){p.state.isEnabled=!0}function V(){p.hide(),p.state.isEnabled=!1}function q(){clearTimeout(i),clearTimeout(o),cancelAnimationFrame(r)}function ie(_){if(!p.state.isDestroyed){z("onBeforeUpdate",[p,_]),K();var N=p.props,j=Br(e,Object.assign({},N,Pr(_),{ignoreAttributes:!0}));p.props=j,Y(),N.interactiveDebounce!==j.interactiveDebounce&&(Pe(),x=Rr(d,j.interactiveDebounce)),N.triggerTarget&&!j.triggerTarget?Zt(N.triggerTarget).forEach(function(te){te.removeAttribute("aria-expanded")}):j.triggerTarget&&e.removeAttribute("aria-expanded"),Ie(),X(),H&&H(N,j),p.popperInstance&&(R(),A().forEach(function(te){requestAnimationFrame(te._tippy.popperInstance.forceUpdate)})),z("onAfterUpdate",[p,_])}}function de(_){p.setProps({content:_})}function he(){var _=p.state.isVisible,N=p.state.isDestroyed,j=!p.state.isEnabled,te=at.isTouch&&!p.props.touch,se=Fi(p.props.duration,0,tt.duration);if(!(_||N||j||te)&&!pe().hasAttribute("disabled")&&(z("onShow",[p],!1),p.props.onShow(p)!==!1)){if(p.state.isVisible=!0,ee()&&(P.style.visibility="visible"),X(),b(),p.state.isMounted||(P.style.transition="none"),ee()){var Se=Ae(),Ke=Se.box,Kt=Se.content;Vi([Ke,Kt],0)}m=function(){var Mt;if(!(!p.state.isVisible||u)){if(u=!0,P.offsetHeight,P.style.transition=p.props.moveTransition,ee()&&p.props.animation){var Li=Ae(),Wn=Li.box,Yt=Li.content;Vi([Wn,Yt],se),Mr([Wn,Yt],"visible")}_e(),Ie(),Ir(ri,p),(Mt=p.popperInstance)==null||Mt.forceUpdate(),z("onMount",[p]),p.props.animation&&ee()&&D(se,function(){p.state.isShown=!0,z("onShown",[p])})}},O()}}function me(){var _=!p.state.isVisible,N=p.state.isDestroyed,j=!p.state.isEnabled,te=Fi(p.props.duration,1,tt.duration);if(!(_||N||j)&&(z("onHide",[p],!1),p.props.onHide(p)!==!1)){if(p.state.isVisible=!1,p.state.isShown=!1,u=!1,s=!1,ee()&&(P.style.visibility="hidden"),Pe(),S(),X(!0),ee()){var se=Ae(),Se=se.box,Ke=se.content;p.props.animation&&(Vi([Se,Ke],te),Mr([Se,Ke],"hidden"))}_e(),Ie(),p.props.animation?ee()&&I(te,p.unmount):p.unmount()}}function Ve(_){ke().addEventListener("mousemove",x),Ir(Zn,x),x(_)}function bt(){p.state.isVisible&&p.hide(),p.state.isMounted&&(M(),A().forEach(function(_){_._tippy.unmount()}),P.parentNode&&P.parentNode.removeChild(P),ri=ri.filter(function(_){return _!==p}),p.state.isMounted=!1,z("onHidden",[p]))}function Un(){p.state.isDestroyed||(p.clearDelayTimeouts(),p.unmount(),K(),delete e._tippy,p.state.isDestroyed=!0,z("onDestroy",[p]))}}function Vn(e,t){t===void 0&&(t={});var n=tt.plugins.concat(t.plugins||[]);np();var i=Object.assign({},t,{plugins:n}),o=Jf(e),r=o.reduce(function(s,a){var l=a&&pp(a,i);return l&&s.push(l),s},[]);return Pi(e)?r[0]:r}Vn.defaultProps=tt;Vn.setDefaultProps=lp;Vn.currentInput=at;var Hr=function(t){var n=t===void 0?{}:t,i=n.exclude,o=n.duration;ri.forEach(function(r){var s=!1;if(i&&(s=_a(i)?r.reference===i:r.popper===i.popper),!s){var a=r.props.duration;r.setProps({duration:o}),r.hide(),r.state.isDestroyed||r.setProps({duration:a})}})};Object.assign({},sa,{effect:function(t){var n=t.state,i={popper:{position:n.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};Object.assign(n.elements.popper.style,i.popper),n.styles=i,n.elements.arrow&&Object.assign(n.elements.arrow.style,i.arrow)}});Vn.setDefaultProps({render:wa});const dp={name:"desktop-menu-item-link",props:{option:{type:Object,required:!0},options:{type:Object,required:!0}},data(){return{currentExpandedStatus:"closed"}},computed:{isExpanded(){return this.currentExpandedStatus==="open"}},methods:{subMenuItemSelected(e){this.closeAllTooltips()},subMenuItemTabbed(e){this.option.subMenuOptions[this.option.subMenuOptions.length-1].text===e&&this.closeAllTooltips()},menuShown(){this.currentExpandedStatus="open"},menuHidden(){this.currentExpandedStatus="closed"},closeAllTooltips(){Hr()},initTippy(){let e=document.getElementById("dropdown-menu-parent-"+this.option.id);const t=document.getElementById("sub-menu-options-"+this.option.id);t.style.display="block",Vn(e,{theme:"light",content:t,interactive:!0,animation:this.options.tooltipAnimationType,role:"Menu",trigger:"click mouseenter focus",appendTo:"parent",arrow:!0,inertia:!1,placement:this.options.tooltipPlacement,popperOptions:{modifiers:[{name:"flip",options:{fallbackPlacements:[this.options.tooltipPlacement]}}]},onShow:n=>{Hr({exclude:n}),this.menuShown()},onHide:()=>{this.menuHidden()}})}},mounted(){this.option.subMenuOptions&&this.option.subMenuOptions.length&&this.initTippy()},components:{DynamicLink:Ri},emits:["vnb-item-clicked"]},hp=["innerHTML"],mp=["innerHTML"],vp=["id","aria-expanded","aria-label"],gp=["innerHTML"],_p=["innerHTML"],bp=ye("title",null,"Toggle Arrow",-1),yp=ye("path",{d:"m12 268c-7-7-12-17-12-23 0-13 232-245 245-245 6 0 64 54 129 119 119 119 132 142 90 158-11 4-44-23-113-91-53-53-101-96-106-96-6 0-53 43-105 95s-99 95-105 95-16-5-23-12z",transform:"matrix(.1 0 0 -.1 0 28)"},null,-1),wp=[bp,yp],xp=["id"],Cp={class:"vnb__sub-menu-options__option",tabindex:"-1"},Ep=["innerHTML"],Op={class:"vnb__sub-menu-options__option__link__text-wrapper"},kp={class:"vnb__sub-menu-options__option__link__text-wrapper__text"},Ap={key:0,class:"vnb__sub-menu-options__option__link__text-wrapper__sub-text"},Tp=["innerHTML"],Rp={key:1,class:"vnb__sub-menu-options__option__hr",tabindex:"-1"};function Ip(e,t,n,i,o,r){const s=qe("dynamic-link");return!n.option.subMenuOptions||!n.option.subMenuOptions.length?(U(),He(s,{key:0,path:n.option.path,isUsingVueRouter:n.options.isUsingVueRouter,class:"vnb__menu-options__option__link","aria-label":n.option.text,tabindex:"0",isLinkAction:!!n.option.isLinkAction,onClick:t[0]||(t[0]=a=>e.$emit("vnb-item-clicked",n.option.text))},{content:ft(()=>[n.option.iconLeft?(U(),G("span",{key:0,class:"vnb__menu-options__option__link__icon vnb__menu-options__option__button__icon--left",innerHTML:n.option.iconLeft},null,8,hp)):be("",!0),rn(" "+mt(n.option.text)+" ",1),n.option.iconRight?(U(),G("span",{key:1,class:"vnb__menu-options__option__link__icon vnb__menu-options__option__button__icon--right",innerHTML:n.option.iconRight},null,8,mp)):be("",!0)]),_:1},8,["path","isUsingVueRouter","aria-label","isLinkAction"])):(U(),G("span",{key:1,class:"vnb__menu-options__option__link",id:"dropdown-menu-parent-"+n.option.id,"aria-haspopup":"true","aria-expanded":r.isExpanded?"true":"false","aria-label":n.option.text,tabindex:"0"},[n.option.iconLeft?(U(),G("span",{key:0,class:"vnb__menu-options__option__link__icon vnb__menu-options__option__button__icon--left",innerHTML:n.option.iconLeft},null,8,gp)):be("",!0),rn(" "+mt(n.option.text)+" ",1),n.option.iconRight?(U(),G("span",{key:1,class:"vnb__menu-options__option__link__icon vnb__menu-options__option__button__icon--right",innerHTML:n.option.iconRight},null,8,_p)):be("",!0),(U(),G("svg",{height:"28pt",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 49 28",width:"49pt",xmlns:"http://www.w3.org/2000/svg",style:qt({fill:n.option.arrowColor}),class:It(["vnb__menu-options__option__arrow",{"vnb__menu-options__option__arrow--hover":r.isExpanded}])},wp,6)),n.option.type==="link"?(U(),G("div",{key:2,class:"vnb__sub-menu-options",id:"sub-menu-options-"+n.option.id},[ye("div",Cp,[(U(!0),G(Te,null,di(n.option.subMenuOptions,(a,l)=>(U(),G("div",null,[a.type==="link"?(U(),He(s,{path:a.path,isUsingVueRouter:n.options.isUsingVueRouter,key:l,class:"vnb__sub-menu-options__option__link",onClick:u=>{r.subMenuItemSelected(a.text),e.$emit("vnb-item-clicked",a.text)},"aria-label":a.text,tabindex:"0",onKeydown:ou(u=>r.subMenuItemTabbed(a.text),["tab"]),isLinkAction:!!a.isLinkAction},{content:ft(()=>[a.iconLeft?(U(),G("span",{key:0,class:"vnb__sub-menu-options__option__link__icon vnb__sub-menu-options__option__link__icon--left",innerHTML:a.iconLeft},null,8,Ep)):be("",!0),ye("span",Op,[ye("span",kp,mt(a.text),1),a.subText?(U(),G("span",Ap,mt(a.subText),1)):be("",!0)]),a.iconRight?(U(),G("span",{key:1,class:"vnb__sub-menu-options__option__link__icon vnb__sub-menu-options__option__link__icon--right",innerHTML:a.iconRight},null,8,Tp)):be("",!0)]),_:2},1032,["path","isUsingVueRouter","onClick","aria-label","onKeydown","isLinkAction"])):(U(),G("hr",Rp))]))),256))])],8,xp)):be("",!0)],8,vp))}var Pp=dt(dp,[["render",Ip]]);const Mp={name:"desktop-menu-item-spacer",props:{option:{type:Object,required:!0}},data(){return{}}},Lp={class:"vnb__menu-options__option__spacer"};function Sp(e,t,n,i,o,r){return U(),G("div",Lp)}var Bp=dt(Mp,[["render",Sp]]);const Dp={name:"menu-options",mixins:[So],props:{options:{type:Object,required:!0},type:{type:String,required:!0}},data(){return{}},methods:{vnbItemClicked(e){this.$emit("vnb-item-clicked",e)}},components:{DesktopMenuItemLink:Pp,DesktopMenuItemButton:Nu,DesktopMenuItemSpacer:Bp},emits:["vnb-item-clicked"]};function Np(e,t,n,i,o,r){const s=qe("desktop-menu-item-link"),a=qe("desktop-menu-item-button"),l=qe("desktop-menu-item-spacer");return e.$vssWidth>n.options.mobileBreakpoint?(U(),G("div",{key:0,class:It(["vnb__menu-options",{"vnb__menu-options--left":n.type==="left"},{"vnb__menu-options--right":n.type==="right"}])},[(U(!0),G(Te,null,di(n.type==="left"?n.options.menuOptionsLeft:n.options.menuOptionsRight,(u,c)=>(U(),G("div",{key:c,class:"vnb__menu-options__option"},[u.type==="link"?(U(),He(s,{key:0,option:u,options:n.options,onVnbItemClicked:r.vnbItemClicked},null,8,["option","options","onVnbItemClicked"])):u.type==="button"?(U(),He(a,{key:1,option:u,options:n.options,onVnbItemClicked:r.vnbItemClicked},null,8,["option","options","onVnbItemClicked"])):(U(),He(l,{key:2,option:u},null,8,["option"]))]))),128))],2)):be("",!0)}var Hp=dt(Dp,[["render",Np]]);const $p={name:"popup",props:{options:{type:Object,required:!0},menuIsVisible:{type:Boolean,required:!0}},data(){return{}},computed:{combinedMenuItems(){return this.options.menuOptionsLeft.concat(this.options.menuOptionsRight)}},methods:{closeButtonClicked(){this.$emit("close-button-clicked")},itemSelected(e){this.$emit("vnb-item-clicked",e.text),this.closeButtonClicked()}},components:{DynamicLink:Ri},emits:["close-button-clicked","vnb-item-clicked"]},jp={key:0,class:"vnb__popup"},Fp={class:"vnb__popup__top"},Vp=["src","alt"],Up=["aria-expanded"],Wp=["src"],qp=ye("title",null,"Close button",-1),zp=ye("path",{d:"m42 967c-12-13-22-27-22-33 0-5 93-102 207-216l208-208-208-208c-114-114-207-214-207-223 0-8 11-26 25-39l26-24 214 214 215 215 215-215 214-214 26 24c14 13 25 28 25 34s-92 103-205 216-205 209-205 215 92 102 205 215 205 210 205 216c0 12-42 54-55 54-5 0-104-94-220-210l-210-210-210 210c-115 116-212 210-216 210-3 0-15-10-27-23z",transform:"matrix(.1 0 0 -.1 0 100)"},null,-1),Kp=[qp,zp],Yp={class:"vnb__popup__bottom"},Xp={key:0,class:"vnb__popup__bottom__custom-section"},Qp={class:"vnb__popup__bottom__menu-options"},Jp=["innerHTML"],Zp=["innerHTML"],Gp={key:1,class:"vnb__popup__bottom__menu-options__option__link vnb__popup__bottom__menu-options__option__link--no-highlight"},ed={class:"vnb__popup__bottom__sub-menu-options"},td={class:"vnb__popup__bottom__sub-menu-options__option__link__sub-text"};function nd(e,t,n,i,o,r){const s=qe("dynamic-link");return n.menuIsVisible?(U(),G("div",jp,[ye("div",Fp,[n.options.showBrandImageInMobilePopup&&n.options.brandImage?(U(),G("img",{key:0,src:n.options.brandImage,alt:n.options.brandImageAltText,class:"vnb-image vnb__popup__top__image"},null,8,Vp)):be("",!0),ye("button",{class:"vnb__popup__top__close-button",onClick:t[0]||(t[0]=(...a)=>r.closeButtonClicked&&r.closeButtonClicked(...a)),"aria-label":"Close Button",title:"Close","aria-expanded":n.menuIsVisible?"true":"false"},[n.options.collapseButtonImageClose?(U(),G("img",{key:0,src:n.options.collapseButtonImageClose,alt:"Close button",class:"vnb__popup__top__close-button__image"},null,8,Wp)):(U(),G("svg",{key:1,height:"100pt",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 100 100",width:"100pt",xmlns:"http://www.w3.org/2000/svg",class:"vnb__popup__top__close-button__image",style:qt({fill:n.options.collapseButtonCloseColor})},Kp,4))],8,Up)]),ye("div",Yp,[this.$slots["custom-section"]?(U(),G("div",Xp,[$t(e.$slots,"custom-section")])):be("",!0),ye("ul",Qp,[(U(!0),G(Te,null,di(r.combinedMenuItems,(a,l)=>(U(),G("li",{key:l,class:"vnb__popup__bottom__menu-options__option"},[a.subMenuOptions?(U(),G("span",Gp,mt(a.text),1)):(U(),He(s,{key:0,path:a.path,isUsingVueRouter:n.options.isUsingVueRouter,class:It(["vnb__popup__bottom__menu-options__option__link",a.class]),onClick:u=>r.itemSelected(a),"aria-label":a.text,isLinkAction:!!a.isLinkAction},{content:ft(()=>[a.iconLeft?(U(),G("span",{key:0,class:"vnb__popup__bottom__menu-options__option__link__icon vnb__popup__bottom__menu-options__option__link__icon--left",innerHTML:a.iconLeft},null,8,Jp)):be("",!0),rn(" "+mt(a.text)+" ",1),a.iconRight?(U(),G("span",{key:1,class:"vnb__popup__bottom__menu-options__option__link__icon vnb__popup__bottom__menu-options__option__link__icon--right",innerHTML:a.iconRight},null,8,Zp)):be("",!0)]),_:2},1032,["path","isUsingVueRouter","class","onClick","aria-label","isLinkAction"])),ye("div",ed,[(U(!0),G(Te,null,di(a.subMenuOptions,(u,c)=>(U(),G("div",{key:c,class:"vnb__popup__bottom__sub-menu-options__option"},[u.type==="link"?(U(),He(s,{key:0,path:u.path,isUsingVueRouter:n.options.isUsingVueRouter,class:"vnb__popup__bottom__sub-menu-options__option__link",onClick:h=>r.itemSelected(u),"aria-label":u.text,isLinkAction:!!a.isLinkAction},{content:ft(()=>[rn(mt(u.text)+" ",1),ye("span",td,mt(u.subText),1)]),_:2},1032,["path","isUsingVueRouter","onClick","aria-label","isLinkAction"])):be("",!0)]))),128))])]))),128))])])])):be("",!0)}var id=dt($p,[["render",nd]]);const od={name:"vue-navigation-bar",mixins:[So],props:{options:{type:Object,required:!0}},data(){return{menuIsVisible:!1}},computed:{finalOptions(){if(this.options.menuOptionsLeft)for(let e=0;en.options.mobileBreakpoint?$t(e.$slots,"custom-section",{key:0}):be("",!0),Ce(a,{options:r.finalOptions,type:"right",onVnbItemClicked:r.vnbItemClicked},null,8,["options","onVnbItemClicked"]),r.finalOptions.menuOptionsLeft.length||r.finalOptions.menuOptionsRight.length?(U(),He(l,{key:1,options:r.finalOptions,menuIsVisible:o.menuIsVisible,onCollapseButtonClicked:r.showMobilePopup},null,8,["options","menuIsVisible","onCollapseButtonClicked"])):be("",!0),r.finalOptions.menuOptionsLeft.length||r.finalOptions.menuOptionsRight.length?(U(),He(u,{key:2,options:r.finalOptions,menuIsVisible:o.menuIsVisible,onCloseButtonClicked:r.closeMobilePopup,onVnbItemClicked:r.vnbItemClicked},{"custom-section":ft(()=>[$t(e.$slots,"custom-section")]),_:3},8,["options","menuIsVisible","onCloseButtonClicked","onVnbItemClicked"])):be("",!0)],8,rd)}var xa=dt(od,[["render",sd]]);function fo(e){fo.installed||(fo.installed=!0,e.component("VueNavigationBar",xa))}const ad={install:fo};let gi=null;typeof window!="undefined"?gi=window.Vue:typeof global!="undefined"&&(gi=global.Vue);gi&&gi.use(ad);/*! - * vue-router v4.0.15 - * (c) 2022 Eduardo San Martin Morote - * @license MIT - */const Ca=typeof Symbol=="function"&&typeof Symbol.toStringTag=="symbol",vn=e=>Ca?Symbol(e):"_vr_"+e,ld=vn("rvlm"),$r=vn("rvd"),Uo=vn("r"),Ea=vn("rl"),po=vn("rvl"),Gt=typeof window!="undefined";function cd(e){return e.__esModule||Ca&&e[Symbol.toStringTag]==="Module"}const ve=Object.assign;function Wi(e,t){const n={};for(const i in t){const o=t[i];n[i]=Array.isArray(o)?o.map(e):e(o)}return n}const Rn=()=>{},ud=/\/$/,fd=e=>e.replace(ud,"");function qi(e,t,n="/"){let i,o={},r="",s="";const a=t.indexOf("?"),l=t.indexOf("#",a>-1?a:0);return a>-1&&(i=t.slice(0,a),r=t.slice(a+1,l>-1?l:t.length),o=e(r)),l>-1&&(i=i||t.slice(0,l),s=t.slice(l,t.length)),i=md(i!=null?i:t,n),{fullPath:i+(r&&"?")+r+s,path:i,query:o,hash:s}}function pd(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function jr(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function dd(e,t,n){const i=t.matched.length-1,o=n.matched.length-1;return i>-1&&i===o&&pn(t.matched[i],n.matched[o])&&Oa(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function pn(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Oa(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!hd(e[n],t[n]))return!1;return!0}function hd(e,t){return Array.isArray(e)?Fr(e,t):Array.isArray(t)?Fr(t,e):e===t}function Fr(e,t){return Array.isArray(t)?e.length===t.length&&e.every((n,i)=>n===t[i]):e.length===1&&e[0]===t}function md(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),i=e.split("/");let o=n.length-1,r,s;for(r=0;r({left:window.pageXOffset,top:window.pageYOffset});function yd(e){let t;if("el"in e){const n=e.el,i=typeof n=="string"&&n.startsWith("#"),o=typeof n=="string"?i?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!o)return;t=bd(o,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.pageXOffset,t.top!=null?t.top:window.pageYOffset)}function Vr(e,t){return(history.state?history.state.position-t:-1)+e}const ho=new Map;function wd(e,t){ho.set(e,t)}function xd(e){const t=ho.get(e);return ho.delete(e),t}let Cd=()=>location.protocol+"//"+location.host;function ka(e,t){const{pathname:n,search:i,hash:o}=t,r=e.indexOf("#");if(r>-1){let a=o.includes(e.slice(r))?e.slice(r).length:1,l=o.slice(a);return l[0]!=="/"&&(l="/"+l),jr(l,"")}return jr(n,e)+i+o}function Ed(e,t,n,i){let o=[],r=[],s=null;const a=({state:m})=>{const g=ka(e,location),x=n.value,k=t.value;let E=0;if(m){if(n.value=g,t.value=m,s&&s===x){s=null;return}E=k?m.position-k.position:0}else i(g);o.forEach(T=>{T(n.value,x,{delta:E,type:Hn.pop,direction:E?E>0?In.forward:In.back:In.unknown})})};function l(){s=n.value}function u(m){o.push(m);const g=()=>{const x=o.indexOf(m);x>-1&&o.splice(x,1)};return r.push(g),g}function c(){const{history:m}=window;!m.state||m.replaceState(ve({},m.state,{scroll:Mi()}),"")}function h(){for(const m of r)m();r=[],window.removeEventListener("popstate",a),window.removeEventListener("beforeunload",c)}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",c),{pauseListeners:l,listen:u,destroy:h}}function Ur(e,t,n,i=!1,o=!1){return{back:e,current:t,forward:n,replaced:i,position:window.history.length,scroll:o?Mi():null}}function Od(e){const{history:t,location:n}=window,i={value:ka(e,n)},o={value:t.state};o.value||r(i.value,{back:null,current:i.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function r(l,u,c){const h=e.indexOf("#"),m=h>-1?(n.host&&document.querySelector("base")?e:e.slice(h))+l:Cd()+e+l;try{t[c?"replaceState":"pushState"](u,"",m),o.value=u}catch(g){console.error(g),n[c?"replace":"assign"](m)}}function s(l,u){const c=ve({},t.state,Ur(o.value.back,l,o.value.forward,!0),u,{position:o.value.position});r(l,c,!0),i.value=l}function a(l,u){const c=ve({},o.value,t.state,{forward:l,scroll:Mi()});r(c.current,c,!0);const h=ve({},Ur(i.value,l,null),{position:c.position+1},u);r(l,h,!1),i.value=l}return{location:i,state:o,push:a,replace:s}}function kd(e){e=vd(e);const t=Od(e),n=Ed(e,t.state,t.location,t.replace);function i(r,s=!0){s||n.pauseListeners(),history.go(r)}const o=ve({location:"",base:e,go:i,createHref:_d.bind(null,e)},t,n);return Object.defineProperty(o,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(o,"state",{enumerable:!0,get:()=>t.state.value}),o}function Ad(e){return typeof e=="string"||e&&typeof e=="object"}function Aa(e){return typeof e=="string"||typeof e=="symbol"}const wt={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},Ta=vn("nf");var Wr;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(Wr||(Wr={}));function dn(e,t){return ve(new Error,{type:e,[Ta]:!0},t)}function xt(e,t){return e instanceof Error&&Ta in e&&(t==null||!!(e.type&t))}const qr="[^/]+?",Td={sensitive:!1,strict:!1,start:!0,end:!0},Rd=/[.+*?^${}()[\]/\\]/g;function Id(e,t){const n=ve({},Td,t),i=[];let o=n.start?"^":"";const r=[];for(const u of e){const c=u.length?[]:[90];n.strict&&!u.length&&(o+="/");for(let h=0;h1&&(c.endsWith("/")?c=c.slice(0,-1):h=!0);else throw new Error(`Missing required param "${x}"`);c+=L}}return c}return{re:s,score:i,keys:r,parse:a,stringify:l}}function Pd(e,t){let n=0;for(;nt.length?t.length===1&&t[0]===40+40?1:-1:0}function Md(e,t){let n=0;const i=e.score,o=t.score;for(;n1&&(l==="*"||l==="+")&&t(`A repeatable param (${u}) must be alone in its segment. eg: '/:ids+.`),r.push({type:1,value:u,regexp:c,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):t("Invalid state to consume buffer"),u="")}function m(){u+=l}for(;a{s(L)}:Rn}function s(c){if(Aa(c)){const h=i.get(c);h&&(i.delete(c),n.splice(n.indexOf(h),1),h.children.forEach(s),h.alias.forEach(s))}else{const h=n.indexOf(c);h>-1&&(n.splice(h,1),c.record.name&&i.delete(c.record.name),c.children.forEach(s),c.alias.forEach(s))}}function a(){return n}function l(c){let h=0;for(;h=0&&(c.record.path!==n[h].record.path||!Ra(c,n[h]));)h++;n.splice(h,0,c),c.record.name&&!zr(c)&&i.set(c.record.name,c)}function u(c,h){let m,g={},x,k;if("name"in c&&c.name){if(m=i.get(c.name),!m)throw dn(1,{location:c});k=m.record.name,g=ve(Hd(h.params,m.keys.filter(L=>!L.optional).map(L=>L.name)),c.params),x=m.stringify(g)}else if("path"in c)x=c.path,m=n.find(L=>L.re.test(x)),m&&(g=m.parse(x),k=m.record.name);else{if(m=h.name?i.get(h.name):n.find(L=>L.re.test(h.path)),!m)throw dn(1,{location:c,currentLocation:h});k=m.record.name,g=ve({},h.params,c.params),x=m.stringify(g)}const E=[];let T=m;for(;T;)E.unshift(T.record),T=T.parent;return{name:k,path:x,params:g,matched:E,meta:Fd(E)}}return e.forEach(c=>r(c)),{addRoute:r,resolve:u,removeRoute:s,getRoutes:a,getRecordMatcher:o}}function Hd(e,t){const n={};for(const i of t)i in e&&(n[i]=e[i]);return n}function $d(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:jd(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||{}:{default:e.component}}}function jd(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const i in e.components)t[i]=typeof n=="boolean"?n:n[i];return t}function zr(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function Fd(e){return e.reduce((t,n)=>ve(t,n.meta),{})}function Kr(e,t){const n={};for(const i in e)n[i]=i in t?t[i]:e[i];return n}function Ra(e,t){return t.children.some(n=>n===e||Ra(e,n))}const Ia=/#/g,Vd=/&/g,Ud=/\//g,Wd=/=/g,qd=/\?/g,Pa=/\+/g,zd=/%5B/g,Kd=/%5D/g,Ma=/%5E/g,Yd=/%60/g,La=/%7B/g,Xd=/%7C/g,Sa=/%7D/g,Qd=/%20/g;function Wo(e){return encodeURI(""+e).replace(Xd,"|").replace(zd,"[").replace(Kd,"]")}function Jd(e){return Wo(e).replace(La,"{").replace(Sa,"}").replace(Ma,"^")}function mo(e){return Wo(e).replace(Pa,"%2B").replace(Qd,"+").replace(Ia,"%23").replace(Vd,"%26").replace(Yd,"`").replace(La,"{").replace(Sa,"}").replace(Ma,"^")}function Zd(e){return mo(e).replace(Wd,"%3D")}function Gd(e){return Wo(e).replace(Ia,"%23").replace(qd,"%3F")}function eh(e){return e==null?"":Gd(e).replace(Ud,"%2F")}function _i(e){try{return decodeURIComponent(""+e)}catch{}return""+e}function th(e){const t={};if(e===""||e==="?")return t;const i=(e[0]==="?"?e.slice(1):e).split("&");for(let o=0;or&&mo(r)):[i&&mo(i)]).forEach(r=>{r!==void 0&&(t+=(t.length?"&":"")+n,r!=null&&(t+="="+r))})}return t}function nh(e){const t={};for(const n in e){const i=e[n];i!==void 0&&(t[n]=Array.isArray(i)?i.map(o=>o==null?null:""+o):i==null?i:""+i)}return t}function _n(){let e=[];function t(i){return e.push(i),()=>{const o=e.indexOf(i);o>-1&&e.splice(o,1)}}function n(){e=[]}return{add:t,list:()=>e,reset:n}}function Ot(e,t,n,i,o){const r=i&&(i.enterCallbacks[o]=i.enterCallbacks[o]||[]);return()=>new Promise((s,a)=>{const l=h=>{h===!1?a(dn(4,{from:n,to:t})):h instanceof Error?a(h):Ad(h)?a(dn(2,{from:t,to:h})):(r&&i.enterCallbacks[o]===r&&typeof h=="function"&&r.push(h),s())},u=e.call(i&&i.instances[o],t,n,l);let c=Promise.resolve(u);e.length<3&&(c=c.then(l)),c.catch(h=>a(h))})}function zi(e,t,n,i){const o=[];for(const r of e)for(const s in r.components){let a=r.components[s];if(!(t!=="beforeRouteEnter"&&!r.instances[s]))if(ih(a)){const u=(a.__vccOpts||a)[t];u&&o.push(Ot(u,n,i,r,s))}else{let l=a();o.push(()=>l.then(u=>{if(!u)return Promise.reject(new Error(`Couldn't resolve component "${s}" at "${r.path}"`));const c=cd(u)?u.default:u;r.components[s]=c;const m=(c.__vccOpts||c)[t];return m&&Ot(m,n,i,r,s)()}))}}return o}function ih(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function Xr(e){const t=Tt(Uo),n=Tt(Ea),i=lt(()=>t.resolve(xn(e.to))),o=lt(()=>{const{matched:l}=i.value,{length:u}=l,c=l[u-1],h=n.matched;if(!c||!h.length)return-1;const m=h.findIndex(pn.bind(null,c));if(m>-1)return m;const g=Qr(l[u-2]);return u>1&&Qr(c)===g&&h[h.length-1].path!==g?h.findIndex(pn.bind(null,l[u-2])):m}),r=lt(()=>o.value>-1&&ah(n.params,i.value.params)),s=lt(()=>o.value>-1&&o.value===n.matched.length-1&&Oa(n.params,i.value.params));function a(l={}){return sh(l)?t[xn(e.replace)?"replace":"push"](xn(e.to)).catch(Rn):Promise.resolve()}return{route:i,href:lt(()=>i.value.href),isActive:r,isExactActive:s,navigate:a}}const oh=Ds({name:"RouterLink",props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:Xr,setup(e,{slots:t}){const n=$n(Xr(e)),{options:i}=Tt(Uo),o=lt(()=>({[Jr(e.activeClass,i.linkActiveClass,"router-link-active")]:n.isActive,[Jr(e.exactActiveClass,i.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const r=t.default&&t.default(n);return e.custom?r:na("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:o.value},r)}}}),rh=oh;function sh(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function ah(e,t){for(const n in t){const i=t[n],o=e[n];if(typeof i=="string"){if(i!==o)return!1}else if(!Array.isArray(o)||o.length!==i.length||i.some((r,s)=>r!==o[s]))return!1}return!0}function Qr(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Jr=(e,t,n)=>e!=null?e:t!=null?t:n,lh=Ds({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const i=Tt(po),o=lt(()=>e.route||i.value),r=Tt($r,0),s=lt(()=>o.value.matched[r]);ei($r,r+1),ei(ld,s),ei(po,o);const a=Ol();return ti(()=>[a.value,s.value,e.name],([l,u,c],[h,m,g])=>{u&&(u.instances[c]=l,m&&m!==u&&l&&l===h&&(u.leaveGuards.size||(u.leaveGuards=m.leaveGuards),u.updateGuards.size||(u.updateGuards=m.updateGuards))),l&&u&&(!m||!pn(u,m)||!h)&&(u.enterCallbacks[c]||[]).forEach(x=>x(l))},{flush:"post"}),()=>{const l=o.value,u=s.value,c=u&&u.components[e.name],h=e.name;if(!c)return Zr(n.default,{Component:c,route:l});const m=u.props[e.name],g=m?m===!0?l.params:typeof m=="function"?m(l):m:null,k=na(c,ve({},g,t,{onVnodeUnmounted:E=>{E.component.isUnmounted&&(u.instances[h]=null)},ref:a}));return Zr(n.default,{Component:k,route:l})||k}}});function Zr(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const ch=lh;function uh(e){const t=Nd(e.routes,e),n=e.parseQuery||th,i=e.stringifyQuery||Yr,o=e.history,r=_n(),s=_n(),a=_n(),l=kl(wt);let u=wt;Gt&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const c=Wi.bind(null,b=>""+b),h=Wi.bind(null,eh),m=Wi.bind(null,_i);function g(b,S){let I,D;return Aa(b)?(I=t.getRecordMatcher(b),D=S):D=b,t.addRoute(D,I)}function x(b){const S=t.getRecordMatcher(b);S&&t.removeRoute(S)}function k(){return t.getRoutes().map(b=>b.record)}function E(b){return!!t.getRecordMatcher(b)}function T(b,S){if(S=ve({},S||l.value),typeof b=="string"){const K=qi(n,b,S.path),f=t.resolve({path:K.path},S),d=o.createHref(K.fullPath);return ve(K,f,{params:m(f.params),hash:_i(K.hash),redirectedFrom:void 0,href:d})}let I;if("path"in b)I=ve({},b,{path:qi(n,b.path,S.path).path});else{const K=ve({},b.params);for(const f in K)K[f]==null&&delete K[f];I=ve({},b,{params:h(b.params)}),S.params=h(S.params)}const D=t.resolve(I,S),ce=b.hash||"";D.params=c(m(D.params));const le=pd(i,ve({},b,{hash:Jd(ce),path:D.path})),Y=o.createHref(le);return ve({fullPath:le,hash:ce,query:i===Yr?nh(b.query):b.query||{}},D,{redirectedFrom:void 0,href:Y})}function L(b){return typeof b=="string"?qi(n,b,l.value.path):ve({},b)}function F(b,S){if(u!==b)return dn(8,{from:S,to:b})}function p(b){return H(b)}function W(b){return p(ve(L(b),{replace:!0}))}function P(b){const S=b.matched[b.matched.length-1];if(S&&S.redirect){const{redirect:I}=S;let D=typeof I=="function"?I(b):I;return typeof D=="string"&&(D=D.includes("?")||D.includes("#")?D=L(D):{path:D},D.params={}),ve({query:b.query,hash:b.hash,params:b.params},D)}}function H(b,S){const I=u=T(b),D=l.value,ce=b.state,le=b.force,Y=b.replace===!0,K=P(I);if(K)return H(ve(L(K),{state:ce,force:le,replace:Y}),S||I);const f=I;f.redirectedFrom=S;let d;return!le&&dd(i,D,I)&&(d=dn(16,{to:f,from:D}),Ie(D,D,!0,!1)),(d?Promise.resolve(d):Z(f,D)).catch(v=>xt(v)?xt(v,2)?v:_e(v):X(v,f,D)).then(v=>{if(v){if(xt(v,2))return H(ve(L(v.to),{state:ce,force:le,replace:Y}),S||f)}else v=oe(f,D,!0,Y,ce);return ae(f,D,v),v})}function J(b,S){const I=F(b,S);return I?Promise.reject(I):Promise.resolve()}function Z(b,S){let I;const[D,ce,le]=fh(b,S);I=zi(D.reverse(),"beforeRouteLeave",b,S);for(const K of D)K.leaveGuards.forEach(f=>{I.push(Ot(f,b,S))});const Y=J.bind(null,b,S);return I.push(Y),Xt(I).then(()=>{I=[];for(const K of r.list())I.push(Ot(K,b,S));return I.push(Y),Xt(I)}).then(()=>{I=zi(ce,"beforeRouteUpdate",b,S);for(const K of ce)K.updateGuards.forEach(f=>{I.push(Ot(f,b,S))});return I.push(Y),Xt(I)}).then(()=>{I=[];for(const K of b.matched)if(K.beforeEnter&&!S.matched.includes(K))if(Array.isArray(K.beforeEnter))for(const f of K.beforeEnter)I.push(Ot(f,b,S));else I.push(Ot(K.beforeEnter,b,S));return I.push(Y),Xt(I)}).then(()=>(b.matched.forEach(K=>K.enterCallbacks={}),I=zi(le,"beforeRouteEnter",b,S),I.push(Y),Xt(I))).then(()=>{I=[];for(const K of s.list())I.push(Ot(K,b,S));return I.push(Y),Xt(I)}).catch(K=>xt(K,8)?K:Promise.reject(K))}function ae(b,S,I){for(const D of a.list())D(b,S,I)}function oe(b,S,I,D,ce){const le=F(b,S);if(le)return le;const Y=S===wt,K=Gt?history.state:{};I&&(D||Y?o.replace(b.fullPath,ve({scroll:Y&&K&&K.scroll},ce)):o.push(b.fullPath,ce)),l.value=b,Ie(b,S,I,Y),_e()}let ee;function pe(){ee||(ee=o.listen((b,S,I)=>{const D=T(b),ce=P(D);if(ce){H(ve(ce,{replace:!0}),D).catch(Rn);return}u=D;const le=l.value;Gt&&wd(Vr(le.fullPath,I.delta),Mi()),Z(D,le).catch(Y=>xt(Y,12)?Y:xt(Y,2)?(H(Y.to,D).then(K=>{xt(K,20)&&!I.delta&&I.type===Hn.pop&&o.go(-1,!1)}).catch(Rn),Promise.reject()):(I.delta&&o.go(-I.delta,!1),X(Y,D,le))).then(Y=>{Y=Y||oe(D,le,!1),Y&&(I.delta?o.go(-I.delta,!1):I.type===Hn.pop&&xt(Y,20)&&o.go(-1,!1)),ae(D,le,Y)}).catch(Rn)}))}let ke=_n(),Ae=_n(),re;function X(b,S,I){_e(b);const D=Ae.list();return D.length?D.forEach(ce=>ce(b,S,I)):console.error(b),Promise.reject(b)}function z(){return re&&l.value!==wt?Promise.resolve():new Promise((b,S)=>{ke.add([b,S])})}function _e(b){return re||(re=!b,pe(),ke.list().forEach(([S,I])=>b?I(b):S()),ke.reset()),b}function Ie(b,S,I,D){const{scrollBehavior:ce}=e;if(!Gt||!ce)return Promise.resolve();const le=!I&&xd(Vr(b.fullPath,0))||(D||!I)&&history.state&&history.state.scroll||null;return Es().then(()=>ce(b,S,le)).then(Y=>Y&&yd(Y)).catch(Y=>X(Y,b,S))}const Pe=b=>o.go(b);let we;const xe=new Set;return{currentRoute:l,addRoute:g,removeRoute:x,hasRoute:E,getRoutes:k,resolve:T,options:e,push:p,replace:W,go:Pe,back:()=>Pe(-1),forward:()=>Pe(1),beforeEach:r.add,beforeResolve:s.add,afterEach:a.add,onError:Ae.add,isReady:z,install(b){const S=this;b.component("RouterLink",rh),b.component("RouterView",ch),b.config.globalProperties.$router=S,Object.defineProperty(b.config.globalProperties,"$route",{enumerable:!0,get:()=>xn(l)}),Gt&&!we&&l.value===wt&&(we=!0,p(o.location).catch(ce=>{}));const I={};for(const ce in wt)I[ce]=lt(()=>l.value[ce]);b.provide(Uo,S),b.provide(Ea,$n(I)),b.provide(po,l);const D=b.unmount;xe.add(b),b.unmount=function(){xe.delete(b),xe.size<1&&(u=wt,ee&&ee(),ee=null,l.value=wt,we=!1,re=!1),D()}}}}function Xt(e){return e.reduce((t,n)=>t.then(()=>n()),Promise.resolve())}function fh(e,t){const n=[],i=[],o=[],r=Math.max(t.matched.length,e.matched.length);for(let s=0;spn(u,a))?i.push(a):n.push(a));const l=e.matched[s];l&&(t.matched.find(u=>pn(u,l))||o.push(l))}return[n,i,o]}const qo=au(vu),Ue={template:"
"},ph=uh({history:kd(),routes:[{path:"/",name:"home",component:Ue},{path:"/about",name:"about",component:Ue},{path:"/locations",name:"locations",component:Ue},{path:"/blog",name:"blog",component:Ue},{path:"/pricing",name:"pricing",component:Ue},{path:"/pricing/pro",name:"pricing-pro",component:Ue},{path:"/pricing/starter",name:"pricing-starter",component:Ue},{path:"/contact",name:"contact",component:Ue},{path:"/customer-service",name:"customer-service",component:Ue},{path:"/accounting",name:"accounting",component:Ue},{path:"/reception",name:"reception",component:Ue},{path:"/signup",name:"signup",component:Ue},{path:"/login",name:"login",component:Ue}]});qo.use(ph);qo.component("vue-navigation-bar",xa);qo.mount("#app"); diff --git a/docs/index.html b/docs/index.html index 1269a0e..0940a23 100644 --- a/docs/index.html +++ b/docs/index.html @@ -18,7 +18,7 @@ integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous" /> - + diff --git a/example/App.vue b/example/App.vue index 9640522..17b651b 100755 --- a/example/App.vue +++ b/example/App.vue @@ -56,12 +56,14 @@ href="https://github.com/johndatserakis/vue-navigation-bar" class="list-group-item list-group-item-action" target="_blank" - >View on GitHub + >View on GitHub View on NPM + >View on NPM
@@ -97,11 +99,11 @@