@deck9/ui 0.9.1 → 0.9.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3626,7 +3626,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
3626
3626
  }, toDisplayString(__props.modelValue === true ? __props.onLabel : __props.offLabel), 3),
3627
3627
  createElementVNode("span", _hoisted_1$2, toDisplayString(__props.label), 1),
3628
3628
  createElementVNode("span", {
3629
- class: normalizeClass([__props.modelValue ? "translate-x-9" : "translate-x-1", "inline-block w-4 h-4 transition transform bg-white rounded-full"])
3629
+ class: normalizeClass([__props.modelValue ? "translate-x-9" : "translate-x-1", "inline-block w-4 h-4 transition bg-white rounded-full"])
3630
3630
  }, null, 2)
3631
3631
  ]),
3632
3632
  _: 1
@@ -3638,19 +3638,19 @@ const _hoisted_1$1 = { class: "animate-pulse" };
3638
3638
  const _hoisted_2$1 = { class: "flex items-center justify-between space-x-4" };
3639
3639
  const _hoisted_3 = {
3640
3640
  key: 0,
3641
- class: "h-12 w-12 bg-current rounded-full flex-shrink-0"
3641
+ class: "w-12 h-12 bg-current rounded-full shrink-0"
3642
3642
  };
3643
3643
  const _hoisted_4 = {
3644
3644
  key: 1,
3645
- class: "bg-current h-8 w-full rounded-lg"
3645
+ class: "w-full h-8 bg-current rounded-lg"
3646
3646
  };
3647
3647
  const _hoisted_5 = {
3648
3648
  key: 0,
3649
- class: "space-y-2 mt-6"
3649
+ class: "mt-6 space-y-2"
3650
3650
  };
3651
3651
  const _hoisted_6 = {
3652
3652
  key: 1,
3653
- class: "mt-6 bg-current h-10 rounded-lg w-1/3"
3653
+ class: "w-1/3 h-10 mt-6 bg-current rounded-lg"
3654
3654
  };
