sibujs 1.0.2 → 1.0.3
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/dist/browser.cjs +18 -0
- package/dist/browser.d.cts +19 -1
- package/dist/browser.d.ts +19 -1
- package/dist/browser.js +5 -1
- package/dist/build.cjs +17 -8
- package/dist/build.js +3 -3
- package/dist/cdn.global.js +4 -4
- package/dist/{chunk-ONCYDOK6.js → chunk-4EI4AG32.js} +17 -1
- package/dist/{chunk-MJ4LVHGX.js → chunk-7V26P53V.js} +1 -1
- package/dist/{chunk-6JGMNCD6.js → chunk-EWFVA3TJ.js} +1 -1
- package/dist/{chunk-HS6OOE3Q.js → chunk-G3BOQPVO.js} +1 -1
- package/dist/{chunk-QVKGGB2S.js → chunk-MDVXJWFN.js} +7 -3
- package/dist/{chunk-24WSRM54.js → chunk-MEZVEBPN.js} +13 -7
- package/dist/{chunk-OHQQWZ7P.js → chunk-QBMDLBU2.js} +10 -4
- package/dist/data.cjs +10 -4
- package/dist/data.d.cts +2 -0
- package/dist/data.d.ts +2 -0
- package/dist/data.js +1 -1
- package/dist/ecosystem.cjs +7 -3
- package/dist/ecosystem.d.cts +1 -1
- package/dist/ecosystem.d.ts +1 -1
- package/dist/ecosystem.js +2 -2
- package/dist/extras.cjs +35 -7
- package/dist/extras.d.cts +2 -2
- package/dist/extras.d.ts +2 -2
- package/dist/extras.js +10 -6
- package/dist/index.cjs +18 -8
- package/dist/index.d.cts +22 -3
- package/dist/index.d.ts +22 -3
- package/dist/index.js +5 -3
- package/dist/plugins.cjs +7 -3
- package/dist/plugins.js +2 -2
- package/dist/ssr.cjs +7 -3
- package/dist/ssr.js +3 -3
- package/dist/{tagFactory-D9e0QGIE.d.cts → tagFactory-Dl8QCLga.d.cts} +2 -2
- package/dist/{tagFactory-D9e0QGIE.d.ts → tagFactory-Dl8QCLga.d.ts} +2 -2
- package/package.json +1 -1
- package/dist/chunk-27QC4FPL.js +0 -67
- package/dist/chunk-2ABBWCGC.js +0 -65
- package/dist/chunk-2GLUWW3D.js +0 -567
- package/dist/chunk-2HYHL6VW.js +0 -269
- package/dist/chunk-2MUNQYZ7.js +0 -26
- package/dist/chunk-2PFRWZIE.js +0 -65
- package/dist/chunk-2PSPKNUI.js +0 -1711
- package/dist/chunk-2X5NDXNG.js +0 -877
- package/dist/chunk-34TOFKL7.js +0 -1803
- package/dist/chunk-353KB3DI.js +0 -271
- package/dist/chunk-35CDLDX5.js +0 -1758
- package/dist/chunk-36MU4CFV.js +0 -41
- package/dist/chunk-37NSPDPQ.js +0 -284
- package/dist/chunk-3CSF4TOG.js +0 -282
- package/dist/chunk-3FIQOFI6.js +0 -182
- package/dist/chunk-3GHNC2BN.js +0 -28
- package/dist/chunk-3GZTRYSY.js +0 -33
- package/dist/chunk-3HLWWEPU.js +0 -909
- package/dist/chunk-3IVI3J54.js +0 -252
- package/dist/chunk-3KZ72WNW.js +0 -944
- package/dist/chunk-4AU64SQV.js +0 -182
- package/dist/chunk-4MOK7HAR.js +0 -84
- package/dist/chunk-4QK6FBDH.js +0 -1429
- package/dist/chunk-526ENZ77.js +0 -58
- package/dist/chunk-566Z7HXB.js +0 -737
- package/dist/chunk-5CRBB7XP.js +0 -358
- package/dist/chunk-5G67D3IZ.js +0 -168
- package/dist/chunk-5KBEED6D.js +0 -361
- package/dist/chunk-5LJMSKBB.js +0 -26
- package/dist/chunk-5M7LJFWV.js +0 -271
- package/dist/chunk-5NCPAWBE.js +0 -99
- package/dist/chunk-5O2RKXR3.js +0 -1444
- package/dist/chunk-5OCBERWW.js +0 -1094
- package/dist/chunk-5XUAA53E.js +0 -99
- package/dist/chunk-5ZFVYPDG.js +0 -97
- package/dist/chunk-6BCDNGIH.js +0 -1839
- package/dist/chunk-6BDUQJ7K.js +0 -949
- package/dist/chunk-6BTBDO6A.js +0 -633
- package/dist/chunk-6DJQF4Z7.js +0 -33
- package/dist/chunk-6EYXAMBN.js +0 -1857
- package/dist/chunk-6IWEHW57.js +0 -43
- package/dist/chunk-6J6S4NI7.js +0 -398
- package/dist/chunk-6NBHAKHS.js +0 -1997
- package/dist/chunk-6QRLJNXR.js +0 -1425
- package/dist/chunk-6SNF5MZK.js +0 -282
- package/dist/chunk-7FYJUE77.js +0 -282
- package/dist/chunk-7HM5UE5T.js +0 -270
- package/dist/chunk-7JOLTGUH.js +0 -58
- package/dist/chunk-7LS3ITZB.js +0 -567
- package/dist/chunk-7MCWJCQK.js +0 -909
- package/dist/chunk-7RIIFP3E.js +0 -1758
- package/dist/chunk-7UASYN3G.js +0 -254
- package/dist/chunk-7W2WYHDI.js +0 -741
- package/dist/chunk-7XFBKLFB.js +0 -90
- package/dist/chunk-7Y35RDSJ.js +0 -872
- package/dist/chunk-A65GFJBL.js +0 -65
- package/dist/chunk-AD6ZIEDK.js +0 -67
- package/dist/chunk-AIPXZK5O.js +0 -295
- package/dist/chunk-AK5Y72F3.js +0 -1426
- package/dist/chunk-ANRSGGFC.js +0 -725
- package/dist/chunk-APOMMWH4.js +0 -282
- package/dist/chunk-ARZVTWIQ.js +0 -1750
- package/dist/chunk-AWWBM2BI.js +0 -664
- package/dist/chunk-AX5VEQTY.js +0 -58
- package/dist/chunk-AYTXVOW3.js +0 -1708
- package/dist/chunk-B4ASD5VC.js +0 -295
- package/dist/chunk-BG3HMX4C.js +0 -271
- package/dist/chunk-BG4A246G.js +0 -1746
- package/dist/chunk-BNFJJA2L.js +0 -1425
- package/dist/chunk-BPKPBVU5.js +0 -59
- package/dist/chunk-BPKPPSXC.js +0 -282
- package/dist/chunk-BPWKKK7F.js +0 -1711
- package/dist/chunk-BS5EYKCJ.js +0 -26
- package/dist/chunk-BS6ETCJ7.js +0 -949
- package/dist/chunk-BTTBAGD3.js +0 -365
- package/dist/chunk-BWBWJYBK.js +0 -271
- package/dist/chunk-CCKX6YTC.js +0 -1735
- package/dist/chunk-CIF5Z3MP.js +0 -58
- package/dist/chunk-CQNVF2FD.js +0 -282
- package/dist/chunk-CRTHZHU7.js +0 -26
- package/dist/chunk-CSXYU7IO.js +0 -457
- package/dist/chunk-D6JD4FDC.js +0 -26
- package/dist/chunk-DAUTHAYH.js +0 -20
- package/dist/chunk-DB243LB7.js +0 -877
- package/dist/chunk-DEQLPROY.js +0 -1094
- package/dist/chunk-DGUYCZJH.js +0 -654
- package/dist/chunk-DI3Z32TV.js +0 -1780
- package/dist/chunk-DKGHW6MX.js +0 -90
- package/dist/chunk-DKXVN442.js +0 -90
- package/dist/chunk-DLWLJZB3.js +0 -712
- package/dist/chunk-DNTTC4V5.js +0 -1803
- package/dist/chunk-DWQQ2GZK.js +0 -1787
- package/dist/chunk-DZZMIMGL.js +0 -725
- package/dist/chunk-E5SMAKQQ.js +0 -336
- package/dist/chunk-E6BNBVMK.js +0 -457
- package/dist/chunk-E7NGA7X2.js +0 -59
- package/dist/chunk-EEPPJKAE.js +0 -443
- package/dist/chunk-EGZGFIXV.js +0 -90
- package/dist/chunk-EJMSUPXQ.js +0 -346
- package/dist/chunk-EJMYGAGQ.js +0 -717
- package/dist/chunk-EL6Z5MDY.js +0 -55
- package/dist/chunk-EP7VRLEB.js +0 -41
- package/dist/chunk-EQACK65C.js +0 -63
- package/dist/chunk-ESPA7SCH.js +0 -567
- package/dist/chunk-ETMEC6FH.js +0 -99
- package/dist/chunk-EUFENPGJ.js +0 -290
- package/dist/chunk-EZ2WHYVL.js +0 -65
- package/dist/chunk-EZRVMSZK.js +0 -67
- package/dist/chunk-F25CZRUH.js +0 -282
- package/dist/chunk-F2TRGINX.js +0 -254
- package/dist/chunk-F4IYF3YU.js +0 -266
- package/dist/chunk-F5JCIH3Q.js +0 -642
- package/dist/chunk-FBNDOAHU.js +0 -54
- package/dist/chunk-FDRU7W6W.js +0 -365
- package/dist/chunk-FDW3E54J.js +0 -1767
- package/dist/chunk-FEPU4KL6.js +0 -63
- package/dist/chunk-FGK3JKMN.js +0 -909
- package/dist/chunk-FQWPKSTD.js +0 -1437
- package/dist/chunk-FWHVLMCI.js +0 -26
- package/dist/chunk-FYIGTFXO.js +0 -712
- package/dist/chunk-G4AX3DQ4.js +0 -54
- package/dist/chunk-GBEYQRO2.js +0 -303
- package/dist/chunk-GBLES3NK.js +0 -248
- package/dist/chunk-GQVGUQW6.js +0 -1436
- package/dist/chunk-GVDEIJ3G.js +0 -291
- package/dist/chunk-GXIM4TC3.js +0 -346
- package/dist/chunk-GY5AAP4H.js +0 -316
- package/dist/chunk-HCV2T76T.js +0 -457
- package/dist/chunk-HCWPQCZP.js +0 -279
- package/dist/chunk-HFHOFG6W.js +0 -282
- package/dist/chunk-HGKEBAW3.js +0 -63
- package/dist/chunk-HJNW3HLI.js +0 -255
- package/dist/chunk-HKUNBYN6.js +0 -949
- package/dist/chunk-HRIIH4JX.js +0 -712
- package/dist/chunk-HS7ZKVPR.js +0 -182
- package/dist/chunk-HXDVV7HZ.js +0 -909
- package/dist/chunk-HZWNWUPJ.js +0 -466
- package/dist/chunk-I6EZTMPB.js +0 -949
- package/dist/chunk-IB23VMO3.js +0 -1746
- package/dist/chunk-IC4K4EOD.js +0 -26
- package/dist/chunk-IEMZ7RTT.js +0 -99
- package/dist/chunk-IJU6TOZ6.js +0 -65
- package/dist/chunk-IK3NFZOA.js +0 -466
- package/dist/chunk-IPGRSN42.js +0 -1750
- package/dist/chunk-IVMOK2QN.js +0 -1750
- package/dist/chunk-J7PD6L4B.js +0 -1767
- package/dist/chunk-JCLGQO7T.js +0 -443
- package/dist/chunk-JDXL7KDB.js +0 -1436
- package/dist/chunk-JIIFW636.js +0 -270
- package/dist/chunk-JLOASJXU.js +0 -654
- package/dist/chunk-JRWAHOMS.js +0 -41
- package/dist/chunk-JWGEEH7H.js +0 -944
- package/dist/chunk-K2BESAG7.js +0 -1688
- package/dist/chunk-K2U5YGF4.js +0 -877
- package/dist/chunk-K45FQ4Y4.js +0 -175
- package/dist/chunk-K7BPE427.js +0 -1432
- package/dist/chunk-K7JUDY3C.js +0 -364
- package/dist/chunk-KALKXPC3.js +0 -297
- package/dist/chunk-KKUV25KB.js +0 -361
- package/dist/chunk-KKV3DOAW.js +0 -466
- package/dist/chunk-KL3266RS.js +0 -26
- package/dist/chunk-KNN4P7DZ.js +0 -84
- package/dist/chunk-KP2DZH5Q.js +0 -254
- package/dist/chunk-KZHAJSQR.js +0 -1636
- package/dist/chunk-L36YN45V.js +0 -949
- package/dist/chunk-L5IBT37O.js +0 -263
- package/dist/chunk-LAX5H35R.js +0 -90
- package/dist/chunk-LBKGHMQV.js +0 -1750
- package/dist/chunk-LBTEPL7A.js +0 -1731
- package/dist/chunk-LEBBPTDB.js +0 -1444
- package/dist/chunk-LHI25KS2.js +0 -654
- package/dist/chunk-LHNJSLC6.js +0 -297
- package/dist/chunk-LLH63WVQ.js +0 -98
- package/dist/chunk-LWNJN3IW.js +0 -295
- package/dist/chunk-LWVR2C4G.js +0 -1711
- package/dist/chunk-M3MDTVV2.js +0 -896
- package/dist/chunk-M3QSBCXC.js +0 -52
- package/dist/chunk-M3ZKZQNY.js +0 -282
- package/dist/chunk-M5GNLDEO.js +0 -303
- package/dist/chunk-MBINISSE.js +0 -35
- package/dist/chunk-MFHVGKET.js +0 -267
- package/dist/chunk-MGWSG3PM.js +0 -358
- package/dist/chunk-MGYRVG2A.js +0 -282
- package/dist/chunk-MJNB47HB.js +0 -19
- package/dist/chunk-MLN3JZ2E.js +0 -398
- package/dist/chunk-MM46JVR2.js +0 -359
- package/dist/chunk-MQWTY3JY.js +0 -944
- package/dist/chunk-MWE3PK5S.js +0 -551
- package/dist/chunk-MXR7LXGC.js +0 -1084
- package/dist/chunk-MZZOQHNI.js +0 -642
- package/dist/chunk-N6BRVUAP.js +0 -1805
- package/dist/chunk-N7UVR6SG.js +0 -877
- package/dist/chunk-NIHWGZS4.js +0 -1426
- package/dist/chunk-NMTRH4Q3.js +0 -97
- package/dist/chunk-NSVVHQK5.js +0 -41
- package/dist/chunk-NVI2WE7D.js +0 -443
- package/dist/chunk-NZNNXPEE.js +0 -56
- package/dist/chunk-O7QBO3PH.js +0 -58
- package/dist/chunk-OAUPQBO2.js +0 -270
- package/dist/chunk-OB2LMD7C.js +0 -297
- package/dist/chunk-OEGAHDEU.js +0 -1094
- package/dist/chunk-OHEYBWQU.js +0 -58
- package/dist/chunk-OI5B74HF.js +0 -26
- package/dist/chunk-OI6OXUHJ.js +0 -443
- package/dist/chunk-ONOO74UN.js +0 -361
- package/dist/chunk-OWLQ4HZI.js +0 -282
- package/dist/chunk-OX2VMRMV.js +0 -633
- package/dist/chunk-OXYMB6VB.js +0 -466
- package/dist/chunk-OZS4YOOP.js +0 -59
- package/dist/chunk-P4FYE5TX.js +0 -866
- package/dist/chunk-P5KFWM4H.js +0 -98
- package/dist/chunk-PLFQZ7SS.js +0 -90
- package/dist/chunk-PMVU6BI4.js +0 -1847
- package/dist/chunk-PPNH4Y6U.js +0 -282
- package/dist/chunk-PUMLE7RJ.js +0 -1711
- package/dist/chunk-Q4MFANBF.js +0 -282
- package/dist/chunk-Q54YZ4X3.js +0 -26
- package/dist/chunk-Q6XACQW3.js +0 -1847
- package/dist/chunk-QI6ZDDUR.js +0 -35
- package/dist/chunk-QJ5KLY2S.js +0 -1821
- package/dist/chunk-QLEKZMMU.js +0 -282
- package/dist/chunk-QLNWSBWK.js +0 -567
- package/dist/chunk-QQS7BSPA.js +0 -26
- package/dist/chunk-QUGIYF3F.js +0 -712
- package/dist/chunk-QYSW3K7A.js +0 -282
- package/dist/chunk-QZWTKX5K.js +0 -321
- package/dist/chunk-RGGNGVO3.js +0 -98
- package/dist/chunk-RKJDRVV6.js +0 -443
- package/dist/chunk-RUAJTILD.js +0 -26
- package/dist/chunk-S5BHU353.js +0 -43
- package/dist/chunk-S6YEHFC7.js +0 -654
- package/dist/chunk-SHQUSFH7.js +0 -1426
- package/dist/chunk-SMB4DBMD.js +0 -182
- package/dist/chunk-SNYHQP3D.js +0 -743
- package/dist/chunk-SR2DPCTT.js +0 -1803
- package/dist/chunk-SU63HSUU.js +0 -58
- package/dist/chunk-SXXKZJI2.js +0 -303
- package/dist/chunk-T24L3TBF.js +0 -1717
- package/dist/chunk-T2SPHHYU.js +0 -365
- package/dist/chunk-TAQNSOKT.js +0 -692
- package/dist/chunk-TBA46SVX.js +0 -1805
- package/dist/chunk-TCWKKKPP.js +0 -90
- package/dist/chunk-TDNY4SUA.js +0 -41
- package/dist/chunk-TK4P3V5G.js +0 -56
- package/dist/chunk-TNNF56IQ.js +0 -1750
- package/dist/chunk-TR7E6LYX.js +0 -457
- package/dist/chunk-TVV4JK5G.js +0 -282
- package/dist/chunk-UATXXETW.js +0 -278
- package/dist/chunk-UHFUQWST.js +0 -65
- package/dist/chunk-UKDBQVM3.js +0 -346
- package/dist/chunk-URWUFH45.js +0 -98
- package/dist/chunk-USPT25TC.js +0 -365
- package/dist/chunk-UUSIH3XH.js +0 -1429
- package/dist/chunk-UXDIPRCG.js +0 -26
- package/dist/chunk-UYFNXLKR.js +0 -1436
- package/dist/chunk-UZZFP2EE.js +0 -35
- package/dist/chunk-V4G5Y6YM.js +0 -1094
- package/dist/chunk-V6F7KUWD.js +0 -270
- package/dist/chunk-V6P4LDAV.js +0 -65
- package/dist/chunk-VAA4FG3Z.js +0 -365
- package/dist/chunk-VCZLXRMR.js +0 -254
- package/dist/chunk-VDHXSSBT.js +0 -1426
- package/dist/chunk-VI4KRBSU.js +0 -291
- package/dist/chunk-VM4QMKVK.js +0 -254
- package/dist/chunk-VUXB655T.js +0 -1999
- package/dist/chunk-VWGYKYL2.js +0 -737
- package/dist/chunk-VX2OFBJN.js +0 -1426
- package/dist/chunk-VXVIE6DG.js +0 -84
- package/dist/chunk-W3QH7BF5.js +0 -282
- package/dist/chunk-W4OH7HG4.js +0 -40
- package/dist/chunk-WBVJX4GZ.js +0 -98
- package/dist/chunk-WDU2ZV4I.js +0 -1426
- package/dist/chunk-WGCQNOEQ.js +0 -712
- package/dist/chunk-WZQNHS4J.js +0 -52
- package/dist/chunk-X6VUCICU.js +0 -457
- package/dist/chunk-XAY7FM7Y.js +0 -618
- package/dist/chunk-XFW7B23S.js +0 -282
- package/dist/chunk-XJ3MNGY5.js +0 -58
- package/dist/chunk-XJZ5Z2CM.js +0 -642
- package/dist/chunk-XKVFQTJJ.js +0 -254
- package/dist/chunk-XRLFASCY.js +0 -22
- package/dist/chunk-XZGY5ZJ4.js +0 -35
- package/dist/chunk-Y745CBVB.js +0 -944
- package/dist/chunk-YLBJSXYY.js +0 -944
- package/dist/chunk-YQJIKVPZ.js +0 -1429
- package/dist/chunk-YRM2VCZF.js +0 -457
- package/dist/chunk-YS33KBVJ.js +0 -944
- package/dist/chunk-Z27DZPDG.js +0 -41
- package/dist/chunk-Z6GZHJW5.js +0 -877
- package/dist/chunk-ZXQ5NAEN.js +0 -32
- package/dist/contracts-B552GopR.d.cts +0 -245
- package/dist/contracts-B552GopR.d.ts +0 -245
- package/dist/contracts-Bg1ECISC.d.cts +0 -245
- package/dist/contracts-Bg1ECISC.d.ts +0 -245
- package/dist/contracts-CMriKJ6P.d.cts +0 -245
- package/dist/contracts-CMriKJ6P.d.ts +0 -245
- package/dist/src/components/ErrorBoundary.d.ts +0 -15
- package/dist/src/components/ErrorBoundary.js +0 -119
- package/dist/src/core/catch.d.ts +0 -11
- package/dist/src/core/catch.js +0 -28
- package/dist/src/core/each.d.ts +0 -13
- package/dist/src/core/each.js +0 -68
- package/dist/src/core/for.d.ts +0 -12
- package/dist/src/core/for.js +0 -67
- package/dist/src/core/html.d.ts +0 -137
- package/dist/src/core/html.js +0 -155
- package/dist/src/core/htmlIf.d.ts +0 -11
- package/dist/src/core/htmlIf.js +0 -18
- package/dist/src/core/lazy.d.ts +0 -7
- package/dist/src/core/lazy.js +0 -16
- package/dist/src/core/mount.d.ts +0 -7
- package/dist/src/core/mount.js +0 -12
- package/dist/src/core/slots.d.ts +0 -3
- package/dist/src/core/slots.js +0 -3
- package/dist/src/core/suspense.d.ts +0 -10
- package/dist/src/core/suspense.js +0 -33
- package/dist/src/core/tagFactory.d.ts +0 -13
- package/dist/src/core/tagFactory.js +0 -86
- package/dist/src/core/test.d.ts +0 -11
- package/dist/src/core/test.js +0 -28
- package/dist/src/core/types.d.ts +0 -2
- package/dist/src/core/types.js +0 -1
- package/dist/src/core/useComputed.d.ts +0 -6
- package/dist/src/core/useComputed.js +0 -30
- package/dist/src/core/useEffect.d.ts +0 -6
- package/dist/src/core/useEffect.js +0 -23
- package/dist/src/core/useState.d.ts +0 -10
- package/dist/src/core/useState.js +0 -34
- package/dist/src/core/useStore.d.ts +0 -19
- package/dist/src/core/useStore.js +0 -53
- package/dist/src/core/useWatch.d.ts +0 -8
- package/dist/src/core/useWatch.js +0 -23
- package/dist/src/plugins/i18n.d.ts +0 -6
- package/dist/src/plugins/i18n.js +0 -16
- package/dist/src/plugins/router.d.ts +0 -188
- package/dist/src/plugins/router.js +0 -1178
- package/dist/src/reactivity/bindAttribute.d.ts +0 -5
- package/dist/src/reactivity/bindAttribute.js +0 -31
- package/dist/src/reactivity/bindChildNode.d.ts +0 -10
- package/dist/src/reactivity/bindChildNode.js +0 -46
- package/dist/src/reactivity/bindTextNode.d.ts +0 -10
- package/dist/src/reactivity/bindTextNode.js +0 -27
- package/dist/src/reactivity/signal.d.ts +0 -3
- package/dist/src/reactivity/signal.js +0 -1
- package/dist/src/reactivity/track.d.ts +0 -18
- package/dist/src/reactivity/track.js +0 -73
- package/dist/src/reactivity/useComputed.d.ts +0 -6
- package/dist/src/reactivity/useComputed.js +0 -30
- package/dist/src/reactivity/useEffect.d.ts +0 -6
- package/dist/src/reactivity/useEffect.js +0 -23
- package/dist/src/reactivity/useState.d.ts +0 -10
- package/dist/src/reactivity/useState.js +0 -34
- package/dist/src/reactivity/useStore.d.ts +0 -19
- package/dist/src/reactivity/useStore.js +0 -53
- package/dist/src/reactivity/useWatch.d.ts +0 -8
- package/dist/src/reactivity/useWatch.js +0 -23
- package/dist/src/utils/sanitize.d.ts +0 -1
- package/dist/src/utils/sanitize.js +0 -8
- package/dist/ssr-27FOM46T.js +0 -35
- package/dist/ssr-GEOEYQV7.js +0 -35
- package/dist/ssr-GFUTTSJD.js +0 -22
- package/dist/ssr-K7DCR6BZ.js +0 -35
- package/dist/ssr-NFAIHWJJ.js +0 -35
- package/dist/ssr-O6LFMRFP.js +0 -35
- package/dist/ssr-QZEVGMMK.js +0 -35
- package/dist/ssr-SGVBCAGC.js +0 -35
- package/dist/ssr-UB2IXCYX.js +0 -35
- package/dist/ssr-XBZQNV4O.js +0 -22
- package/dist/ssr-Y76FSXDU.js +0 -35
- package/dist/ssr-YQJ4AYBD.js +0 -35
- package/dist/tagFactory-BDN7gDEp.d.cts +0 -21
- package/dist/tagFactory-BDN7gDEp.d.ts +0 -21
- package/dist/tagFactory-CZPO4RXF.d.cts +0 -34
- package/dist/tagFactory-CZPO4RXF.d.ts +0 -34
- package/dist/tagFactory-CgImPVMY.d.cts +0 -22
- package/dist/tagFactory-CgImPVMY.d.ts +0 -22
- package/dist/tagFactory-Cw1iv5if.d.cts +0 -22
- package/dist/tagFactory-Cw1iv5if.d.ts +0 -22
- package/dist/tagFactory-DeAXq9ef.d.cts +0 -30
- package/dist/tagFactory-DeAXq9ef.d.ts +0 -30
- package/dist/tagFactory-SkY0a7L1.d.cts +0 -22
- package/dist/tagFactory-SkY0a7L1.d.ts +0 -22
package/dist/chunk-SNYHQP3D.js
DELETED
|
@@ -1,743 +0,0 @@
|
|
|
1
|
-
// src/utils/sanitize.ts
|
|
2
|
-
function sanitize(value) {
|
|
3
|
-
return String(value).replace(/&/g, "&").replace(/</g, "<").replace(/>/g, ">").replace(/"/g, """).replace(/'/g, "'");
|
|
4
|
-
}
|
|
5
|
-
function sanitizeUrl(url) {
|
|
6
|
-
const trimmed = url.replace(/[\x00-\x20\x7f-\x9f]+/g, "").trim();
|
|
7
|
-
if (!trimmed) return "";
|
|
8
|
-
const lower = trimmed.toLowerCase();
|
|
9
|
-
if (lower.startsWith("javascript:") || lower.startsWith("data:") || lower.startsWith("vbscript:") || lower.startsWith("blob:")) {
|
|
10
|
-
return "";
|
|
11
|
-
}
|
|
12
|
-
return trimmed;
|
|
13
|
-
}
|
|
14
|
-
var URL_ATTRIBUTES = /* @__PURE__ */ new Set(["href", "src", "action", "formaction", "cite", "poster", "background", "srcset"]);
|
|
15
|
-
function isUrlAttribute(attr) {
|
|
16
|
-
return URL_ATTRIBUTES.has(attr);
|
|
17
|
-
}
|
|
18
|
-
function sanitizeAttribute(attr, value) {
|
|
19
|
-
if (isUrlAttribute(attr)) {
|
|
20
|
-
return sanitizeUrl(value);
|
|
21
|
-
}
|
|
22
|
-
return sanitize(value);
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
// src/reactivity/track.ts
|
|
26
|
-
var subscriberStack = [];
|
|
27
|
-
var currentSubscriber = null;
|
|
28
|
-
var subscriberDependencies = /* @__PURE__ */ new WeakMap();
|
|
29
|
-
var signalSubscribers = /* @__PURE__ */ new WeakMap();
|
|
30
|
-
var notifyDepth = 0;
|
|
31
|
-
var pendingQueue = [];
|
|
32
|
-
var pendingSet = /* @__PURE__ */ new Set();
|
|
33
|
-
function track(effectFn, subscriber) {
|
|
34
|
-
if (!subscriber) subscriber = effectFn;
|
|
35
|
-
cleanup(subscriber);
|
|
36
|
-
subscriberStack.push(subscriber);
|
|
37
|
-
currentSubscriber = subscriber;
|
|
38
|
-
effectFn();
|
|
39
|
-
subscriberStack.pop();
|
|
40
|
-
currentSubscriber = subscriberStack[subscriberStack.length - 1] || null;
|
|
41
|
-
return () => cleanup(subscriber);
|
|
42
|
-
}
|
|
43
|
-
function recordDependency(signal) {
|
|
44
|
-
if (!currentSubscriber) return;
|
|
45
|
-
let deps = subscriberDependencies.get(currentSubscriber);
|
|
46
|
-
if (!deps) {
|
|
47
|
-
deps = /* @__PURE__ */ new Set();
|
|
48
|
-
subscriberDependencies.set(currentSubscriber, deps);
|
|
49
|
-
}
|
|
50
|
-
if (!deps.has(signal)) {
|
|
51
|
-
deps.add(signal);
|
|
52
|
-
let subs = signalSubscribers.get(signal);
|
|
53
|
-
if (!subs) {
|
|
54
|
-
subs = /* @__PURE__ */ new Set();
|
|
55
|
-
signalSubscribers.set(signal, subs);
|
|
56
|
-
}
|
|
57
|
-
subs.add(currentSubscriber);
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
function queueSignalNotification(signal) {
|
|
61
|
-
const subs = signalSubscribers.get(signal);
|
|
62
|
-
if (!subs) return;
|
|
63
|
-
for (const sub2 of subs) {
|
|
64
|
-
if (!pendingSet.has(sub2)) {
|
|
65
|
-
pendingSet.add(sub2);
|
|
66
|
-
pendingQueue.push(sub2);
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
function drainNotificationQueue() {
|
|
71
|
-
if (notifyDepth > 0) return;
|
|
72
|
-
notifyDepth++;
|
|
73
|
-
try {
|
|
74
|
-
let i2 = 0;
|
|
75
|
-
while (i2 < pendingQueue.length) {
|
|
76
|
-
pendingQueue[i2]();
|
|
77
|
-
i2++;
|
|
78
|
-
}
|
|
79
|
-
} finally {
|
|
80
|
-
pendingQueue.length = 0;
|
|
81
|
-
pendingSet.clear();
|
|
82
|
-
notifyDepth--;
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
function notifySubscribers(signal) {
|
|
86
|
-
const subs = signalSubscribers.get(signal);
|
|
87
|
-
if (!subs || subs.size === 0) return;
|
|
88
|
-
if (notifyDepth > 0) {
|
|
89
|
-
for (const sub2 of subs) {
|
|
90
|
-
if (!pendingSet.has(sub2)) {
|
|
91
|
-
pendingSet.add(sub2);
|
|
92
|
-
pendingQueue.push(sub2);
|
|
93
|
-
}
|
|
94
|
-
}
|
|
95
|
-
return;
|
|
96
|
-
}
|
|
97
|
-
notifyDepth++;
|
|
98
|
-
try {
|
|
99
|
-
let directCount = 0;
|
|
100
|
-
for (const sub2 of subs) {
|
|
101
|
-
pendingQueue[directCount++] = sub2;
|
|
102
|
-
}
|
|
103
|
-
for (let i3 = 0; i3 < directCount; i3++) {
|
|
104
|
-
pendingQueue[i3]();
|
|
105
|
-
}
|
|
106
|
-
let i2 = directCount;
|
|
107
|
-
while (i2 < pendingQueue.length) {
|
|
108
|
-
pendingQueue[i2]();
|
|
109
|
-
i2++;
|
|
110
|
-
}
|
|
111
|
-
} finally {
|
|
112
|
-
pendingQueue.length = 0;
|
|
113
|
-
pendingSet.clear();
|
|
114
|
-
notifyDepth--;
|
|
115
|
-
}
|
|
116
|
-
}
|
|
117
|
-
function cleanup(subscriber) {
|
|
118
|
-
const deps = subscriberDependencies.get(subscriber);
|
|
119
|
-
if (!deps) return;
|
|
120
|
-
for (const signal of deps) {
|
|
121
|
-
const subs = signalSubscribers.get(signal);
|
|
122
|
-
subs?.delete(subscriber);
|
|
123
|
-
}
|
|
124
|
-
deps.clear();
|
|
125
|
-
subscriberDependencies.delete(subscriber);
|
|
126
|
-
}
|
|
127
|
-
|
|
128
|
-
// src/reactivity/bindAttribute.ts
|
|
129
|
-
function bindAttribute(el, attr, getter) {
|
|
130
|
-
function commit() {
|
|
131
|
-
let value;
|
|
132
|
-
try {
|
|
133
|
-
value = getter();
|
|
134
|
-
} catch {
|
|
135
|
-
return;
|
|
136
|
-
}
|
|
137
|
-
const str = sanitizeAttribute(attr, String(value));
|
|
138
|
-
if ((attr === "value" || attr === "checked") && attr in el) {
|
|
139
|
-
el[attr] = attr === "checked" ? Boolean(value) : str;
|
|
140
|
-
} else {
|
|
141
|
-
el.setAttribute(attr, str);
|
|
142
|
-
}
|
|
143
|
-
}
|
|
144
|
-
const teardown = track(commit);
|
|
145
|
-
return teardown;
|
|
146
|
-
}
|
|
147
|
-
function bindDynamic(el, nameGetter, valueGetter) {
|
|
148
|
-
let prevName = null;
|
|
149
|
-
function commit() {
|
|
150
|
-
let name;
|
|
151
|
-
try {
|
|
152
|
-
name = typeof nameGetter === "function" ? nameGetter() : nameGetter;
|
|
153
|
-
} catch {
|
|
154
|
-
return;
|
|
155
|
-
}
|
|
156
|
-
let value;
|
|
157
|
-
try {
|
|
158
|
-
value = typeof valueGetter === "function" ? valueGetter() : valueGetter;
|
|
159
|
-
} catch {
|
|
160
|
-
return;
|
|
161
|
-
}
|
|
162
|
-
if (name.toLowerCase().startsWith("on")) return;
|
|
163
|
-
if (prevName !== null && prevName !== name) {
|
|
164
|
-
el.removeAttribute(prevName);
|
|
165
|
-
}
|
|
166
|
-
const str = sanitizeAttribute(name, String(value));
|
|
167
|
-
if ((name === "value" || name === "checked") && name in el) {
|
|
168
|
-
el[name] = name === "checked" ? Boolean(value) : str;
|
|
169
|
-
} else {
|
|
170
|
-
el.setAttribute(name, str);
|
|
171
|
-
}
|
|
172
|
-
prevName = name;
|
|
173
|
-
}
|
|
174
|
-
const teardown = track(commit);
|
|
175
|
-
return () => {
|
|
176
|
-
teardown();
|
|
177
|
-
if (prevName !== null) {
|
|
178
|
-
el.removeAttribute(prevName);
|
|
179
|
-
}
|
|
180
|
-
};
|
|
181
|
-
}
|
|
182
|
-
|
|
183
|
-
// src/core/rendering/dispose.ts
|
|
184
|
-
var elementDisposers = /* @__PURE__ */ new WeakMap();
|
|
185
|
-
function registerDisposer(node, teardown) {
|
|
186
|
-
let disposers = elementDisposers.get(node);
|
|
187
|
-
if (!disposers) {
|
|
188
|
-
disposers = [];
|
|
189
|
-
elementDisposers.set(node, disposers);
|
|
190
|
-
}
|
|
191
|
-
disposers.push(teardown);
|
|
192
|
-
}
|
|
193
|
-
function dispose(node) {
|
|
194
|
-
const children = node.childNodes;
|
|
195
|
-
for (const child of children) {
|
|
196
|
-
dispose(child);
|
|
197
|
-
}
|
|
198
|
-
const disposers = elementDisposers.get(node);
|
|
199
|
-
if (disposers) {
|
|
200
|
-
for (const d of disposers) d();
|
|
201
|
-
elementDisposers.delete(node);
|
|
202
|
-
}
|
|
203
|
-
}
|
|
204
|
-
|
|
205
|
-
// src/reactivity/bindChildNode.ts
|
|
206
|
-
function bindChildNode(placeholder, getter) {
|
|
207
|
-
let lastNodes = [];
|
|
208
|
-
function commit() {
|
|
209
|
-
let result;
|
|
210
|
-
try {
|
|
211
|
-
result = getter();
|
|
212
|
-
} catch {
|
|
213
|
-
return;
|
|
214
|
-
}
|
|
215
|
-
for (const node of lastNodes) {
|
|
216
|
-
node.parentNode?.removeChild(node);
|
|
217
|
-
}
|
|
218
|
-
lastNodes = [];
|
|
219
|
-
if (result == null) return;
|
|
220
|
-
const parent = placeholder.parentNode;
|
|
221
|
-
if (!parent) return;
|
|
222
|
-
const anchor = placeholder.nextSibling;
|
|
223
|
-
const newNodes = [];
|
|
224
|
-
const insertItem = (item) => {
|
|
225
|
-
const node = item instanceof Node ? item : document.createTextNode(String(item));
|
|
226
|
-
parent.insertBefore(node, anchor);
|
|
227
|
-
newNodes.push(node);
|
|
228
|
-
};
|
|
229
|
-
if (Array.isArray(result)) {
|
|
230
|
-
for (const item of result) insertItem(item);
|
|
231
|
-
} else {
|
|
232
|
-
insertItem(result);
|
|
233
|
-
}
|
|
234
|
-
lastNodes = newNodes;
|
|
235
|
-
}
|
|
236
|
-
return track(commit);
|
|
237
|
-
}
|
|
238
|
-
|
|
239
|
-
// src/core/rendering/tagFactory.ts
|
|
240
|
-
var SVG_NS = "http://www.w3.org/2000/svg";
|
|
241
|
-
var kebabCache = /* @__PURE__ */ new Map();
|
|
242
|
-
function toKebab(prop) {
|
|
243
|
-
let cached = kebabCache.get(prop);
|
|
244
|
-
if (cached !== void 0) return cached;
|
|
245
|
-
cached = prop.replace(/[A-Z]/g, (m) => `-${m.toLowerCase()}`);
|
|
246
|
-
kebabCache.set(prop, cached);
|
|
247
|
-
return cached;
|
|
248
|
-
}
|
|
249
|
-
function applyStyle(el, style2) {
|
|
250
|
-
if (!style2) return;
|
|
251
|
-
if (typeof style2 === "function") {
|
|
252
|
-
const teardown = track(() => {
|
|
253
|
-
el.setAttribute("style", style2());
|
|
254
|
-
});
|
|
255
|
-
registerDisposer(el, teardown);
|
|
256
|
-
return;
|
|
257
|
-
}
|
|
258
|
-
if (typeof style2 === "string") {
|
|
259
|
-
el.setAttribute("style", style2);
|
|
260
|
-
return;
|
|
261
|
-
}
|
|
262
|
-
const htmlEl = el;
|
|
263
|
-
for (const prop in style2) {
|
|
264
|
-
const val = style2[prop];
|
|
265
|
-
const name = toKebab(prop);
|
|
266
|
-
if (typeof val === "function") {
|
|
267
|
-
const getter = val;
|
|
268
|
-
const teardown = track(() => {
|
|
269
|
-
htmlEl.style.setProperty(name, String(getter()));
|
|
270
|
-
});
|
|
271
|
-
registerDisposer(el, teardown);
|
|
272
|
-
} else {
|
|
273
|
-
htmlEl.style.setProperty(name, String(val));
|
|
274
|
-
}
|
|
275
|
-
}
|
|
276
|
-
}
|
|
277
|
-
function applyClass(el, cls) {
|
|
278
|
-
if (cls == null) return;
|
|
279
|
-
if (typeof cls === "string") {
|
|
280
|
-
el.setAttribute("class", cls);
|
|
281
|
-
return;
|
|
282
|
-
}
|
|
283
|
-
if (typeof cls === "function") {
|
|
284
|
-
const getter = cls;
|
|
285
|
-
const teardown = track(() => {
|
|
286
|
-
el.setAttribute("class", getter());
|
|
287
|
-
});
|
|
288
|
-
registerDisposer(el, teardown);
|
|
289
|
-
return;
|
|
290
|
-
}
|
|
291
|
-
if (typeof cls === "object") {
|
|
292
|
-
const obj = cls;
|
|
293
|
-
let hasReactive = false;
|
|
294
|
-
for (const name in obj) {
|
|
295
|
-
if (typeof obj[name] === "function") {
|
|
296
|
-
hasReactive = true;
|
|
297
|
-
break;
|
|
298
|
-
}
|
|
299
|
-
}
|
|
300
|
-
if (hasReactive) {
|
|
301
|
-
const update = () => {
|
|
302
|
-
let result = "";
|
|
303
|
-
for (const name in obj) {
|
|
304
|
-
const val = obj[name];
|
|
305
|
-
const active = typeof val === "function" ? val() : val;
|
|
306
|
-
if (active) result = result ? `${result} ${name}` : name;
|
|
307
|
-
}
|
|
308
|
-
el.setAttribute("class", result);
|
|
309
|
-
};
|
|
310
|
-
const teardown = track(update);
|
|
311
|
-
registerDisposer(el, teardown);
|
|
312
|
-
} else {
|
|
313
|
-
let result = "";
|
|
314
|
-
for (const name in obj) {
|
|
315
|
-
if (obj[name]) result = result ? `${result} ${name}` : name;
|
|
316
|
-
}
|
|
317
|
-
el.setAttribute("class", result);
|
|
318
|
-
}
|
|
319
|
-
}
|
|
320
|
-
}
|
|
321
|
-
function renderChild(parent, child) {
|
|
322
|
-
if (child == null) {
|
|
323
|
-
return document.createTextNode("");
|
|
324
|
-
}
|
|
325
|
-
if (typeof child === "function") {
|
|
326
|
-
const placeholder = document.createComment("bind:child");
|
|
327
|
-
queueMicrotask(() => {
|
|
328
|
-
const teardown = bindChildNode(placeholder, child);
|
|
329
|
-
registerDisposer(parent, teardown);
|
|
330
|
-
});
|
|
331
|
-
return placeholder;
|
|
332
|
-
}
|
|
333
|
-
if (child instanceof Node) {
|
|
334
|
-
return child;
|
|
335
|
-
}
|
|
336
|
-
return document.createTextNode(String(child));
|
|
337
|
-
}
|
|
338
|
-
function appendChildren(el, nodes) {
|
|
339
|
-
if (Array.isArray(nodes)) {
|
|
340
|
-
for (let i2 = 0; i2 < nodes.length; i2++) {
|
|
341
|
-
const c = nodes[i2];
|
|
342
|
-
if (Array.isArray(c)) {
|
|
343
|
-
for (let j = 0; j < c.length; j++) {
|
|
344
|
-
el.appendChild(renderChild(el, c[j]));
|
|
345
|
-
}
|
|
346
|
-
} else {
|
|
347
|
-
el.appendChild(renderChild(el, c));
|
|
348
|
-
}
|
|
349
|
-
}
|
|
350
|
-
} else {
|
|
351
|
-
el.appendChild(renderChild(el, nodes));
|
|
352
|
-
}
|
|
353
|
-
}
|
|
354
|
-
var tagFactory = (tag, ns) => (
|
|
355
|
-
// biome-ignore lint/complexity/noExcessiveCognitiveComplexity: complex by nature
|
|
356
|
-
(props = {}) => {
|
|
357
|
-
const el = ns ? document.createElementNS(ns, tag) : document.createElement(tag);
|
|
358
|
-
for (const key in props) {
|
|
359
|
-
const value = props[key];
|
|
360
|
-
if (value == null) continue;
|
|
361
|
-
switch (key) {
|
|
362
|
-
case "id":
|
|
363
|
-
el.id = value;
|
|
364
|
-
break;
|
|
365
|
-
case "class":
|
|
366
|
-
applyClass(el, value);
|
|
367
|
-
break;
|
|
368
|
-
case "style":
|
|
369
|
-
applyStyle(el, value);
|
|
370
|
-
break;
|
|
371
|
-
case "ref":
|
|
372
|
-
if (value && typeof value === "object" && "current" in value) {
|
|
373
|
-
value.current = el;
|
|
374
|
-
}
|
|
375
|
-
break;
|
|
376
|
-
case "on": {
|
|
377
|
-
const handlers = value;
|
|
378
|
-
for (const ev in handlers) {
|
|
379
|
-
el.addEventListener(ev, handlers[ev]);
|
|
380
|
-
}
|
|
381
|
-
break;
|
|
382
|
-
}
|
|
383
|
-
case "nodes":
|
|
384
|
-
appendChildren(el, value);
|
|
385
|
-
break;
|
|
386
|
-
default:
|
|
387
|
-
if (key.toLowerCase().startsWith("on")) break;
|
|
388
|
-
if (typeof value === "function") {
|
|
389
|
-
const teardown = bindAttribute(el, key, value);
|
|
390
|
-
registerDisposer(el, teardown);
|
|
391
|
-
} else if (typeof value === "boolean") {
|
|
392
|
-
if (value) el.setAttribute(key, "");
|
|
393
|
-
else el.removeAttribute(key);
|
|
394
|
-
} else {
|
|
395
|
-
el.setAttribute(key, sanitizeAttribute(key, String(value)));
|
|
396
|
-
}
|
|
397
|
-
}
|
|
398
|
-
}
|
|
399
|
-
return el;
|
|
400
|
-
}
|
|
401
|
-
);
|
|
402
|
-
|
|
403
|
-
// src/core/rendering/html.ts
|
|
404
|
-
var html = tagFactory("html");
|
|
405
|
-
var head = tagFactory("head");
|
|
406
|
-
var body = tagFactory("body");
|
|
407
|
-
var title = tagFactory("title");
|
|
408
|
-
var div = tagFactory("div");
|
|
409
|
-
var span = tagFactory("span");
|
|
410
|
-
var section = tagFactory("section");
|
|
411
|
-
var article = tagFactory("article");
|
|
412
|
-
var header = tagFactory("header");
|
|
413
|
-
var footer = tagFactory("footer");
|
|
414
|
-
var nav = tagFactory("nav");
|
|
415
|
-
var main = tagFactory("main");
|
|
416
|
-
var aside = tagFactory("aside");
|
|
417
|
-
var address = tagFactory("address");
|
|
418
|
-
var p = tagFactory("p");
|
|
419
|
-
var h1 = tagFactory("h1");
|
|
420
|
-
var h2 = tagFactory("h2");
|
|
421
|
-
var h3 = tagFactory("h3");
|
|
422
|
-
var h4 = tagFactory("h4");
|
|
423
|
-
var h5 = tagFactory("h5");
|
|
424
|
-
var h6 = tagFactory("h6");
|
|
425
|
-
var blockquote = tagFactory("blockquote");
|
|
426
|
-
var dd = tagFactory("dd");
|
|
427
|
-
var dl = tagFactory("dl");
|
|
428
|
-
var dt = tagFactory("dt");
|
|
429
|
-
var figcaption = tagFactory("figcaption");
|
|
430
|
-
var figure = tagFactory("figure");
|
|
431
|
-
var hr = tagFactory("hr");
|
|
432
|
-
var li = tagFactory("li");
|
|
433
|
-
var ol = tagFactory("ol");
|
|
434
|
-
var ul = tagFactory("ul");
|
|
435
|
-
var pre = tagFactory("pre");
|
|
436
|
-
var a = tagFactory("a");
|
|
437
|
-
var abbr = tagFactory("abbr");
|
|
438
|
-
var b = tagFactory("b");
|
|
439
|
-
var bdi = tagFactory("bdi");
|
|
440
|
-
var bdo = tagFactory("bdo");
|
|
441
|
-
var br = tagFactory("br");
|
|
442
|
-
var cite = tagFactory("cite");
|
|
443
|
-
var code = tagFactory("code");
|
|
444
|
-
var data = tagFactory("data");
|
|
445
|
-
var dfn = tagFactory("dfn");
|
|
446
|
-
var em = tagFactory("em");
|
|
447
|
-
var i = tagFactory("i");
|
|
448
|
-
var kbd = tagFactory("kbd");
|
|
449
|
-
var mark = tagFactory("mark");
|
|
450
|
-
var q = tagFactory("q");
|
|
451
|
-
var rp = tagFactory("rp");
|
|
452
|
-
var rt = tagFactory("rt");
|
|
453
|
-
var ruby = tagFactory("ruby");
|
|
454
|
-
var s = tagFactory("s");
|
|
455
|
-
var samp = tagFactory("samp");
|
|
456
|
-
var small = tagFactory("small");
|
|
457
|
-
var strong = tagFactory("strong");
|
|
458
|
-
var sub = tagFactory("sub");
|
|
459
|
-
var sup = tagFactory("sup");
|
|
460
|
-
var time = tagFactory("time");
|
|
461
|
-
var u = tagFactory("u");
|
|
462
|
-
var var_ = tagFactory("var");
|
|
463
|
-
var area = tagFactory("area");
|
|
464
|
-
var audio = tagFactory("audio");
|
|
465
|
-
var img = tagFactory("img");
|
|
466
|
-
var map = tagFactory("map");
|
|
467
|
-
var track2 = tagFactory("track");
|
|
468
|
-
var video = tagFactory("video");
|
|
469
|
-
var embed = tagFactory("embed");
|
|
470
|
-
var iframe = tagFactory("iframe");
|
|
471
|
-
var object = tagFactory("object");
|
|
472
|
-
var param = tagFactory("param");
|
|
473
|
-
var picture = tagFactory("picture");
|
|
474
|
-
var portal = tagFactory("portal");
|
|
475
|
-
var source = tagFactory("source");
|
|
476
|
-
var svg = tagFactory("svg", SVG_NS);
|
|
477
|
-
var math = tagFactory("math");
|
|
478
|
-
var canvas = tagFactory("canvas");
|
|
479
|
-
var noscript = tagFactory("noscript");
|
|
480
|
-
var script = tagFactory("script");
|
|
481
|
-
var del = tagFactory("del");
|
|
482
|
-
var ins = tagFactory("ins");
|
|
483
|
-
var caption = tagFactory("caption");
|
|
484
|
-
var col = tagFactory("col");
|
|
485
|
-
var colgroup = tagFactory("colgroup");
|
|
486
|
-
var table = tagFactory("table");
|
|
487
|
-
var tbody = tagFactory("tbody");
|
|
488
|
-
var td = tagFactory("td");
|
|
489
|
-
var tfoot = tagFactory("tfoot");
|
|
490
|
-
var th = tagFactory("th");
|
|
491
|
-
var thead = tagFactory("thead");
|
|
492
|
-
var tr = tagFactory("tr");
|
|
493
|
-
var button = tagFactory("button");
|
|
494
|
-
var datalist = tagFactory("datalist");
|
|
495
|
-
var fieldset = tagFactory("fieldset");
|
|
496
|
-
var form = tagFactory("form");
|
|
497
|
-
var input = tagFactory("input");
|
|
498
|
-
var label = tagFactory("label");
|
|
499
|
-
var legend = tagFactory("legend");
|
|
500
|
-
var meter = tagFactory("meter");
|
|
501
|
-
var optgroup = tagFactory("optgroup");
|
|
502
|
-
var option = tagFactory("option");
|
|
503
|
-
var output = tagFactory("output");
|
|
504
|
-
var progress = tagFactory("progress");
|
|
505
|
-
var select = tagFactory("select");
|
|
506
|
-
var textarea = tagFactory("textarea");
|
|
507
|
-
var details = tagFactory("details");
|
|
508
|
-
var dialog = tagFactory("dialog");
|
|
509
|
-
var menu = tagFactory("menu");
|
|
510
|
-
var summary = tagFactory("summary");
|
|
511
|
-
var slot = tagFactory("slot");
|
|
512
|
-
var template = tagFactory("template");
|
|
513
|
-
var base = tagFactory("base");
|
|
514
|
-
var link = tagFactory("link");
|
|
515
|
-
var meta = tagFactory("meta");
|
|
516
|
-
var style = tagFactory("style");
|
|
517
|
-
var circle = tagFactory("circle", SVG_NS);
|
|
518
|
-
var ellipse = tagFactory("ellipse", SVG_NS);
|
|
519
|
-
var g = tagFactory("g", SVG_NS);
|
|
520
|
-
var line = tagFactory("line", SVG_NS);
|
|
521
|
-
var path = tagFactory("path", SVG_NS);
|
|
522
|
-
var polygon = tagFactory("polygon", SVG_NS);
|
|
523
|
-
var polyline = tagFactory("polyline", SVG_NS);
|
|
524
|
-
var rect = tagFactory("rect", SVG_NS);
|
|
525
|
-
var text = tagFactory("text", SVG_NS);
|
|
526
|
-
var tspan = tagFactory("tspan", SVG_NS);
|
|
527
|
-
var defs = tagFactory("defs", SVG_NS);
|
|
528
|
-
var clipPath = tagFactory("clipPath", SVG_NS);
|
|
529
|
-
var mask = tagFactory("mask", SVG_NS);
|
|
530
|
-
var pattern = tagFactory("pattern", SVG_NS);
|
|
531
|
-
var linearGradient = tagFactory("linearGradient", SVG_NS);
|
|
532
|
-
var radialGradient = tagFactory("radialGradient", SVG_NS);
|
|
533
|
-
var stop = tagFactory("stop", SVG_NS);
|
|
534
|
-
var use = tagFactory("use", SVG_NS);
|
|
535
|
-
var symbol = tagFactory("symbol", SVG_NS);
|
|
536
|
-
var marker = tagFactory("marker", SVG_NS);
|
|
537
|
-
var center = tagFactory("center");
|
|
538
|
-
var font = tagFactory("font");
|
|
539
|
-
var marquee = tagFactory("marquee");
|
|
540
|
-
var customElement = (tagName) => tagFactory(tagName);
|
|
541
|
-
|
|
542
|
-
// src/reactivity/batch.ts
|
|
543
|
-
var batchDepth = 0;
|
|
544
|
-
var pendingSignals = /* @__PURE__ */ new Set();
|
|
545
|
-
function batch(fn) {
|
|
546
|
-
batchDepth++;
|
|
547
|
-
try {
|
|
548
|
-
fn();
|
|
549
|
-
} finally {
|
|
550
|
-
batchDepth--;
|
|
551
|
-
if (batchDepth === 0) {
|
|
552
|
-
flushBatch();
|
|
553
|
-
}
|
|
554
|
-
}
|
|
555
|
-
}
|
|
556
|
-
function enqueueBatchedSignal(signal) {
|
|
557
|
-
if (batchDepth === 0) return false;
|
|
558
|
-
pendingSignals.add(signal);
|
|
559
|
-
return true;
|
|
560
|
-
}
|
|
561
|
-
function isBatching() {
|
|
562
|
-
return batchDepth > 0;
|
|
563
|
-
}
|
|
564
|
-
function flushBatch() {
|
|
565
|
-
const signals = Array.from(pendingSignals);
|
|
566
|
-
pendingSignals.clear();
|
|
567
|
-
for (const signal of signals) {
|
|
568
|
-
queueSignalNotification(signal);
|
|
569
|
-
}
|
|
570
|
-
drainNotificationQueue();
|
|
571
|
-
}
|
|
572
|
-
|
|
573
|
-
// src/core/hooks/useState.ts
|
|
574
|
-
function useState(initial) {
|
|
575
|
-
const state = { value: initial };
|
|
576
|
-
function get() {
|
|
577
|
-
recordDependency(state);
|
|
578
|
-
return state.value;
|
|
579
|
-
}
|
|
580
|
-
function set(next) {
|
|
581
|
-
const newValue = typeof next === "function" ? next(state.value) : next;
|
|
582
|
-
if (Object.is(newValue, state.value)) return;
|
|
583
|
-
state.value = newValue;
|
|
584
|
-
if (!enqueueBatchedSignal(state)) {
|
|
585
|
-
notifySubscribers(state);
|
|
586
|
-
}
|
|
587
|
-
}
|
|
588
|
-
return [get, set];
|
|
589
|
-
}
|
|
590
|
-
|
|
591
|
-
export {
|
|
592
|
-
sanitizeUrl,
|
|
593
|
-
track,
|
|
594
|
-
recordDependency,
|
|
595
|
-
notifySubscribers,
|
|
596
|
-
bindAttribute,
|
|
597
|
-
bindDynamic,
|
|
598
|
-
registerDisposer,
|
|
599
|
-
dispose,
|
|
600
|
-
SVG_NS,
|
|
601
|
-
tagFactory,
|
|
602
|
-
html,
|
|
603
|
-
head,
|
|
604
|
-
body,
|
|
605
|
-
title,
|
|
606
|
-
div,
|
|
607
|
-
span,
|
|
608
|
-
section,
|
|
609
|
-
article,
|
|
610
|
-
header,
|
|
611
|
-
footer,
|
|
612
|
-
nav,
|
|
613
|
-
main,
|
|
614
|
-
aside,
|
|
615
|
-
address,
|
|
616
|
-
p,
|
|
617
|
-
h1,
|
|
618
|
-
h2,
|
|
619
|
-
h3,
|
|
620
|
-
h4,
|
|
621
|
-
h5,
|
|
622
|
-
h6,
|
|
623
|
-
blockquote,
|
|
624
|
-
dd,
|
|
625
|
-
dl,
|
|
626
|
-
dt,
|
|
627
|
-
figcaption,
|
|
628
|
-
figure,
|
|
629
|
-
hr,
|
|
630
|
-
li,
|
|
631
|
-
ol,
|
|
632
|
-
ul,
|
|
633
|
-
pre,
|
|
634
|
-
a,
|
|
635
|
-
abbr,
|
|
636
|
-
b,
|
|
637
|
-
bdi,
|
|
638
|
-
bdo,
|
|
639
|
-
br,
|
|
640
|
-
cite,
|
|
641
|
-
code,
|
|
642
|
-
data,
|
|
643
|
-
dfn,
|
|
644
|
-
em,
|
|
645
|
-
i,
|
|
646
|
-
kbd,
|
|
647
|
-
mark,
|
|
648
|
-
q,
|
|
649
|
-
rp,
|
|
650
|
-
rt,
|
|
651
|
-
ruby,
|
|
652
|
-
s,
|
|
653
|
-
samp,
|
|
654
|
-
small,
|
|
655
|
-
strong,
|
|
656
|
-
sub,
|
|
657
|
-
sup,
|
|
658
|
-
time,
|
|
659
|
-
u,
|
|
660
|
-
var_,
|
|
661
|
-
area,
|
|
662
|
-
audio,
|
|
663
|
-
img,
|
|
664
|
-
map,
|
|
665
|
-
track2,
|
|
666
|
-
video,
|
|
667
|
-
embed,
|
|
668
|
-
iframe,
|
|
669
|
-
object,
|
|
670
|
-
param,
|
|
671
|
-
picture,
|
|
672
|
-
portal,
|
|
673
|
-
source,
|
|
674
|
-
svg,
|
|
675
|
-
math,
|
|
676
|
-
canvas,
|
|
677
|
-
noscript,
|
|
678
|
-
script,
|
|
679
|
-
del,
|
|
680
|
-
ins,
|
|
681
|
-
caption,
|
|
682
|
-
col,
|
|
683
|
-
colgroup,
|
|
684
|
-
table,
|
|
685
|
-
tbody,
|
|
686
|
-
td,
|
|
687
|
-
tfoot,
|
|
688
|
-
th,
|
|
689
|
-
thead,
|
|
690
|
-
tr,
|
|
691
|
-
button,
|
|
692
|
-
datalist,
|
|
693
|
-
fieldset,
|
|
694
|
-
form,
|
|
695
|
-
input,
|
|
696
|
-
label,
|
|
697
|
-
legend,
|
|
698
|
-
meter,
|
|
699
|
-
optgroup,
|
|
700
|
-
option,
|
|
701
|
-
output,
|
|
702
|
-
progress,
|
|
703
|
-
select,
|
|
704
|
-
textarea,
|
|
705
|
-
details,
|
|
706
|
-
dialog,
|
|
707
|
-
menu,
|
|
708
|
-
summary,
|
|
709
|
-
slot,
|
|
710
|
-
template,
|
|
711
|
-
base,
|
|
712
|
-
link,
|
|
713
|
-
meta,
|
|
714
|
-
style,
|
|
715
|
-
circle,
|
|
716
|
-
ellipse,
|
|
717
|
-
g,
|
|
718
|
-
line,
|
|
719
|
-
path,
|
|
720
|
-
polygon,
|
|
721
|
-
polyline,
|
|
722
|
-
rect,
|
|
723
|
-
text,
|
|
724
|
-
tspan,
|
|
725
|
-
defs,
|
|
726
|
-
clipPath,
|
|
727
|
-
mask,
|
|
728
|
-
pattern,
|
|
729
|
-
linearGradient,
|
|
730
|
-
radialGradient,
|
|
731
|
-
stop,
|
|
732
|
-
use,
|
|
733
|
-
symbol,
|
|
734
|
-
marker,
|
|
735
|
-
center,
|
|
736
|
-
font,
|
|
737
|
-
marquee,
|
|
738
|
-
customElement,
|
|
739
|
-
batch,
|
|
740
|
-
enqueueBatchedSignal,
|
|
741
|
-
isBatching,
|
|
742
|
-
useState
|
|
743
|
-
};
|