@turquoisehealth/pit-viper 2.265.0 → 2.266.0

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.
@@ -1,7 +1,7 @@
1
- (function(){try{if(typeof document<`u`){var e=document.createElement(`style`);e.appendChild(document.createTextNode(`.pv-badge-md[data-v-3def68cb]{--inset-size:2px 2px;min-width:20px;min-height:20px;max-height:20px;font-weight:500}.pv-badge-sm[data-v-3def68cb]{--inset-size:0 2px;min-width:16px;min-height:16px;max-height:16px;font-weight:500}.pv-rounded[data-v-3def68cb]{border-radius:50%}.pv-ask-tq-buddy[data-v-0fa64818]{--pv-ask-tq-buddy-gradient-end:#fff;--pv-ask-tq-buddy-gradient-start:#36c5ba;--pv-ask-tq-buddy-size:3rem;--pv-ask-tq-buddy-solid:#36c5ba;--pv-ask-tq-buddy-eye:#fff;--pv-ask-tq-buddy-eye-fill:var(--pv-ask-tq-buddy-eye);--pv-ask-tq-buddy-eye-visibility:1;width:var(--pv-ask-tq-buddy-size);height:auto;display:block;overflow:visible}.pv-ask-tq-buddy[data-theme=halloween][data-v-0fa64818]{--pv-ask-tq-buddy-gradient-end:#8f2a04;--pv-ask-tq-buddy-gradient-start:#ff9b2f;--pv-ask-tq-buddy-eye:#ffd36b}.pv-ask-tq-buddy[data-v-0fa64818]:is([data-variant=mono],[data-variant=solid]){--pv-ask-tq-buddy-eye-visibility:0}.pv-ask-tq-buddy[data-variant=outline][data-v-0fa64818]{--pv-ask-tq-buddy-eye-fill:currentColor}.pv-ask-tq-buddy[data-size=sm][data-v-0fa64818]{--pv-ask-tq-buddy-size:2rem}.pv-ask-tq-buddy[data-size=md][data-v-0fa64818]{--pv-ask-tq-buddy-size:3rem}.pv-ask-tq-buddy[data-size=lg][data-v-0fa64818]{--pv-ask-tq-buddy-size:4rem}.pv-ask-tq-buddy[data-size=xl][data-v-0fa64818]{--pv-ask-tq-buddy-size:6rem}.pv-ask-tq-buddy__gradient-start[data-v-0fa64818]{stop-color:var(--pv-ask-tq-buddy-gradient-start)}.pv-ask-tq-buddy__gradient-end[data-v-0fa64818]{stop-color:var(--pv-ask-tq-buddy-gradient-end)}.pv-ask-tq-buddy__sheen-stop[data-v-0fa64818]{stop-color:var(--sheen-color,#fff)}.pv-ask-tq-buddy__sheen-peak[data-v-0fa64818]{stop-opacity:var(--sheen-opacity,.8)}.pv-ask-tq-buddy__candle-stop[data-v-0fa64818]{stop-color:var(--pv-ask-tq-buddy-eye)}.pv-ask-tq-buddy__body[data-v-0fa64818]{fill:var(--v7dbacdfc)}.pv-ask-tq-buddy[data-variant=mono] .pv-ask-tq-buddy__body[data-v-0fa64818]{fill:currentColor}.pv-ask-tq-buddy[data-variant=solid] .pv-ask-tq-buddy__body[data-v-0fa64818]{fill:var(--pv-ask-tq-buddy-solid)}.pv-ask-tq-buddy[data-variant=outline] .pv-ask-tq-buddy__body[data-v-0fa64818]{fill:none;stroke:currentColor}.pv-ask-tq-buddy__eye-cutout[data-v-0fa64818]{--pv-ask-tq-buddy-eye-fill:#000;--pv-ask-tq-buddy-eye-visibility:1}.pv-ask-tq-buddy__ring[data-v-0fa64818]{stroke:var(--pv-ask-tq-buddy-gradient-start)}[class*=pv-status]{&[data-v-e4edde71]:before,&[data-v-e4edde71]:after{margin-inline-end:0}}.pv-popover-list[data-v-fe6e9c6a]{font-size:14px}.pv-popover-pinned-sections[data-v-fe6e9c6a]{flex-direction:column;display:flex;overflow:hidden}.pv-popover-pinned-sections .pv-popover-list[data-v-fe6e9c6a]{overflow-y:auto}.pv-select[data-v-a13ab0e8]{padding-top:4px;padding-bottom:4px}summary[data-v-dfa0b416]{background-image:none;padding-right:2px}.pv-input-search[data-v-9e0c84d9]{display:block}.pv-select-button-trigger-content[data-v-da9865ad]{min-width:0}.pv-select-button-trigger[data-v-da9865ad]{height:1.5rem;padding-block:0}.pv-select-button-trigger.pv-button-large[data-v-da9865ad]{height:2rem}.pv-select-button-trigger-label[data-v-da9865ad]{flex:auto;min-width:0}.pv-action-button-reveal-on-hover{opacity:0;transition:opacity .2s}.pv-label:hover .pv-action-button-reveal-on-hover{opacity:1}.pv-menu-popover[data-v-951d1d02]{z-index:50}.pv-popover-list>li[data-v-951d1d02]:last-child>.pv-label{margin-block-end:0}[data-v-951d1d02] .pv-menu-nested:after{content:"";border-top:1.5px solid;border-right:1.5px solid;flex-shrink:0;width:.4rem;height:.4rem;margin-left:auto;margin-right:.2rem;transform:rotate(45deg)}.dots-button[data-v-92e78cd3]{background-color:#0000}.input-icon-position{pointer-events:none;position:absolute;top:8px;left:12px}.pv-insight-button[data-v-c1185c07]{position:absolute;top:.5rem;right:.5rem}.expandable-content[data-v-fc5fc7e0]{border-radius:.5rem}.expandable-content .pv-line-clamp[data-v-fc5fc7e0]{transition:max-height .3s ease-in-out}.pv-filter-panel-option-row[data-v-b85834dc]{--flex-align:center;--flex-gap:.5rem;cursor:pointer;min-width:0;padding-left:calc(var(--pv-filter-panel-option-row-depth) * 1.25rem)}.pv-filter-panel-option-row-content[data-v-b85834dc]{--flex-align:stretch;--flex-gap:0;flex:auto;min-width:0}.pv-filter-panel-option-row-disabled[data-v-b85834dc]{cursor:not-allowed;opacity:.6}.pv-filter-panel-option-row-line[data-v-b85834dc]{--lines:1}.pv-filter-panel-option-row-right[data-v-b85834dc]{text-align:right;flex:none}.pv-filter-panel-option-row-focus-action[data-v-b85834dc]{opacity:0;pointer-events:none}.pv-filter-panel-option-row:hover .pv-filter-panel-option-row-focus-action[data-v-b85834dc],.pv-filter-panel-option-row:focus-within .pv-filter-panel-option-row-focus-action[data-v-b85834dc],.pv-filter-panel-option-row-focus-action-always-visible[data-v-b85834dc]{opacity:1;pointer-events:auto}summary[data-v-2ca422a9]{background-image:none;padding-right:2px}.suggested-title-label[data-v-2ca422a9]{text-underline-offset:2px;text-decoration:underline dotted}.pv-filter-panel-refresh-status[data-v-2ca422a9]{margin-left:auto;display:inline-flex}.pv-filter-modal-rail[data-v-fb919d6a]{--flex-align:stretch;flex:0 0 180px;padding-inline-end:1rem;overflow-y:auto}.pv-filter-modal-pane[data-v-fb919d6a]{flex:auto;min-width:0;min-height:0;padding-inline-start:1rem}.pv-filter-modal-options[data-v-fb919d6a]{min-height:360px;max-height:360px;overflow-y:auto}.pv-filter-modal-pane-actions[data-v-fb919d6a]{margin-top:auto;padding-top:.5rem}.pv-hover-action-menu[data-v-c4eb41f2]{position:relative}.pv-hover-action-menu__actions[data-v-c4eb41f2]{z-index:1;display:none;position:absolute}.pv-hover-action-menu:hover>.pv-hover-action-menu__actions[data-v-c4eb41f2],.pv-hover-action-menu:focus-within>.pv-hover-action-menu__actions[data-v-c4eb41f2]{display:flex}.pv-hover-action-menu--top-right>.pv-hover-action-menu__actions[data-v-c4eb41f2]{top:var(--pv-hover-action-menu-offset-block,8px);right:var(--pv-hover-action-menu-offset-inline,8px)}.pv-hover-action-menu--top-left>.pv-hover-action-menu__actions[data-v-c4eb41f2]{top:var(--pv-hover-action-menu-offset-block,8px);left:var(--pv-hover-action-menu-offset-inline,8px)}.pv-hover-action-menu--bottom-right>.pv-hover-action-menu__actions[data-v-c4eb41f2]{right:var(--pv-hover-action-menu-offset-inline,8px);bottom:var(--pv-hover-action-menu-offset-block,8px)}.pv-hover-action-menu--bottom-left>.pv-hover-action-menu__actions[data-v-c4eb41f2]{bottom:var(--pv-hover-action-menu-offset-block,8px);left:var(--pv-hover-action-menu-offset-inline,8px)}.pv-hover-action-menu__button[data-v-c4eb41f2] .pv-icon{margin:0}.pv-hover-action-menu__button[data-v-c4eb41f2],.pv-hover-action-menu__button[data-v-c4eb41f2] button{opacity:.7}.pv-hover-action-menu__button[data-v-c4eb41f2]:hover:not(:disabled),.pv-hover-action-menu__button[data-v-c4eb41f2] button:hover:not(:disabled){opacity:1}
1
+ (function(){try{if(typeof document<`u`){var e=document.createElement(`style`);e.appendChild(document.createTextNode(`.pv-badge-md[data-v-3def68cb]{--inset-size:2px 2px;min-width:20px;min-height:20px;max-height:20px;font-weight:500}.pv-badge-sm[data-v-3def68cb]{--inset-size:0 2px;min-width:16px;min-height:16px;max-height:16px;font-weight:500}.pv-rounded[data-v-3def68cb]{border-radius:50%}.pv-ask-tq-buddy[data-v-79e4818c]{--pv-ask-tq-buddy-gradient-end:#fff;--pv-ask-tq-buddy-gradient-start:#36c5ba;--pv-ask-tq-buddy-solid:#36c5ba;--pv-ask-tq-buddy-eye:#fff;--pv-ask-tq-buddy-eye-fill:var(--pv-ask-tq-buddy-eye);--pv-ask-tq-buddy-eye-visibility:1;width:3rem;height:auto;display:block;overflow:visible}.pv-ask-tq-buddy[data-theme=halloween][data-v-79e4818c]{--pv-ask-tq-buddy-gradient-end:#8f2a04;--pv-ask-tq-buddy-gradient-start:#ff9b2f;--pv-ask-tq-buddy-eye:#ffd36b}.pv-ask-tq-buddy[data-v-79e4818c]:is([data-variant=mono],[data-variant=solid]){--pv-ask-tq-buddy-eye-visibility:0}.pv-ask-tq-buddy[data-variant=outline][data-v-79e4818c]{--pv-ask-tq-buddy-eye-fill:currentColor}.pv-ask-tq-buddy[data-size=xs][data-v-79e4818c]{width:1.25rem}.pv-ask-tq-buddy[data-size=sm][data-v-79e4818c]{width:2rem}.pv-ask-tq-buddy[data-size=md][data-v-79e4818c]{width:3rem}.pv-ask-tq-buddy[data-size=lg][data-v-79e4818c]{width:4rem}.pv-ask-tq-buddy[data-size=xl][data-v-79e4818c]{width:6rem}.pv-ask-tq-buddy__gradient-start[data-v-79e4818c]{stop-color:var(--pv-ask-tq-buddy-gradient-start)}.pv-ask-tq-buddy__gradient-end[data-v-79e4818c]{stop-color:var(--pv-ask-tq-buddy-gradient-end)}.pv-ask-tq-buddy__sheen-stop[data-v-79e4818c]{stop-color:var(--sheen-color,#fff)}.pv-ask-tq-buddy__sheen-peak[data-v-79e4818c]{stop-opacity:var(--sheen-opacity,.8)}.pv-ask-tq-buddy__candle-stop[data-v-79e4818c]{stop-color:var(--pv-ask-tq-buddy-eye)}.pv-ask-tq-buddy__body[data-v-79e4818c]{fill:var(--v0f759806)}.pv-ask-tq-buddy[data-variant=mono] .pv-ask-tq-buddy__body[data-v-79e4818c]{fill:currentColor}.pv-ask-tq-buddy[data-variant=solid] .pv-ask-tq-buddy__body[data-v-79e4818c]{fill:var(--pv-ask-tq-buddy-solid)}.pv-ask-tq-buddy[data-variant=outline] .pv-ask-tq-buddy__body[data-v-79e4818c]{fill:none;stroke:currentColor}.pv-ask-tq-buddy__eye-cutout[data-v-79e4818c]{--pv-ask-tq-buddy-eye-fill:#000;--pv-ask-tq-buddy-eye-visibility:1}.pv-ask-tq-buddy__ring[data-v-79e4818c]{stroke:var(--pv-ask-tq-buddy-gradient-start)}[class*=pv-status]{&[data-v-e4edde71]:before,&[data-v-e4edde71]:after{margin-inline-end:0}}.pv-popover-list[data-v-fe6e9c6a]{font-size:14px}.pv-popover-pinned-sections[data-v-fe6e9c6a]{flex-direction:column;display:flex;overflow:hidden}.pv-popover-pinned-sections .pv-popover-list[data-v-fe6e9c6a]{overflow-y:auto}.pv-select[data-v-a13ab0e8]{padding-top:4px;padding-bottom:4px}summary[data-v-dfa0b416]{background-image:none;padding-right:2px}.pv-input-search[data-v-9e0c84d9]{display:block}.pv-select-button-trigger-content[data-v-da9865ad]{min-width:0}.pv-select-button-trigger[data-v-da9865ad]{height:1.5rem;padding-block:0}.pv-select-button-trigger.pv-button-large[data-v-da9865ad]{height:2rem}.pv-select-button-trigger-label[data-v-da9865ad]{flex:auto;min-width:0}.pv-action-button-reveal-on-hover{opacity:0;transition:opacity .2s}.pv-label:hover .pv-action-button-reveal-on-hover{opacity:1}.pv-menu-popover[data-v-951d1d02]{z-index:50}.pv-popover-list>li[data-v-951d1d02]:last-child>.pv-label{margin-block-end:0}[data-v-951d1d02] .pv-menu-nested:after{content:"";border-top:1.5px solid;border-right:1.5px solid;flex-shrink:0;width:.4rem;height:.4rem;margin-left:auto;margin-right:.2rem;transform:rotate(45deg)}.dots-button[data-v-92e78cd3]{background-color:#0000}.input-icon-position{pointer-events:none;position:absolute;top:8px;left:12px}.pv-insight-button[data-v-c1185c07]{position:absolute;top:.5rem;right:.5rem}.expandable-content[data-v-fc5fc7e0]{border-radius:.5rem}.expandable-content .pv-line-clamp[data-v-fc5fc7e0]{transition:max-height .3s ease-in-out}.pv-filter-panel-option-row[data-v-b85834dc]{--flex-align:center;--flex-gap:.5rem;cursor:pointer;min-width:0;padding-left:calc(var(--pv-filter-panel-option-row-depth) * 1.25rem)}.pv-filter-panel-option-row-content[data-v-b85834dc]{--flex-align:stretch;--flex-gap:0;flex:auto;min-width:0}.pv-filter-panel-option-row-disabled[data-v-b85834dc]{cursor:not-allowed;opacity:.6}.pv-filter-panel-option-row-line[data-v-b85834dc]{--lines:1}.pv-filter-panel-option-row-right[data-v-b85834dc]{text-align:right;flex:none}.pv-filter-panel-option-row-focus-action[data-v-b85834dc]{opacity:0;pointer-events:none}.pv-filter-panel-option-row:hover .pv-filter-panel-option-row-focus-action[data-v-b85834dc],.pv-filter-panel-option-row:focus-within .pv-filter-panel-option-row-focus-action[data-v-b85834dc],.pv-filter-panel-option-row-focus-action-always-visible[data-v-b85834dc]{opacity:1;pointer-events:auto}summary[data-v-2ca422a9]{background-image:none;padding-right:2px}.suggested-title-label[data-v-2ca422a9]{text-underline-offset:2px;text-decoration:underline dotted}.pv-filter-panel-refresh-status[data-v-2ca422a9]{margin-left:auto;display:inline-flex}.pv-filter-modal-rail[data-v-fb919d6a]{--flex-align:stretch;flex:0 0 180px;padding-inline-end:1rem;overflow-y:auto}.pv-filter-modal-pane[data-v-fb919d6a]{flex:auto;min-width:0;min-height:0;padding-inline-start:1rem}.pv-filter-modal-options[data-v-fb919d6a]{min-height:360px;max-height:360px;overflow-y:auto}.pv-filter-modal-pane-actions[data-v-fb919d6a]{margin-top:auto;padding-top:.5rem}.pv-hover-action-menu[data-v-c4eb41f2]{position:relative}.pv-hover-action-menu__actions[data-v-c4eb41f2]{z-index:1;display:none;position:absolute}.pv-hover-action-menu:hover>.pv-hover-action-menu__actions[data-v-c4eb41f2],.pv-hover-action-menu:focus-within>.pv-hover-action-menu__actions[data-v-c4eb41f2]{display:flex}.pv-hover-action-menu--top-right>.pv-hover-action-menu__actions[data-v-c4eb41f2]{top:var(--pv-hover-action-menu-offset-block,8px);right:var(--pv-hover-action-menu-offset-inline,8px)}.pv-hover-action-menu--top-left>.pv-hover-action-menu__actions[data-v-c4eb41f2]{top:var(--pv-hover-action-menu-offset-block,8px);left:var(--pv-hover-action-menu-offset-inline,8px)}.pv-hover-action-menu--bottom-right>.pv-hover-action-menu__actions[data-v-c4eb41f2]{right:var(--pv-hover-action-menu-offset-inline,8px);bottom:var(--pv-hover-action-menu-offset-block,8px)}.pv-hover-action-menu--bottom-left>.pv-hover-action-menu__actions[data-v-c4eb41f2]{bottom:var(--pv-hover-action-menu-offset-block,8px);left:var(--pv-hover-action-menu-offset-inline,8px)}.pv-hover-action-menu__button[data-v-c4eb41f2] .pv-icon{margin:0}.pv-hover-action-menu__button[data-v-c4eb41f2],.pv-hover-action-menu__button[data-v-c4eb41f2] button{opacity:.7}.pv-hover-action-menu__button[data-v-c4eb41f2]:hover:not(:disabled),.pv-hover-action-menu__button[data-v-c4eb41f2] button:hover:not(:disabled){opacity:1}
2
2
  /*$vite$:1*/`)),document.head.appendChild(e)}}catch(e){console.error(`vite-plugin-css-injected-by-js`,e)}})();import * as e from "vue";
3
- import { Fragment as t, Teleport as n, computed as r, createBlock as i, createCommentVNode as a, createElementBlock as o, createElementVNode as s, createSlots as c, createTextVNode as l, createVNode as u, defineComponent as d, getCurrentInstance as f, getCurrentScope as p, guardReactiveProps as m, inject as h, isRef as g, mergeModels as _, mergeProps as v, nextTick as y, normalizeClass as b, normalizeProps as x, normalizeStyle as S, onBeforeUnmount as C, onBeforeUpdate as w, onMounted as T, onScopeDispose as E, onUnmounted as D, onUpdated as O, openBlock as k, provide as A, ref as j, renderList as M, renderSlot as N, resolveComponent as P, resolveDynamicComponent as F, shallowReactive as I, shallowRef as L, toDisplayString as R, toHandlers as z, toValue as B, unref as V, useAttrs as ee, useCssVars as H, useId as te, useModel as U, useSlots as ne, useTemplateRef as W, vModelCheckbox as re, vModelDynamic as ie, vModelRadio as ae, vModelText as oe, vShow as se, watch as G, watchEffect as ce, withCtx as K, withDirectives as q, withKeys as le, withModifiers as J } from "vue";
4
- import { onClickOutside as Y, onKeyStroke as ue, useDebounceFn as X, useElementBounding as de, useElementHover as fe, useElementSize as Z, useMutationObserver as pe, useResizeObserver as me, useToggle as he, useWindowSize as ge, watchDebounced as _e } from "@vueuse/core";
3
+ import { Fragment as t, Teleport as n, computed as r, createBlock as i, createCommentVNode as a, createElementBlock as o, createElementVNode as s, createSlots as c, createTextVNode as l, createVNode as u, defineComponent as d, getCurrentInstance as f, getCurrentScope as p, guardReactiveProps as m, inject as h, isRef as g, mergeModels as _, mergeProps as v, nextTick as y, normalizeClass as b, normalizeProps as x, normalizeStyle as S, onBeforeUnmount as C, onBeforeUpdate as w, onMounted as T, onScopeDispose as E, onUnmounted as D, onUpdated as O, openBlock as k, provide as A, ref as j, renderList as M, renderSlot as N, resolveComponent as P, resolveDynamicComponent as F, shallowReactive as I, shallowRef as L, toDisplayString as R, toHandlers as z, toValue as B, unref as V, useAttrs as ee, useCssVars as H, useId as te, useModel as U, useSlots as W, useTemplateRef as G, vModelCheckbox as ne, vModelDynamic as re, vModelRadio as ie, vModelText as ae, vShow as oe, watch as K, watchEffect as se, withCtx as q, withDirectives as J, withKeys as ce, withModifiers as Y } from "vue";
4
+ import { onClickOutside as le, onKeyStroke as ue, useDebounceFn as X, useElementBounding as de, useElementHover as fe, useElementSize as Z, useMutationObserver as pe, useResizeObserver as me, useToggle as he, useWindowSize as ge, watchDebounced as _e } from "@vueuse/core";
5
5
  import { useSortable as ve } from "@vueuse/integrations/useSortable.mjs";
6
6
  import { vOnClickOutside as ye } from "@vueuse/components";
7
7
  import be from "primevue/datepicker";
@@ -1095,7 +1095,7 @@ function rr(e, t, { useShadowSlot: n = !0, countWhitespaceTextInDefaultSlot: r =
1095
1095
  return a ? tr(a, t, r) : $n(e, t, r);
1096
1096
  }
1097
1097
  function ir(e, t = {}) {
1098
- let { host: n, vueSlots: i, observe: a = !0, listenSlotChange: o = !0, countWhitespaceTextInDefaultSlot: s = !1 } = t, c = We(), l = i ?? ne(), u = e === "default" || e === "" ? "default" : e, d = () => !!l && !!l[u], f = j(d());
1098
+ let { host: n, vueSlots: i, observe: a = !0, listenSlotChange: o = !0, countWhitespaceTextInDefaultSlot: s = !1 } = t, c = We(), l = i ?? W(), u = e === "default" || e === "" ? "default" : e, d = () => !!l && !!l[u], f = j(d());
1099
1099
  w(() => {
1100
1100
  f.value = d();
1101
1101
  });
@@ -1131,7 +1131,7 @@ function ir(e, t = {}) {
1131
1131
  characterData: !0
1132
1132
  }));
1133
1133
  };
1134
- return T(v), C(g), G(() => V(n), () => {
1134
+ return T(v), C(g), K(() => V(n), () => {
1135
1135
  c.value && v();
1136
1136
  }), {
1137
1137
  present: r(() => c.value ? p.value : f.value),
@@ -1213,7 +1213,7 @@ var ar = /* @__PURE__ */ new Set(), or = (e, t) => {
1213
1213
  root: _,
1214
1214
  floating: x,
1215
1215
  hoverArea: r(() => t.hoverTarget ? C.value : null),
1216
- close: () => t.disableClickOutsideToClose ? !1 : (oe(), !0)
1216
+ close: () => t.disableClickOutsideToClose ? !1 : (ae(), !0)
1217
1217
  }), F = {
1218
1218
  "top-center": "top",
1219
1219
  "bottom-center": "bottom",
@@ -1291,13 +1291,13 @@ var ar = /* @__PURE__ */ new Set(), or = (e, t) => {
1291
1291
  let i = de(b), a = X(() => {
1292
1292
  c.value && ee();
1293
1293
  }, 5);
1294
- G([
1294
+ K([
1295
1295
  i.top,
1296
1296
  i.left,
1297
1297
  i.width,
1298
1298
  i.height
1299
- ], a), Y(_, () => {
1300
- t.disableClickOutsideToClose || ae(!1);
1299
+ ], a), le(_, () => {
1300
+ t.disableClickOutsideToClose || ie(!1);
1301
1301
  }, { ignore: r(() => [
1302
1302
  x.value,
1303
1303
  ".p-datepicker-panel",
@@ -1307,28 +1307,28 @@ var ar = /* @__PURE__ */ new Set(), or = (e, t) => {
1307
1307
  let te = r(() => ({
1308
1308
  ...H(),
1309
1309
  zIndex: t.zIndex
1310
- })), ne, W, re = () => {
1311
- ne && clearTimeout(ne), ne = void 0;
1312
- }, ie = () => {
1310
+ })), W, G, ne = () => {
1313
1311
  W && clearTimeout(W), W = void 0;
1314
- }, ae = (e) => {
1315
- re(), ie(), !(e && (t.disabled || !m.value)) && (e && t.delay > 0 && (t.showOnHover || !h) ? ne = setTimeout(() => {
1316
- c.value = !0, ne = void 0;
1312
+ }, re = () => {
1313
+ G && clearTimeout(G), G = void 0;
1314
+ }, ie = (e) => {
1315
+ ne(), re(), !(e && (t.disabled || !m.value)) && (e && t.delay > 0 && (t.showOnHover || !h) ? W = setTimeout(() => {
1316
+ c.value = !0, W = void 0;
1317
1317
  }, t.delay) : c.value = e);
1318
- }, oe = () => {
1319
- re(), ie(), c.value = !1;
1320
- }, ce = () => {
1318
+ }, ae = () => {
1319
+ ne(), re(), c.value = !1;
1320
+ }, se = () => {
1321
1321
  let e = x.value;
1322
1322
  !e || !g.value || !m.value || (c.value ? e.showPopover() : e.hidePopover());
1323
- }, K = r(() => !!c.value && (E.value || A.value)), le = r(() => !t.showOnHover || M.value ? !1 : t.disableInteractive ? w.value || O.value : w.value || O.value || K.value);
1324
- G([
1323
+ }, q = r(() => !!c.value && (E.value || A.value)), ce = r(() => !t.showOnHover || M.value ? !1 : t.disableInteractive ? w.value || O.value : w.value || O.value || q.value);
1324
+ K([
1325
1325
  w,
1326
1326
  O,
1327
1327
  A
1328
1328
  ], ([e, t, n]) => {
1329
1329
  !e && !t && !n && (M.value = !1);
1330
1330
  });
1331
- let J = ({ target: e }) => {
1331
+ let Y = ({ target: e }) => {
1332
1332
  O.value = !t.disabled && e instanceof HTMLElement && e.matches(":focus-visible");
1333
1333
  }, ue = ({ target: e }) => {
1334
1334
  A.value = !t.disabled && e instanceof HTMLElement && e.matches(":focus-visible");
@@ -1337,48 +1337,48 @@ var ar = /* @__PURE__ */ new Set(), or = (e, t) => {
1337
1337
  }, pe = () => {
1338
1338
  if (t.showOnHover) {
1339
1339
  if (t.disableClickOutsideToClose) return;
1340
- if (!c.value && !ne && t.enableClickToggle) {
1341
- M.value = !1, ae(!0);
1340
+ if (!c.value && !W && t.enableClickToggle) {
1341
+ M.value = !1, ie(!0);
1342
1342
  return;
1343
1343
  }
1344
- M.value = !0, oe();
1344
+ M.value = !0, ae();
1345
1345
  return;
1346
1346
  }
1347
- ae(ne ? !1 : !c.value);
1347
+ ie(W ? !1 : !c.value);
1348
1348
  }, me = (e) => {
1349
1349
  let t = e.newState === "open";
1350
1350
  c.value !== t && (c.value = t);
1351
1351
  }, he = (e) => {
1352
- h && L.value === "manual" && e.key === "Escape" && c.value && (e.preventDefault(), e.stopPropagation(), ae(!1));
1352
+ h && L.value === "manual" && e.key === "Escape" && c.value && (e.preventDefault(), e.stopPropagation(), ie(!1));
1353
1353
  };
1354
- return G(c, async (e) => {
1354
+ return K(c, async (e) => {
1355
1355
  if (t.showOnHover && t.enableGroupSync && P(!!e), !h) {
1356
1356
  e && ee();
1357
1357
  return;
1358
1358
  }
1359
- await y(), ce();
1360
- }), G(le, (e) => {
1359
+ await y(), se();
1360
+ }), K(ce, (e) => {
1361
1361
  if (t.showOnHover) {
1362
1362
  if (e) {
1363
- ae(!0);
1363
+ ie(!0);
1364
1364
  return;
1365
1365
  }
1366
- re(), t.closeDelay > 0 ? (ie(), W = setTimeout(() => {
1367
- W = void 0, le.value || ae(!1);
1368
- }, t.closeDelay)) : ae(!1);
1366
+ ne(), t.closeDelay > 0 ? (re(), G = setTimeout(() => {
1367
+ G = void 0, ce.value || ie(!1);
1368
+ }, t.closeDelay)) : ie(!1);
1369
1369
  }
1370
- }), G(m, (e) => {
1371
- e ? h && c.value && y(ce) : oe();
1370
+ }), K(m, (e) => {
1371
+ e ? h && c.value && y(se) : ae();
1372
1372
  }), T(() => {
1373
- b.value = v.value, g.value = !0, c.value && y(() => h ? ce() : ee());
1373
+ b.value = v.value, g.value = !0, c.value && y(() => h ? se() : ee());
1374
1374
  }), D(() => {
1375
- re(), ie();
1376
- }), G(() => t.disabled, (e) => {
1375
+ ne(), re();
1376
+ }), K(() => t.disabled, (e) => {
1377
1377
  if (!e) {
1378
- le.value && ae(!0);
1378
+ ce.value && ie(!0);
1379
1379
  return;
1380
1380
  }
1381
- O.value &&= !1, A.value &&= !1, ae(!1);
1381
+ O.value &&= !1, A.value &&= !1, ie(!1);
1382
1382
  }), (r, l) => (k(), o("div", {
1383
1383
  ref_key: "root",
1384
1384
  ref: _,
@@ -1389,7 +1389,7 @@ var ar = /* @__PURE__ */ new Set(), or = (e, t) => {
1389
1389
  ref: v,
1390
1390
  style: S(z.value),
1391
1391
  onClick: pe,
1392
- onFocusin: J,
1392
+ onFocusin: Y,
1393
1393
  onFocusout: l[0] ||= (e) => O.value = !1
1394
1394
  }, [N(r.$slots, "trigger")], 36), g.value && V(h) && m.value ? (k(), o("div", {
1395
1395
  key: 0,
@@ -1405,14 +1405,14 @@ var ar = /* @__PURE__ */ new Set(), or = (e, t) => {
1405
1405
  key: 1,
1406
1406
  to: e.teleportLocation,
1407
1407
  disabled: !t.useTeleport || e.disabled
1408
- }, [q(s("div", {
1408
+ }, [J(s("div", {
1409
1409
  ref_key: "floating",
1410
1410
  ref: x,
1411
1411
  class: "pv-floating",
1412
1412
  style: S(te.value),
1413
1413
  onFocusin: ue,
1414
1414
  onFocusout: Z
1415
- }, [N(r.$slots, "content")], 36), [[se, c.value]])], 8, ["to", "disabled"])) : a("", !0)], 36));
1415
+ }, [N(r.$slots, "content")], 36), [[oe, c.value]])], 8, ["to", "disabled"])) : a("", !0)], 36));
1416
1416
  }
1417
1417
  }), dr = ["data-variant"], fr = /* @__PURE__ */ d({
1418
1418
  __name: "PvTooltipV2",
@@ -1449,11 +1449,11 @@ var ar = /* @__PURE__ */ new Set(), or = (e, t) => {
1449
1449
  setup(e) {
1450
1450
  let t = e, n = f(), a = typeof HTMLElement < "u" && n && "ce" in n && n.ce instanceof HTMLElement ? n.ce : void 0, { hasVueSlot: o, hasNativeSlot: u } = ir("content", { host: a }), d = r(() => a ? u.value : o.value), p = r(() => !!t.description || d.value);
1451
1451
  return (t, n) => (k(), i(ur, x(m(t.$props)), c({
1452
- trigger: K(() => [N(t.$slots, "trigger", {}, () => [s("p", null, R(e.label), 1)])]),
1452
+ trigger: q(() => [N(t.$slots, "trigger", {}, () => [s("p", null, R(e.label), 1)])]),
1453
1453
  _: 2
1454
1454
  }, [p.value ? {
1455
1455
  name: "content",
1456
- fn: K(() => [s("div", {
1456
+ fn: q(() => [s("div", {
1457
1457
  class: b(["pv-tooltip-v2-content", { "pv-tooltip-v2-content-small": e.size === "sm" }]),
1458
1458
  role: "tooltip",
1459
1459
  "data-variant": e.variant
@@ -1492,13 +1492,13 @@ var ar = /* @__PURE__ */ new Set(), or = (e, t) => {
1492
1492
  "disable-interactive": !0,
1493
1493
  "use-teleport": !0
1494
1494
  }, c({
1495
- trigger: K(() => [s("button", {
1495
+ trigger: q(() => [s("button", {
1496
1496
  type: "button",
1497
1497
  class: b(["pv-button-link-tertiary", { "pv-action-button-reveal-on-hover": !e.alwaysShow }]),
1498
1498
  style: { "--button-icon-only-padding": "0px" },
1499
1499
  "aria-label": e.tooltipText,
1500
1500
  disabled: e.disabled,
1501
- onClick: J(o, ["stop"])
1501
+ onClick: Y(o, ["stop"])
1502
1502
  }, [u(Q, {
1503
1503
  name: e.icon,
1504
1504
  size: a[e.size]
@@ -1506,7 +1506,7 @@ var ar = /* @__PURE__ */ new Set(), or = (e, t) => {
1506
1506
  _: 2
1507
1507
  }, [e.tooltipText ? {
1508
1508
  name: "content",
1509
- fn: K(() => [l(R(e.tooltipText), 1)]),
1509
+ fn: q(() => [l(R(e.tooltipText), 1)]),
1510
1510
  key: "0"
1511
1511
  } : void 0]), 1032, ["position"]));
1512
1512
  }
@@ -1561,7 +1561,7 @@ function hr(e, { onBoundsChange: t, shouldTrackPointer: n }) {
1561
1561
  passive: !0
1562
1562
  })) : (d.removeEventListener("pointermove", S), d.removeEventListener("scroll", b, !0)));
1563
1563
  }
1564
- return G(() => n({
1564
+ return K(() => n({
1565
1565
  finePointer: i.value,
1566
1566
  reducedMotion: o.value
1567
1567
  }), D, { flush: "post" }), T(() => {
@@ -1598,6 +1598,7 @@ function hr(e, { onBoundsChange: t, shouldTrackPointer: n }) {
1598
1598
  //#endregion
1599
1599
  //#region src/components/base/AskTqBuddy/AskTqBuddy.vue?vue&type=script&setup=true&lang.ts
1600
1600
  var gr = [
1601
+ "data-calm",
1601
1602
  "data-emote",
1602
1603
  "data-size",
1603
1604
  "data-theme",
@@ -1652,13 +1653,17 @@ var Ir = /* @__PURE__ */ Ye(/* @__PURE__ */ d({
1652
1653
  type: Boolean,
1653
1654
  default: !1
1654
1655
  },
1656
+ calm: {
1657
+ type: Boolean,
1658
+ default: !1
1659
+ },
1655
1660
  emote: { default: "idle" },
1656
1661
  size: { default: "md" },
1657
1662
  theme: { default: "default" },
1658
1663
  variant: { default: "default" }
1659
1664
  },
1660
1665
  setup(e) {
1661
- H((e) => ({ v7dbacdfc: `url(#${_e})` }));
1666
+ H((e) => ({ v0f759806: `url(#${Se})` }));
1662
1667
  let n = e, i = 191 / 2, c = 191 / 14, l = 191 + c * 2, u = `${-c} ${-c} ${l} ${l}`, d = {
1663
1668
  height: 391,
1664
1669
  width: 391,
@@ -1729,7 +1734,7 @@ var Ir = /* @__PURE__ */ Ye(/* @__PURE__ */ d({
1729
1734
  gy: [340, .78],
1730
1735
  happy: [220, .75],
1731
1736
  sheen: [14, 1]
1732
- }, C = {
1737
+ }, C = [12, 18], w = [6, 12], E = [2, 3.5], D = .17, O = {
1733
1738
  boo: {
1734
1739
  gx: 0,
1735
1740
  gy: -26,
@@ -1800,67 +1805,70 @@ var Ir = /* @__PURE__ */ Ye(/* @__PURE__ */ d({
1800
1805
  rightHeight: 34,
1801
1806
  sheen: 1
1802
1807
  }
1803
- }, w = r(() => n.theme === "halloween"), E = r(() => n.variant === "mono" || n.variant === "solid"), D = r(() => n.variant === "default"), O = r(() => w.value ? m.halloween : m[n.variant]), A = r(() => w.value ? .8 : .7), M = r(() => Math.max(.01, O.value.eyeRadius * 2)), N = r(() => 10 * O.value.eyeWidth / 19), P = n.animated, F = n.emote, I = n.theme === "halloween", L = n.variant === "default", R = n.variant, z = I ? m.halloween : m[R], B = I ? .8 : 1;
1804
- function V() {
1805
- P = n.animated, F = n.emote, I = n.theme === "halloween", L = n.variant === "default", R = n.variant, z = I ? m.halloween : m[R], B = I ? .8 : 1;
1808
+ }, A = r(() => n.theme === "halloween"), M = r(() => n.variant === "mono" || n.variant === "solid"), N = r(() => n.variant === "default"), P = r(() => A.value ? m.halloween : m[n.variant]), F = r(() => A.value ? .8 : .7), I = r(() => Math.max(.01, P.value.eyeRadius * 2)), L = r(() => 10 * P.value.eyeWidth / 19), R = n.animated, z = n.calm, B = n.emote, V = n.theme === "halloween", ee = n.variant === "default", U = n.variant, W = V ? m.halloween : m[U], G = V ? .8 : 1;
1809
+ function ne() {
1810
+ R = n.animated, z = n.calm, B = n.emote, V = n.theme === "halloween", ee = n.variant === "default", U = n.variant, W = V ? m.halloween : m[U], G = V ? .8 : 1;
1806
1811
  }
1807
- let ee = j(), U = j(), ne = j(), W = j(), re = j(), ie = j(), ae = j(), oe = j(), se = j(), ce = j(), K = j(), q = j(), le = j(), J = j(), Y = hr(ee, {
1812
+ let re = j(), ie = j(), ae = j(), oe = j(), se = j(), q = j(), J = j(), ce = j(), Y = j(), le = j(), ue = j(), X = j(), de = j(), fe = j(), Z = hr(re, {
1808
1813
  onBoundsChange: (e) => {
1809
- e && ht() && mt();
1814
+ e && Ct() && St();
1810
1815
  },
1811
1816
  shouldTrackPointer: ({ finePointer: e, reducedMotion: t }) => n.animated && n.emote === "curious" && e && !t
1812
- }), { bounds: ue, pointer: X } = Y, de = /* @__PURE__ */ new WeakMap();
1813
- function fe(e) {
1814
- let t = de.get(e);
1815
- return t || (t = Object.create(null), de.set(e, t)), t;
1817
+ }), { bounds: pe, pointer: me } = Z, he = /* @__PURE__ */ new WeakMap();
1818
+ function ge(e) {
1819
+ let t = he.get(e);
1820
+ return t || (t = Object.create(null), he.set(e, t)), t;
1816
1821
  }
1817
- function Z(e, t, n) {
1818
- let r = fe(e);
1822
+ function _e(e, t, n) {
1823
+ let r = ge(e);
1819
1824
  r[t] !== n && (e.setAttribute(t, n), r[t] = n);
1820
1825
  }
1821
- function pe(e, t) {
1822
- let n = fe(e);
1826
+ function ve(e, t) {
1827
+ let n = ge(e);
1823
1828
  n[t] !== null && (e.hasAttribute(t) && e.removeAttribute(t), n[t] = null);
1824
1829
  }
1825
- function me(e, t) {
1826
- let n = fe(e);
1830
+ function ye(e, t) {
1831
+ let n = ge(e);
1827
1832
  n["style.opacity"] !== t && (e.style.opacity = t, n["style.opacity"] = t);
1828
1833
  }
1829
- function he(e) {
1830
- let t = fe(e);
1834
+ function be(e) {
1835
+ let t = ge(e);
1831
1836
  t["style.opacity"] !== null && (e.style.removeProperty("opacity"), t["style.opacity"] = null);
1832
1837
  }
1833
- let ge = `pv-ask-tq-buddy-${te().replaceAll(":", "")}`, _e = `${ge}-gradient`, ve = `${ge}-sheen`, ye = `${ge}-clip`, be = `${ge}-noise`, xe = `${ge}-glow`, Se = `${ge}-candle`, Ce = `${ge}-mask`, we = `${ge}-eyes`, Te = { ...y }, Ee = Object.fromEntries(Object.keys(y).map((e) => [e, 0])), De = {
1838
+ let xe = `pv-ask-tq-buddy-${te().replaceAll(":", "")}`, Se = `${xe}-gradient`, Ce = `${xe}-sheen`, we = `${xe}-clip`, Te = `${xe}-noise`, Ee = `${xe}-glow`, De = `${xe}-candle`, Oe = `${xe}-mask`, ke = `${xe}-eyes`, Ae = { ...y }, je = Object.fromEntries(Object.keys(y).map((e) => [e, 0])), Me = {
1834
1839
  next: .8,
1835
1840
  x: 0,
1836
1841
  y: 0
1837
- }, Oe = [], ke = 0, Ae = 0, je = 0, Me = { ...g }, Ne = 0, Pe, Fe = 0, Ie = -Infinity, Le = Ve(.8, 3), Re = !1, ze = !1, Be = !1;
1838
- function Ve(e, t) {
1842
+ }, Ne = [], Pe = 0, Fe = 0, Ie = 0, Le = { ...g }, Re = 0, ze, Be = 0, Ve = -Infinity, He = Q(), Ue = 1, We = !1, Ge = !1, Ke = !1;
1843
+ function qe(e, t) {
1839
1844
  return e + Math.random() * (t - e);
1840
1845
  }
1841
- function He(e, t, n) {
1846
+ function Q() {
1847
+ return n.calm ? qe(...w) : qe(.8, 3);
1848
+ }
1849
+ function Je(e, t, n) {
1842
1850
  return Math.max(t, Math.min(n, e));
1843
1851
  }
1844
- function Ue(e) {
1852
+ function Ye(e) {
1845
1853
  let t = 1.9;
1846
1854
  return 1 + (t + 1) * (e - 1) ** 3 + t * (e - 1) ** 2;
1847
1855
  }
1848
- function We() {
1849
- return ue.width > 0 ? l / (ue.width * ue.devicePixelRatio) : 0;
1856
+ function Xe() {
1857
+ return pe.width > 0 ? l / (pe.width * pe.devicePixelRatio) : 0;
1850
1858
  }
1851
- function Ge(e, t) {
1859
+ function Ze(e, t) {
1852
1860
  return Math.round((e + c) / t) * t - c;
1853
1861
  }
1854
- function Ke(e, t, n) {
1855
- let r = Ge(e, n);
1862
+ function Qe(e, t, n) {
1863
+ let r = Ze(e, n);
1856
1864
  return {
1857
- length: Math.max(r + n, Ge(e + t, n)) - r,
1865
+ length: Math.max(n, Math.round(t / n) * n),
1858
1866
  start: r
1859
1867
  };
1860
1868
  }
1861
- function qe(e, t) {
1869
+ function $(e, t) {
1862
1870
  if (t <= 0) return e;
1863
- let n = Ke(e.x, e.width, t), r = Ke(e.y, e.height, t);
1871
+ let n = Qe(e.x, e.width, t), r = Qe(e.y, e.height, t);
1864
1872
  return {
1865
1873
  height: r.length,
1866
1874
  width: n.length,
@@ -1868,7 +1876,7 @@ var Ir = /* @__PURE__ */ Ye(/* @__PURE__ */ d({
1868
1876
  y: r.start
1869
1877
  };
1870
1878
  }
1871
- function Q({ height: e, width: t, x: n, y: r }, i) {
1879
+ function $e({ height: e, width: t, x: n, y: r }, i) {
1872
1880
  return {
1873
1881
  height: e - i * 2,
1874
1882
  width: t - i * 2,
@@ -1876,8 +1884,8 @@ var Ir = /* @__PURE__ */ Ye(/* @__PURE__ */ d({
1876
1884
  y: r + i
1877
1885
  };
1878
1886
  }
1879
- function Je(e, t, n, r) {
1880
- let a = e * Math.PI / 180, o = Math.cos(a), s = Math.sin(a), [c, l, u, d, f, p] = Ye([
1887
+ function et(e, t, n, r) {
1888
+ let a = e * Math.PI / 180, o = Math.cos(a), s = Math.sin(a), [c, l, u, d, f, p] = tt([
1881
1889
  o,
1882
1890
  s,
1883
1891
  -s,
@@ -1901,7 +1909,7 @@ var Ir = /* @__PURE__ */ Ye(/* @__PURE__ */ d({
1901
1909
  p + r
1902
1910
  ];
1903
1911
  }
1904
- function Ye([e, t, n, r, i, a], [o, s, c, l, u, d]) {
1912
+ function tt([e, t, n, r, i, a], [o, s, c, l, u, d]) {
1905
1913
  return [
1906
1914
  e * o + n * s,
1907
1915
  t * o + r * s,
@@ -1911,14 +1919,14 @@ var Ir = /* @__PURE__ */ Ye(/* @__PURE__ */ d({
1911
1919
  t * u + r * d + a
1912
1920
  ];
1913
1921
  }
1914
- function Xe([e, t, n, r, i, a], o, s) {
1922
+ function nt([e, t, n, r, i, a], o, s) {
1915
1923
  return `${(e * o + n * s + i).toFixed(3)} ${(t * o + r * s + a).toFixed(3)}`;
1916
1924
  }
1917
- function Ze([e, t, n, r, i, a]) {
1925
+ function rt([e, t, n, r, i, a]) {
1918
1926
  return `matrix(${e.toFixed(5)} ${t.toFixed(5)} ${n.toFixed(5)} ${r.toFixed(5)} ${i.toFixed(3)} ${a.toFixed(3)})`;
1919
1927
  }
1920
- function Qe(e, { height: t, width: n, x: r, y: i }, a) {
1921
- let o = r + n, s = i + t, c = He(a, 0, Math.min(n, t) / 2), l = c * .4477152502, u = (t, n) => Xe(e, t, n);
1928
+ function it(e, { height: t, width: n, x: r, y: i }, a) {
1929
+ let o = r + n, s = i + t, c = Je(a, 0, Math.min(n, t) / 2), l = c * .4477152502, u = (t, n) => nt(e, t, n);
1922
1930
  return [
1923
1931
  `M${u(r + c, i)}`,
1924
1932
  `L${u(o - c, i)}`,
@@ -1931,7 +1939,7 @@ var Ir = /* @__PURE__ */ Ye(/* @__PURE__ */ d({
1931
1939
  `C${u(r, i + l)} ${u(r + l, i)} ${u(r + c, i)}Z`
1932
1940
  ].join(" ");
1933
1941
  }
1934
- function $() {
1942
+ function at() {
1935
1943
  return {
1936
1944
  bodyY: 0,
1937
1945
  leftY: 0,
@@ -1942,77 +1950,90 @@ var Ir = /* @__PURE__ */ Ye(/* @__PURE__ */ d({
1942
1950
  scaleY: 0
1943
1951
  };
1944
1952
  }
1945
- let $e = { ...y }, et = $();
1946
- function tt() {
1947
- et.bodyY = 0, et.leftY = 0, et.rightY = 0, et.rotation = 0, et.scale = 1, et.scaleX = 0, et.scaleY = 0;
1953
+ let ot = { ...y }, st = at();
1954
+ function ct() {
1955
+ st.bodyY = 0, st.leftY = 0, st.rightY = 0, st.rotation = 0, st.scale = 1, st.scaleX = 0, st.scaleY = 0;
1948
1956
  }
1949
- function nt(e = "both", t = .17, n = 0) {
1950
- Oe.push({
1957
+ function lt(e = "both", t = D, n = 0) {
1958
+ Ne.push({
1951
1959
  duration: t,
1952
1960
  side: e,
1953
- start: ke + n
1961
+ start: Pe + n
1954
1962
  });
1955
1963
  }
1956
- function rt(e, t) {
1957
- ke <= Le || (nt(), Math.random() < .22 && nt("both", .17, .28), Le = ke + Ve(e, t));
1964
+ function ut(e, t) {
1965
+ if (!(Pe <= He)) {
1966
+ if (z) {
1967
+ lt("both", D / Ue), He = Pe + qe(...C);
1968
+ return;
1969
+ }
1970
+ lt(), Math.random() < .22 && lt("both", D, .28), He = Pe + qe(e, t);
1971
+ }
1972
+ }
1973
+ function dt(e) {
1974
+ je.scaleY += .9 * e, je.leftHeight += 150 * e, je.rightHeight += 150 * e;
1958
1975
  }
1959
- function it(e) {
1960
- Ee.scaleY += .9 * e, Ee.leftHeight += 150 * e, Ee.rightHeight += 150 * e;
1976
+ function ft(e) {
1977
+ Ue = .5, Pe > Me.next && (Me.x = 0, Me.y = 0, Me.next = Infinity), Pe > He && (Math.random() < .5 ? lt("both", D / Ue) : (Me.x = qe(-10, 10), Me.y = qe(-6, 5), Me.next = Pe + qe(...E)), He = Pe + qe(...C)), e.gx += Me.x, e.gy += Me.y;
1961
1978
  }
1962
- function at(e, t) {
1963
- if (t.scaleY += .012 * Math.sin(ke * 2.1), ke > De.next) {
1979
+ function pt(e, t) {
1980
+ if (z) {
1981
+ ft(e);
1982
+ return;
1983
+ }
1984
+ if (t.scaleY += .012 * Math.sin(Pe * 2.1), Pe > Me.next) {
1964
1985
  let e = Math.random() < .35;
1965
- De.x = e ? 0 : Ve(-14, 14), De.y = e ? 0 : Ve(-9, 7), De.next = ke + Ve(1.6, 3.8);
1986
+ Me.x = e ? 0 : qe(-14, 14), Me.y = e ? 0 : qe(-9, 7), Me.next = Pe + qe(1.6, 3.8);
1966
1987
  }
1967
- e.gx += De.x, e.gy += De.y, rt(2.5, 5);
1988
+ e.gx += Me.x, e.gy += Me.y, ut(2.5, 5);
1968
1989
  }
1969
- function ot(e, t, n) {
1970
- if (!Y.finePointer.value || n - X.lastMoved > 2.5) {
1971
- at(e, t);
1990
+ function mt(e, t, n) {
1991
+ if (!Z.finePointer.value || n - me.lastMoved > 2.5) {
1992
+ pt(e, t);
1972
1993
  return;
1973
1994
  }
1974
- let r = Math.max(ue.width, 80), i = (X.x - (ue.left + ue.width / 2)) / r, a = (X.y - (ue.top + ue.height / 2)) / r;
1975
- e.gx = 36 * Math.tanh(i * 1.3), e.gy = 46 * Math.tanh(a * 1.3), e.rotation = 5 * Math.tanh(i * .8), Math.abs(i) < .3 && Math.abs(a) < .3 && (e.leftHeight = e.rightHeight = 50, e.leftWidth = e.rightWidth = 21), t.scaleY += .01 * Math.sin(ke * 2.1), rt(2.5, 5);
1995
+ let r = Math.max(pe.width, 80), i = (me.x - (pe.left + pe.width / 2)) / r, a = (me.y - (pe.top + pe.height / 2)) / r;
1996
+ e.gx = 36 * Math.tanh(i * 1.3), e.gy = 46 * Math.tanh(a * 1.3), e.rotation = 5 * Math.tanh(i * .8), Math.abs(i) < .3 && Math.abs(a) < .3 && (e.leftHeight = e.rightHeight = 50, e.leftWidth = e.rightWidth = 21), z ? Ue = .75 : t.scaleY += .01 * Math.sin(Pe * 2.1), ut(2.5, 5);
1976
1997
  }
1977
- function st(e, t, n, r, i) {
1998
+ function ht(e, t, n, r, i) {
1978
1999
  switch (e) {
1979
2000
  case "curious":
1980
- ot(t, n, i);
2001
+ mt(t, n, i);
1981
2002
  break;
1982
2003
  case "greeting": {
1983
- let e = 4.4, i = ke % e;
1984
- i < .75 && (n.scale = Math.max(0, Ue(i / .75))), i > e - .35 && (n.scale = 1 - ((i - (e - .35)) / .35) ** 2), i < .9 ? (t.gx = 0, t.gy = -20) : i < 1.45 ? (t.gx = -30, t.gy = -26) : i < 2 ? (t.gx = 32, t.gy = -26) : (t.gx = 4, t.gy = -20), i > 2.15 && i - r <= 2.15 && nt("right", .38), i > 2.6 && i < 3.5 && (t.happy = 1, n.rotation += 4 * Math.sin((i - 2.6) * 14) * (1 - (i - 2.6) / .9));
2004
+ let e = 4.4, i = Pe % e;
2005
+ i < .75 && (n.scale = Math.max(0, Ye(i / .75))), i > e - .35 && (n.scale = 1 - ((i - (e - .35)) / .35) ** 2), i < .9 ? (t.gx = 0, t.gy = -20) : i < 1.45 ? (t.gx = -30, t.gy = -26) : i < 2 ? (t.gx = 32, t.gy = -26) : (t.gx = 4, t.gy = -20), i > 2.15 && i - r <= 2.15 && lt("right", .38), i > 2.6 && i < 3.5 && (t.happy = 1, n.rotation += 4 * Math.sin((i - 2.6) * 14) * (1 - (i - 2.6) / .9));
1985
2006
  break;
1986
2007
  }
1987
2008
  case "listening":
1988
- Object.assign(t, C.listening, {
1989
- rotation: 3 * Math.sin(ke * .8),
2009
+ Object.assign(t, O.listening, {
2010
+ rotation: 3 * Math.sin(Pe * .8),
1990
2011
  scaleX: 1.02,
1991
2012
  scaleY: 1.02
1992
- }), n.bodyY -= 2 * Math.sin(ke * 2.4), Math.random() < r * 5 && it(.6), rt(2.5, 4.5);
2013
+ }), n.bodyY -= 2 * Math.sin(Pe * 2.4), Math.random() < r * 5 && dt(.6), ut(2.5, 4.5);
1993
2014
  break;
1994
2015
  case "thinking":
1995
- Object.assign(t, C.thinking, {
2016
+ Object.assign(t, O.thinking, {
1996
2017
  gradientSpeed: 80,
1997
- gx: -16 + 16 * Math.sin(ke * 1.3),
1998
- gy: -42 + 3 * Math.sin(ke * 2.1)
1999
- }), n.scaleY += .008 * Math.sin(ke * 2.6), rt(3, 6);
2018
+ gx: -16 + 16 * Math.sin(Pe * 1.3),
2019
+ gy: -42 + 3 * Math.sin(Pe * 2.1)
2020
+ }), n.scaleY += .008 * Math.sin(Pe * 2.6), ut(3, 6);
2000
2021
  break;
2001
2022
  case "working": {
2002
- Object.assign(t, C.working, { gradientSpeed: 200 });
2003
- let e = ke * 6.8, r = Math.max(0, Math.sin(e)), i = Math.max(0, Math.sin(e - Math.PI));
2023
+ Object.assign(t, O.working, { gradientSpeed: 200 });
2024
+ let e = Pe * 6.8, r = Math.max(0, Math.sin(e)), i = Math.max(0, Math.sin(e - Math.PI));
2004
2025
  n.leftY -= 13 * r, n.rightY -= 13 * i, t.leftHeight += 6 * r - 4 * (1 - r), t.rightHeight += 6 * i - 4 * (1 - i);
2005
2026
  break;
2006
2027
  }
2007
2028
  case "talking": {
2008
- Object.assign(t, C.talking);
2009
- let e = He(Math.sin(ke * 1.15) + .6, 0, 1), r = Math.abs(Math.sin(ke * 9.5)) * (.65 + .35 * Math.sin(ke * 3.3)) * e;
2010
- n.leftY -= 5 * r, n.rightY -= 5 * r, t.leftHeight += 7 * r, t.rightHeight += 7 * r, n.scaleY += .022 * r, n.scaleX -= .012 * r, rt(2, 4);
2029
+ Object.assign(t, O.talking);
2030
+ let e = Je(Math.sin(Pe * 1.15) + .6, 0, 1), r = Math.abs(Math.sin(Pe * 9.5)) * (.65 + .35 * Math.sin(Pe * 3.3)) * e;
2031
+ n.leftY -= 5 * r, n.rightY -= 5 * r, t.leftHeight += 7 * r, t.rightHeight += 7 * r, n.scaleY += .022 * r, n.scaleX -= .012 * r, ut(2, 4);
2011
2032
  break;
2012
2033
  }
2013
2034
  case "happy": {
2014
- Object.assign(t, C.happy);
2015
- let e = ke % 1.9;
2035
+ Object.assign(t, O.happy);
2036
+ let e = Pe % 1.9;
2016
2037
  if (e < .9) {
2017
2038
  let t = e % .45 / .45, r = Math.sin(Math.PI * t), i = Math.max(0, 1 - Math.min(t, 1 - t) / .12);
2018
2039
  n.bodyY -= 22 * r, n.scaleY += .05 * r - .07 * i, n.scaleX += -.03 * r + .06 * i, n.rotation += 5 * Math.sin(e * 7);
@@ -2020,16 +2041,16 @@ var Ir = /* @__PURE__ */ Ye(/* @__PURE__ */ d({
2020
2041
  break;
2021
2042
  }
2022
2043
  case "confused": {
2023
- Object.assign(t, C.confused, { gx: -4 + 13 * Math.sign(Math.sin(ke * .9 + .4)) });
2024
- let e = ke % 3.4;
2025
- n.rotation += 6 * Math.sin(e * 28) * Math.exp(-e * 5), n.bodyY -= 3 * Math.exp(-e * 6), rt(2.5, 4);
2044
+ Object.assign(t, O.confused, { gx: -4 + 13 * Math.sign(Math.sin(Pe * .9 + .4)) });
2045
+ let e = Pe % 3.4;
2046
+ n.rotation += 6 * Math.sin(e * 28) * Math.exp(-e * 5), n.bodyY -= 3 * Math.exp(-e * 6), ut(2.5, 4);
2026
2047
  break;
2027
2048
  }
2028
2049
  case "sleeping":
2029
- Object.assign(t, C.sleeping), n.scaleY += .028 * Math.sin(ke * 1.4);
2050
+ Object.assign(t, O.sleeping), n.scaleY += .028 * Math.sin(Pe * 1.4);
2030
2051
  break;
2031
2052
  case "boo": {
2032
- let e = ke % 3.2;
2053
+ let e = Pe % 3.2;
2033
2054
  if (e < 1.1) Object.assign(t, {
2034
2055
  gx: 18 * Math.sin(e * 5),
2035
2056
  gy: -10,
@@ -2040,163 +2061,165 @@ var Ir = /* @__PURE__ */ Ye(/* @__PURE__ */ d({
2040
2061
  });
2041
2062
  else {
2042
2063
  let r = e - 1.1;
2043
- Object.assign(t, C.boo), n.scale = 1 + .22 * Math.exp(-r * 5) * Math.cos(r * 18), n.rotation += 7 * Math.sin(r * 34) * Math.exp(-r * 4), n.bodyY -= 14 * Math.exp(-r * 6);
2064
+ Object.assign(t, O.boo), n.scale = 1 + .22 * Math.exp(-r * 5) * Math.cos(r * 18), n.rotation += 7 * Math.sin(r * 34) * Math.exp(-r * 4), n.bodyY -= 14 * Math.exp(-r * 6);
2044
2065
  }
2045
2066
  break;
2046
2067
  }
2047
- default: at(t, n);
2068
+ default: pt(t, n);
2048
2069
  }
2049
2070
  }
2050
- function ct(e, t = $(), n = !1) {
2051
- if (!U.value || !ne.value || !W.value || !re.value || !ie.value || !ae.value || !oe.value) return;
2052
- let r = t.scale, a = (e.scaleX + t.scaleX) * r, o = (e.scaleY + t.scaleY) * r, s = e.bodyY + t.bodyY, c = e.rotation + t.rotation, l = We(), u = n && c === 0 && a === 1 && o === 1 && s === 0 ? l : 0, d = Je(c, a, o, s), p = Ze(d), { bodyRadius: m, eyeHeight: g, eyeRadius: v, eyeWidth: y, homeX: b, homeY: x, spread: S } = z, C = qe({
2071
+ function gt(e, t = at(), n = !1) {
2072
+ if (!ie.value || !ae.value || !oe.value || !se.value || !q.value || !J.value || !ce.value) return;
2073
+ let r = t.scale, a = (e.scaleX + t.scaleX) * r, o = (e.scaleY + t.scaleY) * r, s = e.bodyY + t.bodyY, c = e.rotation + t.rotation, l = Xe(), u = n && c === 0 && a === 1 && o === 1 && s === 0 ? l : 0, d = et(c, a, o, s), p = rt(d), { bodyRadius: m, eyeHeight: g, eyeRadius: v, eyeWidth: y, homeX: b, homeY: x, spread: S } = W, C = $({
2053
2074
  height: 191,
2054
2075
  width: 191,
2055
2076
  x: 0,
2056
2077
  y: 0
2057
- }, u), w = Qe(d, C, m);
2058
- if (L && Z(ne.value, "d", w), R === "outline") {
2078
+ }, u), w = it(d, C, m);
2079
+ if (ee && _e(ae.value, "d", w), U === "outline") {
2059
2080
  let e = u > 0 ? Math.max(l, Math.round(19 / l) * l) : 19;
2060
- Z(U.value, "d", Qe(d, Q(C, e / 2), Math.max(0, m - e / 2))), Z(U.value, "stroke-width", e.toFixed(3));
2061
- } else Z(U.value, "d", w);
2081
+ _e(ie.value, "d", it(d, $e(C, e / 2), Math.max(0, m - e / 2))), _e(ie.value, "stroke-width", e.toFixed(3));
2082
+ } else _e(ie.value, "d", w);
2062
2083
  let T = 1, E = 1, D = 0;
2063
- for (let e of Oe) {
2064
- let t = (ke - e.start) / e.duration;
2084
+ for (let e of Ne) {
2085
+ let t = (Pe - e.start) / e.duration;
2065
2086
  if (t >= 0 && t <= 1) {
2066
2087
  let n = 1 - .94 * Math.sin(Math.PI * t);
2067
2088
  e.side !== "right" && (T = Math.min(T, n)), e.side !== "left" && (E = Math.min(E, n));
2068
2089
  }
2069
- t <= 1 && (Oe[D++] = e);
2090
+ t <= 1 && (Ne[D++] = e);
2070
2091
  }
2071
- Oe.length = D;
2072
- let O = He(e.happy, 0, 1), k = y / 19, A = g / 43, j = S * e.spread / 73, M = e.gx + b - f, N = e.gy + x - -29, P = i + M - j / 2, F = i + M + j / 2, V = i + N + t.leftY, ee = i + N + t.rightY, H = e.leftWidth * k * (1 + (1 - T) * .25), te = e.rightWidth * k * (1 + (1 - E) * .25), G = e.leftHeight * A * T * (1 - O * .92), le = e.rightHeight * A * E * (1 - O * .92);
2073
- if (I) {
2074
- ut(re.value, d, P, V, H, G), ut(ie.value, d, F, ee, te, le);
2075
- let e = .5 + .5 * (.5 * Math.sin(ke * 11.3) + .3 * Math.sin(ke * 17.9 + 1.3) + .2 * Math.sin(ke * 29.1 + 2.1));
2076
- L && q.value ? me(q.value, (1 - _ * .35 * e).toFixed(3)) : q.value && he(q.value), K.value && (me(K.value, (.85 - _ * .55 * e).toFixed(3)), Z(K.value, "transform", p));
2077
- } else lt(re.value, p, P, V, H, G, v, u), lt(ie.value, p, F, ee, te, le, v, u);
2078
- let J = O.toFixed(3);
2079
- if ((J !== "0.000" || Re) && (dt(ae.value, d, P, V, k, J, O), dt(oe.value, d, F, ee, k, J, O), Re = J !== "0.000"), L && Z(W.value, "gradientTransform", `${p} rotate(${Ae.toFixed(2)} ${i} ${i})`), ce.value) {
2080
- let t = (He(e.sheen, 0, 1) * .6).toFixed(3);
2081
- if ((t !== "0.000" || Be) && (Z(ce.value, "opacity", t), Be = t !== "0.000", Be)) {
2082
- let e = Me.width * 191, t = -46 - e, n = je % Me.duration / Me.duration;
2083
- Z(ce.value, "width", e.toFixed(1)), Z(ce.value, "transform", `${p} translate(${(t + n * (310 - t)).toFixed(1)} 0) skewX(${90 - Me.angle})`);
2092
+ Ne.length = D;
2093
+ let O = Je(e.happy, 0, 1), k = y / 19, A = g / 43, j = S * e.spread / 73, M = e.gx + b - f, N = e.gy + x - -29, P = i + M - j / 2, F = i + M + j / 2, I = i + N + t.leftY, L = i + N + t.rightY, R = e.leftWidth * k * (1 + (1 - T) * .25), z = e.rightWidth * k * (1 + (1 - E) * .25), B = e.leftHeight * A * T * (1 - O * .92), H = e.rightHeight * A * E * (1 - O * .92);
2094
+ if (V) {
2095
+ vt(se.value, d, P, I, R, B), vt(q.value, d, F, L, z, H);
2096
+ let e = .5 + .5 * (.5 * Math.sin(Pe * 11.3) + .3 * Math.sin(Pe * 17.9 + 1.3) + .2 * Math.sin(Pe * 29.1 + 2.1));
2097
+ ee && X.value ? ye(X.value, (1 - _ * .35 * e).toFixed(3)) : X.value && be(X.value), ue.value && (ye(ue.value, (.85 - _ * .55 * e).toFixed(3)), _e(ue.value, "transform", p));
2098
+ } else _t(se.value, p, P, I, R, B, v, u), _t(q.value, p, F, L, z, H, v, u);
2099
+ let te = O.toFixed(3);
2100
+ if ((te !== "0.000" || We) && (yt(J.value, d, P, I, k, te, O), yt(ce.value, d, F, L, k, te, O), We = te !== "0.000"), ee && _e(oe.value, "gradientTransform", `${p} rotate(${Fe.toFixed(2)} ${i} ${i})`), le.value) {
2101
+ let t = (Je(e.sheen, 0, 1) * .6).toFixed(3);
2102
+ if ((t !== "0.000" || Ke) && (_e(le.value, "opacity", t), Ke = t !== "0.000", Ke)) {
2103
+ let e = Le.width * 191, t = -46 - e, n = Ie % Le.duration / Le.duration;
2104
+ _e(le.value, "width", e.toFixed(1)), _e(le.value, "transform", `${p} translate(${(t + n * (310 - t)).toFixed(1)} 0) skewX(${90 - Le.angle})`);
2084
2105
  }
2085
2106
  }
2086
- if (se.value && (e.glow > 0 || ze)) {
2087
- let t = e.glow > 0 ? (He(e.glow, 0, 1) * B * (.4 + .3 * Math.sin(ke * 3.2))).toFixed(3) : "0.000";
2088
- Z(se.value, "opacity", t), ze = t !== "0.000", ze && (Z(se.value, "d", Qe(d, Q(C, -8), m + 7)), Z(se.value, "stroke-width", Math.max(h, l).toFixed(3)));
2107
+ if (Y.value && (e.glow > 0 || Ge)) {
2108
+ let t = e.glow > 0 ? (Je(e.glow, 0, 1) * G * (.4 + .3 * Math.sin(Pe * 3.2))).toFixed(3) : "0.000";
2109
+ _e(Y.value, "opacity", t), Ge = t !== "0.000", Ge && (_e(Y.value, "d", it(d, $e(C, -8), m + 7)), _e(Y.value, "stroke-width", Math.max(h, l).toFixed(3)));
2089
2110
  }
2090
- L && ft(p, !ht());
2111
+ ee && bt(p, !Ct());
2091
2112
  }
2092
- function lt(e, t, n, r, i, a, o, s) {
2093
- let c = Math.max(.5, i), l = Math.max(.5, a), u = qe({
2113
+ function _t(e, t, n, r, i, a, o, s) {
2114
+ let c = Math.max(.5, i), l = Math.max(.5, a), u = $({
2094
2115
  height: l,
2095
2116
  width: c,
2096
2117
  x: n - c / 2,
2097
2118
  y: r - l / 2
2098
2119
  }, s);
2099
- Z(e, "x", u.x.toFixed(3)), Z(e, "y", u.y.toFixed(3)), Z(e, "width", u.width.toFixed(3)), Z(e, "height", u.height.toFixed(3)), Z(e, "rx", Math.min(o, u.width / 2, u.height / 2).toFixed(3)), Z(e, "transform", t);
2120
+ _e(e, "x", u.x.toFixed(3)), _e(e, "y", u.y.toFixed(3)), _e(e, "width", u.width.toFixed(3)), _e(e, "height", u.height.toFixed(3)), _e(e, "rx", Math.min(o, u.width / 2, u.height / 2).toFixed(3)), _e(e, "transform", t);
2100
2121
  }
2101
- function ut(e, t, n, r, i, a) {
2122
+ function vt(e, t, n, r, i, a) {
2102
2123
  let o = Math.max(.5, i) / 2, s = Math.max(.5, a) / 2;
2103
- Z(e, "d", `M${Xe(t, n - o, r + s)} L${Xe(t, n + o, r + s)} L${Xe(t, n, r - s)}Z`);
2124
+ _e(e, "d", `M${nt(t, n - o, r + s)} L${nt(t, n + o, r + s)} L${nt(t, n, r - s)}Z`);
2104
2125
  }
2105
- function dt(e, t, n, r, i, a, o) {
2106
- if (Z(e, "opacity", a), a === "0.000") return;
2126
+ function yt(e, t, n, r, i, a, o) {
2127
+ if (_e(e, "opacity", a), a === "0.000") return;
2107
2128
  let s = 6 * (1 - o), c = 14 * i;
2108
- Z(e, "d", `M${Xe(t, n - c, r + 7 + s)} Q${Xe(t, n, r - 13 + s)} ${Xe(t, n + c, r + 7 + s)}`);
2129
+ _e(e, "d", `M${nt(t, n - c, r + 7 + s)} Q${nt(t, n, r - 13 + s)} ${nt(t, n + c, r + 7 + s)}`);
2109
2130
  }
2110
- function ft(e, t) {
2111
- if (!le.value || !J.value) return;
2131
+ function bt(e, t) {
2132
+ if (!de.value || !fe.value) return;
2112
2133
  let n = Pr();
2113
2134
  if (!n) {
2114
- Z(le.value, "display", "none");
2135
+ _e(de.value, "display", "none");
2115
2136
  return;
2116
2137
  }
2117
- pe(le.value, "display");
2118
- let r = Pe !== J.value;
2119
- if (r && (Pe = J.value), r || t && ke >= Ne) {
2120
- Ne = ke + 1 / 14;
2138
+ ve(de.value, "display");
2139
+ let r = ze !== fe.value;
2140
+ if (r && (ze = fe.value), r || t && Pe >= Re) {
2141
+ Re = Pe + 1 / 14;
2121
2142
  let e = t ? Math.floor(Math.random() * Ar.length) : 0;
2122
- Z(J.value, "href", Ar[e] ?? n), le.value.dataset.offsetX = t ? Ve(0, 64).toFixed(1) : "0", le.value.dataset.offsetY = t ? Ve(0, 64).toFixed(1) : "0";
2143
+ _e(fe.value, "href", Ar[e] ?? n), de.value.dataset.offsetX = t ? qe(0, 64).toFixed(1) : "0", de.value.dataset.offsetY = t ? qe(0, 64).toFixed(1) : "0";
2123
2144
  }
2124
- Z(le.value, "transform", `${e} translate(${le.value.dataset.offsetX} ${le.value.dataset.offsetY})`);
2145
+ _e(de.value, "transform", `${e} translate(${de.value.dataset.offsetX} ${de.value.dataset.offsetY})`);
2125
2146
  }
2126
- function pt() {
2127
- if (!ee.value) return;
2128
- let e = ee.value.ownerDocument.defaultView?.getComputedStyle(ee.value);
2147
+ function xt() {
2148
+ if (!re.value) return;
2149
+ let e = re.value.ownerDocument.defaultView?.getComputedStyle(re.value);
2129
2150
  if (!e) return;
2130
2151
  let t = e.getPropertyValue("--sheen-duration").trim(), n = Number.parseFloat(t) / (t.endsWith("ms") ? 1e3 : 1), r = Number.parseFloat(e.getPropertyValue("--sheen-angle")), i = Number.parseFloat(e.getPropertyValue("--sheen-width"));
2131
- Me = {
2152
+ Le = {
2132
2153
  angle: Number.isFinite(r) ? r : g.angle,
2133
2154
  duration: n > 0 ? n : g.duration,
2134
2155
  width: i > 0 ? i / 100 : g.width
2135
2156
  };
2136
2157
  }
2137
- function mt() {
2138
- Object.assign(Te, y, C[n.emote]), Ae = 0, je = 0, ct(Te, $(), !0);
2158
+ function St() {
2159
+ Object.assign(Ae, y, O[n.emote]), Fe = 0, Ie = 0, gt(Ae, at(), !0);
2139
2160
  }
2140
- function ht() {
2141
- return !P || Y.reducedMotion.value || !Y.animationAvailable.value;
2161
+ function Ct() {
2162
+ return !R || Z.reducedMotion.value || !Z.animationAvailable.value;
2142
2163
  }
2143
- function gt(e) {
2144
- if (!P || !Y.visible.value || Y.reducedMotion.value || !Y.intersecting.value) return;
2145
- if (e - Ie < 10) {
2146
- _t();
2164
+ function wt(e) {
2165
+ if (!R || !Z.visible.value || Z.reducedMotion.value || !Z.intersecting.value) return;
2166
+ if (e - Ve < 10) {
2167
+ Tt();
2147
2168
  return;
2148
2169
  }
2149
- Ie = e;
2150
- let t = e / 1e3, n = Fe ? Math.min(.05, t - Fe) : 0;
2151
- Fe = t, ke += n, Object.assign($e, y), tt(), st(F, $e, et, n, t);
2170
+ Ve = e;
2171
+ let t = e / 1e3, n = Be ? Math.min(.05, t - Be) : 0;
2172
+ Be = t, Pe += n, Object.assign(ot, y), ct(), Ue = 1, ht(B, ot, st, n, t);
2152
2173
  for (let e of b) {
2153
- let t = $e[e] - Te[e];
2154
- if (Math.abs(t) < 1e-4 && Math.abs(Ee[e]) < .001) {
2155
- Te[e] = $e[e], Ee[e] = 0;
2174
+ let t = ot[e] - Ae[e];
2175
+ if (Math.abs(t) < 1e-4 && Math.abs(je[e]) < .001) {
2176
+ Ae[e] = ot[e], je[e] = 0;
2156
2177
  continue;
2157
2178
  }
2158
- let [r, i] = S[e] ?? x, a = 2 * Math.sqrt(r) * i;
2159
- Ee[e] += (r * t - a * Ee[e]) * n, Te[e] += Ee[e] * n;
2179
+ let [r, i] = S[e] ?? x, a = r * Ue * Ue, o = 2 * Math.sqrt(a) * i;
2180
+ je[e] += (a * t - o * je[e]) * n, Ae[e] += je[e] * n;
2160
2181
  }
2161
- Ae = (Ae + Te.gradientSpeed * n) % 360, Te.sheen > .01 && (je += n), ct(Te, et), _t();
2182
+ Fe = (Fe + Ae.gradientSpeed * n) % 360, Ae.sheen > .01 && (Ie += n), gt(Ae, st), Tt();
2162
2183
  }
2163
- function _t() {
2164
- !P || Y.reducedMotion.value || !Y.visible.value || !Y.intersecting.value || !Y.animationAvailable.value || (L && Fr(), Y.requestFrame(gt));
2184
+ function Tt() {
2185
+ !R || Z.reducedMotion.value || !Z.visible.value || !Z.intersecting.value || !Z.animationAvailable.value || (ee && Fr(), Z.requestFrame(wt));
2165
2186
  }
2166
- function vt() {
2167
- Fe = 0, Ie = -Infinity;
2187
+ function Et() {
2188
+ Be = 0, Ve = -Infinity;
2168
2189
  }
2169
- return G(() => [
2190
+ return K(() => [
2170
2191
  n.animated,
2192
+ n.calm,
2171
2193
  n.emote,
2172
2194
  n.theme,
2173
2195
  n.variant
2174
2196
  ], () => {
2175
- V(), ke = 0, De.next = .8, Oe = [], Le = Ve(.8, 3), Ne = 0, ht() ? (Y.cancelFrame(), mt()) : (vt(), _t());
2176
- }, { flush: "post" }), G(Y.visible, (e) => {
2197
+ ne(), Pe = 0, Me.next = .8, Ne = [], He = Q(), Re = 0, Ct() ? (Z.cancelFrame(), St()) : (Et(), Tt());
2198
+ }, { flush: "post" }), K(Z.visible, (e) => {
2177
2199
  if (!e) {
2178
- Y.cancelFrame();
2200
+ Z.cancelFrame();
2179
2201
  return;
2180
2202
  }
2181
- vt(), _t();
2182
- }, { flush: "sync" }), G(Y.intersecting, (e) => {
2203
+ Et(), Tt();
2204
+ }, { flush: "sync" }), K(Z.intersecting, (e) => {
2183
2205
  if (!e) {
2184
- Y.cancelFrame();
2206
+ Z.cancelFrame();
2185
2207
  return;
2186
2208
  }
2187
- vt(), _t();
2188
- }, { flush: "sync" }), G(Y.reducedMotion, (e) => {
2189
- if (e || !P) {
2190
- Y.cancelFrame(), mt();
2209
+ Et(), Tt();
2210
+ }, { flush: "sync" }), K(Z.reducedMotion, (e) => {
2211
+ if (e || !R) {
2212
+ Z.cancelFrame(), St();
2191
2213
  return;
2192
2214
  }
2193
- vt(), _t();
2215
+ Et(), Tt();
2194
2216
  }, { flush: "sync" }), T(() => {
2195
- Y.updateBounds(), pt(), ht() ? mt() : _t();
2217
+ Z.updateBounds(), xt(), Ct() ? St() : Tt();
2196
2218
  }), (n, r) => (k(), o("svg", {
2197
2219
  ref_key: "svgRef",
2198
- ref: ee,
2220
+ ref: re,
2199
2221
  class: "pv-ask-tq-buddy",
2222
+ "data-calm": e.calm || void 0,
2200
2223
  "data-emote": e.emote,
2201
2224
  "data-size": e.size,
2202
2225
  "data-theme": e.theme,
@@ -2210,9 +2233,9 @@ var Ir = /* @__PURE__ */ Ye(/* @__PURE__ */ d({
2210
2233
  }, [
2211
2234
  s("defs", null, [
2212
2235
  s("linearGradient", {
2213
- id: _e,
2236
+ id: Se,
2214
2237
  ref_key: "gradientRef",
2215
- ref: W,
2238
+ ref: oe,
2216
2239
  gradientUnits: "userSpaceOnUse",
2217
2240
  x1: "29",
2218
2241
  y1: "36.5",
@@ -2222,12 +2245,12 @@ var Ir = /* @__PURE__ */ Ye(/* @__PURE__ */ d({
2222
2245
  class: "pv-ask-tq-buddy__gradient-end",
2223
2246
  offset: "1"
2224
2247
  }, null, -1)]], 512),
2225
- s("clipPath", { id: ye }, [s("path", {
2248
+ s("clipPath", { id: we }, [s("path", {
2226
2249
  ref_key: "clipRef",
2227
- ref: ne
2250
+ ref: ae
2228
2251
  }, null, 512)]),
2229
- D.value ? (k(), o(t, { key: 0 }, [s("linearGradient", {
2230
- id: ve,
2252
+ N.value ? (k(), o(t, { key: 0 }, [s("linearGradient", {
2253
+ id: Ce,
2231
2254
  x1: "0",
2232
2255
  x2: "1",
2233
2256
  y1: "0",
@@ -2247,19 +2270,19 @@ var Ir = /* @__PURE__ */ Ye(/* @__PURE__ */ d({
2247
2270
  "stop-opacity": "0"
2248
2271
  }, null, -1)
2249
2272
  ]]), s("pattern", {
2250
- id: be,
2273
+ id: Te,
2251
2274
  patternUnits: "userSpaceOnUse",
2252
2275
  width: 64,
2253
2276
  height: 64
2254
2277
  }, [s("image", {
2255
2278
  ref_key: "noiseRef",
2256
- ref: J,
2279
+ ref: fe,
2257
2280
  width: 64,
2258
2281
  height: 64,
2259
2282
  preserveAspectRatio: "none"
2260
2283
  }, null, 512)])], 64)) : a("", !0),
2261
- w.value && D.value ? (k(), o(t, { key: 1 }, [s("filter", {
2262
- id: xe,
2284
+ A.value && N.value ? (k(), o(t, { key: 1 }, [s("filter", {
2285
+ id: Ee,
2263
2286
  x: "-60%",
2264
2287
  y: "-60%",
2265
2288
  width: "220%",
@@ -2268,7 +2291,7 @@ var Ir = /* @__PURE__ */ Ye(/* @__PURE__ */ d({
2268
2291
  stdDeviation: 7 * .6,
2269
2292
  result: "blur"
2270
2293
  }, null, 8, _r), r[2] ||= s("feMerge", null, [s("feMergeNode", { in: "blur" }), s("feMergeNode", { in: "SourceGraphic" })], -1)]), s("radialGradient", {
2271
- id: Se,
2294
+ id: De,
2272
2295
  cx: "50%",
2273
2296
  cy: "42%",
2274
2297
  r: "58%"
@@ -2280,19 +2303,19 @@ var Ir = /* @__PURE__ */ Ye(/* @__PURE__ */ d({
2280
2303
  offset: "1",
2281
2304
  "stop-opacity": "0"
2282
2305
  }, null, -1)]])], 64)) : a("", !0),
2283
- E.value ? (k(), o("mask", v({
2306
+ M.value ? (k(), o("mask", v({
2284
2307
  key: 2,
2285
- id: Ce,
2308
+ id: Oe,
2286
2309
  maskUnits: "userSpaceOnUse"
2287
2310
  }, d), [s("rect", v(d, { fill: "#fff" }), null, 16), s("use", {
2288
- href: `#${we}`,
2311
+ href: `#${ke}`,
2289
2312
  class: "pv-ask-tq-buddy__eye-cutout"
2290
2313
  }, null, 8, vr)], 16)) : a("", !0)
2291
2314
  ]),
2292
- D.value ? (k(), o("path", {
2315
+ N.value ? (k(), o("path", {
2293
2316
  key: 0,
2294
2317
  ref_key: "ringRef",
2295
- ref: se,
2318
+ ref: Y,
2296
2319
  class: "pv-ask-tq-buddy__ring",
2297
2320
  fill: "none",
2298
2321
  "stroke-width": h,
@@ -2300,100 +2323,100 @@ var Ir = /* @__PURE__ */ Ye(/* @__PURE__ */ d({
2300
2323
  }, null, 512)) : a("", !0),
2301
2324
  s("path", {
2302
2325
  ref_key: "bodyRef",
2303
- ref: U,
2326
+ ref: ie,
2304
2327
  class: "pv-ask-tq-buddy__body",
2305
- mask: E.value ? `url(#${Ce})` : void 0
2328
+ mask: M.value ? `url(#${Oe})` : void 0
2306
2329
  }, null, 8, yr),
2307
- D.value ? (k(), o("g", {
2330
+ N.value ? (k(), o("g", {
2308
2331
  key: 1,
2309
- "clip-path": `url(#${ye})`
2310
- }, [w.value ? (k(), o("rect", {
2332
+ "clip-path": `url(#${we})`
2333
+ }, [A.value ? (k(), o("rect", {
2311
2334
  key: 0,
2312
2335
  ref_key: "candleRef",
2313
- ref: K,
2336
+ ref: ue,
2314
2337
  width: "191",
2315
2338
  height: "191",
2316
- fill: `url(#${Se})`
2339
+ fill: `url(#${De})`
2317
2340
  }, null, 8, xr)) : a("", !0), s("rect", {
2318
2341
  ref_key: "sheenRef",
2319
- ref: ce,
2342
+ ref: le,
2320
2343
  x: "0",
2321
2344
  y: "-60",
2322
2345
  height: "311",
2323
- fill: `url(#${ve})`,
2346
+ fill: `url(#${Ce})`,
2324
2347
  opacity: "0"
2325
2348
  }, null, 8, Sr)], 8, br)) : a("", !0),
2326
2349
  s("g", {
2327
- id: we,
2350
+ id: ke,
2328
2351
  style: { opacity: "var(--pv-ask-tq-buddy-eye-visibility)" }
2329
2352
  }, [
2330
- w.value ? (k(), o("g", {
2353
+ A.value ? (k(), o("g", {
2331
2354
  key: 0,
2332
2355
  ref_key: "litRef",
2333
- ref: q,
2334
- filter: D.value ? `url(#${xe})` : void 0,
2356
+ ref: X,
2357
+ filter: N.value ? `url(#${Ee})` : void 0,
2335
2358
  "stroke-linejoin": "round",
2336
- "stroke-width": M.value
2359
+ "stroke-width": I.value
2337
2360
  }, [s("path", {
2338
2361
  ref_key: "leftEyeRef",
2339
- ref: re,
2362
+ ref: se,
2340
2363
  style: {
2341
2364
  fill: "var(--pv-ask-tq-buddy-eye-fill)",
2342
2365
  stroke: "var(--pv-ask-tq-buddy-eye-fill)"
2343
2366
  }
2344
2367
  }, null, 512), s("path", {
2345
2368
  ref_key: "rightEyeRef",
2346
- ref: ie,
2369
+ ref: q,
2347
2370
  style: {
2348
2371
  fill: "var(--pv-ask-tq-buddy-eye-fill)",
2349
2372
  stroke: "var(--pv-ask-tq-buddy-eye-fill)"
2350
2373
  }
2351
2374
  }, null, 512)], 8, Cr)) : (k(), o(t, { key: 1 }, [s("rect", {
2352
2375
  ref_key: "leftEyeRef",
2353
- ref: re,
2376
+ ref: se,
2354
2377
  style: { fill: "var(--pv-ask-tq-buddy-eye-fill)" }
2355
2378
  }, null, 512), s("rect", {
2356
2379
  ref_key: "rightEyeRef",
2357
- ref: ie,
2380
+ ref: q,
2358
2381
  style: { fill: "var(--pv-ask-tq-buddy-eye-fill)" }
2359
2382
  }, null, 512)], 64)),
2360
2383
  s("path", {
2361
2384
  ref_key: "leftHappyRef",
2362
- ref: ae,
2385
+ ref: J,
2363
2386
  fill: "none",
2364
2387
  style: { stroke: "var(--pv-ask-tq-buddy-eye-fill)" },
2365
- "stroke-width": N.value,
2388
+ "stroke-width": L.value,
2366
2389
  "stroke-linecap": "round",
2367
2390
  "stroke-linejoin": "round",
2368
2391
  opacity: "0"
2369
2392
  }, null, 8, wr),
2370
2393
  s("path", {
2371
2394
  ref_key: "rightHappyRef",
2372
- ref: oe,
2395
+ ref: ce,
2373
2396
  fill: "none",
2374
2397
  style: { stroke: "var(--pv-ask-tq-buddy-eye-fill)" },
2375
- "stroke-width": N.value,
2398
+ "stroke-width": L.value,
2376
2399
  "stroke-linecap": "round",
2377
2400
  "stroke-linejoin": "round",
2378
2401
  opacity: "0"
2379
2402
  }, null, 8, Tr)
2380
2403
  ]),
2381
- D.value ? (k(), o("g", {
2404
+ N.value ? (k(), o("g", {
2382
2405
  key: 2,
2383
- "clip-path": `url(#${ye})`
2406
+ "clip-path": `url(#${we})`
2384
2407
  }, [s("rect", {
2385
2408
  ref_key: "grainRef",
2386
- ref: le,
2409
+ ref: de,
2387
2410
  x: "-191",
2388
2411
  y: "-191",
2389
2412
  width: "573",
2390
2413
  height: "573",
2391
- fill: `url(#${be})`,
2392
- opacity: A.value
2414
+ fill: `url(#${Te})`,
2415
+ opacity: F.value
2393
2416
  }, null, 8, Dr)], 8, Er)) : a("", !0)
2394
2417
  ], 8, gr));
2395
2418
  }
2396
- }), [["__scopeId", "data-v-0fa64818"]]), Lr = ["disabled", "aria-label"], Rr = { key: 1 }, zr = /* @__PURE__ */ d({
2419
+ }), [["__scopeId", "data-v-79e4818c"]]), Lr = ["disabled", "aria-label"], Rr = { key: 1 }, zr = /* @__PURE__ */ d({
2397
2420
  __name: "PvAiButton",
2398
2421
  props: {
2399
2422
  size: { default: "md" },
@@ -2421,9 +2444,8 @@ var Ir = /* @__PURE__ */ Ye(/* @__PURE__ */ d({
2421
2444
  let e = ["pv-button-ai"], t = Ue(n.size);
2422
2445
  return t && e.push(t), e;
2423
2446
  }), c = {
2424
- "--pv-ask-tq-buddy-size": "calc(1rem * 8 / 7)",
2425
2447
  flexShrink: 0,
2426
- margin: "calc(1rem / -14)"
2448
+ margin: "-0.125rem"
2427
2449
  }, l = r(() => (!n.label || n.loading) && n.label || void 0);
2428
2450
  return (n, r) => (k(), o("button", {
2429
2451
  disabled: e.disabled,
@@ -2438,7 +2460,9 @@ var Ir = /* @__PURE__ */ Ye(/* @__PURE__ */ d({
2438
2460
  class: "pv-text-brand",
2439
2461
  style: c,
2440
2462
  animated: e.buddyAnimated,
2463
+ calm: "",
2441
2464
  emote: e.buddyEmote,
2465
+ size: "xs",
2442
2466
  theme: e.buddyTheme,
2443
2467
  variant: e.buddyVariant
2444
2468
  }, null, 8, [
@@ -2471,7 +2495,7 @@ var Ir = /* @__PURE__ */ Ye(/* @__PURE__ */ d({
2471
2495
  delay: { default: 0 }
2472
2496
  },
2473
2497
  setup(e) {
2474
- let t = e, n = W("rootRef"), { present: i } = ir("tooltip-content", { host: r(() => {
2498
+ let t = e, n = G("rootRef"), { present: i } = ir("tooltip-content", { host: r(() => {
2475
2499
  let e = n.value?.getRootNode();
2476
2500
  return e instanceof ShadowRoot ? e.host : null;
2477
2501
  }) }), s = r(() => t.delay > 0), c = j(!1), l = j(!1), u, d = () => {
@@ -2503,12 +2527,12 @@ var Ir = /* @__PURE__ */ Ye(/* @__PURE__ */ d({
2503
2527
  onMouseleave: m,
2504
2528
  onFocusin: h,
2505
2529
  onFocusout: g
2506
- }, [N(t.$slots, "label"), V(i) ? q((k(), o("div", {
2530
+ }, [N(t.$slots, "label"), V(i) ? J((k(), o("div", {
2507
2531
  key: 0,
2508
2532
  role: "tooltip",
2509
2533
  id: e.ariaLabelledBy,
2510
2534
  "data-testid": "pv-tooltip-content"
2511
- }, [N(t.$slots, "tooltip-content")], 8, Vr)), [[se, f.value]]) : a("", !0)], 42, Br));
2535
+ }, [N(t.$slots, "tooltip-content")], 8, Vr)), [[oe, f.value]]) : a("", !0)], 42, Br));
2512
2536
  }
2513
2537
  }), Ur = { class: "pv-text-body-sm" }, Wr = /* @__PURE__ */ d({
2514
2538
  __name: "PvButtonWithTooltip",
@@ -2549,8 +2573,8 @@ var Ir = /* @__PURE__ */ Ye(/* @__PURE__ */ d({
2549
2573
  delay: e.delay,
2550
2574
  size: n.value
2551
2575
  }, {
2552
- "tooltip-content": K(() => [s("p", Ur, R(e.tooltipText), 1)]),
2553
- label: K(() => [u($, x(m(a.value)), null, 16)]),
2576
+ "tooltip-content": q(() => [s("p", Ur, R(e.tooltipText), 1)]),
2577
+ label: q(() => [u($, x(m(a.value)), null, 16)]),
2554
2578
  _: 1
2555
2579
  }, 8, [
2556
2580
  "variant",
@@ -2618,7 +2642,7 @@ var Ir = /* @__PURE__ */ Ye(/* @__PURE__ */ d({
2618
2642
  position: e.position,
2619
2643
  offset: e.offset
2620
2644
  }, {
2621
- trigger: K(() => [u($, {
2645
+ trigger: q(() => [u($, {
2622
2646
  class: "pv-split-button-menu-trigger",
2623
2647
  size: e.size,
2624
2648
  variant: e.variant,
@@ -2632,7 +2656,7 @@ var Ir = /* @__PURE__ */ Ye(/* @__PURE__ */ d({
2632
2656
  "inverse",
2633
2657
  "leftIcon"
2634
2658
  ])]),
2635
- content: K(() => [s("div", Kr, [N(n.$slots, "menu-content")])]),
2659
+ content: q(() => [s("div", Kr, [N(n.$slots, "menu-content")])]),
2636
2660
  _: 3
2637
2661
  }, 8, [
2638
2662
  "modelValue",
@@ -2719,7 +2743,7 @@ var Ir = /* @__PURE__ */ Ye(/* @__PURE__ */ d({
2719
2743
  size: c.value,
2720
2744
  name: "close",
2721
2745
  "data-dd-action-name": e.rumRemoveActionName,
2722
- onClick: r[0] ||= J((n) => t.$emit("handle-close", e.label), ["stop"])
2746
+ onClick: r[0] ||= Y((n) => t.$emit("handle-close", e.label), ["stop"])
2723
2747
  }, null, 8, ["size", "data-dd-action-name"])) : a("", !0)
2724
2748
  ], 14, Yr));
2725
2749
  }
@@ -2803,14 +2827,14 @@ var Ir = /* @__PURE__ */ Ye(/* @__PURE__ */ d({
2803
2827
  },
2804
2828
  emits: ["list-order-updated"],
2805
2829
  setup(e, { expose: n, emit: i }) {
2806
- let a = j(null), c = W("popoverList"), l = e, u = i;
2830
+ let a = j(null), c = G("popoverList"), l = e, u = i;
2807
2831
  l.isSortable && l.isList && ve(c, [], {
2808
2832
  animation: 150,
2809
2833
  onUpdate: () => {
2810
2834
  u("list-order-updated", Array.from(c.value?.children || []).map((e) => e.id));
2811
2835
  }
2812
2836
  });
2813
- let d = ne(), f = r(() => !!(d.header || d.footer));
2837
+ let d = W(), f = r(() => !!(d.header || d.footer));
2814
2838
  return n({ popoverRoot: a }), (n, r) => (k(), o("div", {
2815
2839
  ref_key: "popoverRoot",
2816
2840
  ref: a,
@@ -2884,7 +2908,7 @@ var Ir = /* @__PURE__ */ Ye(/* @__PURE__ */ d({
2884
2908
  }, E = (e) => {
2885
2909
  p.value && (e.stopPropagation(), p.value = !1, h.value?.focus());
2886
2910
  };
2887
- t({ closeDropdown: T }), G(p, (e) => {
2911
+ t({ closeDropdown: T }), K(p, (e) => {
2888
2912
  e ? y(() => {
2889
2913
  x(), f("dropdown-open");
2890
2914
  }) : f("dropdown-closed");
@@ -2896,10 +2920,10 @@ var Ir = /* @__PURE__ */ Ye(/* @__PURE__ */ d({
2896
2920
  zIndex: 10,
2897
2921
  ...d.popoverCssProperties
2898
2922
  } : d.popoverCssProperties);
2899
- return (t, r) => q((k(), o("div", {
2923
+ return (t, r) => J((k(), o("div", {
2900
2924
  class: "pv-dropdown-component pv-relative",
2901
2925
  style: { width: "fit-content" },
2902
- onKeydown: le(E, ["esc"])
2926
+ onKeydown: ce(E, ["esc"])
2903
2927
  }, [s("button", {
2904
2928
  ref_key: "triggerRef",
2905
2929
  ref: h,
@@ -2932,7 +2956,7 @@ var Ir = /* @__PURE__ */ Ye(/* @__PURE__ */ d({
2932
2956
  isSortable: e.isSortable,
2933
2957
  onListOrderUpdated: r[0] ||= (e) => t.$emit("list-order-updated", e)
2934
2958
  }, {
2935
- default: K(() => [N(t.$slots, "default", {}, () => [e.isLoading ? (k(), o("span", ni, "Loading...")) : a("", !0)], !0)]),
2959
+ default: q(() => [N(t.$slots, "default", {}, () => [e.isLoading ? (k(), o("span", ni, "Loading...")) : a("", !0)], !0)]),
2936
2960
  _: 3
2937
2961
  }, 8, [
2938
2962
  "id",
@@ -2976,7 +3000,7 @@ var Ir = /* @__PURE__ */ Ye(/* @__PURE__ */ d({
2976
3000
  alignment: e.alignment,
2977
3001
  "css-custom-properties": e.cssCustomProperties
2978
3002
  }, {
2979
- default: K(() => [N(t.$slots, "content")]),
3003
+ default: q(() => [N(t.$slots, "content")]),
2980
3004
  _: 3
2981
3005
  }, 8, ["alignment", "css-custom-properties"])]));
2982
3006
  }
@@ -3000,7 +3024,7 @@ var Ir = /* @__PURE__ */ Ye(/* @__PURE__ */ d({
3000
3024
  position: "bottom-right",
3001
3025
  style: { width: "100%" }
3002
3026
  }, c({
3003
- trigger: K(() => [u($, {
3027
+ trigger: q(() => [u($, {
3004
3028
  class: b(["pv-full-width", { "pv-disabled": e.disabled }]),
3005
3029
  variant: "ghost",
3006
3030
  label: e.label,
@@ -3023,7 +3047,7 @@ var Ir = /* @__PURE__ */ Ye(/* @__PURE__ */ d({
3023
3047
  _: 2
3024
3048
  }, [e.disabledReason ? {
3025
3049
  name: "content",
3026
- fn: K(() => [l(R(e.disabledReason), 1)]),
3050
+ fn: q(() => [l(R(e.disabledReason), 1)]),
3027
3051
  key: "0"
3028
3052
  } : void 0]), 1024))), 128))], 2));
3029
3053
  }
@@ -3067,7 +3091,7 @@ var Ir = /* @__PURE__ */ Ye(/* @__PURE__ */ d({
3067
3091
  "pv-icon": n.value,
3068
3092
  [`pv-company-${t.size}`]: t.size && !n.value
3069
3093
  })), c = r(() => ({ width: i.value })), l = r(() => `${t.name.toLowerCase().replace(/[^a-z\s]/g, "").trim().replace(/\s+/g, "_")}.svg`), u = r(() => t.srcPathOverride ? t.srcPathOverride : `${t.basePath}/${l.value}`);
3070
- return G(u, () => {
3094
+ return K(u, () => {
3071
3095
  n.value = !0;
3072
3096
  }), (e, t) => (k(), o("div", fi, [n.value ? (k(), o("div", {
3073
3097
  key: 0,
@@ -3117,8 +3141,8 @@ var Ir = /* @__PURE__ */ Ye(/* @__PURE__ */ d({
3117
3141
  }),
3118
3142
  emits: ["update:modelValue"],
3119
3143
  setup(e) {
3120
- let t = e, n = r(() => t.position === "center" ? "position: fixed; inset-block: 0; height: fit-content; margin-block: auto" : void 0), i = W("dialog"), c = U(e, "modelValue");
3121
- G(() => c.value, () => {
3144
+ let t = e, n = r(() => t.position === "center" ? "position: fixed; inset-block: 0; height: fit-content; margin-block: auto" : void 0), i = G("dialog"), c = U(e, "modelValue");
3145
+ K(() => c.value, () => {
3122
3146
  c.value ? i.value?.showModal() : i.value?.close();
3123
3147
  });
3124
3148
  let l = () => {
@@ -3275,7 +3299,7 @@ var Ir = /* @__PURE__ */ Ye(/* @__PURE__ */ d({
3275
3299
  "data-testid": "pv-company-tag-close-icon",
3276
3300
  size: 12,
3277
3301
  name: "close",
3278
- onClick: r[0] ||= J((n) => t.$emit("handle-close", e.companyName), ["stop"])
3302
+ onClick: r[0] ||= Y((n) => t.$emit("handle-close", e.companyName), ["stop"])
3279
3303
  })) : a("", !0)
3280
3304
  ], 2));
3281
3305
  }
@@ -3418,7 +3442,7 @@ var Ir = /* @__PURE__ */ Ye(/* @__PURE__ */ d({
3418
3442
  }),
3419
3443
  emits: ["update:modelValue"],
3420
3444
  setup(e, { expose: t }) {
3421
- let n = e, i = W("search-input"), c = U(e, "modelValue"), l = r(() => ({
3445
+ let n = e, i = G("search-input"), c = U(e, "modelValue"), l = r(() => ({
3422
3446
  "pv-input-search": !0,
3423
3447
  "pv-full-width": !0,
3424
3448
  "pv-input-padded-end": !0,
@@ -3429,7 +3453,7 @@ var Ir = /* @__PURE__ */ Ye(/* @__PURE__ */ d({
3429
3453
  let t = e.target, n = t instanceof HTMLInputElement || t instanceof HTMLTextAreaElement || (t?.isContentEditable ?? !1), r = document.activeElement === i.value;
3430
3454
  (!n || r) && (r || (e.preventDefault(), i.value?.focus()));
3431
3455
  });
3432
- }), t({ input: i }), (t, n) => (k(), o("div", Ri, [q(s("input", {
3456
+ }), t({ input: i }), (t, n) => (k(), o("div", Ri, [J(s("input", {
3433
3457
  ref: "search-input",
3434
3458
  "onUpdate:modelValue": n[0] ||= (e) => c.value = e,
3435
3459
  "data-testid": "pv-search-input",
@@ -3437,7 +3461,7 @@ var Ir = /* @__PURE__ */ Ye(/* @__PURE__ */ d({
3437
3461
  disabled: e.disabled,
3438
3462
  class: b(l.value),
3439
3463
  placeholder: e.placeholder
3440
- }, null, 10, zi), [[oe, c.value]]), e.displayShortcut ? (k(), o("kbd", Bi, R(Vi))) : a("", !0)]));
3464
+ }, null, 10, zi), [[ae, c.value]]), e.displayShortcut ? (k(), o("kbd", Bi, R(Vi))) : a("", !0)]));
3441
3465
  }
3442
3466
  }), [["__scopeId", "data-v-9e0c84d9"]]), Ui = /^\d{4}-\d{2}-\d{2}$/;
3443
3467
  function Wi(e) {
@@ -3520,7 +3544,7 @@ var Yi = /* @__PURE__ */ d({
3520
3544
  maxDate: s.value,
3521
3545
  disabledDates: c.value
3522
3546
  }), {
3523
- inputicon: K((e) => [u(Q, {
3547
+ inputicon: q((e) => [u(Q, {
3524
3548
  name: "calendar",
3525
3549
  onClick: e.clickCallback
3526
3550
  }, null, 8, ["onClick"])]),
@@ -3695,7 +3719,7 @@ var Xi = () => ({
3695
3719
  "resize-start"
3696
3720
  ], ["update:size"]),
3697
3721
  setup(e, { emit: t }) {
3698
- let n = e, i = U(e, "size"), a = t, s = W("handle"), c = j(null), l = !1, u = r(() => Qi(n.edge)), d = (e) => {
3722
+ let n = e, i = U(e, "size"), a = t, s = G("handle"), c = j(null), l = !1, u = r(() => Qi(n.edge)), d = (e) => {
3699
3723
  let t = e?.parentNode ?? null;
3700
3724
  for (; t;) {
3701
3725
  if (t.nodeType === 1) return t;
@@ -3772,7 +3796,7 @@ var Xi = () => ({
3772
3796
  readSize: D,
3773
3797
  snapThreshold: () => n.snapThreshold
3774
3798
  });
3775
- G(i, (e) => {
3799
+ K(i, (e) => {
3776
3800
  if (!l) {
3777
3801
  R();
3778
3802
  return;
@@ -3780,10 +3804,10 @@ var Xi = () => ({
3780
3804
  if (e === void 0) return;
3781
3805
  let t = w(e);
3782
3806
  P(t), L(t);
3783
- }), G([c, u], ([e, t]) => e?.setAttribute("data-pv-resize-axis", t), { immediate: !0 }), G(I, (e) => {
3807
+ }), K([c, u], ([e, t]) => e?.setAttribute("data-pv-resize-axis", t), { immediate: !0 }), K(I, (e) => {
3784
3808
  let t = c.value;
3785
3809
  t && (e ? t.setAttribute("data-pv-resizing", "") : t.removeAttribute("data-pv-resizing"));
3786
- }), G([
3810
+ }), K([
3787
3811
  x,
3788
3812
  C,
3789
3813
  S
@@ -3808,7 +3832,7 @@ var Xi = () => ({
3808
3832
  let a = w(r);
3809
3833
  P(a), L(a);
3810
3834
  };
3811
- return G(b, R), T(async () => {
3835
+ return K(b, R), T(async () => {
3812
3836
  c.value = d(s.value), await y(), R();
3813
3837
  }), (e, t) => (k(), o("div", v({
3814
3838
  ref_key: "handle",
@@ -3879,16 +3903,16 @@ var Xi = () => ({
3879
3903
  "update:modelValue"
3880
3904
  ]),
3881
3905
  setup(e, { emit: n }) {
3882
- let r = e, c = n, l = W("sidePanel"), { width: d } = ge({ initialWidth: 0 }), f = U(e, "searchInput"), p = U(e, "width"), m = U(e, "modelValue"), h = () => {
3906
+ let r = e, c = n, l = G("sidePanel"), { width: d } = ge({ initialWidth: 0 }), f = U(e, "searchInput"), p = U(e, "width"), m = U(e, "modelValue"), h = () => {
3883
3907
  l?.value?.removeAttribute("open"), m.value = !1;
3884
3908
  }, g = () => {
3885
- l.value && Y(l.value, () => {
3909
+ l.value && le(l.value, () => {
3886
3910
  m.value && (c("click-outside"), h());
3887
3911
  }, { ignore: [".pv-click-outside-ignore"] });
3888
3912
  };
3889
3913
  return T(() => {
3890
3914
  m.value && l?.value?.setAttribute("open", "true"), r.closeOnClickOutside && g();
3891
- }), G(() => m.value, () => {
3915
+ }), K(() => m.value, () => {
3892
3916
  m.value ? l?.value?.setAttribute("open", "true") : l?.value?.removeAttribute("open");
3893
3917
  }), ue("Escape", () => {
3894
3918
  l.value && m.value && h();
@@ -3985,8 +4009,8 @@ var Xi = () => ({
3985
4009
  }), f = ee(), p = te(), m = r(() => typeof f.id == "string" ? f.id : p), h = r(() => {
3986
4010
  let e = { ...f };
3987
4011
  return delete e.id, e;
3988
- }), g = W("panel"), _ = null, y = () => c("close");
3989
- return Y(g, y), ue("Escape", y), T(() => {
4012
+ }), g = G("panel"), _ = null, y = () => c("close");
4013
+ return le(g, y), ue("Escape", y), T(() => {
3990
4014
  _ = document.activeElement, g.value?.focus();
3991
4015
  }), D(() => {
3992
4016
  _?.focus();
@@ -4095,11 +4119,11 @@ var Xi = () => ({
4095
4119
  variant: "white",
4096
4120
  useTeleport: !0
4097
4121
  }, {
4098
- trigger: K(() => [u(Xr, {
4122
+ trigger: q(() => [u(Xr, {
4099
4123
  label: `+${e.hiddenValues.length} more`,
4100
4124
  size: "sm"
4101
4125
  }, null, 8, ["label"])]),
4102
- content: K(() => [(k(!0), o(t, null, M(e.hiddenValues, (e, t) => (k(), o("div", {
4126
+ content: q(() => [(k(!0), o(t, null, M(e.hiddenValues, (e, t) => (k(), o("div", {
4103
4127
  key: t,
4104
4128
  class: b(["pv-text-body-md", { "pv-underline-dotted": e.isClickable }]),
4105
4129
  style: S({
@@ -4147,7 +4171,7 @@ var Xi = () => ({
4147
4171
  class: "pv-label",
4148
4172
  for: e.id
4149
4173
  }, [N(n.$slots, "label")], 8, ka)) : a("", !0),
4150
- q(s("textarea", v(n.$attrs, {
4174
+ J(s("textarea", v(n.$attrs, {
4151
4175
  "onUpdate:modelValue": r[0] ||= (e) => t.value = e,
4152
4176
  class: ["pv-textarea", { "pv-surface-accent": e.variant === "grey" }],
4153
4177
  rows: e.rows,
@@ -4155,7 +4179,7 @@ var Xi = () => ({
4155
4179
  placeholder: e.placeholder,
4156
4180
  id: e.id,
4157
4181
  "data-invalid": e.error ? !0 : void 0
4158
- }), null, 16, Aa), [[oe, t.value]]),
4182
+ }), null, 16, Aa), [[ae, t.value]]),
4159
4183
  e.lowerLabel ? (k(), o("p", {
4160
4184
  key: 1,
4161
4185
  style: { "margin-left": "12px" },
@@ -4214,7 +4238,7 @@ var Xi = () => ({
4214
4238
  class: b(d.value),
4215
4239
  for: f.value
4216
4240
  }, [
4217
- q(s("input", {
4241
+ J(s("input", {
4218
4242
  "onUpdate:modelValue": r[0] ||= (e) => n.value = e,
4219
4243
  class: "pv-hide",
4220
4244
  id: f.value,
@@ -4222,7 +4246,7 @@ var Xi = () => ({
4222
4246
  value: e.value,
4223
4247
  name: e.name,
4224
4248
  disabled: e.disabled
4225
- }, null, 8, Na), [[ie, n.value]]),
4249
+ }, null, 8, Na), [[re, n.value]]),
4226
4250
  e.leftIcon ? (k(), i(Q, {
4227
4251
  key: 0,
4228
4252
  name: e.leftIcon
@@ -4405,7 +4429,7 @@ var Xi = () => ({
4405
4429
  }),
4406
4430
  emits: ["update:modelValue"],
4407
4431
  setup(e) {
4408
- let t = W("inputRef"), n = {
4432
+ let t = G("inputRef"), n = {
4409
4433
  h1: "ghost-input-h1",
4410
4434
  h2: "ghost-input-h2",
4411
4435
  h3: "ghost-input-h3",
@@ -4428,7 +4452,7 @@ var Xi = () => ({
4428
4452
  };
4429
4453
  T(() => {
4430
4454
  l.value && l.value.length > 0 ? f(l.value) : c.placeholder ? f(c.placeholder) : u.value = 240, c.autofocus && t.value?.focus();
4431
- }), G(() => l.value, () => {
4455
+ }), K(() => l.value, () => {
4432
4456
  l.value && l.value.length > 0 ? f(l.value) : c.placeholder ? f(c.placeholder) : u.value = 240;
4433
4457
  });
4434
4458
  let f = (e) => {
@@ -4445,7 +4469,7 @@ var Xi = () => ({
4445
4469
  "data-invalid": e.error ? !0 : void 0
4446
4470
  }, [
4447
4471
  N(f.$slots, "action"),
4448
- q(s("input", v({
4472
+ J(s("input", v({
4449
4473
  ref_key: "inputRef",
4450
4474
  ref: t
4451
4475
  }, c, {
@@ -4455,7 +4479,7 @@ var Xi = () => ({
4455
4479
  placeholder: e.placeholder,
4456
4480
  disabled: e.disabled,
4457
4481
  name: n[e.variant]
4458
- }), null, 16, qa), [[oe, l.value]]),
4482
+ }), null, 16, qa), [[ae, l.value]]),
4459
4483
  e.showEditIcon ? (k(), i($, {
4460
4484
  key: 0,
4461
4485
  "left-icon": "edit",
@@ -4546,7 +4570,7 @@ var Xi = () => ({
4546
4570
  t[p(n)] = e.children[r]?.getBoundingClientRect().width ?? 0;
4547
4571
  }), C.value = t, v.value = parseFloat(getComputedStyle(e).columnGap) || 0, x.value = !1;
4548
4572
  };
4549
- G([
4573
+ K([
4550
4574
  () => c.collapseOverflow,
4551
4575
  () => c.size,
4552
4576
  r(() => JSON.stringify(h.value, [
@@ -4559,17 +4583,17 @@ var Xi = () => ({
4559
4583
  () => _.value > 0
4560
4584
  ], ee, { flush: "post" }), T(() => {
4561
4585
  document.fonts?.ready.then(ee);
4562
- }), G(() => z.value.length, (e) => {
4586
+ }), K(() => z.value.length, (e) => {
4563
4587
  e || (S.value = !1);
4564
4588
  });
4565
- let H = j(), te = (e) => H.value ?? e.label, ne = (e) => {
4589
+ let H = j(), te = (e) => H.value ?? e.label, W = (e) => {
4566
4590
  H.value = e;
4567
- }, W = (e) => {
4591
+ }, G = (e) => {
4568
4592
  let t = H.value ?? e.label;
4569
4593
  d("handle-input-submit", p(e), t.trim().length > 0 ? t : e.label), H.value = void 0;
4570
- }, re = (e) => {
4594
+ }, ne = (e) => {
4571
4595
  H.value = void 0, e.target instanceof HTMLInputElement && e.target.blur();
4572
- }, ie = (e) => {
4596
+ }, re = (e) => {
4573
4597
  if (!e.disabled) {
4574
4598
  if (e.type === "addButton") {
4575
4599
  d("add-button-click", p(e));
@@ -4577,16 +4601,16 @@ var Xi = () => ({
4577
4601
  }
4578
4602
  e.type !== "input" && (f.value = p(e));
4579
4603
  }
4580
- }, ae = (e) => {
4581
- e.disabled || (ie(e), S.value = !1);
4582
- }, oe = (e) => e.type !== "addButton" && p(e) === f.value ? !0 : null, se = (e) => {
4604
+ }, ie = (e) => {
4605
+ e.disabled || (re(e), S.value = !1);
4606
+ }, ae = (e) => e.type !== "addButton" && p(e) === f.value ? !0 : null, oe = (e) => {
4583
4607
  if (E(e)) return "overflow";
4584
4608
  if (e.type === "addButton") return "add-button";
4585
4609
  if (e.type === "input") return "input";
4586
- }, ce = (e) => !!e.options?.length && e.type !== "input" && e.type !== "addButton", q = (e, t) => {
4610
+ }, se = (e) => !!e.options?.length && e.type !== "input" && e.type !== "addButton", J = (e, t) => {
4587
4611
  d("option-click", p(e), t.value);
4588
- }, Y = j(!1), ue = (e) => e.type === "addButton" && !!e.options?.length, X = (e, t) => {
4589
- d("add-button-click", p(e), t.value), Y.value = !1;
4612
+ }, le = j(!1), ue = (e) => e.type === "addButton" && !!e.options?.length, X = (e, t) => {
4613
+ d("add-button-click", p(e), t.value), le.value = !1;
4590
4614
  };
4591
4615
  return (n, r) => (k(), o("ul", {
4592
4616
  ref_key: "listRef",
@@ -4601,18 +4625,18 @@ var Xi = () => ({
4601
4625
  }, [(k(!0), o(t, null, M(V.value, (e) => (k(), o("li", {
4602
4626
  key: p(e),
4603
4627
  class: "pv-flex",
4604
- "data-active": oe(e),
4605
- "data-type": se(e),
4606
- "data-testid": se(e) ? `pv-tab-${se(e)}` : "pv-tab",
4607
- onClick: () => ie(e)
4628
+ "data-active": ae(e),
4629
+ "data-type": oe(e),
4630
+ "data-testid": oe(e) ? `pv-tab-${oe(e)}` : "pv-tab",
4631
+ onClick: () => re(e)
4608
4632
  }, [e.type === "input" ? (k(), o("div", Xa, [u(Ja, {
4609
4633
  variant: "text-md",
4610
4634
  autofocus: "",
4611
4635
  placeholder: e.label,
4612
4636
  "model-value": te(e),
4613
- "onUpdate:modelValue": ne,
4614
- onKeydown: [le(() => W(e), ["enter"]), le(re, ["esc"])],
4615
- onFocusout: () => W(e)
4637
+ "onUpdate:modelValue": W,
4638
+ onKeydown: [ce(() => G(e), ["enter"]), ce(ne, ["esc"])],
4639
+ onFocusout: () => G(e)
4616
4640
  }, null, 8, [
4617
4641
  "placeholder",
4618
4642
  "model-value",
@@ -4625,43 +4649,43 @@ var Xi = () => ({
4625
4649
  class: "pv-tab-overflow",
4626
4650
  position: "bottom-left",
4627
4651
  "disable-auto-placement": "",
4628
- onClick: r[1] ||= J(() => {}, ["stop"])
4652
+ onClick: r[1] ||= Y(() => {}, ["stop"])
4629
4653
  }, {
4630
- trigger: K(() => [s("button", {
4654
+ trigger: q(() => [s("button", {
4631
4655
  type: "button",
4632
4656
  "aria-haspopup": "true",
4633
4657
  "aria-expanded": S.value
4634
4658
  }, R(e.label), 9, Za)]),
4635
- content: K(() => [s("ul", Qa, [(k(!0), o(t, null, M(z.value, (e) => (k(), o("li", { key: p(e) }, [s("a", {
4659
+ content: q(() => [s("ul", Qa, [(k(!0), o(t, null, M(z.value, (e) => (k(), o("li", { key: p(e) }, [s("a", {
4636
4660
  href: "#",
4637
4661
  "aria-disabled": e.disabled,
4638
4662
  title: e.disabled ? e.disabledReason : void 0,
4639
- onClick: J((t) => ae(e), ["prevent"])
4663
+ onClick: Y((t) => ie(e), ["prevent"])
4640
4664
  }, R(e.label), 9, $a)]))), 128))])]),
4641
4665
  _: 2
4642
4666
  }, 1032, ["modelValue"])) : ue(e) ? (k(), i(ur, {
4643
4667
  key: 2,
4644
- modelValue: Y.value,
4645
- "onUpdate:modelValue": r[2] ||= (e) => Y.value = e,
4668
+ modelValue: le.value,
4669
+ "onUpdate:modelValue": r[2] ||= (e) => le.value = e,
4646
4670
  class: "pv-tab-add-menu",
4647
4671
  position: "bottom-left",
4648
4672
  "disable-auto-placement": "",
4649
4673
  disabled: e.disabled,
4650
- onClick: r[3] ||= J(() => {}, ["stop"])
4674
+ onClick: r[3] ||= Y(() => {}, ["stop"])
4651
4675
  }, {
4652
- trigger: K(() => [s("button", {
4676
+ trigger: q(() => [s("button", {
4653
4677
  type: "button",
4654
4678
  "aria-haspopup": "true",
4655
- "aria-expanded": Y.value,
4679
+ "aria-expanded": le.value,
4656
4680
  disabled: e.disabled,
4657
4681
  title: e.disabled ? e.disabledReason : void 0
4658
4682
  }, [e.icon ? (k(), i(Q, {
4659
4683
  key: 0,
4660
4684
  name: e.icon
4661
4685
  }, null, 8, ["name"])) : a("", !0), l(" " + R(e.label), 1)], 8, eo)]),
4662
- content: K(() => [s("ul", to, [(k(!0), o(t, null, M(e.options, (t) => (k(), o("li", { key: t.value }, [s("a", {
4686
+ content: q(() => [s("ul", to, [(k(!0), o(t, null, M(e.options, (t) => (k(), o("li", { key: t.value }, [s("a", {
4663
4687
  href: "#",
4664
- onClick: J((n) => X(e, t), ["prevent"])
4688
+ onClick: Y((n) => X(e, t), ["prevent"])
4665
4689
  }, R(t.label), 9, no)]))), 128))])]),
4666
4690
  _: 2
4667
4691
  }, 1032, ["modelValue", "disabled"])) : (k(), o("button", {
@@ -4678,25 +4702,25 @@ var Xi = () => ({
4678
4702
  e.counter ? (k(), i(Xe, {
4679
4703
  key: 1,
4680
4704
  value: e.counter,
4681
- variant: oe(e) ? "primary" : "tertiary",
4705
+ variant: ae(e) ? "primary" : "tertiary",
4682
4706
  size: "sm"
4683
4707
  }, null, 8, ["value", "variant"])) : a("", !0)
4684
- ], 8, ro)), ce(e) ? (k(), i(ur, {
4708
+ ], 8, ro)), se(e) ? (k(), i(ur, {
4685
4709
  key: 4,
4686
4710
  class: "pv-tab-options",
4687
4711
  "show-on-hover": "",
4688
- onClick: r[4] ||= J(() => {}, ["stop"])
4712
+ onClick: r[4] ||= Y(() => {}, ["stop"])
4689
4713
  }, {
4690
- trigger: K(() => [u($, {
4714
+ trigger: q(() => [u($, {
4691
4715
  "left-icon": "ellipsis-vertical",
4692
4716
  variant: "ghost",
4693
4717
  size: "md",
4694
4718
  ariaLabel: "Tab options"
4695
4719
  })]),
4696
- content: K(() => [s("ul", io, [(k(!0), o(t, null, M(e.options, (t) => (k(), o("li", { key: t.value }, [s("a", {
4720
+ content: q(() => [s("ul", io, [(k(!0), o(t, null, M(e.options, (t) => (k(), o("li", { key: t.value }, [s("a", {
4697
4721
  href: "#",
4698
4722
  class: b({ "pv-text-critical": t.value === "delete" }),
4699
- onClick: J((n) => q(e, t), ["prevent"])
4723
+ onClick: Y((n) => J(e, t), ["prevent"])
4700
4724
  }, R(t.label), 11, ao)]))), 128))])]),
4701
4725
  _: 2
4702
4726
  }, 1024)) : a("", !0)], 8, Ya))), 128))], 2));
@@ -4931,11 +4955,11 @@ var Xi = () => ({
4931
4955
  variant: "dark",
4932
4956
  "tooltip-position": "top-left"
4933
4957
  }, {
4934
- label: K(() => [u(Q, {
4958
+ label: q(() => [u(Q, {
4935
4959
  name: "close",
4936
- onClick: r[0] ||= J((e) => n.$emit("handle-clear"), ["stop"])
4960
+ onClick: r[0] ||= Y((e) => n.$emit("handle-clear"), ["stop"])
4937
4961
  })]),
4938
- "tooltip-content": K(() => [...r[1] ||= [l(" Clear Selections ", -1)]]),
4962
+ "tooltip-content": q(() => [...r[1] ||= [l(" Clear Selections ", -1)]]),
4939
4963
  _: 1
4940
4964
  })) : a("", !0)
4941
4965
  ], 10, vo));
@@ -5063,7 +5087,7 @@ var No = ["title"], Po = ["title"], Fo = { style: {
5063
5087
  };
5064
5088
  return T(() => {
5065
5089
  x();
5066
- }), G(() => [
5090
+ }), K(() => [
5067
5091
  n.queryText,
5068
5092
  n.text,
5069
5093
  n.subText,
@@ -5166,13 +5190,13 @@ var No = ["title"], Po = ["title"], Fo = { style: {
5166
5190
  disableInteractive: !0,
5167
5191
  style: { "pointer-events": "auto" }
5168
5192
  }, {
5169
- trigger: K(() => [u(Q, {
5193
+ trigger: q(() => [u(Q, {
5170
5194
  size: 12,
5171
5195
  name: "info-circle",
5172
5196
  class: "pv-text-subdued",
5173
- onClick: r[0] ||= J(() => {}, ["stop", "prevent"])
5197
+ onClick: r[0] ||= Y(() => {}, ["stop", "prevent"])
5174
5198
  })]),
5175
- content: K(() => [s("div", Fo, R(e.description), 1)]),
5199
+ content: q(() => [s("div", Fo, R(e.description), 1)]),
5176
5200
  _: 1
5177
5201
  })) : e.secondaryText && typeof e.secondaryText == "number" ? (k(), i(Xe, {
5178
5202
  key: 6,
@@ -5217,14 +5241,14 @@ var No = ["title"], Po = ["title"], Fo = { style: {
5217
5241
  "pv-input-xsmall": e.size === "sm",
5218
5242
  "pv-switch-hide-check": e.hideCheckIcon
5219
5243
  }])
5220
- }, [e.label ? (k(), o("span", zo, R(e.label), 1)) : a("", !0), q(s("input", {
5244
+ }, [e.label ? (k(), o("span", zo, R(e.label), 1)) : a("", !0), J(s("input", {
5221
5245
  "onUpdate:modelValue": i[0] ||= (e) => n.value = e,
5222
5246
  disabled: e.disabled,
5223
5247
  "aria-label": e.ariaLabel,
5224
5248
  type: "checkbox",
5225
5249
  role: "switch",
5226
5250
  id: V(t)
5227
- }, null, 8, Bo), [[re, n.value]])], 10, Ro));
5251
+ }, null, 8, Bo), [[ne, n.value]])], 10, Ro));
5228
5252
  }
5229
5253
  }), Ho = ["aria-label"], Uo = /* @__PURE__ */ d({
5230
5254
  __name: "PvMenuItemAction",
@@ -5258,16 +5282,16 @@ var No = ["title"], Po = ["title"], Fo = { style: {
5258
5282
  "disable-interactive": !0,
5259
5283
  "use-teleport": !0
5260
5284
  }, c({
5261
- trigger: K(() => [s("span", {
5285
+ trigger: q(() => [s("span", {
5262
5286
  class: b(["pv-text-brand", { "pv-action-button-reveal-on-hover": !f.value }]),
5263
5287
  role: "img",
5264
5288
  "aria-label": o.value,
5265
- onClick: t[0] ||= J(() => {}, ["stop"])
5289
+ onClick: t[0] ||= Y(() => {}, ["stop"])
5266
5290
  }, [u(Q, { name: n.value }, null, 8, ["name"])], 10, Ho)]),
5267
5291
  _: 2
5268
5292
  }, [o.value ? {
5269
5293
  name: "content",
5270
- fn: K(() => [l(R(o.value), 1)]),
5294
+ fn: q(() => [l(R(o.value), 1)]),
5271
5295
  key: "0"
5272
5296
  } : void 0]), 1024));
5273
5297
  }
@@ -5324,7 +5348,7 @@ var No = ["title"], Po = ["title"], Fo = { style: {
5324
5348
  },
5325
5349
  emits: ["handle-selected", "toggle-expanded"],
5326
5350
  setup(e, { emit: t }) {
5327
- let n = e, c = W("inputRef"), l = h(Wo, void 0), d = h(Go, j(!1)), p = h(Jo, void 0), m = h(Yo, void 0), g = h(Ko, r(() => !1)), _ = r(() => {
5351
+ let n = e, c = G("inputRef"), l = h(Wo, void 0), d = h(Go, j(!1)), p = h(Jo, void 0), m = h(Yo, void 0), g = h(Ko, r(() => !1)), _ = r(() => {
5328
5352
  if (!d.value || !Do(n)) return [];
5329
5353
  let e = n.children ? Oo(n.children) : [];
5330
5354
  if (p?.value) {
@@ -5434,7 +5458,7 @@ var No = ["title"], Po = ["title"], Fo = { style: {
5434
5458
  class: "pv-button-ghost pv-menu-item-expand-chevron",
5435
5459
  "aria-label": n.text ? `Toggle children for ${n.text}` : "Toggle children",
5436
5460
  "aria-expanded": e.expanded,
5437
- onClick: r[1] ||= J((e) => P("toggle-expanded"), ["prevent", "stop"])
5461
+ onClick: r[1] ||= Y((e) => P("toggle-expanded"), ["prevent", "stop"])
5438
5462
  }, [u(Q, {
5439
5463
  name: e.chevronIcon ?? "chevron-right",
5440
5464
  size: 12
@@ -5500,11 +5524,11 @@ var No = ["title"], Po = ["title"], Fo = { style: {
5500
5524
  ]);
5501
5525
  return Object.fromEntries(Object.entries(p).filter(([t]) => e.has(t)));
5502
5526
  }), g = h(Yo, void 0), _ = h(Xo, void 0), y = j(i.defaultExpanded ?? !1);
5503
- G(() => i.defaultExpanded, (e) => {
5527
+ K(() => i.defaultExpanded, (e) => {
5504
5528
  e && (y.value = !0);
5505
5529
  });
5506
5530
  let x = j(!1), C = j(!1), w = j(i.children ?? []), T = j(/* @__PURE__ */ new Set());
5507
- G(() => i.children, (e) => {
5531
+ K(() => i.children, (e) => {
5508
5532
  if (!e) {
5509
5533
  w.value = [];
5510
5534
  return;
@@ -5677,32 +5701,32 @@ var No = ["title"], Po = ["title"], Fo = { style: {
5677
5701
  let e = p.value;
5678
5702
  E(), e && y(() => Se(e));
5679
5703
  }, O = [...h(qo, []), m];
5680
- A(qo, O), Y(g, (e) => {
5704
+ A(qo, O), le(g, (e) => {
5681
5705
  (e.target instanceof Element ? e.target.closest("[data-pv-menu-ancestors]")?.dataset.pvMenuAncestors?.split(" ") : void 0)?.includes(m) || E();
5682
5706
  }, { ignore: [x] });
5683
5707
  let P = L(f.value);
5684
- G(f, (e) => {
5708
+ K(f, (e) => {
5685
5709
  P.value = e;
5686
5710
  });
5687
5711
  let F, I = (e) => {
5688
5712
  F = e, f.value = e;
5689
5713
  };
5690
- G(P, (e) => {
5714
+ K(P, (e) => {
5691
5715
  e !== F && e !== f.value && I(e);
5692
5716
  }), A(Wo, P), A(Ko, r(() => l.childrenDisplay === "popover"));
5693
5717
  let R = r(() => l.childrenDisplay === "inline" && !!l.enableCascadeSelection);
5694
5718
  A(Go, R);
5695
- let z = h(Jo, void 0), B = h(Zo, j(!1)), ee = h(Yo, void 0), H = h(Xo, void 0), ne = r(() => l.singleSelect || l.config?.variant === "radio"), W = r(() => l.options.find((e) => e.id === p.value && e.children?.length)), re = (e, t, n = !1, r = !0) => {
5719
+ let z = h(Jo, void 0), B = h(Zo, j(!1)), ee = h(Yo, void 0), H = h(Xo, void 0), W = r(() => l.singleSelect || l.config?.variant === "radio"), G = r(() => l.options.find((e) => e.id === p.value && e.children?.length)), ne = (e, t, n = !1, r = !0) => {
5696
5720
  let i = !r || p.value !== e.id;
5697
5721
  p.value = i ? e.id : void 0, i && (C.value = t, y(() => {
5698
5722
  T(), n && be(_.value ?? document.getElementById(m), 0);
5699
5723
  }));
5700
- }, ie = (e, t = !1) => {
5724
+ }, re = (e, t = !1) => {
5701
5725
  if (l.readOnly) return;
5702
5726
  let n = (!t && l.childrenDisplay === "popover" ? l.options.find((t) => t.id === e.option.id) : void 0) ?? e.option;
5703
5727
  if (l.childrenDisplay === "popover" && !t && n.children?.length) {
5704
5728
  let t = e.event.currentTarget?.closest("li");
5705
- t && re(n, t);
5729
+ t && ne(n, t);
5706
5730
  return;
5707
5731
  }
5708
5732
  let r;
@@ -5721,7 +5745,7 @@ var No = ["title"], Po = ["title"], Fo = { style: {
5721
5745
  let e = new Map(H.value);
5722
5746
  e.delete(n.id), H.value = e;
5723
5747
  }
5724
- } else if (ne.value) r = P.value.length === 1 && P.value[0].id === n.id ? l.disableDeselect ? P.value : [] : [n];
5748
+ } else if (W.value) r = P.value.length === 1 && P.value[0].id === n.id ? l.disableDeselect ? P.value : [] : [n];
5725
5749
  else {
5726
5750
  let e = P.value.findIndex((e) => e.id === n.id);
5727
5751
  if (r = e > -1 ? [...P.value.slice(0, e), ...P.value.slice(e + 1)] : [...P.value, n], R.value && ee?.value && H?.value) {
@@ -5739,23 +5763,23 @@ var No = ["title"], Po = ["title"], Fo = { style: {
5739
5763
  ...e,
5740
5764
  option: n
5741
5765
  } : e);
5742
- }, ae = (e) => {
5743
- let t = W.value;
5766
+ }, ie = (e) => {
5767
+ let t = G.value;
5744
5768
  if (!t) return;
5745
5769
  let n = t.children?.find((t) => t.id === e.option.id) ?? e.option;
5746
- ie({
5770
+ re({
5747
5771
  ...e,
5748
5772
  option: n
5749
5773
  }, !0), p.value = void 0, y(() => Se(t.id));
5750
- }, oe = r(() => new Set(P.value.map((e) => e.id))), ce = (e) => {
5774
+ }, ae = r(() => new Set(P.value.map((e) => e.id))), se = (e) => {
5751
5775
  for (let t of e) {
5752
- if (oe.value.has(t.id)) return t;
5753
- let e = t.children?.length ? ce(t.children) : void 0;
5776
+ if (ae.value.has(t.id)) return t;
5777
+ let e = t.children?.length ? se(t.children) : void 0;
5754
5778
  if (e) return e;
5755
5779
  }
5756
- }, le = (e) => {
5780
+ }, ce = (e) => {
5757
5781
  if (l.childrenDisplay !== "popover" || !e.children?.length) return e;
5758
- let t = ce(e.children);
5782
+ let t = se(e.children);
5759
5783
  return {
5760
5784
  ...e,
5761
5785
  children: void 0,
@@ -5763,18 +5787,18 @@ var No = ["title"], Po = ["title"], Fo = { style: {
5763
5787
  subText: t?.text ?? e.subText,
5764
5788
  totalChildCount: void 0
5765
5789
  };
5766
- }, J = (e) => ({
5790
+ }, Y = (e) => ({
5767
5791
  ...e,
5768
5792
  children: void 0,
5769
5793
  totalChildCount: void 0
5770
- }), ue = (e) => l.childrenDisplay === "popover" ? e.config ?? l.config : l.config, X = (e) => oe.value.has(e.id) || R.value && ee?.value?.has(e.id) || (R.value || l.childrenDisplay === "popover") && e.children?.length && ce(e.children) ? !0 : null, de = (e) => {
5794
+ }), ue = (e) => l.childrenDisplay === "popover" ? e.config ?? l.config : l.config, X = (e) => ae.value.has(e.id) || R.value && ee?.value?.has(e.id) || (R.value || l.childrenDisplay === "popover") && e.children?.length && se(e.children) ? !0 : null, de = (e) => {
5771
5795
  let t = e.config?.variant ?? l.config?.variant;
5772
- return ne.value || t === "radio" ? "menuitemradio" : t === "checkbox" ? "menuitemcheckbox" : "menuitem";
5773
- }, fe = (e) => de(e) === "menuitem" ? void 0 : !!X(e), Z = (e) => e.children?.length && !l.highlightParentItems ? null : de(e) !== "menuitemcheckbox" && X(e) || p.value === e.id ? !0 : null, pe = (e) => de(e) !== "menuitemcheckbox" && oe.value.has(e.id) ? !0 : null, me = (e, t) => !!(!t || oe.value.has(e.id) || ee?.value?.has(e.id) || e.children?.length && ce(e.children)), he = j(), ge = j(), _e = r(() => {
5796
+ return W.value || t === "radio" ? "menuitemradio" : t === "checkbox" ? "menuitemcheckbox" : "menuitem";
5797
+ }, fe = (e) => de(e) === "menuitem" ? void 0 : !!X(e), Z = (e) => e.children?.length && !l.highlightParentItems ? null : de(e) !== "menuitemcheckbox" && X(e) || p.value === e.id ? !0 : null, pe = (e) => de(e) !== "menuitemcheckbox" && ae.value.has(e.id) ? !0 : null, me = (e, t) => !!(!t || ae.value.has(e.id) || ee?.value?.has(e.id) || e.children?.length && se(e.children)), he = j(), ge = j(), _e = r(() => {
5774
5798
  let e = l.options.filter((e) => !l.readOnly && !e.disabled && me(e, l.isLoading)).map((e) => e.id);
5775
5799
  return l.hasMoreOptions && !l.isSeeMoreLoading && e.push(ms), he.value && e.includes(he.value) ? he.value : e[0];
5776
5800
  }), ve = r(() => {
5777
- let e = W.value?.children?.filter((e) => !l.readOnly && !e.disabled) ?? [];
5801
+ let e = G.value?.children?.filter((e) => !l.readOnly && !e.disabled) ?? [];
5778
5802
  return e.some((e) => e.id === ge.value) ? ge.value : e[0]?.id;
5779
5803
  }), ye = (e) => {
5780
5804
  let t = Array.from(e?.querySelectorAll("li[role='none'] > [role^='menuitem']:not([aria-disabled='true'])") ?? []).filter((e) => !e.hidden && e.style.display !== "none");
@@ -5788,7 +5812,7 @@ var No = ["title"], Po = ["title"], Fo = { style: {
5788
5812
  }, Se = (e) => {
5789
5813
  ye(g.value).find((t) => t.dataset.optionId === e)?.focus();
5790
5814
  };
5791
- G([p, () => !!W.value], ([e]) => {
5815
+ K([p, () => !!G.value], ([e]) => {
5792
5816
  ge.value = void 0, e && y(() => {
5793
5817
  let t = Array.from(g.value?.children ?? []).find((t) => t.dataset.optionId === e);
5794
5818
  t && (C.value = t, T());
@@ -5806,11 +5830,11 @@ var No = ["title"], Po = ["title"], Fo = { style: {
5806
5830
  if (!(e.target !== e.currentTarget || Ce(e, g.value))) switch (e.key) {
5807
5831
  case "ArrowRight":
5808
5832
  if (!t.children?.length) break;
5809
- e.preventDefault(), re(t, e.currentTarget, !0, !1);
5833
+ e.preventDefault(), ne(t, e.currentTarget, !0, !1);
5810
5834
  break;
5811
5835
  case "Enter":
5812
5836
  case " ":
5813
- e.preventDefault(), t.children?.length ? re(t, e.currentTarget, !0, !1) : ie({
5837
+ e.preventDefault(), t.children?.length ? ne(t, e.currentTarget, !0, !1) : re({
5814
5838
  event: e,
5815
5839
  option: t
5816
5840
  });
@@ -5845,7 +5869,7 @@ var No = ["title"], Po = ["title"], Fo = { style: {
5845
5869
  }
5846
5870
  case "Enter":
5847
5871
  case " ":
5848
- e.preventDefault(), ae({
5872
+ e.preventDefault(), ie({
5849
5873
  event: e,
5850
5874
  option: t
5851
5875
  });
@@ -5860,14 +5884,14 @@ var No = ["title"], Po = ["title"], Fo = { style: {
5860
5884
  ref: g,
5861
5885
  role: e.childrenDisplay === "popover" ? "menu" : "list",
5862
5886
  class: "pv-popover-list"
5863
- }, r.$attrs), [(k(!0), o(t, null, M(e.options, (t) => q((k(), o("li", {
5887
+ }, r.$attrs), [(k(!0), o(t, null, M(e.options, (t) => J((k(), o("li", {
5864
5888
  key: t.id,
5865
5889
  "data-active": Z(t),
5866
5890
  "data-option-id": t.id,
5867
5891
  "data-testid": e.itemTestId,
5868
5892
  class: b(e.itemClass),
5869
5893
  role: e.childrenDisplay === "popover" ? "none" : void 0
5870
- }, [u(ss, v({ ref_for: !0 }, le(t), {
5894
+ }, [u(ss, v({ ref_for: !0 }, ce(t), {
5871
5895
  "aria-checked": e.childrenDisplay === "popover" ? fe(t) : void 0,
5872
5896
  "aria-controls": e.childrenDisplay === "popover" && t.children?.length ? V(m) : void 0,
5873
5897
  "aria-disabled": e.childrenDisplay === "popover" && (l.readOnly || t.disabled) ? "true" : void 0,
@@ -5884,7 +5908,7 @@ var No = ["title"], Po = ["title"], Fo = { style: {
5884
5908
  tabindex: e.childrenDisplay === "popover" ? _e.value === t.id ? 0 : -1 : void 0,
5885
5909
  onFocus: (e) => he.value = t.id,
5886
5910
  onKeydown: (n) => e.childrenDisplay === "popover" ? we(n, t) : void 0,
5887
- onHandleSelected: ie,
5911
+ onHandleSelected: re,
5888
5912
  onSeeMore: c[0] ||= (e) => d("see-more", e)
5889
5913
  }), null, 16, [
5890
5914
  "aria-checked",
@@ -5903,7 +5927,7 @@ var No = ["title"], Po = ["title"], Fo = { style: {
5903
5927
  "tabindex",
5904
5928
  "onFocus",
5905
5929
  "onKeydown"
5906
- ])], 10, ls)), [[se, me(t, e.isLoading)]])), 128)), e.hasMoreOptions ? (k(), o("li", {
5930
+ ])], 10, ls)), [[oe, me(t, e.isLoading)]])), 128)), e.hasMoreOptions ? (k(), o("li", {
5907
5931
  key: 0,
5908
5932
  role: e.childrenDisplay === "popover" ? "none" : void 0
5909
5933
  }, [u($, {
@@ -5923,7 +5947,7 @@ var No = ["title"], Po = ["title"], Fo = { style: {
5923
5947
  "disabled",
5924
5948
  "role",
5925
5949
  "tabindex"
5926
- ])], 8, us)) : a("", !0)], 16, cs), e.childrenDisplay === "popover" && W.value ? (k(), i(n, {
5950
+ ])], 8, us)) : a("", !0)], 16, cs), e.childrenDisplay === "popover" && G.value ? (k(), i(n, {
5927
5951
  key: 0,
5928
5952
  to: "body"
5929
5953
  }, [s("div", {
@@ -5940,24 +5964,24 @@ var No = ["title"], Po = ["title"], Fo = { style: {
5940
5964
  maxWidth: "calc(100vw - 16px)"
5941
5965
  }
5942
5966
  }, {
5943
- default: K(() => [N(r.$slots, "popover", {
5944
- option: W.value,
5967
+ default: q(() => [N(r.$slots, "popover", {
5968
+ option: G.value,
5945
5969
  popoverId: V(m),
5946
5970
  close: D
5947
5971
  }, () => [s("ul", {
5948
5972
  id: V(m),
5949
5973
  ref_key: "nestedMenuRef",
5950
5974
  ref: _,
5951
- "aria-label": `${W.value.text} options`,
5975
+ "aria-label": `${G.value.text} options`,
5952
5976
  class: "pv-popover-list",
5953
5977
  role: "menu"
5954
- }, [(k(!0), o(t, null, M(W.value.children, (t) => (k(), o("li", {
5978
+ }, [(k(!0), o(t, null, M(G.value.children, (t) => (k(), o("li", {
5955
5979
  key: t.id,
5956
5980
  "data-active": pe(t),
5957
5981
  "data-option-id": t.id,
5958
5982
  class: b(e.itemClass),
5959
5983
  role: "none"
5960
- }, [u(ss, v({ ref_for: !0 }, J(t), {
5984
+ }, [u(ss, v({ ref_for: !0 }, Y(t), {
5961
5985
  "aria-checked": fe(t),
5962
5986
  "aria-disabled": l.readOnly || t.disabled ? "true" : void 0,
5963
5987
  "data-active": pe(t),
@@ -5971,7 +5995,7 @@ var No = ["title"], Po = ["title"], Fo = { style: {
5971
5995
  tabindex: ve.value === t.id ? 0 : -1,
5972
5996
  onFocus: (e) => ge.value = t.id,
5973
5997
  onKeydown: (e) => Ee(e, t),
5974
- onHandleSelected: ae,
5998
+ onHandleSelected: ie,
5975
5999
  onSeeMore: c[4] ||= (e) => d("see-more", e)
5976
6000
  }), null, 16, [
5977
6001
  "aria-checked",
@@ -6135,7 +6159,7 @@ var No = ["title"], Po = ["title"], Fo = { style: {
6135
6159
  state: "deselected"
6136
6160
  }))), t.push(r);
6137
6161
  }
6138
- for (let n of ne.value) e.has(n.id) || t.push({
6162
+ for (let n of W.value) e.has(n.id) || t.push({
6139
6163
  id: n.id,
6140
6164
  state: "selected"
6141
6165
  });
@@ -6143,18 +6167,18 @@ var No = ["title"], Po = ["title"], Fo = { style: {
6143
6167
  }, w = r(() => c.hasMoreOptions == null ? c.totalOptionCount == null ? !1 : c.totalOptionCount > c.options.length : c.hasMoreOptions), T = r(() => {
6144
6168
  let e = c.additionalCounter ?? 0;
6145
6169
  if (c.enableCascadeSelection && c.countSelectedParents && I.value?.length) return jo(I.value) + e;
6146
- if (!c.countSelectedParents || !c.enableCascadeSelection) return ne.value.length + e;
6147
- let t = new Set(ne.value.map((e) => e.id));
6170
+ if (!c.countSelectedParents || !c.enableCascadeSelection) return W.value.length + e;
6171
+ let t = new Set(W.value.map((e) => e.id));
6148
6172
  return Ao(c.options, t) + e;
6149
- }), E = r(() => ne.value.length > 0 ? !0 : c.enableCascadeSelection && I.value?.length ? I.value.some((e) => e.state === "selected") : !1), D = (e) => {
6173
+ }), E = r(() => W.value.length > 0 ? !0 : c.enableCascadeSelection && I.value?.length ? I.value.some((e) => e.state === "selected") : !1), D = (e) => {
6150
6174
  h("see-more", e ?? {});
6151
- }, O = W("searchInputRef"), [j, P] = he(c.defaultOpen), F = U(e, "modelValue"), I = U(e, "selectionState"), z = U(e, "searchInput"), B = r(() => c.menuActionsVariant === "cancel-confirm"), ee = (e) => {
6152
- ne.value = e, B.value || (F.value = e, I.value = C());
6175
+ }, O = G("searchInputRef"), [j, P] = he(c.defaultOpen), F = U(e, "modelValue"), I = U(e, "selectionState"), z = U(e, "searchInput"), B = r(() => c.menuActionsVariant === "cancel-confirm"), ee = (e) => {
6176
+ W.value = e, B.value || (F.value = e, I.value = C());
6153
6177
  }, H = () => {
6154
- B.value && (F.value = ne.value, I.value = C());
6178
+ B.value && (F.value = W.value, I.value = C());
6155
6179
  }, te = () => {
6156
- B.value && (ne.value = F.value);
6157
- }, ne = L(F.value), re = (e) => d.value.get(e), ie = (e) => {
6180
+ B.value && (W.value = F.value);
6181
+ }, W = L(F.value), ne = (e) => d.value.get(e), re = (e) => {
6158
6182
  if (!c.enableCascadeSelection || !e) return;
6159
6183
  let t = /* @__PURE__ */ new Set(), n = /* @__PURE__ */ new Map(), r = [], i = /* @__PURE__ */ new Set(), a = (e, t) => {
6160
6184
  i.has(t) || (i.add(t), r.push(e ?? {
@@ -6170,55 +6194,55 @@ var No = ["title"], Po = ["title"], Fo = { style: {
6170
6194
  for (let t of i) e.has(t.id) || a(t, t.id);
6171
6195
  continue;
6172
6196
  }
6173
- a(re(r.id), r.id);
6197
+ a(ne(r.id), r.id);
6174
6198
  }
6175
- f.value = t, p.value = n, ne.value = r;
6176
- }, ae = r({
6177
- get: () => ne.value,
6199
+ f.value = t, p.value = n, W.value = r;
6200
+ }, ie = r({
6201
+ get: () => W.value,
6178
6202
  set: (e) => {
6179
6203
  ee(e);
6180
6204
  }
6181
- }), oe = () => {
6205
+ }), ae = () => {
6182
6206
  z.value = "", j.value = !1;
6183
- }, se = r(() => {
6207
+ }, oe = r(() => {
6184
6208
  let e = c.size === "lg" ? 24 : 30;
6185
6209
  return c.overlayTrigger ? -e : void 0;
6186
6210
  });
6187
- G(() => F.value, (e) => {
6211
+ K(() => F.value, (e) => {
6188
6212
  if (c.enableCascadeSelection && I.value?.length && e.length === 0) {
6189
- ie(I.value);
6213
+ re(I.value);
6190
6214
  return;
6191
6215
  }
6192
- ne.value = e;
6193
- }), G(() => [I.value, c.options], () => {
6194
- ie(I.value);
6216
+ W.value = e;
6217
+ }), K(() => [I.value, c.options], () => {
6218
+ re(I.value);
6195
6219
  }, {
6196
6220
  deep: !0,
6197
6221
  immediate: !0
6198
- }), G(j, (e) => {
6222
+ }), K(j, (e) => {
6199
6223
  e ? (te(), y(() => {
6200
6224
  c.overlayTrigger && !c.disableSearchInput && O.value?.input?.focus(), h("dropdown-open");
6201
6225
  })) : (te(), h("dropdown-closed"));
6202
6226
  });
6203
- let ce = r(() => {
6227
+ let se = r(() => {
6204
6228
  if (z.value === "") return c.options;
6205
6229
  let e = z.value.toLocaleLowerCase();
6206
6230
  return c.enableCascadeSelection ? Mo(c.options, e, !c.hideParentOnChildQueryMatch) : c.options.filter((t) => t.text.toLocaleLowerCase().includes(e) || t.searchText?.toLocaleLowerCase().includes(e));
6207
- }), q = () => {
6231
+ }), J = () => {
6208
6232
  if (c.enableCascadeSelection) {
6209
6233
  let e = /* @__PURE__ */ new Set(), t = (n) => {
6210
6234
  for (let r of n) Do(r) && (e.add(r.id), r.children?.length && t(r.children));
6211
6235
  };
6212
- t(ce.value), f.value = e, p.value = /* @__PURE__ */ new Map();
6236
+ t(se.value), f.value = e, p.value = /* @__PURE__ */ new Map();
6213
6237
  }
6214
- let e = c.enableCascadeSelection ? Oo(ce.value) : ce.value;
6238
+ let e = c.enableCascadeSelection ? Oo(se.value) : se.value;
6215
6239
  h("select-all", e.length), ee(e);
6216
- }, le = () => {
6217
- h("clear-all", ne.value.length), f.value = /* @__PURE__ */ new Set(), p.value = /* @__PURE__ */ new Map(), ee([]);
6218
- }, J = () => {
6219
- te(), oe();
6240
+ }, ce = () => {
6241
+ h("clear-all", W.value.length), f.value = /* @__PURE__ */ new Set(), p.value = /* @__PURE__ */ new Map(), ee([]);
6220
6242
  }, Y = () => {
6221
- H(), oe();
6243
+ te(), ae();
6244
+ }, le = () => {
6245
+ H(), ae();
6222
6246
  }, X = r(() => {
6223
6247
  if (!c.groupings) return;
6224
6248
  let e = /* @__PURE__ */ new Map();
@@ -6238,17 +6262,17 @@ var No = ["title"], Po = ["title"], Fo = { style: {
6238
6262
  slotContext: c.slotContext,
6239
6263
  isOpen: j.value,
6240
6264
  isLoading: c.isLoading
6241
- })), Z = r(() => c.rumActionName ? c.rumActionName : c.rumFilterName ? `Open ${c.rumFilterName} filter` : void 0), pe = r(() => c.rumFilterName ? `Search ${c.rumFilterName} options` : void 0), me = W("popoverContentRef"), ge = r(() => {
6265
+ })), Z = r(() => c.rumActionName ? c.rumActionName : c.rumFilterName ? `Open ${c.rumFilterName} filter` : void 0), pe = r(() => c.rumFilterName ? `Search ${c.rumFilterName} options` : void 0), me = G("popoverContentRef"), ge = r(() => {
6242
6266
  let e = me.value?.getRootNode();
6243
6267
  return e instanceof ShadowRoot ? e.host : null;
6244
6268
  }), { present: _e } = ir("header", { host: ge }), { present: ve } = ir("no-results", { host: ge }), { present: ye } = ir("footer", { host: ge });
6245
6269
  return ue("Escape", () => {
6246
- j.value && oe();
6270
+ j.value && ae();
6247
6271
  }), (n, r) => (k(), i(ur, v({
6248
6272
  modelValue: V(j),
6249
6273
  "onUpdate:modelValue": r[4] ||= (e) => g(j) ? j.value = e : null
6250
- }, e.popoverProperties, { offset: se.value }), {
6251
- trigger: K(() => [u(So, {
6274
+ }, e.popoverProperties, { offset: oe.value }), {
6275
+ trigger: q(() => [u(So, {
6252
6276
  ref: "select-button-trigger-ref",
6253
6277
  variant: e.variant,
6254
6278
  size: e.size,
@@ -6263,9 +6287,9 @@ var No = ["title"], Po = ["title"], Fo = { style: {
6263
6287
  open: V(j),
6264
6288
  "counter-value": T.value,
6265
6289
  "counter-style": e.counterStyle,
6266
- "selected-items": ne.value,
6290
+ "selected-items": W.value,
6267
6291
  "data-dd-action-name": Z.value,
6268
- onHandleClear: le,
6292
+ onHandleClear: ce,
6269
6293
  onHandleToggleDropdown: r[0] ||= (e) => V(P)()
6270
6294
  }, null, 8, [
6271
6295
  "variant",
@@ -6284,7 +6308,7 @@ var No = ["title"], Po = ["title"], Fo = { style: {
6284
6308
  "selected-items",
6285
6309
  "data-dd-action-name"
6286
6310
  ])]),
6287
- content: K(() => [s("div", {
6311
+ content: q(() => [s("div", {
6288
6312
  ref_key: "popoverContentRef",
6289
6313
  ref: me,
6290
6314
  class: "pv-popover",
@@ -6306,11 +6330,11 @@ var No = ["title"], Po = ["title"], Fo = { style: {
6306
6330
  placeholder: e.searchPlaceholder
6307
6331
  }, null, 8, ["model-value", "placeholder"])], 8, gs)),
6308
6332
  n.$slots.header || V(_e) ? (k(), o("div", _s, [N(n.$slots, "header", x(m(fe.value)))])) : a("", !0),
6309
- ce.value.length > 0 ? (k(), o(t, { key: 2 }, [de.value ? (k(!0), o(t, { key: 0 }, M(X.value, ([t, i], s) => (k(), o("div", { key: t }, [
6333
+ se.value.length > 0 ? (k(), o(t, { key: 2 }, [de.value ? (k(!0), o(t, { key: 0 }, M(X.value, ([t, i], s) => (k(), o("div", { key: t }, [
6310
6334
  n.$slots[t] ? N(n.$slots, t, { key: 0 }) : t === "other" ? a("", !0) : (k(), o("span", vs, R(t), 1)),
6311
6335
  u(hs, {
6312
- selectedItems: ae.value,
6313
- "onUpdate:selectedItems": r[2] ||= (e) => ae.value = e,
6336
+ selectedItems: ie.value,
6337
+ "onUpdate:selectedItems": r[2] ||= (e) => ie.value = e,
6314
6338
  options: i,
6315
6339
  config: l.value,
6316
6340
  singleSelect: e.singleSelect,
@@ -6337,9 +6361,9 @@ var No = ["title"], Po = ["title"], Fo = { style: {
6337
6361
  X.value && s !== X.value.length - 1 ? (k(), o("div", ys)) : a("", !0)
6338
6362
  ]))), 128)) : (k(), i(hs, {
6339
6363
  key: 1,
6340
- selectedItems: ae.value,
6341
- "onUpdate:selectedItems": r[3] ||= (e) => ae.value = e,
6342
- options: ce.value,
6364
+ selectedItems: ie.value,
6365
+ "onUpdate:selectedItems": r[3] ||= (e) => ie.value = e,
6366
+ options: se.value,
6343
6367
  config: l.value,
6344
6368
  singleSelect: e.singleSelect,
6345
6369
  queryText: e.highlightSearchText ? z.value : null,
@@ -6360,7 +6384,7 @@ var No = ["title"], Po = ["title"], Fo = { style: {
6360
6384
  "isSeeMoreLoading",
6361
6385
  "hasMoreOptions"
6362
6386
  ]))], 64)) : a("", !0),
6363
- e.isLoading ? (k(), o("div", bs, [u(Be, { variant: "dark" }), e.loadingText ? (k(), o("span", xs, R(e.loadingText), 1)) : a("", !0)])) : ce.value.length === 0 ? (k(), o(t, { key: 4 }, [V(ve) ? N(n.$slots, "no-results", x(v({ key: 0 }, fe.value))) : (k(), i(Eo, { key: 1 }))], 64)) : a("", !0),
6387
+ e.isLoading ? (k(), o("div", bs, [u(Be, { variant: "dark" }), e.loadingText ? (k(), o("span", xs, R(e.loadingText), 1)) : a("", !0)])) : se.value.length === 0 ? (k(), o(t, { key: 4 }, [V(ve) ? N(n.$slots, "no-results", x(v({ key: 0 }, fe.value))) : (k(), i(Eo, { key: 1 }))], 64)) : a("", !0),
6364
6388
  V(ye) || e.menuActionsVariant ? (k(), o("div", {
6365
6389
  key: 5,
6366
6390
  class: b(["pv-sticky pv-surface pv-border-top pv-inset-square-8", { "pv-flow-8": e.footerPosition === "below-actions" }]),
@@ -6375,10 +6399,10 @@ var No = ["title"], Po = ["title"], Fo = { style: {
6375
6399
  variant: e.menuActionsVariant,
6376
6400
  disabled: e.isLoading,
6377
6401
  rumFilterName: e.rumFilterName,
6378
- onHandleClearAll: le,
6379
- onHandleSelectAll: q,
6380
- onHandleCancel: J,
6381
- onHandleConfirm: Y
6402
+ onHandleClearAll: ce,
6403
+ onHandleSelectAll: J,
6404
+ onHandleCancel: Y,
6405
+ onHandleConfirm: le
6382
6406
  }, null, 8, [
6383
6407
  "variant",
6384
6408
  "disabled",
@@ -6454,7 +6478,7 @@ var No = ["title"], Po = ["title"], Fo = { style: {
6454
6478
  counterBadgeVariant: n.counterBadgeVariant,
6455
6479
  size: n.size
6456
6480
  })), d = t, [f] = he(n.defaultOpen), p = U(e, "modelValue"), m = U(e, "searchInput");
6457
- G(f, (e) => {
6481
+ K(f, (e) => {
6458
6482
  d(e ? "dropdown-open" : "dropdown-closed");
6459
6483
  });
6460
6484
  let h = r(() => !n.staticLabel && p.value && p.value.text ? p.value.text : n.label), _ = r(() => p.value?.icon || n.icon), y = r(() => {
@@ -6493,7 +6517,7 @@ var No = ["title"], Po = ["title"], Fo = { style: {
6493
6517
  modelValue: V(f),
6494
6518
  "onUpdate:modelValue": n[2] ||= (e) => g(f) ? f.value = e : null
6495
6519
  }, c.value), {
6496
- trigger: K(() => [u(So, {
6520
+ trigger: q(() => [u(So, {
6497
6521
  class: "pv-full-width",
6498
6522
  ref: "select-button-trigger-ref",
6499
6523
  variant: e.variant,
@@ -6537,7 +6561,7 @@ var No = ["title"], Po = ["title"], Fo = { style: {
6537
6561
  "renderer",
6538
6562
  "selectedOption"
6539
6563
  ])]),
6540
- content: K(() => [s("div", {
6564
+ content: q(() => [s("div", {
6541
6565
  class: "pv-popover pv-popover-scrollable",
6542
6566
  "data-test-id": "pv-popover",
6543
6567
  style: S([e.popoverCssProperties, { position: "unset" }])
@@ -6622,7 +6646,7 @@ var No = ["title"], Po = ["title"], Fo = { style: {
6622
6646
  p,
6623
6647
  ...n.options.filter((t) => !e.has(t.id))
6624
6648
  ];
6625
- }), _ = W("sortableListRef"), v = W("containerRef"), y = null, x = null, C = !1, w = () => {
6649
+ }), _ = G("sortableListRef"), v = G("containerRef"), y = null, x = null, C = !1, w = () => {
6626
6650
  if (!_.value) return c.value;
6627
6651
  let e = Array.from(_.value.children).map((e) => e.id), t = e.findIndex((e) => e === Ps);
6628
6652
  return t !== -1 && (e = e.slice(0, t)), e = e.filter((e) => !e.startsWith(Fs)), e.map((e) => n.options.find((t) => t.id === e) || null).filter(Boolean).slice(0, n.activeOptionLimit || Infinity);
@@ -6729,11 +6753,11 @@ var No = ["title"], Po = ["title"], Fo = { style: {
6729
6753
  useTeleport: !0,
6730
6754
  disableInteractive: !0
6731
6755
  }, {
6732
- trigger: K(() => [u(Q, {
6756
+ trigger: q(() => [u(Q, {
6733
6757
  class: "pv-text-tertiary",
6734
6758
  name: "info-circle"
6735
6759
  })]),
6736
- content: K(() => [s("div", Ms, R(d(e)), 1)]),
6760
+ content: q(() => [s("div", Ms, R(d(e)), 1)]),
6737
6761
  _: 2
6738
6762
  }, 1024)) : a("", !0)
6739
6763
  ], 2), !F(e) && !l(e) ? (k(), i($, {
@@ -7049,7 +7073,7 @@ var No = ["title"], Po = ["title"], Fo = { style: {
7049
7073
  },
7050
7074
  emits: ["ask-tq-click"],
7051
7075
  setup(e, { emit: t }) {
7052
- let n = W("rootRef"), { present: c } = ir("right", { host: r(() => {
7076
+ let n = G("rootRef"), { present: c } = ir("right", { host: r(() => {
7053
7077
  let e = n.value?.getRootNode();
7054
7078
  return e instanceof ShadowRoot ? e.host : null;
7055
7079
  }) }), l = t;
@@ -7062,7 +7086,7 @@ var No = ["title"], Po = ["title"], Fo = { style: {
7062
7086
  "background-color": "#fdfdfc"
7063
7087
  }
7064
7088
  }, {
7065
- default: K(() => [e.title ? (k(), o("span", rc, R(e.title), 1)) : (k(), o("div", {
7089
+ default: q(() => [e.title ? (k(), o("span", rc, R(e.title), 1)) : (k(), o("div", {
7066
7090
  key: 1,
7067
7091
  id: e.headerTitleId,
7068
7092
  class: "pv-flex"
@@ -7180,7 +7204,7 @@ var No = ["title"], Po = ["title"], Fo = { style: {
7180
7204
  key: t.value,
7181
7205
  description: e.hideLabels ? t.label : ""
7182
7206
  }, {
7183
- trigger: K(() => [s("label", { class: b(["pv-label pv-label-hover pv-flex pv-toggle-small", { "pv-disabled": e.disabled || t.disabled }]) }, [
7207
+ trigger: q(() => [s("label", { class: b(["pv-label pv-label-hover pv-flex pv-toggle-small", { "pv-disabled": e.disabled || t.disabled }]) }, [
7184
7208
  s("input", {
7185
7209
  type: "radio",
7186
7210
  name: c.value,
@@ -7216,7 +7240,7 @@ var No = ["title"], Po = ["title"], Fo = { style: {
7216
7240
  emits: ["update:modelValue"],
7217
7241
  setup(e) {
7218
7242
  let t = U(e, "modelValue");
7219
- return (n, r) => q((k(), o("input", {
7243
+ return (n, r) => J((k(), o("input", {
7220
7244
  "onUpdate:modelValue": r[0] ||= (e) => t.value = e,
7221
7245
  class: "pv-checkbox",
7222
7246
  type: "checkbox",
@@ -7224,7 +7248,7 @@ var No = ["title"], Po = ["title"], Fo = { style: {
7224
7248
  "aria-label": e.ariaLabel,
7225
7249
  disabled: e.disabled,
7226
7250
  indeterminate: e.indeterminate
7227
- }, null, 8, _c)), [[re, t.value]]);
7251
+ }, null, 8, _c)), [[ne, t.value]]);
7228
7252
  }
7229
7253
  }), yc = ["aria-label", "aria-labelledby"], bc = ["id"], xc = [
7230
7254
  "name",
@@ -7267,14 +7291,14 @@ var No = ["title"], Po = ["title"], Fo = { style: {
7267
7291
  }, [(k(!0), o(t, null, M(e.options, (t) => (k(), o("label", {
7268
7292
  key: String(t.value),
7269
7293
  class: "pv-label pv-flex"
7270
- }, [q(s("input", {
7294
+ }, [J(s("input", {
7271
7295
  "onUpdate:modelValue": r[0] ||= (e) => i.value = e,
7272
7296
  class: "pv-radio",
7273
7297
  type: "radio",
7274
7298
  name: d.value,
7275
7299
  value: t.value,
7276
7300
  disabled: e.disabled || t.disabled
7277
- }, null, 8, xc), [[ae, i.value]]), l(" " + R(t.label), 1)]))), 128))], 6)], 8, yc));
7301
+ }, null, 8, xc), [[ie, i.value]]), l(" " + R(t.label), 1)]))), 128))], 6)], 8, yc));
7278
7302
  }
7279
7303
  }), Cc = /* @__PURE__ */ d({
7280
7304
  __name: "PvSprite",
@@ -7367,7 +7391,7 @@ var No = ["title"], Po = ["title"], Fo = { style: {
7367
7391
  key: 0,
7368
7392
  class: "pv-absolute input-icon-position",
7369
7393
  name: e.inputIcon
7370
- }, null, 8, ["name"])) : a("", !0), q(s("input", v(n.$attrs, {
7394
+ }, null, 8, ["name"])) : a("", !0), J(s("input", v(n.$attrs, {
7371
7395
  "onUpdate:modelValue": r[0] ||= (e) => c.value = e,
7372
7396
  "data-testid": "pv-input",
7373
7397
  class: ["pv-input-text", {
@@ -7381,7 +7405,7 @@ var No = ["title"], Po = ["title"], Fo = { style: {
7381
7405
  id: e.id,
7382
7406
  "data-invalid": e.error ? !0 : void 0,
7383
7407
  step: e.step
7384
- }), null, 16, Oc), [[ie, c.value]])])], 2),
7408
+ }), null, 16, Oc), [[re, c.value]])])], 2),
7385
7409
  e.lowerLabel ? (k(), o("p", {
7386
7410
  key: 1,
7387
7411
  "data-testid": "pv-input-lower-label",
@@ -7528,7 +7552,7 @@ var No = ["title"], Po = ["title"], Fo = { style: {
7528
7552
  style: S(c.value ? { "--flex-align": "flex-start" } : void 0),
7529
7553
  "data-testid": "pv-card"
7530
7554
  }, {
7531
- default: K(() => [c.value ? (k(), o(t, { key: 0 }, [
7555
+ default: q(() => [c.value ? (k(), o(t, { key: 0 }, [
7532
7556
  e.headerAction ? (k(), o("div", Bc, [s("div", Vc, [N(n.$slots, "header")]), s("div", Hc, [N(n.$slots, "header-action")])])) : a("", !0),
7533
7557
  e.descriptionAction ? (k(), o("div", Uc, [s("div", Wc, [N(n.$slots, "description")]), s("div", Gc, [N(n.$slots, "description-action")])])) : a("", !0),
7534
7558
  e.footerAction ? (k(), o("div", Kc, [s("div", qc, [N(n.$slots, "footer")]), s("div", Jc, [N(n.$slots, "footer-action")])])) : a("", !0)
@@ -7545,7 +7569,7 @@ var No = ["title"], Po = ["title"], Fo = { style: {
7545
7569
  __name: "PvWidget",
7546
7570
  setup(e) {
7547
7571
  return (e, t) => (k(), i(Yc, { class: "pv-inset-square-16" }, {
7548
- default: K(() => [N(e.$slots, "default")]),
7572
+ default: q(() => [N(e.$slots, "default")]),
7549
7573
  _: 3
7550
7574
  }));
7551
7575
  }
@@ -7594,7 +7618,7 @@ var No = ["title"], Po = ["title"], Fo = { style: {
7594
7618
  onClick: r[1] ||= (e) => t.$emit("click"),
7595
7619
  class: "pv-relative"
7596
7620
  }, {
7597
- default: K(() => [s("div", Zc, [
7621
+ default: q(() => [s("div", Zc, [
7598
7622
  n.value ? (k(), o("div", Qc, [e.icon ? (k(), i(Q, {
7599
7623
  key: 0,
7600
7624
  style: { color: "#218c88" },
@@ -7611,7 +7635,7 @@ var No = ["title"], Po = ["title"], Fo = { style: {
7611
7635
  variant: "ghost",
7612
7636
  size: "md",
7613
7637
  class: "pv-insight-button",
7614
- onClick: r[0] ||= J((e) => t.$emit("icon-click"), ["stop"])
7638
+ onClick: r[0] ||= Y((e) => t.$emit("icon-click"), ["stop"])
7615
7639
  })) : a("", !0)]),
7616
7640
  _: 1
7617
7641
  }, 8, ["interactive"]));
@@ -7644,7 +7668,7 @@ var No = ["title"], Po = ["title"], Fo = { style: {
7644
7668
  };
7645
7669
  T(() => {
7646
7670
  f(), document.fonts?.ready.then(f);
7647
- }), G(() => n.lines, f), me(c, f), pe(c, f, {
7671
+ }), K(() => n.lines, f), me(c, f), pe(c, f, {
7648
7672
  characterData: !0,
7649
7673
  childList: !0,
7650
7674
  subtree: !0
@@ -7747,7 +7771,7 @@ var No = ["title"], Po = ["title"], Fo = { style: {
7747
7771
  onMousedown: o,
7748
7772
  onClick: s
7749
7773
  }, {
7750
- default: K(() => [N(t.$slots, "default")]),
7774
+ default: q(() => [N(t.$slots, "default")]),
7751
7775
  _: 3
7752
7776
  }, 40, ["class", "data-pv-tree-select-id"]));
7753
7777
  }
@@ -7944,7 +7968,7 @@ var No = ["title"], Po = ["title"], Fo = { style: {
7944
7968
  active: I.value,
7945
7969
  level: e.level
7946
7970
  }, {
7947
- default: K(() => [(k(), i(F(j.value), {
7971
+ default: q(() => [(k(), i(F(j.value), {
7948
7972
  class: b({ ...V(p)(e.option) }),
7949
7973
  option: e.option,
7950
7974
  selected: A(e.option.node_id),
@@ -7958,9 +7982,9 @@ var No = ["title"], Po = ["title"], Fo = { style: {
7958
7982
  onHandleSelected: n[0] ||= (e) => t.$emit("handle-tree-select", e),
7959
7983
  onMouseenter: n[1] ||= (t) => V(h)(e.option.node_id),
7960
7984
  onMouseleave: n[2] ||= (e) => V(g)(),
7961
- onContextmenu: n[3] ||= J((t) => e.settings[e.option.field]?.rendererParams?.onContextMenu?.(t, e.option), ["stop"])
7985
+ onContextmenu: n[3] ||= Y((t) => e.settings[e.option.field]?.rendererParams?.onContextMenu?.(t, e.option), ["stop"])
7962
7986
  }, {
7963
- default: K(() => [q(u(ul, null, null, 512), [[se, V(m) === e.option.node_id && V(_)(e.isDraggable, e.settings, e.option)]]), s("div", Tl, [M.value ? (k(), i(ml, {
7987
+ default: q(() => [J(u(ul, null, null, 512), [[oe, V(m) === e.option.node_id && V(_)(e.isDraggable, e.settings, e.option)]]), s("div", Tl, [M.value ? (k(), i(ml, {
7964
7988
  key: 0,
7965
7989
  "is-last": N.value
7966
7990
  }, null, 8, ["is-last"])) : a("", !0), e.settings[e.option.field]?.renderer ? (k(), i(F(e.settings[e.option.field]?.renderer), {
@@ -8001,7 +8025,7 @@ var No = ["title"], Po = ["title"], Fo = { style: {
8001
8025
  onEnd: V(f),
8002
8026
  onAdd: V(f)
8003
8027
  }, {
8004
- item: K(({ element: i, index: a }) => [u(r, {
8028
+ item: q(({ element: i, index: a }) => [u(r, {
8005
8029
  "is-parent-path-open": e.isParentPathOpen,
8006
8030
  option: i,
8007
8031
  settings: e.settings,
@@ -8079,7 +8103,7 @@ var No = ["title"], Po = ["title"], Fo = { style: {
8079
8103
  active: z.value,
8080
8104
  level: e.level
8081
8105
  }, {
8082
- default: K(() => [(k(), i(F(P(e.option)), {
8106
+ default: q(() => [(k(), i(F(P(e.option)), {
8083
8107
  option: e.option,
8084
8108
  selected: N(e.option.node_id),
8085
8109
  "disable-selection": e.disableSelection,
@@ -8093,10 +8117,10 @@ var No = ["title"], Po = ["title"], Fo = { style: {
8093
8117
  onHandleSelected: n[0] ||= (e) => t.$emit("handle-tree-select", e),
8094
8118
  onMouseenter: n[1] ||= (t) => V(l)(e.option.node_id),
8095
8119
  onMouseleave: n[2] ||= (e) => V(d)(),
8096
- onContextmenu: n[3] ||= J((t) => e.settings[e.option.field]?.rendererParams?.onContextMenu?.(t, e.option), ["stop"])
8120
+ onContextmenu: n[3] ||= Y((t) => e.settings[e.option.field]?.rendererParams?.onContextMenu?.(t, e.option), ["stop"])
8097
8121
  }, {
8098
- default: K(() => [
8099
- q(u(ul, null, null, 512), [[se, V(c) === e.option.node_id && V(p)(e.isDraggable, e.settings, e.option)]]),
8122
+ default: q(() => [
8123
+ J(u(ul, null, null, 512), [[oe, V(c) === e.option.node_id && V(p)(e.isDraggable, e.settings, e.option)]]),
8100
8124
  j.value ? (k(), i(ml, {
8101
8125
  key: 0,
8102
8126
  "is-last": R.value
@@ -8140,7 +8164,7 @@ var No = ["title"], Po = ["title"], Fo = { style: {
8140
8164
  onEnd: V(x),
8141
8165
  onAdd: V(x)
8142
8166
  }, {
8143
- item: K(({ element: r, index: i }) => [u(Dl, {
8167
+ item: q(({ element: r, index: i }) => [u(Dl, {
8144
8168
  "is-parent-path-open": e.isParentPathOpen,
8145
8169
  option: r,
8146
8170
  settings: e.settings,
@@ -8205,13 +8229,13 @@ var No = ["title"], Po = ["title"], Fo = { style: {
8205
8229
  emits: ["handle-tree-select", "update:children"],
8206
8230
  setup(e, { emit: t }) {
8207
8231
  let n = e, l = t, d = r(() => (n.openNodeIds ?? []).some((e) => String(e) === String(n.option.node_id))), f = j(n.treeOpen ?? (d.value || (n.settings[n.option.field]?.defaultExpanded ?? !1)));
8208
- G(() => n.treeOpen, (e) => {
8232
+ K(() => n.treeOpen, (e) => {
8209
8233
  e !== void 0 && (f.value = e);
8210
- }), G(d, (e) => {
8234
+ }), K(d, (e) => {
8211
8235
  e && (f.value = !0);
8212
8236
  });
8213
8237
  let p = j(f.value);
8214
- G(f, (e) => {
8238
+ K(f, (e) => {
8215
8239
  e && (p.value = !0);
8216
8240
  });
8217
8241
  let m = r(() => !n.settings[n.option.field]?.lazyChildren || p.value), { getDragGroupConfig: h, getDragAndDropDisabled: g, canItemBeDragged: _, handleMoveCallback: v, childrenDraggable: y, canAcceptDrop: x } = Cl(), { hoveredId: C, handleMouseEnter: w, handleMouseLeave: T } = _l(), { isDragging: E, draggingGroupName: D, onDragStart: O, onDragEnd: A } = Sl(), { dragAndDropIndicatorClasses: M } = wl(), { indentPadding: N, showsConnector: I } = hl(), L = () => {
@@ -8227,14 +8251,14 @@ var No = ["title"], Po = ["title"], Fo = { style: {
8227
8251
  newChildren: e
8228
8252
  });
8229
8253
  }
8230
- }), te = r(() => n.option.children?.length ? void 0 : n.settings[n.option.field]?.emptyAccordionText), U = r(() => !!(n.settings[n.option.field]?.accordion && (n.option.children?.length || te.value))), ne = r(() => I(n.settings, n.parentField)), W = r(() => n.index === void 0 || n.totalSiblings === void 0 ? !0 : n.index === n.totalSiblings - 1), re = r(() => n.level + (ne.value ? 2 : 1)), ie = r(() => ne.value && !W.value), ae = r(() => n.isParentPathOpen ?? !0 ? U.value && n.level === 0 ? f.value : !0 : !1);
8254
+ }), te = r(() => n.option.children?.length ? void 0 : n.settings[n.option.field]?.emptyAccordionText), U = r(() => !!(n.settings[n.option.field]?.accordion && (n.option.children?.length || te.value))), W = r(() => I(n.settings, n.parentField)), G = r(() => n.index === void 0 || n.totalSiblings === void 0 ? !0 : n.index === n.totalSiblings - 1), ne = r(() => n.level + (W.value ? 2 : 1)), re = r(() => W.value && !G.value), ie = r(() => n.isParentPathOpen ?? !0 ? U.value && n.level === 0 ? f.value : !0 : !1);
8231
8255
  return (t, n) => {
8232
8256
  let r = P("PvTreeItem", !0);
8233
8257
  return k(), i(gl, {
8234
- active: ie.value,
8258
+ active: re.value,
8235
8259
  level: e.level
8236
8260
  }, {
8237
- default: K(() => [U.value ? (k(), i(Li, {
8261
+ default: q(() => [U.value ? (k(), i(Li, {
8238
8262
  key: 0,
8239
8263
  modelValue: f.value,
8240
8264
  "onUpdate:modelValue": n[3] ||= (e) => f.value = e,
@@ -8248,7 +8272,7 @@ var No = ["title"], Po = ["title"], Fo = { style: {
8248
8272
  enableTriggerFullWidth: "",
8249
8273
  summaryStyles: {
8250
8274
  ...z(e.level),
8251
- ...e.settings[e.option.field]?.rendererParams?.onProvideCssStyles?.(e.option, { isVisible: ae.value }) ?? {},
8275
+ ...e.settings[e.option.field]?.rendererParams?.onProvideCssStyles?.(e.option, { isVisible: ie.value }) ?? {},
8252
8276
  "justify-content": "flex-start"
8253
8277
  },
8254
8278
  summaryClasses: {
@@ -8261,9 +8285,9 @@ var No = ["title"], Po = ["title"], Fo = { style: {
8261
8285
  onSummaryClick: n[4] ||= (t) => e.settings[e.option.field]?.rendererParams?.onSummaryClick?.(t, e.option),
8262
8286
  onSummaryMouseenter: n[5] ||= (t) => V(w)(e.option.node_id),
8263
8287
  onSummaryMouseleave: n[6] ||= (e) => V(T)(),
8264
- onContextmenu: n[7] ||= J((t) => e.settings[e.option.field]?.rendererParams?.onContextMenu?.(t, e.option), ["stop"])
8288
+ onContextmenu: n[7] ||= Y((t) => e.settings[e.option.field]?.rendererParams?.onContextMenu?.(t, e.option), ["stop"])
8265
8289
  }, c({
8266
- trigger: K(() => [q(u(ul, null, null, 512), [[se, V(C) === e.option.node_id && V(_)(e.isDraggable, e.settings, e.option) && e.level > 0]]), e.settings[e.option.field]?.renderer ? (k(), i(F(e.settings[e.option.field]?.renderer), {
8290
+ trigger: q(() => [J(u(ul, null, null, 512), [[oe, V(C) === e.option.node_id && V(_)(e.isDraggable, e.settings, e.option) && e.level > 0]]), e.settings[e.option.field]?.renderer ? (k(), i(F(e.settings[e.option.field]?.renderer), {
8267
8291
  key: 0,
8268
8292
  option: e.option,
8269
8293
  settings: e.settings,
@@ -8279,10 +8303,10 @@ var No = ["title"], Po = ["title"], Fo = { style: {
8279
8303
  label: e.option.label,
8280
8304
  icon: e.settings[e.option.field]?.icon
8281
8305
  }, null, 8, ["label", "icon"]))]),
8282
- default: K(() => [te.value ? (k(), o("div", {
8306
+ default: q(() => [te.value ? (k(), o("div", {
8283
8307
  key: 0,
8284
8308
  class: "pv-text-body-sm pv-text-subdued pv-tree-empty-accordion",
8285
- style: S(z(re.value))
8309
+ style: S(z(ne.value))
8286
8310
  }, R(te.value), 5)) : a("", !0), m.value ? (k(), o("div", {
8287
8311
  key: 1,
8288
8312
  "data-parent-id": e.option.node_id
@@ -8299,12 +8323,12 @@ var No = ["title"], Po = ["title"], Fo = { style: {
8299
8323
  onEnd: V(A),
8300
8324
  onAdd: V(A)
8301
8325
  }, {
8302
- item: K(({ element: i, index: a }) => [u(r, {
8326
+ item: q(({ element: i, index: a }) => [u(r, {
8303
8327
  "is-parent-path-open": e.isParentPathOpen && f.value,
8304
8328
  "selected-options": e.selectedOptions,
8305
8329
  option: i,
8306
8330
  settings: e.settings,
8307
- level: re.value,
8331
+ level: ne.value,
8308
8332
  index: a,
8309
8333
  "total-siblings": H.value.length,
8310
8334
  "parent-field": e.option.field,
@@ -8340,9 +8364,9 @@ var No = ["title"], Po = ["title"], Fo = { style: {
8340
8364
  "onAdd"
8341
8365
  ])], 8, Al)) : a("", !0)]),
8342
8366
  _: 2
8343
- }, [ne.value ? {
8367
+ }, [W.value ? {
8344
8368
  name: "leading",
8345
- fn: K(() => [u(ml, { "is-last": W.value }, null, 8, ["is-last"])]),
8369
+ fn: q(() => [u(ml, { "is-last": G.value }, null, 8, ["is-last"])]),
8346
8370
  key: "0"
8347
8371
  } : void 0]), 1032, [
8348
8372
  "modelValue",
@@ -8387,18 +8411,18 @@ var No = ["title"], Po = ["title"], Fo = { style: {
8387
8411
  icon: e.settings[e.option.field]?.icon,
8388
8412
  style: S({
8389
8413
  ...z(e.level),
8390
- ...e.settings[e.option.field]?.rendererParams?.onProvideCssStyles?.(e.option, { isVisible: ae.value }) ?? {}
8414
+ ...e.settings[e.option.field]?.rendererParams?.onProvideCssStyles?.(e.option, { isVisible: ie.value }) ?? {}
8391
8415
  }),
8392
8416
  onHandleSelected: n[10] ||= (e) => t.$emit("handle-tree-select", e),
8393
8417
  onMouseenter: n[11] ||= (t) => V(w)(e.option.node_id),
8394
8418
  onMouseleave: n[12] ||= (e) => V(T)(),
8395
- onContextmenu: n[13] ||= J((t) => e.settings[e.option.field]?.rendererParams?.onContextMenu?.(t, e.option), ["stop"])
8419
+ onContextmenu: n[13] ||= Y((t) => e.settings[e.option.field]?.rendererParams?.onContextMenu?.(t, e.option), ["stop"])
8396
8420
  }, {
8397
- default: K(() => [
8398
- q(u(ul, null, null, 512), [[se, V(C) === e.option.node_id && V(_)(e.isDraggable, e.settings, e.option) && e.level > 0]]),
8399
- ne.value ? (k(), i(ml, {
8421
+ default: q(() => [
8422
+ J(u(ul, null, null, 512), [[oe, V(C) === e.option.node_id && V(_)(e.isDraggable, e.settings, e.option) && e.level > 0]]),
8423
+ W.value ? (k(), i(ml, {
8400
8424
  key: 0,
8401
- "is-last": W.value
8425
+ "is-last": G.value
8402
8426
  }, null, 8, ["is-last"])) : a("", !0),
8403
8427
  e.settings[e.option.field]?.renderer ? (k(), i(F(e.settings[e.option.field]?.renderer), {
8404
8428
  key: 1,
@@ -8437,7 +8461,7 @@ var No = ["title"], Po = ["title"], Fo = { style: {
8437
8461
  onEnd: V(A),
8438
8462
  onAdd: V(A)
8439
8463
  }, {
8440
- item: K(({ element: i, index: a }) => [u(r, {
8464
+ item: q(({ element: i, index: a }) => [u(r, {
8441
8465
  "is-parent-path-open": e.isParentPathOpen,
8442
8466
  "selected-options": e.selectedOptions,
8443
8467
  option: i,
@@ -8804,7 +8828,7 @@ var No = ["title"], Po = ["title"], Fo = { style: {
8804
8828
  right: 40,
8805
8829
  top: 44,
8806
8830
  bottom: 36
8807
- }, c = W("container"), { width: l } = Z(c), u = r(() => l.value || Su), d = r(() => {
8831
+ }, c = G("container"), { width: l } = Z(c), u = r(() => l.value || Su), d = r(() => {
8808
8832
  let e = n.stats;
8809
8833
  if (!e) return null;
8810
8834
  let t = u.value - i.left - i.right, r = n.height - i.top - i.bottom, a = Math.max(e.p90, ...n.markers.map((e) => e.value), n.highlight ?? 0), o = n.xMax && n.xMax > 0 ? n.xMax : Wl(a * 1.05), s = (e) => i.left + Math.min(Math.max(e, 0), o) / o * t, c = i.top + r / 2, l = Math.min(Tu, Math.max(r - Eu, Du));
@@ -9134,19 +9158,19 @@ var No = ["title"], Po = ["title"], Fo = { style: {
9134
9158
  })), N = (e) => M.value.format(e), P = (e) => N(e), F = (e) => {
9135
9159
  let n = N(e);
9136
9160
  return t.dataType === "currency" ? `$${n}` : t.dataType === "percent" ? `${n}%` : n;
9137
- }, I = r(() => t.scale === "log"), L = r(() => E(t.step)), z = r(() => E(t.sliderStep)), B = r(() => L.value !== null && L.value > 0 ? L.value : 0), H = r(() => z.value !== null && z.value > 0 ? Math.max(z.value, B.value) : B.value), ne = r(() => B.value > 0 ? String(B.value) : "any"), W = r(() => I.value ? "1" : H.value > 0 ? String(H.value) : "any"), re = r(() => L.value === null ? 1 : L.value > 0 ? L.value : 0), ie = r(() => z.value !== null && z.value > 0 ? Math.max(z.value, re.value) : re.value), ae = r(() => I.value ? "1" : ie.value > 0 ? String(ie.value) : "any"), oe = r(() => t.color === "multiple" ? "var(--color-data-viz-3, #ff7a4e)" : "var(--color-border, #e3e7ea)"), se = (e) => e.min > 0 ? 0 : 1 - e.min, ce = (e, t) => {
9161
+ }, I = r(() => t.scale === "log"), L = r(() => E(t.step)), z = r(() => E(t.sliderStep)), B = r(() => L.value !== null && L.value > 0 ? L.value : 0), H = r(() => z.value !== null && z.value > 0 ? Math.max(z.value, B.value) : B.value), W = r(() => B.value > 0 ? String(B.value) : "any"), G = r(() => I.value ? "1" : H.value > 0 ? String(H.value) : "any"), ne = r(() => L.value === null ? 1 : L.value > 0 ? L.value : 0), re = r(() => z.value !== null && z.value > 0 ? Math.max(z.value, ne.value) : ne.value), ie = r(() => I.value ? "1" : re.value > 0 ? String(re.value) : "any"), ae = r(() => t.color === "multiple" ? "var(--color-data-viz-3, #ff7a4e)" : "var(--color-border, #e3e7ea)"), oe = (e) => e.min > 0 ? 0 : 1 - e.min, se = (e, t) => {
9138
9162
  if (t.max === t.min) return 0;
9139
9163
  if (!I.value) return (e - t.min) / (t.max - t.min);
9140
- let n = se(t), r = Math.log(t.min + n), i = Math.log(t.max + n);
9164
+ let n = oe(t), r = Math.log(t.min + n), i = Math.log(t.max + n);
9141
9165
  if (i === r) return 0;
9142
9166
  let a = Math.max(t.min, Math.min(t.max, e));
9143
9167
  return (Math.log(a + n) - r) / (i - r);
9144
- }, K = (e, t) => {
9168
+ }, q = (e, t) => {
9145
9169
  let n = Math.max(0, Math.min(1, e));
9146
9170
  if (!I.value) return t.min + n * (t.max - t.min);
9147
- let r = se(t), i = Math.log(t.min + r), a = Math.log(t.max + r);
9171
+ let r = oe(t), i = Math.log(t.min + r), a = Math.log(t.max + r);
9148
9172
  return Math.exp(i + n * (a - i)) - r;
9149
- }, q = (e, t) => Math.max(0, Math.min(100, ce(e, t) * 100)), J = r(() => {
9173
+ }, J = (e, t) => Math.max(0, Math.min(100, se(e, t) * 100)), Y = r(() => {
9150
9174
  let e = E(t.min) ?? Bu, n = E(t.max) ?? Vu;
9151
9175
  return e > n ? {
9152
9176
  max: e,
@@ -9158,8 +9182,8 @@ var No = ["title"], Po = ["title"], Fo = { style: {
9158
9182
  max: n,
9159
9183
  min: e
9160
9184
  };
9161
- }), Y = r(() => E(n.value) ?? J.value.min), ue = r(() => q(Y.value, J.value)), X = r(() => ({
9162
- "--range-track-color": oe.value,
9185
+ }), le = r(() => E(n.value) ?? Y.value.min), ue = r(() => J(le.value, Y.value)), X = r(() => ({
9186
+ "--range-track-color": ae.value,
9163
9187
  "--value": `${ue.value}%`
9164
9188
  })), de = r(() => ({ left: `${ue.value}%` })), fe = (e) => {
9165
9189
  if (!Number.isFinite(e)) return 0;
@@ -9207,11 +9231,11 @@ var No = ["title"], Po = ["title"], Fo = { style: {
9207
9231
  max: Math.max(n, r),
9208
9232
  min: Math.min(n, r)
9209
9233
  };
9210
- }), Ee = r(() => q(Te.value.min, Z.value)), De = r(() => q(Te.value.max, Z.value)), Oe = r(() => ({
9211
- "--range-track-color": oe.value,
9234
+ }), Ee = r(() => J(Te.value.min, Z.value)), De = r(() => J(Te.value.max, Z.value)), Oe = r(() => ({
9235
+ "--range-track-color": ae.value,
9212
9236
  "--value-max": `${De.value}%`,
9213
9237
  "--value-min": `${Ee.value}%`
9214
- })), ke = r(() => ({ left: `${Ee.value}%` })), Ae = r(() => ({ left: `${De.value}%` })), je = r(() => E(c.value?.min) !== null || E(c.value?.max) !== null), Me = (e, t) => I.value ? Math.round(ce(e, t) * Hu) : e, Ne = (e, t) => I.value ? K(e / Hu, t) : e, Pe = r(() => I.value ? 0 : Z.value.min), Fe = r(() => I.value ? Hu : Z.value.max), Ie = r(() => Me(Te.value.min, Z.value)), Le = r(() => Me(Te.value.max, Z.value)), Re = r(() => I.value ? 0 : J.value.min), ze = r(() => I.value ? Hu : J.value.max), Be = r(() => Me(Y.value, J.value)), Ve = r(() => Math.max(P(Z.value.min).length, P(Z.value.max).length, 3)), He = r(() => {
9238
+ })), ke = r(() => ({ left: `${Ee.value}%` })), Ae = r(() => ({ left: `${De.value}%` })), je = r(() => E(c.value?.min) !== null || E(c.value?.max) !== null), Me = (e, t) => I.value ? Math.round(se(e, t) * Hu) : e, Ne = (e, t) => I.value ? q(e / Hu, t) : e, Pe = r(() => I.value ? 0 : Z.value.min), Fe = r(() => I.value ? Hu : Z.value.max), Ie = r(() => Me(Te.value.min, Z.value)), Le = r(() => Me(Te.value.max, Z.value)), Re = r(() => I.value ? 0 : Y.value.min), ze = r(() => I.value ? Hu : Y.value.max), Be = r(() => Me(le.value, Y.value)), Ve = r(() => Math.max(P(Z.value.min).length, P(Z.value.max).length, 3)), He = r(() => {
9215
9239
  let e = t.inputIcon ? "3.25rem" : "2rem";
9216
9240
  return {
9217
9241
  "--flex-align": "stretch",
@@ -9243,14 +9267,14 @@ var No = ["title"], Po = ["title"], Fo = { style: {
9243
9267
  }, $e = () => {
9244
9268
  _.value = !1, Qe();
9245
9269
  }, et = (e, t) => {
9246
- let n = Math.max(J.value.min, Math.min(J.value.max, e));
9270
+ let n = Math.max(Y.value.min, Math.min(Y.value.max, e));
9247
9271
  if (t <= 0) return n;
9248
- let r = I.value ? 0 : J.value.min, i = (n - r) / t, a = Number((Math.round(i) * t + r).toFixed(20));
9249
- return Math.max(J.value.min, Math.min(J.value.max, a));
9250
- }, tt = (e) => et(e, _e(e, re.value)), nt = (e) => tt(et(e, _e(e, ie.value))), rt = () => {
9272
+ let r = I.value ? 0 : Y.value.min, i = (n - r) / t, a = Number((Math.round(i) * t + r).toFixed(20));
9273
+ return Math.max(Y.value.min, Math.min(Y.value.max, a));
9274
+ }, tt = (e) => et(e, _e(e, ne.value)), nt = (e) => tt(et(e, _e(e, re.value))), rt = () => {
9251
9275
  t.disabled || (_.value = !0, Qe(), window.addEventListener("pointerup", $e), w = () => window.removeEventListener("pointerup", $e));
9252
9276
  }, it = (e) => {
9253
- n.value = nt(Ne(Number(e.target.value), J.value));
9277
+ n.value = nt(Ne(Number(e.target.value), Y.value));
9254
9278
  }, at = (e) => {
9255
9279
  Xe("min"), Ke(xe(Ne(Number(e.target.value), Z.value)));
9256
9280
  }, ot = (e) => {
@@ -9265,7 +9289,7 @@ var No = ["title"], Po = ["title"], Fo = { style: {
9265
9289
  let a = e.key === "ArrowRight" || e.key === "ArrowUp" || e.key === "PageUp", o = e.key === "ArrowLeft" || e.key === "ArrowDown" || e.key === "PageDown";
9266
9290
  if (!a && !o) return;
9267
9291
  e.preventDefault();
9268
- let s = a ? 1 : -1, c = e.key === "PageUp" || e.key === "PageDown" ? 10 : 1, l = xe(K(ce(i, r) + s * Wu * c, r), a ? "up" : "down");
9292
+ let s = a ? 1 : -1, c = e.key === "PageUp" || e.key === "PageDown" ? 10 : 1, l = xe(q(se(i, r) + s * Wu * c, r), a ? "up" : "down");
9269
9293
  l === i && (l = i + s * _e(i, H.value)), Xe(n), Je(n, l, !1);
9270
9294
  }, ct = () => {
9271
9295
  g.value !== "min" && (m.value = P(Te.value.min)), g.value !== "max" && (p.value = P(Te.value.max));
@@ -9284,7 +9308,7 @@ var No = ["title"], Po = ["title"], Fo = { style: {
9284
9308
  e.preventDefault(), lt(t), e.target.blur();
9285
9309
  }, ht = (e) => {
9286
9310
  let t = y.value?.getBoundingClientRect();
9287
- return !t || t.width <= 0 ? null : xe(K(Math.max(0, Math.min(1, (e - t.left) / t.width)), Z.value));
9311
+ return !t || t.width <= 0 ? null : xe(q(Math.max(0, Math.min(1, (e - t.left) / t.width)), Z.value));
9288
9312
  }, gt = (e) => {
9289
9313
  let n = ht(e);
9290
9314
  if (n === null) return;
@@ -9308,20 +9332,20 @@ var No = ["title"], Po = ["title"], Fo = { style: {
9308
9332
  window.removeEventListener("pointermove", r), window.removeEventListener("pointerup", vt);
9309
9333
  }, e.preventDefault();
9310
9334
  };
9311
- return G([Te, Z], ct, { immediate: !0 }), C(() => {
9335
+ return K([Te, Z], ct, { immediate: !0 }), C(() => {
9312
9336
  _t(), Qe();
9313
9337
  }), (n, r) => e.mode === "single" ? (k(), o("div", ku, [e.showValueTooltips && _.value ? (k(), o("span", {
9314
9338
  key: 0,
9315
9339
  class: "pv-range-tooltip",
9316
9340
  style: S(de.value)
9317
- }, R(F(Y.value)), 5)) : a("", !0), s("input", v({ id: V(u) }, V(l), {
9341
+ }, R(F(le.value)), 5)) : a("", !0), s("input", v({ id: V(u) }, V(l), {
9318
9342
  "aria-label": e.ariaLabel,
9319
- "aria-valuetext": F(Y.value),
9343
+ "aria-valuetext": F(le.value),
9320
9344
  class: ["pv-range", `pv-range-${t.size}`],
9321
9345
  disabled: e.disabled,
9322
9346
  max: ze.value,
9323
9347
  min: Re.value,
9324
- step: ae.value,
9348
+ step: ie.value,
9325
9349
  style: X.value,
9326
9350
  type: "range",
9327
9351
  value: Be.value,
@@ -9366,7 +9390,7 @@ var No = ["title"], Po = ["title"], Fo = { style: {
9366
9390
  disabled: e.disabled,
9367
9391
  max: Fe.value,
9368
9392
  min: Pe.value,
9369
- step: W.value,
9393
+ step: G.value,
9370
9394
  value: Ie.value,
9371
9395
  onBlur: Ye,
9372
9396
  onChange: Ye,
@@ -9383,7 +9407,7 @@ var No = ["title"], Po = ["title"], Fo = { style: {
9383
9407
  disabled: e.disabled,
9384
9408
  max: Fe.value,
9385
9409
  min: Pe.value,
9386
- step: W.value,
9410
+ step: G.value,
9387
9411
  value: Le.value,
9388
9412
  onBlur: Ye,
9389
9413
  onChange: Ye,
@@ -9408,13 +9432,13 @@ var No = ["title"], Po = ["title"], Fo = { style: {
9408
9432
  disabled: e.disabled,
9409
9433
  inputmode: "decimal",
9410
9434
  placeholder: "Min",
9411
- step: ne.value,
9435
+ step: W.value,
9412
9436
  type: "text",
9413
9437
  value: m.value,
9414
9438
  onBlur: r[4] ||= (e) => pt("min"),
9415
9439
  onFocus: r[5] ||= (e) => ft("min"),
9416
9440
  onInput: ut,
9417
- onKeydown: r[6] ||= le((e) => mt(e, "min"), ["enter"])
9441
+ onKeydown: r[6] ||= ce((e) => mt(e, "min"), ["enter"])
9418
9442
  }, null, 40, Lu)], 2)], 4),
9419
9443
  s("label", {
9420
9444
  class: "pv-flex-vertical pv-range-input-label",
@@ -9430,13 +9454,13 @@ var No = ["title"], Po = ["title"], Fo = { style: {
9430
9454
  disabled: e.disabled,
9431
9455
  inputmode: "decimal",
9432
9456
  placeholder: "Max",
9433
- step: ne.value,
9457
+ step: W.value,
9434
9458
  type: "text",
9435
9459
  value: p.value,
9436
9460
  onBlur: r[7] ||= (e) => pt("max"),
9437
9461
  onFocus: r[8] ||= (e) => ft("max"),
9438
9462
  onInput: dt,
9439
- onKeydown: r[9] ||= le((e) => mt(e, "max"), ["enter"])
9463
+ onKeydown: r[9] ||= ce((e) => mt(e, "max"), ["enter"])
9440
9464
  }, null, 40, zu)], 2)], 4),
9441
9465
  e.showClear && je.value ? (k(), i($, {
9442
9466
  key: 0,
@@ -9516,7 +9540,7 @@ var No = ["title"], Po = ["title"], Fo = { style: {
9516
9540
  },
9517
9541
  emits: ["focus-value", "toggle-value"],
9518
9542
  setup(e, { emit: t }) {
9519
- let n = e, c = t, d = ne(), f = r(() => n.resultCount !== null && n.resultCount !== void 0 && n.resultCount !== ""), p = r(() => n.focusActionLabel ?? (n.isFocused ? `Remove ${n.focusText}` : `Select as ${n.focusText}`)), m = r(() => !n.renderer && (f.value || !!d["result-count"])), h = r(() => ({ "--pv-filter-panel-option-row-depth": String(n.depth) })), g = r(() => ({
9543
+ let n = e, c = t, d = W(), f = r(() => n.resultCount !== null && n.resultCount !== void 0 && n.resultCount !== ""), p = r(() => n.focusActionLabel ?? (n.isFocused ? `Remove ${n.focusText}` : `Select as ${n.focusText}`)), m = r(() => !n.renderer && (f.value || !!d["result-count"])), h = r(() => ({ "--pv-filter-panel-option-row-depth": String(n.depth) })), g = r(() => ({
9520
9544
  disabled: n.disabled,
9521
9545
  highlightSearchText: !0,
9522
9546
  id: n.value,
@@ -9579,13 +9603,13 @@ var No = ["title"], Po = ["title"], Fo = { style: {
9579
9603
  position: "top-right",
9580
9604
  size: "sm"
9581
9605
  }, {
9582
- trigger: K(() => [u($, {
9606
+ trigger: q(() => [u($, {
9583
9607
  ariaLabel: p.value,
9584
9608
  disabled: e.disabled || e.focusActionDisabled,
9585
9609
  leftIcon: "focus",
9586
9610
  size: "md",
9587
9611
  variant: e.isFocused ? "primary" : "ghost",
9588
- onClick: J(C, ["stop", "prevent"])
9612
+ onClick: Y(C, ["stop", "prevent"])
9589
9613
  }, null, 8, [
9590
9614
  "ariaLabel",
9591
9615
  "disabled",
@@ -10082,32 +10106,32 @@ var No = ["title"], Po = ["title"], Fo = { style: {
10082
10106
  e.matchedValue,
10083
10107
  e.matchedField
10084
10108
  ].concat(t.flatMap((e) => e == null ? [] : [String(e)])).filter((e) => !!e).join(" ").toLowerCase();
10085
- }, U = r(() => E.value === "range" ? c.filter.rangeValue?.min !== null && c.filter.rangeValue?.min !== void 0 || c.filter.rangeValue?.max !== null && c.filter.rangeValue?.max !== void 0 ? 1 : void 0 : E.value === "boolean" ? c.filter.booleanValue !== null && c.filter.booleanValue !== void 0 ? 1 : void 0 : E.value === "exists" ? c.filter.existsValue ? 1 : void 0 : O.value ? tf(A.value) || void 0 : P.value.length || void 0), ne = (e) => e.totalChildCount === null || e.totalChildCount === void 0 ? !1 : e.totalChildCount > (e.children?.length ?? 0), W = (e, t = 0) => e.flatMap((e) => [
10109
+ }, U = r(() => E.value === "range" ? c.filter.rangeValue?.min !== null && c.filter.rangeValue?.min !== void 0 || c.filter.rangeValue?.max !== null && c.filter.rangeValue?.max !== void 0 ? 1 : void 0 : E.value === "boolean" ? c.filter.booleanValue !== null && c.filter.booleanValue !== void 0 ? 1 : void 0 : E.value === "exists" ? c.filter.existsValue ? 1 : void 0 : O.value ? tf(A.value) || void 0 : P.value.length || void 0), W = (e) => e.totalChildCount === null || e.totalChildCount === void 0 ? !1 : e.totalChildCount > (e.children?.length ?? 0), G = (e, t = 0) => e.flatMap((e) => [
10086
10110
  {
10087
10111
  depth: t,
10088
10112
  kind: "option",
10089
10113
  option: e
10090
10114
  },
10091
- ...e.children?.length ? W(e.children, t + 1) : [],
10092
- ...ne(e) ? [{
10115
+ ...e.children?.length ? G(e.children, t + 1) : [],
10116
+ ...W(e) ? [{
10093
10117
  depth: t + 1,
10094
10118
  kind: "child-load-more",
10095
10119
  parent: e
10096
10120
  }] : []
10097
- ]), re = r(() => {
10098
- let e = W(C.value), t = N.value;
10121
+ ]), ne = r(() => {
10122
+ let e = G(C.value), t = N.value;
10099
10123
  return c.filter.clientFiltering === !1 || !t ? e : e.filter((e) => e.kind === "option" && H(e.option).includes(t));
10100
- }), ie = r(() => O.value || c.filter.singleSelect ? [] : P.value.map((e) => p.value[e] ?? {
10124
+ }), re = r(() => O.value || c.filter.singleSelect ? [] : P.value.map((e) => p.value[e] ?? {
10101
10125
  label: e,
10102
10126
  value: e
10103
- })), ae = j([]), oe = r(() => new Set(ae.value)), se = r(() => ae.value.map((e) => p.value[e] ?? {
10127
+ })), ie = j([]), ae = r(() => new Set(ie.value)), oe = r(() => ie.value.map((e) => p.value[e] ?? {
10104
10128
  label: e,
10105
10129
  value: e
10106
- })), q = r(() => C.value.length > 0 || se.value.length > 0), le = r(() => D.value && c.filter.isOpen && c.filter.isLoading === !0 && q.value), J = () => {
10107
- ae.value = O.value || c.filter.singleSelect ? [] : [...P.value];
10130
+ })), J = r(() => C.value.length > 0 || oe.value.length > 0), ce = r(() => D.value && c.filter.isOpen && c.filter.isLoading === !0 && J.value), Y = () => {
10131
+ ie.value = O.value || c.filter.singleSelect ? [] : [...P.value];
10108
10132
  };
10109
- J();
10110
- let Y = r(() => O.value || c.filter.singleSelect ? re.value : re.value.filter((e) => e.kind === "child-load-more" || !oe.value.has(e.option.value))), ue = r(() => Y.value.length > _.value), X = r(() => ue.value || c.filter.hasMore), de = r(() => Y.value.slice(0, _.value)), fe = r(() => O.value ? Qd({
10133
+ Y();
10134
+ let le = r(() => O.value || c.filter.singleSelect ? ne.value : ne.value.filter((e) => e.kind === "child-load-more" || !ae.value.has(e.option.value))), ue = r(() => le.value.length > _.value), X = r(() => ue.value || c.filter.hasMore), de = r(() => le.value.slice(0, _.value)), fe = r(() => O.value ? Qd({
10111
10135
  options: T.value,
10112
10136
  state: A.value
10113
10137
  }) : /* @__PURE__ */ new Map()), Z = (e) => dd(e, c.filter.colDef), pe = (e) => fd(e), me = (e) => O.value ? fe.value.get(e.value) ?? {
@@ -10137,7 +10161,7 @@ var No = ["title"], Po = ["title"], Fo = { style: {
10137
10161
  subduedText: e.subduedText,
10138
10162
  text: Z(e),
10139
10163
  totalChildCount: e.totalChildCount
10140
- }), Te = r(() => C.value.map(we)), Ee = r(() => ie.value.map(we)), De = r(() => ({
10164
+ }), Te = r(() => C.value.map(we)), Ee = r(() => re.value.map(we)), De = r(() => ({
10141
10165
  colDef: c.filter.colDef,
10142
10166
  disabled: B.value,
10143
10167
  filter: c.filter,
@@ -10204,7 +10228,7 @@ var No = ["title"], Po = ["title"], Fo = { style: {
10204
10228
  }, Le = () => {
10205
10229
  B.value || d("handle-settings-icon", c.filter.key, c.filter.colDef);
10206
10230
  };
10207
- G([g, () => c.filter.key], () => {
10231
+ K([g, () => c.filter.key], () => {
10208
10232
  _.value = Df;
10209
10233
  });
10210
10234
  let Re = () => {
@@ -10212,22 +10236,22 @@ var No = ["title"], Po = ["title"], Fo = { style: {
10212
10236
  for (let t of e) n.delete(t.value), n.set(t.value, t);
10213
10237
  p.value = Object.fromEntries([...n.entries()].slice(Math.max(0, n.size - Of)));
10214
10238
  };
10215
- G(T, () => {
10239
+ K(T, () => {
10216
10240
  c.filter.isOpen && Re();
10217
10241
  }, { immediate: !0 });
10218
10242
  let ze = () => {
10219
10243
  !c.filter.isOpen || !f.value || (m.value = Math.max(m.value, f.value.offsetHeight));
10220
10244
  };
10221
- return G(() => c.filter.isLoading === !0, (e) => {
10245
+ return K(() => c.filter.isLoading === !0, (e) => {
10222
10246
  e ? ze() : m.value = 0;
10223
- }), G(C, () => {
10247
+ }), K(C, () => {
10224
10248
  c.filter.isLoading && ze();
10225
- }), G(() => c.filter.isOpen, (e) => {
10226
- e ? (Re(), J()) : (p.value = {}, m.value = 0);
10227
- }), ce(() => {
10249
+ }), K(() => c.filter.isOpen, (e) => {
10250
+ e ? (Re(), Y()) : (p.value = {}, m.value = 0);
10251
+ }), se(() => {
10228
10252
  if (!c.filter.isOpen || O.value || c.filter.singleSelect) return;
10229
- let e = new Set(de.value.flatMap((e) => e.kind === "option" ? [e.option.value] : [])), t = P.value.filter((t) => !oe.value.has(t) && !e.has(t));
10230
- t.length && (ae.value = [...ae.value, ...t]);
10253
+ let e = new Set(de.value.flatMap((e) => e.kind === "option" ? [e.option.value] : [])), t = P.value.filter((t) => !ae.value.has(t) && !e.has(t));
10254
+ t.length && (ie.value = [...ie.value, ...t]);
10231
10255
  }), _e(g, (e) => {
10232
10256
  if (!D.value || c.filter.disabled === !0) return;
10233
10257
  let t = e.trim();
@@ -10253,7 +10277,7 @@ var No = ["title"], Po = ["title"], Fo = { style: {
10253
10277
  size: "sm",
10254
10278
  variant: "secondary"
10255
10279
  }, null, 8, ["value"])) : a("", !0),
10256
- le.value ? (k(), o("span", af, [u(Be, { size: "sm" }), s("span", of, R(e.filter.loadingText || `Updating ${e.filter.label} options`), 1)])) : a("", !0)
10280
+ ce.value ? (k(), o("span", af, [u(Be, { size: "sm" }), s("span", of, R(e.filter.loadingText || `Updating ${e.filter.label} options`), 1)])) : a("", !0)
10257
10281
  ]), s("div", {
10258
10282
  ref_key: "filterContent",
10259
10283
  ref: f,
@@ -10309,7 +10333,7 @@ var No = ["title"], Po = ["title"], Fo = { style: {
10309
10333
  "disabled",
10310
10334
  "placeholder"
10311
10335
  ])),
10312
- se.value.length ? (k(), o("div", pf, [(k(!0), o(t, null, M(se.value, (t) => (k(), i(Qu, {
10336
+ oe.value.length ? (k(), o("div", pf, [(k(!0), o(t, null, M(oe.value, (t) => (k(), i(Qu, {
10313
10337
  key: t.value,
10314
10338
  control: e.filter.singleSelect ? "radio" : "checkbox",
10315
10339
  disabled: B.value || t.isSelectable === !1,
@@ -10351,10 +10375,10 @@ var No = ["title"], Po = ["title"], Fo = { style: {
10351
10375
  "onFocusValue",
10352
10376
  "onToggleValue"
10353
10377
  ]))), 128))])) : a("", !0),
10354
- e.filter.isLoading && !q.value ? (k(), o("div", mf, [u(Be, { size: "sm" }), e.filter.loadingText ? (k(), o("span", hf, R(e.filter.loadingText), 1)) : a("", !0)])) : (k(), o(t, { key: 4 }, [
10355
- !N.value && !C.value.length && !se.value.length && !X.value ? (k(), o(t, { key: 0 }, [e.filter.emptyResultsRenderer ? (k(), i(F(e.filter.emptyResultsRenderer), v({ key: 0 }, De.value, { "empty-reason": "no-values" }), null, 16)) : (k(), o("p", gf, "No values available."))], 64)) : !re.value.length && !se.value.length && !X.value ? (k(), o(t, { key: 1 }, [e.filter.emptyResultsRenderer ? (k(), i(F(e.filter.emptyResultsRenderer), v({ key: 0 }, De.value, { "empty-reason": "no-matches" }), null, 16)) : (k(), o("p", _f, "No matching values."))], 64)) : a("", !0),
10356
- Y.value.length || X.value ? (k(), o("div", vf, [
10357
- Y.value.length && !e.filter.hideOptionsSortDescription ? (k(), o("div", yf, [e.filter.filterOptionsSortTooltip ? (k(), i(fr, {
10378
+ e.filter.isLoading && !J.value ? (k(), o("div", mf, [u(Be, { size: "sm" }), e.filter.loadingText ? (k(), o("span", hf, R(e.filter.loadingText), 1)) : a("", !0)])) : (k(), o(t, { key: 4 }, [
10379
+ !N.value && !C.value.length && !oe.value.length && !X.value ? (k(), o(t, { key: 0 }, [e.filter.emptyResultsRenderer ? (k(), i(F(e.filter.emptyResultsRenderer), v({ key: 0 }, De.value, { "empty-reason": "no-values" }), null, 16)) : (k(), o("p", gf, "No values available."))], 64)) : !ne.value.length && !oe.value.length && !X.value ? (k(), o(t, { key: 1 }, [e.filter.emptyResultsRenderer ? (k(), i(F(e.filter.emptyResultsRenderer), v({ key: 0 }, De.value, { "empty-reason": "no-matches" }), null, 16)) : (k(), o("p", _f, "No matching values."))], 64)) : a("", !0),
10380
+ le.value.length || X.value ? (k(), o("div", vf, [
10381
+ le.value.length && !e.filter.hideOptionsSortDescription ? (k(), o("div", yf, [e.filter.filterOptionsSortTooltip ? (k(), i(fr, {
10358
10382
  key: 0,
10359
10383
  variant: "dark",
10360
10384
  disableInteractive: !0,
@@ -10363,8 +10387,8 @@ var No = ["title"], Po = ["title"], Fo = { style: {
10363
10387
  "use-teleport": !0,
10364
10388
  style: { "--max-width": "200px" }
10365
10389
  }, {
10366
- trigger: K(() => [s("p", bf, R(z.value), 1)]),
10367
- content: K(() => [l(R(e.filter.filterOptionsSortTooltip), 1)]),
10390
+ trigger: q(() => [s("p", bf, R(z.value), 1)]),
10391
+ content: q(() => [l(R(e.filter.filterOptionsSortTooltip), 1)]),
10368
10392
  _: 1
10369
10393
  })) : (k(), o("p", xf, R(z.value), 1))])) : a("", !0),
10370
10394
  (k(!0), o(t, null, M(de.value, (n) => (k(), o(t, { key: n.kind === "option" ? n.option.value : `${n.parent.value}-children-more` }, [n.kind === "option" ? (k(), i(Qu, {
@@ -10691,7 +10715,7 @@ var No = ["title"], Po = ["title"], Fo = { style: {
10691
10715
  }), d = (e) => {
10692
10716
  c.value = e;
10693
10717
  }, f = (e) => c.value === e ? "secondary" : "ghost";
10694
- return G(l, (e) => {
10718
+ return K(l, (e) => {
10695
10719
  c.value !== null && !e.includes(c.value) && (c.value = null);
10696
10720
  }, { immediate: !0 }), (n, r) => l.value.length ? (k(), o("div", Hf, [u(Vf, {
10697
10721
  ariaLabel: "Filter categories",
@@ -10702,7 +10726,7 @@ var No = ["title"], Po = ["title"], Fo = { style: {
10702
10726
  rightAriaLabel: "Scroll filter categories right",
10703
10727
  showFades: ""
10704
10728
  }, {
10705
- default: K(() => [s("div", Uf, [u($, {
10729
+ default: q(() => [s("div", Uf, [u($, {
10706
10730
  label: e.allCategoriesLabel,
10707
10731
  variant: f(null),
10708
10732
  onClick: r[0] ||= (e) => d(null)
@@ -11169,9 +11193,9 @@ function Zp(e, t, n) {
11169
11193
  }
11170
11194
  b(t, n);
11171
11195
  };
11172
- G(() => e.filterOptionsHandler, (e) => {
11196
+ K(() => e.filterOptionsHandler, (e) => {
11173
11197
  a.setFilterOptionsHandler(e);
11174
- }, { immediate: !0 }), G([
11198
+ }, { immediate: !0 }), K([
11175
11199
  () => e.filterOptions,
11176
11200
  m,
11177
11201
  () => e.filterOptionsHandler
@@ -11180,7 +11204,7 @@ function Zp(e, t, n) {
11180
11204
  }, {
11181
11205
  deep: !0,
11182
11206
  immediate: !0
11183
- }), G([
11207
+ }), K([
11184
11208
  () => e.filterHasMoreMap,
11185
11209
  m,
11186
11210
  () => e.filterOptionsHandler
@@ -11189,7 +11213,7 @@ function Zp(e, t, n) {
11189
11213
  }, {
11190
11214
  deep: !0,
11191
11215
  immediate: !0
11192
- }), G([
11216
+ }), K([
11193
11217
  () => e.filterLoadingMap,
11194
11218
  m,
11195
11219
  () => e.filterOptionsHandler
@@ -11198,7 +11222,7 @@ function Zp(e, t, n) {
11198
11222
  }, {
11199
11223
  deep: !0,
11200
11224
  immediate: !0
11201
- }), G([
11225
+ }), K([
11202
11226
  () => e.filterLoadingMoreMap,
11203
11227
  m,
11204
11228
  () => e.filterOptionsHandler
@@ -11207,7 +11231,7 @@ function Zp(e, t, n) {
11207
11231
  }, {
11208
11232
  deep: !0,
11209
11233
  immediate: !0
11210
- }), G([
11234
+ }), K([
11211
11235
  () => e.filterSearchQueries,
11212
11236
  m,
11213
11237
  () => e.filterOptionsHandler
@@ -11216,7 +11240,7 @@ function Zp(e, t, n) {
11216
11240
  }, {
11217
11241
  deep: !0,
11218
11242
  immediate: !0
11219
- }), G([
11243
+ }), K([
11220
11244
  t,
11221
11245
  m,
11222
11246
  () => e.staged
@@ -11225,7 +11249,7 @@ function Zp(e, t, n) {
11225
11249
  }, {
11226
11250
  deep: !0,
11227
11251
  immediate: !0
11228
- }), G([() => e.staged, p], ([e]) => {
11252
+ }), K([() => e.staged, p], ([e]) => {
11229
11253
  if (e) {
11230
11254
  i.value = t.value;
11231
11255
  let e = p.value;
@@ -11241,7 +11265,7 @@ function Zp(e, t, n) {
11241
11265
  let t = T(e);
11242
11266
  _.value === "advanced" && !t && w("regular-model-in-advanced-mode", "PvFilterPanel: produced a regular FilterModel while filterModelType is \"advanced\"."), _.value === "regular" && t && w("advanced-model-in-regular-mode", "PvFilterPanel: produced an AdvancedFilterModel while filterModelType is \"regular\".");
11243
11267
  };
11244
- ce(() => {
11268
+ se(() => {
11245
11269
  S("filterModel", !!((e.filterStore || o) && t.value !== null)), S("filterOptions", Object.keys(e.filterOptions).length > 0), S("filterLoadingMap", Object.keys(e.filterLoadingMap).length > 0), S("filterLoadingMoreMap", Object.keys(e.filterLoadingMoreMap).length > 0), S("filterHasMoreMap", Object.keys(e.filterHasMoreMap).length > 0), S("filterSearchQueries", Object.keys(e.filterSearchQueries).length > 0), S("filterOptionsHandler", !!(e.filterStore && e.filterOptionsHandler)), (e.filterStore || o) && v.value;
11246
11270
  });
11247
11271
  let D = (e) => e.context ?? {}, O = (e) => e.colId || e.field || "", k = (e) => typeof e == "number" && Number.isFinite(e) ? e : null, A = (e) => {
@@ -11255,7 +11279,7 @@ function Zp(e, t, n) {
11255
11279
  return typeof t != "object" || !t || Array.isArray(t) ? null : Object.fromEntries(Object.entries(t).flatMap(([e, t]) => typeof t == "string" ? [[e, t]] : []));
11256
11280
  }, F = (t) => {
11257
11281
  let n = D(t), r = O(t);
11258
- return !r || n.filterPanelHidden === !0 || n.devOnly && !e.devMode || e.autoHideRelatedFilterFields !== !1 && n.filterPanelHidden !== !1 && ne.value.has(r) ? !1 : !!A(t);
11282
+ return !r || n.filterPanelHidden === !0 || n.devOnly && !e.devMode || e.autoHideRelatedFilterFields !== !1 && n.filterPanelHidden !== !1 && W.value.has(r) ? !1 : !!A(t);
11259
11283
  }, L = (e) => (p.value.filterOptionsMap.value[e] ?? []).filter((e) => !!e), R = (t) => {
11260
11284
  let n = p.value;
11261
11285
  return ((e.staged ? n.stagedFilterSelectedMetadataMap : n.filterSelectedMetadataMap).value[t] ?? []).filter((e) => !!e);
@@ -11270,7 +11294,7 @@ function Zp(e, t, n) {
11270
11294
  if (typeof e != "object" || !e || !("field" in e)) return [];
11271
11295
  let t = e, n = typeof t.field == "string" ? t.field : null, r = Array.isArray(t.children) ? t.children.flatMap(U) : [];
11272
11296
  return n ? [n, ...r] : r;
11273
- }, ne = r(() => {
11297
+ }, W = r(() => {
11274
11298
  let t = /* @__PURE__ */ new Set();
11275
11299
  for (let n of e.colDefs) {
11276
11300
  let e = D(n);
@@ -11279,18 +11303,18 @@ function Zp(e, t, n) {
11279
11303
  for (let n of e.filterGroup?.fields ?? []) n && t.add(n);
11280
11304
  }
11281
11305
  return t;
11282
- }), W = (e) => {
11306
+ }), G = (e) => {
11283
11307
  let t = O(e), n = D(e), r = Array.isArray(n.aggregateFields) ? n.aggregateFields.filter(Boolean) : [], i = U(n.aggregateFieldHierarchy);
11284
11308
  return Array.from(new Set([
11285
11309
  t,
11286
11310
  ...r,
11287
11311
  ...i
11288
11312
  ].filter(Boolean)));
11289
- }, re = (e) => _.value === "advanced" && Ad(e), ie = (e, t) => re(e) ? Bd({
11313
+ }, ne = (e) => _.value === "advanced" && Ad(e), re = (e, t) => ne(e) ? Bd({
11290
11314
  colDef: e,
11291
11315
  model: v.value,
11292
11316
  options: t
11293
- }) : new Map(W(e).map((e) => [e, y.value.get(e)?.values ?? []])), ae = (e, t, n, r) => {
11317
+ }) : new Map(G(e).map((e) => [e, y.value.get(e)?.values ?? []])), ie = (e, t, n, r) => {
11294
11318
  let i = /* @__PURE__ */ new Set();
11295
11319
  for (let t of xd(r)) for (let [r, a] of n) for (let n of a) Sd(t, r, n, e) && i.add(`${r}:${n}`);
11296
11320
  return [...n.entries()].flatMap(([t, n]) => n.flatMap((n) => i.has(`${t}:${n}`) ? [] : [{
@@ -11299,36 +11323,36 @@ function Zp(e, t, n) {
11299
11323
  metadata: { rawValue: n },
11300
11324
  value: t === e ? n : vd(t, n)
11301
11325
  }]));
11302
- }, oe = (e, t, n) => {
11326
+ }, ae = (e, t, n) => {
11303
11327
  let r = /* @__PURE__ */ new Set();
11304
11328
  for (let i of xd(n)) {
11305
11329
  let n = bd(i, e), a = yd(i);
11306
11330
  a !== null && t.get(n)?.includes(a) && r.add(i.value);
11307
11331
  }
11308
11332
  return Array.from(r);
11309
- }, se = (t) => Object.fromEntries(W(t).map((t) => [t, e.focusedValues[t] ?? []])), K = (t) => e.colDefs.find((e) => O(e) === t || e.field === t || e.colId === t), q = (e) => K(e)?.headerName ?? e, le = (e) => {
11333
+ }, oe = (t) => Object.fromEntries(G(t).map((t) => [t, e.focusedValues[t] ?? []])), q = (t) => e.colDefs.find((e) => O(e) === t || e.field === t || e.colId === t), J = (e) => q(e)?.headerName ?? e, ce = (e) => {
11310
11334
  let t = D(e);
11311
- return typeof t.filterPanelSearchPlaceholder == "string" ? t.filterPanelSearchPlaceholder : Gf(O(e), t.queryColIds, q);
11312
- }, J = (e, t) => qf({
11335
+ return typeof t.filterPanelSearchPlaceholder == "string" ? t.filterPanelSearchPlaceholder : Gf(O(e), t.queryColIds, J);
11336
+ }, Y = (e, t) => qf({
11313
11337
  fallbackSubText: e.subText,
11314
- getDisplayName: q,
11338
+ getDisplayName: J,
11315
11339
  matchedField: e.matchedField,
11316
11340
  matchedValue: e.matchedValue,
11317
11341
  primaryText: e.label,
11318
11342
  showPrefix: D(t).showSearchMatchSubTextPrefix !== !1
11319
- }), Y = (e, t) => e.map((e) => ({
11343
+ }), le = (e, t) => e.map((e) => ({
11320
11344
  ...e,
11321
- children: e.children?.length ? Y(e.children, t) : e.children,
11322
- subText: J(e, t)
11345
+ children: e.children?.length ? le(e.children, t) : e.children,
11346
+ subText: Y(e, t)
11323
11347
  })), ue = (e) => {
11324
11348
  let t = D(e).filterGroup;
11325
11349
  if (t?.fields.length) return t.fields.map((e) => ({
11326
11350
  field: e,
11327
11351
  isActive: y.value.get(e)?.booleanValue === !0,
11328
- label: K(e)?.headerName ?? e
11352
+ label: q(e)?.headerName ?? e
11329
11353
  }));
11330
- }, X = (e) => fe.value.find((t) => t.key === e) ?? fe.value.find((t) => W(t.colDef).includes(e)), de = (e, t, n) => xd(X(e)?.knownOptions ?? []).find((r) => r.value === n || Sd(r, t, n, e)), fe = r(() => e.colDefs.filter(F).map((t) => {
11331
- let n = O(t), r = D(t), i = M(t), a = Y(L(n), t), o = Y(te(n), t), s = {
11354
+ }, X = (e) => fe.value.find((t) => t.key === e) ?? fe.value.find((t) => G(t.colDef).includes(e)), de = (e, t, n) => xd(X(e)?.knownOptions ?? []).find((r) => r.value === n || Sd(r, t, n, e)), fe = r(() => e.colDefs.filter(F).map((t) => {
11355
+ let n = O(t), r = D(t), i = M(t), a = le(L(n), t), o = le(te(n), t), s = {
11332
11356
  canRemoveFocus: e.canRemoveFocus,
11333
11357
  category: N(t),
11334
11358
  clientFiltering: r.filterOptionsClientFiltering !== !1,
@@ -11348,16 +11372,16 @@ function Zp(e, t, n) {
11348
11372
  filterSectionDefs: r.filterSectionDefs,
11349
11373
  filterOptionsSortDescription: r.filterOptionsSortDescription,
11350
11374
  filterOptionsSortTooltip: r.filterOptionsSortTooltip,
11351
- focusFieldLabels: Object.fromEntries(W(t).map((e) => [e, q(e)])),
11375
+ focusFieldLabels: Object.fromEntries(G(t).map((e) => [e, J(e)])),
11352
11376
  focusableFields: e.focusableFields,
11353
11377
  focusText: e.focusText,
11354
11378
  hideOptionsSortDescription: r.filterPanelHideOptionsSortDescription,
11355
11379
  hideSearch: r.filterPanelHideSearch,
11356
11380
  focusedValues: e.focusedValues[n] ?? [],
11357
- focusedValuesByField: se(t),
11381
+ focusedValuesByField: oe(t),
11358
11382
  hasMore: z(n),
11359
- isAggregate: re(t),
11360
- isFocusable: e.enableFocusView && (!e.focusableFields.length || W(t).some((t) => e.focusableFields.includes(t))),
11383
+ isAggregate: ne(t),
11384
+ isFocusable: e.enableFocusView && (!e.focusableFields.length || G(t).some((t) => e.focusableFields.includes(t))),
11361
11385
  isLoading: B(n),
11362
11386
  isLoadingMore: V(n),
11363
11387
  isOpen: !1,
@@ -11371,7 +11395,7 @@ function Zp(e, t, n) {
11371
11395
  rangeScale: r.filterPanelRange?.scale,
11372
11396
  rangeSliderStep: k(r.filterPanelRange?.sliderStep),
11373
11397
  rangeStep: k(r.filterPanelRange?.step),
11374
- searchPlaceholder: le(t),
11398
+ searchPlaceholder: ce(t),
11375
11399
  searchQuery: ee(n) ?? "",
11376
11400
  singleSelect: r.filterPanelSingleSelect === !0,
11377
11401
  type: i,
@@ -11393,7 +11417,7 @@ function Zp(e, t, n) {
11393
11417
  ...s,
11394
11418
  existsValue: y.value.get(n)?.existsValue ?? !1
11395
11419
  };
11396
- let c = o, u = e.controlledValues[n] ?? [], d = s.controlled ? new Map([[n, u]]) : ie(t, c), f = ae(n, t, d, c), p = [...c, ...f], m = re(t) ? zd({
11420
+ let c = o, u = e.controlledValues[n] ?? [], d = s.controlled ? new Map([[n, u]]) : re(t, c), f = ie(n, t, d, c), p = [...c, ...f], m = ne(t) ? zd({
11397
11421
  colDef: t,
11398
11422
  model: v.value,
11399
11423
  options: p
@@ -11403,7 +11427,7 @@ function Zp(e, t, n) {
11403
11427
  aggregateSelectionState: m,
11404
11428
  knownOptions: p,
11405
11429
  options: a,
11406
- selectedValues: s.controlled ? u : m ? m.flatMap((e) => e.state === "selected" ? [e.id] : []) : oe(n, d, p)
11430
+ selectedValues: s.controlled ? u : m ? m.flatMap((e) => e.state === "selected" ? [e.id] : []) : ae(n, d, p)
11407
11431
  };
11408
11432
  })), Z = r(() => fe.value.flatMap((e) => {
11409
11433
  if (e.controlled) return [];
@@ -11466,9 +11490,9 @@ function Zp(e, t, n) {
11466
11490
  if (e) {
11467
11491
  n.add(e);
11468
11492
  let t = X(e);
11469
- t && (n.add(t.key), W(t.colDef).forEach((e) => n.add(e)));
11493
+ t && (n.add(t.key), G(t.colDef).forEach((e) => n.add(e)));
11470
11494
  }
11471
- for (let r of fe.value) r.type === "value" && (e && (n.has(r.key) || W(r.colDef).some((e) => n.has(e))) || (t.filterStaleMap.value[r.key] = !0));
11495
+ for (let r of fe.value) r.type === "value" && (e && (n.has(r.key) || G(r.colDef).some((e) => n.has(e))) || (t.filterStaleMap.value[r.key] = !0));
11472
11496
  }, Se = (r, a, s, c) => {
11473
11497
  E(r);
11474
11498
  let l = v.value, u = p.value;
@@ -11562,7 +11586,7 @@ function Zp(e, t, n) {
11562
11586
  Fe(e, t.value);
11563
11587
  return;
11564
11588
  }
11565
- let n = t.field ?? e, r = K(n) ?? X(e)?.colDef;
11589
+ let n = t.field ?? e, r = q(n) ?? X(e)?.colDef;
11566
11590
  if (t.type === "value") {
11567
11591
  let r = X(e), i = de(e, n, t.value);
11568
11592
  if (r?.isAggregate && i) {
@@ -11592,7 +11616,7 @@ function Zp(e, t, n) {
11592
11616
  }, Re = (e, t, n, r) => {
11593
11617
  let i = p.value;
11594
11618
  if (!Le(e, t, n, r) || !i) return;
11595
- let a = Array.from(new Set([...ie(e.colDef, e.knownOptions ?? []).values()].flat()));
11619
+ let a = Array.from(new Set([...re(e.colDef, e.knownOptions ?? []).values()].flat()));
11596
11620
  i.fetchFilterOptions({
11597
11621
  colDef: e.colDef,
11598
11622
  field: e.key,
@@ -11645,7 +11669,7 @@ function Zp(e, t, n) {
11645
11669
  n("controlled-change", t, l, s.colDef);
11646
11670
  return;
11647
11671
  }
11648
- ye(t, r, l, a ? o : void 0), Se(Np(v.value, r, l, _.value, K(r) ?? s?.colDef), "value-toggle", r, "value");
11672
+ ye(t, r, l, a ? o : void 0), Se(Np(v.value, r, l, _.value, q(r) ?? s?.colDef), "value-toggle", r, "value");
11649
11673
  };
11650
11674
  return {
11651
11675
  resolvedFilters: fe,
@@ -11658,7 +11682,7 @@ function Zp(e, t, n) {
11658
11682
  activeFilterModel: v,
11659
11683
  effectiveFilterStore: p,
11660
11684
  findResolvedFilter: X,
11661
- getRepresentedFields: W,
11685
+ getRepresentedFields: G,
11662
11686
  activateFilter: Ge,
11663
11687
  applyStagedFilters: Me,
11664
11688
  cancelStagedFilters: Ne,
@@ -11683,15 +11707,15 @@ function Zp(e, t, n) {
11683
11707
  removeAppliedFilter: (e, t, n) => {
11684
11708
  let r = n ?? X(e)?.type ?? "value";
11685
11709
  if (r === "range" || !n && t === qp) {
11686
- Se(Mp(v.value, e, null, null, _.value, K(e) ?? X(e)?.colDef), "remove-filter", e, "range");
11710
+ Se(Mp(v.value, e, null, null, _.value, q(e) ?? X(e)?.colDef), "remove-filter", e, "range");
11687
11711
  return;
11688
11712
  }
11689
11713
  if (r === "boolean" || !n && t === Jp) {
11690
- Se(Ap(v.value, e, null, _.value, "boolean", K(e) ?? X(e)?.colDef), "remove-filter", e, "boolean");
11714
+ Se(Ap(v.value, e, null, _.value, "boolean", q(e) ?? X(e)?.colDef), "remove-filter", e, "boolean");
11691
11715
  return;
11692
11716
  }
11693
11717
  if (r === "exists" || !n && t === Yp) {
11694
- Se(jp(v.value, e, !1, "text", _.value, K(e) ?? X(e)?.colDef), "remove-filter", e, "exists");
11718
+ Se(jp(v.value, e, !1, "text", _.value, q(e) ?? X(e)?.colDef), "remove-filter", e, "exists");
11695
11719
  return;
11696
11720
  }
11697
11721
  let i = X(e);
@@ -11706,7 +11730,7 @@ function Zp(e, t, n) {
11706
11730
  return;
11707
11731
  }
11708
11732
  let a = (y.value.get(e)?.values ?? []).filter((e) => e !== t);
11709
- ye(X(e)?.key ?? e, e, a), Se(Np(v.value, e, a, _.value, K(e) ?? X(e)?.colDef), "remove-filter", e, "value");
11733
+ ye(X(e)?.key ?? e, e, a), Se(Np(v.value, e, a, _.value, q(e) ?? X(e)?.colDef), "remove-filter", e, "value");
11710
11734
  },
11711
11735
  setFacetSelections: qe,
11712
11736
  usesHandlerFacets: Ke
@@ -11835,12 +11859,12 @@ var Qp = ["aria-label"], $p = { class: "pv-filter-panel-header pv-flex pv-border
11835
11859
  ], ["update:filterModel", "update:isCollapsed"]),
11836
11860
  setup(e, { emit: n }) {
11837
11861
  let c = e, l = U(e, "filterModel"), d = U(e, "isCollapsed"), f = n, { resolvedFilters: p, appliedGroups: m, appliedCount: h, showClearAll: g, visibleSuggestions: _, activateFilter: v, applyStagedFilters: y, cancelStagedFilters: b, clearAllFilters: x, getSuggestionKey: C, handleControlChange: w, handleLoadMore: T, handleSearchChange: E, handleSuggestionClick: D, removeAppliedFilter: O } = Zp(c, l, f), A = j("filters"), P = j({}), F = j(null), I = j(!1), L = j(!1), z = j(""), B = r(() => c.enableFilterSearch ? z.value.trim().toLowerCase() : ""), ee = r(() => B.value.length > 0), H = (e) => e.label.toLowerCase().includes(B.value);
11838
- G(ee, (e) => {
11862
+ K(ee, (e) => {
11839
11863
  e && (F.value = null);
11840
- }), G(F, (e) => {
11864
+ }), K(F, (e) => {
11841
11865
  e !== null && (z.value = "");
11842
11866
  });
11843
- let te = (e) => e.colDef.context?.filterCollapsedByDefault === !0, ne = r(() => ee.value ? p.value.filter(H) : F.value === null ? p.value : p.value.filter((e) => e.category === F.value)), W = r(() => ne.value.filter((e) => !te(e))), re = r(() => ne.value.filter(te)), ie = r(() => F.value !== null), ae = r(() => ie.value || ee.value || I.value ? [...W.value, ...re.value] : W.value), oe = r(() => ee.value ? "No filters match your search." : "No filters in this category."), ce = r(() => `${I.value ? "Hide" : "Show"} ${c.collapsedFilterDisplayLabel}`), le = r(() => A.value === "filters" && !ie.value && !ee.value && re.value.length > 0), J = r(() => c.externalFilters.filter((e) => e.values.length > 0)), Y = r(() => J.value.filter((e) => e.removable !== !1)), ue = r(() => J.value.reduce((e, t) => e + t.values.length, 0)), X = r(() => Y.value.reduce((e, t) => e + t.values.length, 0)), de = r(() => h.value + ue.value), fe = r(() => g.value || X.value > 0), Z = r(() => !c.readOnly && (fe.value || c.staged)), pe = r(() => ae.value.map((e) => ({
11867
+ let te = (e) => e.colDef.context?.filterCollapsedByDefault === !0, W = r(() => ee.value ? p.value.filter(H) : F.value === null ? p.value : p.value.filter((e) => e.category === F.value)), G = r(() => W.value.filter((e) => !te(e))), ne = r(() => W.value.filter(te)), re = r(() => F.value !== null), ie = r(() => re.value || ee.value || I.value ? [...G.value, ...ne.value] : G.value), ae = r(() => ee.value ? "No filters match your search." : "No filters in this category."), se = r(() => `${I.value ? "Hide" : "Show"} ${c.collapsedFilterDisplayLabel}`), ce = r(() => A.value === "filters" && !re.value && !ee.value && ne.value.length > 0), Y = r(() => c.externalFilters.filter((e) => e.values.length > 0)), le = r(() => Y.value.filter((e) => e.removable !== !1)), ue = r(() => Y.value.reduce((e, t) => e + t.values.length, 0)), X = r(() => le.value.reduce((e, t) => e + t.values.length, 0)), de = r(() => h.value + ue.value), fe = r(() => g.value || X.value > 0), Z = r(() => !c.readOnly && (fe.value || c.staged)), pe = r(() => ie.value.map((e) => ({
11844
11868
  ...e,
11845
11869
  isOpen: P.value[e.key] ?? e.isOpen ?? !1
11846
11870
  }))), me = r(() => [{
@@ -11862,7 +11886,7 @@ var Qp = ["aria-label"], $p = { class: "pv-filter-panel-header pv-flex pv-border
11862
11886
  }, ve = () => {
11863
11887
  L.value = !1;
11864
11888
  }, ye = () => {
11865
- g.value && x(), Y.value.forEach((e) => {
11889
+ g.value && x(), le.value.forEach((e) => {
11866
11890
  e.values.forEach((t) => f("remove-external-filter", e.key, t.value));
11867
11891
  }), L.value = !1;
11868
11892
  }, be = () => {
@@ -11890,7 +11914,7 @@ var Qp = ["aria-label"], $p = { class: "pv-filter-panel-header pv-flex pv-border
11890
11914
  variant: "secondary",
11891
11915
  onClick: r[0] ||= (e) => d.value = !0
11892
11916
  }))]),
11893
- s("div", em, [q(s("div", tm, [
11917
+ s("div", em, [J(s("div", tm, [
11894
11918
  !e.readOnly && V(_).length ? (k(), o("section", nm, [r[8] ||= s("p", { class: "pv-filter-panel-section-title pv-text-title-sm pv-text-subdued" }, "Suggestions", -1), s("div", rm, [(k(!0), o(t, null, M(V(_), (e) => (k(), i(Fi, {
11895
11919
  key: V(C)(e),
11896
11920
  icon: e.icon,
@@ -11921,7 +11945,7 @@ var Qp = ["aria-label"], $p = { class: "pv-filter-panel-header pv-flex pv-border
11921
11945
  "onUpdate:modelValue": r[2] ||= (e) => z.value = e,
11922
11946
  placeholder: e.filterSearchPlaceholder
11923
11947
  }, null, 8, ["modelValue", "placeholder"])])) : a("", !0),
11924
- V(p).length ? ne.value.length ? (k(), o("div", sm, [(k(!0), o(t, null, M(pe.value, (t) => (k(), i(kf, {
11948
+ V(p).length ? W.value.length ? (k(), o("div", sm, [(k(!0), o(t, null, M(pe.value, (t) => (k(), i(kf, {
11925
11949
  key: t.key,
11926
11950
  "disable-while-loading": e.disableWhileLoading,
11927
11951
  filter: t,
@@ -11938,17 +11962,17 @@ var Qp = ["aria-label"], $p = { class: "pv-filter-panel-header pv-flex pv-border
11938
11962
  "onLoadMore",
11939
11963
  "onOpenChange",
11940
11964
  "onSearchChange"
11941
- ]))), 128)), le.value ? (k(), i($, {
11965
+ ]))), 128)), ce.value ? (k(), i($, {
11942
11966
  key: 0,
11943
11967
  class: "pv-filter-panel-collapsed-filters-toggle pv-text-brand",
11944
- label: ce.value,
11968
+ label: se.value,
11945
11969
  variant: "ghost",
11946
11970
  onClick: r[5] ||= (e) => I.value = !I.value
11947
- }, null, 8, ["label"])) : a("", !0)])) : (k(), o("div", om, R(oe.value), 1)) : (k(), o("div", am, " No filters available. "))
11948
- ], 512), [[se, A.value === "filters"]]), q(u(Lf, {
11971
+ }, null, 8, ["label"])) : a("", !0)])) : (k(), o("div", om, R(ae.value), 1)) : (k(), o("div", am, " No filters available. "))
11972
+ ], 512), [[oe, A.value === "filters"]]), J(u(Lf, {
11949
11973
  "applied-count": V(h),
11950
11974
  "applied-groups": V(m),
11951
- "external-filters": J.value,
11975
+ "external-filters": Y.value,
11952
11976
  "read-only": e.readOnly,
11953
11977
  onRemoveExternalFilter: r[6] ||= (e, t) => f("remove-external-filter", e, t),
11954
11978
  onRemoveFilter: V(O)
@@ -11958,7 +11982,7 @@ var Qp = ["aria-label"], $p = { class: "pv-filter-panel-header pv-flex pv-border
11958
11982
  "external-filters",
11959
11983
  "read-only",
11960
11984
  "onRemoveFilter"
11961
- ]), [[se, A.value === "applied"]])]),
11985
+ ]), [[oe, A.value === "applied"]])]),
11962
11986
  Z.value ? (k(), o("div", cm, [s("div", lm, [fe.value && !e.readOnly ? (k(), i($, {
11963
11987
  key: 0,
11964
11988
  class: "pv-text-brand",
@@ -11980,8 +12004,8 @@ var Qp = ["aria-label"], $p = { class: "pv-filter-panel-header pv-flex pv-border
11980
12004
  header: e.clearAllHeader,
11981
12005
  style: { "--max-width": "440px" }
11982
12006
  }, {
11983
- body: K(() => [s("p", um, R(e.clearAllBody), 1)]),
11984
- footer: K(() => [s("div", dm, [u($, {
12007
+ body: q(() => [s("p", um, R(e.clearAllBody), 1)]),
12008
+ footer: q(() => [s("div", dm, [u($, {
11985
12009
  label: e.cancelLabel,
11986
12010
  variant: "ghost",
11987
12011
  onClick: ve
@@ -12027,7 +12051,7 @@ var Qp = ["aria-label"], $p = { class: "pv-filter-panel-header pv-flex pv-border
12027
12051
  class: "pv-toggle-ghost pv-text-default",
12028
12052
  for: i.value
12029
12053
  }, [
12030
- q(s("input", {
12054
+ J(s("input", {
12031
12055
  "onUpdate:modelValue": r[0] ||= (e) => n.value = e,
12032
12056
  class: "pv-hide",
12033
12057
  id: i.value,
@@ -12035,7 +12059,7 @@ var Qp = ["aria-label"], $p = { class: "pv-filter-panel-header pv-flex pv-border
12035
12059
  value: e.value,
12036
12060
  name: e.name,
12037
12061
  disabled: e.disabled
12038
- }, null, 8, mm), [[ie, n.value]]),
12062
+ }, null, 8, mm), [[re, n.value]]),
12039
12063
  e.label ? (k(), o("span", hm, R(e.label), 1)) : a("", !0),
12040
12064
  s("span", gm, R(e.rightCounterBadge), 1)
12041
12065
  ], 8, pm));
@@ -12209,43 +12233,43 @@ var Qp = ["aria-label"], $p = { class: "pv-filter-panel-header pv-flex pv-border
12209
12233
  C(() => {
12210
12234
  for (let e of Object.keys(H.value)) y(e, {});
12211
12235
  });
12212
- let ne = (e) => {
12236
+ let W = (e) => {
12213
12237
  let t = O.value?.key;
12214
12238
  return t && H.value[t]?.[e] || [];
12215
- }, W = () => {
12239
+ }, G = () => {
12216
12240
  let e = O.value?.key;
12217
12241
  if (!e) return {};
12218
12242
  let t = H.value[e] ?? {};
12219
12243
  return Object.fromEntries(Object.keys(ee.value).filter((e) => t[e]?.length).map((e) => [e, t[e]]));
12220
- }, re = (e) => e.map((e) => ({
12244
+ }, ne = (e) => e.map((e) => ({
12221
12245
  id: e,
12222
12246
  text: e
12223
- })), ie = (e, t) => {
12224
- let n = new Set(ne(e));
12225
- return re(t).filter((e) => n.has(e.id));
12226
- }, ae = (e, t) => {
12247
+ })), re = (e, t) => {
12248
+ let n = new Set(W(e));
12249
+ return ne(t).filter((e) => n.has(e.id));
12250
+ }, ie = (e, t) => {
12227
12251
  let n = O.value;
12228
12252
  n && (H.value[n.key] = {
12229
12253
  ...H.value[n.key],
12230
12254
  [e]: t.map((e) => e.id)
12231
12255
  });
12232
- }, oe = r(() => Object.keys(ee.value).map((e) => [e, new Set(ne(e))]).filter(([, e]) => e.size > 0)), se = (e) => oe.value.every(([t, n]) => {
12256
+ }, ae = r(() => Object.keys(ee.value).map((e) => [e, new Set(W(e))]).filter(([, e]) => e.size > 0)), oe = (e) => ae.value.every(([t, n]) => {
12233
12257
  let r = e.metadata?.filters?.[t];
12234
12258
  return r === void 0 ? x.value : (Array.isArray(r) ? r : [r]).some((e) => n.has(String(e)));
12235
- }), ce = r(() => {
12236
- let e = (O.value?.options ?? []).filter(se), t = L.value;
12259
+ }), se = r(() => {
12260
+ let e = (O.value?.options ?? []).filter(oe), t = L.value;
12237
12261
  return t ? e.filter((e) => z(e).includes(t)) : e;
12238
- }), q = r(() => A.value || O.value?.singleSelect ? [] : (O.value?.selectedValues ?? []).map((e) => B.value[e] ?? {
12262
+ }), J = r(() => A.value || O.value?.singleSelect ? [] : (O.value?.selectedValues ?? []).map((e) => B.value[e] ?? {
12239
12263
  label: e,
12240
12264
  value: e
12241
- })), le = j([]), J = r(() => new Set(le.value)), Y = () => {
12242
- le.value = A.value || O.value?.singleSelect ? [] : [...O.value?.selectedValues ?? []];
12265
+ })), ce = j([]), Y = r(() => new Set(ce.value)), le = () => {
12266
+ ce.value = A.value || O.value?.singleSelect ? [] : [...O.value?.selectedValues ?? []];
12243
12267
  };
12244
- Y();
12245
- let ue = r(() => A.value || O.value?.singleSelect ? ce.value : [...(O.value?.selectedValues ?? []).filter((e) => !ce.value.some((t) => t.value === e)).map((e) => B.value[e] ?? {
12268
+ le();
12269
+ let ue = r(() => A.value || O.value?.singleSelect ? se.value : [...(O.value?.selectedValues ?? []).filter((e) => !se.value.some((t) => t.value === e)).map((e) => B.value[e] ?? {
12246
12270
  label: e,
12247
12271
  value: e
12248
- }), ...ce.value]), X = r(() => {
12272
+ }), ...se.value]), X = r(() => {
12249
12273
  let e = /* @__PURE__ */ new Map();
12250
12274
  for (let t of ue.value) {
12251
12275
  let n = t.section ?? "";
@@ -12262,7 +12286,7 @@ var Qp = ["aria-label"], $p = { class: "pv-filter-panel-header pv-flex pv-border
12262
12286
  key: t,
12263
12287
  label: r?.label ?? t,
12264
12288
  section: r,
12265
- options: [...i.filter((e) => J.value.has(e.value)), ...i.filter((e) => !J.value.has(e.value))]
12289
+ options: [...i.filter((e) => Y.value.has(e.value)), ...i.filter((e) => !Y.value.has(e.value))]
12266
12290
  };
12267
12291
  });
12268
12292
  }), de = r(() => A.value && O.value ? Qd({
@@ -12297,13 +12321,13 @@ var Qp = ["aria-label"], $p = { class: "pv-filter-panel-header pv-flex pv-border
12297
12321
  });
12298
12322
  }
12299
12323
  }, ve = () => {
12300
- for (let e of ce.value) Z(e).selected || ge(e, !0);
12324
+ for (let e of se.value) Z(e).selected || ge(e, !0);
12301
12325
  }, ye = () => {
12302
12326
  if (A.value) {
12303
12327
  for (let e of xd(O.value?.knownOptions ?? [])) Z(e).selected && ge(e, !1);
12304
12328
  return;
12305
12329
  }
12306
- for (let e of q.value) ge(e, !1);
12330
+ for (let e of J.value) ge(e, !1);
12307
12331
  }, be = () => {
12308
12332
  O.value && f("load-more", O.value.key, O.value.colDef, E.value.trim());
12309
12333
  }, xe = r({
@@ -12312,13 +12336,13 @@ var Qp = ["aria-label"], $p = { class: "pv-filter-panel-header pv-flex pv-border
12312
12336
  w.value = e;
12313
12337
  }
12314
12338
  });
12315
- return G(() => O.value?.key, (e) => {
12316
- E.value = O.value?.searchQuery ?? "", Y(), e && d.value && O.value && m(O.value);
12317
- }), G(d, (e) => {
12318
- e && (Y(), O.value && m(O.value));
12339
+ return K(() => O.value?.key, (e) => {
12340
+ E.value = O.value?.searchQuery ?? "", le(), e && d.value && O.value && m(O.value);
12341
+ }), K(d, (e) => {
12342
+ e && (le(), O.value && m(O.value));
12319
12343
  }), _e([() => O.value?.key, H], () => {
12320
12344
  let e = O.value;
12321
- e && v(e, W(), E.value.trim());
12345
+ e && v(e, G(), E.value.trim());
12322
12346
  }, {
12323
12347
  debounce: 300,
12324
12348
  deep: !0,
@@ -12338,8 +12362,8 @@ var Qp = ["aria-label"], $p = { class: "pv-filter-panel-header pv-flex pv-border
12338
12362
  offset: 8,
12339
12363
  "z-index": 1e3
12340
12364
  }, {
12341
- trigger: K(() => [N(n.$slots, "trigger", {}, void 0, !0)]),
12342
- content: K(() => [s("div", {
12365
+ trigger: q(() => [N(n.$slots, "trigger", {}, void 0, !0)]),
12366
+ content: q(() => [s("div", {
12343
12367
  class: "pv-surface pv-bordered pv-radius-lg pv-inset-square-12",
12344
12368
  role: "dialog",
12345
12369
  "aria-label": e.ariaLabel,
@@ -12377,10 +12401,10 @@ var Qp = ["aria-label"], $p = { class: "pv-filter-panel-header pv-flex pv-border
12377
12401
  key: `facet-${t}`,
12378
12402
  disabled: O.value?.disabled,
12379
12403
  label: e.headerName || V(Ae)(t),
12380
- "model-value": ie(t, e.values),
12381
- options: re(e.values),
12404
+ "model-value": re(t, e.values),
12405
+ options: ne(e.values),
12382
12406
  variant: "secondary",
12383
- "onUpdate:modelValue": (e) => ae(t, e)
12407
+ "onUpdate:modelValue": (e) => ie(t, e)
12384
12408
  }, null, 8, [
12385
12409
  "disabled",
12386
12410
  "label",
@@ -12440,7 +12464,7 @@ var Qp = ["aria-label"], $p = { class: "pv-filter-panel-header pv-flex pv-border
12440
12464
  "value",
12441
12465
  "onToggleValue"
12442
12466
  ])], 2))), 128))]))), 128))]),
12443
- ce.value.length ? a("", !0) : (k(), o("p", Em, " No matching values. ")),
12467
+ se.value.length ? a("", !0) : (k(), o("p", Em, " No matching values. ")),
12444
12468
  O.value.hasMore ? (k(), i($, {
12445
12469
  key: 1,
12446
12470
  class: "pv-text-brand",
@@ -12504,15 +12528,15 @@ var Qp = ["aria-label"], $p = { class: "pv-filter-panel-header pv-flex pv-border
12504
12528
  }, [N(n.$slots, "default", {}, void 0, !0), e.options.length ? (k(), o("div", jm, [u(ol, {
12505
12529
  variant: e.variant,
12506
12530
  "data-testid": "pv-hover-action-menu-actions",
12507
- onClick: r[0] ||= J(() => {}, ["stop"])
12531
+ onClick: r[0] ||= Y(() => {}, ["stop"])
12508
12532
  }, {
12509
- default: K(() => [s("div", Mm, [(k(!0), o(t, null, M(e.options, (t) => (k(), i(fr, {
12533
+ default: q(() => [s("div", Mm, [(k(!0), o(t, null, M(e.options, (t) => (k(), i(fr, {
12510
12534
  key: t.id,
12511
12535
  variant: "dark",
12512
12536
  position: "top-center",
12513
12537
  description: t.icon ? t.text : void 0
12514
12538
  }, {
12515
- trigger: K(() => [u($, {
12539
+ trigger: q(() => [u($, {
12516
12540
  variant: "ghost",
12517
12541
  size: "md",
12518
12542
  leftIcon: t.icon,
@@ -12667,20 +12691,20 @@ var Qp = ["aria-label"], $p = { class: "pv-filter-panel-header pv-flex pv-border
12667
12691
  width: "100%",
12668
12692
  maxWidth: "100%",
12669
12693
  "--popover-list-item-hover-background-color": "var(--surface-card-hover, #ece8e2)"
12670
- }, f = W("search-input"), p = U(e, "searchText"), m = U(e, "query"), h = U(e, "options"), { addQueryOption: g, containsQueryOption: _, removeQueryOption: x } = Pm(), C = j(!1), w = j(!1), T = j(!1), E = ne(), D = r(() => !!(E.header || E.footer || E.empty)), O = te(), A = `${O}-options`, P = (e) => `${O}-option-${e}`, F = (e) => `${O}-group-${e}`, I = r(() => ie.value.length > 0 || n.optionsLoading || D.value), L = r(() => m.value === null ? n.placeholder : ""), z = j(null), B = r(() => z.value !== null && z.value !== "" && !w.value), ee = () => {
12694
+ }, f = G("search-input"), p = U(e, "searchText"), m = U(e, "query"), h = U(e, "options"), { addQueryOption: g, containsQueryOption: _, removeQueryOption: x } = Pm(), C = j(!1), w = j(!1), T = j(!1), E = W(), D = r(() => !!(E.header || E.footer || E.empty)), O = te(), A = `${O}-options`, P = (e) => `${O}-option-${e}`, F = (e) => `${O}-group-${e}`, I = r(() => re.value.length > 0 || n.optionsLoading || D.value), L = r(() => m.value === null ? n.placeholder : ""), z = j(null), B = r(() => z.value !== null && z.value !== "" && !w.value), ee = () => {
12671
12695
  m.value = null, p.value = "", z.value = null, T.value = !1;
12672
12696
  };
12673
12697
  ue("Enter", (e) => {
12674
- let t = Y.value;
12698
+ let t = le.value;
12675
12699
  if (t) {
12676
12700
  e.preventDefault(), me(t);
12677
12701
  return;
12678
12702
  }
12679
12703
  n.enableCustomOptionsInput && p.value.trim() && H();
12680
12704
  }, { target: f }), ue(["ArrowDown", "ArrowUp"], (e) => {
12681
- ce.value.length !== 0 && (e.preventDefault(), C.value = !0, fe(e.key === "ArrowDown" ? 1 : -1));
12705
+ se.value.length !== 0 && (e.preventDefault(), C.value = !0, fe(e.key === "ArrowDown" ? 1 : -1));
12682
12706
  }, { target: f }), ue("Escape", () => {
12683
- C.value && (C.value = !1, J.value = -1);
12707
+ C.value && (C.value = !1, Y.value = -1);
12684
12708
  }, { target: f }), ue("Backspace", () => {
12685
12709
  if (p.value !== "") return;
12686
12710
  let e = m.value?.queryTerms;
@@ -12698,58 +12722,58 @@ var Qp = ["aria-label"], $p = { class: "pv-filter-panel-header pv-flex pv-border
12698
12722
  text: p.value,
12699
12723
  queryTerm: { queryText: p.value }
12700
12724
  }), _e());
12701
- }, re = (e) => {
12725
+ }, ne = (e) => {
12702
12726
  let t = e?.queryDisplayField || e?.queryField;
12703
12727
  if (t) return e?.exactMatch ? t : `Search in ${t}`;
12704
- }, ie = r(() => {
12728
+ }, re = r(() => {
12705
12729
  if (!h.value || h.value.length === 0) return [];
12706
12730
  let e = h.value;
12707
12731
  return n.processor === "field-only" && (e = h.value.filter((e) => e.queryTerm?.queryField)), m.value && (e = e.filter((e) => !_(m.value, e))), e.map((e) => ({
12708
12732
  ...e,
12709
- subText: e.subText ?? re(e.queryTerm),
12733
+ subText: e.subText ?? ne(e.queryTerm),
12710
12734
  searchText: p.value,
12711
12735
  context: e.queryTerm
12712
12736
  }));
12713
- }), ae = r(() => {
12737
+ }), ie = r(() => {
12714
12738
  let e = /* @__PURE__ */ new Map();
12715
- for (let t of ie.value) {
12739
+ for (let t of re.value) {
12716
12740
  let n = t.groupingLabel ?? "", r = e.get(n);
12717
12741
  r ? r.push(t) : e.set(n, [t]);
12718
12742
  }
12719
12743
  return Array.from(e.entries());
12720
- }), ce = r(() => ae.value.flatMap(([, e]) => e)), le = r(() => new Map(ce.value.map((e, t) => [e, t]))), J = j(-1), Y = r(() => {
12744
+ }), se = r(() => ie.value.flatMap(([, e]) => e)), ce = r(() => new Map(se.value.map((e, t) => [e, t]))), Y = j(-1), le = r(() => {
12721
12745
  if (!C.value) return null;
12722
- let e = ce.value[J.value] ?? null;
12746
+ let e = se.value[Y.value] ?? null;
12723
12747
  return e?.disabled ? null : e;
12724
- }), X = r(() => Y.value ? P(J.value) : void 0), de = (e) => {
12748
+ }), X = r(() => le.value ? P(Y.value) : void 0), de = (e) => {
12725
12749
  y(() => {
12726
12750
  document.getElementById(P(e))?.scrollIntoView?.({ block: "nearest" });
12727
12751
  });
12728
12752
  }, fe = (e) => {
12729
- let t = ce.value, n = t.length;
12753
+ let t = se.value, n = t.length;
12730
12754
  if (n === 0) return;
12731
- let r = J.value === -1 ? e > 0 ? -1 : 0 : J.value;
12755
+ let r = Y.value === -1 ? e > 0 ? -1 : 0 : Y.value;
12732
12756
  for (let i = 1; i <= n; i++) {
12733
12757
  let a = ((r + e * i) % n + n) % n;
12734
12758
  if (!t[a].disabled) {
12735
- J.value = a, de(a);
12759
+ Y.value = a, de(a);
12736
12760
  return;
12737
12761
  }
12738
12762
  }
12739
12763
  }, Z = (e) => {
12740
- e.disabled || (J.value = le.value.get(e) ?? -1);
12764
+ e.disabled || (Y.value = ce.value.get(e) ?? -1);
12741
12765
  };
12742
- G([ce, p], () => {
12743
- J.value = -1;
12744
- }), G([
12745
- ie,
12766
+ K([se, p], () => {
12767
+ Y.value = -1;
12768
+ }), K([
12769
+ re,
12746
12770
  p,
12747
12771
  () => n.optionsLoading
12748
12772
  ], ([e, t, n]) => {
12749
12773
  t && t.length > 0 && (e.length > 0 || n || D.value) ? C.value = !0 : (!t || t.length === 0) && (C.value = !1);
12750
12774
  }, { immediate: !0 });
12751
12775
  let pe = () => {
12752
- n.enableCustomOptionsInput && H(), J.value = -1, C.value = !1, w.value = !1, T.value = !1;
12776
+ n.enableCustomOptionsInput && H(), Y.value = -1, C.value = !1, w.value = !1, T.value = !1;
12753
12777
  }, me = (e) => {
12754
12778
  try {
12755
12779
  let t = {
@@ -12775,7 +12799,7 @@ var Qp = ["aria-label"], $p = { class: "pv-filter-panel-header pv-flex pv-border
12775
12799
  let _e = () => {
12776
12800
  p.value = "";
12777
12801
  };
12778
- return (n, r) => q((k(), o("div", {
12802
+ return (n, r) => J((k(), o("div", {
12779
12803
  ref: "query-builder-input",
12780
12804
  class: b(["pv-relative pv-query-builder-input-wrapper", { "pv-query-builder-input-small": e.size === "lg" }]),
12781
12805
  onFocus: ge,
@@ -12801,7 +12825,7 @@ var Qp = ["aria-label"], $p = { class: "pv-filter-panel-header pv-flex pv-border
12801
12825
  "modelValue",
12802
12826
  "wrap-content",
12803
12827
  "query-term-display-limit"
12804
- ]), q(s("input", {
12828
+ ]), J(s("input", {
12805
12829
  "onUpdate:modelValue": r[2] ||= (e) => p.value = e,
12806
12830
  ref: "search-input",
12807
12831
  "data-testid": "pv-search-input",
@@ -12817,7 +12841,7 @@ var Qp = ["aria-label"], $p = { class: "pv-filter-panel-header pv-flex pv-border
12817
12841
  style: S(p.value ? "min-width: 8rem;" : void 0),
12818
12842
  onFocus: ge,
12819
12843
  onBlur: ge
12820
- }, null, 44, Im), [[oe, p.value]])], 4),
12844
+ }, null, 44, Im), [[ae, p.value]])], 4),
12821
12845
  m.value && !e.hideClearButton ? (k(), i($, {
12822
12846
  key: 1,
12823
12847
  variant: "ghost",
@@ -12826,7 +12850,7 @@ var Qp = ["aria-label"], $p = { class: "pv-filter-panel-header pv-flex pv-border
12826
12850
  onClick: ee
12827
12851
  })) : a("", !0),
12828
12852
  B.value ? (k(), o("p", Lm, R(z.value), 1)) : a("", !0),
12829
- I.value ? q((k(), i(ei, {
12853
+ I.value ? J((k(), i(ei, {
12830
12854
  key: 3,
12831
12855
  class: "pv-scrollbar-visible",
12832
12856
  "css-custom-properties": d,
@@ -12835,18 +12859,18 @@ var Qp = ["aria-label"], $p = { class: "pv-filter-panel-header pv-flex pv-border
12835
12859
  listId: A,
12836
12860
  listRole: "listbox"
12837
12861
  }, c({
12838
- default: K(() => [e.optionsLoading ? (k(), o("div", Vm, [u(Be, { variant: "dark" })])) : (k(), o(t, { key: 0 }, [ie.value.length > 0 ? (k(!0), o(t, { key: 0 }, M(ae.value, ([e, n], r) => (k(), o(t, { key: e }, [e ? (k(), o("li", {
12862
+ default: q(() => [e.optionsLoading ? (k(), o("div", Vm, [u(Be, { variant: "dark" })])) : (k(), o(t, { key: 0 }, [re.value.length > 0 ? (k(!0), o(t, { key: 0 }, M(ie.value, ([e, n], r) => (k(), o(t, { key: e }, [e ? (k(), o("li", {
12839
12863
  key: 0,
12840
12864
  id: F(r),
12841
12865
  role: "presentation",
12842
12866
  class: "pv-query-builder-group-label pv-text-body-xs pv-text-subdued"
12843
12867
  }, R(e), 9, Rm)) : a("", !0), (k(!0), o(t, null, M(n, (t) => (k(), o("li", {
12844
12868
  key: `${e}-${t.id}`,
12845
- id: P(le.value.get(t) ?? -1),
12869
+ id: P(ce.value.get(t) ?? -1),
12846
12870
  role: "option",
12847
- "aria-selected": t === Y.value,
12871
+ "aria-selected": t === le.value,
12848
12872
  "aria-describedby": e ? F(r) : void 0,
12849
- class: b({ "pv-query-builder-option-active": t === Y.value }),
12873
+ class: b({ "pv-query-builder-option-active": t === le.value }),
12850
12874
  onMouseenter: (e) => Z(t)
12851
12875
  }, [u(ss, v({ ref_for: !0 }, t, {
12852
12876
  config: l,
@@ -12856,13 +12880,13 @@ var Qp = ["aria-label"], $p = { class: "pv-filter-panel-header pv-flex pv-border
12856
12880
  _: 2
12857
12881
  }, [n.$slots.header ? {
12858
12882
  name: "header",
12859
- fn: K(() => [N(n.$slots, "header")]),
12883
+ fn: q(() => [N(n.$slots, "header")]),
12860
12884
  key: "0"
12861
12885
  } : void 0, n.$slots.footer ? {
12862
12886
  name: "footer",
12863
- fn: K(() => [N(n.$slots, "footer")]),
12887
+ fn: q(() => [N(n.$slots, "footer")]),
12864
12888
  key: "1"
12865
- } : void 0]), 1536)), [[se, C.value]]) : a("", !0)
12889
+ } : void 0]), 1536)), [[oe, C.value]]) : a("", !0)
12866
12890
  ], 34)), [[V(ye), pe]]);
12867
12891
  }
12868
12892
  }), Um = (e) => !!(e.active || e.children?.some(Um)), Wm = {
@@ -12912,7 +12936,7 @@ var Qp = ["aria-label"], $p = { class: "pv-filter-panel-header pv-flex pv-border
12912
12936
  disabled: e.disabled,
12913
12937
  "css-custom-properties": { width: "100%" }
12914
12938
  }, {
12915
- trigger: K(() => [s("a", v({ href: t.url }, { ref_for: !0 }, t.linkAttrs, {
12939
+ trigger: q(() => [s("a", v({ href: t.url }, { ref_for: !0 }, t.linkAttrs, {
12916
12940
  role: t.url ? void 0 : "button",
12917
12941
  tabindex: t.url ? void 0 : 0,
12918
12942
  "data-active": V(Um)(t) || void 0,
@@ -12927,7 +12951,7 @@ var Qp = ["aria-label"], $p = { class: "pv-filter-panel-header pv-flex pv-border
12927
12951
  class: "pv-icon-16"
12928
12952
  })
12929
12953
  ], 16, qm)]),
12930
- content: K(() => [u(l, {
12954
+ content: q(() => [u(l, {
12931
12955
  items: t.children,
12932
12956
  disabled: e.disabled
12933
12957
  }, null, 8, ["items", "disabled"])]),
@@ -13061,7 +13085,7 @@ var Qp = ["aria-label"], $p = { class: "pv-filter-panel-header pv-flex pv-border
13061
13085
  }),
13062
13086
  emits: /* @__PURE__ */ _(["change"], ["update:modelValue"]),
13063
13087
  setup(e, { emit: n }) {
13064
- let c = e, d = f(), p = typeof HTMLElement < "u" && d && "ce" in d && d.ce instanceof HTMLElement ? d.ce : void 0, { present: m } = ir("sidebar-additional-content", { host: p }), { present: h } = ir("sidebar-additional-header", { host: p }), { present: g } = ir("sidebar-help-content", { host: p }), { present: _ } = ir("sidebar-profile-content", { host: p }), x = ne(), w = j(null), E = j(null), D = j({}), O = j(), A = /* @__PURE__ */ new Map(), P = /* @__PURE__ */ new Map(), I = j(0), L = de(E), z = r(() => ({
13088
+ let c = e, d = f(), p = typeof HTMLElement < "u" && d && "ce" in d && d.ce instanceof HTMLElement ? d.ce : void 0, { present: m } = ir("sidebar-additional-content", { host: p }), { present: h } = ir("sidebar-additional-header", { host: p }), { present: g } = ir("sidebar-help-content", { host: p }), { present: _ } = ir("sidebar-profile-content", { host: p }), x = W(), w = j(null), E = j(null), D = j({}), O = j(), A = /* @__PURE__ */ new Map(), P = /* @__PURE__ */ new Map(), I = j(0), L = de(E), z = r(() => ({
13065
13089
  "--pv-sidebar-hover-panel-height": `${L.height.value}px`,
13066
13090
  "--pv-sidebar-hover-panel-left": `${L.right.value}px`,
13067
13091
  "--pv-sidebar-hover-panel-top": `${L.top.value}px`
@@ -13075,18 +13099,18 @@ var Qp = ["aria-label"], $p = { class: "pv-filter-panel-header pv-flex pv-border
13075
13099
  let e = t.querySelector(eg);
13076
13100
  if (e) return e;
13077
13101
  }
13078
- }, W = (e, t) => {
13102
+ }, G = (e, t) => {
13079
13103
  if (e.shiftKey) return;
13080
13104
  let n = te(t);
13081
13105
  n && (e.preventDefault(), D.value[t] = !0, y(() => n.focus()));
13082
- }, re = (e) => {
13106
+ }, ne = (e) => {
13083
13107
  O.value = e, D.value[e] = !1, y(() => {
13084
13108
  P.get(e)?.focus({ preventScroll: !0 }), y(() => O.value = void 0);
13085
13109
  });
13110
+ }, re = (e, t) => {
13111
+ e.composedPath().some((e) => e instanceof Element && e.hasAttribute("data-sidebar-nav-panel-close")) && ne(t);
13086
13112
  }, ie = (e, t) => {
13087
- e.composedPath().some((e) => e instanceof Element && e.hasAttribute("data-sidebar-nav-panel-close")) && re(t);
13088
- }, ae = (e, t) => {
13089
- e.key === "Escape" && (e.preventDefault(), e.stopPropagation(), re(t));
13113
+ e.key === "Escape" && (e.preventDefault(), e.stopPropagation(), ne(t));
13090
13114
  };
13091
13115
  T(() => {
13092
13116
  p && (B = new MutationObserver((e) => {
@@ -13098,39 +13122,39 @@ var Qp = ["aria-label"], $p = { class: "pv-filter-panel-header pv-flex pv-border
13098
13122
  subtree: !0
13099
13123
  }));
13100
13124
  }), C(() => B?.disconnect());
13101
- let oe = (e) => {
13125
+ let ae = (e) => {
13102
13126
  for (let t of e) {
13103
13127
  if (t.active) return t;
13104
- let e = t.entities && oe(t.entities);
13128
+ let e = t.entities && ae(t.entities);
13105
13129
  if (e) return e;
13106
13130
  }
13107
- }, se = r(() => (c.organizations && oe(c.organizations)) ?? c.organizations?.[0]), ce = j((() => {
13131
+ }, oe = r(() => (c.organizations && ae(c.organizations)) ?? c.organizations?.[0]), se = j((() => {
13108
13132
  let e = {};
13109
13133
  return c.navItems?.forEach((t) => {
13110
13134
  Um(t) && (e[t.value] = !0);
13111
13135
  }), e;
13112
13136
  })());
13113
- G(() => c.navItems, (e) => {
13137
+ K(() => c.navItems, (e) => {
13114
13138
  e?.forEach((e) => {
13115
- Um(e) && (ce.value[e.value] = !0);
13139
+ Um(e) && (se.value[e.value] = !0);
13116
13140
  });
13117
13141
  });
13118
- let q = U(e, "modelValue"), J = j(!1), Y = r(() => !q.value && J.value), ue = n, X = j(!1), fe = j(!1), Z = j(!1), pe = j({}), me = () => {
13142
+ let J = U(e, "modelValue"), Y = j(!1), le = r(() => !J.value && Y.value), ue = n, X = j(!1), fe = j(!1), Z = j(!1), pe = j({}), me = () => {
13119
13143
  X.value = !1, D.value = {}, pe.value = {}, fe.value = !1, Z.value = !1;
13120
13144
  };
13121
- G(X, (e) => {
13145
+ K(X, (e) => {
13122
13146
  e && (D.value = {}, fe.value = !1, Z.value = !1);
13123
- }), G(fe, (e) => {
13147
+ }), K(fe, (e) => {
13124
13148
  e && (X.value = !1, D.value = {}, Z.value = !1);
13125
- }), G(Z, (e) => {
13149
+ }), K(Z, (e) => {
13126
13150
  e && (X.value = !1, D.value = {}, fe.value = !1);
13127
- }), G(q, () => {
13128
- me(), J.value = !0;
13151
+ }), K(J, () => {
13152
+ me(), Y.value = !0;
13129
13153
  });
13130
13154
  let he = () => {
13131
- q.value = !q.value, ue("change", { collapsed: q.value });
13155
+ J.value = !J.value, ue("change", { collapsed: J.value });
13132
13156
  }, ge = (e) => {
13133
- e.target === e.currentTarget && e.propertyName === "grid-template-columns" && (J.value = !1);
13157
+ e.target === e.currentTarget && e.propertyName === "grid-template-columns" && (Y.value = !1);
13134
13158
  }, _e = (e) => e.some(Um), ve = (e, t) => {
13135
13159
  if (t.url) {
13136
13160
  if (e.ctrlKey || e.metaKey || e.shiftKey || e.button === 1) {
@@ -13142,9 +13166,9 @@ var Qp = ["aria-label"], $p = { class: "pv-filter-panel-header pv-flex pv-border
13142
13166
  };
13143
13167
  return (n, r) => (k(), o("div", {
13144
13168
  class: b(["sidebar-layout sidebar-layout-new sidebar-layout-secondary", {
13145
- "is-collapsed": q.value,
13146
- "is-expanded": !q.value,
13147
- "is-transitioning": J.value
13169
+ "is-collapsed": J.value,
13170
+ "is-expanded": !J.value,
13171
+ "is-transitioning": Y.value
13148
13172
  }]),
13149
13173
  style: S(z.value),
13150
13174
  onTransitionend: ge
@@ -13154,19 +13178,19 @@ var Qp = ["aria-label"], $p = { class: "pv-filter-panel-header pv-flex pv-border
13154
13178
  ref: E,
13155
13179
  class: "sidebar-panel"
13156
13180
  }, [s("div", null, [V(h) ? (k(), o("div", Qm, [N(n.$slots, "sidebar-additional-header")])) : a("", !0), s("div", {
13157
- class: b(["sidebar-header", [{ "pv-border-bottom": q.value }]]),
13158
- "data-sidebar-collapsed": q.value || void 0
13181
+ class: b(["sidebar-header", [{ "pv-border-bottom": J.value }]]),
13182
+ "data-sidebar-collapsed": J.value || void 0
13159
13183
  }, [s("div", eh, [e.organizations && e.organizations.length ? (k(), o("div", th, [u(ur, {
13160
13184
  modelValue: fe.value,
13161
13185
  "onUpdate:modelValue": r[0] ||= (e) => fe.value = e,
13162
- position: q.value ? "right-top" : "bottom-left",
13186
+ position: J.value ? "right-top" : "bottom-left",
13163
13187
  "use-teleport": !!w.value,
13164
13188
  "teleport-location": w.value ?? "body",
13165
13189
  "css-custom-properties": { width: "100%" }
13166
13190
  }, {
13167
- trigger: K(() => [u(fr, {
13168
- description: se.value?.label,
13169
- disabled: !q.value || J.value || fe.value,
13191
+ trigger: q(() => [u(fr, {
13192
+ description: oe.value?.label,
13193
+ disabled: !J.value || Y.value || fe.value,
13170
13194
  variant: "white",
13171
13195
  position: "center-right",
13172
13196
  delay: 250,
@@ -13176,28 +13200,28 @@ var Qp = ["aria-label"], $p = { class: "pv-filter-panel-header pv-flex pv-border
13176
13200
  "teleport-location": w.value ?? "body",
13177
13201
  "css-custom-properties": { width: "100%" }
13178
13202
  }, {
13179
- trigger: K(() => [s("button", {
13203
+ trigger: q(() => [s("button", {
13180
13204
  type: "button",
13181
- class: b(["pv-nav-list-item pv-full-width pv-space-between", { "pv-sidebar-item-collapsed": q.value }]),
13205
+ class: b(["pv-nav-list-item pv-full-width pv-space-between", { "pv-sidebar-item-collapsed": J.value }]),
13182
13206
  "data-testid": "pv-sidebar-org-switcher",
13183
- "aria-label": `Switch organization: ${se.value?.label}`,
13207
+ "aria-label": `Switch organization: ${oe.value?.label}`,
13184
13208
  "aria-expanded": fe.value
13185
- }, [s("div", rh, [s("span", ih, [se.value?.avatarUrl ? (k(), o("img", {
13209
+ }, [s("div", rh, [s("span", ih, [oe.value?.avatarUrl ? (k(), o("img", {
13186
13210
  key: 0,
13187
- src: se.value.avatarUrl,
13211
+ src: oe.value.avatarUrl,
13188
13212
  alt: "Organization Avatar"
13189
- }, null, 8, ah)) : (k(), o("span", oh, R(se.value?.label?.slice(0, 1)), 1))]), s("span", {
13213
+ }, null, 8, ah)) : (k(), o("span", oh, R(oe.value?.label?.slice(0, 1)), 1))]), s("span", {
13190
13214
  class: "pv-text-title-lg pv-truncate",
13191
13215
  "data-sidebar-expanded-content": "",
13192
- "data-sidebar-collapsed": q.value || void 0,
13193
- "data-sidebar-expanding": Y.value || void 0,
13194
- title: se.value?.label
13195
- }, R(se.value?.label), 9, sh)]), u(Q, {
13216
+ "data-sidebar-collapsed": J.value || void 0,
13217
+ "data-sidebar-expanding": le.value || void 0,
13218
+ title: oe.value?.label
13219
+ }, R(oe.value?.label), 9, sh)]), u(Q, {
13196
13220
  name: "chevron-down",
13197
13221
  class: "pv-icon-16",
13198
13222
  "data-sidebar-expanded-content": "",
13199
- "data-sidebar-collapsed": q.value || void 0,
13200
- "data-sidebar-expanding": Y.value || void 0
13223
+ "data-sidebar-collapsed": J.value || void 0,
13224
+ "data-sidebar-expanding": le.value || void 0
13201
13225
  }, null, 8, ["data-sidebar-collapsed", "data-sidebar-expanding"])], 10, nh)]),
13202
13226
  _: 1
13203
13227
  }, 8, [
@@ -13206,7 +13230,7 @@ var Qp = ["aria-label"], $p = { class: "pv-filter-panel-header pv-flex pv-border
13206
13230
  "use-teleport",
13207
13231
  "teleport-location"
13208
13232
  ])]),
13209
- content: K(() => [s("div", ch, [s("ul", lh, [(k(!0), o(t, null, M(e.organizations, (e) => (k(), o(t, { key: e.value }, [s("li", { "data-active": e.active || void 0 }, [s("a", {
13233
+ content: q(() => [s("div", ch, [s("ul", lh, [(k(!0), o(t, null, M(e.organizations, (e) => (k(), o(t, { key: e.value }, [s("li", { "data-active": e.active || void 0 }, [s("a", {
13210
13234
  class: "pv-flex",
13211
13235
  href: e.url,
13212
13236
  "data-testid": "pv-sidebar-org-option",
@@ -13244,12 +13268,12 @@ var Qp = ["aria-label"], $p = { class: "pv-filter-panel-header pv-flex pv-border
13244
13268
  position: "center-right",
13245
13269
  delay: 1e3
13246
13270
  }, {
13247
- trigger: K(() => [u($, {
13271
+ trigger: q(() => [u($, {
13248
13272
  class: "sidebar-toggle",
13249
- "data-sidebar-collapsed": q.value || void 0,
13250
- "data-sidebar-expanding": Y.value || void 0,
13251
- "left-icon": q.value ? "panel-left-open" : "panel-left-close",
13252
- "aria-label": q.value ? "Open sidebar" : "Close sidebar",
13273
+ "data-sidebar-collapsed": J.value || void 0,
13274
+ "data-sidebar-expanding": le.value || void 0,
13275
+ "left-icon": J.value ? "panel-left-open" : "panel-left-close",
13276
+ "aria-label": J.value ? "Open sidebar" : "Close sidebar",
13253
13277
  variant: "ghost",
13254
13278
  onClick: he
13255
13279
  }, null, 8, [
@@ -13258,7 +13282,7 @@ var Qp = ["aria-label"], $p = { class: "pv-filter-panel-header pv-flex pv-border
13258
13282
  "left-icon",
13259
13283
  "aria-label"
13260
13284
  ])]),
13261
- content: K(() => [l(R(q.value ? "Expand navigation" : "Collapse navigation"), 1)]),
13285
+ content: q(() => [l(R(J.value ? "Expand navigation" : "Collapse navigation"), 1)]),
13262
13286
  _: 1
13263
13287
  }))], 10, $m)]), s("div", yh, [
13264
13288
  V(m) ? (k(), o("div", bh, [N(n.$slots, "sidebar-additional-content")])) : a("", !0),
@@ -13275,27 +13299,27 @@ var Qp = ["aria-label"], $p = { class: "pv-filter-panel-header pv-flex pv-border
13275
13299
  disabled: O.value === e.value,
13276
13300
  "css-custom-properties": { width: "100%" }
13277
13301
  }, {
13278
- trigger: K(() => [(k(), i(F(e.url ? "a" : "button"), v({
13302
+ trigger: q(() => [(k(), i(F(e.url ? "a" : "button"), v({
13279
13303
  ref_for: !0,
13280
13304
  ref: (t) => H(V(P), e.value, t),
13281
- class: ["pv-nav-list-item", { "pv-sidebar-item-collapsed": q.value }],
13305
+ class: ["pv-nav-list-item", { "pv-sidebar-item-collapsed": J.value }],
13282
13306
  href: e.url,
13283
13307
  type: e.url ? void 0 : "button"
13284
13308
  }, { ref_for: !0 }, e.linkAttrs, {
13285
13309
  "aria-current": e.active ? "page" : void 0,
13286
13310
  "aria-expanded": !!D.value[e.value],
13287
- "aria-label": q.value ? e.label : void 0,
13288
- title: q.value ? void 0 : e.label,
13289
- onKeydown: le((t) => W(t, e.value), ["tab"])
13311
+ "aria-label": J.value ? e.label : void 0,
13312
+ title: J.value ? void 0 : e.label,
13313
+ onKeydown: ce((t) => G(t, e.value), ["tab"])
13290
13314
  }), {
13291
- default: K(() => [e.icon ? (k(), i(Q, {
13315
+ default: q(() => [e.icon ? (k(), i(Q, {
13292
13316
  key: 0,
13293
13317
  name: e.icon,
13294
13318
  class: "pv-nav-icon"
13295
13319
  }, null, 8, ["name"])) : a("", !0), s("span", {
13296
13320
  class: "pv-flex pv-space-between pv-full-width",
13297
13321
  "data-sidebar-expanded-content": "",
13298
- "data-sidebar-collapsed": q.value || void 0,
13322
+ "data-sidebar-collapsed": J.value || void 0,
13299
13323
  style: { "flex-wrap": "wrap" }
13300
13324
  }, [s("span", { class: b(["pv-truncate pv-flex-item", { "pv-link-external": e.external }]) }, R(e.label), 3), e.badge ? (k(), o("span", wh, R(e.badge.toUpperCase()), 1)) : a("", !0)], 8, Ch)]),
13301
13325
  _: 2
@@ -13309,12 +13333,12 @@ var Qp = ["aria-label"], $p = { class: "pv-filter-panel-header pv-flex pv-border
13309
13333
  "title",
13310
13334
  "onKeydown"
13311
13335
  ]))]),
13312
- content: K(() => [s("div", {
13336
+ content: q(() => [s("div", {
13313
13337
  ref_for: !0,
13314
13338
  ref: (t) => H(V(A), e.value, t),
13315
13339
  class: "pv-sidebar-hover-panel",
13316
- onClick: (t) => ie(t, e.value),
13317
- onKeydown: (t) => ae(t, e.value)
13340
+ onClick: (t) => re(t, e.value),
13341
+ onKeydown: (t) => ie(t, e.value)
13318
13342
  }, [N(n.$slots, e.hoverPanelSlot)], 40, Th)]),
13319
13343
  _: 2
13320
13344
  }, 1032, [
@@ -13331,15 +13355,15 @@ var Qp = ["aria-label"], $p = { class: "pv-filter-panel-header pv-flex pv-border
13331
13355
  "use-teleport": !!w.value,
13332
13356
  "teleport-location": w.value ?? "body",
13333
13357
  position: "right-top",
13334
- disabled: !q.value,
13358
+ disabled: !J.value,
13335
13359
  "css-custom-properties": { width: "100%" }
13336
13360
  }, {
13337
- trigger: K(() => [s("a", v({
13338
- class: ["pv-nav-list-item", { "pv-sidebar-item-collapsed": q.value }],
13361
+ trigger: q(() => [s("a", v({
13362
+ class: ["pv-nav-list-item", { "pv-sidebar-item-collapsed": J.value }],
13339
13363
  href: e.url
13340
13364
  }, { ref_for: !0 }, e.linkAttrs, {
13341
13365
  "aria-current": e.active ? "page" : void 0,
13342
- title: q.value ? void 0 : e.label
13366
+ title: J.value ? void 0 : e.label
13343
13367
  }), [e.icon ? (k(), i(Q, {
13344
13368
  key: 0,
13345
13369
  name: e.icon,
@@ -13347,10 +13371,10 @@ var Qp = ["aria-label"], $p = { class: "pv-filter-panel-header pv-flex pv-border
13347
13371
  }, null, 8, ["name"])) : a("", !0), s("span", {
13348
13372
  class: "pv-flex pv-space-between pv-full-width",
13349
13373
  "data-sidebar-expanded-content": "",
13350
- "data-sidebar-collapsed": q.value || void 0,
13374
+ "data-sidebar-collapsed": J.value || void 0,
13351
13375
  style: { "flex-wrap": "wrap" }
13352
13376
  }, [s("span", { class: b(["pv-truncate pv-flex-item", { "pv-link-external": e.external }]) }, R(e.label), 3), e.badge ? (k(), o("span", Oh, R(e.badge.toUpperCase()), 1)) : a("", !0)], 8, Dh)], 16, Eh)]),
13353
- content: K(() => [s("div", kh, [s("ul", Ah, [s("li", { "data-active": e.active || void 0 }, [s("a", v({ href: e.url }, { ref_for: !0 }, e.linkAttrs, { style: { "flex-wrap": "wrap" } }), [s("span", { class: b(["pv-truncate pv-flex-item", { "pv-link-external": e.external }]) }, R(e.label), 3), e.badge ? (k(), o("span", Nh, R(e.badge.toUpperCase()), 1)) : a("", !0)], 16, Mh)], 8, jh)])])]),
13377
+ content: q(() => [s("div", kh, [s("ul", Ah, [s("li", { "data-active": e.active || void 0 }, [s("a", v({ href: e.url }, { ref_for: !0 }, e.linkAttrs, { style: { "flex-wrap": "wrap" } }), [s("span", { class: b(["pv-truncate pv-flex-item", { "pv-link-external": e.external }]) }, R(e.label), 3), e.badge ? (k(), o("span", Nh, R(e.badge.toUpperCase()), 1)) : a("", !0)], 16, Mh)], 8, jh)])])]),
13354
13378
  _: 2
13355
13379
  }, 1032, [
13356
13380
  "use-teleport",
@@ -13364,21 +13388,21 @@ var Qp = ["aria-label"], $p = { class: "pv-filter-panel-header pv-flex pv-border
13364
13388
  "use-teleport": !!w.value,
13365
13389
  "teleport-location": w.value ?? "body",
13366
13390
  position: "right-top",
13367
- disabled: !q.value,
13391
+ disabled: !J.value,
13368
13392
  "css-custom-properties": { width: "100%" }
13369
13393
  }, {
13370
- trigger: K(() => [u(Li, {
13371
- modelValue: ce.value[e.value],
13372
- "onUpdate:modelValue": (t) => ce.value[e.value] = t,
13394
+ trigger: q(() => [u(Li, {
13395
+ modelValue: se.value[e.value],
13396
+ "onUpdate:modelValue": (t) => se.value[e.value] = t,
13373
13397
  "default-open": V(Um)(e),
13374
13398
  "summary-attrs": {
13375
- class: q.value ? "pv-sidebar-item-collapsed" : void 0,
13376
- "aria-current": _e(e.children) && q.value ? "page" : void 0
13399
+ class: J.value ? "pv-sidebar-item-collapsed" : void 0,
13400
+ "aria-current": _e(e.children) && J.value ? "page" : void 0
13377
13401
  },
13378
13402
  "enable-trigger-slot": "",
13379
13403
  "enable-trigger-full-width": ""
13380
13404
  }, {
13381
- trigger: K(() => [s("div", {
13405
+ trigger: q(() => [s("div", {
13382
13406
  class: "pv-flex",
13383
13407
  onClick: (t) => e.children.length === 1 && ve(t, e.children[0]),
13384
13408
  onAuxclick: (t) => e.children.length === 1 && ve(t, e.children[0])
@@ -13388,11 +13412,11 @@ var Qp = ["aria-label"], $p = { class: "pv-filter-panel-header pv-flex pv-border
13388
13412
  class: "pv-nav-icon"
13389
13413
  }, null, 8, ["name"])) : a("", !0), s("span", {
13390
13414
  "data-sidebar-expanded-content": "",
13391
- "data-sidebar-collapsed": q.value || void 0
13415
+ "data-sidebar-collapsed": J.value || void 0
13392
13416
  }, R(e.label), 9, Fh)], 40, Ph)]),
13393
- default: K(() => [s("div", {
13417
+ default: q(() => [s("div", {
13394
13418
  class: "pv-sidebar-nav-nested",
13395
- "data-sidebar-collapsed": q.value || void 0
13419
+ "data-sidebar-collapsed": J.value || void 0
13396
13420
  }, [(k(!0), o(t, null, M(e.children, (e) => (k(), o(t, { key: e.value }, [e.children?.length ? (k(), i(ur, {
13397
13421
  key: 0,
13398
13422
  modelValue: pe.value[e.value],
@@ -13404,10 +13428,10 @@ var Qp = ["aria-label"], $p = { class: "pv-filter-panel-header pv-flex pv-border
13404
13428
  "teleport-location": w.value ?? "body",
13405
13429
  position: "right-top",
13406
13430
  offset: 8,
13407
- disabled: q.value,
13431
+ disabled: J.value,
13408
13432
  "css-custom-properties": { width: "100%" }
13409
13433
  }, {
13410
- trigger: K(() => [s("a", v({ href: e.url }, { ref_for: !0 }, e.linkAttrs, {
13434
+ trigger: q(() => [s("a", v({ href: e.url }, { ref_for: !0 }, e.linkAttrs, {
13411
13435
  role: e.url ? void 0 : "button",
13412
13436
  tabindex: e.url ? void 0 : 0,
13413
13437
  "aria-current": V(Um)(e) ? "page" : void 0,
@@ -13418,9 +13442,9 @@ var Qp = ["aria-label"], $p = { class: "pv-filter-panel-header pv-flex pv-border
13418
13442
  name: "chevron-right",
13419
13443
  class: "pv-icon-16"
13420
13444
  })], 16, Lh)]),
13421
- content: K(() => [u(Zm, {
13445
+ content: q(() => [u(Zm, {
13422
13446
  items: e.children,
13423
- disabled: q.value
13447
+ disabled: J.value
13424
13448
  }, null, 8, ["items", "disabled"])]),
13425
13449
  _: 2
13426
13450
  }, 1032, [
@@ -13443,9 +13467,9 @@ var Qp = ["aria-label"], $p = { class: "pv-filter-panel-header pv-flex pv-border
13443
13467
  "default-open",
13444
13468
  "summary-attrs"
13445
13469
  ])]),
13446
- content: K(() => [u(Zm, {
13470
+ content: q(() => [u(Zm, {
13447
13471
  items: e.children,
13448
- disabled: !q.value
13472
+ disabled: !J.value
13449
13473
  }, null, 8, ["items", "disabled"])]),
13450
13474
  _: 2
13451
13475
  }, 1032, [
@@ -13457,8 +13481,8 @@ var Qp = ["aria-label"], $p = { class: "pv-filter-panel-header pv-flex pv-border
13457
13481
  key: 0,
13458
13482
  modelValue: X.value,
13459
13483
  "onUpdate:modelValue": r[1] ||= (e) => X.value = e,
13460
- position: q.value ? "right-bottom" : "top-left",
13461
- "show-on-hover": q.value,
13484
+ position: J.value ? "right-bottom" : "top-left",
13485
+ "show-on-hover": J.value,
13462
13486
  "enable-group-sync": "",
13463
13487
  "enable-click-toggle": "",
13464
13488
  "use-teleport": !!w.value,
@@ -13466,9 +13490,9 @@ var Qp = ["aria-label"], $p = { class: "pv-filter-panel-header pv-flex pv-border
13466
13490
  offset: 4,
13467
13491
  "css-custom-properties": { width: "100%" }
13468
13492
  }, {
13469
- trigger: K(() => [s("button", {
13493
+ trigger: q(() => [s("button", {
13470
13494
  type: "button",
13471
- class: b(["pv-nav-list-item", { "pv-sidebar-item-collapsed": q.value }]),
13495
+ class: b(["pv-nav-list-item", { "pv-sidebar-item-collapsed": J.value }]),
13472
13496
  "aria-label": "Help",
13473
13497
  "aria-expanded": X.value,
13474
13498
  title: "Help"
@@ -13477,9 +13501,9 @@ var Qp = ["aria-label"], $p = { class: "pv-filter-panel-header pv-flex pv-border
13477
13501
  class: "pv-icon-20 pv-nav-icon"
13478
13502
  }), s("span", {
13479
13503
  "data-sidebar-expanded-content": "",
13480
- "data-sidebar-collapsed": q.value || void 0
13504
+ "data-sidebar-collapsed": J.value || void 0
13481
13505
  }, "Help", 8, Gh)], 10, Wh)]),
13482
- content: K(() => [s("div", Kh, [N(n.$slots, "sidebar-help-content")])]),
13506
+ content: q(() => [s("div", Kh, [N(n.$slots, "sidebar-help-content")])]),
13483
13507
  _: 3
13484
13508
  }, 8, [
13485
13509
  "modelValue",
@@ -13491,15 +13515,15 @@ var Qp = ["aria-label"], $p = { class: "pv-filter-panel-header pv-flex pv-border
13491
13515
  key: 1,
13492
13516
  modelValue: Z.value,
13493
13517
  "onUpdate:modelValue": r[2] ||= (e) => Z.value = e,
13494
- position: q.value ? "right-bottom" : "top-left",
13518
+ position: J.value ? "right-bottom" : "top-left",
13495
13519
  "use-teleport": !!w.value,
13496
13520
  "teleport-location": w.value ?? "body",
13497
13521
  offset: 4,
13498
13522
  "css-custom-properties": { width: "100%" }
13499
13523
  }, {
13500
- trigger: K(() => [s("button", {
13524
+ trigger: q(() => [s("button", {
13501
13525
  type: "button",
13502
- class: b(["pv-nav-list-item", { "pv-sidebar-item-collapsed": q.value }]),
13526
+ class: b(["pv-nav-list-item", { "pv-sidebar-item-collapsed": J.value }]),
13503
13527
  "data-testid": "pv-sidebar-profile-trigger",
13504
13528
  "aria-label": e.profile.name,
13505
13529
  "aria-expanded": Z.value,
@@ -13511,9 +13535,9 @@ var Qp = ["aria-label"], $p = { class: "pv-filter-panel-header pv-flex pv-border
13511
13535
  }, null, 8, Yh)) : (k(), o("span", Xh, R(e.profile.name.slice(0, 1)), 1))]), s("span", {
13512
13536
  class: "pv-truncate",
13513
13537
  "data-sidebar-expanded-content": "",
13514
- "data-sidebar-collapsed": q.value || void 0
13538
+ "data-sidebar-collapsed": J.value || void 0
13515
13539
  }, R(e.profile.name), 9, Zh)], 10, qh)]),
13516
- content: K(() => [s("div", Qh, [N(n.$slots, "sidebar-profile-content")])]),
13540
+ content: q(() => [s("div", Qh, [N(n.$slots, "sidebar-profile-content")])]),
13517
13541
  _: 3
13518
13542
  }, 8, [
13519
13543
  "modelValue",
@@ -13577,7 +13601,7 @@ var Qp = ["aria-label"], $p = { class: "pv-filter-panel-header pv-flex pv-border
13577
13601
  disabled: e.disabled,
13578
13602
  "css-custom-properties": { width: "100%" }
13579
13603
  }, {
13580
- trigger: K(() => [s("a", v({ href: t.url }, { ref_for: !0 }, t.linkAttrs, {
13604
+ trigger: q(() => [s("a", v({ href: t.url }, { ref_for: !0 }, t.linkAttrs, {
13581
13605
  role: t.url ? void 0 : "button",
13582
13606
  tabindex: t.url ? void 0 : 0,
13583
13607
  "data-active": V(ng)(t) || void 0,
@@ -13592,7 +13616,7 @@ var Qp = ["aria-label"], $p = { class: "pv-filter-panel-header pv-flex pv-border
13592
13616
  class: "pv-icon-16"
13593
13617
  })
13594
13618
  ], 16, og)]),
13595
- content: K(() => [u(l, {
13619
+ content: q(() => [u(l, {
13596
13620
  items: t.children,
13597
13621
  disabled: e.disabled
13598
13622
  }, null, 8, ["items", "disabled"])]),
@@ -13723,7 +13747,7 @@ var Qp = ["aria-label"], $p = { class: "pv-filter-panel-header pv-flex pv-border
13723
13747
  }),
13724
13748
  emits: /* @__PURE__ */ _(["change"], ["update:modelValue"]),
13725
13749
  setup(e, { emit: n }) {
13726
- let c = e, d = f(), p = typeof HTMLElement < "u" && d && "ce" in d && d.ce instanceof HTMLElement ? d.ce : void 0, { present: m } = ir("sidebar-additional-content", { host: p }), { present: h } = ir("sidebar-additional-header", { host: p }), { present: g } = ir("sidebar-help-content", { host: p }), { present: _ } = ir("sidebar-profile-content", { host: p }), x = ne(), w = j(null), E = j(null), D = j({}), O = j(), A = /* @__PURE__ */ new Map(), P = /* @__PURE__ */ new Map(), I = j(0), L = de(E), z = r(() => ({
13750
+ let c = e, d = f(), p = typeof HTMLElement < "u" && d && "ce" in d && d.ce instanceof HTMLElement ? d.ce : void 0, { present: m } = ir("sidebar-additional-content", { host: p }), { present: h } = ir("sidebar-additional-header", { host: p }), { present: g } = ir("sidebar-help-content", { host: p }), { present: _ } = ir("sidebar-profile-content", { host: p }), x = W(), w = j(null), E = j(null), D = j({}), O = j(), A = /* @__PURE__ */ new Map(), P = /* @__PURE__ */ new Map(), I = j(0), L = de(E), z = r(() => ({
13727
13751
  "--pv-sidebar-hover-panel-height": `${L.height.value}px`,
13728
13752
  "--pv-sidebar-hover-panel-left": `${L.right.value}px`,
13729
13753
  "--pv-sidebar-hover-panel-top": `${L.top.value}px`
@@ -13737,18 +13761,18 @@ var Qp = ["aria-label"], $p = { class: "pv-filter-panel-header pv-flex pv-border
13737
13761
  let e = t.querySelector(d_);
13738
13762
  if (e) return e;
13739
13763
  }
13740
- }, W = (e, t) => {
13764
+ }, G = (e, t) => {
13741
13765
  if (e.shiftKey) return;
13742
13766
  let n = te(t);
13743
13767
  n && (e.preventDefault(), D.value[t] = !0, y(() => n.focus()));
13744
- }, re = (e) => {
13768
+ }, ne = (e) => {
13745
13769
  O.value = e, D.value[e] = !1, y(() => {
13746
13770
  P.get(e)?.focus({ preventScroll: !0 }), y(() => O.value = void 0);
13747
13771
  });
13772
+ }, re = (e, t) => {
13773
+ e.composedPath().some((e) => e instanceof Element && e.hasAttribute("data-sidebar-nav-panel-close")) && ne(t);
13748
13774
  }, ie = (e, t) => {
13749
- e.composedPath().some((e) => e instanceof Element && e.hasAttribute("data-sidebar-nav-panel-close")) && re(t);
13750
- }, ae = (e, t) => {
13751
- e.key === "Escape" && (e.preventDefault(), e.stopPropagation(), re(t));
13775
+ e.key === "Escape" && (e.preventDefault(), e.stopPropagation(), ne(t));
13752
13776
  };
13753
13777
  T(() => {
13754
13778
  p && (B = new MutationObserver((e) => {
@@ -13760,39 +13784,39 @@ var Qp = ["aria-label"], $p = { class: "pv-filter-panel-header pv-flex pv-border
13760
13784
  subtree: !0
13761
13785
  }));
13762
13786
  }), C(() => B?.disconnect());
13763
- let oe = (e) => {
13787
+ let ae = (e) => {
13764
13788
  for (let t of e) {
13765
13789
  if (t.active) return t;
13766
- let e = t.entities && oe(t.entities);
13790
+ let e = t.entities && ae(t.entities);
13767
13791
  if (e) return e;
13768
13792
  }
13769
- }, se = r(() => (c.organizations && oe(c.organizations)) ?? c.organizations?.[0]), ce = j((() => {
13793
+ }, oe = r(() => (c.organizations && ae(c.organizations)) ?? c.organizations?.[0]), se = j((() => {
13770
13794
  let e = {};
13771
13795
  return c.navItems?.forEach((t) => {
13772
13796
  ng(t) && (e[t.value] = !0);
13773
13797
  }), e;
13774
13798
  })());
13775
- G(() => c.navItems, (e) => {
13799
+ K(() => c.navItems, (e) => {
13776
13800
  e?.forEach((e) => {
13777
- ng(e) && (ce.value[e.value] = !0);
13801
+ ng(e) && (se.value[e.value] = !0);
13778
13802
  });
13779
13803
  });
13780
- let q = U(e, "modelValue"), J = j(!1), Y = r(() => !q.value && J.value), ue = n, X = j(!1), fe = j(!1), Z = j(!1), pe = j({}), me = () => {
13804
+ let J = U(e, "modelValue"), Y = j(!1), le = r(() => !J.value && Y.value), ue = n, X = j(!1), fe = j(!1), Z = j(!1), pe = j({}), me = () => {
13781
13805
  X.value = !1, D.value = {}, pe.value = {}, fe.value = !1, Z.value = !1;
13782
13806
  };
13783
- G(X, (e) => {
13807
+ K(X, (e) => {
13784
13808
  e && (D.value = {}, fe.value = !1, Z.value = !1);
13785
- }), G(fe, (e) => {
13809
+ }), K(fe, (e) => {
13786
13810
  e && (X.value = !1, D.value = {}, Z.value = !1);
13787
- }), G(Z, (e) => {
13811
+ }), K(Z, (e) => {
13788
13812
  e && (X.value = !1, D.value = {}, fe.value = !1);
13789
- }), G(q, () => {
13790
- me(), J.value = !0;
13813
+ }), K(J, () => {
13814
+ me(), Y.value = !0;
13791
13815
  });
13792
13816
  let he = () => {
13793
- q.value = !q.value, ue("change", { collapsed: q.value });
13817
+ J.value = !J.value, ue("change", { collapsed: J.value });
13794
13818
  }, ge = (e) => {
13795
- e.target === e.currentTarget && e.propertyName === "grid-template-columns" && (J.value = !1);
13819
+ e.target === e.currentTarget && e.propertyName === "grid-template-columns" && (Y.value = !1);
13796
13820
  }, _e = (e) => e.some(ng), ve = (e, t) => {
13797
13821
  if (t.url) {
13798
13822
  if (e.ctrlKey || e.metaKey || e.shiftKey || e.button === 1) {
@@ -13804,9 +13828,9 @@ var Qp = ["aria-label"], $p = { class: "pv-filter-panel-header pv-flex pv-border
13804
13828
  };
13805
13829
  return (n, r) => (k(), o("div", {
13806
13830
  class: b(["sidebar-layout sidebar-layout-new", [e.variant && `sidebar-layout-${e.variant}`, {
13807
- "is-collapsed": q.value,
13808
- "is-expanded": !q.value,
13809
- "is-transitioning": J.value
13831
+ "is-collapsed": J.value,
13832
+ "is-expanded": !J.value,
13833
+ "is-transitioning": Y.value
13810
13834
  }]]),
13811
13835
  style: S(z.value),
13812
13836
  onTransitionend: ge
@@ -13816,22 +13840,22 @@ var Qp = ["aria-label"], $p = { class: "pv-filter-panel-header pv-flex pv-border
13816
13840
  ref: E,
13817
13841
  class: "sidebar-panel"
13818
13842
  }, [s("div", null, [V(h) ? (k(), o("div", dg, [N(n.$slots, "sidebar-additional-header")])) : a("", !0), s("div", {
13819
- class: b(["sidebar-header", [{ "pv-border-bottom": q.value }]]),
13820
- "data-sidebar-collapsed": q.value || void 0
13843
+ class: b(["sidebar-header", [{ "pv-border-bottom": J.value }]]),
13844
+ "data-sidebar-collapsed": J.value || void 0
13821
13845
  }, [s("div", pg, [e.organizations && e.organizations.length ? (k(), o("div", {
13822
13846
  key: 0,
13823
13847
  class: b(["pv-sidebar-nav-header", e.variant && `pv-sidebar-surface-${e.variant}`])
13824
13848
  }, [u(ur, {
13825
13849
  modelValue: fe.value,
13826
13850
  "onUpdate:modelValue": r[0] ||= (e) => fe.value = e,
13827
- position: q.value ? "right-top" : "bottom-left",
13851
+ position: J.value ? "right-top" : "bottom-left",
13828
13852
  "use-teleport": !!w.value,
13829
13853
  "teleport-location": w.value ?? "body",
13830
13854
  "css-custom-properties": { width: "100%" }
13831
13855
  }, {
13832
- trigger: K(() => [u(fr, {
13833
- description: se.value?.label,
13834
- disabled: !q.value || J.value || fe.value,
13856
+ trigger: q(() => [u(fr, {
13857
+ description: oe.value?.label,
13858
+ disabled: !J.value || Y.value || fe.value,
13835
13859
  variant: "white",
13836
13860
  position: "center-right",
13837
13861
  delay: 250,
@@ -13841,28 +13865,28 @@ var Qp = ["aria-label"], $p = { class: "pv-filter-panel-header pv-flex pv-border
13841
13865
  "teleport-location": w.value ?? "body",
13842
13866
  "css-custom-properties": { width: "100%" }
13843
13867
  }, {
13844
- trigger: K(() => [s("button", {
13868
+ trigger: q(() => [s("button", {
13845
13869
  type: "button",
13846
- class: b(["pv-nav-list-item pv-full-width pv-space-between", { "pv-sidebar-item-collapsed": q.value }]),
13870
+ class: b(["pv-nav-list-item pv-full-width pv-space-between", { "pv-sidebar-item-collapsed": J.value }]),
13847
13871
  "data-testid": "pv-sidebar-org-switcher",
13848
- "aria-label": `Switch organization: ${se.value?.label}`,
13872
+ "aria-label": `Switch organization: ${oe.value?.label}`,
13849
13873
  "aria-expanded": fe.value
13850
- }, [s("div", hg, [s("span", gg, [se.value?.avatarUrl ? (k(), o("img", {
13874
+ }, [s("div", hg, [s("span", gg, [oe.value?.avatarUrl ? (k(), o("img", {
13851
13875
  key: 0,
13852
- src: se.value.avatarUrl,
13876
+ src: oe.value.avatarUrl,
13853
13877
  alt: "Organization Avatar"
13854
- }, null, 8, _g)) : (k(), o("span", vg, R(se.value?.label?.slice(0, 1)), 1))]), s("span", {
13878
+ }, null, 8, _g)) : (k(), o("span", vg, R(oe.value?.label?.slice(0, 1)), 1))]), s("span", {
13855
13879
  class: "pv-text-title-lg pv-truncate",
13856
13880
  "data-sidebar-expanded-content": "",
13857
- "data-sidebar-collapsed": q.value || void 0,
13858
- "data-sidebar-expanding": Y.value || void 0,
13859
- title: se.value?.label
13860
- }, R(se.value?.label), 9, yg)]), u(Q, {
13881
+ "data-sidebar-collapsed": J.value || void 0,
13882
+ "data-sidebar-expanding": le.value || void 0,
13883
+ title: oe.value?.label
13884
+ }, R(oe.value?.label), 9, yg)]), u(Q, {
13861
13885
  name: "chevron-down",
13862
13886
  class: "pv-icon-16",
13863
13887
  "data-sidebar-expanded-content": "",
13864
- "data-sidebar-collapsed": q.value || void 0,
13865
- "data-sidebar-expanding": Y.value || void 0
13888
+ "data-sidebar-collapsed": J.value || void 0,
13889
+ "data-sidebar-expanding": le.value || void 0
13866
13890
  }, null, 8, ["data-sidebar-collapsed", "data-sidebar-expanding"])], 10, mg)]),
13867
13891
  _: 1
13868
13892
  }, 8, [
@@ -13871,7 +13895,7 @@ var Qp = ["aria-label"], $p = { class: "pv-filter-panel-header pv-flex pv-border
13871
13895
  "use-teleport",
13872
13896
  "teleport-location"
13873
13897
  ])]),
13874
- content: K(() => [s("div", bg, [s("ul", xg, [(k(!0), o(t, null, M(e.organizations, (e) => (k(), o(t, { key: e.value }, [s("li", { "data-active": e.active || void 0 }, [s("a", {
13898
+ content: q(() => [s("div", bg, [s("ul", xg, [(k(!0), o(t, null, M(e.organizations, (e) => (k(), o(t, { key: e.value }, [s("li", { "data-active": e.active || void 0 }, [s("a", {
13875
13899
  class: "pv-flex",
13876
13900
  href: e.url,
13877
13901
  "data-testid": "pv-sidebar-org-option",
@@ -13909,12 +13933,12 @@ var Qp = ["aria-label"], $p = { class: "pv-filter-panel-header pv-flex pv-border
13909
13933
  position: "center-right",
13910
13934
  delay: 1e3
13911
13935
  }, {
13912
- trigger: K(() => [u($, {
13936
+ trigger: q(() => [u($, {
13913
13937
  class: "sidebar-toggle",
13914
- "data-sidebar-collapsed": q.value || void 0,
13915
- "data-sidebar-expanding": Y.value || void 0,
13916
- "left-icon": q.value ? "panel-left-open" : "panel-left-close",
13917
- "aria-label": q.value ? "Open sidebar" : "Close sidebar",
13938
+ "data-sidebar-collapsed": J.value || void 0,
13939
+ "data-sidebar-expanding": le.value || void 0,
13940
+ "left-icon": J.value ? "panel-left-open" : "panel-left-close",
13941
+ "aria-label": J.value ? "Open sidebar" : "Close sidebar",
13918
13942
  variant: "ghost",
13919
13943
  onClick: he
13920
13944
  }, null, 8, [
@@ -13923,7 +13947,7 @@ var Qp = ["aria-label"], $p = { class: "pv-filter-panel-header pv-flex pv-border
13923
13947
  "left-icon",
13924
13948
  "aria-label"
13925
13949
  ])]),
13926
- content: K(() => [l(R(q.value ? "Expand navigation" : "Collapse navigation"), 1)]),
13950
+ content: q(() => [l(R(J.value ? "Expand navigation" : "Collapse navigation"), 1)]),
13927
13951
  _: 1
13928
13952
  }))], 10, fg)]), s("div", { class: b(["pv-sidebar-nav", e.variant && `pv-sidebar-surface-${e.variant}`]) }, [
13929
13953
  V(m) ? (k(), o("div", jg, [N(n.$slots, "sidebar-additional-content")])) : a("", !0),
@@ -13940,27 +13964,27 @@ var Qp = ["aria-label"], $p = { class: "pv-filter-panel-header pv-flex pv-border
13940
13964
  disabled: O.value === e.value,
13941
13965
  "css-custom-properties": { width: "100%" }
13942
13966
  }, {
13943
- trigger: K(() => [(k(), i(F(e.url ? "a" : "button"), v({
13967
+ trigger: q(() => [(k(), i(F(e.url ? "a" : "button"), v({
13944
13968
  ref_for: !0,
13945
13969
  ref: (t) => H(V(P), e.value, t),
13946
- class: ["pv-nav-list-item", { "pv-sidebar-item-collapsed": q.value }],
13970
+ class: ["pv-nav-list-item", { "pv-sidebar-item-collapsed": J.value }],
13947
13971
  href: e.url,
13948
13972
  type: e.url ? void 0 : "button"
13949
13973
  }, { ref_for: !0 }, e.linkAttrs, {
13950
13974
  "aria-current": e.active ? "page" : void 0,
13951
13975
  "aria-expanded": !!D.value[e.value],
13952
- "aria-label": q.value ? e.label : void 0,
13953
- title: q.value ? void 0 : e.label,
13954
- onKeydown: le((t) => W(t, e.value), ["tab"])
13976
+ "aria-label": J.value ? e.label : void 0,
13977
+ title: J.value ? void 0 : e.label,
13978
+ onKeydown: ce((t) => G(t, e.value), ["tab"])
13955
13979
  }), {
13956
- default: K(() => [e.icon ? (k(), i(Q, {
13980
+ default: q(() => [e.icon ? (k(), i(Q, {
13957
13981
  key: 0,
13958
13982
  name: e.icon,
13959
13983
  class: "pv-nav-icon"
13960
13984
  }, null, 8, ["name"])) : a("", !0), s("span", {
13961
13985
  class: "pv-flex pv-space-between pv-full-width",
13962
13986
  "data-sidebar-expanded-content": "",
13963
- "data-sidebar-collapsed": q.value || void 0,
13987
+ "data-sidebar-collapsed": J.value || void 0,
13964
13988
  style: { "flex-wrap": "wrap" }
13965
13989
  }, [s("span", { class: b(["pv-truncate pv-flex-item", { "pv-link-external": e.external }]) }, R(e.label), 3), e.badge ? (k(), o("span", Fg, R(e.badge.toUpperCase()), 1)) : a("", !0)], 8, Pg)]),
13966
13990
  _: 2
@@ -13974,12 +13998,12 @@ var Qp = ["aria-label"], $p = { class: "pv-filter-panel-header pv-flex pv-border
13974
13998
  "title",
13975
13999
  "onKeydown"
13976
14000
  ]))]),
13977
- content: K(() => [s("div", {
14001
+ content: q(() => [s("div", {
13978
14002
  ref_for: !0,
13979
14003
  ref: (t) => H(V(A), e.value, t),
13980
14004
  class: "pv-sidebar-hover-panel",
13981
- onClick: (t) => ie(t, e.value),
13982
- onKeydown: (t) => ae(t, e.value)
14005
+ onClick: (t) => re(t, e.value),
14006
+ onKeydown: (t) => ie(t, e.value)
13983
14007
  }, [N(n.$slots, e.hoverPanelSlot)], 40, Ig)]),
13984
14008
  _: 2
13985
14009
  }, 1032, [
@@ -13996,15 +14020,15 @@ var Qp = ["aria-label"], $p = { class: "pv-filter-panel-header pv-flex pv-border
13996
14020
  "use-teleport": !!w.value,
13997
14021
  "teleport-location": w.value ?? "body",
13998
14022
  position: "right-top",
13999
- disabled: !q.value,
14023
+ disabled: !J.value,
14000
14024
  "css-custom-properties": { width: "100%" }
14001
14025
  }, {
14002
- trigger: K(() => [s("a", v({
14003
- class: ["pv-nav-list-item", { "pv-sidebar-item-collapsed": q.value }],
14026
+ trigger: q(() => [s("a", v({
14027
+ class: ["pv-nav-list-item", { "pv-sidebar-item-collapsed": J.value }],
14004
14028
  href: e.url
14005
14029
  }, { ref_for: !0 }, e.linkAttrs, {
14006
14030
  "aria-current": e.active ? "page" : void 0,
14007
- title: q.value ? void 0 : e.label
14031
+ title: J.value ? void 0 : e.label
14008
14032
  }), [e.icon ? (k(), i(Q, {
14009
14033
  key: 0,
14010
14034
  name: e.icon,
@@ -14012,10 +14036,10 @@ var Qp = ["aria-label"], $p = { class: "pv-filter-panel-header pv-flex pv-border
14012
14036
  }, null, 8, ["name"])) : a("", !0), s("span", {
14013
14037
  class: "pv-flex pv-space-between pv-full-width",
14014
14038
  "data-sidebar-expanded-content": "",
14015
- "data-sidebar-collapsed": q.value || void 0,
14039
+ "data-sidebar-collapsed": J.value || void 0,
14016
14040
  style: { "flex-wrap": "wrap" }
14017
14041
  }, [s("span", { class: b(["pv-truncate pv-flex-item", { "pv-link-external": e.external }]) }, R(e.label), 3), e.badge ? (k(), o("span", zg, R(e.badge.toUpperCase()), 1)) : a("", !0)], 8, Rg)], 16, Lg)]),
14018
- content: K(() => [s("div", Bg, [s("ul", Vg, [s("li", { "data-active": e.active || void 0 }, [s("a", v({ href: e.url }, { ref_for: !0 }, e.linkAttrs, { style: { "flex-wrap": "wrap" } }), [s("span", { class: b(["pv-truncate pv-flex-item", { "pv-link-external": e.external }]) }, R(e.label), 3), e.badge ? (k(), o("span", Wg, R(e.badge.toUpperCase()), 1)) : a("", !0)], 16, Ug)], 8, Hg)])])]),
14042
+ content: q(() => [s("div", Bg, [s("ul", Vg, [s("li", { "data-active": e.active || void 0 }, [s("a", v({ href: e.url }, { ref_for: !0 }, e.linkAttrs, { style: { "flex-wrap": "wrap" } }), [s("span", { class: b(["pv-truncate pv-flex-item", { "pv-link-external": e.external }]) }, R(e.label), 3), e.badge ? (k(), o("span", Wg, R(e.badge.toUpperCase()), 1)) : a("", !0)], 16, Ug)], 8, Hg)])])]),
14019
14043
  _: 2
14020
14044
  }, 1032, [
14021
14045
  "use-teleport",
@@ -14029,21 +14053,21 @@ var Qp = ["aria-label"], $p = { class: "pv-filter-panel-header pv-flex pv-border
14029
14053
  "use-teleport": !!w.value,
14030
14054
  "teleport-location": w.value ?? "body",
14031
14055
  position: "right-top",
14032
- disabled: !q.value,
14056
+ disabled: !J.value,
14033
14057
  "css-custom-properties": { width: "100%" }
14034
14058
  }, {
14035
- trigger: K(() => [u(Li, {
14036
- modelValue: ce.value[e.value],
14037
- "onUpdate:modelValue": (t) => ce.value[e.value] = t,
14059
+ trigger: q(() => [u(Li, {
14060
+ modelValue: se.value[e.value],
14061
+ "onUpdate:modelValue": (t) => se.value[e.value] = t,
14038
14062
  "default-open": V(ng)(e),
14039
14063
  "summary-attrs": {
14040
- class: q.value ? "pv-sidebar-item-collapsed" : void 0,
14041
- "aria-current": _e(e.children) && q.value ? "page" : void 0
14064
+ class: J.value ? "pv-sidebar-item-collapsed" : void 0,
14065
+ "aria-current": _e(e.children) && J.value ? "page" : void 0
14042
14066
  },
14043
14067
  "enable-trigger-slot": "",
14044
14068
  "enable-trigger-full-width": ""
14045
14069
  }, {
14046
- trigger: K(() => [s("div", {
14070
+ trigger: q(() => [s("div", {
14047
14071
  class: "pv-flex",
14048
14072
  onClick: (t) => e.children.length === 1 && ve(t, e.children[0]),
14049
14073
  onAuxclick: (t) => e.children.length === 1 && ve(t, e.children[0])
@@ -14053,11 +14077,11 @@ var Qp = ["aria-label"], $p = { class: "pv-filter-panel-header pv-flex pv-border
14053
14077
  class: "pv-nav-icon"
14054
14078
  }, null, 8, ["name"])) : a("", !0), s("span", {
14055
14079
  "data-sidebar-expanded-content": "",
14056
- "data-sidebar-collapsed": q.value || void 0
14080
+ "data-sidebar-collapsed": J.value || void 0
14057
14081
  }, R(e.label), 9, Kg)], 40, Gg)]),
14058
- default: K(() => [s("div", {
14082
+ default: q(() => [s("div", {
14059
14083
  class: "pv-sidebar-nav-nested",
14060
- "data-sidebar-collapsed": q.value || void 0
14084
+ "data-sidebar-collapsed": J.value || void 0
14061
14085
  }, [(k(!0), o(t, null, M(e.children, (e) => (k(), o(t, { key: e.value }, [e.children?.length ? (k(), i(ur, {
14062
14086
  key: 0,
14063
14087
  modelValue: pe.value[e.value],
@@ -14069,10 +14093,10 @@ var Qp = ["aria-label"], $p = { class: "pv-filter-panel-header pv-flex pv-border
14069
14093
  "teleport-location": w.value ?? "body",
14070
14094
  position: "right-top",
14071
14095
  offset: 8,
14072
- disabled: q.value,
14096
+ disabled: J.value,
14073
14097
  "css-custom-properties": { width: "100%" }
14074
14098
  }, {
14075
- trigger: K(() => [s("a", v({ href: e.url }, { ref_for: !0 }, e.linkAttrs, {
14099
+ trigger: q(() => [s("a", v({ href: e.url }, { ref_for: !0 }, e.linkAttrs, {
14076
14100
  role: e.url ? void 0 : "button",
14077
14101
  tabindex: e.url ? void 0 : 0,
14078
14102
  "aria-current": V(ng)(e) ? "page" : void 0,
@@ -14083,9 +14107,9 @@ var Qp = ["aria-label"], $p = { class: "pv-filter-panel-header pv-flex pv-border
14083
14107
  name: "chevron-right",
14084
14108
  class: "pv-icon-16"
14085
14109
  })], 16, Jg)]),
14086
- content: K(() => [u(ug, {
14110
+ content: q(() => [u(ug, {
14087
14111
  items: e.children,
14088
- disabled: q.value
14112
+ disabled: J.value
14089
14113
  }, null, 8, ["items", "disabled"])]),
14090
14114
  _: 2
14091
14115
  }, 1032, [
@@ -14108,9 +14132,9 @@ var Qp = ["aria-label"], $p = { class: "pv-filter-panel-header pv-flex pv-border
14108
14132
  "default-open",
14109
14133
  "summary-attrs"
14110
14134
  ])]),
14111
- content: K(() => [u(ug, {
14135
+ content: q(() => [u(ug, {
14112
14136
  items: e.children,
14113
- disabled: !q.value
14137
+ disabled: !J.value
14114
14138
  }, null, 8, ["items", "disabled"])]),
14115
14139
  _: 2
14116
14140
  }, 1032, [
@@ -14122,8 +14146,8 @@ var Qp = ["aria-label"], $p = { class: "pv-filter-panel-header pv-flex pv-border
14122
14146
  key: 0,
14123
14147
  modelValue: X.value,
14124
14148
  "onUpdate:modelValue": r[1] ||= (e) => X.value = e,
14125
- position: q.value ? "right-bottom" : "top-left",
14126
- "show-on-hover": q.value,
14149
+ position: J.value ? "right-bottom" : "top-left",
14150
+ "show-on-hover": J.value,
14127
14151
  "enable-group-sync": "",
14128
14152
  "enable-click-toggle": "",
14129
14153
  "use-teleport": !!w.value,
@@ -14131,9 +14155,9 @@ var Qp = ["aria-label"], $p = { class: "pv-filter-panel-header pv-flex pv-border
14131
14155
  offset: 4,
14132
14156
  "css-custom-properties": { width: "100%" }
14133
14157
  }, {
14134
- trigger: K(() => [s("button", {
14158
+ trigger: q(() => [s("button", {
14135
14159
  type: "button",
14136
- class: b(["pv-nav-list-item", { "pv-sidebar-item-collapsed": q.value }]),
14160
+ class: b(["pv-nav-list-item", { "pv-sidebar-item-collapsed": J.value }]),
14137
14161
  "aria-label": "Help",
14138
14162
  "aria-expanded": X.value,
14139
14163
  title: "Help"
@@ -14142,9 +14166,9 @@ var Qp = ["aria-label"], $p = { class: "pv-filter-panel-header pv-flex pv-border
14142
14166
  class: "pv-icon-20 pv-nav-icon"
14143
14167
  }), s("span", {
14144
14168
  "data-sidebar-expanded-content": "",
14145
- "data-sidebar-collapsed": q.value || void 0
14169
+ "data-sidebar-collapsed": J.value || void 0
14146
14170
  }, "Help", 8, n_)], 10, t_)]),
14147
- content: K(() => [s("div", r_, [N(n.$slots, "sidebar-help-content")])]),
14171
+ content: q(() => [s("div", r_, [N(n.$slots, "sidebar-help-content")])]),
14148
14172
  _: 3
14149
14173
  }, 8, [
14150
14174
  "modelValue",
@@ -14156,15 +14180,15 @@ var Qp = ["aria-label"], $p = { class: "pv-filter-panel-header pv-flex pv-border
14156
14180
  key: 1,
14157
14181
  modelValue: Z.value,
14158
14182
  "onUpdate:modelValue": r[2] ||= (e) => Z.value = e,
14159
- position: q.value ? "right-bottom" : "top-left",
14183
+ position: J.value ? "right-bottom" : "top-left",
14160
14184
  "use-teleport": !!w.value,
14161
14185
  "teleport-location": w.value ?? "body",
14162
14186
  offset: 4,
14163
14187
  "css-custom-properties": { width: "100%" }
14164
14188
  }, {
14165
- trigger: K(() => [s("button", {
14189
+ trigger: q(() => [s("button", {
14166
14190
  type: "button",
14167
- class: b(["pv-nav-list-item", { "pv-sidebar-item-collapsed": q.value }]),
14191
+ class: b(["pv-nav-list-item", { "pv-sidebar-item-collapsed": J.value }]),
14168
14192
  "data-testid": "pv-sidebar-profile-trigger",
14169
14193
  "aria-label": e.profile.name,
14170
14194
  "aria-expanded": Z.value,
@@ -14176,9 +14200,9 @@ var Qp = ["aria-label"], $p = { class: "pv-filter-panel-header pv-flex pv-border
14176
14200
  }, null, 8, o_)) : (k(), o("span", s_, R(e.profile.name.slice(0, 1)), 1))]), s("span", {
14177
14201
  class: "pv-truncate",
14178
14202
  "data-sidebar-expanded-content": "",
14179
- "data-sidebar-collapsed": q.value || void 0
14203
+ "data-sidebar-collapsed": J.value || void 0
14180
14204
  }, R(e.profile.name), 9, c_)], 10, i_)]),
14181
- content: K(() => [s("div", l_, [N(n.$slots, "sidebar-profile-content")])]),
14205
+ content: q(() => [s("div", l_, [N(n.$slots, "sidebar-profile-content")])]),
14182
14206
  _: 3
14183
14207
  }, 8, [
14184
14208
  "modelValue",
@@ -14476,6 +14500,7 @@ var Qp = ["aria-label"], $p = { class: "pv-filter-panel-header pv-flex pv-border
14476
14500
  "sleeping",
14477
14501
  "boo"
14478
14502
  ], I_ = [
14503
+ "xs",
14479
14504
  "sm",
14480
14505
  "md",
14481
14506
  "lg",