{"version":3,"file":"dom-c92a4bcf.js","sources":["../../../node_modules/@headlessui/vue/dist/utils/match.js","../../../node_modules/@headlessui/vue/dist/utils/render.js","../../../node_modules/@headlessui/vue/dist/hooks/use-id.js","../../../node_modules/@headlessui/vue/dist/keyboard.js","../../../node_modules/@headlessui/vue/dist/utils/dom.js"],"sourcesContent":["function u(r,n,...a){if(r in n){let e=n[r];return typeof e==\"function\"?e(...a):e}let t=new Error(`Tried to handle \"${r}\" but there is no handler defined. Only defined handlers are: ${Object.keys(n).map(e=>`\"${e}\"`).join(\", \")}.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,u),t}export{u as match};\n","import{h as O,cloneVNode as x,Fragment as k}from\"vue\";import{match as w}from'./match.js';var N=(o=>(o[o.None=0]=\"None\",o[o.RenderStrategy=1]=\"RenderStrategy\",o[o.Static=2]=\"Static\",o))(N||{}),S=(e=>(e[e.Unmount=0]=\"Unmount\",e[e.Hidden=1]=\"Hidden\",e))(S||{});function H({visible:r=!0,features:t=0,ourProps:e,theirProps:o,...i}){var a;let n=j(o,e),l=Object.assign(i,{props:n});if(r||t&2&&n.static)return y(l);if(t&1){let d=(a=n.unmount)==null||a?0:1;return w(d,{[0](){return null},[1](){return y({...i,props:{...n,hidden:!0,style:{display:\"none\"}}})}})}return y(l)}function y({props:r,attrs:t,slots:e,slot:o,name:i}){var m,h;let{as:n,...l}=T(r,[\"unmount\",\"static\"]),a=(m=e.default)==null?void 0:m.call(e,o),d={};if(o){let u=!1,c=[];for(let[p,f]of Object.entries(o))typeof f==\"boolean\"&&(u=!0),f===!0&&c.push(p);u&&(d[\"data-headlessui-state\"]=c.join(\" \"))}if(n===\"template\"){if(a=b(a!=null?a:[]),Object.keys(l).length>0||Object.keys(t).length>0){let[u,...c]=a!=null?a:[];if(!v(u)||c.length>0)throw new Error(['Passing props on \"template\"!',\"\",`The current component <${i} /> is rendering a \"template\".`,\"However we need to passthrough the following props:\",Object.keys(l).concat(Object.keys(t)).map(s=>s.trim()).filter((s,g,R)=>R.indexOf(s)===g).sort((s,g)=>s.localeCompare(g)).map(s=>` - ${s}`).join(`\n`),\"\",\"You can apply a few solutions:\",['Add an `as=\"...\"` prop, to ensure that we render an actual element instead of a \"template\".',\"Render a single element as the child so that we can forward the props onto that element.\"].map(s=>` - ${s}`).join(`\n`)].join(`\n`));let p=j((h=u.props)!=null?h:{},l),f=x(u,p);for(let s in p)s.startsWith(\"on\")&&(f.props||(f.props={}),f.props[s]=p[s]);return f}return Array.isArray(a)&&a.length===1?a[0]:a}return O(n,Object.assign({},l,d),{default:()=>a})}function b(r){return r.flatMap(t=>t.type===k?b(t.children):[t])}function j(...r){var o;if(r.length===0)return{};if(r.length===1)return r[0];let t={},e={};for(let i of r)for(let n in i)n.startsWith(\"on\")&&typeof i[n]==\"function\"?((o=e[n])!=null||(e[n]=[]),e[n].push(i[n])):t[n]=i[n];if(t.disabled||t[\"aria-disabled\"])return Object.assign(t,Object.fromEntries(Object.keys(e).map(i=>[i,void 0])));for(let i in e)Object.assign(t,{[i](n,...l){let a=e[i];for(let d of a){if(n instanceof Event&&n.defaultPrevented)return;d(n,...l)}}});return t}function K(r){let t=Object.assign({},r);for(let e in t)t[e]===void 0&&delete t[e];return t}function T(r,t=[]){let e=Object.assign({},r);for(let o of t)o in e&&delete e[o];return e}function v(r){return r==null?!1:typeof r.type==\"string\"||typeof r.type==\"object\"||typeof r.type==\"function\"}export{N as Features,S as RenderStrategy,K as compact,T as omit,H as render};\n","let e=0;function n(){return++e}function t(){return n()}export{t as useId};\n","var o=(r=>(r.Space=\" \",r.Enter=\"Enter\",r.Escape=\"Escape\",r.Backspace=\"Backspace\",r.Delete=\"Delete\",r.ArrowLeft=\"ArrowLeft\",r.ArrowUp=\"ArrowUp\",r.ArrowRight=\"ArrowRight\",r.ArrowDown=\"ArrowDown\",r.Home=\"Home\",r.End=\"End\",r.PageUp=\"PageUp\",r.PageDown=\"PageDown\",r.Tab=\"Tab\",r))(o||{});export{o as Keys};\n","function o(n){var l;return n==null||n.value==null?null:(l=n.value.$el)!=null?l:n.value}export{o as dom};\n"],"names":["u","r","n","a","e","t","N","o","S","H","i","l","y","d","w","m","h","T","c","p","f","b","v","s","R","x","O","k","K"],"mappings":"4DAAA,SAASA,EAAEC,EAAEC,KAAKC,EAAE,CAAC,GAAGF,KAAKC,EAAE,CAAC,IAAIE,EAAEF,EAAED,CAAC,EAAE,OAAO,OAAOG,GAAG,WAAWA,EAAE,GAAGD,CAAC,EAAEC,EAAE,IAAIC,EAAE,IAAI,MAAM,oBAAoBJ,kEAAkE,OAAO,KAAKC,CAAC,EAAE,IAAIE,GAAG,IAAIA,IAAI,EAAE,KAAK,IAAI,IAAI,EAAE,MAAM,MAAM,mBAAmB,MAAM,kBAAkBC,EAAEL,CAAC,EAAEK,CAAC,CCAvM,IAACC,GAAGC,IAAIA,EAAEA,EAAE,KAAK,CAAC,EAAE,OAAOA,EAAEA,EAAE,eAAe,CAAC,EAAE,iBAAiBA,EAAEA,EAAE,OAAO,CAAC,EAAE,SAASA,IAAID,GAAG,CAAA,CAAE,EAAEE,GAAG,IAAI,EAAE,EAAE,QAAQ,CAAC,EAAE,UAAU,EAAE,EAAE,OAAO,CAAC,EAAE,SAAS,IAAIA,GAAG,CAAA,CAAE,EAAE,SAASC,EAAE,CAAC,QAAQR,EAAE,GAAG,SAAS,EAAE,EAAE,SAASG,EAAE,WAAWG,EAAE,GAAGG,CAAC,EAAE,CAAC,IAAIP,EAAE,IAAID,EAAE,EAAEK,EAAEH,CAAC,EAAEO,EAAE,OAAO,OAAOD,EAAE,CAAC,MAAMR,CAAC,CAAC,EAAE,GAAGD,GAAG,EAAE,GAAGC,EAAE,OAAO,OAAOU,EAAED,CAAC,EAAE,GAAG,EAAE,EAAE,CAAC,IAAIE,GAAGV,EAAED,EAAE,UAAU,MAAMC,EAAE,EAAE,EAAE,OAAOW,EAAED,EAAE,CAAC,CAAC,CAAC,GAAG,CAAC,OAAO,IAAI,EAAE,CAAC,CAAC,GAAG,CAA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