3655
3655
  const _sfc_main$1 = /* @__PURE__ */ defineComponent({
3656
3656
  props: {
@@ -3677,7 +3677,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
3677
3677
  __props.lines > 0 ? (openBlock(), createElementBlock("div", _hoisted_5, [
3678
3678
  (openBlock(true), createElementBlock(Fragment, null, renderList(unref$1(lineSettings), (setting, index) => {
3679
3679
  return openBlock(), createElementBlock("div", {
3680
- class: normalizeClass(["bg-current h-4 rounded-lg", setting.margin]),
3680
+ class: normalizeClass(["h-4 bg-current rounded-lg", setting.margin]),
3681
3681
  key: index
3682
3682
  }, null, 2);
3683
3683
  }), 128))
@@ -1,8 +1,8 @@
1
1
  var Ko=Object.defineProperty;var Ht=Object.getOwnPropertySymbols;var qo=Object.prototype.hasOwnProperty,Xo=Object.prototype.propertyIsEnumerable;var Wt=(w,r,P)=>r in w?Ko(w,r,{enumerable:!0,configurable:!0,writable:!0,value:P}):w[r]=P,J=(w,r)=>{for(var P in r||(r={}))qo.call(r,P)&&Wt(w,P,r[P]);if(Ht)for(var P of Ht(r))Xo.call(r,P)&&Wt(w,P,r[P]);return w};(function(w,r){typeof exports=="object"&&typeof module!="undefined"?r(exports,require("vue"),require("@fortawesome/vue-fontawesome"),require("@fortawesome/fontawesome-svg-core"),require("@fortawesome/free-solid-svg-icons")):typeof define=="function"&&define.amd?define(["exports","vue","@fortawesome/vue-fontawesome","@fortawesome/fontawesome-svg-core","@fortawesome/free-solid-svg-icons"],r):(w=typeof globalThis!="undefined"?globalThis:w||self,r(w.ui={},w.Vue,w.vueFontawesome,w.fontawesomeSvgCore,w.fasIcons))})(this,function(w,r,P,Me,Kt){"use strict";function qt(e){if(e&&e.__esModule)return e;var t={__proto__:null,[Symbol.toStringTag]:"Module"};return e&&Object.keys(e).forEach(function(n){if(n!=="default"){var o=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,o.get?o:{enumerable:!0,get:function(){return e[n]}})}}),t.default=e,Object.freeze(t)}var C=qt(Kt);/*!
2
2
  * Font Awesome Free 5.15.4 by @fontawesome - https://fontawesome.com
3
3
  * License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
4
- */var Xt={prefix:"fab",iconName:"facebook",icon:[512,512,[],"f09a","M504 256C504 119 393 8 256 8S8 119 8 256c0 123.78 90.69 226.38 209.25 245V327.69h-63V256h63v-54.64c0-62.15 37-96.48 93.67-96.48 27.14 0 55.52 4.84 55.52 4.84v61h-31.28c-30.8 0-40.41 19.12-40.41 38.73V256h68.78l-11 71.69h-57.78V501C413.31 482.38 504 379.78 504 256z"]},Yt={prefix:"fab",iconName:"github",icon:[496,512,[],"f09b","M165.9 397.4c0 2-2.3 3.6-5.2 3.6-3.3.3-5.6-1.3-5.6-3.6 0-2 2.3-3.6 5.2-3.6 3-.3 5.6 1.3 5.6 3.6zm-31.1-4.5c-.7 2 1.3 4.3 4.3 4.9 2.6 1 5.6 0 6.2-2s-1.3-4.3-4.3-5.2c-2.6-.7-5.5.3-6.2 2.3zm44.2-1.7c-2.9.7-4.9 2.6-4.6 4.9.3 2 2.9 3.3 5.9 2.6 2.9-.7 4.9-2.6 4.6-4.6-.3-1.9-3-3.2-5.9-2.9zM244.8 8C106.1 8 0 113.3 0 252c0 110.9 69.8 205.8 169.5 239.2 12.8 2.3 17.3-5.6 17.3-12.1 0-6.2-.3-40.4-.3-61.4 0 0-70 15-84.7-29.8 0 0-11.4-29.1-27.8-36.6 0 0-22.9-15.7 1.6-15.4 0 0 24.9 2 38.6 25.8 21.9 38.6 58.6 27.5 72.9 20.9 2.3-16 8.8-27.1 16-33.7-55.9-6.2-112.3-14.3-112.3-110.5 0-27.5 7.6-41.3 23.6-58.9-2.6-6.5-11.1-33.3 2.6-67.9 20.9-6.5 69 27 69 27 20-5.6 41.5-8.5 62.8-8.5s42.8 2.9 62.8 8.5c0 0 48.1-33.6 69-27 13.7 34.7 5.2 61.4 2.6 67.9 16 17.7 25.8 31.5 25.8 58.9 0 96.5-58.9 104.2-114.8 110.5 9.2 7.9 17 22.9 17 46.4 0 33.7-.3 75.4-.3 83.6 0 6.5 4.6 14.4 17.3 12.1C428.2 457.8 496 362.9 496 252 496 113.3 383.5 8 244.8 8zM97.2 352.9c-1.3 1-1 3.3.7 5.2 1.6 1.6 3.9 2.3 5.2 1 1.3-1 1-3.3-.7-5.2-1.6-1.6-3.9-2.3-5.2-1zm-10.8-8.1c-.7 1.3.3 2.9 2.3 3.9 1.6 1 3.6.7 4.3-.7.7-1.3-.3-2.9-2.3-3.9-2-.6-3.6-.3-4.3.7zm32.4 35.6c-1.6 1.3-1 4.3 1.3 6.2 2.3 2.3 5.2 2.6 6.5 1 1.3-1.3.7-4.3-1.3-6.2-2.2-2.3-5.2-2.6-6.5-1zm-11.4-14.7c-1.6 1-1.6 3.6 0 5.9 1.6 2.3 4.3 3.3 5.6 2.3 1.6-1.3 1.6-3.9 0-6.2-1.4-2.3-4-3.3-5.6-2z"]},Gt={prefix:"fab",iconName:"instagram",icon:[448,512,[],"f16d","M224.1 141c-63.6 0-114.9 51.3-114.9 114.9s51.3 114.9 114.9 114.9S339 319.5 339 255.9 287.7 141 224.1 141zm0 189.6c-41.1 0-74.7-33.5-74.7-74.7s33.5-74.7 74.7-74.7 74.7 33.5 74.7 74.7-33.6 74.7-74.7 74.7zm146.4-194.3c0 14.9-12 26.8-26.8 26.8-14.9 0-26.8-12-26.8-26.8s12-26.8 26.8-26.8 26.8 12 26.8 26.8zm76.1 27.2c-1.7-35.9-9.9-67.7-36.2-93.9-26.2-26.2-58-34.4-93.9-36.2-37-2.1-147.9-2.1-184.9 0-35.8 1.7-67.6 9.9-93.9 36.1s-34.4 58-36.2 93.9c-2.1 37-2.1 147.9 0 184.9 1.7 35.9 9.9 67.7 36.2 93.9s58 34.4 93.9 36.2c37 2.1 147.9 2.1 184.9 0 35.9-1.7 67.7-9.9 93.9-36.2 26.2-26.2 34.4-58 36.2-93.9 2.1-37 2.1-147.8 0-184.8zM398.8 388c-7.8 19.6-22.9 34.7-42.6 42.6-29.5 11.7-99.5 9-132.1 9s-102.7 2.6-132.1-9c-19.6-7.8-34.7-22.9-42.6-42.6-11.7-29.5-9-99.5-9-132.1s-2.6-102.7 9-132.1c7.8-19.6 22.9-34.7 42.6-42.6 29.5-11.7 99.5-9 132.1-9s102.7-2.6 132.1 9c19.6 7.8 34.7 22.9 42.6 42.6 11.7 29.5 9 99.5 9 132.1s2.7 102.7-9 132.1z"]},Jt={prefix:"fab",iconName:"linkedin",icon:[448,512,[],"f08c","M416 32H31.9C14.3 32 0 46.5 0 64.3v383.4C0 465.5 14.3 480 31.9 480H416c17.6 0 32-14.5 32-32.3V64.3c0-17.8-14.4-32.3-32-32.3zM135.4 416H69V202.2h66.5V416zm-33.2-243c-21.3 0-38.5-17.3-38.5-38.5S80.9 96 102.2 96c21.2 0 38.5 17.3 38.5 38.5 0 21.3-17.2 38.5-38.5 38.5zm282.1 243h-66.4V312c0-24.8-.5-56.7-34.5-56.7-34.6 0-39.9 27-39.9 54.9V416h-66.4V202.2h63.7v29.2h.9c8.9-16.8 30.6-34.5 62.9-34.5 67.2 0 79.7 44.3 79.7 101.9V416z"]},Qt={prefix:"fab",iconName:"twitter",icon:[512,512,[],"f099","M459.37 151.716c.325 4.548.325 9.097.325 13.645 0 138.72-105.583 298.558-298.558 298.558-59.452 0-114.68-17.219-161.137-47.106 8.447.974 16.568 1.299 25.34 1.299 49.055 0 94.213-16.568 130.274-44.832-46.132-.975-84.792-31.188-98.112-72.772 6.498.974 12.995 1.624 19.818 1.624 9.421 0 18.843-1.3 27.614-3.573-48.081-9.747-84.143-51.98-84.143-102.985v-1.299c13.969 7.797 30.214 12.67 47.431 13.319-28.264-18.843-46.781-51.005-46.781-87.391 0-19.492 5.197-37.36 14.294-52.954 51.655 63.675 129.3 105.258 216.365 109.807-1.624-7.797-2.599-15.918-2.599-24.04 0-57.828 46.782-104.934 104.934-104.934 30.213 0 57.502 12.67 76.67 33.137 23.715-4.548 46.456-13.32 66.599-25.34-7.798 24.366-24.366 44.833-46.132 57.827 21.117-2.273 41.584-8.122 60.426-16.243-14.292 20.791-32.161 39.308-52.628 54.253z"]};Me.library.add(C.faChartPie,C.faCheck,C.faCheckCircle,C.faChevronDown,C.faChevronLeft,C.faChevronRight,C.faChevronUp,C.faCircleNotch,C.faClipboard,C.faCog,C.faDoorOpen,C.faEllipsisH,C.faEnvelope,C.faExclamationTriangle,C.faFingerprint,C.faGlobe,C.faHandPointRight,C.faInfoCircle,C.faPencilAlt,C.faPlayCircle,C.faPlus,C.faPlusCircle,C.faRobot,C.faSave,C.faShieldAlt,C.faTimes,C.faTrash,C.faUser,C.faUserShield,Qt,Gt,Yt,Jt,Xt);var Ze=[...Object.keys(Me.library.definitions.fas)].sort();const $e=[...Object.keys(Me.library.definitions.fab)].sort(),j=r.defineComponent({props:{name:{default:"user"}},setup(e){const t=e,n=r.computed(()=>$e.includes(t.name)?"fab":"fas"),o=r.computed(()=>Ze.includes(t.name)||$e.includes(t.name)?!0:(console.warn("could not load icon, because it is not available",t.name),!1));return(i,a)=>r.unref(o)?(r.openBlock(),r.createBlock(r.unref(P.FontAwesomeIcon),r.mergeProps({key:0,icon:[r.unref(n),e.name]},i.$attrs),null,16,["icon"])):r.createCommentVNode("",!0)}}),Zt=["aria-label","tabindex"],en={key:0,class:"absolute inset-0 flex items-center justify-center"},tn=r.defineComponent({props:{label:null,size:{default:"medium"},color:{default:"primary"},isLoading:{type:Boolean,default:!1},isDisabled:{type:Boolean,default:!1},icon:null,iconPosition:{default:"right"}},emits:["onClick"],setup(e,{emit:t}){const n=e,o=r.computed(()=>{const c={"text-white bg-blue-600 border-transparent hover:bg-blue-700 active:bg-blue-700 dark:ring-blue-800 ring-offset-2 dark:ring-offset-grey-900":n.color==="primary","text-blue-600 bg-grey-100 border-transparent hover:bg-blue-100 hover:text-blue-700 active:bg-grey-100 ring-blue-300 ring-offset-2 dark:ring-offset-grey-900":n.color==="light","text-grey-50 bg-grey-700 border-transparent hover:bg-grey-800 active:bg-grey-700 ring-grey-500 dark:ring-grey-400 dark:ring-opacity-50 ring-offset-2 dark:ring-offset-grey-900":n.color==="dark"},s={"pointer-events-none opacity-75 cursor-not-allowed":n.isDisabled},l={"px-4 py-1 text-xs leading-5 mono-100 rounded-lg":n.size==="small","px-5 py-2 text-sm leading-4 font-medium rounded-lg":n.size==="medium","px-8 py-3 text-base leading-6 font-medium rounded-lg":n.size==="large"};return J(J(J({},c),s),l)}),i=r.computed(()=>{const c={"mr-2 -ml-1":["small","medium"].includes(n.size)&&n.iconPosition==="left","mr-4 -ml-2":["large"].includes(n.size)&&n.iconPosition==="left"},s={"ml-3 -mr-1":["small","medium"].includes(n.size)&&n.iconPosition==="right","ml-3 -mr-3":["large"].includes(n.size)&&n.iconPosition==="right"},l={"text-white":n.color==="primary","text-blue-600":n.color==="light","text-grey-50":n.color==="dark"};return J(J(J({},c),s),l)});function a(){n.isDisabled||t("onClick")}return(c,s)=>(r.openBlock(),r.createElementBlock("button",{class:r.normalizeClass(["relative inline-flex items-center focus:outline-none focus:ring active:ring transition duration-150 ease-in-out",r.unref(o)]),type:"button","aria-label":e.label,tabindex:e.isDisabled?"-1":void 0,onClick:a},[r.createElementVNode("div",{class:r.normalizeClass(!e.isLoading||"invisible")},[e.icon&&e.iconPosition==="left"?(r.openBlock(),r.createBlock(j,{key:0,name:e.icon,class:r.normalizeClass(r.unref(i))},null,8,["name","class"])):r.createCommentVNode("",!0),r.createElementVNode("span",null,r.toDisplayString(e.label),1),e.icon&&e.iconPosition==="right"?(r.openBlock(),r.createBlock(j,{key:1,name:e.icon,class:r.normalizeClass(r.unref(i))},null,8,["name","class"])):r.createCommentVNode("",!0)],2),e.isLoading?(r.openBlock(),r.createElementBlock("span",en,[r.createVNode(j,{class:"animate-spin",name:"circle-notch"})])):r.createCommentVNode("",!0)],10,Zt))}});var xe,nn=new Uint8Array(16);function rn(){if(!xe&&(xe=typeof crypto!="undefined"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||typeof msCrypto!="undefined"&&typeof msCrypto.getRandomValues=="function"&&msCrypto.getRandomValues.bind(msCrypto),!xe))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return xe(nn)}var on=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;function an(e){return typeof e=="string"&&on.test(e)}for(var V=[],Le=0;Le<256;++Le)V.push((Le+256).toString(16).substr(1));function ln(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,n=(V[e[t+0]]+V[e[t+1]]+V[e[t+2]]+V[e[t+3]]+"-"+V[e[t+4]]+V[e[t+5]]+"-"+V[e[t+6]]+V[e[t+7]]+"-"+V[e[t+8]]+V[e[t+9]]+"-"+V[e[t+10]]+V[e[t+11]]+V[e[t+12]]+V[e[t+13]]+V[e[t+14]]+V[e[t+15]]).toLowerCase();if(!an(n))throw TypeError("Stringified UUID is invalid");return n}function et(e,t,n){e=e||{};var o=e.random||(e.rng||rn)();if(o[6]=o[6]&15|64,o[8]=o[8]&63|128,t){n=n||0;for(var i=0;i<16;++i)t[n+i]=o[i];return t}return ln(o)}const sn={class:"relative flex items-start"},cn={class:"flex items-center h-5"},un=["checked","id"],fn={class:"ml-2 text-sm leading-5"},dn=["for"],pn={key:0,class:"text-grey-700 dark:text-grey-400 mono-0 casual-60"},mn=r.defineComponent({props:{id:{default:et()},label:null,modelValue:{type:Boolean},description:null},emits:["update:modelValue"],setup(e,{emit:t}){const n=o=>{t("update:modelValue",o.target.checked)};return(o,i)=>(r.openBlock(),r.createElementBlock("div",sn,[r.createElementVNode("div",cn,[r.createElementVNode("input",{class:"h-4 w-4 border-grey-600 dark:text-blue-500 dark:border-grey-300 dark:checked:border-blue-500 dark:focus:ring-blue-900 dark:focus:ring-offset-grey-800 rounded-sm",type:"checkbox",checked:e.modelValue,onChange:n,id:e.id},null,40,un)]),r.createElementVNode("div",fn,[r.createElementVNode("label",{for:e.id,class:"font-medium text-grey-900 dark:text-grey-200 casual-25"},r.toDisplayString(e.label),9,dn),e.description?(r.openBlock(),r.createElementBlock("p",pn,r.toDisplayString(e.description),1)):r.createCommentVNode("",!0)])]))}}),hn={},Ne=()=>{},de=Object.assign,bn=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Q=Array.isArray,gn=e=>je(e)==="[object Map]",vn=e=>je(e)==="[object Set]",A=e=>typeof e=="function",yn=e=>typeof e=="string",xn=e=>typeof e=="symbol",tt=e=>e!==null&&typeof e=="object",wn=e=>tt(e)&&A(e.then)&&A(e.catch),kn=Object.prototype.toString,je=e=>kn.call(e),Cn=e=>je(e)==="[object Object]",nt=(e,t)=>!Object.is(e,t),Sn=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})};let On;function En(e,t){t=t||On,t&&t.active&&t.effects.push(e)}const In=e=>{const t=new Set(e);return t.w=0,t.n=0,t},rt=e=>(e.w&F)>0,ot=e=>(e.n&F)>0,Vn=({deps:e})=>{if(e.length)for(let t=0;t<e.length;t++)e[t].w|=F},Bn=e=>{const{deps:t}=e;if(t.length){let n=0;for(let o=0;o<t.length;o++){const i=t[o];rt(i)&&!ot(i)?i.delete(e):t[n++]=i,i.w&=~F,i.n&=~F}t.length=n}};let pe=0,F=1;const Ae=30,Z=[];let q;class it{constructor(t,n=null,o){this.fn=t,this.scheduler=n,this.active=!0,this.deps=[],En(this,o)}run(){if(!this.active)return this.fn();if(!Z.length||!Z.includes(this))try{return Z.push(q=this),Rn(),F=1<<++pe,pe<=Ae?Vn(this):at(this),this.fn()}finally{pe<=Ae&&Bn(this),F=1<<--pe,Pn(),Z.pop();const t=Z.length;q=t>0?Z[t-1]:void 0}}stop(){this.active&&(at(this),this.onStop&&this.onStop(),this.active=!1)}}function at(e){const{deps:t}=e;if(t.length){for(let n=0;n<t.length;n++)t[n].delete(e);t.length=0}}let we=!0;const lt=[];function Rn(){lt.push(we),we=!0}function Pn(){const e=lt.pop();we=e===void 0?!0:e}function Tn(){return we&&q!==void 0}function Dn(e,t){let n=!1;pe<=Ae?ot(e)||(e.n|=F,n=!rt(e)):n=!e.has(q),n&&(e.add(q),q.deps.push(e))}function Mn(e,t){for(const n of Q(e)?e:[...e])(n!==q||n.allowRecurse)&&(n.scheduler?n.scheduler():n.run())}new Set(Object.getOwnPropertyNames(Symbol).map(e=>Symbol[e]).filter(xn));function me(e){return $n(e)?me(e.__v_raw):!!(e&&e.__v_isReactive)}function $n(e){return!!(e&&e.__v_isReadonly)}function Ln(e){return!!(e&&e.__v_isShallow)}function ke(e){const t=e&&e.__v_raw;return t?ke(t):e}function Nn(e){return Sn(e,"__v_skip",!0),e}function jn(e){Tn()&&(e=ke(e),e.dep||(e.dep=In()),Dn(e.dep))}function An(e,t){e=ke(e),e.dep&&Mn(e.dep)}function ee(e){return Boolean(e&&e.__v_isRef===!0)}function _n(e){return ee(e)?e.value:e}const zn={get:(e,t,n)=>_n(Reflect.get(e,t,n)),set:(e,t,n,o)=>{const i=e[t];return ee(i)&&!ee(n)?(i.value=n,!0):Reflect.set(e,t,n,o)}};function Un(e){return me(e)?e:new Proxy(e,zn)}class Fn{constructor(t,n,o,i){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this._dirty=!0,this.effect=new it(t,()=>{this._dirty||(this._dirty=!0,An(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!i,this.__v_isReadonly=o}get value(){const t=ke(this);return jn(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}function Hn(e,t,n=!1){let o,i;const a=A(e);return a?(o=e,i=Ne):(o=e.get,i=e.set),new Fn(o,i,a||!i,n)}Promise.resolve();function te(e,t,n,o){let i;try{i=o?e(...o):e()}catch(a){st(a,t,n)}return i}function _e(e,t,n,o){if(A(e)){const a=te(e,t,n,o);return a&&wn(a)&&a.catch(c=>{st(c,t,n)}),a}const i=[];for(let a=0;a<e.length;a++)i.push(_e(e[a],t,n,o));return i}function st(e,t,n,o=!0){const i=t?t.vnode:null;if(t){let a=t.parent;const c=t.proxy,s=n;for(;a;){const f=a.ec;if(f){for(let u=0;u<f.length;u++)if(f[u](e,c,s)===!1)return}a=a.parent}const l=t.appContext.config.errorHandler;if(l){te(l,null,10,[e,c,s]);return}}Wn(e,n,i,o)}function Wn(e,t,n,o=!0){console.error(e)}let Ce=!1,ze=!1;const D=[];let H=0;const he=[];let be=null,ne=0;const ge=[];let W=null,re=0;const ct=Promise.resolve();let Ue=null,Fe=null;function Kn(e){const t=Ue||ct;return e?t.then(this?e.bind(this):e):t}function qn(e){let t=H+1,n=D.length;for(;t<n;){const o=t+n>>>1;ve(D[o])<e?t=o+1:n=o}return t}function Xn(e){(!D.length||!D.includes(e,Ce&&e.allowRecurse?H+1:H))&&e!==Fe&&(e.id==null?D.push(e):D.splice(qn(e.id),0,e),ut())}function ut(){!Ce&&!ze&&(ze=!0,Ue=ct.then(pt))}function ft(e,t,n,o){Q(e)?n.push(...e):(!t||!t.includes(e,e.allowRecurse?o+1:o))&&n.push(e),ut()}function Yn(e){ft(e,be,he,ne)}function Gn(e){ft(e,W,ge,re)}function dt(e,t=null){if(he.length){for(Fe=t,be=[...new Set(he)],he.length=0,ne=0;ne<be.length;ne++)be[ne]();be=null,ne=0,Fe=null,dt(e,t)}}function Jn(e){if(ge.length){const t=[...new Set(ge)];if(ge.length=0,W){W.push(...t);return}for(W=t,W.sort((n,o)=>ve(n)-ve(o)),re=0;re<W.length;re++)W[re]();W=null,re=0}}const ve=e=>e.id==null?1/0:e.id;function pt(e){ze=!1,Ce=!0,dt(e),D.sort((n,o)=>ve(n)-ve(o));const t=Ne;try{for(H=0;H<D.length;H++){const n=D[H];n&&n.active!==!1&&te(n,null,14)}}finally{H=0,D.length=0,Jn(),Ce=!1,Ue=null,(D.length||he.length||ge.length)&&pt(e)}}function Qn(e,t){t&&t.pendingBranch?Q(e)?t.effects.push(...e):t.effects.push(e):Gn(e)}const mt={};function Zn(e,t,{immediate:n,deep:o,flush:i,onTrack:a,onTrigger:c}=hn){const s=ie;let l,f=!1,u=!1;if(ee(e)?(l=()=>e.value,f=Ln(e)):me(e)?(l=()=>e,o=!0):Q(e)?(u=!0,f=e.some(me),l=()=>e.map(b=>{if(ee(b))return b.value;if(me(b))return oe(b);if(A(b))return te(b,s,2)})):A(e)?t?l=()=>te(e,s,2):l=()=>{if(!(s&&s.isUnmounted))return g&&g(),_e(e,s,3,[v])}:l=Ne,t&&o){const b=l;l=()=>oe(b())}let g,v=b=>{g=m.onStop=()=>{te(b,s,4)}},p=u?[]:mt;const h=()=>{if(!!m.active)if(t){const b=m.run();(o||f||(u?b.some((O,S)=>nt(O,p[S])):nt(b,p)))&&(g&&g(),_e(t,s,3,[b,p===mt?void 0:p,v]),p=b)}else m.run()};h.allowRecurse=!!t;let d;i==="sync"?d=h:i==="post"?d=()=>gt(h,s&&s.suspense):d=()=>{!s||s.isMounted?Yn(h):h()};const m=new it(l,d);return t?n?h():p=m.run():i==="post"?gt(m.run.bind(m),s&&s.suspense):m.run(),()=>{m.stop(),s&&s.scope&&bn(s.scope.effects,m)}}function er(e,t,n){const o=this.proxy,i=yn(e)?e.includes(".")?tr(o,e):()=>o[e]:e.bind(o,o);let a;A(t)?a=t:(a=t.handler,n=t);const c=ie;yt(this);const s=Zn(i,a.bind(o),n);return c?yt(c):ar(),s}function tr(e,t){const n=t.split(".");return()=>{let o=e;for(let i=0;i<n.length&&o;i++)o=o[n[i]];return o}}function oe(e,t){if(!tt(e)||e.__v_skip||(t=t||new Set,t.has(e)))return e;if(t.add(e),ee(e))oe(e.value,t);else if(Q(e))for(let n=0;n<e.length;n++)oe(e[n],t);else if(vn(e)||gn(e))e.forEach(n=>{oe(n,t)});else if(Cn(e))for(const n in e)oe(e[n],t);return e}function nr(e){const t=e.type,{mixins:n,extends:o}=t,{mixins:i,optionsCache:a,config:{optionMergeStrategies:c}}=e.appContext,s=a.get(t);let l;return s?l=s:!i.length&&!n&&!o?l=t:(l={},i.length&&i.forEach(f=>Se(l,f,c,!0)),Se(l,t,c)),a.set(t,l),l}function Se(e,t,n,o=!1){const{mixins:i,extends:a}=t;a&&Se(e,a,n,!0),i&&i.forEach(c=>Se(e,c,n,!0));for(const c in t)if(!(o&&c==="expose")){const s=rr[c]||n&&n[c];e[c]=s?s(e[c],t[c]):t[c]}return e}const rr={data:ht,props:X,emits:X,methods:X,computed:X,beforeCreate:R,created:R,beforeMount:R,mounted:R,beforeUpdate:R,updated:R,beforeDestroy:R,beforeUnmount:R,destroyed:R,unmounted:R,activated:R,deactivated:R,errorCaptured:R,serverPrefetch:R,components:X,directives:X,watch:ir,provide:ht,inject:or};function ht(e,t){return t?e?function(){return de(A(e)?e.call(this,this):e,A(t)?t.call(this,this):t)}:t:e}function or(e,t){return X(bt(e),bt(t))}function bt(e){if(Q(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function R(e,t){return e?[...new Set([].concat(e,t))]:t}function X(e,t){return e?de(de(Object.create(null),e),t):t}function ir(e,t){if(!e)return t;if(!t)return e;const n=de(Object.create(null),e);for(const o in t)n[o]=R(e[o],t[o]);return n}const gt=Qn,He=e=>e?lr(e)?cr(e)||e.proxy:He(e.parent):null,vt=de(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>He(e.parent),$root:e=>He(e.root),$emit:e=>e.emit,$options:e=>nr(e),$forceUpdate:e=>()=>Xn(e.update),$nextTick:e=>Kn.bind(e.proxy),$watch:e=>er.bind(e)});let ie=null;const yt=e=>{ie=e,e.scope.on()},ar=()=>{ie&&ie.scope.off(),ie=null};function lr(e){return e.vnode.shapeFlag&4}let sr=!1;function cr(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(Un(Nn(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in vt)return vt[n](e)}}))}const We=(e,t)=>Hn(e,t,sr);function xt(e){const t=We(()=>({"pl-3 pr-10 py-1":!e.icon&&e.size==="small","pl-4 pr-10 py-3":!e.icon&&e.size==="medium","pl-6 pr-10 py-3":!e.icon&&e.size==="large","pl-10 pr-10 py-1":e.icon&&e.size==="small","pl-12 pr-10 py-3":e.icon&&(e.size==="medium"||e.size==="large"),"w-full block":e.block===!0})),n=We(()=>({"pointer-events-none opacity-50 cursor-not-allowed":e.isDisabled})),o=We(()=>({"text-xs leading-4":e.size==="small","text-sm leading-4":e.size==="medium","text-base leading-5":e.size==="large"}));return{inputClasses:t,disabledClasses:n,textSizeClasses:o}}const ur={class:"relative"},fr=["placeholder","type","tabindex","value"],dr=r.defineComponent({props:{modelValue:null,type:{default:"text"},placeholder:null,size:{default:"medium"},icon:null,isDisabled:{type:Boolean,default:!1},block:{type:Boolean}},emits:["update:modelValue"],setup(e,{emit:t}){const n=e,{inputClasses:o,disabledClasses:i,textSizeClasses:a}=xt(n),c=function(s){t("update:modelValue",(s==null?void 0:s.target).value)};return(s,l)=>(r.openBlock(),r.createElementBlock("div",ur,[r.createElementVNode("input",{class:r.normalizeClass(["mono-50 bg-grey-50 text-grey-800 placeholder-grey-600 border-grey-300 dark:bg-grey-800 dark:text-grey-100 dark:placeholder-grey-400 dark:border-grey-700 focus:border-blue-400 focus:ring-blue-400 dark:focus:border-blue-800 dark:focus:ring-blue-800 rounded",[r.unref(o),r.unref(a),r.unref(i)]]),placeholder:e.placeholder,type:e.type,tabindex:e.isDisabled?"-1":void 0,value:e.modelValue,onInput:c},null,42,fr),e.icon?(r.openBlock(),r.createElementBlock("span",{key:0,class:r.normalizeClass(["absolute left-0 inset-y-0 inline-flex items-center justify-center text-grey-700 dark:text-grey-100 px-4",r.unref(a)])},[r.createVNode(j,{name:e.icon},null,8,["name"])],2)):r.createCommentVNode("",!0)]))}}),pr={class:"inline-block text-blue-900 text-sm font-medium"},mr=["for"],hr={key:0,class:"block text-xs text-grey-400"},br=r.defineComponent({props:{id:null,label:null,description:null},setup(e){return(t,n)=>(r.openBlock(),r.createElementBlock("span",pr,[r.createElementVNode("label",{for:e.id},r.toDisplayString(e.label),9,mr),e.description?(r.openBlock(),r.createElementBlock("span",hr,r.toDisplayString(e.description),1)):r.createCommentVNode("",!0)]))}});function M(){return M=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},M.apply(this,arguments)}function wt(e,t){if(e==null)return{};var n={},o=Object.keys(e),i,a;for(a=0;a<o.length;a++)i=o[a],!(t.indexOf(i)>=0)&&(n[i]=e[i]);return n}function gr(e,t){if(!!e){if(typeof e=="string")return kt(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return kt(e,t)}}function kt(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}function vr(e,t){var n;if(typeof Symbol=="undefined"||e[Symbol.iterator]==null){if(Array.isArray(e)||(n=gr(e))||t&&e&&typeof e.length=="number"){n&&(e=n);var o=0;return function(){return o>=e.length?{done:!0}:{done:!1,value:e[o++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
5
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}return n=e[Symbol.iterator](),n.next.bind(n)}function ae(e,t){if(e in t){for(var n=t[e],o=arguments.length,i=new Array(o>2?o-2:0),a=2;a<o;a++)i[a-2]=arguments[a];return typeof n=="function"?n.apply(void 0,i):n}var c=new Error('Tried to handle "'+e+'" but there is no handler defined. Only defined handlers are: '+Object.keys(t).map(function(s){return'"'+s+'"'}).join(", ")+".");throw Error.captureStackTrace&&Error.captureStackTrace(c,ae),c}var _;(function(e){e[e.None=0]="None",e[e.RenderStrategy=1]="RenderStrategy",e[e.Static=2]="Static"})(_||(_={}));var le;(function(e){e[e.Unmount=0]="Unmount",e[e.Hidden=1]="Hidden"})(le||(le={}));function z(e){var t=e.visible,n=t===void 0?!0:t,o=e.features,i=o===void 0?_.None:o,a=wt(e,["visible","features"]);if(n||i&_.Static&&a.props.static)return Oe(a);if(i&_.RenderStrategy){var c,s,l=((c=a.props.unmount)!=null?c:!0)?le.Unmount:le.Hidden;return ae(l,(s={},s[le.Unmount]=function(){return null},s[le.Hidden]=function(){return Oe(M({},a,{props:M({},a.props,{hidden:!0,style:{display:"none"}})}))},s))}return Oe(a)}function Oe(e){var t=e.props,n=e.attrs,o=e.slots,i=e.slot,a=e.name,c=Ct(t,["unmount","static"]),s=c.as,l=wt(c,["as"]),f=o.default==null?void 0:o.default(i);if(s==="template"){if(Object.keys(l).length>0||Object.keys(n).length>0){var u=f!=null?f:[],g=u[0],v=u.slice(1);if(!yr(g)||v.length>0)throw new Error(['Passing props on "template"!',"","The current component <"+a+' /> is rendering a "template".',"However we need to passthrough the following props:",Object.keys(l).concat(Object.keys(n)).map(function(p){return" - "+p}).join(`
4
+ */var Xt={prefix:"fab",iconName:"facebook",icon:[512,512,[],"f09a","M504 256C504 119 393 8 256 8S8 119 8 256c0 123.78 90.69 226.38 209.25 245V327.69h-63V256h63v-54.64c0-62.15 37-96.48 93.67-96.48 27.14 0 55.52 4.84 55.52 4.84v61h-31.28c-30.8 0-40.41 19.12-40.41 38.73V256h68.78l-11 71.69h-57.78V501C413.31 482.38 504 379.78 504 256z"]},Yt={prefix:"fab",iconName:"github",icon:[496,512,[],"f09b","M165.9 397.4c0 2-2.3 3.6-5.2 3.6-3.3.3-5.6-1.3-5.6-3.6 0-2 2.3-3.6 5.2-3.6 3-.3 5.6 1.3 5.6 3.6zm-31.1-4.5c-.7 2 1.3 4.3 4.3 4.9 2.6 1 5.6 0 6.2-2s-1.3-4.3-4.3-5.2c-2.6-.7-5.5.3-6.2 2.3zm44.2-1.7c-2.9.7-4.9 2.6-4.6 4.9.3 2 2.9 3.3 5.9 2.6 2.9-.7 4.9-2.6 4.6-4.6-.3-1.9-3-3.2-5.9-2.9zM244.8 8C106.1 8 0 113.3 0 252c0 110.9 69.8 205.8 169.5 239.2 12.8 2.3 17.3-5.6 17.3-12.1 0-6.2-.3-40.4-.3-61.4 0 0-70 15-84.7-29.8 0 0-11.4-29.1-27.8-36.6 0 0-22.9-15.7 1.6-15.4 0 0 24.9 2 38.6 25.8 21.9 38.6 58.6 27.5 72.9 20.9 2.3-16 8.8-27.1 16-33.7-55.9-6.2-112.3-14.3-112.3-110.5 0-27.5 7.6-41.3 23.6-58.9-2.6-6.5-11.1-33.3 2.6-67.9 20.9-6.5 69 27 69 27 20-5.6 41.5-8.5 62.8-8.5s42.8 2.9 62.8 8.5c0 0 48.1-33.6 69-27 13.7 34.7 5.2 61.4 2.6 67.9 16 17.7 25.8 31.5 25.8 58.9 0 96.5-58.9 104.2-114.8 110.5 9.2 7.9 17 22.9 17 46.4 0 33.7-.3 75.4-.3 83.6 0 6.5 4.6 14.4 17.3 12.1C428.2 457.8 496 362.9 496 252 496 113.3 383.5 8 244.8 8zM97.2 352.9c-1.3 1-1 3.3.7 5.2 1.6 1.6 3.9 2.3 5.2 1 1.3-1 1-3.3-.7-5.2-1.6-1.6-3.9-2.3-5.2-1zm-10.8-8.1c-.7 1.3.3 2.9 2.3 3.9 1.6 1 3.6.7 4.3-.7.7-1.3-.3-2.9-2.3-3.9-2-.6-3.6-.3-4.3.7zm32.4 35.6c-1.6 1.3-1 4.3 1.3 6.2 2.3 2.3 5.2 2.6 6.5 1 1.3-1.3.7-4.3-1.3-6.2-2.2-2.3-5.2-2.6-6.5-1zm-11.4-14.7c-1.6 1-1.6 3.6 0 5.9 1.6 2.3 4.3 3.3 5.6 2.3 1.6-1.3 1.6-3.9 0-6.2-1.4-2.3-4-3.3-5.6-2z"]},Gt={prefix:"fab",iconName:"instagram",icon:[448,512,[],"f16d","M224.1 141c-63.6 0-114.9 51.3-114.9 114.9s51.3 114.9 114.9 114.9S339 319.5 339 255.9 287.7 141 224.1 141zm0 189.6c-41.1 0-74.7-33.5-74.7-74.7s33.5-74.7 74.7-74.7 74.7 33.5 74.7 74.7-33.6 74.7-74.7 74.7zm146.4-194.3c0 14.9-12 26.8-26.8 26.8-14.9 0-26.8-12-26.8-26.8s12-26.8 26.8-26.8 26.8 12 26.8 26.8zm76.1 27.2c-1.7-35.9-9.9-67.7-36.2-93.9-26.2-26.2-58-34.4-93.9-36.2-37-2.1-147.9-2.1-184.9 0-35.8 1.7-67.6 9.9-93.9 36.1s-34.4 58-36.2 93.9c-2.1 37-2.1 147.9 0 184.9 1.7 35.9 9.9 67.7 36.2 93.9s58 34.4 93.9 36.2c37 2.1 147.9 2.1 184.9 0 35.9-1.7 67.7-9.9 93.9-36.2 26.2-26.2 34.4-58 36.2-93.9 2.1-37 2.1-147.8 0-184.8zM398.8 388c-7.8 19.6-22.9 34.7-42.6 42.6-29.5 11.7-99.5 9-132.1 9s-102.7 2.6-132.1-9c-19.6-7.8-34.7-22.9-42.6-42.6-11.7-29.5-9-99.5-9-132.1s-2.6-102.7 9-132.1c7.8-19.6 22.9-34.7 42.6-42.6 29.5-11.7 99.5-9 132.1-9s102.7-2.6 132.1 9c19.6 7.8 34.7 22.9 42.6 42.6 11.7 29.5 9 99.5 9 132.1s2.7 102.7-9 132.1z"]},Jt={prefix:"fab",iconName:"linkedin",icon:[448,512,[],"f08c","M416 32H31.9C14.3 32 0 46.5 0 64.3v383.4C0 465.5 14.3 480 31.9 480H416c17.6 0 32-14.5 32-32.3V64.3c0-17.8-14.4-32.3-32-32.3zM135.4 416H69V202.2h66.5V416zm-33.2-243c-21.3 0-38.5-17.3-38.5-38.5S80.9 96 102.2 96c21.2 0 38.5 17.3 38.5 38.5 0 21.3-17.2 38.5-38.5 38.5zm282.1 243h-66.4V312c0-24.8-.5-56.7-34.5-56.7-34.6 0-39.9 27-39.9 54.9V416h-66.4V202.2h63.7v29.2h.9c8.9-16.8 30.6-34.5 62.9-34.5 67.2 0 79.7 44.3 79.7 101.9V416z"]},Qt={prefix:"fab",iconName:"twitter",icon:[512,512,[],"f099","M459.37 151.716c.325 4.548.325 9.097.325 13.645 0 138.72-105.583 298.558-298.558 298.558-59.452 0-114.68-17.219-161.137-47.106 8.447.974 16.568 1.299 25.34 1.299 49.055 0 94.213-16.568 130.274-44.832-46.132-.975-84.792-31.188-98.112-72.772 6.498.974 12.995 1.624 19.818 1.624 9.421 0 18.843-1.3 27.614-3.573-48.081-9.747-84.143-51.98-84.143-102.985v-1.299c13.969 7.797 30.214 12.67 47.431 13.319-28.264-18.843-46.781-51.005-46.781-87.391 0-19.492 5.197-37.36 14.294-52.954 51.655 63.675 129.3 105.258 216.365 109.807-1.624-7.797-2.599-15.918-2.599-24.04 0-57.828 46.782-104.934 104.934-104.934 30.213 0 57.502 12.67 76.67 33.137 23.715-4.548 46.456-13.32 66.599-25.34-7.798 24.366-24.366 44.833-46.132 57.827 21.117-2.273 41.584-8.122 60.426-16.243-14.292 20.791-32.161 39.308-52.628 54.253z"]};Me.library.add(C.faChartPie,C.faCheck,C.faCheckCircle,C.faChevronDown,C.faChevronLeft,C.faChevronRight,C.faChevronUp,C.faCircleNotch,C.faClipboard,C.faCog,C.faDoorOpen,C.faEllipsisH,C.faEnvelope,C.faExclamationTriangle,C.faFingerprint,C.faGlobe,C.faHandPointRight,C.faInfoCircle,C.faPencilAlt,C.faPlayCircle,C.faPlus,C.faPlusCircle,C.faRobot,C.faSave,C.faShieldAlt,C.faTimes,C.faTrash,C.faUser,C.faUserShield,Qt,Gt,Yt,Jt,Xt);var Ze=[...Object.keys(Me.library.definitions.fas)].sort();const $e=[...Object.keys(Me.library.definitions.fab)].sort(),j=r.defineComponent({props:{name:{default:"user"}},setup(e){const t=e,n=r.computed(()=>$e.includes(t.name)?"fab":"fas"),o=r.computed(()=>Ze.includes(t.name)||$e.includes(t.name)?!0:(console.warn("could not load icon, because it is not available",t.name),!1));return(i,a)=>r.unref(o)?(r.openBlock(),r.createBlock(r.unref(P.FontAwesomeIcon),r.mergeProps({key:0,icon:[r.unref(n),e.name]},i.$attrs),null,16,["icon"])):r.createCommentVNode("",!0)}}),Zt=["aria-label","tabindex"],en={key:0,class:"absolute inset-0 flex items-center justify-center"},tn=r.defineComponent({props:{label:null,size:{default:"medium"},color:{default:"primary"},isLoading:{type:Boolean,default:!1},isDisabled:{type:Boolean,default:!1},icon:null,iconPosition:{default:"right"}},emits:["onClick"],setup(e,{emit:t}){const n=e,o=r.computed(()=>{const c={"text-white bg-blue-600 border-transparent hover:bg-blue-700 active:bg-blue-700 dark:ring-blue-800 ring-offset-2 dark:ring-offset-grey-900":n.color==="primary","text-blue-600 bg-grey-100 border-transparent hover:bg-blue-100 hover:text-blue-700 active:bg-grey-100 ring-blue-300 ring-offset-2 dark:ring-offset-grey-900":n.color==="light","text-grey-50 bg-grey-700 border-transparent hover:bg-grey-800 active:bg-grey-700 ring-grey-500 dark:ring-grey-400 dark:ring-opacity-50 ring-offset-2 dark:ring-offset-grey-900":n.color==="dark"},s={"pointer-events-none opacity-75 cursor-not-allowed":n.isDisabled},l={"px-4 py-1 text-xs leading-5 mono-100 rounded-lg":n.size==="small","px-5 py-2 text-sm leading-4 font-medium rounded-lg":n.size==="medium","px-8 py-3 text-base leading-6 font-medium rounded-lg":n.size==="large"};return J(J(J({},c),s),l)}),i=r.computed(()=>{const c={"mr-2 -ml-1":["small","medium"].includes(n.size)&&n.iconPosition==="left","mr-4 -ml-2":["large"].includes(n.size)&&n.iconPosition==="left"},s={"ml-3 -mr-1":["small","medium"].includes(n.size)&&n.iconPosition==="right","ml-3 -mr-3":["large"].includes(n.size)&&n.iconPosition==="right"},l={"text-white":n.color==="primary","text-blue-600":n.color==="light","text-grey-50":n.color==="dark"};return J(J(J({},c),s),l)});function a(){n.isDisabled||t("onClick")}return(c,s)=>(r.openBlock(),r.createElementBlock("button",{class:r.normalizeClass(["relative inline-flex items-center focus:outline-none focus:ring active:ring transition duration-150 ease-in-out",r.unref(o)]),type:"button","aria-label":e.label,tabindex:e.isDisabled?"-1":void 0,onClick:a},[r.createElementVNode("div",{class:r.normalizeClass(!e.isLoading||"invisible")},[e.icon&&e.iconPosition==="left"?(r.openBlock(),r.createBlock(j,{key:0,name:e.icon,class:r.normalizeClass(r.unref(i))},null,8,["name","class"])):r.createCommentVNode("",!0),r.createElementVNode("span",null,r.toDisplayString(e.label),1),e.icon&&e.iconPosition==="right"?(r.openBlock(),r.createBlock(j,{key:1,name:e.icon,class:r.normalizeClass(r.unref(i))},null,8,["name","class"])):r.createCommentVNode("",!0)],2),e.isLoading?(r.openBlock(),r.createElementBlock("span",en,[r.createVNode(j,{class:"animate-spin",name:"circle-notch"})])):r.createCommentVNode("",!0)],10,Zt))}});var xe,nn=new Uint8Array(16);function rn(){if(!xe&&(xe=typeof crypto!="undefined"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||typeof msCrypto!="undefined"&&typeof msCrypto.getRandomValues=="function"&&msCrypto.getRandomValues.bind(msCrypto),!xe))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return xe(nn)}var on=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;function an(e){return typeof e=="string"&&on.test(e)}for(var V=[],Le=0;Le<256;++Le)V.push((Le+256).toString(16).substr(1));function ln(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,n=(V[e[t+0]]+V[e[t+1]]+V[e[t+2]]+V[e[t+3]]+"-"+V[e[t+4]]+V[e[t+5]]+"-"+V[e[t+6]]+V[e[t+7]]+"-"+V[e[t+8]]+V[e[t+9]]+"-"+V[e[t+10]]+V[e[t+11]]+V[e[t+12]]+V[e[t+13]]+V[e[t+14]]+V[e[t+15]]).toLowerCase();if(!an(n))throw TypeError("Stringified UUID is invalid");return n}function et(e,t,n){e=e||{};var o=e.random||(e.rng||rn)();if(o[6]=o[6]&15|64,o[8]=o[8]&63|128,t){n=n||0;for(var i=0;i<16;++i)t[n+i]=o[i];return t}return ln(o)}const sn={class:"relative flex items-start"},cn={class:"flex items-center h-5"},un=["checked","id"],dn={class:"ml-2 text-sm leading-5"},fn=["for"],pn={key:0,class:"text-grey-700 dark:text-grey-400 mono-0 casual-60"},mn=r.defineComponent({props:{id:{default:et()},label:null,modelValue:{type:Boolean},description:null},emits:["update:modelValue"],setup(e,{emit:t}){const n=o=>{t("update:modelValue",o.target.checked)};return(o,i)=>(r.openBlock(),r.createElementBlock("div",sn,[r.createElementVNode("div",cn,[r.createElementVNode("input",{class:"h-4 w-4 border-grey-600 dark:text-blue-500 dark:border-grey-300 dark:checked:border-blue-500 dark:focus:ring-blue-900 dark:focus:ring-offset-grey-800 rounded-sm",type:"checkbox",checked:e.modelValue,onChange:n,id:e.id},null,40,un)]),r.createElementVNode("div",dn,[r.createElementVNode("label",{for:e.id,class:"font-medium text-grey-900 dark:text-grey-200 casual-25"},r.toDisplayString(e.label),9,fn),e.description?(r.openBlock(),r.createElementBlock("p",pn,r.toDisplayString(e.description),1)):r.createCommentVNode("",!0)])]))}}),hn={},Ne=()=>{},fe=Object.assign,bn=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Q=Array.isArray,gn=e=>je(e)==="[object Map]",vn=e=>je(e)==="[object Set]",A=e=>typeof e=="function",yn=e=>typeof e=="string",xn=e=>typeof e=="symbol",tt=e=>e!==null&&typeof e=="object",wn=e=>tt(e)&&A(e.then)&&A(e.catch),kn=Object.prototype.toString,je=e=>kn.call(e),Cn=e=>je(e)==="[object Object]",nt=(e,t)=>!Object.is(e,t),Sn=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})};let On;function En(e,t){t=t||On,t&&t.active&&t.effects.push(e)}const In=e=>{const t=new Set(e);return t.w=0,t.n=0,t},rt=e=>(e.w&F)>0,ot=e=>(e.n&F)>0,Vn=({deps:e})=>{if(e.length)for(let t=0;t<e.length;t++)e[t].w|=F},Bn=e=>{const{deps:t}=e;if(t.length){let n=0;for(let o=0;o<t.length;o++){const i=t[o];rt(i)&&!ot(i)?i.delete(e):t[n++]=i,i.w&=~F,i.n&=~F}t.length=n}};let pe=0,F=1;const Ae=30,Z=[];let q;class it{constructor(t,n=null,o){this.fn=t,this.scheduler=n,this.active=!0,this.deps=[],En(this,o)}run(){if(!this.active)return this.fn();if(!Z.length||!Z.includes(this))try{return Z.push(q=this),Rn(),F=1<<++pe,pe<=Ae?Vn(this):at(this),this.fn()}finally{pe<=Ae&&Bn(this),F=1<<--pe,Pn(),Z.pop();const t=Z.length;q=t>0?Z[t-1]:void 0}}stop(){this.active&&(at(this),this.onStop&&this.onStop(),this.active=!1)}}function at(e){const{deps:t}=e;if(t.length){for(let n=0;n<t.length;n++)t[n].delete(e);t.length=0}}let we=!0;const lt=[];function Rn(){lt.push(we),we=!0}function Pn(){const e=lt.pop();we=e===void 0?!0:e}function Tn(){return we&&q!==void 0}function Dn(e,t){let n=!1;pe<=Ae?ot(e)||(e.n|=F,n=!rt(e)):n=!e.has(q),n&&(e.add(q),q.deps.push(e))}function Mn(e,t){for(const n of Q(e)?e:[...e])(n!==q||n.allowRecurse)&&(n.scheduler?n.scheduler():n.run())}new Set(Object.getOwnPropertyNames(Symbol).map(e=>Symbol[e]).filter(xn));function me(e){return $n(e)?me(e.__v_raw):!!(e&&e.__v_isReactive)}function $n(e){return!!(e&&e.__v_isReadonly)}function Ln(e){return!!(e&&e.__v_isShallow)}function ke(e){const t=e&&e.__v_raw;return t?ke(t):e}function Nn(e){return Sn(e,"__v_skip",!0),e}function jn(e){Tn()&&(e=ke(e),e.dep||(e.dep=In()),Dn(e.dep))}function An(e,t){e=ke(e),e.dep&&Mn(e.dep)}function ee(e){return Boolean(e&&e.__v_isRef===!0)}function _n(e){return ee(e)?e.value:e}const zn={get:(e,t,n)=>_n(Reflect.get(e,t,n)),set:(e,t,n,o)=>{const i=e[t];return ee(i)&&!ee(n)?(i.value=n,!0):Reflect.set(e,t,n,o)}};function Un(e){return me(e)?e:new Proxy(e,zn)}class Fn{constructor(t,n,o,i){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this._dirty=!0,this.effect=new it(t,()=>{this._dirty||(this._dirty=!0,An(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!i,this.__v_isReadonly=o}get value(){const t=ke(this);return jn(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}function Hn(e,t,n=!1){let o,i;const a=A(e);return a?(o=e,i=Ne):(o=e.get,i=e.set),new Fn(o,i,a||!i,n)}Promise.resolve();function te(e,t,n,o){let i;try{i=o?e(...o):e()}catch(a){st(a,t,n)}return i}function _e(e,t,n,o){if(A(e)){const a=te(e,t,n,o);return a&&wn(a)&&a.catch(c=>{st(c,t,n)}),a}const i=[];for(let a=0;a<e.length;a++)i.push(_e(e[a],t,n,o));return i}function st(e,t,n,o=!0){const i=t?t.vnode:null;if(t){let a=t.parent;const c=t.proxy,s=n;for(;a;){const d=a.ec;if(d){for(let u=0;u<d.length;u++)if(d[u](e,c,s)===!1)return}a=a.parent}const l=t.appContext.config.errorHandler;if(l){te(l,null,10,[e,c,s]);return}}Wn(e,n,i,o)}function Wn(e,t,n,o=!0){console.error(e)}let Ce=!1,ze=!1;const D=[];let H=0;const he=[];let be=null,ne=0;const ge=[];let W=null,re=0;const ct=Promise.resolve();let Ue=null,Fe=null;function Kn(e){const t=Ue||ct;return e?t.then(this?e.bind(this):e):t}function qn(e){let t=H+1,n=D.length;for(;t<n;){const o=t+n>>>1;ve(D[o])<e?t=o+1:n=o}return t}function Xn(e){(!D.length||!D.includes(e,Ce&&e.allowRecurse?H+1:H))&&e!==Fe&&(e.id==null?D.push(e):D.splice(qn(e.id),0,e),ut())}function ut(){!Ce&&!ze&&(ze=!0,Ue=ct.then(pt))}function dt(e,t,n,o){Q(e)?n.push(...e):(!t||!t.includes(e,e.allowRecurse?o+1:o))&&n.push(e),ut()}function Yn(e){dt(e,be,he,ne)}function Gn(e){dt(e,W,ge,re)}function ft(e,t=null){if(he.length){for(Fe=t,be=[...new Set(he)],he.length=0,ne=0;ne<be.length;ne++)be[ne]();be=null,ne=0,Fe=null,ft(e,t)}}function Jn(e){if(ge.length){const t=[...new Set(ge)];if(ge.length=0,W){W.push(...t);return}for(W=t,W.sort((n,o)=>ve(n)-ve(o)),re=0;re<W.length;re++)W[re]();W=null,re=0}}const ve=e=>e.id==null?1/0:e.id;function pt(e){ze=!1,Ce=!0,ft(e),D.sort((n,o)=>ve(n)-ve(o));const t=Ne;try{for(H=0;H<D.length;H++){const n=D[H];n&&n.active!==!1&&te(n,null,14)}}finally{H=0,D.length=0,Jn(),Ce=!1,Ue=null,(D.length||he.length||ge.length)&&pt(e)}}function Qn(e,t){t&&t.pendingBranch?Q(e)?t.effects.push(...e):t.effects.push(e):Gn(e)}const mt={};function Zn(e,t,{immediate:n,deep:o,flush:i,onTrack:a,onTrigger:c}=hn){const s=ie;let l,d=!1,u=!1;if(ee(e)?(l=()=>e.value,d=Ln(e)):me(e)?(l=()=>e,o=!0):Q(e)?(u=!0,d=e.some(me),l=()=>e.map(b=>{if(ee(b))return b.value;if(me(b))return oe(b);if(A(b))return te(b,s,2)})):A(e)?t?l=()=>te(e,s,2):l=()=>{if(!(s&&s.isUnmounted))return g&&g(),_e(e,s,3,[v])}:l=Ne,t&&o){const b=l;l=()=>oe(b())}let g,v=b=>{g=m.onStop=()=>{te(b,s,4)}},p=u?[]:mt;const h=()=>{if(!!m.active)if(t){const b=m.run();(o||d||(u?b.some((O,S)=>nt(O,p[S])):nt(b,p)))&&(g&&g(),_e(t,s,3,[b,p===mt?void 0:p,v]),p=b)}else m.run()};h.allowRecurse=!!t;let f;i==="sync"?f=h:i==="post"?f=()=>gt(h,s&&s.suspense):f=()=>{!s||s.isMounted?Yn(h):h()};const m=new it(l,f);return t?n?h():p=m.run():i==="post"?gt(m.run.bind(m),s&&s.suspense):m.run(),()=>{m.stop(),s&&s.scope&&bn(s.scope.effects,m)}}function er(e,t,n){const o=this.proxy,i=yn(e)?e.includes(".")?tr(o,e):()=>o[e]:e.bind(o,o);let a;A(t)?a=t:(a=t.handler,n=t);const c=ie;yt(this);const s=Zn(i,a.bind(o),n);return c?yt(c):ar(),s}function tr(e,t){const n=t.split(".");return()=>{let o=e;for(let i=0;i<n.length&&o;i++)o=o[n[i]];return o}}function oe(e,t){if(!tt(e)||e.__v_skip||(t=t||new Set,t.has(e)))return e;if(t.add(e),ee(e))oe(e.value,t);else if(Q(e))for(let n=0;n<e.length;n++)oe(e[n],t);else if(vn(e)||gn(e))e.forEach(n=>{oe(n,t)});else if(Cn(e))for(const n in e)oe(e[n],t);return e}function nr(e){const t=e.type,{mixins:n,extends:o}=t,{mixins:i,optionsCache:a,config:{optionMergeStrategies:c}}=e.appContext,s=a.get(t);let l;return s?l=s:!i.length&&!n&&!o?l=t:(l={},i.length&&i.forEach(d=>Se(l,d,c,!0)),Se(l,t,c)),a.set(t,l),l}function Se(e,t,n,o=!1){const{mixins:i,extends:a}=t;a&&Se(e,a,n,!0),i&&i.forEach(c=>Se(e,c,n,!0));for(const c in t)if(!(o&&c==="expose")){const s=rr[c]||n&&n[c];e[c]=s?s(e[c],t[c]):t[c]}return e}const rr={data:ht,props:X,emits:X,methods:X,computed:X,beforeCreate:R,created:R,beforeMount:R,mounted:R,beforeUpdate:R,updated:R,beforeDestroy:R,beforeUnmount:R,destroyed:R,unmounted:R,activated:R,deactivated:R,errorCaptured:R,serverPrefetch:R,components:X,directives:X,watch:ir,provide:ht,inject:or};function ht(e,t){return t?e?function(){return fe(A(e)?e.call(this,this):e,A(t)?t.call(this,this):t)}:t:e}function or(e,t){return X(bt(e),bt(t))}function bt(e){if(Q(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function R(e,t){return e?[...new Set([].concat(e,t))]:t}function X(e,t){return e?fe(fe(Object.create(null),e),t):t}function ir(e,t){if(!e)return t;if(!t)return e;const n=fe(Object.create(null),e);for(const o in t)n[o]=R(e[o],t[o]);return n}const gt=Qn,He=e=>e?lr(e)?cr(e)||e.proxy:He(e.parent):null,vt=fe(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>He(e.parent),$root:e=>He(e.root),$emit:e=>e.emit,$options:e=>nr(e),$forceUpdate:e=>()=>Xn(e.update),$nextTick:e=>Kn.bind(e.proxy),$watch:e=>er.bind(e)});let ie=null;const yt=e=>{ie=e,e.scope.on()},ar=()=>{ie&&ie.scope.off(),ie=null};function lr(e){return e.vnode.shapeFlag&4}let sr=!1;function cr(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(Un(Nn(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in vt)return vt[n](e)}}))}const We=(e,t)=>Hn(e,t,sr);function xt(e){const t=We(()=>({"pl-3 pr-10 py-1":!e.icon&&e.size==="small","pl-4 pr-10 py-3":!e.icon&&e.size==="medium","pl-6 pr-10 py-3":!e.icon&&e.size==="large","pl-10 pr-10 py-1":e.icon&&e.size==="small","pl-12 pr-10 py-3":e.icon&&(e.size==="medium"||e.size==="large"),"w-full block":e.block===!0})),n=We(()=>({"pointer-events-none opacity-50 cursor-not-allowed":e.isDisabled})),o=We(()=>({"text-xs leading-4":e.size==="small","text-sm leading-4":e.size==="medium","text-base leading-5":e.size==="large"}));return{inputClasses:t,disabledClasses:n,textSizeClasses:o}}const ur={class:"relative"},dr=["placeholder","type","tabindex","value"],fr=r.defineComponent({props:{modelValue:null,type:{default:"text"},placeholder:null,size:{default:"medium"},icon:null,isDisabled:{type:Boolean,default:!1},block:{type:Boolean}},emits:["update:modelValue"],setup(e,{emit:t}){const n=e,{inputClasses:o,disabledClasses:i,textSizeClasses:a}=xt(n),c=function(s){t("update:modelValue",(s==null?void 0:s.target).value)};return(s,l)=>(r.openBlock(),r.createElementBlock("div",ur,[r.createElementVNode("input",{class:r.normalizeClass(["mono-50 bg-grey-50 text-grey-800 placeholder-grey-600 border-grey-300 dark:bg-grey-800 dark:text-grey-100 dark:placeholder-grey-400 dark:border-grey-700 focus:border-blue-400 focus:ring-blue-400 dark:focus:border-blue-800 dark:focus:ring-blue-800 rounded",[r.unref(o),r.unref(a),r.unref(i)]]),placeholder:e.placeholder,type:e.type,tabindex:e.isDisabled?"-1":void 0,value:e.modelValue,onInput:c},null,42,dr),e.icon?(r.openBlock(),r.createElementBlock("span",{key:0,class:r.normalizeClass(["absolute left-0 inset-y-0 inline-flex items-center justify-center text-grey-700 dark:text-grey-100 px-4",r.unref(a)])},[r.createVNode(j,{name:e.icon},null,8,["name"])],2)):r.createCommentVNode("",!0)]))}}),pr={class:"inline-block text-blue-900 text-sm font-medium"},mr=["for"],hr={key:0,class:"block text-xs text-grey-400"},br=r.defineComponent({props:{id:null,label:null,description:null},setup(e){return(t,n)=>(r.openBlock(),r.createElementBlock("span",pr,[r.createElementVNode("label",{for:e.id},r.toDisplayString(e.label),9,mr),e.description?(r.openBlock(),r.createElementBlock("span",hr,r.toDisplayString(e.description),1)):r.createCommentVNode("",!0)]))}});function M(){return M=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},M.apply(this,arguments)}function wt(e,t){if(e==null)return{};var n={},o=Object.keys(e),i,a;for(a=0;a<o.length;a++)i=o[a],!(t.indexOf(i)>=0)&&(n[i]=e[i]);return n}function gr(e,t){if(!!e){if(typeof e=="string")return kt(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return kt(e,t)}}function kt(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}function vr(e,t){var n;if(typeof Symbol=="undefined"||e[Symbol.iterator]==null){if(Array.isArray(e)||(n=gr(e))||t&&e&&typeof e.length=="number"){n&&(e=n);var o=0;return function(){return o>=e.length?{done:!0}:{done:!1,value:e[o++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
5
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}return n=e[Symbol.iterator](),n.next.bind(n)}function ae(e,t){if(e in t){for(var n=t[e],o=arguments.length,i=new Array(o>2?o-2:0),a=2;a<o;a++)i[a-2]=arguments[a];return typeof n=="function"?n.apply(void 0,i):n}var c=new Error('Tried to handle "'+e+'" but there is no handler defined. Only defined handlers are: '+Object.keys(t).map(function(s){return'"'+s+'"'}).join(", ")+".");throw Error.captureStackTrace&&Error.captureStackTrace(c,ae),c}var _;(function(e){e[e.None=0]="None",e[e.RenderStrategy=1]="RenderStrategy",e[e.Static=2]="Static"})(_||(_={}));var le;(function(e){e[e.Unmount=0]="Unmount",e[e.Hidden=1]="Hidden"})(le||(le={}));function z(e){var t=e.visible,n=t===void 0?!0:t,o=e.features,i=o===void 0?_.None:o,a=wt(e,["visible","features"]);if(n||i&_.Static&&a.props.static)return Oe(a);if(i&_.RenderStrategy){var c,s,l=((c=a.props.unmount)!=null?c:!0)?le.Unmount:le.Hidden;return ae(l,(s={},s[le.Unmount]=function(){return null},s[le.Hidden]=function(){return Oe(M({},a,{props:M({},a.props,{hidden:!0,style:{display:"none"}})}))},s))}return Oe(a)}function Oe(e){var t=e.props,n=e.attrs,o=e.slots,i=e.slot,a=e.name,c=Ct(t,["unmount","static"]),s=c.as,l=wt(c,["as"]),d=o.default==null?void 0:o.default(i);if(s==="template"){if(Object.keys(l).length>0||Object.keys(n).length>0){var u=d!=null?d:[],g=u[0],v=u.slice(1);if(!yr(g)||v.length>0)throw new Error(['Passing props on "template"!',"","The current component <"+a+' /> is rendering a "template".',"However we need to passthrough the following props:",Object.keys(l).concat(Object.keys(n)).map(function(p){return" - "+p}).join(`
6
6
  `),"","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(function(p){return" - "+p}).join(`
7
7
  `)].join(`
8
- `));return r.cloneVNode(g,l)}return Array.isArray(f)&&f.length===1?f[0]:f}return r.h(s,l,f)}function Ct(e,t){t===void 0&&(t=[]);for(var n=Object.assign({},e),o=vr(t),i;!(i=o()).done;){var a=i.value;a in n&&delete n[a]}return n}function yr(e){return e==null?!1:typeof e.type=="string"||typeof e.type=="object"||typeof e.type=="function"}var y;(function(e){e.Space=" ",e.Enter="Enter",e.Escape="Escape",e.Backspace="Backspace",e.ArrowLeft="ArrowLeft",e.ArrowUp="ArrowUp",e.ArrowRight="ArrowRight",e.ArrowDown="ArrowDown",e.Home="Home",e.End="End",e.PageUp="PageUp",e.PageDown="PageDown",e.Tab="Tab"})(y||(y={}));var xr=0;function wr(){return++xr}function Y(){return wr()}function St(e,t,n){typeof window!="undefined"&&r.watchEffect(function(o){window.addEventListener(e,t,n),o(function(){window.removeEventListener(e,t,n)})})}function k(e){var t;return e==null||e.value==null?null:(t=e.value.$el)!=null?t:e.value}var Ot=Symbol("Context"),K;(function(e){e[e.Open=0]="Open",e[e.Closed=1]="Closed"})(K||(K={}));function Et(){return r.inject(Ot,null)}function It(e){r.provide(Ot,e)}function Vt(e,t){if(e)return e;var n=t!=null?t:"button";if(typeof n=="string"&&n.toLowerCase()==="button")return"button"}function Ke(e,t){var n=r.ref(Vt(e.value.type,e.value.as));return r.onMounted(function(){n.value=Vt(e.value.type,e.value.as)}),r.watchEffect(function(){var o;n.value||!k(t)||k(t)instanceof HTMLButtonElement&&!((o=k(t))==null?void 0:o.hasAttribute("type"))&&(n.value="button")}),n}function kr(e){throw new Error("Unexpected object: "+e)}var x;(function(e){e[e.First=0]="First",e[e.Previous=1]="Previous",e[e.Next=2]="Next",e[e.Last=3]="Last",e[e.Specific=4]="Specific",e[e.Nothing=5]="Nothing"})(x||(x={}));function Bt(e,t){var n=t.resolveItems();if(n.length<=0)return null;var o=t.resolveActiveIndex(),i=o!=null?o:-1,a=function(){switch(e.focus){case x.First:return n.findIndex(function(l){return!t.resolveDisabled(l)});case x.Previous:{var c=n.slice().reverse().findIndex(function(l,f,u){return i!==-1&&u.length-f-1>=i?!1:!t.resolveDisabled(l)});return c===-1?c:n.length-1-c}case x.Next:return n.findIndex(function(l,f){return f<=i?!1:!t.resolveDisabled(l)});case x.Last:{var s=n.slice().reverse().findIndex(function(l){return!t.resolveDisabled(l)});return s===-1?s:n.length-1-s}case x.Specific:return n.findIndex(function(l){return t.resolveId(l)===e.id});case x.Nothing:return null;default:kr(e)}}();return a===-1?o:a}var I;(function(e){e[e.Open=0]="Open",e[e.Closed=1]="Closed"})(I||(I={}));function Cr(e){requestAnimationFrame(function(){return requestAnimationFrame(e)})}var Rt=Symbol("ListboxContext");function se(e){var t=r.inject(Rt,null);if(t===null){var n=new Error("<"+e+" /> is missing a parent <Listbox /> component.");throw Error.captureStackTrace&&Error.captureStackTrace(n,se),n}return t}var Sr=r.defineComponent({name:"Listbox",emits:{"update:modelValue":function(t){return!0}},props:{as:{type:[Object,String],default:"template"},disabled:{type:[Boolean],default:!1},horizontal:{type:[Boolean],default:!1},modelValue:{type:[Object,String,Number,Boolean]}},setup:function(t,n){var o=n.slots,i=n.attrs,a=n.emit,c=r.ref(I.Closed),s=r.ref(null),l=r.ref(null),f=r.ref(null),u=r.ref([]),g=r.ref(""),v=r.ref(null),p=r.computed(function(){return t.modelValue}),h={listboxState:c,value:p,orientation:r.computed(function(){return t.horizontal?"horizontal":"vertical"}),labelRef:s,buttonRef:l,optionsRef:f,disabled:r.computed(function(){return t.disabled}),options:u,searchQuery:g,activeOptionIndex:v,closeListbox:function(){t.disabled||c.value!==I.Closed&&(c.value=I.Closed,v.value=null)},openListbox:function(){t.disabled||c.value!==I.Open&&(c.value=I.Open)},goToOption:function(m,b){if(!t.disabled&&c.value!==I.Closed){var O=Bt(m===x.Specific?{focus:x.Specific,id:b}:{focus:m},{resolveItems:function(){return u.value},resolveActiveIndex:function(){return v.value},resolveId:function(E){return E.id},resolveDisabled:function(E){return E.dataRef.disabled}});g.value===""&&v.value===O||(g.value="",v.value=O)}},search:function(m){if(!t.disabled&&c.value!==I.Closed){g.value+=m.toLowerCase();var b=u.value.findIndex(function(O){return!O.dataRef.disabled&&O.dataRef.textValue.startsWith(g.value)});b===-1||b===v.value||(v.value=b)}},clearSearch:function(){t.disabled||c.value!==I.Closed&&g.value!==""&&(g.value="")},registerOption:function(m,b){u.value.push({id:m,dataRef:b})},unregisterOption:function(m){var b=u.value.slice(),O=v.value!==null?b[v.value]:null,S=b.findIndex(function(E){return E.id===m});S!==-1&&b.splice(S,1),u.value=b,v.value=function(){return S===v.value||O===null?null:b.indexOf(O)}()},select:function(m){t.disabled||a("update:modelValue",m)}};return St("mousedown",function(d){var m,b,O,S=d.target,E=document.activeElement;c.value===I.Open&&(((m=k(l))==null?void 0:m.contains(S))||(((b=k(f))==null?void 0:b.contains(S))||h.closeListbox(),!(E!==document.body&&(E==null?void 0:E.contains(S)))&&(d.defaultPrevented||(O=k(l))==null||O.focus({preventScroll:!0}))))}),r.provide(Rt,h),It(r.computed(function(){var d;return ae(c.value,(d={},d[I.Open]=K.Open,d[I.Closed]=K.Closed,d))})),function(){var d={open:c.value===I.Open,disabled:t.disabled};return z({props:Ct(t,["modelValue","onUpdate:modelValue","disabled","horizontal"]),slot:d,slots:o,attrs:i,name:"Listbox"})}}}),Or=r.defineComponent({name:"ListboxButton",props:{as:{type:[Object,String],default:"button"}},render:function(){var t,n,o=se("ListboxButton"),i={open:o.listboxState.value===I.Open,disabled:o.disabled.value},a={ref:"el",id:this.id,type:this.type,"aria-haspopup":!0,"aria-controls":(t=k(o.optionsRef))==null?void 0:t.id,"aria-expanded":o.disabled.value?void 0:o.listboxState.value===I.Open,"aria-labelledby":o.labelRef.value?[(n=k(o.labelRef))==null?void 0:n.id,this.id].join(" "):void 0,disabled:o.disabled.value===!0?!0:void 0,onKeydown:this.handleKeyDown,onKeyup:this.handleKeyUp,onClick:this.handleClick};return z({props:M({},this.$props,a),slot:i,attrs:this.$attrs,slots:this.$slots,name:"ListboxButton"})},setup:function(t,n){var o=n.attrs,i=se("ListboxButton"),a="headlessui-listbox-button-"+Y();function c(f){switch(f.key){case y.Space:case y.Enter:case y.ArrowDown:f.preventDefault(),i.openListbox(),r.nextTick(function(){var u;(u=k(i.optionsRef))==null||u.focus({preventScroll:!0}),i.value.value||i.goToOption(x.First)});break;case y.ArrowUp:f.preventDefault(),i.openListbox(),r.nextTick(function(){var u;(u=k(i.optionsRef))==null||u.focus({preventScroll:!0}),i.value.value||i.goToOption(x.Last)});break}}function s(f){switch(f.key){case y.Space:f.preventDefault();break}}function l(f){i.disabled.value||(i.listboxState.value===I.Open?(i.closeListbox(),r.nextTick(function(){var u;return(u=k(i.buttonRef))==null?void 0:u.focus({preventScroll:!0})})):(f.preventDefault(),i.openListbox(),Cr(function(){var u;return(u=k(i.optionsRef))==null?void 0:u.focus({preventScroll:!0})})))}return{id:a,el:i.buttonRef,type:Ke(r.computed(function(){return{as:t.as,type:o.type}}),i.buttonRef),handleKeyDown:c,handleKeyUp:s,handleClick:l}}}),Er=r.defineComponent({name:"ListboxOptions",props:{as:{type:[Object,String],default:"ul"},static:{type:Boolean,default:!1},unmount:{type:Boolean,default:!0}},render:function(){var t,n,o,i,a=se("ListboxOptions"),c={open:a.listboxState.value===I.Open},s={"aria-activedescendant":a.activeOptionIndex.value===null||(t=a.options.value[a.activeOptionIndex.value])==null?void 0:t.id,"aria-labelledby":(n=(o=k(a.labelRef))==null?void 0:o.id)!=null?n:(i=k(a.buttonRef))==null?void 0:i.id,"aria-orientation":a.orientation.value,id:this.id,onKeydown:this.handleKeyDown,role:"listbox",tabIndex:0,ref:"el"},l=this.$props;return z({props:M({},l,s),slot:c,attrs:this.$attrs,slots:this.$slots,features:_.RenderStrategy|_.Static,visible:this.visible,name:"ListboxOptions"})},setup:function(){var t=se("ListboxOptions"),n="headlessui-listbox-options-"+Y(),o=r.ref(null);function i(s){switch(o.value&&clearTimeout(o.value),s.key){case y.Space:if(t.searchQuery.value!=="")return s.preventDefault(),s.stopPropagation(),t.search(s.key);case y.Enter:if(s.preventDefault(),s.stopPropagation(),t.activeOptionIndex.value!==null){var l=t.options.value[t.activeOptionIndex.value].dataRef;t.select(l.value)}t.closeListbox(),r.nextTick(function(){var f;return(f=k(t.buttonRef))==null?void 0:f.focus({preventScroll:!0})});break;case ae(t.orientation.value,{vertical:y.ArrowDown,horizontal:y.ArrowRight}):return s.preventDefault(),s.stopPropagation(),t.goToOption(x.Next);case ae(t.orientation.value,{vertical:y.ArrowUp,horizontal:y.ArrowLeft}):return s.preventDefault(),s.stopPropagation(),t.goToOption(x.Previous);case y.Home:case y.PageUp:return s.preventDefault(),s.stopPropagation(),t.goToOption(x.First);case y.End:case y.PageDown:return s.preventDefault(),s.stopPropagation(),t.goToOption(x.Last);case y.Escape:s.preventDefault(),s.stopPropagation(),t.closeListbox(),r.nextTick(function(){var f;return(f=k(t.buttonRef))==null?void 0:f.focus({preventScroll:!0})});break;case y.Tab:s.preventDefault(),s.stopPropagation();break;default:s.key.length===1&&(t.search(s.key),o.value=setTimeout(function(){return t.clearSearch()},350));break}}var a=Et(),c=r.computed(function(){return a!==null?a.value===K.Open:t.listboxState.value===I.Open});return{id:n,el:t.optionsRef,handleKeyDown:i,visible:c}}}),Ir=r.defineComponent({name:"ListboxOption",props:{as:{type:[Object,String],default:"li"},value:{type:[Object,String,Number,Boolean]},disabled:{type:Boolean,default:!1}},setup:function(t,n){var o=n.slots,i=n.attrs,a=se("ListboxOption"),c="headlessui-listbox-option-"+Y(),s=r.computed(function(){return a.activeOptionIndex.value!==null?a.options.value[a.activeOptionIndex.value].id===c:!1}),l=r.computed(function(){return r.toRaw(a.value.value)===r.toRaw(t.value)}),f=r.ref({disabled:t.disabled,value:t.value,textValue:""});r.onMounted(function(){var h,d,m=(h=document.getElementById(c))==null||(d=h.textContent)==null?void 0:d.toLowerCase().trim();m!==void 0&&(f.value.textValue=m)}),r.onMounted(function(){return a.registerOption(c,f)}),r.onUnmounted(function(){return a.unregisterOption(c)}),r.onMounted(function(){r.watch([a.listboxState,l],function(){var h;a.listboxState.value===I.Open&&(!l.value||(a.goToOption(x.Specific,c),(h=document.getElementById(c))==null||h.focus==null||h.focus()))},{immediate:!0})}),r.watchEffect(function(){a.listboxState.value===I.Open&&(!s.value||r.nextTick(function(){var h;return(h=document.getElementById(c))==null||h.scrollIntoView==null?void 0:h.scrollIntoView({block:"nearest"})}))});function u(h){if(t.disabled)return h.preventDefault();a.select(t.value),a.closeListbox(),r.nextTick(function(){var d;return(d=k(a.buttonRef))==null?void 0:d.focus({preventScroll:!0})})}function g(){if(t.disabled)return a.goToOption(x.Nothing);a.goToOption(x.Specific,c)}function v(){t.disabled||s.value||a.goToOption(x.Specific,c)}function p(){t.disabled||!s.value||a.goToOption(x.Nothing)}return function(){var h=t.disabled,d={active:s.value,selected:l.value,disabled:h},m={id:c,role:"option",tabIndex:h===!0?void 0:-1,"aria-disabled":h===!0?!0:void 0,"aria-selected":l.value===!0?l.value:void 0,disabled:void 0,onClick:u,onFocus:g,onPointermove:v,onMousemove:v,onPointerleave:p,onMouseleave:p};return z({props:M({},t,m),slot:d,attrs:i,slots:o,name:"ListboxOption"})}}});function Vr(e){var t=e.container,n=e.accept,o=e.walk,i=e.enabled;r.watchEffect(function(){var a=t.value;if(!!a&&!(i!==void 0&&!i.value))for(var c=Object.assign(function(l){return n(l)},{acceptNode:n}),s=document.createTreeWalker(a,NodeFilter.SHOW_ELEMENT,c,!1);s.nextNode();)o(s.currentNode)})}var B;(function(e){e[e.Open=0]="Open",e[e.Closed=1]="Closed"})(B||(B={}));function Br(e){requestAnimationFrame(function(){return requestAnimationFrame(e)})}var Pt=Symbol("MenuContext");function ce(e){var t=r.inject(Pt,null);if(t===null){var n=new Error("<"+e+" /> is missing a parent <Menu /> component.");throw Error.captureStackTrace&&Error.captureStackTrace(n,ce),n}return t}var Rr=r.defineComponent({name:"Menu",props:{as:{type:[Object,String],default:"template"}},setup:function(t,n){var o=n.slots,i=n.attrs,a=r.ref(B.Closed),c=r.ref(null),s=r.ref(null),l=r.ref([]),f=r.ref(""),u=r.ref(null),g={menuState:a,buttonRef:c,itemsRef:s,items:l,searchQuery:f,activeItemIndex:u,closeMenu:function(){a.value=B.Closed,u.value=null},openMenu:function(){return a.value=B.Open},goToItem:function(p,h){var d=Bt(p===x.Specific?{focus:x.Specific,id:h}:{focus:p},{resolveItems:function(){return l.value},resolveActiveIndex:function(){return u.value},resolveId:function(b){return b.id},resolveDisabled:function(b){return b.dataRef.disabled}});f.value===""&&u.value===d||(f.value="",u.value=d)},search:function(p){f.value+=p.toLowerCase();var h=l.value.findIndex(function(d){return d.dataRef.textValue.startsWith(f.value)&&!d.dataRef.disabled});h===-1||h===u.value||(u.value=h)},clearSearch:function(){f.value=""},registerItem:function(p,h){l.value.push({id:p,dataRef:h})},unregisterItem:function(p){var h=l.value.slice(),d=u.value!==null?h[u.value]:null,m=h.findIndex(function(b){return b.id===p});m!==-1&&h.splice(m,1),l.value=h,u.value=function(){return m===u.value||d===null?null:h.indexOf(d)}()}};return St("mousedown",function(v){var p,h,d,m=v.target,b=document.activeElement;a.value===B.Open&&(((p=k(c))==null?void 0:p.contains(m))||(((h=k(s))==null?void 0:h.contains(m))||g.closeMenu(),!(b!==document.body&&(b==null?void 0:b.contains(m)))&&(v.defaultPrevented||(d=k(c))==null||d.focus({preventScroll:!0}))))}),r.provide(Pt,g),It(r.computed(function(){var v;return ae(a.value,(v={},v[B.Open]=K.Open,v[B.Closed]=K.Closed,v))})),function(){var v={open:a.value===B.Open};return z({props:t,slot:v,slots:o,attrs:i,name:"Menu"})}}}),Pr=r.defineComponent({name:"MenuButton",props:{disabled:{type:Boolean,default:!1},as:{type:[Object,String],default:"button"}},render:function(){var t,n=ce("MenuButton"),o={open:n.menuState.value===B.Open},i={ref:"el",id:this.id,type:this.type,"aria-haspopup":!0,"aria-controls":(t=k(n.itemsRef))==null?void 0:t.id,"aria-expanded":this.$props.disabled?void 0:n.menuState.value===B.Open,onKeydown:this.handleKeyDown,onKeyup:this.handleKeyUp,onClick:this.handleClick};return z({props:M({},this.$props,i),slot:o,attrs:this.$attrs,slots:this.$slots,name:"MenuButton"})},setup:function(t,n){var o=n.attrs,i=ce("MenuButton"),a="headlessui-menu-button-"+Y();function c(f){switch(f.key){case y.Space:case y.Enter:case y.ArrowDown:f.preventDefault(),f.stopPropagation(),i.openMenu(),r.nextTick(function(){var u;(u=k(i.itemsRef))==null||u.focus({preventScroll:!0}),i.goToItem(x.First)});break;case y.ArrowUp:f.preventDefault(),f.stopPropagation(),i.openMenu(),r.nextTick(function(){var u;(u=k(i.itemsRef))==null||u.focus({preventScroll:!0}),i.goToItem(x.Last)});break}}function s(f){switch(f.key){case y.Space:f.preventDefault();break}}function l(f){t.disabled||(i.menuState.value===B.Open?(i.closeMenu(),r.nextTick(function(){var u;return(u=k(i.buttonRef))==null?void 0:u.focus({preventScroll:!0})})):(f.preventDefault(),f.stopPropagation(),i.openMenu(),Br(function(){var u;return(u=k(i.itemsRef))==null?void 0:u.focus({preventScroll:!0})})))}return{id:a,el:i.buttonRef,type:Ke(r.computed(function(){return{as:t.as,type:o.type}}),i.buttonRef),handleKeyDown:c,handleKeyUp:s,handleClick:l}}}),Tr=r.defineComponent({name:"MenuItems",props:{as:{type:[Object,String],default:"div"},static:{type:Boolean,default:!1},unmount:{type:Boolean,default:!0}},render:function(){var t,n,o=ce("MenuItems"),i={open:o.menuState.value===B.Open},a={"aria-activedescendant":o.activeItemIndex.value===null||(t=o.items.value[o.activeItemIndex.value])==null?void 0:t.id,"aria-labelledby":(n=k(o.buttonRef))==null?void 0:n.id,id:this.id,onKeydown:this.handleKeyDown,onKeyup:this.handleKeyUp,role:"menu",tabIndex:0,ref:"el"},c=this.$props;return z({props:M({},c,a),slot:i,attrs:this.$attrs,slots:this.$slots,features:_.RenderStrategy|_.Static,visible:this.visible,name:"MenuItems"})},setup:function(){var t=ce("MenuItems"),n="headlessui-menu-items-"+Y(),o=r.ref(null);Vr({container:r.computed(function(){return k(t.itemsRef)}),enabled:r.computed(function(){return t.menuState.value===B.Open}),accept:function(f){return f.getAttribute("role")==="menuitem"?NodeFilter.FILTER_REJECT:f.hasAttribute("role")?NodeFilter.FILTER_SKIP:NodeFilter.FILTER_ACCEPT},walk:function(f){f.setAttribute("role","none")}});function i(l){switch(o.value&&clearTimeout(o.value),l.key){case y.Space:if(t.searchQuery.value!=="")return l.preventDefault(),l.stopPropagation(),t.search(l.key);case y.Enter:if(l.preventDefault(),l.stopPropagation(),t.activeItemIndex.value!==null){var f,u=t.items.value[t.activeItemIndex.value].id;(f=document.getElementById(u))==null||f.click()}t.closeMenu(),r.nextTick(function(){var g;return(g=k(t.buttonRef))==null?void 0:g.focus({preventScroll:!0})});break;case y.ArrowDown:return l.preventDefault(),l.stopPropagation(),t.goToItem(x.Next);case y.ArrowUp:return l.preventDefault(),l.stopPropagation(),t.goToItem(x.Previous);case y.Home:case y.PageUp:return l.preventDefault(),l.stopPropagation(),t.goToItem(x.First);case y.End:case y.PageDown:return l.preventDefault(),l.stopPropagation(),t.goToItem(x.Last);case y.Escape:l.preventDefault(),l.stopPropagation(),t.closeMenu(),r.nextTick(function(){var g;return(g=k(t.buttonRef))==null?void 0:g.focus({preventScroll:!0})});break;case y.Tab:l.preventDefault(),l.stopPropagation();break;default:l.key.length===1&&(t.search(l.key),o.value=setTimeout(function(){return t.clearSearch()},350));break}}function a(l){switch(l.key){case y.Space:l.preventDefault();break}}var c=Et(),s=r.computed(function(){return c!==null?c.value===K.Open:t.menuState.value===B.Open});return{id:n,el:t.itemsRef,handleKeyDown:i,handleKeyUp:a,visible:s}}}),Dr=r.defineComponent({name:"MenuItem",props:{as:{type:[Object,String],default:"template"},disabled:{type:Boolean,default:!1}},setup:function(t,n){var o=n.slots,i=n.attrs,a=ce("MenuItem"),c="headlessui-menu-item-"+Y(),s=r.computed(function(){return a.activeItemIndex.value!==null?a.items.value[a.activeItemIndex.value].id===c:!1}),l=r.ref({disabled:t.disabled,textValue:""});r.onMounted(function(){var p,h,d=(p=document.getElementById(c))==null||(h=p.textContent)==null?void 0:h.toLowerCase().trim();d!==void 0&&(l.value.textValue=d)}),r.onMounted(function(){return a.registerItem(c,l)}),r.onUnmounted(function(){return a.unregisterItem(c)}),r.watchEffect(function(){a.menuState.value===B.Open&&(!s.value||r.nextTick(function(){var p;return(p=document.getElementById(c))==null||p.scrollIntoView==null?void 0:p.scrollIntoView({block:"nearest"})}))});function f(p){if(t.disabled)return p.preventDefault();a.closeMenu(),r.nextTick(function(){var h;return(h=k(a.buttonRef))==null?void 0:h.focus({preventScroll:!0})})}function u(){if(t.disabled)return a.goToItem(x.Nothing);a.goToItem(x.Specific,c)}function g(){t.disabled||s.value||a.goToItem(x.Specific,c)}function v(){t.disabled||!s.value||a.goToItem(x.Nothing)}return function(){var p=t.disabled,h={active:s.value,disabled:p},d={id:c,role:"menuitem",tabIndex:p===!0?void 0:-1,"aria-disabled":p===!0?!0:void 0,onClick:f,onFocus:u,onPointermove:g,onMousemove:g,onPointerleave:v,onMouseleave:v};return z({props:M({},t,d),slot:h,attrs:i,slots:o,name:"MenuItem"})}}}),Mr=Symbol("GroupContext"),$r=r.defineComponent({name:"Switch",emits:{"update:modelValue":function(t){return!0}},props:{as:{type:[Object,String],default:"button"},modelValue:{type:Boolean,default:!1}},render:function(){var t={checked:this.$props.modelValue},n={id:this.id,ref:"el",role:"switch",type:this.type,tabIndex:0,"aria-checked":this.$props.modelValue,"aria-labelledby":this.labelledby,"aria-describedby":this.describedby,onClick:this.handleClick,onKeyup:this.handleKeyUp,onKeypress:this.handleKeyPress};return z({props:M({},this.$props,n),slot:t,attrs:this.$attrs,slots:this.$slots,name:"Switch"})},setup:function(t,n){var o=n.emit,i=n.attrs,a=r.inject(Mr,null),c="headlessui-switch-"+Y();function s(){o("update:modelValue",!t.modelValue)}var l=r.ref(null),f=a===null?l:a.switchRef;return{id:c,el:f,type:Ke(r.computed(function(){return{as:t.as,type:i.type}}),f),labelledby:a==null?void 0:a.labelledby,describedby:a==null?void 0:a.describedby,handleClick:function(g){g.preventDefault(),s()},handleKeyUp:function(g){g.key!==y.Tab&&g.preventDefault(),g.key===y.Space&&s()},handleKeyPress:function(g){g.preventDefault()}}}});function N(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function Tt(e){var t=N(e).Element;return e instanceof t||e instanceof Element}function $(e){var t=N(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function Lr(e){if(typeof ShadowRoot=="undefined")return!1;var t=N(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}var ue=Math.round;function Ee(e,t){t===void 0&&(t=!1);var n=e.getBoundingClientRect(),o=1,i=1;if($(e)&&t){var a=e.offsetHeight,c=e.offsetWidth;c>0&&(o=ue(n.width)/c||1),a>0&&(i=ue(n.height)/a||1)}return{width:n.width/o,height:n.height/i,top:n.top/i,right:n.right/o,bottom:n.bottom/i,left:n.left/o,x:n.left/o,y:n.top/i}}function Dt(e){var t=N(e),n=t.pageXOffset,o=t.pageYOffset;return{scrollLeft:n,scrollTop:o}}function Nr(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function jr(e){return e===N(e)||!$(e)?Dt(e):Nr(e)}function U(e){return e?(e.nodeName||"").toLowerCase():null}function Ie(e){return((Tt(e)?e.ownerDocument:e.document)||window.document).documentElement}function Ar(e){return Ee(Ie(e)).left+Dt(e).scrollLeft}function G(e){return N(e).getComputedStyle(e)}function qe(e){var t=G(e),n=t.overflow,o=t.overflowX,i=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+i+o)}function _r(e){var t=e.getBoundingClientRect(),n=ue(t.width)/e.offsetWidth||1,o=ue(t.height)/e.offsetHeight||1;return n!==1||o!==1}function zr(e,t,n){n===void 0&&(n=!1);var o=$(t),i=$(t)&&_r(t),a=Ie(t),c=Ee(e,i),s={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(o||!o&&!n)&&((U(t)!=="body"||qe(a))&&(s=jr(t)),$(t)?(l=Ee(t,!0),l.x+=t.clientLeft,l.y+=t.clientTop):a&&(l.x=Ar(a))),{x:c.left+s.scrollLeft-l.x,y:c.top+s.scrollTop-l.y,width:c.width,height:c.height}}function Ur(e){var t=Ee(e),n=e.offsetWidth,o=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-o)<=1&&(o=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:o}}function Xe(e){return U(e)==="html"?e:e.assignedSlot||e.parentNode||(Lr(e)?e.host:null)||Ie(e)}function Mt(e){return["html","body","#document"].indexOf(U(e))>=0?e.ownerDocument.body:$(e)&&qe(e)?e:Mt(Xe(e))}function Ve(e,t){var n;t===void 0&&(t=[]);var o=Mt(e),i=o===((n=e.ownerDocument)==null?void 0:n.body),a=N(o),c=i?[a].concat(a.visualViewport||[],qe(o)?o:[]):o,s=t.concat(c);return i?s:s.concat(Ve(Xe(c)))}function Fr(e){return["table","td","th"].indexOf(U(e))>=0}function $t(e){return!$(e)||G(e).position==="fixed"?null:e.offsetParent}function Hr(e){var t=navigator.userAgent.toLowerCase().indexOf("firefox")!==-1,n=navigator.userAgent.indexOf("Trident")!==-1;if(n&&$(e)){var o=G(e);if(o.position==="fixed")return null}for(var i=Xe(e);$(i)&&["html","body"].indexOf(U(i))<0;){var a=G(i);if(a.transform!=="none"||a.perspective!=="none"||a.contain==="paint"||["transform","perspective"].indexOf(a.willChange)!==-1||t&&a.willChange==="filter"||t&&a.filter&&a.filter!=="none")return i;i=i.parentNode}return null}function Lt(e){for(var t=N(e),n=$t(e);n&&Fr(n)&&G(n).position==="static";)n=$t(n);return n&&(U(n)==="html"||U(n)==="body"&&G(n).position==="static")?t:n||Hr(e)||t}var Be="top",Ye="bottom",Ge="right",Re="left",Wr="start",Je="end",Kr="beforeRead",qr="read",Xr="afterRead",Yr="beforeMain",Gr="main",Jr="afterMain",Qr="beforeWrite",Zr="write",eo="afterWrite",to=[Kr,qr,Xr,Yr,Gr,Jr,Qr,Zr,eo];function no(e){var t=new Map,n=new Set,o=[];e.forEach(function(a){t.set(a.name,a)});function i(a){n.add(a.name);var c=[].concat(a.requires||[],a.requiresIfExists||[]);c.forEach(function(s){if(!n.has(s)){var l=t.get(s);l&&i(l)}}),o.push(a)}return e.forEach(function(a){n.has(a.name)||i(a)}),o}function ro(e){var t=no(e);return to.reduce(function(n,o){return n.concat(t.filter(function(i){return i.phase===o}))},[])}function oo(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}function Nt(e){return e.split("-")[0]}function io(e){var t=e.reduce(function(n,o){var i=n[o.name];return n[o.name]=i?Object.assign({},i,o,{options:Object.assign({},i.options,o.options),data:Object.assign({},i.data,o.data)}):o,n},{});return Object.keys(t).map(function(n){return t[n]})}function jt(e){return e.split("-")[1]}function ao(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function lo(e){var t=e.reference,n=e.element,o=e.placement,i=o?Nt(o):null,a=o?jt(o):null,c=t.x+t.width/2-n.width/2,s=t.y+t.height/2-n.height/2,l;switch(i){case Be:l={x:c,y:t.y-n.height};break;case Ye:l={x:c,y:t.y+t.height};break;case Ge:l={x:t.x+t.width,y:s};break;case Re:l={x:t.x-n.width,y:s};break;default:l={x:t.x,y:t.y}}var f=i?ao(i):null;if(f!=null){var u=f==="y"?"height":"width";switch(a){case Wr:l[f]=l[f]-(t[u]/2-n[u]/2);break;case Je:l[f]=l[f]+(t[u]/2-n[u]/2);break}}return l}var At={placement:"bottom",modifiers:[],strategy:"absolute"};function _t(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some(function(o){return!(o&&typeof o.getBoundingClientRect=="function")})}function so(e){e===void 0&&(e={});var t=e,n=t.defaultModifiers,o=n===void 0?[]:n,i=t.defaultOptions,a=i===void 0?At:i;return function(s,l,f){f===void 0&&(f=a);var u={placement:"bottom",orderedModifiers:[],options:Object.assign({},At,a),modifiersData:{},elements:{reference:s,popper:l},attributes:{},styles:{}},g=[],v=!1,p={state:u,setOptions:function(b){var O=typeof b=="function"?b(u.options):b;d(),u.options=Object.assign({},a,u.options,O),u.scrollParents={reference:Tt(s)?Ve(s):s.contextElement?Ve(s.contextElement):[],popper:Ve(l)};var S=ro(io([].concat(o,u.options.modifiers)));return u.orderedModifiers=S.filter(function(E){return E.enabled}),h(),p.update()},forceUpdate:function(){if(!v){var b=u.elements,O=b.reference,S=b.popper;if(!!_t(O,S)){u.rects={reference:zr(O,Lt(S),u.options.strategy==="fixed"),popper:Ur(S)},u.reset=!1,u.placement=u.options.placement,u.orderedModifiers.forEach(function(De){return u.modifiersData[De.name]=Object.assign({},De.data)});for(var E=0;E<u.orderedModifiers.length;E++){if(u.reset===!0){u.reset=!1,E=-1;continue}var L=u.orderedModifiers[E],T=L.fn,fe=L.options,Te=fe===void 0?{}:fe,Qe=L.name;typeof T=="function"&&(u=T({state:u,options:Te,name:Qe,instance:p})||u)}}}},update:oo(function(){return new Promise(function(m){p.forceUpdate(),m(u)})}),destroy:function(){d(),v=!0}};if(!_t(s,l))return p;p.setOptions(f).then(function(m){!v&&f.onFirstUpdate&&f.onFirstUpdate(m)});function h(){u.orderedModifiers.forEach(function(m){var b=m.name,O=m.options,S=O===void 0?{}:O,E=m.effect;if(typeof E=="function"){var L=E({state:u,name:b,instance:p,options:S}),T=function(){};g.push(L||T)}})}function d(){g.forEach(function(m){return m()}),g=[]}return p}}var Pe={passive:!0};function co(e){var t=e.state,n=e.instance,o=e.options,i=o.scroll,a=i===void 0?!0:i,c=o.resize,s=c===void 0?!0:c,l=N(t.elements.popper),f=[].concat(t.scrollParents.reference,t.scrollParents.popper);return a&&f.forEach(function(u){u.addEventListener("scroll",n.update,Pe)}),s&&l.addEventListener("resize",n.update,Pe),function(){a&&f.forEach(function(u){u.removeEventListener("scroll",n.update,Pe)}),s&&l.removeEventListener("resize",n.update,Pe)}}var uo={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:co,data:{}};function fo(e){var t=e.state,n=e.name;t.modifiersData[n]=lo({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}var po={name:"popperOffsets",enabled:!0,phase:"read",fn:fo,data:{}},mo={top:"auto",right:"auto",bottom:"auto",left:"auto"};function ho(e){var t=e.x,n=e.y,o=window,i=o.devicePixelRatio||1;return{x:ue(t*i)/i||0,y:ue(n*i)/i||0}}function zt(e){var t,n=e.popper,o=e.popperRect,i=e.placement,a=e.variation,c=e.offsets,s=e.position,l=e.gpuAcceleration,f=e.adaptive,u=e.roundOffsets,g=e.isFixed,v=c.x,p=v===void 0?0:v,h=c.y,d=h===void 0?0:h,m=typeof u=="function"?u({x:p,y:d}):{x:p,y:d};p=m.x,d=m.y;var b=c.hasOwnProperty("x"),O=c.hasOwnProperty("y"),S=Re,E=Be,L=window;if(f){var T=Lt(n),fe="clientHeight",Te="clientWidth";if(T===N(n)&&(T=Ie(n),G(T).position!=="static"&&s==="absolute"&&(fe="scrollHeight",Te="scrollWidth")),T=T,i===Be||(i===Re||i===Ge)&&a===Je){E=Ye;var Qe=g&&L.visualViewport?L.visualViewport.height:T[fe];d-=Qe-o.height,d*=l?1:-1}if(i===Re||(i===Be||i===Ye)&&a===Je){S=Ge;var De=g&&L.visualViewport?L.visualViewport.width:T[Te];p-=De-o.width,p*=l?1:-1}}var Ut=Object.assign({position:s},f&&mo),Ft=u===!0?ho({x:p,y:d}):{x:p,y:d};if(p=Ft.x,d=Ft.y,l){var ye;return Object.assign({},Ut,(ye={},ye[E]=O?"0":"",ye[S]=b?"0":"",ye.transform=(L.devicePixelRatio||1)<=1?"translate("+p+"px, "+d+"px)":"translate3d("+p+"px, "+d+"px, 0)",ye))}return Object.assign({},Ut,(t={},t[E]=O?d+"px":"",t[S]=b?p+"px":"",t.transform="",t))}function bo(e){var t=e.state,n=e.options,o=n.gpuAcceleration,i=o===void 0?!0:o,a=n.adaptive,c=a===void 0?!0:a,s=n.roundOffsets,l=s===void 0?!0:s,f={placement:Nt(t.placement),variation:jt(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:i,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,zt(Object.assign({},f,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:c,roundOffsets:l})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,zt(Object.assign({},f,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}var go={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:bo,data:{}};function vo(e){var t=e.state;Object.keys(t.elements).forEach(function(n){var o=t.styles[n]||{},i=t.attributes[n]||{},a=t.elements[n];!$(a)||!U(a)||(Object.assign(a.style,o),Object.keys(i).forEach(function(c){var s=i[c];s===!1?a.removeAttribute(c):a.setAttribute(c,s===!0?"":s)}))})}function yo(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(o){var i=t.elements[o],a=t.attributes[o]||{},c=Object.keys(t.styles.hasOwnProperty(o)?t.styles[o]:n[o]),s=c.reduce(function(l,f){return l[f]="",l},{});!$(i)||!U(i)||(Object.assign(i.style,s),Object.keys(a).forEach(function(l){i.removeAttribute(l)}))})}}var xo={name:"applyStyles",enabled:!0,phase:"write",fn:vo,effect:yo,requires:["computeStyles"]},wo=[uo,po,go,xo],ko=so({defaultModifiers:wo});function Co(e){const t=r.ref(null),n=r.ref(null);return r.onMounted(()=>{r.watchEffect(o=>{if(!n.value||!t.value)return;const i=n.value.el||n.value,a=t.value.el||t.value;if(!(a instanceof HTMLElement)||!(i instanceof HTMLElement))return;const{destroy:c}=ko(a,i,e);o(c)})}),[t,n]}const So=r.defineComponent({props:{position:{default:"left"},usePortal:{type:[Boolean,String],default:!1}},setup(e){const n=e.position==="left"?"bottom-end":"bottom-start",[o,i]=Co({placement:n});return(a,c)=>(r.openBlock(),r.createBlock(r.unref(Rr),{as:"div",class:"relative inline-block text-left"},{default:r.withCtx(()=>[r.createVNode(r.unref(Pr),{class:"focus:outline-none",ref_key:"button",ref:o},{default:r.withCtx(()=>[r.renderSlot(a.$slots,"button",{},()=>[r.createVNode(r.unref(j),{class:"fill-current",name:"ellipsis-h"})])]),_:3},512),(r.openBlock(),r.createBlock(r.Teleport,{to:typeof e.usePortal=="string"?e.usePortal:"body",disabled:!e.usePortal},[r.createElementVNode("div",{ref_key:"container",ref:i,class:"w-48"},[r.createVNode(r.Transition,{"enter-active-class":"transition duration-200 ease-in-out","enter-from-class":"transform -translate-y-4 opacity-0","enter-to-class":"transform opacity-100","leave-active-class":"transition duration-100 ease-in-out","leave-from-class":"transform opacity-100","leave-to-class":"transform -translate-y-2 opacity-0"},{default:r.withCtx(()=>[r.createVNode(r.unref(Tr),{class:r.normalizeClass([{"absolute left-0 origin-top-left":!e.usePortal&&e.position==="right","absolute right-0 origin-top-right":!e.usePortal&&e.position==="left"},"z-40 mt-1 p-1 bg-white rounded shadow-lg text-grey-700 focus:outline-none w-full"])},{default:r.withCtx(()=>[r.renderSlot(a.$slots,"default")]),_:3},8,["class"])]),_:3})],512)],8,["to","disabled"]))]),_:3}))}}),Oo=r.defineComponent({props:{label:null,disabled:{type:Boolean}},setup(e){return(t,n)=>(r.openBlock(),r.createBlock(r.unref(Dr),r.normalizeProps(r.guardReactiveProps({disabled:e.disabled})),{default:r.withCtx(({active:o})=>[r.createElementVNode("span",r.mergeProps({class:["block px-4 py-2 text-xs transition-colors duration-100 rounded-md",[o?"bg-grey-200":"",e.disabled?"opacity-50 pointer-events-none":"hover:bg-grey-200 focus:bg-grey-200 focus:outline-none"]]},t.$attrs),r.toDisplayString(e.label),17)]),_:1},16))}}),Eo={class:"relative"},Io={key:1,class:"block truncate"},Vo={key:2,class:"text-grey-500"},Bo={class:"absolute right-0 inset-y-0 inline-flex items-center justify-center text-grey-700 dark:text-grey-100 px-4 pointer-events-none"},Ro=r.defineComponent({props:{modelValue:null,size:{default:"medium"},icon:null,placeholder:null,isDisabled:{type:Boolean,default:!1},options:null},emits:["update:modelValue"],setup(e,{emit:t}){const n=e,o=n.modelValue?r.ref(n.modelValue):r.ref(null),{inputClasses:i,disabledClasses:a,textSizeClasses:c}=xt(n);return r.watch(()=>n.modelValue,s=>{var l;!s||s.id!==((l=o.value)==null?void 0:l.id)&&(o.value=s)}),r.watch(o,s=>{s&&t("update:modelValue",s)}),(s,l)=>(r.openBlock(),r.createBlock(r.unref(Sr),{as:"div",modelValue:r.unref(o),"onUpdate:modelValue":l[0]||(l[0]=f=>r.isRef(o)?o.value=f:null),disabled:e.isDisabled},{default:r.withCtx(()=>[r.createElementVNode("div",Eo,[r.createVNode(r.unref(Or),{class:r.normalizeClass(["w-full mono-50 bg-grey-50 text-grey-800 placeholder-grey-600 border border-grey-300 dark:bg-grey-800 dark:text-grey-100 dark:placeholder-grey-400 dark:border-grey-700 focus:ring-2 focus:border-blue-400 focus:ring-blue-400 focus:outline-none dark:focus:border-blue-800 dark:focus:ring-blue-800 cursor-default rounded font-normal text-left",[r.unref(i),r.unref(c),r.unref(a)]])},{default:r.withCtx(()=>[e.icon?(r.openBlock(),r.createElementBlock("span",{key:0,class:r.normalizeClass(["absolute left-0 inset-y-0 inline-flex items-center justify-center text-grey-700 dark:text-grey-100 px-4 pointer-events-none",r.unref(c)])},[r.createVNode(j,{name:e.icon},null,8,["name"])],2)):r.createCommentVNode("",!0),r.unref(o)?(r.openBlock(),r.createElementBlock("span",Io,r.toDisplayString(r.unref(o).label),1)):(r.openBlock(),r.createElementBlock("span",Vo,r.toDisplayString(e.placeholder),1)),r.createElementVNode("span",Bo,[r.createVNode(j,{class:"text-grey-400",name:"chevron-down","aria-hidden":"true"})])]),_:1},8,["class"]),r.createVNode(r.Transition,{"leave-active-class":"transition ease-in duration-100","leave-from-class":"opacity-100","leave-to-class":"opacity-0"},{default:r.withCtx(()=>[r.createVNode(r.unref(Er),{class:"absolute z-10 mt-1 w-full bg-white dark:bg-grey-700 dark:text-grey-50 shadow-lg max-h-60 rounded-md py-1 text-base ring-1 ring-black ring-opacity-5 overflow-auto focus:outline-none sm:text-sm"},{default:r.withCtx(()=>[(r.openBlock(!0),r.createElementBlock(r.Fragment,null,r.renderList(e.options,f=>(r.openBlock(),r.createBlock(r.unref(Ir),{as:"template",key:f.id,value:f},{default:r.withCtx(({active:u,selected:g})=>[r.createElementVNode("li",{class:r.normalizeClass([u?"text-white bg-grey-800":"text-gray-900 dark:text-grey-50","cursor-default select-none relative py-2 pl-3 pr-9"])},[r.createElementVNode("span",{class:r.normalizeClass([g?"font-semibold":"font-normal","block truncate"])},r.toDisplayString(f.label),3),g?(r.openBlock(),r.createElementBlock("span",{key:0,class:r.normalizeClass([u?"text-blue-100":"text-blue-500","absolute inset-y-0 right-0 flex items-center pr-4"])},[r.createVNode(j,{name:"check",class:"h-5 w-5","aria-hidden":"true"})],2)):r.createCommentVNode("",!0)],2)]),_:2},1032,["value"]))),128))]),_:1})]),_:1})])]),_:1},8,["modelValue","disabled"]))}}),Po={class:"sr-only"},To=r.defineComponent({props:{id:{default:et()},label:null,modelValue:{type:Boolean},description:null,onLabel:{default:"on"},offLabel:{default:"off"}},emits:["update:modelValue","change"],setup(e,{emit:t}){const n=o=>{t("update:modelValue",o),t("change",o)};return(o,i)=>(r.openBlock(),r.createBlock(r.unref($r),{modelValue:e.modelValue,label:e.label,class:r.normalizeClass([e.modelValue?"bg-blue-700":"bg-grey-700","relative inline-flex items-center h-6 transition rounded-full w-14 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-offset-gray-900 focus:ring-blue-300"]),"onUpdate:modelValue":n},{default:r.withCtx(()=>[r.createElementVNode("span",{class:r.normalizeClass(["absolute text-xs text-center text-white inset-x-2",e.modelValue?"pr-3":"pl-3"])},r.toDisplayString(e.modelValue===!0?e.onLabel:e.offLabel),3),r.createElementVNode("span",Po,r.toDisplayString(e.label),1),r.createElementVNode("span",{class:r.normalizeClass([e.modelValue?"translate-x-9":"translate-x-1","inline-block w-4 h-4 transition transform bg-white rounded-full"])},null,2)]),_:1},8,["modelValue","label","class"]))}}),Do={class:"animate-pulse"},Mo={class:"flex items-center justify-between space-x-4"},$o={key:0,class:"h-12 w-12 bg-current rounded-full flex-shrink-0"},Lo={key:1,class:"bg-current h-8 w-full rounded-lg"},No={key:0,class:"space-y-2 mt-6"},jo={key:1,class:"mt-6 bg-current h-10 rounded-lg w-1/3"},Ao=r.defineComponent({props:{avatar:{type:Boolean,default:!1},title:{type:Boolean,default:!0},lines:{default:3},footer:{type:Boolean,default:!1}},setup(e){const t=e,n=new Array(t.lines).fill(void 0).map(()=>{const o=[4,5,6,8,10,16,24,32];return{margin:`mr-${o[Math.floor(Math.random()*o.length)]}`}});return(o,i)=>(r.openBlock(),r.createElementBlock("div",Do,[r.createElementVNode("div",Mo,[e.avatar?(r.openBlock(),r.createElementBlock("div",$o)):r.createCommentVNode("",!0),e.title?(r.openBlock(),r.createElementBlock("div",Lo)):r.createCommentVNode("",!0)]),e.lines>0?(r.openBlock(),r.createElementBlock("div",No,[(r.openBlock(!0),r.createElementBlock(r.Fragment,null,r.renderList(r.unref(n),(a,c)=>(r.openBlock(),r.createElementBlock("div",{class:r.normalizeClass(["bg-current h-4 rounded-lg",a.margin]),key:c},null,2))),128))])):r.createCommentVNode("",!0),e.footer?(r.openBlock(),r.createElementBlock("div",jo)):r.createCommentVNode("",!0)]))}});var _o=(e,t)=>{const n=e.__vccOpts||e;for(const[o,i]of t)n[o]=i;return n};const zo={},Uo={class:"grid grid-cols-3 grid-rows-3 gap-1 w-12 h-12"},Fo=[r.createStaticVNode('<div class="animate-spinner bg-current rounded" style="animation-delay:0.2s;"></div><div class="animate-spinner bg-current rounded" style="animation-delay:0.3s;"></div><div class="animate-spinner bg-current rounded" style="animation-delay:0.4s;"></div><div class="animate-spinner bg-current rounded" style="animation-delay:0.1s;"></div><div class="animate-spinner bg-current rounded" style="animation-delay:0.2s;"></div><div class="animate-spinner bg-current rounded" style="animation-delay:0.3s;"></div><div class="animate-spinner bg-current rounded" style="animation-delay:0s;"></div><div class="animate-spinner bg-current rounded" style="animation-delay:0.1s;"></div><div class="animate-spinner bg-current rounded" style="animation-delay:0.2s;"></div>',9)];function Ho(e,t){return r.openBlock(),r.createElementBlock("div",Uo,Fo)}var Wo=_o(zo,[["render",Ho]]);w.D9Button=tn,w.D9Checkbox=mn,w.D9Icon=j,w.D9Input=dr,w.D9Label=br,w.D9Menu=So,w.D9MenuLink=Oo,w.D9Select=Ro,w.D9Skeleton=Ao,w.D9Spinner=Wo,w.D9Switch=To,w.brands=$e,w.icons=Ze,Object.defineProperty(w,"__esModule",{value:!0}),w[Symbol.toStringTag]="Module"});
8
+ `));return r.cloneVNode(g,l)}return Array.isArray(d)&&d.length===1?d[0]:d}return r.h(s,l,d)}function Ct(e,t){t===void 0&&(t=[]);for(var n=Object.assign({},e),o=vr(t),i;!(i=o()).done;){var a=i.value;a in n&&delete n[a]}return n}function yr(e){return e==null?!1:typeof e.type=="string"||typeof e.type=="object"||typeof e.type=="function"}var y;(function(e){e.Space=" ",e.Enter="Enter",e.Escape="Escape",e.Backspace="Backspace",e.ArrowLeft="ArrowLeft",e.ArrowUp="ArrowUp",e.ArrowRight="ArrowRight",e.ArrowDown="ArrowDown",e.Home="Home",e.End="End",e.PageUp="PageUp",e.PageDown="PageDown",e.Tab="Tab"})(y||(y={}));var xr=0;function wr(){return++xr}function Y(){return wr()}function St(e,t,n){typeof window!="undefined"&&r.watchEffect(function(o){window.addEventListener(e,t,n),o(function(){window.removeEventListener(e,t,n)})})}function k(e){var t;return e==null||e.value==null?null:(t=e.value.$el)!=null?t:e.value}var Ot=Symbol("Context"),K;(function(e){e[e.Open=0]="Open",e[e.Closed=1]="Closed"})(K||(K={}));function Et(){return r.inject(Ot,null)}function It(e){r.provide(Ot,e)}function Vt(e,t){if(e)return e;var n=t!=null?t:"button";if(typeof n=="string"&&n.toLowerCase()==="button")return"button"}function Ke(e,t){var n=r.ref(Vt(e.value.type,e.value.as));return r.onMounted(function(){n.value=Vt(e.value.type,e.value.as)}),r.watchEffect(function(){var o;n.value||!k(t)||k(t)instanceof HTMLButtonElement&&!((o=k(t))==null?void 0:o.hasAttribute("type"))&&(n.value="button")}),n}function kr(e){throw new Error("Unexpected object: "+e)}var x;(function(e){e[e.First=0]="First",e[e.Previous=1]="Previous",e[e.Next=2]="Next",e[e.Last=3]="Last",e[e.Specific=4]="Specific",e[e.Nothing=5]="Nothing"})(x||(x={}));function Bt(e,t){var n=t.resolveItems();if(n.length<=0)return null;var o=t.resolveActiveIndex(),i=o!=null?o:-1,a=function(){switch(e.focus){case x.First:return n.findIndex(function(l){return!t.resolveDisabled(l)});case x.Previous:{var c=n.slice().reverse().findIndex(function(l,d,u){return i!==-1&&u.length-d-1>=i?!1:!t.resolveDisabled(l)});return c===-1?c:n.length-1-c}case x.Next:return n.findIndex(function(l,d){return d<=i?!1:!t.resolveDisabled(l)});case x.Last:{var s=n.slice().reverse().findIndex(function(l){return!t.resolveDisabled(l)});return s===-1?s:n.length-1-s}case x.Specific:return n.findIndex(function(l){return t.resolveId(l)===e.id});case x.Nothing:return null;default:kr(e)}}();return a===-1?o:a}var I;(function(e){e[e.Open=0]="Open",e[e.Closed=1]="Closed"})(I||(I={}));function Cr(e){requestAnimationFrame(function(){return requestAnimationFrame(e)})}var Rt=Symbol("ListboxContext");function se(e){var t=r.inject(Rt,null);if(t===null){var n=new Error("<"+e+" /> is missing a parent <Listbox /> component.");throw Error.captureStackTrace&&Error.captureStackTrace(n,se),n}return t}var Sr=r.defineComponent({name:"Listbox",emits:{"update:modelValue":function(t){return!0}},props:{as:{type:[Object,String],default:"template"},disabled:{type:[Boolean],default:!1},horizontal:{type:[Boolean],default:!1},modelValue:{type:[Object,String,Number,Boolean]}},setup:function(t,n){var o=n.slots,i=n.attrs,a=n.emit,c=r.ref(I.Closed),s=r.ref(null),l=r.ref(null),d=r.ref(null),u=r.ref([]),g=r.ref(""),v=r.ref(null),p=r.computed(function(){return t.modelValue}),h={listboxState:c,value:p,orientation:r.computed(function(){return t.horizontal?"horizontal":"vertical"}),labelRef:s,buttonRef:l,optionsRef:d,disabled:r.computed(function(){return t.disabled}),options:u,searchQuery:g,activeOptionIndex:v,closeListbox:function(){t.disabled||c.value!==I.Closed&&(c.value=I.Closed,v.value=null)},openListbox:function(){t.disabled||c.value!==I.Open&&(c.value=I.Open)},goToOption:function(m,b){if(!t.disabled&&c.value!==I.Closed){var O=Bt(m===x.Specific?{focus:x.Specific,id:b}:{focus:m},{resolveItems:function(){return u.value},resolveActiveIndex:function(){return v.value},resolveId:function(E){return E.id},resolveDisabled:function(E){return E.dataRef.disabled}});g.value===""&&v.value===O||(g.value="",v.value=O)}},search:function(m){if(!t.disabled&&c.value!==I.Closed){g.value+=m.toLowerCase();var b=u.value.findIndex(function(O){return!O.dataRef.disabled&&O.dataRef.textValue.startsWith(g.value)});b===-1||b===v.value||(v.value=b)}},clearSearch:function(){t.disabled||c.value!==I.Closed&&g.value!==""&&(g.value="")},registerOption:function(m,b){u.value.push({id:m,dataRef:b})},unregisterOption:function(m){var b=u.value.slice(),O=v.value!==null?b[v.value]:null,S=b.findIndex(function(E){return E.id===m});S!==-1&&b.splice(S,1),u.value=b,v.value=function(){return S===v.value||O===null?null:b.indexOf(O)}()},select:function(m){t.disabled||a("update:modelValue",m)}};return St("mousedown",function(f){var m,b,O,S=f.target,E=document.activeElement;c.value===I.Open&&(((m=k(l))==null?void 0:m.contains(S))||(((b=k(d))==null?void 0:b.contains(S))||h.closeListbox(),!(E!==document.body&&(E==null?void 0:E.contains(S)))&&(f.defaultPrevented||(O=k(l))==null||O.focus({preventScroll:!0}))))}),r.provide(Rt,h),It(r.computed(function(){var f;return ae(c.value,(f={},f[I.Open]=K.Open,f[I.Closed]=K.Closed,f))})),function(){var f={open:c.value===I.Open,disabled:t.disabled};return z({props:Ct(t,["modelValue","onUpdate:modelValue","disabled","horizontal"]),slot:f,slots:o,attrs:i,name:"Listbox"})}}}),Or=r.defineComponent({name:"ListboxButton",props:{as:{type:[Object,String],default:"button"}},render:function(){var t,n,o=se("ListboxButton"),i={open:o.listboxState.value===I.Open,disabled:o.disabled.value},a={ref:"el",id:this.id,type:this.type,"aria-haspopup":!0,"aria-controls":(t=k(o.optionsRef))==null?void 0:t.id,"aria-expanded":o.disabled.value?void 0:o.listboxState.value===I.Open,"aria-labelledby":o.labelRef.value?[(n=k(o.labelRef))==null?void 0:n.id,this.id].join(" "):void 0,disabled:o.disabled.value===!0?!0:void 0,onKeydown:this.handleKeyDown,onKeyup:this.handleKeyUp,onClick:this.handleClick};return z({props:M({},this.$props,a),slot:i,attrs:this.$attrs,slots:this.$slots,name:"ListboxButton"})},setup:function(t,n){var o=n.attrs,i=se("ListboxButton"),a="headlessui-listbox-button-"+Y();function c(d){switch(d.key){case y.Space:case y.Enter:case y.ArrowDown:d.preventDefault(),i.openListbox(),r.nextTick(function(){var u;(u=k(i.optionsRef))==null||u.focus({preventScroll:!0}),i.value.value||i.goToOption(x.First)});break;case y.ArrowUp:d.preventDefault(),i.openListbox(),r.nextTick(function(){var u;(u=k(i.optionsRef))==null||u.focus({preventScroll:!0}),i.value.value||i.goToOption(x.Last)});break}}function s(d){switch(d.key){case y.Space:d.preventDefault();break}}function l(d){i.disabled.value||(i.listboxState.value===I.Open?(i.closeListbox(),r.nextTick(function(){var u;return(u=k(i.buttonRef))==null?void 0:u.focus({preventScroll:!0})})):(d.preventDefault(),i.openListbox(),Cr(function(){var u;return(u=k(i.optionsRef))==null?void 0:u.focus({preventScroll:!0})})))}return{id:a,el:i.buttonRef,type:Ke(r.computed(function(){return{as:t.as,type:o.type}}),i.buttonRef),handleKeyDown:c,handleKeyUp:s,handleClick:l}}}),Er=r.defineComponent({name:"ListboxOptions",props:{as:{type:[Object,String],default:"ul"},static:{type:Boolean,default:!1},unmount:{type:Boolean,default:!0}},render:function(){var t,n,o,i,a=se("ListboxOptions"),c={open:a.listboxState.value===I.Open},s={"aria-activedescendant":a.activeOptionIndex.value===null||(t=a.options.value[a.activeOptionIndex.value])==null?void 0:t.id,"aria-labelledby":(n=(o=k(a.labelRef))==null?void 0:o.id)!=null?n:(i=k(a.buttonRef))==null?void 0:i.id,"aria-orientation":a.orientation.value,id:this.id,onKeydown:this.handleKeyDown,role:"listbox",tabIndex:0,ref:"el"},l=this.$props;return z({props:M({},l,s),slot:c,attrs:this.$attrs,slots:this.$slots,features:_.RenderStrategy|_.Static,visible:this.visible,name:"ListboxOptions"})},setup:function(){var t=se("ListboxOptions"),n="headlessui-listbox-options-"+Y(),o=r.ref(null);function i(s){switch(o.value&&clearTimeout(o.value),s.key){case y.Space:if(t.searchQuery.value!=="")return s.preventDefault(),s.stopPropagation(),t.search(s.key);case y.Enter:if(s.preventDefault(),s.stopPropagation(),t.activeOptionIndex.value!==null){var l=t.options.value[t.activeOptionIndex.value].dataRef;t.select(l.value)}t.closeListbox(),r.nextTick(function(){var d;return(d=k(t.buttonRef))==null?void 0:d.focus({preventScroll:!0})});break;case ae(t.orientation.value,{vertical:y.ArrowDown,horizontal:y.ArrowRight}):return s.preventDefault(),s.stopPropagation(),t.goToOption(x.Next);case ae(t.orientation.value,{vertical:y.ArrowUp,horizontal:y.ArrowLeft}):return s.preventDefault(),s.stopPropagation(),t.goToOption(x.Previous);case y.Home:case y.PageUp:return s.preventDefault(),s.stopPropagation(),t.goToOption(x.First);case y.End:case y.PageDown:return s.preventDefault(),s.stopPropagation(),t.goToOption(x.Last);case y.Escape:s.preventDefault(),s.stopPropagation(),t.closeListbox(),r.nextTick(function(){var d;return(d=k(t.buttonRef))==null?void 0:d.focus({preventScroll:!0})});break;case y.Tab:s.preventDefault(),s.stopPropagation();break;default:s.key.length===1&&(t.search(s.key),o.value=setTimeout(function(){return t.clearSearch()},350));break}}var a=Et(),c=r.computed(function(){return a!==null?a.value===K.Open:t.listboxState.value===I.Open});return{id:n,el:t.optionsRef,handleKeyDown:i,visible:c}}}),Ir=r.defineComponent({name:"ListboxOption",props:{as:{type:[Object,String],default:"li"},value:{type:[Object,String,Number,Boolean]},disabled:{type:Boolean,default:!1}},setup:function(t,n){var o=n.slots,i=n.attrs,a=se("ListboxOption"),c="headlessui-listbox-option-"+Y(),s=r.computed(function(){return a.activeOptionIndex.value!==null?a.options.value[a.activeOptionIndex.value].id===c:!1}),l=r.computed(function(){return r.toRaw(a.value.value)===r.toRaw(t.value)}),d=r.ref({disabled:t.disabled,value:t.value,textValue:""});r.onMounted(function(){var h,f,m=(h=document.getElementById(c))==null||(f=h.textContent)==null?void 0:f.toLowerCase().trim();m!==void 0&&(d.value.textValue=m)}),r.onMounted(function(){return a.registerOption(c,d)}),r.onUnmounted(function(){return a.unregisterOption(c)}),r.onMounted(function(){r.watch([a.listboxState,l],function(){var h;a.listboxState.value===I.Open&&(!l.value||(a.goToOption(x.Specific,c),(h=document.getElementById(c))==null||h.focus==null||h.focus()))},{immediate:!0})}),r.watchEffect(function(){a.listboxState.value===I.Open&&(!s.value||r.nextTick(function(){var h;return(h=document.getElementById(c))==null||h.scrollIntoView==null?void 0:h.scrollIntoView({block:"nearest"})}))});function u(h){if(t.disabled)return h.preventDefault();a.select(t.value),a.closeListbox(),r.nextTick(function(){var f;return(f=k(a.buttonRef))==null?void 0:f.focus({preventScroll:!0})})}function g(){if(t.disabled)return a.goToOption(x.Nothing);a.goToOption(x.Specific,c)}function v(){t.disabled||s.value||a.goToOption(x.Specific,c)}function p(){t.disabled||!s.value||a.goToOption(x.Nothing)}return function(){var h=t.disabled,f={active:s.value,selected:l.value,disabled:h},m={id:c,role:"option",tabIndex:h===!0?void 0:-1,"aria-disabled":h===!0?!0:void 0,"aria-selected":l.value===!0?l.value:void 0,disabled:void 0,onClick:u,onFocus:g,onPointermove:v,onMousemove:v,onPointerleave:p,onMouseleave:p};return z({props:M({},t,m),slot:f,attrs:i,slots:o,name:"ListboxOption"})}}});function Vr(e){var t=e.container,n=e.accept,o=e.walk,i=e.enabled;r.watchEffect(function(){var a=t.value;if(!!a&&!(i!==void 0&&!i.value))for(var c=Object.assign(function(l){return n(l)},{acceptNode:n}),s=document.createTreeWalker(a,NodeFilter.SHOW_ELEMENT,c,!1);s.nextNode();)o(s.currentNode)})}var B;(function(e){e[e.Open=0]="Open",e[e.Closed=1]="Closed"})(B||(B={}));function Br(e){requestAnimationFrame(function(){return requestAnimationFrame(e)})}var Pt=Symbol("MenuContext");function ce(e){var t=r.inject(Pt,null);if(t===null){var n=new Error("<"+e+" /> is missing a parent <Menu /> component.");throw Error.captureStackTrace&&Error.captureStackTrace(n,ce),n}return t}var Rr=r.defineComponent({name:"Menu",props:{as:{type:[Object,String],default:"template"}},setup:function(t,n){var o=n.slots,i=n.attrs,a=r.ref(B.Closed),c=r.ref(null),s=r.ref(null),l=r.ref([]),d=r.ref(""),u=r.ref(null),g={menuState:a,buttonRef:c,itemsRef:s,items:l,searchQuery:d,activeItemIndex:u,closeMenu:function(){a.value=B.Closed,u.value=null},openMenu:function(){return a.value=B.Open},goToItem:function(p,h){var f=Bt(p===x.Specific?{focus:x.Specific,id:h}:{focus:p},{resolveItems:function(){return l.value},resolveActiveIndex:function(){return u.value},resolveId:function(b){return b.id},resolveDisabled:function(b){return b.dataRef.disabled}});d.value===""&&u.value===f||(d.value="",u.value=f)},search:function(p){d.value+=p.toLowerCase();var h=l.value.findIndex(function(f){return f.dataRef.textValue.startsWith(d.value)&&!f.dataRef.disabled});h===-1||h===u.value||(u.value=h)},clearSearch:function(){d.value=""},registerItem:function(p,h){l.value.push({id:p,dataRef:h})},unregisterItem:function(p){var h=l.value.slice(),f=u.value!==null?h[u.value]:null,m=h.findIndex(function(b){return b.id===p});m!==-1&&h.splice(m,1),l.value=h,u.value=function(){return m===u.value||f===null?null:h.indexOf(f)}()}};return St("mousedown",function(v){var p,h,f,m=v.target,b=document.activeElement;a.value===B.Open&&(((p=k(c))==null?void 0:p.contains(m))||(((h=k(s))==null?void 0:h.contains(m))||g.closeMenu(),!(b!==document.body&&(b==null?void 0:b.contains(m)))&&(v.defaultPrevented||(f=k(c))==null||f.focus({preventScroll:!0}))))}),r.provide(Pt,g),It(r.computed(function(){var v;return ae(a.value,(v={},v[B.Open]=K.Open,v[B.Closed]=K.Closed,v))})),function(){var v={open:a.value===B.Open};return z({props:t,slot:v,slots:o,attrs:i,name:"Menu"})}}}),Pr=r.defineComponent({name:"MenuButton",props:{disabled:{type:Boolean,default:!1},as:{type:[Object,String],default:"button"}},render:function(){var t,n=ce("MenuButton"),o={open:n.menuState.value===B.Open},i={ref:"el",id:this.id,type:this.type,"aria-haspopup":!0,"aria-controls":(t=k(n.itemsRef))==null?void 0:t.id,"aria-expanded":this.$props.disabled?void 0:n.menuState.value===B.Open,onKeydown:this.handleKeyDown,onKeyup:this.handleKeyUp,onClick:this.handleClick};return z({props:M({},this.$props,i),slot:o,attrs:this.$attrs,slots:this.$slots,name:"MenuButton"})},setup:function(t,n){var o=n.attrs,i=ce("MenuButton"),a="headlessui-menu-button-"+Y();function c(d){switch(d.key){case y.Space:case y.Enter:case y.ArrowDown:d.preventDefault(),d.stopPropagation(),i.openMenu(),r.nextTick(function(){var u;(u=k(i.itemsRef))==null||u.focus({preventScroll:!0}),i.goToItem(x.First)});break;case y.ArrowUp:d.preventDefault(),d.stopPropagation(),i.openMenu(),r.nextTick(function(){var u;(u=k(i.itemsRef))==null||u.focus({preventScroll:!0}),i.goToItem(x.Last)});break}}function s(d){switch(d.key){case y.Space:d.preventDefault();break}}function l(d){t.disabled||(i.menuState.value===B.Open?(i.closeMenu(),r.nextTick(function(){var u;return(u=k(i.buttonRef))==null?void 0:u.focus({preventScroll:!0})})):(d.preventDefault(),d.stopPropagation(),i.openMenu(),Br(function(){var u;return(u=k(i.itemsRef))==null?void 0:u.focus({preventScroll:!0})})))}return{id:a,el:i.buttonRef,type:Ke(r.computed(function(){return{as:t.as,type:o.type}}),i.buttonRef),handleKeyDown:c,handleKeyUp:s,handleClick:l}}}),Tr=r.defineComponent({name:"MenuItems",props:{as:{type:[Object,String],default:"div"},static:{type:Boolean,default:!1},unmount:{type:Boolean,default:!0}},render:function(){var t,n,o=ce("MenuItems"),i={open:o.menuState.value===B.Open},a={"aria-activedescendant":o.activeItemIndex.value===null||(t=o.items.value[o.activeItemIndex.value])==null?void 0:t.id,"aria-labelledby":(n=k(o.buttonRef))==null?void 0:n.id,id:this.id,onKeydown:this.handleKeyDown,onKeyup:this.handleKeyUp,role:"menu",tabIndex:0,ref:"el"},c=this.$props;return z({props:M({},c,a),slot:i,attrs:this.$attrs,slots:this.$slots,features:_.RenderStrategy|_.Static,visible:this.visible,name:"MenuItems"})},setup:function(){var t=ce("MenuItems"),n="headlessui-menu-items-"+Y(),o=r.ref(null);Vr({container:r.computed(function(){return k(t.itemsRef)}),enabled:r.computed(function(){return t.menuState.value===B.Open}),accept:function(d){return d.getAttribute("role")==="menuitem"?NodeFilter.FILTER_REJECT:d.hasAttribute("role")?NodeFilter.FILTER_SKIP:NodeFilter.FILTER_ACCEPT},walk:function(d){d.setAttribute("role","none")}});function i(l){switch(o.value&&clearTimeout(o.value),l.key){case y.Space:if(t.searchQuery.value!=="")return l.preventDefault(),l.stopPropagation(),t.search(l.key);case y.Enter:if(l.preventDefault(),l.stopPropagation(),t.activeItemIndex.value!==null){var d,u=t.items.value[t.activeItemIndex.value].id;(d=document.getElementById(u))==null||d.click()}t.closeMenu(),r.nextTick(function(){var g;return(g=k(t.buttonRef))==null?void 0:g.focus({preventScroll:!0})});break;case y.ArrowDown:return l.preventDefault(),l.stopPropagation(),t.goToItem(x.Next);case y.ArrowUp:return l.preventDefault(),l.stopPropagation(),t.goToItem(x.Previous);case y.Home:case y.PageUp:return l.preventDefault(),l.stopPropagation(),t.goToItem(x.First);case y.End:case y.PageDown:return l.preventDefault(),l.stopPropagation(),t.goToItem(x.Last);case y.Escape:l.preventDefault(),l.stopPropagation(),t.closeMenu(),r.nextTick(function(){var g;return(g=k(t.buttonRef))==null?void 0:g.focus({preventScroll:!0})});break;case y.Tab:l.preventDefault(),l.stopPropagation();break;default:l.key.length===1&&(t.search(l.key),o.value=setTimeout(function(){return t.clearSearch()},350));break}}function a(l){switch(l.key){case y.Space:l.preventDefault();break}}var c=Et(),s=r.computed(function(){return c!==null?c.value===K.Open:t.menuState.value===B.Open});return{id:n,el:t.itemsRef,handleKeyDown:i,handleKeyUp:a,visible:s}}}),Dr=r.defineComponent({name:"MenuItem",props:{as:{type:[Object,String],default:"template"},disabled:{type:Boolean,default:!1}},setup:function(t,n){var o=n.slots,i=n.attrs,a=ce("MenuItem"),c="headlessui-menu-item-"+Y(),s=r.computed(function(){return a.activeItemIndex.value!==null?a.items.value[a.activeItemIndex.value].id===c:!1}),l=r.ref({disabled:t.disabled,textValue:""});r.onMounted(function(){var p,h,f=(p=document.getElementById(c))==null||(h=p.textContent)==null?void 0:h.toLowerCase().trim();f!==void 0&&(l.value.textValue=f)}),r.onMounted(function(){return a.registerItem(c,l)}),r.onUnmounted(function(){return a.unregisterItem(c)}),r.watchEffect(function(){a.menuState.value===B.Open&&(!s.value||r.nextTick(function(){var p;return(p=document.getElementById(c))==null||p.scrollIntoView==null?void 0:p.scrollIntoView({block:"nearest"})}))});function d(p){if(t.disabled)return p.preventDefault();a.closeMenu(),r.nextTick(function(){var h;return(h=k(a.buttonRef))==null?void 0:h.focus({preventScroll:!0})})}function u(){if(t.disabled)return a.goToItem(x.Nothing);a.goToItem(x.Specific,c)}function g(){t.disabled||s.value||a.goToItem(x.Specific,c)}function v(){t.disabled||!s.value||a.goToItem(x.Nothing)}return function(){var p=t.disabled,h={active:s.value,disabled:p},f={id:c,role:"menuitem",tabIndex:p===!0?void 0:-1,"aria-disabled":p===!0?!0:void 0,onClick:d,onFocus:u,onPointermove:g,onMousemove:g,onPointerleave:v,onMouseleave:v};return z({props:M({},t,f),slot:h,attrs:i,slots:o,name:"MenuItem"})}}}),Mr=Symbol("GroupContext"),$r=r.defineComponent({name:"Switch",emits:{"update:modelValue":function(t){return!0}},props:{as:{type:[Object,String],default:"button"},modelValue:{type:Boolean,default:!1}},render:function(){var t={checked:this.$props.modelValue},n={id:this.id,ref:"el",role:"switch",type:this.type,tabIndex:0,"aria-checked":this.$props.modelValue,"aria-labelledby":this.labelledby,"aria-describedby":this.describedby,onClick:this.handleClick,onKeyup:this.handleKeyUp,onKeypress:this.handleKeyPress};return z({props:M({},this.$props,n),slot:t,attrs:this.$attrs,slots:this.$slots,name:"Switch"})},setup:function(t,n){var o=n.emit,i=n.attrs,a=r.inject(Mr,null),c="headlessui-switch-"+Y();function s(){o("update:modelValue",!t.modelValue)}var l=r.ref(null),d=a===null?l:a.switchRef;return{id:c,el:d,type:Ke(r.computed(function(){return{as:t.as,type:i.type}}),d),labelledby:a==null?void 0:a.labelledby,describedby:a==null?void 0:a.describedby,handleClick:function(g){g.preventDefault(),s()},handleKeyUp:function(g){g.key!==y.Tab&&g.preventDefault(),g.key===y.Space&&s()},handleKeyPress:function(g){g.preventDefault()}}}});function N(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function Tt(e){var t=N(e).Element;return e instanceof t||e instanceof Element}function $(e){var t=N(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function Lr(e){if(typeof ShadowRoot=="undefined")return!1;var t=N(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}var ue=Math.round;function Ee(e,t){t===void 0&&(t=!1);var n=e.getBoundingClientRect(),o=1,i=1;if($(e)&&t){var a=e.offsetHeight,c=e.offsetWidth;c>0&&(o=ue(n.width)/c||1),a>0&&(i=ue(n.height)/a||1)}return{width:n.width/o,height:n.height/i,top:n.top/i,right:n.right/o,bottom:n.bottom/i,left:n.left/o,x:n.left/o,y:n.top/i}}function Dt(e){var t=N(e),n=t.pageXOffset,o=t.pageYOffset;return{scrollLeft:n,scrollTop:o}}function Nr(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function jr(e){return e===N(e)||!$(e)?Dt(e):Nr(e)}function U(e){return e?(e.nodeName||"").toLowerCase():null}function Ie(e){return((Tt(e)?e.ownerDocument:e.document)||window.document).documentElement}function Ar(e){return Ee(Ie(e)).left+Dt(e).scrollLeft}function G(e){return N(e).getComputedStyle(e)}function qe(e){var t=G(e),n=t.overflow,o=t.overflowX,i=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+i+o)}function _r(e){var t=e.getBoundingClientRect(),n=ue(t.width)/e.offsetWidth||1,o=ue(t.height)/e.offsetHeight||1;return n!==1||o!==1}function zr(e,t,n){n===void 0&&(n=!1);var o=$(t),i=$(t)&&_r(t),a=Ie(t),c=Ee(e,i),s={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(o||!o&&!n)&&((U(t)!=="body"||qe(a))&&(s=jr(t)),$(t)?(l=Ee(t,!0),l.x+=t.clientLeft,l.y+=t.clientTop):a&&(l.x=Ar(a))),{x:c.left+s.scrollLeft-l.x,y:c.top+s.scrollTop-l.y,width:c.width,height:c.height}}function Ur(e){var t=Ee(e),n=e.offsetWidth,o=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-o)<=1&&(o=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:o}}function Xe(e){return U(e)==="html"?e:e.assignedSlot||e.parentNode||(Lr(e)?e.host:null)||Ie(e)}function Mt(e){return["html","body","#document"].indexOf(U(e))>=0?e.ownerDocument.body:$(e)&&qe(e)?e:Mt(Xe(e))}function Ve(e,t){var n;t===void 0&&(t=[]);var o=Mt(e),i=o===((n=e.ownerDocument)==null?void 0:n.body),a=N(o),c=i?[a].concat(a.visualViewport||[],qe(o)?o:[]):o,s=t.concat(c);return i?s:s.concat(Ve(Xe(c)))}function Fr(e){return["table","td","th"].indexOf(U(e))>=0}function $t(e){return!$(e)||G(e).position==="fixed"?null:e.offsetParent}function Hr(e){var t=navigator.userAgent.toLowerCase().indexOf("firefox")!==-1,n=navigator.userAgent.indexOf("Trident")!==-1;if(n&&$(e)){var o=G(e);if(o.position==="fixed")return null}for(var i=Xe(e);$(i)&&["html","body"].indexOf(U(i))<0;){var a=G(i);if(a.transform!=="none"||a.perspective!=="none"||a.contain==="paint"||["transform","perspective"].indexOf(a.willChange)!==-1||t&&a.willChange==="filter"||t&&a.filter&&a.filter!=="none")return i;i=i.parentNode}return null}function Lt(e){for(var t=N(e),n=$t(e);n&&Fr(n)&&G(n).position==="static";)n=$t(n);return n&&(U(n)==="html"||U(n)==="body"&&G(n).position==="static")?t:n||Hr(e)||t}var Be="top",Ye="bottom",Ge="right",Re="left",Wr="start",Je="end",Kr="beforeRead",qr="read",Xr="afterRead",Yr="beforeMain",Gr="main",Jr="afterMain",Qr="beforeWrite",Zr="write",eo="afterWrite",to=[Kr,qr,Xr,Yr,Gr,Jr,Qr,Zr,eo];function no(e){var t=new Map,n=new Set,o=[];e.forEach(function(a){t.set(a.name,a)});function i(a){n.add(a.name);var c=[].concat(a.requires||[],a.requiresIfExists||[]);c.forEach(function(s){if(!n.has(s)){var l=t.get(s);l&&i(l)}}),o.push(a)}return e.forEach(function(a){n.has(a.name)||i(a)}),o}function ro(e){var t=no(e);return to.reduce(function(n,o){return n.concat(t.filter(function(i){return i.phase===o}))},[])}function oo(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}function Nt(e){return e.split("-")[0]}function io(e){var t=e.reduce(function(n,o){var i=n[o.name];return n[o.name]=i?Object.assign({},i,o,{options:Object.assign({},i.options,o.options),data:Object.assign({},i.data,o.data)}):o,n},{});return Object.keys(t).map(function(n){return t[n]})}function jt(e){return e.split("-")[1]}function ao(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function lo(e){var t=e.reference,n=e.element,o=e.placement,i=o?Nt(o):null,a=o?jt(o):null,c=t.x+t.width/2-n.width/2,s=t.y+t.height/2-n.height/2,l;switch(i){case Be:l={x:c,y:t.y-n.height};break;case Ye:l={x:c,y:t.y+t.height};break;case Ge:l={x:t.x+t.width,y:s};break;case Re:l={x:t.x-n.width,y:s};break;default:l={x:t.x,y:t.y}}var d=i?ao(i):null;if(d!=null){var u=d==="y"?"height":"width";switch(a){case Wr:l[d]=l[d]-(t[u]/2-n[u]/2);break;case Je:l[d]=l[d]+(t[u]/2-n[u]/2);break}}return l}var At={placement:"bottom",modifiers:[],strategy:"absolute"};function _t(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some(function(o){return!(o&&typeof o.getBoundingClientRect=="function")})}function so(e){e===void 0&&(e={});var t=e,n=t.defaultModifiers,o=n===void 0?[]:n,i=t.defaultOptions,a=i===void 0?At:i;return function(s,l,d){d===void 0&&(d=a);var u={placement:"bottom",orderedModifiers:[],options:Object.assign({},At,a),modifiersData:{},elements:{reference:s,popper:l},attributes:{},styles:{}},g=[],v=!1,p={state:u,setOptions:function(b){var O=typeof b=="function"?b(u.options):b;f(),u.options=Object.assign({},a,u.options,O),u.scrollParents={reference:Tt(s)?Ve(s):s.contextElement?Ve(s.contextElement):[],popper:Ve(l)};var S=ro(io([].concat(o,u.options.modifiers)));return u.orderedModifiers=S.filter(function(E){return E.enabled}),h(),p.update()},forceUpdate:function(){if(!v){var b=u.elements,O=b.reference,S=b.popper;if(!!_t(O,S)){u.rects={reference:zr(O,Lt(S),u.options.strategy==="fixed"),popper:Ur(S)},u.reset=!1,u.placement=u.options.placement,u.orderedModifiers.forEach(function(De){return u.modifiersData[De.name]=Object.assign({},De.data)});for(var E=0;E<u.orderedModifiers.length;E++){if(u.reset===!0){u.reset=!1,E=-1;continue}var L=u.orderedModifiers[E],T=L.fn,de=L.options,Te=de===void 0?{}:de,Qe=L.name;typeof T=="function"&&(u=T({state:u,options:Te,name:Qe,instance:p})||u)}}}},update:oo(function(){return new Promise(function(m){p.forceUpdate(),m(u)})}),destroy:function(){f(),v=!0}};if(!_t(s,l))return p;p.setOptions(d).then(function(m){!v&&d.onFirstUpdate&&d.onFirstUpdate(m)});function h(){u.orderedModifiers.forEach(function(m){var b=m.name,O=m.options,S=O===void 0?{}:O,E=m.effect;if(typeof E=="function"){var L=E({state:u,name:b,instance:p,options:S}),T=function(){};g.push(L||T)}})}function f(){g.forEach(function(m){return m()}),g=[]}return p}}var Pe={passive:!0};function co(e){var t=e.state,n=e.instance,o=e.options,i=o.scroll,a=i===void 0?!0:i,c=o.resize,s=c===void 0?!0:c,l=N(t.elements.popper),d=[].concat(t.scrollParents.reference,t.scrollParents.popper);return a&&d.forEach(function(u){u.addEventListener("scroll",n.update,Pe)}),s&&l.addEventListener("resize",n.update,Pe),function(){a&&d.forEach(function(u){u.removeEventListener("scroll",n.update,Pe)}),s&&l.removeEventListener("resize",n.update,Pe)}}var uo={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:co,data:{}};function fo(e){var t=e.state,n=e.name;t.modifiersData[n]=lo({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}var po={name:"popperOffsets",enabled:!0,phase:"read",fn:fo,data:{}},mo={top:"auto",right:"auto",bottom:"auto",left:"auto"};function ho(e){var t=e.x,n=e.y,o=window,i=o.devicePixelRatio||1;return{x:ue(t*i)/i||0,y:ue(n*i)/i||0}}function zt(e){var t,n=e.popper,o=e.popperRect,i=e.placement,a=e.variation,c=e.offsets,s=e.position,l=e.gpuAcceleration,d=e.adaptive,u=e.roundOffsets,g=e.isFixed,v=c.x,p=v===void 0?0:v,h=c.y,f=h===void 0?0:h,m=typeof u=="function"?u({x:p,y:f}):{x:p,y:f};p=m.x,f=m.y;var b=c.hasOwnProperty("x"),O=c.hasOwnProperty("y"),S=Re,E=Be,L=window;if(d){var T=Lt(n),de="clientHeight",Te="clientWidth";if(T===N(n)&&(T=Ie(n),G(T).position!=="static"&&s==="absolute"&&(de="scrollHeight",Te="scrollWidth")),T=T,i===Be||(i===Re||i===Ge)&&a===Je){E=Ye;var Qe=g&&L.visualViewport?L.visualViewport.height:T[de];f-=Qe-o.height,f*=l?1:-1}if(i===Re||(i===Be||i===Ye)&&a===Je){S=Ge;var De=g&&L.visualViewport?L.visualViewport.width:T[Te];p-=De-o.width,p*=l?1:-1}}var Ut=Object.assign({position:s},d&&mo),Ft=u===!0?ho({x:p,y:f}):{x:p,y:f};if(p=Ft.x,f=Ft.y,l){var ye;return Object.assign({},Ut,(ye={},ye[E]=O?"0":"",ye[S]=b?"0":"",ye.transform=(L.devicePixelRatio||1)<=1?"translate("+p+"px, "+f+"px)":"translate3d("+p+"px, "+f+"px, 0)",ye))}return Object.assign({},Ut,(t={},t[E]=O?f+"px":"",t[S]=b?p+"px":"",t.transform="",t))}function bo(e){var t=e.state,n=e.options,o=n.gpuAcceleration,i=o===void 0?!0:o,a=n.adaptive,c=a===void 0?!0:a,s=n.roundOffsets,l=s===void 0?!0:s,d={placement:Nt(t.placement),variation:jt(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:i,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,zt(Object.assign({},d,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:c,roundOffsets:l})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,zt(Object.assign({},d,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}var go={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:bo,data:{}};function vo(e){var t=e.state;Object.keys(t.elements).forEach(function(n){var o=t.styles[n]||{},i=t.attributes[n]||{},a=t.elements[n];!$(a)||!U(a)||(Object.assign(a.style,o),Object.keys(i).forEach(function(c){var s=i[c];s===!1?a.removeAttribute(c):a.setAttribute(c,s===!0?"":s)}))})}function yo(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(o){var i=t.elements[o],a=t.attributes[o]||{},c=Object.keys(t.styles.hasOwnProperty(o)?t.styles[o]:n[o]),s=c.reduce(function(l,d){return l[d]="",l},{});!$(i)||!U(i)||(Object.assign(i.style,s),Object.keys(a).forEach(function(l){i.removeAttribute(l)}))})}}var xo={name:"applyStyles",enabled:!0,phase:"write",fn:vo,effect:yo,requires:["computeStyles"]},wo=[uo,po,go,xo],ko=so({defaultModifiers:wo});function Co(e){const t=r.ref(null),n=r.ref(null);return r.onMounted(()=>{r.watchEffect(o=>{if(!n.value||!t.value)return;const i=n.value.el||n.value,a=t.value.el||t.value;if(!(a instanceof HTMLElement)||!(i instanceof HTMLElement))return;const{destroy:c}=ko(a,i,e);o(c)})}),[t,n]}const So=r.defineComponent({props:{position:{default:"left"},usePortal:{type:[Boolean,String],default:!1}},setup(e){const n=e.position==="left"?"bottom-end":"bottom-start",[o,i]=Co({placement:n});return(a,c)=>(r.openBlock(),r.createBlock(r.unref(Rr),{as:"div",class:"relative inline-block text-left"},{default:r.withCtx(()=>[r.createVNode(r.unref(Pr),{class:"focus:outline-none",ref_key:"button",ref:o},{default:r.withCtx(()=>[r.renderSlot(a.$slots,"button",{},()=>[r.createVNode(r.unref(j),{class:"fill-current",name:"ellipsis-h"})])]),_:3},512),(r.openBlock(),r.createBlock(r.Teleport,{to:typeof e.usePortal=="string"?e.usePortal:"body",disabled:!e.usePortal},[r.createElementVNode("div",{ref_key:"container",ref:i,class:"w-48"},[r.createVNode(r.Transition,{"enter-active-class":"transition duration-200 ease-in-out","enter-from-class":"transform -translate-y-4 opacity-0","enter-to-class":"transform opacity-100","leave-active-class":"transition duration-100 ease-in-out","leave-from-class":"transform opacity-100","leave-to-class":"transform -translate-y-2 opacity-0"},{default:r.withCtx(()=>[r.createVNode(r.unref(Tr),{class:r.normalizeClass([{"absolute left-0 origin-top-left":!e.usePortal&&e.position==="right","absolute right-0 origin-top-right":!e.usePortal&&e.position==="left"},"z-40 mt-1 p-1 bg-white rounded shadow-lg text-grey-700 focus:outline-none w-full"])},{default:r.withCtx(()=>[r.renderSlot(a.$slots,"default")]),_:3},8,["class"])]),_:3})],512)],8,["to","disabled"]))]),_:3}))}}),Oo=r.defineComponent({props:{label:null,disabled:{type:Boolean}},setup(e){return(t,n)=>(r.openBlock(),r.createBlock(r.unref(Dr),r.normalizeProps(r.guardReactiveProps({disabled:e.disabled})),{default:r.withCtx(({active:o})=>[r.createElementVNode("span",r.mergeProps({class:["block px-4 py-2 text-xs transition-colors duration-100 rounded-md",[o?"bg-grey-200":"",e.disabled?"opacity-50 pointer-events-none":"hover:bg-grey-200 focus:bg-grey-200 focus:outline-none"]]},t.$attrs),r.toDisplayString(e.label),17)]),_:1},16))}}),Eo={class:"relative"},Io={key:1,class:"block truncate"},Vo={key:2,class:"text-grey-500"},Bo={class:"absolute right-0 inset-y-0 inline-flex items-center justify-center text-grey-700 dark:text-grey-100 px-4 pointer-events-none"},Ro=r.defineComponent({props:{modelValue:null,size:{default:"medium"},icon:null,placeholder:null,isDisabled:{type:Boolean,default:!1},options:null},emits:["update:modelValue"],setup(e,{emit:t}){const n=e,o=n.modelValue?r.ref(n.modelValue):r.ref(null),{inputClasses:i,disabledClasses:a,textSizeClasses:c}=xt(n);return r.watch(()=>n.modelValue,s=>{var l;!s||s.id!==((l=o.value)==null?void 0:l.id)&&(o.value=s)}),r.watch(o,s=>{s&&t("update:modelValue",s)}),(s,l)=>(r.openBlock(),r.createBlock(r.unref(Sr),{as:"div",modelValue:r.unref(o),"onUpdate:modelValue":l[0]||(l[0]=d=>r.isRef(o)?o.value=d:null),disabled:e.isDisabled},{default:r.withCtx(()=>[r.createElementVNode("div",Eo,[r.createVNode(r.unref(Or),{class:r.normalizeClass(["w-full mono-50 bg-grey-50 text-grey-800 placeholder-grey-600 border border-grey-300 dark:bg-grey-800 dark:text-grey-100 dark:placeholder-grey-400 dark:border-grey-700 focus:ring-2 focus:border-blue-400 focus:ring-blue-400 focus:outline-none dark:focus:border-blue-800 dark:focus:ring-blue-800 cursor-default rounded font-normal text-left",[r.unref(i),r.unref(c),r.unref(a)]])},{default:r.withCtx(()=>[e.icon?(r.openBlock(),r.createElementBlock("span",{key:0,class:r.normalizeClass(["absolute left-0 inset-y-0 inline-flex items-center justify-center text-grey-700 dark:text-grey-100 px-4 pointer-events-none",r.unref(c)])},[r.createVNode(j,{name:e.icon},null,8,["name"])],2)):r.createCommentVNode("",!0),r.unref(o)?(r.openBlock(),r.createElementBlock("span",Io,r.toDisplayString(r.unref(o).label),1)):(r.openBlock(),r.createElementBlock("span",Vo,r.toDisplayString(e.placeholder),1)),r.createElementVNode("span",Bo,[r.createVNode(j,{class:"text-grey-400",name:"chevron-down","aria-hidden":"true"})])]),_:1},8,["class"]),r.createVNode(r.Transition,{"leave-active-class":"transition ease-in duration-100","leave-from-class":"opacity-100","leave-to-class":"opacity-0"},{default:r.withCtx(()=>[r.createVNode(r.unref(Er),{class:"absolute z-10 mt-1 w-full bg-white dark:bg-grey-700 dark:text-grey-50 shadow-lg max-h-60 rounded-md py-1 text-base ring-1 ring-black ring-opacity-5 overflow-auto focus:outline-none sm:text-sm"},{default:r.withCtx(()=>[(r.openBlock(!0),r.createElementBlock(r.Fragment,null,r.renderList(e.options,d=>(r.openBlock(),r.createBlock(r.unref(Ir),{as:"template",key:d.id,value:d},{default:r.withCtx(({active:u,selected:g})=>[r.createElementVNode("li",{class:r.normalizeClass([u?"text-white bg-grey-800":"text-gray-900 dark:text-grey-50","cursor-default select-none relative py-2 pl-3 pr-9"])},[r.createElementVNode("span",{class:r.normalizeClass([g?"font-semibold":"font-normal","block truncate"])},r.toDisplayString(d.label),3),g?(r.openBlock(),r.createElementBlock("span",{key:0,class:r.normalizeClass([u?"text-blue-100":"text-blue-500","absolute inset-y-0 right-0 flex items-center pr-4"])},[r.createVNode(j,{name:"check",class:"h-5 w-5","aria-hidden":"true"})],2)):r.createCommentVNode("",!0)],2)]),_:2},1032,["value"]))),128))]),_:1})]),_:1})])]),_:1},8,["modelValue","disabled"]))}}),Po={class:"sr-only"},To=r.defineComponent({props:{id:{default:et()},label:null,modelValue:{type:Boolean},description:null,onLabel:{default:"on"},offLabel:{default:"off"}},emits:["update:modelValue","change"],setup(e,{emit:t}){const n=o=>{t("update:modelValue",o),t("change",o)};return(o,i)=>(r.openBlock(),r.createBlock(r.unref($r),{modelValue:e.modelValue,label:e.label,class:r.normalizeClass([e.modelValue?"bg-blue-700":"bg-grey-700","relative inline-flex items-center h-6 transition rounded-full w-14 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-offset-gray-900 focus:ring-blue-300"]),"onUpdate:modelValue":n},{default:r.withCtx(()=>[r.createElementVNode("span",{class:r.normalizeClass(["absolute text-xs text-center text-white inset-x-2",e.modelValue?"pr-3":"pl-3"])},r.toDisplayString(e.modelValue===!0?e.onLabel:e.offLabel),3),r.createElementVNode("span",Po,r.toDisplayString(e.label),1),r.createElementVNode("span",{class:r.normalizeClass([e.modelValue?"translate-x-9":"translate-x-1","inline-block w-4 h-4 transition bg-white rounded-full"])},null,2)]),_:1},8,["modelValue","label","class"]))}}),Do={class:"animate-pulse"},Mo={class:"flex items-center justify-between space-x-4"},$o={key:0,class:"w-12 h-12 bg-current rounded-full shrink-0"},Lo={key:1,class:"w-full h-8 bg-current rounded-lg"},No={key:0,class:"mt-6 space-y-2"},jo={key:1,class:"w-1/3 h-10 mt-6 bg-current rounded-lg"},Ao=r.defineComponent({props:{avatar:{type:Boolean,default:!1},title:{type:Boolean,default:!0},lines:{default:3},footer:{type:Boolean,default:!1}},setup(e){const t=e,n=new Array(t.lines).fill(void 0).map(()=>{const o=[4,5,6,8,10,16,24,32];return{margin:`mr-${o[Math.floor(Math.random()*o.length)]}`}});return(o,i)=>(r.openBlock(),r.createElementBlock("div",Do,[r.createElementVNode("div",Mo,[e.avatar?(r.openBlock(),r.createElementBlock("div",$o)):r.createCommentVNode("",!0),e.title?(r.openBlock(),r.createElementBlock("div",Lo)):r.createCommentVNode("",!0)]),e.lines>0?(r.openBlock(),r.createElementBlock("div",No,[(r.openBlock(!0),r.createElementBlock(r.Fragment,null,r.renderList(r.unref(n),(a,c)=>(r.openBlock(),r.createElementBlock("div",{class:r.normalizeClass(["h-4 bg-current rounded-lg",a.margin]),key:c},null,2))),128))])):r.createCommentVNode("",!0),e.footer?(r.openBlock(),r.createElementBlock("div",jo)):r.createCommentVNode("",!0)]))}});var _o=(e,t)=>{const n=e.__vccOpts||e;for(const[o,i]of t)n[o]=i;return n};const zo={},Uo={class:"grid grid-cols-3 grid-rows-3 gap-1 w-12 h-12"},Fo=[r.createStaticVNode('<div class="animate-spinner bg-current rounded" style="animation-delay:0.2s;"></div><div class="animate-spinner bg-current rounded" style="animation-delay:0.3s;"></div><div class="animate-spinner bg-current rounded" style="animation-delay:0.4s;"></div><div class="animate-spinner bg-current rounded" style="animation-delay:0.1s;"></div><div class="animate-spinner bg-current rounded" style="animation-delay:0.2s;"></div><div class="animate-spinner bg-current rounded" style="animation-delay:0.3s;"></div><div class="animate-spinner bg-current rounded" style="animation-delay:0s;"></div><div class="animate-spinner bg-current rounded" style="animation-delay:0.1s;"></div><div class="animate-spinner bg-current rounded" style="animation-delay:0.2s;"></div>',9)];function Ho(e,t){return r.openBlock(),r.createElementBlock("div",Uo,Fo)}var Wo=_o(zo,[["render",Ho]]);w.D9Button=tn,w.D9Checkbox=mn,w.D9Icon=j,w.D9Input=fr,w.D9Label=br,w.D9Menu=So,w.D9MenuLink=Oo,w.D9Select=Ro,w.D9Skeleton=Ao,w.D9Spinner=Wo,w.D9Switch=To,w.brands=$e,w.icons=Ze,Object.defineProperty(w,"__esModule",{value:!0}),w[Symbol.toStringTag]="Module"});
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@deck9/ui",
3
- "version": "0.9.1",
3
+ "version": "0.9.2",
4
4
  "description": "The UI components used in deck9 software applications.",
5
5
  "author": "Philipp Reinking <philipp@deck9.co> (https://deck9.co)",
6
6
  "scripts": {
@@ -27,9 +27,9 @@
27
27
  "@fortawesome/vue-fontawesome": "^3.0.0-4",
28
28
  "@headlessui/vue": "^1.4.3",
29
29
  "@popperjs/core": "^2.11.2",
30
- "@tailwindcss/forms": "^0.3.3",
31
- "@tailwindcss/typography": "^0.4.1",
32
- "tailwindcss": "^2.2.15",
30
+ "@tailwindcss/forms": "^0.4.0",
31
+ "@tailwindcss/typography": "^0.5.1",
32
+ "tailwindcss": "^3.0.18",
33
33
  "uuid": "^8.3.2",
34
34
  "vue": "^3.2.29"
35
35
  },
@@ -3,24 +3,24 @@ const defaultTheme = require("tailwindcss/defaultTheme");
3
3
  const colors = require("tailwindcss/colors");
4
4
 
5
5
  module.exports = {
6
- mode: "jit",
7
- purge: {
8
- content: [
9
- "./src/**/*.vue",
10
- "./src/**/*.mdx",
11
- "./src/**/*.ts",
12
- "./src/**/*.stories.ts",
13
- "./src/**/*.stories.tsx",
14
- ],
15
- whitelistPatterns: [/svg.*/, /fa.*/],
16
- },
6
+ content: [
7
+ "./src/**/*.{vue,ts,mdx}",
8
+ "./src/**/*.stories.{ts,tsx}",
9
+ ],
10
+
11
+ safelist: [
12
+ { pattern: /svg.*/ },
13
+ { pattern: /fa.*/ }
14
+ ],
15
+
17
16
  darkMode: "class",
17
+
18
18
  theme: {
19
19
  extend: {
20
20
  colors: {
21
21
  black: "#050505",
22
22
  white: "#ffffff",
23
- grey: colors.blueGray,
23
+ grey: colors.slate,
24
24
  red: colors.red,
25
25
  yellow: colors.yellow,
26
26
  blue: colors.blue,