showai-reader 0.10.0-reader.ap4b4oap → 0.10.0-reader.bewbunls

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (62) hide show
  1. package/README.md +1 -1
  2. package/chunks/CardGrid-XIOKVIEI.js +2 -0
  3. package/chunks/CommandReference-7FQV6W44.js +3 -0
  4. package/chunks/ComparisonMatrix-LFBHHO3A.js +1 -0
  5. package/chunks/{EventTimeline-JOTYNIMI.js → EventTimeline-TS5HI5GA.js} +1 -1
  6. package/chunks/{ExperimentTracker-CWZCU2QO.js → ExperimentTracker-MSRAHV5J.js} +1 -1
  7. package/chunks/{ExternalDiagram-WFWITA4Q.js → ExternalDiagram-HKK3NBZH.js} +3 -3
  8. package/chunks/{Flowchart-DJGFXDXU.js → Flowchart-VG42T332.js} +1 -1
  9. package/chunks/{G2Chart-YVTXVVRZ.js → G2Chart-QP5UF6HK.js} +2 -2
  10. package/chunks/LayerDiagram-FHPQBNNP.js +2 -0
  11. package/chunks/{Mindmap-SB34H5SG.js → Mindmap-E5X5CQBX.js} +1 -1
  12. package/chunks/RichTextEditor-BA5YF46E.js +156 -0
  13. package/chunks/{Roadmap-BSPT5PBK.js → Roadmap-QWD7IZHX.js} +1 -1
  14. package/chunks/{Scene3D-VILMVRHH.js → Scene3D-Q5MGPU3X.js} +2 -2
  15. package/chunks/SequenceDiagram-AG2F4GAU.js +2 -0
  16. package/chunks/StatusTree-EHNSDOVH.js +1 -0
  17. package/chunks/StepGuide-GUW3ELME.js +1 -0
  18. package/chunks/StructureBrowser-VZYKCSL6.js +3 -0
  19. package/chunks/{Waterfall-FIQDQSMD.js → Waterfall-A5MPISUU.js} +1 -1
  20. package/chunks/chunk-5CTTY5BQ.js +2 -0
  21. package/chunks/chunk-5X5EO4YB.js +9 -0
  22. package/chunks/chunk-7K7GQKOA.js +1 -0
  23. package/chunks/{chunk-DTW4F4AN.js → chunk-BZT4BVM4.js} +1 -1
  24. package/chunks/chunk-GLP5VV7P.js +1 -0
  25. package/chunks/{chunk-VUDDBRCY.js → chunk-JAQUAFGK.js} +2 -2
  26. package/chunks/{chunk-5HKZMSJF.js → chunk-KQR52I3G.js} +8 -8
  27. package/chunks/chunk-L2ZHJIET.js +4 -0
  28. package/chunks/chunk-M5RCHTSV.js +1 -0
  29. package/chunks/{chunk-7FHZWI2R.js → chunk-PTZCSSDG.js} +1 -1
  30. package/chunks/{chunk-5SAGHDIJ.js → chunk-R2RMNI2B.js} +1 -1
  31. package/chunks/{chunk-X6OHYKIW.js → chunk-RHJ236MQ.js} +1 -1
  32. package/chunks/{chunk-ISEW5ABW.js → chunk-RLCYUTAH.js} +1 -1
  33. package/chunks/chunk-UNH6G7NO.js +1 -0
  34. package/chunks/chunk-VSZNYGH7.js +1 -0
  35. package/chunks/chunk-WRXJZR6G.js +349 -0
  36. package/chunks/{chunk-6WTBCWHP.js.LEGAL.txt → chunk-WRXJZR6G.js.LEGAL.txt} +3 -0
  37. package/index.js +1 -1
  38. package/manifest.json +5 -5
  39. package/package.json +1 -1
  40. package/reader-BEWBUNLS.js +51 -0
  41. package/chunks/CardGrid-CXO2U3K5.js +0 -2
  42. package/chunks/CommandReference-E5Y6VMXC.js +0 -3
  43. package/chunks/ComparisonMatrix-TXTUZF55.js +0 -1
  44. package/chunks/LayerDiagram-KDSBIPHG.js +0 -2
  45. package/chunks/RichTextEditor-UH6DBWWT.js +0 -156
  46. package/chunks/SequenceDiagram-W2YQCHNV.js +0 -2
  47. package/chunks/StatusTree-57AOX2U2.js +0 -1
  48. package/chunks/StepGuide-VQRICGFO.js +0 -1
  49. package/chunks/StructureBrowser-PVPAFYTN.js +0 -3
  50. package/chunks/chunk-55FJSXTX.js +0 -1
  51. package/chunks/chunk-6WTBCWHP.js +0 -23
  52. package/chunks/chunk-7TNODUAV.js +0 -4
  53. package/chunks/chunk-GREB3PFJ.js +0 -329
  54. package/chunks/chunk-KYWOOES7.js +0 -2
  55. package/chunks/chunk-TFZIEWR5.js +0 -1
  56. package/chunks/chunk-UWAAPX6Y.js +0 -1
  57. package/reader-AP4B4OAP.js +0 -51
  58. /package/chunks/{G2Chart-YVTXVVRZ.js.LEGAL.txt → G2Chart-QP5UF6HK.js.LEGAL.txt} +0 -0
  59. /package/chunks/{Scene3D-VILMVRHH.js.LEGAL.txt → Scene3D-Q5MGPU3X.js.LEGAL.txt} +0 -0
  60. /package/chunks/{chunk-KYWOOES7.js.LEGAL.txt → chunk-5CTTY5BQ.js.LEGAL.txt} +0 -0
  61. /package/chunks/{chunk-VUDDBRCY.js.LEGAL.txt → chunk-JAQUAFGK.js.LEGAL.txt} +0 -0
  62. /package/{reader-AP4B4OAP.js.LEGAL.txt → reader-BEWBUNLS.js.LEGAL.txt} +0 -0
