@26lights/orcha 0.42.17 → 0.42.19
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.
- package/dist/orcha.cjs.js +2 -2
- package/dist/orcha.css +1 -1
- package/dist/orcha.es.js +1339 -1343
- package/dist/orcha.umd.js +3 -3
- package/package.json +2 -2
package/dist/orcha.cjs.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),Rt=require("vue-router"),xe=require("vuedraggable");const is=e.defineComponent({__name:"AoTemplates",props:{templates:{}},setup(a){return(t,o)=>(e.openBlock(),e.createBlock(e.unref(Rt.RouterView),e.mergeProps({templates:t.templates},t.$attrs),null,16,["templates"]))}}),I=(a,t)=>{const o=a.__vccOpts||a;for(const[n,s]of t)o[n]=s;return o},cs={},ds={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},us=e.createElementVNode("path",{d:"M12 13C12.9667 13 13.7917 12.6583 14.475 11.975C15.1583 11.2917 15.5 10.4667 15.5 9.5C15.5 8.53333 15.1583 7.70833 14.475 7.025C13.7917 6.34167 12.9667 6 12 6C11.0333 6 10.2083 6.34167 9.525 7.025C8.84167 7.70833 8.5 8.53333 8.5 9.5C8.5 10.4667 8.84167 11.2917 9.525 11.975C10.2083 12.6583 11.0333 13 12 13ZM3 21V3H21V21H3ZM5 19H19V17.85C18.1 16.9667 17.054 16.271 15.862 15.763C14.67 15.255 13.3827 15.0007 12 15C10.6167 15 9.329 15.2543 8.137 15.763C6.945 16.2717 5.89933 16.9673 5 17.85V19Z",fill:"black"},null,-1),ps=[us];function ms(a,t){return e.openBlock(),e.createElementBlock("svg",ds,ps)}const vs=I(cs,[["render",ms]]),fs={},hs={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Cs=e.createElementVNode("path",{d:"M5.85 17.1C6.7 16.45 7.65 15.9373 8.7 15.562C9.75 15.1867 10.85 14.9993 12 15C13.15 15 14.25 15.1877 15.3 15.563C16.35 15.9383 17.3 16.4507 18.15 17.1C18.7333 16.4167 19.1877 15.6417 19.513 14.775C19.8383 13.9083 20.0007 12.9833 20 12C20 9.78333 19.221 7.89567 17.663 6.337C16.105 4.77833 14.2173 3.99933 12 4C9.78333 4 7.89567 4.779 6.337 6.337C4.77833 7.895 3.99933 9.78267 4 12C4 12.9833 4.16267 13.9083 4.488 14.775C4.81333 15.6417 5.26733 16.4167 5.85 17.1ZM12 13C11.0167 13 10.1873 12.6627 9.512 11.988C8.83667 11.3133 8.49933 10.484 8.5 9.5C8.5 8.51667 8.83733 7.68733 9.512 7.012C10.1867 6.33667 11.016 5.99933 12 6C12.9833 6 13.8127 6.33733 14.488 7.012C15.1633 7.68667 15.5007 8.516 15.5 9.5C15.5 10.4833 15.1627 11.3127 14.488 11.988C13.8133 12.6633 12.984 13.0007 12 13ZM12 22C10.6167 22 9.31667 21.7373 8.1 21.212C6.88333 20.6867 5.825 19.9743 4.925 19.075C4.025 18.175 3.31267 17.1167 2.788 15.9C2.26333 14.6833 2.00067 13.3833 2 12C2 10.6167 2.26267 9.31667 2.788 8.1C3.31333 6.88333 4.02567 5.825 4.925 4.925C5.825 4.025 6.88333 3.31267 8.1 2.788C9.31667 2.26333 10.6167 2.00067 12 2C13.3833 2 14.6833 2.26267 15.9 2.788C17.1167 3.31333 18.175 4.02567 19.075 4.925C19.975 5.825 20.6877 6.88333 21.213 8.1C21.7383 9.31667 22.0007 10.6167 22 12C22 13.3833 21.7373 14.6833 21.212 15.9C20.6867 17.1167 19.9743 18.175 19.075 19.075C18.175 19.975 17.1167 20.6877 15.9 21.213C14.6833 21.7383 13.3833 22.0007 12 22Z",fill:"black"},null,-1),gs=[Cs];function _s(a,t){return e.openBlock(),e.createElementBlock("svg",hs,gs)}const ys=I(fs,[["render",_s]]),bs={},ks={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},ws=e.createElementVNode("path",{d:"M17 21C16.45 21 15.979 20.804 15.587 20.412C15.195 20.02 14.9993 19.5493 15 19V18H13C12.45 18 11.979 17.804 11.587 17.412C11.195 17.02 10.9993 16.5493 11 16V8H9V9C9 9.55 8.804 10.021 8.412 10.413C8.02 10.805 7.54934 11.0007 7 11H4C3.45 11 2.979 10.804 2.587 10.412C2.195 10.02 1.99934 9.54934 2 9V5C2 4.45 2.196 3.979 2.588 3.587C2.98 3.195 3.45067 2.99934 4 3H7C7.55 3 8.021 3.196 8.413 3.588C8.805 3.98 9.00067 4.45067 9 5V6H15V5C15 4.45 15.196 3.979 15.588 3.587C15.98 3.195 16.4507 2.99934 17 3H20C20.55 3 21.021 3.196 21.413 3.588C21.805 3.98 22.0007 4.45067 22 5V9C22 9.55 21.804 10.021 21.412 10.413C21.02 10.805 20.5493 11.0007 20 11H17C16.45 11 15.979 10.804 15.587 10.412C15.195 10.02 14.9993 9.54934 15 9V8H13V16H15V15C15 14.45 15.196 13.979 15.588 13.587C15.98 13.195 16.4507 12.9993 17 13H20C20.55 13 21.021 13.196 21.413 13.588C21.805 13.98 22.0007 14.4507 22 15V19C22 19.55 21.804 20.021 21.412 20.413C21.02 20.805 20.5493 21.0007 20 21H17ZM17 9H20V5H17V9ZM17 19H20V15H17V19ZM4 9H7V5H4V9Z",fill:"black"},null,-1),$s=[ws];function Es(a,t){return e.openBlock(),e.createElementBlock("svg",ks,$s)}const Bs=I(bs,[["render",Es]]),Vs={},Ns={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Ss=e.createElementVNode("path",{d:"M17 21C16.45 21 15.979 20.804 15.587 20.412C15.195 20.02 14.9993 19.5493 15 19V18H13C12.45 18 11.979 17.804 11.587 17.412C11.195 17.02 10.9993 16.5493 11 16V8H9V9C9 9.55 8.804 10.021 8.412 10.413C8.02 10.805 7.54934 11.0007 7 11H4C3.45 11 2.979 10.804 2.587 10.412C2.195 10.02 1.99934 9.54934 2 9V5C2 4.45 2.196 3.979 2.588 3.587C2.98 3.195 3.45067 2.99934 4 3H7C7.55 3 8.021 3.196 8.413 3.588C8.805 3.98 9.00067 4.45067 9 5V6H15V5C15 4.45 15.196 3.979 15.588 3.587C15.98 3.195 16.4507 2.99934 17 3H20C20.55 3 21.021 3.196 21.413 3.588C21.805 3.98 22.0007 4.45067 22 5V9C22 9.55 21.804 10.021 21.412 10.413C21.02 10.805 20.5493 11.0007 20 11H17C16.45 11 15.979 10.804 15.587 10.412C15.195 10.02 14.9993 9.54934 15 9V8H13V16H15V15C15 14.45 15.196 13.979 15.588 13.587C15.98 13.195 16.4507 12.9993 17 13H20C20.55 13 21.021 13.196 21.413 13.588C21.805 13.98 22.0007 14.4507 22 15V19C22 19.55 21.804 20.021 21.412 20.413C21.02 20.805 20.5493 21.0007 20 21H17Z",fill:"black"},null,-1),Ms=[Ss];function As(a,t){return e.openBlock(),e.createElementBlock("svg",Ns,Ms)}const Ts=I(Vs,[["render",As]]),Os={},Is={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Ls=e.createElementVNode("path",{d:"M11 19V13H5V11H11V5H13V11H19V13H13V19H11Z",fill:"black"},null,-1),Ds=[Ls];function Ps(a,t){return e.openBlock(),e.createElementBlock("svg",Is,Ds)}const Hs=I(Os,[["render",Ps]]),Rs={},js={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Fs=e.createElementVNode("path",{d:"M12 17C12.2833 17 12.521 16.904 12.713 16.712C12.9043 16.5207 13 16.2833 13 16V13H16C16.2833 13 16.5207 12.904 16.712 12.712C16.904 12.5207 17 12.2833 17 12C17 11.7167 16.904 11.479 16.712 11.287C16.5207 11.0957 16.2833 11 16 11H13V8C13 7.71667 12.9043 7.479 12.713 7.287C12.521 7.09567 12.2833 7 12 7C11.7167 7 11.4793 7.09567 11.288 7.287C11.096 7.479 11 7.71667 11 8V11H8C7.71667 11 7.479 11.0957 7.287 11.287C7.09567 11.479 7 11.7167 7 12C7 12.2833 7.09567 12.5207 7.287 12.712C7.479 12.904 7.71667 13 8 13H11V16C11 16.2833 11.096 16.5207 11.288 16.712C11.4793 16.904 11.7167 17 12 17ZM5 21C4.45 21 3.979 20.8043 3.587 20.413C3.19567 20.021 3 19.55 3 19V5C3 4.45 3.19567 3.979 3.587 3.587C3.979 3.19567 4.45 3 5 3H19C19.55 3 20.021 3.19567 20.413 3.587C20.8043 3.979 21 4.45 21 5V19C21 19.55 20.8043 20.021 20.413 20.413C20.021 20.8043 19.55 21 19 21H5ZM5 19H19V5H5V19ZM5 19V5V19Z",fill:"black"},null,-1),Us=[Fs];function zs(a,t){return e.openBlock(),e.createElementBlock("svg",js,Us)}const Zs=I(Rs,[["render",zs]]),xs={},Ws={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},qs=e.createElementVNode("path",{d:"M5 21C4.45 21 3.979 20.804 3.587 20.412C3.195 20.02 2.99934 19.5493 3 19V6.50001C3 6.25001 3.04167 6.02501 3.125 5.82501C3.20834 5.62501 3.31667 5.43334 3.45 5.25001L4.85 3.55001C4.98333 3.36667 5.15 3.22901 5.35 3.13701C5.55 3.04501 5.76667 2.99934 6 3.00001H18C18.2333 3.00001 18.45 3.04567 18.65 3.13701C18.85 3.22834 19.0167 3.36601 19.15 3.55001L20.55 5.25001C20.6833 5.43334 20.7917 5.62501 20.875 5.82501C20.9583 6.02501 21 6.25001 21 6.50001V19C21 19.55 20.804 20.021 20.412 20.413C20.02 20.805 19.5493 21.0007 19 21H5ZM5.4 6.00001H18.6L17.75 5.00001H6.25L5.4 6.00001ZM5 19H19V8.00001H5V19ZM12 17.575C12.1333 17.575 12.2583 17.554 12.375 17.512C12.4917 17.47 12.6 17.3993 12.7 17.3L15.3 14.7C15.4833 14.5167 15.575 14.2833 15.575 14C15.575 13.7167 15.4833 13.4833 15.3 13.3C15.1167 13.1167 14.8833 13.025 14.6 13.025C14.3167 13.025 14.0833 13.1167 13.9 13.3L13 14.2V11C13 10.7167 12.904 10.479 12.712 10.287C12.52 10.095 12.2827 9.99934 12 10C11.7167 10 11.479 10.096 11.287 10.288C11.095 10.48 10.9993 10.7173 11 11V14.2L10.1 13.3C9.91667 13.1167 9.68333 13.025 9.4 13.025C9.11667 13.025 8.88334 13.1167 8.7 13.3C8.51667 13.4833 8.425 13.7167 8.425 14C8.425 14.2833 8.51667 14.5167 8.7 14.7L11.3 17.3C11.4 17.4 11.5083 17.4707 11.625 17.512C11.7417 17.5533 11.8667 17.5743 12 17.575Z",fill:"black"},null,-1),Ys=[qs];function Ks(a,t){return e.openBlock(),e.createElementBlock("svg",Ws,Ys)}const Gs=I(xs,[["render",Ks]]),Xs={},Qs={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Js=e.createElementVNode("path",{d:"M10.875 19.3001L4.275 12.7001C4.175 12.6001 4.104 12.4917 4.062 12.3751C4.02067 12.2584 4 12.1334 4 12.0001C4 11.8667 4.02067 11.7417 4.062 11.6251C4.104 11.5084 4.175 11.4001 4.275 11.3001L10.875 4.70008C11.0583 4.51675 11.2873 4.42075 11.562 4.41208C11.8373 4.40408 12.075 4.50008 12.275 4.70008C12.475 4.88342 12.5793 5.11242 12.588 5.38708C12.596 5.66242 12.5 5.90008 12.3 6.10008L7.4 11.0001H18.575C18.8583 11.0001 19.096 11.0957 19.288 11.2871C19.4793 11.4791 19.575 11.7167 19.575 12.0001C19.575 12.2834 19.4793 12.5207 19.288 12.7121C19.096 12.9041 18.8583 13.0001 18.575 13.0001H7.4L12.3 17.9001C12.4833 18.0834 12.5793 18.3167 12.588 18.6001C12.596 18.8834 12.5 19.1167 12.3 19.3001C12.1167 19.5001 11.8833 19.6001 11.6 19.6001C11.3167 19.6001 11.075 19.5001 10.875 19.3001V19.3001Z",fill:"black"},null,-1),el=[Js];function tl(a,t){return e.openBlock(),e.createElementBlock("svg",Qs,el)}const al=I(Xs,[["render",tl]]),ol={},nl={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},sl=e.createElementVNode("path",{d:"M11.3 14.3L8.70001 11.7C8.38335 11.3833 8.31268 11.021 8.48801 10.613C8.66268 10.2043 8.97501 10 9.42501 10H14.575C15.025 10 15.3373 10.2043 15.512 10.613C15.6873 11.021 15.6167 11.3833 15.3 11.7L12.7 14.3C12.6 14.4 12.4917 14.475 12.375 14.525C12.2583 14.575 12.1333 14.6 12 14.6C11.8667 14.6 11.7417 14.575 11.625 14.525C11.5083 14.475 11.4 14.4 11.3 14.3V14.3Z",fill:"black"},null,-1),ll=[sl];function rl(a,t){return e.openBlock(),e.createElementBlock("svg",nl,ll)}const il=I(ol,[["render",rl]]),cl={},dl={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},ul=e.createElementVNode("path",{d:"M11.3 19.3C11.1167 19.1167 11.0207 18.8834 11.012 18.6C11.004 18.3167 11.0917 18.0834 11.275 17.9L16.175 13H5C4.71667 13 4.479 12.904 4.287 12.712C4.09567 12.5207 4 12.2834 4 12C4 11.7167 4.09567 11.479 4.287 11.287C4.479 11.0957 4.71667 11 5 11H16.175L11.275 6.10005C11.0917 5.91672 11.004 5.68338 11.012 5.40005C11.0207 5.11672 11.1167 4.88338 11.3 4.70005C11.4833 4.51672 11.7167 4.42505 12 4.42505C12.2833 4.42505 12.5167 4.51672 12.7 4.70005L19.3 11.3C19.4 11.3834 19.471 11.4874 19.513 11.612C19.5543 11.7374 19.575 11.8667 19.575 12C19.575 12.1334 19.5543 12.2584 19.513 12.375C19.471 12.4917 19.4 12.6 19.3 12.7L12.7 19.3C12.5167 19.4834 12.2833 19.575 12 19.575C11.7167 19.575 11.4833 19.4834 11.3 19.3V19.3Z",fill:"black"},null,-1),pl=[ul];function ml(a,t){return e.openBlock(),e.createElementBlock("svg",dl,pl)}const vl=I(cl,[["render",ml]]),fl={},hl={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Cl=e.createElementVNode("path",{d:"M8 17H13C13.2833 17 13.521 16.904 13.713 16.712C13.905 16.52 14.0007 16.2827 14 16C14 15.7167 13.904 15.479 13.712 15.287C13.52 15.095 13.2827 14.9993 13 15H8C7.71667 15 7.479 15.096 7.287 15.288C7.095 15.48 6.99934 15.7173 7 16C7 16.2833 7.096 16.521 7.288 16.713C7.48 16.905 7.71734 17.0007 8 17ZM8 13H16C16.2833 13 16.521 12.904 16.713 12.712C16.905 12.52 17.0007 12.2827 17 12C17 11.7167 16.904 11.479 16.712 11.287C16.52 11.095 16.2827 10.9993 16 11H8C7.71667 11 7.479 11.096 7.287 11.288C7.095 11.48 6.99934 11.7173 7 12C7 12.2833 7.096 12.521 7.288 12.713C7.48 12.905 7.71734 13.0007 8 13ZM8 9H16C16.2833 9 16.521 8.904 16.713 8.712C16.905 8.52 17.0007 8.28267 17 8C17 7.71667 16.904 7.479 16.712 7.287C16.52 7.095 16.2827 6.99933 16 7H8C7.71667 7 7.479 7.096 7.287 7.288C7.095 7.48 6.99934 7.71733 7 8C7 8.28333 7.096 8.521 7.288 8.713C7.48 8.905 7.71734 9.00067 8 9ZM5 19H19V5H5V19ZM5 21C4.45 21 3.979 20.804 3.587 20.412C3.195 20.02 2.99934 19.5493 3 19V5C3 4.45 3.196 3.979 3.588 3.587C3.98 3.195 4.45067 2.99933 5 3H9.2C9.41667 2.4 9.77934 1.91667 10.288 1.55C10.7967 1.18333 11.3673 1 12 1C12.6333 1 13.2043 1.18333 13.713 1.55C14.2217 1.91667 14.584 2.4 14.8 3H19C19.55 3 20.021 3.196 20.413 3.588C20.805 3.98 21.0007 4.45067 21 5V19C21 19.55 20.804 20.021 20.412 20.413C20.02 20.805 19.5493 21.0007 19 21H5ZM12 4.25C12.2167 4.25 12.3957 4.179 12.537 4.037C12.6783 3.895 12.7493 3.716 12.75 3.5C12.75 3.28333 12.679 3.10433 12.537 2.963C12.395 2.82167 12.216 2.75067 12 2.75C11.7833 2.75 11.6043 2.821 11.463 2.963C11.3217 3.105 11.2507 3.284 11.25 3.5C11.25 3.71667 11.321 3.89567 11.463 4.037C11.605 4.17833 11.784 4.24933 12 4.25Z",fill:"black"},null,-1),gl=[Cl];function _l(a,t){return e.openBlock(),e.createElementBlock("svg",hl,gl)}const yl=I(fl,[["render",_l]]),bl={},kl={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wl=e.createElementVNode("path",{d:"M11.5 22C9.96667 22 8.66667 21.4667 7.6 20.4C6.53333 19.3333 6 18.0333 6 16.5V6C6 4.9 6.39167 3.95833 7.175 3.175C7.95833 2.39167 8.9 2 10 2C11.1 2 12.0417 2.39167 12.825 3.175C13.6083 3.95833 14 4.9 14 6V15.5C14 16.2 13.7583 16.7917 13.275 17.275C12.7917 17.7583 12.2 18 11.5 18C10.8 18 10.2083 17.7583 9.725 17.275C9.24167 16.7917 9 16.2 9 15.5V6.75C9 6.53333 9.071 6.35433 9.213 6.213C9.355 6.07167 9.534 6.00067 9.75 6C9.96667 6 10.1457 6.071 10.287 6.213C10.4283 6.355 10.4993 6.534 10.5 6.75V15.5C10.5 15.7833 10.596 16.021 10.788 16.213C10.98 16.405 11.2173 16.5007 11.5 16.5C11.7833 16.5 12.021 16.404 12.213 16.212C12.405 16.02 12.5007 15.7827 12.5 15.5V6C12.5 5.3 12.2583 4.70833 11.775 4.225C11.2917 3.74167 10.7 3.5 10 3.5C9.3 3.5 8.70833 3.74167 8.225 4.225C7.74167 4.70833 7.5 5.3 7.5 6V16.5C7.5 17.6 7.89167 18.5417 8.675 19.325C9.45833 20.1083 10.4 20.5 11.5 20.5C12.6 20.5 13.5417 20.1083 14.325 19.325C15.1083 18.5417 15.5 17.6 15.5 16.5V6.75C15.5 6.53333 15.571 6.35433 15.713 6.213C15.855 6.07167 16.034 6.00067 16.25 6C16.4667 6 16.6457 6.071 16.787 6.213C16.9283 6.355 16.9993 6.534 17 6.75V16.5C17 18.0333 16.4667 19.3333 15.4 20.4C14.3333 21.4667 13.0333 22 11.5 22Z",fill:"black"},null,-1),$l=[wl];function El(a,t){return e.openBlock(),e.createElementBlock("svg",kl,$l)}const Bl=I(bl,[["render",El]]),Vl={},Nl={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Sl=e.createElementVNode("path",{d:"M5 22C4.45 22 3.979 21.804 3.587 21.412C3.195 21.02 2.99934 20.5493 3 20V6C3 5.45 3.196 4.979 3.588 4.587C3.98 4.195 4.45067 3.99933 5 4H6V2.975C6 2.69167 6.096 2.45833 6.288 2.275C6.48 2.09167 6.71734 2 7 2C7.28334 2 7.521 2.096 7.713 2.288C7.905 2.48 8.00067 2.71733 8 3V4H16V2.975C16 2.69167 16.096 2.45833 16.288 2.275C16.48 2.09167 16.7173 2 17 2C17.2833 2 17.521 2.096 17.713 2.288C17.905 2.48 18.0007 2.71733 18 3V4H19C19.55 4 20.021 4.196 20.413 4.588C20.805 4.98 21.0007 5.45067 21 6V20C21 20.55 20.804 21.021 20.412 21.413C20.02 21.805 19.5493 22.0007 19 22H5ZM5 20H19V10H5V20ZM5 8H19V6H5V8Z",fill:"black"},null,-1),Ml=[Sl];function Al(a,t){return e.openBlock(),e.createElementBlock("svg",Nl,Ml)}const Tl=I(Vl,[["render",Al]]),Ol={},Il={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Ll=e.createElementVNode("path",{d:"M12 13.4L14.9 16.3C15.0833 16.4833 15.3167 16.575 15.6 16.575C15.8833 16.575 16.1167 16.4833 16.3 16.3C16.4833 16.1167 16.575 15.8833 16.575 15.6C16.575 15.3167 16.4833 15.0833 16.3 14.9L13.4 12L16.3 9.1C16.4833 8.91667 16.575 8.68333 16.575 8.4C16.575 8.11667 16.4833 7.88333 16.3 7.7C16.1167 7.51667 15.8833 7.425 15.6 7.425C15.3167 7.425 15.0833 7.51667 14.9 7.7L12 10.6L9.1 7.7C8.91667 7.51667 8.68333 7.425 8.4 7.425C8.11667 7.425 7.88333 7.51667 7.7 7.7C7.51667 7.88333 7.425 8.11667 7.425 8.4C7.425 8.68333 7.51667 8.91667 7.7 9.1L10.6 12L7.7 14.9C7.51667 15.0833 7.425 15.3167 7.425 15.6C7.425 15.8833 7.51667 16.1167 7.7 16.3C7.88333 16.4833 8.11667 16.575 8.4 16.575C8.68333 16.575 8.91667 16.4833 9.1 16.3L12 13.4ZM12 22C10.6167 22 9.31667 21.7373 8.1 21.212C6.88333 20.6867 5.825 19.9743 4.925 19.075C4.025 18.175 3.31267 17.1167 2.788 15.9C2.26333 14.6833 2.00067 13.3833 2 12C2 10.6167 2.26267 9.31667 2.788 8.1C3.31333 6.88333 4.02567 5.825 4.925 4.925C5.825 4.025 6.88333 3.31267 8.1 2.788C9.31667 2.26333 10.6167 2.00067 12 2C13.3833 2 14.6833 2.26267 15.9 2.788C17.1167 3.31333 18.175 4.02567 19.075 4.925C19.975 5.825 20.6877 6.88333 21.213 8.1C21.7383 9.31667 22.0007 10.6167 22 12C22 13.3833 21.7373 14.6833 21.212 15.9C20.6867 17.1167 19.9743 18.175 19.075 19.075C18.175 19.975 17.1167 20.6877 15.9 21.213C14.6833 21.7383 13.3833 22.0007 12 22Z",fill:"black"},null,-1),Dl=[Ll];function Pl(a,t){return e.openBlock(),e.createElementBlock("svg",Il,Dl)}const Hl=I(Ol,[["render",Pl]]),Rl={},jl={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Fl=e.createElementVNode("path",{d:"M6 14H14V12H6V14ZM6 11H18V9H6V11ZM6 8H18V6H6V8ZM2 22V4C2 3.45 2.196 2.979 2.588 2.587C2.98 2.195 3.45067 1.99934 4 2H20C20.55 2 21.021 2.196 21.413 2.588C21.805 2.98 22.0007 3.45067 22 4V16C22 16.55 21.804 17.021 21.412 17.413C21.02 17.805 20.5493 18.0007 20 18H6L2 22ZM4 17.175L5.175 16H20V4H4V17.175Z",fill:"black"},null,-1),Ul=[Fl];function zl(a,t){return e.openBlock(),e.createElementBlock("svg",jl,Ul)}const Zl=I(Rl,[["render",zl]]),xl={},Wl={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},ql=e.createElementVNode("path",{d:"M5 21C4.45 21 3.979 20.804 3.587 20.412C3.195 20.02 2.99934 19.5493 3 19V5C3 4.45 3.196 3.979 3.588 3.587C3.98 3.195 4.45067 2.99934 5 3H19C19.55 3 20.021 3.196 20.413 3.588C20.805 3.98 21.0007 4.45067 21 5V19C21 19.55 20.804 20.021 20.412 20.413C20.02 20.805 19.5493 21.0007 19 21H5ZM5 19H19V5H5V19Z",fill:"black"},null,-1),Yl=[ql];function Kl(a,t){return e.openBlock(),e.createElementBlock("svg",Wl,Yl)}const Gl=I(xl,[["render",Kl]]),Xl={},Ql={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Jl=e.createElementVNode("path",{d:"M3 21V3H21V21H3ZM5 19H19V5H5V19Z",fill:"black"},null,-1),er=[Jl];function tr(a,t){return e.openBlock(),e.createElementBlock("svg",Ql,er)}const ar=I(Xl,[["render",tr]]),or={},nr={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},sr=e.createElementVNode("path",{d:"M10.6 13.4L8.45 11.25C8.26667 11.0667 8.03334 10.975 7.75 10.975C7.46667 10.975 7.23334 11.0667 7.05 11.25C6.86667 11.4333 6.775 11.6667 6.775 11.95C6.775 12.2333 6.86667 12.4667 7.05 12.65L9.9 15.5C10.1 15.7 10.3333 15.8 10.6 15.8C10.8667 15.8 11.1 15.7 11.3 15.5L16.95 9.85C17.1333 9.66667 17.225 9.43333 17.225 9.15C17.225 8.86667 17.1333 8.63334 16.95 8.45C16.7667 8.26667 16.5333 8.175 16.25 8.175C15.9667 8.175 15.7333 8.26667 15.55 8.45L10.6 13.4ZM5 21C4.45 21 3.979 20.804 3.587 20.412C3.195 20.02 2.99934 19.5493 3 19V5C3 4.45 3.196 3.979 3.588 3.587C3.98 3.195 4.45067 2.99934 5 3H19C19.55 3 20.021 3.196 20.413 3.588C20.805 3.98 21.0007 4.45067 21 5V19C21 19.55 20.804 20.021 20.412 20.413C20.02 20.805 19.5493 21.0007 19 21H5ZM5 19H19V5H5V19Z",fill:"black"},null,-1),lr=[sr];function rr(a,t){return e.openBlock(),e.createElementBlock("svg",nr,lr)}const ir=I(or,[["render",rr]]),cr={},dr={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},ur=e.createElementVNode("path",{d:"M10 13.6L15.9 7.70005C16.0834 7.51672 16.3167 7.42505 16.6 7.42505C16.8834 7.42505 17.1167 7.51672 17.3 7.70005C17.4834 7.88338 17.575 8.11671 17.575 8.40005C17.575 8.68338 17.4834 8.91672 17.3 9.10005L10.7 15.7C10.5 15.9 10.2667 16 10 16C9.73338 16 9.50005 15.9 9.30005 15.7L6.70005 13.1C6.51672 12.9167 6.42505 12.6834 6.42505 12.4C6.42505 12.1167 6.51672 11.8834 6.70005 11.7C6.88338 11.5167 7.11672 11.425 7.40005 11.425C7.68338 11.425 7.91672 11.5167 8.10005 11.7L10 13.6Z",fill:"black"},null,-1),pr=[ur];function mr(a,t){return e.openBlock(),e.createElementBlock("svg",dr,pr)}const vr=I(cr,[["render",mr]]),fr={},hr={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Cr=e.createElementVNode("path",{d:"M14 8.99989C13.7167 8.99989 13.479 8.90389 13.287 8.71189C13.095 8.51989 12.9994 8.28255 13 7.99989C13 7.71655 13.096 7.47889 13.288 7.28689C13.48 7.09489 13.7174 6.99922 14 6.99989H21C21.2834 6.99989 21.521 7.09589 21.713 7.28789C21.905 7.47989 22.0007 7.71722 22 7.99989C22 8.28322 21.904 8.52089 21.712 8.71289C21.52 8.90489 21.2827 9.00055 21 8.99989H14ZM14 16.9999C13.7167 16.9999 13.479 16.9039 13.287 16.7119C13.095 16.5199 12.9994 16.2826 13 15.9999C13 15.7166 13.096 15.4789 13.288 15.2869C13.48 15.0949 13.7174 14.9992 14 14.9999H21C21.2834 14.9999 21.521 15.0959 21.713 15.2879C21.905 15.4799 22.0007 15.7172 22 15.9999C22 16.2832 21.904 16.5209 21.712 16.7129C21.52 16.9049 21.2827 17.0006 21 16.9999H14ZM4.85005 10.2999L2.70005 8.14989C2.51672 7.96655 2.42505 7.73322 2.42505 7.44989C2.42505 7.16655 2.51672 6.93322 2.70005 6.74989C2.88338 6.56655 3.11672 6.47489 3.40005 6.47489C3.68338 6.47489 3.91672 6.56655 4.10005 6.74989L5.52505 8.17489L9.07505 4.62489C9.27505 4.42489 9.50838 4.32889 9.77505 4.33689C10.0417 4.34489 10.275 4.44922 10.475 4.64989C10.6584 4.84989 10.75 5.08322 10.75 5.34989C10.75 5.61655 10.6584 5.84989 10.475 6.04989L6.25005 10.2999C6.05005 10.4999 5.81672 10.5999 5.55005 10.5999C5.28338 10.5999 5.05005 10.4999 4.85005 10.2999ZM4.85005 18.2999L2.70005 16.1499C2.51672 15.9666 2.42505 15.7332 2.42505 15.4499C2.42505 15.1666 2.51672 14.9332 2.70005 14.7499C2.88338 14.5666 3.11672 14.4749 3.40005 14.4749C3.68338 14.4749 3.91672 14.5666 4.10005 14.7499L5.52505 16.1749L9.07505 12.6249C9.27505 12.4249 9.50838 12.3292 9.77505 12.3379C10.0417 12.3466 10.275 12.4506 10.475 12.6499C10.6584 12.8499 10.75 13.0832 10.75 13.3499C10.75 13.6166 10.6584 13.8499 10.475 14.0499L6.25005 18.2999C6.05005 18.4999 5.81672 18.5999 5.55005 18.5999C5.28338 18.5999 5.05005 18.4999 4.85005 18.2999Z",fill:"black"},null,-1),gr=[Cr];function _r(a,t){return e.openBlock(),e.createElementBlock("svg",hr,gr)}const yr=I(fr,[["render",_r]]),br={},kr={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wr=e.createElementVNode("path",{d:"M14 18L8 12L14 6L15.4 7.4L10.8 12L15.4 16.6L14 18Z",fill:"black"},null,-1),$r=[wr];function Er(a,t){return e.openBlock(),e.createElementBlock("svg",kr,$r)}const Br=I(br,[["render",Er]]),Vr={},Nr={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Sr=e.createElementVNode("path",{d:"M9.4 18L8 16.6L12.6 12L8 7.4L9.4 6L15.4 12L9.4 18Z",fill:"black"},null,-1),Mr=[Sr];function Ar(a,t){return e.openBlock(),e.createElementBlock("svg",Nr,Mr)}const Tr=I(Vr,[["render",Ar]]),Or={},Ir={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Lr=e.createElementVNode("path",{d:"M12 13.4L7.10005 18.3C6.91672 18.4834 6.68338 18.575 6.40005 18.575C6.11672 18.575 5.88338 18.4834 5.70005 18.3C5.51672 18.1167 5.42505 17.8834 5.42505 17.6C5.42505 17.3167 5.51672 17.0834 5.70005 16.9L10.6 12L5.70005 7.10005C5.51672 6.91672 5.42505 6.68338 5.42505 6.40005C5.42505 6.11672 5.51672 5.88338 5.70005 5.70005C5.88338 5.51672 6.11672 5.42505 6.40005 5.42505C6.68338 5.42505 6.91672 5.51672 7.10005 5.70005L12 10.6L16.9 5.70005C17.0834 5.51672 17.3167 5.42505 17.6 5.42505C17.8834 5.42505 18.1167 5.51672 18.3 5.70005C18.4834 5.88338 18.575 6.11672 18.575 6.40005C18.575 6.68338 18.4834 6.91672 18.3 7.10005L13.4 12L18.3 16.9C18.4834 17.0834 18.575 17.3167 18.575 17.6C18.575 17.8834 18.4834 18.1167 18.3 18.3C18.1167 18.4834 17.8834 18.575 17.6 18.575C17.3167 18.575 17.0834 18.4834 16.9 18.3L12 13.4Z",fill:"black"},null,-1),Dr=[Lr];function Pr(a,t){return e.openBlock(),e.createElementBlock("svg",Ir,Dr)}const Hr=I(Or,[["render",Pr]]),Rr={},jr={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Fr=e.createElementVNode("path",{d:"M5 23C4.71667 23 4.479 22.904 4.287 22.712C4.095 22.52 3.99934 22.2827 4 22C4 21.7167 4.096 21.479 4.288 21.287C4.48 21.095 4.71734 20.9993 5 21H19C19.2833 21 19.521 21.096 19.713 21.288C19.905 21.48 20.0007 21.7173 20 22C20 22.2833 19.904 22.521 19.712 22.713C19.52 22.905 19.2827 23.0007 19 23H5ZM5 3C4.71667 3 4.479 2.904 4.287 2.712C4.095 2.52 3.99934 2.28267 4 2C4 1.71667 4.096 1.479 4.288 1.287C4.48 1.095 4.71734 0.999337 5 1H19C19.2833 1 19.521 1.096 19.713 1.288C19.905 1.48 20.0007 1.71734 20 2C20 2.28334 19.904 2.521 19.712 2.713C19.52 2.905 19.2827 3.00067 19 3H5ZM12 13C12.8333 13 13.5417 12.7083 14.125 12.125C14.7083 11.5417 15 10.8333 15 10C15 9.16667 14.7083 8.45834 14.125 7.875C13.5417 7.29167 12.8333 7 12 7C11.1667 7 10.4583 7.29167 9.875 7.875C9.29167 8.45834 9 9.16667 9 10C9 10.8333 9.29167 11.5417 9.875 12.125C10.4583 12.7083 11.1667 13 12 13ZM4 20C3.45 20 2.979 19.804 2.587 19.412C2.195 19.02 1.99934 18.5493 2 18V6C2 5.45 2.196 4.979 2.588 4.587C2.98 4.195 3.45067 3.99934 4 4H20C20.55 4 21.021 4.196 21.413 4.588C21.805 4.98 22.0007 5.45067 22 6V18C22 18.55 21.804 19.021 21.412 19.413C21.02 19.805 20.5493 20.0007 20 20H4ZM5.75 18C6.5 17.0667 7.40834 16.3333 8.475 15.8C9.54167 15.2667 10.7167 15 12 15C13.2833 15 14.4583 15.2667 15.525 15.8C16.5917 16.3333 17.5 17.0667 18.25 18H20V6H4V18H5.75ZM8.7 18H15.3C14.8167 17.6667 14.2957 17.4167 13.737 17.25C13.1783 17.0833 12.5993 17 12 17C11.4 17 10.8207 17.0833 10.262 17.25C9.70334 17.4167 9.18267 17.6667 8.7 18ZM12 11C11.7167 11 11.479 10.904 11.287 10.712C11.095 10.52 10.9993 10.2827 11 10C11 9.71667 11.096 9.479 11.288 9.287C11.48 9.095 11.7173 8.99934 12 9C12.2833 9 12.521 9.096 12.713 9.288C12.905 9.48 13.0007 9.71734 13 10C13 10.2833 12.904 10.521 12.712 10.713C12.52 10.905 12.2827 11.0007 12 11Z",fill:"black"},null,-1),Ur=[Fr];function zr(a,t){return e.openBlock(),e.createElementBlock("svg",jr,Ur)}const Zr=I(Rr,[["render",zr]]),xr={},Wr={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},qr=e.createElementVNode("path",{d:"M5 22C4.45 22 3.979 21.804 3.587 21.412C3.195 21.02 2.99934 20.5493 3 20V6H5V20H16V22H5ZM9 18C8.45 18 7.979 17.804 7.587 17.412C7.195 17.02 6.99934 16.5493 7 16V4C7 3.45 7.196 2.979 7.588 2.587C7.98 2.195 8.45067 1.99934 9 2H18C18.55 2 19.021 2.196 19.413 2.588C19.805 2.98 20.0007 3.45067 20 4V16C20 16.55 19.804 17.021 19.412 17.413C19.02 17.805 18.5493 18.0007 18 18H9ZM9 16H18V4H9V16Z",fill:"black"},null,-1),Yr=[qr];function Kr(a,t){return e.openBlock(),e.createElementBlock("svg",Wr,Yr)}const Gr=I(xr,[["render",Kr]]),Xr={},Qr={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Jr=e.createElementVNode("path",{d:"M7 21C6.45 21 5.979 20.804 5.587 20.412C5.195 20.02 4.99934 19.5493 5 19V6C4.71667 6 4.479 5.904 4.287 5.712C4.095 5.52 3.99934 5.28267 4 5C4 4.71667 4.096 4.479 4.288 4.287C4.48 4.095 4.71734 3.99934 5 4H9C9 3.71667 9.096 3.479 9.288 3.287C9.48 3.095 9.71734 2.99934 10 3H14C14.2833 3 14.521 3.096 14.713 3.288C14.905 3.48 15.0007 3.71734 15 4H19C19.2833 4 19.521 4.096 19.713 4.288C19.905 4.48 20.0007 4.71734 20 5C20 5.28334 19.904 5.521 19.712 5.713C19.52 5.905 19.2827 6.00067 19 6V19C19 19.55 18.804 20.021 18.412 20.413C18.02 20.805 17.5493 21.0007 17 21H7ZM7 6V19H17V6H7ZM9 16C9 16.2833 9.096 16.521 9.288 16.713C9.48 16.905 9.71734 17.0007 10 17C10.2833 17 10.521 16.904 10.713 16.712C10.905 16.52 11.0007 16.2827 11 16V9C11 8.71667 10.904 8.479 10.712 8.287C10.52 8.095 10.2827 7.99934 10 8C9.71667 8 9.479 8.096 9.287 8.288C9.095 8.48 8.99934 8.71734 9 9V16ZM13 16C13 16.2833 13.096 16.521 13.288 16.713C13.48 16.905 13.7173 17.0007 14 17C14.2833 17 14.521 16.904 14.713 16.712C14.905 16.52 15.0007 16.2827 15 16V9C15 8.71667 14.904 8.479 14.712 8.287C14.52 8.095 14.2827 7.99934 14 8C13.7167 8 13.479 8.096 13.287 8.288C13.095 8.48 12.9993 8.71734 13 9V16Z",fill:"black"},null,-1),ei=[Jr];function ti(a,t){return e.openBlock(),e.createElementBlock("svg",Qr,ei)}const ai=I(Xr,[["render",ti]]),oi={},ni={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},si=e.createElementVNode("path",{d:"M9 20C8.45 20 7.97933 19.8043 7.588 19.413C7.196 19.021 7 18.55 7 18C7 17.45 7.196 16.979 7.588 16.587C7.97933 16.1957 8.45 16 9 16C9.55 16 10.021 16.1957 10.413 16.587C10.8043 16.979 11 17.45 11 18C11 18.55 10.8043 19.021 10.413 19.413C10.021 19.8043 9.55 20 9 20ZM15 20C14.45 20 13.9793 19.8043 13.588 19.413C13.196 19.021 13 18.55 13 18C13 17.45 13.196 16.979 13.588 16.587C13.9793 16.1957 14.45 16 15 16C15.55 16 16.021 16.1957 16.413 16.587C16.8043 16.979 17 17.45 17 18C17 18.55 16.8043 19.021 16.413 19.413C16.021 19.8043 15.55 20 15 20ZM9 14C8.45 14 7.97933 13.804 7.588 13.412C7.196 13.0207 7 12.55 7 12C7 11.45 7.196 10.979 7.588 10.587C7.97933 10.1957 8.45 10 9 10C9.55 10 10.021 10.1957 10.413 10.587C10.8043 10.979 11 11.45 11 12C11 12.55 10.8043 13.0207 10.413 13.412C10.021 13.804 9.55 14 9 14ZM15 14C14.45 14 13.9793 13.804 13.588 13.412C13.196 13.0207 13 12.55 13 12C13 11.45 13.196 10.979 13.588 10.587C13.9793 10.1957 14.45 10 15 10C15.55 10 16.021 10.1957 16.413 10.587C16.8043 10.979 17 11.45 17 12C17 12.55 16.8043 13.0207 16.413 13.412C16.021 13.804 15.55 14 15 14ZM9 8C8.45 8 7.97933 7.804 7.588 7.412C7.196 7.02067 7 6.55 7 6C7 5.45 7.196 4.97933 7.588 4.588C7.97933 4.196 8.45 4 9 4C9.55 4 10.021 4.196 10.413 4.588C10.8043 4.97933 11 5.45 11 6C11 6.55 10.8043 7.02067 10.413 7.412C10.021 7.804 9.55 8 9 8ZM15 8C14.45 8 13.9793 7.804 13.588 7.412C13.196 7.02067 13 6.55 13 6C13 5.45 13.196 4.97933 13.588 4.588C13.9793 4.196 14.45 4 15 4C15.55 4 16.021 4.196 16.413 4.588C16.8043 4.97933 17 5.45 17 6C17 6.55 16.8043 7.02067 16.413 7.412C16.021 7.804 15.55 8 15 8Z",fill:"black"},null,-1),li=[si];function ri(a,t){return e.openBlock(),e.createElementBlock("svg",ni,li)}const ii=I(oi,[["render",ri]]),ci={},di={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},ui=e.createElementVNode("path",{d:"M6 22C5.45 22 4.979 21.804 4.587 21.412C4.195 21.02 3.99934 20.5493 4 20V4C4 3.45 4.196 2.979 4.588 2.587C4.98 2.195 5.45067 1.99934 6 2H13.175C13.4417 2 13.696 2.05 13.938 2.15C14.18 2.25 14.3923 2.39167 14.575 2.575L19.425 7.425C19.6083 7.60834 19.75 7.821 19.85 8.063C19.95 8.305 20 8.559 20 8.825V11.1L12 19.075V22H6ZM14.5 22C14.3667 22 14.25 21.95 14.15 21.85C14.05 21.75 14 21.6333 14 21.5V20.3C14 20.1667 14.0293 20.0333 14.088 19.9C14.1467 19.7667 14.2173 19.6583 14.3 19.575L19.15 14.7L21.3 16.8L16.425 21.7C16.3417 21.8 16.2333 21.875 16.1 21.925C15.9667 21.975 15.8333 22 15.7 22H14.5ZM22.025 16.1L19.9 13.975L20.6 13.275C20.8 13.075 21.0417 12.975 21.325 12.975C21.6083 12.975 21.8417 13.075 22.025 13.275L22.725 14C22.9083 14.2 23 14.4377 23 14.713C23 14.9883 22.9083 15.2173 22.725 15.4L22.025 16.1ZM14 9H18L13 4V8C13 8.28334 13.096 8.521 13.288 8.713C13.48 8.905 13.7173 9.00067 14 9Z",fill:"black"},null,-1),pi=[ui];function mi(a,t){return e.openBlock(),e.createElementBlock("svg",di,pi)}const vi=I(ci,[["render",mi]]),fi={},hi={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Ci=e.createElementVNode("path",{d:"M5 19H6.4L15.025 10.375L13.625 8.975L5 17.6V19ZM19.3 8.925L15.05 4.725L16.45 3.325C16.8333 2.94167 17.3043 2.75 17.863 2.75C18.4217 2.75 18.8923 2.94167 19.275 3.325L20.675 4.725C21.0583 5.10833 21.2583 5.571 21.275 6.113C21.2917 6.655 21.1083 7.11733 20.725 7.5L19.3 8.925ZM17.85 10.4L7.25 21H3V16.75L13.6 6.15L17.85 10.4ZM14.325 9.675L13.625 8.975L15.025 10.375L14.325 9.675Z",fill:"black"},null,-1),gi=[Ci];function _i(a,t){return e.openBlock(),e.createElementBlock("svg",hi,gi)}const yi=I(fi,[["render",_i]]),bi={},ki={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wi=e.createElementVNode("path",{d:"M12 17C12.2833 17 12.521 16.904 12.713 16.712C12.905 16.52 13.0007 16.2827 13 16C13 15.7167 12.904 15.479 12.712 15.287C12.52 15.095 12.2827 14.9993 12 15C11.7167 15 11.479 15.096 11.287 15.288C11.095 15.48 10.9993 15.7173 11 16C11 16.2833 11.096 16.521 11.288 16.713C11.48 16.905 11.7173 17.0007 12 17ZM12 13C12.2833 13 12.521 12.904 12.713 12.712C12.905 12.52 13.0007 12.2827 13 12V8C13 7.71667 12.904 7.479 12.712 7.287C12.52 7.095 12.2827 6.99933 12 7C11.7167 7 11.479 7.096 11.287 7.288C11.095 7.48 10.9993 7.71733 11 8V12C11 12.2833 11.096 12.521 11.288 12.713C11.48 12.905 11.7173 13.0007 12 13ZM12 22C10.6167 22 9.31667 21.7373 8.1 21.212C6.88333 20.6867 5.825 19.9743 4.925 19.075C4.025 18.175 3.31267 17.1167 2.788 15.9C2.26333 14.6833 2.00067 13.3833 2 12C2 10.6167 2.26267 9.31667 2.788 8.1C3.31333 6.88333 4.02567 5.825 4.925 4.925C5.825 4.025 6.88333 3.31267 8.1 2.788C9.31667 2.26333 10.6167 2.00067 12 2C13.3833 2 14.6833 2.26267 15.9 2.788C17.1167 3.31333 18.175 4.02567 19.075 4.925C19.975 5.825 20.6877 6.88333 21.213 8.1C21.7383 9.31667 22.0007 10.6167 22 12C22 13.3833 21.7373 14.6833 21.212 15.9C20.6867 17.1167 19.9743 18.175 19.075 19.075C18.175 19.975 17.1167 20.6877 15.9 21.213C14.6833 21.7383 13.3833 22.0007 12 22ZM12 20C14.2333 20 16.125 19.225 17.675 17.675C19.225 16.125 20 14.2333 20 12C20 9.76667 19.225 7.875 17.675 6.325C16.125 4.775 14.2333 4 12 4C9.76667 4 7.875 4.775 6.325 6.325C4.775 7.875 4 9.76667 4 12C4 14.2333 4.775 16.125 6.325 17.675C7.875 19.225 9.76667 20 12 20Z",fill:"black"},null,-1),$i=[wi];function Ei(a,t){return e.openBlock(),e.createElementBlock("svg",ki,$i)}const Bi=I(bi,[["render",Ei]]),Vi={},Ni={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Si=e.createElementVNode("path",{d:"M11 18C10.7167 18 10.479 17.904 10.287 17.712C10.095 17.52 9.99934 17.2827 10 17C10 16.7167 10.096 16.479 10.288 16.287C10.48 16.095 10.7173 15.9993 11 16H13C13.2833 16 13.521 16.096 13.713 16.288C13.905 16.48 14.0007 16.7173 14 17C14 17.2833 13.904 17.521 13.712 17.713C13.52 17.905 13.2827 18.0007 13 18H11ZM4 8C3.71667 8 3.479 7.904 3.287 7.712C3.095 7.52 2.99934 7.28267 3 7C3 6.71667 3.096 6.479 3.288 6.287C3.48 6.095 3.71734 5.99934 4 6H20C20.2833 6 20.521 6.096 20.713 6.288C20.905 6.48 21.0007 6.71734 21 7C21 7.28334 20.904 7.521 20.712 7.713C20.52 7.905 20.2827 8.00067 20 8H4ZM7 13C6.71667 13 6.479 12.904 6.287 12.712C6.095 12.52 5.99934 12.2827 6 12C6 11.7167 6.096 11.479 6.288 11.287C6.48 11.095 6.71734 10.9993 7 11H17C17.2833 11 17.521 11.096 17.713 11.288C17.905 11.48 18.0007 11.7173 18 12C18 12.2833 17.904 12.521 17.712 12.713C17.52 12.905 17.2827 13.0007 17 13H7Z",fill:"black"},null,-1),Mi=[Si];function Ai(a,t){return e.openBlock(),e.createElementBlock("svg",Ni,Mi)}const Ti=I(Vi,[["render",Ai]]),Oi={},Ii={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Li=e.createElementVNode("path",{d:"M6 21C5.71667 21 5.479 20.904 5.287 20.712C5.095 20.52 4.99934 20.2827 5 20V5C5 4.71667 5.096 4.479 5.288 4.287C5.48 4.095 5.71734 3.99934 6 4H13.175C13.4083 4 13.6167 4.075 13.8 4.225C13.9833 4.375 14.1 4.56667 14.15 4.8L14.4 6H19C19.2833 6 19.521 6.096 19.713 6.288C19.905 6.48 20.0007 6.71734 20 7V15C20 15.2833 19.904 15.521 19.712 15.713C19.52 15.905 19.2827 16.0007 19 16H13.825C13.5917 16 13.3833 15.925 13.2 15.775C13.0167 15.625 12.9 15.4333 12.85 15.2L12.6 14H7V20C7 20.2833 6.904 20.521 6.712 20.713C6.52 20.905 6.28267 21.0007 6 21Z",fill:"black"},null,-1),Di=[Li];function Pi(a,t){return e.openBlock(),e.createElementBlock("svg",Ii,Di)}const Hi=I(Oi,[["render",Pi]]),Ri={},ji={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Fi=e.createElementVNode("path",{d:"M4 12V18V6V12ZM14 21C14.2833 21 14.521 20.904 14.713 20.712C14.905 20.52 15.0007 20.2827 15 20C15 19.7167 14.904 19.479 14.712 19.287C14.52 19.095 14.2827 18.9993 14 19C13.7167 19 13.479 19.096 13.287 19.288C13.095 19.48 12.9993 19.7173 13 20C13 20.2833 13.096 20.521 13.288 20.713C13.48 20.905 13.7173 21.0007 14 21ZM20 11C20.2833 11 20.521 10.904 20.713 10.712C20.905 10.52 21.0007 10.2827 21 10C21 9.71667 20.904 9.479 20.712 9.287C20.52 9.095 20.2827 8.99934 20 9C19.7167 9 19.479 9.096 19.287 9.288C19.095 9.48 18.9993 9.71734 19 10C19 10.2833 19.096 10.521 19.288 10.713C19.48 10.905 19.7173 11.0007 20 11ZM10 11C10.2833 11 10.521 10.904 10.713 10.712C10.905 10.52 11.0007 10.2827 11 10C11 9.71667 10.904 9.479 10.712 9.287C10.52 9.095 10.2827 8.99934 10 9H7C6.71667 9 6.479 9.096 6.287 9.288C6.095 9.48 5.99934 9.71734 6 10C6 10.2833 6.096 10.521 6.288 10.713C6.48 10.905 6.71734 11.0007 7 11H10ZM10 15C10.2833 15 10.521 14.904 10.713 14.712C10.905 14.52 11.0007 14.2827 11 14C11 13.7167 10.904 13.479 10.712 13.287C10.52 13.095 10.2827 12.9993 10 13H7C6.71667 13 6.479 13.096 6.287 13.288C6.095 13.48 5.99934 13.7173 6 14C6 14.2833 6.096 14.521 6.288 14.713C6.48 14.905 6.71734 15.0007 7 15H10ZM4 20C3.45 20 2.979 19.804 2.587 19.412C2.195 19.02 1.99934 18.5493 2 18V6C2 5.45 2.196 4.979 2.588 4.587C2.98 4.195 3.45067 3.99934 4 4H20C20.55 4 21.021 4.196 21.413 4.588C21.805 4.98 22.0007 5.45067 22 6H4V18H9V20H4ZM14 23C13.1667 23 12.4583 22.7083 11.875 22.125C11.2917 21.5417 11 20.8333 11 20C11 19.35 11.1877 18.7667 11.563 18.25C11.9383 17.7333 12.4173 17.375 13 17.175V15C13 14.7167 13.096 14.479 13.288 14.287C13.48 14.095 13.7173 13.9993 14 14H19V12.825C18.4167 12.625 17.9373 12.2667 17.562 11.75C17.1867 11.2333 16.9993 10.65 17 10C17 9.16667 17.2917 8.45833 17.875 7.875C18.4583 7.29167 19.1667 7 20 7C20.8333 7 21.5417 7.29167 22.125 7.875C22.7083 8.45833 23 9.16667 23 10C23 10.65 22.8123 11.2333 22.437 11.75C22.0617 12.2667 21.5827 12.625 21 12.825V15C21 15.2833 20.904 15.521 20.712 15.713C20.52 15.905 20.2827 16.0007 20 16H15V17.175C15.5833 17.375 16.0627 17.7333 16.438 18.25C16.8133 18.7667 17.0007 19.35 17 20C17 20.8333 16.7083 21.5417 16.125 22.125C15.5417 22.7083 14.8333 23 14 23Z",fill:"black"},null,-1),Ui=[Fi];function zi(a,t){return e.openBlock(),e.createElementBlock("svg",ji,Ui)}const Zi=I(Ri,[["render",zi]]),xi={},Wi={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},qi=e.createElementVNode("path",{d:"M8.5 14H9.5C9.78334 14 10.021 13.904 10.213 13.712C10.405 13.52 10.5007 13.2827 10.5 13V12H9.5V13H8.5V11H10.5C10.5 10.7167 10.404 10.479 10.212 10.287C10.02 10.095 9.78267 9.99934 9.5 10H8.5C8.21667 10 7.979 10.096 7.787 10.288C7.595 10.48 7.49934 10.7173 7.5 11V13C7.5 13.2833 7.596 13.521 7.788 13.713C7.98 13.905 8.21734 14.0007 8.5 14ZM11.5 14H12.5V10H11.5V14ZM13.5 14H14.5V12.5H16V11.5H14.5V11H16.5V10H13.5V14ZM5 21C4.45 21 3.979 20.804 3.587 20.412C3.195 20.02 2.99934 19.5493 3 19V5C3 4.45 3.196 3.979 3.588 3.587C3.98 3.195 4.45067 2.99934 5 3H19C19.55 3 20.021 3.196 20.413 3.588C20.805 3.98 21.0007 4.45067 21 5V19C21 19.55 20.804 20.021 20.412 20.413C20.02 20.805 19.5493 21.0007 19 21H5Z",fill:"black"},null,-1),Yi=[qi];function Ki(a,t){return e.openBlock(),e.createElementBlock("svg",Wi,Yi)}const Gi=I(xi,[["render",Ki]]),Xi={},Qi={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Ji=e.createElementVNode("path",{d:"M0 18V16.425C0 15.7083 0.366667 15.125 1.1 14.675C1.83333 14.225 2.8 14 4 14C4.21667 14 4.425 14.0043 4.625 14.013C4.825 14.0217 5.01667 14.0423 5.2 14.075C4.96667 14.425 4.79167 14.7917 4.675 15.175C4.55833 15.5583 4.5 15.9583 4.5 16.375V18H0ZM6 18V16.375C6 15.8417 6.146 15.354 6.438 14.912C6.73 14.47 7.14233 14.0827 7.675 13.75C8.20833 13.4167 8.846 13.1667 9.588 13C10.33 12.8333 11.134 12.75 12 12.75C12.8833 12.75 13.696 12.8333 14.438 13C15.18 13.1667 15.8173 13.4167 16.35 13.75C16.8833 14.0833 17.2917 14.471 17.575 14.913C17.8583 15.355 18 15.8423 18 16.375V18H6ZM19.5 18V16.375C19.5 15.9417 19.4457 15.5333 19.337 15.15C19.2283 14.7667 19.066 14.4083 18.85 14.075C19.0333 14.0417 19.221 14.021 19.413 14.013C19.605 14.005 19.8007 14.0007 20 14C21.2 14 22.1667 14.221 22.9 14.663C23.6333 15.105 24 15.6923 24 16.425V18H19.5ZM8.125 16H15.9C15.7333 15.6667 15.2707 15.375 14.512 15.125C13.7533 14.875 12.916 14.75 12 14.75C11.0833 14.75 10.2457 14.875 9.487 15.125C8.72833 15.375 8.27467 15.6667 8.126 16H8.125ZM4 13C3.45 13 2.979 12.804 2.587 12.412C2.195 12.02 1.99933 11.5493 2 11C2 10.4333 2.196 9.95833 2.588 9.575C2.98 9.19167 3.45067 9 4 9C4.56667 9 5.04167 9.19167 5.425 9.575C5.80833 9.95833 6 10.4333 6 11C6 11.55 5.80833 12.021 5.425 12.413C5.04167 12.805 4.56667 13.0007 4 13ZM20 13C19.45 13 18.979 12.804 18.587 12.412C18.195 12.02 17.9993 11.5493 18 11C18 10.4333 18.196 9.95833 18.588 9.575C18.98 9.19167 19.4507 9 20 9C20.5667 9 21.0417 9.19167 21.425 9.575C21.8083 9.95833 22 10.4333 22 11C22 11.55 21.8083 12.021 21.425 12.413C21.0417 12.805 20.5667 13.0007 20 13ZM12 12C11.1667 12 10.4583 11.7083 9.875 11.125C9.29167 10.5417 9 9.83333 9 9C9 8.15 9.29167 7.43733 9.875 6.862C10.4583 6.28667 11.1667 5.99933 12 6C12.85 6 13.5627 6.28767 14.138 6.863C14.7133 7.43833 15.0007 8.15067 15 9C15 9.83333 14.7123 10.5417 14.137 11.125C13.5617 11.7083 12.8493 12 12 12ZM12 10C12.2833 10 12.521 9.904 12.713 9.712C12.905 9.52 13.0007 9.28267 13 9C13 8.71667 12.904 8.479 12.712 8.287C12.52 8.095 12.2827 7.99933 12 8C11.7167 8 11.479 8.096 11.287 8.288C11.095 8.48 10.9993 8.71733 11 9C11 9.28333 11.096 9.521 11.288 9.713C11.48 9.905 11.7173 10.0007 12 10Z",fill:"black"},null,-1),e1=[Ji];function t1(a,t){return e.openBlock(),e.createElementBlock("svg",Qi,e1)}const a1=I(Xi,[["render",t1]]),o1={},n1={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},s1=e.createElementVNode("path",{d:"M6 19H9V13H15V19H18V10L12 5.5L6 10V19ZM6 21C5.45 21 4.979 20.804 4.587 20.412C4.195 20.02 3.99934 19.5493 4 19V10C4 9.68333 4.071 9.38333 4.213 9.1C4.355 8.81667 4.55067 8.58333 4.8 8.4L10.8 3.9C10.9833 3.76667 11.175 3.66667 11.375 3.6C11.575 3.53333 11.7833 3.5 12 3.5C12.2167 3.5 12.425 3.53333 12.625 3.6C12.825 3.66667 13.0167 3.76667 13.2 3.9L19.2 8.4C19.45 8.58333 19.646 8.81667 19.788 9.1C19.93 9.38333 20.0007 9.68333 20 10V19C20 19.55 19.804 20.021 19.412 20.413C19.02 20.805 18.5493 21.0007 18 21H13V15H11V21H6Z",fill:"black"},null,-1),l1=[s1];function r1(a,t){return e.openBlock(),e.createElementBlock("svg",n1,l1)}const i1=I(o1,[["render",r1]]),c1={},d1={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},u1=e.createElementVNode("path",{d:"M5 21C4.45 21 3.979 20.804 3.587 20.412C3.195 20.02 2.99934 19.5493 3 19V5C3 4.45 3.196 3.979 3.588 3.587C3.98 3.195 4.45067 2.99934 5 3H19C19.55 3 20.021 3.196 20.413 3.588C20.805 3.98 21.0007 4.45067 21 5V19C21 19.55 20.804 20.021 20.412 20.413C20.02 20.805 19.5493 21.0007 19 21H5ZM7 17H17C17.2 17 17.35 16.9083 17.45 16.725C17.55 16.5417 17.5333 16.3667 17.4 16.2L14.65 12.525C14.55 12.3917 14.4167 12.325 14.25 12.325C14.0833 12.325 13.95 12.3917 13.85 12.525L11.25 16L9.4 13.525C9.3 13.3917 9.16667 13.325 9 13.325C8.83334 13.325 8.7 13.3917 8.6 13.525L6.6 16.2C6.46667 16.3667 6.45 16.5417 6.55 16.725C6.65 16.9083 6.8 17 7 17Z",fill:"black"},null,-1),p1=[u1];function m1(a,t){return e.openBlock(),e.createElementBlock("svg",d1,p1)}const v1=I(c1,[["render",m1]]),f1={},h1={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},C1=e.createElementVNode("path",{d:"M11 17H13V11H11V17ZM12 9C12.2833 9 12.521 8.904 12.713 8.712C12.905 8.52 13.0007 8.28267 13 8C13 7.71667 12.904 7.479 12.712 7.287C12.52 7.095 12.2827 6.99933 12 7C11.7167 7 11.479 7.096 11.287 7.288C11.095 7.48 10.9993 7.71733 11 8C11 8.28333 11.096 8.521 11.288 8.713C11.48 8.905 11.7173 9.00067 12 9ZM12 22C10.6167 22 9.31667 21.7373 8.1 21.212C6.88333 20.6867 5.825 19.9743 4.925 19.075C4.025 18.175 3.31267 17.1167 2.788 15.9C2.26333 14.6833 2.00067 13.3833 2 12C2 10.6167 2.26267 9.31667 2.788 8.1C3.31333 6.88333 4.02567 5.825 4.925 4.925C5.825 4.025 6.88333 3.31267 8.1 2.788C9.31667 2.26333 10.6167 2.00067 12 2C13.3833 2 14.6833 2.26267 15.9 2.788C17.1167 3.31333 18.175 4.02567 19.075 4.925C19.975 5.825 20.6877 6.88333 21.213 8.1C21.7383 9.31667 22.0007 10.6167 22 12C22 13.3833 21.7373 14.6833 21.212 15.9C20.6867 17.1167 19.9743 18.175 19.075 19.075C18.175 19.975 17.1167 20.6877 15.9 21.213C14.6833 21.7383 13.3833 22.0007 12 22Z",fill:"black"},null,-1),g1=[C1];function _1(a,t){return e.openBlock(),e.createElementBlock("svg",h1,g1)}const y1=I(f1,[["render",_1]]),b1={},k1={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},w1=e.createElementVNode("path",{d:"M12 15.4L6 9.4L7.4 8L12 12.6L16.6 8L18 9.4L12 15.4Z",fill:"black"},null,-1),$1=[w1];function E1(a,t){return e.openBlock(),e.createElementBlock("svg",k1,$1)}const B1=I(b1,[["render",E1]]),V1={},N1={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},S1=e.createElementVNode("path",{d:"M7.4 15.4L6 14L12 8L18 14L16.6 15.4L12 10.8L7.4 15.4Z",fill:"black"},null,-1),M1=[S1];function A1(a,t){return e.openBlock(),e.createElementBlock("svg",N1,M1)}const T1=I(V1,[["render",A1]]),O1=e.defineComponent({name:"LoadingIcon"});const Ka=a=>(e.pushScopeId("data-v-ad6da4a9"),a=a(),e.popScopeId(),a),I1={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},L1=Ka(()=>e.createElementVNode("circle",{class:"dot dot--1",cx:"6",cy:"12",r:"2"},null,-1)),D1=Ka(()=>e.createElementVNode("circle",{class:"dot dot--2",cx:"12",cy:"12",r:"2"},null,-1)),P1=Ka(()=>e.createElementVNode("circle",{class:"dot dot--3",cx:"18",cy:"12",r:"2"},null,-1)),H1=[L1,D1,P1];function R1(a,t,o,n,s,r){return e.openBlock(),e.createElementBlock("svg",I1,H1)}const j1=I(O1,[["render",R1],["__scopeId","data-v-ad6da4a9"]]),F1={},U1={xmlns:"http://www.w3.org/2000/svg",height:"24",viewBox:"0 -960 960 960",width:"24"},z1=e.createElementVNode("path",{d:"M240-80q-33 0-56.5-23.5T160-160v-400q0-33 23.5-56.5T240-640h40v-80q0-83 58.5-141.5T480-920q83 0 141.5 58.5T680-720v80h40q33 0 56.5 23.5T800-560v400q0 33-23.5 56.5T720-80H240Zm0-80h480v-400H240v400Zm240-120q33 0 56.5-23.5T560-360q0-33-23.5-56.5T480-440q-33 0-56.5 23.5T400-360q0 33 23.5 56.5T480-280ZM360-640h240v-80q0-50-35-85t-85-35q-50 0-85 35t-35 85v80ZM240-160v-400 400Z"},null,-1),Z1=[z1];function x1(a,t){return e.openBlock(),e.createElementBlock("svg",U1,Z1)}const W1=I(F1,[["render",x1]]),q1={},Y1={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},K1=e.createElementVNode("path",{d:"M15.325 16.275C15.1417 16.0583 15.05 15.8127 15.05 15.538C15.05 15.2633 15.1417 15.034 15.325 14.85L17.175 13H10C9.71667 13 9.479 12.904 9.287 12.712C9.095 12.52 8.99934 12.2827 9 12C9 11.7167 9.096 11.479 9.288 11.287C9.48 11.095 9.71734 10.9993 10 11H17.175L15.325 9.15C15.125 8.95 15.025 8.71234 15.025 8.437C15.025 8.16167 15.125 7.92434 15.325 7.725C15.5083 7.525 15.7377 7.425 16.013 7.425C16.2883 7.425 16.5173 7.51667 16.7 7.7L20.3 11.3C20.4 11.4 20.471 11.5083 20.513 11.625C20.555 11.7417 20.5757 11.8667 20.575 12C20.575 12.1333 20.5543 12.2583 20.513 12.375C20.4717 12.4917 20.4007 12.6 20.3 12.7L16.7 16.3C16.4833 16.5167 16.2457 16.6127 15.987 16.588C15.7283 16.5633 15.5077 16.459 15.325 16.275ZM5 21C4.45 21 3.979 20.804 3.587 20.412C3.195 20.02 2.99934 19.5493 3 19V5C3 4.45 3.196 3.979 3.588 3.587C3.98 3.195 4.45067 2.99934 5 3H11C11.2833 3 11.521 3.096 11.713 3.288C11.905 3.48 12.0007 3.71734 12 4C12 4.28334 11.904 4.521 11.712 4.713C11.52 4.905 11.2827 5.00067 11 5H5V19H11C11.2833 19 11.521 19.096 11.713 19.288C11.905 19.48 12.0007 19.7173 12 20C12 20.2833 11.904 20.521 11.712 20.713C11.52 20.905 11.2827 21.0007 11 21H5Z",fill:"black"},null,-1),G1=[K1];function X1(a,t){return e.openBlock(),e.createElementBlock("svg",Y1,G1)}const Q1=I(q1,[["render",X1]]),J1={},ec={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},tc=e.createElementVNode("path",{d:"M3 18V16H21V18H3ZM3 13V11H21V13H3ZM3 8V6H21V8H3Z",fill:"black"},null,-1),ac=[tc];function oc(a,t){return e.openBlock(),e.createElementBlock("svg",ec,ac)}const nc=I(J1,[["render",oc]]),sc={},lc={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},rc=e.createElementVNode("path",{d:"M6 14C5.45 14 4.979 13.804 4.587 13.412C4.195 13.02 3.99934 12.5493 4 12C4 11.45 4.196 10.979 4.588 10.587C4.98 10.195 5.45067 9.99934 6 10C6.55 10 7.021 10.196 7.413 10.588C7.805 10.98 8.00067 11.4507 8 12C8 12.55 7.804 13.021 7.412 13.413C7.02 13.805 6.54934 14.0007 6 14ZM12 14C11.45 14 10.979 13.804 10.587 13.412C10.195 13.02 9.99934 12.5493 10 12C10 11.45 10.196 10.979 10.588 10.587C10.98 10.195 11.4507 9.99934 12 10C12.55 10 13.021 10.196 13.413 10.588C13.805 10.98 14.0007 11.4507 14 12C14 12.55 13.804 13.021 13.412 13.413C13.02 13.805 12.5493 14.0007 12 14ZM18 14C17.45 14 16.979 13.804 16.587 13.412C16.195 13.02 15.9993 12.5493 16 12C16 11.45 16.196 10.979 16.588 10.587C16.98 10.195 17.4507 9.99934 18 10C18.55 10 19.021 10.196 19.413 10.588C19.805 10.98 20.0007 11.4507 20 12C20 12.55 19.804 13.021 19.412 13.413C19.02 13.805 18.5493 14.0007 18 14Z",fill:"black"},null,-1),ic=[rc];function cc(a,t){return e.openBlock(),e.createElementBlock("svg",lc,ic)}const dc=I(sc,[["render",cc]]),uc={},pc={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},mc=e.createElementVNode("path",{d:"M11 21C9.75 21 8.57933 20.7667 7.488 20.3C6.396 19.8333 5.44167 19.1917 4.625 18.375C3.80833 17.5583 3.16667 16.604 2.7 15.512C2.23333 14.4207 2 13.25 2 12C2 9.48333 2.871 7.354 4.613 5.612C6.35433 3.87067 8.48333 3 11 3C11.2167 3 11.425 3.00833 11.625 3.025C11.825 3.04167 12.025 3.06667 12.225 3.1C12.4417 3.13333 12.625 3.24567 12.775 3.437C12.925 3.629 13 3.84167 13 4.075C13 4.40833 12.8877 4.66233 12.663 4.837C12.4377 5.01233 12.15 5.08333 11.8 5.05C11.6667 5.03333 11.5333 5.02067 11.4 5.012C11.2667 5.004 11.1333 5 11 5C9.03333 5 7.375 5.675 6.025 7.025C4.675 8.375 4 10.0333 4 12C4 13.9667 4.675 15.625 6.025 16.975C7.375 18.325 9.03333 19 11 19C12.95 19 14.596 18.3333 15.938 17C17.2793 15.6667 17.9667 14.025 18 12.075H18.013H18C18 11.7917 18.096 11.5417 18.288 11.325C18.4793 11.1083 18.7167 11 19 11C19.2667 11 19.5 11.0957 19.7 11.287C19.9 11.479 20 11.7 20 11.95V12C20 14.5167 19.129 16.6457 17.387 18.387C15.6457 20.129 13.5167 21 11 21ZM19 9C18.7167 9 18.4793 8.904 18.288 8.712C18.096 8.52067 18 8.28333 18 8V6H16C15.7167 6 15.4793 5.90433 15.288 5.713C15.096 5.521 15 5.28333 15 5C15 4.71667 15.096 4.479 15.288 4.287C15.4793 4.09567 15.7167 4 16 4H18V2C18 1.71667 18.096 1.479 18.288 1.287C18.4793 1.09567 18.7167 1 19 1C19.2833 1 19.5207 1.09567 19.712 1.287C19.904 1.479 20 1.71667 20 2V4H22C22.2833 4 22.5207 4.09567 22.712 4.287C22.904 4.479 23 4.71667 23 5C23 5.28333 22.904 5.521 22.712 5.713C22.5207 5.90433 22.2833 6 22 6H20V8C20 8.28333 19.904 8.52067 19.712 8.712C19.5207 8.904 19.2833 9 19 9ZM13.1 15.5L10.3 12.7C10.2 12.6 10.125 12.4873 10.075 12.362C10.025 12.2373 10 12.1083 10 11.975V8C10 7.71667 10.096 7.479 10.288 7.287C10.4793 7.09567 10.7167 7 11 7C11.2833 7 11.521 7.09567 11.713 7.287C11.9043 7.479 12 7.71667 12 8V11.6L14.5 14.1C14.6833 14.2833 14.775 14.5167 14.775 14.8C14.775 15.0833 14.6833 15.3167 14.5 15.5C14.3167 15.6833 14.0833 15.775 13.8 15.775C13.5167 15.775 13.2833 15.6833 13.1 15.5V15.5Z",fill:"black"},null,-1),vc=[mc];function fc(a,t){return e.openBlock(),e.createElementBlock("svg",pc,vc)}const hc=I(uc,[["render",fc]]),Cc={},gc={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},_c=e.createElementVNode("path",{d:"M12 20C11.45 20 10.979 19.804 10.587 19.412C10.195 19.02 9.99934 18.5493 10 18C10 17.45 10.196 16.979 10.588 16.587C10.98 16.195 11.4507 15.9993 12 16C12.55 16 13.021 16.196 13.413 16.588C13.805 16.98 14.0007 17.4507 14 18C14 18.55 13.804 19.021 13.412 19.413C13.02 19.805 12.5493 20.0007 12 20ZM12 14C11.45 14 10.979 13.804 10.587 13.412C10.195 13.02 9.99934 12.5493 10 12C10 11.45 10.196 10.979 10.588 10.587C10.98 10.195 11.4507 9.99934 12 10C12.55 10 13.021 10.196 13.413 10.588C13.805 10.98 14.0007 11.4507 14 12C14 12.55 13.804 13.021 13.412 13.413C13.02 13.805 12.5493 14.0007 12 14ZM12 8C11.45 8 10.979 7.804 10.587 7.412C10.195 7.02 9.99934 6.54934 10 6C10 5.45 10.196 4.979 10.588 4.587C10.98 4.195 11.4507 3.99934 12 4C12.55 4 13.021 4.196 13.413 4.588C13.805 4.98 14.0007 5.45067 14 6C14 6.55 13.804 7.021 13.412 7.413C13.02 7.805 12.5493 8.00067 12 8Z",fill:"black"},null,-1),yc=[_c];function bc(a,t){return e.openBlock(),e.createElementBlock("svg",gc,yc)}const kc=I(Cc,[["render",bc]]),wc={},$c={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Ec=e.createElementVNode("path",{d:"M8.70002 12.925L10.075 13.85L11.55 13.1C11.6834 13.0167 11.8334 12.975 12 12.975C12.1667 12.975 12.3167 13.0167 12.45 13.1L13.925 13.85L15.25 12.975L14.25 11H9.65002L8.70002 12.925ZM5.22502 20H18.75L16.15 14.775L14.55 15.85C14.4 15.95 14.2377 16.0043 14.063 16.013C13.8884 16.0217 13.7174 15.984 13.55 15.9L12 15.125L10.45 15.9C10.2834 15.9833 10.1124 16.0167 9.93702 16C9.76169 15.9833 9.59936 15.925 9.45002 15.825L7.80002 14.75L5.22502 20ZM3.60002 22C3.21669 22 2.92936 21.8417 2.73802 21.525C2.54669 21.2083 2.53402 20.8833 2.70002 20.55L7.85002 10.125C8.01669 9.79167 8.26269 9.52067 8.58802 9.312C8.91336 9.10334 9.26736 8.99934 9.65002 9H11V3C11 2.71667 11.096 2.479 11.288 2.287C11.48 2.095 11.7174 1.99934 12 2H17.2C17.3834 2 17.525 2.07934 17.625 2.238C17.725 2.39667 17.7334 2.559 17.65 2.725L17.1 3.775C17.0667 3.85834 17.05 3.93334 17.05 4C17.05 4.06667 17.0667 4.14167 17.1 4.225L17.65 5.275C17.7334 5.44167 17.725 5.604 17.625 5.762C17.525 5.92 17.3834 5.99934 17.2 6H13V9H14.25C14.6334 9 14.9834 9.1 15.3 9.3C15.6167 9.5 15.8667 9.76667 16.05 10.1L21.275 20.55C21.4417 20.8833 21.4294 21.2083 21.238 21.525C21.0467 21.8417 20.759 22 20.375 22H3.60002Z",fill:"black"},null,-1),Bc=[Ec];function Vc(a,t){return e.openBlock(),e.createElementBlock("svg",$c,Bc)}const Nc=I(wc,[["render",Vc]]),Sc={},Mc={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Ac=e.createElementVNode("path",{d:"M19 14C18.7167 14 18.479 13.904 18.287 13.712C18.095 13.52 17.9993 13.2827 18 13V11H16C15.7167 11 15.479 10.904 15.287 10.712C15.095 10.52 14.9993 10.2827 15 10C15 9.71667 15.096 9.479 15.288 9.287C15.48 9.095 15.7173 8.99933 16 9H18V7C18 6.71667 18.096 6.479 18.288 6.287C18.48 6.095 18.7173 5.99933 19 6C19.2833 6 19.521 6.096 19.713 6.288C19.905 6.48 20.0007 6.71733 20 7V9H22C22.2833 9 22.521 9.096 22.713 9.288C22.905 9.48 23.0007 9.71733 23 10C23 10.2833 22.904 10.521 22.712 10.713C22.52 10.905 22.2827 11.0007 22 11H20V13C20 13.2833 19.904 13.521 19.712 13.713C19.52 13.905 19.2827 14.0007 19 14ZM9 12C7.9 12 6.95834 11.6083 6.175 10.825C5.39167 10.0417 5 9.1 5 8C5 6.9 5.39167 5.95833 6.175 5.175C6.95834 4.39167 7.9 4 9 4C10.1 4 11.0417 4.39167 11.825 5.175C12.6083 5.95833 13 6.9 13 8C13 9.1 12.6083 10.0417 11.825 10.825C11.0417 11.6083 10.1 12 9 12ZM2 20C1.71667 20 1.479 19.904 1.287 19.712C1.095 19.52 0.999337 19.2827 1 19V17.2C1 16.6333 1.146 16.1123 1.438 15.637C1.73 15.1617 2.11734 14.7993 2.6 14.55C3.63334 14.0333 4.68334 13.6457 5.75 13.387C6.81667 13.1283 7.9 12.9993 9 13C10.1 13 11.1833 13.1293 12.25 13.388C13.3167 13.6467 14.3667 14.034 15.4 14.55C15.8833 14.8 16.271 15.1627 16.563 15.638C16.855 16.1133 17.0007 16.634 17 17.2V19C17 19.2833 16.904 19.521 16.712 19.713C16.52 19.905 16.2827 20.0007 16 20H2ZM3 18H15V17.2C15 17.0167 14.954 16.85 14.862 16.7C14.77 16.55 14.6493 16.4333 14.5 16.35C13.6 15.9 12.6917 15.5627 11.775 15.338C10.8583 15.1133 9.93334 15.0007 9 15C8.06667 15 7.14167 15.1127 6.225 15.338C5.30834 15.5633 4.4 15.9007 3.5 16.35C3.35 16.4333 3.229 16.55 3.137 16.7C3.045 16.85 2.99934 17.0167 3 17.2V18ZM9 10C9.55 10 10.021 9.804 10.413 9.412C10.805 9.02 11.0007 8.54933 11 8C11 7.45 10.804 6.979 10.412 6.587C10.02 6.195 9.54934 5.99933 9 6C8.45 6 7.979 6.196 7.587 6.588C7.195 6.98 6.99934 7.45067 7 8C7 8.55 7.196 9.021 7.588 9.413C7.98 9.805 8.45067 10.0007 9 10Z",fill:"black"},null,-1),Tc=[Ac];function Oc(a,t){return e.openBlock(),e.createElementBlock("svg",Mc,Tc)}const Ic=I(Sc,[["render",Oc]]),Lc={},Dc={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Pc=e.createElementVNode("path",{d:"M10 10.5H11C11.2833 10.5 11.521 10.404 11.713 10.212C11.905 10.02 12.0007 9.78267 12 9.5V8.5C12 8.21667 11.904 7.979 11.712 7.787C11.52 7.595 11.2827 7.49934 11 7.5H9.5C9.36667 7.5 9.25 7.55 9.15 7.65C9.05 7.75 9 7.86667 9 8V12C9 12.1333 9.05 12.25 9.15 12.35C9.25 12.45 9.36667 12.5 9.5 12.5C9.63334 12.5 9.75 12.45 9.85 12.35C9.95 12.25 10 12.1333 10 12V10.5ZM10 9.5V8.5H11V9.5H10ZM15 12.5C15.2833 12.5 15.521 12.404 15.713 12.212C15.905 12.02 16.0007 11.7827 16 11.5V8.5C16 8.21667 15.904 7.979 15.712 7.787C15.52 7.595 15.2827 7.49934 15 7.5H13.5C13.3667 7.5 13.25 7.55 13.15 7.65C13.05 7.75 13 7.86667 13 8V12C13 12.1333 13.05 12.25 13.15 12.35C13.25 12.45 13.3667 12.5 13.5 12.5H15ZM14 11.5V8.5H15V11.5H14ZM18 10.5H18.5C18.6333 10.5 18.75 10.45 18.85 10.35C18.95 10.25 19 10.1333 19 10C19 9.86667 18.95 9.75 18.85 9.65C18.75 9.55 18.6333 9.5 18.5 9.5H18V8.5H18.5C18.6333 8.5 18.75 8.45 18.85 8.35C18.95 8.25 19 8.13334 19 8C19 7.86667 18.95 7.75 18.85 7.65C18.75 7.55 18.6333 7.5 18.5 7.5H17.5C17.3667 7.5 17.25 7.55 17.15 7.65C17.05 7.75 17 7.86667 17 8V12C17 12.1333 17.05 12.25 17.15 12.35C17.25 12.45 17.3667 12.5 17.5 12.5C17.6333 12.5 17.75 12.45 17.85 12.35C17.95 12.25 18 12.1333 18 12V10.5ZM8 18C7.45 18 6.979 17.804 6.587 17.412C6.195 17.02 5.99934 16.5493 6 16V4C6 3.45 6.196 2.979 6.588 2.587C6.98 2.195 7.45067 1.99934 8 2H20C20.55 2 21.021 2.196 21.413 2.588C21.805 2.98 22.0007 3.45067 22 4V16C22 16.55 21.804 17.021 21.412 17.413C21.02 17.805 20.5493 18.0007 20 18H8ZM4 22C3.45 22 2.979 21.804 2.587 21.412C2.195 21.02 1.99934 20.5493 2 20V7C2 6.71667 2.096 6.479 2.288 6.287C2.48 6.095 2.71734 5.99934 3 6C3.28334 6 3.521 6.096 3.713 6.288C3.905 6.48 4.00067 6.71734 4 7V20H17C17.2833 20 17.521 20.096 17.713 20.288C17.905 20.48 18.0007 20.7173 18 21C18 21.2833 17.904 21.521 17.712 21.713C17.52 21.905 17.2827 22.0007 17 22H4Z",fill:"black"},null,-1),Hc=[Pc];function Rc(a,t){return e.openBlock(),e.createElementBlock("svg",Dc,Hc)}const jc=I(Lc,[["render",Rc]]),Fc={},Uc={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},zc=e.createElementVNode("path",{d:"M12 17C13.3833 17 14.5627 16.5123 15.538 15.537C16.5133 14.5617 17.0007 13.3827 17 12C17 10.6167 16.5123 9.43733 15.537 8.462C14.5617 7.48667 13.3827 6.99933 12 7C10.6167 7 9.43733 7.48767 8.462 8.463C7.48667 9.43833 6.99933 10.6173 7 12C7 13.3833 7.48767 14.5627 8.463 15.538C9.43833 16.5133 10.6173 17.0007 12 17ZM12 22C10.6167 22 9.31667 21.7373 8.1 21.212C6.88333 20.6867 5.825 19.9743 4.925 19.075C4.025 18.175 3.31267 17.1167 2.788 15.9C2.26333 14.6833 2.00067 13.3833 2 12C2 10.6167 2.26267 9.31667 2.788 8.1C3.31333 6.88333 4.02567 5.825 4.925 4.925C5.825 4.025 6.88333 3.31267 8.1 2.788C9.31667 2.26333 10.6167 2.00067 12 2C13.3833 2 14.6833 2.26267 15.9 2.788C17.1167 3.31333 18.175 4.02567 19.075 4.925C19.975 5.825 20.6877 6.88333 21.213 8.1C21.7383 9.31667 22.0007 10.6167 22 12C22 13.3833 21.7373 14.6833 21.212 15.9C20.6867 17.1167 19.9743 18.175 19.075 19.075C18.175 19.975 17.1167 20.6877 15.9 21.213C14.6833 21.7383 13.3833 22.0007 12 22Z",fill:"black"},null,-1),Zc=[zc];function xc(a,t){return e.openBlock(),e.createElementBlock("svg",Uc,Zc)}const Wc=I(Fc,[["render",xc]]),qc={},Yc={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Kc=e.createElementVNode("path",{d:"M12 17C13.3833 17 14.5627 16.5123 15.538 15.537C16.5133 14.5617 17.0007 13.3827 17 12C17 10.6167 16.5123 9.43733 15.537 8.462C14.5617 7.48667 13.3827 6.99933 12 7C10.6167 7 9.43733 7.48767 8.462 8.463C7.48667 9.43833 6.99933 10.6173 7 12C7 13.3833 7.48767 14.5627 8.463 15.538C9.43833 16.5133 10.6173 17.0007 12 17ZM12 22C10.6167 22 9.31667 21.7373 8.1 21.212C6.88333 20.6867 5.825 19.9743 4.925 19.075C4.025 18.175 3.31267 17.1167 2.788 15.9C2.26333 14.6833 2.00067 13.3833 2 12C2 10.6167 2.26267 9.31667 2.788 8.1C3.31333 6.88333 4.02567 5.825 4.925 4.925C5.825 4.025 6.88333 3.31267 8.1 2.788C9.31667 2.26333 10.6167 2.00067 12 2C13.3833 2 14.6833 2.26267 15.9 2.788C17.1167 3.31333 18.175 4.02567 19.075 4.925C19.975 5.825 20.6877 6.88333 21.213 8.1C21.7383 9.31667 22.0007 10.6167 22 12C22 13.3833 21.7373 14.6833 21.212 15.9C20.6867 17.1167 19.9743 18.175 19.075 19.075C18.175 19.975 17.1167 20.6877 15.9 21.213C14.6833 21.7383 13.3833 22.0007 12 22ZM12 20C14.2333 20 16.125 19.225 17.675 17.675C19.225 16.125 20 14.2333 20 12C20 9.76667 19.225 7.875 17.675 6.325C16.125 4.775 14.2333 4 12 4C9.76667 4 7.875 4.775 6.325 6.325C4.775 7.875 4 9.76667 4 12C4 14.2333 4.775 16.125 6.325 17.675C7.875 19.225 9.76667 20 12 20Z",fill:"black"},null,-1),Gc=[Kc];function Xc(a,t){return e.openBlock(),e.createElementBlock("svg",Yc,Gc)}const Qc=I(qc,[["render",Xc]]),Jc={},ed={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},td=e.createElementVNode("path",{d:"M12 22C10.6167 22 9.31667 21.7373 8.1 21.212C6.88333 20.6867 5.825 19.9743 4.925 19.075C4.025 18.175 3.31267 17.1167 2.788 15.9C2.26333 14.6833 2.00067 13.3833 2 12C2 10.6167 2.26267 9.31667 2.788 8.1C3.31333 6.88333 4.02567 5.825 4.925 4.925C5.825 4.025 6.88333 3.31267 8.1 2.788C9.31667 2.26333 10.6167 2.00067 12 2C13.3833 2 14.6833 2.26267 15.9 2.788C17.1167 3.31333 18.175 4.02567 19.075 4.925C19.975 5.825 20.6877 6.88333 21.213 8.1C21.7383 9.31667 22.0007 10.6167 22 12C22 13.3833 21.7373 14.6833 21.212 15.9C20.6867 17.1167 19.9743 18.175 19.075 19.075C18.175 19.975 17.1167 20.6877 15.9 21.213C14.6833 21.7383 13.3833 22.0007 12 22ZM12 20C14.2333 20 16.125 19.225 17.675 17.675C19.225 16.125 20 14.2333 20 12C20 9.76667 19.225 7.875 17.675 6.325C16.125 4.775 14.2333 4 12 4C9.76667 4 7.875 4.775 6.325 6.325C4.775 7.875 4 9.76667 4 12C4 14.2333 4.775 16.125 6.325 17.675C7.875 19.225 9.76667 20 12 20ZM12 20C9.76667 20 7.875 19.225 6.325 17.675C4.775 16.125 4 14.2333 4 12C4 9.76667 4.775 7.875 6.325 6.325C7.875 4.775 9.76667 4 12 4C14.2333 4 16.125 4.775 17.675 6.325C19.225 7.875 20 9.76667 20 12C20 14.2333 19.225 16.125 17.675 17.675C16.125 19.225 14.2333 20 12 20Z",fill:"black"},null,-1),ad=[td];function od(a,t){return e.openBlock(),e.createElementBlock("svg",ed,ad)}const nd=I(Jc,[["render",od]]),sd={},ld={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},rd=e.createElementVNode("path",{d:"M6 13C5.71667 13 5.479 12.904 5.287 12.712C5.095 12.52 4.99934 12.2827 5 12C5 11.7167 5.096 11.479 5.288 11.287C5.48 11.095 5.71734 10.9993 6 11H18C18.2833 11 18.521 11.096 18.713 11.288C18.905 11.48 19.0007 11.7173 19 12C19 12.2833 18.904 12.521 18.712 12.713C18.52 12.905 18.2827 13.0007 18 13H6Z",fill:"black"},null,-1),id=[rd];function cd(a,t){return e.openBlock(),e.createElementBlock("svg",ld,id)}const dd=I(sd,[["render",cd]]),ud={},pd={width:"26",height:"29",viewBox:"0 0 26 29",fill:"none",xmlns:"http://www.w3.org/2000/svg"},md=e.createStaticVNode('<g filter="url(#filter0_d_2030_169)"><path d="M19.9 20.3L14.3 14.7C13.8 15.1 13.225 15.4167 12.575 15.65C11.925 15.8833 11.2333 16 10.5 16C8.68333 16 7.146 15.3707 5.888 14.112C4.63 12.8533 4.00067 11.316 4 9.5C4 7.68333 4.62933 6.146 5.888 4.888C7.14667 3.63 8.684 3.00067 10.5 3C12.3167 3 13.854 3.62933 15.112 4.888C16.37 6.14667 16.9993 7.684 17 9.5C17 10.2333 16.8833 10.925 16.65 11.575C16.4167 12.225 16.1 12.8 15.7 13.3L21.325 18.925C21.5083 19.1083 21.6 19.3333 21.6 19.6C21.6 19.8667 21.5 20.1 21.3 20.3C21.1167 20.4833 20.8833 20.575 20.6 20.575C20.3167 20.575 20.0833 20.4833 19.9 20.3ZM10.5 14C11.75 14 12.8127 13.5623 13.688 12.687C14.5633 11.8117 15.0007 10.7493 15 9.5C15 8.25 14.5623 7.18733 13.687 6.312C12.8117 5.43667 11.7493 4.99933 10.5 5C9.25 5 8.18733 5.43767 7.312 6.313C6.43667 7.18833 5.99933 8.25067 6 9.5C6 10.75 6.43767 11.8127 7.313 12.688C8.18833 13.5633 9.25067 14.0007 10.5 14Z" fill="black"></path></g><defs><filter id="filter0_d_2030_169" x="-3" y="0" width="32" height="32" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"></feFlood><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"></feColorMatrix><feOffset dy="4"></feOffset><feGaussianBlur stdDeviation="2"></feGaussianBlur><feComposite in2="hardAlpha" operator="out"></feComposite><feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0"></feColorMatrix><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_2030_169"></feBlend><feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_2030_169" result="shape"></feBlend></filter></defs>',2),vd=[md];function fd(a,t){return e.openBlock(),e.createElementBlock("svg",pd,vd)}const hd=I(ud,[["render",fd]]),Cd={},gd={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},_d=e.createElementVNode("path",{d:"M5 21C4.45 21 3.979 20.804 3.587 20.412C3.195 20.02 2.99934 19.5493 3 19V5C3 4.45 3.196 3.979 3.588 3.587C3.98 3.195 4.45067 2.99934 5 3H19C19.1333 3 19.2583 3.01267 19.375 3.038C19.4917 3.06334 19.6083 3.10067 19.725 3.15L17.875 5H5V19H19V12.35L21 10.35V19C21 19.55 20.804 20.021 20.412 20.413C20.02 20.805 19.5493 21.0007 19 21H5ZM11.525 17L5.875 11.35L7.275 9.95L11.525 14.2L20.7 5.025L22.125 6.4L11.525 17Z",fill:"black"},null,-1),yd=[_d];function bd(a,t){return e.openBlock(),e.createElementBlock("svg",gd,yd)}const kd=I(Cd,[["render",bd]]),wd={},$d={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Ed=e.createElementVNode("path",{d:"M4.4 19.4251C4.06667 19.5584 3.75 19.5291 3.45 19.3371C3.15 19.1457 3 18.8667 3 18.5001V14.7751C3 14.5417 3.06667 14.3334 3.2 14.1501C3.33333 13.9667 3.51667 13.8501 3.75 13.8001L11 12.0001L3.75 10.2001C3.51667 10.1501 3.33333 10.0334 3.2 9.85006C3.06667 9.66672 3 9.45839 3 9.22506V5.50006C3 5.13339 3.15 4.85406 3.45 4.66206C3.75 4.47072 4.06667 4.44172 4.4 4.57506L19.8 11.0751C20.2167 11.2584 20.425 11.5667 20.425 12.0001C20.425 12.4334 20.2167 12.7417 19.8 12.9251L4.4 19.4251Z",fill:"black"},null,-1),Bd=[Ed];function Vd(a,t){return e.openBlock(),e.createElementBlock("svg",$d,Bd)}const Nd=I(wd,[["render",Vd]]),Sd={},Md={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Ad=e.createElementVNode("path",{d:"M9.24995 22L8.84995 18.8C8.63329 18.7167 8.42895 18.6167 8.23695 18.5C8.04495 18.3833 7.85762 18.2583 7.67495 18.125L4.69995 19.375L1.94995 14.625L4.52495 12.675C4.50828 12.5583 4.49995 12.4457 4.49995 12.337V11.663C4.49995 11.5543 4.50828 11.4417 4.52495 11.325L1.94995 9.375L4.69995 4.625L7.67495 5.875C7.85828 5.74167 8.04995 5.61667 8.24995 5.5C8.44995 5.38333 8.64995 5.28333 8.84995 5.2L9.24995 2H14.75L15.15 5.2C15.3666 5.28333 15.571 5.38333 15.763 5.5C15.955 5.61667 16.1423 5.74167 16.325 5.875L19.2999 4.625L22.0499 9.375L19.475 11.325C19.4916 11.4417 19.5 11.5543 19.5 11.663V12.337C19.5 12.4457 19.4833 12.5583 19.45 12.675L22.025 14.625L19.275 19.375L16.325 18.125C16.1416 18.2583 15.95 18.3833 15.75 18.5C15.55 18.6167 15.35 18.7167 15.15 18.8L14.75 22H9.24995ZM12.05 15.5C13.0166 15.5 13.8416 15.1583 14.525 14.475C15.2083 13.7917 15.55 12.9667 15.55 12C15.55 11.0333 15.2083 10.2083 14.525 9.525C13.8416 8.84167 13.0166 8.5 12.05 8.5C11.0666 8.5 10.2373 8.84167 9.56195 9.525C8.88662 10.2083 8.54928 11.0333 8.54995 12C8.54995 12.9667 8.88728 13.7917 9.56195 14.475C10.2366 15.1583 11.066 15.5 12.05 15.5Z",fill:"black"},null,-1),Td=[Ad];function Od(a,t){return e.openBlock(),e.createElementBlock("svg",Md,Td)}const Id=I(Sd,[["render",Od]]),Ld={},Dd={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Pd=e.createElementVNode("path",{d:"M15.85 12.425C16 12.325 16.075 12.1833 16.075 12C16.075 11.8167 16 11.675 15.85 11.575L10.275 8C10.1083 7.88334 9.93734 7.875 9.762 7.975C9.58667 8.075 9.49934 8.225 9.5 8.425V15.575C9.5 15.775 9.58767 15.925 9.763 16.025C9.93833 16.125 10.109 16.1167 10.275 16L15.85 12.425ZM5 21C4.45 21 3.979 20.804 3.587 20.412C3.195 20.02 2.99934 19.5493 3 19V5C3 4.45 3.196 3.979 3.588 3.587C3.98 3.195 4.45067 2.99934 5 3H19C19.55 3 20.021 3.196 20.413 3.588C20.805 3.98 21.0007 4.45067 21 5V19C21 19.55 20.804 20.021 20.412 20.413C20.02 20.805 19.5493 21.0007 19 21H5Z",fill:"black"},null,-1),Hd=[Pd];function Rd(a,t){return e.openBlock(),e.createElementBlock("svg",Dd,Hd)}const jd=I(Ld,[["render",Rd]]),Fd={},Ud={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},zd=e.createElementVNode("path",{d:"M12 22C10.6167 22 9.31667 21.7373 8.1 21.212C6.88333 20.6867 5.825 19.9743 4.925 19.075C4.025 18.175 3.31267 17.1167 2.788 15.9C2.26333 14.6833 2.00067 13.3833 2 12C2 10.6167 2.26267 9.31667 2.788 8.1C3.31333 6.88333 4.02567 5.825 4.925 4.925C5.825 4.025 6.88333 3.31267 8.1 2.788C9.31667 2.26333 10.6167 2.00067 12 2C13.3833 2 14.6833 2.26267 15.9 2.788C17.1167 3.31333 18.175 4.02567 19.075 4.925C19.975 5.825 20.6877 6.88333 21.213 8.1C21.7383 9.31667 22.0007 10.6167 22 12C22 13.3833 21.7373 14.6833 21.212 15.9C20.6867 17.1167 19.9743 18.175 19.075 19.075C18.175 19.975 17.1167 20.6877 15.9 21.213C14.6833 21.7383 13.3833 22.0007 12 22ZM12 20C14.2333 20 16.125 19.225 17.675 17.675C19.225 16.125 20 14.2333 20 12C20 9.76667 19.225 7.875 17.675 6.325C16.125 4.775 14.2333 4 12 4C9.76667 4 7.875 4.775 6.325 6.325C4.775 7.875 4 9.76667 4 12C4 14.2333 4.775 16.125 6.325 17.675C7.875 19.225 9.76667 20 12 20ZM12 18C10.3333 18 8.91667 17.4167 7.75 16.25C6.58333 15.0833 6 13.6667 6 12C6 10.3333 6.58333 8.91667 7.75 7.75C8.91667 6.58333 10.3333 6 12 6C13.6667 6 15.0833 6.58333 16.25 7.75C17.4167 8.91667 18 10.3333 18 12C18 13.6667 17.4167 15.0833 16.25 16.25C15.0833 17.4167 13.6667 18 12 18ZM12 16C13.1 16 14.0417 15.6083 14.825 14.825C15.6083 14.0417 16 13.1 16 12C16 10.9 15.6083 9.95833 14.825 9.175C14.0417 8.39167 13.1 8 12 8C10.9 8 9.95833 8.39167 9.175 9.175C8.39167 9.95833 8 10.9 8 12C8 13.1 8.39167 14.0417 9.175 14.825C9.95833 15.6083 10.9 16 12 16ZM12 14C11.45 14 10.979 13.804 10.587 13.412C10.195 13.02 9.99933 12.5493 10 12C10 11.45 10.196 10.979 10.588 10.587C10.98 10.195 11.4507 9.99933 12 10C12.55 10 13.021 10.196 13.413 10.588C13.805 10.98 14.0007 11.4507 14 12C14 12.55 13.804 13.021 13.412 13.413C13.02 13.805 12.5493 14.0007 12 14Z",fill:"black"},null,-1),Zd=[zd];function xd(a,t){return e.openBlock(),e.createElementBlock("svg",Ud,Zd)}const Wd=I(Fd,[["render",xd]]),qd={},Yd={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Kd=e.createElementVNode("path",{d:"M10.925 15.125L9.525 13.725C9.425 13.625 9.31667 13.55 9.2 13.5C9.08334 13.45 8.96267 13.425 8.838 13.425C8.71267 13.425 8.58767 13.45 8.463 13.5C8.33834 13.55 8.22567 13.625 8.125 13.725C7.925 13.925 7.825 14.1627 7.825 14.438C7.825 14.7133 7.925 14.9507 8.125 15.15L10.25 17.3C10.35 17.4 10.4583 17.471 10.575 17.513C10.6917 17.555 10.8167 17.5757 10.95 17.575C11.0833 17.575 11.2083 17.554 11.325 17.512C11.4417 17.47 11.55 17.3993 11.65 17.3L15.875 13.075C16.075 12.875 16.175 12.6333 16.175 12.35C16.175 12.0667 16.075 11.825 15.875 11.625C15.675 11.425 15.4333 11.325 15.15 11.325C14.8667 11.325 14.625 11.425 14.425 11.625L10.925 15.125ZM6 22C5.45 22 4.979 21.804 4.587 21.412C4.195 21.02 3.99934 20.5493 4 20V4C4 3.45 4.196 2.979 4.588 2.587C4.98 2.195 5.45067 1.99934 6 2H13.175C13.4417 2 13.696 2.05 13.938 2.15C14.18 2.25 14.3923 2.39167 14.575 2.575L19.425 7.425C19.6083 7.60834 19.75 7.821 19.85 8.063C19.95 8.305 20 8.559 20 8.825V20C20 20.55 19.804 21.021 19.412 21.413C19.02 21.805 18.5493 22.0007 18 22H6ZM13 8V4H6V20H18V9H14C13.7167 9 13.479 8.904 13.287 8.712C13.095 8.52 12.9993 8.28267 13 8Z",fill:"black"},null,-1),Gd=[Kd];function Xd(a,t){return e.openBlock(),e.createElementBlock("svg",Yd,Gd)}const Qd=I(qd,[["render",Xd]]),Jd={},eu={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},tu=e.createElementVNode("path",{d:"M5 21C4.45 21 3.979 20.804 3.587 20.412C3.195 20.02 2.99934 19.5493 3 19V5C3 4.45 3.196 3.979 3.588 3.587C3.98 3.195 4.45067 2.99934 5 3H14.175C14.4417 3 14.696 3.05 14.938 3.15C15.18 3.25 15.3923 3.39167 15.575 3.575L20.425 8.425C20.6083 8.60834 20.75 8.821 20.85 9.063C20.95 9.305 21 9.559 21 9.825V19C21 19.55 20.804 20.021 20.412 20.413C20.02 20.805 19.5493 21.0007 19 21H5ZM8 17H16C16.2833 17 16.521 16.904 16.713 16.712C16.905 16.52 17.0007 16.2827 17 16C17 15.7167 16.904 15.479 16.712 15.287C16.52 15.095 16.2827 14.9993 16 15H8C7.71667 15 7.479 15.096 7.287 15.288C7.095 15.48 6.99934 15.7173 7 16C7 16.2833 7.096 16.521 7.288 16.713C7.48 16.905 7.71734 17.0007 8 17ZM8 13H16C16.2833 13 16.521 12.904 16.713 12.712C16.905 12.52 17.0007 12.2827 17 12C17 11.7167 16.904 11.479 16.712 11.287C16.52 11.095 16.2827 10.9993 16 11H8C7.71667 11 7.479 11.096 7.287 11.288C7.095 11.48 6.99934 11.7173 7 12C7 12.2833 7.096 12.521 7.288 12.713C7.48 12.905 7.71734 13.0007 8 13ZM8 9H13C13.2833 9 13.521 8.904 13.713 8.712C13.905 8.52 14.0007 8.28267 14 8C14 7.71667 13.904 7.479 13.712 7.287C13.52 7.095 13.2827 6.99934 13 7H8C7.71667 7 7.479 7.096 7.287 7.288C7.095 7.48 6.99934 7.71734 7 8C7 8.28334 7.096 8.521 7.288 8.713C7.48 8.905 7.71734 9.00067 8 9Z",fill:"black"},null,-1),au=[tu];function ou(a,t){return e.openBlock(),e.createElementBlock("svg",eu,au)}const nu=I(Jd,[["render",ou]]),su={},lu={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},ru=e.createElementVNode("path",{d:"M9 3V1H15V3H9ZM11 14H13V8H11V14ZM12 22C10.7667 22 9.604 21.7623 8.512 21.287C7.42 20.8117 6.466 20.166 5.65 19.35C4.83333 18.5333 4.18733 17.579 3.712 16.487C3.23667 15.395 2.99933 14.2327 3 13C3 11.7667 3.23767 10.604 3.713 9.512C4.18833 8.42 4.834 7.466 5.65 6.65C6.46667 5.83333 7.421 5.18733 8.513 4.712C9.605 4.23667 10.7673 3.99933 12 4C13.0333 4 14.025 4.16667 14.975 4.5C15.925 4.83333 16.8167 5.31667 17.65 5.95L19.05 4.55L20.45 5.95L19.05 7.35C19.6833 8.18333 20.1667 9.075 20.5 10.025C20.8333 10.975 21 11.9667 21 13C21 14.2333 20.7623 15.396 20.287 16.488C19.8117 17.58 19.166 18.534 18.35 19.35C17.5333 20.1667 16.579 20.8127 15.487 21.288C14.395 21.7633 13.2327 22.0007 12 22ZM12 20C13.9333 20 15.5833 19.3167 16.95 17.95C18.3167 16.5833 19 14.9333 19 13C19 11.0667 18.3167 9.41667 16.95 8.05C15.5833 6.68333 13.9333 6 12 6C10.0667 6 8.41667 6.68333 7.05 8.05C5.68333 9.41667 5 11.0667 5 13C5 14.9333 5.68333 16.5833 7.05 17.95C8.41667 19.3167 10.0667 20 12 20Z",fill:"black"},null,-1),iu=[ru];function cu(a,t){return e.openBlock(),e.createElementBlock("svg",lu,iu)}const du=I(su,[["render",cu]]),uu={},pu={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},mu=e.createElementVNode("path",{d:"M8 10H4C3.45 10 2.979 9.804 2.587 9.412C2.195 9.02 1.99934 8.54934 2 8V4C2 3.45 2.196 2.979 2.588 2.587C2.98 2.195 3.45067 1.99934 4 2H8C8.55 2 9.021 2.196 9.413 2.588C9.805 2.98 10.0007 3.45067 10 4V8C10 8.55 9.804 9.021 9.412 9.413C9.02 9.805 8.54934 10.0007 8 10ZM8 22H4C3.45 22 2.979 21.804 2.587 21.412C2.195 21.02 1.99934 20.5493 2 20V16C2 15.45 2.196 14.979 2.588 14.587C2.98 14.195 3.45067 13.9993 4 14H8C8.55 14 9.021 14.196 9.413 14.588C9.805 14.98 10.0007 15.4507 10 16V20C10 20.55 9.804 21.021 9.412 21.413C9.02 21.805 8.54934 22.0007 8 22ZM20 10H16C15.45 10 14.979 9.804 14.587 9.412C14.195 9.02 13.9993 8.54934 14 8V4C14 3.45 14.196 2.979 14.588 2.587C14.98 2.195 15.4507 1.99934 16 2H20C20.55 2 21.021 2.196 21.413 2.588C21.805 2.98 22.0007 3.45067 22 4V8C22 8.55 21.804 9.021 21.412 9.413C21.02 9.805 20.5493 10.0007 20 10ZM20 22H16C15.45 22 14.979 21.804 14.587 21.412C14.195 21.02 13.9993 20.5493 14 20V16C14 15.45 14.196 14.979 14.588 14.587C14.98 14.195 15.4507 13.9993 16 14H20C20.55 14 21.021 14.196 21.413 14.588C21.805 14.98 22.0007 15.4507 22 16V20C22 20.55 21.804 21.021 21.412 21.413C21.02 21.805 20.5493 22.0007 20 22Z",fill:"black"},null,-1),vu=[mu];function fu(a,t){return e.openBlock(),e.createElementBlock("svg",pu,vu)}const hu=I(uu,[["render",fu]]),Cu={},gu={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},_u=e.createElementVNode("path",{d:"M8.5 16.5H10.5C10.7833 16.5 11.021 16.404 11.213 16.212C11.405 16.02 11.5007 15.7827 11.5 15.5V13.5C11.5 13.2167 11.404 12.979 11.212 12.787C11.02 12.595 10.7827 12.4993 10.5 12.5H8.5C8.21667 12.5 7.979 12.596 7.787 12.788C7.595 12.98 7.49934 13.2173 7.5 13.5V15.5C7.5 15.7833 7.596 16.021 7.788 16.213C7.98 16.405 8.21734 16.5007 8.5 16.5ZM8.5 11.5H10.5C10.7833 11.5 11.021 11.404 11.213 11.212C11.405 11.02 11.5007 10.7827 11.5 10.5V8.5C11.5 8.21667 11.404 7.979 11.212 7.787C11.02 7.595 10.7827 7.49934 10.5 7.5H8.5C8.21667 7.5 7.979 7.596 7.787 7.788C7.595 7.98 7.49934 8.21734 7.5 8.5V10.5C7.5 10.7833 7.596 11.021 7.788 11.213C7.98 11.405 8.21734 11.5007 8.5 11.5ZM13.5 16.5H15.5C15.7833 16.5 16.021 16.404 16.213 16.212C16.405 16.02 16.5007 15.7827 16.5 15.5V13.5C16.5 13.2167 16.404 12.979 16.212 12.787C16.02 12.595 15.7827 12.4993 15.5 12.5H13.5C13.2167 12.5 12.979 12.596 12.787 12.788C12.595 12.98 12.4993 13.2173 12.5 13.5V15.5C12.5 15.7833 12.596 16.021 12.788 16.213C12.98 16.405 13.2173 16.5007 13.5 16.5ZM13.5 11.5H15.5C15.7833 11.5 16.021 11.404 16.213 11.212C16.405 11.02 16.5007 10.7827 16.5 10.5V8.5C16.5 8.21667 16.404 7.979 16.212 7.787C16.02 7.595 15.7827 7.49934 15.5 7.5H13.5C13.2167 7.5 12.979 7.596 12.787 7.788C12.595 7.98 12.4993 8.21734 12.5 8.5V10.5C12.5 10.7833 12.596 11.021 12.788 11.213C12.98 11.405 13.2173 11.5007 13.5 11.5ZM4 20C3.45 20 2.979 19.804 2.587 19.412C2.195 19.02 1.99934 18.5493 2 18V6C2 5.45 2.196 4.979 2.588 4.587C2.98 4.195 3.45067 3.99934 4 4H20C20.55 4 21.021 4.196 21.413 4.588C21.805 4.98 22.0007 5.45067 22 6V18C22 18.55 21.804 19.021 21.412 19.413C21.02 19.805 20.5493 20.0007 20 20H4Z",fill:"black"},null,-1),yu=[_u];function bu(a,t){return e.openBlock(),e.createElementBlock("svg",gu,yu)}const ku=I(Cu,[["render",bu]]),wu={},$u={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Eu=e.createElementVNode("path",{d:"M7 17H11C11.2833 17 11.521 16.904 11.713 16.712C11.905 16.52 12.0007 16.2827 12 16C12 15.7167 11.904 15.479 11.712 15.287C11.52 15.095 11.2827 14.9993 11 15H7C6.71667 15 6.479 15.096 6.287 15.288C6.095 15.48 5.99934 15.7173 6 16C6 16.2833 6.096 16.521 6.288 16.713C6.48 16.905 6.71734 17.0007 7 17ZM10 13H14C14.2833 13 14.521 12.904 14.713 12.712C14.905 12.52 15.0007 12.2827 15 12C15 11.7167 14.904 11.479 14.712 11.287C14.52 11.095 14.2827 10.9993 14 11H10C9.71667 11 9.479 11.096 9.287 11.288C9.095 11.48 8.99934 11.7173 9 12C9 12.2833 9.096 12.521 9.288 12.713C9.48 12.905 9.71734 13.0007 10 13ZM13 9H17C17.2833 9 17.521 8.904 17.713 8.712C17.905 8.52 18.0007 8.28267 18 8C18 7.71667 17.904 7.479 17.712 7.287C17.52 7.095 17.2827 6.99934 17 7H13C12.7167 7 12.479 7.096 12.287 7.288C12.095 7.48 11.9993 7.71734 12 8C12 8.28334 12.096 8.521 12.288 8.713C12.48 8.905 12.7173 9.00067 13 9ZM5 21C4.45 21 3.979 20.804 3.587 20.412C3.195 20.02 2.99934 19.5493 3 19V5C3 4.45 3.196 3.979 3.588 3.587C3.98 3.195 4.45067 2.99934 5 3H19C19.55 3 20.021 3.196 20.413 3.588C20.805 3.98 21.0007 4.45067 21 5V19C21 19.55 20.804 20.021 20.412 20.413C20.02 20.805 19.5493 21.0007 19 21H5Z",fill:"black"},null,-1),Bu=[Eu];function Vu(a,t){return e.openBlock(),e.createElementBlock("svg",$u,Bu)}const Nu=I(wu,[["render",Vu]]),Su={},Mu={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Au=e.createElementVNode("path",{d:"M2.72499 21C2.54166 21 2.37499 20.954 2.22499 20.862C2.07499 20.77 1.95833 20.6493 1.87499 20.5C1.79166 20.35 1.74566 20.1873 1.73699 20.012C1.72833 19.8367 1.77433 19.666 1.87499 19.5L11.125 3.5C11.225 3.33333 11.3543 3.20833 11.513 3.125C11.6717 3.04167 11.834 3 12 3C12.1667 3 12.3293 3.04167 12.488 3.125C12.6467 3.20833 12.7757 3.33333 12.875 3.5L22.125 19.5C22.225 19.6667 22.271 19.8377 22.263 20.013C22.255 20.1883 22.209 20.3507 22.125 20.5C22.0417 20.65 21.925 20.771 21.775 20.863C21.625 20.955 21.4583 21.0007 21.275 21H2.72499ZM4.44999 19H19.55L12 6L4.44999 19ZM12 18C12.2833 18 12.521 17.904 12.713 17.712C12.905 17.52 13.0007 17.2827 13 17C13 16.7167 12.904 16.479 12.712 16.287C12.52 16.095 12.2827 15.9993 12 16C11.7167 16 11.479 16.096 11.287 16.288C11.095 16.48 10.9993 16.7173 11 17C11 17.2833 11.096 17.521 11.288 17.713C11.48 17.905 11.7173 18.0007 12 18ZM12 15C12.2833 15 12.521 14.904 12.713 14.712C12.905 14.52 13.0007 14.2827 13 14V11C13 10.7167 12.904 10.479 12.712 10.287C12.52 10.095 12.2827 9.99933 12 10C11.7167 10 11.479 10.096 11.287 10.288C11.095 10.48 10.9993 10.7173 11 11V14C11 14.2833 11.096 14.521 11.288 14.713C11.48 14.905 11.7173 15.0007 12 15Z",fill:"black"},null,-1),Tu=[Au];function Ou(a,t){return e.openBlock(),e.createElementBlock("svg",Mu,Tu)}const Iu=I(Su,[["render",Ou]]),Lu={},Du={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Pu=e.createElementVNode("path",{d:"M2.72505 21C2.34172 21 2.05838 20.8333 1.87505 20.5C1.69172 20.1667 1.69172 19.8333 1.87505 19.5L11.125 3.5C11.3084 3.16667 11.6 3 12 3C12.4 3 12.6917 3.16667 12.875 3.5L22.125 19.5C22.3084 19.8333 22.3084 20.1667 22.125 20.5C21.9417 20.8333 21.6584 21 21.275 21H2.72505ZM12 10C11.7167 10 11.4794 10.0957 11.288 10.287C11.096 10.479 11 10.7167 11 11V14C11 14.2833 11.096 14.5207 11.288 14.712C11.4794 14.904 11.7167 15 12 15C12.2834 15 12.521 14.904 12.713 14.712C12.9044 14.5207 13 14.2833 13 14V11C13 10.7167 12.9044 10.479 12.713 10.287C12.521 10.0957 12.2834 10 12 10ZM12 18C12.2834 18 12.521 17.904 12.713 17.712C12.9044 17.5207 13 17.2833 13 17C13 16.7167 12.9044 16.4793 12.713 16.288C12.521 16.096 12.2834 16 12 16C11.7167 16 11.4794 16.096 11.288 16.288C11.096 16.4793 11 16.7167 11 17C11 17.2833 11.096 17.5207 11.288 17.712C11.4794 17.904 11.7167 18 12 18Z",fill:"black"},null,-1),Hu=[Pu];function Ru(a,t){return e.openBlock(),e.createElementBlock("svg",Du,Hu)}const ju=I(Lu,[["render",Ru]]),Fu={},Uu={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},zu=e.createElementVNode("path",{d:"M19.5 20C19.0833 20 18.729 19.854 18.437 19.562C18.145 19.27 17.9993 18.916 18 18.5V5.5C18 5.08334 18.146 4.729 18.438 4.437C18.73 4.145 19.084 3.99934 19.5 4C19.9167 4 20.271 4.146 20.563 4.438C20.855 4.73 21.0007 5.084 21 5.5V18.5C21 18.9167 20.854 19.271 20.562 19.563C20.27 19.855 19.916 20.0007 19.5 20ZM4.5 20C4.08334 20 3.729 19.854 3.437 19.562C3.145 19.27 2.99934 18.916 3 18.5V14.5C3 14.0833 3.146 13.729 3.438 13.437C3.73 13.145 4.084 12.9993 4.5 13C4.91667 13 5.271 13.146 5.563 13.438C5.855 13.73 6.00067 14.084 6 14.5V18.5C6 18.9167 5.854 19.271 5.562 19.563C5.27 19.855 4.916 20.0007 4.5 20ZM15.5 7C15.0833 7 14.729 6.854 14.437 6.562C14.145 6.27 13.9993 5.916 14 5.5C14 5.08334 14.146 4.729 14.438 4.437C14.73 4.145 15.084 3.99934 15.5 4C15.9167 4 16.271 4.146 16.563 4.438C16.855 4.73 17.0007 5.084 17 5.5C17 5.91667 16.854 6.271 16.562 6.563C16.27 6.855 15.916 7.00067 15.5 7ZM11.5 9C11.0833 9 10.729 8.854 10.437 8.562C10.145 8.27 9.99934 7.916 10 7.5V6.5C10 6.08334 10.146 5.729 10.438 5.437C10.73 5.145 11.084 4.99934 11.5 5C11.9167 5 12.271 5.146 12.563 5.438C12.855 5.73 13.0007 6.084 13 6.5V7.5C13 7.91667 12.854 8.271 12.562 8.563C12.27 8.855 11.916 9.00067 11.5 9ZM8.5 14C8.08334 14 7.729 13.854 7.437 13.562C7.145 13.27 6.99934 12.916 7 12.5V11.5C7 11.0833 7.146 10.729 7.438 10.437C7.73 10.145 8.084 9.99934 8.5 10C8.91667 10 9.271 10.146 9.563 10.438C9.855 10.73 10.0007 11.084 10 11.5V12.5C10 12.9167 9.854 13.271 9.562 13.563C9.27 13.855 8.916 14.0007 8.5 14Z",fill:"black"},null,-1),Zu=[zu];function xu(a,t){return e.openBlock(),e.createElementBlock("svg",Uu,Zu)}const Wu=I(Fu,[["render",xu]]),qu=Object.freeze(Object.defineProperty({__proto__:null,AccountBoxSharp:vs,AccountCircle:ys,AccountTreeOutlineRounded:Bs,AccountTreeRounded:Ts,Add:Hs,AddBoxOutlineRounded:Zs,ArchiveOutlineRounded:Gs,ArrowBackRounded:al,ArrowDropDownRounded:il,ArrowForwardRounded:vl,AssignmentOutlineRounded:yl,AttachFileRounded:Bl,CalendarTodayOutlineRounded:Tl,CancelRounded:Hl,ChatOutline:Zl,CheckBoxOutlineBlank:Gl,CheckBoxOutlineBlankSharp:ar,CheckBoxOutlineRounded:ir,CheckSmallRounded:vr,ChecklistRounded:yr,ChevronLeft:Br,ChevronRight:Tr,CloseRounded:Hr,ContactsOutlineRounded:Zr,ContentCopyOutline:Gr,DeleteOutlineRounded:ai,DragIndicator:ii,EditDocumentRounded:vi,EditOutline:yi,ErrorOutlineRounded:Bi,FilterListRounded:Ti,FlagRounded:Hi,FlowsheetOutlineRounded:Zi,GifBox:Gi,GroupsOutline:a1,HomeOutlineRounded:i1,ImageRounded:v1,Info:y1,KeyboardArrowDown:B1,KeyboardArrowUp:T1,Loading:j1,Lock:W1,LogoutRounded:Q1,Menu:nc,MoreHoriz:dc,MoreTimeRounded:hc,MoreVert:kc,MountainFlagOutlineRounded:Nc,PersonAddOutlineRounded:Ic,PictureAsPdfRounded:jc,RadioButtonChecked:Wc,RadioButtonCheckedOutline:Qc,RadioButtonUnchecked:nd,RemoveRounded:dd,SearchRounded:hd,SelectCheckBox:kd,SendRounded:Nd,Settings:Id,SlideshowRounded:jd,Target:Wd,TaskOutlineRounded:Qd,TextSnippetRounded:nu,TimerOutline:du,ViewComfyAltRounded:hu,ViewCompactAltRounded:ku,ViewTimelineRounded:Nu,WarningOutlineRounded:Iu,WarningRounded:ju,WaterfallChartRounded:Wu},Symbol.toStringTag,{value:"Module"})),Yu={SOLID:"solid",GHOST:"ghost",OUTLINE:"outline"},va={SM:"sm",MD:"md",LG:"lg",XL:"xl"},Ga={PRIMARY:"primary",PRIMARY_LIGHTER:"primary-lighter",NEUTRAL:"neutral",BLACK:"black"},Ku={WARNING:"warning",SUCCESS:"success",DANGER:"danger"};({...Ga,...Ku});const Jo={ROUND:"round",ROUNDED:"rounded"},Gu={SOLID:"solid",OUTLINE:"outline",SOLID_ICON:"solid_icon"},Q=e.defineComponent({__name:"AoIcon",props:{name:{},size:{default:va.MD}},setup(a){const t=a,o=e.computed(()=>qu[t.name]);return(n,s)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(o.value),{class:e.normalizeClass(["ao-icon",`ao-icon--${n.size}`])},null,8,["class"]))}});const Xu=["type"],Qu={key:0,class:"ao-button__label"},K=e.defineComponent({__name:"AoButton",props:{label:{default:()=>""},variant:{default:()=>Yu.SOLID},iconName:{},iconPosition:{},type:{default:()=>"button"},color:{},footer:{type:Boolean,default:()=>!1},size:{default:()=>va.MD},isLoading:{type:Boolean,default:()=>!1},corners:{default:()=>Jo.ROUNDED}},setup(a){const t=a,o=e.computed(()=>t.size),n=e.computed(()=>t.isLoading?"Loading":t.iconName);return(s,r)=>(e.openBlock(),e.createElementBlock("button",{type:s.type,class:e.normalizeClass(["ao-button",`ao-button--${s.variant}`,s.color?`ao-button--${s.color}`:"",`ao-button--${s.corners}`,s.footer?"ao-button--footer":"",s.size?`ao-button--${s.size}`:"",s.iconName&&s.iconPosition?`ao-button--icon-${s.iconPosition}`:"",s.$attrs.disabled?"ao-button--is-disabled":""])},[e.renderSlot(s.$slots,"default",{},()=>[s.label?(e.openBlock(),e.createElementBlock("span",Qu,e.toDisplayString(s.label),1)):e.createCommentVNode("",!0)]),n.value?(e.openBlock(),e.createBlock(Q,{key:0,name:n.value,class:"ao-button__icon",size:o.value},null,8,["name","size"])):e.createCommentVNode("",!0)],10,Xu))}});function en(a){const t=e.ref(!1),o=e.ref(""),n=e.computed(()=>"value"in a.value?"value":"innerHTML"),s=()=>{t.value=!t.value},r=c=>{t.value=c},l=c=>async()=>{r(!1),await e.nextTick(()=>{a.value[n.value]=o.value,c==null||c()})},i=c=>async p=>{const d=a.value[n.value];r(!1),await e.nextTick(()=>{c(d,p)})};return e.watch(t,async c=>{await e.nextTick(()=>{setTimeout(()=>{a.value&&c&&(a.value.focus(),o.value=a.value[n.value])},1)})}),{isEditing:t,setIsEditing:r,toggleIsEditing:s,onUpdate:i,onDiscard:l}}const ne=e.defineComponent({__name:"AoTitle",props:{id:{},title:{},level:{default:1},tag:{},color:{},isEditable:{type:Boolean,default:!1}},emits:["update:title","toggle-is-editing"],setup(a,{emit:t}){const o=a,n=e.ref(null),{isEditing:s,setIsEditing:r,onUpdate:l,onDiscard:i}=en(n),c=e.computed(()=>s.value?"input":o.tag||`h${o.level}`),p=e.computed(()=>o.isEditable?s.value?{change:d,click:C=>C.stopPropagation(),blur:m}:{click:_,focus:_}:{}),d=l((C,h)=>{const y=h.target.value;t("update:title",y)}),u=i(),m=async()=>{s.value&&r(!1)},v=()=>{t("toggle-is-editing",!1)},_=C=>{C.stopPropagation(),s.value||r(!0)};return e.watch(()=>o.isEditable,C=>{C||u()}),(C,h)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(c.value),e.mergeProps({id:C.id,ref_key:"target",ref:n,class:["ao-title",`ao-title--${C.level}`,{[`ao-title--${C.color}`]:!!C.color,"ao-title--editable":C.isEditable,"ao-field__input ao-title--editing":e.unref(s),"ao-title--readonly":!e.unref(s)}],type:e.unref(s)?"text":null,value:e.unref(s)?C.title:null,tabindex:"0",onKeyup:e.withKeys(v,["enter"])},e.toHandlers(p.value),{onKeydown:e.withKeys(e.unref(u),["esc"])}),{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(C.title),1)]),_:1},16,["id","class","type","value","onKeyup","onKeydown"]))}});const Ju={key:0,class:"ao-card-horiz__drag ao-card__drag"},e2={class:"ao-card-horiz__header"},t2={key:0,class:"ao-card-horiz__avatar"},a2={class:"ao-card-horiz__title-group"},o2={key:0,class:"ao-card-horiz__subtitle"},n2={key:1,class:"ao-card-horiz__header"},s2={key:1,class:"ao-card-horiz__body"},l2={key:2,class:"ao-card-horiz__footer"},r2={key:3,class:"ao-card-horiz__secondary"},tn=e.defineComponent({__name:"AoCardHoriz",props:{id:{},title:{},subtitle:{},icon:{},isActive:{type:Boolean},isEditing:{type:Boolean},tagName:{default:"div"},isDraggable:{type:Boolean}},emits:["update:title"],setup(a,{emit:t}){const o=n=>{t("update:title",n)};return(n,s)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(n.tagName),{class:e.normalizeClass(["ao-card-horiz",{"ao-card-horiz--active":n.isActive}])},{default:e.withCtx(()=>[n.isDraggable?(e.openBlock(),e.createElementBlock("div",Ju,[e.createVNode(Q,{name:"DragIndicator",class:"ao-card-horiz__drag-handle"})])):e.createCommentVNode("",!0),e.createElementVNode("div",e2,[n.icon?(e.openBlock(),e.createElementBlock("div",t2,[e.createVNode(Q,{class:"ao-card-horiz__icon",name:n.icon,size:"xl"},null,8,["name"])])):e.createCommentVNode("",!0),e.createElementVNode("div",a2,[e.createVNode(ne,{id:n.id,class:"ao-card-horiz__title",level:4,title:n.title||"","is-editable":!0,"onUpdate:title":o},null,8,["id","title"]),e.renderSlot(n.$slots,"subtitle",{},()=>[n.subtitle?(e.openBlock(),e.createElementBlock("span",o2,e.toDisplayString(n.subtitle),1)):e.createCommentVNode("",!0)])]),n.$slots.header?(e.openBlock(),e.createElementBlock("div",n2,[e.renderSlot(n.$slots,"header")])):e.createCommentVNode("",!0)]),n.$slots.default?(e.openBlock(),e.createElementBlock("div",s2,[e.renderSlot(n.$slots,"default")])):e.createCommentVNode("",!0),n.$slots.footer?(e.openBlock(),e.createElementBlock("div",l2,[e.renderSlot(n.$slots,"footer")])):e.createCommentVNode("",!0),n.$slots.secondary?(e.openBlock(),e.createElementBlock("div",r2,[e.renderSlot(n.$slots,"secondary")])):e.createCommentVNode("",!0)]),_:3},8,["class"]))}});const Tt=e.defineComponent({__name:"AoTag",props:{label:{},color:{},rawColor:{},clickable:{type:Boolean},closable:{type:Boolean},variant:{},iconName:{}},emits:["click","close"],setup(a){const t=a,o=e.computed(()=>t.clickable?"button":"span"),n=e.computed(()=>o.value==="button"?{type:"button"}:{});return(s,r)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["ao-tag",s.color?`ao-tag--${s.color}`:"",s.clickable?"ao-tag--clickable":"",s.closable?"ao-tag--closable":"",s.variant?`ao-tag--${s.variant}`:""]),style:e.normalizeStyle(s.rawColor?{"--ao-tag-bg":s.rawColor}:{})},[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(o.value),e.mergeProps({class:"ao-tag__label"},n.value,{onClick:r[0]||(r[0]=l=>s.$emit("click",l))}),{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(s.label)+" ",1),s.variant===e.unref(Gu).SOLID_ICON&&s.iconName?(e.openBlock(),e.createBlock(Q,{key:0,name:s.iconName,class:"ao-tag__icon",size:"sm"},null,8,["name"])):e.createCommentVNode("",!0)]),_:1},16)),s.closable?(e.openBlock(),e.createElementBlock("button",{key:0,class:"ao-tag__close",onClick:r[1]||(r[1]=l=>s.$emit("close",l))},[e.createVNode(Q,{name:"CloseRounded",size:"sm",class:"ao-tag__close-icon"})])):e.createCommentVNode("",!0)],6))}});const Ot={todo:"todo",done:"done",archived:"archived"},i2={months:"months",weeks:"weeks",days:"days"},c2={future:"future",this_month:"this_month",this_week:"this_week",today:"today",done:"done"},an={BEFORE:"before",AFTER:"after"},on={START:"start",end:"end"},nn={DAYS:"days",WEEKS:"weeks",MONTHS:"months"},J={TEMPLATES:"templates",PHASES:"phases",MILESTONES:"milestones",ACTIVITIES:"activities",TASKS:"tasks"};var sn=(a=>(a.PHASES="phases",a.MILESTONES="milestones",a.ACTIVITIES="activities",a))(sn||{});const d2={add:"add",remove:"remove",moved:"moved"},Je={project:"projectId",type:"typeId",assignee:"assigneeId"};function la(a){"@babel/helpers - typeof";return la=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},la(a)}function Ae(a){if(a===null||a===!0||a===!1)return NaN;var t=Number(a);return isNaN(t)?t:t<0?Math.ceil(t):Math.floor(t)}function ae(a,t){if(t.length<a)throw new TypeError(a+" argument"+(a>1?"s":"")+" required, but only "+t.length+" present")}function le(a){ae(1,arguments);var t=Object.prototype.toString.call(a);return a instanceof Date||la(a)==="object"&&t==="[object Date]"?new Date(a.getTime()):typeof a=="number"||t==="[object Number]"?new Date(a):((typeof a=="string"||t==="[object String]")&&typeof console<"u"&&(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"),console.warn(new Error().stack)),new Date(NaN))}function u2(a,t){ae(2,arguments);var o=le(a).getTime(),n=Ae(t);return new Date(o+n)}var p2={};function jt(){return p2}function It(a){var t=new Date(Date.UTC(a.getFullYear(),a.getMonth(),a.getDate(),a.getHours(),a.getMinutes(),a.getSeconds(),a.getMilliseconds()));return t.setUTCFullYear(a.getFullYear()),a.getTime()-t.getTime()}function To(a){ae(1,arguments);var t=le(a);return t.setHours(0,0,0,0),t}var m2=864e5;function v2(a,t){ae(2,arguments);var o=To(a),n=To(t),s=o.getTime()-It(o),r=n.getTime()-It(n);return Math.round((s-r)/m2)}function f2(a,t){ae(2,arguments);var o=le(a),n=le(t),s=o.getTime()-n.getTime();return s<0?-1:s>0?1:s}var ln=6e4,rn=36e5;function h2(a){return ae(1,arguments),a instanceof Date||la(a)==="object"&&Object.prototype.toString.call(a)==="[object Date]"}function cn(a){if(ae(1,arguments),!h2(a)&&typeof a!="number")return!1;var t=le(a);return!isNaN(Number(t))}function za(a,t){ae(2,arguments);var o=Ae(t);return u2(a,-o)}var C2=864e5;function g2(a){ae(1,arguments);var t=le(a),o=t.getTime();t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0);var n=t.getTime(),s=o-n;return Math.floor(s/C2)+1}function ra(a){ae(1,arguments);var t=1,o=le(a),n=o.getUTCDay(),s=(n<t?7:0)+n-t;return o.setUTCDate(o.getUTCDate()-s),o.setUTCHours(0,0,0,0),o}function dn(a){ae(1,arguments);var t=le(a),o=t.getUTCFullYear(),n=new Date(0);n.setUTCFullYear(o+1,0,4),n.setUTCHours(0,0,0,0);var s=ra(n),r=new Date(0);r.setUTCFullYear(o,0,4),r.setUTCHours(0,0,0,0);var l=ra(r);return t.getTime()>=s.getTime()?o+1:t.getTime()>=l.getTime()?o:o-1}function _2(a){ae(1,arguments);var t=dn(a),o=new Date(0);o.setUTCFullYear(t,0,4),o.setUTCHours(0,0,0,0);var n=ra(o);return n}var y2=6048e5;function b2(a){ae(1,arguments);var t=le(a),o=ra(t).getTime()-_2(t).getTime();return Math.round(o/y2)+1}function ia(a,t){var o,n,s,r,l,i,c,p;ae(1,arguments);var d=jt(),u=Ae((o=(n=(s=(r=t==null?void 0:t.weekStartsOn)!==null&&r!==void 0?r:t==null||(l=t.locale)===null||l===void 0||(i=l.options)===null||i===void 0?void 0:i.weekStartsOn)!==null&&s!==void 0?s:d.weekStartsOn)!==null&&n!==void 0?n:(c=d.locale)===null||c===void 0||(p=c.options)===null||p===void 0?void 0:p.weekStartsOn)!==null&&o!==void 0?o:0);if(!(u>=0&&u<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var m=le(a),v=m.getUTCDay(),_=(v<u?7:0)+v-u;return m.setUTCDate(m.getUTCDate()-_),m.setUTCHours(0,0,0,0),m}function un(a,t){var o,n,s,r,l,i,c,p;ae(1,arguments);var d=le(a),u=d.getUTCFullYear(),m=jt(),v=Ae((o=(n=(s=(r=t==null?void 0:t.firstWeekContainsDate)!==null&&r!==void 0?r:t==null||(l=t.locale)===null||l===void 0||(i=l.options)===null||i===void 0?void 0:i.firstWeekContainsDate)!==null&&s!==void 0?s:m.firstWeekContainsDate)!==null&&n!==void 0?n:(c=m.locale)===null||c===void 0||(p=c.options)===null||p===void 0?void 0:p.firstWeekContainsDate)!==null&&o!==void 0?o:1);if(!(v>=1&&v<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var _=new Date(0);_.setUTCFullYear(u+1,0,v),_.setUTCHours(0,0,0,0);var C=ia(_,t),h=new Date(0);h.setUTCFullYear(u,0,v),h.setUTCHours(0,0,0,0);var b=ia(h,t);return d.getTime()>=C.getTime()?u+1:d.getTime()>=b.getTime()?u:u-1}function k2(a,t){var o,n,s,r,l,i,c,p;ae(1,arguments);var d=jt(),u=Ae((o=(n=(s=(r=t==null?void 0:t.firstWeekContainsDate)!==null&&r!==void 0?r:t==null||(l=t.locale)===null||l===void 0||(i=l.options)===null||i===void 0?void 0:i.firstWeekContainsDate)!==null&&s!==void 0?s:d.firstWeekContainsDate)!==null&&n!==void 0?n:(c=d.locale)===null||c===void 0||(p=c.options)===null||p===void 0?void 0:p.firstWeekContainsDate)!==null&&o!==void 0?o:1),m=un(a,t),v=new Date(0);v.setUTCFullYear(m,0,u),v.setUTCHours(0,0,0,0);var _=ia(v,t);return _}var w2=6048e5;function $2(a,t){ae(1,arguments);var o=le(a),n=ia(o,t).getTime()-k2(o,t).getTime();return Math.round(n/w2)+1}function X(a,t){for(var o=a<0?"-":"",n=Math.abs(a).toString();n.length<t;)n="0"+n;return o+n}var E2={y:function(t,o){var n=t.getUTCFullYear(),s=n>0?n:1-n;return X(o==="yy"?s%100:s,o.length)},M:function(t,o){var n=t.getUTCMonth();return o==="M"?String(n+1):X(n+1,2)},d:function(t,o){return X(t.getUTCDate(),o.length)},a:function(t,o){var n=t.getUTCHours()/12>=1?"pm":"am";switch(o){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];case"aaaa":default:return n==="am"?"a.m.":"p.m."}},h:function(t,o){return X(t.getUTCHours()%12||12,o.length)},H:function(t,o){return X(t.getUTCHours(),o.length)},m:function(t,o){return X(t.getUTCMinutes(),o.length)},s:function(t,o){return X(t.getUTCSeconds(),o.length)},S:function(t,o){var n=o.length,s=t.getUTCMilliseconds(),r=Math.floor(s*Math.pow(10,n-3));return X(r,o.length)}};const Re=E2;var ct={am:"am",pm:"pm",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},B2={G:function(t,o,n){var s=t.getUTCFullYear()>0?1:0;switch(o){case"G":case"GG":case"GGG":return n.era(s,{width:"abbreviated"});case"GGGGG":return n.era(s,{width:"narrow"});case"GGGG":default:return n.era(s,{width:"wide"})}},y:function(t,o,n){if(o==="yo"){var s=t.getUTCFullYear(),r=s>0?s:1-s;return n.ordinalNumber(r,{unit:"year"})}return Re.y(t,o)},Y:function(t,o,n,s){var r=un(t,s),l=r>0?r:1-r;if(o==="YY"){var i=l%100;return X(i,2)}return o==="Yo"?n.ordinalNumber(l,{unit:"year"}):X(l,o.length)},R:function(t,o){var n=dn(t);return X(n,o.length)},u:function(t,o){var n=t.getUTCFullYear();return X(n,o.length)},Q:function(t,o,n){var s=Math.ceil((t.getUTCMonth()+1)/3);switch(o){case"Q":return String(s);case"QQ":return X(s,2);case"Qo":return n.ordinalNumber(s,{unit:"quarter"});case"QQQ":return n.quarter(s,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(s,{width:"narrow",context:"formatting"});case"QQQQ":default:return n.quarter(s,{width:"wide",context:"formatting"})}},q:function(t,o,n){var s=Math.ceil((t.getUTCMonth()+1)/3);switch(o){case"q":return String(s);case"qq":return X(s,2);case"qo":return n.ordinalNumber(s,{unit:"quarter"});case"qqq":return n.quarter(s,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(s,{width:"narrow",context:"standalone"});case"qqqq":default:return n.quarter(s,{width:"wide",context:"standalone"})}},M:function(t,o,n){var s=t.getUTCMonth();switch(o){case"M":case"MM":return Re.M(t,o);case"Mo":return n.ordinalNumber(s+1,{unit:"month"});case"MMM":return n.month(s,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(s,{width:"narrow",context:"formatting"});case"MMMM":default:return n.month(s,{width:"wide",context:"formatting"})}},L:function(t,o,n){var s=t.getUTCMonth();switch(o){case"L":return String(s+1);case"LL":return X(s+1,2);case"Lo":return n.ordinalNumber(s+1,{unit:"month"});case"LLL":return n.month(s,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(s,{width:"narrow",context:"standalone"});case"LLLL":default:return n.month(s,{width:"wide",context:"standalone"})}},w:function(t,o,n,s){var r=$2(t,s);return o==="wo"?n.ordinalNumber(r,{unit:"week"}):X(r,o.length)},I:function(t,o,n){var s=b2(t);return o==="Io"?n.ordinalNumber(s,{unit:"week"}):X(s,o.length)},d:function(t,o,n){return o==="do"?n.ordinalNumber(t.getUTCDate(),{unit:"date"}):Re.d(t,o)},D:function(t,o,n){var s=g2(t);return o==="Do"?n.ordinalNumber(s,{unit:"dayOfYear"}):X(s,o.length)},E:function(t,o,n){var s=t.getUTCDay();switch(o){case"E":case"EE":case"EEE":return n.day(s,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(s,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(s,{width:"short",context:"formatting"});case"EEEE":default:return n.day(s,{width:"wide",context:"formatting"})}},e:function(t,o,n,s){var r=t.getUTCDay(),l=(r-s.weekStartsOn+8)%7||7;switch(o){case"e":return String(l);case"ee":return X(l,2);case"eo":return n.ordinalNumber(l,{unit:"day"});case"eee":return n.day(r,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(r,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(r,{width:"short",context:"formatting"});case"eeee":default:return n.day(r,{width:"wide",context:"formatting"})}},c:function(t,o,n,s){var r=t.getUTCDay(),l=(r-s.weekStartsOn+8)%7||7;switch(o){case"c":return String(l);case"cc":return X(l,o.length);case"co":return n.ordinalNumber(l,{unit:"day"});case"ccc":return n.day(r,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(r,{width:"narrow",context:"standalone"});case"cccccc":return n.day(r,{width:"short",context:"standalone"});case"cccc":default:return n.day(r,{width:"wide",context:"standalone"})}},i:function(t,o,n){var s=t.getUTCDay(),r=s===0?7:s;switch(o){case"i":return String(r);case"ii":return X(r,o.length);case"io":return n.ordinalNumber(r,{unit:"day"});case"iii":return n.day(s,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(s,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(s,{width:"short",context:"formatting"});case"iiii":default:return n.day(s,{width:"wide",context:"formatting"})}},a:function(t,o,n){var s=t.getUTCHours(),r=s/12>=1?"pm":"am";switch(o){case"a":case"aa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(r,{width:"narrow",context:"formatting"});case"aaaa":default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},b:function(t,o,n){var s=t.getUTCHours(),r;switch(s===12?r=ct.noon:s===0?r=ct.midnight:r=s/12>=1?"pm":"am",o){case"b":case"bb":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(r,{width:"narrow",context:"formatting"});case"bbbb":default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},B:function(t,o,n){var s=t.getUTCHours(),r;switch(s>=17?r=ct.evening:s>=12?r=ct.afternoon:s>=4?r=ct.morning:r=ct.night,o){case"B":case"BB":case"BBB":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(r,{width:"narrow",context:"formatting"});case"BBBB":default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},h:function(t,o,n){if(o==="ho"){var s=t.getUTCHours()%12;return s===0&&(s=12),n.ordinalNumber(s,{unit:"hour"})}return Re.h(t,o)},H:function(t,o,n){return o==="Ho"?n.ordinalNumber(t.getUTCHours(),{unit:"hour"}):Re.H(t,o)},K:function(t,o,n){var s=t.getUTCHours()%12;return o==="Ko"?n.ordinalNumber(s,{unit:"hour"}):X(s,o.length)},k:function(t,o,n){var s=t.getUTCHours();return s===0&&(s=24),o==="ko"?n.ordinalNumber(s,{unit:"hour"}):X(s,o.length)},m:function(t,o,n){return o==="mo"?n.ordinalNumber(t.getUTCMinutes(),{unit:"minute"}):Re.m(t,o)},s:function(t,o,n){return o==="so"?n.ordinalNumber(t.getUTCSeconds(),{unit:"second"}):Re.s(t,o)},S:function(t,o){return Re.S(t,o)},X:function(t,o,n,s){var r=s._originalDate||t,l=r.getTimezoneOffset();if(l===0)return"Z";switch(o){case"X":return Io(l);case"XXXX":case"XX":return et(l);case"XXXXX":case"XXX":default:return et(l,":")}},x:function(t,o,n,s){var r=s._originalDate||t,l=r.getTimezoneOffset();switch(o){case"x":return Io(l);case"xxxx":case"xx":return et(l);case"xxxxx":case"xxx":default:return et(l,":")}},O:function(t,o,n,s){var r=s._originalDate||t,l=r.getTimezoneOffset();switch(o){case"O":case"OO":case"OOO":return"GMT"+Oo(l,":");case"OOOO":default:return"GMT"+et(l,":")}},z:function(t,o,n,s){var r=s._originalDate||t,l=r.getTimezoneOffset();switch(o){case"z":case"zz":case"zzz":return"GMT"+Oo(l,":");case"zzzz":default:return"GMT"+et(l,":")}},t:function(t,o,n,s){var r=s._originalDate||t,l=Math.floor(r.getTime()/1e3);return X(l,o.length)},T:function(t,o,n,s){var r=s._originalDate||t,l=r.getTime();return X(l,o.length)}};function Oo(a,t){var o=a>0?"-":"+",n=Math.abs(a),s=Math.floor(n/60),r=n%60;if(r===0)return o+String(s);var l=t||"";return o+String(s)+l+X(r,2)}function Io(a,t){if(a%60===0){var o=a>0?"-":"+";return o+X(Math.abs(a)/60,2)}return et(a,t)}function et(a,t){var o=t||"",n=a>0?"-":"+",s=Math.abs(a),r=X(Math.floor(s/60),2),l=X(s%60,2);return n+r+o+l}const V2=B2;var Lo=function(t,o){switch(t){case"P":return o.date({width:"short"});case"PP":return o.date({width:"medium"});case"PPP":return o.date({width:"long"});case"PPPP":default:return o.date({width:"full"})}},pn=function(t,o){switch(t){case"p":return o.time({width:"short"});case"pp":return o.time({width:"medium"});case"ppp":return o.time({width:"long"});case"pppp":default:return o.time({width:"full"})}},N2=function(t,o){var n=t.match(/(P+)(p+)?/)||[],s=n[1],r=n[2];if(!r)return Lo(t,o);var l;switch(s){case"P":l=o.dateTime({width:"short"});break;case"PP":l=o.dateTime({width:"medium"});break;case"PPP":l=o.dateTime({width:"long"});break;case"PPPP":default:l=o.dateTime({width:"full"});break}return l.replace("{{date}}",Lo(s,o)).replace("{{time}}",pn(r,o))},S2={p:pn,P:N2};const M2=S2;var A2=["D","DD"],T2=["YY","YYYY"];function O2(a){return A2.indexOf(a)!==-1}function I2(a){return T2.indexOf(a)!==-1}function Do(a,t,o){if(a==="YYYY")throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(t,"`) for formatting years to the input `").concat(o,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(a==="YY")throw new RangeError("Use `yy` instead of `YY` (in `".concat(t,"`) for formatting years to the input `").concat(o,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(a==="D")throw new RangeError("Use `d` instead of `D` (in `".concat(t,"`) for formatting days of the month to the input `").concat(o,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(a==="DD")throw new RangeError("Use `dd` instead of `DD` (in `".concat(t,"`) for formatting days of the month to the input `").concat(o,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"))}var L2={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},D2=function(t,o,n){var s,r=L2[t];return typeof r=="string"?s=r:o===1?s=r.one:s=r.other.replace("{{count}}",o.toString()),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?"in "+s:s+" ago":s};const P2=D2;function Ha(a){return function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},o=t.width?String(t.width):a.defaultWidth,n=a.formats[o]||a.formats[a.defaultWidth];return n}}var H2={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},R2={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},j2={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},F2={date:Ha({formats:H2,defaultWidth:"full"}),time:Ha({formats:R2,defaultWidth:"full"}),dateTime:Ha({formats:j2,defaultWidth:"full"})};const U2=F2;var z2={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},Z2=function(t,o,n,s){return z2[t]};const x2=Z2;function $t(a){return function(t,o){var n=o!=null&&o.context?String(o.context):"standalone",s;if(n==="formatting"&&a.formattingValues){var r=a.defaultFormattingWidth||a.defaultWidth,l=o!=null&&o.width?String(o.width):r;s=a.formattingValues[l]||a.formattingValues[r]}else{var i=a.defaultWidth,c=o!=null&&o.width?String(o.width):a.defaultWidth;s=a.values[c]||a.values[i]}var p=a.argumentCallback?a.argumentCallback(t):t;return s[p]}}var W2={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},q2={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},Y2={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},K2={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},G2={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},X2={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},Q2=function(t,o){var n=Number(t),s=n%100;if(s>20||s<10)switch(s%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},J2={ordinalNumber:Q2,era:$t({values:W2,defaultWidth:"wide"}),quarter:$t({values:q2,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:$t({values:Y2,defaultWidth:"wide"}),day:$t({values:K2,defaultWidth:"wide"}),dayPeriod:$t({values:G2,defaultWidth:"wide",formattingValues:X2,defaultFormattingWidth:"wide"})};const e0=J2;function Et(a){return function(t){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=o.width,s=n&&a.matchPatterns[n]||a.matchPatterns[a.defaultMatchWidth],r=t.match(s);if(!r)return null;var l=r[0],i=n&&a.parsePatterns[n]||a.parsePatterns[a.defaultParseWidth],c=Array.isArray(i)?a0(i,function(u){return u.test(l)}):t0(i,function(u){return u.test(l)}),p;p=a.valueCallback?a.valueCallback(c):c,p=o.valueCallback?o.valueCallback(p):p;var d=t.slice(l.length);return{value:p,rest:d}}}function t0(a,t){for(var o in a)if(a.hasOwnProperty(o)&&t(a[o]))return o}function a0(a,t){for(var o=0;o<a.length;o++)if(t(a[o]))return o}function o0(a){return function(t){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=t.match(a.matchPattern);if(!n)return null;var s=n[0],r=t.match(a.parsePattern);if(!r)return null;var l=a.valueCallback?a.valueCallback(r[0]):r[0];l=o.valueCallback?o.valueCallback(l):l;var i=t.slice(s.length);return{value:l,rest:i}}}var n0=/^(\d+)(th|st|nd|rd)?/i,s0=/\d+/i,l0={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},r0={any:[/^b/i,/^(a|c)/i]},i0={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},c0={any:[/1/i,/2/i,/3/i,/4/i]},d0={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},u0={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},p0={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},m0={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},v0={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},f0={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},h0={ordinalNumber:o0({matchPattern:n0,parsePattern:s0,valueCallback:function(t){return parseInt(t,10)}}),era:Et({matchPatterns:l0,defaultMatchWidth:"wide",parsePatterns:r0,defaultParseWidth:"any"}),quarter:Et({matchPatterns:i0,defaultMatchWidth:"wide",parsePatterns:c0,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:Et({matchPatterns:d0,defaultMatchWidth:"wide",parsePatterns:u0,defaultParseWidth:"any"}),day:Et({matchPatterns:p0,defaultMatchWidth:"wide",parsePatterns:m0,defaultParseWidth:"any"}),dayPeriod:Et({matchPatterns:v0,defaultMatchWidth:"any",parsePatterns:f0,defaultParseWidth:"any"})};const C0=h0;var g0={code:"en-US",formatDistance:P2,formatLong:U2,formatRelative:x2,localize:e0,match:C0,options:{weekStartsOn:0,firstWeekContainsDate:1}};const mn=g0;var _0=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,y0=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,b0=/^'([^]*?)'?$/,k0=/''/g,w0=/[a-zA-Z]/;function vn(a,t,o){var n,s,r,l,i,c,p,d,u,m,v,_,C,h,b,y,f,B;ae(2,arguments);var M=String(t),E=jt(),L=(n=(s=o==null?void 0:o.locale)!==null&&s!==void 0?s:E.locale)!==null&&n!==void 0?n:mn,P=Ae((r=(l=(i=(c=o==null?void 0:o.firstWeekContainsDate)!==null&&c!==void 0?c:o==null||(p=o.locale)===null||p===void 0||(d=p.options)===null||d===void 0?void 0:d.firstWeekContainsDate)!==null&&i!==void 0?i:E.firstWeekContainsDate)!==null&&l!==void 0?l:(u=E.locale)===null||u===void 0||(m=u.options)===null||m===void 0?void 0:m.firstWeekContainsDate)!==null&&r!==void 0?r:1);if(!(P>=1&&P<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var R=Ae((v=(_=(C=(h=o==null?void 0:o.weekStartsOn)!==null&&h!==void 0?h:o==null||(b=o.locale)===null||b===void 0||(y=b.options)===null||y===void 0?void 0:y.weekStartsOn)!==null&&C!==void 0?C:E.weekStartsOn)!==null&&_!==void 0?_:(f=E.locale)===null||f===void 0||(B=f.options)===null||B===void 0?void 0:B.weekStartsOn)!==null&&v!==void 0?v:0);if(!(R>=0&&R<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!L.localize)throw new RangeError("locale must contain localize property");if(!L.formatLong)throw new RangeError("locale must contain formatLong property");var F=le(a);if(!cn(F))throw new RangeError("Invalid time value");var z=It(F),T=za(F,z),j={firstWeekContainsDate:P,weekStartsOn:R,locale:L,_originalDate:F},Y=M.match(y0).map(function(Z){var U=Z[0];if(U==="p"||U==="P"){var V=M2[U];return V(Z,L.formatLong)}return Z}).join("").match(_0).map(function(Z){if(Z==="''")return"'";var U=Z[0];if(U==="'")return $0(Z);var V=V2[U];if(V)return!(o!=null&&o.useAdditionalWeekYearTokens)&&I2(Z)&&Do(Z,t,String(a)),!(o!=null&&o.useAdditionalDayOfYearTokens)&&O2(Z)&&Do(Z,t,String(a)),V(T,Z,L.localize,j);if(U.match(w0))throw new RangeError("Format string contains an unescaped latin alphabet character `"+U+"`");return Z}).join("");return Y}function $0(a){var t=a.match(b0);return t?t[1].replace(k0,"'"):a}function E0(a,t,o){var n,s,r,l,i,c,p,d,u,m;ae(2,arguments);var v=le(a),_=le(t),C=jt(),h=(n=(s=o==null?void 0:o.locale)!==null&&s!==void 0?s:C.locale)!==null&&n!==void 0?n:mn,b=Ae((r=(l=(i=(c=o==null?void 0:o.weekStartsOn)!==null&&c!==void 0?c:o==null||(p=o.locale)===null||p===void 0||(d=p.options)===null||d===void 0?void 0:d.weekStartsOn)!==null&&i!==void 0?i:C.weekStartsOn)!==null&&l!==void 0?l:(u=C.locale)===null||u===void 0||(m=u.options)===null||m===void 0?void 0:m.weekStartsOn)!==null&&r!==void 0?r:0);if(!h.localize)throw new RangeError("locale must contain localize property");if(!h.formatLong)throw new RangeError("locale must contain formatLong property");if(!h.formatRelative)throw new RangeError("locale must contain formatRelative property");var y=v2(v,_);if(isNaN(y))throw new RangeError("Invalid time value");var f;y<-6?f="other":y<-1?f="lastWeek":y<0?f="yesterday":y<1?f="today":y<2?f="tomorrow":y<7?f="nextWeek":f="other";var B=za(v,It(v)),M=za(_,It(_)),E=h.formatRelative(f,B,M,{locale:h,weekStartsOn:b});return vn(v,E,{locale:h,weekStartsOn:b})}function Lt(a,t){var o;ae(1,arguments);var n=Ae((o=t==null?void 0:t.additionalDigits)!==null&&o!==void 0?o:2);if(n!==2&&n!==1&&n!==0)throw new RangeError("additionalDigits must be 0, 1 or 2");if(!(typeof a=="string"||Object.prototype.toString.call(a)==="[object String]"))return new Date(NaN);var s=S0(a),r;if(s.date){var l=M0(s.date,n);r=A0(l.restDateString,l.year)}if(!r||isNaN(r.getTime()))return new Date(NaN);var i=r.getTime(),c=0,p;if(s.time&&(c=T0(s.time),isNaN(c)))return new Date(NaN);if(s.timezone){if(p=O0(s.timezone),isNaN(p))return new Date(NaN)}else{var d=new Date(i+c),u=new Date(0);return u.setFullYear(d.getUTCFullYear(),d.getUTCMonth(),d.getUTCDate()),u.setHours(d.getUTCHours(),d.getUTCMinutes(),d.getUTCSeconds(),d.getUTCMilliseconds()),u}return new Date(i+c+p)}var Jt={dateTimeDelimiter:/[T ]/,timeZoneDelimiter:/[Z ]/i,timezone:/([Z+-].*)$/},B0=/^-?(?:(\d{3})|(\d{2})(?:-?(\d{2}))?|W(\d{2})(?:-?(\d{1}))?|)$/,V0=/^(\d{2}(?:[.,]\d*)?)(?::?(\d{2}(?:[.,]\d*)?))?(?::?(\d{2}(?:[.,]\d*)?))?$/,N0=/^([+-])(\d{2})(?::?(\d{2}))?$/;function S0(a){var t={},o=a.split(Jt.dateTimeDelimiter),n;if(o.length>2)return t;if(/:/.test(o[0])?n=o[0]:(t.date=o[0],n=o[1],Jt.timeZoneDelimiter.test(t.date)&&(t.date=a.split(Jt.timeZoneDelimiter)[0],n=a.substr(t.date.length,a.length))),n){var s=Jt.timezone.exec(n);s?(t.time=n.replace(s[1],""),t.timezone=s[1]):t.time=n}return t}function M0(a,t){var o=new RegExp("^(?:(\\d{4}|[+-]\\d{"+(4+t)+"})|(\\d{2}|[+-]\\d{"+(2+t)+"})$)"),n=a.match(o);if(!n)return{year:NaN,restDateString:""};var s=n[1]?parseInt(n[1]):null,r=n[2]?parseInt(n[2]):null;return{year:r===null?s:r*100,restDateString:a.slice((n[1]||n[2]).length)}}function A0(a,t){if(t===null)return new Date(NaN);var o=a.match(B0);if(!o)return new Date(NaN);var n=!!o[4],s=Bt(o[1]),r=Bt(o[2])-1,l=Bt(o[3]),i=Bt(o[4]),c=Bt(o[5])-1;if(n)return H0(t,i,c)?I0(t,i,c):new Date(NaN);var p=new Date(0);return!D0(t,r,l)||!P0(t,s)?new Date(NaN):(p.setUTCFullYear(t,r,Math.max(s,l)),p)}function Bt(a){return a?parseInt(a):1}function T0(a){var t=a.match(V0);if(!t)return NaN;var o=Ra(t[1]),n=Ra(t[2]),s=Ra(t[3]);return R0(o,n,s)?o*rn+n*ln+s*1e3:NaN}function Ra(a){return a&&parseFloat(a.replace(",","."))||0}function O0(a){if(a==="Z")return 0;var t=a.match(N0);if(!t)return 0;var o=t[1]==="+"?-1:1,n=parseInt(t[2]),s=t[3]&&parseInt(t[3])||0;return j0(n,s)?o*(n*rn+s*ln):NaN}function I0(a,t,o){var n=new Date(0);n.setUTCFullYear(a,0,4);var s=n.getUTCDay()||7,r=(t-1)*7+o+1-s;return n.setUTCDate(n.getUTCDate()+r),n}var L0=[31,null,31,30,31,30,31,31,30,31,30,31];function fn(a){return a%400===0||a%4===0&&a%100!==0}function D0(a,t,o){return t>=0&&t<=11&&o>=1&&o<=(L0[t]||(fn(a)?29:28))}function P0(a,t){return t>=1&&t<=(fn(a)?366:365)}function H0(a,t,o){return t>=1&&t<=53&&o>=0&&o<=6}function R0(a,t,o){return a===24?t===0&&o===0:o>=0&&o<60&&t>=0&&t<60&&a>=0&&a<25}function j0(a,t){return t>=0&&t<=59}var fe=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},se={},hn={},Vt={},Ft={},_t={},fa={};Object.defineProperty(fa,"__esModule",{value:!0});fa.lexoHelper=void 0;fa.lexoHelper={arrayCopy:F0};function F0(a,t,o,n,s){let r=n;const l=t+s;for(let i=t;i<l;i++)o[r]=a[i],++r}var Ut={};Object.defineProperty(Ut,"__esModule",{value:!0});class U0{constructor(t=""){this.str=t}get length(){return this.str.length}set length(t){this.str=this.str.substring(0,t)}append(t){return this.str=this.str+t,this}remove(t,o){return this.str=this.str.substr(0,t)+this.str.substr(t+o),this}insert(t,o){return this.str=this.str.substr(0,t)+o+this.str.substr(t),this}toString(){return this.str}}Ut.default=U0;Object.defineProperty(_t,"__esModule",{value:!0});_t.LexoInteger=void 0;const ea=fa,z0=Ut;class W{constructor(t,o,n){this.sys=t,this.sign=o,this.mag=n}static parse(t,o){let n=t,s=1;t.indexOf(o.getPositiveChar())===0?n=t.substring(1):t.indexOf(o.getNegativeChar())===0&&(n=t.substring(1),s=-1);const r=new Array(n.length);let l=r.length-1;for(let i=0;l>=0;++i)r[i]=o.toDigit(n.charAt(l)),--l;return W.make(o,s,r)}static zero(t){return new W(t,0,W.ZERO_MAG)}static one(t){return W.make(t,1,W.ONE_MAG)}static make(t,o,n){let s;for(s=n.length;s>0&&n[s-1]===0;--s);if(s===0)return W.zero(t);if(s===n.length)return new W(t,o,n);const r=new Array(s).fill(0);return ea.lexoHelper.arrayCopy(n,0,r,0,s),new W(t,o,r)}static add(t,o,n){const s=Math.max(o.length,n.length),r=new Array(s).fill(0);let l=0;for(let i=0;i<s;++i){const c=i<o.length?o[i]:0,p=i<n.length?n[i]:0;let d=c+p+l;for(l=0;d>=t.getBase();d-=t.getBase())++l;r[i]=d}return W.extendWithCarry(r,l)}static extendWithCarry(t,o){if(o>0){const n=new Array(t.length+1).fill(0);return ea.lexoHelper.arrayCopy(t,0,n,0,t.length),n[n.length-1]=o,n}return t}static subtract(t,o,n){const s=W.complement(t,n,o.length),r=W.add(t,o,s);return r[r.length-1]=0,W.add(t,r,W.ONE_MAG)}static multiply(t,o,n){const s=new Array(o.length+n.length).fill(0);for(let r=0;r<o.length;++r)for(let l=0;l<n.length;++l){const i=r+l;for(s[i]+=o[r]*n[l];s[i]>=t.getBase();s[i]-=t.getBase())++s[i+1]}return s}static complement(t,o,n){if(n<=0)throw new Error("Expected at least 1 digit");const s=new Array(n).fill(t.getBase()-1);for(let r=0;r<o.length;++r)s[r]=t.getBase()-1-o[r];return s}static compare(t,o){if(t.length<o.length)return-1;if(t.length>o.length)return 1;for(let n=t.length-1;n>=0;--n){if(t[n]<o[n])return-1;if(t[n]>o[n])return 1}return 0}add(t){if(this.checkSystem(t),this.isZero())return t;if(t.isZero())return this;if(this.sign!==t.sign){let n;return this.sign===-1?(n=this.negate(),n.subtract(t).negate()):(n=t.negate(),this.subtract(n))}const o=W.add(this.sys,this.mag,t.mag);return W.make(this.sys,this.sign,o)}subtract(t){if(this.checkSystem(t),this.isZero())return t.negate();if(t.isZero())return this;if(this.sign!==t.sign){let n;return this.sign===-1?(n=this.negate(),n.add(t).negate()):(n=t.negate(),this.add(n))}const o=W.compare(this.mag,t.mag);return o===0?W.zero(this.sys):o<0?W.make(this.sys,this.sign===-1?1:-1,W.subtract(this.sys,t.mag,this.mag)):W.make(this.sys,this.sign===-1?-1:1,W.subtract(this.sys,this.mag,t.mag))}multiply(t){if(this.checkSystem(t),this.isZero())return this;if(t.isZero())return t;if(this.isOneish())return this.sign===t.sign?W.make(this.sys,1,t.mag):W.make(this.sys,-1,t.mag);if(t.isOneish())return this.sign===t.sign?W.make(this.sys,1,this.mag):W.make(this.sys,-1,this.mag);const o=W.multiply(this.sys,this.mag,t.mag);return this.sign===t.sign?W.make(this.sys,1,o):W.make(this.sys,-1,o)}negate(){return this.isZero()?this:W.make(this.sys,this.sign===1?-1:1,this.mag)}shiftLeft(t=1){if(t===0)return this;if(t<0)return this.shiftRight(Math.abs(t));const o=new Array(this.mag.length+t).fill(0);return ea.lexoHelper.arrayCopy(this.mag,0,o,t,this.mag.length),W.make(this.sys,this.sign,o)}shiftRight(t=1){if(this.mag.length-t<=0)return W.zero(this.sys);const o=new Array(this.mag.length-t).fill(0);return ea.lexoHelper.arrayCopy(this.mag,t,o,0,o.length),W.make(this.sys,this.sign,o)}complement(){return this.complementDigits(this.mag.length)}complementDigits(t){return W.make(this.sys,this.sign,W.complement(this.sys,this.mag,t))}isZero(){return this.sign===0&&this.mag.length===1&&this.mag[0]===0}isOne(){return this.sign===1&&this.mag.length===1&&this.mag[0]===1}getMag(t){return this.mag[t]}compareTo(t){if(this===t)return 0;if(!t)return 1;if(this.sign===-1){if(t.sign===-1){const o=W.compare(this.mag,t.mag);return o===-1?1:o===1?-1:0}return-1}return this.sign===1?t.sign===1?W.compare(this.mag,t.mag):1:t.sign===-1?1:t.sign===1?-1:0}getSystem(){return this.sys}format(){if(this.isZero())return""+this.sys.toChar(0);const t=new z0.default,o=this.mag,n=o.length;for(let s=0;s<n;++s){const r=o[s];t.insert(0,this.sys.toChar(r))}return this.sign===-1&&t.insert(0,this.sys.getNegativeChar()),t.toString()}equals(t){return this===t?!0:t?this.sys.getBase()===t.sys.getBase()&&this.compareTo(t)===0:!1}toString(){return this.format()}isOneish(){return this.mag.length===1&&this.mag[0]===1}checkSystem(t){if(this.sys.getBase()!==t.sys.getBase())throw new Error("Expected numbers of same numeral sys")}}_t.LexoInteger=W;W.ZERO_MAG=[0];W.ONE_MAG=[1];W.NEGATIVE_SIGN=-1;W.ZERO_SIGN=0;W.POSITIVE_SIGN=1;Object.defineProperty(Ft,"__esModule",{value:!0});Ft.LexoDecimal=void 0;const Nt=_t,Z0=Ut;class me{constructor(t,o){this.mag=t,this.sig=o}static half(t){const o=t.getBase()/2|0;return me.make(Nt.LexoInteger.make(t,1,[o]),1)}static parse(t,o){const n=t.indexOf(o.getRadixPointChar());if(t.lastIndexOf(o.getRadixPointChar())!==n)throw new Error("More than one "+o.getRadixPointChar());if(n<0)return me.make(Nt.LexoInteger.parse(t,o),0);const s=t.substring(0,n)+t.substring(n+1);return me.make(Nt.LexoInteger.parse(s,o),t.length-1-n)}static from(t){return me.make(t,0)}static make(t,o){if(t.isZero())return new me(t,0);let n=0;for(let l=0;l<o&&t.getMag(l)===0;++l)++n;const s=t.shiftRight(n),r=o-n;return new me(s,r)}getSystem(){return this.mag.getSystem()}add(t){let o=this.mag,n=this.sig,s=t.mag,r;for(r=t.sig;n<r;++n)o=o.shiftLeft();for(;n>r;)s=s.shiftLeft(),++r;return me.make(o.add(s),n)}subtract(t){let o=this.mag,n=this.sig,s=t.mag,r;for(r=t.sig;n<r;++n)o=o.shiftLeft();for(;n>r;)s=s.shiftLeft(),++r;return me.make(o.subtract(s),n)}multiply(t){return me.make(this.mag.multiply(t.mag),this.sig+t.sig)}floor(){return this.mag.shiftRight(this.sig)}ceil(){if(this.isExact())return this.mag;const t=this.floor();return t.add(Nt.LexoInteger.one(t.getSystem()))}isExact(){if(this.sig===0)return!0;for(let t=0;t<this.sig;++t)if(this.mag.getMag(t)!==0)return!1;return!0}getScale(){return this.sig}setScale(t,o=!1){if(t>=this.sig)return this;t<0&&(t=0);const n=this.sig-t;let s=this.mag.shiftRight(n);return o&&(s=s.add(Nt.LexoInteger.one(s.getSystem()))),me.make(s,t)}compareTo(t){if(this===t)return 0;if(!t)return 1;let o=this.mag,n=t.mag;return this.sig>t.sig?n=n.shiftLeft(this.sig-t.sig):this.sig<t.sig&&(o=o.shiftLeft(t.sig-this.sig)),o.compareTo(n)}format(){const t=this.mag.format();if(this.sig===0)return t;const o=new Z0.default(t),n=o[0],s=n===this.mag.getSystem().getPositiveChar()||n===this.mag.getSystem().getNegativeChar();for(s&&o.remove(0,1);o.length<this.sig+1;)o.insert(0,this.mag.getSystem().toChar(0));return o.insert(o.length-this.sig,this.mag.getSystem().getRadixPointChar()),o.length-this.sig===0&&o.insert(0,this.mag.getSystem().toChar(0)),s&&o.insert(0,n),o.toString()}equals(t){return this===t?!0:t?this.mag.equals(t.mag)&&this.sig===t.sig:!1}toString(){return this.format()}}Ft.LexoDecimal=me;var ta={},Po;function Cn(){if(Po)return ta;Po=1,Object.defineProperty(ta,"__esModule",{value:!0});const a=_t,t=_n();class o{constructor(s){this.value=a.LexoInteger.parse(s,t.LexoRank.NUMERAL_SYSTEM)}static get BUCKET_0(){return this._BUCKET_0||(this._BUCKET_0=new o("0")),this._BUCKET_0}static get BUCKET_1(){return this._BUCKET_1||(this._BUCKET_1=new o("1")),this._BUCKET_1}static get BUCKET_2(){return this._BUCKET_2||(this._BUCKET_2=new o("2")),this._BUCKET_2}static get VALUES(){return this._VALUES||(this._VALUES=[o.BUCKET_0,o.BUCKET_1,o.BUCKET_2]),this._VALUES}static max(){return o.VALUES[o.VALUES.length-1]}static from(s){const r=a.LexoInteger.parse(s,t.LexoRank.NUMERAL_SYSTEM),l=o.VALUES,i=l.length;for(let c=0;c<i;++c){const p=l[c];if(p.value.equals(r))return p}throw new Error("Unknown bucket: "+s)}static resolve(s){const r=o.VALUES,l=r.length;for(let i=0;i<l;++i){const c=r[i];if(c.equals(o.from(s.toString())))return c}throw new Error("No bucket found with id "+s)}format(){return this.value.format()}next(){return this.equals(o.BUCKET_0)?o.BUCKET_1:this.equals(o.BUCKET_1)?o.BUCKET_2:this.equals(o.BUCKET_2)?o.BUCKET_0:o.BUCKET_2}prev(){return this.equals(o.BUCKET_0)?o.BUCKET_2:this.equals(o.BUCKET_1)?o.BUCKET_0:this.equals(o.BUCKET_2)?o.BUCKET_1:o.BUCKET_0}equals(s){return this===s?!0:s?this.value.equals(s.value):!1}}return ta.default=o,ta}var Xa={},gn={};Object.defineProperty(gn,"__esModule",{value:!0});var ha={};Object.defineProperty(ha,"__esModule",{value:!0});ha.LexoNumeralSystem10=void 0;class x0{getBase(){return 10}getPositiveChar(){return"+"}getNegativeChar(){return"-"}getRadixPointChar(){return"."}toDigit(t){if(t>="0"&&t<="9")return t.charCodeAt(0)-48;throw new Error("Not valid digit: "+t)}toChar(t){return String.fromCharCode(t+48)}}ha.LexoNumeralSystem10=x0;var Ca={};Object.defineProperty(Ca,"__esModule",{value:!0});Ca.LexoNumeralSystem36=void 0;class W0{constructor(){this.DIGITS="0123456789abcdefghijklmnopqrstuvwxyz".split("")}getBase(){return 36}getPositiveChar(){return"+"}getNegativeChar(){return"-"}getRadixPointChar(){return":"}toDigit(t){if(t>="0"&&t<="9")return t.charCodeAt(0)-48;if(t>="a"&&t<="z")return t.charCodeAt(0)-97+10;throw new Error("Not valid digit: "+t)}toChar(t){return this.DIGITS[t]}}Ca.LexoNumeralSystem36=W0;var ga={};Object.defineProperty(ga,"__esModule",{value:!0});ga.LexoNumeralSystem64=void 0;class q0{constructor(){this.DIGITS="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ^_abcdefghijklmnopqrstuvwxyz".split("")}getBase(){return 64}getPositiveChar(){return"+"}getNegativeChar(){return"-"}getRadixPointChar(){return":"}toDigit(t){if(t>="0"&&t<="9")return t.charCodeAt(0)-48;if(t>="A"&&t<="Z")return t.charCodeAt(0)-65+10;if(t==="^")return 36;if(t==="_")return 37;if(t>="a"&&t<="z")return t.charCodeAt(0)-97+38;throw new Error("Not valid digit: "+t)}toChar(t){return this.DIGITS[t]}}ga.LexoNumeralSystem64=q0;(function(a){var t=fe&&fe.__createBinding||(Object.create?function(n,s,r,l){l===void 0&&(l=r);var i=Object.getOwnPropertyDescriptor(s,r);(!i||("get"in i?!s.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return s[r]}}),Object.defineProperty(n,l,i)}:function(n,s,r,l){l===void 0&&(l=r),n[l]=s[r]}),o=fe&&fe.__exportStar||function(n,s){for(var r in n)r!=="default"&&!Object.prototype.hasOwnProperty.call(s,r)&&t(s,n,r)};Object.defineProperty(a,"__esModule",{value:!0}),o(gn,a),o(ha,a),o(Ca,a),o(ga,a)})(Xa);var Ho;function _n(){if(Ho)return Vt;Ho=1,Object.defineProperty(Vt,"__esModule",{value:!0}),Vt.LexoRank=void 0;const a=Ft,t=Cn(),o=Ut,n=Xa;class s{constructor(l,i){this.value=l.format()+"|"+s.formatDecimal(i),this.bucket=l,this.decimal=i}static get NUMERAL_SYSTEM(){return this._NUMERAL_SYSTEM||(this._NUMERAL_SYSTEM=new n.LexoNumeralSystem36),this._NUMERAL_SYSTEM}static get ZERO_DECIMAL(){return this._ZERO_DECIMAL||(this._ZERO_DECIMAL=a.LexoDecimal.parse("0",s.NUMERAL_SYSTEM)),this._ZERO_DECIMAL}static get ONE_DECIMAL(){return this._ONE_DECIMAL||(this._ONE_DECIMAL=a.LexoDecimal.parse("1",s.NUMERAL_SYSTEM)),this._ONE_DECIMAL}static get EIGHT_DECIMAL(){return this._EIGHT_DECIMAL||(this._EIGHT_DECIMAL=a.LexoDecimal.parse("8",s.NUMERAL_SYSTEM)),this._EIGHT_DECIMAL}static get MIN_DECIMAL(){return this._MIN_DECIMAL||(this._MIN_DECIMAL=s.ZERO_DECIMAL),this._MIN_DECIMAL}static get MAX_DECIMAL(){return this._MAX_DECIMAL||(this._MAX_DECIMAL=a.LexoDecimal.parse("1000000",s.NUMERAL_SYSTEM).subtract(s.ONE_DECIMAL)),this._MAX_DECIMAL}static get MID_DECIMAL(){return this._MID_DECIMAL||(this._MID_DECIMAL=s.between(s.MIN_DECIMAL,s.MAX_DECIMAL)),this._MID_DECIMAL}static get INITIAL_MIN_DECIMAL(){return this._INITIAL_MIN_DECIMAL||(this._INITIAL_MIN_DECIMAL=a.LexoDecimal.parse("100000",s.NUMERAL_SYSTEM)),this._INITIAL_MIN_DECIMAL}static get INITIAL_MAX_DECIMAL(){return this._INITIAL_MAX_DECIMAL||(this._INITIAL_MAX_DECIMAL=a.LexoDecimal.parse(s.NUMERAL_SYSTEM.toChar(s.NUMERAL_SYSTEM.getBase()-2)+"00000",s.NUMERAL_SYSTEM)),this._INITIAL_MAX_DECIMAL}static min(){return s.from(t.default.BUCKET_0,s.MIN_DECIMAL)}static middle(){const l=s.min();return l.between(s.max(l.bucket))}static max(l=t.default.BUCKET_0){return s.from(l,s.MAX_DECIMAL)}static initial(l){return l===t.default.BUCKET_0?s.from(l,s.INITIAL_MIN_DECIMAL):s.from(l,s.INITIAL_MAX_DECIMAL)}static between(l,i){if(l.getSystem().getBase()!==i.getSystem().getBase())throw new Error("Expected same system");let c=l,p=i,d;if(l.getScale()<i.getScale()){if(d=i.setScale(l.getScale(),!1),l.compareTo(d)>=0)return s.mid(l,i);p=d}if(l.getScale()>p.getScale()){if(d=l.setScale(p.getScale(),!0),d.compareTo(p)>=0)return s.mid(l,i);c=d}let u;for(let _=c.getScale();_>0;p=u){const C=_-1,h=c.setScale(C,!0);if(u=p.setScale(C,!1),h.compareTo(u)===0)return s.checkMid(l,i,h);if(h.compareTo(u)>0)break;_=C,c=h}let m=s.middleInternal(l,i,c,p),v;for(let _=m.getScale();_>0;_=v){v=_-1;const C=m.setScale(v);if(l.compareTo(C)>=0||C.compareTo(i)>=0)break;m=C}return m}static parse(l){const i=l.split("|"),c=t.default.from(i[0]),p=a.LexoDecimal.parse(i[1],s.NUMERAL_SYSTEM);return new s(c,p)}static from(l,i){if(i.getSystem().getBase()!==s.NUMERAL_SYSTEM.getBase())throw new Error("Expected different system");return new s(l,i)}static middleInternal(l,i,c,p){const d=s.mid(c,p);return s.checkMid(l,i,d)}static checkMid(l,i,c){return l.compareTo(c)>=0||c.compareTo(i)>=0?s.mid(l,i):c}static mid(l,i){const p=l.add(i).multiply(a.LexoDecimal.half(l.getSystem())),d=l.getScale()>i.getScale()?l.getScale():i.getScale();if(p.getScale()>d){const u=p.setScale(d,!1);if(u.compareTo(l)>0)return u;const m=p.setScale(d,!0);if(m.compareTo(i)<0)return m}return p}static formatDecimal(l){const i=l.format(),c=new o.default(i);let p=i.indexOf(s.NUMERAL_SYSTEM.getRadixPointChar());const d=s.NUMERAL_SYSTEM.toChar(0);for(p<0&&(p=i.length,c.append(s.NUMERAL_SYSTEM.getRadixPointChar()));p<6;)c.insert(0,d),++p;for(;c[c.length-1]===d;)c.length=c.length-1;return c.toString()}genPrev(){if(this.isMax())return new s(this.bucket,s.INITIAL_MAX_DECIMAL);const l=this.decimal.floor();let c=a.LexoDecimal.from(l).subtract(s.EIGHT_DECIMAL);return c.compareTo(s.MIN_DECIMAL)<=0&&(c=s.between(s.MIN_DECIMAL,this.decimal)),new s(this.bucket,c)}genNext(){if(this.isMin())return new s(this.bucket,s.INITIAL_MIN_DECIMAL);const l=this.decimal.ceil();let c=a.LexoDecimal.from(l).add(s.EIGHT_DECIMAL);return c.compareTo(s.MAX_DECIMAL)>=0&&(c=s.between(this.decimal,s.MAX_DECIMAL)),new s(this.bucket,c)}between(l){if(!this.bucket.equals(l.bucket))throw new Error("Between works only within the same bucket");const i=this.decimal.compareTo(l.decimal);if(i>0)return new s(this.bucket,s.between(l.decimal,this.decimal));if(i===0)throw new Error("Try to rank between issues with same rank this="+this+" other="+l+" this.decimal="+this.decimal+" other.decimal="+l.decimal);return new s(this.bucket,s.between(this.decimal,l.decimal))}getBucket(){return this.bucket}getDecimal(){return this.decimal}inNextBucket(){return s.from(this.bucket.next(),this.decimal)}inPrevBucket(){return s.from(this.bucket.prev(),this.decimal)}isMin(){return this.decimal.equals(s.MIN_DECIMAL)}isMax(){return this.decimal.equals(s.MAX_DECIMAL)}format(){return this.value}equals(l){return this===l?!0:l?this.value===l.value:!1}toString(){return this.value}compareTo(l){return this===l?0:l?this.value.localeCompare(l.value):1}}return Vt.LexoRank=s,Vt}(function(a){var t=fe&&fe.__createBinding||(Object.create?function(n,s,r,l){l===void 0&&(l=r);var i=Object.getOwnPropertyDescriptor(s,r);(!i||("get"in i?!s.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return s[r]}}),Object.defineProperty(n,l,i)}:function(n,s,r,l){l===void 0&&(l=r),n[l]=s[r]}),o=fe&&fe.__exportStar||function(n,s){for(var r in n)r!=="default"&&!Object.prototype.hasOwnProperty.call(s,r)&&t(s,n,r)};Object.defineProperty(a,"__esModule",{value:!0}),o(_n(),a),o(Cn(),a),o(Ft,a),o(_t,a)})(hn);(function(a){var t=fe&&fe.__createBinding||(Object.create?function(n,s,r,l){l===void 0&&(l=r);var i=Object.getOwnPropertyDescriptor(s,r);(!i||("get"in i?!s.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return s[r]}}),Object.defineProperty(n,l,i)}:function(n,s,r,l){l===void 0&&(l=r),n[l]=s[r]}),o=fe&&fe.__exportStar||function(n,s){for(var r in n)r!=="default"&&!Object.prototype.hasOwnProperty.call(s,r)&&t(s,n,r)};Object.defineProperty(a,"__esModule",{value:!0}),o(hn,a),o(Xa,a)})(se);function yn(a){return(a==null?void 0:a.reduce((t,o)=>{var n;return t+(((n=o.activities)==null?void 0:n.length)??0)},0))??0}function Y0(a){return(a==null?void 0:a.reduce((t,o)=>{var n;return t+(((n=o.milestones)==null?void 0:n.length)??0)},0))??0}function K0(a){return(a==null?void 0:a.reduce((t,o)=>{var s;const n=(s=o.milestones)!=null&&s.length?yn(o.milestones):0;return t+n},0))??0}function G0(a){return a.split(" ").slice(0,2).map(t=>t.charAt(0).toLocaleLowerCase()).join("")}function zt(a,t){if(a.moved)return pt(t,a.moved.newIndex)}function pt(a,t){if(t===0)if(a.length>1){const o=a[t+1];return se.LexoRank.parse(o.rank).genPrev().format()}else return se.LexoRank.middle().format();else if(t===a.length-1){const o=a[t-1];return se.LexoRank.parse(o.rank).genNext().format()}else{const o=a[t-1],n=a[t+1];return se.LexoRank.parse(n.rank).between(se.LexoRank.parse(o.rank)).format()}}function _a(a,t="dd/MM/yyyy"){if(!a)return"";const o=Lt(a);return cn(o)?vn(o,t):""}function Qa(a,t){return a.status.id===t.id}function X0(a,t){return a.activities.length===0?!1:!a.activities.some(o=>!Qa(o,t))}function Q0(a,t){return{...a,status:X0(a,t)?Ot.done:Ot.todo}}const bn=a=>{const{firstName:t,lastName:o}=a||{};return`${t??""}${t?" ":""}${o??""}`};function J0(a,t){const o=a.replace("#",""),n=parseInt(o.slice(0,2),16),s=parseInt(o.slice(2,4),16),r=parseInt(o.slice(4,6),16);return`rgba(${n}, ${s}, ${r}, ${t})`}function e3(a,t=.15){var o;if(a.startsWith("#"))return J0(a,t);if(a.startsWith("rgba")){const n=(o=a.match(/rgba?\(([^)]+)\)/))==null?void 0:o[1].split(",").map(s=>s.trim());if(n&&n.length>=3){const[s,r,l]=n;return`rgba(${s}, ${r}, ${l}, ${t})`}}return a}const t3=["title"],a3={key:0,className:"ao-avatar__initials"},o3=["src"],ke=e.defineComponent({__name:"AoAvatar",props:{userName:{},avatarUrl:{},isClosable:{type:Boolean},size:{default:va.MD},color:{default:"primary"}},emits:["close"],setup(a,{emit:t}){const o=a,n=e.computed(()=>[`ao-avatar--${o.color}`,...o.avatarUrl?["ao-avatar-img",`ao-avatar-img--${o.size}`]:["ao-avatar",`ao-avatar--${o.size}`]]),s=G0(o.userName),r=l=>{t("close",l)};return(l,i)=>(e.openBlock(),e.createElementBlock("div",{role:"img",class:e.normalizeClass(n.value),title:l.userName},[l.avatarUrl?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("span",a3,e.toDisplayString(e.unref(s)),1)),l.avatarUrl?(e.openBlock(),e.createElementBlock("img",{key:1,className:"ao-avatar__image",src:l.avatarUrl},null,8,o3)):e.createCommentVNode("",!0),l.isClosable?(e.openBlock(),e.createBlock(K,{key:2,"icon-name":"CloseRounded",class:"ao-avatar__close",color:l.color,corners:"round",onClick:e.withModifiers(r,["stop"])},null,8,["color","onClick"])):e.createCommentVNode("",!0)],10,t3))}});const n3={class:"ao-card-template__subitems"},s3={class:"ao-card-template__subitem"},l3={class:"ao-card-template__subitem-number"},r3={class:"ao-card-template__subitem"},i3={class:"ao-card-template__subitem"},c3={class:"ao-card-template__body"},d3={class:"ao-card-template__col ao-card-template__col--phases"},u3={class:"ao-card-template__col-title"},p3={class:"ao-card-template__col-label"},m3={key:0,class:"ao-card-template__col-body ao-card-template__phases-list"},v3={class:"ao-card-template__footer"},f3={key:0,class:"ao-card-template__col ao-card-template__col--updated-at"},h3={class:"ao-card-template__col-title"},C3={class:"ao-card-template__col-label"},g3={class:"ao-card-template__col-body"},_3={key:1,class:"ao-card-template__col ao-card-template__col--updated-by"},y3={class:"ao-card-template__col-title"},b3={class:"ao-card-template__col-label"},k3={class:"ao-card-template__col-body"},w3={class:"ao-card-template-item__secondary"},ja=5,$3=e.defineComponent({__name:"AoCardTemplate",props:{id:{},title:{},activities:{},milestones:{},phases:{},updatedAt:{},updatedBy:{}},emits:["updateTitle","deleteItem"],setup(a,{emit:t}){const o=a,n=i=>{t("updateTitle",i)},s=(i,c)=>{t("deleteItem",i,c)},r=e.computed(()=>{var i;return((i=o.phases)==null?void 0:i.slice(0,ja))??[]}),l=e.computed(()=>o.phases&&o.phases.length>ja?o.phases.length-ja:0);return(i,c)=>(e.openBlock(),e.createBlock(tn,{id:i.id,title:i.title,"is-draggable":!0,"onUpdate:title":n},e.createSlots({subtitle:e.withCtx(()=>[e.createElementVNode("ul",n3,[e.createElementVNode("li",s3,[e.createVNode(Q,{name:"MountainFlagOutlineRounded",size:"sm"}),e.createElementVNode("span",l3,e.toDisplayString(i.milestones),1)]),e.createElementVNode("li",r3,[e.createVNode(Q,{name:"TaskOutlineRounded",size:"sm"}),e.createElementVNode("span",i3,e.toDisplayString(i.activities),1)])])]),default:e.withCtx(()=>[e.createElementVNode("div",c3,[e.createElementVNode("div",d3,[e.createElementVNode("div",u3,[e.createVNode(Q,{name:"WaterfallChartRounded",size:"sm"}),e.createElementVNode("span",p3,e.toDisplayString(i.$t("template.phases.title")),1)]),i.phases?(e.openBlock(),e.createElementBlock("ul",m3,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(r.value,p=>(e.openBlock(),e.createBlock(Tt,{key:p.id,label:p.name||p.id,color:"primary",variant:"solid"},null,8,["label"]))),128)),l.value>0?(e.openBlock(),e.createBlock(Tt,{key:0,label:`+${l.value} more`,color:"primary-lighter",variant:"solid"},null,8,["label"])):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)])])]),secondary:e.withCtx(()=>[e.createElementVNode("div",w3,[e.createVNode(K,{"icon-name":"DeleteOutlineRounded",variant:"ghost",size:"md",corners:"round",onClick:c[0]||(c[0]=e.withModifiers(p=>s(i.id,i.title),["stop"]))})])]),_:2},[i.updatedBy||i.updatedAt?{name:"footer",fn:e.withCtx(()=>[e.createElementVNode("div",v3,[i.updatedAt?(e.openBlock(),e.createElementBlock("div",f3,[e.createElementVNode("div",h3,[e.createElementVNode("span",C3,e.toDisplayString(i.$t("template.updatedAt.label")),1)]),e.createElementVNode("div",g3,[e.createElementVNode("span",null,e.toDisplayString(i.updatedAt),1)])])):e.createCommentVNode("",!0),i.updatedBy?(e.openBlock(),e.createElementBlock("div",_3,[e.createElementVNode("div",y3,[e.createElementVNode("span",b3,e.toDisplayString(i.$t("template.updatedBy.label")),1)]),e.createElementVNode("div",k3,[e.createVNode(ke,{"user-name":i.updatedBy},null,8,["user-name"])])])):e.createCommentVNode("",!0)])]),key:"0"}:void 0]),1032,["id","title"]))}});const E3={class:"ao-page-header"},B3={class:"ao-page-header-main"},V3={key:0,class:"ao-page-header-secondary"},Zt=e.defineComponent({__name:"AoPageHeader",props:{canGoBack:{type:Boolean}},emits:["goBack"],setup(a){return(t,o)=>(e.openBlock(),e.createElementBlock("header",E3,[e.createElementVNode("div",B3,[t.canGoBack?(e.openBlock(),e.createBlock(K,{key:0,"icon-name":"ArrowBackRounded",variant:"ghost",onClick:o[0]||(o[0]=n=>t.$emit("goBack"))})):e.createCommentVNode("",!0),e.renderSlot(t.$slots,"primary")]),t.$slots.secondary?(e.openBlock(),e.createElementBlock("div",V3,[e.renderSlot(t.$slots,"secondary")])):e.createCommentVNode("",!0)]))}});const N3=["type"],S3={key:0,class:"ao-button-card__label"},We=e.defineComponent({__name:"AoButtonCard",props:{label:{default:()=>""},iconName:{},iconPosition:{},type:{default:()=>"button"},color:{default:()=>Ga.BLACK},size:{default:()=>va.MD},isLoading:{type:Boolean,default:()=>!1},corners:{default:()=>Jo.ROUNDED}},setup(a){const t=a,o=e.computed(()=>t.size),n=e.computed(()=>t.isLoading?"Loading":t.iconName);return(s,r)=>(e.openBlock(),e.createElementBlock("button",{type:s.type,class:e.normalizeClass(["ao-button-card",`ao-button-card--${s.color}`,`ao-button-card--${s.corners}`,s.$attrs.disabled?"ao-button-card--is-disabled":""])},[e.renderSlot(s.$slots,"default",{},()=>[s.label?(e.openBlock(),e.createElementBlock("span",S3,e.toDisplayString(s.label),1)):e.createCommentVNode("",!0)]),n.value?(e.openBlock(),e.createBlock(Q,{key:0,name:n.value,class:"ao-button-card__icon",size:o.value},null,8,["name","size"])):e.createCommentVNode("",!0)],10,N3))}});const M3={class:"ao-card-template-item__footer"},A3={key:0,class:"ao-card-template-item__subitem"},T3={class:"ao-card-template-item__subitem-number"},O3={class:"ao-card-template-item__secondary"},Ja=e.defineComponent({__name:"AoCardTemplateItem",props:{milestones:{},activities:{},tasks:{},rules:{}},emits:["update:title","remove"],setup(a,{emit:t}){const o=l=>{t("update:title",l)},n=["milestones","activities","rules","tasks"],s={milestones:"MountainFlagOutlineRounded",activities:"TaskOutlineRounded",rules:"FlowsheetOutlineRounded",tasks:"ChecklistRounded"},r=()=>{t("remove")};return(l,i)=>(e.openBlock(),e.createBlock(tn,{"onUpdate:title":o},{footer:e.withCtx(()=>[e.createElementVNode("ul",M3,[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(n,c=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:c},[l.$props[c]?(e.openBlock(),e.createElementBlock("li",A3,[e.createVNode(Q,{name:s[c],size:"sm"},null,8,["name"]),e.createElementVNode("span",T3,e.toDisplayString(l.$props[c]),1)])):e.createCommentVNode("",!0)],64))),64))])]),secondary:e.withCtx(()=>[e.createElementVNode("div",O3,[e.createVNode(K,{"icon-name":"DeleteOutlineRounded",variant:"ghost",size:"md",corners:"round",onClick:e.withModifiers(r,["stop"])},null,8,["onClick"])])]),_:1}))}});const I3=e.defineComponent({__name:"AoCardTemplateItemPhase",props:{id:{},name:{},milestones:{}},setup(a){const t=a,o=e.computed(()=>{var s;return(s=t.milestones)==null?void 0:s.length}),n=e.computed(()=>t.milestones?yn(t.milestones):0);return(s,r)=>(e.openBlock(),e.createBlock(Ja,e.mergeProps({id:s.id,title:s.name,activities:n.value,milestones:o.value},s.$attrs),{default:e.withCtx(()=>[e.renderSlot(s.$slots,"default")]),_:3},16,["id","title","activities","milestones"]))}}),L3=e.defineComponent({__name:"AoCardTemplateItemMilestone",props:{activities:{}},setup(a){const t=a,o=e.computed(()=>{var n;return((n=t.activities)==null?void 0:n.length)||0});return(n,s)=>(e.openBlock(),e.createBlock(Ja,{activities:o.value},{default:e.withCtx(()=>[e.renderSlot(n.$slots,"default")]),_:3},8,["activities"]))}}),D3={class:"ao-list__footer"},P3=e.defineComponent({__name:"AoTemplateDetailsMilestones",props:{templateId:{},milestoneId:{},phase:{}},emits:["addMilestone","updateMilestone","updatePhase","removeMilestone"],setup(a,{emit:t}){const o=a,n=()=>{t("addMilestone",{phaseId:o.phase.id})},s=i=>{t("removeMilestone",{phaseId:o.phase.id,id:i})},r=i=>{t("updateMilestone",i)},l=i=>{if(i.moved){const c=zt(i,o.phase.milestones);t("updateMilestone",{id:i.moved.element.id,rank:c})}};return(i,c)=>i.phase?(e.openBlock(),e.createBlock(e.unref(xe),{key:0,"model-value":i.phase.milestones,class:"ao-templates__list",title:i.$t("template.milestones.title"),handle:".ao-card__drag","item-key":"id",onChange:l},{header:e.withCtx(()=>[e.createVNode(ne,{title:"Milestones",level:3,class:"ao-list__title"})]),item:e.withCtx(({element:p})=>[(e.openBlock(),e.createBlock(L3,{id:p.id,key:p.id,title:p.name,activities:p.activities,"is-active":i.milestoneId===p.id,"is-draggable":!0,"onUpdate:title":d=>r({id:p.id,name:d}),onClick:d=>i.$router.push({params:{milestoneId:p.id}}),onRemove:()=>s(p.id)},null,8,["id","title","activities","is-active","onUpdate:title","onClick","onRemove"]))]),footer:e.withCtx(()=>[e.createElementVNode("div",D3,[e.createVNode(We,{"icon-name":"AddBoxOutlineRounded",label:i.$t("template.milestones.add"),onClick:n},null,8,["label"])])]),_:1},8,["model-value","title"])):e.createCommentVNode("",!0)}}),H3=e.defineComponent({__name:"AoCardTemplateItemActivity",props:{name:{},tasks:{}},setup(a){const t=a,o=e.computed(()=>{var n;return((n=t.tasks)==null?void 0:n.length)||0});return(n,s)=>(e.openBlock(),e.createBlock(Ja,{tasks:o.value},{default:e.withCtx(()=>[e.renderSlot(n.$slots,"default")]),_:3},8,["tasks"]))}}),R3={class:"ao-list__footer"},j3=e.defineComponent({__name:"AoTemplateDetailsActivities",props:{templateId:{},phaseId:{},milestone:{},activityId:{}},emits:["addActivity","updateActivity","updateMilestone","removeActivity"],setup(a,{emit:t}){const o=a,n=()=>{t("addActivity",{milestoneId:o.milestone.id})},s=i=>{t("updateActivity",{...i})},r=i=>{t("removeActivity",{id:i})},l=i=>{if(i.moved){const c=zt(i,o.milestone.activities);t("updateActivity",{id:i.moved.element.id,rank:c})}};return(i,c)=>i.milestone?(e.openBlock(),e.createBlock(e.unref(xe),{key:0,"model-value":i.milestone.activities,title:i.$t("template.activities.title"),class:"ao-templates__list",handle:".ao-card__drag","item-key":"id",onChange:l},{header:e.withCtx(()=>[e.createVNode(ne,{title:"Activities",level:3,class:"ao-list__title"})]),item:e.withCtx(({element:p})=>[(e.openBlock(),e.createBlock(H3,{id:p.id,key:p.id,title:p.name,tasks:p.tasks,"is-active":i.activityId===p.id,"is-draggable":!0,"onUpdate:title":d=>s({id:p.id,name:d}),onClick:d=>i.$router.push({params:{activityId:p.id}}),onRemove:()=>r(p.id)},null,8,["id","title","tasks","is-active","onUpdate:title","onClick","onRemove"]))]),footer:e.withCtx(()=>[e.createElementVNode("div",R3,[e.createVNode(We,{"icon-name":"AddBoxOutlineRounded",label:i.$t("template.activities.add"),onClick:n},null,8,["label"])])]),_:1},8,["model-value","title"])):e.createCommentVNode("",!0)}}),F3={class:"ao-modal"},U3={key:0,class:"ao-modal__header"},z3={class:"ao-modal__header-meta"},Z3={class:"ao-modal__title-group"},x3={class:"ao-modal__body"},W3={key:1,class:"ao-modal__footer"},ya=e.defineComponent({__name:"AoModal",props:{size:{default:"md"}},emits:["close"],setup(a){return(t,o)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["ao-modal__wrapper",`ao-modal__wrapper--${t.size}`])},[e.createElementVNode("div",{class:"ao-modal__backdrop",onClick:o[0]||(o[0]=n=>t.$emit("close"))}),e.createElementVNode("div",F3,[t.$slots.header?(e.openBlock(),e.createElementBlock("div",U3,[e.createElementVNode("div",z3,[e.createVNode(K,{"icon-name":"CloseRounded",variant:"ghost",color:"primary",onClick:o[1]||(o[1]=n=>t.$emit("close"))})]),e.createElementVNode("header",Z3,[e.renderSlot(t.$slots,"header")])])):e.createCommentVNode("",!0),e.createElementVNode("div",x3,[e.renderSlot(t.$slots,"default")]),t.$slots.footer?(e.openBlock(),e.createElementBlock("footer",W3,[e.renderSlot(t.$slots,"footer")])):e.createCommentVNode("",!0)])],2))}});const Dt=Math.min,ve=Math.max,ca=Math.round,aa=Math.floor,Ue=a=>({x:a,y:a}),q3={left:"right",right:"left",bottom:"top",top:"bottom"},Y3={start:"end",end:"start"};function eo(a,t){return typeof a=="function"?a(t):a}function mt(a){return a.split("-")[0]}function ba(a){return a.split("-")[1]}function K3(a){return a==="x"?"y":"x"}function kn(a){return a==="y"?"height":"width"}function to(a){return["top","bottom"].includes(mt(a))?"y":"x"}function wn(a){return K3(to(a))}function G3(a,t,o){o===void 0&&(o=!1);const n=ba(a),s=wn(a),r=kn(s);let l=s==="x"?n===(o?"end":"start")?"right":"left":n==="start"?"bottom":"top";return t.reference[r]>t.floating[r]&&(l=da(l)),[l,da(l)]}function X3(a){const t=da(a);return[Za(a),t,Za(t)]}function Za(a){return a.replace(/start|end/g,t=>Y3[t])}function Q3(a,t,o){const n=["left","right"],s=["right","left"],r=["top","bottom"],l=["bottom","top"];switch(a){case"top":case"bottom":return o?t?s:n:t?n:s;case"left":case"right":return t?r:l;default:return[]}}function J3(a,t,o,n){const s=ba(a);let r=Q3(mt(a),o==="start",n);return s&&(r=r.map(l=>l+"-"+s),t&&(r=r.concat(r.map(Za)))),r}function da(a){return a.replace(/left|right|bottom|top/g,t=>q3[t])}function ep(a){return{top:0,right:0,bottom:0,left:0,...a}}function tp(a){return typeof a!="number"?ep(a):{top:a,right:a,bottom:a,left:a}}function ua(a){return{...a,top:a.y,left:a.x,right:a.x+a.width,bottom:a.y+a.height}}function Ro(a,t,o){let{reference:n,floating:s}=a;const r=to(t),l=wn(t),i=kn(l),c=mt(t),p=r==="y",d=n.x+n.width/2-s.width/2,u=n.y+n.height/2-s.height/2,m=n[i]/2-s[i]/2;let v;switch(c){case"top":v={x:d,y:n.y-s.height};break;case"bottom":v={x:d,y:n.y+n.height};break;case"right":v={x:n.x+n.width,y:u};break;case"left":v={x:n.x-s.width,y:u};break;default:v={x:n.x,y:n.y}}switch(ba(t)){case"start":v[l]-=m*(o&&p?-1:1);break;case"end":v[l]+=m*(o&&p?-1:1);break}return v}const ap=async(a,t,o)=>{const{placement:n="bottom",strategy:s="absolute",middleware:r=[],platform:l}=o,i=r.filter(Boolean),c=await(l.isRTL==null?void 0:l.isRTL(t));let p=await l.getElementRects({reference:a,floating:t,strategy:s}),{x:d,y:u}=Ro(p,n,c),m=n,v={},_=0;for(let C=0;C<i.length;C++){const{name:h,fn:b}=i[C],{x:y,y:f,data:B,reset:M}=await b({x:d,y:u,initialPlacement:n,placement:m,strategy:s,middlewareData:v,rects:p,platform:l,elements:{reference:a,floating:t}});if(d=y??d,u=f??u,v={...v,[h]:{...v[h],...B}},M&&_<=50){_++,typeof M=="object"&&(M.placement&&(m=M.placement),M.rects&&(p=M.rects===!0?await l.getElementRects({reference:a,floating:t,strategy:s}):M.rects),{x:d,y:u}=Ro(p,m,c)),C=-1;continue}}return{x:d,y:u,placement:m,strategy:s,middlewareData:v}};async function $n(a,t){var o;t===void 0&&(t={});const{x:n,y:s,platform:r,rects:l,elements:i,strategy:c}=a,{boundary:p="clippingAncestors",rootBoundary:d="viewport",elementContext:u="floating",altBoundary:m=!1,padding:v=0}=eo(t,a),_=tp(v),h=i[m?u==="floating"?"reference":"floating":u],b=ua(await r.getClippingRect({element:(o=await(r.isElement==null?void 0:r.isElement(h)))==null||o?h:h.contextElement||await(r.getDocumentElement==null?void 0:r.getDocumentElement(i.floating)),boundary:p,rootBoundary:d,strategy:c})),y=u==="floating"?{...l.floating,x:n,y:s}:l.reference,f=await(r.getOffsetParent==null?void 0:r.getOffsetParent(i.floating)),B=await(r.isElement==null?void 0:r.isElement(f))?await(r.getScale==null?void 0:r.getScale(f))||{x:1,y:1}:{x:1,y:1},M=ua(r.convertOffsetParentRelativeRectToViewportRelativeRect?await r.convertOffsetParentRelativeRectToViewportRelativeRect({rect:y,offsetParent:f,strategy:c}):y);return{top:(b.top-M.top+_.top)/B.y,bottom:(M.bottom-b.bottom+_.bottom)/B.y,left:(b.left-M.left+_.left)/B.x,right:(M.right-b.right+_.right)/B.x}}const op=function(a){return a===void 0&&(a={}),{name:"flip",options:a,async fn(t){var o,n;const{placement:s,middlewareData:r,rects:l,initialPlacement:i,platform:c,elements:p}=t,{mainAxis:d=!0,crossAxis:u=!0,fallbackPlacements:m,fallbackStrategy:v="bestFit",fallbackAxisSideDirection:_="none",flipAlignment:C=!0,...h}=eo(a,t);if((o=r.arrow)!=null&&o.alignmentOffset)return{};const b=mt(s),y=mt(i)===i,f=await(c.isRTL==null?void 0:c.isRTL(p.floating)),B=m||(y||!C?[da(i)]:X3(i));!m&&_!=="none"&&B.push(...J3(i,C,_,f));const M=[i,...B],E=await $n(t,h),L=[];let P=((n=r.flip)==null?void 0:n.overflows)||[];if(d&&L.push(E[b]),u){const T=G3(s,l,f);L.push(E[T[0]],E[T[1]])}if(P=[...P,{placement:s,overflows:L}],!L.every(T=>T<=0)){var R,F;const T=(((R=r.flip)==null?void 0:R.index)||0)+1,j=M[T];if(j)return{data:{index:T,overflows:P},reset:{placement:j}};let Y=(F=P.filter(Z=>Z.overflows[0]<=0).sort((Z,U)=>Z.overflows[1]-U.overflows[1])[0])==null?void 0:F.placement;if(!Y)switch(v){case"bestFit":{var z;const Z=(z=P.map(U=>[U.placement,U.overflows.filter(V=>V>0).reduce((V,$)=>V+$,0)]).sort((U,V)=>U[1]-V[1])[0])==null?void 0:z[0];Z&&(Y=Z);break}case"initialPlacement":Y=i;break}if(s!==Y)return{reset:{placement:Y}}}return{}}}},np=function(a){return a===void 0&&(a={}),{name:"size",options:a,async fn(t){const{placement:o,rects:n,platform:s,elements:r}=t,{apply:l=()=>{},...i}=eo(a,t),c=await $n(t,i),p=mt(o),d=ba(o),u=to(o)==="y",{width:m,height:v}=n.floating;let _,C;p==="top"||p==="bottom"?(_=p,C=d===(await(s.isRTL==null?void 0:s.isRTL(r.floating))?"start":"end")?"left":"right"):(C=p,_=d==="end"?"top":"bottom");const h=v-c[_],b=m-c[C],y=!t.middlewareData.shift;let f=h,B=b;if(u){const E=m-c.left-c.right;B=d||y?Dt(b,E):E}else{const E=v-c.top-c.bottom;f=d||y?Dt(h,E):E}if(y&&!d){const E=ve(c.left,0),L=ve(c.right,0),P=ve(c.top,0),R=ve(c.bottom,0);u?B=m-2*(E!==0||L!==0?E+L:ve(c.left,c.right)):f=v-2*(P!==0||R!==0?P+R:ve(c.top,c.bottom))}await l({...t,availableWidth:B,availableHeight:f});const M=await s.getDimensions(r.floating);return m!==M.width||v!==M.height?{reset:{rects:!0}}:{}}}};function ze(a){return En(a)?(a.nodeName||"").toLowerCase():"#document"}function ce(a){var t;return(a==null||(t=a.ownerDocument)==null?void 0:t.defaultView)||window}function Ie(a){var t;return(t=(En(a)?a.ownerDocument:a.document)||window.document)==null?void 0:t.documentElement}function En(a){return a instanceof Node||a instanceof ce(a).Node}function Te(a){return a instanceof Element||a instanceof ce(a).Element}function we(a){return a instanceof HTMLElement||a instanceof ce(a).HTMLElement}function jo(a){return typeof ShadowRoot>"u"?!1:a instanceof ShadowRoot||a instanceof ce(a).ShadowRoot}function xt(a){const{overflow:t,overflowX:o,overflowY:n,display:s}=Ce(a);return/auto|scroll|overlay|hidden|clip/.test(t+n+o)&&!["inline","contents"].includes(s)}function sp(a){return["table","td","th"].includes(ze(a))}function ao(a){const t=oo(),o=Ce(a);return o.transform!=="none"||o.perspective!=="none"||(o.containerType?o.containerType!=="normal":!1)||!t&&(o.backdropFilter?o.backdropFilter!=="none":!1)||!t&&(o.filter?o.filter!=="none":!1)||["transform","perspective","filter"].some(n=>(o.willChange||"").includes(n))||["paint","layout","strict","content"].some(n=>(o.contain||"").includes(n))}function lp(a){let t=vt(a);for(;we(t)&&!ka(t);){if(ao(t))return t;t=vt(t)}return null}function oo(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function ka(a){return["html","body","#document"].includes(ze(a))}function Ce(a){return ce(a).getComputedStyle(a)}function wa(a){return Te(a)?{scrollLeft:a.scrollLeft,scrollTop:a.scrollTop}:{scrollLeft:a.pageXOffset,scrollTop:a.pageYOffset}}function vt(a){if(ze(a)==="html")return a;const t=a.assignedSlot||a.parentNode||jo(a)&&a.host||Ie(a);return jo(t)?t.host:t}function Bn(a){const t=vt(a);return ka(t)?a.ownerDocument?a.ownerDocument.body:a.body:we(t)&&xt(t)?t:Bn(t)}function Pt(a,t,o){var n;t===void 0&&(t=[]),o===void 0&&(o=!0);const s=Bn(a),r=s===((n=a.ownerDocument)==null?void 0:n.body),l=ce(s);return r?t.concat(l,l.visualViewport||[],xt(s)?s:[],l.frameElement&&o?Pt(l.frameElement):[]):t.concat(s,Pt(s))}function Vn(a){const t=Ce(a);let o=parseFloat(t.width)||0,n=parseFloat(t.height)||0;const s=we(a),r=s?a.offsetWidth:o,l=s?a.offsetHeight:n,i=ca(o)!==r||ca(n)!==l;return i&&(o=r,n=l),{width:o,height:n,$:i}}function no(a){return Te(a)?a:a.contextElement}function dt(a){const t=no(a);if(!we(t))return Ue(1);const o=t.getBoundingClientRect(),{width:n,height:s,$:r}=Vn(t);let l=(r?ca(o.width):o.width)/n,i=(r?ca(o.height):o.height)/s;return(!l||!Number.isFinite(l))&&(l=1),(!i||!Number.isFinite(i))&&(i=1),{x:l,y:i}}const rp=Ue(0);function Nn(a){const t=ce(a);return!oo()||!t.visualViewport?rp:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function ip(a,t,o){return t===void 0&&(t=!1),!o||t&&o!==ce(a)?!1:t}function nt(a,t,o,n){t===void 0&&(t=!1),o===void 0&&(o=!1);const s=a.getBoundingClientRect(),r=no(a);let l=Ue(1);t&&(n?Te(n)&&(l=dt(n)):l=dt(a));const i=ip(r,o,n)?Nn(r):Ue(0);let c=(s.left+i.x)/l.x,p=(s.top+i.y)/l.y,d=s.width/l.x,u=s.height/l.y;if(r){const m=ce(r),v=n&&Te(n)?ce(n):n;let _=m.frameElement;for(;_&&n&&v!==m;){const C=dt(_),h=_.getBoundingClientRect(),b=Ce(_),y=h.left+(_.clientLeft+parseFloat(b.paddingLeft))*C.x,f=h.top+(_.clientTop+parseFloat(b.paddingTop))*C.y;c*=C.x,p*=C.y,d*=C.x,u*=C.y,c+=y,p+=f,_=ce(_).frameElement}}return ua({width:d,height:u,x:c,y:p})}function cp(a){let{rect:t,offsetParent:o,strategy:n}=a;const s=we(o),r=Ie(o);if(o===r)return t;let l={scrollLeft:0,scrollTop:0},i=Ue(1);const c=Ue(0);if((s||!s&&n!=="fixed")&&((ze(o)!=="body"||xt(r))&&(l=wa(o)),we(o))){const p=nt(o);i=dt(o),c.x=p.x+o.clientLeft,c.y=p.y+o.clientTop}return{width:t.width*i.x,height:t.height*i.y,x:t.x*i.x-l.scrollLeft*i.x+c.x,y:t.y*i.y-l.scrollTop*i.y+c.y}}function dp(a){return Array.from(a.getClientRects())}function Sn(a){return nt(Ie(a)).left+wa(a).scrollLeft}function up(a){const t=Ie(a),o=wa(a),n=a.ownerDocument.body,s=ve(t.scrollWidth,t.clientWidth,n.scrollWidth,n.clientWidth),r=ve(t.scrollHeight,t.clientHeight,n.scrollHeight,n.clientHeight);let l=-o.scrollLeft+Sn(a);const i=-o.scrollTop;return Ce(n).direction==="rtl"&&(l+=ve(t.clientWidth,n.clientWidth)-s),{width:s,height:r,x:l,y:i}}function pp(a,t){const o=ce(a),n=Ie(a),s=o.visualViewport;let r=n.clientWidth,l=n.clientHeight,i=0,c=0;if(s){r=s.width,l=s.height;const p=oo();(!p||p&&t==="fixed")&&(i=s.offsetLeft,c=s.offsetTop)}return{width:r,height:l,x:i,y:c}}function mp(a,t){const o=nt(a,!0,t==="fixed"),n=o.top+a.clientTop,s=o.left+a.clientLeft,r=we(a)?dt(a):Ue(1),l=a.clientWidth*r.x,i=a.clientHeight*r.y,c=s*r.x,p=n*r.y;return{width:l,height:i,x:c,y:p}}function Fo(a,t,o){let n;if(t==="viewport")n=pp(a,o);else if(t==="document")n=up(Ie(a));else if(Te(t))n=mp(t,o);else{const s=Nn(a);n={...t,x:t.x-s.x,y:t.y-s.y}}return ua(n)}function Mn(a,t){const o=vt(a);return o===t||!Te(o)||ka(o)?!1:Ce(o).position==="fixed"||Mn(o,t)}function vp(a,t){const o=t.get(a);if(o)return o;let n=Pt(a,[],!1).filter(i=>Te(i)&&ze(i)!=="body"),s=null;const r=Ce(a).position==="fixed";let l=r?vt(a):a;for(;Te(l)&&!ka(l);){const i=Ce(l),c=ao(l);!c&&i.position==="fixed"&&(s=null),(r?!c&&!s:!c&&i.position==="static"&&!!s&&["absolute","fixed"].includes(s.position)||xt(l)&&!c&&Mn(a,l))?n=n.filter(d=>d!==l):s=i,l=vt(l)}return t.set(a,n),n}function fp(a){let{element:t,boundary:o,rootBoundary:n,strategy:s}=a;const l=[...o==="clippingAncestors"?vp(t,this._c):[].concat(o),n],i=l[0],c=l.reduce((p,d)=>{const u=Fo(t,d,s);return p.top=ve(u.top,p.top),p.right=Dt(u.right,p.right),p.bottom=Dt(u.bottom,p.bottom),p.left=ve(u.left,p.left),p},Fo(t,i,s));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}}function hp(a){return Vn(a)}function Cp(a,t,o){const n=we(t),s=Ie(t),r=o==="fixed",l=nt(a,!0,r,t);let i={scrollLeft:0,scrollTop:0};const c=Ue(0);if(n||!n&&!r)if((ze(t)!=="body"||xt(s))&&(i=wa(t)),n){const p=nt(t,!0,r,t);c.x=p.x+t.clientLeft,c.y=p.y+t.clientTop}else s&&(c.x=Sn(s));return{x:l.left+i.scrollLeft-c.x,y:l.top+i.scrollTop-c.y,width:l.width,height:l.height}}function Uo(a,t){return!we(a)||Ce(a).position==="fixed"?null:t?t(a):a.offsetParent}function An(a,t){const o=ce(a);if(!we(a))return o;let n=Uo(a,t);for(;n&&sp(n)&&Ce(n).position==="static";)n=Uo(n,t);return n&&(ze(n)==="html"||ze(n)==="body"&&Ce(n).position==="static"&&!ao(n))?o:n||lp(a)||o}const gp=async function(a){let{reference:t,floating:o,strategy:n}=a;const s=this.getOffsetParent||An,r=this.getDimensions;return{reference:Cp(t,await s(o),n),floating:{x:0,y:0,...await r(o)}}};function _p(a){return Ce(a).direction==="rtl"}const yp={convertOffsetParentRelativeRectToViewportRelativeRect:cp,getDocumentElement:Ie,getClippingRect:fp,getOffsetParent:An,getElementRects:gp,getClientRects:dp,getDimensions:hp,getScale:dt,isElement:Te,isRTL:_p};function bp(a,t){let o=null,n;const s=Ie(a);function r(){clearTimeout(n),o&&o.disconnect(),o=null}function l(i,c){i===void 0&&(i=!1),c===void 0&&(c=1),r();const{left:p,top:d,width:u,height:m}=a.getBoundingClientRect();if(i||t(),!u||!m)return;const v=aa(d),_=aa(s.clientWidth-(p+u)),C=aa(s.clientHeight-(d+m)),h=aa(p),y={rootMargin:-v+"px "+-_+"px "+-C+"px "+-h+"px",threshold:ve(0,Dt(1,c))||1};let f=!0;function B(M){const E=M[0].intersectionRatio;if(E!==c){if(!f)return l();E?l(!1,E):n=setTimeout(()=>{l(!1,1e-7)},100)}f=!1}try{o=new IntersectionObserver(B,{...y,root:s.ownerDocument})}catch{o=new IntersectionObserver(B,y)}o.observe(a)}return l(!0),r}function kp(a,t,o,n){n===void 0&&(n={});const{ancestorScroll:s=!0,ancestorResize:r=!0,elementResize:l=typeof ResizeObserver=="function",layoutShift:i=typeof IntersectionObserver=="function",animationFrame:c=!1}=n,p=no(a),d=s||r?[...p?Pt(p):[],...Pt(t)]:[];d.forEach(b=>{s&&b.addEventListener("scroll",o,{passive:!0}),r&&b.addEventListener("resize",o)});const u=p&&i?bp(p,o):null;let m=-1,v=null;l&&(v=new ResizeObserver(b=>{let[y]=b;y&&y.target===p&&v&&(v.unobserve(t),cancelAnimationFrame(m),m=requestAnimationFrame(()=>{v&&v.observe(t)})),o()}),p&&!c&&v.observe(p),v.observe(t));let _,C=c?nt(a):null;c&&h();function h(){const b=nt(a);C&&(b.x!==C.x||b.y!==C.y||b.width!==C.width||b.height!==C.height)&&o(),C=b,_=requestAnimationFrame(h)}return o(),()=>{d.forEach(b=>{s&&b.removeEventListener("scroll",o),r&&b.removeEventListener("resize",o)}),u&&u(),v&&v.disconnect(),v=null,c&&cancelAnimationFrame(_)}}const wp=(a,t,o)=>{const n=new Map,s={platform:yp,...o},r={...s.platform,_c:n};return ap(a,t,{...s,platform:r})},$p=a=>{const t=e.ref(!1),o=e.ref(),n=e.ref(),s=e.ref(0);function r(){const u=e.unref(a.appendTo);return u?typeof u=="string"?document.getElementById(u)??document.body:u:document.getElementById("floatingElements")??document.body}const l=r(),i=e.ref(()=>{});function c(u){u.relatedTarget&&n.value&&n.value.contains(u.relatedTarget)||a.multiselect.value.deactivate()}function p(){const u=a.multiselect.value.$el,m=u.querySelector(".multiselect-dropdown");if(!m||!u||t.value===!0)return;n.value=m,o.value=u,getComputedStyle(m).getPropertyValue("display")==="none"&&(m.style.display="flex"),s.value=m.offsetHeight,m.style.removeProperty("display"),Object.assign(m.style,{position:"absolute",width:"max-content",top:0,left:0,right:"auto",bottom:"auto",transform:"none",marginTop:0}),l.appendChild(m),a.multiselect.value.handleFocusOut=c;const _=kp(o.value,n.value,d);i.value=()=>{n.value&&l.contains(n.value)&&l.removeChild(n.value),_()}}function d(){!n.value||!o.value||wp(o.value,n.value,{strategy:"absolute",placement:"bottom-start",middleware:[op({fallbackStrategy:"initialPlacement",fallbackPlacements:["top-start","bottom-start"]}),np({apply({availableWidth:u,availableHeight:m,elements:v,rects:_}){Object.assign(v.floating.style,{minHeight:`${s.value}px`,width:`${_.reference.width}px`,maxWidth:`${u}px`,maxHeight:`${m}px`})}})]}).then(({x:u,y:m})=>{Object.assign(n.value.style,{left:`${u}px`,top:`${m}px`})})}e.onMounted(()=>{p()}),e.onBeforeUnmount(()=>{i.value()}),e.onUnmounted(()=>{i.value()})};function be(a){return[null,void 0].indexOf(a)!==-1}function Ep(a,t,o){const{object:n,valueProp:s,mode:r}=e.toRefs(a),l=e.getCurrentInstance().proxy,i=o.iv,c=(u,m=!0)=>{i.value=d(u);const v=p(u);t.emit("change",v,l),m&&(t.emit("input",v),t.emit("update:modelValue",v))},p=u=>n.value||be(u)?u:Array.isArray(u)?u.map(m=>m[s.value]):u[s.value],d=u=>be(u)?r.value==="single"?{}:[]:u;return{update:c}}function Bp(a,t){const{value:o,modelValue:n,mode:s,valueProp:r}=e.toRefs(a),l=e.ref(s.value!=="single"?[]:{}),i=e.computed(()=>n&&n.value!==void 0?n.value:o.value),c=e.computed(()=>s.value==="single"?l.value[r.value]:l.value.map(d=>d[r.value])),p=e.computed(()=>s.value!=="single"?l.value.map(d=>d[r.value]).join(","):l.value[r.value]);return{iv:l,internalValue:l,ev:i,externalValue:i,textValue:p,plainValue:c}}function Vp(a,t,o){const{regex:n}=e.toRefs(a),s=e.getCurrentInstance().proxy,r=o.isOpen,l=o.open,i=e.ref(null),c=()=>{i.value=""},p=m=>{i.value=m.target.value},d=m=>{if(n&&n.value){let v=n.value;typeof v=="string"&&(v=new RegExp(v)),m.key.match(v)||m.preventDefault()}},u=m=>{if(n&&n.value){let _=(m.clipboardData||window.clipboardData).getData("Text"),C=n.value;typeof C=="string"&&(C=new RegExp(C)),_.split("").every(h=>!!h.match(C))||m.preventDefault()}t.emit("paste",m,s)};return e.watch(i,m=>{!r.value&&m&&l(),t.emit("search-change",m,s)}),{search:i,clearSearch:c,handleSearchInput:p,handleKeypress:d,handlePaste:u}}function Np(a,t,o){const{groupSelect:n,mode:s,groups:r,disabledProp:l}=e.toRefs(a),i=e.ref(null),c=d=>{d===void 0||d!==null&&d[l.value]||r.value&&d&&d.group&&(s.value==="single"||!n.value)||(i.value=d)};return{pointer:i,setPointer:c,clearPointer:()=>{c(null)}}}function Fa(a,t=!0){return t?String(a).toLowerCase().trim():String(a).toLowerCase().normalize("NFD").trim().replace(new RegExp(/æ/g),"ae").replace(new RegExp(/œ/g),"oe").replace(new RegExp(/ø/g),"o").replace(/\p{Diacritic}/gu,"")}function Sp(a){return Object.prototype.toString.call(a)==="[object Object]"}function Mp(a,t){const o=t.slice().sort();return a.length===t.length&&a.slice().sort().every(function(n,s){return n===o[s]})}function Ap(a,t,o){const{options:n,mode:s,trackBy:r,limit:l,hideSelected:i,createTag:c,createOption:p,label:d,appendNewTag:u,appendNewOption:m,multipleLabel:v,object:_,loading:C,delay:h,resolveOnLoad:b,minChars:y,filterResults:f,clearOnSearch:B,clearOnSelect:M,valueProp:E,allowAbsent:L,groupLabel:P,canDeselect:R,max:F,strict:z,closeOnSelect:T,closeOnDeselect:j,groups:Y,reverse:Z,infinite:U,groupOptions:V,groupHideEmpty:$,groupSelect:k,onCreate:O,disabledProp:g,searchStart:S,searchFilter:q}=e.toRefs(a),x=e.getCurrentInstance().proxy,D=o.iv,N=o.ev,H=o.search,ee=o.clearSearch,ie=o.update,yt=o.pointer,bt=o.setPointer,Le=o.clearPointer,Wt=o.focus,Sa=o.deactivate,De=o.close,qt=o.localize,Pe=e.ref([]),ye=e.ref([]),ue=e.ref(!1),ge=e.ref(null),Be=e.ref(U.value&&l.value===-1?10:l.value),kt=e.computed(()=>c.value||p.value||!1),Yt=e.computed(()=>u.value!==void 0?u.value:m.value!==void 0?m.value:!0),pe=e.computed(()=>{if(Y.value){let w=Ke.value||[],A=[];return w.forEach(G=>{Da(G[V.value]).forEach(te=>{A.push(Object.assign({},te,G[g.value]?{[g.value]:!0}:{}))})}),A}else{let w=Da(ye.value||[]);return Pe.value.length&&(w=w.concat(Pe.value)),w}}),wt=e.computed(()=>{let w=pe.value;return Z.value&&(w=w.reverse()),lt.value.length&&(w=lt.value.concat(w)),La(w)}),He=e.computed(()=>{let w=wt.value;return Be.value>0&&(w=w.slice(0,Be.value)),w}),Ke=e.computed(()=>{if(!Y.value)return[];let w=[],A=ye.value||[];return Pe.value.length&&w.push({[P.value]:" ",[V.value]:[...Pe.value],__CREATE__:!0}),w.concat(A)}),Kt=e.computed(()=>{let w=[...Ke.value].map(A=>({...A}));return lt.value.length&&(w[0]&&w[0].__CREATE__?w[0][V.value]=[...lt.value,...w[0][V.value]]:w=[{[P.value]:" ",[V.value]:[...lt.value],__CREATE__:!0}].concat(w)),w}),Ma=e.computed(()=>{if(!Y.value)return[];let w=Kt.value;return ss((w||[]).map((A,G)=>{const te=Da(A[V.value]);return{...A,index:G,group:!0,[V.value]:La(te,!1).map(Xe=>Object.assign({},Xe,A[g.value]?{[g.value]:!0}:{})),__VISIBLE__:La(te).map(Xe=>Object.assign({},Xe,A[g.value]?{[g.value]:!0}:{}))}}))}),Aa=e.computed(()=>{switch(s.value){case"single":return!be(D.value[E.value]);case"multiple":case"tags":return!be(D.value)&&D.value.length>0}}),xn=e.computed(()=>v!==void 0&&v.value!==void 0?v.value(D.value,x):D.value&&D.value.length>1?`${D.value.length} options selected`:"1 option selected"),Wn=e.computed(()=>!pe.value.length&&!ue.value&&!lt.value.length),qn=e.computed(()=>pe.value.length>0&&He.value.length==0&&(H.value&&Y.value||!Y.value)),lt=e.computed(()=>kt.value===!1||!H.value?[]:as(H.value)!==-1?[]:[{[E.value]:H.value,[Ge.value[0]]:H.value,[d.value]:H.value,__CREATE__:!0}]),Ge=e.computed(()=>r.value?Array.isArray(r.value)?r.value:[r.value]:[d.value]),Yn=e.computed(()=>{switch(s.value){case"single":return null;case"multiple":case"tags":return[]}}),Kn=e.computed(()=>C.value||ue.value),rt=w=>{switch(typeof w!="object"&&(w=Ne(w)),s.value){case"single":ie(w);break;case"multiple":case"tags":ie(D.value.concat(w));break}t.emit("select",Eo(w),w,x)},it=w=>{switch(typeof w!="object"&&(w=Ne(w)),s.value){case"single":Vo();break;case"tags":case"multiple":ie(Array.isArray(w)?D.value.filter(A=>w.map(G=>G[E.value]).indexOf(A[E.value])===-1):D.value.filter(A=>A[E.value]!=w[E.value]));break}t.emit("deselect",Eo(w),w,x)},Eo=w=>_.value?w:w[E.value],Bo=w=>{it(w)},Gn=(w,A)=>{if(A.button!==0){A.preventDefault();return}Bo(w)},Vo=()=>{ie(Yn.value),t.emit("clear",x)},Ve=w=>{if(w.group!==void 0)return s.value==="single"?!1:ts(w[V.value])&&w[V.value].length;switch(s.value){case"single":return!be(D.value)&&D.value[E.value]==w[E.value];case"tags":case"multiple":return!be(D.value)&&D.value.map(A=>A[E.value]).indexOf(w[E.value])!==-1}},Ta=w=>w[g.value]===!0,Oa=()=>F===void 0||F.value===-1||!Aa.value&&F.value>0?!1:D.value.length>=F.value,Xn=w=>{if(!Ta(w)){if(O&&O.value&&!Ve(w)&&w.__CREATE__&&(w={...w},delete w.__CREATE__,w=O.value(w,x),w instanceof Promise)){ue.value=!0,w.then(A=>{ue.value=!1,No(A)});return}No(w)}},No=w=>{switch(w.__CREATE__&&(w={...w},delete w.__CREATE__),s.value){case"single":if(w&&Ve(w)){R.value&&it(w),j.value&&(Le(),De());return}w&&Ia(w),M.value&&ee(),T.value&&(Le(),De()),w&&rt(w);break;case"multiple":if(w&&Ve(w)){it(w),j.value&&(Le(),De());return}if(Oa()){t.emit("max",x);return}w&&(Ia(w),rt(w)),M.value&&ee(),i.value&&Le(),T.value&&De();break;case"tags":if(w&&Ve(w)){it(w),j.value&&(Le(),De());return}if(Oa()){t.emit("max",x);return}w&&Ia(w),M.value&&ee(),w&&rt(w),i.value&&Le(),T.value&&De();break}T.value||Wt()},Qn=w=>{if(!(Ta(w)||s.value==="single"||!k.value)){switch(s.value){case"multiple":case"tags":es(w[V.value])?it(w[V.value]):rt(w[V.value].filter(A=>D.value.map(G=>G[E.value]).indexOf(A[E.value])===-1).filter(A=>!A[g.value]).filter((A,G)=>D.value.length+1+G<=F.value||F.value===-1)),i.value&&yt.value&&bt(Ma.value.filter(A=>!A[g.value])[yt.value.index]);break}T.value&&Sa()}},Ia=w=>{Ne(w[E.value])===void 0&&kt.value&&(t.emit("tag",w[E.value],x),t.emit("option",w[E.value],x),t.emit("create",w[E.value],x),Yt.value&&ns(w),ee())},Jn=()=>{s.value!=="single"&&rt(He.value.filter(w=>!w.disabled&&!Ve(w)))},es=w=>w.find(A=>!Ve(A)&&!A[g.value])===void 0,ts=w=>w.find(A=>!Ve(A))===void 0,Ne=w=>pe.value[pe.value.map(A=>String(A[E.value])).indexOf(String(w))],as=w=>pe.value.findIndex(A=>Ge.value.some(G=>(parseInt(A[G])==A[G]?parseInt(A[G]):A[G])===(parseInt(w)==w?parseInt(w):w))),os=w=>["tags","multiple"].indexOf(s.value)!==-1&&i.value&&Ve(w),ns=w=>{Pe.value.push(w)},ss=w=>$.value?w.filter(A=>H.value?A.__VISIBLE__.length:A[V.value].length):w.filter(A=>H.value?A.__VISIBLE__.length:!0),La=(w,A=!0)=>{let G=w;if(H.value&&f.value){let te=q.value;te||(te=(Xe,Mo,u9)=>Ge.value.some(rs=>{let Ao=Fa(qt(Xe[rs]),z.value);return S.value?Ao.startsWith(Fa(Mo,z.value)):Ao.indexOf(Fa(Mo,z.value))!==-1})),G=G.filter(Xe=>te(Xe,H.value,x))}return i.value&&A&&(G=G.filter(te=>!os(te))),G},Da=w=>{let A=w;return Sp(A)&&(A=Object.keys(A).map(G=>{let te=A[G];return{[E.value]:G,[Ge.value[0]]:te,[d.value]:te}})),A=A.map(G=>typeof G=="object"?G:{[E.value]:G,[Ge.value[0]]:G,[d.value]:G}),A},Gt=()=>{be(N.value)||(D.value=Qt(N.value))},Xt=w=>(ue.value=!0,new Promise((A,G)=>{n.value(H.value,x).then(te=>{ye.value=te||[],typeof w=="function"&&w(te),ue.value=!1}).catch(te=>{console.error(te),ye.value=[],ue.value=!1}).finally(()=>{A()})})),Pa=()=>{if(Aa.value)if(s.value==="single"){let w=Ne(D.value[E.value]);if(w!==void 0){let A=w[d.value];D.value[d.value]=A,_.value&&(N.value[d.value]=A)}}else D.value.forEach((w,A)=>{let G=Ne(D.value[A][E.value]);if(G!==void 0){let te=G[d.value];D.value[A][d.value]=te,_.value&&(N.value[A][d.value]=te)}})},ls=w=>{Xt(w)},Qt=w=>be(w)?s.value==="single"?{}:[]:_.value?w:s.value==="single"?Ne(w)||(L.value?{[d.value]:w,[E.value]:w,[Ge.value[0]]:w}:{}):w.filter(A=>!!Ne(A)||L.value).map(A=>Ne(A)||{[d.value]:A,[E.value]:A,[Ge.value[0]]:A}),So=()=>{ge.value=e.watch(H,w=>{w.length<y.value||!w&&y.value!==0||(ue.value=!0,B.value&&(ye.value=[]),setTimeout(()=>{w==H.value&&n.value(H.value,x).then(A=>{(w==H.value||!H.value)&&(ye.value=A,yt.value=He.value.filter(G=>G[g.value]!==!0)[0]||null,ue.value=!1)}).catch(A=>{console.error(A)})},h.value))},{flush:"sync"})};if(s.value!=="single"&&!be(N.value)&&!Array.isArray(N.value))throw new Error(`v-model must be an array when using "${s.value}" mode`);return n&&typeof n.value=="function"?b.value?Xt(Gt):_.value==!0&&Gt():(ye.value=n.value,Gt()),h.value>-1&&So(),e.watch(h,(w,A)=>{ge.value&&ge.value(),w>=0&&So()}),e.watch(N,w=>{if(be(w)){ie(Qt(w),!1);return}switch(s.value){case"single":(_.value?w[E.value]!=D.value[E.value]:w!=D.value[E.value])&&ie(Qt(w),!1);break;case"multiple":case"tags":Mp(_.value?w.map(A=>A[E.value]):w,D.value.map(A=>A[E.value]))||ie(Qt(w),!1);break}},{deep:!0}),e.watch(n,(w,A)=>{typeof a.options=="function"?b.value&&(!A||w&&w.toString()!==A.toString())&&Xt():(ye.value=a.options,Object.keys(D.value).length||Gt(),Pa())}),e.watch(d,Pa),e.watch(l,(w,A)=>{Be.value=U.value&&w===-1?10:w}),{pfo:wt,fo:He,filteredOptions:He,hasSelected:Aa,multipleLabelText:xn,eo:pe,extendedOptions:pe,eg:Ke,extendedGroups:Ke,fg:Ma,filteredGroups:Ma,noOptions:Wn,noResults:qn,resolving:ue,busy:Kn,offset:Be,select:rt,deselect:it,remove:Bo,selectAll:Jn,clear:Vo,isSelected:Ve,isDisabled:Ta,isMax:Oa,getOption:Ne,handleOptionClick:Xn,handleGroupClick:Qn,handleTagRemove:Gn,refreshOptions:ls,resolveOptions:Xt,refreshLabels:Pa}}function Tp(a,t,o){const{valueProp:n,showOptions:s,searchable:r,groupLabel:l,groups:i,mode:c,groupSelect:p,disabledProp:d,groupOptions:u}=e.toRefs(a),m=o.fo,v=o.fg,_=o.handleOptionClick,C=o.handleGroupClick,h=o.search,b=o.pointer,y=o.setPointer,f=o.clearPointer,B=o.multiselect,M=o.isOpen,E=e.computed(()=>m.value.filter(N=>!N[d.value])),L=e.computed(()=>v.value.filter(N=>!N[d.value])),P=e.computed(()=>c.value!=="single"&&p.value),R=e.computed(()=>b.value&&b.value.group),F=e.computed(()=>x(b.value)),z=e.computed(()=>{const N=R.value?b.value:x(b.value),H=L.value.map(ie=>ie[l.value]).indexOf(N[l.value]);let ee=L.value[H-1];return ee===void 0&&(ee=j.value),ee}),T=e.computed(()=>{let N=L.value.map(H=>H.label).indexOf(R.value?b.value[l.value]:x(b.value)[l.value])+1;return L.value.length<=N&&(N=0),L.value[N]}),j=e.computed(()=>[...L.value].slice(-1)[0]),Y=e.computed(()=>b.value.__VISIBLE__.filter(N=>!N[d.value])[0]),Z=e.computed(()=>{const N=F.value.__VISIBLE__.filter(H=>!H[d.value]);return N[N.map(H=>H[n.value]).indexOf(b.value[n.value])-1]}),U=e.computed(()=>{const N=x(b.value).__VISIBLE__.filter(H=>!H[d.value]);return N[N.map(H=>H[n.value]).indexOf(b.value[n.value])+1]}),V=e.computed(()=>[...z.value.__VISIBLE__.filter(N=>!N[d.value])].slice(-1)[0]),$=e.computed(()=>[...j.value.__VISIBLE__.filter(N=>!N[d.value])].slice(-1)[0]),k=N=>b.value&&(!N.group&&b.value[n.value]===N[n.value]||N.group!==void 0&&b.value[l.value]===N[l.value])?!0:void 0,O=()=>{y(E.value[0]||null)},g=()=>{!b.value||b.value[d.value]===!0||(R.value?C(b.value):_(b.value))},S=()=>{if(b.value===null)y((i.value&&P.value?L.value[0].__CREATE__?E.value[0]:L.value[0]:E.value[0])||null);else if(i.value&&P.value){let N=R.value?Y.value:U.value;N===void 0&&(N=T.value,N.__CREATE__&&(N=N[u.value][0])),y(N||null)}else{let N=E.value.map(H=>H[n.value]).indexOf(b.value[n.value])+1;E.value.length<=N&&(N=0),y(E.value[N]||null)}e.nextTick(()=>{D()})},q=()=>{if(b.value===null){let N=E.value[E.value.length-1];i.value&&P.value&&(N=$.value,N===void 0&&(N=j.value)),y(N||null)}else if(i.value&&P.value){let N=R.value?V.value:Z.value;N===void 0&&(N=R.value?z.value:F.value,N.__CREATE__&&(N=V.value,N===void 0&&(N=z.value))),y(N||null)}else{let N=E.value.map(H=>H[n.value]).indexOf(b.value[n.value])-1;N<0&&(N=E.value.length-1),y(E.value[N]||null)}e.nextTick(()=>{D()})},x=N=>L.value.find(H=>H.__VISIBLE__.map(ee=>ee[n.value]).indexOf(N[n.value])!==-1),D=()=>{let N=B.value.querySelector("[data-pointed]");if(!N)return;let H=N.parentElement.parentElement;i.value&&(H=R.value?N.parentElement.parentElement.parentElement:N.parentElement.parentElement.parentElement.parentElement),N.offsetTop+N.offsetHeight>H.clientHeight+H.scrollTop&&(H.scrollTop=N.offsetTop+N.offsetHeight-H.clientHeight),N.offsetTop<H.scrollTop&&(H.scrollTop=N.offsetTop)};return e.watch(h,N=>{r.value&&(N.length&&s.value?O():f())}),e.watch(M,N=>{if(N){let H=B.value.querySelectorAll("[data-selected]")[0];if(!H)return;let ee=H.parentElement.parentElement;e.nextTick(()=>{ee.scrollTop>0||(ee.scrollTop=H.offsetTop)})}}),{pointer:b,canPointGroups:P,isPointed:k,setPointerFirst:O,selectPointer:g,forwardPointer:S,backwardPointer:q}}function de(a){if(a==null)return window;if(a.toString()!=="[object Window]"){var t=a.ownerDocument;return t&&t.defaultView||window}return a}function st(a){var t=de(a).Element;return a instanceof t||a instanceof Element}function he(a){var t=de(a).HTMLElement;return a instanceof t||a instanceof HTMLElement}function so(a){if(typeof ShadowRoot>"u")return!1;var t=de(a).ShadowRoot;return a instanceof t||a instanceof ShadowRoot}var at=Math.max,pa=Math.min,ft=Math.round;function xa(){var a=navigator.userAgentData;return a!=null&&a.brands&&Array.isArray(a.brands)?a.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function Tn(){return!/^((?!chrome|android).)*safari/i.test(xa())}function ht(a,t,o){t===void 0&&(t=!1),o===void 0&&(o=!1);var n=a.getBoundingClientRect(),s=1,r=1;t&&he(a)&&(s=a.offsetWidth>0&&ft(n.width)/a.offsetWidth||1,r=a.offsetHeight>0&&ft(n.height)/a.offsetHeight||1);var l=st(a)?de(a):window,i=l.visualViewport,c=!Tn()&&o,p=(n.left+(c&&i?i.offsetLeft:0))/s,d=(n.top+(c&&i?i.offsetTop:0))/r,u=n.width/s,m=n.height/r;return{width:u,height:m,top:d,right:p+u,bottom:d+m,left:p,x:p,y:d}}function lo(a){var t=de(a),o=t.pageXOffset,n=t.pageYOffset;return{scrollLeft:o,scrollTop:n}}function Op(a){return{scrollLeft:a.scrollLeft,scrollTop:a.scrollTop}}function Ip(a){return a===de(a)||!he(a)?lo(a):Op(a)}function $e(a){return a?(a.nodeName||"").toLowerCase():null}function qe(a){return((st(a)?a.ownerDocument:a.document)||window.document).documentElement}function ro(a){return ht(qe(a)).left+lo(a).scrollLeft}function Oe(a){return de(a).getComputedStyle(a)}function io(a){var t=Oe(a),o=t.overflow,n=t.overflowX,s=t.overflowY;return/auto|scroll|overlay|hidden/.test(o+s+n)}function Lp(a){var t=a.getBoundingClientRect(),o=ft(t.width)/a.offsetWidth||1,n=ft(t.height)/a.offsetHeight||1;return o!==1||n!==1}function Dp(a,t,o){o===void 0&&(o=!1);var n=he(t),s=he(t)&&Lp(t),r=qe(t),l=ht(a,s,o),i={scrollLeft:0,scrollTop:0},c={x:0,y:0};return(n||!n&&!o)&&(($e(t)!=="body"||io(r))&&(i=Ip(t)),he(t)?(c=ht(t,!0),c.x+=t.clientLeft,c.y+=t.clientTop):r&&(c.x=ro(r))),{x:l.left+i.scrollLeft-c.x,y:l.top+i.scrollTop-c.y,width:l.width,height:l.height}}function On(a){var t=ht(a),o=a.offsetWidth,n=a.offsetHeight;return Math.abs(t.width-o)<=1&&(o=t.width),Math.abs(t.height-n)<=1&&(n=t.height),{x:a.offsetLeft,y:a.offsetTop,width:o,height:n}}function $a(a){return $e(a)==="html"?a:a.assignedSlot||a.parentNode||(so(a)?a.host:null)||qe(a)}function In(a){return["html","body","#document"].indexOf($e(a))>=0?a.ownerDocument.body:he(a)&&io(a)?a:In($a(a))}function Mt(a,t){var o;t===void 0&&(t=[]);var n=In(a),s=n===((o=a.ownerDocument)==null?void 0:o.body),r=de(n),l=s?[r].concat(r.visualViewport||[],io(n)?n:[]):n,i=t.concat(l);return s?i:i.concat(Mt($a(l)))}function Pp(a){return["table","td","th"].indexOf($e(a))>=0}function zo(a){return!he(a)||Oe(a).position==="fixed"?null:a.offsetParent}function Hp(a){var t=/firefox/i.test(xa()),o=/Trident/i.test(xa());if(o&&he(a)){var n=Oe(a);if(n.position==="fixed")return null}var s=$a(a);for(so(s)&&(s=s.host);he(s)&&["html","body"].indexOf($e(s))<0;){var r=Oe(s);if(r.transform!=="none"||r.perspective!=="none"||r.contain==="paint"||["transform","perspective"].indexOf(r.willChange)!==-1||t&&r.willChange==="filter"||t&&r.filter&&r.filter!=="none")return s;s=s.parentNode}return null}function Ea(a){for(var t=de(a),o=zo(a);o&&Pp(o)&&Oe(o).position==="static";)o=zo(o);return o&&($e(o)==="html"||$e(o)==="body"&&Oe(o).position==="static")?t:o||Hp(a)||t}var _e="top",Ee="bottom",Ze="right",Se="left",co="auto",Ba=[_e,Ee,Ze,Se],Ct="start",Ht="end",Rp="clippingParents",Ln="viewport",St="popper",jp="reference",Zo=Ba.reduce(function(a,t){return a.concat([t+"-"+Ct,t+"-"+Ht])},[]),Fp=[].concat(Ba,[co]).reduce(function(a,t){return a.concat([t,t+"-"+Ct,t+"-"+Ht])},[]),Up="beforeRead",zp="read",Zp="afterRead",xp="beforeMain",Wp="main",qp="afterMain",Yp="beforeWrite",Kp="write",Gp="afterWrite",Xp=[Up,zp,Zp,xp,Wp,qp,Yp,Kp,Gp];function Qp(a){var t=new Map,o=new Set,n=[];a.forEach(function(r){t.set(r.name,r)});function s(r){o.add(r.name);var l=[].concat(r.requires||[],r.requiresIfExists||[]);l.forEach(function(i){if(!o.has(i)){var c=t.get(i);c&&s(c)}}),n.push(r)}return a.forEach(function(r){o.has(r.name)||s(r)}),n}function Jp(a){var t=Qp(a);return Xp.reduce(function(o,n){return o.concat(t.filter(function(s){return s.phase===n}))},[])}function e5(a){var t;return function(){return t||(t=new Promise(function(o){Promise.resolve().then(function(){t=void 0,o(a())})})),t}}function t5(a){var t=a.reduce(function(o,n){var s=o[n.name];return o[n.name]=s?Object.assign({},s,n,{options:Object.assign({},s.options,n.options),data:Object.assign({},s.data,n.data)}):n,o},{});return Object.keys(t).map(function(o){return t[o]})}function a5(a,t){var o=de(a),n=qe(a),s=o.visualViewport,r=n.clientWidth,l=n.clientHeight,i=0,c=0;if(s){r=s.width,l=s.height;var p=Tn();(p||!p&&t==="fixed")&&(i=s.offsetLeft,c=s.offsetTop)}return{width:r,height:l,x:i+ro(a),y:c}}function o5(a){var t,o=qe(a),n=lo(a),s=(t=a.ownerDocument)==null?void 0:t.body,r=at(o.scrollWidth,o.clientWidth,s?s.scrollWidth:0,s?s.clientWidth:0),l=at(o.scrollHeight,o.clientHeight,s?s.scrollHeight:0,s?s.clientHeight:0),i=-n.scrollLeft+ro(a),c=-n.scrollTop;return Oe(s||o).direction==="rtl"&&(i+=at(o.clientWidth,s?s.clientWidth:0)-r),{width:r,height:l,x:i,y:c}}function n5(a,t){var o=t.getRootNode&&t.getRootNode();if(a.contains(t))return!0;if(o&&so(o)){var n=t;do{if(n&&a.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function Wa(a){return Object.assign({},a,{left:a.x,top:a.y,right:a.x+a.width,bottom:a.y+a.height})}function s5(a,t){var o=ht(a,!1,t==="fixed");return o.top=o.top+a.clientTop,o.left=o.left+a.clientLeft,o.bottom=o.top+a.clientHeight,o.right=o.left+a.clientWidth,o.width=a.clientWidth,o.height=a.clientHeight,o.x=o.left,o.y=o.top,o}function xo(a,t,o){return t===Ln?Wa(a5(a,o)):st(t)?s5(t,o):Wa(o5(qe(a)))}function l5(a){var t=Mt($a(a)),o=["absolute","fixed"].indexOf(Oe(a).position)>=0,n=o&&he(a)?Ea(a):a;return st(n)?t.filter(function(s){return st(s)&&n5(s,n)&&$e(s)!=="body"}):[]}function r5(a,t,o,n){var s=t==="clippingParents"?l5(a):[].concat(t),r=[].concat(s,[o]),l=r[0],i=r.reduce(function(c,p){var d=xo(a,p,n);return c.top=at(d.top,c.top),c.right=pa(d.right,c.right),c.bottom=pa(d.bottom,c.bottom),c.left=at(d.left,c.left),c},xo(a,l,n));return i.width=i.right-i.left,i.height=i.bottom-i.top,i.x=i.left,i.y=i.top,i}function Fe(a){return a.split("-")[0]}function gt(a){return a.split("-")[1]}function Dn(a){return["top","bottom"].indexOf(a)>=0?"x":"y"}function Pn(a){var t=a.reference,o=a.element,n=a.placement,s=n?Fe(n):null,r=n?gt(n):null,l=t.x+t.width/2-o.width/2,i=t.y+t.height/2-o.height/2,c;switch(s){case _e:c={x:l,y:t.y-o.height};break;case Ee:c={x:l,y:t.y+t.height};break;case Ze:c={x:t.x+t.width,y:i};break;case Se:c={x:t.x-o.width,y:i};break;default:c={x:t.x,y:t.y}}var p=s?Dn(s):null;if(p!=null){var d=p==="y"?"height":"width";switch(r){case Ct:c[p]=c[p]-(t[d]/2-o[d]/2);break;case Ht:c[p]=c[p]+(t[d]/2-o[d]/2);break}}return c}function Hn(){return{top:0,right:0,bottom:0,left:0}}function i5(a){return Object.assign({},Hn(),a)}function c5(a,t){return t.reduce(function(o,n){return o[n]=a,o},{})}function uo(a,t){t===void 0&&(t={});var o=t,n=o.placement,s=n===void 0?a.placement:n,r=o.strategy,l=r===void 0?a.strategy:r,i=o.boundary,c=i===void 0?Rp:i,p=o.rootBoundary,d=p===void 0?Ln:p,u=o.elementContext,m=u===void 0?St:u,v=o.altBoundary,_=v===void 0?!1:v,C=o.padding,h=C===void 0?0:C,b=i5(typeof h!="number"?h:c5(h,Ba)),y=m===St?jp:St,f=a.rects.popper,B=a.elements[_?y:m],M=r5(st(B)?B:B.contextElement||qe(a.elements.popper),c,d,l),E=ht(a.elements.reference),L=Pn({reference:E,element:f,strategy:"absolute",placement:s}),P=Wa(Object.assign({},f,L)),R=m===St?P:E,F={top:M.top-R.top+b.top,bottom:R.bottom-M.bottom+b.bottom,left:M.left-R.left+b.left,right:R.right-M.right+b.right},z=a.modifiersData.offset;if(m===St&&z){var T=z[s];Object.keys(F).forEach(function(j){var Y=[Ze,Ee].indexOf(j)>=0?1:-1,Z=[_e,Ee].indexOf(j)>=0?"y":"x";F[j]+=T[Z]*Y})}return F}var Wo={placement:"bottom",modifiers:[],strategy:"absolute"};function qo(){for(var a=arguments.length,t=new Array(a),o=0;o<a;o++)t[o]=arguments[o];return!t.some(function(n){return!(n&&typeof n.getBoundingClientRect=="function")})}function d5(a){a===void 0&&(a={});var t=a,o=t.defaultModifiers,n=o===void 0?[]:o,s=t.defaultOptions,r=s===void 0?Wo:s;return function(i,c,p){p===void 0&&(p=r);var d={placement:"bottom",orderedModifiers:[],options:Object.assign({},Wo,r),modifiersData:{},elements:{reference:i,popper:c},attributes:{},styles:{}},u=[],m=!1,v={state:d,setOptions:function(b){var y=typeof b=="function"?b(d.options):b;C(),d.options=Object.assign({},r,d.options,y),d.scrollParents={reference:st(i)?Mt(i):i.contextElement?Mt(i.contextElement):[],popper:Mt(c)};var f=Jp(t5([].concat(n,d.options.modifiers)));return d.orderedModifiers=f.filter(function(B){return B.enabled}),_(),v.update()},forceUpdate:function(){if(!m){var b=d.elements,y=b.reference,f=b.popper;if(qo(y,f)){d.rects={reference:Dp(y,Ea(f),d.options.strategy==="fixed"),popper:On(f)},d.reset=!1,d.placement=d.options.placement,d.orderedModifiers.forEach(function(F){return d.modifiersData[F.name]=Object.assign({},F.data)});for(var B=0;B<d.orderedModifiers.length;B++){if(d.reset===!0){d.reset=!1,B=-1;continue}var M=d.orderedModifiers[B],E=M.fn,L=M.options,P=L===void 0?{}:L,R=M.name;typeof E=="function"&&(d=E({state:d,options:P,name:R,instance:v})||d)}}}},update:e5(function(){return new Promise(function(h){v.forceUpdate(),h(d)})}),destroy:function(){C(),m=!0}};if(!qo(i,c))return v;v.setOptions(p).then(function(h){!m&&p.onFirstUpdate&&p.onFirstUpdate(h)});function _(){d.orderedModifiers.forEach(function(h){var b=h.name,y=h.options,f=y===void 0?{}:y,B=h.effect;if(typeof B=="function"){var M=B({state:d,name:b,instance:v,options:f}),E=function(){};u.push(M||E)}})}function C(){u.forEach(function(h){return h()}),u=[]}return v}}var oa={passive:!0};function u5(a){var t=a.state,o=a.instance,n=a.options,s=n.scroll,r=s===void 0?!0:s,l=n.resize,i=l===void 0?!0:l,c=de(t.elements.popper),p=[].concat(t.scrollParents.reference,t.scrollParents.popper);return r&&p.forEach(function(d){d.addEventListener("scroll",o.update,oa)}),i&&c.addEventListener("resize",o.update,oa),function(){r&&p.forEach(function(d){d.removeEventListener("scroll",o.update,oa)}),i&&c.removeEventListener("resize",o.update,oa)}}var p5={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:u5,data:{}};function m5(a){var t=a.state,o=a.name;t.modifiersData[o]=Pn({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}var v5={name:"popperOffsets",enabled:!0,phase:"read",fn:m5,data:{}},f5={top:"auto",right:"auto",bottom:"auto",left:"auto"};function h5(a,t){var o=a.x,n=a.y,s=t.devicePixelRatio||1;return{x:ft(o*s)/s||0,y:ft(n*s)/s||0}}function Yo(a){var t,o=a.popper,n=a.popperRect,s=a.placement,r=a.variation,l=a.offsets,i=a.position,c=a.gpuAcceleration,p=a.adaptive,d=a.roundOffsets,u=a.isFixed,m=l.x,v=m===void 0?0:m,_=l.y,C=_===void 0?0:_,h=typeof d=="function"?d({x:v,y:C}):{x:v,y:C};v=h.x,C=h.y;var b=l.hasOwnProperty("x"),y=l.hasOwnProperty("y"),f=Se,B=_e,M=window;if(p){var E=Ea(o),L="clientHeight",P="clientWidth";if(E===de(o)&&(E=qe(o),Oe(E).position!=="static"&&i==="absolute"&&(L="scrollHeight",P="scrollWidth")),E=E,s===_e||(s===Se||s===Ze)&&r===Ht){B=Ee;var R=u&&E===M&&M.visualViewport?M.visualViewport.height:E[L];C-=R-n.height,C*=c?1:-1}if(s===Se||(s===_e||s===Ee)&&r===Ht){f=Ze;var F=u&&E===M&&M.visualViewport?M.visualViewport.width:E[P];v-=F-n.width,v*=c?1:-1}}var z=Object.assign({position:i},p&&f5),T=d===!0?h5({x:v,y:C},de(o)):{x:v,y:C};if(v=T.x,C=T.y,c){var j;return Object.assign({},z,(j={},j[B]=y?"0":"",j[f]=b?"0":"",j.transform=(M.devicePixelRatio||1)<=1?"translate("+v+"px, "+C+"px)":"translate3d("+v+"px, "+C+"px, 0)",j))}return Object.assign({},z,(t={},t[B]=y?C+"px":"",t[f]=b?v+"px":"",t.transform="",t))}function C5(a){var t=a.state,o=a.options,n=o.gpuAcceleration,s=n===void 0?!0:n,r=o.adaptive,l=r===void 0?!0:r,i=o.roundOffsets,c=i===void 0?!0:i,p={placement:Fe(t.placement),variation:gt(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:s,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,Yo(Object.assign({},p,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:l,roundOffsets:c})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,Yo(Object.assign({},p,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:c})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}var g5={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:C5,data:{}};function _5(a){var t=a.state;Object.keys(t.elements).forEach(function(o){var n=t.styles[o]||{},s=t.attributes[o]||{},r=t.elements[o];!he(r)||!$e(r)||(Object.assign(r.style,n),Object.keys(s).forEach(function(l){var i=s[l];i===!1?r.removeAttribute(l):r.setAttribute(l,i===!0?"":i)}))})}function y5(a){var t=a.state,o={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,o.popper),t.styles=o,t.elements.arrow&&Object.assign(t.elements.arrow.style,o.arrow),function(){Object.keys(t.elements).forEach(function(n){var s=t.elements[n],r=t.attributes[n]||{},l=Object.keys(t.styles.hasOwnProperty(n)?t.styles[n]:o[n]),i=l.reduce(function(c,p){return c[p]="",c},{});!he(s)||!$e(s)||(Object.assign(s.style,i),Object.keys(r).forEach(function(c){s.removeAttribute(c)}))})}}var b5={name:"applyStyles",enabled:!0,phase:"write",fn:_5,effect:y5,requires:["computeStyles"]},k5=[p5,v5,g5,b5],w5=d5({defaultModifiers:k5});function $5(a){return a==="x"?"y":"x"}function na(a,t,o){return at(a,pa(t,o))}function E5(a,t,o){var n=na(a,t,o);return n>o?o:n}function B5(a){var t=a.state,o=a.options,n=a.name,s=o.mainAxis,r=s===void 0?!0:s,l=o.altAxis,i=l===void 0?!1:l,c=o.boundary,p=o.rootBoundary,d=o.altBoundary,u=o.padding,m=o.tether,v=m===void 0?!0:m,_=o.tetherOffset,C=_===void 0?0:_,h=uo(t,{boundary:c,rootBoundary:p,padding:u,altBoundary:d}),b=Fe(t.placement),y=gt(t.placement),f=!y,B=Dn(b),M=$5(B),E=t.modifiersData.popperOffsets,L=t.rects.reference,P=t.rects.popper,R=typeof C=="function"?C(Object.assign({},t.rects,{placement:t.placement})):C,F=typeof R=="number"?{mainAxis:R,altAxis:R}:Object.assign({mainAxis:0,altAxis:0},R),z=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,T={x:0,y:0};if(E){if(r){var j,Y=B==="y"?_e:Se,Z=B==="y"?Ee:Ze,U=B==="y"?"height":"width",V=E[B],$=V+h[Y],k=V-h[Z],O=v?-P[U]/2:0,g=y===Ct?L[U]:P[U],S=y===Ct?-P[U]:-L[U],q=t.elements.arrow,x=v&&q?On(q):{width:0,height:0},D=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:Hn(),N=D[Y],H=D[Z],ee=na(0,L[U],x[U]),ie=f?L[U]/2-O-ee-N-F.mainAxis:g-ee-N-F.mainAxis,yt=f?-L[U]/2+O+ee+H+F.mainAxis:S+ee+H+F.mainAxis,bt=t.elements.arrow&&Ea(t.elements.arrow),Le=bt?B==="y"?bt.clientTop||0:bt.clientLeft||0:0,Wt=(j=z==null?void 0:z[B])!=null?j:0,Sa=V+ie-Wt-Le,De=V+yt-Wt,qt=na(v?pa($,Sa):$,V,v?at(k,De):k);E[B]=qt,T[B]=qt-V}if(i){var Pe,ye=B==="x"?_e:Se,ue=B==="x"?Ee:Ze,ge=E[M],Be=M==="y"?"height":"width",kt=ge+h[ye],Yt=ge-h[ue],pe=[_e,Se].indexOf(b)!==-1,wt=(Pe=z==null?void 0:z[M])!=null?Pe:0,He=pe?kt:ge-L[Be]-P[Be]-wt+F.altAxis,Ke=pe?ge+L[Be]+P[Be]-wt-F.altAxis:Yt,Kt=v&&pe?E5(He,ge,Ke):na(v?He:kt,ge,v?Ke:Yt);E[M]=Kt,T[M]=Kt-ge}t.modifiersData[n]=T}}var V5={name:"preventOverflow",enabled:!0,phase:"main",fn:B5,requiresIfExists:["offset"]},N5={left:"right",right:"left",bottom:"top",top:"bottom"};function sa(a){return a.replace(/left|right|bottom|top/g,function(t){return N5[t]})}var S5={start:"end",end:"start"};function Ko(a){return a.replace(/start|end/g,function(t){return S5[t]})}function M5(a,t){t===void 0&&(t={});var o=t,n=o.placement,s=o.boundary,r=o.rootBoundary,l=o.padding,i=o.flipVariations,c=o.allowedAutoPlacements,p=c===void 0?Fp:c,d=gt(n),u=d?i?Zo:Zo.filter(function(_){return gt(_)===d}):Ba,m=u.filter(function(_){return p.indexOf(_)>=0});m.length===0&&(m=u);var v=m.reduce(function(_,C){return _[C]=uo(a,{placement:C,boundary:s,rootBoundary:r,padding:l})[Fe(C)],_},{});return Object.keys(v).sort(function(_,C){return v[_]-v[C]})}function A5(a){if(Fe(a)===co)return[];var t=sa(a);return[Ko(a),t,Ko(t)]}function T5(a){var t=a.state,o=a.options,n=a.name;if(!t.modifiersData[n]._skip){for(var s=o.mainAxis,r=s===void 0?!0:s,l=o.altAxis,i=l===void 0?!0:l,c=o.fallbackPlacements,p=o.padding,d=o.boundary,u=o.rootBoundary,m=o.altBoundary,v=o.flipVariations,_=v===void 0?!0:v,C=o.allowedAutoPlacements,h=t.options.placement,b=Fe(h),y=b===h,f=c||(y||!_?[sa(h)]:A5(h)),B=[h].concat(f).reduce(function(x,D){return x.concat(Fe(D)===co?M5(t,{placement:D,boundary:d,rootBoundary:u,padding:p,flipVariations:_,allowedAutoPlacements:C}):D)},[]),M=t.rects.reference,E=t.rects.popper,L=new Map,P=!0,R=B[0],F=0;F<B.length;F++){var z=B[F],T=Fe(z),j=gt(z)===Ct,Y=[_e,Ee].indexOf(T)>=0,Z=Y?"width":"height",U=uo(t,{placement:z,boundary:d,rootBoundary:u,altBoundary:m,padding:p}),V=Y?j?Ze:Se:j?Ee:_e;M[Z]>E[Z]&&(V=sa(V));var $=sa(V),k=[];if(r&&k.push(U[T]<=0),i&&k.push(U[V]<=0,U[$]<=0),k.every(function(x){return x})){R=z,P=!1;break}L.set(z,k)}if(P)for(var O=_?3:1,g=function(D){var N=B.find(function(H){var ee=L.get(H);if(ee)return ee.slice(0,D).every(function(ie){return ie})});if(N)return R=N,"break"},S=O;S>0;S--){var q=g(S);if(q==="break")break}t.placement!==R&&(t.modifiersData[n]._skip=!0,t.placement=R,t.reset=!0)}}var O5={name:"flip",enabled:!0,phase:"main",fn:T5,requiresIfExists:["offset"],data:{_skip:!1}};function I5(a,t,o){const{disabled:n,appendTo:s,appendToBody:r,openDirection:l}=e.toRefs(a),i=e.getCurrentInstance().proxy,c=o.multiselect,p=o.dropdown,d=e.ref(!1),u=e.ref(null),m=e.ref(null),v=e.computed(()=>s.value||r.value),_=e.computed(()=>l.value==="top"&&m.value==="bottom"||l.value==="bottom"&&m.value!=="top"?"bottom":"top"),C=()=>{d.value||n.value||(d.value=!0,t.emit("open",i),v.value&&e.nextTick(()=>{b()}))},h=()=>{d.value&&(d.value=!1,t.emit("close",i))},b=()=>{if(!u.value)return;let f=parseInt(window.getComputedStyle(p.value).borderTopWidth.replace("px","")),B=parseInt(window.getComputedStyle(p.value).borderBottomWidth.replace("px",""));u.value.setOptions(M=>({...M,modifiers:[...M.modifiers,{name:"offset",options:{offset:[0,(_.value==="top"?f:B)*-1]}}]})),u.value.update()},y=f=>{for(;f&&f!==document.body;){if(getComputedStyle(f).position==="fixed")return!0;f=f.parentElement}return!1};return e.onMounted(()=>{v.value&&(u.value=w5(c.value,p.value,{strategy:y(c.value)?"fixed":void 0,placement:l.value,modifiers:[V5,O5,{name:"sameWidth",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:({state:f})=>{f.styles.popper.width=`${f.rects.reference.width}px`},effect:({state:f})=>{f.elements.popper.style.width=`${f.elements.reference.offsetWidth}px`}},{name:"toggleClass",enabled:!0,phase:"write",fn({state:f}){m.value=f.placement}}]}))}),e.onBeforeUnmount(()=>{!v.value||!u.value||(u.value.destroy(),u.value=null)}),{popper:u,isOpen:d,open:C,close:h,placement:_,updatePopper:b}}function L5(a,t,o){const{searchable:n,disabled:s,clearOnBlur:r}=e.toRefs(a),l=o.input,i=o.open,c=o.close,p=o.clearSearch,d=o.isOpen,u=o.wrapper,m=o.tags,v=e.ref(!1),_=e.ref(!1),C=e.computed(()=>n.value||s.value?-1:0),h=()=>{n.value&&l.value.blur(),u.value.blur()},b=()=>{n.value&&!s.value&&l.value.focus()},y=(P=!0)=>{s.value||(v.value=!0,P&&i())},f=()=>{v.value=!1,setTimeout(()=>{v.value||(c(),r.value&&p())},1)};return{tabindex:C,isActive:v,mouseClicked:_,blur:h,focus:b,activate:y,deactivate:f,handleFocusIn:P=>{P.target.closest("[data-tags]")&&P.target.nodeName!=="INPUT"||P.target.closest("[data-clear]")||y(_.value)},handleFocusOut:()=>{f()},handleCaretClick:()=>{f(),h()},handleMousedown:P=>{_.value=!0,d.value&&(P.target.isEqualNode(u.value)||P.target.isEqualNode(m.value))?setTimeout(()=>{f()},0):!d.value&&(document.activeElement.isEqualNode(u.value)||document.activeElement.isEqualNode(l.value))&&y(),setTimeout(()=>{_.value=!1},0)}}}function D5(a,t,o){const{mode:n,addTagOn:s,openDirection:r,searchable:l,showOptions:i,valueProp:c,groups:p,addOptionOn:d,createTag:u,createOption:m,reverse:v}=e.toRefs(a),_=e.getCurrentInstance().proxy,C=o.iv,h=o.update,b=o.deselect,y=o.search,f=o.setPointer,B=o.selectPointer,M=o.backwardPointer,E=o.forwardPointer,L=o.multiselect,P=o.wrapper,R=o.tags,F=o.isOpen,z=o.open,T=o.blur,j=o.fo,Y=e.computed(()=>u.value||m.value||!1),Z=e.computed(()=>s.value!==void 0?s.value:d.value!==void 0?d.value:["enter"]),U=()=>{n.value==="tags"&&!i.value&&Y.value&&l.value&&!p.value&&f(j.value[j.value.map(k=>k[c.value]).indexOf(y.value)])};return{handleKeydown:k=>{t.emit("keydown",k,_);let O,g;switch(["ArrowLeft","ArrowRight","Enter"].indexOf(k.key)!==-1&&n.value==="tags"&&(O=[...L.value.querySelectorAll("[data-tags] > *")].filter(S=>S!==R.value),g=O.findIndex(S=>S===document.activeElement)),k.key){case"Backspace":if(n.value==="single"||l.value&&[null,""].indexOf(y.value)===-1||C.value.length===0)return;let S=C.value.filter(q=>!q.disabled&&q.remove!==!1);S.length&&b(S[S.length-1]);break;case"Enter":if(k.preventDefault(),k.keyCode===229)return;if(g!==-1&&g!==void 0){h([...C.value].filter((q,x)=>x!==g)),g===O.length-1&&(O.length-1?O[O.length-2].focus():l.value?R.value.querySelector("input").focus():P.value.focus());return}if(Z.value.indexOf("enter")===-1&&Y.value)return;U(),B();break;case" ":if(!Y.value&&!l.value){k.preventDefault(),U(),B();return}if(!Y.value)return!1;if(Z.value.indexOf("space")===-1&&Y.value)return;k.preventDefault(),U(),B();break;case"Tab":case";":case",":if(Z.value.indexOf(k.key.toLowerCase())===-1||!Y.value)return;U(),B(),k.preventDefault();break;case"Escape":T();break;case"ArrowUp":if(k.preventDefault(),!i.value)return;F.value||z(),M();break;case"ArrowDown":if(k.preventDefault(),!i.value)return;F.value||z(),E();break;case"ArrowLeft":if(l.value&&R.value&&R.value.querySelector("input").selectionStart||k.shiftKey||n.value!=="tags"||!C.value||!C.value.length)return;k.preventDefault(),g===-1?O[O.length-1].focus():g>0&&O[g-1].focus();break;case"ArrowRight":if(g===-1||k.shiftKey||n.value!=="tags"||!C.value||!C.value.length)return;k.preventDefault(),O.length>g+1?O[g+1].focus():l.value?R.value.querySelector("input").focus():l.value||P.value.focus();break}},handleKeyup:k=>{t.emit("keyup",k,_)},preparePointer:U}}function P5(a,t,o){const{classes:n,disabled:s,showOptions:r,breakTags:l}=e.toRefs(a),i=o.isOpen,c=o.isPointed,p=o.isSelected,d=o.isDisabled,u=o.isActive,m=o.canPointGroups,v=o.resolving,_=o.fo,C=o.placement,h=e.computed(()=>({container:"multiselect",containerDisabled:"is-disabled",containerOpen:"is-open",containerOpenTop:"is-open-top",containerActive:"is-active",wrapper:"multiselect-wrapper",singleLabel:"multiselect-single-label",singleLabelText:"multiselect-single-label-text",multipleLabel:"multiselect-multiple-label",search:"multiselect-search",tags:"multiselect-tags",tag:"multiselect-tag",tagWrapper:"multiselect-tag-wrapper",tagWrapperBreak:"multiselect-tag-wrapper-break",tagDisabled:"is-disabled",tagRemove:"multiselect-tag-remove",tagRemoveIcon:"multiselect-tag-remove-icon",tagsSearchWrapper:"multiselect-tags-search-wrapper",tagsSearch:"multiselect-tags-search",tagsSearchCopy:"multiselect-tags-search-copy",placeholder:"multiselect-placeholder",caret:"multiselect-caret",caretOpen:"is-open",clear:"multiselect-clear",clearIcon:"multiselect-clear-icon",spinner:"multiselect-spinner",inifinite:"multiselect-inifite",inifiniteSpinner:"multiselect-inifite-spinner",dropdown:"multiselect-dropdown",dropdownTop:"is-top",dropdownHidden:"is-hidden",options:"multiselect-options",optionsTop:"is-top",group:"multiselect-group",groupLabel:"multiselect-group-label",groupLabelPointable:"is-pointable",groupLabelPointed:"is-pointed",groupLabelSelected:"is-selected",groupLabelDisabled:"is-disabled",groupLabelSelectedPointed:"is-selected is-pointed",groupLabelSelectedDisabled:"is-selected is-disabled",groupOptions:"multiselect-group-options",option:"multiselect-option",optionPointed:"is-pointed",optionSelected:"is-selected",optionDisabled:"is-disabled",optionSelectedPointed:"is-selected is-pointed",optionSelectedDisabled:"is-selected is-disabled",noOptions:"multiselect-no-options",noResults:"multiselect-no-results",fakeInput:"multiselect-fake-input",assist:"multiselect-assistive-text",spacer:"multiselect-spacer",...n.value})),b=e.computed(()=>!!(i.value&&r.value&&(!v.value||v.value&&_.value.length)));return{classList:e.computed(()=>{const f=h.value;return{container:[f.container].concat(s.value?f.containerDisabled:[]).concat(b.value&&C.value==="top"?f.containerOpenTop:[]).concat(b.value&&C.value!=="top"?f.containerOpen:[]).concat(u.value?f.containerActive:[]),wrapper:f.wrapper,spacer:f.spacer,singleLabel:f.singleLabel,singleLabelText:f.singleLabelText,multipleLabel:f.multipleLabel,search:f.search,tags:f.tags,tag:[f.tag].concat(s.value?f.tagDisabled:[]),tagWrapper:[f.tagWrapper,l.value?f.tagWrapperBreak:null],tagDisabled:f.tagDisabled,tagRemove:f.tagRemove,tagRemoveIcon:f.tagRemoveIcon,tagsSearchWrapper:f.tagsSearchWrapper,tagsSearch:f.tagsSearch,tagsSearchCopy:f.tagsSearchCopy,placeholder:f.placeholder,caret:[f.caret].concat(i.value?f.caretOpen:[]),clear:f.clear,clearIcon:f.clearIcon,spinner:f.spinner,inifinite:f.inifinite,inifiniteSpinner:f.inifiniteSpinner,dropdown:[f.dropdown].concat(C.value==="top"?f.dropdownTop:[]).concat(!i.value||!r.value||!b.value?f.dropdownHidden:[]),options:[f.options].concat(C.value==="top"?f.optionsTop:[]),group:f.group,groupLabel:B=>{let M=[f.groupLabel];return c(B)?M.push(p(B)?f.groupLabelSelectedPointed:f.groupLabelPointed):p(B)&&m.value?M.push(d(B)?f.groupLabelSelectedDisabled:f.groupLabelSelected):d(B)&&M.push(f.groupLabelDisabled),m.value&&M.push(f.groupLabelPointable),M},groupOptions:f.groupOptions,option:(B,M)=>{let E=[f.option];return c(B)?E.push(p(B)?f.optionSelectedPointed:f.optionPointed):p(B)?E.push(d(B)?f.optionSelectedDisabled:f.optionSelected):(d(B)||M&&d(M))&&E.push(f.optionDisabled),E},noOptions:f.noOptions,noResults:f.noResults,assist:f.assist,fakeInput:f.fakeInput}}),showDropdown:b}}function H5(a,t,o){const{limit:n,infinite:s}=e.toRefs(a),r=o.isOpen,l=o.offset,i=o.search,c=o.pfo,p=o.eo,d=e.ref(null),u=e.ref(null),m=e.computed(()=>l.value<c.value.length),v=C=>{const{isIntersecting:h,target:b}=C[0];if(h){const y=b.offsetParent,f=y.scrollTop;l.value+=n.value==-1?10:n.value,e.nextTick(()=>{y.scrollTop=f})}},_=()=>{r.value&&l.value<c.value.length?d.value.observe(u.value):!r.value&&d.value&&d.value.disconnect()};return e.watch(r,()=>{s.value&&_()}),e.watch(i,()=>{s.value&&(l.value=n.value,_())},{flush:"post"}),e.watch(p,()=>{s.value&&_()},{immediate:!1,flush:"post"}),e.onMounted(()=>{window&&window.IntersectionObserver&&(d.value=new IntersectionObserver(v))}),{hasMore:m,infiniteLoader:u}}function R5(a,t,o){const{placeholder:n,id:s,valueProp:r,label:l,mode:i,groupLabel:c,aria:p,searchable:d}=e.toRefs(a),u=o.pointer,m=o.iv,v=o.hasSelected,_=o.multipleLabelText,C=e.ref(null),h=e.computed(()=>{let T=[];return s&&s.value&&T.push(s.value),T.push("assist"),T.join("-")}),b=e.computed(()=>{let T=[];return s&&s.value&&T.push(s.value),T.push("multiselect-options"),T.join("-")}),y=e.computed(()=>{let T=[];if(s&&s.value&&T.push(s.value),u.value)return T.push(u.value.group?"multiselect-group":"multiselect-option"),T.push(u.value.group?u.value.index:u.value[r.value]),T.join("-")}),f=e.computed(()=>n.value),B=e.computed(()=>i.value!=="single"),M=e.computed(()=>{let T="";return i.value==="single"&&v.value&&(T+=m.value[l.value]),i.value==="multiple"&&v.value&&(T+=_.value),i.value==="tags"&&v.value&&(T+=m.value.map(j=>j[l.value]).join(", ")),T}),E=e.computed(()=>{let T={...p.value};return d.value&&(T["aria-labelledby"]=T["aria-labelledby"]?`${h.value} ${T["aria-labelledby"]}`:h.value,M.value&&T["aria-label"]&&(T["aria-label"]=`${M.value}, ${T["aria-label"]}`)),T}),L=T=>{let j=[];return s&&s.value&&j.push(s.value),j.push("multiselect-option"),j.push(T[r.value]),j.join("-")},P=T=>{let j=[];return s&&s.value&&j.push(s.value),j.push("multiselect-group"),j.push(T.index),j.join("-")},R=T=>{let j=[];return j.push(T),j.join(" ")},F=T=>{let j=[];return j.push(T),j.join(" ")},z=T=>`${T} ❎`;return e.onMounted(()=>{if(s&&s.value&&document&&document.querySelector){let T=document.querySelector(`[for="${s.value}"]`);C.value=T?T.innerText:null}}),{arias:E,ariaLabel:M,ariaAssist:h,ariaControls:b,ariaPlaceholder:f,ariaMultiselectable:B,ariaActiveDescendant:y,ariaOptionId:L,ariaOptionLabel:R,ariaGroupId:P,ariaGroupLabel:F,ariaTagLabel:z}}function j5(a,t,o){const{locale:n,fallbackLocale:s}=e.toRefs(a);return{localize:l=>!l||typeof l!="object"?l:l&&l[n.value]?l[n.value]:l&&n.value&&l[n.value.toUpperCase()]?l[n.value.toUpperCase()]:l&&l[s.value]?l[s.value]:l&&s.value&&l[s.value.toUpperCase()]?l[s.value.toUpperCase()]:l&&Object.keys(l)[0]?l[Object.keys(l)[0]]:""}}function F5(a,t,o){const n=e.ref(null),s=e.ref(null),r=e.ref(null),l=e.ref(null),i=e.ref(null);return{multiselect:n,wrapper:s,tags:r,input:l,dropdown:i}}function U5(a,t,o,n={}){return o.forEach(s=>{s&&(n={...n,...s(a,t,n)})}),n}var je={name:"Multiselect",emits:["paste","open","close","select","deselect","input","search-change","tag","option","update:modelValue","change","clear","keydown","keyup","max","create"],props:{value:{required:!1},modelValue:{required:!1},options:{type:[Array,Object,Function],required:!1,default:()=>[]},id:{type:[String,Number],required:!1},name:{type:[String,Number],required:!1,default:"multiselect"},disabled:{type:Boolean,required:!1,default:!1},label:{type:String,required:!1,default:"label"},trackBy:{type:[String,Array],required:!1,default:void 0},valueProp:{type:String,required:!1,default:"value"},placeholder:{type:String,required:!1,default:null},mode:{type:String,required:!1,default:"single"},searchable:{type:Boolean,required:!1,default:!1},limit:{type:Number,required:!1,default:-1},hideSelected:{type:Boolean,required:!1,default:!0},createTag:{type:Boolean,required:!1,default:void 0},createOption:{type:Boolean,required:!1,default:void 0},appendNewTag:{type:Boolean,required:!1,default:void 0},appendNewOption:{type:Boolean,required:!1,default:void 0},addTagOn:{type:Array,required:!1,default:void 0},addOptionOn:{type:Array,required:!1,default:void 0},caret:{type:Boolean,required:!1,default:!0},loading:{type:Boolean,required:!1,default:!1},noOptionsText:{type:[String,Object],required:!1,default:"The list is empty"},noResultsText:{type:[String,Object],required:!1,default:"No results found"},multipleLabel:{type:Function,required:!1},object:{type:Boolean,required:!1,default:!1},delay:{type:Number,required:!1,default:-1},minChars:{type:Number,required:!1,default:0},resolveOnLoad:{type:Boolean,required:!1,default:!0},filterResults:{type:Boolean,required:!1,default:!0},clearOnSearch:{type:Boolean,required:!1,default:!1},clearOnSelect:{type:Boolean,required:!1,default:!0},canDeselect:{type:Boolean,required:!1,default:!0},canClear:{type:Boolean,required:!1,default:!0},max:{type:Number,required:!1,default:-1},showOptions:{type:Boolean,required:!1,default:!0},required:{type:Boolean,required:!1,default:!1},openDirection:{type:String,required:!1,default:"bottom"},nativeSupport:{type:Boolean,required:!1,default:!1},classes:{type:Object,required:!1,default:()=>({})},strict:{type:Boolean,required:!1,default:!0},closeOnSelect:{type:Boolean,required:!1,default:!0},closeOnDeselect:{type:Boolean,required:!1,default:!1},autocomplete:{type:String,required:!1},groups:{type:Boolean,required:!1,default:!1},groupLabel:{type:String,required:!1,default:"label"},groupOptions:{type:String,required:!1,default:"options"},groupHideEmpty:{type:Boolean,required:!1,default:!1},groupSelect:{type:Boolean,required:!1,default:!0},inputType:{type:String,required:!1,default:"text"},attrs:{required:!1,type:Object,default:()=>({})},onCreate:{required:!1,type:Function},disabledProp:{type:String,required:!1,default:"disabled"},searchStart:{type:Boolean,required:!1,default:!1},reverse:{type:Boolean,required:!1,default:!1},regex:{type:[Object,String,RegExp],required:!1,default:void 0},rtl:{type:Boolean,required:!1,default:!1},infinite:{type:Boolean,required:!1,default:!1},aria:{required:!1,type:Object,default:()=>({})},clearOnBlur:{required:!1,type:Boolean,default:!0},locale:{required:!1,type:String,default:null},fallbackLocale:{required:!1,type:String,default:"en"},searchFilter:{required:!1,type:Function,default:null},allowAbsent:{required:!1,type:Boolean,default:!1},appendToBody:{required:!1,type:Boolean,default:!1},closeOnScroll:{required:!1,type:Boolean,default:!1},breakTags:{required:!1,type:Boolean,default:!1},appendTo:{required:!1,type:String}},setup(a,t){return U5(a,t,[F5,j5,Bp,Np,I5,Vp,Ep,L5,Ap,H5,Tp,D5,P5,R5])},beforeMount(){var a,t;((t=(a=this.$root.constructor)==null?void 0:a.version)!=null&&t.match(/^2\./)||this.vueVersionMs===2)&&(this.$options.components.Teleport||(this.$options.components.Teleport={render(){return this.$slots.default?this.$slots.default[0]:null}}))}};const z5=["id","dir"],Z5=["tabindex","aria-controls","aria-placeholder","aria-expanded","aria-activedescendant","aria-multiselectable","role"],x5=["type","modelValue","value","autocomplete","id","aria-controls","aria-placeholder","aria-expanded","aria-activedescendant","aria-multiselectable"],W5=["onKeyup","aria-label"],q5=["onClick"],Y5=["type","modelValue","value","id","autocomplete","aria-controls","aria-placeholder","aria-expanded","aria-activedescendant","aria-multiselectable"],K5=["innerHTML"],G5=["id"],X5=["id"],Q5=["id","aria-label","aria-selected"],J5=["data-pointed","onMouseenter","onMousedown"],em=["innerHTML"],tm=["aria-label"],am=["data-pointed","data-selected","onMouseenter","onMousedown","id","aria-selected","aria-label"],om=["data-pointed","data-selected","onMouseenter","onMousedown","id","aria-selected","aria-label"],nm=["innerHTML"],sm=["innerHTML"],lm=["value"],rm=["name","value"],im=["name","value"],cm=["id"];function dm(a,t,o,n,s,r){return e.openBlock(),e.createElementBlock("div",{ref:"multiselect",class:e.normalizeClass(a.classList.container),id:o.searchable?void 0:o.id,dir:o.rtl?"rtl":void 0,onFocusin:t[10]||(t[10]=(...l)=>a.handleFocusIn&&a.handleFocusIn(...l)),onFocusout:t[11]||(t[11]=(...l)=>a.handleFocusOut&&a.handleFocusOut(...l)),onKeyup:t[12]||(t[12]=(...l)=>a.handleKeyup&&a.handleKeyup(...l)),onKeydown:t[13]||(t[13]=(...l)=>a.handleKeydown&&a.handleKeydown(...l))},[e.createElementVNode("div",e.mergeProps({class:a.classList.wrapper,onMousedown:t[9]||(t[9]=(...l)=>a.handleMousedown&&a.handleMousedown(...l)),ref:"wrapper",tabindex:a.tabindex,"aria-controls":o.searchable?void 0:a.ariaControls,"aria-placeholder":o.searchable?void 0:a.ariaPlaceholder,"aria-expanded":o.searchable?void 0:a.isOpen,"aria-activedescendant":o.searchable?void 0:a.ariaActiveDescendant,"aria-multiselectable":o.searchable?void 0:a.ariaMultiselectable,role:o.searchable?void 0:"combobox"},o.searchable?{}:a.arias),[e.createCommentVNode(" Search "),o.mode!=="tags"&&o.searchable&&!o.disabled?(e.openBlock(),e.createElementBlock("input",e.mergeProps({key:0,type:o.inputType,modelValue:a.search,value:a.search,class:a.classList.search,autocomplete:o.autocomplete,id:o.searchable?o.id:void 0,onInput:t[0]||(t[0]=(...l)=>a.handleSearchInput&&a.handleSearchInput(...l)),onKeypress:t[1]||(t[1]=(...l)=>a.handleKeypress&&a.handleKeypress(...l)),onPaste:t[2]||(t[2]=e.withModifiers((...l)=>a.handlePaste&&a.handlePaste(...l),["stop"])),ref:"input","aria-controls":a.ariaControls,"aria-placeholder":a.ariaPlaceholder,"aria-expanded":a.isOpen,"aria-activedescendant":a.ariaActiveDescendant,"aria-multiselectable":a.ariaMultiselectable,role:"combobox"},{...o.attrs,...a.arias}),null,16,x5)):e.createCommentVNode("v-if",!0),e.createCommentVNode(" Tags (with search) "),o.mode=="tags"?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(a.classList.tags),"data-tags":""},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.iv,(l,i,c)=>e.renderSlot(a.$slots,"tag",{option:l,handleTagRemove:a.handleTagRemove,disabled:o.disabled},()=>[(e.openBlock(),e.createElementBlock("span",{class:e.normalizeClass([a.classList.tag,l.disabled?a.classList.tagDisabled:null]),tabindex:"-1",onKeyup:e.withKeys(p=>a.handleTagRemove(l,p),["enter"]),key:c,"aria-label":a.ariaTagLabel(a.localize(l[o.label]))},[e.createElementVNode("span",{class:e.normalizeClass(a.classList.tagWrapper)},e.toDisplayString(a.localize(l[o.label])),3),!o.disabled&&!l.disabled?(e.openBlock(),e.createElementBlock("span",{key:0,class:e.normalizeClass(a.classList.tagRemove),onClick:e.withModifiers(p=>a.handleTagRemove(l,p),["stop"])},[e.createElementVNode("span",{class:e.normalizeClass(a.classList.tagRemoveIcon)},null,2)],10,q5)):e.createCommentVNode("v-if",!0)],42,W5))])),256)),e.createElementVNode("div",{class:e.normalizeClass(a.classList.tagsSearchWrapper),ref:"tags"},[e.createCommentVNode(" Used for measuring search width "),e.createElementVNode("span",{class:e.normalizeClass(a.classList.tagsSearchCopy)},e.toDisplayString(a.search),3),e.createCommentVNode(" Actual search input "),o.searchable&&!o.disabled?(e.openBlock(),e.createElementBlock("input",e.mergeProps({key:0,type:o.inputType,modelValue:a.search,value:a.search,class:a.classList.tagsSearch,id:o.searchable?o.id:void 0,autocomplete:o.autocomplete,onInput:t[3]||(t[3]=(...l)=>a.handleSearchInput&&a.handleSearchInput(...l)),onKeypress:t[4]||(t[4]=(...l)=>a.handleKeypress&&a.handleKeypress(...l)),onPaste:t[5]||(t[5]=e.withModifiers((...l)=>a.handlePaste&&a.handlePaste(...l),["stop"])),ref:"input","aria-controls":a.ariaControls,"aria-placeholder":a.ariaPlaceholder,"aria-expanded":a.isOpen,"aria-activedescendant":a.ariaActiveDescendant,"aria-multiselectable":a.ariaMultiselectable,role:"combobox"},{...o.attrs,...a.arias}),null,16,Y5)):e.createCommentVNode("v-if",!0)],2)],2)):e.createCommentVNode("v-if",!0),e.createCommentVNode(" Single label "),o.mode=="single"&&a.hasSelected&&!a.search&&a.iv?e.renderSlot(a.$slots,"singlelabel",{key:2,value:a.iv},()=>[e.createElementVNode("div",{class:e.normalizeClass(a.classList.singleLabel)},[e.createElementVNode("span",{class:e.normalizeClass(a.classList.singleLabelText)},e.toDisplayString(a.localize(a.iv[o.label])),3)],2)]):e.createCommentVNode("v-if",!0),e.createCommentVNode(" Multiple label "),o.mode=="multiple"&&a.hasSelected&&!a.search?e.renderSlot(a.$slots,"multiplelabel",{key:3,values:a.iv},()=>[e.createElementVNode("div",{class:e.normalizeClass(a.classList.multipleLabel),innerHTML:a.multipleLabelText},null,10,K5)]):e.createCommentVNode("v-if",!0),e.createCommentVNode(" Placeholder "),o.placeholder&&!a.hasSelected&&!a.search?e.renderSlot(a.$slots,"placeholder",{key:4},()=>[e.createElementVNode("div",{class:e.normalizeClass(a.classList.placeholder),"aria-hidden":"true"},e.toDisplayString(o.placeholder),3)]):e.createCommentVNode("v-if",!0),e.createCommentVNode(" Spinner "),o.loading||a.resolving?e.renderSlot(a.$slots,"spinner",{key:5},()=>[e.createElementVNode("span",{class:e.normalizeClass(a.classList.spinner),"aria-hidden":"true"},null,2)]):e.createCommentVNode("v-if",!0),e.createCommentVNode(" Clear "),a.hasSelected&&!o.disabled&&o.canClear&&!a.busy?e.renderSlot(a.$slots,"clear",{key:6,clear:a.clear},()=>[e.createElementVNode("span",{"aria-hidden":"true",tabindex:"0",role:"button","data-clear":"","aria-roledescription":"❎",class:e.normalizeClass(a.classList.clear),onClick:t[6]||(t[6]=(...l)=>a.clear&&a.clear(...l)),onKeyup:t[7]||(t[7]=e.withKeys((...l)=>a.clear&&a.clear(...l),["enter"]))},[e.createElementVNode("span",{class:e.normalizeClass(a.classList.clearIcon)},null,2)],34)]):e.createCommentVNode("v-if",!0),e.createCommentVNode(" Caret "),o.caret&&o.showOptions?e.renderSlot(a.$slots,"caret",{key:7,handleCaretClick:a.handleCaretClick,isOpen:a.isOpen},()=>[e.createElementVNode("span",{class:e.normalizeClass(a.classList.caret),onClick:t[8]||(t[8]=(...l)=>a.handleCaretClick&&a.handleCaretClick(...l)),"aria-hidden":"true"},null,2)]):e.createCommentVNode("v-if",!0)],16,Z5),e.createCommentVNode(" Options "),(e.openBlock(),e.createBlock(e.Teleport,{to:o.appendTo||"body",disabled:!o.appendToBody&&!o.appendTo},[e.createElementVNode("div",{id:`${o.id}-dropdown`,class:e.normalizeClass(a.classList.dropdown),tabindex:"-1",ref:"dropdown"},[e.renderSlot(a.$slots,"beforelist",{options:a.fo}),e.createElementVNode("ul",{class:e.normalizeClass(a.classList.options),id:a.ariaControls,role:"listbox"},[o.groups?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(a.fg,(l,i,c)=>(e.openBlock(),e.createElementBlock("li",{class:e.normalizeClass(a.classList.group),key:c,id:a.ariaGroupId(l),"aria-label":a.ariaGroupLabel(a.localize(l[o.groupLabel])),"aria-selected":a.isSelected(l),role:"option"},[l.__CREATE__?e.createCommentVNode("v-if",!0):(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(a.classList.groupLabel(l)),"data-pointed":a.isPointed(l),onMouseenter:p=>a.setPointer(l,i),onMousedown:e.withModifiers(p=>a.handleGroupClick(l),["prevent"])},[e.renderSlot(a.$slots,"grouplabel",{group:l,isSelected:a.isSelected,isPointed:a.isPointed},()=>[e.createElementVNode("span",{innerHTML:a.localize(l[o.groupLabel])},null,8,em)])],42,J5)),e.createElementVNode("ul",{class:e.normalizeClass(a.classList.groupOptions),"aria-label":a.ariaGroupLabel(a.localize(l[o.groupLabel])),role:"group"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.__VISIBLE__,(p,d,u)=>(e.openBlock(),e.createElementBlock("li",{class:e.normalizeClass(a.classList.option(p,l)),"data-pointed":a.isPointed(p),"data-selected":a.isSelected(p)||void 0,key:u,onMouseenter:m=>a.setPointer(p),onMousedown:e.withModifiers(m=>a.handleOptionClick(p),["prevent"]),id:a.ariaOptionId(p),"aria-selected":a.isSelected(p),"aria-label":a.ariaOptionLabel(a.localize(p[o.label])),role:"option"},[e.renderSlot(a.$slots,"option",{option:p,isSelected:a.isSelected,isPointed:a.isPointed,search:a.search},()=>[e.createElementVNode("span",null,e.toDisplayString(a.localize(p[o.label])),1)])],42,am))),128))],10,tm)],10,Q5))),128)):(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:1},e.renderList(a.fo,(l,i,c)=>(e.openBlock(),e.createElementBlock("li",{class:e.normalizeClass(a.classList.option(l)),"data-pointed":a.isPointed(l),"data-selected":a.isSelected(l)||void 0,key:c,onMouseenter:p=>a.setPointer(l),onMousedown:e.withModifiers(p=>a.handleOptionClick(l),["prevent"]),id:a.ariaOptionId(l),"aria-selected":a.isSelected(l),"aria-label":a.ariaOptionLabel(a.localize(l[o.label])),role:"option"},[e.renderSlot(a.$slots,"option",{option:l,isSelected:a.isSelected,isPointed:a.isPointed,search:a.search},()=>[e.createElementVNode("span",null,e.toDisplayString(a.localize(l[o.label])),1)])],42,om))),128))],10,X5),a.noOptions?e.renderSlot(a.$slots,"nooptions",{key:0},()=>[e.createElementVNode("div",{class:e.normalizeClass(a.classList.noOptions),innerHTML:a.localize(o.noOptionsText)},null,10,nm)]):e.createCommentVNode("v-if",!0),a.noResults?e.renderSlot(a.$slots,"noresults",{key:1},()=>[e.createElementVNode("div",{class:e.normalizeClass(a.classList.noResults),innerHTML:a.localize(o.noResultsText)},null,10,sm)]):e.createCommentVNode("v-if",!0),o.infinite&&a.hasMore?(e.openBlock(),e.createElementBlock("div",{key:2,class:e.normalizeClass(a.classList.inifinite),ref:"infiniteLoader"},[e.renderSlot(a.$slots,"infinite",{},()=>[e.createElementVNode("span",{class:e.normalizeClass(a.classList.inifiniteSpinner)},null,2)])],2)):e.createCommentVNode("v-if",!0),e.renderSlot(a.$slots,"afterlist",{options:a.fo})],10,G5)],8,["to","disabled"])),e.createCommentVNode(" Hacky input element to show HTML5 required warning "),o.required?(e.openBlock(),e.createElementBlock("input",{key:0,class:e.normalizeClass(a.classList.fakeInput),tabindex:"-1",value:a.textValue,required:""},null,10,lm)):e.createCommentVNode("v-if",!0),e.createCommentVNode(" Native input support "),o.nativeSupport?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[o.mode=="single"?(e.openBlock(),e.createElementBlock("input",{key:0,type:"hidden",name:o.name,value:a.plainValue!==void 0?a.plainValue:""},null,8,rm)):(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:1},e.renderList(a.plainValue,(l,i)=>(e.openBlock(),e.createElementBlock("input",{type:"hidden",name:`${o.name}[]`,value:l,key:i},null,8,im))),128))],64)):e.createCommentVNode("v-if",!0),e.createCommentVNode(" Screen reader assistive text "),o.searchable&&a.hasSelected?(e.openBlock(),e.createElementBlock("div",{key:2,class:e.normalizeClass(a.classList.assist),id:a.ariaAssist,"aria-hidden":"true"},e.toDisplayString(a.ariaLabel),11,cm)):e.createCommentVNode("v-if",!0),e.createCommentVNode(" Create height for empty input "),e.createElementVNode("div",{class:e.normalizeClass(a.classList.spacer)},null,2)],42,z5)}je.render=dm;je.__file="src/Multiselect.vue";const re=e.defineComponent({__name:"AoMultiselect",props:{detached:{type:Boolean},appendTo:{}},setup(a){const t=a,o=e.toRef(()=>t.appendTo),n=e.ref();return t.detached&&$p({multiselect:n,appendTo:o.value}),(s,r)=>(e.openBlock(),e.createBlock(e.unref(je),{ref_key:"multiselectRef",ref:n,class:"ao-multiselect"},e.createSlots({_:2},[e.renderList(s.$slots,(l,i)=>({name:i,fn:e.withCtx(c=>[e.renderSlot(s.$slots,i,e.normalizeProps(e.guardReactiveProps(c??{})))])}))]),1536))}});var Go;function Ye(){const a=um(),t=a.appContext.config.globalProperties;return{i18next:t.$i18next,t:t.$t.bind(a.proxy)}}function um(){const a=e.getCurrentInstance();if(!a)throw new Error("i18next-vue: No Vue instance in context. Make sure to register the i18next-vue plugin using app.use(...).");return a}e.defineComponent({props:{translation:{type:String,required:!0}},setup(a,{slots:t}){return()=>{const o=a.translation,n=[];let s,r=0;for(;(s=Go.exec(o))!==null;){n.push(o.substring(r,s.index));const l=t[s[1]];l?n.push(...l()):n.push(s[0]),r=Go.lastIndex}return n.push(o.substring(r)),n}}});async function Me(a,t){if(t&&a&&a.length-t.length===1){const o=new Set(t.map(i=>i.id)),n=a.filter(i=>!o.has(i.id));if(n.length!==1)return;const s=n[0].id;await e.nextTick();const r=document.getElementById(s);r==null||r.focus(),await e.nextTick();const l=document.getElementById(s);l==null||l.select()}}const pm={class:"ao-tasks"},mm={class:"ao-tasks__list"},vm=["id","value","readonly","onChange","onKeyup"],fm={class:"ao-tasks__list-footer"},hm=e.defineComponent({__name:"AoActivityTasks",props:{activityId:{},tasks:{},isCheckable:{type:Function},users:{},isEditable:{type:Boolean},isTemplate:{type:Boolean}},emits:["add","delete","update"],setup(a,{emit:t}){const o=a,{t:n}=Ye();e.watch(()=>o.tasks,(u,m)=>{Me(u,m)});const s=e.computed(()=>{var u;return((u=o.users)==null?void 0:u.map(m=>({label:`${m.firstName} ${m.lastName}`,value:m.id,avatar:m.avatarUrl})))??[]}),r=()=>{const u=o.tasks.length,m={name:n("task.defaultName",{idx:u+1}),activityId:o.activityId};t("add",m)},l=(u,m)=>{const _=u.target.value;t("update",{id:m,name:_})},i=(u,m)=>{o.isEditable&&t("update",{id:u,isDone:m})},c=u=>{t("delete",{id:u})},p=(u,m)=>{t("update",{id:m,assigneeId:u[0]??null})},d=u=>{const m=u.target;m==null||m.blur()};return(u,m)=>(e.openBlock(),e.createElementBlock("div",pm,[e.createElementVNode("ul",mm,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(u.tasks,v=>{var _,C;return e.openBlock(),e.createElementBlock("li",{key:v.id,class:"ao-subtask"},[((_=u.isCheckable)==null?void 0:_.call(u,v))??!1?(e.openBlock(),e.createBlock(K,{key:0,class:"ao-subtask__check","icon-name":v.isDone?"CheckBoxOutlineRounded":"CheckBoxOutlineBlank",disabled:!u.isEditable,variant:"ghost",color:"primary",onClick:()=>i(v.id,!v.isDone)},null,8,["icon-name","disabled","onClick"])):e.createCommentVNode("",!0),e.createElementVNode("input",{id:v.id,value:v.name,readonly:!u.isEditable,class:e.normalizeClass(["ao-field__input ao-subtask__field",{"ao-subtask__field--checked":v.isDone}]),type:"text",onChange:h=>l(h,v.id),onKeyup:e.withKeys(d,["enter"])},null,42,vm),e.createTextVNode(". "),!u.isTemplate&&u.users?(e.openBlock(),e.createBlock(re,{key:1,value:(C=v.assignee)!=null&&C.id?[v.assignee.id]:[],options:s.value,"close-on-select":!0,searchable:!0,max:1,class:"ao-subtask__assignees",mode:"tags",placeholder:u.$t("feed.filters.assignee.placeholder"),disabled:!u.isEditable,caret:u.isEditable,onChange:h=>p(h,v.id)},{tag:e.withCtx(({option:h,handleTagRemove:b})=>[e.createVNode(ke,{"user-name":h.label,"avatar-url":h.avatar,"is-closable":!0,onClose:y=>b(h,y)},null,8,["user-name","avatar-url","onClose"])]),_:2},1032,["value","options","placeholder","disabled","caret","onChange"])):e.createCommentVNode("",!0),u.isEditable?(e.openBlock(),e.createBlock(K,{key:2,class:"ao-subtask__delete","icon-name":"CancelRounded",size:"sm",variant:"ghost",color:"neutral",onClick:()=>c(v.id)},null,8,["onClick"])):e.createCommentVNode("",!0)])}),128))]),e.createElementVNode("div",fm,[u.isEditable?(e.openBlock(),e.createBlock(K,{key:0,label:u.$t("activity.tasks.add"),"icon-name":"Add",variant:"ghost",color:"primary",onClick:r},null,8,["label"])):e.createCommentVNode("",!0)])]))}});const Cm=["onDrop","onDragenter","onDragover","onDragleave"],gm={class:"ao-files__placeholder"},_m={key:0,class:"ao-files__list"},ym=["href"],bm={class:"ao-file__title"},km={key:0},wm={class:"ao-files__input"},$m={class:"ao-files__button ao-button ao-button--primary ao-button--ghost ao-button--sm"},Em={class:"ao-button__label"},Bm={class:"ao-files__dropzone"},Vm={class:"ao-files__dropzone-label"},Nm=e.defineComponent({__name:"AoActivityDetailsFiles",props:{attachments:{},isEditable:{type:Boolean}},emits:["add","toggleIsDropActive","remove"],setup(a,{emit:t}){const o=a,n=d=>{t("remove",d)},s=d=>{const u=d.target,m=Array.from(u.files??[]);t("add",m)},r=["dragenter","dragover","dragleave","drop"];e.onMounted(()=>{r.forEach(d=>{document.body.addEventListener(d,u=>u.preventDefault())})}),e.onUnmounted(()=>{r.forEach(d=>{document.body.removeEventListener(d,u=>u.preventDefault())})});const l=e.ref(!1);function i(){o.isEditable&&(l.value=!0)}function c(){l.value=!1}e.watch(l,d=>{t("toggleIsDropActive",d)});function p(d){var m;c();const u=Array.from(((m=d.dataTransfer)==null?void 0:m.files)||[]);d.dataTransfer&&t("add",u)}return(d,u)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["ao-files__wrapper",{"ao-files__wrapper--drop-active":l.value}]),onDrop:e.withModifiers(p,["prevent"]),onDragenter:e.withModifiers(i,["prevent"]),onDragover:e.withModifiers(i,["prevent"]),onDragleave:e.withModifiers(c,["prevent"])},[e.renderSlot(d.$slots,"default",{},()=>[e.createElementVNode("span",gm,e.toDisplayString(d.$t("activity.attachment.placeholder.resting")),1)]),d.attachments?(e.openBlock(),e.createElementBlock("ul",_m,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(d.attachments,m=>(e.openBlock(),e.createElementBlock("li",{key:m.id,class:"ao-file"},[e.createElementVNode("a",{class:"ao-file__link",href:m.url,target:"_blank",rel:"noopener noreferrer"},[e.createVNode(Q,{class:"ao-file__icon",name:"AttachFileRounded",size:"sm"}),e.createElementVNode("span",bm,e.toDisplayString(m.name),1)],8,ym),d.isEditable?(e.openBlock(),e.createBlock(K,{key:0,class:"ao-files__delete-button","icon-name":"DeleteOutlineRounded",variant:"ghost",color:"primary",size:"sm",corners:"round",onClick:()=>n(m)},null,8,["onClick"])):e.createCommentVNode("",!0)]))),128)),d.isEditable?(e.openBlock(),e.createElementBlock("li",km,[e.createElementVNode("label",wm,[e.createElementVNode("div",$m,[e.createVNode(Q,{name:"Add",size:"sm"}),e.createElementVNode("span",Em,e.toDisplayString(d.$t("activity.attachment.button.resting")),1)]),e.createElementVNode("input",{class:"input-field",type:"file",name:"pictures",multiple:"",accept:"image/*",onChange:s},null,32)])])):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),e.withDirectives(e.createElementVNode("div",Bm,[e.createElementVNode("span",Vm,e.toDisplayString(d.$t("activity.attachment.placeholder.active")),1)],512),[[e.vShow,l.value]])],42,Cm))}});const Sm={class:"ao-comment"},Mm={class:"ao-comment__created-at"},Am={class:"ao-comment__body"},Tm={class:"ao-comment__content-wrapper"},Om={key:1,class:"ao-comment__footer"},Im=e.defineComponent({__name:"AoComment",props:{user:{},content:{},createdAt:{},editedAt:{},isEditable:{type:Boolean}},emits:["edit","remove"],setup(a,{emit:t}){const o=a,n=e.computed(()=>{const C=o.user;return C?`${C==null?void 0:C.firstName} ${C==null?void 0:C.lastName}`:null}),s=e.ref(null),{isEditing:r,toggleIsEditing:l,onUpdate:i,onDiscard:c}=en(s),p=e.computed(()=>{const C=o.editedAt&&Lt(o.editedAt),h=Lt(o.createdAt),b=new Date,y=C??h;return y&&E0(y,b)}),d=e.computed(()=>r.value?"textarea":"p"),u=c(),m=i(C=>{t("edit",C)}),v=()=>{t("remove")},_=e.ref(2);return e.onUpdated(()=>{e.nextTick(()=>{var C;if(!r.value){const h=(C=s.value)==null?void 0:C.getClientRects().length;_.value=h||2}})}),(C,h)=>{var b;return e.openBlock(),e.createElementBlock("li",Sm,[n.value?(e.openBlock(),e.createBlock(ke,{key:0,"avatar-url":(b=C.user)==null?void 0:b.avatarUrl,"user-name":n.value,class:"ao-comment__avatar"},null,8,["avatar-url","user-name"])):e.createCommentVNode("",!0),e.createElementVNode("span",Mm,e.toDisplayString(p.value),1),e.createElementVNode("div",Am,[e.createElementVNode("div",Tm,[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(d.value),{ref_key:"commentContent",ref:s,class:"ao-comment__content",value:e.unref(r)?C.content:null,rows:e.unref(r)?_.value:null,onKeyup:[e.withKeys(e.unref(u),["esc"]),e.withKeys(e.withModifiers(e.unref(m),["ctrl"]),["enter"])]},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(C.content),1)]),_:1},40,["value","rows","onKeyup"]))])]),C.isEditable?(e.openBlock(),e.createElementBlock("div",Om,[e.unref(r)?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createVNode(K,{"icon-name":"CloseRounded",size:"sm",variant:"ghost",color:"neutral",onClick:e.unref(u)},null,8,["onClick"]),e.createVNode(K,{"icon-name":"CheckSmallRounded",size:"sm",variant:"solid",corners:"round",color:"black",onClick:e.unref(m)},null,8,["onClick"])],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createVNode(K,{label:C.$t("activity.comment.delete"),size:"sm",variant:"ghost",color:"neutral",onClick:v},null,8,["label"]),e.createVNode(K,{label:C.$t("activity.comment.edit"),size:"sm",variant:"ghost",color:"neutral",onClick:e.unref(l)},null,8,["label","onClick"])],64))])):e.createCommentVNode("",!0)])}}});const Lm={class:"ao-comments__header"},Dm=["onSubmit"],Pm=["placeholder"],Hm={class:"ao-comments__form-submit"},Rm={key:0,class:"ao-comments__list"},jm=e.defineComponent({__name:"AoActivityDetailsComments",props:{comments:{default:()=>[]},users:{},newComment:{default:""},userId:{}},emits:["createComment","updateComment","removeComment"],setup(a,{emit:t}){const o=a,n=e.computed(()=>(o.comments||[]).toSorted((m,v)=>f2(Lt(m.createdAt),Lt(v.createdAt)))),s=u=>o.users.find(v=>v.id===u),r=e.ref();e.nextTick(()=>{r.value&&(r.value.scrollTop=r.value.scrollHeight)});const l=e.toRef(o.newComment),i=e.computed({get(){return l.value},set(u){l.value=u}}),c=()=>{const u=l.value.trim();u&&(t("createComment",{authorId:o.userId,message:u}),l.value="")},p=(u,m)=>{t("updateComment",{id:u,message:m})},d=u=>{t("removeComment",{id:u})};return(u,m)=>{var v;return e.openBlock(),e.createElementBlock("div",{ref_key:"commentsContainer",ref:r,class:"ao-comments"},[e.createElementVNode("div",Lm,[e.createElementVNode("form",{class:"ao-comments__form",onSubmit:e.withModifiers(c,["prevent"])},[e.withDirectives(e.createElementVNode("textarea",{"onUpdate:modelValue":m[0]||(m[0]=_=>i.value=_),rows:"2",class:"ao-field__textarea ao-comments__form-textarea",placeholder:u.$t("activity.comment.label")},null,8,Pm),[[e.vModelText,i.value,void 0,{trim:!0}]]),e.createElementVNode("div",Hm,[e.createVNode(K,{type:"submit","icon-name":"SendRounded",color:"primary",variant:"solid",corners:"round",size:"sm"})])],40,Dm)]),((v=n.value)==null?void 0:v.length)>0?(e.openBlock(),e.createElementBlock("ul",Rm,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(n.value,_=>(e.openBlock(),e.createBlock(Im,{key:_.id,user:s(_.author.id),content:_.message,"created-at":_.createdAt,"edited-at":_.updatedAt,"is-editable":_.author.id===u.userId,class:"ao-comment",onEdit:C=>p(_.id,C),onRemove:()=>d(_.id)},null,8,["user","content","created-at","edited-at","is-editable","onEdit","onRemove"]))),128))])):e.createCommentVNode("",!0)],512)}}});const qa=e.defineComponent({__name:"AoButtonCheck",props:{modelValue:{type:Boolean},color:{}},emits:["update:modelValue"],setup(a,{emit:t}){const o=a,n=()=>{t("update:modelValue",!o.modelValue)};return(s,r)=>(e.openBlock(),e.createBlock(K,{color:s.modelValue?s.color:e.unref(Ga).NEUTRAL,"icon-position":"start",onClick:r[0]||(r[0]=()=>n())},null,8,["color"]))}}),Fm={class:"ao-activity-details"},Um={class:"ao-activity-details__main"},zm={class:"ao-activity-details__header"},Zm={key:1,class:"ao-activity__category"},xm={class:"ao-feed__activity-details__header"},Wm={key:0,class:"ao-field ao-feed__activity-details__project"},qm={class:"ao-field__label"},Ym={key:1,class:"ao-field ao-feed__activity-details__project"},Km={class:"ao-field__label"},Gm={class:"ao-activity-details__content"},Xm={class:"ao-fieldset"},Qm={class:"ao-field__row"},Jm={class:"ao-field ao-field--full"},e7={class:"ao-field__label"},t7=["readonly"],a7={class:"ao-field__row"},o7={class:"ao-field ao-field--inline"},n7={class:"ao-field__label"},s7=["readonly"],l7={class:"ao-fieldset"},r7={class:"ao-fieldset__title"},i7={class:"ao-fieldset__body"},c7={key:0,class:"ao-fieldset"},d7={class:"ao-fieldset__title"},u7={class:"ao-activity-details__aside"},p7={class:"ao-activity-details__close-button"},m7={key:0,class:"ao-activity-details__aside-section"},v7={class:"ao-field"},f7={class:"ao-field__label"},h7={class:"ao-activity-details__aside-section"},C7={class:"ao-field ao-field--multiselect"},g7={class:"assignee-inline"},_7={class:"ao-field__label"},y7={class:"ao-activity-details__aside-section"},b7={key:0,class:"ao-field__row"},k7={class:"ao-field"},w7={class:"ao-field__label"},$7=["readonly"],E7={class:"ao-activity-details__aside-section"},B7={key:0,class:"ao-field__row"},V7={class:"ao-field ao-field--multiselect"},N7={class:"ao-activity-details__aside-section"},S7={key:1,class:"ao-activity-details__aside-section"},M7={class:"ao-fieldset ao-activity-details__aside-section"},A7={class:"ao-fieldset__title"},T7={class:"ao-fieldset__body"},O7={class:"ao-field__row"},I7={class:"ao-field ao-field--multiselect"},L7={class:"ao-field__label"},D7={class:"ao-field__row"},P7={class:"ao-field ao-field--multiselect"},H7={class:"ao-field__label"},R7={key:2,class:"ao-activity-details__aside-section ao-activity-details__aside-section--created-by"},j7={class:"ao-activity__created-by"},po=e.defineComponent({__name:"AoActivityDetails",props:{activity:{},activityTypes:{},breadcrumbs:{},milestoneId:{},templateActivities:{},templateMilestones:{},isTemplate:{type:Boolean},users:{},userId:{},isTaskCheckable:{},statuses:{},isEditable:{type:[Boolean,String]},attachmentEnabled:{type:Boolean},projects:{default:()=>[]}},emits:["update:activity","close","addSubtask","updateSubtask","deleteSubtask","addFiles","removeFile","addComment","updateComment","removeComment","toast"],setup(a,{emit:t}){var O;const o=a,n=e.computed(()=>{var g;return o.isEditable===!0?!0:o.userId&&o.isEditable==="only-own"?o.userId===((g=o.activity.assignee)==null?void 0:g.id):!1}),s=g=>{t("update:activity",{id:o.activity.id,name:g})},r=e.computed({get(){return o.activity.description??""},set(g){t("update:activity",{id:o.activity.id,description:g})}}),l=e.computed({get(){return o.activity.estimation??0},set(g){t("update:activity",{id:o.activity.id,estimation:g})}}),i=e.computed({get(){return o.activity.important??!1},set(g){t("update:activity",{id:o.activity.id,important:g})}}),c=e.computed({get(){return o.activity.private??!1},set(g){t("update:activity",{id:o.activity.id,private:g})}}),p=e.computed({get(){return o.activity.deadline},set(g){t("update:activity",{id:o.activity.id,deadline:g})}}),d=e.computed(()=>{var g;return(g=o.activityTypes)==null?void 0:g.map(S=>({label:S.name,value:S.id}))}),u=e.computed({get(){var g;return(g=o.activity.type)==null?void 0:g.id},set(g){t("update:activity",{id:o.activity.id,typeId:g})}}),m=e.computed(()=>o.templateActivities.filter(g=>g.id!==o.activity.id).map(g=>({label:g.name,value:g.id}))),v=e.computed({get(){var g;return(g=o.activity.dependingOn)==null?void 0:g.map(S=>S.id)},set(g){g&&t("update:activity",{id:o.activity.id,dependingOn:g})}}),_=e.computed(()=>m.value.map(g=>{var S;return{...g,disabled:(S=o.activity.blocking)==null?void 0:S.some(q=>q.id===g.value)}})),C=e.computed({get(){var g;return(g=o.activity.blocking)==null?void 0:g.map(S=>S.id)},set(g){g&&t("update:activity",{id:o.activity.id,blocking:g})}}),h=e.computed(()=>m.value.map(g=>{var S;return{...g,disabled:(S=o.activity.dependingOn)==null?void 0:S.some(q=>q.id===g.value)}})),b=g=>{t("addSubtask",g)},y=g=>{t("updateSubtask",g)},f=g=>{t("deleteSubtask",g)},B=e.ref(((O=o.activity.assignee)==null?void 0:O.id)??null);e.watch(()=>{var g;return(g=o.activity.assignee)==null?void 0:g.id},g=>{B.value=g??null},{immediate:!0});function M(){o.userId?(B.value=o.userId,t("update:activity",{id:o.activity.id,assigneeId:o.userId})):console.error("Failed assigning to self: userId is missing")}const E=e.computed(()=>(o.users??[]).map(g=>({label:`${g.firstName} ${g.lastName}`,value:g.id,avatar:g.avatarUrl}))),L=g=>{t("addFiles",{activityId:o.activity.id,files:g})},P=g=>{t("removeFile",{activityId:o.activity.id,file:g})},R=e.computed(()=>o.projects.map(g=>({value:g.id,label:g.name}))),F=e.computed(()=>{var S,q,x;const g=(x=(q=(S=o.activity)==null?void 0:S.project)==null?void 0:q.phases)==null?void 0:x.reduce((D,N)=>[...D,...N.milestones],[]);return g==null?void 0:g.map(D=>({value:D.id,label:D.name}))}),z=g=>{o.activity&&t("update:activity",{id:o.activity.id,projectId:g})},T=g=>{o.activity&&t("update:activity",{id:o.activity.id,milestoneId:g})},j=e.computed(()=>{var g;return(g=o.statuses)==null?void 0:g.map(S=>({value:S.id,label:S.name}))}),Y=g=>{t("update:activity",{id:o.activity.id,statusId:g})},Z=g=>{t("addComment",{...g,activityId:o.activity.id})},U=g=>{t("updateComment",g)},V=g=>{t("removeComment",g)},$=e.computed(()=>{var g,S;return((g=o.activity.createdBy)==null?void 0:g.firstName)&&((S=o.activity.createdBy)==null?void 0:S.lastName)&&`${o.activity.createdBy.firstName} ${o.activity.createdBy.lastName}`});function k(){const g=window.location.origin,S=o.activity.slug,q=`${g}/activity-feed/slug/${S}`;navigator.clipboard.writeText(q).then(()=>{console.log(`Link copied to clipboard: ${q}`),t("toast","clipboard.copy.success","success")}).catch(()=>{console.log("Failed to copy link"),t("toast","clipboard.copy.error","error")})}return(g,S)=>(e.openBlock(),e.createBlock(ya,{onClose:S[11]||(S[11]=q=>g.$emit("close"))},{default:e.withCtx(()=>{var q,x,D;return[e.createElementVNode("div",Fm,[e.createElementVNode("div",Um,[e.createElementVNode("div",zm,[g.activity.slug?(e.openBlock(),e.createBlock(Tt,{key:0,label:g.activity.slug,clickable:!0,variant:"solid_icon",color:"primary","icon-name":"ContentCopyOutline",class:"ao-activity__ao-tag",onClick:k},null,8,["label"])):e.createCommentVNode("",!0),g.breadcrumbs?(e.openBlock(),e.createElementBlock("div",Zm,e.toDisplayString(g.breadcrumbs),1)):e.createCommentVNode("",!0),e.createVNode(ne,{title:g.activity.name||"",level:4,"is-editable":n.value,"onUpdate:title":s},null,8,["title","is-editable"]),e.createElementVNode("div",xm,[R.value?(e.openBlock(),e.createElementBlock("label",Wm,[e.createElementVNode("span",qm,e.toDisplayString(g.$t("activity.project.label")),1),e.createVNode(re,{options:R.value,value:(q=g.activity.project)==null?void 0:q.id,searchable:!0,disabled:!n.value,caret:n.value,onChange:z},null,8,["options","value","disabled","caret"])])):e.createCommentVNode("",!0),F.value?(e.openBlock(),e.createElementBlock("label",Ym,[e.createElementVNode("span",Km,e.toDisplayString(g.$t("activity.milestone.label")),1),e.createVNode(re,{options:F.value,value:(x=g.activity.milestone)==null?void 0:x.id,searchable:!0,disabled:!n.value,caret:n.value,onChange:T},null,8,["options","value","disabled","caret"])])):e.createCommentVNode("",!0)]),e.renderSlot(g.$slots,"header")]),e.createElementVNode("div",Gm,[e.createElementVNode("fieldset",Xm,[e.createElementVNode("div",Qm,[e.createVNode(Nm,{attachments:g.activity.attachments,"is-editable":g.attachmentEnabled&&n.value&&g.isTemplate!==!0&&!!g.userId,onAdd:L,onRemove:P},{default:e.withCtx(()=>[e.createElementVNode("label",Jm,[e.createElementVNode("span",e7,e.toDisplayString(g.$t("activity.description.label")),1),e.withDirectives(e.createElementVNode("textarea",{"onUpdate:modelValue":S[0]||(S[0]=N=>r.value=N),readonly:!n.value,rows:"4",class:"ao-field__textarea"},null,8,t7),[[e.vModelText,r.value,void 0,{lazy:!0,trim:!0}]])])]),_:1},8,["attachments","is-editable"])]),e.createElementVNode("div",a7,[e.createElementVNode("label",o7,[e.createElementVNode("span",n7,e.toDisplayString(g.$t("activity.estimation.label")),1),e.withDirectives(e.createElementVNode("input",{"onUpdate:modelValue":S[1]||(S[1]=N=>l.value=N),readonly:!n.value,class:"ao-field__input ao-field__input--estim",type:"number",min:"0"},null,8,s7),[[e.vModelText,l.value,void 0,{lazy:!0,number:!0}]])])])]),e.createElementVNode("fieldset",l7,[e.createElementVNode("div",r7,[e.createVNode(Q,{name:"SelectCheckBox"}),e.createVNode(ne,{level:4,title:g.$t("activity.tasks.title")},null,8,["title"])]),e.createElementVNode("div",i7,[e.createVNode(hm,{class:"ao-activity-details__tasks ao-field__row",tasks:g.activity.tasks||[],"activity-id":g.activity.id,users:g.users,"is-checkable":g.isTaskCheckable,"is-editable":n.value,"is-template":g.isTemplate,onAdd:b,onUpdate:y,onDelete:f},null,8,["tasks","activity-id","users","is-checkable","is-editable","is-template"])])]),g.isTemplate!==!0&&g.userId?(e.openBlock(),e.createElementBlock("div",c7,[e.createElementVNode("div",d7,[e.createVNode(Q,{name:"ChatOutline"}),e.createVNode(ne,{level:4,title:g.$t("activity.comments.title")},null,8,["title"])]),e.createVNode(jm,{comments:g.activity.comments,users:g.users,"user-id":g.userId,onCreateComment:Z,onUpdateComment:U,onRemoveComment:V},null,8,["comments","users","user-id"])])):e.createCommentVNode("",!0)])]),e.createElementVNode("div",u7,[e.createElementVNode("div",p7,[e.createVNode(Q,{name:"CloseRounded",onClick:S[2]||(S[2]=N=>g.$emit("close"))})]),j.value?(e.openBlock(),e.createElementBlock("div",m7,[e.createElementVNode("label",v7,[e.createElementVNode("span",f7,e.toDisplayString(g.$t("activity.status.label")),1),e.createVNode(re,{class:"ao-activity-details__multiselect",options:j.value,value:(D=g.activity.status)==null?void 0:D.id,"can-clear":!1,"can-deselect":!1,disabled:!n.value,caret:n.value,onChange:Y},null,8,["options","value","disabled","caret"])])])):e.createCommentVNode("",!0),e.createElementVNode("div",h7,[e.createElementVNode("div",C7,[e.createElementVNode("div",g7,[e.createElementVNode("span",_7,e.toDisplayString(g.$t("activity.assignee.label")),1),e.createVNode(K,{label:g.$t("activity.assignee.toMe"),type:"button",color:"primary",variant:"solid",class:"ao-button--sm",onClick:M},null,8,["label"])]),e.createVNode(re,{modelValue:B.value,"onUpdate:modelValue":S[3]||(S[3]=N=>B.value=N),class:"ao-activity-details__assignees ao-activity-details__multiselect",options:E.value,mode:"single",searchable:!0,"close-on-select":!0,disabled:!n.value,caret:n.value,placeholder:g.$t("activity.filters.assignee.placeholder"),classes:{container:"assignee-ms",wrapper:"assignee-ms__wrapper",singleLabel:"assignee-ms__label",search:"assignee-ms__search",clear:"assignee-ms__clear",caret:"assignee-ms__caret",placeholder:"assignee-ms__placeholder"},onChange:S[4]||(S[4]=N=>t("update:activity",{id:g.activity.id,assigneeId:N??null}))},{singlelabel:e.withCtx(({value:N,remove:H})=>[e.createVNode(ke,{"user-name":N==null?void 0:N.label,"avatar-url":N==null?void 0:N.avatar,"is-closable":!0,onClose:H},null,8,["user-name","avatar-url","onClose"])]),option:e.withCtx(({option:N})=>[e.createElementVNode("span",null,e.toDisplayString(N.label),1)]),_:1},8,["modelValue","options","disabled","caret","placeholder"])])]),e.createElementVNode("div",y7,[g.isTemplate!==!0&&g.userId?(e.openBlock(),e.createElementBlock("div",b7,[e.createElementVNode("label",k7,[e.createElementVNode("span",w7,e.toDisplayString(g.$t("activity.deadline.label")),1),e.withDirectives(e.createElementVNode("input",{"onUpdate:modelValue":S[5]||(S[5]=N=>p.value=N),readonly:!n.value,class:"ao-field__input",type:"date"},null,8,$7),[[e.vModelText,p.value,void 0,{lazy:!0}]])])])):e.createCommentVNode("",!0)]),e.createElementVNode("div",E7,[d.value?(e.openBlock(),e.createElementBlock("div",B7,[e.createElementVNode("label",V7,[e.createVNode(re,{modelValue:u.value,"onUpdate:modelValue":S[6]||(S[6]=N=>u.value=N),class:"ao-activity-details__multiselect",mode:"single",searchable:!0,options:d.value,placeholder:g.$t("activity.filters.type.placeholder"),disabled:!n.value,caret:n.value},null,8,["modelValue","options","placeholder","disabled","caret"])])])):e.createCommentVNode("",!0),e.renderSlot(g.$slots,"default",{activity:g.activity})]),e.createElementVNode("div",N7,[e.createVNode(qa,{modelValue:i.value,"onUpdate:modelValue":S[7]||(S[7]=N=>i.value=N),modelModifiers:{lazy:!0},label:g.$t("activity.important.label"),disabled:!n.value,variant:"ghost","icon-name":"FlagRounded",class:"ao-field__input",color:"danger",type:"checkbox",size:"sm"},null,8,["modelValue","label","disabled"])]),g.isTemplate!==!0&&g.activity.createdBy.id===g.userId?(e.openBlock(),e.createElementBlock("div",S7,[e.createVNode(qa,{modelValue:c.value,"onUpdate:modelValue":S[8]||(S[8]=N=>c.value=N),modelModifiers:{lazy:!0},label:g.$t("activity.private.label"),disabled:!n.value,variant:"ghost","icon-name":"Lock",color:"warning",class:"ao-field__input",size:"sm"},null,8,["modelValue","label","disabled"])])):e.createCommentVNode("",!0),e.createElementVNode("fieldset",M7,[e.createElementVNode("div",A7,[e.createVNode(Q,{name:"FlowsheetOutlineRounded"}),e.createVNode(ne,{level:4,title:g.$t("activity.dependencies.title")},null,8,["title"])]),e.createElementVNode("div",T7,[e.createElementVNode("div",O7,[e.createElementVNode("label",I7,[e.createElementVNode("span",L7,e.toDisplayString(g.$t("activity.dependingOn.label")),1),e.createVNode(re,{modelValue:v.value,"onUpdate:modelValue":S[9]||(S[9]=N=>v.value=N),class:"ao-activity-details__multiselect",mode:"tags","close-on-select":!1,searchable:!0,options:_.value,disabled:!n.value,caret:n.value},null,8,["modelValue","options","disabled","caret"])])]),e.createElementVNode("div",D7,[e.createElementVNode("label",P7,[e.createElementVNode("span",H7,e.toDisplayString(g.$t("activity.blocking.label")),1),e.createVNode(re,{modelValue:C.value,"onUpdate:modelValue":S[10]||(S[10]=N=>C.value=N),class:"ao-activity-details__multiselect",mode:"tags","close-on-select":!1,searchable:!0,options:h.value,disabled:!n.value,caret:n.value},null,8,["modelValue","options","disabled","caret"])])])])]),g.isTemplate!==!0&&$.value?(e.openBlock(),e.createElementBlock("div",R7,[e.createElementVNode("div",j7,[e.createVNode(ke,{"user-name":$.value,color:"black"},null,8,["user-name"]),e.createElementVNode("span",null,e.toDisplayString($.value),1)])])):e.createCommentVNode("",!0)])])]}),_:3}))}});const F7=e.defineComponent({__name:"AoRuleLine",props:{rule:{},templatePhases:{},templateMilestones:{},templateActivities:{},tagName:{default:"li"}},emits:["update:rule","close"],setup(a,{emit:t}){const o=a,n=e.toRef(o.rule.itemType||J.ACTIVITIES),s=e.computed({get(){return n.value},set(b){n.value=b,t("update:rule",{...o.rule,itemType:b,subItemId:void 0})}}),r=e.computed(()=>Object.values(J)),l=e.computed({get(){return o.rule.subItemId},set(b){t("update:rule",{...o.rule,subItemId:b,itemType:o.rule.itemType||s.value})}}),i=e.computed(()=>{var y;return!o.templateActivities||!o.templateMilestones||!o.templatePhases?null:(y={[J.ACTIVITIES]:o.templateActivities,[J.MILESTONES]:o.templateMilestones,[J.PHASES]:o.templatePhases}[n.value])==null?void 0:y.map(f=>({value:f.id,label:f.name}))}),c=e.toRef(o.rule.comparator),p=e.computed({get(){return c.value},set(b){t("update:rule",{...o.rule,comparator:b})}}),d=e.computed(()=>Object.values(an)),u=e.toRef(o.rule.trigger),m=e.computed({get(){return u.value},set(b){t("update:rule",{...o.rule,trigger:b})}}),v=e.computed(()=>Object.values(on)),_=e.computed({get(){return o.rule.duration},set(b){t("update:rule",{...o.rule,duration:b})}}),C=e.computed({get(){return o.rule.durationUnit},set(b){t("update:rule",{...o.rule,durationUnit:b})}}),h=e.computed(()=>Object.values(nn));return(b,y)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(b.tagName),{class:"ao-rule-line"},{default:e.withCtx(()=>[e.createVNode(e.unref(je),{modelValue:s.value,"onUpdate:modelValue":y[0]||(y[0]=f=>s.value=f),options:r.value},null,8,["modelValue","options"]),e.createVNode(e.unref(je),{modelValue:l.value,"onUpdate:modelValue":y[1]||(y[1]=f=>l.value=f),options:i.value},null,8,["modelValue","options"]),e.createVNode(e.unref(je),{modelValue:m.value,"onUpdate:modelValue":y[2]||(y[2]=f=>m.value=f),options:v.value},null,8,["modelValue","options"]),e.createVNode(e.unref(je),{modelValue:p.value,"onUpdate:modelValue":y[3]||(y[3]=f=>p.value=f),options:d.value},null,8,["modelValue","options"]),e.withDirectives(e.createElementVNode("input",{"onUpdate:modelValue":y[4]||(y[4]=f=>_.value=f),type:"number",min:"0"},null,512),[[e.vModelText,_.value,void 0,{number:!0}]]),e.createVNode(e.unref(je),{modelValue:C.value,"onUpdate:modelValue":y[5]||(y[5]=f=>C.value=f),options:h.value},null,8,["modelValue","options"]),e.createVNode(K,{class:"ao-rule-line__remove","icon-name":"CloseRounded",variant:"ghost",onClick:y[6]||(y[6]=f=>b.$emit("close"))})]),_:1}))}});const U7={class:"ao-template-rules__body"},z7={class:"ao-template-rules__list"},Z7=e.defineComponent({__name:"AoTemplateRules",props:{templateId:{},rules:{},templatePhases:{},templateMilestones:{},templateActivities:{}},emits:["addRule","removeRule"],setup(a,{emit:t}){const o=()=>{t("addRule")},n=s=>{t("removeRule",s)};return(s,r)=>(e.openBlock(),e.createBlock(ya,null,{header:e.withCtx(()=>[e.createVNode(ne,{title:s.$t("template.rules.title"),level:2},null,8,["title"])]),default:e.withCtx(()=>[e.createElementVNode("div",U7,[e.createElementVNode("ul",z7,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(s.rules,l=>(e.openBlock(),e.createBlock(F7,{key:l.id,rule:l,"template-phases":s.templatePhases,"template-milestones":s.templateMilestones,"template-activities":s.templateActivities,class:"ao-template-rule",onClose:()=>n(l.id)},null,8,["rule","template-phases","template-milestones","template-activities","onClose"]))),128))]),e.createVNode(We,{label:s.$t("template.rules.add"),"icon-name":"Add",onClick:o},null,8,["label"])])]),_:1}))}});function ot(a,t,o){const n=a.length,s=a.at(-1),r=s?se.LexoRank.parse(s.rank).genNext():se.LexoRank.middle();return{name:o(`template.defaultName.${t}`,{idx:n+1}),rank:r.format()}}const x7={key:0,class:"ao-template-details"},W7={class:"ao-template-details__body"},q7={class:"ao-template-details__cols"},Y7={class:"ao-template-details__col"},K7={class:"ao-list__footer"},G7={class:"ao-template-details__col"},X7={class:"ao-template-details__col"},Rn=e.defineComponent({__name:"AoTemplateDetails",props:{templateId:{},templates:{},users:{},phaseId:{},milestoneId:{},activityId:{},activityTypes:{}},emits:["addItem","removeItem","updateItem","addRule","removeRule","addFiles","removeFile"],setup(a,{emit:t}){const o=a,{t:n}=Ye(),s=e.computed(()=>{var V;return(V=o.templates)==null?void 0:V.find($=>$.id===o.templateId)}),r=e.ref(!1);e.watch(()=>[o.templateId,o.phaseId,o.milestoneId],()=>r.value=!1),e.watch(()=>{var V;return(V=s.value)==null?void 0:V.phases},(V,$)=>{r.value&&Me(V,$)});const l=e.computed(()=>{var V,$;return($=(V=s==null?void 0:s.value)==null?void 0:V.phases)==null?void 0:$.find(k=>k.id===o.phaseId)});e.watch(()=>{var V;return(V=l.value)==null?void 0:V.milestones},(V,$)=>{r.value&&Me(V,$)});const i=e.computed(()=>{var V,$;return($=(V=l.value)==null?void 0:V.milestones)==null?void 0:$.find(k=>k.id===o.milestoneId)});e.watch(()=>{var V;return(V=i.value)==null?void 0:V.activities},(V,$)=>{r.value&&Me(V,$)});const c=e.computed(()=>{var V,$;return(($=(V=s.value)==null?void 0:V.phases)==null?void 0:$.reduce((k,O)=>{const g=O.milestones||[];return[...k,...g]},[]))||[]}),p=e.computed(()=>{var V,$;return(($=(V=s.value)==null?void 0:V.phases)==null?void 0:$.reduce((k,O)=>{const S=(O.milestones||[]).reduce((q,x)=>x.activities?[...q,...x.activities]:q,[]);return[...k,...S]},[]))||[]}),d=e.computed(()=>{var V,$;return($=(V=i.value)==null?void 0:V.activities)==null?void 0:$.find(k=>k.id===o.activityId)}),u=e.computed(()=>{var V;return((V=s.value)==null?void 0:V.name)||o.templateId}),m=()=>{if(!s.value)return;const{name:V,rank:$}=ot(s.value.phases,"phase",n);r.value=!0,t("addItem",{type:J.PHASES,templateId:o.templateId,item:{name:V,rank:$}})},v=V=>{t("updateItem",{templateId:o.templateId,id:o.templateId,itemType:J.TEMPLATES,data:{name:V}})},_=V=>{t("removeItem",{itemType:J.PHASES,templateId:o.templateId,data:{id:V}})},C=(V,$)=>{t("updateItem",{templateId:o.templateId,id:V,itemType:J.PHASES,data:{name:$}})},h=V=>{t("updateItem",V)},b=V=>{if(!l.value)return;const{name:$,rank:k}=ot(l.value.milestones,"milestone",n);r.value=!0,t("addItem",{type:J.MILESTONES,templateId:o.templateId,phaseId:V.phaseId,item:{name:$,rank:k,phaseId:V.phaseId}})},y=V=>{t("removeItem",{itemType:J.MILESTONES,templateId:o.templateId,phaseId:V.phaseId,data:{id:V.id}})},f=V=>{const{id:$,...k}=V;t("updateItem",{itemType:J.MILESTONES,id:$,templateId:o.templateId,data:k})},B=V=>{const{milestoneId:$}=V;if(!i.value)return;const{name:k,rank:O}=ot(i.value.activities,"activity",n);r.value=!0,t("addItem",{type:J.ACTIVITIES,milestoneId:$,templateId:o.templateId,item:{name:k,rank:O,milestoneId:$}})},M=V=>{var $,k;t("removeItem",{itemType:J.ACTIVITIES,templateId:o.templateId,phaseId:($=l.value)==null?void 0:$.id,milestoneId:(k=i.value)==null?void 0:k.id,data:{id:V.id}})},E=V=>{const{id:$,...k}=V;t("updateItem",{itemType:J.ACTIVITIES,id:$,templateId:o.templateId,data:k})},L=e.ref(!1),P=()=>{L.value=!L.value},R=()=>{t("addRule",{templateId:o.templateId})},F=V=>{t("removeRule",{id:V,templateId:o.templateId})},z=V=>{var $;if(V.moved){const k=zt(V,(($=s.value)==null?void 0:$.phases)??[]);t("updateItem",{itemType:J.PHASES,id:V.moved.element.id,templateId:o.templateId,data:{rank:k}})}},T=V=>{!l.value||!i.value||!d.value||t("addItem",{type:J.TASKS,activityId:V.activityId,milestoneId:i.value.id,phaseId:l.value.id,templateId:o.templateId,item:V})},j=V=>{!l.value||!i.value||!d.value||t("updateItem",{itemType:J.TASKS,id:V.id,templateId:o.templateId,data:V})},Y=V=>{!l.value||!i.value||!d.value||t("removeItem",{itemType:J.TASKS,activityId:d.value.id,milestoneId:i.value.id,phaseId:l.value.id,templateId:o.templateId,data:V})},Z=V=>{t("addFiles",V)},U=V=>{t("removeFile",V)};return(V,$)=>{var k,O,g,S,q,x;return s.value?(e.openBlock(),e.createElementBlock("div",x7,[e.createVNode(Zt,{"can-go-back":!0,onGoBack:$[1]||($[1]=D=>V.$router.push({name:e.unref(tt).TEMPLATES_LIST}))},{primary:e.withCtx(()=>[e.createVNode(ne,{title:u.value,level:2,"is-editable":!0,"onUpdate:title":$[0]||($[0]=D=>{v(D)})},null,8,["title"])]),_:1}),e.createElementVNode("div",W7,[e.createElementVNode("ol",q7,[e.createElementVNode("li",Y7,[e.createVNode(e.unref(xe),{"model-value":s.value.phases,class:"ao-templates__list","item-key":"id",handle:".ao-card__drag",onChange:z},{header:e.withCtx(()=>[e.createVNode(ne,{title:V.$t("template.phases.title"),level:3,class:"ao-list__title"},null,8,["title"])]),item:e.withCtx(({element:D})=>{var N;return[e.createVNode(I3,{id:D.id,name:D.name,milestones:D.milestones,"is-active":((N=l.value)==null?void 0:N.id)===D.id,"is-draggable":!0,onClick:H=>V.$router.push({params:{templateId:V.templateId,phaseId:D.id}}),"onUpdate:title":H=>{C(D.id,H)},onRemove:()=>_(D.id)},null,8,["id","name","milestones","is-active","onClick","onUpdate:title","onRemove"])]}),footer:e.withCtx(()=>[e.createElementVNode("div",K7,[e.createVNode(We,{"icon-name":"AddBoxOutlineRounded",label:V.$t("template.phases.add"),onClick:m},null,8,["label"])])]),_:1},8,["model-value"])]),e.createElementVNode("li",G7,[l.value?(e.openBlock(),e.createBlock(P3,{key:0,"template-id":V.templateId,phase:l.value,"milestone-id":(k=i.value)==null?void 0:k.id,onAddMilestone:b,onUpdateMilestone:f,onUpdatePhase:h,onRemoveMilestone:y},null,8,["template-id","phase","milestone-id"])):e.createCommentVNode("",!0)]),e.createElementVNode("li",X7,[l.value&&i.value?(e.openBlock(),e.createBlock(j3,{key:0,"template-id":V.templateId,"phase-id":(O=l.value)==null?void 0:O.id,milestone:i.value,"activity-id":(g=d.value)==null?void 0:g.id,onAddActivity:B,onUpdateActivity:E,onRemoveActivity:M},null,8,["template-id","phase-id","milestone","activity-id"])):e.createCommentVNode("",!0)])])]),(e.openBlock(),e.createBlock(e.Teleport,{to:"body"},[d.value?(e.openBlock(),e.createBlock(po,{key:0,activity:d.value,"activity-types":V.activityTypes,breadcrumbs:`${s.value.name} / ${(S=l.value)==null?void 0:S.name} / ${(q=i.value)==null?void 0:q.name}`,"milestone-id":(x=i.value)==null?void 0:x.id,"template-activities":p.value,"template-milestones":c.value,"is-template":!0,"is-editable":!0,users:V.users,"onUpdate:activity":$[2]||($[2]=D=>{d.value&&E(D)}),"attachment-enabled":!1,onClose:V.$router.back,onAddSubtask:T,onUpdateSubtask:j,onDeleteSubtask:Y,onAddFiles:Z,onRemoveFile:U},{default:e.withCtx(D=>[e.renderSlot(V.$slots,"activityDetailsBody",e.normalizeProps(e.guardReactiveProps(D)))]),_:3},8,["activity","activity-types","breadcrumbs","milestone-id","template-activities","template-milestones","users","onClose"])):e.createCommentVNode("",!0)])),(e.openBlock(),e.createBlock(e.Teleport,{to:"body"},[L.value?(e.openBlock(),e.createBlock(Z7,{key:0,"template-id":s.value.id,rules:s.value.rules||[],"template-phases":s.value.phases,"template-milestones":c.value,"template-activities":p.value,onClose:P,onAddRule:R,onRemoveRule:F},null,8,["template-id","rules","template-phases","template-milestones","template-activities"])):e.createCommentVNode("",!0)]))])):e.createCommentVNode("",!0)}}});const Q7={class:"ao-card__content"},J7={key:0,class:"ao-card__header"},ev={class:"ao-card__body"},tv={key:1,class:"ao-card__footer"},Va=e.defineComponent({__name:"AoCard",props:{isClickable:{type:Boolean},tagName:{default:"div"},isSelected:{type:Boolean},color:{},withLeftBorder:{type:Boolean,default:!1}},setup(a){return(t,o)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.tagName),{class:e.normalizeClass(["ao-card",{"ao-card--clickable":t.isClickable}]),style:e.normalizeStyle(t.isSelected?{border:"solid",borderColor:t.color||"var(--ao-color-blue-base)",borderWidth:"thick"}:{})},{default:e.withCtx(()=>[t.withLeftBorder?(e.openBlock(),e.createElementBlock("div",{key:0,class:"ao-card__left-border",style:e.normalizeStyle({backgroundColor:t.color})},null,4)):e.createCommentVNode("",!0),e.createElementVNode("div",Q7,[t.$slots.header?(e.openBlock(),e.createElementBlock("header",J7,[e.renderSlot(t.$slots,"header")])):e.createCommentVNode("",!0),e.createElementVNode("div",ev,[e.renderSlot(t.$slots,"default")]),t.$slots.footer?(e.openBlock(),e.createElementBlock("footer",tv,[e.renderSlot(t.$slots,"footer")])):e.createCommentVNode("",!0)])]),_:3},8,["class","style"]))}});const Na=e.defineComponent({__name:"AoProgress",props:{percentages:{},status:{},color:{}},setup(a){const t=a,o=e.computed(()=>typeof t.percentages=="number"?[t.percentages]:t.percentages??[]);return(n,s)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["ao-progress",n.status?`ao-progress--${n.status}`:""]),role:"meter"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.value,r=>(e.openBlock(),e.createElementBlock("div",{key:r,class:e.normalizeClass(["ao-progress__progress"]),style:e.normalizeStyle({width:`${r*100}%`,"--ao-progress-color":n.color||"var(--ao-color-primary-base)"})},null,4))),128))],2))}});/*!
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),Rt=require("vue-router"),xe=require("vuedraggable");const is=e.defineComponent({__name:"AoTemplates",props:{templates:{}},setup(a){return(t,o)=>(e.openBlock(),e.createBlock(e.unref(Rt.RouterView),e.mergeProps({templates:t.templates},t.$attrs),null,16,["templates"]))}}),L=(a,t)=>{const o=a.__vccOpts||a;for(const[n,s]of t)o[n]=s;return o},cs={},ds={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},us=e.createElementVNode("path",{d:"M12 13C12.9667 13 13.7917 12.6583 14.475 11.975C15.1583 11.2917 15.5 10.4667 15.5 9.5C15.5 8.53333 15.1583 7.70833 14.475 7.025C13.7917 6.34167 12.9667 6 12 6C11.0333 6 10.2083 6.34167 9.525 7.025C8.84167 7.70833 8.5 8.53333 8.5 9.5C8.5 10.4667 8.84167 11.2917 9.525 11.975C10.2083 12.6583 11.0333 13 12 13ZM3 21V3H21V21H3ZM5 19H19V17.85C18.1 16.9667 17.054 16.271 15.862 15.763C14.67 15.255 13.3827 15.0007 12 15C10.6167 15 9.329 15.2543 8.137 15.763C6.945 16.2717 5.89933 16.9673 5 17.85V19Z",fill:"black"},null,-1),ps=[us];function ms(a,t){return e.openBlock(),e.createElementBlock("svg",ds,ps)}const vs=L(cs,[["render",ms]]),fs={},hs={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Cs=e.createElementVNode("path",{d:"M5.85 17.1C6.7 16.45 7.65 15.9373 8.7 15.562C9.75 15.1867 10.85 14.9993 12 15C13.15 15 14.25 15.1877 15.3 15.563C16.35 15.9383 17.3 16.4507 18.15 17.1C18.7333 16.4167 19.1877 15.6417 19.513 14.775C19.8383 13.9083 20.0007 12.9833 20 12C20 9.78333 19.221 7.89567 17.663 6.337C16.105 4.77833 14.2173 3.99933 12 4C9.78333 4 7.89567 4.779 6.337 6.337C4.77833 7.895 3.99933 9.78267 4 12C4 12.9833 4.16267 13.9083 4.488 14.775C4.81333 15.6417 5.26733 16.4167 5.85 17.1ZM12 13C11.0167 13 10.1873 12.6627 9.512 11.988C8.83667 11.3133 8.49933 10.484 8.5 9.5C8.5 8.51667 8.83733 7.68733 9.512 7.012C10.1867 6.33667 11.016 5.99933 12 6C12.9833 6 13.8127 6.33733 14.488 7.012C15.1633 7.68667 15.5007 8.516 15.5 9.5C15.5 10.4833 15.1627 11.3127 14.488 11.988C13.8133 12.6633 12.984 13.0007 12 13ZM12 22C10.6167 22 9.31667 21.7373 8.1 21.212C6.88333 20.6867 5.825 19.9743 4.925 19.075C4.025 18.175 3.31267 17.1167 2.788 15.9C2.26333 14.6833 2.00067 13.3833 2 12C2 10.6167 2.26267 9.31667 2.788 8.1C3.31333 6.88333 4.02567 5.825 4.925 4.925C5.825 4.025 6.88333 3.31267 8.1 2.788C9.31667 2.26333 10.6167 2.00067 12 2C13.3833 2 14.6833 2.26267 15.9 2.788C17.1167 3.31333 18.175 4.02567 19.075 4.925C19.975 5.825 20.6877 6.88333 21.213 8.1C21.7383 9.31667 22.0007 10.6167 22 12C22 13.3833 21.7373 14.6833 21.212 15.9C20.6867 17.1167 19.9743 18.175 19.075 19.075C18.175 19.975 17.1167 20.6877 15.9 21.213C14.6833 21.7383 13.3833 22.0007 12 22Z",fill:"black"},null,-1),gs=[Cs];function _s(a,t){return e.openBlock(),e.createElementBlock("svg",hs,gs)}const ys=L(fs,[["render",_s]]),bs={},ks={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},ws=e.createElementVNode("path",{d:"M17 21C16.45 21 15.979 20.804 15.587 20.412C15.195 20.02 14.9993 19.5493 15 19V18H13C12.45 18 11.979 17.804 11.587 17.412C11.195 17.02 10.9993 16.5493 11 16V8H9V9C9 9.55 8.804 10.021 8.412 10.413C8.02 10.805 7.54934 11.0007 7 11H4C3.45 11 2.979 10.804 2.587 10.412C2.195 10.02 1.99934 9.54934 2 9V5C2 4.45 2.196 3.979 2.588 3.587C2.98 3.195 3.45067 2.99934 4 3H7C7.55 3 8.021 3.196 8.413 3.588C8.805 3.98 9.00067 4.45067 9 5V6H15V5C15 4.45 15.196 3.979 15.588 3.587C15.98 3.195 16.4507 2.99934 17 3H20C20.55 3 21.021 3.196 21.413 3.588C21.805 3.98 22.0007 4.45067 22 5V9C22 9.55 21.804 10.021 21.412 10.413C21.02 10.805 20.5493 11.0007 20 11H17C16.45 11 15.979 10.804 15.587 10.412C15.195 10.02 14.9993 9.54934 15 9V8H13V16H15V15C15 14.45 15.196 13.979 15.588 13.587C15.98 13.195 16.4507 12.9993 17 13H20C20.55 13 21.021 13.196 21.413 13.588C21.805 13.98 22.0007 14.4507 22 15V19C22 19.55 21.804 20.021 21.412 20.413C21.02 20.805 20.5493 21.0007 20 21H17ZM17 9H20V5H17V9ZM17 19H20V15H17V19ZM4 9H7V5H4V9Z",fill:"black"},null,-1),$s=[ws];function Es(a,t){return e.openBlock(),e.createElementBlock("svg",ks,$s)}const Bs=L(bs,[["render",Es]]),Vs={},Ns={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Ss=e.createElementVNode("path",{d:"M17 21C16.45 21 15.979 20.804 15.587 20.412C15.195 20.02 14.9993 19.5493 15 19V18H13C12.45 18 11.979 17.804 11.587 17.412C11.195 17.02 10.9993 16.5493 11 16V8H9V9C9 9.55 8.804 10.021 8.412 10.413C8.02 10.805 7.54934 11.0007 7 11H4C3.45 11 2.979 10.804 2.587 10.412C2.195 10.02 1.99934 9.54934 2 9V5C2 4.45 2.196 3.979 2.588 3.587C2.98 3.195 3.45067 2.99934 4 3H7C7.55 3 8.021 3.196 8.413 3.588C8.805 3.98 9.00067 4.45067 9 5V6H15V5C15 4.45 15.196 3.979 15.588 3.587C15.98 3.195 16.4507 2.99934 17 3H20C20.55 3 21.021 3.196 21.413 3.588C21.805 3.98 22.0007 4.45067 22 5V9C22 9.55 21.804 10.021 21.412 10.413C21.02 10.805 20.5493 11.0007 20 11H17C16.45 11 15.979 10.804 15.587 10.412C15.195 10.02 14.9993 9.54934 15 9V8H13V16H15V15C15 14.45 15.196 13.979 15.588 13.587C15.98 13.195 16.4507 12.9993 17 13H20C20.55 13 21.021 13.196 21.413 13.588C21.805 13.98 22.0007 14.4507 22 15V19C22 19.55 21.804 20.021 21.412 20.413C21.02 20.805 20.5493 21.0007 20 21H17Z",fill:"black"},null,-1),Ms=[Ss];function As(a,t){return e.openBlock(),e.createElementBlock("svg",Ns,Ms)}const Ts=L(Vs,[["render",As]]),Os={},Is={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Ls=e.createElementVNode("path",{d:"M11 19V13H5V11H11V5H13V11H19V13H13V19H11Z",fill:"black"},null,-1),Ds=[Ls];function Ps(a,t){return e.openBlock(),e.createElementBlock("svg",Is,Ds)}const Hs=L(Os,[["render",Ps]]),Rs={},js={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Fs=e.createElementVNode("path",{d:"M12 17C12.2833 17 12.521 16.904 12.713 16.712C12.9043 16.5207 13 16.2833 13 16V13H16C16.2833 13 16.5207 12.904 16.712 12.712C16.904 12.5207 17 12.2833 17 12C17 11.7167 16.904 11.479 16.712 11.287C16.5207 11.0957 16.2833 11 16 11H13V8C13 7.71667 12.9043 7.479 12.713 7.287C12.521 7.09567 12.2833 7 12 7C11.7167 7 11.4793 7.09567 11.288 7.287C11.096 7.479 11 7.71667 11 8V11H8C7.71667 11 7.479 11.0957 7.287 11.287C7.09567 11.479 7 11.7167 7 12C7 12.2833 7.09567 12.5207 7.287 12.712C7.479 12.904 7.71667 13 8 13H11V16C11 16.2833 11.096 16.5207 11.288 16.712C11.4793 16.904 11.7167 17 12 17ZM5 21C4.45 21 3.979 20.8043 3.587 20.413C3.19567 20.021 3 19.55 3 19V5C3 4.45 3.19567 3.979 3.587 3.587C3.979 3.19567 4.45 3 5 3H19C19.55 3 20.021 3.19567 20.413 3.587C20.8043 3.979 21 4.45 21 5V19C21 19.55 20.8043 20.021 20.413 20.413C20.021 20.8043 19.55 21 19 21H5ZM5 19H19V5H5V19ZM5 19V5V19Z",fill:"black"},null,-1),Us=[Fs];function zs(a,t){return e.openBlock(),e.createElementBlock("svg",js,Us)}const Zs=L(Rs,[["render",zs]]),xs={},Ws={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},qs=e.createElementVNode("path",{d:"M5 21C4.45 21 3.979 20.804 3.587 20.412C3.195 20.02 2.99934 19.5493 3 19V6.50001C3 6.25001 3.04167 6.02501 3.125 5.82501C3.20834 5.62501 3.31667 5.43334 3.45 5.25001L4.85 3.55001C4.98333 3.36667 5.15 3.22901 5.35 3.13701C5.55 3.04501 5.76667 2.99934 6 3.00001H18C18.2333 3.00001 18.45 3.04567 18.65 3.13701C18.85 3.22834 19.0167 3.36601 19.15 3.55001L20.55 5.25001C20.6833 5.43334 20.7917 5.62501 20.875 5.82501C20.9583 6.02501 21 6.25001 21 6.50001V19C21 19.55 20.804 20.021 20.412 20.413C20.02 20.805 19.5493 21.0007 19 21H5ZM5.4 6.00001H18.6L17.75 5.00001H6.25L5.4 6.00001ZM5 19H19V8.00001H5V19ZM12 17.575C12.1333 17.575 12.2583 17.554 12.375 17.512C12.4917 17.47 12.6 17.3993 12.7 17.3L15.3 14.7C15.4833 14.5167 15.575 14.2833 15.575 14C15.575 13.7167 15.4833 13.4833 15.3 13.3C15.1167 13.1167 14.8833 13.025 14.6 13.025C14.3167 13.025 14.0833 13.1167 13.9 13.3L13 14.2V11C13 10.7167 12.904 10.479 12.712 10.287C12.52 10.095 12.2827 9.99934 12 10C11.7167 10 11.479 10.096 11.287 10.288C11.095 10.48 10.9993 10.7173 11 11V14.2L10.1 13.3C9.91667 13.1167 9.68333 13.025 9.4 13.025C9.11667 13.025 8.88334 13.1167 8.7 13.3C8.51667 13.4833 8.425 13.7167 8.425 14C8.425 14.2833 8.51667 14.5167 8.7 14.7L11.3 17.3C11.4 17.4 11.5083 17.4707 11.625 17.512C11.7417 17.5533 11.8667 17.5743 12 17.575Z",fill:"black"},null,-1),Ys=[qs];function Ks(a,t){return e.openBlock(),e.createElementBlock("svg",Ws,Ys)}const Gs=L(xs,[["render",Ks]]),Xs={},Qs={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Js=e.createElementVNode("path",{d:"M10.875 19.3001L4.275 12.7001C4.175 12.6001 4.104 12.4917 4.062 12.3751C4.02067 12.2584 4 12.1334 4 12.0001C4 11.8667 4.02067 11.7417 4.062 11.6251C4.104 11.5084 4.175 11.4001 4.275 11.3001L10.875 4.70008C11.0583 4.51675 11.2873 4.42075 11.562 4.41208C11.8373 4.40408 12.075 4.50008 12.275 4.70008C12.475 4.88342 12.5793 5.11242 12.588 5.38708C12.596 5.66242 12.5 5.90008 12.3 6.10008L7.4 11.0001H18.575C18.8583 11.0001 19.096 11.0957 19.288 11.2871C19.4793 11.4791 19.575 11.7167 19.575 12.0001C19.575 12.2834 19.4793 12.5207 19.288 12.7121C19.096 12.9041 18.8583 13.0001 18.575 13.0001H7.4L12.3 17.9001C12.4833 18.0834 12.5793 18.3167 12.588 18.6001C12.596 18.8834 12.5 19.1167 12.3 19.3001C12.1167 19.5001 11.8833 19.6001 11.6 19.6001C11.3167 19.6001 11.075 19.5001 10.875 19.3001V19.3001Z",fill:"black"},null,-1),el=[Js];function tl(a,t){return e.openBlock(),e.createElementBlock("svg",Qs,el)}const al=L(Xs,[["render",tl]]),ol={},nl={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},sl=e.createElementVNode("path",{d:"M11.3 14.3L8.70001 11.7C8.38335 11.3833 8.31268 11.021 8.48801 10.613C8.66268 10.2043 8.97501 10 9.42501 10H14.575C15.025 10 15.3373 10.2043 15.512 10.613C15.6873 11.021 15.6167 11.3833 15.3 11.7L12.7 14.3C12.6 14.4 12.4917 14.475 12.375 14.525C12.2583 14.575 12.1333 14.6 12 14.6C11.8667 14.6 11.7417 14.575 11.625 14.525C11.5083 14.475 11.4 14.4 11.3 14.3V14.3Z",fill:"black"},null,-1),ll=[sl];function rl(a,t){return e.openBlock(),e.createElementBlock("svg",nl,ll)}const il=L(ol,[["render",rl]]),cl={},dl={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},ul=e.createElementVNode("path",{d:"M11.3 19.3C11.1167 19.1167 11.0207 18.8834 11.012 18.6C11.004 18.3167 11.0917 18.0834 11.275 17.9L16.175 13H5C4.71667 13 4.479 12.904 4.287 12.712C4.09567 12.5207 4 12.2834 4 12C4 11.7167 4.09567 11.479 4.287 11.287C4.479 11.0957 4.71667 11 5 11H16.175L11.275 6.10005C11.0917 5.91672 11.004 5.68338 11.012 5.40005C11.0207 5.11672 11.1167 4.88338 11.3 4.70005C11.4833 4.51672 11.7167 4.42505 12 4.42505C12.2833 4.42505 12.5167 4.51672 12.7 4.70005L19.3 11.3C19.4 11.3834 19.471 11.4874 19.513 11.612C19.5543 11.7374 19.575 11.8667 19.575 12C19.575 12.1334 19.5543 12.2584 19.513 12.375C19.471 12.4917 19.4 12.6 19.3 12.7L12.7 19.3C12.5167 19.4834 12.2833 19.575 12 19.575C11.7167 19.575 11.4833 19.4834 11.3 19.3V19.3Z",fill:"black"},null,-1),pl=[ul];function ml(a,t){return e.openBlock(),e.createElementBlock("svg",dl,pl)}const vl=L(cl,[["render",ml]]),fl={},hl={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Cl=e.createElementVNode("path",{d:"M8 17H13C13.2833 17 13.521 16.904 13.713 16.712C13.905 16.52 14.0007 16.2827 14 16C14 15.7167 13.904 15.479 13.712 15.287C13.52 15.095 13.2827 14.9993 13 15H8C7.71667 15 7.479 15.096 7.287 15.288C7.095 15.48 6.99934 15.7173 7 16C7 16.2833 7.096 16.521 7.288 16.713C7.48 16.905 7.71734 17.0007 8 17ZM8 13H16C16.2833 13 16.521 12.904 16.713 12.712C16.905 12.52 17.0007 12.2827 17 12C17 11.7167 16.904 11.479 16.712 11.287C16.52 11.095 16.2827 10.9993 16 11H8C7.71667 11 7.479 11.096 7.287 11.288C7.095 11.48 6.99934 11.7173 7 12C7 12.2833 7.096 12.521 7.288 12.713C7.48 12.905 7.71734 13.0007 8 13ZM8 9H16C16.2833 9 16.521 8.904 16.713 8.712C16.905 8.52 17.0007 8.28267 17 8C17 7.71667 16.904 7.479 16.712 7.287C16.52 7.095 16.2827 6.99933 16 7H8C7.71667 7 7.479 7.096 7.287 7.288C7.095 7.48 6.99934 7.71733 7 8C7 8.28333 7.096 8.521 7.288 8.713C7.48 8.905 7.71734 9.00067 8 9ZM5 19H19V5H5V19ZM5 21C4.45 21 3.979 20.804 3.587 20.412C3.195 20.02 2.99934 19.5493 3 19V5C3 4.45 3.196 3.979 3.588 3.587C3.98 3.195 4.45067 2.99933 5 3H9.2C9.41667 2.4 9.77934 1.91667 10.288 1.55C10.7967 1.18333 11.3673 1 12 1C12.6333 1 13.2043 1.18333 13.713 1.55C14.2217 1.91667 14.584 2.4 14.8 3H19C19.55 3 20.021 3.196 20.413 3.588C20.805 3.98 21.0007 4.45067 21 5V19C21 19.55 20.804 20.021 20.412 20.413C20.02 20.805 19.5493 21.0007 19 21H5ZM12 4.25C12.2167 4.25 12.3957 4.179 12.537 4.037C12.6783 3.895 12.7493 3.716 12.75 3.5C12.75 3.28333 12.679 3.10433 12.537 2.963C12.395 2.82167 12.216 2.75067 12 2.75C11.7833 2.75 11.6043 2.821 11.463 2.963C11.3217 3.105 11.2507 3.284 11.25 3.5C11.25 3.71667 11.321 3.89567 11.463 4.037C11.605 4.17833 11.784 4.24933 12 4.25Z",fill:"black"},null,-1),gl=[Cl];function _l(a,t){return e.openBlock(),e.createElementBlock("svg",hl,gl)}const yl=L(fl,[["render",_l]]),bl={},kl={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wl=e.createElementVNode("path",{d:"M11.5 22C9.96667 22 8.66667 21.4667 7.6 20.4C6.53333 19.3333 6 18.0333 6 16.5V6C6 4.9 6.39167 3.95833 7.175 3.175C7.95833 2.39167 8.9 2 10 2C11.1 2 12.0417 2.39167 12.825 3.175C13.6083 3.95833 14 4.9 14 6V15.5C14 16.2 13.7583 16.7917 13.275 17.275C12.7917 17.7583 12.2 18 11.5 18C10.8 18 10.2083 17.7583 9.725 17.275C9.24167 16.7917 9 16.2 9 15.5V6.75C9 6.53333 9.071 6.35433 9.213 6.213C9.355 6.07167 9.534 6.00067 9.75 6C9.96667 6 10.1457 6.071 10.287 6.213C10.4283 6.355 10.4993 6.534 10.5 6.75V15.5C10.5 15.7833 10.596 16.021 10.788 16.213C10.98 16.405 11.2173 16.5007 11.5 16.5C11.7833 16.5 12.021 16.404 12.213 16.212C12.405 16.02 12.5007 15.7827 12.5 15.5V6C12.5 5.3 12.2583 4.70833 11.775 4.225C11.2917 3.74167 10.7 3.5 10 3.5C9.3 3.5 8.70833 3.74167 8.225 4.225C7.74167 4.70833 7.5 5.3 7.5 6V16.5C7.5 17.6 7.89167 18.5417 8.675 19.325C9.45833 20.1083 10.4 20.5 11.5 20.5C12.6 20.5 13.5417 20.1083 14.325 19.325C15.1083 18.5417 15.5 17.6 15.5 16.5V6.75C15.5 6.53333 15.571 6.35433 15.713 6.213C15.855 6.07167 16.034 6.00067 16.25 6C16.4667 6 16.6457 6.071 16.787 6.213C16.9283 6.355 16.9993 6.534 17 6.75V16.5C17 18.0333 16.4667 19.3333 15.4 20.4C14.3333 21.4667 13.0333 22 11.5 22Z",fill:"black"},null,-1),$l=[wl];function El(a,t){return e.openBlock(),e.createElementBlock("svg",kl,$l)}const Bl=L(bl,[["render",El]]),Vl={},Nl={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Sl=e.createElementVNode("path",{d:"M5 22C4.45 22 3.979 21.804 3.587 21.412C3.195 21.02 2.99934 20.5493 3 20V6C3 5.45 3.196 4.979 3.588 4.587C3.98 4.195 4.45067 3.99933 5 4H6V2.975C6 2.69167 6.096 2.45833 6.288 2.275C6.48 2.09167 6.71734 2 7 2C7.28334 2 7.521 2.096 7.713 2.288C7.905 2.48 8.00067 2.71733 8 3V4H16V2.975C16 2.69167 16.096 2.45833 16.288 2.275C16.48 2.09167 16.7173 2 17 2C17.2833 2 17.521 2.096 17.713 2.288C17.905 2.48 18.0007 2.71733 18 3V4H19C19.55 4 20.021 4.196 20.413 4.588C20.805 4.98 21.0007 5.45067 21 6V20C21 20.55 20.804 21.021 20.412 21.413C20.02 21.805 19.5493 22.0007 19 22H5ZM5 20H19V10H5V20ZM5 8H19V6H5V8Z",fill:"black"},null,-1),Ml=[Sl];function Al(a,t){return e.openBlock(),e.createElementBlock("svg",Nl,Ml)}const Tl=L(Vl,[["render",Al]]),Ol={},Il={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Ll=e.createElementVNode("path",{d:"M12 13.4L14.9 16.3C15.0833 16.4833 15.3167 16.575 15.6 16.575C15.8833 16.575 16.1167 16.4833 16.3 16.3C16.4833 16.1167 16.575 15.8833 16.575 15.6C16.575 15.3167 16.4833 15.0833 16.3 14.9L13.4 12L16.3 9.1C16.4833 8.91667 16.575 8.68333 16.575 8.4C16.575 8.11667 16.4833 7.88333 16.3 7.7C16.1167 7.51667 15.8833 7.425 15.6 7.425C15.3167 7.425 15.0833 7.51667 14.9 7.7L12 10.6L9.1 7.7C8.91667 7.51667 8.68333 7.425 8.4 7.425C8.11667 7.425 7.88333 7.51667 7.7 7.7C7.51667 7.88333 7.425 8.11667 7.425 8.4C7.425 8.68333 7.51667 8.91667 7.7 9.1L10.6 12L7.7 14.9C7.51667 15.0833 7.425 15.3167 7.425 15.6C7.425 15.8833 7.51667 16.1167 7.7 16.3C7.88333 16.4833 8.11667 16.575 8.4 16.575C8.68333 16.575 8.91667 16.4833 9.1 16.3L12 13.4ZM12 22C10.6167 22 9.31667 21.7373 8.1 21.212C6.88333 20.6867 5.825 19.9743 4.925 19.075C4.025 18.175 3.31267 17.1167 2.788 15.9C2.26333 14.6833 2.00067 13.3833 2 12C2 10.6167 2.26267 9.31667 2.788 8.1C3.31333 6.88333 4.02567 5.825 4.925 4.925C5.825 4.025 6.88333 3.31267 8.1 2.788C9.31667 2.26333 10.6167 2.00067 12 2C13.3833 2 14.6833 2.26267 15.9 2.788C17.1167 3.31333 18.175 4.02567 19.075 4.925C19.975 5.825 20.6877 6.88333 21.213 8.1C21.7383 9.31667 22.0007 10.6167 22 12C22 13.3833 21.7373 14.6833 21.212 15.9C20.6867 17.1167 19.9743 18.175 19.075 19.075C18.175 19.975 17.1167 20.6877 15.9 21.213C14.6833 21.7383 13.3833 22.0007 12 22Z",fill:"black"},null,-1),Dl=[Ll];function Pl(a,t){return e.openBlock(),e.createElementBlock("svg",Il,Dl)}const Hl=L(Ol,[["render",Pl]]),Rl={},jl={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Fl=e.createElementVNode("path",{d:"M6 14H14V12H6V14ZM6 11H18V9H6V11ZM6 8H18V6H6V8ZM2 22V4C2 3.45 2.196 2.979 2.588 2.587C2.98 2.195 3.45067 1.99934 4 2H20C20.55 2 21.021 2.196 21.413 2.588C21.805 2.98 22.0007 3.45067 22 4V16C22 16.55 21.804 17.021 21.412 17.413C21.02 17.805 20.5493 18.0007 20 18H6L2 22ZM4 17.175L5.175 16H20V4H4V17.175Z",fill:"black"},null,-1),Ul=[Fl];function zl(a,t){return e.openBlock(),e.createElementBlock("svg",jl,Ul)}const Zl=L(Rl,[["render",zl]]),xl={},Wl={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},ql=e.createElementVNode("path",{d:"M5 21C4.45 21 3.979 20.804 3.587 20.412C3.195 20.02 2.99934 19.5493 3 19V5C3 4.45 3.196 3.979 3.588 3.587C3.98 3.195 4.45067 2.99934 5 3H19C19.55 3 20.021 3.196 20.413 3.588C20.805 3.98 21.0007 4.45067 21 5V19C21 19.55 20.804 20.021 20.412 20.413C20.02 20.805 19.5493 21.0007 19 21H5ZM5 19H19V5H5V19Z",fill:"black"},null,-1),Yl=[ql];function Kl(a,t){return e.openBlock(),e.createElementBlock("svg",Wl,Yl)}const Gl=L(xl,[["render",Kl]]),Xl={},Ql={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Jl=e.createElementVNode("path",{d:"M3 21V3H21V21H3ZM5 19H19V5H5V19Z",fill:"black"},null,-1),er=[Jl];function tr(a,t){return e.openBlock(),e.createElementBlock("svg",Ql,er)}const ar=L(Xl,[["render",tr]]),or={},nr={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},sr=e.createElementVNode("path",{d:"M10.6 13.4L8.45 11.25C8.26667 11.0667 8.03334 10.975 7.75 10.975C7.46667 10.975 7.23334 11.0667 7.05 11.25C6.86667 11.4333 6.775 11.6667 6.775 11.95C6.775 12.2333 6.86667 12.4667 7.05 12.65L9.9 15.5C10.1 15.7 10.3333 15.8 10.6 15.8C10.8667 15.8 11.1 15.7 11.3 15.5L16.95 9.85C17.1333 9.66667 17.225 9.43333 17.225 9.15C17.225 8.86667 17.1333 8.63334 16.95 8.45C16.7667 8.26667 16.5333 8.175 16.25 8.175C15.9667 8.175 15.7333 8.26667 15.55 8.45L10.6 13.4ZM5 21C4.45 21 3.979 20.804 3.587 20.412C3.195 20.02 2.99934 19.5493 3 19V5C3 4.45 3.196 3.979 3.588 3.587C3.98 3.195 4.45067 2.99934 5 3H19C19.55 3 20.021 3.196 20.413 3.588C20.805 3.98 21.0007 4.45067 21 5V19C21 19.55 20.804 20.021 20.412 20.413C20.02 20.805 19.5493 21.0007 19 21H5ZM5 19H19V5H5V19Z",fill:"black"},null,-1),lr=[sr];function rr(a,t){return e.openBlock(),e.createElementBlock("svg",nr,lr)}const ir=L(or,[["render",rr]]),cr={},dr={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},ur=e.createElementVNode("path",{d:"M10 13.6L15.9 7.70005C16.0834 7.51672 16.3167 7.42505 16.6 7.42505C16.8834 7.42505 17.1167 7.51672 17.3 7.70005C17.4834 7.88338 17.575 8.11671 17.575 8.40005C17.575 8.68338 17.4834 8.91672 17.3 9.10005L10.7 15.7C10.5 15.9 10.2667 16 10 16C9.73338 16 9.50005 15.9 9.30005 15.7L6.70005 13.1C6.51672 12.9167 6.42505 12.6834 6.42505 12.4C6.42505 12.1167 6.51672 11.8834 6.70005 11.7C6.88338 11.5167 7.11672 11.425 7.40005 11.425C7.68338 11.425 7.91672 11.5167 8.10005 11.7L10 13.6Z",fill:"black"},null,-1),pr=[ur];function mr(a,t){return e.openBlock(),e.createElementBlock("svg",dr,pr)}const vr=L(cr,[["render",mr]]),fr={},hr={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Cr=e.createElementVNode("path",{d:"M14 8.99989C13.7167 8.99989 13.479 8.90389 13.287 8.71189C13.095 8.51989 12.9994 8.28255 13 7.99989C13 7.71655 13.096 7.47889 13.288 7.28689C13.48 7.09489 13.7174 6.99922 14 6.99989H21C21.2834 6.99989 21.521 7.09589 21.713 7.28789C21.905 7.47989 22.0007 7.71722 22 7.99989C22 8.28322 21.904 8.52089 21.712 8.71289C21.52 8.90489 21.2827 9.00055 21 8.99989H14ZM14 16.9999C13.7167 16.9999 13.479 16.9039 13.287 16.7119C13.095 16.5199 12.9994 16.2826 13 15.9999C13 15.7166 13.096 15.4789 13.288 15.2869C13.48 15.0949 13.7174 14.9992 14 14.9999H21C21.2834 14.9999 21.521 15.0959 21.713 15.2879C21.905 15.4799 22.0007 15.7172 22 15.9999C22 16.2832 21.904 16.5209 21.712 16.7129C21.52 16.9049 21.2827 17.0006 21 16.9999H14ZM4.85005 10.2999L2.70005 8.14989C2.51672 7.96655 2.42505 7.73322 2.42505 7.44989C2.42505 7.16655 2.51672 6.93322 2.70005 6.74989C2.88338 6.56655 3.11672 6.47489 3.40005 6.47489C3.68338 6.47489 3.91672 6.56655 4.10005 6.74989L5.52505 8.17489L9.07505 4.62489C9.27505 4.42489 9.50838 4.32889 9.77505 4.33689C10.0417 4.34489 10.275 4.44922 10.475 4.64989C10.6584 4.84989 10.75 5.08322 10.75 5.34989C10.75 5.61655 10.6584 5.84989 10.475 6.04989L6.25005 10.2999C6.05005 10.4999 5.81672 10.5999 5.55005 10.5999C5.28338 10.5999 5.05005 10.4999 4.85005 10.2999ZM4.85005 18.2999L2.70005 16.1499C2.51672 15.9666 2.42505 15.7332 2.42505 15.4499C2.42505 15.1666 2.51672 14.9332 2.70005 14.7499C2.88338 14.5666 3.11672 14.4749 3.40005 14.4749C3.68338 14.4749 3.91672 14.5666 4.10005 14.7499L5.52505 16.1749L9.07505 12.6249C9.27505 12.4249 9.50838 12.3292 9.77505 12.3379C10.0417 12.3466 10.275 12.4506 10.475 12.6499C10.6584 12.8499 10.75 13.0832 10.75 13.3499C10.75 13.6166 10.6584 13.8499 10.475 14.0499L6.25005 18.2999C6.05005 18.4999 5.81672 18.5999 5.55005 18.5999C5.28338 18.5999 5.05005 18.4999 4.85005 18.2999Z",fill:"black"},null,-1),gr=[Cr];function _r(a,t){return e.openBlock(),e.createElementBlock("svg",hr,gr)}const yr=L(fr,[["render",_r]]),br={},kr={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wr=e.createElementVNode("path",{d:"M14 18L8 12L14 6L15.4 7.4L10.8 12L15.4 16.6L14 18Z",fill:"black"},null,-1),$r=[wr];function Er(a,t){return e.openBlock(),e.createElementBlock("svg",kr,$r)}const Br=L(br,[["render",Er]]),Vr={},Nr={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Sr=e.createElementVNode("path",{d:"M9.4 18L8 16.6L12.6 12L8 7.4L9.4 6L15.4 12L9.4 18Z",fill:"black"},null,-1),Mr=[Sr];function Ar(a,t){return e.openBlock(),e.createElementBlock("svg",Nr,Mr)}const Tr=L(Vr,[["render",Ar]]),Or={},Ir={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Lr=e.createElementVNode("path",{d:"M12 13.4L7.10005 18.3C6.91672 18.4834 6.68338 18.575 6.40005 18.575C6.11672 18.575 5.88338 18.4834 5.70005 18.3C5.51672 18.1167 5.42505 17.8834 5.42505 17.6C5.42505 17.3167 5.51672 17.0834 5.70005 16.9L10.6 12L5.70005 7.10005C5.51672 6.91672 5.42505 6.68338 5.42505 6.40005C5.42505 6.11672 5.51672 5.88338 5.70005 5.70005C5.88338 5.51672 6.11672 5.42505 6.40005 5.42505C6.68338 5.42505 6.91672 5.51672 7.10005 5.70005L12 10.6L16.9 5.70005C17.0834 5.51672 17.3167 5.42505 17.6 5.42505C17.8834 5.42505 18.1167 5.51672 18.3 5.70005C18.4834 5.88338 18.575 6.11672 18.575 6.40005C18.575 6.68338 18.4834 6.91672 18.3 7.10005L13.4 12L18.3 16.9C18.4834 17.0834 18.575 17.3167 18.575 17.6C18.575 17.8834 18.4834 18.1167 18.3 18.3C18.1167 18.4834 17.8834 18.575 17.6 18.575C17.3167 18.575 17.0834 18.4834 16.9 18.3L12 13.4Z",fill:"black"},null,-1),Dr=[Lr];function Pr(a,t){return e.openBlock(),e.createElementBlock("svg",Ir,Dr)}const Hr=L(Or,[["render",Pr]]),Rr={},jr={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Fr=e.createElementVNode("path",{d:"M5 23C4.71667 23 4.479 22.904 4.287 22.712C4.095 22.52 3.99934 22.2827 4 22C4 21.7167 4.096 21.479 4.288 21.287C4.48 21.095 4.71734 20.9993 5 21H19C19.2833 21 19.521 21.096 19.713 21.288C19.905 21.48 20.0007 21.7173 20 22C20 22.2833 19.904 22.521 19.712 22.713C19.52 22.905 19.2827 23.0007 19 23H5ZM5 3C4.71667 3 4.479 2.904 4.287 2.712C4.095 2.52 3.99934 2.28267 4 2C4 1.71667 4.096 1.479 4.288 1.287C4.48 1.095 4.71734 0.999337 5 1H19C19.2833 1 19.521 1.096 19.713 1.288C19.905 1.48 20.0007 1.71734 20 2C20 2.28334 19.904 2.521 19.712 2.713C19.52 2.905 19.2827 3.00067 19 3H5ZM12 13C12.8333 13 13.5417 12.7083 14.125 12.125C14.7083 11.5417 15 10.8333 15 10C15 9.16667 14.7083 8.45834 14.125 7.875C13.5417 7.29167 12.8333 7 12 7C11.1667 7 10.4583 7.29167 9.875 7.875C9.29167 8.45834 9 9.16667 9 10C9 10.8333 9.29167 11.5417 9.875 12.125C10.4583 12.7083 11.1667 13 12 13ZM4 20C3.45 20 2.979 19.804 2.587 19.412C2.195 19.02 1.99934 18.5493 2 18V6C2 5.45 2.196 4.979 2.588 4.587C2.98 4.195 3.45067 3.99934 4 4H20C20.55 4 21.021 4.196 21.413 4.588C21.805 4.98 22.0007 5.45067 22 6V18C22 18.55 21.804 19.021 21.412 19.413C21.02 19.805 20.5493 20.0007 20 20H4ZM5.75 18C6.5 17.0667 7.40834 16.3333 8.475 15.8C9.54167 15.2667 10.7167 15 12 15C13.2833 15 14.4583 15.2667 15.525 15.8C16.5917 16.3333 17.5 17.0667 18.25 18H20V6H4V18H5.75ZM8.7 18H15.3C14.8167 17.6667 14.2957 17.4167 13.737 17.25C13.1783 17.0833 12.5993 17 12 17C11.4 17 10.8207 17.0833 10.262 17.25C9.70334 17.4167 9.18267 17.6667 8.7 18ZM12 11C11.7167 11 11.479 10.904 11.287 10.712C11.095 10.52 10.9993 10.2827 11 10C11 9.71667 11.096 9.479 11.288 9.287C11.48 9.095 11.7173 8.99934 12 9C12.2833 9 12.521 9.096 12.713 9.288C12.905 9.48 13.0007 9.71734 13 10C13 10.2833 12.904 10.521 12.712 10.713C12.52 10.905 12.2827 11.0007 12 11Z",fill:"black"},null,-1),Ur=[Fr];function zr(a,t){return e.openBlock(),e.createElementBlock("svg",jr,Ur)}const Zr=L(Rr,[["render",zr]]),xr={},Wr={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},qr=e.createElementVNode("path",{d:"M5 22C4.45 22 3.979 21.804 3.587 21.412C3.195 21.02 2.99934 20.5493 3 20V6H5V20H16V22H5ZM9 18C8.45 18 7.979 17.804 7.587 17.412C7.195 17.02 6.99934 16.5493 7 16V4C7 3.45 7.196 2.979 7.588 2.587C7.98 2.195 8.45067 1.99934 9 2H18C18.55 2 19.021 2.196 19.413 2.588C19.805 2.98 20.0007 3.45067 20 4V16C20 16.55 19.804 17.021 19.412 17.413C19.02 17.805 18.5493 18.0007 18 18H9ZM9 16H18V4H9V16Z",fill:"black"},null,-1),Yr=[qr];function Kr(a,t){return e.openBlock(),e.createElementBlock("svg",Wr,Yr)}const Gr=L(xr,[["render",Kr]]),Xr={},Qr={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Jr=e.createElementVNode("path",{d:"M7 21C6.45 21 5.979 20.804 5.587 20.412C5.195 20.02 4.99934 19.5493 5 19V6C4.71667 6 4.479 5.904 4.287 5.712C4.095 5.52 3.99934 5.28267 4 5C4 4.71667 4.096 4.479 4.288 4.287C4.48 4.095 4.71734 3.99934 5 4H9C9 3.71667 9.096 3.479 9.288 3.287C9.48 3.095 9.71734 2.99934 10 3H14C14.2833 3 14.521 3.096 14.713 3.288C14.905 3.48 15.0007 3.71734 15 4H19C19.2833 4 19.521 4.096 19.713 4.288C19.905 4.48 20.0007 4.71734 20 5C20 5.28334 19.904 5.521 19.712 5.713C19.52 5.905 19.2827 6.00067 19 6V19C19 19.55 18.804 20.021 18.412 20.413C18.02 20.805 17.5493 21.0007 17 21H7ZM7 6V19H17V6H7ZM9 16C9 16.2833 9.096 16.521 9.288 16.713C9.48 16.905 9.71734 17.0007 10 17C10.2833 17 10.521 16.904 10.713 16.712C10.905 16.52 11.0007 16.2827 11 16V9C11 8.71667 10.904 8.479 10.712 8.287C10.52 8.095 10.2827 7.99934 10 8C9.71667 8 9.479 8.096 9.287 8.288C9.095 8.48 8.99934 8.71734 9 9V16ZM13 16C13 16.2833 13.096 16.521 13.288 16.713C13.48 16.905 13.7173 17.0007 14 17C14.2833 17 14.521 16.904 14.713 16.712C14.905 16.52 15.0007 16.2827 15 16V9C15 8.71667 14.904 8.479 14.712 8.287C14.52 8.095 14.2827 7.99934 14 8C13.7167 8 13.479 8.096 13.287 8.288C13.095 8.48 12.9993 8.71734 13 9V16Z",fill:"black"},null,-1),ei=[Jr];function ti(a,t){return e.openBlock(),e.createElementBlock("svg",Qr,ei)}const ai=L(Xr,[["render",ti]]),oi={},ni={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},si=e.createElementVNode("path",{d:"M9 20C8.45 20 7.97933 19.8043 7.588 19.413C7.196 19.021 7 18.55 7 18C7 17.45 7.196 16.979 7.588 16.587C7.97933 16.1957 8.45 16 9 16C9.55 16 10.021 16.1957 10.413 16.587C10.8043 16.979 11 17.45 11 18C11 18.55 10.8043 19.021 10.413 19.413C10.021 19.8043 9.55 20 9 20ZM15 20C14.45 20 13.9793 19.8043 13.588 19.413C13.196 19.021 13 18.55 13 18C13 17.45 13.196 16.979 13.588 16.587C13.9793 16.1957 14.45 16 15 16C15.55 16 16.021 16.1957 16.413 16.587C16.8043 16.979 17 17.45 17 18C17 18.55 16.8043 19.021 16.413 19.413C16.021 19.8043 15.55 20 15 20ZM9 14C8.45 14 7.97933 13.804 7.588 13.412C7.196 13.0207 7 12.55 7 12C7 11.45 7.196 10.979 7.588 10.587C7.97933 10.1957 8.45 10 9 10C9.55 10 10.021 10.1957 10.413 10.587C10.8043 10.979 11 11.45 11 12C11 12.55 10.8043 13.0207 10.413 13.412C10.021 13.804 9.55 14 9 14ZM15 14C14.45 14 13.9793 13.804 13.588 13.412C13.196 13.0207 13 12.55 13 12C13 11.45 13.196 10.979 13.588 10.587C13.9793 10.1957 14.45 10 15 10C15.55 10 16.021 10.1957 16.413 10.587C16.8043 10.979 17 11.45 17 12C17 12.55 16.8043 13.0207 16.413 13.412C16.021 13.804 15.55 14 15 14ZM9 8C8.45 8 7.97933 7.804 7.588 7.412C7.196 7.02067 7 6.55 7 6C7 5.45 7.196 4.97933 7.588 4.588C7.97933 4.196 8.45 4 9 4C9.55 4 10.021 4.196 10.413 4.588C10.8043 4.97933 11 5.45 11 6C11 6.55 10.8043 7.02067 10.413 7.412C10.021 7.804 9.55 8 9 8ZM15 8C14.45 8 13.9793 7.804 13.588 7.412C13.196 7.02067 13 6.55 13 6C13 5.45 13.196 4.97933 13.588 4.588C13.9793 4.196 14.45 4 15 4C15.55 4 16.021 4.196 16.413 4.588C16.8043 4.97933 17 5.45 17 6C17 6.55 16.8043 7.02067 16.413 7.412C16.021 7.804 15.55 8 15 8Z",fill:"black"},null,-1),li=[si];function ri(a,t){return e.openBlock(),e.createElementBlock("svg",ni,li)}const ii=L(oi,[["render",ri]]),ci={},di={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},ui=e.createElementVNode("path",{d:"M6 22C5.45 22 4.979 21.804 4.587 21.412C4.195 21.02 3.99934 20.5493 4 20V4C4 3.45 4.196 2.979 4.588 2.587C4.98 2.195 5.45067 1.99934 6 2H13.175C13.4417 2 13.696 2.05 13.938 2.15C14.18 2.25 14.3923 2.39167 14.575 2.575L19.425 7.425C19.6083 7.60834 19.75 7.821 19.85 8.063C19.95 8.305 20 8.559 20 8.825V11.1L12 19.075V22H6ZM14.5 22C14.3667 22 14.25 21.95 14.15 21.85C14.05 21.75 14 21.6333 14 21.5V20.3C14 20.1667 14.0293 20.0333 14.088 19.9C14.1467 19.7667 14.2173 19.6583 14.3 19.575L19.15 14.7L21.3 16.8L16.425 21.7C16.3417 21.8 16.2333 21.875 16.1 21.925C15.9667 21.975 15.8333 22 15.7 22H14.5ZM22.025 16.1L19.9 13.975L20.6 13.275C20.8 13.075 21.0417 12.975 21.325 12.975C21.6083 12.975 21.8417 13.075 22.025 13.275L22.725 14C22.9083 14.2 23 14.4377 23 14.713C23 14.9883 22.9083 15.2173 22.725 15.4L22.025 16.1ZM14 9H18L13 4V8C13 8.28334 13.096 8.521 13.288 8.713C13.48 8.905 13.7173 9.00067 14 9Z",fill:"black"},null,-1),pi=[ui];function mi(a,t){return e.openBlock(),e.createElementBlock("svg",di,pi)}const vi=L(ci,[["render",mi]]),fi={},hi={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Ci=e.createElementVNode("path",{d:"M5 19H6.4L15.025 10.375L13.625 8.975L5 17.6V19ZM19.3 8.925L15.05 4.725L16.45 3.325C16.8333 2.94167 17.3043 2.75 17.863 2.75C18.4217 2.75 18.8923 2.94167 19.275 3.325L20.675 4.725C21.0583 5.10833 21.2583 5.571 21.275 6.113C21.2917 6.655 21.1083 7.11733 20.725 7.5L19.3 8.925ZM17.85 10.4L7.25 21H3V16.75L13.6 6.15L17.85 10.4ZM14.325 9.675L13.625 8.975L15.025 10.375L14.325 9.675Z",fill:"black"},null,-1),gi=[Ci];function _i(a,t){return e.openBlock(),e.createElementBlock("svg",hi,gi)}const yi=L(fi,[["render",_i]]),bi={},ki={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},wi=e.createElementVNode("path",{d:"M12 17C12.2833 17 12.521 16.904 12.713 16.712C12.905 16.52 13.0007 16.2827 13 16C13 15.7167 12.904 15.479 12.712 15.287C12.52 15.095 12.2827 14.9993 12 15C11.7167 15 11.479 15.096 11.287 15.288C11.095 15.48 10.9993 15.7173 11 16C11 16.2833 11.096 16.521 11.288 16.713C11.48 16.905 11.7173 17.0007 12 17ZM12 13C12.2833 13 12.521 12.904 12.713 12.712C12.905 12.52 13.0007 12.2827 13 12V8C13 7.71667 12.904 7.479 12.712 7.287C12.52 7.095 12.2827 6.99933 12 7C11.7167 7 11.479 7.096 11.287 7.288C11.095 7.48 10.9993 7.71733 11 8V12C11 12.2833 11.096 12.521 11.288 12.713C11.48 12.905 11.7173 13.0007 12 13ZM12 22C10.6167 22 9.31667 21.7373 8.1 21.212C6.88333 20.6867 5.825 19.9743 4.925 19.075C4.025 18.175 3.31267 17.1167 2.788 15.9C2.26333 14.6833 2.00067 13.3833 2 12C2 10.6167 2.26267 9.31667 2.788 8.1C3.31333 6.88333 4.02567 5.825 4.925 4.925C5.825 4.025 6.88333 3.31267 8.1 2.788C9.31667 2.26333 10.6167 2.00067 12 2C13.3833 2 14.6833 2.26267 15.9 2.788C17.1167 3.31333 18.175 4.02567 19.075 4.925C19.975 5.825 20.6877 6.88333 21.213 8.1C21.7383 9.31667 22.0007 10.6167 22 12C22 13.3833 21.7373 14.6833 21.212 15.9C20.6867 17.1167 19.9743 18.175 19.075 19.075C18.175 19.975 17.1167 20.6877 15.9 21.213C14.6833 21.7383 13.3833 22.0007 12 22ZM12 20C14.2333 20 16.125 19.225 17.675 17.675C19.225 16.125 20 14.2333 20 12C20 9.76667 19.225 7.875 17.675 6.325C16.125 4.775 14.2333 4 12 4C9.76667 4 7.875 4.775 6.325 6.325C4.775 7.875 4 9.76667 4 12C4 14.2333 4.775 16.125 6.325 17.675C7.875 19.225 9.76667 20 12 20Z",fill:"black"},null,-1),$i=[wi];function Ei(a,t){return e.openBlock(),e.createElementBlock("svg",ki,$i)}const Bi=L(bi,[["render",Ei]]),Vi={},Ni={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Si=e.createElementVNode("path",{d:"M11 18C10.7167 18 10.479 17.904 10.287 17.712C10.095 17.52 9.99934 17.2827 10 17C10 16.7167 10.096 16.479 10.288 16.287C10.48 16.095 10.7173 15.9993 11 16H13C13.2833 16 13.521 16.096 13.713 16.288C13.905 16.48 14.0007 16.7173 14 17C14 17.2833 13.904 17.521 13.712 17.713C13.52 17.905 13.2827 18.0007 13 18H11ZM4 8C3.71667 8 3.479 7.904 3.287 7.712C3.095 7.52 2.99934 7.28267 3 7C3 6.71667 3.096 6.479 3.288 6.287C3.48 6.095 3.71734 5.99934 4 6H20C20.2833 6 20.521 6.096 20.713 6.288C20.905 6.48 21.0007 6.71734 21 7C21 7.28334 20.904 7.521 20.712 7.713C20.52 7.905 20.2827 8.00067 20 8H4ZM7 13C6.71667 13 6.479 12.904 6.287 12.712C6.095 12.52 5.99934 12.2827 6 12C6 11.7167 6.096 11.479 6.288 11.287C6.48 11.095 6.71734 10.9993 7 11H17C17.2833 11 17.521 11.096 17.713 11.288C17.905 11.48 18.0007 11.7173 18 12C18 12.2833 17.904 12.521 17.712 12.713C17.52 12.905 17.2827 13.0007 17 13H7Z",fill:"black"},null,-1),Mi=[Si];function Ai(a,t){return e.openBlock(),e.createElementBlock("svg",Ni,Mi)}const Ti=L(Vi,[["render",Ai]]),Oi={},Ii={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Li=e.createElementVNode("path",{d:"M6 21C5.71667 21 5.479 20.904 5.287 20.712C5.095 20.52 4.99934 20.2827 5 20V5C5 4.71667 5.096 4.479 5.288 4.287C5.48 4.095 5.71734 3.99934 6 4H13.175C13.4083 4 13.6167 4.075 13.8 4.225C13.9833 4.375 14.1 4.56667 14.15 4.8L14.4 6H19C19.2833 6 19.521 6.096 19.713 6.288C19.905 6.48 20.0007 6.71734 20 7V15C20 15.2833 19.904 15.521 19.712 15.713C19.52 15.905 19.2827 16.0007 19 16H13.825C13.5917 16 13.3833 15.925 13.2 15.775C13.0167 15.625 12.9 15.4333 12.85 15.2L12.6 14H7V20C7 20.2833 6.904 20.521 6.712 20.713C6.52 20.905 6.28267 21.0007 6 21Z",fill:"black"},null,-1),Di=[Li];function Pi(a,t){return e.openBlock(),e.createElementBlock("svg",Ii,Di)}const Hi=L(Oi,[["render",Pi]]),Ri={},ji={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Fi=e.createElementVNode("path",{d:"M4 12V18V6V12ZM14 21C14.2833 21 14.521 20.904 14.713 20.712C14.905 20.52 15.0007 20.2827 15 20C15 19.7167 14.904 19.479 14.712 19.287C14.52 19.095 14.2827 18.9993 14 19C13.7167 19 13.479 19.096 13.287 19.288C13.095 19.48 12.9993 19.7173 13 20C13 20.2833 13.096 20.521 13.288 20.713C13.48 20.905 13.7173 21.0007 14 21ZM20 11C20.2833 11 20.521 10.904 20.713 10.712C20.905 10.52 21.0007 10.2827 21 10C21 9.71667 20.904 9.479 20.712 9.287C20.52 9.095 20.2827 8.99934 20 9C19.7167 9 19.479 9.096 19.287 9.288C19.095 9.48 18.9993 9.71734 19 10C19 10.2833 19.096 10.521 19.288 10.713C19.48 10.905 19.7173 11.0007 20 11ZM10 11C10.2833 11 10.521 10.904 10.713 10.712C10.905 10.52 11.0007 10.2827 11 10C11 9.71667 10.904 9.479 10.712 9.287C10.52 9.095 10.2827 8.99934 10 9H7C6.71667 9 6.479 9.096 6.287 9.288C6.095 9.48 5.99934 9.71734 6 10C6 10.2833 6.096 10.521 6.288 10.713C6.48 10.905 6.71734 11.0007 7 11H10ZM10 15C10.2833 15 10.521 14.904 10.713 14.712C10.905 14.52 11.0007 14.2827 11 14C11 13.7167 10.904 13.479 10.712 13.287C10.52 13.095 10.2827 12.9993 10 13H7C6.71667 13 6.479 13.096 6.287 13.288C6.095 13.48 5.99934 13.7173 6 14C6 14.2833 6.096 14.521 6.288 14.713C6.48 14.905 6.71734 15.0007 7 15H10ZM4 20C3.45 20 2.979 19.804 2.587 19.412C2.195 19.02 1.99934 18.5493 2 18V6C2 5.45 2.196 4.979 2.588 4.587C2.98 4.195 3.45067 3.99934 4 4H20C20.55 4 21.021 4.196 21.413 4.588C21.805 4.98 22.0007 5.45067 22 6H4V18H9V20H4ZM14 23C13.1667 23 12.4583 22.7083 11.875 22.125C11.2917 21.5417 11 20.8333 11 20C11 19.35 11.1877 18.7667 11.563 18.25C11.9383 17.7333 12.4173 17.375 13 17.175V15C13 14.7167 13.096 14.479 13.288 14.287C13.48 14.095 13.7173 13.9993 14 14H19V12.825C18.4167 12.625 17.9373 12.2667 17.562 11.75C17.1867 11.2333 16.9993 10.65 17 10C17 9.16667 17.2917 8.45833 17.875 7.875C18.4583 7.29167 19.1667 7 20 7C20.8333 7 21.5417 7.29167 22.125 7.875C22.7083 8.45833 23 9.16667 23 10C23 10.65 22.8123 11.2333 22.437 11.75C22.0617 12.2667 21.5827 12.625 21 12.825V15C21 15.2833 20.904 15.521 20.712 15.713C20.52 15.905 20.2827 16.0007 20 16H15V17.175C15.5833 17.375 16.0627 17.7333 16.438 18.25C16.8133 18.7667 17.0007 19.35 17 20C17 20.8333 16.7083 21.5417 16.125 22.125C15.5417 22.7083 14.8333 23 14 23Z",fill:"black"},null,-1),Ui=[Fi];function zi(a,t){return e.openBlock(),e.createElementBlock("svg",ji,Ui)}const Zi=L(Ri,[["render",zi]]),xi={},Wi={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},qi=e.createElementVNode("path",{d:"M8.5 14H9.5C9.78334 14 10.021 13.904 10.213 13.712C10.405 13.52 10.5007 13.2827 10.5 13V12H9.5V13H8.5V11H10.5C10.5 10.7167 10.404 10.479 10.212 10.287C10.02 10.095 9.78267 9.99934 9.5 10H8.5C8.21667 10 7.979 10.096 7.787 10.288C7.595 10.48 7.49934 10.7173 7.5 11V13C7.5 13.2833 7.596 13.521 7.788 13.713C7.98 13.905 8.21734 14.0007 8.5 14ZM11.5 14H12.5V10H11.5V14ZM13.5 14H14.5V12.5H16V11.5H14.5V11H16.5V10H13.5V14ZM5 21C4.45 21 3.979 20.804 3.587 20.412C3.195 20.02 2.99934 19.5493 3 19V5C3 4.45 3.196 3.979 3.588 3.587C3.98 3.195 4.45067 2.99934 5 3H19C19.55 3 20.021 3.196 20.413 3.588C20.805 3.98 21.0007 4.45067 21 5V19C21 19.55 20.804 20.021 20.412 20.413C20.02 20.805 19.5493 21.0007 19 21H5Z",fill:"black"},null,-1),Yi=[qi];function Ki(a,t){return e.openBlock(),e.createElementBlock("svg",Wi,Yi)}const Gi=L(xi,[["render",Ki]]),Xi={},Qi={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Ji=e.createElementVNode("path",{d:"M0 18V16.425C0 15.7083 0.366667 15.125 1.1 14.675C1.83333 14.225 2.8 14 4 14C4.21667 14 4.425 14.0043 4.625 14.013C4.825 14.0217 5.01667 14.0423 5.2 14.075C4.96667 14.425 4.79167 14.7917 4.675 15.175C4.55833 15.5583 4.5 15.9583 4.5 16.375V18H0ZM6 18V16.375C6 15.8417 6.146 15.354 6.438 14.912C6.73 14.47 7.14233 14.0827 7.675 13.75C8.20833 13.4167 8.846 13.1667 9.588 13C10.33 12.8333 11.134 12.75 12 12.75C12.8833 12.75 13.696 12.8333 14.438 13C15.18 13.1667 15.8173 13.4167 16.35 13.75C16.8833 14.0833 17.2917 14.471 17.575 14.913C17.8583 15.355 18 15.8423 18 16.375V18H6ZM19.5 18V16.375C19.5 15.9417 19.4457 15.5333 19.337 15.15C19.2283 14.7667 19.066 14.4083 18.85 14.075C19.0333 14.0417 19.221 14.021 19.413 14.013C19.605 14.005 19.8007 14.0007 20 14C21.2 14 22.1667 14.221 22.9 14.663C23.6333 15.105 24 15.6923 24 16.425V18H19.5ZM8.125 16H15.9C15.7333 15.6667 15.2707 15.375 14.512 15.125C13.7533 14.875 12.916 14.75 12 14.75C11.0833 14.75 10.2457 14.875 9.487 15.125C8.72833 15.375 8.27467 15.6667 8.126 16H8.125ZM4 13C3.45 13 2.979 12.804 2.587 12.412C2.195 12.02 1.99933 11.5493 2 11C2 10.4333 2.196 9.95833 2.588 9.575C2.98 9.19167 3.45067 9 4 9C4.56667 9 5.04167 9.19167 5.425 9.575C5.80833 9.95833 6 10.4333 6 11C6 11.55 5.80833 12.021 5.425 12.413C5.04167 12.805 4.56667 13.0007 4 13ZM20 13C19.45 13 18.979 12.804 18.587 12.412C18.195 12.02 17.9993 11.5493 18 11C18 10.4333 18.196 9.95833 18.588 9.575C18.98 9.19167 19.4507 9 20 9C20.5667 9 21.0417 9.19167 21.425 9.575C21.8083 9.95833 22 10.4333 22 11C22 11.55 21.8083 12.021 21.425 12.413C21.0417 12.805 20.5667 13.0007 20 13ZM12 12C11.1667 12 10.4583 11.7083 9.875 11.125C9.29167 10.5417 9 9.83333 9 9C9 8.15 9.29167 7.43733 9.875 6.862C10.4583 6.28667 11.1667 5.99933 12 6C12.85 6 13.5627 6.28767 14.138 6.863C14.7133 7.43833 15.0007 8.15067 15 9C15 9.83333 14.7123 10.5417 14.137 11.125C13.5617 11.7083 12.8493 12 12 12ZM12 10C12.2833 10 12.521 9.904 12.713 9.712C12.905 9.52 13.0007 9.28267 13 9C13 8.71667 12.904 8.479 12.712 8.287C12.52 8.095 12.2827 7.99933 12 8C11.7167 8 11.479 8.096 11.287 8.288C11.095 8.48 10.9993 8.71733 11 9C11 9.28333 11.096 9.521 11.288 9.713C11.48 9.905 11.7173 10.0007 12 10Z",fill:"black"},null,-1),e1=[Ji];function t1(a,t){return e.openBlock(),e.createElementBlock("svg",Qi,e1)}const a1=L(Xi,[["render",t1]]),o1={},n1={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},s1=e.createElementVNode("path",{d:"M6 19H9V13H15V19H18V10L12 5.5L6 10V19ZM6 21C5.45 21 4.979 20.804 4.587 20.412C4.195 20.02 3.99934 19.5493 4 19V10C4 9.68333 4.071 9.38333 4.213 9.1C4.355 8.81667 4.55067 8.58333 4.8 8.4L10.8 3.9C10.9833 3.76667 11.175 3.66667 11.375 3.6C11.575 3.53333 11.7833 3.5 12 3.5C12.2167 3.5 12.425 3.53333 12.625 3.6C12.825 3.66667 13.0167 3.76667 13.2 3.9L19.2 8.4C19.45 8.58333 19.646 8.81667 19.788 9.1C19.93 9.38333 20.0007 9.68333 20 10V19C20 19.55 19.804 20.021 19.412 20.413C19.02 20.805 18.5493 21.0007 18 21H13V15H11V21H6Z",fill:"black"},null,-1),l1=[s1];function r1(a,t){return e.openBlock(),e.createElementBlock("svg",n1,l1)}const i1=L(o1,[["render",r1]]),c1={},d1={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},u1=e.createElementVNode("path",{d:"M5 21C4.45 21 3.979 20.804 3.587 20.412C3.195 20.02 2.99934 19.5493 3 19V5C3 4.45 3.196 3.979 3.588 3.587C3.98 3.195 4.45067 2.99934 5 3H19C19.55 3 20.021 3.196 20.413 3.588C20.805 3.98 21.0007 4.45067 21 5V19C21 19.55 20.804 20.021 20.412 20.413C20.02 20.805 19.5493 21.0007 19 21H5ZM7 17H17C17.2 17 17.35 16.9083 17.45 16.725C17.55 16.5417 17.5333 16.3667 17.4 16.2L14.65 12.525C14.55 12.3917 14.4167 12.325 14.25 12.325C14.0833 12.325 13.95 12.3917 13.85 12.525L11.25 16L9.4 13.525C9.3 13.3917 9.16667 13.325 9 13.325C8.83334 13.325 8.7 13.3917 8.6 13.525L6.6 16.2C6.46667 16.3667 6.45 16.5417 6.55 16.725C6.65 16.9083 6.8 17 7 17Z",fill:"black"},null,-1),p1=[u1];function m1(a,t){return e.openBlock(),e.createElementBlock("svg",d1,p1)}const v1=L(c1,[["render",m1]]),f1={},h1={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},C1=e.createElementVNode("path",{d:"M11 17H13V11H11V17ZM12 9C12.2833 9 12.521 8.904 12.713 8.712C12.905 8.52 13.0007 8.28267 13 8C13 7.71667 12.904 7.479 12.712 7.287C12.52 7.095 12.2827 6.99933 12 7C11.7167 7 11.479 7.096 11.287 7.288C11.095 7.48 10.9993 7.71733 11 8C11 8.28333 11.096 8.521 11.288 8.713C11.48 8.905 11.7173 9.00067 12 9ZM12 22C10.6167 22 9.31667 21.7373 8.1 21.212C6.88333 20.6867 5.825 19.9743 4.925 19.075C4.025 18.175 3.31267 17.1167 2.788 15.9C2.26333 14.6833 2.00067 13.3833 2 12C2 10.6167 2.26267 9.31667 2.788 8.1C3.31333 6.88333 4.02567 5.825 4.925 4.925C5.825 4.025 6.88333 3.31267 8.1 2.788C9.31667 2.26333 10.6167 2.00067 12 2C13.3833 2 14.6833 2.26267 15.9 2.788C17.1167 3.31333 18.175 4.02567 19.075 4.925C19.975 5.825 20.6877 6.88333 21.213 8.1C21.7383 9.31667 22.0007 10.6167 22 12C22 13.3833 21.7373 14.6833 21.212 15.9C20.6867 17.1167 19.9743 18.175 19.075 19.075C18.175 19.975 17.1167 20.6877 15.9 21.213C14.6833 21.7383 13.3833 22.0007 12 22Z",fill:"black"},null,-1),g1=[C1];function _1(a,t){return e.openBlock(),e.createElementBlock("svg",h1,g1)}const y1=L(f1,[["render",_1]]),b1={},k1={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},w1=e.createElementVNode("path",{d:"M12 15.4L6 9.4L7.4 8L12 12.6L16.6 8L18 9.4L12 15.4Z",fill:"black"},null,-1),$1=[w1];function E1(a,t){return e.openBlock(),e.createElementBlock("svg",k1,$1)}const B1=L(b1,[["render",E1]]),V1={},N1={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},S1=e.createElementVNode("path",{d:"M7.4 15.4L6 14L12 8L18 14L16.6 15.4L12 10.8L7.4 15.4Z",fill:"black"},null,-1),M1=[S1];function A1(a,t){return e.openBlock(),e.createElementBlock("svg",N1,M1)}const T1=L(V1,[["render",A1]]),O1=e.defineComponent({name:"LoadingIcon"});const Ka=a=>(e.pushScopeId("data-v-ad6da4a9"),a=a(),e.popScopeId(),a),I1={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},L1=Ka(()=>e.createElementVNode("circle",{class:"dot dot--1",cx:"6",cy:"12",r:"2"},null,-1)),D1=Ka(()=>e.createElementVNode("circle",{class:"dot dot--2",cx:"12",cy:"12",r:"2"},null,-1)),P1=Ka(()=>e.createElementVNode("circle",{class:"dot dot--3",cx:"18",cy:"12",r:"2"},null,-1)),H1=[L1,D1,P1];function R1(a,t,o,n,s,r){return e.openBlock(),e.createElementBlock("svg",I1,H1)}const j1=L(O1,[["render",R1],["__scopeId","data-v-ad6da4a9"]]),F1={},U1={xmlns:"http://www.w3.org/2000/svg",height:"24",viewBox:"0 -960 960 960",width:"24"},z1=e.createElementVNode("path",{d:"M240-80q-33 0-56.5-23.5T160-160v-400q0-33 23.5-56.5T240-640h40v-80q0-83 58.5-141.5T480-920q83 0 141.5 58.5T680-720v80h40q33 0 56.5 23.5T800-560v400q0 33-23.5 56.5T720-80H240Zm0-80h480v-400H240v400Zm240-120q33 0 56.5-23.5T560-360q0-33-23.5-56.5T480-440q-33 0-56.5 23.5T400-360q0 33 23.5 56.5T480-280ZM360-640h240v-80q0-50-35-85t-85-35q-50 0-85 35t-35 85v80ZM240-160v-400 400Z"},null,-1),Z1=[z1];function x1(a,t){return e.openBlock(),e.createElementBlock("svg",U1,Z1)}const W1=L(F1,[["render",x1]]),q1={},Y1={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},K1=e.createElementVNode("path",{d:"M15.325 16.275C15.1417 16.0583 15.05 15.8127 15.05 15.538C15.05 15.2633 15.1417 15.034 15.325 14.85L17.175 13H10C9.71667 13 9.479 12.904 9.287 12.712C9.095 12.52 8.99934 12.2827 9 12C9 11.7167 9.096 11.479 9.288 11.287C9.48 11.095 9.71734 10.9993 10 11H17.175L15.325 9.15C15.125 8.95 15.025 8.71234 15.025 8.437C15.025 8.16167 15.125 7.92434 15.325 7.725C15.5083 7.525 15.7377 7.425 16.013 7.425C16.2883 7.425 16.5173 7.51667 16.7 7.7L20.3 11.3C20.4 11.4 20.471 11.5083 20.513 11.625C20.555 11.7417 20.5757 11.8667 20.575 12C20.575 12.1333 20.5543 12.2583 20.513 12.375C20.4717 12.4917 20.4007 12.6 20.3 12.7L16.7 16.3C16.4833 16.5167 16.2457 16.6127 15.987 16.588C15.7283 16.5633 15.5077 16.459 15.325 16.275ZM5 21C4.45 21 3.979 20.804 3.587 20.412C3.195 20.02 2.99934 19.5493 3 19V5C3 4.45 3.196 3.979 3.588 3.587C3.98 3.195 4.45067 2.99934 5 3H11C11.2833 3 11.521 3.096 11.713 3.288C11.905 3.48 12.0007 3.71734 12 4C12 4.28334 11.904 4.521 11.712 4.713C11.52 4.905 11.2827 5.00067 11 5H5V19H11C11.2833 19 11.521 19.096 11.713 19.288C11.905 19.48 12.0007 19.7173 12 20C12 20.2833 11.904 20.521 11.712 20.713C11.52 20.905 11.2827 21.0007 11 21H5Z",fill:"black"},null,-1),G1=[K1];function X1(a,t){return e.openBlock(),e.createElementBlock("svg",Y1,G1)}const Q1=L(q1,[["render",X1]]),J1={},ec={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},tc=e.createElementVNode("path",{d:"M3 18V16H21V18H3ZM3 13V11H21V13H3ZM3 8V6H21V8H3Z",fill:"black"},null,-1),ac=[tc];function oc(a,t){return e.openBlock(),e.createElementBlock("svg",ec,ac)}const nc=L(J1,[["render",oc]]),sc={},lc={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},rc=e.createElementVNode("path",{d:"M6 14C5.45 14 4.979 13.804 4.587 13.412C4.195 13.02 3.99934 12.5493 4 12C4 11.45 4.196 10.979 4.588 10.587C4.98 10.195 5.45067 9.99934 6 10C6.55 10 7.021 10.196 7.413 10.588C7.805 10.98 8.00067 11.4507 8 12C8 12.55 7.804 13.021 7.412 13.413C7.02 13.805 6.54934 14.0007 6 14ZM12 14C11.45 14 10.979 13.804 10.587 13.412C10.195 13.02 9.99934 12.5493 10 12C10 11.45 10.196 10.979 10.588 10.587C10.98 10.195 11.4507 9.99934 12 10C12.55 10 13.021 10.196 13.413 10.588C13.805 10.98 14.0007 11.4507 14 12C14 12.55 13.804 13.021 13.412 13.413C13.02 13.805 12.5493 14.0007 12 14ZM18 14C17.45 14 16.979 13.804 16.587 13.412C16.195 13.02 15.9993 12.5493 16 12C16 11.45 16.196 10.979 16.588 10.587C16.98 10.195 17.4507 9.99934 18 10C18.55 10 19.021 10.196 19.413 10.588C19.805 10.98 20.0007 11.4507 20 12C20 12.55 19.804 13.021 19.412 13.413C19.02 13.805 18.5493 14.0007 18 14Z",fill:"black"},null,-1),ic=[rc];function cc(a,t){return e.openBlock(),e.createElementBlock("svg",lc,ic)}const dc=L(sc,[["render",cc]]),uc={},pc={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},mc=e.createElementVNode("path",{d:"M11 21C9.75 21 8.57933 20.7667 7.488 20.3C6.396 19.8333 5.44167 19.1917 4.625 18.375C3.80833 17.5583 3.16667 16.604 2.7 15.512C2.23333 14.4207 2 13.25 2 12C2 9.48333 2.871 7.354 4.613 5.612C6.35433 3.87067 8.48333 3 11 3C11.2167 3 11.425 3.00833 11.625 3.025C11.825 3.04167 12.025 3.06667 12.225 3.1C12.4417 3.13333 12.625 3.24567 12.775 3.437C12.925 3.629 13 3.84167 13 4.075C13 4.40833 12.8877 4.66233 12.663 4.837C12.4377 5.01233 12.15 5.08333 11.8 5.05C11.6667 5.03333 11.5333 5.02067 11.4 5.012C11.2667 5.004 11.1333 5 11 5C9.03333 5 7.375 5.675 6.025 7.025C4.675 8.375 4 10.0333 4 12C4 13.9667 4.675 15.625 6.025 16.975C7.375 18.325 9.03333 19 11 19C12.95 19 14.596 18.3333 15.938 17C17.2793 15.6667 17.9667 14.025 18 12.075H18.013H18C18 11.7917 18.096 11.5417 18.288 11.325C18.4793 11.1083 18.7167 11 19 11C19.2667 11 19.5 11.0957 19.7 11.287C19.9 11.479 20 11.7 20 11.95V12C20 14.5167 19.129 16.6457 17.387 18.387C15.6457 20.129 13.5167 21 11 21ZM19 9C18.7167 9 18.4793 8.904 18.288 8.712C18.096 8.52067 18 8.28333 18 8V6H16C15.7167 6 15.4793 5.90433 15.288 5.713C15.096 5.521 15 5.28333 15 5C15 4.71667 15.096 4.479 15.288 4.287C15.4793 4.09567 15.7167 4 16 4H18V2C18 1.71667 18.096 1.479 18.288 1.287C18.4793 1.09567 18.7167 1 19 1C19.2833 1 19.5207 1.09567 19.712 1.287C19.904 1.479 20 1.71667 20 2V4H22C22.2833 4 22.5207 4.09567 22.712 4.287C22.904 4.479 23 4.71667 23 5C23 5.28333 22.904 5.521 22.712 5.713C22.5207 5.90433 22.2833 6 22 6H20V8C20 8.28333 19.904 8.52067 19.712 8.712C19.5207 8.904 19.2833 9 19 9ZM13.1 15.5L10.3 12.7C10.2 12.6 10.125 12.4873 10.075 12.362C10.025 12.2373 10 12.1083 10 11.975V8C10 7.71667 10.096 7.479 10.288 7.287C10.4793 7.09567 10.7167 7 11 7C11.2833 7 11.521 7.09567 11.713 7.287C11.9043 7.479 12 7.71667 12 8V11.6L14.5 14.1C14.6833 14.2833 14.775 14.5167 14.775 14.8C14.775 15.0833 14.6833 15.3167 14.5 15.5C14.3167 15.6833 14.0833 15.775 13.8 15.775C13.5167 15.775 13.2833 15.6833 13.1 15.5V15.5Z",fill:"black"},null,-1),vc=[mc];function fc(a,t){return e.openBlock(),e.createElementBlock("svg",pc,vc)}const hc=L(uc,[["render",fc]]),Cc={},gc={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},_c=e.createElementVNode("path",{d:"M12 20C11.45 20 10.979 19.804 10.587 19.412C10.195 19.02 9.99934 18.5493 10 18C10 17.45 10.196 16.979 10.588 16.587C10.98 16.195 11.4507 15.9993 12 16C12.55 16 13.021 16.196 13.413 16.588C13.805 16.98 14.0007 17.4507 14 18C14 18.55 13.804 19.021 13.412 19.413C13.02 19.805 12.5493 20.0007 12 20ZM12 14C11.45 14 10.979 13.804 10.587 13.412C10.195 13.02 9.99934 12.5493 10 12C10 11.45 10.196 10.979 10.588 10.587C10.98 10.195 11.4507 9.99934 12 10C12.55 10 13.021 10.196 13.413 10.588C13.805 10.98 14.0007 11.4507 14 12C14 12.55 13.804 13.021 13.412 13.413C13.02 13.805 12.5493 14.0007 12 14ZM12 8C11.45 8 10.979 7.804 10.587 7.412C10.195 7.02 9.99934 6.54934 10 6C10 5.45 10.196 4.979 10.588 4.587C10.98 4.195 11.4507 3.99934 12 4C12.55 4 13.021 4.196 13.413 4.588C13.805 4.98 14.0007 5.45067 14 6C14 6.55 13.804 7.021 13.412 7.413C13.02 7.805 12.5493 8.00067 12 8Z",fill:"black"},null,-1),yc=[_c];function bc(a,t){return e.openBlock(),e.createElementBlock("svg",gc,yc)}const kc=L(Cc,[["render",bc]]),wc={},$c={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Ec=e.createElementVNode("path",{d:"M8.70002 12.925L10.075 13.85L11.55 13.1C11.6834 13.0167 11.8334 12.975 12 12.975C12.1667 12.975 12.3167 13.0167 12.45 13.1L13.925 13.85L15.25 12.975L14.25 11H9.65002L8.70002 12.925ZM5.22502 20H18.75L16.15 14.775L14.55 15.85C14.4 15.95 14.2377 16.0043 14.063 16.013C13.8884 16.0217 13.7174 15.984 13.55 15.9L12 15.125L10.45 15.9C10.2834 15.9833 10.1124 16.0167 9.93702 16C9.76169 15.9833 9.59936 15.925 9.45002 15.825L7.80002 14.75L5.22502 20ZM3.60002 22C3.21669 22 2.92936 21.8417 2.73802 21.525C2.54669 21.2083 2.53402 20.8833 2.70002 20.55L7.85002 10.125C8.01669 9.79167 8.26269 9.52067 8.58802 9.312C8.91336 9.10334 9.26736 8.99934 9.65002 9H11V3C11 2.71667 11.096 2.479 11.288 2.287C11.48 2.095 11.7174 1.99934 12 2H17.2C17.3834 2 17.525 2.07934 17.625 2.238C17.725 2.39667 17.7334 2.559 17.65 2.725L17.1 3.775C17.0667 3.85834 17.05 3.93334 17.05 4C17.05 4.06667 17.0667 4.14167 17.1 4.225L17.65 5.275C17.7334 5.44167 17.725 5.604 17.625 5.762C17.525 5.92 17.3834 5.99934 17.2 6H13V9H14.25C14.6334 9 14.9834 9.1 15.3 9.3C15.6167 9.5 15.8667 9.76667 16.05 10.1L21.275 20.55C21.4417 20.8833 21.4294 21.2083 21.238 21.525C21.0467 21.8417 20.759 22 20.375 22H3.60002Z",fill:"black"},null,-1),Bc=[Ec];function Vc(a,t){return e.openBlock(),e.createElementBlock("svg",$c,Bc)}const Nc=L(wc,[["render",Vc]]),Sc={},Mc={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Ac=e.createElementVNode("path",{d:"M19 14C18.7167 14 18.479 13.904 18.287 13.712C18.095 13.52 17.9993 13.2827 18 13V11H16C15.7167 11 15.479 10.904 15.287 10.712C15.095 10.52 14.9993 10.2827 15 10C15 9.71667 15.096 9.479 15.288 9.287C15.48 9.095 15.7173 8.99933 16 9H18V7C18 6.71667 18.096 6.479 18.288 6.287C18.48 6.095 18.7173 5.99933 19 6C19.2833 6 19.521 6.096 19.713 6.288C19.905 6.48 20.0007 6.71733 20 7V9H22C22.2833 9 22.521 9.096 22.713 9.288C22.905 9.48 23.0007 9.71733 23 10C23 10.2833 22.904 10.521 22.712 10.713C22.52 10.905 22.2827 11.0007 22 11H20V13C20 13.2833 19.904 13.521 19.712 13.713C19.52 13.905 19.2827 14.0007 19 14ZM9 12C7.9 12 6.95834 11.6083 6.175 10.825C5.39167 10.0417 5 9.1 5 8C5 6.9 5.39167 5.95833 6.175 5.175C6.95834 4.39167 7.9 4 9 4C10.1 4 11.0417 4.39167 11.825 5.175C12.6083 5.95833 13 6.9 13 8C13 9.1 12.6083 10.0417 11.825 10.825C11.0417 11.6083 10.1 12 9 12ZM2 20C1.71667 20 1.479 19.904 1.287 19.712C1.095 19.52 0.999337 19.2827 1 19V17.2C1 16.6333 1.146 16.1123 1.438 15.637C1.73 15.1617 2.11734 14.7993 2.6 14.55C3.63334 14.0333 4.68334 13.6457 5.75 13.387C6.81667 13.1283 7.9 12.9993 9 13C10.1 13 11.1833 13.1293 12.25 13.388C13.3167 13.6467 14.3667 14.034 15.4 14.55C15.8833 14.8 16.271 15.1627 16.563 15.638C16.855 16.1133 17.0007 16.634 17 17.2V19C17 19.2833 16.904 19.521 16.712 19.713C16.52 19.905 16.2827 20.0007 16 20H2ZM3 18H15V17.2C15 17.0167 14.954 16.85 14.862 16.7C14.77 16.55 14.6493 16.4333 14.5 16.35C13.6 15.9 12.6917 15.5627 11.775 15.338C10.8583 15.1133 9.93334 15.0007 9 15C8.06667 15 7.14167 15.1127 6.225 15.338C5.30834 15.5633 4.4 15.9007 3.5 16.35C3.35 16.4333 3.229 16.55 3.137 16.7C3.045 16.85 2.99934 17.0167 3 17.2V18ZM9 10C9.55 10 10.021 9.804 10.413 9.412C10.805 9.02 11.0007 8.54933 11 8C11 7.45 10.804 6.979 10.412 6.587C10.02 6.195 9.54934 5.99933 9 6C8.45 6 7.979 6.196 7.587 6.588C7.195 6.98 6.99934 7.45067 7 8C7 8.55 7.196 9.021 7.588 9.413C7.98 9.805 8.45067 10.0007 9 10Z",fill:"black"},null,-1),Tc=[Ac];function Oc(a,t){return e.openBlock(),e.createElementBlock("svg",Mc,Tc)}const Ic=L(Sc,[["render",Oc]]),Lc={},Dc={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Pc=e.createElementVNode("path",{d:"M10 10.5H11C11.2833 10.5 11.521 10.404 11.713 10.212C11.905 10.02 12.0007 9.78267 12 9.5V8.5C12 8.21667 11.904 7.979 11.712 7.787C11.52 7.595 11.2827 7.49934 11 7.5H9.5C9.36667 7.5 9.25 7.55 9.15 7.65C9.05 7.75 9 7.86667 9 8V12C9 12.1333 9.05 12.25 9.15 12.35C9.25 12.45 9.36667 12.5 9.5 12.5C9.63334 12.5 9.75 12.45 9.85 12.35C9.95 12.25 10 12.1333 10 12V10.5ZM10 9.5V8.5H11V9.5H10ZM15 12.5C15.2833 12.5 15.521 12.404 15.713 12.212C15.905 12.02 16.0007 11.7827 16 11.5V8.5C16 8.21667 15.904 7.979 15.712 7.787C15.52 7.595 15.2827 7.49934 15 7.5H13.5C13.3667 7.5 13.25 7.55 13.15 7.65C13.05 7.75 13 7.86667 13 8V12C13 12.1333 13.05 12.25 13.15 12.35C13.25 12.45 13.3667 12.5 13.5 12.5H15ZM14 11.5V8.5H15V11.5H14ZM18 10.5H18.5C18.6333 10.5 18.75 10.45 18.85 10.35C18.95 10.25 19 10.1333 19 10C19 9.86667 18.95 9.75 18.85 9.65C18.75 9.55 18.6333 9.5 18.5 9.5H18V8.5H18.5C18.6333 8.5 18.75 8.45 18.85 8.35C18.95 8.25 19 8.13334 19 8C19 7.86667 18.95 7.75 18.85 7.65C18.75 7.55 18.6333 7.5 18.5 7.5H17.5C17.3667 7.5 17.25 7.55 17.15 7.65C17.05 7.75 17 7.86667 17 8V12C17 12.1333 17.05 12.25 17.15 12.35C17.25 12.45 17.3667 12.5 17.5 12.5C17.6333 12.5 17.75 12.45 17.85 12.35C17.95 12.25 18 12.1333 18 12V10.5ZM8 18C7.45 18 6.979 17.804 6.587 17.412C6.195 17.02 5.99934 16.5493 6 16V4C6 3.45 6.196 2.979 6.588 2.587C6.98 2.195 7.45067 1.99934 8 2H20C20.55 2 21.021 2.196 21.413 2.588C21.805 2.98 22.0007 3.45067 22 4V16C22 16.55 21.804 17.021 21.412 17.413C21.02 17.805 20.5493 18.0007 20 18H8ZM4 22C3.45 22 2.979 21.804 2.587 21.412C2.195 21.02 1.99934 20.5493 2 20V7C2 6.71667 2.096 6.479 2.288 6.287C2.48 6.095 2.71734 5.99934 3 6C3.28334 6 3.521 6.096 3.713 6.288C3.905 6.48 4.00067 6.71734 4 7V20H17C17.2833 20 17.521 20.096 17.713 20.288C17.905 20.48 18.0007 20.7173 18 21C18 21.2833 17.904 21.521 17.712 21.713C17.52 21.905 17.2827 22.0007 17 22H4Z",fill:"black"},null,-1),Hc=[Pc];function Rc(a,t){return e.openBlock(),e.createElementBlock("svg",Dc,Hc)}const jc=L(Lc,[["render",Rc]]),Fc={},Uc={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},zc=e.createElementVNode("path",{d:"M12 17C13.3833 17 14.5627 16.5123 15.538 15.537C16.5133 14.5617 17.0007 13.3827 17 12C17 10.6167 16.5123 9.43733 15.537 8.462C14.5617 7.48667 13.3827 6.99933 12 7C10.6167 7 9.43733 7.48767 8.462 8.463C7.48667 9.43833 6.99933 10.6173 7 12C7 13.3833 7.48767 14.5627 8.463 15.538C9.43833 16.5133 10.6173 17.0007 12 17ZM12 22C10.6167 22 9.31667 21.7373 8.1 21.212C6.88333 20.6867 5.825 19.9743 4.925 19.075C4.025 18.175 3.31267 17.1167 2.788 15.9C2.26333 14.6833 2.00067 13.3833 2 12C2 10.6167 2.26267 9.31667 2.788 8.1C3.31333 6.88333 4.02567 5.825 4.925 4.925C5.825 4.025 6.88333 3.31267 8.1 2.788C9.31667 2.26333 10.6167 2.00067 12 2C13.3833 2 14.6833 2.26267 15.9 2.788C17.1167 3.31333 18.175 4.02567 19.075 4.925C19.975 5.825 20.6877 6.88333 21.213 8.1C21.7383 9.31667 22.0007 10.6167 22 12C22 13.3833 21.7373 14.6833 21.212 15.9C20.6867 17.1167 19.9743 18.175 19.075 19.075C18.175 19.975 17.1167 20.6877 15.9 21.213C14.6833 21.7383 13.3833 22.0007 12 22Z",fill:"black"},null,-1),Zc=[zc];function xc(a,t){return e.openBlock(),e.createElementBlock("svg",Uc,Zc)}const Wc=L(Fc,[["render",xc]]),qc={},Yc={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Kc=e.createElementVNode("path",{d:"M12 17C13.3833 17 14.5627 16.5123 15.538 15.537C16.5133 14.5617 17.0007 13.3827 17 12C17 10.6167 16.5123 9.43733 15.537 8.462C14.5617 7.48667 13.3827 6.99933 12 7C10.6167 7 9.43733 7.48767 8.462 8.463C7.48667 9.43833 6.99933 10.6173 7 12C7 13.3833 7.48767 14.5627 8.463 15.538C9.43833 16.5133 10.6173 17.0007 12 17ZM12 22C10.6167 22 9.31667 21.7373 8.1 21.212C6.88333 20.6867 5.825 19.9743 4.925 19.075C4.025 18.175 3.31267 17.1167 2.788 15.9C2.26333 14.6833 2.00067 13.3833 2 12C2 10.6167 2.26267 9.31667 2.788 8.1C3.31333 6.88333 4.02567 5.825 4.925 4.925C5.825 4.025 6.88333 3.31267 8.1 2.788C9.31667 2.26333 10.6167 2.00067 12 2C13.3833 2 14.6833 2.26267 15.9 2.788C17.1167 3.31333 18.175 4.02567 19.075 4.925C19.975 5.825 20.6877 6.88333 21.213 8.1C21.7383 9.31667 22.0007 10.6167 22 12C22 13.3833 21.7373 14.6833 21.212 15.9C20.6867 17.1167 19.9743 18.175 19.075 19.075C18.175 19.975 17.1167 20.6877 15.9 21.213C14.6833 21.7383 13.3833 22.0007 12 22ZM12 20C14.2333 20 16.125 19.225 17.675 17.675C19.225 16.125 20 14.2333 20 12C20 9.76667 19.225 7.875 17.675 6.325C16.125 4.775 14.2333 4 12 4C9.76667 4 7.875 4.775 6.325 6.325C4.775 7.875 4 9.76667 4 12C4 14.2333 4.775 16.125 6.325 17.675C7.875 19.225 9.76667 20 12 20Z",fill:"black"},null,-1),Gc=[Kc];function Xc(a,t){return e.openBlock(),e.createElementBlock("svg",Yc,Gc)}const Qc=L(qc,[["render",Xc]]),Jc={},ed={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},td=e.createElementVNode("path",{d:"M12 22C10.6167 22 9.31667 21.7373 8.1 21.212C6.88333 20.6867 5.825 19.9743 4.925 19.075C4.025 18.175 3.31267 17.1167 2.788 15.9C2.26333 14.6833 2.00067 13.3833 2 12C2 10.6167 2.26267 9.31667 2.788 8.1C3.31333 6.88333 4.02567 5.825 4.925 4.925C5.825 4.025 6.88333 3.31267 8.1 2.788C9.31667 2.26333 10.6167 2.00067 12 2C13.3833 2 14.6833 2.26267 15.9 2.788C17.1167 3.31333 18.175 4.02567 19.075 4.925C19.975 5.825 20.6877 6.88333 21.213 8.1C21.7383 9.31667 22.0007 10.6167 22 12C22 13.3833 21.7373 14.6833 21.212 15.9C20.6867 17.1167 19.9743 18.175 19.075 19.075C18.175 19.975 17.1167 20.6877 15.9 21.213C14.6833 21.7383 13.3833 22.0007 12 22ZM12 20C14.2333 20 16.125 19.225 17.675 17.675C19.225 16.125 20 14.2333 20 12C20 9.76667 19.225 7.875 17.675 6.325C16.125 4.775 14.2333 4 12 4C9.76667 4 7.875 4.775 6.325 6.325C4.775 7.875 4 9.76667 4 12C4 14.2333 4.775 16.125 6.325 17.675C7.875 19.225 9.76667 20 12 20ZM12 20C9.76667 20 7.875 19.225 6.325 17.675C4.775 16.125 4 14.2333 4 12C4 9.76667 4.775 7.875 6.325 6.325C7.875 4.775 9.76667 4 12 4C14.2333 4 16.125 4.775 17.675 6.325C19.225 7.875 20 9.76667 20 12C20 14.2333 19.225 16.125 17.675 17.675C16.125 19.225 14.2333 20 12 20Z",fill:"black"},null,-1),ad=[td];function od(a,t){return e.openBlock(),e.createElementBlock("svg",ed,ad)}const nd=L(Jc,[["render",od]]),sd={},ld={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},rd=e.createElementVNode("path",{d:"M6 13C5.71667 13 5.479 12.904 5.287 12.712C5.095 12.52 4.99934 12.2827 5 12C5 11.7167 5.096 11.479 5.288 11.287C5.48 11.095 5.71734 10.9993 6 11H18C18.2833 11 18.521 11.096 18.713 11.288C18.905 11.48 19.0007 11.7173 19 12C19 12.2833 18.904 12.521 18.712 12.713C18.52 12.905 18.2827 13.0007 18 13H6Z",fill:"black"},null,-1),id=[rd];function cd(a,t){return e.openBlock(),e.createElementBlock("svg",ld,id)}const dd=L(sd,[["render",cd]]),ud={},pd={width:"26",height:"29",viewBox:"0 0 26 29",fill:"none",xmlns:"http://www.w3.org/2000/svg"},md=e.createStaticVNode('<g filter="url(#filter0_d_2030_169)"><path d="M19.9 20.3L14.3 14.7C13.8 15.1 13.225 15.4167 12.575 15.65C11.925 15.8833 11.2333 16 10.5 16C8.68333 16 7.146 15.3707 5.888 14.112C4.63 12.8533 4.00067 11.316 4 9.5C4 7.68333 4.62933 6.146 5.888 4.888C7.14667 3.63 8.684 3.00067 10.5 3C12.3167 3 13.854 3.62933 15.112 4.888C16.37 6.14667 16.9993 7.684 17 9.5C17 10.2333 16.8833 10.925 16.65 11.575C16.4167 12.225 16.1 12.8 15.7 13.3L21.325 18.925C21.5083 19.1083 21.6 19.3333 21.6 19.6C21.6 19.8667 21.5 20.1 21.3 20.3C21.1167 20.4833 20.8833 20.575 20.6 20.575C20.3167 20.575 20.0833 20.4833 19.9 20.3ZM10.5 14C11.75 14 12.8127 13.5623 13.688 12.687C14.5633 11.8117 15.0007 10.7493 15 9.5C15 8.25 14.5623 7.18733 13.687 6.312C12.8117 5.43667 11.7493 4.99933 10.5 5C9.25 5 8.18733 5.43767 7.312 6.313C6.43667 7.18833 5.99933 8.25067 6 9.5C6 10.75 6.43767 11.8127 7.313 12.688C8.18833 13.5633 9.25067 14.0007 10.5 14Z" fill="black"></path></g><defs><filter id="filter0_d_2030_169" x="-3" y="0" width="32" height="32" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"></feFlood><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"></feColorMatrix><feOffset dy="4"></feOffset><feGaussianBlur stdDeviation="2"></feGaussianBlur><feComposite in2="hardAlpha" operator="out"></feComposite><feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0"></feColorMatrix><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_2030_169"></feBlend><feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_2030_169" result="shape"></feBlend></filter></defs>',2),vd=[md];function fd(a,t){return e.openBlock(),e.createElementBlock("svg",pd,vd)}const hd=L(ud,[["render",fd]]),Cd={},gd={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},_d=e.createElementVNode("path",{d:"M5 21C4.45 21 3.979 20.804 3.587 20.412C3.195 20.02 2.99934 19.5493 3 19V5C3 4.45 3.196 3.979 3.588 3.587C3.98 3.195 4.45067 2.99934 5 3H19C19.1333 3 19.2583 3.01267 19.375 3.038C19.4917 3.06334 19.6083 3.10067 19.725 3.15L17.875 5H5V19H19V12.35L21 10.35V19C21 19.55 20.804 20.021 20.412 20.413C20.02 20.805 19.5493 21.0007 19 21H5ZM11.525 17L5.875 11.35L7.275 9.95L11.525 14.2L20.7 5.025L22.125 6.4L11.525 17Z",fill:"black"},null,-1),yd=[_d];function bd(a,t){return e.openBlock(),e.createElementBlock("svg",gd,yd)}const kd=L(Cd,[["render",bd]]),wd={},$d={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Ed=e.createElementVNode("path",{d:"M4.4 19.4251C4.06667 19.5584 3.75 19.5291 3.45 19.3371C3.15 19.1457 3 18.8667 3 18.5001V14.7751C3 14.5417 3.06667 14.3334 3.2 14.1501C3.33333 13.9667 3.51667 13.8501 3.75 13.8001L11 12.0001L3.75 10.2001C3.51667 10.1501 3.33333 10.0334 3.2 9.85006C3.06667 9.66672 3 9.45839 3 9.22506V5.50006C3 5.13339 3.15 4.85406 3.45 4.66206C3.75 4.47072 4.06667 4.44172 4.4 4.57506L19.8 11.0751C20.2167 11.2584 20.425 11.5667 20.425 12.0001C20.425 12.4334 20.2167 12.7417 19.8 12.9251L4.4 19.4251Z",fill:"black"},null,-1),Bd=[Ed];function Vd(a,t){return e.openBlock(),e.createElementBlock("svg",$d,Bd)}const Nd=L(wd,[["render",Vd]]),Sd={},Md={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Ad=e.createElementVNode("path",{d:"M9.24995 22L8.84995 18.8C8.63329 18.7167 8.42895 18.6167 8.23695 18.5C8.04495 18.3833 7.85762 18.2583 7.67495 18.125L4.69995 19.375L1.94995 14.625L4.52495 12.675C4.50828 12.5583 4.49995 12.4457 4.49995 12.337V11.663C4.49995 11.5543 4.50828 11.4417 4.52495 11.325L1.94995 9.375L4.69995 4.625L7.67495 5.875C7.85828 5.74167 8.04995 5.61667 8.24995 5.5C8.44995 5.38333 8.64995 5.28333 8.84995 5.2L9.24995 2H14.75L15.15 5.2C15.3666 5.28333 15.571 5.38333 15.763 5.5C15.955 5.61667 16.1423 5.74167 16.325 5.875L19.2999 4.625L22.0499 9.375L19.475 11.325C19.4916 11.4417 19.5 11.5543 19.5 11.663V12.337C19.5 12.4457 19.4833 12.5583 19.45 12.675L22.025 14.625L19.275 19.375L16.325 18.125C16.1416 18.2583 15.95 18.3833 15.75 18.5C15.55 18.6167 15.35 18.7167 15.15 18.8L14.75 22H9.24995ZM12.05 15.5C13.0166 15.5 13.8416 15.1583 14.525 14.475C15.2083 13.7917 15.55 12.9667 15.55 12C15.55 11.0333 15.2083 10.2083 14.525 9.525C13.8416 8.84167 13.0166 8.5 12.05 8.5C11.0666 8.5 10.2373 8.84167 9.56195 9.525C8.88662 10.2083 8.54928 11.0333 8.54995 12C8.54995 12.9667 8.88728 13.7917 9.56195 14.475C10.2366 15.1583 11.066 15.5 12.05 15.5Z",fill:"black"},null,-1),Td=[Ad];function Od(a,t){return e.openBlock(),e.createElementBlock("svg",Md,Td)}const Id=L(Sd,[["render",Od]]),Ld={},Dd={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Pd=e.createElementVNode("path",{d:"M15.85 12.425C16 12.325 16.075 12.1833 16.075 12C16.075 11.8167 16 11.675 15.85 11.575L10.275 8C10.1083 7.88334 9.93734 7.875 9.762 7.975C9.58667 8.075 9.49934 8.225 9.5 8.425V15.575C9.5 15.775 9.58767 15.925 9.763 16.025C9.93833 16.125 10.109 16.1167 10.275 16L15.85 12.425ZM5 21C4.45 21 3.979 20.804 3.587 20.412C3.195 20.02 2.99934 19.5493 3 19V5C3 4.45 3.196 3.979 3.588 3.587C3.98 3.195 4.45067 2.99934 5 3H19C19.55 3 20.021 3.196 20.413 3.588C20.805 3.98 21.0007 4.45067 21 5V19C21 19.55 20.804 20.021 20.412 20.413C20.02 20.805 19.5493 21.0007 19 21H5Z",fill:"black"},null,-1),Hd=[Pd];function Rd(a,t){return e.openBlock(),e.createElementBlock("svg",Dd,Hd)}const jd=L(Ld,[["render",Rd]]),Fd={},Ud={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},zd=e.createElementVNode("path",{d:"M12 22C10.6167 22 9.31667 21.7373 8.1 21.212C6.88333 20.6867 5.825 19.9743 4.925 19.075C4.025 18.175 3.31267 17.1167 2.788 15.9C2.26333 14.6833 2.00067 13.3833 2 12C2 10.6167 2.26267 9.31667 2.788 8.1C3.31333 6.88333 4.02567 5.825 4.925 4.925C5.825 4.025 6.88333 3.31267 8.1 2.788C9.31667 2.26333 10.6167 2.00067 12 2C13.3833 2 14.6833 2.26267 15.9 2.788C17.1167 3.31333 18.175 4.02567 19.075 4.925C19.975 5.825 20.6877 6.88333 21.213 8.1C21.7383 9.31667 22.0007 10.6167 22 12C22 13.3833 21.7373 14.6833 21.212 15.9C20.6867 17.1167 19.9743 18.175 19.075 19.075C18.175 19.975 17.1167 20.6877 15.9 21.213C14.6833 21.7383 13.3833 22.0007 12 22ZM12 20C14.2333 20 16.125 19.225 17.675 17.675C19.225 16.125 20 14.2333 20 12C20 9.76667 19.225 7.875 17.675 6.325C16.125 4.775 14.2333 4 12 4C9.76667 4 7.875 4.775 6.325 6.325C4.775 7.875 4 9.76667 4 12C4 14.2333 4.775 16.125 6.325 17.675C7.875 19.225 9.76667 20 12 20ZM12 18C10.3333 18 8.91667 17.4167 7.75 16.25C6.58333 15.0833 6 13.6667 6 12C6 10.3333 6.58333 8.91667 7.75 7.75C8.91667 6.58333 10.3333 6 12 6C13.6667 6 15.0833 6.58333 16.25 7.75C17.4167 8.91667 18 10.3333 18 12C18 13.6667 17.4167 15.0833 16.25 16.25C15.0833 17.4167 13.6667 18 12 18ZM12 16C13.1 16 14.0417 15.6083 14.825 14.825C15.6083 14.0417 16 13.1 16 12C16 10.9 15.6083 9.95833 14.825 9.175C14.0417 8.39167 13.1 8 12 8C10.9 8 9.95833 8.39167 9.175 9.175C8.39167 9.95833 8 10.9 8 12C8 13.1 8.39167 14.0417 9.175 14.825C9.95833 15.6083 10.9 16 12 16ZM12 14C11.45 14 10.979 13.804 10.587 13.412C10.195 13.02 9.99933 12.5493 10 12C10 11.45 10.196 10.979 10.588 10.587C10.98 10.195 11.4507 9.99933 12 10C12.55 10 13.021 10.196 13.413 10.588C13.805 10.98 14.0007 11.4507 14 12C14 12.55 13.804 13.021 13.412 13.413C13.02 13.805 12.5493 14.0007 12 14Z",fill:"black"},null,-1),Zd=[zd];function xd(a,t){return e.openBlock(),e.createElementBlock("svg",Ud,Zd)}const Wd=L(Fd,[["render",xd]]),qd={},Yd={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Kd=e.createElementVNode("path",{d:"M10.925 15.125L9.525 13.725C9.425 13.625 9.31667 13.55 9.2 13.5C9.08334 13.45 8.96267 13.425 8.838 13.425C8.71267 13.425 8.58767 13.45 8.463 13.5C8.33834 13.55 8.22567 13.625 8.125 13.725C7.925 13.925 7.825 14.1627 7.825 14.438C7.825 14.7133 7.925 14.9507 8.125 15.15L10.25 17.3C10.35 17.4 10.4583 17.471 10.575 17.513C10.6917 17.555 10.8167 17.5757 10.95 17.575C11.0833 17.575 11.2083 17.554 11.325 17.512C11.4417 17.47 11.55 17.3993 11.65 17.3L15.875 13.075C16.075 12.875 16.175 12.6333 16.175 12.35C16.175 12.0667 16.075 11.825 15.875 11.625C15.675 11.425 15.4333 11.325 15.15 11.325C14.8667 11.325 14.625 11.425 14.425 11.625L10.925 15.125ZM6 22C5.45 22 4.979 21.804 4.587 21.412C4.195 21.02 3.99934 20.5493 4 20V4C4 3.45 4.196 2.979 4.588 2.587C4.98 2.195 5.45067 1.99934 6 2H13.175C13.4417 2 13.696 2.05 13.938 2.15C14.18 2.25 14.3923 2.39167 14.575 2.575L19.425 7.425C19.6083 7.60834 19.75 7.821 19.85 8.063C19.95 8.305 20 8.559 20 8.825V20C20 20.55 19.804 21.021 19.412 21.413C19.02 21.805 18.5493 22.0007 18 22H6ZM13 8V4H6V20H18V9H14C13.7167 9 13.479 8.904 13.287 8.712C13.095 8.52 12.9993 8.28267 13 8Z",fill:"black"},null,-1),Gd=[Kd];function Xd(a,t){return e.openBlock(),e.createElementBlock("svg",Yd,Gd)}const Qd=L(qd,[["render",Xd]]),Jd={},eu={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},tu=e.createElementVNode("path",{d:"M5 21C4.45 21 3.979 20.804 3.587 20.412C3.195 20.02 2.99934 19.5493 3 19V5C3 4.45 3.196 3.979 3.588 3.587C3.98 3.195 4.45067 2.99934 5 3H14.175C14.4417 3 14.696 3.05 14.938 3.15C15.18 3.25 15.3923 3.39167 15.575 3.575L20.425 8.425C20.6083 8.60834 20.75 8.821 20.85 9.063C20.95 9.305 21 9.559 21 9.825V19C21 19.55 20.804 20.021 20.412 20.413C20.02 20.805 19.5493 21.0007 19 21H5ZM8 17H16C16.2833 17 16.521 16.904 16.713 16.712C16.905 16.52 17.0007 16.2827 17 16C17 15.7167 16.904 15.479 16.712 15.287C16.52 15.095 16.2827 14.9993 16 15H8C7.71667 15 7.479 15.096 7.287 15.288C7.095 15.48 6.99934 15.7173 7 16C7 16.2833 7.096 16.521 7.288 16.713C7.48 16.905 7.71734 17.0007 8 17ZM8 13H16C16.2833 13 16.521 12.904 16.713 12.712C16.905 12.52 17.0007 12.2827 17 12C17 11.7167 16.904 11.479 16.712 11.287C16.52 11.095 16.2827 10.9993 16 11H8C7.71667 11 7.479 11.096 7.287 11.288C7.095 11.48 6.99934 11.7173 7 12C7 12.2833 7.096 12.521 7.288 12.713C7.48 12.905 7.71734 13.0007 8 13ZM8 9H13C13.2833 9 13.521 8.904 13.713 8.712C13.905 8.52 14.0007 8.28267 14 8C14 7.71667 13.904 7.479 13.712 7.287C13.52 7.095 13.2827 6.99934 13 7H8C7.71667 7 7.479 7.096 7.287 7.288C7.095 7.48 6.99934 7.71734 7 8C7 8.28334 7.096 8.521 7.288 8.713C7.48 8.905 7.71734 9.00067 8 9Z",fill:"black"},null,-1),au=[tu];function ou(a,t){return e.openBlock(),e.createElementBlock("svg",eu,au)}const nu=L(Jd,[["render",ou]]),su={},lu={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},ru=e.createElementVNode("path",{d:"M9 3V1H15V3H9ZM11 14H13V8H11V14ZM12 22C10.7667 22 9.604 21.7623 8.512 21.287C7.42 20.8117 6.466 20.166 5.65 19.35C4.83333 18.5333 4.18733 17.579 3.712 16.487C3.23667 15.395 2.99933 14.2327 3 13C3 11.7667 3.23767 10.604 3.713 9.512C4.18833 8.42 4.834 7.466 5.65 6.65C6.46667 5.83333 7.421 5.18733 8.513 4.712C9.605 4.23667 10.7673 3.99933 12 4C13.0333 4 14.025 4.16667 14.975 4.5C15.925 4.83333 16.8167 5.31667 17.65 5.95L19.05 4.55L20.45 5.95L19.05 7.35C19.6833 8.18333 20.1667 9.075 20.5 10.025C20.8333 10.975 21 11.9667 21 13C21 14.2333 20.7623 15.396 20.287 16.488C19.8117 17.58 19.166 18.534 18.35 19.35C17.5333 20.1667 16.579 20.8127 15.487 21.288C14.395 21.7633 13.2327 22.0007 12 22ZM12 20C13.9333 20 15.5833 19.3167 16.95 17.95C18.3167 16.5833 19 14.9333 19 13C19 11.0667 18.3167 9.41667 16.95 8.05C15.5833 6.68333 13.9333 6 12 6C10.0667 6 8.41667 6.68333 7.05 8.05C5.68333 9.41667 5 11.0667 5 13C5 14.9333 5.68333 16.5833 7.05 17.95C8.41667 19.3167 10.0667 20 12 20Z",fill:"black"},null,-1),iu=[ru];function cu(a,t){return e.openBlock(),e.createElementBlock("svg",lu,iu)}const du=L(su,[["render",cu]]),uu={},pu={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},mu=e.createElementVNode("path",{d:"M8 10H4C3.45 10 2.979 9.804 2.587 9.412C2.195 9.02 1.99934 8.54934 2 8V4C2 3.45 2.196 2.979 2.588 2.587C2.98 2.195 3.45067 1.99934 4 2H8C8.55 2 9.021 2.196 9.413 2.588C9.805 2.98 10.0007 3.45067 10 4V8C10 8.55 9.804 9.021 9.412 9.413C9.02 9.805 8.54934 10.0007 8 10ZM8 22H4C3.45 22 2.979 21.804 2.587 21.412C2.195 21.02 1.99934 20.5493 2 20V16C2 15.45 2.196 14.979 2.588 14.587C2.98 14.195 3.45067 13.9993 4 14H8C8.55 14 9.021 14.196 9.413 14.588C9.805 14.98 10.0007 15.4507 10 16V20C10 20.55 9.804 21.021 9.412 21.413C9.02 21.805 8.54934 22.0007 8 22ZM20 10H16C15.45 10 14.979 9.804 14.587 9.412C14.195 9.02 13.9993 8.54934 14 8V4C14 3.45 14.196 2.979 14.588 2.587C14.98 2.195 15.4507 1.99934 16 2H20C20.55 2 21.021 2.196 21.413 2.588C21.805 2.98 22.0007 3.45067 22 4V8C22 8.55 21.804 9.021 21.412 9.413C21.02 9.805 20.5493 10.0007 20 10ZM20 22H16C15.45 22 14.979 21.804 14.587 21.412C14.195 21.02 13.9993 20.5493 14 20V16C14 15.45 14.196 14.979 14.588 14.587C14.98 14.195 15.4507 13.9993 16 14H20C20.55 14 21.021 14.196 21.413 14.588C21.805 14.98 22.0007 15.4507 22 16V20C22 20.55 21.804 21.021 21.412 21.413C21.02 21.805 20.5493 22.0007 20 22Z",fill:"black"},null,-1),vu=[mu];function fu(a,t){return e.openBlock(),e.createElementBlock("svg",pu,vu)}const hu=L(uu,[["render",fu]]),Cu={},gu={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},_u=e.createElementVNode("path",{d:"M8.5 16.5H10.5C10.7833 16.5 11.021 16.404 11.213 16.212C11.405 16.02 11.5007 15.7827 11.5 15.5V13.5C11.5 13.2167 11.404 12.979 11.212 12.787C11.02 12.595 10.7827 12.4993 10.5 12.5H8.5C8.21667 12.5 7.979 12.596 7.787 12.788C7.595 12.98 7.49934 13.2173 7.5 13.5V15.5C7.5 15.7833 7.596 16.021 7.788 16.213C7.98 16.405 8.21734 16.5007 8.5 16.5ZM8.5 11.5H10.5C10.7833 11.5 11.021 11.404 11.213 11.212C11.405 11.02 11.5007 10.7827 11.5 10.5V8.5C11.5 8.21667 11.404 7.979 11.212 7.787C11.02 7.595 10.7827 7.49934 10.5 7.5H8.5C8.21667 7.5 7.979 7.596 7.787 7.788C7.595 7.98 7.49934 8.21734 7.5 8.5V10.5C7.5 10.7833 7.596 11.021 7.788 11.213C7.98 11.405 8.21734 11.5007 8.5 11.5ZM13.5 16.5H15.5C15.7833 16.5 16.021 16.404 16.213 16.212C16.405 16.02 16.5007 15.7827 16.5 15.5V13.5C16.5 13.2167 16.404 12.979 16.212 12.787C16.02 12.595 15.7827 12.4993 15.5 12.5H13.5C13.2167 12.5 12.979 12.596 12.787 12.788C12.595 12.98 12.4993 13.2173 12.5 13.5V15.5C12.5 15.7833 12.596 16.021 12.788 16.213C12.98 16.405 13.2173 16.5007 13.5 16.5ZM13.5 11.5H15.5C15.7833 11.5 16.021 11.404 16.213 11.212C16.405 11.02 16.5007 10.7827 16.5 10.5V8.5C16.5 8.21667 16.404 7.979 16.212 7.787C16.02 7.595 15.7827 7.49934 15.5 7.5H13.5C13.2167 7.5 12.979 7.596 12.787 7.788C12.595 7.98 12.4993 8.21734 12.5 8.5V10.5C12.5 10.7833 12.596 11.021 12.788 11.213C12.98 11.405 13.2173 11.5007 13.5 11.5ZM4 20C3.45 20 2.979 19.804 2.587 19.412C2.195 19.02 1.99934 18.5493 2 18V6C2 5.45 2.196 4.979 2.588 4.587C2.98 4.195 3.45067 3.99934 4 4H20C20.55 4 21.021 4.196 21.413 4.588C21.805 4.98 22.0007 5.45067 22 6V18C22 18.55 21.804 19.021 21.412 19.413C21.02 19.805 20.5493 20.0007 20 20H4Z",fill:"black"},null,-1),yu=[_u];function bu(a,t){return e.openBlock(),e.createElementBlock("svg",gu,yu)}const ku=L(Cu,[["render",bu]]),wu={},$u={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Eu=e.createElementVNode("path",{d:"M7 17H11C11.2833 17 11.521 16.904 11.713 16.712C11.905 16.52 12.0007 16.2827 12 16C12 15.7167 11.904 15.479 11.712 15.287C11.52 15.095 11.2827 14.9993 11 15H7C6.71667 15 6.479 15.096 6.287 15.288C6.095 15.48 5.99934 15.7173 6 16C6 16.2833 6.096 16.521 6.288 16.713C6.48 16.905 6.71734 17.0007 7 17ZM10 13H14C14.2833 13 14.521 12.904 14.713 12.712C14.905 12.52 15.0007 12.2827 15 12C15 11.7167 14.904 11.479 14.712 11.287C14.52 11.095 14.2827 10.9993 14 11H10C9.71667 11 9.479 11.096 9.287 11.288C9.095 11.48 8.99934 11.7173 9 12C9 12.2833 9.096 12.521 9.288 12.713C9.48 12.905 9.71734 13.0007 10 13ZM13 9H17C17.2833 9 17.521 8.904 17.713 8.712C17.905 8.52 18.0007 8.28267 18 8C18 7.71667 17.904 7.479 17.712 7.287C17.52 7.095 17.2827 6.99934 17 7H13C12.7167 7 12.479 7.096 12.287 7.288C12.095 7.48 11.9993 7.71734 12 8C12 8.28334 12.096 8.521 12.288 8.713C12.48 8.905 12.7173 9.00067 13 9ZM5 21C4.45 21 3.979 20.804 3.587 20.412C3.195 20.02 2.99934 19.5493 3 19V5C3 4.45 3.196 3.979 3.588 3.587C3.98 3.195 4.45067 2.99934 5 3H19C19.55 3 20.021 3.196 20.413 3.588C20.805 3.98 21.0007 4.45067 21 5V19C21 19.55 20.804 20.021 20.412 20.413C20.02 20.805 19.5493 21.0007 19 21H5Z",fill:"black"},null,-1),Bu=[Eu];function Vu(a,t){return e.openBlock(),e.createElementBlock("svg",$u,Bu)}const Nu=L(wu,[["render",Vu]]),Su={},Mu={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Au=e.createElementVNode("path",{d:"M2.72499 21C2.54166 21 2.37499 20.954 2.22499 20.862C2.07499 20.77 1.95833 20.6493 1.87499 20.5C1.79166 20.35 1.74566 20.1873 1.73699 20.012C1.72833 19.8367 1.77433 19.666 1.87499 19.5L11.125 3.5C11.225 3.33333 11.3543 3.20833 11.513 3.125C11.6717 3.04167 11.834 3 12 3C12.1667 3 12.3293 3.04167 12.488 3.125C12.6467 3.20833 12.7757 3.33333 12.875 3.5L22.125 19.5C22.225 19.6667 22.271 19.8377 22.263 20.013C22.255 20.1883 22.209 20.3507 22.125 20.5C22.0417 20.65 21.925 20.771 21.775 20.863C21.625 20.955 21.4583 21.0007 21.275 21H2.72499ZM4.44999 19H19.55L12 6L4.44999 19ZM12 18C12.2833 18 12.521 17.904 12.713 17.712C12.905 17.52 13.0007 17.2827 13 17C13 16.7167 12.904 16.479 12.712 16.287C12.52 16.095 12.2827 15.9993 12 16C11.7167 16 11.479 16.096 11.287 16.288C11.095 16.48 10.9993 16.7173 11 17C11 17.2833 11.096 17.521 11.288 17.713C11.48 17.905 11.7173 18.0007 12 18ZM12 15C12.2833 15 12.521 14.904 12.713 14.712C12.905 14.52 13.0007 14.2827 13 14V11C13 10.7167 12.904 10.479 12.712 10.287C12.52 10.095 12.2827 9.99933 12 10C11.7167 10 11.479 10.096 11.287 10.288C11.095 10.48 10.9993 10.7173 11 11V14C11 14.2833 11.096 14.521 11.288 14.713C11.48 14.905 11.7173 15.0007 12 15Z",fill:"black"},null,-1),Tu=[Au];function Ou(a,t){return e.openBlock(),e.createElementBlock("svg",Mu,Tu)}const Iu=L(Su,[["render",Ou]]),Lu={},Du={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},Pu=e.createElementVNode("path",{d:"M2.72505 21C2.34172 21 2.05838 20.8333 1.87505 20.5C1.69172 20.1667 1.69172 19.8333 1.87505 19.5L11.125 3.5C11.3084 3.16667 11.6 3 12 3C12.4 3 12.6917 3.16667 12.875 3.5L22.125 19.5C22.3084 19.8333 22.3084 20.1667 22.125 20.5C21.9417 20.8333 21.6584 21 21.275 21H2.72505ZM12 10C11.7167 10 11.4794 10.0957 11.288 10.287C11.096 10.479 11 10.7167 11 11V14C11 14.2833 11.096 14.5207 11.288 14.712C11.4794 14.904 11.7167 15 12 15C12.2834 15 12.521 14.904 12.713 14.712C12.9044 14.5207 13 14.2833 13 14V11C13 10.7167 12.9044 10.479 12.713 10.287C12.521 10.0957 12.2834 10 12 10ZM12 18C12.2834 18 12.521 17.904 12.713 17.712C12.9044 17.5207 13 17.2833 13 17C13 16.7167 12.9044 16.4793 12.713 16.288C12.521 16.096 12.2834 16 12 16C11.7167 16 11.4794 16.096 11.288 16.288C11.096 16.4793 11 16.7167 11 17C11 17.2833 11.096 17.5207 11.288 17.712C11.4794 17.904 11.7167 18 12 18Z",fill:"black"},null,-1),Hu=[Pu];function Ru(a,t){return e.openBlock(),e.createElementBlock("svg",Du,Hu)}const ju=L(Lu,[["render",Ru]]),Fu={},Uu={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},zu=e.createElementVNode("path",{d:"M19.5 20C19.0833 20 18.729 19.854 18.437 19.562C18.145 19.27 17.9993 18.916 18 18.5V5.5C18 5.08334 18.146 4.729 18.438 4.437C18.73 4.145 19.084 3.99934 19.5 4C19.9167 4 20.271 4.146 20.563 4.438C20.855 4.73 21.0007 5.084 21 5.5V18.5C21 18.9167 20.854 19.271 20.562 19.563C20.27 19.855 19.916 20.0007 19.5 20ZM4.5 20C4.08334 20 3.729 19.854 3.437 19.562C3.145 19.27 2.99934 18.916 3 18.5V14.5C3 14.0833 3.146 13.729 3.438 13.437C3.73 13.145 4.084 12.9993 4.5 13C4.91667 13 5.271 13.146 5.563 13.438C5.855 13.73 6.00067 14.084 6 14.5V18.5C6 18.9167 5.854 19.271 5.562 19.563C5.27 19.855 4.916 20.0007 4.5 20ZM15.5 7C15.0833 7 14.729 6.854 14.437 6.562C14.145 6.27 13.9993 5.916 14 5.5C14 5.08334 14.146 4.729 14.438 4.437C14.73 4.145 15.084 3.99934 15.5 4C15.9167 4 16.271 4.146 16.563 4.438C16.855 4.73 17.0007 5.084 17 5.5C17 5.91667 16.854 6.271 16.562 6.563C16.27 6.855 15.916 7.00067 15.5 7ZM11.5 9C11.0833 9 10.729 8.854 10.437 8.562C10.145 8.27 9.99934 7.916 10 7.5V6.5C10 6.08334 10.146 5.729 10.438 5.437C10.73 5.145 11.084 4.99934 11.5 5C11.9167 5 12.271 5.146 12.563 5.438C12.855 5.73 13.0007 6.084 13 6.5V7.5C13 7.91667 12.854 8.271 12.562 8.563C12.27 8.855 11.916 9.00067 11.5 9ZM8.5 14C8.08334 14 7.729 13.854 7.437 13.562C7.145 13.27 6.99934 12.916 7 12.5V11.5C7 11.0833 7.146 10.729 7.438 10.437C7.73 10.145 8.084 9.99934 8.5 10C8.91667 10 9.271 10.146 9.563 10.438C9.855 10.73 10.0007 11.084 10 11.5V12.5C10 12.9167 9.854 13.271 9.562 13.563C9.27 13.855 8.916 14.0007 8.5 14Z",fill:"black"},null,-1),Zu=[zu];function xu(a,t){return e.openBlock(),e.createElementBlock("svg",Uu,Zu)}const Wu=L(Fu,[["render",xu]]),qu=Object.freeze(Object.defineProperty({__proto__:null,AccountBoxSharp:vs,AccountCircle:ys,AccountTreeOutlineRounded:Bs,AccountTreeRounded:Ts,Add:Hs,AddBoxOutlineRounded:Zs,ArchiveOutlineRounded:Gs,ArrowBackRounded:al,ArrowDropDownRounded:il,ArrowForwardRounded:vl,AssignmentOutlineRounded:yl,AttachFileRounded:Bl,CalendarTodayOutlineRounded:Tl,CancelRounded:Hl,ChatOutline:Zl,CheckBoxOutlineBlank:Gl,CheckBoxOutlineBlankSharp:ar,CheckBoxOutlineRounded:ir,CheckSmallRounded:vr,ChecklistRounded:yr,ChevronLeft:Br,ChevronRight:Tr,CloseRounded:Hr,ContactsOutlineRounded:Zr,ContentCopyOutline:Gr,DeleteOutlineRounded:ai,DragIndicator:ii,EditDocumentRounded:vi,EditOutline:yi,ErrorOutlineRounded:Bi,FilterListRounded:Ti,FlagRounded:Hi,FlowsheetOutlineRounded:Zi,GifBox:Gi,GroupsOutline:a1,HomeOutlineRounded:i1,ImageRounded:v1,Info:y1,KeyboardArrowDown:B1,KeyboardArrowUp:T1,Loading:j1,Lock:W1,LogoutRounded:Q1,Menu:nc,MoreHoriz:dc,MoreTimeRounded:hc,MoreVert:kc,MountainFlagOutlineRounded:Nc,PersonAddOutlineRounded:Ic,PictureAsPdfRounded:jc,RadioButtonChecked:Wc,RadioButtonCheckedOutline:Qc,RadioButtonUnchecked:nd,RemoveRounded:dd,SearchRounded:hd,SelectCheckBox:kd,SendRounded:Nd,Settings:Id,SlideshowRounded:jd,Target:Wd,TaskOutlineRounded:Qd,TextSnippetRounded:nu,TimerOutline:du,ViewComfyAltRounded:hu,ViewCompactAltRounded:ku,ViewTimelineRounded:Nu,WarningOutlineRounded:Iu,WarningRounded:ju,WaterfallChartRounded:Wu},Symbol.toStringTag,{value:"Module"})),Yu={SOLID:"solid",GHOST:"ghost",OUTLINE:"outline"},va={SM:"sm",MD:"md",LG:"lg",XL:"xl"},Ga={PRIMARY:"primary",PRIMARY_LIGHTER:"primary-lighter",NEUTRAL:"neutral",BLACK:"black"},Ku={WARNING:"warning",SUCCESS:"success",DANGER:"danger"};({...Ga,...Ku});const Jo={ROUND:"round",ROUNDED:"rounded"},Gu={SOLID:"solid",OUTLINE:"outline",SOLID_ICON:"solid_icon"},Q=e.defineComponent({__name:"AoIcon",props:{name:{},size:{default:va.MD}},setup(a){const t=a,o=e.computed(()=>qu[t.name]);return(n,s)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(o.value),{class:e.normalizeClass(["ao-icon",`ao-icon--${n.size}`])},null,8,["class"]))}});const Xu=["type"],Qu={key:0,class:"ao-button__label"},K=e.defineComponent({__name:"AoButton",props:{label:{default:()=>""},variant:{default:()=>Yu.SOLID},iconName:{},iconPosition:{},type:{default:()=>"button"},color:{},footer:{type:Boolean,default:()=>!1},size:{default:()=>va.MD},isLoading:{type:Boolean,default:()=>!1},corners:{default:()=>Jo.ROUNDED}},setup(a){const t=a,o=e.computed(()=>t.size),n=e.computed(()=>t.isLoading?"Loading":t.iconName);return(s,r)=>(e.openBlock(),e.createElementBlock("button",{type:s.type,class:e.normalizeClass(["ao-button",`ao-button--${s.variant}`,s.color?`ao-button--${s.color}`:"",`ao-button--${s.corners}`,s.footer?"ao-button--footer":"",s.size?`ao-button--${s.size}`:"",s.iconName&&s.iconPosition?`ao-button--icon-${s.iconPosition}`:"",s.$attrs.disabled?"ao-button--is-disabled":""])},[e.renderSlot(s.$slots,"default",{},()=>[s.label?(e.openBlock(),e.createElementBlock("span",Qu,e.toDisplayString(s.label),1)):e.createCommentVNode("",!0)]),n.value?(e.openBlock(),e.createBlock(Q,{key:0,name:n.value,class:"ao-button__icon",size:o.value},null,8,["name","size"])):e.createCommentVNode("",!0)],10,Xu))}});function en(a){const t=e.ref(!1),o=e.ref(""),n=e.computed(()=>"value"in a.value?"value":"innerHTML"),s=()=>{t.value=!t.value},r=c=>{t.value=c},l=c=>async()=>{r(!1),await e.nextTick(()=>{a.value[n.value]=o.value,c==null||c()})},i=c=>async p=>{const d=a.value[n.value];r(!1),await e.nextTick(()=>{c(d,p)})};return e.watch(t,async c=>{await e.nextTick(()=>{setTimeout(()=>{a.value&&c&&(a.value.focus(),o.value=a.value[n.value])},1)})}),{isEditing:t,setIsEditing:r,toggleIsEditing:s,onUpdate:i,onDiscard:l}}const ne=e.defineComponent({__name:"AoTitle",props:{id:{},title:{},level:{default:1},tag:{},color:{},isEditable:{type:Boolean,default:!1}},emits:["update:title","toggle-is-editing"],setup(a,{emit:t}){const o=a,n=e.ref(null),{isEditing:s,setIsEditing:r,onUpdate:l,onDiscard:i}=en(n),c=e.computed(()=>s.value?"input":o.tag||`h${o.level}`),p=e.computed(()=>o.isEditable?s.value?{change:d,click:C=>C.stopPropagation(),blur:m}:{click:_,focus:_}:{}),d=l((C,h)=>{const y=h.target.value;t("update:title",y)}),u=i(),m=async()=>{s.value&&r(!1)},v=()=>{t("toggle-is-editing",!1)},_=C=>{C.stopPropagation(),s.value||r(!0)};return e.watch(()=>o.isEditable,C=>{C||u()}),(C,h)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(c.value),e.mergeProps({id:C.id,ref_key:"target",ref:n,class:["ao-title",`ao-title--${C.level}`,{[`ao-title--${C.color}`]:!!C.color,"ao-title--editable":C.isEditable,"ao-field__input ao-title--editing":e.unref(s),"ao-title--readonly":!e.unref(s)}],type:e.unref(s)?"text":null,value:e.unref(s)?C.title:null,tabindex:"0",onKeyup:e.withKeys(v,["enter"])},e.toHandlers(p.value),{onKeydown:e.withKeys(e.unref(u),["esc"])}),{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(C.title),1)]),_:1},16,["id","class","type","value","onKeyup","onKeydown"]))}});const Ju={key:0,class:"ao-card-horiz__drag ao-card__drag"},e2={class:"ao-card-horiz__header"},t2={key:0,class:"ao-card-horiz__avatar"},a2={class:"ao-card-horiz__title-group"},o2={key:0,class:"ao-card-horiz__subtitle"},n2={key:1,class:"ao-card-horiz__header"},s2={key:1,class:"ao-card-horiz__body"},l2={key:2,class:"ao-card-horiz__footer"},r2={key:3,class:"ao-card-horiz__secondary"},tn=e.defineComponent({__name:"AoCardHoriz",props:{id:{},title:{},subtitle:{},icon:{},isActive:{type:Boolean},isEditing:{type:Boolean},tagName:{default:"div"},isDraggable:{type:Boolean}},emits:["update:title"],setup(a,{emit:t}){const o=n=>{t("update:title",n)};return(n,s)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(n.tagName),{class:e.normalizeClass(["ao-card-horiz",{"ao-card-horiz--active":n.isActive}])},{default:e.withCtx(()=>[n.isDraggable?(e.openBlock(),e.createElementBlock("div",Ju,[e.createVNode(Q,{name:"DragIndicator",class:"ao-card-horiz__drag-handle"})])):e.createCommentVNode("",!0),e.createElementVNode("div",e2,[n.icon?(e.openBlock(),e.createElementBlock("div",t2,[e.createVNode(Q,{class:"ao-card-horiz__icon",name:n.icon,size:"xl"},null,8,["name"])])):e.createCommentVNode("",!0),e.createElementVNode("div",a2,[e.createVNode(ne,{id:n.id,class:"ao-card-horiz__title",level:4,title:n.title||"","is-editable":!0,"onUpdate:title":o},null,8,["id","title"]),e.renderSlot(n.$slots,"subtitle",{},()=>[n.subtitle?(e.openBlock(),e.createElementBlock("span",o2,e.toDisplayString(n.subtitle),1)):e.createCommentVNode("",!0)])]),n.$slots.header?(e.openBlock(),e.createElementBlock("div",n2,[e.renderSlot(n.$slots,"header")])):e.createCommentVNode("",!0)]),n.$slots.default?(e.openBlock(),e.createElementBlock("div",s2,[e.renderSlot(n.$slots,"default")])):e.createCommentVNode("",!0),n.$slots.footer?(e.openBlock(),e.createElementBlock("div",l2,[e.renderSlot(n.$slots,"footer")])):e.createCommentVNode("",!0),n.$slots.secondary?(e.openBlock(),e.createElementBlock("div",r2,[e.renderSlot(n.$slots,"secondary")])):e.createCommentVNode("",!0)]),_:3},8,["class"]))}});const Tt=e.defineComponent({__name:"AoTag",props:{label:{},color:{},rawColor:{},clickable:{type:Boolean},closable:{type:Boolean},variant:{},iconName:{}},emits:["click","close"],setup(a){const t=a,o=e.computed(()=>t.clickable?"button":"span"),n=e.computed(()=>o.value==="button"?{type:"button"}:{});return(s,r)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["ao-tag",s.color?`ao-tag--${s.color}`:"",s.clickable?"ao-tag--clickable":"",s.closable?"ao-tag--closable":"",s.variant?`ao-tag--${s.variant}`:""]),style:e.normalizeStyle(s.rawColor?{"--ao-tag-bg":s.rawColor}:{})},[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(o.value),e.mergeProps({class:"ao-tag__label"},n.value,{onClick:r[0]||(r[0]=l=>s.$emit("click",l))}),{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(s.label)+" ",1),s.variant===e.unref(Gu).SOLID_ICON&&s.iconName?(e.openBlock(),e.createBlock(Q,{key:0,name:s.iconName,class:"ao-tag__icon",size:"sm"},null,8,["name"])):e.createCommentVNode("",!0)]),_:1},16)),s.closable?(e.openBlock(),e.createElementBlock("button",{key:0,class:"ao-tag__close",onClick:r[1]||(r[1]=l=>s.$emit("close",l))},[e.createVNode(Q,{name:"CloseRounded",size:"sm",class:"ao-tag__close-icon"})])):e.createCommentVNode("",!0)],6))}});const Ot={todo:"todo",done:"done",archived:"archived"},i2={months:"months",weeks:"weeks",days:"days"},c2={future:"future",this_month:"this_month",this_week:"this_week",today:"today",done:"done"},an={BEFORE:"before",AFTER:"after"},on={START:"start",end:"end"},nn={DAYS:"days",WEEKS:"weeks",MONTHS:"months"},ee={TEMPLATES:"templates",PHASES:"phases",MILESTONES:"milestones",ACTIVITIES:"activities",TASKS:"tasks"};var sn=(a=>(a.PHASES="phases",a.MILESTONES="milestones",a.ACTIVITIES="activities",a))(sn||{});const d2={add:"add",remove:"remove",moved:"moved"},Je={project:"projectId",type:"typeId",assignee:"assigneeId"};function la(a){"@babel/helpers - typeof";return la=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},la(a)}function Ae(a){if(a===null||a===!0||a===!1)return NaN;var t=Number(a);return isNaN(t)?t:t<0?Math.ceil(t):Math.floor(t)}function ae(a,t){if(t.length<a)throw new TypeError(a+" argument"+(a>1?"s":"")+" required, but only "+t.length+" present")}function le(a){ae(1,arguments);var t=Object.prototype.toString.call(a);return a instanceof Date||la(a)==="object"&&t==="[object Date]"?new Date(a.getTime()):typeof a=="number"||t==="[object Number]"?new Date(a):((typeof a=="string"||t==="[object String]")&&typeof console<"u"&&(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"),console.warn(new Error().stack)),new Date(NaN))}function u2(a,t){ae(2,arguments);var o=le(a).getTime(),n=Ae(t);return new Date(o+n)}var p2={};function jt(){return p2}function It(a){var t=new Date(Date.UTC(a.getFullYear(),a.getMonth(),a.getDate(),a.getHours(),a.getMinutes(),a.getSeconds(),a.getMilliseconds()));return t.setUTCFullYear(a.getFullYear()),a.getTime()-t.getTime()}function To(a){ae(1,arguments);var t=le(a);return t.setHours(0,0,0,0),t}var m2=864e5;function v2(a,t){ae(2,arguments);var o=To(a),n=To(t),s=o.getTime()-It(o),r=n.getTime()-It(n);return Math.round((s-r)/m2)}function f2(a,t){ae(2,arguments);var o=le(a),n=le(t),s=o.getTime()-n.getTime();return s<0?-1:s>0?1:s}var ln=6e4,rn=36e5;function h2(a){return ae(1,arguments),a instanceof Date||la(a)==="object"&&Object.prototype.toString.call(a)==="[object Date]"}function cn(a){if(ae(1,arguments),!h2(a)&&typeof a!="number")return!1;var t=le(a);return!isNaN(Number(t))}function za(a,t){ae(2,arguments);var o=Ae(t);return u2(a,-o)}var C2=864e5;function g2(a){ae(1,arguments);var t=le(a),o=t.getTime();t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0);var n=t.getTime(),s=o-n;return Math.floor(s/C2)+1}function ra(a){ae(1,arguments);var t=1,o=le(a),n=o.getUTCDay(),s=(n<t?7:0)+n-t;return o.setUTCDate(o.getUTCDate()-s),o.setUTCHours(0,0,0,0),o}function dn(a){ae(1,arguments);var t=le(a),o=t.getUTCFullYear(),n=new Date(0);n.setUTCFullYear(o+1,0,4),n.setUTCHours(0,0,0,0);var s=ra(n),r=new Date(0);r.setUTCFullYear(o,0,4),r.setUTCHours(0,0,0,0);var l=ra(r);return t.getTime()>=s.getTime()?o+1:t.getTime()>=l.getTime()?o:o-1}function _2(a){ae(1,arguments);var t=dn(a),o=new Date(0);o.setUTCFullYear(t,0,4),o.setUTCHours(0,0,0,0);var n=ra(o);return n}var y2=6048e5;function b2(a){ae(1,arguments);var t=le(a),o=ra(t).getTime()-_2(t).getTime();return Math.round(o/y2)+1}function ia(a,t){var o,n,s,r,l,i,c,p;ae(1,arguments);var d=jt(),u=Ae((o=(n=(s=(r=t==null?void 0:t.weekStartsOn)!==null&&r!==void 0?r:t==null||(l=t.locale)===null||l===void 0||(i=l.options)===null||i===void 0?void 0:i.weekStartsOn)!==null&&s!==void 0?s:d.weekStartsOn)!==null&&n!==void 0?n:(c=d.locale)===null||c===void 0||(p=c.options)===null||p===void 0?void 0:p.weekStartsOn)!==null&&o!==void 0?o:0);if(!(u>=0&&u<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var m=le(a),v=m.getUTCDay(),_=(v<u?7:0)+v-u;return m.setUTCDate(m.getUTCDate()-_),m.setUTCHours(0,0,0,0),m}function un(a,t){var o,n,s,r,l,i,c,p;ae(1,arguments);var d=le(a),u=d.getUTCFullYear(),m=jt(),v=Ae((o=(n=(s=(r=t==null?void 0:t.firstWeekContainsDate)!==null&&r!==void 0?r:t==null||(l=t.locale)===null||l===void 0||(i=l.options)===null||i===void 0?void 0:i.firstWeekContainsDate)!==null&&s!==void 0?s:m.firstWeekContainsDate)!==null&&n!==void 0?n:(c=m.locale)===null||c===void 0||(p=c.options)===null||p===void 0?void 0:p.firstWeekContainsDate)!==null&&o!==void 0?o:1);if(!(v>=1&&v<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var _=new Date(0);_.setUTCFullYear(u+1,0,v),_.setUTCHours(0,0,0,0);var C=ia(_,t),h=new Date(0);h.setUTCFullYear(u,0,v),h.setUTCHours(0,0,0,0);var b=ia(h,t);return d.getTime()>=C.getTime()?u+1:d.getTime()>=b.getTime()?u:u-1}function k2(a,t){var o,n,s,r,l,i,c,p;ae(1,arguments);var d=jt(),u=Ae((o=(n=(s=(r=t==null?void 0:t.firstWeekContainsDate)!==null&&r!==void 0?r:t==null||(l=t.locale)===null||l===void 0||(i=l.options)===null||i===void 0?void 0:i.firstWeekContainsDate)!==null&&s!==void 0?s:d.firstWeekContainsDate)!==null&&n!==void 0?n:(c=d.locale)===null||c===void 0||(p=c.options)===null||p===void 0?void 0:p.firstWeekContainsDate)!==null&&o!==void 0?o:1),m=un(a,t),v=new Date(0);v.setUTCFullYear(m,0,u),v.setUTCHours(0,0,0,0);var _=ia(v,t);return _}var w2=6048e5;function $2(a,t){ae(1,arguments);var o=le(a),n=ia(o,t).getTime()-k2(o,t).getTime();return Math.round(n/w2)+1}function X(a,t){for(var o=a<0?"-":"",n=Math.abs(a).toString();n.length<t;)n="0"+n;return o+n}var E2={y:function(t,o){var n=t.getUTCFullYear(),s=n>0?n:1-n;return X(o==="yy"?s%100:s,o.length)},M:function(t,o){var n=t.getUTCMonth();return o==="M"?String(n+1):X(n+1,2)},d:function(t,o){return X(t.getUTCDate(),o.length)},a:function(t,o){var n=t.getUTCHours()/12>=1?"pm":"am";switch(o){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];case"aaaa":default:return n==="am"?"a.m.":"p.m."}},h:function(t,o){return X(t.getUTCHours()%12||12,o.length)},H:function(t,o){return X(t.getUTCHours(),o.length)},m:function(t,o){return X(t.getUTCMinutes(),o.length)},s:function(t,o){return X(t.getUTCSeconds(),o.length)},S:function(t,o){var n=o.length,s=t.getUTCMilliseconds(),r=Math.floor(s*Math.pow(10,n-3));return X(r,o.length)}};const Re=E2;var ct={am:"am",pm:"pm",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},B2={G:function(t,o,n){var s=t.getUTCFullYear()>0?1:0;switch(o){case"G":case"GG":case"GGG":return n.era(s,{width:"abbreviated"});case"GGGGG":return n.era(s,{width:"narrow"});case"GGGG":default:return n.era(s,{width:"wide"})}},y:function(t,o,n){if(o==="yo"){var s=t.getUTCFullYear(),r=s>0?s:1-s;return n.ordinalNumber(r,{unit:"year"})}return Re.y(t,o)},Y:function(t,o,n,s){var r=un(t,s),l=r>0?r:1-r;if(o==="YY"){var i=l%100;return X(i,2)}return o==="Yo"?n.ordinalNumber(l,{unit:"year"}):X(l,o.length)},R:function(t,o){var n=dn(t);return X(n,o.length)},u:function(t,o){var n=t.getUTCFullYear();return X(n,o.length)},Q:function(t,o,n){var s=Math.ceil((t.getUTCMonth()+1)/3);switch(o){case"Q":return String(s);case"QQ":return X(s,2);case"Qo":return n.ordinalNumber(s,{unit:"quarter"});case"QQQ":return n.quarter(s,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(s,{width:"narrow",context:"formatting"});case"QQQQ":default:return n.quarter(s,{width:"wide",context:"formatting"})}},q:function(t,o,n){var s=Math.ceil((t.getUTCMonth()+1)/3);switch(o){case"q":return String(s);case"qq":return X(s,2);case"qo":return n.ordinalNumber(s,{unit:"quarter"});case"qqq":return n.quarter(s,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(s,{width:"narrow",context:"standalone"});case"qqqq":default:return n.quarter(s,{width:"wide",context:"standalone"})}},M:function(t,o,n){var s=t.getUTCMonth();switch(o){case"M":case"MM":return Re.M(t,o);case"Mo":return n.ordinalNumber(s+1,{unit:"month"});case"MMM":return n.month(s,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(s,{width:"narrow",context:"formatting"});case"MMMM":default:return n.month(s,{width:"wide",context:"formatting"})}},L:function(t,o,n){var s=t.getUTCMonth();switch(o){case"L":return String(s+1);case"LL":return X(s+1,2);case"Lo":return n.ordinalNumber(s+1,{unit:"month"});case"LLL":return n.month(s,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(s,{width:"narrow",context:"standalone"});case"LLLL":default:return n.month(s,{width:"wide",context:"standalone"})}},w:function(t,o,n,s){var r=$2(t,s);return o==="wo"?n.ordinalNumber(r,{unit:"week"}):X(r,o.length)},I:function(t,o,n){var s=b2(t);return o==="Io"?n.ordinalNumber(s,{unit:"week"}):X(s,o.length)},d:function(t,o,n){return o==="do"?n.ordinalNumber(t.getUTCDate(),{unit:"date"}):Re.d(t,o)},D:function(t,o,n){var s=g2(t);return o==="Do"?n.ordinalNumber(s,{unit:"dayOfYear"}):X(s,o.length)},E:function(t,o,n){var s=t.getUTCDay();switch(o){case"E":case"EE":case"EEE":return n.day(s,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(s,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(s,{width:"short",context:"formatting"});case"EEEE":default:return n.day(s,{width:"wide",context:"formatting"})}},e:function(t,o,n,s){var r=t.getUTCDay(),l=(r-s.weekStartsOn+8)%7||7;switch(o){case"e":return String(l);case"ee":return X(l,2);case"eo":return n.ordinalNumber(l,{unit:"day"});case"eee":return n.day(r,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(r,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(r,{width:"short",context:"formatting"});case"eeee":default:return n.day(r,{width:"wide",context:"formatting"})}},c:function(t,o,n,s){var r=t.getUTCDay(),l=(r-s.weekStartsOn+8)%7||7;switch(o){case"c":return String(l);case"cc":return X(l,o.length);case"co":return n.ordinalNumber(l,{unit:"day"});case"ccc":return n.day(r,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(r,{width:"narrow",context:"standalone"});case"cccccc":return n.day(r,{width:"short",context:"standalone"});case"cccc":default:return n.day(r,{width:"wide",context:"standalone"})}},i:function(t,o,n){var s=t.getUTCDay(),r=s===0?7:s;switch(o){case"i":return String(r);case"ii":return X(r,o.length);case"io":return n.ordinalNumber(r,{unit:"day"});case"iii":return n.day(s,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(s,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(s,{width:"short",context:"formatting"});case"iiii":default:return n.day(s,{width:"wide",context:"formatting"})}},a:function(t,o,n){var s=t.getUTCHours(),r=s/12>=1?"pm":"am";switch(o){case"a":case"aa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(r,{width:"narrow",context:"formatting"});case"aaaa":default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},b:function(t,o,n){var s=t.getUTCHours(),r;switch(s===12?r=ct.noon:s===0?r=ct.midnight:r=s/12>=1?"pm":"am",o){case"b":case"bb":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(r,{width:"narrow",context:"formatting"});case"bbbb":default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},B:function(t,o,n){var s=t.getUTCHours(),r;switch(s>=17?r=ct.evening:s>=12?r=ct.afternoon:s>=4?r=ct.morning:r=ct.night,o){case"B":case"BB":case"BBB":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(r,{width:"narrow",context:"formatting"});case"BBBB":default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},h:function(t,o,n){if(o==="ho"){var s=t.getUTCHours()%12;return s===0&&(s=12),n.ordinalNumber(s,{unit:"hour"})}return Re.h(t,o)},H:function(t,o,n){return o==="Ho"?n.ordinalNumber(t.getUTCHours(),{unit:"hour"}):Re.H(t,o)},K:function(t,o,n){var s=t.getUTCHours()%12;return o==="Ko"?n.ordinalNumber(s,{unit:"hour"}):X(s,o.length)},k:function(t,o,n){var s=t.getUTCHours();return s===0&&(s=24),o==="ko"?n.ordinalNumber(s,{unit:"hour"}):X(s,o.length)},m:function(t,o,n){return o==="mo"?n.ordinalNumber(t.getUTCMinutes(),{unit:"minute"}):Re.m(t,o)},s:function(t,o,n){return o==="so"?n.ordinalNumber(t.getUTCSeconds(),{unit:"second"}):Re.s(t,o)},S:function(t,o){return Re.S(t,o)},X:function(t,o,n,s){var r=s._originalDate||t,l=r.getTimezoneOffset();if(l===0)return"Z";switch(o){case"X":return Io(l);case"XXXX":case"XX":return et(l);case"XXXXX":case"XXX":default:return et(l,":")}},x:function(t,o,n,s){var r=s._originalDate||t,l=r.getTimezoneOffset();switch(o){case"x":return Io(l);case"xxxx":case"xx":return et(l);case"xxxxx":case"xxx":default:return et(l,":")}},O:function(t,o,n,s){var r=s._originalDate||t,l=r.getTimezoneOffset();switch(o){case"O":case"OO":case"OOO":return"GMT"+Oo(l,":");case"OOOO":default:return"GMT"+et(l,":")}},z:function(t,o,n,s){var r=s._originalDate||t,l=r.getTimezoneOffset();switch(o){case"z":case"zz":case"zzz":return"GMT"+Oo(l,":");case"zzzz":default:return"GMT"+et(l,":")}},t:function(t,o,n,s){var r=s._originalDate||t,l=Math.floor(r.getTime()/1e3);return X(l,o.length)},T:function(t,o,n,s){var r=s._originalDate||t,l=r.getTime();return X(l,o.length)}};function Oo(a,t){var o=a>0?"-":"+",n=Math.abs(a),s=Math.floor(n/60),r=n%60;if(r===0)return o+String(s);var l=t||"";return o+String(s)+l+X(r,2)}function Io(a,t){if(a%60===0){var o=a>0?"-":"+";return o+X(Math.abs(a)/60,2)}return et(a,t)}function et(a,t){var o=t||"",n=a>0?"-":"+",s=Math.abs(a),r=X(Math.floor(s/60),2),l=X(s%60,2);return n+r+o+l}const V2=B2;var Lo=function(t,o){switch(t){case"P":return o.date({width:"short"});case"PP":return o.date({width:"medium"});case"PPP":return o.date({width:"long"});case"PPPP":default:return o.date({width:"full"})}},pn=function(t,o){switch(t){case"p":return o.time({width:"short"});case"pp":return o.time({width:"medium"});case"ppp":return o.time({width:"long"});case"pppp":default:return o.time({width:"full"})}},N2=function(t,o){var n=t.match(/(P+)(p+)?/)||[],s=n[1],r=n[2];if(!r)return Lo(t,o);var l;switch(s){case"P":l=o.dateTime({width:"short"});break;case"PP":l=o.dateTime({width:"medium"});break;case"PPP":l=o.dateTime({width:"long"});break;case"PPPP":default:l=o.dateTime({width:"full"});break}return l.replace("{{date}}",Lo(s,o)).replace("{{time}}",pn(r,o))},S2={p:pn,P:N2};const M2=S2;var A2=["D","DD"],T2=["YY","YYYY"];function O2(a){return A2.indexOf(a)!==-1}function I2(a){return T2.indexOf(a)!==-1}function Do(a,t,o){if(a==="YYYY")throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(t,"`) for formatting years to the input `").concat(o,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(a==="YY")throw new RangeError("Use `yy` instead of `YY` (in `".concat(t,"`) for formatting years to the input `").concat(o,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(a==="D")throw new RangeError("Use `d` instead of `D` (in `".concat(t,"`) for formatting days of the month to the input `").concat(o,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(a==="DD")throw new RangeError("Use `dd` instead of `DD` (in `".concat(t,"`) for formatting days of the month to the input `").concat(o,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"))}var L2={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},D2=function(t,o,n){var s,r=L2[t];return typeof r=="string"?s=r:o===1?s=r.one:s=r.other.replace("{{count}}",o.toString()),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?"in "+s:s+" ago":s};const P2=D2;function Ha(a){return function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},o=t.width?String(t.width):a.defaultWidth,n=a.formats[o]||a.formats[a.defaultWidth];return n}}var H2={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},R2={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},j2={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},F2={date:Ha({formats:H2,defaultWidth:"full"}),time:Ha({formats:R2,defaultWidth:"full"}),dateTime:Ha({formats:j2,defaultWidth:"full"})};const U2=F2;var z2={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},Z2=function(t,o,n,s){return z2[t]};const x2=Z2;function $t(a){return function(t,o){var n=o!=null&&o.context?String(o.context):"standalone",s;if(n==="formatting"&&a.formattingValues){var r=a.defaultFormattingWidth||a.defaultWidth,l=o!=null&&o.width?String(o.width):r;s=a.formattingValues[l]||a.formattingValues[r]}else{var i=a.defaultWidth,c=o!=null&&o.width?String(o.width):a.defaultWidth;s=a.values[c]||a.values[i]}var p=a.argumentCallback?a.argumentCallback(t):t;return s[p]}}var W2={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},q2={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},Y2={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},K2={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},G2={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},X2={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},Q2=function(t,o){var n=Number(t),s=n%100;if(s>20||s<10)switch(s%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},J2={ordinalNumber:Q2,era:$t({values:W2,defaultWidth:"wide"}),quarter:$t({values:q2,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:$t({values:Y2,defaultWidth:"wide"}),day:$t({values:K2,defaultWidth:"wide"}),dayPeriod:$t({values:G2,defaultWidth:"wide",formattingValues:X2,defaultFormattingWidth:"wide"})};const e0=J2;function Et(a){return function(t){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=o.width,s=n&&a.matchPatterns[n]||a.matchPatterns[a.defaultMatchWidth],r=t.match(s);if(!r)return null;var l=r[0],i=n&&a.parsePatterns[n]||a.parsePatterns[a.defaultParseWidth],c=Array.isArray(i)?a0(i,function(u){return u.test(l)}):t0(i,function(u){return u.test(l)}),p;p=a.valueCallback?a.valueCallback(c):c,p=o.valueCallback?o.valueCallback(p):p;var d=t.slice(l.length);return{value:p,rest:d}}}function t0(a,t){for(var o in a)if(a.hasOwnProperty(o)&&t(a[o]))return o}function a0(a,t){for(var o=0;o<a.length;o++)if(t(a[o]))return o}function o0(a){return function(t){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=t.match(a.matchPattern);if(!n)return null;var s=n[0],r=t.match(a.parsePattern);if(!r)return null;var l=a.valueCallback?a.valueCallback(r[0]):r[0];l=o.valueCallback?o.valueCallback(l):l;var i=t.slice(s.length);return{value:l,rest:i}}}var n0=/^(\d+)(th|st|nd|rd)?/i,s0=/\d+/i,l0={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},r0={any:[/^b/i,/^(a|c)/i]},i0={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},c0={any:[/1/i,/2/i,/3/i,/4/i]},d0={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},u0={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},p0={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},m0={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},v0={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},f0={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},h0={ordinalNumber:o0({matchPattern:n0,parsePattern:s0,valueCallback:function(t){return parseInt(t,10)}}),era:Et({matchPatterns:l0,defaultMatchWidth:"wide",parsePatterns:r0,defaultParseWidth:"any"}),quarter:Et({matchPatterns:i0,defaultMatchWidth:"wide",parsePatterns:c0,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:Et({matchPatterns:d0,defaultMatchWidth:"wide",parsePatterns:u0,defaultParseWidth:"any"}),day:Et({matchPatterns:p0,defaultMatchWidth:"wide",parsePatterns:m0,defaultParseWidth:"any"}),dayPeriod:Et({matchPatterns:v0,defaultMatchWidth:"any",parsePatterns:f0,defaultParseWidth:"any"})};const C0=h0;var g0={code:"en-US",formatDistance:P2,formatLong:U2,formatRelative:x2,localize:e0,match:C0,options:{weekStartsOn:0,firstWeekContainsDate:1}};const mn=g0;var _0=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,y0=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,b0=/^'([^]*?)'?$/,k0=/''/g,w0=/[a-zA-Z]/;function vn(a,t,o){var n,s,r,l,i,c,p,d,u,m,v,_,C,h,b,y,f,B;ae(2,arguments);var M=String(t),E=jt(),I=(n=(s=o==null?void 0:o.locale)!==null&&s!==void 0?s:E.locale)!==null&&n!==void 0?n:mn,P=Ae((r=(l=(i=(c=o==null?void 0:o.firstWeekContainsDate)!==null&&c!==void 0?c:o==null||(p=o.locale)===null||p===void 0||(d=p.options)===null||d===void 0?void 0:d.firstWeekContainsDate)!==null&&i!==void 0?i:E.firstWeekContainsDate)!==null&&l!==void 0?l:(u=E.locale)===null||u===void 0||(m=u.options)===null||m===void 0?void 0:m.firstWeekContainsDate)!==null&&r!==void 0?r:1);if(!(P>=1&&P<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var R=Ae((v=(_=(C=(h=o==null?void 0:o.weekStartsOn)!==null&&h!==void 0?h:o==null||(b=o.locale)===null||b===void 0||(y=b.options)===null||y===void 0?void 0:y.weekStartsOn)!==null&&C!==void 0?C:E.weekStartsOn)!==null&&_!==void 0?_:(f=E.locale)===null||f===void 0||(B=f.options)===null||B===void 0?void 0:B.weekStartsOn)!==null&&v!==void 0?v:0);if(!(R>=0&&R<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!I.localize)throw new RangeError("locale must contain localize property");if(!I.formatLong)throw new RangeError("locale must contain formatLong property");var F=le(a);if(!cn(F))throw new RangeError("Invalid time value");var z=It(F),T=za(F,z),j={firstWeekContainsDate:P,weekStartsOn:R,locale:I,_originalDate:F},Y=M.match(y0).map(function(Z){var U=Z[0];if(U==="p"||U==="P"){var V=M2[U];return V(Z,I.formatLong)}return Z}).join("").match(_0).map(function(Z){if(Z==="''")return"'";var U=Z[0];if(U==="'")return $0(Z);var V=V2[U];if(V)return!(o!=null&&o.useAdditionalWeekYearTokens)&&I2(Z)&&Do(Z,t,String(a)),!(o!=null&&o.useAdditionalDayOfYearTokens)&&O2(Z)&&Do(Z,t,String(a)),V(T,Z,I.localize,j);if(U.match(w0))throw new RangeError("Format string contains an unescaped latin alphabet character `"+U+"`");return Z}).join("");return Y}function $0(a){var t=a.match(b0);return t?t[1].replace(k0,"'"):a}function E0(a,t,o){var n,s,r,l,i,c,p,d,u,m;ae(2,arguments);var v=le(a),_=le(t),C=jt(),h=(n=(s=o==null?void 0:o.locale)!==null&&s!==void 0?s:C.locale)!==null&&n!==void 0?n:mn,b=Ae((r=(l=(i=(c=o==null?void 0:o.weekStartsOn)!==null&&c!==void 0?c:o==null||(p=o.locale)===null||p===void 0||(d=p.options)===null||d===void 0?void 0:d.weekStartsOn)!==null&&i!==void 0?i:C.weekStartsOn)!==null&&l!==void 0?l:(u=C.locale)===null||u===void 0||(m=u.options)===null||m===void 0?void 0:m.weekStartsOn)!==null&&r!==void 0?r:0);if(!h.localize)throw new RangeError("locale must contain localize property");if(!h.formatLong)throw new RangeError("locale must contain formatLong property");if(!h.formatRelative)throw new RangeError("locale must contain formatRelative property");var y=v2(v,_);if(isNaN(y))throw new RangeError("Invalid time value");var f;y<-6?f="other":y<-1?f="lastWeek":y<0?f="yesterday":y<1?f="today":y<2?f="tomorrow":y<7?f="nextWeek":f="other";var B=za(v,It(v)),M=za(_,It(_)),E=h.formatRelative(f,B,M,{locale:h,weekStartsOn:b});return vn(v,E,{locale:h,weekStartsOn:b})}function Lt(a,t){var o;ae(1,arguments);var n=Ae((o=t==null?void 0:t.additionalDigits)!==null&&o!==void 0?o:2);if(n!==2&&n!==1&&n!==0)throw new RangeError("additionalDigits must be 0, 1 or 2");if(!(typeof a=="string"||Object.prototype.toString.call(a)==="[object String]"))return new Date(NaN);var s=S0(a),r;if(s.date){var l=M0(s.date,n);r=A0(l.restDateString,l.year)}if(!r||isNaN(r.getTime()))return new Date(NaN);var i=r.getTime(),c=0,p;if(s.time&&(c=T0(s.time),isNaN(c)))return new Date(NaN);if(s.timezone){if(p=O0(s.timezone),isNaN(p))return new Date(NaN)}else{var d=new Date(i+c),u=new Date(0);return u.setFullYear(d.getUTCFullYear(),d.getUTCMonth(),d.getUTCDate()),u.setHours(d.getUTCHours(),d.getUTCMinutes(),d.getUTCSeconds(),d.getUTCMilliseconds()),u}return new Date(i+c+p)}var Jt={dateTimeDelimiter:/[T ]/,timeZoneDelimiter:/[Z ]/i,timezone:/([Z+-].*)$/},B0=/^-?(?:(\d{3})|(\d{2})(?:-?(\d{2}))?|W(\d{2})(?:-?(\d{1}))?|)$/,V0=/^(\d{2}(?:[.,]\d*)?)(?::?(\d{2}(?:[.,]\d*)?))?(?::?(\d{2}(?:[.,]\d*)?))?$/,N0=/^([+-])(\d{2})(?::?(\d{2}))?$/;function S0(a){var t={},o=a.split(Jt.dateTimeDelimiter),n;if(o.length>2)return t;if(/:/.test(o[0])?n=o[0]:(t.date=o[0],n=o[1],Jt.timeZoneDelimiter.test(t.date)&&(t.date=a.split(Jt.timeZoneDelimiter)[0],n=a.substr(t.date.length,a.length))),n){var s=Jt.timezone.exec(n);s?(t.time=n.replace(s[1],""),t.timezone=s[1]):t.time=n}return t}function M0(a,t){var o=new RegExp("^(?:(\\d{4}|[+-]\\d{"+(4+t)+"})|(\\d{2}|[+-]\\d{"+(2+t)+"})$)"),n=a.match(o);if(!n)return{year:NaN,restDateString:""};var s=n[1]?parseInt(n[1]):null,r=n[2]?parseInt(n[2]):null;return{year:r===null?s:r*100,restDateString:a.slice((n[1]||n[2]).length)}}function A0(a,t){if(t===null)return new Date(NaN);var o=a.match(B0);if(!o)return new Date(NaN);var n=!!o[4],s=Bt(o[1]),r=Bt(o[2])-1,l=Bt(o[3]),i=Bt(o[4]),c=Bt(o[5])-1;if(n)return H0(t,i,c)?I0(t,i,c):new Date(NaN);var p=new Date(0);return!D0(t,r,l)||!P0(t,s)?new Date(NaN):(p.setUTCFullYear(t,r,Math.max(s,l)),p)}function Bt(a){return a?parseInt(a):1}function T0(a){var t=a.match(V0);if(!t)return NaN;var o=Ra(t[1]),n=Ra(t[2]),s=Ra(t[3]);return R0(o,n,s)?o*rn+n*ln+s*1e3:NaN}function Ra(a){return a&&parseFloat(a.replace(",","."))||0}function O0(a){if(a==="Z")return 0;var t=a.match(N0);if(!t)return 0;var o=t[1]==="+"?-1:1,n=parseInt(t[2]),s=t[3]&&parseInt(t[3])||0;return j0(n,s)?o*(n*rn+s*ln):NaN}function I0(a,t,o){var n=new Date(0);n.setUTCFullYear(a,0,4);var s=n.getUTCDay()||7,r=(t-1)*7+o+1-s;return n.setUTCDate(n.getUTCDate()+r),n}var L0=[31,null,31,30,31,30,31,31,30,31,30,31];function fn(a){return a%400===0||a%4===0&&a%100!==0}function D0(a,t,o){return t>=0&&t<=11&&o>=1&&o<=(L0[t]||(fn(a)?29:28))}function P0(a,t){return t>=1&&t<=(fn(a)?366:365)}function H0(a,t,o){return t>=1&&t<=53&&o>=0&&o<=6}function R0(a,t,o){return a===24?t===0&&o===0:o>=0&&o<60&&t>=0&&t<60&&a>=0&&a<25}function j0(a,t){return t>=0&&t<=59}var fe=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},se={},hn={},Vt={},Ft={},_t={},fa={};Object.defineProperty(fa,"__esModule",{value:!0});fa.lexoHelper=void 0;fa.lexoHelper={arrayCopy:F0};function F0(a,t,o,n,s){let r=n;const l=t+s;for(let i=t;i<l;i++)o[r]=a[i],++r}var Ut={};Object.defineProperty(Ut,"__esModule",{value:!0});class U0{constructor(t=""){this.str=t}get length(){return this.str.length}set length(t){this.str=this.str.substring(0,t)}append(t){return this.str=this.str+t,this}remove(t,o){return this.str=this.str.substr(0,t)+this.str.substr(t+o),this}insert(t,o){return this.str=this.str.substr(0,t)+o+this.str.substr(t),this}toString(){return this.str}}Ut.default=U0;Object.defineProperty(_t,"__esModule",{value:!0});_t.LexoInteger=void 0;const ea=fa,z0=Ut;class W{constructor(t,o,n){this.sys=t,this.sign=o,this.mag=n}static parse(t,o){let n=t,s=1;t.indexOf(o.getPositiveChar())===0?n=t.substring(1):t.indexOf(o.getNegativeChar())===0&&(n=t.substring(1),s=-1);const r=new Array(n.length);let l=r.length-1;for(let i=0;l>=0;++i)r[i]=o.toDigit(n.charAt(l)),--l;return W.make(o,s,r)}static zero(t){return new W(t,0,W.ZERO_MAG)}static one(t){return W.make(t,1,W.ONE_MAG)}static make(t,o,n){let s;for(s=n.length;s>0&&n[s-1]===0;--s);if(s===0)return W.zero(t);if(s===n.length)return new W(t,o,n);const r=new Array(s).fill(0);return ea.lexoHelper.arrayCopy(n,0,r,0,s),new W(t,o,r)}static add(t,o,n){const s=Math.max(o.length,n.length),r=new Array(s).fill(0);let l=0;for(let i=0;i<s;++i){const c=i<o.length?o[i]:0,p=i<n.length?n[i]:0;let d=c+p+l;for(l=0;d>=t.getBase();d-=t.getBase())++l;r[i]=d}return W.extendWithCarry(r,l)}static extendWithCarry(t,o){if(o>0){const n=new Array(t.length+1).fill(0);return ea.lexoHelper.arrayCopy(t,0,n,0,t.length),n[n.length-1]=o,n}return t}static subtract(t,o,n){const s=W.complement(t,n,o.length),r=W.add(t,o,s);return r[r.length-1]=0,W.add(t,r,W.ONE_MAG)}static multiply(t,o,n){const s=new Array(o.length+n.length).fill(0);for(let r=0;r<o.length;++r)for(let l=0;l<n.length;++l){const i=r+l;for(s[i]+=o[r]*n[l];s[i]>=t.getBase();s[i]-=t.getBase())++s[i+1]}return s}static complement(t,o,n){if(n<=0)throw new Error("Expected at least 1 digit");const s=new Array(n).fill(t.getBase()-1);for(let r=0;r<o.length;++r)s[r]=t.getBase()-1-o[r];return s}static compare(t,o){if(t.length<o.length)return-1;if(t.length>o.length)return 1;for(let n=t.length-1;n>=0;--n){if(t[n]<o[n])return-1;if(t[n]>o[n])return 1}return 0}add(t){if(this.checkSystem(t),this.isZero())return t;if(t.isZero())return this;if(this.sign!==t.sign){let n;return this.sign===-1?(n=this.negate(),n.subtract(t).negate()):(n=t.negate(),this.subtract(n))}const o=W.add(this.sys,this.mag,t.mag);return W.make(this.sys,this.sign,o)}subtract(t){if(this.checkSystem(t),this.isZero())return t.negate();if(t.isZero())return this;if(this.sign!==t.sign){let n;return this.sign===-1?(n=this.negate(),n.add(t).negate()):(n=t.negate(),this.add(n))}const o=W.compare(this.mag,t.mag);return o===0?W.zero(this.sys):o<0?W.make(this.sys,this.sign===-1?1:-1,W.subtract(this.sys,t.mag,this.mag)):W.make(this.sys,this.sign===-1?-1:1,W.subtract(this.sys,this.mag,t.mag))}multiply(t){if(this.checkSystem(t),this.isZero())return this;if(t.isZero())return t;if(this.isOneish())return this.sign===t.sign?W.make(this.sys,1,t.mag):W.make(this.sys,-1,t.mag);if(t.isOneish())return this.sign===t.sign?W.make(this.sys,1,this.mag):W.make(this.sys,-1,this.mag);const o=W.multiply(this.sys,this.mag,t.mag);return this.sign===t.sign?W.make(this.sys,1,o):W.make(this.sys,-1,o)}negate(){return this.isZero()?this:W.make(this.sys,this.sign===1?-1:1,this.mag)}shiftLeft(t=1){if(t===0)return this;if(t<0)return this.shiftRight(Math.abs(t));const o=new Array(this.mag.length+t).fill(0);return ea.lexoHelper.arrayCopy(this.mag,0,o,t,this.mag.length),W.make(this.sys,this.sign,o)}shiftRight(t=1){if(this.mag.length-t<=0)return W.zero(this.sys);const o=new Array(this.mag.length-t).fill(0);return ea.lexoHelper.arrayCopy(this.mag,t,o,0,o.length),W.make(this.sys,this.sign,o)}complement(){return this.complementDigits(this.mag.length)}complementDigits(t){return W.make(this.sys,this.sign,W.complement(this.sys,this.mag,t))}isZero(){return this.sign===0&&this.mag.length===1&&this.mag[0]===0}isOne(){return this.sign===1&&this.mag.length===1&&this.mag[0]===1}getMag(t){return this.mag[t]}compareTo(t){if(this===t)return 0;if(!t)return 1;if(this.sign===-1){if(t.sign===-1){const o=W.compare(this.mag,t.mag);return o===-1?1:o===1?-1:0}return-1}return this.sign===1?t.sign===1?W.compare(this.mag,t.mag):1:t.sign===-1?1:t.sign===1?-1:0}getSystem(){return this.sys}format(){if(this.isZero())return""+this.sys.toChar(0);const t=new z0.default,o=this.mag,n=o.length;for(let s=0;s<n;++s){const r=o[s];t.insert(0,this.sys.toChar(r))}return this.sign===-1&&t.insert(0,this.sys.getNegativeChar()),t.toString()}equals(t){return this===t?!0:t?this.sys.getBase()===t.sys.getBase()&&this.compareTo(t)===0:!1}toString(){return this.format()}isOneish(){return this.mag.length===1&&this.mag[0]===1}checkSystem(t){if(this.sys.getBase()!==t.sys.getBase())throw new Error("Expected numbers of same numeral sys")}}_t.LexoInteger=W;W.ZERO_MAG=[0];W.ONE_MAG=[1];W.NEGATIVE_SIGN=-1;W.ZERO_SIGN=0;W.POSITIVE_SIGN=1;Object.defineProperty(Ft,"__esModule",{value:!0});Ft.LexoDecimal=void 0;const Nt=_t,Z0=Ut;class me{constructor(t,o){this.mag=t,this.sig=o}static half(t){const o=t.getBase()/2|0;return me.make(Nt.LexoInteger.make(t,1,[o]),1)}static parse(t,o){const n=t.indexOf(o.getRadixPointChar());if(t.lastIndexOf(o.getRadixPointChar())!==n)throw new Error("More than one "+o.getRadixPointChar());if(n<0)return me.make(Nt.LexoInteger.parse(t,o),0);const s=t.substring(0,n)+t.substring(n+1);return me.make(Nt.LexoInteger.parse(s,o),t.length-1-n)}static from(t){return me.make(t,0)}static make(t,o){if(t.isZero())return new me(t,0);let n=0;for(let l=0;l<o&&t.getMag(l)===0;++l)++n;const s=t.shiftRight(n),r=o-n;return new me(s,r)}getSystem(){return this.mag.getSystem()}add(t){let o=this.mag,n=this.sig,s=t.mag,r;for(r=t.sig;n<r;++n)o=o.shiftLeft();for(;n>r;)s=s.shiftLeft(),++r;return me.make(o.add(s),n)}subtract(t){let o=this.mag,n=this.sig,s=t.mag,r;for(r=t.sig;n<r;++n)o=o.shiftLeft();for(;n>r;)s=s.shiftLeft(),++r;return me.make(o.subtract(s),n)}multiply(t){return me.make(this.mag.multiply(t.mag),this.sig+t.sig)}floor(){return this.mag.shiftRight(this.sig)}ceil(){if(this.isExact())return this.mag;const t=this.floor();return t.add(Nt.LexoInteger.one(t.getSystem()))}isExact(){if(this.sig===0)return!0;for(let t=0;t<this.sig;++t)if(this.mag.getMag(t)!==0)return!1;return!0}getScale(){return this.sig}setScale(t,o=!1){if(t>=this.sig)return this;t<0&&(t=0);const n=this.sig-t;let s=this.mag.shiftRight(n);return o&&(s=s.add(Nt.LexoInteger.one(s.getSystem()))),me.make(s,t)}compareTo(t){if(this===t)return 0;if(!t)return 1;let o=this.mag,n=t.mag;return this.sig>t.sig?n=n.shiftLeft(this.sig-t.sig):this.sig<t.sig&&(o=o.shiftLeft(t.sig-this.sig)),o.compareTo(n)}format(){const t=this.mag.format();if(this.sig===0)return t;const o=new Z0.default(t),n=o[0],s=n===this.mag.getSystem().getPositiveChar()||n===this.mag.getSystem().getNegativeChar();for(s&&o.remove(0,1);o.length<this.sig+1;)o.insert(0,this.mag.getSystem().toChar(0));return o.insert(o.length-this.sig,this.mag.getSystem().getRadixPointChar()),o.length-this.sig===0&&o.insert(0,this.mag.getSystem().toChar(0)),s&&o.insert(0,n),o.toString()}equals(t){return this===t?!0:t?this.mag.equals(t.mag)&&this.sig===t.sig:!1}toString(){return this.format()}}Ft.LexoDecimal=me;var ta={},Po;function Cn(){if(Po)return ta;Po=1,Object.defineProperty(ta,"__esModule",{value:!0});const a=_t,t=_n();class o{constructor(s){this.value=a.LexoInteger.parse(s,t.LexoRank.NUMERAL_SYSTEM)}static get BUCKET_0(){return this._BUCKET_0||(this._BUCKET_0=new o("0")),this._BUCKET_0}static get BUCKET_1(){return this._BUCKET_1||(this._BUCKET_1=new o("1")),this._BUCKET_1}static get BUCKET_2(){return this._BUCKET_2||(this._BUCKET_2=new o("2")),this._BUCKET_2}static get VALUES(){return this._VALUES||(this._VALUES=[o.BUCKET_0,o.BUCKET_1,o.BUCKET_2]),this._VALUES}static max(){return o.VALUES[o.VALUES.length-1]}static from(s){const r=a.LexoInteger.parse(s,t.LexoRank.NUMERAL_SYSTEM),l=o.VALUES,i=l.length;for(let c=0;c<i;++c){const p=l[c];if(p.value.equals(r))return p}throw new Error("Unknown bucket: "+s)}static resolve(s){const r=o.VALUES,l=r.length;for(let i=0;i<l;++i){const c=r[i];if(c.equals(o.from(s.toString())))return c}throw new Error("No bucket found with id "+s)}format(){return this.value.format()}next(){return this.equals(o.BUCKET_0)?o.BUCKET_1:this.equals(o.BUCKET_1)?o.BUCKET_2:this.equals(o.BUCKET_2)?o.BUCKET_0:o.BUCKET_2}prev(){return this.equals(o.BUCKET_0)?o.BUCKET_2:this.equals(o.BUCKET_1)?o.BUCKET_0:this.equals(o.BUCKET_2)?o.BUCKET_1:o.BUCKET_0}equals(s){return this===s?!0:s?this.value.equals(s.value):!1}}return ta.default=o,ta}var Xa={},gn={};Object.defineProperty(gn,"__esModule",{value:!0});var ha={};Object.defineProperty(ha,"__esModule",{value:!0});ha.LexoNumeralSystem10=void 0;class x0{getBase(){return 10}getPositiveChar(){return"+"}getNegativeChar(){return"-"}getRadixPointChar(){return"."}toDigit(t){if(t>="0"&&t<="9")return t.charCodeAt(0)-48;throw new Error("Not valid digit: "+t)}toChar(t){return String.fromCharCode(t+48)}}ha.LexoNumeralSystem10=x0;var Ca={};Object.defineProperty(Ca,"__esModule",{value:!0});Ca.LexoNumeralSystem36=void 0;class W0{constructor(){this.DIGITS="0123456789abcdefghijklmnopqrstuvwxyz".split("")}getBase(){return 36}getPositiveChar(){return"+"}getNegativeChar(){return"-"}getRadixPointChar(){return":"}toDigit(t){if(t>="0"&&t<="9")return t.charCodeAt(0)-48;if(t>="a"&&t<="z")return t.charCodeAt(0)-97+10;throw new Error("Not valid digit: "+t)}toChar(t){return this.DIGITS[t]}}Ca.LexoNumeralSystem36=W0;var ga={};Object.defineProperty(ga,"__esModule",{value:!0});ga.LexoNumeralSystem64=void 0;class q0{constructor(){this.DIGITS="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ^_abcdefghijklmnopqrstuvwxyz".split("")}getBase(){return 64}getPositiveChar(){return"+"}getNegativeChar(){return"-"}getRadixPointChar(){return":"}toDigit(t){if(t>="0"&&t<="9")return t.charCodeAt(0)-48;if(t>="A"&&t<="Z")return t.charCodeAt(0)-65+10;if(t==="^")return 36;if(t==="_")return 37;if(t>="a"&&t<="z")return t.charCodeAt(0)-97+38;throw new Error("Not valid digit: "+t)}toChar(t){return this.DIGITS[t]}}ga.LexoNumeralSystem64=q0;(function(a){var t=fe&&fe.__createBinding||(Object.create?function(n,s,r,l){l===void 0&&(l=r);var i=Object.getOwnPropertyDescriptor(s,r);(!i||("get"in i?!s.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return s[r]}}),Object.defineProperty(n,l,i)}:function(n,s,r,l){l===void 0&&(l=r),n[l]=s[r]}),o=fe&&fe.__exportStar||function(n,s){for(var r in n)r!=="default"&&!Object.prototype.hasOwnProperty.call(s,r)&&t(s,n,r)};Object.defineProperty(a,"__esModule",{value:!0}),o(gn,a),o(ha,a),o(Ca,a),o(ga,a)})(Xa);var Ho;function _n(){if(Ho)return Vt;Ho=1,Object.defineProperty(Vt,"__esModule",{value:!0}),Vt.LexoRank=void 0;const a=Ft,t=Cn(),o=Ut,n=Xa;class s{constructor(l,i){this.value=l.format()+"|"+s.formatDecimal(i),this.bucket=l,this.decimal=i}static get NUMERAL_SYSTEM(){return this._NUMERAL_SYSTEM||(this._NUMERAL_SYSTEM=new n.LexoNumeralSystem36),this._NUMERAL_SYSTEM}static get ZERO_DECIMAL(){return this._ZERO_DECIMAL||(this._ZERO_DECIMAL=a.LexoDecimal.parse("0",s.NUMERAL_SYSTEM)),this._ZERO_DECIMAL}static get ONE_DECIMAL(){return this._ONE_DECIMAL||(this._ONE_DECIMAL=a.LexoDecimal.parse("1",s.NUMERAL_SYSTEM)),this._ONE_DECIMAL}static get EIGHT_DECIMAL(){return this._EIGHT_DECIMAL||(this._EIGHT_DECIMAL=a.LexoDecimal.parse("8",s.NUMERAL_SYSTEM)),this._EIGHT_DECIMAL}static get MIN_DECIMAL(){return this._MIN_DECIMAL||(this._MIN_DECIMAL=s.ZERO_DECIMAL),this._MIN_DECIMAL}static get MAX_DECIMAL(){return this._MAX_DECIMAL||(this._MAX_DECIMAL=a.LexoDecimal.parse("1000000",s.NUMERAL_SYSTEM).subtract(s.ONE_DECIMAL)),this._MAX_DECIMAL}static get MID_DECIMAL(){return this._MID_DECIMAL||(this._MID_DECIMAL=s.between(s.MIN_DECIMAL,s.MAX_DECIMAL)),this._MID_DECIMAL}static get INITIAL_MIN_DECIMAL(){return this._INITIAL_MIN_DECIMAL||(this._INITIAL_MIN_DECIMAL=a.LexoDecimal.parse("100000",s.NUMERAL_SYSTEM)),this._INITIAL_MIN_DECIMAL}static get INITIAL_MAX_DECIMAL(){return this._INITIAL_MAX_DECIMAL||(this._INITIAL_MAX_DECIMAL=a.LexoDecimal.parse(s.NUMERAL_SYSTEM.toChar(s.NUMERAL_SYSTEM.getBase()-2)+"00000",s.NUMERAL_SYSTEM)),this._INITIAL_MAX_DECIMAL}static min(){return s.from(t.default.BUCKET_0,s.MIN_DECIMAL)}static middle(){const l=s.min();return l.between(s.max(l.bucket))}static max(l=t.default.BUCKET_0){return s.from(l,s.MAX_DECIMAL)}static initial(l){return l===t.default.BUCKET_0?s.from(l,s.INITIAL_MIN_DECIMAL):s.from(l,s.INITIAL_MAX_DECIMAL)}static between(l,i){if(l.getSystem().getBase()!==i.getSystem().getBase())throw new Error("Expected same system");let c=l,p=i,d;if(l.getScale()<i.getScale()){if(d=i.setScale(l.getScale(),!1),l.compareTo(d)>=0)return s.mid(l,i);p=d}if(l.getScale()>p.getScale()){if(d=l.setScale(p.getScale(),!0),d.compareTo(p)>=0)return s.mid(l,i);c=d}let u;for(let _=c.getScale();_>0;p=u){const C=_-1,h=c.setScale(C,!0);if(u=p.setScale(C,!1),h.compareTo(u)===0)return s.checkMid(l,i,h);if(h.compareTo(u)>0)break;_=C,c=h}let m=s.middleInternal(l,i,c,p),v;for(let _=m.getScale();_>0;_=v){v=_-1;const C=m.setScale(v);if(l.compareTo(C)>=0||C.compareTo(i)>=0)break;m=C}return m}static parse(l){const i=l.split("|"),c=t.default.from(i[0]),p=a.LexoDecimal.parse(i[1],s.NUMERAL_SYSTEM);return new s(c,p)}static from(l,i){if(i.getSystem().getBase()!==s.NUMERAL_SYSTEM.getBase())throw new Error("Expected different system");return new s(l,i)}static middleInternal(l,i,c,p){const d=s.mid(c,p);return s.checkMid(l,i,d)}static checkMid(l,i,c){return l.compareTo(c)>=0||c.compareTo(i)>=0?s.mid(l,i):c}static mid(l,i){const p=l.add(i).multiply(a.LexoDecimal.half(l.getSystem())),d=l.getScale()>i.getScale()?l.getScale():i.getScale();if(p.getScale()>d){const u=p.setScale(d,!1);if(u.compareTo(l)>0)return u;const m=p.setScale(d,!0);if(m.compareTo(i)<0)return m}return p}static formatDecimal(l){const i=l.format(),c=new o.default(i);let p=i.indexOf(s.NUMERAL_SYSTEM.getRadixPointChar());const d=s.NUMERAL_SYSTEM.toChar(0);for(p<0&&(p=i.length,c.append(s.NUMERAL_SYSTEM.getRadixPointChar()));p<6;)c.insert(0,d),++p;for(;c[c.length-1]===d;)c.length=c.length-1;return c.toString()}genPrev(){if(this.isMax())return new s(this.bucket,s.INITIAL_MAX_DECIMAL);const l=this.decimal.floor();let c=a.LexoDecimal.from(l).subtract(s.EIGHT_DECIMAL);return c.compareTo(s.MIN_DECIMAL)<=0&&(c=s.between(s.MIN_DECIMAL,this.decimal)),new s(this.bucket,c)}genNext(){if(this.isMin())return new s(this.bucket,s.INITIAL_MIN_DECIMAL);const l=this.decimal.ceil();let c=a.LexoDecimal.from(l).add(s.EIGHT_DECIMAL);return c.compareTo(s.MAX_DECIMAL)>=0&&(c=s.between(this.decimal,s.MAX_DECIMAL)),new s(this.bucket,c)}between(l){if(!this.bucket.equals(l.bucket))throw new Error("Between works only within the same bucket");const i=this.decimal.compareTo(l.decimal);if(i>0)return new s(this.bucket,s.between(l.decimal,this.decimal));if(i===0)throw new Error("Try to rank between issues with same rank this="+this+" other="+l+" this.decimal="+this.decimal+" other.decimal="+l.decimal);return new s(this.bucket,s.between(this.decimal,l.decimal))}getBucket(){return this.bucket}getDecimal(){return this.decimal}inNextBucket(){return s.from(this.bucket.next(),this.decimal)}inPrevBucket(){return s.from(this.bucket.prev(),this.decimal)}isMin(){return this.decimal.equals(s.MIN_DECIMAL)}isMax(){return this.decimal.equals(s.MAX_DECIMAL)}format(){return this.value}equals(l){return this===l?!0:l?this.value===l.value:!1}toString(){return this.value}compareTo(l){return this===l?0:l?this.value.localeCompare(l.value):1}}return Vt.LexoRank=s,Vt}(function(a){var t=fe&&fe.__createBinding||(Object.create?function(n,s,r,l){l===void 0&&(l=r);var i=Object.getOwnPropertyDescriptor(s,r);(!i||("get"in i?!s.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return s[r]}}),Object.defineProperty(n,l,i)}:function(n,s,r,l){l===void 0&&(l=r),n[l]=s[r]}),o=fe&&fe.__exportStar||function(n,s){for(var r in n)r!=="default"&&!Object.prototype.hasOwnProperty.call(s,r)&&t(s,n,r)};Object.defineProperty(a,"__esModule",{value:!0}),o(_n(),a),o(Cn(),a),o(Ft,a),o(_t,a)})(hn);(function(a){var t=fe&&fe.__createBinding||(Object.create?function(n,s,r,l){l===void 0&&(l=r);var i=Object.getOwnPropertyDescriptor(s,r);(!i||("get"in i?!s.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return s[r]}}),Object.defineProperty(n,l,i)}:function(n,s,r,l){l===void 0&&(l=r),n[l]=s[r]}),o=fe&&fe.__exportStar||function(n,s){for(var r in n)r!=="default"&&!Object.prototype.hasOwnProperty.call(s,r)&&t(s,n,r)};Object.defineProperty(a,"__esModule",{value:!0}),o(hn,a),o(Xa,a)})(se);function yn(a){return(a==null?void 0:a.reduce((t,o)=>{var n;return t+(((n=o.activities)==null?void 0:n.length)??0)},0))??0}function Y0(a){return(a==null?void 0:a.reduce((t,o)=>{var n;return t+(((n=o.milestones)==null?void 0:n.length)??0)},0))??0}function K0(a){return(a==null?void 0:a.reduce((t,o)=>{var s;const n=(s=o.milestones)!=null&&s.length?yn(o.milestones):0;return t+n},0))??0}function G0(a){return a.split(" ").slice(0,2).map(t=>t.charAt(0).toLocaleLowerCase()).join("")}function zt(a,t){if(a.moved)return pt(t,a.moved.newIndex)}function pt(a,t){if(t===0)if(a.length>1){const o=a[t+1];return se.LexoRank.parse(o.rank).genPrev().format()}else return se.LexoRank.middle().format();else if(t===a.length-1){const o=a[t-1];return se.LexoRank.parse(o.rank).genNext().format()}else{const o=a[t-1],n=a[t+1];return se.LexoRank.parse(n.rank).between(se.LexoRank.parse(o.rank)).format()}}function _a(a,t="dd/MM/yyyy"){if(!a)return"";const o=Lt(a);return cn(o)?vn(o,t):""}function Qa(a,t){return a.status.id===t.id}function X0(a,t){return a.activities.length===0?!1:!a.activities.some(o=>!Qa(o,t))}function Q0(a,t){return{...a,status:X0(a,t)?Ot.done:Ot.todo}}const bn=a=>{const{firstName:t,lastName:o}=a||{};return`${t??""}${t?" ":""}${o??""}`};function J0(a,t){const o=a.replace("#",""),n=parseInt(o.slice(0,2),16),s=parseInt(o.slice(2,4),16),r=parseInt(o.slice(4,6),16);return`rgba(${n}, ${s}, ${r}, ${t})`}function e3(a,t=.15){var o;if(a.startsWith("#"))return J0(a,t);if(a.startsWith("rgba")){const n=(o=a.match(/rgba?\(([^)]+)\)/))==null?void 0:o[1].split(",").map(s=>s.trim());if(n&&n.length>=3){const[s,r,l]=n;return`rgba(${s}, ${r}, ${l}, ${t})`}}return a}const t3=["title"],a3={key:0,className:"ao-avatar__initials"},o3=["src"],ke=e.defineComponent({__name:"AoAvatar",props:{userName:{},avatarUrl:{},isClosable:{type:Boolean},size:{default:va.MD},color:{default:"primary"}},emits:["close"],setup(a,{emit:t}){const o=a,n=e.computed(()=>[`ao-avatar--${o.color}`,...o.avatarUrl?["ao-avatar-img",`ao-avatar-img--${o.size}`]:["ao-avatar",`ao-avatar--${o.size}`]]),s=G0(o.userName),r=l=>{t("close",l)};return(l,i)=>(e.openBlock(),e.createElementBlock("div",{role:"img",class:e.normalizeClass(n.value),title:l.userName},[l.avatarUrl?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("span",a3,e.toDisplayString(e.unref(s)),1)),l.avatarUrl?(e.openBlock(),e.createElementBlock("img",{key:1,className:"ao-avatar__image",src:l.avatarUrl},null,8,o3)):e.createCommentVNode("",!0),l.isClosable?(e.openBlock(),e.createBlock(K,{key:2,"icon-name":"CloseRounded",class:"ao-avatar__close",color:l.color,corners:"round",onClick:e.withModifiers(r,["stop"])},null,8,["color","onClick"])):e.createCommentVNode("",!0)],10,t3))}});const n3={class:"ao-card-template__subitems"},s3={class:"ao-card-template__subitem"},l3={class:"ao-card-template__subitem-number"},r3={class:"ao-card-template__subitem"},i3={class:"ao-card-template__subitem"},c3={class:"ao-card-template__body"},d3={class:"ao-card-template__col ao-card-template__col--phases"},u3={class:"ao-card-template__col-title"},p3={class:"ao-card-template__col-label"},m3={key:0,class:"ao-card-template__col-body ao-card-template__phases-list"},v3={class:"ao-card-template__footer"},f3={key:0,class:"ao-card-template__col ao-card-template__col--updated-at"},h3={class:"ao-card-template__col-title"},C3={class:"ao-card-template__col-label"},g3={class:"ao-card-template__col-body"},_3={key:1,class:"ao-card-template__col ao-card-template__col--updated-by"},y3={class:"ao-card-template__col-title"},b3={class:"ao-card-template__col-label"},k3={class:"ao-card-template__col-body"},w3={class:"ao-card-template-item__secondary"},ja=5,$3=e.defineComponent({__name:"AoCardTemplate",props:{id:{},title:{},activities:{},milestones:{},phases:{},updatedAt:{},updatedBy:{}},emits:["updateTitle","deleteItem"],setup(a,{emit:t}){const o=a,n=i=>{t("updateTitle",i)},s=(i,c)=>{t("deleteItem",i,c)},r=e.computed(()=>{var i;return((i=o.phases)==null?void 0:i.slice(0,ja))??[]}),l=e.computed(()=>o.phases&&o.phases.length>ja?o.phases.length-ja:0);return(i,c)=>(e.openBlock(),e.createBlock(tn,{id:i.id,title:i.title,"is-draggable":!0,"onUpdate:title":n},e.createSlots({subtitle:e.withCtx(()=>[e.createElementVNode("ul",n3,[e.createElementVNode("li",s3,[e.createVNode(Q,{name:"MountainFlagOutlineRounded",size:"sm"}),e.createElementVNode("span",l3,e.toDisplayString(i.milestones),1)]),e.createElementVNode("li",r3,[e.createVNode(Q,{name:"TaskOutlineRounded",size:"sm"}),e.createElementVNode("span",i3,e.toDisplayString(i.activities),1)])])]),default:e.withCtx(()=>[e.createElementVNode("div",c3,[e.createElementVNode("div",d3,[e.createElementVNode("div",u3,[e.createVNode(Q,{name:"WaterfallChartRounded",size:"sm"}),e.createElementVNode("span",p3,e.toDisplayString(i.$t("template.phases.title")),1)]),i.phases?(e.openBlock(),e.createElementBlock("ul",m3,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(r.value,p=>(e.openBlock(),e.createBlock(Tt,{key:p.id,label:p.name||p.id,color:"primary",variant:"solid"},null,8,["label"]))),128)),l.value>0?(e.openBlock(),e.createBlock(Tt,{key:0,label:`+${l.value} more`,color:"primary-lighter",variant:"solid"},null,8,["label"])):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)])])]),secondary:e.withCtx(()=>[e.createElementVNode("div",w3,[e.createVNode(K,{"icon-name":"DeleteOutlineRounded",variant:"ghost",size:"md",corners:"round",onClick:c[0]||(c[0]=e.withModifiers(p=>s(i.id,i.title),["stop"]))})])]),_:2},[i.updatedBy||i.updatedAt?{name:"footer",fn:e.withCtx(()=>[e.createElementVNode("div",v3,[i.updatedAt?(e.openBlock(),e.createElementBlock("div",f3,[e.createElementVNode("div",h3,[e.createElementVNode("span",C3,e.toDisplayString(i.$t("template.updatedAt.label")),1)]),e.createElementVNode("div",g3,[e.createElementVNode("span",null,e.toDisplayString(i.updatedAt),1)])])):e.createCommentVNode("",!0),i.updatedBy?(e.openBlock(),e.createElementBlock("div",_3,[e.createElementVNode("div",y3,[e.createElementVNode("span",b3,e.toDisplayString(i.$t("template.updatedBy.label")),1)]),e.createElementVNode("div",k3,[e.createVNode(ke,{"user-name":i.updatedBy},null,8,["user-name"])])])):e.createCommentVNode("",!0)])]),key:"0"}:void 0]),1032,["id","title"]))}});const E3={class:"ao-page-header"},B3={class:"ao-page-header-main"},V3={key:0,class:"ao-page-header-secondary"},Zt=e.defineComponent({__name:"AoPageHeader",props:{canGoBack:{type:Boolean}},emits:["goBack"],setup(a){return(t,o)=>(e.openBlock(),e.createElementBlock("header",E3,[e.createElementVNode("div",B3,[t.canGoBack?(e.openBlock(),e.createBlock(K,{key:0,"icon-name":"ArrowBackRounded",variant:"ghost",onClick:o[0]||(o[0]=n=>t.$emit("goBack"))})):e.createCommentVNode("",!0),e.renderSlot(t.$slots,"primary")]),t.$slots.secondary?(e.openBlock(),e.createElementBlock("div",V3,[e.renderSlot(t.$slots,"secondary")])):e.createCommentVNode("",!0)]))}});const N3=["type"],S3={key:0,class:"ao-button-card__label"},We=e.defineComponent({__name:"AoButtonCard",props:{label:{default:()=>""},iconName:{},iconPosition:{},type:{default:()=>"button"},color:{default:()=>Ga.BLACK},size:{default:()=>va.MD},isLoading:{type:Boolean,default:()=>!1},corners:{default:()=>Jo.ROUNDED}},setup(a){const t=a,o=e.computed(()=>t.size),n=e.computed(()=>t.isLoading?"Loading":t.iconName);return(s,r)=>(e.openBlock(),e.createElementBlock("button",{type:s.type,class:e.normalizeClass(["ao-button-card",`ao-button-card--${s.color}`,`ao-button-card--${s.corners}`,s.$attrs.disabled?"ao-button-card--is-disabled":""])},[e.renderSlot(s.$slots,"default",{},()=>[s.label?(e.openBlock(),e.createElementBlock("span",S3,e.toDisplayString(s.label),1)):e.createCommentVNode("",!0)]),n.value?(e.openBlock(),e.createBlock(Q,{key:0,name:n.value,class:"ao-button-card__icon",size:o.value},null,8,["name","size"])):e.createCommentVNode("",!0)],10,N3))}});const M3={class:"ao-card-template-item__footer"},A3={key:0,class:"ao-card-template-item__subitem"},T3={class:"ao-card-template-item__subitem-number"},O3={class:"ao-card-template-item__secondary"},Ja=e.defineComponent({__name:"AoCardTemplateItem",props:{milestones:{},activities:{},tasks:{},rules:{}},emits:["update:title","remove"],setup(a,{emit:t}){const o=l=>{t("update:title",l)},n=["milestones","activities","rules","tasks"],s={milestones:"MountainFlagOutlineRounded",activities:"TaskOutlineRounded",rules:"FlowsheetOutlineRounded",tasks:"ChecklistRounded"},r=()=>{t("remove")};return(l,i)=>(e.openBlock(),e.createBlock(tn,{"onUpdate:title":o},{footer:e.withCtx(()=>[e.createElementVNode("ul",M3,[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(n,c=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:c},[l.$props[c]?(e.openBlock(),e.createElementBlock("li",A3,[e.createVNode(Q,{name:s[c],size:"sm"},null,8,["name"]),e.createElementVNode("span",T3,e.toDisplayString(l.$props[c]),1)])):e.createCommentVNode("",!0)],64))),64))])]),secondary:e.withCtx(()=>[e.createElementVNode("div",O3,[e.createVNode(K,{"icon-name":"DeleteOutlineRounded",variant:"ghost",size:"md",corners:"round",onClick:e.withModifiers(r,["stop"])},null,8,["onClick"])])]),_:1}))}});const I3=e.defineComponent({__name:"AoCardTemplateItemPhase",props:{id:{},name:{},milestones:{}},setup(a){const t=a,o=e.computed(()=>{var s;return(s=t.milestones)==null?void 0:s.length}),n=e.computed(()=>t.milestones?yn(t.milestones):0);return(s,r)=>(e.openBlock(),e.createBlock(Ja,e.mergeProps({id:s.id,title:s.name,activities:n.value,milestones:o.value},s.$attrs),{default:e.withCtx(()=>[e.renderSlot(s.$slots,"default")]),_:3},16,["id","title","activities","milestones"]))}}),L3=e.defineComponent({__name:"AoCardTemplateItemMilestone",props:{activities:{}},setup(a){const t=a,o=e.computed(()=>{var n;return((n=t.activities)==null?void 0:n.length)||0});return(n,s)=>(e.openBlock(),e.createBlock(Ja,{activities:o.value},{default:e.withCtx(()=>[e.renderSlot(n.$slots,"default")]),_:3},8,["activities"]))}}),D3={class:"ao-list__footer"},P3=e.defineComponent({__name:"AoTemplateDetailsMilestones",props:{templateId:{},milestoneId:{},phase:{}},emits:["addMilestone","updateMilestone","updatePhase","removeMilestone"],setup(a,{emit:t}){const o=a,n=()=>{t("addMilestone",{phaseId:o.phase.id})},s=i=>{t("removeMilestone",{phaseId:o.phase.id,id:i})},r=i=>{t("updateMilestone",i)},l=i=>{if(i.moved){const c=zt(i,o.phase.milestones);t("updateMilestone",{id:i.moved.element.id,rank:c})}};return(i,c)=>i.phase?(e.openBlock(),e.createBlock(e.unref(xe),{key:0,"model-value":i.phase.milestones,class:"ao-templates__list",title:i.$t("template.milestones.title"),handle:".ao-card__drag","item-key":"id",onChange:l},{header:e.withCtx(()=>[e.createVNode(ne,{title:"Milestones",level:3,class:"ao-list__title"})]),item:e.withCtx(({element:p})=>[(e.openBlock(),e.createBlock(L3,{id:p.id,key:p.id,title:p.name,activities:p.activities,"is-active":i.milestoneId===p.id,"is-draggable":!0,"onUpdate:title":d=>r({id:p.id,name:d}),onClick:d=>i.$router.push({params:{milestoneId:p.id}}),onRemove:()=>s(p.id)},null,8,["id","title","activities","is-active","onUpdate:title","onClick","onRemove"]))]),footer:e.withCtx(()=>[e.createElementVNode("div",D3,[e.createVNode(We,{"icon-name":"AddBoxOutlineRounded",label:i.$t("template.milestones.add"),onClick:n},null,8,["label"])])]),_:1},8,["model-value","title"])):e.createCommentVNode("",!0)}}),H3=e.defineComponent({__name:"AoCardTemplateItemActivity",props:{name:{},tasks:{}},setup(a){const t=a,o=e.computed(()=>{var n;return((n=t.tasks)==null?void 0:n.length)||0});return(n,s)=>(e.openBlock(),e.createBlock(Ja,{tasks:o.value},{default:e.withCtx(()=>[e.renderSlot(n.$slots,"default")]),_:3},8,["tasks"]))}}),R3={class:"ao-list__footer"},j3=e.defineComponent({__name:"AoTemplateDetailsActivities",props:{templateId:{},phaseId:{},milestone:{},activityId:{}},emits:["addActivity","updateActivity","updateMilestone","removeActivity"],setup(a,{emit:t}){const o=a,n=()=>{t("addActivity",{milestoneId:o.milestone.id})},s=i=>{t("updateActivity",{...i})},r=i=>{t("removeActivity",{id:i})},l=i=>{if(i.moved){const c=zt(i,o.milestone.activities);t("updateActivity",{id:i.moved.element.id,rank:c})}};return(i,c)=>i.milestone?(e.openBlock(),e.createBlock(e.unref(xe),{key:0,"model-value":i.milestone.activities,title:i.$t("template.activities.title"),class:"ao-templates__list",handle:".ao-card__drag","item-key":"id",onChange:l},{header:e.withCtx(()=>[e.createVNode(ne,{title:"Activities",level:3,class:"ao-list__title"})]),item:e.withCtx(({element:p})=>[(e.openBlock(),e.createBlock(H3,{id:p.id,key:p.id,title:p.name,tasks:p.tasks,"is-active":i.activityId===p.id,"is-draggable":!0,"onUpdate:title":d=>s({id:p.id,name:d}),onClick:d=>i.$router.push({params:{activityId:p.id}}),onRemove:()=>r(p.id)},null,8,["id","title","tasks","is-active","onUpdate:title","onClick","onRemove"]))]),footer:e.withCtx(()=>[e.createElementVNode("div",R3,[e.createVNode(We,{"icon-name":"AddBoxOutlineRounded",label:i.$t("template.activities.add"),onClick:n},null,8,["label"])])]),_:1},8,["model-value","title"])):e.createCommentVNode("",!0)}}),F3={class:"ao-modal"},U3={key:0,class:"ao-modal__header"},z3={class:"ao-modal__header-meta"},Z3={class:"ao-modal__title-group"},x3={class:"ao-modal__body"},W3={key:1,class:"ao-modal__footer"},ya=e.defineComponent({__name:"AoModal",props:{size:{default:"md"}},emits:["close"],setup(a){return(t,o)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["ao-modal__wrapper",`ao-modal__wrapper--${t.size}`])},[e.createElementVNode("div",{class:"ao-modal__backdrop",onClick:o[0]||(o[0]=n=>t.$emit("close"))}),e.createElementVNode("div",F3,[t.$slots.header?(e.openBlock(),e.createElementBlock("div",U3,[e.createElementVNode("div",z3,[e.createVNode(K,{"icon-name":"CloseRounded",variant:"ghost",color:"primary",onClick:o[1]||(o[1]=n=>t.$emit("close"))})]),e.createElementVNode("header",Z3,[e.renderSlot(t.$slots,"header")])])):e.createCommentVNode("",!0),e.createElementVNode("div",x3,[e.renderSlot(t.$slots,"default")]),t.$slots.footer?(e.openBlock(),e.createElementBlock("footer",W3,[e.renderSlot(t.$slots,"footer")])):e.createCommentVNode("",!0)])],2))}});const Dt=Math.min,ve=Math.max,ca=Math.round,aa=Math.floor,Ue=a=>({x:a,y:a}),q3={left:"right",right:"left",bottom:"top",top:"bottom"},Y3={start:"end",end:"start"};function eo(a,t){return typeof a=="function"?a(t):a}function mt(a){return a.split("-")[0]}function ba(a){return a.split("-")[1]}function K3(a){return a==="x"?"y":"x"}function kn(a){return a==="y"?"height":"width"}function to(a){return["top","bottom"].includes(mt(a))?"y":"x"}function wn(a){return K3(to(a))}function G3(a,t,o){o===void 0&&(o=!1);const n=ba(a),s=wn(a),r=kn(s);let l=s==="x"?n===(o?"end":"start")?"right":"left":n==="start"?"bottom":"top";return t.reference[r]>t.floating[r]&&(l=da(l)),[l,da(l)]}function X3(a){const t=da(a);return[Za(a),t,Za(t)]}function Za(a){return a.replace(/start|end/g,t=>Y3[t])}function Q3(a,t,o){const n=["left","right"],s=["right","left"],r=["top","bottom"],l=["bottom","top"];switch(a){case"top":case"bottom":return o?t?s:n:t?n:s;case"left":case"right":return t?r:l;default:return[]}}function J3(a,t,o,n){const s=ba(a);let r=Q3(mt(a),o==="start",n);return s&&(r=r.map(l=>l+"-"+s),t&&(r=r.concat(r.map(Za)))),r}function da(a){return a.replace(/left|right|bottom|top/g,t=>q3[t])}function ep(a){return{top:0,right:0,bottom:0,left:0,...a}}function tp(a){return typeof a!="number"?ep(a):{top:a,right:a,bottom:a,left:a}}function ua(a){return{...a,top:a.y,left:a.x,right:a.x+a.width,bottom:a.y+a.height}}function Ro(a,t,o){let{reference:n,floating:s}=a;const r=to(t),l=wn(t),i=kn(l),c=mt(t),p=r==="y",d=n.x+n.width/2-s.width/2,u=n.y+n.height/2-s.height/2,m=n[i]/2-s[i]/2;let v;switch(c){case"top":v={x:d,y:n.y-s.height};break;case"bottom":v={x:d,y:n.y+n.height};break;case"right":v={x:n.x+n.width,y:u};break;case"left":v={x:n.x-s.width,y:u};break;default:v={x:n.x,y:n.y}}switch(ba(t)){case"start":v[l]-=m*(o&&p?-1:1);break;case"end":v[l]+=m*(o&&p?-1:1);break}return v}const ap=async(a,t,o)=>{const{placement:n="bottom",strategy:s="absolute",middleware:r=[],platform:l}=o,i=r.filter(Boolean),c=await(l.isRTL==null?void 0:l.isRTL(t));let p=await l.getElementRects({reference:a,floating:t,strategy:s}),{x:d,y:u}=Ro(p,n,c),m=n,v={},_=0;for(let C=0;C<i.length;C++){const{name:h,fn:b}=i[C],{x:y,y:f,data:B,reset:M}=await b({x:d,y:u,initialPlacement:n,placement:m,strategy:s,middlewareData:v,rects:p,platform:l,elements:{reference:a,floating:t}});if(d=y??d,u=f??u,v={...v,[h]:{...v[h],...B}},M&&_<=50){_++,typeof M=="object"&&(M.placement&&(m=M.placement),M.rects&&(p=M.rects===!0?await l.getElementRects({reference:a,floating:t,strategy:s}):M.rects),{x:d,y:u}=Ro(p,m,c)),C=-1;continue}}return{x:d,y:u,placement:m,strategy:s,middlewareData:v}};async function $n(a,t){var o;t===void 0&&(t={});const{x:n,y:s,platform:r,rects:l,elements:i,strategy:c}=a,{boundary:p="clippingAncestors",rootBoundary:d="viewport",elementContext:u="floating",altBoundary:m=!1,padding:v=0}=eo(t,a),_=tp(v),h=i[m?u==="floating"?"reference":"floating":u],b=ua(await r.getClippingRect({element:(o=await(r.isElement==null?void 0:r.isElement(h)))==null||o?h:h.contextElement||await(r.getDocumentElement==null?void 0:r.getDocumentElement(i.floating)),boundary:p,rootBoundary:d,strategy:c})),y=u==="floating"?{...l.floating,x:n,y:s}:l.reference,f=await(r.getOffsetParent==null?void 0:r.getOffsetParent(i.floating)),B=await(r.isElement==null?void 0:r.isElement(f))?await(r.getScale==null?void 0:r.getScale(f))||{x:1,y:1}:{x:1,y:1},M=ua(r.convertOffsetParentRelativeRectToViewportRelativeRect?await r.convertOffsetParentRelativeRectToViewportRelativeRect({rect:y,offsetParent:f,strategy:c}):y);return{top:(b.top-M.top+_.top)/B.y,bottom:(M.bottom-b.bottom+_.bottom)/B.y,left:(b.left-M.left+_.left)/B.x,right:(M.right-b.right+_.right)/B.x}}const op=function(a){return a===void 0&&(a={}),{name:"flip",options:a,async fn(t){var o,n;const{placement:s,middlewareData:r,rects:l,initialPlacement:i,platform:c,elements:p}=t,{mainAxis:d=!0,crossAxis:u=!0,fallbackPlacements:m,fallbackStrategy:v="bestFit",fallbackAxisSideDirection:_="none",flipAlignment:C=!0,...h}=eo(a,t);if((o=r.arrow)!=null&&o.alignmentOffset)return{};const b=mt(s),y=mt(i)===i,f=await(c.isRTL==null?void 0:c.isRTL(p.floating)),B=m||(y||!C?[da(i)]:X3(i));!m&&_!=="none"&&B.push(...J3(i,C,_,f));const M=[i,...B],E=await $n(t,h),I=[];let P=((n=r.flip)==null?void 0:n.overflows)||[];if(d&&I.push(E[b]),u){const T=G3(s,l,f);I.push(E[T[0]],E[T[1]])}if(P=[...P,{placement:s,overflows:I}],!I.every(T=>T<=0)){var R,F;const T=(((R=r.flip)==null?void 0:R.index)||0)+1,j=M[T];if(j)return{data:{index:T,overflows:P},reset:{placement:j}};let Y=(F=P.filter(Z=>Z.overflows[0]<=0).sort((Z,U)=>Z.overflows[1]-U.overflows[1])[0])==null?void 0:F.placement;if(!Y)switch(v){case"bestFit":{var z;const Z=(z=P.map(U=>[U.placement,U.overflows.filter(V=>V>0).reduce((V,$)=>V+$,0)]).sort((U,V)=>U[1]-V[1])[0])==null?void 0:z[0];Z&&(Y=Z);break}case"initialPlacement":Y=i;break}if(s!==Y)return{reset:{placement:Y}}}return{}}}},np=function(a){return a===void 0&&(a={}),{name:"size",options:a,async fn(t){const{placement:o,rects:n,platform:s,elements:r}=t,{apply:l=()=>{},...i}=eo(a,t),c=await $n(t,i),p=mt(o),d=ba(o),u=to(o)==="y",{width:m,height:v}=n.floating;let _,C;p==="top"||p==="bottom"?(_=p,C=d===(await(s.isRTL==null?void 0:s.isRTL(r.floating))?"start":"end")?"left":"right"):(C=p,_=d==="end"?"top":"bottom");const h=v-c[_],b=m-c[C],y=!t.middlewareData.shift;let f=h,B=b;if(u){const E=m-c.left-c.right;B=d||y?Dt(b,E):E}else{const E=v-c.top-c.bottom;f=d||y?Dt(h,E):E}if(y&&!d){const E=ve(c.left,0),I=ve(c.right,0),P=ve(c.top,0),R=ve(c.bottom,0);u?B=m-2*(E!==0||I!==0?E+I:ve(c.left,c.right)):f=v-2*(P!==0||R!==0?P+R:ve(c.top,c.bottom))}await l({...t,availableWidth:B,availableHeight:f});const M=await s.getDimensions(r.floating);return m!==M.width||v!==M.height?{reset:{rects:!0}}:{}}}};function ze(a){return En(a)?(a.nodeName||"").toLowerCase():"#document"}function ce(a){var t;return(a==null||(t=a.ownerDocument)==null?void 0:t.defaultView)||window}function Ie(a){var t;return(t=(En(a)?a.ownerDocument:a.document)||window.document)==null?void 0:t.documentElement}function En(a){return a instanceof Node||a instanceof ce(a).Node}function Te(a){return a instanceof Element||a instanceof ce(a).Element}function we(a){return a instanceof HTMLElement||a instanceof ce(a).HTMLElement}function jo(a){return typeof ShadowRoot>"u"?!1:a instanceof ShadowRoot||a instanceof ce(a).ShadowRoot}function xt(a){const{overflow:t,overflowX:o,overflowY:n,display:s}=Ce(a);return/auto|scroll|overlay|hidden|clip/.test(t+n+o)&&!["inline","contents"].includes(s)}function sp(a){return["table","td","th"].includes(ze(a))}function ao(a){const t=oo(),o=Ce(a);return o.transform!=="none"||o.perspective!=="none"||(o.containerType?o.containerType!=="normal":!1)||!t&&(o.backdropFilter?o.backdropFilter!=="none":!1)||!t&&(o.filter?o.filter!=="none":!1)||["transform","perspective","filter"].some(n=>(o.willChange||"").includes(n))||["paint","layout","strict","content"].some(n=>(o.contain||"").includes(n))}function lp(a){let t=vt(a);for(;we(t)&&!ka(t);){if(ao(t))return t;t=vt(t)}return null}function oo(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function ka(a){return["html","body","#document"].includes(ze(a))}function Ce(a){return ce(a).getComputedStyle(a)}function wa(a){return Te(a)?{scrollLeft:a.scrollLeft,scrollTop:a.scrollTop}:{scrollLeft:a.pageXOffset,scrollTop:a.pageYOffset}}function vt(a){if(ze(a)==="html")return a;const t=a.assignedSlot||a.parentNode||jo(a)&&a.host||Ie(a);return jo(t)?t.host:t}function Bn(a){const t=vt(a);return ka(t)?a.ownerDocument?a.ownerDocument.body:a.body:we(t)&&xt(t)?t:Bn(t)}function Pt(a,t,o){var n;t===void 0&&(t=[]),o===void 0&&(o=!0);const s=Bn(a),r=s===((n=a.ownerDocument)==null?void 0:n.body),l=ce(s);return r?t.concat(l,l.visualViewport||[],xt(s)?s:[],l.frameElement&&o?Pt(l.frameElement):[]):t.concat(s,Pt(s))}function Vn(a){const t=Ce(a);let o=parseFloat(t.width)||0,n=parseFloat(t.height)||0;const s=we(a),r=s?a.offsetWidth:o,l=s?a.offsetHeight:n,i=ca(o)!==r||ca(n)!==l;return i&&(o=r,n=l),{width:o,height:n,$:i}}function no(a){return Te(a)?a:a.contextElement}function dt(a){const t=no(a);if(!we(t))return Ue(1);const o=t.getBoundingClientRect(),{width:n,height:s,$:r}=Vn(t);let l=(r?ca(o.width):o.width)/n,i=(r?ca(o.height):o.height)/s;return(!l||!Number.isFinite(l))&&(l=1),(!i||!Number.isFinite(i))&&(i=1),{x:l,y:i}}const rp=Ue(0);function Nn(a){const t=ce(a);return!oo()||!t.visualViewport?rp:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function ip(a,t,o){return t===void 0&&(t=!1),!o||t&&o!==ce(a)?!1:t}function nt(a,t,o,n){t===void 0&&(t=!1),o===void 0&&(o=!1);const s=a.getBoundingClientRect(),r=no(a);let l=Ue(1);t&&(n?Te(n)&&(l=dt(n)):l=dt(a));const i=ip(r,o,n)?Nn(r):Ue(0);let c=(s.left+i.x)/l.x,p=(s.top+i.y)/l.y,d=s.width/l.x,u=s.height/l.y;if(r){const m=ce(r),v=n&&Te(n)?ce(n):n;let _=m.frameElement;for(;_&&n&&v!==m;){const C=dt(_),h=_.getBoundingClientRect(),b=Ce(_),y=h.left+(_.clientLeft+parseFloat(b.paddingLeft))*C.x,f=h.top+(_.clientTop+parseFloat(b.paddingTop))*C.y;c*=C.x,p*=C.y,d*=C.x,u*=C.y,c+=y,p+=f,_=ce(_).frameElement}}return ua({width:d,height:u,x:c,y:p})}function cp(a){let{rect:t,offsetParent:o,strategy:n}=a;const s=we(o),r=Ie(o);if(o===r)return t;let l={scrollLeft:0,scrollTop:0},i=Ue(1);const c=Ue(0);if((s||!s&&n!=="fixed")&&((ze(o)!=="body"||xt(r))&&(l=wa(o)),we(o))){const p=nt(o);i=dt(o),c.x=p.x+o.clientLeft,c.y=p.y+o.clientTop}return{width:t.width*i.x,height:t.height*i.y,x:t.x*i.x-l.scrollLeft*i.x+c.x,y:t.y*i.y-l.scrollTop*i.y+c.y}}function dp(a){return Array.from(a.getClientRects())}function Sn(a){return nt(Ie(a)).left+wa(a).scrollLeft}function up(a){const t=Ie(a),o=wa(a),n=a.ownerDocument.body,s=ve(t.scrollWidth,t.clientWidth,n.scrollWidth,n.clientWidth),r=ve(t.scrollHeight,t.clientHeight,n.scrollHeight,n.clientHeight);let l=-o.scrollLeft+Sn(a);const i=-o.scrollTop;return Ce(n).direction==="rtl"&&(l+=ve(t.clientWidth,n.clientWidth)-s),{width:s,height:r,x:l,y:i}}function pp(a,t){const o=ce(a),n=Ie(a),s=o.visualViewport;let r=n.clientWidth,l=n.clientHeight,i=0,c=0;if(s){r=s.width,l=s.height;const p=oo();(!p||p&&t==="fixed")&&(i=s.offsetLeft,c=s.offsetTop)}return{width:r,height:l,x:i,y:c}}function mp(a,t){const o=nt(a,!0,t==="fixed"),n=o.top+a.clientTop,s=o.left+a.clientLeft,r=we(a)?dt(a):Ue(1),l=a.clientWidth*r.x,i=a.clientHeight*r.y,c=s*r.x,p=n*r.y;return{width:l,height:i,x:c,y:p}}function Fo(a,t,o){let n;if(t==="viewport")n=pp(a,o);else if(t==="document")n=up(Ie(a));else if(Te(t))n=mp(t,o);else{const s=Nn(a);n={...t,x:t.x-s.x,y:t.y-s.y}}return ua(n)}function Mn(a,t){const o=vt(a);return o===t||!Te(o)||ka(o)?!1:Ce(o).position==="fixed"||Mn(o,t)}function vp(a,t){const o=t.get(a);if(o)return o;let n=Pt(a,[],!1).filter(i=>Te(i)&&ze(i)!=="body"),s=null;const r=Ce(a).position==="fixed";let l=r?vt(a):a;for(;Te(l)&&!ka(l);){const i=Ce(l),c=ao(l);!c&&i.position==="fixed"&&(s=null),(r?!c&&!s:!c&&i.position==="static"&&!!s&&["absolute","fixed"].includes(s.position)||xt(l)&&!c&&Mn(a,l))?n=n.filter(d=>d!==l):s=i,l=vt(l)}return t.set(a,n),n}function fp(a){let{element:t,boundary:o,rootBoundary:n,strategy:s}=a;const l=[...o==="clippingAncestors"?vp(t,this._c):[].concat(o),n],i=l[0],c=l.reduce((p,d)=>{const u=Fo(t,d,s);return p.top=ve(u.top,p.top),p.right=Dt(u.right,p.right),p.bottom=Dt(u.bottom,p.bottom),p.left=ve(u.left,p.left),p},Fo(t,i,s));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}}function hp(a){return Vn(a)}function Cp(a,t,o){const n=we(t),s=Ie(t),r=o==="fixed",l=nt(a,!0,r,t);let i={scrollLeft:0,scrollTop:0};const c=Ue(0);if(n||!n&&!r)if((ze(t)!=="body"||xt(s))&&(i=wa(t)),n){const p=nt(t,!0,r,t);c.x=p.x+t.clientLeft,c.y=p.y+t.clientTop}else s&&(c.x=Sn(s));return{x:l.left+i.scrollLeft-c.x,y:l.top+i.scrollTop-c.y,width:l.width,height:l.height}}function Uo(a,t){return!we(a)||Ce(a).position==="fixed"?null:t?t(a):a.offsetParent}function An(a,t){const o=ce(a);if(!we(a))return o;let n=Uo(a,t);for(;n&&sp(n)&&Ce(n).position==="static";)n=Uo(n,t);return n&&(ze(n)==="html"||ze(n)==="body"&&Ce(n).position==="static"&&!ao(n))?o:n||lp(a)||o}const gp=async function(a){let{reference:t,floating:o,strategy:n}=a;const s=this.getOffsetParent||An,r=this.getDimensions;return{reference:Cp(t,await s(o),n),floating:{x:0,y:0,...await r(o)}}};function _p(a){return Ce(a).direction==="rtl"}const yp={convertOffsetParentRelativeRectToViewportRelativeRect:cp,getDocumentElement:Ie,getClippingRect:fp,getOffsetParent:An,getElementRects:gp,getClientRects:dp,getDimensions:hp,getScale:dt,isElement:Te,isRTL:_p};function bp(a,t){let o=null,n;const s=Ie(a);function r(){clearTimeout(n),o&&o.disconnect(),o=null}function l(i,c){i===void 0&&(i=!1),c===void 0&&(c=1),r();const{left:p,top:d,width:u,height:m}=a.getBoundingClientRect();if(i||t(),!u||!m)return;const v=aa(d),_=aa(s.clientWidth-(p+u)),C=aa(s.clientHeight-(d+m)),h=aa(p),y={rootMargin:-v+"px "+-_+"px "+-C+"px "+-h+"px",threshold:ve(0,Dt(1,c))||1};let f=!0;function B(M){const E=M[0].intersectionRatio;if(E!==c){if(!f)return l();E?l(!1,E):n=setTimeout(()=>{l(!1,1e-7)},100)}f=!1}try{o=new IntersectionObserver(B,{...y,root:s.ownerDocument})}catch{o=new IntersectionObserver(B,y)}o.observe(a)}return l(!0),r}function kp(a,t,o,n){n===void 0&&(n={});const{ancestorScroll:s=!0,ancestorResize:r=!0,elementResize:l=typeof ResizeObserver=="function",layoutShift:i=typeof IntersectionObserver=="function",animationFrame:c=!1}=n,p=no(a),d=s||r?[...p?Pt(p):[],...Pt(t)]:[];d.forEach(b=>{s&&b.addEventListener("scroll",o,{passive:!0}),r&&b.addEventListener("resize",o)});const u=p&&i?bp(p,o):null;let m=-1,v=null;l&&(v=new ResizeObserver(b=>{let[y]=b;y&&y.target===p&&v&&(v.unobserve(t),cancelAnimationFrame(m),m=requestAnimationFrame(()=>{v&&v.observe(t)})),o()}),p&&!c&&v.observe(p),v.observe(t));let _,C=c?nt(a):null;c&&h();function h(){const b=nt(a);C&&(b.x!==C.x||b.y!==C.y||b.width!==C.width||b.height!==C.height)&&o(),C=b,_=requestAnimationFrame(h)}return o(),()=>{d.forEach(b=>{s&&b.removeEventListener("scroll",o),r&&b.removeEventListener("resize",o)}),u&&u(),v&&v.disconnect(),v=null,c&&cancelAnimationFrame(_)}}const wp=(a,t,o)=>{const n=new Map,s={platform:yp,...o},r={...s.platform,_c:n};return ap(a,t,{...s,platform:r})},$p=a=>{const t=e.ref(!1),o=e.ref(),n=e.ref(),s=e.ref(0);function r(){const u=e.unref(a.appendTo);return u?typeof u=="string"?document.getElementById(u)??document.body:u:document.getElementById("floatingElements")??document.body}const l=r(),i=e.ref(()=>{});function c(u){u.relatedTarget&&n.value&&n.value.contains(u.relatedTarget)||a.multiselect.value.deactivate()}function p(){const u=a.multiselect.value.$el,m=u.querySelector(".multiselect-dropdown");if(!m||!u||t.value===!0)return;n.value=m,o.value=u,getComputedStyle(m).getPropertyValue("display")==="none"&&(m.style.display="flex"),s.value=m.offsetHeight,m.style.removeProperty("display"),Object.assign(m.style,{position:"absolute",width:"max-content",top:0,left:0,right:"auto",bottom:"auto",transform:"none",marginTop:0}),l.appendChild(m),a.multiselect.value.handleFocusOut=c;const _=kp(o.value,n.value,d);i.value=()=>{n.value&&l.contains(n.value)&&l.removeChild(n.value),_()}}function d(){!n.value||!o.value||wp(o.value,n.value,{strategy:"absolute",placement:"bottom-start",middleware:[op({fallbackStrategy:"initialPlacement",fallbackPlacements:["top-start","bottom-start"]}),np({apply({availableWidth:u,availableHeight:m,elements:v,rects:_}){Object.assign(v.floating.style,{minHeight:`${s.value}px`,width:`${_.reference.width}px`,maxWidth:`${u}px`,maxHeight:`${m}px`})}})]}).then(({x:u,y:m})=>{Object.assign(n.value.style,{left:`${u}px`,top:`${m}px`})})}e.onMounted(()=>{p()}),e.onBeforeUnmount(()=>{i.value()}),e.onUnmounted(()=>{i.value()})};function be(a){return[null,void 0].indexOf(a)!==-1}function Ep(a,t,o){const{object:n,valueProp:s,mode:r}=e.toRefs(a),l=e.getCurrentInstance().proxy,i=o.iv,c=(u,m=!0)=>{i.value=d(u);const v=p(u);t.emit("change",v,l),m&&(t.emit("input",v),t.emit("update:modelValue",v))},p=u=>n.value||be(u)?u:Array.isArray(u)?u.map(m=>m[s.value]):u[s.value],d=u=>be(u)?r.value==="single"?{}:[]:u;return{update:c}}function Bp(a,t){const{value:o,modelValue:n,mode:s,valueProp:r}=e.toRefs(a),l=e.ref(s.value!=="single"?[]:{}),i=e.computed(()=>n&&n.value!==void 0?n.value:o.value),c=e.computed(()=>s.value==="single"?l.value[r.value]:l.value.map(d=>d[r.value])),p=e.computed(()=>s.value!=="single"?l.value.map(d=>d[r.value]).join(","):l.value[r.value]);return{iv:l,internalValue:l,ev:i,externalValue:i,textValue:p,plainValue:c}}function Vp(a,t,o){const{regex:n}=e.toRefs(a),s=e.getCurrentInstance().proxy,r=o.isOpen,l=o.open,i=e.ref(null),c=()=>{i.value=""},p=m=>{i.value=m.target.value},d=m=>{if(n&&n.value){let v=n.value;typeof v=="string"&&(v=new RegExp(v)),m.key.match(v)||m.preventDefault()}},u=m=>{if(n&&n.value){let _=(m.clipboardData||window.clipboardData).getData("Text"),C=n.value;typeof C=="string"&&(C=new RegExp(C)),_.split("").every(h=>!!h.match(C))||m.preventDefault()}t.emit("paste",m,s)};return e.watch(i,m=>{!r.value&&m&&l(),t.emit("search-change",m,s)}),{search:i,clearSearch:c,handleSearchInput:p,handleKeypress:d,handlePaste:u}}function Np(a,t,o){const{groupSelect:n,mode:s,groups:r,disabledProp:l}=e.toRefs(a),i=e.ref(null),c=d=>{d===void 0||d!==null&&d[l.value]||r.value&&d&&d.group&&(s.value==="single"||!n.value)||(i.value=d)};return{pointer:i,setPointer:c,clearPointer:()=>{c(null)}}}function Fa(a,t=!0){return t?String(a).toLowerCase().trim():String(a).toLowerCase().normalize("NFD").trim().replace(new RegExp(/æ/g),"ae").replace(new RegExp(/œ/g),"oe").replace(new RegExp(/ø/g),"o").replace(/\p{Diacritic}/gu,"")}function Sp(a){return Object.prototype.toString.call(a)==="[object Object]"}function Mp(a,t){const o=t.slice().sort();return a.length===t.length&&a.slice().sort().every(function(n,s){return n===o[s]})}function Ap(a,t,o){const{options:n,mode:s,trackBy:r,limit:l,hideSelected:i,createTag:c,createOption:p,label:d,appendNewTag:u,appendNewOption:m,multipleLabel:v,object:_,loading:C,delay:h,resolveOnLoad:b,minChars:y,filterResults:f,clearOnSearch:B,clearOnSelect:M,valueProp:E,allowAbsent:I,groupLabel:P,canDeselect:R,max:F,strict:z,closeOnSelect:T,closeOnDeselect:j,groups:Y,reverse:Z,infinite:U,groupOptions:V,groupHideEmpty:$,groupSelect:k,onCreate:O,disabledProp:g,searchStart:S,searchFilter:q}=e.toRefs(a),x=e.getCurrentInstance().proxy,D=o.iv,N=o.ev,H=o.search,J=o.clearSearch,ie=o.update,yt=o.pointer,bt=o.setPointer,Le=o.clearPointer,Wt=o.focus,Sa=o.deactivate,De=o.close,qt=o.localize,Pe=e.ref([]),ye=e.ref([]),ue=e.ref(!1),ge=e.ref(null),Be=e.ref(U.value&&l.value===-1?10:l.value),kt=e.computed(()=>c.value||p.value||!1),Yt=e.computed(()=>u.value!==void 0?u.value:m.value!==void 0?m.value:!0),pe=e.computed(()=>{if(Y.value){let w=Ke.value||[],A=[];return w.forEach(G=>{Da(G[V.value]).forEach(te=>{A.push(Object.assign({},te,G[g.value]?{[g.value]:!0}:{}))})}),A}else{let w=Da(ye.value||[]);return Pe.value.length&&(w=w.concat(Pe.value)),w}}),wt=e.computed(()=>{let w=pe.value;return Z.value&&(w=w.reverse()),lt.value.length&&(w=lt.value.concat(w)),La(w)}),He=e.computed(()=>{let w=wt.value;return Be.value>0&&(w=w.slice(0,Be.value)),w}),Ke=e.computed(()=>{if(!Y.value)return[];let w=[],A=ye.value||[];return Pe.value.length&&w.push({[P.value]:" ",[V.value]:[...Pe.value],__CREATE__:!0}),w.concat(A)}),Kt=e.computed(()=>{let w=[...Ke.value].map(A=>({...A}));return lt.value.length&&(w[0]&&w[0].__CREATE__?w[0][V.value]=[...lt.value,...w[0][V.value]]:w=[{[P.value]:" ",[V.value]:[...lt.value],__CREATE__:!0}].concat(w)),w}),Ma=e.computed(()=>{if(!Y.value)return[];let w=Kt.value;return ss((w||[]).map((A,G)=>{const te=Da(A[V.value]);return{...A,index:G,group:!0,[V.value]:La(te,!1).map(Xe=>Object.assign({},Xe,A[g.value]?{[g.value]:!0}:{})),__VISIBLE__:La(te).map(Xe=>Object.assign({},Xe,A[g.value]?{[g.value]:!0}:{}))}}))}),Aa=e.computed(()=>{switch(s.value){case"single":return!be(D.value[E.value]);case"multiple":case"tags":return!be(D.value)&&D.value.length>0}}),xn=e.computed(()=>v!==void 0&&v.value!==void 0?v.value(D.value,x):D.value&&D.value.length>1?`${D.value.length} options selected`:"1 option selected"),Wn=e.computed(()=>!pe.value.length&&!ue.value&&!lt.value.length),qn=e.computed(()=>pe.value.length>0&&He.value.length==0&&(H.value&&Y.value||!Y.value)),lt=e.computed(()=>kt.value===!1||!H.value?[]:as(H.value)!==-1?[]:[{[E.value]:H.value,[Ge.value[0]]:H.value,[d.value]:H.value,__CREATE__:!0}]),Ge=e.computed(()=>r.value?Array.isArray(r.value)?r.value:[r.value]:[d.value]),Yn=e.computed(()=>{switch(s.value){case"single":return null;case"multiple":case"tags":return[]}}),Kn=e.computed(()=>C.value||ue.value),rt=w=>{switch(typeof w!="object"&&(w=Ne(w)),s.value){case"single":ie(w);break;case"multiple":case"tags":ie(D.value.concat(w));break}t.emit("select",Eo(w),w,x)},it=w=>{switch(typeof w!="object"&&(w=Ne(w)),s.value){case"single":Vo();break;case"tags":case"multiple":ie(Array.isArray(w)?D.value.filter(A=>w.map(G=>G[E.value]).indexOf(A[E.value])===-1):D.value.filter(A=>A[E.value]!=w[E.value]));break}t.emit("deselect",Eo(w),w,x)},Eo=w=>_.value?w:w[E.value],Bo=w=>{it(w)},Gn=(w,A)=>{if(A.button!==0){A.preventDefault();return}Bo(w)},Vo=()=>{ie(Yn.value),t.emit("clear",x)},Ve=w=>{if(w.group!==void 0)return s.value==="single"?!1:ts(w[V.value])&&w[V.value].length;switch(s.value){case"single":return!be(D.value)&&D.value[E.value]==w[E.value];case"tags":case"multiple":return!be(D.value)&&D.value.map(A=>A[E.value]).indexOf(w[E.value])!==-1}},Ta=w=>w[g.value]===!0,Oa=()=>F===void 0||F.value===-1||!Aa.value&&F.value>0?!1:D.value.length>=F.value,Xn=w=>{if(!Ta(w)){if(O&&O.value&&!Ve(w)&&w.__CREATE__&&(w={...w},delete w.__CREATE__,w=O.value(w,x),w instanceof Promise)){ue.value=!0,w.then(A=>{ue.value=!1,No(A)});return}No(w)}},No=w=>{switch(w.__CREATE__&&(w={...w},delete w.__CREATE__),s.value){case"single":if(w&&Ve(w)){R.value&&it(w),j.value&&(Le(),De());return}w&&Ia(w),M.value&&J(),T.value&&(Le(),De()),w&&rt(w);break;case"multiple":if(w&&Ve(w)){it(w),j.value&&(Le(),De());return}if(Oa()){t.emit("max",x);return}w&&(Ia(w),rt(w)),M.value&&J(),i.value&&Le(),T.value&&De();break;case"tags":if(w&&Ve(w)){it(w),j.value&&(Le(),De());return}if(Oa()){t.emit("max",x);return}w&&Ia(w),M.value&&J(),w&&rt(w),i.value&&Le(),T.value&&De();break}T.value||Wt()},Qn=w=>{if(!(Ta(w)||s.value==="single"||!k.value)){switch(s.value){case"multiple":case"tags":es(w[V.value])?it(w[V.value]):rt(w[V.value].filter(A=>D.value.map(G=>G[E.value]).indexOf(A[E.value])===-1).filter(A=>!A[g.value]).filter((A,G)=>D.value.length+1+G<=F.value||F.value===-1)),i.value&&yt.value&&bt(Ma.value.filter(A=>!A[g.value])[yt.value.index]);break}T.value&&Sa()}},Ia=w=>{Ne(w[E.value])===void 0&&kt.value&&(t.emit("tag",w[E.value],x),t.emit("option",w[E.value],x),t.emit("create",w[E.value],x),Yt.value&&ns(w),J())},Jn=()=>{s.value!=="single"&&rt(He.value.filter(w=>!w.disabled&&!Ve(w)))},es=w=>w.find(A=>!Ve(A)&&!A[g.value])===void 0,ts=w=>w.find(A=>!Ve(A))===void 0,Ne=w=>pe.value[pe.value.map(A=>String(A[E.value])).indexOf(String(w))],as=w=>pe.value.findIndex(A=>Ge.value.some(G=>(parseInt(A[G])==A[G]?parseInt(A[G]):A[G])===(parseInt(w)==w?parseInt(w):w))),os=w=>["tags","multiple"].indexOf(s.value)!==-1&&i.value&&Ve(w),ns=w=>{Pe.value.push(w)},ss=w=>$.value?w.filter(A=>H.value?A.__VISIBLE__.length:A[V.value].length):w.filter(A=>H.value?A.__VISIBLE__.length:!0),La=(w,A=!0)=>{let G=w;if(H.value&&f.value){let te=q.value;te||(te=(Xe,Mo,u9)=>Ge.value.some(rs=>{let Ao=Fa(qt(Xe[rs]),z.value);return S.value?Ao.startsWith(Fa(Mo,z.value)):Ao.indexOf(Fa(Mo,z.value))!==-1})),G=G.filter(Xe=>te(Xe,H.value,x))}return i.value&&A&&(G=G.filter(te=>!os(te))),G},Da=w=>{let A=w;return Sp(A)&&(A=Object.keys(A).map(G=>{let te=A[G];return{[E.value]:G,[Ge.value[0]]:te,[d.value]:te}})),A=A.map(G=>typeof G=="object"?G:{[E.value]:G,[Ge.value[0]]:G,[d.value]:G}),A},Gt=()=>{be(N.value)||(D.value=Qt(N.value))},Xt=w=>(ue.value=!0,new Promise((A,G)=>{n.value(H.value,x).then(te=>{ye.value=te||[],typeof w=="function"&&w(te),ue.value=!1}).catch(te=>{console.error(te),ye.value=[],ue.value=!1}).finally(()=>{A()})})),Pa=()=>{if(Aa.value)if(s.value==="single"){let w=Ne(D.value[E.value]);if(w!==void 0){let A=w[d.value];D.value[d.value]=A,_.value&&(N.value[d.value]=A)}}else D.value.forEach((w,A)=>{let G=Ne(D.value[A][E.value]);if(G!==void 0){let te=G[d.value];D.value[A][d.value]=te,_.value&&(N.value[A][d.value]=te)}})},ls=w=>{Xt(w)},Qt=w=>be(w)?s.value==="single"?{}:[]:_.value?w:s.value==="single"?Ne(w)||(I.value?{[d.value]:w,[E.value]:w,[Ge.value[0]]:w}:{}):w.filter(A=>!!Ne(A)||I.value).map(A=>Ne(A)||{[d.value]:A,[E.value]:A,[Ge.value[0]]:A}),So=()=>{ge.value=e.watch(H,w=>{w.length<y.value||!w&&y.value!==0||(ue.value=!0,B.value&&(ye.value=[]),setTimeout(()=>{w==H.value&&n.value(H.value,x).then(A=>{(w==H.value||!H.value)&&(ye.value=A,yt.value=He.value.filter(G=>G[g.value]!==!0)[0]||null,ue.value=!1)}).catch(A=>{console.error(A)})},h.value))},{flush:"sync"})};if(s.value!=="single"&&!be(N.value)&&!Array.isArray(N.value))throw new Error(`v-model must be an array when using "${s.value}" mode`);return n&&typeof n.value=="function"?b.value?Xt(Gt):_.value==!0&&Gt():(ye.value=n.value,Gt()),h.value>-1&&So(),e.watch(h,(w,A)=>{ge.value&&ge.value(),w>=0&&So()}),e.watch(N,w=>{if(be(w)){ie(Qt(w),!1);return}switch(s.value){case"single":(_.value?w[E.value]!=D.value[E.value]:w!=D.value[E.value])&&ie(Qt(w),!1);break;case"multiple":case"tags":Mp(_.value?w.map(A=>A[E.value]):w,D.value.map(A=>A[E.value]))||ie(Qt(w),!1);break}},{deep:!0}),e.watch(n,(w,A)=>{typeof a.options=="function"?b.value&&(!A||w&&w.toString()!==A.toString())&&Xt():(ye.value=a.options,Object.keys(D.value).length||Gt(),Pa())}),e.watch(d,Pa),e.watch(l,(w,A)=>{Be.value=U.value&&w===-1?10:w}),{pfo:wt,fo:He,filteredOptions:He,hasSelected:Aa,multipleLabelText:xn,eo:pe,extendedOptions:pe,eg:Ke,extendedGroups:Ke,fg:Ma,filteredGroups:Ma,noOptions:Wn,noResults:qn,resolving:ue,busy:Kn,offset:Be,select:rt,deselect:it,remove:Bo,selectAll:Jn,clear:Vo,isSelected:Ve,isDisabled:Ta,isMax:Oa,getOption:Ne,handleOptionClick:Xn,handleGroupClick:Qn,handleTagRemove:Gn,refreshOptions:ls,resolveOptions:Xt,refreshLabels:Pa}}function Tp(a,t,o){const{valueProp:n,showOptions:s,searchable:r,groupLabel:l,groups:i,mode:c,groupSelect:p,disabledProp:d,groupOptions:u}=e.toRefs(a),m=o.fo,v=o.fg,_=o.handleOptionClick,C=o.handleGroupClick,h=o.search,b=o.pointer,y=o.setPointer,f=o.clearPointer,B=o.multiselect,M=o.isOpen,E=e.computed(()=>m.value.filter(N=>!N[d.value])),I=e.computed(()=>v.value.filter(N=>!N[d.value])),P=e.computed(()=>c.value!=="single"&&p.value),R=e.computed(()=>b.value&&b.value.group),F=e.computed(()=>x(b.value)),z=e.computed(()=>{const N=R.value?b.value:x(b.value),H=I.value.map(ie=>ie[l.value]).indexOf(N[l.value]);let J=I.value[H-1];return J===void 0&&(J=j.value),J}),T=e.computed(()=>{let N=I.value.map(H=>H.label).indexOf(R.value?b.value[l.value]:x(b.value)[l.value])+1;return I.value.length<=N&&(N=0),I.value[N]}),j=e.computed(()=>[...I.value].slice(-1)[0]),Y=e.computed(()=>b.value.__VISIBLE__.filter(N=>!N[d.value])[0]),Z=e.computed(()=>{const N=F.value.__VISIBLE__.filter(H=>!H[d.value]);return N[N.map(H=>H[n.value]).indexOf(b.value[n.value])-1]}),U=e.computed(()=>{const N=x(b.value).__VISIBLE__.filter(H=>!H[d.value]);return N[N.map(H=>H[n.value]).indexOf(b.value[n.value])+1]}),V=e.computed(()=>[...z.value.__VISIBLE__.filter(N=>!N[d.value])].slice(-1)[0]),$=e.computed(()=>[...j.value.__VISIBLE__.filter(N=>!N[d.value])].slice(-1)[0]),k=N=>b.value&&(!N.group&&b.value[n.value]===N[n.value]||N.group!==void 0&&b.value[l.value]===N[l.value])?!0:void 0,O=()=>{y(E.value[0]||null)},g=()=>{!b.value||b.value[d.value]===!0||(R.value?C(b.value):_(b.value))},S=()=>{if(b.value===null)y((i.value&&P.value?I.value[0].__CREATE__?E.value[0]:I.value[0]:E.value[0])||null);else if(i.value&&P.value){let N=R.value?Y.value:U.value;N===void 0&&(N=T.value,N.__CREATE__&&(N=N[u.value][0])),y(N||null)}else{let N=E.value.map(H=>H[n.value]).indexOf(b.value[n.value])+1;E.value.length<=N&&(N=0),y(E.value[N]||null)}e.nextTick(()=>{D()})},q=()=>{if(b.value===null){let N=E.value[E.value.length-1];i.value&&P.value&&(N=$.value,N===void 0&&(N=j.value)),y(N||null)}else if(i.value&&P.value){let N=R.value?V.value:Z.value;N===void 0&&(N=R.value?z.value:F.value,N.__CREATE__&&(N=V.value,N===void 0&&(N=z.value))),y(N||null)}else{let N=E.value.map(H=>H[n.value]).indexOf(b.value[n.value])-1;N<0&&(N=E.value.length-1),y(E.value[N]||null)}e.nextTick(()=>{D()})},x=N=>I.value.find(H=>H.__VISIBLE__.map(J=>J[n.value]).indexOf(N[n.value])!==-1),D=()=>{let N=B.value.querySelector("[data-pointed]");if(!N)return;let H=N.parentElement.parentElement;i.value&&(H=R.value?N.parentElement.parentElement.parentElement:N.parentElement.parentElement.parentElement.parentElement),N.offsetTop+N.offsetHeight>H.clientHeight+H.scrollTop&&(H.scrollTop=N.offsetTop+N.offsetHeight-H.clientHeight),N.offsetTop<H.scrollTop&&(H.scrollTop=N.offsetTop)};return e.watch(h,N=>{r.value&&(N.length&&s.value?O():f())}),e.watch(M,N=>{if(N){let H=B.value.querySelectorAll("[data-selected]")[0];if(!H)return;let J=H.parentElement.parentElement;e.nextTick(()=>{J.scrollTop>0||(J.scrollTop=H.offsetTop)})}}),{pointer:b,canPointGroups:P,isPointed:k,setPointerFirst:O,selectPointer:g,forwardPointer:S,backwardPointer:q}}function de(a){if(a==null)return window;if(a.toString()!=="[object Window]"){var t=a.ownerDocument;return t&&t.defaultView||window}return a}function st(a){var t=de(a).Element;return a instanceof t||a instanceof Element}function he(a){var t=de(a).HTMLElement;return a instanceof t||a instanceof HTMLElement}function so(a){if(typeof ShadowRoot>"u")return!1;var t=de(a).ShadowRoot;return a instanceof t||a instanceof ShadowRoot}var at=Math.max,pa=Math.min,ft=Math.round;function xa(){var a=navigator.userAgentData;return a!=null&&a.brands&&Array.isArray(a.brands)?a.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function Tn(){return!/^((?!chrome|android).)*safari/i.test(xa())}function ht(a,t,o){t===void 0&&(t=!1),o===void 0&&(o=!1);var n=a.getBoundingClientRect(),s=1,r=1;t&&he(a)&&(s=a.offsetWidth>0&&ft(n.width)/a.offsetWidth||1,r=a.offsetHeight>0&&ft(n.height)/a.offsetHeight||1);var l=st(a)?de(a):window,i=l.visualViewport,c=!Tn()&&o,p=(n.left+(c&&i?i.offsetLeft:0))/s,d=(n.top+(c&&i?i.offsetTop:0))/r,u=n.width/s,m=n.height/r;return{width:u,height:m,top:d,right:p+u,bottom:d+m,left:p,x:p,y:d}}function lo(a){var t=de(a),o=t.pageXOffset,n=t.pageYOffset;return{scrollLeft:o,scrollTop:n}}function Op(a){return{scrollLeft:a.scrollLeft,scrollTop:a.scrollTop}}function Ip(a){return a===de(a)||!he(a)?lo(a):Op(a)}function $e(a){return a?(a.nodeName||"").toLowerCase():null}function qe(a){return((st(a)?a.ownerDocument:a.document)||window.document).documentElement}function ro(a){return ht(qe(a)).left+lo(a).scrollLeft}function Oe(a){return de(a).getComputedStyle(a)}function io(a){var t=Oe(a),o=t.overflow,n=t.overflowX,s=t.overflowY;return/auto|scroll|overlay|hidden/.test(o+s+n)}function Lp(a){var t=a.getBoundingClientRect(),o=ft(t.width)/a.offsetWidth||1,n=ft(t.height)/a.offsetHeight||1;return o!==1||n!==1}function Dp(a,t,o){o===void 0&&(o=!1);var n=he(t),s=he(t)&&Lp(t),r=qe(t),l=ht(a,s,o),i={scrollLeft:0,scrollTop:0},c={x:0,y:0};return(n||!n&&!o)&&(($e(t)!=="body"||io(r))&&(i=Ip(t)),he(t)?(c=ht(t,!0),c.x+=t.clientLeft,c.y+=t.clientTop):r&&(c.x=ro(r))),{x:l.left+i.scrollLeft-c.x,y:l.top+i.scrollTop-c.y,width:l.width,height:l.height}}function On(a){var t=ht(a),o=a.offsetWidth,n=a.offsetHeight;return Math.abs(t.width-o)<=1&&(o=t.width),Math.abs(t.height-n)<=1&&(n=t.height),{x:a.offsetLeft,y:a.offsetTop,width:o,height:n}}function $a(a){return $e(a)==="html"?a:a.assignedSlot||a.parentNode||(so(a)?a.host:null)||qe(a)}function In(a){return["html","body","#document"].indexOf($e(a))>=0?a.ownerDocument.body:he(a)&&io(a)?a:In($a(a))}function Mt(a,t){var o;t===void 0&&(t=[]);var n=In(a),s=n===((o=a.ownerDocument)==null?void 0:o.body),r=de(n),l=s?[r].concat(r.visualViewport||[],io(n)?n:[]):n,i=t.concat(l);return s?i:i.concat(Mt($a(l)))}function Pp(a){return["table","td","th"].indexOf($e(a))>=0}function zo(a){return!he(a)||Oe(a).position==="fixed"?null:a.offsetParent}function Hp(a){var t=/firefox/i.test(xa()),o=/Trident/i.test(xa());if(o&&he(a)){var n=Oe(a);if(n.position==="fixed")return null}var s=$a(a);for(so(s)&&(s=s.host);he(s)&&["html","body"].indexOf($e(s))<0;){var r=Oe(s);if(r.transform!=="none"||r.perspective!=="none"||r.contain==="paint"||["transform","perspective"].indexOf(r.willChange)!==-1||t&&r.willChange==="filter"||t&&r.filter&&r.filter!=="none")return s;s=s.parentNode}return null}function Ea(a){for(var t=de(a),o=zo(a);o&&Pp(o)&&Oe(o).position==="static";)o=zo(o);return o&&($e(o)==="html"||$e(o)==="body"&&Oe(o).position==="static")?t:o||Hp(a)||t}var _e="top",Ee="bottom",Ze="right",Se="left",co="auto",Ba=[_e,Ee,Ze,Se],Ct="start",Ht="end",Rp="clippingParents",Ln="viewport",St="popper",jp="reference",Zo=Ba.reduce(function(a,t){return a.concat([t+"-"+Ct,t+"-"+Ht])},[]),Fp=[].concat(Ba,[co]).reduce(function(a,t){return a.concat([t,t+"-"+Ct,t+"-"+Ht])},[]),Up="beforeRead",zp="read",Zp="afterRead",xp="beforeMain",Wp="main",qp="afterMain",Yp="beforeWrite",Kp="write",Gp="afterWrite",Xp=[Up,zp,Zp,xp,Wp,qp,Yp,Kp,Gp];function Qp(a){var t=new Map,o=new Set,n=[];a.forEach(function(r){t.set(r.name,r)});function s(r){o.add(r.name);var l=[].concat(r.requires||[],r.requiresIfExists||[]);l.forEach(function(i){if(!o.has(i)){var c=t.get(i);c&&s(c)}}),n.push(r)}return a.forEach(function(r){o.has(r.name)||s(r)}),n}function Jp(a){var t=Qp(a);return Xp.reduce(function(o,n){return o.concat(t.filter(function(s){return s.phase===n}))},[])}function e5(a){var t;return function(){return t||(t=new Promise(function(o){Promise.resolve().then(function(){t=void 0,o(a())})})),t}}function t5(a){var t=a.reduce(function(o,n){var s=o[n.name];return o[n.name]=s?Object.assign({},s,n,{options:Object.assign({},s.options,n.options),data:Object.assign({},s.data,n.data)}):n,o},{});return Object.keys(t).map(function(o){return t[o]})}function a5(a,t){var o=de(a),n=qe(a),s=o.visualViewport,r=n.clientWidth,l=n.clientHeight,i=0,c=0;if(s){r=s.width,l=s.height;var p=Tn();(p||!p&&t==="fixed")&&(i=s.offsetLeft,c=s.offsetTop)}return{width:r,height:l,x:i+ro(a),y:c}}function o5(a){var t,o=qe(a),n=lo(a),s=(t=a.ownerDocument)==null?void 0:t.body,r=at(o.scrollWidth,o.clientWidth,s?s.scrollWidth:0,s?s.clientWidth:0),l=at(o.scrollHeight,o.clientHeight,s?s.scrollHeight:0,s?s.clientHeight:0),i=-n.scrollLeft+ro(a),c=-n.scrollTop;return Oe(s||o).direction==="rtl"&&(i+=at(o.clientWidth,s?s.clientWidth:0)-r),{width:r,height:l,x:i,y:c}}function n5(a,t){var o=t.getRootNode&&t.getRootNode();if(a.contains(t))return!0;if(o&&so(o)){var n=t;do{if(n&&a.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function Wa(a){return Object.assign({},a,{left:a.x,top:a.y,right:a.x+a.width,bottom:a.y+a.height})}function s5(a,t){var o=ht(a,!1,t==="fixed");return o.top=o.top+a.clientTop,o.left=o.left+a.clientLeft,o.bottom=o.top+a.clientHeight,o.right=o.left+a.clientWidth,o.width=a.clientWidth,o.height=a.clientHeight,o.x=o.left,o.y=o.top,o}function xo(a,t,o){return t===Ln?Wa(a5(a,o)):st(t)?s5(t,o):Wa(o5(qe(a)))}function l5(a){var t=Mt($a(a)),o=["absolute","fixed"].indexOf(Oe(a).position)>=0,n=o&&he(a)?Ea(a):a;return st(n)?t.filter(function(s){return st(s)&&n5(s,n)&&$e(s)!=="body"}):[]}function r5(a,t,o,n){var s=t==="clippingParents"?l5(a):[].concat(t),r=[].concat(s,[o]),l=r[0],i=r.reduce(function(c,p){var d=xo(a,p,n);return c.top=at(d.top,c.top),c.right=pa(d.right,c.right),c.bottom=pa(d.bottom,c.bottom),c.left=at(d.left,c.left),c},xo(a,l,n));return i.width=i.right-i.left,i.height=i.bottom-i.top,i.x=i.left,i.y=i.top,i}function Fe(a){return a.split("-")[0]}function gt(a){return a.split("-")[1]}function Dn(a){return["top","bottom"].indexOf(a)>=0?"x":"y"}function Pn(a){var t=a.reference,o=a.element,n=a.placement,s=n?Fe(n):null,r=n?gt(n):null,l=t.x+t.width/2-o.width/2,i=t.y+t.height/2-o.height/2,c;switch(s){case _e:c={x:l,y:t.y-o.height};break;case Ee:c={x:l,y:t.y+t.height};break;case Ze:c={x:t.x+t.width,y:i};break;case Se:c={x:t.x-o.width,y:i};break;default:c={x:t.x,y:t.y}}var p=s?Dn(s):null;if(p!=null){var d=p==="y"?"height":"width";switch(r){case Ct:c[p]=c[p]-(t[d]/2-o[d]/2);break;case Ht:c[p]=c[p]+(t[d]/2-o[d]/2);break}}return c}function Hn(){return{top:0,right:0,bottom:0,left:0}}function i5(a){return Object.assign({},Hn(),a)}function c5(a,t){return t.reduce(function(o,n){return o[n]=a,o},{})}function uo(a,t){t===void 0&&(t={});var o=t,n=o.placement,s=n===void 0?a.placement:n,r=o.strategy,l=r===void 0?a.strategy:r,i=o.boundary,c=i===void 0?Rp:i,p=o.rootBoundary,d=p===void 0?Ln:p,u=o.elementContext,m=u===void 0?St:u,v=o.altBoundary,_=v===void 0?!1:v,C=o.padding,h=C===void 0?0:C,b=i5(typeof h!="number"?h:c5(h,Ba)),y=m===St?jp:St,f=a.rects.popper,B=a.elements[_?y:m],M=r5(st(B)?B:B.contextElement||qe(a.elements.popper),c,d,l),E=ht(a.elements.reference),I=Pn({reference:E,element:f,strategy:"absolute",placement:s}),P=Wa(Object.assign({},f,I)),R=m===St?P:E,F={top:M.top-R.top+b.top,bottom:R.bottom-M.bottom+b.bottom,left:M.left-R.left+b.left,right:R.right-M.right+b.right},z=a.modifiersData.offset;if(m===St&&z){var T=z[s];Object.keys(F).forEach(function(j){var Y=[Ze,Ee].indexOf(j)>=0?1:-1,Z=[_e,Ee].indexOf(j)>=0?"y":"x";F[j]+=T[Z]*Y})}return F}var Wo={placement:"bottom",modifiers:[],strategy:"absolute"};function qo(){for(var a=arguments.length,t=new Array(a),o=0;o<a;o++)t[o]=arguments[o];return!t.some(function(n){return!(n&&typeof n.getBoundingClientRect=="function")})}function d5(a){a===void 0&&(a={});var t=a,o=t.defaultModifiers,n=o===void 0?[]:o,s=t.defaultOptions,r=s===void 0?Wo:s;return function(i,c,p){p===void 0&&(p=r);var d={placement:"bottom",orderedModifiers:[],options:Object.assign({},Wo,r),modifiersData:{},elements:{reference:i,popper:c},attributes:{},styles:{}},u=[],m=!1,v={state:d,setOptions:function(b){var y=typeof b=="function"?b(d.options):b;C(),d.options=Object.assign({},r,d.options,y),d.scrollParents={reference:st(i)?Mt(i):i.contextElement?Mt(i.contextElement):[],popper:Mt(c)};var f=Jp(t5([].concat(n,d.options.modifiers)));return d.orderedModifiers=f.filter(function(B){return B.enabled}),_(),v.update()},forceUpdate:function(){if(!m){var b=d.elements,y=b.reference,f=b.popper;if(qo(y,f)){d.rects={reference:Dp(y,Ea(f),d.options.strategy==="fixed"),popper:On(f)},d.reset=!1,d.placement=d.options.placement,d.orderedModifiers.forEach(function(F){return d.modifiersData[F.name]=Object.assign({},F.data)});for(var B=0;B<d.orderedModifiers.length;B++){if(d.reset===!0){d.reset=!1,B=-1;continue}var M=d.orderedModifiers[B],E=M.fn,I=M.options,P=I===void 0?{}:I,R=M.name;typeof E=="function"&&(d=E({state:d,options:P,name:R,instance:v})||d)}}}},update:e5(function(){return new Promise(function(h){v.forceUpdate(),h(d)})}),destroy:function(){C(),m=!0}};if(!qo(i,c))return v;v.setOptions(p).then(function(h){!m&&p.onFirstUpdate&&p.onFirstUpdate(h)});function _(){d.orderedModifiers.forEach(function(h){var b=h.name,y=h.options,f=y===void 0?{}:y,B=h.effect;if(typeof B=="function"){var M=B({state:d,name:b,instance:v,options:f}),E=function(){};u.push(M||E)}})}function C(){u.forEach(function(h){return h()}),u=[]}return v}}var oa={passive:!0};function u5(a){var t=a.state,o=a.instance,n=a.options,s=n.scroll,r=s===void 0?!0:s,l=n.resize,i=l===void 0?!0:l,c=de(t.elements.popper),p=[].concat(t.scrollParents.reference,t.scrollParents.popper);return r&&p.forEach(function(d){d.addEventListener("scroll",o.update,oa)}),i&&c.addEventListener("resize",o.update,oa),function(){r&&p.forEach(function(d){d.removeEventListener("scroll",o.update,oa)}),i&&c.removeEventListener("resize",o.update,oa)}}var p5={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:u5,data:{}};function m5(a){var t=a.state,o=a.name;t.modifiersData[o]=Pn({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}var v5={name:"popperOffsets",enabled:!0,phase:"read",fn:m5,data:{}},f5={top:"auto",right:"auto",bottom:"auto",left:"auto"};function h5(a,t){var o=a.x,n=a.y,s=t.devicePixelRatio||1;return{x:ft(o*s)/s||0,y:ft(n*s)/s||0}}function Yo(a){var t,o=a.popper,n=a.popperRect,s=a.placement,r=a.variation,l=a.offsets,i=a.position,c=a.gpuAcceleration,p=a.adaptive,d=a.roundOffsets,u=a.isFixed,m=l.x,v=m===void 0?0:m,_=l.y,C=_===void 0?0:_,h=typeof d=="function"?d({x:v,y:C}):{x:v,y:C};v=h.x,C=h.y;var b=l.hasOwnProperty("x"),y=l.hasOwnProperty("y"),f=Se,B=_e,M=window;if(p){var E=Ea(o),I="clientHeight",P="clientWidth";if(E===de(o)&&(E=qe(o),Oe(E).position!=="static"&&i==="absolute"&&(I="scrollHeight",P="scrollWidth")),E=E,s===_e||(s===Se||s===Ze)&&r===Ht){B=Ee;var R=u&&E===M&&M.visualViewport?M.visualViewport.height:E[I];C-=R-n.height,C*=c?1:-1}if(s===Se||(s===_e||s===Ee)&&r===Ht){f=Ze;var F=u&&E===M&&M.visualViewport?M.visualViewport.width:E[P];v-=F-n.width,v*=c?1:-1}}var z=Object.assign({position:i},p&&f5),T=d===!0?h5({x:v,y:C},de(o)):{x:v,y:C};if(v=T.x,C=T.y,c){var j;return Object.assign({},z,(j={},j[B]=y?"0":"",j[f]=b?"0":"",j.transform=(M.devicePixelRatio||1)<=1?"translate("+v+"px, "+C+"px)":"translate3d("+v+"px, "+C+"px, 0)",j))}return Object.assign({},z,(t={},t[B]=y?C+"px":"",t[f]=b?v+"px":"",t.transform="",t))}function C5(a){var t=a.state,o=a.options,n=o.gpuAcceleration,s=n===void 0?!0:n,r=o.adaptive,l=r===void 0?!0:r,i=o.roundOffsets,c=i===void 0?!0:i,p={placement:Fe(t.placement),variation:gt(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:s,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,Yo(Object.assign({},p,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:l,roundOffsets:c})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,Yo(Object.assign({},p,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:c})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}var g5={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:C5,data:{}};function _5(a){var t=a.state;Object.keys(t.elements).forEach(function(o){var n=t.styles[o]||{},s=t.attributes[o]||{},r=t.elements[o];!he(r)||!$e(r)||(Object.assign(r.style,n),Object.keys(s).forEach(function(l){var i=s[l];i===!1?r.removeAttribute(l):r.setAttribute(l,i===!0?"":i)}))})}function y5(a){var t=a.state,o={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,o.popper),t.styles=o,t.elements.arrow&&Object.assign(t.elements.arrow.style,o.arrow),function(){Object.keys(t.elements).forEach(function(n){var s=t.elements[n],r=t.attributes[n]||{},l=Object.keys(t.styles.hasOwnProperty(n)?t.styles[n]:o[n]),i=l.reduce(function(c,p){return c[p]="",c},{});!he(s)||!$e(s)||(Object.assign(s.style,i),Object.keys(r).forEach(function(c){s.removeAttribute(c)}))})}}var b5={name:"applyStyles",enabled:!0,phase:"write",fn:_5,effect:y5,requires:["computeStyles"]},k5=[p5,v5,g5,b5],w5=d5({defaultModifiers:k5});function $5(a){return a==="x"?"y":"x"}function na(a,t,o){return at(a,pa(t,o))}function E5(a,t,o){var n=na(a,t,o);return n>o?o:n}function B5(a){var t=a.state,o=a.options,n=a.name,s=o.mainAxis,r=s===void 0?!0:s,l=o.altAxis,i=l===void 0?!1:l,c=o.boundary,p=o.rootBoundary,d=o.altBoundary,u=o.padding,m=o.tether,v=m===void 0?!0:m,_=o.tetherOffset,C=_===void 0?0:_,h=uo(t,{boundary:c,rootBoundary:p,padding:u,altBoundary:d}),b=Fe(t.placement),y=gt(t.placement),f=!y,B=Dn(b),M=$5(B),E=t.modifiersData.popperOffsets,I=t.rects.reference,P=t.rects.popper,R=typeof C=="function"?C(Object.assign({},t.rects,{placement:t.placement})):C,F=typeof R=="number"?{mainAxis:R,altAxis:R}:Object.assign({mainAxis:0,altAxis:0},R),z=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,T={x:0,y:0};if(E){if(r){var j,Y=B==="y"?_e:Se,Z=B==="y"?Ee:Ze,U=B==="y"?"height":"width",V=E[B],$=V+h[Y],k=V-h[Z],O=v?-P[U]/2:0,g=y===Ct?I[U]:P[U],S=y===Ct?-P[U]:-I[U],q=t.elements.arrow,x=v&&q?On(q):{width:0,height:0},D=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:Hn(),N=D[Y],H=D[Z],J=na(0,I[U],x[U]),ie=f?I[U]/2-O-J-N-F.mainAxis:g-J-N-F.mainAxis,yt=f?-I[U]/2+O+J+H+F.mainAxis:S+J+H+F.mainAxis,bt=t.elements.arrow&&Ea(t.elements.arrow),Le=bt?B==="y"?bt.clientTop||0:bt.clientLeft||0:0,Wt=(j=z==null?void 0:z[B])!=null?j:0,Sa=V+ie-Wt-Le,De=V+yt-Wt,qt=na(v?pa($,Sa):$,V,v?at(k,De):k);E[B]=qt,T[B]=qt-V}if(i){var Pe,ye=B==="x"?_e:Se,ue=B==="x"?Ee:Ze,ge=E[M],Be=M==="y"?"height":"width",kt=ge+h[ye],Yt=ge-h[ue],pe=[_e,Se].indexOf(b)!==-1,wt=(Pe=z==null?void 0:z[M])!=null?Pe:0,He=pe?kt:ge-I[Be]-P[Be]-wt+F.altAxis,Ke=pe?ge+I[Be]+P[Be]-wt-F.altAxis:Yt,Kt=v&&pe?E5(He,ge,Ke):na(v?He:kt,ge,v?Ke:Yt);E[M]=Kt,T[M]=Kt-ge}t.modifiersData[n]=T}}var V5={name:"preventOverflow",enabled:!0,phase:"main",fn:B5,requiresIfExists:["offset"]},N5={left:"right",right:"left",bottom:"top",top:"bottom"};function sa(a){return a.replace(/left|right|bottom|top/g,function(t){return N5[t]})}var S5={start:"end",end:"start"};function Ko(a){return a.replace(/start|end/g,function(t){return S5[t]})}function M5(a,t){t===void 0&&(t={});var o=t,n=o.placement,s=o.boundary,r=o.rootBoundary,l=o.padding,i=o.flipVariations,c=o.allowedAutoPlacements,p=c===void 0?Fp:c,d=gt(n),u=d?i?Zo:Zo.filter(function(_){return gt(_)===d}):Ba,m=u.filter(function(_){return p.indexOf(_)>=0});m.length===0&&(m=u);var v=m.reduce(function(_,C){return _[C]=uo(a,{placement:C,boundary:s,rootBoundary:r,padding:l})[Fe(C)],_},{});return Object.keys(v).sort(function(_,C){return v[_]-v[C]})}function A5(a){if(Fe(a)===co)return[];var t=sa(a);return[Ko(a),t,Ko(t)]}function T5(a){var t=a.state,o=a.options,n=a.name;if(!t.modifiersData[n]._skip){for(var s=o.mainAxis,r=s===void 0?!0:s,l=o.altAxis,i=l===void 0?!0:l,c=o.fallbackPlacements,p=o.padding,d=o.boundary,u=o.rootBoundary,m=o.altBoundary,v=o.flipVariations,_=v===void 0?!0:v,C=o.allowedAutoPlacements,h=t.options.placement,b=Fe(h),y=b===h,f=c||(y||!_?[sa(h)]:A5(h)),B=[h].concat(f).reduce(function(x,D){return x.concat(Fe(D)===co?M5(t,{placement:D,boundary:d,rootBoundary:u,padding:p,flipVariations:_,allowedAutoPlacements:C}):D)},[]),M=t.rects.reference,E=t.rects.popper,I=new Map,P=!0,R=B[0],F=0;F<B.length;F++){var z=B[F],T=Fe(z),j=gt(z)===Ct,Y=[_e,Ee].indexOf(T)>=0,Z=Y?"width":"height",U=uo(t,{placement:z,boundary:d,rootBoundary:u,altBoundary:m,padding:p}),V=Y?j?Ze:Se:j?Ee:_e;M[Z]>E[Z]&&(V=sa(V));var $=sa(V),k=[];if(r&&k.push(U[T]<=0),i&&k.push(U[V]<=0,U[$]<=0),k.every(function(x){return x})){R=z,P=!1;break}I.set(z,k)}if(P)for(var O=_?3:1,g=function(D){var N=B.find(function(H){var J=I.get(H);if(J)return J.slice(0,D).every(function(ie){return ie})});if(N)return R=N,"break"},S=O;S>0;S--){var q=g(S);if(q==="break")break}t.placement!==R&&(t.modifiersData[n]._skip=!0,t.placement=R,t.reset=!0)}}var O5={name:"flip",enabled:!0,phase:"main",fn:T5,requiresIfExists:["offset"],data:{_skip:!1}};function I5(a,t,o){const{disabled:n,appendTo:s,appendToBody:r,openDirection:l}=e.toRefs(a),i=e.getCurrentInstance().proxy,c=o.multiselect,p=o.dropdown,d=e.ref(!1),u=e.ref(null),m=e.ref(null),v=e.computed(()=>s.value||r.value),_=e.computed(()=>l.value==="top"&&m.value==="bottom"||l.value==="bottom"&&m.value!=="top"?"bottom":"top"),C=()=>{d.value||n.value||(d.value=!0,t.emit("open",i),v.value&&e.nextTick(()=>{b()}))},h=()=>{d.value&&(d.value=!1,t.emit("close",i))},b=()=>{if(!u.value)return;let f=parseInt(window.getComputedStyle(p.value).borderTopWidth.replace("px","")),B=parseInt(window.getComputedStyle(p.value).borderBottomWidth.replace("px",""));u.value.setOptions(M=>({...M,modifiers:[...M.modifiers,{name:"offset",options:{offset:[0,(_.value==="top"?f:B)*-1]}}]})),u.value.update()},y=f=>{for(;f&&f!==document.body;){if(getComputedStyle(f).position==="fixed")return!0;f=f.parentElement}return!1};return e.onMounted(()=>{v.value&&(u.value=w5(c.value,p.value,{strategy:y(c.value)?"fixed":void 0,placement:l.value,modifiers:[V5,O5,{name:"sameWidth",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:({state:f})=>{f.styles.popper.width=`${f.rects.reference.width}px`},effect:({state:f})=>{f.elements.popper.style.width=`${f.elements.reference.offsetWidth}px`}},{name:"toggleClass",enabled:!0,phase:"write",fn({state:f}){m.value=f.placement}}]}))}),e.onBeforeUnmount(()=>{!v.value||!u.value||(u.value.destroy(),u.value=null)}),{popper:u,isOpen:d,open:C,close:h,placement:_,updatePopper:b}}function L5(a,t,o){const{searchable:n,disabled:s,clearOnBlur:r}=e.toRefs(a),l=o.input,i=o.open,c=o.close,p=o.clearSearch,d=o.isOpen,u=o.wrapper,m=o.tags,v=e.ref(!1),_=e.ref(!1),C=e.computed(()=>n.value||s.value?-1:0),h=()=>{n.value&&l.value.blur(),u.value.blur()},b=()=>{n.value&&!s.value&&l.value.focus()},y=(P=!0)=>{s.value||(v.value=!0,P&&i())},f=()=>{v.value=!1,setTimeout(()=>{v.value||(c(),r.value&&p())},1)};return{tabindex:C,isActive:v,mouseClicked:_,blur:h,focus:b,activate:y,deactivate:f,handleFocusIn:P=>{P.target.closest("[data-tags]")&&P.target.nodeName!=="INPUT"||P.target.closest("[data-clear]")||y(_.value)},handleFocusOut:()=>{f()},handleCaretClick:()=>{f(),h()},handleMousedown:P=>{_.value=!0,d.value&&(P.target.isEqualNode(u.value)||P.target.isEqualNode(m.value))?setTimeout(()=>{f()},0):!d.value&&(document.activeElement.isEqualNode(u.value)||document.activeElement.isEqualNode(l.value))&&y(),setTimeout(()=>{_.value=!1},0)}}}function D5(a,t,o){const{mode:n,addTagOn:s,openDirection:r,searchable:l,showOptions:i,valueProp:c,groups:p,addOptionOn:d,createTag:u,createOption:m,reverse:v}=e.toRefs(a),_=e.getCurrentInstance().proxy,C=o.iv,h=o.update,b=o.deselect,y=o.search,f=o.setPointer,B=o.selectPointer,M=o.backwardPointer,E=o.forwardPointer,I=o.multiselect,P=o.wrapper,R=o.tags,F=o.isOpen,z=o.open,T=o.blur,j=o.fo,Y=e.computed(()=>u.value||m.value||!1),Z=e.computed(()=>s.value!==void 0?s.value:d.value!==void 0?d.value:["enter"]),U=()=>{n.value==="tags"&&!i.value&&Y.value&&l.value&&!p.value&&f(j.value[j.value.map(k=>k[c.value]).indexOf(y.value)])};return{handleKeydown:k=>{t.emit("keydown",k,_);let O,g;switch(["ArrowLeft","ArrowRight","Enter"].indexOf(k.key)!==-1&&n.value==="tags"&&(O=[...I.value.querySelectorAll("[data-tags] > *")].filter(S=>S!==R.value),g=O.findIndex(S=>S===document.activeElement)),k.key){case"Backspace":if(n.value==="single"||l.value&&[null,""].indexOf(y.value)===-1||C.value.length===0)return;let S=C.value.filter(q=>!q.disabled&&q.remove!==!1);S.length&&b(S[S.length-1]);break;case"Enter":if(k.preventDefault(),k.keyCode===229)return;if(g!==-1&&g!==void 0){h([...C.value].filter((q,x)=>x!==g)),g===O.length-1&&(O.length-1?O[O.length-2].focus():l.value?R.value.querySelector("input").focus():P.value.focus());return}if(Z.value.indexOf("enter")===-1&&Y.value)return;U(),B();break;case" ":if(!Y.value&&!l.value){k.preventDefault(),U(),B();return}if(!Y.value)return!1;if(Z.value.indexOf("space")===-1&&Y.value)return;k.preventDefault(),U(),B();break;case"Tab":case";":case",":if(Z.value.indexOf(k.key.toLowerCase())===-1||!Y.value)return;U(),B(),k.preventDefault();break;case"Escape":T();break;case"ArrowUp":if(k.preventDefault(),!i.value)return;F.value||z(),M();break;case"ArrowDown":if(k.preventDefault(),!i.value)return;F.value||z(),E();break;case"ArrowLeft":if(l.value&&R.value&&R.value.querySelector("input").selectionStart||k.shiftKey||n.value!=="tags"||!C.value||!C.value.length)return;k.preventDefault(),g===-1?O[O.length-1].focus():g>0&&O[g-1].focus();break;case"ArrowRight":if(g===-1||k.shiftKey||n.value!=="tags"||!C.value||!C.value.length)return;k.preventDefault(),O.length>g+1?O[g+1].focus():l.value?R.value.querySelector("input").focus():l.value||P.value.focus();break}},handleKeyup:k=>{t.emit("keyup",k,_)},preparePointer:U}}function P5(a,t,o){const{classes:n,disabled:s,showOptions:r,breakTags:l}=e.toRefs(a),i=o.isOpen,c=o.isPointed,p=o.isSelected,d=o.isDisabled,u=o.isActive,m=o.canPointGroups,v=o.resolving,_=o.fo,C=o.placement,h=e.computed(()=>({container:"multiselect",containerDisabled:"is-disabled",containerOpen:"is-open",containerOpenTop:"is-open-top",containerActive:"is-active",wrapper:"multiselect-wrapper",singleLabel:"multiselect-single-label",singleLabelText:"multiselect-single-label-text",multipleLabel:"multiselect-multiple-label",search:"multiselect-search",tags:"multiselect-tags",tag:"multiselect-tag",tagWrapper:"multiselect-tag-wrapper",tagWrapperBreak:"multiselect-tag-wrapper-break",tagDisabled:"is-disabled",tagRemove:"multiselect-tag-remove",tagRemoveIcon:"multiselect-tag-remove-icon",tagsSearchWrapper:"multiselect-tags-search-wrapper",tagsSearch:"multiselect-tags-search",tagsSearchCopy:"multiselect-tags-search-copy",placeholder:"multiselect-placeholder",caret:"multiselect-caret",caretOpen:"is-open",clear:"multiselect-clear",clearIcon:"multiselect-clear-icon",spinner:"multiselect-spinner",inifinite:"multiselect-inifite",inifiniteSpinner:"multiselect-inifite-spinner",dropdown:"multiselect-dropdown",dropdownTop:"is-top",dropdownHidden:"is-hidden",options:"multiselect-options",optionsTop:"is-top",group:"multiselect-group",groupLabel:"multiselect-group-label",groupLabelPointable:"is-pointable",groupLabelPointed:"is-pointed",groupLabelSelected:"is-selected",groupLabelDisabled:"is-disabled",groupLabelSelectedPointed:"is-selected is-pointed",groupLabelSelectedDisabled:"is-selected is-disabled",groupOptions:"multiselect-group-options",option:"multiselect-option",optionPointed:"is-pointed",optionSelected:"is-selected",optionDisabled:"is-disabled",optionSelectedPointed:"is-selected is-pointed",optionSelectedDisabled:"is-selected is-disabled",noOptions:"multiselect-no-options",noResults:"multiselect-no-results",fakeInput:"multiselect-fake-input",assist:"multiselect-assistive-text",spacer:"multiselect-spacer",...n.value})),b=e.computed(()=>!!(i.value&&r.value&&(!v.value||v.value&&_.value.length)));return{classList:e.computed(()=>{const f=h.value;return{container:[f.container].concat(s.value?f.containerDisabled:[]).concat(b.value&&C.value==="top"?f.containerOpenTop:[]).concat(b.value&&C.value!=="top"?f.containerOpen:[]).concat(u.value?f.containerActive:[]),wrapper:f.wrapper,spacer:f.spacer,singleLabel:f.singleLabel,singleLabelText:f.singleLabelText,multipleLabel:f.multipleLabel,search:f.search,tags:f.tags,tag:[f.tag].concat(s.value?f.tagDisabled:[]),tagWrapper:[f.tagWrapper,l.value?f.tagWrapperBreak:null],tagDisabled:f.tagDisabled,tagRemove:f.tagRemove,tagRemoveIcon:f.tagRemoveIcon,tagsSearchWrapper:f.tagsSearchWrapper,tagsSearch:f.tagsSearch,tagsSearchCopy:f.tagsSearchCopy,placeholder:f.placeholder,caret:[f.caret].concat(i.value?f.caretOpen:[]),clear:f.clear,clearIcon:f.clearIcon,spinner:f.spinner,inifinite:f.inifinite,inifiniteSpinner:f.inifiniteSpinner,dropdown:[f.dropdown].concat(C.value==="top"?f.dropdownTop:[]).concat(!i.value||!r.value||!b.value?f.dropdownHidden:[]),options:[f.options].concat(C.value==="top"?f.optionsTop:[]),group:f.group,groupLabel:B=>{let M=[f.groupLabel];return c(B)?M.push(p(B)?f.groupLabelSelectedPointed:f.groupLabelPointed):p(B)&&m.value?M.push(d(B)?f.groupLabelSelectedDisabled:f.groupLabelSelected):d(B)&&M.push(f.groupLabelDisabled),m.value&&M.push(f.groupLabelPointable),M},groupOptions:f.groupOptions,option:(B,M)=>{let E=[f.option];return c(B)?E.push(p(B)?f.optionSelectedPointed:f.optionPointed):p(B)?E.push(d(B)?f.optionSelectedDisabled:f.optionSelected):(d(B)||M&&d(M))&&E.push(f.optionDisabled),E},noOptions:f.noOptions,noResults:f.noResults,assist:f.assist,fakeInput:f.fakeInput}}),showDropdown:b}}function H5(a,t,o){const{limit:n,infinite:s}=e.toRefs(a),r=o.isOpen,l=o.offset,i=o.search,c=o.pfo,p=o.eo,d=e.ref(null),u=e.ref(null),m=e.computed(()=>l.value<c.value.length),v=C=>{const{isIntersecting:h,target:b}=C[0];if(h){const y=b.offsetParent,f=y.scrollTop;l.value+=n.value==-1?10:n.value,e.nextTick(()=>{y.scrollTop=f})}},_=()=>{r.value&&l.value<c.value.length?d.value.observe(u.value):!r.value&&d.value&&d.value.disconnect()};return e.watch(r,()=>{s.value&&_()}),e.watch(i,()=>{s.value&&(l.value=n.value,_())},{flush:"post"}),e.watch(p,()=>{s.value&&_()},{immediate:!1,flush:"post"}),e.onMounted(()=>{window&&window.IntersectionObserver&&(d.value=new IntersectionObserver(v))}),{hasMore:m,infiniteLoader:u}}function R5(a,t,o){const{placeholder:n,id:s,valueProp:r,label:l,mode:i,groupLabel:c,aria:p,searchable:d}=e.toRefs(a),u=o.pointer,m=o.iv,v=o.hasSelected,_=o.multipleLabelText,C=e.ref(null),h=e.computed(()=>{let T=[];return s&&s.value&&T.push(s.value),T.push("assist"),T.join("-")}),b=e.computed(()=>{let T=[];return s&&s.value&&T.push(s.value),T.push("multiselect-options"),T.join("-")}),y=e.computed(()=>{let T=[];if(s&&s.value&&T.push(s.value),u.value)return T.push(u.value.group?"multiselect-group":"multiselect-option"),T.push(u.value.group?u.value.index:u.value[r.value]),T.join("-")}),f=e.computed(()=>n.value),B=e.computed(()=>i.value!=="single"),M=e.computed(()=>{let T="";return i.value==="single"&&v.value&&(T+=m.value[l.value]),i.value==="multiple"&&v.value&&(T+=_.value),i.value==="tags"&&v.value&&(T+=m.value.map(j=>j[l.value]).join(", ")),T}),E=e.computed(()=>{let T={...p.value};return d.value&&(T["aria-labelledby"]=T["aria-labelledby"]?`${h.value} ${T["aria-labelledby"]}`:h.value,M.value&&T["aria-label"]&&(T["aria-label"]=`${M.value}, ${T["aria-label"]}`)),T}),I=T=>{let j=[];return s&&s.value&&j.push(s.value),j.push("multiselect-option"),j.push(T[r.value]),j.join("-")},P=T=>{let j=[];return s&&s.value&&j.push(s.value),j.push("multiselect-group"),j.push(T.index),j.join("-")},R=T=>{let j=[];return j.push(T),j.join(" ")},F=T=>{let j=[];return j.push(T),j.join(" ")},z=T=>`${T} ❎`;return e.onMounted(()=>{if(s&&s.value&&document&&document.querySelector){let T=document.querySelector(`[for="${s.value}"]`);C.value=T?T.innerText:null}}),{arias:E,ariaLabel:M,ariaAssist:h,ariaControls:b,ariaPlaceholder:f,ariaMultiselectable:B,ariaActiveDescendant:y,ariaOptionId:I,ariaOptionLabel:R,ariaGroupId:P,ariaGroupLabel:F,ariaTagLabel:z}}function j5(a,t,o){const{locale:n,fallbackLocale:s}=e.toRefs(a);return{localize:l=>!l||typeof l!="object"?l:l&&l[n.value]?l[n.value]:l&&n.value&&l[n.value.toUpperCase()]?l[n.value.toUpperCase()]:l&&l[s.value]?l[s.value]:l&&s.value&&l[s.value.toUpperCase()]?l[s.value.toUpperCase()]:l&&Object.keys(l)[0]?l[Object.keys(l)[0]]:""}}function F5(a,t,o){const n=e.ref(null),s=e.ref(null),r=e.ref(null),l=e.ref(null),i=e.ref(null);return{multiselect:n,wrapper:s,tags:r,input:l,dropdown:i}}function U5(a,t,o,n={}){return o.forEach(s=>{s&&(n={...n,...s(a,t,n)})}),n}var je={name:"Multiselect",emits:["paste","open","close","select","deselect","input","search-change","tag","option","update:modelValue","change","clear","keydown","keyup","max","create"],props:{value:{required:!1},modelValue:{required:!1},options:{type:[Array,Object,Function],required:!1,default:()=>[]},id:{type:[String,Number],required:!1},name:{type:[String,Number],required:!1,default:"multiselect"},disabled:{type:Boolean,required:!1,default:!1},label:{type:String,required:!1,default:"label"},trackBy:{type:[String,Array],required:!1,default:void 0},valueProp:{type:String,required:!1,default:"value"},placeholder:{type:String,required:!1,default:null},mode:{type:String,required:!1,default:"single"},searchable:{type:Boolean,required:!1,default:!1},limit:{type:Number,required:!1,default:-1},hideSelected:{type:Boolean,required:!1,default:!0},createTag:{type:Boolean,required:!1,default:void 0},createOption:{type:Boolean,required:!1,default:void 0},appendNewTag:{type:Boolean,required:!1,default:void 0},appendNewOption:{type:Boolean,required:!1,default:void 0},addTagOn:{type:Array,required:!1,default:void 0},addOptionOn:{type:Array,required:!1,default:void 0},caret:{type:Boolean,required:!1,default:!0},loading:{type:Boolean,required:!1,default:!1},noOptionsText:{type:[String,Object],required:!1,default:"The list is empty"},noResultsText:{type:[String,Object],required:!1,default:"No results found"},multipleLabel:{type:Function,required:!1},object:{type:Boolean,required:!1,default:!1},delay:{type:Number,required:!1,default:-1},minChars:{type:Number,required:!1,default:0},resolveOnLoad:{type:Boolean,required:!1,default:!0},filterResults:{type:Boolean,required:!1,default:!0},clearOnSearch:{type:Boolean,required:!1,default:!1},clearOnSelect:{type:Boolean,required:!1,default:!0},canDeselect:{type:Boolean,required:!1,default:!0},canClear:{type:Boolean,required:!1,default:!0},max:{type:Number,required:!1,default:-1},showOptions:{type:Boolean,required:!1,default:!0},required:{type:Boolean,required:!1,default:!1},openDirection:{type:String,required:!1,default:"bottom"},nativeSupport:{type:Boolean,required:!1,default:!1},classes:{type:Object,required:!1,default:()=>({})},strict:{type:Boolean,required:!1,default:!0},closeOnSelect:{type:Boolean,required:!1,default:!0},closeOnDeselect:{type:Boolean,required:!1,default:!1},autocomplete:{type:String,required:!1},groups:{type:Boolean,required:!1,default:!1},groupLabel:{type:String,required:!1,default:"label"},groupOptions:{type:String,required:!1,default:"options"},groupHideEmpty:{type:Boolean,required:!1,default:!1},groupSelect:{type:Boolean,required:!1,default:!0},inputType:{type:String,required:!1,default:"text"},attrs:{required:!1,type:Object,default:()=>({})},onCreate:{required:!1,type:Function},disabledProp:{type:String,required:!1,default:"disabled"},searchStart:{type:Boolean,required:!1,default:!1},reverse:{type:Boolean,required:!1,default:!1},regex:{type:[Object,String,RegExp],required:!1,default:void 0},rtl:{type:Boolean,required:!1,default:!1},infinite:{type:Boolean,required:!1,default:!1},aria:{required:!1,type:Object,default:()=>({})},clearOnBlur:{required:!1,type:Boolean,default:!0},locale:{required:!1,type:String,default:null},fallbackLocale:{required:!1,type:String,default:"en"},searchFilter:{required:!1,type:Function,default:null},allowAbsent:{required:!1,type:Boolean,default:!1},appendToBody:{required:!1,type:Boolean,default:!1},closeOnScroll:{required:!1,type:Boolean,default:!1},breakTags:{required:!1,type:Boolean,default:!1},appendTo:{required:!1,type:String}},setup(a,t){return U5(a,t,[F5,j5,Bp,Np,I5,Vp,Ep,L5,Ap,H5,Tp,D5,P5,R5])},beforeMount(){var a,t;((t=(a=this.$root.constructor)==null?void 0:a.version)!=null&&t.match(/^2\./)||this.vueVersionMs===2)&&(this.$options.components.Teleport||(this.$options.components.Teleport={render(){return this.$slots.default?this.$slots.default[0]:null}}))}};const z5=["id","dir"],Z5=["tabindex","aria-controls","aria-placeholder","aria-expanded","aria-activedescendant","aria-multiselectable","role"],x5=["type","modelValue","value","autocomplete","id","aria-controls","aria-placeholder","aria-expanded","aria-activedescendant","aria-multiselectable"],W5=["onKeyup","aria-label"],q5=["onClick"],Y5=["type","modelValue","value","id","autocomplete","aria-controls","aria-placeholder","aria-expanded","aria-activedescendant","aria-multiselectable"],K5=["innerHTML"],G5=["id"],X5=["id"],Q5=["id","aria-label","aria-selected"],J5=["data-pointed","onMouseenter","onMousedown"],em=["innerHTML"],tm=["aria-label"],am=["data-pointed","data-selected","onMouseenter","onMousedown","id","aria-selected","aria-label"],om=["data-pointed","data-selected","onMouseenter","onMousedown","id","aria-selected","aria-label"],nm=["innerHTML"],sm=["innerHTML"],lm=["value"],rm=["name","value"],im=["name","value"],cm=["id"];function dm(a,t,o,n,s,r){return e.openBlock(),e.createElementBlock("div",{ref:"multiselect",class:e.normalizeClass(a.classList.container),id:o.searchable?void 0:o.id,dir:o.rtl?"rtl":void 0,onFocusin:t[10]||(t[10]=(...l)=>a.handleFocusIn&&a.handleFocusIn(...l)),onFocusout:t[11]||(t[11]=(...l)=>a.handleFocusOut&&a.handleFocusOut(...l)),onKeyup:t[12]||(t[12]=(...l)=>a.handleKeyup&&a.handleKeyup(...l)),onKeydown:t[13]||(t[13]=(...l)=>a.handleKeydown&&a.handleKeydown(...l))},[e.createElementVNode("div",e.mergeProps({class:a.classList.wrapper,onMousedown:t[9]||(t[9]=(...l)=>a.handleMousedown&&a.handleMousedown(...l)),ref:"wrapper",tabindex:a.tabindex,"aria-controls":o.searchable?void 0:a.ariaControls,"aria-placeholder":o.searchable?void 0:a.ariaPlaceholder,"aria-expanded":o.searchable?void 0:a.isOpen,"aria-activedescendant":o.searchable?void 0:a.ariaActiveDescendant,"aria-multiselectable":o.searchable?void 0:a.ariaMultiselectable,role:o.searchable?void 0:"combobox"},o.searchable?{}:a.arias),[e.createCommentVNode(" Search "),o.mode!=="tags"&&o.searchable&&!o.disabled?(e.openBlock(),e.createElementBlock("input",e.mergeProps({key:0,type:o.inputType,modelValue:a.search,value:a.search,class:a.classList.search,autocomplete:o.autocomplete,id:o.searchable?o.id:void 0,onInput:t[0]||(t[0]=(...l)=>a.handleSearchInput&&a.handleSearchInput(...l)),onKeypress:t[1]||(t[1]=(...l)=>a.handleKeypress&&a.handleKeypress(...l)),onPaste:t[2]||(t[2]=e.withModifiers((...l)=>a.handlePaste&&a.handlePaste(...l),["stop"])),ref:"input","aria-controls":a.ariaControls,"aria-placeholder":a.ariaPlaceholder,"aria-expanded":a.isOpen,"aria-activedescendant":a.ariaActiveDescendant,"aria-multiselectable":a.ariaMultiselectable,role:"combobox"},{...o.attrs,...a.arias}),null,16,x5)):e.createCommentVNode("v-if",!0),e.createCommentVNode(" Tags (with search) "),o.mode=="tags"?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(a.classList.tags),"data-tags":""},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.iv,(l,i,c)=>e.renderSlot(a.$slots,"tag",{option:l,handleTagRemove:a.handleTagRemove,disabled:o.disabled},()=>[(e.openBlock(),e.createElementBlock("span",{class:e.normalizeClass([a.classList.tag,l.disabled?a.classList.tagDisabled:null]),tabindex:"-1",onKeyup:e.withKeys(p=>a.handleTagRemove(l,p),["enter"]),key:c,"aria-label":a.ariaTagLabel(a.localize(l[o.label]))},[e.createElementVNode("span",{class:e.normalizeClass(a.classList.tagWrapper)},e.toDisplayString(a.localize(l[o.label])),3),!o.disabled&&!l.disabled?(e.openBlock(),e.createElementBlock("span",{key:0,class:e.normalizeClass(a.classList.tagRemove),onClick:e.withModifiers(p=>a.handleTagRemove(l,p),["stop"])},[e.createElementVNode("span",{class:e.normalizeClass(a.classList.tagRemoveIcon)},null,2)],10,q5)):e.createCommentVNode("v-if",!0)],42,W5))])),256)),e.createElementVNode("div",{class:e.normalizeClass(a.classList.tagsSearchWrapper),ref:"tags"},[e.createCommentVNode(" Used for measuring search width "),e.createElementVNode("span",{class:e.normalizeClass(a.classList.tagsSearchCopy)},e.toDisplayString(a.search),3),e.createCommentVNode(" Actual search input "),o.searchable&&!o.disabled?(e.openBlock(),e.createElementBlock("input",e.mergeProps({key:0,type:o.inputType,modelValue:a.search,value:a.search,class:a.classList.tagsSearch,id:o.searchable?o.id:void 0,autocomplete:o.autocomplete,onInput:t[3]||(t[3]=(...l)=>a.handleSearchInput&&a.handleSearchInput(...l)),onKeypress:t[4]||(t[4]=(...l)=>a.handleKeypress&&a.handleKeypress(...l)),onPaste:t[5]||(t[5]=e.withModifiers((...l)=>a.handlePaste&&a.handlePaste(...l),["stop"])),ref:"input","aria-controls":a.ariaControls,"aria-placeholder":a.ariaPlaceholder,"aria-expanded":a.isOpen,"aria-activedescendant":a.ariaActiveDescendant,"aria-multiselectable":a.ariaMultiselectable,role:"combobox"},{...o.attrs,...a.arias}),null,16,Y5)):e.createCommentVNode("v-if",!0)],2)],2)):e.createCommentVNode("v-if",!0),e.createCommentVNode(" Single label "),o.mode=="single"&&a.hasSelected&&!a.search&&a.iv?e.renderSlot(a.$slots,"singlelabel",{key:2,value:a.iv},()=>[e.createElementVNode("div",{class:e.normalizeClass(a.classList.singleLabel)},[e.createElementVNode("span",{class:e.normalizeClass(a.classList.singleLabelText)},e.toDisplayString(a.localize(a.iv[o.label])),3)],2)]):e.createCommentVNode("v-if",!0),e.createCommentVNode(" Multiple label "),o.mode=="multiple"&&a.hasSelected&&!a.search?e.renderSlot(a.$slots,"multiplelabel",{key:3,values:a.iv},()=>[e.createElementVNode("div",{class:e.normalizeClass(a.classList.multipleLabel),innerHTML:a.multipleLabelText},null,10,K5)]):e.createCommentVNode("v-if",!0),e.createCommentVNode(" Placeholder "),o.placeholder&&!a.hasSelected&&!a.search?e.renderSlot(a.$slots,"placeholder",{key:4},()=>[e.createElementVNode("div",{class:e.normalizeClass(a.classList.placeholder),"aria-hidden":"true"},e.toDisplayString(o.placeholder),3)]):e.createCommentVNode("v-if",!0),e.createCommentVNode(" Spinner "),o.loading||a.resolving?e.renderSlot(a.$slots,"spinner",{key:5},()=>[e.createElementVNode("span",{class:e.normalizeClass(a.classList.spinner),"aria-hidden":"true"},null,2)]):e.createCommentVNode("v-if",!0),e.createCommentVNode(" Clear "),a.hasSelected&&!o.disabled&&o.canClear&&!a.busy?e.renderSlot(a.$slots,"clear",{key:6,clear:a.clear},()=>[e.createElementVNode("span",{"aria-hidden":"true",tabindex:"0",role:"button","data-clear":"","aria-roledescription":"❎",class:e.normalizeClass(a.classList.clear),onClick:t[6]||(t[6]=(...l)=>a.clear&&a.clear(...l)),onKeyup:t[7]||(t[7]=e.withKeys((...l)=>a.clear&&a.clear(...l),["enter"]))},[e.createElementVNode("span",{class:e.normalizeClass(a.classList.clearIcon)},null,2)],34)]):e.createCommentVNode("v-if",!0),e.createCommentVNode(" Caret "),o.caret&&o.showOptions?e.renderSlot(a.$slots,"caret",{key:7,handleCaretClick:a.handleCaretClick,isOpen:a.isOpen},()=>[e.createElementVNode("span",{class:e.normalizeClass(a.classList.caret),onClick:t[8]||(t[8]=(...l)=>a.handleCaretClick&&a.handleCaretClick(...l)),"aria-hidden":"true"},null,2)]):e.createCommentVNode("v-if",!0)],16,Z5),e.createCommentVNode(" Options "),(e.openBlock(),e.createBlock(e.Teleport,{to:o.appendTo||"body",disabled:!o.appendToBody&&!o.appendTo},[e.createElementVNode("div",{id:`${o.id}-dropdown`,class:e.normalizeClass(a.classList.dropdown),tabindex:"-1",ref:"dropdown"},[e.renderSlot(a.$slots,"beforelist",{options:a.fo}),e.createElementVNode("ul",{class:e.normalizeClass(a.classList.options),id:a.ariaControls,role:"listbox"},[o.groups?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(a.fg,(l,i,c)=>(e.openBlock(),e.createElementBlock("li",{class:e.normalizeClass(a.classList.group),key:c,id:a.ariaGroupId(l),"aria-label":a.ariaGroupLabel(a.localize(l[o.groupLabel])),"aria-selected":a.isSelected(l),role:"option"},[l.__CREATE__?e.createCommentVNode("v-if",!0):(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(a.classList.groupLabel(l)),"data-pointed":a.isPointed(l),onMouseenter:p=>a.setPointer(l,i),onMousedown:e.withModifiers(p=>a.handleGroupClick(l),["prevent"])},[e.renderSlot(a.$slots,"grouplabel",{group:l,isSelected:a.isSelected,isPointed:a.isPointed},()=>[e.createElementVNode("span",{innerHTML:a.localize(l[o.groupLabel])},null,8,em)])],42,J5)),e.createElementVNode("ul",{class:e.normalizeClass(a.classList.groupOptions),"aria-label":a.ariaGroupLabel(a.localize(l[o.groupLabel])),role:"group"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.__VISIBLE__,(p,d,u)=>(e.openBlock(),e.createElementBlock("li",{class:e.normalizeClass(a.classList.option(p,l)),"data-pointed":a.isPointed(p),"data-selected":a.isSelected(p)||void 0,key:u,onMouseenter:m=>a.setPointer(p),onMousedown:e.withModifiers(m=>a.handleOptionClick(p),["prevent"]),id:a.ariaOptionId(p),"aria-selected":a.isSelected(p),"aria-label":a.ariaOptionLabel(a.localize(p[o.label])),role:"option"},[e.renderSlot(a.$slots,"option",{option:p,isSelected:a.isSelected,isPointed:a.isPointed,search:a.search},()=>[e.createElementVNode("span",null,e.toDisplayString(a.localize(p[o.label])),1)])],42,am))),128))],10,tm)],10,Q5))),128)):(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:1},e.renderList(a.fo,(l,i,c)=>(e.openBlock(),e.createElementBlock("li",{class:e.normalizeClass(a.classList.option(l)),"data-pointed":a.isPointed(l),"data-selected":a.isSelected(l)||void 0,key:c,onMouseenter:p=>a.setPointer(l),onMousedown:e.withModifiers(p=>a.handleOptionClick(l),["prevent"]),id:a.ariaOptionId(l),"aria-selected":a.isSelected(l),"aria-label":a.ariaOptionLabel(a.localize(l[o.label])),role:"option"},[e.renderSlot(a.$slots,"option",{option:l,isSelected:a.isSelected,isPointed:a.isPointed,search:a.search},()=>[e.createElementVNode("span",null,e.toDisplayString(a.localize(l[o.label])),1)])],42,om))),128))],10,X5),a.noOptions?e.renderSlot(a.$slots,"nooptions",{key:0},()=>[e.createElementVNode("div",{class:e.normalizeClass(a.classList.noOptions),innerHTML:a.localize(o.noOptionsText)},null,10,nm)]):e.createCommentVNode("v-if",!0),a.noResults?e.renderSlot(a.$slots,"noresults",{key:1},()=>[e.createElementVNode("div",{class:e.normalizeClass(a.classList.noResults),innerHTML:a.localize(o.noResultsText)},null,10,sm)]):e.createCommentVNode("v-if",!0),o.infinite&&a.hasMore?(e.openBlock(),e.createElementBlock("div",{key:2,class:e.normalizeClass(a.classList.inifinite),ref:"infiniteLoader"},[e.renderSlot(a.$slots,"infinite",{},()=>[e.createElementVNode("span",{class:e.normalizeClass(a.classList.inifiniteSpinner)},null,2)])],2)):e.createCommentVNode("v-if",!0),e.renderSlot(a.$slots,"afterlist",{options:a.fo})],10,G5)],8,["to","disabled"])),e.createCommentVNode(" Hacky input element to show HTML5 required warning "),o.required?(e.openBlock(),e.createElementBlock("input",{key:0,class:e.normalizeClass(a.classList.fakeInput),tabindex:"-1",value:a.textValue,required:""},null,10,lm)):e.createCommentVNode("v-if",!0),e.createCommentVNode(" Native input support "),o.nativeSupport?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[o.mode=="single"?(e.openBlock(),e.createElementBlock("input",{key:0,type:"hidden",name:o.name,value:a.plainValue!==void 0?a.plainValue:""},null,8,rm)):(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:1},e.renderList(a.plainValue,(l,i)=>(e.openBlock(),e.createElementBlock("input",{type:"hidden",name:`${o.name}[]`,value:l,key:i},null,8,im))),128))],64)):e.createCommentVNode("v-if",!0),e.createCommentVNode(" Screen reader assistive text "),o.searchable&&a.hasSelected?(e.openBlock(),e.createElementBlock("div",{key:2,class:e.normalizeClass(a.classList.assist),id:a.ariaAssist,"aria-hidden":"true"},e.toDisplayString(a.ariaLabel),11,cm)):e.createCommentVNode("v-if",!0),e.createCommentVNode(" Create height for empty input "),e.createElementVNode("div",{class:e.normalizeClass(a.classList.spacer)},null,2)],42,z5)}je.render=dm;je.__file="src/Multiselect.vue";const re=e.defineComponent({__name:"AoMultiselect",props:{detached:{type:Boolean},appendTo:{}},setup(a){const t=a,o=e.toRef(()=>t.appendTo),n=e.ref();return t.detached&&$p({multiselect:n,appendTo:o.value}),(s,r)=>(e.openBlock(),e.createBlock(e.unref(je),{ref_key:"multiselectRef",ref:n,class:"ao-multiselect"},e.createSlots({_:2},[e.renderList(s.$slots,(l,i)=>({name:i,fn:e.withCtx(c=>[e.renderSlot(s.$slots,i,e.normalizeProps(e.guardReactiveProps(c??{})))])}))]),1536))}});var Go;function Ye(){const a=um(),t=a.appContext.config.globalProperties;return{i18next:t.$i18next,t:t.$t.bind(a.proxy)}}function um(){const a=e.getCurrentInstance();if(!a)throw new Error("i18next-vue: No Vue instance in context. Make sure to register the i18next-vue plugin using app.use(...).");return a}e.defineComponent({props:{translation:{type:String,required:!0}},setup(a,{slots:t}){return()=>{const o=a.translation,n=[];let s,r=0;for(;(s=Go.exec(o))!==null;){n.push(o.substring(r,s.index));const l=t[s[1]];l?n.push(...l()):n.push(s[0]),r=Go.lastIndex}return n.push(o.substring(r)),n}}});async function Me(a,t){if(t&&a&&a.length-t.length===1){const o=new Set(t.map(i=>i.id)),n=a.filter(i=>!o.has(i.id));if(n.length!==1)return;const s=n[0].id;await e.nextTick();const r=document.getElementById(s);r==null||r.focus(),await e.nextTick();const l=document.getElementById(s);l==null||l.select()}}const pm={class:"ao-tasks"},mm={class:"ao-tasks__list"},vm=["id","value","readonly","onChange","onKeyup"],fm={class:"ao-tasks__list-footer"},hm=e.defineComponent({__name:"AoActivityTasks",props:{activityId:{},tasks:{},isCheckable:{type:Function},users:{},isEditable:{type:Boolean},isTemplate:{type:Boolean}},emits:["add","delete","update"],setup(a,{emit:t}){const o=a,{t:n}=Ye();e.watch(()=>o.tasks,(u,m)=>{Me(u,m)});const s=e.computed(()=>{var u;return((u=o.users)==null?void 0:u.map(m=>({label:`${m.firstName} ${m.lastName}`,value:m.id,avatar:m.avatarUrl})))??[]}),r=()=>{const u=o.tasks.length,m={name:n("task.defaultName",{idx:u+1}),activityId:o.activityId};t("add",m)},l=(u,m)=>{const _=u.target.value;t("update",{id:m,name:_})},i=(u,m)=>{o.isEditable&&t("update",{id:u,isDone:m})},c=u=>{t("delete",{id:u})},p=(u,m)=>{t("update",{id:m,assigneeId:u[0]??null})},d=u=>{const m=u.target;m==null||m.blur()};return(u,m)=>(e.openBlock(),e.createElementBlock("div",pm,[e.createElementVNode("ul",mm,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(u.tasks,v=>{var _,C;return e.openBlock(),e.createElementBlock("li",{key:v.id,class:"ao-subtask"},[((_=u.isCheckable)==null?void 0:_.call(u,v))??!1?(e.openBlock(),e.createBlock(K,{key:0,class:"ao-subtask__check","icon-name":v.isDone?"CheckBoxOutlineRounded":"CheckBoxOutlineBlank",disabled:!u.isEditable,variant:"ghost",color:"primary",onClick:()=>i(v.id,!v.isDone)},null,8,["icon-name","disabled","onClick"])):e.createCommentVNode("",!0),e.createElementVNode("input",{id:v.id,value:v.name,readonly:!u.isEditable,class:e.normalizeClass(["ao-field__input ao-subtask__field",{"ao-subtask__field--checked":v.isDone}]),type:"text",onChange:h=>l(h,v.id),onKeyup:e.withKeys(d,["enter"])},null,42,vm),e.createTextVNode(". "),!u.isTemplate&&u.users?(e.openBlock(),e.createBlock(re,{key:1,value:(C=v.assignee)!=null&&C.id?[v.assignee.id]:[],options:s.value,"close-on-select":!0,searchable:!0,max:1,class:"ao-subtask__assignees",mode:"tags",placeholder:u.$t("feed.filters.assignee.placeholder"),disabled:!u.isEditable,caret:u.isEditable,onChange:h=>p(h,v.id)},{tag:e.withCtx(({option:h,handleTagRemove:b})=>[e.createVNode(ke,{"user-name":h.label,"avatar-url":h.avatar,"is-closable":!0,onClose:y=>b(h,y)},null,8,["user-name","avatar-url","onClose"])]),_:2},1032,["value","options","placeholder","disabled","caret","onChange"])):e.createCommentVNode("",!0),u.isEditable?(e.openBlock(),e.createBlock(K,{key:2,class:"ao-subtask__delete","icon-name":"CancelRounded",size:"sm",variant:"ghost",color:"neutral",onClick:()=>c(v.id)},null,8,["onClick"])):e.createCommentVNode("",!0)])}),128))]),e.createElementVNode("div",fm,[u.isEditable?(e.openBlock(),e.createBlock(K,{key:0,label:u.$t("activity.tasks.add"),"icon-name":"Add",variant:"ghost",color:"primary",onClick:r},null,8,["label"])):e.createCommentVNode("",!0)])]))}});const Cm=["onDrop","onDragenter","onDragover","onDragleave"],gm={class:"ao-files__placeholder"},_m={key:0,class:"ao-files__list"},ym=["href"],bm={class:"ao-file__title"},km={key:0},wm={class:"ao-files__input"},$m={class:"ao-files__button ao-button ao-button--primary ao-button--ghost ao-button--sm"},Em={class:"ao-button__label"},Bm={class:"ao-files__dropzone"},Vm={class:"ao-files__dropzone-label"},Nm=e.defineComponent({__name:"AoActivityDetailsFiles",props:{attachments:{},isEditable:{type:Boolean}},emits:["add","toggleIsDropActive","remove"],setup(a,{emit:t}){const o=a,n=d=>{t("remove",d)},s=d=>{const u=d.target,m=Array.from(u.files??[]);t("add",m)},r=["dragenter","dragover","dragleave","drop"];e.onMounted(()=>{r.forEach(d=>{document.body.addEventListener(d,u=>u.preventDefault())})}),e.onUnmounted(()=>{r.forEach(d=>{document.body.removeEventListener(d,u=>u.preventDefault())})});const l=e.ref(!1);function i(){o.isEditable&&(l.value=!0)}function c(){l.value=!1}e.watch(l,d=>{t("toggleIsDropActive",d)});function p(d){var m;c();const u=Array.from(((m=d.dataTransfer)==null?void 0:m.files)||[]);d.dataTransfer&&t("add",u)}return(d,u)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["ao-files__wrapper",{"ao-files__wrapper--drop-active":l.value}]),onDrop:e.withModifiers(p,["prevent"]),onDragenter:e.withModifiers(i,["prevent"]),onDragover:e.withModifiers(i,["prevent"]),onDragleave:e.withModifiers(c,["prevent"])},[e.renderSlot(d.$slots,"default",{},()=>[e.createElementVNode("span",gm,e.toDisplayString(d.$t("activity.attachment.placeholder.resting")),1)]),d.attachments?(e.openBlock(),e.createElementBlock("ul",_m,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(d.attachments,m=>(e.openBlock(),e.createElementBlock("li",{key:m.id,class:"ao-file"},[e.createElementVNode("a",{class:"ao-file__link",href:m.url,target:"_blank",rel:"noopener noreferrer"},[e.createVNode(Q,{class:"ao-file__icon",name:"AttachFileRounded",size:"sm"}),e.createElementVNode("span",bm,e.toDisplayString(m.name),1)],8,ym),d.isEditable?(e.openBlock(),e.createBlock(K,{key:0,class:"ao-files__delete-button","icon-name":"DeleteOutlineRounded",variant:"ghost",color:"primary",size:"sm",corners:"round",onClick:()=>n(m)},null,8,["onClick"])):e.createCommentVNode("",!0)]))),128)),d.isEditable?(e.openBlock(),e.createElementBlock("li",km,[e.createElementVNode("label",wm,[e.createElementVNode("div",$m,[e.createVNode(Q,{name:"Add",size:"sm"}),e.createElementVNode("span",Em,e.toDisplayString(d.$t("activity.attachment.button.resting")),1)]),e.createElementVNode("input",{class:"input-field",type:"file",name:"pictures",multiple:"",accept:"image/*",onChange:s},null,32)])])):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),e.withDirectives(e.createElementVNode("div",Bm,[e.createElementVNode("span",Vm,e.toDisplayString(d.$t("activity.attachment.placeholder.active")),1)],512),[[e.vShow,l.value]])],42,Cm))}});const Sm={class:"ao-comment"},Mm={class:"ao-comment__created-at"},Am={class:"ao-comment__body"},Tm={class:"ao-comment__content-wrapper"},Om={key:1,class:"ao-comment__footer"},Im=e.defineComponent({__name:"AoComment",props:{user:{},content:{},createdAt:{},editedAt:{},isEditable:{type:Boolean}},emits:["edit","remove"],setup(a,{emit:t}){const o=a,n=e.computed(()=>{const C=o.user;return C?`${C==null?void 0:C.firstName} ${C==null?void 0:C.lastName}`:null}),s=e.ref(null),{isEditing:r,toggleIsEditing:l,onUpdate:i,onDiscard:c}=en(s),p=e.computed(()=>{const C=o.editedAt&&Lt(o.editedAt),h=Lt(o.createdAt),b=new Date,y=C??h;return y&&E0(y,b)}),d=e.computed(()=>r.value?"textarea":"p"),u=c(),m=i(C=>{t("edit",C)}),v=()=>{t("remove")},_=e.ref(2);return e.onUpdated(()=>{e.nextTick(()=>{var C;if(!r.value){const h=(C=s.value)==null?void 0:C.getClientRects().length;_.value=h||2}})}),(C,h)=>{var b;return e.openBlock(),e.createElementBlock("li",Sm,[n.value?(e.openBlock(),e.createBlock(ke,{key:0,"avatar-url":(b=C.user)==null?void 0:b.avatarUrl,"user-name":n.value,class:"ao-comment__avatar"},null,8,["avatar-url","user-name"])):e.createCommentVNode("",!0),e.createElementVNode("span",Mm,e.toDisplayString(p.value),1),e.createElementVNode("div",Am,[e.createElementVNode("div",Tm,[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(d.value),{ref_key:"commentContent",ref:s,class:"ao-comment__content",value:e.unref(r)?C.content:null,rows:e.unref(r)?_.value:null,onKeyup:[e.withKeys(e.unref(u),["esc"]),e.withKeys(e.withModifiers(e.unref(m),["ctrl"]),["enter"])]},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(C.content),1)]),_:1},40,["value","rows","onKeyup"]))])]),C.isEditable?(e.openBlock(),e.createElementBlock("div",Om,[e.unref(r)?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createVNode(K,{"icon-name":"CloseRounded",size:"sm",variant:"ghost",color:"neutral",onClick:e.unref(u)},null,8,["onClick"]),e.createVNode(K,{"icon-name":"CheckSmallRounded",size:"sm",variant:"solid",corners:"round",color:"black",onClick:e.unref(m)},null,8,["onClick"])],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createVNode(K,{label:C.$t("activity.comment.delete"),size:"sm",variant:"ghost",color:"neutral",onClick:v},null,8,["label"]),e.createVNode(K,{label:C.$t("activity.comment.edit"),size:"sm",variant:"ghost",color:"neutral",onClick:e.unref(l)},null,8,["label","onClick"])],64))])):e.createCommentVNode("",!0)])}}});const Lm={class:"ao-comments__header"},Dm=["onSubmit"],Pm=["placeholder"],Hm={class:"ao-comments__form-submit"},Rm={key:0,class:"ao-comments__list"},jm=e.defineComponent({__name:"AoActivityDetailsComments",props:{comments:{default:()=>[]},users:{},newComment:{default:""},userId:{}},emits:["createComment","updateComment","removeComment"],setup(a,{emit:t}){const o=a,n=e.computed(()=>(o.comments||[]).toSorted((m,v)=>f2(Lt(m.createdAt),Lt(v.createdAt)))),s=u=>o.users.find(v=>v.id===u),r=e.ref();e.nextTick(()=>{r.value&&(r.value.scrollTop=r.value.scrollHeight)});const l=e.toRef(o.newComment),i=e.computed({get(){return l.value},set(u){l.value=u}}),c=()=>{const u=l.value.trim();u&&(t("createComment",{authorId:o.userId,message:u}),l.value="")},p=(u,m)=>{t("updateComment",{id:u,message:m})},d=u=>{t("removeComment",{id:u})};return(u,m)=>{var v;return e.openBlock(),e.createElementBlock("div",{ref_key:"commentsContainer",ref:r,class:"ao-comments"},[e.createElementVNode("div",Lm,[e.createElementVNode("form",{class:"ao-comments__form",onSubmit:e.withModifiers(c,["prevent"])},[e.withDirectives(e.createElementVNode("textarea",{"onUpdate:modelValue":m[0]||(m[0]=_=>i.value=_),rows:"2",class:"ao-field__textarea ao-comments__form-textarea",placeholder:u.$t("activity.comment.label")},null,8,Pm),[[e.vModelText,i.value,void 0,{trim:!0}]]),e.createElementVNode("div",Hm,[e.createVNode(K,{type:"submit","icon-name":"SendRounded",color:"primary",variant:"solid",corners:"round",size:"sm"})])],40,Dm)]),((v=n.value)==null?void 0:v.length)>0?(e.openBlock(),e.createElementBlock("ul",Rm,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(n.value,_=>(e.openBlock(),e.createBlock(Im,{key:_.id,user:s(_.author.id),content:_.message,"created-at":_.createdAt,"edited-at":_.updatedAt,"is-editable":_.author.id===u.userId,class:"ao-comment",onEdit:C=>p(_.id,C),onRemove:()=>d(_.id)},null,8,["user","content","created-at","edited-at","is-editable","onEdit","onRemove"]))),128))])):e.createCommentVNode("",!0)],512)}}});const qa=e.defineComponent({__name:"AoButtonCheck",props:{modelValue:{type:Boolean},color:{}},emits:["update:modelValue"],setup(a,{emit:t}){const o=a,n=()=>{t("update:modelValue",!o.modelValue)};return(s,r)=>(e.openBlock(),e.createBlock(K,{color:s.modelValue?s.color:e.unref(Ga).NEUTRAL,"icon-position":"start",onClick:r[0]||(r[0]=()=>n())},null,8,["color"]))}}),Fm={class:"ao-activity-details"},Um={class:"ao-activity-details__main"},zm={class:"ao-activity-details__header"},Zm={key:1,class:"ao-activity__category"},xm={class:"ao-feed__activity-details__header"},Wm={key:0,class:"ao-field ao-feed__activity-details__project"},qm={class:"ao-field__label"},Ym={key:1,class:"ao-field ao-feed__activity-details__project"},Km={class:"ao-field__label"},Gm={class:"ao-activity-details__content"},Xm={class:"ao-fieldset"},Qm={class:"ao-field__row"},Jm={class:"ao-field ao-field--full"},e7={class:"ao-field__label"},t7=["readonly"],a7={class:"ao-field__row"},o7={class:"ao-field ao-field--inline"},n7={class:"ao-field__label"},s7=["readonly"],l7={class:"ao-fieldset"},r7={class:"ao-fieldset__title"},i7={class:"ao-fieldset__body"},c7={key:0,class:"ao-fieldset"},d7={class:"ao-fieldset__title"},u7={class:"ao-activity-details__aside"},p7={class:"ao-activity-details__close-button"},m7={key:0,class:"ao-activity-details__aside-section"},v7={class:"ao-field"},f7={class:"ao-field__label"},h7={class:"ao-activity-details__aside-section"},C7={class:"ao-field ao-field--multiselect"},g7={class:"assignee-inline"},_7={class:"ao-field__label"},y7={class:"ao-activity-details__aside-section"},b7={key:0,class:"ao-field__row"},k7={class:"ao-field"},w7={class:"ao-field__label"},$7=["readonly"],E7={class:"ao-activity-details__aside-section"},B7={key:0,class:"ao-field__row"},V7={class:"ao-field ao-field--multiselect"},N7={class:"ao-activity-details__aside-section"},S7={key:1,class:"ao-activity-details__aside-section"},M7={class:"ao-fieldset ao-activity-details__aside-section"},A7={class:"ao-fieldset__title"},T7={class:"ao-fieldset__body"},O7={class:"ao-field__row"},I7={class:"ao-field ao-field--multiselect"},L7={class:"ao-field__label"},D7={class:"ao-field__row"},P7={class:"ao-field ao-field--multiselect"},H7={class:"ao-field__label"},R7={key:2,class:"ao-activity-details__aside-section ao-activity-details__aside-section--created-by"},j7={class:"ao-activity__created-by"},po=e.defineComponent({__name:"AoActivityDetails",props:{activity:{},activityTypes:{},breadcrumbs:{},milestoneId:{},templateActivities:{},templateMilestones:{},isTemplate:{type:Boolean},users:{},userId:{},isTaskCheckable:{},statuses:{},isEditable:{type:[Boolean,String]},attachmentEnabled:{type:Boolean},projects:{default:()=>[]}},emits:["update:activity","close","addSubtask","updateSubtask","deleteSubtask","addFiles","removeFile","addComment","updateComment","removeComment","toast"],setup(a,{emit:t}){const o=a,n=e.computed(()=>{var g;return o.isEditable===!0?!0:o.userId&&o.isEditable==="only-own"?o.userId===((g=o.activity.assignee)==null?void 0:g.id):!1}),s=g=>{t("update:activity",{id:o.activity.id,name:g})},r=e.computed({get(){return o.activity.description??""},set(g){t("update:activity",{id:o.activity.id,description:g})}}),l=e.computed({get(){return o.activity.estimation??0},set(g){t("update:activity",{id:o.activity.id,estimation:g})}}),i=e.computed({get(){return o.activity.important??!1},set(g){t("update:activity",{id:o.activity.id,important:g})}}),c=e.computed({get(){return o.activity.private??!1},set(g){t("update:activity",{id:o.activity.id,private:g})}}),p=e.computed({get(){return o.activity.deadline},set(g){t("update:activity",{id:o.activity.id,deadline:g})}}),d=e.computed(()=>{var g;return(g=o.activityTypes)==null?void 0:g.map(S=>({label:S.name,value:S.id}))}),u=e.computed({get(){var g;return(g=o.activity.type)==null?void 0:g.id},set(g){t("update:activity",{id:o.activity.id,typeId:g})}}),m=e.computed(()=>o.templateActivities.filter(g=>g.id!==o.activity.id).map(g=>({label:g.name,value:g.id}))),v=e.computed({get(){var g;return(g=o.activity.dependingOn)==null?void 0:g.map(S=>S.id)},set(g){g&&t("update:activity",{id:o.activity.id,dependingOn:g})}}),_=e.computed(()=>m.value.map(g=>{var S;return{...g,disabled:(S=o.activity.blocking)==null?void 0:S.some(q=>q.id===g.value)}})),C=e.computed({get(){var g;return(g=o.activity.blocking)==null?void 0:g.map(S=>S.id)},set(g){g&&t("update:activity",{id:o.activity.id,blocking:g})}}),h=e.computed(()=>m.value.map(g=>{var S;return{...g,disabled:(S=o.activity.dependingOn)==null?void 0:S.some(q=>q.id===g.value)}})),b=g=>{t("addSubtask",g)},y=g=>{t("updateSubtask",g)},f=g=>{t("deleteSubtask",g)};function B(){o.userId?I.value=[o.userId]:console.error("Failed assigning to self: userId is missing")}function M(g){I.value=[g]}const E=e.computed(()=>{var g;return((g=o.users)==null?void 0:g.map(S=>({label:`${S.firstName} ${S.lastName}`,value:S.id,avatar:S.avatarUrl})))||[]}),I=e.computed({get(){var g,S;return(g=o.activity.assignee)!=null&&g.id?[(S=o.activity.assignee)==null?void 0:S.id]:[]},set(g){t("update:activity",{id:o.activity.id,assigneeId:g[-1]??null})}}),P=g=>{t("addFiles",{activityId:o.activity.id,files:g})},R=g=>{t("removeFile",{activityId:o.activity.id,file:g})},F=e.computed(()=>o.projects.map(g=>({value:g.id,label:g.name}))),z=e.computed(()=>{var S,q,x;const g=(x=(q=(S=o.activity)==null?void 0:S.project)==null?void 0:q.phases)==null?void 0:x.reduce((D,N)=>[...D,...N.milestones],[]);return g==null?void 0:g.map(D=>({value:D.id,label:D.name}))}),T=g=>{o.activity&&t("update:activity",{id:o.activity.id,projectId:g})},j=g=>{o.activity&&t("update:activity",{id:o.activity.id,milestoneId:g})},Y=e.computed(()=>{var g;return(g=o.statuses)==null?void 0:g.map(S=>({value:S.id,label:S.name}))}),Z=g=>{t("update:activity",{id:o.activity.id,statusId:g})},U=g=>{t("addComment",{...g,activityId:o.activity.id})},V=g=>{t("updateComment",g)},$=g=>{t("removeComment",g)},k=e.computed(()=>{var g,S;return((g=o.activity.createdBy)==null?void 0:g.firstName)&&((S=o.activity.createdBy)==null?void 0:S.lastName)&&`${o.activity.createdBy.firstName} ${o.activity.createdBy.lastName}`});function O(){const g=window.location.origin,S=o.activity.slug,q=`${g}/activity-feed/slug/${S}`;navigator.clipboard.writeText(q).then(()=>{console.log(`Link copied to clipboard: ${q}`),t("toast","clipboard.copy.success","success")}).catch(()=>{console.log("Failed to copy link"),t("toast","clipboard.copy.error","error")})}return(g,S)=>(e.openBlock(),e.createBlock(ya,{onClose:S[10]||(S[10]=q=>g.$emit("close"))},{default:e.withCtx(()=>{var q,x,D;return[e.createElementVNode("div",Fm,[e.createElementVNode("div",Um,[e.createElementVNode("div",zm,[g.activity.slug?(e.openBlock(),e.createBlock(Tt,{key:0,label:g.activity.slug,clickable:!0,variant:"solid_icon",color:"primary","icon-name":"ContentCopyOutline",class:"ao-activity__ao-tag",onClick:O},null,8,["label"])):e.createCommentVNode("",!0),g.breadcrumbs?(e.openBlock(),e.createElementBlock("div",Zm,e.toDisplayString(g.breadcrumbs),1)):e.createCommentVNode("",!0),e.createVNode(ne,{title:g.activity.name||"",level:4,"is-editable":n.value,"onUpdate:title":s},null,8,["title","is-editable"]),e.createElementVNode("div",xm,[F.value?(e.openBlock(),e.createElementBlock("label",Wm,[e.createElementVNode("span",qm,e.toDisplayString(g.$t("activity.project.label")),1),e.createVNode(re,{options:F.value,value:(q=g.activity.project)==null?void 0:q.id,searchable:!0,disabled:!n.value,caret:n.value,onChange:T},null,8,["options","value","disabled","caret"])])):e.createCommentVNode("",!0),z.value?(e.openBlock(),e.createElementBlock("label",Ym,[e.createElementVNode("span",Km,e.toDisplayString(g.$t("activity.milestone.label")),1),e.createVNode(re,{options:z.value,value:(x=g.activity.milestone)==null?void 0:x.id,searchable:!0,disabled:!n.value,caret:n.value,onChange:j},null,8,["options","value","disabled","caret"])])):e.createCommentVNode("",!0)]),e.renderSlot(g.$slots,"header")]),e.createElementVNode("div",Gm,[e.createElementVNode("fieldset",Xm,[e.createElementVNode("div",Qm,[e.createVNode(Nm,{attachments:g.activity.attachments,"is-editable":g.attachmentEnabled&&n.value&&g.isTemplate!==!0&&!!g.userId,onAdd:P,onRemove:R},{default:e.withCtx(()=>[e.createElementVNode("label",Jm,[e.createElementVNode("span",e7,e.toDisplayString(g.$t("activity.description.label")),1),e.withDirectives(e.createElementVNode("textarea",{"onUpdate:modelValue":S[0]||(S[0]=N=>r.value=N),readonly:!n.value,rows:"4",class:"ao-field__textarea"},null,8,t7),[[e.vModelText,r.value,void 0,{lazy:!0,trim:!0}]])])]),_:1},8,["attachments","is-editable"])]),e.createElementVNode("div",a7,[e.createElementVNode("label",o7,[e.createElementVNode("span",n7,e.toDisplayString(g.$t("activity.estimation.label")),1),e.withDirectives(e.createElementVNode("input",{"onUpdate:modelValue":S[1]||(S[1]=N=>l.value=N),readonly:!n.value,class:"ao-field__input ao-field__input--estim",type:"number",min:"0"},null,8,s7),[[e.vModelText,l.value,void 0,{lazy:!0,number:!0}]])])])]),e.createElementVNode("fieldset",l7,[e.createElementVNode("div",r7,[e.createVNode(Q,{name:"SelectCheckBox"}),e.createVNode(ne,{level:4,title:g.$t("activity.tasks.title")},null,8,["title"])]),e.createElementVNode("div",i7,[e.createVNode(hm,{class:"ao-activity-details__tasks ao-field__row",tasks:g.activity.tasks||[],"activity-id":g.activity.id,users:g.users,"is-checkable":g.isTaskCheckable,"is-editable":n.value,"is-template":g.isTemplate,onAdd:b,onUpdate:y,onDelete:f},null,8,["tasks","activity-id","users","is-checkable","is-editable","is-template"])])]),g.isTemplate!==!0&&g.userId?(e.openBlock(),e.createElementBlock("div",c7,[e.createElementVNode("div",d7,[e.createVNode(Q,{name:"ChatOutline"}),e.createVNode(ne,{level:4,title:g.$t("activity.comments.title")},null,8,["title"])]),e.createVNode(jm,{comments:g.activity.comments,users:g.users,"user-id":g.userId,onCreateComment:U,onUpdateComment:V,onRemoveComment:$},null,8,["comments","users","user-id"])])):e.createCommentVNode("",!0)])]),e.createElementVNode("div",u7,[e.createElementVNode("div",p7,[e.createVNode(Q,{name:"CloseRounded",onClick:S[2]||(S[2]=N=>g.$emit("close"))})]),Y.value?(e.openBlock(),e.createElementBlock("div",m7,[e.createElementVNode("label",v7,[e.createElementVNode("span",f7,e.toDisplayString(g.$t("activity.status.label")),1),e.createVNode(re,{class:"ao-activity-details__multiselect",options:Y.value,value:(D=g.activity.status)==null?void 0:D.id,"can-clear":!1,"can-deselect":!1,disabled:!n.value,caret:n.value,onChange:Z},null,8,["options","value","disabled","caret"])])])):e.createCommentVNode("",!0),e.createElementVNode("div",h7,[e.createElementVNode("div",C7,[e.createElementVNode("div",g7,[e.createElementVNode("span",_7,e.toDisplayString(g.$t("activity.assignee.label")),1),e.createVNode(K,{label:g.$t("activity.assignee.toMe"),type:"button",color:"primary",variant:"solid",class:"ao-button--sm",onClick:B},null,8,["label"])]),e.createVNode(re,{modelValue:I.value,"onUpdate:modelValue":S[3]||(S[3]=N=>I.value=N),class:"ao-activity-details__assignees ao-activity-details__multiselect",options:E.value,"close-on-select":!0,searchable:!0,placeholder:g.$t("activity.filters.assignee.placeholder"),mode:"tags",disabled:!n.value,caret:n.value,onSelect:M},{tag:e.withCtx(({option:N,handleTagRemove:H})=>[e.createVNode(ke,{"user-name":N.label,"avatar-url":N.avatar,"is-closable":!0,onClose:J=>H(N,J)},null,8,["user-name","avatar-url","onClose"])]),_:1},8,["modelValue","options","placeholder","disabled","caret"])])]),e.createElementVNode("div",y7,[g.isTemplate!==!0&&g.userId?(e.openBlock(),e.createElementBlock("div",b7,[e.createElementVNode("label",k7,[e.createElementVNode("span",w7,e.toDisplayString(g.$t("activity.deadline.label")),1),e.withDirectives(e.createElementVNode("input",{"onUpdate:modelValue":S[4]||(S[4]=N=>p.value=N),readonly:!n.value,class:"ao-field__input",type:"date"},null,8,$7),[[e.vModelText,p.value,void 0,{lazy:!0}]])])])):e.createCommentVNode("",!0)]),e.createElementVNode("div",E7,[d.value?(e.openBlock(),e.createElementBlock("div",B7,[e.createElementVNode("label",V7,[e.createVNode(re,{modelValue:u.value,"onUpdate:modelValue":S[5]||(S[5]=N=>u.value=N),class:"ao-activity-details__multiselect",mode:"single",searchable:!0,options:d.value,placeholder:g.$t("activity.filters.type.placeholder"),disabled:!n.value,caret:n.value},null,8,["modelValue","options","placeholder","disabled","caret"])])])):e.createCommentVNode("",!0),e.renderSlot(g.$slots,"default",{activity:g.activity})]),e.createElementVNode("div",N7,[e.createVNode(qa,{modelValue:i.value,"onUpdate:modelValue":S[6]||(S[6]=N=>i.value=N),modelModifiers:{lazy:!0},label:g.$t("activity.important.label"),disabled:!n.value,variant:"ghost","icon-name":"FlagRounded",class:"ao-field__input",color:"danger",type:"checkbox",size:"sm"},null,8,["modelValue","label","disabled"])]),g.isTemplate!==!0&&g.activity.createdBy.id===g.userId?(e.openBlock(),e.createElementBlock("div",S7,[e.createVNode(qa,{modelValue:c.value,"onUpdate:modelValue":S[7]||(S[7]=N=>c.value=N),modelModifiers:{lazy:!0},label:g.$t("activity.private.label"),disabled:!n.value,variant:"ghost","icon-name":"Lock",color:"warning",class:"ao-field__input",size:"sm"},null,8,["modelValue","label","disabled"])])):e.createCommentVNode("",!0),e.createElementVNode("fieldset",M7,[e.createElementVNode("div",A7,[e.createVNode(Q,{name:"FlowsheetOutlineRounded"}),e.createVNode(ne,{level:4,title:g.$t("activity.dependencies.title")},null,8,["title"])]),e.createElementVNode("div",T7,[e.createElementVNode("div",O7,[e.createElementVNode("label",I7,[e.createElementVNode("span",L7,e.toDisplayString(g.$t("activity.dependingOn.label")),1),e.createVNode(re,{modelValue:v.value,"onUpdate:modelValue":S[8]||(S[8]=N=>v.value=N),class:"ao-activity-details__multiselect",mode:"tags","close-on-select":!1,searchable:!0,options:_.value,disabled:!n.value,caret:n.value},null,8,["modelValue","options","disabled","caret"])])]),e.createElementVNode("div",D7,[e.createElementVNode("label",P7,[e.createElementVNode("span",H7,e.toDisplayString(g.$t("activity.blocking.label")),1),e.createVNode(re,{modelValue:C.value,"onUpdate:modelValue":S[9]||(S[9]=N=>C.value=N),class:"ao-activity-details__multiselect",mode:"tags","close-on-select":!1,searchable:!0,options:h.value,disabled:!n.value,caret:n.value},null,8,["modelValue","options","disabled","caret"])])])])]),g.isTemplate!==!0&&k.value?(e.openBlock(),e.createElementBlock("div",R7,[e.createElementVNode("div",j7,[e.createVNode(ke,{"user-name":k.value,color:"black"},null,8,["user-name"]),e.createElementVNode("span",null,e.toDisplayString(k.value),1)])])):e.createCommentVNode("",!0)])])]}),_:3}))}});const F7=e.defineComponent({__name:"AoRuleLine",props:{rule:{},templatePhases:{},templateMilestones:{},templateActivities:{},tagName:{default:"li"}},emits:["update:rule","close"],setup(a,{emit:t}){const o=a,n=e.toRef(o.rule.itemType||ee.ACTIVITIES),s=e.computed({get(){return n.value},set(b){n.value=b,t("update:rule",{...o.rule,itemType:b,subItemId:void 0})}}),r=e.computed(()=>Object.values(ee)),l=e.computed({get(){return o.rule.subItemId},set(b){t("update:rule",{...o.rule,subItemId:b,itemType:o.rule.itemType||s.value})}}),i=e.computed(()=>{var y;return!o.templateActivities||!o.templateMilestones||!o.templatePhases?null:(y={[ee.ACTIVITIES]:o.templateActivities,[ee.MILESTONES]:o.templateMilestones,[ee.PHASES]:o.templatePhases}[n.value])==null?void 0:y.map(f=>({value:f.id,label:f.name}))}),c=e.toRef(o.rule.comparator),p=e.computed({get(){return c.value},set(b){t("update:rule",{...o.rule,comparator:b})}}),d=e.computed(()=>Object.values(an)),u=e.toRef(o.rule.trigger),m=e.computed({get(){return u.value},set(b){t("update:rule",{...o.rule,trigger:b})}}),v=e.computed(()=>Object.values(on)),_=e.computed({get(){return o.rule.duration},set(b){t("update:rule",{...o.rule,duration:b})}}),C=e.computed({get(){return o.rule.durationUnit},set(b){t("update:rule",{...o.rule,durationUnit:b})}}),h=e.computed(()=>Object.values(nn));return(b,y)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(b.tagName),{class:"ao-rule-line"},{default:e.withCtx(()=>[e.createVNode(e.unref(je),{modelValue:s.value,"onUpdate:modelValue":y[0]||(y[0]=f=>s.value=f),options:r.value},null,8,["modelValue","options"]),e.createVNode(e.unref(je),{modelValue:l.value,"onUpdate:modelValue":y[1]||(y[1]=f=>l.value=f),options:i.value},null,8,["modelValue","options"]),e.createVNode(e.unref(je),{modelValue:m.value,"onUpdate:modelValue":y[2]||(y[2]=f=>m.value=f),options:v.value},null,8,["modelValue","options"]),e.createVNode(e.unref(je),{modelValue:p.value,"onUpdate:modelValue":y[3]||(y[3]=f=>p.value=f),options:d.value},null,8,["modelValue","options"]),e.withDirectives(e.createElementVNode("input",{"onUpdate:modelValue":y[4]||(y[4]=f=>_.value=f),type:"number",min:"0"},null,512),[[e.vModelText,_.value,void 0,{number:!0}]]),e.createVNode(e.unref(je),{modelValue:C.value,"onUpdate:modelValue":y[5]||(y[5]=f=>C.value=f),options:h.value},null,8,["modelValue","options"]),e.createVNode(K,{class:"ao-rule-line__remove","icon-name":"CloseRounded",variant:"ghost",onClick:y[6]||(y[6]=f=>b.$emit("close"))})]),_:1}))}});const U7={class:"ao-template-rules__body"},z7={class:"ao-template-rules__list"},Z7=e.defineComponent({__name:"AoTemplateRules",props:{templateId:{},rules:{},templatePhases:{},templateMilestones:{},templateActivities:{}},emits:["addRule","removeRule"],setup(a,{emit:t}){const o=()=>{t("addRule")},n=s=>{t("removeRule",s)};return(s,r)=>(e.openBlock(),e.createBlock(ya,null,{header:e.withCtx(()=>[e.createVNode(ne,{title:s.$t("template.rules.title"),level:2},null,8,["title"])]),default:e.withCtx(()=>[e.createElementVNode("div",U7,[e.createElementVNode("ul",z7,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(s.rules,l=>(e.openBlock(),e.createBlock(F7,{key:l.id,rule:l,"template-phases":s.templatePhases,"template-milestones":s.templateMilestones,"template-activities":s.templateActivities,class:"ao-template-rule",onClose:()=>n(l.id)},null,8,["rule","template-phases","template-milestones","template-activities","onClose"]))),128))]),e.createVNode(We,{label:s.$t("template.rules.add"),"icon-name":"Add",onClick:o},null,8,["label"])])]),_:1}))}});function ot(a,t,o){const n=a.length,s=a.at(-1),r=s?se.LexoRank.parse(s.rank).genNext():se.LexoRank.middle();return{name:o(`template.defaultName.${t}`,{idx:n+1}),rank:r.format()}}const x7={key:0,class:"ao-template-details"},W7={class:"ao-template-details__body"},q7={class:"ao-template-details__cols"},Y7={class:"ao-template-details__col"},K7={class:"ao-list__footer"},G7={class:"ao-template-details__col"},X7={class:"ao-template-details__col"},Rn=e.defineComponent({__name:"AoTemplateDetails",props:{templateId:{},templates:{},users:{},phaseId:{},milestoneId:{},activityId:{},activityTypes:{}},emits:["addItem","removeItem","updateItem","addRule","removeRule","addFiles","removeFile"],setup(a,{emit:t}){const o=a,{t:n}=Ye(),s=e.computed(()=>{var V;return(V=o.templates)==null?void 0:V.find($=>$.id===o.templateId)}),r=e.ref(!1);e.watch(()=>[o.templateId,o.phaseId,o.milestoneId],()=>r.value=!1),e.watch(()=>{var V;return(V=s.value)==null?void 0:V.phases},(V,$)=>{r.value&&Me(V,$)});const l=e.computed(()=>{var V,$;return($=(V=s==null?void 0:s.value)==null?void 0:V.phases)==null?void 0:$.find(k=>k.id===o.phaseId)});e.watch(()=>{var V;return(V=l.value)==null?void 0:V.milestones},(V,$)=>{r.value&&Me(V,$)});const i=e.computed(()=>{var V,$;return($=(V=l.value)==null?void 0:V.milestones)==null?void 0:$.find(k=>k.id===o.milestoneId)});e.watch(()=>{var V;return(V=i.value)==null?void 0:V.activities},(V,$)=>{r.value&&Me(V,$)});const c=e.computed(()=>{var V,$;return(($=(V=s.value)==null?void 0:V.phases)==null?void 0:$.reduce((k,O)=>{const g=O.milestones||[];return[...k,...g]},[]))||[]}),p=e.computed(()=>{var V,$;return(($=(V=s.value)==null?void 0:V.phases)==null?void 0:$.reduce((k,O)=>{const S=(O.milestones||[]).reduce((q,x)=>x.activities?[...q,...x.activities]:q,[]);return[...k,...S]},[]))||[]}),d=e.computed(()=>{var V,$;return($=(V=i.value)==null?void 0:V.activities)==null?void 0:$.find(k=>k.id===o.activityId)}),u=e.computed(()=>{var V;return((V=s.value)==null?void 0:V.name)||o.templateId}),m=()=>{if(!s.value)return;const{name:V,rank:$}=ot(s.value.phases,"phase",n);r.value=!0,t("addItem",{type:ee.PHASES,templateId:o.templateId,item:{name:V,rank:$}})},v=V=>{t("updateItem",{templateId:o.templateId,id:o.templateId,itemType:ee.TEMPLATES,data:{name:V}})},_=V=>{t("removeItem",{itemType:ee.PHASES,templateId:o.templateId,data:{id:V}})},C=(V,$)=>{t("updateItem",{templateId:o.templateId,id:V,itemType:ee.PHASES,data:{name:$}})},h=V=>{t("updateItem",V)},b=V=>{if(!l.value)return;const{name:$,rank:k}=ot(l.value.milestones,"milestone",n);r.value=!0,t("addItem",{type:ee.MILESTONES,templateId:o.templateId,phaseId:V.phaseId,item:{name:$,rank:k,phaseId:V.phaseId}})},y=V=>{t("removeItem",{itemType:ee.MILESTONES,templateId:o.templateId,phaseId:V.phaseId,data:{id:V.id}})},f=V=>{const{id:$,...k}=V;t("updateItem",{itemType:ee.MILESTONES,id:$,templateId:o.templateId,data:k})},B=V=>{const{milestoneId:$}=V;if(!i.value)return;const{name:k,rank:O}=ot(i.value.activities,"activity",n);r.value=!0,t("addItem",{type:ee.ACTIVITIES,milestoneId:$,templateId:o.templateId,item:{name:k,rank:O,milestoneId:$}})},M=V=>{var $,k;t("removeItem",{itemType:ee.ACTIVITIES,templateId:o.templateId,phaseId:($=l.value)==null?void 0:$.id,milestoneId:(k=i.value)==null?void 0:k.id,data:{id:V.id}})},E=V=>{const{id:$,...k}=V;t("updateItem",{itemType:ee.ACTIVITIES,id:$,templateId:o.templateId,data:k})},I=e.ref(!1),P=()=>{I.value=!I.value},R=()=>{t("addRule",{templateId:o.templateId})},F=V=>{t("removeRule",{id:V,templateId:o.templateId})},z=V=>{var $;if(V.moved){const k=zt(V,(($=s.value)==null?void 0:$.phases)??[]);t("updateItem",{itemType:ee.PHASES,id:V.moved.element.id,templateId:o.templateId,data:{rank:k}})}},T=V=>{!l.value||!i.value||!d.value||t("addItem",{type:ee.TASKS,activityId:V.activityId,milestoneId:i.value.id,phaseId:l.value.id,templateId:o.templateId,item:V})},j=V=>{!l.value||!i.value||!d.value||t("updateItem",{itemType:ee.TASKS,id:V.id,templateId:o.templateId,data:V})},Y=V=>{!l.value||!i.value||!d.value||t("removeItem",{itemType:ee.TASKS,activityId:d.value.id,milestoneId:i.value.id,phaseId:l.value.id,templateId:o.templateId,data:V})},Z=V=>{t("addFiles",V)},U=V=>{t("removeFile",V)};return(V,$)=>{var k,O,g,S,q,x;return s.value?(e.openBlock(),e.createElementBlock("div",x7,[e.createVNode(Zt,{"can-go-back":!0,onGoBack:$[1]||($[1]=D=>V.$router.push({name:e.unref(tt).TEMPLATES_LIST}))},{primary:e.withCtx(()=>[e.createVNode(ne,{title:u.value,level:2,"is-editable":!0,"onUpdate:title":$[0]||($[0]=D=>{v(D)})},null,8,["title"])]),_:1}),e.createElementVNode("div",W7,[e.createElementVNode("ol",q7,[e.createElementVNode("li",Y7,[e.createVNode(e.unref(xe),{"model-value":s.value.phases,class:"ao-templates__list","item-key":"id",handle:".ao-card__drag",onChange:z},{header:e.withCtx(()=>[e.createVNode(ne,{title:V.$t("template.phases.title"),level:3,class:"ao-list__title"},null,8,["title"])]),item:e.withCtx(({element:D})=>{var N;return[e.createVNode(I3,{id:D.id,name:D.name,milestones:D.milestones,"is-active":((N=l.value)==null?void 0:N.id)===D.id,"is-draggable":!0,onClick:H=>V.$router.push({params:{templateId:V.templateId,phaseId:D.id}}),"onUpdate:title":H=>{C(D.id,H)},onRemove:()=>_(D.id)},null,8,["id","name","milestones","is-active","onClick","onUpdate:title","onRemove"])]}),footer:e.withCtx(()=>[e.createElementVNode("div",K7,[e.createVNode(We,{"icon-name":"AddBoxOutlineRounded",label:V.$t("template.phases.add"),onClick:m},null,8,["label"])])]),_:1},8,["model-value"])]),e.createElementVNode("li",G7,[l.value?(e.openBlock(),e.createBlock(P3,{key:0,"template-id":V.templateId,phase:l.value,"milestone-id":(k=i.value)==null?void 0:k.id,onAddMilestone:b,onUpdateMilestone:f,onUpdatePhase:h,onRemoveMilestone:y},null,8,["template-id","phase","milestone-id"])):e.createCommentVNode("",!0)]),e.createElementVNode("li",X7,[l.value&&i.value?(e.openBlock(),e.createBlock(j3,{key:0,"template-id":V.templateId,"phase-id":(O=l.value)==null?void 0:O.id,milestone:i.value,"activity-id":(g=d.value)==null?void 0:g.id,onAddActivity:B,onUpdateActivity:E,onRemoveActivity:M},null,8,["template-id","phase-id","milestone","activity-id"])):e.createCommentVNode("",!0)])])]),(e.openBlock(),e.createBlock(e.Teleport,{to:"body"},[d.value?(e.openBlock(),e.createBlock(po,{key:0,activity:d.value,"activity-types":V.activityTypes,breadcrumbs:`${s.value.name} / ${(S=l.value)==null?void 0:S.name} / ${(q=i.value)==null?void 0:q.name}`,"milestone-id":(x=i.value)==null?void 0:x.id,"template-activities":p.value,"template-milestones":c.value,"is-template":!0,"is-editable":!0,users:V.users,"onUpdate:activity":$[2]||($[2]=D=>{d.value&&E(D)}),"attachment-enabled":!1,onClose:V.$router.back,onAddSubtask:T,onUpdateSubtask:j,onDeleteSubtask:Y,onAddFiles:Z,onRemoveFile:U},{default:e.withCtx(D=>[e.renderSlot(V.$slots,"activityDetailsBody",e.normalizeProps(e.guardReactiveProps(D)))]),_:3},8,["activity","activity-types","breadcrumbs","milestone-id","template-activities","template-milestones","users","onClose"])):e.createCommentVNode("",!0)])),(e.openBlock(),e.createBlock(e.Teleport,{to:"body"},[I.value?(e.openBlock(),e.createBlock(Z7,{key:0,"template-id":s.value.id,rules:s.value.rules||[],"template-phases":s.value.phases,"template-milestones":c.value,"template-activities":p.value,onClose:P,onAddRule:R,onRemoveRule:F},null,8,["template-id","rules","template-phases","template-milestones","template-activities"])):e.createCommentVNode("",!0)]))])):e.createCommentVNode("",!0)}}});const Q7={class:"ao-card__content"},J7={key:0,class:"ao-card__header"},ev={class:"ao-card__body"},tv={key:1,class:"ao-card__footer"},Va=e.defineComponent({__name:"AoCard",props:{isClickable:{type:Boolean},tagName:{default:"div"},isSelected:{type:Boolean},color:{},withLeftBorder:{type:Boolean,default:!1}},setup(a){return(t,o)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(t.tagName),{class:e.normalizeClass(["ao-card",{"ao-card--clickable":t.isClickable}]),style:e.normalizeStyle(t.isSelected?{border:"solid",borderColor:t.color||"var(--ao-color-blue-base)",borderWidth:"thick"}:{})},{default:e.withCtx(()=>[t.withLeftBorder?(e.openBlock(),e.createElementBlock("div",{key:0,class:"ao-card__left-border",style:e.normalizeStyle({backgroundColor:t.color})},null,4)):e.createCommentVNode("",!0),e.createElementVNode("div",Q7,[t.$slots.header?(e.openBlock(),e.createElementBlock("header",J7,[e.renderSlot(t.$slots,"header")])):e.createCommentVNode("",!0),e.createElementVNode("div",ev,[e.renderSlot(t.$slots,"default")]),t.$slots.footer?(e.openBlock(),e.createElementBlock("footer",tv,[e.renderSlot(t.$slots,"footer")])):e.createCommentVNode("",!0)])]),_:3},8,["class","style"]))}});const Na=e.defineComponent({__name:"AoProgress",props:{percentages:{},status:{},color:{}},setup(a){const t=a,o=e.computed(()=>typeof t.percentages=="number"?[t.percentages]:t.percentages??[]);return(n,s)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["ao-progress",n.status?`ao-progress--${n.status}`:""]),role:"meter"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.value,r=>(e.openBlock(),e.createElementBlock("div",{key:r,class:e.normalizeClass(["ao-progress__progress"]),style:e.normalizeStyle({width:`${r*100}%`,"--ao-progress-color":n.color||"var(--ao-color-primary-base)"})},null,4))),128))],2))}});/*!
|
|
2
2
|
* vue-color-kit v1.0.6
|
|
3
3
|
* (c) 2023
|
|
4
4
|
* @license MIT
|
|
5
|
-
*/function Qe(a){let t={r:0,g:0,b:0,a:1};/#/.test(a)?t=ov(a):/rgb/.test(a)?t=Xo(a):typeof a=="string"?t=Xo(`rgba(${a})`):Object.prototype.toString.call(a)==="[object Object]"&&(t=a);const{r:o,g:n,b:s,a:r}=t,{h:l,s:i,v:c}=nv(t);return{r:o,g:n,b:s,a:r===void 0?1:r,h:l,s:i,v:c}}function mo(a){const t=document.createElement("canvas"),o=t.getContext("2d"),n=a*2;return t.width=n,t.height=n,o.fillStyle="#ffffff",o.fillRect(0,0,n,n),o.fillStyle="#ccd5db",o.fillRect(0,0,a,a),o.fillRect(a,a,a,a),t}function Ya(a,t,o,n,s,r){const l=a==="l",i=t.createLinearGradient(0,0,l?o:0,l?0:n);i.addColorStop(.01,s),i.addColorStop(.99,r),t.fillStyle=i,t.fillRect(0,0,o,n)}function av({r:a,g:t,b:o},n){const s=l=>("0"+Number(l).toString(16)).slice(-2),r=`#${s(a)}${s(t)}${s(o)}`;return n?r.toUpperCase():r}function ov(a){a=a.slice(1);const t=o=>parseInt(o,16)||0;return{r:t(a.slice(0,2)),g:t(a.slice(2,4)),b:t(a.slice(4,6))}}function Xo(a){return typeof a=="string"?(a=(/rgba?\((.*?)\)/.exec(a)||["","0,0,0,1"])[1].split(","),{r:Number(a[0])||0,g:Number(a[1])||0,b:Number(a[2])||0,a:Number(a[3]?a[3]:1)}):a}function nv({r:a,g:t,b:o}){a=a/255,t=t/255,o=o/255;const n=Math.max(a,t,o),s=Math.min(a,t,o),r=n-s;let l=0;n===s?l=0:n===a?t>=o?l=60*(t-o)/r:l=60*(t-o)/r+360:n===t?l=60*(o-a)/r+120:n===o&&(l=60*(a-t)/r+240),l=Math.floor(l);let i=parseFloat((n===0?0:1-s/n).toFixed(2)),c=parseFloat(n.toFixed(2));return{h:l,s:i,v:c}}var vo=e.defineComponent({props:{color:{type:String,default:"#000000"},hsv:{type:Object,default:null},size:{type:Number,default:152}},emits:["selectSaturation"],data(){return{slideSaturationStyle:{}}},mounted(){this.renderColor(),this.renderSlide()},methods:{renderColor(){const a=this.$refs.canvasSaturation,t=this.size,o=a.getContext("2d");a.width=t,a.height=t,o.fillStyle=this.color,o.fillRect(0,0,t,t),Ya("l",o,t,t,"#FFFFFF","rgba(255,255,255,0)"),Ya("p",o,t,t,"rgba(0,0,0,0)","#000000")},renderSlide(){this.slideSaturationStyle={left:this.hsv.s*this.size-5+"px",top:(1-this.hsv.v)*this.size-5+"px"}},selectSaturation(a){const{top:t,left:o}=this.$el.getBoundingClientRect(),n=a.target.getContext("2d"),s=l=>{let i=l.clientX-o,c=l.clientY-t;i<0&&(i=0),c<0&&(c=0),i>this.size&&(i=this.size),c>this.size&&(c=this.size),this.slideSaturationStyle={left:i-5+"px",top:c-5+"px"};const p=n.getImageData(Math.min(i,this.size-1),Math.min(c,this.size-1),1,1),[d,u,m]=p.data;this.$emit("selectSaturation",{r:d,g:u,b:m})};s(a);const r=()=>{document.removeEventListener("mousemove",s),document.removeEventListener("mouseup",r)};document.addEventListener("mousemove",s),document.addEventListener("mouseup",r)}}});const sv={ref:"canvasSaturation"};function lv(a,t,o,n,s,r){return e.openBlock(),e.createBlock("div",{class:"saturation",onMousedown:t[1]||(t[1]=e.withModifiers((...l)=>a.selectSaturation&&a.selectSaturation(...l),["prevent","stop"]))},[e.createVNode("canvas",sv,null,512),e.createVNode("div",{style:a.slideSaturationStyle,class:"slide"},null,4)],32)}vo.render=lv;vo.__file="src/color/Saturation.vue";var fo=e.defineComponent({props:{hsv:{type:Object,default:null},width:{type:Number,default:15},height:{type:Number,default:152}},emits:["selectHue"],data(){return{slideHueStyle:{}}},mounted(){this.renderColor(),this.renderSlide()},methods:{renderColor(){const a=this.$refs.canvasHue,t=this.width,o=this.height,n=a.getContext("2d");a.width=t,a.height=o;const s=n.createLinearGradient(0,0,0,o);s.addColorStop(0,"#FF0000"),s.addColorStop(.17*1,"#FF00FF"),s.addColorStop(.17*2,"#0000FF"),s.addColorStop(.17*3,"#00FFFF"),s.addColorStop(.17*4,"#00FF00"),s.addColorStop(.17*5,"#FFFF00"),s.addColorStop(1,"#FF0000"),n.fillStyle=s,n.fillRect(0,0,t,o)},renderSlide(){this.slideHueStyle={top:(1-this.hsv.h/360)*this.height-2+"px"}},selectHue(a){const{top:t}=this.$el.getBoundingClientRect(),o=a.target.getContext("2d"),n=r=>{let l=r.clientY-t;l<0&&(l=0),l>this.height&&(l=this.height),this.slideHueStyle={top:l-2+"px"};const i=o.getImageData(0,Math.min(l,this.height-1),1,1),[c,p,d]=i.data;this.$emit("selectHue",{r:c,g:p,b:d})};n(a);const s=()=>{document.removeEventListener("mousemove",n),document.removeEventListener("mouseup",s)};document.addEventListener("mousemove",n),document.addEventListener("mouseup",s)}}});const rv={ref:"canvasHue"};function iv(a,t,o,n,s,r){return e.openBlock(),e.createBlock("div",{class:"hue",onMousedown:t[1]||(t[1]=e.withModifiers((...l)=>a.selectHue&&a.selectHue(...l),["prevent","stop"]))},[e.createVNode("canvas",rv,null,512),e.createVNode("div",{style:a.slideHueStyle,class:"slide"},null,4)],32)}fo.render=iv;fo.__file="src/color/Hue.vue";var ho=e.defineComponent({props:{color:{type:String,default:"#000000"},rgba:{type:Object,default:null},width:{type:Number,default:15},height:{type:Number,default:152}},emits:["selectAlpha"],data(){return{slideAlphaStyle:{},alphaSize:5}},watch:{color(){this.renderColor()},"rgba.a"(){this.renderSlide()}},mounted(){this.renderColor(),this.renderSlide()},methods:{renderColor(){const a=this.$refs.canvasAlpha,t=this.width,o=this.height,n=this.alphaSize,s=mo(n),r=a.getContext("2d");a.width=t,a.height=o,r.fillStyle=r.createPattern(s,"repeat"),r.fillRect(0,0,t,o),Ya("p",r,t,o,"rgba(255,255,255,0)",this.color)},renderSlide(){this.slideAlphaStyle={top:this.rgba.a*this.height-2+"px"}},selectAlpha(a){const{top:t}=this.$el.getBoundingClientRect(),o=s=>{let r=s.clientY-t;r<0&&(r=0),r>this.height&&(r=this.height);let l=parseFloat((r/this.height).toFixed(2));this.$emit("selectAlpha",l)};o(a);const n=()=>{document.removeEventListener("mousemove",o),document.removeEventListener("mouseup",n)};document.addEventListener("mousemove",o),document.addEventListener("mouseup",n)}}});const cv={ref:"canvasAlpha"};function dv(a,t,o,n,s,r){return e.openBlock(),e.createBlock("div",{class:"color-alpha",onMousedown:t[1]||(t[1]=e.withModifiers((...l)=>a.selectAlpha&&a.selectAlpha(...l),["prevent","stop"]))},[e.createVNode("canvas",cv,null,512),e.createVNode("div",{style:a.slideAlphaStyle,class:"slide"},null,4)],32)}ho.render=dv;ho.__file="src/color/Alpha.vue";var Co=e.defineComponent({props:{color:{type:String,default:"#000000"},width:{type:Number,default:100},height:{type:Number,default:30}},data(){return{alphaSize:5}},watch:{color(){this.renderColor()}},mounted(){this.renderColor()},methods:{renderColor(){const a=this.$el,t=this.width,o=this.height,n=this.alphaSize,s=mo(n),r=a.getContext("2d");a.width=t,a.height=o,r.fillStyle=r.createPattern(s,"repeat"),r.fillRect(0,0,t,o),r.fillStyle=this.color,r.fillRect(0,0,t,o)}}});function uv(a,t,o,n,s,r){return e.openBlock(),e.createBlock("canvas")}Co.render=uv;Co.__file="src/color/Preview.vue";var go=e.defineComponent({props:{suckerCanvas:{type:Object,default:null},suckerArea:{type:Array,default:()=>[]}},data(){return{isOpenSucker:!1,suckerPreview:null,isSucking:!1}},watch:{suckerCanvas(a){this.isSucking=!1,this.suckColor(a)}},methods:{openSucker(){this.isOpenSucker?this.keydownHandler({keyCode:27}):(this.isOpenSucker=!0,this.isSucking=!0,this.$emit("openSucker",!0),document.addEventListener("keydown",this.keydownHandler))},keydownHandler(a){a.keyCode===27&&(this.isOpenSucker=!1,this.isSucking=!1,this.$emit("openSucker",!1),document.removeEventListener("keydown",this.keydownHandler),document.removeEventListener("mousemove",this.mousemoveHandler),document.removeEventListener("mouseup",this.mousemoveHandler),this.suckerPreview&&(document.body.removeChild(this.suckerPreview),this.suckerPreview=null))},mousemoveHandler(a){const{clientX:t,clientY:o}=a,{top:n,left:s,width:r,height:l}=this.suckerCanvas.getBoundingClientRect(),i=t-s,c=o-n,d=this.suckerCanvas.getContext("2d").getImageData(Math.min(i,r-1),Math.min(c,l-1),1,1);let[u,m,v,_]=d.data;_=parseFloat((_/255).toFixed(2));const C=this.suckerPreview.style;Object.assign(C,{position:"absolute",left:t+20+"px",top:o-36+"px",width:"24px",height:"24px",borderRadius:"50%",border:"2px solid #fff",boxShadow:"0 0 8px 0 rgba(0, 0, 0, 0.16)",background:`rgba(${u}, ${m}, ${v}, ${_})`,zIndex:95}),this.suckerArea.length&&t>=this.suckerArea[0]&&o>=this.suckerArea[1]&&t<=this.suckerArea[2]&&o<=this.suckerArea[3]?C.display="":C.display="none"},suckColor(a){a&&a.tagName!=="CANVAS"||(this.suckerPreview=document.createElement("div"),this.suckerPreview&&document.body.appendChild(this.suckerPreview),document.addEventListener("mousemove",this.mousemoveHandler),document.addEventListener("mouseup",this.mousemoveHandler),a.addEventListener("click",t=>{const{clientX:o,clientY:n}=t,{top:s,left:r,width:l,height:i}=a.getBoundingClientRect(),c=o-r,p=n-s,u=a.getContext("2d").getImageData(Math.min(c,l-1),Math.min(p,i-1),1,1);let[m,v,_,C]=u.data;C=parseFloat((C/255).toFixed(2)),this.$emit("selectSucker",{r:m,g:v,b:_,a:C})}))}}});const pv=e.createVNode("path",{d:"M13.1,8.2l5.6,5.6c0.4,0.4,0.5,1.1,0.1,1.5s-1.1,0.5-1.5,0.1c0,0-0.1,0-0.1-0.1l-1.4-1.4l-7.7,7.7C7.9,21.9,7.6,22,7.3,22H3.1C2.5,22,2,21.5,2,20.9l0,0v-4.2c0-0.3,0.1-0.6,0.3-0.8l5.8-5.8C8.5,9.7,9.2,9.6,9.7,10s0.5,1.1,0.1,1.5c0,0,0,0.1-0.1,0.1l-5.5,5.5v2.7h2.7l7.4-7.4L8.7,6.8c-0.5-0.4-0.5-1-0.1-1.5s1.1-0.5,1.5-0.1c0,0,0.1,0,0.1,0.1l1.4,1.4l3.5-3.5c1.6-1.6,4.1-1.6,5.8-0.1c1.6,1.6,1.6,4.1,0.1,5.8L20.9,9l-3.6,3.6c-0.4,0.4-1.1,0.5-1.5,0.1"},null,-1),mv={key:1,class:"sucker",viewBox:"-16 -16 68 68",xmlns:"http://www.w3.org/2000/svg",stroke:"#9099a4"},vv=e.createVNode("g",{fill:"none","fill-rule":"evenodd"},[e.createVNode("g",{transform:"translate(1 1)","stroke-width":"4"},[e.createVNode("circle",{"stroke-opacity":".5",cx:"18",cy:"18",r:"18"}),e.createVNode("path",{d:"M36 18c0-9.94-8.06-18-18-18"},[e.createVNode("animateTransform",{attributeName:"transform",type:"rotate",from:"0 18 18",to:"360 18 18",dur:"1s",repeatCount:"indefinite"})])])],-1);function fv(a,t,o,n,s,r){return e.openBlock(),e.createBlock("div",null,[a.isSucking?e.createCommentVNode("v-if",!0):(e.openBlock(),e.createBlock("svg",{key:0,class:[{active:a.isOpenSucker},"sucker"],xmlns:"http://www.w3.org/2000/svg",viewBox:"-12 -12 48 48",onClick:t[1]||(t[1]=(...l)=>a.openSucker&&a.openSucker(...l))},[pv],2)),a.isSucking?(e.openBlock(),e.createBlock("svg",mv,[vv])):e.createCommentVNode("v-if",!0)])}go.render=fv;go.__file="src/color/Sucker.vue";var _o=e.defineComponent({props:{name:{type:String,default:""},color:{type:String,default:""}},emits:["inputColor","inputFocus","inputBlur"],setup(a,{emit:t}){return{modelColor:e.computed({get(){return a.color||""},set(r){t("inputColor",r)}}),handleFocus:r=>{t("inputFocus",r)},handleBlur:r=>{t("inputBlur",r)}}}});const hv={class:"color-type"},Cv={class:"name"};function gv(a,t,o,n,s,r){return e.openBlock(),e.createBlock("div",hv,[e.createVNode("span",Cv,e.toDisplayString(a.name),1),e.withDirectives(e.createVNode("input",{"onUpdate:modelValue":t[1]||(t[1]=l=>a.modelColor=l),class:"value",onFocus:t[2]||(t[2]=(...l)=>a.handleFocus&&a.handleFocus(...l)),onBlur:t[3]||(t[3]=(...l)=>a.handleBlur&&a.handleBlur(...l))},null,544),[[e.vModelText,a.modelColor]])])}_o.render=gv;_o.__file="src/color/Box.vue";var yo=e.defineComponent({name:"ColorPicker",props:{color:{type:String,default:"#000000"},colorsDefault:{type:Array,default:()=>[]},colorsHistoryKey:{type:String,default:""}},emits:["selectColor"],setup(a,{emit:t}){const o=e.ref(),n=e.ref([]),s=e.ref();a.colorsHistoryKey&&localStorage&&(n.value=JSON.parse(localStorage.getItem(a.colorsHistoryKey))||[]),s.value=mo(4).toDataURL(),e.onUnmounted(()=>{r(o.value)});function r(i){if(!i)return;const c=n.value||[],p=c.indexOf(i);p>=0&&c.splice(p,1),c.length>=8&&(c.length=7),c.unshift(i),n.value=c||[],localStorage&&a.colorsHistoryKey&&localStorage.setItem(a.colorsHistoryKey,JSON.stringify(c))}function l(i){t("selectColor",i)}return{setColorsHistory:r,colorsHistory:n,color:o,imgAlphaBase64:s,selectColor:l}}});const _v={class:"colors"},yv={key:0,class:"colors history"};function bv(a,t,o,n,s,r){return e.openBlock(),e.createBlock("div",null,[e.createVNode("ul",_v,[(e.openBlock(!0),e.createBlock(e.Fragment,null,e.renderList(a.colorsDefault,l=>(e.openBlock(),e.createBlock("li",{key:l,class:"item",onClick:i=>a.selectColor(l)},[e.createVNode("div",{style:{background:`url(${a.imgAlphaBase64})`},class:"alpha"},null,4),e.createVNode("div",{style:{background:l},class:"color"},null,4)],8,["onClick"]))),128))]),a.colorsHistory.length?(e.openBlock(),e.createBlock("ul",yv,[(e.openBlock(!0),e.createBlock(e.Fragment,null,e.renderList(a.colorsHistory,l=>(e.openBlock(),e.createBlock("li",{key:l,class:"item",onClick:i=>a.selectColor(l)},[e.createVNode("div",{style:{background:`url(${a.imgAlphaBase64})`},class:"alpha"},null,4),e.createVNode("div",{style:{background:l},class:"color"},null,4)],8,["onClick"]))),128))])):e.createCommentVNode("v-if",!0)])}yo.render=bv;yo.__file="src/color/Colors.vue";var ut=e.defineComponent({components:{Saturation:vo,Hue:fo,Alpha:ho,Preview:Co,Sucker:go,Box:_o,Colors:yo},emits:["changeColor","openSucker","inputFocus","inputBlur"],props:{color:{type:String,default:"#000000"},theme:{type:String,default:"dark"},suckerHide:{type:Boolean,default:!0},suckerCanvas:{type:null,default:null},suckerArea:{type:Array,default:()=>[]},colorsDefault:{type:Array,default:()=>["#000000","#FFFFFF","#FF1900","#F47365","#FFB243","#FFE623","#6EFF2A","#1BC7B1","#00BEFF","#2E81FF","#5D61FF","#FF89CF","#FC3CAD","#BF3DCE","#8E00A7","rgba(0,0,0,0)"]},colorsHistoryKey:{type:String,default:"vue-colorpicker-history"}},data(){return{hueWidth:15,hueHeight:152,previewHeight:30,modelRgba:"",modelHex:"",r:0,g:0,b:0,a:1,h:0,s:0,v:0}},computed:{isLightTheme(){return this.theme==="light"},totalWidth(){return this.hueHeight+(this.hueWidth+8)*2},previewWidth(){return this.totalWidth-(this.suckerHide?0:this.previewHeight)},rgba(){return{r:this.r,g:this.g,b:this.b,a:this.a}},hsv(){return{h:this.h,s:this.s,v:this.v}},rgbString(){return`rgb(${this.r}, ${this.g}, ${this.b})`},rgbaStringShort(){return`${this.r}, ${this.g}, ${this.b}, ${this.a}`},rgbaString(){return`rgba(${this.rgbaStringShort})`},hexString(){return av(this.rgba,!0)}},created(){Object.assign(this,Qe(this.color)),this.setText(),this.$watch("rgba",()=>{this.$emit("changeColor",{rgba:this.rgba,hsv:this.hsv,hex:this.modelHex})})},methods:{selectSaturation(a){const{r:t,g:o,b:n,h:s,s:r,v:l}=Qe(a);Object.assign(this,{r:t,g:o,b:n,h:s,s:r,v:l}),this.setText()},handleFocus(a){this.$emit("inputFocus",a)},handleBlur(a){this.$emit("inputBlur",a)},selectHue(a){const{r:t,g:o,b:n,h:s,s:r,v:l}=Qe(a);Object.assign(this,{r:t,g:o,b:n,h:s,s:r,v:l}),this.setText(),this.$nextTick(()=>{this.$refs.saturation.renderColor(),this.$refs.saturation.renderSlide()})},selectAlpha(a){this.a=a,this.setText()},inputHex(a){const{r:t,g:o,b:n,a:s,h:r,s:l,v:i}=Qe(a);Object.assign(this,{r:t,g:o,b:n,a:s,h:r,s:l,v:i}),this.modelHex=a,this.modelRgba=this.rgbaStringShort,this.$nextTick(()=>{this.$refs.saturation.renderColor(),this.$refs.saturation.renderSlide(),this.$refs.hue.renderSlide()})},inputRgba(a){const{r:t,g:o,b:n,a:s,h:r,s:l,v:i}=Qe(a);Object.assign(this,{r:t,g:o,b:n,a:s,h:r,s:l,v:i}),this.modelHex=this.hexString,this.modelRgba=a,this.$nextTick(()=>{this.$refs.saturation.renderColor(),this.$refs.saturation.renderSlide(),this.$refs.hue.renderSlide()})},setText(){this.modelHex=this.hexString,this.modelRgba=this.rgbaStringShort},openSucker(a){this.$emit("openSucker",a)},selectSucker(a){const{r:t,g:o,b:n,a:s,h:r,s:l,v:i}=Qe(a);Object.assign(this,{r:t,g:o,b:n,a:s,h:r,s:l,v:i}),this.setText(),this.$nextTick(()=>{this.$refs.saturation.renderColor(),this.$refs.saturation.renderSlide(),this.$refs.hue.renderSlide()})},selectColor(a){const{r:t,g:o,b:n,a:s,h:r,s:l,v:i}=Qe(a);Object.assign(this,{r:t,g:o,b:n,a:s,h:r,s:l,v:i}),this.setText(),this.$nextTick(()=>{this.$refs.saturation.renderColor(),this.$refs.saturation.renderSlide(),this.$refs.hue.renderSlide()})}}});const kv={class:"color-set"};function wv(a,t,o,n,s,r){const l=e.resolveComponent("Saturation"),i=e.resolveComponent("Hue"),c=e.resolveComponent("Alpha"),p=e.resolveComponent("Preview"),d=e.resolveComponent("Sucker"),u=e.resolveComponent("Box"),m=e.resolveComponent("Colors");return e.openBlock(),e.createBlock("div",{class:["hu-color-picker",{light:a.isLightTheme}],style:{width:a.totalWidth+"px"}},[e.createVNode("div",kv,[e.createVNode(l,{ref:"saturation",color:a.rgbString,hsv:a.hsv,size:a.hueHeight,onSelectSaturation:a.selectSaturation},null,8,["color","hsv","size","onSelectSaturation"]),e.createVNode(i,{ref:"hue",hsv:a.hsv,width:a.hueWidth,height:a.hueHeight,onSelectHue:a.selectHue},null,8,["hsv","width","height","onSelectHue"]),e.createVNode(c,{ref:"alpha",color:a.rgbString,rgba:a.rgba,width:a.hueWidth,height:a.hueHeight,onSelectAlpha:a.selectAlpha},null,8,["color","rgba","width","height","onSelectAlpha"])]),e.createVNode("div",{style:{height:a.previewHeight+"px"},class:"color-show"},[e.createVNode(p,{color:a.rgbaString,width:a.previewWidth,height:a.previewHeight},null,8,["color","width","height"]),a.suckerHide?e.createCommentVNode("v-if",!0):(e.openBlock(),e.createBlock(d,{key:0,"sucker-canvas":a.suckerCanvas,"sucker-area":a.suckerArea,onOpenSucker:a.openSucker,onSelectSucker:a.selectSucker},null,8,["sucker-canvas","sucker-area","onOpenSucker","onSelectSucker"]))],4),e.createVNode(u,{name:"HEX",color:a.modelHex,onInputColor:a.inputHex,onInputFocus:a.handleFocus,onInputBlur:a.handleBlur},null,8,["color","onInputColor","onInputFocus","onInputBlur"]),e.createVNode(u,{name:"RGBA",color:a.modelRgba,onInputColor:a.inputRgba,onInputFocus:a.handleFocus,onInputBlur:a.handleBlur},null,8,["color","onInputColor","onInputFocus","onInputBlur"]),e.createVNode(m,{color:a.rgbaString,"colors-default":a.colorsDefault,"colors-history-key":a.colorsHistoryKey,onSelectColor:a.selectColor},null,8,["color","colors-default","colors-history-key","onSelectColor"]),e.createCommentVNode(" custom options "),e.renderSlot(a.$slots,"default")],6)}ut.render=wv;ut.__file="src/color/ColorPicker.vue";ut.install=a=>{a.component(ut.name,ut)};const $v={class:"color-picker-wrapper"},bo=e.defineComponent({__name:"AoColorPicker",props:{color:{}},emits:["update:color"],setup(a,{emit:t}){const o=a,n=e.ref(!1),s=e.ref(null),r=e.ref(null),l=e.ref(0),i=e.ref(0),c=async v=>{r.value=v,n.value=!0,await e.nextTick();const _=v.getBoundingClientRect(),C=s.value,h=(C==null?void 0:C.offsetHeight)||300,b=window.innerHeight-_.bottom,y=_.top,f=b<h&&y>h;console.log("pickerHeight = "+h),l.value=f?_.top-h-8:_.bottom+8,i.value=_.left,setTimeout(()=>{window.addEventListener("click",d)},0)},p=e.computed(()=>({position:"fixed",top:`${l.value}px`,left:`${i.value}px`,zIndex:1e3})),d=v=>{const _=v.target;s.value&&!s.value.contains(_)&&(n.value=!1,t("update:color",u.value),window.removeEventListener("click",d))};e.onBeforeUnmount(()=>{window.removeEventListener("click",d)}),e.watch(()=>o.color,v=>{n.value||(u.value=v)});const u=e.ref(o.color),m=v=>{const{r:_,g:C,b:h,a:b}=v.rgba;u.value=`rgba(${_}, ${C}, ${h}, ${b})`};return(v,_)=>(e.openBlock(),e.createElementBlock("div",$v,[e.renderSlot(v.$slots,"clickable",{openPicker:c,bgColor:v.color}),n.value?(e.openBlock(),e.createElementBlock("div",{key:0,ref_key:"pickerRef",ref:s,class:"color-picker",style:e.normalizeStyle(p.value)},[e.createVNode(e.unref(ut),{class:"color-picker-box",theme:"light",color:v.color,onChangeColor:m},null,8,["color"])],4)):e.createCommentVNode("",!0)]))}});const Ev={class:"ao-card-project-phase__header"},Bv={class:"ao-card-project-item__title-line"},Vv={key:0,class:"ao-card-project-item-phase__estimation"},Nv={class:"ao-card-project-phase__footer"},Sv={key:0,class:"ao-card-project-phase__footer-row ao-card-project-phase__footer-row--progress"},Mv={class:"ao-card-project-phase__subitem"},Av={class:"ao-card-project-phase__subitem"},Tv={key:0,class:"ao-card-project-phase__secondary"},Ov={class:"ao-card-project-phase__deadline ao-card-project-phase__deadline--readonly"},Iv=e.defineComponent({__name:"AoCardProjectItemPhase",props:{id:{},projectName:{},name:{},milestones:{},isEditable:{type:Boolean},deadline:{},active:{type:Boolean},color:{}},emits:["update:title","update:deadline","archivePhase","unarchivePhase","updatePhase"],setup(a,{emit:t}){const o=a,n=u=>{t("update:title",u)},s=e.computed(()=>{var u;return(u=o.milestones)==null?void 0:u.reduce((m,v)=>{var _;return m+((_=v.activities)==null?void 0:_.reduce((C,h)=>C+(h.estimation||0),0))},0)}),r=e.computed(()=>{var u;return(u=o.milestones)==null?void 0:u.length}),l=e.computed(()=>{var u;return(u=o.milestones)==null?void 0:u.filter(m=>m.status===Ot.done).length}),i=e.computed(()=>(l.value||0)/(r.value||1)),c=e.computed({get:()=>o.deadline??"",set:u=>t("update:deadline",u!=null&&u.length?u:null)}),p=e.computed({get:()=>o.color,set:u=>{t("updatePhase",{id:o.id,color:u})}}),d=(u,m)=>{const v=u.target;v.closest("button")||v.closest("input")||v.closest(".ao-title")||m(v)};return(u,m)=>(e.openBlock(),e.createBlock(bo,{color:p.value,"onUpdate:color":m[2]||(m[2]=v=>p.value=v)},{clickable:e.withCtx(({openPicker:v,bgColor:_})=>[e.createVNode(Va,{class:"ao-card-project-phase","is-clickable":u.isEditable,color:_,withLeftBorder:!0,onClick:C=>d(C,v)},e.createSlots({default:e.withCtx(()=>[e.createElementVNode("div",Bv,[e.createVNode(ne,{id:u.id,class:"ao-card-project-phase__title",title:u.name||"",level:4,"is-editable":u.isEditable,"onUpdate:title":n},null,8,["id","title","is-editable"]),s.value?(e.openBlock(),e.createElementBlock("span",Vv," ("+e.toDisplayString(s.value)+")",1)):e.createCommentVNode("",!0)])]),footer:e.withCtx(()=>[e.createElementVNode("div",Nv,[r.value?(e.openBlock(),e.createElementBlock("div",Sv,[e.createElementVNode("div",Mv,[e.createVNode(Q,{name:"MountainFlagOutlineRounded",size:"sm"}),e.createElementVNode("span",Av,e.toDisplayString(l.value)+" / "+e.toDisplayString(r.value),1)]),e.createVNode(Na,{percentages:i.value,class:"ao-card-project-phase__progress",color:u.color},null,8,["percentages","color"]),u.$slots.secondary?(e.openBlock(),e.createElementBlock("div",Tv,[e.renderSlot(u.$slots,"secondary")])):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(["ao-card-project-phase__footer-row",c.value?"":"ao-card-project-phase__no_deadline"])},[u.isEditable?e.withDirectives((e.openBlock(),e.createElementBlock("input",{key:0,"onUpdate:modelValue":m[1]||(m[1]=C=>c.value=C),class:"ao-card-project-phase__deadline ao-card-project-phase__deadline--input",type:"date"},null,512)),[[e.vModelText,c.value,void 0,{lazy:!0}]]):e.createCommentVNode("",!0),e.createElementVNode("span",Ov,e.toDisplayString(e.unref(_a)(u.deadline)),1)],2)])]),_:2},[u.isEditable?{name:"header",fn:e.withCtx(()=>[e.createElementVNode("div",Ev,[e.createVNode(K,{class:"ao-card-project-phase__archive",color:"primary",variant:"ghost","icon-name":"ArchiveOutlineRounded",size:"sm","icon-position":"start",corners:"round",label:u.active?u.$t("archive"):u.$t("unarchive"),onClick:m[0]||(m[0]=e.withModifiers(()=>u.active?u.$emit("archivePhase",{id:u.id}):u.$emit("unarchivePhase",{id:u.id}),["stop"]))},null,8,["label"])])]),key:"0"}:void 0]),1032,["is-clickable","color","onClick"])]),_:3},8,["color"]))}});const Lv=e.defineComponent({__name:"AoBadge",props:{color:{}},setup(a){return(t,o)=>(e.openBlock(),e.createElementBlock("span",{class:"aoBadge",style:e.normalizeStyle({backgroundColor:t.color})},null,4))}});const Dv={class:"ao-card-project-milestone__default"},Pv={class:"ao-title-with-badge-wrapper"},Hv={class:"ao-card-project-item__title-line"},Rv={key:0,class:"ao-card-project-item-milestone__estimation"},jv={key:0,class:"ao-card-project-milestone__archive"},Fv={class:"ao-card-project-milestone__activities"},Uv={class:"ao-card-project-milestone__activities-row"},zv={class:"ao-card-project-milestone__subitem"},Zv={class:"ao-card-project-milestone__subitem"},xv={key:1,class:"ao-card-project-milestone__secondary"},Wv={class:"ao-card-project-milestone__footer"},qv={key:1,class:"ao-field ao-card-project-milestone__deadline"},Yv={class:"ao-field__label"},Kv={key:2,class:"ao-card-project-milestone__assignee"},Gv=e.defineComponent({__name:"AoCardProjectItemMilestone",props:{id:{},name:{},color:{},phaseColor:{},activities:{},closedStatus:{},isEditable:{type:Boolean},deadline:{},active:{type:Boolean},isSelected:{type:Boolean},assignee:{},important:{type:Boolean},readonly:{type:Boolean}},emits:["updateMilestone","archiveMilestone","unarchiveMilestone"],setup(a,{emit:t}){const o=a,n=e.computed(()=>{var c;return(c=o.activities)==null?void 0:c.reduce((p,d)=>p+(d.estimation||0),0)}),s=e.computed(()=>{var c;return(c=o.activities)==null?void 0:c.length}),r=e.computed(()=>{var c;return(c=o.activities)==null?void 0:c.filter(p=>Qa(p,o.closedStatus)).length}),l=e.computed(()=>(r.value||0)/(s.value||1)),i=c=>{t("updateMilestone",{id:o.id,name:c})};return(c,p)=>(e.openBlock(),e.createBlock(Va,{class:e.normalizeClass(["ao-card-project-milestone"]),"is-clickable":!c.readonly,"tag-name":"li","is-selected":c.isSelected,color:c.phaseColor},{default:e.withCtx(()=>[e.createElementVNode("div",Dv,[e.createElementVNode("div",Pv,[e.createVNode(Lv,{color:c.color||""},null,8,["color"]),e.createElementVNode("div",Hv,[e.createVNode(ne,{id:c.id,title:c.name||"",level:5,"is-editable":!c.readonly&&c.isEditable,class:"ao-card-project-milestone__title","onUpdate:title":i},null,8,["id","title","is-editable"]),n.value?(e.openBlock(),e.createElementBlock("span",Rv," ("+e.toDisplayString(n.value)+")",1)):e.createCommentVNode("",!0)])]),!c.readonly&&c.isEditable?(e.openBlock(),e.createElementBlock("div",jv,[e.createVNode(K,{color:"primary",variant:"ghost","icon-name":"ArchiveOutlineRounded",size:"sm","icon-position":"start",corners:"round",label:c.active?c.$t("archive"):c.$t("unarchive"),onClick:p[0]||(p[0]=e.withModifiers(()=>c.active?c.$emit("archiveMilestone",{id:c.id}):c.$emit("unarchiveMilestone",{id:c.id}),["stop"]))},null,8,["label"])])):e.createCommentVNode("",!0)]),e.createElementVNode("div",Fv,[e.createElementVNode("div",Uv,[s.value?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("div",zv,[e.createVNode(Q,{name:"SelectCheckBox",size:"sm"}),e.createElementVNode("span",Zv,e.toDisplayString(r.value)+" / "+e.toDisplayString(s.value),1)]),e.createVNode(Na,{percentages:l.value,color:c.phaseColor,class:"ao-card-project-milestone__progress"},null,8,["percentages","color"])],64)):e.createCommentVNode("",!0),c.$slots.secondary?(e.openBlock(),e.createElementBlock("div",xv,[e.renderSlot(c.$slots,"secondary")])):e.createCommentVNode("",!0)])])]),footer:e.withCtx(()=>[e.createElementVNode("div",Wv,[c.important?(e.openBlock(),e.createBlock(Q,{key:0,name:"FlagRounded",class:e.normalizeClass(c.isSelected?"ao-card-project-milestone__important--selected":"ao-card-project-milestone__important"),size:"sm"},null,8,["class"])):e.createCommentVNode("",!0),c.deadline?(e.openBlock(),e.createElementBlock("label",qv,[e.createElementVNode("span",Yv,e.toDisplayString(e.unref(_a)(c.deadline)),1)])):e.createCommentVNode("",!0),c.assignee?(e.openBlock(),e.createElementBlock("div",Kv,[e.createVNode(ke,{"user-name":e.unref(bn)(c.assignee),"avatar-url":c.assignee.avatarUrl,color:c.isSelected?"black":"primary",size:"sm"},null,8,["user-name","avatar-url","color"])])):e.createCommentVNode("",!0)])]),_:3},8,["is-clickable","is-selected","color"]))}});const Xv={class:"ao-mapping-card-project-phase__header"},Qv={class:"ao-card-project-item__title-line"},Jv={key:0,class:"ao-card-project-item-phase__estimation"},ef={class:"ao-mapping-card-project-phase__footer"},tf={key:0,class:"ao-mapping-card-project-phase__footer-row ao-mapping-card-project-phase__footer-row--progress"},af={class:"ao-mapping-card-project-phase__subitem"},of={class:"ao-mapping-card-project-phase__subitem"},nf={key:0,class:"ao-mapping-card-project-phase__secondary"},sf={class:"ao-mapping-card-project-phase__deadline ao-mapping-card-project-phase__deadline--readonly"},lf=e.defineComponent({__name:"AoCondensedCardProjectItemPhase",props:{id:{},projectName:{},name:{},milestones:{},isEditable:{type:Boolean},deadline:{},active:{type:Boolean},color:{}},emits:["update:title","update:deadline","archivePhase","updatePhase","unarchivePhase"],setup(a,{emit:t}){const o=a,n=u=>{t("update:title",u)},s=e.computed(()=>{var u;return(u=o.milestones)==null?void 0:u.reduce((m,v)=>{var _;return m+((_=v.activities)==null?void 0:_.reduce((C,h)=>C+(h.estimation||0),0))},0)}),r=e.computed(()=>{var u;return(u=o.milestones)==null?void 0:u.length}),l=e.computed(()=>{var u;return(u=o.milestones)==null?void 0:u.filter(m=>m.status===Ot.done).length}),i=e.computed(()=>(l.value||0)/(r.value||1)),c=e.computed({get:()=>o.deadline??"",set:u=>t("update:deadline",u!=null&&u.length?u:null)}),p=e.computed({get:()=>o.color,set:u=>{t("updatePhase",{id:o.id,color:u})}}),d=(u,m)=>{const v=u.target;v.closest("button")||v.closest("input")||v.closest(".ao-title")||m()};return(u,m)=>(e.openBlock(),e.createBlock(bo,{color:p.value,"onUpdate:color":m[2]||(m[2]=v=>p.value=v)},{clickable:e.withCtx(({openPicker:v,bgColor:_})=>[e.createVNode(Va,{class:"ao-mapping-card-project-phase","is-clickable":u.isEditable,color:_,withLeftBorder:!0,onClick:C=>d(C,v)},e.createSlots({default:e.withCtx(()=>[e.createElementVNode("div",Qv,[e.createVNode(ne,{id:u.id,class:"ao-mapping-card-project-phase__title",title:u.name||"",level:4,"is-editable":u.isEditable,"onUpdate:title":n},null,8,["id","title","is-editable"]),s.value?(e.openBlock(),e.createElementBlock("span",Jv," ("+e.toDisplayString(s.value)+")",1)):e.createCommentVNode("",!0)])]),footer:e.withCtx(()=>[e.createElementVNode("div",ef,[r.value?(e.openBlock(),e.createElementBlock("div",tf,[e.createElementVNode("div",af,[e.createVNode(Q,{name:"MountainFlagOutlineRounded",size:"sm"}),e.createElementVNode("span",of,e.toDisplayString(l.value)+" / "+e.toDisplayString(r.value),1)]),e.createVNode(Na,{percentages:i.value,class:"ao-mapping-card-project-phase__progress",color:p.value},null,8,["percentages","color"]),u.$slots.secondary?(e.openBlock(),e.createElementBlock("div",nf,[e.renderSlot(u.$slots,"secondary")])):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(["ao-mapping-card-project-phase__footer-row",c.value?"":"ao-mapping-card-project-phase__no_deadline"])},[u.isEditable?e.withDirectives((e.openBlock(),e.createElementBlock("input",{key:0,"onUpdate:modelValue":m[1]||(m[1]=C=>c.value=C),class:"ao-mapping-card-project-phase__deadline ao-mapping-card-project-phase__deadline--input",type:"date"},null,512)),[[e.vModelText,c.value,void 0,{lazy:!0}]]):e.createCommentVNode("",!0),e.createElementVNode("span",sf,e.toDisplayString(e.unref(_a)(u.deadline)),1)],2)])]),_:2},[u.isEditable?{name:"header",fn:e.withCtx(()=>[e.createElementVNode("div",Xv,[e.createVNode(K,{class:"ao-mapping-card-project-phase__archive",color:"primary",variant:"ghost","icon-name":"ArchiveOutlineRounded",size:"sm","icon-position":"start",corners:"round",label:u.active?u.$t("archive"):u.$t("unarchive"),onClick:m[0]||(m[0]=e.withModifiers(()=>u.active?u.$emit("archivePhase",{id:u.id}):u.$emit("unarchivePhase",{id:u.id}),["stop"]))},null,8,["label"])])]),key:"0"}:void 0]),1032,["is-clickable","color","onClick"])]),_:3},8,["color"]))}});const rf={class:"ao-project-phase"},cf={key:0,class:"ao-project-phase__drag ao-card__drag"},df={key:1,class:"ao-project-phase__col-phase"},uf={key:2,class:"ao-mapping-project-phase__col-phase"},pf={key:0,class:"ao-project-phase__col-milestones"},mf={class:"ao-project-phase__milestones-list-footer"},vf=e.defineComponent({__name:"AoProjectPhase",props:{phase:{},closedStatus:{},users:{},isEditable:{type:Boolean},readonly:{type:Boolean}},emits:["addMilestone","updateMilestone","archiveMilestone","unarchiveMilestone","updatePhase","archivePhase","unarchivePhase"],setup(a,{emit:t}){const o=a,{t:n}=Ye();e.watch(()=>o.phase.milestones,(y,f)=>{Me(y,f)});const s=y=>{t("updatePhase",{id:o.phase.id,name:y})},r=y=>{t("updatePhase",{id:o.phase.id,deadline:y})},l=y=>{t("updatePhase",y)},i=e.computed(()=>o.phase.milestones.map(y=>Q0(y,o.closedStatus))),c=y=>{const{name:f,rank:B}=ot(i.value??[],"milestone",n);t("addMilestone",{name:f,rank:B,phaseId:y})},p=y=>{t("updateMilestone",y)},d=y=>{t("archiveMilestone",y)},u=y=>{t("unarchiveMilestone",y)},m=y=>{t("archivePhase",y)},v=y=>{t("unarchivePhase",y)},_=y=>{"added"in y?t("updateMilestone",{id:y.added.element.id,phaseId:o.phase.id,rank:pt(i.value,y.added.newIndex)}):"removed"in y||"moved"in y&&t("updateMilestone",{id:y.moved.element.id,rank:pt(i.value,y.moved.newIndex)})},C=Rt.useRoute(),h=e.computed(()=>C.path.includes("/mapping")),b=e.computed(()=>{var y;return o.phase.id!==((y=C.params)==null?void 0:y.phaseId)?{backgroundColor:"var(--ao-color-sheet)"}:o.phase.color?{backgroundColor:e3(o.phase.color)}:{backgroundColor:"var(--ao-color-primary-lightest)"}});return(y,f)=>(e.openBlock(),e.createElementBlock("li",rf,[e.createElementVNode("div",{class:"ao-project-phases__draggable-card",style:e.normalizeStyle(b.value)},[y.isEditable?(e.openBlock(),e.createElementBlock("div",cf,[e.createVNode(Q,{name:"DragIndicator",class:"ao-project-phase__drag-handle"})])):e.createCommentVNode("",!0),h.value?(e.openBlock(),e.createElementBlock("div",uf,[e.createVNode(lf,{id:y.phase.id,milestones:i.value,name:y.phase.name,deadline:y.phase.deadline,active:y.phase.active,"is-editable":y.isEditable,color:y.phase.color,"onUpdate:deadline":r,"onUpdate:title":s,onArchivePhase:m,onUnarchivePhase:v,onUpdatePhase:l},null,8,["id","milestones","name","deadline","active","is-editable","color"])])):(e.openBlock(),e.createElementBlock("div",df,[e.createVNode(Iv,{id:y.phase.id,milestones:i.value,name:y.phase.name,deadline:y.phase.deadline,active:y.phase.active,"is-editable":y.isEditable,color:y.phase.color,"onUpdate:deadline":r,"onUpdate:title":s,onArchivePhase:m,onUnarchivePhase:v,onUpdatePhase:l},null,8,["id","milestones","name","deadline","active","is-editable","color"])]))],4),h.value?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",pf,[e.createElementVNode("div",{class:"ao-project-phase__milestones",style:e.normalizeStyle(b.value)},[e.createVNode(e.unref(xe),e.mergeProps({class:"ao-project-phase__milestones-list",list:i.value,disabled:y.readonly||!y.isEditable,"item-key":"id",group:"kanban"},y.$attrs,{onChange:_}),{item:e.withCtx(({element:B})=>{var M;return[e.createVNode(Gv,{id:B.id,name:B.name,color:B.color,"phase-color":y.phase.color,activities:B.activities,deadline:B.deadline,active:B.active,"is-editable":!y.readonly&&y.isEditable,"is-draggable":!y.readonly&&y.isEditable,"closed-status":y.closedStatus,"is-selected":B.id===((M=y.$route.params)==null?void 0:M.milestoneId),assignee:B.assignee,important:B.important,readonly:y.readonly,class:e.normalizeClass(["ao-project-phase__milestone"]),onClick:E=>!y.readonly&&y.$router.push({name:e.unref(oe).milestone,params:{phaseId:y.phase.id,milestoneId:B.id}}),onUpdateMilestone:p,onArchiveMilestone:d,onUnarchiveMilestone:u},null,8,["id","name","color","phase-color","activities","deadline","active","is-editable","is-draggable","closed-status","is-selected","assignee","important","readonly","onClick"])]}),_:1},16,["list","disabled"]),e.createElementVNode("div",mf,[y.isEditable?(e.openBlock(),e.createBlock(We,{key:0,label:y.$t("project.milestone.add"),class:"ao-project-phase__milestone-add","icon-name":"Add",onClick:f[0]||(f[0]=()=>c(y.phase.id))},null,8,["label"])):e.createCommentVNode("",!0)])],4)]))]))}});const ff={class:"ao-project__phases"},hf={key:0,class:"ao-project-phase__phases-list-footer"},Cf=e.createElementVNode("div",{class:"ao-project-phase__empty_drag"},null,-1),gf={class:"ao-project-phase__col-phase"},_f=e.createElementVNode("div",{class:"ao-project-phase__col-milestones"},null,-1),ko=e.defineComponent({__name:"AoProjectPhases",props:{phases:{},closedStatus:{},isEditable:{type:Boolean},users:{},readonly:{type:Boolean}},emits:["addMilestone","updateMilestone","archiveMilestone","unarchiveMilestone","addPhase","updatePhase","archivePhase","unarchivePhase"],setup(a,{emit:t}){const o=a;e.watch(()=>o.phases,(m,v)=>{Me(m,v)});const n=m=>{t("addMilestone",m)},s=m=>{t("updateMilestone",m)},r=m=>{t("archiveMilestone",m)},l=m=>{t("unarchiveMilestone",m)},i=m=>{t("archivePhase",m)},c=m=>{t("unarchivePhase",m)},p=m=>{if(m.moved){const v=zt(m,o.phases??[]);t("updatePhase",{id:m.moved.element.id,rank:v})}},d=m=>{t("updatePhase",m)},u=m=>{t("addPhase",m)};return(m,v)=>(e.openBlock(),e.createElementBlock("div",ff,[e.createVNode(e.unref(xe),{class:"ao-project-phase__phases-list","model-value":m.phases,"item-key":"id",handle:".ao-card__drag",onChange:p},{item:e.withCtx(({element:_})=>[e.createVNode(vf,{phase:_,"is-editable":!m.readonly&&m.isEditable,"closed-status":m.closedStatus,users:m.users,readonly:m.readonly,onAddMilestone:n,onUpdateMilestone:s,onArchiveMilestone:r,onUnarchiveMilestone:l,onUpdatePhase:d,onArchivePhase:i,onUnarchivePhase:c},null,8,["phase","is-editable","closed-status","users","readonly"])]),_:1},8,["model-value"]),m.isEditable?(e.openBlock(),e.createElementBlock("div",hf,[Cf,e.createElementVNode("div",gf,[e.createVNode(We,{label:m.$t("project.phases.add"),"icon-name":"Add",class:"ao-project-phase__add-phase",onClick:u},null,8,["label"])]),_f])):e.createCommentVNode("",!0)]))}});const yf=["onSubmit"],bf={class:"ao-add-template-modal__form-body"},kf={class:"field__row"},wf={class:"ao-add-template-modal__form-footer"},jn=e.defineComponent({__name:"AoAddTemplateModal",props:{projectId:{},templates:{}},emits:["apply"],setup(a,{emit:t}){const o=a,n=e.computed(()=>o.templates.map(i=>({value:i.id,label:i.name}))),s=e.ref(null),r=i=>{s.value=i},l=()=>{s.value&&t("apply",s.value,o.projectId)};return(i,c)=>(e.openBlock(),e.createBlock(ya,{size:"sm"},{header:e.withCtx(()=>[e.createVNode(ne,{title:i.$t("project.template.apply.title"),level:3},null,8,["title"])]),default:e.withCtx(()=>[e.createElementVNode("form",{class:"ao-add-template-modal__form",onSubmit:e.withModifiers(l,["prevent"])},[e.createElementVNode("p",null,e.toDisplayString(i.$t("project.template.apply.notice")),1),e.createElementVNode("div",bf,[e.createElementVNode("div",kf,[e.createVNode(re,{value:s.value,options:n.value,detached:!0,onChange:r},null,8,["value","options"])])]),e.createElementVNode("footer",wf,[e.createVNode(K,{label:i.$t("project.template.apply.label"),type:"submit",color:"primary",variant:"solid",onClick:l},null,8,["label"])])],40,yf)]),_:1}))}});const $f=["onSubmit"],Ef={class:"ao-save-template-modal__form-body"},Bf={class:"field__row"},Vf={class:"ao-field ao-field--inline"},Nf={class:"ao-field__label"},Sf={class:"ao-save-template-modal__phases"},Mf={class:"ao-field__label"},Af={class:"ao-save-template-modal__phases-list"},Tf=["value"],Of={class:"ao-save-template-modal__form-footer"},Fn=e.defineComponent({__name:"AoSaveTemplateModal",props:{phases:{}},emits:["save"],setup(a,{emit:t}){const o=a,n=e.ref(""),s=e.ref([]);e.onMounted(()=>{s.value=o.phases.map(l=>l.id)});const r=()=>{n.value&&t("save",n.value,s.value)};return(l,i)=>(e.openBlock(),e.createBlock(ya,{size:"sm"},{header:e.withCtx(()=>[e.createVNode(ne,{title:l.$t("project.template.save.title"),level:3},null,8,["title"])]),default:e.withCtx(()=>[e.createElementVNode("form",{class:"ao-save-template-modal__form",onSubmit:e.withModifiers(r,["prevent"])},[e.createElementVNode("div",Ef,[e.createElementVNode("div",Bf,[e.createElementVNode("label",Vf,[e.createElementVNode("span",Nf,e.toDisplayString(l.$t("project.template.name.label"))+": ",1),e.withDirectives(e.createElementVNode("input",{"onUpdate:modelValue":i[0]||(i[0]=c=>n.value=c),type:"text"},null,512),[[e.vModelText,n.value]])])]),e.createElementVNode("div",Sf,[e.createElementVNode("div",Mf,e.toDisplayString(l.$t("project.template.phases.label")),1),e.createElementVNode("div",Af,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.phases,c=>(e.openBlock(),e.createElementBlock("label",{class:"ao-field ao-field--checkbox",key:c.id},[e.withDirectives(e.createElementVNode("input",{type:"checkbox",value:c.id,"onUpdate:modelValue":i[1]||(i[1]=p=>s.value=p)},null,8,Tf),[[e.vModelCheckbox,s.value]]),e.createElementVNode("span",null,e.toDisplayString(c.name),1)]))),128))])])]),e.createElementVNode("footer",Of,[e.createVNode(K,{label:l.$t("project.template.save.label"),type:"submit",color:"primary",variant:"solid",onClick:r},null,8,["label"])])],40,$f)]),_:1}))}});const If=e.defineComponent({props:{modelValue:{type:[String,Number],required:!0},tabs:{type:Array,required:!0}},emits:["update:modelValue"],methods:{selectTab(a){this.$emit("update:modelValue",a)}}});const Lf={class:"tabbar-wrapper"},Df=["onClick"];function Pf(a,t,o,n,s,r){return e.openBlock(),e.createElementBlock("div",Lf,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.tabs,l=>(e.openBlock(),e.createElementBlock("button",{key:l.value,class:e.normalizeClass(["tab-button",{"tab-button--active":l.value===a.modelValue}]),type:"button",onClick:i=>a.selectTab(l.value)},e.toDisplayString(l.label),11,Df))),128))])}const wo=I(If,[["render",Pf],["__scopeId","data-v-ff4e3297"]]),Hf={class:"ao-project"},Rf={class:"ao-project__body"},jf=e.defineComponent({__name:"AoProjectOverviewProject",props:{project:{},phases:{},closedStatus:{},users:{},userId:{},templates:{},isTaskCheckable:{type:Function},statuses:{},activityTypes:{},isEditable:{type:[Boolean,String]},showsArchived:{type:Boolean},attachmentEnabled:{type:Boolean}},emits:["addPhase","updatePhase","archivePhase","unarchivePhase","addMilestone","updateMilestone","archiveMilestone","unarchiveMilestone","addActivity","update:activity","archiveActivity","copyPhaseToTemplate","unarchiveActivity","addSubtask","updateSubtask","deleteSubtask","addFiles","removeFile","addComment","updateComment","removeComment","applyTemplate","saveTemplate","update:showsArchived"],setup(a,{emit:t}){const o=a,{t:n}=Ye(),s=e.computed(()=>o.phases.flatMap($=>$.milestones)),r=()=>{const{name:$,rank:k}=ot(o.phases,"phase",n);t("addPhase",{name:$,rank:k,projectId:o.project.id})},l=$=>{t("updatePhase",$)},i=$=>{t("archivePhase",$)},c=$=>{t("unarchivePhase",$)},p=$=>{t("copyPhaseToTemplate",$)},d=$=>{t("addMilestone",$)},u=$=>{t("updateMilestone",$)},m=$=>{t("archiveMilestone",$)},v=$=>{t("unarchiveMilestone",$)},_=$=>{t("addActivity",$)},C=$=>{t("update:activity",$)},h=$=>{t("archiveActivity",$)},b=$=>{t("unarchiveActivity",$)},y=$=>{t("addSubtask",$)},f=$=>{t("updateSubtask",$)},B=$=>{t("deleteSubtask",$)},M=e.computed(()=>s.value.flatMap($=>$.activities)),E=$=>{t("addFiles",$)},L=$=>{t("removeFile",$)},P=$=>{t("addComment",$)},R=$=>{t("updateComment",$)},F=$=>{t("removeComment",$)},z=e.ref(!1),T=e.ref(!1),j=($,k)=>{t("applyTemplate",{templateId:$,projectId:k}),z.value=!1},Y=($,k)=>{var S;const O=(S=o.templates)==null?void 0:S.at(-1),g=O?se.LexoRank.parse(O.rank).genNext():se.LexoRank.middle();t("saveTemplate",{templateName:$,rank:g.format(),phaseIds:k}),T.value=!1},Z=Rt.useRouter(),U=e.ref("overview"),V=[{label:"Overview",value:"overview"},{label:"Feed",value:"feed"},{label:"Mapping",value:"mapping"}];return e.watch(U,$=>{$==="feed"?(Z.push({name:oe.feed}),console.log("Navigating to feed...")):$==="overview"?(Z.push({name:oe.project}),console.log("Navigating to feed...")):$==="mapping"&&(Z.push({name:oe.mapping}),console.log("Navigating to feed..."))}),($,k)=>{const O=e.resolveComponent("RouterView");return e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createElementVNode("div",e.mergeProps({class:"ao-project-overview"},$.$attrs),[e.createElementVNode("div",Hf,[e.createVNode(Zt,null,{primary:e.withCtx(()=>[e.createVNode(wo,{tabs:V,modelValue:U.value,"onUpdate:modelValue":k[0]||(k[0]=g=>U.value=g)},null,8,["modelValue"]),e.createVNode(K,{class:"ao-feed__show-archived",size:"sm","icon-name":$.showsArchived?"CheckBoxOutlineRounded":"CheckBoxOutlineBlank","icon-position":"start",color:"primary",variant:"ghost",label:$.$t("feed.filters.showsArchived.label"),role:"checkbox","aria-checked":$.showsArchived,onClick:k[1]||(k[1]=g=>$.$emit("update:showsArchived",!$.showsArchived))},null,8,["icon-name","label","aria-checked"])]),secondary:e.withCtx(()=>[$.isEditable===!0?(e.openBlock(),e.createBlock(K,{key:0,class:"ao-project-overview__save-as-template",color:"primary",label:$.$t("project.template.save.label"),onClick:k[2]||(k[2]=g=>T.value=!0)},null,8,["label"])):e.createCommentVNode("",!0),$.isEditable===!0?(e.openBlock(),e.createBlock(K,{key:1,class:"ao-project-overview__add-template",color:"primary",label:$.$t("project.template.apply.label"),onClick:k[3]||(k[3]=g=>z.value=!0)},null,8,["label"])):e.createCommentVNode("",!0)]),_:1}),e.createElementVNode("div",Rf,[e.createVNode(ko,{phases:$.phases,"closed-status":$.closedStatus,"is-editable":$.isEditable===!0,users:$.users,onAddMilestone:d,onUpdateMilestone:u,onArchiveMilestone:m,onUnarchiveMilestone:v,onAddPhase:r,onUpdatePhase:l,onArchivePhase:i,onUnarchivePhase:c,onCopyPhaseToTemplate:p},null,8,["phases","closed-status","is-editable","users"])])]),e.createVNode(O,{class:"ao-project__sidebar",phases:$.phases,"project-id":$.project.id,"project-name":$.project.name,users:$.users,"is-editable":$.isEditable===!0,"closed-status":$.closedStatus,onClose:k[4]||(k[4]=g=>$.$router.push({name:e.unref(oe).project})),onUpdateMilestone:u,onAddActivity:_,onUpdateActivity:C,onArchiveActivity:h,onUnarchiveActivity:b},null,8,["phases","project-id","project-name","users","is-editable","closed-status"]),(e.openBlock(),e.createBlock(e.Teleport,{to:"body"},[e.createVNode(O,{name:"modal",activities:M.value,"is-task-checkable":$.isTaskCheckable,statuses:$.statuses,"activity-types":$.activityTypes,phases:$.phases,project:$.project,users:$.users,"user-id":$.userId,"is-editable":$.isEditable,"attachment-enabled":$.attachmentEnabled,"onUpdate:activity":C,onAddSubtask:y,onUpdateSubtask:f,onDeleteSubtask:B,onAddFiles:E,onRemoveFile:L,onAddComment:P,onUpdateComment:R,onRemoveComment:F},{default:e.withCtx(({Component:g})=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(g),null,{default:e.withCtx(S=>[e.renderSlot($.$slots,"activityDetailsBody",e.normalizeProps(e.guardReactiveProps(S)))]),_:2},1024))]),_:3},8,["activities","is-task-checkable","statuses","activity-types","phases","project","users","user-id","is-editable","attachment-enabled"])]))],16),(e.openBlock(),e.createBlock(e.Teleport,{to:"body"},[T.value?(e.openBlock(),e.createBlock(Fn,{key:0,phases:$.phases,onClose:k[5]||(k[5]=g=>T.value=!1),onSave:Y},null,8,["phases"])):e.createCommentVNode("",!0),z.value?(e.openBlock(),e.createBlock(jn,{key:1,"project-id":$.project.id,templates:$.templates,onClose:k[6]||(k[6]=g=>z.value=!1),onApply:j},null,8,["project-id","templates"])):e.createCommentVNode("",!0)]))],64)}}});const Ff={class:"ao-card-feed__header"},Uf={key:1,class:"ao-card-feed__header-secondary ao-card-feed__header-icons"},zf={key:2,class:"ao-card-feed__header-secondary ao-card-feed__secondary"},Zf={class:"ao-card-feed__body"},xf={key:0,class:"ao-card-feed__breadcrumbs"},Wf={class:e.normalizeClass(["ao-card-feed__title-group"])},qf={class:"ao-card-feed__title-line"},Yf={key:0,class:"ao-card-feed__slug"},Kf={key:1,class:"ao-card-feed__deadline"},Gf={class:"ao-card-feed__footer"},Xf={class:"ao-card-feed__footer-row"},Qf={class:"ao-assignees"},Jf={key:0,class:"ao-assignee"},eh={key:0,class:"ao-card-feed__subitems"},th={key:0,class:"ao-card-feed__subitem"},ah={class:"ao-card-feed__subitem"},oh={key:1,class:"ao-card-feed__subitem"},nh={class:"ao-card-feed__subitem"},sh={class:"ao-card-feed__footer-row"},lh={key:0,class:"ao-card-feed__progress-wrapper"},rh={class:"ao-card-feed__subitem"},ih={class:"ao-card-feed__subitem"},$o=e.defineComponent({__name:"AoCardFeed",props:{id:{},name:{},projectName:{},projectColor:{},phaseName:{},milestoneName:{},milestoneColor:{},deadline:{},important:{type:Boolean},assignee:{},slug:{},comments:{},attachments:{},tasks:{},isEditable:{type:Boolean},isPrivate:{type:Boolean},isClosed:{type:Boolean},tagType:{}},emits:["removeAssignee","updateActivity"],setup(a,{emit:t}){const o=a,n=e.computed(()=>o.tagType==="milestone"?o.milestoneName:o.projectName),s=e.computed(()=>o.tagType==="milestone"?o.milestoneColor:o.projectColor),r=v=>{t("updateActivity",{id:o.id,name:v})},l=e.computed(()=>o.tagType==="milestone"&&o.phaseName?`${o.phaseName}`:o.phaseName&&o.milestoneName?`${o.phaseName} / ${o.milestoneName}`:""),i=e.computed(()=>o.assignee?[o.assignee]:[]),c=e.computed(()=>_a(o.deadline)),p=v=>{t("removeAssignee",v)},d=e.computed(()=>{var v;return(v=o.tasks)==null?void 0:v.length}),u=e.computed(()=>{var v;return(v=o.tasks)==null?void 0:v.filter(_=>_.isDone).length}),m=e.computed(()=>(u.value||0)/(d.value||1));return(v,_)=>(e.openBlock(),e.createBlock(Va,{class:e.normalizeClass(["ao-card-feed",{"ao-card-feed--closed":v.isClosed}]),"is-clickable":!0},{header:e.withCtx(()=>[e.createElementVNode("div",Ff,[n.value?(e.openBlock(),e.createBlock(Tt,{key:0,label:n.value,class:"ao-card-feed__project",variant:"solid",color:v.projectColor?void 0:"primary","raw-color":s.value},null,8,["label","color","raw-color"])):e.createCommentVNode("",!0),v.isPrivate||v.important||v.isClosed?(e.openBlock(),e.createElementBlock("div",Uf,[v.isPrivate?(e.openBlock(),e.createBlock(Q,{key:0,name:"Lock",class:"ao-card-feed__warning",size:"sm"})):e.createCommentVNode("",!0),v.important?(e.openBlock(),e.createBlock(Q,{key:1,name:"FlagRounded",class:"ao-card-feed__important",size:"sm"})):e.createCommentVNode("",!0),v.isClosed?(e.openBlock(),e.createBlock(Q,{key:2,name:"CheckSmallRounded",class:"ao-card-feed__closed"})):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),v.$slots.secondary?(e.openBlock(),e.createElementBlock("div",zf,[e.renderSlot(v.$slots,"secondary")])):e.createCommentVNode("",!0)])]),default:e.withCtx(()=>[e.createElementVNode("div",Zf,[l.value?(e.openBlock(),e.createElementBlock("span",xf,e.toDisplayString(l.value),1)):e.createCommentVNode("",!0),e.createElementVNode("div",Wf,[e.createElementVNode("div",qf,[v.slug?(e.openBlock(),e.createElementBlock("span",Yf,e.toDisplayString(v.slug)+": ",1)):e.createCommentVNode("",!0),e.createVNode(ne,{id:v.id,title:v.name,level:5,"is-editable":v.isEditable,"onUpdate:title":r,class:"ao-card-feed__title-inline"},null,8,["id","title","is-editable"])])]),v.deadline?(e.openBlock(),e.createElementBlock("span",Kf,e.toDisplayString(c.value),1)):e.createCommentVNode("",!0)])]),footer:e.withCtx(()=>[e.createElementVNode("div",Gf,[e.createElementVNode("div",Xf,[e.createElementVNode("ul",Qf,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.value,C=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:C.id},[C?(e.openBlock(),e.createElementBlock("li",Jf,[e.createVNode(ke,{"user-name":e.unref(bn)(C),"avatar-url":C.avatarUrl,"is-closable":!0,onClose:()=>p(C.id)},null,8,["user-name","avatar-url","onClose"])])):e.createCommentVNode("",!0)],64))),128))]),v.comments||v.attachments?(e.openBlock(),e.createElementBlock("ul",eh,[v.comments?(e.openBlock(),e.createElementBlock("li",th,[e.createVNode(Q,{name:"ChatOutline",size:"sm"}),e.createElementVNode("span",ah,e.toDisplayString(v.comments),1)])):e.createCommentVNode("",!0),v.attachments?(e.openBlock(),e.createElementBlock("li",oh,[e.createVNode(Q,{name:"AttachFileRounded",size:"sm"}),e.createElementVNode("span",nh,e.toDisplayString(v.attachments),1)])):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)]),e.createElementVNode("div",sh,[v.tasks&&v.tasks.length?(e.openBlock(),e.createElementBlock("div",lh,[e.createElementVNode("div",rh,[e.createVNode(Q,{name:"SelectCheckBox",size:"sm"}),e.createElementVNode("span",ih,e.toDisplayString(u.value)+" / "+e.toDisplayString(d.value),1)]),e.createVNode(Na,{percentages:m.value,class:"ao-card-feed__progress"},null,8,["percentages"])])):e.createCommentVNode("",!0)])])]),_:3},8,["class"]))}});const ch={class:"ao-project-milestone"},dh={class:"ao-project-milestone__header"},uh={class:"ao-project-milestone__header_line"},ph={class:"ao-project-milestone__header_line"},mh={class:"ao-project-milestone__title"},vh={key:0,class:"ao-fieldset ao-milestone__fieldset"},fh={class:"ao-field__row ao-milestone__field-row"},hh={class:"ao-field ao-field--inline"},Ch={class:"ao-field__row ao-milestone__field-row"},gh={class:"ao-field ao-milestone__field-multiselect"},_h=["onClick"],yh={class:"ao-project-milestone__body"},bh={key:0,class:"ao-project-milestone__footer"},Qo=e.defineComponent({__name:"AoProjectOverviewMilestoneDetails",props:{milestoneId:{},users:{},projectId:{},phases:{},phaseId:{},isEditable:{type:Boolean},closedStatus:{}},emits:["close","addActivity","updateMilestone","updateActivity","archiveActivity","unarchiveActivity"],setup(a,{emit:t}){const o=a,{t:n}=Ye(),s=e.computed(()=>{var f;return(f=o.phases)==null?void 0:f.find(B=>B.id===o.phaseId)}),r=e.computed(()=>{var f;return(f=o.phases)==null?void 0:f.flatMap(B=>B.milestones)}),l=e.computed(()=>{var f;return(f=r.value)==null?void 0:f.find(B=>B.id===o.milestoneId)}),i=e.computed(()=>{var f;return(f=l.value)==null?void 0:f.activities});e.watch(i,(f,B)=>{Me(f,B)});const c=f=>{t("close",f)},p=()=>{const{name:f,rank:B}=ot(i.value??[],"activity",n);t("addActivity",{milestoneId:o.milestoneId,name:f,rank:B,projectId:o.projectId})},d=f=>{t("updateActivity",f)},u=f=>{i.value&&"moved"in f&&t("updateActivity",{id:f.moved.element.id,rank:pt(i.value,f.moved.newIndex)})},m=e.computed({get:()=>{var f;return(f=l.value)==null?void 0:f.color},set:f=>{l.value&&t("updateMilestone",{id:l.value.id,color:f})}}),v=e.computed({get:()=>{var f;return((f=l==null?void 0:l.value)==null?void 0:f.deadline)??""},set:f=>{l.value&&t("updateMilestone",{id:l.value.id,deadline:f!=null&&f.length?f:null})}}),_=f=>o.closedStatus?Qa(f,o.closedStatus):!1,C=e.computed(()=>{var f;return((f=o.users)==null?void 0:f.map(B=>({label:`${B.firstName} ${B.lastName}`,value:B.id,avatar:B.avatarUrl})))||[]}),h=e.computed({get(){var f,B;return(B=(f=l.value)==null?void 0:f.assignee)!=null&&B.id?[l.value.assignee.id]:[]},set(f){t("updateMilestone",{id:o.milestoneId,assigneeId:f[0]??null})}}),b=e.computed({get(){var f;return((f=l.value)==null?void 0:f.important)??!1},set(f){t("updateMilestone",{id:o.milestoneId,important:f})}}),y=(f,B)=>{const M=f.currentTarget;M instanceof HTMLElement&&B(M)};return(f,B)=>{var M;return e.openBlock(),e.createElementBlock("div",ch,[e.createElementVNode("header",dh,[e.createElementVNode("div",uh,[e.createVNode(K,{"icon-name":"CloseRounded",variant:"ghost",size:"sm",class:"ao-milestone__close",onClick:c})]),e.createElementVNode("div",ph,[e.createElementVNode("div",mh,[e.createVNode(ne,{title:((M=l.value)==null?void 0:M.name)||f.milestoneId,level:5},null,8,["title"]),e.createVNode(qa,{modelValue:b.value,"onUpdate:modelValue":B[0]||(B[0]=E=>b.value=E),modelModifiers:{lazy:!0},disabled:!f.isEditable,class:"ao-milestone__important",color:"danger",label:f.$t("activity.important.label"),"icon-name":"FlagRounded",variant:"ghost",size:"sm"},null,8,["modelValue","disabled","label"])])]),l.value?(e.openBlock(),e.createElementBlock("div",vh,[e.createElementVNode("div",fh,[e.createElementVNode("label",hh,[e.withDirectives(e.createElementVNode("input",{"onUpdate:modelValue":B[1]||(B[1]=E=>v.value=E),class:"ao-milestone__field ao-milestone__date-field",type:"date"},null,512),[[e.vModelText,v.value,void 0,{lazy:!0}]])])]),e.createElementVNode("div",Ch,[e.createElementVNode("label",gh,[e.createVNode(re,{modelValue:h.value,"onUpdate:modelValue":B[2]||(B[2]=E=>h.value=E),options:C.value,"close-on-select":!0,searchable:!0,max:1,class:"ao-milestone__field ao-milestone__multiselect",placeholder:f.$t("activity.filters.assignee.placeholder"),mode:"tags",disabled:!f.isEditable,caret:f.isEditable},{tag:e.withCtx(({option:E,handleTagRemove:L})=>[e.createVNode(ke,{"user-name":E.label,"avatar-url":E.avatar,"is-closable":!0,onClose:P=>L(E,P)},null,8,["user-name","avatar-url","onClose"])]),_:1},8,["modelValue","options","placeholder","disabled","caret"])])]),e.createVNode(bo,{color:m.value,"onUpdate:color":B[3]||(B[3]=E=>m.value=E)},{clickable:e.withCtx(({openPicker:E,bgColor:L})=>[e.createElementVNode("button",{style:e.normalizeStyle({background:L}),class:"color-button",onClick:P=>y(P,E)},null,12,_h)]),_:1},8,["color"])])):e.createCommentVNode("",!0)]),e.createElementVNode("div",yh,[e.createVNode(e.unref(xe),e.mergeProps({class:"ao-project-milestone__activities",list:i.value,disabled:!f.isEditable,"item-key":"id",group:"kanban"},f.$attrs,{onChange:u}),{item:e.withCtx(({element:E})=>{var L,P,R,F,z;return[e.createVNode($o,{id:E.id,name:E.name||E.id,"phase-name":(L=s.value)==null?void 0:L.name,"milestone-name":(P=l.value)==null?void 0:P.name,"milestone-color":(R=l.value)==null?void 0:R.color,deadline:E.deadline,important:E.important,users:f.users,assignee:E.assignee,slug:E.slug,comments:(F=E.comments)==null?void 0:F.length,attachments:(z=E.attachments)==null?void 0:z.length,tasks:E.tasks,"is-editable":f.isEditable,"is-private":E.private,"is-closed":_(E),onClick:T=>f.$router.push({name:e.unref(oe).activity,params:{milestoneId:f.milestoneId,activityId:E.id}}),onUpdateActivity:d,onRemoveAssignee:()=>d({id:E.id,assigneeId:null})},e.createSlots({_:2},[f.isEditable?{name:"secondary",fn:e.withCtx(()=>[f.isEditable&&E.active?(e.openBlock(),e.createBlock(K,{key:0,color:"primary",variant:"ghost","icon-name":"ArchiveOutlineRounded",size:"sm","icon-position":"start",corners:"round",label:f.$t("archive"),onClick:e.withModifiers(()=>f.$emit("archiveActivity",{id:E.id}),["stop"])},null,8,["label","onClick"])):e.createCommentVNode("",!0),f.isEditable&&!E.active?(e.openBlock(),e.createBlock(K,{key:1,color:"primary",variant:"ghost","icon-name":"ArchiveOutlineRounded",size:"sm","icon-position":"start",corners:"round",label:f.$t("feed.activity.unarchive"),onClick:e.withModifiers(()=>f.$emit("unarchiveActivity",{id:E.id}),["stop"])},null,8,["label","onClick"])):e.createCommentVNode("",!0)]),key:"0"}:void 0]),1032,["id","name","phase-name","milestone-name","milestone-color","deadline","important","users","assignee","slug","comments","attachments","tasks","is-editable","is-private","is-closed","onClick","onRemoveAssignee"])]}),_:1},16,["list","disabled"]),f.isEditable?(e.openBlock(),e.createElementBlock("div",bh,[e.createVNode(We,{"icon-name":"Add",label:f.$t("project.activity.add"),onClick:p},null,8,["label"])])):e.createCommentVNode("",!0)])])}}});const kh=e.defineComponent({__name:"AoProjectOverviewActivityDetails",props:{phaseId:{},milestoneId:{},activityId:{},activityTypes:{},activities:{},isTaskCheckable:{type:Function},statuses:{},phases:{},users:{},project:{},userId:{},isEditable:{type:Boolean},attachmentEnabled:{type:Boolean}},emits:["update:activity","addSubtask","updateSubtask","deleteSubtask","addFiles","removeFile","addComment","updateComment","removeComment"],setup(a,{emit:t}){const o=a,n=e.computed(()=>{var h;return(h=o.phases)==null?void 0:h.find(b=>b.id===o.phaseId)}),s=e.computed(()=>{var h;return(h=o.phases)==null?void 0:h.flatMap(b=>b.milestones)}),r=e.computed(()=>{var h;return(h=s.value)==null?void 0:h.find(b=>b.id===o.milestoneId)}),l=e.computed(()=>{var h;return(h=o.activities)==null?void 0:h.find(b=>b.id===o.activityId)}),i=h=>{t("update:activity",h)},c=h=>{t("addSubtask",h)},p=h=>{t("updateSubtask",h)},d=h=>{t("deleteSubtask",h)},u=h=>{t("addFiles",h)},m=h=>{t("removeFile",h)},v=h=>{t("addComment",h)},_=h=>{t("updateComment",h)},C=h=>{t("removeComment",h)};return(h,b)=>{var y,f;return l.value?(e.openBlock(),e.createBlock(po,{key:0,activity:l.value,"activity-types":h.activityTypes,"milestone-id":h.milestoneId,"template-activities":h.activities,"is-template":!1,users:h.users,"user-id":h.userId,"is-task-checkable":h.isTaskCheckable,statuses:h.statuses,breadcrumbs:`${(y=n.value)==null?void 0:y.name} / ${(f=r.value)==null?void 0:f.name}`,"is-editable":h.isEditable,"attachment-enabled":h.attachmentEnabled,projects:[h.project],onClose:h.$router.back,"onUpdate:activity":i,onAddSubtask:c,onUpdateSubtask:p,onDeleteSubtask:d,onAddFiles:u,onRemoveFile:m,onAddComment:v,onUpdateComment:_,onRemoveComment:C},{default:e.withCtx(B=>[e.renderSlot(h.$slots,"default",e.normalizeProps(e.guardReactiveProps(B)))]),_:3},8,["activity","activity-types","milestone-id","template-activities","users","user-id","is-task-checkable","statuses","breadcrumbs","is-editable","attachment-enabled","projects","onClose"])):e.createCommentVNode("",!0)}}}),wh={class:"ao-col-header"},$h=e.defineComponent({__name:"AoColHeader",props:{title:{},items:{}},setup(a){return(t,o)=>(e.openBlock(),e.createElementBlock("header",wh,[e.createVNode(ne,{title:t.title,class:"ao-col-header__title",level:4},null,8,["title"]),t.items?(e.openBlock(),e.createBlock(Tt,{key:0,label:t.items,class:"ao-col-header__items",variant:"solid",color:"primary"},null,8,["label"])):e.createCommentVNode("",!0)]))}});function Eh(a){return e.getCurrentScope()?(e.onScopeDispose(a),!0):!1}function ma(a){return typeof a=="function"?a():e.unref(a)}const Bh=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const Vh=a=>a!=null,At=()=>{};function Nh(a,t){function o(...n){return new Promise((s,r)=>{Promise.resolve(a(()=>t.apply(this,n),{fn:t,thisArg:this,args:n})).then(s).catch(r)})}return o}function Sh(a,t={}){let o,n,s=At;const r=i=>{clearTimeout(i),s(),s=At};return i=>{const c=ma(a),p=ma(t.maxWait);return o&&r(o),c<=0||p!==void 0&&p<=0?(n&&(r(n),n=null),Promise.resolve(i())):new Promise((d,u)=>{s=t.rejectOnCancel?u:d,p&&!n&&(n=setTimeout(()=>{o&&r(o),n=null,d(i())},p)),o=setTimeout(()=>{n&&r(n),n=null,d(i())},c)})}}function Mh(a,t=200,o={}){return Nh(Sh(t,o),a)}function Ua(a){var t;const o=ma(a);return(t=o==null?void 0:o.$el)!=null?t:o}const Ah=Bh?window:void 0;function Th(){const a=e.ref(!1),t=e.getCurrentInstance();return t&&e.onMounted(()=>{a.value=!0},t),a}function Oh(a){const t=Th();return e.computed(()=>(t.value,!!a()))}function Ih(a,t,o={}){const{root:n,rootMargin:s="0px",threshold:r=.1,window:l=Ah,immediate:i=!0}=o,c=Oh(()=>l&&"IntersectionObserver"in l),p=e.computed(()=>{const _=ma(a);return(Array.isArray(_)?_:[_]).map(Ua).filter(Vh)});let d=At;const u=e.ref(i),m=c.value?e.watch(()=>[p.value,Ua(n),u.value],([_,C])=>{if(d(),!u.value||!_.length)return;const h=new IntersectionObserver(t,{root:Ua(C),rootMargin:s,threshold:r});_.forEach(b=>b&&h.observe(b)),d=()=>{h.disconnect(),d=At}},{immediate:i,flush:"post"}):At,v=()=>{d(),m(),u.value=!1};return Eh(v),{isSupported:c,isActive:u,pause(){d(),u.value=!1},resume(){u.value=!0},stop:v}}const Lh={class:e.normalizeClass(["ao-list-kanban"])},Dh={class:"ao-list-kanban__header"},Ph={key:0,class:"ao-list-kanban__end ao-list-kanban__end--loading"},Hh={key:1,class:"ao-list-kanban__end"},Rh={key:0,class:"ao-list-kanban__no-more"},jh={key:1,class:"ao-list-kanban__divider"},Fh={key:1,class:"ao-list-kanban__footer"},Uh=e.defineComponent({__name:"AoListKanban",props:{list:{},status:{},users:{},userId:{},title:{},footerLabel:{},isLoading:{type:Boolean},hasMore:{type:Boolean},noMoreLabel:{},isEditable:{type:[Boolean,String]},tagType:{}},emits:["add","update:list","change:list","loadMore","selectActivity","archiveActivity","unarchiveActivity","updateActivity"],setup(a,{emit:t}){const o=a,n=e.ref(!1),s=e.ref(null);Ih(s,([{isIntersecting:d}])=>{n.value=d}),e.watch(n,d=>{d&&o.hasMore&&!o.isLoading&&t("loadMore")});const r=d=>{var u;return o.isEditable===!0?!0:o.userId&&o.isEditable==="only-own"?o.userId===((u=d.assignee)==null?void 0:u.id):!1},l=d=>{t("selectActivity",d)},i=d=>{t("updateActivity",d)},c=d=>{"added"in d?t("updateActivity",{id:d.added.element.id,statusId:o.status.id,rank:pt(o.list,d.added.newIndex)}):"removed"in d||"moved"in d&&t("updateActivity",{id:d.moved.element.id,rank:pt(o.list,d.moved.newIndex)})},p=e.ref(!1);return(d,u)=>(e.openBlock(),e.createElementBlock("div",Lh,[d.title||d.$slots.header?e.renderSlot(d.$slots,"header",{key:0},()=>{var m;return[e.createElementVNode("div",Dh,[d.title?(e.openBlock(),e.createBlock($h,{key:0,title:d.title,level:3,items:(m=d.list)==null?void 0:m.length},null,8,["title","items"])):e.createCommentVNode("",!0)])]}):e.createCommentVNode("",!0),e.createVNode(e.unref(xe),e.mergeProps({class:["ao-list-kanban__list",p.value?"ao-list-kanban__transition":void 0],list:d.list,"item-key":"id",group:"kanban","ghost-class":"ao-list-kanban__ghost",animation:"200"},d.$attrs,{draggable:".ao-list-draggable",disabled:!d.isEditable,onChange:c,onStart:u[0]||(u[0]=m=>p.value=!0),onEnd:u[1]||(u[1]=m=>p.value=!1),"component-data":{tag:"transition-group",name:"ao-list-kanban__transition"}}),{item:e.withCtx(({element:m})=>{var v,_,C,h,b,y,f,B,M;return[e.createVNode($o,{class:e.normalizeClass(r(m)?"ao-list-draggable":""),id:m.id,name:m.name,"project-name":(v=m.project)==null?void 0:v.name,"project-color":(_=m.project)==null?void 0:_.color,"phase-name":(h=(C=m.milestone)==null?void 0:C.phase)==null?void 0:h.name,"milestone-name":(b=m.milestone)==null?void 0:b.name,"milestone-color":(y=m.milestone)==null?void 0:y.color,deadline:m.deadline,rules:((f=m.rules)==null?void 0:f.length)||0,tasks:m.tasks,description:m.description,important:m.important,type:m.type,comments:(B=m.comments)==null?void 0:B.length,attachments:(M=m.attachments)==null?void 0:M.length,users:d.users,assignee:m.assignee,slug:m.slug,"is-editable":r(m),"is-private":m.private,"tag-type":d.tagType,onUpdateActivity:[E=>r(m)&&i(E),()=>r(m)&&i],onClick:()=>l(m.id),onRemoveAssignee:()=>r(m)&&i({id:m.id,assigneeId:null})},{secondary:e.withCtx(()=>[r(m)&&m.active?(e.openBlock(),e.createBlock(K,{key:0,color:"primary",variant:"ghost","icon-name":"ArchiveOutlineRounded",size:"sm","icon-position":"start",corners:"round",label:d.$t("feed.activity.archive"),onClick:e.withModifiers(()=>d.$emit("archiveActivity",{id:m.id}),["stop"])},null,8,["label","onClick"])):e.createCommentVNode("",!0),r(m)&&!m.active?(e.openBlock(),e.createBlock(K,{key:1,color:"primary",variant:"ghost","icon-name":"ArchiveOutlineRounded",size:"sm","icon-position":"start",corners:"round",label:d.$t("feed.activity.unarchive"),onClick:e.withModifiers(()=>d.$emit("unarchiveActivity",{id:m.id}),["stop"])},null,8,["label","onClick"])):e.createCommentVNode("",!0)]),_:2},1032,["class","id","name","project-name","project-color","phase-name","milestone-name","milestone-color","deadline","rules","tasks","description","important","type","comments","attachments","users","assignee","slug","is-editable","is-private","tag-type","onUpdateActivity","onClick","onRemoveAssignee"])]}),footer:e.withCtx(()=>[d.isLoading?(e.openBlock(),e.createElementBlock("div",Ph,[e.createVNode(Q,{name:"Loading"})])):d.hasMore?(e.openBlock(),e.createElementBlock("div",{key:2,ref_key:"scrollEnd",ref:s,class:"ao-list-kanban__end"},null,512)):(e.openBlock(),e.createElementBlock("div",Hh,[d.noMoreLabel?(e.openBlock(),e.createElementBlock("span",Rh,e.toDisplayString(d.noMoreLabel),1)):d.isEditable?(e.openBlock(),e.createElementBlock("span",jh)):e.createCommentVNode("",!0)]))]),_:1},16,["class","list","disabled"]),d.$slots.footer||d.footerLabel?(e.openBlock(),e.createElementBlock("div",Fh,[e.renderSlot(d.$slots,"footer",{},()=>[d.isEditable?(e.openBlock(),e.createBlock(We,{key:0,"icon-name":"AddBoxOutlineRounded",label:d.footerLabel,onClick:u[2]||(u[2]=m=>d.$emit("add"))},null,8,["label"])):e.createCommentVNode("",!0)])])):e.createCommentVNode("",!0)]))}});const zh={class:"ao-field ao-search-field"},Zh=["value","placeholder","onKeypress"],xh=e.defineComponent({__name:"AoSearchField",props:{modelValue:{},delay:{default:250},placeholder:{default:"Search"}},emits:["update:modelValue","clear"],setup(a,{emit:t}){const o=a,n=async l=>{const c=l.target.value;t("update:modelValue",c,l)},s=Mh(n,o.delay),r=l=>{t("clear",l)};return(l,i)=>(e.openBlock(),e.createElementBlock("div",zh,[e.createElementVNode("input",{value:l.modelValue,type:"text",class:"ao-field__input ao-search-field__input",placeholder:l.placeholder,onInput:i[0]||(i[0]=(...c)=>e.unref(s)&&e.unref(s)(...c)),onKeypress:e.withKeys(n,["enter"])},null,40,Zh),e.createVNode(Q,{name:"SearchRounded",class:e.normalizeClass(`ao-search-field__icon ao-search-field__action ${l.modelValue?"":"ao-search-field__action--visible"}`)},null,8,["class"]),e.createVNode(K,{"icon-name":"CloseRounded",size:"sm",color:"primary",corners:"round",class:e.normalizeClass(`ao-search-field__button ao-search-field__action ${l.modelValue?"ao-search-field__action--visible":""}`),onClick:r},null,8,["class"])]))}});const Wh={class:"ao-feed"},qh={class:"ao-feed__filters"},Yh={class:"ao-feed__body"},Un=e.defineComponent({__name:"AoFeed",props:{activities:{},statuses:{},project:{},projects:{},filters:{},activityTypes:{},users:{},userId:{},initialActivityId:{},initialActivitySlug:{},searchText:{default:""},showsArchivedActivities:{type:Boolean},showsOnlyImportant:{type:Boolean},showsOnlyNonAssigned:{type:Boolean},selectedActivity:{},isTaskCheckable:{type:Function,default:void 0},isEditable:{type:[Boolean,String]},attachmentEnabled:{type:Boolean,default:!0}},emits:["change:activities","addActivity","update:filters","selectActivity","update:activity","archiveActivity","unarchiveActivity","update:searchText","clear:searchText","update:showsArchivedActivities","update:showsOnlyImportant","update:showsOnlyNonAssigned","addSubtask","updateSubtask","deleteSubtask","addFiles","removeFile","addComment","updateComment","removeComment","toast"],setup(a,{emit:t}){const o=a,{t:n}=Ye();function s(k,O){t("toast",k,O)}const r=e.toRef(o,"activities"),l=async(k,O)=>{await t("selectActivity",k,O)},i=e.ref({}),c=e.ref(!1),p=e.ref(!1),d=e.computed(()=>o.project?"milestone":"project");e.watch([()=>o.statuses,()=>o.activities,()=>o.initialActivityId,()=>o.initialActivitySlug],async([k,O,g,S],[q,x])=>{i.value=Object.fromEntries(k.map(D=>[D.id,O.filter(N=>{var H;return((H=N.status)==null?void 0:H.id)===D.id})])),g&&!c.value?(l(g,null),c.value=!0):S&&!c.value&&(l(null,S),c.value=!0),p.value&&Me(O,x)},{immediate:!0});const u=e.computed(()=>{var k;return!o.selectedActivity||!o.selectedActivity.milestone?"":`${((k=o.selectedActivity.milestone.phase)==null?void 0:k.name)??""} / ${o.selectedActivity.milestone.name??""}`}),m=k=>{var x,D;const O=(x=o.activities)==null?void 0:x.at(-1),g=O?se.LexoRank.parse(O.rank).genNext():se.LexoRank.middle(),S=((D=o.activities)==null?void 0:D.length)??0,q={name:n("activity.defaultName",{idx:S+1}),rank:g.format(),statusId:k.id};o.filters.assigneeId.length>0&&(q.assigneeId=o.filters.assigneeId[0]),o.filters.projectId.length>0&&(q.projectId=o.filters.projectId[0]),o.filters.typeId.length>0&&(q.typeId=o.filters.typeId[0]),p.value=!0,t("addActivity",q)},v=(k,O)=>{p.value=!1,t("update:filters",{...o.filters,[k]:O})},_=e.computed(()=>o.project?[o.project]:o.projects??[]),C=e.computed(()=>_.value.map(k=>({value:k.id,label:k.name}))),h=e.computed(()=>{var k;return(k=o.activityTypes)==null?void 0:k.map(O=>({value:O.id,label:O.name}))}),b=e.computed(()=>o.users.map(k=>({value:k.id,label:`${k.firstName} ${k.lastName}`,avatar:k.avatarUrl}))),y=k=>{o.selectedActivity&&t("update:activity",k)},f=k=>{t("update:activity",k)},B=k=>{t("archiveActivity",k)},M=k=>{t("unarchiveActivity",k)},E=k=>{p.value=!1,t("update:searchText",k)},L=k=>{p.value=!1,t("clear:searchText",k)},P=k=>{o.selectedActivity&&t("addSubtask",k)},R=k=>{o.selectedActivity&&t("updateSubtask",k)},F=k=>{o.selectedActivity&&t("deleteSubtask",k)},z=k=>{t("addFiles",k)},T=k=>{t("removeFile",k)},j=k=>{o.selectedActivity&&t("addComment",{...k,activityId:o.selectedActivity.id})},Y=k=>{const{id:O}=o.selectedActivity||{};O&&t("updateComment",k)},Z=k=>{const{id:O}=o.selectedActivity||{};O&&t("removeComment",k)},U=Rt.useRouter(),V=e.ref("feed"),$=[{label:"Overview",value:"overview"},{label:"Feed",value:"feed"},{label:"Mapping",value:"mapping"}];return e.watch(V,k=>{k==="feed"?(U.push({name:oe.feed}),console.log("Navigating to feed...")):k==="overview"?(U.push({name:oe.project}),console.log("Navigating to feed...")):k==="mapping"&&(U.push({name:oe.mapping}),console.log("Navigating to feed..."))}),(k,O)=>{var g;return e.openBlock(),e.createElementBlock("div",Wh,[e.createVNode(Zt,null,{primary:e.withCtx(()=>[e.createElementVNode("div",qh,[e.createVNode(wo,{tabs:$,modelValue:V.value,"onUpdate:modelValue":O[0]||(O[0]=S=>V.value=S)},null,8,["modelValue"]),e.createVNode(xh,{"model-value":k.searchText,placeholder:k.$t("feed.search.placeholder"),class:"ao-feed__search","onUpdate:modelValue":E,onClear:L},null,8,["model-value","placeholder"]),o.project?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(re,{key:0,"model-value":k.filters[e.unref(Je).project],mode:"tags",options:C.value,"close-on-select":!1,searchable:!0,class:"ao-feed__filter ao-feed__filter__projects",placeholder:k.$t("feed.filters.project.placeholder"),"onUpdate:modelValue":O[1]||(O[1]=S=>v(e.unref(Je).project,S))},null,8,["model-value","options","placeholder"])),h.value?(e.openBlock(),e.createBlock(re,{key:1,"model-value":k.filters[e.unref(Je).type],mode:"tags",options:h.value,"close-on-select":!1,searchable:!0,class:"ao-feed__filter ao-feed__filter__types",placeholder:k.$t("feed.filters.activityType.placeholder"),"onUpdate:modelValue":O[2]||(O[2]=S=>v(e.unref(Je).type,S))},null,8,["model-value","options","placeholder"])):e.createCommentVNode("",!0),b.value.length?(e.openBlock(),e.createBlock(re,{key:2,"model-value":k.filters[e.unref(Je).assignee],mode:"tags",options:b.value,"close-on-select":!1,searchable:!0,class:"ao-feed__filter ao-feed__filter__assignees",placeholder:k.$t("feed.filters.assignee.placeholder"),"onUpdate:modelValue":O[3]||(O[3]=S=>v(e.unref(Je).assignee,S))},{tag:e.withCtx(({option:S,handleTagRemove:q})=>[e.createVNode(ke,{"user-name":S.label,"avatar-url":S.avatar,"is-closable":!0,onClose:x=>q(S,x)},null,8,["user-name","avatar-url","onClose"])]),_:1},8,["model-value","options","placeholder"])):e.createCommentVNode("",!0)]),e.createVNode(K,{class:"ao-feed__only-non-assigned",size:"sm","icon-name":k.showsOnlyNonAssigned?"CheckBoxOutlineRounded":"CheckBoxOutlineBlank","icon-position":"start",color:"primary",variant:"ghost",label:k.$t("feed.filters.showsOnlyNonAssigned.label"),role:"checkbox","aria-checked":k.showsOnlyNonAssigned,onClick:O[4]||(O[4]=S=>k.$emit("update:showsOnlyNonAssigned",!k.showsOnlyNonAssigned))},null,8,["icon-name","label","aria-checked"]),e.createVNode(K,{class:"ao-feed__only-important",size:"sm","icon-name":k.showsOnlyImportant?"CheckBoxOutlineRounded":"CheckBoxOutlineBlank","icon-position":"start",color:"primary",variant:"ghost",label:k.$t("feed.filters.showsOnlyImportant.label"),role:"checkbox","aria-checked":k.showsOnlyImportant,onClick:O[5]||(O[5]=S=>k.$emit("update:showsOnlyImportant",!k.showsOnlyImportant))},null,8,["icon-name","label","aria-checked"]),e.createVNode(K,{class:"ao-feed__show-archived",size:"sm","icon-name":k.showsArchivedActivities?"CheckBoxOutlineRounded":"CheckBoxOutlineBlank","icon-position":"start",color:"primary",variant:"ghost",label:k.$t("feed.filters.showsArchivedActivities.label"),role:"checkbox","aria-checked":k.showsArchivedActivities,onClick:O[6]||(O[6]=S=>k.$emit("update:showsArchivedActivities",!k.showsArchivedActivities))},null,8,["icon-name","label","aria-checked"])]),_:1}),e.createElementVNode("div",Yh,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(k.statuses,S=>(e.openBlock(),e.createBlock(Uh,{key:S.id,status:S,list:i.value[S.id],title:S.name,"footer-label":k.$t("feed.activity.add"),users:k.users,"user-id":k.userId,"is-editable":k.isEditable,tagType:d.value,onAdd:()=>m(S),onSelectActivity:l,onArchiveActivity:B,onUnarchiveActivity:M,onUpdateActivity:f},null,8,["status","list","title","footer-label","users","user-id","is-editable","tagType","onAdd"]))),128))]),(e.openBlock(),e.createBlock(e.Teleport,{to:"body"},[k.selectedActivity?(e.openBlock(),e.createBlock(po,{key:0,activity:k.selectedActivity,"activity-types":k.activityTypes,"milestone-id":(g=k.selectedActivity.milestone)==null?void 0:g.id,"template-activities":r.value,users:k.users,"user-id":k.userId,"is-task-checkable":k.isTaskCheckable,statuses:k.statuses,breadcrumbs:u.value,"is-editable":k.isEditable,"attachment-enabled":k.attachmentEnabled,projects:_.value,onClose:O[7]||(O[7]=()=>l(null,null)),"onUpdate:activity":y,onAddSubtask:P,onUpdateSubtask:R,onDeleteSubtask:F,onAddFiles:z,onRemoveFile:T,onAddComment:j,onUpdateComment:Y,onRemoveComment:Z,onToast:s},{default:e.withCtx(S=>[e.renderSlot(k.$slots,"activityDetailsBody",e.normalizeProps(e.guardReactiveProps(S)))]),_:3},8,["activity","activity-types","milestone-id","template-activities","users","user-id","is-task-checkable","statuses","breadcrumbs","is-editable","attachment-enabled","projects"])):e.createCommentVNode("",!0)]))])}}});const Kh={class:"ao-project-mapping"},Gh={class:"ao-project-mapping-mapping__body"},Xh={class:"ao-project-mapping-mapping__phases"},Qh={key:0,class:"ao-project-mapping-mapping__image-wrapper"},Jh=["src","alt"],e9=e.defineComponent({__name:"AoMapping",props:{project:{},phases:{},closedStatus:{},users:{},userId:{},templates:{},isTaskCheckable:{type:Function},statuses:{},activityTypes:{},isEditable:{type:[Boolean,String]},showsArchived:{type:Boolean},attachmentEnabled:{type:Boolean}},emits:["addPhase","updatePhase","archivePhase","unarchivePhase","copyPhaseToTemplate","applyTemplate","saveTemplate","update:showsArchived"],setup(a,{emit:t}){const o=a,{t:n}=Ye(),s=()=>{const{name:h,rank:b}=ot(o.phases,"phase",n);t("addPhase",{name:h,rank:b,projectId:o.project.id})},r=h=>{t("updatePhase",h)},l=h=>{t("archivePhase",h)},i=h=>{t("unarchivePhase",h)},c=h=>{t("copyPhaseToTemplate",h)},p=e.ref(!1),d=e.ref(!1),u=(h,b)=>{t("applyTemplate",{templateId:h,projectId:b}),p.value=!1},m=(h,b)=>{var B;const y=(B=o.templates)==null?void 0:B.at(-1),f=y?se.LexoRank.parse(y.rank).genNext():se.LexoRank.middle();t("saveTemplate",{templateName:h,rank:f.format(),phaseIds:b}),d.value=!1},v=Rt.useRouter(),_=e.ref("mapping"),C=[{label:"Overview",value:"overview"},{label:"Feed",value:"feed"},{label:"Mapping",value:"mapping"}];return e.watch(_,h=>{h==="feed"?(v.push({name:oe.feed}),console.log("Navigating to feed...")):h==="overview"?(v.push({name:oe.project}),console.log("Navigating to feed...")):h==="mapping"&&(v.push({name:oe.mapping}),console.log("Navigating to feed..."))}),(h,b)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createElementVNode("div",e.mergeProps({class:"ao-project-mapping-overview"},h.$attrs),[e.createElementVNode("div",Kh,[e.createVNode(Zt,null,{primary:e.withCtx(()=>[e.createVNode(wo,{modelValue:_.value,"onUpdate:modelValue":b[0]||(b[0]=y=>_.value=y),tabs:C},null,8,["modelValue"]),e.createVNode(K,{class:"ao-feed__show-archived",size:"sm","icon-name":h.showsArchived?"CheckBoxOutlineRounded":"CheckBoxOutlineBlank","icon-position":"start",color:"primary",variant:"ghost",label:h.$t("feed.filters.showsArchived.label"),role:"checkbox","aria-checked":h.showsArchived,onClick:b[1]||(b[1]=y=>h.$emit("update:showsArchived",!h.showsArchived))},null,8,["icon-name","label","aria-checked"])]),secondary:e.withCtx(()=>[h.isEditable===!0?(e.openBlock(),e.createBlock(K,{key:0,class:"ao-project-mapping-overview__save-as-template",color:"primary",label:h.$t("project.template.save.label"),onClick:b[2]||(b[2]=y=>d.value=!0)},null,8,["label"])):e.createCommentVNode("",!0),h.isEditable===!0?(e.openBlock(),e.createBlock(K,{key:1,class:"ao-project-mapping-overview__add-template",color:"primary",label:h.$t("project.template.apply.label"),onClick:b[3]||(b[3]=y=>p.value=!0)},null,8,["label"])):e.createCommentVNode("",!0)]),_:1}),e.createElementVNode("div",Gh,[e.createElementVNode("div",Xh,[e.createVNode(ko,{phases:h.phases,"closed-status":h.closedStatus,"is-editable":h.isEditable===!0,users:h.users,onAddPhase:s,onUpdatePhase:r,onArchivePhase:l,onUnarchivePhase:i,onCopyPhaseToTemplate:c},null,8,["phases","closed-status","is-editable","users"])]),h.project.architectureImage?(e.openBlock(),e.createElementBlock("div",Qh,[e.createElementVNode("img",{class:"architecture-image",src:h.project.architectureImage.url,alt:e.unref(n)("architectureImage.alt")},null,8,Jh)])):e.createCommentVNode("",!0)])])],16),(e.openBlock(),e.createBlock(e.Teleport,{to:"body"},[d.value?(e.openBlock(),e.createBlock(Fn,{key:0,phases:h.phases,onClose:b[4]||(b[4]=y=>d.value=!1),onSave:m},null,8,["phases"])):e.createCommentVNode("",!0),p.value?(e.openBlock(),e.createBlock(jn,{key:1,"project-id":h.project.id,templates:h.templates,onClose:b[5]||(b[5]=y=>p.value=!1),onApply:u},null,8,["project-id","templates"])):e.createCommentVNode("",!0)]))],64))}});const tt={TEMPLATES:"templates",TEMPLATE_DETAILS:"template_details",TEMPLATES_LIST:"templates_list"},t9=(a,t={})=>[{path:a,name:tt.TEMPLATES,redirect:{name:tt.TEMPLATES_LIST},...t,children:[{path:"",name:tt.TEMPLATES_LIST,component:zn},{path:":templateId/:phaseId?/:milestoneId?/:activityId?",name:tt.TEMPLATE_DETAILS,component:Rn,props:!0}]}],oe={project:"AoProject",feed:"AoProjectFeed",mapping:"AoProjectMapping",milestone:"AoMilestone",activity:"AoActivity"},a9=(a,t={})=>[{path:a,...t,redirect:{name:oe.project},children:[{path:"",name:oe.project,component:jf,props:!0,children:[{path:":phaseId/:milestoneId",name:oe.milestone,component:Qo,props:!0},{path:":phaseId/:milestoneId/:activityId",name:oe.activity,props:{default:!0,modal:!0},components:{default:Qo,modal:kh}}]},{path:"feed",name:oe.feed,component:Un,props:!0},{path:"mapping",name:oe.mapping,component:e9,props:!0}]}],o9={class:"ao-templates"},zn=e.defineComponent({__name:"AoTemplatesList",props:{templates:{}},emits:["addTemplate","updateTemplates","updateItem","removeItem"],setup(a,{emit:t}){const o=a,{t:n}=Ye();e.watch(()=>o.templates,(c,p)=>{Me(c,p)});const s=()=>{var m,v;const c=(m=o.templates)==null?void 0:m.at(-1),p=c?se.LexoRank.parse(c.rank).genNext():se.LexoRank.middle(),d=((v=o.templates)==null?void 0:v.length)??0,u={name:n("template.defaultName.template",{idx:d+1}),rank:p.format()};t("addTemplate",u)},r=(c,p)=>{t("updateItem",{itemType:J.TEMPLATES,id:c,templateId:c,data:{name:p}})},l=(c,p)=>{t("removeItem",{itemType:J.TEMPLATES,templateId:c,data:{id:c,...p?{name:p}:{}}})},i=c=>{if(c.moved){const p=zt(c,o.templates??[]);t("updateItem",{itemType:J.TEMPLATES,id:c.moved.element.id,templateId:c.moved.element.id,data:{rank:p}})}};return(c,p)=>(e.openBlock(),e.createElementBlock("div",o9,[e.createVNode(Zt,null,{secondary:e.withCtx(()=>[e.createVNode(K,{label:c.$t("templates.new"),color:"primary","icon-name":"Add","icon-position":"start",onClick:s},null,8,["label"])]),_:1}),e.createVNode(e.unref(xe),{"model-value":c.templates,class:"ao-templates__list","item-key":"id",handle:".ao-card__drag",onChange:i},{item:e.withCtx(({element:d})=>{var u;return[e.createVNode($3,{id:d.id,title:d.name,phases:d.phases,milestones:(u=d.phases)!=null&&u.length?e.unref(Y0)(d.phases):0,activities:d.phases?e.unref(K0)(d.phases):0,"updated-at":d.updatedAt,"updated-by":d.updatedBy,onUpdateTitle:m=>r(d.id,m),onClick:m=>c.$router.push({name:e.unref(tt).TEMPLATE_DETAILS,params:{templateId:d.id}}),onDeleteItem:p[0]||(p[0]=(m,v)=>l(m,v))},null,8,["id","title","phases","milestones","activities","updated-at","updated-by","onUpdateTitle","onClick"])]}),_:1},8,["model-value"])]))}});const n9={class:"ao-field__label"},Zn=e.defineComponent({__name:"AoField",props:{label:{},isMultiselect:{type:Boolean,default:!1}},setup(a){return(t,o)=>(e.openBlock(),e.createElementBlock("label",{class:e.normalizeClass(["ao-field",{"ao-field--multiselect":t.isMultiselect}])},[e.createElementVNode("span",n9,e.toDisplayString(t.label),1),e.renderSlot(t.$slots,"default")],2))}}),s9=["type","value","disabled","readonly"],l9=e.defineComponent({__name:"AoInputField",props:{label:{default:""},type:{default:"text"},modelValue:{default:""},modelModifiers:{default:()=>({})},isDisabled:{type:Boolean,default:!1},isReadonly:{type:Boolean,default:!1}},emits:["update:modelValue"],setup(a,{emit:t}){const o=a,n=e.computed(()=>o.modelModifiers.lazy?"change":"input"),s=r=>{o.modelModifiers.number&&(r=Number(r)),t("update:modelValue",r)};return(r,l)=>(e.openBlock(),e.createBlock(Zn,{label:r.label},{default:e.withCtx(()=>[e.createElementVNode("input",e.mergeProps({class:"ao-field__input",type:r.type,value:r.modelValue,disabled:r.isDisabled,readonly:r.isReadonly},{[e.toHandlerKey(n.value)]:l[0]||(l[0]=i=>s(i.target.value))}),null,16,s9)]),_:1},8,["label"]))}}),r9={class:"ao-field"},i9={class:"ao-field__label"},c9=["checked","disabled"],d9=e.defineComponent({__name:"AoCheckboxField",props:{label:{default:""},modelValue:{type:Boolean,default:!1},isReadonly:{type:Boolean,default:!1},isDisabled:{type:Boolean,default:!1}},emits:["update:modelValue"],setup(a){return(t,o)=>(e.openBlock(),e.createElementBlock("label",r9,[e.createElementVNode("span",i9,e.toDisplayString(t.label),1),e.createElementVNode("input",{class:"ao-field__input",type:"checkbox",checked:t.modelValue,disabled:t.isDisabled,onChange:o[0]||(o[0]=n=>{var s;return t.$emit("update:modelValue",((s=n.target)==null?void 0:s.checked)??!1)})},null,40,c9)]))}});exports.AoAvatar=ke;exports.AoCardFeed=$o;exports.AoCheckboxField=d9;exports.AoFeed=Un;exports.AoField=Zn;exports.AoInputField=l9;exports.AoMultiselect=re;exports.AoProjectPhases=ko;exports.AoTemplateDetails=Rn;exports.AoTemplates=is;exports.AoTemplatesList=zn;exports.TemplateItemTypeEnum=sn;exports.activityFeedStatus=c2;exports.durationTypes=i2;exports.feedFilterTypes=Je;exports.getProjectOverviewRoutes=a9;exports.getTemplateRoutes=t9;exports.listUpdateTypes=d2;exports.milestoneStatus=Ot;exports.projectOverviewRoutes=oe;exports.ruleComparators=an;exports.ruleDurationUnits=nn;exports.ruleTriggerTypes=on;exports.templateItemType=J;exports.templateRouteNames=tt;
|
|
5
|
+
*/function Qe(a){let t={r:0,g:0,b:0,a:1};/#/.test(a)?t=ov(a):/rgb/.test(a)?t=Xo(a):typeof a=="string"?t=Xo(`rgba(${a})`):Object.prototype.toString.call(a)==="[object Object]"&&(t=a);const{r:o,g:n,b:s,a:r}=t,{h:l,s:i,v:c}=nv(t);return{r:o,g:n,b:s,a:r===void 0?1:r,h:l,s:i,v:c}}function mo(a){const t=document.createElement("canvas"),o=t.getContext("2d"),n=a*2;return t.width=n,t.height=n,o.fillStyle="#ffffff",o.fillRect(0,0,n,n),o.fillStyle="#ccd5db",o.fillRect(0,0,a,a),o.fillRect(a,a,a,a),t}function Ya(a,t,o,n,s,r){const l=a==="l",i=t.createLinearGradient(0,0,l?o:0,l?0:n);i.addColorStop(.01,s),i.addColorStop(.99,r),t.fillStyle=i,t.fillRect(0,0,o,n)}function av({r:a,g:t,b:o},n){const s=l=>("0"+Number(l).toString(16)).slice(-2),r=`#${s(a)}${s(t)}${s(o)}`;return n?r.toUpperCase():r}function ov(a){a=a.slice(1);const t=o=>parseInt(o,16)||0;return{r:t(a.slice(0,2)),g:t(a.slice(2,4)),b:t(a.slice(4,6))}}function Xo(a){return typeof a=="string"?(a=(/rgba?\((.*?)\)/.exec(a)||["","0,0,0,1"])[1].split(","),{r:Number(a[0])||0,g:Number(a[1])||0,b:Number(a[2])||0,a:Number(a[3]?a[3]:1)}):a}function nv({r:a,g:t,b:o}){a=a/255,t=t/255,o=o/255;const n=Math.max(a,t,o),s=Math.min(a,t,o),r=n-s;let l=0;n===s?l=0:n===a?t>=o?l=60*(t-o)/r:l=60*(t-o)/r+360:n===t?l=60*(o-a)/r+120:n===o&&(l=60*(a-t)/r+240),l=Math.floor(l);let i=parseFloat((n===0?0:1-s/n).toFixed(2)),c=parseFloat(n.toFixed(2));return{h:l,s:i,v:c}}var vo=e.defineComponent({props:{color:{type:String,default:"#000000"},hsv:{type:Object,default:null},size:{type:Number,default:152}},emits:["selectSaturation"],data(){return{slideSaturationStyle:{}}},mounted(){this.renderColor(),this.renderSlide()},methods:{renderColor(){const a=this.$refs.canvasSaturation,t=this.size,o=a.getContext("2d");a.width=t,a.height=t,o.fillStyle=this.color,o.fillRect(0,0,t,t),Ya("l",o,t,t,"#FFFFFF","rgba(255,255,255,0)"),Ya("p",o,t,t,"rgba(0,0,0,0)","#000000")},renderSlide(){this.slideSaturationStyle={left:this.hsv.s*this.size-5+"px",top:(1-this.hsv.v)*this.size-5+"px"}},selectSaturation(a){const{top:t,left:o}=this.$el.getBoundingClientRect(),n=a.target.getContext("2d"),s=l=>{let i=l.clientX-o,c=l.clientY-t;i<0&&(i=0),c<0&&(c=0),i>this.size&&(i=this.size),c>this.size&&(c=this.size),this.slideSaturationStyle={left:i-5+"px",top:c-5+"px"};const p=n.getImageData(Math.min(i,this.size-1),Math.min(c,this.size-1),1,1),[d,u,m]=p.data;this.$emit("selectSaturation",{r:d,g:u,b:m})};s(a);const r=()=>{document.removeEventListener("mousemove",s),document.removeEventListener("mouseup",r)};document.addEventListener("mousemove",s),document.addEventListener("mouseup",r)}}});const sv={ref:"canvasSaturation"};function lv(a,t,o,n,s,r){return e.openBlock(),e.createBlock("div",{class:"saturation",onMousedown:t[1]||(t[1]=e.withModifiers((...l)=>a.selectSaturation&&a.selectSaturation(...l),["prevent","stop"]))},[e.createVNode("canvas",sv,null,512),e.createVNode("div",{style:a.slideSaturationStyle,class:"slide"},null,4)],32)}vo.render=lv;vo.__file="src/color/Saturation.vue";var fo=e.defineComponent({props:{hsv:{type:Object,default:null},width:{type:Number,default:15},height:{type:Number,default:152}},emits:["selectHue"],data(){return{slideHueStyle:{}}},mounted(){this.renderColor(),this.renderSlide()},methods:{renderColor(){const a=this.$refs.canvasHue,t=this.width,o=this.height,n=a.getContext("2d");a.width=t,a.height=o;const s=n.createLinearGradient(0,0,0,o);s.addColorStop(0,"#FF0000"),s.addColorStop(.17*1,"#FF00FF"),s.addColorStop(.17*2,"#0000FF"),s.addColorStop(.17*3,"#00FFFF"),s.addColorStop(.17*4,"#00FF00"),s.addColorStop(.17*5,"#FFFF00"),s.addColorStop(1,"#FF0000"),n.fillStyle=s,n.fillRect(0,0,t,o)},renderSlide(){this.slideHueStyle={top:(1-this.hsv.h/360)*this.height-2+"px"}},selectHue(a){const{top:t}=this.$el.getBoundingClientRect(),o=a.target.getContext("2d"),n=r=>{let l=r.clientY-t;l<0&&(l=0),l>this.height&&(l=this.height),this.slideHueStyle={top:l-2+"px"};const i=o.getImageData(0,Math.min(l,this.height-1),1,1),[c,p,d]=i.data;this.$emit("selectHue",{r:c,g:p,b:d})};n(a);const s=()=>{document.removeEventListener("mousemove",n),document.removeEventListener("mouseup",s)};document.addEventListener("mousemove",n),document.addEventListener("mouseup",s)}}});const rv={ref:"canvasHue"};function iv(a,t,o,n,s,r){return e.openBlock(),e.createBlock("div",{class:"hue",onMousedown:t[1]||(t[1]=e.withModifiers((...l)=>a.selectHue&&a.selectHue(...l),["prevent","stop"]))},[e.createVNode("canvas",rv,null,512),e.createVNode("div",{style:a.slideHueStyle,class:"slide"},null,4)],32)}fo.render=iv;fo.__file="src/color/Hue.vue";var ho=e.defineComponent({props:{color:{type:String,default:"#000000"},rgba:{type:Object,default:null},width:{type:Number,default:15},height:{type:Number,default:152}},emits:["selectAlpha"],data(){return{slideAlphaStyle:{},alphaSize:5}},watch:{color(){this.renderColor()},"rgba.a"(){this.renderSlide()}},mounted(){this.renderColor(),this.renderSlide()},methods:{renderColor(){const a=this.$refs.canvasAlpha,t=this.width,o=this.height,n=this.alphaSize,s=mo(n),r=a.getContext("2d");a.width=t,a.height=o,r.fillStyle=r.createPattern(s,"repeat"),r.fillRect(0,0,t,o),Ya("p",r,t,o,"rgba(255,255,255,0)",this.color)},renderSlide(){this.slideAlphaStyle={top:this.rgba.a*this.height-2+"px"}},selectAlpha(a){const{top:t}=this.$el.getBoundingClientRect(),o=s=>{let r=s.clientY-t;r<0&&(r=0),r>this.height&&(r=this.height);let l=parseFloat((r/this.height).toFixed(2));this.$emit("selectAlpha",l)};o(a);const n=()=>{document.removeEventListener("mousemove",o),document.removeEventListener("mouseup",n)};document.addEventListener("mousemove",o),document.addEventListener("mouseup",n)}}});const cv={ref:"canvasAlpha"};function dv(a,t,o,n,s,r){return e.openBlock(),e.createBlock("div",{class:"color-alpha",onMousedown:t[1]||(t[1]=e.withModifiers((...l)=>a.selectAlpha&&a.selectAlpha(...l),["prevent","stop"]))},[e.createVNode("canvas",cv,null,512),e.createVNode("div",{style:a.slideAlphaStyle,class:"slide"},null,4)],32)}ho.render=dv;ho.__file="src/color/Alpha.vue";var Co=e.defineComponent({props:{color:{type:String,default:"#000000"},width:{type:Number,default:100},height:{type:Number,default:30}},data(){return{alphaSize:5}},watch:{color(){this.renderColor()}},mounted(){this.renderColor()},methods:{renderColor(){const a=this.$el,t=this.width,o=this.height,n=this.alphaSize,s=mo(n),r=a.getContext("2d");a.width=t,a.height=o,r.fillStyle=r.createPattern(s,"repeat"),r.fillRect(0,0,t,o),r.fillStyle=this.color,r.fillRect(0,0,t,o)}}});function uv(a,t,o,n,s,r){return e.openBlock(),e.createBlock("canvas")}Co.render=uv;Co.__file="src/color/Preview.vue";var go=e.defineComponent({props:{suckerCanvas:{type:Object,default:null},suckerArea:{type:Array,default:()=>[]}},data(){return{isOpenSucker:!1,suckerPreview:null,isSucking:!1}},watch:{suckerCanvas(a){this.isSucking=!1,this.suckColor(a)}},methods:{openSucker(){this.isOpenSucker?this.keydownHandler({keyCode:27}):(this.isOpenSucker=!0,this.isSucking=!0,this.$emit("openSucker",!0),document.addEventListener("keydown",this.keydownHandler))},keydownHandler(a){a.keyCode===27&&(this.isOpenSucker=!1,this.isSucking=!1,this.$emit("openSucker",!1),document.removeEventListener("keydown",this.keydownHandler),document.removeEventListener("mousemove",this.mousemoveHandler),document.removeEventListener("mouseup",this.mousemoveHandler),this.suckerPreview&&(document.body.removeChild(this.suckerPreview),this.suckerPreview=null))},mousemoveHandler(a){const{clientX:t,clientY:o}=a,{top:n,left:s,width:r,height:l}=this.suckerCanvas.getBoundingClientRect(),i=t-s,c=o-n,d=this.suckerCanvas.getContext("2d").getImageData(Math.min(i,r-1),Math.min(c,l-1),1,1);let[u,m,v,_]=d.data;_=parseFloat((_/255).toFixed(2));const C=this.suckerPreview.style;Object.assign(C,{position:"absolute",left:t+20+"px",top:o-36+"px",width:"24px",height:"24px",borderRadius:"50%",border:"2px solid #fff",boxShadow:"0 0 8px 0 rgba(0, 0, 0, 0.16)",background:`rgba(${u}, ${m}, ${v}, ${_})`,zIndex:95}),this.suckerArea.length&&t>=this.suckerArea[0]&&o>=this.suckerArea[1]&&t<=this.suckerArea[2]&&o<=this.suckerArea[3]?C.display="":C.display="none"},suckColor(a){a&&a.tagName!=="CANVAS"||(this.suckerPreview=document.createElement("div"),this.suckerPreview&&document.body.appendChild(this.suckerPreview),document.addEventListener("mousemove",this.mousemoveHandler),document.addEventListener("mouseup",this.mousemoveHandler),a.addEventListener("click",t=>{const{clientX:o,clientY:n}=t,{top:s,left:r,width:l,height:i}=a.getBoundingClientRect(),c=o-r,p=n-s,u=a.getContext("2d").getImageData(Math.min(c,l-1),Math.min(p,i-1),1,1);let[m,v,_,C]=u.data;C=parseFloat((C/255).toFixed(2)),this.$emit("selectSucker",{r:m,g:v,b:_,a:C})}))}}});const pv=e.createVNode("path",{d:"M13.1,8.2l5.6,5.6c0.4,0.4,0.5,1.1,0.1,1.5s-1.1,0.5-1.5,0.1c0,0-0.1,0-0.1-0.1l-1.4-1.4l-7.7,7.7C7.9,21.9,7.6,22,7.3,22H3.1C2.5,22,2,21.5,2,20.9l0,0v-4.2c0-0.3,0.1-0.6,0.3-0.8l5.8-5.8C8.5,9.7,9.2,9.6,9.7,10s0.5,1.1,0.1,1.5c0,0,0,0.1-0.1,0.1l-5.5,5.5v2.7h2.7l7.4-7.4L8.7,6.8c-0.5-0.4-0.5-1-0.1-1.5s1.1-0.5,1.5-0.1c0,0,0.1,0,0.1,0.1l1.4,1.4l3.5-3.5c1.6-1.6,4.1-1.6,5.8-0.1c1.6,1.6,1.6,4.1,0.1,5.8L20.9,9l-3.6,3.6c-0.4,0.4-1.1,0.5-1.5,0.1"},null,-1),mv={key:1,class:"sucker",viewBox:"-16 -16 68 68",xmlns:"http://www.w3.org/2000/svg",stroke:"#9099a4"},vv=e.createVNode("g",{fill:"none","fill-rule":"evenodd"},[e.createVNode("g",{transform:"translate(1 1)","stroke-width":"4"},[e.createVNode("circle",{"stroke-opacity":".5",cx:"18",cy:"18",r:"18"}),e.createVNode("path",{d:"M36 18c0-9.94-8.06-18-18-18"},[e.createVNode("animateTransform",{attributeName:"transform",type:"rotate",from:"0 18 18",to:"360 18 18",dur:"1s",repeatCount:"indefinite"})])])],-1);function fv(a,t,o,n,s,r){return e.openBlock(),e.createBlock("div",null,[a.isSucking?e.createCommentVNode("v-if",!0):(e.openBlock(),e.createBlock("svg",{key:0,class:[{active:a.isOpenSucker},"sucker"],xmlns:"http://www.w3.org/2000/svg",viewBox:"-12 -12 48 48",onClick:t[1]||(t[1]=(...l)=>a.openSucker&&a.openSucker(...l))},[pv],2)),a.isSucking?(e.openBlock(),e.createBlock("svg",mv,[vv])):e.createCommentVNode("v-if",!0)])}go.render=fv;go.__file="src/color/Sucker.vue";var _o=e.defineComponent({props:{name:{type:String,default:""},color:{type:String,default:""}},emits:["inputColor","inputFocus","inputBlur"],setup(a,{emit:t}){return{modelColor:e.computed({get(){return a.color||""},set(r){t("inputColor",r)}}),handleFocus:r=>{t("inputFocus",r)},handleBlur:r=>{t("inputBlur",r)}}}});const hv={class:"color-type"},Cv={class:"name"};function gv(a,t,o,n,s,r){return e.openBlock(),e.createBlock("div",hv,[e.createVNode("span",Cv,e.toDisplayString(a.name),1),e.withDirectives(e.createVNode("input",{"onUpdate:modelValue":t[1]||(t[1]=l=>a.modelColor=l),class:"value",onFocus:t[2]||(t[2]=(...l)=>a.handleFocus&&a.handleFocus(...l)),onBlur:t[3]||(t[3]=(...l)=>a.handleBlur&&a.handleBlur(...l))},null,544),[[e.vModelText,a.modelColor]])])}_o.render=gv;_o.__file="src/color/Box.vue";var yo=e.defineComponent({name:"ColorPicker",props:{color:{type:String,default:"#000000"},colorsDefault:{type:Array,default:()=>[]},colorsHistoryKey:{type:String,default:""}},emits:["selectColor"],setup(a,{emit:t}){const o=e.ref(),n=e.ref([]),s=e.ref();a.colorsHistoryKey&&localStorage&&(n.value=JSON.parse(localStorage.getItem(a.colorsHistoryKey))||[]),s.value=mo(4).toDataURL(),e.onUnmounted(()=>{r(o.value)});function r(i){if(!i)return;const c=n.value||[],p=c.indexOf(i);p>=0&&c.splice(p,1),c.length>=8&&(c.length=7),c.unshift(i),n.value=c||[],localStorage&&a.colorsHistoryKey&&localStorage.setItem(a.colorsHistoryKey,JSON.stringify(c))}function l(i){t("selectColor",i)}return{setColorsHistory:r,colorsHistory:n,color:o,imgAlphaBase64:s,selectColor:l}}});const _v={class:"colors"},yv={key:0,class:"colors history"};function bv(a,t,o,n,s,r){return e.openBlock(),e.createBlock("div",null,[e.createVNode("ul",_v,[(e.openBlock(!0),e.createBlock(e.Fragment,null,e.renderList(a.colorsDefault,l=>(e.openBlock(),e.createBlock("li",{key:l,class:"item",onClick:i=>a.selectColor(l)},[e.createVNode("div",{style:{background:`url(${a.imgAlphaBase64})`},class:"alpha"},null,4),e.createVNode("div",{style:{background:l},class:"color"},null,4)],8,["onClick"]))),128))]),a.colorsHistory.length?(e.openBlock(),e.createBlock("ul",yv,[(e.openBlock(!0),e.createBlock(e.Fragment,null,e.renderList(a.colorsHistory,l=>(e.openBlock(),e.createBlock("li",{key:l,class:"item",onClick:i=>a.selectColor(l)},[e.createVNode("div",{style:{background:`url(${a.imgAlphaBase64})`},class:"alpha"},null,4),e.createVNode("div",{style:{background:l},class:"color"},null,4)],8,["onClick"]))),128))])):e.createCommentVNode("v-if",!0)])}yo.render=bv;yo.__file="src/color/Colors.vue";var ut=e.defineComponent({components:{Saturation:vo,Hue:fo,Alpha:ho,Preview:Co,Sucker:go,Box:_o,Colors:yo},emits:["changeColor","openSucker","inputFocus","inputBlur"],props:{color:{type:String,default:"#000000"},theme:{type:String,default:"dark"},suckerHide:{type:Boolean,default:!0},suckerCanvas:{type:null,default:null},suckerArea:{type:Array,default:()=>[]},colorsDefault:{type:Array,default:()=>["#000000","#FFFFFF","#FF1900","#F47365","#FFB243","#FFE623","#6EFF2A","#1BC7B1","#00BEFF","#2E81FF","#5D61FF","#FF89CF","#FC3CAD","#BF3DCE","#8E00A7","rgba(0,0,0,0)"]},colorsHistoryKey:{type:String,default:"vue-colorpicker-history"}},data(){return{hueWidth:15,hueHeight:152,previewHeight:30,modelRgba:"",modelHex:"",r:0,g:0,b:0,a:1,h:0,s:0,v:0}},computed:{isLightTheme(){return this.theme==="light"},totalWidth(){return this.hueHeight+(this.hueWidth+8)*2},previewWidth(){return this.totalWidth-(this.suckerHide?0:this.previewHeight)},rgba(){return{r:this.r,g:this.g,b:this.b,a:this.a}},hsv(){return{h:this.h,s:this.s,v:this.v}},rgbString(){return`rgb(${this.r}, ${this.g}, ${this.b})`},rgbaStringShort(){return`${this.r}, ${this.g}, ${this.b}, ${this.a}`},rgbaString(){return`rgba(${this.rgbaStringShort})`},hexString(){return av(this.rgba,!0)}},created(){Object.assign(this,Qe(this.color)),this.setText(),this.$watch("rgba",()=>{this.$emit("changeColor",{rgba:this.rgba,hsv:this.hsv,hex:this.modelHex})})},methods:{selectSaturation(a){const{r:t,g:o,b:n,h:s,s:r,v:l}=Qe(a);Object.assign(this,{r:t,g:o,b:n,h:s,s:r,v:l}),this.setText()},handleFocus(a){this.$emit("inputFocus",a)},handleBlur(a){this.$emit("inputBlur",a)},selectHue(a){const{r:t,g:o,b:n,h:s,s:r,v:l}=Qe(a);Object.assign(this,{r:t,g:o,b:n,h:s,s:r,v:l}),this.setText(),this.$nextTick(()=>{this.$refs.saturation.renderColor(),this.$refs.saturation.renderSlide()})},selectAlpha(a){this.a=a,this.setText()},inputHex(a){const{r:t,g:o,b:n,a:s,h:r,s:l,v:i}=Qe(a);Object.assign(this,{r:t,g:o,b:n,a:s,h:r,s:l,v:i}),this.modelHex=a,this.modelRgba=this.rgbaStringShort,this.$nextTick(()=>{this.$refs.saturation.renderColor(),this.$refs.saturation.renderSlide(),this.$refs.hue.renderSlide()})},inputRgba(a){const{r:t,g:o,b:n,a:s,h:r,s:l,v:i}=Qe(a);Object.assign(this,{r:t,g:o,b:n,a:s,h:r,s:l,v:i}),this.modelHex=this.hexString,this.modelRgba=a,this.$nextTick(()=>{this.$refs.saturation.renderColor(),this.$refs.saturation.renderSlide(),this.$refs.hue.renderSlide()})},setText(){this.modelHex=this.hexString,this.modelRgba=this.rgbaStringShort},openSucker(a){this.$emit("openSucker",a)},selectSucker(a){const{r:t,g:o,b:n,a:s,h:r,s:l,v:i}=Qe(a);Object.assign(this,{r:t,g:o,b:n,a:s,h:r,s:l,v:i}),this.setText(),this.$nextTick(()=>{this.$refs.saturation.renderColor(),this.$refs.saturation.renderSlide(),this.$refs.hue.renderSlide()})},selectColor(a){const{r:t,g:o,b:n,a:s,h:r,s:l,v:i}=Qe(a);Object.assign(this,{r:t,g:o,b:n,a:s,h:r,s:l,v:i}),this.setText(),this.$nextTick(()=>{this.$refs.saturation.renderColor(),this.$refs.saturation.renderSlide(),this.$refs.hue.renderSlide()})}}});const kv={class:"color-set"};function wv(a,t,o,n,s,r){const l=e.resolveComponent("Saturation"),i=e.resolveComponent("Hue"),c=e.resolveComponent("Alpha"),p=e.resolveComponent("Preview"),d=e.resolveComponent("Sucker"),u=e.resolveComponent("Box"),m=e.resolveComponent("Colors");return e.openBlock(),e.createBlock("div",{class:["hu-color-picker",{light:a.isLightTheme}],style:{width:a.totalWidth+"px"}},[e.createVNode("div",kv,[e.createVNode(l,{ref:"saturation",color:a.rgbString,hsv:a.hsv,size:a.hueHeight,onSelectSaturation:a.selectSaturation},null,8,["color","hsv","size","onSelectSaturation"]),e.createVNode(i,{ref:"hue",hsv:a.hsv,width:a.hueWidth,height:a.hueHeight,onSelectHue:a.selectHue},null,8,["hsv","width","height","onSelectHue"]),e.createVNode(c,{ref:"alpha",color:a.rgbString,rgba:a.rgba,width:a.hueWidth,height:a.hueHeight,onSelectAlpha:a.selectAlpha},null,8,["color","rgba","width","height","onSelectAlpha"])]),e.createVNode("div",{style:{height:a.previewHeight+"px"},class:"color-show"},[e.createVNode(p,{color:a.rgbaString,width:a.previewWidth,height:a.previewHeight},null,8,["color","width","height"]),a.suckerHide?e.createCommentVNode("v-if",!0):(e.openBlock(),e.createBlock(d,{key:0,"sucker-canvas":a.suckerCanvas,"sucker-area":a.suckerArea,onOpenSucker:a.openSucker,onSelectSucker:a.selectSucker},null,8,["sucker-canvas","sucker-area","onOpenSucker","onSelectSucker"]))],4),e.createVNode(u,{name:"HEX",color:a.modelHex,onInputColor:a.inputHex,onInputFocus:a.handleFocus,onInputBlur:a.handleBlur},null,8,["color","onInputColor","onInputFocus","onInputBlur"]),e.createVNode(u,{name:"RGBA",color:a.modelRgba,onInputColor:a.inputRgba,onInputFocus:a.handleFocus,onInputBlur:a.handleBlur},null,8,["color","onInputColor","onInputFocus","onInputBlur"]),e.createVNode(m,{color:a.rgbaString,"colors-default":a.colorsDefault,"colors-history-key":a.colorsHistoryKey,onSelectColor:a.selectColor},null,8,["color","colors-default","colors-history-key","onSelectColor"]),e.createCommentVNode(" custom options "),e.renderSlot(a.$slots,"default")],6)}ut.render=wv;ut.__file="src/color/ColorPicker.vue";ut.install=a=>{a.component(ut.name,ut)};const $v={class:"color-picker-wrapper"},bo=e.defineComponent({__name:"AoColorPicker",props:{color:{}},emits:["update:color"],setup(a,{emit:t}){const o=a,n=e.ref(!1),s=e.ref(null),r=e.ref(null),l=e.ref(0),i=e.ref(0),c=async v=>{r.value=v,n.value=!0,await e.nextTick();const _=v.getBoundingClientRect(),C=s.value,h=(C==null?void 0:C.offsetHeight)||300,b=window.innerHeight-_.bottom,y=_.top,f=b<h&&y>h;console.log("pickerHeight = "+h),l.value=f?_.top-h-8:_.bottom+8,i.value=_.left,setTimeout(()=>{window.addEventListener("click",d)},0)},p=e.computed(()=>({position:"fixed",top:`${l.value}px`,left:`${i.value}px`,zIndex:1e3})),d=v=>{const _=v.target;s.value&&!s.value.contains(_)&&(n.value=!1,t("update:color",u.value),window.removeEventListener("click",d))};e.onBeforeUnmount(()=>{window.removeEventListener("click",d)}),e.watch(()=>o.color,v=>{n.value||(u.value=v)});const u=e.ref(o.color),m=v=>{const{r:_,g:C,b:h,a:b}=v.rgba;u.value=`rgba(${_}, ${C}, ${h}, ${b})`};return(v,_)=>(e.openBlock(),e.createElementBlock("div",$v,[e.renderSlot(v.$slots,"clickable",{openPicker:c,bgColor:v.color}),n.value?(e.openBlock(),e.createElementBlock("div",{key:0,ref_key:"pickerRef",ref:s,class:"color-picker",style:e.normalizeStyle(p.value)},[e.createVNode(e.unref(ut),{class:"color-picker-box",theme:"light",color:v.color,onChangeColor:m},null,8,["color"])],4)):e.createCommentVNode("",!0)]))}});const Ev={class:"ao-card-project-phase__header"},Bv={class:"ao-card-project-item__title-line"},Vv={key:0,class:"ao-card-project-item-phase__estimation"},Nv={class:"ao-card-project-phase__footer"},Sv={key:0,class:"ao-card-project-phase__footer-row ao-card-project-phase__footer-row--progress"},Mv={class:"ao-card-project-phase__subitem"},Av={class:"ao-card-project-phase__subitem"},Tv={key:0,class:"ao-card-project-phase__secondary"},Ov={class:"ao-card-project-phase__deadline ao-card-project-phase__deadline--readonly"},Iv=e.defineComponent({__name:"AoCardProjectItemPhase",props:{id:{},projectName:{},name:{},milestones:{},isEditable:{type:Boolean},deadline:{},active:{type:Boolean},color:{}},emits:["update:title","update:deadline","archivePhase","unarchivePhase","updatePhase"],setup(a,{emit:t}){const o=a,n=u=>{t("update:title",u)},s=e.computed(()=>{var u;return(u=o.milestones)==null?void 0:u.reduce((m,v)=>{var _;return m+((_=v.activities)==null?void 0:_.reduce((C,h)=>C+(h.estimation||0),0))},0)}),r=e.computed(()=>{var u;return(u=o.milestones)==null?void 0:u.length}),l=e.computed(()=>{var u;return(u=o.milestones)==null?void 0:u.filter(m=>m.status===Ot.done).length}),i=e.computed(()=>(l.value||0)/(r.value||1)),c=e.computed({get:()=>o.deadline??"",set:u=>t("update:deadline",u!=null&&u.length?u:null)}),p=e.computed({get:()=>o.color,set:u=>{t("updatePhase",{id:o.id,color:u})}}),d=(u,m)=>{const v=u.target;v.closest("button")||v.closest("input")||v.closest(".ao-title")||m(v)};return(u,m)=>(e.openBlock(),e.createBlock(bo,{color:p.value,"onUpdate:color":m[2]||(m[2]=v=>p.value=v)},{clickable:e.withCtx(({openPicker:v,bgColor:_})=>[e.createVNode(Va,{class:"ao-card-project-phase","is-clickable":u.isEditable,color:_,withLeftBorder:!0,onClick:C=>d(C,v)},e.createSlots({default:e.withCtx(()=>[e.createElementVNode("div",Bv,[e.createVNode(ne,{id:u.id,class:"ao-card-project-phase__title",title:u.name||"",level:4,"is-editable":u.isEditable,"onUpdate:title":n},null,8,["id","title","is-editable"]),s.value?(e.openBlock(),e.createElementBlock("span",Vv," ("+e.toDisplayString(s.value)+")",1)):e.createCommentVNode("",!0)])]),footer:e.withCtx(()=>[e.createElementVNode("div",Nv,[r.value?(e.openBlock(),e.createElementBlock("div",Sv,[e.createElementVNode("div",Mv,[e.createVNode(Q,{name:"MountainFlagOutlineRounded",size:"sm"}),e.createElementVNode("span",Av,e.toDisplayString(l.value)+" / "+e.toDisplayString(r.value),1)]),e.createVNode(Na,{percentages:i.value,class:"ao-card-project-phase__progress",color:u.color},null,8,["percentages","color"]),u.$slots.secondary?(e.openBlock(),e.createElementBlock("div",Tv,[e.renderSlot(u.$slots,"secondary")])):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(["ao-card-project-phase__footer-row",c.value?"":"ao-card-project-phase__no_deadline"])},[u.isEditable?e.withDirectives((e.openBlock(),e.createElementBlock("input",{key:0,"onUpdate:modelValue":m[1]||(m[1]=C=>c.value=C),class:"ao-card-project-phase__deadline ao-card-project-phase__deadline--input",type:"date"},null,512)),[[e.vModelText,c.value,void 0,{lazy:!0}]]):e.createCommentVNode("",!0),e.createElementVNode("span",Ov,e.toDisplayString(e.unref(_a)(u.deadline)),1)],2)])]),_:2},[u.isEditable?{name:"header",fn:e.withCtx(()=>[e.createElementVNode("div",Ev,[e.createVNode(K,{class:"ao-card-project-phase__archive",color:"primary",variant:"ghost","icon-name":"ArchiveOutlineRounded",size:"sm","icon-position":"start",corners:"round",label:u.active?u.$t("archive"):u.$t("unarchive"),onClick:m[0]||(m[0]=e.withModifiers(()=>u.active?u.$emit("archivePhase",{id:u.id}):u.$emit("unarchivePhase",{id:u.id}),["stop"]))},null,8,["label"])])]),key:"0"}:void 0]),1032,["is-clickable","color","onClick"])]),_:3},8,["color"]))}});const Lv=e.defineComponent({__name:"AoBadge",props:{color:{}},setup(a){return(t,o)=>(e.openBlock(),e.createElementBlock("span",{class:"aoBadge",style:e.normalizeStyle({backgroundColor:t.color})},null,4))}});const Dv={class:"ao-card-project-milestone__default"},Pv={class:"ao-title-with-badge-wrapper"},Hv={class:"ao-card-project-item__title-line"},Rv={key:0,class:"ao-card-project-item-milestone__estimation"},jv={key:0,class:"ao-card-project-milestone__archive"},Fv={class:"ao-card-project-milestone__activities"},Uv={class:"ao-card-project-milestone__activities-row"},zv={class:"ao-card-project-milestone__subitem"},Zv={class:"ao-card-project-milestone__subitem"},xv={key:1,class:"ao-card-project-milestone__secondary"},Wv={class:"ao-card-project-milestone__footer"},qv={key:1,class:"ao-field ao-card-project-milestone__deadline"},Yv={class:"ao-field__label"},Kv={key:2,class:"ao-card-project-milestone__assignee"},Gv=e.defineComponent({__name:"AoCardProjectItemMilestone",props:{id:{},name:{},color:{},phaseColor:{},activities:{},closedStatus:{},isEditable:{type:Boolean},deadline:{},active:{type:Boolean},isSelected:{type:Boolean},assignee:{},important:{type:Boolean},readonly:{type:Boolean}},emits:["updateMilestone","archiveMilestone","unarchiveMilestone"],setup(a,{emit:t}){const o=a,n=e.computed(()=>{var c;return(c=o.activities)==null?void 0:c.reduce((p,d)=>p+(d.estimation||0),0)}),s=e.computed(()=>{var c;return(c=o.activities)==null?void 0:c.length}),r=e.computed(()=>{var c;return(c=o.activities)==null?void 0:c.filter(p=>Qa(p,o.closedStatus)).length}),l=e.computed(()=>(r.value||0)/(s.value||1)),i=c=>{t("updateMilestone",{id:o.id,name:c})};return(c,p)=>(e.openBlock(),e.createBlock(Va,{class:e.normalizeClass(["ao-card-project-milestone"]),"is-clickable":!c.readonly,"tag-name":"li","is-selected":c.isSelected,color:c.phaseColor},{default:e.withCtx(()=>[e.createElementVNode("div",Dv,[e.createElementVNode("div",Pv,[e.createVNode(Lv,{color:c.color||""},null,8,["color"]),e.createElementVNode("div",Hv,[e.createVNode(ne,{id:c.id,title:c.name||"",level:5,"is-editable":!c.readonly&&c.isEditable,class:"ao-card-project-milestone__title","onUpdate:title":i},null,8,["id","title","is-editable"]),n.value?(e.openBlock(),e.createElementBlock("span",Rv," ("+e.toDisplayString(n.value)+")",1)):e.createCommentVNode("",!0)])]),!c.readonly&&c.isEditable?(e.openBlock(),e.createElementBlock("div",jv,[e.createVNode(K,{color:"primary",variant:"ghost","icon-name":"ArchiveOutlineRounded",size:"sm","icon-position":"start",corners:"round",label:c.active?c.$t("archive"):c.$t("unarchive"),onClick:p[0]||(p[0]=e.withModifiers(()=>c.active?c.$emit("archiveMilestone",{id:c.id}):c.$emit("unarchiveMilestone",{id:c.id}),["stop"]))},null,8,["label"])])):e.createCommentVNode("",!0)]),e.createElementVNode("div",Fv,[e.createElementVNode("div",Uv,[s.value?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("div",zv,[e.createVNode(Q,{name:"SelectCheckBox",size:"sm"}),e.createElementVNode("span",Zv,e.toDisplayString(r.value)+" / "+e.toDisplayString(s.value),1)]),e.createVNode(Na,{percentages:l.value,color:c.phaseColor,class:"ao-card-project-milestone__progress"},null,8,["percentages","color"])],64)):e.createCommentVNode("",!0),c.$slots.secondary?(e.openBlock(),e.createElementBlock("div",xv,[e.renderSlot(c.$slots,"secondary")])):e.createCommentVNode("",!0)])])]),footer:e.withCtx(()=>[e.createElementVNode("div",Wv,[c.important?(e.openBlock(),e.createBlock(Q,{key:0,name:"FlagRounded",class:e.normalizeClass(c.isSelected?"ao-card-project-milestone__important--selected":"ao-card-project-milestone__important"),size:"sm"},null,8,["class"])):e.createCommentVNode("",!0),c.deadline?(e.openBlock(),e.createElementBlock("label",qv,[e.createElementVNode("span",Yv,e.toDisplayString(e.unref(_a)(c.deadline)),1)])):e.createCommentVNode("",!0),c.assignee?(e.openBlock(),e.createElementBlock("div",Kv,[e.createVNode(ke,{"user-name":e.unref(bn)(c.assignee),"avatar-url":c.assignee.avatarUrl,color:c.isSelected?"black":"primary",size:"sm"},null,8,["user-name","avatar-url","color"])])):e.createCommentVNode("",!0)])]),_:3},8,["is-clickable","is-selected","color"]))}});const Xv={class:"ao-mapping-card-project-phase__header"},Qv={class:"ao-card-project-item__title-line"},Jv={key:0,class:"ao-card-project-item-phase__estimation"},ef={class:"ao-mapping-card-project-phase__footer"},tf={key:0,class:"ao-mapping-card-project-phase__footer-row ao-mapping-card-project-phase__footer-row--progress"},af={class:"ao-mapping-card-project-phase__subitem"},of={class:"ao-mapping-card-project-phase__subitem"},nf={key:0,class:"ao-mapping-card-project-phase__secondary"},sf={class:"ao-mapping-card-project-phase__deadline ao-mapping-card-project-phase__deadline--readonly"},lf=e.defineComponent({__name:"AoCondensedCardProjectItemPhase",props:{id:{},projectName:{},name:{},milestones:{},isEditable:{type:Boolean},deadline:{},active:{type:Boolean},color:{}},emits:["update:title","update:deadline","archivePhase","updatePhase","unarchivePhase"],setup(a,{emit:t}){const o=a,n=u=>{t("update:title",u)},s=e.computed(()=>{var u;return(u=o.milestones)==null?void 0:u.reduce((m,v)=>{var _;return m+((_=v.activities)==null?void 0:_.reduce((C,h)=>C+(h.estimation||0),0))},0)}),r=e.computed(()=>{var u;return(u=o.milestones)==null?void 0:u.length}),l=e.computed(()=>{var u;return(u=o.milestones)==null?void 0:u.filter(m=>m.status===Ot.done).length}),i=e.computed(()=>(l.value||0)/(r.value||1)),c=e.computed({get:()=>o.deadline??"",set:u=>t("update:deadline",u!=null&&u.length?u:null)}),p=e.computed({get:()=>o.color,set:u=>{t("updatePhase",{id:o.id,color:u})}}),d=(u,m)=>{const v=u.target;v.closest("button")||v.closest("input")||v.closest(".ao-title")||m()};return(u,m)=>(e.openBlock(),e.createBlock(bo,{color:p.value,"onUpdate:color":m[2]||(m[2]=v=>p.value=v)},{clickable:e.withCtx(({openPicker:v,bgColor:_})=>[e.createVNode(Va,{class:"ao-mapping-card-project-phase","is-clickable":u.isEditable,color:_,withLeftBorder:!0,onClick:C=>d(C,v)},e.createSlots({default:e.withCtx(()=>[e.createElementVNode("div",Qv,[e.createVNode(ne,{id:u.id,class:"ao-mapping-card-project-phase__title",title:u.name||"",level:4,"is-editable":u.isEditable,"onUpdate:title":n},null,8,["id","title","is-editable"]),s.value?(e.openBlock(),e.createElementBlock("span",Jv," ("+e.toDisplayString(s.value)+")",1)):e.createCommentVNode("",!0)])]),footer:e.withCtx(()=>[e.createElementVNode("div",ef,[r.value?(e.openBlock(),e.createElementBlock("div",tf,[e.createElementVNode("div",af,[e.createVNode(Q,{name:"MountainFlagOutlineRounded",size:"sm"}),e.createElementVNode("span",of,e.toDisplayString(l.value)+" / "+e.toDisplayString(r.value),1)]),e.createVNode(Na,{percentages:i.value,class:"ao-mapping-card-project-phase__progress",color:p.value},null,8,["percentages","color"]),u.$slots.secondary?(e.openBlock(),e.createElementBlock("div",nf,[e.renderSlot(u.$slots,"secondary")])):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(["ao-mapping-card-project-phase__footer-row",c.value?"":"ao-mapping-card-project-phase__no_deadline"])},[u.isEditable?e.withDirectives((e.openBlock(),e.createElementBlock("input",{key:0,"onUpdate:modelValue":m[1]||(m[1]=C=>c.value=C),class:"ao-mapping-card-project-phase__deadline ao-mapping-card-project-phase__deadline--input",type:"date"},null,512)),[[e.vModelText,c.value,void 0,{lazy:!0}]]):e.createCommentVNode("",!0),e.createElementVNode("span",sf,e.toDisplayString(e.unref(_a)(u.deadline)),1)],2)])]),_:2},[u.isEditable?{name:"header",fn:e.withCtx(()=>[e.createElementVNode("div",Xv,[e.createVNode(K,{class:"ao-mapping-card-project-phase__archive",color:"primary",variant:"ghost","icon-name":"ArchiveOutlineRounded",size:"sm","icon-position":"start",corners:"round",label:u.active?u.$t("archive"):u.$t("unarchive"),onClick:m[0]||(m[0]=e.withModifiers(()=>u.active?u.$emit("archivePhase",{id:u.id}):u.$emit("unarchivePhase",{id:u.id}),["stop"]))},null,8,["label"])])]),key:"0"}:void 0]),1032,["is-clickable","color","onClick"])]),_:3},8,["color"]))}});const rf={class:"ao-project-phase"},cf={key:0,class:"ao-project-phase__drag ao-card__drag"},df={key:1,class:"ao-project-phase__col-phase"},uf={key:2,class:"ao-mapping-project-phase__col-phase"},pf={key:0,class:"ao-project-phase__col-milestones"},mf={class:"ao-project-phase__milestones-list-footer"},vf=e.defineComponent({__name:"AoProjectPhase",props:{phase:{},closedStatus:{},users:{},isEditable:{type:Boolean},readonly:{type:Boolean}},emits:["addMilestone","updateMilestone","archiveMilestone","unarchiveMilestone","updatePhase","archivePhase","unarchivePhase"],setup(a,{emit:t}){const o=a,{t:n}=Ye();e.watch(()=>o.phase.milestones,(y,f)=>{Me(y,f)});const s=y=>{t("updatePhase",{id:o.phase.id,name:y})},r=y=>{t("updatePhase",{id:o.phase.id,deadline:y})},l=y=>{t("updatePhase",y)},i=e.computed(()=>o.phase.milestones.map(y=>Q0(y,o.closedStatus))),c=y=>{const{name:f,rank:B}=ot(i.value??[],"milestone",n);t("addMilestone",{name:f,rank:B,phaseId:y})},p=y=>{t("updateMilestone",y)},d=y=>{t("archiveMilestone",y)},u=y=>{t("unarchiveMilestone",y)},m=y=>{t("archivePhase",y)},v=y=>{t("unarchivePhase",y)},_=y=>{"added"in y?t("updateMilestone",{id:y.added.element.id,phaseId:o.phase.id,rank:pt(i.value,y.added.newIndex)}):"removed"in y||"moved"in y&&t("updateMilestone",{id:y.moved.element.id,rank:pt(i.value,y.moved.newIndex)})},C=Rt.useRoute(),h=e.computed(()=>C.path.includes("/mapping")),b=e.computed(()=>{var y;return o.phase.id!==((y=C.params)==null?void 0:y.phaseId)?{backgroundColor:"var(--ao-color-sheet)"}:o.phase.color?{backgroundColor:e3(o.phase.color)}:{backgroundColor:"var(--ao-color-primary-lightest)"}});return(y,f)=>(e.openBlock(),e.createElementBlock("li",rf,[e.createElementVNode("div",{class:"ao-project-phases__draggable-card",style:e.normalizeStyle(b.value)},[y.isEditable?(e.openBlock(),e.createElementBlock("div",cf,[e.createVNode(Q,{name:"DragIndicator",class:"ao-project-phase__drag-handle"})])):e.createCommentVNode("",!0),h.value?(e.openBlock(),e.createElementBlock("div",uf,[e.createVNode(lf,{id:y.phase.id,milestones:i.value,name:y.phase.name,deadline:y.phase.deadline,active:y.phase.active,"is-editable":y.isEditable,color:y.phase.color,"onUpdate:deadline":r,"onUpdate:title":s,onArchivePhase:m,onUnarchivePhase:v,onUpdatePhase:l},null,8,["id","milestones","name","deadline","active","is-editable","color"])])):(e.openBlock(),e.createElementBlock("div",df,[e.createVNode(Iv,{id:y.phase.id,milestones:i.value,name:y.phase.name,deadline:y.phase.deadline,active:y.phase.active,"is-editable":y.isEditable,color:y.phase.color,"onUpdate:deadline":r,"onUpdate:title":s,onArchivePhase:m,onUnarchivePhase:v,onUpdatePhase:l},null,8,["id","milestones","name","deadline","active","is-editable","color"])]))],4),h.value?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",pf,[e.createElementVNode("div",{class:"ao-project-phase__milestones",style:e.normalizeStyle(b.value)},[e.createVNode(e.unref(xe),e.mergeProps({class:"ao-project-phase__milestones-list",list:i.value,disabled:y.readonly||!y.isEditable,"item-key":"id",group:"kanban"},y.$attrs,{onChange:_}),{item:e.withCtx(({element:B})=>{var M;return[e.createVNode(Gv,{id:B.id,name:B.name,color:B.color,"phase-color":y.phase.color,activities:B.activities,deadline:B.deadline,active:B.active,"is-editable":!y.readonly&&y.isEditable,"is-draggable":!y.readonly&&y.isEditable,"closed-status":y.closedStatus,"is-selected":B.id===((M=y.$route.params)==null?void 0:M.milestoneId),assignee:B.assignee,important:B.important,readonly:y.readonly,class:e.normalizeClass(["ao-project-phase__milestone"]),onClick:E=>!y.readonly&&y.$router.push({name:e.unref(oe).milestone,params:{phaseId:y.phase.id,milestoneId:B.id}}),onUpdateMilestone:p,onArchiveMilestone:d,onUnarchiveMilestone:u},null,8,["id","name","color","phase-color","activities","deadline","active","is-editable","is-draggable","closed-status","is-selected","assignee","important","readonly","onClick"])]}),_:1},16,["list","disabled"]),e.createElementVNode("div",mf,[y.isEditable?(e.openBlock(),e.createBlock(We,{key:0,label:y.$t("project.milestone.add"),class:"ao-project-phase__milestone-add","icon-name":"Add",onClick:f[0]||(f[0]=()=>c(y.phase.id))},null,8,["label"])):e.createCommentVNode("",!0)])],4)]))]))}});const ff={class:"ao-project__phases"},hf={key:0,class:"ao-project-phase__phases-list-footer"},Cf=e.createElementVNode("div",{class:"ao-project-phase__empty_drag"},null,-1),gf={class:"ao-project-phase__col-phase"},_f=e.createElementVNode("div",{class:"ao-project-phase__col-milestones"},null,-1),ko=e.defineComponent({__name:"AoProjectPhases",props:{phases:{},closedStatus:{},isEditable:{type:Boolean},users:{},readonly:{type:Boolean}},emits:["addMilestone","updateMilestone","archiveMilestone","unarchiveMilestone","addPhase","updatePhase","archivePhase","unarchivePhase"],setup(a,{emit:t}){const o=a;e.watch(()=>o.phases,(m,v)=>{Me(m,v)});const n=m=>{t("addMilestone",m)},s=m=>{t("updateMilestone",m)},r=m=>{t("archiveMilestone",m)},l=m=>{t("unarchiveMilestone",m)},i=m=>{t("archivePhase",m)},c=m=>{t("unarchivePhase",m)},p=m=>{if(m.moved){const v=zt(m,o.phases??[]);t("updatePhase",{id:m.moved.element.id,rank:v})}},d=m=>{t("updatePhase",m)},u=m=>{t("addPhase",m)};return(m,v)=>(e.openBlock(),e.createElementBlock("div",ff,[e.createVNode(e.unref(xe),{class:"ao-project-phase__phases-list","model-value":m.phases,"item-key":"id",handle:".ao-card__drag",onChange:p},{item:e.withCtx(({element:_})=>[e.createVNode(vf,{phase:_,"is-editable":!m.readonly&&m.isEditable,"closed-status":m.closedStatus,users:m.users,readonly:m.readonly,onAddMilestone:n,onUpdateMilestone:s,onArchiveMilestone:r,onUnarchiveMilestone:l,onUpdatePhase:d,onArchivePhase:i,onUnarchivePhase:c},null,8,["phase","is-editable","closed-status","users","readonly"])]),_:1},8,["model-value"]),m.isEditable?(e.openBlock(),e.createElementBlock("div",hf,[Cf,e.createElementVNode("div",gf,[e.createVNode(We,{label:m.$t("project.phases.add"),"icon-name":"Add",class:"ao-project-phase__add-phase",onClick:u},null,8,["label"])]),_f])):e.createCommentVNode("",!0)]))}});const yf=["onSubmit"],bf={class:"ao-add-template-modal__form-body"},kf={class:"field__row"},wf={class:"ao-add-template-modal__form-footer"},jn=e.defineComponent({__name:"AoAddTemplateModal",props:{projectId:{},templates:{}},emits:["apply"],setup(a,{emit:t}){const o=a,n=e.computed(()=>o.templates.map(i=>({value:i.id,label:i.name}))),s=e.ref(null),r=i=>{s.value=i},l=()=>{s.value&&t("apply",s.value,o.projectId)};return(i,c)=>(e.openBlock(),e.createBlock(ya,{size:"sm"},{header:e.withCtx(()=>[e.createVNode(ne,{title:i.$t("project.template.apply.title"),level:3},null,8,["title"])]),default:e.withCtx(()=>[e.createElementVNode("form",{class:"ao-add-template-modal__form",onSubmit:e.withModifiers(l,["prevent"])},[e.createElementVNode("p",null,e.toDisplayString(i.$t("project.template.apply.notice")),1),e.createElementVNode("div",bf,[e.createElementVNode("div",kf,[e.createVNode(re,{value:s.value,options:n.value,detached:!0,onChange:r},null,8,["value","options"])])]),e.createElementVNode("footer",wf,[e.createVNode(K,{label:i.$t("project.template.apply.label"),type:"submit",color:"primary",variant:"solid",onClick:l},null,8,["label"])])],40,yf)]),_:1}))}});const $f=["onSubmit"],Ef={class:"ao-save-template-modal__form-body"},Bf={class:"field__row"},Vf={class:"ao-field ao-field--inline"},Nf={class:"ao-field__label"},Sf={class:"ao-save-template-modal__phases"},Mf={class:"ao-field__label"},Af={class:"ao-save-template-modal__phases-list"},Tf=["value"],Of={class:"ao-save-template-modal__form-footer"},Fn=e.defineComponent({__name:"AoSaveTemplateModal",props:{phases:{}},emits:["save"],setup(a,{emit:t}){const o=a,n=e.ref(""),s=e.ref([]);e.onMounted(()=>{s.value=o.phases.map(l=>l.id)});const r=()=>{n.value&&t("save",n.value,s.value)};return(l,i)=>(e.openBlock(),e.createBlock(ya,{size:"sm"},{header:e.withCtx(()=>[e.createVNode(ne,{title:l.$t("project.template.save.title"),level:3},null,8,["title"])]),default:e.withCtx(()=>[e.createElementVNode("form",{class:"ao-save-template-modal__form",onSubmit:e.withModifiers(r,["prevent"])},[e.createElementVNode("div",Ef,[e.createElementVNode("div",Bf,[e.createElementVNode("label",Vf,[e.createElementVNode("span",Nf,e.toDisplayString(l.$t("project.template.name.label"))+": ",1),e.withDirectives(e.createElementVNode("input",{"onUpdate:modelValue":i[0]||(i[0]=c=>n.value=c),type:"text"},null,512),[[e.vModelText,n.value]])])]),e.createElementVNode("div",Sf,[e.createElementVNode("div",Mf,e.toDisplayString(l.$t("project.template.phases.label")),1),e.createElementVNode("div",Af,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.phases,c=>(e.openBlock(),e.createElementBlock("label",{class:"ao-field ao-field--checkbox",key:c.id},[e.withDirectives(e.createElementVNode("input",{type:"checkbox",value:c.id,"onUpdate:modelValue":i[1]||(i[1]=p=>s.value=p)},null,8,Tf),[[e.vModelCheckbox,s.value]]),e.createElementVNode("span",null,e.toDisplayString(c.name),1)]))),128))])])]),e.createElementVNode("footer",Of,[e.createVNode(K,{label:l.$t("project.template.save.label"),type:"submit",color:"primary",variant:"solid",onClick:r},null,8,["label"])])],40,$f)]),_:1}))}});const If=e.defineComponent({props:{modelValue:{type:[String,Number],required:!0},tabs:{type:Array,required:!0}},emits:["update:modelValue"],methods:{selectTab(a){this.$emit("update:modelValue",a)}}});const Lf={class:"tabbar-wrapper"},Df=["onClick"];function Pf(a,t,o,n,s,r){return e.openBlock(),e.createElementBlock("div",Lf,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.tabs,l=>(e.openBlock(),e.createElementBlock("button",{key:l.value,class:e.normalizeClass(["tab-button",{"tab-button--active":l.value===a.modelValue}]),type:"button",onClick:i=>a.selectTab(l.value)},e.toDisplayString(l.label),11,Df))),128))])}const wo=L(If,[["render",Pf],["__scopeId","data-v-ff4e3297"]]),Hf={class:"ao-project"},Rf={class:"ao-project__body"},jf=e.defineComponent({__name:"AoProjectOverviewProject",props:{project:{},phases:{},closedStatus:{},users:{},userId:{},templates:{},isTaskCheckable:{type:Function},statuses:{},activityTypes:{},isEditable:{type:[Boolean,String]},showsArchived:{type:Boolean},attachmentEnabled:{type:Boolean}},emits:["addPhase","updatePhase","archivePhase","unarchivePhase","addMilestone","updateMilestone","archiveMilestone","unarchiveMilestone","addActivity","update:activity","archiveActivity","copyPhaseToTemplate","unarchiveActivity","addSubtask","updateSubtask","deleteSubtask","addFiles","removeFile","addComment","updateComment","removeComment","applyTemplate","saveTemplate","update:showsArchived"],setup(a,{emit:t}){const o=a,{t:n}=Ye(),s=e.computed(()=>o.phases.flatMap($=>$.milestones)),r=()=>{const{name:$,rank:k}=ot(o.phases,"phase",n);t("addPhase",{name:$,rank:k,projectId:o.project.id})},l=$=>{t("updatePhase",$)},i=$=>{t("archivePhase",$)},c=$=>{t("unarchivePhase",$)},p=$=>{t("copyPhaseToTemplate",$)},d=$=>{t("addMilestone",$)},u=$=>{t("updateMilestone",$)},m=$=>{t("archiveMilestone",$)},v=$=>{t("unarchiveMilestone",$)},_=$=>{t("addActivity",$)},C=$=>{t("update:activity",$)},h=$=>{t("archiveActivity",$)},b=$=>{t("unarchiveActivity",$)},y=$=>{t("addSubtask",$)},f=$=>{t("updateSubtask",$)},B=$=>{t("deleteSubtask",$)},M=e.computed(()=>s.value.flatMap($=>$.activities)),E=$=>{t("addFiles",$)},I=$=>{t("removeFile",$)},P=$=>{t("addComment",$)},R=$=>{t("updateComment",$)},F=$=>{t("removeComment",$)},z=e.ref(!1),T=e.ref(!1),j=($,k)=>{t("applyTemplate",{templateId:$,projectId:k}),z.value=!1},Y=($,k)=>{var S;const O=(S=o.templates)==null?void 0:S.at(-1),g=O?se.LexoRank.parse(O.rank).genNext():se.LexoRank.middle();t("saveTemplate",{templateName:$,rank:g.format(),phaseIds:k}),T.value=!1},Z=Rt.useRouter(),U=e.ref("overview"),V=[{label:"Overview",value:"overview"},{label:"Feed",value:"feed"},{label:"Mapping",value:"mapping"}];return e.watch(U,$=>{$==="feed"?(Z.push({name:oe.feed}),console.log("Navigating to feed...")):$==="overview"?(Z.push({name:oe.project}),console.log("Navigating to feed...")):$==="mapping"&&(Z.push({name:oe.mapping}),console.log("Navigating to feed..."))}),($,k)=>{const O=e.resolveComponent("RouterView");return e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createElementVNode("div",e.mergeProps({class:"ao-project-overview"},$.$attrs),[e.createElementVNode("div",Hf,[e.createVNode(Zt,null,{primary:e.withCtx(()=>[e.createVNode(wo,{tabs:V,modelValue:U.value,"onUpdate:modelValue":k[0]||(k[0]=g=>U.value=g)},null,8,["modelValue"]),e.createVNode(K,{class:"ao-feed__show-archived",size:"sm","icon-name":$.showsArchived?"CheckBoxOutlineRounded":"CheckBoxOutlineBlank","icon-position":"start",color:"primary",variant:"ghost",label:$.$t("feed.filters.showsArchived.label"),role:"checkbox","aria-checked":$.showsArchived,onClick:k[1]||(k[1]=g=>$.$emit("update:showsArchived",!$.showsArchived))},null,8,["icon-name","label","aria-checked"])]),secondary:e.withCtx(()=>[$.isEditable===!0?(e.openBlock(),e.createBlock(K,{key:0,class:"ao-project-overview__save-as-template",color:"primary",label:$.$t("project.template.save.label"),onClick:k[2]||(k[2]=g=>T.value=!0)},null,8,["label"])):e.createCommentVNode("",!0),$.isEditable===!0?(e.openBlock(),e.createBlock(K,{key:1,class:"ao-project-overview__add-template",color:"primary",label:$.$t("project.template.apply.label"),onClick:k[3]||(k[3]=g=>z.value=!0)},null,8,["label"])):e.createCommentVNode("",!0)]),_:1}),e.createElementVNode("div",Rf,[e.createVNode(ko,{phases:$.phases,"closed-status":$.closedStatus,"is-editable":$.isEditable===!0,users:$.users,onAddMilestone:d,onUpdateMilestone:u,onArchiveMilestone:m,onUnarchiveMilestone:v,onAddPhase:r,onUpdatePhase:l,onArchivePhase:i,onUnarchivePhase:c,onCopyPhaseToTemplate:p},null,8,["phases","closed-status","is-editable","users"])])]),e.createVNode(O,{class:"ao-project__sidebar",phases:$.phases,"project-id":$.project.id,"project-name":$.project.name,users:$.users,"is-editable":$.isEditable===!0,"closed-status":$.closedStatus,onClose:k[4]||(k[4]=g=>$.$router.push({name:e.unref(oe).project})),onUpdateMilestone:u,onAddActivity:_,onUpdateActivity:C,onArchiveActivity:h,onUnarchiveActivity:b},null,8,["phases","project-id","project-name","users","is-editable","closed-status"]),(e.openBlock(),e.createBlock(e.Teleport,{to:"body"},[e.createVNode(O,{name:"modal",activities:M.value,"is-task-checkable":$.isTaskCheckable,statuses:$.statuses,"activity-types":$.activityTypes,phases:$.phases,project:$.project,users:$.users,"user-id":$.userId,"is-editable":$.isEditable,"attachment-enabled":$.attachmentEnabled,"onUpdate:activity":C,onAddSubtask:y,onUpdateSubtask:f,onDeleteSubtask:B,onAddFiles:E,onRemoveFile:I,onAddComment:P,onUpdateComment:R,onRemoveComment:F},{default:e.withCtx(({Component:g})=>[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(g),null,{default:e.withCtx(S=>[e.renderSlot($.$slots,"activityDetailsBody",e.normalizeProps(e.guardReactiveProps(S)))]),_:2},1024))]),_:3},8,["activities","is-task-checkable","statuses","activity-types","phases","project","users","user-id","is-editable","attachment-enabled"])]))],16),(e.openBlock(),e.createBlock(e.Teleport,{to:"body"},[T.value?(e.openBlock(),e.createBlock(Fn,{key:0,phases:$.phases,onClose:k[5]||(k[5]=g=>T.value=!1),onSave:Y},null,8,["phases"])):e.createCommentVNode("",!0),z.value?(e.openBlock(),e.createBlock(jn,{key:1,"project-id":$.project.id,templates:$.templates,onClose:k[6]||(k[6]=g=>z.value=!1),onApply:j},null,8,["project-id","templates"])):e.createCommentVNode("",!0)]))],64)}}});const Ff={class:"ao-card-feed__header"},Uf={key:1,class:"ao-card-feed__header-secondary ao-card-feed__header-icons"},zf={key:2,class:"ao-card-feed__header-secondary ao-card-feed__secondary"},Zf={class:"ao-card-feed__body"},xf={key:0,class:"ao-card-feed__breadcrumbs"},Wf={class:e.normalizeClass(["ao-card-feed__title-group"])},qf={class:"ao-card-feed__title-line"},Yf={key:0,class:"ao-card-feed__slug"},Kf={key:1,class:"ao-card-feed__deadline"},Gf={class:"ao-card-feed__footer"},Xf={class:"ao-card-feed__footer-row"},Qf={class:"ao-assignees"},Jf={key:0,class:"ao-assignee"},eh={key:0,class:"ao-card-feed__subitems"},th={key:0,class:"ao-card-feed__subitem"},ah={class:"ao-card-feed__subitem"},oh={key:1,class:"ao-card-feed__subitem"},nh={class:"ao-card-feed__subitem"},sh={class:"ao-card-feed__footer-row"},lh={key:0,class:"ao-card-feed__progress-wrapper"},rh={class:"ao-card-feed__subitem"},ih={class:"ao-card-feed__subitem"},$o=e.defineComponent({__name:"AoCardFeed",props:{id:{},name:{},projectName:{},projectColor:{},phaseName:{},milestoneName:{},milestoneColor:{},deadline:{},important:{type:Boolean},assignee:{},slug:{},comments:{},attachments:{},tasks:{},isEditable:{type:Boolean},isPrivate:{type:Boolean},isClosed:{type:Boolean},tagType:{}},emits:["removeAssignee","updateActivity"],setup(a,{emit:t}){const o=a,n=e.computed(()=>o.tagType==="milestone"?o.milestoneName:o.projectName),s=e.computed(()=>o.tagType==="milestone"?o.milestoneColor:o.projectColor),r=v=>{t("updateActivity",{id:o.id,name:v})},l=e.computed(()=>o.tagType==="milestone"&&o.phaseName?`${o.phaseName}`:o.phaseName&&o.milestoneName?`${o.phaseName} / ${o.milestoneName}`:""),i=e.computed(()=>o.assignee?[o.assignee]:[]),c=e.computed(()=>_a(o.deadline)),p=v=>{t("removeAssignee",v)},d=e.computed(()=>{var v;return(v=o.tasks)==null?void 0:v.length}),u=e.computed(()=>{var v;return(v=o.tasks)==null?void 0:v.filter(_=>_.isDone).length}),m=e.computed(()=>(u.value||0)/(d.value||1));return(v,_)=>(e.openBlock(),e.createBlock(Va,{class:e.normalizeClass(["ao-card-feed",{"ao-card-feed--closed":v.isClosed}]),"is-clickable":!0},{header:e.withCtx(()=>[e.createElementVNode("div",Ff,[n.value?(e.openBlock(),e.createBlock(Tt,{key:0,label:n.value,class:"ao-card-feed__project",variant:"solid",color:v.projectColor?void 0:"primary","raw-color":s.value},null,8,["label","color","raw-color"])):e.createCommentVNode("",!0),v.isPrivate||v.important||v.isClosed?(e.openBlock(),e.createElementBlock("div",Uf,[v.isPrivate?(e.openBlock(),e.createBlock(Q,{key:0,name:"Lock",class:"ao-card-feed__warning",size:"sm"})):e.createCommentVNode("",!0),v.important?(e.openBlock(),e.createBlock(Q,{key:1,name:"FlagRounded",class:"ao-card-feed__important",size:"sm"})):e.createCommentVNode("",!0),v.isClosed?(e.openBlock(),e.createBlock(Q,{key:2,name:"CheckSmallRounded",class:"ao-card-feed__closed"})):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),v.$slots.secondary?(e.openBlock(),e.createElementBlock("div",zf,[e.renderSlot(v.$slots,"secondary")])):e.createCommentVNode("",!0)])]),default:e.withCtx(()=>[e.createElementVNode("div",Zf,[l.value?(e.openBlock(),e.createElementBlock("span",xf,e.toDisplayString(l.value),1)):e.createCommentVNode("",!0),e.createElementVNode("div",Wf,[e.createElementVNode("div",qf,[v.slug?(e.openBlock(),e.createElementBlock("span",Yf,e.toDisplayString(v.slug)+": ",1)):e.createCommentVNode("",!0),e.createVNode(ne,{id:v.id,title:v.name,level:5,"is-editable":v.isEditable,"onUpdate:title":r,class:"ao-card-feed__title-inline"},null,8,["id","title","is-editable"])])]),v.deadline?(e.openBlock(),e.createElementBlock("span",Kf,e.toDisplayString(c.value),1)):e.createCommentVNode("",!0)])]),footer:e.withCtx(()=>[e.createElementVNode("div",Gf,[e.createElementVNode("div",Xf,[e.createElementVNode("ul",Qf,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.value,C=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:C.id},[C?(e.openBlock(),e.createElementBlock("li",Jf,[e.createVNode(ke,{"user-name":e.unref(bn)(C),"avatar-url":C.avatarUrl,"is-closable":!0,onClose:()=>p(C.id)},null,8,["user-name","avatar-url","onClose"])])):e.createCommentVNode("",!0)],64))),128))]),v.comments||v.attachments?(e.openBlock(),e.createElementBlock("ul",eh,[v.comments?(e.openBlock(),e.createElementBlock("li",th,[e.createVNode(Q,{name:"ChatOutline",size:"sm"}),e.createElementVNode("span",ah,e.toDisplayString(v.comments),1)])):e.createCommentVNode("",!0),v.attachments?(e.openBlock(),e.createElementBlock("li",oh,[e.createVNode(Q,{name:"AttachFileRounded",size:"sm"}),e.createElementVNode("span",nh,e.toDisplayString(v.attachments),1)])):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)]),e.createElementVNode("div",sh,[v.tasks&&v.tasks.length?(e.openBlock(),e.createElementBlock("div",lh,[e.createElementVNode("div",rh,[e.createVNode(Q,{name:"SelectCheckBox",size:"sm"}),e.createElementVNode("span",ih,e.toDisplayString(u.value)+" / "+e.toDisplayString(d.value),1)]),e.createVNode(Na,{percentages:m.value,class:"ao-card-feed__progress"},null,8,["percentages"])])):e.createCommentVNode("",!0)])])]),_:3},8,["class"]))}});const ch={class:"ao-project-milestone"},dh={class:"ao-project-milestone__header"},uh={class:"ao-project-milestone__header_line"},ph={class:"ao-project-milestone__header_line"},mh={class:"ao-project-milestone__title"},vh={key:0,class:"ao-fieldset ao-milestone__fieldset"},fh={class:"ao-field__row ao-milestone__field-row"},hh={class:"ao-field ao-field--inline"},Ch={class:"ao-field__row ao-milestone__field-row"},gh={class:"ao-field ao-milestone__field-multiselect"},_h=["onClick"],yh={class:"ao-project-milestone__body"},bh={key:0,class:"ao-project-milestone__footer"},Qo=e.defineComponent({__name:"AoProjectOverviewMilestoneDetails",props:{milestoneId:{},users:{},projectId:{},phases:{},phaseId:{},isEditable:{type:Boolean},closedStatus:{}},emits:["close","addActivity","updateMilestone","updateActivity","archiveActivity","unarchiveActivity"],setup(a,{emit:t}){const o=a,{t:n}=Ye(),s=e.computed(()=>{var f;return(f=o.phases)==null?void 0:f.find(B=>B.id===o.phaseId)}),r=e.computed(()=>{var f;return(f=o.phases)==null?void 0:f.flatMap(B=>B.milestones)}),l=e.computed(()=>{var f;return(f=r.value)==null?void 0:f.find(B=>B.id===o.milestoneId)}),i=e.computed(()=>{var f;return(f=l.value)==null?void 0:f.activities});e.watch(i,(f,B)=>{Me(f,B)});const c=f=>{t("close",f)},p=()=>{const{name:f,rank:B}=ot(i.value??[],"activity",n);t("addActivity",{milestoneId:o.milestoneId,name:f,rank:B,projectId:o.projectId})},d=f=>{t("updateActivity",f)},u=f=>{i.value&&"moved"in f&&t("updateActivity",{id:f.moved.element.id,rank:pt(i.value,f.moved.newIndex)})},m=e.computed({get:()=>{var f;return(f=l.value)==null?void 0:f.color},set:f=>{l.value&&t("updateMilestone",{id:l.value.id,color:f})}}),v=e.computed({get:()=>{var f;return((f=l==null?void 0:l.value)==null?void 0:f.deadline)??""},set:f=>{l.value&&t("updateMilestone",{id:l.value.id,deadline:f!=null&&f.length?f:null})}}),_=f=>o.closedStatus?Qa(f,o.closedStatus):!1,C=e.computed(()=>{var f;return((f=o.users)==null?void 0:f.map(B=>({label:`${B.firstName} ${B.lastName}`,value:B.id,avatar:B.avatarUrl})))||[]}),h=e.computed({get(){var f,B;return(B=(f=l.value)==null?void 0:f.assignee)!=null&&B.id?[l.value.assignee.id]:[]},set(f){t("updateMilestone",{id:o.milestoneId,assigneeId:f[0]??null})}}),b=e.computed({get(){var f;return((f=l.value)==null?void 0:f.important)??!1},set(f){t("updateMilestone",{id:o.milestoneId,important:f})}}),y=(f,B)=>{const M=f.currentTarget;M instanceof HTMLElement&&B(M)};return(f,B)=>{var M;return e.openBlock(),e.createElementBlock("div",ch,[e.createElementVNode("header",dh,[e.createElementVNode("div",uh,[e.createVNode(K,{"icon-name":"CloseRounded",variant:"ghost",size:"sm",class:"ao-milestone__close",onClick:c})]),e.createElementVNode("div",ph,[e.createElementVNode("div",mh,[e.createVNode(ne,{title:((M=l.value)==null?void 0:M.name)||f.milestoneId,level:5},null,8,["title"]),e.createVNode(qa,{modelValue:b.value,"onUpdate:modelValue":B[0]||(B[0]=E=>b.value=E),modelModifiers:{lazy:!0},disabled:!f.isEditable,class:"ao-milestone__important",color:"danger",label:f.$t("activity.important.label"),"icon-name":"FlagRounded",variant:"ghost",size:"sm"},null,8,["modelValue","disabled","label"])])]),l.value?(e.openBlock(),e.createElementBlock("div",vh,[e.createElementVNode("div",fh,[e.createElementVNode("label",hh,[e.withDirectives(e.createElementVNode("input",{"onUpdate:modelValue":B[1]||(B[1]=E=>v.value=E),class:"ao-milestone__field ao-milestone__date-field",type:"date"},null,512),[[e.vModelText,v.value,void 0,{lazy:!0}]])])]),e.createElementVNode("div",Ch,[e.createElementVNode("label",gh,[e.createVNode(re,{modelValue:h.value,"onUpdate:modelValue":B[2]||(B[2]=E=>h.value=E),options:C.value,"close-on-select":!0,searchable:!0,max:1,class:"ao-milestone__field ao-milestone__multiselect",placeholder:f.$t("activity.filters.assignee.placeholder"),mode:"tags",disabled:!f.isEditable,caret:f.isEditable},{tag:e.withCtx(({option:E,handleTagRemove:I})=>[e.createVNode(ke,{"user-name":E.label,"avatar-url":E.avatar,"is-closable":!0,onClose:P=>I(E,P)},null,8,["user-name","avatar-url","onClose"])]),_:1},8,["modelValue","options","placeholder","disabled","caret"])])]),e.createVNode(bo,{color:m.value,"onUpdate:color":B[3]||(B[3]=E=>m.value=E)},{clickable:e.withCtx(({openPicker:E,bgColor:I})=>[e.createElementVNode("button",{style:e.normalizeStyle({background:I}),class:"color-button",onClick:P=>y(P,E)},null,12,_h)]),_:1},8,["color"])])):e.createCommentVNode("",!0)]),e.createElementVNode("div",yh,[e.createVNode(e.unref(xe),e.mergeProps({class:"ao-project-milestone__activities",list:i.value,disabled:!f.isEditable,"item-key":"id",group:"kanban"},f.$attrs,{onChange:u}),{item:e.withCtx(({element:E})=>{var I,P,R,F,z;return[e.createVNode($o,{id:E.id,name:E.name||E.id,"phase-name":(I=s.value)==null?void 0:I.name,"milestone-name":(P=l.value)==null?void 0:P.name,"milestone-color":(R=l.value)==null?void 0:R.color,deadline:E.deadline,important:E.important,users:f.users,assignee:E.assignee,slug:E.slug,comments:(F=E.comments)==null?void 0:F.length,attachments:(z=E.attachments)==null?void 0:z.length,tasks:E.tasks,"is-editable":f.isEditable,"is-private":E.private,"is-closed":_(E),onClick:T=>f.$router.push({name:e.unref(oe).activity,params:{milestoneId:f.milestoneId,activityId:E.id}}),onUpdateActivity:d,onRemoveAssignee:()=>d({id:E.id,assigneeId:null})},e.createSlots({_:2},[f.isEditable?{name:"secondary",fn:e.withCtx(()=>[f.isEditable&&E.active?(e.openBlock(),e.createBlock(K,{key:0,color:"primary",variant:"ghost","icon-name":"ArchiveOutlineRounded",size:"sm","icon-position":"start",corners:"round",label:f.$t("archive"),onClick:e.withModifiers(()=>f.$emit("archiveActivity",{id:E.id}),["stop"])},null,8,["label","onClick"])):e.createCommentVNode("",!0),f.isEditable&&!E.active?(e.openBlock(),e.createBlock(K,{key:1,color:"primary",variant:"ghost","icon-name":"ArchiveOutlineRounded",size:"sm","icon-position":"start",corners:"round",label:f.$t("feed.activity.unarchive"),onClick:e.withModifiers(()=>f.$emit("unarchiveActivity",{id:E.id}),["stop"])},null,8,["label","onClick"])):e.createCommentVNode("",!0)]),key:"0"}:void 0]),1032,["id","name","phase-name","milestone-name","milestone-color","deadline","important","users","assignee","slug","comments","attachments","tasks","is-editable","is-private","is-closed","onClick","onRemoveAssignee"])]}),_:1},16,["list","disabled"]),f.isEditable?(e.openBlock(),e.createElementBlock("div",bh,[e.createVNode(We,{"icon-name":"Add",label:f.$t("project.activity.add"),onClick:p},null,8,["label"])])):e.createCommentVNode("",!0)])])}}});const kh=e.defineComponent({__name:"AoProjectOverviewActivityDetails",props:{phaseId:{},milestoneId:{},activityId:{},activityTypes:{},activities:{},isTaskCheckable:{type:Function},statuses:{},phases:{},users:{},project:{},userId:{},isEditable:{type:Boolean},attachmentEnabled:{type:Boolean}},emits:["update:activity","addSubtask","updateSubtask","deleteSubtask","addFiles","removeFile","addComment","updateComment","removeComment"],setup(a,{emit:t}){const o=a,n=e.computed(()=>{var h;return(h=o.phases)==null?void 0:h.find(b=>b.id===o.phaseId)}),s=e.computed(()=>{var h;return(h=o.phases)==null?void 0:h.flatMap(b=>b.milestones)}),r=e.computed(()=>{var h;return(h=s.value)==null?void 0:h.find(b=>b.id===o.milestoneId)}),l=e.computed(()=>{var h;return(h=o.activities)==null?void 0:h.find(b=>b.id===o.activityId)}),i=h=>{t("update:activity",h)},c=h=>{t("addSubtask",h)},p=h=>{t("updateSubtask",h)},d=h=>{t("deleteSubtask",h)},u=h=>{t("addFiles",h)},m=h=>{t("removeFile",h)},v=h=>{t("addComment",h)},_=h=>{t("updateComment",h)},C=h=>{t("removeComment",h)};return(h,b)=>{var y,f;return l.value?(e.openBlock(),e.createBlock(po,{key:0,activity:l.value,"activity-types":h.activityTypes,"milestone-id":h.milestoneId,"template-activities":h.activities,"is-template":!1,users:h.users,"user-id":h.userId,"is-task-checkable":h.isTaskCheckable,statuses:h.statuses,breadcrumbs:`${(y=n.value)==null?void 0:y.name} / ${(f=r.value)==null?void 0:f.name}`,"is-editable":h.isEditable,"attachment-enabled":h.attachmentEnabled,projects:[h.project],onClose:h.$router.back,"onUpdate:activity":i,onAddSubtask:c,onUpdateSubtask:p,onDeleteSubtask:d,onAddFiles:u,onRemoveFile:m,onAddComment:v,onUpdateComment:_,onRemoveComment:C},{default:e.withCtx(B=>[e.renderSlot(h.$slots,"default",e.normalizeProps(e.guardReactiveProps(B)))]),_:3},8,["activity","activity-types","milestone-id","template-activities","users","user-id","is-task-checkable","statuses","breadcrumbs","is-editable","attachment-enabled","projects","onClose"])):e.createCommentVNode("",!0)}}}),wh={class:"ao-col-header"},$h=e.defineComponent({__name:"AoColHeader",props:{title:{},items:{}},setup(a){return(t,o)=>(e.openBlock(),e.createElementBlock("header",wh,[e.createVNode(ne,{title:t.title,class:"ao-col-header__title",level:4},null,8,["title"]),t.items?(e.openBlock(),e.createBlock(Tt,{key:0,label:t.items,class:"ao-col-header__items",variant:"solid",color:"primary"},null,8,["label"])):e.createCommentVNode("",!0)]))}});function Eh(a){return e.getCurrentScope()?(e.onScopeDispose(a),!0):!1}function ma(a){return typeof a=="function"?a():e.unref(a)}const Bh=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const Vh=a=>a!=null,At=()=>{};function Nh(a,t){function o(...n){return new Promise((s,r)=>{Promise.resolve(a(()=>t.apply(this,n),{fn:t,thisArg:this,args:n})).then(s).catch(r)})}return o}function Sh(a,t={}){let o,n,s=At;const r=i=>{clearTimeout(i),s(),s=At};return i=>{const c=ma(a),p=ma(t.maxWait);return o&&r(o),c<=0||p!==void 0&&p<=0?(n&&(r(n),n=null),Promise.resolve(i())):new Promise((d,u)=>{s=t.rejectOnCancel?u:d,p&&!n&&(n=setTimeout(()=>{o&&r(o),n=null,d(i())},p)),o=setTimeout(()=>{n&&r(n),n=null,d(i())},c)})}}function Mh(a,t=200,o={}){return Nh(Sh(t,o),a)}function Ua(a){var t;const o=ma(a);return(t=o==null?void 0:o.$el)!=null?t:o}const Ah=Bh?window:void 0;function Th(){const a=e.ref(!1),t=e.getCurrentInstance();return t&&e.onMounted(()=>{a.value=!0},t),a}function Oh(a){const t=Th();return e.computed(()=>(t.value,!!a()))}function Ih(a,t,o={}){const{root:n,rootMargin:s="0px",threshold:r=.1,window:l=Ah,immediate:i=!0}=o,c=Oh(()=>l&&"IntersectionObserver"in l),p=e.computed(()=>{const _=ma(a);return(Array.isArray(_)?_:[_]).map(Ua).filter(Vh)});let d=At;const u=e.ref(i),m=c.value?e.watch(()=>[p.value,Ua(n),u.value],([_,C])=>{if(d(),!u.value||!_.length)return;const h=new IntersectionObserver(t,{root:Ua(C),rootMargin:s,threshold:r});_.forEach(b=>b&&h.observe(b)),d=()=>{h.disconnect(),d=At}},{immediate:i,flush:"post"}):At,v=()=>{d(),m(),u.value=!1};return Eh(v),{isSupported:c,isActive:u,pause(){d(),u.value=!1},resume(){u.value=!0},stop:v}}const Lh={class:e.normalizeClass(["ao-list-kanban"])},Dh={class:"ao-list-kanban__header"},Ph={key:0,class:"ao-list-kanban__end ao-list-kanban__end--loading"},Hh={key:1,class:"ao-list-kanban__end"},Rh={key:0,class:"ao-list-kanban__no-more"},jh={key:1,class:"ao-list-kanban__divider"},Fh={key:1,class:"ao-list-kanban__footer"},Uh=e.defineComponent({__name:"AoListKanban",props:{list:{},status:{},users:{},userId:{},title:{},footerLabel:{},isLoading:{type:Boolean},hasMore:{type:Boolean},noMoreLabel:{},isEditable:{type:[Boolean,String]},tagType:{}},emits:["add","update:list","change:list","loadMore","selectActivity","archiveActivity","unarchiveActivity","updateActivity"],setup(a,{emit:t}){const o=a,n=e.ref(!1),s=e.ref(null);Ih(s,([{isIntersecting:d}])=>{n.value=d}),e.watch(n,d=>{d&&o.hasMore&&!o.isLoading&&t("loadMore")});const r=d=>{var u;return o.isEditable===!0?!0:o.userId&&o.isEditable==="only-own"?o.userId===((u=d.assignee)==null?void 0:u.id):!1},l=d=>{t("selectActivity",d)},i=d=>{t("updateActivity",d)},c=d=>{"added"in d?t("updateActivity",{id:d.added.element.id,statusId:o.status.id,rank:pt(o.list,d.added.newIndex)}):"removed"in d||"moved"in d&&t("updateActivity",{id:d.moved.element.id,rank:pt(o.list,d.moved.newIndex)})},p=e.ref(!1);return(d,u)=>(e.openBlock(),e.createElementBlock("div",Lh,[d.title||d.$slots.header?e.renderSlot(d.$slots,"header",{key:0},()=>{var m;return[e.createElementVNode("div",Dh,[d.title?(e.openBlock(),e.createBlock($h,{key:0,title:d.title,level:3,items:(m=d.list)==null?void 0:m.length},null,8,["title","items"])):e.createCommentVNode("",!0)])]}):e.createCommentVNode("",!0),e.createVNode(e.unref(xe),e.mergeProps({class:["ao-list-kanban__list",p.value?"ao-list-kanban__transition":void 0],list:d.list,"item-key":"id",group:"kanban","ghost-class":"ao-list-kanban__ghost",animation:"200"},d.$attrs,{draggable:".ao-list-draggable",disabled:!d.isEditable,onChange:c,onStart:u[0]||(u[0]=m=>p.value=!0),onEnd:u[1]||(u[1]=m=>p.value=!1),"component-data":{tag:"transition-group",name:"ao-list-kanban__transition"}}),{item:e.withCtx(({element:m})=>{var v,_,C,h,b,y,f,B,M;return[e.createVNode($o,{class:e.normalizeClass(r(m)?"ao-list-draggable":""),id:m.id,name:m.name,"project-name":(v=m.project)==null?void 0:v.name,"project-color":(_=m.project)==null?void 0:_.color,"phase-name":(h=(C=m.milestone)==null?void 0:C.phase)==null?void 0:h.name,"milestone-name":(b=m.milestone)==null?void 0:b.name,"milestone-color":(y=m.milestone)==null?void 0:y.color,deadline:m.deadline,rules:((f=m.rules)==null?void 0:f.length)||0,tasks:m.tasks,description:m.description,important:m.important,type:m.type,comments:(B=m.comments)==null?void 0:B.length,attachments:(M=m.attachments)==null?void 0:M.length,users:d.users,assignee:m.assignee,slug:m.slug,"is-editable":r(m),"is-private":m.private,"tag-type":d.tagType,onUpdateActivity:[E=>r(m)&&i(E),()=>r(m)&&i],onClick:()=>l(m.id),onRemoveAssignee:()=>r(m)&&i({id:m.id,assigneeId:null})},{secondary:e.withCtx(()=>[r(m)&&m.active?(e.openBlock(),e.createBlock(K,{key:0,color:"primary",variant:"ghost","icon-name":"ArchiveOutlineRounded",size:"sm","icon-position":"start",corners:"round",label:d.$t("feed.activity.archive"),onClick:e.withModifiers(()=>d.$emit("archiveActivity",{id:m.id}),["stop"])},null,8,["label","onClick"])):e.createCommentVNode("",!0),r(m)&&!m.active?(e.openBlock(),e.createBlock(K,{key:1,color:"primary",variant:"ghost","icon-name":"ArchiveOutlineRounded",size:"sm","icon-position":"start",corners:"round",label:d.$t("feed.activity.unarchive"),onClick:e.withModifiers(()=>d.$emit("unarchiveActivity",{id:m.id}),["stop"])},null,8,["label","onClick"])):e.createCommentVNode("",!0)]),_:2},1032,["class","id","name","project-name","project-color","phase-name","milestone-name","milestone-color","deadline","rules","tasks","description","important","type","comments","attachments","users","assignee","slug","is-editable","is-private","tag-type","onUpdateActivity","onClick","onRemoveAssignee"])]}),footer:e.withCtx(()=>[d.isLoading?(e.openBlock(),e.createElementBlock("div",Ph,[e.createVNode(Q,{name:"Loading"})])):d.hasMore?(e.openBlock(),e.createElementBlock("div",{key:2,ref_key:"scrollEnd",ref:s,class:"ao-list-kanban__end"},null,512)):(e.openBlock(),e.createElementBlock("div",Hh,[d.noMoreLabel?(e.openBlock(),e.createElementBlock("span",Rh,e.toDisplayString(d.noMoreLabel),1)):d.isEditable?(e.openBlock(),e.createElementBlock("span",jh)):e.createCommentVNode("",!0)]))]),_:1},16,["class","list","disabled"]),d.$slots.footer||d.footerLabel?(e.openBlock(),e.createElementBlock("div",Fh,[e.renderSlot(d.$slots,"footer",{},()=>[d.isEditable?(e.openBlock(),e.createBlock(We,{key:0,"icon-name":"AddBoxOutlineRounded",label:d.footerLabel,onClick:u[2]||(u[2]=m=>d.$emit("add"))},null,8,["label"])):e.createCommentVNode("",!0)])])):e.createCommentVNode("",!0)]))}});const zh={class:"ao-field ao-search-field"},Zh=["value","placeholder","onKeypress"],xh=e.defineComponent({__name:"AoSearchField",props:{modelValue:{},delay:{default:250},placeholder:{default:"Search"}},emits:["update:modelValue","clear"],setup(a,{emit:t}){const o=a,n=async l=>{const c=l.target.value;t("update:modelValue",c,l)},s=Mh(n,o.delay),r=l=>{t("clear",l)};return(l,i)=>(e.openBlock(),e.createElementBlock("div",zh,[e.createElementVNode("input",{value:l.modelValue,type:"text",class:"ao-field__input ao-search-field__input",placeholder:l.placeholder,onInput:i[0]||(i[0]=(...c)=>e.unref(s)&&e.unref(s)(...c)),onKeypress:e.withKeys(n,["enter"])},null,40,Zh),e.createVNode(Q,{name:"SearchRounded",class:e.normalizeClass(`ao-search-field__icon ao-search-field__action ${l.modelValue?"":"ao-search-field__action--visible"}`)},null,8,["class"]),e.createVNode(K,{"icon-name":"CloseRounded",size:"sm",color:"primary",corners:"round",class:e.normalizeClass(`ao-search-field__button ao-search-field__action ${l.modelValue?"ao-search-field__action--visible":""}`),onClick:r},null,8,["class"])]))}});const Wh={class:"ao-feed"},qh={class:"ao-feed__filters"},Yh={class:"ao-feed__body"},Un=e.defineComponent({__name:"AoFeed",props:{activities:{},statuses:{},project:{},projects:{},filters:{},activityTypes:{},users:{},userId:{},initialActivityId:{},initialActivitySlug:{},searchText:{default:""},showsArchivedActivities:{type:Boolean},showsOnlyImportant:{type:Boolean},showsOnlyNonAssigned:{type:Boolean},selectedActivity:{},isTaskCheckable:{type:Function,default:void 0},isEditable:{type:[Boolean,String]},attachmentEnabled:{type:Boolean,default:!0}},emits:["change:activities","addActivity","update:filters","selectActivity","update:activity","archiveActivity","unarchiveActivity","update:searchText","clear:searchText","update:showsArchivedActivities","update:showsOnlyImportant","update:showsOnlyNonAssigned","addSubtask","updateSubtask","deleteSubtask","addFiles","removeFile","addComment","updateComment","removeComment","toast"],setup(a,{emit:t}){const o=a,{t:n}=Ye();function s(k,O){t("toast",k,O)}const r=e.toRef(o,"activities"),l=async(k,O)=>{await t("selectActivity",k,O)},i=e.ref({}),c=e.ref(!1),p=e.ref(!1),d=e.computed(()=>o.project?"milestone":"project");e.watch([()=>o.statuses,()=>o.activities,()=>o.initialActivityId,()=>o.initialActivitySlug],async([k,O,g,S],[q,x])=>{i.value=Object.fromEntries(k.map(D=>[D.id,O.filter(N=>{var H;return((H=N.status)==null?void 0:H.id)===D.id})])),g&&!c.value?(l(g,null),c.value=!0):S&&!c.value&&(l(null,S),c.value=!0),p.value&&Me(O,x)},{immediate:!0});const u=e.computed(()=>{var k;return!o.selectedActivity||!o.selectedActivity.milestone?"":`${((k=o.selectedActivity.milestone.phase)==null?void 0:k.name)??""} / ${o.selectedActivity.milestone.name??""}`}),m=k=>{var x,D;const O=(x=o.activities)==null?void 0:x.at(-1),g=O?se.LexoRank.parse(O.rank).genNext():se.LexoRank.middle(),S=((D=o.activities)==null?void 0:D.length)??0,q={name:n("activity.defaultName",{idx:S+1}),rank:g.format(),statusId:k.id};o.filters.assigneeId.length>0&&(q.assigneeId=o.filters.assigneeId[0]),o.filters.projectId.length>0&&(q.projectId=o.filters.projectId[0]),o.filters.typeId.length>0&&(q.typeId=o.filters.typeId[0]),p.value=!0,t("addActivity",q)},v=(k,O)=>{p.value=!1,t("update:filters",{...o.filters,[k]:O})},_=e.computed(()=>o.project?[o.project]:o.projects??[]),C=e.computed(()=>_.value.map(k=>({value:k.id,label:k.name}))),h=e.computed(()=>{var k;return(k=o.activityTypes)==null?void 0:k.map(O=>({value:O.id,label:O.name}))}),b=e.computed(()=>o.users.map(k=>({value:k.id,label:`${k.firstName} ${k.lastName}`,avatar:k.avatarUrl}))),y=k=>{o.selectedActivity&&t("update:activity",k)},f=k=>{t("update:activity",k)},B=k=>{t("archiveActivity",k)},M=k=>{t("unarchiveActivity",k)},E=k=>{p.value=!1,t("update:searchText",k)},I=k=>{p.value=!1,t("clear:searchText",k)},P=k=>{o.selectedActivity&&t("addSubtask",k)},R=k=>{o.selectedActivity&&t("updateSubtask",k)},F=k=>{o.selectedActivity&&t("deleteSubtask",k)},z=k=>{t("addFiles",k)},T=k=>{t("removeFile",k)},j=k=>{o.selectedActivity&&t("addComment",{...k,activityId:o.selectedActivity.id})},Y=k=>{const{id:O}=o.selectedActivity||{};O&&t("updateComment",k)},Z=k=>{const{id:O}=o.selectedActivity||{};O&&t("removeComment",k)},U=Rt.useRouter(),V=e.ref("feed"),$=[{label:"Overview",value:"overview"},{label:"Feed",value:"feed"},{label:"Mapping",value:"mapping"}];return e.watch(V,k=>{k==="feed"?(U.push({name:oe.feed}),console.log("Navigating to feed...")):k==="overview"?(U.push({name:oe.project}),console.log("Navigating to feed...")):k==="mapping"&&(U.push({name:oe.mapping}),console.log("Navigating to feed..."))}),(k,O)=>{var g;return e.openBlock(),e.createElementBlock("div",Wh,[e.createVNode(Zt,null,{primary:e.withCtx(()=>[e.createElementVNode("div",qh,[e.createVNode(wo,{tabs:$,modelValue:V.value,"onUpdate:modelValue":O[0]||(O[0]=S=>V.value=S)},null,8,["modelValue"]),e.createVNode(xh,{"model-value":k.searchText,placeholder:k.$t("feed.search.placeholder"),class:"ao-feed__search","onUpdate:modelValue":E,onClear:I},null,8,["model-value","placeholder"]),o.project?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(re,{key:0,"model-value":k.filters[e.unref(Je).project],mode:"tags",options:C.value,"close-on-select":!1,searchable:!0,class:"ao-feed__filter ao-feed__filter__projects",placeholder:k.$t("feed.filters.project.placeholder"),"onUpdate:modelValue":O[1]||(O[1]=S=>v(e.unref(Je).project,S))},null,8,["model-value","options","placeholder"])),h.value?(e.openBlock(),e.createBlock(re,{key:1,"model-value":k.filters[e.unref(Je).type],mode:"tags",options:h.value,"close-on-select":!1,searchable:!0,class:"ao-feed__filter ao-feed__filter__types",placeholder:k.$t("feed.filters.activityType.placeholder"),"onUpdate:modelValue":O[2]||(O[2]=S=>v(e.unref(Je).type,S))},null,8,["model-value","options","placeholder"])):e.createCommentVNode("",!0),b.value.length?(e.openBlock(),e.createBlock(re,{key:2,"model-value":k.filters[e.unref(Je).assignee],mode:"tags",options:b.value,"close-on-select":!1,searchable:!0,class:"ao-feed__filter ao-feed__filter__assignees",placeholder:k.$t("feed.filters.assignee.placeholder"),"onUpdate:modelValue":O[3]||(O[3]=S=>v(e.unref(Je).assignee,S))},{tag:e.withCtx(({option:S,handleTagRemove:q})=>[e.createVNode(ke,{"user-name":S.label,"avatar-url":S.avatar,"is-closable":!0,onClose:x=>q(S,x)},null,8,["user-name","avatar-url","onClose"])]),_:1},8,["model-value","options","placeholder"])):e.createCommentVNode("",!0)]),e.createVNode(K,{class:"ao-feed__only-non-assigned",size:"sm","icon-name":k.showsOnlyNonAssigned?"CheckBoxOutlineRounded":"CheckBoxOutlineBlank","icon-position":"start",color:"primary",variant:"ghost",label:k.$t("feed.filters.showsOnlyNonAssigned.label"),role:"checkbox","aria-checked":k.showsOnlyNonAssigned,onClick:O[4]||(O[4]=S=>k.$emit("update:showsOnlyNonAssigned",!k.showsOnlyNonAssigned))},null,8,["icon-name","label","aria-checked"]),e.createVNode(K,{class:"ao-feed__only-important",size:"sm","icon-name":k.showsOnlyImportant?"CheckBoxOutlineRounded":"CheckBoxOutlineBlank","icon-position":"start",color:"primary",variant:"ghost",label:k.$t("feed.filters.showsOnlyImportant.label"),role:"checkbox","aria-checked":k.showsOnlyImportant,onClick:O[5]||(O[5]=S=>k.$emit("update:showsOnlyImportant",!k.showsOnlyImportant))},null,8,["icon-name","label","aria-checked"]),e.createVNode(K,{class:"ao-feed__show-archived",size:"sm","icon-name":k.showsArchivedActivities?"CheckBoxOutlineRounded":"CheckBoxOutlineBlank","icon-position":"start",color:"primary",variant:"ghost",label:k.$t("feed.filters.showsArchivedActivities.label"),role:"checkbox","aria-checked":k.showsArchivedActivities,onClick:O[6]||(O[6]=S=>k.$emit("update:showsArchivedActivities",!k.showsArchivedActivities))},null,8,["icon-name","label","aria-checked"])]),_:1}),e.createElementVNode("div",Yh,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(k.statuses,S=>(e.openBlock(),e.createBlock(Uh,{key:S.id,status:S,list:i.value[S.id],title:S.name,"footer-label":k.$t("feed.activity.add"),users:k.users,"user-id":k.userId,"is-editable":k.isEditable,tagType:d.value,onAdd:()=>m(S),onSelectActivity:l,onArchiveActivity:B,onUnarchiveActivity:M,onUpdateActivity:f},null,8,["status","list","title","footer-label","users","user-id","is-editable","tagType","onAdd"]))),128))]),(e.openBlock(),e.createBlock(e.Teleport,{to:"body"},[k.selectedActivity?(e.openBlock(),e.createBlock(po,{key:0,activity:k.selectedActivity,"activity-types":k.activityTypes,"milestone-id":(g=k.selectedActivity.milestone)==null?void 0:g.id,"template-activities":r.value,users:k.users,"user-id":k.userId,"is-task-checkable":k.isTaskCheckable,statuses:k.statuses,breadcrumbs:u.value,"is-editable":k.isEditable,"attachment-enabled":k.attachmentEnabled,projects:_.value,onClose:O[7]||(O[7]=()=>l(null,null)),"onUpdate:activity":y,onAddSubtask:P,onUpdateSubtask:R,onDeleteSubtask:F,onAddFiles:z,onRemoveFile:T,onAddComment:j,onUpdateComment:Y,onRemoveComment:Z,onToast:s},{default:e.withCtx(S=>[e.renderSlot(k.$slots,"activityDetailsBody",e.normalizeProps(e.guardReactiveProps(S)))]),_:3},8,["activity","activity-types","milestone-id","template-activities","users","user-id","is-task-checkable","statuses","breadcrumbs","is-editable","attachment-enabled","projects"])):e.createCommentVNode("",!0)]))])}}});const Kh={class:"ao-project-mapping"},Gh={class:"ao-project-mapping-mapping__body"},Xh={class:"ao-project-mapping-mapping__phases"},Qh={key:0,class:"ao-project-mapping-mapping__image-wrapper"},Jh=["src","alt"],e9=e.defineComponent({__name:"AoMapping",props:{project:{},phases:{},closedStatus:{},users:{},userId:{},templates:{},isTaskCheckable:{type:Function},statuses:{},activityTypes:{},isEditable:{type:[Boolean,String]},showsArchived:{type:Boolean},attachmentEnabled:{type:Boolean}},emits:["addPhase","updatePhase","archivePhase","unarchivePhase","copyPhaseToTemplate","applyTemplate","saveTemplate","update:showsArchived"],setup(a,{emit:t}){const o=a,{t:n}=Ye(),s=()=>{const{name:h,rank:b}=ot(o.phases,"phase",n);t("addPhase",{name:h,rank:b,projectId:o.project.id})},r=h=>{t("updatePhase",h)},l=h=>{t("archivePhase",h)},i=h=>{t("unarchivePhase",h)},c=h=>{t("copyPhaseToTemplate",h)},p=e.ref(!1),d=e.ref(!1),u=(h,b)=>{t("applyTemplate",{templateId:h,projectId:b}),p.value=!1},m=(h,b)=>{var B;const y=(B=o.templates)==null?void 0:B.at(-1),f=y?se.LexoRank.parse(y.rank).genNext():se.LexoRank.middle();t("saveTemplate",{templateName:h,rank:f.format(),phaseIds:b}),d.value=!1},v=Rt.useRouter(),_=e.ref("mapping"),C=[{label:"Overview",value:"overview"},{label:"Feed",value:"feed"},{label:"Mapping",value:"mapping"}];return e.watch(_,h=>{h==="feed"?(v.push({name:oe.feed}),console.log("Navigating to feed...")):h==="overview"?(v.push({name:oe.project}),console.log("Navigating to feed...")):h==="mapping"&&(v.push({name:oe.mapping}),console.log("Navigating to feed..."))}),(h,b)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createElementVNode("div",e.mergeProps({class:"ao-project-mapping-overview"},h.$attrs),[e.createElementVNode("div",Kh,[e.createVNode(Zt,null,{primary:e.withCtx(()=>[e.createVNode(wo,{modelValue:_.value,"onUpdate:modelValue":b[0]||(b[0]=y=>_.value=y),tabs:C},null,8,["modelValue"]),e.createVNode(K,{class:"ao-feed__show-archived",size:"sm","icon-name":h.showsArchived?"CheckBoxOutlineRounded":"CheckBoxOutlineBlank","icon-position":"start",color:"primary",variant:"ghost",label:h.$t("feed.filters.showsArchived.label"),role:"checkbox","aria-checked":h.showsArchived,onClick:b[1]||(b[1]=y=>h.$emit("update:showsArchived",!h.showsArchived))},null,8,["icon-name","label","aria-checked"])]),secondary:e.withCtx(()=>[h.isEditable===!0?(e.openBlock(),e.createBlock(K,{key:0,class:"ao-project-mapping-overview__save-as-template",color:"primary",label:h.$t("project.template.save.label"),onClick:b[2]||(b[2]=y=>d.value=!0)},null,8,["label"])):e.createCommentVNode("",!0),h.isEditable===!0?(e.openBlock(),e.createBlock(K,{key:1,class:"ao-project-mapping-overview__add-template",color:"primary",label:h.$t("project.template.apply.label"),onClick:b[3]||(b[3]=y=>p.value=!0)},null,8,["label"])):e.createCommentVNode("",!0)]),_:1}),e.createElementVNode("div",Gh,[e.createElementVNode("div",Xh,[e.createVNode(ko,{phases:h.phases,"closed-status":h.closedStatus,"is-editable":h.isEditable===!0,users:h.users,onAddPhase:s,onUpdatePhase:r,onArchivePhase:l,onUnarchivePhase:i,onCopyPhaseToTemplate:c},null,8,["phases","closed-status","is-editable","users"])]),h.project.architectureImage?(e.openBlock(),e.createElementBlock("div",Qh,[e.createElementVNode("img",{class:"architecture-image",src:h.project.architectureImage.url,alt:e.unref(n)("architectureImage.alt")},null,8,Jh)])):e.createCommentVNode("",!0)])])],16),(e.openBlock(),e.createBlock(e.Teleport,{to:"body"},[d.value?(e.openBlock(),e.createBlock(Fn,{key:0,phases:h.phases,onClose:b[4]||(b[4]=y=>d.value=!1),onSave:m},null,8,["phases"])):e.createCommentVNode("",!0),p.value?(e.openBlock(),e.createBlock(jn,{key:1,"project-id":h.project.id,templates:h.templates,onClose:b[5]||(b[5]=y=>p.value=!1),onApply:u},null,8,["project-id","templates"])):e.createCommentVNode("",!0)]))],64))}});const tt={TEMPLATES:"templates",TEMPLATE_DETAILS:"template_details",TEMPLATES_LIST:"templates_list"},t9=(a,t={})=>[{path:a,name:tt.TEMPLATES,redirect:{name:tt.TEMPLATES_LIST},...t,children:[{path:"",name:tt.TEMPLATES_LIST,component:zn},{path:":templateId/:phaseId?/:milestoneId?/:activityId?",name:tt.TEMPLATE_DETAILS,component:Rn,props:!0}]}],oe={project:"AoProject",feed:"AoProjectFeed",mapping:"AoProjectMapping",milestone:"AoMilestone",activity:"AoActivity"},a9=(a,t={})=>[{path:a,...t,redirect:{name:oe.project},children:[{path:"",name:oe.project,component:jf,props:!0,children:[{path:":phaseId/:milestoneId",name:oe.milestone,component:Qo,props:!0},{path:":phaseId/:milestoneId/:activityId",name:oe.activity,props:{default:!0,modal:!0},components:{default:Qo,modal:kh}}]},{path:"feed",name:oe.feed,component:Un,props:!0},{path:"mapping",name:oe.mapping,component:e9,props:!0}]}],o9={class:"ao-templates"},zn=e.defineComponent({__name:"AoTemplatesList",props:{templates:{}},emits:["addTemplate","updateTemplates","updateItem","removeItem"],setup(a,{emit:t}){const o=a,{t:n}=Ye();e.watch(()=>o.templates,(c,p)=>{Me(c,p)});const s=()=>{var m,v;const c=(m=o.templates)==null?void 0:m.at(-1),p=c?se.LexoRank.parse(c.rank).genNext():se.LexoRank.middle(),d=((v=o.templates)==null?void 0:v.length)??0,u={name:n("template.defaultName.template",{idx:d+1}),rank:p.format()};t("addTemplate",u)},r=(c,p)=>{t("updateItem",{itemType:ee.TEMPLATES,id:c,templateId:c,data:{name:p}})},l=(c,p)=>{t("removeItem",{itemType:ee.TEMPLATES,templateId:c,data:{id:c,...p?{name:p}:{}}})},i=c=>{if(c.moved){const p=zt(c,o.templates??[]);t("updateItem",{itemType:ee.TEMPLATES,id:c.moved.element.id,templateId:c.moved.element.id,data:{rank:p}})}};return(c,p)=>(e.openBlock(),e.createElementBlock("div",o9,[e.createVNode(Zt,null,{secondary:e.withCtx(()=>[e.createVNode(K,{label:c.$t("templates.new"),color:"primary","icon-name":"Add","icon-position":"start",onClick:s},null,8,["label"])]),_:1}),e.createVNode(e.unref(xe),{"model-value":c.templates,class:"ao-templates__list","item-key":"id",handle:".ao-card__drag",onChange:i},{item:e.withCtx(({element:d})=>{var u;return[e.createVNode($3,{id:d.id,title:d.name,phases:d.phases,milestones:(u=d.phases)!=null&&u.length?e.unref(Y0)(d.phases):0,activities:d.phases?e.unref(K0)(d.phases):0,"updated-at":d.updatedAt,"updated-by":d.updatedBy,onUpdateTitle:m=>r(d.id,m),onClick:m=>c.$router.push({name:e.unref(tt).TEMPLATE_DETAILS,params:{templateId:d.id}}),onDeleteItem:p[0]||(p[0]=(m,v)=>l(m,v))},null,8,["id","title","phases","milestones","activities","updated-at","updated-by","onUpdateTitle","onClick"])]}),_:1},8,["model-value"])]))}});const n9={class:"ao-field__label"},Zn=e.defineComponent({__name:"AoField",props:{label:{},isMultiselect:{type:Boolean,default:!1}},setup(a){return(t,o)=>(e.openBlock(),e.createElementBlock("label",{class:e.normalizeClass(["ao-field",{"ao-field--multiselect":t.isMultiselect}])},[e.createElementVNode("span",n9,e.toDisplayString(t.label),1),e.renderSlot(t.$slots,"default")],2))}}),s9=["type","value","disabled","readonly"],l9=e.defineComponent({__name:"AoInputField",props:{label:{default:""},type:{default:"text"},modelValue:{default:""},modelModifiers:{default:()=>({})},isDisabled:{type:Boolean,default:!1},isReadonly:{type:Boolean,default:!1}},emits:["update:modelValue"],setup(a,{emit:t}){const o=a,n=e.computed(()=>o.modelModifiers.lazy?"change":"input"),s=r=>{o.modelModifiers.number&&(r=Number(r)),t("update:modelValue",r)};return(r,l)=>(e.openBlock(),e.createBlock(Zn,{label:r.label},{default:e.withCtx(()=>[e.createElementVNode("input",e.mergeProps({class:"ao-field__input",type:r.type,value:r.modelValue,disabled:r.isDisabled,readonly:r.isReadonly},{[e.toHandlerKey(n.value)]:l[0]||(l[0]=i=>s(i.target.value))}),null,16,s9)]),_:1},8,["label"]))}}),r9={class:"ao-field"},i9={class:"ao-field__label"},c9=["checked","disabled"],d9=e.defineComponent({__name:"AoCheckboxField",props:{label:{default:""},modelValue:{type:Boolean,default:!1},isReadonly:{type:Boolean,default:!1},isDisabled:{type:Boolean,default:!1}},emits:["update:modelValue"],setup(a){return(t,o)=>(e.openBlock(),e.createElementBlock("label",r9,[e.createElementVNode("span",i9,e.toDisplayString(t.label),1),e.createElementVNode("input",{class:"ao-field__input",type:"checkbox",checked:t.modelValue,disabled:t.isDisabled,onChange:o[0]||(o[0]=n=>{var s;return t.$emit("update:modelValue",((s=n.target)==null?void 0:s.checked)??!1)})},null,40,c9)]))}});exports.AoAvatar=ke;exports.AoCardFeed=$o;exports.AoCheckboxField=d9;exports.AoFeed=Un;exports.AoField=Zn;exports.AoInputField=l9;exports.AoMultiselect=re;exports.AoProjectPhases=ko;exports.AoTemplateDetails=Rn;exports.AoTemplates=is;exports.AoTemplatesList=zn;exports.TemplateItemTypeEnum=sn;exports.activityFeedStatus=c2;exports.durationTypes=i2;exports.feedFilterTypes=Je;exports.getProjectOverviewRoutes=a9;exports.getTemplateRoutes=t9;exports.listUpdateTypes=d2;exports.milestoneStatus=Ot;exports.projectOverviewRoutes=oe;exports.ruleComparators=an;exports.ruleDurationUnits=nn;exports.ruleTriggerTypes=on;exports.templateItemType=ee;exports.templateRouteNames=tt;
|