scrum-skills 0.2.5 → 0.2.6
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/.agents/skills/scrum-planning/references/schema.md +84 -1
- package/.agents/skills/scrum-report/SKILL.md +1 -0
- package/.agents/skills/scrum-tdd/SKILL.md +45 -0
- package/README.md +20 -1
- package/assets/board/200.html +1 -1
- package/assets/board/404.html +1 -1
- package/assets/board/_nuxt/{RJtjdZeG.js → 13F3FZJq.js} +1 -1
- package/assets/board/_nuxt/{DsNkyZPc.js → 4G46xON2.js} +1 -1
- package/assets/board/_nuxt/{Dzd1U0TD.js → 7DnHvJyr.js} +1 -1
- package/assets/board/_nuxt/{z9IMa9Iy.js → B8d-LQbt.js} +3 -3
- package/assets/board/_nuxt/{BkjUg7GC.js → BGRxZnwm.js} +1 -1
- package/assets/board/_nuxt/{Y5b2rXjB.js → BMRYIH0I.js} +1 -1
- package/assets/board/_nuxt/Bk5o5EMW.js +1 -0
- package/assets/board/_nuxt/{DNMF9lr0.js → BsNk4K6P.js} +1 -1
- package/assets/board/_nuxt/BtzBJuQU.js +1 -0
- package/assets/board/_nuxt/{DwcwzwSx.js → BvwhGSdZ.js} +1 -1
- package/assets/board/_nuxt/{d-5IhxZm.js → C4MZsmn0.js} +1 -1
- package/assets/board/_nuxt/{oIa7syc0.js → C7AVymkF.js} +1 -1
- package/assets/board/_nuxt/{DG3IySrP.js → C7wdFLdw.js} +1 -1
- package/assets/board/_nuxt/{CUnX_QKi.js → C8xxmt66.js} +1 -1
- package/assets/board/_nuxt/{CD0uJuyA.js → CB66hjP7.js} +1 -1
- package/assets/board/_nuxt/{D8Bpf7sE.js → CNCQ_RRC.js} +1 -1
- package/assets/board/_nuxt/CSF_x8S0.js +1 -0
- package/assets/board/_nuxt/CcCIS_4Q.js +1 -0
- package/assets/board/_nuxt/{9qnowzZi.js → CnWxhsmi.js} +1 -1
- package/assets/board/_nuxt/{DmKZi-Wo.js → Cp9-r9Yz.js} +1 -1
- package/assets/board/_nuxt/{Co0ISufR.js → CqT7Crsj.js} +49 -49
- package/assets/board/_nuxt/{DFuirznt.js → CqhzGRpQ.js} +1 -1
- package/assets/board/_nuxt/{CdvimHoq.js → CurAl_-I.js} +1 -1
- package/assets/board/_nuxt/{CjRYYbsC.js → D2zrOcWn.js} +1 -1
- package/assets/board/_nuxt/{CHZ_IHOa.js → DCRsKQUZ.js} +1 -1
- package/assets/board/_nuxt/{CBhhj6QT.js → DDF25zwT.js} +1 -1
- package/assets/board/_nuxt/DIAPFfZA.js +2 -0
- package/assets/board/_nuxt/{Bu400pfa.js → DMZvQhvU.js} +1 -1
- package/assets/board/_nuxt/{-8mcJ5uq.js → DNJ5OliG.js} +1 -1
- package/assets/board/_nuxt/{CvFE1CeN.js → DPeEWyPC.js} +1 -1
- package/assets/board/_nuxt/DZXukN7r.js +6 -0
- package/assets/board/_nuxt/{CyAQx5wv.js → D_dkfQp-.js} +1 -1
- package/assets/board/_nuxt/{BSov4ehT.js → Dp5MbiLe.js} +1 -1
- package/assets/board/_nuxt/{DDA06Sqv.js → FxbXzpZ6.js} +1 -1
- package/assets/board/_nuxt/{DaqxYsbV.js → HUproyl7.js} +1 -1
- package/assets/board/_nuxt/{C9MiPNdJ.js → J9NS0_M_.js} +1 -1
- package/assets/board/_nuxt/builds/latest.json +1 -1
- package/assets/board/_nuxt/builds/meta/ceebd758-b616-48d8-872b-0de05659de19.json +1 -0
- package/assets/board/_nuxt/burndown.Do6IbM6o.css +1 -0
- package/assets/board/_nuxt/{KhBLkIKl.js → dI2CahwK.js} +1 -1
- package/assets/board/_nuxt/{entry.CTKz4ouw.css → entry.DUA8YVRM.css} +1 -1
- package/assets/board/_nuxt/epics.Dmessplu.css +1 -0
- package/assets/board/_nuxt/gantt.Dmp00GUo.css +1 -0
- package/assets/board/_nuxt/last-change.CaSxA-Z0.css +1 -0
- package/assets/board/_nuxt/milestones.U0xKCsEo.css +1 -0
- package/assets/board/_nuxt/pages.Dbj2IVk8.css +1 -0
- package/assets/board/_nuxt/{BuuAjxsV.js → rV_oonhV.js} +1 -1
- package/assets/board/_nuxt/x-PrcVk4.js +1 -0
- package/assets/board/burndown/index.html +1 -1
- package/assets/board/epics/index.html +1 -1
- package/assets/board/gantt/index.html +1 -1
- package/assets/board/index.html +1 -1
- package/assets/board/last-change/index.html +1 -0
- package/assets/board/milestones/index.html +1 -1
- package/bin/scrum-skills.mjs +4 -1
- package/package.json +1 -1
- package/templates/AGENTS.md +15 -2
- package/tools/last-change.mjs +326 -0
- package/tools/projects.mjs +20 -1
- package/tools/validate.mjs +124 -0
- package/assets/board/_nuxt/DhhR1iR4.js +0 -1
- package/assets/board/_nuxt/HrhQecsY.js +0 -6
- package/assets/board/_nuxt/builds/meta/a2ba436a-230e-43f9-884e-0a5d37f5ba22.json +0 -1
- package/assets/board/_nuxt/burndown.BCLMmigw.css +0 -1
- package/assets/board/_nuxt/epics.B4-eK1Py.css +0 -1
- package/assets/board/_nuxt/gRdnZpJw.js +0 -1
- package/assets/board/_nuxt/gantt.DATOqoZf.css +0 -1
- package/assets/board/_nuxt/l05SqxhY.js +0 -1
- package/assets/board/_nuxt/milestones.z-UuT44X.css +0 -1
- package/assets/board/_nuxt/pages.YYGvroeE.css +0 -1
- package/assets/board/_nuxt/qDn8FnYE.js +0 -1
- package/assets/board/_nuxt/uGmbQYdY.js +0 -1
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{D as e,E as t,Ht as n,On as r,T as i,Zn as a,_ as o,b as s,bt as c,ct as l,er as ee,g as u,it as d,k as te,mt as f,o as p,qt as m,tr as h,tt as ne,u as re,v as g,vn as _,y as v}from"./DZo3dYLJ.js";import{w as ie}from"./51OWHj8c.js";import{t as ae}from"./BJW3UkS7.js";import{t as oe}from"./D2zrOcWn.js";import{O as y,i as b,s as se}from"#entry";var ce={class:`rule-ic`},le={key:0},ue={class:`rule-state`},de={key:1,class:`lc-hist-bar`},fe={class:`hist-badge`},pe={class:`hist-readonly mono`},me=[`title`,`disabled`,`onClick`],he={key:2,class:`card lc-empty`},ge={class:`em-ic`},_e={key:3,class:`lc`},ve={class:`lc-hero`},ye={class:`hero-body`},be={class:`hero-kicker`},xe={class:`k-date mono`},Se={key:0,class:`k-time mono`},Ce={key:1,class:`k-today`},we=[`title`],Te={class:`hero-title`},Ee={key:0,class:`hero-sum`},De={class:`hero-meta`},Oe={class:`hero-aside`},ke={class:`ring-in`},Ae={class:`card sec`},je={class:`s-hd`},Me={class:`s-ic`},x={class:`s-count`},Ne={key:0,class:`sec-empty dim`},Pe={key:1,class:`tbl-wrap`},Fe={class:`tbl lc-tbl`},Ie={class:`ent`},Le={class:`ent-top`},Re={key:0,class:`ent-title`},ze={key:0,class:`flow mono`},Be={class:`fl`},Ve={class:`fl`},He={class:`cell-note`},Ue={class:`chips`},We=[`title`],Ge={key:0,class:`dim`},Ke={class:`two`},qe={class:`card sec`},Je={class:`s-hd`},Ye={class:`s-ic`},Xe={class:`s-count`},Ze={class:`sec-bd lc-extras`},Qe={key:0,class:`dim`},$e={class:`x-body`},et={class:`x-title`},tt={key:0,class:`x-detail`},nt={key:1,class:`chips x-files`},rt=[`title`],it={class:`card sec`},at={class:`s-hd`},ot={class:`s-ic tone-mint`},st={class:`s-count`},ct={class:`sec-bd lc-checks`},lt={key:0,class:`dim`},ut={class:`v-body`},dt={class:`v-what`},ft={key:0,class:`v-detail`},pt={key:0,class:`card sec lc-access`},mt={class:`s-hd`},ht={class:`s-ic tone-sky`},gt={class:`sec-bd acc-grid`},_t={key:0,class:`acc-col`},vt={class:`u-head`},yt=[`href`],bt={class:`u-label`},xt=[`onClick`],St={class:`u-url mono`},Ct={key:0,class:`u-note`},wt={key:1,class:`acc-col`},Tt={class:`a-head`},Et={key:0,class:`a-role`},Dt={class:`a-user mono`},Ot=[`onClick`],kt={class:`a-line`},At={key:0,class:`a-pass mono`},jt={key:1,class:`a-none dim`},Mt={key:0,class:`a-note`},Nt={key:1,class:`card sec lc-prep`},Pt={class:`s-hd`},Ft={class:`s-ic tone-amber`},It={class:`s-count`},Lt={class:`steps`},Rt={class:`step-bd`},zt={class:`step-text`},Bt={key:0,class:`cmd-row`},Vt={class:`cmd mono`},Ht=[`onClick`],Ut={key:1,class:`step-note`},Wt={class:`lc-sc-sec`},Gt={class:`s-hd solo`},Kt={class:`s-ic tone-mint`},qt={class:`s-count`},Jt={key:0,class:`dim sec-empty`},Yt={key:1,class:`lc-sc-grid`},Xt={class:`sc-hd`},S={class:`sc-id mono`},Zt={class:`sc-title`},Qt={key:0,class:`sc-body`},$t={class:`lc-sc-steps`},en={class:`sc-acc`},tn={class:`sc-acc-h`},nn={class:`sc-acc-t`},rn={key:0,class:`sc-foot`},an={key:0},on={key:1,class:`sc-ids`},sn={class:`two`},cn={class:`card sec`},ln={class:`s-hd`},un={class:`s-ic`},dn={class:`sec-bd`},fn={key:0,class:`dim`},pn={key:1,class:`lc-notes`},mn={key:0,class:`card sec sec-warn`},hn={class:`s-hd`},gn={class:`s-ic`},_n={class:`s-count`},vn={class:`sec-bd`},yn={class:`lc-notes warn`},bn={class:`lc-hist`,role:`dialog`,"aria-modal":`true`,"aria-labelledby":`lc-hist-title`},xn={class:`lc-hist-hd`},Sn={class:`lc-hist-hd-txt`},Cn={class:`lc-hist-sub`},wn={key:0,class:`lc-hist-err`},Tn={key:1,class:`lc-hist-hint dim`},En={key:2,class:`lc-hist-list`},Dn=[`disabled`,`onClick`],On={class:`hist-item-main`},kn={class:`mono`},An={class:`mono hist-item-hash`},jn={key:0,class:`lc-hist-hint dim`},Mn={class:`lc-hist-ft`},C=b(te({__name:`last-change`,setup(te){let{lastChange:b,lastChangeGit:C}=se(),w=_(null),T=u(()=>w.value?.doc?.lastChange??b.value),E=u(()=>C.value),D=_([]),O=_(!1),k=_(!1),A=_(``),j=_(!1),Nn=u(()=>D.value.slice(0,6));async function Pn(){if(!k.value){k.value=!0,A.value=``;try{let e=await y(`/api/agile/last-change/history`);D.value=e.entries??[]}catch(e){A.value=e?.data?.error||e?.message||`读不到 git 历史`}finally{k.value=!1}}}async function M(){O.value=!0,D.value.length||await Pn()}async function N(e){if(!j.value){j.value=!0,A.value=``;try{w.value=await y(`/api/agile/last-change/revision`,{query:{hash:e.hash}}),O.value=!1,window.scrollTo({top:0,behavior:`smooth`})}catch(e){A.value=e?.data?.error||e?.message||`取不到这个版本`}finally{j.value=!1}}}function Fn(){w.value=null,window.scrollTo({top:0,behavior:`smooth`})}let P=_(null);n(w,async()=>{await ne(),P.value?.querySelector(`.hist-tab.on`)?.scrollIntoView({inline:`nearest`,block:`nearest`})});function F(e){e.key===`Escape`&&O.value&&(O.value=!1)}l(()=>window.addEventListener(`keydown`,F)),d(()=>window.removeEventListener(`keydown`,F));let I={committed:{text:`已提交`,next:`下次写入整份覆盖`,tone:`ok`},dirty:{text:`未提交改动`,next:`下次写入会合并`,tone:`warn`},untracked:{text:`未纳入版本库`,next:`下次写入会合并`,tone:`warn`},"no-git":{text:`非 git 仓库`,next:`按未提交处理,会合并`,tone:`neutral`},missing:{text:`尚未生成`,next:`下次直接写入`,tone:`neutral`}},L=u(()=>I[E.value?.state??`missing`]??I.missing),In=u(()=>(T.value?.mergedFrom?.length??0)+1),Ln=u(()=>(T.value?.mergedFrom??[]).map(e=>`${e.at??``} ${e.title??``}`.trim()).filter(Boolean).join(`
|
|
2
|
+
`)),Rn={added:`新增`,updated:`状态变更`,removed:`移除`},zn={story:`故事`,task:`任务`},Bn={pass:`通过`,fail:`失败`,partial:`部分`,skipped:`未跑`},Vn={pass:`i-lucide-check`,fail:`i-lucide-x`,partial:`i-lucide-minus`,skipped:`i-lucide-minus`},R=u(()=>T.value?.changes??[]),z=u(()=>T.value?.extras??[]),B=u(()=>T.value?.verification??[]),V=u(()=>T.value?.scenarios??[]),H=u(()=>T.value?.preparation??[]),U=u(()=>T.value?.notes??[]),W=u(()=>T.value?.open??[]),G=u(()=>T.value?.access?.urls??[]),K=u(()=>T.value?.access?.accounts??[]),q=u(()=>B.value.filter(e=>e.result===`pass`).length),J=u(()=>B.value.length>0&&q.value===B.value.length),Hn=u(()=>B.value.length?Math.round(q.value/B.value.length*100):0),Un=u(()=>[...new Set([...R.value.flatMap(e=>e.files??[]),...z.value.flatMap(e=>e.files??[])])]),Wn=e=>e.kind===`story`?e.id:e.id.replace(/-T\d+$/,``),Y=new Date,Gn=`${Y.getFullYear()}-${String(Y.getMonth()+1).padStart(2,`0`)}-${String(Y.getDate()).padStart(2,`0`)}`,X=u(()=>(T.value?.at??``).slice(0,10)),Z=u(()=>{let e=(T.value?.at??``).slice(10).replace(/^[T ]/,``);return/^\d{2}:\d{2}/.test(e)?e:``}),Kn=u(()=>!!X.value&&X.value===Gn),Q=_(``);async function $(e,t){try{await navigator.clipboard.writeText(e),Q.value=t,setTimeout(()=>{Q.value===t&&(Q.value=``)},1600)}catch{Q.value=``}}return(n,l)=>{let u=oe,d=ae;return f(),s(p,null,[r(w)?(f(),s(`div`,de,[o(`span`,fe,[e(u,{name:`i-lucide-history`,class:`hist-badge-ic`}),l[5]||=t(`历史版本`,-1)]),o(`span`,pe,[t(`只读 · `+h(r(w).short),1),r(w).date?(f(),s(p,{key:0},[t(` · `+h(r(w).date),1)],64)):v(``,!0)]),o(`div`,{ref_key:`tabsRef`,ref:P,class:`lc-hist-tabs`},[o(`button`,{class:`hist-tab`,onClick:Fn},`最新`),(f(!0),s(p,null,c(r(Nn),e=>(f(),s(`button`,{key:e.hash,class:a([`hist-tab`,{on:r(w)?.hash===e.hash}]),title:`${e.date} ${e.subject??``}`,disabled:r(j),onClick:t=>N(e)},[t(h(e.short),1),o(`i`,null,h(e.date.slice(5,16)),1)],10,me))),128))],512),o(`button`,{class:`rule-btn`,onClick:M},[e(u,{name:`i-lucide-list`,class:`rule-btn-ic`}),l[6]||=t(`选择历史…`,-1)])])):(f(),s(`div`,{key:0,class:a([`lc-rule`,`is-${r(L).tone}`])},[o(`span`,ce,[e(u,{name:`i-lucide-git-branch`,class:`rule-svg`})]),l[4]||=o(`p`,{class:`rule-text`},[o(`b`,null,`写入规则`),t(`这个文件`),o(`b`,null,`已提交`),t(`才整份覆盖;`),o(`b`,null,`未提交`),t(`时写工具会把本次交付并进旧记录, 不会冲掉还没入库的那一次。 `)],-1),o(`button`,{class:`rule-btn`,onClick:M},[e(u,{name:`i-lucide-history`,class:`rule-btn-ic`}),l[3]||=t(`查看历史 `,-1),r(D).length?(f(),s(`i`,le,h(r(D).length),1)):v(``,!0)]),o(`span`,ue,[o(`b`,null,[t(h(r(L).text),1),r(E)?.state===`committed`&&r(E).hash?(f(),s(p,{key:0},[t(` · `+h(r(E).hash),1)],64)):v(``,!0)]),o(`i`,null,h(r(L).next),1)])],2)),r(T)?(f(),s(`div`,_e,[o(`header`,ve,[o(`div`,ye,[o(`p`,be,[l[8]||=o(`span`,{class:`k-dot`},null,-1),l[9]||=t(`最近一次交付 `,-1),l[10]||=o(`span`,{class:`k-sep`},null,-1),o(`span`,xe,h(r(X)),1),r(Z)?(f(),s(`span`,Se,h(r(Z)),1)):v(``,!0),r(Kn)?(f(),s(`span`,Ce,`今天`)):v(``,!0),r(T).merged?(f(),s(`span`,{key:2,class:`k-merged`,title:r(Ln)},`合并记录 · `+h(r(In))+` 次交付`,9,we)):v(``,!0)]),o(`h2`,Te,h(r(T).title),1),r(T).summary?(f(),s(`p`,Ee,h(r(T).summary),1)):v(``,!0),o(`div`,De,[o(`span`,null,[o(`b`,null,h(r(R).length),1),l[11]||=t(` 处变更`,-1)]),l[16]||=o(`i`,{class:`meta-sep`},null,-1),o(`span`,null,[o(`b`,null,h(r(Un).length),1),l[12]||=t(` 个文件`,-1)]),l[17]||=o(`i`,{class:`meta-sep`},null,-1),o(`span`,null,[o(`b`,null,h(r(V).length),1),l[13]||=t(` 条测试场景`,-1)]),r(z).length?(f(),s(p,{key:0},[l[15]||=o(`i`,{class:`meta-sep`},null,-1),o(`span`,null,[o(`b`,null,h(r(z).length),1),l[14]||=t(` 项额外工作`,-1)])],64)):v(``,!0)])]),o(`div`,Oe,[o(`div`,{class:a([`ring`,{warn:r(B).length&&!r(J)}]),style:ee({"--pct":r(Hn)})},[o(`div`,ke,[o(`b`,null,[t(h(r(q)),1),o(`small`,null,`/`+h(r(B).length||0),1)]),o(`span`,null,h(r(B).length?r(J)?`验证全通过`:`有未通过项`:`无验证记录`),1)])],6)])]),o(`section`,Ae,[o(`div`,je,[o(`span`,Me,[e(u,{name:`i-lucide-git-commit-horizontal`,class:`s-svg`})]),l[18]||=o(`h2`,{class:`s-title`},`变更清单`,-1),o(`span`,x,h(r(R).length),1),l[19]||=o(`span`,{class:`s-hint`},`故事与任务各自是新增还是状态变更、动过哪些文件`,-1)]),r(R).length?(f(),s(`div`,Pe,[o(`table`,Fe,[l[21]||=o(`colgroup`,null,[o(`col`,{class:`c-ent`}),o(`col`,{class:`c-act`}),o(`col`),o(`col`,{class:`c-file`})],-1),l[22]||=o(`thead`,null,[o(`tr`,null,[o(`th`,null,`条目`),o(`th`,null,`变更`),o(`th`,null,`变更内容`),o(`th`,null,`涉及文件`)])],-1),o(`tbody`,null,[(f(!0),s(p,null,c(r(R),(n,r)=>(f(),s(`tr`,{key:`${n.kind}-${n.id}-${r}`},[o(`td`,null,[o(`div`,Ie,[o(`div`,Le,[o(`span`,{class:a([`kind`,`kind-${n.kind}`])},h(zn[n.kind]??n.kind),3),e(d,{to:`/story/${Wn(n)}`,class:`ent-id mono`},{default:m(()=>[t(h(n.id),1)]),_:2},1032,[`to`])]),n.title?(f(),s(`p`,Re,h(n.title),1)):v(``,!0)])]),o(`td`,null,[o(`span`,{class:a([`act`,`act-${n.action}`])},h(Rn[n.action]??n.action),3),n.from||n.to?(f(),s(`p`,ze,[o(`span`,Be,h(n.from??`—`),1),l[20]||=o(`i`,null,`→`,-1),o(`span`,Ve,h(n.to??`—`),1)])):v(``,!0)]),o(`td`,He,h(n.note??`—`),1),o(`td`,null,[o(`div`,Ue,[(f(!0),s(p,null,c(n.files,e=>(f(),s(`span`,{key:e,class:`fchip mono`,title:e},h(e),9,We))),128)),n.files?.length?v(``,!0):(f(),s(`span`,Ge,`—`))])])]))),128))])])])):(f(),s(`p`,Ne,`这次没有涉及任何故事或任务。`))]),o(`div`,Ke,[o(`section`,qe,[o(`div`,Je,[o(`span`,Ye,[e(u,{name:`i-lucide-sparkles`,class:`s-svg`})]),l[23]||=o(`h2`,{class:`s-title`},`额外做的事`,-1),o(`span`,Xe,h(r(z).length),1)]),o(`div`,Ze,[r(z).length?v(``,!0):(f(),s(`p`,Qe,`没有计划外的改动。`)),(f(!0),s(p,null,c(r(z),(e,t)=>(f(),s(`article`,{key:t,class:`x-item`},[l[24]||=o(`span`,{class:`x-mark`},null,-1),o(`div`,$e,[o(`p`,et,h(e.title),1),e.detail?(f(),s(`p`,tt,h(e.detail),1)):v(``,!0),e.files?.length?(f(),s(`div`,nt,[(f(!0),s(p,null,c(e.files,e=>(f(),s(`span`,{key:e,class:`fchip mono`,title:e},h(e),9,rt))),128))])):v(``,!0)])]))),128))])]),o(`section`,it,[o(`div`,at,[o(`span`,ot,[e(u,{name:`i-lucide-badge-check`,class:`s-svg`})]),l[25]||=o(`h2`,{class:`s-title`},`验证结果`,-1),o(`span`,st,h(r(q))+`/`+h(r(B).length),1)]),o(`div`,ct,[r(B).length?v(``,!0):(f(),s(`p`,lt,`这次没有留下验证记录。`)),(f(!0),s(p,null,c(r(B),(t,n)=>(f(),s(`div`,{key:n,class:`v-item`},[o(`span`,{class:a([`v-ic`,`v-${t.result}`])},[e(u,{name:Vn[t.result]??`i-lucide-circle`,class:`v-svg`},null,8,[`name`])],2),o(`div`,ut,[o(`p`,dt,h(t.what),1),t.detail?(f(),s(`p`,ft,h(t.detail),1)):v(``,!0)]),o(`span`,{class:a([`v-res`,`v-${t.result}`])},h(Bn[t.result]??t.result),3)]))),128))])])]),r(G).length||r(K).length?(f(),s(`section`,pt,[o(`div`,mt,[o(`span`,ht,[e(u,{name:`i-lucide-key-round`,class:`s-svg`})]),l[26]||=o(`h2`,{class:`s-title`},`调试入口与账号`,-1),l[27]||=o(`span`,{class:`s-hint`},`照着这一栏就能自己跑起来点一遍`,-1)]),o(`div`,gt,[r(G).length?(f(),s(`div`,_t,[l[28]||=o(`p`,{class:`micro`},`访问地址`,-1),(f(!0),s(p,null,c(r(G),(n,i)=>(f(),s(`div`,{key:i,class:`u-item`},[o(`div`,vt,[o(`a`,{href:n.url,target:`_blank`,rel:`noreferrer`,class:`u-link`},[o(`span`,bt,h(n.label??`入口`),1),e(u,{name:`i-lucide-arrow-up-right`,class:`u-go`})],8,yt),o(`button`,{class:a([`cpy`,{ok:r(Q)===`url-${i}`}]),onClick:e=>$(n.url,`url-${i}`)},[e(u,{name:r(Q)===`url-${i}`?`i-lucide-check`:`i-lucide-copy`,class:`cpy-ic`},null,8,[`name`]),t(` `+h(r(Q)===`url-${i}`?`已复制`:`复制`),1)],10,xt)]),o(`p`,St,h(n.url),1),n.note?(f(),s(`p`,Ct,h(n.note),1)):v(``,!0)]))),128))])):v(``,!0),r(K).length?(f(),s(`div`,wt,[l[30]||=o(`p`,{class:`micro`},`账号密码`,-1),(f(!0),s(p,null,c(r(K),(n,i)=>(f(),s(`div`,{key:i,class:`a-item`},[o(`div`,Tt,[n.role?(f(),s(`span`,Et,h(n.role),1)):v(``,!0),o(`span`,Dt,h(n.username),1),o(`button`,{class:a([`cpy`,{ok:r(Q)===`acc-${i}`}]),onClick:e=>$(n.password?`账号:${n.username}\n密码:${n.password}`:n.username,`acc-${i}`)},[e(u,{name:r(Q)===`acc-${i}`?`i-lucide-check`:`i-lucide-copy`,class:`cpy-ic`},null,8,[`name`]),t(` `+h(r(Q)===`acc-${i}`?`已复制`:`复制`),1)],10,Ot)]),o(`div`,kt,[l[29]||=o(`span`,{class:`a-key`},`密码`,-1),n.password?(f(),s(`span`,At,h(n.password),1)):(f(),s(`span`,jt,`无密码 / 走单点登录`))]),n.note?(f(),s(`p`,Mt,h(n.note),1)):v(``,!0)]))),128))])):v(``,!0)])])):v(``,!0),r(H).length?(f(),s(`section`,Nt,[o(`div`,Pt,[o(`span`,Ft,[e(u,{name:`i-lucide-terminal-square`,class:`s-svg`})]),l[31]||=o(`h2`,{class:`s-title`},`测试前准备`,-1),o(`span`,It,h(r(H).length),1),l[32]||=o(`span`,{class:`s-hint`},`按顺序做完这些再开始点,命令可直接复制`,-1)]),o(`ol`,Lt,[(f(!0),s(p,null,c(r(H),(n,i)=>(f(),s(`li`,{key:i},[o(`div`,Rt,[o(`p`,zt,h(n.step),1),n.command?(f(),s(`div`,Bt,[o(`code`,Vt,h(n.command),1),o(`button`,{class:a([`cpy`,{ok:r(Q)===`cmd-${i}`}]),onClick:e=>$(n.command??``,`cmd-${i}`)},[e(u,{name:r(Q)===`cmd-${i}`?`i-lucide-check`:`i-lucide-copy`,class:`cpy-ic`},null,8,[`name`]),t(` `+h(r(Q)===`cmd-${i}`?`已复制`:`复制`),1)],10,Ht)])):v(``,!0),n.note?(f(),s(`p`,Ut,h(n.note),1)):v(``,!0)])]))),128))])])):v(``,!0),o(`section`,Wt,[o(`div`,Gt,[o(`span`,Kt,[e(u,{name:`i-lucide-flask-conical`,class:`s-svg`})]),l[33]||=o(`h2`,{class:`s-title`},`测试场景`,-1),o(`span`,qt,h(r(V).length),1),l[34]||=o(`span`,{class:`s-hint`},`一条一段:照着步骤走,末尾那句就是验收标准`,-1)]),r(V).length?(f(),s(`div`,Yt,[(f(!0),s(p,null,c(r(V),(n,r)=>(f(),s(`article`,{key:n.id??r,class:`sc lc-sc`},[o(`header`,Xt,[o(`span`,S,h(n.id??`TC-${r+1}`),1),o(`h3`,Zt,h(n.title),1)]),n.steps?.length?(f(),s(`div`,Qt,[l[35]||=o(`p`,{class:`micro`},`测试步骤`,-1),o(`ol`,$t,[(f(!0),s(p,null,c(n.steps,(e,t)=>(f(),s(`li`,{key:t},h(e),1))),128))])])):v(``,!0),o(`div`,en,[o(`p`,tn,[e(u,{name:`i-lucide-badge-check`,class:`sc-acc-ic`}),l[36]||=t(`验收标准`,-1)]),o(`p`,nn,h(n.expect),1),n.acceptance||n.storyIds?.length?(f(),s(`div`,rn,[n.acceptance?(f(),s(`span`,an,`对应验收:`+h(n.acceptance),1)):v(``,!0),n.storyIds?.length?(f(),s(`span`,on,[(f(!0),s(p,null,c(n.storyIds,e=>(f(),g(d,{key:e,to:`/story/${e}`,class:`ent-id mono`},{default:m(()=>[t(h(e),1)]),_:2},1032,[`to`]))),128))])):v(``,!0)])):v(``,!0)])]))),128))])):(f(),s(`p`,Jt,`这次没有单独列测试场景。`))]),o(`div`,sn,[o(`section`,cn,[o(`div`,ln,[o(`span`,un,[e(u,{name:`i-lucide-message-square-more`,class:`s-svg`})]),l[37]||=o(`h2`,{class:`s-title`},`说明`,-1)]),o(`div`,dn,[r(U).length?(f(),s(`ul`,pn,[(f(!0),s(p,null,c(r(U),(e,t)=>(f(),s(`li`,{key:t},h(e),1))),128))])):(f(),s(`p`,fn,`没有额外说明。`))])]),r(W).length?(f(),s(`section`,mn,[o(`div`,hn,[o(`span`,gn,[e(u,{name:`i-lucide-list-todo`,class:`s-svg`})]),l[38]||=o(`h2`,{class:`s-title`},`还没做的`,-1),o(`span`,_n,h(r(W).length),1)]),o(`div`,vn,[o(`ul`,yn,[(f(!0),s(p,null,c(r(W),(e,t)=>(f(),s(`li`,{key:t},h(e),1))),128))])])])):v(``,!0)])])):(f(),s(`div`,he,[o(`span`,ge,[e(u,{name:`i-lucide-clipboard-list`,class:`em-svg`})]),l[7]||=i(`<h2 class="em-title" data-v-dbac9077>还没有交付记录</h2><p class="em-sub" data-v-dbac9077> 每完成一项功能,AI 都要把「改了哪些故事与任务、额外做了什么、验了什么、怎么测」 写进下面这个文件,这一页就会自动排出来。 </p><p class="em-path mono" data-v-dbac9077>agile/last-change.json</p><p class="em-note" data-v-dbac9077> 每次只保留最近一次(覆盖写,不追加)· 格式见 <span class="mono" data-v-dbac9077>.agents/skills/scrum-planning/references/schema.md</span> 第 4 节 </p>`,4)])),(f(),g(re,{to:`body`},[r(O)?(f(),s(`div`,{key:0,class:`lc-hist-mask`,onClick:l[2]||=ie(e=>O.value=!1,[`self`])},[o(`div`,bn,[o(`header`,xn,[o(`div`,Sn,[l[42]||=o(`h3`,{id:`lc-hist-title`,class:`lc-hist-title`},`历史版本`,-1),o(`p`,Cn,[l[39]||=t(` 从 git 里读 `,-1),l[40]||=o(`span`,{class:`mono`},`agile/last-change.json`,-1),l[41]||=t(` 的提交记录 `,-1),r(D).length?(f(),s(p,{key:0},[t(`· 共 `+h(r(D).length)+` 版`,1)],64)):v(``,!0)])]),o(`button`,{class:`lc-hist-x`,"aria-label":`关闭`,onClick:l[0]||=e=>O.value=!1},[e(u,{name:`i-lucide-x`,class:`lc-hist-x-ic`})])]),r(A)?(f(),s(`p`,wn,h(r(A)),1)):r(k)?(f(),s(`div`,Tn,`正在读 git 历史…`)):(f(),s(`div`,En,[(f(!0),s(p,null,c(r(D),(e,t)=>(f(),s(`button`,{key:e.hash,class:a([`hist-item`,{on:r(w)?.hash===e.hash}]),disabled:r(j),onClick:t=>N(e)},[o(`span`,{class:a([`hist-item-dot`,{live:t===0}])},null,2),o(`span`,On,[o(`b`,null,h(e.subject||`(没有提交说明)`),1),o(`i`,kn,h(e.date),1)]),o(`span`,An,h(e.short),1)],10,Dn))),128)),r(D).length?v(``,!0):(f(),s(`p`,jn,` 这个文件还没有提交记录 —— 先 commit 一次,历史里才会出现版本。 `))])),o(`footer`,Mn,[l[43]||=o(`span`,{class:`dim`},`选一个版本即可在页面上只读查看,不会改动文件。`,-1),o(`button`,{class:`hist-close`,onClick:l[1]||=e=>O.value=!1},`关闭`)])])])):v(``,!0)]))],64)}}}),[[`__scopeId`,`data-v-dbac9077`]]);export{C as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{Lt as e,On as t,Zn as n,_ as r,b as i,et as a,g as o,mt as s,tr as c,v as l,y as u}from"./DZo3dYLJ.js";import{r as d}from"./oXSDGTSr.js";import{n as f,o as p,t as m}from"./Baq-Hrpf.js";import{a as h}from"./Vo4wMbnS.js";import{t as g}from"./
|
|
1
|
+
import{Lt as e,On as t,Zn as n,_ as r,b as i,et as a,g as o,mt as s,tr as c,v as l,y as u}from"./DZo3dYLJ.js";import{r as d}from"./oXSDGTSr.js";import{n as f,o as p,t as m}from"./Baq-Hrpf.js";import{a as h}from"./Vo4wMbnS.js";import{t as g}from"./D2zrOcWn.js";import{t as _}from"./BsNk4K6P.js";import{u as v}from"#entry";var y={slots:{root:`relative flex flex-wrap items-center gap-2 border border-muted bg-muted rounded-md px-4 py-3 my-5 last:mb-0`,icon:`size-4 shrink-0 text-highlighted`,content:`min-w-0`,description:`text-sm/6 text-default font-medium`,actions:`flex flex-wrap items-center gap-1.5 ms-auto`}},b=Object.assign({inheritAttrs:!1},{__name:`ProsePrompt`,props:{description:{type:String,required:!1},prompt:{type:String,required:!1},icon:{type:null,required:!1},actions:{type:Array,required:!1,default:()=>[]},class:{type:null,required:!1},ui:{type:Object,required:!1}},setup(b){let x=b,S=e(),C=f(`prose.prompt`,x),{t:w}=v(),{copy:T,copied:E}=h(),D=d(),O=o(()=>m({extend:y,...D.ui?.prose?.prompt||{}})()),k=o(()=>[...new Set([`copy`,...C.actions])]);function A(){if(C.prompt)return C.prompt.trim();let e=S.default?.();return e?p(e).trim():``}function j(){T(A())}function M(){window.open(`cursor://anysphere.cursor-deeplink/prompt?text=${encodeURIComponent(A())}`,`_self`)}function N(){window.open(`windsurf://cascade/newChat?prompt=${encodeURIComponent(A())}`,`_self`)}function P(){window.open(`claude://code/new?q=${encodeURIComponent(A())}`,`_self`)}return(e,o)=>(s(),i(`div`,a({class:O.value.root({class:[t(C).ui?.root,t(C).class]})},e.$attrs),[t(C).icon?(s(),l(g,{key:0,name:t(C).icon,class:n(O.value.icon({class:t(C).ui?.icon}))},null,8,[`name`,`class`])):u(``,!0),r(`div`,{class:n(O.value.content({class:t(C).ui?.content}))},[t(C).description?(s(),i(`p`,{key:0,class:n(O.value.description({class:t(C).ui?.description}))},c(t(C).description),3)):u(``,!0)],2),r(`div`,{class:n(O.value.actions({class:t(C).ui?.actions}))},[k.value.includes(`copy`)?(s(),l(_,{key:0,icon:t(E)?t(D).ui.icons.copyCheck:t(D).ui.icons.copy,size:`sm`,label:t(w)(`prose.prompt.copy`),onClick:j},null,8,[`icon`,`label`])):u(``,!0),k.value.includes(`cursor`)?(s(),l(_,{key:1,icon:`i-simple-icons-cursor`,color:`neutral`,variant:`outline`,size:`sm`,label:t(w)(`prose.prompt.openIn`,{name:`Cursor`}),onClick:M},null,8,[`label`])):u(``,!0),k.value.includes(`windsurf`)?(s(),l(_,{key:2,icon:`i-simple-icons-windsurf`,color:`neutral`,variant:`outline`,size:`sm`,label:t(w)(`prose.prompt.openIn`,{name:`Windsurf`}),onClick:N},null,8,[`label`])):u(``,!0),k.value.includes(`claude`)?(s(),l(_,{key:3,icon:`i-simple-icons-claude`,color:`neutral`,variant:`outline`,size:`sm`,label:t(w)(`prose.prompt.openIn`,{name:`Claude`}),onClick:P},null,8,[`label`])):u(``,!0)],2)],16))}});export{b as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{$ as e,D as t,Ft as n,Ht as r,Lt as i,On as a,Zn as o,_ as s,at as c,b as l,bt as u,ct as d,g as f,mt as p,o as m,qt as h,tr as g,v as _,vn as v,wt as y}from"./DZo3dYLJ.js";import{r as b}from"./oXSDGTSr.js";import{n as x,t as S}from"./Baq-Hrpf.js";import{a as C,i as w,n as T,r as E,t as D}from"./
|
|
1
|
+
import{$ as e,D as t,Ft as n,Ht as r,Lt as i,On as a,Zn as o,_ as s,at as c,b as l,bt as u,ct as d,g as f,mt as p,o as m,qt as h,tr as g,v as _,vn as v,wt as y}from"./DZo3dYLJ.js";import{r as b}from"./oXSDGTSr.js";import{n as x,t as S}from"./Baq-Hrpf.js";import{a as C,i as w,n as T,r as E,t as D}from"./C7AVymkF.js";import{c as O}from"#entry";import k from"./Cp9-r9Yz.js";var A={slots:{root:`relative group *:not-first:my-0! *:not-first:static! my-5`,list:`relative flex items-center gap-1 border border-muted bg-default border-b-0 rounded-t-md overflow-x-auto p-2`,indicator:`absolute left-0 inset-y-2 w-(--reka-tabs-indicator-size) translate-x-(--reka-tabs-indicator-position) transition-[translate,width] duration-200 ease-out motion-reduce:transition-none bg-elevated rounded-md shadow-xs`,trigger:[`relative inline-flex items-center gap-1.5 text-default data-[state=active]:text-highlighted hover:bg-elevated/50 px-2 py-1.5 text-sm rounded-md disabled:cursor-not-allowed disabled:opacity-75 outline-primary/25 focus-visible:outline-3`,`transition-colors`],triggerIcon:`size-4 shrink-0`,triggerLabel:`truncate`}},j={__name:`ProseCodeGroup`,props:e({defaultValue:{type:String,required:!1,default:`0`},sync:{type:String,required:!1},class:{type:null,required:!1},ui:{type:Object,required:!1}},{modelValue:{type:String},modelModifiers:{}}),emits:[`update:modelValue`],setup(e){let j=e,M=i(),N=x(`prose.codeGroup`,j),P=n(e,`modelValue`),F=b(),I=f(()=>S({extend:A,...F.ui?.prose?.codeGroup||{}})()),L=v(1),R=f(()=>(L.value,M.default?.()?.flatMap(z).filter(Boolean)||[]));function z(e,t){return typeof e.type==`symbol`?e.children?.map(z):{label:e.props?.filename||e.props?.label||`${t}`,icon:e.props?.icon,component:e}}return d(()=>{if(N.sync){let e=`code-group-${N.sync}`,t=O(e,()=>localStorage.getItem(e));r(t,()=>{t.value&&(P.value=t.value)},{immediate:!0}),r(P,()=>{P.value&&(t.value=P.value,localStorage.setItem(e,P.value))})}}),c(()=>L.value++),(e,n)=>(p(),_(a(C),{modelValue:P.value,"onUpdate:modelValue":n[0]||=e=>P.value=e,"default-value":a(N).defaultValue,"unmount-on-hide":!1,class:o(I.value.root({class:[a(N).ui?.root,a(N).class]}))},{default:h(()=>[t(a(T),{class:o(I.value.list({class:a(N).ui?.list}))},{default:h(()=>[t(a(E),{class:o(I.value.indicator({class:a(N).ui?.indicator}))},null,8,[`class`]),(p(!0),l(m,null,u(R.value,(e,n)=>(p(),_(a(D),{key:n,value:String(n),class:o(I.value.trigger({class:a(N).ui?.trigger}))},{default:h(()=>[t(k,{icon:e.icon,filename:e.label,class:o(I.value.triggerIcon({class:a(N).ui?.triggerIcon}))},null,8,[`icon`,`filename`,`class`]),s(`span`,{class:o(I.value.triggerLabel({class:a(N).ui?.triggerLabel}))},g(e.label),3)]),_:2},1032,[`value`,`class`]))),128))]),_:1},8,[`class`]),(p(!0),l(m,null,u(R.value,(e,t)=>(p(),_(a(w),{key:t,value:String(t),"as-child":``},{default:h(()=>[(p(),_(y(e.component),{"hide-header":``,tabindex:`-1`}))]),_:2},1032,[`value`]))),128))]),_:1},8,[`modelValue`,`default-value`,`class`]))}};export{j as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{On as e,mt as t,qt as n,v as r}from"./DZo3dYLJ.js";import{r as i}from"./oXSDGTSr.js";import{t as a}from"./CQTvWh4i.js";import o from"./
|
|
1
|
+
import{On as e,mt as t,qt as n,v as r}from"./DZo3dYLJ.js";import{r as i}from"./oXSDGTSr.js";import{t as a}from"./CQTvWh4i.js";import o from"./4G46xON2.js";var s={__name:`ProseWarning`,setup(s){let c=i();return(i,s)=>(t(),r(o,{color:`warning`,icon:e(c).ui.icons.warning},{default:n(()=>[a(i.$slots,`default`,{mdcUnwrap:`p`})]),_:3},8,[`icon`]))}};export{s as default};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import{t as e}from"./DK3Fl9T5.js";import{b as t,d as n,o as r,v as i,y as a}from"./u88eXCXy.js";import{B as o,Cn as s,En as c,Ht as l,J as u,L as d,On as f,an as p,b as m,ct as h,ft as g,g as _,gn as v,gt as y,h as b,k as x,pn as ee,rt as te,tt as S,un as ne,vn as C,vt as re,wn as w,xn as T}from"./DZo3dYLJ.js";import{_t as E,u as D}from"./BuBpFHLu.js";import"./DsF2J4jZ.js";import{n as ie,r as O}from"./oXSDGTSr.js";var ae=/^[a-z0-9]+(-[a-z0-9]+)*$/,k=(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&&!A(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&&!A(e)?null:e}if(n&&r===``){let e={provider:r,prefix:``,name:a};return t&&!A(e,n)?null:e}return null},A=(e,t)=>e?!!((t&&e.prefix===``||e.prefix)&&e.name):!1;function oe(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 se=Object.freeze({left:0,top:0,width:16,height:16}),j=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),M=Object.freeze({...se,...j}),ce=Object.freeze({...M,body:``,hidden:!1});function le(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 ue(e,t){let n=le(e,t);for(let r in ce)r in j?r in e&&!(r in n)&&(n[r]=j[r]):r in t?n[r]=t[r]:r in e&&(n[r]=e[r]);return n}function de(e,t,n){let r=e.icons,i=e.aliases||Object.create(null),a={};function o(e){a=ue(r[e]||i[e],a)}return o(t),n.forEach(o),ue(e,a)}function fe(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=oe(e);for(let i in r){let a=r[i];a&&(t(i,de(e,i,a)),n.push(i))}return n}var pe={provider:``,aliases:{},not_found:{},...se};function N(e,t){for(let n in t)if(n in e&&typeof e[n]!=typeof t[n])return!1;return!0}function me(e){if(typeof e!=`object`||!e)return null;let t=e;if(typeof t.prefix!=`string`||!e.icons||typeof e.icons!=`object`||!N(e,pe))return null;let n=t.icons;for(let e in n){let t=n[e];if(!e||typeof t.body!=`string`||!N(t,ce))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]||!N(t,ce))return null}return t}var he=Object.create(null);function ge(e,t){return{provider:e,prefix:t,icons:Object.create(null),missing:new Set}}function P(e,t){let n=he[e]||(he[e]=Object.create(null));return n[t]||(n[t]=ge(e,t))}function _e(e,t){return me(t)?fe(t,(t,n)=>{n?e.icons[t]=n:e.missing.add(t)}):[]}function ve(e,t,n){try{if(typeof n.body==`string`)return e.icons[t]={...n},!0}catch{}return!1}var F=!1;function ye(e){return typeof e==`boolean`&&(F=e),F}function I(e){let t=typeof e==`string`?k(e,!0,F):e;if(t){let e=P(t.provider,t.prefix),n=t.name;return e.icons[n]||(e.missing.has(n)?null:void 0)}}function L(e,t){let n=k(e,!0,F);if(!n)return!1;let r=P(n.provider,n.prefix);return t?ve(r,n.name,t):(r.missing.add(n.name),!0)}function be(e,t){if(typeof e!=`object`)return!1;if(typeof t!=`string`&&(t=e.provider||``),F&&!t&&!e.prefix){let t=!1;return me(e)&&(e.prefix=``,fe(e,(e,n)=>{L(e,n)&&(t=!0)})),t}let n=e.prefix;return A({prefix:n,name:`a`})?!!_e(P(t,n),e):!1}function xe(e){let t=I(e);return t&&{...M,...t}}var Se=Object.freeze({width:null,height:null}),Ce=Object.freeze({...Se,...j}),we=/(-?[0-9.]*[0-9]+[0-9.]*)/g,Te=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function Ee(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(we);if(r===null||!r.length)return e;let i=[],a=r.shift(),o=Te.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 De(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 Oe(e,t){return e?`<defs>`+e+`</defs>`+t:t}function ke(e,t,n){let r=De(e);return Oe(r.defs,t+r.content+n)}var Ae=e=>e===`unset`||e===`undefined`||e===`none`;function je(e,t){let n={...M,...e},r={...Ce,...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=ke(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=Ee(d,c/l)):(u=o===`auto`?c:o,d=s===null?Ee(u,l/c):s===`auto`?l:s);let f={},p=(e,t)=>{Ae(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 Me=/\sid="(\S+)"/g,Ne=new Map;function Pe(e){e=e.replace(/[0-9]+$/,``)||`a`;let t=Ne.get(e)||0;return Ne.set(e,t+1),t?`${e}${t}`:e}function Fe(e){let t=[],n;for(;n=Me.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=Pe(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 Ie=Object.create(null);function Le(e,t){Ie[e]=t}function R(e){return Ie[e]||Ie[``]}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}}var B=Object.create(null);B[``]=z({resources:[`https://api.iconify.design`]});function Re(e,t){let n=z(t);return n!==null&&(B[e]=n,!0)}function V(e){return B[e]}function ze(){return Object.keys(B)}var H=(()=>{let e;try{if(e=fetch,typeof e==`function`)return e}catch{}})();function Be(e){H=e}function Ve(){return H}function He(e,t){let n=V(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 Ue(e){return e===404}var We=(e,t,n)=>{let r=[],i=He(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 Ge(e){if(typeof e==`string`){let t=V(e);if(t)return t.path}return`/`}var Ke={prepare:We,send:(e,t,n)=>{if(!H){n(`abort`,424);return}let r=Ge(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;H(e+r).then(e=>{let t=e.status;if(t!==200)setTimeout(()=>{n(Ue(t)?`abort`:`next`,t)});else return i=501,e.json()}).then(e=>{setTimeout(typeof e!=`object`||!e?()=>{e===404?n(`abort`,e):n(`next`,i)}:()=>{n(`success`,e)})}).catch(()=>{n(`next`,i)})}};function qe(e,t){e.forEach(e=>{let n=e.loaderCallbacks;n&&(e.loaderCallbacks=n.filter(e=>e.id!==t))})}function Je(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||qe([e],t.id),t.callback(a.loaded.slice(0),a.missing.slice(0),a.pending.slice(0),t.abort))})}))}var Ye=0;function Xe(e,t,n){let r=Ye++,i=qe.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 Ze(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]=P(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 Qe(e,t=!0,n=!1){let r=[];return e.forEach(e=>{let i=typeof e==`string`?k(e,t,n):e;i&&r.push(i)}),r}var $e={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function et(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();else if(i)u=r,f.length||(o.length?x():v());else{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 tt(e){let t={...$e,...e},n=[];function r(){n=n.filter(e=>e().status===`pending`)}function i(e,i,a){let o=et(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 nt(){}var rt=Object.create(null);function it(e){if(!rt[e]){let t=V(e);if(!t)return;rt[e]={config:t,redundancy:tt(t)}}return rt[e]}function at(e,t,n){let r,i;if(typeof e==`string`){let t=R(e);if(!t)return n(void 0,424),nt;i=t.send;let a=it(e);a&&(r=a.redundancy)}else{let t=z(e);if(t){r=tt(t);let n=R(e.resources?e.resources[0]:``);n&&(i=n.send)}}return!r||!i?(n(void 0,424),nt):r.query(t,i,n)().abort}function ot(){}function st(e){e.iconsLoaderFlag||(e.iconsLoaderFlag=!0,setTimeout(()=>{e.iconsLoaderFlag=!1,Je(e)}))}function ct(e){let t=[],n=[];return e.forEach(e=>{(e.match(ae)?t:n).push(e)}),{valid:t,invalid:n}}function U(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(!_e(e,n).length){r();return}}catch(e){console.error(e)}r(),st(e)}function lt(e,t){e instanceof Promise?e.then(e=>{t(e)}).catch(()=>{t(null)}):t(e)}function ut(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)){lt(e.loadIcons(r,n,t),t=>{U(e,r,t)});return}if(i){r.forEach(r=>{lt(i(r,n,t),t=>{U(e,[r],t?{prefix:n,icons:{[r]:t}}:null)})});return}let{valid:a,invalid:o}=ct(r);if(o.length&&U(e,o,null),!a.length)return;let s=n.match(ae)?R(t):null;s?s.prepare(t,n,a).forEach(n=>{at(t,n,t=>{U(e,n.icons,t)})}):U(e,a,null)}))}var dt=(e,t)=>{let n=Ze(Qe(e,!0,ye()));if(!n.pending.length){let e=!0;return t&&setTimeout(()=>{e&&t(n.loaded,n.missing,n.pending,ot)}),()=>{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(P(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=P(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&&ut(e,t)}),t?Xe(t,n,i):ot},ft=e=>new Promise((t,n)=>{let r=typeof e==`string`?k(e,!0):e;r?dt([r||e],i=>{if(i.length&&r){let e=I(r);if(e){t({...M,...e});return}}n(e)}):n(e)});function pt(e,t,n){P(n||``,t).loadIcons=e}function mt(e,t){let n={...e};for(let e in t){let r=t[e],i=typeof r;e in Se?(r===null||r&&(i===`string`||i===`number`))&&(n[e]=r):i===typeof n[e]&&(n[e]=e===`rotate`?r%4:r)}return n}var ht=/[\s,]+/;function gt(e,t){t.split(ht).forEach(t=>{switch(t.trim()){case`horizontal`:e.hFlip=!0;break;case`vertical`:e.vFlip=!0}})}function _t(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 vt(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 yt(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 bt(e){return`data:image/svg+xml,`+yt(e)}function xt(e){return`url("`+bt(e)+`")`}var St={...Ce,inline:!1},Ct={xmlns:`http://www.w3.org/2000/svg`,"xmlns:xlink":`http://www.w3.org/1999/xlink`,"aria-hidden":!0,role:`img`},wt={display:`inline-block`},Tt={backgroundColor:`currentColor`},Et={backgroundColor:`transparent`},Dt={Image:`var(--svg)`,Repeat:`no-repeat`,Size:`100% 100%`},Ot={webkitMask:Tt,mask:Tt,background:Et};for(let e in Ot){let t=Ot[e];for(let n in Dt)t[e+n]=Dt[n]}var W={};[`horizontal`,`vertical`].forEach(e=>{let t=e.slice(0,1)+`Flip`;W[e+`-flip`]=t,W[e.slice(0,1)+`-flip`]=t,W[e+`Flip`]=t});function kt(e){return e+(e.match(/^[-0-9.]+$/)?`px`:``)}var At=(e,t)=>{let n=mt(St,t),r={...Ct},i=t.mode||`svg`,a={},s=t.style,c=typeof s==`object`&&!(s instanceof Array)?s:{};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]=_t(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=W[e];t?(i===!0||i===`true`||i===1)&&(n[t]=!0):St[e]===void 0&&(r[e]=i)}}}typeof t.flip==`string`&>(n,t.flip);let l=je(e,n),u=l.attributes;if(n.inline&&(a.verticalAlign=`-0.125em`),i===`svg`)return r.style={...a,...c},Object.assign(r,u),r.innerHTML=Fe(l.body),o(`svg`,r);let{body:d,width:f,height:p}=e,m=i===`mask`||i!==`bg`&&d.indexOf(`currentColor`)!==-1,h=vt(d,{...u,width:f+``,height:p+``});return r.style={...a,"--svg":xt(h),width:kt(u.width),height:kt(u.height),...wt,...m?Tt:Et,...c},o(`span`,r)};if(ye(!0),Le(``,Ke),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`||!be(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;Re(e,r)||console.error(n)}catch{console.error(n)}}}}var jt={...M,body:``},Mt=x((e,{emit:t})=>{let n=C(null);function r(){n.value&&=(n.value.abort?.(),null)}let i=C(!!e.ssr),a=C(``),o=T(null);function s(){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=k(i,!1,!0))===null)return null;let s=I(o);if(!s){let e=n.value;return e&&e.name===i||(s===null?n.value={name:i}:n.value={name:i,abort:dt([o],c)}),null}r(),a.value!==i&&(a.value=i,S(()=>{t(`load`,i)}));let l=e.customise;if(l){s=Object.assign({},s);let e=l(s.body,o.name,o.prefix,o.provider);typeof e==`string`&&(s.body=e)}let u=[`iconify`];return o.prefix!==``&&u.push(`iconify--`+o.prefix),o.provider!==``&&u.push(`iconify--`+o.provider),{data:s,classes:u}}function c(){let e=s();e?e.data!==o.value?.data&&(o.value=e):o.value=null}return i.value?c():h(()=>{i.value=!0,c()}),l(()=>e.icon,c),g(r),()=>{let t=o.value;if(!t)return At(jt,e);let n=e;return t.classes&&(n={...e,class:t.classes.join(` `)}),At({...M,...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`]}),Nt={getAPIConfig:V,setAPIModule:Le,sendAPIQuery:at,setFetch:Be,getFetch:Ve,listAPIProviders:ze};function G(e=d()){let t=e;t&&!t.sp&&(t.sp=[])}var Pt=[1779033703,-1150833019,1013904242,-1521486534,1359893119,-1694144372,528734635,1541459225],Ft=[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],It=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_`,K=[],Lt=class{_data=new q;_hash=new q([...Pt]);_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)K[n]=e[t+n]|0;else{let e=K[n-15],t=(e<<25|e>>>7)^(e<<14|e>>>18)^e>>>3,r=K[n-2],i=(r<<15|r>>>17)^(r<<13|r>>>19)^r>>>10;K[n]=t+K[n-7]+i+K[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+Ft[n]+K[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=q.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 q(t,i)}},q=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(It.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 Rt(e){return new Lt().finalize(e).toBase64()}function zt(e){return Rt(ie(e))}var Bt=Object.freeze({left:0,top:0,width:16,height:16}),Vt=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),J=Object.freeze({...Bt,...Vt});Object.freeze({...J,body:``,hidden:!1});function Ht(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 Ut=/(-?[0-9.]*[0-9]+[0-9.]*)/g,Wt=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function Y(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(Ut);if(r===null||!r.length)return e;let i=[],a=r.shift(),o=Wt.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 Gt=Object.freeze({width:null,height:null}),Kt=Object.freeze({...Gt,...Vt});function qt(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 Jt(e,t){return e?`<defs>`+e+`</defs>`+t:t}function Yt(e,t,n){let r=qt(e);return Jt(r.defs,t+r.content+n)}var Xt=e=>e===`unset`||e===`undefined`||e===`none`;function Zt(e,t){let n={...J,...e},r={...Kt,...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=Yt(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=Y(d,c/l)):(u=o===`auto`?c:o,d=s===null?Y(u,l/c):s===`auto`?l:s);let f={},p=(e,t)=>{Xt(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 Qt(e){return e.replace(/"/g,`'`).replace(/%/g,`%25`).replace(/#/g,`%23`).replace(/</g,`%3C`).replace(/>/g,`%3E`).replace(/\s+/g,` `)}function $t(e){return`data:image/svg+xml,`+Qt(e)}function en(e){return`url("`+$t(e)+`")`}function tn(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 nn(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 rn(e,t){let n=Object.create(null),r=t.varName,i=Zt(e),a=i.viewBox;a[2]!==a[3]&&(t.forceSquare?a=Ht(a):n.width=Y(`1em`,a[2]/a[3]));let o=en(tn(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 X={selectorStart:{compressed:`{`,compact:` {`,expanded:` {`},selectorEnd:{compressed:`}`,compact:`; }
|
|
2
|
+
`,expanded:`;
|
|
3
|
+
}
|
|
4
|
+
`},rule:{compressed:`{key}:`,compact:` {key}: `,expanded:`
|
|
5
|
+
{key}: `}};function an(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)+X.selectorStart[t],s=!0;for(let e in a)s||(o+=`;`),o+=X.rule[t].replace(`{key}`,e)+a[e],s=!1;o+=X.selectorEnd[t],n.push(o)}return n.join(t===`compressed`?``:`
|
|
6
|
+
`)}function on(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,nn(a),rn({...J,...e,body:n},a)),an([{selector:t.iconSelector||`.icon`,rules:o}],a.format)}var sn=1e3,Z=new Map;function cn(e,t){let n=Object.keys(e);return n.length===Object.keys(t).length&&n.every(n=>Object.hasOwn(t,n)&&e[n]===t[n])}function ln(e,t,n){if(n)return on(e,{iconSelector:t,format:`compressed`,customise:n});let r=Z.get(t);if(r&&cn(r.icon,e))return r.css;let i=on(e,{iconSelector:t,format:`compressed`});return!r&&Z.size>=sn&&Z.clear(),Z.set(t,{icon:{...e},css:i}),i}var un=!1;function dn(e){if(un)return;let t=JSON.parse(`[{"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\\"/>"},"alert-circle":{"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>"},"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-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-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-down":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"m21 16l-4 4l-4-4m4 4V4M3 8l4-4l4 4M7 4v16\\"/>"},"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\\"/>"},"badge-check":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M3.85 8.62a4 4 0 0 1 4.78-4.77a4 4 0 0 1 6.74 0a4 4 0 0 1 4.78 4.78a4 4 0 0 1 0 6.74a4 4 0 0 1-4.77 4.78a4 4 0 0 1-6.75 0a4 4 0 0 1-4.78-4.77a4 4 0 0 1 0-6.76\\"/><path d=\\"m16 9l-5.5 5.5L8 12\\"/></g>"},"blocks":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M10 22V7a1 1 0 0 0-1-1H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-5a1 1 0 0 0-1-1H2\\"/><rect width=\\"8\\" height=\\"8\\" x=\\"14\\" y=\\"2\\" rx=\\"1\\"/></g>"},"book-open":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M12 5v16m8.001-2A2 2 0 0 0 22 17V5a2 2 0 0 0-1.999-2L16 3.002A5 5 0 0 0 12 5a5 5 0 0 0-4-2H4a2 2 0 0 0-2 2v12a2 2 0 0 0 1.999 2H8a5 5 0 0 1 4 2a5 5 0 0 1 4-2z\\"/>"},"bug":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M12 20v-9m2-4a4 4 0 0 1 4 4v3a6 6 0 0 1-12 0v-3a4 4 0 0 1 4-4zm.12-3.12L16 2\\"/><path d=\\"M21 21a4 4 0 0 0-3.81-4M21 5a4 4 0 0 1-3.55 3.97M22 13h-4M3 21a4 4 0 0 1 3.81-4M3 5a4 4 0 0 0 3.55 3.97M6 13H2M8 2l1.88 1.88M9 7.13V6a3 3 0 1 1 6 0v1.13\\"/></g>"},"calendar-days":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M8 2v3m8-3v3\\"/><rect width=\\"18\\" height=\\"18\\" x=\\"3\\" y=\\"3\\" rx=\\"2\\"/><path d=\\"M3 9h18M8 13h.01M12 13h.01M16 13h.01M8 17h.01M12 17h.01M16 17h.01\\"/></g>"},"calendar-range":{"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 2v3M3 9h18M8 2v3m9 8h-6m2 4H7m0-4h.01M17 17h.01\\"/></g>"},"chart-gantt":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M10 6h8m-6 10h6M3 3v16a2 2 0 0 0 2 2h16M8 11h7\\"/>"},"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":{"width":24,"height":24,"body":"<circle cx=\\"12\\" cy=\\"12\\" r=\\"10\\" fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"/>"},"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-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-check-big":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M21.801 10A10 10 0 1 1 17 3.335\\"/><path d=\\"m9 11l3 3L22 4\\"/></g>"},"circle-slash":{"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 15l6-6\\"/></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>"},"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>"},"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>"},"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-pen-line":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M14.364 13.634a2 2 0 0 0-.506.854l-.837 2.87a.5.5 0 0 0 .62.62l2.87-.837a2 2 0 0 0 .854-.506l4.013-4.009a1 1 0 0 0-3.004-3.004zm.123-5.776A1 1 0 0 1 14 7V2\\"/><path d=\\"M20 19.645V20a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l2.516 2.516M8 18h1\\"/></g>"},"flag":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M4 22V4a1 1 0 0 1 .4-.8A6 6 0 0 1 8 2c3 0 5 2 7.333 2q2 0 3.067-.8A1 1 0 0 1 20 4v10a1 1 0 0 1-.4.8A6 6 0 0 1 16 16c-3 0-5-2-8-2a6 6 0 0 0-4 1.528\\"/>"},"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-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\\"/>"},"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-commit-horizontal":{"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=\\"3\\"/><path d=\\"M3 12h6m6 0h6\\"/></g>"},"git-commit-vertical":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M12 3v6\\"/><circle cx=\\"12\\" cy=\\"12\\" r=\\"3\\"/><path d=\\"M12 15v6\\"/></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>"},"hand":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M18 11V6a2 2 0 0 0-2-2a2 2 0 0 0-2 2m0 4V4a2 2 0 0 0-2-2a2 2 0 0 0-2 2v2m0 4.5V6a2 2 0 0 0-2-2a2 2 0 0 0-2 2v8\\"/><path d=\\"M18 8a2 2 0 1 1 4 0v6a8 8 0 0 1-8 8h-2c-2.8 0-4.5-.86-5.99-2.34l-3.6-3.6a2 2 0 0 1 2.83-2.82L7 15\\"/></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\\"/>"},"history":{"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 3v5h5m4-1v5l4 2\\"/></g>"},"image-off":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"m2 2l20 20M10.41 10.41a2 2 0 1 1-2.83-2.83m5.92 5.92L6 21m12-9l3 3\\"/><path d=\\"M3.59 3.59A2 2 0 0 0 3 5v14a2 2 0 0 0 2 2h14c.55 0 1.052-.22 1.41-.59M21 15V5a2 2 0 0 0-2-2H9\\"/></g>"},"image-plus":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M16 5h6m-3-3v6m2 3.5V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h7.5\\"/><path d=\\"m21 15l-3.086-3.086a2 2 0 0 0-2.828 0L6 21\\"/><circle cx=\\"9\\" cy=\\"9\\" r=\\"2\\"/></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>"},"key-round":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M2.586 17.414A2 2 0 0 0 2 18.828V21a1 1 0 0 0 1 1h3a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h1a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h.172a2 2 0 0 0 1.414-.586l.814-.814a6.5 6.5 0 1 0-4-4z\\"/><circle cx=\\"16.5\\" cy=\\"7.5\\" r=\\".5\\" fill=\\"currentColor\\"/></g>"},"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-grid":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><rect width=\\"7\\" height=\\"7\\" 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\\"/><rect width=\\"7\\" height=\\"7\\" x=\\"3\\" 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-checks":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M13 5h8m-8 7h8m-8 7h8M3 17l2 2l4-4M3 7l2 2l4-4\\"/>"},"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-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>"},"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\\"/>"},"map-pin":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0\\"/><circle cx=\\"12\\" cy=\\"10\\" r=\\"3\\"/></g>"},"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-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-more":{"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 2zm-10-6h.01M16 11h.01M8 11h.01\\"/>"},"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\\"/>"},"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\\"/>"},"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>"},"plug-zap":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M6.3 20.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.4ZM2 22l3-3m2.5-5.5L10 11m.5 5.5L13 14m5-11l-4 4h6l-4 4\\"/>"},"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\\"/>"},"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>"},"rocket":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M12 15v5s3.03-.55 4-2c1.08-1.62 0-5 0-5M4.5 16.5c-1.5 1.26-2 5-2 5s3.74-.5 5-2c.71-.84.7-2.13-.09-2.91a2.18 2.18 0 0 0-2.91-.09\\"/><path d=\\"M9 12a22 22 0 0 1 2-3.95A12.88 12.88 0 0 1 22 2c0 2.72-.78 7.5-6 11a22.4 22.4 0 0 1-4 2z\\"/><path d=\\"M9 12H4s.55-3.03 2-4c1.62-1.08 5 .05 5 .05\\"/></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>"},"scale":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M12 3v18m7-13l3 8a5 5 0 0 1-6 0zV7\\"/><path d=\\"M3 7h1a17 17 0 0 0 8-2a17 17 0 0 0 8 2h1M5 8l3 8a5 5 0 0 1-6 0zV7m2 14h10\\"/></g>"},"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>"},"search-x":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"m13.5 8.5l-5 5m0-5l5 5\\"/><circle cx=\\"11\\" cy=\\"11\\" r=\\"8\\"/><path d=\\"m21 21l-4.3-4.3\\"/></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>"},"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\\"/>"},"shield-check":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path 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 1z\\"/><path d=\\"m9 12l2 2l4-4\\"/></g>"},"signal":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M2 20h.01M7 20v-4m5 4v-8m5 8V8m5-4v16\\"/>"},"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\\"/>"},"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\\"/>"},"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>"},"target":{"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\\"/><circle cx=\\"12\\" cy=\\"12\\" r=\\"6\\"/><circle cx=\\"12\\" cy=\\"12\\" r=\\"2\\"/></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\\"/>"},"terminal-square":{"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>"},"trending-down":{"width":24,"height":24,"body":"<g fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\"><path d=\\"M16 17h6v-6\\"/><path d=\\"m22 17l-8.5-8.5l-5 5L2 7\\"/></g>"},"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\\"/>"},"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\\"/>"},"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\\"/>"},"zap":{"width":24,"height":24,"body":"<path fill=\\"none\\" stroke=\\"currentColor\\" stroke-linecap=\\"round\\" stroke-linejoin=\\"round\\" stroke-width=\\"2\\" d=\\"M15.914 4a1.5 1.5 0 0 0-2.474-1.561l-9 9A1.5 1.5 0 0 0 5.5 14h4.002a.5.5 0 0 1 .471.666L8.086 20a1.5 1.5 0 0 0 2.475 1.56l9-9A1.5 1.5 0 0 0 18.5 10h-3.997a.5.5 0 0 1-.472-.667z\\"/>"}}}]`);for(let n of t)for(let[t,r]of Object.entries(n.icons))e(n.prefix?n.prefix+`:`+t:t,r);un=!0}var fn=45,pn=new WeakMap;function mn(e){if(!e)return[];let t=s(e),n=pn.get(t);if(!n){let e=e=>[...e].sort((e,t)=>t.length-e.length);n=_(()=>e(v(t))),pn.set(t,n)}return n.value}function hn(e,t){let n=e.startsWith(t.cssSelectorPrefix)?e.slice(t.cssSelectorPrefix.length):e,r=t.aliases?.[n]||n;if(!r.includes(`:`)){let e=mn(t.collections).find(e=>r.charCodeAt(e.length)===fn&&r.startsWith(e));return e?e+`:`+r.slice(e.length+1):r}return r}async function gn(e,t){if(!e)return null;dn(L);let n=xe(e);if(n)return n;let r,i=ft(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,xe(e)}function _n(e){let t=O().icon;return _(()=>hn(e(),t))}function vn(e,t){if(e!==!1)return e===!0||e===null?t:e}function yn(e,t,n){if(n){t.appendChild(e);return}let r=t.querySelector(`style, link[rel="stylesheet"]`);r?t.insertBefore(e,r):t.appendChild(e)}var Q;function bn(e){return e.replace(/([^\w-])/g,`\\$1`)}function xn(){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 Sn=x({name:`NuxtIconCss`,props:{name:{type:String,required:!0},customize:{type:[Function,Boolean,null],default:null,required:!1}},setup(e){let t=r(),n=O().icon,i=_(()=>{if(!e.name)return``;let t=n.cssSelectorPrefix+e.name;return typeof e.customize==`function`?t+`--customized-`+zt(e.customize.toString()):t});function a(e){if(!e)return;let n=xe(e);if(n)return n;let r=t.payload?.data?.[e];if(r)return L(e,r),r}let s=_(()=>`.`+bn(i.value));function c(t,r=!0,i=s.value){n.cssWherePseudo&&(i=`:where(${i})`);let a=ln(t,i,vn(e.customize,n.customize));return n.cssLayer&&r?`@layer ${n.cssLayer} { ${a} }`:a}{let t=xn();async function r(e,r,i){if(t.has(i)||typeof document>`u`)return;let a=document.createElement(`style`);a.textContent=c(e,!0,i),yn(a,document.head,n.cssLayer),t.add(i)}l(()=>e.name,e=>{let n=s.value;if(t.has(n))return;let i=a(e);i?r(i,e,n):gn(e,-1).then(t=>{t&&r(t,e,n)}).catch(()=>null)},{immediate:!0})}return G(),()=>o(`span`,{class:[`iconify`,i.value]})}});function Cn(e,t={}){let n,r=!1,i=[],a,o,s=(t,n)=>{let i=wn(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,re(()=>{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 wn(e,t,n){return await e.apply(t,n)}x({name:`ServerPlaceholder`,render(){return m(`div`)}});var Tn=Symbol.for(`nuxt:client-only`);x({name:`ClientOnly`,inheritAttrs:!1,props:[`fallback`,`placeholder`,`placeholderTag`,`fallbackTag`],setup(e,{slots:t,attrs:n}){let r=T(!1);h(()=>{r.value=!0});let i=d();return i&&(i._nuxtClientOnly=!0),y(Tn,!0),()=>{if(r.value){let e=t.default?.();return e&&e.length===1?[b(e[0],n)]:e}let i=t.fallback||t.placeholder;if(i)return o(i);let a=e.fallback||e.placeholder||``,s=D(e.fallbackTag||e.placeholderTag,`span`);return m(s,n,a)}}});var En=t({docsBase:i,reporters:a});function Dn(e={}){{function t(...t){let i=typeof t[t.length-1]==`string`?t.pop():void 0;kn(t[0],t[1])&&t.unshift(i);let[a,o,s={}]=t,f=!1,m=ne(a)||typeof a==`function`,h=m?_(()=>c(a)):{value:a};if(!h.value||typeof h.value!=`string`)throw En.NUXT_E3008();if(typeof o!=`function`)throw En.NUXT_E3009();let v=typeof e==`function`,y=r(),b=v?e(s):e;if(!v)for(let e in b)b[e]!==void 0&&s[e]===void 0&&(s[e]=b[e]);if(s.server??=!0,s.default??=Nn,s.getCachedData??=Pn,s.lazy??=!1,s.immediate??=!0,s.deep??=n.deep,s.dedupe??=`cancel`,s.enabled??=!0,v)for(let e in b)b[e]!==void 0&&(s[e]=b[e]);y._asyncData[h.value];function x(){let e={cause:`initial`,dedupe:s.dedupe},t=y._asyncData[h.value];return t?._init?y._asyncDataPromises[h.value]&&(e.cachedData=t._initialCachedData):(e.cachedData=s.getCachedData(h.value,y,{cause:`initial`}),y._asyncData[h.value]=Mn(y,h.value,o,s,e.cachedData),y._asyncData[h.value]._initialCachedData=e.cachedData),()=>y._asyncData[h.value].execute(e)}let S=x(),C=y._asyncData[h.value];C._deps++;let w=s.server!==!1&&y.payload.serverRendered,T=()=>!1;{let e=d(),t=!!e||T();if(w&&s.immediate&&G(),e&&!e._nuxtOnBeforeMountCbs){e._nuxtOnBeforeMountCbs=[];let t=e._nuxtOnBeforeMountCbs;te(()=>{t.forEach(e=>{e()}),t.splice(0,t.length)}),g(()=>t.splice(0,t.length))}let n=t&&(e?._nuxtClientOnly||u(Tn,!1)),r=h.value in y.payload.data;w&&y.isHydrating&&(C.error.value||C.data.value!==void 0&&(r||C._initialCachedData!==void 0))?C.status.value=C.error.value?`error`:`success`:t&&(!n&&y.payload.serverRendered&&y.isHydrating&&(!w||r)||s.lazy)&&s.immediate?e?e._nuxtOnBeforeMountCbs.push(S):te(()=>{S()}):s.immediate&&C.status.value!==`success`&&S();function i(e){let t=y._asyncData[e];t?._deps&&(t._deps--,t._deps===0&&t?._off())}let a=p(),_=()=>{},v=m?l(h,(e,t)=>{if((e||t)&&e!==t){f=!0;let n=y._asyncData[t]?.data.value!==void 0,r=y._asyncDataPromises[t]!==void 0,a={cause:`initial`,dedupe:s.dedupe};if(!y._asyncData[e]?._init){let r=s.getCachedData(e,y,{cause:`initial`});a.cachedData=r;let i=t&&n&&r===void 0?y._asyncData[t].data.value:r;y._asyncData[e]=Mn(y,e,o,s,i),y._asyncData[e]._initialCachedData=r}y._asyncData[e]._deps++,t&&i(t),s._keyTriggersExecute!==!1&&(s.immediate||n||r)&&y._asyncData[e].execute(a),re(()=>{f=!1})}},{flush:`sync`}):_,b=s.watch?l(s.watch,()=>{f||y._asyncData[h.value]?._execute({cause:`watch`,dedupe:s.dedupe})}):_,x=ne(s.enabled)||typeof s.enabled==`function`?l(()=>c(s.enabled),e=>{let t=y._asyncData[h.value];!e&&t&&y._asyncDataPromises[h.value]&&(t._abortController?.abort(new DOMException("AsyncData request cancelled by `enabled: false`",`AbortError`)),t._abortController=void 0,delete y._asyncDataPromises[h.value],t.status.value=`idle`)}):_;a&&ee(()=>{v(),b(),x(),i(h.value)})}let E={data:$(()=>y._asyncData[h.value]?.data,!s.deep),pending:$(()=>y._asyncData[h.value]?.pending),status:$(()=>y._asyncData[h.value]?.status),error:$(()=>y._asyncData[h.value]?.error),refresh:(...e)=>y._asyncData[h.value]?._init?y._asyncData[h.value].execute(...e):x()(),execute:(...e)=>E.refresh(...e),clear:()=>{let e=y._asyncData[h.value];if(e?._abortController)try{e._abortController.abort(new DOMException(`AsyncData aborted by user.`,`AbortError`))}finally{e._abortController=void 0}An(y,h.value)}},D=Promise.resolve(s.lazy?void 0:y._asyncDataPromises[h.value]).then(()=>E);return Object.assign(D,E),Object.defineProperties(D,{then:{enumerable:!0,value:D.then.bind(D)},catch:{enumerable:!0,value:D.catch.bind(D)},finally:{enumerable:!0,value:D.finally.bind(D)}}),D}return t}}var On=Dn();function $(e,t=!1){let n=_({get(){return e()?.value},set(t){let n=e();n&&(n.value=t)}});return t&&(n.__v_isShallow=!0),n}function kn(e,t){return!(typeof e==`string`||typeof e==`object`&&e||typeof e==`function`&&typeof t==`function`)}function An(e,t){delete e.payload.data[t],delete e.payload._errors[t],e._asyncData[t]&&(e._asyncData[t].data.value=f(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 jn(e,t){let n={};for(let r of t)n[r]=e[r];return n}function Mn(e,t,n,r,i){e.payload._errors[t]??=void 0;let a=r.getCachedData!==Pn,o=n,s=r.deep?C:T,l=i!==void 0,u=e.hook(`app:data:refresh`,async e=>{(!e||e.includes(t))&&await d.execute({cause:`refresh:hook`})}),d={data:s(l?i:r.default()),pending:_(()=>d.status.value===`pending`),error:w(e.payload._errors,t),status:T(`idle`),execute:(...n)=>{let[i,a=void 0]=n,s=i&&a===void 0&&typeof i==`object`?i:{};if(e._asyncDataPromises[t]&&(s.dedupe??r.dedupe)===`defer`)return e._asyncDataPromises[t];{let n=`cachedData`in s?s.cachedData:r.getCachedData(t,e,{cause:s.cause??`refresh:manual`});if(n!==void 0)return r.serialize!==!1&&(e.payload.data[t]=n),d.data.value=n,d.error.value=void 0,d.status.value=`success`,Promise.resolve(n)}if(c(r.enabled)===!1)return Promise.resolve(d.data.value);d._abortController&&d._abortController.abort(new DOMException(`AsyncData request cancelled by deduplication`,`AbortError`)),d._abortController=new AbortController,d.status.value=`pending`;let l=new AbortController,u=new Promise((t,n)=>{try{let i=s.timeout??r.timeout,a=Fn([d._abortController?.signal,s?.signal],l.signal,i);if(a.aborted){let e=a.reason;n(e instanceof Error?e:new DOMException(String(e??`Aborted`),`AbortError`));return}a.addEventListener(`abort`,()=>{let e=a.reason;n(e instanceof Error?e:new DOMException(String(e??`Aborted`),`AbortError`))},{once:!0,signal:l.signal});let c={signal:a},u=()=>Promise.resolve(o(e,c));if(r.middleware?.length)for(let e=r.middleware.length-1;e>=0;e--){let t=r.middleware[e],n=u;u=()=>Promise.resolve(t(n,c))}return u().then(t,n)}catch(e){n(e)}}).then(async n=>{if(e._asyncDataPromises[t]!==u)return;let i=n;r.transform&&(i=await r.transform(n)),r.pick&&(i=jn(i,r.pick)),r.serialize!==!1&&(e.payload.data[t]=i),d.data.value=i,d.error.value=void 0,d.status.value=`success`}).catch(n=>{if(e._asyncDataPromises[t]!==u||d._abortController?.signal.aborted)return e._asyncDataPromises[t];if(typeof DOMException<`u`&&n instanceof DOMException&&n.name===`AbortError`)return d.status.value=`idle`,e._asyncDataPromises[t];d.error.value=E(n),d.data.value=f(r.default()),d.status.value=`error`}).finally(()=>{l.abort(),e._asyncDataPromises[t]===u&&delete e._asyncDataPromises[t]});return e._asyncDataPromises[t]=u,e._asyncDataPromises[t]},_execute:Cn((...e)=>d.execute(...e)),_default:r.default,_deps:0,_init:!0,_hash:void 0,_off:()=>{u(),e._asyncData[t]===d&&(e._asyncData[t]?._init&&(e._asyncData[t]._init=!1),e._asyncDataPromises[t]&&(d._abortController?.abort(new DOMException(`AsyncData request cancelled by unmount`,`AbortError`)),delete e._asyncDataPromises[t],d.status.value===`pending`&&(d.status.value=`idle`)),a||S(()=>{e._asyncData[t]?._init||(An(e,t),d.execute=()=>Promise.resolve())}))}};return d}var Nn=()=>void 0,Pn=(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 Fn(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 In=x({name:`NuxtIconSvg`,props:{name:{type:String,required:!0},customize:{type:[Function,Boolean,null],default:null,required:!1}},setup(e,{slots:t}){let n=r(),i=O().icon,a=_n(()=>e.name),s=`i-`+a.value;if(a.value){G();{let e=n.payload.data[s];e?L(a.value,e):dn(L)}}return()=>o(Mt,{icon:a.value,ssr:!0,customise:vn(e.customize,i.customize)},t)}}),Ln=e({default:()=>Rn}),Rn=x({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:t}){let n=r(),i=O().icon,a=_n(()=>e.name),s=_(()=>n.vueApp?.component(a.value)||((e.mode||i.mode)===`svg`?In:Sn)),c=_(()=>{let t=e.size||i.size;return t?{fontSize:Number.isNaN(+t)?t:t+`px`}:null});return()=>o(s.value,{...i.attrs,name:a.value,class:i.class,style:c.value,customize:e.customize},t)}});export{G as a,pt as c,En as i,Ln as n,Nt as o,On as r,Re as s,Rn as t};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{E as e,Lt as t,On as n,Zn as r,_ as i,b as a,et as o,g as s,mt as c,qt as l,tr as u,v as d,xt as f,y as p}from"./DZo3dYLJ.js";import{r as m}from"./oXSDGTSr.js";import{n as h,t as g}from"./Baq-Hrpf.js";import{t as _}from"./
|
|
1
|
+
import{E as e,Lt as t,On as n,Zn as r,_ as i,b as a,et as o,g as s,mt as c,qt as l,tr as u,v as d,xt as f,y as p}from"./DZo3dYLJ.js";import{r as m}from"./oXSDGTSr.js";import{n as h,t as g}from"./Baq-Hrpf.js";import{t as _}from"./D2zrOcWn.js";import{t as v}from"./ChJuu-Ky.js";import{t as y}from"./CQTvWh4i.js";var b={slots:{base:[`group relative block my-5 p-4 sm:p-6 border border-default rounded-md bg-default`,`transition-colors`],icon:`size-6 mb-2 block`,title:`text-highlighted font-semibold`,description:`text-[15px] text-muted *:first:mt-0 *:last:mb-0 *:my-1`,externalIcon:[`size-4 align-top absolute end-2 top-2 text-dimmed pointer-events-none`,`transition-colors`]},variants:{color:{primary:{icon:`text-primary`},secondary:{icon:`text-secondary`},success:{icon:`text-success`},info:{icon:`text-info`},warning:{icon:`text-warning`},error:{icon:`text-error`},neutral:{icon:`text-highlighted`}},to:{true:``},title:{true:{description:`mt-1`}}},compoundVariants:[{color:`primary`,to:!0,class:{base:`hover:bg-primary/10 hover:border-primary outline-primary/25 has-[>a:focus-visible]:outline-3 has-[>a:focus-visible]:border-primary`,externalIcon:`group-hover:text-primary`}},{color:`secondary`,to:!0,class:{base:`hover:bg-secondary/10 hover:border-secondary outline-secondary/25 has-[>a:focus-visible]:outline-3 has-[>a:focus-visible]:border-secondary`,externalIcon:`group-hover:text-secondary`}},{color:`success`,to:!0,class:{base:`hover:bg-success/10 hover:border-success outline-success/25 has-[>a:focus-visible]:outline-3 has-[>a:focus-visible]:border-success`,externalIcon:`group-hover:text-success`}},{color:`info`,to:!0,class:{base:`hover:bg-info/10 hover:border-info outline-info/25 has-[>a:focus-visible]:outline-3 has-[>a:focus-visible]:border-info`,externalIcon:`group-hover:text-info`}},{color:`warning`,to:!0,class:{base:`hover:bg-warning/10 hover:border-warning outline-warning/25 has-[>a:focus-visible]:outline-3 has-[>a:focus-visible]:border-warning`,externalIcon:`group-hover:text-warning`}},{color:`error`,to:!0,class:{base:`hover:bg-error/10 hover:border-error outline-error/25 has-[>a:focus-visible]:outline-3 has-[>a:focus-visible]:border-error`,externalIcon:`group-hover:text-error`}},{color:`neutral`,to:!0,class:{base:`hover:bg-elevated/50 hover:border-inverted outline-inverted/25 has-[>a:focus-visible]:outline-3 has-[>a:focus-visible]:border-inverted`,externalIcon:`group-hover:text-highlighted`}}],defaultVariants:{color:`primary`}},x=Object.assign({inheritAttrs:!1},{__name:`ProseCard`,props:{to:{type:null,required:!1},target:{type:[String,Object,null],required:!1},icon:{type:null,required:!1},title:{type:String,required:!1},description:{type:String,required:!1},color:{type:null,required:!1},class:{type:null,required:!1},ui:{type:Object,required:!1}},setup(x){let S=x,C=t(),w=h(`prose.card`,S),T=m(),E=s(()=>g({extend:b,...T.ui?.prose?.card||{}})({color:w.color,to:!!w.to,title:!!w.title})),D=s(()=>w.target||(w.to&&typeof w.to==`string`&&w.to.startsWith(`http`)?`_blank`:void 0)),O=s(()=>(w.title||`Card link`).trim());return(t,s)=>(c(),a(`div`,o(n(w).to?{}:t.$attrs,{class:E.value.base({class:[n(w).ui?.base,n(w).class]})}),[n(w).to?(c(),d(v,o({key:0,"aria-label":O.value},{to:n(w).to,target:D.value,...t.$attrs},{class:`focus:outline-none`,raw:``}),{default:l(()=>[...s[0]||=[i(`span`,{class:`absolute inset-0`,"aria-hidden":`true`},null,-1)]]),_:1},16,[`aria-label`])):p(``,!0),n(w).icon?(c(),d(_,{key:1,name:n(w).icon,class:r(E.value.icon({class:n(w).ui?.icon}))},null,8,[`name`,`class`])):p(``,!0),n(w).to&&D.value===`_blank`?(c(),d(_,{key:2,name:n(T).ui.icons.external,class:r(E.value.externalIcon({class:n(w).ui?.externalIcon}))},null,8,[`name`,`class`])):p(``,!0),n(w).title||C.title?(c(),a(`p`,{key:3,class:r(E.value.title({class:n(w).ui?.title}))},[y(t.$slots,`title`,{mdcUnwrap:`p`},()=>[e(u(n(w).title),1)])],2)):p(``,!0),C.default?(c(),a(`div`,{key:4,class:r(E.value.description({class:n(w).ui?.description}))},[f(t.$slots,`default`,{},()=>[e(u(n(w).description),1)])],2)):p(``,!0)],16))}});export{x as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{Lt as e,On as t,Zn as n,b as r,et as i,g as a,mt as o,qt as s,tr as c,v as l,xt as u,y as d}from"./DZo3dYLJ.js";import{r as f}from"./oXSDGTSr.js";import{n as p,t as m}from"./Baq-Hrpf.js";import{t as h}from"./CK9_veoz.js";import{t as g}from"./
|
|
1
|
+
import{Lt as e,On as t,Zn as n,b as r,et as i,g as a,mt as o,qt as s,tr as c,v as l,xt as u,y as d}from"./DZo3dYLJ.js";import{r as f}from"./oXSDGTSr.js";import{n as p,t as m}from"./Baq-Hrpf.js";import{t as h}from"./CK9_veoz.js";import{t as g}from"./D2zrOcWn.js";import{a as _,n as v,t as y}from"./CNCQ_RRC.js";var b={slots:{base:`font-medium inline-flex items-center`,label:`truncate`,leadingIcon:`shrink-0`,leadingAvatar:`shrink-0`,leadingAvatarSize:``,trailingIcon:`shrink-0`},variants:{fieldGroup:{horizontal:`not-only:first:rounded-e-none not-only:last:rounded-s-none not-last:not-first:rounded-none focus-visible:z-[1]`,vertical:`not-only:first:rounded-b-none not-only:last:rounded-t-none not-last:not-first:rounded-none focus-visible:z-[1]`},color:{primary:``,secondary:``,success:``,info:``,warning:``,error:``,neutral:``},variant:{solid:``,outline:``,soft:``,subtle:``},size:{xs:{base:`text-[8px]/3 px-1 py-0.5 gap-1 rounded-sm`,leadingIcon:`size-3`,leadingAvatarSize:`3xs`,trailingIcon:`size-3`},sm:{base:`text-[10px]/3 px-1.5 py-1 gap-1 rounded-sm`,leadingIcon:`size-3`,leadingAvatarSize:`3xs`,trailingIcon:`size-3`},md:{base:`text-xs px-2 py-1 gap-1 rounded-md`,leadingIcon:`size-4`,leadingAvatarSize:`3xs`,trailingIcon:`size-4`},lg:{base:`text-sm px-2 py-1 gap-1.5 rounded-md`,leadingIcon:`size-5`,leadingAvatarSize:`2xs`,trailingIcon:`size-5`},xl:{base:`text-base px-2.5 py-1 gap-1.5 rounded-md`,leadingIcon:`size-6`,leadingAvatarSize:`2xs`,trailingIcon:`size-6`}},square:{true:``}},compoundVariants:[{color:`primary`,variant:`solid`,class:`bg-primary text-inverted`},{color:`secondary`,variant:`solid`,class:`bg-secondary text-inverted`},{color:`success`,variant:`solid`,class:`bg-success text-inverted`},{color:`info`,variant:`solid`,class:`bg-info text-inverted`},{color:`warning`,variant:`solid`,class:`bg-warning text-inverted`},{color:`error`,variant:`solid`,class:`bg-error text-inverted`},{color:`primary`,variant:`outline`,class:`text-primary ring ring-inset ring-primary/50`},{color:`secondary`,variant:`outline`,class:`text-secondary ring ring-inset ring-secondary/50`},{color:`success`,variant:`outline`,class:`text-success ring ring-inset ring-success/50`},{color:`info`,variant:`outline`,class:`text-info ring ring-inset ring-info/50`},{color:`warning`,variant:`outline`,class:`text-warning ring ring-inset ring-warning/50`},{color:`error`,variant:`outline`,class:`text-error ring ring-inset ring-error/50`},{color:`primary`,variant:`soft`,class:`bg-primary/10 text-primary`},{color:`secondary`,variant:`soft`,class:`bg-secondary/10 text-secondary`},{color:`success`,variant:`soft`,class:`bg-success/10 text-success`},{color:`info`,variant:`soft`,class:`bg-info/10 text-info`},{color:`warning`,variant:`soft`,class:`bg-warning/10 text-warning`},{color:`error`,variant:`soft`,class:`bg-error/10 text-error`},{color:`primary`,variant:`subtle`,class:`bg-primary/10 text-primary ring ring-inset ring-primary/25`},{color:`secondary`,variant:`subtle`,class:`bg-secondary/10 text-secondary ring ring-inset ring-secondary/25`},{color:`success`,variant:`subtle`,class:`bg-success/10 text-success ring ring-inset ring-success/25`},{color:`info`,variant:`subtle`,class:`bg-info/10 text-info ring ring-inset ring-info/25`},{color:`warning`,variant:`subtle`,class:`bg-warning/10 text-warning ring ring-inset ring-warning/25`},{color:`error`,variant:`subtle`,class:`bg-error/10 text-error ring ring-inset ring-error/25`},{color:`neutral`,variant:`solid`,class:`text-inverted bg-inverted`},{color:`neutral`,variant:`outline`,class:`ring ring-inset ring-accented text-default bg-default`},{color:`neutral`,variant:`soft`,class:`text-default bg-elevated`},{color:`neutral`,variant:`subtle`,class:`ring ring-inset ring-accented text-default bg-elevated`},{size:`xs`,square:!0,class:`p-0.5`},{size:`sm`,square:!0,class:`p-1`},{size:`md`,square:!0,class:`p-1`},{size:`lg`,square:!0,class:`p-1`},{size:`xl`,square:!0,class:`p-1`}],defaultVariants:{color:`primary`,variant:`solid`,size:`md`}},x={__name:`UBadge`,props:{as:{type:null,required:!1,default:`span`},label:{type:[String,Number],required:!1},color:{type:null,required:!1},variant:{type:null,required:!1},size:{type:null,required:!1},square:{type:Boolean,required:!1},class:{type:null,required:!1},ui:{type:Object,required:!1},icon:{type:null,required:!1},avatar:{type:Object,required:!1},leading:{type:Boolean,required:!1},leadingIcon:{type:null,required:!1},trailing:{type:Boolean,required:!1},trailingIcon:{type:null,required:!1}},setup(x){let S=x,C=e(),w=p(`badge`,S),T=f(),{orientation:E,size:D}=_(S),{isLeading:O,isTrailing:k,leadingIconName:A,trailingIconName:j}=y(w),M=a(()=>m({extend:b,...T.ui?.badge||{}})({color:w.color,variant:w.variant,size:D.value??w.size,square:w.square||!C.default&&!w.label,fieldGroup:E.value}));return(e,a)=>(o(),l(t(h),{as:t(w).as,"data-slot":`base`,class:n(M.value.base({class:[t(w).ui?.base,t(w).class]}))},{default:s(()=>[u(e.$slots,`leading`,{ui:M.value},()=>[t(O)&&t(A)?(o(),l(g,{key:0,name:t(A),"data-slot":`leadingIcon`,class:n(M.value.leadingIcon({class:t(w).ui?.leadingIcon}))},null,8,[`name`,`class`])):t(w).avatar?(o(),l(v,i({key:1,size:t(w).ui?.leadingAvatarSize||M.value.leadingAvatarSize()},t(w).avatar,{"data-slot":`leadingAvatar`,class:M.value.leadingAvatar({class:t(w).ui?.leadingAvatar})}),null,16,[`size`,`class`])):d(``,!0)]),u(e.$slots,`default`,{ui:M.value},()=>[t(w).label!==void 0&&t(w).label!==null?(o(),r(`span`,{key:0,"data-slot":`label`,class:n(M.value.label({class:t(w).ui?.label}))},c(t(w).label),3)):d(``,!0)]),u(e.$slots,`trailing`,{ui:M.value},()=>[t(k)&&t(j)?(o(),l(g,{key:0,name:t(j),"data-slot":`trailingIcon`,class:n(M.value.trailingIcon({class:t(w).ui?.trailingIcon}))},null,8,[`name`,`class`])):d(``,!0)])]),_:3},8,[`as`,`class`]))}};export{x as t};
|