ose-app 0.3.0__py3-none-any.whl → 0.3.1__py3-none-any.whl

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,2 +1,2 @@
1
- import{u as xe,a8 as Le,a6 as je,a5 as Me,w as k,r as N,l as E,a9 as Ze,W as Q,U as K,aa as Qe,o as me,k as Je,S as et,Q as tt,M as nt,m as ot}from"./filter-CiYqP1_r.js";const Ke=(n,e="")=>{const t=`${e}___`;return`___BVN__ID__${n}__${e?t:""}`},be=n=>Ke(n),P=n=>Ke(`${n}__plugin`),cn=be("progress"),un=be("collapse"),dn=P("globalShowHideStorage"),fn=be("navbar"),vn=P("rtl"),pn=P("breadcrumbPlugin"),mn=P("modalManager"),bn=P("defaults"),hn=P("toast"),Bn=P("modalController"),yn=P("popover");function R(n){return Le()?(je(n),!0):!1}function rt(n){let e=0,t,o;const i=()=>{e-=1,o&&e<=0&&(o.stop(),t=void 0,o=void 0)};return(...a)=>(e+=1,o||(o=Ze(!0),t=o.run(()=>n(...a))),R(i),t)}function S(n){return typeof n=="function"?n():xe(n)}const J=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const at=n=>n!=null,it=Object.prototype.toString,st=n=>it.call(n)==="[object Object]",Ne=()=>+Date.now(),ee=()=>{},Se=lt();function lt(){var n,e;return J&&((n=window?.navigator)==null?void 0:n.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((e=window?.navigator)==null?void 0:e.maxTouchPoints)>2&&/iPad|Macintosh/.test(window?.navigator.userAgent))}function ct(n,e){function t(...o){return new Promise((i,a)=>{Promise.resolve(n(()=>e.apply(this,o),{fn:e,thisArg:this,args:o})).then(i).catch(a)})}return t}function ut(...n){let e=0,t,o=!0,i=ee,a,r,d,l,u;!Me(n[0])&&typeof n[0]=="object"?{delay:r,trailing:d=!0,leading:l=!0,rejectOnCancel:u=!1}=n[0]:[r,d=!0,l=!0,u=!1]=n;const f=()=>{t&&(clearTimeout(t),t=void 0,i(),i=ee)};return p=>{const y=S(r),C=Date.now()-e,L=()=>a=p();return f(),y<=0?(e=Date.now(),L()):(C>y&&(l||!o)?(e=Date.now(),L()):d&&(a=new Promise((G,j)=>{i=u?j:G,t=setTimeout(()=>{e=Date.now(),o=!0,G(L()),f()},Math.max(0,y-C))})),!l&&!t&&(t=setTimeout(()=>o=!0,y)),o=!1,a)}}function dt(...n){if(n.length!==1)return Q(...n);const e=n[0];return typeof e=="function"?K(Qe(()=>({get:e,set:ee}))):N(e)}function gn(n,e=200,t=!1,o=!0,i=!1){return ct(ut(e,t,o,i),n)}function ft(n,e=1e3,t={}){const{immediate:o=!0,immediateCallback:i=!1}=t;let a=null;const r=N(!1);function d(){a&&(clearInterval(a),a=null)}function l(){r.value=!1,d()}function u(){const f=S(e);f<=0||(r.value=!0,i&&n(),d(),r.value&&(a=setInterval(n,f)))}if(o&&J&&u(),Me(e)||typeof e=="function"){const f=k(e,()=>{r.value&&J&&u()});R(f)}return R(l),{isActive:r,pause:l,resume:u}}function wn(n,e={}){const{method:t="parseFloat",radix:o,nanToZero:i}=e;return E(()=>{let a=S(n);return typeof a=="string"&&(a=Number[t](a,o)),i&&Number.isNaN(a)&&(a=0),a})}const U=J?window:void 0;function he(n){var e;const t=S(n);return(e=t?.$el)!=null?e:t}function _(...n){let e,t,o,i;if(typeof n[0]=="string"||Array.isArray(n[0])?([t,o,i]=n,e=U):[e,t,o,i]=n,!e)return ee;Array.isArray(t)||(t=[t]),Array.isArray(o)||(o=[o]);const a=[],r=()=>{a.forEach(f=>f()),a.length=0},d=(f,m,p,y)=>(f.addEventListener(m,p,y),()=>f.removeEventListener(m,p,y)),l=k(()=>[he(e),S(i)],([f,m])=>{if(r(),!f)return;const p=st(m)?{...m}:m;a.push(...t.flatMap(y=>o.map(C=>d(f,y,C,p))))},{immediate:!0,flush:"post"}),u=()=>{l(),r()};return R(u),u}function vt(n){return typeof n=="function"?n:typeof n=="string"?e=>e.key===n:Array.isArray(n)?e=>n.includes(e.key):()=>!0}function Tn(...n){let e,t,o={};n.length===3?(e=n[0],t=n[1],o=n[2]):n.length===2?typeof n[1]=="object"?(e=!0,t=n[0],o=n[1]):(e=n[0],t=n[1]):(e=!0,t=n[0]);const{target:i=U,eventName:a="keydown",passive:r=!1,dedupe:d=!1}=o,l=vt(e);return _(i,a,f=>{f.repeat&&S(d)||l(f)&&t(f)},r)}function pt(){const n=N(!1),e=Je();return e&&me(()=>{n.value=!0},e),n}function mt(n){const e=pt();return E(()=>(e.value,!!n()))}function bt(n,e,t={}){const{window:o=U,...i}=t;let a;const r=mt(()=>o&&"MutationObserver"in o),d=()=>{a&&(a.disconnect(),a=void 0)},l=E(()=>{const p=S(n),y=(Array.isArray(p)?p:[p]).map(he).filter(at);return new Set(y)}),u=k(()=>l.value,p=>{d(),r.value&&p.size&&(a=new MutationObserver(e),p.forEach(y=>a.observe(y,i)))},{immediate:!0,flush:"post"}),f=()=>a?.takeRecords(),m=()=>{u(),d()};return R(m),{isSupported:r,stop:m,takeRecords:f}}function ht(n,e={}){const{immediate:t=!0,fpsLimit:o=void 0,window:i=U}=e,a=N(!1),r=o?1e3/o:null;let d=0,l=null;function u(p){if(!a.value||!i)return;d||(d=p);const y=p-d;if(r&&y<r){l=i.requestAnimationFrame(u);return}d=p,n({delta:y,timestamp:p}),l=i.requestAnimationFrame(u)}function f(){!a.value&&i&&(a.value=!0,d=0,l=i.requestAnimationFrame(u))}function m(){a.value=!1,l!=null&&i&&(i.cancelAnimationFrame(l),l=null)}return t&&f(),R(m),{isActive:K(a),pause:m,resume:f}}const z=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Y="__vueuse_ssr_handlers__",Bt=yt();function yt(){return Y in z||(z[Y]=z[Y]||{}),z[Y]}function Fn(n,e){return Bt[n]||e}function Cn(n,e={}){const{delayEnter:t=0,delayLeave:o=0,window:i=U}=e,a=N(!1);let r;const d=l=>{const u=l?t:o;r&&(clearTimeout(r),r=void 0),u?r=setTimeout(()=>a.value=l,u):a.value=l};return i&&(_(n,"mouseenter",()=>d(!0),{passive:!0}),_(n,"mouseleave",()=>d(!1),{passive:!0})),a}function Nn(n,e={}){const{initialValue:t=!1,focusVisible:o=!1,preventScroll:i=!1}=e,a=N(!1),r=E(()=>he(n));_(r,"focus",l=>{var u,f;(!o||(f=(u=l.target).matches)!=null&&f.call(u,":focus-visible"))&&(a.value=!0)}),_(r,"blur",()=>a.value=!1);const d=E({get:()=>a.value,set(l){var u,f;!l&&a.value?(u=r.value)==null||u.blur():l&&!a.value&&((f=r.value)==null||f.focus({preventScroll:i}))}});return k(r,()=>{d.value=t},{immediate:!0,flush:"post"}),{focused:d}}function le(n){return typeof Window<"u"&&n instanceof Window?n.document.documentElement:typeof Document<"u"&&n instanceof Document?n.documentElement:n}function _e(n){const e=window.getComputedStyle(n);if(e.overflowX==="scroll"||e.overflowY==="scroll"||e.overflowX==="auto"&&n.clientWidth<n.scrollWidth||e.overflowY==="auto"&&n.clientHeight<n.scrollHeight)return!0;{const t=n.parentNode;return!t||t.tagName==="BODY"?!1:_e(t)}}function gt(n){const e=n||window.event,t=e.target;return _e(t)?!1:e.touches.length>1?!0:(e.preventDefault&&e.preventDefault(),!1)}const ce=new WeakMap;function wt(n,e=!1){const t=N(e);let o=null,i="";k(dt(n),d=>{const l=le(S(d));if(l){const u=l;if(ce.get(u)||ce.set(u,u.style.overflow),u.style.overflow!=="hidden"&&(i=u.style.overflow),u.style.overflow==="hidden")return t.value=!0;if(t.value)return u.style.overflow="hidden"}},{immediate:!0});const a=()=>{const d=le(S(n));!d||t.value||(Se&&(o=_(d,"touchmove",l=>{gt(l)},{passive:!1})),d.style.overflow="hidden",t.value=!0)},r=()=>{const d=le(S(n));!d||!t.value||(Se&&o?.(),d.style.overflow=i,ce.delete(d),t.value=!1)};return R(r),E({get(){return t.value},set(d){d?a():r()}})}function Sn(n={}){const{controls:e=!1,offset:t=0,immediate:o=!0,interval:i="requestAnimationFrame",callback:a}=n,r=N(Ne()+t),d=()=>r.value=Ne()+t,l=a?()=>{d(),a(r.value)}:d,u=i==="requestAnimationFrame"?ht(l,{immediate:o}):ft(l,i,{immediate:o});return e?{timestamp:r,...u}:r}function Tt(n){return Le()?(je(n),!0):!1}function fe(n){return typeof n=="function"?n():xe(n)}typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const Ft=n=>n!=null;function Ct(n){var e;const t=fe(n);return(e=t?.$el)!=null?e:t}var Ge=["input:not([inert])","select:not([inert])","textarea:not([inert])","a[href]:not([inert])","button:not([inert])","[tabindex]:not(slot):not([inert])","audio[controls]:not([inert])","video[controls]:not([inert])",'[contenteditable]:not([contenteditable="false"]):not([inert])',"details>summary:first-of-type:not([inert])","details:not([inert])"],te=Ge.join(","),We=typeof Element>"u",x=We?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,ne=!We&&Element.prototype.getRootNode?function(n){var e;return n==null||(e=n.getRootNode)===null||e===void 0?void 0:e.call(n)}:function(n){return n?.ownerDocument},oe=function n(e,t){var o;t===void 0&&(t=!0);var i=e==null||(o=e.getAttribute)===null||o===void 0?void 0:o.call(e,"inert"),a=i===""||i==="true",r=a||t&&e&&n(e.parentNode);return r},Nt=function(e){var t,o=e==null||(t=e.getAttribute)===null||t===void 0?void 0:t.call(e,"contenteditable");return o===""||o==="true"},$e=function(e,t,o){if(oe(e))return[];var i=Array.prototype.slice.apply(e.querySelectorAll(te));return t&&x.call(e,te)&&i.unshift(e),i=i.filter(o),i},Ve=function n(e,t,o){for(var i=[],a=Array.from(e);a.length;){var r=a.shift();if(!oe(r,!1))if(r.tagName==="SLOT"){var d=r.assignedElements(),l=d.length?d:r.children,u=n(l,!0,o);o.flatten?i.push.apply(i,u):i.push({scopeParent:r,candidates:u})}else{var f=x.call(r,te);f&&o.filter(r)&&(t||!e.includes(r))&&i.push(r);var m=r.shadowRoot||typeof o.getShadowRoot=="function"&&o.getShadowRoot(r),p=!oe(m,!1)&&(!o.shadowRootFilter||o.shadowRootFilter(r));if(m&&p){var y=n(m===!0?r.children:m.children,!0,o);o.flatten?i.push.apply(i,y):i.push({scopeParent:r,candidates:y})}else a.unshift.apply(a,r.children)}}return i},qe=function(e){return!isNaN(parseInt(e.getAttribute("tabindex"),10))},O=function(e){if(!e)throw new Error("No node provided");return e.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||Nt(e))&&!qe(e)?0:e.tabIndex},St=function(e,t){var o=O(e);return o<0&&t&&!qe(e)?0:o},kt=function(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex},He=function(e){return e.tagName==="INPUT"},At=function(e){return He(e)&&e.type==="hidden"},Et=function(e){var t=e.tagName==="DETAILS"&&Array.prototype.slice.apply(e.children).some(function(o){return o.tagName==="SUMMARY"});return t},Pt=function(e,t){for(var o=0;o<e.length;o++)if(e[o].checked&&e[o].form===t)return e[o]},Dt=function(e){if(!e.name)return!0;var t=e.form||ne(e),o=function(d){return t.querySelectorAll('input[type="radio"][name="'+d+'"]')},i;if(typeof window<"u"&&typeof window.CSS<"u"&&typeof window.CSS.escape=="function")i=o(window.CSS.escape(e.name));else try{i=o(e.name)}catch(r){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",r.message),!1}var a=Pt(i,e.form);return!a||a===e},It=function(e){return He(e)&&e.type==="radio"},Ot=function(e){return It(e)&&!Dt(e)},Rt=function(e){var t,o=e&&ne(e),i=(t=o)===null||t===void 0?void 0:t.host,a=!1;if(o&&o!==e){var r,d,l;for(a=!!((r=i)!==null&&r!==void 0&&(d=r.ownerDocument)!==null&&d!==void 0&&d.contains(i)||e!=null&&(l=e.ownerDocument)!==null&&l!==void 0&&l.contains(e));!a&&i;){var u,f,m;o=ne(i),i=(u=o)===null||u===void 0?void 0:u.host,a=!!((f=i)!==null&&f!==void 0&&(m=f.ownerDocument)!==null&&m!==void 0&&m.contains(i))}}return a},ke=function(e){var t=e.getBoundingClientRect(),o=t.width,i=t.height;return o===0&&i===0},xt=function(e,t){var o=t.displayCheck,i=t.getShadowRoot;if(getComputedStyle(e).visibility==="hidden")return!0;var a=x.call(e,"details>summary:first-of-type"),r=a?e.parentElement:e;if(x.call(r,"details:not([open]) *"))return!0;if(!o||o==="full"||o==="legacy-full"){if(typeof i=="function"){for(var d=e;e;){var l=e.parentElement,u=ne(e);if(l&&!l.shadowRoot&&i(l)===!0)return ke(e);e.assignedSlot?e=e.assignedSlot:!l&&u!==e.ownerDocument?e=u.host:e=l}e=d}if(Rt(e))return!e.getClientRects().length;if(o!=="legacy-full")return!0}else if(o==="non-zero-area")return ke(e);return!1},Lt=function(e){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))for(var t=e.parentElement;t;){if(t.tagName==="FIELDSET"&&t.disabled){for(var o=0;o<t.children.length;o++){var i=t.children.item(o);if(i.tagName==="LEGEND")return x.call(t,"fieldset[disabled] *")?!0:!i.contains(e)}return!0}t=t.parentElement}return!1},re=function(e,t){return!(t.disabled||oe(t)||At(t)||xt(t,e)||Et(t)||Lt(t))},ve=function(e,t){return!(Ot(t)||O(t)<0||!re(e,t))},jt=function(e){var t=parseInt(e.getAttribute("tabindex"),10);return!!(isNaN(t)||t>=0)},Mt=function n(e){var t=[],o=[];return e.forEach(function(i,a){var r=!!i.scopeParent,d=r?i.scopeParent:i,l=St(d,r),u=r?n(i.candidates):d;l===0?r?t.push.apply(t,u):t.push(d):o.push({documentOrder:a,tabIndex:l,item:i,isScope:r,content:u})}),o.sort(kt).reduce(function(i,a){return a.isScope?i.push.apply(i,a.content):i.push(a.content),i},[]).concat(t)},Kt=function(e,t){t=t||{};var o;return t.getShadowRoot?o=Ve([e],t.includeContainer,{filter:ve.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:jt}):o=$e(e,t.includeContainer,ve.bind(null,t)),Mt(o)},_t=function(e,t){t=t||{};var o;return t.getShadowRoot?o=Ve([e],t.includeContainer,{filter:re.bind(null,t),flatten:!0,getShadowRoot:t.getShadowRoot}):o=$e(e,t.includeContainer,re.bind(null,t)),o},M=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return x.call(e,te)===!1?!1:ve(t,e)},Gt=Ge.concat("iframe").join(","),ue=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return x.call(e,Gt)===!1?!1:re(t,e)};function pe(n,e){(e==null||e>n.length)&&(e=n.length);for(var t=0,o=Array(e);t<e;t++)o[t]=n[t];return o}function Wt(n){if(Array.isArray(n))return pe(n)}function $t(n,e,t){return(e=zt(e))in n?Object.defineProperty(n,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):n[e]=t,n}function Vt(n){if(typeof Symbol<"u"&&n[Symbol.iterator]!=null||n["@@iterator"]!=null)return Array.from(n)}function qt(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
2
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Ae(n,e){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(n);e&&(o=o.filter(function(i){return Object.getOwnPropertyDescriptor(n,i).enumerable})),t.push.apply(t,o)}return t}function Ee(n){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?arguments[e]:{};e%2?Ae(Object(t),!0).forEach(function(o){$t(n,o,t[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(t)):Ae(Object(t)).forEach(function(o){Object.defineProperty(n,o,Object.getOwnPropertyDescriptor(t,o))})}return n}function Ht(n){return Wt(n)||Vt(n)||Yt(n)||qt()}function Ut(n,e){if(typeof n!="object"||!n)return n;var t=n[Symbol.toPrimitive];if(t!==void 0){var o=t.call(n,e);if(typeof o!="object")return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(n)}function zt(n){var e=Ut(n,"string");return typeof e=="symbol"?e:e+""}function Yt(n,e){if(n){if(typeof n=="string")return pe(n,e);var t={}.toString.call(n).slice(8,-1);return t==="Object"&&n.constructor&&(t=n.constructor.name),t==="Map"||t==="Set"?Array.from(n):t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?pe(n,e):void 0}}var Pe={activateTrap:function(e,t){if(e.length>0){var o=e[e.length-1];o!==t&&o.pause()}var i=e.indexOf(t);i===-1||e.splice(i,1),e.push(t)},deactivateTrap:function(e,t){var o=e.indexOf(t);o!==-1&&e.splice(o,1),e.length>0&&e[e.length-1].unpause()}},Xt=function(e){return e.tagName&&e.tagName.toLowerCase()==="input"&&typeof e.select=="function"},Zt=function(e){return e?.key==="Escape"||e?.key==="Esc"||e?.keyCode===27},H=function(e){return e?.key==="Tab"||e?.keyCode===9},Qt=function(e){return H(e)&&!e.shiftKey},Jt=function(e){return H(e)&&e.shiftKey},De=function(e){return setTimeout(e,0)},q=function(e){for(var t=arguments.length,o=new Array(t>1?t-1:0),i=1;i<t;i++)o[i-1]=arguments[i];return typeof e=="function"?e.apply(void 0,o):e},X=function(e){return e.target.shadowRoot&&typeof e.composedPath=="function"?e.composedPath()[0]:e.target},en=[],tn=function(e,t){var o=t?.document||document,i=t?.trapStack||en,a=Ee({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0,isKeyForward:Qt,isKeyBackward:Jt},t),r={containers:[],containerGroups:[],tabbableGroups:[],nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,delayInitialFocusTimer:void 0,recentNavEvent:void 0},d,l=function(s,c,v){return s&&s[c]!==void 0?s[c]:a[v||c]},u=function(s,c){var v=typeof c?.composedPath=="function"?c.composedPath():void 0;return r.containerGroups.findIndex(function(h){var B=h.container,w=h.tabbableNodes;return B.contains(s)||v?.includes(B)||w.find(function(b){return b===s})})},f=function(s){var c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},v=c.hasFallback,h=v===void 0?!1:v,B=c.params,w=B===void 0?[]:B,b=a[s];if(typeof b=="function"&&(b=b.apply(void 0,Ht(w))),b===!0&&(b=void 0),!b){if(b===void 0||b===!1)return b;throw new Error("`".concat(s,"` was specified but was not a node, or did not return a node"))}var T=b;if(typeof b=="string"){try{T=o.querySelector(b)}catch(F){throw new Error("`".concat(s,'` appears to be an invalid selector; error="').concat(F.message,'"'))}if(!T&&!h)throw new Error("`".concat(s,"` as selector refers to no known node"))}return T},m=function(){var s=f("initialFocus",{hasFallback:!0});if(s===!1)return!1;if(s===void 0||s&&!ue(s,a.tabbableOptions))if(u(o.activeElement)>=0)s=o.activeElement;else{var c=r.tabbableGroups[0],v=c&&c.firstTabbableNode;s=v||f("fallbackFocus")}else s===null&&(s=f("fallbackFocus"));if(!s)throw new Error("Your focus-trap needs to have at least one focusable element");return s},p=function(){if(r.containerGroups=r.containers.map(function(s){var c=Kt(s,a.tabbableOptions),v=_t(s,a.tabbableOptions),h=c.length>0?c[0]:void 0,B=c.length>0?c[c.length-1]:void 0,w=v.find(function(F){return M(F)}),b=v.slice().reverse().find(function(F){return M(F)}),T=!!c.find(function(F){return O(F)>0});return{container:s,tabbableNodes:c,focusableNodes:v,posTabIndexesFound:T,firstTabbableNode:h,lastTabbableNode:B,firstDomTabbableNode:w,lastDomTabbableNode:b,nextTabbableNode:function(D){var $=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,A=c.indexOf(D);return A<0?$?v.slice(v.indexOf(D)+1).find(function(V){return M(V)}):v.slice(0,v.indexOf(D)).reverse().find(function(V){return M(V)}):c[A+($?1:-1)]}}}),r.tabbableGroups=r.containerGroups.filter(function(s){return s.tabbableNodes.length>0}),r.tabbableGroups.length<=0&&!f("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times");if(r.containerGroups.find(function(s){return s.posTabIndexesFound})&&r.containerGroups.length>1)throw new Error("At least one node with a positive tabindex was found in one of your focus-trap's multiple containers. Positive tabindexes are only supported in single-container focus-traps.")},y=function(s){var c=s.activeElement;if(c)return c.shadowRoot&&c.shadowRoot.activeElement!==null?y(c.shadowRoot):c},C=function(s){if(s!==!1&&s!==y(document)){if(!s||!s.focus){C(m());return}s.focus({preventScroll:!!a.preventScroll}),r.mostRecentlyFocusedNode=s,Xt(s)&&s.select()}},L=function(s){var c=f("setReturnFocus",{params:[s]});return c||(c===!1?!1:s)},G=function(s){var c=s.target,v=s.event,h=s.isBackward,B=h===void 0?!1:h;c=c||X(v),p();var w=null;if(r.tabbableGroups.length>0){var b=u(c,v),T=b>=0?r.containerGroups[b]:void 0;if(b<0)B?w=r.tabbableGroups[r.tabbableGroups.length-1].lastTabbableNode:w=r.tabbableGroups[0].firstTabbableNode;else if(B){var F=r.tabbableGroups.findIndex(function(ie){var se=ie.firstTabbableNode;return c===se});if(F<0&&(T.container===c||ue(c,a.tabbableOptions)&&!M(c,a.tabbableOptions)&&!T.nextTabbableNode(c,!1))&&(F=b),F>=0){var D=F===0?r.tabbableGroups.length-1:F-1,$=r.tabbableGroups[D];w=O(c)>=0?$.lastTabbableNode:$.lastDomTabbableNode}else H(v)||(w=T.nextTabbableNode(c,!1))}else{var A=r.tabbableGroups.findIndex(function(ie){var se=ie.lastTabbableNode;return c===se});if(A<0&&(T.container===c||ue(c,a.tabbableOptions)&&!M(c,a.tabbableOptions)&&!T.nextTabbableNode(c))&&(A=b),A>=0){var V=A===r.tabbableGroups.length-1?0:A+1,Ce=r.tabbableGroups[V];w=O(c)>=0?Ce.firstTabbableNode:Ce.firstDomTabbableNode}else H(v)||(w=T.nextTabbableNode(c))}}else w=f("fallbackFocus");return w},j=function(s){var c=X(s);if(!(u(c,s)>=0)){if(q(a.clickOutsideDeactivates,s)){d.deactivate({returnFocus:a.returnFocusOnDeactivate});return}q(a.allowOutsideClick,s)||s.preventDefault()}},Be=function(s){var c=X(s),v=u(c,s)>=0;if(v||c instanceof Document)v&&(r.mostRecentlyFocusedNode=c);else{s.stopImmediatePropagation();var h,B=!0;if(r.mostRecentlyFocusedNode)if(O(r.mostRecentlyFocusedNode)>0){var w=u(r.mostRecentlyFocusedNode),b=r.containerGroups[w].tabbableNodes;if(b.length>0){var T=b.findIndex(function(F){return F===r.mostRecentlyFocusedNode});T>=0&&(a.isKeyForward(r.recentNavEvent)?T+1<b.length&&(h=b[T+1],B=!1):T-1>=0&&(h=b[T-1],B=!1))}}else r.containerGroups.some(function(F){return F.tabbableNodes.some(function(D){return O(D)>0})})||(B=!1);else B=!1;B&&(h=G({target:r.mostRecentlyFocusedNode,isBackward:a.isKeyBackward(r.recentNavEvent)})),C(h||r.mostRecentlyFocusedNode||m())}r.recentNavEvent=void 0},Ye=function(s){var c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;r.recentNavEvent=s;var v=G({event:s,isBackward:c});v&&(H(s)&&s.preventDefault(),C(v))},ye=function(s){(a.isKeyForward(s)||a.isKeyBackward(s))&&Ye(s,a.isKeyBackward(s))},ge=function(s){Zt(s)&&q(a.escapeDeactivates,s)!==!1&&(s.preventDefault(),d.deactivate())},we=function(s){var c=X(s);u(c,s)>=0||q(a.clickOutsideDeactivates,s)||q(a.allowOutsideClick,s)||(s.preventDefault(),s.stopImmediatePropagation())},Te=function(){if(r.active)return Pe.activateTrap(i,d),r.delayInitialFocusTimer=a.delayInitialFocus?De(function(){C(m())}):C(m()),o.addEventListener("focusin",Be,!0),o.addEventListener("mousedown",j,{capture:!0,passive:!1}),o.addEventListener("touchstart",j,{capture:!0,passive:!1}),o.addEventListener("click",we,{capture:!0,passive:!1}),o.addEventListener("keydown",ye,{capture:!0,passive:!1}),o.addEventListener("keydown",ge),d},Fe=function(){if(r.active)return o.removeEventListener("focusin",Be,!0),o.removeEventListener("mousedown",j,!0),o.removeEventListener("touchstart",j,!0),o.removeEventListener("click",we,!0),o.removeEventListener("keydown",ye,!0),o.removeEventListener("keydown",ge),d},Xe=function(s){var c=s.some(function(v){var h=Array.from(v.removedNodes);return h.some(function(B){return B===r.mostRecentlyFocusedNode})});c&&C(m())},ae=typeof window<"u"&&"MutationObserver"in window?new MutationObserver(Xe):void 0,W=function(){ae&&(ae.disconnect(),r.active&&!r.paused&&r.containers.map(function(s){ae.observe(s,{subtree:!0,childList:!0})}))};return d={get active(){return r.active},get paused(){return r.paused},activate:function(s){if(r.active)return this;var c=l(s,"onActivate"),v=l(s,"onPostActivate"),h=l(s,"checkCanFocusTrap");h||p(),r.active=!0,r.paused=!1,r.nodeFocusedBeforeActivation=o.activeElement,c?.();var B=function(){h&&p(),Te(),W(),v?.()};return h?(h(r.containers.concat()).then(B,B),this):(B(),this)},deactivate:function(s){if(!r.active)return this;var c=Ee({onDeactivate:a.onDeactivate,onPostDeactivate:a.onPostDeactivate,checkCanReturnFocus:a.checkCanReturnFocus},s);clearTimeout(r.delayInitialFocusTimer),r.delayInitialFocusTimer=void 0,Fe(),r.active=!1,r.paused=!1,W(),Pe.deactivateTrap(i,d);var v=l(c,"onDeactivate"),h=l(c,"onPostDeactivate"),B=l(c,"checkCanReturnFocus"),w=l(c,"returnFocus","returnFocusOnDeactivate");v?.();var b=function(){De(function(){w&&C(L(r.nodeFocusedBeforeActivation)),h?.()})};return w&&B?(B(L(r.nodeFocusedBeforeActivation)).then(b,b),this):(b(),this)},pause:function(s){if(r.paused||!r.active)return this;var c=l(s,"onPause"),v=l(s,"onPostPause");return r.paused=!0,c?.(),Fe(),W(),v?.(),this},unpause:function(s){if(!r.paused||!r.active)return this;var c=l(s,"onUnpause"),v=l(s,"onPostUnpause");return r.paused=!1,c?.(),p(),Te(),W(),v?.(),this},updateContainerElements:function(s){var c=[].concat(s).filter(Boolean);return r.containers=c.map(function(v){return typeof v=="string"?o.querySelector(v):v}),r.active&&p(),W(),this}},d.updateContainerElements(e),d};function nn(n,e={}){let t;const{immediate:o,...i}=e,a=N(!1),r=N(!1),d=p=>t&&t.activate(p),l=p=>t&&t.deactivate(p),u=()=>{t&&(t.pause(),r.value=!0)},f=()=>{t&&(t.unpause(),r.value=!1)},m=E(()=>{const p=fe(n);return(Array.isArray(p)?p:[p]).map(y=>{const C=fe(y);return typeof C=="string"?C:Ct(C)}).filter(Ft)});return k(m,p=>{p.length&&(t=tn(p,{...i,onActivate(){a.value=!0,e.onActivate&&e.onActivate()},onDeactivate(){a.value=!1,e.onDeactivate&&e.onDeactivate()}}),o&&d())},{flush:"post"}),Tt(()=>l()),{hasFocus:a,isPaused:r,activate:d,deactivate:l,pause:u,unpause:f}}const kn=({element:n,isActive:e,noTrap:t,fallbackFocus:o},i={allowOutsideClick:!0,fallbackFocus:o.ref.value??void 0,escapeDeactivates:!1})=>{const a=K(Q(e)),r=K(Q(t)),d=()=>{var f;const m=(f=n.value)==null?void 0:f.querySelectorAll(`a, button, input, select, textarea, [tabindex]:not([tabindex="-1"]):not(.${o.classSelector})`);return!m||m.length===0},l=N(d());me(()=>{bt(n,()=>{l.value=d()},{childList:!0,subtree:!0})});const u=nn(n,i);return k(a,async f=>{await et(),f&&r.value===!1?u.activate():u.deactivate()}),k(r,f=>{f===!0&&u.deactivate()}),{needsFallback:K(l)}},on=rt(wt);let Z="";const I=new Map,An=(n,e)=>{const t=K(Q(n)),o=tt(),i=E(()=>!ot(e)),a=on(typeof document<"u"?document.body:null,t.value&&i.value);me(()=>{typeof document>"u"||(I.set(o,!1),k([t,i],([r,d])=>{const l=window.innerWidth-document.documentElement.clientWidth,u=Array.from(I.values()).some(p=>p===!0),f=r&&d;I.set(o,f),f&&!u&&!a.value&&(a.value=!0,l>0&&(Z=document.body.style.paddingRight,document.body.style.paddingRight=`${l+Z}px`));const m=Array.from(I.values()).some(p=>p===!0);u&&!m&&(I.set(o,!1),a.value=!1,document.body.style.paddingRight=Z)},{immediate:!0}))}),nt(()=>{I.delete(o),Array.from(I.values()).some(d=>d===!0)||(document.body.style.paddingRight=Z,a.value=!1)})};Object.freeze(Object.keys({bordered:0,borderless:0,borderVariant:0,captionTop:0,dark:0,fixed:0,hover:0,id:0,noBorderCollapse:0,outlined:0,responsive:0,small:0,stacked:0,stickyHeader:0,striped:0,stripedColumns:0,variant:0,tableAttrs:0,tableClass:0}));Object.freeze(Object.keys({align:0,caption:0,detailsTdClass:0,fieldColumnClass:0,fields:0,footClone:0,footRowVariant:0,footVariant:0,headRowVariant:0,headVariant:0,items:0,labelStacked:0,modelValue:0,primaryKey:0,tbodyClass:0,tbodyTrAttrs:0,tbodyTrClass:0,tfootClass:0,tfootTrClass:0,theadClass:0,theadTrClass:0}));const Ue={BAccordion:"/components/BAccordion",BAccordionItem:"/components/BAccordion",BAlert:"/components/BAlert",BAvatar:"/components/BAvatar",BAvatarGroup:"/components/BAvatar",BBadge:"/components/BBadge",BBreadcrumb:"/components/BBreadcrumb",BBreadcrumbItem:"/components/BBreadcrumb",BButton:"/components/BButton",BButtonGroup:"/components/BButton",BButtonToolbar:"/components/BButton",BCloseButton:"/components/BButton",BCard:"/components/BCard",BCardBody:"/components/BCard",BCardFooter:"/components/BCard",BCardGroup:"/components/BCard",BCardHeader:"/components/BCard",BCardImg:"/components/BCard",BCardSubtitle:"/components/BCard",BCardText:"/components/BCard",BCardTitle:"/components/BCard",BCarousel:"/components/BCarousel",BCarouselSlide:"/components/BCarousel",BCol:"/components/BContainer",BCollapse:"/components/BCollapse",BContainer:"/components/BContainer",BDropdown:"/components/BDropdown",BDropdownDivider:"/components/BDropdown",BDropdownForm:"/components/BDropdown",BDropdownGroup:"/components/BDropdown",BDropdownHeader:"/components/BDropdown",BDropdownItem:"/components/BDropdown",BDropdownItemButton:"/components/BDropdown",BDropdownText:"/components/BDropdown",BForm:"/components/BForm",BFormCheckbox:"/components/BFormCheckbox",BFormCheckboxGroup:"/components/BFormCheckbox",BFormDatalist:"/components/BForm",BFormFile:"/components/BFormFile",BFormFloatingLabel:"/components/BForm",BFormGroup:"/components/BFormGroup",BFormInput:"/components/BFormInput",BFormInvalidFeedback:"/components/BForm",BFormRadio:"/components/BFormRadio",BFormRadioGroup:"/components/BFormRadio",BFormRow:"/components/BForm",BFormSelect:"/components/BFormSelect",BFormSelectOption:"/components/BFormSelect",BFormSelectOptionGroup:"/components/BFormSelect",BFormSpinbutton:"/components/BFormSpinbutton",BFormTag:"/components/BFormTags",BFormTags:"/components/BFormTags",BFormText:"/components/BForm",BFormTextarea:"/components/BFormTextarea",BFormValidFeedback:"/components/BForm",BImg:"/components/BImg",BInput:"/components/BFormInput",BInputGroup:"/components/BInputGroup",BInputGroupText:"/components/BInputGroup",BListGroup:"/components/BListGroup",BListGroupItem:"/components/BListGroup",BModal:"/components/BModal",BModalOrchestrator:"/components/BModal",BNav:"/components/BNav",BNavForm:"/components/BNav",BNavItem:"/components/BNav",BNavItemDropdown:"/components/BNav",BNavText:"/components/BNav",BNavbar:"/components/BNavbar",BNavbarBrand:"/components/BNavbar",BNavbarNav:"/components/BNavbar",BNavbarToggle:"/components/BNavbar",BOffcanvas:"/components/BOffcanvas",BOverlay:"/components/BOverlay",BPagination:"/components/BPagination",BPlaceholder:"/components/BPlaceholder",BPlaceholderButton:"/components/BPlaceholder",BPlaceholderCard:"/components/BPlaceholder",BPlaceholderTable:"/components/BPlaceholder",BPlaceholderWrapper:"/components/BPlaceholder",BPopover:"/components/BPopover",BProgress:"/components/BProgress",BRow:"/components/BContainer",BSpinner:"/components/BSpinner",BTab:"/components/BTabs",BTabs:"/components/BTabs",BToast:"/components/BToast",BToastOrchestrator:"/components/BToast",BTooltip:"/components/BTooltip",BLink:"/components/BLink",BProgressBar:"/components/BProgress",BTableSimple:"/components/BTable",BTableLite:"/components/BTable",BTable:"/components/BTable",BTbody:"/components/BTable",BTd:"/components/BTable",BTh:"/components/BTable",BThead:"/components/BTable",BTfoot:"/components/BTable",BTr:"/components/BTable",BPopoverOrchestrator:"/components/BPopover"},rn=Object.freeze(Object.keys(Ue)),ze={vBColorMode:"/directives/BColorMode",vBModal:"/directives/BModal",vBPopover:"/directives/BPopover",vBScrollspy:"/directives/BScrollspy",vBToggle:"/directives/BToggle",vBTooltip:"/directives/BTooltip"},an=Object.freeze(Object.keys(ze)),sn={useBreadcrumb:"/composables/useBreadcrumb",useColorMode:"/composables/useColorMode",useModal:"/composables/useModal",useModalController:"/composables/useModalController",useScrollspy:"/composables/useScrollspy",useToastController:"/composables/useToastController",usePopoverController:"/composables/usePopoverController"};Object.freeze(Object.keys(sn));const Ie="bootstrap-vue-next",Oe=(n,e)=>{const{all:t,...o}=n,i={};t&&e.forEach(r=>{i[r]=t});const a={...i,...o};return Object.entries(a).filter(([r,d])=>!!d&&e.includes(r)).map(([r])=>r)},de=new Set,Re=new Set;Object.assign(({aliases:n={},directives:e=!0,components:t=!0}={})=>{const i=Oe(typeof t=="boolean"?{all:t}:t,rn).reduce((l,u)=>(l.set(u,`${Ie}${Ue[u]}`),l),new Map),r=Oe(typeof e=="boolean"?{all:e}:e,an).reduce((l,u)=>{const f=u.toLowerCase().startsWith("v")?u:`v${u}`;return l.set(f,`${Ie}${ze[f]}`),l},new Map);return[{type:"component",resolve(l){const u=i.get(l),f=i.get(n[l]);if(f){const m=n[l];return de.add(m),{name:m,from:f}}if(u)return de.add(l),{name:l,from:u}}},{type:"directive",resolve(l){const u=`v${l}`,f=r.get(u);if(f)return Re.add(u),{name:u,from:f}}}]},{__usedComponents:de,__usedDirectives:Re});export{kn as a,An as b,Nn as c,hn as d,bn as e,_ as f,Fn as g,gn as h,dn as i,un as j,Sn as k,Cn as l,mn as m,fn as n,Tn as o,cn as p,wn as q,pn as r,Bn as s,R as t,he as u,yn as v,Ke as w,vn as x};
1
+ import{u as xe,a8 as Le,a6 as je,a5 as Me,w as k,r as N,l as E,a9 as Ze,_ as J,Y as K,aa as Je,o as me,k as Qe,X as et,V as tt,M as nt,m as ot}from"./filter-Xg_JD3wD.js";const Ke=(n,e="")=>{const t=`${e}___`;return`___BVN__ID__${n}__${e?t:""}`},be=n=>Ke(n),P=n=>Ke(`${n}__plugin`),cn=be("progress"),un=be("collapse"),dn=P("globalShowHideStorage"),fn=be("navbar"),vn=P("rtl"),pn=P("breadcrumbPlugin"),mn=P("modalManager"),bn=P("defaults"),hn=P("toast"),Bn=P("modalController"),yn=P("popover");function R(n){return Le()?(je(n),!0):!1}function rt(n){let e=0,t,o;const i=()=>{e-=1,o&&e<=0&&(o.stop(),t=void 0,o=void 0)};return(...a)=>(e+=1,o||(o=Ze(!0),t=o.run(()=>n(...a))),R(i),t)}function S(n){return typeof n=="function"?n():xe(n)}const Q=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const at=n=>n!=null,it=Object.prototype.toString,st=n=>it.call(n)==="[object Object]",Ne=()=>+Date.now(),ee=()=>{},Se=lt();function lt(){var n,e;return Q&&((n=window?.navigator)==null?void 0:n.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((e=window?.navigator)==null?void 0:e.maxTouchPoints)>2&&/iPad|Macintosh/.test(window?.navigator.userAgent))}function ct(n,e){function t(...o){return new Promise((i,a)=>{Promise.resolve(n(()=>e.apply(this,o),{fn:e,thisArg:this,args:o})).then(i).catch(a)})}return t}function ut(...n){let e=0,t,o=!0,i=ee,a,r,d,l,u;!Me(n[0])&&typeof n[0]=="object"?{delay:r,trailing:d=!0,leading:l=!0,rejectOnCancel:u=!1}=n[0]:[r,d=!0,l=!0,u=!1]=n;const f=()=>{t&&(clearTimeout(t),t=void 0,i(),i=ee)};return p=>{const y=S(r),C=Date.now()-e,L=()=>a=p();return f(),y<=0?(e=Date.now(),L()):(C>y&&(l||!o)?(e=Date.now(),L()):d&&(a=new Promise((G,j)=>{i=u?j:G,t=setTimeout(()=>{e=Date.now(),o=!0,G(L()),f()},Math.max(0,y-C))})),!l&&!t&&(t=setTimeout(()=>o=!0,y)),o=!1,a)}}function dt(...n){if(n.length!==1)return J(...n);const e=n[0];return typeof e=="function"?K(Je(()=>({get:e,set:ee}))):N(e)}function gn(n,e=200,t=!1,o=!0,i=!1){return ct(ut(e,t,o,i),n)}function ft(n,e=1e3,t={}){const{immediate:o=!0,immediateCallback:i=!1}=t;let a=null;const r=N(!1);function d(){a&&(clearInterval(a),a=null)}function l(){r.value=!1,d()}function u(){const f=S(e);f<=0||(r.value=!0,i&&n(),d(),r.value&&(a=setInterval(n,f)))}if(o&&Q&&u(),Me(e)||typeof e=="function"){const f=k(e,()=>{r.value&&Q&&u()});R(f)}return R(l),{isActive:r,pause:l,resume:u}}function wn(n,e={}){const{method:t="parseFloat",radix:o,nanToZero:i}=e;return E(()=>{let a=S(n);return typeof a=="string"&&(a=Number[t](a,o)),i&&Number.isNaN(a)&&(a=0),a})}const U=Q?window:void 0;function he(n){var e;const t=S(n);return(e=t?.$el)!=null?e:t}function _(...n){let e,t,o,i;if(typeof n[0]=="string"||Array.isArray(n[0])?([t,o,i]=n,e=U):[e,t,o,i]=n,!e)return ee;Array.isArray(t)||(t=[t]),Array.isArray(o)||(o=[o]);const a=[],r=()=>{a.forEach(f=>f()),a.length=0},d=(f,m,p,y)=>(f.addEventListener(m,p,y),()=>f.removeEventListener(m,p,y)),l=k(()=>[he(e),S(i)],([f,m])=>{if(r(),!f)return;const p=st(m)?{...m}:m;a.push(...t.flatMap(y=>o.map(C=>d(f,y,C,p))))},{immediate:!0,flush:"post"}),u=()=>{l(),r()};return R(u),u}function vt(n){return typeof n=="function"?n:typeof n=="string"?e=>e.key===n:Array.isArray(n)?e=>n.includes(e.key):()=>!0}function Tn(...n){let e,t,o={};n.length===3?(e=n[0],t=n[1],o=n[2]):n.length===2?typeof n[1]=="object"?(e=!0,t=n[0],o=n[1]):(e=n[0],t=n[1]):(e=!0,t=n[0]);const{target:i=U,eventName:a="keydown",passive:r=!1,dedupe:d=!1}=o,l=vt(e);return _(i,a,f=>{f.repeat&&S(d)||l(f)&&t(f)},r)}function pt(){const n=N(!1),e=Qe();return e&&me(()=>{n.value=!0},e),n}function mt(n){const e=pt();return E(()=>(e.value,!!n()))}function bt(n,e,t={}){const{window:o=U,...i}=t;let a;const r=mt(()=>o&&"MutationObserver"in o),d=()=>{a&&(a.disconnect(),a=void 0)},l=E(()=>{const p=S(n),y=(Array.isArray(p)?p:[p]).map(he).filter(at);return new Set(y)}),u=k(()=>l.value,p=>{d(),r.value&&p.size&&(a=new MutationObserver(e),p.forEach(y=>a.observe(y,i)))},{immediate:!0,flush:"post"}),f=()=>a?.takeRecords(),m=()=>{u(),d()};return R(m),{isSupported:r,stop:m,takeRecords:f}}function ht(n,e={}){const{immediate:t=!0,fpsLimit:o=void 0,window:i=U}=e,a=N(!1),r=o?1e3/o:null;let d=0,l=null;function u(p){if(!a.value||!i)return;d||(d=p);const y=p-d;if(r&&y<r){l=i.requestAnimationFrame(u);return}d=p,n({delta:y,timestamp:p}),l=i.requestAnimationFrame(u)}function f(){!a.value&&i&&(a.value=!0,d=0,l=i.requestAnimationFrame(u))}function m(){a.value=!1,l!=null&&i&&(i.cancelAnimationFrame(l),l=null)}return t&&f(),R(m),{isActive:K(a),pause:m,resume:f}}const z=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Y="__vueuse_ssr_handlers__",Bt=yt();function yt(){return Y in z||(z[Y]=z[Y]||{}),z[Y]}function Fn(n,e){return Bt[n]||e}function Cn(n,e={}){const{delayEnter:t=0,delayLeave:o=0,window:i=U}=e,a=N(!1);let r;const d=l=>{const u=l?t:o;r&&(clearTimeout(r),r=void 0),u?r=setTimeout(()=>a.value=l,u):a.value=l};return i&&(_(n,"mouseenter",()=>d(!0),{passive:!0}),_(n,"mouseleave",()=>d(!1),{passive:!0})),a}function Nn(n,e={}){const{initialValue:t=!1,focusVisible:o=!1,preventScroll:i=!1}=e,a=N(!1),r=E(()=>he(n));_(r,"focus",l=>{var u,f;(!o||(f=(u=l.target).matches)!=null&&f.call(u,":focus-visible"))&&(a.value=!0)}),_(r,"blur",()=>a.value=!1);const d=E({get:()=>a.value,set(l){var u,f;!l&&a.value?(u=r.value)==null||u.blur():l&&!a.value&&((f=r.value)==null||f.focus({preventScroll:i}))}});return k(r,()=>{d.value=t},{immediate:!0,flush:"post"}),{focused:d}}function le(n){return typeof Window<"u"&&n instanceof Window?n.document.documentElement:typeof Document<"u"&&n instanceof Document?n.documentElement:n}function _e(n){const e=window.getComputedStyle(n);if(e.overflowX==="scroll"||e.overflowY==="scroll"||e.overflowX==="auto"&&n.clientWidth<n.scrollWidth||e.overflowY==="auto"&&n.clientHeight<n.scrollHeight)return!0;{const t=n.parentNode;return!t||t.tagName==="BODY"?!1:_e(t)}}function gt(n){const e=n||window.event,t=e.target;return _e(t)?!1:e.touches.length>1?!0:(e.preventDefault&&e.preventDefault(),!1)}const ce=new WeakMap;function wt(n,e=!1){const t=N(e);let o=null,i="";k(dt(n),d=>{const l=le(S(d));if(l){const u=l;if(ce.get(u)||ce.set(u,u.style.overflow),u.style.overflow!=="hidden"&&(i=u.style.overflow),u.style.overflow==="hidden")return t.value=!0;if(t.value)return u.style.overflow="hidden"}},{immediate:!0});const a=()=>{const d=le(S(n));!d||t.value||(Se&&(o=_(d,"touchmove",l=>{gt(l)},{passive:!1})),d.style.overflow="hidden",t.value=!0)},r=()=>{const d=le(S(n));!d||!t.value||(Se&&o?.(),d.style.overflow=i,ce.delete(d),t.value=!1)};return R(r),E({get(){return t.value},set(d){d?a():r()}})}function Sn(n={}){const{controls:e=!1,offset:t=0,immediate:o=!0,interval:i="requestAnimationFrame",callback:a}=n,r=N(Ne()+t),d=()=>r.value=Ne()+t,l=a?()=>{d(),a(r.value)}:d,u=i==="requestAnimationFrame"?ht(l,{immediate:o}):ft(l,i,{immediate:o});return e?{timestamp:r,...u}:r}function Tt(n){return Le()?(je(n),!0):!1}function fe(n){return typeof n=="function"?n():xe(n)}typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const Ft=n=>n!=null;function Ct(n){var e;const t=fe(n);return(e=t?.$el)!=null?e:t}var Ge=["input:not([inert])","select:not([inert])","textarea:not([inert])","a[href]:not([inert])","button:not([inert])","[tabindex]:not(slot):not([inert])","audio[controls]:not([inert])","video[controls]:not([inert])",'[contenteditable]:not([contenteditable="false"]):not([inert])',"details>summary:first-of-type:not([inert])","details:not([inert])"],te=Ge.join(","),We=typeof Element>"u",x=We?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,ne=!We&&Element.prototype.getRootNode?function(n){var e;return n==null||(e=n.getRootNode)===null||e===void 0?void 0:e.call(n)}:function(n){return n?.ownerDocument},oe=function n(e,t){var o;t===void 0&&(t=!0);var i=e==null||(o=e.getAttribute)===null||o===void 0?void 0:o.call(e,"inert"),a=i===""||i==="true",r=a||t&&e&&n(e.parentNode);return r},Nt=function(e){var t,o=e==null||(t=e.getAttribute)===null||t===void 0?void 0:t.call(e,"contenteditable");return o===""||o==="true"},$e=function(e,t,o){if(oe(e))return[];var i=Array.prototype.slice.apply(e.querySelectorAll(te));return t&&x.call(e,te)&&i.unshift(e),i=i.filter(o),i},Ve=function n(e,t,o){for(var i=[],a=Array.from(e);a.length;){var r=a.shift();if(!oe(r,!1))if(r.tagName==="SLOT"){var d=r.assignedElements(),l=d.length?d:r.children,u=n(l,!0,o);o.flatten?i.push.apply(i,u):i.push({scopeParent:r,candidates:u})}else{var f=x.call(r,te);f&&o.filter(r)&&(t||!e.includes(r))&&i.push(r);var m=r.shadowRoot||typeof o.getShadowRoot=="function"&&o.getShadowRoot(r),p=!oe(m,!1)&&(!o.shadowRootFilter||o.shadowRootFilter(r));if(m&&p){var y=n(m===!0?r.children:m.children,!0,o);o.flatten?i.push.apply(i,y):i.push({scopeParent:r,candidates:y})}else a.unshift.apply(a,r.children)}}return i},qe=function(e){return!isNaN(parseInt(e.getAttribute("tabindex"),10))},O=function(e){if(!e)throw new Error("No node provided");return e.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||Nt(e))&&!qe(e)?0:e.tabIndex},St=function(e,t){var o=O(e);return o<0&&t&&!qe(e)?0:o},kt=function(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex},He=function(e){return e.tagName==="INPUT"},At=function(e){return He(e)&&e.type==="hidden"},Et=function(e){var t=e.tagName==="DETAILS"&&Array.prototype.slice.apply(e.children).some(function(o){return o.tagName==="SUMMARY"});return t},Pt=function(e,t){for(var o=0;o<e.length;o++)if(e[o].checked&&e[o].form===t)return e[o]},Dt=function(e){if(!e.name)return!0;var t=e.form||ne(e),o=function(d){return t.querySelectorAll('input[type="radio"][name="'+d+'"]')},i;if(typeof window<"u"&&typeof window.CSS<"u"&&typeof window.CSS.escape=="function")i=o(window.CSS.escape(e.name));else try{i=o(e.name)}catch(r){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",r.message),!1}var a=Pt(i,e.form);return!a||a===e},It=function(e){return He(e)&&e.type==="radio"},Ot=function(e){return It(e)&&!Dt(e)},Rt=function(e){var t,o=e&&ne(e),i=(t=o)===null||t===void 0?void 0:t.host,a=!1;if(o&&o!==e){var r,d,l;for(a=!!((r=i)!==null&&r!==void 0&&(d=r.ownerDocument)!==null&&d!==void 0&&d.contains(i)||e!=null&&(l=e.ownerDocument)!==null&&l!==void 0&&l.contains(e));!a&&i;){var u,f,m;o=ne(i),i=(u=o)===null||u===void 0?void 0:u.host,a=!!((f=i)!==null&&f!==void 0&&(m=f.ownerDocument)!==null&&m!==void 0&&m.contains(i))}}return a},ke=function(e){var t=e.getBoundingClientRect(),o=t.width,i=t.height;return o===0&&i===0},xt=function(e,t){var o=t.displayCheck,i=t.getShadowRoot;if(getComputedStyle(e).visibility==="hidden")return!0;var a=x.call(e,"details>summary:first-of-type"),r=a?e.parentElement:e;if(x.call(r,"details:not([open]) *"))return!0;if(!o||o==="full"||o==="legacy-full"){if(typeof i=="function"){for(var d=e;e;){var l=e.parentElement,u=ne(e);if(l&&!l.shadowRoot&&i(l)===!0)return ke(e);e.assignedSlot?e=e.assignedSlot:!l&&u!==e.ownerDocument?e=u.host:e=l}e=d}if(Rt(e))return!e.getClientRects().length;if(o!=="legacy-full")return!0}else if(o==="non-zero-area")return ke(e);return!1},Lt=function(e){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))for(var t=e.parentElement;t;){if(t.tagName==="FIELDSET"&&t.disabled){for(var o=0;o<t.children.length;o++){var i=t.children.item(o);if(i.tagName==="LEGEND")return x.call(t,"fieldset[disabled] *")?!0:!i.contains(e)}return!0}t=t.parentElement}return!1},re=function(e,t){return!(t.disabled||oe(t)||At(t)||xt(t,e)||Et(t)||Lt(t))},ve=function(e,t){return!(Ot(t)||O(t)<0||!re(e,t))},jt=function(e){var t=parseInt(e.getAttribute("tabindex"),10);return!!(isNaN(t)||t>=0)},Mt=function n(e){var t=[],o=[];return e.forEach(function(i,a){var r=!!i.scopeParent,d=r?i.scopeParent:i,l=St(d,r),u=r?n(i.candidates):d;l===0?r?t.push.apply(t,u):t.push(d):o.push({documentOrder:a,tabIndex:l,item:i,isScope:r,content:u})}),o.sort(kt).reduce(function(i,a){return a.isScope?i.push.apply(i,a.content):i.push(a.content),i},[]).concat(t)},Kt=function(e,t){t=t||{};var o;return t.getShadowRoot?o=Ve([e],t.includeContainer,{filter:ve.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:jt}):o=$e(e,t.includeContainer,ve.bind(null,t)),Mt(o)},_t=function(e,t){t=t||{};var o;return t.getShadowRoot?o=Ve([e],t.includeContainer,{filter:re.bind(null,t),flatten:!0,getShadowRoot:t.getShadowRoot}):o=$e(e,t.includeContainer,re.bind(null,t)),o},M=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return x.call(e,te)===!1?!1:ve(t,e)},Gt=Ge.concat("iframe").join(","),ue=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return x.call(e,Gt)===!1?!1:re(t,e)};function pe(n,e){(e==null||e>n.length)&&(e=n.length);for(var t=0,o=Array(e);t<e;t++)o[t]=n[t];return o}function Wt(n){if(Array.isArray(n))return pe(n)}function $t(n,e,t){return(e=zt(e))in n?Object.defineProperty(n,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):n[e]=t,n}function Vt(n){if(typeof Symbol<"u"&&n[Symbol.iterator]!=null||n["@@iterator"]!=null)return Array.from(n)}function qt(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
2
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Ae(n,e){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(n);e&&(o=o.filter(function(i){return Object.getOwnPropertyDescriptor(n,i).enumerable})),t.push.apply(t,o)}return t}function Ee(n){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?arguments[e]:{};e%2?Ae(Object(t),!0).forEach(function(o){$t(n,o,t[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(t)):Ae(Object(t)).forEach(function(o){Object.defineProperty(n,o,Object.getOwnPropertyDescriptor(t,o))})}return n}function Ht(n){return Wt(n)||Vt(n)||Yt(n)||qt()}function Ut(n,e){if(typeof n!="object"||!n)return n;var t=n[Symbol.toPrimitive];if(t!==void 0){var o=t.call(n,e);if(typeof o!="object")return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(n)}function zt(n){var e=Ut(n,"string");return typeof e=="symbol"?e:e+""}function Yt(n,e){if(n){if(typeof n=="string")return pe(n,e);var t={}.toString.call(n).slice(8,-1);return t==="Object"&&n.constructor&&(t=n.constructor.name),t==="Map"||t==="Set"?Array.from(n):t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?pe(n,e):void 0}}var Pe={activateTrap:function(e,t){if(e.length>0){var o=e[e.length-1];o!==t&&o.pause()}var i=e.indexOf(t);i===-1||e.splice(i,1),e.push(t)},deactivateTrap:function(e,t){var o=e.indexOf(t);o!==-1&&e.splice(o,1),e.length>0&&e[e.length-1].unpause()}},Xt=function(e){return e.tagName&&e.tagName.toLowerCase()==="input"&&typeof e.select=="function"},Zt=function(e){return e?.key==="Escape"||e?.key==="Esc"||e?.keyCode===27},H=function(e){return e?.key==="Tab"||e?.keyCode===9},Jt=function(e){return H(e)&&!e.shiftKey},Qt=function(e){return H(e)&&e.shiftKey},De=function(e){return setTimeout(e,0)},q=function(e){for(var t=arguments.length,o=new Array(t>1?t-1:0),i=1;i<t;i++)o[i-1]=arguments[i];return typeof e=="function"?e.apply(void 0,o):e},X=function(e){return e.target.shadowRoot&&typeof e.composedPath=="function"?e.composedPath()[0]:e.target},en=[],tn=function(e,t){var o=t?.document||document,i=t?.trapStack||en,a=Ee({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0,isKeyForward:Jt,isKeyBackward:Qt},t),r={containers:[],containerGroups:[],tabbableGroups:[],nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,delayInitialFocusTimer:void 0,recentNavEvent:void 0},d,l=function(s,c,v){return s&&s[c]!==void 0?s[c]:a[v||c]},u=function(s,c){var v=typeof c?.composedPath=="function"?c.composedPath():void 0;return r.containerGroups.findIndex(function(h){var B=h.container,w=h.tabbableNodes;return B.contains(s)||v?.includes(B)||w.find(function(b){return b===s})})},f=function(s){var c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},v=c.hasFallback,h=v===void 0?!1:v,B=c.params,w=B===void 0?[]:B,b=a[s];if(typeof b=="function"&&(b=b.apply(void 0,Ht(w))),b===!0&&(b=void 0),!b){if(b===void 0||b===!1)return b;throw new Error("`".concat(s,"` was specified but was not a node, or did not return a node"))}var T=b;if(typeof b=="string"){try{T=o.querySelector(b)}catch(F){throw new Error("`".concat(s,'` appears to be an invalid selector; error="').concat(F.message,'"'))}if(!T&&!h)throw new Error("`".concat(s,"` as selector refers to no known node"))}return T},m=function(){var s=f("initialFocus",{hasFallback:!0});if(s===!1)return!1;if(s===void 0||s&&!ue(s,a.tabbableOptions))if(u(o.activeElement)>=0)s=o.activeElement;else{var c=r.tabbableGroups[0],v=c&&c.firstTabbableNode;s=v||f("fallbackFocus")}else s===null&&(s=f("fallbackFocus"));if(!s)throw new Error("Your focus-trap needs to have at least one focusable element");return s},p=function(){if(r.containerGroups=r.containers.map(function(s){var c=Kt(s,a.tabbableOptions),v=_t(s,a.tabbableOptions),h=c.length>0?c[0]:void 0,B=c.length>0?c[c.length-1]:void 0,w=v.find(function(F){return M(F)}),b=v.slice().reverse().find(function(F){return M(F)}),T=!!c.find(function(F){return O(F)>0});return{container:s,tabbableNodes:c,focusableNodes:v,posTabIndexesFound:T,firstTabbableNode:h,lastTabbableNode:B,firstDomTabbableNode:w,lastDomTabbableNode:b,nextTabbableNode:function(D){var $=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,A=c.indexOf(D);return A<0?$?v.slice(v.indexOf(D)+1).find(function(V){return M(V)}):v.slice(0,v.indexOf(D)).reverse().find(function(V){return M(V)}):c[A+($?1:-1)]}}}),r.tabbableGroups=r.containerGroups.filter(function(s){return s.tabbableNodes.length>0}),r.tabbableGroups.length<=0&&!f("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times");if(r.containerGroups.find(function(s){return s.posTabIndexesFound})&&r.containerGroups.length>1)throw new Error("At least one node with a positive tabindex was found in one of your focus-trap's multiple containers. Positive tabindexes are only supported in single-container focus-traps.")},y=function(s){var c=s.activeElement;if(c)return c.shadowRoot&&c.shadowRoot.activeElement!==null?y(c.shadowRoot):c},C=function(s){if(s!==!1&&s!==y(document)){if(!s||!s.focus){C(m());return}s.focus({preventScroll:!!a.preventScroll}),r.mostRecentlyFocusedNode=s,Xt(s)&&s.select()}},L=function(s){var c=f("setReturnFocus",{params:[s]});return c||(c===!1?!1:s)},G=function(s){var c=s.target,v=s.event,h=s.isBackward,B=h===void 0?!1:h;c=c||X(v),p();var w=null;if(r.tabbableGroups.length>0){var b=u(c,v),T=b>=0?r.containerGroups[b]:void 0;if(b<0)B?w=r.tabbableGroups[r.tabbableGroups.length-1].lastTabbableNode:w=r.tabbableGroups[0].firstTabbableNode;else if(B){var F=r.tabbableGroups.findIndex(function(ie){var se=ie.firstTabbableNode;return c===se});if(F<0&&(T.container===c||ue(c,a.tabbableOptions)&&!M(c,a.tabbableOptions)&&!T.nextTabbableNode(c,!1))&&(F=b),F>=0){var D=F===0?r.tabbableGroups.length-1:F-1,$=r.tabbableGroups[D];w=O(c)>=0?$.lastTabbableNode:$.lastDomTabbableNode}else H(v)||(w=T.nextTabbableNode(c,!1))}else{var A=r.tabbableGroups.findIndex(function(ie){var se=ie.lastTabbableNode;return c===se});if(A<0&&(T.container===c||ue(c,a.tabbableOptions)&&!M(c,a.tabbableOptions)&&!T.nextTabbableNode(c))&&(A=b),A>=0){var V=A===r.tabbableGroups.length-1?0:A+1,Ce=r.tabbableGroups[V];w=O(c)>=0?Ce.firstTabbableNode:Ce.firstDomTabbableNode}else H(v)||(w=T.nextTabbableNode(c))}}else w=f("fallbackFocus");return w},j=function(s){var c=X(s);if(!(u(c,s)>=0)){if(q(a.clickOutsideDeactivates,s)){d.deactivate({returnFocus:a.returnFocusOnDeactivate});return}q(a.allowOutsideClick,s)||s.preventDefault()}},Be=function(s){var c=X(s),v=u(c,s)>=0;if(v||c instanceof Document)v&&(r.mostRecentlyFocusedNode=c);else{s.stopImmediatePropagation();var h,B=!0;if(r.mostRecentlyFocusedNode)if(O(r.mostRecentlyFocusedNode)>0){var w=u(r.mostRecentlyFocusedNode),b=r.containerGroups[w].tabbableNodes;if(b.length>0){var T=b.findIndex(function(F){return F===r.mostRecentlyFocusedNode});T>=0&&(a.isKeyForward(r.recentNavEvent)?T+1<b.length&&(h=b[T+1],B=!1):T-1>=0&&(h=b[T-1],B=!1))}}else r.containerGroups.some(function(F){return F.tabbableNodes.some(function(D){return O(D)>0})})||(B=!1);else B=!1;B&&(h=G({target:r.mostRecentlyFocusedNode,isBackward:a.isKeyBackward(r.recentNavEvent)})),C(h||r.mostRecentlyFocusedNode||m())}r.recentNavEvent=void 0},Ye=function(s){var c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;r.recentNavEvent=s;var v=G({event:s,isBackward:c});v&&(H(s)&&s.preventDefault(),C(v))},ye=function(s){(a.isKeyForward(s)||a.isKeyBackward(s))&&Ye(s,a.isKeyBackward(s))},ge=function(s){Zt(s)&&q(a.escapeDeactivates,s)!==!1&&(s.preventDefault(),d.deactivate())},we=function(s){var c=X(s);u(c,s)>=0||q(a.clickOutsideDeactivates,s)||q(a.allowOutsideClick,s)||(s.preventDefault(),s.stopImmediatePropagation())},Te=function(){if(r.active)return Pe.activateTrap(i,d),r.delayInitialFocusTimer=a.delayInitialFocus?De(function(){C(m())}):C(m()),o.addEventListener("focusin",Be,!0),o.addEventListener("mousedown",j,{capture:!0,passive:!1}),o.addEventListener("touchstart",j,{capture:!0,passive:!1}),o.addEventListener("click",we,{capture:!0,passive:!1}),o.addEventListener("keydown",ye,{capture:!0,passive:!1}),o.addEventListener("keydown",ge),d},Fe=function(){if(r.active)return o.removeEventListener("focusin",Be,!0),o.removeEventListener("mousedown",j,!0),o.removeEventListener("touchstart",j,!0),o.removeEventListener("click",we,!0),o.removeEventListener("keydown",ye,!0),o.removeEventListener("keydown",ge),d},Xe=function(s){var c=s.some(function(v){var h=Array.from(v.removedNodes);return h.some(function(B){return B===r.mostRecentlyFocusedNode})});c&&C(m())},ae=typeof window<"u"&&"MutationObserver"in window?new MutationObserver(Xe):void 0,W=function(){ae&&(ae.disconnect(),r.active&&!r.paused&&r.containers.map(function(s){ae.observe(s,{subtree:!0,childList:!0})}))};return d={get active(){return r.active},get paused(){return r.paused},activate:function(s){if(r.active)return this;var c=l(s,"onActivate"),v=l(s,"onPostActivate"),h=l(s,"checkCanFocusTrap");h||p(),r.active=!0,r.paused=!1,r.nodeFocusedBeforeActivation=o.activeElement,c?.();var B=function(){h&&p(),Te(),W(),v?.()};return h?(h(r.containers.concat()).then(B,B),this):(B(),this)},deactivate:function(s){if(!r.active)return this;var c=Ee({onDeactivate:a.onDeactivate,onPostDeactivate:a.onPostDeactivate,checkCanReturnFocus:a.checkCanReturnFocus},s);clearTimeout(r.delayInitialFocusTimer),r.delayInitialFocusTimer=void 0,Fe(),r.active=!1,r.paused=!1,W(),Pe.deactivateTrap(i,d);var v=l(c,"onDeactivate"),h=l(c,"onPostDeactivate"),B=l(c,"checkCanReturnFocus"),w=l(c,"returnFocus","returnFocusOnDeactivate");v?.();var b=function(){De(function(){w&&C(L(r.nodeFocusedBeforeActivation)),h?.()})};return w&&B?(B(L(r.nodeFocusedBeforeActivation)).then(b,b),this):(b(),this)},pause:function(s){if(r.paused||!r.active)return this;var c=l(s,"onPause"),v=l(s,"onPostPause");return r.paused=!0,c?.(),Fe(),W(),v?.(),this},unpause:function(s){if(!r.paused||!r.active)return this;var c=l(s,"onUnpause"),v=l(s,"onPostUnpause");return r.paused=!1,c?.(),p(),Te(),W(),v?.(),this},updateContainerElements:function(s){var c=[].concat(s).filter(Boolean);return r.containers=c.map(function(v){return typeof v=="string"?o.querySelector(v):v}),r.active&&p(),W(),this}},d.updateContainerElements(e),d};function nn(n,e={}){let t;const{immediate:o,...i}=e,a=N(!1),r=N(!1),d=p=>t&&t.activate(p),l=p=>t&&t.deactivate(p),u=()=>{t&&(t.pause(),r.value=!0)},f=()=>{t&&(t.unpause(),r.value=!1)},m=E(()=>{const p=fe(n);return(Array.isArray(p)?p:[p]).map(y=>{const C=fe(y);return typeof C=="string"?C:Ct(C)}).filter(Ft)});return k(m,p=>{p.length&&(t=tn(p,{...i,onActivate(){a.value=!0,e.onActivate&&e.onActivate()},onDeactivate(){a.value=!1,e.onDeactivate&&e.onDeactivate()}}),o&&d())},{flush:"post"}),Tt(()=>l()),{hasFocus:a,isPaused:r,activate:d,deactivate:l,pause:u,unpause:f}}const kn=({element:n,isActive:e,noTrap:t,fallbackFocus:o},i={allowOutsideClick:!0,fallbackFocus:o.ref.value??void 0,escapeDeactivates:!1})=>{const a=K(J(e)),r=K(J(t)),d=()=>{var f;const m=(f=n.value)==null?void 0:f.querySelectorAll(`a, button, input, select, textarea, [tabindex]:not([tabindex="-1"]):not(.${o.classSelector})`);return!m||m.length===0},l=N(d());me(()=>{bt(n,()=>{l.value=d()},{childList:!0,subtree:!0})});const u=nn(n,i);return k(a,async f=>{await et(),f&&r.value===!1?u.activate():u.deactivate()}),k(r,f=>{f===!0&&u.deactivate()}),{needsFallback:K(l)}},on=rt(wt);let Z="";const I=new Map,An=(n,e)=>{const t=K(J(n)),o=tt(),i=E(()=>!ot(e)),a=on(typeof document<"u"?document.body:null,t.value&&i.value);me(()=>{typeof document>"u"||(I.set(o,!1),k([t,i],([r,d])=>{const l=window.innerWidth-document.documentElement.clientWidth,u=Array.from(I.values()).some(p=>p===!0),f=r&&d;I.set(o,f),f&&!u&&!a.value&&(a.value=!0,l>0&&(Z=document.body.style.paddingRight,document.body.style.paddingRight=`${l+Z}px`));const m=Array.from(I.values()).some(p=>p===!0);u&&!m&&(I.set(o,!1),a.value=!1,document.body.style.paddingRight=Z)},{immediate:!0}))}),nt(()=>{I.delete(o),Array.from(I.values()).some(d=>d===!0)||(document.body.style.paddingRight=Z,a.value=!1)})};Object.freeze(Object.keys({bordered:0,borderless:0,borderVariant:0,captionTop:0,dark:0,fixed:0,hover:0,id:0,noBorderCollapse:0,outlined:0,responsive:0,small:0,stacked:0,stickyHeader:0,striped:0,stripedColumns:0,variant:0,tableAttrs:0,tableClass:0}));Object.freeze(Object.keys({align:0,caption:0,detailsTdClass:0,fieldColumnClass:0,fields:0,footClone:0,footRowVariant:0,footVariant:0,headRowVariant:0,headVariant:0,items:0,labelStacked:0,modelValue:0,primaryKey:0,tbodyClass:0,tbodyTrAttrs:0,tbodyTrClass:0,tfootClass:0,tfootTrClass:0,theadClass:0,theadTrClass:0}));const Ue={BAccordion:"/components/BAccordion",BAccordionItem:"/components/BAccordion",BAlert:"/components/BAlert",BAvatar:"/components/BAvatar",BAvatarGroup:"/components/BAvatar",BBadge:"/components/BBadge",BBreadcrumb:"/components/BBreadcrumb",BBreadcrumbItem:"/components/BBreadcrumb",BButton:"/components/BButton",BButtonGroup:"/components/BButton",BButtonToolbar:"/components/BButton",BCloseButton:"/components/BButton",BCard:"/components/BCard",BCardBody:"/components/BCard",BCardFooter:"/components/BCard",BCardGroup:"/components/BCard",BCardHeader:"/components/BCard",BCardImg:"/components/BCard",BCardSubtitle:"/components/BCard",BCardText:"/components/BCard",BCardTitle:"/components/BCard",BCarousel:"/components/BCarousel",BCarouselSlide:"/components/BCarousel",BCol:"/components/BContainer",BCollapse:"/components/BCollapse",BContainer:"/components/BContainer",BDropdown:"/components/BDropdown",BDropdownDivider:"/components/BDropdown",BDropdownForm:"/components/BDropdown",BDropdownGroup:"/components/BDropdown",BDropdownHeader:"/components/BDropdown",BDropdownItem:"/components/BDropdown",BDropdownItemButton:"/components/BDropdown",BDropdownText:"/components/BDropdown",BForm:"/components/BForm",BFormCheckbox:"/components/BFormCheckbox",BFormCheckboxGroup:"/components/BFormCheckbox",BFormDatalist:"/components/BForm",BFormFile:"/components/BFormFile",BFormFloatingLabel:"/components/BForm",BFormGroup:"/components/BFormGroup",BFormInput:"/components/BFormInput",BFormInvalidFeedback:"/components/BForm",BFormRadio:"/components/BFormRadio",BFormRadioGroup:"/components/BFormRadio",BFormRow:"/components/BForm",BFormSelect:"/components/BFormSelect",BFormSelectOption:"/components/BFormSelect",BFormSelectOptionGroup:"/components/BFormSelect",BFormSpinbutton:"/components/BFormSpinbutton",BFormTag:"/components/BFormTags",BFormTags:"/components/BFormTags",BFormText:"/components/BForm",BFormTextarea:"/components/BFormTextarea",BFormValidFeedback:"/components/BForm",BImg:"/components/BImg",BInput:"/components/BFormInput",BInputGroup:"/components/BInputGroup",BInputGroupText:"/components/BInputGroup",BListGroup:"/components/BListGroup",BListGroupItem:"/components/BListGroup",BModal:"/components/BModal",BModalOrchestrator:"/components/BModal",BNav:"/components/BNav",BNavForm:"/components/BNav",BNavItem:"/components/BNav",BNavItemDropdown:"/components/BNav",BNavText:"/components/BNav",BNavbar:"/components/BNavbar",BNavbarBrand:"/components/BNavbar",BNavbarNav:"/components/BNavbar",BNavbarToggle:"/components/BNavbar",BOffcanvas:"/components/BOffcanvas",BOverlay:"/components/BOverlay",BPagination:"/components/BPagination",BPlaceholder:"/components/BPlaceholder",BPlaceholderButton:"/components/BPlaceholder",BPlaceholderCard:"/components/BPlaceholder",BPlaceholderTable:"/components/BPlaceholder",BPlaceholderWrapper:"/components/BPlaceholder",BPopover:"/components/BPopover",BProgress:"/components/BProgress",BRow:"/components/BContainer",BSpinner:"/components/BSpinner",BTab:"/components/BTabs",BTabs:"/components/BTabs",BToast:"/components/BToast",BToastOrchestrator:"/components/BToast",BTooltip:"/components/BTooltip",BLink:"/components/BLink",BProgressBar:"/components/BProgress",BTableSimple:"/components/BTable",BTableLite:"/components/BTable",BTable:"/components/BTable",BTbody:"/components/BTable",BTd:"/components/BTable",BTh:"/components/BTable",BThead:"/components/BTable",BTfoot:"/components/BTable",BTr:"/components/BTable",BPopoverOrchestrator:"/components/BPopover"},rn=Object.freeze(Object.keys(Ue)),ze={vBColorMode:"/directives/BColorMode",vBModal:"/directives/BModal",vBPopover:"/directives/BPopover",vBScrollspy:"/directives/BScrollspy",vBToggle:"/directives/BToggle",vBTooltip:"/directives/BTooltip"},an=Object.freeze(Object.keys(ze)),sn={useBreadcrumb:"/composables/useBreadcrumb",useColorMode:"/composables/useColorMode",useModal:"/composables/useModal",useModalController:"/composables/useModalController",useScrollspy:"/composables/useScrollspy",useToastController:"/composables/useToastController",usePopoverController:"/composables/usePopoverController"};Object.freeze(Object.keys(sn));const Ie="bootstrap-vue-next",Oe=(n,e)=>{const{all:t,...o}=n,i={};t&&e.forEach(r=>{i[r]=t});const a={...i,...o};return Object.entries(a).filter(([r,d])=>!!d&&e.includes(r)).map(([r])=>r)},de=new Set,Re=new Set;Object.assign(({aliases:n={},directives:e=!0,components:t=!0}={})=>{const i=Oe(typeof t=="boolean"?{all:t}:t,rn).reduce((l,u)=>(l.set(u,`${Ie}${Ue[u]}`),l),new Map),r=Oe(typeof e=="boolean"?{all:e}:e,an).reduce((l,u)=>{const f=u.toLowerCase().startsWith("v")?u:`v${u}`;return l.set(f,`${Ie}${ze[f]}`),l},new Map);return[{type:"component",resolve(l){const u=i.get(l),f=i.get(n[l]);if(f){const m=n[l];return de.add(m),{name:m,from:f}}if(u)return de.add(l),{name:l,from:u}}},{type:"directive",resolve(l){const u=`v${l}`,f=r.get(u);if(f)return Re.add(u),{name:u,from:f}}}]},{__usedComponents:de,__usedDirectives:Re});export{kn as a,An as b,Nn as c,hn as d,bn as e,_ as f,Fn as g,gn as h,dn as i,un as j,Sn as k,Cn as l,mn as m,fn as n,Tn as o,cn as p,wn as q,pn as r,Bn as s,R as t,he as u,yn as v,Ke as w,vn as x};