@kinetis/vector-ui 0.12.3 → 0.12.4

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.
Files changed (167) hide show
  1. package/CHANGELOG.md +10 -0
  2. package/dist/static/200.html +1 -1
  3. package/dist/static/404.html +1 -1
  4. package/dist/static/_nuxt/{DDrUietx.js → 0Vkqk5K3.js} +1 -1
  5. package/dist/static/_nuxt/{9Srdmgev.js → 1_Uuyt8D.js} +1 -1
  6. package/dist/static/_nuxt/{ID6cAcVb.js → 4_OCizmC.js} +1 -1
  7. package/dist/static/_nuxt/7K6MnLUx.js +1 -0
  8. package/dist/static/_nuxt/{ChlgzFCh.js → 7dnGTtf6.js} +2 -2
  9. package/dist/static/_nuxt/{DY9S-h7t.js → AXpHq_M6.js} +1 -1
  10. package/dist/static/_nuxt/AfaX5CNR.js +105 -0
  11. package/dist/static/_nuxt/{CUJwdJWW.js → B-KA4dLI.js} +1 -1
  12. package/dist/static/_nuxt/B1lIMV_o.js +1 -0
  13. package/dist/static/_nuxt/B6S9Z6WQ.js +1 -0
  14. package/dist/static/_nuxt/{DR92chVQ.js → B7CwuqHQ.js} +1 -1
  15. package/dist/static/_nuxt/BEcvuouq.js +1 -0
  16. package/dist/static/_nuxt/BJhRZpbP.js +1 -0
  17. package/dist/static/_nuxt/BJiySRJW.js +1 -0
  18. package/dist/static/_nuxt/BKtgreqG.js +1 -0
  19. package/dist/static/_nuxt/BOHl_j0c.js +1 -0
  20. package/dist/static/_nuxt/{LsI3KdxJ.js → BPzr_ZFH.js} +1 -1
  21. package/dist/static/_nuxt/{RoYhBmTd.js → BRbbmSpl.js} +1 -1
  22. package/dist/static/_nuxt/BUF7Jq4U.js +1 -0
  23. package/dist/static/_nuxt/{rp1h1m4f.js → BZDOVMsw.js} +1 -1
  24. package/dist/static/_nuxt/{Oyo1wAk3.js → BZXFBS4d.js} +1 -1
  25. package/dist/static/_nuxt/Bk4XXIda.js +1 -0
  26. package/dist/static/_nuxt/BpF7UbSy.js +1 -0
  27. package/dist/static/_nuxt/{CYzzubwX.js → BqIYBnn1.js} +1 -1
  28. package/dist/static/_nuxt/{D07ygw42.js → Brpk64DL.js} +1 -1
  29. package/dist/static/_nuxt/{D2wa2vZb.js → BtZEn8rG.js} +1 -1
  30. package/dist/static/_nuxt/{C3TdYgzW.js → BzcHWzF1.js} +1 -1
  31. package/dist/static/_nuxt/C-dF6TjJ.js +1 -0
  32. package/dist/static/_nuxt/{Davl1XHT.js → C0BqlrB-.js} +1 -1
  33. package/dist/static/_nuxt/C2PH7r9_.js +1 -0
  34. package/dist/static/_nuxt/{DUovJbJx.js → C6kvBrux.js} +1 -1
  35. package/dist/static/_nuxt/{D30ymUqz.js → C7fSyjDf.js} +1 -1
  36. package/dist/static/_nuxt/{myqO94-A.js → CE4w7ySf.js} +1 -1
  37. package/dist/static/_nuxt/{CU4CohE8.js → CEq7Sdek.js} +1 -1
  38. package/dist/static/_nuxt/CF1K6UXb.js +1 -0
  39. package/dist/static/_nuxt/{DZ7x7tlF.js → CIIjiec-.js} +1 -1
  40. package/dist/static/_nuxt/CJepLjEa.js +1 -0
  41. package/dist/static/_nuxt/{D8skSdOx.js → CTqdSnzX.js} +1 -1
  42. package/dist/static/_nuxt/{Bjiyrmnj.js → CalcRVj7.js} +1 -1
  43. package/dist/static/_nuxt/{CpWrs6ST.js → CcarPq9D.js} +1 -1
  44. package/dist/static/_nuxt/{DASRsVgm.js → Cet_varq.js} +1 -1
  45. package/dist/static/_nuxt/{BSIqtL7L.js → ChHwRItD.js} +1 -1
  46. package/dist/static/_nuxt/{CuPBWhbx.js → Cjyh4OAN.js} +1 -1
  47. package/dist/static/_nuxt/{BUH9OonL.js → ClGaGEq-.js} +1 -1
  48. package/dist/static/_nuxt/{Cbh8yz3r.js → CojXjKit.js} +1 -1
  49. package/dist/static/_nuxt/{3K0uatjA.js → CqMf6Lsu.js} +1 -1
  50. package/dist/static/_nuxt/Cuw0JSbz.js +1 -0
  51. package/dist/static/_nuxt/{DOUu5tHk.js → CvMhFq5K.js} +1 -1
  52. package/dist/static/_nuxt/CvtjhXJ1.js +1 -0
  53. package/dist/static/_nuxt/CzTUD5Qk.js +1 -0
  54. package/dist/static/_nuxt/D-sMWl8f.js +1 -0
  55. package/dist/static/_nuxt/{BBLEziJU.js → D11OKveI.js} +1 -1
  56. package/dist/static/_nuxt/{BMJiQnha.js → D1s1ZPEA.js} +2 -2
  57. package/dist/static/_nuxt/D3xqGGYp.js +1 -0
  58. package/dist/static/_nuxt/{DCHrRSav.js → D5Woe3YR.js} +1 -1
  59. package/dist/static/_nuxt/{Cn-sEHrF.js → D5vg-NJ4.js} +1 -1
  60. package/dist/static/_nuxt/{BHsMXj9K.js → D7UGFkhh.js} +1 -1
  61. package/dist/static/_nuxt/D8TlQuRB.js +1 -0
  62. package/dist/static/_nuxt/D8p7N22I.js +1 -0
  63. package/dist/static/_nuxt/D9unnd4n.js +1 -0
  64. package/dist/static/_nuxt/DBXnb1tR.js +1 -0
  65. package/dist/static/_nuxt/{jeoKFN9R.js → DBmDhhWl.js} +1 -1
  66. package/dist/static/_nuxt/{B6J1_h6c.js → DDJY3JL5.js} +1 -1
  67. package/dist/static/_nuxt/{C70Zokea.js → DHtEcXUO.js} +1 -1
  68. package/dist/static/_nuxt/DJFQLDk5.js +1 -0
  69. package/dist/static/_nuxt/DL237dS3.js +1 -0
  70. package/dist/static/_nuxt/DOOLWZFN.js +1 -0
  71. package/dist/static/_nuxt/{DQ5dE1NN.js → DRB_eN3w.js} +28 -28
  72. package/dist/static/_nuxt/DU1KpHiJ.js +1 -0
  73. package/dist/static/_nuxt/{BKZYsdTJ.js → DcWEOxVe.js} +1 -1
  74. package/dist/static/_nuxt/DebXB2Xn.js +1 -0
  75. package/dist/static/_nuxt/DgVB5umK.js +1 -0
  76. package/dist/static/_nuxt/{CLUDC5F3.js → DlpIJgqB.js} +1 -1
  77. package/dist/static/_nuxt/DqVTouT1.js +1 -0
  78. package/dist/static/_nuxt/{BCHhfd7O.js → Dqv1iAUt.js} +1 -1
  79. package/dist/static/_nuxt/DrEHkKjX.js +10 -0
  80. package/dist/static/_nuxt/{Cbk66RL5.js → Dt7NqY56.js} +1 -1
  81. package/dist/static/_nuxt/DuYZsH0p.js +1 -0
  82. package/dist/static/_nuxt/{B0DU3au_.js → Dx-cZwBu.js} +2 -2
  83. package/dist/static/_nuxt/Dx8sj9kP.js +1 -0
  84. package/dist/static/_nuxt/DyweGZi4.js +1 -0
  85. package/dist/static/_nuxt/Dyz4VrUP.js +1 -0
  86. package/dist/static/_nuxt/{fUvCMzVL.js → ERkvasWH.js} +1 -1
  87. package/dist/static/_nuxt/FzhpMR1D.js +1 -0
  88. package/dist/static/_nuxt/IhWbQWqt.js +1 -0
  89. package/dist/static/_nuxt/{NBM3ZNPF.js → JGAhx20W.js} +1 -1
  90. package/dist/static/_nuxt/{B-N_9F8Y.js → JkGLG92w.js} +1 -1
  91. package/dist/static/_nuxt/N6Uxr2YO.js +1 -0
  92. package/dist/static/_nuxt/{Notifications.BvaCltQH.css → Notifications.AEytcgEO.css} +1 -1
  93. package/dist/static/_nuxt/{DwzR1x1j.js → Pj99sh0X.js} +1 -1
  94. package/dist/static/_nuxt/R3rw3hPp.js +1 -0
  95. package/dist/static/_nuxt/{C6Rk1zNW.js → R_5D07UV.js} +1 -1
  96. package/dist/static/_nuxt/{VAvatar.DDw3_L_i.css → VAvatar.4DdtQWIm.css} +1 -1
  97. package/dist/static/_nuxt/{VBtn.DYtpaadd.css → VBtn.cP5x_2iY.css} +1 -1
  98. package/dist/static/_nuxt/{VChip.DriYwOm3.css → VChip.Cz3PdcaR.css} +1 -1
  99. package/dist/static/_nuxt/{VInput.BzI_hIki.css → VInput.BKbUnPCD.css} +1 -1
  100. package/dist/static/_nuxt/{VList.DLBes6Xg.css → VList.DuE_wmFD.css} +1 -1
  101. package/dist/static/_nuxt/ZNfE-M4g.js +1 -0
  102. package/dist/static/_nuxt/{D66f0-yE.js → bm6plv74.js} +1 -1
  103. package/dist/static/_nuxt/builds/latest.json +1 -1
  104. package/dist/static/_nuxt/builds/meta/5f231028-949f-4f49-8f8d-307070c40687.json +1 -0
  105. package/dist/static/_nuxt/{entry.Sg6-iCOx.css → entry.DmwuXgFN.css} +1 -1
  106. package/dist/static/_nuxt/error-404.DIb-VIQ0.css +1 -0
  107. package/dist/static/_nuxt/error-500.BvRwBykK.css +1 -0
  108. package/dist/static/_nuxt/lRmDd_Kx.js +1 -0
  109. package/dist/static/_nuxt/{Dd03pZMK.js → oThorgNS.js} +1 -1
  110. package/dist/static/_nuxt/oj_DzV60.js +1 -0
  111. package/dist/static/_nuxt/{B1sqLcYa.js → qFGHTGtX.js} +1 -1
  112. package/dist/static/_nuxt/{C8NyX5Od.js → wLSd0d84.js} +1 -1
  113. package/dist/static/_nuxt/{CrB-cqMb.js → ycmL3bWs.js} +1 -1
  114. package/dist/static/index.html +1 -1
  115. package/dist/static/jobs/index.html +1 -1
  116. package/dist/static/login/index.html +1 -1
  117. package/dist/static/queues/index.html +1 -1
  118. package/dist/static/settings/index.html +1 -1
  119. package/dist/static/vector-bundle.json +119 -119
  120. package/package.json +15 -15
  121. package/dist/static/_nuxt/5CKHNnhD.js +0 -1
  122. package/dist/static/_nuxt/9t6l-Rdt.js +0 -1
  123. package/dist/static/_nuxt/B0qYsC7W.js +0 -1
  124. package/dist/static/_nuxt/B8WJAiam.js +0 -1
  125. package/dist/static/_nuxt/B8a3XTZQ.js +0 -1
  126. package/dist/static/_nuxt/BAn4QhRh.js +0 -1
  127. package/dist/static/_nuxt/BRGCMXsj.js +0 -1
  128. package/dist/static/_nuxt/BZmn1C4S.js +0 -1
  129. package/dist/static/_nuxt/BaIA0jZn.js +0 -1
  130. package/dist/static/_nuxt/BbYIy4ys.js +0 -1
  131. package/dist/static/_nuxt/BdKsdwRT.js +0 -1
  132. package/dist/static/_nuxt/Bn6DafZm.js +0 -1
  133. package/dist/static/_nuxt/C-V_d0r7.js +0 -1
  134. package/dist/static/_nuxt/C2fOtOCd.js +0 -1
  135. package/dist/static/_nuxt/C61G2Eu2.js +0 -10
  136. package/dist/static/_nuxt/C6qZtGGt.js +0 -1
  137. package/dist/static/_nuxt/C8oWNQAK.js +0 -1
  138. package/dist/static/_nuxt/CCqTpTgf.js +0 -1
  139. package/dist/static/_nuxt/CE6WDSIv.js +0 -1
  140. package/dist/static/_nuxt/CGZHPyLq.js +0 -1
  141. package/dist/static/_nuxt/CUY7TizY.js +0 -1
  142. package/dist/static/_nuxt/Cg_0SbPD.js +0 -1
  143. package/dist/static/_nuxt/CoQkOgbz.js +0 -1
  144. package/dist/static/_nuxt/CrBE96Tf.js +0 -1
  145. package/dist/static/_nuxt/Cy7TtUfa.js +0 -1
  146. package/dist/static/_nuxt/D0Kpcb6p.js +0 -1
  147. package/dist/static/_nuxt/D5s6wS_k.js +0 -1
  148. package/dist/static/_nuxt/D7G2EIjv.js +0 -1
  149. package/dist/static/_nuxt/DLFK-0gp.js +0 -1
  150. package/dist/static/_nuxt/Dkxjrt9t.js +0 -1
  151. package/dist/static/_nuxt/Dl6oOLmA.js +0 -1
  152. package/dist/static/_nuxt/DmlCF8UD.js +0 -1
  153. package/dist/static/_nuxt/DnQDxK91.js +0 -1
  154. package/dist/static/_nuxt/Dtqzfvmq.js +0 -1
  155. package/dist/static/_nuxt/DuadUyNo.js +0 -1
  156. package/dist/static/_nuxt/DwhplmWw.js +0 -1
  157. package/dist/static/_nuxt/QlhtReDg.js +0 -1
  158. package/dist/static/_nuxt/Y7__Wzb8.js +0 -1
  159. package/dist/static/_nuxt/a_AKbjEN.js +0 -1
  160. package/dist/static/_nuxt/builds/meta/52a2aa91-9618-460e-8fc8-5037f01582c1.json +0 -1
  161. package/dist/static/_nuxt/error-404.B8s8Efz5.css +0 -1
  162. package/dist/static/_nuxt/error-500.l3XjU95N.css +0 -1
  163. package/dist/static/_nuxt/eyMgAAvv.js +0 -105
  164. package/dist/static/_nuxt/gMjfE5Hg.js +0 -1
  165. package/dist/static/_nuxt/lbsTXfnT.js +0 -1
  166. package/dist/static/_nuxt/ln4PDumd.js +0 -1
  167. package/dist/static/_nuxt/yC35w56h.js +0 -1
