@spikonado/sprocket 0.5.0 → 0.5.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.
- package/README.md +2 -39
- package/package.json +7 -7
- package/web/_app/immutable/{abnfDiagram-WEYOIA3C-C3x8ZmcM.js → abnfDiagram-WEYOIA3C-BXHej1hm.js} +3 -3
- package/web/_app/immutable/{apl-C2EDYOM2.js → apl-BFDX0lkW.js} +1 -1
- package/web/_app/immutable/{arc-hYiEw9Va.js → arc-Dfz1diSj.js} +3 -3
- package/web/_app/immutable/{architecture-WOLXFQ4H-Bviuq5x7.js → architecture-WOLXFQ4H-D0f9GDzo.js} +2 -2
- package/web/_app/immutable/{architectureDiagram-ZHVYKT53-_EbTY6Pv.js → architectureDiagram-ZHVYKT53-DpyW3pux.js} +3 -3
- package/web/_app/immutable/{array-CeqPvvle.js → array-Exz96UGC.js} +1 -1
- package/web/_app/immutable/{asciiarmor-CwCvnlQ3.js → asciiarmor-CQkMLgqd.js} +1 -1
- package/web/_app/immutable/{asn1-ud5b3xln.js → asn1-Px0sjJNn.js} +1 -1
- package/web/_app/immutable/{asterisk-CKG8tA3I.js → asterisk-28qdzJOw.js} +1 -1
- package/web/_app/immutable/{blockDiagram-RJAE7QA3-CEs7FyeO.js → blockDiagram-RJAE7QA3-CsLdlfFz.js} +3 -3
- package/web/_app/immutable/{board-3d-scene-DnJqq-jE.js → board-3d-scene-CY2n21rR.js} +1 -1
- package/web/_app/immutable/{brainfuck-c4Fp4FqY.js → brainfuck-Cc6D2B0Q.js} +1 -1
- package/web/_app/immutable/{c4Diagram-XDPPPE54-CpMdQoUq.js → c4Diagram-XDPPPE54-CCIePFJ-.js} +3 -3
- package/web/_app/immutable/{channel-OgIk0q08.js → channel-CAJpaMMc.js} +3 -3
- package/web/_app/immutable/{chunk-2E7WHVMD-dnqsElNS.js → chunk-2E7WHVMD-BxroWLug.js} +3 -3
- package/web/_app/immutable/{chunk-2Q5K7J3B-CTLSlH2g.js → chunk-2Q5K7J3B-DQjA6tWz.js} +3 -3
- package/web/_app/immutable/{chunk-4EMNKR2T-Cr9XVVCG.js → chunk-4EMNKR2T-Cs2YBHYi.js} +3 -3
- package/web/_app/immutable/{chunk-55XCU76K-BtssGenK.js → chunk-55XCU76K-Ry8rGGoX.js} +3 -3
- package/web/_app/immutable/{chunk-5VM5RSS4-Zhf8rlHL.js → chunk-5VM5RSS4-DXT2hS65.js} +3 -3
- package/web/_app/immutable/{chunk-7S6XSTFO-XgTTUsM4.js → chunk-7S6XSTFO-DzYzXXRC.js} +3 -3
- package/web/_app/immutable/{chunk-AQDTSKZB-Csih77qg.js → chunk-AQDTSKZB-BeH9OL_4.js} +3 -3
- package/web/_app/immutable/{chunk-DSNLSHJZ-JPbExg8v.js → chunk-DSNLSHJZ-Z2c5FQ0X.js} +4 -4
- package/web/_app/immutable/{chunk-DUW6YSOI-Dd9NlETm.js → chunk-DUW6YSOI-BgM5wGO1.js} +3 -3
- package/web/_app/immutable/{chunk-HAGFOTED-Cft9bbR2.js → chunk-HAGFOTED-BWSxyD0x.js} +3 -3
- package/web/_app/immutable/{chunk-HNE4Q36P-4ztqRnHq.js → chunk-HNE4Q36P-V0a6HNb3.js} +3 -3
- package/web/_app/immutable/{chunk-J5ZVWO5B-BGrSubY7.js → chunk-J5ZVWO5B-DGHL5OSG.js} +3 -3
- package/web/_app/immutable/{chunk-JWPE2WC7-CY94Lc80.js → chunk-JWPE2WC7-DQpfMfQX.js} +3 -3
- package/web/_app/immutable/{chunk-NGNAAXSQ-CyJeljag.js → chunk-NGNAAXSQ-DYyBEiFL.js} +1 -1
- package/web/_app/immutable/{chunk-NQOKRVIF-BjsUGOPU.js → chunk-NQOKRVIF-B1ophFJ_.js} +3 -3
- package/web/_app/immutable/{chunk-UHW7PFBP-BCCsgeU8.js → chunk-UHW7PFBP-MU9ZSSoB.js} +3 -3
- package/web/_app/immutable/{chunk-VQ5W62QI-BtglZZRt.js → chunk-VQ5W62QI-BXZATYyU.js} +3 -3
- package/web/_app/immutable/{chunk-WQQL4CDK-Cj0kob7n.js → chunk-WQQL4CDK-Cd2f3Uk0.js} +3 -3
- package/web/_app/immutable/{chunk-XXDRQBXY-H6Rf6fLc.js → chunk-XXDRQBXY-sfLglx2r.js} +3 -3
- package/web/_app/immutable/{chunk-Y2CYZVJY-DXA2PeAW.js → chunk-Y2CYZVJY-D6bkR5RO.js} +1 -1
- package/web/_app/immutable/{chunk-YZO67HFG-8JflISf3.js → chunk-YZO67HFG-Cnw1mvWd.js} +3 -3
- package/web/_app/immutable/{chunk-ZAUX2LTX-BrhE26vf.js → chunk-ZAUX2LTX-j7KLy1y6.js} +3 -3
- package/web/_app/immutable/{chunk-ZCHMQSOR-Ct_RPWAz.js → chunk-ZCHMQSOR-DrOnWujT.js} +4 -4
- package/web/_app/immutable/{classDiagram-v2-4MYWR3UA-DsEI2sQ1.js → classDiagram-v2-4MYWR3UA-Zi2wjE8K.js} +3 -3
- package/web/_app/immutable/{clike-BYeCKHFc.js → clike-CcjskLs7.js} +1 -1
- package/web/_app/immutable/{clojure-DcnVVhQl.js → clojure-zWBh4w6p.js} +1 -1
- package/web/_app/immutable/{cmake-Bokwf3jo.js → cmake-BdBpKV5C.js} +1 -1
- package/web/_app/immutable/{cobol-DijMFzKK.js → cobol-BL0Tycz5.js} +1 -1
- package/web/_app/immutable/{code-highlighting-client-DIK38_ih.js → code-highlighting-client-QF4f-BKb.js} +1 -1
- package/web/_app/immutable/{coffeescript-Bxcfbh0i.js → coffeescript-B6XOb3hT.js} +1 -1
- package/web/_app/immutable/{commonlisp-HPpahXb-.js → commonlisp-DWIv0x0Z.js} +1 -1
- package/web/_app/immutable/{cose-bilkent-JH36ORCC-D6s4RI_k.js → cose-bilkent-JH36ORCC-D8e5UX5C.js} +3 -3
- package/web/_app/immutable/{crystal-Bt3HCvkv.js → crystal-ALMBcrYj.js} +1 -1
- package/web/_app/immutable/{css-xJW0atu9.js → css-BRtJ1Zvn.js} +1 -1
- package/web/_app/immutable/{cynefin-EF2NZ3EQ-bjI9SC8P.js → cynefin-EF2NZ3EQ-D3jARZ4N.js} +2 -2
- package/web/_app/immutable/{cynefinDiagram-WF24UDRP-CTd5GUra.js → cynefinDiagram-WF24UDRP-CgTEDNRd.js} +3 -3
- package/web/_app/immutable/{cypher-DtLU3rSt.js → cypher-DOqBo_f4.js} +1 -1
- package/web/_app/immutable/{cytoscape.esm-CNpivYH3.js → cytoscape.esm-CumUML_k.js} +1 -1
- package/web/_app/immutable/{d-RSH32i0-.js → d-ptZmCSMP.js} +1 -1
- package/web/_app/immutable/{dagre-NK4GIZVX-CKUvpr6Y.js → dagre-NK4GIZVX-CgNZRbV5.js} +3 -3
- package/web/_app/immutable/{defaultLocale-DxB6SmwM.js → defaultLocale-D88G6ST9.js} +1 -1
- package/web/_app/immutable/{diagram-CBK3MWTC-Ckz9DP33.js → diagram-CBK3MWTC-Dr69_ZIc.js} +3 -3
- package/web/_app/immutable/{diagram-I5XIIV2D-DfCD7vSE.js → diagram-I5XIIV2D-JnTi53KQ.js} +3 -3
- package/web/_app/immutable/{diagram-ODIL2UCW-G4uSpxcg.js → diagram-ODIL2UCW-DRHOSCoh.js} +3 -3
- package/web/_app/immutable/{diagram-PFBEJUXE-DGQXqEbu.js → diagram-PFBEJUXE-DvARkAUb.js} +3 -3
- package/web/_app/immutable/{diagram-RJA3I4VV-C3t_o3t2.js → diagram-RJA3I4VV-C1--ZIRA.js} +3 -3
- package/web/_app/immutable/{diagram-TYUNFSNR-DTvVpQgV.js → diagram-TYUNFSNR-DP0AlFvG.js} +3 -3
- package/web/_app/immutable/{diff-4FfVxTA-.js → diff-BifsCmsx.js} +1 -1
- package/web/_app/immutable/{dist-C3g2pqIM.js → dist-B-0ThB2j.js} +2 -2
- package/web/_app/immutable/{dist-CqfsKLw7.js → dist-B6pXwwwf.js} +2 -2
- package/web/_app/immutable/{dist-CI0Xp9jw.js → dist-BnoAdmuj.js} +2 -2
- package/web/_app/immutable/{dist-sxCib8r5.js → dist-Bq50HA7K.js} +2 -2
- package/web/_app/immutable/{dist-CC6EYemP.js → dist-BvPnWJN9.js} +2 -2
- package/web/_app/immutable/{dist-DdKBxgSc.js → dist-BwsvGcA3.js} +2 -2
- package/web/_app/immutable/{dist-BuW-lwms.js → dist-C1DL8XJw.js} +2 -2
- package/web/_app/immutable/{dist-DPwCubp-.js → dist-CIdGn2eC.js} +2 -2
- package/web/_app/immutable/{dist-BUzt5rsA.js → dist-COm1gFp6.js} +2 -2
- package/web/_app/immutable/{dist-CMg4lkoC.js → dist-CPhjCpPj.js} +2 -2
- package/web/_app/immutable/{dist-sb492LiU.js → dist-Cc6EKTJS.js} +2 -2
- package/web/_app/immutable/{dist-B-5HZquH.js → dist-CdHr23be.js} +2 -2
- package/web/_app/immutable/{dist-BffFdbN6.js → dist-Ch7wN0ap.js} +2 -2
- package/web/_app/immutable/{dist-CAAlbTrj.js → dist-CrqTCabe.js} +2 -2
- package/web/_app/immutable/{dist-yTkBcYZx.js → dist-CwxlbiRg.js} +2 -2
- package/web/_app/immutable/{dist-QhK9sQ5Y.js → dist-D0Eg0Xpn.js} +2 -2
- package/web/_app/immutable/{dist-DnfeOv7I.js → dist-D47Es6mM.js} +2 -2
- package/web/_app/immutable/{dist-b7RK6STY.js → dist-D7SeKGRV.js} +2 -2
- package/web/_app/immutable/{dist-BnuxWsqd.js → dist-DIdWvw6O.js} +2 -2
- package/web/_app/immutable/{dist-DTGcaTDp.js → dist-DKtI3nnf.js} +2 -2
- package/web/_app/immutable/{dist-DR-H3EmS.js → dist-DQV_DjrP.js} +2 -2
- package/web/_app/immutable/{dist-C7NNhl_k.js → dist-DoZbgbiv.js} +2 -2
- package/web/_app/immutable/{dist-DuJbg3S7.js → dist-gU-1ReT6.js} +2 -2
- package/web/_app/immutable/{dockerfile-pV8uFSyT.js → dockerfile-BtrVkOAn.js} +2 -2
- package/web/_app/immutable/{dtd-BSeTEnUo.js → dtd-Cyx_R579.js} +1 -1
- package/web/_app/immutable/{dylan-BxbssTY3.js → dylan-CDdi0Wv5.js} +1 -1
- package/web/_app/immutable/{ebnf-DjTRAnBo.js → ebnf-C8DcHply.js} +1 -1
- package/web/_app/immutable/{ebnfDiagram-V4P3TTPT-DyNH07PJ.js → ebnfDiagram-V4P3TTPT-CodNk1Qz.js} +3 -3
- package/web/_app/immutable/{ecl-CoJF8vMc.js → ecl-BEXyvSX7.js} +1 -1
- package/web/_app/immutable/{eiffel-BjoaCCfc.js → eiffel-DDawbYVm.js} +1 -1
- package/web/_app/immutable/{elk-QONTBCTQ-iAFm062C.js → elk-QONTBCTQ-C_pQmLGi.js} +3 -3
- package/web/_app/immutable/{elm-Bkj78qkt.js → elm-C3-bXtQW.js} +1 -1
- package/web/_app/immutable/{erDiagram-KYQIGQAA-DDsxiPqj.js → erDiagram-KYQIGQAA-Cl5hrQfm.js} +3 -3
- package/web/_app/immutable/{erlang-D59wkOqj.js → erlang-CZ_ddMf1.js} +1 -1
- package/web/_app/immutable/{eventmodeling-K75KTNOO-CPqynPrx.js → eventmodeling-K75KTNOO-kuWwx7J_.js} +2 -2
- package/web/_app/immutable/{factor-Bt-zIwaB.js → factor-XLG2s_97.js} +2 -2
- package/web/_app/immutable/{fcl-Su3oFFGy.js → fcl-DU2EqM5m.js} +1 -1
- package/web/_app/immutable/flowDiagram-IUGLLWBU-CI9lrszH.js +3 -0
- package/web/_app/immutable/{forth-DPT4wJ0u.js → forth-BtCTTAR7.js} +1 -1
- package/web/_app/immutable/{fortran-B5ZewhTs.js → fortran-CmaLbEVV.js} +1 -1
- package/web/_app/immutable/{ganttDiagram-R7GPNTJY-CHgRcDA7.js → ganttDiagram-R7GPNTJY-CRzXGdKW.js} +3 -3
- package/web/_app/immutable/{gas-DolN316C.js → gas-C4y07Z0c.js} +1 -1
- package/web/_app/immutable/{gherkin-9ADRv3F4.js → gherkin-nX01VV9q.js} +1 -1
- package/web/_app/immutable/{gitGraph-VSP46ZUC-CiPnRLSI.js → gitGraph-VSP46ZUC-BRX_giiU.js} +2 -2
- package/web/_app/immutable/{gitGraphDiagram-PDYL7XHY-Ca50uar7.js → gitGraphDiagram-PDYL7XHY-BEV5g024.js} +3 -3
- package/web/_app/immutable/{graphlib-DLjMBfjO.js → graphlib-Dj46vQQK.js} +1 -1
- package/web/_app/immutable/{groovy-B3aKkvex.js → groovy-fVNFdqe3.js} +1 -1
- package/web/_app/immutable/{haskell-M2ez575P.js → haskell-Am60Te_b.js} +1 -1
- package/web/_app/immutable/{haxe-Bk9ZKzt8.js → haxe-2mpAPFJ0.js} +1 -1
- package/web/_app/immutable/{http-CiDkxqOb.js → http-Bxrr3qdZ.js} +1 -1
- package/web/_app/immutable/{idl-LL4drwBm.js → idl-BLpqCdDM.js} +1 -1
- package/web/_app/immutable/index-C3Rri6h1.js +1955 -0
- package/web/_app/immutable/index-YtIaSO5M.css +1 -0
- package/web/_app/immutable/{info-OHQRW6UA-DaB3jIQY.js → info-OHQRW6UA-_YRL3G_Z.js} +2 -2
- package/web/_app/immutable/{infoDiagram-MVDRKAX5-sjprSTT3.js → infoDiagram-MVDRKAX5-CXoWGXhT.js} +3 -3
- package/web/_app/immutable/{init-D7bQrGTf.js → init-0Rsw8nLX.js} +1 -1
- package/web/_app/immutable/{ishikawaDiagram-HPEHV2GE-BFzGEnTH.js → ishikawaDiagram-HPEHV2GE-DWNsnluo.js} +3 -3
- package/web/_app/immutable/{javascript-DdS-nY7V.js → javascript-DnLASQ8a.js} +1 -1
- package/web/_app/immutable/{journeyDiagram-BOSHW7O7-ophNh21m.js → journeyDiagram-BOSHW7O7-j_ypXIZ9.js} +3 -3
- package/web/_app/immutable/json-render-view-CzmxnANK.js +178 -0
- package/web/_app/immutable/{julia-DZAu-uZ_.js → julia-B-nDWULd.js} +1 -1
- package/web/_app/immutable/{kanban-definition-FNSA4HC5-DerYr1wR.js → kanban-definition-FNSA4HC5-DBXyV0fk.js} +3 -3
- package/web/_app/immutable/{katex-B4ejBZLo.js → katex-CNNLMICA.js} +1 -1
- package/web/_app/immutable/{line-BcyKDPTs.js → line-DtvLGSr3.js} +3 -3
- package/web/_app/immutable/{linear-2cYC5ltX.js → linear-B_p1nlgy.js} +3 -3
- package/web/_app/immutable/{livescript-DffcKazj.js → livescript-cgviRHTR.js} +1 -1
- package/web/_app/immutable/{lua-CPhvhKsg.js → lua-Bt1TOjbI.js} +1 -1
- package/web/_app/immutable/{mathematica-BRZYuqFt.js → mathematica-C1fCF-pK.js} +1 -1
- package/web/_app/immutable/{mbox-Dqfqg6K0.js → mbox-YazAjmWT.js} +1 -1
- package/web/_app/immutable/{mermaid-parser.core-DhZWZXzW.js → mermaid-parser.core-Bj4N_5ia.js} +4 -4
- package/web/_app/immutable/{mermaid.core-Bn-MO58Z.js → mermaid.core-Bg-WC5Kf.js} +6 -6
- package/web/_app/immutable/{mindmap-definition-6OY57UG3-B_V0owuj.js → mindmap-definition-6OY57UG3-Ht5L7uSR.js} +3 -3
- package/web/_app/immutable/{mirc-DYE6g9Yc.js → mirc-ChiMGZ1q.js} +1 -1
- package/web/_app/immutable/{mllike-C7OBPxnB.js → mllike-etSVcvm6.js} +1 -1
- package/web/_app/immutable/{modelica-D4Z13Mv7.js → modelica-D3DdZ_9o.js} +1 -1
- package/web/_app/immutable/{mscgen-DyD9TPSI.js → mscgen-ByZ8Oc7q.js} +1 -1
- package/web/_app/immutable/{mumps-DsOvdFde.js → mumps-m_LJXU8f.js} +1 -1
- package/web/_app/immutable/{nginx-V3cgyjK-.js → nginx-BAMWPIvN.js} +1 -1
- package/web/_app/immutable/{nsis-D0B3LJ6C.js → nsis-SLSAWbM9.js} +2 -2
- package/web/_app/immutable/{ntriples-DNuIP-3z.js → ntriples-Isr2eMwg.js} +1 -1
- package/web/_app/immutable/{octave-9xS56dfr.js → octave-CFGwI_pW.js} +1 -1
- package/web/_app/immutable/{ordinal-CWrm7xtN.js → ordinal-C-dZyy7N.js} +3 -3
- package/web/_app/immutable/{oz-DO-AO-RO.js → oz-B-TrVbZS.js} +1 -1
- package/web/_app/immutable/{packet-JDAUHWVQ-CpXfrzkq.js → packet-JDAUHWVQ-Clxg99ti.js} +2 -2
- package/web/_app/immutable/{pascal-MyM2FJOj.js → pascal-xP5hur0P.js} +1 -1
- package/web/_app/immutable/{path-Ci7s6AG5.js → path-KIu7vHD1.js} +1 -1
- package/web/_app/immutable/{pegDiagram-ECIUJNBX-OrD2m_zD.js → pegDiagram-ECIUJNBX-C7moBDNV.js} +3 -3
- package/web/_app/immutable/{perl-H_wp7YOs.js → perl-kQQ-rLK4.js} +1 -1
- package/web/_app/immutable/{pie-XZMESJXO-DvYSSWV3.js → pie-XZMESJXO-TWjrXx8Q.js} +2 -2
- package/web/_app/immutable/{pieDiagram-GNMPY74T-BUcG21Pd.js → pieDiagram-GNMPY74T-DMt0HgDY.js} +3 -3
- package/web/_app/immutable/{pig-B_q9AORX.js → pig-BHribV2U.js} +1 -1
- package/web/_app/immutable/{powershell-DzwMRwEW.js → powershell-dK77zs0q.js} +1 -1
- package/web/_app/immutable/{properties-CvCDgreS.js → properties-BzjbC_2c.js} +1 -1
- package/web/_app/immutable/{protobuf-BlU0_yts.js → protobuf-ChRePd4I.js} +1 -1
- package/web/_app/immutable/{pug-Bq-NJArK.js → pug-CrP97q7v.js} +2 -2
- package/web/_app/immutable/{puppet-CPa4V8XA.js → puppet-BPOW9V12.js} +1 -1
- package/web/_app/immutable/{python-C0kcJRF3.js → python-e3DADkGZ.js} +1 -1
- package/web/_app/immutable/{q-BsfL6RGl.js → q-BDl2sq45.js} +1 -1
- package/web/_app/immutable/{quadrantDiagram-D57K4MC3-CVd20agD.js → quadrantDiagram-D57K4MC3-CfyLecK6.js} +3 -3
- package/web/_app/immutable/{r-BwaUrbPE.js → r-BHnopXdY.js} +1 -1
- package/web/_app/immutable/{radar-ABXABTNO-DVXbk8ny.js → radar-ABXABTNO-Dqi_Hjtv.js} +2 -2
- package/web/_app/immutable/{railroad-I3PHUGI6-B-d9uCRI.js → railroad-I3PHUGI6-BNvdQ8tr.js} +2 -2
- package/web/_app/immutable/{railroad-abnf-LNEFI6M7-B53t0zMz.js → railroad-abnf-LNEFI6M7-p3rwXDkj.js} +2 -2
- package/web/_app/immutable/{railroad-ebnf-DWYD2UWJ-DzR2Cer4.js → railroad-ebnf-DWYD2UWJ-QW7lHEzZ.js} +2 -2
- package/web/_app/immutable/{railroad-peg-JR7BVNR7-CiCX4OTW.js → railroad-peg-JR7BVNR7-2gZasFLF.js} +2 -2
- package/web/_app/immutable/{railroadDiagram-Y72NRBL7-HttnVoqz.js → railroadDiagram-Y72NRBL7-BGBw3jID.js} +3 -3
- package/web/_app/immutable/{requirementDiagram-EQYSW5RA-wPzPRWNn.js → requirementDiagram-EQYSW5RA-AW8mGp3t.js} +3 -3
- package/web/_app/immutable/{rolldown-runtime-DpAGH10J.js → rolldown-runtime-BorFIzZJ.js} +1 -1
- package/web/_app/immutable/{rough.esm-Whrw8iSy.js → rough.esm-D9sYYDhQ.js} +1 -1
- package/web/_app/immutable/{rpm-BGQP6Sig.js → rpm-BdsfK4FK.js} +1 -1
- package/web/_app/immutable/{ruby-GhSPXQpI.js → ruby-D7aAIAiF.js} +1 -1
- package/web/_app/immutable/{sankeyDiagram-SY24JHO5-iXa6PWzS.js → sankeyDiagram-SY24JHO5-B3g2eQU9.js} +3 -3
- package/web/_app/immutable/{sas-DO8POFDf.js → sas-BjR6dQlr.js} +1 -1
- package/web/_app/immutable/{scheme-CcjqHmxi.js → scheme-BZia4ZBS.js} +1 -1
- package/web/_app/immutable/{sequenceDiagram-BLEHNHQU-C406STJZ.js → sequenceDiagram-BLEHNHQU-end-F8aH.js} +3 -3
- package/web/_app/immutable/{shell-EXt7ZZm9.js → shell-BTVXtOjE.js} +1 -1
- package/web/_app/immutable/{sieve-CCXhM3HN.js → sieve-CK_pFfTY.js} +1 -1
- package/web/_app/immutable/{simple-mode-BjYcVrY6.js → simple-mode-lpKMIfct.js} +1 -1
- package/web/_app/immutable/{sizeCapture-INFHLROL-B2gqtgMi.js → sizeCapture-INFHLROL-CWXX-gwL.js} +3 -3
- package/web/_app/immutable/{smalltalk-B1J4NWMY.js → smalltalk-B9-F9F_X.js} +1 -1
- package/web/_app/immutable/{solr-B_2o8tJn.js → solr-HovTmTDw.js} +1 -1
- package/web/_app/immutable/{sparql-BrkwSdt3.js → sparql-D15JOdLE.js} +1 -1
- package/web/_app/immutable/{spreadsheet-hIShpyL4.js → spreadsheet-DzqANOvG.js} +1 -1
- package/web/_app/immutable/{sql-4uhh_Qqa.js → sql-BfN529QS.js} +1 -1
- package/web/_app/immutable/{src-UksNOXkQ.js → src-CkFC5JIw.js} +3 -3
- package/web/_app/immutable/{stateDiagram-v2-A6IESKWZ-Cqo6pHnc.js → stateDiagram-v2-A6IESKWZ-DvrTsCrq.js} +3 -3
- package/web/_app/immutable/{stex-CThFIHHN.js → stex-Byvv2w3Q.js} +1 -1
- package/web/_app/immutable/{stylus-CQ_m4YV3.js → stylus-DhIitb68.js} +1 -1
- package/web/_app/immutable/{swift-CkVzKVod.js → swift-B2ob9eys.js} +1 -1
- package/web/_app/immutable/{swimlanes-B3ENRKFQ-L6aKuwPP.js → swimlanes-B3ENRKFQ-0g5egyDD.js} +3 -3
- package/web/_app/immutable/swimlanesDiagram-AYQRV4AK-D2aqgxSr.js +10 -0
- package/web/_app/immutable/{tcl-DFuxE83t.js → tcl-Bjsf3fWc.js} +1 -1
- package/web/_app/immutable/{textile-WuzfluTF.js → textile-xvl3kbWr.js} +1 -1
- package/web/_app/immutable/{tiddlywiki-BvyiqOkC.js → tiddlywiki-FsJFUUTz.js} +1 -1
- package/web/_app/immutable/{tiki-BMuCKC5u.js → tiki-Cy2wUG9S.js} +1 -1
- package/web/_app/immutable/{timeline-definition-JXYKGLGB-DjBQ2003.js → timeline-definition-JXYKGLGB-C0re41tm.js} +3 -3
- package/web/_app/immutable/{toml-wcAitvar.js → toml-CSg4SR3L.js} +1 -1
- package/web/_app/immutable/{treeView-D4JQ5SDB-CCAq61j9.js → treeView-D4JQ5SDB-C-L-xfb7.js} +2 -2
- package/web/_app/immutable/{treemap-SAJKECNS-BP_EI9bd.js → treemap-SAJKECNS-CpyM6fOb.js} +2 -2
- package/web/_app/immutable/{troff-Cl4SvEKi.js → troff-C1BazigL.js} +1 -1
- package/web/_app/immutable/{ttcn-cfg-C3X6MYW3.js → ttcn-cfg-xifjQySV.js} +1 -1
- package/web/_app/immutable/{ttcn-vSiZz51s.js → ttcn-zWm21rzb.js} +1 -1
- package/web/_app/immutable/{turtle-DzurLEvV.js → turtle-GPQMiRif.js} +1 -1
- package/web/_app/immutable/{usecaseDiagram-WPOLBNNX-B-0mpuSG.js → usecaseDiagram-WPOLBNNX-Bp6D2qdr.js} +3 -3
- package/web/_app/immutable/{vb-CMRwCB3E.js → vb-DS1KUI9Z.js} +1 -1
- package/web/_app/immutable/{vbscript-BZWXRfJV.js → vbscript-i1oAIoMw.js} +1 -1
- package/web/_app/immutable/{velocity-DH5xmBFh.js → velocity-C74fTdaJ.js} +1 -1
- package/web/_app/immutable/{vennDiagram-Q3Y3IDCW-DpLkI15K.js → vennDiagram-Q3Y3IDCW-PjH_wCst.js} +3 -3
- package/web/_app/immutable/{verilog-fhfN6R37.js → verilog-CJpkFufT.js} +1 -1
- package/web/_app/immutable/{vhdl-BSCZ3pac.js → vhdl-C-qMwPcx.js} +1 -1
- package/web/_app/immutable/{wardley-7MLQ67FV-B8Rqp5dp.js → wardley-7MLQ67FV-B2YFGokQ.js} +2 -2
- package/web/_app/immutable/{wardleyDiagram-IVAIDKWA-DiD2eT5B.js → wardleyDiagram-IVAIDKWA-CXr7PMhY.js} +3 -3
- package/web/_app/immutable/{webidl-CXk0BfuC.js → webidl-mHwOZNCd.js} +1 -1
- package/web/_app/immutable/wiring-view-Alot3tKS.js +3 -0
- package/web/_app/immutable/{xquery-D7LAXmGG.js → xquery-BpYSQ1oZ.js} +1 -1
- package/web/_app/immutable/{xychartDiagram-4URNHDU4-W6cJYY7O.js → xychartDiagram-4URNHDU4-3O5b7ZCP.js} +3 -3
- package/web/_app/immutable/{yacas-BwOQAk7Q.js → yacas-Btga5z6U.js} +1 -1
- package/web/_app/immutable/{z80-BqMjK37S.js → z80-kGma2xtF.js} +1 -1
- package/web/index.html +3 -3
- package/web/_app/immutable/flowDiagram-IUGLLWBU-DYS8Xnyf.js +0 -3
- package/web/_app/immutable/index-BOo1x2Z5.js +0 -1954
- package/web/_app/immutable/index-BpWNd2h-.css +0 -1
- package/web/_app/immutable/json-render-view-CGYtQNG9.js +0 -177
- package/web/_app/immutable/swimlanesDiagram-AYQRV4AK-B_SXVmGq.js +0 -10
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};e._posthogReleaseId=e._posthogReleaseId||"01a1d4e7-1d7c-0000-936b-9f26fd0186d7";var n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]="4350242b-d8dc-5d64-9dda-6f08bfb579d2")}catch(e){}}();
|
|
2
|
+
import{i as e}from"./rolldown-runtime-BorFIzZJ.js";import{$ as t,G as n,K as r,Q as i,W as a,Z as o,et as s,nt as c,q as l,tt as u,yt as d}from"./index-C3Rri6h1.js";var f={name:`cpu`,size:24,node:[[`path`,{d:`M12 20v2`,key:`1lh1kg`}],[`path`,{d:`M12 2v2`,key:`tus03m`}],[`path`,{d:`M17 20v2`,key:`1rnc9c`}],[`path`,{d:`M17 2v2`,key:`11trls`}],[`path`,{d:`M2 12h2`,key:`1t8f8n`}],[`path`,{d:`M2 17h2`,key:`7oei6x`}],[`path`,{d:`M2 7h2`,key:`asdhe0`}],[`path`,{d:`M20 12h2`,key:`1q8mjw`}],[`path`,{d:`M20 17h2`,key:`1fpfkl`}],[`path`,{d:`M20 7h2`,key:`1o8tra`}],[`path`,{d:`M7 20v2`,key:`4gnj0m`}],[`path`,{d:`M7 2v2`,key:`1i4yhu`}],[`rect`,{x:`4`,y:`4`,width:`16`,height:`16`,rx:`2`,key:`1vbyd7`}],[`rect`,{x:`8`,y:`8`,width:`8`,height:`8`,rx:`1`,key:`z9xiuo`}]]};f.node;var p=t(f),m={name:`triangle-alert`,size:24,node:[[`path`,{d:`m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3`,key:`wmoenq`}],[`path`,{d:`M12 9v4`,key:`juzpu7`}],[`path`,{d:`M12 17h.01`,key:`p32p05`}]],aliases:[`alert-triangle`]};m.node;var h=t(m),g=e(d(),1),_=[{x:1,y:0},{x:0,y:1},{x:-1,y:0},{x:0,y:-1}],v=0,y=1,b=2,x=3,S=4,C=8,w=4,T=5,E=6,D=7,O=4,k=3,A=2,j=3,M=e=>e%2==0?y:b;function N(e,t){let n=e.columns,r=e.rows,i=n*r,a=(e,t)=>t*n+e,o=e=>e%n,s=e=>Math.floor(e/n),c=(e,t)=>{let i=o(e)+_[t].x,c=s(e)+_[t].y;return i<0||c<0||i>=n||c>=r?-1:a(i,c)},l=(e,t)=>t<2?e*2+t:c(e,t)*2+t-2,u=e=>a(e.i,e.j),d=e=>{let n=t[e];if(!n)return[];let{start:r,target:i}=n;return i.type===`pin`?[r.key,i.terminal.key]:[r.key]},f=()=>{let o=new Uint8Array(i),s=Array.from({length:i}),l=Array.from({length:i}),d=new Int16Array(i).fill(-1);for(let t of e.keepOuts)for(let e=Math.max(t.jMin+1,0);e<Math.min(t.jMax,r);e++)for(let r=Math.max(t.iMin+1,0);r<Math.min(t.iMax,n);r++)o[a(r,e)]=C;let f=e.railRows[0]?.length??0;for(let t=0;t<f;t++){let r=Math.min(...e.railRows.map(e=>e[t])),i=Math.max(...e.railRows.map(e=>e[t]));for(let t=r;t<=i;t++)for(let r=0;r<n;r++){let n=a(r,t);o[n]=r>e.railEnd?C:o[n]|y}e.railRows.forEach((n,r)=>{for(let i=e.railStart[r];i<=e.railEnd;i++)d[a(i,n[t])]=r})}f>1&&e.railRows.forEach((t,n)=>{for(let r=t[0];r<=t[f-1];r++){let i=a(e.railStart[n],r);o[i]=t.includes(r)?S:o[i]|b}});let p=e=>{let t=u(e);return s[t]===void 0?o[t]===v&&(o[t]=S,s[t]=e.key,!0):s[t]===e.key},m=t.map(e=>e!==void 0&&p(e.start)&&(e.target.type===`rail`||p(e.target.terminal))),h=t.flatMap(e=>e?[e.start,...e.target.type===`pin`?[e.target.terminal]:[]]:[]);for(let e of h){let t=u(e);if(s[t]!==e.key)continue;for(let n of[(e.side+1)%4,(e.side+3)%4]){let e=c(t,n);e>=0&&o[e]===v&&(o[e]=C)}let n=c(t,e.side);n>=0&&o[n]===v&&l[n]===void 0&&(l[n]=e.key)}return{state:o,owner:s,reserved:l,railOf:d,used:new Uint8Array(i*2),wireAt:new Int32Array(i).fill(-1),joints:new Map,claimed:m}},p=(e,n,r,i)=>(e.state[n]===y||e.state[n]===b)&&e.wireAt[n]>=0&&d(e.wireAt[n]).includes(r)&&(t[e.wireAt[n]]?.rank??1/0)<=i,m=new Float64Array(i*D),h=new Int32Array(i*D),g=new Uint8Array(i*D),N=(t,n)=>{let{state:r,reserved:i,railOf:a,used:d}=t,{start:f,target:_,rank:b}=n,C=_.type===`pin`?_.terminal.key:void 0,j=e=>(t.joints.get(e)??[]).filter(n=>p(t,n,e,b)),N=_.type===`pin`?[u(_.terminal),...j(_.terminal.key)]:[],I=_.type===`rail`?e.railRows[_.rail]:[],L=e=>_.type===`pin`?Math.min(...N.map(t=>Math.abs(o(e)-o(t))+Math.abs(s(e)-s(t)))):Math.min(...I.map(t=>Math.abs(s(e)-t))),R=(e,n)=>_.type===`rail`?a[e]===_.rail&&r[e]===y&&n%2==1:e===u(_.terminal)||p(t,e,_.terminal.key,b)&&(r[e]&M(n))===0,z=e=>r[e]<S&&r[e]!==x&&(i[e]===void 0||i[e]===f.key||i[e]===C);m.fill(1/0),g.fill(0);let B=new P,V=[{n:u(f),code:w},...j(f.key).map(e=>({n:e,code:r[e]===y?T:E}))];for(let{n:e,code:t}of V){let n=t===w?0:A;m[e*D+t]=n,B.push(e*D+t,n+L(e))}for(;B.size>0;){let e=B.pop();if(g[e])continue;g[e]=1;let t=Math.floor(e/D),n=e%D;if(n<w&&R(t,n))return F(e);for(let i=0;i<4;i++){if(n<w&&i===(n+2)%4||n===T&&i%2==0||n===E&&i%2==1)continue;let a=c(t,i);if(a<0||d[l(t,i)])continue;let o=1;if(n<w){let e=r[t];if(i===n){if(e>=S||e&M(i))continue;e!==v&&(o+=k)}else{if(e!==v)continue;o+=O}}if(!R(a,i)&&!z(a))continue;let s=a*D+i,u=m[e]+o;u<m[s]&&(m[s]=u,h[s]=e,B.push(s,u+L(a)))}}},F=e=>{let t=[e];for(;t[0]%D<w;)t.unshift(h[t[0]]);return t},I=(e,t,n)=>{let{state:r}=e;t.forEach((i,a)=>{let o=Math.floor(i/D),s=t[a+1];if(s===void 0||a===0)r[o]=S;else{let t=i%D,a=s%D;r[o]=a===t?r[o]|M(a):S,e.wireAt[o]=n;for(let t of d(n)){let n=e.joints.get(t);n?n.push(o):e.joints.set(t,[o])}}s!==void 0&&(e.used[l(o,s%D)]=1)})},L=(e,t,n)=>{let r=t.flatMap((e,n)=>{let r=t[n+1],i=Math.floor(e/D);return n===0||r===void 0||e%D!==r%D?[{x:o(i),y:s(i)}]:[]}),i=Math.floor(t[0]/D),a=Math.floor((t.at(-1)??0)/D),{target:c}=n,l=t[0]%D===w,d=c.type===`pin`&&a===u(c.terminal);return{cells:r,fromPin:l,toPin:d,joins:[...l?[]:[e.wireAt[i]],...c.type===`rail`||d?[]:[e.wireAt[a]]]}},R=t=>{if(!t)return 0;let{start:n,target:r}=t;return r.type===`pin`?Math.abs(n.i-r.terminal.i)+Math.abs(n.j-r.terminal.j):Math.min(...e.railRows[r.rail].map(e=>Math.abs(n.j-e)))},z=t.map((e,t)=>({index:t,span:R(e)})).toSorted((e,t)=>e.span-t.span).map(e=>e.index),B=new Map;for(let e=0;e<j;e++){let e=f();B=new Map;for(let n of z){let r=t[n];if(!r||!e.claimed[n])continue;let i=N(e,r);i&&(B.set(n,L(e,i,r)),I(e,i,n))}let n=z.filter(t=>e.claimed[t]&&!B.has(t));if(n.length===0)break;z=[...n,...z.filter(e=>!n.includes(e))]}return t.map((e,t)=>B.get(t))}var P=class{items=[];priorities=[];get size(){return this.items.length}push(e,t){let{items:n,priorities:r}=this,i=n.length;for(n.push(e),r.push(t);i>0;){let e=i-1>>1;if(r[e]<=t)break;n[i]=n[e],r[i]=r[e],i=e}n[i]=e,r[i]=t}pop(){let{items:e,priorities:t}=this,n=e[0],r=e.pop()??0,i=t.pop()??0;if(e.length===0)return n;let a=0;for(;;){let n=a*2+1;if(n>=e.length)break;let r=n+1<e.length&&t[n+1]<t[n]?n+1:n;if(t[r]>=i)break;e[a]=e[r],t[a]=t[r],a=r}return e[a]=r,t[a]=i,n}},F=60,I=50,L=40,R=40,z=2,B=20,V=90,ee=20,H=[1,1.5,2.25],U=e=>Math.ceil(e/10-1e-6)*10,W=e=>Math.floor(e/10+1e-6)*10,G=(e,t)=>e.x<t.width/2?2:0,K=e=>_.map((t,n)=>e.pins.some(t=>G(t,e)===n)?ee:10),q=e=>{let t=K(e);return t[2]+U(e.width)+t[0]};function te(e,t,n){let r=[];for(let i of e.parts){let e=t.get(i.id);if(!e)continue;let a=q(e),o=r.at(-1);o&&o.width+F+a<=n?(o.count+=1,o.width+=F+a):r.push({count:1,width:a})}return r.map(e=>e.count)}function ne(e,t,n,r){let i=e.parts.flatMap(e=>{let n=t.get(e.id);return n?[{id:e.id,geometry:n,sides:K(n)}]:[]}),a=0,o=r.map(e=>(a+=e,i.slice(a-e,a))),s=new Map(o.flatMap((e,t)=>e.map(e=>[e.id,t]))),c=new Map;for(let e of n)for(let n of[e.from,e.to]){let e=n.type===`pin`?t.get(n.part.id):void 0;if(n.type!==`pin`||!e)continue;let r=`${n.part.id}:${G(n.pin,e)}`;c.set(r,(c.get(r)??new Set).add(n.pin.name))}let l=(e,t)=>e?c.get(`${e.id}:${t}`)?.size??0:0,u=n.map(e=>[e.from,e.to].flatMap(e=>e.type===`pin`?s.get(e.part.id)??[]:[])),d=e=>u.filter(t=>t.includes(e)).length,f=e=>u.filter(t=>Math.min(...t)<=e&&Math.max(...t)>e).length,p=e=>(e+z)*10,m=t=>{let r=(e,n)=>U(Math.max(e,n)*t),i=o.map(e=>[void 0,...e].map((t,n)=>{let i=e[n];return r(t&&i?F:R,p(l(t,0)+l(i,2)))})),a=(e,t)=>e.reduce((e,t)=>e+q(t.geometry),0)+i[t].reduce((e,t)=>e+t,0),s=e.rails.length,c=Math.max(0,...o.map(a)),u=(s+1)*10,m=u+c,h=[],g=[],_=r(R,0);o.forEach((e,t)=>{let n=Math.max(...e.map(e=>U(e.geometry.height))),o=e.map(e=>W((n-e.geometry.height)/2)),l=Math.max(...e.map((e,t)=>_+e.sides[3]-o[t])),m=u+W((c-a(e,t))/2),v=_;e.forEach((e,n)=>{let r={x:m+i[t][n]+e.sides[2],y:l+o[n]};h.push({...e,position:r}),m=r.x+U(e.geometry.width)+e.sides[0],v=Math.max(v,r.y+U(e.geometry.height)+e.sides[1])});let y=r(I,p(Math.ceil(d(t)/2))),b=r(L,p(f(t)));s>0?(g.push(v+y),_=v+y+(s-1)*B+b):_=v+y+b});let v={placed:h,bands:g,railEnd:m,width:m+V,height:_};return{layout:v,routes:re(e,n,v)}},h=m(H[0]);for(let e of H.slice(1)){if(![...h.routes.values()].some(e=>e.overlaps))break;h=m(e)}let{layout:g,routes:_}=h,v=e.rails.map((e,t)=>{let n=g.bands.map(e=>J(e,t)),r=Y(t),i=n.map(e=>[{x:r,y:e},{x:g.railEnd,y:e}]);return n.length>1&&i.push([{x:r,y:n[0]},{x:r,y:n.at(-1)??n[0]}]),{rail:t,segments:i,labels:n.map(e=>({x:g.railEnd+6,y:e}))}});return{width:g.width,height:g.height,positions:new Map(g.placed.map(e=>[e.id,e.position])),rails:v,routes:_}}var J=(e,t)=>e+t*B,Y=e=>(e+1)*10;function re(e,t,n){let{placed:r,bands:i}=n,a=new Map(r.map(e=>[e.id,e])),o=e=>({iMin:Math.floor((e.position.x-e.sides[2])/10),iMax:Math.ceil((e.position.x+e.geometry.width+e.sides[0])/10),jMin:Math.floor((e.position.y-e.sides[3])/10),jMax:Math.ceil((e.position.y+e.geometry.height+e.sides[1])/10)}),s=e=>{let t=a.get(e.part.id);if(!t)return;let{pin:n}=e,r=G(n,t.geometry),i=o(t),s={x:t.position.x+n.x,y:t.position.y+n.y};return{terminal:{key:`${t.id}.${n.name}`,side:r,i:r===0?i.iMax:i.iMin,j:Math.round(s.y/10)},point:s}},c=t.map(t=>{let[n,r]=t.from.type===`rail`?[t.to,t.from]:[t.from,t.to],i=n.type===`pin`?s(n):void 0,a=r.type===`pin`?s(r):void 0;if(!i||r.type===`pin`&&!a)return;let o=a?{type:`pin`,terminal:a.terminal}:{type:`rail`,rail:r.type===`rail`?e.rails.indexOf(r.rail):-1};return{start:i,end:a,connection:{start:i.terminal,target:o,rank:t.step}}}),l=N({columns:n.width/10+1,rows:n.height/10+1,keepOuts:r.map(o),railRows:e.rails.map((e,t)=>i.map(e=>J(e,t)/10)),railStart:e.rails.map((e,t)=>Y(t)/10),railEnd:n.railEnd/10},c.map(e=>e?.connection)),u=t=>{if(t.type===`pin`)return s(t)?.point;let n=e.rails.indexOf(t.rail);return i.length>0?{x:Y(n),y:J(i[0],n)}:void 0},d=new Map;return t.forEach((e,n)=>{let r=c[n],i=l[n];if(r&&i){let n=i.cells.map(e=>({x:e.x*10,y:e.y*10})),a=i.fromPin?r.start:void 0,o=i.toPin?r.end:void 0;d.set(e.key,{points:[...a?[a.point]:[],...n,...o?[o.point]:[]],overlaps:!1,joins:i.joins.map(e=>t[e].key)});return}let a=u(e.from),o=u(e.to);a&&o&&d.set(e.key,{points:[a,o],overlaps:!0,joins:[]})}),d}var X=s(),ie=new Set,Z=u(new Map);function ae({source:e}){let t=(0,g.useMemo)(()=>r(e),[e]);return`error`in t?(0,X.jsx)(`div`,{className:`my-3`,children:(0,X.jsx)(Q,{issues:[{level:`error`,message:t.error}]})}):(0,X.jsx)(oe,{source:e,spec:t.spec})}function oe({source:e,spec:t}){let[r,i]=(0,g.useState)(0),[a,o]=(0,g.useState)(null),[s,u]=(0,g.useState)(null),d=c(Z).get(e)??ie,f=(0,g.useRef)(null),[p,m]=(0,g.useState)(0);(0,g.useLayoutEffect)(()=>{let e=f.current;if(!e)return;let t=new ResizeObserver(([e])=>m(e.contentRect.width));return t.observe(e),()=>t.disconnect()},[]);let h=(0,g.useMemo)(()=>l(t),[t]),{wires:_,issues:v}=(0,g.useMemo)(()=>n(t,h),[t,h]),y=te(t,h,p>0?Math.min(Math.max(p/.75,480),1600):1200).join(`,`),b=(0,g.useMemo)(()=>ne(t,h,_,y.split(`,`).map(Number)),[t,h,_,y]),x=[...b.routes.values()].filter(e=>e.overlaps).length,S=x>0?[...v,{level:`warning`,message:`${x} wires had no free path, so they're drawn as dashed straight lines. Use the checklist for those.`}]:v,C=p>0?Math.min(p/b.width,1.25):1,w=e=>[e.from,e.to].some(e=>e.type===`pin`&&e.part.id===a),T=e=>a?w(e):r===`all`||e.step===r,E=new Set(_.filter(e=>a?w(e):r===`all`||e.step<=r).map(e=>e.key));for(let e of E)for(let t of b.routes.get(e)?.joins??[])E.add(t);let D=_.filter(e=>E.has(e.key)),O=D.filter(T),k=_.find(e=>e.key===s),A=t.parts.find(e=>e.id===a),j=r===`all`?void 0:t.steps[r],M=k?`${k.from.label} → ${k.to.label}${k.why?` · ${k.why}`:``}`:A?`Showing every wire on ${A.name}. Click it again to go back to the steps.`:j?.note??(r===`all`?`Every wire in the build.`:``),N=t=>Z.update(n=>{let r=new Set(n.get(e));return r.delete(t)||r.add(t),new Map(n).set(e,r)}),P=(e,t)=>(0,X.jsx)(`button`,{type:`button`,className:`rounded-md border px-2.5 py-1 text-xs transition ${r===e&&!a?`border-primary bg-primary text-primary-foreground`:`text-foreground hover:bg-muted`}`,onClick:()=>{o(null),i(e)},children:t},t);return(0,X.jsxs)(`div`,{className:`text-foreground my-3 flex flex-col gap-3 text-sm`,children:[t.title?(0,X.jsx)(`h3`,{className:`text-base font-medium`,children:t.title}):null,(0,X.jsx)(Q,{issues:S}),(0,X.jsxs)(`div`,{className:`flex flex-wrap gap-1.5`,children:[t.steps.map((e,t)=>P(t,`${t+1}. ${e.title}`)),P(`all`,`Show all`)]}),(0,X.jsx)(`p`,{className:`text-muted-foreground min-h-5 text-[13px]`,children:M}),(0,X.jsx)(`div`,{ref:f,className:`bg-muted/40 overflow-hidden rounded-lg border`,children:(0,X.jsx)(`div`,{style:{height:b.height*C},children:(0,X.jsxs)(`div`,{className:`relative origin-top-left`,style:{width:b.width,height:b.height,transform:`scale(${C})`},children:[t.parts.map(e=>(0,X.jsx)(se,{part:e,geometry:h.get(e.id),position:b.positions.get(e.id),focused:a===e.id,onClick:()=>o(t=>t===e.id?null:e.id)},e.id)),(0,X.jsx)(le,{spec:t,geometry:h,layout:b,wires:D,isCurrent:T,hover:s,onHover:u})]})})}),(0,X.jsxs)(`div`,{className:`flex flex-col gap-0.5`,children:[(0,X.jsxs)(`p`,{className:`text-muted-foreground text-xs`,children:[O.filter(e=>d.has(e.key)).length,` of `,O.length,` wires done`]}),O.map(e=>(0,X.jsxs)(`label`,{className:`flex cursor-pointer items-start gap-3 rounded-md px-2 py-1.5 ${s===e.key?`bg-accent`:``} ${d.has(e.key)?`opacity-50`:``}`,onMouseEnter:()=>u(e.key),onMouseLeave:()=>u(null),children:[(0,X.jsx)(`input`,{type:`checkbox`,className:`mt-1`,checked:d.has(e.key),onChange:()=>N(e.key)}),(0,X.jsx)(`span`,{className:`mt-2 h-1.5 w-6 shrink-0 rounded-full border`,style:{background:e.color}}),(0,X.jsxs)(`span`,{className:`flex min-w-0 flex-wrap gap-x-4`,children:[(0,X.jsxs)(`span`,{className:`font-mono text-[13px] ${d.has(e.key)?`line-through`:``}`,children:[e.from.label,` → `,e.to.label]}),e.why?(0,X.jsx)(`span`,{className:`text-muted-foreground`,children:e.why}):null]})]},e.key))]}),(0,X.jsx)(de,{parts:t.parts})]})}function Q({issues:e}){return e.length===0?null:(0,X.jsx)(`ul`,{className:`flex flex-col gap-1`,children:e.map(e=>{let t=e.level===`error`?i:h;return(0,X.jsxs)(`li`,{className:`flex items-start gap-2 rounded-md border px-3 py-2 text-[13px] ${e.level===`error`?`border-destructive/40 text-destructive`:`border-amber-500/40 text-amber-800 dark:text-amber-200`}`,children:[(0,X.jsx)(t,{className:`mt-0.5 size-4 shrink-0`,"aria-hidden":`true`}),e.message]},e.message)})})}function se({part:e,geometry:t,position:n,focused:r,onClick:i}){return!t||!n?null:(0,X.jsxs)(`div`,{className:`bg-card absolute cursor-pointer rounded-lg border shadow-xs ${r?`outline-primary outline-2 outline-offset-4`:``}`,role:`button`,tabIndex:0,"aria-label":`Show only the wires on ${e.name}`,"aria-pressed":r,style:{left:n.x,top:n.y,width:t.width,height:t.height},onClick:i,onKeyDown:e=>{(e.key===`Enter`||e.key===` `)&&(e.preventDefault(),i())},title:`${e.name}: click to show only its wires`,children:[(0,X.jsx)(`div`,{className:`truncate px-3 pt-3 text-center text-[13px] font-medium`,children:e.name}),t.pins.map(e=>(0,X.jsx)(`span`,{className:`text-muted-foreground absolute font-mono text-[11px] leading-none`,style:{top:e.y-5,...e.x===0?{left:10}:{right:10}},children:e.name},`${e.x}:${e.name}`))]})}var $=5;function ce(e){let[t,...n]=e,r=`M${t.x} ${t.y}`;return n.forEach((t,i)=>{let a=n[i+1],o=e[i];if(!a){r+=` L${t.x} ${t.y}`;return}let s=Math.min($,Math.hypot(t.x-o.x,t.y-o.y)/2,Math.hypot(a.x-t.x,a.y-t.y)/2),c=e=>{let n=Math.hypot(e.x-t.x,e.y-t.y)||1;return{x:t.x+(e.x-t.x)/n*s,y:t.y+(e.y-t.y)/n*s}},l=c(o),u=c(a);r+=` L${l.x} ${l.y} Q${t.x} ${t.y} ${u.x} ${u.y}`}),r}function le({spec:e,geometry:t,layout:n,wires:r,isCurrent:i,hover:o,onHover:s}){let c=[...n.positions].flatMap(([e,n])=>t.get(e)?.pins.map(e=>({x:n.x+e.x,y:n.y+e.y}))??[]),l=r.flatMap(e=>{let t=n.routes.get(e.key);return t?[{wire:e,route:t,current:i(e)}]:[]}).toSorted((e,t)=>Number(e.current)-Number(t.current)||Number(e.wire.key===o)-Number(t.wire.key===o));return(0,X.jsxs)(`svg`,{className:`pointer-events-none absolute inset-0 overflow-visible`,width:n.width,height:n.height,children:[n.rails.map(({rail:t,segments:n,labels:r})=>{let i=e.rails[t],o=i.volts===0?a.black:a.red;return(0,X.jsxs)(`g`,{children:[[[`var(--muted-foreground)`,5],[o,3]].map(([e,t])=>n.map(([n,r])=>(0,X.jsx)(`line`,{x1:n.x,y1:n.y,x2:r.x,y2:r.y,stroke:e,strokeWidth:t,strokeLinecap:`round`},`${e}:${n.x}:${n.y}:${r.x}:${r.y}`))),r.map(e=>(0,X.jsxs)(`text`,{x:e.x,y:e.y,fontSize:11,dominantBaseline:`central`,fill:`var(--muted-foreground)`,children:[i.id,` `,i.volts===0?`(ground)`:`(${i.volts} V)`]},e.y))]},i.id)}),c.map(e=>(0,X.jsx)(`circle`,{cx:e.x,cy:e.y,r:4,fill:`var(--muted-foreground)`},`${e.x}:${e.y}`)),l.map(({wire:e,route:t,current:n})=>(0,X.jsx)(ue,{wire:e,route:t,current:n,hover:o,onHover:s},e.key))]})}function ue({wire:e,route:t,current:n,hover:r,onHover:i}){let a=ce(t.points),o=n?r&&r!==e.key?.35:1:.15,s=r===e.key?6:3.5,c=t.overlaps?`8 6`:void 0,l=[t.points[0],t.points.at(-1)??t.points[0]];return(0,X.jsxs)(`g`,{opacity:o,children:[(0,X.jsx)(`path`,{d:a,fill:`none`,stroke:`var(--muted-foreground)`,strokeWidth:s+2,strokeDasharray:c,strokeLinejoin:`round`}),(0,X.jsx)(`path`,{d:a,fill:`none`,stroke:e.color,strokeWidth:s,strokeDasharray:c,strokeLinecap:`round`,strokeLinejoin:`round`}),l.map(t=>(0,X.jsx)(`circle`,{cx:t.x,cy:t.y,r:4,fill:e.color,stroke:`var(--muted-foreground)`},`${t.x}:${t.y}`)),(0,X.jsx)(`path`,{d:a,fill:`none`,stroke:`transparent`,strokeWidth:10,className:`cursor-pointer`,style:{pointerEvents:`stroke`},onMouseEnter:()=>i(e.key),onMouseLeave:()=>i(null)})]})}function de({parts:e}){return(0,X.jsxs)(`div`,{className:`flex flex-col gap-2`,children:[(0,X.jsx)(`h4`,{className:`text-muted-foreground text-xs font-medium`,children:`Parts`}),(0,X.jsx)(`div`,{className:`grid grid-cols-[repeat(auto-fill,minmax(220px,1fr))] gap-2`,children:e.map(e=>(0,X.jsxs)(`div`,{className:`flex items-center gap-3 rounded-lg border p-2`,children:[e.photo?(0,X.jsx)(`img`,{src:e.photo,alt:e.name,referrerPolicy:`no-referrer`,className:`size-14 shrink-0 rounded-md border bg-white object-contain`}):(0,X.jsx)(`div`,{className:`bg-muted flex size-14 shrink-0 items-center justify-center rounded-md border`,children:(0,X.jsx)(p,{className:`text-muted-foreground size-5`,"aria-hidden":`true`})}),(0,X.jsxs)(`div`,{className:`flex min-w-0 flex-col gap-1`,children:[(0,X.jsx)(`span`,{className:`truncate`,children:e.name}),e.link?(0,X.jsxs)(`a`,{href:e.link,target:`_blank`,rel:`noopener noreferrer`,className:`text-muted-foreground hover:text-foreground inline-flex items-center gap-1 text-xs`,children:[`Where to buy`,(0,X.jsx)(o,{className:`size-3`,"aria-hidden":`true`})]}):null]})]},e.id))})]})}export{ae as default};
|
|
3
|
+
//# chunkId=4350242b-d8dc-5d64-9dda-6f08bfb579d2
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};e._posthogReleaseId=e._posthogReleaseId||"
|
|
1
|
+
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};e._posthogReleaseId=e._posthogReleaseId||"01a1d4e7-1d7c-0000-936b-9f26fd0186d7";var n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]="c49160b5-fd56-5b1d-8ff7-8f212c0ad5fb")}catch(e){}}();
|
|
2
2
|
var e=function(){function e(e){return{type:e,style:`keyword`}}for(var t=e(`operator`),n={type:`atom`,style:`atom`},r={type:`punctuation`,style:null},i={type:`axis_specifier`,style:`qualifier`},a={",":r},o=`after.all.allowing.ancestor.ancestor-or-self.any.array.as.ascending.at.attribute.base-uri.before.boundary-space.by.case.cast.castable.catch.child.collation.comment.construction.contains.content.context.copy.copy-namespaces.count.decimal-format.declare.default.delete.descendant.descendant-or-self.descending.diacritics.different.distance.document.document-node.element.else.empty.empty-sequence.encoding.end.entire.every.exactly.except.external.first.following.following-sibling.for.from.ftand.ftnot.ft-option.ftor.function.fuzzy.greatest.group.if.import.in.inherit.insensitive.insert.instance.intersect.into.invoke.is.item.language.last.lax.least.let.levels.lowercase.map.modify.module.most.namespace.next.no.node.nodes.no-inherit.no-preserve.not.occurs.of.only.option.order.ordered.ordering.paragraph.paragraphs.parent.phrase.preceding.preceding-sibling.preserve.previous.processing-instruction.relationship.rename.replace.return.revalidation.same.satisfies.schema.schema-attribute.schema-element.score.self.sensitive.sentence.sentences.sequence.skip.sliding.some.stable.start.stemming.stop.strict.strip.switch.text.then.thesaurus.times.to.transform.treat.try.tumbling.type.typeswitch.union.unordered.update.updating.uppercase.using.validate.value.variable.version.weight.when.where.wildcards.window.with.without.word.words.xquery`.split(`.`),s=0,c=o.length;s<c;s++)a[o[s]]=e(o[s]);for(var l=`xs:anyAtomicType.xs:anySimpleType.xs:anyType.xs:anyURI.xs:base64Binary.xs:boolean.xs:byte.xs:date.xs:dateTime.xs:dateTimeStamp.xs:dayTimeDuration.xs:decimal.xs:double.xs:duration.xs:ENTITIES.xs:ENTITY.xs:float.xs:gDay.xs:gMonth.xs:gMonthDay.xs:gYear.xs:gYearMonth.xs:hexBinary.xs:ID.xs:IDREF.xs:IDREFS.xs:int.xs:integer.xs:item.xs:java.xs:language.xs:long.xs:Name.xs:NCName.xs:negativeInteger.xs:NMTOKEN.xs:NMTOKENS.xs:nonNegativeInteger.xs:nonPositiveInteger.xs:normalizedString.xs:NOTATION.xs:numeric.xs:positiveInteger.xs:precisionDecimal.xs:QName.xs:short.xs:string.xs:time.xs:token.xs:unsignedByte.xs:unsignedInt.xs:unsignedLong.xs:unsignedShort.xs:untyped.xs:untypedAtomic.xs:yearMonthDuration`.split(`.`),s=0,c=l.length;s<c;s++)a[l[s]]=n;for(var u=[`eq`,`ne`,`lt`,`le`,`gt`,`ge`,`:=`,`=`,`>`,`>=`,`<`,`<=`,`.`,`|`,`?`,`and`,`or`,`div`,`idiv`,`mod`,`*`,`/`,`+`,`-`],s=0,c=u.length;s<c;s++)a[u[s]]=t;for(var d=[`self::`,`attribute::`,`child::`,`descendant::`,`descendant-or-self::`,`parent::`,`ancestor::`,`ancestor-or-self::`,`following::`,`preceding::`,`following-sibling::`,`preceding-sibling::`],s=0,c=d.length;s<c;s++)a[d[s]]=i;return a}();function t(e,t,n){return t.tokenize=n,n(e,t)}function n(n,i){var c=n.next(),p=!1,g=h(n);if(c==`<`){if(n.match(`!--`,!0))return t(n,i,l);if(n.match(`![CDATA`,!1))return i.tokenize=u,`tag`;if(n.match(`?`,!1))return t(n,i,d);var y=n.eat(`/`);n.eatSpace();for(var b=``,x;x=n.eat(/[^\s\u00a0=<>\"\'\/?]/);)b+=x;return t(n,i,s(b,y))}if(c==`{`)return _(i,{type:`codeblock`}),null;if(c==`}`)return v(i),null;if(f(i))return c==`>`?`tag`:c==`/`&&n.eat(`>`)?(v(i),`tag`):`variable`;if(/\d/.test(c))return n.match(/^\d*(?:\.\d*)?(?:E[+\-]?\d+)?/),`atom`;if(c===`(`&&n.eat(`:`))return _(i,{type:`comment`}),t(n,i,r);if(!g&&(c===`"`||c===`'`))return a(n,i,c);if(c===`$`)return t(n,i,o);if(c===`:`&&n.eat(`=`))return`keyword`;if(c===`(`)return _(i,{type:`paren`}),null;if(c===`)`)return v(i),null;if(c===`[`)return _(i,{type:`bracket`}),null;if(c===`]`)return v(i),null;var S=e.propertyIsEnumerable(c)&&e[c];if(g&&c===`"`)for(;n.next()!==`"`;);if(g&&c===`'`)for(;n.next()!==`'`;);S||n.eatWhile(/[\w\$_-]/);var C=n.eat(`:`);!n.eat(`:`)&&C&&n.eatWhile(/[\w\$_-]/),n.match(/^[ \t]*\(/,!1)&&(p=!0);var w=n.current();return S=e.propertyIsEnumerable(w)&&e[w],p&&!S&&(S={type:`function_call`,style:`def`}),m(i)?(v(i),`variable`):((w==`element`||w==`attribute`||S.type==`axis_specifier`)&&_(i,{type:`xmlconstructor`}),S?S.style:`variable`)}function r(e,t){for(var n=!1,r=!1,i=0,a;a=e.next();){if(a==`)`&&n){if(i>0)i--;else{v(t);break}}else a==`:`&&r&&i++;n=a==`:`,r=a==`(`}return`comment`}function i(e,t){return function(r,i){for(var a;a=r.next();)if(a==e){v(i),t&&(i.tokenize=t);break}else if(r.match(`{`,!1)&&p(i))return _(i,{type:`codeblock`}),i.tokenize=n,`string`;return`string`}}function a(e,n,r,a){let o=i(r,a);return _(n,{type:`string`,name:r,tokenize:o}),t(e,n,o)}function o(e,t){var r=/[\w\$_-]/;if(e.eat(`"`)){for(;e.next()!==`"`;);e.eat(`:`)}else e.eatWhile(r),e.match(`:=`,!1)||e.eat(`:`);return e.eatWhile(r),t.tokenize=n,`variable`}function s(e,t){return function(r,i){if(r.eatSpace(),t&&r.eat(`>`))return v(i),i.tokenize=n,`tag`;if(r.eat(`/`)||_(i,{type:`tag`,name:e,tokenize:n}),r.eat(`>`))i.tokenize=n;else return i.tokenize=c,`tag`;return`tag`}}function c(e,t){var r=e.next();return r==`/`&&e.eat(`>`)?(p(t)&&v(t),f(t)&&v(t),`tag`):r==`>`?(p(t)&&v(t),`tag`):r==`=`?null:r==`"`||r==`'`?a(e,t,r,c):(p(t)||_(t,{type:`attribute`,tokenize:c}),e.eat(/[a-zA-Z_:]/),e.eatWhile(/[-a-zA-Z0-9_:.]/),e.eatSpace(),(e.match(`>`,!1)||e.match(`/`,!1))&&(v(t),t.tokenize=n),`attribute`)}function l(e,t){for(var r;r=e.next();)if(r==`-`&&e.match(`->`,!0))return t.tokenize=n,`comment`}function u(e,t){for(var r;r=e.next();)if(r==`]`&&e.match(`]`,!0))return t.tokenize=n,`comment`}function d(e,t){for(var r;r=e.next();)if(r==`?`&&e.match(`>`,!0))return t.tokenize=n,`processingInstruction`}function f(e){return g(e,`tag`)}function p(e){return g(e,`attribute`)}function m(e){return g(e,`xmlconstructor`)}function h(e){return e.current()===`"`?e.match(/^[^\"]+\"\:/,!1):e.current()===`'`&&e.match(/^[^\"]+\'\:/,!1)}function g(e,t){return e.stack.length&&e.stack[e.stack.length-1].type==t}function _(e,t){e.stack.push(t)}function v(e){e.stack.pop(),e.tokenize=e.stack.length&&e.stack[e.stack.length-1].tokenize||n}var y={name:`xquery`,startState:function(){return{tokenize:n,cc:[],stack:[]}},token:function(e,t){return e.eatSpace()?null:t.tokenize(e,t)},languageData:{commentTokens:{block:{open:`(:`,close:`:)`}}}};export{y as xQuery};
|
|
3
3
|
//# chunkId=c49160b5-fd56-5b1d-8ff7-8f212c0ad5fb
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};e._posthogReleaseId=e._posthogReleaseId||"
|
|
2
|
-
import{a as e}from"./mermaid.core-
|
|
1
|
+
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};e._posthogReleaseId=e._posthogReleaseId||"01a1d4e7-1d7c-0000-936b-9f26fd0186d7";var n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]="775c9dfa-6761-5587-a2eb-f057950c5b91")}catch(e){}}();
|
|
2
|
+
import{a as e}from"./mermaid.core-Bg-WC5Kf.js";import{t}from"./chunk-AQDTSKZB-BeH9OL_4.js";import"./chunk-YZO67HFG-Cnw1mvWd.js";import{t as n}from"./linear-B_p1nlgy.js";import{i as r}from"./chunk-7S6XSTFO-DzYzXXRC.js";import{C as i,E as a,H as o,U as s,_ as c,a as l,c as u,f as d,q as f,v as p,y as m,z as h}from"./chunk-DSNLSHJZ-Z2c5FQ0X.js";import{m as g}from"./src-CkFC5JIw.js";import{t as _}from"./line-DtvLGSr3.js";import{n as v}from"./chunk-Y2CYZVJY-D6bkR5RO.js";import{t as y}from"./init-0Rsw8nLX.js";import{t as b}from"./ordinal-C-dZyy7N.js";function x(e,t,n){e=+e,t=+t,n=(i=arguments.length)<2?(t=e,e=0,1):i<3?1:+n;for(var r=-1,i=Math.max(0,Math.ceil((t-e)/n))|0,a=Array(i);++r<i;)a[r]=e+r*n;return a}function S(){var e=b().unknown(void 0),t=e.domain,n=e.range,r=0,i=1,a,o,s=!1,c=0,l=0,u=.5;delete e.unknown;function d(){var e=t().length,d=i<r,f=d?i:r,p=d?r:i;a=(p-f)/Math.max(1,e-c+l*2),s&&(a=Math.floor(a)),f+=(p-f-a*(e-c))*u,o=a*(1-c),s&&(f=Math.round(f),o=Math.round(o));var m=x(e).map(function(e){return f+a*e});return n(d?m.reverse():m)}return e.domain=function(e){return arguments.length?(t(e),d()):t()},e.range=function(e){return arguments.length?([r,i]=e,r=+r,i=+i,d()):[r,i]},e.rangeRound=function(e){return[r,i]=e,r=+r,i=+i,s=!0,d()},e.bandwidth=function(){return o},e.step=function(){return a},e.round=function(e){return arguments.length?(s=!!e,d()):s},e.padding=function(e){return arguments.length?(c=Math.min(1,l=+e),d()):c},e.paddingInner=function(e){return arguments.length?(c=Math.min(1,e),d()):c},e.paddingOuter=function(e){return arguments.length?(l=+e,d()):l},e.align=function(e){return arguments.length?(u=Math.max(0,Math.min(1,e)),d()):u},e.copy=function(){return S(t(),[r,i]).round(s).paddingInner(c).paddingOuter(l).align(u)},y.apply(d(),arguments)}var C=(function(){var e=v(function(e,t,n,r){for(n||={},r=e.length;r--;n[e[r]]=t);return n},`o`),t=[1,10,12,14,16,18,19,21,23],n=[2,6],r=[1,3],i=[1,5],a=[1,6],o=[1,7],s=[1,5,10,12,14,16,18,19,21,23,36,37,38],c=[1,25],l=[1,26],u=[1,28],d=[1,29],f=[1,30],p=[1,31],m=[1,32],h=[1,33],g=[1,34],_=[1,35],y=[1,36],b=[1,37],x=[1,43],S=[1,42],C=[1,47],w=[1,50],T=[1,10,12,14,16,18,19,21,23,36,37,38],E=[1,10,12,14,16,18,19,21,23,24,26,28,29,36,37,38],D=[1,10,12,14,16,18,19,21,23,24,26,28,29,36,37,38,42,43,44,45,46,47,48,49,50,51],O=[1,65],k=[26,28],A={trace:v(function(){},`trace`),yy:{},symbols_:{error:2,start:3,eol:4,XYCHART:5,chartConfig:6,document:7,CHART_ORIENTATION:8,statement:9,title:10,text:11,X_AXIS:12,parseXAxis:13,Y_AXIS:14,parseYAxis:15,LINE:16,plotData:17,BAR:18,acc_title:19,acc_title_value:20,acc_descr:21,acc_descr_value:22,acc_descr_multiline_value:23,SQUARE_BRACES_START:24,dataPoints:25,SQUARE_BRACES_END:26,dataPoint:27,COMMA:28,NUMBER_WITH_DECIMAL:29,STR:30,xAxisData:31,bandData:32,ARROW_DELIMITER:33,commaSeparatedTexts:34,yAxisData:35,NEWLINE:36,SEMI:37,EOF:38,alphaNum:39,MD_STR:40,alphaNumToken:41,AMP:42,NUM:43,ALPHA:44,PLUS:45,EQUALS:46,MULT:47,DOT:48,BRKT:49,MINUS:50,UNDERSCORE:51,$accept:0,$end:1},terminals_:{2:`error`,5:`XYCHART`,8:`CHART_ORIENTATION`,10:`title`,12:`X_AXIS`,14:`Y_AXIS`,16:`LINE`,18:`BAR`,19:`acc_title`,20:`acc_title_value`,21:`acc_descr`,22:`acc_descr_value`,23:`acc_descr_multiline_value`,24:`SQUARE_BRACES_START`,26:`SQUARE_BRACES_END`,28:`COMMA`,29:`NUMBER_WITH_DECIMAL`,30:`STR`,33:`ARROW_DELIMITER`,36:`NEWLINE`,37:`SEMI`,38:`EOF`,40:`MD_STR`,42:`AMP`,43:`NUM`,44:`ALPHA`,45:`PLUS`,46:`EQUALS`,47:`MULT`,48:`DOT`,49:`BRKT`,50:`MINUS`,51:`UNDERSCORE`},productions_:[0,[3,2],[3,3],[3,2],[3,1],[6,1],[7,0],[7,2],[9,2],[9,2],[9,2],[9,2],[9,2],[9,3],[9,2],[9,3],[9,2],[9,2],[9,1],[17,3],[25,3],[25,1],[27,2],[27,1],[13,1],[13,2],[13,1],[31,1],[31,3],[32,3],[34,3],[34,1],[15,1],[15,2],[15,1],[35,3],[4,1],[4,1],[4,1],[11,1],[11,1],[11,1],[39,1],[39,2],[41,1],[41,1],[41,1],[41,1],[41,1],[41,1],[41,1],[41,1],[41,1],[41,1]],performAction:v(function(e,t,n,r,i,a,o){var s=a.length-1;switch(i){case 5:r.setOrientation(a[s]);break;case 9:r.setDiagramTitle(a[s].text.trim());break;case 12:r.setLineData({text:``,type:`text`},a[s]);break;case 13:r.setLineData(a[s-1],a[s]);break;case 14:r.setBarData({text:``,type:`text`},a[s]);break;case 15:r.setBarData(a[s-1],a[s]);break;case 16:this.$=a[s].trim(),r.setAccTitle(this.$);break;case 17:case 18:this.$=a[s].trim(),r.setAccDescription(this.$);break;case 19:this.$=a[s-1];break;case 20:case 30:this.$=[a[s-2],...a[s]];break;case 21:case 31:this.$=[a[s]];break;case 22:this.$={value:Number(a[s-1]),label:a[s]};break;case 23:this.$={value:Number(a[s]),label:``};break;case 24:r.setXAxisTitle(a[s]);break;case 25:r.setXAxisTitle(a[s-1]);break;case 26:r.setXAxisTitle({type:`text`,text:``});break;case 27:r.setXAxisBand(a[s]);break;case 28:r.setXAxisRangeData(Number(a[s-2]),Number(a[s]));break;case 29:this.$=a[s-1];break;case 32:r.setYAxisTitle(a[s]);break;case 33:r.setYAxisTitle(a[s-1]);break;case 34:r.setYAxisTitle({type:`text`,text:``});break;case 35:r.setYAxisRangeData(Number(a[s-2]),Number(a[s]));break;case 39:this.$={text:a[s],type:`text`};break;case 40:this.$={text:a[s],type:`text`};break;case 41:this.$={text:a[s],type:`markdown`};break;case 42:this.$=a[s];break;case 43:this.$=a[s-1]+``+a[s]}},`anonymous`),table:[e(t,n,{3:1,4:2,7:4,5:r,36:i,37:a,38:o}),{1:[3]},e(t,n,{4:2,7:4,3:8,5:r,36:i,37:a,38:o}),e(t,n,{4:2,7:4,6:9,3:10,5:r,8:[1,11],36:i,37:a,38:o}),{1:[2,4],9:12,10:[1,13],12:[1,14],14:[1,15],16:[1,16],18:[1,17],19:[1,18],21:[1,19],23:[1,20]},e(s,[2,36]),e(s,[2,37]),e(s,[2,38]),{1:[2,1]},e(t,n,{4:2,7:4,3:21,5:r,36:i,37:a,38:o}),{1:[2,3]},e(s,[2,5]),e(t,[2,7],{4:22,36:i,37:a,38:o}),{11:23,30:c,39:24,40:l,41:27,42:u,43:d,44:f,45:p,46:m,47:h,48:g,49:_,50:y,51:b},{11:39,13:38,24:x,29:S,30:c,31:40,32:41,39:24,40:l,41:27,42:u,43:d,44:f,45:p,46:m,47:h,48:g,49:_,50:y,51:b},{11:45,15:44,29:C,30:c,35:46,39:24,40:l,41:27,42:u,43:d,44:f,45:p,46:m,47:h,48:g,49:_,50:y,51:b},{11:49,17:48,24:w,30:c,39:24,40:l,41:27,42:u,43:d,44:f,45:p,46:m,47:h,48:g,49:_,50:y,51:b},{11:52,17:51,24:w,30:c,39:24,40:l,41:27,42:u,43:d,44:f,45:p,46:m,47:h,48:g,49:_,50:y,51:b},{20:[1,53]},{22:[1,54]},e(T,[2,18]),{1:[2,2]},e(T,[2,8]),e(T,[2,9]),e(E,[2,39],{41:55,42:u,43:d,44:f,45:p,46:m,47:h,48:g,49:_,50:y,51:b}),e(E,[2,40]),e(E,[2,41]),e(D,[2,42]),e(D,[2,44]),e(D,[2,45]),e(D,[2,46]),e(D,[2,47]),e(D,[2,48]),e(D,[2,49]),e(D,[2,50]),e(D,[2,51]),e(D,[2,52]),e(D,[2,53]),e(T,[2,10]),e(T,[2,24],{32:41,31:56,24:x,29:S}),e(T,[2,26]),e(T,[2,27]),{33:[1,57]},{11:59,30:c,34:58,39:24,40:l,41:27,42:u,43:d,44:f,45:p,46:m,47:h,48:g,49:_,50:y,51:b},e(T,[2,11]),e(T,[2,32],{35:60,29:C}),e(T,[2,34]),{33:[1,61]},e(T,[2,12]),{17:62,24:w},{25:63,27:64,29:O},e(T,[2,14]),{17:66,24:w},e(T,[2,16]),e(T,[2,17]),e(D,[2,43]),e(T,[2,25]),{29:[1,67]},{26:[1,68]},{26:[2,31],28:[1,69]},e(T,[2,33]),{29:[1,70]},e(T,[2,13]),{26:[1,71]},{26:[2,21],28:[1,72]},e(k,[2,23],{30:[1,73]}),e(T,[2,15]),e(T,[2,28]),e(T,[2,29]),{11:59,30:c,34:74,39:24,40:l,41:27,42:u,43:d,44:f,45:p,46:m,47:h,48:g,49:_,50:y,51:b},e(T,[2,35]),e(T,[2,19]),{25:75,27:64,29:O},e(k,[2,22]),{26:[2,30]},{26:[2,20]}],defaultActions:{8:[2,1],10:[2,3],21:[2,2],74:[2,30],75:[2,20]},parseError:v(function(e,t){if(t.recoverable)this.trace(e);else{var n=Error(e);throw n.hash=t,n}},`parseError`),parse:v(function(e){var t=this,n=[0],r=[],i=[null],a=[],o=this.table,s=``,c=0,l=0,u=0,d=2,f=1,p=a.slice.call(arguments,1),m=Object.create(this.lexer),h={yy:{}};for(var g in this.yy)Object.prototype.hasOwnProperty.call(this.yy,g)&&(h.yy[g]=this.yy[g]);m.setInput(e,h.yy),h.yy.lexer=m,h.yy.parser=this,m.yylloc===void 0&&(m.yylloc={});var _=m.yylloc;a.push(_);var y=m.options&&m.options.ranges;this.parseError=typeof h.yy.parseError==`function`?h.yy.parseError:Object.getPrototypeOf(this).parseError;function b(e){n.length-=2*e,i.length-=e,a.length-=e}v(b,`popStack`);function x(){var e=r.pop()||m.lex()||f;return typeof e!=`number`&&(e instanceof Array&&(r=e,e=r.pop()),e=t.symbols_[e]||e),e}v(x,`lex`);for(var S,C,w,T,E,D={},O,k,A,j;;){if(w=n[n.length-1],this.defaultActions[w]?T=this.defaultActions[w]:(S??=x(),T=o[w]&&o[w][S]),T===void 0||!T.length||!T[0]){var M=``;for(O in j=[],o[w])this.terminals_[O]&&O>d&&j.push(`'`+this.terminals_[O]+`'`);M=m.showPosition?`Parse error on line `+(c+1)+`:
|
|
3
3
|
`+m.showPosition()+`
|
|
4
4
|
Expecting `+j.join(`, `)+`, got '`+(this.terminals_[S]||S)+`'`:`Parse error on line `+(c+1)+`: Unexpected `+(S==f?`end of input`:`'`+(this.terminals_[S]||S)+`'`),this.parseError(M,{text:m.match,token:this.terminals_[S]||S,line:m.yylineno,loc:_,expected:j})}if(T[0]instanceof Array&&T.length>1)throw Error(`Parse Error: multiple actions possible at state: `+w+`, token: `+S);switch(T[0]){case 1:n.push(S),i.push(m.yytext),a.push(m.yylloc),n.push(T[1]),S=null,C?(S=C,C=null):(l=m.yyleng,s=m.yytext,c=m.yylineno,_=m.yylloc,u>0&&u--);break;case 2:if(k=this.productions_[T[1]][1],D.$=i[i.length-k],D._$={first_line:a[a.length-(k||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(k||1)].first_column,last_column:a[a.length-1].last_column},y&&(D._$.range=[a[a.length-(k||1)].range[0],a[a.length-1].range[1]]),E=this.performAction.apply(D,[s,l,c,h.yy,T[1],i,a].concat(p)),E!==void 0)return E;k&&(n=n.slice(0,-1*k*2),i=i.slice(0,-1*k),a=a.slice(0,-1*k)),n.push(this.productions_[T[1]][0]),i.push(D.$),a.push(D._$),A=o[n[n.length-2]][n[n.length-1]],n.push(A);break;case 3:return!0}}return!0},`parse`)};A.lexer=(function(){return{EOF:1,parseError:v(function(e,t){if(this.yy.parser)this.yy.parser.parseError(e,t);else throw Error(e)},`parseError`),setInput:v(function(e,t){return this.yy=t||this.yy||{},this._input=e,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match=``,this.conditionStack=[`INITIAL`],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},`setInput`),input:v(function(){var e=this._input[0];return this.yytext+=e,this.yyleng++,this.offset++,this.match+=e,this.matched+=e,e.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),e},`input`),unput:v(function(e){var t=e.length,n=e.split(/(?:\r\n?|\n)/g);this._input=e+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-t),this.offset-=t;var r=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var i=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===r.length?this.yylloc.first_column:0)+r[r.length-n.length].length-n[0].length:this.yylloc.first_column-t},this.options.ranges&&(this.yylloc.range=[i[0],i[0]+this.yyleng-t]),this.yyleng=this.yytext.length,this},`unput`),more:v(function(){return this._more=!0,this},`more`),reject:v(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError(`Lexical error on line `+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
|
|
5
5
|
`+this.showPosition(),{text:``,token:null,line:this.yylineno});return this},`reject`),less:v(function(e){this.unput(this.match.slice(e))},`less`),pastInput:v(function(){var e=this.matched.substr(0,this.matched.length-this.match.length);return(e.length>20?`...`:``)+e.substr(-20).replace(/\n/g,``)},`pastInput`),upcomingInput:v(function(){var e=this.match;return e.length<20&&(e+=this._input.substr(0,20-e.length)),(e.substr(0,20)+(e.length>20?`...`:``)).replace(/\n/g,``)},`upcomingInput`),showPosition:v(function(){var e=this.pastInput(),t=Array(e.length+1).join(`-`);return e+this.upcomingInput()+`
|
|
6
6
|
`+t+`^`},`showPosition`),test_match:v(function(e,t){var n,r,i;if(this.options.backtrack_lexer&&(i={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(i.yylloc.range=this.yylloc.range.slice(0))),r=e[0].match(/(?:\r\n?|\n).*/g),r&&(this.yylineno+=r.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:r?r[r.length-1].length-r[r.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+e[0].length},this.yytext+=e[0],this.match+=e[0],this.matches=e,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(e[0].length),this.matched+=e[0],n=this.performAction.call(this,this.yy,this,t,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var a in i)this[a]=i[a];return!1}return!1},`test_match`),next:v(function(){if(this.done)return this.EOF;this._input||(this.done=!0);var e,t,n,r;this._more||(this.yytext=``,this.match=``);for(var i=this._currentRules(),a=0;a<i.length;a++)if(n=this._input.match(this.rules[i[a]]),n&&(!t||n[0].length>t[0].length)){if(t=n,r=a,this.options.backtrack_lexer){if(e=this.test_match(n,i[a]),e!==!1)return e;if(this._backtrack){t=!1;continue}return!1}if(!this.options.flex)break}return t?(e=this.test_match(t,i[r]),e!==!1&&e):this._input===``?this.EOF:this.parseError(`Lexical error on line `+(this.yylineno+1)+`. Unrecognized text.
|
|
7
7
|
`+this.showPosition(),{text:``,token:null,line:this.yylineno})},`next`),lex:v(function(){return this.next()||this.lex()},`lex`),begin:v(function(e){this.conditionStack.push(e)},`begin`),popState:v(function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},`popState`),_currentRules:v(function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},`_currentRules`),topState:v(function(e){return e=this.conditionStack.length-1-Math.abs(e||0),e>=0?this.conditionStack[e]:`INITIAL`},`topState`),pushState:v(function(e){this.begin(e)},`pushState`),stateStackSize:v(function(){return this.conditionStack.length},`stateStackSize`),options:{"case-insensitive":!0},performAction:v(function(e,t,n,r){switch(n){case 0:break;case 1:break;case 2:return this.popState(),36;case 3:return this.popState(),36;case 4:return 36;case 5:break;case 6:return 10;case 7:return this.pushState(`acc_title`),19;case 8:return this.popState(),`acc_title_value`;case 9:return this.pushState(`acc_descr`),21;case 10:return this.popState(),`acc_descr_value`;case 11:this.pushState(`acc_descr_multiline`);break;case 12:this.popState();break;case 13:return`acc_descr_multiline_value`;case 14:return 5;case 15:return 5;case 16:return 8;case 17:return this.pushState(`axis_data`),`X_AXIS`;case 18:return this.pushState(`axis_data`),`Y_AXIS`;case 19:return this.pushState(`axis_band_data`),24;case 20:return 33;case 21:return this.pushState(`data`),16;case 22:return this.pushState(`data`),18;case 23:return this.pushState(`data_inner`),24;case 24:return 29;case 25:return this.popState(),26;case 26:this.popState();break;case 27:this.pushState(`string`);break;case 28:this.popState();break;case 29:return`STR`;case 30:return 24;case 31:return 26;case 32:return 44;case 33:return`COLON`;case 34:return 45;case 35:return 28;case 36:return 46;case 37:return 47;case 38:return 49;case 39:return 51;case 40:return 48;case 41:return 42;case 42:return 50;case 43:return 43;case 44:break;case 45:return 37;case 46:return 38}},`anonymous`),rules:[/^(?:%%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:(\r?\n))/i,/^(?:(\r?\n))/i,/^(?:[\n\r]+)/i,/^(?:%%[^\n]*)/i,/^(?:title\b)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:\})/i,/^(?:[^\}]*)/i,/^(?:xychart-beta\b)/i,/^(?:xychart\b)/i,/^(?:(?:vertical|horizontal))/i,/^(?:x-axis\b)/i,/^(?:y-axis\b)/i,/^(?:\[)/i,/^(?:-->)/i,/^(?:line\b)/i,/^(?:bar\b)/i,/^(?:\[)/i,/^(?:[+-]?(?:\d+(?:\.\d+)?|\.\d+))/i,/^(?:\])/i,/^(?:(?:`\) \{ this\.pushState\(md_string\); \}\n<md_string>\(\?:\(\?!`"\)\.\)\+ \{ return MD_STR; \}\n<md_string>\(\?:`))/i,/^(?:["])/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:\[)/i,/^(?:\])/i,/^(?:[A-Za-z]+)/i,/^(?::)/i,/^(?:\+)/i,/^(?:,)/i,/^(?:=)/i,/^(?:\*)/i,/^(?:#)/i,/^(?:[\_])/i,/^(?:\.)/i,/^(?:&)/i,/^(?:-)/i,/^(?:[0-9]+)/i,/^(?:\s+)/i,/^(?:;)/i,/^(?:$)/i],conditions:{data_inner:{rules:[0,1,4,5,6,7,9,11,14,15,16,17,18,21,22,24,25,26,27,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46],inclusive:!0},data:{rules:[0,1,3,4,5,6,7,9,11,14,15,16,17,18,21,22,23,26,27,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46],inclusive:!0},axis_band_data:{rules:[0,1,4,5,6,7,9,11,14,15,16,17,18,21,22,25,26,27,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46],inclusive:!0},axis_data:{rules:[0,1,2,4,5,6,7,9,11,14,15,16,17,18,19,20,21,22,24,26,27,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46],inclusive:!0},acc_descr_multiline:{rules:[12,13],inclusive:!1},acc_descr:{rules:[10],inclusive:!1},acc_title:{rules:[8],inclusive:!1},title:{rules:[],inclusive:!1},md_string:{rules:[],inclusive:!1},string:{rules:[28,29],inclusive:!1},INITIAL:{rules:[0,1,4,5,6,7,9,11,14,15,16,17,18,21,22,26,27,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46],inclusive:!0}}}})();function j(){this.yy={}}return v(j,`Parser`),j.prototype=A,A.Parser=j,new j})();C.parser=C;var w=C;function T(e){return e.type===`bar`}v(T,`isBarPlot`);function E(e){return e.type===`band`}v(E,`isBandAxisData`);function D(e){return e.type===`linear`}v(D,`isLinearAxisData`);var O=class{constructor(e){this.parentGroup=e}static{v(this,`TextDimensionCalculatorWithFont`)}getMaxDimension(e,n){if(!this.parentGroup)return{width:e.reduce((e,t)=>Math.max(t.length,e),0)*n,height:n};let r={width:0,height:0},i=this.parentGroup.append(`g`).attr(`visibility`,`hidden`).attr(`font-size`,n),a=i.node()?.getScreenCTM?.(),o=v(e=>e&&e>0?e:1,`toScale`),s=o(a?.a),c=o(a?.d);for(let a of e){let e=t(i,1,a),o=e?e.width/s:a.length*n,l=e?e.height/c:n;r.width=Math.max(r.width,o),r.height=Math.max(r.height,l)}return i.remove(),r}},k=.7,A=.2,j=class{constructor(e,t,n,r){this.axisConfig=e,this.title=t,this.textDimensionCalculator=n,this.axisThemeConfig=r,this.boundingRect={x:0,y:0,width:0,height:0},this.axisPosition=`left`,this.showTitle=!1,this.showLabel=!1,this.showTick=!1,this.showAxisLine=!1,this.outerPadding=0,this.titleTextHeight=0,this.labelTextHeight=0,this.normalizedLabelRotationInRad=0,this.range=[0,10],this.boundingRect={x:0,y:0,width:0,height:0},this.axisPosition=`left`,this.normalizedLabelRotationInRad=this.axisConfig.labelRotation>=-90&&this.axisConfig.labelRotation<=90?this.axisConfig.labelRotation*Math.PI/180:0}static{v(this,`BaseAxis`)}setRange(e){this.range=e,this.axisPosition===`left`||this.axisPosition===`right`?this.boundingRect.height=e[1]-e[0]:this.boundingRect.width=e[1]-e[0],this.recalculateScale()}getRange(){return[this.range[0]+this.outerPadding,this.range[1]-this.outerPadding]}setAxisPosition(e){this.axisPosition=e,this.setRange(this.range)}getTickDistance(){let e=this.getRange();return Math.abs(e[0]-e[1])/this.getTickValues().length}getAxisOuterPadding(){return this.outerPadding}getLabelDimension(){return this.textDimensionCalculator.getMaxDimension(this.getTickValues().map(e=>e.toString()),this.axisConfig.labelFontSize)}recalculateOuterPaddingToDrawBar(){k*this.getTickDistance()>this.outerPadding*2&&(this.outerPadding=Math.floor(k*this.getTickDistance()/2)),this.recalculateScale()}calculateSpaceIfDrawnHorizontally(e){let t=e.height;if(this.axisConfig.showAxisLine&&t>this.axisConfig.axisLineWidth&&(t-=this.axisConfig.axisLineWidth,this.showAxisLine=!0),this.axisConfig.showLabel){let n=this.getLabelDimension(),r=A*e.width;this.outerPadding=Math.min(n.width/2,r);let i=n.height;this.axisPosition===`bottom`&&this.normalizedLabelRotationInRad!==0&&(i=Math.max(i,Math.abs(Math.sin(this.normalizedLabelRotationInRad)*n.width)+Math.abs(Math.cos(this.normalizedLabelRotationInRad)*n.height))),i+=this.axisConfig.labelPadding*2,this.labelTextHeight=n.height,i<=t&&(t-=i,this.showLabel=!0)}if(this.axisConfig.showTick&&t>=this.axisConfig.tickLength&&(this.showTick=!0,t-=this.axisConfig.tickLength),this.axisConfig.showTitle&&this.title){let e=this.textDimensionCalculator.getMaxDimension([this.title],this.axisConfig.titleFontSize),n=e.height+this.axisConfig.titlePadding*2;this.titleTextHeight=e.height,n<=t&&(t-=n,this.showTitle=!0)}this.boundingRect.width=e.width,this.boundingRect.height=e.height-t}calculateSpaceIfDrawnVertical(e){let t=e.width;if(this.axisConfig.showAxisLine&&t>this.axisConfig.axisLineWidth&&(t-=this.axisConfig.axisLineWidth,this.showAxisLine=!0),this.axisConfig.showLabel){let n=this.getLabelDimension(),r=A*e.height;this.outerPadding=Math.min(n.height/2,r);let i=n.width+this.axisConfig.labelPadding*2;i<=t&&(t-=i,this.showLabel=!0)}if(this.axisConfig.showTick&&t>=this.axisConfig.tickLength&&(this.showTick=!0,t-=this.axisConfig.tickLength),this.axisConfig.showTitle&&this.title){let e=this.textDimensionCalculator.getMaxDimension([this.title],this.axisConfig.titleFontSize),n=e.height+this.axisConfig.titlePadding*2;this.titleTextHeight=e.height,n<=t&&(t-=n,this.showTitle=!0)}this.boundingRect.width=e.width-t,this.boundingRect.height=e.height}calculateSpace(e){return this.axisPosition===`left`||this.axisPosition===`right`?this.calculateSpaceIfDrawnVertical(e):this.calculateSpaceIfDrawnHorizontally(e),this.recalculateScale(),{width:this.boundingRect.width,height:this.boundingRect.height}}setBoundingBoxXY(e){this.boundingRect.x=e.x,this.boundingRect.y=e.y}calculateOffsetByRotation(e){let t=this.normalizedLabelRotationInRad;return t===0?0:Math.sin(t)*this.getLabelDimension()[e]/2}getDrawableElementsForLeftAxis(){let e=[];if(this.showAxisLine){let t=this.boundingRect.x+this.boundingRect.width-this.axisConfig.axisLineWidth/2;e.push({type:`path`,groupTexts:[`left-axis`,`axisl-line`],data:[{path:`M ${t},${this.boundingRect.y} L ${t},${this.boundingRect.y+this.boundingRect.height} `,strokeFill:this.axisThemeConfig.axisLineColor,strokeWidth:this.axisConfig.axisLineWidth}]})}if(this.showLabel&&e.push({type:`text`,groupTexts:[`left-axis`,`label`],data:this.getTickValues().map(e=>({text:e.toString(),x:this.boundingRect.x+this.boundingRect.width-(this.showLabel?this.axisConfig.labelPadding:0)-(this.showTick?this.axisConfig.tickLength:0)-(this.showAxisLine?this.axisConfig.axisLineWidth:0),y:this.getScaleValue(e),fill:this.axisThemeConfig.labelColor,fontSize:this.axisConfig.labelFontSize,rotation:0,verticalPos:`middle`,horizontalPos:`right`}))}),this.showTick){let t=this.boundingRect.x+this.boundingRect.width-(this.showAxisLine?this.axisConfig.axisLineWidth:0);e.push({type:`path`,groupTexts:[`left-axis`,`ticks`],data:this.getTickValues().map(e=>({path:`M ${t},${this.getScaleValue(e)} L ${t-this.axisConfig.tickLength},${this.getScaleValue(e)}`,strokeFill:this.axisThemeConfig.tickColor,strokeWidth:this.axisConfig.tickWidth}))})}return this.showTitle&&e.push({type:`text`,groupTexts:[`left-axis`,`title`],data:[{text:this.title,x:this.boundingRect.x+this.axisConfig.titlePadding,y:this.boundingRect.y+this.boundingRect.height/2,fill:this.axisThemeConfig.titleColor,fontSize:this.axisConfig.titleFontSize,rotation:270,verticalPos:`top`,horizontalPos:`center`}]}),e}getDrawableElementsForBottomAxis(){let e=[];if(this.showAxisLine){let t=this.boundingRect.y+this.axisConfig.axisLineWidth/2;e.push({type:`path`,groupTexts:[`bottom-axis`,`axis-line`],data:[{path:`M ${this.boundingRect.x},${t} L ${this.boundingRect.x+this.boundingRect.width},${t}`,strokeFill:this.axisThemeConfig.axisLineColor,strokeWidth:this.axisConfig.axisLineWidth}]})}if(this.showLabel&&e.push({type:`text`,groupTexts:[`bottom-axis`,`label`],data:this.getTickValues().map(e=>({text:e.toString(),x:this.getScaleValue(e)+this.calculateOffsetByRotation(`height`),y:this.boundingRect.y+this.axisConfig.labelPadding+(this.showTick?this.axisConfig.tickLength:0)+(this.showAxisLine?this.axisConfig.axisLineWidth:0)+Math.abs(this.calculateOffsetByRotation(`width`)),fill:this.axisThemeConfig.labelColor,fontSize:this.axisConfig.labelFontSize,rotation:this.normalizedLabelRotationInRad*180/Math.PI,verticalPos:`top`,horizontalPos:`center`}))}),this.showTick){let t=this.boundingRect.y+(this.showAxisLine?this.axisConfig.axisLineWidth:0);e.push({type:`path`,groupTexts:[`bottom-axis`,`ticks`],data:this.getTickValues().map(e=>({path:`M ${this.getScaleValue(e)},${t} L ${this.getScaleValue(e)},${t+this.axisConfig.tickLength}`,strokeFill:this.axisThemeConfig.tickColor,strokeWidth:this.axisConfig.tickWidth}))})}return this.showTitle&&e.push({type:`text`,groupTexts:[`bottom-axis`,`title`],data:[{text:this.title,x:this.range[0]+(this.range[1]-this.range[0])/2,y:this.boundingRect.y+this.boundingRect.height-this.axisConfig.titlePadding-this.titleTextHeight,fill:this.axisThemeConfig.titleColor,fontSize:this.axisConfig.titleFontSize,rotation:0,verticalPos:`top`,horizontalPos:`center`}]}),e}getDrawableElementsForTopAxis(){let e=[];if(this.showAxisLine){let t=this.boundingRect.y+this.boundingRect.height-this.axisConfig.axisLineWidth/2;e.push({type:`path`,groupTexts:[`top-axis`,`axis-line`],data:[{path:`M ${this.boundingRect.x},${t} L ${this.boundingRect.x+this.boundingRect.width},${t}`,strokeFill:this.axisThemeConfig.axisLineColor,strokeWidth:this.axisConfig.axisLineWidth}]})}if(this.showLabel&&e.push({type:`text`,groupTexts:[`top-axis`,`label`],data:this.getTickValues().map(e=>({text:e.toString(),x:this.getScaleValue(e),y:this.boundingRect.y+(this.showTitle?this.titleTextHeight+this.axisConfig.titlePadding*2:0)+this.axisConfig.labelPadding,fill:this.axisThemeConfig.labelColor,fontSize:this.axisConfig.labelFontSize,rotation:0,verticalPos:`top`,horizontalPos:`center`}))}),this.showTick){let t=this.boundingRect.y;e.push({type:`path`,groupTexts:[`top-axis`,`ticks`],data:this.getTickValues().map(e=>({path:`M ${this.getScaleValue(e)},${t+this.boundingRect.height-(this.showAxisLine?this.axisConfig.axisLineWidth:0)} L ${this.getScaleValue(e)},${t+this.boundingRect.height-this.axisConfig.tickLength-(this.showAxisLine?this.axisConfig.axisLineWidth:0)}`,strokeFill:this.axisThemeConfig.tickColor,strokeWidth:this.axisConfig.tickWidth}))})}return this.showTitle&&e.push({type:`text`,groupTexts:[`top-axis`,`title`],data:[{text:this.title,x:this.boundingRect.x+this.boundingRect.width/2,y:this.boundingRect.y+this.axisConfig.titlePadding,fill:this.axisThemeConfig.titleColor,fontSize:this.axisConfig.titleFontSize,rotation:0,verticalPos:`top`,horizontalPos:`center`}]}),e}getDrawableElements(){if(this.axisPosition===`left`)return this.getDrawableElementsForLeftAxis();if(this.axisPosition===`right`)throw Error(`Drawing of right axis is not implemented`);return this.axisPosition===`bottom`?this.getDrawableElementsForBottomAxis():this.axisPosition===`top`?this.getDrawableElementsForTopAxis():[]}},M=class extends j{static{v(this,`BandAxis`)}constructor(e,t,n,r,i){super(e,r,i,t),this.categories=n,this.scale=S().domain(this.categories).range(this.getRange())}setRange(e){super.setRange(e)}recalculateScale(){this.scale=S().domain(this.categories).range(this.getRange()).paddingInner(1).paddingOuter(0).align(.5),g.trace(`BandAxis axis final categories, range: `,this.categories,this.getRange())}getTickValues(){return this.categories}getScaleValue(e){return this.scale(e)??this.getRange()[0]}},ee=class extends j{static{v(this,`LinearAxis`)}constructor(e,t,r,i,a){super(e,i,a,t),this.domain=r,this.scale=n().domain(this.domain).range(this.getRange())}getTickValues(){return this.scale.ticks()}recalculateScale(){let e=[...this.domain];this.axisPosition===`left`&&e.reverse(),this.scale=n().domain(e).range(this.getRange())}getScaleValue(e){return this.scale(e)}};function N(e,t,n,r){let i=new O(r);return E(e)?new M(t,n,e.categories,e.title,i):new ee(t,n,[e.min,e.max],e.title,i)}v(N,`getAxis`);var te=class{constructor(e,t,n,r){this.textDimensionCalculator=e,this.chartConfig=t,this.chartData=n,this.chartThemeConfig=r,this.titleWidth=0,this.boundingRect={x:0,y:0,width:0,height:0},this.showChartTitle=!1}static{v(this,`ChartTitle`)}setBoundingBoxXY(e){this.boundingRect.x=e.x,this.boundingRect.y=e.y}calculateSpace(e){let t=this.textDimensionCalculator.getMaxDimension([this.chartData.title],this.chartConfig.titleFontSize),n=Math.max(t.width,e.width),r=t.height+2*this.chartConfig.titlePadding;return r<=e.height&&this.chartConfig.showTitle&&this.chartData.title&&(this.boundingRect.width=n,this.boundingRect.height=r,this.titleWidth=t.width,this.showChartTitle=!0),{width:this.boundingRect.width,height:this.boundingRect.height}}alignTo(e,t){let n=Math.min(this.titleWidth,this.chartConfig.width)/2,r=Math.min(Math.max((e+t)/2,n),this.chartConfig.width-n);this.boundingRect.x=r-n,this.boundingRect.width=n*2}getDrawableElements(){let e=[];return this.showChartTitle&&e.push({groupTexts:[`chart-title`],type:`text`,data:[{fontSize:this.chartConfig.titleFontSize,text:this.chartData.title,verticalPos:`middle`,horizontalPos:`center`,x:this.boundingRect.x+this.boundingRect.width/2,y:this.boundingRect.y+this.boundingRect.height/2,fill:this.chartThemeConfig.titleColor,rotation:0}]}),e}};function P(e,t,n,r){return new te(new O(r),e,t,n)}v(P,`getChartTitleComponent`);var ne=.75,re=.5,ie=.35;function F(e){return{fontSize:e,markerSize:e*ne,markerSpacing:e*ie,itemSpacing:e*re}}v(F,`getLegendLayout`);var ae=class{constructor(e,t,n,r){this.textDimensionCalculator=e,this.chartConfig=t,this.chartData=n,this.chartThemeConfig=r,this.boundingRect={x:0,y:0,width:0,height:0},this.visiblePlots=[]}static{v(this,`ChartLegend`)}setBoundingBoxXY(e){this.boundingRect.x=e.x,this.boundingRect.y=e.y}calculateSpace(e){if(this.visiblePlots=this.chartConfig.showLegend?this.chartData.plots.filter(e=>e.title):[],this.visiblePlots.length===0)return this.boundingRect.width=0,this.boundingRect.height=0,{width:0,height:0};let{fontSize:t,markerSize:n,markerSpacing:r,itemSpacing:i}=F(this.chartConfig.legendFontSize),a=this.textDimensionCalculator.getMaxDimension(this.visiblePlots.map(e=>e.title),t),o=this.chartConfig.legendPadding*2+n+r+a.width,s=this.chartConfig.legendPadding*2+this.visiblePlots.length*t+(this.visiblePlots.length-1)*i;return o<=e.width&&s<=e.height?(this.boundingRect.width=o,this.boundingRect.height=s):(this.visiblePlots=[],this.boundingRect.width=0,this.boundingRect.height=0),{width:this.boundingRect.width,height:this.boundingRect.height}}getDrawableElements(){if(this.visiblePlots.length===0)return[];let{fontSize:e,markerSize:t,markerSpacing:n,itemSpacing:r}=F(this.chartConfig.legendFontSize),i=e+r,a=this.boundingRect.x+this.chartConfig.legendPadding,o=this.boundingRect.y+this.chartConfig.legendPadding,s=[],c=[];for(let[e,n]of this.visiblePlots.entries())if(T(n))s.push({x:a,y:o+e*i,width:t,height:t,fill:n.fill,strokeFill:n.fill,strokeWidth:0});else{let r=o+e*i+t/2;c.push({path:`M ${a},${r} L ${a+t},${r}`,strokeFill:n.strokeFill,strokeWidth:n.strokeWidth})}return[{groupTexts:[`legend`,`markers`],type:`rect`,data:s},{groupTexts:[`legend`,`markers`],type:`path`,data:c},{groupTexts:[`legend`,`label`],type:`text`,data:this.visiblePlots.map((r,s)=>({text:r.title,x:a+t+n,y:o+s*i+t/2,fill:this.chartThemeConfig.legendTextColor,fontSize:e,rotation:0,verticalPos:`middle`,horizontalPos:`left`}))}]}};function I(e,t,n,r){return new ae(new O(r),e,t,n)}v(I,`getChartLegendComponent`);var oe=class{constructor(e,t,n,r,i){this.plotData=e,this.xAxis=t,this.yAxis=n,this.orientation=r,this.plotIndex=i}static{v(this,`LinePlot`)}getDrawableElement(){let e=this.plotData.data.map(e=>[this.xAxis.getScaleValue(e[0]),this.yAxis.getScaleValue(e[1])]),t;if(t=this.orientation===`horizontal`?_().y(e=>e[0]).x(e=>e[1])(e):_().x(e=>e[0]).y(e=>e[1])(e),!t)return[];let n=[{groupTexts:[`plot`,`line-plot-${this.plotIndex}`],type:`path`,data:[{path:t,strokeFill:this.plotData.strokeFill,strokeWidth:this.plotData.strokeWidth}]}];if(this.plotData.pointLabels&&this.plotData.pointLabels.length>0){let t=[];for(let[n,[r,i]]of e.entries()){let e=this.plotData.pointLabels[n];e&&(this.orientation===`horizontal`?t.push({x:i+10,y:r,text:e,fill:this.plotData.strokeFill,verticalPos:`middle`,horizontalPos:`left`,fontSize:12,rotation:0}):t.push({x:r,y:i-10,text:e,fill:this.plotData.strokeFill,verticalPos:`middle`,horizontalPos:`center`,fontSize:12,rotation:0}))}t.length>0&&n.push({groupTexts:[`plot`,`line-plot-${this.plotIndex}`,`labels`],type:`text`,data:t})}return n}},se=class{constructor(e,t,n,r,i,a){this.barData=e,this.boundingRect=t,this.xAxis=n,this.yAxis=r,this.orientation=i,this.plotIndex=a}static{v(this,`BarPlot`)}getDrawableElement(){let e=this.barData.data.map(e=>[this.xAxis.getScaleValue(e[0]),this.yAxis.getScaleValue(e[1])]),t=Math.min(this.xAxis.getAxisOuterPadding()*2,this.xAxis.getTickDistance())*.95,n=t/2;return this.orientation===`horizontal`?[{groupTexts:[`plot`,`bar-plot-${this.plotIndex}`],type:`rect`,data:e.map(e=>({x:this.boundingRect.x,y:e[0]-n,height:t,width:e[1]-this.boundingRect.x,fill:this.barData.fill,strokeWidth:0,strokeFill:this.barData.fill}))}]:[{groupTexts:[`plot`,`bar-plot-${this.plotIndex}`],type:`rect`,data:e.map(e=>({x:e[0]-n,y:e[1],width:t,height:this.boundingRect.y+this.boundingRect.height-e[1],fill:this.barData.fill,strokeWidth:0,strokeFill:this.barData.fill}))}]}},ce=class{constructor(e,t,n){this.chartConfig=e,this.chartData=t,this.chartThemeConfig=n,this.boundingRect={x:0,y:0,width:0,height:0}}static{v(this,`BasePlot`)}setAxes(e,t){this.xAxis=e,this.yAxis=t}setBoundingBoxXY(e){this.boundingRect.x=e.x,this.boundingRect.y=e.y}calculateSpace(e){return this.boundingRect.width=e.width,this.boundingRect.height=e.height,{width:this.boundingRect.width,height:this.boundingRect.height}}getDrawableElements(){if(!(this.xAxis&&this.yAxis))throw Error(`Axes must be passed to render Plots`);let e=[];for(let[t,n]of this.chartData.plots.entries())switch(n.type){case`line`:{let r=new oe(n,this.xAxis,this.yAxis,this.chartConfig.chartOrientation,t);e.push(...r.getDrawableElement())}break;case`bar`:{let r=new se(n,this.boundingRect,this.xAxis,this.yAxis,this.chartConfig.chartOrientation,t);e.push(...r.getDrawableElement())}}return e}};function le(e,t,n){return new ce(e,t,n)}v(le,`getPlotComponent`);var ue=class{constructor(e,t,n,r){this.chartConfig=e,this.chartData=t,this.componentStore={title:P(e,t,n,r),plot:le(e,t,n),legend:I(e,t,n,r),xAxis:N(t.xAxis,e.xAxis,{titleColor:n.xAxisTitleColor,labelColor:n.xAxisLabelColor,tickColor:n.xAxisTickColor,axisLineColor:n.xAxisLineColor},r),yAxis:N(t.yAxis,e.yAxis,{titleColor:n.yAxisTitleColor,labelColor:n.yAxisLabelColor,tickColor:n.yAxisTickColor,axisLineColor:n.yAxisLineColor},r)}}static{v(this,`Orchestrator`)}calculateVerticalSpace(){let e=this.chartConfig.width,t=this.chartConfig.height,n=0,r=0,i={width:0,height:0},a=Math.floor(e*this.chartConfig.plotReservedSpacePercent/100),o=Math.floor(t*this.chartConfig.plotReservedSpacePercent/100),s=this.componentStore.plot.calculateSpace({width:a,height:o});e-=s.width,t-=s.height,s=this.componentStore.title.calculateSpace({width:this.chartConfig.width,height:t}),r=s.height,t-=s.height,this.componentStore.xAxis.setAxisPosition(`bottom`),s=this.componentStore.xAxis.calculateSpace({width:e,height:t}),t-=s.height,this.componentStore.yAxis.setAxisPosition(`left`),s=this.componentStore.yAxis.calculateSpace({width:e,height:t}),n=s.width,e-=s.width,i=this.componentStore.legend.calculateSpace({width:e,height:o}),e-=i.width,e>0&&(a+=e,e=0),t>0&&(o+=t,t=0),this.componentStore.plot.calculateSpace({width:a,height:o}),this.componentStore.plot.setBoundingBoxXY({x:n,y:r}),this.componentStore.title.alignTo(n,n+a),this.componentStore.legend.setBoundingBoxXY({x:n+a,y:r+Math.max((o-i.height)/2,0)}),this.componentStore.xAxis.setRange([n,n+a]),this.componentStore.xAxis.setBoundingBoxXY({x:n,y:r+o}),this.componentStore.yAxis.setRange([r,r+o]),this.componentStore.yAxis.setBoundingBoxXY({x:0,y:r}),this.chartData.plots.some(e=>T(e))&&this.componentStore.xAxis.recalculateOuterPaddingToDrawBar()}calculateHorizontalSpace(){let e=this.chartConfig.width,t=this.chartConfig.height,n=0,r=0,i=0,a={width:0,height:0},o=Math.floor(e*this.chartConfig.plotReservedSpacePercent/100),s=Math.floor(t*this.chartConfig.plotReservedSpacePercent/100),c=this.componentStore.plot.calculateSpace({width:o,height:s});e-=c.width,t-=c.height,c=this.componentStore.title.calculateSpace({width:this.chartConfig.width,height:t}),n=c.height,t-=c.height,this.componentStore.xAxis.setAxisPosition(`left`),c=this.componentStore.xAxis.calculateSpace({width:e,height:t}),e-=c.width,r=c.width,this.componentStore.yAxis.setAxisPosition(`top`),c=this.componentStore.yAxis.calculateSpace({width:e,height:t}),t-=c.height,i=n+c.height,a=this.componentStore.legend.calculateSpace({width:e,height:s}),e-=a.width,e>0&&(o+=e,e=0),t>0&&(s+=t,t=0),this.componentStore.plot.calculateSpace({width:o,height:s}),this.componentStore.plot.setBoundingBoxXY({x:r,y:i}),this.componentStore.title.alignTo(r,r+o),this.componentStore.legend.setBoundingBoxXY({x:r+o,y:i+Math.max((s-a.height)/2,0)}),this.componentStore.yAxis.setRange([r,r+o]),this.componentStore.yAxis.setBoundingBoxXY({x:r,y:n}),this.componentStore.xAxis.setRange([i,i+s]),this.componentStore.xAxis.setBoundingBoxXY({x:0,y:i}),this.chartData.plots.some(e=>T(e))&&this.componentStore.xAxis.recalculateOuterPaddingToDrawBar()}calculateSpace(){this.chartConfig.chartOrientation===`horizontal`?this.calculateHorizontalSpace():this.calculateVerticalSpace()}getDrawableElement(){this.calculateSpace();let e=[];this.componentStore.plot.setAxes(this.componentStore.xAxis,this.componentStore.yAxis);for(let t of Object.values(this.componentStore))e.push(...t.getDrawableElements());return e}},de=class{static{v(this,`XYChartBuilder`)}static build(e,t,n,r){return new ue(e,t,n,r).getDrawableElement()}},L=0,R,z=K(),B=G(),V=q(),H=B.plotColorPalette.split(`,`).map(e=>e.trim()),U=!1,W=!1;function G(){let e=a(),t=m();return r(e.xyChart,t.themeVariables.xyChart)}v(G,`getChartDefaultThemeConfig`);function K(){let e=m();return r(d.xyChart,e.xyChart)}v(K,`getChartDefaultConfig`);function q(){return{yAxis:{type:`linear`,title:``,min:1/0,max:-1/0},xAxis:{type:`band`,title:``,categories:[]},title:``,plots:[]}}v(q,`getChartDefaultData`);function J(e){let t=m();return h(e.trim(),t)}v(J,`textSanitizer`);function Y(e){R=e}v(Y,`setTmpSVGG`);function fe(e){e===`horizontal`?z.chartOrientation=`horizontal`:z.chartOrientation=`vertical`}v(fe,`setOrientation`);function pe(e){V.xAxis.title=J(e.text)}v(pe,`setXAxisTitle`);function X(e,t){V.xAxis={type:`linear`,title:V.xAxis.title,min:e,max:t},U=!0}v(X,`setXAxisRangeData`);function me(e){V.xAxis={type:`band`,title:V.xAxis.title,categories:e.map(e=>J(e.text))},U=!0}v(me,`setXAxisBand`);function he(e){V.yAxis.title=J(e.text)}v(he,`setYAxisTitle`);function Z(e,t){V.yAxis={type:`linear`,title:V.yAxis.title,min:e,max:t},W=!0}v(Z,`setYAxisRangeData`);function ge(e){let t=Math.min(...e),n=Math.max(...e),r=D(V.yAxis)?V.yAxis.min:1/0,i=D(V.yAxis)?V.yAxis.max:-1/0;V.yAxis={type:`linear`,title:V.yAxis.title,min:Math.min(r,t),max:Math.max(i,n)}}v(ge,`setYAxisRangeFromPlotData`);function Q(e){let t=[];if(e.length===0)return t;if(!U){let t=D(V.xAxis)?V.xAxis.min:1/0,n=D(V.xAxis)?V.xAxis.max:-1/0;X(Math.min(t,1),Math.max(n,e.length))}if(E(V.xAxis)&&e.length>V.xAxis.categories.length&&(e=e.slice(0,V.xAxis.categories.length)),W||ge(e),E(V.xAxis)&&(t=V.xAxis.categories.map((t,n)=>[t,e[n]])),D(V.xAxis)){let n=V.xAxis.min,r=V.xAxis.max;if(e.length===1)t=[[`${n}`,e[0]]];else{let i=(r-n)/(e.length-1);t=e.map((e,t)=>[`${n+t*i}`,e])}}return t}v(Q,`transformDataWithoutCategory`);function $(e){return H[e===0?0:e%H.length]}v($,`getPlotColorFromPalette`);function _e(e,t){let n=t.map(e=>e.value),r=t.map(e=>e.label?J(e.label):``),i=Q(n),a=r.some(e=>e!==``);V.plots.push({type:`line`,title:J(e.text),strokeFill:$(L),strokeWidth:2,data:i,...a?{pointLabels:r}:{}}),L++}v(_e,`setLineData`);function ve(e,t){let n=Q(t.map(e=>e.value));V.plots.push({type:`bar`,title:J(e.text),fill:$(L),data:n}),L++}v(ve,`setBarData`);function ye(){if(V.plots.length===0)throw Error(`No Plot to render, please provide a plot with some data`);return V.title=i(),de.build(z,V,B,R)}v(ye,`getDrawableElem`);function be(){return B}v(be,`getChartThemeConfig`);function xe(){return z}v(xe,`getChartConfig`);function Se(){return V}v(Se,`getXYChartData`);var Ce={parser:w,db:{getDrawableElem:ye,clear:v(function(){l(),L=0,z=K(),V=q(),B=G(),H=B.plotColorPalette.split(`,`).map(e=>e.trim()),U=!1,W=!1},`clear`),setAccTitle:s,getAccTitle:p,setDiagramTitle:f,getDiagramTitle:i,getAccDescription:c,setAccDescription:o,setOrientation:fe,setXAxisTitle:pe,setXAxisRangeData:X,setXAxisBand:me,setYAxisTitle:he,setYAxisRangeData:Z,setLineData:_e,setBarData:ve,setTmpSVGG:Y,getChartThemeConfig:be,getChartConfig:xe,getXYChartData:Se},renderer:{draw:v((t,n,r,i)=>{let a=i.db,o=a.getChartThemeConfig(),s=a.getChartConfig(),c=a.getXYChartData().plots[0].data.map(e=>e[1]);function l(e){return e===`top`?`text-before-edge`:`middle`}v(l,`getDominantBaseLine`);function d(e){return e===`left`?`start`:e===`right`?`end`:`middle`}v(d,`getTextAnchor`);function f(e){return`translate(${e.x}, ${e.y}) rotate(${e.rotation||0})`}v(f,`getTextTransformation`),g.debug(`Rendering xychart chart
|
|
8
8
|
`+t);let p=e(n),m=p.append(`g`).attr(`class`,`main`),h=m.append(`rect`).attr(`width`,s.width).attr(`height`,s.height).attr(`class`,`background`);u(p,s.height,s.width,!0),p.attr(`viewBox`,`0 0 ${s.width} ${s.height}`),h.attr(`fill`,o.backgroundColor),a.setTmpSVGG(p.append(`g`).attr(`class`,`mermaid-tmp-group`));let _=a.getDrawableElem(),y={};function b(e){let t=m,n=``;for(let[r]of e.entries()){let i=m;r>0&&y[n]&&(i=y[n]),n+=e[r],t=y[n],t||=y[n]=i.append(`g`).attr(`class`,e[r])}return t}v(b,`getGroup`);for(let e of _){if(e.data.length===0)continue;let t=b(e.groupTexts);switch(e.type){case`rect`:if(t.selectAll(`rect`).data(e.data).enter().append(`rect`).attr(`x`,e=>e.x).attr(`y`,e=>e.y).attr(`width`,e=>e.width).attr(`height`,e=>e.height).attr(`fill`,e=>e.fill).attr(`stroke`,e=>e.strokeFill).attr(`stroke-width`,e=>e.strokeWidth),s.showDataLabel){let n=s.showDataLabelOutsideBar;if(s.chartOrientation===`horizontal`){let r=function(e,t){let{data:n,label:r}=e;return t*r.length*i<=n.width-a};v(r,`fitsHorizontally`);let i=.7,a=10,s=e.data.map((e,t)=>({data:e,label:c[t].toString()})).filter(e=>e.data.width>0&&e.data.height>0),l=s.map(e=>{let{data:t}=e,n=t.height*.7;for(;!r(e,n)&&n>0;)--n;return n}),u=Math.floor(Math.min(...l)),d=v(e=>n?e.data.x+e.data.width+10:e.data.x+e.data.width-10,`determineLabelXPosition`);t.selectAll(`text`).data(s).enter().append(`text`).attr(`x`,d).attr(`y`,e=>e.data.y+e.data.height/2).attr(`text-anchor`,n?`start`:`end`).attr(`dominant-baseline`,`middle`).attr(`fill`,o.dataLabelColor).attr(`font-size`,`${u}px`).text(e=>e.label)}else{let r=function(e,t,n){let{data:r,label:i}=e,a=t*i.length*.7,o=r.x+r.width/2,s=o-a/2,c=o+a/2,l=s>=r.x&&c<=r.x+r.width,u=r.y+n+t<=r.y+r.height;return l&&u};v(r,`fitsInBar`);let i=e.data.map((e,t)=>({data:e,label:c[t].toString()})).filter(e=>e.data.width>0&&e.data.height>0),a=i.map(e=>{let{data:t,label:n}=e,i=t.width/(n.length*.7);for(;!r(e,i,10)&&i>0;)--i;return i}),s=Math.floor(Math.min(...a)),l=v(e=>n?e.data.y-10:e.data.y+10,`determineLabelYPosition`);t.selectAll(`text`).data(i).enter().append(`text`).attr(`x`,e=>e.data.x+e.data.width/2).attr(`y`,l).attr(`text-anchor`,`middle`).attr(`dominant-baseline`,n?`auto`:`hanging`).attr(`fill`,o.dataLabelColor).attr(`font-size`,`${s}px`).text(e=>e.label)}}break;case`text`:t.selectAll(`text`).data(e.data).enter().append(`text`).attr(`x`,0).attr(`y`,0).attr(`fill`,e=>e.fill).attr(`font-size`,e=>e.fontSize).attr(`dominant-baseline`,e=>l(e.verticalPos)).attr(`text-anchor`,e=>d(e.horizontalPos)).attr(`transform`,e=>f(e)).text(e=>e.text);break;case`path`:t.selectAll(`path`).data(e.data).enter().append(`path`).attr(`d`,e=>e.path).attr(`fill`,e=>e.fill?e.fill:`none`).attr(`stroke`,e=>e.strokeFill).attr(`stroke-width`,e=>e.strokeWidth)}}},`draw`)}};export{Ce as diagram};
|
|
9
|
-
//# chunkId=
|
|
9
|
+
//# chunkId=775c9dfa-6761-5587-a2eb-f057950c5b91
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};e._posthogReleaseId=e._posthogReleaseId||"
|
|
1
|
+
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};e._posthogReleaseId=e._posthogReleaseId||"01a1d4e7-1d7c-0000-936b-9f26fd0186d7";var n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]="df56f4a6-2eb1-5904-9ef4-364303ae2222")}catch(e){}}();
|
|
2
2
|
function e(e){for(var t={},n=e.split(` `),r=0;r<n.length;++r)t[n[r]]=!0;return t}var t=e(`Assert BackQuote D Defun Deriv For ForEach FromFile FromString Function Integrate InverseTaylor Limit LocalSymbols Macro MacroRule MacroRulePattern NIntegrate Rule RulePattern Subst TD TExplicitSum TSum Taylor Taylor1 Taylor2 Taylor3 ToFile ToStdout ToString TraceRule Until While`),n=`(?:(?:\\.\\d+|\\d+\\.\\d*|\\d+)(?:[eE][+-]?\\d+)?)`,r=`(?:[a-zA-Z\\$'][a-zA-Z0-9\\$']*)`,i=new RegExp(n),a=new RegExp(r),o=RegExp(r+`?_`+r),s=RegExp(r+`\\s*\\(`);function c(e,n){var r=e.next();if(r===`"`)return n.tokenize=l,n.tokenize(e,n);if(r===`/`){if(e.eat(`*`))return n.tokenize=u,n.tokenize(e,n);if(e.eat(`/`))return e.skipToEnd(),`comment`}e.backUp(1);var c=e.match(/^(\w+)\s*\(/,!1);c!==null&&t.hasOwnProperty(c[1])&&n.scopes.push(`bodied`);var f=d(n);if(f===`bodied`&&r===`[`&&n.scopes.pop(),(r===`[`||r===`{`||r===`(`)&&n.scopes.push(r),f=d(n),(f===`[`&&r===`]`||f===`{`&&r===`}`||f===`(`&&r===`)`)&&n.scopes.pop(),r===`;`)for(;f===`bodied`;)n.scopes.pop(),f=d(n);return e.match(/\d+ *#/,!0,!1)?`qualifier`:e.match(i,!0,!1)?`number`:e.match(o,!0,!1)?`variableName.special`:e.match(/(?:\[|\]|{|}|\(|\))/,!0,!1)?`bracket`:e.match(s,!0,!1)?(e.backUp(1),`variableName.function`):e.match(a,!0,!1)?`variable`:e.match(/(?:\\|\+|\-|\*|\/|,|;|\.|:|@|~|=|>|<|&|\||_|`|'|\^|\?|!|%|#)/,!0,!1)?`operator`:`error`}function l(e,t){for(var n,r=!1,i=!1;(n=e.next())!=null;){if(n===`"`&&!i){r=!0;break}i=!i&&n===`\\`}return r&&!i&&(t.tokenize=c),`string`}function u(e,t){for(var n,r;(r=e.next())!=null;){if(n===`*`&&r===`/`){t.tokenize=c;break}n=r}return`comment`}function d(e){var t=null;return e.scopes.length>0&&(t=e.scopes[e.scopes.length-1]),t}var f={name:`yacas`,startState:function(){return{tokenize:c,scopes:[]}},token:function(e,t){return e.eatSpace()?null:t.tokenize(e,t)},indent:function(e,t,n){if(e.tokenize!==c&&e.tokenize!==null)return null;var r=0;return(t===`]`||t===`];`||t===`}`||t===`};`||t===`);`)&&(r=-1),(e.scopes.length+r)*n.unit},languageData:{electricInput:/[{}\[\]()\;]/,commentTokens:{line:`//`,block:{open:`/*`,close:`*/`}}}};export{f as yacas};
|
|
3
3
|
//# chunkId=df56f4a6-2eb1-5904-9ef4-364303ae2222
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};e._posthogReleaseId=e._posthogReleaseId||"
|
|
1
|
+
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};e._posthogReleaseId=e._posthogReleaseId||"01a1d4e7-1d7c-0000-936b-9f26fd0186d7";var n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]="dab8bf13-1764-5b5c-9982-18307247b434")}catch(e){}}();
|
|
2
2
|
function e(e){var t,n;e?(t=/^(exx?|(ld|cp)([di]r?)?|[lp]ea|pop|push|ad[cd]|cpl|daa|dec|inc|neg|sbc|sub|and|bit|[cs]cf|x?or|res|set|r[lr]c?a?|r[lr]d|s[lr]a|srl|djnz|nop|[de]i|halt|im|in([di]mr?|ir?|irx|2r?)|ot(dmr?|[id]rx|imr?)|out(0?|[di]r?|[di]2r?)|tst(io)?|slp)(\.([sl]?i)?[sl])?\b/i,n=/^(((call|j[pr]|rst|ret[in]?)(\.([sl]?i)?[sl])?)|(rs|st)mix)\b/i):(t=/^(exx?|(ld|cp|in)([di]r?)?|pop|push|ad[cd]|cpl|daa|dec|inc|neg|sbc|sub|and|bit|[cs]cf|x?or|res|set|r[lr]c?a?|r[lr]d|s[lr]a|srl|djnz|nop|rst|[de]i|halt|im|ot[di]r|out[di]?)\b/i,n=/^(call|j[pr]|ret[in]?|b_?(call|jump))\b/i);var r=/^(af?|bc?|c|de?|e|hl?|l|i[xy]?|r|sp)\b/i,i=/^(n?[zc]|p[oe]?|m)\b/i,a=/^([hl][xy]|i[xy][hl]|slia|sll)\b/i,o=/^([\da-f]+h|[0-7]+o|[01]+b|\d+d?)\b/i;return{name:`z80`,startState:function(){return{context:0}},token:function(s,c){if(s.column()||(c.context=0),s.eatSpace())return null;var l;if(s.eatWhile(/\w/)){if(e&&s.eat(`.`)&&s.eatWhile(/\w/),l=s.current(),s.indentation()){if((c.context==1||c.context==4)&&r.test(l))return c.context=4,`variable`;if(c.context==2&&i.test(l))return c.context=4,`variableName.special`;if(t.test(l))return c.context=1,`keyword`;if(n.test(l))return c.context=2,`keyword`;if(c.context==4&&o.test(l))return`number`;if(a.test(l))return`error`}else if(s.match(o))return`number`;else return null}else if(s.eat(`;`))return s.skipToEnd(),`comment`;else if(s.eat(`"`)){for(;(l=s.next())&&l!=`"`;)l==`\\`&&s.next();return`string`}else if(s.eat(`'`)){if(s.match(/\\?.'/))return`number`}else if(s.eat(`.`)||s.sol()&&s.eat(`#`)){if(c.context=5,s.eatWhile(/\w/))return`def`}else if(s.eat(`$`)){if(s.eatWhile(/[\da-f]/i))return`number`}else if(s.eat(`%`)){if(s.eatWhile(/[01]/))return`number`}else s.next();return null}}}var t=e(!1);e(!0);export{t as z80};
|
|
3
3
|
//# chunkId=dab8bf13-1764-5b5c-9982-18307247b434
|
package/web/index.html
CHANGED
|
@@ -8,9 +8,9 @@
|
|
|
8
8
|
<link rel="manifest" href="/manifest.webmanifest" />
|
|
9
9
|
<meta name="theme-color" content="#f2f7ed" />
|
|
10
10
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
11
|
-
<script type="module" crossorigin src="/_app/immutable/index-
|
|
12
|
-
<link rel="modulepreload" crossorigin href="/_app/immutable/rolldown-runtime-
|
|
13
|
-
<link rel="stylesheet" crossorigin href="/_app/immutable/index-
|
|
11
|
+
<script type="module" crossorigin src="/_app/immutable/index-C3Rri6h1.js"></script>
|
|
12
|
+
<link rel="modulepreload" crossorigin href="/_app/immutable/rolldown-runtime-BorFIzZJ.js">
|
|
13
|
+
<link rel="stylesheet" crossorigin href="/_app/immutable/index-YtIaSO5M.css">
|
|
14
14
|
</head>
|
|
15
15
|
<body>
|
|
16
16
|
<div id="root" style="display: contents"></div>
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};e._posthogReleaseId=e._posthogReleaseId||"01a1c042-e682-0000-ce46-33503a0b378c";var n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]="1a98fa5d-d524-5cec-81e2-f6e278b77054")}catch(e){}}();
|
|
2
|
-
export{n as diagram}from"./chunk-NQOKRVIF-BjsUGOPU.js";import"./chunk-XXDRQBXY-H6Rf6fLc.js";import"./chunk-VQ5W62QI-BtglZZRt.js";import"./mermaid.core-Bn-MO58Z.js";import"./chunk-55XCU76K-BtssGenK.js";import"./chunk-HNE4Q36P-4ztqRnHq.js";import"./chunk-WQQL4CDK-Cj0kob7n.js";import"./chunk-ZAUX2LTX-BrhE26vf.js";import"./chunk-HAGFOTED-Cft9bbR2.js";import"./chunk-UHW7PFBP-BCCsgeU8.js";import"./chunk-AQDTSKZB-Csih77qg.js";import"./chunk-YZO67HFG-8JflISf3.js";import"./chunk-7S6XSTFO-XgTTUsM4.js";import"./chunk-DSNLSHJZ-JPbExg8v.js";import"./src-UksNOXkQ.js";
|
|
3
|
-
//# chunkId=1a98fa5d-d524-5cec-81e2-f6e278b77054
|