wherdr 1.3.3 → 2.0.0
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/.output/nitro.json +1 -1
- package/.output/public/_nuxt/BDNMzG2s.js +1 -0
- package/.output/public/_nuxt/BETID3_E.js +1 -0
- package/.output/public/_nuxt/BHenDMeH.js +1 -0
- package/.output/public/_nuxt/BYZVrreW.js +1 -0
- package/.output/public/_nuxt/BhgehRdJ.js +1 -0
- package/.output/public/_nuxt/{yzABg5xl.js → Bpoxvzh6.js} +1 -1
- package/.output/public/_nuxt/BtH82ZuZ.js +9 -0
- package/.output/public/_nuxt/C25ROUa9.js +3 -0
- package/.output/public/_nuxt/C3Bkn4ac.js +62 -0
- package/.output/public/_nuxt/CDWjMk9C.js +2 -0
- package/.output/public/_nuxt/{Ci8N4mWR.js → CXJnLmWv.js} +1 -1
- package/.output/public/_nuxt/CuUQ4mEf.js +1 -0
- package/.output/public/_nuxt/DFGEl0v2.js +23 -0
- package/.output/public/_nuxt/{CKhgznq4.js → DFmgQVme.js} +42 -39
- package/.output/public/_nuxt/DZGKxROq.js +6 -0
- package/.output/public/_nuxt/DmkWvmnE.js +2 -0
- package/.output/public/_nuxt/DrKKeFFE.js +31 -0
- package/.output/public/_nuxt/DyfFwwGq.js +1 -0
- package/.output/public/_nuxt/FaNto0ga.js +105 -0
- package/.output/public/_nuxt/NIF0VwHk.js +25 -0
- package/.output/public/_nuxt/R0Y4VoeX.js +1 -0
- package/.output/public/_nuxt/board.CEEcFc6M.css +1 -0
- package/.output/public/_nuxt/builds/latest.json +1 -1
- package/.output/public/_nuxt/builds/meta/0b28b3e9-664e-4347-a35b-afb0a711d5c5.json +1 -0
- package/.output/public/_nuxt/entry.CKoXcwRa.css +2 -0
- package/.output/public/_nuxt/pdf.min.t82Z80JU.mjs +28 -0
- package/.output/public/_nuxt/pdf.worker.min.wgc6bjNh.mjs +28 -0
- package/.output/public/_nuxt/settings.Cdb21nNw.css +1 -0
- package/.output/public/sw.js +1 -1
- package/.output/server/chunks/_/branding.mjs +1 -1
- package/.output/server/chunks/_/changes.mjs +4 -4
- package/.output/server/chunks/_/fileDownload.mjs +278 -0
- package/.output/server/chunks/_/files.mjs +60 -20
- package/.output/server/chunks/_/machineOrder.mjs +1 -1
- package/.output/server/chunks/_/onboarding.mjs +1 -1
- package/.output/server/chunks/_/package.mjs +11 -3
- package/.output/server/chunks/_/plugins.mjs +92 -122
- package/.output/server/chunks/_/restart.mjs +1 -1
- package/.output/server/chunks/_/selfupdate.mjs +1 -1
- package/.output/server/chunks/_/settingstabs.mjs +36 -0
- package/.output/server/chunks/_/updates.mjs +1 -1
- package/.output/server/chunks/_/worktrees.mjs +1 -1
- package/.output/server/chunks/_/ws.mjs +43 -6
- package/.output/server/chunks/nitro/nitro.mjs +14126 -10238
- package/.output/server/chunks/raw/check-doc-links.mjs +5 -0
- package/.output/server/chunks/raw/check-leaks.mjs +1 -1
- package/.output/server/chunks/raw/check-release-notes.mjs +5 -0
- package/.output/server/chunks/raw/herdr-plugin.mjs +1 -1
- package/.output/server/chunks/raw/install-claude-statusline.mjs +1 -1
- package/.output/server/chunks/raw/prerelease-summary.mjs +5 -0
- package/.output/server/chunks/raw/prerelease.mjs +7 -0
- package/.output/server/chunks/raw/reveal.mjs +1 -1
- package/.output/server/chunks/raw/test-affected.mjs +5 -0
- package/.output/server/chunks/routes/api/_..._.mjs +6 -5
- package/.output/server/chunks/routes/api/agents.post.mjs +6 -5
- package/.output/server/chunks/routes/api/ask-tab.post.mjs +6 -5
- package/.output/server/chunks/routes/api/attach.post.mjs +6 -5
- package/.output/server/chunks/routes/api/auth/disable.post.mjs +6 -5
- package/.output/server/chunks/routes/api/auth/lock-all.post.mjs +6 -5
- package/.output/server/chunks/routes/api/auth/lock.post.mjs +6 -5
- package/.output/server/chunks/routes/api/auth/login/options.post.mjs +6 -5
- package/.output/server/chunks/routes/api/auth/login/verify.post.mjs +6 -5
- package/.output/server/chunks/routes/api/auth/max-session.post.mjs +6 -5
- package/.output/server/chunks/routes/api/auth/register/options.post.mjs +6 -5
- package/.output/server/chunks/routes/api/auth/register/verify.post.mjs +6 -5
- package/.output/server/chunks/routes/api/auth/status.get.mjs +6 -5
- package/.output/server/chunks/routes/api/changes.get.mjs +7 -6
- package/.output/server/chunks/routes/api/chat/image.get.mjs +7 -6
- package/.output/server/chunks/routes/api/chat.get.mjs +44 -11
- package/.output/server/chunks/routes/api/choose.post.mjs +44 -30
- package/.output/server/chunks/routes/api/claude-setup.post.mjs +42 -0
- package/.output/server/chunks/routes/api/claude-statusline.post.mjs +7 -6
- package/.output/server/chunks/routes/api/clear-queued-input.post.mjs +42 -0
- package/.output/server/chunks/routes/api/close/status.get.mjs +7 -6
- package/.output/server/chunks/routes/api/close.post.mjs +6 -5
- package/.output/server/chunks/routes/api/codex-update.post.mjs +7 -6
- package/.output/server/chunks/routes/api/commands.get.mjs +9 -7
- package/.output/server/chunks/routes/api/config.get.mjs +10 -13
- package/.output/server/chunks/routes/api/dirs.get.mjs +7 -6
- package/.output/server/chunks/routes/api/dismiss-stopped.post.mjs +7 -6
- package/.output/server/chunks/routes/api/dismiss.post.mjs +7 -6
- package/.output/server/chunks/routes/api/effort.post.mjs +7 -6
- package/.output/server/chunks/routes/api/efforts.get.mjs +7 -6
- package/.output/server/chunks/routes/api/file.post.mjs +7 -6
- package/.output/server/chunks/routes/api/files/download.get.mjs +12 -24
- package/.output/server/chunks/routes/api/files/download.head.mjs +41 -0
- package/.output/server/chunks/routes/api/files/read.get.mjs +8 -7
- package/.output/server/chunks/routes/api/files.get.mjs +7 -6
- package/.output/server/chunks/routes/api/health.get.mjs +6 -5
- package/.output/server/chunks/routes/api/input.post.mjs +33 -15
- package/.output/server/chunks/routes/api/interrupt.post.mjs +24 -21
- package/.output/server/chunks/routes/api/isgit.get.mjs +8 -8
- package/.output/server/chunks/routes/api/machine/awake.get.mjs +7 -6
- package/.output/server/chunks/routes/api/machine/awake.post.mjs +7 -6
- package/.output/server/chunks/routes/api/machine/order.get.mjs +6 -5
- package/.output/server/chunks/routes/api/machine/order.post.mjs +6 -5
- package/.output/server/chunks/routes/api/machine/reconnect.post.mjs +40 -0
- package/.output/server/chunks/routes/api/machine/rename.post.mjs +7 -6
- package/.output/server/chunks/routes/api/machine/status.post.mjs +39 -0
- package/.output/server/chunks/routes/api/menu-left.post.mjs +40 -0
- package/.output/server/chunks/routes/api/menu.post.mjs +10 -6
- package/.output/server/chunks/routes/api/model.post.mjs +7 -6
- package/.output/server/chunks/routes/api/models.get.mjs +7 -6
- package/.output/server/chunks/routes/api/nav.post.mjs +40 -26
- package/.output/server/chunks/routes/api/onboarding.get.mjs +6 -5
- package/.output/server/chunks/routes/api/onboarding.post.mjs +6 -5
- package/.output/server/chunks/routes/api/phone.get.mjs +8 -10
- package/.output/server/chunks/routes/api/phone.post.mjs +8 -10
- package/.output/server/chunks/routes/api/plugins/actions.get.mjs +6 -8
- package/.output/server/chunks/routes/api/plugins/invoke.post.mjs +6 -8
- package/.output/server/chunks/routes/api/plugins/projects.get.mjs +10 -8
- package/.output/server/chunks/routes/api/plugins/projects.post.mjs +11 -7
- package/.output/server/chunks/routes/api/prompt.post.mjs +22 -13
- package/.output/server/chunks/routes/api/push/quiet.post.mjs +7 -6
- package/.output/server/chunks/routes/api/push/subscribe.post.mjs +7 -7
- package/.output/server/chunks/routes/api/push/test.post.mjs +7 -6
- package/.output/server/chunks/routes/api/push/unsubscribe.post.mjs +7 -6
- package/.output/server/chunks/routes/api/quotas.get.mjs +7 -6
- package/.output/server/chunks/routes/api/rename.post.mjs +6 -5
- package/.output/server/chunks/routes/api/requeue.post.mjs +7 -6
- package/.output/server/chunks/routes/api/restart.get.mjs +6 -5
- package/.output/server/chunks/routes/api/restart.post.mjs +6 -5
- package/.output/server/chunks/routes/api/reveal.post.mjs +91 -8
- package/.output/server/chunks/routes/api/screen-key.post.mjs +19 -15
- package/.output/server/chunks/routes/api/screen.get.mjs +8 -40
- package/.output/server/chunks/routes/api/search.get.mjs +7 -6
- package/.output/server/chunks/routes/api/seen.post.mjs +7 -6
- package/.output/server/chunks/routes/api/sessions.get.mjs +7 -6
- package/.output/server/chunks/routes/api/sessions.post.mjs +7 -6
- package/.output/server/chunks/routes/api/settings-tab.post.mjs +90 -0
- package/.output/server/chunks/routes/api/{plugins/thread-limits.get.mjs → settings.get.mjs} +10 -9
- package/.output/server/chunks/routes/api/settings.post.mjs +40 -0
- package/.output/server/chunks/routes/api/space.post.mjs +34 -18
- package/.output/server/chunks/routes/api/state.get.mjs +7 -6
- package/.output/server/chunks/routes/api/tasks/action.post.mjs +39 -0
- package/.output/server/chunks/routes/api/{plugins/profiles.get.mjs → tasks/add.post.mjs} +12 -14
- package/.output/server/chunks/routes/api/tasks/after.post.mjs +39 -0
- package/.output/server/chunks/routes/api/tasks/approve.post.mjs +39 -0
- package/.output/server/chunks/routes/api/{project/report.get.mjs → tasks/archived.get.mjs} +12 -13
- package/.output/server/chunks/routes/api/{gitroot.get.mjs → tasks/autopilot.get.mjs} +13 -14
- package/.output/server/chunks/routes/api/tasks/autopilot.post.mjs +39 -0
- package/.output/server/chunks/routes/api/{index.get.mjs → tasks/board-settings.get.mjs} +12 -13
- package/.output/server/chunks/routes/api/tasks/board-settings.post.mjs +39 -0
- package/.output/server/chunks/routes/api/tasks/coordinator.get.mjs +40 -0
- package/.output/server/chunks/routes/api/tasks/coordinator.post.mjs +39 -0
- package/.output/server/chunks/routes/api/tasks/details.get.mjs +40 -0
- package/.output/server/chunks/routes/api/tasks/limit.post.mjs +39 -0
- package/.output/server/chunks/routes/api/tasks/links.get.mjs +39 -0
- package/.output/server/chunks/routes/api/tasks/models.get.mjs +40 -0
- package/.output/server/chunks/routes/api/tasks/pick.post.mjs +39 -0
- package/.output/server/chunks/routes/api/tasks/question.post.mjs +39 -0
- package/.output/server/chunks/routes/api/tasks/scheduled.get.mjs +40 -0
- package/.output/server/chunks/routes/api/{project → tasks}/settings.get.mjs +10 -11
- package/.output/server/chunks/routes/api/tasks/start.get.mjs +40 -0
- package/.output/server/chunks/routes/api/tasks/tell.post.mjs +39 -0
- package/.output/server/chunks/routes/api/tasks.get.mjs +39 -0
- package/.output/server/chunks/routes/api/unqueue.post.mjs +7 -6
- package/.output/server/chunks/routes/api/update/status.get.mjs +6 -5
- package/.output/server/chunks/routes/api/update.get.mjs +8 -10
- package/.output/server/chunks/routes/api/update.post.mjs +8 -10
- package/.output/server/chunks/routes/api/upload.post.mjs +7 -6
- package/.output/server/chunks/routes/api/worktrees/remove.post.mjs +6 -5
- package/.output/server/chunks/routes/api/worktrees.get.mjs +6 -5
- package/.output/server/chunks/routes/favicon.ico.get.mjs +6 -5
- package/.output/server/chunks/routes/icons/_name_.get.mjs +7 -6
- package/.output/server/chunks/routes/renderer.mjs +8 -7
- package/.output/server/chunks/routes/uploads/_...name_.get.mjs +7 -6
- package/.output/server/chunks/routes/ws/_..._.mjs +7 -6
- package/.output/server/chunks/routes/ws/events.mjs +9 -7
- package/.output/server/chunks/routes/ws/term.mjs +7 -6
- package/.output/server/chunks/virtual/precomputed.mjs +1 -1
- package/.output/server/index.mjs +7 -6
- package/.output/server/package.json +1 -1
- package/README.md +44 -1424
- package/bin/lib/commands.mjs +44 -9
- package/bin/lib/panel.mjs +3 -11
- package/bin/lib/service.mjs +41 -2
- package/bin/lib/skill.mjs +1 -1
- package/bin/lib/tailnet.d.mts +6 -3
- package/bin/lib/tailnet.mjs +70 -32
- package/bin/lib/userpath.d.mts +14 -0
- package/bin/lib/userpath.mjs +142 -0
- package/docs/README.md +58 -0
- package/docs/RELEASING.md +174 -0
- package/docs/board.md +164 -0
- package/docs/command.md +58 -0
- package/docs/configuration.md +39 -0
- package/docs/conversation.md +132 -0
- package/docs/development.md +38 -0
- package/docs/devices.md +58 -0
- package/docs/files.md +29 -0
- package/docs/herdr-projects-1x.md +278 -0
- package/docs/home.md +52 -0
- package/docs/installation.md +174 -0
- package/docs/machines.md +69 -0
- package/docs/migrate-from-1.x-docker.md +160 -0
- package/docs/networks.md +154 -0
- package/docs/notifications.md +83 -0
- package/docs/overview.md +71 -0
- package/docs/phone.md +26 -0
- package/docs/plugins.md +109 -0
- package/docs/quick-start.md +89 -0
- package/docs/quotas.md +65 -0
- package/docs/release-notes-2.0.0.md +84 -0
- package/docs/security.md +117 -0
- package/docs/terminal.md +15 -0
- package/docs/troubleshooting.md +45 -0
- package/package.json +11 -3
- package/skills/wherdr/SKILL.md +24 -167
- package/.output/public/_nuxt/B4Yk2tB1.js +0 -23
- package/.output/public/_nuxt/BBw_0a4M.js +0 -6
- package/.output/public/_nuxt/BSy6OCIY.js +0 -1
- package/.output/public/_nuxt/BX5PM2JQ.js +0 -1
- package/.output/public/_nuxt/BgPDnf2S.js +0 -1
- package/.output/public/_nuxt/BkOxQzbS.js +0 -2
- package/.output/public/_nuxt/CP8o925U.js +0 -1
- package/.output/public/_nuxt/CWwyK2XK.js +0 -2
- package/.output/public/_nuxt/CkbmecwS.js +0 -1
- package/.output/public/_nuxt/Cr3SrGky.js +0 -1
- package/.output/public/_nuxt/DAg9fiVh.js +0 -89
- package/.output/public/_nuxt/DT8qZ0Wv.js +0 -1
- package/.output/public/_nuxt/DaaJIRB3.js +0 -1
- package/.output/public/_nuxt/DcJi16XA.js +0 -1
- package/.output/public/_nuxt/SiL1FJ5s.js +0 -3
- package/.output/public/_nuxt/VpjCgSXu.js +0 -36
- package/.output/public/_nuxt/builds/meta/c735b6c0-1bd0-47d7-a208-d310f0a06287.json +0 -1
- package/.output/public/_nuxt/dPxB2L94.js +0 -89
- package/.output/public/_nuxt/entry.CGWKmYU3.css +0 -2
- package/.output/public/_nuxt/xYX85SPI.js +0 -1
- package/.output/server/chunks/_/pluginPolicy.mjs +0 -93
- package/.output/server/chunks/_/projectBoard.mjs +0 -366
- package/.output/server/chunks/_/projectDocs.mjs +0 -106
- package/.output/server/chunks/_/projectInbox.mjs +0 -135
- package/.output/server/chunks/_/projectThreads.mjs +0 -46
- package/.output/server/chunks/_/projectThreads2.mjs +0 -61
- package/.output/server/chunks/_/projectsActions.mjs +0 -143
- package/.output/server/chunks/_/projectsPlugin.mjs +0 -56
- package/.output/server/chunks/_/reveal.mjs +0 -115
- package/.output/server/chunks/raw/dev.wherdr.open.mjs +0 -7
- package/.output/server/chunks/raw/docker-entrypoint.mjs +0 -7
- package/.output/server/chunks/raw/install-host-open.mjs +0 -7
- package/.output/server/chunks/raw/wherdr-open.mjs +0 -7
- package/.output/server/chunks/routes/api/board.get.mjs +0 -147
- package/.output/server/chunks/routes/api/plugins/thread-limits.post.mjs +0 -45
- package/.output/server/chunks/routes/api/project/inbox.get.mjs +0 -43
- package/.output/server/chunks/routes/api/project/inbox.post.mjs +0 -43
- package/.output/server/chunks/routes/api/project/memory.get.mjs +0 -42
- package/.output/server/chunks/routes/api/project/routines.get.mjs +0 -43
- package/.output/server/chunks/routes/api/project/thread.get.mjs +0 -44
- package/.output/server/chunks/routes/api/project/thread.post.mjs +0 -45
- package/bin/install-docker-skill.sh +0 -20
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import{n as e}from"./hePW80VL.js";import{A as t,An as n,At as r,Bn as i,Dn as a,Et as o,Fn as s,Hn as c,Mn as l,Mt as u,P as d,Rn as f,St as p,U as m,Z as h,_t as g,a as _,br as v,ct as y,et as b,ht as x,k as ee,nn as S,r as C,u as te,vr as w,wn as ne,xr as T,yn as re,yr as E}from"./SiL1FJ5s.js";import{s as ie}from"./CWwyK2XK.js";import{h as ae,i as oe}from"./Ci8N4mWR.js";var se=C({ui:{colors:{primary:`indigo`,neutral:`slate`},toast:{slots:{root:`hw-toast`,title:`hw-toast-title`,icon:`hw-toast-icon`,description:`hw-toast-desc`}}}}),ce=ae(se,{nuxt:{},ui:{colors:{primary:`green`,neutral:`slate`,success:`green`,warning:`yellow`,error:`red`,info:`blue`},icons:{arrowDown:`i-lucide-arrow-down`,arrowLeft:`i-lucide-arrow-left`,arrowRight:`i-lucide-arrow-right`,arrowUp:`i-lucide-arrow-up`,caution:`i-lucide-circle-alert`,check:`i-lucide-check`,chevronDoubleLeft:`i-lucide-chevrons-left`,chevronDoubleRight:`i-lucide-chevrons-right`,chevronDown:`i-lucide-chevron-down`,chevronLeft:`i-lucide-chevron-left`,chevronRight:`i-lucide-chevron-right`,chevronUp:`i-lucide-chevron-up`,close:`i-lucide-x`,copy:`i-lucide-copy`,copyCheck:`i-lucide-copy-check`,dark:`i-lucide-moon`,drag:`i-lucide-grip-vertical`,ellipsis:`i-lucide-ellipsis`,error:`i-lucide-circle-x`,external:`i-lucide-arrow-up-right`,eye:`i-lucide-eye`,eyeOff:`i-lucide-eye-off`,file:`i-lucide-file`,folder:`i-lucide-folder`,folderOpen:`i-lucide-folder-open`,hash:`i-lucide-hash`,info:`i-lucide-info`,light:`i-lucide-sun`,loading:`i-lucide-loader-circle`,menu:`i-lucide-menu`,minus:`i-lucide-minus`,panelClose:`i-lucide-panel-left-close`,panelOpen:`i-lucide-panel-left-open`,plus:`i-lucide-plus`,reload:`i-lucide-rotate-ccw`,search:`i-lucide-search`,stop:`i-lucide-square`,star:`i-lucide-star`,success:`i-lucide-circle-check`,system:`i-lucide-monitor`,tip:`i-lucide-lightbulb`,upload:`i-lucide-upload`,warning:`i-lucide-triangle-alert`},tv:{twMergeConfig:{}}},icon:{provider:`none`,class:``,aliases:{},iconifyApiEndpoint:`https://api.iconify.design`,localApiEndpoint:`/api/_nuxt_icon`,fallbackToApi:!1,cssSelectorPrefix:`i-`,cssWherePseudo:!0,cssLayer:`base`,mode:`css`,attrs:{"aria-hidden":!0},collections:[`herdr`],fetchTimeout:1500,customCollections:[`herdr`]}});function D(){let e=_();return e._appConfig||=n(ce),e._appConfig}var le=/^[a-z0-9]+(-[a-z0-9]+)*$/,O=(e,t,n,r=``)=>{let i=e.split(`:`);if(e.slice(0,1)===`@`){if(i.length<2||i.length>3)return null;r=i.shift().slice(1)}if(i.length>3||!i.length)return null;if(i.length>1){let e=i.pop(),n=i.pop(),a={provider:i.length>0?i[0]:r,prefix:n,name:e};return t&&!k(a)?null:a}let a=i[0],o=a.split(`-`);if(o.length>1){let e={provider:r,prefix:o.shift(),name:o.join(`-`)};return t&&!k(e)?null:e}if(n&&r===``){let e={provider:r,prefix:``,name:a};return t&&!k(e,n)?null:e}return null},k=(e,t)=>e?!!((t&&e.prefix===``||e.prefix)&&e.name):!1;function ue(e,t){let n=e.icons,r=e.aliases||Object.create(null),i=Object.create(null);function a(e){if(n[e])return i[e]=[];if(!(e in i)){i[e]=null;let t=r[e]&&r[e].parent,n=t&&a(t);n&&(i[e]=[t].concat(n))}return i[e]}return Object.keys(n).concat(Object.keys(r)).forEach(a),i}var de=Object.freeze({left:0,top:0,width:16,height:16}),A=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),j=Object.freeze({...de,...A}),fe=Object.freeze({...j,body:``,hidden:!1});function pe(e,t){let n={};!e.hFlip!=!t.hFlip&&(n.hFlip=!0),!e.vFlip!=!t.vFlip&&(n.vFlip=!0);let r=((e.rotate||0)+(t.rotate||0))%4;return r&&(n.rotate=r),n}function me(e,t){let n=pe(e,t);for(let r in fe)r in A?r in e&&!(r in n)&&(n[r]=A[r]):r in t?n[r]=t[r]:r in e&&(n[r]=e[r]);return n}function he(e,t,n){let r=e.icons,i=e.aliases||Object.create(null),a={};function o(e){a=me(r[e]||i[e],a)}return o(t),n.forEach(o),me(e,a)}function ge(e,t){let n=[];if(typeof e!=`object`||typeof e.icons!=`object`)return n;e.not_found instanceof Array&&e.not_found.forEach(e=>{t(e,null),n.push(e)});let r=ue(e);for(let i in r){let a=r[i];a&&(t(i,he(e,i,a)),n.push(i))}return n}var _e={provider:``,aliases:{},not_found:{},...de};function ve(e,t){for(let n in t)if(n in e&&typeof e[n]!=typeof t[n])return!1;return!0}function ye(e){if(typeof e!=`object`||!e)return null;let t=e;if(typeof t.prefix!=`string`||!e.icons||typeof e.icons!=`object`||!ve(e,_e))return null;let n=t.icons;for(let e in n){let t=n[e];if(!e||typeof t.body!=`string`||!ve(t,fe))return null}let r=t.aliases||Object.create(null);for(let e in r){let t=r[e],i=t.parent;if(!e||typeof i!=`string`||!n[i]&&!r[i]||!ve(t,fe))return null}return t}var be=Object.create(null);function xe(e,t){return{provider:e,prefix:t,icons:Object.create(null),missing:new Set}}function M(e,t){let n=be[e]||(be[e]=Object.create(null));return n[t]||(n[t]=xe(e,t))}function Se(e,t){return ye(t)?ge(t,(t,n)=>{n?e.icons[t]=n:e.missing.add(t)}):[]}function Ce(e,t,n){try{if(typeof n.body==`string`)return e.icons[t]={...n},!0}catch{}return!1}var N=!1;function we(e){return typeof e==`boolean`&&(N=e),N}function P(e){let t=typeof e==`string`?O(e,!0,N):e;if(t){let e=M(t.provider,t.prefix),n=t.name;return e.icons[n]||(e.missing.has(n)?null:void 0)}}function F(e,t){let n=O(e,!0,N);if(!n)return!1;let r=M(n.provider,n.prefix);return t?Ce(r,n.name,t):(r.missing.add(n.name),!0)}function Te(e,t){if(typeof e!=`object`)return!1;if(typeof t!=`string`&&(t=e.provider||``),N&&!t&&!e.prefix){let t=!1;return ye(e)&&(e.prefix=``,ge(e,(e,n)=>{F(e,n)&&(t=!0)})),t}let n=e.prefix;return k({prefix:n,name:`a`})?!!Se(M(t,n),e):!1}function I(e){let t=P(e);return t&&{...j,...t}}var Ee=Object.freeze({width:null,height:null}),De=Object.freeze({...Ee,...A}),Oe=/(-?[0-9.]*[0-9]+[0-9.]*)/g,ke=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function Ae(e,t,n){if(t===1)return e;if(n||=100,typeof e==`number`)return Math.ceil(e*t*n)/n;if(typeof e!=`string`)return e;let r=e.split(Oe);if(r===null||!r.length)return e;let i=[],a=r.shift(),o=ke.test(a);for(;;){if(o){let e=parseFloat(a);isNaN(e)?i.push(a):i.push(Math.ceil(e*t*n)/n)}else i.push(a);if(a=r.shift(),a===void 0)return i.join(``);o=!o}}function je(e,t=`defs`){let n=``,r=e.indexOf(`<`+t);for(;r>=0;){let i=e.indexOf(`>`,r),a=e.indexOf(`</`+t);if(i===-1||a===-1)break;let o=e.indexOf(`>`,a);if(o===-1)break;n+=e.slice(i+1,a).trim(),e=e.slice(0,r).trim()+e.slice(o+1)}return{defs:n,content:e}}function Me(e,t){return e?`<defs>`+e+`</defs>`+t:t}function Ne(e,t,n){let r=je(e);return Me(r.defs,t+r.content+n)}var Pe=e=>e===`unset`||e===`undefined`||e===`none`;function Fe(e,t){let n={...j,...e},r={...De,...t},i={left:n.left,top:n.top,width:n.width,height:n.height},a=n.body;[n,r].forEach(e=>{let t=[],n=e.hFlip,r=e.vFlip,o=e.rotate;n?r?o+=2:(t.push(`translate(`+(i.width+i.left).toString()+` `+(0-i.top).toString()+`)`),t.push(`scale(-1 1)`),i.top=i.left=0):r&&(t.push(`translate(`+(0-i.left).toString()+` `+(i.height+i.top).toString()+`)`),t.push(`scale(1 -1)`),i.top=i.left=0);let s;switch(o<0&&(o-=Math.floor(o/4)*4),o%=4,o){case 1:s=i.height/2+i.top,t.unshift(`rotate(90 `+s.toString()+` `+s.toString()+`)`);break;case 2:t.unshift(`rotate(180 `+(i.width/2+i.left).toString()+` `+(i.height/2+i.top).toString()+`)`);break;case 3:s=i.width/2+i.left,t.unshift(`rotate(-90 `+s.toString()+` `+s.toString()+`)`)}o%2==1&&(i.left!==i.top&&(s=i.left,i.left=i.top,i.top=s),i.width!==i.height&&(s=i.width,i.width=i.height,i.height=s)),t.length&&(a=Ne(a,`<g transform="`+t.join(` `)+`">`,`</g>`))});let o=r.width,s=r.height,c=i.width,l=i.height,u,d;o===null?(d=s===null?`1em`:s===`auto`?l:s,u=Ae(d,c/l)):(u=o===`auto`?c:o,d=s===null?Ae(u,l/c):s===`auto`?l:s);let f={},p=(e,t)=>{Pe(t)||(f[e]=t.toString())};p(`width`,u),p(`height`,d);let m=[i.left,i.top,c,l];return f.viewBox=m.join(` `),{attributes:f,viewBox:m,body:a}}var Ie=/\sid="(\S+)"/g,Le=new Map;function Re(e){e=e.replace(/[0-9]+$/,``)||`a`;let t=Le.get(e)||0;return Le.set(e,t+1),t?`${e}${t}`:e}function ze(e){let t=[],n;for(;n=Ie.exec(e);)t.push(n[1]);if(!t.length)return e;let r=`suffix`+(Math.random()*16777216|Date.now()).toString(16);return t.forEach(t=>{let n=Re(t),i=t.replace(/[.*+?^${}()|[\]\\]/g,`\\$&`);e=e.replace(RegExp(`([#;"])(`+i+`)([")]|\\.[a-z])`,`g`),`$1`+n+r+`$3`)}),e=e.replace(new RegExp(r,`g`),``),e}var L=Object.create(null);function Be(e,t){L[e]=t}function R(e){return L[e]||L[``]}function z(e){let t;if(typeof e.resources==`string`)t=[e.resources];else if(t=e.resources,!(t instanceof Array)||!t.length)return null;return{resources:t,path:e.path||`/`,maxURL:e.maxURL||500,rotate:e.rotate||750,timeout:e.timeout||5e3,random:e.random===!0,index:e.index||0,dataAfterTimeout:e.dataAfterTimeout!==!1}}for(var B=Object.create(null),V=[`https://api.simplesvg.com`,`https://api.unisvg.com`],H=[];V.length>0;)V.length===1||Math.random()>.5?H.push(V.shift()):H.push(V.pop());B[``]=z({resources:[`https://api.iconify.design`].concat(H)});function Ve(e,t){let n=z(t);return n!==null&&(B[e]=n,!0)}function U(e){return B[e]}function He(){return Object.keys(B)}var W=(()=>{let e;try{if(e=fetch,typeof e==`function`)return e}catch{}})();function Ue(e){W=e}function We(){return W}function Ge(e,t){let n=U(e);if(!n)return 0;let r;if(!n.maxURL)r=0;else{let e=0;n.resources.forEach(t=>{e=Math.max(e,t.length)});let i=t+`.json?icons=`;r=n.maxURL-e-n.path.length-i.length}return r}function Ke(e){return e===404}var qe=(e,t,n)=>{let r=[],i=Ge(e,t),a=`icons`,o={type:a,provider:e,prefix:t,icons:[]},s=0;return n.forEach((n,c)=>{s+=n.length+1,s>=i&&c>0&&(r.push(o),o={type:a,provider:e,prefix:t,icons:[]},s=n.length),o.icons.push(n)}),r.push(o),r};function Je(e){if(typeof e==`string`){let t=U(e);if(t)return t.path}return`/`}var Ye={prepare:qe,send:(e,t,n)=>{if(!W){n(`abort`,424);return}let r=Je(t.provider);switch(t.type){case`icons`:{let e=t.prefix,n=t.icons.join(`,`),i=new URLSearchParams({icons:n});r+=e+`.json?`+i.toString();break}case`custom`:{let e=t.uri;r+=e.slice(0,1)===`/`?e.slice(1):e;break}default:n(`abort`,400);return}let i=503;W(e+r).then(e=>{let t=e.status;if(t!==200){setTimeout(()=>{n(Ke(t)?`abort`:`next`,t)});return}return i=501,e.json()}).then(e=>{if(typeof e!=`object`||!e){setTimeout(()=>{e===404?n(`abort`,e):n(`next`,i)});return}setTimeout(()=>{n(`success`,e)})}).catch(()=>{n(`next`,i)})}};function Xe(e,t){e.forEach(e=>{let n=e.loaderCallbacks;n&&(e.loaderCallbacks=n.filter(e=>e.id!==t))})}function Ze(e){e.pendingCallbacksFlag||(e.pendingCallbacksFlag=!0,setTimeout(()=>{e.pendingCallbacksFlag=!1;let t=e.loaderCallbacks?e.loaderCallbacks.slice(0):[];if(!t.length)return;let n=!1,r=e.provider,i=e.prefix;t.forEach(t=>{let a=t.icons,o=a.pending.length;a.pending=a.pending.filter(t=>{if(t.prefix!==i)return!0;let o=t.name;if(e.icons[o])a.loaded.push({provider:r,prefix:i,name:o});else if(e.missing.has(o))a.missing.push({provider:r,prefix:i,name:o});else return n=!0,!0;return!1}),a.pending.length!==o&&(n||Xe([e],t.id),t.callback(a.loaded.slice(0),a.missing.slice(0),a.pending.slice(0),t.abort))})}))}var Qe=0;function $e(e,t,n){let r=Qe++,i=Xe.bind(null,n,r);if(!t.pending.length)return i;let a={id:r,icons:t,callback:e,abort:i};return n.forEach(e=>{(e.loaderCallbacks||=[]).push(a)}),i}function et(e){let t={loaded:[],missing:[],pending:[]},n=Object.create(null);e.sort((e,t)=>e.provider===t.provider?e.prefix===t.prefix?e.name.localeCompare(t.name):e.prefix.localeCompare(t.prefix):e.provider.localeCompare(t.provider));let r={provider:``,prefix:``,name:``};return e.forEach(e=>{if(r.name===e.name&&r.prefix===e.prefix&&r.provider===e.provider)return;r=e;let i=e.provider,a=e.prefix,o=e.name,s=n[i]||(n[i]=Object.create(null)),c=s[a]||(s[a]=M(i,a)),l;l=o in c.icons?t.loaded:a===``||c.missing.has(o)?t.missing:t.pending;let u={provider:i,prefix:a,name:o};l.push(u)}),t}function tt(e,t=!0,n=!1){let r=[];return e.forEach(e=>{let i=typeof e==`string`?O(e,t,n):e;i&&r.push(i)}),r}var nt={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function rt(e,t,n,r){let i=e.resources.length,a=e.random?Math.floor(Math.random()*i):e.index,o;if(e.random){let t=e.resources.slice(0);for(o=[];t.length>1;){let e=Math.floor(Math.random()*t.length);o.push(t[e]),t=t.slice(0,e).concat(t.slice(e+1))}o=o.concat(t)}else o=e.resources.slice(a).concat(e.resources.slice(0,a));let s=Date.now(),c=`pending`,l=0,u,d=null,f=[],p=[];typeof r==`function`&&p.push(r);function m(){d&&=(clearTimeout(d),null)}function h(){c===`pending`&&(c=`aborted`),m(),f.forEach(e=>{e.status===`pending`&&(e.status=`aborted`)}),f=[]}function g(e,t){t&&(p=[]),typeof e==`function`&&p.push(e)}function _(){return{startTime:s,payload:t,status:c,queriesSent:l,queriesPending:f.length,subscribe:g,abort:h}}function v(){c=`failed`,p.forEach(e=>{e(void 0,u)})}function y(){f.forEach(e=>{e.status===`pending`&&(e.status=`aborted`)}),f=[]}function b(t,n,r){let i=n!==`success`;switch(f=f.filter(e=>e!==t),c){case`pending`:break;case`failed`:if(i||!e.dataAfterTimeout)return;break;default:return}if(n===`abort`){u=r,v();return}if(i){u=r,f.length||(o.length?x():v());return}if(m(),y(),!e.random){let n=e.resources.indexOf(t.resource);n!==-1&&n!==e.index&&(e.index=n)}c=`completed`,p.forEach(e=>{e(r)})}function x(){if(c!==`pending`)return;m();let r=o.shift();if(r===void 0){if(f.length){d=setTimeout(()=>{m(),c===`pending`&&(y(),v())},e.timeout);return}v();return}let i={status:`pending`,resource:r,callback:(e,t)=>{b(i,e,t)}};f.push(i),l++,d=setTimeout(x,e.rotate),n(r,t,i.callback)}return setTimeout(x),_}function it(e){let t={...nt,...e},n=[];function r(){n=n.filter(e=>e().status===`pending`)}function i(e,i,a){let o=rt(t,e,i,(e,t)=>{r(),a&&a(e,t)});return n.push(o),o}function a(e){return n.find(t=>e(t))||null}return{query:i,find:a,setIndex:e=>{t.index=e},getIndex:()=>t.index,cleanup:r}}function at(){}var G=Object.create(null);function ot(e){if(!G[e]){let t=U(e);if(!t)return;G[e]={config:t,redundancy:it(t)}}return G[e]}function st(e,t,n){let r,i;if(typeof e==`string`){let t=R(e);if(!t)return n(void 0,424),at;i=t.send;let a=ot(e);a&&(r=a.redundancy)}else{let t=z(e);if(t){r=it(t);let n=R(e.resources?e.resources[0]:``);n&&(i=n.send)}}return!r||!i?(n(void 0,424),at):r.query(t,i,n)().abort}function ct(){}function lt(e){e.iconsLoaderFlag||(e.iconsLoaderFlag=!0,setTimeout(()=>{e.iconsLoaderFlag=!1,Ze(e)}))}function ut(e){let t=[],n=[];return e.forEach(e=>{(e.match(le)?t:n).push(e)}),{valid:t,invalid:n}}function K(e,t,n){function r(){let n=e.pendingIcons;t.forEach(t=>{n&&n.delete(t),e.icons[t]||e.missing.add(t)})}if(n&&typeof n==`object`)try{if(!Se(e,n).length){r();return}}catch(e){console.error(e)}r(),lt(e)}function dt(e,t){e instanceof Promise?e.then(e=>{t(e)}).catch(()=>{t(null)}):t(e)}function ft(e,t){e.iconsToLoad=e.iconsToLoad?e.iconsToLoad.concat(t).sort():t,e.iconsQueueFlag||(e.iconsQueueFlag=!0,setTimeout(()=>{e.iconsQueueFlag=!1;let{provider:t,prefix:n}=e,r=e.iconsToLoad;if(delete e.iconsToLoad,!r||!r.length)return;let i=e.loadIcon;if(e.loadIcons&&(r.length>1||!i)){dt(e.loadIcons(r,n,t),t=>{K(e,r,t)});return}if(i){r.forEach(r=>{dt(i(r,n,t),t=>{K(e,[r],t?{prefix:n,icons:{[r]:t}}:null)})});return}let{valid:a,invalid:o}=ut(r);if(o.length&&K(e,o,null),!a.length)return;let s=n.match(le)?R(t):null;if(!s){K(e,a,null);return}s.prepare(t,n,a).forEach(n=>{st(t,n,t=>{K(e,n.icons,t)})})}))}var pt=(e,t)=>{let n=et(tt(e,!0,we()));if(!n.pending.length){let e=!0;return t&&setTimeout(()=>{e&&t(n.loaded,n.missing,n.pending,ct)}),()=>{e=!1}}let r=Object.create(null),i=[],a,o;return n.pending.forEach(e=>{let{provider:t,prefix:n}=e;if(n===o&&t===a)return;a=t,o=n,i.push(M(t,n));let s=r[t]||(r[t]=Object.create(null));s[n]||(s[n]=[])}),n.pending.forEach(e=>{let{provider:t,prefix:n,name:i}=e,a=M(t,n),o=a.pendingIcons||=new Set;o.has(i)||(o.add(i),r[t][n].push(i))}),i.forEach(e=>{let t=r[e.provider][e.prefix];t.length&&ft(e,t)}),t?$e(t,n,i):ct},mt=e=>new Promise((t,n)=>{let r=typeof e==`string`?O(e,!0):e;if(!r){n(e);return}pt([r||e],i=>{if(i.length&&r){let e=P(r);if(e){t({...j,...e});return}}n(e)})});function ht(e,t,n){M(n||``,t).loadIcons=e}function gt(e,t){let n={...e};for(let e in t){let r=t[e],i=typeof r;e in Ee?(r===null||r&&(i===`string`||i===`number`))&&(n[e]=r):i===typeof n[e]&&(n[e]=e===`rotate`?r%4:r)}return n}var _t=/[\s,]+/;function vt(e,t){t.split(_t).forEach(t=>{switch(t.trim()){case`horizontal`:e.hFlip=!0;break;case`vertical`:e.vFlip=!0}})}function yt(e,t=0){let n=e.replace(/^-?[0-9.]*/,``);function r(e){for(;e<0;)e+=4;return e%4}if(n===``){let t=parseInt(e);return isNaN(t)?0:r(t)}if(n!==e){let t=0;switch(n){case`%`:t=25;break;case`deg`:t=90}if(t){let i=parseFloat(e.slice(0,e.length-n.length));return isNaN(i)?0:(i/=t,i%1==0?r(i):0)}}return t}function bt(e,t){let n=e.indexOf(`xlink:`)===-1?``:` xmlns:xlink="http://www.w3.org/1999/xlink"`;for(let e in t)n+=` `+e+`="`+t[e]+`"`;return`<svg xmlns="http://www.w3.org/2000/svg"`+n+`>`+e+`</svg>`}function xt(e){return e.replace(/"/g,`'`).replace(/%/g,`%25`).replace(/#/g,`%23`).replace(/</g,`%3C`).replace(/>/g,`%3E`).replace(/\s+/g,` `).replace(/:/g,`%3A`).replace(/\//g,`%2F`)}function St(e){return`data:image/svg+xml,`+xt(e)}function Ct(e){return`url("`+St(e)+`")`}var wt={...De,inline:!1},Tt={xmlns:`http://www.w3.org/2000/svg`,"xmlns:xlink":`http://www.w3.org/1999/xlink`,"aria-hidden":!0,role:`img`},Et={display:`inline-block`},Dt={backgroundColor:`currentColor`},Ot={backgroundColor:`transparent`},kt={Image:`var(--svg)`,Repeat:`no-repeat`,Size:`100% 100%`},At={webkitMask:Dt,mask:Dt,background:Ot};for(let e in At){let t=At[e];for(let n in kt)t[e+n]=kt[n]}var q={};[`horizontal`,`vertical`].forEach(e=>{let t=e.slice(0,1)+`Flip`;q[e+`-flip`]=t,q[e.slice(0,1)+`-flip`]=t,q[e+`Flip`]=t});function jt(e){return e+(e.match(/^[-0-9.]+$/)?`px`:``)}var Mt=(e,t)=>{let n=gt(wt,t),r={...Tt},i=t.mode||`svg`,a={},o=t.style,s=typeof o==`object`&&!(o instanceof Array)?o:{};for(let e in t){let i=t[e];if(i!==void 0)switch(e){case`icon`:case`style`:case`onLoad`:case`mode`:case`ssr`:case`customise`:break;case`inline`:case`hFlip`:case`vFlip`:n[e]=i===!0||i===`true`||i===1;break;case`flip`:break;case`color`:a.color=i;break;case`rotate`:typeof i==`string`?n[e]=yt(i):typeof i==`number`&&(n[e]=i);break;case`ariaHidden`:case`aria-hidden`:i!==!0&&i!==`true`&&delete r[`aria-hidden`];break;default:{let t=q[e];t?(i===!0||i===`true`||i===1)&&(n[t]=!0):wt[e]===void 0&&(r[e]=i)}}}typeof t.flip==`string`&&vt(n,t.flip);let c=Fe(e,n),l=c.attributes;if(n.inline&&(a.verticalAlign=`-0.125em`),i===`svg`)return r.style={...a,...s},Object.assign(r,l),r.innerHTML=ze(c.body),b(`svg`,r);let{body:u,width:d,height:f}=e,p=i===`mask`||i!==`bg`&&u.indexOf(`currentColor`)!==-1,m=bt(u,{...l,width:d+``,height:f+``});return r.style={...a,"--svg":Ct(m),width:jt(l.width),height:jt(l.height),...Et,...p?Dt:Ot,...s},b(`span`,r)};if(we(!0),Be(``,Ye),typeof document<`u`&&typeof window<`u`){let e=window;if(e.IconifyPreload!==void 0){let t=e.IconifyPreload,n=`Invalid IconifyPreload syntax.`;typeof t==`object`&&t&&(t instanceof Array?t:[t]).forEach(e=>{try{(typeof e!=`object`||!e||e instanceof Array||typeof e.icons!=`object`||typeof e.prefix!=`string`||!Te(e))&&console.error(n)}catch{console.error(n)}})}if(e.IconifyProviders!==void 0){let t=e.IconifyProviders;if(typeof t==`object`&&t)for(let e in t){let n=`IconifyProviders[`+e+`] is invalid.`;try{let r=t[e];if(typeof r!=`object`||!r||r.resources===void 0)continue;Ve(e,r)||console.error(n)}catch{console.error(n)}}}}var Nt={...j,body:``},Pt=m((e,{emit:t})=>{let n=l(null);function r(){n.value&&=(n.value.abort?.(),null)}let i=l(!!e.ssr),a=l(``),c=s(null);function u(){let i=e.icon;if(typeof i==`object`&&i&&typeof i.body==`string`)return a.value=``,{data:i};let o;if(typeof i!=`string`||(o=O(i,!1,!0))===null)return null;let s=P(o);if(!s){let e=n.value;return(!e||e.name!==i)&&(s===null?n.value={name:i}:n.value={name:i,abort:pt([o],d)}),null}r(),a.value!==i&&(a.value=i,x(()=>{t(`load`,i)}));let c=e.customise;if(c){s=Object.assign({},s);let e=c(s.body,o.name,o.prefix,o.provider);typeof e==`string`&&(s.body=e)}let l=[`iconify`];return o.prefix!==``&&l.push(`iconify--`+o.prefix),o.provider!==``&&l.push(`iconify--`+o.provider),{data:s,classes:l}}function d(){let e=u();e?e.data!==c.value?.data&&(c.value=e):c.value=null}return i.value?d():p(()=>{i.value=!0,d()}),S(()=>e.icon,d),o(r),()=>{let t=c.value;if(!t)return Mt(Nt,e);let n=e;return t.classes&&(n={...e,class:t.classes.join(` `)}),Mt({...j,...t.data},n)}},{props:{icon:{type:[String,Object],required:!0},mode:{type:String},ssr:{type:Boolean},width:{type:[String,Number]},height:{type:[String,Number]},style:{type:[String,Object]},color:{type:String},inline:{type:Boolean},rotate:{type:[Number,String]},hFlip:{type:Boolean},horizontalFlip:{type:Boolean},vFlip:{type:Boolean},verticalFlip:{type:Boolean},flip:{type:String},id:{type:String},ariaHidden:{type:[Boolean,String],default:void 0},customise:{type:Function},title:{type:String}},emits:[`load`]}),Ft={getAPIConfig:U,setAPIModule:Be,sendAPIQuery:st,setFetch:Ue,getFetch:We,listAPIProviders:He};function J(e){return typeof e==`string`?`'${e}'`:new Rt().serialize(e)}var It=` _-,;:!?.'"()[]{}@*/\\&#%\`^+<=>|~$0123456789abcdefghijklmnopqrstuvwxyz`,Y=(function(){let e=new Uint8Array(128);for(let t=0;t<69;t++)e[It.charCodeAt(t)]=t+1;for(let t=65;t<=90;t++)e[t]=e[t+32];return e})();function Lt(e,t){if(e===t)return 0;let n=Math.min(e.length,t.length),r=0;for(let i=0;i<n;i++){let n=e.charCodeAt(i),a=t.charCodeAt(i);if(n===a)continue;let o=n<128&&Y[n]?Y[n]:n+128,s=a<128&&Y[a]?Y[a]:a+128;if(o!==s)return o<s?-1:1;r===0&&(r=n>a?-1:1)}return e.length===t.length?r:e.length<t.length?-1:1}var Rt=(function(){class e{#e=new Map;compare(e,t){let n=typeof e,r=typeof t;return n===`string`&&r===`string`?Lt(e,t):n===`number`&&r===`number`?e-t:Lt(this.serialize(e,!0),this.serialize(t,!0))}serialize(e,t){if(e===null)return`null`;switch(typeof e){case`string`:return t?e:`'${e}'`;case`bigint`:return`${e}n`;case`object`:return this.$object(e);case`function`:return this.$function(e)}return String(e)}serializeObject(e){let t=Object.prototype.toString.call(e);if(t!==`[object Object]`)return this.serializeBuiltInType(t.length<10?`unknown:${t}`:t.slice(8,-1),e);let n=e.constructor,r=n===Object||n===void 0?``:n.name;if(r!==``&&globalThis[r]===n)return this.serializeBuiltInType(r,e);if(`toJSON`in e&&typeof e.toJSON==`function`){let t=e.toJSON();return r+(typeof t==`object`&&t?this.$object(t):`(${this.serialize(t)})`)}let i=Object.keys(e).sort(Lt),a=`${r}{`;for(let t=0;t<i.length;t++){let n=i[t];a+=`${n}:${this.serialize(e[n])}`,t<i.length-1&&(a+=`,`)}return a+`}`}serializeBuiltInType(e,t){let n=this[`$`+e];if(n)return n.call(this,t);if(typeof t.entries==`function`)return this.serializeObjectEntries(e,t.entries());throw Error(`Cannot serialize ${e}`)}serializeObjectEntries(e,t){let n=Array.from(t).sort((e,t)=>this.compare(e[0],t[0])),r=`${e}{`;for(let e=0;e<n.length;e++){let[t,i]=n[e];r+=`${this.serialize(t,!0)}:${this.serialize(i)}`,e<n.length-1&&(r+=`,`)}return r+`}`}$object(e){let t=this.#e.get(e);return t===void 0&&(this.#e.set(e,`#${this.#e.size}`),t=this.serializeObject(e),this.#e.set(e,t)),t}$function(e){let t=Function.prototype.toString.call(e);return t.slice(-15)===`[native code] }`?`${e.name||``}()[native]`:`${e.name}(${e.length})${t.replace(/\s*\n\s*/g,``)}`}$Array(e){let t=`[`;for(let n=0;n<e.length;n++)t+=this.serialize(e[n]),n<e.length-1&&(t+=`,`);return t+`]`}$Date(e){try{return`Date(${e.toISOString()})`}catch{return`Date(null)`}}$ArrayBuffer(e){return`ArrayBuffer[${new Uint8Array(e).join(`,`)}]`}$Set(e){return`Set${this.$Array(Array.from(e).sort((e,t)=>this.compare(e,t)))}`}$Map(e){return this.serializeObjectEntries(`Map`,e.entries())}}for(let t of[`Error`,`RegExp`,`URL`])e.prototype[`$`+t]=function(e){return`${t}(${e})`};for(let t of[`Int8Array`,`Uint8Array`,`Uint8ClampedArray`,`Int16Array`,`Uint16Array`,`Int32Array`,`Uint32Array`,`Float32Array`,`Float64Array`])e.prototype[`$`+t]=function(e){return`${t}[${e.join(`,`)}]`};for(let t of[`BigInt64Array`,`BigUint64Array`])e.prototype[`$`+t]=function(e){return`${t}[${e.join(`n,`)}${e.length>0?`n`:``}]`};return e})();function zt(e,t){return e===t||J(e)===J(t)}var Bt=[1779033703,-1150833019,1013904242,-1521486534,1359893119,-1694144372,528734635,1541459225],Vt=[1116352408,1899447441,-1245643825,-373957723,961987163,1508970993,-1841331548,-1424204075,-670586216,310598401,607225278,1426881987,1925078388,-2132889090,-1680079193,-1046744716,-459576895,-272742522,264347078,604807628,770255983,1249150122,1555081692,1996064986,-1740746414,-1473132947,-1341970488,-1084653625,-958395405,-710438585,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,-2117940946,-1838011259,-1564481375,-1474664885,-1035236496,-949202525,-778901479,-694614492,-200395387,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,-2067236844,-1933114872,-1866530822,-1538233109,-1090935817,-965641998],Ht=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_`,X=[],Ut=class{_data=new Z;_hash=new Z([...Bt]);_nDataBytes=0;_minBufferSize=0;finalize(e){e&&this._append(e);let t=this._nDataBytes*8,n=this._data.sigBytes*8;return this._data.words[n>>>5]|=128<<24-n%32,this._data.words[(n+64>>>9<<4)+14]=Math.floor(t/4294967296),this._data.words[(n+64>>>9<<4)+15]=t,this._data.sigBytes=this._data.words.length*4,this._process(),this._hash}_doProcessBlock(e,t){let n=this._hash.words,r=n[0],i=n[1],a=n[2],o=n[3],s=n[4],c=n[5],l=n[6],u=n[7];for(let n=0;n<64;n++){if(n<16)X[n]=e[t+n]|0;else{let e=X[n-15],t=(e<<25|e>>>7)^(e<<14|e>>>18)^e>>>3,r=X[n-2],i=(r<<15|r>>>17)^(r<<13|r>>>19)^r>>>10;X[n]=t+X[n-7]+i+X[n-16]}let d=s&c^~s&l,f=r&i^r&a^i&a,p=(r<<30|r>>>2)^(r<<19|r>>>13)^(r<<10|r>>>22),m=(s<<26|s>>>6)^(s<<21|s>>>11)^(s<<7|s>>>25),h=u+m+d+Vt[n]+X[n],g=p+f;u=l,l=c,c=s,s=o+h|0,o=a,a=i,i=r,r=h+g|0}n[0]=n[0]+r|0,n[1]=n[1]+i|0,n[2]=n[2]+a|0,n[3]=n[3]+o|0,n[4]=n[4]+s|0,n[5]=n[5]+c|0,n[6]=n[6]+l|0,n[7]=n[7]+u|0}_append(e){typeof e==`string`&&(e=Z.fromUtf8(e)),this._data.concat(e),this._nDataBytes+=e.sigBytes}_process(e){let t,n=this._data.sigBytes/64;n=e?Math.ceil(n):Math.max((n|0)-this._minBufferSize,0);let r=n*16,i=Math.min(r*4,this._data.sigBytes);if(r){for(let e=0;e<r;e+=16)this._doProcessBlock(this._data.words,e);t=this._data.words.splice(0,r),this._data.sigBytes-=i}return new Z(t,i)}},Z=class e{words;sigBytes;constructor(e,t){e=this.words=e||[],this.sigBytes=t===void 0?e.length*4:t}static fromUtf8(t){let n=unescape(encodeURIComponent(t)),r=n.length,i=[];for(let e=0;e<r;e++)i[e>>>2]|=(n.charCodeAt(e)&255)<<24-e%4*8;return new e(i,r)}toBase64(){let e=[];for(let t=0;t<this.sigBytes;t+=3){let n=this.words[t>>>2]>>>24-t%4*8&255,r=this.words[t+1>>>2]>>>24-(t+1)%4*8&255,i=this.words[t+2>>>2]>>>24-(t+2)%4*8&255,a=n<<16|r<<8|i;for(let n=0;n<4&&t*8+n*6<this.sigBytes*8;n++)e.push(Ht.charAt(a>>>6*(3-n)&63))}return e.join(``)}concat(e){if(this.words[this.sigBytes>>>2]&=4294967295<<32-this.sigBytes%4*8,this.words.length=Math.ceil(this.sigBytes/4),this.sigBytes%4)for(let t=0;t<e.sigBytes;t++){let n=e.words[t>>>2]>>>24-t%4*8&255;this.words[this.sigBytes+t>>>2]|=n<<24-(this.sigBytes+t)%4*8}else for(let t=0;t<e.sigBytes;t+=4)this.words[this.sigBytes+t>>>2]=e.words[t>>>2];this.sigBytes+=e.sigBytes}};function Wt(e){return new Ut().finalize(e).toBase64()}function Gt(e){return Wt(J(e))}var Kt=Object.freeze({left:0,top:0,width:16,height:16}),qt=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),Jt=Object.freeze({...Kt,...qt});Object.freeze({...Jt,body:``,hidden:!1});function Yt(e){let[t,n,r,i]=e;if(r!==i){let e=Math.max(r,i);return[t-(e-r)/2,n-(e-i)/2,e,e]}return e}var Xt=/(-?[0-9.]*[0-9]+[0-9.]*)/g,Zt=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function Qt(e,t,n){if(t===1)return e;if(n||=100,typeof e==`number`)return Math.ceil(e*t*n)/n;if(typeof e!=`string`)return e;let r=e.split(Xt);if(r===null||!r.length)return e;let i=[],a=r.shift(),o=Zt.test(a);for(;;){if(o){let e=parseFloat(a);isNaN(e)?i.push(a):i.push(Math.ceil(e*t*n)/n)}else i.push(a);if(a=r.shift(),a===void 0)return i.join(``);o=!o}}var $t=Object.freeze({width:null,height:null}),en=Object.freeze({...$t,...qt});function tn(e,t=`defs`){let n=``,r=e.indexOf(`<`+t);for(;r>=0;){let i=e.indexOf(`>`,r),a=e.indexOf(`</`+t);if(i===-1||a===-1)break;let o=e.indexOf(`>`,a);if(o===-1)break;n+=e.slice(i+1,a).trim(),e=e.slice(0,r).trim()+e.slice(o+1)}return{defs:n,content:e}}function nn(e,t){return e?`<defs>`+e+`</defs>`+t:t}function rn(e,t,n){let r=tn(e);return nn(r.defs,t+r.content+n)}var an=e=>e===`unset`||e===`undefined`||e===`none`;function on(e,t){let n={...Jt,...e},r={...en,...t},i={left:n.left,top:n.top,width:n.width,height:n.height},a=n.body;[n,r].forEach(e=>{let t=[],n=e.hFlip,r=e.vFlip,o=e.rotate;n?r?o+=2:(t.push(`translate(`+(i.width+i.left).toString()+` `+(0-i.top).toString()+`)`),t.push(`scale(-1 1)`),i.top=i.left=0):r&&(t.push(`translate(`+(0-i.left).toString()+` `+(i.height+i.top).toString()+`)`),t.push(`scale(1 -1)`),i.top=i.left=0);let s;switch(o<0&&(o-=Math.floor(o/4)*4),o%=4,o){case 1:s=i.height/2+i.top,t.unshift(`rotate(90 `+s.toString()+` `+s.toString()+`)`);break;case 2:t.unshift(`rotate(180 `+(i.width/2+i.left).toString()+` `+(i.height/2+i.top).toString()+`)`);break;case 3:s=i.width/2+i.left,t.unshift(`rotate(-90 `+s.toString()+` `+s.toString()+`)`)}o%2==1&&(i.left!==i.top&&(s=i.left,i.left=i.top,i.top=s),i.width!==i.height&&(s=i.width,i.width=i.height,i.height=s)),t.length&&(a=rn(a,`<g transform="`+t.join(` `)+`">`,`</g>`))});let o=r.width,s=r.height,c=i.width,l=i.height,u,d;o===null?(d=s===null?`1em`:s===`auto`?l:s,u=Qt(d,c/l)):(u=o===`auto`?c:o,d=s===null?Qt(u,l/c):s===`auto`?l:s);let f={},p=(e,t)=>{an(t)||(f[e]=t.toString())};p(`width`,u),p(`height`,d);let m=[i.left,i.top,c,l];return f.viewBox=m.join(` `),{attributes:f,viewBox:m,body:a}}function sn(e){return e.replace(/"/g,`'`).replace(/%/g,`%25`).replace(/#/g,`%23`).replace(/</g,`%3C`).replace(/>/g,`%3E`).replace(/\s+/g,` `)}function cn(e){return`data:image/svg+xml,`+sn(e)}function ln(e){return`url("`+cn(e)+`")`}function un(e,t){let n=e.indexOf(`xlink:`)===-1?``:` xmlns:xlink="http://www.w3.org/1999/xlink"`;for(let e in t)n+=` `+e+`="`+t[e]+`"`;return`<svg xmlns="http://www.w3.org/2000/svg"`+n+`>`+e+`</svg>`}function dn(e){let t=Object.create(null);Object.assign(t,{display:`inline-block`,width:`1em`,height:`1em`});let n=e.varName;switch(e.pseudoSelector&&(t.content=`''`),e.mode){case`background`:n&&(t[`background-image`]=`var(--`+n+`)`),t[`background-repeat`]=`no-repeat`,t[`background-size`]=`100% 100%`;break;case`mask`:t[`background-color`]=`currentColor`,n&&(t[`mask-image`]=t[`-webkit-mask-image`]=`var(--`+n+`)`),t[`mask-repeat`]=t[`-webkit-mask-repeat`]=`no-repeat`,t[`mask-size`]=t[`-webkit-mask-size`]=`100% 100%`}return t}function fn(e,t){let n=Object.create(null),r=t.varName,i=on(e),a=i.viewBox;a[2]!==a[3]&&(t.forceSquare?a=Yt(a):n.width=Qt(`1em`,a[2]/a[3]));let o=ln(un(i.body.replace(/currentColor/g,t.color||`black`),{viewBox:`${a[0]} ${a[1]} ${a[2]} ${a[3]}`,width:`${a[2]}`,height:`${a[3]}`}));if(r)n[`--`+r]=o;else switch(t.mode){case`background`:n[`background-image`]=o;break;case`mask`:n[`mask-image`]=n[`-webkit-mask-image`]=o}return n}var pn={selectorStart:{compressed:`{`,compact:` {`,expanded:` {`},selectorEnd:{compressed:`}`,compact:`; }
|
|
2
|
-
`,expanded:`;
|
|
3
|
-
}
|
|
4
|
-
`},rule:{compressed:`{key}:`,compact:` {key}: `,expanded:`
|
|
5
|
-
{key}: `}};function mn(e,t=`expanded`){let n=[];for(let r=0;r<e.length;r++){let{selector:i,rules:a}=e[r],o=(i instanceof Array?i.join(t===`compressed`?`,`:`, `):i)+pn.selectorStart[t],s=!0;for(let e in a)s||(o+=`;`),o+=pn.rule[t].replace(`{key}`,e)+a[e],s=!1;o+=pn.selectorEnd[t],n.push(o)}return n.join(t===`compressed`?``:`
|
|
6
|
-
`)}function hn(e,t={}){let n=t.customise?t.customise(e.body):e.body,r=t.mode||(t.color||!n.includes(`currentColor`)?`background`:`mask`),i=t.varName;i===void 0&&r===`mask`&&(i=`svg`);let a={...t,mode:r,varName:i};r===`background`&&delete a.varName;let o=Object.create(null);return Object.assign(o,t.rules,dn(a),fn({...Jt,...e,body:n},a)),mn([{selector:t.iconSelector||`.icon`,rules:o}],a.format)}var gn=!1;function _n(e){if(gn)return;let t=JSON.parse(`[{"prefix":"herdr","icons":{"claude":{"width":24,"height":24,"body":"<path fill=\\"#D97757\\" d=\\"M4.709 15.955l4.72-2.647.08-.23-.08-.128H9.2l-.79-.048-2.698-.073-2.339-.097-2.266-.122-.571-.121L0 11.784l.055-.352.48-.321.686.06 1.52.103 2.278.158 1.652.097 2.449.255h.389l.055-.157-.134-.098-.103-.097-2.358-1.596-2.552-1.688-1.336-.972-.724-.491-.364-.462-.158-1.008.656-.722.881.06.225.061.893.686 1.908 1.476 2.491 1.833.365.304.145-.103.019-.073-.164-.274-1.355-2.446-1.446-2.49-.644-1.032-.17-.619a2.97 2.97 0 01-.104-.729L6.283.134 6.696 0l.996.134.42.364.62 1.414 1.002 2.229 1.555 3.03.456.898.243.832.091.255h.158V9.01l.128-1.706.237-2.095.23-2.695.08-.76.376-.91.747-.492.584.28.48.685-.067.444-.286 1.851-.559 2.903-.364 1.942h.212l.243-.242.985-1.306 1.652-2.064.73-.82.85-.904.547-.431h1.033l.76 1.129-.34 1.166-1.064 1.347-.881 1.142-1.264 1.7-.79 1.36.073.11.188-.02 2.856-.606 1.543-.28 1.841-.315.833.388.091.395-.328.807-1.969.486-2.309.462-3.439.813-.042.03.049.061 1.549.146.662.036h1.622l3.02.225.79.522.474.638-.079.485-1.215.62-1.64-.389-3.829-.91-1.312-.329h-.182v.11l1.093 1.068 2.006 1.81 2.509 2.33.127.578-.322.455-.34-.049-2.205-1.657-.851-.747-1.926-1.62h-.128v.17l.444.649 2.345 3.521.122 1.08-.17.353-.608.213-.668-.122-1.374-1.925-1.415-2.167-1.143-1.943-.14.08-.674 7.254-.316.37-.729.28-.607-.461-.322-.747.322-1.476.389-1.924.315-1.53.286-1.9.17-.632-.012-.042-.14.018-1.434 1.967-2.18 2.945-1.726 1.845-.414.164-.717-.37.067-.662.401-.589 2.388-3.036 1.44-1.882.93-1.086-.006-.158h-.055L4.132 18.56l-1.13.146-.487-.456.061-.746.231-.243 1.908-1.312-.006.006z\\"/>"},"claude-code":{"width":24,"height":24,"body":"<path fill=\\"currentColor\\" fill-rule=\\"evenodd\\" clip-rule=\\"evenodd\\" d=\\"M20.998 10.949H24v3.102h-3v3.028h-1.487V20H18v-2.921h-1.487V20H15v-2.921H9V20H7.488v-2.921H6V20H4.487v-2.921H3V14.05H0V10.95h3V5h17.998v5.949zM6 10.949h1.488V8.102H6v2.847zm10.51 0H18V8.102h-1.49v2.847z\\"/>"},"codex":{"width":24,"height":24,"body":"<path fill=\\"currentColor\\" d=\\"M9.064 3.344a4.578 4.578 0 012.285-.312c1 .115 1.891.54 2.673 1.275.01.01.024.017.037.021a.09.09 0 00.043 0 4.55 4.55 0 013.046.275l.047.022.116.057a4.581 4.581 0 012.188 2.399c.209.51.313 1.041.315 1.595a4.24 4.24 0 01-.134 1.223.123.123 0 00.03.115c.594.607.988 1.33 1.183 2.17.289 1.425-.007 2.71-.887 3.854l-.136.166a4.548 4.548 0 01-2.201 1.388.123.123 0 00-.081.076c-.191.551-.383 1.023-.74 1.494-.9 1.187-2.222 1.846-3.711 1.838-1.187-.006-2.239-.44-3.157-1.302a.107.107 0 00-.105-.024c-.388.125-.78.143-1.204.138a4.441 4.441 0 01-1.945-.466 4.544 4.544 0 01-1.61-1.335c-.152-.202-.303-.392-.414-.617a5.81 5.81 0 01-.37-.961 4.582 4.582 0 01-.014-2.298.124.124 0 00.006-.056.085.085 0 00-.027-.048 4.467 4.467 0 01-1.034-1.651 3.896 3.896 0 01-.251-1.192 5.189 5.189 0 01.141-1.6c.337-1.112.982-1.985 1.933-2.618.212-.141.413-.251.601-.33.215-.089.43-.164.646-.227a.098.098 0 00.065-.066 4.51 4.51 0 01.829-1.615 4.535 4.535 0 011.837-1.388zm3.482 10.565a.637.637 0 000 1.272h3.636a.637.637 0 100-1.272h-3.636zM8.462 9.23a.637.637 0 00-1.106.631l1.272 2.224-1.266 2.136a.636.636 0 101.095.649l1.454-2.455a.636.636 0 00.005-.64L8.462 9.23z\\"/>"},"omp":{"left":-2,"top":-4,"width":28,"height":28,"body":"<rect x=\\"0\\" y=\\"0\\" width=\\"2\\" height=\\"4\\" fill=\\"#f84fcc\\"/><rect x=\\"2\\" y=\\"0\\" width=\\"2\\" height=\\"4\\" fill=\\"#ef51d0\\"/><rect x=\\"4\\" y=\\"0\\" width=\\"2\\" height=\\"4\\" fill=\\"#e652d3\\"/><rect x=\\"6\\" y=\\"0\\" width=\\"2\\" height=\\"4\\" fill=\\"#dc54d7\\"/><rect x=\\"8\\" y=\\"0\\" width=\\"2\\" height=\\"4\\" fill=\\"#d356db\\"/><rect x=\\"10\\" y=\\"0\\" width=\\"2\\" height=\\"4\\" fill=\\"#ca58de\\"/><rect x=\\"12\\" y=\\"0\\" width=\\"2\\" height=\\"4\\" fill=\\"#c159e2\\"/><rect x=\\"14\\" y=\\"0\\" width=\\"2\\" height=\\"4\\" fill=\\"#b85be5\\"/><rect x=\\"16\\" y=\\"0\\" width=\\"2\\" height=\\"4\\" fill=\\"#af5de9\\"/><rect x=\\"18\\" y=\\"0\\" width=\\"2\\" height=\\"4\\" fill=\\"#a55fed\\"/><rect x=\\"20\\" y=\\"0\\" width=\\"2\\" height=\\"4\\" fill=\\"#9c60f0\\"/><rect x=\\"22\\" y=\\"0\\" width=\\"2\\" height=\\"4\\" fill=\\"#9362f4\\"/><rect x=\\"6\\" y=\\"4\\" width=\\"2\\" height=\\"4\\" fill=\\"#c359e1\\"/><rect x=\\"8\\" y=\\"4\\" width=\\"2\\" height=\\"4\\" fill=\\"#ba5be5\\"/><rect x=\\"14\\" y=\\"4\\" width=\\"2\\" height=\\"4\\" fill=\\"#9e60ef\\"/><rect x=\\"16\\" y=\\"4\\" width=\\"2\\" height=\\"4\\" fill=\\"#9562f3\\"/><rect x=\\"6\\" y=\\"8\\" width=\\"2\\" height=\\"4\\" fill=\\"#aa5eeb\\"/><rect x=\\"8\\" y=\\"8\\" width=\\"2\\" height=\\"4\\" fill=\\"#a15fef\\"/><rect x=\\"14\\" y=\\"8\\" width=\\"2\\" height=\\"4\\" fill=\\"#7f72f2\\"/><rect x=\\"16\\" y=\\"8\\" width=\\"2\\" height=\\"4\\" fill=\\"#727ef0\\"/><rect x=\\"6\\" y=\\"12\\" width=\\"1\\" height=\\"1\\" fill=\\"#9065f4\\"/><rect x=\\"6\\" y=\\"14\\" width=\\"1\\" height=\\"1\\" fill=\\"#9065f4\\"/><rect x=\\"7\\" y=\\"13\\" width=\\"1\\" height=\\"1\\" fill=\\"#9065f4\\"/><rect x=\\"7\\" y=\\"15\\" width=\\"1\\" height=\\"1\\" fill=\\"#9065f4\\"/><rect x=\\"8\\" y=\\"12\\" width=\\"1\\" height=\\"1\\" fill=\\"#8270f2\\"/><rect x=\\"8\\" y=\\"14\\" width=\\"1\\" height=\\"1\\" fill=\\"#8270f2\\"/><rect x=\\"9\\" y=\\"13\\" width=\\"1\\" height=\\"1\\" fill=\\"#8270f2\\"/><rect x=\\"9\\" y=\\"15\\" width=\\"1\\" height=\\"1\\" fill=\\"#8270f2\\"/><rect x=\\"14\\" y=\\"12\\" width=\\"2\\" height=\\"4\\" fill=\\"#5a91ee\\"/><rect x=\\"16\\" y=\\"12\\" width=\\"2\\" height=\\"4\\" fill=\\"#4d9cec\\"/><rect x=\\"14\\" y=\\"16\\" width=\\"2\\" height=\\"4\\" fill=\\"#35afea\\"/><rect x=\\"16\\" y=\\"16\\" width=\\"2\\" height=\\"4\\" fill=\\"#28bae8\\"/>"},"openai":{"width":24,"height":24,"body":"<path fill=\\"currentColor\\" fill-rule=\\"evenodd\\" d=\\"M9.205 8.658v-2.26c0-.19.072-.333.238-.428l4.543-2.616c.619-.357 1.356-.523 2.117-.523 2.854 0 4.662 2.212 4.662 4.566 0 .167 0 .357-.024.547l-4.71-2.759a.797.797 0 00-.856 0l-5.97 3.473zm10.609 8.8V12.06c0-.333-.143-.57-.429-.737l-5.97-3.473 1.95-1.118a.433.433 0 01.476 0l4.543 2.617c1.309.76 2.189 2.378 2.189 3.948 0 1.808-1.07 3.473-2.76 4.163zM7.802 12.703l-1.95-1.142c-.167-.095-.239-.238-.239-.428V5.899c0-2.545 1.95-4.472 4.591-4.472 1 0 1.927.333 2.712.928L8.23 5.067c-.285.166-.428.404-.428.737v6.898zM12 15.128l-2.795-1.57v-3.33L12 8.658l2.795 1.57v3.33L12 15.128zm1.796 7.23c-1 0-1.927-.332-2.712-.927l4.686-2.712c.285-.166.428-.404.428-.737v-6.898l1.974 1.142c.167.095.238.238.238.428v5.233c0 2.545-1.974 4.472-4.614 4.472zm-5.637-5.303l-4.544-2.617c-1.308-.761-2.188-2.378-2.188-3.948A4.482 4.482 0 014.21 6.327v5.423c0 .333.143.571.428.738l5.947 3.449-1.95 1.118a.432.432 0 01-.476 0zm-.262 3.9c-2.688 0-4.662-2.021-4.662-4.519 0-.19.024-.38.047-.57l4.686 2.71c.286.167.571.167.856 0l5.97-3.448v2.26c0 .19-.07.333-.237.428l-4.543 2.616c-.619.357-1.356.523-2.117.523zm5.899 2.83a5.947 5.947 0 005.827-4.756C22.287 18.339 24 15.84 24 13.296c0-1.665-.713-3.282-1.998-4.448.119-.5.19-.999.19-1.498 0-3.401-2.759-5.947-5.946-5.947-.642 0-1.26.095-1.88.31A5.962 5.962 0 0010.205 0a5.947 5.947 0 00-5.827 4.757C1.713 5.447 0 7.945 0 10.49c0 1.666.713 3.283 1.998 4.448-.119.5-.19 1-.19 1.499 0 3.401 2.759 5.946 5.946 5.946.642 0 1.26-.095 1.88-.309a5.96 5.96 0 004.162 1.713z\\"/>"},"stop":{"width":24,"height":24,"body":"<rect x=\\"6\\" y=\\"6\\" width=\\"12\\" height=\\"12\\" fill=\\"currentColor\\"/>"}}},{"prefix":"lucide","icons":{"activity":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M22 12h-2.48a2 2 0 0 0-1.93 1.46l-2.35 8.36a.25.25 0 0 1-.48 0L9.24 2.18a.25.25 0 0 0-.48 0l-2.35 8.36A2 2 0 0 1 4.49 12H2\\"/>"},"alarm-clock":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><circle cx=\\"12\\" cy=\\"13\\" r=\\"8\\"/><path d=\\"M12 9v4l2 2M5 3L2 6m20 0l-3-3M6.38 18.7L4 21m13.64-2.33L20 21\\"/></g>"},"archive":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><rect width=\\"20\\" height=\\"5\\" x=\\"2\\" y=\\"3\\" rx=\\"1\\"/><path d=\\"M4 8v11a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8m-10 4h4\\"/></g>"},"arrow-down":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M12 5v14m7-7l-7 7l-7-7\\"/>"},"arrow-down-a-z":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"m3 16l4 4l4-4m-4 4V4m13 4h-5m0 2V6.5a2.5 2.5 0 0 1 5 0V10m-5 4h5l-5 6h5\\"/>"},"arrow-left":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"m12 19l-7-7l7-7m7 7H5\\"/>"},"arrow-left-right":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M8 3L4 7l4 4M4 7h16m-4 14l4-4l-4-4m4 4H4\\"/>"},"arrow-right":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M5 12h14m-7-7l7 7l-7 7\\"/>"},"arrow-up":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"m5 12l7-7l7 7m-7 7V5\\"/>"},"arrow-up-right":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M7 7h10v10M7 17L17 7\\"/>"},"arrow-up-to-line":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M5 3h14m-1 10l-6-6l-6 6m6-6v14\\"/>"},"battery":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M22 14v-4\\"/><rect width=\\"16\\" height=\\"12\\" x=\\"2\\" y=\\"6\\" rx=\\"2\\"/></g>"},"bell":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M10.268 21a2 2 0 0 0 3.464 0m-10.47-5.674A1 1 0 0 0 4 17h16a1 1 0 0 0 .74-1.673C19.41 13.956 18 12.499 18 8A6 6 0 0 0 6 8c0 4.499-1.411 5.956-2.738 7.326\\"/>"},"bell-off":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M10.268 21a2 2 0 0 0 3.464 0M17 17H4a1 1 0 0 1-.74-1.673C4.59 13.956 6 12.499 6 8a6 6 0 0 1 .258-1.742M2 2l20 20M8.668 3.01A6 6 0 0 1 18 8c0 2.687.77 4.653 1.707 6.05\\"/>"},"bot":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M12 8V4H8\\"/><rect width=\\"16\\" height=\\"12\\" x=\\"4\\" y=\\"8\\" rx=\\"2\\"/><path d=\\"M2 14h2m16 0h2m-7-1v2m-6-2v2\\"/></g>"},"check":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M20 6L9 17l-5-5\\"/>"},"chevron-down":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"m6 9l6 6l6-6\\"/>"},"chevron-left":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"m15 18l-6-6l6-6\\"/>"},"chevron-right":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"m9 18l6-6l-6-6\\"/>"},"chevron-up":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"m18 15l-6-6l-6 6\\"/>"},"chevrons-left":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"m11 17l-5-5l5-5m7 10l-5-5l5-5\\"/>"},"chevrons-right":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"m6 17l5-5l-5-5m7 10l5-5l-5-5\\"/>"},"circle-alert":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><circle cx=\\"12\\" cy=\\"12\\" r=\\"10\\"/><path d=\\"M12 8v4m0 4h.01\\"/></g>"},"circle-arrow-up":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><circle cx=\\"12\\" cy=\\"12\\" r=\\"10\\"/><path d=\\"m16 12l-4-4l-4 4m4 4V8\\"/></g>"},"circle-check":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><circle cx=\\"12\\" cy=\\"12\\" r=\\"10\\"/><path d=\\"m16 9l-5.5 5.5L8 12\\"/></g>"},"circle-help":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><circle cx=\\"12\\" cy=\\"12\\" r=\\"10\\"/><path d=\\"M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3m.08 4h.01\\"/></g>"},"circle-x":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><circle cx=\\"12\\" cy=\\"12\\" r=\\"10\\"/><path d=\\"m15 9l-6 6m0-6l6 6\\"/></g>"},"clipboard-list":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><rect width=\\"8\\" height=\\"4\\" x=\\"8\\" y=\\"2\\" rx=\\"1\\" ry=\\"1\\"/><path d=\\"M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2m4 7h4m-4 5h4m-8-5h.01M8 16h.01\\"/></g>"},"clipboard-paste":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M11 14h10M16 4h2a2 2 0 0 1 2 2v1.344M17 18l4-4l-4-4\\"/><path d=\\"M8 4H6a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h12a2 2 0 0 0 1.793-1.113\\"/><rect width=\\"8\\" height=\\"4\\" x=\\"8\\" y=\\"2\\" rx=\\"1\\"/></g>"},"clock":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><circle cx=\\"12\\" cy=\\"12\\" r=\\"10\\"/><path d=\\"M12 6v6l4 2\\"/></g>"},"clock-alert":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M12 6v6l4 2m4-2v5m0 4h.01\\"/><path d=\\"M21.25 8.2A10 10 0 1 0 16 21.16\\"/></g>"},"code-xml":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"m18 16l4-4l-4-4M6 8l-4 4l4 4m8.5-12l-5 16\\"/>"},"columns-2":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><rect width=\\"18\\" height=\\"18\\" x=\\"3\\" y=\\"3\\" rx=\\"2\\"/><path d=\\"M12 3v18\\"/></g>"},"compass":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><circle cx=\\"12\\" cy=\\"12\\" r=\\"10\\"/><path d=\\"m16.24 7.76l-1.804 5.411a2 2 0 0 1-1.265 1.265L7.76 16.24l1.804-5.411a2 2 0 0 1 1.265-1.265z\\"/></g>"},"copy":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><rect width=\\"14\\" height=\\"14\\" x=\\"8\\" y=\\"8\\" rx=\\"2\\" ry=\\"2\\"/><path d=\\"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2\\"/></g>"},"copy-check":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"m12 15l2 2l4-4\\"/><rect width=\\"14\\" height=\\"14\\" x=\\"8\\" y=\\"8\\" rx=\\"2\\" ry=\\"2\\"/><path d=\\"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2\\"/></g>"},"corner-down-left":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M20 4v7a4 4 0 0 1-4 4H4\\"/><path d=\\"m9 10l-5 5l5 5\\"/></g>"},"corner-down-right":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"m15 10l5 5l-5 5\\"/><path d=\\"M4 4v7a4 4 0 0 0 4 4h12\\"/></g>"},"corner-left-up":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M14 9L9 4L4 9\\"/><path d=\\"M20 20h-7a4 4 0 0 1-4-4V4\\"/></g>"},"cpu":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M12 20v2m0-20v2m5 16v2m0-20v2M2 12h2m-2 5h2M2 7h2m16 5h2m-2 5h2M20 7h2M7 20v2M7 2v2\\"/><rect width=\\"16\\" height=\\"16\\" x=\\"4\\" y=\\"4\\" rx=\\"2\\"/><rect width=\\"8\\" height=\\"8\\" x=\\"8\\" y=\\"8\\" rx=\\"1\\"/></g>"},"download":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M12 15V3m9 12v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4\\"/><path d=\\"m7 10l5 5l5-5\\"/></g>"},"ellipsis":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><circle cx=\\"12\\" cy=\\"12\\" r=\\"1\\"/><circle cx=\\"19\\" cy=\\"12\\" r=\\"1\\"/><circle cx=\\"5\\" cy=\\"12\\" r=\\"1\\"/></g>"},"ellipsis-vertical":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><circle cx=\\"12\\" cy=\\"12\\" r=\\"1\\"/><circle cx=\\"12\\" cy=\\"5\\" r=\\"1\\"/><circle cx=\\"12\\" cy=\\"19\\" r=\\"1\\"/></g>"},"external-link":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M15 3h6v6m-11 5L21 3m-3 10v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6\\"/>"},"eye":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M2.062 12.348a1 1 0 0 1 0-.696a10.75 10.75 0 0 1 19.876 0a1 1 0 0 1 0 .696a10.75 10.75 0 0 1-19.876 0\\"/><circle cx=\\"12\\" cy=\\"12\\" r=\\"3\\"/></g>"},"eye-off":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575a1 1 0 0 1 0 .696a10.8 10.8 0 0 1-1.444 2.49m-6.41-.679a3 3 0 0 1-4.242-4.242\\"/><path d=\\"M17.479 17.499a10.75 10.75 0 0 1-15.417-5.151a1 1 0 0 1 0-.696a10.75 10.75 0 0 1 4.446-5.143M2 2l20 20\\"/></g>"},"file":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z\\"/><path d=\\"M14 2v5a1 1 0 0 0 1 1h5\\"/></g>"},"file-code":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z\\"/><path d=\\"M14 2v5a1 1 0 0 0 1 1h5m-10 4.5L8 15l2 2.5m4-5l2 2.5l-2 2.5\\"/></g>"},"file-diff":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2zm3-12h6m-3 3V7M9 17h6\\"/>"},"file-image":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z\\"/><path d=\\"M14 2v5a1 1 0 0 0 1 1h5\\"/><circle cx=\\"10\\" cy=\\"12\\" r=\\"2\\"/><path d=\\"m20 17l-1.296-1.296a2.41 2.41 0 0 0-3.408 0L9 22\\"/></g>"},"file-json":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z\\"/><path d=\\"M14 2v4a2 2 0 0 0 2 2h4m-10 4a1 1 0 0 0-1 1v1a1 1 0 0 1-1 1a1 1 0 0 1 1 1v1a1 1 0 0 0 1 1m4 0a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1a1 1 0 0 1-1-1v-1a1 1 0 0 0-1-1\\"/></g>","hidden":true},"file-pen":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M12.659 22H18a2 2 0 0 0 2-2V8a2.4 2.4 0 0 0-.706-1.706l-3.588-3.588A2.4 2.4 0 0 0 14 2H6a2 2 0 0 0-2 2v9.34\\"/><path d=\\"M14 2v5a1 1 0 0 0 1 1h5m-9.622 4.622a1 1 0 0 1 3 3.003L8.36 20.637a2 2 0 0 1-.854.506l-2.867.837a.5.5 0 0 1-.62-.62l.836-2.869a2 2 0 0 1 .506-.853z\\"/></g>"},"file-plus":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z\\"/><path d=\\"M14 2v5a1 1 0 0 0 1 1h5M9 15h6m-3 3v-6\\"/></g>"},"file-question":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2zm6-5h.01\\"/><path d=\\"M9.1 9a3 3 0 0 1 5.82 1c0 2-3 3-3 3\\"/></g>"},"file-symlink":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M4 11V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.706.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2v-3a2 2 0 0 1 2-2h7\\"/><path d=\\"M14 2v5a1 1 0 0 0 1 1h5M10 18l3-3l-3-3\\"/></g>"},"file-text":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z\\"/><path d=\\"M14 2v5a1 1 0 0 0 1 1h5M10 9H8m8 4H8m8 4H8\\"/></g>"},"file-type":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z\\"/><path d=\\"M14 2v5a1 1 0 0 0 1 1h5m-9 10h2m-1-6v6m-3-5v-.5a.5.5 0 0 1 .5-.5h5a.5.5 0 0 1 .5.5v.5\\"/></g>"},"flask-conical":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M14 2v6a2 2 0 0 0 .245.96l5.51 10.08A2 2 0 0 1 18 22H6a2 2 0 0 1-1.755-2.96l5.51-10.08A2 2 0 0 0 10 8V2M6.453 15h11.094M8.5 2h7\\"/>"},"folder":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z\\"/>"},"folder-kanban":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M4 20h16a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.93a2 2 0 0 1-1.66-.9l-.82-1.2A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13c0 1.1.9 2 2 2m4-10v4m4-4v2m4-2v6\\"/>"},"folder-open":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"m6 14l1.5-2.9A2 2 0 0 1 9.24 10H20a2 2 0 0 1 1.94 2.5l-1.54 6a2 2 0 0 1-1.95 1.5H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H18a2 2 0 0 1 2 2v2\\"/>"},"folder-plus":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M12 10v6m-3-3h6m5 7a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z\\"/>"},"folder-search":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M10.7 20H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H20a2 2 0 0 1 2 2v4.1M21 21l-1.9-1.9\\"/><circle cx=\\"17\\" cy=\\"17\\" r=\\"3\\"/></g>"},"folder-symlink":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M2 9.35V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H20a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2v-3a2 2 0 0 1 2-2h7\\"/><path d=\\"m8 16l3-3l-3-3\\"/></g>"},"folder-tree":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M20 10a1 1 0 0 0 1-1V6a1 1 0 0 0-1-1h-2.5a1 1 0 0 1-.8-.4l-.9-1.2A1 1 0 0 0 15 3h-2a1 1 0 0 0-1 1v5a1 1 0 0 0 1 1Zm0 11a1 1 0 0 0 1-1v-3a1 1 0 0 0-1-1h-2.9a1 1 0 0 1-.88-.55l-.42-.85a1 1 0 0 0-.92-.6H13a1 1 0 0 0-1 1v5a1 1 0 0 0 1 1ZM3 5a2 2 0 0 0 2 2h3\\"/><path d=\\"M3 3v13a2 2 0 0 0 2 2h3\\"/></g>"},"gauge":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"m12 14l4-4M3.34 19a10 10 0 1 1 17.32 0\\"/>"},"git-branch":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M15 6a9 9 0 0 0-9 9V3\\"/><circle cx=\\"18\\" cy=\\"6\\" r=\\"3\\"/><circle cx=\\"6\\" cy=\\"18\\" r=\\"3\\"/></g>"},"git-branch-plus":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M6 3v12m12-6a3 3 0 1 0 0-6a3 3 0 0 0 0 6M6 21a3 3 0 1 0 0-6a3 3 0 0 0 0 6\\"/><path d=\\"M15 6a9 9 0 0 0-9 9m12 0v6m3-3h-6\\"/></g>"},"git-fork":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><circle cx=\\"12\\" cy=\\"18\\" r=\\"3\\"/><circle cx=\\"6\\" cy=\\"6\\" r=\\"3\\"/><circle cx=\\"18\\" cy=\\"6\\" r=\\"3\\"/><path d=\\"M18 9v2c0 .6-.4 1-1 1H7c-.6 0-1-.4-1-1V9m6 3v3\\"/></g>"},"git-pull-request":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><circle cx=\\"18\\" cy=\\"18\\" r=\\"3\\"/><circle cx=\\"6\\" cy=\\"6\\" r=\\"3\\"/><path d=\\"M13 6h3a2 2 0 0 1 2 2v7M6 9v12\\"/></g>"},"globe":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><circle cx=\\"12\\" cy=\\"12\\" r=\\"10\\"/><path d=\\"M12 2a14.5 14.5 0 0 0 0 20a14.5 14.5 0 0 0 0-20M2 12h20\\"/></g>"},"grip-vertical":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><circle cx=\\"9\\" cy=\\"12\\" r=\\"1\\"/><circle cx=\\"9\\" cy=\\"5\\" r=\\"1\\"/><circle cx=\\"9\\" cy=\\"19\\" r=\\"1\\"/><circle cx=\\"15\\" cy=\\"12\\" r=\\"1\\"/><circle cx=\\"15\\" cy=\\"5\\" r=\\"1\\"/><circle cx=\\"15\\" cy=\\"19\\" r=\\"1\\"/></g>"},"hash":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M4 9h16M4 15h16M10 3L8 21m8-18l-2 18\\"/>"},"image":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><rect width=\\"18\\" height=\\"18\\" x=\\"3\\" y=\\"3\\" rx=\\"2\\" ry=\\"2\\"/><circle cx=\\"9\\" cy=\\"9\\" r=\\"2\\"/><path d=\\"m21 15l-3.086-3.086a2 2 0 0 0-2.828 0L6 21\\"/></g>"},"info":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><circle cx=\\"12\\" cy=\\"12\\" r=\\"10\\"/><path d=\\"M12 16v-4m0-4h.01\\"/></g>"},"keyboard":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M10 8h.01M12 12h.01M14 8h.01M16 12h.01M18 8h.01M6 8h.01M7 16h10m-9-4h.01\\"/><rect width=\\"20\\" height=\\"16\\" x=\\"2\\" y=\\"4\\" rx=\\"2\\"/></g>"},"laptop":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M18 5a2 2 0 0 1 2 2v8.526a2 2 0 0 0 .212.897l1.068 2.127a1 1 0 0 1-.9 1.45H3.62a1 1 0 0 1-.9-1.45l1.068-2.127A2 2 0 0 0 4 15.526V7a2 2 0 0 1 2-2zm2.054 10.987H3.946\\"/>"},"layers":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83z\\"/><path d=\\"M2 12a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 12\\"/><path d=\\"M2 17a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 17\\"/></g>"},"layout-panel-left":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><rect width=\\"7\\" height=\\"18\\" x=\\"3\\" y=\\"3\\" rx=\\"1\\"/><rect width=\\"7\\" height=\\"7\\" x=\\"14\\" y=\\"3\\" rx=\\"1\\"/><rect width=\\"7\\" height=\\"7\\" x=\\"14\\" y=\\"14\\" rx=\\"1\\"/></g>"},"lightbulb":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M15 14c.2-1 .7-1.7 1.5-2.5c1-.9 1.5-2.2 1.5-3.5A6 6 0 0 0 6 8c0 1 .2 2.2 1.5 3.5c.7.7 1.3 1.5 1.5 2.5m0 4h6m-5 4h4\\"/>"},"list":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M3 5h.01M3 12h.01M3 19h.01M8 5h13M8 12h13M8 19h13\\"/>"},"list-filter":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M2 5h20M6 12h12m-9 7h6\\"/>"},"list-ordered":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M11 5h10m-10 7h10m-10 7h10M4 4h1v5M4 9h2m.5 11H3.4c0-1 2.6-1.925 2.6-3.5a1.5 1.5 0 0 0-2.6-1.02\\"/>"},"list-plus":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M16 5H3m8 7H3m13 7H3M18 9v6m3-3h-6\\"/>"},"list-todo":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M13 5h8m-8 7h8m-8 7h8M3 17l2 2l4-4\\"/><rect width=\\"6\\" height=\\"6\\" x=\\"3\\" y=\\"4\\" rx=\\"1\\"/></g>"},"list-x":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M16 5H3m8 7H3m13 7H3m12.5-9.5l5 5m0-5l-5 5\\"/>"},"loader-circle":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M21 12a9 9 0 1 1-6.219-8.56\\"/>"},"lock":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><rect width=\\"18\\" height=\\"11\\" x=\\"3\\" y=\\"11\\" rx=\\"2\\" ry=\\"2\\"/><path d=\\"M7 11V7a5 5 0 0 1 10 0v4\\"/></g>"},"lock-keyhole-open":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><circle cx=\\"12\\" cy=\\"16\\" r=\\"1\\"/><rect width=\\"18\\" height=\\"12\\" x=\\"3\\" y=\\"10\\" rx=\\"2\\"/><path d=\\"M7 10V7a5 5 0 0 1 9.33-2.5\\"/></g>"},"lock-open":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><rect width=\\"18\\" height=\\"11\\" x=\\"3\\" y=\\"11\\" rx=\\"2\\" ry=\\"2\\"/><path d=\\"M7 11V7a5 5 0 0 1 9.9-1\\"/></g>"},"mail":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"m22 7l-8.991 5.727a2 2 0 0 1-2.009 0L2 7\\"/><rect width=\\"20\\" height=\\"16\\" x=\\"2\\" y=\\"4\\" rx=\\"2\\"/></g>"},"mail-open":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M21.2 8.4c.5.38.8.97.8 1.6v10a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V10a2 2 0 0 1 .8-1.6l8-6a2 2 0 0 1 2.4 0z\\"/><path d=\\"m22 10l-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 10\\"/></g>"},"maximize-2":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M15 3h6v6m0-6l-7 7M3 21l7-7m-1 7H3v-6\\"/>"},"menu":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M4 5h16M4 12h16M4 19h16\\"/>"},"message-circle-question":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M2.992 16.342a2 2 0 0 1 .094 1.167l-1.065 3.29a1 1 0 0 0 1.236 1.168l3.413-.998a2 2 0 0 1 1.099.092a10 10 0 1 0-4.777-4.719\\"/><path d=\\"M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3m.08 4h.01\\"/></g>"},"message-square":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z\\"/>"},"message-square-dashed":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M14 3h2m0 16h-2M2 12v-2m0 6v5.286a.71.71 0 0 0 1.212.502l1.149-1.149M20 19a2 2 0 0 0 2-2v-1m0-6v2m0-6V5a2 2 0 0 0-2-2M4 3a2 2 0 0 0-2 2v1m6 13h2M8 3h2\\"/>"},"message-square-plus":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2zM12 8v6m-3-3h6\\"/>"},"minus":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M5 12h14\\"/>"},"monitor":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><rect width=\\"20\\" height=\\"14\\" x=\\"2\\" y=\\"3\\" rx=\\"2\\"/><path d=\\"M8 21h8m-4-4v4\\"/></g>"},"moon":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M20.985 12.486a9 9 0 1 1-9.473-9.472c.405-.022.617.46.402.803a6 6 0 0 0 8.268 8.268c.344-.215.825-.004.803.401\\"/>"},"moon-star":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M18 5h4m-2-2v4m.985 5.486a9 9 0 1 1-9.473-9.472c.405-.022.617.46.402.803a6 6 0 0 0 8.268 8.268c.344-.215.825-.004.803.401\\"/>"},"move":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M12 2v20m3-3l-3 3l-3-3M19 9l3 3l-3 3M2 12h20M5 9l-3 3l3 3M9 5l3-3l3 3\\"/>"},"notebook-pen":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M13.4 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-7.4M2 6h4m-4 4h4m-4 4h4m-4 4h4\\"/><path d=\\"M21.378 5.626a1 1 0 1 0-3.004-3.004l-5.01 5.012a2 2 0 0 0-.506.854l-.837 2.87a.5.5 0 0 0 .62.62l2.87-.837a2 2 0 0 0 .854-.506z\\"/></g>"},"octagon-alert":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M12 16h.01M12 8v4m3.312-10a2 2 0 0 1 1.414.586l4.688 4.688A2 2 0 0 1 22 8.688v6.624a2 2 0 0 1-.586 1.414l-4.688 4.688a2 2 0 0 1-1.414.586H8.688a2 2 0 0 1-1.414-.586l-4.688-4.688A2 2 0 0 1 2 15.312V8.688a2 2 0 0 1 .586-1.414l4.688-4.688A2 2 0 0 1 8.688 2z\\"/>"},"palette":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M12 22a1 1 0 0 1 0-20a10 9 0 0 1 10 9a5 5 0 0 1-5 5h-2.25a1.75 1.75 0 0 0-1.4 2.8l.3.4a1.75 1.75 0 0 1-1.4 2.8z\\"/><circle cx=\\"13.5\\" cy=\\"6.5\\" r=\\".5\\" fill=\\"currentColor\\"/><circle cx=\\"17.5\\" cy=\\"10.5\\" r=\\".5\\" fill=\\"currentColor\\"/><circle cx=\\"6.5\\" cy=\\"12.5\\" r=\\".5\\" fill=\\"currentColor\\"/><circle cx=\\"8.5\\" cy=\\"7.5\\" r=\\".5\\" fill=\\"currentColor\\"/></g>"},"panel-left-close":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><rect width=\\"18\\" height=\\"18\\" x=\\"3\\" y=\\"3\\" rx=\\"2\\"/><path d=\\"M9 3v18m7-6l-3-3l3-3\\"/></g>"},"panel-left-open":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><rect width=\\"18\\" height=\\"18\\" x=\\"3\\" y=\\"3\\" rx=\\"2\\"/><path d=\\"M9 3v18m5-12l3 3l-3 3\\"/></g>"},"panel-right-close":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><rect width=\\"18\\" height=\\"18\\" x=\\"3\\" y=\\"3\\" rx=\\"2\\"/><path d=\\"M15 3v18M8 9l3 3l-3 3\\"/></g>"},"panel-right-open":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><rect width=\\"18\\" height=\\"18\\" x=\\"3\\" y=\\"3\\" rx=\\"2\\"/><path d=\\"M15 3v18m-5-6l-3-3l3-3\\"/></g>"},"panels-top-left":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><rect width=\\"18\\" height=\\"18\\" x=\\"3\\" y=\\"3\\" rx=\\"2\\"/><path d=\\"M3 9h18M9 21V9\\"/></g>"},"paperclip":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"m16 6l-8.414 8.586a2 2 0 0 0 2.829 2.829l8.414-8.586a4 4 0 1 0-5.657-5.657l-8.379 8.551a6 6 0 1 0 8.485 8.485l8.379-8.551\\"/>"},"pause":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><rect width=\\"5\\" height=\\"18\\" x=\\"14\\" y=\\"3\\" rx=\\"1\\"/><rect width=\\"5\\" height=\\"18\\" x=\\"5\\" y=\\"3\\" rx=\\"1\\"/></g>"},"pencil":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497zM15 5l4 4\\"/>"},"pencil-line":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M13 21h8M15 5l4 4m2.174-2.188a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z\\"/>"},"play":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M5 5a2 2 0 0 1 3.008-1.728l11.997 6.998a2 2 0 0 1 .003 3.458l-12 7A2 2 0 0 1 5 19z\\"/>"},"plus":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M5 12h14m-7-7v14\\"/>"},"puzzle":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M15.39 4.39a1 1 0 0 0 1.68-.474a2.5 2.5 0 1 1 3.014 3.015a1 1 0 0 0-.474 1.68l1.683 1.682a2.414 2.414 0 0 1 0 3.414L19.61 15.39a1 1 0 0 1-1.68-.474a2.5 2.5 0 1 0-3.014 3.015a1 1 0 0 1 .474 1.68l-1.683 1.682a2.414 2.414 0 0 1-3.414 0L8.61 19.61a1 1 0 0 0-1.68.474a2.5 2.5 0 1 1-3.014-3.015a1 1 0 0 0 .474-1.68l-1.683-1.682a2.414 2.414 0 0 1 0-3.414L4.39 8.61a1 1 0 0 1 1.68.474a2.5 2.5 0 1 0 3.014-3.015a1 1 0 0 1-.474-1.68l1.683-1.682a2.414 2.414 0 0 1 3.414 0z\\"/>"},"radio-tower":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M4.9 16.1C1 12.2 1 5.8 4.9 1.9m2.9 2.8a6.14 6.14 0 0 0-.8 7.5\\"/><circle cx=\\"12\\" cy=\\"9\\" r=\\"2\\"/><path d=\\"M16.2 4.8c2 2 2.26 5.11.8 7.47M19.1 1.9a9.96 9.96 0 0 1 0 14.1m-9.6 2h5M8 22l4-11l4 11\\"/></g>"},"refresh-cw":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M3 12a9 9 0 0 1 9-9a9.75 9.75 0 0 1 6.74 2.74L21 8\\"/><path d=\\"M21 3v5h-5m5 4a9 9 0 0 1-9 9a9.75 9.75 0 0 1-6.74-2.74L3 16\\"/><path d=\\"M8 16H3v5\\"/></g>"},"reply":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M20 18v-2a4 4 0 0 0-4-4H4\\"/><path d=\\"m9 17l-5-5l5-5\\"/></g>"},"rotate-ccw":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M3 12a9 9 0 1 0 9-9a9.75 9.75 0 0 0-6.74 2.74L3 8\\"/><path d=\\"M3 3v5h5\\"/></g>"},"rotate-cw":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M21 12a9 9 0 1 1-9-9c2.52 0 4.93 1 6.74 2.74L21 8\\"/><path d=\\"M21 3v5h-5\\"/></g>"},"rows-2":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><rect width=\\"18\\" height=\\"18\\" x=\\"3\\" y=\\"3\\" rx=\\"2\\"/><path d=\\"M3 12h18\\"/></g>"},"scan-face":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M3 7V5a2 2 0 0 1 2-2h2m10 0h2a2 2 0 0 1 2 2v2m0 10v2a2 2 0 0 1-2 2h-2M7 21H5a2 2 0 0 1-2-2v-2m5-3s1.5 2 4 2s4-2 4-2M9 9h.01M15 9h.01\\"/>"},"search":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"m21 21l-4.34-4.34\\"/><circle cx=\\"11\\" cy=\\"11\\" r=\\"8\\"/></g>"},"send":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11zm7.318-19.539l-10.94 10.939\\"/>"},"server":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><rect width=\\"20\\" height=\\"8\\" x=\\"2\\" y=\\"2\\" rx=\\"2\\" ry=\\"2\\"/><rect width=\\"20\\" height=\\"8\\" x=\\"2\\" y=\\"14\\" rx=\\"2\\" ry=\\"2\\"/><path d=\\"M6 6h.01M6 18h.01\\"/></g>"},"settings-2":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M14 17H5M19 7h-9\\"/><circle cx=\\"17\\" cy=\\"17\\" r=\\"3\\"/><circle cx=\\"7\\" cy=\\"7\\" r=\\"3\\"/></g>"},"share":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M12 2v13m4-9l-4-4l-4 4m-4 6v8a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-8\\"/>"},"shield-alert":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1zm-8-5v4m0 4h.01\\"/>"},"signpost":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M12 13v8m0-18v3m-9.646 4.354a1.207 1.207 0 0 1 0-1.708l2.06-2.06A2 2 0 0 1 5.828 6h12.344a2 2 0 0 1 1.414.586l2.06 2.06a1.207 1.207 0 0 1 0 1.708l-2.06 2.06a2 2 0 0 1-1.414.586H5.828a2 2 0 0 1-1.414-.586z\\"/>"},"smartphone":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><rect width=\\"14\\" height=\\"20\\" x=\\"5\\" y=\\"2\\" rx=\\"2\\" ry=\\"2\\"/><path d=\\"M12 18h.01\\"/></g>"},"sparkles":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M11.017 2.814a1 1 0 0 1 1.966 0l1.051 5.558a2 2 0 0 0 1.594 1.594l5.558 1.051a1 1 0 0 1 0 1.966l-5.558 1.051a2 2 0 0 0-1.594 1.594l-1.051 5.558a1 1 0 0 1-1.966 0l-1.051-5.558a2 2 0 0 0-1.594-1.594l-5.558-1.051a1 1 0 0 1 0-1.966l5.558-1.051a2 2 0 0 0 1.594-1.594zM20 2v4m2-2h-4\\"/><circle cx=\\"4\\" cy=\\"20\\" r=\\"2\\"/></g>"},"square":{"width":24,"height":24,"body":"<rect width=\\"18\\" height=\\"18\\" x=\\"3\\" y=\\"3\\" fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" rx=\\"2\\"/>"},"square-check":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><rect width=\\"18\\" height=\\"18\\" x=\\"3\\" y=\\"3\\" rx=\\"2\\"/><path d=\\"m16 9l-5.5 5.5L8 12\\"/></g>"},"square-kanban":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><rect width=\\"18\\" height=\\"18\\" x=\\"3\\" y=\\"3\\" rx=\\"2\\"/><path d=\\"M8 7v7m4-7v4m4-4v9\\"/></g>"},"square-plus":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><rect width=\\"18\\" height=\\"18\\" x=\\"3\\" y=\\"3\\" rx=\\"2\\"/><path d=\\"M8 12h8m-4-4v8\\"/></g>"},"square-terminal":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"m7 11l2-2l-2-2m4 6h4\\"/><rect width=\\"18\\" height=\\"18\\" x=\\"3\\" y=\\"3\\" rx=\\"2\\" ry=\\"2\\"/></g>"},"star":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.12 2.12 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.12 2.12 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.12 2.12 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.12 2.12 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.12 2.12 0 0 0 1.597-1.16z\\"/>"},"stethoscope":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M11 2v2M5 2v2m0-1H4a2 2 0 0 0-2 2v4a6 6 0 0 0 12 0V5a2 2 0 0 0-2-2h-1\\"/><path d=\\"M8 15a6 6 0 0 0 12 0v-3\\"/><circle cx=\\"20\\" cy=\\"10\\" r=\\"2\\"/></g>"},"sun":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><circle cx=\\"12\\" cy=\\"12\\" r=\\"4\\"/><path d=\\"M12 2v2m0 16v2M4.93 4.93l1.41 1.41m11.32 11.32l1.41 1.41M2 12h2m16 0h2M6.34 17.66l-1.41 1.41M19.07 4.93l-1.41 1.41\\"/></g>"},"terminal":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M12 19h8M4 17l6-6l-6-6\\"/>"},"text-search":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M21 5H3m7 7H3m7 7H3\\"/><circle cx=\\"17\\" cy=\\"15\\" r=\\"3\\"/><path d=\\"m21 19l-1.9-1.9\\"/></g>"},"trash-2":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M10 11v6m4-6v6m5-11v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6M3 6h18M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2\\"/>"},"triangle-alert":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"m21.73 18l-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3M12 9v4m0 4h.01\\"/>"},"undo-2":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M9 14L4 9l5-5\\"/><path d=\\"M4 9h10.5a5.5 5.5 0 0 1 5.5 5.5a5.5 5.5 0 0 1-5.5 5.5H11\\"/></g>"},"unplug":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"m19 5l3-3M2 22l3-3m1.3 1.3a2.4 2.4 0 0 0 3.4 0L12 18l-6-6l-2.3 2.3a2.4 2.4 0 0 0 0 3.4Zm1.2-6.8L10 11m.5 5.5L13 14m-1-8l6 6l2.3-2.3a2.4 2.4 0 0 0 0-3.4l-2.6-2.6a2.4 2.4 0 0 0-3.4 0Z\\"/>"},"upload":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M12 3v12m5-7l-5-5l-5 5m14 7v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4\\"/>"},"wifi-off":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M12 20h.01M8.5 16.429a5 5 0 0 1 7 0M5 12.859a10 10 0 0 1 5.17-2.69m8.83 2.69a10 10 0 0 0-2.007-1.523M2 8.82a15 15 0 0 1 4.177-2.643M22 8.82a15 15 0 0 0-11.288-3.764M2 2l20 20\\"/>"},"wrench":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.106-3.105c.32-.322.863-.22.983.218a6 6 0 0 1-8.259 7.057l-7.91 7.91a1 1 0 0 1-2.999-3l7.91-7.91a6 6 0 0 1 7.057-8.259c.438.12.54.662.219.984z\\"/>"},"x":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M18 6L6 18M6 6l12 12\\"/>"}}}]`);for(let n of t)for(let[t,r]of Object.entries(n.icons))e(n.prefix?n.prefix+`:`+t:t,r);gn=!0}async function vn(e,t){if(!e)return null;_n(F);let n=I(e);if(n)return n;let r,i=mt(e).catch(()=>(console.warn(`[Icon] failed to load icon \`${e}\``),null));return t>0?await Promise.race([i,new Promise(n=>{r=setTimeout(()=>{console.warn(`[Icon] loading icon \`${e}\` timed out after ${t}ms`),n()},t)})]).finally(()=>clearTimeout(r)):await i,I(e)}function yn(e){let n=D().icon,r=(n.collections||[]).sort((e,t)=>t.length-e.length);return t(()=>{let t=e(),i=t.startsWith(n.cssSelectorPrefix)?t.slice(n.cssSelectorPrefix.length):t,a=n.aliases?.[i]||i;if(!a.includes(`:`)){let e=r.find(e=>a.startsWith(e+`-`));return e?e+`:`+a.slice(e.length+1):a}return a})}function bn(e,t){if(e!==!1)return e===!0||e===null?t:e}var Q;function xn(e){return e.replace(/([^\w-])/g,`\\$1`)}function Sn(){if(Q)return Q;Q=new Set;let e=e=>{if(e=e.replace(/^:where\((.*)\)$/,`$1`).trim(),e.startsWith(`.`))return e},t=n=>{if(n?.length)for(let r of n){r?.cssRules&&t(r.cssRules);let n=r?.selectorText;if(typeof n==`string`){let t=e(n);t&&Q.add(t)}}};if(typeof document<`u`)for(let e of document.styleSheets)try{t(e.cssRules||e.rules)}catch{}return Q}var Cn=m({name:`NuxtIconCss`,props:{name:{type:String,required:!0},customize:{type:[Function,Boolean,null],default:null,required:!1}},setup(e){let n=_(),r=D().icon,i=t(()=>{if(!e.name)return``;let t=r.cssSelectorPrefix+e.name;return typeof e.customize==`function`?t+`--customized-`+Gt(e.customize.toString()):t});function a(e){if(!e)return;let t=I(e);if(t)return t;let r=n.payload?.data?.[e];if(r)return F(e,r),r}let o=t(()=>`.`+xn(i.value));function s(t,n=!0){let i=o.value;r.cssWherePseudo&&(i=`:where(${i})`);let a=hn(t,{iconSelector:i,format:`compressed`,customise:bn(e.customize,r.customize)});return r.cssLayer&&n?`@layer ${r.cssLayer} { ${a} }`:a}{let t=Sn();async function n(e){if(t.has(o.value)||typeof document>`u`)return;let n=document.createElement(`style`);n.textContent=s(e);let r=document.head.querySelector(`style, link[rel="stylesheet"]`);r?document.head.insertBefore(n,r):document.head.appendChild(n),t.add(o.value)}S(()=>e.name,()=>{if(t.has(o.value))return;let r=a(e.name);r?n(r):vn(e.name,-1).then(e=>{e&&n(e)}).catch(()=>null)},{immediate:!0})}return()=>b(`span`,{class:[`iconify`,i.value]})}});function wn(e,t={}){let n,r=!1,i=[],a,o,s=(t,n)=>{let i=Tn(e,t,n);return a=i,i.finally(()=>{if(a=void 0,o&&!r){let e=o;o=void 0,s(t,e)}}),i};return function(...e){return o=e,a||new Promise(a=>{let c=t.leading&&!r;r||(r=!0,u(()=>{r=!1;let a=o??e;o=void 0;let c=t.leading?n:s(this,a);for(let e of i)e(c);i=[]})),c?(n=s(this,e),a(n)):i.push(a)})}}async function Tn(e,t,n){return await e.apply(t,n)}m({name:`ServerPlaceholder`,render(){return d(`div`)}});var En=Symbol.for(`nuxt:client-only`);m({name:`ClientOnly`,inheritAttrs:!1,props:[`fallback`,`placeholder`,`placeholderTag`,`fallbackTag`],setup(e,{slots:t,attrs:n}){let i=s(!1);p(()=>{i.value=!0});let a=h();return a&&(a._nuxtClientOnly=!0),r(En,!0),()=>{if(i.value){let e=t.default?.();return e&&e.length===1?[ee(e[0],n)]:e}let r=t.fallback||t.placeholder;if(r)return b(r);let a=e.fallback||e.placeholder||``,o=ie(e.fallbackTag||e.placeholderTag,`span`);return d(o,n,a)}}});function Dn(e){return Object.defineProperty(function(){throw w.NUXT_E1007({name:e.name})},"__nuxt_factory",{enumerable:!1,get:()=>e.factory})}var On=T({docsBase:E,reporters:v}),kn=Dn({name:`createUseAsyncData`,factory(e={}){function n(...n){let r=typeof n[n.length-1]==`string`?n.pop():void 0;An(n[0],n[1])&&n.unshift(r);let[s,c,l={}]=n,d=!1,f=ne(s)||typeof s==`function`,p=f?t(()=>i(s)):{value:s};if(!p.value||typeof p.value!=`string`)throw On.NUXT_E3008();if(typeof c!=`function`)throw On.NUXT_E3009();let m=typeof e==`function`,v=_(),b=m?e(l):e;if(!m)for(let e in b)b[e]!==void 0&&l[e]===void 0&&(l[e]=b[e]);if(l.server??=!0,l.default??=Pn,l.getCachedData??=Fn,l.lazy??=!1,l.immediate??=!0,l.deep??=te.deep,l.dedupe??=`cancel`,l.enabled??=!0,m)for(let e in b)b[e]!==void 0&&(l[e]=b[e]);v._asyncData[p.value];function x(){let e={cause:`initial`,dedupe:l.dedupe},t=v._asyncData[p.value];return t?._init?v._asyncDataPromises[p.value]&&(e.cachedData=t._initialCachedData):(e.cachedData=l.getCachedData(p.value,v,{cause:`initial`}),v._asyncData[p.value]=Nn(v,p.value,c,l,e.cachedData),v._asyncData[p.value]._initialCachedData=e.cachedData),()=>v._asyncData[p.value].execute(e)}let ee=x(),C=v._asyncData[p.value];C._deps++;let w=l.server!==!1&&v.payload.serverRendered;{let e=h();if(e&&w&&l.immediate&&!e.sp&&(e.sp=[]),e&&!e._nuxtOnBeforeMountCbs){e._nuxtOnBeforeMountCbs=[];let t=e._nuxtOnBeforeMountCbs;g(()=>{t.forEach(e=>{e()}),t.splice(0,t.length)}),o(()=>t.splice(0,t.length))}let t=e&&(e._nuxtClientOnly||y(En,!1));w&&v.isHydrating&&(C.error.value||C.data.value!==void 0)?C.status.value=C.error.value?`error`:`success`:e&&(!t&&v.payload.serverRendered&&v.isHydrating||l.lazy)&&l.immediate?e._nuxtOnBeforeMountCbs.push(ee):l.immediate&&C.status.value!==`success`&&ee();function n(e){let t=v._asyncData[e];t?._deps&&(t._deps--,t._deps===0&&t?._off())}let r=re(),s=()=>{},m=f?S(p,(e,t)=>{if((e||t)&&e!==t){d=!0;let r=v._asyncData[t]?.data.value!==void 0,i=v._asyncDataPromises[t]!==void 0,a={cause:`initial`,dedupe:l.dedupe};if(!v._asyncData[e]?._init){let n=l.getCachedData(e,v,{cause:`initial`});a.cachedData=n;let i=t&&r&&n===void 0?v._asyncData[t].data.value:n;v._asyncData[e]=Nn(v,e,c,l,i),v._asyncData[e]._initialCachedData=n}v._asyncData[e]._deps++,t&&n(t),l._keyTriggersExecute!==!1&&(l.immediate||r||i)&&v._asyncData[e].execute(a),u(()=>{d=!1})}},{flush:`sync`}):s,_=l.watch?S(l.watch,()=>{d||v._asyncData[p.value]?._execute({cause:`watch`,dedupe:l.dedupe})}):s,b=ne(l.enabled)||typeof l.enabled==`function`?S(()=>i(l.enabled),e=>{let t=v._asyncData[p.value];!e&&t&&v._asyncDataPromises[p.value]&&(t._abortController?.abort(new DOMException("AsyncData request cancelled by `enabled: false`",`AbortError`)),t._abortController=void 0,delete v._asyncDataPromises[p.value],t.status.value=`idle`)}):s;r&&a(()=>{m(),_(),b(),n(p.value)})}let T={data:$(()=>v._asyncData[p.value]?.data),pending:$(()=>v._asyncData[p.value]?.pending),status:$(()=>v._asyncData[p.value]?.status),error:$(()=>v._asyncData[p.value]?.error),refresh:(...e)=>v._asyncData[p.value]?._init?v._asyncData[p.value].execute(...e):x()(),execute:(...e)=>T.refresh(...e),clear:()=>{let e=v._asyncData[p.value];if(e?._abortController)try{e._abortController.abort(new DOMException(`AsyncData aborted by user.`,`AbortError`))}finally{e._abortController=void 0}jn(v,p.value)}},E=Promise.resolve(v._asyncDataPromises[p.value]).then(()=>T);return Object.assign(E,T),Object.defineProperties(E,{then:{enumerable:!0,value:E.then.bind(E)},catch:{enumerable:!0,value:E.catch.bind(E)},finally:{enumerable:!0,value:E.finally.bind(E)}}),E}return n}});kn.__nuxt_factory(),kn.__nuxt_factory({lazy:!0,_functionName:`useLazyAsyncData`});function $(e){return t({get(){return e()?.value},set(t){let n=e();n&&(n.value=t)}})}function An(e,t){return!(typeof e==`string`||typeof e==`object`&&e||typeof e==`function`&&typeof t==`function`)}function jn(e,t){delete e.payload.data[t],delete e.payload._errors[t],e._asyncData[t]&&(e._asyncData[t].data.value=c(e._asyncData[t]._default()),e._asyncData[t].error.value=void 0,e._asyncData[t].status.value=`idle`,e._asyncData[t]._initialCachedData=void 0),delete e._asyncDataPromises[t]}function Mn(e,t){let n={};for(let r of t)n[r]=e[r];return n}function Nn(e,n,r,a,o){e.payload._errors[n]??=void 0;let u=a.getCachedData!==Fn,d=r,p=a.deep?l:s,m=o!==void 0,h=e.hook(`app:data:refresh`,async e=>{(!e||e.includes(n))&&await g.execute({cause:`refresh:hook`})}),g={data:p(m?o:a.default()),pending:t(()=>g.status.value===`pending`),error:f(e.payload._errors,n),status:s(`idle`),execute:(...t)=>{let[r,o=void 0]=t,s=r&&o===void 0&&typeof r==`object`?r:{};if(e._asyncDataPromises[n]&&(s.dedupe??a.dedupe)===`defer`)return e._asyncDataPromises[n];{let t=`cachedData`in s?s.cachedData:a.getCachedData(n,e,{cause:s.cause??`refresh:manual`});if(t!==void 0)return e.payload.data[n]=g.data.value=t,g.error.value=void 0,g.status.value=`success`,Promise.resolve(t)}if(i(a.enabled)===!1)return Promise.resolve(g.data.value);g._abortController&&g._abortController.abort(new DOMException(`AsyncData request cancelled by deduplication`,`AbortError`)),g._abortController=new AbortController,g.status.value=`pending`;let l=new AbortController,u=new Promise((t,n)=>{try{let r=s.timeout??a.timeout,i=In([g._abortController?.signal,s?.signal],l.signal,r);if(i.aborted){let e=i.reason;n(e instanceof Error?e:new DOMException(String(e??`Aborted`),`AbortError`));return}return i.addEventListener(`abort`,()=>{let e=i.reason;n(e instanceof Error?e:new DOMException(String(e??`Aborted`),`AbortError`))},{once:!0,signal:l.signal}),Promise.resolve(d(e,{signal:i})).then(t,n)}catch(e){n(e)}}).then(async t=>{if(e._asyncDataPromises[n]!==u)return;let r=t;a.transform&&(r=await a.transform(t)),a.pick&&(r=Mn(r,a.pick)),e.payload.data[n]=r,g.data.value=r,g.error.value=void 0,g.status.value=`success`}).catch(t=>{if(e._asyncDataPromises[n]!==u||g._abortController?.signal.aborted)return e._asyncDataPromises[n];if(typeof DOMException<`u`&&t instanceof DOMException&&t.name===`AbortError`)return g.status.value=`idle`,e._asyncDataPromises[n];g.error.value=oe(t),g.data.value=c(a.default()),g.status.value=`error`}).finally(()=>{l.abort(),e._asyncDataPromises[n]===u&&delete e._asyncDataPromises[n]});return e._asyncDataPromises[n]=u,e._asyncDataPromises[n]},_execute:wn((...e)=>g.execute(...e)),_default:a.default,_deps:0,_init:!0,_hash:void 0,_off:()=>{h(),e._asyncData[n]?._init&&(e._asyncData[n]._init=!1),e._asyncDataPromises[n]&&(g._abortController?.abort(new DOMException(`AsyncData request cancelled by unmount`,`AbortError`)),delete e._asyncDataPromises[n],g.status.value===`pending`&&(g.status.value=`idle`)),u||x(()=>{e._asyncData[n]?._init||(jn(e,n),g.execute=()=>Promise.resolve())})}};return g}var Pn=()=>void 0,Fn=(e,t,n)=>{if(t.isHydrating)return t.payload.data[e];if(n.cause!==`refresh:manual`&&n.cause!==`refresh:hook`)return t.static.data[e]};function In(e,t,n){let r=e.filter(e=>!!e);if(typeof n==`number`&&n>=0){let e=AbortSignal.timeout?.(n);e&&r.push(e)}if(AbortSignal.any)return AbortSignal.any(r);let i=new AbortController;for(let e of r)if(e.aborted){let t=e.reason??new DOMException(`Aborted`,`AbortError`);try{i.abort(t)}catch{i.abort()}return i.signal}let a=()=>{let e=r.find(e=>e.aborted)?.reason??new DOMException(`Aborted`,`AbortError`);try{i.abort(e)}catch{i.abort()}};for(let e of r)e.addEventListener?.(`abort`,a,{once:!0,signal:t});return i.signal}var Ln=m({name:`NuxtIconSvg`,props:{name:{type:String,required:!0},customize:{type:[Function,Boolean,null],default:null,required:!1}},setup(e,{slots:t}){let n=_(),r=D().icon,i=yn(()=>e.name),a=`i-`+i.value;if(i.value){let e=n.payload.data[a];e?F(i.value,e):_n(F)}return()=>b(Pt,{icon:i.value,ssr:!0,customise:bn(e.customize,r.customize)},t)}}),Rn=e({default:()=>zn}),zn=m({name:`NuxtIcon`,props:{name:{type:String,required:!0},mode:{type:String,required:!1,default:null},size:{type:[Number,String],required:!1,default:null},customize:{type:[Function,Boolean,null],default:null,required:!1}},setup(e,{slots:n}){let r=_(),i=D().icon,a=yn(()=>e.name),o=t(()=>r.vueApp?.component(a.value)||((e.mode||i.mode)===`svg`?Ln:Cn)),s=t(()=>{let t=e.size||i.size;return t?{fontSize:Number.isNaN(+t)?t:t+`px`}:null});return()=>b(o.value,{...i.attrs,name:a.value,class:i.class,style:s.value,customize:e.customize},n)}});export{Ft as a,D as c,J as i,ce as l,Rn as n,Ve as o,zt as r,ht as s,zn as t};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{A as e,Hn as t,M as n,Ot as r,U as i}from"./SiL1FJ5s.js";import{f as a}from"./Ci8N4mWR.js";import{t as o}from"./CKhgznq4.js";var s=i({__name:`[pane]`,setup(i){let s=a(),c=e(()=>String(s.params.pane||``));return(e,i)=>{let a=o;return r(),n(a,{key:t(c),"pane-id":t(c)},null,8,[`pane-id`])}}});export{s as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{A as e,B as t,Et as n,Fn as r,Hn as i,M as a,Mn as o,N as s,Ot as c,P as l,Pt as u,St as d,U as f,V as p,b as m,dr as h,hr as g,j as _,ln as v,nn as y}from"./SiL1FJ5s.js";import{gt as b,vt as x}from"./CWwyK2XK.js";import{$r as S,M as C,O as w,Sr as T,fr as E,kr as D,rr as O}from"./dPxB2L94.js";import{p as ee,u as k}from"./Ci8N4mWR.js";import{Br as A,C as j,G as M,H as N,I as P,Rr as te,T as F,Vr as ne,W as I,_ as L,b as R,jr as z,mt as re,n as B,o as V,si as H}from"./DAg9fiVh.js";import{c as ie,f as U,l as W,m as ae,s as G,t as oe,u as se}from"./BgPDnf2S.js";import{H as K,U as q}from"#entry";import{c as J,d as Y,l as X,n as Z,o as ce,r as le,s as Q,t as ue,u as de}from"./CkbmecwS.js";var fe=[`draggable`],$=[`aria-label`],pe={class:`board-card-head`},me={class:`board-card-title`},he={class:`board-counts`},ge={key:0,class:`board-note`},_e={key:1,class:`board-note error`},ve={class:`board-card-title wrap`},ye={class:`pp-meta`},be={class:`board-task-row`},xe={class:`pp-task-text`},Se={key:0,class:`pp-sent`},Ce={key:0,class:`pp-reason`},we={key:1,class:`pp-task-foot`},Te={key:2,class:`board-card-label`},Ee={class:`board-card-head`},De={class:`board-card-title`},Oe={key:4,class:`board-card-where`},ke=Object.assign(f({__name:`BoardCard`,props:{card:{},board:{},sent:{type:Boolean},movable:{type:Boolean},draggable:{type:Boolean}},emits:[`open`,`move`,`dragstart`,`dragend`],setup(n,{emit:r}){let o=n,d=r,f={blocked:A(`Blocked`),todo:A(`Todo`),ongoing:A(`Ongoing`),finished:A(`Finished`)},v=e(()=>{let e=o.card;return e.kind===`agent`?M(e.pane):e.kind===`project`&&e.stale||M(e.coordinator)}),y=e(()=>{let e=o.card,t=e.kind===`agent`?e.pane:e.coordinator;return[e.kind===`project`?``:e.project,t.machine?P(t.machine):``].filter(Boolean).join(` · `)}),b=()=>o.card.kind===`task`?o.card.moves.map(e=>({label:f[e.to],run:()=>d(`move`,e)})):[],S=e(()=>{let e=o.card;return e.kind===`project`?e.project||``:e.kind===`thread`?`${e.thread.id.toUpperCase()} · ${e.thread.title}`:e.kind===`task`?e.task.text:z(e.pane)});function T(e){e.target?.closest(`a, button`)||d(`open`)}return(e,r)=>{let o=C,E=U,D=Y,O=q,ee=w,k=Q,j=K;return c(),l(`div`,{class:h([`board-card`,[n.card.kind,{stale:i(v),sent:n.sent,"is-draggable":n.draggable}]]),draggable:n.draggable,onClick:T,onDragstart:r[2]||=e=>d(`dragstart`,e),onDragend:r[3]||=e=>d(`dragend`)},[_(`button`,{type:`button`,class:`board-card-open sr-only`,"aria-label":i(S),onClick:r[0]||=e=>d(`open`)},null,8,$),n.card.kind===`project`?(c(),l(m,{key:0},[_(`div`,pe,[p(o,{name:`i-lucide-folder`,class:`board-card-icon`}),_(`span`,me,g(n.card.project),1),p(E,{pane:n.card.coordinator},null,8,[`pane`])]),_(`ul`,he,[(c(!0),l(m,null,u(i(G),e=>(c(),l(`li`,{key:e,class:h([e,{zero:!n.card.counts[e]}])},[_(`b`,null,g(n.card.counts[e]),1),t(` `+g(f[e]),1)],2))),128))]),n.card.stale?(c(),l(`p`,ge,g((`t`in e?e.t:i(A))(`Last known state`)),1)):s(``,!0),n.card.error?(c(),l(`p`,_e,g((`t`in e?e.t:i(A))(n.card.error)),1)):s(``,!0)],64)):n.card.kind===`thread`?(c(),l(m,{key:1},[_(`span`,ve,g(n.card.thread.title),1),_(`span`,{class:h([`pill`,(`threadClass`in e?e.threadClass:i(J))(n.card.thread)])},[r[4]||=_(`i`,null,null,-1),t(g((`threadLabel`in e?e.threadLabel:i(X))(n.card.thread)),1)],2),_(`span`,ye,g((`threadMeta`in e?e.threadMeta:i(de))(n.card.thread)),1)],64)):n.card.kind===`task`?(c(),l(m,{key:2},[_(`div`,be,[r[5]||=_(`span`,{class:`pp-box`},null,-1),_(`span`,xe,[p(D,{text:n.card.task.text},null,8,[`text`])]),n.sent?(c(),l(`span`,Se,[p(o,{name:`i-lucide-send`}),t(g((`t`in e?e.t:i(A))(`Sent`)),1)])):n.card.moves.length?(c(),l(m,{key:1},[n.movable?(c(),a(O,{key:0,items:b,title:(`t`in e?e.t:i(A))(`Move to…`),label:(`t`in e?e.t:i(A))(`Move to…`),size:`sm`},null,8,[`title`,`label`])):(c(),a(ee,{key:1,icon:`i-lucide-ellipsis`,color:`neutral`,variant:`ghost`,size:`sm`,class:`icon-btn`,"aria-label":(`t`in e?e.t:i(A))(`Move to…`),disabled:``,onClick:r[1]||=x(()=>{},[`stop`])},null,8,[`aria-label`]))],64)):s(``,!0)]),n.card.task.reason?(c(),l(`p`,Ce,g(n.card.task.reason),1)):s(``,!0),n.card.task.badges?.length?(c(),l(`span`,we,[p(k,{badges:n.card.task.badges,coordinator:n.card.coordinator,board:n.board},null,8,[`badges`,`coordinator`,`board`])])):s(``,!0),n.card.listTitle?(c(),l(`span`,Te,g(n.card.listTitle),1)):s(``,!0)],64)):n.card.kind===`agent`?(c(),l(m,{key:3},[_(`div`,Ee,[p(j,{agent:n.card.pane.agent},null,8,[`agent`]),_(`span`,De,g((`paneTitle`in e?e.paneTitle:i(z))(n.card.pane)),1)]),p(E,{pane:n.card.pane},null,8,[`pane`])],64)):s(``,!0),i(y)?(c(),l(`span`,Oe,g(i(y)),1)):s(``,!0)],42,fe)}}}),{__name:`BoardCard`}),Ae=null;function je(){let t=r(Ae),i=o(``),a=0,s=!1,c;async function l(e=[]){if(N.value||s)return;let n=++a;try{let r=new URLSearchParams;t.value&&r.set(`since`,t.value.version);for(let t of e)r.append(`refresh`,t);let o=await B(`/api/board?${r}`);if(n!==a||(i.value=``,`same`in o))return;t.value=Ae=o;for(let e of o.projects)if(e.board)for(let t of e.panes)Z(t,e.board)}catch(e){if(n!==a)return;i.value=e.message,!t.value&&!c&&(c=setTimeout(()=>{c=void 0,l()},3e3))}}let u=e(()=>{let e={};for(let t of F.value.panes){let n=T(t)?.toLowerCase();n&&(e[n]||=[]).push(`${t.id}=${t.status}`)}return Object.fromEntries(Object.entries(e).map(([e,t])=>[e,t.sort().join(`,`)]))}),d=new Set,f;y(u,(e,n)=>{for(let t of new Set([...Object.keys(e),...Object.keys(n)]))e[t]!==n[t]&&d.add(t);d.size&&(clearTimeout(f),f=setTimeout(()=>{let e=(t.value?.projects||[]).filter(e=>d.has(e.slug.toLowerCase())).map(e=>e.key);d.clear(),l(e)},2500))});let p;function m(){clearInterval(p),clearTimeout(c)}let h=e(()=>D({coordinator:!0,offline:N.value,visible:!0,pageVisible:I.value,available:!0}));return y(h,e=>{m(),e!==`none`&&(l(),p=H(()=>l(),O))},{immediate:!0}),n(()=>{s=!0,a++,m(),clearTimeout(f)}),{board:t,cards:e(()=>W(t.value?.projects??null,F.value.panes)),error:i}}var Me={id:`board`,class:`view board-view`},Ne={class:`top bar board-top`},Pe={key:1,class:`notice board-notice`},Fe={key:2,class:`board-empty board-loading`},Ie=[`aria-label`],Le=[`aria-pressed`,`onClick`],Re={class:`board-cols`},ze=[`aria-label`,`onDragover`,`onDrop`],Be={key:0,class:`board-col-head`},Ve={class:`pp-count`},He={class:`board-col-body`},Ue={key:0,class:`board-empty`},We=5,Ge=`boardColumn`,Ke=`application/x-wherdr-board-task`,qe=Object.assign(f({__name:`BoardView`,setup(t){let n=ee(),{board:d,cards:f,error:C}=je(),T={blocked:A(`Blocked`),todo:A(`Todo`),ongoing:A(`Ongoing`),finished:A(`Finished`)},D=o(!1),O=e(()=>D.value?{cards:f.value,hidden:0}:se(f.value,We)),P=e(()=>G.map(e=>({id:e,label:T[e],total:f.value.filter(t=>t.column===e).length,cards:O.value.cards.filter(t=>t.column===e)})));function F(){try{let e=localStorage.getItem(Ge);if(G.includes(e))return e}catch{}return`blocked`}let I=o(F());function L(e){I.value=e;try{localStorage.setItem(Ge,e)}catch{}}let z=e=>e.kind===`task`?d.value?.projects.find(t=>t.panes.includes(e.coordinator.id))?.board??null:null;function B(e){e.kind===`agent`?k(S(e.pane.id)):e.kind===`thread`?oe(e.coordinator,e.project||``,e.thread):E(e.coordinator)}let H=te===`en`?`en`:`fr`,U=e=>j.value&&!N.value&&!M(e.coordinator)&&!!e.coordinator.agent&&!ce.value,W=e=>ue(e.coordinator.id,e.list,e.task.text);async function K(e,t){let n=f.value.find(t=>t.key===e.key);n?.kind===`task`&&n.moves.some(e=>e.action===t.action)&&await le(n.coordinator.id,n.list,t.action,n.task.text,ie(t.action,n.task.text,H))!==!1&&re(A(`Sent to the coordinator`))}let q=r(null),J=o(null),Y=e=>q.value?.moves.find(t=>t.to===e),X=e=>!!e.dataTransfer?.types.includes(Ke);function Z(e,t){if(!U(e)||W(e)||!t.dataTransfer)return t.preventDefault();q.value=e,t.dataTransfer.effectAllowed=`move`,t.dataTransfer.setData(Ke,e.key),t.dataTransfer.setData(`text/plain`,e.task.text)}function Q(){q.value=null,J.value=null}y(f,e=>{let t=q.value;t&&!e.some(e=>e.key===t.key)&&Q()});function de(e,t){X(t)&&Y(e)&&(t.preventDefault(),t.dataTransfer&&(t.dataTransfer.dropEffect=`move`),J.value=e)}function fe(e,t){let n=Y(e),r=q.value;Q(),X(t)&&n&&r&&(t.preventDefault(),K(r,n))}function $(){let e=history.state?.back;typeof e==`string`&&e.startsWith(`/`)&&e!==`/board`?n.back():k(`/`,{replace:!0})}return(e,t)=>{let n=w,r=ae,o=ke;return c(),l(`section`,Me,[_(`header`,Ne,[p(n,{icon:`i-lucide-chevron-left`,color:`neutral`,variant:`ghost`,size:`lg`,class:`icon-btn`,"aria-label":(`t`in e?e.t:i(A))(`Back`),onClick:$},null,8,[`aria-label`]),_(`h2`,null,g((`t`in e?e.t:i(A))(`Board`)),1)]),(`offlineView`in e?e.offlineView:i(N))&&(`cachedAt`in e?e.cachedAt:i(V))?(c(),a(r,{key:0,class:`board-offline`,label:(`t`in e?e.t:i(A))(`Last known state`),at:`cachedAt`in e?e.cachedAt:i(V),"date-style":`medium`},null,8,[`label`,`at`])):s(``,!0),i(C)?(c(),l(`div`,Pe,g(i(C)),1)):!i(d)&&!(`offlineView`in e?e.offlineView:i(N))?(c(),l(`p`,Fe,g((`t`in e?e.t:i(A))(`Loading…`)),1)):s(``,!0),(`desk`in e?e.desk:i(R))?s(``,!0):(c(),l(`div`,{key:3,class:`board-seg`,role:`group`,"aria-label":(`t`in e?e.t:i(A))(`Board`)},[(c(!0),l(m,null,u(i(P),e=>(c(),l(`button`,{key:e.id,type:`button`,class:h([`board-seg-btn`,[e.id,{on:i(I)===e.id}]]),"aria-pressed":i(I)===e.id,onClick:t=>L(e.id)},[_(`span`,null,g(e.label),1),_(`b`,null,g(e.total),1)],10,Le))),128))],8,Ie)),_(`div`,Re,[(c(!0),l(m,null,u(i(P),n=>v((c(),l(`section`,{key:n.id,class:h([`board-col`,[n.id,{drop:i(q)&&Y(n.id),over:i(J)===n.id}]]),"aria-label":n.label,onDragover:e=>de(n.id,e),onDragleave:t[1]||=x(e=>J.value=null,[`self`]),onDrop:e=>fe(n.id,e)},[(`desk`in e?e.desk:i(R))?(c(),l(`h3`,Be,[_(`span`,null,g(n.label),1),_(`span`,Ve,g(n.total),1)])):s(``,!0),_(`div`,He,[(c(!0),l(m,null,u(n.cards,t=>(c(),a(o,{key:t.key,card:t,board:z(t),sent:t.kind===`task`&&W(t),movable:t.kind===`task`&&U(t),draggable:(`desk`in e?e.desk:i(R))&&t.kind===`task`&&t.moves.length>0&&U(t)&&!W(t),onOpen:e=>B(t),onMove:e=>t.kind===`task`&&K(t,e),onDragstart:e=>t.kind===`task`&&Z(t,e),onDragend:Q},null,8,[`card`,`board`,`sent`,`movable`,`draggable`,`onOpen`,`onMove`,`onDragstart`]))),128)),n.cards.length?s(``,!0):(c(),l(`p`,Ue,g((`t`in e?e.t:i(A))(`Nothing here`)),1)),n.id===`finished`&&i(O).hidden?(c(),l(`button`,{key:1,type:`button`,class:`board-more`,onClick:t[0]||=e=>D.value=!0},g((`tl`in e?e.tl:i(ne))(`Show all (${i(O).hidden} more)`,`Tout afficher (${i(O).hidden} de plus)`)),1)):s(``,!0)])],42,ze)),[[b,(`desk`in e?e.desk:i(R))||i(I)===n.id]])),128))])])}}}),{__name:`BoardView`}),Je=f({__name:`board`,setup(e){return d(()=>{L.value=null}),(e,t)=>{let n=qe;return c(),a(n)}}});export{Je as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{$ as e,A as t,An as n,B as r,Et as i,Ft as a,Hn as o,M as s,Mn as c,N as l,Ot as u,P as d,Pt as f,R as p,Rn as m,Rt as h,St as g,U as _,V as v,Yt as y,Zt as b,an as x,b as S,ct as C,dr as w,ft as T,hr as E,ht as D,j as O,mt as k,nn as A,pr as j,pt as M,rn as N,sn as P,wn as F,zn as I}from"./SiL1FJ5s.js";import{_t as ee,vt as L}from"./CWwyK2XK.js";import{$ as te,$r as R,A as ne,At as re,B as ie,D as ae,Ft as oe,G as se,Gt as z,H as ce,I as le,It as ue,Lt as de,M as B,Mt as fe,N as pe,Nt as me,Ot as V,P as he,Pt as ge,Q as _e,S as ve,Sr as ye,St as be,T as xe,V as H,Wt as U,X as Se,Y as Ce,Z as we,_t as Te,a as Ee,at as De,b as Oe,br as ke,bt as Ae,ct as je,dt as Me,f as Ne,ft as W,ht as Pe,in as Fe,it as Ie,j as Le,jt as Re,k as ze,lt as Be,mt as Ve,ot as He,pt as G,q as Ue,rn as We,rt as Ge,st as K,t as Ke,u as qe,ur as Je,ut as q,v as Ye,vr as Xe,vt as Ze,w as Qe,z as $e}from"./dPxB2L94.js";import{m as et,u as tt}from"./Ci8N4mWR.js";import{c as nt}from"./BBw_0a4M.js";import{Br as rt,Er as it,N as at,O as ot,Rr as st,T as ct,V as lt,Vr as ut,_n as dt,mt as ft,tt as pt}from"./DAg9fiVh.js";var mt=[`INPUT`,`TEXTAREA`];function ht(e,t,n,r={}){if(!t||r.enableIgnoredElement&&mt.includes(t.nodeName))return null;let{arrowKeyOptions:i=`both`,attributeName:a=`[data-reka-collection-item]`,itemsArray:o=[],loop:s=!0,dir:c=`ltr`,preventScroll:l=!0,focus:u=!1}=r,[d,f,p,m,h,g]=[e.key===`ArrowRight`,e.key===`ArrowLeft`,e.key===`ArrowUp`,e.key===`ArrowDown`,e.key===`Home`,e.key===`End`],_=p||m,v=d||f;if(!h&&!g&&(!_&&!v||i===`vertical`&&v||i===`horizontal`&&_))return null;let y=n?Array.from(n.querySelectorAll(a)):o;if(!y.length)return null;l&&e.preventDefault();let b=null;return v||_?b=gt(y,t,{goForward:_?m:c===`ltr`?d:f,loop:s}):h?b=y.at(0)||null:g&&(b=y.at(-1)||null),u&&b?.focus(),b}function gt(e,t,n,r=e.includes(t)?e.length:e.length+1){if(--r===0)return null;let i=e.indexOf(t),a;if(a=i===-1?n.goForward?0:e.length-1:n.goForward?i+1:i-1,!n.loop&&(a<0||a>=e.length))return null;let o=e[(a+e.length)%e.length];return o?o.hasAttribute(`disabled`)&&o.getAttribute(`disabled`)!==`false`?gt(e,o,n,r):o:null}var _t=Re(()=>{let e=c(new Map),n=c(),r=t(()=>{for(let t of e.value.values())if(t)return!0;return!1}),i=Te({scrollBody:c(!0)}),a=null,o=()=>{document.body.style.paddingRight=``,document.body.style.marginRight=``,Pe.layersWithOutsidePointerEventsDisabled.size===0&&(document.body.style.pointerEvents=``),document.documentElement.style.removeProperty(`--scrollbar-width`),document.body.style.overflow=n.value??``,me&&a?.(),n.value=void 0};return A(r,(e,t)=>{if(!fe)return;if(!e){t&&o();return}n.value===void 0&&(n.value=document.body.style.overflow);let s=window.innerWidth-document.documentElement.clientWidth,c={padding:s,margin:0},l=i.scrollBody?.value?typeof i.scrollBody.value==`object`?et({padding:i.scrollBody.value.padding===!0?s:i.scrollBody.value.padding,margin:i.scrollBody.value.margin===!0?s:i.scrollBody.value.margin},c):c:{padding:0,margin:0};s>0&&(document.body.style.paddingRight=typeof l.padding==`number`?`${l.padding}px`:String(l.padding),document.body.style.marginRight=typeof l.margin==`number`?`${l.margin}px`:String(l.margin),document.documentElement.style.setProperty(`--scrollbar-width`,`${s}px`),document.body.style.overflow=`hidden`),me&&(a=be(document,`touchmove`,e=>bt(e),{passive:!1})),D(()=>{r.value&&(document.body.style.pointerEvents=`none`,document.body.style.overflow=`hidden`)})},{immediate:!0,flush:`sync`}),e});function vt(e){let n=Math.random().toString(36).substring(2,7),r=_t();r.value.set(n,e??!1);let i=t({get:()=>r.value.get(n)??!1,set:e=>r.value.set(n,e)});return de(()=>{r.value.delete(n)}),i}function yt(e){let t=window.getComputedStyle(e);if(t.overflowX===`scroll`||t.overflowY===`scroll`||t.overflowX===`auto`&&e.clientWidth<e.scrollWidth||t.overflowY===`auto`&&e.clientHeight<e.scrollHeight)return!0;{let t=e.parentNode;return!(t instanceof Element)||t.tagName===`BODY`?!1:yt(t)}}function bt(e){let t=e||window.event,n=t.target;return n instanceof Element&&yt(n)?!1:t.touches.length>1||(t.preventDefault&&t.cancelable&&t.preventDefault(),!1)}var xt=/[\p{Script=Han}\p{Script=Hiragana}\p{Script=Katakana}\p{Script=Hangul}\p{Script=Bopomofo}]/u,St=/android/i;function Ct(){return typeof navigator<`u`&&St.test(navigator.userAgent)}function wt(e){let n=c(!1),r=c(!0),i=c(!1),a=t(()=>n.value&&r.value);function o(){n.value=!0,r.value=!0,i.value=!1}function s(e){e.data&&(xt.test(e.data)?(r.value=!0,i.value=!0):Ct()&&!i.value&&(r.value=!1))}function l(t){D(()=>{n.value=!1,e?.(t)})}return{isComposing:n,shouldDeferInput:a,handleCompositionStart:o,handleCompositionUpdate:s,handleCompositionEnd:l}}function Tt(e){let n=t(()=>o(e)),r=t(()=>new Intl.Collator(`en`,{usage:`search`,...n.value}));return{startsWith:(e,t)=>t.length===0||(e=e.normalize(`NFC`),t=t.normalize(`NFC`),r.value.compare(e.slice(0,t.length),t)===0),endsWith:(e,t)=>t.length===0||(e=e.normalize(`NFC`),t=t.normalize(`NFC`),r.value.compare(e.slice(-t.length),t)===0),contains:(e,t)=>{if(t.length===0)return!0;e=e.normalize(`NFC`),t=t.normalize(`NFC`);let n=0,i=t.length;for(;n+i<=e.length;n++){let a=e.slice(n,n+i);if(r.value.compare(t,a)===0)return!0}return!1}}}var Et=0;function Dt(){N(e=>{if(!fe)return;let t=document.querySelectorAll(`[data-reka-focus-guard]`);document.body.insertAdjacentElement(`afterbegin`,t[0]??Ot()),document.body.insertAdjacentElement(`beforeend`,t[1]??Ot()),Et++,e(()=>{Et===1&&document.querySelectorAll(`[data-reka-focus-guard]`).forEach(e=>e.remove()),Et--})})}function Ot(){let e=document.createElement(`span`);return e.setAttribute(`data-reka-focus-guard`,``),e.tabIndex=0,e.style.outline=`none`,e.style.opacity=`0`,e.style.position=`fixed`,e.style.pointerEvents=`none`,e}var kt=function(e){return typeof document>`u`?null:(Array.isArray(e)?e[0]:e).ownerDocument.body},J=new WeakMap,At=new WeakMap,jt={},Mt=0,Nt=function(e){return e&&(e.host||Nt(e.parentNode))},Pt=function(e,t){return t.map(function(t){if(e.contains(t))return t;var n=Nt(t);return n&&e.contains(n)?n:(console.error(`aria-hidden`,t,`in not contained inside`,e,`. Doing nothing`),null)}).filter(function(e){return!!e})},Ft=function(e,t,n,r){var i=Pt(t,Array.isArray(e)?e:[e]);jt[n]||(jt[n]=new WeakMap);var a=jt[n],o=[],s=new Set,c=new Set(i),l=function(e){e&&!s.has(e)&&(s.add(e),l(e.parentNode))};i.forEach(l);var u=function(e){e&&!c.has(e)&&Array.prototype.forEach.call(e.children,function(e){if(s.has(e))u(e);else try{var t=e.getAttribute(r),i=t!==null&&t!==`false`,c=(J.get(e)||0)+1,l=(a.get(e)||0)+1;J.set(e,c),a.set(e,l),o.push(e),c===1&&i&&At.set(e,!0),l===1&&e.setAttribute(n,`true`),i||e.setAttribute(r,`true`)}catch(t){console.error(`aria-hidden: cannot operate on `,e,t)}})};return u(t),s.clear(),Mt++,function(){o.forEach(function(e){var t=J.get(e)-1,i=a.get(e)-1;J.set(e,t),a.set(e,i),t||(At.has(e)||e.removeAttribute(r),At.delete(e)),i||e.removeAttribute(n)}),Mt--,Mt||(J=new WeakMap,J=new WeakMap,At=new WeakMap,jt={})}},It=function(e,t,n){n===void 0&&(n=`data-aria-hidden`);var r=Array.from(Array.isArray(e)?e:[e]),i=t||kt(e);return i?(r.push.apply(r,Array.from(i.querySelectorAll(`[aria-live], script`))),Ft(r,i,n,`aria-hidden`)):function(){return null}};function Lt(e){let t;A(()=>Ae(e),e=>{let n=!1;try{n=!!e?.closest(`[popover]:not(:popover-open)`)}catch{}e&&!n?t=It(e):t&&t()}),i(()=>{t&&t()})}function Rt(e){let t=ue(``,1e3);return{search:t,handleTypeaheadSearch:(n,r)=>{if(t.value+=n,e)e(n);else{let e=U(),n=r.map(e=>({...e,textValue:e.value?.textValue??e.ref.textContent?.trim()??``})),i=n.find(t=>t.ref===e),a=Bt(n.map(e=>e.textValue),t.value,i?.textValue),o=n.find(e=>e.textValue===a);return o&&o.ref.focus(),o?.ref}},resetTypeahead:()=>{t.value=``}}}function zt(e,t){return e.map((n,r)=>e[(t+r)%e.length])}function Bt(e,t,n){let r=t.length>1&&Array.from(t).every(e=>e===t[0])?t[0]:t,i=n?e.indexOf(n):-1,a=zt(e,Math.max(i,0));r.length===1&&(a=a.filter(e=>e!==n));let o=a.find(e=>e.toLowerCase().startsWith(r.toLowerCase()));return o===n?void 0:o}var Vt=re(()=>c([]));function Ht(){let e=Vt();return{add(t){let n=e.value[0];t!==n&&n?.pause(),e.value=Ut(e.value,t),e.value.unshift(t)},remove(t){e.value=Ut(e.value,t),e.value[0]?.resume()}}}function Ut(e,t){let n=[...e],r=n.indexOf(t);return r!==-1&&n.splice(r,1),n}var Wt=`focusScope.autoFocusOnMount`,Gt=`focusScope.autoFocusOnUnmount`,Kt={bubbles:!1,cancelable:!0};function qt(e,{select:t=!1}={}){let n=U();for(let r of e)if(Y(r,{select:t}),U()!==n)return!0}function Jt(e){let t=Yt(e);return[Xt(t,e),Xt(t.reverse(),e)]}function Yt(e){let t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>{let t=e.tagName===`INPUT`&&e.type===`hidden`;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function Xt(e,t){for(let n of e)if(!Zt(n,{upTo:t}))return n}function Zt(e,{upTo:t}){if(getComputedStyle(e).visibility===`hidden`)return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display===`none`)return!0;e=e.parentElement}return!1}function Qt(e){return e instanceof HTMLInputElement&&`select`in e}function Y(e,{select:t=!1}={}){if(e&&e.focus){let n=U();e.focus({preventScroll:!0}),e!==n&&Qt(e)&&t&&e.select()}}var $t=_({__name:`FocusScope`,props:{loop:{type:Boolean,required:!1,default:!1},trapped:{type:Boolean,required:!1,default:!1},present:{type:Boolean,required:!1,default:!0},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:[`mountAutoFocus`,`unmountAutoFocus`],setup(e,{emit:t}){let r=e,i=t,{currentRef:l,currentElement:d}=W(),f=c(null),p=Ht(),m=n({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}});N(e=>{if(!fe)return;let t=d.value;if(!r.trapped)return;function n(e){if(m.paused||!t)return;let n=e.target;t.contains(n)?f.value=n:Y(f.value,{select:!0})}function i(e){if(m.paused||!t)return;let n=e.relatedTarget;n!==null&&(t.contains(n)||Y(f.value,{select:!0}))}function a(e){let n=f.value;if(n===null||!e.some(e=>e.removedNodes.length>0))return;let r=U();r&&t.contains(r)||t.contains(n)||Y(t)}document.addEventListener(`focusin`,n),document.addEventListener(`focusout`,i);let o=new MutationObserver(a);t&&o.observe(t,{childList:!0,subtree:!0}),e(()=>{document.removeEventListener(`focusin`,n),document.removeEventListener(`focusout`,i),o.disconnect()})});function h(e,t){let n=new CustomEvent(Wt,Kt),r=e=>i(`mountAutoFocus`,e);e.addEventListener(Wt,r),e.dispatchEvent(n),e.removeEventListener(Wt,r),n.defaultPrevented||(qt(Yt(e),{select:!0}),U()===t&&Y(e))}N(async e=>{let t=d.value;if(await D(),!t)return;r.present!==!1&&p.add(m);let n=U();!t.contains(n)&&r.present!==!1&&h(t,n),e(()=>{let e=new CustomEvent(Gt,Kt),r=e=>{i(`unmountAutoFocus`,e)};t.addEventListener(Gt,r),t.dispatchEvent(e),t.setAttribute(`data-focus-scope-unmounting`,``),setTimeout(()=>{e.defaultPrevented||Y(n??document.body,{select:!0}),t.removeEventListener(Gt,r),p.remove(m),t.removeAttribute(`data-focus-scope-unmounting`)},0)})}),A(()=>r.present,async(e,t)=>{if(!fe)return;if(e===!1&&t===!0){p.remove(m);return}if(e!==!0||t!==!1)return;p.add(m),await D();let n=d.value;if(!n)return;let r=U();n.contains(r)||h(n,r)});function g(e){if(!r.loop&&!r.trapped||m.paused)return;let t=e.key===`Tab`&&!e.altKey&&!e.ctrlKey&&!e.metaKey,n=U();if(t&&n){let t=e.currentTarget,[i,a]=Jt(t);i&&a?!e.shiftKey&&n===a?(e.preventDefault(),r.loop&&Y(i,{select:!0})):e.shiftKey&&n===i&&(e.preventDefault(),r.loop&&Y(a,{select:!0})):n===t&&e.preventDefault()}}return(e,t)=>(u(),s(o(K),{ref_key:`currentRef`,ref:l,tabindex:`-1`,"as-child":e.asChild,as:e.as,onKeydown:g},{default:P(()=>[a(e.$slots,`default`)]),_:3},8,[`as-child`,`as`]))}}),en=`menu.itemSelect`,tn=[`Enter`,` `],nn=[`ArrowDown`,`PageUp`,`Home`],rn=[`ArrowUp`,`PageDown`,`End`],an=[...nn,...rn],on={ltr:[...tn,`ArrowRight`],rtl:[...tn,`ArrowLeft`]},sn={ltr:[`ArrowLeft`],rtl:[`ArrowRight`]};function cn(e){return e?`open`:`closed`}function ln(e){return e===`indeterminate`}function un(e){return ln(e)?`indeterminate`:e?`checked`:`unchecked`}function dn(e){let t=U();for(let n of e)if(n===t||(n.focus(),U()!==t))return}function fn(e,t){let{x:n,y:r}=e,i=!1;for(let e=0,a=t.length-1;e<t.length;a=e++){let o=t[e].x,s=t[e].y,c=t[a].x,l=t[a].y;s>r!=l>r&&n<(c-o)*(r-s)/(l-s)+o&&(i=!i)}return i}function pn(e,t){return t?fn({x:e.clientX,y:e.clientY},t):!1}function X(e){return e.pointerType===`mouse`}var mn=_({__name:`MenuAnchor`,props:{reference:{type:null,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(t){let n=t;return(t,r)=>(u(),s(o(_e),j(e(n)),{default:P(()=>[a(t.$slots,`default`)]),_:3},16))}}),hn=_({__name:`MenuArrow`,props:{width:{type:Number,required:!1},height:{type:Number,required:!1},rounded:{type:Boolean,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(t){let n=t;return(t,r)=>(u(),s(o(Ce),j(e(n)),{default:P(()=>[a(t.$slots,`default`)]),_:3},16))}});function gn(){let e=c(!1);return g(()=>{be(`keydown`,()=>{e.value=!0},{capture:!0,passive:!0}),be([`pointerdown`,`pointermove`],()=>{e.value=!1},{capture:!0,passive:!0})}),e}var _n=Re(gn),[Z,vn]=z([`MenuRoot`,`MenuSub`],`MenuContext`),[Q,yn]=z(`MenuRoot`),bn=_({__name:`MenuRoot`,props:{open:{type:Boolean,required:!1,default:!1},dir:{type:String,required:!1},modal:{type:Boolean,required:!1,default:!0}},emits:[`update:open`],setup(e,{emit:t}){let n=e,r=t,{modal:i,dir:l}=I(n),d=Ve(l),f=V(n,`open`,r),p=c(),m=_n();return vn({open:f,onOpenChange:e=>{f.value=e},content:p,onContentChange:e=>{p.value=e}}),yn({onClose:()=>{f.value=!1},isUsingKeyboardRef:m,dir:d,modal:i}),(e,t)=>(u(),s(o(te),null,{default:P(()=>[a(e.$slots,`default`)]),_:3}))}}),[xn,Sn]=z(`MenuContent`),Cn=_({__name:`MenuContentImpl`,props:T({loop:{type:Boolean,required:!1},disableOutsidePointerEvents:{type:Boolean,required:!1},disableOutsideScroll:{type:Boolean,required:!1},trapFocus:{type:Boolean,required:!1},memoDependencies:{type:Array,required:!1},side:{type:null,required:!1},sideOffset:{type:Number,required:!1},sideFlip:{type:Boolean,required:!1},align:{type:null,required:!1},alignOffset:{type:Number,required:!1},alignFlip:{type:Boolean,required:!1},avoidCollisions:{type:Boolean,required:!1},collisionBoundary:{type:null,required:!1},collisionPadding:{type:[Number,Object],required:!1},arrowPadding:{type:Number,required:!1},hideShiftedArrow:{type:Boolean,required:!1},sticky:{type:String,required:!1},hideWhenDetached:{type:Boolean,required:!1},positionStrategy:{type:String,required:!1},updatePositionStrategy:{type:String,required:!1},disableUpdateOnLayoutShift:{type:Boolean,required:!1},prioritizePosition:{type:Boolean,required:!1},reference:{type:null,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},{...Se}),emits:[`escapeKeyDown`,`pointerDownOutside`,`focusOutside`,`interactOutside`,`entryFocus`,`openAutoFocus`,`closeAutoFocus`,`dismiss`],setup(e,{emit:t}){let n=e,r=t,l=Z(),d=Q(),{trapFocus:f,disableOutsidePointerEvents:p,loop:m}=I(n);Dt(),vt(p.value);let h=c(``),g=c(0),_=c(0),y=c(null),b=c(`right`),x=c(0),S=c(null),C=c(),{forwardRef:w,currentElement:T}=W(),{handleTypeaheadSearch:E}=Rt(),D=c();function O(e){let t=ht(e,D.value||U(),T.value,{loop:m.value,arrowKeyOptions:`vertical`,dir:d?.dir.value,focus:!1,attributeName:`[data-reka-collection-item]:not([data-disabled])`});t&&(D.value=t,t.scrollIntoView({block:`nearest`}))}function k(){D.value&&D.value.click()}let j=c(),M=c();A(D,e=>{if(M.value&&(e===void 0||e!==M.value.trigger.value)){if(e===void 0)return;M.value.onOpenChange(!1),M.value=void 0}}),A(T,e=>{l.onContentChange(e)}),i(()=>{window.clearTimeout(g.value)});function N(e){return b.value===y.value?.side&&pn(e,y.value?.area)}async function F(e){r(`openAutoFocus`,e),!e.defaultPrevented&&(e.preventDefault(),T.value?.focus({preventScroll:!0}))}function ee(e){if(e.defaultPrevented)return;let t=e.target,n=t.closest(`[data-reka-menu-content]`)===e.currentTarget,r=[`input`,`textarea`].includes(t.tagName.toLowerCase()),i=e.ctrlKey||e.altKey||e.metaKey,a=e.key.length===1,o=ht(e,U(),T.value,{loop:m.value,arrowKeyOptions:`vertical`,dir:d?.dir.value,focus:!0,attributeName:`[data-reka-collection-item]:not([data-disabled])`});if(o)return o?.focus();if(e.code===`Space`)return;let s=C.value?.getItems()??[];if(n&&(e.key===`Tab`&&d.modal.value&&e.preventDefault(),!i&&a&&!r&&E(e.key,s)),e.target!==T.value||!an.includes(e.key))return;e.preventDefault();let c=[...s.map(e=>e.ref)];rn.includes(e.key)&&c.reverse(),dn(c)}function L(e){e?.currentTarget?.contains?.(e.target)||(window.clearTimeout(g.value),h.value=``)}function te(e){if(!X(e))return;let t=e.target,n=x.value!==e.clientX;if((e?.currentTarget)?.contains(t)&&n){let t=e.clientX>x.value?`right`:`left`;b.value=t,x.value=e.clientX}}function R(e){X(e)&&j.value&&j.value.focus()}return Sn({onItemEnter:e=>!!N(e),onItemLeave:e=>N(e)?!0:([`INPUT`,`TEXTAREA`].includes(U()?.tagName||``)||T.value?.focus(),S.value=null,!1),onTriggerLeave:e=>!!N(e),searchRef:h,highlightedElement:D,onKeydownNavigation:O,onKeydownEnter:k,filterElement:j,onFilterElementChange:e=>{j.value=e},activeSubmenuContext:M,pointerGraceTimerRef:_,onPointerGraceIntentChange:e=>{y.value=e}}),(e,t)=>(u(),s(o($t),{"as-child":``,trapped:o(f),onMountAutoFocus:F,onUnmountAutoFocus:t[7]||=e=>r(`closeAutoFocus`,e)},{default:P(()=>[v(o(De),{"as-child":``,"disable-outside-pointer-events":o(p),onEscapeKeyDown:t[2]||=e=>r(`escapeKeyDown`,e),onPointerDownOutside:t[3]||=e=>r(`pointerDownOutside`,e),onFocusOutside:t[4]||=e=>r(`focusOutside`,e),onInteractOutside:t[5]||=e=>r(`interactOutside`,e),onDismiss:t[6]||=e=>r(`dismiss`)},{default:P(()=>[v(o(Ue),{ref_key:`rovingFocusGroupRef`,ref:C,"current-tab-stop-id":S.value,"onUpdate:currentTabStopId":t[0]||=e=>S.value=e,"as-child":``,orientation:`vertical`,dir:o(d).dir.value,loop:o(m),onEntryFocus:t[1]||=e=>{r(`entryFocus`,e),o(d).isUsingKeyboardRef.value||e.preventDefault()}},{default:P(()=>[v(o(we),{ref:o(w),role:`menu`,as:e.as,"as-child":e.asChild,"aria-orientation":`vertical`,"data-reka-menu-content":``,"data-state":o(cn)(o(l).open.value),dir:o(d).dir.value,side:e.side,"side-offset":e.sideOffset,align:e.align,"align-offset":e.alignOffset,"avoid-collisions":e.avoidCollisions,"collision-boundary":e.collisionBoundary,"collision-padding":e.collisionPadding,"arrow-padding":e.arrowPadding,"prioritize-position":e.prioritizePosition,"position-strategy":e.positionStrategy,"update-position-strategy":e.updatePositionStrategy,sticky:e.sticky,"hide-when-detached":e.hideWhenDetached,reference:e.reference,onKeydown:ee,onBlur:L,onPointermove:te,onPointerenter:R},{default:P(()=>[a(e.$slots,`default`)]),_:3},8,[`as`,`as-child`,`data-state`,`dir`,`side`,`side-offset`,`align`,`align-offset`,`avoid-collisions`,`collision-boundary`,`collision-padding`,`arrow-padding`,`prioritize-position`,`position-strategy`,`update-position-strategy`,`sticky`,`hide-when-detached`,`reference`])]),_:3},8,[`current-tab-stop-id`,`dir`,`loop`])]),_:3},8,[`disable-outside-pointer-events`])]),_:3},8,[`trapped`]))}}),wn=_({inheritAttrs:!1,__name:`MenuItemImpl`,props:{disabled:{type:Boolean,required:!1},textValue:{type:String,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(e){let n=e,r=xn(),{forwardRef:i,currentElement:l}=W(),{CollectionItem:d}=Ge(),f=c(!1),p=t(()=>f.value||l.value!=null&&r.highlightedElement.value===l.value);async function m(e){if(!e.defaultPrevented&&X(e)){if(n.disabled)r.onItemLeave(e);else if(!r.onItemEnter(e)){let t=e.currentTarget;r.highlightedElement.value=t,[`INPUT`,`TEXTAREA`].includes(U()?.tagName||``)||t.focus({preventScroll:!0})}}}async function h(e){await D(),!e.defaultPrevented&&X(e)&&r.highlightedElement.value===l.value&&!r.onItemLeave(e)&&r.highlightedElement.value===l.value&&(r.highlightedElement.value=void 0)}return(e,t)=>(u(),s(o(d),{value:{textValue:e.textValue}},{default:P(()=>[v(o(K),k({ref:o(i),role:`menuitem`,tabindex:`-1`},e.$attrs,{as:e.as,"as-child":e.asChild,"aria-disabled":e.disabled||void 0,"data-disabled":e.disabled?``:void 0,"data-highlighted":p.value?``:void 0,onPointermove:m,onPointerleave:h,onFocus:t[0]||=async t=>{await D(),!(t.defaultPrevented||e.disabled)&&(f.value=!0,o(r).highlightedElement.value=t.currentTarget)},onBlur:t[1]||=async e=>{await D(),!e.defaultPrevented&&(f.value=!1)}}),{default:P(()=>[a(e.$slots,`default`)]),_:3},16,[`as`,`as-child`,`aria-disabled`,`data-disabled`,`data-highlighted`])]),_:3},8,[`value`]))}}),Tn=_({__name:`MenuItem`,props:{disabled:{type:Boolean,required:!1},textValue:{type:String,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:[`select`],setup(e,{emit:t}){let n=e,r=t,{forwardRef:i,currentElement:l}=W(),d=Q(),f=xn(),p=c(!1);async function m(){let e=l.value;if(!n.disabled&&e){let e=new CustomEvent(en,{bubbles:!0,cancelable:!0});r(`select`,e),await D(),e.defaultPrevented?p.value=!1:d.onClose()}}return(e,t)=>(u(),s(wn,k(n,{ref:o(i),onClick:m,onPointerdown:t[0]||=()=>{p.value=!0},onPointerup:t[1]||=async e=>{await D(),!e.defaultPrevented&&(p.value||e.currentTarget?.click())},onKeydown:t[2]||=async t=>{let n=o(f).searchRef.value!==``;e.disabled||n&&t.key===` `||o(tn).includes(t.key)&&(t.currentTarget?.click(),t.preventDefault())}}),{default:P(()=>[a(e.$slots,`default`)]),_:3},16))}}),[En,Dn]=z([`MenuCheckboxItem`,`MenuRadioItem`],`MenuItemIndicatorContext`),On=_({__name:`MenuItemIndicator`,props:{forceMount:{type:Boolean,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:`span`}},setup(e){let t=En({modelValue:c(!1)});return(e,n)=>(u(),s(o(je),{present:e.forceMount||o(ln)(o(t).modelValue.value)||o(t).modelValue.value===!0},{default:P(()=>[v(o(K),{as:e.as,"as-child":e.asChild,"data-state":o(un)(o(t).modelValue.value)},{default:P(()=>[a(e.$slots,`default`)]),_:3},8,[`as`,`as-child`,`data-state`])]),_:3},8,[`present`]))}}),kn=_({__name:`MenuCheckboxItem`,props:{modelValue:{type:[Boolean,String],required:!1,default:!1},disabled:{type:Boolean,required:!1},textValue:{type:String,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:[`select`,`update:modelValue`],setup(e,{emit:t}){let n=e,r=t,i=ge(n,[`modelValue`]),c=Me(i),l=V(n,`modelValue`,r);return Dn({modelValue:l}),(e,t)=>(u(),s(Tn,k({role:`menuitemcheckbox`},o(c),{"aria-checked":o(ln)(o(l))?`mixed`:o(l),"data-state":o(un)(o(l)),onSelect:t[0]||=async e=>{r(`select`,e),o(ln)(o(l))?l.value=!0:l.value=!o(l)}}),{default:P(()=>[a(e.$slots,`default`,{modelValue:o(l)})]),_:3},16,[`aria-checked`,`data-state`]))}}),An=_({__name:`MenuRootContentModal`,props:{loop:{type:Boolean,required:!1},memoDependencies:{type:Array,required:!1},side:{type:null,required:!1},sideOffset:{type:Number,required:!1},sideFlip:{type:Boolean,required:!1},align:{type:null,required:!1},alignOffset:{type:Number,required:!1},alignFlip:{type:Boolean,required:!1},avoidCollisions:{type:Boolean,required:!1},collisionBoundary:{type:null,required:!1},collisionPadding:{type:[Number,Object],required:!1},arrowPadding:{type:Number,required:!1},hideShiftedArrow:{type:Boolean,required:!1},sticky:{type:String,required:!1},hideWhenDetached:{type:Boolean,required:!1},positionStrategy:{type:String,required:!1},updatePositionStrategy:{type:String,required:!1},disableUpdateOnLayoutShift:{type:Boolean,required:!1},prioritizePosition:{type:Boolean,required:!1},reference:{type:null,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:[`escapeKeyDown`,`pointerDownOutside`,`focusOutside`,`interactOutside`,`entryFocus`,`openAutoFocus`,`closeAutoFocus`],setup(e,{emit:t}){let n=e,r=t,i=q(n,r),c=Z(),{forwardRef:l,currentElement:d}=W();return Lt(d),(e,t)=>(u(),s(Cn,k(o(i),{ref:o(l),"trap-focus":o(c).open.value,"disable-outside-pointer-events":o(c).open.value,"disable-outside-scroll":!0,onDismiss:t[0]||=e=>o(c).onOpenChange(!1),onFocusOutside:t[1]||=L(e=>r(`focusOutside`,e),[`prevent`])}),{default:P(()=>[a(e.$slots,`default`)]),_:3},16,[`trap-focus`,`disable-outside-pointer-events`]))}}),jn=_({__name:`MenuRootContentNonModal`,props:{loop:{type:Boolean,required:!1},memoDependencies:{type:Array,required:!1},side:{type:null,required:!1},sideOffset:{type:Number,required:!1},sideFlip:{type:Boolean,required:!1},align:{type:null,required:!1},alignOffset:{type:Number,required:!1},alignFlip:{type:Boolean,required:!1},avoidCollisions:{type:Boolean,required:!1},collisionBoundary:{type:null,required:!1},collisionPadding:{type:[Number,Object],required:!1},arrowPadding:{type:Number,required:!1},hideShiftedArrow:{type:Boolean,required:!1},sticky:{type:String,required:!1},hideWhenDetached:{type:Boolean,required:!1},positionStrategy:{type:String,required:!1},updatePositionStrategy:{type:String,required:!1},disableUpdateOnLayoutShift:{type:Boolean,required:!1},prioritizePosition:{type:Boolean,required:!1},reference:{type:null,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:[`escapeKeyDown`,`pointerDownOutside`,`focusOutside`,`interactOutside`,`entryFocus`,`openAutoFocus`,`closeAutoFocus`],setup(e,{emit:t}){let n=q(e,t),r=Z();return(e,t)=>(u(),s(Cn,k(o(n),{"trap-focus":!1,"disable-outside-pointer-events":!1,"disable-outside-scroll":!1,onDismiss:t[0]||=e=>o(r).onOpenChange(!1)}),{default:P(()=>[a(e.$slots,`default`)]),_:3},16))}}),Mn=_({__name:`MenuContent`,props:{forceMount:{type:Boolean,required:!1},loop:{type:Boolean,required:!1},memoDependencies:{type:Array,required:!1},side:{type:null,required:!1},sideOffset:{type:Number,required:!1},sideFlip:{type:Boolean,required:!1},align:{type:null,required:!1},alignOffset:{type:Number,required:!1},alignFlip:{type:Boolean,required:!1},avoidCollisions:{type:Boolean,required:!1},collisionBoundary:{type:null,required:!1},collisionPadding:{type:[Number,Object],required:!1},arrowPadding:{type:Number,required:!1},hideShiftedArrow:{type:Boolean,required:!1},sticky:{type:String,required:!1},hideWhenDetached:{type:Boolean,required:!1},positionStrategy:{type:String,required:!1},updatePositionStrategy:{type:String,required:!1},disableUpdateOnLayoutShift:{type:Boolean,required:!1},prioritizePosition:{type:Boolean,required:!1},reference:{type:null,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:[`escapeKeyDown`,`pointerDownOutside`,`focusOutside`,`interactOutside`,`entryFocus`,`openAutoFocus`,`closeAutoFocus`],setup(e,{emit:t}){let n=q(e,t),r=Z(),i=Q();return(e,t)=>(u(),s(o(je),{present:e.forceMount||o(r).open.value},{default:P(()=>[o(i).modal.value?(u(),s(An,j(k({key:0},{...e.$attrs,...o(n)})),{default:P(()=>[a(e.$slots,`default`)]),_:3},16)):(u(),s(jn,j(k({key:1},{...e.$attrs,...o(n)})),{default:P(()=>[a(e.$slots,`default`)]),_:3},16))]),_:3},8,[`present`]))}}),[Nn,Pn]=z(`MenuGroup`),Fn=_({__name:`MenuGroup`,props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(e){let t=e,n=Be(void 0,`reka-menu-group`);return Pn({id:n}),(e,r)=>(u(),s(o(K),k({role:`group`},t,{"aria-labelledby":o(n)}),{default:P(()=>[a(e.$slots,`default`)]),_:3},16,[`aria-labelledby`]))}}),In=_({__name:`MenuLabel`,props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:`div`}},setup(e){let t=e,n=Nn({id:``});return(e,r)=>(u(),s(o(K),k(t,{id:o(n).id||void 0}),{default:P(()=>[a(e.$slots,`default`)]),_:3},16,[`id`]))}}),Ln=_({__name:`MenuPortal`,props:{to:{type:null,required:!1},disabled:{type:Boolean,required:!1},defer:{type:Boolean,required:!1},forceMount:{type:Boolean,required:!1}},setup(t){let n=t;return(t,r)=>(u(),s(o(Ie),j(e(n)),{default:P(()=>[a(t.$slots,`default`)]),_:3},16))}}),[Rn,zn]=z(`MenuRadioGroup`),Bn=_({__name:`MenuRadioGroup`,props:{modelValue:{type:null,required:!1,default:``},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:[`update:modelValue`],setup(t,{emit:n}){let r=t,i=n,c=ge(r,[`modelValue`]),l=Me(c),d=V(r,`modelValue`,i);return zn({modelValue:d,onValueChange:e=>{d.value=e}}),(t,n)=>(u(),s(Fn,j(e(o(l))),{default:P(()=>[a(t.$slots,`default`,{modelValue:o(d)})]),_:3},16))}}),Vn=_({__name:`MenuRadioItem`,props:{value:{type:null,required:!0},disabled:{type:Boolean,required:!1},textValue:{type:String,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:[`select`],setup(e,{emit:n}){let r=e,i=n,c=ge(r,[`value`]),l=Me(c),{value:d}=I(r),f=Rn(),p=t(()=>f.modelValue.value===d?.value);return Dn({modelValue:p}),(e,t)=>(u(),s(Tn,k({role:`menuitemradio`},o(l),{"aria-checked":p.value,"data-state":o(un)(p.value),onSelect:t[0]||=async e=>{i(`select`,e),o(f).onValueChange(o(d))}}),{default:P(()=>[a(e.$slots,`default`)]),_:3},16,[`aria-checked`,`data-state`]))}}),Hn=_({__name:`MenuSeparator`,props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(e){let t=e;return(e,n)=>(u(),s(o(K),k(t,{role:`separator`,"aria-orientation":`horizontal`}),{default:P(()=>[a(e.$slots,`default`)]),_:3},16))}}),[Un,Wn]=z(`MenuSub`),Gn=_({__name:`MenuSub`,props:{open:{type:Boolean,required:!1,default:void 0}},emits:[`update:open`],setup(e,{emit:t}){let n=e,r=V(n,`open`,t,{defaultValue:!1,passive:n.open===void 0}),i=Z(),l=c(),d=c();return N(e=>{i?.open.value===!1&&(r.value=!1),e(()=>r.value=!1)}),vn({open:r,onOpenChange:e=>{r.value=e},content:d,onContentChange:e=>{d.value=e}}),Wn({triggerId:``,contentId:``,trigger:l,onTriggerChange:e=>{l.value=e}}),(e,t)=>(u(),s(o(te),null,{default:P(()=>[a(e.$slots,`default`)]),_:3}))}}),Kn=_({__name:`MenuSubContent`,props:{forceMount:{type:Boolean,required:!1},loop:{type:Boolean,required:!1},memoDependencies:{type:Array,required:!1},sideOffset:{type:Number,required:!1},sideFlip:{type:Boolean,required:!1},alignOffset:{type:Number,required:!1},alignFlip:{type:Boolean,required:!1},avoidCollisions:{type:Boolean,required:!1},collisionBoundary:{type:null,required:!1},collisionPadding:{type:[Number,Object],required:!1},arrowPadding:{type:Number,required:!1},hideShiftedArrow:{type:Boolean,required:!1},sticky:{type:String,required:!1},hideWhenDetached:{type:Boolean,required:!1},positionStrategy:{type:String,required:!1},updatePositionStrategy:{type:String,required:!1},disableUpdateOnLayoutShift:{type:Boolean,required:!1},prioritizePosition:{type:Boolean,required:!1,default:!0},reference:{type:null,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:[`escapeKeyDown`,`pointerDownOutside`,`focusOutside`,`interactOutside`,`entryFocus`,`openAutoFocus`,`closeAutoFocus`],setup(e,{emit:t}){let n=q(e,t),r=Z(),i=Q(),c=Un(),l=xn(),{forwardRef:d,currentElement:f}=W();return c.contentId||=Be(void 0,`reka-menu-sub-content`),(e,t)=>(u(),s(o(je),{present:e.forceMount||o(r).open.value},{default:P(()=>[v(Cn,k(o(n),{id:o(c).contentId,ref:o(d),"aria-labelledby":o(c).triggerId,align:`start`,side:o(i).dir.value===`rtl`?`left`:`right`,"disable-outside-pointer-events":!1,"disable-outside-scroll":!1,"trap-focus":!1,onOpenAutoFocus:t[0]||=L(e=>{o(i).isUsingKeyboardRef.value&&o(f)?.focus()},[`prevent`]),onCloseAutoFocus:t[1]||=L(()=>{},[`prevent`]),onFocusOutside:t[2]||=e=>{if(e.defaultPrevented)return;let t=o(l).filterElement.value?.contains(e.target);e.target!==o(c).trigger.value&&!t&&o(r).onOpenChange(!1)},onEscapeKeyDown:t[3]||=e=>{o(i).onClose(),e.preventDefault()},onKeydown:t[4]||=e=>{let t=e.currentTarget?.contains(e.target),n=o(sn)[o(i).dir.value].includes(e.key);t&&n&&(o(r).onOpenChange(!1),o(l).filterElement.value?(o(l).filterElement.value.focus(),o(l).highlightedElement.value=o(c).trigger.value,o(c).trigger.value?.scrollIntoView({block:`nearest`})):o(c).trigger.value?.focus(),e.preventDefault())}}),{default:P(()=>[a(e.$slots,`default`)]),_:3},16,[`id`,`aria-labelledby`,`side`])]),_:3},8,[`present`]))}}),qn=_({__name:`MenuSubTrigger`,props:{disabled:{type:Boolean,required:!1},textValue:{type:String,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(e){let t=e,n=Z(),r=Q(),l=Un(),d=xn();A(n.open,e=>{e?d.activeSubmenuContext.value={onOpenChange:n.onOpenChange,trigger:l.trigger}:d.activeSubmenuContext.value?.trigger.value===l.trigger.value&&(d.activeSubmenuContext.value=void 0)});let f=c(null);l.triggerId||=Be(void 0,`reka-menu-sub-trigger`);function p(){f.value&&window.clearTimeout(f.value),f.value=null}i(()=>{p()});function m(e){X(e)&&(d.onItemEnter(e)||!t.disabled&&!n.open.value&&!f.value&&(d.onPointerGraceIntentChange(null),f.value=window.setTimeout(()=>{n.onOpenChange(!0),p()},100)))}async function h(e){if(!X(e))return;p();let t=n.content.value?.getBoundingClientRect();if(t?.width){let r=n.content.value?.dataset.side,i=r===`right`,a=i?-5:5,o=t[i?`left`:`right`],s=t[i?`right`:`left`];d.onPointerGraceIntentChange({area:[{x:e.clientX+a,y:e.clientY},{x:o,y:t.top},{x:s,y:t.top},{x:s,y:t.bottom},{x:o,y:t.bottom}],side:r}),window.clearTimeout(d.pointerGraceTimerRef.value),d.pointerGraceTimerRef.value=window.setTimeout(()=>d.onPointerGraceIntentChange(null),300)}else{if(d.onTriggerLeave(e))return;d.onPointerGraceIntentChange(null)}}async function g(e){let i=d.searchRef.value!==``;t.disabled||i&&e.key===` `||on[r.dir.value].includes(e.key)&&(n.onOpenChange(!0),await D(),n.content.value?.focus(),e.preventDefault())}return(e,r)=>(u(),s(mn,{"as-child":``},{default:P(()=>[v(wn,k(t,{id:o(l).triggerId,ref:e=>{e&&o(l)?.onTriggerChange(e?.$el)},"aria-haspopup":`menu`,"aria-expanded":o(n).open.value,"aria-controls":o(l).contentId,"data-state":o(cn)(o(n).open.value),onClick:r[0]||=async e=>{t.disabled||e.defaultPrevented||(e.currentTarget?.focus(),o(n).open.value||o(n).onOpenChange(!0))},onPointermove:m,onPointerleave:h,onKeydown:g}),{default:P(()=>[a(e.$slots,`default`)]),_:3},16,[`id`,`aria-expanded`,`aria-controls`,`data-state`])]),_:3}))}}),Jn=_({__name:`ContextMenuArrow`,props:{width:{type:Number,required:!1,default:10},height:{type:Number,required:!1,default:5},rounded:{type:Boolean,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:`svg`}},setup(t){let n=t;return W(),(t,r)=>(u(),s(o(hn),j(e(n)),{default:P(()=>[a(t.$slots,`default`)]),_:3},16))}}),Yn=_({__name:`ContextMenuCheckboxItem`,props:{modelValue:{type:[Boolean,String],required:!1},disabled:{type:Boolean,required:!1},textValue:{type:String,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:[`select`,`update:modelValue`],setup(t,{emit:n}){let r=t,i=G(n);return W(),(t,n)=>(u(),s(o(kn),j(e({...r,...o(i)})),{default:P(()=>[a(t.$slots,`default`)]),_:3},16))}}),[Xn,Zn]=z(`ContextMenuRoot`),Qn=_({inheritAttrs:!1,__name:`ContextMenuRoot`,props:{pressOpenDelay:{type:Number,required:!1,default:700},dir:{type:String,required:!1},modal:{type:Boolean,required:!1,default:!0}},emits:[`update:open`],setup(e,{emit:t}){let n=e,r=t,{dir:i,modal:l,pressOpenDelay:d}=I(n);W();let f=Ve(i),p=c(!1);return Zn({open:p,onOpenChange:e=>{p.value=e},dir:f,modal:l,triggerElement:c(),pressOpenDelay:d}),A(p,e=>{r(`update:open`,e)}),(e,t)=>(u(),s(o(bn),{open:p.value,"onUpdate:open":t[0]||=e=>p.value=e,dir:o(f),modal:o(l)},{default:P(()=>[a(e.$slots,`default`)]),_:3},8,[`open`,`dir`,`modal`]))}}),$n=_({__name:`ContextMenuContent`,props:{forceMount:{type:Boolean,required:!1},loop:{type:Boolean,required:!1},memoDependencies:{type:Array,required:!1},sideFlip:{type:Boolean,required:!1},alignOffset:{type:Number,required:!1,default:0},alignFlip:{type:Boolean,required:!1},avoidCollisions:{type:Boolean,required:!1,default:!0},collisionBoundary:{type:null,required:!1,default:()=>[]},collisionPadding:{type:[Number,Object],required:!1,default:0},hideShiftedArrow:{type:Boolean,required:!1},sticky:{type:String,required:!1,default:`partial`},hideWhenDetached:{type:Boolean,required:!1,default:!1},positionStrategy:{type:String,required:!1},disableUpdateOnLayoutShift:{type:Boolean,required:!1},prioritizePosition:{type:Boolean,required:!1},reference:{type:null,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:[`escapeKeyDown`,`pointerDownOutside`,`focusOutside`,`interactOutside`,`closeAutoFocus`],setup(e,{emit:t}){let n=q(e,t);W();let r=Xn(),i=c(!1);return(e,t)=>(u(),s(o(Mn),k(o(n),{side:`right`,"side-offset":2,align:`start`,"update-position-strategy":`always`,style:{"--reka-context-menu-content-transform-origin":`var(--reka-popper-transform-origin)`,"--reka-context-menu-content-available-width":`var(--reka-popper-available-width)`,"--reka-context-menu-content-available-height":`var(--reka-popper-available-height)`,"--reka-context-menu-trigger-width":`var(--reka-popper-anchor-width)`,"--reka-context-menu-trigger-height":`var(--reka-popper-anchor-height)`},onCloseAutoFocus:t[0]||=e=>{!e.defaultPrevented&&i.value&&e.preventDefault(),i.value=!1},onInteractOutside:t[1]||=e=>{e.detail.originalEvent.button===2&&e.target===o(r).triggerElement.value&&e.preventDefault(),!e.defaultPrevented&&!o(r).modal.value&&(i.value=!0)}}),{default:P(()=>[a(e.$slots,`default`)]),_:3},16))}}),er=_({__name:`ContextMenuGroup`,props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(t){let n=t;return W(),(t,r)=>(u(),s(o(Fn),j(e(n)),{default:P(()=>[a(t.$slots,`default`)]),_:3},16))}}),tr=_({__name:`ContextMenuItem`,props:{disabled:{type:Boolean,required:!1},textValue:{type:String,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:[`select`],setup(t,{emit:n}){let r=t,i=G(n);return W(),(t,n)=>(u(),s(o(Tn),j(e({...r,...o(i)})),{default:P(()=>[a(t.$slots,`default`)]),_:3},16))}}),nr=_({__name:`ContextMenuItemIndicator`,props:{forceMount:{type:Boolean,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(t){let n=t;return W(),(t,r)=>(u(),s(o(On),j(e(n)),{default:P(()=>[a(t.$slots,`default`)]),_:3},16))}}),rr=_({__name:`ContextMenuLabel`,props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(t){let n=t;return W(),(t,r)=>(u(),s(o(In),j(e(n)),{default:P(()=>[a(t.$slots,`default`)]),_:3},16))}}),ir=_({__name:`ContextMenuPortal`,props:{to:{type:null,required:!1},disabled:{type:Boolean,required:!1},defer:{type:Boolean,required:!1},forceMount:{type:Boolean,required:!1}},setup(t){let n=t;return(t,r)=>(u(),s(o(Ln),j(e(n)),{default:P(()=>[a(t.$slots,`default`)]),_:3},16))}}),ar=_({__name:`ContextMenuRadioGroup`,props:{modelValue:{type:null,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:[`update:modelValue`],setup(t,{emit:n}){let r=t,i=G(n);return W(),(t,n)=>(u(),s(o(Bn),j(e({...r,...o(i)})),{default:P(()=>[a(t.$slots,`default`)]),_:3},16))}}),or=_({__name:`ContextMenuRadioItem`,props:{value:{type:null,required:!0},disabled:{type:Boolean,required:!1},textValue:{type:String,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:[`select`],setup(t,{emit:n}){let r=t,i=G(n);return W(),(t,n)=>(u(),s(o(Vn),j(e({...r,...o(i)})),{default:P(()=>[a(t.$slots,`default`)]),_:3},16))}}),sr=_({__name:`ContextMenuSeparator`,props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(t){let n=t;return W(),(t,r)=>(u(),s(o(Hn),j(e(n)),{default:P(()=>[a(t.$slots,`default`)]),_:3},16))}}),cr=_({__name:`ContextMenuSub`,props:{defaultOpen:{type:Boolean,required:!1},open:{type:Boolean,required:!1,default:void 0}},emits:[`update:open`],setup(e,{emit:t}){let n=e,r=t;W();let i=V(n,`open`,r,{defaultValue:n.defaultOpen,passive:n.open===void 0});return(e,t)=>(u(),s(o(Gn),{open:o(i),"onUpdate:open":t[0]||=e=>F(i)?i.value=e:null},{default:P(()=>[a(e.$slots,`default`,{open:o(i)})]),_:3},8,[`open`]))}}),lr=_({__name:`ContextMenuSubContent`,props:{forceMount:{type:Boolean,required:!1},loop:{type:Boolean,required:!1},memoDependencies:{type:Array,required:!1},sideOffset:{type:Number,required:!1},sideFlip:{type:Boolean,required:!1},alignOffset:{type:Number,required:!1},alignFlip:{type:Boolean,required:!1},avoidCollisions:{type:Boolean,required:!1},collisionBoundary:{type:null,required:!1},collisionPadding:{type:[Number,Object],required:!1},arrowPadding:{type:Number,required:!1},hideShiftedArrow:{type:Boolean,required:!1},sticky:{type:String,required:!1},hideWhenDetached:{type:Boolean,required:!1},positionStrategy:{type:String,required:!1},updatePositionStrategy:{type:String,required:!1},disableUpdateOnLayoutShift:{type:Boolean,required:!1},prioritizePosition:{type:Boolean,required:!1},reference:{type:null,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:[`escapeKeyDown`,`pointerDownOutside`,`focusOutside`,`interactOutside`,`entryFocus`,`openAutoFocus`,`closeAutoFocus`],setup(e,{emit:t}){let n=q(e,t);return W(),(e,t)=>(u(),s(o(Kn),k(o(n),{style:{"--reka-context-menu-content-transform-origin":`var(--reka-popper-transform-origin)`,"--reka-context-menu-content-available-width":`var(--reka-popper-available-width)`,"--reka-context-menu-content-available-height":`var(--reka-popper-available-height)`,"--reka-context-menu-trigger-width":`var(--reka-popper-anchor-width)`,"--reka-context-menu-trigger-height":`var(--reka-popper-anchor-height)`}}),{default:P(()=>[a(e.$slots,`default`)]),_:3},16))}}),ur=_({__name:`ContextMenuSubTrigger`,props:{disabled:{type:Boolean,required:!1},textValue:{type:String,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(t){let n=t;return W(),(t,r)=>(u(),s(o(qn),j(e(n)),{default:P(()=>[a(t.$slots,`default`)]),_:3},16))}});function dr(e){return e.pointerType!==`mouse`}var fr=_({inheritAttrs:!1,__name:`ContextMenuTrigger`,props:{disabled:{type:Boolean,required:!1,default:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:`span`}},setup(e){let{disabled:n}=I(e),{forwardRef:r,currentElement:i}=W(),s=Xn(),l=c({x:0,y:0}),f=t(()=>({getBoundingClientRect:()=>({width:0,height:0,left:l.value.x,right:l.value.x,top:l.value.y,bottom:l.value.y,...l.value})})),p=c(0);function m(){window.clearTimeout(p.value)}function h(e){l.value={x:e.clientX,y:e.clientY},s.onOpenChange(!0)}async function _(e){n.value||(await D(),e.defaultPrevented||(m(),h(e),e.preventDefault()))}async function y(e){n.value||(await D(),dr(e)&&!e.defaultPrevented&&(m(),p.value=window.setTimeout(h,s.pressOpenDelay.value,e)))}async function b(e){n.value||(await D(),dr(e)&&!e.defaultPrevented&&m())}return g(()=>{i.value&&(s.triggerElement.value=i.value)}),(e,t)=>(u(),d(S,null,[v(o(mn),{as:`template`,reference:f.value},null,8,[`reference`]),v(o(K),k({ref:o(r),as:e.as,"as-child":e.asChild,"data-state":o(s).open.value?`open`:`closed`,"data-disabled":o(n)?``:void 0,style:{WebkitTouchCallout:`none`,pointerEvents:`auto`}},e.$attrs,{onContextmenu:_,onPointerdown:y,onPointermove:b,onPointercancel:b,onPointerup:b}),{default:P(()=>[a(e.$slots,`default`)]),_:3},16,[`as`,`as-child`,`data-state`,`data-disabled`])],64))}}),pr=_({__name:`DropdownMenuArrow`,props:{width:{type:Number,required:!1,default:10},height:{type:Number,required:!1,default:5},rounded:{type:Boolean,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:`svg`}},setup(t){let n=t;return W(),(t,r)=>(u(),s(o(hn),j(e(n)),{default:P(()=>[a(t.$slots,`default`)]),_:3},16))}}),mr=_({__name:`DropdownMenuCheckboxItem`,props:{modelValue:{type:[Boolean,String],required:!1},disabled:{type:Boolean,required:!1},textValue:{type:String,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:[`select`,`update:modelValue`],setup(t,{emit:n}){let r=t,i=G(n);return W(),(t,n)=>(u(),s(o(kn),j(e({...r,...o(i)})),{default:P(()=>[a(t.$slots,`default`)]),_:3},16))}}),[hr,gr]=z(`DropdownMenuRoot`),_r=_({__name:`DropdownMenuRoot`,props:{defaultOpen:{type:Boolean,required:!1},open:{type:Boolean,required:!1,default:void 0},dir:{type:String,required:!1},modal:{type:Boolean,required:!1,default:!0}},emits:[`update:open`],setup(e,{emit:t}){let n=e,r=t;W();let i=V(n,`open`,r,{defaultValue:n.defaultOpen,passive:n.open===void 0}),l=c(),{modal:d,dir:f}=I(n),p=Ve(f);return gr({open:i,onOpenChange:e=>{i.value=e},onOpenToggle:()=>{i.value=!i.value},triggerId:``,triggerElement:l,contentId:``,modal:d,dir:p}),(e,t)=>(u(),s(o(bn),{open:o(i),"onUpdate:open":t[0]||=e=>F(i)?i.value=e:null,dir:o(p),modal:o(d)},{default:P(()=>[a(e.$slots,`default`,{open:o(i)})]),_:3},8,[`open`,`dir`,`modal`]))}}),vr=_({__name:`DropdownMenuContent`,props:{forceMount:{type:Boolean,required:!1},loop:{type:Boolean,required:!1},memoDependencies:{type:Array,required:!1},side:{type:null,required:!1},sideOffset:{type:Number,required:!1},sideFlip:{type:Boolean,required:!1},align:{type:null,required:!1},alignOffset:{type:Number,required:!1},alignFlip:{type:Boolean,required:!1},avoidCollisions:{type:Boolean,required:!1},collisionBoundary:{type:null,required:!1},collisionPadding:{type:[Number,Object],required:!1},arrowPadding:{type:Number,required:!1},hideShiftedArrow:{type:Boolean,required:!1},sticky:{type:String,required:!1},hideWhenDetached:{type:Boolean,required:!1},positionStrategy:{type:String,required:!1},updatePositionStrategy:{type:String,required:!1},disableUpdateOnLayoutShift:{type:Boolean,required:!1},prioritizePosition:{type:Boolean,required:!1},reference:{type:null,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:[`escapeKeyDown`,`pointerDownOutside`,`focusOutside`,`interactOutside`,`closeAutoFocus`],setup(e,{emit:t}){let n=q(e,t);W();let r=hr(),i=c(!1);function l(e){e.defaultPrevented||(i.value||setTimeout(()=>{r.triggerElement.value?.focus()},0),i.value=!1,e.preventDefault())}return r.contentId||=Be(void 0,`reka-dropdown-menu-content`),(e,t)=>(u(),s(o(Mn),k(o(n),{id:o(r).contentId,"aria-labelledby":o(r)?.triggerId,style:{"--reka-dropdown-menu-content-transform-origin":`var(--reka-popper-transform-origin)`,"--reka-dropdown-menu-content-available-width":`var(--reka-popper-available-width)`,"--reka-dropdown-menu-content-available-height":`var(--reka-popper-available-height)`,"--reka-dropdown-menu-trigger-width":`var(--reka-popper-anchor-width)`,"--reka-dropdown-menu-trigger-height":`var(--reka-popper-anchor-height)`},onCloseAutoFocus:l,onInteractOutside:t[0]||=e=>{if(e.defaultPrevented)return;let t=e.detail.originalEvent,n=t.button===0&&t.ctrlKey===!0,a=t.button===2||n;(!o(r).modal.value||a)&&(i.value=!0),o(r).triggerElement.value?.contains(e.target)&&e.preventDefault()}}),{default:P(()=>[a(e.$slots,`default`)]),_:3},16,[`id`,`aria-labelledby`]))}}),yr=_({__name:`DropdownMenuFilter`,props:{modelValue:{type:String,required:!1},autoFocus:{type:Boolean,required:!1},disabled:{type:Boolean,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:`input`}},emits:[`update:modelValue`],setup(e,{emit:n}){let r=e,l=V(r,`modelValue`,n,{defaultValue:``,passive:r.modelValue===void 0}),d=Q(),f=xn(),p=Un(null);A(l,e=>{f.searchRef.value=e??``},{immediate:!0});let{primitiveElement:m,currentElement:h}=He(),_=t(()=>r.disabled||!1),v=c();x(()=>v.value=f.highlightedElement.value?.id),g(()=>{f.onFilterElementChange(h.value),setTimeout(()=>{r.autoFocus&&(!p||d.isUsingKeyboardRef.value)&&h.value?.focus()},1)}),i(()=>{f.onFilterElementChange(void 0),f.searchRef.value=``});let{isComposing:y,shouldDeferInput:b,handleCompositionStart:S,handleCompositionUpdate:C,handleCompositionEnd:w}=wt(e=>{let t=e.target;t&&(l.value=t.value,f.searchRef.value=t.value)});function T(e){if(_.value||b.value)return;let t=e.target;l.value=t.value,f.searchRef.value=t.value}function E(e){if(!_.value){if(y.value){e.stopPropagation();return}[`ArrowDown`,`ArrowUp`,`Home`,`End`].includes(e.key)?(e.preventDefault(),f.onKeydownNavigation(e)):e.key===`Enter`?(e.preventDefault(),f.onKeydownEnter(e)):e.key===`Escape`&&l.value&&(e.stopPropagation(),l.value=``,f.searchRef.value=``)}}return(e,t)=>(u(),s(o(K),{ref_key:`primitiveElement`,ref:m,as:e.as,"as-child":e.asChild,value:o(l),disabled:_.value?``:void 0,"data-disabled":_.value?``:void 0,"aria-disabled":_.value?!0:void 0,"aria-activedescendant":v.value,type:`text`,role:`searchbox`,onInput:T,onKeydown:E,onCompositionstart:o(S),onCompositionupdate:o(C),onCompositionend:o(w)},{default:P(()=>[a(e.$slots,`default`,{modelValue:o(l)})]),_:3},8,[`as`,`as-child`,`value`,`disabled`,`data-disabled`,`aria-disabled`,`aria-activedescendant`,`onCompositionstart`,`onCompositionupdate`,`onCompositionend`]))}}),br=_({__name:`DropdownMenuGroup`,props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(t){let n=t;return W(),(t,r)=>(u(),s(o(Fn),j(e(n)),{default:P(()=>[a(t.$slots,`default`)]),_:3},16))}}),xr=_({__name:`DropdownMenuItem`,props:{disabled:{type:Boolean,required:!1},textValue:{type:String,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:[`select`],setup(t,{emit:n}){let r=t,i=G(n);return W(),(t,n)=>(u(),s(o(Tn),j(e({...r,...o(i)})),{default:P(()=>[a(t.$slots,`default`)]),_:3},16))}}),Sr=_({__name:`DropdownMenuItemIndicator`,props:{forceMount:{type:Boolean,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(t){let n=t;return W(),(t,r)=>(u(),s(o(On),j(e(n)),{default:P(()=>[a(t.$slots,`default`)]),_:3},16))}}),Cr=_({__name:`DropdownMenuLabel`,props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(t){let n=t;return W(),(t,r)=>(u(),s(o(In),j(e(n)),{default:P(()=>[a(t.$slots,`default`)]),_:3},16))}}),wr=_({__name:`DropdownMenuPortal`,props:{to:{type:null,required:!1},disabled:{type:Boolean,required:!1},defer:{type:Boolean,required:!1},forceMount:{type:Boolean,required:!1}},setup(t){let n=t;return(t,r)=>(u(),s(o(Ln),j(e(n)),{default:P(()=>[a(t.$slots,`default`)]),_:3},16))}}),Tr=_({__name:`DropdownMenuRadioGroup`,props:{modelValue:{type:null,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:[`update:modelValue`],setup(t,{emit:n}){let r=t,i=G(n);return W(),(t,n)=>(u(),s(o(Bn),j(e({...r,...o(i)})),{default:P(()=>[a(t.$slots,`default`)]),_:3},16))}}),Er=_({__name:`DropdownMenuRadioItem`,props:{value:{type:null,required:!0},disabled:{type:Boolean,required:!1},textValue:{type:String,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:[`select`],setup(t,{emit:n}){let r=q(t,n);return W(),(t,n)=>(u(),s(o(Vn),j(e(o(r))),{default:P(()=>[a(t.$slots,`default`)]),_:3},16))}}),Dr=_({__name:`DropdownMenuSeparator`,props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(t){let n=t;return W(),(t,r)=>(u(),s(o(Hn),j(e(n)),{default:P(()=>[a(t.$slots,`default`)]),_:3},16))}}),Or=_({__name:`DropdownMenuSub`,props:{defaultOpen:{type:Boolean,required:!1},open:{type:Boolean,required:!1,default:void 0}},emits:[`update:open`],setup(e,{emit:t}){let n=e,r=V(n,`open`,t,{passive:n.open===void 0,defaultValue:n.defaultOpen??!1});return W(),(e,t)=>(u(),s(o(Gn),{open:o(r),"onUpdate:open":t[0]||=e=>F(r)?r.value=e:null},{default:P(()=>[a(e.$slots,`default`,{open:o(r)})]),_:3},8,[`open`]))}}),kr=_({__name:`DropdownMenuSubContent`,props:{forceMount:{type:Boolean,required:!1},loop:{type:Boolean,required:!1},memoDependencies:{type:Array,required:!1},sideOffset:{type:Number,required:!1},sideFlip:{type:Boolean,required:!1},alignOffset:{type:Number,required:!1},alignFlip:{type:Boolean,required:!1},avoidCollisions:{type:Boolean,required:!1},collisionBoundary:{type:null,required:!1},collisionPadding:{type:[Number,Object],required:!1},arrowPadding:{type:Number,required:!1},hideShiftedArrow:{type:Boolean,required:!1},sticky:{type:String,required:!1},hideWhenDetached:{type:Boolean,required:!1},positionStrategy:{type:String,required:!1},updatePositionStrategy:{type:String,required:!1},disableUpdateOnLayoutShift:{type:Boolean,required:!1},prioritizePosition:{type:Boolean,required:!1},reference:{type:null,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:[`escapeKeyDown`,`pointerDownOutside`,`focusOutside`,`interactOutside`,`entryFocus`,`openAutoFocus`,`closeAutoFocus`],setup(e,{emit:t}){let n=q(e,t);return W(),(e,t)=>(u(),s(o(Kn),k(o(n),{style:{"--reka-dropdown-menu-content-transform-origin":`var(--reka-popper-transform-origin)`,"--reka-dropdown-menu-content-available-width":`var(--reka-popper-available-width)`,"--reka-dropdown-menu-content-available-height":`var(--reka-popper-available-height)`,"--reka-dropdown-menu-trigger-width":`var(--reka-popper-anchor-width)`,"--reka-dropdown-menu-trigger-height":`var(--reka-popper-anchor-height)`}}),{default:P(()=>[a(e.$slots,`default`)]),_:3},16))}}),Ar=_({__name:`DropdownMenuSubTrigger`,props:{disabled:{type:Boolean,required:!1},textValue:{type:String,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(t){let n=t;return W(),(t,r)=>(u(),s(o(qn),j(e(n)),{default:P(()=>[a(t.$slots,`default`)]),_:3},16))}}),jr=_({__name:`DropdownMenuTrigger`,props:{disabled:{type:Boolean,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:`button`}},setup(e){let t=e,n=hr(),{forwardRef:r,currentElement:i}=W();return g(()=>{n.triggerElement=i}),n.triggerId||=Be(void 0,`reka-dropdown-menu-trigger`),(e,i)=>(u(),s(o(mn),{"as-child":``},{default:P(()=>[v(o(K),{id:o(n).triggerId,ref:o(r),type:e.as===`button`?`button`:void 0,"as-child":t.asChild,as:e.as,"aria-haspopup":`menu`,"aria-expanded":o(n).open.value,"aria-controls":o(n).open.value?o(n).contentId:void 0,"data-disabled":e.disabled?``:void 0,disabled:e.disabled,"data-state":o(n).open.value?`open`:`closed`,onClick:i[0]||=async t=>{!e.disabled&&t.button===0&&t.ctrlKey===!1&&(o(n)?.onOpenToggle(),await D(),o(n).open.value&&t.preventDefault())},onKeydown:i[1]||=ee(t=>{e.disabled||([`Enter`,` `].includes(t.key)&&o(n).onOpenToggle(),t.key===`ArrowDown`&&o(n).onOpenChange(!0),[`Enter`,` `,`ArrowDown`].includes(t.key)&&t.preventDefault())},[`enter`,`space`,`arrow-down`])},{default:P(()=>[a(e.$slots,`default`)]),_:3},8,[`id`,`type`,`as-child`,`as`,`aria-expanded`,`aria-controls`,`data-disabled`,`disabled`,`data-state`])]),_:3}))}}),Mr={Root:Qn,Trigger:fr,Portal:ir,Content:$n,Arrow:Jn,Item:tr,Group:er,Separator:sr,CheckboxItem:Yn,ItemIndicator:nr,Label:rr,RadioGroup:ar,RadioItem:or,Sub:cr,SubContent:lr,SubTrigger:ur},$={Root:_r,Trigger:jr,Portal:wr,Content:vr,Arrow:pr,Item:xr,Group:br,Separator:Dr,CheckboxItem:mr,ItemIndicator:Sr,Label:Cr,RadioGroup:Tr,RadioItem:Er,Sub:Or,SubContent:kr,SubTrigger:Ar,Filter:yr};function Nr(){let{contains:e,startsWith:t}=Tt({sensitivity:`base`});function n(n,r){return e(n,r)?e(r,n)?0:t(n,r)?1:2:null}function r(e,t,r){if(typeof e!=`object`||!e)return n(String(e),t);let i=null;for(let a of r){let r=H(e,a);if(r==null)continue;let o=Array.isArray(r)?r.map(String):[String(r)];for(let e of o){let r=n(e,t);if(r!==null&&(i===null||r<i)&&(i=r),i===0)return 0}}return i}function i(e,t,n){if(!t)return e;let i=[];for(let a of e){let e=r(a,t,n);e!==null&&i.push({item:a,score:e})}return i.sort((e,t)=>e.score-t.score),i.map(({item:e})=>e)}function a(e,t,n){return t?e.map(e=>{let i=[];for(let a of e){if(a==null)continue;if(n.isStructural?.(a)){i.push({item:a,score:-1});continue}let e=r(a,t,n.fields);e!==null&&i.push({item:a,score:e})}return i.sort((e,t)=>e.score-t.score),i.map(({item:e})=>e)}).filter(e=>e.some(e=>!n.isStructural?.(e))):e}return{score:n,scoreItem:r,filter:i,filterGroups:a}}function Pr(e){return(t,n)=>Fr(t,n,o(e))}function Fr(e,t,n){return H(n,`messages.${e}`,e).replace(/\{(\w+)\}/g,(e,n)=>`${t?.[n]??`{${n}}`}`)}function Ir(e){return{lang:t(()=>o(e).name),code:t(()=>o(e).code),dir:t(()=>o(e).dir),locale:F(e)?e:c(e),t:Pr(e)}}function Lr(e){return et(e,{dir:`ltr`})}var Rr=Lr({name:`English`,code:`en`,messages:{alert:{close:`Close`},authForm:{hidePassword:`Hide password`,showPassword:`Show password`,submit:`Continue`},banner:{close:`Close`},calendar:{nextMonth:`Next month`,nextYear:`Next year`,prevMonth:`Previous month`,prevYear:`Previous year`},carousel:{dots:`Choose slide to display`,goto:`Go to slide {slide}`,next:`Next`,prev:`Prev`},chatPrompt:{placeholder:`Type your message here…`},chatPromptSubmit:{label:`Send prompt`},colorMode:{dark:`Dark`,light:`Light`,switchToDark:`Switch to dark mode`,switchToLight:`Switch to light mode`,system:`System`},commandPalette:{back:`Back`,close:`Close`,noData:`No data`,noMatch:`No matching data`,placeholder:`Type a command or search…`},contentSearch:{links:`Links`,search:`Results`,theme:`Theme`},contentSearchButton:{label:`Search…`},contentToc:{title:`On this page`},dropdownMenu:{noMatch:`No matching data`,search:`Search…`},dashboardSearch:{theme:`Theme`},dashboardSearchButton:{label:`Search…`},dashboardSidebarCollapse:{collapse:`Collapse sidebar`,expand:`Expand sidebar`},dashboardSidebarToggle:{close:`Close sidebar`,open:`Open sidebar`},drawer:{close:`Close`},error:{clear:`Back to home`},fileUpload:{removeFile:`Remove {filename}`},header:{close:`Close menu`,open:`Open menu`},inputMenu:{create:`Create "{label}"`,noData:`No data`,noMatch:`No matching data`},inputNumber:{decrement:`Decrement`,increment:`Increment`},listbox:{noData:`No data`,noMatch:`No matching data`,search:`Search…`},modal:{close:`Close`},pricingTable:{caption:`Pricing plan comparison`},prose:{codeCollapse:{closeText:`Collapse`,name:`code`,openText:`Expand`},collapsible:{closeText:`Hide`,name:`properties`,openText:`Show`},pre:{copy:`Copy code to clipboard`},prompt:{copy:`Copy prompt`,openIn:`Open in {name}`}},chatReasoning:{thinking:`Thinking…`,thought:`Thought`,thoughtFor:`Thought for {duration}`},sidebar:{close:`Close`,toggle:`Toggle`},selectMenu:{create:`Create "{label}"`,noData:`No data`,noMatch:`No matching data`,search:`Search…`},slideover:{close:`Close`},table:{noData:`No data`},toast:{close:`Close`}}}),zr=Symbol.for(`nuxt-ui.locale-context`),Br=Re(e=>{let n=e||m(C(zr,Rr));return Ir(t(()=>n.value||Rr))}),Vr={__name:`UDropdownMenuContent`,props:{items:{type:null,required:!1},portal:{type:[Boolean,String],required:!1,skipCheck:!0},sub:{type:Boolean,required:!1},labelKey:{type:null,required:!0},descriptionKey:{type:null,required:!0},checkedIcon:{type:null,required:!1},loadingIcon:{type:null,required:!1},externalIcon:{type:[Boolean,String],required:!1,skipCheck:!0},size:{type:null,required:!1},filter:{type:[Boolean,Object],required:!1},filterFields:{type:Array,required:!1},ignoreFilter:{type:Boolean,required:!1},searchTerm:{type:String,required:!1},class:{type:null,required:!1},ui:{type:null,required:!0},uiOverride:{type:null,required:!1},loop:{type:Boolean,required:!1},memoDependencies:{type:Array,required:!1},side:{type:null,required:!1},sideOffset:{type:Number,required:!1},sideFlip:{type:Boolean,required:!1},align:{type:null,required:!1},alignOffset:{type:Number,required:!1},alignFlip:{type:Boolean,required:!1},avoidCollisions:{type:Boolean,required:!1},collisionBoundary:{type:null,required:!1},collisionPadding:{type:[Number,Object],required:!1},arrowPadding:{type:Number,required:!1},hideShiftedArrow:{type:Boolean,required:!1},sticky:{type:String,required:!1},hideWhenDetached:{type:Boolean,required:!1},positionStrategy:{type:String,required:!1},updatePositionStrategy:{type:String,required:!1},disableUpdateOnLayoutShift:{type:Boolean,required:!1},prioritizePosition:{type:Boolean,required:!1},reference:{type:null,required:!1}},emits:[`update:searchTerm`,`escapeKeyDown`,`pointerDownOutside`,`focusOutside`,`interactOutside`,`closeAutoFocus`],setup(n,{emit:i}){let g=n,_=i,y=b(),{t:x,dir:C}=Br(),T=nt(),{filterGroups:D}=Nr(),A=c(``),M=t({get:()=>g.searchTerm??A.value,set:e=>{A.value=e,_(`update:searchTerm`,e)}}),N=m(()=>et(g.filter,{placeholder:x(`dropdownMenu.search`),variant:`none`})),F=ae(m(()=>g.portal)),I=q(ge(g,`sub`,`items`,`portal`,`labelKey`,`descriptionKey`,`checkedIcon`,`loadingIcon`,`externalIcon`,`size`,`filter`,`filterFields`,`ignoreFilter`,`searchTerm`,`class`,`ui`,`uiOverride`),_),ee=()=>se(y,[`default`]),[te,R]=Ze(),re=t(()=>C.value===`rtl`?T.ui.icons.chevronLeft:T.ui.icons.chevronRight),ie=t(()=>g.items?.length?ce(g.items)?g.items:[g.items]:[]),oe=e=>!!e.type&&[`label`,`separator`].includes(e.type),z=t(()=>{if(!g.filter||g.ignoreFilter||!M.value)return ie.value;let e=Array.isArray(g.filterFields)&&g.filterFields.length?g.filterFields:[g.labelKey];return D(ie.value,M.value,{fields:e,isStructural:oe})}),ue=t(()=>z.value.some(e=>e.some(e=>!oe(e))));return(t,i)=>(u(),d(S,null,[v(o(te),null,{default:P(({item:e,active:i,index:c})=>[a(t.$slots,e.slot||`item`,{item:e,index:c,ui:n.ui},()=>[a(t.$slots,e.slot?`${e.slot}-leading`:`item-leading`,{item:e,active:i,index:c,ui:n.ui},()=>[e.loading?(u(),s(B,{key:0,name:n.loadingIcon||o(T).ui.icons.loading,"data-slot":`itemLeadingIcon`,class:w(n.ui.itemLeadingIcon({class:[n.uiOverride?.itemLeadingIcon,e.ui?.itemLeadingIcon],color:e?.color,loading:!0}))},null,8,[`name`,`class`])):e.icon?(u(),s(B,{key:1,name:e.icon,"data-slot":`itemLeadingIcon`,class:w(n.ui.itemLeadingIcon({class:[n.uiOverride?.itemLeadingIcon,e.ui?.itemLeadingIcon],color:e?.color,active:i}))},null,8,[`name`,`class`])):e.avatar?(u(),s(Le,k({key:2,size:e.ui?.itemLeadingAvatarSize||n.uiOverride?.itemLeadingAvatarSize||n.ui.itemLeadingAvatarSize()},e.avatar,{"data-slot":`itemLeadingAvatar`,class:n.ui.itemLeadingAvatar({class:[n.uiOverride?.itemLeadingAvatar,e.ui?.itemLeadingAvatar],active:i})}),null,16,[`size`,`class`])):l(``,!0)]),o(H)(e,g.labelKey)||y[e.slot?`${e.slot}-label`:`item-label`]||o(H)(e,g.descriptionKey)||y[e.slot?`${e.slot}-description`:`item-description`]?(u(),d(`span`,{key:0,"data-slot":`itemWrapper`,class:w(n.ui.itemWrapper({class:[n.uiOverride?.itemWrapper,e.ui?.itemWrapper]}))},[O(`span`,{"data-slot":`itemLabel`,class:w(n.ui.itemLabel({class:[n.uiOverride?.itemLabel,e.ui?.itemLabel],active:i}))},[a(t.$slots,e.slot?`${e.slot}-label`:`item-label`,{item:e,active:i,index:c},()=>[r(E(o(H)(e,g.labelKey)),1)]),e.target===`_blank`&&n.externalIcon!==!1?(u(),s(B,{key:0,name:typeof n.externalIcon==`string`?n.externalIcon:o(T).ui.icons.external,"data-slot":`itemLabelExternalIcon`,class:w(n.ui.itemLabelExternalIcon({class:[n.uiOverride?.itemLabelExternalIcon,e.ui?.itemLabelExternalIcon],color:e?.color,active:i}))},null,8,[`name`,`class`])):l(``,!0)],2),o(H)(e,g.descriptionKey)||y[e.slot?`${e.slot}-description`:`item-description`]?(u(),d(`span`,{key:0,"data-slot":`itemDescription`,class:w(n.ui.itemDescription({class:[n.uiOverride?.itemDescription,e.ui?.itemDescription]}))},[a(t.$slots,e.slot?`${e.slot}-description`:`item-description`,{item:e,active:i,index:c},()=>[r(E(o(H)(e,g.descriptionKey)),1)])],2)):l(``,!0)],2)):l(``,!0),O(`span`,{"data-slot":`itemTrailing`,class:w(n.ui.itemTrailing({class:[n.uiOverride?.itemTrailing,e.ui?.itemTrailing]}))},[a(t.$slots,e.slot?`${e.slot}-trailing`:`item-trailing`,{item:e,active:i,index:c,ui:n.ui},()=>[e.children?.length?(u(),s(B,{key:0,name:re.value,"data-slot":`itemTrailingIcon`,class:w(n.ui.itemTrailingIcon({class:[n.uiOverride?.itemTrailingIcon,e.ui?.itemTrailingIcon],color:e?.color,active:i}))},null,8,[`name`,`class`])):e.kbds?.length?(u(),d(`span`,{key:1,"data-slot":`itemTrailingKbds`,class:w(n.ui.itemTrailingKbds({class:[n.uiOverride?.itemTrailingKbds,e.ui?.itemTrailingKbds]}))},[(u(!0),d(S,null,f(e.kbds,(t,r)=>(u(),s(xe,k({key:r,size:e.ui?.itemTrailingKbdsSize||n.uiOverride?.itemTrailingKbdsSize||n.ui.itemTrailingKbdsSize()},{ref_for:!0},typeof t==`string`?{value:t}:t),null,16,[`size`]))),128))],2)):l(``,!0)]),v(o($).ItemIndicator,{"as-child":``},{default:P(()=>[v(B,{name:n.checkedIcon||o(T).ui.icons.check,"data-slot":`itemTrailingIcon`,class:w(n.ui.itemTrailingIcon({class:[n.uiOverride?.itemTrailingIcon,e.ui?.itemTrailingIcon],color:e?.color}))},null,8,[`name`,`class`])]),_:2},1024)],2)])]),_:3}),v(o($).Portal,j(e(o(F))),{default:P(()=>[v(o(le),null,{default:P(()=>[(u(),s(h(n.sub?o($).SubContent:o($).Content),k({"data-slot":`content`,class:n.ui.content({class:[n.uiOverride?.content,g.class]})},o(I)),{default:P(()=>[n.filter?(u(),s(o($).Filter,{key:0,modelValue:M.value,"onUpdate:modelValue":i[1]||=e=>M.value=e,"as-child":``},{default:P(()=>[v(Qe,k({autofocus:``,autocomplete:`off`,size:n.size},N.value,{"data-slot":`input`,class:n.ui.input({class:n.uiOverride?.input}),onChange:i[0]||=L(()=>{},[`stop`])}),null,16,[`size`,`class`])]),_:1},8,[`modelValue`])):l(``,!0),a(t.$slots,`content-top`,{sub:n.sub??!1}),!M.value||ue.value?(u(),d(`div`,{key:1,role:`presentation`,"data-slot":`viewport`,class:w(n.ui.viewport({class:n.uiOverride?.viewport}))},[(u(!0),d(S,null,f(z.value,(e,r)=>(u(),s(o($).Group,{key:`group-${r}`,"data-slot":`group`,class:w(n.ui.group({class:n.uiOverride?.group}))},{default:P(()=>[(u(!0),d(S,null,f(e,(e,i)=>(u(),d(S,{key:`group-${r}-${i}`},[e.type===`label`?(u(),s(o($).Label,{key:0,"data-slot":`label`,class:w(n.ui.label({class:[n.uiOverride?.label,e.ui?.label,e.class]}))},{default:P(()=>[v(o(R),{item:e,index:i},null,8,[`item`,`index`])]),_:2},1032,[`class`])):e.type===`separator`?(u(),s(o($).Separator,{key:1,"data-slot":`separator`,class:w(n.ui.separator({class:[n.uiOverride?.separator,e.ui?.separator,e.class]}))},null,8,[`class`])):e?.children?.length?(u(),s(o($).Sub,{key:2,open:e.open,"default-open":e.defaultOpen},{default:P(()=>[v(o($).SubTrigger,{as:`button`,type:`button`,disabled:e.disabled,"text-value":o(H)(e,g.labelKey),"data-slot":`item`,class:w(n.ui.item({class:[n.uiOverride?.item,e.ui?.item,e.class],color:e?.color}))},{default:P(()=>[v(o(R),{item:e,index:i},null,8,[`item`,`index`])]),_:2},1032,[`disabled`,`text-value`,`class`]),v(Vr,k({sub:``,class:e.ui?.content,ui:n.ui,"ui-override":n.uiOverride,portal:n.portal,items:e.children,align:`start`,"align-offset":-4,"side-offset":3,"label-key":n.labelKey,"description-key":n.descriptionKey,"checked-icon":n.checkedIcon,"loading-icon":n.loadingIcon,"external-icon":n.externalIcon,size:n.size,filter:e.filter,"filter-fields":e.filterFields||n.filterFields,"ignore-filter":e.ignoreFilter??n.ignoreFilter},{ref_for:!0},e.content),p({_:2},[f(ee(),(e,n)=>({name:n,fn:P(e=>[a(t.$slots,n,k({ref_for:!0},e))])}))]),1040,[`class`,`ui`,`ui-override`,`portal`,`items`,`label-key`,`description-key`,`checked-icon`,`loading-icon`,`external-icon`,`size`,`filter`,`filter-fields`,`ignore-filter`])]),_:2},1032,[`open`,`default-open`])):e.type===`checkbox`?(u(),s(o($).CheckboxItem,{key:3,"model-value":e.checked,disabled:e.disabled,"text-value":o(H)(e,g.labelKey),"data-slot":`item`,class:w(n.ui.item({class:[n.uiOverride?.item,e.ui?.item,e.class],color:e?.color})),"onUpdate:modelValue":e.onUpdateChecked,onSelect:e.onSelect},{default:P(()=>[v(o(R),{item:e,index:i},null,8,[`item`,`index`])]),_:2},1032,[`model-value`,`disabled`,`text-value`,`class`,`onUpdate:modelValue`,`onSelect`])):(u(),s(ze,k({key:4,ref_for:!0},o(pe)(e),{custom:``}),{default:P(({active:t,...r})=>[v(o($).Item,{"as-child":``,disabled:e.disabled,"text-value":o(H)(e,g.labelKey),onSelect:e.onSelect},{default:P(()=>[v(ne,k({ref_for:!0},r,{"data-slot":`item`,class:n.ui.item({class:[n.uiOverride?.item,e.ui?.item,e.class],color:e?.color,active:t})}),{default:P(()=>[v(o(R),{item:e,active:t,index:i},null,8,[`item`,`active`,`index`])]),_:2},1040,[`class`])]),_:2},1032,[`disabled`,`text-value`,`onSelect`])]),_:2},1040))],64))),128))]),_:2},1032,[`class`]))),128))],2)):l(``,!0),M.value&&!ue.value?(u(),d(`div`,{key:2,"data-slot":`empty`,class:w(n.ui.empty({class:n.uiOverride?.empty}))},[a(t.$slots,`empty`,{searchTerm:M.value},()=>[r(E(o(x)(`dropdownMenu.noMatch`,{searchTerm:M.value})),1)])],2)):l(``,!0),a(t.$slots,`default`),a(t.$slots,`content-bottom`,{sub:n.sub??!1})]),_:3},16,[`class`]))]),_:3})]),_:3},16)],64))}},Hr={slots:{content:`min-w-32 max-h-(--reka-dropdown-menu-content-available-height) bg-default shadow-lg rounded-md ring ring-default overflow-hidden data-[state=open]:animate-[scale-in_100ms_var(--ease-out)] data-[state=closed]:animate-[scale-out_100ms_var(--ease-out)] origin-(--reka-dropdown-menu-content-transform-origin) flex flex-col`,input:`border-b border-default`,empty:`text-center text-muted`,viewport:`relative divide-y divide-default scroll-py-1 overflow-y-auto flex-1`,arrow:`fill-bg stroke-default`,group:`p-1 isolate`,label:`w-full flex items-center font-semibold text-highlighted`,separator:`-mx-1 my-1 h-px bg-border`,item:`group relative w-full flex items-start select-none outline-none before:absolute before:z-[-1] before:inset-px before:rounded-md data-disabled:cursor-not-allowed data-disabled:opacity-75`,itemLeadingIcon:`shrink-0`,itemLeadingAvatar:`shrink-0`,itemLeadingAvatarSize:``,itemTrailing:`ms-auto inline-flex gap-1.5 items-center`,itemTrailingIcon:`shrink-0`,itemTrailingKbds:`hidden lg:inline-flex items-center shrink-0`,itemTrailingKbdsSize:``,itemWrapper:`flex-1 flex flex-col text-start min-w-0`,itemLabel:`truncate`,itemDescription:`truncate text-muted`,itemLabelExternalIcon:`inline-block size-3 align-top text-dimmed`},variants:{color:{primary:``,neutral:``,success:``,warning:``,error:``,info:``},active:{true:{item:`text-highlighted before:bg-elevated`,itemLeadingIcon:`text-default`},false:{item:[`text-default data-highlighted:text-highlighted data-[state=open]:text-highlighted data-highlighted:before:bg-elevated/50 data-[state=open]:before:bg-elevated/50`,`transition-colors before:transition-colors`],itemLeadingIcon:[`text-dimmed group-data-highlighted:text-default group-data-[state=open]:text-default`,`transition-colors`]}},loading:{true:{itemLeadingIcon:`animate-spin`}},size:{xs:{label:`p-1 text-xs gap-1`,item:`p-1 text-xs gap-1`,empty:`p-2 text-xs`,itemLeadingIcon:`size-4`,itemLeadingAvatarSize:`3xs`,itemTrailingIcon:`size-4`,itemTrailingKbds:`gap-0.5`,itemTrailingKbdsSize:`sm`},sm:{label:`p-1.5 text-xs gap-1.5`,item:`p-1.5 text-xs gap-1.5`,empty:`p-2.5 text-xs`,itemLeadingIcon:`size-4`,itemLeadingAvatarSize:`3xs`,itemTrailingIcon:`size-4`,itemTrailingKbds:`gap-0.5`,itemTrailingKbdsSize:`sm`},md:{label:`p-1.5 text-sm gap-1.5`,item:`p-1.5 text-sm gap-1.5`,empty:`p-2.5 text-sm`,itemLeadingIcon:`size-5`,itemLeadingAvatarSize:`2xs`,itemTrailingIcon:`size-5`,itemTrailingKbds:`gap-0.5`,itemTrailingKbdsSize:`md`},lg:{label:`p-2 text-sm gap-2`,item:`p-2 text-sm gap-2`,empty:`p-3 text-sm`,itemLeadingIcon:`size-5`,itemLeadingAvatarSize:`2xs`,itemTrailingIcon:`size-5`,itemTrailingKbds:`gap-1`,itemTrailingKbdsSize:`md`},xl:{label:`p-2 text-base gap-2`,item:`p-2 text-base gap-2`,empty:`p-3 text-base`,itemLeadingIcon:`size-6`,itemLeadingAvatarSize:`xs`,itemTrailingIcon:`size-6`,itemTrailingKbds:`gap-1`,itemTrailingKbdsSize:`lg`}}},compoundVariants:[{color:`primary`,active:!1,class:{item:`text-primary data-highlighted:text-primary data-highlighted:before:bg-primary/10 data-[state=open]:before:bg-primary/10`,itemLeadingIcon:`text-primary/75 group-data-highlighted:text-primary group-data-[state=open]:text-primary`}},{color:`neutral`,active:!1,class:{item:`text-neutral data-highlighted:text-neutral data-highlighted:before:bg-neutral/10 data-[state=open]:before:bg-neutral/10`,itemLeadingIcon:`text-neutral/75 group-data-highlighted:text-neutral group-data-[state=open]:text-neutral`}},{color:`success`,active:!1,class:{item:`text-success data-highlighted:text-success data-highlighted:before:bg-success/10 data-[state=open]:before:bg-success/10`,itemLeadingIcon:`text-success/75 group-data-highlighted:text-success group-data-[state=open]:text-success`}},{color:`warning`,active:!1,class:{item:`text-warning data-highlighted:text-warning data-highlighted:before:bg-warning/10 data-[state=open]:before:bg-warning/10`,itemLeadingIcon:`text-warning/75 group-data-highlighted:text-warning group-data-[state=open]:text-warning`}},{color:`error`,active:!1,class:{item:`text-error data-highlighted:text-error data-highlighted:before:bg-error/10 data-[state=open]:before:bg-error/10`,itemLeadingIcon:`text-error/75 group-data-highlighted:text-error group-data-[state=open]:text-error`}},{color:`info`,active:!1,class:{item:`text-info data-highlighted:text-info data-highlighted:before:bg-info/10 data-[state=open]:before:bg-info/10`,itemLeadingIcon:`text-info/75 group-data-highlighted:text-info group-data-[state=open]:text-info`}},{color:`primary`,active:!0,class:{item:`text-primary before:bg-primary/10`,itemLeadingIcon:`text-primary`}},{color:`neutral`,active:!0,class:{item:`text-neutral before:bg-neutral/10`,itemLeadingIcon:`text-neutral`}},{color:`success`,active:!0,class:{item:`text-success before:bg-success/10`,itemLeadingIcon:`text-success`}},{color:`warning`,active:!0,class:{item:`text-warning before:bg-warning/10`,itemLeadingIcon:`text-warning`}},{color:`error`,active:!0,class:{item:`text-error before:bg-error/10`,itemLeadingIcon:`text-error`}},{color:`info`,active:!0,class:{item:`text-info before:bg-info/10`,itemLeadingIcon:`text-info`}}],defaultVariants:{size:`md`}},Ur={__name:`UDropdownMenu`,props:M({size:{type:null,required:!1},items:{type:null,required:!1},checkedIcon:{type:null,required:!1},loadingIcon:{type:null,required:!1},externalIcon:{type:[Boolean,String],required:!1,skipCheck:!0,default:!0},content:{type:Object,required:!1},arrow:{type:[Boolean,Object],required:!1},portal:{type:[Boolean,String],required:!1,skipCheck:!0,default:!0},labelKey:{type:null,required:!1,default:`label`},descriptionKey:{type:null,required:!1,default:`description`},filter:{type:[Boolean,Object],required:!1,default:!1},filterFields:{type:Array,required:!1},ignoreFilter:{type:Boolean,required:!1,default:!1},disabled:{type:Boolean,required:!1},class:{type:null,required:!1},ui:{type:Object,required:!1},defaultOpen:{type:Boolean,required:!1},open:{type:Boolean,required:!1},modal:{type:Boolean,required:!1,default:!0}},{searchTerm:{type:String,default:``},searchTermModifiers:{}}),emits:M([`update:open`],[`update:searchTerm`]),setup(n,{emit:r}){let i=n,c=r,d=b(),h=y(n,`searchTerm`,{type:String,default:``}),g=ie(`dropdownMenu`,i),_=nt(),x=$e(oe(g,`defaultOpen`,`open`,`modal`),c),S=m(()=>et(g.content,{side:`bottom`,sideOffset:8,collisionPadding:8})),C=m(()=>et(g.arrow,{rounded:!0})),T=()=>se(d,[`default`]),E=t(()=>he({extend:Hr,..._.ui?.dropdownMenu||{}})({size:g.size}));return(t,n)=>(u(),s(o(_r),j(e(o(x))),{default:P(({open:r})=>[d.default?(u(),s(o(jr),{key:0,"as-child":``,class:w(o(g).class),disabled:o(g).disabled},{default:P(()=>[a(t.$slots,`default`,{open:r})]),_:2},1032,[`class`,`disabled`])):l(``,!0),v(Vr,k({"search-term":h.value,"onUpdate:searchTerm":n[0]||=e=>h.value=e,class:E.value.content({class:[!d.default&&o(g).class,o(g).ui?.content]}),ui:E.value,"ui-override":o(g).ui},S.value,{items:o(g).items,portal:o(g).portal,"label-key":o(g).labelKey,"description-key":o(g).descriptionKey,"checked-icon":o(g).checkedIcon,"loading-icon":o(g).loadingIcon,"external-icon":o(g).externalIcon,size:o(g).size,filter:o(g).filter,"filter-fields":o(g).filterFields,"ignore-filter":o(g).ignoreFilter}),p({default:P(()=>[o(g).arrow?(u(),s(o(pr),k({key:0},C.value,{"data-slot":`arrow`,class:E.value.arrow({class:o(g).ui?.arrow})}),null,16,[`class`])):l(``,!0)]),_:2},[f(T(),(n,r)=>({name:r,fn:P(n=>[a(t.$slots,r,j(e(n)))])}))]),1040,[`search-term`,`class`,`ui`,`ui-override`,`items`,`portal`,`label-key`,`description-key`,`checked-icon`,`loading-icon`,`external-icon`,`size`,`filter`,`filter-fields`,`ignore-filter`])]),_:3},16))}},Wr={class:`offline-note`,role:`status`},Gr={class:`offline-note-text`},Kr=Object.assign(_({__name:`OfflineNote`,props:{label:{},at:{},dateStyle:{}},setup(e){let n=e,r=t(()=>n.label?n.at?`${n.label} · ${new Date(n.at).toLocaleString(st,{dateStyle:n.dateStyle||`short`,timeStyle:`short`})}`:n.label:ot.value?ut(`Lost connection to ${ot.value} — reconnecting…`,`Connexion à ${ot.value} perdue — reconnexion…`):ut(`Lost connection to the server — reconnecting…`,`Connexion au serveur perdue — reconnexion…`));return(e,t)=>{let n=B;return u(),d(`div`,Wr,[v(n,{name:`i-lucide-wifi-off`}),O(`span`,Gr,E(o(r)),1),(`netDown`in e?e.netDown:o(lt))&&!(`locked`in e?e.locked:o(at))?(u(),d(`button`,{key:0,type:`button`,class:`offline-retry`,onClick:t[0]||=(...t)=>(`retryEvents`in e?e.retryEvents:o(pt))&&(`retryEvents`in e?e.retryEvents:o(pt))(...t)},E((`t`in e?e.t:o(rt))(`Retry`)),1)):l(``,!0)])}}}),{__name:`OfflineNote`}),qr={claude:`i-herdr-claude-code`,codex:`i-herdr-codex`,omp:`i-herdr-omp`,gemini:`i-lucide-sparkles`,opencode:`i-lucide-code-xml`,kimi:`i-lucide-moon-star`},Jr=e=>e&&Object.hasOwn(qr,e)?qr[e]:null,Yr={class:`pill-source`},Xr={class:`pill-model`},Zr={key:0,class:`pill-effort`},Qr={key:1,class:`pill unknown`},$r=Object.assign(_({__name:`StatusPill`,props:{pane:{},kind:{type:Boolean},model:{type:Boolean},source:{}},setup(e){return(t,n)=>e.pane?(u(),d(`span`,{key:0,class:w([`pill`,(`statusKey`in t?t.statusKey:o(We))(e.pane)])},[n[3]||=O(`i`,null,null,-1),r(E((`statusLabel`in t?t.statusLabel:o(Fe))(e.pane)),1),e.source?(u(),d(S,{key:0},[n[0]||=O(`span`,{class:`sep`},`·`,-1),O(`span`,Yr,E(e.source),1)],64)):l(``,!0),e.kind&&e.pane.agent?(u(),d(S,{key:1},[n[1]||=O(`span`,{class:`sep`},`·`,-1),O(`span`,{class:w([`pill-kind`,e.pane.agent])},E(e.pane.agent),3)],64)):l(``,!0),e.model&&e.pane.model?(u(),d(S,{key:2},[n[2]||=O(`span`,{class:`sep`},`·`,-1),O(`span`,Xr,E(e.pane.model.label),1),e.pane.model.effort?(u(),d(`span`,Zr,E(e.pane.model.effort),1)):l(``,!0)],64)):l(``,!0)],2)):(u(),d(`span`,Qr,[n[4]||=O(`i`,null,null,-1),r(E((`t`in t?t.t:o(rt))(`Closed`)),1)]))}}),{__name:`StatusPill`}),ei=[`blocked`,`todo`,`ongoing`,`finished`];function ti(e){let t=dt(e);if(t===`blocked`)return`blocked`;let n=!!(e.restart&&e.restart.phase!==`failed`),r=!!(e.agent&&(e.status||`unknown`)===`unknown`&&e.pendingPrompt);return t===`working`||n||r?`ongoing`:`finished`}function ni(e,t){return t.done||e===`done`?`finished`:e===`blocked`?`blocked`:e===`doing`?`ongoing`:`todo`}function ri(e,t){if(e.resolved)return`finished`;let n=t.map(ti);return n.includes(`blocked`)?`blocked`:n.includes(`ongoing`)?`ongoing`:e.token===`waiting-on-you`?`blocked`:e.token===`ready-for-review`?`todo`:`ongoing`}var ii=[`blocked`,`ongoing`,`todo`,`finished`];function ai(e){let t=ii.length-1;for(let n of e)t=Math.min(t,ii.indexOf(n));return ii[t]}function oi(e,t){let n;return n=t||e===`done`?{todo:`todo`}:e===`blocked`?{todo:`todo`,ongoing:`unblock`,finished:`done`}:e===`doing`?{blocked:`block`,todo:`todo`,finished:`done`}:e===`backlog`?{blocked:`block`,ongoing:`launch`,finished:`done`}:e===`test`?{finished:`tested`}:e===`review`?{finished:`reviewed`}:e===`decide`?{}:{blocked:`block`,ongoing:`now`,finished:`done`},ei.flatMap(e=>{let t=n[e];return t?[{to:e,action:t}]:[]})}function si(e,t,n){return e===`launch`?qe(t,n):e===`unblock`?ve(t,n):e===`tested`?Oe(t,n):e===`reviewed`?Ye(t,n):Ne(e,t,n)}var ci=e=>!!(e.agent||e.restart&&e.restart.phase!==`failed`);function li(e,t,n,r=``){let i=n.filter(ci),a=`${t.toLowerCase()}/${e.id.toLowerCase()}`,o=i.filter(e=>e.hpThread===a);if(o.length||!e.agentName)return o;let s=i.filter(t=>!t.hpThread&&t.name===e.agentName),c=s.find(e=>(e.machine||``)===r)||s[0];return c?[c]:[]}function ui(e,t){let n=new Map(t.map(e=>[e.id,e])),r=[],i=new Set;for(let t of e||[]){let e=t.panes.map(e=>n.get(e)).find(e=>e!==void 0&&Xe(e));e&&(i.add(t.slug.toLowerCase()),r.push({key:t.key,slug:t.slug,machine:e.machine||``,project:t,coordinator:e,cards:[]}))}for(let e of t){let n=Xe(e)?ye(e):null;if(!n||i.has(n.toLowerCase()))continue;i.add(n.toLowerCase());let a=ke(t,n);r.push({key:`pane:${a.id}`,slug:n,machine:a.machine||``,project:null,coordinator:a,cards:[]})}let a=new Set,o=t.filter(ci);for(let e of r)a.add(e.coordinator.id);let s=(e,t)=>{let n=r.filter(e=>e.slug.toLowerCase()===t.toLowerCase());return n.find(t=>t.machine===(e.machine||``))||n[0]};for(let e of r){let t=e.project?.board;if(!t)continue;let n=e.coordinator,r=t=>{let r=li(t,e.slug,o.filter(t=>!a.has(t.id)&&s(t,e.slug)===e),e.machine);t.resolved&&(r=r.filter(e=>ti(e)===`finished`));for(let e of r)a.add(e.id);return{kind:`thread`,key:`${e.key}|${t.id}`,column:ri(t,r),segment:e.key,project:e.slug,coordinator:n,thread:t,panes:r}};e.cards.push(...t.open.map(r));let i=new Map;for(let r of Ee(t,{doing:``,done:``}))for(let t of r.tasks){let a=`${r.key}|${t.text}`,o=i.get(a)||0;i.set(a,o+1),e.cards.push({kind:`task`,key:`${e.key}|${a}|${o}`,column:ni(r.kind,t),segment:e.key,project:e.slug,coordinator:n,task:t,list:r.kind,listTitle:r.title,moves:oi(r.kind,t.done)})}e.cards.push(...t.resolved.map(r))}let c=[];for(let e of o){if(a.has(e.id))continue;let t=ye(e),n={kind:`agent`,key:`pane:${e.id}`,column:ti(e),segment:``,project:t,pane:e};if(!t){c.push(n);continue}let i=s(e,t);i||(i={key:`slug:${t.toLowerCase()}`,slug:t,machine:e.machine||``,project:null,coordinator:null,cards:[]},r.push(i)),i.cards.push({...n,segment:i.key,project:i.slug})}r.sort((e,t)=>e.slug.toLowerCase().localeCompare(t.slug.toLowerCase())||e.machine.localeCompare(t.machine));let l=[];for(let e of r){if(e.coordinator){let t={blocked:0,todo:0,ongoing:0,finished:0};for(let n of e.cards)t[n.column]++;l.push({kind:`project`,key:`project:${e.key}`,segment:e.key,project:e.slug,coordinator:e.coordinator,column:ai([ti(e.coordinator),...e.cards.map(e=>e.column)]),board:e.project?.board||null,resolvedTotal:e.project?.resolvedTotal??e.project?.board?.resolved.length??0,stale:!!e.project?.stale,error:e.project?.error||``,counts:t})}l.push(...e.cards)}return[...l,...c]}function di(e,t){let n=new Map,r=0;return{cards:e.filter(e=>{if(e.column!==`finished`||e.kind!==`thread`&&e.kind!==`task`)return!0;let i=`${e.segment}|${e.kind}`,a=n.get(i)||0;return n.set(i,a+1),a<t||(r++,!1)}),hidden:r}}var fi=c(null),pi=c(!1),mi=c(null);function hi(e,t,n){return li(n,t,ct.value.panes,e.machine||``)[0]}var gi=0;async function _i(e,t){if(!t.report)return ft(rt(`No report for this thread`),!0);let n=++gi;mi.value=t.id;try{let r=await Je(e,t.id);if(n!==gi)return;fi.value={thread:t,html:Ke(r.text),truncated:r.truncated,coordinator:e},pi.value=!0,it()}catch(e){n===gi&&ft(e.message,!0)}finally{n===gi&&(mi.value=null)}}function vi(e,t,n){let r=hi(e,t,n);r?(it(),tt(R(r.id))):n.report?_i(e.id,n):ft(rt(`This thread’s agent was not found`),!0)}export{cn as C,Lt as D,Yt as E,vt as O,Qn as S,qt as T,Br as _,mi as a,Mr as b,si as c,li as d,$r as f,zr as g,Ur as h,fi as i,ui as l,Kr as m,_i as n,pi as o,Jr as p,hi as r,ei as s,vi as t,di as u,Rr as v,$t as w,fr as x,Lr as y};
|