@@ -0,0 +1 @@
1
+ import{Cn as e,D as t,En as n,Ht as r,J as i,Ut as a,Vt as o,Yt as s,_ as c,_n as l,ct as u,et as d,g as f,gn as p,gt as m,in as h,it as g,o as _,pn as v,tt as y,u as b,vn as x,wn as S,xn as C}from"./wlpNGAAZ.js";import{S as w,t as T}from"./Bp1wYuAu.js";import{C as E,D,E as O,F as k,Ft as A,G as j,Gt as M,I as N,K as P,Lt as F,M as I,Mt as L,N as R,Pt as z,S as B,T as V,c as ee,dt as H,nt as te,p as U,s as ne,st as re,t as ie,u as ae,vt as W,w as oe,x as se,xt as G,y as ce,z as le}from"./DrEHkKjX.js";import{c as ue,d as de,f as fe,l as K,o as pe,p as q,s as me,u as he}from"./DqVTouT1.js";import{a as ge}from"./C2PH7r9_.js";import{n as _e,t as ve}from"./4_OCizmC.js";import{n as J}from"./BZDOVMsw.js";import"./BKlyjday.js";import{a as Y,i as ye,n as be,o as xe,r as Se,t as Ce}from"./AXpHq_M6.js";import{n as we,t as Te}from"./BUF7Jq4U.js";import{n as Ee,t as De}from"./BJiySRJW.js";import{i as Oe,n as ke}from"./D9unnd4n.js";var X=new WeakMap;function Ae(e,t){Object.keys(t).forEach(n=>{if(te(n)){let r=le(n),i=X.get(e);if(z(t[n]))i?.forEach(t=>{let[n,a]=t;n===r&&(e.removeEventListener(r,a),i.delete(t))});else if(!i||![...i].some(e=>e[0]===r&&e[1]===t[n])){e.addEventListener(r,t[n]);let a=i||new Set;a.add([r,t[n]]),X.has(e)||X.set(e,a)}}else z(t[n])?e.removeAttribute(n):e.setAttribute(n,t[n])})}function je(e,t){Object.keys(t).forEach(t=>{if(te(t)){let n=le(t),r=X.get(e);r?.forEach(t=>{let[i,a]=t;i===n&&(e.removeEventListener(n,a),r.delete(t))})}else e.removeAttribute(t)})}function Me(e){if(!L(e.getRootNode)){for(;e.parentNode;)e=e.parentNode;return e===document?document:null}let t=e.getRootNode();return t!==document&&t.getRootNode({composed:!0})!==document?null:t}function Ne(e){for(;e;){if(window.getComputedStyle(e).position===`fixed`)return!0;e=e.offsetParent}return!1}var Z=Symbol.for(`vuetify:v-menu`);function Pe(e,t){return{x:e.x+t.x,y:e.y+t.y}}function Fe(e,t){return{x:e.x-t.x,y:e.y-t.y}}function Ie(e,t){if(e.side===`top`||e.side===`bottom`){let{side:n,align:r}=e;return Pe({x:r===`left`?0:r===`center`?t.width/2:r===`right`?t.width:r,y:n===`top`?0:n===`bottom`?t.height:n},t)}if(e.side===`left`||e.side===`right`){let{side:n,align:r}=e;return Pe({x:n===`left`?0:n===`right`?t.width:n,y:r===`top`?0:r===`center`?t.height/2:r===`bottom`?t.height:r},t)}return Pe({x:t.width/2,y:t.height/2},t)}var Le={static:Ve,connected:We},Re=B({locationStrategy:{type:[String,Function],default:`static`,validator:e=>L(e)||e in Le},location:String,origin:{type:String,default:`auto`},offset:[Number,String,Array],stickToTarget:Boolean,viewportMargin:{type:[Number,String],default:12}},`VOverlay-location-strategies`);function ze(e,t){let n=x({}),i=x();G&&ue(()=>!!(t.isActive.value&&e.locationStrategy),c=>{r(()=>e.locationStrategy,c),v(()=>{window.removeEventListener(`resize`,a),visualViewport?.removeEventListener(`resize`,o),visualViewport?.removeEventListener(`scroll`,s),i.value=void 0,t.isActive.value&&(n.value={})}),window.addEventListener(`resize`,a,{passive:!0}),visualViewport?.addEventListener(`resize`,o,{passive:!0}),visualViewport?.addEventListener(`scroll`,s,{passive:!0}),L(e.locationStrategy)?i.value=e.locationStrategy(t,e,n)?.updateLocation:i.value=Le[e.locationStrategy](t,e,n)?.updateLocation});function a(e){i.value?.(e)}function o(e){i.value?.(e)}function s(e){i.value?.(e)}return{contentStyles:n,updateLocation:i}}function Be(e){if(!e)return;let t=e.includes(` `)?e:`${e} center`,n=`center`,r=`center`,i={left:`start`,start:`start`,right:`end`,end:`end`},a={top:`start`,bottom:`end`};for(let e of t.split(` `))e in i?n=i[e]:e in a&&(r=a[e]);return{[`v-overlay--justify-${n}`]:!0,[`v-overlay--align-${r}`]:!0}}function Ve(e,t,n){function i(){if(t.origin!==`auto`&&t.origin!==`overlap`){let{side:r,align:i}=q(t.origin,e.isRtl.value);n.value={transformOrigin:`${r} ${i}`}}else n.value={}}return r([()=>t.origin,e.isRtl],i,{immediate:!0}),{updateLocation:()=>{}}}function He(e,t,n){let r=document.createElement(`div`);r.style.position=`absolute`,r.style.visibility=`hidden`,r.style[n?`width`:`height`]=e,t.appendChild(r);let i=n?r.offsetWidth:r.offsetHeight;return t.removeChild(r),i>0?i:1/0}function Ue(e,t){let n=_e(e),r=getComputedStyle(e);function i(t){return e.style[t]&&parseFloat(r[t])||0}return t?n.x+=i(`right`):n.x-=i(`left`),n.y-=i(`top`),n}function We(e,t,n){(Array.isArray(e.target.value)||Ne(e.target.value))&&Object.assign(n.value,{position:`fixed`,top:0,[e.isRtl.value?`right`:`left`]:0});let{preferredAnchor:i,preferredOrigin:a}=N(()=>{let n=q(t.location??`bottom`,e.isRtl.value),r=t.origin===`overlap`?n:t.origin===`auto`?de(n):q(t.origin,e.isRtl.value);return n.side===r.side&&n.align===K(r).align?{preferredAnchor:he(n),preferredOrigin:he(r)}:{preferredAnchor:n,preferredOrigin:r}}),[o,s,c,l]=[`minWidth`,`minHeight`,`maxWidth`,`maxHeight`].map(n=>{let r=n.endsWith(`Width`);return()=>{let i=t[n];if(i==null)return 1/0;let a=e.contentEl.value?.parentElement??document.documentElement;if(A(i)||/^-?[\d.]+(?:px)?$/.test(i.trim()))return parseFloat(i);if(i.endsWith(`%`)){let e=oe(a);return parseFloat(i)*(r?e.width:e.height)/100}return He(i,a,r)}}),u=f(()=>{if(Array.isArray(t.offset))return t.offset;if(F(t.offset)){let e=t.offset.split(` `).map(parseFloat);return e.length<2&&e.push(0),e}return A(t.offset)?[t.offset,0]:[0,0]}),d=!1,p=-1,m=new D(4),h=new ResizeObserver(()=>{if(!d)return;if(requestAnimationFrame(e=>{e!==p&&m.clear(),requestAnimationFrame(e=>{p=e})}),m.isFull){let e=m.values();if(J(e.at(-1),e.at(-3))&&!J(e.at(-1),e.at(-2)))return}let e=_();e&&m.push(e.flipped)}),g=new E({x:0,y:0,width:0,height:0});r(e.target,(e,t)=>{t&&!Array.isArray(t)&&h.unobserve(t),Array.isArray(e)?J(e,t)||_():e&&h.observe(e)},{immediate:!0}),r(e.contentEl,(e,t)=>{t&&h.unobserve(t),e&&h.observe(e)},{immediate:!0}),v(()=>{h.disconnect()});function _(){if(d=!1,requestAnimationFrame(()=>d=!0),!e.target.value||!e.contentEl.value)return;(Array.isArray(e.target.value)||e.target.value.offsetParent||e.target.value.getClientRects().length)&&(g=O(e.target.value));let r=Ue(e.contentEl.value,e.isRtl.value),f=Y(e.contentEl.value),p=Number(t.viewportMargin),m=o(),h=s(),_=c(),v=l();f.length||(f.push(document.documentElement),e.contentEl.value.style.top&&e.contentEl.value.style[e.isRtl.value?`right`:`left`]||(r.x-=parseFloat(document.documentElement.style.getPropertyValue(`--v-body-scroll-x`)||0),r.y-=parseFloat(document.documentElement.style.getPropertyValue(`--v-body-scroll-y`)||0)));let y=f.reduce((e,t)=>{let n=oe(t);return e?new E({x:Math.max(e.left,n.left),y:Math.max(e.top,n.top),width:Math.min(e.right,n.right)-Math.max(e.left,n.left),height:Math.min(e.bottom,n.bottom)-Math.max(e.top,n.top)}):n},void 0);t.stickToTarget?(y.x+=Math.min(p,g.x),y.y+=Math.min(p,g.y),y.width=Math.max(y.width-p*2,g.x+g.width-p),y.height=Math.max(y.height-p*2,g.y+g.height-p)):(y.x+=p,y.y+=p,y.width-=p*2,y.height-=p*2);let b={anchor:i.value,origin:a.value};function x(e){let t=new E(r),{x:n,y:i}=Fe(Ie(e.anchor,g),Ie(e.origin,t));switch(e.anchor.side){case`top`:i-=u.value[0];break;case`bottom`:i+=u.value[0];break;case`left`:n-=u.value[0];break;case`right`:n+=u.value[0]}switch(e.anchor.align){case`top`:i-=u.value[1];break;case`bottom`:i+=u.value[1];break;case`left`:n-=u.value[1];break;case`right`:n+=u.value[1]}return t.x+=n,t.y+=i,t.width=Math.min(t.width,_),t.height=Math.min(t.height,v),{overflows:V(t,y),x:n,y:i}}let S=0,C=0,w={x:0,y:0},T={x:!1,y:!1},D=-1;for(;;){if(D++>10){M(`Infinite loop detected in connectedLocationStrategy`);break}let{x:e,y:t,overflows:n}=x(b);S+=e,C+=t,r.x+=e,r.y+=t;{let e=fe(b.anchor),t=n.x.before||n.x.after,r=n.y.before||n.y.after,i=!1;if([`x`,`y`].forEach(a=>{if(a===`x`&&t&&!T.x||a===`y`&&r&&!T.y){let t={anchor:{...b.anchor},origin:{...b.origin}},r=a===`x`?e===`y`?K:de:e===`y`?de:K;t.anchor=r(t.anchor),t.origin=r(t.origin);let{overflows:o}=x(t);(o[a].before<=n[a].before&&o[a].after<=n[a].after||o[a].before+o[a].after<(n[a].before+n[a].after)/2)&&(b=t,i=T[a]=!0)}}),i)continue}n.x.before&&(S+=n.x.before,r.x+=n.x.before),n.x.after&&(S-=n.x.after,r.x-=n.x.after),n.y.before&&(C+=n.y.before,r.y+=n.y.before),n.y.after&&(C-=n.y.after,r.y-=n.y.after);{let e=V(r,y);w.x=y.width-e.x.before-e.x.after,w.y=y.height-e.y.before-e.y.after,S+=e.x.before,r.x+=e.x.before,C+=e.y.before,r.y+=e.y.before}break}let k=fe(b.anchor),A=t.origin!==`auto`&&t.origin!==`overlap`?q(t.origin,e.isRtl.value):b.origin;return Object.assign(n.value,{"--v-overlay-anchor-origin":`${b.anchor.side} ${b.anchor.align}`,transformOrigin:`${A.side} ${A.align}`,top:R(Ge(C)),left:e.isRtl.value?void 0:R(Ge(S)),right:e.isRtl.value?R(Ge(-S)):void 0,minWidth:R(k===`y`?Math.min(m,g.width):m),maxWidth:R(Ke(I(w.x,m===1/0?0:m,_))),maxHeight:R(Ke(I(w.y,h===1/0?0:h,v)))}),{available:w,contentBox:r,flipped:T}}return r(()=>[i.value,a.value,t.origin,t.offset,t.minWidth,t.minHeight,t.maxWidth,t.maxHeight],()=>_()),y(()=>{let e=_();if(!e)return;let{available:t,contentBox:n}=e;n.height>t.y&&requestAnimationFrame(()=>{_(),requestAnimationFrame(()=>{_()})})}),{updateLocation:_}}function Ge(e){return Math.round(e*devicePixelRatio)/devicePixelRatio}function Ke(e){return Math.ceil(e*devicePixelRatio)/devicePixelRatio}var qe=!0,Je=[];function Ye(e){!qe||Je.length?(Je.push(e),Ze()):(qe=!1,e(),Ze())}var Xe=-1;function Ze(){cancelAnimationFrame(Xe),Xe=requestAnimationFrame(()=>{let e=Je.shift();e&&e(),Je.length?Ze():qe=!0})}var Qe={none:null,close:tt,block:nt,reposition:rt},$e=B({scrollStrategy:{type:[String,Function],default:`block`,validator:e=>L(e)||e in Qe}},`VOverlay-scroll-strategies`);function et(e,t){if(!G)return;let n;a(async()=>{n?.stop(),t.isActive.value&&t.root.value&&e.scrollStrategy&&(n=h(),await new Promise(e=>setTimeout(e)),n.active&&n.run(()=>{L(e.scrollStrategy)?e.scrollStrategy(t,e,n):Qe[e.scrollStrategy]?.(t,e,n)}))}),v(()=>{n?.stop()})}function tt(e){function t(t){e.isActive.value=!1}at(it(e.target.value,e.contentEl.value),t)}function nt(e,t){let n=e.root.value?.offsetParent,r=it(e.target.value,e.contentEl.value),i=[...new Set([...Y(r,t.contained?n:void 0),...Y(e.contentEl.value,t.contained?n:void 0)])].filter(e=>!e.classList.contains(`v-overlay-scroll-blocked`)),a=window.innerWidth-document.documentElement.offsetWidth,o=(e=>xe(e)&&e)(n||document.documentElement);o&&e.root.value.classList.add(`v-overlay--scroll-blocked`),i.forEach((e,t)=>{e.style.setProperty(`--v-body-scroll-x`,R(-e.scrollLeft)),e.style.setProperty(`--v-body-scroll-y`,R(-e.scrollTop)),(e!==document.documentElement||getComputedStyle(e).overflowY!==`scroll`)&&e.style.setProperty(`--v-scrollbar-offset`,R(a)),e.classList.add(`v-overlay-scroll-blocked`)}),v(()=>{i.forEach((e,t)=>{let n=parseFloat(e.style.getPropertyValue(`--v-body-scroll-x`)),r=parseFloat(e.style.getPropertyValue(`--v-body-scroll-y`)),i=e.style.scrollBehavior;e.style.scrollBehavior=`auto`,e.style.removeProperty(`--v-body-scroll-x`),e.style.removeProperty(`--v-body-scroll-y`),e.style.removeProperty(`--v-scrollbar-offset`),e.classList.remove(`v-overlay-scroll-blocked`),e.scrollLeft=-n,e.scrollTop=-r,e.style.scrollBehavior=i}),o&&e.root.value.classList.remove(`v-overlay--scroll-blocked`)})}function rt(e,t,n){let r=!1,i=-1,a=-1;function o(t){Ye(()=>{let n=performance.now();e.updateLocation.value?.(t),r=(performance.now()-n)/(1e3/60)>2})}a=(typeof requestIdleCallback>`u`?e=>e():requestIdleCallback)(()=>{n.run(()=>{at(it(e.target.value,e.contentEl.value),e=>{r?(cancelAnimationFrame(i),i=requestAnimationFrame(()=>{i=requestAnimationFrame(()=>{o(e)})})):o(e)})})}),v(()=>{typeof cancelIdleCallback<`u`&&cancelIdleCallback(a),cancelAnimationFrame(i)})}function it(e,t){return Array.isArray(e)?document.elementsFromPoint(...e).find(e=>!t?.contains(e)):e??t}function at(e,t){let n=[document,...Y(e)];n.forEach(e=>{e.addEventListener(`scroll`,t,{passive:!0})}),v(()=>{n.forEach(e=>{e.removeEventListener(`scroll`,t)})})}var ot=B({closeDelay:[Number,String],openDelay:[Number,String]},`delay`);function st(e,t){let n=()=>{};function r(r,i){n?.();let a=r?e.openDelay:e.closeDelay,o=Math.max(i?.minDelay??0,Number(a??0));return new Promise(e=>{n=k(o,()=>{t?.(r),e(r)})})}function i(){return r(!0)}function a(e){return r(!1,e)}return{clearDelay:n,runOpenDelay:i,runCloseDelay:a}}function ct(e){e.style.setProperty(`-webkit-touch-callout`,`none`)}var lt=[`-webkit-user-select`,`user-select`];function ut(e){let t=lt.map(t=>e.style.getPropertyValue(t));return lt.forEach(t=>e.style.setProperty(t,`none`)),()=>lt.forEach((n,r)=>t[r]?e.style.setProperty(n,t[r]):e.style.removeProperty(n))}var dt=new WeakSet;function ft(e){let t=-1,n=!1,r=!1,i,a={options:e,onTouchstart:o,onMousedown:s,cancel:m};function o(e){if(m(),n=!1,e.touches.length>1||dt.has(e))return;dt.add(e);let r=e.currentTarget,{clientX:o,clientY:s}=e.touches[0],d=e.target;i={el:r,x:o,y:s,unlock:ut(r),detach:()=>{d.removeEventListener(`touchmove`,l),d.removeEventListener(`touchend`,u),d.removeEventListener(`touchcancel`,u),window.removeEventListener(`contextmenu`,p,{capture:!0})}},d.addEventListener(`touchmove`,l,{passive:!0}),d.addEventListener(`touchend`,u,{passive:!1}),d.addEventListener(`touchcancel`,u),window.addEventListener(`contextmenu`,p,{capture:!0}),t=window.setTimeout(()=>c(e,!0),a.options.duration??500)}function s(e){m(),n=!1,!(e.button!==0||dt.has(e))&&(dt.add(e),i={el:e.currentTarget,x:e.clientX,y:e.clientY,detach:()=>{window.removeEventListener(`mousemove`,d),window.removeEventListener(`click`,f,{capture:!0})}},window.addEventListener(`mousemove`,d,{passive:!0}),window.addEventListener(`click`,f,{capture:!0}),t=window.setTimeout(()=>c(e,!1),a.options.duration??500))}function c(e,o){clearTimeout(t),n=!0,getSelection()?.removeAllRanges(),r=!0;try{a.options.handler({originalEvent:e,touch:o,target:i.el,clientX:i.x,clientY:i.y})}finally{r=!1}}function l(e){if(!i||n)return;let{clientX:t,clientY:r}=e.touches[0];(e.touches.length>1||Math.hypot(t-i.x,r-i.y)>10)&&m()}function u(e){n&&e.cancelable&&e.preventDefault(),m()}function d(e){i&&!n&&Math.hypot(e.clientX-i.x,e.clientY-i.y)>10&&m()}function f(e){n&&(e.preventDefault(),e.stopImmediatePropagation()),m()}function p(e){!r&&i?.el.contains(e.target)&&(e.preventDefault(),e.stopImmediatePropagation(),n||c(e,!0))}function m(){if(clearTimeout(t),!i)return;let{detach:e,unlock:r}=i;i=void 0,e(),r&&(n?setTimeout(r,10):r())}return a}var pt=B({target:[String,Object],activator:[String,Object],activatorProps:{type:Object,default:()=>({})},openOnClick:{type:Boolean,default:void 0},openOnHover:Boolean,openOnFocus:{type:Boolean,default:void 0},contextMenu:Boolean,closeOnContentClick:Boolean,...ot()},`VOverlay-activator`);function mt(e,{isActive:t,isTop:n,contentEl:o,isSubmenu:s=!1}){let c=ce(`useActivator`),l=x(),d=i(Z,null),p=!1,m=!1,g=!0,_=x(!1),b=!1,S=()=>!s||(d?.rootOpenedByHover?.()??_.value),w=f(()=>e.openOnFocus||e.openOnFocus==null&&e.openOnHover),T=f(()=>e.openOnClick||e.openOnClick==null&&!e.openOnHover&&!w.value&&!e.contextMenu),{runOpenDelay:E,runCloseDelay:D}=st(e,r=>{r===(e.openOnHover&&p||w.value&&m)&&!(e.openOnHover&&t.value&&!n.value)&&(t.value!==r&&(g=!0,r&&(b=!0,_.value=p&&e.openOnHover)),t.value=r)}),O=!1;r(t,e=>{e?(b||(_.value=!1),b=!1):(O=!0,setTimeout(()=>O=!1,50),_.value=!1,b=!1)});let k=x(),A;function j(e){k.value=e;let t=l.value?.getBoundingClientRect();A=e&&t&&[e[0]-t.left,e[1]-t.top]}let M=ft({handler:({originalEvent:e,clientX:t,clientY:n})=>{e.target.dispatchEvent(new MouseEvent(`contextmenu`,{bubbles:!0,cancelable:!0,clientX:t,clientY:n}))}}),N={onClick:e=>{(!O||t.value)&&(e.stopPropagation(),l.value=e.currentTarget||e.target,t.value||j([e.clientX,e.clientY]),t.value=!t.value)},onMouseenter:t=>{p=!0,l.value=t.currentTarget||t.target,e.target===`cursor`&&j([t.clientX,t.clientY]),E()},onMousemove:e=>{j([e.clientX,e.clientY])},onMouseleave:t=>{p=!1,e.target===`cursor`&&(m=!1),S()&&D()},onFocus:e=>{O||re(e.target,`:focus-visible`)!==!1&&(m=!0,e.stopPropagation(),l.value=e.currentTarget||e.target,E())},onContextmenu:e=>{e.preventDefault(),e.stopPropagation(),t.value?t.value=!1:(l.value=e.currentTarget||e.target,j(e.clientX||e.clientY?[e.clientX,e.clientY]:void 0),t.value=!0)},onTouchstart:M.onTouchstart,onBlur:e=>{let t=e.relatedTarget;t&&!o.value?.contains(t)&&(m=!1,e.stopPropagation(),D({minDelay:1}))}},F=f(()=>{let t={};return T.value&&(t.onClick=N.onClick),e.openOnHover&&(t.onMouseenter=N.onMouseenter,t.onMouseleave=N.onMouseleave,e.target===`cursor`&&!T.value&&(t.onMousemove=N.onMousemove)),e.contextMenu&&(t.onContextmenu=N.onContextmenu,t.onTouchstart=N.onTouchstart),w.value&&(t.onFocus=N.onFocus,t.onBlur=N.onBlur),t}),I=f(()=>{let n={};if(e.openOnHover&&(n.onMouseenter=()=>{p=!0,E()},n.onMouseleave=()=>{p=!1,S()&&D()}),w.value&&(n.onFocusin=e=>{e.target.matches(`:focus-visible`)&&(m=!0,E())},n.onFocusout=e=>{let t=e.relatedTarget;t&&!o.value?.contains(t)&&(m=!1,D({minDelay:1}))}),e.closeOnContentClick){let e=i(Z,null);n.onClick=()=>{t.value=!1,e?.closeParents()}}return n}),L=f(()=>{let t={};return e.openOnHover&&(t.onMouseenter=()=>{g&&(p=!0,g=!1,E())},t.onMouseleave=()=>{p=!1,S()&&D()}),t});r(n,t=>{!t||!S()||(!e.openOnHover||p||w.value&&m)&&(!w.value||m||e.openOnHover&&p)||o.value?.contains(P())||D()});function R(){let e=l.value?.getBoundingClientRect();A&&e&&(k.value=[e.left+A[0],e.top+A[1]])}r(t,(t,n,r)=>{t&&e.contextMenu&&!e.target&&(document.addEventListener(`scroll`,R,{capture:!0,passive:!0}),r(()=>document.removeEventListener(`scroll`,R,{capture:!0})))}),a(()=>{l.value&&e.contextMenu&&ct(l.value)});function z(){t.value||j(void 0)}let B=W();a(()=>{B.value&&y(()=>{l.value=B.el})});let V=W(),ee=C(!1);u(()=>ee.value=!0);let H=f(()=>(ee.value,(e.target===`cursor`||e.contextMenu&&!e.target)&&k.value?k.value:V.value?V.el:gt(e.target,c)||l.value)),te=f(()=>Array.isArray(H.value)?void 0:H.value),U;return r(()=>!!e.activator,t=>{t&&G?(U=h(),U.run(()=>{ht(e,c,{activatorEl:l,activatorEvents:F})})):U&&U.stop()},{flush:`post`,immediate:!0}),v(()=>{M.cancel(),U?.stop()}),{activatorEl:l,activatorRef:B,target:H,targetEl:te,targetRef:V,activatorEvents:F,contentEvents:I,scrimEvents:L,openedByHover:_,onAfterLeave:z}}function ht(e,t,{activatorEl:n,activatorEvents:i}){r(()=>e.activator,(e,t)=>{if(t&&e!==t){let e=s(t);e&&o(e)}e&&y(()=>a())},{immediate:!0}),r(()=>e.activatorProps,()=>{a()}),v(()=>{o()});function a(t=s(),n=e.activatorProps){t&&Ae(t,d(i.value,n))}function o(t=s(),n=e.activatorProps){t&&je(t,d(i.value,n))}function s(r=e.activator){let i=gt(r,t);return n.value=i?.nodeType===Node.ELEMENT_NODE?i:void 0,n.value}}function gt(e,t){if(!e)return;let n;if(e===`parent`){let e=t?.proxy?.$el?.parentNode;for(;e?.hasAttribute(`data-no-activator`);)e=e.parentNode;n=e}else n=F(e)?document.querySelector(e):`$el`in e?e.$el:e;return n}var _t=B({retainFocus:Boolean,captureFocus:Boolean,disableInitialFocus:Boolean},`focusTrap`),Q=new Map,vt=0;function yt(){let e;for(let{isActive:t,contentEl:n}of Q.values())t.value&&n.value&&(e=n.value);return e}function bt(e){let t=P();if(e.key!==`Tab`||!t)return;let n=Array.from(Q.values()).filter(({isActive:e,contentEl:n})=>e.value&&n.value?.contains(t)).map(e=>e.contentEl.value),r,i=t;for(;i;){if(n.includes(i)){r=i;break}i=i.parentElement}if(!r){let t=yt();if(!t)return;let n=j(t).filter(e=>e.tabIndex>=0);e.preventDefault(),n.length?e.shiftKey?n[n.length-1].focus():n[0].focus():t.focus({preventScroll:!0});return}let a=j(r).filter(e=>e.tabIndex>=0);if(!a.length)return;if(a.length===1&&a[0].classList.contains(`v-list`)&&a[0].contains(t)){e.preventDefault();return}let o=a[0],s=a[a.length-1],c=t===o||t===r||o.classList.contains(`v-list`)&&o.contains(t),l=t===s||s.classList.contains(`v-list`)&&s.contains(t);e.shiftKey&&c&&(e.preventDefault(),s.focus()),!e.shiftKey&&l&&(e.preventDefault(),o.focus())}function xt(e,{isActive:t,localTop:i,contentEl:a}){let o=Symbol(`trap`),s=!1,c=-1;async function l(){s=!0,c=window.setTimeout(()=>{s=!1},100)}async function u(e){let r=e.relatedTarget,o=e.target;document.removeEventListener(`pointerdown`,l),document.removeEventListener(`keydown`,d),await new Promise(e=>requestAnimationFrame(e)),t.value&&!s&&r!==o&&a.value&&n(i)&&![document,a.value].includes(o)&&!a.value.contains(o)&&j(a.value)[0]?.focus()}function d(e){if(e.key===`Tab`&&(document.removeEventListener(`keydown`,d),t.value&&a.value&&e.target&&!a.value.contains(e.target))){let t=j(document.documentElement);if(e.shiftKey&&e.target===t.at(0)||!e.shiftKey&&e.target===t.at(-1)){let t=j(a.value);t.length>0&&(e.preventDefault(),t[0].focus())}}}let f=S(()=>t.value&&e.captureFocus&&!e.disableInitialFocus);G&&(r(()=>e.retainFocus,e=>{e?Q.set(o,{isActive:t,contentEl:a}):Q.delete(o)},{immediate:!0}),r(f,e=>{e?(document.addEventListener(`pointerdown`,l),document.addEventListener(`focusin`,u,{once:!0}),document.addEventListener(`keydown`,d)):(document.removeEventListener(`pointerdown`,l),document.removeEventListener(`focusin`,u),document.removeEventListener(`keydown`,d))},{immediate:!0}),vt++<1&&document.addEventListener(`keydown`,bt)),v(()=>{Q.delete(o),G&&(clearTimeout(c),document.removeEventListener(`pointerdown`,l),document.removeEventListener(`focusin`,u),document.removeEventListener(`keydown`,d),--vt<1&&document.removeEventListener(`keydown`,bt))})}function St(){if(!G)return C(!1);let{ssr:e}=ge();if(e){let e=C(!1);return u(()=>{e.value=!0}),e}return C(!0)}var Ct=Symbol.for(`vuetify:stack`),$=p([]);function wt(t,r,o){let s=ce(`useStack`),c=!o,u=i(Ct,void 0),d=p({activeChildren:new Set});m(Ct,d);let f=C(Number(n(r)));ue(t,()=>{let t=$.at(-1)?.[1];f.value=t?t+10:Number(n(r)),c&&$.push([s.uid,f.value]),u?.activeChildren.add(s.uid),v(()=>{if(c){let t=e($).findIndex(e=>e[0]===s.uid);$.splice(t,1)}u?.activeChildren.delete(s.uid)})});let h=C(!0);c&&a(()=>{let e=$.at(-1)?.[0]===s.uid;setTimeout(()=>h.value=e)});let g=S(()=>!d.activeChildren.size);return{globalTop:l(h),localTop:g,stackStyles:S(()=>({zIndex:f.value}))}}function Tt(e){return{teleportTarget:f(()=>{let t=e();if(t===!0||!G)return;let n=t===!1?document.body:F(t)?document.querySelector(t):t;if(!n){o(`Unable to locate target ${t}`);return}let r=[...n.children].find(e=>e.matches(`.v-overlay-container`));return r||(r=document.createElement(`div`),r.className=`v-overlay-container`,n.appendChild(r)),r})}}function Et(){return!0}function Dt(e,t,n,r=!1){if(!e||!r&&Ot(e,n)===!1)return!1;let i=Me(t);if(typeof ShadowRoot<`u`&&i instanceof ShadowRoot&&i.host===e.target)return!1;let a=n.value,o=((L(a)?void 0:a.include)||(()=>[]))();return o.push(t),!o.some(t=>t?.contains(e.target))}function Ot(e,t){let n=t.value;return((L(n)?void 0:n.closeConditional)||Et)(e)}function kt(e,t,n,r=t._clickOutside.lastMousedownWasOutside){let i=L(n.value)?n.value:n.value.handler;e.shadowTarget=e.target,r&&Dt(e,t,n)&&setTimeout(()=>{Ot(e,n)&&i&&i(e)},0)}function At(e,t){let n=Me(e);t(document),typeof ShadowRoot<`u`&&n instanceof ShadowRoot&&t(n)}var jt={mounted(e,t){let n=n=>kt(n,e,t),r=n=>kt(n,e,t,!0),i=e=>e.button!==2&&n(e),a=n=>{e._clickOutside.lastMousedownWasOutside=Dt(n,e,t,!0)};At(e,e=>{e.addEventListener(`click`,n,!0),e.addEventListener(`auxclick`,i,!0),e.addEventListener(`contextmenu`,r,!0),e.addEventListener(`mousedown`,a,!0)}),e._clickOutside||={lastMousedownWasOutside:!1},e._clickOutside[t.instance.$.uid]={onClick:n,onAuxclick:i,onContextmenu:r,onMousedown:a}},beforeUnmount(e,t){e._clickOutside&&(At(e,n=>{if(!n||!e._clickOutside?.[t.instance.$.uid])return;let{onClick:r,onAuxclick:i,onContextmenu:a,onMousedown:o}=e._clickOutside[t.instance.$.uid];n.removeEventListener(`click`,r,!0),n.removeEventListener(`auxclick`,i,!0),n.removeEventListener(`contextmenu`,a,!0),n.removeEventListener(`mousedown`,o,!0)}),delete e._clickOutside[t.instance.$.uid])}},Mt=new WeakMap;function Nt(e){let{modelValue:n,color:r,...i}=e;return t(T,{name:`fade-transition`,appear:!0},{default:()=>[e.modelValue&&c(`div`,d({class:[`v-overlay__scrim`,e.color.backgroundColorClasses.value],style:e.color.backgroundColorStyles.value},i),null)]})}var Pt=B({absolute:Boolean,attach:[Boolean,String,Object],closeOnBack:{type:Boolean,default:!0},contained:Boolean,contentClass:null,contentProps:null,disabled:Boolean,opacity:[Number,String],noClickAnimation:Boolean,modelValue:Boolean,persistent:Boolean,scrim:{type:[Boolean,String],default:!0},zIndex:{type:[Number,String],default:2e3},...pt(),...se(),...Te(),...be(),...Re(),...$e(),..._t(),...ne(),...Ee()},`VOverlay`),Ft=U()({name:`VOverlay`,directives:{vClickOutside:jt},inheritAttrs:!1,props:{_disableGlobalStack:Boolean,_submenu:Boolean,...H(Pt(),[`disableInitialFocus`])},emits:{"click:outside":e=>!0,"update:modelValue":e=>!0,keydown:e=>!0,afterEnter:()=>!0,afterLeave:()=>!0},setup(e,{slots:n,attrs:o,emit:l}){let u=ce(`VOverlay`),p=x(),h=x(),v=x(),y=me(e,`modelValue`),S=f({get:()=>y.value,set:t=>{t&&e.disabled||(y.value=t)}}),{themeClasses:C}=ee(e),{rtlClasses:T,isRtl:E}=pe(),{hasContent:D,onAfterLeave:O}=Se(e,S),k=ie(()=>F(e.scrim)?e.scrim:null),{globalTop:A,localTop:M,stackStyles:N}=wt(S,()=>e.zIndex,e._disableGlobalStack),{activatorEl:I,activatorRef:L,target:z,targetEl:B,targetRef:V,activatorEvents:H,onAfterLeave:te,contentEvents:U,scrimEvents:ne,openedByHover:re}=mt(e,{isActive:S,isTop:M,contentEl:v,isSubmenu:e._submenu}),{teleportTarget:W}=Tt(()=>{let t=e.attach||e.contained;if(t)return t;let n=I?.value?.getRootNode()||u.proxy?.$el?.getRootNode();return n instanceof ShadowRoot&&n}),{dimensionStyles:oe}=we(e),se=St(),le=f(()=>e.locationStrategy===`static`?Be(e.location):void 0),{scopeId:de}=Ce();r(()=>e.disabled,e=>{e&&(S.value=!1)});let{contentStyles:fe,updateLocation:K}=ze(e,{isRtl:E,contentEl:v,target:z,isActive:S});et(e,{root:p,contentEl:v,targetEl:B,target:z,isActive:S,updateLocation:K});let q=i(Z,null);u.parent?.type?.name!==`VMenu`&&m(Z,null);function he(t){l(`click:outside`,t),e.persistent?X():S.value=!1,e.scrim||q?.closeParents(t)}function ge(t){return S.value&&M.value&&(!e.scrim||t.target===h.value||t instanceof MouseEvent&&t.shadowTarget===h.value)}xt(e,{isActive:S,localTop:M,contentEl:v});let _e=!1;a(()=>{v.value&&(I.value?Mt.set(v.value,I.value):Mt.delete(v.value))});function J(e){let t=e,n=new Set;for(;t;){let e=t.closest(`.v-overlay__content`);if(!e||n.has(e))return!1;if(e===v.value)return!0;n.add(e),t=Mt.get(e)??null}return!1}function Y(){let e=I.value;if(!e||!e.isConnected||e.closest(`.v-overlay__content`)||v.value?._clickOutside?.lastMousedownWasOutside)return;let t=P();if(!((!t||t===document.body)&&_e||t===e||e.contains(t)||J(t)))return;let n=e.parentElement,r=n?j(n):[],i;if(r.includes(e))i=e;else{let t=j(e);i=t.find(e=>e.tagName===`INPUT`||e.tagName===`TEXTAREA`)??t[0]}i?.focus({preventScroll:!0})}r(S,e=>{if(e){let e=P(),t=I.value;_e=!!t&&(e===t||t.contains(e)),v.value&&(v.value.inert=!1),v.value?._clickOutside&&(v.value._clickOutside.lastMousedownWasOutside=!1)}else v.value&&(v.value.inert=!0),Y()},{flush:`post`}),G&&r(S,e=>{e?window.addEventListener(`keydown`,be):window.removeEventListener(`keydown`,be)},{immediate:!0}),g(()=>{G&&window.removeEventListener(`keydown`,be)});function be(t){t.key===`Escape`&&A.value&&(v.value?.contains(P())||l(`keydown`,t),e.persistent?X():(S.value=!1,v.value?.contains(P())&&I.value?.focus()))}function xe(e){(e.key!==`Escape`||A.value)&&l(`keydown`,e)}let Te=Oe();ue(()=>e.closeOnBack,()=>{ke(Te,()=>{if(A.value&&S.value)return e.persistent?X():S.value=!1,!1})});let Ee=x();r(()=>S.value&&(e.absolute||e.contained)&&W.value==null,e=>{if(e){let e=ye(p.value);e&&e!==document.scrollingElement&&(Ee.value=e.scrollTop)}});function X(){e.noClickAnimation||v.value&&ve(v.value,[{transformOrigin:`center`},{transform:`scale(1.03)`},{transformOrigin:`center`}],{duration:150,easing:`cubic-bezier(0.4, 0, 0.2, 1)`})}function Ae(){l(`afterEnter`)}function je(){O(),te(),l(`afterLeave`)}return ae(()=>c(_,null,[n.activator?.({isActive:S.value,targetRef:V,props:d({ref:L},H.value,e.activatorProps)}),se.value&&D.value&&t(b,{disabled:!W.value,to:W.value},{default:()=>[c(`div`,d({class:[`v-overlay`,{"v-overlay--absolute":e.absolute||e.contained,"v-overlay--active":S.value,"v-overlay--contained":e.contained},le.value,C.value,T.value,e.class],style:[N.value,{"--v-overlay-opacity":e.opacity,top:R(Ee.value)},e.style],ref:p,onKeydown:xe},de,o),[t(Nt,d({color:k,modelValue:S.value&&!!e.scrim,ref:h},ne.value),null),t(De,{appear:!0,persisted:!0,transition:e.transition,target:z.value,onAfterEnter:Ae,onAfterLeave:je},{default:()=>[s(c(`div`,d({ref:v,class:[`v-overlay__content`,e.contentClass],style:[oe.value,fe.value]},U.value,e.contentProps),[n.default?.({isActive:S})]),[[w,S.value],[jt,{handler:he,closeConditional:ge,include:()=>S.value?[e.contextMenu&&!e.openOnClick?void 0:I.value,...Array.from(document.querySelectorAll(`.v-overlay__content`)).filter(J)]:[]}]])]})])]})])),{activatorEl:I,scrimEl:h,target:z,animateClick:X,contentEl:v,rootEl:p,globalTop:A,localTop:M,updateLocation:K,openedByHover:re}}});export{ot as a,xt as i,Pt as n,st as o,_t as r,Z as s,Ft as t};
@@ -0,0 +1 @@
1
+ import{D as e,E as t,Ht as n,Kt as r,On as i,St as a,Ut as o,Zn as s,_ as c,_n as l,b as u,bt as d,ct as f,er as p,et as m,ft as h,g,gn as _,it as v,k as y,mt as b,o as x,pn as S,qt as C,tr as w,tt as T,un as E,v as D,vn as O,w as k,wn as A,xn as j,xt as ee,y as M}from"./wlpNGAAZ.js";import{C as N,t as P,w as F}from"./Bp1wYuAu.js";import{c as te,u as ne}from"./BEX0oVSL.js";import{n as re,t as ie}from"./B6NDob-m.js";import{n as I,t as L}from"./Dnl_Q9LX.js";import{At as R,D as z,Kt as ae,Lt as oe,M as se,N as B,S as V,_t as H,c as ce,dt as U,i as W,l as le,p as G,s as K,t as q,u as J,v as ue,x as de}from"./DrEHkKjX.js";import{n as fe,t as pe}from"./DU1KpHiJ.js";import{c as Y,m as me,n as he,o as ge,s as _e,t as ve}from"./DqVTouT1.js";import{a as ye,i as be}from"./C2PH7r9_.js";import{n as xe}from"./N6Uxr2YO.js";import{a as Se,i as Ce,o as we,r as Te}from"./DJFQLDk5.js";import{t as Ee}from"./AXpHq_M6.js";import{a as X,i as Z,t as De}from"./C-dF6TjJ.js";import{t as Oe}from"./DebXB2Xn.js";import{t as ke}from"./DT1zmKvw.js";import{c as Ae,o as je}from"./BgBmuOuJ.js";import{a as Me,i as Ne,n as Pe,o as Fe,r as Ie,t as Le}from"./IhWbQWqt.js";import{t as Re}from"./D5vg-NJ4.js";import{t as ze}from"./R3rw3hPp.js";import{r as Be}from"./DgVB5umK.js";import{t as Ve}from"./Cuw0JSbz.js";import{a as He,i as Ue}from"./BEcvuouq.js";import{i as We,l as Ge,u as Ke}from"./D9unnd4n.js";import{t as qe}from"./D7JW3pi_.js";import{n as Je,t as Q}from"./CvtjhXJ1.js";import{n as Ye,t as Xe}from"./FzhpMR1D.js";import{t as Ze}from"./BOHl_j0c.js";import{t as Qe}from"./DOOLWZFN.js";import{t as $e}from"./B1lIMV_o.js";import{t as et}from"./Bk4XXIda.js";import{t as tt}from"./BJhRZpbP.js";import{C as nt,D as rt,Gt as it,Ht as at,Kt as ot,Ut as st,Wt as ct,Yt as lt,en as ut,qt as dt,rn as ft,t as pt,v as mt,w as ht,x as gt,y as _t}from"#entry";import{t as vt}from"./C_ix0rE_.js";import{t as yt}from"./BiGgsuAF.js";import{c as bt,s as xt}from"./BEu939QZ.js";import{n as St,t as Ct}from"./D3cKZbMy.js";import{t as wt}from"./BE_w8iyq.js";import{t as Tt}from"./Djb5b_0H.js";import{t as Et}from"./C9pCrKWL.js";import{t as Dt}from"./CL8kR7Jl.js";function Ot(e,t){return{contentHeight:g(()=>parseInt(Number(e.height)+(e.density===`prominent`?Number(e.height):0)-(e.density===`comfortable`?8:0)-(e.density===`compact`?16:0),10)),extensionHeight:g(()=>t.value?parseInt(Number(e.extensionHeight)+(e.density===`prominent`?Number(e.extensionHeight):0)-(e.density===`comfortable`?4:0)-(e.density===`compact`?8:0),10):0)}}var kt=V({text:String,...de(),...W()},`VToolbarTitle`),At=G()({name:`VToolbarTitle`,props:kt(),setup(t,{slots:n}){return J(()=>{let r=!!(n.default||n.text||t.text);return e(t.tag,{class:s([`v-toolbar-title`,t.class]),style:p(t.style)},{default:()=>[r&&c(`div`,{class:`v-toolbar-title__placeholder`},[n.text?n.text():t.text,n.default?.()])]})}),{}}}),jt=[null,`prominent`,`default`,`comfortable`,`compact`],Mt=V({absolute:Boolean,collapse:Boolean,collapsePosition:{type:String,default:`start`},color:String,density:{type:String,default:`default`,validator:e=>jt.includes(e)},extended:{type:Boolean,default:null},extensionHeight:{type:[Number,String],default:48},flat:Boolean,floating:Boolean,height:{type:[Number,String],default:64},image:String,title:String,...Ue(),...de(),...Ge(),...ve(),...pe(),...W({tag:`header`}),...K()},`VToolbar`),Nt=G()({name:`VToolbar`,props:Mt(),setup(t,{slots:n}){let{backgroundColorClasses:r,backgroundColorStyles:i}=q(()=>t.color),{borderClasses:a}=He(t),{elevationClasses:o}=Ke(t),{locationStyles:l}=he(t),{roundedClasses:u,roundedStyles:d}=fe(t),{themeClasses:f}=ce(t),{rtlClasses:m}=ge(),h=j(t.extended===null?!!n.extension?.():t.extended),{contentHeight:g,extensionHeight:_}=Ot(t,h);return ue({VBtn:{variant:`text`}}),J(()=>{let v=!!(t.title||n.title),y=!!(n.image||t.image),b=n.extension?.();return h.value=t.extended===null?!!b:t.extended,e(t.tag,{class:s([`v-toolbar`,`v-toolbar--collapse-${t.collapsePosition}`,{"v-toolbar--absolute":t.absolute,"v-toolbar--collapse":t.collapse,"v-toolbar--flat":t.flat,"v-toolbar--floating":t.floating,[`v-toolbar--density-${t.density}`]:!0},r.value,a.value,o.value,u.value,f.value,m.value,t.class]),style:p([i.value,l.value,d.value,t.style])},{default:()=>[y&&c(`div`,{key:`image`,class:`v-toolbar__image`},[n.image?e(Be,{key:`image-defaults`,disabled:!t.image,defaults:{VImg:{cover:!0,src:t.image}}},n.image):e(Ve,{key:`image-img`,cover:!0,src:t.image},null)]),e(Be,{defaults:{VTabs:{height:B(g.value)}}},{default:()=>[c(`div`,{class:`v-toolbar__content`,style:{height:B(g.value)}},[n.prepend&&c(`div`,{class:`v-toolbar__prepend`},[n.prepend?.()]),v&&e(At,{key:`title`,text:t.title},{text:n.title}),n.default?.(),n.append&&c(`div`,{class:`v-toolbar__append`},[n.append?.()])])]}),e(Be,{defaults:{VTabs:{height:B(_.value)}}},{default:()=>[e(Re,null,{default:()=>[h.value&&c(`div`,{class:`v-toolbar__extension`,style:{height:B(_.value)}},[b])]})]})]})}),{contentHeight:g,extensionHeight:_}}}),Pt=V({scrollTarget:{type:String},scrollThreshold:{type:[String,Number],default:300}},`scroll`);function Ft(e,t={}){let{canScroll:r,layoutSize:i}=t,a=0,o=0,s=O(null),c=j(0),l=j(0),u=j(0),d=j(!1),p=j(!1),m=j(!1),h=j(!1),_=j(!0),y=g(()=>Number(e.scrollThreshold)),b=g(()=>se((y.value-c.value)/y.value||0));function x(e){return{clientHeight:`window`in e?window.innerHeight:e.clientHeight,scrollHeight:`window`in e?document.documentElement.scrollHeight:e.scrollHeight}}function S(){let e=s.value;if(!e)return;let{clientHeight:t,scrollHeight:n}=x(e),r=n-t,a=i?.value||0,o=y.value+a;_.value=r>o}function C(){S()}function w(){let e=s.value;if(!e||r&&!r.value)return;a=c.value,c.value=`window`in e?e.pageYOffset:e.scrollTop;let t=e instanceof Window?document.documentElement.scrollHeight:e.scrollHeight;o!==t&&(t>o&&S(),o=t),p.value=c.value<a,u.value=Math.abs(c.value-y.value);let{clientHeight:n,scrollHeight:i}=x(e),l=c.value+n>=i-5;!p.value&&l&&c.value>=y.value&&_.value&&(h.value=!0);let d=Math.abs(c.value-a)>100,f=c.value<=5;(p.value&&a-c.value>1&&!l||d&&c.value<y.value||f)&&(h.value=!1),m.value=l}return n(p,()=>{l.value=l.value||c.value}),n(d,()=>{l.value=0}),f(()=>{n(()=>e.scrollTarget,e=>{let t=e?document.querySelector(e):window;t?t!==s.value&&(s.value?.removeEventListener(`scroll`,w),s.value=t,s.value.addEventListener(`scroll`,w,{passive:!0}),Promise.resolve().then(()=>{S()})):ae(`Unable to locate element with identifier ${e}`)},{immediate:!0}),window.addEventListener(`resize`,C,{passive:!0})}),v(()=>{s.value?.removeEventListener(`scroll`,w),window.removeEventListener(`resize`,C)}),r&&n(r,w,{immediate:!0}),{scrollThreshold:y,currentScroll:c,currentThreshold:u,isScrollActive:d,scrollRatio:b,isScrollingUp:p,savedScroll:l,isAtBottom:m,reachedBottomWhileScrollingDown:h,hasEnoughScrollableSpace:_}}var It=V({scrollBehavior:String,modelValue:{type:Boolean,default:!0},location:{type:String,default:`top`,validator:e=>[`top`,`bottom`].includes(e)},...U(Mt(),[`location`]),...Ne(),...Pt(),height:{type:[Number,String],default:64}},`VAppBar`),Lt=G()({name:`VAppBar`,props:It(),emits:{"update:modelValue":e=>!0},setup(t,{slots:n}){let r=O(),i=_e(t,`modelValue`),a=g(()=>{let e=new Set(t.scrollBehavior?.split(` `)??[]);return{hide:e.has(`hide`),fullyHide:e.has(`fully-hide`),inverted:e.has(`inverted`),collapse:e.has(`collapse`),elevate:e.has(`elevate`),fadeImage:e.has(`fade-image`)}}),s=g(()=>{let e=a.value;return e.hide||e.fullyHide||e.inverted||e.collapse||e.elevate||e.fadeImage||!i.value}),c=Ot(t,A(()=>t.extended??!!n.extension)),l=c.contentHeight,u=A(()=>r.value?.extensionHeight??c.extensionHeight.value),d=A(()=>l.value+u.value),{currentScroll:f,scrollThreshold:p,isScrollingUp:h,scrollRatio:_,isAtBottom:v,reachedBottomWhileScrollingDown:y,hasEnoughScrollableSpace:b}=Ft(t,{canScroll:s,layoutSize:d}),x=A(()=>a.value.hide||a.value.fullyHide),S=g(()=>t.collapse||a.value.collapse&&(a.value.inverted?_.value>0:_.value===0)),C=g(()=>t.flat||a.value.fullyHide&&!i.value||a.value.elevate&&(a.value.inverted?f.value>0:f.value===0)),w=g(()=>a.value.fadeImage?a.value.inverted?1-_.value:_.value:void 0),T=g(()=>a.value.hide&&a.value.inverted?0:x.value?f.value<p.value||a.value.fullyHide?d.value:l.value:d.value);Y(()=>!!t.scrollBehavior,()=>{o(()=>{x.value?a.value.inverted?i.value=f.value>p.value:b.value?y.value?i.value=!1:i.value=h.value&&!v.value||f.value<p.value:i.value=!0:i.value=!0})});let{ssrBootStyles:E}=qe(),{layoutItemStyles:D}=Fe({id:t.name,order:g(()=>parseInt(t.order,10)),position:A(()=>t.location),layoutSize:T,elementSize:j(void 0),active:i,absolute:A(()=>t.absolute)});return J(()=>{let i=U(Nt.filterProps(t),[`location`]);return e(Nt,m({ref:r,class:[`v-app-bar`,{"v-app-bar--bottom":t.location===`bottom`},t.class],style:[{...D.value,"--v-toolbar-image-opacity":w.value,height:void 0,...E.value},t.style]},i,{collapse:S.value,flat:C.value}),n)}),{}}}),Rt=V({...U(Je({icon:`$menu`,variant:`text`}),[`spaced`])},`VAppBarNavIcon`),zt=G()({name:`VAppBarNavIcon`,props:Rt(),setup(t,{slots:n}){return J(()=>e(Q,m(t,{class:[`v-app-bar-nav-icon`]}),n)),{}}}),Bt=G()({name:`VAppBarTitle`,props:kt(),setup(t,{slots:n}){return J(()=>e(At,m(t,{class:`v-app-bar-title`}),n)),{}}}),Vt=V({app:Boolean,color:String,height:{type:[Number,String],default:`auto`},...Ue(),...de(),...Ge(),...Ne(),...pe(),...W({tag:`footer`}),...K()},`VFooter`),Ht=G()({name:`VFooter`,props:Vt(),setup(t,{slots:n}){let r=O(),{themeClasses:i}=ce(t),{backgroundColorClasses:a,backgroundColorStyles:c}=q(()=>t.color),{borderClasses:l}=He(t),{elevationClasses:u}=Ke(t),{roundedClasses:d,roundedStyles:f}=fe(t),m=j(32),h=j();xe(h,e=>{e.length&&(m.value=e[0].target.clientHeight)});let _=g(()=>t.height===`auto`?m.value:t.height);return Y(()=>t.app,()=>{let e=Fe({id:t.name,order:g(()=>parseInt(t.order,10)),position:A(()=>`bottom`),layoutSize:_,elementSize:g(()=>t.height===`auto`?void 0:_.value),active:A(()=>t.app),absolute:A(()=>t.absolute)});o(()=>{r.value=e.layoutItemStyles.value})}),J(()=>e(t.tag,{ref:h,class:s([`v-footer`,i.value,a.value,l.value,u.value,d.value,t.class]),style:p([c.value,t.app?r.value:{height:B(t.height)},f.value,t.style])},n)),{}}});function Ut({rootEl:e,isSticky:t,layoutItemStyles:r}){let i=j(!1),a=j(0),o=g(()=>{let e=R(i.value)?`top`:i.value;return[t.value?{top:`auto`,bottom:`auto`,height:void 0}:void 0,i.value?{[e]:B(a.value)}:{top:r.value.top}]});f(()=>{n(t,e=>{e?window.addEventListener(`scroll`,c,{passive:!0}):window.removeEventListener(`scroll`,c)},{immediate:!0})}),v(()=>{window.removeEventListener(`scroll`,c)});let s=0;function c(){let t=s>window.scrollY?`up`:`down`,n=e.value.getBoundingClientRect(),o=parseFloat(r.value.top??0),c=window.scrollY-Math.max(0,a.value-o),l=n.height+Math.max(a.value,o)-window.scrollY-window.innerHeight,u=parseFloat(getComputedStyle(e.value).getPropertyValue(`--v-body-scroll-y`))||0;n.height<window.innerHeight-o?(i.value=`top`,a.value=o):t===`up`&&i.value===`bottom`||t===`down`&&i.value===`top`?(a.value=window.scrollY+n.top-u,i.value=!0):t===`down`&&l<=0?(a.value=0,i.value=`bottom`):t===`up`&&c<=0&&(u?i.value!==`top`&&(a.value=-c+u+o,i.value=`top`):(a.value=n.top+c,i.value=`top`)),s=window.scrollY}return{isStuck:i,stickyStyles:o}}var Wt=100,Gt=20;function Kt(e){return(e<0?-1:1)*Math.sqrt(Math.abs(e))*1.41421356237}function qt(e){if(e.length<2)return 0;if(e.length===2)return e[1].t===e[0].t?0:(e[1].d-e[0].d)/(e[1].t-e[0].t);let t=0;for(let n=e.length-1;n>0;n--){if(e[n].t===e[n-1].t)continue;let r=Kt(t),i=(e[n].d-e[n-1].d)/(e[n].t-e[n-1].t);t+=(i-r)*Math.abs(i),n===e.length-1&&(t*=.5)}return Kt(t)*1e3}function Jt(){let e={};function t(t){Array.from(t.changedTouches).forEach(n=>{(e[n.identifier]??(e[n.identifier]=new z(Gt))).push([t.timeStamp,n])})}function n(t){Array.from(t.changedTouches).forEach(t=>{delete e[t.identifier]})}function r(t){let n=e[t]?.values().reverse();if(!n)throw Error(`No samples for touch id ${t}`);let r=n[0],i=[],a=[];for(let e of n){if(r[0]-e[0]>Wt)break;i.push({t:e[0],d:e[1].clientX}),a.push({t:e[0],d:e[1].clientY})}return{x:qt(i),y:qt(a),get direction(){let{x:e,y:t}=this,[n,r]=[Math.abs(e),Math.abs(t)];return n>r&&e>=0?`right`:n>r&&e<=0?`left`:r>n&&t>=0?`down`:r>n&&t<=0?`up`:Yt()}}}return{addMovement:t,endTouch:n,getVelocity:r}}function Yt(){throw Error()}function Xt({el:e,isActive:t,isTemporary:n,width:r,touchless:i,position:a}){f(()=>{window.addEventListener(`touchstart`,x,{passive:!0}),window.addEventListener(`touchmove`,C,{passive:!1}),window.addEventListener(`touchend`,w,{passive:!0})}),v(()=>{window.removeEventListener(`touchstart`,x),window.removeEventListener(`touchmove`,C),window.removeEventListener(`touchend`,w)});let s=g(()=>[`left`,`right`].includes(a.value)),{addMovement:c,endTouch:l,getVelocity:u}=Jt(),d=!1,p=j(!1),m=j(0),h=j(0),_;function y(e,t){return(a.value===`left`?e:a.value===`right`?document.documentElement.clientWidth-e:a.value===`top`?e:a.value===`bottom`?document.documentElement.clientHeight-e:$())-(t?r.value:0)}function b(e,t=!0){let n=a.value===`left`?(e-h.value)/r.value:a.value===`right`?(document.documentElement.clientWidth-e-h.value)/r.value:a.value===`top`?(e-h.value)/r.value:a.value===`bottom`?(document.documentElement.clientHeight-e-h.value)/r.value:$();return t?se(n):n}function x(e){if(i.value)return;let o=e.changedTouches[0].clientX,u=e.changedTouches[0].clientY,f=a.value===`left`?o<25:a.value===`right`?o>document.documentElement.clientWidth-25:a.value===`top`?u<25:a.value===`bottom`?u>document.documentElement.clientHeight-25:$(),p=t.value&&(a.value===`left`?o<r.value:a.value===`right`?o>document.documentElement.clientWidth-r.value:a.value===`top`?u<r.value:a.value===`bottom`?u>document.documentElement.clientHeight-r.value:$());(f||p||t.value&&n.value)&&(_=[o,u],h.value=y(s.value?o:u,t.value),m.value=b(s.value?o:u),d=h.value>-20&&h.value<80,l(e),c(e))}function C(e){let t=e.changedTouches[0].clientX,n=e.changedTouches[0].clientY;if(d){if(!e.cancelable){d=!1;return}let r=Math.abs(t-_[0]),i=Math.abs(n-_[1]);(s.value?r>i&&r>3:i>r&&i>3)?(p.value=!0,d=!1):(s.value?i:r)>3&&(d=!1)}if(!p.value)return;e.preventDefault(),c(e);let r=b(s.value?t:n,!1);m.value=Math.max(0,Math.min(1,r)),r>1?h.value=y(s.value?t:n,!0):r<0&&(h.value=y(s.value?t:n,!1))}function w(e){if(d=!1,!p.value)return;c(e),p.value=!1;let n=u(e.changedTouches[0].identifier),r=Math.abs(n.x),i=Math.abs(n.y);t.value=(s.value?r>i&&r>400:i>r&&i>3)?n.direction===({left:`right`,right:`left`,top:`down`,bottom:`up`}[a.value]||$()):m.value>.5}let T=g(()=>p.value?{transform:a.value===`left`?`translateX(calc(-100% + ${m.value*r.value}px))`:a.value===`right`?`translateX(calc(100% - ${m.value*r.value}px))`:a.value===`top`?`translateY(calc(-100% + ${m.value*r.value}px))`:a.value===`bottom`?`translateY(calc(100% - ${m.value*r.value}px))`:$(),transition:`none`}:void 0);return Y(p,()=>{let t=e.value?.style.transform??null,n=e.value?.style.transition??null;o(()=>{e.value?.style.setProperty(`transform`,T.value?.transform||`none`),e.value?.style.setProperty(`transition`,T.value?.transition||null)}),S(()=>{e.value?.style.setProperty(`transform`,t),e.value?.style.setProperty(`transition`,n)})}),{isDragging:p,dragProgress:m,dragStyles:T}}function $(){throw Error()}var Zt=[`start`,`end`,`left`,`right`,`top`,`bottom`],Qt=V({color:String,disableResizeWatcher:Boolean,disableRouteWatcher:Boolean,expanded:Boolean,expandOnHover:Boolean,floating:Boolean,modal:Boolean,modelValue:{type:Boolean,default:null},permanent:Boolean,rail:{type:Boolean,default:null},railWidth:{type:[Number,String],default:56},scrim:{type:[Boolean,String],default:!0},image:String,temporary:Boolean,persistent:Boolean,touchless:Boolean,width:{type:[Number,String],default:256},location:{type:String,default:`start`,validator:e=>Zt.includes(e)},sticky:Boolean,...Ue(),...de(),...Se(),...be({mobile:null}),...Ge(),...Ne(),...pe(),...U(Te(),[`disableInitialFocus`]),...W({tag:`nav`}),...K()},`VNavigationDrawer`),$t=G()({name:`VNavigationDrawer`,props:Qt(),emits:{"update:modelValue":e=>!0,"update:rail":e=>!0,"update:expanded":e=>!0},setup(t,{attrs:r,emit:i,slots:a}){let{isRtl:o}=ge(),{themeClasses:s}=ce(t),{borderClasses:u}=He(t),{backgroundColorClasses:d,backgroundColorStyles:f}=q(()=>t.color),{elevationClasses:p}=Ke(t),{displayClasses:h,mobile:_}=ye(t),{roundedClasses:v,roundedStyles:y}=fe(t),b=We(),S=_e(t,`modelValue`,null,e=>!!e),{ssrBootStyles:C}=qe(),{scopeId:w}=Ee(),E=O(),D=j(!1),k=_e(t,`expanded`),{runOpenDelay:ee,runCloseDelay:M}=we(t,e=>{D.value=e,t.expandOnHover&&(k.value=e)}),{layoutRect:N}=Me(),F=g(()=>me(t.location,o.value)),te=g(()=>F.value===`top`||F.value===`bottom`),ne=g(()=>(te.value?N.value?.height:N.value?.width)??0),re=g(()=>t.rail&&!k.value?t.railWidth:t.width),ie=g(()=>H(re.value,ne.value)),I=A(()=>t.persistent),L=g(()=>!t.permanent&&(_.value||t.temporary)),R=g(()=>t.sticky&&!L.value&&F.value!==`bottom`);Ce(t,{isActive:S,localTop:L,contentEl:E}),Y(()=>t.expandOnHover&&t.rail!=null,()=>{n(k,e=>i(`update:rail`,!e))}),Y(()=>!t.disableResizeWatcher,()=>{n(L,e=>!t.permanent&&T(()=>S.value=!e))}),Y(()=>!t.disableRouteWatcher&&!!b,()=>{n(b.currentRoute,()=>L.value&&(S.value=!1))}),n(()=>t.permanent,e=>{e&&(S.value=!0)}),t.modelValue==null&&!L.value&&(S.value=t.permanent||!_.value);let{isDragging:z,dragProgress:ae}=Xt({el:E,isActive:S,isTemporary:L,width:ie,touchless:A(()=>t.touchless),position:F}),se=g(()=>{let e=L.value?0:t.rail?t.railWidth:t.width;return z.value?H(e,ne.value)*ae.value:e}),{layoutItemStyles:B,layoutItemScrimStyles:V}=Fe({id:t.name,order:g(()=>parseInt(t.order,10)),position:F,layoutSize:se,elementSize:re,active:l(S),disableTransitions:A(()=>z.value),absolute:g(()=>t.absolute||R.value&&!oe(U.value))}),{isStuck:U,stickyStyles:W}=Ut({rootEl:E,isSticky:R,layoutItemStyles:B}),le=q(()=>oe(t.scrim)?t.scrim:null),G=g(()=>!!t.scrim&&(L.value?z.value||S.value:t.modal&&S.value&&!!t.rail&&k.value)),K=g(()=>({...z.value?{opacity:`calc(var(--v-navigation-drawer-scrim-opacity, 0.2) * ${ae.value})`,transition:`none`}:void 0,...V.value}));return ue({VList:{bgColor:`transparent`},VNavigationBtn:{stacked:A(()=>!!t.rail&&!k.value)}}),J(()=>{let n=a.image||t.image;return c(x,null,[e(t.tag,m({ref:E,onMouseenter:ee,onMouseleave:M,class:[`v-navigation-drawer`,`v-navigation-drawer--${F.value}`,{"v-navigation-drawer--expand-on-hover":t.expandOnHover,"v-navigation-drawer--expanded":k.value,"v-navigation-drawer--floating":t.floating,"v-navigation-drawer--is-hovering":D.value,"v-navigation-drawer--rail":t.rail,"v-navigation-drawer--temporary":L.value,"v-navigation-drawer--persistent":I.value,"v-navigation-drawer--active":S.value,"v-navigation-drawer--sticky":R.value},s.value,d.value,u.value,h.value,p.value,v.value,t.class],style:[f.value,B.value,C.value,W.value,y.value,t.style],inert:!S.value},w,r),{default:()=>[n&&c(`div`,{key:`image`,class:`v-navigation-drawer__img`},[a.image?e(Be,{key:`image-defaults`,disabled:!t.image,defaults:{VImg:{alt:``,cover:!0,height:`inherit`,src:t.image}}},a.image):e(Ve,{key:`image-img`,alt:``,cover:!0,height:`inherit`,src:t.image},null)]),a.prepend&&c(`div`,{class:`v-navigation-drawer__prepend`},[a.prepend?.()]),c(`div`,{class:`v-navigation-drawer__content`},[a.default?.()]),a.append&&c(`div`,{class:`v-navigation-drawer__append`},[a.append?.()])]}),e(P,{name:`fade-transition`,appear:!0},{default:()=>[G.value&&c(`div`,m({class:[`v-navigation-drawer__scrim`,le.backgroundColorClasses.value],style:[K.value,le.backgroundColorStyles.value],onClick:()=>{I.value||(L.value?S.value=!1:k.value=!1)}},w),null)]})])}),{isStuck:U}}});function en(){let e=at(),t=I(`vector.inbox.unread`,()=>0),n=I(`vector.inbox.items`,()=>[]);async function r(){let r=await e(`/vector/notifications`);n.value=r.data,t.value=r.unread}async function i(t){await e(`/vector/notifications/${t}/read`,{method:`POST`}),await r()}async function a(){await e(`/vector/notifications/read-all`,{method:`POST`}),await r()}return{unread:t,items:n,refresh:r,markRead:i,markAllRead:a}}var tn={class:`text-caption text-medium-emphasis`},nn=Object.assign(y({__name:`Inbox`,setup(r){let a=ke(),o=en(),l=O(!1),{t:p}=pt();f(()=>o.refresh().catch(()=>void 0));let{pause:g}=bt(()=>o.refresh().catch(()=>void 0),3e4);h(g),n(l,e=>{e&&o.refresh().catch(()=>void 0)});async function _(e,t){try{await o.markRead(e),l.value=!1,t&&wt(t)&&await te(`${a.vector.basePath}${t}`)}catch(e){L().error(st(e))}}return(n,r)=>(b(),D(ze,{modelValue:i(l),"onUpdate:modelValue":r[1]||=e=>E(l)?l.value=e:null,"close-on-content-click":!1,location:`bottom end`,width:`380`},{activator:C(({props:t})=>[e(Q,m(t,{icon:``,variant:`text`,"aria-label":i(p)(`shell.inbox.title`)}),{default:C(()=>[e(Ye,{content:i(o).unread.value,"model-value":i(o).unread.value>0,color:`error`},{default:C(()=>[e(Oe,{icon:`mdi-bell-outline`})]),_:1},8,[`content`,`model-value`])]),_:1},16,[`aria-label`])]),default:C(()=>[e(mt,null,{default:C(()=>[e(gt,{class:`d-flex align-center text-subtitle-1`},{default:C(()=>[t(w(i(p)(`shell.inbox.title`))+` `,1),e(tt),i(o).unread.value?(b(),D(Q,{key:0,size:`small`,variant:`text`,onClick:r[0]||=e=>i(o).markAllRead()},{default:C(()=>[t(w(i(p)(`shell.inbox.markAllRead`)),1)]),_:1})):M(``,!0)]),_:1}),e(Qe),e(De,{density:`compact`,"max-height":`420`,style:{"overflow-y":`auto`}},{default:C(()=>[(b(!0),u(x,null,d(i(o).items.value,t=>(b(),D(X,{key:t.id,title:t.title,subtitle:t.body??void 0,class:s({"bg-surface-light":!t.readAt}),onClick:e=>_(t.id,t.link)},{prepend:C(()=>[e(Oe,{icon:{info:`mdi-information-outline`,success:`mdi-check-circle-outline`,warning:`mdi-alert-outline`,error:`mdi-alert-circle-outline`}[t.kind],color:t.kind===`info`?void 0:t.kind},null,8,[`icon`,`color`])]),append:C(()=>[c(`span`,tn,w((`formatDateTime`in n?n.formatDateTime:i(je))(t.createdAt)),1)]),_:2},1032,[`title`,`subtitle`,`class`,`onClick`]))),128)),i(o).items.value.length===0?(b(),D(X,{key:0,title:i(p)(`shell.inbox.empty`),disabled:``},null,8,[`title`])):M(``,!0)]),_:1})]),_:1})]),_:1},8,[`modelValue`]))}}),{__name:`VxInbox`}),rn=Object.assign(y({__name:`VersionBanner`,setup(e){let{current:n,expected:r,visible:a,remedy:o,dismiss:s}=it(),{t:c}=pt();return(e,l)=>i(a)?(b(),D(rt,{key:0,type:`warning`,variant:`tonal`,density:`compact`,rounded:`0`,icon:`mdi-update`,class:`px-6 vx-version-banner`,closable:``,"close-label":i(c)(`shell.version.dismiss`),"onClick:close":i(s)},{default:C(()=>[t(w(i(c)(`shell.version.mismatch`,{current:i(n),expected:i(r)??``}))+` `+w(i(o)),1)]),_:1},8,[`close-label`,`onClick:close`])):M(``,!0)}}),{__name:`VxVersionBanner`}),an={key:0},on=Object.assign(y({__name:`Confirm`,setup(n){let{t:r}=pt(),{pending:a,typed:o,canConfirm:c,settle:l}=Tt(),d=g({get:()=>a.value!==null,set:e=>{e||l(!1)}});return(n,f)=>(b(),D(ht,{modelValue:i(d),"onUpdate:modelValue":f[4]||=e=>E(d)?d.value=e:null,"max-width":`440`,persistent:``},{default:C(()=>[i(a)?(b(),D(mt,{key:0},{default:C(()=>[e(gt,null,{default:C(()=>[t(w(i(a).title),1)]),_:1}),i(a).text||i(a).requireText!==void 0?(b(),D(_t,{key:0},{default:C(()=>[i(a).text?(b(),u(`p`,an,w(i(a).text),1)):M(``,!0),i(a).requireText===void 0?M(``,!0):(b(),D($e,{key:1,modelValue:i(o),"onUpdate:modelValue":f[0]||=e=>E(o)?o.value=e:null,label:i(a).requireLabel,autocomplete:`off`,spellcheck:`false`,autofocus:``,density:`compact`,"hide-details":``,class:s({"mt-3":i(a).text}),"data-field":`confirm-text`,onKeydown:f[1]||=N(F(e=>i(l)(!0),[`prevent`]),[`enter`])},null,8,[`modelValue`,`label`,`class`]))]),_:1})):M(``,!0),e(nt,null,{default:C(()=>[e(tt),e(Q,{variant:`text`,onClick:f[2]||=e=>i(l)(!1)},{default:C(()=>[t(w(i(a).cancelText??i(r)(`common.cancel`)),1)]),_:1}),e(Q,{color:i(a).destructive?`error`:`primary`,disabled:!i(c),"data-action":`confirm`,onClick:f[3]||=e=>i(l)(!0)},{default:C(()=>[t(w(i(a).confirmText??i(r)(`common.confirm`)),1)]),_:1},8,[`color`,`disabled`])]),_:1})]),_:1})):M(``,!0)]),_:1},8,[`modelValue`]))}}),{__name:`VxConfirm`}),sn=Object.assign(y({__name:`CommandPalette`,setup(r,{expose:a}){let o=ke(),s=at(),{menu:c,resource:l}=ct(),f=O(!1),p=O(``),m=O([]),h=O(!1),v=0,{t:y}=pt(),S=xt(async e=>{let t=++v,n=e.trim();if(n===``)m.value=[];else{h.value=!0;try{let e=await s(`/vector/search`,{query:{q:n}});t===v&&(m.value=e.results)}finally{t===v&&(h.value=!1)}}},200);n(p,e=>S(e??``)),n(f,e=>{e||(p.value=``,m.value=[])});let T=e=>`${e.resource}-${e.id}`;function k(e){let t=l(e.resource),n=t?.fields.find(e=>e.name===t.searchResult?.subtitle),r=e.subtitle??null;if(r!==null&&n?.type===`enum`)r=n.options?.find(e=>String(e.value)===r)?.label??r;else if(r!==null&&n?.type===`number`&&r!==``&&!Number.isNaN(Number(r))){let e=yt(n).decimals;r=Ae(Number(r),typeof e==`number`?e:void 0)}return[r,e.resourceLabel].filter(Boolean).join(` · `)}let A=_({});n(m,e=>{for(let e of Object.keys(A))delete A[e];for(let t of e)t.image&&s(`/vector/r/${encodeURIComponent(t.resource)}/${encodeURIComponent(String(t.id))}/files/${encodeURIComponent(t.image)}`,{responseType:`blob`}).then(vt).then(e=>{m.value.includes(t)&&(A[T(t)]=e)}).catch(()=>{})});let j=lt(),ee=g(()=>Object.entries(j.value).map(([e,t])=>({name:e,title:dt(t.title),icon:t.icon})).filter(e=>(p.value??``).trim()===``||e.title.toLowerCase().includes((p.value??``).trim().toLowerCase()))),N=g(()=>c.value.flatMap(e=>e.items).filter(e=>(p.value??``).trim()===``||e.label.toLowerCase().includes((p.value??``).trim().toLowerCase())));function P(e){f.value=!1,te(`${o.vector.basePath}${e}`)}return Ct(window,`keydown`,e=>{(e.metaKey||e.ctrlKey)&&e.key.toLowerCase()===`k`&&(e.preventDefault(),f.value=!f.value)}),a({open:f}),(n,r)=>(b(),D(ht,{modelValue:i(f),"onUpdate:modelValue":r[1]||=e=>E(f)?f.value=e:null,"max-width":`600`,scrollable:``},{default:C(()=>[e(mt,null,{default:C(()=>[e($e,{modelValue:i(p),"onUpdate:modelValue":r[0]||=e=>E(p)?p.value=e:null,autofocus:``,variant:`solo`,flat:``,placeholder:i(y)(`shell.palette.placeholder`),"aria-label":i(y)(`common.search`),"prepend-inner-icon":`mdi-magnify`,loading:i(h),"hide-details":``,clearable:``,class:`flex-grow-0`},null,8,[`modelValue`,`placeholder`,`aria-label`,`loading`]),e(Qe),e(_t,{class:`pa-0`,style:{"max-height":`420px`}},{default:C(()=>[e(De,{density:`compact`},{default:C(()=>[i(m).length?(b(),u(x,{key:0},[e(Z,null,{default:C(()=>[t(w(i(y)(`shell.palette.records`)),1)]),_:1}),(b(!0),u(x,null,d(i(m),t=>(b(),D(X,{key:T(t),title:t.title,subtitle:k(t),onClick:e=>P(`/r/${t.resource}/${encodeURIComponent(String(t.id))}`)},{prepend:C(()=>[i(A)[T(t)]?(b(),D(Xe,{key:0,rounded:``,size:`32`,class:`me-4`},{default:C(()=>[e(Ve,{src:i(A)[T(t)],alt:``,cover:``},null,8,[`src`])]),_:2},1024)):(b(),D(Oe,{key:1,icon:`mdi-file-document-outline`}))]),_:2},1032,[`title`,`subtitle`,`onClick`]))),128))],64)):M(``,!0),e(Z,null,{default:C(()=>[t(w(i(y)(`shell.palette.resources`)),1)]),_:1}),(b(!0),u(x,null,d(i(N),e=>(b(),D(X,{key:e.slug,title:e.label,"prepend-icon":e.icon??`mdi-table`,onClick:t=>P(`/r/${e.slug}`)},null,8,[`title`,`prepend-icon`,`onClick`]))),128)),i(ee).length?(b(),u(x,{key:1},[e(Z,null,{default:C(()=>[t(w(i(y)(`shell.nav.pages`)),1)]),_:1}),(b(!0),u(x,null,d(i(ee),e=>(b(),D(X,{key:e.name,title:e.title,"prepend-icon":e.icon??`mdi-file-document-outline`,onClick:t=>P(`/p/${e.name}`)},null,8,[`title`,`prepend-icon`,`onClick`]))),128))],64)):M(``,!0),(i(p)??``).trim()&&!i(h)&&i(m).length===0?(b(),D(X,{key:2,title:i(y)(`shell.palette.noMatch`),disabled:``},null,8,[`title`])):M(``,!0)]),_:1})]),_:1})]),_:1})]),_:1},8,[`modelValue`]))}}),{__name:`VxCommandPalette`});function cn(){let e=ke(),{schema:t}=ct(),n=le(),r=I(`vector.branding.applied`,()=>``),i=window.__VECTOR__?.branding??null,a=g(()=>({title:e.vector.brand.title,logoUrl:null,primaryColor:null,primaryColorDark:null,theme:null,footerText:null,...t.value?.branding??i}));function o(){let e=a.value,t=JSON.stringify(e);r.value!==t&&(e.primaryColor&&(n.themes.value.light.colors.primary=e.primaryColor),e.primaryColorDark&&(n.themes.value.dark.colors.primary=e.primaryColorDark),r.value===``&&e.theme&&e.theme!==`system`&&n.change(e.theme),r.value=t)}return{branding:a,apply:o}}function ln(e){let t=ke().vector.idleMinutes;if(!(t>0))return;let r=t*6e4,{idle:i,lastActive:a,reset:o}=St(r,{listenForVisibilityChange:!1}),s=!1,c=()=>{s||(s=!0,e())};n(i,e=>{e&&c()},{flush:`sync`}),Ct(document,`visibilitychange`,()=>{document.visibilityState===`visible`&&(Date.now()-a.value>=r?c():o())})}var un=[`lang`,`dir`],dn=y({__name:`vector`,async setup(o){let s,l,p=ke(),h=ie(),_=le(),v=O(null),{schema:y,menu:S,load:T,clear:A}=ct(),{branding:j,apply:N}=cn(),P=O(null),{t:F,noun:I}=pt();N(),[s,l]=r(()=>T()),await s,l(),N(),n(j,N);let R=Et();n(()=>y.value?.i18n,e=>R.adopt(e),{immediate:!0});let z=g(()=>R.locales.value.find(e=>e.code===R.current.value)??null);async function ae(e){try{await R.choose(e)}catch(e){L().error(F(`shell.languageFailed`,{error:st(e)})),await T(!0).catch(()=>void 0)}}ft({titleTemplate:e=>e?F(`shell.titleTemplate`,{title:e,brand:j.value.title}):j.value.title});let oe=at(),se=ne(),B=O({});async function V(){if(!document.hidden)try{B.value=(await oe(`/vector/badges`)).data}catch{}}f(V),bt(V,6e4),n(()=>se.path,V);let H=e=>(B.value[e]?.count??0)>0?B.value[e]:void 0;function ce(){_.toggle()}let U=re();h.restore();let W=Dt();f(()=>W.refresh().catch(()=>void 0));async function G(){try{await W.stop(),W.impersonator.value=null,await te(p.vector.basePath||`/`)}catch(e){L().error(st(e))}}ln(()=>q(`idle`));function K(){return q()}async function q(e){if(U.hosted&&U.logoutUrl){let e=document.createElement(`form`);e.method=`post`,e.action=U.logoutUrl;let t=document.createElement(`input`);t.type=`hidden`,t.name=`_token`,t.value=U.csrfToken??``,e.appendChild(t),document.body.appendChild(e),e.submit()}else await h.logout(),A(),ot().clear(),await te({path:`${p.vector.basePath||``}/login`,query:e===`idle`?{reason:e,redirect:ne().fullPath}:{}})}let J=lt(),ue=g(()=>{let e=new Map;for(let[t,n]of Object.entries(J.value)){let r=dt(n.group)??F(`shell.nav.pages`);e.set(r,[...e.get(r)??[],{name:t,title:dt(n.title),icon:n.icon}])}return[...e.entries()].map(([e,t])=>({label:e,items:t}))});return(n,r)=>{let o=nn,s=rn,l=a(`i18n-t`),f=Le,g=on,_=sn;return b(),D(Ie,null,{default:C(()=>[e($t,{modelValue:i(v),"onUpdate:modelValue":r[0]||=e=>E(v)?v.value=e:null},{default:C(()=>[e(X,{title:i(j).title,subtitle:i(F)(`shell.brandSubtitle`),class:`py-3`},k({_:2},[i(j).logoUrl?{name:`prepend`,fn:C(()=>[e(Xe,{rounded:`0`,size:`36`},{default:C(()=>[e(Ve,{src:i(j).logoUrl,alt:i(j).title},null,8,[`src`,`alt`])]),_:1})]),key:`0`}:void 0]),1032,[`title`,`subtitle`]),e(Qe),e(De,{nav:``,density:`compact`,role:`navigation`,"aria-label":i(F)(`shell.nav.main`)},{default:C(()=>[e(X,{to:i(p).vector.basePath||`/`,"prepend-icon":`mdi-view-dashboard-outline`,title:i(F)(`shell.nav.dashboard`),exact:``},null,8,[`to`,`title`]),(b(!0),u(x,null,d((i(y)?.dashboards??[]).filter(e=>e.name!==`main`),e=>(b(),D(X,{key:e.name,to:`${i(p).vector.basePath}/d/${e.name}`,"prepend-icon":e.icon??`mdi-view-dashboard-outline`,title:e.label},null,8,[`to`,`prepend-icon`,`title`]))),128)),(b(!0),u(x,null,d(i(S),r=>(b(),u(x,{key:r.label},[e(Z,null,{default:C(()=>[t(w(r.label),1)]),_:2},1024),(b(!0),u(x,null,d(r.items,r=>(b(),D(X,{key:r.slug,to:`${i(p).vector.basePath}/r/${r.slug}`,"prepend-icon":r.icon??`mdi-table`,title:r.label},k({_:2},[H(r.slug)?{name:`append`,fn:C(()=>[e(Ze,{size:`x-small`,variant:`flat`,label:``,color:H(r.slug).color,"aria-label":i(F)(`shell.nav.badge`,{count:H(r.slug).count,label:H(r.slug).label??i(I)(r.label)})},{default:C(()=>[t(w((`formatNumber`in n?n.formatNumber:i(Ae))(H(r.slug).count)),1)]),_:2},1032,[`color`,`aria-label`])]),key:`0`}:void 0]),1032,[`to`,`prepend-icon`,`title`]))),128))],64))),128)),(b(!0),u(x,null,d(i(ue),n=>(b(),u(x,{key:`pages-${n.label}`},[e(Z,null,{default:C(()=>[t(w(n.label),1)]),_:2},1024),(b(!0),u(x,null,d(n.items,e=>(b(),D(X,{key:e.name,to:`${i(p).vector.basePath}/p/${e.name}`,"prepend-icon":e.icon??`mdi-file-document-outline`,title:e.title},null,8,[`to`,`prepend-icon`,`title`]))),128))],64))),128)),e(Qe,{class:`my-2`}),i(y)?.capabilities.queue?(b(),D(X,{key:0,to:`${i(p).vector.basePath}/jobs`,"prepend-icon":`mdi-progress-clock`,title:i(F)(`shell.nav.jobs`)},null,8,[`to`,`title`])):M(``,!0),i(y)?.capabilities.queues?(b(),D(X,{key:1,to:`${i(p).vector.basePath}/queues`,"prepend-icon":`mdi-tray-full`,title:i(F)(`queues.title`),"data-nav":`queues`},null,8,[`to`,`title`])):M(``,!0),i(y)?.settings.length?(b(),D(X,{key:2,to:`${i(p).vector.basePath}/settings`,"prepend-icon":`mdi-cog-outline`,title:i(F)(`shell.nav.settings`)},null,8,[`to`,`title`])):M(``,!0)]),_:1},8,[`aria-label`])]),_:1},8,[`modelValue`]),e(Lt,{flat:``,border:``},{default:C(()=>[e(zt,{"aria-label":i(F)(`shell.toggleNavigation`),onClick:r[1]||=e=>v.value=!i(v)},null,8,[`aria-label`]),e(Bt,null,{default:C(()=>[t(w(i(j).title),1)]),_:1}),e(tt),i(p).vector.commandPalette?(b(),D(Q,{key:0,variant:`text`,"prepend-icon":`mdi-magnify`,class:`d-none d-sm-flex`,onClick:r[2]||=e=>i(P)&&(i(P).open=!0)},{default:C(()=>[t(w(i(F)(`common.search`))+` `,1),r[3]||=c(`kbd`,{class:`ms-2 text-caption text-medium-emphasis`},`⌘K`,-1)]),_:1})):M(``,!0),e(o),i(R).locales.value.length>1?(b(),D(ze,{key:1},{activator:C(({props:t})=>[e(Q,m(t,{icon:`mdi-translate`,variant:`text`,"aria-label":i(F)(`shell.language`,{name:i(z)?.name??i(R).current.value})}),null,16,[`aria-label`])]),default:C(()=>[e(De,{density:`compact`,"aria-label":i(F)(`shell.language`,{name:i(z)?.name??i(R).current.value})},{default:C(()=>[(b(!0),u(x,null,d(i(R).locales.value,e=>(b(),D(X,{key:e.code,subtitle:i(ut)(e.code,i(R).current.value,e.name)??void 0,active:e.code===i(R).current.value,onClick:t=>ae(e.code)},{title:C(()=>[c(`span`,{lang:e.code,dir:e.dir},w(e.name),9,un)]),_:2},1032,[`subtitle`,`active`,`onClick`]))),128))]),_:1},8,[`aria-label`])]),_:1})):M(``,!0),e(Q,{icon:`mdi-theme-light-dark`,variant:`text`,"aria-label":i(F)(`shell.toggleTheme`),onClick:ce},null,8,[`aria-label`]),e(ze,null,{activator:C(({props:n})=>[e(Q,m(n,{variant:`text`,"prepend-icon":`mdi-account-circle-outline`}),{default:C(()=>[t(w(i(h).user?.name??i(F)(`shell.account`)),1)]),_:1},16)]),default:C(()=>[e(De,{density:`compact`},{default:C(()=>[e(X,{title:i(F)(`shell.signOut`),"prepend-icon":`mdi-logout`,onClick:K},null,8,[`title`])]),_:1})]),_:1})]),_:1}),e(Pe,null,{default:C(()=>[e(s),i(W).impersonator.value?(b(),D(rt,{key:0,type:`warning`,variant:`tonal`,density:`compact`,rounded:`0`,icon:`mdi-account-switch-outline`,class:`px-6`},{append:C(()=>[e(Q,{size:`small`,variant:`flat`,color:`warning`,onClick:G},{default:C(()=>[t(w(i(F)(`shell.impersonation.stop`)),1)]),_:1})]),default:C(()=>[e(l,{keypath:`shell.impersonation.actingAs`,tag:`span`,scope:`global`},{name:C(()=>[c(`strong`,null,w(i(h).user?.name??i(F)(`shell.impersonation.anotherUser`)),1)]),_:1})]),_:1})):M(``,!0),e(et,{fluid:``,class:`pa-6`},{default:C(()=>[ee(n.$slots,`default`)]),_:3})]),_:3}),i(j).footerText?(b(),D(Ht,{key:0,app:``,border:``,class:`text-caption text-medium-emphasis justify-center`},{default:C(()=>[t(w(i(j).footerText),1)]),_:1})):M(``,!0),e(f),e(g),i(p).vector.commandPalette?(b(),D(_,{key:1,ref_key:`palette`,ref:P},null,512)):M(``,!0)]),_:3})}}});export{dn as default};
@@ -0,0 +1 @@
1
+ import{Zn as e,_ as t,er as n,g as r,wn as i}from"./wlpNGAAZ.js";import{N as a,S as o,c as s,p as c,r as l,s as u,u as d,x as f}from"./DrEHkKjX.js";var p=[`dotted`,`dashed`,`solid`,`double`],m=o({color:String,contentOffset:[Number,String,Array],gradient:Boolean,inset:Boolean,length:[Number,String],opacity:[Number,String],thickness:[Number,String],vertical:Boolean,variant:{type:String,default:`solid`,validator:e=>p.includes(e)},...f(),...u()},`VDivider`),h=c()({name:`VDivider`,props:m(),setup(o,{attrs:c,slots:u}){let{themeClasses:f}=s(o),{textColorClasses:p,textColorStyles:m}=l(()=>o.color),h=r(()=>{let e={};return o.length&&(e[o.vertical?`height`:`width`]=a(o.length)),o.thickness&&(e[o.vertical?`borderRightWidth`:`borderTopWidth`]=a(o.thickness)),e}),g=i(()=>{let e=Array.isArray(o.contentOffset)?o.contentOffset[0]:o.contentOffset,t=Array.isArray(o.contentOffset)?o.contentOffset[1]:0;return{marginBlock:o.vertical&&e?a(e):void 0,marginInline:!o.vertical&&e?a(e):void 0,transform:t?`translate${o.vertical?`X`:`Y`}(${a(t)})`:void 0}});return d(()=>{let r=c.role,i=!!u.default,a=t(`hr`,{class:e([{"v-divider":!0,"v-divider--gradient":o.gradient&&!u.default,"v-divider--inset":o.inset,"v-divider--vertical":o.vertical},f.value,p.value,o.class]),style:n([h.value,m.value,{"--v-border-opacity":o.opacity},{"border-style":o.variant},o.style]),"aria-orientation":!i&&!r?o.vertical?`vertical`:`horizontal`:void 0,role:i?void 0:r},null);return i?t(`div`,{class:e([`v-divider__wrapper`,{"v-divider__wrapper--gradient":o.gradient,"v-divider__wrapper--inset":o.inset,"v-divider__wrapper--vertical":o.vertical}])},[a,t(`div`,{class:`v-divider__content`,style:n(g.value)},[u.default()]),a]):a}),{}}});export{h as t};