From c62b41565c9aed4e26fa53b625e082f204d6116e Mon Sep 17 00:00:00 2001 From: John Datserakis Date: Mon, 4 Sep 2023 23:24:39 -0400 Subject: [PATCH 1/3] Add support for additional vue-router params in DynamicLink --- README.md | 66 +++++++++++++++++----------------- dist/vue-navigation-bar.css | 66 +++++++++++++++++----------------- dist/vue-navigation-bar.esm.js | 43 ++++++++++------------ dist/vue-navigation-bar.min.js | 2 +- dist/vue-navigation-bar.umd.js | 43 ++++++++++------------ docs/assets/index.676fc0fb.js | 5 --- docs/assets/index.dc1e5cdd.js | 5 +++ docs/index.html | 2 +- example/App.vue | 2 +- package.json | 2 +- src/components/DynamicLink.vue | 20 +++++------ src/components/Popup.vue | 40 +++++++++------------ test/VueNavigationBar.spec.js | 2 +- 13 files changed, 136 insertions(+), 162 deletions(-) delete mode 100644 docs/assets/index.676fc0fb.js create mode 100644 docs/assets/index.dc1e5cdd.js diff --git a/README.md b/README.md index f07e036..50c0092 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 | 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 | +| 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 at least 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 72e7c5e..62b0084 100644 --- a/dist/vue-navigation-bar.css +++ b/dist/vue-navigation-bar.css @@ -37,18 +37,6 @@ 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; @@ -68,6 +56,18 @@ margin-right: 20px; } +.vnb__brand-image-wrapper { + padding-left: 10px; +} +.vnb__brand-image-wrapper__link__image { + max-height: 30px; +} + +.vnb-image { + max-width: 100%; + height: auto; +} + .vnb__popup { background: #fff; position: absolute; @@ -342,24 +342,25 @@ text-decoration: none; } -.tippy-box[data-animation=shift-toward][data-state=hidden] { - opacity: 0; +.tippy-box[data-animation=scale][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=scale][data-placement^=bottom] { + transform-origin: top; } -.tippy-box[data-animation=shift-toward][data-state=hidden][data-placement^=bottom] { - transform: translateY(10px); +.tippy-box[data-animation=scale][data-placement^=left] { + transform-origin: right; } -.tippy-box[data-animation=shift-toward][data-state=hidden][data-placement^=left] { - transform: translateX(-10px); +.tippy-box[data-animation=scale][data-placement^=right] { + transform-origin: left; } -.tippy-box[data-animation=shift-toward][data-state=hidden][data-placement^=right] { - transform: translateX(10px); +.tippy-box[data-animation=scale][data-state=hidden] { + transform: scale(0.5); + opacity: 0; } .tippy-box[data-theme~=light] { @@ -392,25 +393,24 @@ fill: #fff; } -.tippy-box[data-animation=scale][data-placement^=top] { - transform-origin: bottom; +.tippy-box[data-animation=shift-toward][data-state=hidden] { + opacity: 0; } -.tippy-box[data-animation=scale][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=scale][data-placement^=left] { - transform-origin: right; +.tippy-box[data-animation=shift-toward][data-state=hidden][data-placement^=bottom] { + transform: translateY(10px); } -.tippy-box[data-animation=scale][data-placement^=right] { - transform-origin: left; +.tippy-box[data-animation=shift-toward][data-state=hidden][data-placement^=left] { + transform: translateX(-10px); } -.tippy-box[data-animation=scale][data-state=hidden] { - transform: scale(0.5); - opacity: 0; +.tippy-box[data-animation=shift-toward][data-state=hidden][data-placement^=right] { + transform: translateX(10px); } .tippy-box[data-animation=shift-away][data-state=hidden] { diff --git a/dist/vue-navigation-bar.esm.js b/dist/vue-navigation-bar.esm.js index d30f9e3..f8b301f 100644 --- a/dist/vue-navigation-bar.esm.js +++ b/dist/vue-navigation-bar.esm.js @@ -27,6 +27,13 @@ var script$8 = { required: true, }, }, + computed: { + localPath: function localPath() { + if (!this.path) { return; } + + return typeof this.path === 'string' ? this.path : Object.assign({}, this.path); + }, + }, }; var _hoisted_1$7 = ["href"]; @@ -35,20 +42,8 @@ function render$8(_ctx, _cache, $props, $setup, $data, $options) { var _component_router_link = resolveComponent("router-link"); return (openBlock(), createElementBlock(Fragment, null, [ - ($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 } - }), { + ($props.isUsingVueRouter && $props.path) + ? (openBlock(), createBlock(_component_router_link, mergeProps({ key: 0 }, _ctx.$attrs, { to: $options.localPath }), { default: withCtx(function () { return [ renderSlot(_ctx.$slots, "content") ]; }), @@ -56,12 +51,12 @@ function render$8(_ctx, _cache, $props, $setup, $data, $options) { }, 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 }), [ + ? (openBlock(), createElementBlock("a", mergeProps({ key: 1 }, _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);" }), [ + ? (openBlock(), createElementBlock("a", mergeProps({ key: 2 }, _ctx.$attrs, { href: "javascript:void(0);" }), [ renderSlot(_ctx.$slots, "content") ], 16 /* FULL_PROPS */)) : createCommentVNode("v-if", true) @@ -640,20 +635,20 @@ var script$1 = { required: true, }, }, - data: function data () { + data: function data() { return {}; }, computed: { - combinedMenuItems: function combinedMenuItems () { + combinedMenuItems: function combinedMenuItems() { var combinedArray = this.options.menuOptionsLeft.concat(this.options.menuOptionsRight); return combinedArray; }, }, methods: { - closeButtonClicked: function closeButtonClicked () { + closeButtonClicked: function closeButtonClicked() { this.$emit('close-button-clicked'); }, - itemSelected: function itemSelected (option) { + itemSelected: function itemSelected(option) { this.$emit('vnb-item-clicked', option.text); this.closeButtonClicked(); }, @@ -661,9 +656,7 @@ var script$1 = { components: { DynamicLink: script$8, }, - emits: [ - 'close-button-clicked', - 'vnb-item-clicked' ] + emits: ['close-button-clicked', 'vnb-item-clicked'], }; var _hoisted_1$1 = { @@ -739,7 +732,7 @@ function render$1(_ctx, _cache, $props, $setup, $data, $options) { width: "100pt", xmlns: "http://www.w3.org/2000/svg", class: "vnb__popup__top__close-button__image", - style: normalizeStyle({fill: $props.options.collapseButtonCloseColor}) + style: normalizeStyle({ fill: $props.options.collapseButtonCloseColor }) }, _hoisted_8, 4 /* STYLE */)) ], 8 /* PROPS */, _hoisted_4) ]), @@ -799,7 +792,7 @@ function render$1(_ctx, _cache, $props, $setup, $data, $options) { class: "vnb__popup__bottom__sub-menu-options__option__link", onClick: function ($event) { return ($options.itemSelected(subOption)); }, "aria-label": subOption.text, - isLinkAction: option.isLinkAction ? true : false + isLinkAction: subOption.isLinkAction ? true : false }, { content: withCtx(function () { return [ createTextVNode(toDisplayString(subOption.text) + " ", 1 /* TEXT */), diff --git a/dist/vue-navigation-bar.min.js b/dist/vue-navigation-bar.min.js index ae1470b..6115ba9 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:!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); +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}},computed:{localPath:function(){if(this.path)return"string"==typeof this.path?this.path:Object.assign({},this.path)}}},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?(t.openBlock(),t.createBlock(p,t.mergeProps({key:0},e.$attrs,{to:a.localPath}),{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:1},e.$attrs,{href:o.path}),[t.renderSlot(e.$slots,"content")],16,r)),o.isLinkAction?(t.openBlock(),t.createElementBlock("a",t.mergeProps({key:2},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(e,n){return t.openBlock(),t.createElementBlock("div",{key:n,class:"vnb__popup__bottom__sub-menu-options__option"},["link"===e.type?(t.openBlock(),t.createBlock(a,{key:0,path:e.path,isUsingVueRouter:o.options.isUsingVueRouter,class:"vnb__popup__bottom__sub-menu-options__option__link",onClick:function(t){return s.itemSelected(e)},"aria-label":e.text,isLinkAction:!!e.isLinkAction},{content:t.withCtx((function(){return[t.createTextVNode(t.toDisplayString(e.text)+" ",1),t.createElementVNode("span",Yt,t.toDisplayString(e.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 88be8a7..6ee67a3 100644 --- a/dist/vue-navigation-bar.umd.js +++ b/dist/vue-navigation-bar.umd.js @@ -33,6 +33,13 @@ required: true, }, }, + computed: { + localPath: function localPath() { + if (!this.path) { return; } + + return typeof this.path === 'string' ? this.path : Object.assign({}, this.path); + }, + }, }; var _hoisted_1$7 = ["href"]; @@ -41,20 +48,8 @@ var _component_router_link = vue.resolveComponent("router-link"); return (vue.openBlock(), vue.createElementBlock(vue.Fragment, null, [ - ($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 } - }), { + ($props.isUsingVueRouter && $props.path) + ? (vue.openBlock(), vue.createBlock(_component_router_link, vue.mergeProps({ key: 0 }, _ctx.$attrs, { to: $options.localPath }), { default: vue.withCtx(function () { return [ vue.renderSlot(_ctx.$slots, "content") ]; }), @@ -62,12 +57,12 @@ }, 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.openBlock(), vue.createElementBlock("a", vue.mergeProps({ key: 1 }, _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.openBlock(), vue.createElementBlock("a", vue.mergeProps({ key: 2 }, _ctx.$attrs, { href: "javascript:void(0);" }), [ vue.renderSlot(_ctx.$slots, "content") ], 16 /* FULL_PROPS */)) : vue.createCommentVNode("v-if", true) @@ -646,20 +641,20 @@ required: true, }, }, - data: function data () { + data: function data() { return {}; }, computed: { - combinedMenuItems: function combinedMenuItems () { + combinedMenuItems: function combinedMenuItems() { var combinedArray = this.options.menuOptionsLeft.concat(this.options.menuOptionsRight); return combinedArray; }, }, methods: { - closeButtonClicked: function closeButtonClicked () { + closeButtonClicked: function closeButtonClicked() { this.$emit('close-button-clicked'); }, - itemSelected: function itemSelected (option) { + itemSelected: function itemSelected(option) { this.$emit('vnb-item-clicked', option.text); this.closeButtonClicked(); }, @@ -667,9 +662,7 @@ components: { DynamicLink: script$8, }, - emits: [ - 'close-button-clicked', - 'vnb-item-clicked' ] + emits: ['close-button-clicked', 'vnb-item-clicked'], }; var _hoisted_1$1 = { @@ -745,7 +738,7 @@ width: "100pt", xmlns: "http://www.w3.org/2000/svg", class: "vnb__popup__top__close-button__image", - style: vue.normalizeStyle({fill: $props.options.collapseButtonCloseColor}) + style: vue.normalizeStyle({ fill: $props.options.collapseButtonCloseColor }) }, _hoisted_8, 4 /* STYLE */)) ], 8 /* PROPS */, _hoisted_4) ]), @@ -805,7 +798,7 @@ class: "vnb__popup__bottom__sub-menu-options__option__link", onClick: function ($event) { return ($options.itemSelected(subOption)); }, "aria-label": subOption.text, - isLinkAction: option.isLinkAction ? true : false + isLinkAction: subOption.isLinkAction ? true : false }, { content: vue.withCtx(function () { return [ vue.createTextVNode(vue.toDisplayString(subOption.text) + " ", 1 /* TEXT */), diff --git a/docs/assets/index.676fc0fb.js b/docs/assets/index.676fc0fb.js deleted file mode 100644 index ff9467d..0000000 --- a/docs/assets/index.676fc0fb.js +++ /dev/null @@ -1,5 +0,0 @@ -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.dc1e5cdd.js b/docs/assets/index.dc1e5cdd.js new file mode 100644 index 0000000..743a27d --- /dev/null +++ b/docs/assets/index.dc1e5cdd.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={},Qt=[],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,Jt=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,Zn=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,Ft=bi(e=>e.replace($a,"-$1").toLowerCase()),yi=bi(e=>e.charAt(0).toUpperCase()+e.slice(1)),Li=bi(e=>e?`on${yi(e)}`:""),Rn=(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 Ut(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):Jt(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(Ht)),Jt(e)&&a.push(s.get(Qi)));break;case"delete":z(e)||(a.push(s.get(Ht)),Jt(e)&&a.push(s.get(Qi)));break;case"set":Jt(e)&&a.push(s.get(Ht));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=xo(),el=xo(!1,!0),tl=xo(!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 Ve(t,"has",e),t.hasOwnProperty(e)}function xo(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||Ve(i,"get",o),t)?a:Se(a)?s&&_o(o)?a:a.value:ge(a)?e?ys(a):wi(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,xi=e=>Reflect.getPrototypeOf(e);function Wn(e,t,n=!1,i=!1){e=e.__v_raw;const o=ae(e),r=ae(t);n||(t!==r&&Ve(o,"get",t),Ve(o,"get",r));const{has:s}=xi(o),a=i?wo:n?Co:Pn;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 qn(e,t=!1){const n=this.__v_raw,i=ae(n),o=ae(e);return t||(e!==o&&Ve(i,"has",e),Ve(i,"has",o)),e===o?n.has(e):n.has(e)||n.has(o)}function zn(e,t=!1){return e=e.__v_raw,!t&&Ve(ae(e),"iterate",Ht),Reflect.get(e,"size",e)}function Qo(e){e=ae(e);const t=ae(this);return xi(t).has.call(t,e)||(t.add(e),gt(t,"add",e,e)),this}function Jo(e,t){t=ae(t);const n=ae(this),{has:i,get:o}=xi(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?Rn(t,s)&>(n,"set",e,t):gt(n,"add",e,t),this}function Zo(e){const t=ae(this),{has:n,get:i}=xi(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,"delete",e,void 0),r}function Go(){const e=ae(this),t=e.size!==0,n=e.clear();return t&>(e,"clear",void 0,void 0),n}function Kn(e,t){return function(i,o){const r=this,s=r.__v_raw,a=ae(s),l=t?wo:e?Co:Pn;return!e&&Ve(a,"iterate",Ht),s.forEach((u,c)=>i.call(o,l(u),l(c),r))}}function Yn(e,t,n){return function(...i){const o=this.__v_raw,r=ae(o),s=Jt(r),a=e==="entries"||e===Symbol.iterator&&s,l=e==="keys"&&s,u=o[e](...i),c=n?wo:t?Co:Pn;return!t&&Ve(r,"iterate",l?Qi:Ht),{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 wt(e){return function(...t){return e==="delete"?!1:this}}function fl(){const e={get(r){return Wn(this,r)},get size(){return zn(this)},has:qn,add:Qo,set:Jo,delete:Zo,clear:Go,forEach:Kn(!1,!1)},t={get(r){return Wn(this,r,!1,!0)},get size(){return zn(this)},has:qn,add:Qo,set:Jo,delete:Zo,clear:Go,forEach:Kn(!1,!0)},n={get(r){return Wn(this,r,!0)},get size(){return zn(this,!0)},has(r){return qn.call(this,r,!0)},add:wt("add"),set:wt("set"),delete:wt("delete"),clear:wt("clear"),forEach:Kn(!0,!1)},i={get(r){return Wn(this,r,!0,!0)},get size(){return zn(this,!0)},has(r){return qn.call(this,r,!0)},add:wt("add"),set:wt("set"),delete:wt("delete"),clear:wt("clear"),forEach:Kn(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(r=>{e[r]=Yn(r,!1,!1),n[r]=Yn(r,!0,!1),t[r]=Yn(r,!1,!0),i[r]=Yn(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 xl(e){return e.__v_skip||!Object.isExtensible(e)?0:yl(ja(e))}function wi(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=xl(e);if(s===0)return e;const a=new Proxy(e,s===2?i:n);return o.set(e,a),a}function Zt(e){return nn(e)?Zt(e.__v_raw):!!(e&&e.__v_isReactive)}function nn(e){return!!(e&&e.__v_isReadonly)}function ai(e){return!!(e&&e.__v_isShallow)}function xs(e){return Zt(e)||nn(e)}function ae(e){const t=e&&e.__v_raw;return t?ae(t):e}function ws(e){return si(e,"__v_skip",!0),e}const Pn=e=>ge(e)?wi(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 wl(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:Pn(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),Rn(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:Pn(t),Os(this))}}function Gt(e){return Se(e)?e.value:e}const Cl={get:(e,t,n)=>Gt(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 Zt(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;Mn(Me[i])lt&&Me.splice(t,1)}function Il(e){z(e)?en.push(...e):(!ht||!ht.includes(e,e.allowRecurse?Dt+1:Dt))&&en.push(e),Rs()}function er(e,t=In?lt+1:0){for(;tMn(n)-Mn(i)),Dt=0;Dte.id==null?1/0:e.id,Ml=(e,t)=>{const n=Mn(e)-Mn(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,In=!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(Ft(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,Ft(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 _t(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){En.length=0,Ei(d,e,1),P=we(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 Xn={};function Gn(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)):Zt(e)?(u=()=>e,i=!0):z(e)?(h=!0,c=e.some(d=>Zt(d)||ai(d)),u=()=>e.map(d=>{if(Se(d))return d.value;if(Zt(d))return Xt(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=()=>Xt(d())}let m,g=d=>{m=I.onStop=()=>{kt(d,l,4)}},O;if(Ln)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(Xn):Xn;const P=()=>{if(!!I.active)if(t){const d=I.run();(i||c||(h?d.some((W,M)=>Rn(W,C[M])):Rn(d,C)))&&(m&&m(),it(t,l,3,[d,C===Xn?void 0:h&&C[0]===Xn?[]: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):$t(),a}function Bs(e,t){const n=t.split(".");return()=>{let i=e;for(let o=0;o{Xt(n,t)});else if(ss(e))for(const n in e)Xt(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 $t(),mn(),a});return i?o.unshift(r):o.push(r),r}}const yt=e=>(t,n=Te)=>(!Ln||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 We(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,wn=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=wn[t];let h,m;if(c)return t==="$attrs"&&Ve(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(wn,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=wi(K))}if(eo=!0,r)for(const K in r){const q=r[K],xe=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:xe,set:Oe});Object.defineProperty(i,K,{enumerable:!0,configurable:!0,get:()=>Ae.value,set:he=>Ae.value=he})}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=>{ei(q,K[q])})}c&&or(c,e,"c");function G(K,q){z(q)?q.forEach(xe=>K(xe.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:xe=>n[q]=xe})})}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=vt(o.from||i,o.default,!0):r=vt(o.from||i):r=vt(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)&&Gn(o,r)}else if(Q(e))Gn(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)&&Gn(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,Qt),Qt;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=_t((...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,x=null,w=null,L=!1,A=null,k=!!p.dynamicChildren)=>{if(f===p)return;f&&!vn(f,p)&&(_=y(f),he(f,x,w,!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 ti:f==null&&I(p,v,_,L);break;case Ie:le(f,p,v,_,x,w,L,A,k);break;default:D&1?W(f,p,v,_,x,w,L,A,k):D&6?ee(f,p,v,_,x,w,L,A,k):(D&64||D&128)&&E.process(f,p,v,_,x,w,L,A,k,T)}H!=null&&x&&io(H,f&&f.ref,w,p||f,!p)},P=(f,p,v,_)=>{if(f==null)i(p.el=a(p.children),v,_);else{const x=p.el=f.el;p.children!==f.children&&u(x,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 x;for(;f&&f!==p;)x=m(f),i(f,v,_),f=x;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,_,x,w,L,A,k)=>{L=L||p.type==="svg",f==null?M(p,v,_,x,w,L,A,k):pe(f,p,x,w,L,A,k)},M=(f,p,v,_,x,w,L,A)=>{let k,E;const{type:H,props:D,shapeFlag:$,transition:U,dirs:Y}=f;if(k=f.el=s(f.type,w,D&&D.is,D),$&8?c(k,f.children):$&16&&ce(f.children,k,null,_,x,w&&H!=="foreignObject",L,A),Y&&St(f,null,_,"created"),Z(k,f,f.scopeId,L,_),D){for(const ne in D)ne!=="value"&&!Zn(ne)&&r(k,ne,null,D[ne],w,f.children,_,x,de);"value"in D&&r(k,"value",null,D.value),(E=D.onVnodeBeforeMount)&&rt(E,_,f)}Y&&St(f,null,_,"beforeMount");const se=(!x||x&&!x.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")},x)},Z=(f,p,v,_,x)=>{if(v&&g(f,v),_)for(let w=0;w<_.length;w++)g(f,_[w]);if(x){let w=x.subTree;if(p===w){const L=x.vnode;Z(f,L,L.scopeId,L.slotScopeIds,x.parent)}}},ce=(f,p,v,_,x,w,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=x&&p.type!=="foreignObject";if(E?te(f.dynamicChildren,E,A,v,_,Y,w):L||q(f,p,A,null,v,_,Y,w,!1),k>0){if(k&16)fe(A,p,D,$,v,_,x);else if(k&2&&D.class!==$.class&&r(A,"class",null,$.class,x),k&4&&r(A,"style",D.style,$.style,x),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,_,x,w,L)=>{for(let A=0;A{if(v!==_){if(v!==ve)for(const A in v)!Zn(A)&&!(A in _)&&r(f,A,v[A],null,L,p.children,x,w,de);for(const A in _){if(Zn(A))continue;const k=_[A],E=v[A];k!==E&&A!=="value"&&r(f,A,E,k,L,p.children,x,w,de)}"value"in _&&r(f,"value",v.value,_.value)}},le=(f,p,v,_,x,w,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,x,w,L,A,k)):D>0&&D&64&&$&&f.dynamicChildren?(te(f.dynamicChildren,$,v,x,w,L,A),(p.key!=null||x&&p===x.subTree)&&Xs(f,p,!0)):q(f,p,v,H,x,w,L,A,k)},ee=(f,p,v,_,x,w,L,A,k)=>{p.slotScopeIds=A,f==null?p.shapeFlag&512?x.ctx.activate(p,v,_,L,k):Ee(p,v,_,x,w,L,k):ye(f,p,k)},Ee=(f,p,v,_,x,w,L)=>{const A=f.component=Oc(f,_,x);if(js(f)&&(A.ctx.renderer=T),Cc(A),A.asyncDep){if(x&&x.registerDep(A,G),!f.el){const k=A.subTree=we(Rt);R(null,k,p,v)}return}G(A,f,p,v,x,w,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,_,x,w,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),Fe=f.subTree;f.subTree=_e,C(Fe,_e,h(Fe.el),y(Fe),f,x,w),H.el=_e.el,se===null&&jl(f,_e.el),$&&He($,x),(ne=H.props&&H.props.onVnodeUpdated)&&He(()=>rt(ne,U,H,Y),x)}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,x,null)};ne?p.type.__asyncLoader().then(()=>!f.isUnmounted&&_e()):_e()}else{const _e=f.subTree=Di(f);C(null,_e,v,_,f,x,w),p.el=_e.el}if(Y&&He(Y,x),!ne&&(H=$&&$.onVnodeMounted)){const _e=p;He(()=>rt(H,se,_e),x)}(p.shapeFlag&256||se&&xn(se.vnode)&&se.vnode.shapeFlag&256)&&f.a&&He(f.a,x),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,_,x,w,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,_,x,w,L,A,k);return}else if($&256){xe(E,D,v,_,x,w,L,A,k);return}}U&8?(H&16&&de(E,x,w),D!==E&&c(v,D)):H&16?U&16?Oe(E,D,v,_,x,w,L,A,k):de(E,x,w,!0):(H&8&&c(v,""),U&16&&ce(D,v,_,x,w,L,A,k))},xe=(f,p,v,_,x,w,L,A,k)=>{f=f||Qt,p=p||Qt;const E=f.length,H=p.length,D=Math.min(E,H);let $;for($=0;$H?de(f,x,w,!0,!1,D):ce(p,v,_,x,w,L,A,k,D)},Oe=(f,p,v,_,x,w,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,x,w,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,x,w,L,A,k);else break;D--,$--}if(E>D){if(E<=$){const U=$+1,Y=U$)for(;E<=D;)he(f[E],x,w,!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 Fe=$-Y+1;let xt=!1,Vn=0;const It=new Array(Fe);for(E=0;E=Fe){he(B,x,w,!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?he(B,x,w,!0):(It[N-Y]=E+1,N>=Vn?Vn=N:xt=!0,C(B,p[N],v,null,x,w,L,A,k),_e++)}const b=xt?vc(It):Qt;for(ne=b.length-1,E=Fe-1;E>=0;E--){const B=Y+E,N=p[B],re=B+1{const{el:w,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(w,p,v);for(let D=0;DA.enter(w),x);else{const{leave:D,delayLeave:$,afterLeave:U}=A,Y=()=>i(w,p,v),se=()=>{D(w,()=>{Y(),U&&U()})};$?$(w,Y,se):se()}else i(w,p,v)},he=(f,p,v,_=!1,x=!1)=>{const{type:w,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,x,T,_):E&&(w!==Ie||D>0&&D&64)?de(E,p,v,!1,!0):(w===Ie&&D&384||!x&&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:x}=f;if(p===Ie){Re(v,_);return}if(p===ti){d(f);return}const w=()=>{o(v),x&&!x.persisted&&x.afterLeave&&x.afterLeave()};if(f.shapeFlag&1&&x&&!x.persisted){const{leave:L,delayLeave:A}=x,k=()=>L(v,w);A?A(f.el,w,k):k()}else w()},Re=(f,p)=>{let v;for(;f!==p;)v=m(f),o(f),f=v;o(p)},Pe=(f,p,v)=>{const{bum:_,scope:x,update:w,subTree:L,um:A}=f;_&&Bi(_),x.stop(),w&&(w.active=!1,he(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,x=!1,w=0)=>{for(let L=w;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&&he(p._vnode,null,null,!0):C(p._vnode||null,f,p,null,null,null,v),er(),Ps(),p._vnode=f},T={p:C,um:he,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"),ti=Symbol.for("v-stc"),En=[];let et=null;function F(e=!1){En.push(et=e?null:[])}function _c(){En.pop(),et=En[En.length-1]||null}let Sn=1;function fr(e){Sn+=e}function Qs(e){return e.dynamicChildren=Sn>0?et||Qt:null,_c(),Sn>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 qe(e,t,n,i,o){return Qs(we(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,ni=({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&&ni(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),Sn>0&&!s&&et&&(l.patchFlag>0||r&6)&&l.patchFlag!==32&&et.push(l),l}const we=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),Sn>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=Ut(a)),ge(l)&&(xs(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?xs(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?ii(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(ni(t)):[o,ni(t)]:ni(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 we(Ai,null,e,t)}function xc(e,t){const n=we(ti,null,e);return n.staticCount=t,n}function me(e="",t=!1){return t?(F(),qe(Rt,null,e)):we(Rt,null,e)}function st(e){return e==null||typeof e=="boolean"?we(Rt):z(e)?we(Ie,null,e.slice()):typeof e=="object"?Ot(e):we(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 ii(...e){const t={};for(let n=0;nTe=e),Io=e=>{zt.length>1?zt.forEach(t=>t(e)):zt[0](e)};const sn=e=>{Io(e),e.scope.on()},$t=()=>{Te&&Te.scope.off(),Io(null)};function Zs(e){return e.vnode.shapeFlag&4}let Ln=!1;function Cc(e,t=!1){Ln=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 Ln=!1,r}function Ac(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=ws(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(),$t(),os(r)){if(r.then($t,$t),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(),$t()}function kc(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get(t,n){return Ve(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(ws(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in wn)return wn[n](e)},has(t,n){return n in t||n in wn}}))}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,Ln);function ea(e,t,n){const i=arguments.length;return i===2?ge(t)&&!z(t)?pi(t)?we(e,null,[t]):we(e,t):we(e,null,t):(i>3?n=Array.prototype.slice.call(arguments,2):i===3&&pi(n)&&(n=[n]),we(e,t,n))}const Ic=Symbol.for("v-scx"),Mc=()=>vt(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(Ft(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=Ft(n.key);if(t.some(o=>o===i||Jc[o]===i))return e(n)},Gc=ke({patchProp:Xc},Bc);let xr;function eu(){return xr||(xr=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 pt=(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",params:{item:2}}},{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=xc('

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=We("vue-navigation-bar");return F(),X("div",ru,[be("section",su,[be("div",au,[we(s,{options:o.navbarOptions,onVnbItemClicked:r.vnbItemClicked},null,8,["options","onVnbItemClicked"])])]),lu])}var uu=pt(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}},computed:{localPath(){if(!!this.path)return typeof this.path=="string"?this.path:Object.assign({},this.path)}}},pu=["href"];function du(e,t,n,i,o,r){const s=We("router-link");return F(),X(Ie,null,[n.isUsingVueRouter&&n.path?(F(),qe(s,ii({key:0},e.$attrs,{to:r.localPath}),{default:_t(()=>[tn(e.$slots,"content")]),_:3},16,["to"])):me("",!0),!n.isUsingVueRouter&&!n.isLinkAction&&n.path?(F(),X("a",ii({key:1},e.$attrs,{href:n.path}),[tn(e.$slots,"content")],16,pu)):me("",!0),n.isLinkAction?(F(),X("a",ii({key:2},e.$attrs,{href:"javascript:void(0);"}),[tn(e.$slots,"content")],16)):me("",!0)],64)}var Ti=pt(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=We("dynamic-link");return F(),X("div",mu,[we(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:_t(()=>[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)):me("",!0)]),_:1},8,["path","isUsingVueRouter"])])}var _u=pt(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"],xu=["src"],wu=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=[wu,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,xu)):(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)):me("",!0)}var Au=pt(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=We("dynamic-link");return F(),qe(s,{path:n.option.path,isUsingVueRouter:n.options.isUsingVueRouter,class:Ut(["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:_t(()=>[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)):me("",!0),rn(" "+mt(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)):me("",!0)]),_:1},8,["path","isUsingVueRouter","class","aria-label","isLinkAction"])}var Iu=pt(ku,[["render",Pu]]),$e="top",Xe="bottom",Qe="right",Ne="left",Lo="auto",Hn=[$e,Xe,Qe,Ne],an="start",Bn="end",Mu="clippingParents",ta="viewport",gn="popper",Su="reference",wr=Hn.reduce(function(e,t){return e.concat([t+"-"+an,t+"-"+Bn])},[]),na=[].concat(Hn,[Lo]).reduce(function(e,t){return e.concat([t,t+"-"+an,t+"-"+Bn])},[]),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 ft(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 Vt(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)||!ft(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)||!ft(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 Nt=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=Vt(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(ft(e))>=0}function Pt(e){return((Vt(e)?e.ownerDocument:e.document)||window.document).documentElement}function Ri(e){return ft(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(ft(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 $n(e){for(var t=ze(e),n=Er(e);n&&zu(n)&&bt(n).position==="static";)n=Er(n);return n&&(ft(n)==="html"||ft(n)==="body"&&bt(n).position==="static")?t:n||Ku(e)||t}function jo(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function On(e,t,n){return Nt(e,di(t,n))}function Yu(e,t,n){var i=On(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,Hn))};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=[Ne,Qe].indexOf(a)>=0,c=u?"height":"width";if(!(!r||!s)){var h=Xu(o.padding,n),m=Do(r),g=l==="y"?$e:Ne,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=$n(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=On(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=Ne,d=$e,W=window;if(u){var M=$n(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===$e||(o===Ne||o===Qe)&&r===Bn){d=Xe;var pe=h&&M===W&&W.visualViewport?W.visualViewport.height:M[Z];C-=pe-i.height,C*=l?1:-1}if(o===Ne||(o===$e||o===Xe)&&r===Bn){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:{}},Qn={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,Qn)}),a&&l.addEventListener("resize",n.update,Qn),function(){r&&u.forEach(function(c){c.removeEventListener("scroll",n.update,Qn)}),a&&l.removeEventListener("resize",n.update,Qn)}}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=Nt(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),s=Nt(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+=Nt(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(ft(e))>=0?e.ownerDocument.body:Ye(e)&&No(e)?e:ca(Ri(e))}function Cn(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(Cn(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)):Vt(t)?uf(t,n):so(cf(Pt(e)))}function ff(e){var t=Cn(Ri(e)),n=["absolute","fixed"].indexOf(bt(e).position)>=0,i=n&&Ye(e)?$n(e):e;return Vt(i)?t.filter(function(o){return Vt(o)&&ra(o,i)&&ft(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=Nt(c.top,l.top),l.right=di(c.right,l.right),l.bottom=di(c.bottom,l.bottom),l.left=Nt(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 $e: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 Ne: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 Bn:l[u]=l[u]+(t[c]/2-n[c]/2);break}}return l}function Dn(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,Hn)),I=m===gn?Su:gn,V=e.rects.popper,d=e.elements[O?I:m],W=pf(Vt(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=[$e,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?wr:wr.filter(function(O){return un(O)===c}):Hn,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]=Dn(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=Dn(t,{placement:fe,boundary:c,rootBoundary:h,altBoundary:m,padding:u}),K=Ee?ee?Qe:Ne:ee?Xe:$e;W[ye]>M[ye]&&(K=oi(K));var q=oi(K),xe=[];if(r&&xe.push(G[le]<=0),a&&xe.push(G[K]<=0,G[q]<=0),xe.every(function(Re){return Re})){pe=fe,ce=!1;break}Z.set(fe,xe)}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"},he=Oe;he>0;he--){var je=Ae(he);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[$e,Qe,Xe,Ne].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=Dn(t,{elementContext:"reference"}),a=Dn(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=[Ne,$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,[Ne,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 xf={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:yf};function wf(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:wf,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=Dn(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"?$e:Ne,ye=d==="y"?Xe:Qe,G=d==="y"?"height":"width",K=M[d],q=K+P[Ee],xe=K-P[ye],Oe=g?-ce[G]/2:0,Ae=I===an?Z[G]:ce[G],he=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=On(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:he+S+y+te.mainAxis,J=t.elements.arrow&&$n(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,x=On(g?di(q,v):q,K,g?Nt(xe,_):xe);M[d]=x,le[d]=x-K}if(a){var w,L=d==="x"?$e:Ne,A=d==="x"?Xe:Qe,k=M[W],E=W==="y"?"height":"width",H=k+P[L],D=k-P[A],$=[$e,Ne].indexOf(R)!==-1,U=(w=fe==null?void 0:fe[W])!=null?w: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):On(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)&&((ft(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 Kt(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 An(){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=Kt(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=An();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=An(),n=An();n.className=Hf,n.setAttribute("data-state","hidden"),n.setAttribute("tabindex","-1");var i=An();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,Jn=[],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:An(),popperInstance:R,props:n,state:V,plugins:I,clearDelayTimeouts:Y,setProps:se,setContent:ne,show:_e,hide:Fe,hideWithInteractivity:xt,enable:$,disable:U,unmount:Vn,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 xe(){var b=d.props.aria;if(!!b.content){var B="aria-"+b.content,N=M.id,re=Kt(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=Kt(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),Jn=Jn.filter(function(b){return b!==O})}function he(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(Kt(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",he,!0),b.addEventListener("touchend",he,Bt),b.addEventListener("touchstart",Re,Bt),b.addEventListener("touchmove",je,Bt)}function de(){var b=Ee();b.removeEventListener("mousedown",he,!0),b.removeEventListener("touchend",he,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=Kt(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",x);break;case"focusin":j("focusout",x);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||w(b)||a)){var re=((B=c)==null?void 0:B.type)==="focus";c=b,C=b.currentTarget,Oe(),!d.state.isVisible&&Wf(b)&&Jn.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,Wt=(Le=Ke.popperInstance)==null?void 0:Le.state;return Wt?{popperRect:ie.getBoundingClientRect(),popperState:Wt,props:n}:null}).filter(Boolean);Kf(re,b)&&(Ae(),D(b))}}function _(b){var B=w(b)||d.props.trigger.indexOf("click")>=0&&s;if(!B){if(d.props.interactive){d.hideWithInteractivity(b);return}D(b)}}function x(b){d.props.trigger.indexOf("focusin")<0&&b.target!==ee()||d.props.interactive&&b.relatedTarget&&M.contains(b.relatedTarget)||D(b)}function w(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,Wt=ie?{getBoundingClientRect:ie,contextElement:ie.contextElement||ee()}:e,qo={name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(Fn){var qt=Fn.state;if(le()){var Ma=ye(),Si=Ma.box;["placement","reference-hidden","escaped"].forEach(function(Un){Un==="placement"?Si.setAttribute("data-placement",qt.placement):qt.attributes.popper["data-popper-"+Un]?Si.setAttribute("data-"+Un,""):Si.removeAttribute("data-"+Un)}),qt.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(Wt,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?Kt(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,Wt=Le.content;Fi([Ke,Wt],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(),Fn=Mi.box,qt=Mi.content;Fi([Fn,qt],ie),Lr([Fn,qt],"visible")}xe(),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 Fe(){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"))}xe(),Oe(),d.props.animation?le()&&y(re,d.unmount):d.unmount()}}function xt(b){Ee().addEventListener("mousemove",O),Mr(Jn,O),O(b)}function Vn(){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 Nn(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}Nn.defaultProps=tt;Nn.setDefaultProps=np;Nn.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)}});Nn.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",Nn(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"},xp={key:0,class:"vnb__sub-menu-options__option__link__text-wrapper__sub-text"},wp=["innerHTML"],Ep={key:1,class:"vnb__sub-menu-options__option__hr",tabindex:"-1"};function Op(e,t,n,i,o,r){const s=We("dynamic-link");return!n.option.subMenuOptions||!n.option.subMenuOptions.length?(F(),qe(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:_t(()=>[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)):me("",!0),rn(" "+mt(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)):me("",!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)):me("",!0),rn(" "+mt(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)):me("",!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:Ut(["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(),qe(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:_t(()=>[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)):me("",!0),be("span",bp,[be("span",yp,mt(a.text),1),a.subText?(F(),X("span",xp,mt(a.subText),1)):me("",!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,wp)):me("",!0)]),_:2},1032,["path","isUsingVueRouter","onClick","aria-label","onKeydown","isLinkAction"])):(F(),X("hr",Ep))]))),256))])],8,vp)):me("",!0)],8,up))}var Cp=pt(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=pt(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=We("desktop-menu-item-link"),a=We("desktop-menu-item-button"),l=We("desktop-menu-item-spacer");return e.$vssWidth>n.options.mobileBreakpoint?(F(),X("div",{key:0,class:Ut(["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(),qe(s,{key:0,option:u,options:n.options,onVnbItemClicked:r.vnbItemClicked},null,8,["option","options","onVnbItemClicked"])):u.type==="button"?(F(),qe(a,{key:1,option:u,options:n.options,onVnbItemClicked:r.vnbItemClicked},null,8,["option","options","onVnbItemClicked"])):(F(),qe(l,{key:2,option:u},null,8,["option"]))]))),128))],2)):me("",!0)}var Mp=pt(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=We("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)):me("",!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,[tn(e.$slots,"custom-section")])):me("",!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,mt(a.text),1)):(F(),qe(s,{key:0,path:a.path,isUsingVueRouter:n.options.isUsingVueRouter,class:Ut(["vnb__popup__bottom__menu-options__option__link",a.class]),onClick:u=>r.itemSelected(a),"aria-label":a.text,isLinkAction:!!a.isLinkAction},{content:_t(()=>[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)):me("",!0),rn(" "+mt(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)):me("",!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(),qe(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:!!u.isLinkAction},{content:_t(()=>[rn(mt(u.text)+" ",1),be("span",Xp,mt(u.subText),1)]),_:2},1032,["path","isUsingVueRouter","onClick","aria-label","isLinkAction"])):me("",!0)]))),128))])]))),128))])])])):me("",!0)}var Jp=pt(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?tn(e.$slots,"custom-section",{key:0}):me("",!0),we(a,{options:r.finalOptions,type:"right",onVnbItemClicked:r.vnbItemClicked},null,8,["options","onVnbItemClicked"]),r.finalOptions.menuOptionsLeft.length||r.finalOptions.menuOptionsRight.length?(F(),qe(l,{key:1,options:r.finalOptions,menuIsVisible:o.menuIsVisible,onCollapseButtonClicked:r.showMobilePopup},null,8,["options","menuIsVisible","onCollapseButtonClicked"])):me("",!0),r.finalOptions.menuOptionsLeft.length||r.finalOptions.menuOptionsRight.length?(F(),qe(u,{key:2,options:r.finalOptions,menuIsVisible:o.menuIsVisible,onCloseButtonClicked:r.closeMobilePopup,onVnbItemClicked:r.vnbItemClicked},{"custom-section":_t(()=>[tn(e.$slots,"custom-section")]),_:3},8,["options","menuIsVisible","onCloseButtonClicked","onVnbItemClicked"])):me("",!0)],8,Gp)}var ya=pt(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 Yt=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 kn=()=>{},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])&&xa(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 xa(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 jn;(function(e){e.pop="pop",e.push="push"})(jn||(jn={}));var Tn;(function(e){e.back="back",e.forward="forward",e.unknown=""})(Tn||(Tn={}));function cd(e){if(!e)if(Yt){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 wa(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=wa(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:jn.pop,direction:P?P>0?Tn.forward:Tn.back:Tn.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:wa(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 dt(e,t){return e instanceof Error&&Oa in e&&(t==null||!!(e.type&t))}const zr="[^/]+?",xd={sensitive:!1,strict:!1,start:!0,end:!0},wd=/[.+*?^${}()[\]/\\]/g;function Ed(e,t){const n=ue({},xd,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)}:kn}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=vt(Uo),n=vt(Ia),i=Ge(()=>t.resolve(Gt(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&&xa(n.params,i.value.params));function a(l={}){return Gd(l)?t[Gt(e.replace)?"replace":"push"](Gt(e.to)).catch(kn):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=wi(Gr(e)),{options:i}=vt(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=vt(po),o=Ge(()=>e.route||i.value),r=vt(Zr,0),s=Ge(()=>{let u=Gt(r);const{matched:c}=o.value;let h;for(;(h=c[u])&&!h.components;)u++;return u}),a=Ge(()=>o.value.matched[s.value]);ei(Zr,Ge(()=>s.value+1)),ei(Xd,a),ei(po,o);const l=wl();return Gn(()=>[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;Yt&&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),x=o.createHref(v.fullPath);return ue(v,_,{params:m(_.params),hash:vi(v.hash),redirectedFrom:void 0,href:x})}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 x;return!f&&sd(i,j,T)&&(x=pn(16,{to:_,from:j}),Ae(j,j,!0,!1)),(x?Promise.resolve(x):te(_,j)).catch(w=>dt(w)?dt(w,2)?w:Oe(w):q(w,_,j)).then(w=>{if(w){if(dt(w,2))return Z(ue({replace:p},I(w.to),{state:typeof w.to=="object"?ue({},J,w.to.state):J,force:f}),S||_)}else w=le(_,j,!0,p,J);return fe(_,j,w),w})}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=>dt(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=Yt?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(kn);return}u=j;const f=l.value;Yt&&hd(Ur(f.fullPath,T.delta),Ii()),te(j,f).catch(p=>dt(p,12)?p:dt(p,2)?(Z(p.to,j).then(v=>{dt(v,20)&&!T.delta&&T.type===jn.pop&&o.go(-1,!1)}).catch(kn),Promise.reject()):(T.delta&&o.go(-T.delta,!1),q(p,j,f))).then(p=>{p=p||le(j,f,!1),p&&(T.delta&&!dt(p,8)?o.go(-T.delta,!1):T.type===jn.pop&&dt(p,20)&&o.go(-1,!1)),fe(j,f,p)}).catch(kn)}))}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 xe(){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(!Yt||!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 he=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:he,back:()=>he(-1),forward:()=>he(1),beforeEach:r.add,beforeResolve:s.add,afterEach:a.add,onError:G.add,isReady:xe,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:()=>Gt(l)}),Yt&&!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),Ue={template:"
"},rh=ih({history:bd(),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}]});Wo.use(rh);Wo.component("vue-navigation-bar",ya);Wo.mount("#app"); diff --git a/docs/index.html b/docs/index.html index 0940a23..4d9b102 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 17b651b..b1df7a3 100755 --- a/example/App.vue +++ b/example/App.vue @@ -137,7 +137,7 @@ export default { type: 'link', text: 'Locations', subText: "You're a presentation tool!", - path: { name: 'locations' }, + path: { name: 'locations', params: { item: 2 } }, }, { type: 'hr', diff --git a/package.json b/package.json index 6357ccb..fcf87e2 100755 --- a/package.json +++ b/package.json @@ -86,5 +86,5 @@ }, "sideEffects": false, "unpkg": "dist/vue-navigation-bar.min.js", - "version": "6.0.0" + "version": "6.0.1" } diff --git a/src/components/DynamicLink.vue b/src/components/DynamicLink.vue index d244fd1..e498391 100644 --- a/src/components/DynamicLink.vue +++ b/src/components/DynamicLink.vue @@ -1,16 +1,5 @@