@brickkit/cli 0.15.0 → 0.16.0-beta.1

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 (86) hide show
  1. package/dashboard-dist/{CollapsiblePanel-CbUysOp5.js → CollapsiblePanel-DvJpFahB.js} +2 -2
  2. package/dashboard-dist/Geist-Variable.woff2 +0 -0
  3. package/dashboard-dist/GeistMono-Variable.woff2 +0 -0
  4. package/dashboard-dist/{api-reference-BP4ULs5J.js → api-reference-C2_JX174.js} +82 -70
  5. package/dashboard-dist/app.css +2 -2
  6. package/dashboard-dist/app.js +5 -5
  7. package/dashboard-dist/{client-CID_ep-s.js → client-DsITZplk.js} +1 -1
  8. package/dashboard-dist/{core-B123mLVe.js → core-sW89OSz5.js} +1 -1
  9. package/dashboard-dist/docs-D3U7gUWq.js +4 -0
  10. package/dashboard-dist/kit.js +1 -1
  11. package/dashboard-dist/{popover-B4rnc_po.js → popover-Bb2Q3jiK.js} +1 -1
  12. package/dist/bin.d.ts +1 -2
  13. package/dist/bin.js +6 -6
  14. package/dist/bin.js.map +1 -1
  15. package/dist/build.js.map +1 -1
  16. package/dist/client-contract-file.js +2 -1
  17. package/dist/client-contract-file.js.map +1 -1
  18. package/dist/compiler.d.ts +1 -2
  19. package/dist/config2.d.ts +1 -2
  20. package/dist/dashboard-extension.d.ts +1 -2
  21. package/dist/dashboard-host.js.map +1 -1
  22. package/dist/dashboard.d.ts +4 -4
  23. package/dist/definitions.js +1 -0
  24. package/dist/definitions.js.map +1 -1
  25. package/dist/dev-application.js.map +1 -1
  26. package/dist/dev-reporter.d.ts +1 -2
  27. package/dist/dev-reporter.js.map +1 -1
  28. package/dist/dev-telemetry.js.map +1 -1
  29. package/dist/dev-worker.js.map +1 -1
  30. package/dist/index.d.ts +1 -2
  31. package/dist/lint/oxlint.d.ts +1 -2
  32. package/dist/plugin.d.ts +1 -2
  33. package/dist/production-dashboard2.d.ts +1 -2
  34. package/dist/project.js +35 -12
  35. package/dist/project.js.map +1 -1
  36. package/dist/serve.d.ts +1 -2
  37. package/dist/serve2.js.map +1 -1
  38. package/dist/vite.d.ts +1 -2
  39. package/dist/vite.js.map +1 -1
  40. package/dist/workflows.d.ts +1 -2
  41. package/inspector-dist/client/assets/app-Wfnqu2Ic.css +4610 -0
  42. package/inspector-dist/client/assets/{dist-BK8w6xOr.js → dist-CEyPxAJU.js} +2008 -334
  43. package/inspector-dist/client/assets/{entry.client-D9jbgmTR.js → entry.client-Cszf0uLP.js} +4628 -2593
  44. package/inspector-dist/client/assets/highlighted-body-JLMTFACH-CgFt8UnP.js +41 -0
  45. package/inspector-dist/client/assets/{home-hwPlkNhv.js → home-B2m1nnIz.js} +191 -105
  46. package/inspector-dist/client/assets/{jsx-runtime-CPEah4WQ.js → jsx-runtime-DRYYXgdJ.js} +2946 -2001
  47. package/inspector-dist/client/assets/{manifest-0e76e9ac.js → manifest-cfc09adc.js} +1 -1
  48. package/inspector-dist/client/assets/mermaid-WFAXDIZX-BoRESrqm.js +1 -0
  49. package/inspector-dist/client/assets/root-CVescmwt.css +4544 -0
  50. package/inspector-dist/client/assets/{root-SLeEf-sT.js → root-CVhM1JOR.js} +3 -3
  51. package/inspector-dist/client/assets/{run-detail-DYbVkIFH.js → run-detail-BdV01jxD.js} +90 -50
  52. package/inspector-dist/client/assets/tabs-BVrPbzfI.css +66 -0
  53. package/inspector-dist/client/assets/{tabs-CaJisoyb.js → tabs-C2hdi5D4.js} +12496 -8708
  54. package/inspector-dist/client/assets/{zstd-browser-decoder-D94wmfAU.js → zstd-browser-decoder-DQWDmc2d.js} +2 -2
  55. package/inspector-dist/server/assets/{app-DGlfWVUI.js → app-w0nTXgJd.js} +51489 -51478
  56. package/inspector-dist/server/assets/{chunk-RLXIAIE6-F0SJZlei.js → chunk-7TTQLYRW-BO6_qAAU.js} +10986 -7848
  57. package/inspector-dist/server/assets/cjs-DPK66Gxq.js +3600 -0
  58. package/inspector-dist/server/assets/{dist-BCbwm6jl.js → dist-DTHqO9VA.js} +149 -1619
  59. package/inspector-dist/server/assets/{dist-Ce0I2PUv.js → dist-OLuKLJ4s.js} +8 -8
  60. package/inspector-dist/server/assets/{encryption-DdQgC8Rk.js → encryption-DMo4uOFN.js} +5 -5
  61. package/inspector-dist/server/assets/{event-metadata-n7E4zEmT.js → event-metadata-Bx8Ts484.js} +1 -1
  62. package/inspector-dist/server/assets/functions-B9XwHSzK.js +6972 -0
  63. package/inspector-dist/server/assets/{global-singleton-D8sIN5du.js → global-singleton-rNtXNHKV.js} +1 -1
  64. package/inspector-dist/server/assets/highlighted-body-JLMTFACH-B0HDNeQE.js +41 -0
  65. package/inspector-dist/server/assets/mermaid-WFAXDIZX-B-AIJZhh.js +1 -0
  66. package/inspector-dist/server/assets/serialization-DsMds3lJ.js +5716 -0
  67. package/inspector-dist/server/assets/{serialization-format-BbuGfHog.js → serialization-format-B27jSUCM.js} +30 -9
  68. package/inspector-dist/server/assets/state-resolver-DVs_zsEO.js +1422 -0
  69. package/inspector-dist/server/assets/{token-BgMmJNP5.js → token-CvvD8Y5H.js} +1 -1
  70. package/inspector-dist/server/assets/token-CxjWFNNq.js +63 -0
  71. package/inspector-dist/server/assets/token-util-D9IsWeEs.js +3 -0
  72. package/inspector-dist/server/assets/{wrapper-CIC3w0oC.js → wrapper-B_u9Z5Up.js} +58 -26
  73. package/inspector-dist/server/assets/{ws-transport-CxTYB11n.js → ws-transport-CamzQ5O8.js} +24379 -24240
  74. package/inspector-dist/server/assets/{zstd-browser-decoder-D7bCXbGg.js → zstd-browser-decoder-DlGbqUuc.js} +2 -2
  75. package/inspector-dist/server/index.js +1 -1
  76. package/package.json +21 -21
  77. package/dashboard-dist/docs-B5JrvjJm.js +0 -4
  78. package/inspector-dist/client/assets/app-CeSwVsRm.css +0 -2
  79. package/inspector-dist/client/assets/highlighted-body-B3W2YXNL-CfRnuITN.js +0 -34
  80. package/inspector-dist/client/assets/mermaid-3ZIDBTTL-ZDR2PNY_.js +0 -1
  81. package/inspector-dist/client/assets/root-ChBNTZd2.css +0 -2
  82. package/inspector-dist/client/assets/tabs-L5XKzOpP.css +0 -1
  83. package/inspector-dist/server/assets/functions-CNVQtbgg.js +0 -1170
  84. package/inspector-dist/server/assets/highlighted-body-B3W2YXNL-CWRzMxYD.js +0 -34
  85. package/inspector-dist/server/assets/mermaid-3ZIDBTTL-D0v0ngVr.js +0 -1
  86. package/inspector-dist/server/assets/parse-Begau9cA.js +0 -469