@@ -1,2 +0,0 @@
1
- import{a as G,d as U}from"./chunk-AIBH6MTQ.js";import{f as ss}from"./chunk-55FJSXTX.js";import{d as Z}from"./chunk-UWAAPX6Y.js";import{a as Q,c as as,jb as Y,mb as J}from"./chunk-6WTBCWHP.js";import{a as V}from"./chunk-J6IRWTF7.js";import{c as B}from"./chunk-DCANE7XH.js";var h=B(as(),1);Q(`.sb-block.sq-block :is(h3,h4,p,ul,ol,li,pre):not(svg){margin:0}.sb-block.sq-block li:not(svg){padding:0}.sb-block.sq-block pre:not(svg){border:0;border-radius:0;background:none;color:inherit}.sb-block.sq-block{--sq-text: var(--sb-text);--sq-muted: var(--sb-muted);--sq-faint: color-mix(in srgb, var(--sb-muted) 70%, transparent);--sq-line: var(--sb-line);--sq-paper: var(--sb-surface);--sq-soft: var(--sb-soft);--sq-accent: var(--sb-accent);--sq-accent-soft: var(--sb-accent-soft);--sq-wire: color-mix(in srgb, var(--sb-muted) 85%, var(--sb-text));--sq-teal: #0d8579;--sq-teal-soft: #e6f4f2;--sq-orange: #bf6528;--sq-orange-soft: #fbefe6;--sq-violet: #7348d0;--sq-violet-soft: #f2edfc;--sq-rose: #c4415a;--sq-rose-soft: #fbebee;--sq-slate: #526476;--sq-slate-soft: #edf1f4;--t: var(--sq-accent);--ts: var(--sq-accent-soft);color:var(--sq-text);font-family:inherit;font-size:14px;line-height:1.65;padding:8px 0;overflow-wrap:anywhere}:root[data-theme=dark] .sb-block.sq-block,[data-theme=dark] .sb-block.sq-block{--sq-teal: #4fc4b6;--sq-teal-soft: #163734;--sq-orange: #e79c64;--sq-orange-soft: #3b2b1e;--sq-violet: #b497ff;--sq-violet-soft: #2e2648;--sq-rose: #f0839a;--sq-rose-soft: #3e222a;--sq-slate: #a2b2c2;--sq-slate-soft: #242d35}.sb-block.sq-block *{box-sizing:border-box}.sb-block.sq-block [data-tone=accent]{--t: var(--sq-accent);--ts: var(--sq-accent-soft)}.sb-block.sq-block [data-tone=teal]{--t: var(--sq-teal);--ts: var(--sq-teal-soft)}.sb-block.sq-block [data-tone=orange]{--t: var(--sq-orange);--ts: var(--sq-orange-soft)}.sb-block.sq-block [data-tone=violet]{--t: var(--sq-violet);--ts: var(--sq-violet-soft)}.sb-block.sq-block [data-tone=rose]{--t: var(--sq-rose);--ts: var(--sq-rose-soft)}.sb-block.sq-block [data-tone=slate]{--t: var(--sq-slate);--ts: var(--sq-slate-soft)}.sb-block.sq-block .sq-top{display:flex;align-items:baseline;justify-content:space-between;gap:16px;margin:0 0 12px}.sb-block.sq-block .sq-title{margin:0;font-size:16px;line-height:1.5;font-weight:650}.sb-block.sq-block .sq-description{margin:2px 0 0;color:var(--sq-muted);font-size:13px}.sb-block.sq-block .sq-hint{flex:none;font-size:12px;color:var(--sq-faint);white-space:nowrap}.sb-block.sq-block code{font-family:var(--mono, ui-monospace, Menlo, Consolas, monospace);font-size:.88em;background:var(--sq-soft);border-radius:4px;padding:1px 5px}.sb-block.sq-block .sq-svg{display:block;max-width:100%;height:auto;overflow:visible;border-radius:6px;user-select:none;-webkit-user-select:none}.sb-block.sq-block .sq-svg:focus{outline:none}.sb-block.sq-block .sq-svg:focus-visible{outline:2px solid var(--sq-accent);outline-offset:2px}.sb-block.sq-block .sq-svg text{font-family:inherit}.sb-block.sq-block .sq-life{stroke:var(--sq-line);stroke-width:1.2;stroke-dasharray:3 4}.sb-block.sq-block .sq-life[data-on]{stroke:var(--t);stroke-opacity:.45;stroke-dasharray:none}.sb-block.sq-block .sq-actor rect{fill:var(--sq-paper);stroke:var(--sq-line)}.sb-block.sq-block .sq-actor[data-on] rect{fill:var(--ts);stroke:var(--t);stroke-width:1.4}.sb-block.sq-block .sq-alabel{fill:var(--sq-text);font-size:14px;font-weight:600}.sb-block.sq-block .sq-asub{fill:var(--sq-muted);font-size:12px}.sb-block.sq-block .sq-icon{font-size:15px}.sb-block.sq-block .sq-band{fill:var(--sq-accent-soft);opacity:.6}.sb-block.sq-block .sq-step{cursor:pointer;transition:opacity .2s ease}.sb-block.sq-block .sq-hit{fill:transparent}.sb-block.sq-block .sq-line{fill:none;stroke:var(--sq-wire);stroke-width:1.4;stroke-linejoin:round}.sb-block.sq-block .sq-line[data-reply]{stroke-dasharray:5 4}.sb-block.sq-block .sq-head{fill:var(--sq-wire)}.sb-block.sq-block .sq-open{fill:none;stroke:var(--sq-wire);stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round}.sb-block.sq-block .sq-label{fill:var(--sq-text);font-size:13px;font-weight:500}.sb-block.sq-block .sq-note{fill:var(--sq-orange-soft);stroke:var(--sq-orange);stroke-opacity:.35}.sb-block.sq-block .sq-num circle{fill:var(--sq-paper);stroke:var(--sq-line)}.sb-block.sq-block .sq-num text{fill:var(--sq-muted);font-size:11.5px;font-weight:600;font-variant-numeric:tabular-nums}.sb-block.sq-block .sq-step[data-state=todo]{opacity:.3}.sb-block.sq-block .sq-step[data-state=todo]:hover{opacity:.55}.sb-block.sq-block .sq-step[data-state=cur] .sq-line{stroke:var(--sq-accent);stroke-width:2}.sb-block.sq-block .sq-step[data-state=cur] .sq-head{fill:var(--sq-accent)}.sb-block.sq-block .sq-step[data-state=cur] .sq-open{stroke:var(--sq-accent);stroke-width:2}.sb-block.sq-block .sq-step[data-state=cur] .sq-label{font-weight:650}.sb-block.sq-block .sq-step[data-state=cur] .sq-num circle{fill:var(--sq-accent);stroke:var(--sq-accent)}.sb-block.sq-block .sq-step[data-state=cur] .sq-num text{fill:var(--sq-paper)}.sb-block.sq-block .sq-step[data-state=cur] .sq-note{stroke-opacity:.8}.sb-block.sq-block .sq-actor rect,.sb-block.sq-block .sq-life{transition:fill .2s ease,stroke .2s ease}.sb-block.sq-block .sq-panel{margin-top:14px;border:1px solid var(--sq-line);border-radius:10px;background:var(--sq-soft);overflow:hidden}.sb-block.sq-block .sq-bar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px 12px;padding:10px 12px}.sb-block.sq-block .sq-buttons{display:flex;flex-wrap:wrap;gap:6px}.sb-block.sq-block .sq-buttons button{display:inline-flex;align-items:center;gap:6px;font:inherit;font-size:13px;line-height:1;color:var(--sq-text);background:var(--sq-paper);border:1px solid var(--sq-line);border-radius:6px;padding:7px 11px 7px 9px;cursor:pointer;transition:border-color .15s ease}.sb-block.sq-block .sq-buttons button:hover:not(:disabled){border-color:var(--sq-muted)}.sb-block.sq-block .sq-buttons button:disabled{color:var(--sq-faint);cursor:default}.sb-block.sq-block .sq-buttons svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.sb-block.sq-block .sq-buttons svg .sq-fill{fill:currentColor;stroke:none}.sb-block.sq-block .sq-buttons .sq-play{background:var(--sq-accent);border-color:var(--sq-accent);color:var(--sq-paper)}.sb-block.sq-block .sq-buttons .sq-play:disabled{opacity:.5;color:var(--sq-paper)}.sb-block.sq-block .sq-buttons button:focus-visible,.sb-block.sq-block .sq-list button:focus-visible,.sb-block.sq-block a:focus-visible{outline:2px solid var(--sq-accent);outline-offset:2px}.sb-block.sq-block .sq-count{font-size:12px;color:var(--sq-muted);font-variant-numeric:tabular-nums;white-space:nowrap}.sb-block.sq-block .sq-progress{height:2px;background:var(--sq-line)}.sb-block.sq-block .sq-progress i{display:block;height:100%;background:var(--sq-accent);transition:width .25s ease}.sb-block.sq-block .sq-detail{padding:14px 18px 16px;background:var(--sq-paper)}.sb-block.sq-block .sq-meta,.sb-block.sq-block .sq-route{display:flex;align-items:center;flex-wrap:wrap;gap:5px 6px;font-size:12px;color:var(--sq-muted)}.sb-block.sq-block .sq-meta em,.sb-block.sq-block .sq-route em{font-style:normal;font-size:12px;color:var(--sq-faint);margin-left:2px}.sb-block.sq-block .sq-detail h4{margin:8px 0 4px;font-size:15px;line-height:1.5;font-weight:650}.sb-block.sq-block .sq-md p{margin:0 0 6px;font-size:14px;line-height:1.7}.sb-block.sq-block .sq-md p:last-child{margin-bottom:0}.sb-block.sq-block .sq-md strong{font-weight:650}.sb-block.sq-block .sq-md a{color:var(--sq-accent);text-underline-offset:3px}.sb-block.sq-block .sq-lnum{flex:none;display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;border-radius:50%;background:var(--sq-accent);color:var(--sq-paper);font-size:11.5px;font-weight:600;font-variant-numeric:tabular-nums}.sb-block.sq-block .sq-chip{display:inline-flex;align-items:center;gap:5px;font-size:12px;line-height:1;padding:4px 8px;border-radius:6px;background:var(--ts);color:var(--t);font-weight:600;white-space:nowrap}.sb-block.sq-block .sq-arrow{color:var(--sq-faint);font-size:13px}.sb-block.sq-block .sq-cast{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:10px}.sb-block.sq-block .sq-panel-bar{margin:0 0 10px}.sb-block.sq-block .sq-panel-bar .sq-buttons button{padding:7px 9px}.sb-block.sq-block .sq-list{list-style:none;margin:0;padding:0;position:relative}.sb-block.sq-block .sq-list:before{content:"";position:absolute;left:21px;top:16px;bottom:16px;width:1px;background:var(--sq-line)}.sb-block.sq-block .sq-list li{position:relative;border-radius:10px;transition:opacity .2s ease}.sb-block.sq-block .sq-list li[data-state=todo]{opacity:.5}.sb-block.sq-block .sq-list li[data-state=cur]{background:var(--sq-soft);box-shadow:inset 0 0 0 1px var(--sq-line)}.sb-block.sq-block .sq-list button{display:flex;align-items:flex-start;gap:12px;width:100%;font:inherit;text-align:left;color:inherit;background:none;border:0;padding:10px;cursor:pointer;border-radius:10px}.sb-block.sq-block .sq-list .sq-lnum{position:relative;margin-top:1px;background:var(--sq-paper);color:var(--sq-muted);box-shadow:inset 0 0 0 1px var(--sq-line)}.sb-block.sq-block .sq-list li[data-state=cur] .sq-lnum{background:var(--sq-accent);color:var(--sq-paper);box-shadow:none}.sb-block.sq-block .sq-lbody{flex:1;min-width:0;display:grid;gap:5px}.sb-block.sq-block .sq-ltitle{font-size:14px;line-height:1.5;font-weight:500}.sb-block.sq-block .sq-list li[data-state=cur] .sq-ltitle{font-weight:650}.sb-block.sq-block .sq-ldetail{padding:0 14px 12px 44px}.sb-block.sq-block .sq-static{display:none}@media(prefers-reduced-motion:reduce){.sb-block.sq-block .sq-step,.sb-block.sq-block .sq-actor rect,.sb-block.sq-block .sq-life,.sb-block.sq-block .sq-progress i,.sb-block.sq-block .sq-list li,.sb-block.sq-block .sq-buttons button{transition:none}}@media print{.sb-block.sq-block .sq-hint,.sb-block.sq-block .sq-panel,.sb-block.sq-block .sq-list,.sb-block.sq-block .sq-cast{display:none}.sb-block.sq-block .sq-step[data-state]{opacity:1}.sb-block.sq-block .sq-band{display:none}.sb-block.sq-block .sq-actor[data-on] rect{fill:var(--sq-paper);stroke:var(--sq-line);stroke-width:1}.sb-block.sq-block .sq-life[data-on]{stroke:var(--sq-line);stroke-opacity:1;stroke-dasharray:3 4}.sb-block.sq-block .sq-step[data-state=cur] .sq-line,.sb-block.sq-block .sq-step[data-state=cur] .sq-open{stroke:var(--sq-wire);stroke-width:1.4}.sb-block.sq-block .sq-step[data-state=cur] .sq-head{fill:var(--sq-wire)}.sb-block.sq-block .sq-step[data-state=cur] .sq-num circle{fill:var(--sq-paper);stroke:var(--sq-line)}.sb-block.sq-block .sq-step[data-state=cur] .sq-num text{fill:var(--sq-muted)}.sb-block.sq-block .sq-static{display:block;margin-top:12px}.sb-block.sq-block .sq-static-title{margin:0 0 6px;font-weight:650}.sb-block.sq-block .sq-static ol{margin:0;padding-left:22px}.sb-block.sq-block .sq-static li{break-inside:avoid;margin-bottom:8px}.sb-block.sq-block .sq-static b{display:block;font-weight:600}}
2
- `);var ts=V("sequenceDiagram",{"zh-CN":{title:"\u65F6\u5E8F\u56FE",diagram:"\u65F6\u5E8F\u56FE\uFF0C\u5171 {count} \u6B65\u3002\u65B9\u5411\u952E\u5207\u6362\u6B65\u9AA4\uFF0CHome / End \u8DF3\u5230\u9996\u5C3E\u3002",controls:"\u6B65\u9AA4\u63A7\u5236",prev:"\u4E0A\u4E00\u6B65",next:"\u4E0B\u4E00\u6B65",play:"\u64AD\u653E",pause:"\u6682\u505C",restart:"\u91CD\u6765",count:"\u7B2C {current} / {total} \u6B65",hint:"\u70B9\u51FB\u7BAD\u5934\u8DF3\u5230\u8BE5\u6B65 \xB7 \u65B9\u5411\u952E\u5207\u6362",reply:"\u8FD4\u56DE",note:"\u5907\u6CE8",stepTitle:"{number}. {from} \u2192 {to}\uFF1A{label}",allSteps:"\u5168\u90E8\u6B65\u9AA4",actors:"\u53C2\u4E0E\u8005"},en:{title:"Sequence diagram",diagram:"Sequence diagram with {count} steps. Arrow keys change the step; Home and End jump to the ends.",controls:"Step controls",prev:"Previous",next:"Next",play:"Play",pause:"Pause",restart:"Restart",count:"Step {current} of {total}",hint:"Click an arrow to jump \xB7 arrow keys to step",reply:"reply",note:"note",stepTitle:"{number}. {from} \u2192 {to}: {label}",allSteps:"All steps",actors:"Participants"}});var s=B(Y(),1),ls=1600,ns=46,rs=56,es="system-ui, -apple-system, sans-serif";function F({source:e}){return(0,s.jsx)(s.Fragment,{children:U(e).map((o,l)=>(0,s.jsx)("p",{children:(0,s.jsx)(ss,{source:o})},l))})}var j;function cs(e){return j===void 0&&(j=typeof document>"u"?null:document.createElement("canvas").getContext("2d")),(o,l,b=400)=>{if(j)return j.font=`${b} ${l}px ${e}`,j.measureText(o).width;let n=0;for(let m of o)n+=/[\u2e80-\uffff]/.test(m)?l:l*.58;return n}}function K(e,o,l,b,n=400){if(e(o,b,n)<=l)return o;let m=Array.from(o),N=0,S=m.length;for(;N<S;){let H=N+S+1>>1;e(`${m.slice(0,H).join("")}\u2026`,b,n)<=l?N=H:S=H-1}return`${m.slice(0,N).join("").trimEnd()}\u2026`}function is(e){let o=(Array.isArray(e.actors)?e.actors:[]).map(n=>({...n,tone:G.includes(n.tone)?n.tone:"accent"})),l=new Map(o.map((n,m)=>[n.id,m])),b=[];for(let n of Array.isArray(e.steps)?e.steps:[]){let m=l.get(n.from),N=l.get(n.to);m===void 0||N===void 0||b.push({...n,a:m,b:N,kind:n.kind==="reply"||n.kind==="note"?n.kind:"call"})}return{actors:o,steps:b}}var bs={prev:(0,s.jsx)("path",{d:"M10 3.5 5.5 8l4.5 4.5"}),next:(0,s.jsx)("path",{d:"M6 3.5 10.5 8 6 12.5"}),play:(0,s.jsx)("path",{className:"sq-fill",d:"M5 3.2v9.6L12.6 8z"}),pause:(0,s.jsx)("path",{className:"sq-fill",d:"M4.5 3.5h2.4v9H4.5zM9.1 3.5h2.4v9H9.1z"}),restart:(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("path",{d:"M3.5 8a4.5 4.5 0 1 0 1.4-3.3"}),(0,s.jsx)("path",{d:"M4.6 2.2v2.7h2.7"})]})},I=({name:e})=>(0,s.jsx)("svg",{viewBox:"0 0 16 16","aria-hidden":"true",children:bs[e]});function X({actor:e}){return(0,s.jsxs)("span",{className:"sq-chip","data-tone":e.tone,children:[e.icon&&(0,s.jsx)("span",{"aria-hidden":"true",children:e.icon}),e.label]})}function _({step:e,actors:o,t:l}){return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(X,{actor:o[e.a]}),e.a!==e.b&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("span",{className:"sq-arrow","aria-hidden":"true",children:e.kind==="note"?"\xB7":"\u2192"}),(0,s.jsx)(X,{actor:o[e.b]})]}),e.kind!=="call"&&(0,s.jsx)("em",{children:l(e.kind)})]})}function os(e,o,l){return e.key==="Home"?0:e.key==="End"?l-1:e.key==="ArrowRight"||e.key==="ArrowDown"?Math.min(l-1,o+1):e.key==="ArrowLeft"||e.key==="ArrowUp"?Math.max(0,o-1):null}function ps({actors:e,steps:o,width:l,current:b,measure:n,go:m,label:N,stepTitle:S}){let T=(l-8)/e.length,L=t=>4+T*(t+.5),W=e.some(t=>t.sub)?58:42,D=Math.min(T-12,176),v=[],P=W+16;for(let t of o){let c=t.kind!=="note"&&t.a===t.b?rs:ns;v.push({top:P,h:c,y:P+30}),P+=c}let f=P+14,p=o[b],O=new Set(p?[p.a,p.b]:[]),z=(t,c,q)=>(0,s.jsxs)("g",{className:"sq-num",children:[(0,s.jsx)("circle",{cx:t,cy:c,r:10}),(0,s.jsx)("text",{x:t,y:c+4,textAnchor:"middle",children:q+1})]});return(0,s.jsxs)("svg",{className:"sq-svg",width:l,height:f,viewBox:`0 0 ${l} ${f}`,tabIndex:0,role:"group","aria-label":N,onKeyDown:t=>{let c=os(t,b,o.length);c!==null&&(t.preventDefault(),m(c))},children:[e.map((t,c)=>(0,s.jsx)("line",{className:"sq-life","data-tone":t.tone,"data-on":O.has(c)?"":void 0,x1:L(c),x2:L(c),y1:W,y2:f-4},t.id)),p&&(0,s.jsx)("rect",{className:"sq-band",x:2,y:v[b].top+3,width:l-4,height:v[b].h-6,rx:8}),e.map((t,c)=>{let q=L(c),M=t.icon?26:0,r=K(n,t.label,D-20-M,14,600),w=q-(n(r,14,600)+M)/2,y=t.sub?K(n,t.sub,D-16,12):"",g=t.sub?24:W/2+5;return(0,s.jsxs)("g",{className:"sq-actor","data-tone":t.tone,"data-on":O.has(c)?"":void 0,children:[(0,s.jsx)("rect",{x:q-D/2,y:1,width:D,height:W-2,rx:10}),t.icon&&(0,s.jsx)("text",{className:"sq-icon",x:w+9,y:g,textAnchor:"middle",children:t.icon}),(0,s.jsx)("text",{className:"sq-alabel",x:w+M,y:g,children:r}),y&&(0,s.jsx)("text",{className:"sq-asub",x:q,y:g+19,textAnchor:"middle",children:y}),(0,s.jsx)("title",{children:t.sub?`${t.label} \xB7 ${t.sub}`:t.label})]},t.id)}),o.map((t,c)=>{let q=v[c],M=c<b?"done":c===b?"cur":"todo",r=L(t.a),w=L(t.b),y=13,g=M==="cur"?600:500,a,i;if(t.kind==="note"){let k=Math.min(r,w),$=Math.max(r,w),x=n(t.label,y,g)+52,d,u;if(t.a===t.b){let E=Math.min(x,T-8);d=k-E/2,u=k+E/2}else if(d=k-T*.36,u=$+T*.36,u-d<x){let E=(k+$)/2;d=E-x/2,u=E+x/2}d=Math.max(4,d),u=Math.min(l-4,u);let C=K(n,t.label,u-d-52,y,g),R=27+n(C,y,g),A=(d+u)/2-R/2;a=(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("rect",{className:"sq-note",x:d,y:q.top+8,width:u-d,height:30,rx:6}),z(A+10,q.top+23,c),(0,s.jsx)("text",{className:"sq-label",x:A+27,y:q.top+27.5,children:C})]}),i={x:d,w:u-d}}else if(t.a===t.b){let k=r+74+n(t.label,y,g)<l-4||r<l/2,$=k?1:-1,x=q.top+16,d=q.top+40,u=r+$*30,C=K(n,t.label,k?l-4-(r+70):r-74,y,g),R=27+n(C,y,g),A=k?r+44:r-44-R;a=(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("path",{className:"sq-line","data-reply":t.kind==="reply"?"":void 0,d:`M${r},${x}H${u-$*6}Q${u},${x} ${u},${x+6}V${d-6}Q${u},${d} ${u-$*6},${d}H${r+$*8}`}),(0,s.jsx)("path",{className:"sq-head",d:`M${r+$},${d}l${$*8},-4.5v9z`}),z(A+10,(x+d)/2,c),(0,s.jsx)("text",{className:"sq-label",x:A+27,y:(x+d)/2+4.5,children:C})]});let E=k?r-8:A-4;i={x:E,w:(k?A+R+8:r+8)-E}}else{let k=w>r?1:-1,$=r+k*2,x=w-k*2,d=K(n,t.label,Math.max(84,Math.abs(w-r)+T*.4-36),y,g),u=27+n(d,y,g),C=Math.max(4,Math.min(l-4-u,(r+w)/2-u/2)),R=t.kind==="reply";a=(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("path",{className:"sq-line","data-reply":R?"":void 0,d:`M${$},${q.y}H${x-k*(R?1:7)}`}),R?(0,s.jsx)("path",{className:"sq-open",d:`M${x-k*8},${q.y-5}L${x},${q.y}L${x-k*8},${q.y+5}`}):(0,s.jsx)("path",{className:"sq-head",d:`M${x},${q.y}l${-k*8},-4.5v9z`}),z(C+10,q.y-15,c),(0,s.jsx)("text",{className:"sq-label",x:C+27,y:q.y-10.5,children:d})]});let A=Math.min(r,w,C)-6;i={x:A,w:Math.max(r,w,C+u)+6-A}}return(0,s.jsxs)("g",{className:"sq-step","data-state":M,"data-kind":t.kind,onClick:()=>m(c),children:[(0,s.jsx)("rect",{className:"sq-hit",x:i.x,y:q.top+2,width:i.w,height:q.h-4}),a,(0,s.jsx)("title",{children:S(t,c)})]},c)})]})}function vs({data:e}){let o=J(ts),l=e,{actors:b,steps:n}=(0,h.useMemo)(()=>is(l),[l]),m=(0,h.useRef)(null),N=(0,h.useRef)(null),[S,H]=(0,h.useState)(800),[T,L]=(0,h.useState)(es),[W,D]=(0,h.useState)(0),[v,P]=(0,h.useState)(!1),f=n.length,p=Math.min(W,Math.max(0,f-1));(0,h.useEffect)(()=>{let a=m.current;if(!a)return;L(getComputedStyle(a).fontFamily||es);let i=()=>H(Math.floor(a.clientWidth));if(i(),typeof ResizeObserver!="function")return;let k=new ResizeObserver(i);return k.observe(a),()=>k.disconnect()},[]),(0,h.useEffect)(()=>{if(!v)return;let a=setInterval(()=>D(i=>Math.min(i+1,f-1)),ls);return()=>clearInterval(a)},[v,f]),(0,h.useEffect)(()=>{v&&p>=f-1&&P(!1)},[p,v,f]);let O=(0,h.useMemo)(()=>cs(T),[T]),z=a=>{P(!1),D(Math.max(0,Math.min(f-1,a)))},t=()=>{if(v)return P(!1);p>=f-1&&D(0),P(!0)},c=(a,i)=>o("stepTitle",{number:i+1,from:b[a.a].label,to:b[a.b].label,label:a.label}),q=Z(l.title,o("title")),M=S<640||(S-8)/Math.max(1,b.length)<96,r=n[p],w=a=>a<p?"done":a===p?"cur":"todo",y=(0,s.jsxs)("div",{className:"sq-bar",children:[(0,s.jsxs)("div",{className:"sq-buttons",role:"group","aria-label":o("controls"),children:[(0,s.jsxs)("button",{type:"button",onClick:()=>z(p-1),disabled:p===0,children:[(0,s.jsx)(I,{name:"prev"}),(0,s.jsx)("span",{children:o("prev")})]}),(0,s.jsxs)("button",{type:"button",onClick:()=>z(p+1),disabled:p>=f-1,children:[(0,s.jsx)(I,{name:"next"}),(0,s.jsx)("span",{children:o("next")})]}),(0,s.jsxs)("button",{type:"button",className:"sq-play","aria-pressed":v,onClick:t,disabled:f<2,children:[(0,s.jsx)(I,{name:v?"pause":"play"}),(0,s.jsx)("span",{children:o(v?"pause":"play")})]}),(0,s.jsxs)("button",{type:"button",onClick:()=>z(0),disabled:p===0&&!v,children:[(0,s.jsx)(I,{name:"restart"}),(0,s.jsx)("span",{children:o("restart")})]})]}),(0,s.jsx)("span",{className:"sq-count","aria-live":"polite",children:o("count",{current:p+1,total:f})})]}),g=(0,s.jsx)("div",{className:"sq-progress","aria-hidden":"true",children:(0,s.jsx)("i",{style:{width:`${(p+1)/Math.max(1,f)*100}%`}})});return(0,s.jsxs)("section",{className:"sb-block sq-block","aria-label":q,ref:m,"data-narrow":M?"":void 0,children:[(l.title||l.description||!M)&&(0,s.jsxs)("div",{className:"sq-top",children:[(0,s.jsxs)("div",{children:[l.title&&(0,s.jsx)("h3",{className:"sq-title",children:l.title}),l.description&&(0,s.jsx)("p",{className:"sq-description",children:l.description})]}),!M&&f>0&&(0,s.jsx)("span",{className:"sq-hint",children:o("hint")})]}),r&&(M?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("div",{className:"sq-cast","aria-label":o("actors"),children:b.map(a=>(0,s.jsx)(X,{actor:a},a.id))}),(0,s.jsxs)("div",{className:"sq-panel sq-panel-bar",children:[y,g]}),(0,s.jsx)("ol",{className:"sq-list",ref:N,onKeyDown:a=>{let i=os(a,p,f);i!==null&&(a.preventDefault(),z(i),N.current?.querySelectorAll("button")[i]?.focus())},children:n.map((a,i)=>(0,s.jsxs)("li",{"data-state":w(i),"data-kind":a.kind,children:[(0,s.jsxs)("button",{type:"button","aria-current":i===p?"step":void 0,onClick:()=>z(i),children:[(0,s.jsx)("span",{className:"sq-lnum",children:i+1}),(0,s.jsxs)("span",{className:"sq-lbody",children:[(0,s.jsx)("span",{className:"sq-route",children:(0,s.jsx)(_,{step:a,actors:b,t:o})}),(0,s.jsx)("span",{className:"sq-ltitle",children:a.label})]})]}),i===p&&a.detail&&(0,s.jsx)("div",{className:"sq-ldetail sq-md",children:(0,s.jsx)(F,{source:a.detail})})]},i))})]}):(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(ps,{actors:b,steps:n,width:S,current:p,measure:O,go:z,label:o("diagram",{count:f}),stepTitle:c}),(0,s.jsxs)("div",{className:"sq-panel",children:[y,g,(0,s.jsxs)("div",{className:"sq-detail","aria-live":"polite",children:[(0,s.jsxs)("div",{className:"sq-meta",children:[(0,s.jsx)("span",{className:"sq-lnum",children:p+1}),(0,s.jsx)(_,{step:r,actors:b,t:o})]}),(0,s.jsx)("h4",{children:r.label}),r.detail&&(0,s.jsx)("div",{className:"sq-md",children:(0,s.jsx)(F,{source:r.detail})})]})]})]})),(0,s.jsxs)("div",{className:"sq-static",children:[(0,s.jsx)("p",{className:"sq-static-title",children:o("allSteps")}),(0,s.jsx)("ol",{children:n.map((a,i)=>(0,s.jsxs)("li",{children:[(0,s.jsx)("div",{className:"sq-route",children:(0,s.jsx)(_,{step:a,actors:b,t:o})}),(0,s.jsx)("b",{children:a.label}),a.detail&&(0,s.jsx)("div",{className:"sq-md",children:(0,s.jsx)(F,{source:a.detail})})]},i))})]})]})}export{F as DetailText,vs as SequenceDiagramBlock};
@@ -1 +0,0 @@
1
- import{a as H}from"./chunk-5SAGHDIJ.js";import{a as x,d as U}from"./chunk-KF47DKNH.js";import{d as z}from"./chunk-UWAAPX6Y.js";import{c as ee,jb as O,mb as q}from"./chunk-6WTBCWHP.js";import"./chunk-J6IRWTF7.js";import{c as L}from"./chunk-DCANE7XH.js";var m=L(ee(),1);var t=L(O(),1),R={done:"\u2713",failed:"\u2715",active:"\u25CF",todo:"\u25CB",paused:"\u2016"},X={done:["var(--an-good)","var(--an-good-soft)"],failed:["var(--an-bad)","var(--an-bad-soft)"],active:["var(--an-info)","var(--an-info-soft)"],todo:["var(--an-idle)","var(--an-idle-soft)"],paused:["var(--an-warn)","var(--an-warn-soft)"]},v=s=>({"--tone":s.color??X[s.tone][0],"--tone-soft":s.color?`color-mix(in srgb, ${s.color} 14%, transparent)`:X[s.tone][1]}),te=new Map(x.map(s=>[s.id,s.label])),se={done:"tree.status.done",active:"tree.status.active",failed:"tree.status.failed",todo:"tree.status.todo",paused:"tree.status.paused"};function ae(s,o){let a=se[s.id];return a&&te.get(s.id)===s.label?{...s,label:o(a)}:s}function ne(){let s=(0,m.useRef)(null),[o,a]=(0,m.useState)(800);return(0,m.useEffect)(()=>{let r=s.current;if(!r)return;let d=new ResizeObserver(([c])=>a(c.contentRect.width));return d.observe(r),()=>d.disconnect()},[]),[s,o]}function Y({items:s,statuses:o,height:a}){return(0,t.jsx)("div",{className:"an-bar",style:a?{height:a,borderRadius:a/2}:void 0,children:o.map(r=>{let d=s.filter(c=>c.status===r.id).length;return d?(0,t.jsx)("div",{style:{...v(r),width:`${d/s.length*100}%`,background:"var(--tone)"}},r.id):null})})}function ue({data:s}){let o=q(H),a=s,r=(a.statuses??x).map(e=>ae(e,o)),d=new Map(r.map(e=>[e.id,e])),c=a.groups.flatMap(e=>e.items),G=U(a),[V,E]=ne(),[g,J]=(0,m.useState)(()=>(c.find(e=>d.get(e.status)?.tone==="active")??c[0])?.id??""),[h,Q]=(0,m.useState)(null),k=E<980?E:E-316,b=!!a.root&&k>760,N=b?150:0,W=200,D=b?46:36,y=b?N+D:0,S=y+W+D,I=Math.max(180,k-S),K=38,P=16,p=0,A=[],$=[];for(let e of a.groups){let n=p;for(let l of e.items)A.push({item:l,y:p+K/2,group:e}),p+=K;$.push({group:e,y:(n+p)/2,top:n,bottom:p}),p+=P}let C=Math.max(0,p-P),B=C/2,i=c.find(e=>e.id===g),_=a.groups.find(e=>e.items.some(n=>n.id===g)),f=i?d.get(i.status):void 0,F=e=>h!==null&&e.status!==h;return(0,t.jsxs)("section",{className:"sb-block an-block","aria-label":z(a.title,o("tree.title")),children:[(0,t.jsxs)("div",{className:"an-head",children:[a.title&&(0,t.jsx)("h3",{className:"an-title",children:a.title}),a.description&&(0,t.jsx)("p",{className:"an-sub",children:a.description}),(0,t.jsx)("div",{className:"an-tools",role:"group","aria-label":o("tree.highlightByStatus"),children:r.map(e=>(0,t.jsx)("button",{type:"button",className:"an-chip",style:{...v(e),color:"var(--tone)"},"aria-pressed":h===e.id,onClick:()=>Q(h===e.id?null:e.id),children:`${R[e.tone]} ${e.label} ${G[e.id]??0}`},e.id))})]}),(0,t.jsxs)("div",{className:"an-tree-layout",ref:V,children:[(0,t.jsxs)("div",{className:"an-tree",style:{height:C,width:k},children:[(0,t.jsxs)("svg",{width:k,height:C,"aria-hidden":"true",children:[b&&$.map(({group:e,y:n})=>{let l=(N+y)/2;return(0,t.jsx)("path",{d:`M${N},${B} C${l},${B} ${l},${n} ${y},${n}`,fill:"none",stroke:"var(--an-line)",strokeWidth:1.5},e.id)}),A.map(({item:e,y:n,group:l})=>{let w=$.find(j=>j.group.id===l.id),u=d.get(e.status),T=y+W,M=(T+S)/2,Z=u.tone==="todo"||u.tone==="paused";return(0,t.jsx)("path",{d:`M${T},${w.y} C${M},${w.y} ${M},${n} ${S},${n}`,fill:"none",style:v(u),stroke:"var(--tone)",strokeOpacity:F(e)?.12:Z?.45:.7,strokeWidth:e.id===g?2.5:1.6,strokeDasharray:u.tone==="failed"||u.tone==="todo"?"4 4":void 0},e.id)})]}),b&&(0,t.jsxs)("div",{className:"an-root",style:{left:0,top:B-60,width:N,height:120},children:[(0,t.jsx)("small",{children:o("tree.question")}),a.root]}),$.map(({group:e,y:n,top:l,bottom:w})=>{let u=Math.max(56,Math.min(w-l-6,92)),T=e.items.filter(M=>d.get(M.status)?.tone==="done").length;return(0,t.jsxs)("div",{className:"an-group",style:{left:y,top:n-u/2,width:W,height:u},children:[(0,t.jsxs)("div",{className:"an-group-top",children:[(0,t.jsx)("b",{children:e.label}),(0,t.jsxs)("span",{children:[T,"/",e.items.length]})]}),e.summary&&u>70&&(0,t.jsx)("div",{className:"an-group-summary",children:e.summary}),(0,t.jsx)(Y,{items:e.items,statuses:r})]},e.id)}),A.map(({item:e,y:n})=>{let l=d.get(e.status);return(0,t.jsxs)("button",{type:"button",className:`an-item an-st-${l.tone}${e.id===g?" is-selected":""}${F(e)?" is-dim":""}`,style:{...v(l),left:S,top:n-15,width:I,height:30},"aria-pressed":e.id===g,onClick:()=>J(e.id),children:[(0,t.jsx)("span",{className:"an-mark","aria-label":l.label,children:R[l.tone]}),(0,t.jsx)("span",{className:"an-item-label",children:e.label}),e.result&&I>420&&(0,t.jsx)("span",{className:"an-item-result",children:e.result}),e.source&&(0,t.jsx)("span",{className:"an-item-source",children:e.source})]},e.id)})]}),i&&f&&(0,t.jsxs)("aside",{className:"an-detail","aria-live":"polite",children:[(0,t.jsxs)("div",{className:"an-panel",children:[_&&(0,t.jsx)("div",{className:"an-sub",children:_.label}),(0,t.jsx)("h4",{children:i.label}),(0,t.jsxs)("span",{className:"an-pill",style:v(f),children:[R[f.tone]," ",f.label]}),i.source&&(0,t.jsxs)("span",{className:"an-sub",children:[" \xB7 ",o("tree.source",{source:i.source})]}),i.detail&&(0,t.jsxs)("div",{className:"an-field",children:[(0,t.jsx)("small",{children:o("tree.detail")}),i.detail]}),i.result&&(0,t.jsxs)("div",{className:"an-result-box",style:v(f),children:[(0,t.jsx)("small",{style:{color:"var(--tone)",fontWeight:600},children:o("tree.result")}),(0,t.jsx)("div",{children:i.result})]}),i.links&&i.links.length>0&&(0,t.jsxs)("div",{className:"an-field",children:[(0,t.jsx)("small",{children:o("tree.links")}),(0,t.jsx)("div",{className:"an-tags",children:i.links.map(e=>(0,t.jsx)("span",{className:"an-tag",children:e},e))})]})]}),(0,t.jsxs)("div",{className:"an-panel",children:[(0,t.jsx)("p",{className:"an-panel-title",children:o("tree.overall")}),(0,t.jsx)(Y,{items:c,statuses:r,height:10}),(0,t.jsx)("div",{className:"an-legend",children:r.map(e=>(0,t.jsxs)("span",{style:v(e),children:[(0,t.jsx)("b",{children:R[e.tone]})," ",e.label," ",G[e.id]??0]},e.id))})]})]})]}),(0,t.jsxs)("details",{className:"an-static",children:[(0,t.jsx)("summary",{children:o("tree.readAll",{count:c.length})}),a.groups.map(e=>(0,t.jsxs)("div",{children:[(0,t.jsx)("h4",{children:e.label}),(0,t.jsx)("ul",{children:e.items.map(n=>(0,t.jsxs)("li",{children:[(0,t.jsx)("b",{children:d.get(n.status)?.label})," \xB7"," ",n.result?o("tree.itemResult",{label:n.label,result:n.result}):n.label]},n.id))})]},e.id))]})]})}export{ue as StatusTreeBlock};
@@ -1 +0,0 @@
1
- import{a,b}from"./chunk-7TNODUAV.js";import"./chunk-DTW4F4AN.js";import"./chunk-55FJSXTX.js";import"./chunk-UWAAPX6Y.js";import"./chunk-6WTBCWHP.js";import"./chunk-J6IRWTF7.js";import"./chunk-DCANE7XH.js";export{a as CodePanel,b as StepGuideBlock};
@@ -1,3 +0,0 @@
1
- import{a as M,b as I,c as O}from"./chunk-ISEW5ABW.js";import{d as E,f as y}from"./chunk-55FJSXTX.js";import{d as K}from"./chunk-UWAAPX6Y.js";import{a as P,c as V,jb as D,mb as T}from"./chunk-6WTBCWHP.js";import{a as A}from"./chunk-J6IRWTF7.js";import{c as j}from"./chunk-DCANE7XH.js";var c=j(V(),1);P(`.sb-block.stb-block :is(h3,h4,p,ul,ol,li,pre):not(svg){margin:0}.sb-block.stb-block li:not(svg){padding:0}.sb-block.stb-block pre:not(svg){border:0;border-radius:0;background:none;color:inherit}.sb-block.stb-block{--stb-text: var(--text, #222222);--stb-muted: var(--muted, #6a6a6a);--stb-faint: var(--subtle, #929292);--stb-line: var(--line, #dddddd);--stb-paper: var(--paper, #ffffff);--stb-surface: var(--surface, #fafafa);--stb-hover: var(--hover, #f7f7f7);--stb-accent: var(--accent, #120a8f);--stb-accent-soft: var(--accent-soft, #eeedf9);--stb-mono: var(--font-mono, ui-monospace, Menlo, Consolas, monospace);--stb-object: #7348d0;--stb-object-soft: #f2edfc;--stb-array: #0d8579;--stb-array-soft: #e6f4f2;--stb-note: #a8582a;color:var(--stb-text);font-family:inherit;font-size:14px;line-height:1.7;padding:8px 0;container-type:inline-size}:root[data-theme=dark] .sb-block.stb-block,[data-theme=dark] .sb-block.stb-block{--stb-object: #b497ff;--stb-object-soft: #2e2648;--stb-array: #4fc4b6;--stb-array-soft: #163734;--stb-note: #e79c64}.sb-block.stb-block *{box-sizing:border-box}.sb-block.stb-block .stb-heading{margin:0 0 10px;font-size:17px;font-weight:700}.sb-block.stb-block .stb-frame{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);border:1px solid var(--stb-line);border-radius:10px;overflow:hidden;background:var(--stb-paper)}.sb-block.stb-block .stb-nav{background:var(--stb-surface);border-right:1px solid var(--stb-line);padding:8px 0;min-width:0}.sb-block.stb-block .stb-tree{display:flex;flex-direction:column;gap:1px}.sb-block.stb-block .stb-row{position:relative;display:flex;align-items:center;gap:6px;min-height:30px;margin:0 6px;padding:0 10px 0 calc(8px + var(--depth) * 18px);border-radius:6px;cursor:pointer;font-family:var(--stb-mono);font-size:12.5px;line-height:1.2;color:var(--stb-text);user-select:none;-webkit-user-select:none}.sb-block.stb-block .stb-row:hover{background:var(--stb-hover)}.sb-block.stb-block .stb-row.is-selected{background:var(--stb-accent-soft)}.sb-block.stb-block .stb-row.is-selected .stb-name{color:var(--stb-accent);font-weight:600}.sb-block.stb-block .stb-row:focus{outline:none}.sb-block.stb-block .stb-row:focus-visible{outline:2px solid var(--stb-accent);outline-offset:-2px}.sb-block.stb-block .stb-guide{position:absolute;top:0;bottom:-1px;left:calc(8px + var(--level) * 18px + 6px);width:1px;background:var(--stb-line)}.sb-block.stb-block .stb-row.is-selected .stb-guide{background:color-mix(in srgb,var(--stb-accent) 18%,transparent)}.sb-block.stb-block .stb-chevron{flex:none;display:inline-flex;align-items:center;justify-content:center;width:14px;height:14px;margin-right:-1px;border-radius:4px;color:var(--stb-faint)}.sb-block.stb-block .stb-chevron svg{width:12px;height:12px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;transition:transform .15s}.sb-block.stb-block .stb-chevron.is-open svg{transform:rotate(90deg)}.sb-block.stb-block .stb-row:hover .stb-chevron:not(.is-none){color:var(--stb-muted)}.sb-block.stb-block .stb-name,.sb-block.stb-block .stb-type{flex:0 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:2px 0}.sb-block.stb-block .stb-type{color:var(--stb-faint);font-family:var(--stb-mono);font-size:11.5px}.sb-block.stb-block .stb-badge{flex:none;margin-left:auto;display:inline-flex;align-items:center;height:19px;padding:0 7px;border-radius:6px;background:var(--stb-surface);border:1px solid var(--stb-line);font-family:var(--font-sans, inherit);font-size:11px;line-height:1;color:var(--stb-muted);white-space:nowrap}.sb-block.stb-block .stb-row .stb-badge{background:var(--stb-paper)}.sb-block.stb-block .stb-row.is-selected .stb-badge{border-color:color-mix(in srgb,var(--stb-accent) 22%,transparent);color:var(--stb-accent)}.sb-block.stb-block .stb-icon{flex:none;width:16px;height:16px;display:inline-flex;align-items:center;justify-content:center}.sb-block.stb-block svg.stb-icon{overflow:visible}.sb-block.stb-block .stb-icon.is-dir path{fill:color-mix(in srgb,var(--stb-accent) 14%,transparent);stroke:var(--stb-accent);stroke-width:1.2;stroke-linejoin:round}.sb-block.stb-block .stb-icon.is-dir.is-open path{fill:color-mix(in srgb,var(--stb-accent) 30%,transparent)}.sb-block.stb-block .stb-icon.is-file path{fill:none;stroke:var(--stb-muted);stroke-width:1.2;stroke-linejoin:round}.sb-block.stb-block .stb-icon.is-file path:first-child{fill:var(--stb-paper)}.sb-block.stb-block .stb-icon.is-field rect{fill:none;stroke:var(--stb-faint);stroke-width:1.3}.sb-block.stb-block .stb-icon.is-glyph{font-family:var(--stb-mono);font-size:10.5px;font-weight:700;letter-spacing:-.5px;border-radius:4px;line-height:16px}.sb-block.stb-block .stb-icon.is-object{color:var(--stb-object);background:var(--stb-object-soft)}.sb-block.stb-block .stb-icon.is-array{color:var(--stb-array);background:var(--stb-array-soft);letter-spacing:-2px;padding-right:2px}.sb-block.stb-block .stb-detail{padding:18px 24px 22px;min-width:0;overflow-wrap:anywhere}.sb-block.stb-block .stb-crumbs{display:flex;flex-wrap:wrap;align-items:center;gap:2px 4px;font-family:var(--stb-mono);font-size:11.5px;line-height:1.5;color:var(--stb-muted)}.sb-block.stb-block .stb-crumbs button{border:0;background:none;font:inherit;cursor:pointer;color:var(--stb-muted);border-radius:4px;padding:0 2px}.sb-block.stb-block .stb-crumbs button:hover{color:var(--stb-accent)}.sb-block.stb-block .stb-crumbs button:focus-visible{outline:2px solid var(--stb-accent);outline-offset:2px}.sb-block.stb-block .stb-crumbs [aria-current]{color:var(--stb-text);padding:0 2px}.sb-block.stb-block .stb-sep{color:var(--stb-faint)}.sb-block.stb-block .stb-title{display:flex;flex-wrap:wrap;align-items:center;gap:6px 9px;margin-top:12px}.sb-block.stb-block .stb-title .stb-icon{width:18px;height:18px}.sb-block.stb-block .stb-title .stb-icon.is-glyph{font-size:11.5px;line-height:18px}.sb-block.stb-block .stb-title h4{margin:0;font-family:var(--stb-mono);font-size:17px;line-height:1.35;font-weight:600;letter-spacing:-.01em}.sb-block.stb-block .stb-dtype{font-family:var(--stb-mono);font-size:12px;line-height:1.5;color:var(--stb-muted);background:var(--stb-surface);border-radius:6px;padding:1px 7px}.sb-block.stb-block .stb-title .stb-badge{margin-left:0}.sb-block.stb-block .stb-meta{margin-top:3px;padding-left:27px;font-size:12px;color:var(--stb-faint)}.sb-block.stb-block .stb-summary{margin:12px 0 0;font-size:15px;line-height:1.65}.sb-block.stb-block .stb-body{margin-top:2px}.sb-block.stb-block .stb-para{margin:10px 0 0;line-height:1.75}.sb-block.stb-block ul.stb-para{padding-left:18px}.sb-block.stb-block ul.stb-para li+li{margin-top:3px}.sb-block.stb-block .stb-empty{margin:14px 0 0;font-size:13px;color:var(--stb-faint)}.sb-block.stb-block .stb-code{margin-top:16px;border:1px solid var(--stb-line);border-radius:8px;background:var(--stb-surface);overflow:hidden}.sb-block.stb-block .stb-codebar{display:flex;align-items:center;gap:8px;padding:5px 6px 5px 12px;border-bottom:1px solid var(--stb-line)}.sb-block.stb-block .stb-lang{font-family:var(--stb-mono);font-size:11px;color:var(--stb-muted);letter-spacing:.03em}.sb-block.stb-block .stb-copystate{flex:1;min-width:0;text-align:right;font-size:11.5px;color:var(--stb-note);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sb-block.stb-block .stb-copy{display:inline-flex;align-items:center;gap:5px;height:24px;padding:0 8px;border:0;border-radius:6px;background:transparent;color:var(--stb-muted);font:inherit;font-size:12px;cursor:pointer}.sb-block.stb-block .stb-copy:hover{background:var(--stb-line);color:var(--stb-text)}.sb-block.stb-block .stb-copy:focus-visible{outline:2px solid var(--stb-accent);outline-offset:2px}.sb-block.stb-block .stb-copy svg{width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round}.sb-block.stb-block .stb-copy.is-done{color:var(--stb-array)}.sb-block.stb-block .stb-code .stb-pre{margin:0;padding:12px 14px 14px;overflow-x:auto;font-family:var(--stb-mono);font-size:12.5px;line-height:1.65;white-space:pre;tab-size:2;scrollbar-width:thin}.sb-block.stb-block .stb-code code{font:inherit;background:none;border:0;padding:0;border-radius:0;color:inherit;overflow-wrap:normal}.sb-block.stb-block .stb-kids{margin-top:20px}.sb-block.stb-block .stb-kidshead{font-size:12px;font-weight:600;color:var(--stb-muted);letter-spacing:.04em;margin-bottom:4px}.sb-block.stb-block .stb-kid{display:grid;grid-template-columns:16px auto minmax(0,1fr);align-items:center;gap:9px;width:100%;padding:7px 8px;border:0;border-top:1px solid var(--stb-line);border-radius:0;background:none;color:inherit;font:inherit;text-align:left;cursor:pointer}.sb-block.stb-block .stb-kid:last-child{border-bottom:1px solid var(--stb-line)}.sb-block.stb-block .stb-kid:hover{background:var(--stb-hover)}.sb-block.stb-block .stb-kid:focus-visible{outline:2px solid var(--stb-accent);outline-offset:-2px;border-radius:4px}.sb-block.stb-block .stb-kidname{font-family:var(--stb-mono);font-size:12.5px;white-space:nowrap}.sb-block.stb-block .stb-kidsum{font-size:12.5px;color:var(--stb-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sb-block.stb-block .stb-detail code,.sb-block.stb-block .stb-caption code,.sb-block.stb-block .stb-print code{font-family:var(--stb-mono);font-size:.88em;background:var(--stb-surface);border:1px solid var(--stb-line);border-radius:4px;padding:0 4px;overflow-wrap:anywhere}.sb-block.stb-block a{color:var(--stb-accent);text-decoration:none;border-bottom:1px solid color-mix(in srgb,var(--stb-accent) 35%,transparent)}.sb-block.stb-block a:hover{border-bottom-color:var(--stb-accent)}.sb-block.stb-block strong{font-weight:600}.sb-block.stb-block .stb-caption{margin:10px 2px 0;font-size:12.5px;line-height:1.65;color:var(--stb-muted)}.sb-block.stb-block .stb-print{display:none}.sb-block.stb-block .stb-print ul{list-style:none;margin:0;padding-left:18px}.sb-block.stb-block .stb-print>ul{padding-left:0}.sb-block.stb-block .stb-print li{margin:2px 0;break-inside:avoid}.sb-block.stb-block .stb-print-name{font-family:var(--stb-mono);font-weight:600;margin-right:6px}.sb-block.stb-block .stb-print .stb-type{display:inline;margin-right:6px}.sb-block.stb-block .stb-print .stb-badge{display:inline;height:auto;margin:0;padding:0 4px}.sb-block.stb-block .stb-print-summary{color:var(--stb-muted)}@container (max-width: 640px){.sb-block.stb-block .stb-frame{grid-template-columns:minmax(0,1fr)}.sb-block.stb-block .stb-nav{border-right:0;border-bottom:1px solid var(--stb-line)}.sb-block.stb-block .stb-detail{padding:16px 16px 18px}.sb-block.stb-block .stb-row{padding-left:calc(6px + var(--depth) * 16px)}.sb-block.stb-block .stb-guide{left:calc(6px + var(--level) * 16px + 6px)}.sb-block.stb-block .stb-summary{font-size:14.5px}}@media(prefers-reduced-motion:reduce){.sb-block.stb-block *{transition:none!important}}@media print{.sb-block.stb-block .stb-frame{display:none}.sb-block.stb-block .stb-print{display:block;font-size:12.5px;line-height:1.6}}
2
- `);var B=A("structureBrowser",{"zh-CN":{title:"\u7ED3\u6784\u6D4F\u89C8\u5668",tree:"\u7ED3\u6784",path:"\u8DEF\u5F84","kind.dir":"\u6587\u4EF6\u5939","kind.file":"\u6587\u4EF6","kind.object":"\u5BF9\u8C61","kind.array":"\u6570\u7EC4","kind.field":"\u5B57\u6BB5",childCount:{other:"{count} \u4E2A\u5B50\u9879"},contains:"\u5305\u542B",example:"\u793A\u4F8B",copy:"\u590D\u5236",copied:"\u5DF2\u590D\u5236",copyLabel:"\u590D\u5236\u793A\u4F8B\uFF1A{name}",selectedToCopy:"\u5DF2\u9009\u4E2D\uFF0C\u6309 \u2318C / Ctrl+C \u590D\u5236",toggle:"\u5C55\u5F00\u6216\u6536\u8D77 {name}",noDetail:"\u8FD9\u4E00\u9879\u6CA1\u6709\u66F4\u591A\u8BF4\u660E\u3002",empty:"\u6CA1\u6709\u53EF\u663E\u793A\u7684\u7ED3\u6784\u3002"},en:{title:"Structure browser",tree:"Structure",path:"Path","kind.dir":"Folder","kind.file":"File","kind.object":"Object","kind.array":"Array","kind.field":"Field",childCount:{one:"{count} child",other:"{count} children"},contains:"Contains",example:"Example",copy:"Copy",copied:"Copied",copyLabel:"Copy example: {name}",selectedToCopy:"Selected \u2014 press \u2318C / Ctrl+C to copy",toggle:"Expand or collapse {name}",noDetail:"No further description for this item.",empty:"There is no structure to show."}});var t=j(D(),1);function U({source:l}){return l.trim().split(/\n\s*\n/).map((i,b)=>{let s=i.split(`
3
- `);return s.every(a=>/^\s*[-•]\s+/.test(a))?(0,t.jsx)("ul",{className:"stb-para",children:s.map((a,d)=>(0,t.jsx)("li",{children:(0,t.jsx)(y,{source:a.replace(/^\s*[-•]\s+/,"")})},d))},b):(0,t.jsx)("p",{className:"stb-para",children:s.map((a,d)=>(0,t.jsxs)(c.Fragment,{children:[d>0&&(0,t.jsx)("br",{}),(0,t.jsx)(y,{source:a})]},d))},b)})}function L({kind:l,open:i}){return l==="dir"?(0,t.jsx)("svg",{className:`stb-icon is-dir${i?" is-open":""}`,viewBox:"0 0 16 16","aria-hidden":"true",children:(0,t.jsx)("path",{d:"M1.75 4.25c0-.69.56-1.25 1.25-1.25h2.6l1.4 1.5h6c.69 0 1.25.56 1.25 1.25v6c0 .69-.56 1.25-1.25 1.25H3c-.69 0-1.25-.56-1.25-1.25z"})}):l==="file"?(0,t.jsxs)("svg",{className:"stb-icon is-file",viewBox:"0 0 16 16","aria-hidden":"true",children:[(0,t.jsx)("path",{d:"M4 1.75h5.2L12.75 5.3v8.2c0 .41-.34.75-.75.75H4a.75.75 0 0 1-.75-.75V2.5c0-.41.34-.75.75-.75z"}),(0,t.jsx)("path",{d:"M9 1.9v3.6h3.6"})]}):l==="object"?(0,t.jsx)("span",{className:"stb-icon is-glyph is-object","aria-hidden":"true",children:"{}"}):l==="array"?(0,t.jsx)("span",{className:"stb-icon is-glyph is-array","aria-hidden":"true",children:"[ ]"}):(0,t.jsx)("svg",{className:"stb-icon is-field",viewBox:"0 0 16 16","aria-hidden":"true",children:(0,t.jsx)("rect",{x:"5",y:"5",width:"6",height:"6",rx:"1.5",transform:"rotate(45 8 8)"})})}function _({code:l,lang:i,name:b}){let s=T(B),a=(0,c.useRef)(null),d=(0,c.useRef)(void 0),[m,k]=(0,c.useState)("idle");(0,c.useEffect)(()=>()=>window.clearTimeout(d.current),[]);let p=x=>{k(x),window.clearTimeout(d.current),d.current=window.setTimeout(()=>k("idle"),x==="copied"?1500:4e3)},h=()=>{let x=window.getSelection();if(a.current&&x){let g=document.createRange();g.selectNodeContents(a.current),x.removeAllRanges(),x.addRange(g)}p("selected")},w=()=>{if(!navigator.clipboard)return h();navigator.clipboard.writeText(l).then(()=>p("copied"),h)};return(0,t.jsxs)("div",{className:"stb-code",children:[(0,t.jsxs)("div",{className:"stb-codebar",children:[(0,t.jsx)("span",{className:"stb-lang",children:i||s("example")}),(0,t.jsx)("span",{className:"stb-copystate","aria-live":"polite",children:m==="selected"?s("selectedToCopy"):""}),(0,t.jsxs)("button",{type:"button",className:`stb-copy${m==="copied"?" is-done":""}`,"aria-label":s("copyLabel",{name:b}),onClick:w,children:[m==="copied"?(0,t.jsx)("svg",{viewBox:"0 0 16 16","aria-hidden":"true",children:(0,t.jsx)("path",{d:"M3.5 8.5l3 3 6-6.5"})}):(0,t.jsxs)("svg",{viewBox:"0 0 16 16","aria-hidden":"true",children:[(0,t.jsx)("rect",{x:"5.5",y:"5.5",width:"8",height:"8",rx:"1.6"}),(0,t.jsx)("path",{d:"M10.5 3.5v-.4A1.6 1.6 0 0 0 8.9 1.5H4.1A1.6 1.6 0 0 0 2.5 3.1v4.8a1.6 1.6 0 0 0 1.6 1.6h.4"})]}),s(m==="copied"?"copied":"copy")]})]}),(0,t.jsx)("pre",{className:"stb-pre",children:(0,t.jsx)("code",{ref:a,children:l})})]})}function $({items:l,roots:i},b){let s=new Set;for(let k of l.values())k.node.open&&k.children.length&&s.add(k.path);let a=b?I(b):"",d=l.has(a)?a:null,m=d??i[0]??null;if(d)for(let k=d;k;k=l.get(k).parent)l.get(k).children.length&&s.add(k);else!s.size&&m&&l.get(m).children.length&&s.add(m);return{selected:m,open:s}}function F({paths:l,outline:i}){return(0,t.jsx)("ul",{children:l.map(b=>{let s=i.items.get(b);return(0,t.jsxs)("li",{children:[(0,t.jsx)("span",{className:"stb-print-name",children:s.node.name}),s.node.type&&(0,t.jsx)("span",{className:"stb-type",children:s.node.type}),s.node.badge&&(0,t.jsx)("span",{className:"stb-badge",children:s.node.badge}),s.node.summary&&(0,t.jsxs)("span",{className:"stb-print-summary",children:[" \u2014 ",(0,t.jsx)(y,{source:s.node.summary,links:!1})]}),s.children.length>0&&(0,t.jsx)(F,{paths:s.children,outline:i})]},b)})})}function et({data:l}){let i=T(B),b=l,s=(0,c.useMemo)(()=>O(b.nodes??[]),[b.nodes]),{items:a,roots:d}=s,[m,k]=(0,c.useState)(()=>$(s,b.initial));(0,c.useEffect)(()=>k($(s,b.initial)),[s,b.initial]);let{selected:p,open:h}=m,w=(e,o)=>k(u=>{let r=new Set(u.open);return o==="open"||o==="flip"&&!r.has(e)?r.add(e):(o==="close"||o==="flip")&&r.delete(e),{selected:e,open:r}}),x=e=>k(o=>{let u=new Set(o.open);for(let r=a.get(e)?.parent??null;r;r=a.get(r).parent)u.add(r);return{selected:e,open:u}}),g=(0,c.useMemo)(()=>{let e=[],o=u=>{for(let r of u){let f=a.get(r);e.push(f),f.children.length&&h.has(r)&&o(f.children)}};return o(d),e},[a,d,h]),z=(0,c.useRef)(new Map),C=(0,c.useRef)(!1);(0,c.useLayoutEffect)(()=>{C.current&&p&&z.current.get(p)?.focus(),C.current=!1},[p,g]);let H=e=>{if(!p)return;let o=a.get(p),u=g.findIndex(f=>f.path===p),r=(f,v)=>{e.preventDefault(),f&&(C.current=!0,w(f,v))};switch(e.key){case"ArrowDown":return r(g[u+1]?.path);case"ArrowUp":return r(g[u-1]?.path);case"Home":return r(g[0]?.path);case"End":return r(g[g.length-1]?.path);case"ArrowRight":return o.children.length?h.has(p)?r(o.children[0]):r(p,"open"):e.preventDefault();case"ArrowLeft":return o.children.length&&h.has(p)?r(p,"close"):r(o.parent);case"Enter":case" ":return o.children.length?r(p,"flip"):e.preventDefault()}},n=p?a.get(p):void 0,S=[];for(let e=p;e;e=a.get(e).parent)S.unshift(a.get(e));let R=e=>e.parent?a.get(e.parent).children:d;return(0,t.jsxs)("section",{className:"sb-block stb-block","aria-label":K(b.title,i("title")),children:[b.title&&(0,t.jsx)("h3",{className:"stb-heading",children:b.title}),(0,t.jsxs)("div",{className:"stb-frame",children:[(0,t.jsx)("div",{className:"stb-nav",children:(0,t.jsx)("div",{className:"stb-tree",role:"tree","aria-label":i("tree"),onKeyDown:H,children:g.map(e=>{let o=h.has(e.path),u=e.path===p,r=R(e);return(0,t.jsxs)("div",{ref:f=>{f?z.current.set(e.path,f):z.current.delete(e.path)},role:"treeitem","aria-level":e.depth+1,"aria-setsize":r.length,"aria-posinset":r.indexOf(e.path)+1,"aria-selected":u,"aria-expanded":e.children.length?o:void 0,tabIndex:u?0:-1,className:`stb-row${u?" is-selected":""}`,style:{"--depth":e.depth},onClick:()=>w(e.path,e.children.length&&(!o||u)?"flip":void 0),children:[Array.from({length:e.depth},(f,v)=>(0,t.jsx)("i",{className:"stb-guide",style:{"--level":v},"aria-hidden":"true"},v)),(0,t.jsx)("span",{className:`stb-chevron${e.children.length?"":" is-none"}${o?" is-open":""}`,"aria-hidden":"true",title:e.children.length?i("toggle",{name:e.node.name}):void 0,onClick:f=>{e.children.length&&(f.stopPropagation(),k(v=>{let N=new Set(v.open);return N.has(e.path)?N.delete(e.path):N.add(e.path),{...v,open:N}}))},children:e.children.length>0&&(0,t.jsx)("svg",{viewBox:"0 0 12 12",children:(0,t.jsx)("path",{d:"M4.5 2.75L7.75 6 4.5 9.25"})})}),(0,t.jsx)(L,{kind:e.kind,open:o}),(0,t.jsx)("span",{className:"stb-name",children:e.node.name}),e.node.type&&(0,t.jsx)("span",{className:"stb-type",children:e.node.type}),e.node.badge&&(0,t.jsx)("span",{className:"stb-badge",children:e.node.badge})]},e.path)})})}),(0,t.jsx)("div",{className:"stb-detail","aria-live":"polite",children:n?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("nav",{className:"stb-crumbs","aria-label":i("path"),children:S.map((e,o)=>(0,t.jsxs)(c.Fragment,{children:[o>0&&(0,t.jsx)("span",{className:"stb-sep","aria-hidden":"true",children:"/"}),o<S.length-1?(0,t.jsx)("button",{type:"button",onClick:()=>w(e.path),children:M(e.node.name)}):(0,t.jsx)("span",{"aria-current":"location",children:M(e.node.name)})]},e.path))}),(0,t.jsxs)("div",{className:"stb-title",children:[(0,t.jsx)(L,{kind:n.kind}),(0,t.jsx)("h4",{children:n.node.name}),n.node.type&&(0,t.jsx)("span",{className:"stb-dtype",children:n.node.type}),n.node.badge&&(0,t.jsx)("span",{className:"stb-badge",children:n.node.badge})]}),(0,t.jsxs)("div",{className:"stb-meta",children:[i(`kind.${n.kind}`),n.children.length>0&&` \xB7 ${i("childCount",{count:n.children.length})}`]}),n.node.summary&&(0,t.jsx)("p",{className:"stb-summary",children:(0,t.jsx)(y,{source:n.node.summary})}),n.node.detail&&(0,t.jsx)("div",{className:"stb-body",children:(0,t.jsx)(U,{source:n.node.detail})}),n.node.example&&(0,t.jsx)(_,{code:n.node.example,lang:n.node.exampleLang,name:n.node.name},n.path),n.children.length>0&&(0,t.jsxs)("div",{className:"stb-kids",children:[(0,t.jsx)("div",{className:"stb-kidshead",children:i("contains")}),n.children.map(e=>{let o=a.get(e);return(0,t.jsxs)("button",{type:"button",className:"stb-kid",onClick:()=>x(e),children:[(0,t.jsx)(L,{kind:o.kind}),(0,t.jsx)("span",{className:"stb-kidname",children:o.node.name}),o.node.summary&&(0,t.jsx)("span",{className:"stb-kidsum",children:E(o.node.summary)})]},e)})]}),!n.node.summary&&!n.node.detail&&!n.node.example&&!n.children.length&&(0,t.jsx)("p",{className:"stb-empty",children:i("noDetail")})]}):(0,t.jsx)("p",{className:"stb-empty",children:i("empty")})})]}),(0,t.jsx)("div",{className:"stb-print",children:(0,t.jsx)(F,{paths:d,outline:s})}),b.caption&&(0,t.jsx)("p",{className:"stb-caption",children:(0,t.jsx)(y,{source:b.caption})})]})}export{et as StructureBrowserBlock};
@@ -1 +0,0 @@
1
- import{jb as u}from"./chunk-6WTBCWHP.js";import{c}from"./chunk-DCANE7XH.js";var x=/\*\*(.+?)\*\*|`([^`]+)`|\[([^\]]+)\]\(([^)\s]+)\)/g;function l(t){return typeof t!="string"||!t.trim()||/[\s\u0000-\u001f]/.test(t)?!1:/^(https?:\/\/[^/]|mailto:)/i.test(t)?!0:!/^[a-z][a-z0-9+.-]*:/i.test(t)&&!t.startsWith("//")}var d=t=>/^https?:\/\//i.test(t);function s(t){let r=[],i=new RegExp(x.source,"g"),n=0,e;for(;e=i.exec(t);)e.index>n&&r.push({type:"text",text:t.slice(n,e.index)}),e[1]!==void 0?r.push({type:"strong",children:s(e[1])}):e[2]!==void 0?r.push({type:"code",text:e[2]}):r.push({type:"link",href:e[4],children:s(e[3])}),n=i.lastIndex;return n<t.length&&r.push({type:"text",text:t.slice(n)}),r}var y=t=>t.replace(x,(r,i,n,e)=>i??n??e);function I(t){let r=[],i=n=>{for(let e of n)e.type==="link"&&!l(e.href)&&r.push(e.href),e.children&&i(e.children)};return i(s(t)),r}var p=c(u(),1);function a(t,r,i,n){return t.map((e,h)=>{let o=`${i}.${h}`;if(e.type==="text")return n?n(e.text,o):e.text;if(e.type==="code")return(0,p.jsx)("code",{children:n?n(e.text,o):e.text},o);if(e.type==="strong")return(0,p.jsx)("strong",{children:a(e.children,r,o,n)},o);let f=a(e.children,!1,o,n);return!r||!l(e.href)?(0,p.jsx)("span",{children:f},o):d(e.href)?(0,p.jsx)("a",{href:e.href,target:"_blank",rel:"noopener noreferrer",children:f},o):(0,p.jsx)("a",{href:e.href,children:f},o)})}function N({source:t,links:r=!0,mark:i}){return(0,p.jsx)(p.Fragment,{children:a(s(t),r,"i",i)})}export{l as a,d as b,s as c,y as d,I as e,N as f};
@@ -1,23 +0,0 @@
1
- import{c as Wa,e as et,f as at}from"./chunk-J6IRWTF7.js";import{a as b,c as N}from"./chunk-DCANE7XH.js";var ht=b(l=>{"use strict";var Ka=Symbol.for("react.transitional.element"),Yu=Symbol.for("react.portal"),ed=Symbol.for("react.fragment"),ad=Symbol.for("react.strict_mode"),td=Symbol.for("react.profiler"),od=Symbol.for("react.consumer"),ud=Symbol.for("react.context"),dd=Symbol.for("react.forward_ref"),ld=Symbol.for("react.suspense"),rd=Symbol.for("react.memo"),it=Symbol.for("react.lazy"),sd=Symbol.for("react.activity"),fd=Symbol.for("react.view_transition"),lt=Symbol.iterator;function id(e){return e===null||typeof e!="object"?null:(e=lt&&e[lt]||e["@@iterator"],typeof e=="function"?e:null)}var ct={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},nt=Object.assign,pt={};function O(e,a,o){this.props=e,this.context=a,this.refs=pt,this.updater=o||ct}O.prototype.isReactComponent={};O.prototype.setState=function(e,a){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,a,"setState")};O.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function mt(){}mt.prototype=O.prototype;function Za(e,a,o){this.props=e,this.context=a,this.refs=pt,this.updater=o||ct}var Ja=Za.prototype=new mt;Ja.constructor=Za;nt(Ja,O.prototype);Ja.isPureReactComponent=!0;var rt=Array.isArray;function ja(){}var f={H:null,A:null,T:null,S:null},Lt=Object.prototype.hasOwnProperty;function Qa(e,a,o){var u=o.ref;return{$$typeof:Ka,type:e,key:a,ref:u!==void 0?u:null,props:o}}function cd(e,a){return Qa(e.type,a,e.props)}function $a(e){return typeof e=="object"&&e!==null&&e.$$typeof===Ka}function nd(e){var a={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(o){return a[o]})}var st=/\/+/g;function Xa(e,a){return typeof e=="object"&&e!==null&&e.key!=null?nd(""+e.key):a.toString(36)}function pd(e){switch(e.status){case"fulfilled":return e.value;case"rejected":throw e.reason;default:switch(typeof e.status=="string"?e.then(ja,ja):(e.status="pending",e.then(function(a){e.status==="pending"&&(e.status="fulfilled",e.value=a)},function(a){e.status==="pending"&&(e.status="rejected",e.reason=a)})),e.status){case"fulfilled":return e.value;case"rejected":throw e.reason}}throw e}function H(e,a,o,u,d){var r=typeof e;(r==="undefined"||r==="boolean")&&(e=null);var s=!1;if(e===null)s=!0;else switch(r){case"bigint":case"string":case"number":s=!0;break;case"object":switch(e.$$typeof){case Ka:case Yu:s=!0;break;case it:return s=e._init,H(s(e._payload),a,o,u,d)}}if(s)return d=d(e),s=u===""?"."+Xa(e,0):u,rt(d)?(o="",s!=null&&(o=s.replace(st,"$&/")+"/"),H(d,a,o,"",function(v){return v})):d!=null&&($a(d)&&(d=cd(d,o+(d.key==null||e&&e.key===d.key?"":(""+d.key).replace(st,"$&/")+"/")+s)),a.push(d)),1;s=0;var c=u===""?".":u+":";if(rt(e))for(var i=0;i<e.length;i++)u=e[i],r=c+Xa(u,i),s+=H(u,a,o,r,d);else if(i=id(e),typeof i=="function")for(e=i.call(e),i=0;!(u=e.next()).done;)u=u.value,r=c+Xa(u,i++),s+=H(u,a,o,r,d);else if(r==="object"){if(typeof e.then=="function")return H(pd(e),a,o,u,d);throw a=String(e),Error("Objects are not valid as a React child (found: "+(a==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":a)+"). If you meant to render a collection of children, use an array instead.")}return s}function X(e,a,o){if(e==null)return e;var u=[],d=0;return H(e,u,"","",function(r){return a.call(o,r,d++)}),u}function md(e){if(e._status===-1){var a=e._result,o=a();o.then(function(u){(e._status===0||e._status===-1)&&(e._status=1,e._result=u,o.status===void 0&&(o.status="fulfilled",o.value=u))},function(u){(e._status===0||e._status===-1)&&(e._status=2,e._result=u,o.status===void 0&&(o.status="rejected",o.reason=u))}),e._status===-1&&(e._status=0,e._result=o)}if(e._status===1)return e._result.default;throw e._result}var ft=typeof reportError=="function"?reportError:function(e){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var a=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof e=="object"&&e!==null&&typeof e.message=="string"?String(e.message):String(e),error:e});if(!window.dispatchEvent(a))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",e);return}console.error(e)};function xt(e){var a=f.T,o={};o.types=a!==null?a.types:null,f.T=o;try{var u=e(),d=f.S;d!==null&&d(o,u),typeof u=="object"&&u!==null&&typeof u.then=="function"&&u.then(ja,ft)}catch(r){ft(r)}finally{a!==null&&o.types!==null&&(a.types=o.types),f.T=a}}function It(e){var a=f.T;if(a!==null){var o=a.types;o===null?a.types=[e]:o.indexOf(e)===-1&&o.push(e)}else xt(It.bind(null,e))}var Ld={map:X,forEach:function(e,a,o){X(e,function(){a.apply(this,arguments)},o)},count:function(e){var a=0;return X(e,function(){a++}),a},toArray:function(e){return X(e,function(a){return a})||[]},only:function(e){if(!$a(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};l.Activity=sd;l.Children=Ld;l.Component=O;l.Fragment=ed;l.Profiler=td;l.PureComponent=Za;l.StrictMode=ad;l.Suspense=ld;l.ViewTransition=fd;l.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=f;l.__COMPILER_RUNTIME={__proto__:null,c:function(e){return f.H.useMemoCache(e)}};l.addTransitionType=It;l.cache=function(e){return function(){return e.apply(null,arguments)}};l.cacheSignal=function(){return null};l.cloneElement=function(e,a,o){if(e==null)throw Error("The argument must be a React element, but you passed "+e+".");var u=nt({},e.props),d=e.key;if(a!=null)for(r in a.key!==void 0&&(d=""+a.key),a)!Lt.call(a,r)||r==="key"||r==="__self"||r==="__source"||r==="ref"&&a.ref===void 0||(u[r]=a[r]);var r=arguments.length-2;if(r===1)u.children=o;else if(1<r){for(var s=Array(r),c=0;c<r;c++)s[c]=arguments[c+2];u.children=s}return Qa(e.type,d,u)};l.createContext=function(e){return e={$$typeof:ud,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null},e.Provider=e,e.Consumer={$$typeof:od,_context:e},e};l.createElement=function(e,a,o){var u,d={},r=null;if(a!=null)for(u in a.key!==void 0&&(r=""+a.key),a)Lt.call(a,u)&&u!=="key"&&u!=="__self"&&u!=="__source"&&(d[u]=a[u]);var s=arguments.length-2;if(s===1)d.children=o;else if(1<s){for(var c=Array(s),i=0;i<s;i++)c[i]=arguments[i+2];d.children=c}if(e&&e.defaultProps)for(u in s=e.defaultProps,s)d[u]===void 0&&(d[u]=s[u]);return Qa(e,r,d)};l.createRef=function(){return{current:null}};l.forwardRef=function(e){return{$$typeof:dd,render:e}};l.isValidElement=$a;l.lazy=function(e){return{$$typeof:it,_payload:{_status:-1,_result:e},_init:md}};l.memo=function(e,a){return{$$typeof:rd,type:e,compare:a===void 0?null:a}};l.startTransition=xt;l.unstable_useCacheRefresh=function(){return f.H.useCacheRefresh()};l.use=function(e){return f.H.use(e)};l.useActionState=function(e,a,o){return f.H.useActionState(e,a,o)};l.useCallback=function(e,a){return f.H.useCallback(e,a)};l.useContext=function(e){return f.H.useContext(e)};l.useDebugValue=function(){};l.useDeferredValue=function(e,a){return f.H.useDeferredValue(e,a)};l.useEffect=function(e,a){return f.H.useEffect(e,a)};l.useEffectEvent=function(e){return f.H.useEffectEvent(e)};l.useId=function(){return f.H.useId()};l.useImperativeHandle=function(e,a,o){return f.H.useImperativeHandle(e,a,o)};l.useInsertionEffect=function(e,a){return f.H.useInsertionEffect(e,a)};l.useLayoutEffect=function(e,a){return f.H.useLayoutEffect(e,a)};l.useMemo=function(e,a){return f.H.useMemo(e,a)};l.useOptimistic=function(e,a){return f.H.useOptimistic(e,a)};l.useReducer=function(e,a,o){return f.H.useReducer(e,a,o)};l.useRef=function(e){return f.H.useRef(e)};l.useState=function(e){return f.H.useState(e)};l.useSyncExternalStore=function(e,a,o){return f.H.useSyncExternalStore(e,a,o)};l.useTransition=function(){return f.H.useTransition()};l.version="19.3.0"});var U=b((Rd,Ct)=>{"use strict";Ct.exports=ht()});var Ou=b(za=>{"use strict";var Id=Symbol.for("react.transitional.element"),hd=Symbol.for("react.fragment");function Hu(e,a,o){var u=null;if(o!==void 0&&(u=""+o),a.key!==void 0&&(u=""+a.key),"key"in a){o={};for(var d in a)d!=="key"&&(o[d]=a[d])}else o=a;return a=o.ref,{$$typeof:Id,type:e,key:u,ref:a!==void 0?a:null,props:o}}za.Fragment=hd;za.jsx=Hu;za.jsxs=Hu});var Cd=b((lp,Uu)=>{"use strict";Uu.exports=Ou()});var Eu=b(n=>{"use strict";var gd=U();function _u(e){var a="https://react.dev/errors/"+e;if(1<arguments.length){a+="?args[]="+encodeURIComponent(arguments[1]);for(var o=2;o<arguments.length;o++)a+="&args[]="+encodeURIComponent(arguments[o])}return"Minified React error #"+e+"; visit "+a+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function C(){}var p={d:{f:C,r:function(){throw Error(_u(522))},D:C,C,L:C,m:C,X:C,S:C,M:C},p:0,findDOMNode:null},Sd=Symbol.for("react.portal"),kd=Symbol.for("react.recoverable"),zu=Symbol.for("react.optimistic_key");function yd(e,a,o){var u=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:Sd,key:u==null?null:u===zu?zu:""+u,children:e,containerInfo:a,implementation:o}}var V=gd.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function _a(e,a){if(e==="font")return"";if(typeof a=="string")return a==="use-credentials"?a:""}n.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=p;n.browser=function(e){return{$$typeof:kd,_reason:e}};n.createPortal=function(e,a){var o=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!a||a.nodeType!==1&&a.nodeType!==9&&a.nodeType!==11)throw Error(_u(299));return yd(e,a,null,o)};n.flushSync=function(e){var a=V.T,o=p.p;try{if(V.T=null,p.p=2,e)return e()}finally{V.T=a,p.p=o,p.d.f()}};n.preconnect=function(e,a){typeof e=="string"&&(a?(a=a.crossOrigin,a=typeof a=="string"?a==="use-credentials"?a:"":void 0):a=null,p.d.C(e,a))};n.prefetchDNS=function(e){typeof e=="string"&&p.d.D(e)};n.preinit=function(e,a){if(typeof e=="string"&&a&&typeof a.as=="string"){var o=a.as,u=_a(o,a.crossOrigin),d=typeof a.integrity=="string"?a.integrity:void 0,r=typeof a.fetchPriority=="string"?a.fetchPriority:void 0;o==="style"?p.d.S(e,typeof a.precedence=="string"?a.precedence:void 0,{crossOrigin:u,integrity:d,fetchPriority:r}):o==="script"&&p.d.X(e,{crossOrigin:u,integrity:d,fetchPriority:r,nonce:typeof a.nonce=="string"?a.nonce:void 0})}};n.preinitModule=function(e,a){if(typeof e=="string")if(typeof a=="object"&&a!==null){if(a.as==null||a.as==="script"){var o=_a(a.as,a.crossOrigin);p.d.M(e,{crossOrigin:o,integrity:typeof a.integrity=="string"?a.integrity:void 0,nonce:typeof a.nonce=="string"?a.nonce:void 0,fetchPriority:typeof a.fetchPriority=="string"?a.fetchPriority:void 0})}}else a==null&&p.d.M(e)};n.preload=function(e,a){if(typeof e=="string"&&typeof a=="object"&&a!==null&&typeof a.as=="string"){var o=a.as,u=_a(o,a.crossOrigin);p.d.L(e,o,{crossOrigin:u,integrity:typeof a.integrity=="string"?a.integrity:void 0,nonce:typeof a.nonce=="string"?a.nonce:void 0,type:typeof a.type=="string"?a.type:void 0,fetchPriority:typeof a.fetchPriority=="string"?a.fetchPriority:void 0,referrerPolicy:typeof a.referrerPolicy=="string"?a.referrerPolicy:void 0,imageSrcSet:typeof a.imageSrcSet=="string"?a.imageSrcSet:void 0,imageSizes:typeof a.imageSizes=="string"?a.imageSizes:void 0,media:typeof a.media=="string"?a.media:void 0})}};n.preloadModule=function(e,a){if(typeof e=="string")if(a){var o=_a(a.as,a.crossOrigin);p.d.m(e,{as:typeof a.as=="string"&&a.as!=="script"?a.as:void 0,crossOrigin:o,integrity:typeof a.integrity=="string"?a.integrity:void 0,nonce:typeof a.nonce=="string"?a.nonce:void 0,fetchPriority:typeof a.fetchPriority=="string"?a.fetchPriority:void 0})}else p.d.m(e)};n.requestFormReset=function(e){p.d.r(e)};n.unstable_batchedUpdates=function(e,a){return e(a)};n.useFormState=function(e,a,o){return V.H.useFormState(e,a,o)};n.useFormStatus=function(){return V.H.useHostTransitionStatus()};n.version="19.3.0"});var wd=b((sp,Gu)=>{"use strict";function Vu(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Vu)}catch(e){console.error(e)}}Vu(),Gu.exports=Eu()});function tt(e){return e.replace(/@charset[^;]+;/g,"").replaceAll(":root",":scope").replace(/(?<![\w-])(?:html|body)(?=[,{])/g,":scope")}var $u=`.portable-document { max-width: none; padding: 24px 0 12px; }
2
- .portable-page-heading,
3
- .container-page-heading:empty,
4
- .container-page-heading:has(> .portable-page-heading:only-child) { display: none; }
5
- .portable-options { display: none; }
6
- .portable-app { min-height: 0; }
7
- .portable-app:has(> .container-workspace > .container-main > .container-page.is-root),
8
- .portable-app > .container-workspace:has(> .container-main > .container-page.is-root) {
9
- height: auto;
10
- }
11
- .portable-app > .container-workspace > .container-main:has(> .container-page.is-root) {
12
- flex: none;
13
- }
14
- .portable-app > .container-workspace > .container-main > .container-page.is-root {
15
- height: auto;
16
- overflow: visible;
17
- overscroll-behavior: auto;
18
- scrollbar-gutter: auto;
19
- }`;function ot(e,a){return`@scope (#${e}) {
20
- ${a}
21
- ${$u}
22
- }`}var ut=[],Na=new Set;function dt({root:e,scoped:a},o){let u=e.ownerDocument.createElement("style");u.dataset.showaiReaderStyle=e.id,u.textContent=a?ot(e.id,tt(o)):o,(a?e:e.ownerDocument.head).append(u)}function Dd(e){ut.push(e);for(let a of Na)dt(a,e)}function Bd(e,{scoped:a=!0}={}){let o={root:e,scoped:a};Na.add(o);for(let u of ut)dt(o,u);return()=>{Na.delete(o),e.ownerDocument.querySelectorAll(`style[data-showai-reader-style="${e.id}"]`).forEach(u=>u.remove())}}var j=N(U(),1);var gt=e=>e?.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase();function St(e,a,o=[]){if(a==null)throw new Error("[lucide]: iconNode is required when icon name is used");return{name:gt(e),size:24,node:a,...o.length>0?{aliases:o}:{}}}var kt=e=>{let a="",o=!1;for(let u of e){if(u==="-"||u==="_"||u<=" "){o=a.length>0;continue}a.length===0?a+=u.toLowerCase():a+=o?u.toUpperCase():u,o=!1}return a};var yt=e=>{let a=kt(e);return a.charAt(0).toUpperCase()+a.slice(1)};var E=N(U(),1);var _=(...e)=>e.filter((a,o,u)=>!!a&&a.trim()!==""&&u.indexOf(a)===o).join(" ").trim();var x={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":2,"stroke-linecap":"round","stroke-linejoin":"round"};function Ya(e){return e!=null}function wt(e,a={}){let o=a.attributeNames??{},u=m=>o[m]??m,d=e.size??e.width??x.width,r=e.size??e.height??x.height,s=e.aliases?.filter(m=>typeof m=="string"&&m.trim()!=="").map(m=>`lucide-${m}`)??[],c=[...e.name?[`lucide-${e.name}`]:[],...s],i=a.className?.split(" ").filter(Boolean)??[],v=a.includeDefaultClasses===!1?_(...i):_("lucide",...c,...i),Va=a.absoluteStrokeWidth?Number(a.strokeWidth??x["stroke-width"])*Number(e.size??e.width??x.width)/Number(a.size??a.width??x.width):a.strokeWidth??x["stroke-width"];return["svg",{...Object.entries(x).reduce((m,[g,q])=>(m[u(g)]=q,m),{}),..."color"in a&&a.color&&{[u("stroke")]:a.color},..."size"in a&&Ya(a.size)&&{[u("width")]:a.size,[u("height")]:a.size},..."width"in a&&Ya(a.width)&&{[u("width")]:a.width},..."height"in a&&Ya(a.height)&&{[u("height")]:a.height},[u("stroke-width")]:Va,...v&&{[u("class")]:v},[u("viewBox")]:`0 0 ${d} ${r}`,...a.hasA11yProp===!1?{[u("aria-hidden")]:"true"}:{},..."attributes"in a&&a.attributes},e.node.map(m=>{let[g,q,G]=m,W=a.nonScalingStroke?{[u("vector-effect")]:"non-scaling-stroke",...q}:q;return G?[g,W,G]:[g,W]})]}function Pt(e,a={}){return wt(e,{...a,attributeNames:{...a.attributeNames,class:"className","stroke-width":"strokeWidth","stroke-linecap":"strokeLinecap","stroke-linejoin":"strokeLinejoin","vector-effect":"vectorEffect"}})}var Mt=e=>{for(let a in e)if(a.startsWith("aria-")||a==="role"||a==="title")return!0;return!1};var z=N(U(),1);var xd=(0,z.createContext)({});var At=()=>(0,z.useContext)(xd);var Dt=(0,E.forwardRef)(({color:e,size:a,width:o,height:u,strokeWidth:d,absoluteStrokeWidth:r,nonScalingStroke:s,className:c="",children:i,iconNode:v=[],icon:Va={node:v,aliases:[],size:24},...Ga},m)=>{let{size:g=24,strokeWidth:q=2,absoluteStrokeWidth:G=!1,nonScalingStroke:W=!1,color:Wu="currentColor",className:Nu=""}=At()??{},Xu=!!i||Mt(Ga),[ju,Ku,Zu=[]]=Pt(Va,{color:e??Wu,width:o??a??g,height:u??a??g,strokeWidth:d??q,absoluteStrokeWidth:r??G,nonScalingStroke:s??W,className:_(Nu,c),hasA11yProp:Xu,attributes:Ga});return(0,E.createElement)(ju,{ref:m,...Ku},[...Zu.map(([Ju,Qu])=>(0,E.createElement)(Ju,Qu)),...Array.isArray(i)?i:[i]])});function t(e,a=[],o=[]){let u=typeof e=="string"?St(e,a,o):e,d=(0,j.forwardRef)(({className:r,...s},c)=>(0,j.createElement)(Dt,{ref:c,icon:u,className:r,...s}));return u.name&&(d.displayName=yt(u.name)),d}var Bt={name:"arrow-down",size:24,node:[["path",{d:"M12 5v14",key:"s699le"}],["path",{d:"m19 12-7 7-7-7",key:"1idqje"}]]};Bt.node;var K=t(Bt);var Tt={name:"arrow-up",size:24,node:[["path",{d:"m5 12 7-7 7 7",key:"hav0vg"}],["path",{d:"M12 19V5",key:"x0mq9r"}]]};Tt.node;var Z=t(Tt);var Ft={name:"at-sign",size:24,node:[["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M16 8v5a3 3 0 0 0 6 0v-1a10 10 0 1 0-4 8",key:"7n84p3"}]]};Ft.node;var J=t(Ft);var Rt={name:"chart-column",size:24,node:[["path",{d:"M3 3v16a2 2 0 0 0 2 2h16",key:"c24i48"}],["path",{d:"M18 17V9",key:"2bz60n"}],["path",{d:"M13 17V5",key:"1frdt8"}],["path",{d:"M8 17v-3",key:"17ska0"}]],aliases:["bar-chart-3"]};Rt.node;var S=t(Rt);var vt={name:"check",size:24,node:[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]};vt.node;var Q=t(vt);var qt={name:"chevron-down",size:24,node:[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]};qt.node;var $=t(qt);var bt={name:"chevron-right",size:24,node:[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]};bt.node;var Y=t(bt);var Ht={name:"chevron-left",size:24,node:[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]]};Ht.node;var ee=t(Ht);var Ot={name:"code-xml",size:24,node:[["path",{d:"m18 16 4-4-4-4",key:"1inbqp"}],["path",{d:"m6 8-4 4 4 4",key:"15zrgr"}],["path",{d:"m14.5 4-5 16",key:"e7oirm"}]],aliases:["code-2"]};Ot.node;var I=t(Ot);var Ut={name:"copy",size:24,node:[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]]};Ut.node;var ae=t(Ut);var zt={name:"download",size:24,node:[["path",{d:"M12 15V3",key:"m9g1x1"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["path",{d:"m7 10 5 5 5-5",key:"brsn70"}]]};zt.node;var te=t(zt);var _t={name:"expand",size:24,node:[["path",{d:"m15 15 6 6",key:"1s409w"}],["path",{d:"m15 9 6-6",key:"ko1vev"}],["path",{d:"M21 16v5h-5",key:"1ck2sf"}],["path",{d:"M21 8V3h-5",key:"1qoq8a"}],["path",{d:"M3 16v5h5",key:"1t08am"}],["path",{d:"m3 21 6-6",key:"wwnumi"}],["path",{d:"M3 8V3h5",key:"1ln10m"}],["path",{d:"M9 9 3 3",key:"v551iv"}]]};_t.node;var oe=t(_t);var Et={name:"external-link",size:24,node:[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]]};Et.node;var ue=t(Et);var Vt={name:"grip-vertical",size:24,node:[["circle",{cx:"9",cy:"12",r:"1",key:"1vctgf"}],["circle",{cx:"9",cy:"5",r:"1",key:"hp0tcf"}],["circle",{cx:"9",cy:"19",r:"1",key:"fkjjf6"}],["circle",{cx:"15",cy:"12",r:"1",key:"1tmaij"}],["circle",{cx:"15",cy:"5",r:"1",key:"19l28e"}],["circle",{cx:"15",cy:"19",r:"1",key:"f4zoj3"}]]};Vt.node;var de=t(Vt);var Gt={name:"heading-1",size:24,node:[["path",{d:"M4 12h8",key:"17cfdx"}],["path",{d:"M4 18V6",key:"1rz3zl"}],["path",{d:"M12 18V6",key:"zqpxq5"}],["path",{d:"m17 12 3-2v8",key:"1hhhft"}]]};Gt.node;var le=t(Gt);var Wt={name:"heading-2",size:24,node:[["path",{d:"M4 12h8",key:"17cfdx"}],["path",{d:"M4 18V6",key:"1rz3zl"}],["path",{d:"M12 18V6",key:"zqpxq5"}],["path",{d:"M21 18h-4c0-4 4-3 4-6 0-1.5-2-2.5-4-1",key:"9jr5yi"}]]};Wt.node;var re=t(Wt);var Nt={name:"heading-3",size:24,node:[["path",{d:"M4 12h8",key:"17cfdx"}],["path",{d:"M4 18V6",key:"1rz3zl"}],["path",{d:"M12 18V6",key:"zqpxq5"}],["path",{d:"M17.5 10.5c1.7-1 3.5 0 3.5 1.5a2 2 0 0 1-2 2",key:"68ncm8"}],["path",{d:"M17 17.5c2 1.5 4 .3 4-1.5a2 2 0 0 0-2-2",key:"1ejuhz"}]]};Nt.node;var se=t(Nt);var Xt={name:"image-plus",size:24,node:[["path",{d:"M16 5h6",key:"1vod17"}],["path",{d:"M19 2v6",key:"4bpg5p"}],["path",{d:"M21 11.5V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h7.5",key:"1ue2ih"}],["path",{d:"m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21",key:"1xmnt7"}],["circle",{cx:"9",cy:"9",r:"2",key:"af1f0g"}]]};Xt.node;var fe=t(Xt);var jt={name:"link-2",size:24,node:[["path",{d:"M9 17H7A5 5 0 0 1 7 7h2",key:"8i5ue5"}],["path",{d:"M15 7h2a5 5 0 1 1 0 10h-2",key:"1b9ql8"}],["line",{x1:"8",x2:"16",y1:"12",y2:"12",key:"1jonct"}]]};jt.node;var ie=t(jt);var Kt={name:"list-ordered",size:24,node:[["path",{d:"M11 5h10",key:"1cz7ny"}],["path",{d:"M11 12h10",key:"1438ji"}],["path",{d:"M11 19h10",key:"11t30w"}],["path",{d:"M4 4h1v5",key:"10yrso"}],["path",{d:"M4 9h2",key:"r1h2o0"}],["path",{d:"M6.5 20H3.4c0-1 2.6-1.925 2.6-3.5a1.5 1.5 0 0 0-2.6-1.02",key:"xtkcd5"}]]};Kt.node;var ce=t(Kt);var Zt={name:"list-tree",size:24,node:[["path",{d:"M8 5h13",key:"1pao27"}],["path",{d:"M13 12h8",key:"h98zly"}],["path",{d:"M13 19h8",key:"c3s6r1"}],["path",{d:"M3 10a2 2 0 0 0 2 2h3",key:"1npucw"}],["path",{d:"M3 5v12a2 2 0 0 0 2 2h3",key:"x1gjn2"}]]};Zt.node;var ne=t(Zt);var Jt={name:"list",size:24,node:[["path",{d:"M3 5h.01",key:"18ugdj"}],["path",{d:"M3 12h.01",key:"nlz23k"}],["path",{d:"M3 19h.01",key:"noohij"}],["path",{d:"M8 5h13",key:"1pao27"}],["path",{d:"M8 12h13",key:"1za7za"}],["path",{d:"M8 19h13",key:"m83p4d"}]]};Jt.node;var pe=t(Jt);var Qt={name:"maximize-2",size:24,node:[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"m21 3-7 7",key:"1l2asr"}],["path",{d:"m3 21 7-7",key:"tjx5ai"}],["path",{d:"M9 21H3v-6",key:"wtvkvv"}]]};Qt.node;var me=t(Qt);var $t={name:"message-square-quote",size:24,node:[["path",{d:"M14 14a2 2 0 0 0 2-2V8h-2",key:"1r06pg"}],["path",{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",key:"18887p"}],["path",{d:"M8 14a2 2 0 0 0 2-2V8H8",key:"1jzu5j"}]]};$t.node;var Le=t($t);var Yt={name:"minus",size:24,node:[["path",{d:"M5 12h14",key:"1ays0h"}]]};Yt.node;var xe=t(Yt);var eo={name:"network",size:24,node:[["rect",{x:"16",y:"16",width:"6",height:"6",rx:"1",key:"4q2zg0"}],["rect",{x:"2",y:"16",width:"6",height:"6",rx:"1",key:"8cvhb9"}],["rect",{x:"9",y:"2",width:"6",height:"6",rx:"1",key:"1egb70"}],["path",{d:"M5 16v-3a1 1 0 0 1 1-1h12a1 1 0 0 1 1 1v3",key:"1jsf9p"}],["path",{d:"M12 12V8",key:"2874zd"}]]};eo.node;var Ie=t(eo);var ao={name:"panel-top",size:24,node:[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M3 9h18",key:"1pudct"}]]};ao.node;var he=t(ao);var to={name:"play",size:24,node:[["path",{d:"M5 5a2 2 0 0 1 3.008-1.728l11.997 6.998a2 2 0 0 1 .003 3.458l-12 7A2 2 0 0 1 5 19z",key:"10ikf1"}]]};to.node;var Ce=t(to);var oo={name:"plus",size:24,node:[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]]};oo.node;var ge=t(oo);var uo={name:"quote",size:24,node:[["path",{d:"M16 3a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2 1 1 0 0 1 1 1v1a2 2 0 0 1-2 2 1 1 0 0 0-1 1v2a1 1 0 0 0 1 1 6 6 0 0 0 6-6V5a2 2 0 0 0-2-2z",key:"rib7q0"}],["path",{d:"M5 3a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2 1 1 0 0 1 1 1v1a2 2 0 0 1-2 2 1 1 0 0 0-1 1v2a1 1 0 0 0 1 1 6 6 0 0 0 6-6V5a2 2 0 0 0-2-2z",key:"1ymkrd"}]]};uo.node;var Se=t(uo);var lo={name:"redo-2",size:24,node:[["path",{d:"m15 14 5-5-5-5",key:"12vg1m"}],["path",{d:"M20 9H9.5A5.5 5.5 0 0 0 4 14.5A5.5 5.5 0 0 0 9.5 20H13",key:"6uklza"}]]};lo.node;var ke=t(lo);var ro={name:"rotate-ccw",size:24,node:[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}]]};ro.node;var ye=t(ro);var so={name:"sparkles",size:24,node:[["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.594z",key:"1s2grr"}],["path",{d:"M20 2v4",key:"1rf3ol"}],["path",{d:"M22 4h-4",key:"gwowj6"}],["circle",{cx:"4",cy:"20",r:"2",key:"6kqj1y"}]],aliases:["stars"]};so.node;var k=t(so);var fo={name:"square-check-big",size:24,node:[["path",{d:"M21 10.656V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h12.344",key:"2acyp4"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]],aliases:["check-square"]};fo.node;var y=t(fo);var io={name:"square",size:24,node:[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}]]};io.node;var we=t(io);var co={name:"table-2",size:24,node:[["path",{d:"M3 9h18",key:"1pudct"}],["path",{d:"M9 3v18",key:"fh3hqa"}],["rect",{x:"3",y:"3",width:"18",height:"18",rx:"2",key:"h1oib"}]]};co.node;var Pe=t(co);var no={name:"text-align-center",size:24,node:[["path",{d:"M21 5H3",key:"1fi0y6"}],["path",{d:"M17 12H7",key:"16if0g"}],["path",{d:"M19 19H5",key:"vjpgq2"}]],aliases:["align-center"]};no.node;var w=t(no);var po={name:"text-align-end",size:24,node:[["path",{d:"M21 5H3",key:"1fi0y6"}],["path",{d:"M21 12H9",key:"dn1m92"}],["path",{d:"M21 19H7",key:"4cu937"}]],aliases:["align-right"]};po.node;var P=t(po);var mo={name:"text-align-start",size:24,node:[["path",{d:"M21 5H3",key:"1fi0y6"}],["path",{d:"M15 12H3",key:"6jk70r"}],["path",{d:"M17 19H3",key:"z6ezky"}]],aliases:["text","align-left"]};mo.node;var L=t(mo);var Lo={name:"trash",size:24,node:[["path",{d:"M10 11v6",key:"nco0om"}],["path",{d:"M14 11v6",key:"outv1u"}],["path",{d:"M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6",key:"miytrc"}],["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2",key:"e791ji"}]],aliases:["trash-2"]};Lo.node;var M=t(Lo);var xo={name:"type",size:24,node:[["path",{d:"M12 4v16",key:"1654pz"}],["path",{d:"M4 7V5a1 1 0 0 1 1-1h14a1 1 0 0 1 1 1v2",key:"e0r10z"}],["path",{d:"M9 20h6",key:"s66wpe"}]]};xo.node;var Me=t(xo);var Io={name:"undo-2",size:24,node:[["path",{d:"M9 14 4 9l5-5",key:"102s5s"}],["path",{d:"M4 9h10.5a5.5 5.5 0 0 1 5.5 5.5a5.5 5.5 0 0 1-5.5 5.5H11",key:"f3b9sd"}]]};Io.node;var Ae=t(Io);var ho={name:"upload",size:24,node:[["path",{d:"M12 3v12",key:"1x0j5s"}],["path",{d:"m17 8-5-5-5 5",key:"7q97r8"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}]]};ho.node;var De=t(ho);var Co={name:"x",size:24,node:[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]};Co.node;var Be=t(Co);var go={name:"align-center-horizontal",size:24,node:[["path",{d:"M2 12h20",key:"9i4pu4"}],["path",{d:"M10 16v4a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2v-4",key:"11f1s0"}],["path",{d:"M10 8V4a2 2 0 0 0-2-2H6a2 2 0 0 0-2 2v4",key:"t14dx9"}],["path",{d:"M20 16v1a2 2 0 0 1-2 2h-2a2 2 0 0 1-2-2v-1",key:"1w07xs"}],["path",{d:"M14 8V7c0-1.1.9-2 2-2h2a2 2 0 0 1 2 2v1",key:"1apec2"}]]};go.node;var Te=t(go);var So={name:"align-center-vertical",size:24,node:[["path",{d:"M12 2v20",key:"t6zp3m"}],["path",{d:"M8 10H4a2 2 0 0 1-2-2V6c0-1.1.9-2 2-2h4",key:"14d6g8"}],["path",{d:"M16 10h4a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2h-4",key:"1e2lrw"}],["path",{d:"M8 20H7a2 2 0 0 1-2-2v-2c0-1.1.9-2 2-2h1",key:"1fkdwx"}],["path",{d:"M16 14h1a2 2 0 0 1 2 2v2a2 2 0 0 1-2 2h-1",key:"1euafb"}]]};So.node;var Fe=t(So);var ko={name:"align-end-horizontal",size:24,node:[["rect",{width:"6",height:"16",x:"4",y:"2",rx:"2",key:"z5wdxg"}],["rect",{width:"6",height:"9",x:"14",y:"9",rx:"2",key:"um7a8w"}],["path",{d:"M22 22H2",key:"19qnx5"}]]};ko.node;var Re=t(ko);var yo={name:"align-end-vertical",size:24,node:[["rect",{width:"16",height:"6",x:"2",y:"4",rx:"2",key:"10wcwx"}],["rect",{width:"9",height:"6",x:"9",y:"14",rx:"2",key:"4p5bwg"}],["path",{d:"M22 22V2",key:"12ipfv"}]]};yo.node;var ve=t(yo);var wo={name:"align-horizontal-distribute-center",size:24,node:[["rect",{width:"6",height:"14",x:"4",y:"5",rx:"2",key:"1wwnby"}],["rect",{width:"6",height:"10",x:"14",y:"7",rx:"2",key:"1fe6j6"}],["path",{d:"M17 22v-5",key:"4b6g73"}],["path",{d:"M17 7V2",key:"hnrr36"}],["path",{d:"M7 22v-3",key:"1r4jpn"}],["path",{d:"M7 5V2",key:"liy1u9"}]]};wo.node;var qe=t(wo);var Po={name:"align-start-horizontal",size:24,node:[["rect",{width:"6",height:"16",x:"4",y:"6",rx:"2",key:"1n4dg1"}],["rect",{width:"6",height:"9",x:"14",y:"6",rx:"2",key:"17khns"}],["path",{d:"M22 2H2",key:"fhrpnj"}]]};Po.node;var be=t(Po);var Mo={name:"align-start-vertical",size:24,node:[["rect",{width:"9",height:"6",x:"6",y:"14",rx:"2",key:"lpm2y7"}],["rect",{width:"16",height:"6",x:"6",y:"4",rx:"2",key:"rdj6ps"}],["path",{d:"M2 2v20",key:"1ivd8o"}]]};Mo.node;var He=t(Mo);var Ao={name:"align-vertical-distribute-center",size:24,node:[["path",{d:"M22 17h-3",key:"1lwga1"}],["path",{d:"M22 7h-5",key:"o2endc"}],["path",{d:"M5 17H2",key:"1gx9xc"}],["path",{d:"M7 7H2",key:"6bq26l"}],["rect",{x:"5",y:"14",width:"14",height:"6",rx:"2",key:"1qrzuf"}],["rect",{x:"7",y:"4",width:"10",height:"6",rx:"2",key:"we8e9z"}]]};Ao.node;var Oe=t(Ao);var Do={name:"arrow-down-right",size:24,node:[["path",{d:"m7 7 10 10",key:"1fmybs"}],["path",{d:"M17 7v10H7",key:"6fjiku"}]]};Do.node;var Ue=t(Do);var Bo={name:"arrow-left",size:24,node:[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]]};Bo.node;var ze=t(Bo);var To={name:"arrow-up-right",size:24,node:[["path",{d:"M7 7h10v10",key:"1tivn9"}],["path",{d:"M7 17 17 7",key:"1vkiza"}]]};To.node;var _e=t(To);var Fo={name:"bold",size:24,node:[["path",{d:"M6 12h9a4 4 0 0 1 0 8H7a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1h7a4 4 0 0 1 0 8",key:"mg9rjx"}]]};Fo.node;var Ee=t(Fo);var Ro={name:"book-open",size:24,node:[["path",{d:"M12 5v16",key:"1f6ucr"}],["path",{d:"M20.001 19A2 2 0 0022 17V5a2 2 0 00-1.999-2L16 3.002A5 5 0 0012 5a5 5 0 00-4-2H4a2 2 0 00-2 2v12a2 2 0 001.999 2H8a5 5 0 014 2 5 5 0 014-2z",key:"1fyvmf"}]]};Ro.node;var Ve=t(Ro);var vo={name:"bookmark-plus",size:24,node:[["path",{d:"M12 7v6",key:"lw1j43"}],["path",{d:"M15 10H9",key:"o6yqo3"}],["path",{d:"M17 3a2 2 0 0 1 2 2v15a1 1 0 0 1-1.496.868l-4.512-2.578a2 2 0 0 0-1.984 0l-4.512 2.578A1 1 0 0 1 5 20V5a2 2 0 0 1 2-2z",key:"oz39mx"}]]};vo.node;var Ge=t(vo);var qo={name:"bookmark",size:24,node:[["path",{d:"M17 3a2 2 0 0 1 2 2v15a1 1 0 0 1-1.496.868l-4.512-2.578a2 2 0 0 0-1.984 0l-4.512 2.578A1 1 0 0 1 5 20V5a2 2 0 0 1 2-2z",key:"oz39mx"}]]};qo.node;var We=t(qo);var bo={name:"bring-to-front",size:24,node:[["rect",{x:"8",y:"8",width:"8",height:"8",rx:"2",key:"yj20xf"}],["path",{d:"M4 10a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2",key:"1ltk23"}],["path",{d:"M14 20a2 2 0 0 0 2 2h4a2 2 0 0 0 2-2v-4a2 2 0 0 0-2-2",key:"1q24h9"}]]};bo.node;var Ne=t(bo);var Ho={name:"chart-no-axes-combined",size:24,node:[["path",{d:"M12 16v5",key:"zza2cw"}],["path",{d:"M16 14.639V21",key:"1s85h0"}],["path",{d:"M20 10.656V21",key:"q45596"}],["path",{d:"m22 3-8.646 8.646a.5.5 0 0 1-.708 0L9.354 8.354a.5.5 0 0 0-.707 0L2 15",key:"1fw8x9"}],["path",{d:"M4 18.463V21",key:"1otddq"}],["path",{d:"M8 14.656V21",key:"1t2idw"}]]};Ho.node;var Xe=t(Ho);var Oo={name:"chevron-up",size:24,node:[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]]};Oo.node;var je=t(Oo);var Uo={name:"circle",size:24,node:[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]]};Uo.node;var Ke=t(Uo);var zo={name:"clipboard",size:24,node:[["rect",{width:"8",height:"4",x:"8",y:"2",rx:"1",ry:"1",key:"tgr4d6"}],["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-2h2",key:"116196"}]]};zo.node;var Ze=t(zo);var _o={name:"code",size:24,node:[["path",{d:"m16 18 6-6-6-6",key:"eg8j8"}],["path",{d:"m8 6-6 6 6 6",key:"ppft3o"}]]};_o.node;var Je=t(_o);var Eo={name:"columns-3",size:24,node:[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M9 3v18",key:"fh3hqa"}],["path",{d:"M15 3v18",key:"14nvp0"}]],aliases:["panels-left-right"]};Eo.node;var A=t(Eo);var Vo={name:"database",size:24,node:[["ellipse",{cx:"12",cy:"5",rx:"9",ry:"3",key:"msslwz"}],["path",{d:"M3 5V19A9 3 0 0 0 21 19V5",key:"1wlel7"}],["path",{d:"M3 12A9 3 0 0 0 21 12",key:"mv7ke4"}]]};Vo.node;var Qe=t(Vo);var Go={name:"ellipsis",size:24,node:[["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}],["circle",{cx:"19",cy:"12",r:"1",key:"1wjl8i"}],["circle",{cx:"5",cy:"12",r:"1",key:"1pcz8c"}]],aliases:["more-horizontal"]};Go.node;var D=t(Go);var Wo={name:"eraser",size:24,node:[["path",{d:"M21 21H8a2 2 0 0 1-1.42-.587l-3.994-3.999a2 2 0 0 1 0-2.828l10-10a2 2 0 0 1 2.829 0l5.999 6a2 2 0 0 1 0 2.828L12.834 21",key:"g5wo59"}],["path",{d:"m5.082 11.09 8.828 8.828",key:"1wx5vj"}]]};Wo.node;var $e=t(Wo);var No={name:"file-braces",size:24,node:[["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",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"M10 12a1 1 0 0 0-1 1v1a1 1 0 0 1-1 1 1 1 0 0 1 1 1v1a1 1 0 0 0 1 1",key:"1oajmo"}],["path",{d:"M14 18a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1 1 1 0 0 1-1-1v-1a1 1 0 0 0-1-1",key:"mpwhp6"}]],aliases:["file-json"]};No.node;var B=t(No);var Xo={name:"file-text",size:24,node:[["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",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]]};Xo.node;var Ye=t(Xo);var jo={name:"flask-conical",size:24,node:[["path",{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 8V2",key:"18mbvz"}],["path",{d:"M6.453 15h11.094",key:"3shlmq"}],["path",{d:"M8.5 2h7",key:"csnxdl"}]]};jo.node;var ea=t(jo);var Ko={name:"focus",size:24,node:[["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}],["path",{d:"M3 7V5a2 2 0 0 1 2-2h2",key:"aa7l1z"}],["path",{d:"M17 3h2a2 2 0 0 1 2 2v2",key:"4qcy5o"}],["path",{d:"M21 17v2a2 2 0 0 1-2 2h-2",key:"6vwrx8"}],["path",{d:"M7 21H5a2 2 0 0 1-2-2v-2",key:"ioqczr"}]]};Ko.node;var aa=t(Ko);var Zo={name:"folder-open",size:24,node:[["path",{d:"m6 14 1.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",key:"usdka0"}]]};Zo.node;var ta=t(Zo);var Jo={name:"folder",size:24,node:[["path",{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",key:"1kt360"}]]};Jo.node;var oa=t(Jo);var Qo={name:"funnel",size:24,node:[["path",{d:"M10 20a1 1 0 0 0 .553.895l2 1A1 1 0 0 0 14 21v-7a2 2 0 0 1 .517-1.341L21.74 4.67A1 1 0 0 0 21 3H3a1 1 0 0 0-.742 1.67l7.225 7.989A2 2 0 0 1 10 14z",key:"sc7q7i"}]],aliases:["filter"]};Qo.node;var T=t(Qo);var $o={name:"gauge",size:24,node:[["path",{d:"m12 14 4-4",key:"9kzdfg"}],["path",{d:"M3.34 19a10 10 0 1 1 17.32 0",key:"19p75a"}]]};$o.node;var ua=t($o);var Yo={name:"grip-horizontal",size:24,node:[["circle",{cx:"12",cy:"9",r:"1",key:"124mty"}],["circle",{cx:"19",cy:"9",r:"1",key:"1ruzo2"}],["circle",{cx:"5",cy:"9",r:"1",key:"1a8b28"}],["circle",{cx:"12",cy:"15",r:"1",key:"1e56xg"}],["circle",{cx:"19",cy:"15",r:"1",key:"1a92ep"}],["circle",{cx:"5",cy:"15",r:"1",key:"5r1jwy"}]]};Yo.node;var da=t(Yo);var eu={name:"hand",size:24,node:[["path",{d:"M18 11V6a2 2 0 0 0-2-2a2 2 0 0 0-2 2",key:"1fvzgz"}],["path",{d:"M14 10V4a2 2 0 0 0-2-2a2 2 0 0 0-2 2v2",key:"1kc0my"}],["path",{d:"M10 10.5V6a2 2 0 0 0-2-2a2 2 0 0 0-2 2v8",key:"10h0bg"}],["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",key:"1s1gnw"}]]};eu.node;var la=t(eu);var au={name:"highlighter",size:24,node:[["path",{d:"m9 11-6 6v3h9l3-3",key:"1a3l36"}],["path",{d:"m22 12-4.6 4.6a2 2 0 0 1-2.8 0l-5.2-5.2a2 2 0 0 1 0-2.8L14 4",key:"14a9rk"}]]};au.node;var ra=t(au);var tu={name:"images",size:24,node:[["path",{d:"m22 11-1.296-1.296a2.4 2.4 0 0 0-3.408 0L11 16",key:"9kzy35"}],["path",{d:"M4 8a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2",key:"1t0f0t"}],["circle",{cx:"13",cy:"7",r:"1",fill:"currentColor",key:"1obus6"}],["rect",{x:"8",y:"2",width:"14",height:"14",rx:"2",key:"1gvhby"}]]};tu.node;var sa=t(tu);var ou={name:"italic",size:24,node:[["line",{x1:"19",x2:"10",y1:"4",y2:"4",key:"15jd3p"}],["line",{x1:"14",x2:"5",y1:"20",y2:"20",key:"bu0au3"}],["line",{x1:"15",x2:"9",y1:"4",y2:"20",key:"uljnxc"}]]};ou.node;var fa=t(ou);var uu={name:"lasso",size:24,node:[["path",{d:"M3.704 14.467a10 8 0 1 1 3.115 2.375",key:"wxgc5m"}],["path",{d:"M7 22a5 5 0 0 1-2-3.994",key:"1xp6a4"}],["circle",{cx:"5",cy:"16",r:"2",key:"18csp3"}]]};uu.node;var ia=t(uu);var du={name:"layout-dashboard",size:24,node:[["rect",{width:"7",height:"9",x:"3",y:"3",rx:"1",key:"10lvy0"}],["rect",{width:"7",height:"5",x:"14",y:"3",rx:"1",key:"16une8"}],["rect",{width:"7",height:"9",x:"14",y:"12",rx:"1",key:"1hutg5"}],["rect",{width:"7",height:"5",x:"3",y:"16",rx:"1",key:"ldoo1y"}]]};du.node;var ca=t(du);var lu={name:"layout-list",size:24,node:[["rect",{width:"7",height:"7",x:"3",y:"3",rx:"1",key:"1g98yp"}],["rect",{width:"7",height:"7",x:"3",y:"14",rx:"1",key:"1bb6yr"}],["path",{d:"M14 4h7",key:"3xa0d5"}],["path",{d:"M14 9h7",key:"1icrd9"}],["path",{d:"M14 15h7",key:"1mj8o2"}],["path",{d:"M14 20h7",key:"11slyb"}]]};lu.node;var na=t(lu);var ru={name:"lock-keyhole-open",size:24,node:[["circle",{cx:"12",cy:"16",r:"1",key:"1au0dj"}],["rect",{width:"18",height:"12",x:"3",y:"10",rx:"2",key:"l0tzu3"}],["path",{d:"M7 10V7a5 5 0 0 1 9.33-2.5",key:"car5b7"}]],aliases:["unlock-keyhole"]};ru.node;var h=t(ru);var su={name:"lock-keyhole",size:24,node:[["circle",{cx:"12",cy:"16",r:"1",key:"1au0dj"}],["rect",{x:"3",y:"10",width:"18",height:"12",rx:"2",key:"6s8ecr"}],["path",{d:"M7 10V7a5 5 0 0 1 10 0v3",key:"1pqi11"}]]};su.node;var pa=t(su);var fu={name:"map",size:24,node:[["path",{d:"M14.106 5.553a2 2 0 0 0 1.788 0l3.659-1.83A1 1 0 0 1 21 4.619v12.764a1 1 0 0 1-.553.894l-4.553 2.277a2 2 0 0 1-1.788 0l-4.212-2.106a2 2 0 0 0-1.788 0l-3.659 1.83A1 1 0 0 1 3 19.381V6.618a1 1 0 0 1 .553-.894l4.553-2.277a2 2 0 0 1 1.788 0z",key:"169xi5"}],["path",{d:"M15 5.764v15",key:"1pn4in"}],["path",{d:"M9 3.236v15",key:"1uimfh"}]]};fu.node;var ma=t(fu);var iu={name:"moon",size:24,node:[["path",{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",key:"kfwtm"}]]};iu.node;var La=t(iu);var cu={name:"mouse-pointer-2",size:24,node:[["path",{d:"M4.037 4.688a.495.495 0 0 1 .651-.651l16 6.5a.5.5 0 0 1-.063.947l-6.124 1.58a2 2 0 0 0-1.438 1.435l-1.579 6.126a.5.5 0 0 1-.947.063z",key:"edeuup"}]]};cu.node;var xa=t(cu);var nu={name:"music-2",size:24,node:[["circle",{cx:"8",cy:"18",r:"4",key:"1fc0mg"}],["path",{d:"M12 18V2l7 4",key:"g04rme"}]]};nu.node;var Ia=t(nu);var pu={name:"pencil",size:24,node:[["path",{d:"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z",key:"1a8usu"}],["path",{d:"m15 5 4 4",key:"1mk7zo"}]]};pu.node;var ha=t(pu);var mu={name:"pin",size:24,node:[["path",{d:"M12 17v5",key:"bb1du9"}],["path",{d:"M9 10.76a2 2 0 0 1-1.11 1.79l-1.78.9A2 2 0 0 0 5 15.24V16a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-.76a2 2 0 0 0-1.11-1.79l-1.78-.9A2 2 0 0 1 15 10.76V7a1 1 0 0 1 1-1 2 2 0 0 0 0-4H8a2 2 0 0 0 0 4 1 1 0 0 1 1 1z",key:"1nkz8b"}]]};mu.node;var Ca=t(mu);var Lu={name:"printer",size:24,node:[["path",{d:"M6 18H4a2 2 0 0 1-2-2v-5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v5a2 2 0 0 1-2 2h-2",key:"143wyd"}],["path",{d:"M6 9V3a1 1 0 0 1 1-1h10a1 1 0 0 1 1 1v6",key:"1itne7"}],["rect",{x:"6",y:"14",width:"12",height:"8",rx:"1",key:"1ue0tg"}]]};Lu.node;var ga=t(Lu);var xu={name:"puzzle",size:24,node:[["path",{d:"M15.39 4.39a1 1 0 0 0 1.68-.474 2.5 2.5 0 1 1 3.014 3.015 1 1 0 0 0-.474 1.68l1.683 1.682a2.414 2.414 0 0 1 0 3.414L19.61 15.39a1 1 0 0 1-1.68-.474 2.5 2.5 0 1 0-3.014 3.015 1 1 0 0 1 .474 1.68l-1.683 1.682a2.414 2.414 0 0 1-3.414 0L8.61 19.61a1 1 0 0 0-1.68.474 2.5 2.5 0 1 1-3.014-3.015 1 1 0 0 0 .474-1.68l-1.683-1.682a2.414 2.414 0 0 1 0-3.414L4.39 8.61a1 1 0 0 1 1.68.474 2.5 2.5 0 1 0 3.014-3.015 1 1 0 0 1-.474-1.68l1.683-1.682a2.414 2.414 0 0 1 3.414 0z",key:"w46dr5"}]]};xu.node;var Sa=t(xu);var Iu={name:"ruler",size:24,node:[["path",{d:"M21.3 15.3a2.4 2.4 0 0 1 0 3.4l-2.6 2.6a2.4 2.4 0 0 1-3.4 0L2.7 8.7a2.41 2.41 0 0 1 0-3.4l2.6-2.6a2.41 2.41 0 0 1 3.4 0Z",key:"icamh8"}],["path",{d:"m14.5 12.5 2-2",key:"inckbg"}],["path",{d:"m11.5 9.5 2-2",key:"fmmyf7"}],["path",{d:"m8.5 6.5 2-2",key:"vc6u1g"}],["path",{d:"m17.5 15.5 2-2",key:"wo5hmg"}]]};Iu.node;var ka=t(Iu);var hu={name:"scissors",size:24,node:[["circle",{cx:"6",cy:"6",r:"3",key:"1lh9wr"}],["path",{d:"M8.12 8.12 12 12",key:"1alkpv"}],["path",{d:"M20 4 8.12 15.88",key:"xgtan2"}],["circle",{cx:"6",cy:"18",r:"3",key:"fqmcym"}],["path",{d:"M14.8 14.8 20 20",key:"ptml3r"}]]};hu.node;var ya=t(hu);var Cu={name:"search",size:24,node:[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]]};Cu.node;var wa=t(Cu);var gu={name:"send-to-back",size:24,node:[["rect",{x:"14",y:"14",width:"8",height:"8",rx:"2",key:"1b0bso"}],["rect",{x:"2",y:"2",width:"8",height:"8",rx:"2",key:"1x09vl"}],["path",{d:"M7 14v1a2 2 0 0 0 2 2h1",key:"pao6x6"}],["path",{d:"M14 7h1a2 2 0 0 1 2 2v1",key:"19tdru"}]]};gu.node;var Pa=t(gu);var Su={name:"settings-2",size:24,node:[["path",{d:"M14 17H5",key:"gfn3mx"}],["path",{d:"M19 7h-9",key:"6i9tg"}],["circle",{cx:"17",cy:"17",r:"3",key:"18b49y"}],["circle",{cx:"7",cy:"7",r:"3",key:"dfmy0x"}]]};Su.node;var Ma=t(Su);var ku={name:"square-dashed",size:24,node:[["path",{d:"M5 3a2 2 0 0 0-2 2",key:"y57alp"}],["path",{d:"M19 3a2 2 0 0 1 2 2",key:"18rm91"}],["path",{d:"M21 19a2 2 0 0 1-2 2",key:"1j7049"}],["path",{d:"M5 21a2 2 0 0 1-2-2",key:"sbafld"}],["path",{d:"M9 3h1",key:"1yesri"}],["path",{d:"M9 21h1",key:"15o7lz"}],["path",{d:"M14 3h1",key:"1ec4yj"}],["path",{d:"M14 21h1",key:"v9vybs"}],["path",{d:"M3 9v1",key:"1r0deq"}],["path",{d:"M21 9v1",key:"mxsmne"}],["path",{d:"M3 14v1",key:"vnatye"}],["path",{d:"M21 14v1",key:"169vum"}]],aliases:["box-select"]};ku.node;var F=t(ku);var yu={name:"star",size:24,node:[["path",{d:"M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z",key:"r04s7s"}]]};yu.node;var Aa=t(yu);var wu={name:"strikethrough",size:24,node:[["path",{d:"M16 4H9a3 3 0 0 0-2.83 4",key:"43sutm"}],["path",{d:"M14 12a4 4 0 0 1 0 8H6",key:"nlfj13"}],["line",{x1:"4",x2:"20",y1:"12",y2:"12",key:"1e0a9i"}]]};wu.node;var Da=t(wu);var Pu={name:"sun",size:24,node:[["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"m4.93 4.93 1.41 1.41",key:"149t6j"}],["path",{d:"m17.66 17.66 1.41 1.41",key:"ptbguv"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"m6.34 17.66-1.41 1.41",key:"1m8zz5"}],["path",{d:"m19.07 4.93-1.41 1.41",key:"1shlcs"}]]};Pu.node;var Ba=t(Pu);var Mu={name:"table-cells-merge",size:24,node:[["path",{d:"M12 21v-6",key:"lihzve"}],["path",{d:"M12 9V3",key:"da5inc"}],["path",{d:"M3 15h18",key:"5xshup"}],["path",{d:"M3 9h18",key:"1pudct"}],["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}]]};Mu.node;var Ta=t(Mu);var Au={name:"table-columns-split",size:24,node:[["path",{d:"M14 14v2",key:"w2a1xv"}],["path",{d:"M14 20v2",key:"1lq872"}],["path",{d:"M14 2v2",key:"6buw04"}],["path",{d:"M14 8v2",key:"i67w9a"}],["path",{d:"M2 15h8",key:"82wtch"}],["path",{d:"M2 3h6a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H2",key:"up0l64"}],["path",{d:"M2 9h8",key:"yelfik"}],["path",{d:"M22 15h-4",key:"1es58f"}],["path",{d:"M22 3h-2a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h2",key:"pdjoqf"}],["path",{d:"M22 9h-4",key:"1luja7"}],["path",{d:"M5 3v18",key:"14hmio"}]]};Au.node;var Fa=t(Au);var Du={name:"table-cells-split",size:24,node:[["path",{d:"M12 15V9",key:"8c7uyn"}],["path",{d:"M3 15h18",key:"5xshup"}],["path",{d:"M3 9h18",key:"1pudct"}],["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}]]};Du.node;var Ra=t(Du);var Bu={name:"table-properties",size:24,node:[["path",{d:"M15 3v18",key:"14nvp0"}],["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M21 9H3",key:"1338ky"}],["path",{d:"M21 15H3",key:"9uk58r"}]]};Bu.node;var va=t(Bu);var Tu={name:"table-rows-split",size:24,node:[["path",{d:"M14 10h2",key:"1lstlu"}],["path",{d:"M15 22v-8",key:"1fwwgm"}],["path",{d:"M15 2v4",key:"1044rn"}],["path",{d:"M2 10h2",key:"1r8dkt"}],["path",{d:"M20 10h2",key:"1ug425"}],["path",{d:"M3 19h18",key:"awlh7x"}],["path",{d:"M3 22v-6a2 2 135 0 1 2-2h14a2 2 45 0 1 2 2v6",key:"ibqhof"}],["path",{d:"M3 2v2a2 2 45 0 0 2 2h14a2 2 135 0 0 2-2V2",key:"1uenja"}],["path",{d:"M8 10h2",key:"66od0"}],["path",{d:"M9 22v-8",key:"fmnu31"}],["path",{d:"M9 2v4",key:"j1yeou"}]]};Tu.node;var qa=t(Tu);var Fu={name:"text-align-justify",size:24,node:[["path",{d:"M3 5h18",key:"1u36vt"}],["path",{d:"M3 12h18",key:"1i2n21"}],["path",{d:"M3 19h18",key:"awlh7x"}]],aliases:["align-justify"]};Fu.node;var R=t(Fu);var Ru={name:"underline",size:24,node:[["path",{d:"M6 4v6a6 6 0 0 0 12 0V4",key:"9kb039"}],["line",{x1:"4",x2:"20",y1:"20",y2:"20",key:"nun2al"}]]};Ru.node;var ba=t(Ru);var vu={name:"ungroup",size:24,node:[["rect",{x:"11",y:"14",width:"10",height:"7",rx:"2",key:"nfm8rk"}],["rect",{x:"3",y:"3",width:"10",height:"7",rx:"2",key:"1ljebb"}]]};vu.node;var Ha=t(vu);var qu={name:"video",size:24,node:[["path",{d:"m16 13 5.223 3.482a.5.5 0 0 0 .777-.416V7.87a.5.5 0 0 0-.752-.432L16 10.5",key:"ftymec"}],["rect",{x:"2",y:"6",width:"14",height:"12",rx:"2",key:"158x01"}]]};qu.node;var Oa=t(qu);var bu={name:"workflow",size:24,node:[["rect",{width:"8",height:"8",x:"3",y:"3",rx:"2",key:"by2w9f"}],["path",{d:"M7 11v4a2 2 0 0 0 2 2h4",key:"xkn7yn"}],["rect",{width:"8",height:"8",x:"13",y:"13",rx:"2",key:"1cgmvn"}]]};bu.node;var Ua=t(bu);var Ea=N(U(),1);function Pd(){return(0,Ea.useSyncExternalStore)(et,Wa,Wa)}function cp(e){let a=Pd();return(0,Ea.useMemo)(()=>at(e),[e,a])}export{Dd as a,Bd as b,U as c,Te as d,Fe as e,Re as f,ve as g,qe as h,be as i,He as j,Oe as k,Ue as l,K as m,ze as n,_e as o,Z as p,J as q,Ee as r,Ve as s,Ge as t,We as u,Ne as v,S as w,Xe as x,Q as y,$ as z,Y as A,ee as B,je as C,Ke as D,Ze as E,I as F,Je as G,A as H,ae as I,Qe as J,te as K,D as L,$e as M,oe as N,ue as O,B as P,Ye as Q,ea as R,aa as S,ta as T,oa as U,T as V,ua as W,da as X,de as Y,la as Z,le as _,re as $,se as aa,ra as ba,fe as ca,sa as da,fa as ea,ia as fa,ca as ga,na as ha,ie as ia,ce as ja,ne as ka,pe as la,h as ma,pa as na,ma as oa,me as pa,Le as qa,xe as ra,La as sa,xa as ta,Ia as ua,Ie as va,he as wa,ha as xa,Ca as ya,Ce as za,ge as Aa,ga as Ba,Sa as Ca,Se as Da,ke as Ea,ye as Fa,ka as Ga,ya as Ha,wa as Ia,Pa as Ja,Ma as Ka,k as La,y as Ma,F as Na,we as Oa,Aa as Pa,Da as Qa,Ba as Ra,Pe as Sa,Ta,Fa as Ua,Ra as Va,va as Wa,qa as Xa,w as Ya,P as Za,R as _a,L as $a,M as ab,Me as bb,ba as cb,Ae as db,Ha as eb,De as fb,Oa as gb,Ua as hb,Be as ib,Cd as jb,wd as kb,Pd as lb,cp as mb};
23
- /*! For license information please see chunk-6WTBCWHP.js.LEGAL.txt */
@@ -1,4 +0,0 @@
1
- import{b as J,c as Q}from"./chunk-DTW4F4AN.js";import{d as U,f as v}from"./chunk-55FJSXTX.js";import{d as Z}from"./chunk-UWAAPX6Y.js";import{a as q,c as rs,jb as F,mb as j}from"./chunk-6WTBCWHP.js";import{a as X}from"./chunk-J6IRWTF7.js";import{c as B}from"./chunk-DCANE7XH.js";var d=B(rs(),1);q(`.sb-block.sg-block :is(h3,h4,p,ul,ol,li,pre):not(svg){margin:0}.sb-block.sg-block li:not(svg){padding:0}.sb-block.sg-block pre:not(svg){border:0;border-radius:0;background:none;color:inherit}.sb-block.sg-block{--sg-text: var(--text, #222222);--sg-muted: var(--muted, #6a6a6a);--sg-faint: var(--subtle, #929292);--sg-line: var(--line, #dddddd);--sg-paper: var(--paper, #ffffff);--sg-surface: var(--surface, #fafafa);--sg-accent: var(--accent, #120a8f);--sg-accent-soft: var(--accent-soft, #eeedf9);--sg-on-accent: var(--paper, #ffffff);--sg-good: #2f6b4f;--sg-good-soft: #e6efe9;--sg-warn: #a86b34;--sg-warn-soft: #f6ece2;--sg-wait: #d9a85b;--sg-wait-soft: #f8ead0;color:var(--sg-text);font-family:inherit;font-size:14px;line-height:1.7;padding:8px 0;container-type:inline-size;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}:root[data-theme=dark] .sb-block.sg-block,[data-theme=dark] .sb-block.sg-block{--sg-good: #7cc3a0;--sg-good-soft: #20352b;--sg-warn: #e0a96f;--sg-warn-soft: #3a2c1e;--sg-wait: #b88a45;--sg-wait-soft: #3a2f1c}.sb-block.sg-block *{box-sizing:border-box}.sb-block.sg-block button{font:inherit;cursor:pointer}.sb-block.sg-block button:focus-visible,.sb-block.sg-block pre:focus-visible,.sb-block.sg-block a:focus-visible{outline:2px solid var(--sg-accent);outline-offset:2px}:is(.sb-block.sg-block,.sb-block.cr-block) .sg-head{margin-bottom:14px}:is(.sb-block.sg-block,.sb-block.cr-block) .sg-heading{margin:0;font-size:17px;font-weight:700}:is(.sb-block.sg-block,.sb-block.cr-block) .sg-sub{margin:2px 0 0;color:var(--sg-muted);font-size:13px}.sb-block.sg-block strong{font-weight:650}.sb-block.sg-block :not(pre)>code{font-family:var(--font-mono, ui-monospace, monospace);font-size:.88em;background:var(--sg-surface);border:1px solid var(--sg-line);border-radius:4px;padding:0 4px}.sb-block.sg-block a{color:var(--sg-accent);text-decoration:none;border-bottom:1px solid color-mix(in srgb,var(--sg-accent) 35%,transparent)}.sb-block.sg-block a:hover{border-bottom-color:var(--sg-accent)}:is(.sb-block.sg-block,.sb-block.cr-block) .sg-announce{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);margin:0}:is(.sb-block.sg-block,.sb-block.cr-block) .sg-progress{display:flex;flex-wrap:wrap;align-items:center;gap:6px 12px;margin:0 0 16px;font-size:12px;line-height:1.4;color:var(--sg-muted)}:is(.sb-block.sg-block,.sb-block.cr-block) .sg-count{white-space:nowrap}:is(.sb-block.sg-block,.sb-block.cr-block) .sg-bar{flex:1;max-width:220px;min-width:60px;height:3px;border-radius:2px;background:var(--sg-line);overflow:hidden}:is(.sb-block.sg-block,.sb-block.cr-block) .sg-bar i{display:block;height:100%;background:var(--sg-accent);border-radius:2px;transition:width .25s ease}:is(.sb-block.sg-block,.sb-block.cr-block) .sg-tip{color:var(--sg-faint);white-space:nowrap}.sb-block.sg-block .sg-clear{border:0;background:none;padding:2px 4px;margin:-2px -4px;font-size:12px;color:var(--sg-muted);border-radius:4px}.sb-block.sg-block .sg-clear:hover{color:var(--sg-accent)}:is(.sb-block.sg-block,.sb-block.cr-block) .sg-list{list-style:none;margin:0;padding:0}:is(.sb-block.sg-block,.sb-block.cr-block) .sg-step{display:grid;grid-template-columns:30px minmax(0,1fr);gap:0 16px}:is(.sb-block.sg-block,.sb-block.cr-block) .sg-rail{position:relative;display:flex;flex-direction:column;align-items:center}.sb-block.sg-block .sg-num{position:relative;z-index:1;flex:none;display:grid;place-items:center;width:30px;height:30px;padding:0;border-radius:50%;border:1px solid var(--sg-line);background:var(--sg-paper);color:var(--sg-text);font-size:13px;font-weight:600;transition:border-color .15s,background-color .15s,color .15s,box-shadow .15s}.sb-block.sg-block .sg-num:hover{border-color:var(--sg-accent);color:var(--sg-accent);box-shadow:0 0 0 3px var(--sg-accent-soft)}:is(.sb-block.sg-block,.sb-block.cr-block) .sg-num svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.sb-block.sg-block .sg-num[aria-pressed=true]{background:var(--sg-accent);border-color:var(--sg-accent);color:var(--sg-on-accent)}:is(.sb-block.sg-block,.sb-block.cr-block) .sg-line{flex:1;width:1px;margin:6px 0;background:var(--sg-line);position:relative}:is(.sb-block.sg-block,.sb-block.cr-block) .sg-line:after{content:"";position:absolute;width:2px;inset:0 0 0 -.5px;background:var(--sg-accent);transform:scaleY(0);transform-origin:top;transition:transform .3s ease}:is(.sb-block.sg-block,.sb-block.cr-block) .sg-step.is-done .sg-line:after{transform:scaleY(1)}:is(.sb-block.sg-block,.sb-block.cr-block) .sg-content{min-width:0;padding:3px 0 28px}:is(.sb-block.sg-block,.sb-block.cr-block) .sg-step:last-child .sg-content{padding-bottom:4px}:is(.sb-block.sg-block,.sb-block.cr-block) .sg-title{margin:0;font-size:16px;line-height:1.5;font-weight:650}:is(.sb-block.sg-block,.sb-block.cr-block) .sg-badge{display:inline-block;vertical-align:2px;margin-left:8px;padding:0 8px;border:1px solid var(--sg-line);border-radius:999px;font-size:11.5px;font-weight:600;line-height:1.7;color:var(--sg-muted);background:var(--sg-paper)}:is(.sb-block.sg-block,.sb-block.cr-block) .sg-body{margin:6px 0 0}:is(.sb-block.sg-block,.sb-block.cr-block) .sg-note,:is(.sb-block.sg-block,.sb-block.cr-block) .sg-result{display:flex;align-items:flex-start;gap:8px;margin:12px 0 0;font-size:13px;line-height:1.65}:is(.sb-block.sg-block,.sb-block.cr-block) .sg-note{color:var(--sg-muted)}:is(.sb-block.sg-block,.sb-block.cr-block) .sg-note svg,:is(.sb-block.sg-block,.sb-block.cr-block) .sg-result svg{flex:none;width:16px;height:16px;margin-top:2px;fill:none;stroke-linecap:round;stroke-linejoin:round}:is(.sb-block.sg-block,.sb-block.cr-block) .sg-note svg{stroke:var(--sg-faint);stroke-width:1.3}:is(.sb-block.sg-block,.sb-block.cr-block) .sg-result{background:var(--sg-good-soft);border-radius:6px;padding:8px 12px 8px 10px;width:fit-content;max-width:100%}:is(.sb-block.sg-block,.sb-block.cr-block) .sg-result svg circle{fill:var(--sg-good);stroke:none}:is(.sb-block.sg-block,.sb-block.cr-block) .sg-result svg path{stroke:var(--sg-good-soft);stroke-width:1.8}:is(.sb-block.sg-block,.sb-block.cr-block) .sg-hint{margin:10px 0 0;padding:8px 12px;border-radius:8px;font-size:13.5px;line-height:1.6}:is(.sb-block.sg-block,.sb-block.cr-block) .sg-hint b{margin-right:8px;font-weight:650}:is(.sb-block.sg-block,.sb-block.cr-block) .sg-hint.is-cue{background:var(--sg-good-soft)}:is(.sb-block.sg-block,.sb-block.cr-block) .sg-hint.is-cue b{color:var(--sg-good)}:is(.sb-block.sg-block,.sb-block.cr-block) .sg-hint.is-wait{background:var(--sg-warn-soft)}:is(.sb-block.sg-block,.sb-block.cr-block) .sg-hint.is-wait b{color:var(--sg-warn)}:is(.sb-block.sg-block,.sb-block.cr-block) .sg-print,:is(.sb-block.sg-block,.sb-block.cr-block) .sg-print-only{display:none}:is(.sb-block.sg-block,.sb-block.cr-block) .sg-timer-static{margin:10px 0 0;font-size:13px;color:var(--sg-muted)}:is(.sb-block.sg-block,.sb-block.cr-block) .sg-code{--sg-code-line: var(--line, #dddddd);margin-top:12px;border:1px solid var(--sg-code-line);border-radius:10px;background:var(--surface, #fafafa);color:var(--text, #222222);overflow:hidden}:is(.sb-block.sg-block,.sb-block.cr-block) .sg-codebar{display:flex;align-items:center;gap:10px;min-height:38px;padding:0 6px 0 12px;border-bottom:1px solid var(--sg-code-line);background:color-mix(in srgb,var(--line, #dddddd) 30%,var(--surface, #fafafa))}:is(.sb-block.sg-block,.sb-block.cr-block) .sg-lang{font-family:var(--font-mono, ui-monospace, monospace);font-size:11.5px;color:var(--muted, #6a6a6a);letter-spacing:.02em}:is(.sb-block.sg-block,.sb-block.cr-block) .sg-tabs{display:flex;align-self:stretch;gap:2px;margin-left:-4px;overflow-x:auto;scrollbar-width:none}:is(.sb-block.sg-block,.sb-block.cr-block) .sg-code .sg-tabs button{position:relative;border:0;background:none;padding:0 10px;font:inherit;font-size:12.5px;color:var(--muted, #6a6a6a);white-space:nowrap;cursor:pointer}:is(.sb-block.sg-block,.sb-block.cr-block) .sg-code .sg-tabs button:hover,:is(.sb-block.sg-block,.sb-block.cr-block) .sg-code .sg-tabs button[aria-selected=true]{color:var(--text, #222222)}:is(.sb-block.sg-block,.sb-block.cr-block) .sg-code .sg-tabs button[aria-selected=true]{font-weight:650}:is(.sb-block.sg-block,.sb-block.cr-block) .sg-code .sg-tabs button[aria-selected=true]:after{content:"";position:absolute;left:10px;right:10px;bottom:-1px;height:2px;border-radius:1px;background:var(--accent, #120a8f)}:is(.sb-block.sg-block,.sb-block.cr-block) .sg-copy-hint{flex:1;min-width:0;text-align:right;font-size:12px;color:var(--muted, #6a6a6a);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}:is(.sb-block.sg-block,.sb-block.cr-block) .sg-code .sg-copy{flex:none;display:inline-flex;align-items:center;gap:5px;height:28px;padding:0 9px;border:1px solid transparent;border-radius:6px;background:none;font:inherit;font-size:12px;color:var(--muted, #6a6a6a);cursor:pointer}:is(.sb-block.sg-block,.sb-block.cr-block) .sg-code .sg-copy:hover{color:var(--text, #222222);background:var(--paper, #ffffff);border-color:var(--sg-code-line)}:is(.sb-block.sg-block,.sb-block.cr-block) .sg-copy svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round}:is(.sb-block.sg-block,.sb-block.cr-block) .sg-code .sg-copy.is-ok{color:var(--accent, #120a8f)}:is(.sb-block.sg-block,.sb-block.cr-block) .sg-code .sg-tabs button:focus-visible,:is(.sb-block.sg-block,.sb-block.cr-block) .sg-code .sg-copy:focus-visible,:is(.sb-block.sg-block,.sb-block.cr-block) .sg-code .sg-pre:focus-visible{outline:2px solid var(--accent, #120a8f);outline-offset:-2px}:is(.sb-block.sg-block,.sb-block.cr-block) .sg-code .sg-pre{margin:0;padding:13px 16px 14px;overflow-x:auto;font-family:var(--font-mono, ui-monospace, monospace);font-size:12.5px;line-height:1.7;tab-size:2;background:none}:is(.sb-block.sg-block,.sb-block.cr-block) .sg-code .sg-pre code{font:inherit;color:inherit;background:none;border:0;padding:0;white-space:pre}:is(.sb-block.sg-block,.sb-block.cr-block) .sg-code .sg-comment{color:var(--muted, #6a6a6a)}:is(.sb-block.sg-block,.sb-block.cr-block) .sg-timer{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;margin-top:12px;padding:8px 10px 8px 14px;border:1px solid var(--sg-line);border-radius:12px;background:var(--sg-paper);width:fit-content;max-width:100%}:is(.sb-block.sg-block,.sb-block.cr-block) .sg-clock{display:flex;align-items:baseline;gap:8px}:is(.sb-block.sg-block,.sb-block.cr-block) .sg-clock b{font-size:18px;font-weight:700}:is(.sb-block.sg-block,.sb-block.cr-block) .sg-clock span{font-size:12px;color:var(--sg-muted)}:is(.sb-block.sg-block,.sb-block.cr-block) .sg-meter{width:72px;height:4px;border-radius:2px;background:var(--sg-line);overflow:hidden}:is(.sb-block.sg-block,.sb-block.cr-block) .sg-meter i{display:block;height:100%;background:var(--sg-accent)}:is(.sb-block.sg-block,.sb-block.cr-block) .sg-timer.is-run .sg-meter i{background:var(--sg-good)}:is(.sb-block.sg-block,.sb-block.cr-block) .sg-timer-buttons{display:flex;flex-wrap:wrap;gap:6px}.sb-block.sg-block .sg-go,.sb-block.sg-block .sg-reset{display:inline-flex;align-items:center;gap:6px;border-radius:999px;padding:4px 12px;font-size:13px;font-weight:600}.sb-block.sg-block .sg-go{border:1px solid var(--sg-accent);background:var(--sg-accent);color:var(--sg-on-accent)}.sb-block.sg-block .sg-timer.is-run .sg-go{background:var(--sg-good);border-color:var(--sg-good)}.sb-block.sg-block .sg-reset{border:1px solid var(--sg-line);background:var(--sg-paper);color:var(--sg-muted)}:is(.sb-block.sg-block,.sb-block.cr-block) .sg-timer.is-done{border-color:var(--sg-warn);background:var(--sg-warn-soft);animation:sg-ding .6s ease 3}:is(.sb-block.sg-block,.sb-block.cr-block) .sg-timer.is-done .sg-clock b{color:var(--sg-warn)}:is(.sb-block.sg-block,.sb-block.cr-block) .sg-timer.is-large{position:relative;flex-direction:column;justify-content:flex-start;width:100%;margin:0;padding:14px 10px 12px;border-radius:16px;gap:10px}:is(.sb-block.sg-block,.sb-block.cr-block) .sg-ring{width:132px;height:132px}:is(.sb-block.sg-block,.sb-block.cr-block) .sg-ring-bg{fill:none;stroke:var(--sg-line);stroke-width:9}:is(.sb-block.sg-block,.sb-block.cr-block) .sg-ring-fg{fill:none;stroke:var(--sg-accent);stroke-width:9;stroke-linecap:round;transition:stroke-dashoffset .3s linear}:is(.sb-block.sg-block,.sb-block.cr-block) .sg-timer.is-run .sg-ring-fg{stroke:var(--sg-good)}:is(.sb-block.sg-block,.sb-block.cr-block) .sg-timer.is-done .sg-ring-fg{stroke:var(--sg-warn)}:is(.sb-block.sg-block,.sb-block.cr-block) .sg-timer.is-large .sg-clock{position:absolute;top:14px;height:132px;width:110px;flex-direction:column;align-items:center;justify-content:center;gap:0;text-align:center}:is(.sb-block.sg-block,.sb-block.cr-block) .sg-timer.is-large .sg-clock b{font-size:26px;line-height:1.2}:is(.sb-block.sg-block,.sb-block.cr-block) .sg-timer.is-large.is-done .sg-clock b{font-size:18px}:is(.sb-block.sg-block,.sb-block.cr-block) .sg-timer.is-large .sg-clock span{line-height:1.3;margin-top:2px}:is(.sb-block.sg-block,.sb-block.cr-block) .sg-timer.is-large .sg-timer-buttons{justify-content:center}:is(.sb-block.sg-block,.sb-block.cr-block) .sg-ribbon{margin:0 0 16px}:is(.sb-block.sg-block,.sb-block.cr-block) .sg-ribbon-sum{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 18px;margin-bottom:8px;font-size:13px;color:var(--sg-muted)}:is(.sb-block.sg-block,.sb-block.cr-block) .sg-ribbon-total b{font-size:20px;font-weight:700;color:var(--sg-text)}:is(.sb-block.sg-block,.sb-block.cr-block) .sg-key{display:inline-flex;align-items:center;gap:6px}:is(.sb-block.sg-block,.sb-block.cr-block) .sg-key b{color:var(--sg-text)}:is(.sb-block.sg-block,.sb-block.cr-block) .sg-key i{display:inline-block;width:20px;height:9px;border-radius:3px}:is(.sb-block.sg-block,.sb-block.cr-block) .sg-key.is-active i,:is(.sb-block.sg-block,.sb-block.cr-block) .sg-seg.is-active{background:var(--sg-accent)}:is(.sb-block.sg-block,.sb-block.cr-block) .sg-key.is-wait i,:is(.sb-block.sg-block,.sb-block.cr-block) .sg-seg.is-wait{background:repeating-linear-gradient(135deg,var(--sg-wait-soft) 0 5px,var(--sg-wait) 5px 7px)}:is(.sb-block.sg-block,.sb-block.cr-block) .sg-ribbon-hint{margin-left:auto;font-size:12px;color:var(--sg-faint)}:is(.sb-block.sg-block,.sb-block.cr-block) .sg-ribbon-rows{background:var(--sg-surface);border:1px solid var(--sg-line);border-radius:12px;padding:8px 12px 4px}.sb-block.sg-block .sg-row{display:grid;grid-template-columns:118px minmax(0,1fr);align-items:center;width:100%;height:24px;padding:0;border:0;border-radius:6px;background:none;color:inherit;text-align:left}.sb-block.sg-block .sg-row:hover{background:var(--sg-paper)}.sb-block.sg-block .sg-row.is-current{background:var(--sg-accent-soft)}.sb-block.sg-block .sg-row:focus-visible{outline-offset:0}:is(.sb-block.sg-block,.sb-block.cr-block) .sg-row-label{padding-left:4px;font-size:12.5px;color:var(--sg-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}:is(.sb-block.sg-block,.sb-block.cr-block) .sg-row-label em{font-style:normal;font-weight:700;margin-right:6px;color:var(--sg-faint)}:is(.sb-block.sg-block,.sb-block.cr-block) .sg-row.is-current .sg-row-label{color:var(--sg-text);font-weight:650}:is(.sb-block.sg-block,.sb-block.cr-block) .sg-row.is-current .sg-row-label em{color:var(--sg-accent)}:is(.sb-block.sg-block,.sb-block.cr-block) .sg-track{position:relative;display:block;height:100%}:is(.sb-block.sg-block,.sb-block.cr-block) .sg-grid{position:absolute;top:0;bottom:0;border-left:1px dashed var(--sg-line)}:is(.sb-block.sg-block,.sb-block.cr-block) .sg-seg{position:absolute;top:6px;height:12px;min-width:3px;border-radius:4px;opacity:.6;transition:opacity .2s}:is(.sb-block.sg-block,.sb-block.cr-block) .sg-row:hover .sg-seg,:is(.sb-block.sg-block,.sb-block.cr-block) .sg-row.is-current .sg-seg{opacity:1}:is(.sb-block.sg-block,.sb-block.cr-block) .sg-row.is-done .sg-seg{opacity:.35}:is(.sb-block.sg-block,.sb-block.cr-block) .sg-live{position:absolute;inset:-3px;border-radius:6px;border:2px solid var(--sg-good);animation:sg-pulse 1.2s ease-in-out infinite}:is(.sb-block.sg-block,.sb-block.cr-block) .sg-axis{display:grid;grid-template-columns:118px minmax(0,1fr);height:20px;font-size:11px;color:var(--sg-faint)}:is(.sb-block.sg-block,.sb-block.cr-block) .sg-axis .sg-track span{position:absolute;top:3px;transform:translate(-50%);white-space:nowrap}:is(.sb-block.sg-block,.sb-block.cr-block) .sg-axis .sg-track span:first-child{transform:none}:is(.sb-block.sg-block,.sb-block.cr-block) .sg-tray{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 14px}.sb-block.sg-block .sg-tray button{display:inline-flex;align-items:center;gap:6px;max-width:100%;padding:3px 11px;border:1px solid transparent;border-radius:999px;background:var(--sg-good-soft);color:var(--sg-text);font-size:12.5px}.sb-block.sg-block .sg-tray button.is-done{background:var(--sg-warn-soft);border-color:var(--sg-warn)}:is(.sb-block.sg-block,.sb-block.cr-block) .sg-tray-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:12em}:is(.sb-block.sg-block,.sb-block.cr-block) .sg-card{display:grid;grid-template-columns:minmax(0,1fr) 200px;gap:22px;padding:18px 20px;border:1px solid var(--sg-line);border-radius:16px;background:var(--sg-paper);animation:sg-in .25s ease}:is(.sb-block.sg-block,.sb-block.cr-block) .sg-card:not(:has(.sg-card-side)){grid-template-columns:minmax(0,1fr)}:is(.sb-block.sg-block,.sb-block.cr-block) .sg-card-main{min-width:0}:is(.sb-block.sg-block,.sb-block.cr-block) .sg-card-head{display:flex;align-items:center;flex-wrap:wrap;gap:8px 14px;margin-bottom:4px}.sb-block.sg-block .sg-num.is-large{width:46px;height:46px;font-size:22px;font-weight:700}:is(.sb-block.sg-block,.sb-block.cr-block) .sg-num.is-large svg{width:22px;height:22px}:is(.sb-block.sg-block,.sb-block.cr-block) .sg-card-titles{flex:1;min-width:0}:is(.sb-block.sg-block,.sb-block.cr-block) .sg-card-titles small{font-size:12px;color:var(--sg-muted);letter-spacing:.04em}:is(.sb-block.sg-block,.sb-block.cr-block) .sg-card-titles .sg-title{font-size:20px;line-height:1.3}:is(.sb-block.sg-block,.sb-block.cr-block) .sg-card-head>.sg-badge{margin-left:0}:is(.sb-block.sg-block,.sb-block.cr-block) .sg-card .sg-body{font-size:15.5px}:is(.sb-block.sg-block,.sb-block.cr-block) .sg-foot{display:flex;align-items:center;flex-wrap:wrap;gap:10px 12px;margin-top:14px}.sb-block.sg-block .sg-nav{padding:6px 16px;border:1px solid var(--sg-line);border-radius:999px;background:var(--sg-paper);color:var(--sg-text);font-size:14px;font-weight:600}.sb-block.sg-block .sg-nav.is-next{margin-left:auto;background:var(--sg-accent);border-color:var(--sg-accent);color:var(--sg-on-accent)}.sb-block.sg-block .sg-nav:disabled{opacity:.4;cursor:default}:is(.sb-block.sg-block,.sb-block.cr-block) .sg-dots{display:flex;flex-wrap:wrap;gap:6px;min-width:0}.sb-block.sg-block .sg-dots button{width:10px;height:10px;padding:0;border:0;border-radius:50%;background:var(--sg-line)}.sb-block.sg-block .sg-dots button.is-done{background:color-mix(in srgb,var(--sg-accent) 45%,var(--sg-line))}.sb-block.sg-block .sg-dots button.is-current{width:22px;border-radius:6px;background:var(--sg-accent)}@keyframes sg-in{0%{opacity:0;transform:translateY(4px)}to{opacity:1;transform:none}}@keyframes sg-pulse{0%,to{opacity:.3}50%{opacity:1}}@keyframes sg-ding{0%,to{transform:none}25%{transform:rotate(-1.5deg)}75%{transform:rotate(1.5deg)}}@container (max-width: 640px){:is(.sb-block.sg-block,.sb-block.cr-block) .sg-step{grid-template-columns:26px minmax(0,1fr);gap:0 12px}.sb-block.sg-block .sg-num{width:26px;height:26px;font-size:12px}:is(.sb-block.sg-block,.sb-block.cr-block) .sg-content{padding:1px 0 24px}:is(.sb-block.sg-block,.sb-block.cr-block) .sg-tip,:is(.sb-block.sg-block,.sb-block.cr-block) .sg-ribbon-hint{display:none}:is(.sb-block.sg-block,.sb-block.cr-block) .sg-bar{max-width:none}:is(.sb-block.sg-block,.sb-block.cr-block) .sg-code .sg-pre{padding:12px 13px;font-size:12px}:is(.sb-block.sg-block,.sb-block.cr-block) .sg-codebar{flex-wrap:wrap}:is(.sb-block.sg-block,.sb-block.cr-block) .sg-codebar>:first-child{flex:1;min-width:0}:is(.sb-block.sg-block,.sb-block.cr-block) .sg-copy-hint{order:3;flex-basis:100%;text-align:left;white-space:normal}:is(.sb-block.sg-block,.sb-block.cr-block) .sg-copy-hint:empty{display:none}.sb-block.sg-block .sg-row,:is(.sb-block.sg-block,.sb-block.cr-block) .sg-axis{grid-template-columns:76px minmax(0,1fr)}:is(.sb-block.sg-block,.sb-block.cr-block) .sg-card{grid-template-columns:minmax(0,1fr);padding:14px 12px}:is(.sb-block.sg-block,.sb-block.cr-block) .sg-ring{width:104px;height:104px}:is(.sb-block.sg-block,.sb-block.cr-block) .sg-timer.is-large .sg-clock{width:92px;height:104px}:is(.sb-block.sg-block,.sb-block.cr-block) .sg-timer.is-large .sg-clock b{font-size:20px}:is(.sb-block.sg-block,.sb-block.cr-block) .sg-card-titles .sg-title{font-size:18px}.sb-block.sg-block .sg-nav{padding:6px 12px}:is(.sb-block.sg-block,.sb-block.cr-block) .sg-dots{order:3;flex-basis:100%;justify-content:center}}@media(prefers-reduced-motion:reduce){.sb-block.sg-block *,.sb-block.sg-block *:after{transition:none!important}:is(.sb-block.sg-block,.sb-block.cr-block) .sg-card,:is(.sb-block.sg-block,.sb-block.cr-block) .sg-live,:is(.sb-block.sg-block,.sb-block.cr-block) .sg-timer.is-done{animation:none}}@media print{:is(.sb-block.sg-block,.sb-block.cr-block) .sg-progress,:is(.sb-block.sg-block,.sb-block.cr-block) .sg-tray,:is(.sb-block.sg-block,.sb-block.cr-block) .sg-ribbon-hint,:is(.sb-block.sg-block,.sb-block.cr-block) .sg-copy,:is(.sb-block.sg-block,.sb-block.cr-block) .sg-copy-hint,:is(.sb-block.sg-block,.sb-block.cr-block) .sg-card,:is(.sb-block.sg-block,.sb-block.cr-block) .sg-foot,:is(.sb-block.sg-block,.sb-block.cr-block) .sg-screen,:is(.sb-block.sg-block,.sb-block.cr-block) .sg-timer-buttons{display:none}:is(.sb-block.sg-block,.sb-block.cr-block) .sg-print,:is(.sb-block.sg-block,.sb-block.cr-block) .sg-print-only{display:block}:is(.sb-block.sg-block,.sb-block.cr-block) .sg-print{margin:0;padding-left:1.6em}:is(.sb-block.sg-block,.sb-block.cr-block) .sg-print>li{break-inside:avoid;margin-bottom:16px}:is(.sb-block.sg-block,.sb-block.cr-block) .sg-code .sg-pre{overflow:visible}:is(.sb-block.sg-block,.sb-block.cr-block) .sg-code pre[hidden]{display:block;border-top:1px solid var(--sg-code-line)}:is(.sb-block.sg-block,.sb-block.cr-block) .sg-code pre[data-label]:before{content:attr(data-label);display:block;margin-bottom:4px;font-family:var(--font-sans, sans-serif);font-size:11.5px;font-weight:650;color:var(--muted, #6a6a6a)}:is(.sb-block.sg-block,.sb-block.cr-block) .sg-code .sg-pre code{white-space:pre-wrap}}
2
- `);var K=X("stepGuide",{"zh-CN":{title:"\u64CD\u4F5C\u6B65\u9AA4",progress:"\u5DF2\u5B8C\u6210 {done} / {total} \u6B65",allDone:"\u5168\u90E8\u5B8C\u6210",resetProgress:"\u91CD\u7F6E",resetProgressLabel:"\u6E05\u9664\u5168\u90E8\u5B8C\u6210\u6807\u8BB0",tickHint:"\u70B9\u51FB\u5E8F\u53F7\u6807\u8BB0\u5B8C\u6210",markDone:"\u5C06\u7B2C {number} \u6B65\u6807\u8BB0\u4E3A\u5DF2\u5B8C\u6210",markUndone:"\u7B2C {number} \u6B65\u5DF2\u5B8C\u6210\uFF0C\u70B9\u51FB\u53D6\u6D88",note:"\u63D0\u793A",result:"\u5B8C\u6210\u540E",cue:"\u770B\u5230\u8FD9\u6837\u5C31\u5BF9\u4E86",wait:"\u7B49\u5F85\u65F6","code.label":"\u4EE3\u7801","code.variants":"\u9009\u62E9\u73AF\u5883","code.copy":"\u590D\u5236","code.copied":"\u5DF2\u590D\u5236","code.copyLabel":"\u590D\u5236{label}","code.selected":"\u5DF2\u9009\u4E2D\uFF0C\u6309 \u2318C / Ctrl+C \u590D\u5236","code.stepLabel":"\u7B2C {number} \u6B65\u7684\u4EE3\u7801","timer.label":"\u8BA1\u65F6\u5668","timer.start":"\u5F00\u59CB\u8BA1\u65F6","timer.pause":"\u6682\u505C","timer.resume":"\u7EE7\u7EED","timer.reset":"\u91CD\u7F6E","timer.timeUp":"\u65F6\u95F4\u5230","timer.timeUpStep":"\u7B2C {number} \u6B65\u65F6\u95F4\u5230","timer.tray":"\u6B63\u5728\u8BA1\u65F6","timer.trayItem":"\u7B2C {number} \u6B65 {label}\uFF1A{time}\uFF0C\u70B9\u51FB\u67E5\u770B","timer.of":"{label} \xB7 {minutes}","duration.minutes":"{minutes} \u5206\u949F","duration.hours":"{hours} \u5C0F\u65F6","duration.hoursMinutes":"{hours} \u5C0F\u65F6 {minutes} \u5206\u949F","ribbon.label":"\u65F6\u95F4\u7EBF","ribbon.total":"\u603B\u8BA1","ribbon.active":"\u52A8\u624B","ribbon.wait":"\u7B49\u5F85","ribbon.hint":"\u70B9\u51FB\u4E00\u884C\u8DF3\u5230\u8BE5\u6B65\u9AA4","ribbon.row":"\u7B2C {number} \u6B65 {label}","focus.position":"\u6B65\u9AA4 {number} / {total}","focus.prev":"\u4E0A\u4E00\u6B65","focus.next":"\u4E0B\u4E00\u6B65","focus.nav":"\u6B65\u9AA4\u5BFC\u822A","focus.goTo":"\u8DF3\u5230\u7B2C {number} \u6B65\uFF1A{title}"},en:{title:"Steps",progress:"{done} of {total} steps done",allDone:"All steps done",resetProgress:"Reset",resetProgressLabel:"Clear every done mark",tickHint:"Click a number to mark it done",markDone:"Mark step {number} as done",markUndone:"Step {number} is done; click to undo",note:"Note",result:"Result",cue:"You are there when",wait:"While you wait","code.label":"Code","code.variants":"Choose an environment","code.copy":"Copy","code.copied":"Copied","code.copyLabel":"Copy {label}","code.selected":"Selected. Press \u2318C / Ctrl+C to copy","code.stepLabel":"code for step {number}","timer.label":"Timer","timer.start":"Start timer","timer.pause":"Pause","timer.resume":"Resume","timer.reset":"Reset","timer.timeUp":"Time's up","timer.timeUpStep":"Step {number}: time's up","timer.tray":"Running timers","timer.trayItem":"Step {number} {label}: {time}; click to view","timer.of":"{label} \xB7 {minutes}","duration.minutes":"{minutes} min","duration.hours":"{hours} h","duration.hoursMinutes":"{hours} h {minutes} min","ribbon.label":"Timeline","ribbon.total":"total","ribbon.active":"Hands-on","ribbon.wait":"Waiting","ribbon.hint":"Click a row to jump to that step","ribbon.row":"Step {number} {label}","focus.position":"Step {number} of {total}","focus.prev":"Previous","focus.next":"Next","focus.nav":"Step navigation","focus.goTo":"Go to step {number}: {title}"}});var s=B(F(),1);function bs({source:l,className:c}){return(0,s.jsx)(s.Fragment,{children:l.split(/\n+/).filter(t=>t.trim()).map((t,r)=>(0,s.jsx)("p",{className:c,children:(0,s.jsx)(v,{source:t})},r))})}function as(l,c){let t=document.activeElement,r=document.createElement("textarea");r.value=l,r.setAttribute("readonly",""),r.style.cssText="position:fixed;top:0;left:0;width:1px;height:1px;opacity:0;pointer-events:none",document.body.appendChild(r),r.select();let n=document.execCommand("copy");if(r.remove(),t?.focus?.({preventScroll:!0}),!n&&c){let g=document.createRange();g.selectNodeContents(c);let i=window.getSelection();i?.removeAllRanges(),i?.addRange(g)}return n}var is=(l,c)=>{let t=l.trimStart();return t.startsWith("//")?!0:t.startsWith("#")&&!t.startsWith("#!")&&!/^(md|markdown)$/i.test(c??"")};function ns({variants:l,name:c,fallbackLang:t}){let r=j(K),n=(0,d.useId)(),[g,i]=(0,d.useState)(0),[k,y]=(0,d.useState)("idle"),N=(0,d.useRef)(null),S=(0,d.useRef)(null),z=(0,d.useRef)(void 0);(0,d.useEffect)(()=>()=>window.clearTimeout(z.current),[]);let a=l.length>1,x=l[Math.min(g,l.length-1)],D=x.code.replace(/\n+$/,""),h=x.lang??t,L=()=>{let u=as(D,N.current);y(u?"copied":"selected"),window.clearTimeout(z.current),z.current=window.setTimeout(()=>y("idle"),u?1500:4e3)},R=u=>{i(u),y("idle")},E=u=>{let p={ArrowRight:g+1,ArrowLeft:g-1,Home:0,End:l.length-1};if(!(u.key in p))return;u.preventDefault();let T=(p[u.key]+l.length)%l.length;R(T),S.current?.children[T]?.focus()};return(0,s.jsxs)("div",{className:"sg-code",children:[(0,s.jsxs)("div",{className:"sg-codebar",children:[a?(0,s.jsx)("div",{className:"sg-tabs",role:"tablist","aria-label":r("code.variants"),ref:S,onKeyDown:E,children:l.map((u,p)=>(0,s.jsx)("button",{type:"button",role:"tab",id:`${n}-tab${p}`,"aria-selected":p===g,"aria-controls":`${n}-panel${p}`,tabIndex:p===g?0:-1,onClick:()=>R(p),children:u.label},p))}):(0,s.jsx)("span",{className:"sg-lang",children:x.label||h||r("code.label")}),(0,s.jsx)("span",{className:"sg-copy-hint","aria-live":"polite",children:k==="selected"?r("code.selected"):""}),(0,s.jsxs)("button",{type:"button",className:`sg-copy${k==="copied"?" is-ok":""}`,onClick:L,"aria-label":k==="copied"?r("code.copied"):r("code.copyLabel",{label:c}),children:[k==="copied"?(0,s.jsx)("svg",{viewBox:"0 0 16 16","aria-hidden":"true",children:(0,s.jsx)("path",{d:"M3.5 8.5l3 3 6-7"})}):(0,s.jsxs)("svg",{viewBox:"0 0 16 16","aria-hidden":"true",children:[(0,s.jsx)("rect",{x:"5.5",y:"5.5",width:"8",height:"8",rx:"1.5"}),(0,s.jsx)("path",{d:"M10.5 3.5v-.5a1 1 0 0 0-1-1h-6a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h.5"})]}),(0,s.jsx)("span",{children:r(k==="copied"?"code.copied":"code.copy")})]})]}),l.map((u,p)=>(0,s.jsx)("pre",{className:"sg-pre",id:`${n}-panel${p}`,role:a?"tabpanel":void 0,"aria-labelledby":a?`${n}-tab${p}`:void 0,"aria-label":a?void 0:c,"data-label":a?u.label:void 0,hidden:p!==g,tabIndex:0,children:(0,s.jsx)("code",{ref:p===g?N:void 0,children:u.code.replace(/\n+$/,"").split(`
3
- `).map((T,C)=>(0,s.jsxs)("span",{className:is(T,u.lang??t)?"sg-comment":void 0,children:[T,`
4
- `]},C))})},p))]})}function H(l,c){let t=Math.floor(l/60),r=Math.round(l%60);return t?r?c("duration.hoursMinutes",{hours:t,minutes:r}):c("duration.hours",{hours:t}):c("duration.minutes",{minutes:r})}function ss(l){let c=Math.max(0,Math.ceil(l/1e3)),t=Math.floor(c/3600),r=Math.floor(c%3600/60),n=String(c%60).padStart(2,"0");return t?`${t}:${String(r).padStart(2,"0")}:${n}`:`${r}:${n}`}var gs=l=>l===0?"0":`${Math.floor(l/60)}:${String(l%60).padStart(2,"0")}`,ks=()=>typeof matchMedia=="function"&&matchMedia("(prefers-reduced-motion: reduce)").matches;function ds({step:l,number:c,timer:t,left:r,large:n,onToggle:g,onReset:i,t:k}){let y=l.timer.minutes*6e4,N=y?r/y:0,S=54,z=2*Math.PI*S,a=l.timer.label,x=t?.done?" is-done":t?.endAt?" is-run":"";return(0,s.jsxs)("div",{className:`sg-timer${n?" is-large":""}${x}`,role:"group","aria-label":a?`${k("timer.label")} \xB7 ${a}`:k("timer.label"),children:[n&&(0,s.jsxs)("svg",{viewBox:"0 0 132 132",className:"sg-ring","aria-hidden":"true",children:[(0,s.jsx)("circle",{cx:"66",cy:"66",r:S,className:"sg-ring-bg"}),(0,s.jsx)("circle",{cx:"66",cy:"66",r:S,className:"sg-ring-fg",strokeDasharray:z,strokeDashoffset:z*(1-N),transform:"rotate(-90 66 66)"})]}),(0,s.jsxs)("div",{className:"sg-clock",children:[(0,s.jsx)("b",{role:"timer",children:t?.done?k("timer.timeUp"):ss(r)}),a&&(0,s.jsx)("span",{children:a})]}),!n&&(0,s.jsx)("span",{className:"sg-meter","aria-hidden":"true",children:(0,s.jsx)("i",{style:{width:`${(1-N)*100}%`}})}),(0,s.jsxs)("div",{className:"sg-timer-buttons",children:[!t?.done&&(0,s.jsxs)("button",{type:"button",className:"sg-go",onClick:g,"aria-label":`${t?.endAt?k("timer.pause"):k(t?"timer.resume":"timer.start")} \xB7 ${c}`,children:[(0,s.jsx)("span",{"aria-hidden":"true",children:t?.endAt?"\u275A\u275A":"\u25B6"}),t?.endAt?k("timer.pause"):k(t?"timer.resume":"timer.start")]}),t&&(0,s.jsxs)("button",{type:"button",className:"sg-reset",onClick:i,children:[(0,s.jsx)("span",{"aria-hidden":"true",children:"\u21BA"}),k("timer.reset")]})]})]})}function G({step:l,number:c,t,timer:r}){let n=l.variants?.length?l.variants:l.code?[{label:"",code:l.code,lang:l.lang}]:null;return(0,s.jsxs)(s.Fragment,{children:[l.body&&(0,s.jsx)(bs,{source:l.body,className:"sg-body"}),n&&(0,s.jsx)(ns,{variants:n,name:t("code.stepLabel",{number:c}),fallbackLang:l.lang}),l.cue&&(0,s.jsxs)("p",{className:"sg-hint is-cue",children:[(0,s.jsx)("b",{children:t("cue")}),(0,s.jsx)("span",{children:(0,s.jsx)(v,{source:l.cue})})]}),l.wait&&(0,s.jsxs)("p",{className:"sg-hint is-wait",children:[(0,s.jsx)("b",{children:t("wait")}),(0,s.jsx)("span",{children:(0,s.jsx)(v,{source:l.wait})})]}),l.note&&(0,s.jsxs)("p",{className:"sg-note",children:[(0,s.jsxs)("svg",{viewBox:"0 0 16 16",role:"img","aria-label":t("note"),children:[(0,s.jsx)("circle",{cx:"8",cy:"8",r:"6.2"}),(0,s.jsx)("path",{d:"M8 7.2v3.6M8 5.1v.1"})]}),(0,s.jsx)("span",{children:(0,s.jsx)(v,{source:l.note})})]}),l.result&&(0,s.jsxs)("p",{className:"sg-result",children:[(0,s.jsxs)("svg",{viewBox:"0 0 16 16",role:"img","aria-label":t("result"),children:[(0,s.jsx)("circle",{cx:"8",cy:"8",r:"7"}),(0,s.jsx)("path",{d:"M4.9 8.2l2.1 2.1 4.1-4.5"})]}),(0,s.jsx)("span",{children:(0,s.jsx)(v,{source:l.result})})]}),r]})}function _({step:l,t:c}){if(!l.timer)return null;let t=H(l.timer.minutes,c);return(0,s.jsxs)("p",{className:"sg-timer-static",children:[(0,s.jsx)("span",{"aria-hidden":"true",children:"\u23F1 "}),l.timer.label?c("timer.of",{label:l.timer.label,minutes:t}):t]})}var ps=()=>(0,s.jsx)("svg",{viewBox:"0 0 16 16","aria-hidden":"true",children:(0,s.jsx)("path",{d:"M3.8 8.4l2.8 2.8 5.6-6.4"})});function Ss({data:l}){let c=j(K),t=l,r=t.steps,n=t.layout==="focus",g=t.start??1,i=(o,e)=>o.id??`#${e}`,k=o=>o.short??U(o.title),y=(0,d.useId)(),N=o=>`${y}-step${o}`,[S,z]=(0,d.useState)(()=>Math.min(Math.max(t.initialStep??0,0),r.length-1)),a=Math.min(S,r.length-1),[x,D]=(0,d.useState)(()=>new Set),[h,L]=(0,d.useState)({}),[R,E]=(0,d.useState)(()=>Date.now()),[u,p]=(0,d.useState)(""),T=(0,d.useRef)(null);(0,d.useEffect)(()=>{if(!Object.values(h).some(e=>e.endAt))return;let o=window.setInterval(()=>{let e=Date.now();E(e);let b=Object.entries(h).filter(([,f])=>f.endAt!==null&&f.endAt<=e);if(!b.length)return;L(f=>{let $={...f};for(let[ls]of b)$[ls]={left:0,endAt:null,done:!0};return $});let m=r.findIndex((f,$)=>i(f,$)===b[0][0]);p(c("timer.timeUpStep",{number:g+m}))},250);return()=>window.clearInterval(o)},[h,r,g,c]);let C=r.filter((o,e)=>x.has(i(o,e))).length,os=o=>D(e=>{let b=new Set(e);return b.has(o)?b.delete(o):b.add(o),b}),P=(o,e)=>{let b=h[i(o,e)];return b?b.endAt?Math.max(0,b.endAt-R):b.left:(o.timer?.minutes??0)*6e4},es=(o,e)=>{let b=i(o,e),m=h[b];if(m?.done)return;let f=P(o,e),$=Date.now();E($),L({...h,[b]:m?.endAt?{left:f,endAt:null,done:!1}:{left:f,endAt:$+f,done:!1}})},cs=(o,e)=>{let b={...h};delete b[i(o,e)],L(b)},M=o=>{let e=Math.min(r.length-1,Math.max(0,o));if(z(e),n)return;let b=T.current?.querySelector(`[id="${N(e)}"]`);b?.scrollIntoView({block:"nearest",behavior:ks()?"auto":"smooth"}),b?.querySelector(".sg-num")?.focus({preventScroll:!0})},ts=o=>{if(!(!n||o.defaultPrevented||o.target.closest("[role=tablist], pre, input, textarea"))){if(o.key==="ArrowRight")M(a+1);else if(o.key==="ArrowLeft")M(a-1);else return;o.preventDefault()}},O=(o,e,b)=>o.timer?(0,s.jsx)(ds,{step:o,number:g+e,timer:h[i(o,e)],left:P(o,e),large:b,onToggle:()=>es(o,e),onReset:()=>cs(o,e),t:c}):null,W=(o,e,b="sg-num")=>{let m=g+e,f=x.has(i(o,e));return(0,s.jsx)("button",{type:"button",className:b,"aria-pressed":f,"aria-label":f?c("markUndone",{number:m}):c("markDone",{number:m}),onClick:()=>os(i(o,e)),children:f?(0,s.jsx)(ps,{}):m})},V=r.map((o,e)=>({step:o,i:e,timer:h[i(o,e)]})).filter(({i:o,timer:e})=>e&&(e.endAt||e.done)&&!(n&&o===a)),A=J(r),Y=Q(A.total),I=o=>`${o/A.total*100}%`,w=r[a];return(0,s.jsxs)("section",{ref:T,className:`sb-block sg-block ${n?"is-focus":"is-list"}`,"aria-label":Z(t.title,c("title")),onKeyDown:ts,children:[(t.title||t.description)&&(0,s.jsxs)("div",{className:"sg-head",children:[t.title&&(0,s.jsx)("h3",{className:"sg-heading",children:t.title}),t.description&&(0,s.jsx)("p",{className:"sg-sub",children:(0,s.jsx)(v,{source:t.description})})]}),r.length>1&&(0,s.jsxs)("div",{className:"sg-progress",children:[(0,s.jsx)("span",{className:"sg-count","aria-live":"polite",children:C===r.length?c("allDone"):c("progress",{done:C,total:r.length})}),(0,s.jsx)("span",{className:"sg-bar","aria-hidden":"true",children:(0,s.jsx)("i",{style:{width:`${C/r.length*100}%`}})}),C>0?(0,s.jsx)("button",{type:"button",className:"sg-clear","aria-label":c("resetProgressLabel"),onClick:()=>D(new Set),children:c("resetProgress")}):!n&&(0,s.jsx)("span",{className:"sg-tip",children:c("tickHint")})]}),A.total>0&&(0,s.jsxs)("div",{className:"sg-ribbon",role:"group","aria-label":c("ribbon.label"),children:[(0,s.jsxs)("div",{className:"sg-ribbon-sum",children:[(0,s.jsxs)("span",{className:"sg-ribbon-total",children:[(0,s.jsx)("b",{children:H(A.total,c)})," ",c("ribbon.total")]}),(0,s.jsxs)("span",{className:"sg-key is-active",children:[(0,s.jsx)("i",{"aria-hidden":"true"})," ",c("ribbon.active")," ",(0,s.jsx)("b",{children:H(A.active,c)})]}),(0,s.jsxs)("span",{className:"sg-key is-wait",children:[(0,s.jsx)("i",{"aria-hidden":"true"})," ",c("ribbon.wait")," ",(0,s.jsx)("b",{children:H(A.wait,c)})]}),(0,s.jsx)("span",{className:"sg-ribbon-hint",children:c("ribbon.hint")})]}),(0,s.jsxs)("div",{className:"sg-ribbon-rows",children:[r.map((o,e)=>o.segments?.length?(0,s.jsxs)("button",{type:"button",className:`sg-row${n&&e===a?" is-current":""}${x.has(i(o,e))?" is-done":""}`,"aria-current":n&&e===a?"step":void 0,"aria-label":c("ribbon.row",{number:g+e,label:k(o)}),onClick:()=>M(e),children:[(0,s.jsxs)("span",{className:"sg-row-label","aria-hidden":"true",children:[(0,s.jsx)("em",{children:g+e}),k(o)]}),(0,s.jsxs)("span",{className:"sg-track","aria-hidden":"true",children:[Y.map(b=>(0,s.jsx)("span",{className:"sg-grid",style:{left:I(b)}},b)),o.segments.map((b,m)=>(0,s.jsx)("span",{className:`sg-seg is-${b.kind}`,style:{left:I(b.start),width:I(b.minutes)},children:h[i(o,e)]?.endAt&&m===o.segments.length-1&&(0,s.jsx)("span",{className:"sg-live"})},m))]})]},i(o,e)):null),(0,s.jsxs)("div",{className:"sg-axis","aria-hidden":"true",children:[(0,s.jsx)("span",{}),(0,s.jsx)("span",{className:"sg-track",children:Y.map(o=>(0,s.jsx)("span",{style:{left:I(o)},children:gs(o)},o))})]})]})]}),V.length>0&&(0,s.jsx)("div",{className:"sg-tray",role:"group","aria-label":c("timer.tray"),children:V.map(({step:o,i:e,timer:b})=>{let m=b.done?c("timer.timeUp"):ss(P(o,e));return(0,s.jsxs)("button",{type:"button",className:b.done?"is-done":void 0,"aria-label":c("timer.trayItem",{number:g+e,label:k(o),time:m}),onClick:()=>M(e),children:[(0,s.jsx)("span",{"aria-hidden":"true",children:b.done?"\u23F0":"\u23F1"}),(0,s.jsx)("span",{className:"sg-tray-label",children:k(o)}),(0,s.jsx)("b",{children:m})]},i(o,e))})}),n?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)("div",{className:"sg-card",children:[(0,s.jsxs)("div",{className:"sg-card-main",children:[(0,s.jsxs)("div",{className:`sg-card-head${x.has(i(w,a))?" is-done":""}`,children:[W(w,a,"sg-num is-large"),(0,s.jsxs)("div",{className:"sg-card-titles",children:[(0,s.jsx)("small",{children:c("focus.position",{number:a+1,total:r.length})}),(0,s.jsx)("h4",{className:"sg-title","aria-live":"polite",children:(0,s.jsx)(v,{source:w.title})})]}),w.badge&&(0,s.jsx)("span",{className:"sg-badge",children:w.badge})]}),(0,s.jsx)(G,{step:w,number:g+a,t:c})]}),w.timer&&(0,s.jsx)("div",{className:"sg-card-side",children:O(w,a,!0)})]},i(w,a)),(0,s.jsxs)("nav",{className:"sg-foot","aria-label":c("focus.nav"),children:[(0,s.jsxs)("button",{type:"button",className:"sg-nav",onClick:()=>M(a-1),disabled:a===0,children:[(0,s.jsx)("span",{"aria-hidden":"true",children:"\u2190 "}),c("focus.prev")]}),(0,s.jsx)("div",{className:"sg-dots",children:r.map((o,e)=>(0,s.jsx)("button",{type:"button","aria-label":c("focus.goTo",{number:g+e,title:U(o.title)}),"aria-current":e===a?"step":void 0,className:`${e===a?"is-current":""}${x.has(i(o,e))?" is-done":""}`,onClick:()=>M(e)},i(o,e)))}),(0,s.jsxs)("button",{type:"button",className:"sg-nav is-next",onClick:()=>M(a+1),disabled:a===r.length-1,children:[c("focus.next"),(0,s.jsx)("span",{"aria-hidden":"true",children:" \u2192"})]})]}),(0,s.jsx)("ol",{className:"sg-print",start:g,children:r.map((o,e)=>(0,s.jsxs)("li",{children:[(0,s.jsxs)("h4",{className:"sg-title",children:[(0,s.jsx)(v,{source:o.title}),o.badge&&(0,s.jsx)("span",{className:"sg-badge",children:o.badge})]}),(0,s.jsx)(G,{step:o,number:g+e,t:c,timer:(0,s.jsx)(_,{step:o,t:c})})]},i(o,e)))})]}):(0,s.jsx)("ol",{className:"sg-list",children:r.map((o,e)=>{let b=x.has(i(o,e));return(0,s.jsxs)("li",{id:N(e),className:`sg-step${b?" is-done":""}`,children:[(0,s.jsxs)("div",{className:"sg-rail",children:[W(o,e),e<r.length-1&&(0,s.jsx)("span",{className:"sg-line","aria-hidden":"true"})]}),(0,s.jsxs)("div",{className:"sg-content",children:[(0,s.jsxs)("h4",{className:"sg-title",children:[(0,s.jsx)(v,{source:o.title}),o.badge&&(0,s.jsx)("span",{className:"sg-badge",children:o.badge})]}),(0,s.jsx)(G,{step:o,number:g+e,t:c,timer:o.timer&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("div",{className:"sg-screen",children:O(o,e,!1)}),(0,s.jsx)("div",{className:"sg-print-only",children:(0,s.jsx)(_,{step:o,t:c})})]})})]})]},i(o,e))})}),(0,s.jsx)("p",{className:"sg-announce","aria-live":"assertive",children:u})]})}export{ns as a,Ss as b};