PageSourceSearch

https://kurrawong.ai/_nuxt/Cyb8ZVFW.js

js kurrawong.ai collected 2026-10-03 21:00:18 UTC 222,138 bytes, 79 lines download raw bytes

1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./C1yffqCl.js","./CqFVm91j.js","./entry.C5cPSUs-.css","./xyaZl5G5.js","./gEPJ-Nc-.js","./BPhuBtib.js","./DlAUqK2U.js","./BowerCaseStudy._pbeEXOD.css","./DwVVfkLY.js","./BowerDemo.LkUjJ8H9.css","./By07Apju.js","./BowerDiagram.DR46gFWG.css","./Cz1o4PYf.js","./BowerSteps.CzUBTdU1.css","./BRmzUUtR.js","./Cr0g5iTX.js","./CQ0Ge3OT.js","./qjgbBKtz.js","./KCard.D8OUlKUb.css","./Gyyx55hF.js","./KCaseStudy.B33S4dJv.css","./C4LkpSNw.js","./XPSdSSXI.js","./C9xhox4_.js","./OtVwhkKS.js","./8U5GuHQy.js","./tv6RD-6E.js","./BkD7Hj8s.js","./Dh62878i.js","./BstjVg6s.js","./Cf9_lGiW.js","./ProsePre.BXZi6Up4.css"])))=>i.map(i=>d[i]);
2import{bi as pe,cM as he,cN as fa,bx as se,cO as ho,cP as go,cQ as wr,h as pa,cB as Ye,s as qt,cF as qe,cR as ma,a as T,n as F,e as Ie,C as d,by as le,cS as xr,bD as ha,cT as ga,cC as Cr,cU as Sr,bw as ct,cV as va,d as O,cD as tt,j as Pe,cW as kr,bG as N,cX as ya,cY as be,c as k,o as b,w as _,r as P,b2 as A,F as De,cE as hn,cZ as Or,c_ as _a,bH as Ae,c$ as Te,cI as Er,d0 as ba,cG as wa,B as Z,bm as He,d1 as Ar,d2 as yt,d3 as Dr,d4 as Ot,d5 as gn,d6 as xa,d7 as Ca,d8 as rn,bj as ye,d9 as ge,H as de,G as ie,b1 as ce,da as Sa,b as ka,db as Oa,dc as Ea,dd as Aa,de as Da,z as Pa,df as Ma,bl as we,dg as Ba,cK as jn,dh as Ia,di as Ta,u as Ra,dj as vo,dk as st,dl as at,cH as Pr,k as Mr,dm as Un,dn as sn,dp as Fa,v as La,b0 as $a,a$ as qa}from"#entry";import{I as za}from"./xyaZl5G5.js";import{_ as vn}from"./gEPJ-Nc-.js";function Fo(e){return typeof e=="string"?`'${e}'`:new Na().serialize(e)}const Na=(function(){class e{#e=new Map;compare(n,o){const r=typeof n,s=typeof o;return r==="string"&&s==="string"?n.localeCompare(o):r==="number"&&s==="number"?n-o:String.prototype.localeCompare.call(this.serialize(n,!0),this.serialize(o,!0))}serialize(n,o){if(n===null)return"null";switch(typeof n){case"string":return o?n:`'${n}'`;case"bigint":return`${n}n`;case"object":return this.$object(n);case"function":return this.$function(n)}return String(n)}serializeObject(n){const o=Object.prototype.toString.call(n);if(o!=="[object Object]")return this.serializeBuiltInType(o.length<10?`unknown:${o}`:o.slice(8,-1),n);const r=n.constructor,s=r===Object||r===void 0?"":r.name;if(s!==""&&globalThis[s]===r)return this.serializeBuiltInType(s,n);if(typeof n.toJSON=="function"){const a=n.toJSON();return s+(a!==null&&typeof a=="object"?this.$object(a):`(${this.serialize(a)})`)}return this.serializeObjectEntries(s,Object.entries(n))}serializeBuiltInType(n,o){const r=this["$"+n];if(r)return r.call(this,o);if(typeof o?.entries=="function")return this.serializeObjectEntries(n,o.entries());throw new Error(`Cannot serialize ${n}`)}serializeObjectEntries(n,o){const r=Array.from(o).sort((a,i)=>this.compare(a[0],i[0]));let s=`${n}{`;for(let a=0;a<r.length;a++){const[i,l]=r[a];s+=`${this.serialize(i,!0)}:${this.serialize(l)}`,a<r.length-1&&(s+=",")}return s+"}"}$object(n){let o=this.#e.get(n);return o===void 0&&(this.#e.set(n,`#${this.#e.size}`),o=this.serializeObject(n),this.#e.set(n,o)),o}$function(n){const o=Function.prototype.toString.call(n);return o.slice(-15)==="[native code] }"?`${n.name||""}()[native]`:`${n.name}(${n.length})${o.replace(/\s*\n\s*/g,"")}`}$Array(n){let o="[";for(let r=0;r<n.length;r++)o+=this.serialize(n[r]),r<n.length-1&&(o+=",");return o+"]"}$Date(n){try{return`Date(${n.toISOString()})`}catch{return"Date(null)"}}$ArrayBuffer(n){return`ArrayBuffer[${new Uint8Array(n).join(",")}]`}$Set(n){return`Set${this.$Array(Array.from(n).sort((o,r)=>this.compare(o,r)))}`}
2$Map(n){return this.serializeObjectEntries("Map",n.entries())}}for(const t of["Error","RegExp","URL"])e.prototype["$"+t]=function(n){return`${t}(${n})`};for(const t of["Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Uint16Array","Int32Array","Uint32Array","Float32Array","Float64Array"])e.prototype["$"+t]=function(n){return`${t}[${n.join(",")}]`};for(const t of["BigInt64Array","BigUint64Array"])e.prototype["$"+t]=function(n){return`${t}[${n.join("n,")}${n.length>0?"n":""}]`};return e})();function Wn(e,t){return e===t||Fo(e)===Fo(t)}function Va(e,t,n){const o=e.findIndex(i=>Wn(i,t)),r=e.findIndex(i=>Wn(i,n));if(o===-1||r===-1)return[];const[s,a]=[o,r].sort((i,l)=>i-l);return e.slice(s,a+1)}function _e(){let e=document.activeElement;if(e==null)return null;for(;e!=null&&e.shadowRoot!=null&&e.shadowRoot.activeElement!=null;)e=e.shadowRoot.activeElement;return e}function yo(e,t,n){const o=n.originalEvent.target,r=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),o.dispatchEvent(r)}function _o(e){return e?e.flatMap(t=>t.type===pe?_o(t.children):[t]):[]}const ja=["INPUT","TEXTAREA"];function Ua(e,t,n,o={}){if(!t||o.enableIgnoredElement&&ja.includes(t.nodeName))return null;const{arrowKeyOptions:r="both",attributeName:s="[data-reka-collection-item]",itemsArray:a=[],loop:i=!0,dir:l="ltr",preventScroll:u=!0,focus:c=!1}=o,[f,p,h,m,g,v]=[e.key==="ArrowRight",e.key==="ArrowLeft",e.key==="ArrowUp",e.key==="ArrowDown",e.key==="Home",e.key==="End"],y=h||m,w=f||p;if(!g&&!v&&(!y&&!w||r==="vertical"&&w||r==="horizontal"&&y))return null;const x=n?Array.from(n.querySelectorAll(s)):a;if(!x.length)return null;u&&e.preventDefault();let S=null;return w||y?S=Br(x,t,{goForward:y?m:l==="ltr"?f:p,loop:i}):g?S=x.at(0)||null:v&&(S=x.at(-1)||null),c&&S?.focus(),S}function Br(e,t,n,o=e.length){if(--o===0)return null;const r=e.indexOf(t),s=n.goForward?r+1:r-1;if(!n.loop&&(s<0||s>=e.length))return null;const a=(s+e.length)%e.length,i=e[a];return i?i.hasAttribute("disabled")&&i.getAttribute("disabled")!=="false"?Br(e,i,n,o):i:null}function Wa(e,t){var n;const o=qt();return qe(()=>{o.value=e()},{...t,flush:(n=void 0)!=null?n:"sync"}),ma(o)}function yn(e){return ho()?(go(e),!0):!1}function An(){const e=new Set,t=s=>{e.delete(s)};return{on:s=>{e.add(s);const a=()=>t(s);return yn(a),{off:a}},off:t,trigger:(...s)=>Promise.all(Array.from(e).map(a=>a(...s))),clear:()=>{e.clear()}}}function Ha(e){let t=!1,n;const o=wr(!0);return(...r)=>(t||(n=o.run(()=>e(...r)),t=!0),n)}function Ir(e){let t=0,n,o;const r=()=>{t-=1,o&&t<=0&&(o.stop(),n=void 0,o=void 0)};return(...s)=>(t+=1,o||(o=wr(!0),n=o.run(()=>e(...s))),yn(r),n)}const nt=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const Ka=e=>typeof e<"u",Ga=Object.prototype.toString,Ya=e=>Ga.call(e)==="[object Object]",Lo=Xa();function Xa(){var e,t;return nt&&((e=window?.navigator)==null?void 0:e.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((t=window?.navigator)==null?void 0:t.maxTouchPoints)>2&&/iPad|Macintosh/.test(window?.navigator.userAgent))}function Ja(e){return Ye()}function Dn(e){return Array.isArray(e)?e:[e]}function Tr(e,t=1e4){return fa((n,o)=>{let r=he(e),s;const a=()=>setTimeout(()=>{r=he(e),o()},he(t));return yn(()=>{clearTimeout(s)}),{get(){return n(),r},set(i){r=i,o(),clearTimeout(s),s=a()}}})}const Qa=he;function Za(e,t){Ja()&&pa(e,t)}function ei(e,t,n){return se(e,t,{...n,immediate:!0})}const bo=nt?window:void 0;function dt(e){var t;const n=he(e);return(t=n?.$el)!=null?t:n}function zt(...e){const t=[],n=()=>{t.forEach(i=>i()),t.length=0},o=(i,l,u,c)=>(i.addEventListener(l,u,c),()=>i.removeEventListener(l,u,c)),r=F(()=>{const i=Dn(he(e[0])).filter(l=>l!=null);return i.every(l=>typeof l!="string")?i:void 0}),s=ei(()=>{var i,l;return[(l=(i=r.value)==null?void 0:i.map(u=>dt(u)))!=null?l:[bo].filter(u=>u!=null),Dn(he(r.value?e[1]:e[0])),Dn(d(r.value?e[2]:e[1])),he(r.value?e[3]:e[2])]},([i,l,u,c])=>{if(n(),!i?.length||!l?.length||!u?.length)return;const f=Ya(c)?{...c}:c;t.push(...i.flatMap(p=>l.flatMap(h=>u.map(m=>o(p,h,m,f)))))},{flush:"post"}),a=()=>{s(),n()};return yn(n),a}function ti(){const e=qt(!1),t=Ye();return t&&Ie(()=>{e.value=!0},t),e}function ni(e){return typeof e=="function"?e:typeof e=="string"?t=>t.key===e:Array.isArray(e)?t=>e.includes(t.key):()=>!0}function oi(...e){let t,n,o={};e.length===3?(t=e[0],n=e[1],o=e[2]):e.length===2?typeof e[1]=="object"?(t=!0,n=e[0],o=e[1]):(t=e[0],n=e[1]):(t=!0,n=e[0]);const{target:r=bo,eventName:s="keydown",passive:a=!1,dedupe:i=!1}=o,l=ni(t);return zt(r,s,c=>{c.repeat&&he(i)||l(c)&&n(c)},a)}function ri(e){return JSON.parse(JSON.stringify(e))}function ft(e,t,n,o={}){var r,s,a;const{clone:i=!1,passive:l=!1,eventName:u,deep:c=!1,defaultValue:f,shouldEmit:p}=o,h=Ye(),m=n||h?.emit||((r=h?.$emit)==null?void 0:r.bind(h))||((a=(s=h?.proxy)==null?void 0:s.$emit)==null?void 0:a.bind(h?.proxy));let g=u;t||(t="modelValue"),g=g||`update:${t.toString()}`;
2const v=x=>i?typeof i=="function"?i(x):ri(x):x,y=()=>Ka(e[t])?v(e[t]):f,w=x=>{p?p(x)&&m(g,x):m(g,x)};if(l){const x=y(),S=T(x);let D=!1;return se(()=>e[t],z=>{D||(D=!0,S.value=v(z),le(()=>D=!1))}),se(S,z=>{!D&&(z!==e[t]||c)&&w(z)},{deep:c}),S}else return F({get(){return y()},set(x){w(x)}})}const si=Ir(()=>{const e=T(new Map),t=T(),n=F(()=>{for(const a of e.value.values())if(a)return!0;return!1}),o=xr({scrollBody:T(!0)});let r=null;const s=()=>{document.body.style.paddingRight="",document.body.style.marginRight="",document.body.style.pointerEvents="",document.documentElement.style.removeProperty("--scrollbar-width"),document.body.style.overflow=t.value??"",Lo&&r?.(),t.value=void 0};return se(n,(a,i)=>{if(!nt)return;if(!a){i&&s();return}t.value===void 0&&(t.value=document.body.style.overflow);const l=window.innerWidth-document.documentElement.clientWidth,u={padding:l,margin:0},c=o.scrollBody?.value?typeof o.scrollBody.value=="object"?ha({padding:o.scrollBody.value.padding===!0?l:o.scrollBody.value.padding,margin:o.scrollBody.value.margin===!0?l:o.scrollBody.value.margin},u):u:{padding:0,margin:0};l>0&&(document.body.style.paddingRight=typeof c.padding=="number"?`${c.padding}px`:String(c.padding),document.body.style.marginRight=typeof c.margin=="number"?`${c.margin}px`:String(c.margin),document.documentElement.style.setProperty("--scrollbar-width",`${l}px`),document.body.style.overflow="hidden"),Lo&&(r=zt(document,"touchmove",f=>ai(f),{passive:!1})),le(()=>{document.body.style.pointerEvents="none",document.body.style.overflow="hidden"})},{immediate:!0,flush:"sync"}),e});function Rr(e){const t=Math.random().toString(36).substring(2,7),n=si();n.value.set(t,e??!1);const o=F({get:()=>n.value.get(t)??!1,set:r=>n.value.set(t,r)});return Za(()=>{n.value.delete(t)}),o}function Fr(e){const t=window.getComputedStyle(e);if(t.overflowX==="scroll"||t.overflowY==="scroll"||t.overflowX==="auto"&&e.clientWidth<e.scrollWidth||t.overflowY==="auto"&&e.clientHeight<e.scrollHeight)return!0;{const n=e.parentNode;return!(n instanceof Element)||n.tagName==="BODY"?!1:Fr(n)}}function ai(e){const t=e||window.event,n=t.target;return n instanceof Element&&Fr(n)?!1:t.touches.length>1?!0:(t.preventDefault&&t.cancelable&&t.preventDefault(),!1)}function _n(e){const t=xr({dir:T("ltr")});return F(()=>e?.value||t.dir?.value||"ltr")}function Wt(e){const t=Ye(),n=t?.type.emits,o={};return n?.length||console.warn(`No emitted event found. Please check component: ${t?.type.__name}`),n?.forEach(r=>{o[ga(Cr(r))]=(...s)=>e(r,...s)}),o}function ii(e){const t=F(()=>d(e)),n=F(()=>new Intl.Collator("en",{usage:"search",...t.value}));return{startsWith:(a,i)=>i.length===0?!0:(a=a.normalize("NFC"),i=i.normalize("NFC"),n.value.compare(a.slice(0,i.length),i)===0),endsWith:(a,i)=>i.length===0?!0:(a=a.normalize("NFC"),i=i.normalize("NFC"),n.value.compare(a.slice(-i.length),i)===0),contains:(a,i)=>{if(i.length===0)return!0;a=a.normalize("NFC"),i=i.normalize("NFC");let l=0;const u=i.length;for(;l+u<=a.length;l++){const c=a.slice(l,l+u);if(n.value.compare(i,c)===0)return!0}return!1}}}let Pn=0;function li(){qe(e=>{if(!nt)return;const t=document.querySelectorAll("[data-reka-focus-guard]");document.body.insertAdjacentElement("afterbegin",t[0]??$o()),document.body.insertAdjacentElement("beforeend",t[1]??$o()),Pn++,e(()=>{Pn===1&&document.querySelectorAll("[data-reka-focus-guard]").forEach(n=>n.remove()),Pn--})})}function $o(){const e=document.createElement("span");return e.setAttribute("data-reka-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}function ui(e){return F(()=>Qa(e)?!!dt(e)?.closest("form"):!0)}function J(){const e=Ye(),t=T(),n=F(()=>["#text","#comment"].includes(t.value?.$el.nodeName)?t.value?.$el.nextElementSibling:dt(t)),o=Object.assign({},e.exposed),r={};for(const a in e.props)Object.defineProperty(r,a,{enumerable:!0,configurable:!0,get:()=>e.props[a]});if(Object.keys(o).length>0)for(const a in o)Object.defineProperty(r,a,{enumerable:!0,configurable:!0,get:()=>o[a]});Object.defineProperty(r,"$el",{enumerable:!0,configurable:!0,get:()=>e.vnode.el}),e.exposed=r;function s(a){t.value=a,a&&(Object.defineProperty(r,"$el",{enumerable:!0,configurable:!0,get:()=>a instanceof Element?a:a.$el}),e.exposed=r)}return{forwardRef:s,currentRef:t,currentElement:n}}function ot(e){const t=Ye(),n=Object.keys(t?.type.props??{}).reduce((r,s)=>{const a=(t?.type.props[s]).default;return a!==void 0&&(r[s]=a),r},{}),o=Sr(e);return F(()=>{const r={},s=t?.vnode.props??{};
2return Object.keys(s).forEach(a=>{r[Cr(a)]=s[a]}),Object.keys({...n,...r}).reduce((a,i)=>(o.value[i]!==void 0&&(a[i]=o.value[i]),a),{})})}function xe(e,t){const n=ot(e),o=t?Wt(t):{};return F(()=>({...n.value,...o}))}var ci=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},_t=new WeakMap,Yt=new WeakMap,Xt={},Mn=0,Lr=function(e){return e&&(e.host||Lr(e.parentNode))},di=function(e,t){return t.map(function(n){if(e.contains(n))return n;var o=Lr(n);return o&&e.contains(o)?o:(console.error("aria-hidden",n,"in not contained inside",e,". Doing nothing"),null)}).filter(function(n){return!!n})},fi=function(e,t,n,o){var r=di(t,Array.isArray(e)?e:[e]);Xt[n]||(Xt[n]=new WeakMap);var s=Xt[n],a=[],i=new Set,l=new Set(r),u=function(f){!f||i.has(f)||(i.add(f),u(f.parentNode))};r.forEach(u);var c=function(f){!f||l.has(f)||Array.prototype.forEach.call(f.children,function(p){if(i.has(p))c(p);else try{var h=p.getAttribute(o),m=h!==null&&h!=="false",g=(_t.get(p)||0)+1,v=(s.get(p)||0)+1;_t.set(p,g),s.set(p,v),a.push(p),g===1&&m&&Yt.set(p,!0),v===1&&p.setAttribute(n,"true"),m||p.setAttribute(o,"true")}catch(y){console.error("aria-hidden: cannot operate on ",p,y)}})};return c(t),i.clear(),Mn++,function(){a.forEach(function(f){var p=_t.get(f)-1,h=s.get(f)-1;_t.set(f,p),s.set(f,h),p||(Yt.has(f)||f.removeAttribute(o),Yt.delete(f)),h||f.removeAttribute(n)}),Mn--,Mn||(_t=new WeakMap,_t=new WeakMap,Yt=new WeakMap,Xt={})}},pi=function(e,t,n){n===void 0&&(n="data-aria-hidden");var o=Array.from(Array.isArray(e)?e:[e]),r=ci(e);return r?(o.push.apply(o,Array.from(r.querySelectorAll("[aria-live], script"))),fi(o,r,n,"aria-hidden")):function(){return null}};function $r(e){let t;se(()=>dt(e),n=>{n?t=pi(n):t&&t()}),ct(()=>{t&&t()})}function ze(e,t="reka"){return`${t}-${va?.()}`}function mi(){return{ALT:"Alt",ARROW_DOWN:"ArrowDown",ARROW_LEFT:"ArrowLeft",ARROW_RIGHT:"ArrowRight",ARROW_UP:"ArrowUp",BACKSPACE:"Backspace",CAPS_LOCK:"CapsLock",CONTROL:"Control",DELETE:"Delete",END:"End",ENTER:"Enter",ESCAPE:"Escape",F1:"F1",F10:"F10",F11:"F11",F12:"F12",F2:"F2",F3:"F3",F4:"F4",F5:"F5",F6:"F6",F7:"F7",F8:"F8",F9:"F9",HOME:"Home",META:"Meta",PAGE_DOWN:"PageDown",PAGE_UP:"PageUp",SHIFT:"Shift",SPACE:" ",TAB:"Tab",CTRL:"Control",ASTERISK:"*",SPACE_CODE:"Space"}}function hi(e){const t=T(),n=F(()=>t.value?.width??0),o=F(()=>t.value?.height??0);return Ie(()=>{const r=dt(e);if(r){t.value={width:r.offsetWidth,height:r.offsetHeight};const s=new ResizeObserver(a=>{if(!Array.isArray(a)||!a.length)return;const i=a[0];let l,u;if("borderBoxSize"in i){const c=i.borderBoxSize,f=Array.isArray(c)?c[0]:c;l=f.inlineSize,u=f.blockSize}else l=r.offsetWidth,u=r.offsetHeight;t.value={width:l,height:u}});return s.observe(r,{box:"border-box"}),()=>s.unobserve(r)}else t.value=void 0}),{width:n,height:o}}function gi(e,t){const n=T(e);function o(s){return t[n.value][s]??n.value}return{state:n,dispatch:s=>{n.value=o(s)}}}function qr(e){const t=Tr("",1e3);return{search:t,handleTypeaheadSearch:(r,s)=>{t.value=t.value+r;{const a=_e(),i=s.map(p=>({...p,textValue:p.value?.textValue??p.ref.textContent?.trim()??""})),l=i.find(p=>p.ref===a),u=i.map(p=>p.textValue),c=yi(u,t.value,l?.textValue),f=i.find(p=>p.textValue===c);return f&&f.ref.focus(),f?.ref}},resetTypeahead:()=>{t.value=""}}}function vi(e,t){return e.map((n,o)=>e[(t+o)%e.length])}function yi(e,t,n){const r=t.length>1&&Array.from(t).every(u=>u===t[0])?t[0]:t,s=n?e.indexOf(n):-1;let a=vi(e,Math.max(s,0));r.length===1&&(a=a.filter(u=>u!==n));const l=a.find(u=>u.toLowerCase().startsWith(r.toLowerCase()));return l!==n?l:void 0}function _i(e,t){const n=T({}),o=T("none"),r=T(e),s=e.value?"mounted":"unmounted";let a;const i=t.value?.ownerDocument.defaultView??bo,{state:l,dispatch:u}=gi(s,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}}),c=v=>{if(nt){const y=new CustomEvent(v,{bubbles:!1,cancelable:!1});t.value?.dispatchEvent(y)}};se(e,async(v,y)=>{const w=y!==v;if(await le(),w){const x=o.value,S=Jt(t.value);v?(u("MOUNT"),c("enter"),S==="none"&&c("after-enter")):S==="none"||S==="undefined"||n.value?.display==="none"?(u("UNMOUNT"),c("leave"),c("after-leave")):y&&x!==S?(u("ANIMATION_OUT"),c("leave")):(u("UNMOUNT"),c("after-leave"))}},{immediate:!0});const f=v=>{const y=Jt(t.value),w=y.includes(CSS.escape(v.animationName)),x=l.value==="mounted"?"enter":"leave";if(v.target===t.value&&w&&(c(`after-${x}`),u("ANIMATION_END"),!r.value)){const S=t.value.style.animationFillMode;t.value.style.animationFillMode="forwards",a=i?.setTimeout(()=>{t.value?.style.animationFillMode==="forwards"&&(t.value.style.animationFillMode=S)})}v.target===t.value&&y==="none"&&u("ANIMATION_END")},p=v=>{v.target===t.value&&(o.value=Jt(t.value))},h=se(t,(v,y)=>{v?(n.value=getComputedStyle(v),v.addEventListener("animationstart",p),v.addEventListener("animationcancel",f),v.addEventListener("animationend",f)):(u("ANIMATION_END"),a!==void 0&&i?.clearTimeout(a),y?.removeEventListener("animationstart",p),y?.removeEventListener("animationcancel",f),y?.removeEventListener("animationend",f))},{immediate:!0}),m=se(l,()=>{const v=Jt(t.value);o.value=l.value==="mounted"?v:"none"});return ct(()=>{h(),m()}),{isPresent:F(()=>["mounted","unmountSuspended"].includes(l.value))}}function Jt(e){return e&&getComputedStyle(e).animationName||"none"}var bn=O({name:"Presence",props:{present:{type:Boolean,required:!0},forceMount:{type:Boolean}},slots:{},setup(e,{slots:t,expose:n}){const{present:o,forceMount:r}=tt(e),s=T(),{isPresent:a}=_i(o,s);n({present:a});let i=t.default({present:a.value});i=_o(i||[]);const l=Ye();if(i&&i?.length>1){const u=l?.parent?.type.name?`<${l.parent.type.name} />`:"component";
2throw new Error([`Detected an invalid children for \`${u}\` for  \`Presence\` component.`,"","Note: Presence works similarly to `v-if` directly, but it waits for animation/transition to finished before unmounting. So it expect only one direct child of valid VNode type.","You can apply a few solutions:",["Provide a single child element so that `presence` directive attach correctly.","Ensure the first child is an actual element instead of a raw text node or comment node."].map(c=>`  - ${c}`).join(`
3`)].join(`
4`))}return()=>r.value||o.value||a.value?Pe(t.default({present:a.value})[0],{ref:u=>{const c=dt(u);return typeof c?.hasAttribute>"u"||(c?.hasAttribute("data-reka-popper-content-wrapper")?s.value=c.firstElementChild:s.value=c),c}}):null}});const Hn=O({name:"PrimitiveSlot",inheritAttrs:!1,setup(e,{attrs:t,slots:n}){return()=>{if(!n.default)return null;const o=_o(n.default()),r=o.findIndex(l=>l.type!==kr);if(r===-1)return o;const s=o[r];delete s.props?.ref;const a=s.props?N(t,s.props):t,i=ya({...s,props:{}},a);return o.length===1?i:(o[r]=i,o)}}}),bi=["area","img","input"],Q=O({name:"Primitive",inheritAttrs:!1,props:{asChild:{type:Boolean,default:!1},as:{type:[String,Object],default:"div"}},setup(e,{attrs:t,slots:n}){const o=e.asChild?"template":e.as;return typeof o=="string"&&bi.includes(o)?()=>Pe(o,t):o!=="template"?()=>Pe(e.as,t,{default:n.default}):()=>Pe(Hn,t,{default:n.default})}});function Nt(){const e=T(),t=F(()=>["#text","#comment"].includes(e.value?.$el.nodeName)?e.value?.$el.nextElementSibling:dt(e));return{primitiveElement:e,currentElement:t}}const[zr,wi]=be("CollapsibleRoot");var xi=O({__name:"CollapsibleRoot",props:{defaultOpen:{type:Boolean,required:!1,default:!1},open:{type:Boolean,required:!1,default:void 0},disabled:{type:Boolean,required:!1},unmountOnHide:{type:Boolean,required:!1,default:!0},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:["update:open"],setup(e,{expose:t,emit:n}){const o=e,s=ft(o,"open",n,{defaultValue:o.defaultOpen,passive:o.open===void 0}),{disabled:a,unmountOnHide:i}=tt(o);return wi({contentId:"",disabled:a,open:s,unmountOnHide:i,onOpenToggle:()=>{a.value||(s.value=!s.value)}}),t({open:s}),J(),(l,u)=>(b(),k(d(Q),{as:l.as,"as-child":o.asChild,"data-state":d(s)?"open":"closed","data-disabled":d(a)?"":void 0},{default:_(()=>[P(l.$slots,"default",{open:d(s)})]),_:3},8,["as","as-child","data-state","data-disabled"]))}}),Ci=xi,Si=O({inheritAttrs:!1,__name:"CollapsibleContent",props:{forceMount:{type:Boolean,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:["contentFound"],setup(e,{emit:t}){const n=e,o=t,r=zr();r.contentId||=ze(void 0,"reka-collapsible-content");const s=T(),{forwardRef:a,currentElement:i}=J(),l=T(0),u=T(0),c=F(()=>r.open.value),f=T(c.value),p=T();se(()=>[c.value,s.value?.present],async()=>{await le();const m=i.value;if(!m)return;p.value=p.value||{transitionDuration:m.style.transitionDuration,animationName:m.style.animationName},m.style.transitionDuration="0s",m.style.animationName="none";const g=m.getBoundingClientRect();u.value=g.height,l.value=g.width,f.value||(m.style.transitionDuration=p.value.transitionDuration,m.style.animationName=p.value.animationName)},{immediate:!0});const h=F(()=>f.value&&r.open.value);return Ie(()=>{requestAnimationFrame(()=>{f.value=!1})}),zt(i,"beforematch",m=>{requestAnimationFrame(()=>{r.onOpenToggle(),o("contentFound")})}),(m,g)=>(b(),k(d(bn),{ref_key:"presentRef",ref:s,present:m.forceMount||d(r).open.value,"force-mount":!0},{default:_(({present:v})=>[A(d(Q),N(m.$attrs,{id:d(r).contentId,ref:d(a),"as-child":n.asChild,as:m.as,hidden:v?void 0:d(r).unmountOnHide.value?"":"until-found","data-state":h.value?void 0:d(r).open.value?"open":"closed","data-disabled":d(r).disabled?.value?"":void 0,style:{"--reka-collapsible-content-height":`${u.value}px`,"--reka-collapsible-content-width":`${l.value}px`}}),{default:_(()=>[!d(r).unmountOnHide.value||v?P(m.$slots,"default",{key:0}):De("v-if",!0)]),_:2},1040,["id","as-child","as","hidden","data-state","data-disabled","style"])]),_:3},8,["present"]))}}),ki=Si,Oi=O({__name:"CollapsibleTrigger",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"button"}},setup(e){const t=e;J();const n=zr();return(o,r)=>(b(),k(d(Q),{type:o.as==="button"?"button":void 0,as:o.as,"as-child":t.asChild,"aria-controls":d(n).contentId,"aria-expanded":d(n).open.value,"data-state":d(n).open.value?"open":"closed","data-disabled":d(n).disabled?.value?"":void 0,disabled:d(n).disabled?.value,onClick:d(n).onOpenToggle},{default:_(()=>[P(o.$slots,"default")]),_:3},8,["type","as","as-child","aria-controls","aria-expanded","data-state","data-disabled","disabled","onClick"]))}}),Ei=Oi;const[Ve,Ai]=be("DialogRoot");var Di=O({inheritAttrs:!1,__name:"DialogRoot",props:{open:{type:Boolean,required:!1,default:void 0},defaultOpen:{type:Boolean,required:!1,default:!1},modal:{type:Boolean,required:!1,default:!0}},emits:["update:open"],setup(e,{emit:t}){const n=e,r=ft(n,"open",t,{defaultValue:n.defaultOpen,passive:n.open===void 0}),s=T(),a=T(),{modal:i}=tt(n);return Ai({open:r,modal:i,openModal:()=>{r.value=!0},onOpenChange:l=>{r.value=l},onOpenToggle:()=>{r.value=!r.value},contentId:"",titleId:"",descriptionId:"",triggerElement:s,contentElement:a}),(l,u)=>P(l.$slots,"default",{open:d(r),close:()=>r.value=!1})}}),Nr=Di,Pi=O({__name:"DialogClose",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"button"}},setup(e){const t=e;J();const n=Ve();return(o,r)=>(b(),k(d(Q),N(t,{type:o.as==="button"?"button":void 0,onClick:r[0]||(r[0]=s=>d(n).onOpenChange(!1))}),{default:_(()=>[P(o.$slots,"default")]),_:3},16,["type"]))}}),wo=Pi;
4const Mi="dismissableLayer.pointerDownOutside",Bi="dismissableLayer.focusOutside";function Vr(e,t){const n=t.closest("[data-dismissable-layer]"),o=e.dataset.dismissableLayer===""?e:e.querySelector("[data-dismissable-layer]"),r=Array.from(e.ownerDocument.querySelectorAll("[data-dismissable-layer]"));return!!(n&&(o===n||r.indexOf(o)<r.indexOf(n)))}function Ii(e,t,n=!0){const o=t?.value?.ownerDocument??globalThis?.document,r=T(!1),s=T(()=>{});return qe(a=>{if(!nt||!he(n))return;const i=async u=>{const c=u.target;if(!(!t?.value||!c)){if(Vr(t.value,c)){r.value=!1;return}if(u.target&&!r.value){let p=function(){yo(Mi,e,f)};const f={originalEvent:u};u.pointerType==="touch"?(o.removeEventListener("click",s.value),s.value=p,o.addEventListener("click",s.value,{once:!0})):p()}else o.removeEventListener("click",s.value);r.value=!1}},l=window.setTimeout(()=>{o.addEventListener("pointerdown",i)},0);a(()=>{window.clearTimeout(l),o.removeEventListener("pointerdown",i),o.removeEventListener("click",s.value)})}),{onPointerDownCapture:()=>{he(n)&&(r.value=!0)}}}function Ti(e,t,n=!0){const o=t?.value?.ownerDocument??globalThis?.document,r=T(!1);return qe(s=>{if(!nt||!he(n))return;const a=async i=>{if(!t?.value)return;await le(),await le();const l=i.target;!t.value||!l||Vr(t.value,l)||i.target&&!r.value&&yo(Bi,e,{originalEvent:i})};o.addEventListener("focusin",a),s(()=>o.removeEventListener("focusin",a))}),{onFocusCapture:()=>{he(n)&&(r.value=!0)},onBlurCapture:()=>{he(n)&&(r.value=!1)}}}const Ue=hn({layersRoot:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set});var Ri=O({__name:"DismissableLayer",props:{disableOutsidePointerEvents:{type:Boolean,required:!1,default:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","dismiss"],setup(e,{emit:t}){const n=e,o=t,{forwardRef:r,currentElement:s}=J(),a=F(()=>s.value?.ownerDocument??globalThis.document),i=F(()=>Ue.layersRoot),l=F(()=>s.value?Array.from(i.value).indexOf(s.value):-1),u=F(()=>Ue.layersWithOutsidePointerEventsDisabled.size>0),c=F(()=>{const m=Array.from(i.value),[g]=[...Ue.layersWithOutsidePointerEventsDisabled].slice(-1),v=m.indexOf(g);return l.value>=v}),f=Ii(async m=>{const g=[...Ue.branches].some(v=>v?.contains(m.target));!c.value||g||(o("pointerDownOutside",m),o("interactOutside",m),await le(),m.defaultPrevented||o("dismiss"))},s),p=Ti(m=>{[...Ue.branches].some(v=>v?.contains(m.target))||(o("focusOutside",m),o("interactOutside",m),m.defaultPrevented||o("dismiss"))},s);oi("Escape",m=>{l.value===i.value.size-1&&(o("escapeKeyDown",m),m.defaultPrevented||o("dismiss"))});let h;return qe(m=>{s.value&&(n.disableOutsidePointerEvents&&(Ue.layersWithOutsidePointerEventsDisabled.size===0&&(h=a.value.body.style.pointerEvents,a.value.body.style.pointerEvents="none"),Ue.layersWithOutsidePointerEventsDisabled.add(s.value)),i.value.add(s.value),m(()=>{n.disableOutsidePointerEvents&&Ue.layersWithOutsidePointerEventsDisabled.size===1&&(a.value.body.style.pointerEvents=h)}))}),qe(m=>{m(()=>{s.value&&(i.value.delete(s.value),Ue.layersWithOutsidePointerEventsDisabled.delete(s.value))})}),(m,g)=>(b(),k(d(Q),{ref:d(r),"as-child":m.asChild,as:m.as,"data-dismissable-layer":"",style:Or({pointerEvents:u.value?c.value?"auto":"none":void 0}),onFocusCapture:d(p).onFocusCapture,onBlurCapture:d(p).onBlurCapture,onPointerdownCapture:d(f).onPointerDownCapture},{default:_(()=>[P(m.$slots,"default")]),_:3},8,["as-child","as","style","onFocusCapture","onBlurCapture","onPointerdownCapture"]))}}),jr=Ri;const Fi=Ha(()=>T([]));function Li(){const e=Fi();return{add(t){const n=e.value[0];t!==n&&n?.pause(),e.value=qo(e.value,t),e.value.unshift(t)},remove(t){e.value=qo(e.value,t),e.value[0]?.resume()}}}function qo(e,t){const n=[...e],o=n.indexOf(t);return o!==-1&&n.splice(o,1),n}function $i(e){return e.filter(t=>t.tagName!=="A")}const Bn="focusScope.autoFocusOnMount",In="focusScope.autoFocusOnUnmount",zo={bubbles:!1,cancelable:!0};function qi(e,{select:t=!1}={}){const n=_e();for(const o of e)if(Je(o,{select:t}),_e()!==n)return!0}function zi(e){const t=Ur(e),n=No(t,e),o=No(t.reverse(),e);return[n,o]}function Ur(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:o=>{const r=o.tagName==="INPUT"&&o.type==="hidden";return o.disabled||o.hidden||r?NodeFilter.FILTER_SKIP:o.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function No(e,t){for(const n of e)if(!Ni(n,{upTo:t}))return n}function Ni(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function Vi(e){return e instanceof HTMLInputElement&&"select"in e}function Je(e,{select:t=!1}={}){if(e&&e.focus){const n=_e();e.focus({preventScroll:!0}),e!==n&&Vi(e)&&t&&e.select()}}var ji=O({__name:"FocusScope",props:{loop:{type:Boolean,required:!1,default:!1},trapped:{type:Boolean,required:!1,default:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:["mountAutoFocus","unmountAutoFocus"],setup(e,{emit:t}){const n=e,o=t,{currentRef:r,currentElement:s}=J(),a=T(null),i=Li(),l=hn({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}});qe(c=>{if(!nt)return;const f=s.value;if(!n.trapped)return;function p(v){if(l.paused||!f)return;const y=v.target;f.contains(y)?a.value=y:Je(a.value,{select:!0})}function h(v){if(l.paused||!f)return;const y=v.relatedTarget;y!==null&&(f.contains(y)||Je(a.value,{select:!0}))}function m(v){f.contains(a.value)||Je(f)}document.addEventListener("focusin",p),document.addEventListener("focusout",h);const g=new MutationObserver(m);f&&g.observe(f,{childList:!0,subtree:!0}),c(()=>{document.removeEventListener("focusin",p),document.removeEventListener("focusout",h),g.disconnect()})}),qe(async c=>{const f=s.value;if(await le(),!f)return;i.add(l);const p=_e();if(!f.contains(p)){const m=new CustomEvent(Bn,zo);f.addEventListener(Bn,g=>o("mountAutoFocus",g)),f.dispatchEvent(m),m.defaultPrevented||(qi($i(Ur(f)),{select:!0}),_e()===p&&Je(f))}c(()=>{f.removeEventListener(Bn,v=>o("mountAutoFocus",v));const m=new CustomEvent(In,zo),g=v=>{o("unmountAutoFocus",v)};f.addEventListener(In,g),f.dispatchEvent(m),setTimeout(()=>{m.defaultPrevented||Je(p??document.body,{select:!0}),f.removeEventListener(In,g),i.remove(l)},0)})});function u(c){if(!n.loop&&!n.trapped||l.paused)return;const f=c.key==="Tab"&&!c.altKey&&!c.ctrlKey&&!c.metaKey,p=_e();if(f&&p){const h=c.currentTarget,[m,g]=zi(h);m&&g?!c.shiftKey&&p===g?(c.preventDefault(),n.loop&&Je(m,{select:!0})):c.shiftKey&&p===m&&(c.preventDefault(),n.loop&&Je(g,{select:!0})):p===h&&c.preventDefault()}}return(c,f)=>(b(),k(d(Q),{ref_key:"currentRef",ref:r,tabindex:"-1","as-child":c.asChild,as:c.as,onKeydown:u},{default:_(()=>[P(c.$slots,"default")]),_:3},8,["as-child","as"]))}}),Wr=ji;const Ui="menu.itemSelect",Kn=["Enter"," "],Wi=["ArrowDown","PageUp","Home"],Hr=["ArrowUp","PageDown","End"],Hi=[...Wi,...Hr];[...Kn],[...Kn];function Kr(e){return e?"open":"closed"}function Ki(e){const t=_e();for(const n of e)if(n===t||(n.focus(),_e()!==t))return}function Gi(e,t){const{x:n,y:o}=e;let r=!1;for(let s=0,a=t.length-1;s<t.length;a=s++){const i=t[s].x,l=t[s].y,u=t[a].x,c=t[a].y;l>o!=c>o&&n<(u-i)*(o-l)/(c-l)+i&&(r=!r)}return r}function Yi(e,t){if(!t)return!1;const n={x:e.clientX,y:e.clientY};return Gi(n,t)}function Gn(e){return e.pointerType==="mouse"}var Xi=O({__name:"DialogContentImpl",props:{forceMount:{type:Boolean,required:!1},trapFocus:{type:Boolean,required:!1},disableOutsidePointerEvents:{type:Boolean,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(e,{emit:t}){const n=e,o=t,r=Ve(),{forwardRef:s,currentElement:a}=J();return r.titleId||=ze(void 0,"reka-dialog-title"),r.descriptionId||=ze(void 0,"reka-dialog-description"),Ie(()=>{r.contentElement=a,_e()!==document.body&&(r.triggerElement.value=_e())}),(i,l)=>(b(),k(d(Wr),{"as-child":"",loop:"",trapped:n.trapFocus,onMountAutoFocus:l[5]||(l[5]=u=>o("openAutoFocus",u)),onUnmountAutoFocus:l[6]||(l[6]=u=>o("closeAutoFocus",u))},{default:_(()=>[A(d(jr),N({id:d(r).contentId,ref:d(s),as:i.as,"as-child":i.asChild,"disable-outside-pointer-events":i.disableOutsidePointerEvents,role:"dialog","aria-describedby":d(r).descriptionId,"aria-labelledby":d(r).titleId,"data-state":d(Kr)(d(r).open.value)},i.$attrs,{onDismiss:l[0]||(l[0]=u=>d(r).onOpenChange(!1)),onEscapeKeyDown:l[1]||(l[1]=u=>o("escapeKeyDown",u)),onFocusOutside:l[2]||(l[2]=u=>o("focusOutside",u)),onInteractOutside:l[3]||(l[3]=u=>o("interactOutside",u)),onPointerDownOutside:l[4]||(l[4]=u=>o("pointerDownOutside",u))}),{default:_(()=>[P(i.$slots,"default")]),_:3},16,["id","as","as-child","disable-outside-pointer-events","aria-describedby","aria-labelledby","data-state"])]),_:3},8,["trapped"]))}}),Gr=Xi,Ji=O({__name:"DialogContentModal",props:{forceMount:{type:Boolean,required:!1},trapFocus:{type:Boolean,required:!1},disableOutsidePointerEvents:{type:Boolean,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(e,{emit:t}){const n=e,o=t,r=Ve(),s=Wt(o),{forwardRef:a,currentElement:i}=J();return $r(i),(l,u)=>(b(),k(Gr,N({...n,...d(s)},{ref:d(a),"trap-focus":d(r).open.value,"disable-outside-pointer-events":!0,onCloseAutoFocus:u[0]||(u[0]=c=>{c.defaultPrevented||(c.preventDefault(),d(r).triggerElement.value?.focus())}),onPointerDownOutside:u[1]||(u[1]=c=>{const f=c.detail.originalEvent,p=f.button===0&&f.ctrlKey===!0;(f.button===2||p)&&c.preventDefault()}),onFocusOutside:u[2]||(u[2]=c=>{c.preventDefault()})}),{default:_(()=>[P(l.$slots,"default")]),_:3},16,["trap-focus"]))}}),Qi=Ji,Zi=O({__name:"DialogContentNonModal",props:{forceMount:{type:Boolean,required:!1},trapFocus:{type:Boolean,required:!1},disableOutsidePointerEvents:{type:Boolean,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(e,{emit:t}){const n=e,r=Wt(t);J();const s=Ve(),a=T(!1),i=T(!1);return(l,u)=>(b(),k(Gr,N({...n,...d(r)},{"trap-focus":!1,"disable-outside-pointer-events":!1,onCloseAutoFocus:u[0]||(u[0]=c=>{c.defaultPrevented||(a.value||d(s).triggerElement.value?.focus(),c.preventDefault()),a.value=!1,i.value=!1}),onInteractOutside:u[1]||(u[1]=c=>{c.defaultPrevented||(a.value=!0,c.detail.originalEvent.type==="pointerdown"&&(i.value=!0));const f=c.target;d(s).triggerElement.value?.contains(f)&&c.preventDefault(),c.detail.originalEvent.type==="focusin"&&i.value&&c.preventDefault()})}),{default:_(()=>[P(l.$slots,"default")]),_:3},16))}}),el=Zi,tl=O({__name:"DialogContent",props:{forceMount:{type:Boolean,required:!1},disableOutsidePointerEvents:{type:Boolean,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(e,{emit:t}){const n=e,o=t,r=Ve(),s=Wt(o),{forwardRef:a}=J();return(i,l)=>(b(),k(d(bn),{present:i.forceMount||d(r).open.value},{default:_(()=>[d(r).modal.value?(b(),k(Qi,N({key:0,ref:d(a)},{...n,...d(s),...i.$attrs}),{default:_(()=>[P(i.$slots,"default")]),_:3},16)):(b(),k(el,N({key:1,ref:d(a)},{...n,...d(s),...i.$attrs}),{default:_(()=>[P(i.$slots,"default")]),_:3},16))]),_:3},8,["present"]))}}),Yr=tl,nl=O({__name:"DialogDescription",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"p"}},setup(e){const t=e;J();const n=Ve();return(o,r)=>(b(),k(d(Q),N(t,{id:d(n).descriptionId}),{default:_(()=>[P(o.$slots,"default")]),_:3},16,["id"]))}}),ol=nl,rl=O({__name:"DialogOverlayImpl",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(e){const t=Ve();return Rr(!0),J(),(n,o)=>(b(),k(d(Q),{as:n.as,"as-child":n.asChild,"data-state":d(t).open.value?"open":"closed",style:{"pointer-events":"auto"}},{default:_(()=>[P(n.$slots,"default")]),_:3},8,["as","as-child","data-state"]))}}),sl=rl,al=O({__name:"DialogOverlay",props:{forceMount:{type:Boolean,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(e){const t=Ve(),{forwardRef:n}=J();return(o,r)=>d(t)?.modal.value?(b(),k(d(bn),{key:0,present:o.forceMount||d(t).open.value},{default:_(()=>[A(sl,N(o.$attrs,{ref:d(n),as:o.as,"as-child":o.asChild}),{default:_(()=>[P(o.$slots,"default")]),_:3},16,["as","as-child"])]),_:3},8,["present"])):De("v-if",!0)}}),Xr=al,il=O({__name:"Teleport",props:{to:{type:null,required:!1,default:"body"},disabled:{type:Boolean,required:!1},defer:{type:Boolean,required:!1},forceMount:{type:Boolean,required:!1}},setup(e){const t=ti();return(n,o)=>d(t)||n.forceMount?(b(),k(_a,{key:0,to:n.to,disabled:n.disabled,defer:n.defer},[P(n.$slots,"default")],8,["to","disabled","defer"])):De("v-if",!0)}}),Jr=il,ll=O({__name:"DialogPortal",props:{to:{type:null,required:!1},disabled:{type:Boolean,required:!1},defer:{type:Boolean,required:!1},forceMount:{type:Boolean,required:!1}},setup(e){const t=e;return(n,o)=>(b(),k(d(Jr),Ae(Te(t)),{default:_(()=>[P(n.$slots,"default")]),_:3},16))}}),Qr=ll,ul=O({__name:"DialogTitle",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"h2"}},setup(e){const t=e,n=Ve();return J(),(o,r)=>(b(),k(d(Q),N(t,{id:d(n).titleId}),{default:_(()=>[P(o.$slots,"default")]),_:3},16,["id"]))}}),cl=ul,dl=O({__name:"DialogTrigger",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"button"}},setup(e){const t=e,n=Ve(),{forwardRef:o,currentElement:r}=J();return n.contentId||=ze(void 0,"reka-dialog-content"),Ie(()=>{n.triggerElement.value=r.value}),(s,a)=>(b(),k(d(Q),N(t,{ref:d(o),type:s.as==="button"?"button":void 0,"aria-haspopup":"dialog","aria-expanded":d(n).open.value||!1,"aria-controls":d(n).open.value?d(n).contentId:void 0,"data-state":d(n).open.value?"open":"closed",onClick:d(n).onOpenToggle}),{default:_(()=>[P(s.$slots,"default")]),_:3},16,["type","aria-expanded","aria-controls","data-state","onClick"]))}}),fl=dl;const Vo="data-reka-collection-item";function Ht(e={}){const{key:t="",isProvider:n=!1}=e,o=`${t}CollectionProvider`;let r;if(n){const c=T(new Map);r={collectionRef:T(),itemMap:c},wa(o,r)}else r=Er(o);const s=(c=!1)=>{const f=r.collectionRef.value;if(!f)return[];const p=Array.from(f.querySelectorAll(`[${Vo}]`)),m=Array.from(r.itemMap.value.values()).sort((g,v)=>p.indexOf(g.ref)-p.indexOf(v.ref));return c?m:m.filter(g=>g.ref.dataset.disabled!=="")},a=O({name:"CollectionSlot",setup(c,{slots:f}){const{primitiveElement:p,currentElement:h}=Nt();return se(h,()=>{r.collectionRef.value=h.value}),()=>Pe(Hn,{ref:p},f)}}),i=O({name:"CollectionItem",inheritAttrs:!1,props:{value:{validator:()=>!0}},setup(c,{slots:f,attrs:p}){const{primitiveElement:h,currentElement:m}=Nt();return qe(g=>{if(m.value){const v=ba(m.value);r.itemMap.value.set(v,{ref:m.value,value:c.value}),g(()=>r.itemMap.value.delete(v))}}),()=>Pe(Hn,{...p,[Vo]:"",ref:h},f)}}),l=F(()=>
4Array.from(r.itemMap.value.values())),u=F(()=>r.itemMap.value.size);return{getItems:s,reactiveItems:l,itemMapSize:u,CollectionSlot:a,CollectionItem:i}}const pl="rovingFocusGroup.onEntryFocus",ml={bubbles:!1,cancelable:!0},hl={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function gl(e,t){return t!=="rtl"?e:e==="ArrowLeft"?"ArrowRight":e==="ArrowRight"?"ArrowLeft":e}function vl(e,t,n){const o=gl(e.key,n);if(!(t==="vertical"&&["ArrowLeft","ArrowRight"].includes(o))&&!(t==="horizontal"&&["ArrowUp","ArrowDown"].includes(o)))return hl[o]}function yl(e,t=!1){const n=_e();for(const o of e)if(o===n||(o.focus({preventScroll:t}),_e()!==n))return}const[Om,_l]=be("RovingFocusGroup");var bl=O({__name:"RovingFocusGroup",props:{orientation:{type:String,required:!1,default:void 0},dir:{type:String,required:!1},loop:{type:Boolean,required:!1,default:!1},currentTabStopId:{type:[String,null],required:!1},defaultCurrentTabStopId:{type:String,required:!1},preventScrollOnEntryFocus:{type:Boolean,required:!1,default:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:["entryFocus","update:currentTabStopId"],setup(e,{expose:t,emit:n}){const o=e,r=n,{loop:s,orientation:a,dir:i}=tt(o),l=_n(i),u=ft(o,"currentTabStopId",r,{defaultValue:o.defaultCurrentTabStopId,passive:o.currentTabStopId===void 0}),c=T(!1),f=T(!1),p=T(0),{getItems:h,CollectionSlot:m}=Ht({isProvider:!0});function g(y){const w=!f.value;if(y.currentTarget&&y.target===y.currentTarget&&w&&!c.value){const x=new CustomEvent(pl,ml);if(y.currentTarget.dispatchEvent(x),r("entryFocus",x),!x.defaultPrevented){const S=h().map(C=>C.ref).filter(C=>C.dataset.disabled!==""),D=S.find(C=>C.getAttribute("data-active")===""),z=S.find(C=>C.getAttribute("data-highlighted")===""),B=S.find(C=>C.id===u.value),M=[D,z,B,...S].filter(Boolean);yl(M,o.preventScrollOnEntryFocus)}}f.value=!1}function v(){setTimeout(()=>{f.value=!1},1)}return t({getItems:h}),_l({loop:s,dir:l,orientation:a,currentTabStopId:u,onItemFocus:y=>{u.value=y},onItemShiftTab:()=>{c.value=!0},onFocusableItemAdd:()=>{p.value++},onFocusableItemRemove:()=>{p.value--}}),(y,w)=>(b(),k(d(m),null,{default:_(()=>[A(d(Q),{tabindex:c.value||p.value===0?-1:0,"data-orientation":d(a),as:y.as,"as-child":y.asChild,dir:d(l),style:{outline:"none"},onMousedown:w[0]||(w[0]=x=>f.value=!0),onMouseup:v,onFocus:g,onBlur:w[1]||(w[1]=x=>c.value=!1)},{default:_(()=>[P(y.$slots,"default")]),_:3},8,["tabindex","data-orientation","as","as-child","dir"])]),_:3}))}}),wl=bl,xl=O({__name:"VisuallyHidden",props:{feature:{type:String,required:!1,default:"focusable"},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"span"}},setup(e){return(t,n)=>(b(),k(d(Q),{as:t.as,"as-child":t.asChild,"aria-hidden":t.feature==="focusable"?"true":void 0,"data-hidden":t.feature==="fully-hidden"?"":void 0,tabindex:t.feature==="fully-hidden"?"-1":void 0,style:{position:"absolute",border:0,width:"1px",height:"1px",padding:0,margin:"-1px",overflow:"hidden",clip:"rect(0, 0, 0, 0)",clipPath:"inset(50%)",whiteSpace:"nowrap",wordWrap:"normal",top:"-1px",left:"-1px"}},{default:_(()=>[P(t.$slots,"default")]),_:3},8,["as","as-child","aria-hidden","data-hidden","tabindex"]))}}),Cl=xl,Sl=O({inheritAttrs:!1,__name:"VisuallyHiddenInputBubble",props:{name:{type:String,required:!0},value:{type:null,required:!0},checked:{type:Boolean,required:!1,default:void 0},required:{type:Boolean,required:!1},disabled:{type:Boolean,required:!1},feature:{type:String,required:!1,default:"fully-hidden"}},setup(e){const t=e,{primitiveElement:n,currentElement:o}=Nt(),r=F(()=>t.checked??t.value);return se(r,(s,a)=>{if(!o.value)return;const i=o.value,l=window.HTMLInputElement.prototype,c=Object.getOwnPropertyDescriptor(l,"value").set;if(c&&s!==a){const f=new Event("input",{bubbles:!0}),p=new Event("change",{bubbles:!0});c.call(i,s),i.dispatchEvent(f),i.dispatchEvent(p)}}),(s,a)=>(b(),k(Cl,N({ref_key:"primitiveElement",ref:n},{...t,...s.$attrs},{as:"input"}),null,16))}}),jo=Sl,kl=O({inheritAttrs:!1,__name:"VisuallyHiddenInput",props:{name:{type:String,required:!0},value:{type:null,required:!0},checked:{type:Boolean,required:!1,default:void 0},required:{type:Boolean,required:!1},disabled:{type:Boolean,required:!1},feature:{type:String,required:!1,default:"fully-hidden"}},setup(e){const t=e,n=F(()=>typeof t.value=="object"&&Array.isArray(t.value)&&t.value.length===0&&t.required),o=F(()=>typeof t.value=="string"||typeof t.value=="number"||typeof t.value=="boolean"||t.value===null||t.value===void 0?[{name:t.name,value:t.value}]:typeof t.value=="object"&&Array.isArray(t.value)?t.value.flatMap((r,s)=>typeof r=="object"?Object.entries(r).map(([a,i])=>({name:`${t.name}[${s}][${a}]`,value:i})):{name:`${t.name}[${s}]`,value:r}):t.value!==null&&typeof t.value=="object"&&!Array.isArray(t.value)?Object.entries(t.value).map(([r,s])=>({name:`${t.name}[${r}]`,value:s})):[]);return(r,s)=>(b(),Z(pe,null,[De(" We render single input if it's required "),n.value?(b(),k(jo,N({key:r.name},{...t,...r.$attrs},{name:r.name,value:r.value}),null,16,["name","value"])):(b(!0),Z(pe,{key:1},He(o.value,a=>(b(),k(jo,N({key:a.name},{ref_for:!0},{...t,...r.$attrs},{name:a.name,value:a.value}),null,16,["name","value"]))),128))],2112))}}),Ol=kl;const[Zr,El]=be("PopperRoot");var Al=O({inheritAttrs:!1,__name:"PopperRoot",setup(e){const t=T();return El({anchor:t,onAnchorChange:n=>t.value=n}),(n,o)=>P(n.$slots,"default")}}),Dl=Al,Pl=O({__name:"PopperAnchor",props:{reference:{type:null,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(e){const t=e,{forwardRef:n,currentElement:o}=J(),r=Zr();return Ar(()=>{r.onAnchorChange(t.reference??o.value)}),(s,a)=>(b(),k(d(Q),{ref:d(n),as:s.as,"as-child":s.asChild},{default:_(()=>[P(s.$slots,"default")]),_:3},8,["as","as-child"]))}}),Ml=Pl;function Bl(e){return e!==null}function Il(e){return{name:"transformOrigin",options:e,fn(t){const{placement:n,rects:o,middlewareData:r}=t,a=r.arrow?.centerOffset!==0,i=a?0:e.arrowWidth,l=a?0:e.arrowHeight,[u,c]=Yn(n),f={start:"0%",center:"50%",end:"100%"}[c],p=(r.arrow?.x??0)+i/2,h=(r.arrow?.y??0)+l/2;let m="",g="";return u==="bottom"?(m=a?f:`${p}px`,g=`${-l}px`):u==="top"?(m=a?f:`${p}px`,g=`${o.floating.height+l}px`):u==="right"?(m=`${-l}px`,g=a?f:`${h}px`):u==="left"&&(m=`${o.floating.width+l}px`,g=a?f:`${h}px`),{data:{x:m,y:g}}}}}function Yn(e){const[t,n="center"]=e.split("-");return[t,n]}const Tl=["top","right","bottom","left"],Ze=Math.min,Oe=Math.max,an=Math.round,Qt=Math.floor,$e=e=>({x:e,y:e}
vendor: 18,679 bytes, line 4
4),Rl={left:"right",right:"left",bottom:"top",top:"bottom"},Fl={start:"end",end:"start"};function Xn(e,t,n){return Oe(e,Ze(t,n))}function Ke(e,t){return typeof e=="function"?e(t):e}function Ge(e){return e.split("-")[0]}function At(e){return e.split("-")[1]}function xo(e){return e==="x"?"y":"x"}function Co(e){return e==="y"?"height":"width"}const Ll=new Set(["top","bottom"]);function Le(e){return Ll.has(Ge(e))?"y":"x"}function So(e){return xo(Le(e))}function $l(e,t,n){n===void 0&&(n=!1);const o=At(e),r=So(e),s=Co(r);let a=r==="x"?o===(n?"end":"start")?"right":"left":o==="start"?"bottom":"top";return t.reference[s]>t.floating[s]&&(a=ln(a)),[a,ln(a)]}function ql(e){const t=ln(e);return[Jn(e),t,Jn(t)]}function Jn(e){return e.replace(/start|end/g,t=>Fl[t])}const Uo=["left","right"],Wo=["right","left"],zl=["top","bottom"],Nl=["bottom","top"];function Vl(e,t,n){switch(e){case"top":case"bottom":return n?t?Wo:Uo:t?Uo:Wo;case"left":case"right":return t?zl:Nl;default:return[]}}function jl(e,t,n,o){const r=At(e);let s=Vl(Ge(e),n==="start",o);return r&&(s=s.map(a=>a+"-"+r),t&&(s=s.concat(s.map(Jn)))),s}function ln(e){return e.replace(/left|right|bottom|top/g,t=>Rl[t])}function Ul(e){return{top:0,right:0,bottom:0,left:0,...e}}function es(e){return typeof e!="number"?Ul(e):{top:e,right:e,bottom:e,left:e}}function un(e){const{x:t,y:n,width:o,height:r}=e;return{width:o,height:r,top:n,left:t,right:t+o,bottom:n+r,x:t,y:n}}function Ho(e,t,n){let{reference:o,floating:r}=e;const s=Le(t),a=So(t),i=Co(a),l=Ge(t),u=s==="y",c=o.x+o.width/2-r.width/2,f=o.y+o.height/2-r.height/2,p=o[i]/2-r[i]/2;let h;switch(l){case"top":h={x:c,y:o.y-r.height};break;case"bottom":h={x:c,y:o.y+o.height};break;case"right":h={x:o.x+o.width,y:f};break;case"left":h={x:o.x-r.width,y:f};break;default:h={x:o.x,y:o.y}}switch(At(t)){case"start":h[a]-=p*(n&&u?-1:1);break;case"end":h[a]+=p*(n&&u?-1:1);break}return h}const Wl=async(e,t,n)=>{const{placement:o="bottom",strategy:r="absolute",middleware:s=[],platform:a}=n,i=s.filter(Boolean),l=await(a.isRTL==null?void 0:a.isRTL(t));let u=await a.getElementRects({reference:e,floating:t,strategy:r}),{x:c,y:f}=Ho(u,o,l),p=o,h={},m=0;for(let g=0;g<i.length;g++){const{name:v,fn:y}=i[g],{x:w,y:x,data:S,reset:D}=await y({x:c,y:f,initialPlacement:o,placement:p,strategy:r,middlewareData:h,rects:u,platform:a,elements:{reference:e,floating:t}});c=w??c,f=x??f,h={...h,[v]:{...h[v],...S}},D&&m<=50&&(m++,typeof D=="object"&&(D.placement&&(p=D.placement),D.rects&&(u=D.rects===!0?await a.getElementRects({reference:e,floating:t,strategy:r}):D.rects),{x:c,y:f}=Ho(u,p,l)),g=-1)}return{x:c,y:f,placement:p,strategy:r,middlewareData:h}};async function Vt(e,t){var n;t===void 0&&(t={});const{x:o,y:r,platform:s,rects:a,elements:i,strategy:l}=e,{boundary:u="clippingAncestors",rootBoundary:c="viewport",elementContext:f="floating",altBoundary:p=!1,padding:h=0}=Ke(t,e),m=es(h),v=i[p?f==="floating"?"reference":"floating":f],y=un(await s.getClippingRect({element:(n=await(s.isElement==null?void 0:s.isElement(v)))==null||n?v:v.contextElement||await(s.getDocumentElement==null?void 0:s.getDocumentElement(i.floating)),boundary:u,rootBoundary:c,strategy:l})),w=f==="floating"?{x:o,y:r,width:a.floating.width,height:a.floating.height}:a.reference,x=await(s.getOffsetParent==null?void 0:s.getOffsetParent(i.floating)),S=await(s.isElement==null?void 0:s.isElement(x))?await(s.getScale==null?void 0:s.getScale(x))||{x:1,y:1}:{x:1,y:1},D=un(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({elements:i,rect:w,offsetParent:x,strategy:l}):w);return{top:(y.top-D.top+m.top)/S.y,bottom:(D.bottom-y.bottom+m.bottom)/S.y,left:(y.left-D.left+m.left)/S.x,right:(D.right-y.right+m.right)/S.x}}const Hl=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:o,placement:r,rects:s,platform:a,elements:i,middlewareData:l}=t,{element:u,padding:c=0}=Ke(e,t)||{};if(u==null)return{};const f=es(c),p={x:n,y:o},h=So(r),m=Co(h),g=await a.getDimensions(u),v=h==="y",y=v?"top":"left",w=v?"bottom":"right",x=v?"clientHeight":"clientWidth",S=s.reference[m]+s.reference[h]-p[h]-s.floating[m],D=p[h]-s.reference[h],z=await(a.getOffsetParent==null?void 0:a.getOffsetParent(u));let B=z?z[x]:0;(!B||!await(a.isElement==null?void 0:a.isElement(z)))&&(B=i.floating[x]||s.floating[m]);const M=S/2-D/2,C=B/2-g[m]/2-1,V=Ze(f[y],C),W=Ze(f[w],C),Y=V,R=B-g[m]-W,X=B/2-g[m]/2+M,j=Xn(Y,X,R),ee=!l.arrow&&At(r)!=null&&X!==j&&s.reference[m]/2-(X<Y?V:W)-g[m]/2<0,oe=ee?X<Y?X-Y:X-R:0;return{[h]:p[h]+oe,data:{[h]:j,centerOffset:X-j-oe,...ee&&{alignmentOffset:oe}},reset:ee}}}),Kl=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,o;const{placement:r,middlewareData:s,rects:a,initialPlacement:i,platform:l,elements:u}=t,{mainAxis:c=!0,crossAxis:f=!0,fallbackPlacements:p,fallbackStrategy:h="bestFit",fallbackAxisSideDirection:m="none",flipAlignment:g=!0,...v}=Ke(e,t);if((n=s.arrow)!=null&&n.alignmentOffset)return{};const y=Ge(r),w=Le(i),x=Ge(i)===i,S=await(l.isRTL==null?void 0:l.isRTL(u.floating)),D=p||(x||!g?[ln(i)]:ql(i)),z=m!=="none";!p&&z&&D.push(...jl(i,g,m,S));const B=[i,...D],M=await Vt(t,v),C=[];let V=((o=s.flip)==null?void 0:o.overflows)||[];if(c&&C.push(M[y]),f){const X=$l(r,a,S);C.push(M[X[0]],M[X[1]])}if(V=[...V,{placement:r,overflows:C}],!C.every(X=>X<=0)){var W,Y;const X=(((W=s.flip)==null?void 0:W.index)||0)+1,j=B[X];if(j&&(!(f==="alignment"?w!==Le(j):!1)||V.every(L=>Le(L.placement)===w?L.overflows[0]>0:!0)))return{data:{index:X,overflows:V},reset:{placement:j}};let ee=(Y=V.filter(oe=>oe.overflows[0]<=0).sort((oe,L)=>oe.overflows[1]-L.overflows[1])[0])==null?void 0:Y.placement;if(!ee)switch(h){case"bestFit":{var R;const oe=(R=V.filter(L=>{if(z){const Se=Le(L.placement);return Se===w||Se==="y"}return!0}).map(L=>[L.placement,L.overflows.filter(Se=>Se>0).reduce((Se,ht)=>Se+ht,0)]).sort((L,Se)=>L[1]-Se[1])[0])==null?void 0:R[0];oe&&(ee=oe);break}case"initialPlacement":ee=i;break}if(r!==ee)return{reset:{placement:ee}}}return{}}}};function Ko(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function Go(e){return Tl.some(t=>e[t]>=0)}const Gl=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n}=t,{strategy:o="referenceHidden",...r}=Ke(e,t);switch(o){case"referenceHidden":{const s=await Vt(t,{...r,elementContext:"reference"}),a=Ko(s,n.reference);return{data:{referenceHiddenOffsets:a,referenceHidden:Go(a)}}}case"escaped":{const s=await Vt(t,{...r,altBoundary:!0}),a=Ko(s,n.floating);return{data:{escapedOffsets:a,escaped:Go(a)}}}default:return{}}}}},ts=new Set(["left","top"]);async function Yl(e,t){const{placement:n,platform:o,elements:r}=e,s=await(o.isRTL==null?void 0:o.isRTL(r.floating)),a=Ge(n),i=At(n),l=Le(n)==="y",u=ts.has(a)?-1:1,c=s&&l?-1:1,f=Ke(t,e);let{mainAxis:p,crossAxis:h,alignmentAxis:m}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:f.mainAxis||0,crossAxis:f.crossAxis||0,alignmentAxis:f.alignmentAxis};return i&&typeof m=="number"&&(h=i==="end"?m*-1:m),l?{x:h*c,y:p*u}:{x:p*u,y:h*c}}const Xl=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,o;const{x:r,y:s,placement:a,middlewareData:i}=t,l=await Yl(t,e);return a===((n=i.offset)==null?void 0:n.placement)&&(o=i.arrow)!=null&&o.alignmentOffset?{}:{x:r+l.x,y:s+l.y,data:{...l,placement:a}}}}},Jl=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:o,placement:r}=t,{mainAxis:s=!0,crossAxis:a=!1,limiter:i={fn:v=>{let{x:y,y:w}=v;return{x:y,y:w}}},...l}=Ke(e,t),u={x:n,y:o},c=await Vt(t,l),f=Le(Ge(r)),p=xo(f);let h=u[p],m=u[f];if(s){const v=p==="y"?"top":"left",y=p==="y"?"bottom":"right",w=h+c[v],x=h-c[y];h=Xn(w,h,x)}if(a){const v=f==="y"?"top":"left",y=f==="y"?"bottom":"right",w=m+c[v],x=m-c[y];m=Xn(w,m,x)}const g=i.fn({...t,[p]:h,[f]:m});return{...g,data:{x:g.x-n,y:g.y-o,enabled:{[p]:s,[f]:a}}}}}},Ql=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:o,placement:r,rects:s,middlewareData:a}=t,{offset:i=0,mainAxis:l=!0,crossAxis:u=!0}=Ke(e,t),c={x:n,y:o},f=Le(r),p=xo(f);let h=c[p],m=c[f];const g=Ke(i,t),v=typeof g=="number"?{mainAxis:g,crossAxis:0}:{mainAxis:0,crossAxis:0,...g};if(l){const x=p==="y"?"height":"width",S=s.reference[p]-s.floating[x]+v.mainAxis,D=s.reference[p]+s.reference[x]-v.mainAxis;h<S?h=S:h>D&&(h=D)}if(u){var y,w;const x=p==="y"?"width":"height",S=ts.has(Ge(r)),D=s.reference[f]-s.floating[x]+(S&&((y=a.offset)==null?void 0:y[f])||0)+(S?0:v.crossAxis),z=s.reference[f]+s.reference[x]+(S?0:((w=a.offset)==null?void 0:w[f])||0)-(S?v.crossAxis:0);m<D?m=D:m>z&&(m=z)}return{[p]:h,[f]:m}}}},Zl=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var n,o;const{placement:r,rects:s,platform:a,elements:i}=t,{apply:l=()=>{},...u}=Ke(e,t),c=await Vt(t,u),f=Ge(r),p=At(r),h=Le(r)==="y",{width:m,height:g}=s.floating;let v,y;f==="top"||f==="bottom"?(v=f,y=p===(await(a.isRTL==null?void 0:a.isRTL(i.floating))?"start":"end")?"left":"right"):(y=f,v=p==="end"?"top":"bottom");const w=g-c.top-c.bottom,x=m-c.left-c.right,S=Ze(g-c[v],w),D=Ze(m-c[y],x),z=!t.middlewareData.shift;let B=S,M=D;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(M=x),(o=t.middlewareData.shift)!=null&&o.enabled.y&&(B=w),z&&!p){const V=Oe(c.left,0),W=Oe(c.right,0),Y=Oe(c.top,0),R=Oe(c.bottom,0);h?M=m-2*(V!==0||W!==0?V+W:Oe(c.left,c.right)):B=g-2*(Y!==0||R!==0?Y+R:Oe(c.top,c.bottom))}await l({...t,availableWidth:M,availableHeight:B});const C=await a.getDimensions(i.floating);return m!==C.width||g!==C.height?{reset:{rects:!0}}:{}}}};function wn(){return typeof window<"u"}function pt(e){return ko(e)?(e.nodeName||"").toLowerCase():"#document"}function Ee(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function je(e){var t;return(t=(ko(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function ko(e){return wn()?e instanceof Node||e instanceof Ee(e).Node:!1}function Me(e){return wn()?e instanceof Element||e instanceof Ee(e).Element:!1}function Ne(e){return wn()?e instanceof HTMLElement||e instanceof Ee(e).HTMLElement:!1}function Yo(e){return!wn()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof Ee(e).ShadowRoot}const eu=new Set(["inline","contents"]);function Kt(e){const{overflow:t,overflowX:n,overflowY:o,display:r}=Be(e);return/auto|scroll|overlay|hidden|clip/.test(t+o+n)&&!eu.has(r)}const tu=new Set(["table","td","th"]);function nu(e){return tu.has(pt(e))}const ou=[":popover-open",":modal"];function xn(e){return ou.some(t=>{try{return e.matches(t)}catch{return!1}})}const ru=["transform","translate","scale","rotate","perspective"],su=["transform","translate","scale","rotate","perspective","filter"],au=["paint","layout","strict","content"];function Oo(e){const t=Eo(),n=Me(e)?Be(e):e;return ru.some(o=>n[o]?n[o]!=="none":!1)||(n.containerType?n.containerType!=="normal":!1)||!t&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!t&&(n.filter?n.filter!=="none":!1)||su.some(o=>(n.willChange||"").includes(o))||au.some(o=>(n.contain||"").includes(o))}function iu(e){let t=et(e);for(;Ne(t)&&!Et(t);){if(Oo(t))return t;if(xn(t))return null;t=et(t)}return null}function Eo(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const lu=new Set(["html","body","#document"]);function Et(e){return lu.has(pt(e))}function Be(e){return Ee(e).getComputedStyle(e)}function Cn(e){return Me(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function et(e){if(pt(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Yo(e)&&e.host||je(e);return Yo(t)?t.host:t}function ns(e){const t=et(e);return Et(t)?e.ownerDocument?e.ownerDocument.body:e.body:Ne(t)&&Kt(t)?t:ns(t)}function jt(e,t,n){var o;t===void 0&&(t=[]),n===void 0&&(n=!0);const r=ns(e),s=r===((o=e.ownerDocument)==null?void 0:o.body),a=Ee(r);if(s){const i=Qn(a);return t.concat(a,a.visualViewport||[],Kt(r)?r:[],i&&n?jt(i):[])}return t.concat(r,jt(r,[],n))}function Qn(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function os(e){const t=Be(e);let n=parseFloat(t.width)||0,o=parseFloat(t.height)||0;const r=Ne(e),s=r?e.offsetWidth:n,a=r?e.offsetHeight:o,i=an(n)!==s||an(o)!==a;return i&&(n=s,o=a),{width:n,height:o,$:i}}function Ao(e){return Me(e)?e:e.contextElement}function Ct(e){const t=Ao(e);if(!Ne(t))return $e(1);const n=t.getBoundingClientRect(),{width:o,height:r,$:s}=os(t);let a=(s?an(n.width):n.width)/o,i=(s?an(n.height):n.height)/r;return(!a||!Number.isFinite(a))&&(a=1),(!i||!Number.isFinite(i))&&(i=1),{x:a,y:i}}const uu=$e(0);function rs(e){const t=Ee(e);return!Eo()||!t.visualViewport?uu:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function cu(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==Ee(e)?!1:t}function ut(e,t,n,o){t===void 0&&(t=!1),n===void 0&&(n=!1);const r=e.getBoundingClientRect(),s=Ao(e);let a=$e(1);t&&(o?Me(o)&&(a=Ct(o)):a=Ct(e));const i=cu(s,n,o)?rs(s):$e(0);let l=(r.left+i.x)/a.x,u=(r.top+i.y)/a.y,c=r.width/a.x,f=r.height/a.y;if(s){const p=Ee(s),h=o&&Me(o)?Ee(o):o;let m=p,g=Qn(m);for(;g&&o&&h!==m;){const v=Ct(g),y=g.getBoundingClientRect(),w=Be(g),x=y.left+(g.clientLeft+parseFloat(w.paddingLeft))*v.x,S=y.top+(g.clientTop+parseFloat(w.paddingTop))*v.y;l*=v.x,u*=v.y,c*=v.x,f*=v.y,l+=x,u+=S,m=Ee(g),g=Qn(m)}}return un({width:c,height:f,x:l,y:u})}function Sn(e,t){const n=Cn(e).scrollLeft;return t?t.left+n:ut(je(e)).left+n}function ss(e,t){const n=e.getBoundingClientRect(),o=n.left+t.scrollLeft-Sn(e,n),r=n.top+t.scrollTop;return{x:o,y:r}}function du(e){let{elements:t,rect:n,offsetParent:o,strategy:r}=e;const s=r==="fixed",a=je(o),i=t?xn(t.floating):!1;if(o===a||i&&s)return n;let l={scrollLeft:0,scrollTop:0},u=$e(1);const c=$e(0),f=Ne(o);if((f||!f&&!s)&&((pt(o)!=="body"||Kt(a))&&(l=Cn(o)),Ne(o))){const h=ut(o);u=Ct(o),c.x=h.x+o.clientLeft,c.y=h.y+o.clientTop}const p=a&&!f&&!s?ss(a,l):$e(0);return{width:n.width*u.x,height:n.height*u.y,x:n.x*u.x-l.scrollLeft*u.x+c.x+p.x,y:n.y*u.y-l.scrollTop*u.y+c.y+p.y}}function fu(e){return Array.from(e.getClientRects())}function pu(e){const t=je(e),n=Cn(e),o=e.ownerDocument.body,r=Oe(t.scrollWidth,t.clientWidth,o.scrollWidth,o.clientWidth),s=Oe(t.scrollHeight,t.clientHeight,o.scrollHeight,o.clientHeight);let a=-n.scrollLeft+Sn(e);const i=-n.scrollTop;return Be(o).direction==="rtl"&&(a+=Oe(t.clientWidth,o.clientWidth)-r),{width:r,height:s,x:a,y:i}}const Xo=25;function mu(e,t){const n=Ee(e),o=je(e),r=n.visualViewport;let s=o.clientWidth,a=o.clientHeight,i=0,l=0;if(r){s=r.width,a=r.height;const c=Eo();(!c||c&&t==="fixed")&&(i=r.offsetLeft,l=r.offsetTop)}const u=Sn(o);if(u<=0){const c=o.ownerDocument,f=c.body,p=getComputedStyle(f),h=c.compatMode==="CSS1Compat"&&parseFloat(p.marginLeft)+parseFloat(p.marginRight)||0,m=Math.abs(o.clientWidth-f.clientWidth-h);m<=Xo&&(s-=m)}else u<=Xo&&(s+=u);return{width:s,height:a,x:i,y:l}}const hu=new Set(["absolute","fixed"]);function gu(e,t){const n=ut(e,!0,t==="fixed"),o=n.top+e.clientTop,r=n.left+e.clientLeft,s=Ne(e)?Ct(e):$e(1),a=e.clientWidth*s.x,i=e.clientHeight*s.y,l=r*s.x,u=o*s.y;return{width:a,height:i,x:l,y:u}}function Jo(e,t,n){let o;if(t==="viewport")o=mu(e,n);else if(t==="document")o=pu(je(e));else if(Me(t))o=gu(t,n);else{const r=rs(e);o={x:t.x-r.x,y:t.y-r.y,width:t.width,height:t.height}}return un(o)}function as(e,t){const n=et(e);return n===t||!Me(n)||Et(n)?!1:Be(n).position==="fixed"||as(n,t)}function vu(e,t){const n=t.get(e);if(n)return n;let o=jt(e,[],!1).filter(i=>Me(i)&&pt(i)!=="body"),r=null;const s=Be(e).position==="fixed";let a=s?et(e):e;for(;Me(a)&&!Et(a);){const i=Be(a),l=Oo(a);!l&&i.position==="fixed"&&(r=null),(s?!l&&!r:!l&&i.position==="static"&&!!r&&hu.has(r.position)||Kt(a)&&!l&&as(e,a))?o=o.filter(c=>c!==a):r=i,a=et(a)}return t.set(e,o),o}function yu(e){let{element:t,boundary:n,rootBoundary:o,strategy:r}=e;const a=[...n==="clippingAncestors"?xn(t)?[]:vu(t,this._c):[].concat(n),o],i=a[0],l=a.reduce((u,c)=>{const f=Jo(t,c,r);return u.top=Oe(f.top,u.top),u.right=Ze(f.right,u.right),u.bottom=Ze(f.bottom,u.bottom),u.left=Oe(f.left,u.left),u},Jo(t,i,r));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}}function _u(e){const{width:t,height:n}=os(e);return{width:t,height:n}}function bu(e,t,n){const o=Ne(t),r=je(t),s=n==="fixed",a=ut(e,!0,s,t);let i={scrollLeft:0,scrollTop:0};const l=$e(0);function u(){l.x=Sn(r)}if(o||!o&&!s)if((pt(t)!=="body"||Kt(r))&&(i=Cn(t)),o){const h=ut(t,!0,s,t);l.x=h.x+t.clientLeft,l.y=h.y+t.clientTop}else r&&u();s&&!o&&r&&u();const c=r&&!o&&!s?ss(r,i):$e(0),f=a.left+i.scrollLeft-l.x-c.x,p=a.top+i.scrollTop-l.y-c.y;return{x:f,y:p,width:a.width,height:a.height}}function Tn(e){return Be(e).position==="static"}function Qo(e,t){if(!Ne(e)||Be(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return je(e)===n&&(n=n.ownerDocument.body),n}function is(e,t){const n=Ee(e);if(xn(e))return n;if(!Ne(e)){let r=et(e);for(;r&&!Et(r);){if(Me(r)&&!Tn(r))return r;r=et(r)}return n}let o=Qo(e,t);for(;o&&nu(o)&&Tn(o);)o=Qo(o,t);return o&&Et(o)&&Tn(o)&&!Oo(o)?n:o||iu(e)||n}const wu=async function(e){const t=this.getOffsetParent||is,n=this.getDimensions,o=await n(e.floating);return{reference:bu(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}};function xu(e){return Be(e).direction==="rtl"}const Cu={convertOffsetParentRelativeRectToViewportRelativeRect:du,getDocumentElement:je,getClippingRect:yu,getOffsetParent:is,getElementRects:wu,getClientRects:fu,getDimensions:_u,getScale:Ct,isElement:Me,isRTL:xu};function ls(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function Su(e,t){let n=null,o;const r=je(e);function s(){var i;clearTimeout(o),(i=n)==null||i.disconnect(),n=null}function a(i,l){i===void 0&&(i=!1),l===void 0&&(l=1),s();const u=e.getBoundingClientRect(),{left:c,top:f,width:p,height:h}=u;if(i||t(),!p||!h)return;const m=Qt(f),g=Qt(r.clientWidth-(c+p)),v=Qt(r.clientHeight-(f+h)),y=Qt(c),x={rootMargin:-m+"px "+-g+"px "+-v+"px "+-y+"px",threshold:Oe(0,Ze(1,l))||1};let S=!0;function D(z){const B=z[0].intersectionRatio;if(B!==l){if(!S)return a();B?a(!1,B):o=setTimeout(()=>{a(!1,1e-7)},1e3)}B===1&&!ls(u,e.getBoundingClientRect())&&a(),S=!1}try{n=new IntersectionObserver(D,{...x,root:r.ownerDocument})}catch{n=new IntersectionObserver(D,x)}n.observe(e)}return a(!0),s}function ku(e,t,n,o){o===void 0&&(o={});const{ancestorScroll:r=!0,ancestorResize:s=!0,elementResize:a=typeof ResizeObserver=="function",layoutShift:i=typeof IntersectionObserver=="function",animationFrame:l=!1}=o,u=Ao(e),c=r||s?[...u?jt(u):[],...jt(t)]:[];
4c.forEach(y=>{r&&y.addEventListener("scroll",n,{passive:!0}),s&&y.addEventListener("resize",n)});const f=u&&i?Su(u,n):null;let p=-1,h=null;a&&(h=new ResizeObserver(y=>{let[w]=y;w&&w.target===u&&h&&(h.unobserve(t),cancelAnimationFrame(p),p=requestAnimationFrame(()=>{var x;(x=h)==null||x.observe(t)})),n()}),u&&!l&&h.observe(u),h.observe(t));let m,g=l?ut(e):null;l&&v();function v(){const y=ut(e);g&&!ls(g,y)&&n(),g=y,m=requestAnimationFrame(v)}return n(),()=>{var y;c.forEach(w=>{r&&w.removeEventListener("scroll",n),s&&w.removeEventListener("resize",n)}),f?.(),(y=h)==null||y.disconnect(),h=null,l&&cancelAnimationFrame(m)}}const Ou=Xl,Eu=Jl,Zo=Kl,Au=Zl,Du=Gl,Pu=Hl,Mu=Ql,Bu=(e,t,n)=>{const o=new Map,r={platform:Cu,...n},s={...r.platform,_c:o};return Wl(e,t,{...r,platform:s})};function Iu(e){return e!=null&&typeof e=="object"&&"$el"in e}function Zn(e){if(Iu(e)){const t=e.$el;return ko(t)&&pt(t)==="#comment"?null:t}return e}function xt(e){return typeof e=="function"?e():d(e)}function Tu(e){return{name:"arrow",options:e,fn(t){const n=Zn(xt(e.element));return n==null?{}:Pu({element:n,padding:e.padding}).fn(t)}}}function us(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function er(e,t){const n=us(e);return Math.round(t*n)/n}function Ru(e,t,n){n===void 0&&(n={});const o=n.whileElementsMounted,r=F(()=>{var B;return(B=xt(n.open))!=null?B:!0}),s=F(()=>xt(n.middleware)),a=F(()=>{var B;return(B=xt(n.placement))!=null?B:"bottom"}),i=F(()=>{var B;return(B=xt(n.strategy))!=null?B:"absolute"}),l=F(()=>{var B;return(B=xt(n.transform))!=null?B:!0}),u=F(()=>Zn(e.value)),c=F(()=>Zn(t.value)),f=T(0),p=T(0),h=T(i.value),m=T(a.value),g=qt({}),v=T(!1),y=F(()=>{const B={position:h.value,left:"0",top:"0"};if(!c.value)return B;const M=er(c.value,f.value),C=er(c.value,p.value);return l.value?{...B,transform:"translate("+M+"px, "+C+"px)",...us(c.value)>=1.5&&{willChange:"transform"}}:{position:h.value,left:M+"px",top:C+"px"}});let w;function x(){if(u.value==null||c.value==null)return;const B=r.value;Bu(u.value,c.value,{middleware:s.value,placement:a.value,strategy:i.value}).then(M=>{f.value=M.x,p.value=M.y,h.value=M.strategy,m.value=M.placement,g.value=M.middlewareData,v.value=B!==!1})}function S(){typeof w=="function"&&(w(),w=void 0)}function D(){if(S(),o===void 0){x();return}if(u.value!=null&&c.value!=null){w=o(u.value,c.value,x);return}}function z(){r.value||(v.value=!1)}return se([s,a,i,r],x,{flush:"sync"}),se([u,c],D,{flush:"sync"}),se(r,z,{flush:"sync"}),ho()&&go(S),{x:yt(f),y:yt(p),strategy:yt(h),placement:yt(m),middlewareData:yt(g),isPositioned:yt(v),floatingStyles:y,update:x}}const cs={side:"bottom",sideOffset:0,sideFlip:!0,align:"center",alignOffset:0,alignFlip:!0,arrowPadding:0,avoidCollisions:!0,collisionBoundary:()=>[],collisionPadding:0,sticky:"partial",hideWhenDetached:!1,positionStrategy:"fixed",updatePositionStrategy:"optimized",prioritizePosition:!1},[Em,Fu]=be("PopperContent");var Lu=O({inheritAttrs:!1,__name:"PopperContent",props:Dr({side:{type:null,required:!1},sideOffset:{type:Number,required:!1},sideFlip:{type:Boolean,required:!1},align:{type:null,required:!1},alignOffset:{type:Number,required:!1},alignFlip:{type:Boolean,required:!1},avoidCollisions:{type:Boolean,required:!1},collisionBoundary:{type:null,required:!1},collisionPadding:{type:[Number,Object],required:!1},arrowPadding:{type:Number,required:!1},sticky:{type:String,required:!1},hideWhenDetached:{type:Boolean,required:!1},positionStrategy:{type:String,required:!1},updatePositionStrategy:{type:String,required:!1},disableUpdateOnLayoutShift:{type:Boolean,required:!1},prioritizePosition:{type:Boolean,required:!1},reference:{type:null,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},{...cs}),emits:["placed"],setup(e,{emit:t}){const n=e,o=t,r=Zr(),{forwardRef:s,currentElement:a}=J(),i=T(),l=T(),{width:u,height:c}=hi(l),f=F(()=>n.side+(n.align!=="center"?`-${n.align}`:"")),p=F(()=>typeof n.collisionPadding=="number"?n.collisionPadding:{top:0,right:0,bottom:0,left:0,...n.collisionPadding}),h=F(()=>Array.isArray(n.collisionBoundary)?n.collisionBoundary:[n.collisionBoundary]),m=F(()=>({padding:p.value,boundary:h.value.filter(Bl),altBoundary:h.value.length>0})),g=F(()=>({mainAxis:n.sideFlip,crossAxis:n.alignFlip})),v=Wa(()=>[Ou({mainAxis:n.sideOffset+c.value,alignmentAxis:n.alignOffset}),n.prioritizePosition&&n.avoidCollisions&&Zo({...m.value,...g.value}),n.avoidCollisions&&Eu({mainAxis:!0,crossAxis:!!n.prioritizePosition,limiter:n.sticky==="partial"?Mu():void 0,...m.value}),!n.prioritizePosition&&n.avoidCollisions&&Zo({...m.value,...g.value}),Au({...m.value,apply:({elements:Y,rects:R,availableWidth:X,availableHeight:j})=>{const{width:ee,height:oe}=R.reference,L=Y.floating.style;L.setProperty("--reka-popper-available-width",`${X}px`),L.setProperty("--reka-popper-available-height",`${j}px`),L.setProperty("--reka-popper-anchor-width",`${ee}px`),L.setProperty("--reka-popper-anchor-height",`${oe}px`)}}),l.value&&Tu({element:l.value,padding:n.arrowPadding}),Il({arrowWidth:u.value,arrowHeight:c.value}),n.hideWhenDetached&&Du({strategy:"referenceHidden",...m.value})]),y=F(()=>n.reference??r.anchor.value),{floatingStyles:w,placement:x,isPositioned:S,middlewareData:D}=Ru(y,i,{strategy:n.positionStrategy,placement:f,whileElementsMounted:(...Y)=>ku(...Y,{layoutShift:!n.disableUpdateOnLayoutShift,animationFrame:n.updatePositionStrategy==="always"}),middleware:v}),z=F(()=>Yn(x.value)[0]),B=F(()=>Yn(x.value)[1]);Ar(()=>{S.value&&o("placed")});const M=F(()=>D.value.arrow?.centerOffset!==0),C=T("");qe(()=>{a.value&&(C.value=window.getComputedStyle(a.value).zIndex)});const V=F(()=>D.value.arrow?.x??0),W=F(()=>D.value.arrow?.y??0);return Fu({placedSide:z,onArrowChange:Y=>l.value=Y,arrowX:V,arrowY:W,shouldHideArrow:M}),(Y,R)=>(b(),Z("div",{ref_key:"floatingRef",ref:i,"data-reka-popper-content-wrapper":"",style:Or({...d(w),transform:d(S)?d(w).transform:"translate(0, -200%)",minWidth:"max-content",zIndex:C.value,"--reka-popper-transform-origin":[d(D).transformOrigin?.x,d(D).transformOrigin?.y].join(" "),...d(D).hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}})},[A(d(Q),N({ref:d(s)},Y.$attrs,{"as-child":n.asChild,as:Y.as,"data-side":z.value,"data-align":B.value,style:{animation:d(S)?void 0:"none"}}),{default:_(()=>[P(Y.$slots,"default")]),_:3},16,["as-child","as","data-side","data-align","style"])],4))}}),$u=Lu;function qu(e,t,n){return e===void 0?!1:Array.isArray(e)?e.some(o=>$t(o,t,n)):$t(e,t,n)}function $t(e,t,n){return e===void 0||t===void 0?!1:typeof e=="string"?e===t:typeof n=="function"?n(e,t):typeof n=="string"?e?.[n]===t?.[n]:Wn(e,t)}const[Do,zu]=be("ListboxRoot");var Nu=O({__name:"ListboxRoot",props:{modelValue:{type:null,required:!1},defaultValue:{type:null,required:!1},multiple:{type:Boolean,required:!1},orientation:{type:String,required:!1,default:"vertical"},dir:{type:String,required:!1},disabled:{type:Boolean,required:!1},selectionBehavior:{type:String,required:!1,default:"toggle"},highlightOnHover:{type:Boolean,required:!1},by:{type:[String,Function],required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1},name:{type:String,required:!1},required:{type:Boolean,required:!1}},emits:["update:modelValue","highlight","entryFocus","leave"],setup(e,{expose:t,emit:n}){const o=e,r=n,{multiple:s,highlightOnHover:a,orientation:i,disabled:l,selectionBehavior:u,dir:c}=tt(o),{getItems:f}=Ht({isProvider:!0}),{handleTypeaheadSearch:p}=qr(),{primitiveElement:h,currentElement:m}=Nt(),g=mi(),v=_n(c),y=ui(m),w=T(),x=T(!1),S=T(!0),D=ft(o,"modelValue",r,{defaultValue:o.defaultValue??(s.value?[]:void 0),passive:o.modelValue===void 0,deep:!0});function z(I){if(x.value=!0,o.multiple){const H=Array.isArray(D.value)?[...D.value]:[],G=H.findIndex(re=>$t(re,I,o.by));o.selectionBehavior==="toggle"?(G===-1?H.push(I):H.splice(G,1),D.value=H):(D.value=[I],w.value=I)}else o.selectionBehavior==="toggle"&&$t(D.value,I,o.by)?D.value=void 0:D.value=I;setTimeout(()=>{x.value=!1},1)}const B=T(null),M=T(null),C=T(!1),V=T(!1),W=An(),Y=An(),R=An();function X(){return f().map(I=>I.ref).filter(I=>I.dataset.disabled!=="")}function j(I,H=!0){if(!I)return;B.value=I,S.value&&B.value.focus(),H&&B.value.scrollIntoView({block:"nearest"});const G=f().find(re=>re.ref===I);r("highlight",G)}function ee(I){if(C.value)R.trigger(I);else{const H=f().find(G=>$t(G.value,I,o.by));H&&(B.value=H.ref,j(H.ref))}}function oe(I){B.value&&B.value.isConnected&&(I.preventDefault(),I.stopPropagation(),V.value||B.value.click())}function L(I){if(S.value){if(x.value=!0,C.value)Y.trigger(I);else{const H=I.altKey||I.ctrlKey||I.metaKey;if(H&&I.key==="a"&&s.value){const G=f(),re=G.map(Fe=>Fe.value);D.value=[...re],I.preventDefault(),j(G[G.length-1].ref)}else if(!H){const G=p(I.key,f());G&&j(G)}}setTimeout(()=>{x.value=!1},1)}}function Se(){V.value=!0}function ht(){le(()=>{V.value=!1})}function Bt(){le(()=>{const I=new KeyboardEvent("keydown",{key:"PageUp"});ve(I)})}function rt(I){const H=B.value;H?.isConnected&&(M.value=H),B.value=null,r("leave",I)}function fe(I){const H=new CustomEvent("listbox.entryFocus",{bubbles:!1,cancelable:!0});if(I.currentTarget?.dispatchEvent(H),r("entryFocus",H),!H.defaultPrevented)if(M.value)j(M.value);else{const G=X()?.[0];j(G)}}function ve(I){const H=vl(I,i.value,v.value);if(!H)return;let G=X();if(B.value){if(H==="last")G.reverse();else if(H==="prev"||H==="next"){H==="prev"&&G.reverse();const re=G.indexOf(B.value);G=G.slice(re+1)}gt(I,G[0])}if(G.length){const re=!B.value&&H==="prev"?G.length-1:0;j(G[re])}if(C.value)return Y.trigger(I)}function gt(I,H){if(!(C.value||o.selectionBehavior!=="replace"||!s.value||!Array.isArray(D.value)||(I.altKey||I.ctrlKey||I.metaKey)&&!I.shift
4Key)&&I.shiftKey){const re=f().filter(Tt=>Tt.ref.dataset.disabled!=="");let Fe=re.find(Tt=>Tt.ref===H)?.value;if(I.key===g.END?Fe=re[re.length-1].value:I.key===g.HOME&&(Fe=re[0].value),!Fe||!w.value)return;const vt=Va(re.map(Tt=>Tt.value),w.value,Fe);D.value=vt}}async function It(I){if(await le(),C.value)W.trigger(I);else{const H=X(),G=H.find(re=>re.dataset.state==="checked");G?j(G):H.length&&j(H[0])}}return se(D,()=>{x.value||le(()=>{It()})},{immediate:!0,deep:!0}),t({highlightedElement:B,highlightItem:ee,highlightFirstItem:Bt,highlightSelected:It,getItems:f}),zu({modelValue:D,onValueChange:z,multiple:s,orientation:i,dir:v,disabled:l,highlightOnHover:a,highlightedElement:B,isVirtual:C,virtualFocusHook:W,virtualKeydownHook:Y,virtualHighlightHook:R,by:o.by,firstValue:w,selectionBehavior:u,focusable:S,onLeave:rt,onEnter:fe,changeHighlight:j,onKeydownEnter:oe,onKeydownNavigation:ve,onKeydownTypeAhead:L,onCompositionStart:Se,onCompositionEnd:ht,highlightFirstItem:Bt}),(I,H)=>(b(),k(d(Q),{ref_key:"primitiveElement",ref:h,as:I.as,"as-child":I.asChild,dir:d(v),"data-disabled":d(l)?"":void 0,onPointerleave:rt,onFocusout:H[0]||(H[0]=async G=>{const re=G.relatedTarget||G.target;await le(),B.value&&d(m)&&!d(m).contains(re)&&rt(G)})},{default:_(()=>[P(I.$slots,"default",{modelValue:d(D)}),d(y)&&I.name?(b(),k(d(Ol),{key:0,name:I.name,value:d(D),disabled:d(l),required:I.required},null,8,["name","value","disabled","required"])):De("v-if",!0)]),_:3},8,["as","as-child","dir","data-disabled"]))}}),Vu=Nu,ju=O({__name:"ListboxContent",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(e){const{CollectionSlot:t}=Ht(),n=Do(),o=Tr(!1,10);return(r,s)=>(b(),k(d(t),null,{default:_(()=>[A(d(Q),{role:"listbox",as:r.as,"as-child":r.asChild,tabindex:d(n).focusable.value?d(n).highlightedElement.value?"-1":"0":void 0,"aria-orientation":d(n).orientation.value,"aria-multiselectable":!!d(n).multiple.value,"data-orientation":d(n).orientation.value,onMousedown:s[0]||(s[0]=gn(a=>o.value=!0,["left"])),onFocus:s[1]||(s[1]=a=>{d(o)||d(n).onEnter(a)}),onKeydown:[s[2]||(s[2]=Ot(a=>{d(n).orientation.value==="vertical"&&(a.key==="ArrowLeft"||a.key==="ArrowRight")||d(n).orientation.value==="horizontal"&&(a.key==="ArrowUp"||a.key==="ArrowDown")||(a.preventDefault(),d(n).focusable.value&&d(n).onKeydownNavigation(a))},["down","up","left","right","home","end"])),Ot(d(n).onKeydownEnter,["enter"]),d(n).onKeydownTypeAhead]},{default:_(()=>[P(r.$slots,"default")]),_:3},8,["as","as-child","tabindex","aria-orientation","aria-multiselectable","data-orientation","onKeydown"])]),_:3}))}}),Uu=ju,Wu=O({__name:"ListboxFilter",props:{modelValue:{type:String,required:!1},autoFocus:{type:Boolean,required:!1},disabled:{type:Boolean,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"input"}},emits:["update:modelValue"],setup(e,{emit:t}){const n=e,r=ft(n,"modelValue",t,{defaultValue:"",passive:n.modelValue===void 0}),s=Do(),{primitiveElement:a,currentElement:i}=Nt(),l=F(()=>n.disabled||s.disabled.value||!1),u=T();return xa(()=>u.value=s.highlightedElement.value?.id),Ie(()=>{s.focusable.value=!1,setTimeout(()=>{n.autoFocus&&i.value?.focus()},1)}),ct(()=>{s.focusable.value=!0}),(c,f)=>(b(),k(d(Q),{ref_key:"primitiveElement",ref:a,as:c.as,"as-child":c.asChild,value:d(r),disabled:l.value?"":void 0,"data-disabled":l.value?"":void 0,"aria-disabled":l.value??void 0,"aria-activedescendant":u.value,type:"text",onKeydown:[Ot(gn(d(s).onKeydownNavigation,["prevent"]),["down","up","home","end"]),Ot(d(s).onKeydownEnter,["enter"])],onInput:f[0]||(f[0]=p=>{r.value=p.target.value,d(s).highlightFirstItem()}),onCompositionstart:d(s).onCompositionStart,onCompositionend:d(s).onCompositionEnd},{default:_(()=>[P(c.$slots,"default",{modelValue:d(r)})]),_:3},8,["as","as-child","value","disabled","data-disabled","aria-disabled","aria-activedescendant","onKeydown","onCompositionstart","onCompositionend"]))}}),Hu=Wu;const[Ku,Gu]=be("ListboxGroup");var Yu=O({__name:"ListboxGroup",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(e){const t=e,n=ze(void 0,"reka-listbox-group");return Gu({id:n}),(o,r)=>(b(),k(d(Q),N({role:"group"},t,{"aria-labelledby":d(n)}),{default:_(()=>[P(o.$slots,"default")]),_:3},16,["aria-labelledby"]))}}),Xu=Yu,Ju=O({__name:"ListboxGroupLabel",props:{for:{type:String,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"div"}},setup(e){const t=e,n=Ku({id:""});return(o,r)=>(b(),k(d(Q),N(t,{id:d(n).id}),{default:_(()=>[P(o.$slots,"default")]),_:3},16,["id"]))}}),Qu=Ju;const Zu="listbox.select",[Am,ec]=be("ListboxItem");var tc=O({__name:"ListboxItem",props:{value:{type:null,required:!0},disabled:{type:Boolean,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"div"}},emits:["select"],setup(e,{emit:t}){const n=e,o=t,r=ze(void 0,"reka-listbox-item"),{CollectionItem:s}=Ht(),{forwardRef:a,currentElement:i}=J(),l=Do(),u=F(()=>i.value===l.highlightedElement.value),c=F(()=>qu(l.modelValue.value,n.value,l.by)),f=F(()=>l.disabled.value||n.disabled);async function p(m){o("select",m),!m?.defaultPrevented&&!f.value&&m&&(l.onValueChange(n.value),l.changeHighlight(i.value))}function h(m){const g={originalEvent:m,value:n.value};yo(Zu,p,g)}return ec({isSelected:c}),(m,g)=>(b(),k(d(s),{value:m.value},{default:_(()=>[Ca([u.value,c.value],()=>A(d(Q),N({id:d(r)},m.$attrs,{ref:d(a),role:"option",tabindex:d(l).focusable.value?u.value?"0":"-1":-1,"aria-selected":c.value,as:m.as,"as-child":m.asChild,disabled:f.value?"":void 0,"data-disabled":f.value?"":void 0,"data-highlighted":u.value?"":void 0,"data-state":c.value?"checked":"unchecked",onClick:h,onKeydown:Ot(gn(h,["prevent"]),["space"]),onPointermove:g[0]||(g[0]=v=>{d(l).highlightedElement.value!==d(i)&&(d(l).highlightOnHover.value?d(l).changeHighlight(d(i),!1):d(l).focusable.value||d(l).changeHighlight(d(i),!1))})}),{default:_(()=>[P(m.$slots,"default")]),_:3},16,["id","tabindex","aria-selected","as","as-child","disabled","data-disabled","data-highlighted","data-state","onKeydown"]),g,1)]),_:3},8,["value"]))}}),nc=tc,oc=O({__name:"MenuAnchor",props:{reference:{type:null,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(e){const t=e;return(n,o)=>(b(),k(d(Ml),Ae(Te(t)),{default:_(()=>[P(n.$slots,"default")]),_:3},16))}}),rc=oc;function sc(){const e=T(!1);return Ie(()=>{zt("keydown",()=>{e.value=!0},{capture:!0,passive:!0}),zt(["pointerdown","pointermove"],()=>{e.value=!1},{capture:!0,passive:!0})}),e}const ac=Ir(sc),[kn,ic]=be(["MenuRoot","MenuSub"],"MenuContext"),[Po,lc]=be("MenuRoot");var uc=O({__name:"MenuRoot",props:{open:{type:Boolean,required:!1,default:!1},dir:{type:String,required:!1},modal:{type:Boolean,required:!1,default:!0}},emits:["update:open"],setup(e,{emit:t}){const n=e,o=t,{modal:r,dir:s}=tt(n),a=_n(s),i=ft(n,"open",o),l=T(),u=ac();return ic({open:i,onOpenChange:c=>{i.value=c},content:l,onContentChange:c=>{l.value=c}}),lc({onClose:()=>{i.value=!1},isUsingKeyboardRef:u,dir:a,modal:r}),(c,f)=>(b(),k(d(Dl),null,{default:_(()=>[P(c.$slots,"default")]),_:3}))}}),cc=uc;const[ds,dc]=be("MenuContent");var fc=O({__name:"MenuContentImpl",props:Dr({loop:{type:Boolean,required:!1},disableOutsidePointerEvents:{type:Boolean,required:!1},disableOutsideScroll:{type:Boolean,required:!1},trapFocus:{type:Boolean,required:!1},side:{type:null,required:!1},sideOffset:{type:Number,required:!1},sideFlip:{type:Boolean,required:!1},align:{type:null,required:!1},alignOffset:{type:Number,required:!1},alignFlip:{type:Boolean,required:!1},avoidCollisions:{type:Boolean,required:!1},collisionBoundary:{type:null,required:!1},collisionPadding:{type:[Number,Object],required:!1},arrowPadding:{type:Number,required:!1},sticky:{type:String,required:!1},hideWhenDetached:{type:Boolean,required:!1},positionStrategy:{type:String,required:!1},updatePositionStrategy:{type:String,required:!1},disableUpdateOnLayoutShift:{type:Boolean,required:!1},prioritizePosition:{type:Boolean,required:!1},reference:{type:null,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},{...cs}),emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","entryFocus","openAutoFocus","closeAutoFocus","dismiss"],setup(e,{emit:t}){const n=e,o=t,r=kn(),s=Po(),{trapFocus:a,disableOutsidePointerEvents:i,loop:l}=tt(n);li(),Rr(i.value);const u=T(""),c=T(0),f=T(0),p=T(null),h=T("right"),m=T(0),g=T(null),v=T(),{forwardRef:y,currentElement:w}=J(),{handleTypeaheadSearch:x}=qr();se(w,C=>{r.onContentChange(C)}),ct(()=>{window.clearTimeout(c.value)});function S(C){return h.value===p.value?.side&&Yi(C,p.value?.area)}async function D(C){o("openAutoFocus",C),!C.defaultPrevented&&(C.preventDefault(),w.value?.focus({preventScroll:!0}))}function z(C){if(C.defaultPrevented)return;const W=C.target.closest("[data-reka-menu-content]")===C.currentTarget,Y=C.ctrlKey||C.altKey||C.metaKey,R=C.key.length===1,X=Ua(C,_e(),w.value,{loop:l.value,arrowKeyOptions:"vertical",dir:s?.dir.value,focus:!0,attributeName:"[data-reka-collection-item]:not([data-disabled])"});
4if(X)return X?.focus();if(C.code==="Space")return;const j=v.value?.getItems()??[];if(W&&(C.key==="Tab"&&C.preventDefault(),!Y&&R&&x(C.key,j)),C.target!==w.value||!Hi.includes(C.key))return;C.preventDefault();const ee=[...j.map(oe=>oe.ref)];Hr.includes(C.key)&&ee.reverse(),Ki(ee)}function B(C){C?.currentTarget?.contains?.(C.target)||(window.clearTimeout(c.value),u.value="")}function M(C){if(!Gn(C))return;const V=C.target,W=m.value!==C.clientX;if(C?.currentTarget?.contains(V)&&W){const Y=C.clientX>m.value?"right":"left";h.value=Y,m.value=C.clientX}}return dc({onItemEnter:C=>!!S(C),onItemLeave:C=>{S(C)||(w.value?.focus(),g.value=null)},onTriggerLeave:C=>!!S(C),searchRef:u,pointerGraceTimerRef:f,onPointerGraceIntentChange:C=>{p.value=C}}),(C,V)=>(b(),k(d(Wr),{"as-child":"",trapped:d(a),onMountAutoFocus:D,onUnmountAutoFocus:V[7]||(V[7]=W=>o("closeAutoFocus",W))},{default:_(()=>[A(d(jr),{"as-child":"","disable-outside-pointer-events":d(i),onEscapeKeyDown:V[2]||(V[2]=W=>o("escapeKeyDown",W)),onPointerDownOutside:V[3]||(V[3]=W=>o("pointerDownOutside",W)),onFocusOutside:V[4]||(V[4]=W=>o("focusOutside",W)),onInteractOutside:V[5]||(V[5]=W=>o("interactOutside",W)),onDismiss:V[6]||(V[6]=W=>o("dismiss"))},{default:_(()=>[A(d(wl),{ref_key:"rovingFocusGroupRef",ref:v,"current-tab-stop-id":g.value,"onUpdate:currentTabStopId":V[0]||(V[0]=W=>g.value=W),"as-child":"",orientation:"vertical",dir:d(s).dir.value,loop:d(l),onEntryFocus:V[1]||(V[1]=W=>{o("entryFocus",W),d(s).isUsingKeyboardRef.value||W.preventDefault()})},{default:_(()=>[A(d($u),{ref:d(y),role:"menu",as:C.as,"as-child":C.asChild,"aria-orientation":"vertical","data-reka-menu-content":"","data-state":d(Kr)(d(r).open.value),dir:d(s).dir.value,side:C.side,"side-offset":C.sideOffset,align:C.align,"align-offset":C.alignOffset,"avoid-collisions":C.avoidCollisions,"collision-boundary":C.collisionBoundary,"collision-padding":C.collisionPadding,"arrow-padding":C.arrowPadding,"prioritize-position":C.prioritizePosition,"position-strategy":C.positionStrategy,"update-position-strategy":C.updatePositionStrategy,sticky:C.sticky,"hide-when-detached":C.hideWhenDetached,reference:C.reference,onKeydown:z,onBlur:B,onPointermove:M},{default:_(()=>[P(C.$slots,"default")]),_:3},8,["as","as-child","data-state","dir","side","side-offset","align","align-offset","avoid-collisions","collision-boundary","collision-padding","arrow-padding","prioritize-position","position-strategy","update-position-strategy","sticky","hide-when-detached","reference"])]),_:3},8,["current-tab-stop-id","dir","loop"])]),_:3},8,["disable-outside-pointer-events"])]),_:3},8,["trapped"]))}}),fs=fc,pc=O({inheritAttrs:!1,__name:"MenuItemImpl",props:{disabled:{type:Boolean,required:!1},textValue:{type:String,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(e){const t=e,n=ds(),{forwardRef:o}=J(),{CollectionItem:r}=Ht(),s=T(!1);async function a(l){l.defaultPrevented||Gn(l)&&(t.disabled?n.onItemLeave(l):n.onItemEnter(l)||l.currentTarget?.focus({preventScroll:!0}))}async function i(l){await le(),!l.defaultPrevented&&Gn(l)&&n.onItemLeave(l)}return(l,u)=>(b(),k(d(r),{value:{textValue:l.textValue}},{default:_(()=>[A(d(Q),N({ref:d(o),role:"menuitem",tabindex:"-1"},l.$attrs,{as:l.as,"as-child":l.asChild,"aria-disabled":l.disabled||void 0,"data-disabled":l.disabled?"":void 0,"data-highlighted":s.value?"":void 0,onPointermove:a,onPointerleave:i,onFocus:u[0]||(u[0]=async c=>{await le(),!(c.defaultPrevented||l.disabled)&&(s.value=!0)}),onBlur:u[1]||(u[1]=async c=>{await le(),!c.defaultPrevented&&(s.value=!1)})}),{default:_(()=>[P(l.$slots,"default")]),_:3},16,["as","as-child","aria-disabled","data-disabled","data-highlighted"])]),_:3},8,["value"]))}}),mc=pc,hc=O({__name:"MenuItem",props:{disabled:{type:Boolean,required:!1},textValue:{type:String,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:["select"],setup(e,{emit:t}){const n=e,o=t,{forwardRef:r,currentElement:s}=J(),a=Po(),i=ds(),l=T(!1);async function u(){const c=s.value;if(!n.disabled&&c){const f=new CustomEvent(Ui,{bubbles:!0,cancelable:!0});o("select",f),await le(),f.defaultPrevented?l.value=!1:a.onClose()}}return(c,f)=>(b(),k(mc,N(n,{ref:d(r),onClick:u,onPointerdown:f[0]||(f[0]=()=>{l.value=!0}),onPointerup:f[1]||(f[1]=async p=>{await le(),!p.defaultPrevented&&(l.value||p.currentTarget?.click())}),onKeydown:f[2]||(f[2]=async p=>{const h=d(i).searchRef.value!=="";c.disabled||h&&p.key===" "||d(Kn).includes(p.key)&&(p.currentTarget.click(),p.preventDefault())})}),{default:_(()=>[P(c.$slots,"default")]),_:3},16))}}),gc=hc,vc=O({__name:"MenuRootContentModal",props:{loop:{type:Boolean,required:!1},side:{type:null,required:!1},sideOffset:{type:Number,required:!1},sideFlip:{type:Boolean,required:!1},align:{type:null,required:!1},alignOffset:{type:Number,required:!1},alignFlip:{type:Boolean,required:!1},avoidCollisions:{type:Boolean,required:!1},collisionBoundary:{type:null,required:!1},collisionPadding:{type:[Number,Object],required:!1},arrowPadding:{type:Number,required:!1},sticky:{type:String,required:!1},hideWhenDetached:{type:Boolean,required:!1},positionStrategy:{type:String,required:!1},updatePositionStrategy:{type:String,required:!1},disableUpdateOnLayoutShift:{type:Boolean,required:!1},prioritizePosition:{type:Boolean,required:!1},reference:{type:null,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","entryFocus","openAutoFocus","closeAutoFocus"],setup(e,{emit:t}){const n=e,o=t,r=xe(n,o),s=kn(),{forwardRef:a,currentElement:i}=J();return $r(i),(l,u)=>(b(),k(fs,N(d(r),{ref:d(a),"trap-focus":d(s).open.value,"disable-outside-pointer-events":d(s).open.value,"disable-outside-scroll":!0,onDismiss:u[0]||(u[0]=c=>d(s).onOpenChange(!1)),onFocusOutside:u[1]||(u[1]=gn(c=>o("focusOutside",c),["prevent"]))}),{default:_(()=>[P(l.$slots,"default")]),_:3},16,["trap-focus","disable-outside-pointer-events"]))}}),yc=vc,_c=O({__name:"MenuRootContentNonModal",props:{loop:{type:Boolean,required:!1},side:{type:null,required:!1},sideOffset:{type:Number,required:!1},sideFlip:{type:Boolean,required:!1},align:{type:null,required:!1},alignOffset:{type:Number,required:!1},alignFlip:{type:Boolean,required:!1},avoidCollisions:{type:Boolean,required:!1},collisionBoundary:{type:null,required:!1},collisionPadding:{type:[Number,Object],required:!1},arrowPadding:{type:Number,required:!1},sticky:{type:String,required:!1},hideWhenDetached:{type:Boolean,required:!1},positionStrategy:{type:String,required:!1},updatePositionStrategy:{type:String,required:!1},disableUpdateOnLayoutShift:{type:Boolean,required:!1},prioritizePosition:{type:Boolean,required:!1},reference:{type:null,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","entryFocus","openAutoFocus","closeAutoFocus"],setup(e,{emit:t}){const r=xe(e,t),s=kn();return(a,i)=>(b(),k(fs,N(d(r),{"trap-focus":!1,"disable-outside-pointer-events":!1,"disable-outside-scroll":!1,onDismiss:i[0]||(i[0]=l=>d(s).onOpenChange(!1))}),{default:_(()=>[P(a.$slots,"default")]),_:3},16))}}),bc=_c,wc=O({__name:"MenuContent",props:{forceMount:{type:Boolean,required:!1},loop:{type:Boolean,required:!1},side:{type:null,required:!1},sideOffset:{type:Number,required:!1},sideFlip:{type:Boolean,required:!1},align:{type:null,required:!1},alignOffset:{type:Number,required:!1},alignFlip:{type:Boolean,required:!1},avoidCollisions:{type:Boolean,required:!1},collisionBoundary:{type:null,required:!1},collisionPadding:{type:[Number,Object],required:!1},arrowPadding:{type:Number,required:!1},sticky:{type:String,required:!1},hideWhenDetached:{type:Boolean,required:!1},positionStrategy:{type:String,required:!1},updatePositionStrategy:{type:String,required:!1},disableUpdateOnLayoutShift:{type:Boolean,required:!1},prioritizePosition:{type:Boolean,required:!1},reference:{type:null,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","entryFocus","openAutoFocus","closeAutoFocus"],setup(e,{emit:t}){const r=xe(e,t),s=kn(),a=Po();return(i,l)=>(b(),k(d(bn),{present:i.forceMount||d(s).open.value},{default:_(()=>[d(a).modal.value?(b(),k(yc,Ae(N({key:0},{...i.$attrs,...d(r)})),{default:_(()=>[P(i.$slots,"default")]),_:3},16)):(b(),k(bc,Ae(N({key:1},{...i.$attrs,...d(r)})),{default:_(()=>[P(i.$slots,"default")]),_:3},16))]),_:3},8,["present"]))}}),xc=wc,Cc=O({__name:"MenuGroup",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(e){const t=e;return(n,o)=>(b(),k(d(Q),N({role:"group"},t),{default:_(()=>[P(n.$slots,"default")]),_:3},16))}}
4),Sc=Cc,kc=O({__name:"MenuLabel",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"div"}},setup(e){const t=e;return(n,o)=>(b(),k(d(Q),Ae(Te(t)),{default:_(()=>[P(n.$slots,"default")]),_:3},16))}}),Oc=kc,Ec=O({__name:"MenuPortal",props:{to:{type:null,required:!1},disabled:{type:Boolean,required:!1},defer:{type:Boolean,required:!1},forceMount:{type:Boolean,required:!1}},setup(e){const t=e;return(n,o)=>(b(),k(d(Jr),Ae(Te(t)),{default:_(()=>[P(n.$slots,"default")]),_:3},16))}}),Ac=Ec,Dc=O({__name:"MenuSeparator",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(e){const t=e;return(n,o)=>(b(),k(d(Q),N(t,{role:"separator","aria-orientation":"horizontal"}),{default:_(()=>[P(n.$slots,"default")]),_:3},16))}}),Pc=Dc;const[ps,Mc]=be("DropdownMenuRoot");var Bc=O({__name:"DropdownMenuRoot",props:{defaultOpen:{type:Boolean,required:!1},open:{type:Boolean,required:!1,default:void 0},dir:{type:String,required:!1},modal:{type:Boolean,required:!1,default:!0}},emits:["update:open"],setup(e,{emit:t}){const n=e,o=t;J();const r=ft(n,"open",o,{defaultValue:n.defaultOpen,passive:n.open===void 0}),s=T(),{modal:a,dir:i}=tt(n),l=_n(i);return Mc({open:r,onOpenChange:u=>{r.value=u},onOpenToggle:()=>{r.value=!r.value},triggerId:"",triggerElement:s,contentId:"",modal:a,dir:l}),(u,c)=>(b(),k(d(cc),{open:d(r),"onUpdate:open":c[0]||(c[0]=f=>rn(r)?r.value=f:null),dir:d(l),modal:d(a)},{default:_(()=>[P(u.$slots,"default",{open:d(r)})]),_:3},8,["open","dir","modal"]))}}),Ic=Bc,Tc=O({__name:"DropdownMenuContent",props:{forceMount:{type:Boolean,required:!1},loop:{type:Boolean,required:!1},side:{type:null,required:!1},sideOffset:{type:Number,required:!1},sideFlip:{type:Boolean,required:!1},align:{type:null,required:!1},alignOffset:{type:Number,required:!1},alignFlip:{type:Boolean,required:!1},avoidCollisions:{type:Boolean,required:!1},collisionBoundary:{type:null,required:!1},collisionPadding:{type:[Number,Object],required:!1},arrowPadding:{type:Number,required:!1},sticky:{type:String,required:!1},hideWhenDetached:{type:Boolean,required:!1},positionStrategy:{type:String,required:!1},updatePositionStrategy:{type:String,required:!1},disableUpdateOnLayoutShift:{type:Boolean,required:!1},prioritizePosition:{type:Boolean,required:!1},reference:{type:null,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","closeAutoFocus"],setup(e,{emit:t}){const r=xe(e,t);J();const s=ps(),a=T(!1);function i(l){l.defaultPrevented||(a.value||setTimeout(()=>{s.triggerElement.value?.focus()},0),a.value=!1,l.preventDefault())}return s.contentId||=ze(void 0,"reka-dropdown-menu-content"),(l,u)=>(b(),k(d(xc),N(d(r),{id:d(s).contentId,"aria-labelledby":d(s)?.triggerId,style:{"--reka-dropdown-menu-content-transform-origin":"var(--reka-popper-transform-origin)","--reka-dropdown-menu-content-available-width":"var(--reka-popper-available-width)","--reka-dropdown-menu-content-available-height":"var(--reka-popper-available-height)","--reka-dropdown-menu-trigger-width":"var(--reka-popper-anchor-width)","--reka-dropdown-menu-trigger-height":"var(--reka-popper-anchor-height)"},onCloseAutoFocus:i,onInteractOutside:u[0]||(u[0]=c=>{if(c.defaultPrevented)return;const f=c.detail.originalEvent,p=f.button===0&&f.ctrlKey===!0,h=f.button===2||p;(!d(s).modal.value||h)&&(a.value=!0),d(s).triggerElement.value?.contains(c.target)&&c.preventDefault()})}),{default:_(()=>[P(l.$slots,"default")]),_:3},16,["id","aria-labelledby"]))}}),Rc=Tc,Fc=O({__name:"DropdownMenuGroup",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(e){const t=e;return J(),(n,o)=>(b(),k(d(Sc),Ae(Te(t)),{default:_(()=>[P(n.$slots,"default")]),_:3},16))}}),Lc=Fc,$c=O({__name:"DropdownMenuItem",props:{disabled:{type:Boolean,required:!1},textValue:{type:String,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:["select"],setup(e,{emit:t}){const n=e,r=Wt(t);return J(),(s,a)=>(b(),k(d(gc),Ae(Te({...n,...d(r)})),{default:_(()=>[P(s.$slots,"default")]),_:3},16))}}),qc=$c,zc=O({__name:"DropdownMenuLabel",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(e){const t=e;return J(),(n,o)=>(b(),k(d(Oc),Ae(Te(t)),{default:_(()=>[P(n.$slots,"default")]),_:3},16))}}),Nc=zc,Vc=O({__name:"DropdownMenuPortal",props:{to:{type:null,required:!1},disabled:{type:Boolean,required:!1},defer:{type:Boolean,required:!1},forceMount:{type:Boolean,required:!1}},setup(e){const t=e;return(n,o)=>(b(),k(d(Ac),Ae(Te(t)),{default:_(()=>[P(n.$slots,"default")]),_:3},16))}}),jc=Vc,Uc=O({__name:"DropdownMenuSeparator",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(e){const t=e;return J(),(n,o)=>(b(),k(d(Pc),Ae(Te(t)),{default:_(()=>[P(n.$slots,"default")]),_:3},16))}}),Wc=Uc,Hc=O({__name:"DropdownMenuTrigger",props:{disabled:{type:Boolean,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"button"}},setup(e){const t=e,n=ps(),{forwardRef:o,currentElement:r}=J();return Ie(()=>{n.triggerElement=r}),n.triggerId||=ze(void 0,"reka-dropdown-menu-trigger"),(s,a)=>(b(),k(d(rc),{"as-child":""},{default:_(()=>[A(d(Q),{id:d(n).triggerId,ref:d(o),type:s.as==="button"?"button":void 0,"as-child":t.asChild,as:s.as,"aria-haspopup":"menu","aria-expanded":d(n).open.value,"aria-controls":d(n).open.value?d(n).contentId:void 0,"data-disabled":s.disabled?"":void 0,disabled:s.disabled,"data-state":d(n).open.value?"open":"closed",onClick:a[0]||(a[0]=async i=>{!s.disabled&&i.button===0&&i.ctrlKey===!1&&(d(n)?.onOpenToggle(),await le(),d(n).open.value&&i.preventDefault())}),onKeydown:a[1]||(a[1]=Ot(i=>{s.disabled||(["Enter"," "].includes(i.key)&&d(n).onOpenToggle(),i.key==="ArrowDown"&&d(n).onOpenChange(!0),["Enter"," ","ArrowDown"].includes(i.key)&&i.preventDefault())},["enter","space","arrow-down"]))},{default:_(()=>[P(s.$slots,"default")]),_:3},8,["id","type","as-child","as","aria-expanded","aria-controls","data-disabled","disabled","data-state"])]),_:3}))}}),Kc=Hc,Gc=O({__name:"BaseSeparator",props:{orientation:{type:String,required:!1,default:"horizontal"},decorative:{type:Boolean,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(e){const t=e,n=["horizontal","vertical"];function o(i){return n.includes(i)}const r=F(()=>o(t.orientation)?t.orientation:"horizontal"),s=F(()=>r.value==="vertical"?t.orientation:void 0),a=F(()=>t.decorative?{role:"none"}:{"aria-orientation":s.value,role:"separator"});return(i,l)=>(b(),k(d(Q),N({as:i.as,"as-child":i.asChild,"data-orientation":r.value},a.value),{default:_(()=>[P(i.$slots,"default")]),_:3},16,["as","as-child","data-orientation"]))}}
vendor: 9,974 bytes, line 4
4),Yc=Gc,Xc=O({__name:"Separator",props:{orientation:{type:String,required:!1,default:"horizontal"},decorative:{type:Boolean,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(e){const t=e;return(n,o)=>(b(),k(Yc,Ae(Te(t)),{default:_(()=>[P(n.$slots,"default")]),_:3},16))}}),Jc=Xc;function ms(e){var t,n,o="";if(typeof e=="string"||typeof e=="number")o+=e;else if(typeof e=="object")if(Array.isArray(e)){var r=e.length;for(t=0;t<r;t++)e[t]&&(n=ms(e[t]))&&(o&&(o+=" "),o+=n)}else for(n in e)e[n]&&(o&&(o+=" "),o+=n);return o}function hs(){for(var e,t,n=0,o="",r=arguments.length;n<r;n++)(e=arguments[n])&&(t=ms(e))&&(o&&(o+=" "),o+=t);return o}const tr=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,nr=hs,Qc=(e,t)=>n=>{var o;if(t?.variants==null)return nr(e,n?.class,n?.className);const{variants:r,defaultVariants:s}=t,a=Object.keys(r).map(u=>{const c=n?.[u],f=s?.[u];if(c===null)return null;const p=tr(c)||tr(f);return r[u][p]}),i=n&&Object.entries(n).reduce((u,c)=>{let[f,p]=c;return p===void 0||(u[f]=p),u},{}),l=t==null||(o=t.compoundVariants)===null||o===void 0?void 0:o.reduce((u,c)=>{let{class:f,className:p,...h}=c;return Object.entries(h).every(m=>{let[g,v]=m;return Array.isArray(v)?v.includes({...s,...i}[g]):{...s,...i}[g]===v})?[...u,f,p]:u},[]);return nr(e,a,l,n?.class,n?.className)},Mo="-",Zc=e=>{const t=td(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:o}=e;return{getClassGroupId:a=>{const i=a.split(Mo);return i[0]===""&&i.length!==1&&i.shift(),gs(i,t)||ed(a)},getConflictingClassGroupIds:(a,i)=>{const l=n[a]||[];return i&&o[a]?[...l,...o[a]]:l}}},gs=(e,t)=>{if(e.length===0)return t.classGroupId;const n=e[0],o=t.nextPart.get(n),r=o?gs(e.slice(1),o):void 0;if(r)return r;if(t.validators.length===0)return;const s=e.join(Mo);return t.validators.find(({validator:a})=>a(s))?.classGroupId},or=/^\[(.+)\]$/,ed=e=>{if(or.test(e)){const t=or.exec(e)[1],n=t?.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},td=e=>{const{theme:t,classGroups:n}=e,o={nextPart:new Map,validators:[]};for(const r in n)eo(n[r],o,r,t);return o},eo=(e,t,n,o)=>{e.forEach(r=>{if(typeof r=="string"){const s=r===""?t:rr(t,r);s.classGroupId=n;return}if(typeof r=="function"){if(nd(r)){eo(r(o),t,n,o);return}t.validators.push({validator:r,classGroupId:n});return}Object.entries(r).forEach(([s,a])=>{eo(a,rr(t,s),n,o)})})},rr=(e,t)=>{let n=e;return t.split(Mo).forEach(o=>{n.nextPart.has(o)||n.nextPart.set(o,{nextPart:new Map,validators:[]}),n=n.nextPart.get(o)}),n},nd=e=>e.isThemeGetter,od=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,o=new Map;const r=(s,a)=>{n.set(s,a),t++,t>e&&(t=0,o=n,n=new Map)};return{get(s){let a=n.get(s);if(a!==void 0)return a;if((a=o.get(s))!==void 0)return r(s,a),a},set(s,a){n.has(s)?n.set(s,a):r(s,a)}}},to="!",no=":",rd=no.length,sd=e=>{const{prefix:t,experimentalParseClassName:n}=e;let o=r=>{const s=[];let a=0,i=0,l=0,u;for(let m=0;m<r.length;m++){let g=r[m];if(a===0&&i===0){if(g===no){s.push(r.slice(l,m)),l=m+rd;continue}if(g==="/"){u=m;continue}}g==="["?a++:g==="]"?a--:g==="("?i++:g===")"&&i--}const c=s.length===0?r:r.substring(l),f=ad(c),p=f!==c,h=u&&u>l?u-l:void 0;return{modifiers:s,hasImportantModifier:p,baseClassName:f,maybePostfixModifierPosition:h}};if(t){const r=t+no,s=o;o=a=>a.startsWith(r)?s(a.substring(r.length)):{isExternal:!0,modifiers:[],hasImportantModifier:!1,baseClassName:a,maybePostfixModifierPosition:void 0}}if(n){const r=o;o=s=>n({className:s,parseClassName:r})}return o},ad=e=>e.endsWith(to)?e.substring(0,e.length-1):e.startsWith(to)?e.substring(1):e,id=e=>{const t=Object.fromEntries(e.orderSensitiveModifiers.map(o=>[o,!0]));return o=>{if(o.length<=1)return o;const r=[];let s=[];return o.forEach(a=>{a[0]==="["||t[a]?(r.push(...s.sort(),a),s=[]):s.push(a)}),r.push(...s.sort()),r}},ld=e=>({cache:od(e.cacheSize),parseClassName:sd(e),sortModifiers:id(e),...Zc(e)}),ud=/\s+/,cd=(e,t)=>{const{parseClassName:n,getClassGroupId:o,getConflictingClassGroupIds:r,sortModifiers:s}=t,a=[],i=e.trim().split(ud);let l="";for(let u=i.length-1;u>=0;u-=1){const c=i[u],{isExternal:f,modifiers:p,hasImportantModifier:h,baseClassName:m,maybePostfixModifierPosition:g}=n(c);if(f){l=c+(l.length>0?" "+l:l);continue}let v=!!g,y=o(v?m.substring(0,g):m);if(!y){if(!v){l=c+(l.length>0?" "+l:l);continue}if(y=o(m),!y){l=c+(l.length>0?" "+l:l);continue}v=!1}const w=s(p).join(":"),x=h?w+to:w,S=x+y;if(a.includes(S))continue;a.push(S);const D=r(y,v);for(let z=0;z<D.length;++z){const B=D[z];a.push(x+B)}l=c+(l.length>0?" "+l:l)}return l};function dd(){let e=0,t,n,o="";for(;e<arguments.length;)(t=arguments[e++])&&(n=vs(t))&&(o&&(o+=" "),o+=n);return o}const vs=e=>{if(typeof e=="string")return e;let t,n="";for(let o=0;o<e.length;o++)e[o]&&(t=vs(e[o]))&&(n&&(n+=" "),n+=t);return n};function fd(e,...t){let n,o,r,s=a;function a(l){const u=t.reduce((c,f)=>f(c),e());return n=ld(u),o=n.cache.get,r=n.cache.set,s=i,i(l)}function i(l){const u=o(l);if(u)return u;const c=cd(l,n);return r(l,c),c}return function(){return s(dd.apply(null,arguments))}}const ue=e=>{const t=n=>n[e]||[];return t.isThemeGetter=!0,t},ys=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,_s=/^\((?:(\w[\w-]*):)?(.+)\)$/i,pd=/^\d+\/\d+$/,md=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,hd=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,gd=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,vd=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,yd=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,bt=e=>pd.test(e),K=e=>!!e&&!Number.isNaN(Number(e)),Xe=e=>!!e&&Number.isInteger(Number(e)),Rn=e=>e.endsWith("%")&&K(e.slice(0,-1)),We=e=>md.test(e),_d=()=>!0,bd=e=>hd.test(e)&&!gd.test(e),bs=()=>!1,wd=e=>vd.test(e),xd=e=>yd.test(e),Cd=e=>!$(e)&&!q(e),Sd=e=>Dt(e,Cs,bs),$=e=>ys.test(e),it=e=>Dt(e,Ss,bd),Fn=e=>Dt(e,Dd,K),sr=e=>Dt(e,ws,bs),kd=e=>Dt(e,xs,xd),Zt=e=>Dt(e,ks,wd),q=e=>_s.test(e),Rt=e=>Pt(e,Ss),Od=e=>Pt(e,Pd),ar=e=>Pt(e,ws),Ed=e=>Pt(e,Cs),Ad=e=>Pt(e,xs),en=e=>Pt(e,ks,!0),Dt=(e,t,n)=>{const o=ys.exec(e);return o?o[1]?t(o[1]):n(o[2]):!1},Pt=(e,t,n=!1)=>{const o=_s.exec(e);return o?o[1]?t(o[1]):n:!1},ws=e=>e==="position"||e==="percentage",xs=e=>e==="image"||e==="url",Cs=e=>e==="length"||e==="size"||e==="bg-size",Ss=e=>e==="length",Dd=e=>e==="number",Pd=e=>e==="family-name",ks=e=>e==="shadow",Md=()=>{const e=ue("color"),t=ue("font"),n=ue("text"),o=ue("font-weight"),r=ue("tracking"),s=ue("leading"),a=ue("breakpoint"),i=ue("container"),l=ue("spacing"),u=ue("radius"),c=ue("shadow"),f=ue("inset-shadow"),p=ue("text-shadow"),h=ue("drop-shadow"),m=ue("blur"),g=ue("perspective"),v=ue("aspect"),y=ue("ease"),w=ue("animate"),x=()=>["auto","avoid","all","avoid-page","page","left","right","column"],S=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],D=()=>[...S(),q,$],z=()=>["auto","hidden","clip","visible","scroll"],B=()=>["auto","contain","none"],M=()=>[q,$,l],C=()=>[bt,"full","auto",...M()],V=()=>[Xe,"none","subgrid",q,$],W=()=>["auto",{span:["full",Xe,q,$]},Xe,q,$],Y=()=>[Xe,"auto",q,$],R=()=>["auto","min","max","fr",q,$],X=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],j=()=>["start","end","center","stretch","center-safe","end-safe"],ee=()=>["auto",...M()],oe=()=>[bt,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...M()],L=()=>[e,q,$],Se=()=>[...S(),ar,sr,{position:[q,$]}],ht=()=>["no-repeat",{repeat:["","x","y","space","round"]}],Bt=()=>["auto","cover","contain",Ed,Sd,{size:[q,$]}],rt=()=>[Rn,Rt,it],fe=()=>["","none","full",u,q,$],ve=()=>["",K,Rt,it],gt=()=>["solid","dashed","dotted","double"],It=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],I=()=>[K,Rn,ar,sr],H=()=>["","none",m,q,$],G=()=>["none",K,q,$],re=()=>["none",K,q,$],Fe=()=>[K,q,$],vt=()=>[bt,"full",...M()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[We],breakpoint:[We],color:[_d],container:[We],"drop-shadow":[We],ease:["in","out","in-out"],font:[Cd],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[We],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[We],shadow:[We],spacing:["px",K],text:[We],"text-shadow":[We],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",bt,$,q,v]}],container:["container"],columns:[{columns:[K,$,q,i]}],"break-after":[{"break-after":x()}],"break-before":[{"break-before":x()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:D()}],overflow:[{overflow:z()}],"overflow-x":[{"overflow-x":z()}],"overflow-y":[{"overflow-y":z()}],overscroll:[{overscroll:B()}],"overscroll-x":[{"overscroll-x":B()}],"overscroll-y":[{"overscroll-y":B()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:C()}],"inset-x":[{"inset-x":C()}],"inset-y":[{"inset-y":C()}],start:[{start:C()}],end:[{end:C()}],top:[{top:C()}
vendor: 12,957 bytes, line 4
4],right:[{right:C()}],bottom:[{bottom:C()}],left:[{left:C()}],visibility:["visible","invisible","collapse"],z:[{z:[Xe,"auto",q,$]}],basis:[{basis:[bt,"full","auto",i,...M()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[K,bt,"auto","initial","none",$]}],grow:[{grow:["",K,q,$]}],shrink:[{shrink:["",K,q,$]}],order:[{order:[Xe,"first","last","none",q,$]}],"grid-cols":[{"grid-cols":V()}],"col-start-end":[{col:W()}],"col-start":[{"col-start":Y()}],"col-end":[{"col-end":Y()}],"grid-rows":[{"grid-rows":V()}],"row-start-end":[{row:W()}],"row-start":[{"row-start":Y()}],"row-end":[{"row-end":Y()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":R()}],"auto-rows":[{"auto-rows":R()}],gap:[{gap:M()}],"gap-x":[{"gap-x":M()}],"gap-y":[{"gap-y":M()}],"justify-content":[{justify:[...X(),"normal"]}],"justify-items":[{"justify-items":[...j(),"normal"]}],"justify-self":[{"justify-self":["auto",...j()]}],"align-content":[{content:["normal",...X()]}],"align-items":[{items:[...j(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...j(),{baseline:["","last"]}]}],"place-content":[{"place-content":X()}],"place-items":[{"place-items":[...j(),"baseline"]}],"place-self":[{"place-self":["auto",...j()]}],p:[{p:M()}],px:[{px:M()}],py:[{py:M()}],ps:[{ps:M()}],pe:[{pe:M()}],pt:[{pt:M()}],pr:[{pr:M()}],pb:[{pb:M()}],pl:[{pl:M()}],m:[{m:ee()}],mx:[{mx:ee()}],my:[{my:ee()}],ms:[{ms:ee()}],me:[{me:ee()}],mt:[{mt:ee()}],mr:[{mr:ee()}],mb:[{mb:ee()}],ml:[{ml:ee()}],"space-x":[{"space-x":M()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":M()}],"space-y-reverse":["space-y-reverse"],size:[{size:oe()}],w:[{w:[i,"screen",...oe()]}],"min-w":[{"min-w":[i,"screen","none",...oe()]}],"max-w":[{"max-w":[i,"screen","none","prose",{screen:[a]},...oe()]}],h:[{h:["screen","lh",...oe()]}],"min-h":[{"min-h":["screen","lh","none",...oe()]}],"max-h":[{"max-h":["screen","lh",...oe()]}],"font-size":[{text:["base",n,Rt,it]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[o,q,Fn]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",Rn,$]}],"font-family":[{font:[Od,$,t]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[r,q,$]}],"line-clamp":[{"line-clamp":[K,"none",q,Fn]}],leading:[{leading:[s,...M()]}],"list-image":[{"list-image":["none",q,$]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",q,$]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:L()}],"text-color":[{text:L()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...gt(),"wavy"]}],"text-decoration-thickness":[{decoration:[K,"from-font","auto",q,it]}],"text-decoration-color":[{decoration:L()}],"underline-offset":[{"underline-offset":[K,"auto",q,$]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:M()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",q,$]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",q,$]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:Se()}],"bg-repeat":[{bg:ht()}],"bg-size":[{bg:Bt()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},Xe,q,$],radial:["",q,$],conic:[Xe,q,$]},Ad,kd]}],"bg-color":[{bg:L()}],"gradient-from-pos":[{from:rt()}],"gradient-via-pos":[{via:rt()}],"gradient-to-pos":[{to:rt()}],"gradient-from":[{from:L()}],"gradient-via":[{via:L()}],"gradient-to":[{to:L()}],rounded:[{rounded:fe()}],"rounded-s":[{"rounded-s":fe()}],"rounded-e":[{"rounded-e":fe()}],"rounded-t":[{"rounded-t":fe()}],"rounded-r":[{"rounded-r":fe()}],"rounded-b":[{"rounded-b":fe()}],"rounded-l":[{"rounded-l":fe()}],"rounded-ss":[{"rounded-ss":fe()}],"rounded-se":[{"rounded-se":fe()}],"rounded-ee":[{"rounded-ee":fe()}],"rounded-es":[{"rounded-es":fe()}],"rounded-tl":[{"rounded-tl":fe()}],"rounded-tr":[{"rounded-tr":fe()}],"rounded-br":[{"rounded-br":fe()}],"rounded-bl":[{"rounded-bl":fe()}],"border-w":[{border:ve()}],"border-w-x":[{"border-x":ve()}],"border-w-y":[{"border-y":ve()}],"border-w-s":[{"border-s":ve()}],"border-w-e":[{"border-e":ve()}],"border-w-t":[{"border-t":ve()}],"border-w-r":[{"border-r":ve()}],"border-w-b":[{"border-b":ve()}],"border-w-l":[{"border-l":ve()}],"divide-x":[{"divide-x":ve()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":ve()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...gt(),"hidden","none"]}],"divide-style":[{divide:[...gt(),"hidden","none"]}],"border-color":[{border:L()}],"border-color-x":[{"border-x":L()}],"border-color-y":[{"border-y":L()}],"border-color-s":[{"border-s":L()}],"border-color-e":[{"border-e":L()}],"border-color-t":[{"border-t":L()}],"border-color-r":[{"border-r":L()}],"border-color-b":[{"border-b":L()}],"border-color-l":[{"border-l":L()}],"divide-color":[{divide:L()}],"outline-style":[{outline:[...gt(),"none","hidden"]}],"outline-offset":[{"outline-offset":[K,q,$]}],"outline-w":[{outline:["",K,Rt,it]}],"outline-color":[{outline:L()}],shadow:[{shadow:["","none",c,en,Zt]}],"shadow-color":[{shadow:L()}],"inset-shadow":[{"inset-shadow":["none",f,en,Zt]}],"inset-shadow-color":[{"inset-shadow":L()}],"ring-w":[{ring:ve()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:L()}],"ring-offset-w":[{"ring-offset":[K,it]}],"ring-offset-color":[{"ring-offset":L()}],"inset-ring-w":[{"inset-ring":ve()}],"inset-ring-color":[{"inset-ring":L()}],"text-shadow":[{"text-shadow":["none",p,en,Zt]}],"text-shadow-color":[{"text-shadow":L()}],opacity:[{opacity:[K,q,$]}],"mix-blend":[{"mix-blend":[...It(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":It()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[K]}],"mask-image-linear-from-pos":[{"mask-linear-from":I()}],"mask-image-linear-to-pos":[{"mask-linear-to":I()}],"mask-image-linear-from-color":[{"mask-linear-from":L()}],"mask-image-linear-to-color":[{"mask-linear-to":L()}],"mask-image-t-from-pos":[{"mask-t-from":I()}],"mask-image-t-to-pos":[{"mask-t-to":I()}],"mask-image-t-from-color":[{"mask-t-from":L()}],"mask-image-t-to-color":[{"mask-t-to":L()}],"mask-image-r-from-pos":[{"mask-r-from":I()}],"mask-image-r-to-pos":[{"mask-r-to":I()}],"mask-image-r-from-color":[{"mask-r-from":L()}],"mask-image-r-to-color":[{"mask-r-to":L()}],"mask-image-b-from-pos":[{"mask-b-from":I()}],"mask-image-b-to-pos":[{"mask-b-to":I()}],"mask-image-b-from-color":[{"mask-b-from":L()}],"mask-image-b-to-color":[{"mask-b-to":L()}],"mask-image-l-from-pos":[{"mask-l-from":I()}],"mask-image-l-to-pos":[{"mask-l-to":I()}],"mask-image-l-from-color":[{"mask-l-from":L()}],"mask-image-l-to-color":[{"mask-l-to":L()}],"mask-image-x-from-pos":[{"mask-x-from":I()}],"mask-image-x-to-pos":[{"mask-x-to":I()}],"mask-image-x-from-color":[{"mask-x-from":L()}],"mask-image-x-to-color":[{"mask-x-to":L()}],"mask-image-y-from-pos":[{"mask-y-from":I()}],"mask-image-y-to-pos":[{"mask-y-to":I()}],"mask-image-y-from-color":[{"mask-y-from":L()}],"mask-image-y-to-color":[{"mask-y-to":L()}],"mask-image-radial":[{"mask-radial":[q,$]}],"mask-image-radial-from-pos":[{"mask-radial-from":I()}],"mask-image-radial-to-pos":[{"mask-radial-to":I()}],"mask-image-radial-from-color":[{"mask-radial-from":L()}],"mask-image-radial-to-color":[{"mask-radial-to":L()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":S()}],"mask-image-conic-pos":[{"mask-conic":[K]}],"mask-image-conic-from-pos":[{"mask-conic-from":I()}],"mask-image-conic-to-pos":[{"mask-conic-to":I()}],"mask-image-conic-from-color":[{"mask-conic-from":L()}],"mask-image-conic-to-color":[{"mask-conic-to":L()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:Se()}],"mask-repeat":[{mask:ht()}],"mask-size":[{mask:Bt()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",q,$]}],filter:[{filter:["","none",q,$]}],blur:[{blur:H()}],brightness:[{brightness:[K,q,$]}],contrast:[{contrast:[K,q,$]}],"drop-shadow":[{"drop-shadow":["","none",h,en,Zt]}],"drop-shadow-color":[{"drop-shadow":L()}],grayscale:[{grayscale:["",K,q,$]}],"hue-rotate":[{"hue-rotate":[K,q,$]}],invert:[{invert:["",K,q,$]}],saturate:[{saturate:[K,q,$]}],sepia:[{sepia:["",K,q,$]}],"backdrop-filter":[{"backdrop-filter":["","none",q,$]}],"backdrop-blur":[{"backdrop-blur":H()}],"backdrop-brightness":[{"backdrop-brightness":[K,q,$]}],"backdrop-contrast":[{"backdrop-contrast":[K,q,$]}],"backdrop-grayscale":[{"backdrop-grayscale":["",K,q,$]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[K,q,$]}],"backdrop-invert":[{"backdrop-invert":["",K,q,$]}],"backdrop-opacity":[{"backdrop-opacity":[K,q,$]}],"backdrop-saturate":[{"backdrop-saturate":[K,q,$]}],"backdrop-sepia":[{"backdrop-sepia":["",K,q,$]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":M()}],"border-spacing-x":[{"border-spacing-x":M()}],"border-spacing-y":[{"border-spacing-y":M()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",q,$]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[K,"initial",q,$]}],ease:[{ease:["linear","initial",y,q,$]}],delay:[{delay:[K,q,$]}],animate:[{animate:["none",w,q,$]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[g,q,$]}],"perspective-origin":[{"perspective-origin":D()}],rotate:[{rotate:G()}],"rotate-x":[{"rotate-x":G()}],"rotate-y":[{"rotate-y":G()}],"rotate-z":[{"rotate-z":G()}],scale:[{scale:re()}],"scale-x":[{"scale-x":re()}],"scale-y":[{"scale-y":re()}],"scale-z":[{"scale-z":re()}],"scale-3d":["scale-3d"],skew:[{skew:Fe()}],"skew-x":[{"skew-x":Fe()}],"skew-y":[{"skew-y":Fe()}],transform:[{transform:[q,$,"","none","gpu","cpu"]}],"transform-origin":[{origin:D()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:vt()}],"translate-x":[{"translate-x":vt()}],"translate-y":[{"translate-y":vt()}],"translate-z":[{"translate-z":vt()}],"translate-none":["translate-none"],accent:[{accent:L()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:L()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",q,$]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":M()}],"scroll-mx":[{"scroll-mx":M()}],"scroll-my":[{"scroll-my":M()}],"scroll-ms":[{"scroll-ms":M()}],"scroll-me":[{"scroll-me":M()}],"scroll-mt":[{"scroll-mt":M()}],"scroll-mr":[{"scroll-mr":M()}],"scroll-mb":[{"scroll-mb":M()}],"scroll-ml":[{"scroll-ml":M()}],"scroll-p":[{"scroll-p":M()}],"scroll-px":[{"scroll-px":M()}],"scroll-py":[{"scroll-py":M()}],"scroll-ps":[{"scroll-ps":M()}],"scroll-pe":[{"scroll-pe":M()}],"scroll-pt":[{"scroll-pt":M()}],"scroll-pr":[{"scroll-pr":M()}],"scroll-pb":[{"scroll-pb":M()}],"scroll-pl":[{"scroll-pl":M()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}
4],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",q,$]}],fill:[{fill:["none",...L()]}],"stroke-w":[{stroke:[K,Rt,it,Fn]}],stroke:[{stroke:["none",...L()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},Bd=fd(Md);function ne(...e){return Bd(hs(e))}const Os=O({__name:"Button",props:{variant:{},size:{},class:{},asChild:{type:Boolean},as:{default:"button"}},setup(e){const t=e;return(n,o)=>(b(),k(d(Q),{"data-slot":"button",as:e.as,"as-child":e.asChild,class:ye(d(ne)(d(Id)({variant:e.variant,size:e.size}),t.class))},{default:_(()=>[P(n.$slots,"default")]),_:3},8,["as","as-child","class"]))}}),Id=Qc("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",{variants:{variant:{default:"bg-primary text-primary-foreground shadow-xs hover:bg-primary/90",destructive:"bg-destructive text-white shadow-xs hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"border bg-background shadow-xs hover:bg-accent hover:text-accent-foreground dark:bg-input/30 dark:border-input dark:hover:bg-input/50",secondary:"bg-secondary text-secondary-foreground shadow-xs hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent/50",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2 has-[>svg]:px-3",sm:"h-8 rounded-md gap-1.5 px-3 has-[>svg]:px-2.5",lg:"h-10 rounded-md px-6 has-[>svg]:px-4",icon:"size-9"}},defaultVariants:{variant:"default",size:"default"}}),Td=O({__name:"Sheet",props:{open:{type:Boolean},defaultOpen:{type:Boolean},modal:{type:Boolean}},emits:["update:open"],setup(e,{emit:t}){const r=xe(e,t);return(s,a)=>(b(),k(d(Nr),N({"data-slot":"sheet"},d(r)),{default:_(()=>[P(s.$slots,"default")]),_:3},16))}}),Rd=O({__name:"SheetClose",props:{asChild:{type:Boolean},as:{}},setup(e){const t=e;return(n,o)=>(b(),k(d(wo),N({"data-slot":"sheet-close"},t),{default:_(()=>[P(n.$slots,"default")]),_:3},16))}});/**
5 * @license lucide-vue-next v0.544.0 - ISC
6 *
7 * This source code is licensed under the ISC license.
8 * See the LICENSE file in the root directory of this source tree.
9 */const ir=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),Fd=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(t,n,o)=>o?o.toUpperCase():n.toLowerCase()),Ld=e=>{const t=Fd(e);return t.charAt(0).toUpperCase()+t.slice(1)},$d=(...e)=>
9e.filter((t,n,o)=>!!t&&t.trim()!==""&&o.indexOf(t)===n).join(" ").trim(),lr=e=>e==="";/**
10 * @license lucide-vue-next v0.544.0 - ISC
11 *
12 * This source code is licensed under the ISC license.
13 * See the LICENSE file in the root directory of this source tree.
14 */var Ft={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":2,"stroke-linecap":"round","stroke-linejoin":"round"};/**
15 * @license lucide-vue-next v0.544.0 - ISC
16 *
17 * This source code is licensed under the ISC license.
18 * See the LICENSE file in the root directory of this source tree.
19 */const qd=({name:e,iconNode:t,absoluteStrokeWidth:n,"absolute-stroke-width":o,strokeWidth:r,"stroke-width":s,size:a=Ft.width,color:i=Ft.stroke,...l},{slots:u})=>Pe("svg",{...Ft,...l,width:a,height:a,stroke:i,"stroke-width":lr(n)||lr(o)||n===!0||o===!0?Number(r||s||Ft["stroke-width"])*24/Number(a):r||s||Ft["stroke-width"],class:$d("lucide",l.class,...e?[`lucide-${ir(Ld(e))}-icon`,`lucide-${ir(e)}`]:["lucide-icon"])},[...t.map(c=>Pe(...c)),...u.default?[u.default()]:[]]);/**
20 * @license lucide-vue-next v0.544.0 - ISC
21 *
22 * This source code is licensed under the ISC license.
23 * See the LICENSE file in the root directory of this source tree.
24 */const Re=(e,t)=>(n,{slots:o,attrs:r})=>Pe(qd,{...r,...n,iconNode:t,name:e},o);/**
25 * @license lucide-vue-next v0.544.0 - ISC
26 *
27 * This source code is licensed under the ISC license.
28 * See the LICENSE file in the root directory of this source tree.
29 */const ur=Re("chevron-down",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);/**
30 * @license lucide-vue-next v0.544.0 - ISC
31 *
32 * This source code is licensed under the ISC license.
33 * See the LICENSE file in the root directory of this source tree.
34 */const zd=Re("chevron-right",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]);/**
35 * @license lucide-vue-next v0.544.0 - ISC
36 *
37 * This source code is licensed under the ISC license.
38 * See the LICENSE file in the root directory of this source tree.
39 */const cr=Re("chevron-up",[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]]);/**
40 * @license lucide-vue-next v0.544.0 - ISC
41 *
42 * This source code is licensed under the ISC license.
43 * See the LICENSE file in the root directory of this source tree.
44 */const dr=Re("external-link",[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]]);/**
45 * @license lucide-vue-next v0.544.0 - ISC
46 *
47 * This source code is licensed under the ISC license.
48 * See the LICENSE file in the root directory of this source tree.
49 */const Nd=Re("house",[["path",{d:"M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8",key:"5wwlr5"}],["path",{d:"M3 10a2 2 0 0 1 .709-1.528l7-6a2 2 0 0 1 2.582 0l7 6A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z",key:"r6nss1"}]]);/**
50 * @license lucide-vue-next v0.544.0 - ISC
51 *
52 * This source code is licensed under the ISC license.
53 * See the LICENSE file in the root directory of this source tree.
54 */const fr=Re("menu",[["path",{d:"M4 5h16",key:"1tepv9"}],["path",{d:"M4 12h16",key:"1lakjw"}],["path",{d:"M4 19h16",key:"1djgab"}]]);/**
55 * @license lucide-vue-next v0.544.0 - ISC
56 *
57 * This source code is licensed under the ISC license.
58 * See the LICENSE file in the root directory of this source tree.
59 */const Vd=Re("moon",[["path",{d:"M20.985 12.486a9 9 0 1 1-9.473-9.472c.405-.022.617.46.402.803a6 6 0 0 0 8.268 8.268c.344-.215.825-.004.803.401",key:"kfwtm"}]]);/**
60 * @license lucide-vue-next v0.544.0 - ISC
61 *
62 * This source code is licensed under the ISC license.
63 * See the LICENSE file in the root directory of this source tree.
64 */const Es=Re("search",[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]]);/**
65 * @license lucide-vue-next v0.544.0 - ISC
66 *
67 * This source code is licensed under the ISC license.
68 * See the LICENSE file in the root directory of this source tree.
69 */const jd=Re("sun-moon",[["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M14.837 16.385a6 6 0 1 1-7.223-7.222c.624-.147.97.66.715 1.248a4 4 0 0 0 5.26 5.259c.589-.255 1.396.09 1.248.715",key:"xlf6rm"}],["path",{d:"M16 12a4 4 0 0 0-4-4",key:"6vsxu"}],["path",{d:"m19 5-1.256 1.256",key:"1yg6a6"}],["path",{d:"M20 12h2",key:"1q8mjw"}]]);/**
70 * @license lucide-vue-next v0.544.0 - ISC
71 *
72 * This source code is licensed under the ISC license.
73 * See the LICENSE file in the root directory of this source tree.
74 */const Ud=Re("sun",[["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"m4.93 4.93 1.41 1.41",key:"149t6j"}],["path",{d:"m17.66 17.66 1.41 1.41",key:"ptbguv"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"m6.34 17.66-1.41 1.41",key:"1m8zz5"}],["path",{d:"m19.07 4.93-1.41 1.41",key:"1shlcs"}]]);/**
75 * @license lucide-vue-next v0.544.0 - ISC
76 *
77 * This source code is licensed under the ISC license.
78 * See the LICENSE file in the root directory of this source tree.
79 */const As=Re("x",[["path",{d:"M18 6 6 18",key:"1bl5f8"}
79],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]),Wd=O({__name:"SheetOverlay",props:{forceMount:{type:Boolean},asChild:{type:Boolean},as:{},class:{}},setup(e){const t=e,n=ge(t,"class");return(o,r)=>(b(),k(d(Xr),N({"data-slot":"sheet-overlay",class:d(ne)("data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/80",t.class)},d(n)),{default:_(()=>[P(o.$slots,"default")]),_:3},16,["class"]))}}),Hd=Object.assign(Wd,{__name:"SheetOverlay"}),Kd=O({inheritAttrs:!1,__name:"SheetContent",props:{class:{},side:{default:"right"},forceMount:{type:Boolean},disableOutsidePointerEvents:{type:Boolean},asChild:{type:Boolean},as:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(e,{emit:t}){const n=e,o=t,r=ge(n,"class","side"),s=xe(r,o);return(a,i)=>(b(),k(d(Qr),null,{default:_(()=>[A(Hd),A(d(Yr),N({"data-slot":"sheet-content",class:d(ne)("bg-background data-[state=open]:animate-in data-[state=closed]:animate-out fixed z-50 flex flex-col gap-4 shadow-lg transition ease-in-out data-[state=closed]:duration-300 data-[state=open]:duration-500",e.side==="right"&&"data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right inset-y-0 right-0 h-full w-3/4 border-l sm:max-w-sm",e.side==="left"&&"data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left inset-y-0 left-0 h-full w-3/4 border-r sm:max-w-sm",e.side==="top"&&"data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top inset-x-0 top-0 h-auto border-b",e.side==="bottom"&&"data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom inset-x-0 bottom-0 h-auto border-t",n.class)},{...d(s),...a.$attrs}),{default:_(()=>[P(a.$slots,"default"),A(d(wo),{class:"ring-offset-background focus:ring-ring data-[state=open]:bg-secondary absolute top-4 right-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none"},{default:_(()=>[A(d(As),{class:"size-4"}),i[0]||(i[0]=de("span",{class:"sr-only"},"Close",-1))]),_:1})]),_:3},16,["class"])]),_:3}))}}),Gd=O({__name:"SheetHeader",props:{class:{}},setup(e){const t=e;return(n,o)=>(b(),Z("div",{"data-slot":"sheet-header",class:ye(d(ne)("flex flex-col gap-1.5 p-4",t.class))},[P(n.$slots,"default")],2))}}),Yd=O({__name:"SheetTrigger",props:{asChild:{type:Boolean},as:{}},setup(e){const t=e;return(n,o)=>(b(),k(d(fl),N({"data-slot":"sheet-trigger"},t),{default:_(()=>[P(n.$slots,"default")]),_:3},16))}}),Xd=O({__name:"Collapsible",props:{defaultOpen:{type:Boolean},open:{type:Boolean},disabled:{type:Boolean},unmountOnHide:{type:Boolean},asChild:{type:Boolean},as:{}},emits:["update:open"],setup(e,{emit:t}){const r=xe(e,t);return(s,a)=>(b(),k(d(Ci),N({"data-slot":"collapsible"},d(r)),{default:_(({open:i})=>[P(s.$slots,"default",{open:i})]),_:3},16))}}),Jd=O({__name:"CollapsibleContent",props:{forceMount:{type:Boolean},asChild:{type:Boolean},as:{}},setup(e){const t=e;return(n,o)=>(b(),k(d(ki),N({"data-slot":"collapsible-content"},t),{default:_(()=>[P(n.$slots,"default")]),_:3},16))}}),Qd=O({__name:"CollapsibleTrigger",props:{asChild:{type:Boolean},as:{}},setup(e){const t=e;return(n,o)=>(b(),k(d(Ei),N({"data-slot":"collapsible-trigger"},t),{default:_(()=>[P(n.$slots,"default")]),_:3},16))}}),Zd=O({__name:"Separator",props:{orientation:{default:"horizontal"},decorative:{type:Boolean,default:!0},asChild:{type:Boolean},as:{},class:{}},setup(e){const t=e,n=ge(t,"class");return(o,r)=>(b(),k(d(Jc),N({"data-slot":"separator-root"},d(n),{class:d(ne)("bg-border shrink-0 data-[orientation=horizontal]:h-px data-[orientation=horizontal]:w-full data-[orientation=vertical]:h-full data-[orientation=vertical]:w-px",t.class)}),null,16,["class"]))}}),ef=O({__name:"DropdownMenu",props:{defaultOpen:{type:Boolean},open:{type:Boolean},dir:{},modal:{type:Boolean}},emits:["update:open"],setup(e,{emit:t}){const r=xe(e,t);return(s,a)=>(b(),k(d(Ic),N({"data-slot":"dropdown-menu"},d(r)),{default:_(()=>[P(s.$slots,"default")]),_:3},16))}}),tf=O({__name:"DropdownMenuContent",props:{forceMount:{type:Boolean},loop:{type:Boolean},side:{},sideOffset:{default:4},sideFlip:{type:Boolean},align:{},alignOffset:{},alignFlip:{type:Boolean},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},positionStrategy:{},updatePositionStrategy:{},disableUpdateOnLayoutShift:{type:Boolean},prioritizePosition:{type:Boolean},reference:{},asChild:{type:Boolean},as:{},class:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","closeAutoFocus"],setup(e,{emit:t}){const n=e,o=t,r=ge(n,"class"),s=xe(r,o);return(a,i)=>(b(),k(d(jc),null,{default:_(()=>[A(d(Rc),N({"data-slot":"dropdown-menu-content"},d(s),{class:d(ne)("bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:sli
79de-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 max-h-(--reka-dropdown-menu-content-available-height) min-w-[8rem] origin-(--reka-dropdown-menu-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-md border p-1 shadow-md",n.class)}),{default:_(()=>[P(a.$slots,"default")]),_:3},16,["class"])]),_:3}))}}),nf=O({__name:"DropdownMenuGroup",props:{asChild:{type:Boolean},as:{}},setup(e){const t=e;return(n,o)=>(b(),k(d(Lc),N({"data-slot":"dropdown-menu-group"},t),{default:_(()=>[P(n.$slots,"default")]),_:3},16))}}),of=O({__name:"DropdownMenuItem",props:{disabled:{type:Boolean},textValue:{},asChild:{type:Boolean},as:{},class:{},inset:{type:Boolean},variant:{default:"default"}},setup(e){const t=e,n=ge(t,"inset","variant","class"),o=ot(n);return(r,s)=>(b(),k(d(qc),N({"data-slot":"dropdown-menu-item","data-inset":e.inset?"":void 0,"data-variant":e.variant},d(o),{class:d(ne)("focus:bg-accent focus:text-accent-foreground data-[variant=destructive]:text-destructive-foreground data-[variant=destructive]:focus:bg-destructive/10 dark:data-[variant=destructive]:focus:bg-destructive/40 data-[variant=destructive]:focus:text-destructive-foreground data-[variant=destructive]:*:[svg]:!text-destructive-foreground [&_svg:not([class*='text-'])]:text-muted-foreground relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 data-[inset]:pl-8 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",t.class)}),{default:_(()=>[P(r.$slots,"default")]),_:3},16,["data-inset","data-variant","class"]))}}),rf=O({__name:"DropdownMenuLabel",props:{asChild:{type:Boolean},as:{},class:{},inset:{type:Boolean}},setup(e){const t=e,n=ge(t,"class","inset"),o=ot(n);return(r,s)=>(b(),k(d(Nc),N({"data-slot":"dropdown-menu-label","data-inset":e.inset?"":void 0},d(o),{class:d(ne)("px-2 py-1.5 text-sm font-medium data-[inset]:pl-8",t.class)}),{default:_(()=>[P(r.$slots,"default")]),_:3},16,["data-inset","class"]))}}),sf=O({__name:"DropdownMenuSeparator",props:{asChild:{type:Boolean},as:{},class:{}},setup(e){const t=e,n=ge(t,"class");return(o,r)=>(b(),k(d(Wc),N({"data-slot":"dropdown-menu-separator"},d(n),{class:d(ne)("bg-border -mx-1 my-1 h-px",t.class)}),null,16,["class"]))}}),af=O({__name:"DropdownMenuTrigger",props:{disabled:{type:Boolean},asChild:{type:Boolean},as:{}},setup(e){const n=ot(e);return(o,r)=>(b(),k(d(Kc),N({"data-slot":"dropdown-menu-trigger"},d(n)),{default:_(()=>[P(o.$slots,"default")]),_:3},16))}}),lf=O({__name:"Command",props:{modelValue:{default:""},defaultValue:{},multiple:{type:Boolean},orientation:{},dir:{},disabled:{type:Boolean},selectionBehavior:{},highlightOnHover:{type:Boolean},by:{},asChild:{type:Boolean},as:{},name:{},required:{type:Boolean},class:{}},emits:["update:modelValue","highlight","entryFocus","leave"],setup(e,{emit:t}){const n=e,o=t,r=ge(n,"class"),s=xe(r,o),a=T(new Map),i=T(new Map),{contains:l}=ii({sensitivity:"base"}),u=hn({search:"",filtered:{count:0,items:new Map,groups:new Set}});function c(){if(!u.search){u.filtered.count=a.value.size;return}u.filtered.groups=new Set;let f=0;for(const[p,h]of a.value){const m=l(h,u.search);u.filtered.items.set(p,m?1:0),m&&f++}for(const[p,h]of i.value)for(const m of h)if(u.filtered.items.get(m)>0){u.filtered.groups.add(p);break}u.filtered.count=f}return se(()=>u.search,()=>{c()}),Cf({allItems:a,allGroups:i,filterState:u}),(f,p)=>(b(),k(d(Vu),N({"data-slot":"command"},d(s),{class:d(ne)("bg-popover text-popover-foreground flex h-full w-full flex-col overflow-hidden rounded-md",n.class)}),{default:_(()=>[P(f.$slots,"default")]),_:3},16,["class"]))}}),uf=O({__name:"Dialog",props:{open:{type:Boolean},defaultOpen:{type:Boolean},modal:{type:Boolean}},emits:["update:open"],setup(e,{emit:t}){const r=xe(e,t);return(s,a)=>(b(),k(d(Nr),N({"data-slot":"dialog"},d(r)),{default:_(()=>[P(s.$slots,"default")]),_:3},16))}}),cf=O({__name:"DialogOverlay",props:{forceMount:{type:Boolean},asChild:{type:Boolean},as:{},class:{}},setup(e){const t=e,n=ge(t,"class");return(o,r)=>(b(),k(d(Xr),N({"data-slot":"dialog-overlay"},d(n),{class:d(ne)("data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/80",t.class)}),{default:_(()=>[P(o.$slots,"default")]),_:3},16,["class"]))}}),df=O({__name:"DialogContent",props:{forceMount:{type:Boolean},disableOutsidePointerEvents:{type:Boolean},asChild:{type:Boolean},as:{},class:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(e,{emit:t}){const n=e,o=t,r=ge(n,"class"),s=xe(r,o);return(a,i)=>(b(),k(d(Qr),null,{default:_(()=>[A(cf),A(d(Yr),N({"data-slot":"dialog-content"},d(s),{class:d(ne)("bg-background data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 fixed top-[50%] left-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 roun
79ded-lg border p-6 shadow-lg duration-200 sm:max-w-lg",n.class)}),{default:_(()=>[P(a.$slots,"default"),A(d(wo),{class:"ring-offset-background focus:ring-ring data-[state=open]:bg-accent data-[state=open]:text-muted-foreground absolute top-4 right-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4"},{default:_(()=>[A(d(As)),i[0]||(i[0]=de("span",{class:"sr-only"},"Close",-1))]),_:1})]),_:3},16,["class"])]),_:3}))}}),ff=O({__name:"DialogDescription",props:{asChild:{type:Boolean},as:{},class:{}},setup(e){const t=e,n=ge(t,"class"),o=ot(n);return(r,s)=>(b(),k(d(ol),N({"data-slot":"dialog-description"},d(o),{class:d(ne)("text-muted-foreground text-sm",t.class)}),{default:_(()=>[P(r.$slots,"default")]),_:3},16,["class"]))}}),pf=O({__name:"DialogHeader",props:{class:{}},setup(e){const t=e;return(n,o)=>(b(),Z("div",{"data-slot":"dialog-header",class:ye(d(ne)("flex flex-col gap-2 text-center sm:text-left",t.class))},[P(n.$slots,"default")],2))}}),mf=O({__name:"DialogTitle",props:{asChild:{type:Boolean},as:{},class:{}},setup(e){const t=e,n=ge(t,"class"),o=ot(n);return(r,s)=>(b(),k(d(cl),N({"data-slot":"dialog-title"},d(o),{class:d(ne)("text-lg leading-none font-semibold",t.class)}),{default:_(()=>[P(r.$slots,"default")]),_:3},16,["class"]))}}),hf=O({__name:"CommandDialog",props:{open:{type:Boolean},defaultOpen:{type:Boolean},modal:{type:Boolean},title:{default:"Command Palette"},description:{default:"Search for a command to run..."}},emits:["update:open"],setup(e,{emit:t}){const r=xe(e,t);return(s,a)=>(b(),k(d(uf),Ae(Te(d(r))),{default:_(()=>[A(d(df),{class:"overflow-hidden p-0"},{default:_(()=>[A(d(pf),{class:"sr-only"},{default:_(()=>[A(d(mf),null,{default:_(()=>[ie(ce(e.title),1)]),_:1}),A(d(ff),null,{default:_(()=>[ie(ce(e.description),1)]),_:1})]),_:1}),A(lf,null,{default:_(()=>[P(s.$slots,"default")]),_:3})]),_:3})]),_:3},16))}}),gf=O({__name:"CommandEmpty",props:{asChild:{type:Boolean},as:{},class:{}},setup(e){const t=e,n=ge(t,"class"),{filterState:o}=On(),r=F(()=>!!o.search&&o.filtered.count===0);return(s,a)=>r.value?(b(),k(d(Q),N({key:0,"data-slot":"command-empty"},d(n),{class:d(ne)("py-6 text-center text-sm",t.class)}),{default:_(()=>[P(s.$slots,"default")]),_:3},16,["class"])):De("",!0)}}),vf=O({__name:"CommandGroup",props:{asChild:{type:Boolean},as:{},class:{},heading:{}},setup(e){const t=e,n=ge(t,"class"),{allGroups:o,filterState:r}=On(),s=ze(),a=F(()=>r.search?r.filtered.groups.has(s):!0);return kf({id:s}),Ie(()=>{o.value.has(s)||o.value.set(s,new Set)}),ct(()=>{o.value.delete(s)}),(i,l)=>(b(),k(d(Xu),N(d(n),{id:d(s),"data-slot":"command-group",class:d(ne)("text-foreground overflow-hidden p-1",t.class),hidden:a.value?void 0:!0}),{default:_(()=>[e.heading?(b(),k(d(Qu),{key:0,class:"px-2 py-1.5 text-xs font-medium text-muted-foreground"},{default:_(()=>[ie(ce(e.heading),1)]),_:1})):De("",!0),P(i.$slots,"default")]),_:3},16,["id","class","hidden"]))}}),yf={"data-slot":"command-input-wrapper",class:"flex h-12 items-center gap-2 border-b px-3"},_f=O({inheritAttrs:!1,__name:"CommandInput",props:{modelValue:{},autoFocus:{type:Boolean},disabled:{type:Boolean},asChild:{type:Boolean},as:{},class:{}},setup(e){const t=e,n=ge(t,"class"),o=ot(n),{filterState:r}=On();return(s,a)=>(b(),Z("div",yf,[A(d(Es),{class:"size-4 shrink-0 opacity-50"}),A(d(Hu),N({...d(o),...s.$attrs},{modelValue:d(r).search,"onUpdate:modelValue":a[0]||(a[0]=i=>d(r).search=i),"data-slot":"command-input","auto-focus":"",class:d(ne)("placeholder:text-muted-foreground flex h-12 w-full rounded-md bg-transparent py-3 text-sm outline-hidden disabled:cursor-not-allowed disabled:opacity-50",t.class)}),null,16,["modelValue","class"])]))}}),bf=O({__name:"CommandItem",props:{value:{},disabled:{type:Boolean},asChild:{type:Boolean},as:{},class:{}},emits:["select"],setup(e,{emit:t}){const n=e,o=t,r=ge(n,"class"),s=xe(r,o),a=ze(),{filterState:i,allItems:l,allGroups:u}=On(),c=Sf(),f=F(()=>{if(i.search){const m=i.filtered.items.get(a);return m===void 0?!0:m>0}else return!0}),p=T(),h=Sa(p);return Ie(()=>{if(!(h.value instanceof HTMLElement))return;l.value.set(a,h.value.textContent??n.value?.toString()??"");const m=c?.id;m&&(u.value.has(m)?u.value.get(m)?.add(a):u.value.set(m,new Set([a])))}),ct(()=>{l.value.delete(a)}),(m,g)=>f.value?(b(),k(d(nc),N({key:0},d(s),{id:d(a),ref_key:"itemRef",ref:p,"data-slot":"command-item",class:d(ne)("data-[highlighted]:bg-accent data-[highlighted]:text-accent-foreground [&_svg:not([class*='text-'])]:text-muted-foreground relative flex cursor-default items-center gap-2 rounded-sm px-2 py-3 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",n.class),onSelect:g[0]||(g[0]=()=>{d(i).search=""})}),{default:_(()=>[P(m.$slots,"default")]),_:3},16,["id","class"])):De("",!0)}}),wf={role:"presentation"},xf=O({__name:"CommandList",props:{asChild:{type:Boolean},as:{},class:{}},setup(e){const t=e,n=ge(t,"class"),o=ot(n);return(r,s)=>(b(),k(d(Uu),N({"data-slot":"command-list"},d(o),{class:d(ne)("max-h-[300px] scroll-py-1 overflow-x-hidden overflow-y-auto",t.class)}),{default:_(()=>[de("div",wf,[P(r.$slots,"default")])]),_:3},16,["class"]))}}),[On,Cf]=be("Command"),[Sf,kf]=be("CommandGroup"),Of="ENTRIES",Ds="KEYS",Ps="VALUES",me="";class Ln{constructor(t,n){const o=t._tree,r=Array.from(o.keys());this.set=t,this._type=n,this._path=r.length>0?[{node:o,keys:r}]:[]}next(){const t=this.dive();return this.backtrack(),t}dive(){if(this._path.length===0)return{done:!0,value:void 0};const{node:t,keys:n}=wt(this._path);if(wt(n)===me)return{done:!1,value:this.result()};const o=t.get(wt(n));return this._path.push({node:o,keys:Array.from(o.keys())}),this.dive()}backtrack(){if(this._path.length===0)return;const t=wt(this._path).keys;t.pop(),!(t.length>0)&&(this._path.pop(),this.backtrack())}key(){return this.set._prefix+this._path.map(({keys:t})=>wt(t)).filter(t=>t!==me).join("")}value(){return wt(this._path).node.get(me)}result(){switch(this._type){case Ps:return this.value();case Ds:return this.key();default:return[this.key(),this.value()]}}[Symbol.iterator](){return this}}const wt=e=>
79e[e.length-1],Ef=(e,t,n)=>{const o=new Map;if(t===void 0)return o;const r=t.length+1,s=r+n,a=new Uint8Array(s*r).fill(n+1);for(let i=0;i<r;++i)a[i]=i;for(let i=1;i<s;++i)a[i*r]=i;return Ms(e,t,n,o,a,1,r,""),o},Ms=(e,t,n,o,r,s,a,i)=>{const l=s*a;e:for(const u of e.keys())if(u===me){const c=r[l-1];c<=n&&o.set(i,[e.get(u),c])}else{let c=s;for(let f=0;f<u.length;++f,++c){const p=u[f],h=a*c,m=h-a;let g=r[h];const v=Math.max(0,c-n-1),y=Math.min(a-1,c+n);for(let w=v;w<y;++w){const x=p!==t[w],S=r[m+w]+ +x,D=r[m+w+1]+1,z=r[h+w]+1,B=r[h+w+1]=Math.min(S,D,z);B<g&&(g=B)}if(g>n)continue e}Ms(e.get(u),t,n,o,r,c,a,i+u)}};class Qe{constructor(t=new Map,n=""){this._size=void 0,this._tree=t,this._prefix=n}atPrefix(t){if(!t.startsWith(this._prefix))throw new Error("Mismatched prefix");const[n,o]=cn(this._tree,t.slice(this._prefix.length));if(n===void 0){const[r,s]=Bo(o);for(const a of r.keys())if(a!==me&&a.startsWith(s)){const i=new Map;return i.set(a.slice(s.length),r.get(a)),new Qe(i,t)}}return new Qe(n,t)}clear(){this._size=void 0,this._tree.clear()}delete(t){return this._size=void 0,Af(this._tree,t)}entries(){return new Ln(this,Of)}forEach(t){for(const[n,o]of this)t(n,o,this)}fuzzyGet(t,n){return Ef(this._tree,t,n)}get(t){const n=oo(this._tree,t);return n!==void 0?n.get(me):void 0}has(t){const n=oo(this._tree,t);return n!==void 0&&n.has(me)}keys(){return new Ln(this,Ds)}set(t,n){if(typeof t!="string")throw new Error("key must be a string");return this._size=void 0,$n(this._tree,t).set(me,n),this}get size(){if(this._size)return this._size;this._size=0;const t=this.entries();for(;!t.next().done;)this._size+=1;return this._size}update(t,n){if(typeof t!="string")throw new Error("key must be a string");this._size=void 0;const o=$n(this._tree,t);return o.set(me,n(o.get(me))),this}fetch(t,n){if(typeof t!="string")throw new Error("key must be a string");this._size=void 0;const o=$n(this._tree,t);let r=o.get(me);return r===void 0&&o.set(me,r=n()),r}values(){return new Ln(this,Ps)}[Symbol.iterator](){return this.entries()}static from(t){const n=new Qe;for(const[o,r]of t)n.set(o,r);return n}static fromObject(t){return Qe.from(Object.entries(t))}}const cn=(e,t,n=[])=>{if(t.length===0||e==null)return[e,n];for(const o of e.keys())if(o!==me&&t.startsWith(o))return n.push([e,o]),cn(e.get(o),t.slice(o.length),n);return n.push([e,t]),cn(void 0,"",n)},oo=(e,t)=>{if(t.length===0||e==null)return e;for(const n of e.keys())if(n!==me&&t.startsWith(n))return oo(e.get(n),t.slice(n.length))},$n=(e,t)=>{const n=t.length;e:for(let o=0;e&&o<n;){for(const s of e.keys())if(s!==me&&t[o]===s[0]){const a=Math.min(n-o,s.length);let i=1;for(;i<a&&t[o+i]===s[i];)++i;const l=e.get(s);if(i===s.length)e=l;else{const u=new Map;u.set(s.slice(i),l),e.set(t.slice(o,o+i),u),e.delete(s),e=u}o+=i;continue e}const r=new Map;return e.set(t.slice(o),r),r}return e},Af=(e,t)=>{const[n,o]=cn(e,t);if(n!==void 0){if(n.delete(me),n.size===0)Bs(o);else if(n.size===1){const[r,s]=n.entries().next().value;Is(o,r,s)}}},Bs=e=>{if(e.length===0)return;const[t,n]=Bo(e);if(t.delete(n),t.size===0)Bs(e.slice(0,-1));else if(t.size===1){const[o,r]=t.entries().next().value;o!==me&&Is(e.slice(0,-1),o,r)}},Is=(e,t,n)=>{if(e.length===0)return;const[o,r]=Bo(e);o.set(r+t,n),o.delete(r)},Bo=e=>e[e.length-1],Io="or",Ts="and",Df="and_not";class St{constructor(t){if(t?.fields==null)throw new Error('MiniSearch: option "fields" must be provided');const n=t.autoVacuum==null||t.autoVacuum===!0?Nn:t.autoVacuum;this._options={...zn,...t,autoVacuum:n,searchOptions:{...pr,...t.searchOptions||{}},autoSuggestOptions:{...Tf,...t.autoSuggestOptions||{}}},this._index=new Qe,this._documentCount=0,this._documentIds=new Map,this._idToShortId=new Map,this._fieldIds={},this._fieldLength=new Map,this._avgFieldLength=[],this._nextId=0,this._storedFields=new Map,this._dirtCount=0,this._currentVacuum=null,this._enqueuedVacuum=null,this._enqueuedVacuumConditions=so,this.addFields(this._options.fields)}add(t){const{extractField:n,stringifyField:o,tokenize:r,processTerm:s,fields:a,idField:i}=this._options,l=n(t,i);if(l==null)throw new Error(`MiniSearch: document does not have ID field "${i}"`);if(this._idToShortId.has(l))throw new Error(`MiniSearch: duplicate ID ${l}`);const u=this.addDocumentId(l);this.saveStoredFields(u,t);for(const c of a){const f=n(t,c);if(f==null)continue;const p=r(o(f,c),c),h=this._fieldIds[c],m=new Set(p).size;this.addFieldLength(u,h,this._documentCount-1,m);for(const g of p){const v=s(g,c);if(Array.isArray(v))for(const y of v)this.addTerm(h,u,y);else v&&this.addTerm(h,u,v)}}}addAll(t){for(const n of t)this.add(n)}addAllAsync(t,n={}){const{chunkSize:o=10}=n,r={chunk:[],promise:Promise.resolve()},{chunk:s,promise:a}=t.reduce(({chunk:i,promise:l},u,c)=>(i.push(u),(c+1)%o===0?{chunk:[],promise:l.then(()=>new Promise(f=>setTimeout(f,0))).then(()=>this.addAll(i))}:{chunk:i,promise:l}),r);return a.then(()=>this.addAll(s))}remove(t){const{tokenize:n,processTerm:o,extractField:r,stringifyField:s,fields:a,idField:i}=this._options,l=r(t,i);if(l==null)throw new Error(`MiniSearch: document does not have ID field "${i}"`);const u=this._idToShortId.get(l);if(u==null)throw new Error(`MiniSearch: cannot remove document with ID ${l}: it is not in the index`);for(const c of a){const f=r(t,c);if(f==null)continue;const p=n(s(f,c),c),h=this._fieldIds[c],m=new Set(p).size;this.removeFieldLength(u,h,this._documentCount,m);for(const g of p){const v=o(g,c);if(Array.isArray(v))for(const y of v)this.removeTerm(h,u,y);else v&&this.removeTerm(h,u,v)}}this._storedFields.delete(u),this._documentIds.delete(u),this._idToShortId.delete(l),this._fieldLength.delete(u),this._documentCount-=1}removeAll(t){if(t)for(const n of t)this.remove(n);else{if(arguments.length>0)throw new Error("Expected documents to be present. Omit the argument to remove all documents.");this._index=new Qe,this._documentCount=0,this._documentIds=new Map,this._idToShortId=new Map,this._fieldLength=new Map,this._avgFieldLength=[],this._storedFields=new Map,this._nextId=0}}discard(t){const n=this._idToShortId.get(t);if(n==null)throw new Error(`MiniSearch: cannot discard document with ID ${t}: it is not in the index`);this._idToShortId.delete(t),this._documentIds.delete(n),this._storedFields.delete(n),(this._fieldLength.get(n)||[]).forEac
79h((o,r)=>{this.removeFieldLength(n,r,this._documentCount,o)}),this._fieldLength.delete(n),this._documentCount-=1,this._dirtCount+=1,this.maybeAutoVacuum()}maybeAutoVacuum(){if(this._options.autoVacuum===!1)return;const{minDirtFactor:t,minDirtCount:n,batchSize:o,batchWait:r}=this._options.autoVacuum;this.conditionalVacuum({batchSize:o,batchWait:r},{minDirtCount:n,minDirtFactor:t})}discardAll(t){const n=this._options.autoVacuum;try{this._options.autoVacuum=!1;for(const o of t)this.discard(o)}finally{this._options.autoVacuum=n}this.maybeAutoVacuum()}replace(t){const{idField:n,extractField:o}=this._options,r=o(t,n);this.discard(r),this.add(t)}vacuum(t={}){return this.conditionalVacuum(t)}conditionalVacuum(t,n){return this._currentVacuum?(this._enqueuedVacuumConditions=this._enqueuedVacuumConditions&&n,this._enqueuedVacuum!=null?this._enqueuedVacuum:(this._enqueuedVacuum=this._currentVacuum.then(()=>{const o=this._enqueuedVacuumConditions;return this._enqueuedVacuumConditions=so,this.performVacuuming(t,o)}),this._enqueuedVacuum)):this.vacuumConditionsMet(n)===!1?Promise.resolve():(this._currentVacuum=this.performVacuuming(t),this._currentVacuum)}async performVacuuming(t,n){const o=this._dirtCount;if(this.vacuumConditionsMet(n)){const r=t.batchSize||ro.batchSize,s=t.batchWait||ro.batchWait;let a=1;for(const[i,l]of this._index){for(const[u,c]of l)for(const[f]of c)this._documentIds.has(f)||(c.size<=1?l.delete(u):c.delete(f));this._index.get(i).size===0&&this._index.delete(i),a%r===0&&await new Promise(u=>setTimeout(u,s)),a+=1}this._dirtCount-=o}await null,this._currentVacuum=this._enqueuedVacuum,this._enqueuedVacuum=null}vacuumConditionsMet(t){if(t==null)return!0;let{minDirtCount:n,minDirtFactor:o}=t;return n=n||Nn.minDirtCount,o=o||Nn.minDirtFactor,this.dirtCount>=n&&this.dirtFactor>=o}get isVacuuming(){return this._currentVacuum!=null}get dirtCount(){return this._dirtCount}get dirtFactor(){return this._dirtCount/(1+this._documentCount+this._dirtCount)}has(t){return this._idToShortId.has(t)}getStoredFields(t){const n=this._idToShortId.get(t);if(n!=null)return this._storedFields.get(n)}search(t,n={}){const{searchOptions:o}=this._options,r={...o,...n},s=this.executeQuery(t,n),a=[];for(const[i,{score:l,terms:u,match:c}]of s){const f=u.length||1,p={id:this._documentIds.get(i),score:l*f,terms:Object.keys(c),queryTerms:u,match:c};Object.assign(p,this._storedFields.get(i)),(r.filter==null||r.filter(p))&&a.push(p)}return t===St.wildcard&&r.boostDocument==null||a.sort(hr),a}autoSuggest(t,n={}){n={...this._options.autoSuggestOptions,...n};const o=new Map;for(const{score:s,terms:a}of this.search(t,n)){const i=a.join(" "),l=o.get(i);l!=null?(l.score+=s,l.count+=1):o.set(i,{score:s,terms:a,count:1})}const r=[];for(const[s,{score:a,terms:i,count:l}]of o)r.push({suggestion:s,terms:i,score:a/l});return r.sort(hr),r}get documentCount(){return this._documentCount}get termCount(){return this._index.size}static loadJSON(t,n){if(n==null)throw new Error("MiniSearch: loadJSON should be given the same options used when serializing the index");return this.loadJS(JSON.parse(t),n)}static async loadJSONAsync(t,n){if(n==null)throw new Error("MiniSearch: loadJSON should be given the same options used when serializing the index");return this.loadJSAsync(JSON.parse(t),n)}static getDefault(t){if(zn.hasOwnProperty(t))return qn(zn,t);throw new Error(`MiniSearch: unknown option "${t}"`)}static loadJS(t,n){const{index:o,documentIds:r,fieldLength:s,storedFields:a,serializationVersion:i}=t,l=this.instantiateMiniSearch(t,n);l._documentIds=tn(r),l._fieldLength=tn(s),l._storedFields=tn(a);for(const[u,c]of l._documentIds)l._idToShortId.set(c,u);for(const[u,c]of o){const f=new Map;for(const p of Object.keys(c)){let h=c[p];i===1&&(h=h.ds),f.set(parseInt(p,10),tn(h))}l._index.set(u,f)}return l}static async loadJSAsync(t,n){const{index:o,documentIds:r,fieldLength:s,storedFields:a,serializationVersion:i}=t,l=this.instantiateMiniSearch(t,n);l._documentIds=await nn(r),l._fieldLength=await nn(s),l._storedFields=await nn(a);for(const[c,f]of l._documentIds)l._idToShortId.set(f,c);let u=0;for(const[c,f]of o){const p=new Map;for(const h of Object.keys(f)){let m=f[h];i===1&&(m=m.ds),p.set(parseInt(h,10),await nn(m))}++u%1e3===0&&await Rs(0),l._index.set(c,p)}return l}static instantiateMiniSearch(t,n){const{documentCount:o,nextId:r,fieldIds:s,averageFieldLength:a,dirtCount:i,serializationVersion:l}=t;if(l!==1&&l!==2)throw new Error("MiniSearch: cannot deserialize an index created with an incompatible version");const u=new St(n);return u._documentCount=o,u._nextId=r,u._idToShortId=new Map,u._fieldIds=s,u._avgFieldLength=a,u._dirtCount=i||0,u._index=new Qe,u}executeQuery(t,n={}){if(t===St.wildcard)return this.executeWildcardQuery(n);if(typeof t!="string"){const p={...n,...t,queries:void 0},h=t.queries.map(m=>this.executeQuery(m,p));return this.combineResults(h,p.combineWith)}const{tokenize:o,processTerm:r,searchOptions:s}=this._options,a={tokenize:o,processTerm:r,...s,...n},{tokenize:i,processTerm:l}=a,f=i(t).flatMap(p=>l(p)).filter(p=>!!p).map(If(a)).map(p=>this.executeQuerySpec(p,a));return this.combineResults(f,a.combineWith)}executeQuerySpec(t,n){const o={...this._options.searchOptions,...n},r=(o.fields||this._options.fields).reduce((g,v)=>({...g,[v]:qn(o.boost,v)||1}),{}),{boostDocument:s,weights:a,maxFuzzy:i,bm25:l}=o,{fuzzy:u,prefix:c}={...pr.weights,...a},f=this._index.get(t.term),p=this.termResults(t.term,t.term,1,t.termBoost,f,r,s,l);let h,m;if(t.prefix&&(h=this._index.atPrefix(t.term)),t.fuzzy){const g=t.fuzzy===!0?.2:t.fuzzy,v=g<1?Math.min(i,Math.round(t.term.length*g)):g;v&&(m=this._index.fuzzyGet(t.term,v))}if(h)for(const[g,v]of h){const y=g.length-t.term.length;if(!y)continue;m?.delete(g);const w=c*g.length/(g.length+.3*y);this.termResults(t.term,g,w,t.termBoost,v,r,s,l,p)}if(m)for(const g of m.keys()){const[v,y]=m.get(g);if(!y)continue;const w=u*g.length/(g.length+y);this.termResults(t.term,g,w,t.termBoost,v,r,s,l,p)}return p}executeWildcardQuery(t){const n=new Map,o={...this._options.searchOptions,...t};for(const[r,s]of this._documentIds){const a=o.boostDocument?o.boostDocument(s,"",this._storedFields.get(r)):1;n.set(r,{score:a,terms:[],match:{}})}return n}
79combineResults(t,n=Io){if(t.length===0)return new Map;const o=n.toLowerCase(),r=Pf[o];if(!r)throw new Error(`Invalid combination operator: ${n}`);return t.reduce(r)||new Map}toJSON(){const t=[];for(const[n,o]of this._index){const r={};for(const[s,a]of o)r[s]=Object.fromEntries(a);t.push([n,r])}return{documentCount:this._documentCount,nextId:this._nextId,documentIds:Object.fromEntries(this._documentIds),fieldIds:this._fieldIds,fieldLength:Object.fromEntries(this._fieldLength),averageFieldLength:this._avgFieldLength,storedFields:Object.fromEntries(this._storedFields),dirtCount:this._dirtCount,index:t,serializationVersion:2}}termResults(t,n,o,r,s,a,i,l,u=new Map){if(s==null)return u;for(const c of Object.keys(a)){const f=a[c],p=this._fieldIds[c],h=s.get(p);if(h==null)continue;let m=h.size;const g=this._avgFieldLength[p];for(const v of h.keys()){if(!this._documentIds.has(v)){this.removeTerm(p,v,n),m-=1;continue}const y=i?i(this._documentIds.get(v),n,this._storedFields.get(v)):1;if(!y)continue;const w=h.get(v),x=this._fieldLength.get(v)[p],S=Bf(w,m,this._documentCount,x,g,l),D=o*r*f*y*S,z=u.get(v);if(z){z.score+=D,Rf(z.terms,t);const B=qn(z.match,n);B?B.push(c):z.match[n]=[c]}else u.set(v,{score:D,terms:[t],match:{[n]:[c]}})}}return u}addTerm(t,n,o){const r=this._index.fetch(o,gr);let s=r.get(t);if(s==null)s=new Map,s.set(n,1),r.set(t,s);else{const a=s.get(n);s.set(n,(a||0)+1)}}removeTerm(t,n,o){if(!this._index.has(o)){this.warnDocumentChanged(n,t,o);return}const r=this._index.fetch(o,gr),s=r.get(t);s==null||s.get(n)==null?this.warnDocumentChanged(n,t,o):s.get(n)<=1?s.size<=1?r.delete(t):s.delete(n):s.set(n,s.get(n)-1),this._index.get(o).size===0&&this._index.delete(o)}warnDocumentChanged(t,n,o){for(const r of Object.keys(this._fieldIds))if(this._fieldIds[r]===n){this._options.logger("warn",`MiniSearch: document with ID ${this._documentIds.get(t)} has changed before removal: term "${o}" was not present in field "${r}". Removing a document after it has changed can corrupt the index!`,"version_conflict");return}}addDocumentId(t){const n=this._nextId;return this._idToShortId.set(t,n),this._documentIds.set(n,t),this._documentCount+=1,this._nextId+=1,n}addFields(t){for(let n=0;n<t.length;n++)this._fieldIds[t[n]]=n}addFieldLength(t,n,o,r){let s=this._fieldLength.get(t);s==null&&this._fieldLength.set(t,s=[]),s[n]=r;const i=(this._avgFieldLength[n]||0)*o+r;this._avgFieldLength[n]=i/(o+1)}removeFieldLength(t,n,o,r){if(o===1){this._avgFieldLength[n]=0;return}const s=this._avgFieldLength[n]*o-r;this._avgFieldLength[n]=s/(o-1)}saveStoredFields(t,n){const{storeFields:o,extractField:r}=this._options;if(o==null||o.length===0)return;let s=this._storedFields.get(t);s==null&&this._storedFields.set(t,s={});for(const a of o){const i=r(n,a);i!==void 0&&(s[a]=i)}}}St.wildcard=Symbol("*");const qn=(e,t)=>Object.prototype.hasOwnProperty.call(e,t)?e[t]:void 0,Pf={[Io]:(e,t)=>{for(const n of t.keys()){const o=e.get(n);if(o==null)e.set(n,t.get(n));else{const{score:r,terms:s,match:a}=t.get(n);o.score=o.score+r,o.match=Object.assign(o.match,a),mr(o.terms,s)}}return e},[Ts]:(e,t)=>{const n=new Map;for(const o of t.keys()){const r=e.get(o);if(r==null)continue;const{score:s,terms:a,match:i}=t.get(o);mr(r.terms,a),n.set(o,{score:r.score+s,terms:r.terms,match:Object.assign(r.match,i)})}return n},[Df]:(e,t)=>{for(const n of t.keys())e.delete(n);return e}},Mf={k:1.2,b:.7,d:.5},Bf=(e,t,n,o,r,s)=>{const{k:a,b:i,d:l}=s;return Math.log(1+(n-t+.5)/(t+.5))*(l+e*(a+1)/(e+a*(1-i+i*o/r)))},If=e=>(t,n,o)=>{const r=typeof e.fuzzy=="function"?e.fuzzy(t,n,o):e.fuzzy||!1,s=typeof e.prefix=="function"?e.prefix(t,n,o):e.prefix===!0,a=typeof e.boostTerm=="function"?e.boostTerm(t,n,o):1;return{term:t,fuzzy:r,prefix:s,termBoost:a}},zn={idField:"id",extractField:(e,t)=>e[t],stringifyField:(e,t)=>e.toString(),tokenize:e=>e.split(Ff),processTerm:e=>e.toLowerCase(),fields:void 0,searchOptions:void 0,storeFields:[],logger:(e,t)=>{typeof console?.[e]=="function"&&console[e](t)},autoVacuum:!0},pr={combineWith:Io,prefix:!1,fuzzy:!1,maxFuzzy:6,boost:{},weights:{fuzzy:.45,prefix:.375},bm25:Mf},Tf={combineWith:Ts,prefix:(e,t,n)=>t===n.length-1},ro={batchSize:1e3,batchWait:10},so={minDirtFactor:.1,minDirtCount:20},Nn={...ro,...so},Rf=(e,t)=>
79{e.includes(t)||e.push(t)},mr=(e,t)=>{for(const n of t)e.includes(n)||e.push(n)},hr=({score:e},{score:t})=>t-e,gr=()=>new Map,tn=e=>{const t=new Map;for(const n of Object.keys(e))t.set(parseInt(n,10),e[n]);return t},nn=async e=>{const t=new Map;let n=0;for(const o of Object.keys(e))t.set(parseInt(o,10),e[o]),++n%1e3===0&&await Rs(0);return t},Rs=e=>new Promise(t=>setTimeout(t,e)),Ff=/[\n\r\p{Z}\p{P}]+/u,Lf={trailing:!0};function $f(e,t=25,n={}){if(n={...Lf,...n},!Number.isFinite(t))throw new TypeError("Expected `wait` to be a finite number");let o,r,s=[],a,i;const l=(f,p)=>(a=qf(e,f,p),a.finally(()=>{if(a=null,n.trailing&&i&&!r){const h=l(f,i);return i=null,h}}),a),u=function(...f){return n.trailing&&(i=f),a||new Promise(p=>{const h=!r&&n.leading;clearTimeout(r),r=setTimeout(()=>{r=null;const m=n.leading?o:l(this,f);i=null;for(const g of s)g(m);s=[]},t),h?(o=l(this,f),p(o)):s.push(p)})},c=f=>{f&&(clearTimeout(f),r=null)};return u.isPending=()=>!!r,u.cancel=()=>{c(r),s=[],i=null},u.flush=()=>{if(c(r),!i||a)return;const f=i;return i=null,l(this,f)},u}async function qf(e,t,n){return await e.apply(t,n)}function ao(...e){const t=typeof e[e.length-1]=="string"?e.pop():void 0;zf(e[0],e[1])&&e.unshift(t);let[n,o,r={}]=e;const s=F(()=>he(n));if(typeof s.value!="string")throw new TypeError("[nuxt] [useAsyncData] key must be a string.");if(typeof o!="function")throw new TypeError("[nuxt] [useAsyncData] handler must be a function.");const a=ka();r.server??=!0,r.default??=Vf,r.getCachedData??=Ls,r.lazy??=!1,r.immediate??=!0,r.deep??=Oa.deep,r.dedupe??="cancel",r._functionName,a._asyncData[s.value];const i={cause:"initial",dedupe:r.dedupe};a._asyncData[s.value]?._init||(i.cachedData=r.getCachedData(s.value,a,{cause:"initial"}),a._asyncData[s.value]=vr(a,s.value,o,r,i.cachedData));const l=a._asyncData[s.value];l._deps++;const u=()=>a._asyncData[s.value].execute(i),c=r.server!==!1&&a.payload.serverRendered;{let h=function(x){const S=a._asyncData[x];S?._deps&&(S._deps--,S._deps===0&&S?._off())};const m=Ye();if(m&&c&&r.immediate&&!m.sp&&(m.sp=[]),m&&!m._nuxtOnBeforeMountCbs){m._nuxtOnBeforeMountCbs=[];const x=m._nuxtOnBeforeMountCbs;Ea(()=>{x.forEach(S=>{S()}),x.splice(0,x.length)}),ct(()=>x.splice(0,x.length))}const g=m&&(m._nuxtClientOnly||Er(Aa,!1));c&&a.isHydrating&&(l.error.value||l.data.value!==void 0)?l.status.value=l.error.value?"error":"success":m&&(!g&&a.payload.serverRendered&&a.isHydrating||r.lazy)&&r.immediate?m._nuxtOnBeforeMountCbs.push(u):r.immediate&&l.status.value!=="success"&&u();const v=ho(),y=se(s,(x,S)=>{if((x||S)&&x!==S){const D=a._asyncData[S]?.data.value!==void 0,z=a._asyncDataPromises[S]!==void 0;S&&h(S);const B={cause:"initial",dedupe:r.dedupe};if(!a._asyncData[x]?._init){let M;S&&D?M=a._asyncData[S]?.data.value:(M=r.getCachedData(x,a,{cause:"initial"}),B.cachedData=M),a._asyncData[x]=vr(a,x,o,r,M)}a._asyncData[x]._deps++,(r.immediate||D||z)&&a._asyncData[x].execute(B)}},{flush:"sync"}),w=r.watch?se(r.watch,()=>{l._execute({cause:"watch",dedupe:r.dedupe})}):()=>{};v&&go(()=>{y(),w(),h(s.value)})}const f={data:on(()=>a._asyncData[s.value]?.data),pending:on(()=>a._asyncData[s.value]?.pending),status:on(()=>a._asyncData[s.value]?.status),error:on(()=>a._asyncData[s.value]?.error),refresh:(...h)=>a._asyncData[s.value].execute(...h),execute:(...h)=>a._asyncData[s.value].execute(...h),clear:()=>Fs(a,s.value)},p=Promise.resolve(a._asyncDataPromises[s.value]).then(()=>f);return Object.assign(p,f),p}function on(e){return F({get(){return e()?.value},set(t){const n=e();n&&(n.value=t)}})}function zf(e,t){return!(typeof e=="string"||typeof e=="object"&&e!==null||typeof e=="function"&&typeof t=="function")}function Fs(e,t){t in e.payload.data&&(e.payload.data[t]=void 0),t in e.payload._errors&&(e.payload._errors[t]=void 0),e._asyncData[t]&&(e._asyncData[t].data.value=d(e._asyncData[t]._default()),e._asyncData[t].error.value=void 0,e._asyncData[t].status.value="idle"),t in e._asyncDataPromises&&(e._asyncDataPromises[t]&&(e._asyncDataPromises[t].cancelled=!0),e._asyncDataPromises[t]=void 0)}function Nf(e,t){const n={};for(const o of t)n[o]=e[o];return n}function vr(e,t,n,o,r){e.payload._errors[t]??=void 0;const s=o.getCachedData!==Ls,a=n,i=o.deep?T:qt,l=r!==void 0,u=e.hook("app:data:refresh",async f=>{(!f||f.includes(t))&&await c.execute({cause:"refresh:hook"})}),c={data:i(l?r:o.default()),pending:F(()=>c.status.value==="pending"),error:Sr(e.payload._errors,t),status:qt("idle"),execute:(...f)=>{const[p,h=void 0]=f,m=p&&h===void 0&&typeof p=="object"?p:{};if(e._asyncDataPromises[t]){if((m.dedupe??o.dedupe)==="defer")return e._asyncDataPromises[t];e._asyncDataPromises[t].cancelled=!0}{const v="cachedData"in m?m.cachedData:o.getCachedData(t,e,{cause:m.cause??"refresh:manual"});if(v!==void 0)return e.payload.data[t]=c.data.value=v,c.error.value=void 0,c.status.value="success",Promise.resolve(v)}c.status.value="pending";const g=new Promise((v,y)=>{try{v(a(e))}catch(w){y(w)}}).then(async v=>{if(g.cancelled)return e._asyncDataPromises[t];let y=v;o.transform&&(y=await o.transform(v)),o.pick&&(y=Nf(y,o.pick)),e.payload.data[t]=y,c.data.value=y,c.error.value=void 0,c.status.value="success"}).catch(v=>{if(g.cancelled)return e._asyncDataPromises[t];c.error.value=Da(v),c.data.value=d(o.default()),c.status.value="error"}).finally(()=>{g.cancelled||delete e._asyncDataPromises[t]});return e._asyncDataPromises[t]=g,e._asyncDataPromises[t]},_execute:$f((...f)=>c.execute(...f),0,{leading:!0}),_default:o.default,_deps:0,_init:!0,_hash:void 0,_off:()=>{u(),e._asyncData[t]?._init&&(e._asyncData[t]._init=!1),s||le(()=>{e._asyncData[t]?._init||(Fs(e,t),c.execute=()=>Promise.resolve())})}};return c}const Vf=()=>{},Ls=(e,t,n)=>{if(t.isHydrating)return t.payload.data[e];if(n.cause!=="refresh:manual"&&n.cause!=="refresh:hook")return t.static.data[e]},$s={content:"v3.5.0--5eXF1gfXVQ2l2B98aHiq6rM6rv9v0kcejY5o58-Z3c0"},jf={content:"_content_content",info:"_content_info"},Dm={content:{type:"page",fields:{id:"string",title:"string",body:"json",description:"string",extension:"string",meta:"json",navigation:"json",path:"str
79ing",seo:"json",stem:"string"}},info:{type:"data",fields:{}}},dn=(e,t)=>{const n=e._conditions;return n.length>0?`(${n.join(` ${t} `)})`:""},fn=e=>{const t=[],n={_conditions:t,where(o,r,s){let a;switch(r.toUpperCase()){case"IN":case"NOT IN":if(Array.isArray(s)){const i=s.map(l=>Lt(l)).join(", ");a=`"${String(o)}" ${r.toUpperCase()} (${i})`}else throw new TypeError(`Value for ${r} must be an array`);break;case"BETWEEN":case"NOT BETWEEN":if(Array.isArray(s)&&s.length===2)a=`"${String(o)}" ${r.toUpperCase()} ${Lt(s[0])} AND ${Lt(s[1])}`;else throw new Error(`Value for ${r} must be an array with two elements`);break;case"IS NULL":case"IS NOT NULL":a=`"${String(o)}" ${r.toUpperCase()}`;break;case"LIKE":case"NOT LIKE":a=`"${String(o)}" ${r.toUpperCase()} ${Lt(s)}`;break;default:a=`"${String(o)}" ${r} ${Lt(typeof s=="boolean"?Number(s):s)}`}return t.push(`${a}`),n},andWhere(o){const r=o(fn());return t.push(dn(r,"AND")),n},orWhere(o){const r=o(fn());return t.push(dn(r,"OR")),n}};return n},Uf=(e,t)=>{const n={conditions:[],selectedFields:[],offset:0,limit:0,orderBy:[],count:{field:"",distinct:!1}},o={__params:n,andWhere(s){const a=s(fn());return n.conditions.push(dn(a,"AND")),o},orWhere(s){const a=s(fn());return n.conditions.push(dn(a,"OR")),o},path(s){return o.where("path","=",Pa(s))},skip(s){return n.offset=s,o},where(s,a,i){return o.andWhere(l=>l.where(String(s),a,i)),o},limit(s){return n.limit=s,o},select(...s){return s.length&&n.selectedFields.push(...s),o},order(s,a){return n.orderBy.push(`"${String(s)}" ${a}`),o},async all(){return t(e,r()).then(s=>s||[])},async first(){return t(e,r({limit:1})).then(s=>s[0]||null)},async count(s="*",a=!1){return t(e,r({count:{field:String(s),distinct:a}})).then(i=>i[0].count)}};function r(s={}){let a="SELECT ";if(s?.count)a+=`COUNT(${s.count.distinct?"DISTINCT ":""}${s.count.field}) as count`;else{const l=Array.from(new Set(n.selectedFields));a+=l.length>0?l.map(u=>`"${String(u)}"`).join(", "):"*"}a+=` FROM ${jf[String(e)]}`,n.conditions.length>0&&(a+=` WHERE ${n.conditions.join(" AND ")}`),n.orderBy.length>0?a+=` ORDER BY ${n.orderBy.join(", ")}`:a+=" ORDER BY stem ASC";const i=s?.limit||n.limit;return i>0&&(n.offset>0?a+=` LIMIT ${i} OFFSET ${n.offset}`:a+=` LIMIT ${i}`),a}return o};function Lt(e){return`'${String(e).replace(/'/g,"''")}'`}const Wf=/\d/,Hf=["-","_","/","."];function Kf(e=""){if(!Wf.test(e))return e!==e.toLowerCase()}function qs(e,t){const n=Hf,o=[];if(!e||typeof e!="string")return o;let r="",s,a;for(const i of e){const l=n.includes(i);if(l===!0){o.push(r),r="",s=void 0;continue}const u=Kf(i);if(a===!1){if(s===!1&&u===!0){o.push(r),r=i,s=u;continue}if(s===!0&&u===!1&&r.length>1){const c=r.at(-1);o.push(r.slice(0,Math.max(0,r.length-1))),r=c+i,s=u;continue}}r+=i,s=u,a=l}return o.push(r),o}function Gf(e){return e?e[0].toUpperCase()+e.slice(1):""}function lt(e,t){return e?(Array.isArray(e)?e:qs(e)).map(n=>Gf(t?.normalize?n.toLowerCase():n)).join(""):""}function zs(e,t){return e?(Array.isArray(e)?e:qs(e)).map(n=>n.toLowerCase()).join("-"):""}function io(e){return t=>(t=t||{},(e||[]).filter(n=>typeof t[n]<"u").reduce((n,o)=>Object.assign(n,{[o]:t[o]}),{}))}async function Yf(e,t=[]){e.__params?.orderBy?.length||(e=e.order("stem","ASC"));const o=await e.orWhere(u=>u.where("navigation","<>","false").where("navigation","IS NULL")).select("navigation","stem","path","title","meta",...t||[]).all(),{contents:r,configs:s}=o.reduce((u,c)=>{if(String(c.stem).split("/").pop()===".navigation"){c.title=c.title?.toLowerCase()==="navigation"?"":c.title;const f=c.path.split("/").slice(0,-1).join("/")||"/";u.configs[f]={...c,...c.body}}else u.contents.push(c);return u},{configs:{},contents:[]}),a=u=>({...io(["title",...t])(u),...u.meta,...yr(u?.navigation)?u.navigation:{}}),i=u=>({...io(["title",...t])(u),...yr(u?.navigation)?u.navigation:{}}),l=r.reduce((u,c)=>{const f=c.path.substring(1).split("/"),p=c.stem.split("/"),h=!!p[p.length-1]?.match(/([1-9]\d*\.)?index/g),m=w=>({title:w.title,path:w.path,stem:w.stem,children:[],...i(w)}),g=m(c);if(h){const w=s[g.path];if(typeof w?.navigation<"u"&&w?.navigation===!1)return u;if(c.path!=="/"){const x=m(c);g.children.push(x)}w&&Object.assign(g,a(w))}if(f.length===1){const w=u.find(x=>x.path===g.path&&x.page===!1);return h&&w?Object.assign(w,{page:void 0,children:[...g.children||[],...w.children||[]]}):u.push(g),u}const v=f.slice(0,-1).reduce((w,x,S)=>{const D="/"+f.slice(0,S+1).join("/"),z=s[D];if(typeof z?.navigation<"u"&&z.navigation===!1)return[];let B=w.find(M=>M.path===D);if(!B){const M=z?a(z):{};B={...M,title:M.title||Xf(x),path:D,stem:p.slice(0,S+1).join("/"),children:[],page:!1},w.push(B)}return B.children},u),y=v.find(w=>w.path===g.path&&w.page===!1);return y?Object.assign(y,{...g,page:void 0,children:[...g.children||[],...y.children||[]]}):v.push(g),u},[]);return Ns(l)}function Ns(e){const t=e;for(const n of t)n.children?.length?Ns(n.children):delete n.children;return e}function yr(e){return e!==null&&Object.prototype.toString.call(e)==="[object Object]"}const Xf=e=>e.split(/[\s-]/g).map(lt).join(" ");function Vs(e){return{type:"root",children:e.value.map(js)}}function js(e){if(typeof e=="string")return{type:"text",value:e};const[t,n,...o]=e;return{type:"element",tag:t,props:n,children:o.map(js)}}const Us=/^h([1-6])$/,Jf=e=>Us.test(e);async function Qf(e,t){const{ignoredTags:n=[],extraFields:o=[]}={};return(await e.where("extension","=","md").select("path","body","description","title",...o||[]).all()).flatMap(s=>Zf(s,{ignoredTags:n,extraFields:o}))}function Zf(e,{ignoredTags:t,extraFields:n}){const o=!e.body||e.body?.type==="root"?e.body:Vs(e.body),r=e.path??"",s=io(n)(e),a=[{...s,id:r,title:e.title||"",titles:[],content:(e.description||"").trim(),level:1}];if(!o?.children)return a;let i=1,l=0;const u=[e.title??""];for(const c of o.children){const f=c.tag||"";if(Jf(f)){const p=Number(f.match(Us)?.[1]??0),h=lo(c).trim();p===1?u.splice(0,u.length):p<l?u.splice(p-1,u.length-1):p===l&&u.pop(),a.push({...s,id:`${r}#${c.props?.id}`,title:h,titles:[...u],content:"",level:p}),u.push(h),l=p,i+=1}else{const p=lo(c,t).trim();if(i===1&&a[i-1]?.content===p)continue;a[i-1].content=`${a[i-1].content} ${p}`.trim()}}return a}function lo(e,t=[]){let n="";return e.type==="text"&&(n+=e.value||""),t.includes(e.tag??"")?"":(e.children?.length&&(n+=e.children.map(o=>
79lo(o,t)).filter(Boolean).join("")),n)}async function Pm(e,t){return await $fetch(`/__nuxt_content/${t}/sql_dump.txt`,{context:{},responseType:"text",headers:{"content-type":"text/plain"},query:{v:$s[String(t)],t:void 0}})}async function ep(e,t,n){return await $fetch(`/__nuxt_content/${t}/query`,{context:e?{cloudflare:e.context.cloudflare}:{},headers:{"content-type":"application/json",...e?.node?.req?.headers?.cookie?{cookie:e.node.req.headers.cookie}:{}},query:{v:$s[String(t)],t:void 0},method:"POST",body:{sql:n}})}const Ws=e=>{const t=Ma()?.ssrContext?.event;return Uf(e,(n,o)=>op(t,n,o))};function tp(e,t){return Hs(e,n=>Yf(n,t))}function np(e,t){return Hs(e,n=>Qf(n))}async function op(e,t,n){return window.WebAssembly?rp(t,n):ep(e,String(t),n)}async function rp(e,t){return await we(()=>import("./C1yffqCl.js"),__vite__mapDeps([0,1,2,3,4]),import.meta.url).then(o=>o.loadDatabaseAdapter(e)).then(o=>o.all(t))}function Hs(e,t){const n=Ws(e),o={where(r,s,a){return n.where(String(r),s,a),o},andWhere(r){return n.andWhere(r),o},orWhere(r){return n.orWhere(r),o},order(r,s){return n.order(String(r),s),o},then(r,s){return t(n).then(r,s)},catch(r){return this.then(void 0,r)},finally(r){return this.then(void 0,void 0).finally(r)},get[Symbol.toStringTag](){return"Promise"}};return o}const sp={class:"items-center pointer-events-none h-5 select-none gap-1 rounded border bg-muted font-sans font-medium min-h-4 text-[10px] px-1.5 ml-auto hidden md:inline-flex"},ap={class:"text-muted-foreground/80 text-xs line-clamp-1"},ip=O({__name:"SearchCommand",props:{class:{}},async setup(e){let t,n;const o=e,r=Ia(),{Meta_K:s,Ctrl_K:a,Slash:i}=Ba({passive:!1,onEventFired(v){(v.key==="k"&&(v.metaKey||v.ctrlKey)||v.key==="/"&&h.value)&&v.preventDefault()}}),{data:l}=([t,n]=jn(()=>ao("search",()=>np("content"))),t=await t,n(),t),u=T(!1),c=T(""),f=T("ctrl"),p=F(()=>m.search(he(c))),h=F(()=>r.value?.tagName!=="INPUT"&&r.value?.tagName!=="TEXTAREA"),m=new St({fields:["title","content"],storeFields:["title","content"],searchOptions:{prefix:!0,fuzzy:.2}});m.addAll(he(l.value));function g(){u.value=!u.value}return se([s,a,i],v=>{(v[0]||v[1]||v[2]&&h.value)&&g()}),se(u,v=>{v||(c.value="")}),Ie(()=>{navigator.platform.startsWith("Mac")&&(f.value="⌘")}),(v,y)=>{const w=Os,x=_f,S=gf,D=vn,z=bf,B=vf,M=xf,C=hf;return b(),Z(pe,null,[A(w,{variant:"ghost",size:"icon",class:ye(d(ne)("md:w-[160px] font-normal bg-background/40 md:text-muted-foreground md:border md:px-2",o.class)),onClick:y[0]||(y[0]=V=>u.value=!0)},{default:_(()=>[A(d(Es)),y[4]||(y[4]=de("span",{class:"hidden md:flex"},"Search...",-1)),de("kbd",sp,ce(d(f))+" K ",1)]),_:1},8,["class"]),A(C,{open:d(u),"onUpdate:open":y[3]||(y[3]=V=>rn(u)?u.value=V:null)},{default:_(()=>[A(x,{modelValue:d(c),"onUpdate:modelValue":y[1]||(y[1]=V=>rn(c)?c.value=V:null),placeholder:"Search..."},null,8,["modelValue"]),A(M,null,{default:_(()=>[A(S,null,{default:_(()=>[...y[5]||(y[5]=[ie("No results found.",-1)])]),_:1}),A(B,{heading:"Suggestions"},{default:_(()=>[(b(!0),Z(pe,null,He(d(p),V=>(b(),k(z,{key:V.id,value:V.id,class:"cursor-pointer gap-1 py-2","as-child":"",onSelect:y[2]||(y[2]=W=>u.value=!1)},{default:_(()=>[A(D,{to:V.id,class:"flex flex-col items-start"},{default:_(()=>[de("div",null,ce(V.title),1),de("p",ap,ce(V.content),1)]),_:2},1032,["to"])]),_:2},1032,["value"]))),128))]),_:1})]),_:1})]),_:1},8,["open"])],64)}}}),lp=Object.assign(ip,{__name:"SearchCommand"}),up=()=>Ta("color-mode").value,cp={class:"top-nav sticky top-0 bg-background border-b-2 border-b-tertiary grid grid-cols-[1fr_max-content_1fr] md:flex md:flex-row md:justify-between items-center gap-2 px-2 py-1 z-50"},dp={class:"flex justify-center"},fp={class:"nav-sidebar flex flex-col gap-2"},pp=["href"],mp={class:"flex justify-center md:block"},hp={class:"ml-auto md:flex md:flex-row gap-2 hidden"},gp=["href"],vp={class:"flex flex-row justify-end items-center gap-2"},yp=O({__name:"MainNav",props:{navigation:{}},setup(e){const t=Ra(),n=vo(),o=up(),r=[{title:"Tools",url:"https://tools.kurrawong.ai/"},{title:"Docs",url:"https://docs.kurrawong.ai/"}],s=e,a=T(!1);return t.beforeEach((i,l)=>{a.value=!1}),(i,l)=>{const u=Os,c=Yd,f=Rd,p=za,h=vn,m=Gd,g=Qd,v=Zd,y=Jd,w=Xd,x=Kd,S=Td,D=af,z=of,B=rf,M=sf,C=nf,V=tf,W=ef,Y=lp;return b(),Z("header",cp,[A(S,{open:d(a),"onUpdate:open":l[0]||(l[0]=R=>rn(a)?a.value=R:null)},{default:_(()=>[A(c,{"as-child":""},{default:_(()=>[A(u,{variant:"ghost",size:"icon",class:"md:hidden"},{default:_(()=>[A(d(fr),{class:"size-4"})]),_:1})]),_:1}),A(x,{side:"left",class:"p-2",hideClose:""},{default:_(()=>[A(m,{class:"grid grid-cols-[1fr_max-content_1fr] gap-2 mb-4"},{default:_(()=>[A(f,{"as-child":""},{default:_(()=>[A(u,{variant:"ghost",size:"icon"},{default:_(()=>[A(d(fr),{class:"size-4"})]),_:1})]),_:1}),de("div",dp,[A(h,{to:"/"},{default:_(()=>[st(A(p,{src:"/img/KurrawongAI_350.png",alt:"KurrawongAI Logo",class:"h-[40px]"},null,512),[[at,d(o).unknown||d(o).value==="light"]]),st(A(p,{src:"/img/KurrawongAI_inverted_350.png",alt:"KurrawongAI Logo",class:"h-[40px]"},null,512),[[at,!d(o).unknown&&d(o).value==="dark"]])]),_:1})]),l[2]||(l[2]=de("div",null,null,-1))]),_:1}),de("div",fp,[(b(!0),Z(pe,null,He(s.navigation,R=>(b(),Z(pe,null,[R.children&&R.children.length>1?(b(),k(w,{key:0,defaultOpen:d(n).path.startsWith(R.path)},{default:_(({open:X})=>[A(g,{"as-child":""},{default:_(()=>[A(u,{variant:d(n).path.startsWith(R.path)?"default":"ghost",class:"w-full"},{default:_(()=>[ie(ce(R.children.find(j=>j.path===R.path)?.title||R.title)+" ",1),X?(b(),k(d(cr),{key:0,class:"size-4"})):(b(),k(d(ur),{key:1,class:"size-4"}))]),_:2},1032,["variant"])]),_:2},1024),A(y,{class:"flex flex-col gap-2 bg-secondary/50 rounded"},{default:_(()=>[R.children.find(j=>j.path===R.path)?(b(),Z(pe,{key:0},[A(u,{variant:d(n).path===R.path?"default":"ghost","as-child":""},{default:_(()=>[A(h,{to:R.path,class:"!font-bold"},{default:_(()=>[ie(ce(R.children.find(j=>j.path===R.path)?.title)+" Home ",1)]),_:2},1032,["to"])]),_:2},1032,["variant"]),A(v)],64)):De("",!0),(b(!0),Z(pe,null,He(R.children,j=>(b(),k(u,{variant:d(n).path.startsWith(j.path)?"default":"ghost","as-child":""},{default:_(()=>[j.path!==R.path?(b(),k(h,{key:0,to:j.path},{default:_(()=>[ie(ce(j.title),1)]),_:2},1032,["to"])):De("",!0)]),_:2},1032,["variant"]))),256))]),_:2},1024)]),_:2},1032,["defaultOpen"])):(b(),k(u,{key:1,variant:d(n).path.startsWith(R.path)?"default":"ghost",class:ye(d(n).path.startsWith(R.path)?"active":""),"as-child":""},{default:_(()=>[A(h,{to:R.path},{default:_(()=>[ie(ce(R.title),1)]),_:2},1032,["to"])]),_:2},1032,["variant","class"]))],64))),256)),(b(),Z(pe,null,He(r,R=>A(u,{variant:"ghost","as-child":""},{default:_(()=>[de("a",{href:R.url,target:"_blank",rel:"noopener noreferrer"},[ie(ce(R.title)+" ",1),A(d(dr),{class:"size-4"})],8,pp)]),_:2},1024)),64))])]),_:1})]),_:1},8,["open"]),de("div",mp,[A(h,{to:"/"},{default:_(()=>[st(A(p,{src:"/img/KurrawongAI_350.png",alt:"KurrawongAI Logo",class:"h-[48px]"},null,512),[[at,d(o).unknown||d(o).value==="light"]]),st(A(p,{src:"/img/KurrawongAI_inverted_350.png",alt:"KurrawongAI Logo",class:"h-[48px]"},null,512),[[at,!d(o).unknown&&d(o).value==="dark"]])]),_:1})]),de("div",hp,[(b(!0),Z(pe,null,He(s.navigation,R=>(b(),Z(pe,null,[R.children&&R.children.length>1?(b(),k(W,{key:0},{default:_(({open:X})=>[A(D,{"as-child":""},{default:_(()=>[A(u,{variant:d(n).path.startsWith(R.path)?"default":"ghost"},{default:_(()=>[ie(ce(R.children.find(j=>j.path===R.path)?.title||R.title)+" ",1),X?(b(),k(d(cr),{key:0,class:"size-4"})):(b(),k(d(ur),{key:1,class:"size-4"}))]),_:2},1032,["variant"])]),_:2},1024),A(V,{class:"w-56 nav-dropdown"},{default:_(()=>[R.children.find(j=>j.path===R.path)?(b(),k(z,{key:0,class:ye(d(n).path===R.path?"bg-primary text-primary-foreground hover:bg-primary/90 focus:bg-primary/90 focus:text-primary-foreground":""),"as-child":""},{default:_(()=>[A(h,{to:R.path,class:"font-bold cursor-pointer"},{default:_(()=>[ie(ce(R.children.find(j=>j.path===R.path)?.title)+" Home ",1)]),_:2},1032,["to"])]),_:2},1032,["class"])):(b(),k(B,{key:1,"as-child":""},{default:_(()=>[ie(ce(R.title),1)]),_:2},1024)),A(M),A(C,null,{default:_(()=>[(b(!0),Z(pe,null,He(R.children,j=>(b(),k(z,{class:ye(d(n).path.startsWith(j.path)?"bg-primary text-primary-foreground hover:bg-primary/90 focus:bg-primary/90 focus:text-primary-foreground":""),"as-child":""},{default:_(()=>[j.path!==R.path?(b(),k(h,{key:0,to:j.path,class:"cursor-pointer"},{default:_(()=>[ie(ce(j.title),1)]),_:2},1032,["to"])):De("",!0)]),_:2},1032,["class"]))),256))]),_:2},1024)]),_:2},1024)]),_:2},1024)):(b(),k(u,{key:1,variant:d(n).path.startsWith(R.path)?"default":"ghost","as-child":""},{default:_(()=>[A(h,{to:R.path},{default:_(()=>[ie(ce(R.title),1)]),_:2},1032,["to"])]),_:2},1032,["variant"]))],64))),256)),(b(),Z(pe,null,He(r,R=>A(u,{variant:"ghost","as-child":""},{default:_(()=>[de("a",{href:R.url,target:"_blank",rel:"noopener noreferrer"},[ie(ce(R.title)+" ",1),A(d(dr),{class:"size-4"})],8,gp)]),_:2},1024)),64))]),de("div",vp,[A(Y),A(u,{variant:"ghost",size:"icon",onClick:l[1]||(l[1]=R=>d(o).unknown?void 0:d(o).value==="dark"?d(o).preference="light":d(o).preference="dark")},{default:_(()=>[st(A(d(jd),null,null,512),[[at,d(o).unknown]]),st(A(d(Ud),{class:"w-4 h-4"},null,512),[[at,d(o).value==="dark"]]),st(A(d(Vd),{class:"w-4 h-4"},null,512),[[at,d(o).value==="light"]])]),_:1})])])}}}),_p=Object.assign(yp,{__name:"MainNav"}),bp=O({__name:"Breadcrumb",props:{class:{}},setup(e){const t=e;return(n,o)=>(b(),Z("nav",{"aria-label":"breadcrumb","data-slot":"breadcrumb",class:ye(t.class)},[P(n.$slots,"default")],2))}}),wp=O({__name:"BreadcrumbItem",props:{class:{}},setup(e){const t=e;return(n,o)=>(b(),Z("li",{"data-slot":"breadcrumb-item",class:ye(d(ne)("inline-flex items-center gap-1.5",t.class))},[P(n.$slots,"default")],2))}}),xp=O({__name:"BreadcrumbLink",props:{asChild:{type:Boolean},as:{default:"a"},class:{}},setup(e){const t=e;return(n,o)=>(b(),k(d(Q),{"data-slot":"breadcrumb-link",as:e.as,"as-child":e.asChild,class:ye(d(ne)("hover:text-foreground transition-colors",t.class))},{default:_(()=>[P(n.$slots,"default")]),_:3},8,["as","as-child","class"]))}}),Cp=O({__name:"BreadcrumbList",props:{class:{}},setup(e){const t=e;return(n,o)=>(b(),Z("ol",{"data-slot":"breadcrumb-list",class:ye(d(ne)("text-muted-foreground flex flex-wrap items-center gap-1.5 text-sm break-words sm:gap-2.5",t.class))},[P(n.$slots,"default")],2))}}),Sp=O({__name:"BreadcrumbPage",props:{class:{}},setup(e){const t=e;return(n,o)=>(b(),Z("span",{"data-slot":"breadcrumb-page",role:"link","aria-disabled":"true","aria-current":"page",class:ye(d(ne)("text-foreground font-normal",t.class))},[P(n.$slots,"default")],2))}}),kp=O({__name:"BreadcrumbSeparator",props:{class:{}},setup(e){const t=e;return(n,o)=>(b(),Z("li",{"data-slot":"breadcrumb-separator",role:"presentation","aria-hidden":"true",class:ye(d(ne)("[&>svg]:size-3.5",t.class))},[P(n.$slots,"default",{},()=>[A(d(zd))])],2))}});function Ks(e,t,n){return!e?.length||!t?[]:e.reduce((o,r)=>(t&&(t+"/").startsWith(r.path+"/")&&((t!==r.path||n?.current||n?.indexAsChild)&&o.push(r),r.children&&o.push(...Ks(r.children.filter(s=>s.path!==r.path||s.path===t&&n?.current&&n?.indexAsChild),t,n))),o),[])}const Op=O({__name:"Breadcrumbs",props:{navigation:{},page:{}},setup(e){const t=vo(),n=e,o=Ks(n.navigation,t.path);return(r,s)=>{const a=vn,i=xp,l=wp,u=kp,c=Sp,f=Cp,p=bp;return d(t).path!=="/"?(b(),k(p,{key:0},{default:_(()=>[A(f,{class:"p-0 list-none"},{default:_(()=>[A(l,null,{default:_(()=>[A(i,{"as-child":""},{default:_(()=>[A(a,{to:"/"},{default:_(()=>[A(d(Nd),{class:"size-4"})]),_:1})]),_:1})]),_:1}),(b(!0),Z(pe,null,He(d(o),h=>(b(),Z(pe,null,[A(u),A(l,null,{default:_(()=>[A(i,{"as-child":""},{default:_(()=>[A(a,{to:h.path},{default:_(()=>[ie(ce(h.title),1)]),_:2},1032,["to"])]),_:2},1024)]),_:2},1024)],64))),256)),A(u),A(l,null,{default:_(()=>[A(c,null,{default:_(()=>
vendor: 4,844 bytes, line 79
79[ie(ce(n.page.title),1)]),_:1})]),_:1})]),_:1})]),_:1})):De("",!0)}}}),Ep=Object.assign(Op,{__name:"Breadcrumbs"}),Ut=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","label","legend","li","link","main","map","mark","math","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rb","rp","rt","rtc","ruby","s","samp","script","section","select","slot","small","source","span","strong","style","sub","summary","sup","svg","table","tbody","td","template","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr"];class Gt{constructor(t,n,o){this.normal=n,this.property=t,o&&(this.space=o)}}Gt.prototype.normal={};Gt.prototype.property={};Gt.prototype.space=void 0;function Gs(e,t){const n={},o={};for(const r of e)Object.assign(n,r.property),Object.assign(o,r.normal);return new Gt(n,o,t)}function uo(e){return e.toLowerCase()}class Ce{constructor(t,n){this.attribute=n,this.property=t}}Ce.prototype.attribute="";Ce.prototype.booleanish=!1;Ce.prototype.boolean=!1;Ce.prototype.commaOrSpaceSeparated=!1;Ce.prototype.commaSeparated=!1;Ce.prototype.defined=!1;Ce.prototype.mustUseProperty=!1;Ce.prototype.number=!1;Ce.prototype.overloadedBoolean=!1;Ce.prototype.property="";Ce.prototype.spaceSeparated=!1;Ce.prototype.space=void 0;let Ap=0;const U=mt(),ae=mt(),co=mt(),E=mt(),te=mt(),kt=mt(),ke=mt();function mt(){return 2**++Ap}const fo=Object.freeze(Object.defineProperty({__proto__:null,boolean:U,booleanish:ae,commaOrSpaceSeparated:ke,commaSeparated:kt,number:E,overloadedBoolean:co,spaceSeparated:te},Symbol.toStringTag,{value:"Module"})),Vn=Object.keys(fo);class To extends Ce{constructor(t,n,o,r){let s=-1;if(super(t,n),_r(this,"space",r),typeof o=="number")for(;++s<Vn.length;){const a=Vn[s];_r(this,Vn[s],(o&fo[a])===fo[a])}}}To.prototype.defined=!0;function _r(e,t,n){n&&(e[t]=n)}function Mt(e){const t={},n={};for(const[o,r]of Object.entries(e.properties)){const s=new To(o,e.transform(e.attributes||{},o),r,e.space);e.mustUseProperty&&e.mustUseProperty.includes(o)&&(s.mustUseProperty=!0),t[o]=s,n[uo(o)]=o,n[uo(s.attribute)]=o}return new Gt(t,n,e.space)}const Ys=Mt({properties:{ariaActiveDescendant:null,ariaAtomic:ae,ariaAutoComplete:null,ariaBusy:ae,ariaChecked:ae,ariaColCount:E,ariaColIndex:E,ariaColSpan:E,ariaControls:te,ariaCurrent:null,ariaDescribedBy:te,ariaDetails:null,ariaDisabled:ae,ariaDropEffect:te,ariaErrorMessage:null,ariaExpanded:ae,ariaFlowTo:te,ariaGrabbed:ae,ariaHasPopup:null,ariaHidden:ae,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:te,ariaLevel:E,ariaLive:null,ariaModal:ae,ariaMultiLine:ae,ariaMultiSelectable:ae,ariaOrientation:null,ariaOwns:te,ariaPlaceholder:null,ariaPosInSet:E,ariaPressed:ae,ariaReadOnly:ae,ariaRelevant:null,ariaRequired:ae,ariaRoleDescription:te,ariaRowCount:E,ariaRowIndex:E,ariaRowSpan:E,ariaSelected:ae,ariaSetSize:E,ariaSort:null,ariaValueMax:E,ariaValueMin:E,ariaValueNow:E,ariaValueText:null,role:null},transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()}});function Xs(e,t){return t in e?e[t]:t}function Js(e,t){return Xs(e,t.toLowerCase())}const Dp=Mt({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:kt,acceptCharset:te,accessKey:te,action:null,allow:null,allowFullScreen:U,allowPaymentRequest:U,allowUserMedia:U,alt:null,as:null,async:U,autoCapitalize:null,autoComplete:te,autoFocus:U,autoPlay:U,blocking:te,capture:null,charSet:null,checked:U,cite:null,className:te,cols:E,colSpan:null,content:null,contentEditable:ae,controls:U,controlsList:te,coords:E|kt,crossOrigin:null,data:null,dateTime:null,decoding:null,default:U,defer:U,dir:null,dirName:null,disabled:U,download:co,draggable:ae,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:U,formTarget:null,headers:te,height:E,hidden:co,high:E,href:null,hrefLang:null,htmlFor:te,httpEquiv:te,id:null,imageSizes:null,imageSrcSet:null,inert:U,inputMode:null,integrity:null,is:null,isMap:U,itemId:null,itemProp:te,itemRef:te,itemScope:U,itemType:te,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:U,low:E,manifest:null,max:null,maxLength:E,media:null,method:null,min:null,minLength:E,multiple:U,muted:U,name:null,nonce:null,noModule:U,noValidate:U,onAbort:null,onAfterPrint:null,onAuxCl
79ick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:U,optimum:E,pattern:null,ping:te,placeholder:null,playsInline:U,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:U,referrerPolicy:null,rel:te,required:U,reversed:U,rows:E,rowSpan:E,sandbox:te,scope:null,scoped:U,seamless:U,selected:U,shadowRootClonable:U,shadowRootDelegatesFocus:U,shadowRootMode:null,shape:null,size:E,sizes:null,slot:null,span:E,spellCheck:ae,src:null,srcDoc:null,srcLang:null,srcSet:null,start:E,step:null,style:null,tabIndex:E,target:null,title:null,translate:null,type:null,typeMustMatch:U,useMap:null,value:ae,width:E,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:te,axis:null,background:null,bgColor:null,border:E,borderColor:null,bottomMargin:E,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:U,declare:U,event:null,face:null,frame:null,frameBorder:null,hSpace:E,leftMargin:E,link:null,longDesc:null,lowSrc:null,marginHeight:E,marginWidth:E,noResize:U,noHref:U,noShade:U,noWrap:U,object:null,profile:null,prompt:null,rev:null,rightMargin:E,rules:null,scheme:null,scrolling:ae,standby:null,summary:null,text:null,topMargin:E,valueType:null,version:null,vAlign:null,vLink:null,vSpace:E,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:U,disableRemotePlayback:U,prefix:null,property:null,results:E,security:null,unselectable:null},space:"html",transform:Js}),Pp=Mt({attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav
79-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},properties:{about:ke,accentHeight:E,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:E,amplitude:E,arabicForm:null,ascent:E,attributeName:null,attributeType:null,azimuth:E,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:E,by:null,calcMode:null,capHeight:E,className:te,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:E,diffuseConstant:E,direction:null,display:null,dur:null,divisor:E,dominantBaseline:null,download:U,dx:null,dy:null,edgeMode:null,editable:null,elevation:E,enableBackground:null,end:null,event:null,exponent:E,externalResourcesRequired:null,fill:null,fillOpacity:E,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:kt,g2:kt,glyphName:kt,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:E,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:E,horizOriginX:E,horizOriginY:E,id:null,ideographic:E,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:E,k:E,k1:E,k2:E,k3:E,k4:E,kernelMatrix:ke,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:E,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:E,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,on
79Zoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:E,overlineThickness:E,paintOrder:null,panose1:null,path:null,pathLength:E,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:te,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:E,pointsAtY:E,pointsAtZ:E,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:ke,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:ke,rev:ke,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:ke,requiredFeatures:ke,requiredFonts:ke,requiredFormats:ke,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:E,specularExponent:E,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:E,strikethroughThickness:E,string:null,stroke:null,strokeDashArray:ke,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:E,strokeOpacity:E,strokeWidth:null,style:null,surfaceScale:E,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:ke,tabIndex:E,tableValues:null,target:null,targetX:E,targetY:E,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:ke,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:E,underlineThickness:E,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:E,values:null,vAlphabetic:E,vMathematical:E,vectorEffect:null,vHanging:E,vIdeographic:E,version:null,vertAdvY:E,vertOriginX:E,vertOriginY:E,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:E,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:Xs}),Qs=Mt({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform(e,t){return"xlink:"+t.slice(5).toLowerCase()}}),Zs=Mt({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:Js}),ea=Mt({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()}}),Mp=/[A-Z]/g,br=/-[a-z]/g,Bp=/^data[-\w.:]+$/i;function Ip(e,t){const n=uo(t);let o=t,r=Ce;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&n.slice(0,4)==="data"&&Bp.test(t)){if(t.charAt(4)==="-"){const s=t.slice(5).replace(br,Rp);o="data"+s.charAt(0).toUpperCase()+s.slice(1)}else{const s=t.slice(4);if(!br.test(s)){let a=s.replace(Mp,Tp);a.charAt(0)!=="-"&&(a="-"+a),t="data"+a}}r=To}return new r(o,t)}function Tp(e){return"-"+e.toLowerCase()}function Rp(e){return e.charAt(1).toUpperCase()}const Fp=Gs([Ys,Dp,Qs,Zs,ea],"html");Gs([Ys,Pp,Qs,Zs,ea],"svg");const Lp=["p","h1","h2","h3","h4","h5","h6","li"];function pn(e,t){return e.type===t||typeof e.type=="object"&&e.type.tag===t||e.tag===t}function Ro(e){return pn(e,"text")||pn(e,Symbol.for("v-txt"))}function ta(e){return Array.isArray(e.children)||typeof e.children=="string"?e.children:typeof e.children?.default=="function"?e.children.default():[]}function mn(e){if(!e)return"";if(Array.isArray(e))return e.map(mn).join("");if(Ro(e))return e.value||e.children||"";const t=ta(e);return Array.isArray(t)?t.map(mn).filter(Boolean).join(""):""}function na(e,t=[]){if(Array.isArray(e))return e.flatMap(o=>na(o,t));let n=e;return t.some(o=>o==="*"||pn(e,o))&&(n=ta(e)||e,!Array.isArray(n)&&Lp.some(o=>pn(e,o))&&(n=[n])),n}function oa(e,t=[]){return e=Array.isArray(e)?e:[e],t.length?e.flatMap(n=>oa(na(n,[t[0]]),t.slice(1))).filter(n=>!(Ro(n)&&mn(n).trim()==="")):e}function ra(e,t=[]){return typeof t=="string"&&(t=t.split(/[,\s]/).map(n=>n.trim()).filter(Boolean)),t.length?oa(e,t).reduce((n,o)=>(Ro(o)?typeof n[n.length-1]=="string"?n[n.length-1]+=o.children:n.push(o.children):n.push(o),n),[]):e}function $p(e,t){return t.reduce((n,o)=>{const r=qp(e,o);return r!==void 0&&(n[o]=r),n},{})}function qp(e,t){return t.split(".").reduce((n,o)=>n&&n[o],e)}const po="default",sa=/^@|^v-on:/,aa=/^:|^v-bind:/,zp=/^v-model/,Np=["select","textarea","input"],Vp=["math","svg"],jp=Object.fromEntries(["p","a","blockquote","code","pre","code","em","h1","h2","h3","h4","h5","h6","hr","img","ul","ol","li","strong","table","thead","tbody","td","th","tr","script"].map(e=>[e,`prose-${e}`])),Up=["script","base"],Wp=O({name:"MDCRenderer",props:{body:{type:Object,required:!0},data:{type:Object,default:()=>({})},class:{type:[String,Object],default:void 0},tag:{type:[String,Boolean],default:void 0},prose:{type:Boolean,default:void 0},components:{type:Object,default:()=>({})},unwrap:{type:[Boolean,String],default:!1}},async setup(e){const n=Ye()?.appContext?.app?.$nuxt,o=n?.$route||n?._route,{mdc:r}=n?.$config?.public||{},s=F(()=>({...r?.components?.prose&&e.prose!==!1?jp:{},...r?.components?.map||{},...Pr(e.data?.mdc?.components||{}),...e.components})),a=F(()=>{const u=(e.body?.children||[]).map(c=>c.tag||c.type).filter(c=>!Ut.includes(c));return Array.from(new Set(u)).sort().join(".")}),i=hn({...e.data});se(()=>e.data,u=>{Object.assign(i,u)}),await nm(e.body,{tags:s.value});function l(u,c){const f=u.split(".").length-1;return u.split(".").reduce((p,h,m)=>m==f&&p?(p[h]=c,p[h]):typeof p=="object"?p[h]:void 0,i)}return{tags:s,contentKey:a,route:o,runtimeData:i,updateRuntimeData:l}},render(e){const{tags:t,tag:n,body:o,data:r,contentKey:s,route:a,unwrap:i,runtimeData:l,updateRuntimeData:u}=e;if(!o)return null;const c={...r,tags:t,$route:a,runtimeData:l,updateRuntimeData:u},f=n!==!1?mo(n||c.component?.name||c.component||"div"):void 0;return f?Pe(f,{...c.component?.props,class:e.class,...this.$attrs,key:s},{default:p}):p?.();function p(){const h=ia(o,Pe,{documentMeta:c,parentScope:c,resolveComponent:mo});return h?.default?i?ra(h.default(),typeof i=="string"?i.split(" "):["*"]):h.default():null}}});function Hp(e,t,n,o){const{documentMeta:r,parentScope:s,resolveComponent:a}=n;
79if(e.type==="text")return t(sn,e.value);if(e.type==="comment")return t(kr,null,e.value);const i=e.tag,l=ua(e,r.tags);if(e.tag==="binding")return Kp(e,t,r,s);const u=la(l)?p=>p:a;if(Up.includes(l))return t("pre",{class:"mdc-renderer-dangerous-tag"},"<"+l+">"+mn(e)+"</"+l+">");const c=u(l);typeof c=="object"&&(c.tag=i);const f=Gp(e,r);return o&&(f.key=o),t(c,f,ia(e,t,{documentMeta:r,parentScope:{...s,...f},resolveComponent:u}))}function ia(e,t,n){const{documentMeta:o,parentScope:r,resolveComponent:s}=n,i=(e.children||[]).reduce((u,c)=>{if(!em(c))return u[po].children.push(c),u;const f=Zp(c);return u[f]=u[f]||{props:{},children:[]},c.type==="element"&&(u[f].props=c.props,u[f].children.push(...c.children||[])),u},{[po]:{props:{},children:[]}});return Object.entries(i).reduce((u,[c,{props:f,children:p}])=>(p.length&&(u[c]=(h={})=>{const m=$p(h,Object.keys(f||{}));let g=p.map((v,y)=>Hp(v,t,{documentMeta:o,parentScope:{...r,...m},resolveComponent:s},String(v.props?.key||y)));return f?.unwrap&&(g=ra(g,f.unwrap)),tm(g)}),u),{})}function Kp(e,t,n,o={}){const r={...n.runtimeData,...o,$document:n,$doc:n},s=/\.|\[(\d+)\]/,i=(e.props?.value.trim().split(s).filter(Boolean)).reduce((u,c)=>{if(u&&c in u)return typeof u[c]=="function"?u[c]():u[c]},r),l=e.props?.defaultValue;return t(sn,i??l??"")}function Gp(e,t){const{tag:n="",props:o={}}=e;return Object.keys(o).reduce(function(r,s){if(s==="__ignoreMap")return r;const a=o[s];if(zp.test(s))return Yp(s,a,r,t,{native:Np.includes(n)});if(s==="v-bind")return Xp(s,a,r,t);if(sa.test(s))return Jp(s,a,r,t);if(aa.test(s))return Qp(s,a,r,t);const{attribute:i}=Ip(Fp,s);return Array.isArray(a)&&a.every(l=>typeof l=="string")?(r[i]=a.join(" "),r):(r[i]=a,r)},{})}function Yp(e,t,n,o,{native:r}){const s=e.match(/^v-model:([^=]+)/)?.[1]||"modelValue",a=r?"value":s,i=r?"onInput":`onUpdate:${s}`;return n[a]=En(t,o.runtimeData),n[i]=l=>{o.updateRuntimeData(t,r?l.target?.value:l)},n}function Xp(e,t,n,o){const r=En(t,o);return n=Object.assign(n,r),n}function Jp(e,t,n,o){return e=e.replace(sa,""),n.on=n.on||{},n.on[e]=()=>En(t,o),n}function Qp(e,t,n,o){return e=e.replace(aa,""),n[e]=En(t,o),n}const mo=e=>{if(typeof e=="string"){if(Ut.includes(e))return e;const t=Mr(lt(e),!1);return!e||t?.name==="AsyncComponentWrapper"||typeof t=="string"?t:"setup"in t?Un(()=>new Promise(n=>n(t))):t}return e};function En(e,t){const n=e.split(".").reduce((o,r)=>typeof o=="object"?o[r]:void 0,t);return typeof n>"u"?Fa(e):n}function Zp(e){let t="";for(const n of Object.keys(e.props||{}))if(!(!n.startsWith("#")&&!n.startsWith("v-slot:"))){t=n.split(/[:#]/,2)[1];break}return t||po}function em(e){return e.tag==="template"}function la(e){return Vp.includes(e)}function tm(e){const t=[];for(const n of e){const o=t[t.length-1];n.type===sn&&o?.type===sn?o.children=o.children+n.children:t.push(n)}return t}async function nm(e,t){if(!e)return;const n=Array.from(new Set(o(e,t)));await Promise.all(n.map(async r=>{if(r?.render||r?.ssrRender||r?.__ssrInlineRender)return;const s=mo(r);s?.__asyncLoader&&!s.__asyncResolved&&await s.__asyncLoader()}));function o(r,s){const a=r.tag;if(r.type==="text"||a==="binding"||r.type==="comment")return[];const i=ua(r,s.tags);if(la(i))return[];const l=[];r.type!=="root"&&!Ut.includes(i)&&l.push(i);for(const u of r.children||[])l.push(...o(u,s));return l}}function ua(e,t){const n=e.tag;return!n||typeof e.props?.__ignoreMap<"u"?n:t[n]||t[lt(n)]||t[zs(e.tag)]||n}const om=Object.assign(Wp,{__name:"MDCRenderer"}),rm=()=>we(()=>import("./BPhuBtib.js"),__vite__mapDeps([5,6,1,2,7]),import.meta.url),sm=()=>we(()=>import("./DwVVfkLY.js"),__vite__mapDeps([8,6,1,2,9]),import.meta.url),am=()=>we(()=>import("./By07Apju.js"),__vite__mapDeps([10,6,1,2,11]),import.meta.url),im=()=>we(()=>import("./Cz1o4PYf.js"),__vite__mapDeps([12,1,2,6,13]),import.meta.url),lm=()=>we(()=>import("./BRmzUUtR.js"),__vite__mapDeps([14,4,1,2,15,3]),import.meta.url),um=()=>we(()=>import("./CQ0Ge3OT.js"),__vite__mapDeps([16,17,1,2,15,6,3,4,18]),import.meta.url),cm=()=>we(()=>import("./Gyyx55hF.js"),__vite__mapDeps([19,17,1,2,15,6,3,4,20]),import.meta.url),dm=()=>we(()=>import("./C4LkpSNw.js"),__vite__mapDeps([21,1,2,3,4]),import.meta.url),fm=()=>we(()=>import("./XPSdSSXI.js"),__vite__mapDeps([22,1,2,23,24,25,26,27,3,4]),import.meta.url),pm=()=>we(()=>import("./Dh62878i.js"),__vite__mapDeps([28,6,1,2]),import.meta.url),mm=()=>we(()=>import("./BstjVg6s.js"),__vite__mapDeps([29,16,17,1,2,15,6,3,4,18]),import.meta.url),hm=()=>we(()=>import("./Cf9_lGiW.js"),__vite__mapDeps([30,1,2,3,4,31]),import.meta.url),ca=["ProseA","ProseBlockquote","ProseCode","ProseEm","ProseH1","ProseH2","ProseH3","ProseH4","ProseH5","ProseH6","ProseHr","ProseImg","ProseLi","ProseOl","ProseP","ProseScript","ProseStrong","ProseTable","ProseTbody","ProseTd","ProseTh","ProseThead","ProseTr","ProseUl"],da=["BowerCaseStudy","BowerDemo","BowerDiagram","BowerSteps","KButton","KCard","KCaseStudy","KGrid","KHero","KMakerDiagram","KPerson","ProsePre"],gm=Object.freeze(Object.defineProperty({__proto__:null,BowerCaseStudy:rm,BowerDemo:sm,BowerDiagram:am,BowerSteps:im,KButton:lm,KCard:um,KCaseStudy:cm,KGrid:dm,KHero:fm,KMakerDiagram:pm,KPerson:mm,ProsePre:hm,globalComponents:ca,localComponents:da},Symbol.toStringTag,{value:"Module"})),vm={__name:"ContentRenderer",props:{value:{type:Object,required:!0},excerpt:{type:Boolean,default:!1},tag:{type:String,default:"div"},components:{type:Object,default:()=>({})},data:{type:Object,default:()=>({})},prose:{type:Boolean,default:void 0},class:{type:[String,Object],default:void 0},unwrap:{type:[Boolean,String],default:!1}}
79,setup(e){const t=["render","ssrRender","__ssrInlineRender"],n=e,o=!1,r=F(()=>{let g=n.value.body||n.value;return n.excerpt&&n.value.excerpt&&(g=n.value.excerpt),g.type==="minimal"||g.type==="minimark"?Vs({value:g.value}):g}),s=F(()=>!r.value?.children?.length),a=F(()=>{const{body:g,excerpt:v,...y}=n.value;return{...y,...n.data}}),i=Object.fromEntries(["p","a","blockquote","code","pre","code","em","h1","h2","h3","h4","h5","h6","hr","img","ul","ol","li","strong","table","thead","tbody","td","th","tr","script"].map(g=>[g,`prose-${g}`])),{mdc:l}=La().public||{},u=F(()=>({...l?.components?.prose&&n.prose!==!1?i:{},...l?.components?.map||{},...Pr(n.data?.mdc?.components||{}),...n.components})),c=F(()=>r.value?p(r.value,{tags:u.value}):{});function f(g){let v=g;if(typeof g=="string"){if(Ut.includes(g))return g;if(ca.includes(lt(g))?v=Mr(g,!1):da.includes(lt(g))&&(v=Un(()=>we(()=>Promise.resolve().then(()=>gm),void 0,import.meta.url).then(x=>{const S=x[lt(g)];return S?S():void 0}))),typeof v=="string")return v}if(!v)return v;const y=v;return"__asyncLoader"in y?y:"setup"in y?Un(()=>Promise.resolve(y)):y}function p(g,v){if(!g)return;const y=Array.from(new Set(h(g,v))),w={};for(const[x,S]of y)if(!w[x]){if(typeof S=="object"&&t.some(D=>Object.hasOwnProperty.call(S,D))){w[x]=S;continue}w[x]=f(S)}return w}function h(g,v){const y=g.tag;if(g.type==="text"||y==="binding"||g.type==="comment")return[];const w=m(g,v.tags),x=[];g.type!=="root"&&!Ut.includes(w)&&x.push([y,w]);for(const S of g.children||[])x.push(...h(S,v));return x}function m(g,v){const y=g.tag;return!y||typeof g.props?.__ignoreMap<"u"?y:v[y]||v[lt(y)]||v[zs(g.tag)]||y}return(g,v)=>s.value?P(g.$slots,"empty",{key:1,body:r.value,data:a.value,dataContentId:d(o)?e.value.id:void 0}):(b(),k(om,{key:0,body:r.value,data:a.value,class:ye(n.class),tag:n.tag,prose:n.prose,unwrap:n.unwrap,components:c.value,"data-content-id":d(o)?e.value.id:void 0},null,8,["body","data","class","tag","prose","unwrap","components","data-content-id"]))}},ym={class:"flex flex-col min-h-dvh"},_m={class:"grow mb-12"},bm={class:"mx-auto max-w-[1200px] px-5 prose dark:prose-invert"},wm={key:1},xm=O({__name:"[...slug]",async setup(e){let t,n;const o=vo(),{data:r}=([t,n]=jn(()=>ao(o.path,()=>Ws("content").path(o.path).first(),"$BPopkF1nvN")),t=await t,n(),t),{data:s}=([t,n]=jn(()=>ao("navigation",()=>tp("content"))),t=await t,n(),t);return $a({titleTemplate:a=>{let i="KurrawongAI";return r.value?r.value.path!=="/"&&(i=`${r.value.title} | ${i}`):i=`Not found | ${i}`,i}}),(a,i)=>{const l=_p,u=Ep,c=vm,f=vn;return b(),Z("div",ym,[A(l,{navigation:d(s)},null,8,["navigation"]),de("main",_m,[de("div",bm,[d(r)?(b(),Z(pe,{key:0},[A(u,{navigation:d(s),page:d(r)},null,8,["navigation","page"]),A(c,{value:d(r)},null,8,["value"])],64)):(b(),Z("div",wm,[i[3]||(i[3]=de("h1",{class:"mt-4"},"Page not found",-1)),de("p",null,[i[1]||(i[1]=ie("Sorry, this page does not exist. ",-1)),A(f,{to:"/"},{default:_(()=>[...i[0]||(i[0]=[ie("Go home",-1)])]),_:1}),i[2]||(i[2]=ie(".",-1))])]))])]),i[4]||(i[4]=qa('<footer class="bg-secondary"><div class="mx-auto max-w-[1200px] py-12 px-5"><div class="text-center"> ABN: <a href="https://abr.business.gov.au/ABN/View?abn=31353542036">31 353 542 036</a> | Email: <a href="mailto:[email protected]">[email protected]</a> | Phone: <a href="tel:61 477 560 177">+61 477 560 177</a> | 72 Yundah St, Shorncliffe, QLD 4017 Australia <div>© KurrawongAI, 2024</div></div></div></footer>',1))])}}}),Mm=Object.freeze(Object.defineProperty({__proto__:null,default:xm},Symbol.toStringTag,{value:"Module"}));export{Os as _,Dm as a,$s as b,ne as c,Pm as d,Re as e,ra as f,ao as g,Mm as h,jf as t,up as u};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.