@jucie.io/cli 1.0.4 → 1.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/jucie.js +211 -207
- package/dist/stage/chunks/addAttribute-ZPJGNPHK.js +1 -0
- package/dist/stage/chunks/addNode-IWTESHU3.js +1 -0
- package/dist/stage/chunks/aiAttachmentContracts-4GX7AD4P.js +1 -0
- package/dist/stage/chunks/aiMessagesContracts-3IZEU24J.js +1 -0
- package/dist/stage/chunks/aiRelay-FDHMGC33.js +1 -0
- package/dist/stage/chunks/aiSessionContracts-SCDHZZA3.js +1 -0
- package/dist/stage/chunks/assets-RXVS3AKR.js +1 -0
- package/dist/stage/chunks/capture-XQFI2T7B.js +1 -0
- package/dist/stage/chunks/chunk-33W74KNB.js +37 -0
- package/dist/stage/chunks/chunk-55KIFGBN.js +1 -0
- package/dist/stage/chunks/chunk-G37FCH35.js +1 -0
- package/dist/stage/chunks/chunk-GURTWV7H.js +1 -0
- package/dist/stage/chunks/chunk-IERYKQMJ.js +1 -0
- package/dist/stage/chunks/chunk-IEXI4PPB.js +1 -0
- package/dist/stage/chunks/chunk-LOMYBRPE.js +1 -0
- package/dist/stage/chunks/chunk-NYG3CJEJ.js +1 -0
- package/dist/stage/chunks/chunk-OB6WEYNB.js +1 -0
- package/dist/stage/chunks/chunk-PUPSHZWC.js +1 -0
- package/dist/stage/chunks/chunk-TAMEB64F.js +1 -0
- package/dist/stage/chunks/chunk-TIIQLNVN.js +1 -0
- package/dist/stage/chunks/chunk-VQ7C6EUZ.js +1 -0
- package/dist/stage/chunks/chunk-YZBMJY7E.js +1 -0
- package/dist/stage/chunks/clearName-EUYRSZED.js +1 -0
- package/dist/stage/chunks/clearRender-IUKXUT2E.js +1 -0
- package/dist/stage/chunks/clearRepeat-HR5C5VWU.js +1 -0
- package/dist/stage/chunks/design-SPZTUDPC.js +15 -0
- package/dist/stage/chunks/dev-24ZWZ22W.js +1 -0
- package/dist/stage/chunks/history-BNHS2T3X.js +1 -0
- package/dist/stage/chunks/main-DDWQFH23.js +1 -0
- package/dist/stage/chunks/main-NTDWDKF7.js +1 -0
- package/dist/stage/chunks/main-TUNP7F4N.js +1 -0
- package/dist/stage/chunks/moveNodeToLastChildOf-PRI4OYRB.js +1 -0
- package/dist/stage/chunks/nodeGraph-ZXVLUHBH.js +1 -0
- package/dist/stage/chunks/normalizeLayoutContext-OIXYBNTH.js +1 -0
- package/dist/stage/chunks/preview-EIG4E5G5.js +1 -0
- package/dist/stage/chunks/removeToken-6K5JDRMK.js +1 -0
- package/dist/stage/chunks/setNodeLayout-O53CNHES.js +1 -0
- package/dist/stage/chunks/updateAttribute-5MWAVQAV.js +1 -0
- package/dist/stage/chunks/user-LKHAFHX4.js +1 -0
- package/dist/stage/chunks/window-RFC7WGLM.js +1 -0
- package/dist/stage/design.js +1 -1
- package/dist/stage/dev.js +1 -1
- package/dist/stage/preview.js +1 -1
- package/dist/stage/prod.js +1 -1
- package/dist/stage-bundles/preact/chunks/addAction-EGLGEGTS.js +1 -0
- package/dist/stage-bundles/preact/chunks/addAnimationBinding-WCB5VZLU.js +1 -0
- package/dist/stage-bundles/preact/chunks/addAttribute-2MZ3OFUE.js +1 -0
- package/dist/stage-bundles/preact/chunks/addComponent-Y2AQ2FGZ.js +1 -0
- package/dist/stage-bundles/preact/chunks/addComputed-7JLBFD6I.js +1 -0
- package/dist/stage-bundles/preact/chunks/addEvent-HOBNKM2F.js +1 -0
- package/dist/stage-bundles/preact/chunks/addLifecycleHook-GHYL7FRH.js +1 -0
- package/dist/stage-bundles/preact/chunks/addNode-2E5QNYOA.js +1 -0
- package/dist/stage-bundles/preact/chunks/addOption-PVXGN7AJ.js +1 -0
- package/dist/stage-bundles/preact/chunks/addParamToRoute-VL2VOFZS.js +1 -0
- package/dist/stage-bundles/preact/chunks/addState-U2NWEGWV.js +1 -0
- package/dist/stage-bundles/preact/chunks/addStore-AQMFKH33.js +1 -0
- package/dist/stage-bundles/preact/chunks/addToken-XF2FFA52.js +1 -0
- package/dist/stage-bundles/preact/chunks/addValue-O7YXXMST.js +1 -0
- package/dist/stage-bundles/preact/chunks/aiAttachmentContracts-V3EW4BHI.js +1 -0
- package/dist/stage-bundles/preact/chunks/aiMessagesContracts-ZGHZJ7EU.js +1 -0
- package/dist/stage-bundles/preact/chunks/aiRelay-WDZAC42R.js +1 -0
- package/dist/stage-bundles/preact/chunks/aiSessionContracts-WAMOGHSG.js +1 -0
- package/dist/stage-bundles/preact/chunks/assets-NU56BTDG.js +1 -0
- package/dist/stage-bundles/preact/chunks/capture-XBPXL4U7.js +1 -0
- package/dist/stage-bundles/preact/chunks/chunk-2BGFXNGU.js +1 -0
- package/dist/stage-bundles/preact/chunks/chunk-34CHXN5I.js +1 -0
- package/dist/stage-bundles/preact/chunks/chunk-5CWWFBNY.js +1 -0
- package/dist/stage-bundles/preact/chunks/chunk-5GKIM3R4.js +1 -0
- package/dist/stage-bundles/preact/chunks/chunk-67H474GN.js +1 -0
- package/dist/stage-bundles/preact/chunks/chunk-6KW4HPGN.js +1 -0
- package/dist/stage-bundles/preact/chunks/chunk-6S7QQT47.js +1 -0
- package/dist/stage-bundles/preact/chunks/chunk-7UENQJSC.js +5 -0
- package/dist/stage-bundles/preact/chunks/chunk-7VDUBBVE.js +1 -0
- package/dist/stage-bundles/preact/chunks/chunk-A25WFH3U.js +1 -0
- package/dist/stage-bundles/preact/chunks/chunk-A52FDU5E.js +1 -0
- package/dist/stage-bundles/preact/chunks/chunk-ACPGC7BJ.js +1 -0
- package/dist/stage-bundles/preact/chunks/chunk-AMPHYXGT.js +1 -0
- package/dist/stage-bundles/preact/chunks/chunk-AS76ZLXK.js +1 -0
- package/dist/stage-bundles/preact/chunks/chunk-AYZAGKHN.js +1 -0
- package/dist/stage-bundles/preact/chunks/chunk-BL6GQ6ID.js +1 -0
- package/dist/stage-bundles/preact/chunks/chunk-BWJHUHDJ.js +1 -0
- package/dist/stage-bundles/preact/chunks/chunk-CAAW6MG4.js +1 -0
- package/dist/stage-bundles/preact/chunks/chunk-CC3CCH2E.js +1 -0
- package/dist/stage-bundles/preact/chunks/chunk-CNZYL2VV.js +1 -0
- package/dist/stage-bundles/preact/chunks/chunk-CXJ5APZF.js +1 -0
- package/dist/stage-bundles/preact/chunks/chunk-CYURWEXX.js +1 -0
- package/dist/stage-bundles/preact/chunks/chunk-DHPGPV5T.js +1 -0
- package/dist/stage-bundles/preact/chunks/chunk-DLHF7QB4.js +1 -0
- package/dist/stage-bundles/preact/chunks/chunk-E4RDZ324.js +1 -0
- package/dist/stage-bundles/preact/chunks/chunk-E6KR5RXO.js +1 -0
- package/dist/stage-bundles/preact/chunks/chunk-EPVRMHC2.js +1 -0
- package/dist/stage-bundles/preact/chunks/chunk-EWEPEODY.js +1 -0
- package/dist/stage-bundles/preact/chunks/chunk-EXXAK3BP.js +1 -0
- package/dist/stage-bundles/preact/chunks/chunk-F5MJNV7Y.js +3 -0
- package/dist/stage-bundles/preact/chunks/chunk-FAYUYASQ.js +1 -0
- package/dist/stage-bundles/preact/chunks/chunk-FCRFPWU3.js +97 -0
- package/dist/stage-bundles/preact/chunks/chunk-GEOQWCYL.js +1 -0
- package/dist/stage-bundles/preact/chunks/chunk-GK5XUHQG.js +1 -0
- package/dist/stage-bundles/preact/chunks/chunk-GM4D3DPT.js +1 -0
- package/dist/stage-bundles/preact/chunks/chunk-GUI7FIZD.js +1 -0
- package/dist/stage-bundles/preact/chunks/chunk-HAN4CMBX.js +1 -0
- package/dist/stage-bundles/preact/chunks/chunk-HCRWHPFW.js +1 -0
- package/dist/stage-bundles/preact/chunks/chunk-HE7IQLGK.js +1 -0
- package/dist/stage-bundles/preact/chunks/chunk-I57W7UZN.js +1 -0
- package/dist/stage-bundles/preact/chunks/chunk-IBDKDP7T.js +1 -0
- package/dist/stage-bundles/preact/chunks/chunk-ICWQHFOI.js +1 -0
- package/dist/stage-bundles/preact/chunks/chunk-IKKRB6BS.js +1 -0
- package/dist/stage-bundles/preact/chunks/chunk-IV6PINVX.js +1 -0
- package/dist/stage-bundles/preact/chunks/chunk-IW4KEJOF.js +1 -0
- package/dist/stage-bundles/preact/chunks/chunk-J5QMLA3Z.js +1 -0
- package/dist/stage-bundles/preact/chunks/chunk-JHWED3SX.js +1 -0
- package/dist/stage-bundles/preact/chunks/chunk-JRXMDYLE.js +1 -0
- package/dist/stage-bundles/preact/chunks/chunk-K5BNCYT7.js +1 -0
- package/dist/stage-bundles/preact/chunks/chunk-KISNK4R4.js +1 -0
- package/dist/stage-bundles/preact/chunks/chunk-KTWXYDG7.js +1 -0
- package/dist/stage-bundles/preact/chunks/chunk-LEELNBJC.js +1 -0
- package/dist/stage-bundles/preact/chunks/chunk-LHK7LQPZ.js +1 -0
- package/dist/stage-bundles/preact/chunks/chunk-LHON3DKO.js +1 -0
- package/dist/stage-bundles/preact/chunks/chunk-LUY5LC7Z.js +1 -0
- package/dist/stage-bundles/preact/chunks/chunk-MGH62JQ4.js +1 -0
- package/dist/stage-bundles/preact/chunks/chunk-MUZZUB5Y.js +1 -0
- package/dist/stage-bundles/preact/chunks/chunk-N6I4COF2.js +1 -0
- package/dist/stage-bundles/preact/chunks/chunk-NHY2XYCH.js +1 -0
- package/dist/stage-bundles/preact/chunks/chunk-NOTXZB5N.js +1 -0
- package/dist/stage-bundles/preact/chunks/chunk-NRRFAMFA.js +1 -0
- package/dist/stage-bundles/preact/chunks/chunk-NXBFOI3Z.js +1 -0
- package/dist/stage-bundles/preact/chunks/chunk-O24ISLGT.js +1 -0
- package/dist/stage-bundles/preact/chunks/chunk-OQM5TMCK.js +1 -0
- package/dist/stage-bundles/preact/chunks/chunk-PPDOTRNT.js +1 -0
- package/dist/stage-bundles/preact/chunks/chunk-PU62K33G.js +1 -0
- package/dist/stage-bundles/preact/chunks/chunk-PYIGBTL4.js +6 -0
- package/dist/stage-bundles/preact/chunks/chunk-Q3IER3MW.js +1 -0
- package/dist/stage-bundles/preact/chunks/chunk-Q3ZV7EKU.js +1 -0
- package/dist/stage-bundles/preact/chunks/chunk-QD56IMFS.js +1 -0
- package/dist/stage-bundles/preact/chunks/chunk-QFFVADTJ.js +1 -0
- package/dist/stage-bundles/preact/chunks/chunk-QJ33JO3T.js +1 -0
- package/dist/stage-bundles/preact/chunks/chunk-QKFDVU2Q.js +1 -0
- package/dist/stage-bundles/preact/chunks/chunk-QVVBKZW6.js +1 -0
- package/dist/stage-bundles/preact/chunks/chunk-RFFN4NF4.js +1 -0
- package/dist/stage-bundles/preact/chunks/chunk-RYWOKFM7.js +1 -0
- package/dist/stage-bundles/preact/chunks/chunk-TPCJQIUG.js +1 -0
- package/dist/stage-bundles/preact/chunks/chunk-TX5TCU2H.js +1 -0
- package/dist/stage-bundles/preact/chunks/chunk-UCLSDDOL.js +1 -0
- package/dist/stage-bundles/preact/chunks/chunk-UQFZUWFP.js +1 -0
- package/dist/stage-bundles/preact/chunks/chunk-XE3A5HPY.js +1 -0
- package/dist/stage-bundles/preact/chunks/chunk-XFHQ45KR.js +1 -0
- package/dist/stage-bundles/preact/chunks/chunk-XTAXESM6.js +1 -0
- package/dist/stage-bundles/preact/chunks/chunk-YB7FA4Y3.js +1 -0
- package/dist/stage-bundles/preact/chunks/chunk-YCGY2NRE.js +1 -0
- package/dist/stage-bundles/preact/chunks/chunk-YCMBBPKT.js +1 -0
- package/dist/stage-bundles/preact/chunks/chunk-Z3M6DQKZ.js +1 -0
- package/dist/stage-bundles/preact/chunks/chunk-ZUPNPSUB.js +1 -0
- package/dist/stage-bundles/preact/chunks/clearDestination-IGKNL7FN.js +1 -0
- package/dist/stage-bundles/preact/chunks/clearName-HJ7ZTHBU.js +1 -0
- package/dist/stage-bundles/preact/chunks/clearOptionsExpression-NZQFL64E.js +1 -0
- package/dist/stage-bundles/preact/chunks/clearRender-NPVDTNFA.js +1 -0
- package/dist/stage-bundles/preact/chunks/clearRepeat-7YFYZODP.js +1 -0
- package/dist/stage-bundles/preact/chunks/contentEditor-6WQFOUKV.js +1 -0
- package/dist/stage-bundles/preact/chunks/createAction-73YUTK3T.js +1 -0
- package/dist/stage-bundles/preact/chunks/createAnimation-2WQSMYT5.js +1 -0
- package/dist/stage-bundles/preact/chunks/createComputed-DMX7CJA3.js +1 -0
- package/dist/stage-bundles/preact/chunks/createTextContent-4Z4YATBO.js +1 -0
- package/dist/stage-bundles/preact/chunks/createValue-DXQSLOBG.js +1 -0
- package/dist/stage-bundles/preact/chunks/design-QOLOMJCH.js +15 -0
- package/dist/stage-bundles/preact/chunks/disconnectNode-2CLWVIQP.js +1 -0
- package/dist/stage-bundles/preact/chunks/history-VAAFKC4E.js +1 -0
- package/dist/stage-bundles/preact/chunks/id-ZIAZZ5AS.js +1 -0
- package/dist/stage-bundles/preact/chunks/main-K2WJEG5C.js +1 -0
- package/dist/stage-bundles/preact/chunks/main-KFGWT6OT.js +1 -0
- package/dist/stage-bundles/preact/chunks/main-MVCLW2IY.js +1 -0
- package/dist/stage-bundles/preact/chunks/main-ZXFODV6O.js +1 -0
- package/dist/stage-bundles/preact/chunks/moveNodeToLastChildOf-OZ6F2NPU.js +1 -0
- package/dist/stage-bundles/preact/chunks/nodeGraph-JS64VAAQ.js +1 -0
- package/dist/stage-bundles/preact/chunks/normalizeEventName-SNBYJDUY.js +1 -0
- package/dist/stage-bundles/preact/chunks/normalizeLayoutContext-WRK6FVHM.js +1 -0
- package/dist/stage-bundles/preact/chunks/preact-NBJKI6EE.js +1 -0
- package/dist/stage-bundles/preact/chunks/preview-AFX7D63A.js +1 -0
- package/dist/stage-bundles/preact/chunks/removeAction-T4M5EJN7.js +1 -0
- package/dist/stage-bundles/preact/chunks/removeAnimationBinding-AIISPC33.js +1 -0
- package/dist/stage-bundles/preact/chunks/removeAttribute-DCKZLM55.js +1 -0
- package/dist/stage-bundles/preact/chunks/removeComputed-WSA5GNVZ.js +1 -0
- package/dist/stage-bundles/preact/chunks/removeEvent-2YZ55HD6.js +1 -0
- package/dist/stage-bundles/preact/chunks/removeLifecycleHook-SBPJNF5P.js +1 -0
- package/dist/stage-bundles/preact/chunks/removeNode-5HXQ63V3.js +1 -0
- package/dist/stage-bundles/preact/chunks/removeOption-SYIFB4XW.js +1 -0
- package/dist/stage-bundles/preact/chunks/removeParamFromRoute-HAYP3WTT.js +1 -0
- package/dist/stage-bundles/preact/chunks/removeState-SGJVQ66N.js +1 -0
- package/dist/stage-bundles/preact/chunks/removeStore-YVBTGA3I.js +1 -0
- package/dist/stage-bundles/preact/chunks/removeToken-AIDV7DUM.js +1 -0
- package/dist/stage-bundles/preact/chunks/removeValue-UP5ZFN3U.js +1 -0
- package/dist/stage-bundles/preact/chunks/setDestination-NCPAVIIK.js +1 -0
- package/dist/stage-bundles/preact/chunks/setHomePage-O2JYOG6H.js +1 -0
- package/dist/stage-bundles/preact/chunks/setHtmlId-2W7YW47O.js +1 -0
- package/dist/stage-bundles/preact/chunks/setName-NKRZPBGG.js +1 -0
- package/dist/stage-bundles/preact/chunks/setNodeLayout-QNVAVAMX.js +1 -0
- package/dist/stage-bundles/preact/chunks/setOptionsExpression-K5EQXJEY.js +1 -0
- package/dist/stage-bundles/preact/chunks/setRender-7XMGQ7ZK.js +1 -0
- package/dist/stage-bundles/preact/chunks/setRepeat-WN4WZJUN.js +1 -0
- package/dist/stage-bundles/preact/chunks/setTagName-U6UJNJLE.js +1 -0
- package/dist/stage-bundles/preact/chunks/updateAction-3KSR6ZIJ.js +1 -0
- package/dist/stage-bundles/preact/chunks/updateAnimationBinding-HVVHLFBO.js +1 -0
- package/dist/stage-bundles/preact/chunks/updateAttribute-XXZL2P43.js +1 -0
- package/dist/stage-bundles/preact/chunks/updateBounds-5M7YQRO3.js +1 -0
- package/dist/stage-bundles/preact/chunks/updateComputed-7QA6XZIC.js +1 -0
- package/dist/stage-bundles/preact/chunks/updateEvent-R52PL2G4.js +1 -0
- package/dist/stage-bundles/preact/chunks/updateHtml-YBJJSWQW.js +1 -0
- package/dist/stage-bundles/preact/chunks/updateLifecycleHook-4RA2U4TR.js +1 -0
- package/dist/stage-bundles/preact/chunks/updateOption-5U23ZUWV.js +1 -0
- package/dist/stage-bundles/preact/chunks/updateRoute-TFQFFFSZ.js +1 -0
- package/dist/stage-bundles/preact/chunks/updateState-JCUSBQOL.js +1 -0
- package/dist/stage-bundles/preact/chunks/updateStyle-JASLFXVX.js +1 -0
- package/dist/stage-bundles/preact/chunks/updateToken-24P2P2SF.js +1 -0
- package/dist/stage-bundles/preact/chunks/updateValue-TSVJM3PO.js +1 -0
- package/dist/stage-bundles/preact/chunks/user-FCPIGR7X.js +1 -0
- package/dist/stage-bundles/preact/chunks/validateStorePayload-HCBPC7HR.js +3 -0
- package/dist/stage-bundles/preact/chunks/viewport-LLBH2LJW.js +1 -0
- package/dist/stage-bundles/preact/chunks/window-TFWZNZUJ.js +1 -0
- package/dist/stage-bundles/preact/entry.js +1 -85
- package/dist/stage-bundles/preact/framework-compat.js +1 -103
- package/dist/stage-bundles/preact/framework-hooks.js +1 -35
- package/dist/stage-bundles/preact/framework-jsx-runtime.js +1 -102
- package/dist/stage-bundles/preact/framework.js +1 -33
- package/dist/stage-bundles/preact/sdk.js +1 -44
- package/dist/stage-bundles/react/chunks/addAction-BMIMOFKC.js +1 -0
- package/dist/stage-bundles/react/chunks/addAnimationBinding-7TFETALG.js +1 -0
- package/dist/stage-bundles/react/chunks/addAttribute-2WJG6MQQ.js +1 -0
- package/dist/stage-bundles/react/chunks/addComponent-P7BXPI75.js +1 -0
- package/dist/stage-bundles/react/chunks/addComputed-WNYOBBU3.js +1 -0
- package/dist/stage-bundles/react/chunks/addEvent-KKSUEWJZ.js +1 -0
- package/dist/stage-bundles/react/chunks/addLifecycleHook-KXJ6HEKQ.js +1 -0
- package/dist/stage-bundles/react/chunks/addNode-4MPFG7L5.js +1 -0
- package/dist/stage-bundles/react/chunks/addOption-6OBUAJDH.js +1 -0
- package/dist/stage-bundles/react/chunks/addParamToRoute-VX2GDCCP.js +1 -0
- package/dist/stage-bundles/react/chunks/addState-BH7Q5V6N.js +1 -0
- package/dist/stage-bundles/react/chunks/addStore-F3E5UJ5H.js +1 -0
- package/dist/stage-bundles/react/chunks/addToken-DFONVP3M.js +1 -0
- package/dist/stage-bundles/react/chunks/addValue-6SJ7KR7G.js +1 -0
- package/dist/stage-bundles/react/chunks/aiAttachmentContracts-IIM7E4TZ.js +1 -0
- package/dist/stage-bundles/react/chunks/aiMessagesContracts-LVR4HAGR.js +1 -0
- package/dist/stage-bundles/react/chunks/aiRelay-3CLWLKMV.js +1 -0
- package/dist/stage-bundles/react/chunks/aiSessionContracts-MWOX56DC.js +1 -0
- package/dist/stage-bundles/react/chunks/assets-UN6U4NZV.js +1 -0
- package/dist/stage-bundles/react/chunks/capture-5GIKSRCZ.js +1 -0
- package/dist/stage-bundles/react/chunks/chunk-2BGFXNGU.js +1 -0
- package/dist/stage-bundles/react/chunks/chunk-32U4X4HZ.js +6 -0
- package/dist/stage-bundles/react/chunks/chunk-34CHXN5I.js +1 -0
- package/dist/stage-bundles/react/chunks/chunk-5CWWFBNY.js +1 -0
- package/dist/stage-bundles/react/chunks/chunk-5GKIM3R4.js +1 -0
- package/dist/stage-bundles/react/chunks/chunk-5HITMZZP.js +33 -0
- package/dist/stage-bundles/react/chunks/chunk-5OEIZ3PD.js +1 -0
- package/dist/stage-bundles/react/chunks/chunk-6KW4HPGN.js +1 -0
- package/dist/stage-bundles/react/chunks/chunk-6S7QQT47.js +1 -0
- package/dist/stage-bundles/react/chunks/chunk-76SRFCJO.js +14 -0
- package/dist/stage-bundles/react/chunks/chunk-7UENQJSC.js +5 -0
- package/dist/stage-bundles/react/chunks/chunk-7VDUBBVE.js +1 -0
- package/dist/stage-bundles/react/chunks/chunk-A25WFH3U.js +1 -0
- package/dist/stage-bundles/react/chunks/chunk-A52FDU5E.js +1 -0
- package/dist/stage-bundles/react/chunks/chunk-ADVOIRI5.js +43 -0
- package/dist/stage-bundles/react/chunks/chunk-AMPHYXGT.js +1 -0
- package/dist/stage-bundles/react/chunks/chunk-AS76ZLXK.js +1 -0
- package/dist/stage-bundles/react/chunks/chunk-ATUQUJRM.js +1 -0
- package/dist/stage-bundles/react/chunks/chunk-AYZAGKHN.js +1 -0
- package/dist/stage-bundles/react/chunks/chunk-BL6GQ6ID.js +1 -0
- package/dist/stage-bundles/react/chunks/chunk-BWJHUHDJ.js +1 -0
- package/dist/stage-bundles/react/chunks/chunk-BXIWQYSY.js +1 -0
- package/dist/stage-bundles/react/chunks/chunk-CAAW6MG4.js +1 -0
- package/dist/stage-bundles/react/chunks/chunk-CC3CCH2E.js +1 -0
- package/dist/stage-bundles/react/chunks/chunk-CNZYL2VV.js +1 -0
- package/dist/stage-bundles/react/chunks/chunk-CXJ5APZF.js +1 -0
- package/dist/stage-bundles/react/chunks/chunk-CYURWEXX.js +1 -0
- package/dist/stage-bundles/react/chunks/chunk-DHPGPV5T.js +1 -0
- package/dist/stage-bundles/react/chunks/chunk-DLHF7QB4.js +1 -0
- package/dist/stage-bundles/react/chunks/chunk-E6KR5RXO.js +1 -0
- package/dist/stage-bundles/react/chunks/chunk-EPVRMHC2.js +1 -0
- package/dist/stage-bundles/react/chunks/chunk-EWEPEODY.js +1 -0
- package/dist/stage-bundles/react/chunks/chunk-EXXAK3BP.js +1 -0
- package/dist/stage-bundles/react/chunks/chunk-F5MJNV7Y.js +3 -0
- package/dist/stage-bundles/react/chunks/chunk-FAYUYASQ.js +1 -0
- package/dist/stage-bundles/react/chunks/chunk-FCMIFWSU.js +14 -0
- package/dist/stage-bundles/react/chunks/chunk-GEOQWCYL.js +1 -0
- package/dist/stage-bundles/react/chunks/chunk-GK5XUHQG.js +1 -0
- package/dist/stage-bundles/react/chunks/chunk-GM4D3DPT.js +1 -0
- package/dist/stage-bundles/react/chunks/chunk-GUI7FIZD.js +1 -0
- package/dist/stage-bundles/react/chunks/chunk-GYBL4LBC.js +1 -0
- package/dist/stage-bundles/react/chunks/chunk-HAN4CMBX.js +1 -0
- package/dist/stage-bundles/react/chunks/chunk-HCRWHPFW.js +1 -0
- package/dist/stage-bundles/react/chunks/chunk-HE7IQLGK.js +1 -0
- package/dist/stage-bundles/react/chunks/chunk-HLPDOSGP.js +1 -0
- package/dist/stage-bundles/react/chunks/chunk-I57W7UZN.js +1 -0
- package/dist/stage-bundles/react/chunks/chunk-IBDKDP7T.js +1 -0
- package/dist/stage-bundles/react/chunks/chunk-ICWQHFOI.js +1 -0
- package/dist/stage-bundles/react/chunks/chunk-IKKRB6BS.js +1 -0
- package/dist/stage-bundles/react/chunks/chunk-IV6PINVX.js +1 -0
- package/dist/stage-bundles/react/chunks/chunk-IW4KEJOF.js +1 -0
- package/dist/stage-bundles/react/chunks/chunk-J5QMLA3Z.js +1 -0
- package/dist/stage-bundles/react/chunks/chunk-K5BNCYT7.js +1 -0
- package/dist/stage-bundles/react/chunks/chunk-KISNK4R4.js +1 -0
- package/dist/stage-bundles/react/chunks/chunk-KTWXYDG7.js +1 -0
- package/dist/stage-bundles/react/chunks/chunk-LHK7LQPZ.js +1 -0
- package/dist/stage-bundles/react/chunks/chunk-LUY5LC7Z.js +1 -0
- package/dist/stage-bundles/react/chunks/chunk-MGH62JQ4.js +1 -0
- package/dist/stage-bundles/react/chunks/chunk-MUZZUB5Y.js +1 -0
- package/dist/stage-bundles/react/chunks/chunk-N6I4COF2.js +1 -0
- package/dist/stage-bundles/react/chunks/chunk-NDUX5RLD.js +1 -0
- package/dist/stage-bundles/react/chunks/chunk-NHY2XYCH.js +1 -0
- package/dist/stage-bundles/react/chunks/chunk-NOTXZB5N.js +1 -0
- package/dist/stage-bundles/react/chunks/chunk-NXBFOI3Z.js +1 -0
- package/dist/stage-bundles/react/chunks/chunk-OQM5TMCK.js +1 -0
- package/dist/stage-bundles/react/chunks/chunk-PPDOTRNT.js +1 -0
- package/dist/stage-bundles/react/chunks/chunk-PPHD3O2M.js +1 -0
- package/dist/stage-bundles/react/chunks/chunk-PSQ4TIJA.js +1 -0
- package/dist/stage-bundles/react/chunks/chunk-PU62K33G.js +1 -0
- package/dist/stage-bundles/react/chunks/chunk-Q3IER3MW.js +1 -0
- package/dist/stage-bundles/react/chunks/chunk-Q3ZV7EKU.js +1 -0
- package/dist/stage-bundles/react/chunks/chunk-QD56IMFS.js +1 -0
- package/dist/stage-bundles/react/chunks/chunk-QFFVADTJ.js +1 -0
- package/dist/stage-bundles/react/chunks/chunk-QJ33JO3T.js +1 -0
- package/dist/stage-bundles/react/chunks/chunk-QKFDVU2Q.js +1 -0
- package/dist/stage-bundles/react/chunks/chunk-QVVBKZW6.js +1 -0
- package/dist/stage-bundles/react/chunks/chunk-RFFN4NF4.js +1 -0
- package/dist/stage-bundles/react/chunks/chunk-TPCJQIUG.js +1 -0
- package/dist/stage-bundles/react/chunks/chunk-TX5TCU2H.js +1 -0
- package/dist/stage-bundles/react/chunks/chunk-UQFZUWFP.js +1 -0
- package/dist/stage-bundles/react/chunks/chunk-XE3A5HPY.js +1 -0
- package/dist/stage-bundles/react/chunks/chunk-XFHQ45KR.js +1 -0
- package/dist/stage-bundles/react/chunks/chunk-XTAXESM6.js +1 -0
- package/dist/stage-bundles/react/chunks/chunk-YB7FA4Y3.js +1 -0
- package/dist/stage-bundles/react/chunks/chunk-YCGY2NRE.js +1 -0
- package/dist/stage-bundles/react/chunks/chunk-YCMBBPKT.js +1 -0
- package/dist/stage-bundles/react/chunks/chunk-Z3M6DQKZ.js +1 -0
- package/dist/stage-bundles/react/chunks/chunk-ZUPNPSUB.js +1 -0
- package/dist/stage-bundles/react/chunks/clearDestination-ESJ4RTEB.js +1 -0
- package/dist/stage-bundles/react/chunks/clearName-XLFUSVVX.js +1 -0
- package/dist/stage-bundles/react/chunks/clearOptionsExpression-T5UZGD3M.js +1 -0
- package/dist/stage-bundles/react/chunks/clearRender-QOV6MKSA.js +1 -0
- package/dist/stage-bundles/react/chunks/clearRepeat-KGDHK6I5.js +1 -0
- package/dist/stage-bundles/react/chunks/contentEditor-VQUII3R3.js +1 -0
- package/dist/stage-bundles/react/chunks/createAction-ITB7SY4A.js +1 -0
- package/dist/stage-bundles/react/chunks/createAnimation-5GYHDNS4.js +1 -0
- package/dist/stage-bundles/react/chunks/createComputed-BMWO4U4T.js +1 -0
- package/dist/stage-bundles/react/chunks/createTextContent-ZVU57TXU.js +1 -0
- package/dist/stage-bundles/react/chunks/createValue-Q2VRKXEI.js +1 -0
- package/dist/stage-bundles/react/chunks/design-Z6J5JRDV.js +15 -0
- package/dist/stage-bundles/react/chunks/disconnectNode-PNUX55O2.js +1 -0
- package/dist/stage-bundles/react/chunks/history-7CH6VXP4.js +1 -0
- package/dist/stage-bundles/react/chunks/id-UUBDNSND.js +1 -0
- package/dist/stage-bundles/react/chunks/main-D4CUN7NH.js +1 -0
- package/dist/stage-bundles/react/chunks/main-OAJ3EVVU.js +1 -0
- package/dist/stage-bundles/react/chunks/main-WER4YJAR.js +1 -0
- package/dist/stage-bundles/react/chunks/main-XBZULJGK.js +1 -0
- package/dist/stage-bundles/react/chunks/moveNodeToLastChildOf-DQR5GURK.js +1 -0
- package/dist/stage-bundles/react/chunks/nodeGraph-2AX6JUZ4.js +1 -0
- package/dist/stage-bundles/react/chunks/normalizeEventName-3CSULWE4.js +1 -0
- package/dist/stage-bundles/react/chunks/normalizeLayoutContext-34DZRL3Q.js +1 -0
- package/dist/stage-bundles/react/chunks/preview-5V5GS6PZ.js +1 -0
- package/dist/stage-bundles/react/chunks/react-YDAQ4KLN.js +1 -0
- package/dist/stage-bundles/react/chunks/removeAction-7V4VV5SS.js +1 -0
- package/dist/stage-bundles/react/chunks/removeAnimationBinding-26LUMVXH.js +1 -0
- package/dist/stage-bundles/react/chunks/removeAttribute-AZK5TQQM.js +1 -0
- package/dist/stage-bundles/react/chunks/removeComputed-HIYYBG3M.js +1 -0
- package/dist/stage-bundles/react/chunks/removeEvent-A7AUWPIF.js +1 -0
- package/dist/stage-bundles/react/chunks/removeLifecycleHook-Z5ZHFYSE.js +1 -0
- package/dist/stage-bundles/react/chunks/removeNode-QSDSWHNG.js +1 -0
- package/dist/stage-bundles/react/chunks/removeOption-7JZTAHTB.js +1 -0
- package/dist/stage-bundles/react/chunks/removeParamFromRoute-JBZOXNDA.js +1 -0
- package/dist/stage-bundles/react/chunks/removeState-RIXJ6YEL.js +1 -0
- package/dist/stage-bundles/react/chunks/removeStore-PKBJRCYZ.js +1 -0
- package/dist/stage-bundles/react/chunks/removeToken-WRU2GN7O.js +1 -0
- package/dist/stage-bundles/react/chunks/removeValue-KRNKQVF5.js +1 -0
- package/dist/stage-bundles/react/chunks/setDestination-DUGBRV24.js +1 -0
- package/dist/stage-bundles/react/chunks/setHomePage-GJLGWZHJ.js +1 -0
- package/dist/stage-bundles/react/chunks/setHtmlId-F5SPBYD7.js +1 -0
- package/dist/stage-bundles/react/chunks/setName-DAQAN7JR.js +1 -0
- package/dist/stage-bundles/react/chunks/setNodeLayout-X4PQKKZT.js +1 -0
- package/dist/stage-bundles/react/chunks/setOptionsExpression-3MOFK54D.js +1 -0
- package/dist/stage-bundles/react/chunks/setRender-WJRTHRML.js +1 -0
- package/dist/stage-bundles/react/chunks/setRepeat-JD6QROHI.js +1 -0
- package/dist/stage-bundles/react/chunks/setTagName-42MJSWMZ.js +1 -0
- package/dist/stage-bundles/react/chunks/updateAction-ZW4KGOAQ.js +1 -0
- package/dist/stage-bundles/react/chunks/updateAnimationBinding-QETT3JF2.js +1 -0
- package/dist/stage-bundles/react/chunks/updateAttribute-HFPDXXBZ.js +1 -0
- package/dist/stage-bundles/react/chunks/updateBounds-HOTYUCG4.js +1 -0
- package/dist/stage-bundles/react/chunks/updateComputed-OOBDA4XY.js +1 -0
- package/dist/stage-bundles/react/chunks/updateEvent-LCGAPMAI.js +1 -0
- package/dist/stage-bundles/react/chunks/updateHtml-VQAIKLEG.js +1 -0
- package/dist/stage-bundles/react/chunks/updateLifecycleHook-RCS2QC44.js +1 -0
- package/dist/stage-bundles/react/chunks/updateOption-PPZLK4X3.js +1 -0
- package/dist/stage-bundles/react/chunks/updateRoute-FPAKZBCT.js +1 -0
- package/dist/stage-bundles/react/chunks/updateState-LRZJPENX.js +1 -0
- package/dist/stage-bundles/react/chunks/updateStyle-M7YKN6C4.js +1 -0
- package/dist/stage-bundles/react/chunks/updateToken-LOI6M4XH.js +1 -0
- package/dist/stage-bundles/react/chunks/updateValue-NTA7TSYR.js +1 -0
- package/dist/stage-bundles/react/chunks/user-3YXEQVFB.js +1 -0
- package/dist/stage-bundles/react/chunks/validateStorePayload-VVQBPX4I.js +3 -0
- package/dist/stage-bundles/react/chunks/viewport-7ICM5NZY.js +1 -0
- package/dist/stage-bundles/react/chunks/window-SG66BA4O.js +1 -0
- package/dist/stage-bundles/react/entry.js +1 -85
- package/dist/stage-bundles/react/framework-dom-client.js +1 -22
- package/dist/stage-bundles/react/framework-dom.js +1 -21
- package/dist/stage-bundles/react/framework-jsx-runtime.js +1 -60
- package/dist/stage-bundles/react/framework.js +1 -20
- package/dist/stage-bundles/react/sdk.js +1 -49
- package/dist/stage-bundles/vue/chunks/addAction-EGLGEGTS.js +1 -0
- package/dist/stage-bundles/vue/chunks/addAnimationBinding-WCB5VZLU.js +1 -0
- package/dist/stage-bundles/vue/chunks/addAttribute-2MZ3OFUE.js +1 -0
- package/dist/stage-bundles/vue/chunks/addComponent-Y2AQ2FGZ.js +1 -0
- package/dist/stage-bundles/vue/chunks/addComputed-7JLBFD6I.js +1 -0
- package/dist/stage-bundles/vue/chunks/addEvent-HOBNKM2F.js +1 -0
- package/dist/stage-bundles/vue/chunks/addLifecycleHook-GHYL7FRH.js +1 -0
- package/dist/stage-bundles/vue/chunks/addNode-5OXCF22G.js +1 -0
- package/dist/stage-bundles/vue/chunks/addOption-PVXGN7AJ.js +1 -0
- package/dist/stage-bundles/vue/chunks/addParamToRoute-VL2VOFZS.js +1 -0
- package/dist/stage-bundles/vue/chunks/addState-U2NWEGWV.js +1 -0
- package/dist/stage-bundles/vue/chunks/addStore-AQMFKH33.js +1 -0
- package/dist/stage-bundles/vue/chunks/addToken-XF2FFA52.js +1 -0
- package/dist/stage-bundles/vue/chunks/addValue-O7YXXMST.js +1 -0
- package/dist/stage-bundles/vue/chunks/aiAttachmentContracts-V3EW4BHI.js +1 -0
- package/dist/stage-bundles/vue/chunks/aiMessagesContracts-ZGHZJ7EU.js +1 -0
- package/dist/stage-bundles/vue/chunks/aiRelay-WDZAC42R.js +1 -0
- package/dist/stage-bundles/vue/chunks/aiSessionContracts-WAMOGHSG.js +1 -0
- package/dist/stage-bundles/vue/chunks/assets-NU56BTDG.js +1 -0
- package/dist/stage-bundles/vue/chunks/capture-UZVRGVM7.js +1 -0
- package/dist/stage-bundles/vue/chunks/chunk-5CWWFBNY.js +1 -0
- package/dist/stage-bundles/vue/chunks/chunk-5GKIM3R4.js +1 -0
- package/dist/stage-bundles/vue/chunks/chunk-6KW4HPGN.js +1 -0
- package/dist/stage-bundles/vue/chunks/chunk-6S7QQT47.js +1 -0
- package/dist/stage-bundles/vue/chunks/chunk-7CCYKDAJ.js +97 -0
- package/dist/stage-bundles/vue/chunks/chunk-7UENQJSC.js +5 -0
- package/dist/stage-bundles/vue/chunks/chunk-7VDUBBVE.js +1 -0
- package/dist/stage-bundles/vue/chunks/chunk-A25WFH3U.js +1 -0
- package/dist/stage-bundles/vue/chunks/chunk-A52FDU5E.js +1 -0
- package/dist/stage-bundles/vue/chunks/chunk-ACPGC7BJ.js +1 -0
- package/dist/stage-bundles/vue/chunks/chunk-AMPHYXGT.js +1 -0
- package/dist/stage-bundles/vue/chunks/chunk-AS76ZLXK.js +1 -0
- package/dist/stage-bundles/vue/chunks/chunk-AYZAGKHN.js +1 -0
- package/dist/stage-bundles/vue/chunks/chunk-BL6GQ6ID.js +1 -0
- package/dist/stage-bundles/vue/chunks/chunk-BWJHUHDJ.js +1 -0
- package/dist/stage-bundles/vue/chunks/chunk-CAAW6MG4.js +1 -0
- package/dist/stage-bundles/vue/chunks/chunk-CC3CCH2E.js +1 -0
- package/dist/stage-bundles/vue/chunks/chunk-CNZYL2VV.js +1 -0
- package/dist/stage-bundles/vue/chunks/chunk-CXJ5APZF.js +1 -0
- package/dist/stage-bundles/vue/chunks/chunk-CYURWEXX.js +1 -0
- package/dist/stage-bundles/vue/chunks/chunk-DHPGPV5T.js +1 -0
- package/dist/stage-bundles/vue/chunks/chunk-DLHF7QB4.js +1 -0
- package/dist/stage-bundles/vue/chunks/chunk-E6KR5RXO.js +1 -0
- package/dist/stage-bundles/vue/chunks/chunk-EPVRMHC2.js +1 -0
- package/dist/stage-bundles/vue/chunks/chunk-EWEPEODY.js +1 -0
- package/dist/stage-bundles/vue/chunks/chunk-EXXAK3BP.js +1 -0
- package/dist/stage-bundles/vue/chunks/chunk-F5MJNV7Y.js +3 -0
- package/dist/stage-bundles/vue/chunks/chunk-FAYUYASQ.js +1 -0
- package/dist/stage-bundles/vue/chunks/chunk-FYWE2MO5.js +1 -0
- package/dist/stage-bundles/vue/chunks/chunk-GEOQWCYL.js +1 -0
- package/dist/stage-bundles/vue/chunks/chunk-GK5XUHQG.js +1 -0
- package/dist/stage-bundles/vue/chunks/chunk-GM4D3DPT.js +1 -0
- package/dist/stage-bundles/vue/chunks/chunk-GUI7FIZD.js +1 -0
- package/dist/stage-bundles/vue/chunks/chunk-HAN4CMBX.js +1 -0
- package/dist/stage-bundles/vue/chunks/chunk-HCRWHPFW.js +1 -0
- package/dist/stage-bundles/vue/chunks/chunk-HE7IQLGK.js +1 -0
- package/dist/stage-bundles/vue/chunks/chunk-I57W7UZN.js +1 -0
- package/dist/stage-bundles/vue/chunks/chunk-IBDKDP7T.js +1 -0
- package/dist/stage-bundles/vue/chunks/chunk-ICWQHFOI.js +1 -0
- package/dist/stage-bundles/vue/chunks/chunk-IKKRB6BS.js +1 -0
- package/dist/stage-bundles/vue/chunks/chunk-ILXSVZXQ.js +1 -0
- package/dist/stage-bundles/vue/chunks/chunk-IV6PINVX.js +1 -0
- package/dist/stage-bundles/vue/chunks/chunk-IW4KEJOF.js +1 -0
- package/dist/stage-bundles/vue/chunks/chunk-IZT2KVTW.js +1 -0
- package/dist/stage-bundles/vue/chunks/chunk-J5QMLA3Z.js +1 -0
- package/dist/stage-bundles/vue/chunks/chunk-JRXMDYLE.js +1 -0
- package/dist/stage-bundles/vue/chunks/chunk-K5BNCYT7.js +1 -0
- package/dist/stage-bundles/vue/chunks/chunk-KTWXYDG7.js +1 -0
- package/dist/stage-bundles/vue/chunks/chunk-LHK7LQPZ.js +1 -0
- package/dist/stage-bundles/vue/chunks/chunk-LUY5LC7Z.js +1 -0
- package/dist/stage-bundles/vue/chunks/chunk-M3OE4LWW.js +56 -0
- package/dist/stage-bundles/vue/chunks/chunk-MGH62JQ4.js +1 -0
- package/dist/stage-bundles/vue/chunks/chunk-MUZZUB5Y.js +1 -0
- package/dist/stage-bundles/vue/chunks/chunk-N6I4COF2.js +1 -0
- package/dist/stage-bundles/vue/chunks/chunk-NHY2XYCH.js +1 -0
- package/dist/stage-bundles/vue/chunks/chunk-NOTXZB5N.js +1 -0
- package/dist/stage-bundles/vue/chunks/chunk-NXBFOI3Z.js +1 -0
- package/dist/stage-bundles/vue/chunks/chunk-O24ISLGT.js +1 -0
- package/dist/stage-bundles/vue/chunks/chunk-OQM5TMCK.js +1 -0
- package/dist/stage-bundles/vue/chunks/chunk-PPDOTRNT.js +1 -0
- package/dist/stage-bundles/vue/chunks/chunk-PU62K33G.js +1 -0
- package/dist/stage-bundles/vue/chunks/chunk-PYIGBTL4.js +6 -0
- package/dist/stage-bundles/vue/chunks/chunk-Q3IER3MW.js +1 -0
- package/dist/stage-bundles/vue/chunks/chunk-Q3ZV7EKU.js +1 -0
- package/dist/stage-bundles/vue/chunks/chunk-QD56IMFS.js +1 -0
- package/dist/stage-bundles/vue/chunks/chunk-QFFVADTJ.js +1 -0
- package/dist/stage-bundles/vue/chunks/chunk-QJ33JO3T.js +1 -0
- package/dist/stage-bundles/vue/chunks/chunk-QKFDVU2Q.js +1 -0
- package/dist/stage-bundles/vue/chunks/chunk-QVVBKZW6.js +1 -0
- package/dist/stage-bundles/vue/chunks/chunk-RFFN4NF4.js +1 -0
- package/dist/stage-bundles/vue/chunks/chunk-RMSX6LWP.js +1 -0
- package/dist/stage-bundles/vue/chunks/chunk-TPCJQIUG.js +1 -0
- package/dist/stage-bundles/vue/chunks/chunk-TSL6VG3R.js +1 -0
- package/dist/stage-bundles/vue/chunks/chunk-TTTOAB6J.js +1 -0
- package/dist/stage-bundles/vue/chunks/chunk-TX5TCU2H.js +1 -0
- package/dist/stage-bundles/vue/chunks/chunk-UCLSDDOL.js +1 -0
- package/dist/stage-bundles/vue/chunks/chunk-UDTKG2KI.js +1 -0
- package/dist/stage-bundles/vue/chunks/chunk-UIC3GAEE.js +1 -0
- package/dist/stage-bundles/vue/chunks/chunk-XE3A5HPY.js +1 -0
- package/dist/stage-bundles/vue/chunks/chunk-XFHQ45KR.js +1 -0
- package/dist/stage-bundles/vue/chunks/chunk-XTAXESM6.js +1 -0
- package/dist/stage-bundles/vue/chunks/chunk-YB7FA4Y3.js +1 -0
- package/dist/stage-bundles/vue/chunks/chunk-YCGY2NRE.js +1 -0
- package/dist/stage-bundles/vue/chunks/chunk-YCMBBPKT.js +1 -0
- package/dist/stage-bundles/vue/chunks/chunk-Z3M6DQKZ.js +1 -0
- package/dist/stage-bundles/vue/chunks/chunk-ZUPNPSUB.js +1 -0
- package/dist/stage-bundles/vue/chunks/clearDestination-IGKNL7FN.js +1 -0
- package/dist/stage-bundles/vue/chunks/clearName-HJ7ZTHBU.js +1 -0
- package/dist/stage-bundles/vue/chunks/clearOptionsExpression-NZQFL64E.js +1 -0
- package/dist/stage-bundles/vue/chunks/clearRender-NPVDTNFA.js +1 -0
- package/dist/stage-bundles/vue/chunks/clearRepeat-7YFYZODP.js +1 -0
- package/dist/stage-bundles/vue/chunks/contentEditor-EUDU6PBV.js +1 -0
- package/dist/stage-bundles/vue/chunks/createAction-73YUTK3T.js +1 -0
- package/dist/stage-bundles/vue/chunks/createAnimation-2WQSMYT5.js +1 -0
- package/dist/stage-bundles/vue/chunks/createComputed-DMX7CJA3.js +1 -0
- package/dist/stage-bundles/vue/chunks/createTextContent-4Z4YATBO.js +1 -0
- package/dist/stage-bundles/vue/chunks/createValue-DXQSLOBG.js +1 -0
- package/dist/stage-bundles/vue/chunks/design-LU5XWCLC.js +15 -0
- package/dist/stage-bundles/vue/chunks/disconnectNode-2CLWVIQP.js +1 -0
- package/dist/stage-bundles/vue/chunks/history-VAAFKC4E.js +1 -0
- package/dist/stage-bundles/vue/chunks/id-ZIAZZ5AS.js +1 -0
- package/dist/stage-bundles/vue/chunks/main-HQ4XJKUM.js +1 -0
- package/dist/stage-bundles/vue/chunks/main-KFGWT6OT.js +1 -0
- package/dist/stage-bundles/vue/chunks/main-R652XLC3.js +1 -0
- package/dist/stage-bundles/vue/chunks/main-X6SC5JYU.js +1 -0
- package/dist/stage-bundles/vue/chunks/moveNodeToLastChildOf-H4TZ5UMP.js +1 -0
- package/dist/stage-bundles/vue/chunks/nodeGraph-JS64VAAQ.js +1 -0
- package/dist/stage-bundles/vue/chunks/normalizeEventName-SNBYJDUY.js +1 -0
- package/dist/stage-bundles/vue/chunks/normalizeLayoutContext-KGEMYC4Y.js +1 -0
- package/dist/stage-bundles/vue/chunks/preview-52FXOKBF.js +1 -0
- package/dist/stage-bundles/vue/chunks/removeAction-T4M5EJN7.js +1 -0
- package/dist/stage-bundles/vue/chunks/removeAnimationBinding-AIISPC33.js +1 -0
- package/dist/stage-bundles/vue/chunks/removeAttribute-DCKZLM55.js +1 -0
- package/dist/stage-bundles/vue/chunks/removeComputed-WSA5GNVZ.js +1 -0
- package/dist/stage-bundles/vue/chunks/removeEvent-2YZ55HD6.js +1 -0
- package/dist/stage-bundles/vue/chunks/removeLifecycleHook-SBPJNF5P.js +1 -0
- package/dist/stage-bundles/vue/chunks/removeNode-5HXQ63V3.js +1 -0
- package/dist/stage-bundles/vue/chunks/removeOption-SYIFB4XW.js +1 -0
- package/dist/stage-bundles/vue/chunks/removeParamFromRoute-HAYP3WTT.js +1 -0
- package/dist/stage-bundles/vue/chunks/removeState-SGJVQ66N.js +1 -0
- package/dist/stage-bundles/vue/chunks/removeStore-YVBTGA3I.js +1 -0
- package/dist/stage-bundles/vue/chunks/removeToken-AIDV7DUM.js +1 -0
- package/dist/stage-bundles/vue/chunks/removeValue-UP5ZFN3U.js +1 -0
- package/dist/stage-bundles/vue/chunks/setDestination-NCPAVIIK.js +1 -0
- package/dist/stage-bundles/vue/chunks/setHomePage-O2JYOG6H.js +1 -0
- package/dist/stage-bundles/vue/chunks/setHtmlId-2W7YW47O.js +1 -0
- package/dist/stage-bundles/vue/chunks/setName-NKRZPBGG.js +1 -0
- package/dist/stage-bundles/vue/chunks/setNodeLayout-GY4G7UZR.js +1 -0
- package/dist/stage-bundles/vue/chunks/setOptionsExpression-K5EQXJEY.js +1 -0
- package/dist/stage-bundles/vue/chunks/setRender-7XMGQ7ZK.js +1 -0
- package/dist/stage-bundles/vue/chunks/setRepeat-WN4WZJUN.js +1 -0
- package/dist/stage-bundles/vue/chunks/setTagName-U6UJNJLE.js +1 -0
- package/dist/stage-bundles/vue/chunks/updateAction-3KSR6ZIJ.js +1 -0
- package/dist/stage-bundles/vue/chunks/updateAnimationBinding-HVVHLFBO.js +1 -0
- package/dist/stage-bundles/vue/chunks/updateAttribute-XXZL2P43.js +1 -0
- package/dist/stage-bundles/vue/chunks/updateBounds-5M7YQRO3.js +1 -0
- package/dist/stage-bundles/vue/chunks/updateComputed-7QA6XZIC.js +1 -0
- package/dist/stage-bundles/vue/chunks/updateEvent-R52PL2G4.js +1 -0
- package/dist/stage-bundles/vue/chunks/updateHtml-YBJJSWQW.js +1 -0
- package/dist/stage-bundles/vue/chunks/updateLifecycleHook-4RA2U4TR.js +1 -0
- package/dist/stage-bundles/vue/chunks/updateOption-5U23ZUWV.js +1 -0
- package/dist/stage-bundles/vue/chunks/updateRoute-TFQFFFSZ.js +1 -0
- package/dist/stage-bundles/vue/chunks/updateState-JCUSBQOL.js +1 -0
- package/dist/stage-bundles/vue/chunks/updateStyle-JASLFXVX.js +1 -0
- package/dist/stage-bundles/vue/chunks/updateToken-24P2P2SF.js +1 -0
- package/dist/stage-bundles/vue/chunks/updateValue-TSVJM3PO.js +1 -0
- package/dist/stage-bundles/vue/chunks/user-FCPIGR7X.js +1 -0
- package/dist/stage-bundles/vue/chunks/validateStorePayload-HCBPC7HR.js +3 -0
- package/dist/stage-bundles/vue/chunks/viewport-LLBH2LJW.js +1 -0
- package/dist/stage-bundles/vue/chunks/vue-62USAR6D.js +1 -0
- package/dist/stage-bundles/vue/chunks/window-TFWZNZUJ.js +1 -0
- package/dist/stage-bundles/vue/entry.js +1 -85
- package/dist/stage-bundles/vue/framework-jsx-runtime.js +1 -34
- package/dist/stage-bundles/vue/framework.js +1 -352
- package/dist/stage-bundles/vue/sdk.js +1 -42
- package/dist/stage-src/dev/entry.js +10 -15
- package/dist/stage-src/dev/server.js +34 -38
- package/dist/stage-src/preview/bootstrap.js +16 -19
- package/dist/stage-src/preview/entry.js +2 -1
- package/dist/stage-src/preview/routes/js.js +4 -4
- package/dist/stage-src/preview/routes/preview.js +2 -2
- package/dist/stage-src/preview/server.js +42 -17
- package/package.json +18 -16
- package/dist/stage/chunks/addAttribute-CNJGHQSS.js +0 -1
- package/dist/stage/chunks/addNode-AOA2MS25.js +0 -1
- package/dist/stage/chunks/aiRelay-FSM6HGF7.js +0 -1
- package/dist/stage/chunks/assets-OAQXQVKM.js +0 -1
- package/dist/stage/chunks/bootstrap-LFMD2YRN.js +0 -15
- package/dist/stage/chunks/bootstrap-LHT54EHF.js +0 -1
- package/dist/stage/chunks/chunk-32FG2JVJ.js +0 -1
- package/dist/stage/chunks/chunk-4FPLUVEY.js +0 -1
- package/dist/stage/chunks/chunk-5YRZZCXL.js +0 -1
- package/dist/stage/chunks/chunk-6GMURG26.js +0 -1
- package/dist/stage/chunks/chunk-73MAM44D.js +0 -1
- package/dist/stage/chunks/chunk-AMAA7VJU.js +0 -1
- package/dist/stage/chunks/chunk-CUIKYKRZ.js +0 -1
- package/dist/stage/chunks/chunk-HBEU7BDR.js +0 -1
- package/dist/stage/chunks/chunk-JKMOVSI4.js +0 -1
- package/dist/stage/chunks/chunk-N4AFW5M3.js +0 -1
- package/dist/stage/chunks/chunk-OQ52NUNN.js +0 -1
- package/dist/stage/chunks/chunk-PSNKOX4A.js +0 -37
- package/dist/stage/chunks/chunk-QCZ4EDGZ.js +0 -1
- package/dist/stage/chunks/chunk-RWJ7EPNM.js +0 -1
- package/dist/stage/chunks/chunk-TV4PHWEG.js +0 -1
- package/dist/stage/chunks/chunk-X2DYJVYZ.js +0 -1
- package/dist/stage/chunks/clearName-YFCAGL36.js +0 -1
- package/dist/stage/chunks/clearRender-4YRSLAVX.js +0 -1
- package/dist/stage/chunks/clearRepeat-7TPSR6FL.js +0 -1
- package/dist/stage/chunks/history-KHLKDDEZ.js +0 -1
- package/dist/stage/chunks/main-3QLLHM43.js +0 -1
- package/dist/stage/chunks/main-7EICBMQ2.js +0 -1
- package/dist/stage/chunks/main-NIVRMJR3.js +0 -1
- package/dist/stage/chunks/moveNodeToLastChildOf-PSU5X3UJ.js +0 -1
- package/dist/stage/chunks/nodeGraph-7M5JI3VA.js +0 -1
- package/dist/stage/chunks/normalizeLayoutContext-NWKVWWWS.js +0 -1
- package/dist/stage/chunks/preview-bootstrap-LB3AH2CS.js +0 -1
- package/dist/stage/chunks/removeToken-CKODWTLX.js +0 -1
- package/dist/stage/chunks/screen-capture-bootstrap-BRQD4OSY.js +0 -1
- package/dist/stage/chunks/setNodeLayout-3LRJGZNL.js +0 -1
- package/dist/stage/chunks/updateAttribute-USA3HPEX.js +0 -1
- package/dist/stage/chunks/user-2EMXBDUX.js +0 -1
- package/dist/stage/chunks/window-KCOIKBXQ.js +0 -1
- package/dist/stage-bundles/preact/chunks/addAction-5FCPHQHB.js +0 -9
- package/dist/stage-bundles/preact/chunks/addAnimationBinding-5UBXLWDB.js +0 -7
- package/dist/stage-bundles/preact/chunks/addAttribute-PWIHRX6Y.js +0 -12
- package/dist/stage-bundles/preact/chunks/addComponent-77PUZWLS.js +0 -14
- package/dist/stage-bundles/preact/chunks/addComputed-5J47SS67.js +0 -9
- package/dist/stage-bundles/preact/chunks/addEvent-P2KGVMLM.js +0 -11
- package/dist/stage-bundles/preact/chunks/addLifecycleHook-VSOAZGTG.js +0 -8
- package/dist/stage-bundles/preact/chunks/addNode-GCJR257S.js +0 -19
- package/dist/stage-bundles/preact/chunks/addOption-3U3LAV4C.js +0 -8
- package/dist/stage-bundles/preact/chunks/addParamToRoute-43UDJ4YE.js +0 -7
- package/dist/stage-bundles/preact/chunks/addState-ZWDA2CLN.js +0 -11
- package/dist/stage-bundles/preact/chunks/addStore-A4CRKMPO.js +0 -7
- package/dist/stage-bundles/preact/chunks/addToken-7P5NGEG4.js +0 -8
- package/dist/stage-bundles/preact/chunks/addValue-VQW7HQX7.js +0 -8
- package/dist/stage-bundles/preact/chunks/aiRelay-TFBJ7BF4.js +0 -184
- package/dist/stage-bundles/preact/chunks/assets-3W46CFCY.js +0 -42
- package/dist/stage-bundles/preact/chunks/bootstrap-VNVZAVV5.js +0 -4080
- package/dist/stage-bundles/preact/chunks/chunk-22J4JOPG.js +0 -9
- package/dist/stage-bundles/preact/chunks/chunk-236DY7EE.js +0 -92
- package/dist/stage-bundles/preact/chunks/chunk-2H2EQ2RG.js +0 -24
- package/dist/stage-bundles/preact/chunks/chunk-2Y25YY3N.js +0 -12
- package/dist/stage-bundles/preact/chunks/chunk-3MJKS6VX.js +0 -19
- package/dist/stage-bundles/preact/chunks/chunk-3NLDBJQD.js +0 -12
- package/dist/stage-bundles/preact/chunks/chunk-43L3STHY.js +0 -172
- package/dist/stage-bundles/preact/chunks/chunk-4A4WKSGY.js +0 -66
- package/dist/stage-bundles/preact/chunks/chunk-5C4ZCCYX.js +0 -421
- package/dist/stage-bundles/preact/chunks/chunk-65Q2CFW7.js +0 -18
- package/dist/stage-bundles/preact/chunks/chunk-667SIQGW.js +0 -12
- package/dist/stage-bundles/preact/chunks/chunk-6B6PKOOA.js +0 -140
- package/dist/stage-bundles/preact/chunks/chunk-6BXKZHN6.js +0 -19
- package/dist/stage-bundles/preact/chunks/chunk-6E57QUN7.js +0 -21
- package/dist/stage-bundles/preact/chunks/chunk-6QYYO5LM.js +0 -12
- package/dist/stage-bundles/preact/chunks/chunk-6R3QXFFF.js +0 -47
- package/dist/stage-bundles/preact/chunks/chunk-6RLI7CFQ.js +0 -12
- package/dist/stage-bundles/preact/chunks/chunk-6TDZGYJG.js +0 -13
- package/dist/stage-bundles/preact/chunks/chunk-AI3MQHWR.js +0 -51
- package/dist/stage-bundles/preact/chunks/chunk-BWZPEI76.js +0 -18
- package/dist/stage-bundles/preact/chunks/chunk-CHZVDVQC.js +0 -8
- package/dist/stage-bundles/preact/chunks/chunk-CJOJNMRC.js +0 -8
- package/dist/stage-bundles/preact/chunks/chunk-CXATTVPL.js +0 -24
- package/dist/stage-bundles/preact/chunks/chunk-CYH47R7O.js +0 -49
- package/dist/stage-bundles/preact/chunks/chunk-DBHMBCBM.js +0 -14
- package/dist/stage-bundles/preact/chunks/chunk-DCKGUW2M.js +0 -8
- package/dist/stage-bundles/preact/chunks/chunk-EB5FGFFG.js +0 -12
- package/dist/stage-bundles/preact/chunks/chunk-F6JYAVEC.js +0 -15
- package/dist/stage-bundles/preact/chunks/chunk-F77HGOQB.js +0 -8
- package/dist/stage-bundles/preact/chunks/chunk-FSIANI7E.js +0 -11
- package/dist/stage-bundles/preact/chunks/chunk-FZZDMYBZ.js +0 -12
- package/dist/stage-bundles/preact/chunks/chunk-H75SQT4U.js +0 -105
- package/dist/stage-bundles/preact/chunks/chunk-HPCVUQI4.js +0 -224
- package/dist/stage-bundles/preact/chunks/chunk-I5OE2BAU.js +0 -25863
- package/dist/stage-bundles/preact/chunks/chunk-IDGFZWZY.js +0 -13
- package/dist/stage-bundles/preact/chunks/chunk-IIIXGKVH.js +0 -17
- package/dist/stage-bundles/preact/chunks/chunk-ILZWSEWK.js +0 -19
- package/dist/stage-bundles/preact/chunks/chunk-IO3NSIEJ.js +0 -8
- package/dist/stage-bundles/preact/chunks/chunk-ISOZDDO2.js +0 -157
- package/dist/stage-bundles/preact/chunks/chunk-JDIO27MU.js +0 -8
- package/dist/stage-bundles/preact/chunks/chunk-JJVRBJGQ.js +0 -1353
- package/dist/stage-bundles/preact/chunks/chunk-K7ZULZJF.js +0 -116
- package/dist/stage-bundles/preact/chunks/chunk-KF4MVCJ6.js +0 -13
- package/dist/stage-bundles/preact/chunks/chunk-KHURU62K.js +0 -27
- package/dist/stage-bundles/preact/chunks/chunk-KKLU24SB.js +0 -33
- package/dist/stage-bundles/preact/chunks/chunk-KOBPYD4N.js +0 -8
- package/dist/stage-bundles/preact/chunks/chunk-LH4ZDX3T.js +0 -58
- package/dist/stage-bundles/preact/chunks/chunk-M3YT4JBL.js +0 -12
- package/dist/stage-bundles/preact/chunks/chunk-MAPYANXA.js +0 -8
- package/dist/stage-bundles/preact/chunks/chunk-MBN7CVNW.js +0 -4290
- package/dist/stage-bundles/preact/chunks/chunk-MMCB6GGX.js +0 -8
- package/dist/stage-bundles/preact/chunks/chunk-NCUWZXVZ.js +0 -8
- package/dist/stage-bundles/preact/chunks/chunk-O3KQTA3H.js +0 -21
- package/dist/stage-bundles/preact/chunks/chunk-OARTKQPG.js +0 -153
- package/dist/stage-bundles/preact/chunks/chunk-P7UUT7BU.js +0 -12
- package/dist/stage-bundles/preact/chunks/chunk-PHVB7SAE.js +0 -22
- package/dist/stage-bundles/preact/chunks/chunk-PKSFATQY.js +0 -10
- package/dist/stage-bundles/preact/chunks/chunk-PU2GET2S.js +0 -18
- package/dist/stage-bundles/preact/chunks/chunk-QBXKRHK5.js +0 -11
- package/dist/stage-bundles/preact/chunks/chunk-QCQXLZJH.js +0 -18
- package/dist/stage-bundles/preact/chunks/chunk-QIOKODGT.js +0 -14
- package/dist/stage-bundles/preact/chunks/chunk-R5DUYWXP.js +0 -8
- package/dist/stage-bundles/preact/chunks/chunk-RCIDQRAS.js +0 -54
- package/dist/stage-bundles/preact/chunks/chunk-RI7XWDHX.js +0 -10
- package/dist/stage-bundles/preact/chunks/chunk-RZG5LCPH.js +0 -12
- package/dist/stage-bundles/preact/chunks/chunk-S4NZQRJJ.js +0 -12
- package/dist/stage-bundles/preact/chunks/chunk-S5L2YBXG.js +0 -143
- package/dist/stage-bundles/preact/chunks/chunk-SF5BLQ7P.js +0 -14
- package/dist/stage-bundles/preact/chunks/chunk-SPTKNGHA.js +0 -14
- package/dist/stage-bundles/preact/chunks/chunk-TKHCH4WB.js +0 -35
- package/dist/stage-bundles/preact/chunks/chunk-TVB3GD7L.js +0 -8
- package/dist/stage-bundles/preact/chunks/chunk-TVGXBOIT.js +0 -18
- package/dist/stage-bundles/preact/chunks/chunk-U7U7L7XZ.js +0 -31
- package/dist/stage-bundles/preact/chunks/chunk-UFHA3ODE.js +0 -528
- package/dist/stage-bundles/preact/chunks/chunk-UHGV762U.js +0 -12
- package/dist/stage-bundles/preact/chunks/chunk-V6MKKC23.js +0 -18
- package/dist/stage-bundles/preact/chunks/chunk-VK4FEQKG.js +0 -18
- package/dist/stage-bundles/preact/chunks/chunk-VZNGMF63.js +0 -12
- package/dist/stage-bundles/preact/chunks/chunk-W5CGYUVM.js +0 -8
- package/dist/stage-bundles/preact/chunks/chunk-W7QH4UII.js +0 -54
- package/dist/stage-bundles/preact/chunks/chunk-WMV5J37V.js +0 -8
- package/dist/stage-bundles/preact/chunks/chunk-WXDXWNWW.js +0 -8
- package/dist/stage-bundles/preact/chunks/chunk-XKFPCFZH.js +0 -8
- package/dist/stage-bundles/preact/chunks/chunk-YCZNHFZA.js +0 -15
- package/dist/stage-bundles/preact/chunks/chunk-YEEGISBQ.js +0 -23
- package/dist/stage-bundles/preact/chunks/chunk-YM3NAGCN.js +0 -8
- package/dist/stage-bundles/preact/chunks/chunk-YMVTSVEM.js +0 -26
- package/dist/stage-bundles/preact/chunks/chunk-YXNMNEJV.js +0 -329
- package/dist/stage-bundles/preact/chunks/clearDestination-EMCIEDAP.js +0 -7
- package/dist/stage-bundles/preact/chunks/clearName-O7J77F77.js +0 -7
- package/dist/stage-bundles/preact/chunks/clearOptionsExpression-RGDXKYVX.js +0 -7
- package/dist/stage-bundles/preact/chunks/clearRender-DFMNHXXQ.js +0 -7
- package/dist/stage-bundles/preact/chunks/clearRepeat-436RGATR.js +0 -7
- package/dist/stage-bundles/preact/chunks/contentEditor-NLMG4U5G.js +0 -67
- package/dist/stage-bundles/preact/chunks/createAction-CKUAX4TU.js +0 -8
- package/dist/stage-bundles/preact/chunks/createAnimation-URI5366N.js +0 -7
- package/dist/stage-bundles/preact/chunks/createComputed-I23CA5NX.js +0 -8
- package/dist/stage-bundles/preact/chunks/createTextContent-K4G7KNQ5.js +0 -10
- package/dist/stage-bundles/preact/chunks/createValue-D5MP2SMM.js +0 -7
- package/dist/stage-bundles/preact/chunks/disconnectNode-GM5F3ZMB.js +0 -8
- package/dist/stage-bundles/preact/chunks/history-7PFZW7N6.js +0 -51
- package/dist/stage-bundles/preact/chunks/id-VSNJWKHU.js +0 -53
- package/dist/stage-bundles/preact/chunks/main-GQD7B74Q.js +0 -103
- package/dist/stage-bundles/preact/chunks/main-M2BBXKSW.js +0 -154
- package/dist/stage-bundles/preact/chunks/main-QDV3BMBP.js +0 -109
- package/dist/stage-bundles/preact/chunks/main-QOB4HBIK.js +0 -31
- package/dist/stage-bundles/preact/chunks/moveNodeToLastChildOf-Z6JUVLGM.js +0 -12
- package/dist/stage-bundles/preact/chunks/nodeGraph-TTOC6H4R.js +0 -53
- package/dist/stage-bundles/preact/chunks/normalizeEventName-2JPOX7Y6.js +0 -128
- package/dist/stage-bundles/preact/chunks/normalizeLayoutContext-Y44QODFX.js +0 -9
- package/dist/stage-bundles/preact/chunks/preact-FCSVXHIZ.js +0 -39
- package/dist/stage-bundles/preact/chunks/preview-bootstrap-QHWGL6NH.js +0 -137
- package/dist/stage-bundles/preact/chunks/removeAction-PPAIVTW3.js +0 -7
- package/dist/stage-bundles/preact/chunks/removeAnimationBinding-UQ24BSXP.js +0 -7
- package/dist/stage-bundles/preact/chunks/removeAttribute-P2IDGOQH.js +0 -7
- package/dist/stage-bundles/preact/chunks/removeComputed-7C66NNZA.js +0 -7
- package/dist/stage-bundles/preact/chunks/removeEvent-KTSOCV4C.js +0 -7
- package/dist/stage-bundles/preact/chunks/removeLifecycleHook-NKXLF3QT.js +0 -7
- package/dist/stage-bundles/preact/chunks/removeNode-A7C34C42.js +0 -10
- package/dist/stage-bundles/preact/chunks/removeOption-6HW62A5Y.js +0 -7
- package/dist/stage-bundles/preact/chunks/removeParamFromRoute-LIKPDVU4.js +0 -7
- package/dist/stage-bundles/preact/chunks/removeState-PO6J3JYQ.js +0 -7
- package/dist/stage-bundles/preact/chunks/removeStore-5ZZ57NHV.js +0 -7
- package/dist/stage-bundles/preact/chunks/removeToken-BKJE3U6Q.js +0 -7
- package/dist/stage-bundles/preact/chunks/removeValue-5FNPXWNL.js +0 -7
- package/dist/stage-bundles/preact/chunks/screen-capture-bootstrap-YWUN6QRP.js +0 -128
- package/dist/stage-bundles/preact/chunks/setDestination-DAYIYYIV.js +0 -7
- package/dist/stage-bundles/preact/chunks/setHomePage-MHCP4P24.js +0 -7
- package/dist/stage-bundles/preact/chunks/setHtmlId-3HYPFT3T.js +0 -7
- package/dist/stage-bundles/preact/chunks/setName-OQOO3URG.js +0 -7
- package/dist/stage-bundles/preact/chunks/setNodeLayout-PWQS32M2.js +0 -10
- package/dist/stage-bundles/preact/chunks/setOptionsExpression-XZZOJPCM.js +0 -8
- package/dist/stage-bundles/preact/chunks/setRender-NHXZZGME.js +0 -10
- package/dist/stage-bundles/preact/chunks/setRepeat-YZTZFDTQ.js +0 -10
- package/dist/stage-bundles/preact/chunks/setTagName-EGPQ66XI.js +0 -7
- package/dist/stage-bundles/preact/chunks/updateAction-ZSNXUEQA.js +0 -9
- package/dist/stage-bundles/preact/chunks/updateAnimationBinding-X2UXYQKJ.js +0 -7
- package/dist/stage-bundles/preact/chunks/updateAttribute-ODXM7YXA.js +0 -12
- package/dist/stage-bundles/preact/chunks/updateBounds-PEGOZ4FT.js +0 -7
- package/dist/stage-bundles/preact/chunks/updateComputed-6LNN453F.js +0 -9
- package/dist/stage-bundles/preact/chunks/updateEvent-ZHCKBJIM.js +0 -11
- package/dist/stage-bundles/preact/chunks/updateHtml-6BPU5PRY.js +0 -7
- package/dist/stage-bundles/preact/chunks/updateLifecycleHook-JEMQQYM5.js +0 -8
- package/dist/stage-bundles/preact/chunks/updateOption-SH33P5WW.js +0 -8
- package/dist/stage-bundles/preact/chunks/updateRoute-3RRPY2T5.js +0 -7
- package/dist/stage-bundles/preact/chunks/updateState-WRLF4SSC.js +0 -11
- package/dist/stage-bundles/preact/chunks/updateStyle-WAPTDAU5.js +0 -7
- package/dist/stage-bundles/preact/chunks/updateToken-CFIIILXB.js +0 -7
- package/dist/stage-bundles/preact/chunks/updateValue-JTEEC2B6.js +0 -8
- package/dist/stage-bundles/preact/chunks/user-ZLGCTRZX.js +0 -44
- package/dist/stage-bundles/preact/chunks/validateStorePayload-7A2INWJV.js +0 -61
- package/dist/stage-bundles/preact/chunks/viewport-OTNUF4XI.js +0 -21
- package/dist/stage-bundles/preact/chunks/window-73DBL24T.js +0 -32
- package/dist/stage-bundles/react/chunks/addAction-UV7MSISB.js +0 -9
- package/dist/stage-bundles/react/chunks/addAnimationBinding-M4VWTNNB.js +0 -7
- package/dist/stage-bundles/react/chunks/addAttribute-V4C3VUVK.js +0 -12
- package/dist/stage-bundles/react/chunks/addComponent-GUOHFGDG.js +0 -14
- package/dist/stage-bundles/react/chunks/addComputed-N3SUFIVQ.js +0 -9
- package/dist/stage-bundles/react/chunks/addEvent-GQCCRSGP.js +0 -11
- package/dist/stage-bundles/react/chunks/addLifecycleHook-GC5MHVSH.js +0 -8
- package/dist/stage-bundles/react/chunks/addNode-TX462HCE.js +0 -19
- package/dist/stage-bundles/react/chunks/addOption-7T3ZUC3A.js +0 -8
- package/dist/stage-bundles/react/chunks/addParamToRoute-Q6Z5A6RQ.js +0 -7
- package/dist/stage-bundles/react/chunks/addState-IKDWEJIW.js +0 -11
- package/dist/stage-bundles/react/chunks/addStore-SR7UK24M.js +0 -7
- package/dist/stage-bundles/react/chunks/addToken-2G5DPV5Z.js +0 -8
- package/dist/stage-bundles/react/chunks/addValue-UYM36PD7.js +0 -8
- package/dist/stage-bundles/react/chunks/aiRelay-RULC7GEA.js +0 -184
- package/dist/stage-bundles/react/chunks/assets-24YGC7SD.js +0 -42
- package/dist/stage-bundles/react/chunks/bootstrap-6YUSZ2AL.js +0 -4080
- package/dist/stage-bundles/react/chunks/chunk-22J4JOPG.js +0 -9
- package/dist/stage-bundles/react/chunks/chunk-236DY7EE.js +0 -92
- package/dist/stage-bundles/react/chunks/chunk-2H2EQ2RG.js +0 -24
- package/dist/stage-bundles/react/chunks/chunk-2Y25YY3N.js +0 -12
- package/dist/stage-bundles/react/chunks/chunk-3BDWFE4Q.js +0 -1353
- package/dist/stage-bundles/react/chunks/chunk-3MJKS6VX.js +0 -19
- package/dist/stage-bundles/react/chunks/chunk-3NLDBJQD.js +0 -12
- package/dist/stage-bundles/react/chunks/chunk-5C4ODH2L.js +0 -198
- package/dist/stage-bundles/react/chunks/chunk-5EXNWE4S.js +0 -4290
- package/dist/stage-bundles/react/chunks/chunk-65Q2CFW7.js +0 -18
- package/dist/stage-bundles/react/chunks/chunk-667SIQGW.js +0 -12
- package/dist/stage-bundles/react/chunks/chunk-6B6PKOOA.js +0 -140
- package/dist/stage-bundles/react/chunks/chunk-6BXKZHN6.js +0 -19
- package/dist/stage-bundles/react/chunks/chunk-6E57QUN7.js +0 -21
- package/dist/stage-bundles/react/chunks/chunk-6QYYO5LM.js +0 -12
- package/dist/stage-bundles/react/chunks/chunk-6R3QXFFF.js +0 -47
- package/dist/stage-bundles/react/chunks/chunk-6RLI7CFQ.js +0 -12
- package/dist/stage-bundles/react/chunks/chunk-6TDZGYJG.js +0 -13
- package/dist/stage-bundles/react/chunks/chunk-7MWSPEGH.js +0 -172
- package/dist/stage-bundles/react/chunks/chunk-A65NYJEZ.js +0 -157
- package/dist/stage-bundles/react/chunks/chunk-ABVPSM2D.js +0 -278
- package/dist/stage-bundles/react/chunks/chunk-AI3MQHWR.js +0 -51
- package/dist/stage-bundles/react/chunks/chunk-BWZPEI76.js +0 -18
- package/dist/stage-bundles/react/chunks/chunk-CHZVDVQC.js +0 -8
- package/dist/stage-bundles/react/chunks/chunk-CJOJNMRC.js +0 -8
- package/dist/stage-bundles/react/chunks/chunk-CXATTVPL.js +0 -24
- package/dist/stage-bundles/react/chunks/chunk-DBHMBCBM.js +0 -14
- package/dist/stage-bundles/react/chunks/chunk-DCKGUW2M.js +0 -8
- package/dist/stage-bundles/react/chunks/chunk-EB5FGFFG.js +0 -12
- package/dist/stage-bundles/react/chunks/chunk-F6JYAVEC.js +0 -15
- package/dist/stage-bundles/react/chunks/chunk-F77HGOQB.js +0 -8
- package/dist/stage-bundles/react/chunks/chunk-FSIANI7E.js +0 -11
- package/dist/stage-bundles/react/chunks/chunk-FZZDMYBZ.js +0 -12
- package/dist/stage-bundles/react/chunks/chunk-H75SQT4U.js +0 -105
- package/dist/stage-bundles/react/chunks/chunk-IDGFZWZY.js +0 -13
- package/dist/stage-bundles/react/chunks/chunk-IIIXGKVH.js +0 -17
- package/dist/stage-bundles/react/chunks/chunk-ILZWSEWK.js +0 -19
- package/dist/stage-bundles/react/chunks/chunk-IO3NSIEJ.js +0 -8
- package/dist/stage-bundles/react/chunks/chunk-JDIO27MU.js +0 -8
- package/dist/stage-bundles/react/chunks/chunk-K7ZULZJF.js +0 -116
- package/dist/stage-bundles/react/chunks/chunk-KF4MVCJ6.js +0 -13
- package/dist/stage-bundles/react/chunks/chunk-KHURU62K.js +0 -27
- package/dist/stage-bundles/react/chunks/chunk-KKLU24SB.js +0 -33
- package/dist/stage-bundles/react/chunks/chunk-KOBPYD4N.js +0 -8
- package/dist/stage-bundles/react/chunks/chunk-LH4ZDX3T.js +0 -58
- package/dist/stage-bundles/react/chunks/chunk-M3YT4JBL.js +0 -12
- package/dist/stage-bundles/react/chunks/chunk-MAPYANXA.js +0 -8
- package/dist/stage-bundles/react/chunks/chunk-MMCB6GGX.js +0 -8
- package/dist/stage-bundles/react/chunks/chunk-NCUWZXVZ.js +0 -8
- package/dist/stage-bundles/react/chunks/chunk-O3KQTA3H.js +0 -21
- package/dist/stage-bundles/react/chunks/chunk-P7UUT7BU.js +0 -12
- package/dist/stage-bundles/react/chunks/chunk-PHVB7SAE.js +0 -22
- package/dist/stage-bundles/react/chunks/chunk-PKSFATQY.js +0 -10
- package/dist/stage-bundles/react/chunks/chunk-PU2GET2S.js +0 -18
- package/dist/stage-bundles/react/chunks/chunk-QBXKRHK5.js +0 -11
- package/dist/stage-bundles/react/chunks/chunk-QCQXLZJH.js +0 -18
- package/dist/stage-bundles/react/chunks/chunk-QIOKODGT.js +0 -14
- package/dist/stage-bundles/react/chunks/chunk-QTTED7GZ.js +0 -49
- package/dist/stage-bundles/react/chunks/chunk-QVH24VHP.js +0 -473
- package/dist/stage-bundles/react/chunks/chunk-R5DUYWXP.js +0 -8
- package/dist/stage-bundles/react/chunks/chunk-RCIDQRAS.js +0 -54
- package/dist/stage-bundles/react/chunks/chunk-RI7XWDHX.js +0 -10
- package/dist/stage-bundles/react/chunks/chunk-RZDFRJVR.js +0 -13065
- package/dist/stage-bundles/react/chunks/chunk-RZG5LCPH.js +0 -12
- package/dist/stage-bundles/react/chunks/chunk-S4NZQRJJ.js +0 -12
- package/dist/stage-bundles/react/chunks/chunk-S5L2YBXG.js +0 -143
- package/dist/stage-bundles/react/chunks/chunk-SF5BLQ7P.js +0 -14
- package/dist/stage-bundles/react/chunks/chunk-SPTKNGHA.js +0 -14
- package/dist/stage-bundles/react/chunks/chunk-TKHCH4WB.js +0 -35
- package/dist/stage-bundles/react/chunks/chunk-TVB3GD7L.js +0 -8
- package/dist/stage-bundles/react/chunks/chunk-TVGXBOIT.js +0 -18
- package/dist/stage-bundles/react/chunks/chunk-U7U7L7XZ.js +0 -31
- package/dist/stage-bundles/react/chunks/chunk-UHGV762U.js +0 -12
- package/dist/stage-bundles/react/chunks/chunk-V6MKKC23.js +0 -18
- package/dist/stage-bundles/react/chunks/chunk-VK4FEQKG.js +0 -18
- package/dist/stage-bundles/react/chunks/chunk-VZNGMF63.js +0 -12
- package/dist/stage-bundles/react/chunks/chunk-W5CGYUVM.js +0 -8
- package/dist/stage-bundles/react/chunks/chunk-W7QH4UII.js +0 -54
- package/dist/stage-bundles/react/chunks/chunk-WMV5J37V.js +0 -8
- package/dist/stage-bundles/react/chunks/chunk-WXDXWNWW.js +0 -8
- package/dist/stage-bundles/react/chunks/chunk-XKFPCFZH.js +0 -8
- package/dist/stage-bundles/react/chunks/chunk-XVJJ3LG4.js +0 -528
- package/dist/stage-bundles/react/chunks/chunk-YCZNHFZA.js +0 -15
- package/dist/stage-bundles/react/chunks/chunk-YEEGISBQ.js +0 -23
- package/dist/stage-bundles/react/chunks/chunk-YM3NAGCN.js +0 -8
- package/dist/stage-bundles/react/chunks/chunk-YMVTSVEM.js +0 -26
- package/dist/stage-bundles/react/chunks/chunk-ZHZLVPR6.js +0 -68
- package/dist/stage-bundles/react/chunks/chunk-ZP3VSN3A.js +0 -12093
- package/dist/stage-bundles/react/chunks/clearDestination-KO6YHLX2.js +0 -7
- package/dist/stage-bundles/react/chunks/clearName-AAUKJ3OX.js +0 -7
- package/dist/stage-bundles/react/chunks/clearOptionsExpression-YGCMAZEE.js +0 -7
- package/dist/stage-bundles/react/chunks/clearRender-TTNIVIPG.js +0 -7
- package/dist/stage-bundles/react/chunks/clearRepeat-AZLSTBXI.js +0 -7
- package/dist/stage-bundles/react/chunks/contentEditor-HE34KY6R.js +0 -67
- package/dist/stage-bundles/react/chunks/createAction-N6UW7YDP.js +0 -8
- package/dist/stage-bundles/react/chunks/createAnimation-RIBXIT62.js +0 -7
- package/dist/stage-bundles/react/chunks/createComputed-KKULWYID.js +0 -8
- package/dist/stage-bundles/react/chunks/createTextContent-R5YRKNJL.js +0 -10
- package/dist/stage-bundles/react/chunks/createValue-SL4Y3LPI.js +0 -7
- package/dist/stage-bundles/react/chunks/disconnectNode-J6YACRLT.js +0 -8
- package/dist/stage-bundles/react/chunks/history-KTZZH7TG.js +0 -51
- package/dist/stage-bundles/react/chunks/id-WBHG2QOH.js +0 -53
- package/dist/stage-bundles/react/chunks/main-EMRULEYO.js +0 -103
- package/dist/stage-bundles/react/chunks/main-IVVVSUSO.js +0 -109
- package/dist/stage-bundles/react/chunks/main-Y7QHSAW7.js +0 -154
- package/dist/stage-bundles/react/chunks/main-YSWDZAGN.js +0 -31
- package/dist/stage-bundles/react/chunks/moveNodeToLastChildOf-IUKGA7IO.js +0 -12
- package/dist/stage-bundles/react/chunks/nodeGraph-GGV7TAPQ.js +0 -53
- package/dist/stage-bundles/react/chunks/normalizeEventName-EWVVRI6K.js +0 -128
- package/dist/stage-bundles/react/chunks/normalizeLayoutContext-TO4WKUWF.js +0 -9
- package/dist/stage-bundles/react/chunks/preview-bootstrap-FVKBRYC5.js +0 -137
- package/dist/stage-bundles/react/chunks/react-GONY7QDQ.js +0 -44
- package/dist/stage-bundles/react/chunks/removeAction-4PGYJ6CA.js +0 -7
- package/dist/stage-bundles/react/chunks/removeAnimationBinding-3SYE7FD3.js +0 -7
- package/dist/stage-bundles/react/chunks/removeAttribute-4QEKTGTP.js +0 -7
- package/dist/stage-bundles/react/chunks/removeComputed-5J772TBY.js +0 -7
- package/dist/stage-bundles/react/chunks/removeEvent-7ODGVHMT.js +0 -7
- package/dist/stage-bundles/react/chunks/removeLifecycleHook-3XIZU6TW.js +0 -7
- package/dist/stage-bundles/react/chunks/removeNode-DY2ULYNK.js +0 -10
- package/dist/stage-bundles/react/chunks/removeOption-V4NBH6EE.js +0 -7
- package/dist/stage-bundles/react/chunks/removeParamFromRoute-IMXTBRSZ.js +0 -7
- package/dist/stage-bundles/react/chunks/removeState-EBT6YGSZ.js +0 -7
- package/dist/stage-bundles/react/chunks/removeStore-UJA67G3O.js +0 -7
- package/dist/stage-bundles/react/chunks/removeToken-EDVBR3OL.js +0 -7
- package/dist/stage-bundles/react/chunks/removeValue-UPOTPB3T.js +0 -7
- package/dist/stage-bundles/react/chunks/screen-capture-bootstrap-XMTHAMIX.js +0 -128
- package/dist/stage-bundles/react/chunks/setDestination-M6MQACBQ.js +0 -7
- package/dist/stage-bundles/react/chunks/setHomePage-4U4Z3RU7.js +0 -7
- package/dist/stage-bundles/react/chunks/setHtmlId-MN7AQG5H.js +0 -7
- package/dist/stage-bundles/react/chunks/setName-W4MXGWGB.js +0 -7
- package/dist/stage-bundles/react/chunks/setNodeLayout-K2VNUD2H.js +0 -10
- package/dist/stage-bundles/react/chunks/setOptionsExpression-KQLKXH4C.js +0 -8
- package/dist/stage-bundles/react/chunks/setRender-UJAXCTRA.js +0 -10
- package/dist/stage-bundles/react/chunks/setRepeat-X5GZ4F2P.js +0 -10
- package/dist/stage-bundles/react/chunks/setTagName-5DMTFJTJ.js +0 -7
- package/dist/stage-bundles/react/chunks/updateAction-6KYOHLA3.js +0 -9
- package/dist/stage-bundles/react/chunks/updateAnimationBinding-SENX3Z5S.js +0 -7
- package/dist/stage-bundles/react/chunks/updateAttribute-VWGV37R7.js +0 -12
- package/dist/stage-bundles/react/chunks/updateBounds-WKOI6XJ3.js +0 -7
- package/dist/stage-bundles/react/chunks/updateComputed-7QBBBXFC.js +0 -9
- package/dist/stage-bundles/react/chunks/updateEvent-4PDSQ3Q4.js +0 -11
- package/dist/stage-bundles/react/chunks/updateHtml-EJFF2LPA.js +0 -7
- package/dist/stage-bundles/react/chunks/updateLifecycleHook-36JI5KSF.js +0 -8
- package/dist/stage-bundles/react/chunks/updateOption-ZEZ4TP7K.js +0 -8
- package/dist/stage-bundles/react/chunks/updateRoute-P5OTKOOG.js +0 -7
- package/dist/stage-bundles/react/chunks/updateState-B2RIQRWF.js +0 -11
- package/dist/stage-bundles/react/chunks/updateStyle-FN7CGZTJ.js +0 -7
- package/dist/stage-bundles/react/chunks/updateToken-DMJBW7ZK.js +0 -7
- package/dist/stage-bundles/react/chunks/updateValue-6FPRH4CG.js +0 -8
- package/dist/stage-bundles/react/chunks/user-MDIKS6ZN.js +0 -44
- package/dist/stage-bundles/react/chunks/validateStorePayload-HE65PPAB.js +0 -61
- package/dist/stage-bundles/react/chunks/viewport-DKL3EJOU.js +0 -21
- package/dist/stage-bundles/react/chunks/window-RCEXDLL7.js +0 -32
- package/dist/stage-bundles/vue/chunks/addAction-5FCPHQHB.js +0 -9
- package/dist/stage-bundles/vue/chunks/addAnimationBinding-5UBXLWDB.js +0 -7
- package/dist/stage-bundles/vue/chunks/addAttribute-PWIHRX6Y.js +0 -12
- package/dist/stage-bundles/vue/chunks/addComponent-77PUZWLS.js +0 -14
- package/dist/stage-bundles/vue/chunks/addComputed-5J47SS67.js +0 -9
- package/dist/stage-bundles/vue/chunks/addEvent-P2KGVMLM.js +0 -11
- package/dist/stage-bundles/vue/chunks/addLifecycleHook-VSOAZGTG.js +0 -8
- package/dist/stage-bundles/vue/chunks/addNode-DMJXP7VV.js +0 -19
- package/dist/stage-bundles/vue/chunks/addOption-3U3LAV4C.js +0 -8
- package/dist/stage-bundles/vue/chunks/addParamToRoute-43UDJ4YE.js +0 -7
- package/dist/stage-bundles/vue/chunks/addState-ZWDA2CLN.js +0 -11
- package/dist/stage-bundles/vue/chunks/addStore-A4CRKMPO.js +0 -7
- package/dist/stage-bundles/vue/chunks/addToken-7P5NGEG4.js +0 -8
- package/dist/stage-bundles/vue/chunks/addValue-VQW7HQX7.js +0 -8
- package/dist/stage-bundles/vue/chunks/aiRelay-TFBJ7BF4.js +0 -184
- package/dist/stage-bundles/vue/chunks/assets-3W46CFCY.js +0 -42
- package/dist/stage-bundles/vue/chunks/bootstrap-Y4GN2FZZ.js +0 -4078
- package/dist/stage-bundles/vue/chunks/chunk-22J4JOPG.js +0 -9
- package/dist/stage-bundles/vue/chunks/chunk-2H2EQ2RG.js +0 -24
- package/dist/stage-bundles/vue/chunks/chunk-2Y25YY3N.js +0 -12
- package/dist/stage-bundles/vue/chunks/chunk-3MJKS6VX.js +0 -19
- package/dist/stage-bundles/vue/chunks/chunk-3N472G56.js +0 -4290
- package/dist/stage-bundles/vue/chunks/chunk-3NLDBJQD.js +0 -12
- package/dist/stage-bundles/vue/chunks/chunk-442CZ2YL.js +0 -144
- package/dist/stage-bundles/vue/chunks/chunk-44GL4NDX.js +0 -25863
- package/dist/stage-bundles/vue/chunks/chunk-4A4WKSGY.js +0 -66
- package/dist/stage-bundles/vue/chunks/chunk-4VX5AMMQ.js +0 -54
- package/dist/stage-bundles/vue/chunks/chunk-65Q2CFW7.js +0 -18
- package/dist/stage-bundles/vue/chunks/chunk-667SIQGW.js +0 -12
- package/dist/stage-bundles/vue/chunks/chunk-6BXKZHN6.js +0 -19
- package/dist/stage-bundles/vue/chunks/chunk-6E57QUN7.js +0 -21
- package/dist/stage-bundles/vue/chunks/chunk-6QYYO5LM.js +0 -12
- package/dist/stage-bundles/vue/chunks/chunk-6R3QXFFF.js +0 -47
- package/dist/stage-bundles/vue/chunks/chunk-6RLI7CFQ.js +0 -12
- package/dist/stage-bundles/vue/chunks/chunk-6TDZGYJG.js +0 -13
- package/dist/stage-bundles/vue/chunks/chunk-AI3MQHWR.js +0 -51
- package/dist/stage-bundles/vue/chunks/chunk-BWZPEI76.js +0 -18
- package/dist/stage-bundles/vue/chunks/chunk-CHZVDVQC.js +0 -8
- package/dist/stage-bundles/vue/chunks/chunk-CJOJNMRC.js +0 -8
- package/dist/stage-bundles/vue/chunks/chunk-CXATTVPL.js +0 -24
- package/dist/stage-bundles/vue/chunks/chunk-DBHMBCBM.js +0 -14
- package/dist/stage-bundles/vue/chunks/chunk-DCKGUW2M.js +0 -8
- package/dist/stage-bundles/vue/chunks/chunk-EB5FGFFG.js +0 -12
- package/dist/stage-bundles/vue/chunks/chunk-F6JYAVEC.js +0 -15
- package/dist/stage-bundles/vue/chunks/chunk-F77HGOQB.js +0 -8
- package/dist/stage-bundles/vue/chunks/chunk-FSIANI7E.js +0 -11
- package/dist/stage-bundles/vue/chunks/chunk-FZZDMYBZ.js +0 -12
- package/dist/stage-bundles/vue/chunks/chunk-GI5C7GB7.js +0 -12838
- package/dist/stage-bundles/vue/chunks/chunk-H75SQT4U.js +0 -105
- package/dist/stage-bundles/vue/chunks/chunk-IDGFZWZY.js +0 -13
- package/dist/stage-bundles/vue/chunks/chunk-IIIXGKVH.js +0 -17
- package/dist/stage-bundles/vue/chunks/chunk-ILZWSEWK.js +0 -19
- package/dist/stage-bundles/vue/chunks/chunk-IO3NSIEJ.js +0 -8
- package/dist/stage-bundles/vue/chunks/chunk-IRDAUQG3.js +0 -49
- package/dist/stage-bundles/vue/chunks/chunk-ISOZDDO2.js +0 -157
- package/dist/stage-bundles/vue/chunks/chunk-IVU4565D.js +0 -26
- package/dist/stage-bundles/vue/chunks/chunk-JDIO27MU.js +0 -8
- package/dist/stage-bundles/vue/chunks/chunk-JJVRBJGQ.js +0 -1353
- package/dist/stage-bundles/vue/chunks/chunk-JKOWPFOY.js +0 -172
- package/dist/stage-bundles/vue/chunks/chunk-K7ZULZJF.js +0 -116
- package/dist/stage-bundles/vue/chunks/chunk-KF4MVCJ6.js +0 -13
- package/dist/stage-bundles/vue/chunks/chunk-KHURU62K.js +0 -27
- package/dist/stage-bundles/vue/chunks/chunk-KKLU24SB.js +0 -33
- package/dist/stage-bundles/vue/chunks/chunk-KOBPYD4N.js +0 -8
- package/dist/stage-bundles/vue/chunks/chunk-LH4ZDX3T.js +0 -58
- package/dist/stage-bundles/vue/chunks/chunk-M3YT4JBL.js +0 -12
- package/dist/stage-bundles/vue/chunks/chunk-MAPYANXA.js +0 -8
- package/dist/stage-bundles/vue/chunks/chunk-MMCB6GGX.js +0 -8
- package/dist/stage-bundles/vue/chunks/chunk-NCUWZXVZ.js +0 -8
- package/dist/stage-bundles/vue/chunks/chunk-O3KQTA3H.js +0 -21
- package/dist/stage-bundles/vue/chunks/chunk-P7UUT7BU.js +0 -12
- package/dist/stage-bundles/vue/chunks/chunk-PHVB7SAE.js +0 -22
- package/dist/stage-bundles/vue/chunks/chunk-PKSFATQY.js +0 -10
- package/dist/stage-bundles/vue/chunks/chunk-PU2GET2S.js +0 -18
- package/dist/stage-bundles/vue/chunks/chunk-QBXKRHK5.js +0 -11
- package/dist/stage-bundles/vue/chunks/chunk-QCQXLZJH.js +0 -18
- package/dist/stage-bundles/vue/chunks/chunk-QIOKODGT.js +0 -14
- package/dist/stage-bundles/vue/chunks/chunk-R5DUYWXP.js +0 -8
- package/dist/stage-bundles/vue/chunks/chunk-RHAVY7VB.js +0 -92
- package/dist/stage-bundles/vue/chunks/chunk-RI7XWDHX.js +0 -10
- package/dist/stage-bundles/vue/chunks/chunk-RZG5LCPH.js +0 -12
- package/dist/stage-bundles/vue/chunks/chunk-S4NZQRJJ.js +0 -12
- package/dist/stage-bundles/vue/chunks/chunk-S5L2YBXG.js +0 -143
- package/dist/stage-bundles/vue/chunks/chunk-SF5BLQ7P.js +0 -14
- package/dist/stage-bundles/vue/chunks/chunk-SKOTGWTH.js +0 -140
- package/dist/stage-bundles/vue/chunks/chunk-SPTKNGHA.js +0 -14
- package/dist/stage-bundles/vue/chunks/chunk-TKHCH4WB.js +0 -35
- package/dist/stage-bundles/vue/chunks/chunk-TVB3GD7L.js +0 -8
- package/dist/stage-bundles/vue/chunks/chunk-TVGXBOIT.js +0 -18
- package/dist/stage-bundles/vue/chunks/chunk-U7U7L7XZ.js +0 -31
- package/dist/stage-bundles/vue/chunks/chunk-UFHA3ODE.js +0 -528
- package/dist/stage-bundles/vue/chunks/chunk-UHGV762U.js +0 -12
- package/dist/stage-bundles/vue/chunks/chunk-V6MKKC23.js +0 -18
- package/dist/stage-bundles/vue/chunks/chunk-VK4FEQKG.js +0 -18
- package/dist/stage-bundles/vue/chunks/chunk-VZNGMF63.js +0 -12
- package/dist/stage-bundles/vue/chunks/chunk-W5CGYUVM.js +0 -8
- package/dist/stage-bundles/vue/chunks/chunk-W7QH4UII.js +0 -54
- package/dist/stage-bundles/vue/chunks/chunk-WMV5J37V.js +0 -8
- package/dist/stage-bundles/vue/chunks/chunk-WXDXWNWW.js +0 -8
- package/dist/stage-bundles/vue/chunks/chunk-XKFPCFZH.js +0 -8
- package/dist/stage-bundles/vue/chunks/chunk-YCZNHFZA.js +0 -15
- package/dist/stage-bundles/vue/chunks/chunk-YEEGISBQ.js +0 -23
- package/dist/stage-bundles/vue/chunks/chunk-YM3NAGCN.js +0 -8
- package/dist/stage-bundles/vue/chunks/clearDestination-EMCIEDAP.js +0 -7
- package/dist/stage-bundles/vue/chunks/clearName-O7J77F77.js +0 -7
- package/dist/stage-bundles/vue/chunks/clearOptionsExpression-RGDXKYVX.js +0 -7
- package/dist/stage-bundles/vue/chunks/clearRender-DFMNHXXQ.js +0 -7
- package/dist/stage-bundles/vue/chunks/clearRepeat-436RGATR.js +0 -7
- package/dist/stage-bundles/vue/chunks/contentEditor-XVLK5LYS.js +0 -67
- package/dist/stage-bundles/vue/chunks/createAction-CKUAX4TU.js +0 -8
- package/dist/stage-bundles/vue/chunks/createAnimation-URI5366N.js +0 -7
- package/dist/stage-bundles/vue/chunks/createComputed-I23CA5NX.js +0 -8
- package/dist/stage-bundles/vue/chunks/createTextContent-K4G7KNQ5.js +0 -10
- package/dist/stage-bundles/vue/chunks/createValue-D5MP2SMM.js +0 -7
- package/dist/stage-bundles/vue/chunks/disconnectNode-GM5F3ZMB.js +0 -8
- package/dist/stage-bundles/vue/chunks/history-7PFZW7N6.js +0 -51
- package/dist/stage-bundles/vue/chunks/id-VSNJWKHU.js +0 -53
- package/dist/stage-bundles/vue/chunks/main-GQD7B74Q.js +0 -103
- package/dist/stage-bundles/vue/chunks/main-L3KI7XBW.js +0 -154
- package/dist/stage-bundles/vue/chunks/main-SWZDSGE3.js +0 -109
- package/dist/stage-bundles/vue/chunks/main-ULK5YAYM.js +0 -31
- package/dist/stage-bundles/vue/chunks/moveNodeToLastChildOf-X46IGL47.js +0 -12
- package/dist/stage-bundles/vue/chunks/nodeGraph-TTOC6H4R.js +0 -53
- package/dist/stage-bundles/vue/chunks/normalizeEventName-2JPOX7Y6.js +0 -128
- package/dist/stage-bundles/vue/chunks/normalizeLayoutContext-SY3L4IB7.js +0 -9
- package/dist/stage-bundles/vue/chunks/preview-bootstrap-SIVRGDR2.js +0 -135
- package/dist/stage-bundles/vue/chunks/removeAction-PPAIVTW3.js +0 -7
- package/dist/stage-bundles/vue/chunks/removeAnimationBinding-UQ24BSXP.js +0 -7
- package/dist/stage-bundles/vue/chunks/removeAttribute-P2IDGOQH.js +0 -7
- package/dist/stage-bundles/vue/chunks/removeComputed-7C66NNZA.js +0 -7
- package/dist/stage-bundles/vue/chunks/removeEvent-KTSOCV4C.js +0 -7
- package/dist/stage-bundles/vue/chunks/removeLifecycleHook-NKXLF3QT.js +0 -7
- package/dist/stage-bundles/vue/chunks/removeNode-A7C34C42.js +0 -10
- package/dist/stage-bundles/vue/chunks/removeOption-6HW62A5Y.js +0 -7
- package/dist/stage-bundles/vue/chunks/removeParamFromRoute-LIKPDVU4.js +0 -7
- package/dist/stage-bundles/vue/chunks/removeState-PO6J3JYQ.js +0 -7
- package/dist/stage-bundles/vue/chunks/removeStore-5ZZ57NHV.js +0 -7
- package/dist/stage-bundles/vue/chunks/removeToken-BKJE3U6Q.js +0 -7
- package/dist/stage-bundles/vue/chunks/removeValue-5FNPXWNL.js +0 -7
- package/dist/stage-bundles/vue/chunks/screen-capture-bootstrap-GV75P6QF.js +0 -126
- package/dist/stage-bundles/vue/chunks/setDestination-DAYIYYIV.js +0 -7
- package/dist/stage-bundles/vue/chunks/setHomePage-MHCP4P24.js +0 -7
- package/dist/stage-bundles/vue/chunks/setHtmlId-3HYPFT3T.js +0 -7
- package/dist/stage-bundles/vue/chunks/setName-OQOO3URG.js +0 -7
- package/dist/stage-bundles/vue/chunks/setNodeLayout-W5QFJBKT.js +0 -10
- package/dist/stage-bundles/vue/chunks/setOptionsExpression-XZZOJPCM.js +0 -8
- package/dist/stage-bundles/vue/chunks/setRender-NHXZZGME.js +0 -10
- package/dist/stage-bundles/vue/chunks/setRepeat-YZTZFDTQ.js +0 -10
- package/dist/stage-bundles/vue/chunks/setTagName-EGPQ66XI.js +0 -7
- package/dist/stage-bundles/vue/chunks/updateAction-ZSNXUEQA.js +0 -9
- package/dist/stage-bundles/vue/chunks/updateAnimationBinding-X2UXYQKJ.js +0 -7
- package/dist/stage-bundles/vue/chunks/updateAttribute-ODXM7YXA.js +0 -12
- package/dist/stage-bundles/vue/chunks/updateBounds-PEGOZ4FT.js +0 -7
- package/dist/stage-bundles/vue/chunks/updateComputed-6LNN453F.js +0 -9
- package/dist/stage-bundles/vue/chunks/updateEvent-ZHCKBJIM.js +0 -11
- package/dist/stage-bundles/vue/chunks/updateHtml-6BPU5PRY.js +0 -7
- package/dist/stage-bundles/vue/chunks/updateLifecycleHook-JEMQQYM5.js +0 -8
- package/dist/stage-bundles/vue/chunks/updateOption-SH33P5WW.js +0 -8
- package/dist/stage-bundles/vue/chunks/updateRoute-3RRPY2T5.js +0 -7
- package/dist/stage-bundles/vue/chunks/updateState-WRLF4SSC.js +0 -11
- package/dist/stage-bundles/vue/chunks/updateStyle-WAPTDAU5.js +0 -7
- package/dist/stage-bundles/vue/chunks/updateToken-CFIIILXB.js +0 -7
- package/dist/stage-bundles/vue/chunks/updateValue-JTEEC2B6.js +0 -8
- package/dist/stage-bundles/vue/chunks/user-ZLGCTRZX.js +0 -44
- package/dist/stage-bundles/vue/chunks/validateStorePayload-7A2INWJV.js +0 -61
- package/dist/stage-bundles/vue/chunks/viewport-OTNUF4XI.js +0 -21
- package/dist/stage-bundles/vue/chunks/vue-2GZIKYJR.js +0 -37
- package/dist/stage-bundles/vue/chunks/window-73DBL24T.js +0 -32
- package/dist/stage-src/dev/bootstrap.js +0 -44
- package/dist/stage-src/dev/componentsConfig.js +0 -52
- package/dist/stage-src/dev/config.js +0 -49
- package/dist/stage-src/dev/routes/dev.js +0 -35
- package/dist/stage-src/dev/routes/js.js +0 -110
- package/dist/stage-src/dev/views/index.js +0 -34
- package/dist/stage-src/preview/config.js +0 -49
- package/dist/stage-src/production/bootstrap.js +0 -38
- package/dist/stage-src/production/config.js +0 -51
- package/dist/stage-src/production/entry.js +0 -4
- package/dist/templates/.gitignore.template +0 -29
- package/dist/templates/index.html.template +0 -17
- package/dist/templates/jucie.config.js.template +0 -15
- package/dist/templates/package.json.template +0 -14
- package/dist/templates/sceneGraph/wal.log +0 -0
- /package/dist/stage/chunks/{chunk-2SXGPNIX.js → chunk-TS6FANUG.js} +0 -0
- /package/dist/stage/chunks/{contentEditor-VMXQHHFX.js → contentEditor-PCXXWARK.js} +0 -0
- /package/dist/stage/chunks/{viewport-UOMSIPMH.js → viewport-ANZ3RTUP.js} +0 -0
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import{a as tl,b as rl,c as te,d as nl}from"./chunk-PPHD3O2M.js";import{d as sl,f as il,g as ol,h as al,i as ll,o as cl,q as lo}from"./chunk-HLPDOSGP.js";import{f as k,g as a,h as m,i as b,j as h,k as ao}from"./chunk-BXIWQYSY.js";var co;try{co=new TextDecoder}catch{}var $,fr,w=0;var ml=[],oh=105,ah=57342,lh=57343,ul=57337;var hl=6,Yr={},Wn=11281e4,St=1681e4;var uo=ml,ho=0,H={},ae,Ws,zs=0,_n=0,fe,We,ue=[],fo=[],Ie,Re,zn,fl={useRecords:!1,mapsAsObjects:!0},Vn=!1,yl=2;try{new Function("")}catch{yl=1/0}var dr=class n{constructor(s){if(s&&((s.keyMap||s._keyMap)&&!s.useRecords&&(s.useRecords=!1,s.mapsAsObjects=!0),s.useRecords===!1&&s.mapsAsObjects===void 0&&(s.mapsAsObjects=!0),s.getStructures&&(s.getShared=s.getStructures),s.getShared&&!s.structures&&((s.structures=[]).uninitialized=!0),s.keyMap)){this.mapKey=new Map;for(let[e,t]of Object.entries(s.keyMap))this.mapKey.set(t,e)}Object.assign(this,s)}decodeKey(s){return this.keyMap&&this.mapKey.get(s)||s}encodeKey(s){return this.keyMap&&this.keyMap.hasOwnProperty(s)?this.keyMap[s]:s}encodeKeys(s){if(!this._keyMap)return s;let e=new Map;for(let[t,r]of Object.entries(s))e.set(this._keyMap.hasOwnProperty(t)?this._keyMap[t]:t,r);return e}decodeKeys(s){if(!this._keyMap||s.constructor.name!="Map")return s;if(!this._mapKey){this._mapKey=new Map;for(let[t,r]of Object.entries(this._keyMap))this._mapKey.set(r,t)}let e={};return s.forEach((t,r)=>e[ze(this._mapKey.has(r)?this._mapKey.get(r):r)]=t),e}mapDecode(s,e){let t=this.decode(s);if(this._keyMap)switch(t.constructor.name){case"Array":return t.map(r=>this.decodeKeys(r))}return t}decode(s,e){if($)return xl(()=>(_s(),this?this.decode(s,e):n.prototype.decode.call(fl,s,e)));fr=e>-1?e:s.length,w=0,ho=0,_n=0,Ws=null,uo=ml,fe=null,$=s;try{Re=s.dataView||(s.dataView=new DataView(s.buffer,s.byteOffset,s.byteLength))}catch(t){throw $=null,s instanceof Uint8Array?t:new Error("Source must be a Uint8Array or Buffer but was a "+(s&&typeof s=="object"?s.constructor.name:typeof s))}if(this instanceof n){if(H=this,Ie=this.sharedValues&&(this.pack?new Array(this.maxPrivatePackedValues||16).concat(this.sharedValues):this.sharedValues),this.structures)return ae=this.structures,Bs();(!ae||ae.length>0)&&(ae=[])}else H=fl,(!ae||ae.length>0)&&(ae=[]),Ie=null;return Bs()}decodeMultiple(s,e){let t,r=0;try{let i=s.length;Vn=!0;let o=this?this.decode(s,i):bo.decode(s,i);if(e){if(e(o)===!1)return;for(;w<i;)if(r=w,e(Bs())===!1)return}else{for(t=[o];w<i;)r=w,t.push(Bs());return t}}catch(i){throw i.lastPosition=r,i.values=t,i}finally{Vn=!1,_s()}}};function Bs(){try{let n=q();if(fe){if(w>=fe.postBundlePosition){let s=new Error("Unexpected bundle position");throw s.incomplete=!0,s}w=fe.postBundlePosition,fe=null}if(w==fr)ae=null,$=null,We&&(We=null);else if(w>fr){let s=new Error("Unexpected end of CBOR data");throw s.incomplete=!0,s}else if(!Vn)throw new Error("Data read, but end of buffer not reached");return n}catch(n){throw _s(),(n instanceof RangeError||n.message.startsWith("Unexpected end of buffer"))&&(n.incomplete=!0),n}}function q(){let n=$[w++],s=n>>5;if(n=n&31,n>23)switch(n){case 24:n=$[w++];break;case 25:if(s==7)return fh();n=Re.getUint16(w),w+=2;break;case 26:if(s==7){let e=Re.getFloat32(w);if(H.useFloat32>2){let t=Vs[($[w]&127)<<1|$[w+1]>>7];return w+=4,(t*e+(e>0?.5:-.5)>>0)/t}return w+=4,e}if(n=Re.getUint32(w),w+=4,s===1)return-1-n;break;case 27:if(s==7){let e=Re.getFloat64(w);return w+=8,e}if(s>1){if(Re.getUint32(w)>0)throw new Error("JavaScript does not support arrays, maps, or strings with length over 4294967295");n=Re.getUint32(w+4)}else H.int64AsNumber?(n=Re.getUint32(w)*4294967296,n+=Re.getUint32(w+4)):n=Re.getBigUint64(w);w+=8;break;case 31:switch(s){case 2:case 3:throw new Error("Indefinite length not supported for byte or text strings");case 4:let e=[],t,r=0;for(;(t=q())!=Yr;){if(r>=Wn)throw new Error(`Array length exceeds ${Wn}`);e[r++]=t}return s==4?e:s==3?e.join(""):Buffer.concat(e);case 5:let i;if(H.mapsAsObjects){let o={},l=0;if(H.keyMap)for(;(i=q())!=Yr;){if(l++>=St)throw new Error(`Property count exceeds ${St}`);o[ze(H.decodeKey(i))]=q()}else for(;(i=q())!=Yr;){if(l++>=St)throw new Error(`Property count exceeds ${St}`);o[ze(i)]=q()}return o}else{zn&&(H.mapsAsObjects=!0,zn=!1);let o=new Map;if(H.keyMap){let l=0;for(;(i=q())!=Yr;){if(l++>=St)throw new Error(`Map size exceeds ${St}`);o.set(H.decodeKey(i),q())}}else{let l=0;for(;(i=q())!=Yr;){if(l++>=St)throw new Error(`Map size exceeds ${St}`);o.set(i,q())}}return o}case 7:return Yr;default:throw new Error("Invalid major type for indefinite length "+s)}default:throw new Error("Unknown token "+n)}switch(s){case 0:return n;case 1:return~n;case 2:return hh(n);case 3:if(_n>=w)return Ws.slice(w-zs,(w+=n)-zs);if(_n==0&&fr<140&&n<32){let r=n<16?gl(n):uh(n);if(r!=null)return r}return ch(n);case 4:if(n>=Wn)throw new Error(`Array length exceeds ${Wn}`);let e=new Array(n);for(let r=0;r<n;r++)e[r]=q();return e;case 5:if(n>=St)throw new Error(`Map size exceeds ${Wn}`);if(H.mapsAsObjects){let r={};if(H.keyMap)for(let i=0;i<n;i++)r[ze(H.decodeKey(q()))]=q();else for(let i=0;i<n;i++)r[ze(q())]=q();return r}else{zn&&(H.mapsAsObjects=!0,zn=!1);let r=new Map;if(H.keyMap)for(let i=0;i<n;i++)r.set(H.decodeKey(q()),q());else for(let i=0;i<n;i++)r.set(q(),q());return r}case 6:if(n>=ul){let r=ae[n&8191];if(r)return r.read||(r.read=po(r)),r.read();if(n<65536){if(n==lh){let i=Zr(),o=q(),l=q();yo(o,l);let c={};if(H.keyMap)for(let u=2;u<i;u++){let f=H.decodeKey(l[u-2]);c[ze(f)]=q()}else for(let u=2;u<i;u++){let f=l[u-2];c[ze(f)]=q()}return c}else if(n==ah){let i=Zr(),o=q();for(let l=2;l<i;l++)yo(o++,q());return q()}else if(n==ul)return bh();if(H.getShared&&(go(),r=ae[n&8191],r))return r.read||(r.read=po(r)),r.read()}}let t=ue[n];if(t)return t.handlesRead?t(q):t(q());{let r=q();for(let i=0;i<fo.length;i++){let o=fo[i](n,r);if(o!==void 0)return o}return new tt(r,n)}case 7:switch(n){case 20:return!1;case 21:return!0;case 22:return null;case 23:return;case 31:default:let r=(Ie||hr())[n];if(r!==void 0)return r;throw new Error("Unknown token "+n)}default:if(isNaN(n)){let r=new Error("Unexpected end of CBOR data");throw r.incomplete=!0,r}throw new Error("Unknown CBOR token "+n)}}var dl=/^[a-zA-Z_$][a-zA-Z\d_$]*$/;function po(n){if(!n)throw new Error("Structure is required in record definition");function s(){let e=$[w++];if(e=e&31,e>23)switch(e){case 24:e=$[w++];break;case 25:e=Re.getUint16(w),w+=2;break;case 26:e=Re.getUint32(w),w+=4;break;default:throw new Error("Expected array header, but got "+$[w-1])}let t=this.compiledReader;for(;t;){if(t.propertyCount===e)return t(q);t=t.next}if(this.slowReads++>=yl){let i=this.length==e?this:this.slice(0,e);return t=H.keyMap?new Function("r","return {"+i.map(o=>H.decodeKey(o)).map(o=>dl.test(o)?ze(o)+":r()":"["+JSON.stringify(o)+"]:r()").join(",")+"}"):new Function("r","return {"+i.map(o=>dl.test(o)?ze(o)+":r()":"["+JSON.stringify(o)+"]:r()").join(",")+"}"),this.compiledReader&&(t.next=this.compiledReader),t.propertyCount=e,this.compiledReader=t,t(q)}let r={};if(H.keyMap)for(let i=0;i<e;i++)r[ze(H.decodeKey(this[i]))]=q();else for(let i=0;i<e;i++)r[ze(this[i])]=q();return r}return n.slowReads=0,s}function ze(n){if(typeof n=="string")return n==="__proto__"?"__proto_":n;if(typeof n=="number"||typeof n=="boolean"||typeof n=="bigint")return n.toString();if(n==null)return n+"";throw new Error("Invalid property name type "+typeof n)}var ch=mo;function mo(n){let s;if(n<16&&(s=gl(n)))return s;if(n>64&&co)return co.decode($.subarray(w,w+=n));let e=w+n,t=[];for(s="";w<e;){let r=$[w++];if(!(r&128))t.push(r);else if((r&224)===192)if(r<194||w>=e||($[w]&192)!==128)t.push(65533);else{let i=$[w++]&63;t.push((r&31)<<6|i)}else if((r&240)===224){let i=w<e?$[w]:0;if(w>=e||(i&192)!==128||r===224&&i<160||r===237&&i>=160)t.push(65533);else if(w++,w>=e||($[w]&192)!==128)t.push(65533);else{let o=$[w++]&63;t.push((r&31)<<12|(i&63)<<6|o)}}else if((r&248)===240){let i=w<e?$[w]:0;if(r>244||w>=e||(i&192)!==128||r===240&&i<144||r===244&&i>=144)t.push(65533);else if(w++,w>=e||($[w]&192)!==128)t.push(65533);else{let o=$[w++]&63;if(w>=e||($[w]&192)!==128)t.push(65533);else{let l=$[w++]&63,c=(r&7)<<18|(i&63)<<12|o<<6|l;c-=65536,t.push(c>>>10&1023|55296),t.push(56320|c&1023)}}}else t.push(65533);t.length>=4096&&(s+=ye.apply(String,t),t.length=0)}return t.length>0&&(s+=ye.apply(String,t)),s}var ye=String.fromCharCode;function uh(n){let s=w,e=new Array(n);for(let t=0;t<n;t++){let r=$[w++];if((r&128)>0){w=s;return}e[t]=r}return ye.apply(String,e)}function gl(n){if(n<4)if(n<2){if(n===0)return"";{let s=$[w++];if((s&128)>1){w-=1;return}return ye(s)}}else{let s=$[w++],e=$[w++];if((s&128)>0||(e&128)>0){w-=2;return}if(n<3)return ye(s,e);let t=$[w++];if((t&128)>0){w-=3;return}return ye(s,e,t)}else{let s=$[w++],e=$[w++],t=$[w++],r=$[w++];if((s&128)>0||(e&128)>0||(t&128)>0||(r&128)>0){w-=4;return}if(n<6){if(n===4)return ye(s,e,t,r);{let i=$[w++];if((i&128)>0){w-=5;return}return ye(s,e,t,r,i)}}else if(n<8){let i=$[w++],o=$[w++];if((i&128)>0||(o&128)>0){w-=6;return}if(n<7)return ye(s,e,t,r,i,o);let l=$[w++];if((l&128)>0){w-=7;return}return ye(s,e,t,r,i,o,l)}else{let i=$[w++],o=$[w++],l=$[w++],c=$[w++];if((i&128)>0||(o&128)>0||(l&128)>0||(c&128)>0){w-=8;return}if(n<10){if(n===8)return ye(s,e,t,r,i,o,l,c);{let u=$[w++];if((u&128)>0){w-=9;return}return ye(s,e,t,r,i,o,l,c,u)}}else if(n<12){let u=$[w++],f=$[w++];if((u&128)>0||(f&128)>0){w-=10;return}if(n<11)return ye(s,e,t,r,i,o,l,c,u,f);let d=$[w++];if((d&128)>0){w-=11;return}return ye(s,e,t,r,i,o,l,c,u,f,d)}else{let u=$[w++],f=$[w++],d=$[w++],x=$[w++];if((u&128)>0||(f&128)>0||(d&128)>0||(x&128)>0){w-=12;return}if(n<14){if(n===12)return ye(s,e,t,r,i,o,l,c,u,f,d,x);{let v=$[w++];if((v&128)>0){w-=13;return}return ye(s,e,t,r,i,o,l,c,u,f,d,x,v)}}else{let v=$[w++],O=$[w++];if((v&128)>0||(O&128)>0){w-=14;return}if(n<15)return ye(s,e,t,r,i,o,l,c,u,f,d,x,v,O);let T=$[w++];if((T&128)>0){w-=15;return}return ye(s,e,t,r,i,o,l,c,u,f,d,x,v,O,T)}}}}}function hh(n){return H.copyBuffers?Uint8Array.prototype.slice.call($,w,w+=n):$.subarray(w,w+=n)}var bl=new Float32Array(1),Us=new Uint8Array(bl.buffer,0,4);function fh(){let n=$[w++],s=$[w++],e=(n&127)>>2;if(e===31)return s||n&3?NaN:n&128?-1/0:1/0;if(e===0){let t=((n&3)<<8|s)/16777216;return n&128?-t:t}return Us[3]=n&128|(e>>1)+56,Us[2]=(n&7)<<5|s>>3,Us[1]=s<<5,Us[0]=0,bl[0]}var dd=new Array(4096);var tt=class{constructor(s,e){this.value=s,this.tag=e}};ue[0]=n=>new Date(n);ue[1]=n=>new Date(Math.round(n*1e3));ue[2]=n=>{let s=BigInt(0);for(let e=0,t=n.byteLength;e<t;e++)s=BigInt(n[e])+(s<<BigInt(8));return s};ue[3]=n=>BigInt(-1)-ue[2](n);ue[4]=n=>+(n[1]+"e"+n[0]);ue[5]=n=>n[1]*Math.exp(n[0]*Math.log(2));var yo=(n,s)=>{n=n-57344;let e=ae[n];e&&e.isShared&&((ae.restoreStructures||(ae.restoreStructures=[]))[n]=e),ae[n]=s,s.read=po(s)};ue[oh]=n=>{let s=n.length,e=n[1];yo(n[0],e);let t={};for(let r=2;r<s;r++){let i=e[r-2];t[ze(i)]=n[r]}return t};ue[14]=n=>fe?fe[0].slice(fe.position0,fe.position0+=n):new tt(n,14);ue[15]=n=>fe?fe[1].slice(fe.position1,fe.position1+=n):new tt(n,15);var dh={Error,RegExp};ue[27]=n=>(dh[n[0]]||Error)(n[1],n[2]);var wl=n=>{if($[w++]!=132){let e=new Error("Packed values structure must be followed by a 4 element array");throw $.length<w&&(e.incomplete=!0),e}let s=n();if(!s||!s.length){let e=new Error("Packed values structure must be followed by a 4 element array");throw e.incomplete=!0,e}return Ie=Ie?s.concat(Ie.slice(s.length)):s,Ie.prefixes=n(),Ie.suffixes=n(),n()};wl.handlesRead=!0;ue[51]=wl;ue[hl]=n=>{if(!Ie)if(H.getShared)go();else return new tt(n,hl);if(typeof n=="number")return Ie[16+(n>=0?2*n:-2*n-1)];let s=new Error("No support for non-integer packed references yet");throw n===void 0&&(s.incomplete=!0),s};ue[28]=n=>{We||(We=new Map,We.id=0);let s=We.id++,e=w,t=$[w],r;t>>5==4?r=[]:r={};let i={target:r};We.set(s,i);let o=n();return i.used?(Object.getPrototypeOf(r)!==Object.getPrototypeOf(o)&&(w=e,r=o,We.set(s,{target:r}),o=n()),Object.assign(r,o)):(i.target=o,o)};ue[28].handlesRead=!0;ue[29]=n=>{let s=We.get(n);return s.used=!0,s.target};ue[258]=n=>new Set(n);(ue[259]=n=>(H.mapsAsObjects&&(H.mapsAsObjects=!1,zn=!0),n())).handlesRead=!0;function Qr(n,s){return typeof n=="string"?n+s:n instanceof Array?n.concat(s):Object.assign({},n,s)}function hr(){if(!Ie)if(H.getShared)go();else throw new Error("No packed values available");return Ie}var ph=1399353956;fo.push((n,s)=>{if(n>=225&&n<=255)return Qr(hr().prefixes[n-224],s);if(n>=28704&&n<=32767)return Qr(hr().prefixes[n-28672],s);if(n>=1879052288&&n<=2147483647)return Qr(hr().prefixes[n-1879048192],s);if(n>=216&&n<=223)return Qr(s,hr().suffixes[n-216]);if(n>=27647&&n<=28671)return Qr(s,hr().suffixes[n-27639]);if(n>=1811940352&&n<=1879048191)return Qr(s,hr().suffixes[n-1811939328]);if(n==ph)return{packedValues:Ie,structures:ae.slice(0),version:s};if(n==55799)return s});var mh=new Uint8Array(new Uint16Array([1]).buffer)[0]==1,pl=[Uint8Array,Uint8ClampedArray,Uint16Array,Uint32Array,typeof BigUint64Array>"u"?{name:"BigUint64Array"}:BigUint64Array,Int8Array,Int16Array,Int32Array,typeof BigInt64Array>"u"?{name:"BigInt64Array"}:BigInt64Array,Float32Array,Float64Array],yh=[64,68,69,70,71,72,77,78,79,85,86];for(let n=0;n<pl.length;n++)gh(pl[n],yh[n]);function gh(n,s){let e="get"+n.name.slice(0,-5),t;typeof n=="function"?t=n.BYTES_PER_ELEMENT:n=null;for(let r=0;r<2;r++){if(!r&&t==1)continue;let i=t==2?1:t==4?2:t==8?3:0;ue[r?s:s-4]=t==1||r==mh?o=>{if(!n)throw new Error("Could not find typed array for code "+s);return!H.copyBuffers&&(t===1||t===2&&!(o.byteOffset&1)||t===4&&!(o.byteOffset&3)||t===8&&!(o.byteOffset&7))?new n(o.buffer,o.byteOffset,o.byteLength>>i):new n(Uint8Array.prototype.slice.call(o,0).buffer)}:o=>{if(!n)throw new Error("Could not find typed array for code "+s);let l=new DataView(o.buffer,o.byteOffset,o.byteLength),c=o.length>>i,u=new n(c),f=l[e];for(let d=0;d<c;d++)u[d]=f.call(l,d<<i,r);return u}}}function bh(){let n=Zr(),s=w+q();for(let t=2;t<n;t++){let r=Zr();w+=r}let e=w;return w=s,fe=[mo(Zr()),mo(Zr())],fe.position0=0,fe.position1=0,fe.postBundlePosition=w,w=e,q()}function Zr(){let n=$[w++]&31;if(n>23)switch(n){case 24:n=$[w++];break;case 25:n=Re.getUint16(w),w+=2;break;case 26:n=Re.getUint32(w),w+=4;break}return n}function go(){if(H.getShared){let n=xl(()=>($=null,H.getShared()))||{},s=n.structures||[];H.sharedVersion=n.version,Ie=H.sharedValues=n.packedValues,ae===!0?H.structures=ae=s:ae.splice.apply(ae,[0,s.length].concat(s))}}function xl(n){let s=fr,e=w,t=ho,r=zs,i=_n,o=Ws,l=uo,c=We,u=fe,f=new Uint8Array($.slice(0,fr)),d=ae,x=H,v=Vn,O=n();return fr=s,w=e,ho=t,zs=r,_n=i,Ws=o,uo=l,We=c,fe=u,$=f,Vn=v,ae=d,H=x,Re=new DataView($.buffer,$.byteOffset,$.byteLength),O}function _s(){$=null,We=null,ae=null}var Vs=new Array(147);for(let n=0;n<256;n++)Vs[n]=+("1e"+Math.floor(45.15-n*.30103));var bo=new dr({useRecords:!1}),wo=bo.decode,wh=bo.decodeMultiple,Hs={NEVER:0,ALWAYS:1,DECIMAL_ROUND:3,DECIMAL_FIT:4};var Gs;try{Gs=new TextEncoder}catch{}var Eo,Cl,Js=typeof globalThis=="object"&&globalThis.Buffer,Gn=typeof Js<"u",xo=Gn?Js.allocUnsafeSlow:Uint8Array,vl=Gn?Js:Uint8Array,Al=256,Sl=Gn?4294967296:2144337920;var vo,g,re,p=0,Bt,de=null,xh=61440,vh=/[\u0080-\uFFFF]/,Be=Symbol("record-id"),Hn=class extends dr{constructor(s){super(s),this.offset=0;let e,t,r,i,o,l;s=s||{};let c=vl.prototype.utf8Write?function(y,I){return g.utf8Write(y,I,g.byteLength-I)}:Gs&&Gs.encodeInto?function(y,I){return Gs.encodeInto(y,g.subarray(I)).written}:!1,u=this,f=s.structures||s.saveStructures,d=s.maxSharedStructures;if(d==null&&(d=f?128:0),d>8190)throw new Error("Maximum maxSharedStructure is 8190");let x=s.sequential;x&&(d=0),this.structures||(this.structures=[]),this.saveStructures&&(this.saveShared=this.saveStructures);let v,O,T=s.sharedValues,J;if(T){J=Object.create(null);for(let y=0,I=T.length;y<I;y++)J[T[y]]=y}let ne=[],le=0,se=0;this.mapEncode=function(y,I){if(this._keyMap&&!this._mapped)switch(y.constructor.name){case"Array":y=y.map(S=>this.encodeKeys(S));break}return this.encode(y,I)},this.encode=function(y,I){if(g||(g=new xo(8192),re=new DataView(g.buffer,0,8192),p=0),Bt=g.length-10,Bt-p<2048?(g=new xo(g.length),re=new DataView(g.buffer,0,g.length),Bt=g.length-10,p=0):I===Co&&(p=p+7&2147483640),t=p,u.useSelfDescribedHeader&&(re.setUint32(p,3654940416),p+=3),l=u.structuredClone?new Map:null,u.bundleStrings&&typeof y!="string"?(de=[],de.size=1/0):de=null,r=u.structures,r){if(r.uninitialized){let R=u.getShared()||{};u.structures=r=R.structures||[],u.sharedVersion=R.version;let E=u.sharedValues=R.packedValues;if(E){J={};for(let M=0,U=E.length;M<U;M++)J[E[M]]=M}}let S=r.length;if(S>d&&!x&&(S=d),!r.transitions){r.transitions=Object.create(null);for(let R=0;R<S;R++){let E=r[R];if(!E)continue;let M,U=r.transitions;for(let z=0,_=E.length;z<_;z++){U[Be]===void 0&&(U[Be]=R);let Y=E[z];M=U[Y],M||(M=U[Y]=Object.create(null)),U=M}U[Be]=R|1048576}}x||(r.nextId=S)}if(i&&(i=!1),o=r||[],O=J,s.pack){let S=new Map;if(S.values=[],S.encoder=u,S.maxValues=s.maxPrivatePackedValues||(J?16:1/0),S.objectMap=J||!1,S.samplingPackedValues=v,Ks(y,S),S.values.length>0){g[p++]=216,g[p++]=51,ht(4);let R=S.values;B(R),ht(0),ht(0),O=Object.create(J||null);for(let E=0,M=R.length;E<M;E++)O[R[E]]=E}}vo=I&So;try{if(vo)return;if(B(y),de&&Rl(t,B),u.offset=p,l&&l.idsToInsert){p+=l.idsToInsert.length*2,p>Bt&&Lt(p),u.offset=p;let S=Eh(g.subarray(t,p),l.idsToInsert);return l=null,S}return I&Co?(g.start=t,g.end=p,g):g.subarray(t,p)}finally{if(r){if(se<10&&se++,r.length>d&&(r.length=d),le>1e4)r.transitions=null,se=0,le=0,ne.length>0&&(ne=[]);else if(ne.length>0&&!x){for(let S=0,R=ne.length;S<R;S++)ne[S][Be]=void 0;ne=[]}}if(i&&u.saveShared){u.structures.length>d&&(u.structures=u.structures.slice(0,d));let S=g.subarray(t,p);return u.updateSharedData()===!1?u.encode(y):S}I&Ih&&(p=t)}},this.findCommonStringsToPack=()=>(v=new Map,J||(J=Object.create(null)),y=>{let I=y&&y.threshold||4,S=this.pack?y.maxPrivatePackedValues||16:0;T||(T=this.sharedValues=[]);for(let[R,E]of v)E.count>I&&(J[R]=S++,T.push(R),i=!0);for(;this.saveShared&&this.updateSharedData()===!1;);v=null});let B=y=>{p>Bt&&(g=Lt(p));var I=typeof y,S;if(I==="string"){if(O){let U=O[y];if(U>=0){U<16?g[p++]=U+224:(g[p++]=198,U&1?B(15-U>>1):B(U-16>>1));return}else if(v&&!s.pack){let z=v.get(y);z?z.count++:v.set(y,{count:1})}}let R=y.length;if(de&&R>=4&&R<1024){if((de.size+=R)>xh){let z,_=(de[0]?de[0].length*3+de[1].length:0)+10;p+_>Bt&&(g=Lt(p+_)),g[p++]=217,g[p++]=223,g[p++]=249,g[p++]=de.position?132:130,g[p++]=26,z=p-t,p+=4,de.position&&Rl(t,B),de=["",""],de.size=0,de.position=z}let U=vh.test(y);de[U?0:1]+=y,g[p++]=U?206:207,B(R);return}let E;R<32?E=1:R<256?E=2:R<65536?E=3:E=5;let M=R*3;if(p+M>Bt&&(g=Lt(p+M)),R<64||!c){let U,z,_,Y=p+E;for(U=0;U<R;U++)z=y.charCodeAt(U),z<128?g[Y++]=z:z<2048?(g[Y++]=z>>6|192,g[Y++]=z&63|128):(z&64512)===55296&&((_=y.charCodeAt(U+1))&64512)===56320?(z=65536+((z&1023)<<10)+(_&1023),U++,g[Y++]=z>>18|240,g[Y++]=z>>12&63|128,g[Y++]=z>>6&63|128,g[Y++]=z&63|128):(g[Y++]=z>>12|224,g[Y++]=z>>6&63|128,g[Y++]=z&63|128);S=Y-p-E}else S=c(y,p+E,M);S<24?g[p++]=96|S:S<256?(E<2&&g.copyWithin(p+2,p+1,p+1+S),g[p++]=120,g[p++]=S):S<65536?(E<3&&g.copyWithin(p+3,p+2,p+2+S),g[p++]=121,g[p++]=S>>8,g[p++]=S&255):(E<5&&g.copyWithin(p+5,p+3,p+3+S),g[p++]=122,re.setUint32(p,S),p+=4),p+=S}else if(I==="number")if(!this.alwaysUseFloat&&y>>>0===y)y<24?g[p++]=y:y<256?(g[p++]=24,g[p++]=y):y<65536?(g[p++]=25,g[p++]=y>>8,g[p++]=y&255):(g[p++]=26,re.setUint32(p,y),p+=4);else if(!this.alwaysUseFloat&&y>>0===y)y>=-24?g[p++]=31-y:y>=-256?(g[p++]=56,g[p++]=~y):y>=-65536?(g[p++]=57,re.setUint16(p,~y),p+=2):(g[p++]=58,re.setUint32(p,~y),p+=4);else if(!this.alwaysUseFloat&&y<0&&y>=-4294967296&&Math.floor(y)===y)g[p++]=58,re.setUint32(p,-1-y),p+=4;else{let R;if((R=this.useFloat32)>0&&y<4294967296&&y>=-2147483648){g[p++]=250,re.setFloat32(p,y);let E;if(R<4||(E=y*Vs[(g[p]&127)<<1|g[p+1]>>7])>>0===E){p+=4;return}else p--}g[p++]=251,re.setFloat64(p,y),p+=8}else if(I==="object")if(!y)g[p++]=246;else{if(l){let E=l.get(y);if(E){if(g[p++]=216,g[p++]=29,g[p++]=25,!E.references){let M=l.idsToInsert||(l.idsToInsert=[]);E.references=[],M.push(E)}E.references.push(p-t),p+=2;return}else l.set(y,{offset:p-t})}let R=y.constructor;if(R===Object)this.skipFunction===!0&&(y=Object.fromEntries([...Object.keys(y).filter(E=>typeof y[E]!="function").map(E=>[E,y[E]])])),et(y);else if(R===Array){S=y.length,S<24?g[p++]=128|S:ht(S);for(let E=0;E<S;E++)B(y[E])}else if(R===Map)if((this.mapsAsObjects?this.useTag259ForMaps!==!1:this.useTag259ForMaps)&&(g[p++]=217,g[p++]=1,g[p++]=3),S=y.size,S<24?g[p++]=160|S:S<256?(g[p++]=184,g[p++]=S):S<65536?(g[p++]=185,g[p++]=S>>8,g[p++]=S&255):(g[p++]=186,re.setUint32(p,S),p+=4),u.keyMap)for(let[E,M]of y)B(u.encodeKey(E)),B(M);else for(let[E,M]of y)B(E),B(M);else{for(let E=0,M=Eo.length;E<M;E++){let U=Cl[E];if(y instanceof U){let z=Eo[E],_=z.tag;_==null&&(_=z.getTag&&z.getTag.call(this,y)),_<24?g[p++]=192|_:_<256?(g[p++]=216,g[p++]=_):_<65536?(g[p++]=217,g[p++]=_>>8,g[p++]=_&255):_>-1&&(g[p++]=218,re.setUint32(p,_),p+=4),z.encode.call(this,y,B,Lt);return}}if(y[Symbol.iterator]){if(vo){let E=new Error("Iterable should be serialized as iterator");throw E.iteratorNotHandled=!0,E}g[p++]=159;for(let E of y)B(E);g[p++]=255;return}if(y[Symbol.asyncIterator]||Ao(y)){let E=new Error("Iterable/blob should be serialized as iterator");throw E.iteratorNotHandled=!0,E}if(this.useToJSON&&y.toJSON){let E=y.toJSON();if(E!==y)return B(E)}et(y)}}else if(I==="boolean")g[p++]=y?245:244;else if(I==="bigint"){if(y<BigInt(1)<<BigInt(64)&&y>=0)g[p++]=27,re.setBigUint64(p,y);else if(y>-(BigInt(1)<<BigInt(64))&&y<0)g[p++]=59,re.setBigUint64(p,-y-BigInt(1));else if(this.largeBigIntToFloat)g[p++]=251,re.setFloat64(p,Number(y));else{y>=BigInt(0)?g[p++]=194:(g[p++]=195,y=BigInt(-1)-y);let R=[];for(;y;)R.push(Number(y&BigInt(255))),y>>=BigInt(8);Ro(new Uint8Array(R.reverse()),Lt);return}p+=8}else if(I==="undefined")g[p++]=247;else throw new Error("Unknown type: "+I)},et=this.useRecords===!1?this.variableMapSize?y=>{let I=Object.keys(y),S=Object.values(y),R=I.length;R<24?g[p++]=160|R:R<256?(g[p++]=184,g[p++]=R):R<65536?(g[p++]=185,g[p++]=R>>8,g[p++]=R&255):(g[p++]=186,re.setUint32(p,R),p+=4);let E;if(u.keyMap)for(let M=0;M<R;M++)B(u.encodeKey(I[M])),B(S[M]);else for(let M=0;M<R;M++)B(I[M]),B(S[M])}:y=>{g[p++]=185;let I=p-t;p+=2;let S=0;if(u.keyMap)for(let R in y)(typeof y.hasOwnProperty!="function"||y.hasOwnProperty(R))&&(B(u.encodeKey(R)),B(y[R]),S++);else for(let R in y)(typeof y.hasOwnProperty!="function"||y.hasOwnProperty(R))&&(B(R),B(y[R]),S++);g[I+++t]=S>>8,g[I+t]=S&255}:(y,I)=>{let S,R=o.transitions||(o.transitions=Object.create(null)),E=0,M=0,U,z;if(this.keyMap){z=Object.keys(y).map(Y=>this.encodeKey(Y)),M=z.length;for(let Y=0;Y<M;Y++){let el=z[Y];S=R[el],S||(S=R[el]=Object.create(null),E++),R=S}}else for(let Y in y)(typeof y.hasOwnProperty!="function"||y.hasOwnProperty(Y))&&(S=R[Y],S||(R[Be]&1048576&&(U=R[Be]&65535),S=R[Y]=Object.create(null),E++),R=S,M++);let _=R[Be];if(_!==void 0)_&=65535,g[p++]=217,g[p++]=_>>8|224,g[p++]=_&255;else if(z||(z=R.__keys__||(R.__keys__=Object.keys(y))),U===void 0?(_=o.nextId++,_||(_=0,o.nextId=1),_>=Al&&(o.nextId=(_=d)+1)):_=U,o[_]=z,_<d){g[p++]=217,g[p++]=_>>8|224,g[p++]=_&255,R=o.transitions;for(let Y=0;Y<M;Y++)(R[Be]===void 0||R[Be]&1048576)&&(R[Be]=_),R=R[z[Y]];R[Be]=_|1048576,i=!0}else{if(R[Be]=_,re.setUint32(p,3655335680),p+=3,E&&(le+=se*E),ne.length>=Al-d&&(ne.shift()[Be]=void 0),ne.push(R),ht(M+2),B(57344+_),B(z),I)return;for(let Y in y)(typeof y.hasOwnProperty!="function"||y.hasOwnProperty(Y))&&B(y[Y]);return}if(M<24?g[p++]=128|M:ht(M),!I)for(let Y in y)(typeof y.hasOwnProperty!="function"||y.hasOwnProperty(Y))&&B(y[Y])},Lt=y=>{let I;if(y>16777216){if(y-t>Sl)throw new Error("Encoded buffer would be larger than maximum buffer size");I=Math.min(Sl,Math.round(Math.max((y-t)*(y>67108864?1.25:2),4194304)/4096)*4096)}else I=(Math.max(y-t<<2,g.length-1)>>12)+1<<12;let S=new xo(I);return re=new DataView(S.buffer,0,I),g.copy?g.copy(S,0,t,y):S.set(g.slice(t,y)),p-=t,t=0,Bt=S.length-10,g=S},ur=100,Qa=1e3;this.encodeAsIterable=function(y,I){return Za(y,I,Jr)},this.encodeAsAsyncIterable=function(y,I){return Za(y,I,Xa)};function*Jr(y,I,S){let R=y.constructor;if(R===Object){let E=u.useRecords!==!1;E?et(y,!0):El(Object.keys(y).length,160);for(let M in y){let U=y[M];E||B(M),U&&typeof U=="object"?I[M]?yield*Jr(U,I[M]):yield*oo(U,I,M):B(U)}}else if(R===Array){let E=y.length;ht(E);for(let M=0;M<E;M++){let U=y[M];U&&(typeof U=="object"||p-t>ur)?I.element?yield*Jr(U,I.element):yield*oo(U,I,"element"):B(U)}}else if(y[Symbol.iterator]&&!y.buffer){g[p++]=159;for(let E of y)E&&(typeof E=="object"||p-t>ur)?I.element?yield*Jr(E,I.element):yield*oo(E,I,"element"):B(E);g[p++]=255}else Ao(y)?(El(y.size,64),yield g.subarray(t,p),yield y,Un()):y[Symbol.asyncIterator]?(g[p++]=159,yield g.subarray(t,p),yield y,Un(),g[p++]=255):B(y);S&&p>t?yield g.subarray(t,p):p-t>ur&&(yield g.subarray(t,p),Un())}function*oo(y,I,S){let R=p-t;try{B(y),p-t>ur&&(yield g.subarray(t,p),Un())}catch(E){if(E.iteratorNotHandled)I[S]={},p=t+R,yield*Jr.call(this,y,I[S]);else throw E}}function Un(){ur=Qa,u.encode(null,So)}function Za(y,I,S){return I&&I.chunkThreshold?ur=Qa=I.chunkThreshold:ur=100,y&&typeof y=="object"?(u.encode(null,So),S(y,u.iterateProperties||(u.iterateProperties={}),!0)):[u.encode(y)]}async function*Xa(y,I){for(let S of Jr(y,I,!0)){let R=S.constructor;if(R===vl||R===Uint8Array)yield S;else if(Ao(S)){let E=S.stream().getReader(),M;for(;!(M=await E.read()).done;)yield M.value}else if(S[Symbol.asyncIterator])for await(let E of S)Un(),E?yield*Xa(E,I.async||(I.async={})):yield u.encode(E);else yield S}}}useBuffer(s){g=s,re=new DataView(g.buffer,g.byteOffset,g.byteLength),p=0}clearSharedData(){this.structures&&(this.structures=[]),this.sharedValues&&(this.sharedValues=void 0)}updateSharedData(){let s=this.sharedVersion||0;this.sharedVersion=s+1;let e=this.structures.slice(0),t=new qs(e,this.sharedValues,this.sharedVersion),r=this.saveShared(t,i=>(i&&i.version||0)==s);return r===!1?(t=this.getShared()||{},this.structures=t.structures||[],this.sharedValues=t.packedValues,this.sharedVersion=t.version,this.structures.nextId=this.structures.length):e.forEach((i,o)=>this.structures[o]=i),r}};function El(n,s){n<24?g[p++]=s|n:n<256?(g[p++]=s|24,g[p++]=n):n<65536?(g[p++]=s|25,g[p++]=n>>8,g[p++]=n&255):(g[p++]=s|26,re.setUint32(p,n),p+=4)}var qs=class{constructor(s,e,t){this.structures=s,this.packedValues=e,this.version=t}};function ht(n){n<24?g[p++]=128|n:n<256?(g[p++]=152,g[p++]=n):n<65536?(g[p++]=153,g[p++]=n>>8,g[p++]=n&255):(g[p++]=154,re.setUint32(p,n),p+=4)}var Ah=typeof Blob>"u"?function(){}:Blob;function Ao(n){if(n instanceof Ah)return!0;let s=n[Symbol.toStringTag];return s==="Blob"||s==="File"}function Ks(n,s){switch(typeof n){case"string":if(n.length>3){if(s.objectMap[n]>-1||s.values.length>=s.maxValues)return;let t=s.get(n);if(t)++t.count==2&&s.values.push(n);else if(s.set(n,{count:1}),s.samplingPackedValues){let r=s.samplingPackedValues.get(n);r?r.count++:s.samplingPackedValues.set(n,{count:1})}}break;case"object":if(n)if(n instanceof Array)for(let t=0,r=n.length;t<r;t++)Ks(n[t],s);else{let t=!s.encoder.useRecords;for(var e in n)n.hasOwnProperty(e)&&(t&&Ks(e,s),Ks(n[e],s))}break;case"function":console.log(n)}}var Sh=new Uint8Array(new Uint16Array([1]).buffer)[0]==1;Cl=[Date,Set,Error,RegExp,tt,ArrayBuffer,Uint8Array,Uint8ClampedArray,Uint16Array,Uint32Array,typeof BigUint64Array>"u"?function(){}:BigUint64Array,Int8Array,Int16Array,Int32Array,typeof BigInt64Array>"u"?function(){}:BigInt64Array,Float32Array,Float64Array,qs];Eo=[{tag:1,encode(n,s){let e=n.getTime()/1e3;(this.useTimestamp32||n.getMilliseconds()===0)&&e>=0&&e<4294967296?(g[p++]=26,re.setUint32(p,e),p+=4):(g[p++]=251,re.setFloat64(p,e),p+=8)}},{tag:258,encode(n,s){let e=Array.from(n);s(e)}},{tag:27,encode(n,s){s([n.name,n.message])}},{tag:27,encode(n,s){s(["RegExp",n.source,n.flags])}},{getTag(n){return n.tag},encode(n,s){s(n.value)}},{encode(n,s,e){Ro(n,e)}},{getTag(n){if(n.constructor===Uint8Array&&(this.tagUint8Array||Gn&&this.tagUint8Array!==!1))return 64},encode(n,s,e){Ro(n,e)}},ut(68,1),ut(69,2),ut(70,4),ut(71,8),ut(72,1),ut(77,2),ut(78,4),ut(79,8),ut(85,4),ut(86,8),{encode(n,s){let e=n.packedValues||[],t=n.structures||[];if(e.values.length>0){g[p++]=216,g[p++]=51,ht(4);let r=e.values;s(r),ht(0),ht(0),packedObjectMap=Object.create(sharedPackedObjectMap||null);for(let i=0,o=r.length;i<o;i++)packedObjectMap[r[i]]=i}if(t){re.setUint32(p,3655335424),p+=3;let r=t.slice(0);r.unshift(57344),r.push(new tt(n.version,1399353956)),s(r)}else s(new tt(n.version,1399353956))}}];function ut(n,s){return!Sh&&s>1&&(n-=4),{tag:n,encode:function(t,r){let i=t.byteLength,o=t.byteOffset||0,l=t.buffer||t;r(Gn?Js.from(l,o,i):new Uint8Array(l,o,i))}}}function Ro(n,s){let e=n.byteLength;e<24?g[p++]=64+e:e<256?(g[p++]=88,g[p++]=e):e<65536?(g[p++]=89,g[p++]=e>>8,g[p++]=e&255):(g[p++]=90,re.setUint32(p,e),p+=4),p+e>=g.length&&s(p+e),g.set(n.buffer?n:new Uint8Array(n),p),p+=e}function Eh(n,s){let e,t=s.length*2,r=n.length-t;s.sort((i,o)=>i.offset>o.offset?1:-1);for(let i=0;i<s.length;i++){let o=s[i];o.id=i;for(let l of o.references)n[l++]=i>>8,n[l]=i&255}for(;e=s.pop();){let i=e.offset;n.copyWithin(i+t,i,r),t-=2;let o=i+t;n[o++]=216,n[o++]=28,r=i}return n}function Rl(n,s){re.setUint32(de.position+n,p-de.position-n+1);let e=de;de=null,s(e[0]),s(e[1])}var $o=new Hn({useRecords:!1}),ko=$o.encode,Rh=$o.encodeAsIterable,Ch=$o.encodeAsAsyncIterable,{NEVER:$h,ALWAYS:kh,DECIMAL_ROUND:Oh,DECIMAL_FIT:Ph}=Hs,Co=512,Ih=1024,So=2048;var Zn="*",Td=Symbol("STATE_CONTEXT"),Nd=Symbol("MATCHER"),Qs="CREATED",Zs="DELETED",Xs="UPDATED",Io=1,Qn=2,jo=4,Mo=8;function jh(n){let s="";for(let e=0;e<n.length;e++){let t=n[e];t==="~"?s+="~~":t==="."?s+="~d":s+=t}return s.length===0?"~e":s}function Mh(n){let s=new Array(n.length);for(let e=0;e<n.length;e++){let t=n[e];if(typeof t=="number"&&Number.isInteger(t))s[e]="n"+String(t);else if(typeof t=="string")s[e]="s"+jh(t);else throw new TypeError(`Unsupported segment type at index ${e}: ${t}`)}return s.join(".")}function Ml(n){return(n.type&Io)===Io}function To(n){return(n.type&Qn)===Qn}function No(n){return(n.type&jo)===jo}function Tl(n){return(n.type&Mo)===Mo}function Nl(n){return!n||n.length===0||n===Zn||n[0]===Zn}function Dl(n=[]){let s=n.length;return s===0?[0,[]]:s===1&&n[0]===Zn?[0,[]]:Array.isArray(n[0])?s===1?[1,[n[0]]]:[s,n]:[1,[[...n]]]}function Th(n){if(!Array.isArray(n))return!1;for(let s=0;s<n.length;s++){let e=n[s];if(typeof e=="string"&&e.charCodeAt(0)===46)return!0}return!1}function yr(n=[]){if(Nl(n))return{address:Zn,isMarker:!0,length:0,path:[],children:null,type:Io};let[s,e]=Dl(n),t=s===1?Qn:jo,r=s===1?e[0]:e,i=s>1?e.map(c=>yr(c)):null,o=t===Qn?Th(r):i.some(c=>Tl(c)),l=t;return o&&(l|=Mo),{address:t===Qn?Mh(r):null,isMarker:!0,length:s,path:r,children:i,type:l}}function V(n,s){if(s.length===0)return n;let[e,t]=Dl(s);if(Ml(n))return yr(t,n.state);if(To(n)){if(e===0)return n;if(e===1){let r=[...n.path,...t[0]];return yr(r,n.state)}else{let r=t.map(i=>[...n.path,...i]);return yr(r,n.state)}}if(No(n)){let r=new Array(n.length),i=0;for(;i<n.length;)r[i]=V(n.children[i],s),i++;let o=[];for(i=0;i<r.length;){let l=r[i];if(To(l))o.push(l.path);else if(No(l)){let c=0;for(;c<l.length;)o.push(l.children[c].path),c++}i++}return yr(o,n.state)}return n}function Ue(n,{global:s,path:e,ephemeral:t,error:r}){try{if(!n.isMarker)return;if(Ml(n))return s?s(n):void 0;if(Tl(n))return t?t(n):e?e(n):void 0;if(To(n))return e?e(n):void 0;if(No(n)){let i=new Array(n.length),o=0;for(;o<n.length;){let l=n.children[o];i[o]=Ue(l,{global:s,path:e,ephemeral:t,error:r}),o++}return i}return}catch(i){return r?r(i.message):void 0}}var Jn=[null,null,(n,s)=>n?.[s[0]]?.[s[1]],(n,s)=>n?.[s[0]]?.[s[1]]?.[s[2]],(n,s)=>n?.[s[0]]?.[s[1]]?.[s[2]]?.[s[3]],(n,s)=>n?.[s[0]]?.[s[1]]?.[s[2]]?.[s[3]]?.[s[4]],(n,s)=>n?.[s[0]]?.[s[1]]?.[s[2]]?.[s[3]]?.[s[4]]?.[s[5]],(n,s)=>n?.[s[0]]?.[s[1]]?.[s[2]]?.[s[3]]?.[s[4]]?.[s[5]]?.[s[6]],(n,s)=>n?.[s[0]]?.[s[1]]?.[s[2]]?.[s[3]]?.[s[4]]?.[s[5]]?.[s[6]]?.[s[7]]];function Nh(n){let s="obj"+Array.from({length:n},(t,r)=>`?.[path[${r}]]`).join(""),e=new Function("obj","path",`return ${s}`);return Jn[n]=e,e}function wr(n,s){let e=s.length;return e===0?n:e===1?n[s[0]]:e<Jn.length&&Jn[e]||Jn[e]?Jn[e](n,s):Nh(e)(n,s)}function X(n){return typeof n=="number"?[]:{}}var ei=[null,null,(n,s,e)=>{let[t,r]=s;return n[t]=t in n?n[t]:X(r),n[t][r]=e,e},(n,s,e)=>{let[t,r,i]=s;return n[t]=t in n?n[t]:X(r),n[t][r]=r in n[t]?n[t][r]:X(i),n[t][r][i]=e,e},(n,s,e)=>{let[t,r,i,o]=s;return n[t]=t in n?n[t]:X(r),n[t][r]=r in n[t]?n[t][r]:X(i),n[t][r][i]=i in n[t][r]?n[t][r][i]:X(o),n[t][r][i][o]=e,e},(n,s,e)=>{let[t,r,i,o,l]=s;return n[t]=t in n?n[t]:X(r),n[t][r]=r in n[t]?n[t][r]:X(i),n[t][r][i]=i in n[t][r]?n[t][r][i]:X(o),n[t][r][i][o]=o in n[t][r][i]?n[t][r][i][o]:X(l),n[t][r][i][o][l]=e,e},(n,s,e)=>{let[t,r,i,o,l,c]=s;return n[t]=t in n?n[t]:X(r),n[t][r]=r in n[t]?n[t][r]:X(i),n[t][r][i]=i in n[t][r]?n[t][r][i]:X(o),n[t][r][i][o]=o in n[t][r][i]?n[t][r][i][o]:X(l),n[t][r][i][o][l]=l in n[t][r][i][o]?n[t][r][i][o][l]:X(c),n[t][r][i][o][l][c]=e,e},(n,s,e)=>{let[t,r,i,o,l,c,u]=s;return n[t]=t in n?n[t]:X(r),n[t][r]=r in n[t]?n[t][r]:X(i),n[t][r][i]=i in n[t][r]?n[t][r][i]:X(o),n[t][r][i][o]=o in n[t][r][i]?n[t][r][i][o]:X(l),n[t][r][i][o][l]=l in n[t][r][i][o]?n[t][r][i][o][l]:X(c),n[t][r][i][o][l][c]=c in n[t][r][i][o][l]?n[t][r][i][o][l][c]:X(u),n[t][r][i][o][l][c][u]=e,e},(n,s,e)=>{let[t,r,i,o,l,c,u,f]=s;return n[t]=t in n?n[t]:X(r),n[t][r]=r in n[t]?n[t][r]:X(i),n[t][r][i]=i in n[t][r]?n[t][r][i]:X(o),n[t][r][i][o]=o in n[t][r][i]?n[t][r][i][o]:X(l),n[t][r][i][o][l]=l in n[t][r][i][o]?n[t][r][i][o][l]:X(c),n[t][r][i][o][l][c]=c in n[t][r][i][o][l]?n[t][r][i][o][l][c]:X(u),n[t][r][i][o][l][c][u]=u in n[t][r][i][o][l][c]?n[t][r][i][o][l][c][u]:X(f),n[t][r][i][o][l][c][u][f]=e,e}];function Dh(n){let s=Array.from({length:n},(i,o)=>`v${o}`),e=`const [${s.join(", ")}] = path;
|
|
2
|
+
`,t="state";for(let i=0;i<n-1;i++){let o=s[i],l=s[i+1];e+=`${t}[${o}] = (${t}[${o}] !== undefined && typeof ${t}[${o}] === 'object') ? ${t}[${o}] : createNodeType(${l});
|
|
3
|
+
`,t+=`[${o}]`}e+=`${t}[${s[n-1]}] = value;
|
|
4
|
+
return state;`;let r=new Function("state","path","value","createNodeType",e);return ei[n]=(i,o,l)=>r(i,o,l,X),ei[n]}function Lo(n,s,e){let t=s.length;return t===0?Object.assign(n,e):t===1?n[s[0]]=e:ei[t]?ei[t](n,s,e):Dh(t)(n,s,e)}function Fh(n,s){let e=s.length;if(e===0)return;if(e===1){let l=n[s[0]];return Array.isArray(n)?n.splice(s[0],1):delete n[s[0]],l}let t=s.slice(0,-1),r=s[e-1],i=wr(n,t);if(!i)return;let o=i[r];return Array.isArray(i)?i.splice(r,1):delete i[r],o}function ni(n,s){let e=Object.keys(n),t=0;for(;t<e.length;)delete n[e[t]],t++;let r=Object.keys(s);for(t=0;t<r.length;){let i=r[t],o=s[i];o&&typeof o=="object"&&!Array.isArray(o)?(n[i]=n[i]||{},ni(n[i],o)):n[i]=o,t++}return n}function Lh(n){let s=Object.keys(n);for(let e of s)delete n[e];return n}function Bh(n){let s=typeof n;return n==null||s==="string"||s==="number"||s==="boolean"||s==="bigint"||s==="symbol"||s==="function"}var Fl=n=>structuredClone?structuredClone(n):JSON.parse(JSON.stringify(n));function Uh(n){return Array.isArray(n)?[...n]:typeof n=="object"&&n!==null?{...n}:n}function ge(n,s,e){let t=!1;try{return Ue(s,{global:()=>(t=!0,n),path:({path:r})=>(t=!0,wr(n,r))})}catch(r){console.error(r);return}finally{t&&e&&e(s)}}function pr(n,s,e,t,r){let i,o=!1;try{return Ue(s,{global:()=>(i={...n},n=ni(n,e),o=!0,e),path:({path:l})=>(i=Uh(wr(n,l)),Lo(n,l,e),o=!0,e)})}catch(l){console.error(l);return}finally{o&&r&&r(s,t,e,i)}}function Xr(n,s,e,t){let r,i=!1;try{return Ue(s,{global:()=>(r=n,n=ni(n,{}),i=!0,r),path:({path:o})=>(r=Fh(n,o),i=!0,r)})}catch(o){console.error(o);return}finally{t&&t(s,e,void 0,r)}}function Kn(n,s,e,t,r){let i,o,l=!1;try{return Ue(s,{global:()=>(i=n,o=e(n),n=ni(n,o),l=!0,o),path:({path:c})=>{i=Nl(c)?n:wr(n,c);let u=Bh(i)?i:Fl(i);return o=e(u),Lo(n,c,o),l=!0,o}})}catch(c){console.error(c);return}finally{l&&r&&r(s,t,o,i)}}function Bo(n,s){let e=wr(n,s);if(e===void 0)e=[],Lo(n,s,e);else if(!Array.isArray(e))throw new TypeError(`Expected array at path "${s.join(".")}", got ${typeof e}`);return e}function $l(n,s,e,t,r){let i=!1;try{return Ue(s,{path:({path:o})=>(Bo(n,o).push(e),i=!0,e)})}catch(o){console.error(o);return}finally{i&&r&&r(s,t,e,void 0)}}function kl(n,s,e,t,r){let i=!1;try{return Ue(s,{path:({path:o})=>(Bo(n,o).unshift(e),i=!0,e)})}catch(o){console.error(o);return}finally{i&&r&&r(s,t,e,void 0)}}function Ol(n,s,e,t,r){let i,o=!1;try{return Ue(s,{path:({path:l})=>(i=Bo(n,l).splice(...e),o=!0,i)})}catch(l){console.error(l);return}finally{o&&r&&r(s,t,e,i)}}function Ll(n,s){if(!(n&&n[0]==="."))return s}function Do(n,s=Ll,e=""){if(n===null||typeof n!="object")return n;if(Array.isArray(n))return n.map(r=>Do(r,s));let t={};for(let r of Object.keys(n)){let i=s(r,n[r]);typeof i<"u"&&(t[r]=Do(i,s,r))}return t}var Bl=new Uint8Array([74,83,67,50]),Ul=2;function Wh(n){let s="";for(let e=0;e<n.length;e+=8192){let t=n.slice(e,e+8192);s+=String.fromCharCode(...t)}return btoa(s).replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,"")}function zh(n){let s=n.replace(/-/g,"+").replace(/_/g,"/"),e=s+"=".repeat((4-s.length%4)%4),t=atob(e),r=new Uint8Array(t.length);for(let i=0;i<t.length;i++)r[i]=t.charCodeAt(i);return r}function Wl(n){let s=0;for(let e=0;e<n.length;e++)s=(s<<5)-s+n[e]>>>0;return s}function Oo(n,s,e=0){return new DataView(s.buffer,s.byteOffset+e,4).setUint32(0,n,!0),e+4}function Po(n,s=0){return new DataView(n.buffer,n.byteOffset+s,4).getUint32(0,!0)}function _h(n,s,e=0){return new DataView(s.buffer,s.byteOffset+e,2).setUint16(0,n,!0),e+2}function Vh(n,s=0){return new DataView(n.buffer,n.byteOffset+s,2).getUint16(0,!0)}function Hh(n,s,e=0){return s[e]=n,e+1}function Gh(n,s=0){return n[s]}function Kh(n){return ko(n)}function qh(n){return[wo(n),n.length]}async function Pl(n,{replacer:s=Ll}={}){let e=Do(n,s),t=Kh(e),r=4+t.length,i=new Uint8Array(r),o=0;o=Oo(t.length,i,o),i.set(t,o);let l=Wl(i),c=15,u=new Uint8Array(c+i.length);return u.set(Bl,0),_h(Ul,u,4),Hh(0,u,6),Oo(l,u,7),Oo(i.length,u,11),u.set(i,15),Wh(u)}async function Jh(n,s){let e=zh(n);if(e.length<15)throw new Error("Invalid capsule: too short");for(let x=0;x<4;x++)if(e[x]!==Bl[x])throw new Error("Invalid capsule: bad magic");let t=Vh(e,4);if(t!==Ul)throw new Error(`Unsupported capsule version: ${t}`);let r=Gh(e,6),i=Po(e,7),o=Po(e,11);if(o<0)throw new Error("Invalid capsule: negative payload length");if(e.length!==15+o)throw new Error("Invalid capsule: length mismatch");let l=e.slice(15),c=Wl(l);if(i!==c)throw new Error("Integrity check failed: checksum mismatch");let u=0,f=Po(l,u);if(u+=4,u+f>l.length)throw new Error(`Data length ${f} exceeds payload bounds at offset ${u}`);let[d]=qh(l.slice(u,u+f));return s&&s(d),{data:d,meta:{version:t,flags:r,bytes:e.length,checksum:c.toString(16)}}}function Yh(n,s,e){switch(s){case"is":case"===":case"==":return n===e;case"not":case"!==":case"!=":return n!==e;case"includes":return Array.isArray(n)&&n.includes(e);case"has":return typeof n=="object"&&n!==null&&Object.values(n).includes(e);case"in":return typeof n=="object"&&n!==null&&e in n;case"gt":case">":return n>e;case"lt":case"<":return n<e;case"gte":case">=":return n>=e;case"lte":case"<=":return n<=e;default:throw new Error(`Unknown matcher: ${s}`)}}function ti(n,s,e,t,r=[],i=!1){let o=[];if(n===null||typeof n!="object")return o;for(let[l,c]of Object.entries(n)){if(l===s&&Yh(c,e,t)&&(o.push([...r,l]),!i))return o;if(typeof c=="object"&&c!==null)if(Array.isArray(c))for(let u=0;u<c.length;u++){let f=c[u];if(f&&typeof f=="object"){let d=ti(f,s,e,t,[...r,l,u],i);if(o.push(...d),!i&&o.length>0)return o}}else{let u=ti(c,s,e,t,[...r,l],i);if(o.push(...u),!i&&o.length>0)return o}}return o}function Il(n,s,e="is",t){return ti(n,s,e,t,[],!1)?.[0]}function Qh(n,s,e="is",t){return ti(n,s,e,t,[],!0)}function Zh(n,s){let e=Object.keys(s);if(e.length===0)return!1;for(let t=0;t<e.length;t++)if(n[e[t]]!==s[e[t]])return!1;return!0}function ri(n,s,e=[],t=!1){let r=[];if(n===null||typeof n!="object"||Zh(n,s)&&(r.push([...e]),!t))return r;if(Array.isArray(n))for(let i=0;i<n.length;i++){let o=n[i];if(o&&typeof o=="object"){let l=ri(o,s,[...e,i],t);if(r.push(...l),!t&&r.length>0)return r}}else for(let[i,o]of Object.entries(n))if(typeof o=="object"&&o!==null){let l=ri(o,s,[...e,i],t);if(r.push(...l),!t&&r.length>0)return r}return r}function qn(n,s){return ri(n,s,[],!1)?.[0]}function Ys(n,s){return ri(n,s,[],!0)}var Fd={[Qs]:Zs,[Zs]:Qs,[Xs]:Xs};function jl(n,s){return s===void 0?Qs:n===void 0?Zs:Xs}function Xh(n,s,e,t,r){return Ue(n,{global:()=>({path:Zn,method:s,operation:jl(e,t),from:t,to:e}),path:i=>{let o={path:i.path,method:s,operation:jl(e,t),from:t,to:e};return r&&(o.query=r),o}})}var D,L,Et,Z,ce,gr,pe,mr,Fo,zl,Yn,br,Uo=(br=class{constructor(s,e=null,t=null,r=null){m(this,pe);m(this,D);m(this,L);m(this,Et,0);m(this,Z);m(this,ce);m(this,gr,new Map);b(this,D,s),b(this,Z,t||h(this,pe,Fo).call(this)),b(this,ce,r||h(this,pe,zl).call(this)),b(this,L,e||yr()),b(this,Et,0)}static create(s={}){return new br(s)}install(...s){let e=new Map;for(let t of s){if(a(this,gr).has(t.name)){console.warn(`Plugin "${t.name}" already installed`);continue}if(!t.install){console.warn(`Plugin "${t.name}" does not have an install function`);continue}let r=t.install(this);if(a(this,gr).set(t.name,r),r.initialize&&e.set(t.name,()=>r.initialize(this,r.options)),r.actions){let i=r.actions(this,r.options);Object.defineProperty(this,t.name,{value:i,writable:!1,enumerable:!0,configurable:!1})}}return e.forEach(t=>t()),this}get batching(){return a(this,Et)>0}get(...s){return ge(a(this,D),V(a(this,L),s),a(this,ce))}clone(...s){let e=ge(a(this,D),V(a(this,L),s),a(this,ce));if(typeof e=="object"&&e!==null)try{return Fl(e)}catch{return console.warn(`Failed to clone data: ${e}`),e}return e}has(...s){let e=V(a(this,L),s);return Ue(e,{global:()=>{},path:t=>ge(a(this,D),t,a(this,ce))!==void 0})}keys(...s){let e=V(a(this,L),s);return Ue(e,{global:()=>Object.keys(a(this,D)),path:t=>Object.keys(ge(a(this,D),t,a(this,ce))||{})})}typeof(...s){let e=V(a(this,L),s);return Ue(e,{global:()=>{},path:({path:t})=>typeof ge(a(this,D),t,a(this,ce))})}findWhen(s,e="is",t){let r=ge(a(this,D),a(this,L),null);return Il(r,s,e,t)}findAllWhen(s,e="is",t){let r=ge(a(this,D),a(this,L),null);return Qh(r,s,e,t)}findWhere(...s){let e=s.pop(),t=s.length?V(a(this,L),s):a(this,L),r=ge(a(this,D),t,a(this,ce)),i=qn(r,e);if(i!==void 0)return wr(r,i)}findAllWhere(...s){let e=s.pop(),t=s.length?V(a(this,L),s):a(this,L),r=ge(a(this,D),t,a(this,ce));return Ys(r,e).map(i=>wr(r,i))}set(...s){let e=s.pop(),t=V(a(this,L),s);return pr(a(this,D),t,e,"set",a(this,Z))}update(...s){let e=s.pop(),t=V(a(this,L),s);return Kn(a(this,D),t,e,"update",a(this,Z))}apply(s){for(let e of s){let{path:t,operation:r,method:i,to:o,query:l}=e,c;if(l){let u=t.slice(0,-1),f=V(a(this,L),[u]),d=ge(a(this,D),f,a(this,ce)),x;if(Array.isArray(l)){let[v,O,T]=l,J=Il(d,v,O,T);x=J?J.slice(0,-1):void 0}else x=qn(d,l);if(x===void 0)continue;c=V(a(this,L),[[...u,...x]])}else c=V(a(this,L),t);switch(r){case Qs:case Xs:if(i==="push")$l(a(this,D),c,o,"apply",a(this,Z));else if(i==="unshift")kl(a(this,D),c,o,"apply",a(this,Z));else if(i==="splice")Ol(a(this,D),c,o,"apply",a(this,Z));else if(i==="removeMatch"){let u=ge(a(this,D),c,a(this,ce));if(Array.isArray(u)){let f=JSON.stringify(o),d=u.findIndex(x=>JSON.stringify(x)===f);d!==-1&&u.splice(d,1)}}else pr(a(this,D),c,o,"apply",a(this,Z));break;case Zs:Xr(a(this,D),c,"apply",a(this,Z));break}}}load(s){return pr(a(this,D),a(this,L),s,"load",a(this,Z)),this}remove(...s){let e=V(a(this,L),s);return Xr(a(this,D),e,"remove",a(this,Z))}push(...s){let e=s.pop(),t=V(a(this,L),s);return $l(a(this,D),t,e,"push",a(this,Z))}unshift(...s){let e=s.pop(),t=V(a(this,L),s);return kl(a(this,D),t,e,"unshift",a(this,Z))}splice(s,...e){let t=V(a(this,L),Array.isArray(s[0])?s:[s]);return Ol(a(this,D),t,e,"splice",a(this,Z))}setWhere(s,e,t){let r=V(a(this,L),s),i=ge(a(this,D),r,a(this,ce)),o=qn(i,e);if(o===void 0)return;let l=[...h(this,pe,mr).call(this,s),...o],c=V(a(this,L),[l]);return pr(a(this,D),c,t,"setWhere",(u,f,d,x)=>a(this,Z).call(this,u,f,d,x,e))}updateWhere(s,e,t){let r=V(a(this,L),s),i=ge(a(this,D),r,a(this,ce)),o=qn(i,e);if(o===void 0)return;let l=[...h(this,pe,mr).call(this,s),...o],c=V(a(this,L),[l]);return Kn(a(this,D),c,t,"updateWhere",(u,f,d,x)=>a(this,Z).call(this,u,f,d,x,e))}removeWhere(s,e){let t=V(a(this,L),s),r=ge(a(this,D),t,a(this,ce)),i=qn(r,e);if(i===void 0)return;let o=[...h(this,pe,mr).call(this,s),...i],l=V(a(this,L),[o]);return Xr(a(this,D),l,"removeWhere",(c,u,f,d)=>a(this,Z).call(this,c,u,f,d,e))}setAllWhere(s,e,t){return this.batch(()=>{let r=V(a(this,L),s),i=ge(a(this,D),r,a(this,ce)),o=Ys(i,e),l=h(this,pe,mr).call(this,s),c=(u,f,d,x)=>a(this,Z).call(this,u,f,d,x,e);for(let u of o){let f=V(a(this,L),[[...l,...u]]);pr(a(this,D),f,t,"setAllWhere",c)}})}updateAllWhere(s,e,t){return this.batch(()=>{let r=V(a(this,L),s),i=ge(a(this,D),r,a(this,ce)),o=Ys(i,e),l=h(this,pe,mr).call(this,s),c=(u,f,d,x)=>a(this,Z).call(this,u,f,d,x,e);for(let u of o){let f=V(a(this,L),[[...l,...u]]);Kn(a(this,D),f,t,"updateAllWhere",c)}})}removeAllWhere(s,e){return this.batch(()=>{let t=V(a(this,L),s),r=ge(a(this,D),t,a(this,ce)),i=Ys(r,e),o=h(this,pe,mr).call(this,s),l=(u,f,d,x)=>a(this,Z).call(this,u,f,d,x,e),c=[];for(let u=i.length-1;u>=0;u--){let f=V(a(this,L),[[...o,...i[u]]]);c.push(Xr(a(this,D),f,"removeAllWhere",l))}return c})}setWhen(s,e,t,r){let i=[s,e,t],o=this.findWhen(s,e,t);if(!o)return;let l=o.slice(0,-1),c=V(a(this,L),[l]);return pr(a(this,D),c,r,"setWhen",(u,f,d,x)=>a(this,Z).call(this,u,f,d,x,i))}updateWhen(s,e,t,r){let i=[s,e,t],o=this.findWhen(s,e,t);if(!o)return;let l=o.slice(0,-1),c=V(a(this,L),[l]);return Kn(a(this,D),c,r,"updateWhen",(u,f,d,x)=>a(this,Z).call(this,u,f,d,x,i))}removeWhen(s,e,t){let r=[s,e,t],i=this.findWhen(s,e,t);if(!i)return;let o=i.slice(0,-1),l=V(a(this,L),[o]);return Xr(a(this,D),l,"removeWhen",(c,u,f,d)=>a(this,Z).call(this,c,u,f,d,r))}setAllWhen(s,e,t,r){return this.batch(()=>{let i=[s,e,t],o=(c,u,f,d)=>a(this,Z).call(this,c,u,f,d,i),l=this.findAllWhen(s,e,t);for(let c of l){let u=c.slice(0,-1),f=V(a(this,L),[u]);pr(a(this,D),f,r,"setAllWhen",o)}})}updateAllWhen(s,e,t,r){return this.batch(()=>{let i=[s,e,t],o=(c,u,f,d)=>a(this,Z).call(this,c,u,f,d,i),l=this.findAllWhen(s,e,t);for(let c of l){let u=c.slice(0,-1),f=V(a(this,L),[u]);Kn(a(this,D),f,r,"updateAllWhen",o)}})}removeAllWhen(s,e,t){return this.batch(()=>{let r=[s,e,t],i=(c,u,f,d)=>a(this,Z).call(this,c,u,f,d,r),o=this.findAllWhen(s,e,t),l=[];for(let c=o.length-1;c>=0;c--){let u=o[c].slice(0,-1),f=V(a(this,L),[u]);l.push(Xr(a(this,D),f,"removeAllWhen",i))}return l})}async export(...s){try{let e=V(a(this,L),s),t=Ue(e,{global:async()=>await Pl(a(this,D)),path:async r=>await Pl(ge(a(this,D),r,a(this,ce)))});return Array.isArray(t)?await Promise.all(t):await t}catch(e){throw console.trace(`Failed to export state: ${e.message}`),e}}async import(s){try{let{data:e}=await Jh(s);return this.load(e),this}catch(e){throw console.trace(`Failed to import state: ${e.message}`),e}}reset(){Lh(a(this,D));for(let s of a(this,gr).values())s.reset&&s.reset();b(this,Z,h(this,pe,Fo).call(this)),b(this,L,yr([],this)),b(this,Et,0)}ref(...s){let e=V(a(this,L),s);return new br(a(this,D),e,a(this,Z),a(this,ce))}batch(s){return ao(this,Et)._++,h(this,pe,Yn).call(this,"onBatchStart",this.batching),s?(s(this),this.endBatch()):()=>this.endBatch()}endBatch(){return ao(this,Et)._--,a(this,Et)===0&&h(this,pe,Yn).call(this,"onBatchEnd"),this}},D=new WeakMap,L=new WeakMap,Et=new WeakMap,Z=new WeakMap,ce=new WeakMap,gr=new WeakMap,pe=new WeakSet,mr=function(s){return Array.isArray(s[0])?s[0]:s},Fo=function(){return(s,e,t=void 0,r=void 0,i)=>{h(this,pe,Yn).call(this,"onStateChange",s,Xh(s,e,t,r,i),this.batching)}},zl=function(){return s=>h(this,pe,Yn).call(this,"onStateAccess",s)},Yn=function(s,...e){for(let t of a(this,gr).values())typeof t[s]=="function"&&t[s](...e)},br);var _e,Rt,Xn,Wo,_l=(Rt=class extends te{constructor(){super(...arguments);m(this,_e,{})}setup({defineActions:e,defineGetters:t},r,i){var o,l;h(o=Rt,Xn,Wo).call(o,i.state)?b(this,_e,i.state):b(this,_e,Uo.create(i.state||{})),i.plugins?.length&&!h(l=Rt,Xn,Wo).call(l,i.state)&&a(this,_e).install(...i.plugins),e(()=>{let c={},u=Object.getOwnPropertyNames(Object.getPrototypeOf(a(this,_e))).filter(f=>f!=="constructor"&&typeof a(this,_e)[f]=="function");for(let f of u)c[f]=(...d)=>a(this,_e)[f](...d);return c}),t(()=>{let c={instance:()=>a(this,_e)};for(let u of Object.keys(a(this,_e)))c[u]=()=>a(this,_e)[u];return c})}},_e=new WeakMap,Xn=new WeakSet,Wo=function(e){return e instanceof Uo||e&&typeof e=="object"&&typeof e.get=="function"&&typeof e.ref=="function"},m(Rt,Xn),k(Rt,"manifest",{name:"JucieState",namespace:"state",version:"1.0.0",description:"Reactive state tree as an engine service",defaults:{plugins:[],state:{}}}),Rt);function ef(n){return typeof window<"u"&&window.requestIdleCallback?window.requestIdleCallback(n,{timeout:100}):typeof window<"u"?window.requestAnimationFrame?window.requestAnimationFrame(()=>{setTimeout(n,0)}):setTimeout(n,0):(typeof n=="function"&&n(),null)}var tf=class{constructor(){this.roots=new Map,this.pending=new Set,this.onCompleteCallbacks=new Set,this.onNextIdle=new Set,this.idleScheduled=!1}markAsDirty(n){if(!n.isDirty&&(n.isDirty=!0,n.isAsync||n.immediate||n.effects&&n.effects.size>0?this.scheduleRecomputation(n):(this.onNextIdle.add(n),this.idleScheduled||(this.idleScheduled=!0,ef(()=>{for(let s of this.onNextIdle)this.pending.add(s);this.flush(null),this.onNextIdle.clear(),this.idleScheduled=!1}))),n.dependants&&n.dependants.size>0)){let s=[],e=new Set;n.dependants.forEach(t=>{let r=t.deref();r?(this.markAsDirty(r),e.add(r.id)):s.push(t)}),s.forEach(t=>n.dependants.delete(t)),n.dependantIds=e}}scheduleRecomputation(n){if(!n.debounce)return this.recompute(n);let s=Date.now(),e=n.lastComputeTime?s-n.lastComputeTime:1/0;return!n.hasPendingDebounce||e>=n.debounce?(clearTimeout(n.debounceTimer),n.hasPendingDebounce=!0,n.lastComputeTime=s,n.debounceTimer=setTimeout(()=>{n.hasPendingDebounce=!1,n.debounceTimer=null},n.debounce),this.recompute(n)):n.cachedValue}removeReactive(n){this.pending.delete(n),this.onNextIdle.delete(n)}recompute(n){return this.pending.add(n),this.flush(n)}flush(n){let s=Array.from(this.pending);this.pending.clear();let e=this.sortByDependencies(s);for(let t of e)this.onNextIdle.delete(t),t.compute();for(let t of this.onCompleteCallbacks)try{t()}catch(r){console.error("Error in batch completion callback:",r)}if(n)return e.includes(n)||n.compute(),n.cachedValue}sortByDependencies(n){let s=[],e=new Set,t=new Set,r=i=>{if(t.has(i)||e.has(i))return;t.add(i);let o=i.dependants;o&&o.size>0&&o.forEach(l=>{let c=l.deref();c&&n.includes(c)&&r(c)}),t.delete(i),e.add(i),s.unshift(i)};for(let i of n)e.has(i)||r(i);return s}},zo=Symbol.for("@jucie.io/reactive/system");globalThis[zo]||(globalThis[zo]={computationManager:new tf,awaitingRecomputation:new Set,reactives:new WeakMap,subscribers:new Set,currentlyComputing:null,computationStack:[],currentDepth:0,effectsCache:new Set,processingEffects:!1,_nextId:1,config:{maxDepth:2e3},ctx:{}});var W=class C{static get system(){return globalThis[zo]}static nextId(){return C.system._nextId++}static addReactive(s,e){C.system.reactives.set(s,e),C.system.subscribers.add(s)}static addSubscriber(s,e){return C.system.reactives.set(s,e),C.system.subscribers.add(s),()=>C.removeSubscriber(s)}static removeSubscriber(s){C.system.subscribers.delete(s),C.system.reactives.delete(s)}static addContext(s,e){if(!s||typeof s!="string")throw new Error("Invalid context key");if(typeof e>"u")throw new Error("Invalid context value");if(s in C.system.ctx)throw new Error("Context key already exists");C.system.ctx[s]=e}static useContext(s){if(!s||s.length===0)return C.system.ctx;if(s.length===1)return C.system.ctx[s[0]];let e=new Array(s.length);for(let t=0;t<s.length;t++)e[t]=C.system.ctx[s[t]];return e}static hasContext(s){if(!s||s.length===0)return Object.keys(C.system.ctx).length>0;if(s.length===1)return s[0]in C.system.ctx;for(let e of s)if(!(e in C.system.ctx))return!1;return!0}static clearContext(){C.system.ctx={}}static resetSystem(){C.system.awaitingRecomputation.clear(),C.system.currentlyComputing=null,C.system.computationStack=[],C.system.currentDepth=0,C.system.effectsCache.clear(),C.system.processingEffects=!1,C.system.ctx={}}static addDependant(s,e){let t=C.system.reactives.get(s);t&&(t.dependants.add(new WeakRef(e)),t.dependantIds.add(e.id))}static addEffect(s,e){let t=C.system.reactives.get(s);return t.isDirty&&C.system.computationManager.scheduleRecomputation(t),t.effects||(t.effects=new Set),t.effects.add(e),C.system.subscribers.add(s),()=>C.removeEffect(s,e)}static removeEffect(s,e){let t=C.system.reactives.get(s);C.system.subscribers.delete(s),t&&t.effects&&t.effects.delete(e)}static addOnDirtyListener(s,e){let t=C.system.reactives.get(s);return t.dirtyListeners||(t.dirtyListeners=new Set),t.dirtyListeners.add(e),()=>C.removeOnDirtyListener(s,e)}static removeOnDirtyListener(s,e){let t=C.system.reactives.get(s);t?.dirtyListeners&&t.dirtyListeners.delete(e)}static processEffectsCache(){let s=new Set(C.system.effectsCache);C.system.effectsCache.clear();for(let e of s)try{(e.effects||new Set).forEach(t=>{t&&t(e.cachedValue)})}catch(t){console.error(`Error in reactive ${e.id} effect:`,t)}C.system.effectsCache.size>0&&setTimeout(()=>{C.processEffectsCache()},0)}static destroy(s){C.system.subscribers.has(s)&&C.system.subscribers.delete(s);let e=C.system.reactives.get(s);e&&C.system.computationManager.removeReactive(e),C.system.reactives.delete(s)}constructor(){this.id=C.nextId(),this.isDirty=!0,this.dependants=new Set,this.dependantIds=new Set}begin(){C.system.awaitingRecomputation.has(this)&&C.system.awaitingRecomputation.delete(this);let s=C.system.computationStack.indexOf(this);if(s!==-1){let e=C.system.computationStack.slice(s).concat(this),t=new Error(`Circular dependency detected: ${e.map(r=>r).join(" -> ")}`);throw t.name="CircularDependencyError",t.displayed=!1,t}if(C.system.currentDepth>=C.system.config.maxDepth)throw new Error(`Maximum reactive depth of ${C.system.config.maxDepth} exceeded`);C.system.computationStack.push(this),C.system.currentlyComputing=this,C.system.currentDepth++}end(){C.system.computationStack.pop(),C.system.currentlyComputing=C.system.computationStack[C.system.computationStack.length-1]||null,C.system.currentDepth--}recompute(){return C.system.awaitingRecomputation.has(this)||C.system.awaitingRecomputation.add(this),C.system.computationManager.scheduleRecomputation(this)}callEffects(){C.system.effectsCache.add(this),C.system.processingEffects||(C.system.processingEffects=!0,setTimeout(()=>{C.processEffectsCache(),C.system.processingEffects=!1},0))}markAsDirty(){if(!this.isDirty){if(this.isDirty=!0,(this.immediate||this.effects&&this.effects.size>0)&&C.system.computationManager.scheduleRecomputation(this),this.dirtyListeners?.size>0)for(let t of this.dirtyListeners)t();let s=[],e=new Set;this.dependants.forEach(t=>{let r=t.deref();r?(r.markAsDirty(),e.add(r.id)):s.push(t)}),s.forEach(t=>this.dependants.delete(t)),this.dependantIds=e}}},Kl=n=>{if(pi(n)){let s=W.system.reactives.get(n);if(s)return s.markAsDirty()}},pi=n=>W.system.reactives.has(n),ql=n=>pi(n)&&W.system.reactives.get(n)?.isDirty||!1,rt=(n,s)=>{if(!pi(n))throw new Error("Invalid effect getter");if(!s||typeof s!="function")throw new Error("Invalid effect function");return W.addEffect(n,s)};var Jl=(n,s)=>{if(!pi(n))throw new Error("Invalid onDirty getter");if(!s||typeof s!="function")throw new Error("Invalid onDirty listener");return W.addOnDirtyListener(n,s)};var hi,Ql,en,Yl=(en=class extends W{constructor(e,t={}){if(t.context&&typeof t.context!="function")throw new Error("Computed context must be a function");super();m(this,hi);this.fn=e,this.effects=new Set(Array.isArray(t.effects)?t.effects:[]),this.cachedValue=t.initialValue||void 0,this.isDirty=t.initialValue===void 0,this.debounce=t.debounce||0,this.onAccess=t.onAccess||void 0,this.detached=t.detached||!1,this.immediate=t.immediate||!1,this.useContext=t.context||(W.hasContext()?()=>W.useContext():()=>{}),this.lastComputeTime=void 0,this.hasPendingDebounce=!1,this.debounceTimer=void 0,this.computationId=0,this.getter=h(this,hi,Ql).bind(this),this.immediate&&this.compute()}static create(e,t={}){let r=new en(e,t);return W.addReactive(r.getter,r),r.getter}compute(){this.begin();try{let e=this.useContext?this.useContext():void 0;return this.cachedValue=this.fn(e,this.cachedValue),this.isDirty=!1,this.cachedValue}finally{this.end(),this.callEffects()}}},hi=new WeakSet,Ql=function(){try{return!this.detached&&W.system.currentlyComputing&&W.system.currentlyComputing!==this&&!this.dependantIds.has(W.system.currentlyComputing.id)&&(this.dependantIds.add(W.system.currentlyComputing.id),this.dependants.add(new WeakRef(W.system.currentlyComputing))),this.isDirty?this.recompute():this.cachedValue}catch(e){throw e}finally{this.onAccess&&this.onAccess(this.cachedValue)}},en),je=(n,s={})=>Yl.create(n,s),rf=n=>{Zl(n)&&W.destroy(n)},Zl=n=>{let s=W.system.reactives.get(n);return s?s instanceof Yl:!1};var nf=["push","pop","shift","unshift","splice","sort","reverse","fill","copyWithin"],li=Symbol("reactiveValue");function sf(n){if(n===null||typeof n!="object"||Array.isArray(n))return!1;let s=Object.getPrototypeOf(n);return s===Object.prototype||s===null}function of(n,s){if(n[li])return n;let e=!1;return new Proxy(n,{get(t,r){return r===li?!0:nf.includes(r)?(...i)=>{e=!0;let o=t[r](...i);return e=!1,s.markAsDirty(),o}:Reflect.get(t,r)},set(t,r,i){let o=Reflect.set(t,r,i);return e||s.markAsDirty(),o}})}function af(n,s){return n[li]?n:new Proxy(n,{get(e,t){return t===li?!0:Reflect.get(e,t)},set(e,t,r){let i=Reflect.set(e,t,r);return s.markAsDirty(),i},deleteProperty(e,t){let r=Reflect.deleteProperty(e,t);return s.markAsDirty(),r}})}function Vl(n,s){return Array.isArray(n)?of(n,s):sf(n)?af(n,s):n}var fi,ec,tn,Xl=(tn=class extends W{constructor(e,t={}){super();m(this,fi);this.cachedValue=void 0,this.roots=new Set,this.effects=new Set(Array.isArray(t.effects)?t.effects:[]),this.debounce=t.debounce||0,this.onAccess=t.onAccess||null,this.detached=t.detached||!1,this.immediate=t.immediate||!1,this.pendingChange=Vl(e,this),this.lastComputeTime=null,this.hasPendingDebounce=!1,this.debounceTimer=null,this.getter=(...r)=>h(this,fi,ec).call(this,...r)}static create(e,t={}){let r=new tn(e,t);return W.addReactive(r.getter,r),r.getter}compute(){this.begin();try{return this.pendingChange!==void 0&&(this.cachedValue=this.pendingChange,this.pendingChange=void 0),this.isDirty=!1,this.cachedValue}finally{this.end(),this.callEffects()}}},fi=new WeakSet,ec=function(...e){try{if(!this.detached&&W.system.currentlyComputing&&W.system.currentlyComputing!==this&&!this.dependantIds.has(W.system.currentlyComputing.id)&&(this.dependantIds.add(W.system.currentlyComputing.id),this.dependants.add(new WeakRef(W.system.currentlyComputing))),e.length>0){let t=e[0],r=typeof t=="function"?t(this.cachedValue):t;this.pendingChange=Vl(r,this),this.markAsDirty();return}return this.isDirty?this.recompute():this.cachedValue}catch(t){throw t}finally{this.onAccess&&this.onAccess(this.cachedValue)}},tn),ci=(n,s={})=>Xl.create(n,s);var lf=n=>{let s=W.system.reactives.get(n);return s?s instanceof Xl:!1};var cf=class tc extends W{static create(s,e,t={}){let r=new tc(s,e,t);return W.system.reactives.set(r.getter,r),W.system.subscribers.add(r.getter),()=>W.destroy(r.getter)}constructor(s,e,t={}){super(),this.getter=s,this.isDirty=!1,this.subscriber=e,this.debounce=t.debounce||0,this.onAccess=t.onAccess||null,this.immediate=!0,this.hasPendingDebounce=!1,this.lastComputeTime=null,this.debounceTimer=null,this.begin(),this.cachedValue=this.getter(),this.subscriber(this.cachedValue),this.end()}compute(){try{this.cachedValue=this.getter(),this.subscriber(this.cachedValue),this.isDirty=!1}catch(s){throw s}}},rc=(n,s,e={})=>cf.create(n,s,e);var uf=n=>typeof n=="function"&&(n.constructor.name==="AsyncFunction"||n.constructor.name==="AsyncGeneratorFunction"),di,sc,rn,nc=(rn=class extends W{constructor(e,t=[],r={}){if(r.context&&typeof r.context!="function")throw new Error("Binding context must be a function");super();m(this,di);this.fn=e,this.isAsync=uf(e),this.pendingResolve=void 0,this.effects=new Set(Array.isArray(r.effects)?r.effects:[]),this.cachedValue=r.initialValue||void 0,this.isDirty=r.initialValue===void 0,this.debounce=r.debounce||0,this.onAccess=r.onAccess||void 0,this.detached=r.detached||!1,this.immediate=r.immediate||!1,this.useContext=r.context||(W.hasContext()?()=>W.useContext():()=>{}),this.resolvers=[],this.rejectors=[],this.lastComputeTime=void 0,this.hasPendingDebounce=!1,this.debounceTimer=void 0,this.computationId=0,this.getter=h(this,di,sc).bind(this);for(let i of t)W.addDependant(i,this);this.immediate&&this.compute()}static create(e,t=[],r={}){let i=new rn(e,t,r);return W.addReactive(i.getter,i),i.getter}compute(){try{if(!this.isAsync){let r=this.useContext?this.useContext():void 0;return this.cachedValue=this.fn(r,this.cachedValue),this.isDirty=!1,this.cachedValue}this.computationId=(this.computationId||0)+1;let e=this.computationId,t=this.useContext?this.useContext():void 0;return this.pendingResolve=this.fn(t,this.cachedValue),this.pendingResolve.then(r=>(this.computationId===e&&(this.resolvers.forEach(i=>i(r)),this.resolvers=[],this.cachedValue=r,this.isDirty=!1),r)).catch(r=>{this.computationId===e&&(this.rejectors.forEach(i=>i(r)),this.rejectors=[])}).finally(()=>{this.pendingResolve=null,this.computationId===e&&this.callEffects()}),this.cachedValue=new Promise((r,i)=>{this.resolvers.push(r),this.rejectors.push(i)}),this.cachedValue}finally{this.isAsync||this.callEffects()}}},di=new WeakSet,sc=function(){try{return!this.detached&&W.system.currentlyComputing&&W.system.currentlyComputing!==this&&!this.dependantIds.has(W.system.currentlyComputing.id)&&(this.dependantIds.add(W.system.currentlyComputing.id),this.dependants.add(new WeakRef(W.system.currentlyComputing))),this.isDirty?this.recompute():this.isAsync?Promise.resolve(this.cachedValue):this.cachedValue}catch(e){throw e}finally{this.onAccess&&this.onAccess(this.cachedValue)}},rn),hf=(n,s=[],e={})=>nc.create(n,s,e);var ff=n=>{let s=W.system.reactives.get(n);return s?s instanceof nc:!1};var es=[null,null,(n,s)=>n?.[s[0]]?.[s[1]],(n,s)=>n?.[s[0]]?.[s[1]]?.[s[2]],(n,s)=>n?.[s[0]]?.[s[1]]?.[s[2]]?.[s[3]],(n,s)=>n?.[s[0]]?.[s[1]]?.[s[2]]?.[s[3]]?.[s[4]],(n,s)=>n?.[s[0]]?.[s[1]]?.[s[2]]?.[s[3]]?.[s[4]]?.[s[5]],(n,s)=>n?.[s[0]]?.[s[1]]?.[s[2]]?.[s[3]]?.[s[4]]?.[s[5]]?.[s[6]],(n,s)=>n?.[s[0]]?.[s[1]]?.[s[2]]?.[s[3]]?.[s[4]]?.[s[5]]?.[s[6]]?.[s[7]]];function df(n){let s="obj"+Array.from({length:n},(t,r)=>`?.[path[${r}]]`).join(""),e=new Function("obj","path",`return ${s}`);return es[n]=e,e}function pf(n,s){let e=s.length;return e===0?n:e===1?n[s[0]]:e<es.length&&es[e]||es[e]?es[e](n,s):df(e)(n,s)}function ee(n){return typeof n=="number"?[]:{}}var ui=[null,null,(n,s,e)=>{let[t,r]=s;return n[t]=t in n?n[t]:ee(r),n[t][r]=e,e},(n,s,e)=>{let[t,r,i]=s;return n[t]=t in n?n[t]:ee(r),n[t][r]=r in n[t]?n[t][r]:ee(i),n[t][r][i]=e,e},(n,s,e)=>{let[t,r,i,o]=s;return n[t]=t in n?n[t]:ee(r),n[t][r]=r in n[t]?n[t][r]:ee(i),n[t][r][i]=i in n[t][r]?n[t][r][i]:ee(o),n[t][r][i][o]=e,e},(n,s,e)=>{let[t,r,i,o,l]=s;return n[t]=t in n?n[t]:ee(r),n[t][r]=r in n[t]?n[t][r]:ee(i),n[t][r][i]=i in n[t][r]?n[t][r][i]:ee(o),n[t][r][i][o]=o in n[t][r][i]?n[t][r][i][o]:ee(l),n[t][r][i][o][l]=e,e},(n,s,e)=>{let[t,r,i,o,l,c]=s;return n[t]=t in n?n[t]:ee(r),n[t][r]=r in n[t]?n[t][r]:ee(i),n[t][r][i]=i in n[t][r]?n[t][r][i]:ee(o),n[t][r][i][o]=o in n[t][r][i]?n[t][r][i][o]:ee(l),n[t][r][i][o][l]=l in n[t][r][i][o]?n[t][r][i][o][l]:ee(c),n[t][r][i][o][l][c]=e,e},(n,s,e)=>{let[t,r,i,o,l,c,u]=s;return n[t]=t in n?n[t]:ee(r),n[t][r]=r in n[t]?n[t][r]:ee(i),n[t][r][i]=i in n[t][r]?n[t][r][i]:ee(o),n[t][r][i][o]=o in n[t][r][i]?n[t][r][i][o]:ee(l),n[t][r][i][o][l]=l in n[t][r][i][o]?n[t][r][i][o][l]:ee(c),n[t][r][i][o][l][c]=c in n[t][r][i][o][l]?n[t][r][i][o][l][c]:ee(u),n[t][r][i][o][l][c][u]=e,e},(n,s,e)=>{let[t,r,i,o,l,c,u,f]=s;return n[t]=t in n?n[t]:ee(r),n[t][r]=r in n[t]?n[t][r]:ee(i),n[t][r][i]=i in n[t][r]?n[t][r][i]:ee(o),n[t][r][i][o]=o in n[t][r][i]?n[t][r][i][o]:ee(l),n[t][r][i][o][l]=l in n[t][r][i][o]?n[t][r][i][o][l]:ee(c),n[t][r][i][o][l][c]=c in n[t][r][i][o][l]?n[t][r][i][o][l][c]:ee(u),n[t][r][i][o][l][c][u]=u in n[t][r][i][o][l][c]?n[t][r][i][o][l][c][u]:ee(f),n[t][r][i][o][l][c][u][f]=e,e}];function mf(n){let s=Array.from({length:n},(i,o)=>`v${o}`),e=`const [${s.join(", ")}] = path;
|
|
5
|
+
`,t="state";for(let i=0;i<n-1;i++){let o=s[i],l=s[i+1];e+=`${t}[${o}] = (${t}[${o}] !== undefined && typeof ${t}[${o}] === 'object') ? ${t}[${o}] : createNodeType(${l});
|
|
6
|
+
`,t+=`[${o}]`}e+=`${t}[${s[n-1]}] = value;
|
|
7
|
+
return state;`;let r=new Function("state","path","value","createNodeType",e);return ui[n]=(i,o,l)=>r(i,o,l,ee),ui[n]}function Hl(n,s,e){let t=s.length;return t===0?Object.assign(n,e):t===1?n[s[0]]=e:ui[t]?ui[t](n,s,e):mf(t)(n,s,e)}var si=Symbol(),Gl=Symbol("store-instance"),we,xr,Ut,Wt,F,ic,oc,ac,lc,cc,ii,_o,uc,Vo,Ho,hc,oi,ai,fc,Go,dc,pc,mc,yc,Ko=(we=class{constructor(s={}){m(this,F);m(this,xr,new Set);m(this,Ut,new Set);m(this,Wt,new Set);this.options=s,this.setupFn=null,this.subscribers=new Set,this.subscribersQueued=!1,this.destroyCallback=null,this.actions=new Set,this.extensions=new Set,this.snapshotCache=si,this.store=h(this,F,Ho).call(this),this.useStore=()=>this.store}static registerPlugin(s,e){if(we.plugins.has(s))throw new Error(`Plugin "${s}" already registered`);we.plugins.set(s,e())}static resetPlugins(){we.plugins.clear()}static create(s,e={}){let t=new we(e),r=t.setup(s);return we.stores.set(r,t),r}static createPlugin(s,e,t={}){let r=we.create(e,t);return we.registerPlugin(s,r),r}setup(s){if(s=s??this.setupFn,!s)return null;this.setupFn=s,this.reset();try{let e;if(typeof s=="function")e=h(this,F,oc).call(this,s);else if(typeof s=="object"&&s!==null)e=h(this,F,lc).call(this,s);else throw new Error("setupFn must be a function or object configuration");return h(this,F,yc).call(this,e),h(this,F,Vo).call(this),h(this,F,hc).call(this),this.useStore}catch(e){throw console.error("Error in setup function",e),e}}reset(){this.subscribers.clear(),this.subscribersQueued=!1,this.actions.clear(),this.extensions.clear(),this.snapshotCache=si,a(this,Ut).clear(),a(this,Wt).clear(),this.store=h(this,F,Ho).call(this)}createAction(s){let e=s.bind(this.store);return this.actions.add(e),e}extend(s){if(!s)throw new Error("No source store provided");if(!wc(s))throw new Error("Cannot extend non-store");let e=s();if(e===this.store)throw new Error("Store cannot extend itself");if(h(this,F,ic).call(this,e))throw new Error("Circular store dependency detected");return this.extensions.add(e),e}},xr=new WeakMap,Ut=new WeakMap,Wt=new WeakMap,F=new WeakSet,ic=function(s){let e=new Set,t=[s];for(;t.length;){let r=t.pop();if(e.has(r))continue;e.add(r);let i=r[Gl];if(i)for(let o of i.extensions){if(o===this.store)return!0;t.push(o)}}return!1},oc=function(s){return s({signal:(e=void 0)=>ci(e),computed:(e=()=>{})=>je(e,{context:()=>this.store}),binding:(e=()=>{},t=[])=>hf(e,t,{context:()=>this.store}),action:(e=()=>{})=>this.createAction(e),extend:e=>this.extend(e),destroy:()=>h(this,F,Go).call(this),...Object.fromEntries(we.plugins.entries())})||{}},ac=function(s,e,t){if(typeof s!="object"||s===null)return typeof s=="function"?s():s;if(!("default"in s))return e&&"dummy"in s&&console.warn(`State "${t}" has dummy value but no default value`),typeof s=="function"?s():s;let r=e&&"dummy"in s?s.dummy:s.default;return typeof r=="function"?r():r},lc=function(s){let e={},t=this.options.mode==="development"||this.options.mode==="dev";if(s.extend&&Array.isArray(s.extend))for(let r of s.extend)this.extend(r);if(s.state&&typeof s.state=="object")for(let[r,i]of Object.entries(s.state)){let o=h(this,F,ac).call(this,i,t,r);e[r]=ci(o)}if(s.computed&&typeof s.computed=="object")for(let[r,i]of Object.entries(s.computed))typeof i=="function"&&(e[r]=je(i,{context:()=>this.store}));if(s.actions&&typeof s.actions=="object")for(let[r,i]of Object.entries(s.actions))typeof i=="function"&&(e[r]=this.createAction(i));return s.onInit&&typeof s.onInit=="function"&&Promise.resolve().then(()=>{try{s.onInit(this.store)}catch(r){console.error("Error in onInit callback",r)}}),s.onDestroy&&typeof s.onDestroy=="function"&&(this.destroyCallback=s.onDestroy),e},cc=function(){return[()=>h(this,F,ii).call(this),s=>h(this,F,_o).call(this,s)]},ii=function(){if(this.snapshotCache!==si)return this.snapshotCache;let s=Object.create(Object.getPrototypeOf(this.store));return Object.defineProperties(s,Object.getOwnPropertyDescriptors(this.store)),this.snapshotCache=Object.freeze(s),this.snapshotCache},_o=function(s){return this.subscribers.add(s),()=>this.subscribers.delete(s)},uc=function(s){for(let e of this.subscribers)e(s)},Vo=function(){this.subscribers.size===0||this.subscribersQueued||(this.subscribersQueued=!0,Promise.resolve().then(()=>{this.subscribersQueued=!1,this.snapshotCache=si,h(this,F,uc).call(this,h(this,F,ii).call(this))}))},Ho=function(s=Object.create(null)){return Object.defineProperty(s,Gl,{value:this,writable:!1,enumerable:!1,configurable:!1}),Object.defineProperty(s,"$get",{value:e=>h(this,F,dc).call(this,e),writable:!1,enumerable:!1,configurable:!1}),Object.defineProperty(s,"$set",{value:(e,t)=>h(this,F,pc).call(this,e,t),writable:!1,enumerable:!1,configurable:!1}),Object.defineProperty(s,"$dispatch",{value:e=>h(this,F,mc).call(this,e),writable:!1,enumerable:!1,configurable:!1}),Object.defineProperty(s,"$inject",{value:e=>Object.assign({},this.store,e),writable:!1,enumerable:!1,configurable:!1}),Object.defineProperty(s,"$snapshot",{value:()=>h(this,F,ii).call(this),writable:!1,enumerable:!1,configurable:!1}),Object.defineProperty(s,"$subscribe",{value:e=>h(this,F,_o).call(this,e),writable:!1,enumerable:!1,configurable:!1}),Object.defineProperty(s,"$adapter",{value:()=>h(this,F,cc).call(this),writable:!1,enumerable:!1,configurable:!1}),Object.defineProperty(s,"$destroy",{value:()=>h(this,F,Go).call(this),writable:!1,enumerable:!1,configurable:!1}),Object.defineProperty(s,"$onRefresh",{value:e=>h(this,F,fc).call(this,e),writable:!1,enumerable:!1,configurable:!1}),Object.defineProperty(s,"$onAccess",{value:e=>(a(this,Wt).add(e),()=>a(this,Wt).delete(e)),writable:!1,enumerable:!1,configurable:!1}),Object.defineProperty(s,"$onChange",{value:e=>(a(this,Ut).add(e),()=>a(this,Ut).delete(e)),writable:!1,enumerable:!1,configurable:!1}),s},hc=function(){if(a(this,xr).size!==0)for(let s of a(this,xr))s(this.store)},oi=function(s,e){if(a(this,Wt).size!==0)for(let t of a(this,Wt))t(s,e)},ai=function(s,e){if(a(this,Ut).size>0)for(let t of a(this,Ut))t(s,e);h(this,F,Vo).call(this)},fc=function(s){return a(this,xr).add(s),()=>a(this,xr).delete(s)},Go=function(){if(this.destroyCallback&&typeof this.destroyCallback=="function")try{this.destroyCallback(this.store)}catch(e){console.error("Error in onDestroy callback",e)}let s=this.storeComputed;this.storeComputed=null,we.stores.delete(s),rf(s)},dc=function(s=[]){return pf(this.store,s)},pc=function(s,e){s=s.slice();let t=s.shift();if(!(t in this.store))return this.store;if(s.length===0)return this.store[t]=e,this.store;let r=this.store[t];if(r==null){let i=typeof s[0]=="number"?[]:{};Hl(i,s,e),this.store[t]=i}else if(typeof r=="object")Hl(r,s,e),this.store[t]=r;else return console.warn(`[Store] Cannot set nested path on "${t}": expected object or array, got ${typeof r}`),this.store;return this.store},mc=function(s,...e){let t=this.actions.has(s)?this.actions.get(s):this.store[s];return typeof t=="function"?t(...e):this.storeComputed()},yc=function(s={}){let e=Object.keys(this.store);for(;e.length>0;){let r=e.shift();r in this.store&&delete this.store[r]}for(let[r,i]of we.plugins)Object.defineProperty(this.store,r,{value:i});for(let r of this.extensions){let i=Object.getOwnPropertyDescriptors(r),o=Object.fromEntries(Object.entries(i).filter(([l])=>!l.startsWith("$")));Object.defineProperties(this.store,o)}let t=Object.entries(s);for(let[r,i]of t){if(lf(i)){rt(i,o=>h(this,F,ai).call(this,r,o)),Object.defineProperty(this.store,r,{get:()=>{let o=i();return h(this,F,oi).call(this,r,o),o},set:o=>i(o),enumerable:!0});continue}if(Zl(i)){rt(i,o=>h(this,F,ai).call(this,r,o)),Object.defineProperty(this.store,r,{get:()=>{let o=i();return h(this,F,oi).call(this,r,o),o},enumerable:!0});continue}if(ff(i)){rt(i,o=>h(this,F,ai).call(this,r,o)),Object.defineProperty(this.store,r,{get:()=>{let o=i();return h(this,F,oi).call(this,r,o),o},enumerable:!0});continue}if(this.actions.has(i)){Object.defineProperty(this.store,r,{value:i,enumerable:!0});continue}this.store[r]=i}return this.store},k(we,"stores",new WeakMap),k(we,"plugins",new Map),we),gc=(...n)=>Ko.create(...n),bc=n=>{if(wc(n)){let s=Ko.stores.get(n);s&&s.setup()}};var wc=n=>Ko.stores.has(n);var nn,sn,on,an,ve,mi,yi,gi,xc,ts=class extends te{constructor(){super(...arguments);m(this,ve);m(this,nn,new Set);m(this,sn,new Set);m(this,on,new Set);m(this,an,!1)}actions(e,t){return{notifyMount:r=>{a(this,nn).add(r),h(this,ve,gi).call(this)},notifyUpdate:r=>{a(this,sn).add(r),h(this,ve,gi).call(this)},notifyUnmount:r=>{console.log("notifyUnmount",r),a(this,on).add(r),h(this,ve,gi).call(this)},invokeBeforeMount:(r,i)=>{if(t.view==="design")return;let o=r.lifecycleHooks?.beforeMount;if(!o)return;let l=i?.scope?.()??null;return h(this,ve,mi).call(this,o,l)},invokeBeforeUnmount:r=>{if(t.view==="design")return;let i=r.lifecycleHooks?.beforeUnmount;if(i)for(let o of r.puppets){let l=o.scope?.()??null;h(this,ve,mi).call(this,i,l,o.$el)}}}}};nn=new WeakMap,sn=new WeakMap,on=new WeakMap,an=new WeakMap,ve=new WeakSet,mi=function(e,t,r){if(e)try{let i=Array.isArray(e)?t?.$get(e):e;typeof i=="function"&&i(t,r)}catch(i){console.error("Error invoking lifecycle hook",i)}},yi=function(e,t){let i=this.inject("registry").getPuppet(e),o=i?.actor;if(o?.app?.config?.view==="design")return;let l=o?.lifecycleHooks?.[t];if(!l)return;let c=i.scope?.()??null,u=t==="onUnmount"?void 0:i.$el;h(this,ve,mi).call(this,l,c,u)},gi=function(){a(this,an)||(b(this,an,!0),setTimeout(()=>{h(this,ve,xc).call(this),b(this,an,!1)},0))},xc=function(){let e=this.inject("relay"),t=Array.from(a(this,nn)),r=Array.from(a(this,sn)),i=Array.from(a(this,on));a(this,nn).clear(),a(this,sn).clear(),a(this,on).clear();let o=new Set(t),l=r.filter(c=>!o.has(c));e.broadcast("scene:change",t,l,i),e.broadcast("scene:unmount",i),e.broadcast("scene:mount",t),e.broadcast("scene:update",l);for(let c of t)h(this,ve,yi).call(this,c,"onMount");for(let c of l)h(this,ve,yi).call(this,c,"onUpdate");for(let c of i)h(this,ve,yi).call(this,c,"onUnmount")},k(ts,"manifest",{name:"Lifecycle",namespace:"lifecycle"});var qo=new Map,Jo=Object.getPrototypeOf(async function(){}).constructor;function ln(n){return n.split(",").map(s=>s.trim()).filter(Boolean)}function zt(n){let s=null,e=null,t=null;try{if(!n||typeof n!="string")return null;if(qo.has(n))return qo.get(n);let r=n.match(/^async\s+function\s*\(([^)]*)\)\s*{([\s\S]*)}$/);if(r)t=ln(r[1]),e=r[2],s=new Jo(...t,e);else if(r=n.match(/^async\s*\(([^)]*)\)\s*=>\s*{([\s\S]*)}$/),r)t=ln(r[1]),e=r[2],s=new Jo(...t,e);else if(r=n.match(/^async\s*\(([^)]*)\)\s*=>\s*(.+)$/),r)t=ln(r[1]),e=`return ${r[2]};`,s=new Jo(...t,e);else if(r=n.match(/^function\s*\(([^)]*)\)\s*{([\s\S]*)}$/),r)t=ln(r[1]),e=r[2],s=new Function(...t,e);else if(r=n.match(/^\(([^)]*)\)\s*=>\s*{([\s\S]*)}$/),r)t=ln(r[1]),e=r[2],s=new Function(...t,e);else if(r=n.match(/^\(([^)]*)\)\s*=>\s*(.+)$/),r)t=ln(r[1]),e=`return ${r[2]};`,s=new Function(...t,e);else if(r=n.match(/^(\w+)\s*=>\s*(.+)$/),r)t=[r[1].trim()],e=`return ${r[2]};`,s=new Function(...t,e);else throw new Error("Invalid function string - must be traditional function, async function, or arrow function");return qo.set(n,s),s}catch(r){return console.error("Error creating function from:",n),console.error("Error:",r.message),null}}var ft,bi=class{constructor(s,e,{node:t,styleScope:r,parentId:i=null}={}){m(this,ft,new Set);k(this,"cleanupFns",new Set);k(this,"ref",null);k(this,"styleScope",null);k(this,"dependants",new Set);k(this,"app",null);k(this,"runtime",null);k(this,"parentId",null);if(this.app=s,this.runtime=s.runtime,this.id=e,this.node=t,this.parentId=i,this.isInstance=t?.type==="instance",this.children=t?.children?.slice()??[],t?.bounds){let o=s.$el?.ownerDocument??(typeof document<"u"?document:null);this.styleScope=s.runtime.styleContext.createScope(this.id,o)}else this.styleScope=r??s.styleScope;this.styleScope?.register(this)}static create(s,e,t={}){return new this(s,e,t)}get puppetRids(){return a(this,ft)}get firstPuppetRid(){return a(this,ft).values().next().value??null}get puppets(){let s=[];for(let e of a(this,ft))s.push(this.runtime.registry.getPuppet(e));return s}addPuppet(s){a(this,ft).add(s)}removePuppet(s){a(this,ft).delete(s)}buildStyles(){this.styleScope?.update(this.id,this.node,this.isInstance)}render(){throw new Error("render not implemented")}addDependant(s){this.dependants.add(s);let e=()=>this.removeDependant(s);return this.addCleanupFn(e),e}removeDependant(s){this.dependants.delete(s)}update(s){this.node=s,this.styleScope?.update(this.id,s,this.isInstance);for(let e of a(this,ft))this.runtime.registry.getPuppet(e)?.markAsDirty?.()}destroy(){this.node?.bounds&&this.styleScope?this.runtime.styleContext.destroyScope(this.id):this.styleScope?.unregister(this.id);for(let s of[...a(this,ft)]){let e=this.runtime.registry.getPuppet(s);e&&e.destroy()}this.children.forEach(s=>{this.runtime.registry.getActor(s)?.destroy()}),this.runtime.registry.deleteActor(this.id),this.cleanupFns.forEach(s=>s()),this.cleanupFns.clear()}addCleanupFn(s){return this.cleanupFns.add(s),this}removeCleanupFn(s){return this.cleanupFns.delete(s),this}};ft=new WeakMap;var dt,pt,mt,Yo,xi,vi,Qo,nt,vr,Zo,cn,wi=class{constructor(){m(this,dt,new Map);m(this,pt,new Map);m(this,mt,new Map);m(this,Yo,null);m(this,xi,null);m(this,vi,null);m(this,Qo,new Map);m(this,nt,new Map);m(this,vr,!0);m(this,Zo,null);m(this,cn,null)}setShouldRender(s){b(this,vr,s)}getShouldRender(){return a(this,vr)}reconcileShouldRender(s,e){a(this,vr)!==s&&(b(this,vr,s),e?.())}getChild(s){return a(this,dt).get(s)??null}setChild(s,e){a(this,dt).set(s,e)}reconcileChildren(s){for(let e of a(this,dt).keys())s.includes(e)||a(this,dt).delete(e)}getSlotRids(){return[...a(this,mt).values()]}getSlotIds(){return[...a(this,mt).keys()]}getSlot(s){return a(this,mt).get(s)??null}setSlot(s,e){a(this,mt).set(s,e)}hasSlot(s){return a(this,mt).has(s)}hasSlots(){return a(this,mt).size>0}reconcileSlots(s){for(let e of this.getSlotIds())s.includes(e)||a(this,mt).delete(e)}getSlotChild(s,e){return a(this,pt).get(s)?.get(e)??null}setSlotChild(s,e,t){a(this,pt).has(s)||a(this,pt).set(s,new Map),a(this,pt).get(s).set(e,t)}reconcileSlot(s,e){let t=a(this,pt).get(s);if(t)for(let r of t.keys())e.includes(r)||t.delete(r)}getSlotParent(s){return a(this,cn)}setSlotParent(s,e){b(this,cn,e)}clearSlotParent(){b(this,cn,null)}getClone(s){return a(this,nt).get(s)??null}setClone(s,e){a(this,nt).set(s,e)}dropClone(s){a(this,nt).delete(s)}hasClone(s){return a(this,nt).has(s)}reconcileClones(s){for(let e of a(this,nt).keys())s.has(e)||a(this,nt).delete(e)}getChildrenRids(){return[...a(this,dt).values()]}getChildEntries(){return[...a(this,dt).entries()]}getSlotEntries(){return[...a(this,pt).entries()]}getCloneEntries(){return[...a(this,nt).entries()]}tracks(s){if(a(this,xi)===s||a(this,vi)===s)return!0;for(let e of a(this,dt).values())if(e===s)return!0;for(let e of a(this,pt).values())for(let t of e.values())if(t===s)return!0;for(let e of a(this,nt).values())if(e===s)return!0;return!1}};dt=new WeakMap,pt=new WeakMap,mt=new WeakMap,Yo=new WeakMap,xi=new WeakMap,vi=new WeakMap,Qo=new WeakMap,nt=new WeakMap,vr=new WeakMap,Zo=new WeakMap,cn=new WeakMap;var yf=n=>n?n.mode==="code"&&n.code?zt(n.code):n.mode==="binding"&&n.binding?n.binding:null:null;function Xo(n){if(!n||!n.length)return null;let s={};for(let e of n)s[e.key]=yf(e);return Object.keys(s).length?s:null}var un=new Map,gf=500;function bf(n){if(!n)return null;if(un.has(n))return un.get(n);let s=wf(n);if(un.size>=gf){let e=un.keys().next().value;un.delete(e)}return un.set(n,s),s}function wf(n){return function(e){if(e)try{let t=Object.keys(e),r=Object.values(e);return new Function(...t,`"use strict"; return (${n});`)(...r)}catch(t){console.warn("[Expression Error]",t.message),console.warn("[Expression]",n),console.warn("[Scope]",Object.keys(e));return}}}function rs(n,s={}){if(!n)return;let e=bf(n);return e?e(s):void 0}var Ai=new Map;function xf(n){let s=Array.isArray(n)?n.join("."):n;if(Ai.has(s))return Ai.get(s);try{let e=new Function("ctx",`
|
|
8
|
+
try {
|
|
9
|
+
return ctx.${s}
|
|
10
|
+
} catch (e) {
|
|
11
|
+
console.error('Error resolving binding:', '${s}', e.message);
|
|
12
|
+
return undefined;
|
|
13
|
+
}
|
|
14
|
+
`);return Ai.set(s,e),e}catch(e){console.error("Error compiling binding:",s,e.message);let t=()=>{};return Ai.set(s,t),t}}function hn(n,s){if(!n)return"";try{return xf(n)(s)}catch(e){console.error("Error resolving binding:",n,e.message);return}}function Si(n,s){return()=>{try{return n()}catch(e){return console.error("Descriptor error:",e),s}}}function Ct(n,s){let{mode:e,value:t,binding:r,computed:i,code:o,expression:l}=n;switch(e){case"binding":return Si(()=>hn(r,s),t);case"computed":{let c=zt(i);return c?Si(()=>c.call(s,s),t):()=>t}case"code":{let c=zt(o),u=c?c.bind(s,s):null;return Si(()=>u??t,t)}case"expression":return Si(()=>rs(l,s),t);case"value":default:return()=>t}}function vc(n,s){if(!n)return!0;try{return!!Ct(n,s)()}catch(e){return console.error("Error resolving render condition:",e),!!n.value}}var vf=new Set(["disabled","readonly","hidden","aria-disabled"]);function Ac(n){return vf.has(n)}function Af(n,s,e){if(n.has(s))return n.get(s);let t=Ct(s,e);return n.set(s,t),t}function ns(n,s,e){return n?Af(n,s,e):Ct(s,e)}function Sc(n,s){return n?e=>{n(e),s(e)}:s}function fn(n,s){let e={},t=n.actor.app.config?.view==="design",r=t?null:n._descriptorCache??(n._descriptorCache=new Map),i=n.actor.app.config?.framework;try{if(n.actor.node.events&&!t)for(let f of n.actor.node.events){if(!f.name)continue;let d=ns(r,f,s)();if(d){let x=f.name;i==="react"&&x==="onInput"&&(x="onChange"),e[x]=v=>{try{return d(v)}catch(O){console.error("Error in event handler",x,O)}}}}}catch(f){console.error("Error resolving events",f)}let o=null;try{if(n.actor.node.attributes){for(let f of n.actor.node.attributes)if(f.name&&!(t&&Ac(f.name))){if(f.name==="model"){o=f;continue}e[f.name]=ns(r,f,s)()}}}catch(f){console.error("Error resolving attributes",f)}try{let f=n.actor.node.tagName?.toLowerCase();if(f==="input"||f==="textarea"||f==="select"){let x=o?.binding??n.actor.node.model?.binding;if(x){let v=(e.type??"").toLowerCase(),O=`${f}:${v}`,T,J,ne,le;switch(O){case"input:checkbox":T="checked",J="onChange",ne=!!hn(x,s),le=se=>{try{s.$set(x,se.target.checked)}catch(B){console.error("Error in model binding (checkbox)",B)}};break;case"input:radio":T="checked",J="onChange",ne=hn(x,s)===e.value,le=se=>{try{s.$set(x,se.target.value)}catch(B){console.error("Error in model binding (radio)",B)}};break;default:T="value",J=i==="react"?"onChange":"onInput",ne=hn(x,s)??"",le=se=>{try{s.$set(x,se.target.value)}catch(B){console.error("Error in model binding",B)}}}e[T]=ne,e[J]=Sc(e[J],le)}else i==="react"&&("value"in e||"checked"in e)&&("value"in e&&e.value==null&&(e.value=""),e.onChange||(e.onChange=()=>{}))}}catch(f){console.error("Error resolving form controls",f)}try{if(n.actor.node.props&&n.actor.node.props.length>0)for(let f of n.actor.node.props){if(!f.name)continue;let d=ns(r,f,s)();d!=null&&(e[f.name]=d)}}catch(f){console.error("Error resolving props",f)}try{let f=[n.actor.id];if(n.actor.node.className&&n.actor.node.className.length>0)for(let d of n.actor.node.className){let x=ns(r,d,s)();x&&f.push(x)}e.className=f.join(" ")}catch(f){console.error("Error resolving className",f)}try{if(n.actor.node.destination){let f=n.actor.node.destination;switch(f.type){case"url":e.href=f.path,f.target&&(e.target=f.target),f.target==="_blank"&&(e.rel="noopener noreferrer");break;case"page":{e.href=f.id,t||(e.onClick=Sc(e.onClick,d=>{d.preventDefault(),s?.$router?.navigate(f.id,{replace:f.replace})}));break}}}}catch(f){console.error("Error resolving destination",f)}let l=n.actor.node[".interactionState"];if(t&&l&&l.length>0){let f=l[l.length-1];if(f.startsWith("&.")){let d=f.slice(2);e.className=e.className?`${e.className} ${d}`:d}else if(f.startsWith(".")){let d=f.slice(1);e.className=e.className?`${e.className} ${d}`:d}else if(f.startsWith(":")){let d=`force-${f.slice(1)}`;e.className=e.className?`${e.className} ${d}`:d}}try{if(n.actor.node.states&&!t)for(let f of n.actor.node.states){if(!f.name)continue;!!ns(r,f,s)()&&(e.className=e.className?`${e.className} ${f.name}`:f.name)}}catch(f){console.error("Error resolving states",f)}let c=n.actor.node?.type;if((c==="frame"||c==="component"||c==="viewport")&&t){let f=n.actor.node[".activeBreakpoint"],d=n.actor.node.breakpoints??[];if(f&&f!=="default"){let x=typeof f=="number"?f:parseInt(f,10),v=d.filter(O=>O.min<=x).map(O=>String(O.min));v.length>0&&(e["data-bp"]=v.join(" "))}}return n.ref&&(e.ref=n.ref),n.rid&&(e["data-rid"]=n.rid,e["data-node-id"]=n.actor.id,e.key=n.rid,n.actor.node.name&&(e["data-name"]=n.actor.node.name),n.actor.node.id&&(e.id=n.actor.node.id)),".editingTextContent"in n.actor.node&&n.actor.node[".editingTextContent"]&&(e.contentEditable="true",e.onClick=f=>{f.preventDefault(),f.stopPropagation()}),e["data-type"]=n.actor.node.type,e}function Ei(n,s,{ctx:e,instanceRid:t}={},r){let i=n.runtime.registry,o=n.actor.id,l=n.getChild(s),c=i.resolveActor(n.actor.app,s,{styleScope:n.actor.styleScope,parentId:o}),u=c&&i.resolvePuppet(c,l,{ctx:e,instanceRid:t},r);return u?.render?(n.setChild(s,u.rid),i.getNodeType(s)==="slot"&&t&&i.getPuppet(t)?.setSlot(s,u.rid),i.createElement(u.render,{key:u.rid})):null}function yt(n,s=null,{ctx:e,instanceRid:t}={}){if(s=s??n.actor.node.children,typeof s=="string")return s;let r=Array.isArray(s)?s:[];if(n.reconcileChildren(r),!r.length)return[];let i=[];for(let o of r){let l=Ei(n,o,{ctx:e,instanceRid:t});l&&i.push(l)}return i}function Sf(n){return n==null?[]:typeof n=="string"?n.trim()?[n.trim()]:[]:Array.isArray(n)?n.filter(s=>typeof s=="string"&&s.trim()).map(s=>s.trim()):[]}function Ec(n,s){let e=Sf(s),t=[];for(let r of n){let i=r.options?.type??"global",o=i==="global",l=i==="named"&&e.includes(r.name);if(!o&&!l)continue;let c={name:r.name,...r.options??{}},u=typeof r.fn=="function"?r.fn(c):[],f=Array.isArray(u)?u:[];t.push(...f)}return t}function Rc(n,s=[],e=null){if(!n)return e?[]:"";if(s.length===0)return e?[n]:n;if(e){let i=[],o="",l=0,c=0;for(;l<n.length;){let u=!1;for(let f of s)if(f.trigger instanceof RegExp){let d=n.slice(l).match(f.trigger);if(d&&d.index===0){o&&(i.push(o),o=""),i.push(f.render(d[0],d,e,c++)),l+=d[0].length,u=!0;break}}else{let d=typeof f.trigger=="string"?f.trigger.trim():"";if(d==="*"){o&&(i.push(o),o="");let x=n.slice(l);i.push(f.render(x,null,e,c++)),l=n.length,u=!0;break}if(d&&n.startsWith(d,l)){o&&(i.push(o),o="");let x=d,v=l+d.length;for(;v<n.length&&!/\s/.test(n[v]);)x+=n[v++];i.push(f.render(x,null,e,c++)),l=v,u=!0;break}}u||(o+=n[l++])}return o&&i.push(o),i}let t="",r=0;for(;r<n.length;){let i=!1;for(let o of s)if(o.trigger instanceof RegExp){let l=n.slice(r).match(o.trigger);if(l&&l.index===0){t+=o.render(l[0],l),r+=l[0].length,i=!0;break}}else{let l=typeof o.trigger=="string"?o.trigger.trim():"";if(l==="*"){let c=n.slice(r);t+=o.render(c,null),r=n.length,i=!0;break}if(l&&n.startsWith(l,r)){let c=l,u=r+l.length;for(;u<n.length&&!/\s/.test(n[u]);)c+=n[u++];t+=o.render(c,null),r=u,i=!0;break}}i||(t+=n[r++])}return t}function Cc(n,s=null,{ctx:e}={}){s=s??n.actor.node?.textContent;try{if(s===void 0)return null;let{specificPatterns:t}=s,i=n.actor.app.config?.view==="design"?null:n._descriptorCache??(n._descriptorCache=new Map),o=i?.has(s)?i.get(s):Ct(s,e);i&&!i.has(s)&&i.set(s,o);let l=o();if(n.actor.node[".editingTextContent"])return l;e&&typeof l=="string"&&l.includes("{{")&&(l=l.replace(/\{\{([^}]+)\}\}/g,(x,v)=>{try{return new Function("ctx",`return ctx.${v.trim()}`)(e)??""}catch{return""}}));let c=n.runtime.registry,u=c.getCreateElement(),f=c.hasPatterns()?c.getPatterns():null,d=f?.length?Ec(f,t):[];return u&&typeof l=="string"&&l.includes(`
|
|
15
|
+
`)&&(d=[{trigger:/^\n/,render:(x,v,O,T)=>O("br",{key:`br${T}`})},...d]),d.length?Rc(l,d,u):l}catch(t){console.error("Error resolving textContent",t)}}function $c(n,s,e){return n?.expression?rs(n.expression,{...e,item:s}):s[n?.value??n]}function kc(n,s=null,{ctx:e}={}){let{type:t,set:r,expression:i,valueKey:o,labelKey:l}=s??{},c=n.runtime.registry;if(t==="binding"&&i){let u=rs(i,e);return Array.isArray(u)?u.map((f,d)=>c.createElement("option",{value:$c(o,f,e),key:`d${d}`},$c(l,f,e))):[]}return r?.length?r.map((u,f)=>c.createElement("option",{value:u.value,key:`s${f}`},u.label)):[]}function Ri(n,{childrenType:s,textContent:e,options:t,children:r},{ctx:i,instanceRid:o}){switch(s){case null:case"none":return null;case"text":return Cc(n,e,{ctx:i});case"options":return kc(n,t,{ctx:i});case"*":case"children":default:return yt(n,r,{ctx:i,instanceRid:o})}}function Oc(n,s,{ctx:e,instanceRid:t}){let r={};for(let i of s)r[i.id]=Ri(n,i,{ctx:e,instanceRid:t});return r}function Pc(n,s){let e=s.library||"local",t=s.component,r=n.getComponent(e,t);if(r)return r;if((!s.library||s.library==="local")&&n.hasNode(t)){let o=({puppet:l,ctx:c,...u})=>{let f=n.getNodeChildren(t);return f?.length?f.length===1?Ei(l,f[0],{ctx:c,instanceRid:l.rid},u):yt(l,f,{ctx:c,instanceRid:l.rid}):null};return n.registerComponent(e,t,o,{origin:"local",tagName:t,library:e,displayName:t}),o}return null}function Ic(n,s){let e={...n};return s&&(s.className&&(e.className=e.className?`${e.className} ${s.className}`:s.className),s.ref&&(e.ref=s.ref),s["data-rid"]&&(e["data-rid"]=s["data-rid"]),s["data-node-id"]&&(e["data-node-id"]=s["data-node-id"]),s.key&&(e.key=s.key),s["data-name"]&&(e["data-name"]=s["data-name"]),s.id&&(e.id=s.id)),e}var Ci={outline:"2px solid #e6a700",outlineOffset:"-2px",color:"#b45309",backgroundColor:"rgba(230, 167, 0, 0.08)",fontFamily:"ui-sans-serif, system-ui, sans-serif",fontSize:"12px",fontWeight:600,display:"flex",alignItems:"center",justifyContent:"center",boxSizing:"border-box",padding:"4px 8px"};function jc(n,{name:s,...e}={}){let t=s?`Missing: ${s}`:"Missing component",r=[e.className,"jucie-missing"].filter(Boolean).join(" "),i=e.style&&typeof e.style=="object"?e.style:{},o={...Ci,...i,outline:i.outline??Ci.outline,outlineOffset:i.outlineOffset??Ci.outlineOffset,color:i.color??Ci.color};return o.width==null&&o.minWidth==null&&(o.minWidth=80),o.height==null&&o.minHeight==null&&(o.minHeight=32),n("div",{...e,className:r,style:o,"data-missing-name":s??""},t)}function ss(n,{ctx:s,instanceRid:e}){let t=n.runtime.registry,r=n.actor?.node;if(!r)return null;n.reconcileShouldRender(vc(r.render,s),()=>n.runtime.lifecycle.notifyUpdate(n.rid));try{switch(r.type){case void 0:case"root":return r.children?.length?yt(n,r.children,{ctx:s}):null;case"element":{let i=fn(n,s);return n.overrides&&(i=Ic(i,n.overrides)),n.getShouldRender()||(i.style={display:"none"}),t.createElement(r.tagName,i,Ri(n,r,{ctx:s,instanceRid:e}))}case"frame":{let i=fn(n,s);return n.getShouldRender()||(i.style={display:"none"}),t.createElement(r.tagName,i,yt(n,r.children,{ctx:s}))}case"instance":{let i=Pc(t,r),o=fn(n,s);if(!i)return n.actor.app.config?.view!=="design"?null:jc(t.createElement,{name:r.component,...o});let l=t.getComponentMeta(r.library||"local",r.component),c=(!r.library||r.library==="local")&&l?.origin!=="source",u=r?.slots?.length?Oc(n,r.slots,{ctx:s,instanceRid:e}):{};return c?t.createElement(i,{puppet:n,ctx:s,...o}):t.createElement(i,{...o,...u})}case"component":return n.actor.app.config?.mode==="components"?t.createElement("div",fn(n,s),yt(n,r.children,{ctx:s})):null;case"slot":{let i=t.getSlotChildren(e,n.actor.id),o=n.actor.app.config?.view==="design",l=i?.length>0;if(!l&&!o)return null;let c=fn(n,s);return n.getShouldRender()||(c.style={display:"none"}),t.createElement("div",c,l?yt(n,i,{ctx:s,instanceRid:null}):yt(n,r.children,{ctx:s}))}default:return console.warn("Unknown node type",r),null}}catch(i){return console.warn("Error resolving node",i),null}finally{n.notifyMount()}}function Mc(n,s){let{as:e,key:t,index:r,keyOn:i,descriptor:o}=n,l=Ct(o,s)?.();return l?(Array.isArray(l)?l.map((f,d)=>[i&&f[i]!==void 0?String(f[i]):String(d),f,d]):Object.entries(l).map(([f,d])=>[i&&d[i]!==void 0?String(d[i]):f,d,f])).map(([f,d,x],v)=>[f,{[e]:d,[r]:v,[t]:x}]):[]}function Tc(n,{ctx:s,overrides:e,instanceRid:t}){try{let r=Mc(n.actor.node.repeat,s);if(r.length===0)return n.actor.app.config.view==="design"?ss(n,{ctx:s,overrides:e,instanceRid:t}):null;let i=new Set(r.map(l=>l.key));n.reconcileClones(i);let o=n.runtime.registry;return r.map(([l,c])=>{let u=n.getClone(l),f=s.extend(c),d=o.resolvePuppet(n.actor,u,{overrides:e,ctx:f,instanceRid:t});return n.setClone(l,d.rid),ss(d,{ctx:f,overrides:e,instanceRid:t})})}catch(r){return console.error("Error resolving node repeat",r),null}}var ki,$i=class extends wi{constructor(e,t,r={},i){super();k(this,"actor",null);k(this,"runtime",null);k(this,"rid",null);k(this,"ref",null);k(this,"mounted",!1);k(this,"overrides",null);m(this,ki,!0);this.actor=e,this.runtime=e.runtime,this.rid=t??this.runtime.registry.createActorRid(e.id),this.ctx=r.ctx??null,this.instanceRid=r.instanceRid??null,this.overrides=i??null,this.ref=i?.ref??null,this.lifecycleHooks=Xo(this.actor.node?.lifecycle),this.ref=this.ref??ol();let[o,l]=al();this.subscribeToTrigger=()=>o(),this.invalidate=()=>l(),this.view=je(()=>{this.actor.runtime.context.startRender(this);let c=this.ctx??this.actor.runtime.context.ctx;this.lifecycleHooks=Xo(this.actor.node?.lifecycle);try{return this.actor?.node?.repeat&&this.actor.app.config.view!=="design"?Tc(this,{ctx:c,instanceRid:this.instanceRid}):ss(this,{ctx:c,instanceRid:this.instanceRid})}finally{this.markAsClean(),this.actor.runtime.context.endRender()}},{detached:!0}),this.render=()=>(this.subscribeToTrigger(),this.view()),this.unsubscribe=Jl(this.view,()=>{this.markAsDirty?.()})}static create(e,t,r={},i){return new this(e,t,r,i)}get $el(){return this.actor.node?.type==="root"?typeof document<"u"?document.getElementById(this.actor.id):null:this.ref?.value??this.ref?.current}notifyMount(){this.mounted||(this.runtime.lifecycle.notifyMount(this.rid),this.mounted=!0)}update(e={},t){this.ctx=e.ctx??this.ctx,this.instanceRid=e.instanceRid??this.instanceRid,this.overrides=t??this.overrides}markAsDirty(){if(this.hasSlots())for(let e of this.getSlotRids()){let t=this.runtime.registry.getPuppet(e);t&&t.markAsDirty()}this.invalidate?.(),!ql(this.view)&&Kl(this.view)}markAsClean(){this.runtime.lifecycle.notifyUpdate(this.rid),b(this,ki,!1)}destroy(){if(this.storeSubscriptions){for(let e of this.storeSubscriptions.values())e?.();this.storeSubscriptions.clear()}this._descriptorCache?.clear(),this.runtime.lifecycle.invokeBeforeUnmount(this.actor,this),this.runtime.lifecycle.notifyUnmount(this.rid),this.actor.removePuppet(this.rid),this.runtime.registry.deletePuppet(this.rid),this.unsubscribe?.()}};ki=new WeakMap;var Oi=class{constructor(s,e,t){k(this,"config",null);k(this,"runtime",null);k(this,"styleScope",null);k(this,"$el",null);k(this,"host",null);this.config=s,this.runtime=e,this.$el=t;let r=t?.ownerDocument??(typeof document<"u"?document:null);this.styleScope=e.styleContext.createScope("app",r),e.registry.setActorClass(bi),e.registry.setPuppetClass($i),e.registry.setCreateElement(lo.createElement),e.registry.setRenderSource(cl)}static create(s,e,t){return new this(s,e,t)}async create(s){try{if(!s)throw new Error("App create error: ID not defined");let e=this.runtime.registry;return this.host=ll(this.$el,t=>{let r=e.resolveActor(this,t),i=this.runtime.context.ctx,o=r&&e.resolvePuppet(r,t,{ctx:i});return(0,lo.createElement)(o?.render,il(t))}),await Promise.resolve(this.host.mount(s)),sl(this.host.jucie),this}catch(e){return console.error("App create error",e),null}}navigate(s){this.host?.navigate(s)}render(){throw new Error("render not implemented")}jucie(){return null}};var Fc=new Set(["id","type","ex","children","text"]),Nc=n=>n!==null&&typeof n=="object"&&!Array.isArray(n);function Dc(n=[],s=[]){let e=new Map(n.filter(Boolean).map(t=>[t.name,t]));for(let t of s)t&&e.set(t.name,t);return Array.from(e.values())}function is(n,s){if(s===void 0)return n;if(n===void 0)return s;if(Nc(n)&&Nc(s)){let e={...n};for(let t of Object.keys(s)){let r=s[t];r===void 0?delete e[t]:e[t]=is(n[t],r)}return e}return s}function Ef(n){let{ex:s,type:e,...t}=n;return t}function Rf(n){let s={};for(let e of Object.keys(n))!Fc.has(e)&&e!=="ex"&&(s[e]=n[e]);return s}function Cf(n,s){let e=[],t=n;for(;t&&s.has(t);)e.push(t),t=s.get(t).ex;return e}var _t,Ar,pn,Vt,ls,Sr,Me,Te,Ne,Ce,$t,mn,kt,cs,yn,P,ea,ta,Pi,Lc,Bc,os,Ii,ji,ra,na,sa,Uc,Wc,ia,dn,oa,zc,aa,_c,la,as=class extends te{constructor(){super(...arguments);m(this,P);m(this,_t,null);m(this,Ar,null);m(this,pn,null);m(this,Vt,new Map);m(this,ls,new Map);m(this,Sr,new Map);m(this,Me,new Map);m(this,Te,new Map);m(this,Ne,new Map);m(this,Ce,new Map);m(this,$t,new Map);m(this,mn,new Map);m(this,kt,new Map);m(this,cs,!1);m(this,yn,null)}actions(e,t){return{registerLibrary:(r,{source:i=null,manifest:o=null}={})=>{let l=h(this,P,Pi).call(this,r);return i!==null&&(l.source=i),o!==null&&(l.manifest=o),l},getLibrary:r=>a(this,Ce).get(r)??null,hasLibrary:r=>a(this,Ce).has(r),getLibraries:()=>Array.from(a(this,Ce).keys()),loadSources:r=>h(this,P,Bc).call(this,r),loadPrototypes:r=>{for(let[i,o]of Object.entries(r??{}))a(this,kt).set(i,o)},registerComponent:(r,i,o,l)=>h(this,P,os).call(this,r,i,o,l),registerComponents:(r,i)=>{if(!i)return;let o=i instanceof Map?i.entries():Object.entries(i);for(let[l,c]of o)c&&typeof c=="object"&&"component"in c?h(this,P,os).call(this,r,l,c.component,c.meta??{}):h(this,P,os).call(this,r,l,c)},unregisterComponent:(r,i)=>{let o=a(this,Ce).get(r);o&&o.components.delete(i)},getComponentEntry:(r,i)=>h(this,P,Ii).call(this,r,i),getComponent:(r,i)=>h(this,P,Ii).call(this,r,i)?.component??null,getComponentMeta:(r,i)=>{let o=a(this,Ce).get(r);return o?o.meta?.get(i)??h(this,P,Ii).call(this,r,i)?.meta??null:null},hasComponent:(r,i)=>a(this,Ce).get(r)?.components.has(i)??!1,getComponentsByLibrary:r=>{let i=a(this,Ce).get(r);return i?Array.from(i.components.values()):[]},getAllComponents:()=>{let r=[];for(let[i,o]of a(this,Ce)){let l=new Set([...o.meta?.keys()??[],...o.components?.keys()??[]]);for(let c of l){let u=o.components.get(c),f=o.meta?.get(c)??u?.meta??null;f&&r.push({library:i,name:c,component:u?.component??null,meta:f})}}return r},hasNode:r=>h(this,P,Uc).call(this,r),getNode:r=>h(this,P,Wc).call(this,r),getNodeType:r=>h(this,P,dn).call(this,r)()?.type??null,getNodeChildren:r=>h(this,P,dn).call(this,r)()?.children??null,resolveComputedNode:r=>h(this,P,dn).call(this,r),addActor:r=>{a(this,Me).set(r.id,r)},getActor:r=>h(this,P,ji).call(this,r),hasActor:r=>h(this,P,ra).call(this,r),deleteActor:r=>{a(this,Me).delete(r)},getActors:(r=[])=>!r||r.length===0?Array.from(a(this,Me).values()):r.map(i=>a(this,Me).get(i)),resolveActorRid:r=>{if(h(this,P,ra).call(this,r)){let o=h(this,P,ji).call(this,r).firstPuppetRid;if(o!=null)return o}return h(this,P,ta).call(this,r)},createActorRid:r=>h(this,P,ta).call(this,r),getActorId:r=>a(this,Vt).get(r),getActorByRid:r=>{let i=a(this,Vt).get(r);return i?a(this,Me).get(i):null},syncActorChildren:(r,i=[])=>{if(!r||r.length===0)return i.slice();let o=new Set(i),l=r.filter(c=>!o.has(c));for(let c of l){let u=h(this,P,ji).call(this,c);u&&u.destroy()}return i.slice()},resolveActor:(r,i,{styleScope:o,parentId:l}={})=>h(this,P,na).call(this,r,i,{styleScope:o,parentId:l}),addPuppet:r=>{a(this,Te).set(r.rid,r)},getPuppet:r=>a(this,Te).get(r),hasPuppet:r=>a(this,Te).has(r),deletePuppet:r=>{a(this,Te).delete(r)},getPuppets:(r=[])=>!r||r.length===0?Array.from(a(this,Te).values()):r.map(i=>a(this,Te).get(i)),resolvePuppet:(r,i,{ctx:o,instanceRid:l},c)=>h(this,P,sa).call(this,r,i,{ctx:o,instanceRid:l},c),resolveSlotPuppet:(r,i)=>this.resolveSlotPuppet(r,i),getSlotChildren:(r,i)=>this.getSlotChildren(r,i),addStore:(r,i)=>{a(this,Ne).set(r,{store:i,cleanup:null,paths:[]})},getStore:r=>a(this,Ne).get(r)?.store,hasStore:r=>a(this,Ne).has(r),removeStore:r=>{a(this,Ne).delete(r)},getCurrentStoreNames:()=>Array.from(a(this,Ne).keys()),getContextPaths:()=>{let r=[];for(let{paths:i}of a(this,Ne).values())i&&r.push(...i);return r.push(...this.inject("router")?.contextPaths??[]),r.push(...this.inject("animator")?.contextPaths??[]),r},createApp:async(r,i,o={})=>{let l=e(),c=document.getElementById(r),u={...t,mode:"app",...o};h(this,P,zc).call(this,u.view==="design"||u.view==="preview"||u.view==="screen-capture");let f=Oi.create(u,l,c);return u.view!=="design"&&(i=i||l.router?.getCurrentId()||u.nodeId,l.router.setCallback(d=>f.navigate(d)),await l.router.navigate(i,{replace:!0})),await Promise.resolve(f.create(i)),a(this,Sr).set(r,f),f},getApp:r=>a(this,Sr).get(r),deleteApp:r=>{let i=a(this,Sr).get(r);return i&&(i.destroy(),a(this,Sr).delete(r)),i},addPattern:(r,i,o={})=>{let l={type:"global",...o};return a(this,$t).set(r,{name:r,fn:i,options:l}),()=>{a(this,$t).delete(r)}},hasPatterns:()=>a(this,$t).size>0,hasPattern:r=>a(this,$t).has(r),getPatterns:()=>Array.from(a(this,$t).values()),removePattern:r=>{a(this,$t).delete(r)},registerPrototype:(r,i)=>{a(this,kt).set(r,i)},getPrototype:r=>a(this,kt).get(r)??null,hasPrototype:r=>a(this,kt).has(r),createId:()=>h(this,P,ea).call(this),getRids:()=>Array.from(a(this,Vt).keys()),setActorClass:r=>{b(this,_t,r)},getActorClass:()=>a(this,_t),setPuppetClass:r=>{b(this,Ar,r)},getPuppetClass:()=>a(this,Ar),setCreateElement:r=>{b(this,pn,r)},getCreateElement:()=>a(this,pn),createElement:(...r)=>a(this,pn).call(this,...r),setRenderSource:r=>{b(this,yn,r)},getRenderSource:()=>a(this,yn),renderSource:(...r)=>a(this,yn).call(this,...r)}}setSlot(e,t){a(this,ls).set(e,t)}getSlot(e){return a(this,ls).get(e)}resolveSlotPuppet(e,t){let r=a(this,Te).get(e);if(!r)return null;try{let i=r.ctx||{},o=r.actor.app,l=r.actor.styleScope,c=r.actor.id,u=h(this,P,na).call(this,o,t,{styleScope:l,parentId:c});if(!u)return null;let f=r.getSlot(t),d=h(this,P,sa).call(this,u,f,{ctx:i,parentId:c,instanceRid:e});return d?(r.setSlot(t,d.rid),d):null}catch(i){return console.warn("Error resolving slot",t,i),null}}getSlotChildren(e,t){let r=a(this,Te).get(e);if(!r)return null;let i=r.actor.node.slots?.find(o=>o.id===t);return i?i.children:null}};_t=new WeakMap,Ar=new WeakMap,pn=new WeakMap,Vt=new WeakMap,ls=new WeakMap,Sr=new WeakMap,Me=new WeakMap,Te=new WeakMap,Ne=new WeakMap,Ce=new WeakMap,$t=new WeakMap,mn=new WeakMap,kt=new WeakMap,cs=new WeakMap,yn=new WeakMap,P=new WeakSet,ea=function(){let e="a",r,i=0,o=100;do if(r=`${e}${nl(10)}`,i++,i>o)throw new Error(`Failed to generate unique ID after ${o} attempts`);while(a(this,Vt).has(r));return r},ta=function(e){let t=h(this,P,ea).call(this);return a(this,Vt).set(t,e),t},Pi=function(e){a(this,Ce).has(e)||a(this,Ce).set(e,{source:null,manifest:null,meta:new Map,components:new Map});let t=a(this,Ce).get(e);return t.meta||(t.meta=new Map),t.components||(t.components=new Map),t},Lc=function(e,t,r={}){let{displayName:i=t,description:o="",category:l="components",keywords:c=[t,e],props:u=[],slots:f=[],tagName:d=t,...x}=r;return{...x,displayName:i,description:o,category:l,keywords:c,props:u,slots:f,tagName:d,library:e}},Bc=function(e={}){for(let[t,r]of Object.entries(e??{})){let i=h(this,P,Pi).call(this,t);r!=null&&(i.source=r),r?.manifest!==void 0&&(i.manifest=r.manifest??null);let o=r?.components??{};for(let[l,c]of Object.entries(o)){let u=r?.manifest?.[l];h(this,P,os).call(this,t,l,c,{displayName:u?.displayName??l,description:u?.description??"",category:u?.category??"components",keywords:u?.keywords??[l,t],props:u?.props??[],slots:u?.slots??[],tagName:l,origin:"source"})}}},os=function(e,t,r,i={}){let o=h(this,P,Pi).call(this,e),l=h(this,P,Lc).call(this,e,t,i);o.meta.set(t,l);let c={library:e,name:t,component:r,meta:l};return o.components.set(t,c),c},Ii=function(e,t){return a(this,Ce).get(e)?.components.get(t)??null},ji=function(e){return a(this,Me).get(e)},ra=function(e){return a(this,Me).has(e)},na=function(e,t,{styleScope:r=null,parentId:i=null}={}){let o=this.inject("log");if(!t)throw new Error("Registry.resolveActor: id is required");if(a(this,Me).has(t)){let u=a(this,Me).get(t);return i!=null&&u.parentId!==i&&(u.parentId=i,r&&u.styleScope!==r?(u.styleScope?.unregister(u.id),u.styleScope=r,u.styleScope.register(u)):u.styleScope?.update(u.id,u.node,u.isInstance)),u}if(!a(this,_t))throw new Error("Registry.resolveActor: no actor class registered (call setActorClass)");if(e.config?.view==="design"||e.config?.view==="preview"||e.config?.view==="screen-capture"){let u=h(this,P,dn).call(this,t),f=u();if(!f)return o.warn("resolveActor: node not found",{message:"node not found",id:t,parentId:i}),null;let d=a(this,_t).create(e,t,{node:f,styleScope:r,parentId:i});a(this,Me).set(d.id,d);let x=rt(u,v=>{if(d&&v){d.update?.(v);return}if(!v){d.destroy?.();return}});return d.addCleanupFn?.(x),d}let l=h(this,P,oa).call(this,t);if(!l)return o.warn("resolveActor: node not found",{message:"node not found",id:t,parentId:i}),null;let c=a(this,_t).create(e,t,{node:l,styleScope:r,parentId:i});return a(this,Me).set(c.id,c),c},sa=function(e,t,r={},i){if(t&&a(this,Te).has(t)){let l=a(this,Te).get(t);return l.update(r,i),l}if(!a(this,Ar))throw new Error("Registry.resolvePuppet: no puppet class registered (call setPuppetClass)");let o=a(this,Ar).create(e,t,r,i);return e.addPuppet(o.rid),a(this,Te).set(o.rid,o),this.inject("lifecycle").invokeBeforeMount(o),o},Uc=function(e){return this.inject("state").has(["nodes",e])},Wc=function(e){return this.inject("state").get(["nodes",e])},ia=function(e){let t=Cf(e.ex??e.type,a(this,kt)).reverse(),r={};for(let l of t){let c=a(this,kt).get(l);c&&(r=is(r,Ef(c)))}let i=e.attributes,o=e.events;r=is(r,Rf(e)),i!=null&&(r.attributes=Dc(r.attributes,i)),o!=null&&(r.events=Dc(r.events,o));for(let l of Fc)l in e&&(r[l]=e[l]);return r},dn=function(e){if(a(this,mn).has(e))return a(this,mn).get(e);let t=this.inject("state"),r=je(()=>{let i=t.get(["nodes",e]);if(!i)return null;if(i.ex&&t.has(["nodes",i.ex])){let l=h(this,P,dn).call(this,i.ex);onDirty(l,()=>markAsDirty(r));let c=l();return is(c,i)}return h(this,P,ia).call(this,i)},{detached:!0});return a(this,mn).set(e,r),r},oa=function(e){let t=this.inject("state"),r=t.get(["nodes",e]);if(!r)return null;if(r.ex&&t.has(["nodes",r.ex])){let i=h(this,P,oa).call(this,r.ex);return is(i,r)}return h(this,P,ia).call(this,r)},zc=function(e=!0){if(a(this,cs))return;b(this,cs,!0);let t=this.inject("state"),r=t.get(["stores"])??{};for(let i of Object.keys(r))h(this,P,aa).call(this,i,e);e&&t.matcher.createMatcher(["stores"],i=>{console.log("initializeStores: matcher",i);let o=new Set(a(this,Ne).keys());console.log("initializeStores: current",o);let l=new Set(Object.keys(i??{}));console.log("initializeStores: next",l);for(let c of o)l.has(c)||h(this,P,_c).call(this,c);for(let c of l)o.has(c)||h(this,P,aa).call(this,c,e)})},aa=function(e,t=!0){let[r,i]=this.inject("state","log"),o=je(()=>r.get(["stores",e]),{detached:!0}),l=gc(f=>{let d=o(),x={};if(d?.state)for(let{key:v,value:O}of d.state)x[v]=f.signal(O);if(d?.computed)for(let{name:v,code:O}of d.computed)try{let T=zt(O);T&&(x[v]=f.computed(function(ne,le){try{return T.call(ne,ne,le)}catch(se){i.warn(`[Store:${e}] computed "${v}" threw: ${se.message}`);return}}))}catch(T){i.warn(`[Store:${e}] computed "${v}" failed to compile: ${T.message}`)}if(d?.actions)for(let{name:v,code:O}of d.actions)try{let T=zt(O);T&&(x[v]=f.action(function(...ne){try{return T.apply(this,ne)}catch(le){i.warn(`[Store:${e}] action "${v}" threw: ${le.message}`)}}))}catch(T){i.warn(`[Store:${e}] action "${v}" failed to compile: ${T.message}`)}return x}),c=t?h(this,P,la).call(this,e,o()):[],u=t?rt(o,()=>{bc(l);let f=a(this,Ne).get(e);f&&(f.paths=h(this,P,la).call(this,e,o()))}):null;a(this,Ne).set(e,{store:l,cleanup:u,paths:c})},_c=function(e){a(this,Ne).get(e)?.cleanup?.(),a(this,Ne).delete(e)},la=function(e,t){let r=[];if(t?.state)for(let{key:i}of t.state)r.push({path:["$store",e,i],type:"state",dot:`$store.${e}.${i}`,hint:"Reactive state value"});if(t?.computed)for(let{name:i}of t.computed)r.push({path:["$store",e,i],type:"computed",dot:`$store.${e}.${i}`,hint:"Computed value"});if(t?.actions)for(let{name:i}of t.actions)r.push({path:["$store",e,i],type:"action",dot:`$store.${e}.${i}`,hint:"Store action"});return r},k(as,"manifest",{name:"Registry",namespace:"registry"});var $e,gn,hs,fs,Ae,Ht,G,Vc,Hc,Gc,Kc,ca,qc,Mi,ua,Jc,ha,Ti,Yc,fa,us=class extends te{constructor(){super(...arguments);m(this,G);m(this,$e,new Map);m(this,gn,new Map);m(this,hs,null);m(this,fs,[]);m(this,Ae,new Map);m(this,Ht,new Map)}initialize(){let e=this.config,t=this.inject("relay"),r=this.inject("state").ref(["animations"]);h(this,G,Vc).call(this,r),t.on("scene:unmount",i=>{for(let o of i)this.unbindPuppet(o)}),e?.view!=="design"&&(t.on("scene:mount",i=>{for(let o of i)this.bindPuppet(o)}),t.on("scene:update",i=>{for(let o of i)this.rebindPuppet(o)}))}getters(){return{contextPaths:()=>[{path:["$animator","play"],type:"action",dot:"$animator.play",hint:"Play an animation on a target"},{path:["$animator","cancel"],type:"action",dot:"$animator.cancel",hint:"Cancel an animation on a target"}]}}actions(){return{play:(e,t,r)=>this.play(e,t,r),cancel:(e,t)=>this.cancel(e,t),pauseAll:e=>this.pauseAll(e),resumeAll:e=>this.resumeAll(e),getAnimationAsset:e=>this.getAnimationAsset(e),bindPuppet:e=>this.bindPuppet(e),rebindPuppet:e=>this.rebindPuppet(e),unbindPuppet:e=>this.unbindPuppet(e),getLoadedAnimations:()=>{let e=new Set,t={};for(let[r,i]of a(this,$e))e.has(i)||(e.add(i),t[r]=i);return t},getActiveAnimation:e=>{for(let t of a(this,Ae).values()){let r=t.get(e);if(r?.size)return[...r][0]}return null},seekAnimation:(e,t)=>{let r=!1;for(let l of a(this,Ae).values()){let c=l.get(e);if(c?.size){r=!0;for(let u of c)u.pause(),u.currentTime=t}}if(r)return;let i=a(this,$e).get(e);if(!i)return;let o=this.inject("registry");for(let l of o.getPuppets()){if(!l)continue;let c=l.rid;if(!(l?.actor?.node?.animations??[]).some(d=>d.id===e))continue;let f=l.el??document.querySelector(`[data-rid="${c}"]`);if(f)try{let d=(i.keyframes??[]).map(O=>{let{offset:T,...J}=O;return{offset:T,...J}}),x=new KeyframeEffect(f,d,{duration:i.duration??300,fill:"both"}),v=new Animation(x,document.timeline);v.pause(),v.currentTime=t,h(this,G,Ti).call(this,c,e,v)}catch{}}}}}getAnimationAsset(e){return a(this,$e).get(e)??null}resolveTargets(e){if(e instanceof HTMLElement)return[e];if(e instanceof NodeList||Array.isArray(e))return Array.from(e);if(typeof e!="string")return[];let t=typeof document<"u"?document:null;if(!t)return[];let r=t.getElementById(e);if(r)return[r];let i=t.querySelectorAll(`[data-name="${e}"]`);if(i.length)return Array.from(i);let o=t.querySelector(`[data-node-id="${e}"]`);if(o)return[o];try{let l=t.querySelectorAll(e);return Array.from(l)}catch{return[]}}play(e,t,r={}){let i=a(this,$e).get(t);if(!i)return console.warn(`Animator: animation "${t}" not found`),null;let o=this.resolveTargets(e);if(o.length===0)return null;let l=r.stagger??0,c=[];for(let u=0;u<o.length;u++){let f=o[u],d=i.keyframes.map(J=>({offset:J.offset,...J.properties})),x={duration:r.duration??i.duration??300,easing:r.easing??i.easing??"ease",fill:r.fill??i.fill??"none",direction:r.direction??i.direction??"normal",iterations:r.iterations??i.iterations??1,delay:(r.delay??i.delay??0)+l*u,endDelay:r.endDelay??i.endDelay??0},v=new KeyframeEffect(f,d,x),O=new Animation(v,f.ownerDocument.timeline);O.play();let T=f.dataset?.rid;T&&h(this,G,Ti).call(this,T,t,O),c.push(O)}return c.length===1?c[0]:c}cancel(e,t){let r=this.resolveTargets(e);for(let i of r){let o=i.dataset?.rid;if(!o)continue;let l=a(this,Ae).get(o);if(l)if(t){let c=l.get(t);if(c){for(let u of c)u.cancel();l.delete(t)}}else{for(let c of l.values())for(let u of c)u.cancel();l.clear()}}}pauseAll(e){let t=this.resolveTargets(e);for(let r of t){let i=r.dataset?.rid;if(!i)continue;let o=a(this,Ae).get(i);if(o)for(let l of o.values())for(let c of l)c.pause()}}resumeAll(e){let t=this.resolveTargets(e);for(let r of t){let i=r.dataset?.rid;if(!i)continue;let o=a(this,Ae).get(i);if(o)for(let l of o.values())for(let c of l)c.play()}}bindPuppet(e){let r=this.inject("registry").getPuppet(e),i=r?.actor;if(i?.node?.animations?.length)for(let o of i.node.animations)h(this,G,qc).call(this,r,o)}rebindPuppet(e){this.unbindPuppet(e),this.bindPuppet(e)}unbindPuppet(e){let t=a(this,Ht).get(e);if(t){for(let r of t)r();a(this,Ht).delete(e)}h(this,G,Yc).call(this,e)}};$e=new WeakMap,gn=new WeakMap,hs=new WeakMap,fs=new WeakMap,Ae=new WeakMap,Ht=new WeakMap,G=new WeakSet,Vc=function(e){b(this,hs,je(()=>e.get())),rt(a(this,hs),t=>{let r=t?Object.keys(t):[],i=a(this,fs),o=new Set(r),l=new Set(i);for(let c of r)l.has(c)||h(this,G,Hc).call(this,c,e);for(let c of i)o.has(c)||h(this,G,Gc).call(this,c);b(this,fs,r.slice())})},Hc=function(e,t){if(a(this,gn).has(e))return;let r=je(()=>t.get([e]));a(this,gn).set(e,r);let i=rt(r,o=>{if(!o){h(this,G,ca).call(this,e),i();return}h(this,G,Kc).call(this,e,o)})},Gc=function(e){a(this,gn).delete(e),h(this,G,ca).call(this,e)},Kc=function(e,t){let r=a(this,$e).get(e);r?.name&&r.name!==t.name&&a(this,$e).delete(r.name),a(this,$e).set(e,t),t.name&&a(this,$e).set(t.name,t)},ca=function(e){let t=a(this,$e).get(e);t?.name&&a(this,$e).delete(t.name),a(this,$e).delete(e)},qc=function(e,t){let r=e.rid,i=t.play??t.trigger,o=t.reverse??null,l=t.reset??null;i&&h(this,G,Mi).call(this,e,r,i,t,"play"),o&&h(this,G,Mi).call(this,e,r,o,t,"reverse"),l&&h(this,G,Mi).call(this,e,r,l,t,"reset")},Mi=function(e,t,r,i,o){if(r==="mount"){o==="play"&&h(this,G,ha).call(this,e,i);return}if(r==="manual")return;if(r==="visible"){let f=e.$el;if(!f)return;let d=!1,x=new IntersectionObserver(v=>{for(let O of v)O.isIntersecting&&!d&&(d=!0,h(this,G,ua).call(this,e,i,o),x.disconnect())},{threshold:.1});x.observe(f),h(this,G,fa).call(this,t,()=>x.disconnect());return}let l=e.$el;if(!l)return;let c=r==="focus"?"focusin":r==="focusout"?"focusout":r,u=()=>h(this,G,ua).call(this,e,i,o);l.addEventListener(c,u),h(this,G,fa).call(this,t,()=>l.removeEventListener(c,u))},ua=function(e,t,r){let i=e.rid;if(r==="play"){h(this,G,ha).call(this,e,t);return}if(r==="reverse"){let o=a(this,Ae).get(i);if(!o)return;let l=o.get(t.id);if(!l)return;for(let c of l)(c.playState==="running"||c.playState==="paused")&&c.reverse();return}if(r==="reset"){let o=a(this,Ae).get(i);if(!o)return;let l=o.get(t.id);if(!l)return;for(let c of l)try{c.cancel()}catch{}l.clear();return}},Jc=function(e,t){let r=a(this,Ae).get(e);if(!r)return!1;let i=r.get(t);if(!i||i.size===0)return!1;for(let o of i)if(o.playState==="running"||o.playState==="pending")return!0;return!1},ha=function(e,t){if(h(this,G,Jc).call(this,e.rid,t.id))return;let r=t.target?this.resolveTargets(t.target):[e.$el];if(!r.length)return;let i=a(this,$e).get(t.id);if(!i)return;let o=t.stagger??0;for(let l=0;l<r.length;l++){let c=r[l];if(!c)continue;let u=i.keyframes.map(O=>({offset:O.offset,...O.properties})),f={duration:t.duration??i.duration??300,easing:t.easing??i.easing??"ease",fill:t.fill??i.fill??"none",direction:t.direction??i.direction??"normal",iterations:t.iterations??i.iterations??1,delay:(t.delay??i.delay??0)+o*l,endDelay:t.endDelay??i.endDelay??0},d=new KeyframeEffect(c,u,f),x=new Animation(d,c.ownerDocument.timeline);x.play();let v=c.dataset?.rid??e.rid;h(this,G,Ti).call(this,v,t.id,x)}},Ti=function(e,t,r){a(this,Ae).has(e)||a(this,Ae).set(e,new Map);let i=a(this,Ae).get(e);i.has(t)||i.set(t,new Set),i.get(t).add(r),r.addEventListener("finish",()=>{i.get(t)?.delete(r)},{once:!0}),r.addEventListener("cancel",()=>{i.get(t)?.delete(r)},{once:!0})},Yc=function(e){let t=a(this,Ae).get(e);if(t){for(let r of t.values())for(let i of r)try{i.cancel()}catch{}a(this,Ae).delete(e)}},fa=function(e,t){a(this,Ht).has(e)||a(this,Ht).set(e,new Set),a(this,Ht).get(e).add(t)},k(us,"manifest",{name:"Animator",namespace:"animator"});var Gt,Er,bn,wn,xn,Rr,Cr,Kt,Q,Ni,Qc,Zc,Xc,Di,ds,eu,Fi,tu,da,ps=class extends te{constructor(){super(...arguments);m(this,Q);k(this,"routes",[]);m(this,Gt,ci(null));m(this,Er,null);m(this,bn,{});m(this,wn,!1);m(this,xn,new Map);m(this,Rr,[]);m(this,Cr,[]);m(this,Kt,!1)}initialize(e,t){t.view!=="design"&&(b(this,bn,{basePath:t.basePath||""}),b(this,wn,!0),h(this,Q,Ni).call(this),h(this,Q,Zc).call(this))}getters(){return{currentRoute:()=>this.getCurrentRoute(),contextPaths:()=>[{path:["$router","currentRoute"],type:"getter",dot:"$router.currentRoute",hint:"Current route (path, params, query, meta)"},{path:["$router","currentRoute","path"],type:"getter",dot:"$router.currentRoute.path",hint:"Current URL path"},{path:["$router","currentRoute","name"],type:"getter",dot:"$router.currentRoute.name",hint:"Current page name"},{path:["$router","currentRoute","params"],type:"getter",dot:"$router.currentRoute.params",hint:"Route parameters object"},{path:["$router","navigate"],type:"action",dot:"$router.navigate",hint:"Navigate to a path or page id"}]}}actions(){return{navigate:(e,t)=>this.navigate(e,t),back:()=>this.back(),forward:()=>this.forward(),getCurrentId:()=>this.getCurrentId()??null,setCallback:e=>this.setCallback(e),getCurrentRoute:()=>this.getCurrentRoute()??null}}setCallback(e){return b(this,Er,e),()=>{b(this,Er,null)}}async navigate(e,t={}){let r=this.inject("log");typeof e=="string"&&(e=e.replace(/\/{2,}/g,"/")),this.routes.length===0&&h(this,Q,Ni).call(this),r.debug(`[Router] navigate("${e}") routes=${this.routes.length}`);let i=a(this,Gt).call(this),o=h(this,Q,Di).call(this,e);if(r.debug(`[Router] from=${i?.path??"null"} \u2192 to=${o?.path??"null"}`),!o)return console.warn(`Router: No route found for: ${e}`),!1;let l=i?h(this,Q,ds).call(this,i.pageId):null,c=h(this,Q,ds).call(this,o.pageId);if(l?.beforeLeave)try{if(await l.beforeLeave(o,i)===!1)return!1}catch(u){return console.error("Router: beforeLeave guard error:",u),!1}if(c?.beforeEnter)try{let u=await c.beforeEnter(o,i);if(u===!1)return!1;if(typeof u=="string")return this.navigate(u,t)}catch(u){return console.error("Router: beforeEnter guard error:",u),!1}if(!a(this,Kt)&&!t.replace&&i&&(a(this,Rr).push(i),a(this,Cr).length=0),a(this,wn)){let u=h(this,Q,tu).call(this,o.path);t.replace?window.history.replaceState({},"",u):window.history.pushState({},"",u),c?.title&&(document.title=c.title)}return a(this,Gt).call(this,o),console.log("[Router] signal set \u2192",o.path,o),a(this,Er)&&a(this,Er).call(this,o.pageId),l?.afterLeave&&Promise.resolve().then(()=>l.afterLeave(o,i)),c?.afterEnter&&Promise.resolve().then(()=>c.afterEnter(o,i)),!0}getCurrentRoute(){return a(this,Gt).call(this)}async back(){if(a(this,Rr).length===0)return!1;let e=a(this,Gt).call(this),t=a(this,Rr).pop();e&&a(this,Cr).push(e),b(this,Kt,!0);let r=await this.navigate(t.path,{replace:!0});return b(this,Kt,!1),r}async forward(){if(a(this,Cr).length===0)return!1;let e=a(this,Gt).call(this),t=a(this,Cr).pop();e&&a(this,Rr).push(e),b(this,Kt,!0);let r=await this.navigate(t.path,{replace:!0});return b(this,Kt,!1),r}getCurrentId(){if(!a(this,wn))return null;this.routes.length===0&&h(this,Q,Ni).call(this);let e=window.location.pathname+window.location.search;return h(this,Q,Di).call(this,e)?.pageId||null}};Gt=new WeakMap,Er=new WeakMap,bn=new WeakMap,wn=new WeakMap,xn=new WeakMap,Rr=new WeakMap,Cr=new WeakMap,Kt=new WeakMap,Q=new WeakSet,Ni=function(){this.routes=h(this,Q,Qc).call(this),b(this,xn,new Map);for(let e of this.routes)a(this,xn).set(e.id,e)},Qc=function(){let e=this.inject("state"),t=e.get(["nodes","app","children"]);return t?t.map(r=>{let i=e.get(["nodes",r]);return i?.route?.path?{id:r,name:i.name||null,path:i.route.path,params:i.route.params||[],title:i.route.title||i.name||r}:null}).filter(Boolean):[]},Zc=function(){document.addEventListener("click",e=>{let t=e.target.closest("a");if(t&&h(this,Q,Xc).call(this,t,e)){e.preventDefault();let r=new URL(t.href);this.navigate(r.pathname+r.search)}}),window.addEventListener("popstate",()=>{this.navigate(window.location.pathname+window.location.search)})},Xc=function(e,t){if(t.button!==0||t.ctrlKey||t.metaKey||t.shiftKey||e.target&&e.target!=="_self"||e.hasAttribute("download")||e.origin!==window.location.origin||e.hasAttribute("data-external")||e.pathname===window.location.pathname&&e.hash)return!1;let r=h(this,Q,da).call(this,e.pathname);return h(this,Q,Di).call(this,r)!==null},Di=function(e){if(!e)return null;let t=h(this,Q,ds).call(this,e);if(t)return{pageId:t.id,name:t.name,path:t.path,params:{},query:h(this,Q,Fi).call(this,window.location.search),meta:t.meta||{},title:t.title};let r=h(this,Q,da).call(this,e.split("?")[0]),i=r.startsWith("/")?r.slice(1):r,o=h(this,Q,ds).call(this,i);if(o)return{pageId:o.id,name:o.name,path:o.path,params:{},query:h(this,Q,Fi).call(this,window.location.search),meta:o.meta||{},title:o.title};for(let l of this.routes){let c=h(this,Q,eu).call(this,l.path,r);if(c)return{pageId:l.id,name:l.name,path:r,params:c.params,query:h(this,Q,Fi).call(this,e.includes("?")?e.split("?")[1]:""),meta:l.meta||{},title:l.title}}return null},ds=function(e){return a(this,xn).get(e)??null},eu=function(e,t){let r=u=>(u.startsWith("/")?u.slice(1):u).split("/").filter(d=>d),i=r(e),o=r(t);if(i.length!==o.length)return null;let l={};return i.every((u,f)=>{let d=o[f];return u.startsWith(":")?(l[u.slice(1)]=decodeURIComponent(d),!0):u===d})?{params:l}:null},Fi=function(e){if(!e||e==="?")return{};let t={},r=new URLSearchParams(e.startsWith("?")?e.slice(1):e);for(let[i,o]of r.entries())t[i]=o;return t},tu=function(e){let t=a(this,bn).basePath||"",r=e.startsWith("/")?e:"/"+e;return t?t+r:r},da=function(e){let t=a(this,bn).basePath||"";return t&&e.startsWith(t)?e.slice(t.length)||"/":e},k(ps,"manifest",{name:"Router",namespace:"router"});var $r,kr,st,qt,ru,nu,su,ms=class extends te{constructor(){super(...arguments);m(this,qt);m(this,$r,[null,null,(e,t)=>e?.[t[0]]?.[t[1]],(e,t)=>e?.[t[0]]?.[t[1]]?.[t[2]],(e,t)=>e?.[t[0]]?.[t[1]]?.[t[2]]?.[t[3]],(e,t)=>e?.[t[0]]?.[t[1]]?.[t[2]]?.[t[3]]?.[t[4]],(e,t)=>e?.[t[0]]?.[t[1]]?.[t[2]]?.[t[3]]?.[t[4]]?.[t[5]],(e,t)=>e?.[t[0]]?.[t[1]]?.[t[2]]?.[t[3]]?.[t[4]]?.[t[5]]?.[t[6]],(e,t)=>e?.[t[0]]?.[t[1]]?.[t[2]]?.[t[3]]?.[t[4]]?.[t[5]]?.[t[6]]?.[t[7]]]);m(this,kr,[]);m(this,st,null)}actions(){return{startRender:e=>{a(this,kr).push(e)},endRender:()=>{a(this,kr).pop()}}}getters(e){return{ctx:()=>(a(this,st)||b(this,st,{$store:new Proxy({},{get:(t,r)=>{if(typeof r!="symbol")return h(this,qt,su).call(this,r,e)}}),$router:{navigate:(...t)=>e("router").navigate(...t),get currentRoute(){return e("router").currentRoute}},$animator:e("animator"),$provide:(t,r)=>{a(this,st)[`$${t}`]=r},$get:t=>this.traverse(a(this,st),t),$set:(t,r)=>{h(this,qt,ru).call(this,a(this,st),t,r)},extend:t=>{let r={...a(this,st),...t,extend:u=>a(this,st).extend({...t,...u})},i=e("registry").getContextPaths?.()??[],o=new Set(Object.keys(t)),l=i.filter(u=>!o.has(u.dot)),c=Object.keys(t).map(u=>({path:[u],type:"local",dot:u}));return Object.defineProperty(r,"__paths",{value:[...l,...c],enumerable:!1,configurable:!0}),r}}),a(this,st))}}traverse(e,t){let r=t.length;return r===0?e:r===1?e[t[0]]:r<a(this,$r).length&&a(this,$r)[r]?a(this,$r)[r](e,t):h(this,qt,nu).call(this,r)(e,t)}};$r=new WeakMap,kr=new WeakMap,st=new WeakMap,qt=new WeakSet,ru=function(e,t,r){try{let i=e;for(let o=0;o<t.length-1;o++)if(i=i[t[o]],i==null)throw new Error(`Path ${t.join(".")} not found`);i[t[t.length-1]]=r}catch(i){console.error(`[Context] failed to set ${t.join(".")}:`,i)}},nu=function(e){let r="obj"+Array.from({length:e},(o,l)=>`?.[path[${l}]]`).join(""),i=new Function("obj","path",`return ${r}`);return a(this,$r)[e]=i,i},su=function(e,t){let r=a(this,kr)[a(this,kr).length-1],i=t("registry").getStore(e);if(i){if(r&&(r.storeSubscriptions||(r.storeSubscriptions=new Map),!r.storeSubscriptions.has(e))){let o=i().$onRefresh(()=>{r?.markAsDirty?.()});r.storeSubscriptions.set(e,o)}return i()}},k(ms,"manifest",{name:"Context",namespace:"context"});function iu(n,s,e=[]){let t=n.style??{},r=[{bp:0,key:"default"}];for(let o in t){if(typeof o!="string"||!o.startsWith("@"))continue;let l=parseInt(o.slice(1),10);!isNaN(l)&&l<=s&&r.push({bp:l,key:o})}r.sort((o,l)=>o.bp-l.bp);let i={};for(let{key:o}of r){let l=t[o]??{};for(let c in l)!c.startsWith(":")&&!c.startsWith("&")&&(i[c]=l[c]);for(let c of e){let u=c.startsWith(":")||c.startsWith("&")?c:`:${c}`;Object.assign(i,l[u]??{})}}return i}var pa="default";function ma(n){if(n===pa||n==null)return pa;let s=String(n);return s.startsWith("@")?s:`@${s}`}function ya(n){if(!n||n===pa)return null;let s=String(n),e=parseInt(s.startsWith("@")?s.slice(1):s,10);return isNaN(e)?null:e}function ga(n){return typeof n=="string"&&n.startsWith("@")}function $f(n){return typeof n=="string"&&(n.startsWith(":")||n.startsWith("&"))}function kf(n){return typeof n!="string"||n.startsWith(":")||n.startsWith("&")?n:`:${n}`}function ou(n,s="default",e=[]){let t=n?.style??{},r=ma(s),i=t[r];if(!i||typeof i!="object")return{};let o=e??[];if(o.length>0)for(let c of o){let u=kf(c);if(i=i?.[u]??i?.[c],!i||typeof i!="object")return{}}let l={};for(let c in i)$f(c)||(l[c]=i[c]);return l}function au(n){if(typeof Element>"u")return null;let s=n?.$el;if(s instanceof Element)return s;let e=s?.$el;return e instanceof Element?e:null}var Of=["flex-direction","flex-wrap","justify-content","align-items","align-content","gap","top","right","bottom","left","inset","margin","margin-top","margin-right","margin-bottom","margin-left","padding","padding-top","padding-right","padding-bottom","padding-left","border-radius","position","display","width","height","max-width","max-height","min-width","min-height","border-style","border-width","border-color","border-top-style","border-top-width","border-top-color","border-right-style","border-right-width","border-right-color","border-bottom-style","border-bottom-width","border-bottom-color","border-left-style","border-left-width","border-left-color","border-top-left-radius","border-top-right-radius","border-bottom-right-radius","border-bottom-left-radius","background-color","background-image","background-repeat","background-size","background-attachment","color","font-family","font-size","font-weight","font-style","font-variant","line-height","text-align","text-decoration","text-transform","text-overflow","letter-spacing","white-space","overflow","overflow-x","overflow-y","scroll-behavior","cursor","pointer-events","z-index","opacity","transform","transition","filter","box-shadow","grid","object-fit","align-self","flex-grow","flex-shrink","flex-basis","order","grid-column","grid-row"],Ve,Qt,He,An,Sn,Or,En,Pr,Ge,gt,Zt,Pt,A,lu,cu,Jt,uu,hu,Ot,ba,wa,fu,vn,Li,xa,du,pu,va,mu,yu,Aa,gu,bu,Pf,wu,Sa,Yt,ys,Ea,xu,vu,Au,Su,gs=class extends te{constructor(){super(...arguments);m(this,A);k(this,"registry",null);m(this,Ve,{});m(this,Qt,!1);m(this,He,new Set);m(this,An,new Set);m(this,Sn,!1);m(this,Or,new Set);m(this,En,new Set);m(this,Pr,null);m(this,Ge,null);m(this,gt,[]);m(this,Zt,{});m(this,Pt,!1)}initialize(){let e=this.inject("relay");e.on("scene:change",(t,r,i)=>h(this,A,lu).call(this,t,r,i)),e.on("scene:mount",t=>h(this,A,cu).call(this,t))}actions(e){let t=e("registry");return{addListener:r=>(a(this,Or).add(r),()=>a(this,Or).delete(r)),removeListener:r=>{a(this,Or).delete(r)},pauseNodeGraph:()=>{b(this,Qt,!1),h(this,A,Li).call(this)},resumeNodeGraph:()=>{b(this,Pt,!1),b(this,Qt,!0),h(this,A,Jt).call(this),h(this,A,vn).call(this)},startNodeGraph:()=>{b(this,Pt,!1),b(this,Qt,!0),h(this,A,Jt).call(this),h(this,A,vn).call(this)},disableNodeGraph:()=>{b(this,Qt,!1),h(this,A,Li).call(this)},forceNodeGraph:()=>{b(this,Pt,!1),t.getRids().forEach(i=>a(this,He).add(i)),h(this,A,Jt).call(this)},setSelectedRids:r=>{b(this,En,new Set(r)),r.forEach(i=>h(this,A,Ot).call(this,i)),h(this,A,Jt).call(this)},getSelectedRids:()=>[...a(this,En)],setFocalRid:r=>{let i=a(this,Pr);b(this,Pr,r??null),i&&h(this,A,Ot).call(this,i),r&&h(this,A,Ot).call(this,r),h(this,A,Jt).call(this)},getFocalRid:()=>a(this,Pr),getActiveBreakpoint:r=>{let i=t.getActor(r);return h(this,A,va).call(this,i)},getNodeGraph:()=>a(this,Ve)}}};Ve=new WeakMap,Qt=new WeakMap,He=new WeakMap,An=new WeakMap,Sn=new WeakMap,Or=new WeakMap,En=new WeakMap,Pr=new WeakMap,Ge=new WeakMap,gt=new WeakMap,Zt=new WeakMap,Pt=new WeakMap,A=new WeakSet,lu=function(e,t,r){e.forEach(i=>h(this,A,Ot).call(this,i)),t.forEach(i=>h(this,A,Ot).call(this,i)),r.forEach(i=>h(this,A,Ot).call(this,i)),h(this,A,Jt).call(this)},cu=function(e){let t=this.inject("registry");e.some(i=>{let o=t.getActorId(i);return t.getActor(o)?.node?.type==="root"})&&(h(this,A,Li).call(this),h(this,A,vn).call(this))},Jt=function(){if(!a(this,Qt)||a(this,He).size===0||a(this,Sn))return;let e=this.inject("registry");b(this,Sn,new Promise(t=>{requestAnimationFrame(()=>{let r={},i=[],o=Array.from(a(this,He));try{o.forEach(l=>{a(this,He).delete(l),a(this,An).add(l)});for(let l of o){let c=e.getPuppet(l);if(!c){i.push(l);continue}if(c.actor.node?.type!=="root"){if(h(this,A,Sa).call(this,c)){i.push(l);continue}if(!h(this,A,Yt).call(this,c)){l in a(this,Ve)?i.push(l):a(this,He).add(l);continue}r[l]=h(this,A,Ea).call(this,c)}}b(this,Ve,{...a(this,Ve),...r}),i.forEach(l=>delete a(this,Ve)[l])}catch(l){console.error("Error flushing node graph:",l);for(let c of uidsToProcess)!(c in r)&&!i.includes(c)&&a(this,He).add(c)}finally{b(this,Sn,!1),a(this,An).clear()}t({nodeGraphUpdated:r,nodeGraphRemoved:i}),(Object.keys(r).length>0||i.length>0)&&h(this,A,xa).call(this,r,i),a(this,He).size>0&&h(this,A,Jt).call(this)})}))},uu=function(e){let r=this.inject("registry").getPuppet("app");return r?r.tracks(e):!1},hu=function(e){let r=this.inject("registry").getPuppet("temp");return r?r.tracks(e):!1},Ot=function(e){if(a(this,He).has(e)||a(this,An).has(e))return;a(this,He).add(e);let t=this.inject("registry"),r=t.getActorId(e),i=t.getActor(r);i&&i.puppets.forEach(o=>{let l=h(this,A,Yt).call(this,o);if(!l)return;let c=h(this,A,ys).call(this,o);for(let f of c)h(this,A,Ot).call(this,f);let u=l.nextElementSibling?.dataset?.rid;u&&h(this,A,Ot).call(this,u)})},ba=function(e=0){let r=this.inject("registry").getPuppets().filter(i=>i.actor?.node?.type==="root"&&h(this,A,Yt).call(this,i));if(r.length===0){let o=Math.min(200*(e+1),2e3);e<10&&b(this,Ge,setTimeout(()=>h(this,A,ba).call(this,e+1),o));return}a(this,Pt)||(b(this,gt,r),b(this,Zt,{}),b(this,Ge,requestIdleCallback(i=>h(this,A,wa).call(this,i),{timeout:5e3})))},wa=function(e){let t=this.inject("registry");for(;a(this,gt).length>0&&e.timeRemaining()>0;){let r=a(this,gt).shift(),{rid:i,actor:o}=r;if(o.node?.type==="root"){for(let l of h(this,A,ys).call(this,r)){let c=t.getPuppet(l);h(this,A,Yt).call(this,c)&&a(this,gt).push(c)}continue}if(!h(this,A,Sa).call(this,r)&&h(this,A,Yt).call(this,r)){try{a(this,Zt)[i]=h(this,A,Ea).call(this,r)}catch(l){console.error("Error building node graph entry during walk:",i,l);continue}for(let l of h(this,A,ys).call(this,r)){let c=t.getPuppet(l);h(this,A,Yt).call(this,c)&&a(this,gt).push(c)}}}a(this,gt).length>0?b(this,Ge,requestIdleCallback(r=>h(this,A,wa).call(this,r),{timeout:5e3})):h(this,A,fu).call(this)},fu=function(){let e=Object.keys(a(this,Zt)).length,t=Object.keys(a(this,Ve)).length;if(e===0&&t>0){h(this,A,vn).call(this);return}b(this,Ve,a(this,Zt)),h(this,A,xa).call(this,a(this,Ve),[],!0),h(this,A,vn).call(this)},vn=function(){let e=()=>h(this,A,ba).call(this);typeof requestIdleCallback<"u"?b(this,Ge,requestIdleCallback(e,{timeout:5e3})):b(this,Ge,setTimeout(e,5e3))},Li=function(){a(this,Ge)!==null&&(typeof cancelIdleCallback<"u"?cancelIdleCallback(a(this,Ge)):clearTimeout(a(this,Ge)),b(this,gt,[]),b(this,Zt,{}),b(this,Ge,null))},xa=function(e,t,r=!1){r?b(this,Pt,!0):(Object.keys(e).length>0||t.length>0)&&b(this,Pt,!1),a(this,Or).forEach(i=>{i(e,t,r)})},du=function(e){let t={};t.width=e.offsetWidth,t.height=e.offsetHeight,t.left=e.offsetLeft,t.top=e.offsetTop;let r=e.parentElement;return r?(t.right=r.offsetWidth-(t.left+t.width),t.bottom=r.offsetHeight-(t.top+t.height)):(t.right=0,t.bottom=0),t},pu=function(e){let t=this.inject("registry"),r=e;for(;r;){if(r.node?.bounds)return r.firstPuppetRid??null;if(r.parentId==null)return null;r=t.getActor(r.parentId)}return null},va=function(e){let t=this.inject("registry"),r=e;for(;r;){if(r.node?.bounds)return r.node[".activeBreakpoint"]??"default";if(r.parentId==null)return"default";r=t.getActor(r.parentId)}return"default"},mu=function(e){let t=this.inject("registry"),r=e;for(;r;){if(r.node?.bounds)return r.node.bounds.width;if(r.parentId==null)return null;r=t.getActor(r.parentId)}return null},yu=function(e,t,r,i){let o={},c=i&&r&&typeof window<"u"?window.getComputedStyle(r):null;for(let u of Of)u in e||(u in t?o[u]=t[u]:c&&(o[u]=c.getPropertyValue(u)));return o},Aa=function(e){if(e?.type!=="instance"||!e.component)return null;let t=this.inject("registry"),r=e.library||"local",i=t.getComponentMeta?.(r,e.component);if(i)return{displayName:i.displayName??e.component,props:i.props??[],slots:i.slots??[],library:i.library??e.library??null,tagName:i.tagName??e.component};let l=t.getActor(e.component)?.node;return l?.type==="component"?{displayName:l.name||e.component,props:l.props??[],slots:[],library:null,tagName:e.component}:null},gu=function(e,t){let r=e.node;if(r.type==="instance"){let i=this.inject("registry"),o=r?.component;if(!o)return null;let c=i.getActor(o)?.node?.name;return c||h(this,A,Aa).call(this,r)?.displayName||o}return r.type==="frame"||r.type==="component"?r.name||null:r.name||r.tagName||t?.tagName?.toLowerCase()||null},bu=function(e){return a(this,En).has(e)},Pf=function(e){return a(this,Pr)===e},wu=function(e){let t=e?.node?.layout;return!!t&&t!=="none"},Sa=function(e){return!!e.instanceRid&&e.actor?.node?.type!=="slot"},Yt=function(e){return au(e)},ys=function(e){return e.actor?.node?.type==="instance"?e.getSlotRids():[...e.getChildrenRids()]},Ea=function(e){let t=this.inject("registry"),{rid:r,actor:i}=e,{id:o,node:l}=i,c=h(this,A,Yt).call(this,e);if(!c)throw new Error(`NodeGraph.#buildEntry: unmeasurable puppet ${r}`);let u=h(this,A,mu).call(this,i)??1/0,f=h(this,A,va).call(this,i),d=l[".interactionState"]??[],x=ou(l,f,d),v=iu(l,u,d),O=h(this,A,bu).call(this,r),T=h(this,A,yu).call(this,x,v,c,O),J={...T,...x},ne=l.type==="slot"&&e.instanceRid?e.instanceRid:c.parentElement?.dataset?.rid,le=ne?t.getActorId(ne):null,se=le?t.getActor(le):null,B=se?.node?.layout??null,et={id:o,node:l,styles:J,authoredStyles:x,inheritedStyles:T,name:h(this,A,gu).call(this,i,c),containerRid:h(this,A,pu).call(this,i),tagName:l.type==="slot"?"slot":l.tagName||c.tagName?.toLowerCase(),isAutoLayout:h(this,A,wu).call(this,se),instanceRid:e.instanceRid,targetable:h(this,A,xu).call(this,l,e),readOnly:h(this,A,vu).call(this,l,e),editable:l.childrenType==="text",root:h(this,A,uu).call(this,r),temp:h(this,A,hu).call(this,r),rect:c.getBoundingClientRect().toJSON(),nextRid:c.nextElementSibling?.dataset?.rid,parentRid:ne,parentLayout:B,offset:h(this,A,du).call(this,c),children:h(this,A,ys).call(this,e)};return O&&(et.contextPaths=h(this,A,Au).call(this,e),l.type==="instance"&&(et.componentMeta=h(this,A,Aa).call(this,l))),et},xu=function(e,t){let r=e.type;if(r==="slot"&&t.instanceRid)return!0;if(r==="instance"||r==="slot"||t.instanceRid)return!1;let i=e.childrenType;return i==="*"||i==="children"||Array.isArray(i)},vu=function(e,t){return e.type==="slot"&&!!t.instanceRid},Au=function(e){if(e?.ctx?.__paths)return e.ctx.__paths;let t=this.inject("registry"),r=t.getContextPaths?.()??[],i=h(this,A,Su).call(this,e.rid,t);return i.length>0?[...r,...i]:r},Su=function(e,t){let r=[],i=new Set,o=e;for(;o;){let l=t.getActorId(o),c=l?t.getActor(l):null;if(!c)break;let u=c.node?.repeat;if(u)for(let d of[u.as,u.index,u.key])d&&!i.has(d)&&(i.add(d),r.push({path:[d],type:"local",dot:d}));let f=a(this,Ve)[o]?.parentRid;if(!f||f===o)break;o=f}return r},k(gs,"manifest",{name:"NodeGraph",namespace:"nodeGraph"});var Ke,qe,Ir,jr,bt,xs,wt,Ra,bs,ws=class extends te{constructor(){super(...arguments);m(this,wt);m(this,Ke,1);m(this,qe,{x:0,y:0});m(this,Ir,0);m(this,jr,0);m(this,bt,{size:12,color:"rgba(139, 139, 139, 0.15)",dotSize:1,visible:!0});m(this,xs,"#1E1E25")}initialize(){h(this,wt,Ra).call(this),h(this,wt,bs).call(this)}actions(e,t){return{set:({scale:r,scroll:i,width:o,height:l})=>{b(this,Ke,r??a(this,Ke)),b(this,qe,i??a(this,qe)),b(this,Ir,o??a(this,Ir)),b(this,jr,l??a(this,jr)),h(this,wt,Ra).call(this),h(this,wt,bs).call(this)},get:()=>({scale:a(this,Ke),scroll:a(this,qe),width:a(this,Ir),height:a(this,jr)}),setGrid:r=>{Object.assign(a(this,bt),r),h(this,wt,bs).call(this)},setBackground:r=>{b(this,xs,r),h(this,wt,bs).call(this)},isFrameVisible:r=>{if(!r)return!0;let i=a(this,Ir)/a(this,Ke),o=a(this,jr)/a(this,Ke),l=-a(this,qe).x/a(this,Ke)-i/2,c=-a(this,qe).y/a(this,Ke)-o/2,u=l+i*2,f=c+o*2;return r.x+r.width>l&&r.x<u&&r.y+r.height>c&&r.y<f}}}};Ke=new WeakMap,qe=new WeakMap,Ir=new WeakMap,jr=new WeakMap,bt=new WeakMap,xs=new WeakMap,wt=new WeakSet,Ra=function(){typeof document>"u"||(document.body.style.transform=`translate(${a(this,qe).x}px, ${a(this,qe).y}px) scale(${a(this,Ke)})`)},bs=function(){if(typeof document>"u")return;let e=document.documentElement,t=a(this,bt).size*a(this,Ke);for(;t<a(this,bt).size;)t*=2;e.style.backgroundColor=a(this,xs),a(this,bt).visible?(e.style.backgroundImage=`radial-gradient(circle, ${a(this,bt).color} ${a(this,bt).dotSize}px, transparent ${a(this,bt).dotSize}px)`,e.style.backgroundSize=`${t}px ${t}px`,e.style.backgroundPosition=`${a(this,qe).x}px ${a(this,qe).y}px`):e.style.backgroundImage="none"},k(ws,"manifest",{name:"Viewport",namespace:"viewport"});var If=/^\{(.+)\}$/;function jf(n){return n.replace(/[/.]/g,"-").replace(/[^a-zA-Z0-9_-]/g,"")}var it,As,Mr,Eu,Ca,vs=class extends te{constructor(){super(...arguments);m(this,Mr);m(this,it,null);m(this,As,null)}initialize(){let e=this.inject("state").ref(["tokens"]);b(this,As,je(()=>e.get())),rt(a(this,As),t=>{h(this,Mr,Eu).call(this,t)})}actions(){return{toCssVar:e=>`var(--${e})`,resolveToken:e=>this.inject("state").ref(["tokens"]).get([e])??null,resolveByPath:e=>{let r=this.inject("state").ref(["tokens"]).get()??{};for(let[i,o]of Object.entries(r))if(o?.$path===e)return{id:i,token:o,cssValue:h(this,Mr,Ca).call(this,o.$value,o.$type)};return null}}}getters(){return{contextPaths:()=>[]}}};it=new WeakMap,As=new WeakMap,Mr=new WeakSet,Eu=function(e){let t=this.inject("styleContext");if(typeof document>"u")return;if(a(this,it)||(b(this,it,document.getElementById("jucie-tokens")),a(this,it)||(b(this,it,document.createElement("style")),a(this,it).id="jucie-tokens",document.head.appendChild(a(this,it)))),!e||Object.keys(e).length===0){a(this,it).textContent="";return}let r=Object.entries(e).filter(([,f])=>f!=null),i=new Map;for(let[f,d]of r)d.$path&&i.set(d.$path,f);let o=r.map(([f,d])=>{let x=typeof d.$value=="string"&&d.$value.match(If);if(x){let O=x[1].replace(/\./g,"/"),T=i.get(O),J=T?`var(--${T})`:"";return` --${f}: ${J};`}let v=h(this,Mr,Ca).call(this,d.$value,d.$type);return` --${f}: ${v};`}).join(`
|
|
16
|
+
`),l=new Set,c=r.map(([f,d])=>{if(!d.$path)return null;let x=jf(d.$path);return!x||l.has(x)?null:(l.add(x),` --${x}: var(--${f});`)}).filter(Boolean).join(`
|
|
17
|
+
`),u=c?`${o}
|
|
18
|
+
${c}`:o;a(this,it).textContent=`:root {
|
|
19
|
+
${u}
|
|
20
|
+
}`,this.inject("sceneCompiler")?.forceNodeGraph?.()},Ca=function(e,t){return e==null?"":typeof e=="string"?e:typeof e=="number"?String(e):typeof e=="object"?Array.isArray(e)?t==="cubicBezier"?`cubic-bezier(${e.join(", ")})`:e.join(", "):"value"in e&&"unit"in e?`${e.value}${e.unit}`:"hex"in e?e.hex:"":String(e)},k(vs,"manifest",{name:"TokenResolver",namespace:"tokenResolver"});var Mf=" ",j,Rn,ke,Bi,Ru,Cu,$a,$u,ku,ka,Oa,Ou,Pa,Pu,Iu,Ss,Es=class extends te{constructor(){super(...arguments);m(this,j)}actions(){return{projectJsx:(e,t)=>h(this,j,Ou).call(this,e,t),projectPuppetJsx:(e,t)=>h(this,j,Pu).call(this,e,t)}}};j=new WeakSet,Rn=function(e,t){let r=Mf.repeat(t);return e.split(`
|
|
21
|
+
`).map(i=>r+i).join(`
|
|
22
|
+
`)},ke=function(e){return String(e).replace(/"/g,""")},Bi=function(e){return String(e).replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">")},Ru=function(e){let t=r=>Math.round(r??0);return`${t(e.x)},${t(e.y)},${t(e.width)}x${t(e.height)}`},Cu=function(e){let t=i=>!i||typeof i!="object"?"":Object.entries(i).map(([o,l])=>`${o}: ${l}`).join("; "),r=[];e.default&&r.push(t(e.default));for(let i of Object.keys(e)){if(i==="default")continue;let o=t(e[i]);o&&r.push(`${i}: { ${o} }`)}return r.filter(Boolean).join(" | ")},$a=function(e){return Array.isArray(e)?e.join("."):e??""},$u=function(e){return e.map(t=>{let r=t.key??t.name??t.event;if(!r)return null;if(t.mode==="binding"||t.binding){let o=h(this,j,$a).call(this,t.binding);return o?`${r}=${o}`:r}let i=t.code??t.expression??t.value??t.handler??"";return i?`${r}=${i}`:r}).filter(Boolean).join(", ")},ku=function(e){return e.map(t=>{let r=t.key??t.name;if(!r)return null;if(t.mode==="binding"||t.binding){let o=h(this,j,$a).call(this,t.binding);return o?`${r}=${o}`:r}let i=t.expression?`{{${t.expression}}}`:t.value??"";return i!==""?`${r}=${i}`:r}).filter(Boolean).join(", ")},ka=function(e,t,r=null){let i=[],o=e.id??t;if(o&&i.push(`id="${h(this,j,ke).call(this,o)}"`),r&&i.push(`rid="${h(this,j,ke).call(this,r)}"`),e.name&&i.push(`name="${h(this,j,ke).call(this,e.name)}"`),e.bounds&&i.push(`bounds="${h(this,j,Ru).call(this,e.bounds)}"`),e.style&&Object.keys(e.style).length){let l=h(this,j,Cu).call(this,e.style);l&&i.push(`style="${h(this,j,ke).call(this,l)}"`)}return e.events?.length&&i.push(`events="${h(this,j,ke).call(this,h(this,j,$u).call(this,e.events))}"`),e.attributes?.length&&i.push(`attrs="${h(this,j,ke).call(this,h(this,j,ku).call(this,e.attributes))}"`),e.className?.length&&i.push(`class="${e.className.join(" ")}"`),e.repeat&&i.push(`repeat="${h(this,j,ke).call(this,JSON.stringify(e.repeat))}"`),e.component&&i.push(`component="${h(this,j,ke).call(this,e.component)}"`),e.library&&i.push(`library="${h(this,j,ke).call(this,e.library)}"`),e.props&&Object.keys(e.props).length&&i.push(`props="${h(this,j,ke).call(this,JSON.stringify(e.props))}"`),e.route?.path&&i.push(`route="${h(this,j,ke).call(this,e.route.path)}"`),e.render?.value&&e.render.value!==!0&&i.push(`render="{{${h(this,j,ke).call(this,e.render.value)}}}"`),e.destination?.path&&i.push(`dest="${h(this,j,ke).call(this,e.destination.path)}"`),i.length?" "+i.join(" "):""},Oa=function(e,t){let r=this.inject("registry"),i,o;return e.type==="element"&&e.tagName?(i=e.tagName,o=r.getPrototype(e.tagName)?.ex??null):e.type?(i=e.type,o=r.getPrototype(e.ex??e.type)?.ex??null):(i=t,o=null),o?`${i}:${o}`:i},Ou=function(e,{maxDepth:t=1/0}={}){return h(this,j,Pa).call(this,e,0,t)},Pa=function(e,t,r){let o=this.inject("registry").resolveComputedNode(e)();if(!o)return`<!-- missing: ${e} -->`;let l=h(this,j,Oa).call(this,o,e),c=h(this,j,ka).call(this,o,e),u=o.textContent?.value||null,f=Array.isArray(o.children)?o.children:[];if(!(f.length>0||u!=null&&u!==""))return`<${l}${c} />`;if(t>=r){let v=f.length?`<\u22EF${f.length} children>`:"<\u22EFtext>";return`<${l}${c}>${v}</${l}>`}if(u!=null&&u!==""&&f.length===0)return`<${l}${c}>${h(this,j,Bi).call(this,u)}</${l}>`;let x=f.map(v=>h(this,j,Rn).call(this,h(this,j,Pa).call(this,v,t+1,r),1)).join(`
|
|
23
|
+
`);return`<${l}${c}>
|
|
24
|
+
${x}
|
|
25
|
+
</${l}>`},Pu=function(e,{maxDepth:t=1/0}={}){return Array.isArray(e)||(e=[e]),e.map(r=>{let i=h(this,j,Iu).call(this,r);return typeof i=="string"&&i.startsWith("<!--")?i:h(this,j,Ss).call(this,i,0,t)}).join(`
|
|
26
|
+
`)},Iu=function(e){let t=this.inject("registry");if(t.hasPuppet(e))return e;let r=t.getActor(e)??t.getActor(t.getActorId(e));if(!r)return`<!-- no actor for: ${e} -->`;let i=r.firstPuppetRid;return i||`<!-- no puppet for: ${e} -->`},Ss=function(e,t,r){let o=this.inject("registry").getPuppet(e);if(!o)return`<!-- missing puppet: ${e} -->`;let l=o.actor,c=l.node;if(!c)return`<!-- missing node for puppet: ${e} -->`;let u=l.id,f=h(this,j,Oa).call(this,c,u),d=h(this,j,ka).call(this,c,u,e),x=c.textContent?.value||null,v=o.getChildEntries(),O=o.getCloneEntries(),T=o.getSlotEntries(),J=v.length>0||O.length>0||T.length>0;if(!(J||x!=null&&x!==""))return`<${f}${d} />`;if(t>=r){let se=v.length+O.length,B=se>0?`<\u22EF${se} children>`:"<\u22EFtext>";return`<${f}${d}>${B}</${f}>`}if(x!=null&&x!==""&&!J)return`<${f}${d}>${h(this,j,Bi).call(this,x)}</${f}>`;let le=[];for(let[,se]of v)le.push(h(this,j,Rn).call(this,h(this,j,Ss).call(this,se,t+1,r),1));for(let[,se]of O)le.push(h(this,j,Rn).call(this,h(this,j,Ss).call(this,se,t+1,r),1));for(let[se,B]of T){let et=[];for(let[,Lt]of B.entries())et.push(h(this,j,Rn).call(this,h(this,j,Ss).call(this,Lt,t+2,r),1));et.length&&le.push(h(this,j,Rn).call(this,`<slot name="${h(this,j,ke).call(this,se)}">
|
|
27
|
+
${et.join(`
|
|
28
|
+
`)}
|
|
29
|
+
</slot>`,1))}return le.length===0&&x!=null&&x!==""?`<${f}${d}>${h(this,j,Bi).call(this,x)}</${f}>`:`<${f}${d}>
|
|
30
|
+
${le.join(`
|
|
31
|
+
`)}
|
|
32
|
+
</${f}>`},k(Es,"manifest",{name:"JSX",namespace:"jsx",version:"1.0.0"});var xt,vt,Tr,Nr,Dr,Fr,Lr,It,De,ju,Ia,ja,Ui,Wi=class{constructor(s=null,e){m(this,De);m(this,xt,null);m(this,vt,null);m(this,Tr,null);m(this,Nr,!1);m(this,Dr,new Map);m(this,Fr,new Map);m(this,Lr,new Set);m(this,It,null);b(this,xt,s??(typeof document<"u"?document:null)),b(this,vt,e)}register(s){let e=a(this,xt)??s.app?.$el?.ownerDocument??document;b(this,xt,e),h(this,De,ju).call(this),this.update(s.id,s.node,s.isInstance)}unregister(s){a(this,Lr).delete(s),a(this,Fr).delete(s),a(this,Dr).delete(s)&&h(this,De,ja).call(this)}update(s,e,t=!1){if(!e)return;let r=a(this,Fr).get(s),i=r!==void 0&&r!==e.layout;a(this,Fr).set(s,e.layout);let o=a(this,vt).resolvePosition(s),l=a(this,vt).resolveInheritedFont(s),c=a(this,vt).buildStyles(s,e,t,o,l);if(a(this,Dr).set(s,c),a(this,Lr).add(s),h(this,De,ja).call(this),i)for(let u of a(this,vt).getChildActorIds(s))this.update(u,a(this,vt).getChildNode(u),!1)}destroy(){h(this,De,Ia).call(this),a(this,xt)&&a(this,Nr)&&(a(this,xt).adoptedStyleSheets=a(this,xt).adoptedStyleSheets.filter(s=>s!==a(this,Tr))),b(this,Nr,!1),a(this,Dr).clear(),a(this,Fr).clear(),a(this,Lr).clear()}};xt=new WeakMap,vt=new WeakMap,Tr=new WeakMap,Nr=new WeakMap,Dr=new WeakMap,Fr=new WeakMap,Lr=new WeakMap,It=new WeakMap,De=new WeakSet,ju=function(){if(a(this,Nr))return;let s=a(this,xt);s&&(a(this,Tr)??b(this,Tr,new CSSStyleSheet),s.adoptedStyleSheets=[...s.adoptedStyleSheets,a(this,Tr)],b(this,Nr,!0))},Ia=function(){a(this,It)&&(cancelAnimationFrame(a(this,It)),b(this,It,null))},ja=function(){if(a(this,vt).view==="design"){h(this,De,Ia).call(this),h(this,De,Ui).call(this);return}if(!a(this,It)){if(typeof requestAnimationFrame>"u"){h(this,De,Ui).call(this);return}b(this,It,requestAnimationFrame(()=>{b(this,It,null),h(this,De,Ui).call(this)}))}},Ui=function(){let s=a(this,Tr);if(!s)return;let e="";for(let t of a(this,Dr).values())for(let r of t)e+=r,e+=`
|
|
33
|
+
`;if(s.replaceSync)s.replaceSync(e);else{for(;s.cssRules.length>0;)s.deleteRule(0);let t=e.split(`
|
|
34
|
+
`);for(let r of t)if(r)try{s.insertRule(r,s.cssRules.length)}catch{}}a(this,Lr).clear()};function Mu(n,s,e){return`${e?`${e} `:""}translate(${n}px, ${s}px)`}function Tf(n){return n.replace(/[A-Z]/g,s=>`-${s.toLowerCase()}`)}var Nf=new Set(["position","top","left","right","bottom"]),Df=new Set(["font-family","fontFamily"]);function Ff(n){return!n||typeof n!="string"||!n.includes("@")?n:n.split(",").map(s=>{let e=s.trim().replace(/^['"]|['"]$/g,""),t=e.indexOf("@"),r=t===-1?e:e.slice(0,t).trim();return r.includes(" ")?`"${r}"`:r}).join(", ")}var jt,Br,$n,kn,be,Tu,Rs,Cn,Ma,Cs=class extends te{constructor(){super(...arguments);m(this,be);m(this,jt,new Map);m(this,Br,"design");m(this,$n);m(this,kn)}initialize(){b(this,Br,this.config?.view??"design")}get view(){return a(this,Br)}actions(){return{createScope:(e,t=null)=>{if(a(this,jt).has(e))return a(this,jt).get(e);let r=new Wi(t,this);return a(this,jt).set(e,r),r},getScope:e=>a(this,jt).get(e)??null,destroyScope:e=>{let t=a(this,jt).get(e);t&&(t.destroy(),a(this,jt).delete(e))},buildStyles:(e,t,r,i,o)=>this.buildStyles(e,t,r,i,o)}}resolvePosition(e){let t=a(this,be,Rs);if(!t)return null;let r=t.getActor(e);if(!r)return null;let i=r.node;if(i?.bounds||i?.isComponentRoot)return null;if(r.parentId==null)return"absolute";let o=t.getActor(r.parentId);if(!o)return"absolute";let l=o.node?.layout;return l&&l!=="none"?"relative":"absolute"}resolveInheritedFont(e){let t=a(this,be,Rs);if(!t)return null;let r=t.getActor(e);for(;r;){let i=r.node?.style?.default,o=i?.["font-family"]||i?.fontFamily;if(o){let l=i?.["font-style"]||i?.fontStyle||"normal";return{family:o,style:l}}r=r.parentId?t.getActor(r.parentId):null}return null}getChildActorIds(e){let t=a(this,be,Rs);return t?t.getActor(e)?.children??[]:[]}getChildNode(e){let t=a(this,be,Rs);return t?t.getActor(e)?.node??null:null}buildStyles(e,t,r=!1,i=null,o=null){let l=[],c=r?`.${e}.${e}`:`.${e}`,u=!!t.isComponentRoot,f=a(this,Br);if(t.style){let d=t.style;if(d.default){let v=d.default;if(i&&!t.bounds&&!t.isComponentRoot&&!v?.position){let O={position:i,...v};l.push(...h(this,be,Cn).call(this,e,c,O,null,u,o))}else l.push(...h(this,be,Cn).call(this,e,c,v,null,u,o))}else i&&!t.bounds&&!t.isComponentRoot&&l.push(...h(this,be,Cn).call(this,e,c,{position:i},null,u,o));let x=[];for(let v in d){if(!ga(v))continue;let O=ya(v);O!==null&&x.push({min:O,bpKey:v})}x.sort((v,O)=>v.min-O.min);for(let{min:v,bpKey:O}of x){let T=d[O];T&&l.push(...h(this,be,Cn).call(this,e,c,T,v,u,o))}}else i&&!t.bounds&&!t.isComponentRoot&&l.push(...h(this,be,Cn).call(this,e,c,{position:i},null,u,o));if(f==="design"){let d=t[".position"];if(d){let x=t.style?.default?.transform,v=Mu(d.x,d.y,x);l.push(`${c} { transform: ${v}; }`)}}if(t.bounds){let d=t.bounds;f==="design"?l.push(`${c} { container-type: inline-size; position: absolute; top: ${d.y||0}px !important; left: ${d.x||0}px !important; width: ${d.width||0}px !important; height: ${d.height||0}px !important; }`):l.push(`${c} { container-type: inline-size; position: relative; width: 100vw; height: 100vh; }`)}return l}};jt=new WeakMap,Br=new WeakMap,$n=new WeakMap,kn=new WeakMap,be=new WeakSet,Tu=function(){return a(this,$n)===void 0&&b(this,$n,this.inject("fontResolver")??null),a(this,$n)},Rs=function(){return a(this,kn)===void 0&&b(this,kn,this.inject("registry")??null),a(this,kn)},Cn=function(e,t,r,i,o=!1,l=null){let c=[],u=a(this,Br),f=h(this,be,Ma).call(this,r,o,l);if(f){let d;i?u==="design"?d=`[data-bp~="${i}"] ${t} { ${f} }`:d=`@container (min-width: ${i}px) { ${t} { ${f} } }`:d=`${t} { ${f} }`,c.push(d)}for(let d in r){if(!d.startsWith(":")&&!d.startsWith("&"))continue;let x=r[d];if(!x)continue;let v=h(this,be,Ma).call(this,x,o,l);if(v)if(d.startsWith("&")){let O=d.slice(1),T=`${t}${O}`;i?u==="design"?c.push(`[data-bp~="${i}"] ${T} { ${v} }`):c.push(`@container (min-width: ${i}px) { ${T} { ${v} } }`):c.push(`${T} { ${v} }`)}else{let O=`${t}${d}`,T=`${t}.force-${d.slice(1)}`;i?u==="design"?(c.push(`[data-bp~="${i}"] ${O} { ${v} }`),c.push(`[data-bp~="${i}"] ${T} { ${v} }`)):(c.push(`@container (min-width: ${i}px) { ${O} { ${v} } }`),c.push(`@container (min-width: ${i}px) { ${T} { ${v} } }`)):(c.push(`${O} { ${v} }`),c.push(`${T} { ${v} }`))}}return c},Ma=function(e,t=!1,r=null){let i=a(this,be,Tu);if(i){let l=e["font-family"]||e.fontFamily,c=e["font-weight"]||e.fontWeight||"400",u=e["font-style"]||e.fontStyle||"normal";if(l)i.resolve(l,c,u);else if(r){let f=e["font-weight"]||e.fontWeight,d=e["font-style"]||e.fontStyle;(f||d)&&i.resolve(r.family,c,d?u:r.style)}}let o=[];for(let l in e){if(l.startsWith(":")||l.startsWith("&")||t&&Nf.has(l))continue;let c=e[l];c!=null&&(i&&Df.has(l)&&(c=Ff(c)),o.push(`${Tf(l)}: ${c}`))}return o.join("; ")},k(Cs,"manifest",{name:"StyleContext",namespace:"styleContext"});var Lf=new Set(["serif","sans-serif","monospace","cursive","fantasy","system-ui","ui-serif","ui-sans-serif","ui-monospace","ui-rounded","math","emoji","fangsong","Helvetica","Arial","Arial Black","Verdana","Tahoma","Trebuchet MS","Impact","Gill Sans","Times New Roman","Georgia","Palatino","Baskerville","Andal\xE9 Mono","Courier","Courier New","Lucida","Lucida Console","Lucida Sans","Monaco","Bradley Hand","Brush Script MT","Luminari","Comic Sans MS","Segoe UI","Roboto","Helvetica Neue","-apple-system","BlinkMacSystemFont","SF Pro","SF Mono","Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"]),Bf=new Set([...Lf].map(n=>n.toLowerCase()));function Xt(n){return Bf.has(n.toLowerCase().trim())}function On(n){return!n||typeof n!="string"?[]:n.includes("var(")?[]:n.split(",").map(s=>s.trim().replace(/^['"]|['"]$/g,"")).filter(Boolean).map(Uf)}function Uf(n){let s=n.indexOf("@");if(s===-1){let r=n.trim();return{name:r,source:Xt(r)?"system":null}}let e=n.slice(0,s).trim(),t=n.slice(s+1).trim();return t==="google"?{name:e,source:"google"}:t==="local"?{name:e,source:"local"}:t.startsWith("http://")||t.startsWith("https://")||t.startsWith("/")?{name:e,source:"url",url:t}:{name:e,source:t}}function Wf(n){return!n||typeof n!="string"||n.includes("var(")?n:n.split(",").map(s=>{let e=s.trim().replace(/^['"]|['"]$/g,""),t=e.indexOf("@"),r=t===-1?e:e.slice(0,t).trim();return r.includes(" ")?`"${r}"`:r}).join(", ")}var zf={thin:"100",hairline:"100","extra-light":"200","ultra-light":"200",light:"300",normal:"400",regular:"400",medium:"500","semi-bold":"600","demi-bold":"600",bold:"700","extra-bold":"800","ultra-bold":"800",black:"900",heavy:"900"};function _f(n){if(!n)return"400";let s=String(n).toLowerCase().trim();return zf[s]??s}function Vf(n){if(!n)return"0";let s=String(n).toLowerCase().trim();return s==="italic"||s==="oblique"?"1":"0"}function zi(n,s){return`${Vf(s)},${_f(n)}`}function Hf(n){if(!n||n.size===0)return"";let s=[],e=Nu(n);e&&s.push('<link rel="preconnect" href="https://fonts.googleapis.com">','<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>',`<link href="${e}" rel="stylesheet">`);let t=Du(n);return t&&s.push(`<style>
|
|
35
|
+
${t}</style>`),s.join(`
|
|
36
|
+
`)}function Nu(n){let s=[];for(let[e,t]of n){if(t.source!=="google")continue;let r=[...t.variants].sort();if(r.some(o=>o.startsWith("1,")))s.push(`family=${e.replace(/ /g,"+")}:ital,wght@${r.join(";")}`);else{let o=r.map(l=>l.split(",")[1]).sort((l,c)=>Number(l)-Number(c));s.push(`family=${e.replace(/ /g,"+")}:wght@${o.join(";")}`)}}return s.length===0?null:`https://fonts.googleapis.com/css2?${s.join("&")}&display=swap`}function Du(n){let s=[];for(let[e,t]of n){if(t.source==="google"||!t.url)continue;let r=t.url.split(".").pop()?.toLowerCase(),i={woff2:"woff2",woff:"woff",ttf:"truetype",otf:"opentype"}[r]||"woff2";for(let o of t.variants){let[l,c]=o.split(","),u=l==="1"?"italic":"normal";s.push(` @font-face {
|
|
37
|
+
font-family: "${e}";
|
|
38
|
+
src: url("${t.url}") format("${i}");
|
|
39
|
+
font-weight: ${c};
|
|
40
|
+
font-style: ${u};
|
|
41
|
+
font-display: swap;
|
|
42
|
+
}`)}}return s.length>0?s.join(`
|
|
43
|
+
`):""}function Ta(n){return n["font-family"]||n.fontFamily||null}function _i(n){return n["font-weight"]||n.fontWeight||null}function Vi(n){return n["font-style"]||n.fontStyle||null}var Oe,Fe,ot,at,Je,K,Fu,Lu,Bu,Uu,Na,Wu,zu,_u,Ur,Vu,Hu,Da,Fa,Pn=class extends te{constructor(){super(...arguments);m(this,K);m(this,Oe,new Map);m(this,Fe,null);m(this,ot,null);m(this,at,null);m(this,Je,null)}initialize(){b(this,Oe,new Map),h(this,K,Da).call(this)}actions(){return{resolve:(e,t,r)=>h(this,K,Fu).call(this,e,t,r),requestFont:(e,t,r)=>h(this,K,Vu).call(this,e,t,r),hasFont:e=>h(this,K,Hu).call(this,e),getFonts:()=>a(this,Oe),buildLinks:()=>h(this,K,Lu).call(this)}}getters(){return{contextPaths:()=>[]}}};Oe=new WeakMap,Fe=new WeakMap,ot=new WeakMap,at=new WeakMap,Je=new WeakMap,K=new WeakSet,Fu=function(e,t="400",r="normal"){if(!e||typeof e!="string")return e;let i=On(e),o=!1;for(let{name:l,source:c,url:u}of i)c==="system"||Xt(l)||h(this,K,Ur).call(this,l,t,r,c||"google",u)&&(o=!0);return o&&h(this,K,Fa).call(this),Wf(e)},Lu=function(){return Hf(h(this,K,Bu).call(this))},Bu=function(){b(this,Oe,new Map);let e=this.inject("state");h(this,K,Uu).call(this,e);let t=e.get(["nodes"]);return t?.app&&h(this,K,Na).call(this,"app",t,null),a(this,Oe)},Uu=function(e){let t=e.get(["tokens"]);if(t){for(let[,r]of Object.entries(t))if(!(!r||r.$type!=="fontFamily"))for(let{name:i,source:o,url:l}of On(r.$value))o==="system"||Xt(i)||h(this,K,Ur).call(this,i,"400","normal",o||"google",l)}},Na=function(e,t,r){let i=t[e];if(!i)return;let{families:o}=h(this,K,_u).call(this,i),l=r;if(o.size>0){for(let[u,f]of o)if(f.variants.size>0)for(let d of f.variants){let[,x]=d.split(","),v=d.startsWith("1,")?"italic":"normal";h(this,K,Ur).call(this,u,x,v,f.source,f.url)}else h(this,K,Ur).call(this,u,"400","normal",f.source,f.url);l=h(this,K,Wu).call(this,i)||[...o.keys()][0]}else if(l)for(let c of h(this,K,zu).call(this,i)){let u=a(this,Oe).get(l),[,f]=c.split(","),d=c.startsWith("1,")?"italic":"normal";h(this,K,Ur).call(this,l,f,d,u?.source||"google",u?.url)}if(Array.isArray(i.children))for(let c of i.children)h(this,K,Na).call(this,c,t,l)},Wu=function(e){let t=e?.style?.default;if(!t)return null;let r=Ta(t);return r&&On(r).find(o=>o.source!=="system"&&!Xt(o.name))?.name||null},zu=function(e){if(!e?.style)return[];let t=new Set;for(let[,r]of Object.entries(e.style)){if(!r||typeof r!="object")continue;let i=_i(r),o=Vi(r);(i||o)&&t.add(zi(i||"400",o||"normal"));for(let[l,c]of Object.entries(r))if((l.startsWith(":")||l.startsWith("&"))&&c&&typeof c=="object"){let u=_i(c),f=Vi(c);(u||f)&&t.add(zi(u||"400",f||"normal"))}}return[...t]},_u=function(e){let t=new Map;if(!e?.style)return{families:t};function r(i,o,l){if(!i)return;let c=On(i).find(u=>u.source!=="system"&&!Xt(u.name));c&&(t.has(c.name)||t.set(c.name,{source:c.source||"google",url:c.url,variants:new Set}),(o||l)&&t.get(c.name).variants.add(zi(o||"400",l||"normal")))}for(let[,i]of Object.entries(e.style))if(!(!i||typeof i!="object")){r(Ta(i),_i(i),Vi(i));for(let[o,l]of Object.entries(i))(o.startsWith(":")||o.startsWith("&"))&&l&&typeof l=="object"&&r(Ta(l),_i(l),Vi(l))}return{families:t}},Ur=function(e,t="400",r="normal",i="google",o){if(!e||Xt(e))return!1;let l=zi(t,r),c=!1;a(this,Oe).has(e)||(a(this,Oe).set(e,{source:i||"google",url:o,variants:new Set}),c=!0,console.log("[FontResolver] registered new font:",e,"@"+i));let u=a(this,Oe).get(e);return u.variants.has(l)||(u.variants.add(l),c=!0),c},Vu=function(e,t="400",r="normal"){if(!e||typeof e!="string")return;let i=!1;for(let{name:o,source:l,url:c}of On(e))l==="system"||Xt(o)||h(this,K,Ur).call(this,o,t,r,l||"google",c)&&(i=!0);i&&h(this,K,Fa).call(this)},Hu=function(e){if(!e||typeof e!="string")return!1;let t=On(e);return t.length===0?a(this,Oe).has(e):t.some(({name:r,source:i})=>i!=="system"&&!Xt(r)&&a(this,Oe).has(r))},Da=function(){typeof document>"u"||(a(this,at)||(b(this,at,document.getElementById("jucie-fonts-preconnect-googleapis")),a(this,at)||(b(this,at,document.createElement("link")),a(this,at).id="jucie-fonts-preconnect-googleapis",a(this,at).rel="preconnect",a(this,at).href="https://fonts.googleapis.com",document.head.appendChild(a(this,at)))),a(this,Je)||(b(this,Je,document.getElementById("jucie-fonts-preconnect-gstatic")),a(this,Je)||(b(this,Je,document.createElement("link")),a(this,Je).id="jucie-fonts-preconnect-gstatic",a(this,Je).rel="preconnect",a(this,Je).href="https://fonts.gstatic.com",a(this,Je).crossOrigin="",document.head.appendChild(a(this,Je)))),a(this,Fe)||(b(this,Fe,document.getElementById("jucie-fonts")),a(this,Fe)||(b(this,Fe,document.createElement("link")),a(this,Fe).id="jucie-fonts",a(this,Fe).rel="stylesheet",document.head.appendChild(a(this,Fe)))),a(this,ot)||(b(this,ot,document.getElementById("jucie-fonts-custom")),a(this,ot)||(b(this,ot,document.createElement("style")),a(this,ot).id="jucie-fonts-custom",document.head.appendChild(a(this,ot)))))},Fa=function(){if(typeof document>"u")return;h(this,K,Da).call(this);let e=Nu(a(this,Oe));e?a(this,Fe).href!==e&&(a(this,Fe).href=e):a(this,Fe)&&a(this,Fe).removeAttribute("href");let t=Du(a(this,Oe));a(this,ot)&&(a(this,ot).textContent=t)},k(Pn,"manifest",{name:"FontResolver",namespace:"fontResolver"});var Gu=({state:n,config:s={}})=>{try{let e=[as.configure(s),ts.configure(s),Cs.configure(s),Pn.configure(s),us.configure(s),ms.configure(s),vs.configure(s),Es.configure(s),ps.configure(s)];return s.view==="design"&&(e.push(ws.configure(s)),e.push(gs.configure(s))),rl.create().install(_l.configure({state:n}),...e)}catch(e){return console.error("createRuntime error",e),null}};var In,Gi,Ki,Ku,Hi=class extends te{constructor(){super(...arguments);m(this,Ki);k(this,"runtime",null);k(this,"apps",new Map);m(this,In,"__jucieDesignConsoleFilterOrig");m(this,Gi,[/changing the uncontrolled .+ state .+ to be controlled/i,/changing from uncontrolled to controlled/i,/A component is changing an uncontrolled input to be controlled/i,/A component is changing a controlled input to be uncontrolled/i,/MUI: /])}initialize(e,t){h(this,Ki,Ku).call(this,t?.view==="design");let r=e("state"),i=r.instance??r;if(this.runtime=Gu({state:i,config:t}),!this.runtime)throw new Error("SceneCompiler: runtime construction failed")}actions(e,t){let r=e("state");return{create:async(i,o,l={})=>this.runtime.registry.createApp(i,o,l),loadSources:i=>this.runtime.registry.loadSources(i),loadPrototypes:i=>this.runtime.registry.loadPrototypes(i),getMeta:()=>this.runtime.registry.getAllComponents().filter(i=>i.library!=="local"||i.meta?.origin==="source").map(i=>i.meta),getId:i=>this.runtime.registry.getActorId(i),getIds:i=>i.map(o=>this.runtime.registry.getActorId(o)),projectJsx:(i,o)=>this.runtime.jsx.projectJsx(i,o),projectPuppetJsx:(i,o)=>this.runtime.jsx.projectPuppetJsx(i,o),getActiveBreakpoint:i=>this.runtime.nodeGraph?.getActiveBreakpoint(i),addNodeGraphListener:i=>this.runtime.nodeGraph?.addListener(i),removeNodeGraphListener:i=>this.runtime.nodeGraph?.removeListener(i),startNodeGraph:()=>this.runtime.nodeGraph?.startNodeGraph(),disableNodeGraph:()=>this.runtime.nodeGraph?.disableNodeGraph(),pauseNodeGraph:()=>this.runtime.nodeGraph?.pauseNodeGraph(),resumeNodeGraph:()=>this.runtime.nodeGraph?.resumeNodeGraph(),forceNodeGraph:()=>this.runtime.nodeGraph?.forceNodeGraph(),getNodeGraph:()=>this.runtime.nodeGraph?.getNodeGraph()??{},getFocalRid:()=>this.runtime.nodeGraph?.getFocalRid()??null,setSelectedRids:i=>this.runtime.nodeGraph?.setSelectedRids(i),getSelectedRids:()=>this.runtime.nodeGraph?.getSelectedRids()??[],setFocalRid:i=>this.runtime.nodeGraph?.setFocalRid(i),setViewport:i=>this.runtime.viewport?.set(i),getViewport:()=>this.runtime.viewport?.get()??null,setGrid:i=>this.runtime.viewport?.setGrid(i),setBackground:i=>this.runtime.viewport?.setBackground(i),animate:(i,o,l)=>this.runtime.animator.play(i,o,l),cancelAnimation:(i,o)=>this.runtime.animator.cancel(i,o),getAnimations:()=>this.runtime.animator.getLoadedAnimations(),seekAnimation:(i,o)=>this.runtime.animator.seekAnimation(i,o),addPattern:(i,o,l={})=>this.runtime.registry.addPattern(i,o,l),getPatterns:()=>this.runtime.registry.getPatterns(),removePattern:i=>this.runtime.registry.removePattern(i),navigate:i=>this.runtime?.router?.navigate(i)}}getRoutes(){let e=this.inject("state");return Object.entries(sceneGraph).filter(([t,r])=>r.type==="frame").map(([t,r])=>({id:t,path:r.route.basePath||`/${t}`,params:r.route.params||[],title:r.route.title||t}))}};In=new WeakMap,Gi=new WeakMap,Ki=new WeakSet,Ku=function(e){if(typeof globalThis>"u"||typeof console>"u")return;if(!e){if(!globalThis.__jucieDesignConsoleFilter)return;let r=globalThis[a(this,In)];if(r)for(let i of["warn","error"])typeof r[i]=="function"&&(console[i]=r[i]);delete globalThis[a(this,In)],globalThis.__jucieDesignConsoleFilter=!1;return}if(globalThis.__jucieDesignConsoleFilter)return;globalThis.__jucieDesignConsoleFilter=!0;let t={};for(let r of["warn","error"])t[r]=console[r].bind(console),console[r]=(...i)=>{let o=i.map(l=>{if(typeof l=="string")return l;if(l instanceof Error)return l.message??String(l);try{return String(l)}catch{return""}}).join(" ");a(this,Gi).some(l=>l.test(o))||t[r](...i)};globalThis[a(this,In)]=t},k(Hi,"manifest",{name:"Scene Compiler",namespace:"sceneCompiler",version:"1.0.0",description:"Scene compiler extension",author:"",license:"MIT",homepage:""});var oe={HELLO:1,WELCOME:2,DENY:3,EVENT:4,REQUEST:5,REPLY:6,ERROR:7,SUBSCRIBE:8,UNSUB:9,PING:10,PONG:11},Ly=Object.fromEntries(Object.entries(oe).map(([n,s])=>[s,n])),Gf=1,xe={UNAUTHORIZED:"UNAUTHORIZED",FORBIDDEN:"FORBIDDEN",PROTOCOL_MISMATCH:"PROTOCOL_MISMATCH",HANDSHAKE_TIMEOUT:"HANDSHAKE_TIMEOUT",HANDSHAKE_REQUIRED:"HANDSHAKE_REQUIRED",PAYLOAD_TOO_LARGE:"PAYLOAD_TOO_LARGE",MALFORMED:"MALFORMED",SERVER_ERROR:"SERVER_ERROR"},Ee={NORMAL:1e3,GOING_AWAY:1001,UNAUTHORIZED:4001,FORBIDDEN:4003,HANDSHAKE_TIMEOUT:4008,PROTOCOL_MISMATCH:4010,PAYLOAD_TOO_LARGE:4009,BACKPRESSURE:4011,HEARTBEAT_TIMEOUT:4012},By={[xe.UNAUTHORIZED]:Ee.UNAUTHORIZED,[xe.FORBIDDEN]:Ee.FORBIDDEN,[xe.PROTOCOL_MISMATCH]:Ee.PROTOCOL_MISMATCH,[xe.HANDSHAKE_TIMEOUT]:Ee.HANDSHAKE_TIMEOUT,[xe.HANDSHAKE_REQUIRED]:Ee.HANDSHAKE_TIMEOUT,[xe.PAYLOAD_TOO_LARGE]:Ee.PAYLOAD_TOO_LARGE,[xe.MALFORMED]:Ee.PROTOCOL_MISMATCH,[xe.SERVER_ERROR]:Ee.GOING_AWAY},Va=1e6,Kf=new Set(Object.values(oe));function qf(n,s="HANDLER_ERROR"){return n==null?{message:"Unknown error",code:s}:typeof n=="string"?{message:n,code:s}:{message:typeof n.message=="string"?n.message:String(n),code:n.code||s}}function Jf(n){if(n instanceof Error)return n;let s=n?.message??n?.reason??(typeof n=="string"?n:"Unknown error"),e=new Error(s);return n?.code&&(e.code=n.code),e}function $s(n,s=null,e=null,t=null,r=null,{maxBytes:i=Va}={}){let o=[n,s,e,t,r];for(;o.length>1&&(o[o.length-1]===null||o[o.length-1]===void 0);)o.pop();let l;try{l=JSON.stringify(o)}catch(u){let f=new Error(`Frame payload is not JSON-serializable: ${u.message}`);throw f.code="NOT_SERIALIZABLE",f}if(l===void 0){let u=new Error("Frame payload is not JSON-serializable");throw u.code="NOT_SERIALIZABLE",u}let c=typeof Buffer<"u"?Buffer.byteLength(l,"utf8"):new TextEncoder().encode(l).length;if(c>i){let u=new Error(`Frame of ${c} bytes exceeds the ${i} byte limit`);throw u.code=xe.PAYLOAD_TOO_LARGE,u}return l}function Yf(n,{maxBytes:s=Va}={}){let e=n;if(typeof e!="string"){if(e==null)return{ok:!1,code:xe.MALFORMED,reason:"Empty frame"};try{e=e.toString("utf8")}catch{return{ok:!1,code:xe.MALFORMED,reason:"Frame is not decodable text"}}}let t=typeof Buffer<"u"?Buffer.byteLength(e,"utf8"):new TextEncoder().encode(e).length;if(t>s)return{ok:!1,code:xe.PAYLOAD_TOO_LARGE,reason:`Frame of ${t} bytes exceeds the ${s} byte limit`};let r;try{r=JSON.parse(e)}catch{return{ok:!1,code:xe.MALFORMED,reason:"Frame is not valid JSON"}}if(!Array.isArray(r)||r.length===0)return{ok:!1,code:xe.MALFORMED,reason:"Frame must be a non-empty array"};let[i,o=null,l=null,c=null,u=null]=r;return Kf.has(i)?o!==null&&typeof o!="string"?{ok:!1,code:xe.MALFORMED,reason:"Frame id must be a string or null"}:l!==null&&typeof l!="string"?{ok:!1,code:xe.MALFORMED,reason:"Frame event must be a string or null"}:{ok:!0,frame:{type:i,id:o,event:l,payload:c,meta:u}}:{ok:!1,code:xe.MALFORMED,reason:`Unknown frame type: ${JSON.stringify(i)}`}}function Qf(){let n=globalThis.crypto;if(n&&typeof n.randomUUID=="function")return n.randomUUID();if(n&&typeof n.getRandomValues=="function"){let s=n.getRandomValues(new Uint8Array(16));s[6]=s[6]&15|64,s[8]=s[8]&63|128;let e=[...s].map(t=>t.toString(16).padStart(2,"0")).join("");return`${e.slice(0,8)}-${e.slice(8,12)}-${e.slice(12,16)}-${e.slice(16,20)}-${e.slice(20)}`}return`id-${Date.now().toString(36)}-${Math.random().toString(36).slice(2,10)}`}var qu=1,Zf=0,Xf=new Set([oe.REPLY,oe.ERROR,oe.WELCOME,oe.DENY]),Ye,lt,Ps,Is,At,js,ct,jn,Qe,zr,he,Wr,Ua,Zu,Xu,qi,Yu,ed=(Yu=class{constructor(n,{timeoutMs:s=1e3,maxBytes:e=Va,maxBufferedBytes:t=4e6}={}){m(this,he);m(this,Ye);m(this,lt,new Map);m(this,Ps,null);m(this,Is,null);m(this,At,null);m(this,js);m(this,ct);m(this,jn);m(this,Qe,!1);m(this,zr,[]);b(this,Ye,n),b(this,js,s),b(this,ct,e),b(this,jn,t)}get closed(){return a(this,Qe)}get socket(){return a(this,Ye)}get bufferedAmount(){return a(this,Ye)?.bufferedAmount??0}get maxBytes(){return a(this,ct)}attach(){let n=a(this,Ye);return n?(n.onmessage=s=>h(this,he,Zu).call(this,s?.data??s),n.onclose=s=>h(this,he,qi).call(this,s?.code??Ee.NORMAL,s?.reason??""),n.onerror=s=>{var t;let e=s instanceof Error?s:new Error(s?.message||"Socket error");(t=a(this,At))==null||t.call(this,e)},n.onopen=()=>h(this,he,Ua).call(this),n.readyState===qu&&h(this,he,Ua).call(this),this):this}onFrame(n){return b(this,Ps,n),this}onClose(n){return b(this,Is,n),this}onError(n){return b(this,At,n),this}send(n,s=null,e=null,t=null){var i;if(a(this,Qe))return!1;let r;try{r=$s(n,null,s,e,t,{maxBytes:a(this,ct)})}catch(o){return(i=a(this,At))==null||i.call(this,o),!1}return h(this,he,Wr).call(this,r)}request(n,s=null,e=null,t=null,r=a(this,js)){if(a(this,Qe))return Promise.reject(new Error("Connection is closed"));let i=Qf(),o;try{o=$s(n,i,s,e,t,{maxBytes:a(this,ct)})}catch(l){return Promise.reject(l)}return new Promise((l,c)=>{let u=setTimeout(()=>{a(this,lt).delete(i);let f=new Error(`Request "${s}" timed out after ${r}ms`);f.code="TIMEOUT",c(f)},r);a(this,lt).set(i,{resolve:l,reject:c,timer:u}),h(this,he,Wr).call(this,o)||(clearTimeout(u),a(this,lt).delete(i),c(new Error(`Failed to send request "${s}"`)))})}reply(n,s){if(!n||a(this,Qe))return!1;let e;try{e=$s(oe.REPLY,n,null,s??null,null,{maxBytes:a(this,ct)})}catch(t){return this.replyError(n,t)}return h(this,he,Wr).call(this,e)}replyWith(n,s,e){var r;if(a(this,Qe))return!1;let t;try{t=$s(n,s??null,null,e??null,null,{maxBytes:a(this,ct)})}catch(i){return(r=a(this,At))==null||r.call(this,i),!1}return h(this,he,Wr).call(this,t)}replyError(n,s,e){if(!n||a(this,Qe))return!1;let t;try{t=$s(oe.ERROR,n,null,qf(s,e),null,{maxBytes:a(this,ct)})}catch{return!1}return h(this,he,Wr).call(this,t)}close(n=Ee.NORMAL,s=""){if(!a(this,Qe)){try{a(this,Ye)?.close(n,s)}catch{}h(this,he,qi).call(this,n,s)}}terminate(n=Ee.GOING_AWAY,s=""){if(typeof a(this,Ye)?.terminate=="function"){try{a(this,Ye).terminate()}catch{}h(this,he,qi).call(this,n,s);return}this.close(n,s)}},Ye=new WeakMap,lt=new WeakMap,Ps=new WeakMap,Is=new WeakMap,At=new WeakMap,js=new WeakMap,ct=new WeakMap,jn=new WeakMap,Qe=new WeakMap,zr=new WeakMap,he=new WeakSet,Wr=function(n){var e,t;let s=a(this,Ye);if(!s)return!1;if(s.readyState===Zf)return a(this,zr).push(n),!0;if(s.readyState!==qu)return!1;if(this.bufferedAmount>a(this,jn))return(e=a(this,At))==null||e.call(this,new Error(`Send buffer exceeded ${a(this,jn)} bytes`)),this.close(Ee.BACKPRESSURE,"Send buffer exceeded"),!1;try{return s.send(n),!0}catch(r){return(t=a(this,At))==null||t.call(this,r),!1}},Ua=function(){if(!a(this,zr).length)return;let n=a(this,zr).splice(0);for(let s of n)h(this,he,Wr).call(this,s)},Zu=function(n){var t,r;let s=Yf(n,{maxBytes:a(this,ct)});if(!s.ok){(t=a(this,At))==null||t.call(this,Object.assign(new Error(s.reason),{code:s.code,malformed:!0}));return}let e=s.frame;if(Xf.has(e.type)&&e.id&&a(this,lt).has(e.id)){h(this,he,Xu).call(this,e);return}(r=a(this,Ps))==null||r.call(this,e)},Xu=function(n){let s=a(this,lt).get(n.id);if(s){if(clearTimeout(s.timer),a(this,lt).delete(n.id),n.type===oe.ERROR||n.type===oe.DENY){s.reject(Jf(n.payload));return}s.resolve(n.payload)}},qi=function(n,s){var t;if(a(this,Qe))return;b(this,Qe,!0);let e=a(this,Ye);e&&(e.onmessage=null,e.onclose=null,e.onerror=null,e.onopen=null);for(let[,r]of a(this,lt))clearTimeout(r.timer),r.reject(new Error(`Connection closed (${n}${s?`: ${s}`:""})`));a(this,lt).clear(),b(this,zr,[]),(t=a(this,Is))==null||t.call(this,{code:n,reason:s})},Yu),Se,_r,Ms,Ze,Vr,Mn,Ts,Wa,Qu,td=(Qu=class{constructor({inject:n=()=>{},onSubscribe:s=null,onUnsubscribe:e=null}={}){m(this,Ts);m(this,Se,new Map);m(this,_r,[]);m(this,Ms);m(this,Ze,!1);m(this,Vr,null);m(this,Mn,null);b(this,Ms,n),b(this,Vr,s),b(this,Mn,e)}get live(){return a(this,Ze)}get size(){return a(this,Se).size}setLive(n){var s;if(!n)return b(this,Ze,!1),this;if(a(this,_r).length){let e=a(this,_r).splice(0);for(let{namespace:t,factory:r}of e)h(this,Ts,Wa).call(this,t,r)}b(this,Ze,!0);for(let[e,t]of this.entries())(s=a(this,Vr))==null||s.call(this,e,t);return this}use(n,...s){for(let e of s.flat()){if(typeof e!="function")throw new Error("use() expects contract factories created with defineContracts");a(this,Ze)?h(this,Ts,Wa).call(this,n,e):a(this,_r).push({namespace:n,factory:e})}return this}add(n,{schema:s,subscriber:e,once:t=!1,timeoutMs:r}={}){var o;if(typeof e!="function")throw new Error(`Subscriber for "${n}" must be a function`);a(this,Se).has(n)||a(this,Se).set(n,new Set);let i={event:n,schema:s,subscriber:e,once:t,timeoutMs:r};return a(this,Se).get(n).add(i),a(this,Ze)&&((o=a(this,Vr))==null||o.call(this,n,this.timeoutFor(n))),()=>this.remove(n,e)}remove(n,s){var r,i;let e=a(this,Se).get(n);if(!e)return!1;let t=!1;for(let o of e)o.subscriber===s&&(e.delete(o),t=!0);return e.size===0?(a(this,Se).delete(n),a(this,Ze)&&((r=a(this,Mn))==null||r.call(this,n))):t&&a(this,Ze)&&((i=a(this,Vr))==null||i.call(this,n,this.timeoutFor(n))),t}has(n){return a(this,Se).has(n)}timeoutFor(n){let s;for(let e of a(this,Se).get(n)??[])e.timeoutMs!==void 0&&(s===void 0||e.timeoutMs>s)&&(s=e.timeoutMs);return s}entries(){return[...a(this,Se).keys()].map(n=>[n,this.timeoutFor(n)])}events(){return[...a(this,Se).keys()]}clear(){return a(this,Se).clear(),b(this,_r,[]),b(this,Ze,!1),this}async dispatch(n,s=[],e=void 0){var l;let t=a(this,Se).get(n);if(!t||t.size===0)return{handled:!1,result:null};let r=Array.isArray(s)?s:[s],i=!1,o;for(let c of[...t]){if(!rd(n,r,c.schema))continue;i=!0,c.once&&t.delete(c);let u=await c.subscriber(...r,e);o===void 0&&u!==void 0&&(o=u)}return t.size===0&&(a(this,Se).delete(n),a(this,Ze)&&((l=a(this,Mn))==null||l.call(this,n))),{handled:i,result:o??null}}},Se=new WeakMap,_r=new WeakMap,Ms=new WeakMap,Ze=new WeakMap,Vr=new WeakMap,Mn=new WeakMap,Ts=new WeakSet,Wa=function(n,s){let e=s._name,t=s(a(this,Ms));if(!t||typeof t!="object")throw new Error(`Contract factory "${e??"anonymous"}" must return an object`);for(let[r,i]of Object.entries(t)){let{handler:o,schema:l,namespace:c,once:u,timeoutMs:f}=i??{};if(typeof o!="function")throw new Error(`Contract "${e?`${e}:`:""}${r}" is missing a handler function`);let d=[n,c].filter(Boolean).join("/"),x=e?`${e}:${r}`:r,v=d?`${d}/${x}`:x;this.add(v,{schema:l,subscriber:o,once:u,timeoutMs:f})}},Qu);function rd(n,s,e){if(e==null||e==="*"||!Array.isArray(e)||e.length===1&&e[0]==="*"||s===void 0)return!0;if(e.length!==s.length)return console.warn(`[socket] "${n}" arity mismatch \u2014 expected ${e.length} argument(s) [${e.join(", ")}], received ${s.length} [${s.map(Ju).join(", ")}]`),!1;for(let t=0;t<e.length;t++){let r=e[t];if(r==="*")continue;let i=Ju(s[t]);if(r!==i)return console.warn(`[socket] "${n}" argument ${t} type mismatch \u2014 expected ${r}, received ${i}`),!1}return!0}function Ju(n){return Array.isArray(n)?"Array":n===null?"null":Object.prototype.toString.call(n).slice(8,-1)}function nd({baseDelay:n=500,maxDelay:s=1e4,jitter:e=.2,maxRetries:t=1/0}={}){let r=0;return{get attempt(){return r},reset(){r=0},next(){if(r>=t)return null;let i=Math.min(n*2**r,s);return r+=1,Math.round(i+i*e*Math.random())}}}var Wy=tl("socketContracts",[Object]),La=4e3,ie,me,rr,nr,Mt,Tt,sr,Hr,Gr,ir,Nt,Kr,Ns,Tn,or,ar,Dt,Ba,N,Ji,eh,za,Yi,th,ks,rh,_a,Os,er,Qi,tr,_y=(Ba=class extends te{constructor(){super(...arguments);m(this,N);m(this,ie,null);m(this,me,null);m(this,rr,null);m(this,nr,null);m(this,Mt,null);m(this,Tt,!1);m(this,sr,!1);m(this,Hr,!1);m(this,Gr,null);m(this,ir,null);m(this,Nt,null);m(this,Kr,0);m(this,Ns,3e4);m(this,Tn,1e3);m(this,or,new Map);m(this,ar,null);m(this,Dt,{connect:new Set,disconnect:new Set,error:new Set})}initialize(s,e={}){b(this,Tn,e.timeout??1e3),b(this,rr,e.url??null),b(this,nr,e.auth??null),b(this,me,new td({inject:this.inject,onSubscribe:(t,r)=>a(this,ie)?.send(oe.SUBSCRIBE,t,r??null),onUnsubscribe:t=>a(this,ie)?.send(oe.UNSUB,t)})),e.subscriptions?.length&&a(this,me).use(null,...e.subscriptions),a(this,rr)&&Promise.resolve(h(this,N,Ji).call(this)).catch(t=>h(this,N,tr).call(this,t))}actions(s,e={}){let t={connect:async(r=null,i={})=>{if(h(this,N,Yi).call(this),b(this,Hr,!1),r&&b(this,rr,r),i.auth!==void 0&&b(this,nr,i.auth),!a(this,rr))throw new Error("A URL is required to connect");return await h(this,N,Ji).call(this),t},disconnect:()=>(b(this,Hr,!0),h(this,N,Yi).call(this),h(this,N,ks).call(this),a(this,me).setLive(!1),a(this,ie)?.close(La,"Client disconnected"),b(this,ie,null),b(this,Tt,!1),b(this,Mt,null),a(this,or).clear(),t),ready:()=>a(this,Tt),id:()=>a(this,Mt),use:(...r)=>(a(this,me).use(null,...r),t),publish:(r,...i)=>(h(this,N,Os).call(this,r,i,null),t),request:(r,...i)=>h(this,N,er).call(this,r,i,null),gather:(r,...i)=>h(this,N,er).call(this,r,i,{gather:!0}),subscribe:(r,i)=>a(this,me).add(r,{subscriber:i}),subscribeOnce:(r,i)=>a(this,me).add(r,{subscriber:i,once:!0}),unsubscribe:(r,i)=>a(this,me).remove(r,i),to:(...r)=>{let i=r.flat();return{publish:(o,...l)=>(h(this,N,Os).call(this,o,l,{to:i}),t),request:(o,...l)=>h(this,N,er).call(this,o,l,{to:i}),gather:(o,...l)=>h(this,N,er).call(this,o,l,{to:i,gather:!0})}},namespace:r=>{let i=o=>r?`${r}/${o}`:o;return{use:(...o)=>(a(this,me).use(r,...o),t),publish:(o,...l)=>(h(this,N,Os).call(this,i(o),l,null),t),request:(o,...l)=>h(this,N,er).call(this,i(o),l,null),gather:(o,...l)=>h(this,N,er).call(this,i(o),l,{gather:!0}),subscribe:(o,l)=>a(this,me).add(i(o),{subscriber:l}),subscribeOnce:(o,l)=>a(this,me).add(i(o),{subscriber:l,once:!0}),unsubscribe:(o,l)=>a(this,me).remove(i(o),l)}},onConnect:r=>h(this,N,Qi).call(this,"connect",r),onDisconnect:r=>h(this,N,Qi).call(this,"disconnect",r),onError:r=>h(this,N,Qi).call(this,"error",r)};return b(this,ar,t),t}uninstall(){b(this,Hr,!0),h(this,N,Yi).call(this),h(this,N,ks).call(this),a(this,ie)?.close(La,"Service uninstalled"),b(this,ie,null),a(this,me)?.clear()}},ie=new WeakMap,me=new WeakMap,rr=new WeakMap,nr=new WeakMap,Mt=new WeakMap,Tt=new WeakMap,sr=new WeakMap,Hr=new WeakMap,Gr=new WeakMap,ir=new WeakMap,Nt=new WeakMap,Kr=new WeakMap,Ns=new WeakMap,Tn=new WeakMap,or=new WeakMap,ar=new WeakMap,Dt=new WeakMap,N=new WeakSet,Ji=async function(){let s=this.config;a(this,ie)&&!a(this,ie).closed&&a(this,ie).close(La,"Reconnecting");let e=globalThis.WebSocket;if(typeof e!="function")throw new Error("No global WebSocket available in this environment");let t=new e(a(this,rr)),r=new ed(t,{timeoutMs:a(this,Tn),maxBytes:s.maxPayloadBytes??1e6});b(this,ie,r),r.onFrame(l=>h(this,N,rh).call(this,r,l)),r.onError(l=>h(this,N,tr).call(this,l)),r.onClose(({code:l,reason:c})=>h(this,N,eh).call(this,r,l,c)),r.attach();let i=typeof a(this,nr)=="function"?await a(this,nr).call(this):a(this,nr),o=await r.request(oe.HELLO,null,{version:Gf,auth:i??null},null,s.handshakeTimeoutMs??1e4);if(a(this,ie)===r){b(this,Mt,o?.id??null),b(this,Ns,o?.heartbeatMs??3e4),b(this,Tt,!0),a(this,Gr)?.reset(),a(this,me).setLive(!0),h(this,N,th).call(this);for(let l of a(this,Dt).connect)try{l(a(this,ar),{id:a(this,Mt)})}catch(c){h(this,N,tr).call(this,c)}return a(this,ar)}},eh=function(s,e,t){if(a(this,ie)!==s)return;h(this,N,ks).call(this),b(this,Tt,!1),b(this,Mt,null),a(this,or).clear(),a(this,me).setLive(!1);for(let i of a(this,Dt).disconnect)try{i({code:e,reason:t},a(this,ar))}catch(o){h(this,N,tr).call(this,o)}let r=e===Ee.UNAUTHORIZED||e===Ee.FORBIDDEN||e===Ee.PROTOCOL_MISMATCH;a(this,Hr)||r||h(this,N,za).call(this)},za=function(){let s=this.config.reconnect??{};if(s.enabled===!1||a(this,sr))return;a(this,Gr)??b(this,Gr,nd(s));let e=a(this,Gr).next();if(e===null){h(this,N,tr).call(this,new Error("Reconnect attempts exhausted"));return}b(this,sr,!0),b(this,ir,setTimeout(async()=>{b(this,ir,null);try{await h(this,N,Ji).call(this)}catch(t){h(this,N,tr).call(this,t),b(this,sr,!1),h(this,N,za).call(this);return}b(this,sr,!1)},e))},Yi=function(){a(this,ir)&&clearTimeout(a(this,ir)),b(this,ir,null),b(this,sr,!1),a(this,Gr)?.reset()},th=function(){h(this,N,ks).call(this),b(this,Kr,0),b(this,Nt,setInterval(()=>{if(!(!a(this,ie)||a(this,ie).closed)){if(a(this,Kr)>=2){a(this,ie).terminate(Ee.HEARTBEAT_TIMEOUT,"Server stopped responding");return}b(this,Kr,a(this,Kr)+1),a(this,ie).send(oe.PING)}},a(this,Ns))),typeof a(this,Nt).unref=="function"&&a(this,Nt).unref()},ks=function(){a(this,Nt)&&clearInterval(a(this,Nt)),b(this,Nt,null)},rh=async function(s,e){switch(e.type){case oe.PING:s.send(oe.PONG);return;case oe.PONG:b(this,Kr,0);return;case oe.SUBSCRIBE:e.payload==null?a(this,or).delete(e.event):a(this,or).set(e.event,e.payload);return;case oe.DENY:h(this,N,tr).call(this,Object.assign(new Error(e.payload?.reason||"Connection denied"),{code:e.payload?.code}));return;case oe.EVENT:await a(this,me).dispatch(e.event,e.payload??[],h(this,N,_a).call(this,e));return;case oe.REQUEST:{try{let{handled:t,result:r}=await a(this,me).dispatch(e.event,e.payload??[],h(this,N,_a).call(this,e));if(!t){s.replyError(e.id,new Error(`No handler for "${e.event}"`),"NO_HANDLER");return}s.reply(e.id,r)}catch(t){s.replyError(e.id,t)}return}default:return}},_a=function(s){return{id:a(this,Mt),from:s.meta?.from??null,identity:null,actions:a(this,ar),publish:(e,...t)=>h(this,N,Os).call(this,e,t,null),request:(e,...t)=>h(this,N,er).call(this,e,t,null)}},Os=function(s,e,t){return!a(this,ie)||!a(this,Tt)?(console.warn(`[socket] publish "${s}" dropped \u2014 not connected`),!1):a(this,ie).send(oe.EVENT,s,e,t)},er=function(s,e,t){return!a(this,ie)||!a(this,Tt)?Promise.reject(new Error(`Not connected \u2014 request "${s}" dropped`)):a(this,ie).request(oe.REQUEST,s,e,t,a(this,or).get(s)??a(this,Tn))},Qi=function(s,e){if(typeof e!="function")throw new Error("Listener must be a function");return a(this,Dt)[s].add(e),()=>a(this,Dt)[s].delete(e)},tr=function(s){if(a(this,Dt).error.size===0){console.error("[socket] client error:",s?.message??s);return}for(let e of a(this,Dt).error)try{e(s)}catch{}},k(Ba,"manifest",{name:"socket-client",namespace:"socket",version:"2.0.0",description:"Contract-driven WebSocket client",defaults:{url:null,auth:null,timeout:1e3,handshakeTimeoutMs:1e4,subscriptions:[],maxPayloadBytes:1e6,reconnect:{enabled:!0,maxRetries:1/0,baseDelay:500,maxDelay:1e4,jitter:.2}}}),Ba);var lr="*",Jy=Symbol("STATE_CONTEXT"),Ha=Symbol("MATCHER"),Yy="CREATED",Qy="DELETED",Zy="UPDATED",Zi=1,Nn=2,Xi=4,eo=8,Ds=0,Fs=1,to=2,Ga=-1;function sd(n){let s="";for(let e=0;e<n.length;e++){let t=n[e];t==="~"?s+="~~":t==="."?s+="~d":s+=t}return s.length===0?"~e":s}function id(n){let s="";for(let e=0;e<n.length;e++){let t=n[e];if(t==="~"){let r=n[++e];r==="~"?s+="~":r==="d"?s+=".":r==="e"?s+="":s+="~"+(r??"")}else s+=t}return s}function nh(n){let s=new Array(n.length);for(let e=0;e<n.length;e++){let t=n[e];if(typeof t=="number"&&Number.isInteger(t))s[e]="n"+String(t);else if(typeof t=="string")s[e]="s"+sd(t);else throw new TypeError(`Unsupported segment type at index ${e}: ${t}`)}return s.join(".")}function tg(n){if(n===lr)return lr;if(n.length===0)return[];let s=n.split("."),e=new Array(s.length);for(let t=0;t<s.length;t++){let r=s[t];if(r.length===0)throw new Error("Invalid address: empty token");let i=r[0],o=r.slice(1);if(i==="n"){if(o.length===0||!/^[-]?\d+$/.test(o))throw new Error(`Invalid numeric token: "${r}"`);let l=Number(o);if(!Number.isInteger(l))throw new Error(`Non-integer numeric token: "${r}"`);e[t]=l}else if(i==="s")e[t]=id(o);else throw new Error(`Unknown type tag "${i}" in token "${r}"`)}return e}function ro(n){return(n.type&Zi)===Zi}function od(n){return(n.type&Nn)===Nn}function ad(n){return(n.type&Xi)===Xi}function sh(n){return(n.type&eo)===eo}function ld(n){return!n||n.length===0||n===lr||n[0]===lr}function cd(n=[]){let s=n.length;return s===0?[0,[]]:s===1&&n[0]===lr?[0,[]]:Array.isArray(n[0])?s===1?[1,[n[0]]]:[s,n]:[1,[[...n]]]}function ud(n){if(!Array.isArray(n))return!1;for(let s=0;s<n.length;s++){let e=n[s];if(typeof e=="string"&&e.charCodeAt(0)===46)return!0}return!1}function Ka(n=[]){if(ld(n))return{address:lr,isMarker:!0,length:0,path:[],children:null,type:Zi};let[s,e]=cd(n),t=s===1?Nn:Xi,r=s===1?e[0]:e,i=s>1?e.map(c=>Ka(c)):null,o=t===Nn?ud(r):i.some(c=>sh(c)),l=t;return o&&(l|=eo),{address:t===Nn?nh(r):null,isMarker:!0,length:s,path:r,children:i,type:l}}function Dn(n,{global:s,path:e,ephemeral:t,error:r}){try{if(!n.isMarker)return;if(ro(n))return s?s(n):void 0;if(sh(n))return t?t(n):e?e(n):void 0;if(od(n))return e?e(n):void 0;if(ad(n)){let i=new Array(n.length),o=0;for(;o<n.length;){let l=n.children[o];i[o]=Dn(l,{global:s,path:e,ephemeral:t,error:r}),o++}return i}return}catch(i){return r?r(i.message):void 0}}function qa(n,s){return ro(n)&&ro(s)?Ds:ro(s)?Fs:!n.address||!s.address?Ga:n.address===s.address?Ds:n.address.startsWith(s.address+".")?Fs:s.address.startsWith(n.address+".")?to:Ga}var cr=class{static configure(s){return s={...this.options,...s},{install:e=>this.install(e,s),name:this.name,options:s}}static install(s,e){e={...this.options,...e};let t=new this(s,e);return Object.defineProperty(t,"state",{value:s,writable:!1,configurable:!1}),Object.defineProperty(t,"options",{value:e,writable:!1,configurable:!1}),t}};k(cr,"name",null),k(cr,"options",{});function ih(n){return typeof window<"u"&&window.requestIdleCallback?window.requestIdleCallback(n,{timeout:100}):typeof window<"u"?window.requestAnimationFrame?window.requestAnimationFrame(()=>{setTimeout(n,0)}):setTimeout(n,0):(typeof n=="function"&&n(),null)}var hd=Object.defineProperty,Xe=(n,s)=>hd(n,"name",{value:s,configurable:!0}),qr,Ja=(qr=class{static create(){return new qr}constructor(){this.reactives=new Set,this.reactiveIds=new Set,this.childReactives=new Set,this.childReactiveIds=new Set,this.children=new Map,this.hasChildReactives=!1}},Xe(qr,"Node"),qr),Le,Fn,Ln,pg=(Le=class extends cr{constructor(){super(...arguments);m(this,Fn,!1);m(this,Ln,new Set)}initialize(e){Le.states.add(new WeakRef(e)),Le.roots.set(e,Ja.create())}actions(e){return{createComputed:Xe((t,r={})=>je(t,{...r,context:Xe(()=>e,"context")}),"createComputed"),createSubscriber:Xe((t,r,i={})=>rc(()=>t(e),r,i),"createSubscriber")}}onBatchStart(){b(this,Fn,!0)}onBatchEnd(){b(this,Fn,!1),a(this,Ln).forEach(e=>{this.propagateChange(this.state,e)}),a(this,Ln).clear()}onStateChange(e){if(!a(this,Fn)){this.propagateChange(this.state,e);return}a(this,Ln).add(e)}onStateAccess(e){Dn(e,{global:Xe(()=>{this.addReactive(this.state,null)},"global"),path:Xe(({path:t})=>{this.addReactive(this.state,t)},"path")})}propagateChange(e,t){Dn(t,{global:Xe(()=>{this.walkMarkerPath(this.getRoot(e),null)},"global"),path:Xe(({path:r})=>{this.walkMarkerPath(this.getRoot(e),r)},"path")})}walkMarkerPath(e,t,r=new Set){if(this.processReactives(e.reactives,e.reactiveIds,r),!t||t==="*")return this.processReactives(e.childReactives,e.childReactiveIds,r),r;let i=t.length-1,o=0;for(;o<=i;){let l=t[o];if(!e.children.has(l))break;e=e.children.get(l),this.processReactives(e.reactives,e.reactiveIds,r),o===i&&this.processReactives(e.childReactives,e.childReactiveIds,r),o++}return r}processReactives(e,t,r){let i=[],o=new Set;e.forEach(l=>{let c=l.deref();c?(r.has(c)||(r.add(c),c.markAsDirty()),o.add(c.id)):i.push(l)}),i.forEach(l=>e.delete(l)),t&&(t.clear(),o.forEach(l=>t.add(l)))}addWeakRefIfNotExists(e,t,r){t.has(r.id)||(t.add(r.id),e.add(new WeakRef(r)))}addReactive(e,t){let r=W.system.currentlyComputing;if(!r)return;let i=this.getRoot(e),o=i,l=Array.isArray(t)?t:[];(l.length===0||t==="*"||!t)&&this.addWeakRefIfNotExists(o.reactives,o.reactiveIds,r),this.addWeakRefIfNotExists(o.childReactives,o.childReactiveIds,r);let c=l.length;for(let u=0;u<c;u++){let f=l[u];o.children.has(f)||o.children.set(f,Ja.create()),o=o.children.get(f),u!==c-1?this.addWeakRefIfNotExists(o.childReactives,o.childReactiveIds,r):this.addWeakRefIfNotExists(o.reactives,o.reactiveIds,r)}this.updateHasChildReactives(i,l)}removeReactive(e){Le.states.forEach(t=>{let r=this.getRoot(t.deref());r&&this.removeReactiveFromNode(r,e)}),ih(()=>{Le.states.forEach(t=>{let r=this.getRoot(t.deref());r&&(this.cleanupEmptyNodes(r),this.updateHasChildReactives(r))})})}removeReactiveFromNode(e,t){let r=Xe(i=>{let o=[];i.forEach(l=>{let c=l.deref();(c===t||!c)&&o.push(l)}),o.forEach(l=>i.delete(l))},"removeFromSet");if(r(e.reactives),r(e.childReactives),e.children.size>0)for(let i of e.children.values())this.removeReactiveFromNode(i,t)}getRoot(e){let t=Le.roots.get(e);return t||(t=Ja.create(),Le.roots.set(e,t)),t}cleanupEmptyNodes(e){let t=Xe(r=>{let i=0,o=[];return r.forEach(l=>{l.deref()?i++:o.push(l)}),o.forEach(l=>r.delete(l)),i},"countAlive");for(let[r,i]of e.children){this.cleanupEmptyNodes(i);let o=t(i.reactives)>0,l=t(i.childReactives)>0;!o&&!l&&i.children.size===0&&e.children.delete(r)}}updateHasChildReactives(e,t=null){let r=Xe(o=>{for(let l of o)if(l.deref())return!0;return!1},"hasAlive");if(!t){let o=Xe(l=>{l.hasChildReactives=Array.from(l.children.values()).some(c=>r(c.reactives)||r(c.childReactives)||c.hasChildReactives);for(let c of l.children.values())o(c)},"updateNode");return o(e)}let i=[];for(let o of t){if(!e.children.has(o))return;i.push(e),e=e.children.get(o)}for(let o=i.length-1;o>=0;o--){let l=i[o],c=Array.from(l.children.values()).some(u=>r(u.reactives)||r(u.childReactives)||u.hasChildReactives);if(l.hasChildReactives!==c)l.hasChildReactives=c;else break}}},Fn=new WeakMap,Ln=new WeakMap,k(Le,"name","reactive"),k(Le,"roots",new WeakMap),k(Le,"states",new Set),Le);var fd=Object.defineProperty,Ft=(n,s)=>fd(n,"name",{value:s,configurable:!0}),no,Bn,Pe,so,Ls,io,vg=(no=class extends cr{constructor(){super(...arguments);m(this,Pe);m(this,Bn,new Set)}initialize(s,e){if(e.matchers&&e.matchers.length>0)for(let t of e.matchers)if(typeof t=="function"&&t._isMatcher===Ha)h(this,Pe,so).call(this,t),h(this,Pe,Ls).call(this,t);else{if(!t.path||!t.handler)throw new Error("Matcher path and handler are required");h(this,Pe,Ls).call(this,Ya(t.path,t.handler))}}actions(){return{createMatcher:Ft((s,e)=>{let t=Ya(s,e);return h(this,Pe,so).call(this,t),h(this,Pe,Ls).call(this,t),()=>h(this,Pe,io).call(this,t)},"createMatcher"),addMatcher:Ft(s=>h(this,Pe,Ls).call(this,s),"addMatcher"),removeMatcher:Ft(s=>h(this,Pe,io).call(this,s),"removeMatcher")}}onStateChange(s,e){a(this,Bn).forEach(t=>t(s,e))}},Bn=new WeakMap,Pe=new WeakSet,so=function(s){Object.defineProperty(s,"_state",{value:this.state,writable:!1,configurable:!1})},Ls=function(s){return h(this,Pe,so).call(this,s),a(this,Bn).add(s),()=>h(this,Pe,io).call(this,s)},io=function(s){a(this,Bn).delete(s)},k(no,"name","matcher"),k(no,"options",{matchers:[]}),no);function Ya(n,s){if(!Array.isArray(n))throw new Error("matchPath must be an array");if(n.length===0)throw new Error("matchPath must be a non-empty array");if(s===void 0||typeof s!="function")throw new Error("Matcher function is required");let e=new Map,t=!1,r=Ka(n),i=Ft(c=>{qa(r,c)>=0&&l(c)},"matcher");function o(){t||(t=!0,setTimeout(()=>{let c=Array.from(e.values()),u={},f=!1;for(let d of c)Dn(d,{global:Ft(()=>{u=i._state.get(n),f=!0},"global"),path:Ft(()=>{switch(qa(r,d)){case Fs:case Ds:u=i._state.get(n),f=!0;break;case to:let x=d.path.slice(0,n.length+1),v=x[x.length-1];u=typeof u=="object"&&u!==null?u:{},u[v]=i._state.get(x),f=!0;break}},"path")});f&&s(u),e.clear(),t=!1},0))}Ft(o,"flushChanges");function l(c){e.has(c.address)&&e.delete(c.address),e.set(c.address,c),o()}return Ft(l,"queueChange"),Object.defineProperty(i,"_isMatcher",{value:Ha,writable:!1,enumerable:!1,configurable:!0}),i}Ft(Ya,"createMatcher");var Rg=(n="temp")=>{let s=document.getElementById(n);return s||(s=document.createElement("div"),s.id=n,document.body.appendChild(s)),s};export{_l as a,rc as b,Hi as c,Wy as d,_y as e,lr as f,Yy as g,Qy as h,Zy as i,nh as j,tg as k,Ka as l,Dn as m,cr as n,pg as o,vg as p,Rg as q};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{h as o}from"./chunk-EXXAK3BP.js";var e=()=>({$value:null,$type:"color",$path:null});function p(n,r={}){let t=o();return n.set([t],{...e(),...r}),t}export{e as a,p as b};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{b as o}from"./chunk-7UENQJSC.js";function p({descriptor:e,keyOn:t=null,key:r="$key",as:i="$item",index:n="$index"}={}){return{descriptor:o(e),keyOn:t,key:r,as:i,index:n}}function u(e,t,r={}){return e.set([t,"repeat"],p(r))}export{p as a,u as b};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as o}from"./chunk-32U4X4HZ.js";import{a as h}from"./chunk-HAN4CMBX.js";import{a as f}from"./chunk-CYURWEXX.js";import{a as u}from"./chunk-GUI7FIZD.js";import{a as g}from"./chunk-IKKRB6BS.js";import{a as l}from"./chunk-7VDUBBVE.js";import{a as m}from"./chunk-A52FDU5E.js";import{a as c}from"./chunk-6S7QQT47.js";import{a as p}from"./chunk-PU62K33G.js";import{a as d}from"./chunk-KTWXYDG7.js";import{a as i}from"./chunk-EWEPEODY.js";import{a as s}from"./chunk-ZUPNPSUB.js";var S=o("store:action",n=>{let r=n("state")?.ref(["stores"])??null;if(!r)throw new Error("Stores not found");return{add:{namespace:"scene-graph",schema:["String"],handler:e=>u(r,e)},update:{namespace:"scene-graph",schema:["String","Number","Object"],handler:(e,t,a)=>g(r,e,t,a)},remove:{namespace:"scene-graph",schema:["String","Number"],handler:(e,t)=>l(r,e,t)}}});var C=o("store:computed",n=>{let r=n("state")?.ref(["stores"])??null;if(!r)throw new Error("Stores not found");return{add:{schema:["String"],namespace:"scene-graph",handler:e=>{i(r,e)}},update:{schema:["String","Number","Object"],namespace:"scene-graph",handler:(e,t,a)=>{h(r,e,t,a)}},remove:{schema:["String","Number"],namespace:"scene-graph",handler:(e,t)=>{f(r,e,t)}}}});var b=o("store:state",n=>{let r=n("state")?.ref(["stores"])??null;if(!r)throw new Error("Stores not found");return{add:{schema:["String","String"],namespace:"scene-graph",handler:(e,t)=>{c(r,e,t)}},update:{schema:["String","Number","Object"],namespace:"scene-graph",handler:(e,t,a)=>{p(r,e,t,a)}},remove:{schema:["String","Number"],namespace:"scene-graph",handler:(e,t)=>{d(r,e,t)}}}});var v=o("store",n=>{let r=n("state")?.ref(["stores"])??null;if(!r)throw new Error("Stores not found");return{get:{namespace:"scene-graph",handler:e=>e?r.get([e]):r.get()??{}},add:{schema:["String"],namespace:"scene-graph",handler:e=>s(r,e)},remove:{schema:["String"],namespace:"scene-graph",handler:e=>{m(r,e)}}}});var Q=[S,C,b,v];export{S as a,C as b,b as c,v as d,Q as e};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var e=()=>({__version:1,type:"animation",scope:"node",name:null,duration:300,easing:"ease",fill:"none",direction:"normal",iterations:1,delay:0,endDelay:0,iterationStart:0,composite:"replace",keyframes:[]});function r(t={}){return{...e(),...Object.fromEntries(Object.entries(t).filter(([,n])=>n!==void 0))}}export{e as a,r as b};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as u}from"./chunk-K5BNCYT7.js";import{b as l}from"./chunk-7UENQJSC.js";function s({name:e,mode:t,...o}={}){return l({name:e,mode:t??"value",...o})}var a=new Set(["model","value","checked"]);function p(e,t,o){if(!a.has(o))return[];let c=o==="model"?["value","checked"]:["model"],r=[];for(let n of c)(e.get([t,"attributes"])??[]).some(m=>m.name===n)&&(u(e,t,n),r.push(n));return e.get([t,"model"])!=null&&e.remove([t,"model"]),r}export{s as a,p as b};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
function s(e,n){return e.update([n,"options"],(l={})=>({...l,type:"set",binding:null,expression:null,dependencies:[],valueKey:{value:"value",expression:null,dependencies:[]},labelKey:{value:"label",expression:null,dependencies:[]}}))}export{s as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var j=Object.create;var f=Object.defineProperty;var k=Object.getOwnPropertyDescriptor;var l=Object.getOwnPropertyNames;var m=Object.getPrototypeOf,n=Object.prototype.hasOwnProperty;var i=a=>{throw TypeError(a)};var o=(a,b,c)=>b in a?f(a,b,{enumerable:!0,configurable:!0,writable:!0,value:c}):a[b]=c;var r=(a=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(a,{get:(b,c)=>(typeof require<"u"?require:b)[c]}):a)(function(a){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+a+'" is not supported')});var s=(a,b)=>()=>(b||a((b={exports:{}}).exports,b),b.exports),t=(a,b)=>{for(var c in b)f(a,c,{get:b[c],enumerable:!0})},g=(a,b,c,d)=>{if(b&&typeof b=="object"||typeof b=="function")for(let e of l(b))!n.call(a,e)&&e!==c&&f(a,e,{get:()=>b[e],enumerable:!(d=k(b,e))||d.enumerable});return a},u=(a,b,c)=>(g(a,b,"default"),c&&g(c,b,"default")),v=(a,b,c)=>(c=a!=null?j(m(a)):{},g(b||!a||!a.__esModule?f(c,"default",{value:a,enumerable:!0}):c,a));var w=(a,b,c)=>o(a,typeof b!="symbol"?b+"":b,c),h=(a,b,c)=>b.has(a)||i("Cannot "+c);var p=(a,b,c)=>(h(a,b,"read from private field"),c?c.call(a):b.get(a)),x=(a,b,c)=>b.has(a)?i("Cannot add the same private member more than once"):b instanceof WeakSet?b.add(a):b.set(a,c),q=(a,b,c,d)=>(h(a,b,"write to private field"),d?d.call(a,c):b.set(a,c),c),y=(a,b,c)=>(h(a,b,"access private method"),c);var z=(a,b,c,d)=>({set _(e){q(a,b,e,c)},get _(){return p(a,b,d)}});export{r as a,s as b,t as c,u as d,v as e,w as f,p as g,x as h,q as i,y as j,z as k};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
function r(e,t,n){return e.set([t,"name"],n)}export{r as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
function i({key:e,mode:n,binding:o=null,code:c=""}){return{key:e,mode:n??"binding",binding:o,code:c}}export{i as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
function n(e,r){return e.remove([r,"render"])}export{n as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
function r(e,o){let n=e.get([o]);return e.remove([o]),n}export{r as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
function f(u,e,n){return u.update([e,"computed"],(r=[])=>(r[n]&&r.splice(n,1),r))}export{f as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
function n(e,r,t){e.findAllWhen("home","is",!0).forEach(o=>{e.set(o,!1);let h=[...o.slice(0,-1),"path"];e.set(h,r)}),t&&(e.set([r,"route","home"],!0),e.set([r,"route","path"],"/"))}export{n as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{b as o}from"./chunk-7UENQJSC.js";function l(r){if(typeof r=="string"){let t=r.trim();return t?[t]:null}if(Array.isArray(r)){let t=r.filter(e=>typeof e=="string"&&e.trim());return t.length>0?t:null}return null}function f({value:r="",mode:t,specificPatterns:e,...i}={}){let n=l(e);return{...o({mode:t??"value",value:r,...i}),...n?{specificPatterns:n}:{}}}export{f as a};
|