@hunter-industries/hunter-components 0.0.2 → 0.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -2,6 +2,7 @@ interface Props {
|
|
|
2
2
|
to: string;
|
|
3
3
|
state?: "disabled" | "inactive" | null;
|
|
4
4
|
className?: string;
|
|
5
|
+
nuxt?: string;
|
|
5
6
|
}
|
|
6
7
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToOption<Props>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<Props>>>, {}, {}>, {
|
|
7
8
|
default?(_: {}): any;
|
|
@@ -3,9 +3,17 @@ interface Props {
|
|
|
3
3
|
links: NavLinkItem[];
|
|
4
4
|
variant?: string;
|
|
5
5
|
activeLink: NavLinkItem;
|
|
6
|
+
nuxt?: boolean;
|
|
6
7
|
}
|
|
7
|
-
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<Props>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<Props>>>, {}, {}
|
|
8
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToOption<Props>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<Props>>>, {}, {}>, {
|
|
9
|
+
default?(_: {}): any;
|
|
10
|
+
}>;
|
|
8
11
|
export default _default;
|
|
12
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
13
|
+
new (): {
|
|
14
|
+
$slots: S;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
9
17
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
10
18
|
type __VLS_TypePropsToOption<T> = {
|
|
11
19
|
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
(function(){"use strict";try{if(typeof document<"u"){var t=document.createElement("style");t.appendChild(document.createTextNode('*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:currentColor}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(147 197 253 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(147 197 253 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }.pointer-events-none{pointer-events:none}.collapse{visibility:collapse}.absolute{position:absolute}.relative{position:relative}.inset-0{top:0;right:0;bottom:0;left:0}.bottom-2{bottom:.5rem}.left-0{left:0}.right-3{right:.75rem}.top-full{top:100%}.my-0{margin-top:0;margin-bottom:0}.my-0\\.5{margin-top:.125rem;margin-bottom:.125rem}.mb-1{margin-bottom:.25rem}.ml-0{margin-left:0}.ml-0\\.5{margin-left:.125rem}.ml-1{margin-left:.25rem}.ml-1\\.5{margin-left:.375rem}.mt-0{margin-top:0}.mt-0\\.5{margin-top:.125rem}.mt-2{margin-top:.5rem}.inline-block{display:inline-block}.flex{display:flex}.table{display:table}.hidden{display:none}.h-0{height:0px}.h-10{height:2.5rem}.h-12{height:3rem}.h-4{height:1rem}.h-5{height:1.25rem}.h-9{height:2.25rem}.h-max{height:-moz-max-content;height:max-content}.max-h-44{max-height:11rem}.w-12{width:3rem}.w-4{width:1rem}.w-44{width:11rem}.w-5{width:1.25rem}.w-full{width:100%}.w-max{width:-moz-max-content;width:max-content}.max-w-screen-lg{max-width:1024px}.origin-center{transform-origin:center}.-scale-y-100{--tw-scale-y: -1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scale-x-0{--tw-scale-x: 0;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scale-y-100{--tw-scale-y: 1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.cursor-pointer{cursor:pointer}.resize{resize:both}.flex-col{flex-direction:column}.items-start{align-items:flex-start}.items-end{align-items:flex-end}.items-center{align-items:center}.justify-center{justify-content:center}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.rounded{border-radius:var(--rounded)}.rounded-3xl{border-radius:1.5rem}.rounded-lg{border-radius:var(--rounded-lg)}.rounded-l-none{border-top-left-radius:0;border-bottom-left-radius:0}.rounded-r{border-top-right-radius:var(--rounded);border-bottom-right-radius:var(--rounded)}.border-2{border-width:2px}.border-b{border-bottom-width:1px}.border-b-2{border-bottom-width:2px}.border-blue-400{border-color:var(--blue-400)}.border-blue-700{border-color:var(--blue-700)}.border-blue-800{border-color:var(--blue-800)}.border-disabled-light{border-color:var(--disabled-light)}.bg-blue-200{background-color:var(--blue-200)}.bg-blue-800{background-color:var(--blue-800)}.p-0{padding:0}.px-12{padding-left:3rem;padding-right:3rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.pb-1{padding-bottom:.25rem}.pr-0{padding-right:0}.pr-0\\.5{padding-right:.125rem}.pt-0{padding-top:0}.pt-1px{padding-top:1px}.pt-2{padding-top:.5rem}.text-left{text-align:left}.text-2xl{font-size:var(--28px)}.text-3xl{font-size:var(--32px)}.text-4xl{font-size:var(--36px)}.text-base{font-size:var(--16px)}.text-lg{font-size:var(--22px)}.text-md{font-size:var(--18px)}.text-sm{font-size:var(--14px)}.text-xl{font-size:var(--24px)}.text-xs{font-size:var(--12px)}.font-bold{font-weight:700}.font-medium{font-weight:500}.uppercase{text-transform:uppercase}.text-blue-500{color:var(--blue-500)}.text-blue-800{color:var(--blue-800)}.text-blue-900{color:var(--blue-900)}.text-disabled{color:var(--disabled)}.text-error{color:var(--error)}.underline{text-decoration-line:underline}.antialiased{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.opacity-0{opacity:0}.opacity-100{opacity:1}.shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.outline{outline-style:solid}.outline-1{outline-width:1px}.outline-blue-400{outline-color:var(--blue-400)}.grayscale{--tw-grayscale: grayscale(100%);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-300{transition-duration:.3s}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.hunter-component,.hunter-component~*,.hunter-component>*{font-family:Arial,Helvetica,Verdana,Bitstream Vera Sans,sans-serif;line-height:auto;font-weight:400;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;color:var(--dark);box-sizing:border-box;scroll-behavior:smooth}@supports not selector(::-webkit-scrollbar){.hunter-component,.hunter-component~*,.hunter-component>*{scrollbar-color:var(--disabled) var(--disabled-light);scrollbar-width:thin}}@supports selector(::-webkit-scrollbar){.hunter-component ::-webkit-scrollbar,.hunter-component~* ::-webkit-scrollbar,.hunter-component>* ::-webkit-scrollbar{background:var(--disabled-light)!important;width:8px!important;border-radius:1.5rem}.hunter-component ::-webkit-scrollbar-thumb,.hunter-component~* ::-webkit-scrollbar-thumb,.hunter-component>* ::-webkit-scrollbar-thumb{background:var(--disabled)!important;border-radius:1.5rem}}.hunter-component h1,.hunter-component h2,.hunter-component h3,.hunter-component h4,.hunter-component h5,.hunter-component h6,.hunter-component~h1,.hunter-component~h2,.hunter-component~h3,.hunter-component~h4,.hunter-component~h5,.hunter-component~h6{font-weight:500;color:var(--blue-900)}.hunter-component h1,.hunter-component~h1{font-size:var(--28px)}.hunter-component h2,.hunter-component~h2{font-size:var(--24px)}.hunter-component h3,.hunter-component~h3{font-size:var(--22px)}.hunter-component h4,.hunter-component~h4{font-size:var(--18px)}.hunter-component h5,.hunter-component~h5{font-size:var(--16px)}.hunter-component h6,.hunter-component~h6{font-size:var(--14px)}.hunter-component a,.hunter-component~a,.hunter-component>a{font-weight:500;color:var(--blue-800);text-decoration:inherit}.hunter-component a:hover,.hunter-component~a:hover,.hunter-component>a{color:var(--blue-700)}.hunter-button{position:relative;display:flex;height:2.25rem;align-items:center;justify-content:center;gap:.75rem;border-radius:var(--rounded);padding-left:1.5rem;padding-right:1.5rem;padding-top:.125rem;font-weight:500;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-duration:.3s;transition-timing-function:cubic-bezier(.4,0,.2,1)}.hunter-button svg{color:inherit;pointer-events:none}.hunter-button-disabled{pointer-events:none;cursor:default;color:var(--disabled)}.hunter-button-primary{background-color:var(--blue-800);color:var(--blue-200)}.hunter-button-primary:hover{background-color:var(--blue-700)}.hunter-button-primary.hunter-button-disabled{background-color:var(--disabled-light)}.hunter-button-secondary{border-width:2px;border-color:var(--blue-800);background-color:var(--blue-200);color:var(--blue-800)}.hunter-button-secondary:hover{border-color:var(--blue-700);color:var(--blue-700)}.hunter-button-secondary.hunter-button-disabled{border-color:var(--disabled-light);color:var(--disabled-light)}.hunter-button-link,.hunter-button-text{height:-moz-max-content;height:max-content;padding:0;font-size:var(--16px);color:var(--blue-800)}.hunter-button-link:hover,.hunter-button-text:hover{color:var(--blue-700)}.hunter-button-text{font-weight:500}.hunter-button-icon{height:1.25rem;width:1.25rem;padding:0;color:var(--blue-800)}.hunter-button-icon:hover{color:var(--blue-700)}:root{--blue-900: #002533;--blue-800: #00658a;--blue-700: #0192c9;--blue-600: #47636b;--blue-500: #819da7;--blue-400: #dae4e7;--blue-300: #f1f3f4;--blue-200: #f9fafa;--dark: #363636;--disabled: #979797;--disabled-light: #d9d9d9;--information: #01b6fb;--information-light: #e9f5fe;--success: #83b001;--success-light: #f6fce6;--warning: #f4a729;--warning-light: #fef6ea;--error: #ff3923;--error-light: #ffebe9;--base-unit: .25rem;--2px: calc(var(--base-unit) / 2);--5px: calc(var(--base-unit) * 1.25);--8px: calc(var(--base-unit) * 2);--10px: calc(var(--base-unit) * 2.5);--12px: calc(var(--base-unit) * 3);--14px: calc(var(--base-unit) * 3.5);--16px: calc(var(--base-unit) * 4);--18px: calc(var(--base-unit) * 4.5);--22px: calc(var(--base-unit) * 5.5);--24px: calc(var(--base-unit) * 6);--28px: calc(var(--base-unit) * 7);--32px: calc(var(--base-unit) * 8);--36px: calc(var(--base-unit) * 9);--shadow: 0px var(--2px) var(--8px) #1e2127;--rounded: var(--5px);--rounded-lg: var(--10px)}@keyframes set-height-0{to{height:0px;overflow:hidden}}.hunter-dropdown-list{position:absolute;top:100%;left:0;margin-top:.5rem;width:100%;border-radius:var(--rounded-lg);transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.hunter-dropdown-list.collapsed{animation:set-height-0 0s forwards .15s;opacity:0}.hunter-dropdown-ol{display:flex;width:100%;flex-direction:column;align-items:flex-start;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.hunter-dropdown-ol:after{content:"";pointer-events:none;position:absolute;top:0;right:0;bottom:0;left:0;border-radius:var(--rounded-lg);--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.hunter-search-input-option-li{width:100%;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.hunter-dropdown-option-button{margin-top:.125rem;margin-bottom:.125rem;width:100%;background-color:transparent;padding:.5rem 1.5rem .25rem;text-align:left;font-weight:500;color:var(--blue-900);transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-duration:.15s;transition-timing-function:cubic-bezier(.4,0,.2,1)}.hunter-dropdown-option-button:hover{background-color:var(--blue-300)}.hunter-dropdown-option-button.dropdown-option-selected{color:var(--blue-800);transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-duration:.15s;transition-timing-function:cubic-bezier(.4,0,.2,1)}.hunter-dropdown-with-button[data-v-8173cf28]{display:flex;width:11rem;flex-direction:column;align-items:flex-end}.hunter-dropdown-selection-button[data-v-8173cf28]{position:relative;width:-moz-max-content;width:max-content}.hunter-dropdown-with-button-list[data-v-8173cf28]{position:relative;width:100%}.hunter-link{font-size:var(--16px);font-weight:700;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-duration:.15s;transition-timing-function:cubic-bezier(.4,0,.2,1)}.hunter-link.link-disabled{pointer-events:none;color:var(--disabled);transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.hunter-link.link-inactive{color:var(--blue-500);transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.hunter-link:hover,.hunter-link.link-inactive:hover{cursor:pointer;color:var(--blue-700)}.hunter-nav-links{display:flex;width:-moz-max-content;width:max-content}.hunter-nav-links.hunter-nav-links-tabs .nav-link-container{position:relative;display:flex;width:100%;justify-content:center;border-bottom-width:1px;border-color:var(--blue-400);padding-left:3rem;padding-right:3rem;padding-bottom:.25rem}.hunter-nav-links.hunter-nav-links-tabs .nav-link-container:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;margin-bottom:-1px;transform-origin:center;--tw-scale-x: 0;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));border-bottom-width:2px;border-color:var(--blue-800);transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.hunter-nav-links.hunter-nav-links-tabs .nav-link-container:has(.nav-link-active):before{content:"";--tw-scale-x: 1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}[data-v-4621853b]:root{--blue-900: #002533;--blue-800: #00658a;--blue-700: #0192c9;--blue-600: #47636b;--blue-500: #819da7;--blue-400: #dae4e7;--blue-300: #f1f3f4;--blue-200: #f9fafa;--dark: #363636;--disabled: #979797;--disabled-light: #d9d9d9;--information: #01b6fb;--information-light: #e9f5fe;--success: #83b001;--success-light: #f6fce6;--warning: #f4a729;--warning-light: #fef6ea;--error: #ff3923;--error-light: #ffebe9;--base-unit: .25rem;--2px: calc(var(--base-unit) / 2);--5px: calc(var(--base-unit) * 1.25);--8px: calc(var(--base-unit) * 2);--10px: calc(var(--base-unit) * 2.5);--12px: calc(var(--base-unit) * 3);--14px: calc(var(--base-unit) * 3.5);--16px: calc(var(--base-unit) * 4);--18px: calc(var(--base-unit) * 4.5);--22px: calc(var(--base-unit) * 5.5);--24px: calc(var(--base-unit) * 6);--28px: calc(var(--base-unit) * 7);--32px: calc(var(--base-unit) * 8);--36px: calc(var(--base-unit) * 9);--shadow: 0px var(--2px) var(--8px) #1e2127;--rounded: var(--5px);--rounded-lg: var(--10px)}.hunter-search-input-with-dropdown[data-v-4621853b]{display:flex;width:100%;align-items:flex-end;gap:.5rem}.hunter-search-input-with-dropdown .hunter-search-input-container[data-v-4621853b]{position:relative;width:100%;min-width:13rem;max-width:1024px}.hunter-search-input-with-dropdown .hunter-search-input-container .hunter-search-input-label[data-v-4621853b]{margin-left:.125rem;margin-bottom:.25rem;display:inline-block;width:100%;font-weight:500;text-transform:uppercase;color:var(--blue-900)}.hunter-search-input-with-dropdown .hunter-search-input-container .hunter-search-input[data-v-4621853b]{outline:2px solid transparent;transition:outline-color .2s ease-in-out,color .1s ease-in-out;position:relative;display:flex;height:2.5rem;width:100%;align-items:center;border-radius:1.5rem;padding-left:.75rem;padding-right:.75rem;padding-top:1px;color:var(--blue-900);outline-width:1px;outline-color:var(--blue-400)}.hunter-search-input-with-dropdown .hunter-search-input-container .hunter-search-input[data-v-4621853b]::-moz-placeholder{color:var(--blue-500)}.hunter-search-input-with-dropdown .hunter-search-input-container .hunter-search-input[data-v-4621853b]::placeholder{color:var(--blue-500)}.hunter-search-input-with-dropdown .hunter-search-input-container .hunter-search-input[data-v-4621853b]:focus,.hunter-search-input-with-dropdown .hunter-search-input-container .hunter-search-input[data-v-4621853b]:active{outline:2px solid var(--blue-800)}.hunter-search-input-with-dropdown .hunter-search-input-container .hunter-search-input[data-v-4621853b]:focus::-moz-placeholder{color:transparent}.hunter-search-input-with-dropdown .hunter-search-input-container .hunter-search-input[data-v-4621853b]:focus::placeholder{color:transparent}.hunter-search-input-with-dropdown .hunter-search-input-container .hunter-search-input-button[data-v-4621853b]{position:absolute;right:.75rem;bottom:.625rem}.hunter-search-input-with-dropdown .hunter-search-input-container .hunter-search-input-error[data-v-4621853b]{pointer-events:none;position:absolute;top:100%;margin-top:.125rem;margin-left:.375rem;font-size:var(--14px);color:var(--error);opacity:0;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.hunter-search-input-with-dropdown .hunter-search-input-container .hunter-search-input-error.error-visible[data-v-4621853b]{pointer-events:auto;opacity:1}.hunter-search-input-with-dropdown .hunter-search-input-container .hide-text[data-v-4621853b]{color:transparent}.hunter-search-input-with-dropdown .clear-button-wrapper[data-v-4621853b]{display:flex;height:2.5rem;width:-moz-max-content;width:max-content;align-items:center}.hunter-search-input-with-dropdown .clear-button[data-v-4621853b]{padding-top:1px}')),document.head.appendChild(t)}}catch(r){console.error("vite-plugin-css-injected-by-js",r)}})();
|
|
2
|
-
import { defineComponent as
|
|
3
|
-
const Y = ["id"], I = /* @__PURE__ */
|
|
1
|
+
(function(){"use strict";try{if(typeof document<"u"){var t=document.createElement("style");t.appendChild(document.createTextNode('*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:currentColor}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(147 197 253 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(147 197 253 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }.pointer-events-none{pointer-events:none}.collapse{visibility:collapse}.absolute{position:absolute}.relative{position:relative}.inset-0{top:0;right:0;bottom:0;left:0}.bottom-2{bottom:.5rem}.left-0{left:0}.right-3{right:.75rem}.top-full{top:100%}.my-0{margin-top:0;margin-bottom:0}.my-0\\.5{margin-top:.125rem;margin-bottom:.125rem}.-mb-1px{margin-bottom:-1px}.mb-1{margin-bottom:.25rem}.ml-0{margin-left:0}.ml-0\\.5{margin-left:.125rem}.ml-1{margin-left:.25rem}.ml-1\\.5{margin-left:.375rem}.mt-0{margin-top:0}.mt-0\\.5{margin-top:.125rem}.mt-2{margin-top:.5rem}.inline-block{display:inline-block}.flex{display:flex}.table{display:table}.hidden{display:none}.h-0{height:0px}.h-10{height:2.5rem}.h-12{height:3rem}.h-4{height:1rem}.h-5{height:1.25rem}.h-9{height:2.25rem}.h-max{height:-moz-max-content;height:max-content}.max-h-44{max-height:11rem}.w-12{width:3rem}.w-4{width:1rem}.w-44{width:11rem}.w-5{width:1.25rem}.w-full{width:100%}.w-max{width:-moz-max-content;width:max-content}.max-w-screen-lg{max-width:1024px}.origin-center{transform-origin:center}.-scale-y-100{--tw-scale-y: -1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scale-x-0{--tw-scale-x: 0;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scale-y-100{--tw-scale-y: 1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.cursor-pointer{cursor:pointer}.resize{resize:both}.flex-col{flex-direction:column}.flex-nowrap{flex-wrap:nowrap}.items-start{align-items:flex-start}.items-end{align-items:flex-end}.items-center{align-items:center}.justify-center{justify-content:center}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.rounded{border-radius:var(--rounded)}.rounded-3xl{border-radius:1.5rem}.rounded-lg{border-radius:var(--rounded-lg)}.rounded-l-none{border-top-left-radius:0;border-bottom-left-radius:0}.rounded-r{border-top-right-radius:var(--rounded);border-bottom-right-radius:var(--rounded)}.border-2{border-width:2px}.border-b{border-bottom-width:1px}.border-b-2{border-bottom-width:2px}.border-blue-400{border-color:var(--blue-400)}.border-blue-700{border-color:var(--blue-700)}.border-blue-800{border-color:var(--blue-800)}.border-disabled-light{border-color:var(--disabled-light)}.bg-blue-200{background-color:var(--blue-200)}.bg-blue-800{background-color:var(--blue-800)}.p-0{padding:0}.px-12{padding-left:3rem;padding-right:3rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.pb-1{padding-bottom:.25rem}.pr-0{padding-right:0}.pr-0\\.5{padding-right:.125rem}.pt-0{padding-top:0}.pt-1px{padding-top:1px}.pt-2{padding-top:.5rem}.text-left{text-align:left}.text-2xl{font-size:var(--28px)}.text-3xl{font-size:var(--32px)}.text-4xl{font-size:var(--36px)}.text-base{font-size:var(--16px)}.text-lg{font-size:var(--22px)}.text-md{font-size:var(--18px)}.text-sm{font-size:var(--14px)}.text-xl{font-size:var(--24px)}.text-xs{font-size:var(--12px)}.font-bold{font-weight:700}.font-medium{font-weight:500}.uppercase{text-transform:uppercase}.text-blue-500{color:var(--blue-500)}.text-blue-800{color:var(--blue-800)}.text-blue-900{color:var(--blue-900)}.text-disabled{color:var(--disabled)}.text-error{color:var(--error)}.underline{text-decoration-line:underline}.antialiased{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.opacity-0{opacity:0}.opacity-100{opacity:1}.shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.outline{outline-style:solid}.outline-1{outline-width:1px}.outline-blue-400{outline-color:var(--blue-400)}.grayscale{--tw-grayscale: grayscale(100%);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-300{transition-duration:.3s}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.hunter-component,.hunter-component~*,.hunter-component>*{font-family:Arial,Helvetica,Verdana,Bitstream Vera Sans,sans-serif;line-height:auto;font-weight:400;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;color:var(--dark);box-sizing:border-box;scroll-behavior:smooth}@supports not selector(::-webkit-scrollbar){.hunter-component,.hunter-component~*,.hunter-component>*{scrollbar-color:var(--disabled) var(--disabled-light);scrollbar-width:thin}}@supports selector(::-webkit-scrollbar){.hunter-component ::-webkit-scrollbar,.hunter-component~* ::-webkit-scrollbar,.hunter-component>* ::-webkit-scrollbar{background:var(--disabled-light)!important;width:8px!important;border-radius:1.5rem}.hunter-component ::-webkit-scrollbar-thumb,.hunter-component~* ::-webkit-scrollbar-thumb,.hunter-component>* ::-webkit-scrollbar-thumb{background:var(--disabled)!important;border-radius:1.5rem}}.hunter-component h1,.hunter-component h2,.hunter-component h3,.hunter-component h4,.hunter-component h5,.hunter-component h6,.hunter-component~h1,.hunter-component~h2,.hunter-component~h3,.hunter-component~h4,.hunter-component~h5,.hunter-component~h6{font-weight:500;color:var(--blue-900)}.hunter-component h1,.hunter-component~h1{font-size:var(--28px)}.hunter-component h2,.hunter-component~h2{font-size:var(--24px)}.hunter-component h3,.hunter-component~h3{font-size:var(--22px)}.hunter-component h4,.hunter-component~h4{font-size:var(--18px)}.hunter-component h5,.hunter-component~h5{font-size:var(--16px)}.hunter-component h6,.hunter-component~h6{font-size:var(--14px)}.hunter-component a,.hunter-component~a,.hunter-component>a{font-weight:500;color:var(--blue-800);text-decoration:inherit}.hunter-component a:hover,.hunter-component~a:hover,.hunter-component>a:hover{color:var(--blue-700)}.hunter-button{position:relative;display:flex;height:2.25rem;align-items:center;justify-content:center;gap:.75rem;border-radius:var(--rounded);padding-left:1.5rem;padding-right:1.5rem;padding-top:.125rem;font-weight:500;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-duration:.3s;transition-timing-function:cubic-bezier(.4,0,.2,1)}.hunter-button svg{color:inherit;pointer-events:none}.hunter-button-disabled{pointer-events:none;cursor:default;color:var(--disabled)}.hunter-button-primary{background-color:var(--blue-800);color:var(--blue-200)}.hunter-button-primary:hover{background-color:var(--blue-700)}.hunter-button-primary.hunter-button-disabled{background-color:var(--disabled-light)}.hunter-button-secondary{border-width:2px;border-color:var(--blue-800);background-color:var(--blue-200);color:var(--blue-800)}.hunter-button-secondary:hover{border-color:var(--blue-700);color:var(--blue-700)}.hunter-button-secondary.hunter-button-disabled{border-color:var(--disabled-light);color:var(--disabled-light)}.hunter-button-link,.hunter-button-text{height:-moz-max-content;height:max-content;padding:0;font-size:var(--16px);color:var(--blue-800)}.hunter-button-link:hover,.hunter-button-text:hover{color:var(--blue-700)}.hunter-button-text{font-weight:500}.hunter-button-icon{height:1.25rem;width:1.25rem;padding:0;color:var(--blue-800)}.hunter-button-icon:hover{color:var(--blue-700)}:root{--blue-900: #002533;--blue-800: #00658a;--blue-700: #0192c9;--blue-600: #47636b;--blue-500: #819da7;--blue-400: #dae4e7;--blue-300: #f1f3f4;--blue-200: #f9fafa;--dark: #363636;--disabled: #979797;--disabled-light: #d9d9d9;--information: #01b6fb;--information-light: #e9f5fe;--success: #83b001;--success-light: #f6fce6;--warning: #f4a729;--warning-light: #fef6ea;--error: #ff3923;--error-light: #ffebe9;--base-unit: .25rem;--2px: calc(var(--base-unit) / 2);--5px: calc(var(--base-unit) * 1.25);--8px: calc(var(--base-unit) * 2);--10px: calc(var(--base-unit) * 2.5);--12px: calc(var(--base-unit) * 3);--14px: calc(var(--base-unit) * 3.5);--16px: calc(var(--base-unit) * 4);--18px: calc(var(--base-unit) * 4.5);--22px: calc(var(--base-unit) * 5.5);--24px: calc(var(--base-unit) * 6);--28px: calc(var(--base-unit) * 7);--32px: calc(var(--base-unit) * 8);--36px: calc(var(--base-unit) * 9);--shadow: 0px var(--2px) var(--8px) #1e2127;--rounded: var(--5px);--rounded-lg: var(--10px)}@keyframes set-height-0{to{height:0px;overflow:hidden}}.hunter-dropdown-list{position:absolute;top:100%;left:0;margin-top:.5rem;width:100%;border-radius:var(--rounded-lg);transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.hunter-dropdown-list.collapsed{animation:set-height-0 0s forwards .15s;opacity:0}.hunter-dropdown-ol{display:flex;width:100%;flex-direction:column;align-items:flex-start;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.hunter-dropdown-ol:after{content:"";pointer-events:none;position:absolute;top:0;right:0;bottom:0;left:0;border-radius:var(--rounded-lg);--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.hunter-search-input-option-li{width:100%;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.hunter-dropdown-option-button{margin-top:.125rem;margin-bottom:.125rem;width:100%;background-color:transparent;padding:.5rem 1.5rem .25rem;text-align:left;font-weight:500;color:var(--blue-900);transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-duration:.15s;transition-timing-function:cubic-bezier(.4,0,.2,1)}.hunter-dropdown-option-button:hover{background-color:var(--blue-300)}.hunter-dropdown-option-button.dropdown-option-selected{color:var(--blue-800);transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-duration:.15s;transition-timing-function:cubic-bezier(.4,0,.2,1)}.hunter-dropdown-with-button[data-v-8173cf28]{display:flex;width:11rem;flex-direction:column;align-items:flex-end}.hunter-dropdown-selection-button[data-v-8173cf28]{position:relative;width:-moz-max-content;width:max-content}.hunter-dropdown-with-button-list[data-v-8173cf28]{position:relative;width:100%}.hunter-link,.hunter-nav-links-tabs>a{font-size:var(--16px);font-weight:700;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-duration:.15s;transition-timing-function:cubic-bezier(.4,0,.2,1)}.hunter-link.link-disabled,.hunter-nav-links-tabs>a.link-disabled{pointer-events:none;color:var(--disabled);transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.hunter-link.link-inactive,.hunter-nav-links-tabs>a.link-inactive{color:var(--blue-500);transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.hunter-link:hover,.hunter-link.link-inactive:hover,.hunter-nav-links-tabs>a:hover,.hunter-nav-links-tabs>a.link-inactive:hover{cursor:pointer;color:var(--blue-700)}.hunter-nav-links{display:flex}.hunter-nav-links.hunter-nav-links-tabs a{position:relative;display:flex;width:100%;justify-content:center;border-bottom-width:1px;border-color:var(--blue-400);padding-left:3rem;padding-right:3rem;padding-bottom:.25rem}.hunter-nav-links.hunter-nav-links-tabs a:before{content:"";z-index:-1;position:absolute;top:0;right:0;bottom:0;left:0;margin-bottom:-1px;transform-origin:center;--tw-scale-x: 0;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));border-bottom-width:2px;border-color:var(--blue-800);transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.hunter-nav-links.hunter-nav-links-tabs a:has(.nav-link-active):before{content:"";--tw-scale-x: 1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}[data-v-4621853b]:root{--blue-900: #002533;--blue-800: #00658a;--blue-700: #0192c9;--blue-600: #47636b;--blue-500: #819da7;--blue-400: #dae4e7;--blue-300: #f1f3f4;--blue-200: #f9fafa;--dark: #363636;--disabled: #979797;--disabled-light: #d9d9d9;--information: #01b6fb;--information-light: #e9f5fe;--success: #83b001;--success-light: #f6fce6;--warning: #f4a729;--warning-light: #fef6ea;--error: #ff3923;--error-light: #ffebe9;--base-unit: .25rem;--2px: calc(var(--base-unit) / 2);--5px: calc(var(--base-unit) * 1.25);--8px: calc(var(--base-unit) * 2);--10px: calc(var(--base-unit) * 2.5);--12px: calc(var(--base-unit) * 3);--14px: calc(var(--base-unit) * 3.5);--16px: calc(var(--base-unit) * 4);--18px: calc(var(--base-unit) * 4.5);--22px: calc(var(--base-unit) * 5.5);--24px: calc(var(--base-unit) * 6);--28px: calc(var(--base-unit) * 7);--32px: calc(var(--base-unit) * 8);--36px: calc(var(--base-unit) * 9);--shadow: 0px var(--2px) var(--8px) #1e2127;--rounded: var(--5px);--rounded-lg: var(--10px)}.hunter-search-input-with-dropdown[data-v-4621853b]{display:flex;width:100%;align-items:flex-end;gap:.5rem}.hunter-search-input-with-dropdown .hunter-search-input-container[data-v-4621853b]{position:relative;width:100%;min-width:13rem;max-width:1024px}.hunter-search-input-with-dropdown .hunter-search-input-container .hunter-search-input-label[data-v-4621853b]{margin-left:.125rem;margin-bottom:.25rem;display:inline-block;width:100%;font-weight:500;text-transform:uppercase;color:var(--blue-900)}.hunter-search-input-with-dropdown .hunter-search-input-container .hunter-search-input[data-v-4621853b]{outline:2px solid transparent;transition:outline-color .2s ease-in-out,color .1s ease-in-out;position:relative;display:flex;height:2.5rem;width:100%;align-items:center;border-radius:1.5rem;padding-left:.75rem;padding-right:.75rem;padding-top:1px;color:var(--blue-900);outline-width:1px;outline-color:var(--blue-400)}.hunter-search-input-with-dropdown .hunter-search-input-container .hunter-search-input[data-v-4621853b]::-moz-placeholder{color:var(--blue-500)}.hunter-search-input-with-dropdown .hunter-search-input-container .hunter-search-input[data-v-4621853b]::placeholder{color:var(--blue-500)}.hunter-search-input-with-dropdown .hunter-search-input-container .hunter-search-input[data-v-4621853b]:focus,.hunter-search-input-with-dropdown .hunter-search-input-container .hunter-search-input[data-v-4621853b]:active{outline:2px solid var(--blue-800)}.hunter-search-input-with-dropdown .hunter-search-input-container .hunter-search-input[data-v-4621853b]:focus::-moz-placeholder{color:transparent}.hunter-search-input-with-dropdown .hunter-search-input-container .hunter-search-input[data-v-4621853b]:focus::placeholder{color:transparent}.hunter-search-input-with-dropdown .hunter-search-input-container .hunter-search-input-button[data-v-4621853b]{position:absolute;right:.75rem;bottom:.625rem}.hunter-search-input-with-dropdown .hunter-search-input-container .hunter-search-input-error[data-v-4621853b]{pointer-events:none;position:absolute;top:100%;margin-top:.125rem;margin-left:.375rem;font-size:var(--14px);color:var(--error);opacity:0;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.hunter-search-input-with-dropdown .hunter-search-input-container .hunter-search-input-error.error-visible[data-v-4621853b]{pointer-events:auto;opacity:1}.hunter-search-input-with-dropdown .hunter-search-input-container .hide-text[data-v-4621853b]{color:transparent}.hunter-search-input-with-dropdown .clear-button-wrapper[data-v-4621853b]{display:flex;height:2.5rem;width:-moz-max-content;width:max-content;align-items:center}.hunter-search-input-with-dropdown .clear-button[data-v-4621853b]{padding-top:1px}')),document.head.appendChild(t)}}catch(r){console.error("vite-plugin-css-injected-by-js",r)}})();
|
|
2
|
+
import { defineComponent as b, computed as k, openBlock as c, createElementBlock as p, normalizeClass as g, renderSlot as S, createElementVNode as u, Fragment as O, renderList as D, toDisplayString as x, ref as _, watch as H, createBlock as T, onMounted as q, onBeforeUnmount as M, createVNode as $, withCtx as C, createTextVNode as A, unref as E, resolveDynamicComponent as W, normalizeStyle as j, withDirectives as P, vModelText as G, pushScopeId as J, popScopeId as X } from "vue";
|
|
3
|
+
const Y = ["id"], I = /* @__PURE__ */ b({
|
|
4
4
|
__name: "Button",
|
|
5
5
|
props: {
|
|
6
6
|
variant: {},
|
|
@@ -8,18 +8,18 @@ const Y = ["id"], I = /* @__PURE__ */ g({
|
|
|
8
8
|
id: {}
|
|
9
9
|
},
|
|
10
10
|
setup(t) {
|
|
11
|
-
const e = t,
|
|
12
|
-
() => `hunter-button-${e.variant || "primary"} ${
|
|
11
|
+
const e = t, n = k(() => e.disabled || !1), i = k(
|
|
12
|
+
() => `hunter-button-${e.variant || "primary"} ${n.value && "hunter-button-disabled"}`
|
|
13
13
|
);
|
|
14
|
-
return (
|
|
14
|
+
return (o, r) => (c(), p("button", {
|
|
15
15
|
ref: "button",
|
|
16
|
-
class:
|
|
17
|
-
id:
|
|
16
|
+
class: g(["hunter-component hunter-button", i.value]),
|
|
17
|
+
id: o.id
|
|
18
18
|
}, [
|
|
19
|
-
|
|
19
|
+
S(o.$slots, "default")
|
|
20
20
|
], 10, Y));
|
|
21
21
|
}
|
|
22
|
-
}), Z = ["id"], ee = { class: "overflow-hidden rounded-r rounded-l-none" }, te = ["value", "onClick"], z = /* @__PURE__ */
|
|
22
|
+
}), Z = ["id"], ee = { class: "overflow-hidden rounded-r rounded-l-none" }, te = ["value", "onClick"], z = /* @__PURE__ */ b({
|
|
23
23
|
__name: "DropdownList",
|
|
24
24
|
props: {
|
|
25
25
|
options: {},
|
|
@@ -32,32 +32,32 @@ const Y = ["id"], I = /* @__PURE__ */ g({
|
|
|
32
32
|
},
|
|
33
33
|
emits: ["selectOption"],
|
|
34
34
|
setup(t, { emit: e }) {
|
|
35
|
-
const
|
|
36
|
-
|
|
35
|
+
const n = t, i = e, o = k(() => n.scrollable || !1), r = k(() => n.selected || null), s = (l) => {
|
|
36
|
+
i("selectOption", l);
|
|
37
37
|
};
|
|
38
|
-
return (
|
|
39
|
-
id: `dropdown-list-${
|
|
40
|
-
class:
|
|
38
|
+
return (l, a) => (c(), p("div", {
|
|
39
|
+
id: `dropdown-list-${l.id}`,
|
|
40
|
+
class: g(["hunter-component hunter-dropdown-list pr-0.5 py-1", l.collapsed ? "collapsed" : ""])
|
|
41
41
|
}, [
|
|
42
|
-
|
|
43
|
-
|
|
42
|
+
u("div", ee, [
|
|
43
|
+
u("ol", {
|
|
44
44
|
ref: "dropdown",
|
|
45
|
-
class:
|
|
45
|
+
class: g(["hunter-dropdown-ol", o.value && "max-h-44 overflow-y-auto"]),
|
|
46
46
|
"aria-hidden": "true"
|
|
47
47
|
}, [
|
|
48
|
-
(
|
|
49
|
-
key:
|
|
48
|
+
(c(!0), p(O, null, D(l.options, (f) => (c(), p("li", {
|
|
49
|
+
key: f[l.optionKey],
|
|
50
50
|
"aria-hidden": "true",
|
|
51
51
|
class: "hunter-search-input-option-li"
|
|
52
52
|
}, [
|
|
53
|
-
|
|
54
|
-
class:
|
|
53
|
+
u("button", {
|
|
54
|
+
class: g([
|
|
55
55
|
"hunter-dropdown-option-button",
|
|
56
|
-
|
|
56
|
+
r.value && f[l.optionKey] === r.value[l.optionKey] && "dropdown-option-selected"
|
|
57
57
|
]),
|
|
58
|
-
value:
|
|
59
|
-
onClick: (m) =>
|
|
60
|
-
},
|
|
58
|
+
value: f[l.optionKey],
|
|
59
|
+
onClick: (m) => s(f)
|
|
60
|
+
}, x(f[l.optionKey]), 11, te)
|
|
61
61
|
]))), 128))
|
|
62
62
|
], 2)
|
|
63
63
|
])
|
|
@@ -66,22 +66,22 @@ const Y = ["id"], I = /* @__PURE__ */ g({
|
|
|
66
66
|
}), ne = ({
|
|
67
67
|
options: t,
|
|
68
68
|
query: e,
|
|
69
|
-
key:
|
|
70
|
-
max:
|
|
69
|
+
key: n,
|
|
70
|
+
max: i
|
|
71
71
|
}) => {
|
|
72
72
|
if (!e)
|
|
73
73
|
return;
|
|
74
74
|
e = e == null ? void 0 : e.toLowerCase();
|
|
75
|
-
let
|
|
76
|
-
return t.filter((
|
|
77
|
-
if (
|
|
78
|
-
if (
|
|
79
|
-
if (
|
|
80
|
-
return
|
|
75
|
+
let o = 0;
|
|
76
|
+
return t.filter((r) => {
|
|
77
|
+
if (r[n].toLowerCase().includes(e))
|
|
78
|
+
if (i) {
|
|
79
|
+
if (i && o <= i - 1)
|
|
80
|
+
return o++, r;
|
|
81
81
|
} else
|
|
82
|
-
return
|
|
82
|
+
return r;
|
|
83
83
|
});
|
|
84
|
-
}, oe = /* @__PURE__ */
|
|
84
|
+
}, oe = /* @__PURE__ */ b({
|
|
85
85
|
__name: "DropdownListWithFilter",
|
|
86
86
|
props: {
|
|
87
87
|
filterValue: {},
|
|
@@ -95,50 +95,50 @@ const Y = ["id"], I = /* @__PURE__ */ g({
|
|
|
95
95
|
},
|
|
96
96
|
emits: ["selectOption"],
|
|
97
97
|
setup(t, { emit: e }) {
|
|
98
|
-
const
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
(
|
|
102
|
-
if (
|
|
103
|
-
if (
|
|
104
|
-
options:
|
|
105
|
-
query:
|
|
106
|
-
key:
|
|
107
|
-
max:
|
|
108
|
-
}),
|
|
109
|
-
return
|
|
110
|
-
|
|
98
|
+
const n = t, i = e, o = _([...n.options]), r = k(() => n.filterValue || ""), s = _(n.collapsed);
|
|
99
|
+
H(
|
|
100
|
+
r,
|
|
101
|
+
(a) => {
|
|
102
|
+
if (a.length > 1) {
|
|
103
|
+
if (o.value = ne({
|
|
104
|
+
options: n.options,
|
|
105
|
+
query: a,
|
|
106
|
+
key: n.optionKey,
|
|
107
|
+
max: n.maxResults
|
|
108
|
+
}), o.value.length === 0)
|
|
109
|
+
return s.value = !0, s.value;
|
|
110
|
+
s.value = !1;
|
|
111
111
|
return;
|
|
112
112
|
} else
|
|
113
|
-
|
|
113
|
+
s.value = !0;
|
|
114
114
|
},
|
|
115
115
|
{ immediate: !0 }
|
|
116
116
|
);
|
|
117
|
-
const
|
|
118
|
-
|
|
117
|
+
const l = (a) => {
|
|
118
|
+
i("selectOption", a);
|
|
119
119
|
};
|
|
120
|
-
return (
|
|
121
|
-
options:
|
|
122
|
-
optionKey:
|
|
123
|
-
collapsed:
|
|
124
|
-
scrollable:
|
|
125
|
-
onSelectOption:
|
|
120
|
+
return (a, f) => (c(), T(z, {
|
|
121
|
+
options: o.value,
|
|
122
|
+
optionKey: a.optionKey,
|
|
123
|
+
collapsed: s.value,
|
|
124
|
+
scrollable: a.scrollable,
|
|
125
|
+
onSelectOption: f[0] || (f[0] = (m) => l(m))
|
|
126
126
|
}, null, 8, ["options", "optionKey", "collapsed", "scrollable"]));
|
|
127
127
|
}
|
|
128
128
|
}), se = {
|
|
129
129
|
xmlns: "http://www.w3.org/2000/svg",
|
|
130
130
|
fill: "none",
|
|
131
131
|
viewBox: "0 0 18 9"
|
|
132
|
-
}, le = /* @__PURE__ */
|
|
132
|
+
}, le = /* @__PURE__ */ u("path", {
|
|
133
133
|
fill: "currentColor",
|
|
134
134
|
d: "M9 9 .667.667h16.666z"
|
|
135
135
|
}, null, -1), re = [
|
|
136
136
|
le
|
|
137
137
|
];
|
|
138
138
|
function ae(t, e) {
|
|
139
|
-
return
|
|
139
|
+
return c(), p("svg", se, [...re]);
|
|
140
140
|
}
|
|
141
|
-
const K = { render: ae },
|
|
141
|
+
const K = { render: ae }, ie = { class: "hunter-dropdown-with-button" }, ce = { class: "hunter-dropdown-selection-button" }, ue = /* @__PURE__ */ b({
|
|
142
142
|
__name: "DropdownWithButton",
|
|
143
143
|
props: {
|
|
144
144
|
buttonText: {},
|
|
@@ -152,271 +152,296 @@ const K = { render: ae }, ce = { class: "hunter-dropdown-with-button" }, ie = {
|
|
|
152
152
|
},
|
|
153
153
|
emits: ["selectOption"],
|
|
154
154
|
setup(t, { emit: e }) {
|
|
155
|
-
const { id:
|
|
156
|
-
|
|
157
|
-
},
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
}, 750),
|
|
161
|
-
}, m = (
|
|
155
|
+
const { id: n } = t, i = e, o = _(), r = _(), s = _(!0), l = _(), a = () => {
|
|
156
|
+
s.value = !s.value;
|
|
157
|
+
}, f = (h) => {
|
|
158
|
+
l.value = h, setTimeout(() => {
|
|
159
|
+
s.value = !0;
|
|
160
|
+
}, 750), i("selectOption", h);
|
|
161
|
+
}, m = (h) => {
|
|
162
162
|
var y;
|
|
163
|
-
const
|
|
164
|
-
if (!(
|
|
165
|
-
return
|
|
163
|
+
const L = h.target;
|
|
164
|
+
if (!(L === o.value || (y = r.value) != null && y.contains(L) || L === r.value))
|
|
165
|
+
return s.value = !0, s;
|
|
166
166
|
};
|
|
167
|
-
return
|
|
168
|
-
document.addEventListener("click", (
|
|
169
|
-
}),
|
|
170
|
-
document.removeEventListener("click", (
|
|
171
|
-
}), (
|
|
172
|
-
|
|
167
|
+
return q(() => {
|
|
168
|
+
document.addEventListener("click", (h) => m(h)), o.value = document.querySelector(`#button-dropdown-title-${n}`);
|
|
169
|
+
}), M(() => {
|
|
170
|
+
document.removeEventListener("click", (h) => m(h));
|
|
171
|
+
}), (h, L) => (c(), p("div", ie, [
|
|
172
|
+
u("div", ce, [
|
|
173
173
|
$(I, {
|
|
174
|
-
id: `button-dropdown-title-${
|
|
174
|
+
id: `button-dropdown-title-${h.id}`,
|
|
175
175
|
variant: "text",
|
|
176
|
-
onClick:
|
|
176
|
+
onClick: a
|
|
177
177
|
}, {
|
|
178
|
-
default:
|
|
179
|
-
|
|
180
|
-
$(
|
|
181
|
-
class:
|
|
178
|
+
default: C(() => [
|
|
179
|
+
A(x(h.buttonText) + " ", 1),
|
|
180
|
+
$(E(K), {
|
|
181
|
+
class: g(["h-4 w-4 transition duration-300 ease-in-out", s.value === !0 ? "scale-y-100" : "-scale-y-100"])
|
|
182
182
|
}, null, 8, ["class"])
|
|
183
183
|
]),
|
|
184
184
|
_: 1
|
|
185
185
|
}, 8, ["id"])
|
|
186
186
|
]),
|
|
187
|
-
|
|
187
|
+
u("div", {
|
|
188
188
|
ref_key: "dropdownListEl",
|
|
189
|
-
ref:
|
|
189
|
+
ref: r,
|
|
190
190
|
class: "hunter-dropdown-with-button-list"
|
|
191
191
|
}, [
|
|
192
192
|
$(z, {
|
|
193
|
-
options:
|
|
194
|
-
"option-key":
|
|
195
|
-
collapsed:
|
|
196
|
-
selected:
|
|
197
|
-
onSelectOption:
|
|
193
|
+
options: h.options,
|
|
194
|
+
"option-key": h.optionKey,
|
|
195
|
+
collapsed: s.value,
|
|
196
|
+
selected: l.value,
|
|
197
|
+
onSelectOption: f
|
|
198
198
|
}, null, 8, ["options", "option-key", "collapsed", "selected"])
|
|
199
199
|
], 512)
|
|
200
200
|
]));
|
|
201
201
|
}
|
|
202
|
-
}),
|
|
203
|
-
const
|
|
204
|
-
for (const [
|
|
205
|
-
|
|
206
|
-
return
|
|
207
|
-
},
|
|
202
|
+
}), R = (t, e) => {
|
|
203
|
+
const n = t.__vccOpts || t;
|
|
204
|
+
for (const [i, o] of e)
|
|
205
|
+
n[i] = o;
|
|
206
|
+
return n;
|
|
207
|
+
}, bt = /* @__PURE__ */ R(ue, [["__scopeId", "data-v-8173cf28"]]), de = {
|
|
208
208
|
xmlns: "http://www.w3.org/2000/svg",
|
|
209
209
|
fill: "none",
|
|
210
210
|
viewBox: "0 0 18 18"
|
|
211
|
-
}, pe = /* @__PURE__ */
|
|
211
|
+
}, pe = /* @__PURE__ */ u("path", {
|
|
212
212
|
fill: "currentColor",
|
|
213
213
|
d: "M3.465 13.59a9.4 9.4 0 0 1 2.565-1.383A8.8 8.8 0 0 1 9 11.7q1.552 0 2.97.507 1.418.508 2.565 1.383a7 7 0 0 0 1.227-2.092q.44-1.17.438-2.498 0-2.992-2.103-5.097Q11.994 1.8 9 1.8q-2.993 0-5.097 2.104Q1.8 6.007 1.8 9q0 1.327.44 2.498.438 1.17 1.225 2.092M9 9.9q-1.327 0-2.24-.91-.91-.912-.91-2.24t.912-2.24Q7.672 3.6 9 3.6t2.24.912.91 2.238-.91 2.24q-.91.912-2.24.91M9 18a8.8 8.8 0 0 1-3.51-.71 9.1 9.1 0 0 1-2.858-1.922A9.1 9.1 0 0 1 .71 12.51 8.8 8.8 0 0 1 0 9q0-1.866.71-3.51a9.1 9.1 0 0 1 1.922-2.858A9.1 9.1 0 0 1 5.49.71 8.8 8.8 0 0 1 9 0q1.866 0 3.51.71a9.1 9.1 0 0 1 2.858 1.922 9.1 9.1 0 0 1 1.924 2.858A8.7 8.7 0 0 1 18 9a8.8 8.8 0 0 1-.71 3.51 9 9 0 0 1-1.922 2.858 9.1 9.1 0 0 1-2.858 1.924A8.7 8.7 0 0 1 9 18"
|
|
214
214
|
}, null, -1), he = [
|
|
215
215
|
pe
|
|
216
216
|
];
|
|
217
217
|
function ve(t, e) {
|
|
218
|
-
return
|
|
218
|
+
return c(), p("svg", de, [...he]);
|
|
219
219
|
}
|
|
220
|
-
const _e = { render: ve },
|
|
220
|
+
const _e = { render: ve }, fe = {
|
|
221
221
|
xmlns: "http://www.w3.org/2000/svg",
|
|
222
222
|
fill: "none",
|
|
223
223
|
viewBox: "0 0 24 24"
|
|
224
|
-
},
|
|
224
|
+
}, we = /* @__PURE__ */ u("path", {
|
|
225
225
|
fill: "currentColor",
|
|
226
226
|
d: "M10.533 13.667h-10v-3.334h10v-10h3.334v10h10v3.334h-10v10h-3.334z"
|
|
227
227
|
}, null, -1), me = [
|
|
228
|
-
|
|
228
|
+
we
|
|
229
229
|
];
|
|
230
230
|
function $e(t, e) {
|
|
231
|
-
return
|
|
231
|
+
return c(), p("svg", fe, [...me]);
|
|
232
232
|
}
|
|
233
|
-
const ge = { render: $e },
|
|
233
|
+
const ge = { render: $e }, ke = {
|
|
234
234
|
xmlns: "http://www.w3.org/2000/svg",
|
|
235
235
|
fill: "none",
|
|
236
236
|
viewBox: "0 0 18 18"
|
|
237
|
-
},
|
|
237
|
+
}, be = /* @__PURE__ */ u("path", {
|
|
238
238
|
fill: "currentColor",
|
|
239
239
|
d: "m4.303 10.125 6.3 6.3L9 18 0 9l9-9 1.603 1.575-6.3 6.3H18v2.25z"
|
|
240
|
-
}, null, -1),
|
|
241
|
-
|
|
240
|
+
}, null, -1), Le = [
|
|
241
|
+
be
|
|
242
242
|
];
|
|
243
243
|
function ye(t, e) {
|
|
244
|
-
return
|
|
244
|
+
return c(), p("svg", ke, [...Le]);
|
|
245
245
|
}
|
|
246
|
-
const
|
|
246
|
+
const Ce = { render: ye }, xe = {
|
|
247
247
|
xmlns: "http://www.w3.org/2000/svg",
|
|
248
248
|
fill: "none",
|
|
249
249
|
viewBox: "0 0 9 18"
|
|
250
|
-
}, Be = /* @__PURE__ */
|
|
250
|
+
}, Be = /* @__PURE__ */ u("path", {
|
|
251
251
|
fill: "currentColor",
|
|
252
252
|
d: "M8.333 17.333 0 9 8.333.667z"
|
|
253
253
|
}, null, -1), Ie = [
|
|
254
254
|
Be
|
|
255
255
|
];
|
|
256
256
|
function Se(t, e) {
|
|
257
|
-
return
|
|
257
|
+
return c(), p("svg", xe, [...Ie]);
|
|
258
258
|
}
|
|
259
|
-
const
|
|
259
|
+
const He = { render: Se }, qe = {
|
|
260
260
|
xmlns: "http://www.w3.org/2000/svg",
|
|
261
261
|
fill: "none",
|
|
262
262
|
viewBox: "0 0 9 18"
|
|
263
|
-
}, Ae = /* @__PURE__ */
|
|
263
|
+
}, Ae = /* @__PURE__ */ u("path", {
|
|
264
264
|
fill: "currentColor",
|
|
265
265
|
d: "M.667 17.333V.667L9 9z"
|
|
266
|
-
}, null, -1),
|
|
266
|
+
}, null, -1), Ee = [
|
|
267
267
|
Ae
|
|
268
268
|
];
|
|
269
|
-
function
|
|
270
|
-
return
|
|
269
|
+
function Ve(t, e) {
|
|
270
|
+
return c(), p("svg", qe, [...Ee]);
|
|
271
271
|
}
|
|
272
|
-
const
|
|
272
|
+
const Oe = { render: Ve }, De = {
|
|
273
273
|
xmlns: "http://www.w3.org/2000/svg",
|
|
274
274
|
viewBox: "0 0 8 8"
|
|
275
|
-
},
|
|
275
|
+
}, Te = /* @__PURE__ */ u("path", {
|
|
276
276
|
fill: "currentColor",
|
|
277
277
|
d: "M4 2 0 6h8z"
|
|
278
|
-
}, null, -1),
|
|
279
|
-
|
|
278
|
+
}, null, -1), Me = [
|
|
279
|
+
Te
|
|
280
280
|
];
|
|
281
281
|
function ze(t, e) {
|
|
282
|
-
return
|
|
282
|
+
return c(), p("svg", De, [...Me]);
|
|
283
283
|
}
|
|
284
|
-
const Ke = { render: ze },
|
|
284
|
+
const Ke = { render: ze }, Re = {
|
|
285
285
|
xmlns: "http://www.w3.org/2000/svg",
|
|
286
286
|
fill: "none",
|
|
287
287
|
viewBox: "0 0 15 18"
|
|
288
|
-
},
|
|
288
|
+
}, Ne = /* @__PURE__ */ u("path", {
|
|
289
289
|
fill: "currentColor",
|
|
290
290
|
d: "M3.53 14.4V0H15v14.4zm1.764-1.8h7.941V1.8h-7.94zM0 18V3.6h1.765v12.6h9.706V18z"
|
|
291
|
-
}, null, -1),
|
|
292
|
-
|
|
291
|
+
}, null, -1), Qe = [
|
|
292
|
+
Ne
|
|
293
293
|
];
|
|
294
|
-
function
|
|
295
|
-
return
|
|
294
|
+
function Ue(t, e) {
|
|
295
|
+
return c(), p("svg", Re, [...Qe]);
|
|
296
296
|
}
|
|
297
|
-
const
|
|
297
|
+
const Fe = { render: Ue }, We = {
|
|
298
298
|
xmlns: "http://www.w3.org/2000/svg",
|
|
299
299
|
fill: "none",
|
|
300
300
|
viewBox: "0 0 15 19"
|
|
301
|
-
}, je = /* @__PURE__ */
|
|
301
|
+
}, je = /* @__PURE__ */ u("path", {
|
|
302
302
|
fill: "currentColor",
|
|
303
303
|
d: "M0 19v-1.9h15V19zm7.5-3.8L.938 6.65h3.75V0h5.625v6.65h3.75z"
|
|
304
|
-
}, null, -1),
|
|
304
|
+
}, null, -1), Pe = [
|
|
305
305
|
je
|
|
306
306
|
];
|
|
307
|
-
function
|
|
308
|
-
return
|
|
307
|
+
function Ge(t, e) {
|
|
308
|
+
return c(), p("svg", We, [...Pe]);
|
|
309
309
|
}
|
|
310
|
-
const
|
|
310
|
+
const Je = { render: Ge }, Xe = {
|
|
311
311
|
xmlns: "http://www.w3.org/2000/svg",
|
|
312
312
|
fill: "none",
|
|
313
313
|
viewBox: "0 0 14 18"
|
|
314
|
-
}, Ye = /* @__PURE__ */
|
|
314
|
+
}, Ye = /* @__PURE__ */ u("path", {
|
|
315
315
|
fill: "currentColor",
|
|
316
316
|
d: "M7 9q.721 0 1.236-.514A1.68 1.68 0 0 0 8.75 7.25q0-.723-.514-1.235A1.7 1.7 0 0 0 7 5.5a1.67 1.67 0 0 0-1.235.515A1.7 1.7 0 0 0 5.25 7.25q-.003.72.515 1.236Q6.28 9.003 7 9m0 8.75q-3.522-2.997-5.26-5.567Q0 9.613 0 7.425q0-3.28 2.111-5.228T7 .25q2.776 0 4.89 1.947Q14.002 4.143 14 7.425q0 2.187-1.739 4.758Q10.523 14.754 7 17.75"
|
|
317
317
|
}, null, -1), Ze = [
|
|
318
318
|
Ye
|
|
319
319
|
];
|
|
320
320
|
function et(t, e) {
|
|
321
|
-
return
|
|
321
|
+
return c(), p("svg", Xe, [...Ze]);
|
|
322
322
|
}
|
|
323
323
|
const tt = { render: et }, nt = {
|
|
324
324
|
xmlns: "http://www.w3.org/2000/svg",
|
|
325
325
|
fill: "none",
|
|
326
326
|
viewBox: "0 0 17 18"
|
|
327
|
-
}, ot = /* @__PURE__ */
|
|
327
|
+
}, ot = /* @__PURE__ */ u("path", {
|
|
328
328
|
fill: "currentColor",
|
|
329
329
|
d: "m15.678 18-5.95-6.3a5.54 5.54 0 0 1-3.59 1.3q-2.573 0-4.355-1.888T0 6.5t1.783-4.612T6.14 0t4.357 1.888T12.278 6.5q0 1.1-.33 2.075-.331.975-.898 1.725L17 16.6zm-9.54-7Q7.91 11 9.15 9.688T10.389 6.5t-1.24-3.187Q7.913 2.002 6.14 2t-3.01 1.313T1.889 6.5q-.003 1.871 1.24 3.188Q4.372 11.004 6.139 11"
|
|
330
330
|
}, null, -1), st = [
|
|
331
331
|
ot
|
|
332
332
|
];
|
|
333
333
|
function lt(t, e) {
|
|
334
|
-
return
|
|
334
|
+
return c(), p("svg", nt, [...st]);
|
|
335
335
|
}
|
|
336
|
-
const
|
|
336
|
+
const N = { render: lt }, rt = {
|
|
337
337
|
xmlns: "http://www.w3.org/2000/svg",
|
|
338
338
|
fill: "none",
|
|
339
339
|
viewBox: "0 0 17 18"
|
|
340
|
-
}, at = /* @__PURE__ */
|
|
340
|
+
}, at = /* @__PURE__ */ u("path", {
|
|
341
341
|
fill: "currentColor",
|
|
342
342
|
d: "M13.5 18q-1.125 0-1.912-.788A2.6 2.6 0 0 1 10.8 15.3q0-.157.022-.327.024-.17.068-.303l-6.345-3.69q-.382.337-.855.53a2.6 2.6 0 0 1-.99.19q-1.125 0-1.912-.787A2.6 2.6 0 0 1 0 9q0-1.126.788-1.912A2.6 2.6 0 0 1 2.7 6.3q.517 0 .99.192t.855.528l6.345-3.69a1.7 1.7 0 0 1-.068-.303A3 3 0 0 1 10.8 2.7q0-1.125.787-1.912A2.6 2.6 0 0 1 13.5 0q1.125 0 1.912.788.788.787.788 1.912t-.787 1.912A2.6 2.6 0 0 1 13.5 5.4a2.6 2.6 0 0 1-.99-.19 3 3 0 0 1-.855-.53L5.31 8.37q.045.135.068.304a2.5 2.5 0 0 1 0 .653 1.6 1.6 0 0 1-.068.303l6.345 3.69q.383-.337.855-.528.472-.19.99-.192 1.125 0 1.912.787.788.788.788 1.913t-.787 1.912A2.6 2.6 0 0 1 13.5 18"
|
|
343
|
-
}, null, -1),
|
|
343
|
+
}, null, -1), it = [
|
|
344
344
|
at
|
|
345
345
|
];
|
|
346
|
-
function
|
|
347
|
-
return
|
|
346
|
+
function ct(t, e) {
|
|
347
|
+
return c(), p("svg", rt, [...it]);
|
|
348
348
|
}
|
|
349
|
-
const ut = { render:
|
|
349
|
+
const ut = { render: ct }, dt = {
|
|
350
350
|
"account-circle": _e,
|
|
351
351
|
add: ge,
|
|
352
|
-
"back-arrow":
|
|
352
|
+
"back-arrow": Ce,
|
|
353
353
|
"caret-down": K,
|
|
354
|
-
"caret-left":
|
|
355
|
-
"caret-right":
|
|
354
|
+
"caret-left": He,
|
|
355
|
+
"caret-right": Oe,
|
|
356
356
|
"caret-up": Ke,
|
|
357
|
-
"copy-content":
|
|
358
|
-
download:
|
|
357
|
+
"copy-content": Fe,
|
|
358
|
+
download: Je,
|
|
359
359
|
location: tt,
|
|
360
|
-
search:
|
|
360
|
+
search: N,
|
|
361
361
|
share: ut
|
|
362
|
-
},
|
|
362
|
+
}, Lt = /* @__PURE__ */ b({
|
|
363
363
|
__name: "Icon",
|
|
364
364
|
props: {
|
|
365
365
|
name: {}
|
|
366
366
|
},
|
|
367
367
|
setup(t) {
|
|
368
|
-
const { name: e } = t,
|
|
369
|
-
return (
|
|
368
|
+
const { name: e } = t, n = dt[e];
|
|
369
|
+
return (i, o) => (c(), T(W(E(n))));
|
|
370
370
|
}
|
|
371
|
-
}), pt = ["href"], ht = /* @__PURE__ */
|
|
371
|
+
}), pt = ["href"], ht = /* @__PURE__ */ b({
|
|
372
372
|
__name: "Link",
|
|
373
373
|
props: {
|
|
374
374
|
to: {},
|
|
375
375
|
state: {},
|
|
376
|
-
className: {}
|
|
376
|
+
className: {},
|
|
377
|
+
nuxt: {}
|
|
377
378
|
},
|
|
378
379
|
setup(t) {
|
|
379
|
-
const e = t,
|
|
380
|
-
return (
|
|
381
|
-
class:
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
380
|
+
const e = t, n = k(() => e.state);
|
|
381
|
+
return (i, o) => (c(), p("a", {
|
|
382
|
+
class: g(["hunter-component hunter-link", [
|
|
383
|
+
n.value === "disabled" && "link-disabled",
|
|
384
|
+
n.value === "inactive" && "link-inactive",
|
|
385
|
+
i.className
|
|
385
386
|
]]),
|
|
386
|
-
href:
|
|
387
|
+
href: i.to
|
|
387
388
|
}, [
|
|
388
|
-
|
|
389
|
+
S(i.$slots, "default")
|
|
389
390
|
], 10, pt));
|
|
390
391
|
}
|
|
391
|
-
}),
|
|
392
|
+
}), yt = /* @__PURE__ */ b({
|
|
392
393
|
__name: "NavigationLinks",
|
|
393
394
|
props: {
|
|
394
395
|
links: {},
|
|
395
396
|
variant: {},
|
|
396
|
-
activeLink: {}
|
|
397
|
+
activeLink: {},
|
|
398
|
+
nuxt: { type: Boolean }
|
|
397
399
|
},
|
|
398
400
|
setup(t) {
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
401
|
+
console.log("HERE");
|
|
402
|
+
const e = t, n = _(), i = _(), o = k(
|
|
403
|
+
() => e.variant ? `hunter-nav-links-${e.variant}` : "hunter-nav-link-tabs"
|
|
404
|
+
), r = k(() => e.activeLink);
|
|
405
|
+
return H(
|
|
406
|
+
r,
|
|
407
|
+
(s) => {
|
|
408
|
+
n.value && (console.log("CUR", s), i.value && i.value.forEach((l) => {
|
|
409
|
+
const { pathname: a } = new URL(l.href);
|
|
410
|
+
a === r.value.route ? (l.classList.remove("link-inactive"), l.classList.add("nav-link-active")) : (l.classList.remove("nav-link-active"), l.classList.add("link-inactive")), console.log("ELLLL", l), console.log("PATH", a, r.value.route);
|
|
411
|
+
}));
|
|
412
|
+
}
|
|
413
|
+
// { immediate: true }
|
|
414
|
+
), q(() => {
|
|
415
|
+
n.value && (i.value = n == null ? void 0 : n.value.querySelectorAll("a"), i.value.forEach((s) => {
|
|
416
|
+
const { pathname: l } = new URL(s.href);
|
|
417
|
+
l === r.value.route ? s.classList.add("nav-link-active") : s.classList.add("link-inactive");
|
|
418
|
+
}));
|
|
419
|
+
}), (s, l) => s.nuxt ? (c(), p("nav", {
|
|
420
|
+
key: 0,
|
|
421
|
+
class: g(["hunter-component hunter-nav-links", o.value]),
|
|
422
|
+
ref_key: "nuxtLinkContainer",
|
|
423
|
+
ref: n
|
|
424
|
+
}, [
|
|
425
|
+
S(s.$slots, "default")
|
|
426
|
+
], 2)) : (c(), p("nav", {
|
|
427
|
+
key: 1,
|
|
428
|
+
class: g(["hunter-component hunter-nav-links", o.value])
|
|
404
429
|
}, [
|
|
405
|
-
(
|
|
430
|
+
(c(!0), p(O, null, D(s.links, (a) => (c(), p("div", null, [
|
|
406
431
|
$(ht, {
|
|
407
|
-
to:
|
|
408
|
-
className:
|
|
409
|
-
state:
|
|
432
|
+
to: a.route,
|
|
433
|
+
className: s.activeLink.route === a.route ? "nav-link-active" : "",
|
|
434
|
+
state: s.activeLink.route !== a.route ? "inactive" : null
|
|
410
435
|
}, {
|
|
411
|
-
default:
|
|
412
|
-
|
|
436
|
+
default: C(() => [
|
|
437
|
+
A(x(a.text), 1)
|
|
413
438
|
]),
|
|
414
439
|
_: 2
|
|
415
440
|
}, 1032, ["to", "className", "state"])
|
|
416
441
|
]))), 256))
|
|
417
442
|
], 2));
|
|
418
443
|
}
|
|
419
|
-
}),
|
|
444
|
+
}), vt = (t) => (J("data-v-4621853b"), t = t(), X(), t), _t = { class: "hunter-component hunter-search-input-with-dropdown" }, ft = /* @__PURE__ */ vt(() => /* @__PURE__ */ u("span", { class: "hunter-search-input-label" }, "Search", -1)), wt = ["placeholder"], mt = ["ariaHidden"], $t = { class: "clear-button-wrapper" }, gt = /* @__PURE__ */ b({
|
|
420
445
|
__name: "SearchInput",
|
|
421
446
|
props: {
|
|
422
447
|
placeholder: {},
|
|
@@ -425,133 +450,133 @@ const ut = { render: it }, dt = {
|
|
|
425
450
|
},
|
|
426
451
|
emits: ["searchClick"],
|
|
427
452
|
setup(t, { emit: e }) {
|
|
428
|
-
const { options:
|
|
429
|
-
|
|
430
|
-
}, y = (
|
|
431
|
-
const
|
|
432
|
-
|
|
433
|
-
}, B = (
|
|
434
|
-
if (!
|
|
435
|
-
return
|
|
436
|
-
|
|
437
|
-
const
|
|
438
|
-
m.value = !0,
|
|
439
|
-
},
|
|
440
|
-
|
|
441
|
-
},
|
|
442
|
-
B(
|
|
453
|
+
const { options: n = [] } = t, i = e, o = _(), r = _(), s = _(), l = _(), a = _(), f = _(), m = _(!0), h = _(""), L = (d) => {
|
|
454
|
+
d.preventDefault(), B(o.value);
|
|
455
|
+
}, y = (d) => {
|
|
456
|
+
const v = d.target;
|
|
457
|
+
h.value = v.value;
|
|
458
|
+
}, B = (d) => {
|
|
459
|
+
if (!d)
|
|
460
|
+
return a.value = "Enter a search term.", a;
|
|
461
|
+
o.value = d;
|
|
462
|
+
const v = n.find((w) => w.name === d);
|
|
463
|
+
m.value = !0, h.value = "", i("searchClick", v || o.value);
|
|
464
|
+
}, Q = (d) => {
|
|
465
|
+
o.value = d.name, B(o.value);
|
|
466
|
+
}, U = () => {
|
|
467
|
+
B(o.value);
|
|
443
468
|
};
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
469
|
+
H(a, (d) => {
|
|
470
|
+
d && (setTimeout(() => {
|
|
471
|
+
f.value.classList.add("error-visible");
|
|
447
472
|
}, 200), setTimeout(() => {
|
|
448
|
-
|
|
473
|
+
f.value.classList.remove("error-visible");
|
|
449
474
|
}, 3e3), setTimeout(() => {
|
|
450
|
-
|
|
475
|
+
a.value = "";
|
|
451
476
|
}, 3300));
|
|
452
477
|
});
|
|
453
|
-
const
|
|
454
|
-
|
|
455
|
-
|
|
478
|
+
const F = () => {
|
|
479
|
+
r.value.classList.add("hide-text"), setTimeout(() => {
|
|
480
|
+
o.value = "", r.value.classList.remove("hide-text");
|
|
456
481
|
}, 150);
|
|
457
|
-
},
|
|
458
|
-
const
|
|
459
|
-
|
|
482
|
+
}, V = (d) => {
|
|
483
|
+
const v = d.target;
|
|
484
|
+
v === r.value && (h.value = o.value || ""), v !== (r == null ? void 0 : r.value) && (h.value = "");
|
|
460
485
|
};
|
|
461
|
-
return
|
|
462
|
-
|
|
486
|
+
return q(() => {
|
|
487
|
+
l.value = [
|
|
463
488
|
...document.querySelectorAll(".hunter-search-input-option-li")
|
|
464
|
-
], m.value = !0, document.addEventListener("click", (
|
|
465
|
-
}),
|
|
466
|
-
document.removeEventListener("click", (
|
|
467
|
-
}), (
|
|
468
|
-
|
|
489
|
+
], m.value = !0, document.addEventListener("click", (d) => V(d));
|
|
490
|
+
}), M(() => {
|
|
491
|
+
document.removeEventListener("click", (d) => V(d));
|
|
492
|
+
}), (d, v) => (c(), p("div", _t, [
|
|
493
|
+
u("div", {
|
|
469
494
|
class: "hunter-search-input-container",
|
|
470
495
|
style: j({
|
|
471
|
-
width: `${
|
|
496
|
+
width: `${d.width && d.width > 208 && d.width}px`
|
|
472
497
|
})
|
|
473
498
|
}, [
|
|
474
|
-
|
|
475
|
-
onSubmit:
|
|
499
|
+
u("form", {
|
|
500
|
+
onSubmit: v[3] || (v[3] = (w) => L(w)),
|
|
476
501
|
class: "w-full"
|
|
477
502
|
}, [
|
|
478
|
-
|
|
503
|
+
u("label", null, [
|
|
479
504
|
ft,
|
|
480
|
-
|
|
481
|
-
"onUpdate:modelValue":
|
|
505
|
+
P(u("input", {
|
|
506
|
+
"onUpdate:modelValue": v[0] || (v[0] = (w) => o.value = w),
|
|
482
507
|
ref_key: "inputEl",
|
|
483
|
-
ref:
|
|
508
|
+
ref: r,
|
|
484
509
|
class: "hunter-search-input",
|
|
485
|
-
onFocus:
|
|
486
|
-
onInput:
|
|
487
|
-
placeholder:
|
|
488
|
-
}, null, 40,
|
|
489
|
-
[
|
|
510
|
+
onFocus: v[1] || (v[1] = (w) => a.value = ""),
|
|
511
|
+
onInput: v[2] || (v[2] = (w) => y(w)),
|
|
512
|
+
placeholder: d.placeholder || "Search projects"
|
|
513
|
+
}, null, 40, wt), [
|
|
514
|
+
[G, o.value]
|
|
490
515
|
])
|
|
491
516
|
])
|
|
492
517
|
], 32),
|
|
493
|
-
|
|
518
|
+
u("span", {
|
|
494
519
|
ref_key: "errorEl",
|
|
495
|
-
ref:
|
|
520
|
+
ref: f,
|
|
496
521
|
class: "hunter-search-input-error transition duration-300 ease-in-out",
|
|
497
|
-
ariaHidden: !
|
|
498
|
-
},
|
|
522
|
+
ariaHidden: !a.value
|
|
523
|
+
}, x(a.value), 9, mt),
|
|
499
524
|
$(oe, {
|
|
500
|
-
options:
|
|
525
|
+
options: d.options,
|
|
501
526
|
"option-key": "name",
|
|
502
527
|
collapsed: m.value,
|
|
503
528
|
filter: "",
|
|
504
|
-
"filter-value":
|
|
529
|
+
"filter-value": h.value,
|
|
505
530
|
scrollable: "",
|
|
506
531
|
maxResults: 10,
|
|
507
|
-
onSelectOption:
|
|
532
|
+
onSelectOption: v[4] || (v[4] = (w) => Q(w))
|
|
508
533
|
}, null, 8, ["options", "collapsed", "filter-value"]),
|
|
509
534
|
$(I, {
|
|
510
535
|
ref_key: "searchButtonEl",
|
|
511
|
-
ref:
|
|
536
|
+
ref: s,
|
|
512
537
|
class: "hunter-search-input-button",
|
|
513
538
|
variant: "icon",
|
|
514
|
-
onClick:
|
|
539
|
+
onClick: U
|
|
515
540
|
}, {
|
|
516
|
-
default:
|
|
517
|
-
$(
|
|
541
|
+
default: C(() => [
|
|
542
|
+
$(E(N), { class: "hunter-search-input-icon" })
|
|
518
543
|
]),
|
|
519
544
|
_: 1
|
|
520
545
|
}, 512)
|
|
521
546
|
], 4),
|
|
522
|
-
|
|
547
|
+
u("div", $t, [
|
|
523
548
|
$(I, {
|
|
524
549
|
class: "underline clear-button",
|
|
525
550
|
variant: "link",
|
|
526
|
-
onClick:
|
|
551
|
+
onClick: F
|
|
527
552
|
}, {
|
|
528
|
-
default:
|
|
529
|
-
|
|
553
|
+
default: C(() => [
|
|
554
|
+
A(" Clear ")
|
|
530
555
|
]),
|
|
531
556
|
_: 1
|
|
532
557
|
})
|
|
533
558
|
])
|
|
534
559
|
]));
|
|
535
560
|
}
|
|
536
|
-
}),
|
|
561
|
+
}), Ct = /* @__PURE__ */ R(gt, [["__scopeId", "data-v-4621853b"]]);
|
|
537
562
|
export {
|
|
538
563
|
_e as HunterAccountCircleIcon,
|
|
539
|
-
|
|
564
|
+
Ce as HunterBackArrowIcon,
|
|
540
565
|
I as HunterButton,
|
|
541
566
|
K as HunterCaretDownIcon,
|
|
542
|
-
|
|
543
|
-
|
|
567
|
+
He as HunterCaretLeftIcon,
|
|
568
|
+
Oe as HunterCaretRightIcon,
|
|
544
569
|
Ke as HunterCaretUpIcon,
|
|
545
|
-
|
|
546
|
-
|
|
570
|
+
Fe as HunterCopyContentIcon,
|
|
571
|
+
Je as HunterDownloadIcon,
|
|
547
572
|
z as HunterDropdownList,
|
|
548
573
|
oe as HunterDropdownListWithFilter,
|
|
549
|
-
|
|
550
|
-
|
|
574
|
+
bt as HunterDropdownWithButton,
|
|
575
|
+
Lt as HunterIcon,
|
|
551
576
|
ht as HunterLink,
|
|
552
577
|
tt as HunterLocationIcon,
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
578
|
+
yt as HunterNavigationLinks,
|
|
579
|
+
N as HunterSearchIcon,
|
|
580
|
+
Ct as HunterSearchInput,
|
|
556
581
|
ut as HunterShareIcon
|
|
557
582
|
};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
(function(){"use strict";try{if(typeof document<"u"){var t=document.createElement("style");t.appendChild(document.createTextNode('*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:currentColor}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(147 197 253 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(147 197 253 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }.pointer-events-none{pointer-events:none}.collapse{visibility:collapse}.absolute{position:absolute}.relative{position:relative}.inset-0{top:0;right:0;bottom:0;left:0}.bottom-2{bottom:.5rem}.left-0{left:0}.right-3{right:.75rem}.top-full{top:100%}.my-0{margin-top:0;margin-bottom:0}.my-0\\.5{margin-top:.125rem;margin-bottom:.125rem}.mb-1{margin-bottom:.25rem}.ml-0{margin-left:0}.ml-0\\.5{margin-left:.125rem}.ml-1{margin-left:.25rem}.ml-1\\.5{margin-left:.375rem}.mt-0{margin-top:0}.mt-0\\.5{margin-top:.125rem}.mt-2{margin-top:.5rem}.inline-block{display:inline-block}.flex{display:flex}.table{display:table}.hidden{display:none}.h-0{height:0px}.h-10{height:2.5rem}.h-12{height:3rem}.h-4{height:1rem}.h-5{height:1.25rem}.h-9{height:2.25rem}.h-max{height:-moz-max-content;height:max-content}.max-h-44{max-height:11rem}.w-12{width:3rem}.w-4{width:1rem}.w-44{width:11rem}.w-5{width:1.25rem}.w-full{width:100%}.w-max{width:-moz-max-content;width:max-content}.max-w-screen-lg{max-width:1024px}.origin-center{transform-origin:center}.-scale-y-100{--tw-scale-y: -1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scale-x-0{--tw-scale-x: 0;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scale-y-100{--tw-scale-y: 1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.cursor-pointer{cursor:pointer}.resize{resize:both}.flex-col{flex-direction:column}.items-start{align-items:flex-start}.items-end{align-items:flex-end}.items-center{align-items:center}.justify-center{justify-content:center}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.rounded{border-radius:var(--rounded)}.rounded-3xl{border-radius:1.5rem}.rounded-lg{border-radius:var(--rounded-lg)}.rounded-l-none{border-top-left-radius:0;border-bottom-left-radius:0}.rounded-r{border-top-right-radius:var(--rounded);border-bottom-right-radius:var(--rounded)}.border-2{border-width:2px}.border-b{border-bottom-width:1px}.border-b-2{border-bottom-width:2px}.border-blue-400{border-color:var(--blue-400)}.border-blue-700{border-color:var(--blue-700)}.border-blue-800{border-color:var(--blue-800)}.border-disabled-light{border-color:var(--disabled-light)}.bg-blue-200{background-color:var(--blue-200)}.bg-blue-800{background-color:var(--blue-800)}.p-0{padding:0}.px-12{padding-left:3rem;padding-right:3rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.pb-1{padding-bottom:.25rem}.pr-0{padding-right:0}.pr-0\\.5{padding-right:.125rem}.pt-0{padding-top:0}.pt-1px{padding-top:1px}.pt-2{padding-top:.5rem}.text-left{text-align:left}.text-2xl{font-size:var(--28px)}.text-3xl{font-size:var(--32px)}.text-4xl{font-size:var(--36px)}.text-base{font-size:var(--16px)}.text-lg{font-size:var(--22px)}.text-md{font-size:var(--18px)}.text-sm{font-size:var(--14px)}.text-xl{font-size:var(--24px)}.text-xs{font-size:var(--12px)}.font-bold{font-weight:700}.font-medium{font-weight:500}.uppercase{text-transform:uppercase}.text-blue-500{color:var(--blue-500)}.text-blue-800{color:var(--blue-800)}.text-blue-900{color:var(--blue-900)}.text-disabled{color:var(--disabled)}.text-error{color:var(--error)}.underline{text-decoration-line:underline}.antialiased{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.opacity-0{opacity:0}.opacity-100{opacity:1}.shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.outline{outline-style:solid}.outline-1{outline-width:1px}.outline-blue-400{outline-color:var(--blue-400)}.grayscale{--tw-grayscale: grayscale(100%);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-300{transition-duration:.3s}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.hunter-component,.hunter-component~*,.hunter-component>*{font-family:Arial,Helvetica,Verdana,Bitstream Vera Sans,sans-serif;line-height:auto;font-weight:400;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;color:var(--dark);box-sizing:border-box;scroll-behavior:smooth}@supports not selector(::-webkit-scrollbar){.hunter-component,.hunter-component~*,.hunter-component>*{scrollbar-color:var(--disabled) var(--disabled-light);scrollbar-width:thin}}@supports selector(::-webkit-scrollbar){.hunter-component ::-webkit-scrollbar,.hunter-component~* ::-webkit-scrollbar,.hunter-component>* ::-webkit-scrollbar{background:var(--disabled-light)!important;width:8px!important;border-radius:1.5rem}.hunter-component ::-webkit-scrollbar-thumb,.hunter-component~* ::-webkit-scrollbar-thumb,.hunter-component>* ::-webkit-scrollbar-thumb{background:var(--disabled)!important;border-radius:1.5rem}}.hunter-component h1,.hunter-component h2,.hunter-component h3,.hunter-component h4,.hunter-component h5,.hunter-component h6,.hunter-component~h1,.hunter-component~h2,.hunter-component~h3,.hunter-component~h4,.hunter-component~h5,.hunter-component~h6{font-weight:500;color:var(--blue-900)}.hunter-component h1,.hunter-component~h1{font-size:var(--28px)}.hunter-component h2,.hunter-component~h2{font-size:var(--24px)}.hunter-component h3,.hunter-component~h3{font-size:var(--22px)}.hunter-component h4,.hunter-component~h4{font-size:var(--18px)}.hunter-component h5,.hunter-component~h5{font-size:var(--16px)}.hunter-component h6,.hunter-component~h6{font-size:var(--14px)}.hunter-component a,.hunter-component~a,.hunter-component>a{font-weight:500;color:var(--blue-800);text-decoration:inherit}.hunter-component a:hover,.hunter-component~a:hover,.hunter-component>a{color:var(--blue-700)}.hunter-button{position:relative;display:flex;height:2.25rem;align-items:center;justify-content:center;gap:.75rem;border-radius:var(--rounded);padding-left:1.5rem;padding-right:1.5rem;padding-top:.125rem;font-weight:500;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-duration:.3s;transition-timing-function:cubic-bezier(.4,0,.2,1)}.hunter-button svg{color:inherit;pointer-events:none}.hunter-button-disabled{pointer-events:none;cursor:default;color:var(--disabled)}.hunter-button-primary{background-color:var(--blue-800);color:var(--blue-200)}.hunter-button-primary:hover{background-color:var(--blue-700)}.hunter-button-primary.hunter-button-disabled{background-color:var(--disabled-light)}.hunter-button-secondary{border-width:2px;border-color:var(--blue-800);background-color:var(--blue-200);color:var(--blue-800)}.hunter-button-secondary:hover{border-color:var(--blue-700);color:var(--blue-700)}.hunter-button-secondary.hunter-button-disabled{border-color:var(--disabled-light);color:var(--disabled-light)}.hunter-button-link,.hunter-button-text{height:-moz-max-content;height:max-content;padding:0;font-size:var(--16px);color:var(--blue-800)}.hunter-button-link:hover,.hunter-button-text:hover{color:var(--blue-700)}.hunter-button-text{font-weight:500}.hunter-button-icon{height:1.25rem;width:1.25rem;padding:0;color:var(--blue-800)}.hunter-button-icon:hover{color:var(--blue-700)}:root{--blue-900: #002533;--blue-800: #00658a;--blue-700: #0192c9;--blue-600: #47636b;--blue-500: #819da7;--blue-400: #dae4e7;--blue-300: #f1f3f4;--blue-200: #f9fafa;--dark: #363636;--disabled: #979797;--disabled-light: #d9d9d9;--information: #01b6fb;--information-light: #e9f5fe;--success: #83b001;--success-light: #f6fce6;--warning: #f4a729;--warning-light: #fef6ea;--error: #ff3923;--error-light: #ffebe9;--base-unit: .25rem;--2px: calc(var(--base-unit) / 2);--5px: calc(var(--base-unit) * 1.25);--8px: calc(var(--base-unit) * 2);--10px: calc(var(--base-unit) * 2.5);--12px: calc(var(--base-unit) * 3);--14px: calc(var(--base-unit) * 3.5);--16px: calc(var(--base-unit) * 4);--18px: calc(var(--base-unit) * 4.5);--22px: calc(var(--base-unit) * 5.5);--24px: calc(var(--base-unit) * 6);--28px: calc(var(--base-unit) * 7);--32px: calc(var(--base-unit) * 8);--36px: calc(var(--base-unit) * 9);--shadow: 0px var(--2px) var(--8px) #1e2127;--rounded: var(--5px);--rounded-lg: var(--10px)}@keyframes set-height-0{to{height:0px;overflow:hidden}}.hunter-dropdown-list{position:absolute;top:100%;left:0;margin-top:.5rem;width:100%;border-radius:var(--rounded-lg);transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.hunter-dropdown-list.collapsed{animation:set-height-0 0s forwards .15s;opacity:0}.hunter-dropdown-ol{display:flex;width:100%;flex-direction:column;align-items:flex-start;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.hunter-dropdown-ol:after{content:"";pointer-events:none;position:absolute;top:0;right:0;bottom:0;left:0;border-radius:var(--rounded-lg);--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.hunter-search-input-option-li{width:100%;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.hunter-dropdown-option-button{margin-top:.125rem;margin-bottom:.125rem;width:100%;background-color:transparent;padding:.5rem 1.5rem .25rem;text-align:left;font-weight:500;color:var(--blue-900);transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-duration:.15s;transition-timing-function:cubic-bezier(.4,0,.2,1)}.hunter-dropdown-option-button:hover{background-color:var(--blue-300)}.hunter-dropdown-option-button.dropdown-option-selected{color:var(--blue-800);transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-duration:.15s;transition-timing-function:cubic-bezier(.4,0,.2,1)}.hunter-dropdown-with-button[data-v-8173cf28]{display:flex;width:11rem;flex-direction:column;align-items:flex-end}.hunter-dropdown-selection-button[data-v-8173cf28]{position:relative;width:-moz-max-content;width:max-content}.hunter-dropdown-with-button-list[data-v-8173cf28]{position:relative;width:100%}.hunter-link{font-size:var(--16px);font-weight:700;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-duration:.15s;transition-timing-function:cubic-bezier(.4,0,.2,1)}.hunter-link.link-disabled{pointer-events:none;color:var(--disabled);transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.hunter-link.link-inactive{color:var(--blue-500);transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.hunter-link:hover,.hunter-link.link-inactive:hover{cursor:pointer;color:var(--blue-700)}.hunter-nav-links{display:flex;width:-moz-max-content;width:max-content}.hunter-nav-links.hunter-nav-links-tabs .nav-link-container{position:relative;display:flex;width:100%;justify-content:center;border-bottom-width:1px;border-color:var(--blue-400);padding-left:3rem;padding-right:3rem;padding-bottom:.25rem}.hunter-nav-links.hunter-nav-links-tabs .nav-link-container:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;margin-bottom:-1px;transform-origin:center;--tw-scale-x: 0;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));border-bottom-width:2px;border-color:var(--blue-800);transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.hunter-nav-links.hunter-nav-links-tabs .nav-link-container:has(.nav-link-active):before{content:"";--tw-scale-x: 1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}[data-v-4621853b]:root{--blue-900: #002533;--blue-800: #00658a;--blue-700: #0192c9;--blue-600: #47636b;--blue-500: #819da7;--blue-400: #dae4e7;--blue-300: #f1f3f4;--blue-200: #f9fafa;--dark: #363636;--disabled: #979797;--disabled-light: #d9d9d9;--information: #01b6fb;--information-light: #e9f5fe;--success: #83b001;--success-light: #f6fce6;--warning: #f4a729;--warning-light: #fef6ea;--error: #ff3923;--error-light: #ffebe9;--base-unit: .25rem;--2px: calc(var(--base-unit) / 2);--5px: calc(var(--base-unit) * 1.25);--8px: calc(var(--base-unit) * 2);--10px: calc(var(--base-unit) * 2.5);--12px: calc(var(--base-unit) * 3);--14px: calc(var(--base-unit) * 3.5);--16px: calc(var(--base-unit) * 4);--18px: calc(var(--base-unit) * 4.5);--22px: calc(var(--base-unit) * 5.5);--24px: calc(var(--base-unit) * 6);--28px: calc(var(--base-unit) * 7);--32px: calc(var(--base-unit) * 8);--36px: calc(var(--base-unit) * 9);--shadow: 0px var(--2px) var(--8px) #1e2127;--rounded: var(--5px);--rounded-lg: var(--10px)}.hunter-search-input-with-dropdown[data-v-4621853b]{display:flex;width:100%;align-items:flex-end;gap:.5rem}.hunter-search-input-with-dropdown .hunter-search-input-container[data-v-4621853b]{position:relative;width:100%;min-width:13rem;max-width:1024px}.hunter-search-input-with-dropdown .hunter-search-input-container .hunter-search-input-label[data-v-4621853b]{margin-left:.125rem;margin-bottom:.25rem;display:inline-block;width:100%;font-weight:500;text-transform:uppercase;color:var(--blue-900)}.hunter-search-input-with-dropdown .hunter-search-input-container .hunter-search-input[data-v-4621853b]{outline:2px solid transparent;transition:outline-color .2s ease-in-out,color .1s ease-in-out;position:relative;display:flex;height:2.5rem;width:100%;align-items:center;border-radius:1.5rem;padding-left:.75rem;padding-right:.75rem;padding-top:1px;color:var(--blue-900);outline-width:1px;outline-color:var(--blue-400)}.hunter-search-input-with-dropdown .hunter-search-input-container .hunter-search-input[data-v-4621853b]::-moz-placeholder{color:var(--blue-500)}.hunter-search-input-with-dropdown .hunter-search-input-container .hunter-search-input[data-v-4621853b]::placeholder{color:var(--blue-500)}.hunter-search-input-with-dropdown .hunter-search-input-container .hunter-search-input[data-v-4621853b]:focus,.hunter-search-input-with-dropdown .hunter-search-input-container .hunter-search-input[data-v-4621853b]:active{outline:2px solid var(--blue-800)}.hunter-search-input-with-dropdown .hunter-search-input-container .hunter-search-input[data-v-4621853b]:focus::-moz-placeholder{color:transparent}.hunter-search-input-with-dropdown .hunter-search-input-container .hunter-search-input[data-v-4621853b]:focus::placeholder{color:transparent}.hunter-search-input-with-dropdown .hunter-search-input-container .hunter-search-input-button[data-v-4621853b]{position:absolute;right:.75rem;bottom:.625rem}.hunter-search-input-with-dropdown .hunter-search-input-container .hunter-search-input-error[data-v-4621853b]{pointer-events:none;position:absolute;top:100%;margin-top:.125rem;margin-left:.375rem;font-size:var(--14px);color:var(--error);opacity:0;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.hunter-search-input-with-dropdown .hunter-search-input-container .hunter-search-input-error.error-visible[data-v-4621853b]{pointer-events:auto;opacity:1}.hunter-search-input-with-dropdown .hunter-search-input-container .hide-text[data-v-4621853b]{color:transparent}.hunter-search-input-with-dropdown .clear-button-wrapper[data-v-4621853b]{display:flex;height:2.5rem;width:-moz-max-content;width:max-content;align-items:center}.hunter-search-input-with-dropdown .clear-button[data-v-4621853b]{padding-top:1px}')),document.head.appendChild(t)}}catch(r){console.error("vite-plugin-css-injected-by-js",r)}})();
|
|
2
|
-
(function(c,e){typeof exports=="object"&&typeof module<"u"?e(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],e):(c=typeof globalThis<"u"?globalThis:c||self,e(c.HunterComponents={},c.Vue))})(this,function(c,e){"use strict";const T=["id"],k=e.defineComponent({__name:"Button",props:{variant:{},disabled:{type:Boolean},id:{}},setup(n){const t=n,l=e.computed(()=>t.disabled||!1),s=e.computed(()=>`hunter-button-${t.variant||"primary"} ${l.value&&"hunter-button-disabled"}`);return(o,r)=>(e.openBlock(),e.createElementBlock("button",{ref:"button",class:e.normalizeClass(["hunter-component hunter-button",s.value]),id:o.id},[e.renderSlot(o.$slots,"default")],10,T))}}),v=["id"],O={class:"overflow-hidden rounded-r rounded-l-none"},M=["value","onClick"],B=e.defineComponent({__name:"DropdownList",props:{options:{},optionKey:{},collapsed:{type:Boolean},scrollable:{type:Boolean},maxResults:{},id:{},selected:{}},emits:["selectOption"],setup(n,{emit:t}){const l=n,s=t,o=e.computed(()=>l.scrollable||!1),r=e.computed(()=>l.selected||null),d=u=>{s("selectOption",u)};return(u,p)=>(e.openBlock(),e.createElementBlock("div",{id:`dropdown-list-${u.id}`,class:e.normalizeClass(["hunter-component hunter-dropdown-list pr-0.5 py-1",u.collapsed?"collapsed":""])},[e.createElementVNode("div",O,[e.createElementVNode("ol",{ref:"dropdown",class:e.normalizeClass(["hunter-dropdown-ol",o.value&&"max-h-44 overflow-y-auto"]),"aria-hidden":"true"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(u.options,_=>(e.openBlock(),e.createElementBlock("li",{key:_[u.optionKey],"aria-hidden":"true",class:"hunter-search-input-option-li"},[e.createElementVNode("button",{class:e.normalizeClass(["hunter-dropdown-option-button",r.value&&_[u.optionKey]===r.value[u.optionKey]&&"dropdown-option-selected"]),value:_[u.optionKey],onClick:f=>d(_)},e.toDisplayString(_[u.optionKey]),11,M)]))),128))],2)])],10,v))}}),K=({options:n,query:t,key:l,max:s})=>{if(!t)return;t=t==null?void 0:t.toLowerCase();let o=0;return n.filter(r=>{if(r[l].toLowerCase().includes(t))if(s){if(s&&o<=s-1)return o++,r}else return r})},V=e.defineComponent({__name:"DropdownListWithFilter",props:{filterValue:{},options:{},optionKey:{},collapsed:{type:Boolean},scrollable:{type:Boolean},maxResults:{},id:{},selected:{}},emits:["selectOption"],setup(n,{emit:t}){const l=n,s=t,o=e.ref([...l.options]),r=e.computed(()=>l.filterValue||""),d=e.ref(l.collapsed);e.watch(r,p=>{if(p.length>1){if(o.value=K({options:l.options,query:p,key:l.optionKey,max:l.maxResults}),o.value.length===0)return d.value=!0,d.value;d.value=!1;return}else d.value=!0},{immediate:!0});const u=p=>{s("selectOption",p)};return(p,_)=>(e.openBlock(),e.createBlock(B,{options:o.value,optionKey:p.optionKey,collapsed:d.value,scrollable:p.scrollable,onSelectOption:_[0]||(_[0]=f=>u(f))},null,8,["options","optionKey","collapsed","scrollable"]))}}),Q={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 18 9"},R=[e.createElementVNode("path",{fill:"currentColor",d:"M9 9 .667.667h16.666z"},null,-1)];function F(n,t){return e.openBlock(),e.createElementBlock("svg",Q,[...R])}const C={render:F},U={class:"hunter-dropdown-with-button"},W={class:"hunter-dropdown-selection-button"},j=e.defineComponent({__name:"DropdownWithButton",props:{buttonText:{},id:{},options:{},optionKey:{},collapsed:{type:Boolean},scrollable:{type:Boolean},maxResults:{},selected:{}},emits:["selectOption"],setup(n,{emit:t}){const{id:l}=n,s=t,o=e.ref(),r=e.ref(),d=e.ref(!0),u=e.ref(),p=()=>{d.value=!d.value},_=i=>{u.value=i,setTimeout(()=>{d.value=!0},750),s("selectOption",i)},f=i=>{var $;const w=i.target;if(!(w===o.value||($=r.value)!=null&&$.contains(w)||w===r.value))return d.value=!0,d};return e.onMounted(()=>{document.addEventListener("click",i=>f(i)),o.value=document.querySelector(`#button-dropdown-title-${l}`)}),e.onBeforeUnmount(()=>{document.removeEventListener("click",i=>f(i))}),(i,w)=>(e.openBlock(),e.createElementBlock("div",U,[e.createElementVNode("div",W,[e.createVNode(k,{id:`button-dropdown-title-${i.id}`,variant:"text",onClick:p},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(i.buttonText)+" ",1),e.createVNode(e.unref(C),{class:e.normalizeClass(["h-4 w-4 transition duration-300 ease-in-out",d.value===!0?"scale-y-100":"-scale-y-100"])},null,8,["class"])]),_:1},8,["id"])]),e.createElementVNode("div",{ref_key:"dropdownListEl",ref:r,class:"hunter-dropdown-with-button-list"},[e.createVNode(B,{options:i.options,"option-key":i.optionKey,collapsed:d.value,selected:u.value,onSelectOption:_},null,8,["options","option-key","collapsed","selected"])],512)]))}}),b=(n,t)=>{const l=n.__vccOpts||n;for(const[s,o]of t)l[s]=o;return l},P=b(j,[["__scopeId","data-v-8173cf28"]]),G={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 18 18"},J=[e.createElementVNode("path",{fill:"currentColor",d:"M3.465 13.59a9.4 9.4 0 0 1 2.565-1.383A8.8 8.8 0 0 1 9 11.7q1.552 0 2.97.507 1.418.508 2.565 1.383a7 7 0 0 0 1.227-2.092q.44-1.17.438-2.498 0-2.992-2.103-5.097Q11.994 1.8 9 1.8q-2.993 0-5.097 2.104Q1.8 6.007 1.8 9q0 1.327.44 2.498.438 1.17 1.225 2.092M9 9.9q-1.327 0-2.24-.91-.91-.912-.91-2.24t.912-2.24Q7.672 3.6 9 3.6t2.24.912.91 2.238-.91 2.24q-.91.912-2.24.91M9 18a8.8 8.8 0 0 1-3.51-.71 9.1 9.1 0 0 1-2.858-1.922A9.1 9.1 0 0 1 .71 12.51 8.8 8.8 0 0 1 0 9q0-1.866.71-3.51a9.1 9.1 0 0 1 1.922-2.858A9.1 9.1 0 0 1 5.49.71 8.8 8.8 0 0 1 9 0q1.866 0 3.51.71a9.1 9.1 0 0 1 2.858 1.922 9.1 9.1 0 0 1 1.924 2.858A8.7 8.7 0 0 1 18 9a8.8 8.8 0 0 1-.71 3.51 9 9 0 0 1-1.922 2.858 9.1 9.1 0 0 1-2.858 1.924A8.7 8.7 0 0 1 9 18"},null,-1)];function X(n,t){return e.openBlock(),e.createElementBlock("svg",G,[...J])}const y={render:X},Y={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},Z=[e.createElementVNode("path",{fill:"currentColor",d:"M10.533 13.667h-10v-3.334h10v-10h3.334v10h10v3.334h-10v10h-3.334z"},null,-1)];function ee(n,t){return e.openBlock(),e.createElementBlock("svg",Y,[...Z])}const te={render:ee},ne={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 18 18"},oe=[e.createElementVNode("path",{fill:"currentColor",d:"m4.303 10.125 6.3 6.3L9 18 0 9l9-9 1.603 1.575-6.3 6.3H18v2.25z"},null,-1)];function le(n,t){return e.openBlock(),e.createElementBlock("svg",ne,[...oe])}const N={render:le},re={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 9 18"},ce=[e.createElementVNode("path",{fill:"currentColor",d:"M8.333 17.333 0 9 8.333.667z"},null,-1)];function se(n,t){return e.openBlock(),e.createElementBlock("svg",re,[...ce])}const I={render:se},ae={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 9 18"},ie=[e.createElementVNode("path",{fill:"currentColor",d:"M.667 17.333V.667L9 9z"},null,-1)];function de(n,t){return e.openBlock(),e.createElementBlock("svg",ae,[...ie])}const S={render:de},pe={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 8 8"},he=[e.createElementVNode("path",{fill:"currentColor",d:"M4 2 0 6h8z"},null,-1)];function ue(n,t){return e.openBlock(),e.createElementBlock("svg",pe,[...he])}const H={render:ue},_e={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 15 18"},me=[e.createElementVNode("path",{fill:"currentColor",d:"M3.53 14.4V0H15v14.4zm1.764-1.8h7.941V1.8h-7.94zM0 18V3.6h1.765v12.6h9.706V18z"},null,-1)];function fe(n,t){return e.openBlock(),e.createElementBlock("svg",_e,[...me])}const L={render:fe},we={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 15 19"},ke=[e.createElementVNode("path",{fill:"currentColor",d:"M0 19v-1.9h15V19zm7.5-3.8L.938 6.65h3.75V0h5.625v6.65h3.75z"},null,-1)];function $e(n,t){return e.openBlock(),e.createElementBlock("svg",we,[...ke])}const q={render:$e},Be={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 14 18"},Ce=[e.createElementVNode("path",{fill:"currentColor",d:"M7 9q.721 0 1.236-.514A1.68 1.68 0 0 0 8.75 7.25q0-.723-.514-1.235A1.7 1.7 0 0 0 7 5.5a1.67 1.67 0 0 0-1.235.515A1.7 1.7 0 0 0 5.25 7.25q-.003.72.515 1.236Q6.28 9.003 7 9m0 8.75q-3.522-2.997-5.26-5.567Q0 9.613 0 7.425q0-3.28 2.111-5.228T7 .25q2.776 0 4.89 1.947Q14.002 4.143 14 7.425q0 2.187-1.739 4.758Q10.523 14.754 7 17.75"},null,-1)];function ge(n,t){return e.openBlock(),e.createElementBlock("svg",Be,[...Ce])}const x={render:ge},Ee={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 17 18"},Ve=[e.createElementVNode("path",{fill:"currentColor",d:"m15.678 18-5.95-6.3a5.54 5.54 0 0 1-3.59 1.3q-2.573 0-4.355-1.888T0 6.5t1.783-4.612T6.14 0t4.357 1.888T12.278 6.5q0 1.1-.33 2.075-.331.975-.898 1.725L17 16.6zm-9.54-7Q7.91 11 9.15 9.688T10.389 6.5t-1.24-3.187Q7.913 2.002 6.14 2t-3.01 1.313T1.889 6.5q-.003 1.871 1.24 3.188Q4.372 11.004 6.139 11"},null,-1)];function be(n,t){return e.openBlock(),e.createElementBlock("svg",Ee,[...Ve])}const g={render:be},ye={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 17 18"},Ne=[e.createElementVNode("path",{fill:"currentColor",d:"M13.5 18q-1.125 0-1.912-.788A2.6 2.6 0 0 1 10.8 15.3q0-.157.022-.327.024-.17.068-.303l-6.345-3.69q-.382.337-.855.53a2.6 2.6 0 0 1-.99.19q-1.125 0-1.912-.787A2.6 2.6 0 0 1 0 9q0-1.126.788-1.912A2.6 2.6 0 0 1 2.7 6.3q.517 0 .99.192t.855.528l6.345-3.69a1.7 1.7 0 0 1-.068-.303A3 3 0 0 1 10.8 2.7q0-1.125.787-1.912A2.6 2.6 0 0 1 13.5 0q1.125 0 1.912.788.788.787.788 1.912t-.787 1.912A2.6 2.6 0 0 1 13.5 5.4a2.6 2.6 0 0 1-.99-.19 3 3 0 0 1-.855-.53L5.31 8.37q.045.135.068.304a2.5 2.5 0 0 1 0 .653 1.6 1.6 0 0 1-.068.303l6.345 3.69q.383-.337.855-.528.472-.19.99-.192 1.125 0 1.912.787.788.788.788 1.913t-.787 1.912A2.6 2.6 0 0 1 13.5 18"},null,-1)];function Ie(n,t){return e.openBlock(),e.createElementBlock("svg",ye,[...Ne])}const A={render:Ie},Se={"account-circle":y,add:te,"back-arrow":N,"caret-down":C,"caret-left":I,"caret-right":S,"caret-up":H,"copy-content":L,download:q,location:x,search:g,share:A},He=e.defineComponent({__name:"Icon",props:{name:{}},setup(n){const{name:t}=n,l=Se[t];return(s,o)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(e.unref(l))))}}),Le=["href"],D=e.defineComponent({__name:"Link",props:{to:{},state:{},className:{}},setup(n){const t=n,l=e.computed(()=>t.state);return(s,o)=>(e.openBlock(),e.createElementBlock("a",{class:e.normalizeClass(["hunter-component hunter-link",[l.value==="disabled"&&"link-disabled",l.value==="inactive"&&"link-inactive",s.className]]),href:s.to},[e.renderSlot(s.$slots,"default")],10,Le))}}),qe={class:"nav-link-container"},xe=e.defineComponent({__name:"NavigationLinks",props:{links:{},variant:{},activeLink:{}},setup(n){const t=n,l=e.computed(()=>t.variant&&`hunter-nav-links-${t.variant}`);return console.log("CLS",l.value,t.variant),(s,o)=>(e.openBlock(),e.createElementBlock("nav",{class:e.normalizeClass(["hunter-component hunter-nav-links",l.value])},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(s.links,r=>(e.openBlock(),e.createElementBlock("div",qe,[e.createVNode(D,{to:r.route,className:s.activeLink.route===r.route?"nav-link-active":"",state:s.activeLink.route!==r.route?"inactive":null},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(r.text),1)]),_:2},1032,["to","className","state"])]))),256))],2))}}),Ae=n=>(e.pushScopeId("data-v-4621853b"),n=n(),e.popScopeId(),n),De={class:"hunter-component hunter-search-input-with-dropdown"},ze=Ae(()=>e.createElementVNode("span",{class:"hunter-search-input-label"},"Search",-1)),Te=["placeholder"],ve=["ariaHidden"],Oe={class:"clear-button-wrapper"},Me=b(e.defineComponent({__name:"SearchInput",props:{placeholder:{},options:{},width:{}},emits:["searchClick"],setup(n,{emit:t}){const{options:l=[]}=n,s=t,o=e.ref(),r=e.ref(),d=e.ref(),u=e.ref(),p=e.ref(),_=e.ref(),f=e.ref(!0),i=e.ref(""),w=a=>{a.preventDefault(),E(o.value)},$=a=>{const h=a.target;i.value=h.value},E=a=>{if(!a)return p.value="Enter a search term.",p;o.value=a;const h=l.find(m=>m.name===a);f.value=!0,i.value="",s("searchClick",h||o.value)},Ke=a=>{o.value=a.name,E(o.value)},Qe=()=>{E(o.value)};e.watch(p,a=>{a&&(setTimeout(()=>{_.value.classList.add("error-visible")},200),setTimeout(()=>{_.value.classList.remove("error-visible")},3e3),setTimeout(()=>{p.value=""},3300))});const Re=()=>{r.value.classList.add("hide-text"),setTimeout(()=>{o.value="",r.value.classList.remove("hide-text")},150)},z=a=>{const h=a.target;h===r.value&&(i.value=o.value||""),h!==(r==null?void 0:r.value)&&(i.value="")};return e.onMounted(()=>{u.value=[...document.querySelectorAll(".hunter-search-input-option-li")],f.value=!0,document.addEventListener("click",a=>z(a))}),e.onBeforeUnmount(()=>{document.removeEventListener("click",a=>z(a))}),(a,h)=>(e.openBlock(),e.createElementBlock("div",De,[e.createElementVNode("div",{class:"hunter-search-input-container",style:e.normalizeStyle({width:`${a.width&&a.width>208&&a.width}px`})},[e.createElementVNode("form",{onSubmit:h[3]||(h[3]=m=>w(m)),class:"w-full"},[e.createElementVNode("label",null,[ze,e.withDirectives(e.createElementVNode("input",{"onUpdate:modelValue":h[0]||(h[0]=m=>o.value=m),ref_key:"inputEl",ref:r,class:"hunter-search-input",onFocus:h[1]||(h[1]=m=>p.value=""),onInput:h[2]||(h[2]=m=>$(m)),placeholder:a.placeholder||"Search projects"},null,40,Te),[[e.vModelText,o.value]])])],32),e.createElementVNode("span",{ref_key:"errorEl",ref:_,class:"hunter-search-input-error transition duration-300 ease-in-out",ariaHidden:!p.value},e.toDisplayString(p.value),9,ve),e.createVNode(V,{options:a.options,"option-key":"name",collapsed:f.value,filter:"","filter-value":i.value,scrollable:"",maxResults:10,onSelectOption:h[4]||(h[4]=m=>Ke(m))},null,8,["options","collapsed","filter-value"]),e.createVNode(k,{ref_key:"searchButtonEl",ref:d,class:"hunter-search-input-button",variant:"icon",onClick:Qe},{default:e.withCtx(()=>[e.createVNode(e.unref(g),{class:"hunter-search-input-icon"})]),_:1},512)],4),e.createElementVNode("div",Oe,[e.createVNode(k,{class:"underline clear-button",variant:"link",onClick:Re},{default:e.withCtx(()=>[e.createTextVNode(" Clear ")]),_:1})])]))}}),[["__scopeId","data-v-4621853b"]]);c.HunterAccountCircleIcon=y,c.HunterBackArrowIcon=N,c.HunterButton=k,c.HunterCaretDownIcon=C,c.HunterCaretLeftIcon=I,c.HunterCaretRightIcon=S,c.HunterCaretUpIcon=H,c.HunterCopyContentIcon=L,c.HunterDownloadIcon=q,c.HunterDropdownList=B,c.HunterDropdownListWithFilter=V,c.HunterDropdownWithButton=P,c.HunterIcon=He,c.HunterLink=D,c.HunterLocationIcon=x,c.HunterNavigationLinks=xe,c.HunterSearchIcon=g,c.HunterSearchInput=Me,c.HunterShareIcon=A,Object.defineProperty(c,Symbol.toStringTag,{value:"Module"})});
|
|
1
|
+
(function(){"use strict";try{if(typeof document<"u"){var t=document.createElement("style");t.appendChild(document.createTextNode('*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:currentColor}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(147 197 253 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(147 197 253 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }.pointer-events-none{pointer-events:none}.collapse{visibility:collapse}.absolute{position:absolute}.relative{position:relative}.inset-0{top:0;right:0;bottom:0;left:0}.bottom-2{bottom:.5rem}.left-0{left:0}.right-3{right:.75rem}.top-full{top:100%}.my-0{margin-top:0;margin-bottom:0}.my-0\\.5{margin-top:.125rem;margin-bottom:.125rem}.-mb-1px{margin-bottom:-1px}.mb-1{margin-bottom:.25rem}.ml-0{margin-left:0}.ml-0\\.5{margin-left:.125rem}.ml-1{margin-left:.25rem}.ml-1\\.5{margin-left:.375rem}.mt-0{margin-top:0}.mt-0\\.5{margin-top:.125rem}.mt-2{margin-top:.5rem}.inline-block{display:inline-block}.flex{display:flex}.table{display:table}.hidden{display:none}.h-0{height:0px}.h-10{height:2.5rem}.h-12{height:3rem}.h-4{height:1rem}.h-5{height:1.25rem}.h-9{height:2.25rem}.h-max{height:-moz-max-content;height:max-content}.max-h-44{max-height:11rem}.w-12{width:3rem}.w-4{width:1rem}.w-44{width:11rem}.w-5{width:1.25rem}.w-full{width:100%}.w-max{width:-moz-max-content;width:max-content}.max-w-screen-lg{max-width:1024px}.origin-center{transform-origin:center}.-scale-y-100{--tw-scale-y: -1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scale-x-0{--tw-scale-x: 0;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scale-y-100{--tw-scale-y: 1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.cursor-pointer{cursor:pointer}.resize{resize:both}.flex-col{flex-direction:column}.flex-nowrap{flex-wrap:nowrap}.items-start{align-items:flex-start}.items-end{align-items:flex-end}.items-center{align-items:center}.justify-center{justify-content:center}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.rounded{border-radius:var(--rounded)}.rounded-3xl{border-radius:1.5rem}.rounded-lg{border-radius:var(--rounded-lg)}.rounded-l-none{border-top-left-radius:0;border-bottom-left-radius:0}.rounded-r{border-top-right-radius:var(--rounded);border-bottom-right-radius:var(--rounded)}.border-2{border-width:2px}.border-b{border-bottom-width:1px}.border-b-2{border-bottom-width:2px}.border-blue-400{border-color:var(--blue-400)}.border-blue-700{border-color:var(--blue-700)}.border-blue-800{border-color:var(--blue-800)}.border-disabled-light{border-color:var(--disabled-light)}.bg-blue-200{background-color:var(--blue-200)}.bg-blue-800{background-color:var(--blue-800)}.p-0{padding:0}.px-12{padding-left:3rem;padding-right:3rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.pb-1{padding-bottom:.25rem}.pr-0{padding-right:0}.pr-0\\.5{padding-right:.125rem}.pt-0{padding-top:0}.pt-1px{padding-top:1px}.pt-2{padding-top:.5rem}.text-left{text-align:left}.text-2xl{font-size:var(--28px)}.text-3xl{font-size:var(--32px)}.text-4xl{font-size:var(--36px)}.text-base{font-size:var(--16px)}.text-lg{font-size:var(--22px)}.text-md{font-size:var(--18px)}.text-sm{font-size:var(--14px)}.text-xl{font-size:var(--24px)}.text-xs{font-size:var(--12px)}.font-bold{font-weight:700}.font-medium{font-weight:500}.uppercase{text-transform:uppercase}.text-blue-500{color:var(--blue-500)}.text-blue-800{color:var(--blue-800)}.text-blue-900{color:var(--blue-900)}.text-disabled{color:var(--disabled)}.text-error{color:var(--error)}.underline{text-decoration-line:underline}.antialiased{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.opacity-0{opacity:0}.opacity-100{opacity:1}.shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.outline{outline-style:solid}.outline-1{outline-width:1px}.outline-blue-400{outline-color:var(--blue-400)}.grayscale{--tw-grayscale: grayscale(100%);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-300{transition-duration:.3s}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.hunter-component,.hunter-component~*,.hunter-component>*{font-family:Arial,Helvetica,Verdana,Bitstream Vera Sans,sans-serif;line-height:auto;font-weight:400;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;color:var(--dark);box-sizing:border-box;scroll-behavior:smooth}@supports not selector(::-webkit-scrollbar){.hunter-component,.hunter-component~*,.hunter-component>*{scrollbar-color:var(--disabled) var(--disabled-light);scrollbar-width:thin}}@supports selector(::-webkit-scrollbar){.hunter-component ::-webkit-scrollbar,.hunter-component~* ::-webkit-scrollbar,.hunter-component>* ::-webkit-scrollbar{background:var(--disabled-light)!important;width:8px!important;border-radius:1.5rem}.hunter-component ::-webkit-scrollbar-thumb,.hunter-component~* ::-webkit-scrollbar-thumb,.hunter-component>* ::-webkit-scrollbar-thumb{background:var(--disabled)!important;border-radius:1.5rem}}.hunter-component h1,.hunter-component h2,.hunter-component h3,.hunter-component h4,.hunter-component h5,.hunter-component h6,.hunter-component~h1,.hunter-component~h2,.hunter-component~h3,.hunter-component~h4,.hunter-component~h5,.hunter-component~h6{font-weight:500;color:var(--blue-900)}.hunter-component h1,.hunter-component~h1{font-size:var(--28px)}.hunter-component h2,.hunter-component~h2{font-size:var(--24px)}.hunter-component h3,.hunter-component~h3{font-size:var(--22px)}.hunter-component h4,.hunter-component~h4{font-size:var(--18px)}.hunter-component h5,.hunter-component~h5{font-size:var(--16px)}.hunter-component h6,.hunter-component~h6{font-size:var(--14px)}.hunter-component a,.hunter-component~a,.hunter-component>a{font-weight:500;color:var(--blue-800);text-decoration:inherit}.hunter-component a:hover,.hunter-component~a:hover,.hunter-component>a:hover{color:var(--blue-700)}.hunter-button{position:relative;display:flex;height:2.25rem;align-items:center;justify-content:center;gap:.75rem;border-radius:var(--rounded);padding-left:1.5rem;padding-right:1.5rem;padding-top:.125rem;font-weight:500;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-duration:.3s;transition-timing-function:cubic-bezier(.4,0,.2,1)}.hunter-button svg{color:inherit;pointer-events:none}.hunter-button-disabled{pointer-events:none;cursor:default;color:var(--disabled)}.hunter-button-primary{background-color:var(--blue-800);color:var(--blue-200)}.hunter-button-primary:hover{background-color:var(--blue-700)}.hunter-button-primary.hunter-button-disabled{background-color:var(--disabled-light)}.hunter-button-secondary{border-width:2px;border-color:var(--blue-800);background-color:var(--blue-200);color:var(--blue-800)}.hunter-button-secondary:hover{border-color:var(--blue-700);color:var(--blue-700)}.hunter-button-secondary.hunter-button-disabled{border-color:var(--disabled-light);color:var(--disabled-light)}.hunter-button-link,.hunter-button-text{height:-moz-max-content;height:max-content;padding:0;font-size:var(--16px);color:var(--blue-800)}.hunter-button-link:hover,.hunter-button-text:hover{color:var(--blue-700)}.hunter-button-text{font-weight:500}.hunter-button-icon{height:1.25rem;width:1.25rem;padding:0;color:var(--blue-800)}.hunter-button-icon:hover{color:var(--blue-700)}:root{--blue-900: #002533;--blue-800: #00658a;--blue-700: #0192c9;--blue-600: #47636b;--blue-500: #819da7;--blue-400: #dae4e7;--blue-300: #f1f3f4;--blue-200: #f9fafa;--dark: #363636;--disabled: #979797;--disabled-light: #d9d9d9;--information: #01b6fb;--information-light: #e9f5fe;--success: #83b001;--success-light: #f6fce6;--warning: #f4a729;--warning-light: #fef6ea;--error: #ff3923;--error-light: #ffebe9;--base-unit: .25rem;--2px: calc(var(--base-unit) / 2);--5px: calc(var(--base-unit) * 1.25);--8px: calc(var(--base-unit) * 2);--10px: calc(var(--base-unit) * 2.5);--12px: calc(var(--base-unit) * 3);--14px: calc(var(--base-unit) * 3.5);--16px: calc(var(--base-unit) * 4);--18px: calc(var(--base-unit) * 4.5);--22px: calc(var(--base-unit) * 5.5);--24px: calc(var(--base-unit) * 6);--28px: calc(var(--base-unit) * 7);--32px: calc(var(--base-unit) * 8);--36px: calc(var(--base-unit) * 9);--shadow: 0px var(--2px) var(--8px) #1e2127;--rounded: var(--5px);--rounded-lg: var(--10px)}@keyframes set-height-0{to{height:0px;overflow:hidden}}.hunter-dropdown-list{position:absolute;top:100%;left:0;margin-top:.5rem;width:100%;border-radius:var(--rounded-lg);transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.hunter-dropdown-list.collapsed{animation:set-height-0 0s forwards .15s;opacity:0}.hunter-dropdown-ol{display:flex;width:100%;flex-direction:column;align-items:flex-start;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.hunter-dropdown-ol:after{content:"";pointer-events:none;position:absolute;top:0;right:0;bottom:0;left:0;border-radius:var(--rounded-lg);--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.hunter-search-input-option-li{width:100%;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.hunter-dropdown-option-button{margin-top:.125rem;margin-bottom:.125rem;width:100%;background-color:transparent;padding:.5rem 1.5rem .25rem;text-align:left;font-weight:500;color:var(--blue-900);transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-duration:.15s;transition-timing-function:cubic-bezier(.4,0,.2,1)}.hunter-dropdown-option-button:hover{background-color:var(--blue-300)}.hunter-dropdown-option-button.dropdown-option-selected{color:var(--blue-800);transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-duration:.15s;transition-timing-function:cubic-bezier(.4,0,.2,1)}.hunter-dropdown-with-button[data-v-8173cf28]{display:flex;width:11rem;flex-direction:column;align-items:flex-end}.hunter-dropdown-selection-button[data-v-8173cf28]{position:relative;width:-moz-max-content;width:max-content}.hunter-dropdown-with-button-list[data-v-8173cf28]{position:relative;width:100%}.hunter-link,.hunter-nav-links-tabs>a{font-size:var(--16px);font-weight:700;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-duration:.15s;transition-timing-function:cubic-bezier(.4,0,.2,1)}.hunter-link.link-disabled,.hunter-nav-links-tabs>a.link-disabled{pointer-events:none;color:var(--disabled);transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.hunter-link.link-inactive,.hunter-nav-links-tabs>a.link-inactive{color:var(--blue-500);transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.hunter-link:hover,.hunter-link.link-inactive:hover,.hunter-nav-links-tabs>a:hover,.hunter-nav-links-tabs>a.link-inactive:hover{cursor:pointer;color:var(--blue-700)}.hunter-nav-links{display:flex}.hunter-nav-links.hunter-nav-links-tabs a{position:relative;display:flex;width:100%;justify-content:center;border-bottom-width:1px;border-color:var(--blue-400);padding-left:3rem;padding-right:3rem;padding-bottom:.25rem}.hunter-nav-links.hunter-nav-links-tabs a:before{content:"";z-index:-1;position:absolute;top:0;right:0;bottom:0;left:0;margin-bottom:-1px;transform-origin:center;--tw-scale-x: 0;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));border-bottom-width:2px;border-color:var(--blue-800);transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.hunter-nav-links.hunter-nav-links-tabs a:has(.nav-link-active):before{content:"";--tw-scale-x: 1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}[data-v-4621853b]:root{--blue-900: #002533;--blue-800: #00658a;--blue-700: #0192c9;--blue-600: #47636b;--blue-500: #819da7;--blue-400: #dae4e7;--blue-300: #f1f3f4;--blue-200: #f9fafa;--dark: #363636;--disabled: #979797;--disabled-light: #d9d9d9;--information: #01b6fb;--information-light: #e9f5fe;--success: #83b001;--success-light: #f6fce6;--warning: #f4a729;--warning-light: #fef6ea;--error: #ff3923;--error-light: #ffebe9;--base-unit: .25rem;--2px: calc(var(--base-unit) / 2);--5px: calc(var(--base-unit) * 1.25);--8px: calc(var(--base-unit) * 2);--10px: calc(var(--base-unit) * 2.5);--12px: calc(var(--base-unit) * 3);--14px: calc(var(--base-unit) * 3.5);--16px: calc(var(--base-unit) * 4);--18px: calc(var(--base-unit) * 4.5);--22px: calc(var(--base-unit) * 5.5);--24px: calc(var(--base-unit) * 6);--28px: calc(var(--base-unit) * 7);--32px: calc(var(--base-unit) * 8);--36px: calc(var(--base-unit) * 9);--shadow: 0px var(--2px) var(--8px) #1e2127;--rounded: var(--5px);--rounded-lg: var(--10px)}.hunter-search-input-with-dropdown[data-v-4621853b]{display:flex;width:100%;align-items:flex-end;gap:.5rem}.hunter-search-input-with-dropdown .hunter-search-input-container[data-v-4621853b]{position:relative;width:100%;min-width:13rem;max-width:1024px}.hunter-search-input-with-dropdown .hunter-search-input-container .hunter-search-input-label[data-v-4621853b]{margin-left:.125rem;margin-bottom:.25rem;display:inline-block;width:100%;font-weight:500;text-transform:uppercase;color:var(--blue-900)}.hunter-search-input-with-dropdown .hunter-search-input-container .hunter-search-input[data-v-4621853b]{outline:2px solid transparent;transition:outline-color .2s ease-in-out,color .1s ease-in-out;position:relative;display:flex;height:2.5rem;width:100%;align-items:center;border-radius:1.5rem;padding-left:.75rem;padding-right:.75rem;padding-top:1px;color:var(--blue-900);outline-width:1px;outline-color:var(--blue-400)}.hunter-search-input-with-dropdown .hunter-search-input-container .hunter-search-input[data-v-4621853b]::-moz-placeholder{color:var(--blue-500)}.hunter-search-input-with-dropdown .hunter-search-input-container .hunter-search-input[data-v-4621853b]::placeholder{color:var(--blue-500)}.hunter-search-input-with-dropdown .hunter-search-input-container .hunter-search-input[data-v-4621853b]:focus,.hunter-search-input-with-dropdown .hunter-search-input-container .hunter-search-input[data-v-4621853b]:active{outline:2px solid var(--blue-800)}.hunter-search-input-with-dropdown .hunter-search-input-container .hunter-search-input[data-v-4621853b]:focus::-moz-placeholder{color:transparent}.hunter-search-input-with-dropdown .hunter-search-input-container .hunter-search-input[data-v-4621853b]:focus::placeholder{color:transparent}.hunter-search-input-with-dropdown .hunter-search-input-container .hunter-search-input-button[data-v-4621853b]{position:absolute;right:.75rem;bottom:.625rem}.hunter-search-input-with-dropdown .hunter-search-input-container .hunter-search-input-error[data-v-4621853b]{pointer-events:none;position:absolute;top:100%;margin-top:.125rem;margin-left:.375rem;font-size:var(--14px);color:var(--error);opacity:0;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.hunter-search-input-with-dropdown .hunter-search-input-container .hunter-search-input-error.error-visible[data-v-4621853b]{pointer-events:auto;opacity:1}.hunter-search-input-with-dropdown .hunter-search-input-container .hide-text[data-v-4621853b]{color:transparent}.hunter-search-input-with-dropdown .clear-button-wrapper[data-v-4621853b]{display:flex;height:2.5rem;width:-moz-max-content;width:max-content;align-items:center}.hunter-search-input-with-dropdown .clear-button[data-v-4621853b]{padding-top:1px}')),document.head.appendChild(t)}}catch(r){console.error("vite-plugin-css-injected-by-js",r)}})();
|
|
2
|
+
(function(i,e){typeof exports=="object"&&typeof module<"u"?e(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],e):(i=typeof globalThis<"u"?globalThis:i||self,e(i.HunterComponents={},i.Vue))})(this,function(i,e){"use strict";const D=["id"],k=e.defineComponent({__name:"Button",props:{variant:{},disabled:{type:Boolean},id:{}},setup(n){const t=n,o=e.computed(()=>t.disabled||!1),d=e.computed(()=>`hunter-button-${t.variant||"primary"} ${o.value&&"hunter-button-disabled"}`);return(l,c)=>(e.openBlock(),e.createElementBlock("button",{ref:"button",class:e.normalizeClass(["hunter-component hunter-button",d.value]),id:l.id},[e.renderSlot(l.$slots,"default")],10,D))}}),T=["id"],M={class:"overflow-hidden rounded-r rounded-l-none"},O=["value","onClick"],B=e.defineComponent({__name:"DropdownList",props:{options:{},optionKey:{},collapsed:{type:Boolean},scrollable:{type:Boolean},maxResults:{},id:{},selected:{}},emits:["selectOption"],setup(n,{emit:t}){const o=n,d=t,l=e.computed(()=>o.scrollable||!1),c=e.computed(()=>o.selected||null),r=s=>{d("selectOption",s)};return(s,a)=>(e.openBlock(),e.createElementBlock("div",{id:`dropdown-list-${s.id}`,class:e.normalizeClass(["hunter-component hunter-dropdown-list pr-0.5 py-1",s.collapsed?"collapsed":""])},[e.createElementVNode("div",M,[e.createElementVNode("ol",{ref:"dropdown",class:e.normalizeClass(["hunter-dropdown-ol",l.value&&"max-h-44 overflow-y-auto"]),"aria-hidden":"true"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(s.options,m=>(e.openBlock(),e.createElementBlock("li",{key:m[s.optionKey],"aria-hidden":"true",class:"hunter-search-input-option-li"},[e.createElementVNode("button",{class:e.normalizeClass(["hunter-dropdown-option-button",c.value&&m[s.optionKey]===c.value[s.optionKey]&&"dropdown-option-selected"]),value:m[s.optionKey],onClick:f=>r(m)},e.toDisplayString(m[s.optionKey]),11,O)]))),128))],2)])],10,T))}}),K=({options:n,query:t,key:o,max:d})=>{if(!t)return;t=t==null?void 0:t.toLowerCase();let l=0;return n.filter(c=>{if(c[o].toLowerCase().includes(t))if(d){if(d&&l<=d-1)return l++,c}else return c})},b=e.defineComponent({__name:"DropdownListWithFilter",props:{filterValue:{},options:{},optionKey:{},collapsed:{type:Boolean},scrollable:{type:Boolean},maxResults:{},id:{},selected:{}},emits:["selectOption"],setup(n,{emit:t}){const o=n,d=t,l=e.ref([...o.options]),c=e.computed(()=>o.filterValue||""),r=e.ref(o.collapsed);e.watch(c,a=>{if(a.length>1){if(l.value=K({options:o.options,query:a,key:o.optionKey,max:o.maxResults}),l.value.length===0)return r.value=!0,r.value;r.value=!1;return}else r.value=!0},{immediate:!0});const s=a=>{d("selectOption",a)};return(a,m)=>(e.openBlock(),e.createBlock(B,{options:l.value,optionKey:a.optionKey,collapsed:r.value,scrollable:a.scrollable,onSelectOption:m[0]||(m[0]=f=>s(f))},null,8,["options","optionKey","collapsed","scrollable"]))}}),R={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 18 9"},Q=[e.createElementVNode("path",{fill:"currentColor",d:"M9 9 .667.667h16.666z"},null,-1)];function U(n,t){return e.openBlock(),e.createElementBlock("svg",R,[...Q])}const C={render:U},F={class:"hunter-dropdown-with-button"},W={class:"hunter-dropdown-selection-button"},j=e.defineComponent({__name:"DropdownWithButton",props:{buttonText:{},id:{},options:{},optionKey:{},collapsed:{type:Boolean},scrollable:{type:Boolean},maxResults:{},selected:{}},emits:["selectOption"],setup(n,{emit:t}){const{id:o}=n,d=t,l=e.ref(),c=e.ref(),r=e.ref(!0),s=e.ref(),a=()=>{r.value=!r.value},m=h=>{s.value=h,setTimeout(()=>{r.value=!0},750),d("selectOption",h)},f=h=>{var $;const w=h.target;if(!(w===l.value||($=c.value)!=null&&$.contains(w)||w===c.value))return r.value=!0,r};return e.onMounted(()=>{document.addEventListener("click",h=>f(h)),l.value=document.querySelector(`#button-dropdown-title-${o}`)}),e.onBeforeUnmount(()=>{document.removeEventListener("click",h=>f(h))}),(h,w)=>(e.openBlock(),e.createElementBlock("div",F,[e.createElementVNode("div",W,[e.createVNode(k,{id:`button-dropdown-title-${h.id}`,variant:"text",onClick:a},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(h.buttonText)+" ",1),e.createVNode(e.unref(C),{class:e.normalizeClass(["h-4 w-4 transition duration-300 ease-in-out",r.value===!0?"scale-y-100":"-scale-y-100"])},null,8,["class"])]),_:1},8,["id"])]),e.createElementVNode("div",{ref_key:"dropdownListEl",ref:c,class:"hunter-dropdown-with-button-list"},[e.createVNode(B,{options:h.options,"option-key":h.optionKey,collapsed:r.value,selected:s.value,onSelectOption:m},null,8,["options","option-key","collapsed","selected"])],512)]))}}),V=(n,t)=>{const o=n.__vccOpts||n;for(const[d,l]of t)o[d]=l;return o},P=V(j,[["__scopeId","data-v-8173cf28"]]),G={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 18 18"},J=[e.createElementVNode("path",{fill:"currentColor",d:"M3.465 13.59a9.4 9.4 0 0 1 2.565-1.383A8.8 8.8 0 0 1 9 11.7q1.552 0 2.97.507 1.418.508 2.565 1.383a7 7 0 0 0 1.227-2.092q.44-1.17.438-2.498 0-2.992-2.103-5.097Q11.994 1.8 9 1.8q-2.993 0-5.097 2.104Q1.8 6.007 1.8 9q0 1.327.44 2.498.438 1.17 1.225 2.092M9 9.9q-1.327 0-2.24-.91-.91-.912-.91-2.24t.912-2.24Q7.672 3.6 9 3.6t2.24.912.91 2.238-.91 2.24q-.91.912-2.24.91M9 18a8.8 8.8 0 0 1-3.51-.71 9.1 9.1 0 0 1-2.858-1.922A9.1 9.1 0 0 1 .71 12.51 8.8 8.8 0 0 1 0 9q0-1.866.71-3.51a9.1 9.1 0 0 1 1.922-2.858A9.1 9.1 0 0 1 5.49.71 8.8 8.8 0 0 1 9 0q1.866 0 3.51.71a9.1 9.1 0 0 1 2.858 1.922 9.1 9.1 0 0 1 1.924 2.858A8.7 8.7 0 0 1 18 9a8.8 8.8 0 0 1-.71 3.51 9 9 0 0 1-1.922 2.858 9.1 9.1 0 0 1-2.858 1.924A8.7 8.7 0 0 1 9 18"},null,-1)];function X(n,t){return e.openBlock(),e.createElementBlock("svg",G,[...J])}const y={render:X},Y={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},Z=[e.createElementVNode("path",{fill:"currentColor",d:"M10.533 13.667h-10v-3.334h10v-10h3.334v10h10v3.334h-10v10h-3.334z"},null,-1)];function ee(n,t){return e.openBlock(),e.createElementBlock("svg",Y,[...Z])}const te={render:ee},ne={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 18 18"},oe=[e.createElementVNode("path",{fill:"currentColor",d:"m4.303 10.125 6.3 6.3L9 18 0 9l9-9 1.603 1.575-6.3 6.3H18v2.25z"},null,-1)];function le(n,t){return e.openBlock(),e.createElementBlock("svg",ne,[...oe])}const L={render:le},re={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 9 18"},se=[e.createElementVNode("path",{fill:"currentColor",d:"M8.333 17.333 0 9 8.333.667z"},null,-1)];function ce(n,t){return e.openBlock(),e.createElementBlock("svg",re,[...se])}const N={render:ce},ae={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 9 18"},ie=[e.createElementVNode("path",{fill:"currentColor",d:"M.667 17.333V.667L9 9z"},null,-1)];function de(n,t){return e.openBlock(),e.createElementBlock("svg",ae,[...ie])}const I={render:de},pe={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 8 8"},he=[e.createElementVNode("path",{fill:"currentColor",d:"M4 2 0 6h8z"},null,-1)];function ue(n,t){return e.openBlock(),e.createElementBlock("svg",pe,[...he])}const H={render:ue},me={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 15 18"},_e=[e.createElementVNode("path",{fill:"currentColor",d:"M3.53 14.4V0H15v14.4zm1.764-1.8h7.941V1.8h-7.94zM0 18V3.6h1.765v12.6h9.706V18z"},null,-1)];function fe(n,t){return e.openBlock(),e.createElementBlock("svg",me,[..._e])}const S={render:fe},we={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 15 19"},ke=[e.createElementVNode("path",{fill:"currentColor",d:"M0 19v-1.9h15V19zm7.5-3.8L.938 6.65h3.75V0h5.625v6.65h3.75z"},null,-1)];function $e(n,t){return e.openBlock(),e.createElementBlock("svg",we,[...ke])}const v={render:$e},Be={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 14 18"},Ce=[e.createElementVNode("path",{fill:"currentColor",d:"M7 9q.721 0 1.236-.514A1.68 1.68 0 0 0 8.75 7.25q0-.723-.514-1.235A1.7 1.7 0 0 0 7 5.5a1.67 1.67 0 0 0-1.235.515A1.7 1.7 0 0 0 5.25 7.25q-.003.72.515 1.236Q6.28 9.003 7 9m0 8.75q-3.522-2.997-5.26-5.567Q0 9.613 0 7.425q0-3.28 2.111-5.228T7 .25q2.776 0 4.89 1.947Q14.002 4.143 14 7.425q0 2.187-1.739 4.758Q10.523 14.754 7 17.75"},null,-1)];function Ee(n,t){return e.openBlock(),e.createElementBlock("svg",Be,[...Ce])}const q={render:Ee},ge={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 17 18"},be=[e.createElementVNode("path",{fill:"currentColor",d:"m15.678 18-5.95-6.3a5.54 5.54 0 0 1-3.59 1.3q-2.573 0-4.355-1.888T0 6.5t1.783-4.612T6.14 0t4.357 1.888T12.278 6.5q0 1.1-.33 2.075-.331.975-.898 1.725L17 16.6zm-9.54-7Q7.91 11 9.15 9.688T10.389 6.5t-1.24-3.187Q7.913 2.002 6.14 2t-3.01 1.313T1.889 6.5q-.003 1.871 1.24 3.188Q4.372 11.004 6.139 11"},null,-1)];function Ve(n,t){return e.openBlock(),e.createElementBlock("svg",ge,[...be])}const E={render:Ve},ye={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 17 18"},Le=[e.createElementVNode("path",{fill:"currentColor",d:"M13.5 18q-1.125 0-1.912-.788A2.6 2.6 0 0 1 10.8 15.3q0-.157.022-.327.024-.17.068-.303l-6.345-3.69q-.382.337-.855.53a2.6 2.6 0 0 1-.99.19q-1.125 0-1.912-.787A2.6 2.6 0 0 1 0 9q0-1.126.788-1.912A2.6 2.6 0 0 1 2.7 6.3q.517 0 .99.192t.855.528l6.345-3.69a1.7 1.7 0 0 1-.068-.303A3 3 0 0 1 10.8 2.7q0-1.125.787-1.912A2.6 2.6 0 0 1 13.5 0q1.125 0 1.912.788.788.787.788 1.912t-.787 1.912A2.6 2.6 0 0 1 13.5 5.4a2.6 2.6 0 0 1-.99-.19 3 3 0 0 1-.855-.53L5.31 8.37q.045.135.068.304a2.5 2.5 0 0 1 0 .653 1.6 1.6 0 0 1-.068.303l6.345 3.69q.383-.337.855-.528.472-.19.99-.192 1.125 0 1.912.787.788.788.788 1.913t-.787 1.912A2.6 2.6 0 0 1 13.5 18"},null,-1)];function Ne(n,t){return e.openBlock(),e.createElementBlock("svg",ye,[...Le])}const x={render:Ne},Ie={"account-circle":y,add:te,"back-arrow":L,"caret-down":C,"caret-left":N,"caret-right":I,"caret-up":H,"copy-content":S,download:v,location:q,search:E,share:x},He=e.defineComponent({__name:"Icon",props:{name:{}},setup(n){const{name:t}=n,o=Ie[t];return(d,l)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(e.unref(o))))}}),Se=["href"],A=e.defineComponent({__name:"Link",props:{to:{},state:{},className:{},nuxt:{}},setup(n){const t=n,o=e.computed(()=>t.state);return(d,l)=>(e.openBlock(),e.createElementBlock("a",{class:e.normalizeClass(["hunter-component hunter-link",[o.value==="disabled"&&"link-disabled",o.value==="inactive"&&"link-inactive",d.className]]),href:d.to},[e.renderSlot(d.$slots,"default")],10,Se))}}),ve=e.defineComponent({__name:"NavigationLinks",props:{links:{},variant:{},activeLink:{},nuxt:{type:Boolean}},setup(n){console.log("HERE");const t=n,o=e.ref(),d=e.ref(),l=e.computed(()=>t.variant?`hunter-nav-links-${t.variant}`:"hunter-nav-link-tabs"),c=e.computed(()=>t.activeLink);return e.watch(c,r=>{o.value&&(console.log("CUR",r),d.value&&d.value.forEach(s=>{const{pathname:a}=new URL(s.href);a===c.value.route?(s.classList.remove("link-inactive"),s.classList.add("nav-link-active")):(s.classList.remove("nav-link-active"),s.classList.add("link-inactive")),console.log("ELLLL",s),console.log("PATH",a,c.value.route)}))}),e.onMounted(()=>{o.value&&(d.value=o==null?void 0:o.value.querySelectorAll("a"),d.value.forEach(r=>{const{pathname:s}=new URL(r.href);s===c.value.route?r.classList.add("nav-link-active"):r.classList.add("link-inactive")}))}),(r,s)=>r.nuxt?(e.openBlock(),e.createElementBlock("nav",{key:0,class:e.normalizeClass(["hunter-component hunter-nav-links",l.value]),ref_key:"nuxtLinkContainer",ref:o},[e.renderSlot(r.$slots,"default")],2)):(e.openBlock(),e.createElementBlock("nav",{key:1,class:e.normalizeClass(["hunter-component hunter-nav-links",l.value])},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(r.links,a=>(e.openBlock(),e.createElementBlock("div",null,[e.createVNode(A,{to:a.route,className:r.activeLink.route===a.route?"nav-link-active":"",state:r.activeLink.route!==a.route?"inactive":null},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(a.text),1)]),_:2},1032,["to","className","state"])]))),256))],2))}}),qe=n=>(e.pushScopeId("data-v-4621853b"),n=n(),e.popScopeId(),n),xe={class:"hunter-component hunter-search-input-with-dropdown"},Ae=qe(()=>e.createElementVNode("span",{class:"hunter-search-input-label"},"Search",-1)),ze=["placeholder"],De=["ariaHidden"],Te={class:"clear-button-wrapper"},Me=V(e.defineComponent({__name:"SearchInput",props:{placeholder:{},options:{},width:{}},emits:["searchClick"],setup(n,{emit:t}){const{options:o=[]}=n,d=t,l=e.ref(),c=e.ref(),r=e.ref(),s=e.ref(),a=e.ref(),m=e.ref(),f=e.ref(!0),h=e.ref(""),w=p=>{p.preventDefault(),g(l.value)},$=p=>{const u=p.target;h.value=u.value},g=p=>{if(!p)return a.value="Enter a search term.",a;l.value=p;const u=o.find(_=>_.name===p);f.value=!0,h.value="",d("searchClick",u||l.value)},Oe=p=>{l.value=p.name,g(l.value)},Ke=()=>{g(l.value)};e.watch(a,p=>{p&&(setTimeout(()=>{m.value.classList.add("error-visible")},200),setTimeout(()=>{m.value.classList.remove("error-visible")},3e3),setTimeout(()=>{a.value=""},3300))});const Re=()=>{c.value.classList.add("hide-text"),setTimeout(()=>{l.value="",c.value.classList.remove("hide-text")},150)},z=p=>{const u=p.target;u===c.value&&(h.value=l.value||""),u!==(c==null?void 0:c.value)&&(h.value="")};return e.onMounted(()=>{s.value=[...document.querySelectorAll(".hunter-search-input-option-li")],f.value=!0,document.addEventListener("click",p=>z(p))}),e.onBeforeUnmount(()=>{document.removeEventListener("click",p=>z(p))}),(p,u)=>(e.openBlock(),e.createElementBlock("div",xe,[e.createElementVNode("div",{class:"hunter-search-input-container",style:e.normalizeStyle({width:`${p.width&&p.width>208&&p.width}px`})},[e.createElementVNode("form",{onSubmit:u[3]||(u[3]=_=>w(_)),class:"w-full"},[e.createElementVNode("label",null,[Ae,e.withDirectives(e.createElementVNode("input",{"onUpdate:modelValue":u[0]||(u[0]=_=>l.value=_),ref_key:"inputEl",ref:c,class:"hunter-search-input",onFocus:u[1]||(u[1]=_=>a.value=""),onInput:u[2]||(u[2]=_=>$(_)),placeholder:p.placeholder||"Search projects"},null,40,ze),[[e.vModelText,l.value]])])],32),e.createElementVNode("span",{ref_key:"errorEl",ref:m,class:"hunter-search-input-error transition duration-300 ease-in-out",ariaHidden:!a.value},e.toDisplayString(a.value),9,De),e.createVNode(b,{options:p.options,"option-key":"name",collapsed:f.value,filter:"","filter-value":h.value,scrollable:"",maxResults:10,onSelectOption:u[4]||(u[4]=_=>Oe(_))},null,8,["options","collapsed","filter-value"]),e.createVNode(k,{ref_key:"searchButtonEl",ref:r,class:"hunter-search-input-button",variant:"icon",onClick:Ke},{default:e.withCtx(()=>[e.createVNode(e.unref(E),{class:"hunter-search-input-icon"})]),_:1},512)],4),e.createElementVNode("div",Te,[e.createVNode(k,{class:"underline clear-button",variant:"link",onClick:Re},{default:e.withCtx(()=>[e.createTextVNode(" Clear ")]),_:1})])]))}}),[["__scopeId","data-v-4621853b"]]);i.HunterAccountCircleIcon=y,i.HunterBackArrowIcon=L,i.HunterButton=k,i.HunterCaretDownIcon=C,i.HunterCaretLeftIcon=N,i.HunterCaretRightIcon=I,i.HunterCaretUpIcon=H,i.HunterCopyContentIcon=S,i.HunterDownloadIcon=v,i.HunterDropdownList=B,i.HunterDropdownListWithFilter=b,i.HunterDropdownWithButton=P,i.HunterIcon=He,i.HunterLink=A,i.HunterLocationIcon=q,i.HunterNavigationLinks=ve,i.HunterSearchIcon=E,i.HunterSearchInput=Me,i.HunterShareIcon=x,Object.defineProperty(i,Symbol.toStringTag,{value:"Module"})});
|