@@ -1,2 +1,2 @@
1
- import{r as e}from"./rolldown-runtime-XKyaHtl9.js";import{Bt as t,C as n,Dt as r,Gn as i,Hn as a,Mn as o,Nn as s,Pn as c,Rn as l,Rt as u,S as d,T as f,Tt as p,Un as m,Vn as h,a as g,an as _,b as v,c as y,cn as b,dt as x,en as S,it as C,jt as w,kn as T,kt as E,ln as D,n as O,o as k,on as A,rn as j,rt as M,s as N,sn as P,st as F,t as I,tt as L,vn as R,vt as z,w as ee,yt as te}from"./CompositeRoot-D4sRkYq3.js";import{s as B}from"./app.js";var V={name:`chevron-right`,size:24,node:[[`path`,{d:`m9 18 6-6-6-6`,key:`mthhwq`}]]};V.node;var H=a(V),U={name:`circle-check`,size:24,node:[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`path`,{d:`m16 9-5.5 5.5L8 12`,key:`xofnsj`}]],aliases:[`check-circle-2`]};U.node;var W=a(U),G={name:`circle-x`,size:24,node:[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`path`,{d:`m15 9-6 6`,key:`1uzhvr`}],[`path`,{d:`m9 9 6 6`,key:`z0biqf`}]],aliases:[`x-circle`]};G.node;var K=a(G),ne={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`}]]};ne.node;var re=a(ne),ie={name:`copy-check`,size:24,node:[[`path`,{d:`m12 15 2 2 4-4`,key:`2c609p`}],[`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`}]]};ie.node;var ae=a(ie),oe={name:`file`,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`}]]};oe.node;var se=a(oe),ce={name:`info`,size:24,node:[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`path`,{d:`M12 16v-4`,key:`1dtifu`}],[`path`,{d:`M12 8h.01`,key:`e9boi3`}]]};ce.node;var le=a(ce),ue={name:`lightbulb`,size:24,node:[[`path`,{d:`M15 14c.2-1 .7-1.7 1.5-2.5 1-.9 1.5-2.2 1.5-3.5A6 6 0 0 0 6 8c0 1 .2 2.2 1.5 3.5.7.7 1.3 1.5 1.5 2.5`,key:`1gvzjb`}],[`path`,{d:`M9 18h6`,key:`x1upvd`}],[`path`,{d:`M10 22h4`,key:`ceow96`}]]};ue.node;var de=a(ue),fe={name:`link`,size:24,node:[[`path`,{d:`M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71`,key:`1cjeqo`}],[`path`,{d:`M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71`,key:`19qd67`}]]};fe.node;var pe=a(fe),me=48,q=(e,t=0)=>{let n=new Int32Array(e.length);for(let r=0;r<e.length;r++)n[r]=e.charCodeAt(r)-me-t;return n},he=e=>{let t=new Int32Array(e.length+1);for(let n=0;n<e.length;n++)t[n+1]=t[n]+e[n];return t},ge=e=>{let t=new Int32Array(e.length),n=0;for(let r=0;r<e.length;r++){let i=e.charCodeAt(r)-me;n+=i>>>1^-(i&1),t[r]=n}return t},_e=384,ve=[],ye=he(q(`E0500002005282000000002000150000020021820000011200000003022202000300004200120000200420001200021200301200010400162000010000220021010:2192001200220012000220012000200200200400010200040000000000400200108200110100000022010313000162002000020020012020080213000228200000000082000000000120002000120020020040101020300130001001010`)),be=he(q(`:11111111211111119311546544411119731869:671397415686432441111111111161114151214313433415:78311132233313187211117221449443411141111151152226611131111112212518142224214215421421542142424242516171151615616347111111111197911327451111111111111111111113134714133513411111311111111111111111111112444411111342312715245411117:3`)),xe=`@containerabcdefghinlmoprstunderlineviawzccentlignnimatespectuto-colsrowsaglorightnessckdrop-sisbcontrastfiltergrayscalehue-rotateinvertopacityslurrightnessaturateepia-coniclinearpositionradialsizeockurrderttom-belrstxyespacing-xyaretoursorlnt-umnsendspantartainentrasteividerop-shadowurationcorationlay-xyasendillexontromlter-featuresstretchapr-xyayscaleidow-colsrowsue-rotatedentlinesetvert-beringsxyeshadoweiadingftnest-clamp-imageabein-lrstxyskx--b-coniclpositionrsizet-x-y-fromto-fromto-inearfromto-fromto-adialfromto-fromtofromtofromtofromtoblockhinlinew-screenesblockhinlinewbjectpacityrutlinederigin-offsetbelrstxyesrspective-originaceholderioghtng-offsettateundedw-xyz-belrstlreseslr-endspantartaturatecepiahizekewpace-taleroll-xyz-barmpbelrstxyesbelrstxyes-thumbrackadowrink-xyxyartrokeabextora-shadowpckingnsformitionlate-xyz-offsetill-changeoom`,Se=(()=>{let e=ye.length-1,t=new Int32Array(e);for(let n=e-1;n>=0;n--){let e=1,r=n+1;for(let i=ye[n];i<ye[n+1];i++)e+=t[r],r+=t[r];t[n]=e}let n=new Int32Array(ye[e]),r=0;for(let i=0;i<e;i++){let e=i+1;for(let a=ye[i];a<ye[i+1];a++)n[r++]=e,e+=t[e]}return n})(),Ce=q(`02000000000000900<=0?000B000F00F00ŏI0J0LNPRTVX0000]_a00000000000000000000000rst0000000zŏ00000000000…ŏ000ˆ0000ŏ0000000000—0000000000000000000000000000000000000000000000000000Ë000000000000000000000Þ000000000000000000ð0000000ø0ùúûüýþÿĀāĂ㥹Ć000000000000000000000000000000000000000000ħ0ĨĪ00000000000000000000ļĽ00000Ŭ000000`,1),we=he(q(`123333359346463635126536711576`)),Te=q(`93203242332583253248325D>E?F@03263243255B:032523853:0325B:8GA032542H<C=12727B:0328432553;D>E?3257D>032585:0325B:;0328B:032`),Ee=q(`012113445661666666789111:5;;;;;;;;444;;;:62999<1161=62>>?61:21@ABCD4446996:64E:::;:?::64:F114GHHIHHHHIHH1HH1HH1HHHHHH::EEJ4444::EE4444441691;644444114244444:;K6666555555555555555999666664444444444444444444444226?6:66644L9M?D:111::::6DE199`),De=ge(`020200202020020020020020020020200200200200200200200002020202001003040106000200200200200200200200200200200200200200200200200200200200200200200200200200200200020020020020020020002020200202002002002002002002002002002020002002020020200220200200200200200200200200200200020020020000200020002000200200200020020020002000200200200020020202002020202000200200020022000200200020020002002000200220002002000200W0Z00020020002002020002002000200g0j0002002000200200020020002002000200200020020002000200002000002002002002002000200020000200002002002002002002002020020020200200200200200200200200202020020020020020020020020002002002020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020002002002002002002000200200200200200200200200200020202020002000200020002002002002000020200200`),Oe=(()=>{let e=new Int32Array(319).fill(-1),t=ge(`02422242:222222242224222242442222222422222244442242226224222426222422442462222422622222222626222462242622422622422424242422222222422222222242422222222222222222622442224222222222222224424442262222222222222222222226224222424242422224422422422222`),n=ge(`02222222222222222222202222222222222222222222221422222222222222222222222222222222222Y\\222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222221422222222222222222222222222222222222222Ŀł222222222222222222`);for(let r=0;r<t.length;r++)e[t[r]]=n[r];return e})(),ke=`container |break-after- all auto avoid avoid-page column left page right|break-before- all auto avoid avoid-page column left page right|break-inside-a uto void void-column void-page|box-decoration- clone slice|box- border content| contents flow-root hidden table table-caption table-cell table-column table-column-group table-footer-group table-header-group table-row table-row-group| not-sr-only sr-only|float- end left none right start|clear- both end left none right start|isolat e ion-auto|overflow- auto clip hidden scroll visible|overflow-x- auto clip hidden scroll visible|overflow-y- auto clip hidden scroll visible|overscroll- auto contain none|overscroll-x- auto contain none|overscroll-y- auto contain none| absolute fixed relative static sticky| collapse invisible visible|justify- around baseline between center center-safe end end-safe evenly normal start stretch|justify-items- center center-safe end end-safe normal start stretch|justify-self- auto center center-safe end end-safe start stretch|items- baseline baseline-last center center-safe end end-safe start stretch|self- auto baseline baseline-last center center-safe end end-safe start stretch|place-content- around baseline between center center-safe end end-safe evenly start stretch|place-items- baseline center center-safe end end-safe start stretch|place-self- auto center center-safe end end-safe start stretch| antialiased subpixel-antialiased| italic not-italic|normal-nums |ordinal |slashed-zero | lining-nums oldstyle-nums| proportional-nums tabular-nums| diagonal-fractions stacked-fractions| no-underline overline| capitalize lowercase normal-case uppercase|truncate |whitespace- break-spaces normal nowrap pre pre-line pre-wrap|break- all keep normal words|wrap- anywhere break-word normal|hyphens- auto manual none|mix-blend- color color-burn color-dodge darken difference exclusion hard-light hue lighten luminosity multiply normal overlay plus-darker plus-lighter saturation screen soft-light|table- auto fixed|caption- bottom top|backface- hidden visible|appearance- auto none|scheme- dark light light-dark normal only-dark only-light|field-sizing- content fixed|pointer-events- auto none|resize -none -x -y|snap- align-none center end start|snap- always normal|snap- both none x y|snap- mandatory proximity|touch- auto manipulation none|touch-pan- left right x|touch-pan- down up y|touch-pinch-zoom |select- all auto none text|forced-color-adjust- auto none| normal size| baseline bottom middle sub super text-bottom text-top top| bounce none ping pulse spin| auto square video| auto fr max min px|none | auto full px| fixed local scroll|clip- border content padding text|origin- border content padding| bottom bottom-left bottom-right center left left-bottom left-top right right-bottom right-top top top-left top-right| no-repeat repeat repeat-round repeat-space repeat-x repeat-y| auto contain cover|blend- color color-burn color-dodge darken difference exclusion hard-light hue lighten luminosity multiply normal overlay saturation screen soft-light|to- b bl br l r t tl tr| auto dvh fit full lh lvh max min px screen svh| dashed dotted double hidden none solid| collapse separate|px |auto |full | content none strict| inline-size size|layout |paint |style | around baseline between center center-safe end end-safe evenly normal start stretch| alias all-scroll auto cell col-resize context-menu copy crosshair default e-resize ew-resize grab grabbing help move n-resize ne-resize nesw-resize no-drop none not-allowed ns-resize nw-resize nwse-resize pointer progress row-resize s-resize se-resize sw-resize text vertical-text w-resize wait zoom-in zoom-out| dashed dotted double solid wavy| auto from-font|reverse |initial | in in-out initial linear out| col col-reverse row row-reverse| nowrap wrap wrap-reverse| auto initial none| black bold extrabold extralight light medium normal semibold thin| condensed expanded extra-condensed extra-expanded normal semi-condensed semi-expanded ultra-condensed ultra-expanded|flow- col col-dense dense row row-dense| none subgrid| auto dvh dvw fit full lh lvh lvw max min px screen svh svw| block flex grid table| auto dvw fit full lvw max min px screen svw| loose none normal px relaxed snug tight|through |item | inside outside| decimal disc none| auto px| clip-border clip-content clip-fill clip-padding clip-stroke clip-view no-clip| add exclude intersect subtract| alpha luminance match|origin- border content fill padding stroke view|type- alpha luminance| circle ellipse| closest-corner closest-side farthest-corner farthest-side|at- bottom bottom-left bottom-right center left left-bottom left-top right right-bottom right-top top top-left top-right| dvh fit full lh lvh max min none px screen svh| auto dvh dvw fit full lh lvh lvw max min none px screen svh svw| dvw fit full lvw max min none px screen svw| auto dvh dvw fit full lvh lvw max min none prose px svh svw| auto dvh dvw fit full lvh lvw max min none px screen svh svw| contain cover fill none scale-down| first last none| distant dramatic midrange near none normal|inset | full none|3d | auto smooth|gutter- auto both stable| auto none thin| inner none| auto dvh dvw fit full lvh lvw max min px svh svw|base | center end justify left right start| clip ellipsis| balance nowrap pretty wrap| normal tight tighter wide wider widest| cpu gpu none| 3d flat| all colors none opacity shadow transform| discrete normal| full px| auto dvh dvw fit full lvh lvw max min px screen svh svw| auto contents scroll transform`.split(`|`).map(e=>{let t=e.split(` `),n=t.shift();for(let e=0;e<t.length;e++)t[e]=n+t[e];return t}),Ae=ge(`0000000000000000000000000000000000000000000000000000000000000262242:6@200000006:240B428:4422400002046044222426220026642642462026224222824220022400000000\\00N222422242222222224062242222222422226264222422222222222222442804222422222222222222222222220<4<0204260002444020204224422`),je=ge(`ɠ222222222222222222222222222222222222222222222222222222222222˕4222226>6ʰ22ʷʺʷʺʷ42ʴ2ʓ22>621422ɶ222ɹɼɷɺɷɺ22ɱ42222ɨ2ɧ26622ɘɓ244ƸƵ222]d24242ǖǓƚÄȫ2263ȨȥȨ2222222ǣ222222222222222222ǂƽ2ƾƵ2222222422222ƜƑ22222222222222222222144Ŧţ22Ţş222222222222222222222ĸ2ı68ĦģĦɡŰ4Ġ«®ĝ822ĔđĔ2ē2222622`),Me=ge(`02222222222222222222222222222222222222222222222222222222222222222202021422222222CF2200GJ021042222WZ222IL0ad2c10h2222U00X202[^2w0000120zy|}€22ƒ†…:22z22222222222G000q†OVI00000{˜2™<40000Œ›@00000G¦§000ª00000000000000021K¬«00®“000000000000000000000–222›HGH_1¸222½2¾2222ÇÊ000­°2±`),Ne=new Int32Array(987),Pe=new Int32Array(987),Fe=new Int32Array(987),Ie=``,Le=new Int32Array(1022);{let e=new Map,t=0,n=0;for(let r=0;r<Ae.length;r++)for(let i of ke[Me[r]]){let a=e.get(i);a===void 0&&(a=t++,e.set(i,a),Le[a*2]=Ie.length,Le[a*2+1]=i.length,Ie+=i),Ne[n]=Ae[r],Pe[n]=je[r],Fe[n]=a,n++}}var J=ge(`0b2N:222@R>F@286¦2@H2D266226FB22B2>BD\\6N22222Z222D222p`),Re=he(q(`1::24444432:442:44:44>222222:44:4421322511111311111114`)),ze=ge(`2Š4A;33N=C@H4A;33N=C@<27;83:;8393NQ:3NQʰ222ˉºŴŽ2R2=18cƴÅҜ=cĞÛC1ƈǝȈ:ħ25=11D3A@4=<1;1DEr25;11B3?<6;:371BCn9@7=<8192>2E121@9@EHE@9>2T25511<398454131<=V25511<398454131<=„ƧNž2Đå242L222290000f22500ɛ000ǘ222`),Be=q(`ij`),Ve=q(`—`),He=q(`1`),Ue={GROUP_COUNT:_e,customValidatorNames:ve,edgeStart:ye,labelStart:be,labelText:xe,edgeTarget:Se,nodeGroup:Ce,nodeVlist:Oe,vlistPat:we,vlistOps:Te,vlistRef:Ee,vlistGroup:De,litAnchor:Ne,litGroup:Pe,litPool:Fe,poolOffsets:Le,poolText:Ie,adjGid:J,adjStart:Re,adjTgt:ze,patGid:Be,patTgt:Ve,postfixLookupGroups:He,orderSensitiveModifiers:`* ** after backdrop before details-content file first-letter first-line marker placeholder selection`},We=`line`in Error(),Ge=-1,Ke=-1,qe=(e,t,n)=>{let r=2166136261;for(let i=t;i<n;i++)r=Math.imul(r^e.charCodeAt(i),16777619);return r},Je=(e,t,n)=>{let r=n-t,i=Math.imul(r,2654435761)^e.charCodeAt(t);if(r>3){let a=r>>2,o=r>>1;i=Math.imul(i^e.charCodeAt(t+1)<<8^e.charCodeAt(t+2)<<16^e.charCodeAt(t+a),2246822507),i=Math.imul(i^e.charCodeAt(t+o)<<8^e.charCodeAt(t+o+a)<<16^e.charCodeAt(n-3),3266489909),i^=e.charCodeAt(n-2)<<8^e.charCodeAt(n-1)<<16;for(let r=t+3,a=n-4;r<t+8&&r<a;r++,a--)i=Math.imul(i^e.charCodeAt(r)^e.charCodeAt(a)<<8,16777619)}return i^i>>>15},Ye=(e,t,n={})=>{let{GROUP_COUNT:r,edgeStart:i,labelStart:a,labelText:o,edgeTarget:s,nodeGroup:c,nodeVlist:l,vlistPat:u,vlistOps:d,vlistRef:f,vlistGroup:p,litAnchor:m,litGroup:h,litPool:g,poolOffsets:_,poolText:v,adjGid:y,adjStart:b,adjTgt:x,patGid:S,patTgt:C,postfixLookupGroups:w,customValidatorNames:T,orderSensitiveModifiers:E}=e,D=new Int32Array(r).fill(-1);for(let e=0;e<y.length;e++)D[y[e]]=e;let O=0;for(let e=0;e+1<b.length;e++){let t=b[e+1]-b[e];t>O&&(O=t)}let k=32;for(;k<2*(1+O+S.length);)k<<=1;let A=new Int32Array(f.length+1);for(let e=0;e<f.length;e++)A[e+1]=A[e]+u[f[e]+1]-u[f[e]];let j=new Uint8Array(r);for(let e=0;e<w.length;e++)j[w[e]]=1;let M=i.length-1,N=new Uint8Array(M),P=0,F=!0;for(let e=0;e<m.length;e++){N[m[e]]=1;let t=_[g[e]*2+1];t>P&&(P=t);let n=v.charCodeAt(_[g[e]*2]);(n===91||n===40)&&(F=!1)}let I=1;for(;I<m.length*2;)I<<=1;let L=new Int32Array(I).fill(-1);for(let e=0;e<m.length;e++){let t=_[g[e]*2],n=(qe(v,t,t+_[g[e]*2+1])^Math.imul(m[e],2654435761)|0)&I-1;for(;L[n]!==-1;)n=n+1&I-1;L[n]=e}let R=(e,t,n,r)=>{let i=(qe(t,n,r)^Math.imul(e,2654435761)|0)&I-1,a=r-n;for(;;){let r=L[i];if(r===-1)return-1;if(m[r]===e&&_[g[r]*2+1]===a){let e=_[g[r]*2],i=!0;for(let r=0;r<a;r++)if(v.charCodeAt(e+r)!==t.charCodeAt(n+r)){i=!1;break}if(i)return h[r]}i=i+1&I-1}},z=n.cacheSize??8192,ee=n.prefix??e.prefix??``,te=ee===``?``:ee+`:`,B=te.length,V=(T??[]).map(e=>{let n=t&&t[e];if(!n)throw Error(`cn: missing validator `+e);return n}),H=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,U=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,W=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,G=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,K=0,ne=-1,re=-1,ie=-1,ae=-1,oe=e=>e>=97&&e<=122||e>=65&&e<=90||e>=48&&e<=57||e===95,se=e=>/\s/.test(String.fromCharCode(e)),ce=(e,t,n)=>{if(K=0,ne=-1,n-t<3)return;let r=e.charCodeAt(t),i=e.charCodeAt(n-1);if(r===91&&i===93)K=1;else if(r===40&&i===41)K=2;else return;ie=t+1,ae=n-1;let a=t+1;if(oe(e.charCodeAt(a))){for(a++;a<n-1;){let t=e.charCodeAt(a);if(!oe(t)&&t!==45)break;a++}a<n-2&&e.charCodeAt(a)===58&&(ne=t+1,re=a,ie=a+1)}},le=(e,t,n,r)=>{if(n-t!==r.length)return!1;for(let n=0;n<r.length;n++)if(e.charCodeAt(t+n)!==r.charCodeAt(n))return!1;return!0},ue=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,de=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,fe=e=>!!e&&!Number.isNaN(Number(e)),pe=(e,t,n)=>{if(n-t<11||!le(e,t,t+10,`@container`))return!1;if(e.charCodeAt(t+10)===47)return n-t>=12;let r=e.charCodeAt(t+11);return r===115&&n-t>=17&&le(e,t+10,t+16,`-size/`)||r===110&&n-t>=19&&le(e,t+10,t+18,`-normal/`)},me=[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2],q=`length|number|number weight|family-name|position percentage|length size bg-size|image url|shadow|length|family-name|position percentage|length size bg-size|image url|shadow|number weight`.split(`|`).map(e=>e.split(` `)),he=[2,3,1,0,0,0,4,5,0,0,0,0,0,1,1],ge=(e,t,n,r)=>{if(e>=10){if(e>=25)return V[e-25](t.slice(n,r));let i=e-10;if(K!==me[i])return!1;if(ne>=0){for(let e of q[i])if(le(t,ne,re,e))return!0;return!1}switch(he[i]){case 0:return!1;case 1:return!0;case 2:{let e=t.slice(ie,ae);return H.test(e)&&!U.test(e)}case 3:return fe(t.slice(ie,ae));case 4:return G.test(t.slice(ie,ae));default:return W.test(t.slice(ie,ae))}}switch(e){case 0:return!0;case 1:return K===0;case 2:return K===1;case 3:return K===2;case 4:return ue.test(t.slice(n,r));case 5:return fe(t.slice(n,r));case 6:{let e=t.slice(n,r);return!!e&&Number.isInteger(Number(e))}case 7:return r>n&&t.charCodeAt(r-1)===37&&fe(t.slice(n,r-1));case 8:return de.test(t.slice(n,r));default:return pe(t,n,r)}},_e=new Set(typeof E==`string`?E.split(` `):E),ve=(e,t,n,r,i,a)=>{let o=qe(t,n,r)^(i?2654435769:0),s=e.get(o);if(s!==void 0)outer:for(let e=0;e<s.length;e++){let a=s[e];if(a.imp===i&&a.k.length===r-n){for(let e=0;e<a.k.length;e++)if(a.k.charCodeAt(e)!==t.charCodeAt(n+e))continue outer;return a.id}}else e.set(o,s=[]);let c=t.slice(n,r),l=a(c);return s.push({k:c,imp:i,id:l}),l},ye=new Map,be=new Map,xe=2,Se=4096,Ce=(e,t)=>{let n=[],r=0,i=0,a=0;for(let t=0;t<e.length;t++){let o=e.charCodeAt(t);r===0&&i===0&&o===58?(n.push(e.slice(a,t)),a=t+1):o===91?r++:o===93?r--:o===40?i++:o===41&&i--}n.push(e.slice(a));let o=n[0];if(n.length>1){let e=[],t=[];for(let r of n)r.charCodeAt(0)===91||_e.has(r)?(t.length&&(e.push(...t.sort()),t=[]),e.push(r)):t.push(r);t.length&&e.push(...t.sort()),o=e.join(`:`)}let s=t?o+` !`:o,c=be.get(s);return c===void 0&&be.set(s,c=xe++),c},we=new Map,Te=r,Ee=r+4096,De=()=>Te++,Oe=2097152,ke=8192,Ae=new Int32Array(ke),je=Array(ke).fill(null),Me=new Int32Array(ke),Ne=new Int32Array(ke),Pe=new Uint8Array(ke),Fe=0,Ie=(e,t,n,r,i,a,o,s)=>{let c=e;if(je[e]!==null){if(je[e|1]===null)c=e|1;else if(!(Fe++&3))c=e|Fe>>2&1;else return}je[c]=t.slice(n,r),Ae[c]=i,Me[c]=a,Ne[c]=o,Pe[c]=s},Le=()=>je.fill(null),J=256,Re=[new Int32Array(J),new Int32Array(J),new Int32Array(J),new Int32Array(J)],[ze,Be,Ve,He]=Re,Ue=new Uint8Array(J),Ye=new Uint8Array(J),Xe=()=>{J*=2,Re=Re.map(e=>{let t=new Int32Array(J);return t.set(e),t}),[ze,Be,Ve,He]=Re;let e=new Uint8Array(J);e.set(Ue),Ue=e,Ye=new Uint8Array(J)},Ze=64,$e=new Int32Array(Ze),et=new Int32Array(Ze),tt=new Int32Array(r),Y=2048,nt=21,rt=new Float64Array(Y),X=new Int32Array(Y),Z=0,Q=(e,t)=>{if(e===0&&t<r)return tt[t]===Z?1:(tt[t]=Z,0);let n=e*2097152+t+1,i=Math.imul(n,2654435761)>>>nt;for(;X[i]===Z;){if(rt[i]===n)return 1;i=i+1&Y-1}return rt[i]=n,X[i]=Z,0},it=(e,t,n,r,i)=>{if(n-t>=2&&e.charCodeAt(t)===91&&e.charCodeAt(n-1)===93){let r=-1;for(let i=t+1;i<n-1;i++)if(e.charCodeAt(i)===58){r=i;break}return r===-1||r===t+1?Ge:ve(we,e,t+1,r,0,De)}if(r>=0&&c[r]>=0)return c[r];for(let t=i-1;t>=0;t--){let r=et[t];if(r>n)continue;let i=$e[t],a=n-r;if(N[i]===1&&a>0&&a<=P){let t=e.charCodeAt(r);if(F===!1||t!==91&&t!==40){let t=R(i,e,r,n);if(t>=0)return t}}let o=l[i];if(o<0)continue;let s=f[o],c=u[s],m=u[s+1];if(c===m)continue;ce(e,r,n);let h=A[o]-c;for(let t=c;t<m;t++)if(ge(d[t],e,r,n))return p[h+t]}return Ge},at=e=>{let t=e.length,n=0,c=0,u=!1;(xe>Se||ye.size>Se)&&(ye=new Map,be=new Map,xe=2,Le()),Te>Ee&&(we=new Map,Te=r,Le());let d=0;for(;d<t;){let f=e.charCodeAt(d);if(f===32||f>=9&&f<=13||f>=160&&se(f)){f!==32&&(u=!0),d++;continue}let p=d,m=0;for(;d<t;){if(f=e.charCodeAt(d),f<=32){if(f===32)break;if(f>=9&&f<=13){u=!0;break}}else if(f>=160&&se(f)){u=!0;break}m=Math.imul(m^f,16777619),d++}let h=d,g=h-p;n===J&&Xe();let _=n++;ze[_]=p,Be[_]=h,c+=g,m^=Math.imul(g,2654435761);let v=m^m>>>15,y=v&8190;{let t=-1;if(Ae[y]===v&&je[y]!==null&&je[y].length===g?t=y:Ae[y|1]===v&&je[y|1]!==null&&je[y|1].length===g&&(t=y|1),t>=0){let n=je[t],r=!0;for(let t=0;t<g;t++)if(n.charCodeAt(t)!==e.charCodeAt(p+t)){r=!1;break}if(r){Ve[_]=Me[t],He[_]=Ne[t],Ue[_]=Pe[t];continue}}}let b=p;if(B!==0){if(h-p<=B||!e.startsWith(te,p)){Ve[_]=Ge,Ie(y,e,p,h,v,Ge,0,0);continue}b=p+B}let x=0,S=0,C=-1,w=-1;for(let t=b;t<h;t++){let n=e.charCodeAt(t);if(x===0&&S===0){if(n===58){C=t;continue}if(n===47){w=t;continue}}n===91?x++:n===93?x--:n===40?S++:n===41&&S--}let T=C>=b?C+1:b,E=T,D=h,O=!1,k=0;D>E&&e.charCodeAt(D-1)===33?(O=!0,D--):D>E&&e.charCodeAt(E)===33&&(O=!0,E++,k=1);let A=-1;w>T&&(A=w+k,A>=D&&(A=-1));let M=E;D-E>1&&e.charCodeAt(E)===45&&(M=E+1);let P=0,F=0,I=0,L=-1,R=0;(l[0]>=0||N[0]===1)&&($e[0]=0,et[0]=M,R=1);let z=Ke,ee=0;for(let t=M;t<D;t++)if(t===A&&(z=F<I?Ke:P,ee=R),P!==Ke){let n=e.charCodeAt(t),r=-1;if(F<I)o.charCodeAt(F)===n?(F++,F===I&&(r=P=L)):P=Ke;else{let e=i[P],t=i[P+1],c=Ke;for(let i=e;i<t;i++){let e=a[i];if(o.charCodeAt(e)===n){a[i+1]-e===1?r=c=s[i]:(F=e+1,I=a[i+1],L=s[i],c=P);break}}P=c}if(r>=0&&(l[r]>=0||N[r]===1)&&t+1<D&&e.charCodeAt(t+1)===45){if(R===Ze){Ze*=2;let e=new Int32Array(Ze);e.set($e),$e=e;let t=new Int32Array(Ze);t.set(et),et=t}$e[R]=r,et[R]=t+2,R++}}A===D&&(z=F<I?Ke:P,ee=R);let V=F<I?Ke:P,H,U=!1;if(A>=0){if(U=!0,H=it(e,E,A,z,ee),H!==Ge&&H<r&&j[H]){let t=it(e,E,D,V,R);t!==Ge&&t!==H&&(H=t,U=!1)}else H===Ge&&(H=it(e,E,D,V,R),U=!1)}else H=it(e,E,D,V,R);let W=0,G=0;H===Ge?Ve[_]=Ge:(G=+!!U,W=b>=C?+!!O:ve(ye,e,b,C,+!!O,e=>Ce(e,O)),Ve[_]=H,Ue[_]=G,He[_]=W),Ie(y,e,p,h,v,H,W,G)}if(n===0)return``;if(n===1)return ze[0]===0&&Be[0]===t?e:e.slice(ze[0],Be[0]);if(n*k>Y){for(;n*k>Y;)Y<<=1,nt--;rt=new Float64Array(Y),X=new Int32Array(Y)}if(xe>=Oe||Te>=Oe)throw Error(`cn: too many distinct classes in one merge`);Z=Z+1|0,Z===0&&(tt.fill(0),X.fill(0),Z=1);let f=!1;for(let e=n-1;e>=0;e--){let t=Ve[e];if(t===Ge){Ye[e]=1;continue}let n=He[e];if(Q(n,t)===1)Ye[e]=0,f=!0;else if(Ye[e]=1,t<r){let r=D[t];if(r>=0)for(let e=b[r];e<b[r+1];e++)Q(n,x[e]);if(Ue[e]&1)for(let e=0;e<S.length;e++)S[e]===t&&Q(n,C[e])}}if(!f&&!u&&t===c+n-1)return e;let p=``,m=0;for(;m<n;){if(!Ye[m]){m++;continue}let t=ze[m],r=Be[m],i=m+1;for(;i<n&&Ye[i]&&ze[i]===r+1&&e.charCodeAt(r)===32;)r=Be[i],i++;p.length>0&&(p+=` `),p+=e.slice(t,r),m=i}return p},ot=16384,st=new Int32Array(ot*2),ct=0,$=1,lt=Object.create(null),ut=Object.create(null),dt=new Map,ft=new Map,pt=0,mt=0,ht=()=>{ct^=ot,$=$+1|0,mt=0},gt=e=>{let t=lt[e];if(t!==void 0)return t;let n=Je(e,0,e.length),r=(n&16383)+ct,i=st[r]===(n^$)||st[r^ot]===(n^$-1);return i&&(t=ut[e],t!==void 0)?(lt[e]=t,t):(t=at(e),i?(lt[e]=t,++pt>z&&(pt=0,ut=lt,lt=Object.create(null),ht())):(st[r]=n^$,++mt>ot&&ht()),t)},_t=e=>{let t=dt.get(e);if(t!==void 0)return t;let n=Je(e,0,e.length),r=(n&16383)+ct,i=st[r]===(n^$)||st[r^ot]===(n^$-1);return i&&(t=ft.get(e),t!==void 0)?(dt.set(e,t),t):(t=at(e),i?(dt.set(e,t),++pt>z&&(pt=0,ft=dt,dt=new Map,ht())):(st[r]=n^$,++mt>ot&&ht()),t)},vt=e=>{let t=Je(e,0,e.length),n=(t&16383)+ct;return st[n]===(t^$)||st[n^ot]===(t^$-1)||(st[n]=t^$,++mt>ot&&ht(),!1)},yt=z===0?at:We?e=>{let t=dt.get(e);return t===void 0?_t(e):t}:gt;return{merge:function(){return arguments.length===1&&typeof arguments[0]==`string`?yt(arguments[0]):yt(Qe.apply(null,arguments))},mergeString:yt,seenBefore:z===0?()=>!1:vt,mergeUncached:at}},Xe=(e,t)=>{if(!e)return``;if(typeof e==`string`)return e;let n=``;if(typeof e.length==`number`&&(!t||Array.isArray(e))){let r=e;for(let e=0;e<r.length;e++){let i=r[e];if(!i)continue;let a=typeof i==`string`?i:Xe(i,t);a&&(n&&(n+=` `),n+=a)}return n}if(t){if(typeof e==`number`)return``+e;if(typeof e==`object`)for(let t in e)e[t]&&(n&&(n+=` `),n+=t)}return n},Ze=(e,t)=>{let n=``;for(let r=0;r<e.length;r++){let i=e[r];if(!i)continue;let a=typeof i==`string`?i:Xe(i,t);a&&(n&&(n+=` `),n+=a)}return n},Qe=function(){return Ze(arguments,!1)},$e=256,et=16,tt=1024,Y=4096,nt=(e,t)=>{let n=t===void 0?()=>!0:t.seenBefore,r=t===void 0?e:t.mergeUncached,i=new Map,a=new Map,o=0,s=null,c=null,l=[],u=[],d=0,f=(t,n,r)=>{c===null&&(c=Array(Y).fill(``),l=Array(Y).fill(``),u=Array(Y).fill(``));let i=Je(t,0,t.length)&4094;if(c[i]===t&&l[i]===n)return u[i];if(c[i|1]===t&&l[i|1]===n)return u[i|1];let a=e(r?n+` `+t:t),o=c[i]===``?i:i|(c[i|1]===``?1:d++&1);return c[o]=t,l[o]=n,u[o]=a,a},p=(e,t,n,r)=>{let i=0;if(t){if(t!==e.a0)return!1;i=1}if(n){if(n!==(i===0?e.a0:e.a1))return!1;i++}if(r){if(r!==(i===0?e.a0:i===1?e.a1:e.a2))return!1;i++}return i===e.t},m=(e,t)=>{let n=e.a,r=0;for(let e=0;e<t.length;e++){let i=t[e];if(i){if(i!==n[r])return!1;r++}}return r===e.t},h=(t,c)=>{let l=t.length,u=s===null?null:s.n;if(!c){if(u!==null&&m(u,t))return s=u,u.r;if(s!==null&&s!==u&&m(s,t))return s.r}let d=``,p=-1,h=0,g=!1;for(let e=0;e<l;e++){let n=t[e];if(n){if(typeof n!=`string`){if(n=t[e]=Xe(n,!0),!n)continue;g=!0}p<0&&(d=n,p=e),h++}}if(h===0)return``;if(h===1)return e(d);if(g){if(u!==null&&m(u,t))return s=u,u.r;if(s!==null&&s!==u&&m(s,t))return s.r}let _=i.get(d);_===void 0&&(_=a.get(d),_!==void 0&&i.set(d,_));let v=null;if(_!==void 0){if(_.skip>0){_.skip--,s=null;let e=d;for(let n=p+1;n<l;n++){let r=t[n];r&&(e+=` `+r)}return f(e,``,!1)}let e=_.e;outer:for(let n=0;n<e.length;n++){let r=e[n];if(r.t!==h)continue;let i=r.a,a=1;for(let e=p+1;e<l;e++){let n=t[e];if(n&&n!==i[a++])continue outer}v=r;break}v!==null&&(_.miss=0)}if(v===null){let s=d,c=[d];for(let e=p+1;e<l;e++){let n=t[e];n&&(s+=` `+n,c.push(n))}if(!n(s))return r(s);v={r:e(s),t:c.length,a0:c[0],a1:c[1],a2:c[2]??``,a:c,n:null},_===void 0?i.set(d,_={e:[],miss:0,skip:0,at:0}):++_.miss>et&&(_.miss=et,_.skip=tt,_.e.length=0,_.at=0);let u=_.e;u.length<$e?u.push(v):(u[_.at]=v,_.at=_.at+1&255),++o>1e3&&(o=0,a=i,i=new Map)}return s!==null&&s!==v&&(s.n=v),s=v,v.r},g=t=>Array.isArray(t)?h(t.slice(),!1):e(Xe(t,!0));return function(t,n,r){let a=arguments.length;if((a|1)==3){let e=s;if(e!==null){let i=e.n;if(i!==null&&p(i,t,n,r))return s=i,i.r;if(e!==i&&p(e,t,n,r))return e.r}if(a===2&&typeof n==`string`&&n!==``){let e=i.get(t);if(e!==void 0&&e.skip>0)return e.skip--,s=null,f(n,t,!0)}return h([t,n,r],!0)}if(a===1)return typeof t==`string`?e(t):g(t);let o=s;if(o!==null){let e=o.n;if(e!==null){let t=e.a,n=0,r=!0;for(let e=0;e<a;e++){let i=arguments[e];if(i){if(i!==t[n]){r=!1;break}n++}}if(r&&n===e.t)return s=e,e.r}if(o!==e){let e=o.a,t=0,n=!0;for(let r=0;r<a;r++){let i=arguments[r];if(i){if(i!==e[t]){n=!1;break}t++}}if(n&&t===o.t)return o.r}}let c=[];for(let e=0;e<a;e++)c.push(arguments[e]);return h(c,!0)}},rt=Ye(Ue),X=nt(rt.mergeString,rt);rt.merge;var Z=e(i(),1),Q=e(m(),1),it=()=>{throw Error("You need to wrap your application inside `FrameworkProvider`.")},at=(0,Z.createContext)({useParams:it,useRouter:it,usePathname:it});function ot(e){let{Image:t}=(0,Z.use)(at);if(!t){let{src:t,alt:n,priority:r,...i}=e;return(0,Q.jsx)(`img`,{alt:n,src:t,fetchPriority:r?`high`:`auto`,...i})}return(0,Q.jsx)(t,{...e})}function st(e){let{Link:t}=(0,Z.use)(at);if(!t){let{href:t,prefetch:n,...r}=e;return(0,Q.jsx)(`a`,{href:t,...r})}return(0,Q.jsx)(t,{...e})}function ct({ref:e,href:t=`#`,external:n=!!(t.match(/^\w+:/)||t.startsWith(`//`)),prefetch:r,children:i,...a}){return n?(0,Q.jsx)(`a`,{ref:e,href:t,rel:`noreferrer noopener`,target:`_blank`,...a,children:i}):(0,Q.jsx)(st,{ref:e,href:t,prefetch:r,...a,children:i})}function $(e){return(0,Q.jsx)(`div`,{...e,className:X(`grid grid-cols-2 gap-3 @container`,e.className),children:e.children})}function lt({icon:e,title:t,description:n,...r}){let i=r.href?ct:`div`;return(0,Q.jsxs)(i,{...r,"data-card":!0,className:X(`block rounded-xl border bg-fd-card p-4 text-fd-card-foreground transition-colors @max-lg:col-span-full`,r.href&&`hover:bg-fd-accent/80`,r.className),children:[e?(0,Q.jsx)(`div`,{className:`not-prose mb-2 w-fit shadow-md rounded-lg border bg-fd-muted p-1.5 text-fd-muted-foreground [&_svg]:size-4`,children:e}):null,(0,Q.jsx)(`h3`,{className:`not-prose mb-1 text-sm font-medium`,children:t}),n?(0,Q.jsx)(`p`,{className:`my-0! text-sm text-fd-muted-foreground`,children:n}):null,(0,Q.jsx)(`div`,{className:`text-sm text-fd-muted-foreground prose-no-margin empty:hidden`,children:r.children})]})}var ut=`size-5 -me-0.5 fill-(--callout-color) text-fd-card`;function dt({children:e,title:t,...n}){return(0,Q.jsxs)(pt,{...n,children:[t&&(0,Q.jsx)(mt,{children:t}),(0,Q.jsx)(ht,{children:e})]})}function ft(e){return e===`warn`?`warning`:e===`tip`?`info`:e}function pt({type:e=`info`,icon:t,children:n,className:r,style:i,...a}){let o=ft(e);return(0,Q.jsxs)(`div`,{className:X(`flex gap-2 my-4 rounded-xl border bg-fd-card p-3 ps-1 text-sm text-fd-card-foreground`,r),style:{"--callout-color":`var(--color-fd-${o}, var(--color-fd-muted))`,...i},...a,children:[(0,Q.jsx)(`div`,{role:`none`,className:`w-0.5 bg-(--callout-color)/50 rounded-sm`}),t??{info:(0,Q.jsx)(le,{className:ut}),warning:(0,Q.jsx)(B,{className:ut}),error:(0,Q.jsx)(K,{className:ut}),success:(0,Q.jsx)(W,{className:ut}),idea:(0,Q.jsx)(de,{className:`size-5 -me-0.5 fill-(--callout-color) text-(--callout-color)`})}[o],(0,Q.jsx)(`div`,{className:`flex flex-col gap-2 min-w-0 flex-1`,children:n})]})}function mt({children:e,className:t,...n}){return(0,Q.jsx)(`p`,{className:X(`font-medium my-0!`,t),...n,children:e})}function ht({children:e,className:t,...n}){return(0,Q.jsx)(`div`,{className:X(`text-fd-muted-foreground prose-no-margin empty:hidden`,t),...n,children:e})}var gt=`bg-fd-primary text-fd-primary-foreground hover:bg-fd-primary/80`,_t={default:gt,primary:gt,outline:`border hover:bg-fd-accent hover:text-fd-accent-foreground`,ghost:`hover:bg-fd-accent hover:text-fd-accent-foreground`,secondary:`border bg-fd-secondary text-fd-secondary-foreground hover:bg-fd-accent hover:text-fd-accent-foreground`},vt=T(`inline-flex items-center justify-center rounded-md p-2 text-sm font-medium transition-colors duration-100 disabled:pointer-events-none disabled:opacity-50 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-fd-ring`,{variants:{variant:_t,color:_t,size:{sm:`gap-1 px-2 py-1.5 text-xs`,icon:`p-1.5 [&_svg]:size-5`,"icon-sm":`p-1.5 [&_svg]:size-4.5`,"icon-xs":`p-1 [&_svg]:size-4`}}});function yt(e){let[t,n]=(0,Z.useState)(!1),r=(0,Z.useRef)(e),i=(0,Z.useRef)(null);r.current=e;let a=(0,Z.useCallback)(()=>{i.current&&window.clearTimeout(i.current),Promise.resolve(r.current()).then(()=>{n(!0),i.current=window.setTimeout(()=>{n(!1)},1500)})},[]);return(0,Z.useEffect)(()=>()=>{i.current&&window.clearTimeout(i.current)},[]),[t,a]}var bt=(0,Z.createContext)({}),xt=/\\?\{([^}]+)\}/g;function St({note:e}={}){let t=(0,Z.use)(bt);return(0,Z.useMemo)(()=>Ct(t,{note:e}),[t,e])}function Ct(e,{note:t}={}){let n=(n,r={})=>{let{note:i,variables:a}=r,o=[];t&&o.push(t),i&&o.push(i);let s=e[wt(n,o)]??n;return a&&(s=s.replaceAll(xt,(e,t)=>e[0]===`\\`?e.slice(1):t in a?a[t]:e)),s};return n.jsx=(n,r={})=>{let{note:i,variables:a,tags:o}=r,s=[];t&&s.push(t),i&&s.push(i);let c=e[wt(n,s)]??n;return o?Dt(c,a,o):a?Tt(c,a):c},n.translations=e,n}function wt(e,t){return e+t.map(e=>`(${e})`).join(``)}function Tt(e,t){let n=0,r=[];for(let i of e.matchAll(xt)){let[a,o]=i;n<i.index&&r.push(e.slice(n,i.index)),n=i.index+a.length,a[0]===`\\`?r.push(a.slice(1)):o in t?r.push(kt(t[o],n)):r.push(a)}return r.push(e.slice(n)),r}var Et=/\\?<([^>]+)>/g;function Dt(e,t,n){let r=[{children:[]}],i=0,a=()=>{let e=r.pop();r[r.length-1].children.push(kt(e.tag&&n[e.tag]?Ot(n[e.tag],e.children):e.children,i))};for(let o of e.matchAll(Et)){let s=r[r.length-1],[c,l]=o;if(i<o.index){let n=e.slice(i,o.index);s.children.push(t?Tt(n,t):n)}if(i=o.index+c.length,c[0]===`\\`){let e=c.slice(1);s.children.push(t?Tt(e,t):e)}else if(l[0]===`/`){let e=l.slice(1);s.tag===e?a():s.children.push(t?Tt(c,t):c)}else if(l.at(-1)===`/`){let e=l.slice(0,-1);n[e]&&s.children.push(kt(Ot(n[e]),i))}else r.push({children:[],tag:l})}if(i<e.length){let n=e.slice(i);r[r.length-1].children.push(t?Tt(n,t):n)}for(;r.length>1;)a();return r[0].children}function Ot(e,t){return(0,Z.isValidElement)(e)?t===void 0?e:(0,Z.cloneElement)(e,void 0,t):e(t)}function kt(e,t){return(0,Z.isValidElement)(e)?(0,Z.cloneElement)(e,{key:t}):e}function At({as:e,...t}){let n=e??`h1`,r=St({note:`heading anchor`}),[i,a]=yt(()=>{if(!t.id)return;let e=new URL(window.location.href);return e.hash=t.id,navigator.clipboard.writeText(e.href)});return t.id?(0,Q.jsxs)(n,{...t,className:X(`group/heading flex scroll-m-28 flex-row items-center gap-1`,t.className),children:[(0,Q.jsx)(`a`,{"data-card":``,href:`#${t.id}`,children:t.children}),(0,Q.jsxs)(`button`,{"aria-live":`polite`,className:X(vt({variant:`ghost`,size:`icon-xs`}),`not-prose shrink-0 text-fd-muted-foreground opacity-0 transition-opacity group-hover/heading:opacity-100`),onClick:a,children:[i?(0,Q.jsx)(ae,{}):(0,Q.jsx)(pe,{}),(0,Q.jsx)(`span`,{className:`sr-only`,children:r(i?`Copied Anchor Link`:`Copy Anchor Link`,{note:`aria-label`})})]})]}):(0,Q.jsx)(n,{...t})}function jt(...e){return t=>{e.forEach(e=>{typeof e==`function`?e(t):e&&(e.current=t)})}}var Mt=Z.createContext(void 0);function Nt(){let e=Z.useContext(Mt);if(e===void 0)throw Error(P(64));return e}var Pt=`data-activation-direction`,Ft={tabActivationDirection:e=>({[Pt]:e})},It=Z.forwardRef(function(e,t){let{className:n,defaultValue:i=0,onValueChange:a,orientation:s=`horizontal`,render:c,value:l,style:u,...d}=e,f=e.defaultValue!==void 0,p=Z.useRef([]),[m,h]=Z.useState(()=>new Map),[_,v]=y({controlled:l,default:i,name:`Tabs`,state:`value`}),S=l!==void 0,[C,w]=Z.useState(()=>new Map),T=Z.useRef(void 0),E=Z.useCallback(e=>Lt(C,e),[C]),[O,k]=Z.useState(()=>({previousValue:_,tabActivationDirection:`none`})),{previousValue:A,tabActivationDirection:j}=O,M=j,N=!1;A!==_&&(M=Rt(A,_,s,C),N=A!=null&&_!=null&&E(_)==null);let P=N?A:_,I=A!==P||j!==M;b(()=>{I&&k({previousValue:P,tabActivationDirection:M})},[P,I,M]);let L=D((e,t)=>{t.activationDirection=Rt(_,e,s,C),a?.(e,t),t.isCanceled||v(()=>e)}),R=D((e,t)=>{a?.(e,r(t,void 0,void 0,{activationDirection:`none`}))}),ee=D((e,t)=>(h(n=>{let r=new Map(n);return r.set(e,t),r}),()=>{h(n=>{if(n.get(e)!==t)return n;let r=new Map(n);return r.delete(e),r})})),te=Z.useCallback(e=>m.get(e),[m]),B=Z.useCallback(e=>{for(let t of C.values())if(e===t.value)return t.id},[C]),V=Z.useMemo(()=>({getTabElementBySelectedValue:E,getTabIdByPanelValue:B,getTabPanelIdByValue:te,onValueChange:L,orientation:s,registerMountedTabPanel:ee,setTabMap:w,tabActivationDirection:M,value:_}),[E,B,te,L,s,ee,w,M,_]),H=Z.useMemo(()=>{for(let e of C.values())if(e.value===_)return e},[C,_]),U=Z.useMemo(()=>{for(let e of C.values())if(!e.disabled)return e.value},[C]),W=Z.useRef(!f),G=Z.useRef(i),K=Z.useRef(f),ne=Z.useRef(!1);b(()=>{if(S)return;function e(e,t){v(()=>e),k({previousValue:e,tabActivationDirection:`none`}),R(e,t),W.current=!1}if(C.size===0){ne.current&&_!==null&&!T.current?.isConnected&&e(null,z);return}ne.current=!0,T.current=C.keys().next().value;let t=H?.disabled,n=H==null&&_!==null;if(!t&&_===G.current&&(K.current=!1),K.current&&t&&_===G.current)return;let r=W.current;if(t||n){let n=U??null;if(_===n){W.current=!1;return}let i=z;r?i=x:t&&(i=F),e(n,i)}else r&&H!=null&&(R(_,x),W.current=!1)},[U,S,R,H,v,C,_]);let re=o(`div`,e,{state:{orientation:s,tabActivationDirection:M},ref:t,props:d,stateAttributesMapping:Ft});return(0,Q.jsx)(Mt.Provider,{value:V,children:(0,Q.jsx)(g,{elementsRef:p,children:re})})});function Lt(e,t){for(let[n,r]of e.entries())if(t===r.value)return n;return null}function Rt(e,t,n,r){if(e==null||t==null)return`none`;let[i,a,o]=n===`horizontal`?[`left`,`left`,`right`]:[`top`,`up`,`down`],s=Lt(r,e),c=Lt(r,t);if(s==null||c==null)return s!==c&&(typeof e==`number`||typeof e==`string`)&&typeof e==typeof t?t>e?o:a:`none`;let l=s.getBoundingClientRect()[i],u=c.getBoundingClientRect()[i];return u<l?a:u>l?o:`none`}var zt=Z.createContext(void 0);function Bt(){let e=Z.useContext(zt);if(e===void 0)throw Error(P(65));return e}var Vt=Z.forwardRef(function(e,n){let{className:i,disabled:a=!1,render:s,value:c,id:l,nativeButton:f=!0,style:p,...m}=e,{value:h,getTabPanelIdByValue:g,onValueChange:v,orientation:y,tabActivationDirection:x}=Nt(),{activateOnFocus:S,registerTabResizeObserverElement:C,tabsListElement:w}=Bt(),{highlightedIndex:T,onHighlightedIndexChange:E}=A(),M=d(l),N=Z.useMemo(()=>({disabled:a,id:M,value:c}),[a,M,c]),{compositeProps:P,compositeRef:F,index:I}=k({metadata:N}),L=c===h,R=Z.useRef(!1),z=Z.useRef(null),ee=D(e=>{z.current?.(),z.current=e?C(e):null});b(()=>{if(R.current){R.current=!1;return}if(!(L&&I>-1&&T!==I))return;let e=w;if(e!=null){let n=u(_(e));if(n&&t(e,n))return}a||E(I)},[L,I,T,E,a,w]);let{getButtonProps:B,buttonRef:V}=j({disabled:a,native:f,focusableWhenDisabled:!0}),H=g(c),U=Z.useRef(!1),W=Z.useRef(!1);function G(e){v(c,r(te,e.nativeEvent,void 0,{activationDirection:`none`}))}function K(e){L||a||G(e)}function ne(e){L||a||S&&(!U.current||W.current)&&G(e)}function re(e){if(L||a)return;U.current=!0,W.current=e.button===0;let t=_(e.currentTarget);function n(){U.current=!1,W.current=!1,t.removeEventListener(`pointerup`,n),t.removeEventListener(`pointercancel`,n)}t.addEventListener(`pointerup`,n),t.addEventListener(`pointercancel`,n)}return o(`button`,e,{state:{disabled:a,active:L,orientation:y,tabActivationDirection:x},ref:[n,V,F,ee],props:[P,{role:`tab`,"aria-controls":H,"aria-selected":L,id:M,onClick:K,onFocus:ne,onPointerDown:re,[O]:L?``:void 0,onKeyDownCapture(){R.current=!0}},m,B],stateAttributesMapping:Ft})}),Ht=`data-index`,Ut={...Ft,...E},Wt=Z.forwardRef(function(e,t){let{className:r,value:i,render:a,keepMounted:s=!1,style:c,...l}=e,{value:u,getTabIdByPanelValue:p,orientation:m,tabActivationDirection:h,registerMountedTabPanel:g}=Nt(),_=d(),{ref:y,index:x}=N(),S=i===u,{mounted:C,transitionStatus:w,setMounted:T}=f(S),E=!C,D=p(i),O={hidden:E,orientation:m,tabActivationDirection:h,transitionStatus:w},k=Z.useRef(null),A=o(`div`,e,{state:O,ref:[t,y,k],props:[{"aria-labelledby":D,hidden:E,id:_,role:`tabpanel`,tabIndex:S?0:-1,inert:v(!S),[Ht]:x},l],stateAttributesMapping:Ut});return n({open:S,ref:k,onComplete(){S||T(!1)}}),b(()=>{if(!(_==null||E&&!s))return g(i,_)},[E,s,i,_,g]),s||C?A:null}),Gt=Z.forwardRef(function(e,t){let{activateOnFocus:n=!1,className:r,loopFocus:i=!0,render:a,style:o,...s}=e,{orientation:l,setTabMap:u,tabActivationDirection:d}=Nt(),[f,p]=Z.useState(0),[m,h]=Z.useState(null),g=Z.useRef(new Set),_=Z.useRef(new Set),v=Z.useRef(null);b(()=>{if(typeof ResizeObserver>`u`)return;let e=new ResizeObserver(()=>{g.current.forEach(e=>{e()})});return v.current=e,m&&e.observe(m),_.current.forEach(t=>{e.observe(t)}),()=>{e.disconnect(),v.current=null}},[m]);let y=D(e=>(g.current.add(e),()=>{g.current.delete(e)})),x=D(e=>(_.current.add(e),v.current?.observe(e),()=>{_.current.delete(e),v.current?.unobserve(e)})),S={orientation:l,tabActivationDirection:d},C={"aria-orientation":l===`vertical`?`vertical`:void 0,role:`tablist`},w=Z.useMemo(()=>({activateOnFocus:n,registerIndicatorUpdateListener:y,registerTabResizeObserverElement:x,tabsListElement:m}),[n,y,x,m]);return(0,Q.jsx)(zt.Provider,{value:w,children:(0,Q.jsx)(I,{render:a,className:r,style:o,state:S,refs:[t,h],props:[C,s],stateAttributesMapping:Ft,highlightedIndex:f,enableHomeAndEndKeys:!0,loopFocus:i,orientation:l,onHighlightedIndexChange:p,onMapChange:u,disabledIndices:c})})}),Kt=new Map,qt=(0,Z.createContext)(null);function Jt(){let e=(0,Z.use)(qt);if(!e)throw Error(`You must wrap your component in <Tabs>`);return e}var Yt=Gt;function Xt({value:e,ref:t,...n}){let{triggers:r}=Jt();return(0,Q.jsx)(Vt,{ref:jt(t,t=>{t?r.add(e):r.delete(e)}),value:e,...n})}function Zt({ref:e,groupId:t,persist:n=!1,updateAnchor:r=!1,defaultValue:i,value:a,onValueChange:o,...s}){let c=(0,Z.useRef)(null),l=(0,Z.useMemo)(()=>new Map,[]),u=(0,Z.useMemo)(()=>new Map,[]),d=(0,Z.useMemo)(()=>new Set,[]),[f,p]=a===void 0?(0,Z.useState)(i):[a,e=>o?.(e)],m=(0,Z.useEffectEvent)(e=>{d.has(e)&&p(e)}),h=(0,Z.useEffectEvent)(()=>{let e=window.location.hash.slice(1);if(!e)return;for(let[t,n]of l.entries())if(n===e){p(t),c.current?.scrollIntoView();return}let t=document.getElementById(e);if(t){for(let[e,n]of u.entries())if(n.contains(t)){p(e),requestAnimationFrame(()=>t.scrollIntoView());return}}});return(0,Z.useLayoutEffect)(()=>{if(!t)return;let e=sessionStorage.getItem(t);n&&(e??=localStorage.getItem(t)),e&&m(e);let r=Kt.get(t)??new Set;return r.add(m),Kt.set(t,r),()=>{r.delete(m)}},[t,n]),(0,Z.useLayoutEffect)(()=>(h(),window.addEventListener(`hashchange`,h),()=>window.removeEventListener(`hashchange`,h)),[]),(0,Q.jsx)(It,{ref:jt(e,c),value:f,onValueChange:e=>{if(r){let t=l.get(e);t&&window.history.replaceState(null,``,`#${t}`)}if(t){let r=Kt.get(t);if(r)for(let t of r)t(e);sessionStorage.setItem(t,e),n&&localStorage.setItem(t,e)}else p(e)},...s,children:(0,Q.jsx)(qt,{value:(0,Z.useMemo)(()=>({valueToIdMap:l,panels:u,triggers:d}),[l,u,d]),children:s.children})})}function Qt({value:e,ref:t,...n}){let{valueToIdMap:r,panels:i}=Jt();return n.id&&r.set(e,n.id),(0,Q.jsx)(Wt,{ref:jt(t,t=>{t?i.set(e,t):i.delete(e)}),value:e,...n,children:n.children})}var $t=(0,Z.createContext)(null);function en(e){return(0,Q.jsx)(`pre`,{...e,className:X(`min-w-full w-max *:flex *:flex-col`,e.className),children:e.children})}function tn({ref:e,title:t,allowCopy:n=!0,keepBackground:r=!1,icon:i,viewportProps:a={},children:o,Actions:s=e=>(0,Q.jsx)(`div`,{...e,className:X(`empty:hidden`,e.className)}),...c}){let l=(0,Z.use)($t)!==null,u=(0,Z.useRef)(null);return n===`true`?n=!0:n===`false`&&(n=!1),(0,Q.jsxs)(`figure`,{ref:e,dir:`ltr`,...c,tabIndex:-1,className:X(l?`bg-fd-secondary -mx-px -mb-px last:rounded-b-xl`:`my-4 bg-fd-card rounded-xl`,r&&`bg-(--shiki-light-bg) dark:bg-(--shiki-dark-bg)`,`shiki relative border not-prose overflow-hidden text-sm`,c.className),children:[t?(0,Q.jsxs)(`div`,{className:`flex text-fd-muted-foreground items-center gap-2 h-9.5 border-b px-4`,children:[typeof i==`string`?(0,Q.jsx)(`div`,{className:`[&_svg]:size-3.5`,dangerouslySetInnerHTML:{__html:i}}):i,(0,Q.jsx)(`figcaption`,{className:`flex-1 truncate`,children:t}),s({className:`-me-2`,children:n&&(0,Q.jsx)(nn,{containerRef:u})})]}):s({className:`absolute top-2 right-2 z-2 backdrop-blur-lg rounded-lg text-fd-muted-foreground`,children:n&&(0,Q.jsx)(nn,{containerRef:u})}),(0,Q.jsx)(`div`,{ref:u,...a,role:`region`,tabIndex:0,className:X(`text-[0.8125rem] py-3.5 overflow-auto max-h-[600px] fd-scroll-container focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-fd-ring`,a.className),style:{"--padding-right":t?void 0:`calc(var(--spacing) * 8)`,counterSet:c[`data-line-numbers`]?`line ${Number(c[`data-line-numbers-start`]??1)-1}`:void 0,...a.style},children:o})]})}function nn({className:e,containerRef:t,...n}){let r=St({note:`code block`}),[i,a]=yt(()=>{let e=t.current?.getElementsByTagName(`pre`).item(0);if(!e)return;let n=e.cloneNode(!0);return n.querySelectorAll(`.nd-copy-ignore`).forEach(e=>{e.replaceWith(`
2
- `)}),navigator.clipboard.writeText(n.textContent??``)});return(0,Q.jsxs)(`button`,{type:`button`,"data-checked":i||void 0,className:X(vt({className:`hover:text-fd-accent-foreground data-checked:text-fd-accent-foreground`,size:`icon-xs`}),e),"aria-live":`polite`,onClick:a,...n,children:[i?(0,Q.jsx)(h,{}):(0,Q.jsx)(re,{}),(0,Q.jsx)(`span`,{className:`sr-only`,children:r(i?`Copied Text`:`Copy Text`,{note:`aria-label`})})]})}function rn({ref:e,className:t,...n}){let r=(0,Z.useRef)(null),i=(0,Z.use)($t)!==null;return(0,Q.jsx)(Zt,{ref:jt(r,e),...n,className:e=>X(`bg-fd-card rounded-xl border`,!i&&`my-4`,typeof t==`function`?t(e):t),children:(0,Q.jsx)($t,{value:(0,Z.useMemo)(()=>({containerRef:r,nested:i}),[i]),children:n.children})})}function an({className:e,...t}){return(0,Q.jsx)(Yt,{...t,className:t=>X(`flex flex-row px-2 overflow-x-auto text-fd-muted-foreground`,typeof e==`function`?e(t):e),children:t.children})}function on({children:e,className:t,...n}){return(0,Q.jsxs)(Xt,{...n,className:e=>X(`relative group inline-flex text-sm font-medium text-nowrap items-center transition-colors gap-2 px-2 py-1.5 [&_svg]:size-3.5`,e.active?`text-fd-primary`:`hover:text-fd-accent-foreground`,typeof t==`function`?t(e):t),children:[(0,Q.jsx)(`div`,{className:`absolute inset-x-2 bottom-0 h-px group-data-active:bg-fd-primary`}),e]})}function sn(e){return(0,Q.jsx)(Qt,{...e})}function cn(e){return(0,Q.jsx)(ot,{sizes:`(max-width: 768px) 100vw, (max-width: 1200px) 70vw, 900px`,...e,className:X(`rounded-lg`,e.className)})}function ln(e){return(0,Q.jsx)(`div`,{className:`relative overflow-auto prose-no-margin my-6`,tabIndex:0,children:(0,Q.jsx)(`table`,{...e})})}var un={CodeBlockTab:sn,CodeBlockTabs:rn,CodeBlockTabsList:an,CodeBlockTabsTrigger:on,pre:e=>(0,Q.jsx)(tn,{...e,children:(0,Q.jsx)(en,{children:e.children})}),Card:lt,Cards:$,a:ct,img:cn,h1:e=>(0,Q.jsx)(At,{as:`h1`,...e}),h2:e=>(0,Q.jsx)(At,{as:`h2`,...e}),h3:e=>(0,Q.jsx)(At,{as:`h3`,...e}),h4:e=>(0,Q.jsx)(At,{as:`h4`,...e}),h5:e=>(0,Q.jsx)(At,{as:`h5`,...e}),h6:e=>(0,Q.jsx)(At,{as:`h6`,...e}),table:ln,Callout:dt,CalloutContainer:pt,CalloutTitle:mt,CalloutDescription:ht};function dn(e){let{open:t,defaultOpen:n=!1,onOpenChange:i,disabled:a}=e,[o,s]=y({controlled:t,default:n,name:`Collapsible`,state:`open`}),{mounted:c,setMounted:l,transitionStatus:u}=f(o,!0,!0),m=d(),[h,g]=Z.useState(),_=h===null?void 0:h??m,v=D(e=>{let t=!o,n=r(p,e.nativeEvent);i(t,n),n.isCanceled||s(t)});return Z.useMemo(()=>({defaultPanelId:m,disabled:a,handleTrigger:v,mounted:c,open:o,panelId:_,setMounted:l,setOpen:s,setPanelIdState:g,transitionStatus:u}),[m,a,v,c,o,_,l,s,g,u])}var fn=Z.createContext(void 0);function pn(){let e=Z.useContext(fn);if(e===void 0)throw Error(P(15));return e}var mn=`data-open`,hn=`data-closed`,gn=w,_n=`data-panel-open`,vn={[mn]:``},yn={[hn]:``},bn={open(e){return e?{[_n]:``}:null}},xn={open(e){return e?vn:yn}},Sn={...xn,...E},Cn=Z.forwardRef(function(e,t){let{render:n,className:r,defaultOpen:i=!1,disabled:a=!1,onOpenChange:s,open:c,style:l,...u}=e,d=D(s),f=dn({open:c,defaultOpen:i,onOpenChange:d,disabled:a}),p=Z.useMemo(()=>({open:f.open,disabled:f.disabled,transitionStatus:f.transitionStatus}),[f.open,f.disabled,f.transitionStatus]),m=Z.useMemo(()=>({...f,onOpenChange:d,state:p}),[f,d,p]),h=o(`div`,e,{state:p,ref:t,props:u,stateAttributesMapping:Sn});return(0,Q.jsx)(fn.Provider,{value:m,children:h})}),wn={...bn,...E},Tn=Z.forwardRef(function(e,t){let{panelId:n,open:r,handleTrigger:i,state:a,disabled:s}=pn(),{className:c,disabled:l=s,render:u,nativeButton:d=!0,style:f,...p}=e,{getButtonProps:m,buttonRef:h}=j({disabled:l,native:d});return o(`button`,e,{state:a,ref:[t,h],props:[{"aria-controls":r?n:void 0,"aria-expanded":r,onClick:i},p,m],stateAttributesMapping:wn})}),En={height:void 0,width:void 0};function Dn(e){let{externalRef:t,hiddenUntilFound:i,id:a,keepMounted:o,mounted:s,onOpenChange:c,open:u,setMounted:d,setOpen:f,transitionStatus:p}=e,m=Z.useRef(null),h=Z.useRef(null),[g,_]=Z.useState(En),v=Z.useRef(En),y=Z.useRef(!1),x=Z.useRef(u),w=Z.useRef(!1),[T,E]=Z.useState(!1),O=Z.useRef(null),k=l(t,m),A=M(u),j=ee(m),N=!u&&!s,P=T?`idle`:p,F=u&&(x.current||w.current),I=!u&&s&&h.current===`css-animation`&&g.height===void 0&&g.width===void 0?v.current:g,R=i&&N&&h.current!==`css-animation`,z=D((e,t=!0)=>{t&&(v.current=e),_(e)}),B=D(()=>{O.current?.(),O.current=null}),V=D(e=>{B(),O.current=()=>{O.current=null,e()}}),H=D(()=>{u&&s&&h.current===`css-animation`&&(w.current=!0)});b(()=>{T&&p!==`starting`&&E(!1)},[T,p]),Z.useEffect(()=>()=>{H(),B()},[H,B]),b(()=>{u||(x.current=!1,w.current=!1);let e=m.current;if(!e)return;!u&&O.current&&B();let t=kn(e,F);if(h.current=t,u&&p===`idle`&&x.current&&t===`css-animation`){v.current=On(e);return}if(u&&p===`starting`){let n=y.current;if(y.current=!1,t===`none`){z(On(e)),E(!0);return}if(t===`css-transition`){let t=Mn(e);if(z(On(e)),!n)return t;let r=jn(e,`transition-duration`,`0s`);return V(r),E(!0),t}z(On(e));let r=jn(e,`animation-name`,`none`);if(!n){r();return}let i=jn(e,`animation-duration`,`0s`);r(),V(i),E(!0);return}if(!u&&s&&(p===`idle`||p===`starting`)){if(t===`none`){z(En,!1),d(!1);return}z(On(e));return}if(p!==`ending`)return;if(t===`none`){d(!1);return}let n=On(e);n.height>0||n.width>0?(z(n),t===`css-animation`&&jn(e,`animation-name`,`none`)()):d(!1)},[s,u,B,z,d,V,F,p]),n({enabled:u&&s&&P===`idle`,open:!0,ref:m,onComplete(){u&&z(En,!1)}}),Z.useEffect(()=>{if(u||!s||P!==`ending`)return;if(!m.current){d(!1),z(En,!1);return}let e=new AbortController,t=-1;function n(){A.current||(d(!1),z(En,!1))}return t=L.request(()=>{j(n,e.signal)}),()=>{L.cancel(t),e.abort()}},[A,s,u,P,j,z,d]),b(()=>{let e=m.current;e&&i&&N&&e.setAttribute(`hidden`,`until-found`)},[N,i]),Z.useEffect(function(){let e=m.current;if(!e)return;let t=S.create(),n=-1,i=(r,i)=>{t.start(0,()=>{A.current||(n=L.request(()=>{A.current||(r&&(y.current=!1),i&&e.setAttribute(gn,``),e.setAttribute(`hidden`,`until-found`))}))})},a=C(e,`beforematch`,t=>{let n=r(te,t);if(c(!0,n),n.isCanceled){i(!1,!1);return}y.current=!0;let a=e.hasAttribute(gn);e.removeAttribute(gn),f(!0),i(!0,a)});return()=>{t.clear(),L.cancel(n),a()}},[A,c,f]);let U=o||i||s||u;return{height:I.height,props:{...R?{[gn]:``}:void 0,hidden:N,id:a},ref:k,shouldPreventOpenAnimation:F,shouldRender:U,transitionStatus:P,width:I.width}}function On(e){return{height:e.scrollHeight,width:e.scrollWidth}}function kn(e,t){let n=R(e).getComputedStyle(e),r=(n.animationName.split(`,`).map(e=>e.trim()).some(e=>e!==``&&e!==`none`)||t)&&An(n.animationDuration),i=An(n.transitionDuration);return r&&i||i?`css-transition`:r?`css-animation`:`none`}function An(e){return e.split(`,`).map(e=>e.trim()).some(e=>e!==``&&Number.parseFloat(e)>0)}function jn(e,t,n){let r=e.style.getPropertyValue(t),i=e.style.getPropertyPriority(t);return e.style.setProperty(t,n),()=>{r===``?e.style.removeProperty(t):e.style.setProperty(t,r,i)}}function Mn(e){let t={"justify-content":e.style.justifyContent,"align-items":e.style.alignItems,"align-content":e.style.alignContent,"justify-items":e.style.justifyItems};Object.keys(t).forEach(t=>{e.style.setProperty(t,`initial`,`important`)});function n(){Object.entries(t).forEach(([t,n])=>{n===``?e.style.removeProperty(t):e.style.setProperty(t,n)})}let r=L.request(n);return()=>{L.cancel(r),n()}}var Nn=`--collapsible-panel-height`,Pn=`--collapsible-panel-width`,Fn=Z.forwardRef(function(e,t){let{className:n,hiddenUntilFound:r,keepMounted:i,render:a,id:c,style:l,...u}=e,{defaultPanelId:d,mounted:f,onOpenChange:p,open:m,setMounted:h,setPanelIdState:g,setOpen:_,state:v,transitionStatus:y}=pn(),x=r??!1,S=i??!1,C=c||void 0,w=C??d;b(()=>(g(e=>C??(e===null?void 0:e)),()=>{g(e=>e===C?null:e)}),[C,g]);let{height:T,props:E,ref:D,shouldPreventOpenAnimation:O,shouldRender:k,transitionStatus:A,width:j}=Dn({externalRef:t,hiddenUntilFound:x,id:w,keepMounted:S,mounted:f,onOpenChange:p,open:m,setMounted:h,setOpen:_,transitionStatus:y}),M={...v,transitionStatus:A},N=s(l,M),P=o(`div`,{...e,style:void 0},{state:M,ref:D,props:[E,{style:{[Nn]:T===void 0?`auto`:`${T}px`,[Pn]:j===void 0?`auto`:`${j}px`}},u,N?{style:N}:void 0,O?{style:{animationName:`none`}}:void 0],stateAttributesMapping:Sn});return k?P:null});export{dt as A,Nt as C,St as D,Ct as E,le as F,se as I,re as L,ot as M,X as N,yt as O,pe as P,H as R,Ft as S,At as T,Gt as _,xn as a,Bt as b,pn as c,tn as d,en as f,Xt as g,Yt as h,Cn as i,ct as j,vt as k,dn as l,Qt as m,Dn as n,bn as o,Zt as p,Tn as r,fn as s,Fn as t,un as u,Wt as v,jt as w,It as x,Vt as y};
1
+ import{r as e}from"./rolldown-runtime-XKyaHtl9.js";import{Bt as t,C as n,Dt as r,Gn as i,Hn as a,Mn as o,Nn as s,Pn as c,Rn as l,Rt as u,S as d,T as f,Tt as p,Un as m,Vn as h,a as g,an as _,b as v,c as y,cn as b,dt as x,en as S,it as C,jt as w,kn as T,kt as E,ln as D,n as O,o as k,on as A,rn as j,rt as M,s as N,sn as P,st as F,t as I,tt as L,vn as R,vt as z,w as ee,yt as te}from"./CompositeRoot-D4sRkYq3.js";import{s as B}from"./app.js";var V={name:`chevron-right`,size:24,node:[[`path`,{d:`m9 18 6-6-6-6`,key:`mthhwq`}]]};V.node;var H=a(V),U={name:`circle-check`,size:24,node:[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`path`,{d:`m16 9-5.5 5.5L8 12`,key:`xofnsj`}]],aliases:[`check-circle-2`]};U.node;var W=a(U),G={name:`circle-x`,size:24,node:[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`path`,{d:`m15 9-6 6`,key:`1uzhvr`}],[`path`,{d:`m9 9 6 6`,key:`z0biqf`}]],aliases:[`x-circle`]};G.node;var K=a(G),ne={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`}]]};ne.node;var re=a(ne),ie={name:`copy-check`,size:24,node:[[`path`,{d:`m12 15 2 2 4-4`,key:`2c609p`}],[`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`}]]};ie.node;var ae=a(ie),oe={name:`file`,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`}]]};oe.node;var se=a(oe),ce={name:`info`,size:24,node:[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`path`,{d:`M12 16v-4`,key:`1dtifu`}],[`path`,{d:`M12 8h.01`,key:`e9boi3`}]]};ce.node;var le=a(ce),ue={name:`lightbulb`,size:24,node:[[`path`,{d:`M15 14c.2-1 .7-1.7 1.5-2.5 1-.9 1.5-2.2 1.5-3.5A6 6 0 0 0 6 8c0 1 .2 2.2 1.5 3.5.7.7 1.3 1.5 1.5 2.5`,key:`1gvzjb`}],[`path`,{d:`M9 18h6`,key:`x1upvd`}],[`path`,{d:`M10 22h4`,key:`ceow96`}]]};ue.node;var de=a(ue),fe={name:`link`,size:24,node:[[`path`,{d:`M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71`,key:`1cjeqo`}],[`path`,{d:`M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71`,key:`19qd67`}]]};fe.node;var pe=a(fe),me=48,q=(e,t=0)=>{let n=new Int32Array(e.length);for(let r=0;r<e.length;r++)n[r]=e.charCodeAt(r)-me-t;return n},he=e=>{let t=new Int32Array(e.length+1);for(let n=0;n<e.length;n++)t[n+1]=t[n]+e[n];return t},ge=e=>{let t=new Int32Array(e.length),n=0;for(let r=0;r<e.length;r++){let i=e.charCodeAt(r)-me;n+=i>>>1^-(i&1),t[r]=n}return t},_e=384,ve=[],ye=he(q(`E0500002005282000000002000150000020021820000011200000003022202000300004200120000200420001200021200301200010400162000010000220021010:2192001200220012000220012000200200200400010200040000000000400200108200110100000022010313000162002000020020012020080213000228200000000082000000000120002000120020020040101020300130001001010`)),be=he(q(`:11111111211111119311546544411119731869:671397415686432441111111111161114151214313433415:78311132233313187211117221449443411141111151152226611131111112212518142224214215421421542142424242516171151615616347111111111197911327451111111111111111111113134714133513411111311111111111111111111112444411111342312715245411117:3`)),xe=`@containerabcdefghinlmoprstunderlineviawzccentlignnimatespectuto-colsrowsaglorightnessckdrop-sisbcontrastfiltergrayscalehue-rotateinvertopacityslurrightnessaturateepia-coniclinearpositionradialsizeockurrderttom-belrstxyespacing-xyaretoursorlnt-umnsendspantartainentrasteividerop-shadowurationcorationlay-xyasendillexontromlter-featuresstretchapr-xyayscaleidow-colsrowsue-rotatedentlinesetvert-beringsxyeshadoweiadingftnest-clamp-imageabein-lrstxyskx--b-coniclpositionrsizet-x-y-fromto-fromto-inearfromto-fromto-adialfromto-fromtofromtofromtofromtoblockhinlinew-screenesblockhinlinewbjectpacityrutlinederigin-offsetbelrstxyesrspective-originaceholderioghtng-offsettateundedw-xyz-belrstlreseslr-endspantartaturatecepiahizekewpace-taleroll-xyz-barmpbelrstxyesbelrstxyes-thumbrackadowrink-xyxyartrokeabextora-shadowpckingnsformitionlate-xyz-offsetill-changeoom`,Se=(()=>{let e=ye.length-1,t=new Int32Array(e);for(let n=e-1;n>=0;n--){let e=1,r=n+1;for(let i=ye[n];i<ye[n+1];i++)e+=t[r],r+=t[r];t[n]=e}let n=new Int32Array(ye[e]),r=0;for(let i=0;i<e;i++){let e=i+1;for(let a=ye[i];a<ye[i+1];a++)n[r++]=e,e+=t[e]}return n})(),Ce=q(`02000000000000900<=0?000B000F00F00ŏI0J0LNPRTVX0000]_a00000000000000000000000rst0000000zŏ00000000000…ŏ000ˆ0000ŏ0000000000—0000000000000000000000000000000000000000000000000000Ë000000000000000000000Þ000000000000000000ð0000000ø0ùúûüýþÿĀāĂ㥹Ć000000000000000000000000000000000000000000ħ0ĨĪ00000000000000000000ļĽ00000Ŭ000000`,1),we=he(q(`123333359346463635126536711576`)),Te=q(`93203242332583253248325D>E?F@03263243255B:032523853:0325B:8GA032542H<C=12727B:0328432553;D>E?3257D>032585:0325B:;0328B:032`),Ee=q(`012113445661666666789111:5;;;;;;;;444;;;:62999<1161=62>>?61:21@ABCD4446996:64E:::;:?::64:F114GHHIHHHHIHH1HH1HH1HHHHHH::EEJ4444::EE4444441691;644444114244444:;K6666555555555555555999666664444444444444444444444226?6:66644L9M?D:111::::6DE199`),De=ge(`020200202020020020020020020020200200200200200200200002020202001003040106000200200200200200200200200200200200200200200200200200200200200200200200200200200200020020020020020020002020200202002002002002002002002002002020002002020020200220200200200200200200200200200200020020020000200020002000200200200020020020002000200200200020020202002020202000200200020022000200200020020002002000200220002002000200W0Z00020020002002020002002000200g0j0002002000200200020020002002000200200020020002000200002000002002002002002000200020000200002002002002002002002020020020200200200200200200200200202020020020020020020020020002002002020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020020002002002002002002000200200200200200200200200200020202020002000200020002002002002000020200200`),Oe=(()=>{let e=new Int32Array(319).fill(-1),t=ge(`02422242:222222242224222242442222222422222244442242226224222426222422442462222422622222222626222462242622422622422424242422222222422222222242422222222222222222622442224222222222222224424442262222222222222222222226224222424242422224422422422222`),n=ge(`02222222222222222222202222222222222222222222221422222222222222222222222222222222222Y\\222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222221422222222222222222222222222222222222222Ŀł222222222222222222`);for(let r=0;r<t.length;r++)e[t[r]]=n[r];return e})(),ke=`container |break-after- all auto avoid avoid-page column left page right|break-before- all auto avoid avoid-page column left page right|break-inside-a uto void void-column void-page|box-decoration- clone slice|box- border content| contents flow-root hidden table table-caption table-cell table-column table-column-group table-footer-group table-header-group table-row table-row-group| not-sr-only sr-only|float- end left none right start|clear- both end left none right start|isolat e ion-auto|overflow- auto clip hidden scroll visible|overflow-x- auto clip hidden scroll visible|overflow-y- auto clip hidden scroll visible|overscroll- auto contain none|overscroll-x- auto contain none|overscroll-y- auto contain none| absolute fixed relative static sticky| collapse invisible visible|justify- around baseline between center center-safe end end-safe evenly normal start stretch|justify-items- center center-safe end end-safe normal start stretch|justify-self- auto center center-safe end end-safe start stretch|items- baseline baseline-last center center-safe end end-safe start stretch|self- auto baseline baseline-last center center-safe end end-safe start stretch|place-content- around baseline between center center-safe end end-safe evenly start stretch|place-items- baseline center center-safe end end-safe start stretch|place-self- auto center center-safe end end-safe start stretch| antialiased subpixel-antialiased| italic not-italic|normal-nums |ordinal |slashed-zero | lining-nums oldstyle-nums| proportional-nums tabular-nums| diagonal-fractions stacked-fractions| no-underline overline| capitalize lowercase normal-case uppercase|truncate |whitespace- break-spaces normal nowrap pre pre-line pre-wrap|break- all keep normal words|wrap- anywhere break-word normal|hyphens- auto manual none|mix-blend- color color-burn color-dodge darken difference exclusion hard-light hue lighten luminosity multiply normal overlay plus-darker plus-lighter saturation screen soft-light|table- auto fixed|caption- bottom top|backface- hidden visible|appearance- auto none|scheme- dark light light-dark normal only-dark only-light|field-sizing- content fixed|pointer-events- auto none|resize -none -x -y|snap- align-none center end start|snap- always normal|snap- both none x y|snap- mandatory proximity|touch- auto manipulation none|touch-pan- left right x|touch-pan- down up y|touch-pinch-zoom |select- all auto none text|forced-color-adjust- auto none| normal size| baseline bottom middle sub super text-bottom text-top top| bounce none ping pulse spin| auto square video| auto fr max min px|none | auto full px| fixed local scroll|clip- border content padding text|origin- border content padding| bottom bottom-left bottom-right center left left-bottom left-top right right-bottom right-top top top-left top-right| no-repeat repeat repeat-round repeat-space repeat-x repeat-y| auto contain cover|blend- color color-burn color-dodge darken difference exclusion hard-light hue lighten luminosity multiply normal overlay saturation screen soft-light|to- b bl br l r t tl tr| auto dvh fit full lh lvh max min px screen svh| dashed dotted double hidden none solid| collapse separate|px |auto |full | content none strict| inline-size size|layout |paint |style | around baseline between center center-safe end end-safe evenly normal start stretch| alias all-scroll auto cell col-resize context-menu copy crosshair default e-resize ew-resize grab grabbing help move n-resize ne-resize nesw-resize no-drop none not-allowed ns-resize nw-resize nwse-resize pointer progress row-resize s-resize se-resize sw-resize text vertical-text w-resize wait zoom-in zoom-out| dashed dotted double solid wavy| auto from-font|reverse |initial | in in-out initial linear out| col col-reverse row row-reverse| nowrap wrap wrap-reverse| auto initial none| black bold extrabold extralight light medium normal semibold thin| condensed expanded extra-condensed extra-expanded normal semi-condensed semi-expanded ultra-condensed ultra-expanded|flow- col col-dense dense row row-dense| none subgrid| auto dvh dvw fit full lh lvh lvw max min px screen svh svw| block flex grid table| auto dvw fit full lvw max min px screen svw| loose none normal px relaxed snug tight|through |item | inside outside| decimal disc none| auto px| clip-border clip-content clip-fill clip-padding clip-stroke clip-view no-clip| add exclude intersect subtract| alpha luminance match|origin- border content fill padding stroke view|type- alpha luminance| circle ellipse| closest-corner closest-side farthest-corner farthest-side|at- bottom bottom-left bottom-right center left left-bottom left-top right right-bottom right-top top top-left top-right| dvh fit full lh lvh max min none px screen svh| auto dvh dvw fit full lh lvh lvw max min none px screen svh svw| dvw fit full lvw max min none px screen svw| auto dvh dvw fit full lvh lvw max min none prose px svh svw| auto dvh dvw fit full lvh lvw max min none px screen svh svw| contain cover fill none scale-down| first last none| distant dramatic midrange near none normal|inset | full none|3d | auto smooth|gutter- auto both stable| auto none thin| inner none| auto dvh dvw fit full lvh lvw max min px svh svw|base | center end justify left right start| clip ellipsis| balance nowrap pretty wrap| normal tight tighter wide wider widest| cpu gpu none| 3d flat| all colors none opacity shadow transform| discrete normal| full px| auto dvh dvw fit full lvh lvw max min px screen svh svw| auto contents scroll transform`.split(`|`).map(e=>{let t=e.split(` `),n=t.shift();for(let e=0;e<t.length;e++)t[e]=n+t[e];return t}),Ae=ge(`0000000000000000000000000000000000000000000000000000000000000262242:6@200000006:240B428:4422400002046044222426220026642642462026224222824220022400000000\\00N222422242222222224062242222222422226264222422222222222222442804222422222222222222222222220<4<0204260002444020204224422`),je=ge(`ɠ222222222222222222222222222222222222222222222222222222222222˕4222226>6ʰ22ʷʺʷʺʷ42ʴ2ʓ22>621422ɶ222ɹɼɷɺɷɺ22ɱ42222ɨ2ɧ26622ɘɓ244ƸƵ222]d24242ǖǓƚÄȫ2263ȨȥȨ2222222ǣ222222222222222222ǂƽ2ƾƵ2222222422222ƜƑ22222222222222222222144Ŧţ22Ţş222222222222222222222ĸ2ı68ĦģĦɡŰ4Ġ«®ĝ822ĔđĔ2ē2222622`),Me=ge(`02222222222222222222222222222222222222222222222222222222222222222202021422222222CF2200GJ021042222WZ222IL0ad2c10h2222U00X202[^2w0000120zy|}€22ƒ†…:22z22222222222G000q†OVI00000{˜2™<40000Œ›@00000G¦§000ª00000000000000021K¬«00®“000000000000000000000–222›HGH_1¸222½2¾2222ÇÊ000­°2±`),Ne=new Int32Array(987),Pe=new Int32Array(987),Fe=new Int32Array(987),Ie=``,Le=new Int32Array(1022);{let e=new Map,t=0,n=0;for(let r=0;r<Ae.length;r++)for(let i of ke[Me[r]]){let a=e.get(i);a===void 0&&(a=t++,e.set(i,a),Le[a*2]=Ie.length,Le[a*2+1]=i.length,Ie+=i),Ne[n]=Ae[r],Pe[n]=je[r],Fe[n]=a,n++}}var J=ge(`0b2N:222@R>F@286¦2@H2D266226FB22B2>BD\\6N22222Z222D222p`),Re=he(q(`1::24444432:442:44:44>222222:44:4421322511111311111114`)),ze=ge(`2Š4A;33N=C@H4A;33N=C@<27;83:;8393NQ:3NQʰ222ˉºŴŽ2R2=18cƴÅҜ=cĞÛC1ƈǝȈ:ħ25=11D3A@4=<1;1DEr25;11B3?<6;:371BCn9@7=<8192>2E121@9@EHE@9>2T25511<398454131<=V25511<398454131<=„ƧNž2Đå242L222290000f22500ɛ000ǘ222`),Be=q(`ij`),Ve=q(`—`),He=q(`1`),Ue={GROUP_COUNT:_e,customValidatorNames:ve,edgeStart:ye,labelStart:be,labelText:xe,edgeTarget:Se,nodeGroup:Ce,nodeVlist:Oe,vlistPat:we,vlistOps:Te,vlistRef:Ee,vlistGroup:De,litAnchor:Ne,litGroup:Pe,litPool:Fe,poolOffsets:Le,poolText:Ie,adjGid:J,adjStart:Re,adjTgt:ze,patGid:Be,patTgt:Ve,postfixLookupGroups:He,orderSensitiveModifiers:`* ** after backdrop before details-content file first-letter first-line marker placeholder selection`},We=`line`in Error(),Ge=-1,Ke=-1,qe=(e,t,n)=>{let r=2166136261;for(let i=t;i<n;i++)r=Math.imul(r^e.charCodeAt(i),16777619);return r},Je=(e,t,n)=>{let r=n-t,i=Math.imul(r,2654435761)^e.charCodeAt(t);if(r>3){let a=r>>2,o=r>>1;i=Math.imul(i^e.charCodeAt(t+1)<<8^e.charCodeAt(t+2)<<16^e.charCodeAt(t+a),2246822507),i=Math.imul(i^e.charCodeAt(t+o)<<8^e.charCodeAt(t+o+a)<<16^e.charCodeAt(n-3),3266489909),i^=e.charCodeAt(n-2)<<8^e.charCodeAt(n-1)<<16;for(let r=t+3,a=n-4;r<t+8&&r<a;r++,a--)i=Math.imul(i^e.charCodeAt(r)^e.charCodeAt(a)<<8,16777619)}return i^i>>>15},Ye=(e,t,n={})=>{let{GROUP_COUNT:r,edgeStart:i,labelStart:a,labelText:o,edgeTarget:s,nodeGroup:c,nodeVlist:l,vlistPat:u,vlistOps:d,vlistRef:f,vlistGroup:p,litAnchor:m,litGroup:h,litPool:g,poolOffsets:_,poolText:v,adjGid:y,adjStart:b,adjTgt:x,patGid:S,patTgt:C,postfixLookupGroups:w,customValidatorNames:T,orderSensitiveModifiers:E}=e,D=new Int32Array(r).fill(-1);for(let e=0;e<y.length;e++)D[y[e]]=e;let O=0;for(let e=0;e+1<b.length;e++){let t=b[e+1]-b[e];t>O&&(O=t)}let k=32;for(;k<2*(1+O+S.length);)k<<=1;let A=new Int32Array(f.length+1);for(let e=0;e<f.length;e++)A[e+1]=A[e]+u[f[e]+1]-u[f[e]];let j=new Uint8Array(r);for(let e=0;e<w.length;e++)j[w[e]]=1;let M=i.length-1,N=new Uint8Array(M),P=0,F=!0;for(let e=0;e<m.length;e++){N[m[e]]=1;let t=_[g[e]*2+1];t>P&&(P=t);let n=v.charCodeAt(_[g[e]*2]);(n===91||n===40)&&(F=!1)}let I=1;for(;I<m.length*2;)I<<=1;let L=new Int32Array(I).fill(-1);for(let e=0;e<m.length;e++){let t=_[g[e]*2],n=(qe(v,t,t+_[g[e]*2+1])^Math.imul(m[e],2654435761)|0)&I-1;for(;L[n]!==-1;)n=n+1&I-1;L[n]=e}let R=(e,t,n,r)=>{let i=(qe(t,n,r)^Math.imul(e,2654435761)|0)&I-1,a=r-n;for(;;){let r=L[i];if(r===-1)return-1;if(m[r]===e&&_[g[r]*2+1]===a){let e=_[g[r]*2],i=!0;for(let r=0;r<a;r++)if(v.charCodeAt(e+r)!==t.charCodeAt(n+r)){i=!1;break}if(i)return h[r]}i=i+1&I-1}},z=n.cacheSize??8192,ee=n.prefix??e.prefix??``,te=ee===``?``:ee+`:`,B=te.length,V=(T??[]).map(e=>{let n=t&&t[e];if(!n)throw Error(`cn: missing validator `+e);return n}),H=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,U=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,W=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,G=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,K=0,ne=-1,re=-1,ie=-1,ae=-1,oe=e=>e>=97&&e<=122||e>=65&&e<=90||e>=48&&e<=57||e===95,se=e=>/\s/.test(String.fromCharCode(e)),ce=(e,t,n)=>{if(K=0,ne=-1,n-t<3)return;let r=e.charCodeAt(t),i=e.charCodeAt(n-1);if(r===91&&i===93)K=1;else if(r===40&&i===41)K=2;else return;ie=t+1,ae=n-1;let a=t+1;if(oe(e.charCodeAt(a))){for(a++;a<n-1;){let t=e.charCodeAt(a);if(!oe(t)&&t!==45)break;a++}a<n-2&&e.charCodeAt(a)===58&&(ne=t+1,re=a,ie=a+1)}},le=(e,t,n,r)=>{if(n-t!==r.length)return!1;for(let n=0;n<r.length;n++)if(e.charCodeAt(t+n)!==r.charCodeAt(n))return!1;return!0},ue=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,de=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,fe=e=>!!e&&!Number.isNaN(Number(e)),pe=(e,t,n)=>{if(n-t<11||!le(e,t,t+10,`@container`))return!1;if(e.charCodeAt(t+10)===47)return n-t>=12;let r=e.charCodeAt(t+11);return r===115&&n-t>=17&&le(e,t+10,t+16,`-size/`)||r===110&&n-t>=19&&le(e,t+10,t+18,`-normal/`)},me=[1,1,1,1,1,1,1,1,2,2,2,2,2,2,2],q=`length|number|number weight|family-name|position percentage|length size bg-size|image url|shadow|length|family-name|position percentage|length size bg-size|image url|shadow|number weight`.split(`|`).map(e=>e.split(` `)),he=[2,3,1,0,0,0,4,5,0,0,0,0,0,1,1],ge=(e,t,n,r)=>{if(e>=10){if(e>=25)return V[e-25](t.slice(n,r));let i=e-10;if(K!==me[i])return!1;if(ne>=0){for(let e of q[i])if(le(t,ne,re,e))return!0;return!1}switch(he[i]){case 0:return!1;case 1:return!0;case 2:{let e=t.slice(ie,ae);return H.test(e)&&!U.test(e)}case 3:return fe(t.slice(ie,ae));case 4:return G.test(t.slice(ie,ae));default:return W.test(t.slice(ie,ae))}}switch(e){case 0:return!0;case 1:return K===0;case 2:return K===1;case 3:return K===2;case 4:return ue.test(t.slice(n,r));case 5:return fe(t.slice(n,r));case 6:{let e=t.slice(n,r);return!!e&&Number.isInteger(Number(e))}case 7:return r>n&&t.charCodeAt(r-1)===37&&fe(t.slice(n,r-1));case 8:return de.test(t.slice(n,r));default:return pe(t,n,r)}},_e=new Set(typeof E==`string`?E.split(` `):E),ve=(e,t,n,r,i,a)=>{let o=qe(t,n,r)^(i?2654435769:0),s=e.get(o);if(s!==void 0)outer:for(let e=0;e<s.length;e++){let a=s[e];if(a.imp===i&&a.k.length===r-n){for(let e=0;e<a.k.length;e++)if(a.k.charCodeAt(e)!==t.charCodeAt(n+e))continue outer;return a.id}}else e.set(o,s=[]);let c=t.slice(n,r),l=a(c);return s.push({k:c,imp:i,id:l}),l},ye=new Map,be=new Map,xe=2,Se=4096,Ce=(e,t)=>{let n=[],r=0,i=0,a=0;for(let t=0;t<e.length;t++){let o=e.charCodeAt(t);r===0&&i===0&&o===58?(n.push(e.slice(a,t)),a=t+1):o===91?r++:o===93?r--:o===40?i++:o===41&&i--}n.push(e.slice(a));let o=n[0];if(n.length>1){let e=[],t=[];for(let r of n)r.charCodeAt(0)===91||_e.has(r)?(t.length&&(e.push(...t.sort()),t=[]),e.push(r)):t.push(r);t.length&&e.push(...t.sort()),o=e.join(`:`)}let s=t?o+` !`:o,c=be.get(s);return c===void 0&&be.set(s,c=xe++),c},we=new Map,Te=r,Ee=r+4096,De=()=>Te++,Oe=2097152,ke=8192,Ae=new Int32Array(ke),je=Array(ke).fill(null),Me=new Int32Array(ke),Ne=new Int32Array(ke),Pe=new Uint8Array(ke),Fe=0,Ie=(e,t,n,r,i,a,o,s)=>{let c=e;if(je[e]!==null){if(je[e|1]===null)c=e|1;else if(!(Fe++&3))c=e|Fe>>2&1;else return}je[c]=t.slice(n,r),Ae[c]=i,Me[c]=a,Ne[c]=o,Pe[c]=s},Le=()=>je.fill(null),J=256,Re=[new Int32Array(J),new Int32Array(J),new Int32Array(J),new Int32Array(J)],[ze,Be,Ve,He]=Re,Ue=new Uint8Array(J),Ye=new Uint8Array(J),Xe=()=>{J*=2,Re=Re.map(e=>{let t=new Int32Array(J);return t.set(e),t}),[ze,Be,Ve,He]=Re;let e=new Uint8Array(J);e.set(Ue),Ue=e,Ye=new Uint8Array(J)},Ze=64,$e=new Int32Array(Ze),et=new Int32Array(Ze),tt=new Int32Array(r),Y=2048,nt=21,rt=new Float64Array(Y),X=new Int32Array(Y),Z=0,Q=(e,t)=>{if(e===0&&t<r)return tt[t]===Z?1:(tt[t]=Z,0);let n=e*2097152+t+1,i=Math.imul(n,2654435761)>>>nt;for(;X[i]===Z;){if(rt[i]===n)return 1;i=i+1&Y-1}return rt[i]=n,X[i]=Z,0},it=(e,t,n,r,i)=>{if(n-t>=2&&e.charCodeAt(t)===91&&e.charCodeAt(n-1)===93){let r=-1;for(let i=t+1;i<n-1;i++)if(e.charCodeAt(i)===58){r=i;break}return r===-1||r===t+1?Ge:ve(we,e,t+1,r,0,De)}if(r>=0&&c[r]>=0)return c[r];for(let t=i-1;t>=0;t--){let r=et[t];if(r>n)continue;let i=$e[t],a=n-r;if(N[i]===1&&a>0&&a<=P){let t=e.charCodeAt(r);if(F===!1||t!==91&&t!==40){let t=R(i,e,r,n);if(t>=0)return t}}let o=l[i];if(o<0)continue;let s=f[o],c=u[s],m=u[s+1];if(c===m)continue;ce(e,r,n);let h=A[o]-c;for(let t=c;t<m;t++)if(ge(d[t],e,r,n))return p[h+t]}return Ge},at=e=>{let t=e.length,n=0,c=0,u=!1;(xe>Se||ye.size>Se)&&(ye=new Map,be=new Map,xe=2,Le()),Te>Ee&&(we=new Map,Te=r,Le());let d=0;for(;d<t;){let f=e.charCodeAt(d);if(f===32||f>=9&&f<=13||f>=160&&se(f)){f!==32&&(u=!0),d++;continue}let p=d,m=0;for(;d<t;){if(f=e.charCodeAt(d),f<=32){if(f===32)break;if(f>=9&&f<=13){u=!0;break}}else if(f>=160&&se(f)){u=!0;break}m=Math.imul(m^f,16777619),d++}let h=d,g=h-p;n===J&&Xe();let _=n++;ze[_]=p,Be[_]=h,c+=g,m^=Math.imul(g,2654435761);let v=m^m>>>15,y=v&8190;{let t=-1;if(Ae[y]===v&&je[y]!==null&&je[y].length===g?t=y:Ae[y|1]===v&&je[y|1]!==null&&je[y|1].length===g&&(t=y|1),t>=0){let n=je[t],r=!0;for(let t=0;t<g;t++)if(n.charCodeAt(t)!==e.charCodeAt(p+t)){r=!1;break}if(r){Ve[_]=Me[t],He[_]=Ne[t],Ue[_]=Pe[t];continue}}}let b=p;if(B!==0){if(h-p<=B||!e.startsWith(te,p)){Ve[_]=Ge,Ie(y,e,p,h,v,Ge,0,0);continue}b=p+B}let x=0,S=0,C=-1,w=-1;for(let t=b;t<h;t++){let n=e.charCodeAt(t);if(x===0&&S===0){if(n===58){C=t;continue}if(n===47){w=t;continue}}n===91?x++:n===93?x--:n===40?S++:n===41&&S--}let T=C>=b?C+1:b,E=T,D=h,O=!1,k=0;D>E&&e.charCodeAt(D-1)===33?(O=!0,D--):D>E&&e.charCodeAt(E)===33&&(O=!0,E++,k=1);let A=-1;w>T&&(A=w+k,A>=D&&(A=-1));let M=E;D-E>1&&e.charCodeAt(E)===45&&(M=E+1);let P=0,F=0,I=0,L=-1,R=0;(l[0]>=0||N[0]===1)&&($e[0]=0,et[0]=M,R=1);let z=Ke,ee=0;for(let t=M;t<D;t++)if(t===A&&(z=F<I?Ke:P,ee=R),P!==Ke){let n=e.charCodeAt(t),r=-1;if(F<I)o.charCodeAt(F)===n?(F++,F===I&&(r=P=L)):P=Ke;else{let e=i[P],t=i[P+1],c=Ke;for(let i=e;i<t;i++){let e=a[i];if(o.charCodeAt(e)===n){a[i+1]-e===1?r=c=s[i]:(F=e+1,I=a[i+1],L=s[i],c=P);break}}P=c}if(r>=0&&(l[r]>=0||N[r]===1)&&t+1<D&&e.charCodeAt(t+1)===45){if(R===Ze){Ze*=2;let e=new Int32Array(Ze);e.set($e),$e=e;let t=new Int32Array(Ze);t.set(et),et=t}$e[R]=r,et[R]=t+2,R++}}A===D&&(z=F<I?Ke:P,ee=R);let V=F<I?Ke:P,H,U=!1;if(A>=0){if(U=!0,H=it(e,E,A,z,ee),H!==Ge&&H<r&&j[H]){let t=it(e,E,D,V,R);t!==Ge&&t!==H&&(H=t,U=!1)}else H===Ge&&(H=it(e,E,D,V,R),U=!1)}else H=it(e,E,D,V,R);let W=0,G=0;H===Ge?Ve[_]=Ge:(G=+!!U,W=b>=C?+!!O:ve(ye,e,b,C,+!!O,e=>Ce(e,O)),Ve[_]=H,Ue[_]=G,He[_]=W),Ie(y,e,p,h,v,H,W,G)}if(n===0)return``;if(n===1)return ze[0]===0&&Be[0]===t?e:e.slice(ze[0],Be[0]);if(n*k>Y){for(;n*k>Y;)Y<<=1,nt--;rt=new Float64Array(Y),X=new Int32Array(Y)}if(xe>=Oe||Te>=Oe)throw Error(`cn: too many distinct classes in one merge`);Z=Z+1|0,Z===0&&(tt.fill(0),X.fill(0),Z=1);let f=!1;for(let e=n-1;e>=0;e--){let t=Ve[e];if(t===Ge){Ye[e]=1;continue}let n=He[e];if(Q(n,t)===1)Ye[e]=0,f=!0;else if(Ye[e]=1,t<r){let r=D[t];if(r>=0)for(let e=b[r];e<b[r+1];e++)Q(n,x[e]);if(Ue[e]&1)for(let e=0;e<S.length;e++)S[e]===t&&Q(n,C[e])}}if(!f&&!u&&t===c+n-1)return e;let p=``,m=0;for(;m<n;){if(!Ye[m]){m++;continue}let t=ze[m],r=Be[m],i=m+1;for(;i<n&&Ye[i]&&ze[i]===r+1&&e.charCodeAt(r)===32;)r=Be[i],i++;p.length>0&&(p+=` `),p+=e.slice(t,r),m=i}return p},ot=16384,st=new Int32Array(ot*2),ct=0,$=1,lt=Object.create(null),ut=Object.create(null),dt=new Map,ft=new Map,pt=0,mt=0,ht=()=>{ct^=ot,$=$+1|0,mt=0},gt=e=>{let t=lt[e];if(t!==void 0)return t;let n=Je(e,0,e.length),r=(n&16383)+ct,i=st[r]===(n^$)||st[r^ot]===(n^$-1);return i&&(t=ut[e],t!==void 0)?(lt[e]=t,t):(t=at(e),i?(lt[e]=t,++pt>z&&(pt=0,ut=lt,lt=Object.create(null),ht())):(st[r]=n^$,++mt>ot&&ht()),t)},_t=e=>{let t=dt.get(e);if(t!==void 0)return t;let n=Je(e,0,e.length),r=(n&16383)+ct,i=st[r]===(n^$)||st[r^ot]===(n^$-1);return i&&(t=ft.get(e),t!==void 0)?(dt.set(e,t),t):(t=at(e),i?(dt.set(e,t),++pt>z&&(pt=0,ft=dt,dt=new Map,ht())):(st[r]=n^$,++mt>ot&&ht()),t)},vt=e=>{let t=Je(e,0,e.length),n=(t&16383)+ct;return st[n]===(t^$)||st[n^ot]===(t^$-1)||(st[n]=t^$,++mt>ot&&ht(),!1)},yt=z===0?at:We?e=>{let t=dt.get(e);return t===void 0?_t(e):t}:gt;return{merge:function(){return arguments.length===1&&typeof arguments[0]==`string`?yt(arguments[0]):yt(Qe.apply(null,arguments))},mergeString:yt,seenBefore:z===0?()=>!1:vt,mergeUncached:at}},Xe=(e,t)=>{if(!e)return``;if(typeof e==`string`)return e;let n=``;if(typeof e.length==`number`&&(!t||Array.isArray(e))){let r=e;for(let e=0;e<r.length;e++){let i=r[e];if(!i)continue;let a=typeof i==`string`?i:Xe(i,t);a&&(n&&(n+=` `),n+=a)}return n}if(t){if(typeof e==`number`)return``+e;if(typeof e==`object`)for(let t in e)e[t]&&(n&&(n+=` `),n+=t)}return n},Ze=(e,t)=>{let n=``;for(let r=0;r<e.length;r++){let i=e[r];if(!i)continue;let a=typeof i==`string`?i:Xe(i,t);a&&(n&&(n+=` `),n+=a)}return n},Qe=function(){return Ze(arguments,!1)},$e=256,et=16,tt=1024,Y=4096,nt=(e,t)=>{let n=t===void 0?()=>!0:t.seenBefore,r=t===void 0?e:t.mergeUncached,i=new Map,a=new Map,o=0,s=null,c=null,l=[],u=[],d=0,f=(t,n,r)=>{c===null&&(c=Array(Y).fill(``),l=Array(Y).fill(``),u=Array(Y).fill(``));let i=Je(t,0,t.length)&4094;if(c[i]===t&&l[i]===n)return u[i];if(c[i|1]===t&&l[i|1]===n)return u[i|1];let a=e(r?n+` `+t:t),o=c[i]===``?i:i|(c[i|1]===``?1:d++&1);return c[o]=t,l[o]=n,u[o]=a,a},p=(e,t,n,r)=>{let i=0;if(t){if(t!==e.a0)return!1;i=1}if(n){if(n!==(i===0?e.a0:e.a1))return!1;i++}if(r){if(r!==(i===0?e.a0:i===1?e.a1:e.a2))return!1;i++}return i===e.t},m=(e,t)=>{let n=e.a,r=0;for(let e=0;e<t.length;e++){let i=t[e];if(i){if(i!==n[r])return!1;r++}}return r===e.t},h=(t,c)=>{let l=t.length,u=s===null?null:s.n;if(!c){if(u!==null&&m(u,t))return s=u,u.r;if(s!==null&&s!==u&&m(s,t))return s.r}let d=``,p=-1,h=0,g=!1;for(let e=0;e<l;e++){let n=t[e];if(n){if(typeof n!=`string`){if(n=t[e]=Xe(n,!0),!n)continue;g=!0}p<0&&(d=n,p=e),h++}}if(h===0)return``;if(h===1)return e(d);if(g){if(u!==null&&m(u,t))return s=u,u.r;if(s!==null&&s!==u&&m(s,t))return s.r}let _=i.get(d);_===void 0&&(_=a.get(d),_!==void 0&&i.set(d,_));let v=null;if(_!==void 0){if(_.skip>0){_.skip--,s=null;let e=d;for(let n=p+1;n<l;n++){let r=t[n];r&&(e+=` `+r)}return f(e,``,!1)}let e=_.e;outer:for(let n=0;n<e.length;n++){let r=e[n];if(r.t!==h)continue;let i=r.a,a=1;for(let e=p+1;e<l;e++){let n=t[e];if(n&&n!==i[a++])continue outer}v=r;break}v!==null&&(_.miss=0)}if(v===null){let s=d,c=[d];for(let e=p+1;e<l;e++){let n=t[e];n&&(s+=` `+n,c.push(n))}if(!n(s))return r(s);v={r:e(s),t:c.length,a0:c[0],a1:c[1],a2:c[2]??``,a:c,n:null},_===void 0?i.set(d,_={e:[],miss:0,skip:0,at:0}):++_.miss>et&&(_.miss=et,_.skip=tt,_.e.length=0,_.at=0);let u=_.e;u.length<$e?u.push(v):(u[_.at]=v,_.at=_.at+1&255),++o>1e3&&(o=0,a=i,i=new Map)}return s!==null&&s!==v&&(s.n=v),s=v,v.r},g=t=>Array.isArray(t)?h(t.slice(),!1):e(Xe(t,!0));return function(t,n,r){let a=arguments.length;if((a|1)==3){let e=s;if(e!==null){let i=e.n;if(i!==null&&p(i,t,n,r))return s=i,i.r;if(e!==i&&p(e,t,n,r))return e.r}if(a===2&&typeof n==`string`&&n!==``){let e=i.get(t);if(e!==void 0&&e.skip>0)return e.skip--,s=null,f(n,t,!0)}return h([t,n,r],!0)}if(a===1)return typeof t==`string`?e(t):g(t);let o=s;if(o!==null){let e=o.n;if(e!==null){let t=e.a,n=0,r=!0;for(let e=0;e<a;e++){let i=arguments[e];if(i){if(i!==t[n]){r=!1;break}n++}}if(r&&n===e.t)return s=e,e.r}if(o!==e){let e=o.a,t=0,n=!0;for(let r=0;r<a;r++){let i=arguments[r];if(i){if(i!==e[t]){n=!1;break}t++}}if(n&&t===o.t)return o.r}}let c=[];for(let e=0;e<a;e++)c.push(arguments[e]);return h(c,!0)}},rt=Ye(Ue),X=nt(rt.mergeString,rt);rt.merge;var Z=e(i(),1),Q=e(m(),1),it=()=>{throw Error("You need to wrap your application inside `FrameworkProvider`.")},at=(0,Z.createContext)({useParams:it,useRouter:it,usePathname:it});function ot(e){let{Image:t}=(0,Z.use)(at);if(!t){let{src:t,alt:n,priority:r,...i}=e;return(0,Q.jsx)(`img`,{alt:n,src:t,fetchPriority:r?`high`:`auto`,...i})}return(0,Q.jsx)(t,{...e})}function st(e){let{Link:t}=(0,Z.use)(at);if(!t){let{href:t,prefetch:n,...r}=e;return(0,Q.jsx)(`a`,{href:t,...r})}return(0,Q.jsx)(t,{...e})}function ct({ref:e,href:t=`#`,external:n=!!(t.match(/^\w+:/)||t.startsWith(`//`)),prefetch:r,children:i,...a}){return n?(0,Q.jsx)(`a`,{ref:e,href:t,rel:`noreferrer noopener`,target:`_blank`,...a,children:i}):(0,Q.jsx)(st,{ref:e,href:t,prefetch:r,...a,children:i})}function $(e){return(0,Q.jsx)(`div`,{...e,className:X(`grid grid-cols-2 gap-3 @container`,e.className),children:e.children})}function lt({icon:e,title:t,description:n,...r}){let i=r.href?ct:`div`;return(0,Q.jsxs)(i,{...r,"data-card":!0,className:X(`block rounded-xl border bg-fd-card p-4 text-fd-card-foreground transition-colors @max-lg:col-span-full`,r.href&&`hover:bg-fd-accent/80`,r.className),children:[e?(0,Q.jsx)(`div`,{className:`not-prose mb-2 w-fit shadow-md rounded-lg border bg-fd-muted p-1.5 text-fd-muted-foreground [&_svg]:size-4`,children:e}):null,(0,Q.jsx)(`h3`,{className:`not-prose mb-1 text-sm font-medium`,children:t}),n?(0,Q.jsx)(`p`,{className:`my-0! text-sm text-fd-muted-foreground`,children:n}):null,(0,Q.jsx)(`div`,{className:`text-sm text-fd-muted-foreground prose-no-margin empty:hidden`,children:r.children})]})}var ut=`size-5 -me-0.5 fill-(--callout-color) text-fd-card`;function dt({children:e,title:t,...n}){return(0,Q.jsxs)(pt,{...n,children:[t&&(0,Q.jsx)(mt,{children:t}),(0,Q.jsx)(ht,{children:e})]})}function ft(e){return e===`warn`?`warning`:e===`tip`?`info`:e}function pt({type:e=`info`,icon:t,children:n,className:r,style:i,...a}){let o=ft(e);return(0,Q.jsxs)(`div`,{className:X(`flex gap-2 my-4 rounded-xl border bg-fd-card p-3 ps-1 text-sm text-fd-card-foreground`,r),style:{"--callout-color":`var(--color-fd-${o}, var(--color-fd-muted))`,...i},...a,children:[(0,Q.jsx)(`div`,{role:`none`,className:`w-0.5 bg-(--callout-color)/50 rounded-sm`}),t??{info:(0,Q.jsx)(le,{className:ut}),warning:(0,Q.jsx)(B,{className:ut}),error:(0,Q.jsx)(K,{className:ut}),success:(0,Q.jsx)(W,{className:ut}),idea:(0,Q.jsx)(de,{className:`size-5 -me-0.5 fill-(--callout-color) text-(--callout-color)`})}[o],(0,Q.jsx)(`div`,{className:`flex flex-col gap-2 min-w-0 flex-1`,children:n})]})}function mt({children:e,className:t,...n}){return(0,Q.jsx)(`p`,{className:X(`font-medium my-0!`,t),...n,children:e})}function ht({children:e,className:t,...n}){return(0,Q.jsx)(`div`,{className:X(`text-fd-muted-foreground prose-no-margin empty:hidden`,t),...n,children:e})}var gt=`bg-fd-primary text-fd-primary-foreground hover:bg-fd-primary/80`,_t={default:gt,primary:gt,outline:`border hover:bg-fd-accent hover:text-fd-accent-foreground`,ghost:`hover:bg-fd-accent hover:text-fd-accent-foreground`,secondary:`border bg-fd-secondary text-fd-secondary-foreground hover:bg-fd-accent hover:text-fd-accent-foreground`},vt=T(`inline-flex items-center justify-center rounded-md p-2 text-sm font-medium transition-colors duration-100 disabled:pointer-events-none disabled:opacity-50 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-fd-ring`,{variants:{variant:_t,color:_t,size:{sm:`gap-1 px-2 py-1.5 text-xs`,icon:`p-1.5 [&_svg]:size-5`,"icon-sm":`p-1.5 [&_svg]:size-4.5`,"icon-xs":`p-1 [&_svg]:size-4`}}});function yt(e){let[t,n]=(0,Z.useState)(!1),r=(0,Z.useRef)(e),i=(0,Z.useRef)(null);r.current=e;let a=(0,Z.useCallback)(()=>{i.current&&window.clearTimeout(i.current),Promise.resolve(r.current()).then(()=>{n(!0),i.current=window.setTimeout(()=>{n(!1)},1500)})},[]);return(0,Z.useEffect)(()=>()=>{i.current&&window.clearTimeout(i.current)},[]),[t,a]}var bt=(0,Z.createContext)({}),xt=/\\?\{([^}]+)\}/g;function St({note:e}={}){let t=(0,Z.use)(bt);return(0,Z.useMemo)(()=>Ct(t,{note:e}),[t,e])}function Ct(e,{note:t}={}){let n=(n,r={})=>{let{note:i,variables:a}=r,o=[];t&&o.push(t),i&&o.push(i);let s=e[wt(n,o)]??n;return a&&(s=s.replaceAll(xt,(e,t)=>e[0]===`\\`?e.slice(1):t in a?a[t]:e)),s};return n.jsx=(n,r={})=>{let{note:i,variables:a,tags:o}=r,s=[];t&&s.push(t),i&&s.push(i);let c=e[wt(n,s)]??n;return o?Dt(c,a,o):a?Tt(c,a):c},n.translations=e,n}function wt(e,t){return e+t.map(e=>`(${e})`).join(``)}function Tt(e,t){let n=0,r=[];for(let i of e.matchAll(xt)){let[a,o]=i;n<i.index&&r.push(e.slice(n,i.index)),n=i.index+a.length,a[0]===`\\`?r.push(a.slice(1)):o in t?r.push(kt(t[o],n)):r.push(a)}return r.push(e.slice(n)),r}var Et=/\\?<([^>]+)>/g;function Dt(e,t,n){let r=[{children:[]}],i=0,a=()=>{let e=r.pop();r[r.length-1].children.push(kt(e.tag&&n[e.tag]?Ot(n[e.tag],e.children):e.children,i))};for(let o of e.matchAll(Et)){let s=r[r.length-1],[c,l]=o;if(i<o.index){let n=e.slice(i,o.index);s.children.push(t?Tt(n,t):n)}if(i=o.index+c.length,c[0]===`\\`){let e=c.slice(1);s.children.push(t?Tt(e,t):e)}else if(l[0]===`/`){let e=l.slice(1);s.tag===e?a():s.children.push(t?Tt(c,t):c)}else if(l.at(-1)===`/`){let e=l.slice(0,-1);n[e]&&s.children.push(kt(Ot(n[e]),i))}else r.push({children:[],tag:l})}if(i<e.length){let n=e.slice(i);r[r.length-1].children.push(t?Tt(n,t):n)}for(;r.length>1;)a();return r[0].children}function Ot(e,t){return(0,Z.isValidElement)(e)?t===void 0?e:(0,Z.cloneElement)(e,void 0,t):e(t)}function kt(e,t){return(0,Z.isValidElement)(e)?(0,Z.cloneElement)(e,{key:t}):e}function At({as:e,...t}){let n=e??`h1`,r=St({note:`heading anchor`}),[i,a]=yt(()=>{if(!t.id)return;let e=new URL(window.location.href);return e.hash=t.id,navigator.clipboard.writeText(e.href)});return t.id?(0,Q.jsxs)(n,{...t,className:X(`group/heading flex scroll-m-28 flex-row items-center gap-1`,t.className),children:[(0,Q.jsx)(`a`,{"data-card":``,href:`#${t.id}`,children:t.children}),(0,Q.jsxs)(`button`,{"aria-live":`polite`,className:X(vt({variant:`ghost`,size:`icon-xs`}),`not-prose shrink-0 text-fd-muted-foreground opacity-0 transition-opacity group-hover/heading:opacity-100 focus-visible:opacity-100`),onClick:a,children:[i?(0,Q.jsx)(ae,{}):(0,Q.jsx)(pe,{}),(0,Q.jsx)(`span`,{className:`sr-only`,children:r(i?`Copied Anchor Link`:`Copy Anchor Link`,{note:`aria-label`})})]})]}):(0,Q.jsx)(n,{...t})}function jt(...e){return t=>{e.forEach(e=>{typeof e==`function`?e(t):e&&(e.current=t)})}}function Mt(){let e=window.location.hash.slice(1);try{return decodeURIComponent(e)}catch{return e}}var Nt=Z.createContext(void 0);function Pt(){let e=Z.useContext(Nt);if(e===void 0)throw Error(P(64));return e}var Ft=`data-activation-direction`,It={tabActivationDirection:e=>({[Ft]:e})},Lt=Z.forwardRef(function(e,t){let{className:n,defaultValue:i=0,onValueChange:a,orientation:s=`horizontal`,render:c,value:l,style:u,...d}=e,f=e.defaultValue!==void 0,p=Z.useRef([]),[m,h]=Z.useState(()=>new Map),[_,v]=y({controlled:l,default:i,name:`Tabs`,state:`value`}),S=l!==void 0,[C,w]=Z.useState(()=>new Map),T=Z.useRef(void 0),E=Z.useCallback(e=>Rt(C,e),[C]),[O,k]=Z.useState(()=>({previousValue:_,tabActivationDirection:`none`})),{previousValue:A,tabActivationDirection:j}=O,M=j,N=!1;A!==_&&(M=zt(A,_,s,C),N=A!=null&&_!=null&&E(_)==null);let P=N?A:_,I=A!==P||j!==M;b(()=>{I&&k({previousValue:P,tabActivationDirection:M})},[P,I,M]);let L=D((e,t)=>{t.activationDirection=zt(_,e,s,C),a?.(e,t),t.isCanceled||v(()=>e)}),R=D((e,t)=>{a?.(e,r(t,void 0,void 0,{activationDirection:`none`}))}),ee=D((e,t)=>(h(n=>{let r=new Map(n);return r.set(e,t),r}),()=>{h(n=>{if(n.get(e)!==t)return n;let r=new Map(n);return r.delete(e),r})})),te=Z.useCallback(e=>m.get(e),[m]),B=Z.useCallback(e=>{for(let t of C.values())if(e===t.value)return t.id},[C]),V=Z.useMemo(()=>({getTabElementBySelectedValue:E,getTabIdByPanelValue:B,getTabPanelIdByValue:te,onValueChange:L,orientation:s,registerMountedTabPanel:ee,setTabMap:w,tabActivationDirection:M,value:_}),[E,B,te,L,s,ee,w,M,_]),H=Z.useMemo(()=>{for(let e of C.values())if(e.value===_)return e},[C,_]),U=Z.useMemo(()=>{for(let e of C.values())if(!e.disabled)return e.value},[C]),W=Z.useRef(!f),G=Z.useRef(i),K=Z.useRef(f),ne=Z.useRef(!1);b(()=>{if(S)return;function e(e,t){v(()=>e),k({previousValue:e,tabActivationDirection:`none`}),R(e,t),W.current=!1}if(C.size===0){ne.current&&_!==null&&!T.current?.isConnected&&e(null,z);return}ne.current=!0,T.current=C.keys().next().value;let t=H?.disabled,n=H==null&&_!==null;if(!t&&_===G.current&&(K.current=!1),K.current&&t&&_===G.current)return;let r=W.current;if(t||n){let n=U??null;if(_===n){W.current=!1;return}let i=z;r?i=x:t&&(i=F),e(n,i)}else r&&H!=null&&(R(_,x),W.current=!1)},[U,S,R,H,v,C,_]);let re=o(`div`,e,{state:{orientation:s,tabActivationDirection:M},ref:t,props:d,stateAttributesMapping:It});return(0,Q.jsx)(Nt.Provider,{value:V,children:(0,Q.jsx)(g,{elementsRef:p,children:re})})});function Rt(e,t){for(let[n,r]of e.entries())if(t===r.value)return n;return null}function zt(e,t,n,r){if(e==null||t==null)return`none`;let[i,a,o]=n===`horizontal`?[`left`,`left`,`right`]:[`top`,`up`,`down`],s=Rt(r,e),c=Rt(r,t);if(s==null||c==null)return s!==c&&(typeof e==`number`||typeof e==`string`)&&typeof e==typeof t?t>e?o:a:`none`;let l=s.getBoundingClientRect()[i],u=c.getBoundingClientRect()[i];return u<l?a:u>l?o:`none`}var Bt=Z.createContext(void 0);function Vt(){let e=Z.useContext(Bt);if(e===void 0)throw Error(P(65));return e}var Ht=Z.forwardRef(function(e,n){let{className:i,disabled:a=!1,render:s,value:c,id:l,nativeButton:f=!0,style:p,...m}=e,{value:h,getTabPanelIdByValue:g,onValueChange:v,orientation:y,tabActivationDirection:x}=Pt(),{activateOnFocus:S,registerTabResizeObserverElement:C,tabsListElement:w}=Vt(),{highlightedIndex:T,onHighlightedIndexChange:E}=A(),M=d(l),N=Z.useMemo(()=>({disabled:a,id:M,value:c}),[a,M,c]),{compositeProps:P,compositeRef:F,index:I}=k({metadata:N}),L=c===h,R=Z.useRef(!1),z=Z.useRef(null),ee=D(e=>{z.current?.(),z.current=e?C(e):null});b(()=>{if(R.current){R.current=!1;return}if(!(L&&I>-1&&T!==I))return;let e=w;if(e!=null){let n=u(_(e));if(n&&t(e,n))return}a||E(I)},[L,I,T,E,a,w]);let{getButtonProps:B,buttonRef:V}=j({disabled:a,native:f,focusableWhenDisabled:!0}),H=g(c),U=Z.useRef(!1),W=Z.useRef(!1);function G(e){v(c,r(te,e.nativeEvent,void 0,{activationDirection:`none`}))}function K(e){L||a||G(e)}function ne(e){L||a||S&&(!U.current||W.current)&&G(e)}function re(e){if(L||a)return;U.current=!0,W.current=e.button===0;let t=_(e.currentTarget);function n(){U.current=!1,W.current=!1,t.removeEventListener(`pointerup`,n),t.removeEventListener(`pointercancel`,n)}t.addEventListener(`pointerup`,n),t.addEventListener(`pointercancel`,n)}return o(`button`,e,{state:{disabled:a,active:L,orientation:y,tabActivationDirection:x},ref:[n,V,F,ee],props:[P,{role:`tab`,"aria-controls":H,"aria-selected":L,id:M,onClick:K,onFocus:ne,onPointerDown:re,[O]:L?``:void 0,onKeyDownCapture(){R.current=!0}},m,B],stateAttributesMapping:It})}),Ut=`data-index`,Wt={...It,...E},Gt=Z.forwardRef(function(e,t){let{className:r,value:i,render:a,keepMounted:s=!1,style:c,...l}=e,{value:u,getTabIdByPanelValue:p,orientation:m,tabActivationDirection:h,registerMountedTabPanel:g}=Pt(),_=d(),{ref:y,index:x}=N(),S=i===u,{mounted:C,transitionStatus:w,setMounted:T}=f(S),E=!C,D=p(i),O={hidden:E,orientation:m,tabActivationDirection:h,transitionStatus:w},k=Z.useRef(null),A=o(`div`,e,{state:O,ref:[t,y,k],props:[{"aria-labelledby":D,hidden:E,id:_,role:`tabpanel`,tabIndex:S?0:-1,inert:v(!S),[Ut]:x},l],stateAttributesMapping:Wt});return n({open:S,ref:k,onComplete(){S||T(!1)}}),b(()=>{if(!(_==null||E&&!s))return g(i,_)},[E,s,i,_,g]),s||C?A:null}),Kt=Z.forwardRef(function(e,t){let{activateOnFocus:n=!1,className:r,loopFocus:i=!0,render:a,style:o,...s}=e,{orientation:l,setTabMap:u,tabActivationDirection:d}=Pt(),[f,p]=Z.useState(0),[m,h]=Z.useState(null),g=Z.useRef(new Set),_=Z.useRef(new Set),v=Z.useRef(null);b(()=>{if(typeof ResizeObserver>`u`)return;let e=new ResizeObserver(()=>{g.current.forEach(e=>{e()})});return v.current=e,m&&e.observe(m),_.current.forEach(t=>{e.observe(t)}),()=>{e.disconnect(),v.current=null}},[m]);let y=D(e=>(g.current.add(e),()=>{g.current.delete(e)})),x=D(e=>(_.current.add(e),v.current?.observe(e),()=>{_.current.delete(e),v.current?.unobserve(e)})),S={orientation:l,tabActivationDirection:d},C={"aria-orientation":l===`vertical`?`vertical`:void 0,role:`tablist`},w=Z.useMemo(()=>({activateOnFocus:n,registerIndicatorUpdateListener:y,registerTabResizeObserverElement:x,tabsListElement:m}),[n,y,x,m]);return(0,Q.jsx)(Bt.Provider,{value:w,children:(0,Q.jsx)(I,{render:a,className:r,style:o,state:S,refs:[t,h],props:[C,s],stateAttributesMapping:It,highlightedIndex:f,enableHomeAndEndKeys:!0,loopFocus:i,orientation:l,onHighlightedIndexChange:p,onMapChange:u,disabledIndices:c})})}),qt=new Map,Jt=(0,Z.createContext)(null);function Yt(){let e=(0,Z.use)(Jt);if(!e)throw Error(`You must wrap your component in <Tabs>`);return e}var Xt=Kt;function Zt({value:e,ref:t,...n}){let{triggers:r}=Yt();return(0,Q.jsx)(Ht,{ref:jt(t,t=>{t?r.add(e):r.delete(e)}),value:e,...n})}function Qt({ref:e,groupId:t,persist:n=!1,updateAnchor:r=!1,defaultValue:i,value:a,onValueChange:o,...s}){let c=(0,Z.useRef)(null),l=(0,Z.useMemo)(()=>new Map,[]),u=(0,Z.useMemo)(()=>new Map,[]),d=(0,Z.useMemo)(()=>new Set,[]),[f,p]=a===void 0?(0,Z.useState)(i):[a,e=>o?.(e)],m=(0,Z.useEffectEvent)(e=>{d.has(e)&&p(e)}),h=(0,Z.useEffectEvent)(()=>{let e=Mt();if(!e)return;for(let[t,n]of l.entries())if(n===e){p(t),c.current?.scrollIntoView();return}let t=document.getElementById(e);if(t){for(let[e,n]of u.entries())if(n.contains(t)){p(e),requestAnimationFrame(()=>t.scrollIntoView());return}}});return(0,Z.useLayoutEffect)(()=>{if(!t)return;let e=sessionStorage.getItem(t);n&&(e??=localStorage.getItem(t)),e&&m(e);let r=qt.get(t)??new Set;return r.add(m),qt.set(t,r),()=>{r.delete(m)}},[t,n]),(0,Z.useLayoutEffect)(()=>(h(),window.addEventListener(`hashchange`,h),()=>window.removeEventListener(`hashchange`,h)),[]),(0,Q.jsx)(Lt,{ref:jt(e,c),value:f,onValueChange:e=>{if(r){let t=l.get(e);t&&window.history.replaceState(null,``,`#${t}`)}if(t){let r=qt.get(t);if(r)for(let t of r)t(e);sessionStorage.setItem(t,e),n&&localStorage.setItem(t,e)}else p(e)},...s,children:(0,Q.jsx)(Jt,{value:(0,Z.useMemo)(()=>({valueToIdMap:l,panels:u,triggers:d}),[l,u,d]),children:s.children})})}function $t({value:e,id:t,ref:n,...r}){let{valueToIdMap:i,panels:a}=Yt();return t&&i.set(e,t),(0,Q.jsx)(Gt,{ref:jt(n,t=>{t?a.set(e,t):a.delete(e)}),value:e,...r,children:r.children})}var en=(0,Z.createContext)(null);function tn(e){return(0,Q.jsx)(`pre`,{...e,className:X(`min-w-full w-max *:flex *:flex-col`,e.className),children:e.children})}function nn({ref:e,title:t,allowCopy:n=!0,keepBackground:r=!1,icon:i,viewportProps:a={},children:o,Actions:s=e=>(0,Q.jsx)(`div`,{...e,className:X(`empty:hidden`,e.className)}),...c}){let l=(0,Z.use)(en)!==null,u=(0,Z.useRef)(null);return n===`true`?n=!0:n===`false`&&(n=!1),(0,Q.jsxs)(`figure`,{ref:e,dir:`ltr`,...c,tabIndex:-1,className:X(l?`bg-fd-secondary -mx-px -mb-px last:rounded-b-xl`:`my-4 bg-fd-card rounded-xl`,r&&`bg-(--shiki-light-bg) dark:bg-(--shiki-dark-bg)`,`shiki relative border not-prose overflow-hidden text-sm`,c.className),children:[t?(0,Q.jsxs)(`div`,{className:`flex text-fd-muted-foreground items-center gap-2 h-9.5 border-b px-4`,children:[typeof i==`string`?(0,Q.jsx)(`div`,{className:`[&_svg]:size-3.5`,dangerouslySetInnerHTML:{__html:i}}):i,(0,Q.jsx)(`figcaption`,{className:`flex-1 truncate`,children:t}),s({className:`-me-2`,children:n&&(0,Q.jsx)(rn,{containerRef:u})})]}):s({className:`absolute top-2 right-2 z-2 backdrop-blur-lg rounded-lg text-fd-muted-foreground`,children:n&&(0,Q.jsx)(rn,{containerRef:u})}),(0,Q.jsx)(`div`,{ref:u,...a,tabIndex:0,className:X(`text-[0.8125rem] py-3.5 overflow-auto max-h-[600px] fd-scroll-container focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-fd-ring`,a.className),style:{"--padding-right":t?void 0:`calc(var(--spacing) * 8)`,counterSet:c[`data-line-numbers`]?`line ${Number(c[`data-line-numbers-start`]??1)-1}`:void 0,...a.style},children:o})]})}function rn({className:e,containerRef:t,...n}){let r=St({note:`code block`}),[i,a]=yt(()=>{let e=t.current?.getElementsByTagName(`pre`).item(0);if(!e)return;let n=e.cloneNode(!0);return n.querySelectorAll(`.nd-copy-ignore`).forEach(e=>{e.replaceWith(`
2
+ `)}),navigator.clipboard.writeText(n.textContent??``)});return(0,Q.jsxs)(`button`,{type:`button`,"data-checked":i||void 0,className:X(vt({className:`hover:text-fd-accent-foreground data-checked:text-fd-accent-foreground`,size:`icon-xs`}),e),"aria-live":`polite`,onClick:a,...n,children:[i?(0,Q.jsx)(h,{}):(0,Q.jsx)(re,{}),(0,Q.jsx)(`span`,{className:`sr-only`,children:r(i?`Copied Text`:`Copy Text`,{note:`aria-label`})})]})}function an({ref:e,className:t,...n}){let r=(0,Z.useRef)(null),i=(0,Z.use)(en)!==null;return(0,Q.jsx)(Qt,{ref:jt(r,e),...n,className:e=>X(`bg-fd-card rounded-xl border`,!i&&`my-4`,typeof t==`function`?t(e):t),children:(0,Q.jsx)(en,{value:(0,Z.useMemo)(()=>({containerRef:r,nested:i}),[i]),children:n.children})})}function on({className:e,...t}){return(0,Q.jsx)(Xt,{...t,className:t=>X(`flex flex-row px-2 overflow-x-auto text-fd-muted-foreground`,typeof e==`function`?e(t):e),children:t.children})}function sn({children:e,className:t,...n}){return(0,Q.jsxs)(Zt,{...n,className:e=>X(`relative group inline-flex text-sm font-medium text-nowrap items-center transition-colors gap-2 px-2 py-1.5 [&_svg]:size-3.5`,e.active?`text-fd-primary`:`hover:text-fd-accent-foreground`,typeof t==`function`?t(e):t),children:[(0,Q.jsx)(`div`,{className:`absolute inset-x-2 bottom-0 h-px group-data-active:bg-fd-primary`}),e]})}function cn(e){return(0,Q.jsx)($t,{...e})}function ln(e){return(0,Q.jsx)(ot,{sizes:`(max-width: 768px) 100vw, (max-width: 1200px) 70vw, 900px`,...e,className:X(`rounded-lg`,e.className)})}function un(e){return(0,Q.jsx)(`div`,{className:`relative overflow-auto prose-no-margin my-6`,tabIndex:0,children:(0,Q.jsx)(`table`,{...e})})}var dn={CodeBlockTab:cn,CodeBlockTabs:an,CodeBlockTabsList:on,CodeBlockTabsTrigger:sn,pre:e=>(0,Q.jsx)(nn,{...e,children:(0,Q.jsx)(tn,{children:e.children})}),Card:lt,Cards:$,a:ct,img:ln,h1:e=>(0,Q.jsx)(At,{as:`h1`,...e}),h2:e=>(0,Q.jsx)(At,{as:`h2`,...e}),h3:e=>(0,Q.jsx)(At,{as:`h3`,...e}),h4:e=>(0,Q.jsx)(At,{as:`h4`,...e}),h5:e=>(0,Q.jsx)(At,{as:`h5`,...e}),h6:e=>(0,Q.jsx)(At,{as:`h6`,...e}),table:un,Callout:dt,CalloutContainer:pt,CalloutTitle:mt,CalloutDescription:ht};function fn(e){let{open:t,defaultOpen:n=!1,onOpenChange:i,disabled:a}=e,[o,s]=y({controlled:t,default:n,name:`Collapsible`,state:`open`}),{mounted:c,setMounted:l,transitionStatus:u}=f(o,!0,!0),m=d(),[h,g]=Z.useState(),_=h===null?void 0:h??m,v=D(e=>{let t=!o,n=r(p,e.nativeEvent);i(t,n),n.isCanceled||s(t)});return Z.useMemo(()=>({defaultPanelId:m,disabled:a,handleTrigger:v,mounted:c,open:o,panelId:_,setMounted:l,setOpen:s,setPanelIdState:g,transitionStatus:u}),[m,a,v,c,o,_,l,s,g,u])}var pn=Z.createContext(void 0);function mn(){let e=Z.useContext(pn);if(e===void 0)throw Error(P(15));return e}var hn=`data-open`,gn=`data-closed`,_n=w,vn=`data-panel-open`,yn={[hn]:``},bn={[gn]:``},xn={open(e){return e?{[vn]:``}:null}},Sn={open(e){return e?yn:bn}},Cn={...Sn,...E},wn=Z.forwardRef(function(e,t){let{render:n,className:r,defaultOpen:i=!1,disabled:a=!1,onOpenChange:s,open:c,style:l,...u}=e,d=D(s),f=fn({open:c,defaultOpen:i,onOpenChange:d,disabled:a}),p=Z.useMemo(()=>({open:f.open,disabled:f.disabled,transitionStatus:f.transitionStatus}),[f.open,f.disabled,f.transitionStatus]),m=Z.useMemo(()=>({...f,onOpenChange:d,state:p}),[f,d,p]),h=o(`div`,e,{state:p,ref:t,props:u,stateAttributesMapping:Cn});return(0,Q.jsx)(pn.Provider,{value:m,children:h})}),Tn={...xn,...E},En=Z.forwardRef(function(e,t){let{panelId:n,open:r,handleTrigger:i,state:a,disabled:s}=mn(),{className:c,disabled:l=s,render:u,nativeButton:d=!0,style:f,...p}=e,{getButtonProps:m,buttonRef:h}=j({disabled:l,native:d});return o(`button`,e,{state:a,ref:[t,h],props:[{"aria-controls":r?n:void 0,"aria-expanded":r,onClick:i},p,m],stateAttributesMapping:Tn})}),Dn={height:void 0,width:void 0};function On(e){let{externalRef:t,hiddenUntilFound:i,id:a,keepMounted:o,mounted:s,onOpenChange:c,open:u,setMounted:d,setOpen:f,transitionStatus:p}=e,m=Z.useRef(null),h=Z.useRef(null),[g,_]=Z.useState(Dn),v=Z.useRef(Dn),y=Z.useRef(!1),x=Z.useRef(u),w=Z.useRef(!1),[T,E]=Z.useState(!1),O=Z.useRef(null),k=l(t,m),A=M(u),j=ee(m),N=!u&&!s,P=T?`idle`:p,F=u&&(x.current||w.current),I=!u&&s&&h.current===`css-animation`&&g.height===void 0&&g.width===void 0?v.current:g,R=i&&N&&h.current!==`css-animation`,z=D((e,t=!0)=>{t&&(v.current=e),_(e)}),B=D(()=>{O.current?.(),O.current=null}),V=D(e=>{B(),O.current=()=>{O.current=null,e()}}),H=D(()=>{u&&s&&h.current===`css-animation`&&(w.current=!0)});b(()=>{T&&p!==`starting`&&E(!1)},[T,p]),Z.useEffect(()=>()=>{H(),B()},[H,B]),b(()=>{u||(x.current=!1,w.current=!1);let e=m.current;if(!e)return;!u&&O.current&&B();let t=An(e,F);if(h.current=t,u&&p===`idle`&&x.current&&t===`css-animation`){v.current=kn(e);return}if(u&&p===`starting`){let n=y.current;if(y.current=!1,t===`none`){z(kn(e)),E(!0);return}if(t===`css-transition`){let t=Nn(e);if(z(kn(e)),!n)return t;let r=Mn(e,`transition-duration`,`0s`);return V(r),E(!0),t}z(kn(e));let r=Mn(e,`animation-name`,`none`);if(!n){r();return}let i=Mn(e,`animation-duration`,`0s`);r(),V(i),E(!0);return}if(!u&&s&&(p===`idle`||p===`starting`)){if(t===`none`){z(Dn,!1),d(!1);return}z(kn(e));return}if(p!==`ending`)return;if(t===`none`){d(!1);return}let n=kn(e);n.height>0||n.width>0?(z(n),t===`css-animation`&&Mn(e,`animation-name`,`none`)()):d(!1)},[s,u,B,z,d,V,F,p]),n({enabled:u&&s&&P===`idle`,open:!0,ref:m,onComplete(){u&&z(Dn,!1)}}),Z.useEffect(()=>{if(u||!s||P!==`ending`)return;if(!m.current){d(!1),z(Dn,!1);return}let e=new AbortController,t=-1;function n(){A.current||(d(!1),z(Dn,!1))}return t=L.request(()=>{j(n,e.signal)}),()=>{L.cancel(t),e.abort()}},[A,s,u,P,j,z,d]),b(()=>{let e=m.current;e&&i&&N&&e.setAttribute(`hidden`,`until-found`)},[N,i]),Z.useEffect(function(){let e=m.current;if(!e)return;let t=S.create(),n=-1,i=(r,i)=>{t.start(0,()=>{A.current||(n=L.request(()=>{A.current||(r&&(y.current=!1),i&&e.setAttribute(_n,``),e.setAttribute(`hidden`,`until-found`))}))})},a=C(e,`beforematch`,t=>{let n=r(te,t);if(c(!0,n),n.isCanceled){i(!1,!1);return}y.current=!0;let a=e.hasAttribute(_n);e.removeAttribute(_n),f(!0),i(!0,a)});return()=>{t.clear(),L.cancel(n),a()}},[A,c,f]);let U=o||i||s||u;return{height:I.height,props:{...R?{[_n]:``}:void 0,hidden:N,id:a},ref:k,shouldPreventOpenAnimation:F,shouldRender:U,transitionStatus:P,width:I.width}}function kn(e){return{height:e.scrollHeight,width:e.scrollWidth}}function An(e,t){let n=R(e).getComputedStyle(e),r=(n.animationName.split(`,`).map(e=>e.trim()).some(e=>e!==``&&e!==`none`)||t)&&jn(n.animationDuration),i=jn(n.transitionDuration);return r&&i||i?`css-transition`:r?`css-animation`:`none`}function jn(e){return e.split(`,`).map(e=>e.trim()).some(e=>e!==``&&Number.parseFloat(e)>0)}function Mn(e,t,n){let r=e.style.getPropertyValue(t),i=e.style.getPropertyPriority(t);return e.style.setProperty(t,n),()=>{r===``?e.style.removeProperty(t):e.style.setProperty(t,r,i)}}function Nn(e){let t={"justify-content":e.style.justifyContent,"align-items":e.style.alignItems,"align-content":e.style.alignContent,"justify-items":e.style.justifyItems};Object.keys(t).forEach(t=>{e.style.setProperty(t,`initial`,`important`)});function n(){Object.entries(t).forEach(([t,n])=>{n===``?e.style.removeProperty(t):e.style.setProperty(t,n)})}let r=L.request(n);return()=>{L.cancel(r),n()}}var Pn=`--collapsible-panel-height`,Fn=`--collapsible-panel-width`,In=Z.forwardRef(function(e,t){let{className:n,hiddenUntilFound:r,keepMounted:i,render:a,id:c,style:l,...u}=e,{defaultPanelId:d,mounted:f,onOpenChange:p,open:m,setMounted:h,setPanelIdState:g,setOpen:_,state:v,transitionStatus:y}=mn(),x=r??!1,S=i??!1,C=c||void 0,w=C??d;b(()=>(g(e=>C??(e===null?void 0:e)),()=>{g(e=>e===C?null:e)}),[C,g]);let{height:T,props:E,ref:D,shouldPreventOpenAnimation:O,shouldRender:k,transitionStatus:A,width:j}=On({externalRef:t,hiddenUntilFound:x,id:w,keepMounted:S,mounted:f,onOpenChange:p,open:m,setMounted:h,setOpen:_,transitionStatus:y}),M={...v,transitionStatus:A},N=s(l,M),P=o(`div`,{...e,style:void 0},{state:M,ref:D,props:[E,{style:{[Pn]:T===void 0?`auto`:`${T}px`,[Fn]:j===void 0?`auto`:`${j}px`}},u,N?{style:N}:void 0,O?{style:{animationName:`none`}}:void 0],stateAttributesMapping:Cn});return k?P:null});export{vt as A,Pt as C,Ct as D,At as E,pe as F,se as I,re as L,ct as M,ot as N,St as O,X as P,H as R,It as S,jt as T,Kt as _,Sn as a,Vt as b,mn as c,nn as d,tn as f,Zt as g,Xt as h,wn as i,dt as j,yt as k,fn as l,$t as m,On as n,xn as o,Qt as p,En as r,pn as s,In as t,dn as u,Gt as v,Mt as w,Lt as x,Ht as y};
Binary file