@popcraft/kit 0.29.0 → 0.30.0
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/chunks/agent-CGSIEC2R.js +44 -0
- package/dist/chunks/api-SHU5H2PY.js +29 -0
- package/dist/chunks/apply-BF7LZ3FY.js +46 -0
- package/dist/chunks/audio-decode-HAJ3IQRC.js +54 -0
- package/dist/chunks/audio-import-JFIWUVM5.js +126 -0
- package/dist/chunks/audio-plan-YF2D6PT5.js +46 -0
- package/dist/chunks/board-export-DGE2ZW5B.js +180 -0
- package/dist/chunks/browser-B76AVRG4.js +179 -0
- package/dist/chunks/build-AUXXY3JX.js +59 -0
- package/dist/chunks/builtin-Q5UN4DWS.js +115 -0
- package/dist/chunks/check-N4IWARMY.js +56 -0
- package/dist/chunks/check-template-2EKU4JL7.js +2277 -0
- package/dist/chunks/chunk-234GVJYA.js +109 -0
- package/dist/chunks/chunk-244VQ54U.js +358 -0
- package/dist/chunks/chunk-24VZDMPK.js +209 -0
- package/dist/chunks/chunk-263B6ENN.js +153 -0
- package/dist/chunks/chunk-26OQHOZI.js +123 -0
- package/dist/chunks/chunk-27GSJ5G5.js +278 -0
- package/dist/chunks/chunk-27X4OPQ3.js +44 -0
- package/dist/chunks/chunk-2BEHQ34I.js +270 -0
- package/dist/chunks/chunk-2BJFBFXK.js +33 -0
- package/dist/chunks/chunk-2BMJ4UG4.js +138 -0
- package/dist/chunks/chunk-2CNLFCXM.js +60 -0
- package/dist/chunks/chunk-2DH2LPXQ.js +106 -0
- package/dist/chunks/chunk-2DLJ34AZ.js +77 -0
- package/dist/chunks/chunk-2DOWEP23.js +106 -0
- package/dist/chunks/chunk-2EJRSW3B.js +45 -0
- package/dist/chunks/chunk-2ETNHQDU.js +45 -0
- package/dist/chunks/chunk-2FCK73ME.js +163 -0
- package/dist/chunks/chunk-2FGU5OPW.js +33 -0
- package/dist/chunks/chunk-2HRRUKE4.js +90 -0
- package/dist/chunks/chunk-2J4DQY7Q.js +331 -0
- package/dist/chunks/chunk-2J5MXKCX.js +30 -0
- package/dist/chunks/chunk-2JGBSXGD.js +313 -0
- package/dist/chunks/chunk-2KEE23HU.js +152 -0
- package/dist/chunks/chunk-2KJTKSF7.js +305 -0
- package/dist/chunks/chunk-2P7ISWIA.js +1266 -0
- package/dist/chunks/chunk-2PYBOHPP.js +129 -0
- package/dist/chunks/chunk-2T3RXEHR.js +375 -0
- package/dist/chunks/chunk-2TIRUYXL.js +180 -0
- package/dist/chunks/chunk-2UJXRNZK.js +86 -0
- package/dist/chunks/chunk-2WCMIJSA.js +33 -0
- package/dist/chunks/chunk-2Y4IIPOE.js +228 -0
- package/dist/chunks/chunk-2YBOCBPA.js +238 -0
- package/dist/chunks/chunk-2ZBIYAVY.js +156 -0
- package/dist/chunks/chunk-357MX4XC.js +155 -0
- package/dist/chunks/chunk-35EWVHEY.js +23 -0
- package/dist/chunks/chunk-37PXUEWP.js +150 -0
- package/dist/chunks/chunk-3A7TOUVA.js +60 -0
- package/dist/chunks/chunk-3AUXRA3F.js +149 -0
- package/dist/chunks/chunk-3BBLD65X.js +83 -0
- package/dist/chunks/chunk-3CB5FZ2F.js +399 -0
- package/dist/chunks/chunk-3DEPF3MD.js +68 -0
- package/dist/chunks/chunk-3DNAX4HN.js +28 -0
- package/dist/chunks/chunk-3FGWRSN5.js +178 -0
- package/dist/chunks/chunk-3G2SLNZD.js +206 -0
- package/dist/chunks/chunk-3HKODMVI.js +80 -0
- package/dist/chunks/chunk-3HSI3NPQ.js +100 -0
- package/dist/chunks/chunk-3MAEAHID.js +877 -0
- package/dist/chunks/chunk-3N3DDMPA.js +88 -0
- package/dist/chunks/chunk-3N6BLOQT.js +777 -0
- package/dist/chunks/chunk-3OYPMUGF.js +85 -0
- package/dist/chunks/chunk-3OZNX2RW.js +362 -0
- package/dist/chunks/chunk-3QW2ZRSC.js +226 -0
- package/dist/chunks/chunk-3RR2AZWF.js +166 -0
- package/dist/chunks/chunk-3TXRGZEU.js +230 -0
- package/dist/chunks/chunk-3W3WQN2W.js +136 -0
- package/dist/chunks/chunk-3Z2ZGFT5.js +99 -0
- package/dist/chunks/chunk-42LFGCDX.js +42 -0
- package/dist/chunks/chunk-44NLGWX7.js +23 -0
- package/dist/chunks/chunk-46OKOUVF.js +110 -0
- package/dist/chunks/chunk-4AACDHFM.js +100 -0
- package/dist/chunks/chunk-4BGLN3US.js +23 -0
- package/dist/chunks/chunk-4CREVURI.js +1307 -0
- package/dist/chunks/chunk-4DWK6EEF.js +23 -0
- package/dist/chunks/chunk-4ENF3NH3.js +87 -0
- package/dist/chunks/chunk-4GG3UHQY.js +336 -0
- package/dist/chunks/chunk-4GGB33NY.js +898 -0
- package/dist/chunks/chunk-4GRUOQBH.js +685 -0
- package/dist/chunks/chunk-4H6F4SX6.js +59 -0
- package/dist/chunks/chunk-4K7VZEWL.js +45 -0
- package/dist/chunks/chunk-4NPVL4BL.js +190 -0
- package/dist/chunks/chunk-4S3URS6Z.js +172 -0
- package/dist/chunks/chunk-4S5TWA54.js +30 -0
- package/dist/chunks/chunk-4SPJ75RY.js +170 -0
- package/dist/chunks/chunk-4URHIHLG.js +728 -0
- package/dist/chunks/chunk-4VICNBUI.js +1188 -0
- package/dist/chunks/chunk-4WOXDZWL.js +152 -0
- package/dist/chunks/chunk-4ZBHIQI3.js +71 -0
- package/dist/chunks/chunk-4ZI3MY6Q.js +100 -0
- package/dist/chunks/chunk-4ZWSOGLF.js +95 -0
- package/dist/chunks/chunk-52UK4HIK.js +168 -0
- package/dist/chunks/chunk-53IGZPFI.js +149 -0
- package/dist/chunks/chunk-53JDPAP4.js +263 -0
- package/dist/chunks/chunk-54K4BWHP.js +346 -0
- package/dist/chunks/chunk-55GSGQ22.js +209 -0
- package/dist/chunks/chunk-5AJJN4SZ.js +33 -0
- package/dist/chunks/chunk-5DV2UDUS.js +143 -0
- package/dist/chunks/chunk-5EHU4XFD.js +106 -0
- package/dist/chunks/chunk-5FD2PC5J.js +156 -0
- package/dist/chunks/chunk-5FPICOLV.js +89 -0
- package/dist/chunks/chunk-5FWRLBAW.js +138 -0
- package/dist/chunks/chunk-5HVE7U4X.js +51 -0
- package/dist/chunks/chunk-5ILC6R3Y.js +304 -0
- package/dist/chunks/chunk-5KR2J2CR.js +164 -0
- package/dist/chunks/chunk-5LQX4ILP.js +177 -0
- package/dist/chunks/chunk-5MEGWX5C.js +153 -0
- package/dist/chunks/chunk-5MEUN7SZ.js +303 -0
- package/dist/chunks/chunk-5N6C6D64.js +487 -0
- package/dist/chunks/chunk-5NHU4UOT.js +130 -0
- package/dist/chunks/chunk-5OJA47IZ.js +99 -0
- package/dist/chunks/chunk-5PCFMR56.js +104 -0
- package/dist/chunks/chunk-5RRW5HGT.js +107 -0
- package/dist/chunks/chunk-5RWSY543.js +179 -0
- package/dist/chunks/chunk-5S23X3BA.js +163 -0
- package/dist/chunks/chunk-5SXABPXH.js +23 -0
- package/dist/chunks/chunk-5TJ6OREK.js +182 -0
- package/dist/chunks/chunk-5W3C5KDZ.js +106 -0
- package/dist/chunks/chunk-5X6DMD5A.js +503 -0
- package/dist/chunks/chunk-62MVOYLK.js +91 -0
- package/dist/chunks/chunk-62SM2ZMI.js +160 -0
- package/dist/chunks/chunk-645PFVD4.js +155 -0
- package/dist/chunks/chunk-6476X44H.js +342 -0
- package/dist/chunks/chunk-652VC4P7.js +218 -0
- package/dist/chunks/chunk-65RVTQRR.js +80 -0
- package/dist/chunks/chunk-675XJCZ4.js +261 -0
- package/dist/chunks/chunk-6AGJUNGT.js +155 -0
- package/dist/chunks/chunk-6AJHHLO6.js +185 -0
- package/dist/chunks/chunk-6CCYEZ3Z.js +340 -0
- package/dist/chunks/chunk-6CE3I35W.js +105 -0
- package/dist/chunks/chunk-6DA3BPDG.js +119 -0
- package/dist/chunks/chunk-6EDUIURU.js +209 -0
- package/dist/chunks/chunk-6EFQ2GI6.js +117 -0
- package/dist/chunks/chunk-6EVUK5HU.js +87 -0
- package/dist/chunks/chunk-6FGA5DPZ.js +97 -0
- package/dist/chunks/chunk-6GMHLK2Q.js +80 -0
- package/dist/chunks/chunk-6H5ULKBL.js +33 -0
- package/dist/chunks/chunk-6HG4LBLO.js +23 -0
- package/dist/chunks/chunk-6IL7LJLA.js +136 -0
- package/dist/chunks/chunk-6KGS32FI.js +338 -0
- package/dist/chunks/chunk-6KXNC2TP.js +77 -0
- package/dist/chunks/chunk-6QXJBXDE.js +200 -0
- package/dist/chunks/chunk-6REEUYWW.js +154 -0
- package/dist/chunks/chunk-6TWK3D4X.js +130 -0
- package/dist/chunks/chunk-6UEQFBWY.js +111 -0
- package/dist/chunks/chunk-6W5XSVSX.js +400 -0
- package/dist/chunks/chunk-6XFQWKQU.js +443 -0
- package/dist/chunks/chunk-6YOSXWZP.js +122 -0
- package/dist/chunks/chunk-6ZC5NWJX.js +165 -0
- package/dist/chunks/chunk-72TPH6VC.js +82 -0
- package/dist/chunks/chunk-73WGEKAV.js +92 -0
- package/dist/chunks/chunk-73ZTTYZR.js +257 -0
- package/dist/chunks/chunk-74JAKKEI.js +145 -0
- package/dist/chunks/chunk-74UIMI6P.js +930 -0
- package/dist/chunks/chunk-77B7LXYJ.js +291 -0
- package/dist/chunks/chunk-7A5X3MPD.js +139 -0
- package/dist/chunks/chunk-7CMEZLFV.js +23 -0
- package/dist/chunks/chunk-7CTL7VOX.js +108 -0
- package/dist/chunks/chunk-7DIFO56V.js +82 -0
- package/dist/chunks/chunk-7EDUMRSP.js +63 -0
- package/dist/chunks/chunk-7IGLOKC3.js +33 -0
- package/dist/chunks/chunk-7J4MGACN.js +75 -0
- package/dist/chunks/chunk-7L5NR427.js +117 -0
- package/dist/chunks/chunk-7QJUGD43.js +512 -0
- package/dist/chunks/chunk-7QYQVENQ.js +564 -0
- package/dist/chunks/chunk-7RNNXZVW.js +197 -0
- package/dist/chunks/chunk-7TXYSS7Y.js +137 -0
- package/dist/chunks/chunk-7UZPG5OF.js +261 -0
- package/dist/chunks/chunk-7VKFRZUS.js +92 -0
- package/dist/chunks/chunk-7VONQLIJ.js +77 -0
- package/dist/chunks/chunk-7WZKZLHC.js +79 -0
- package/dist/chunks/chunk-7YKXBYPW.js +87 -0
- package/dist/chunks/chunk-7YWNU2LK.js +84 -0
- package/dist/chunks/chunk-A2VNBKB4.js +422 -0
- package/dist/chunks/chunk-A2YCZXKT.js +112 -0
- package/dist/chunks/chunk-A3VN4RGK.js +103 -0
- package/dist/chunks/chunk-A5WDD3S4.js +478 -0
- package/dist/chunks/chunk-A6A2JBPP.js +39 -0
- package/dist/chunks/chunk-A6W7TCYN.js +131 -0
- package/dist/chunks/chunk-A6YR7NCL.js +204 -0
- package/dist/chunks/chunk-A7B7AVJ2.js +33 -0
- package/dist/chunks/chunk-ACCEORUW.js +396 -0
- package/dist/chunks/chunk-ADBWFQST.js +140 -0
- package/dist/chunks/chunk-AE6OPGVT.js +497 -0
- package/dist/chunks/chunk-AFZSHMSN.js +247 -0
- package/dist/chunks/chunk-AIB22SFX.js +81 -0
- package/dist/chunks/chunk-AIOGZZNH.js +33 -0
- package/dist/chunks/chunk-AKCMEBIQ.js +45 -0
- package/dist/chunks/chunk-ALGPGOMJ.js +117 -0
- package/dist/chunks/chunk-ALI2HZVF.js +327 -0
- package/dist/chunks/chunk-AMO2LCXI.js +206 -0
- package/dist/chunks/chunk-AN3H4JWT.js +10192 -0
- package/dist/chunks/chunk-ANEDZH7A.js +45 -0
- package/dist/chunks/chunk-ANHFYSIK.js +23 -0
- package/dist/chunks/chunk-AOZ3KKWW.js +624 -0
- package/dist/chunks/chunk-AQZZ7NXG.js +33 -0
- package/dist/chunks/chunk-ARLI55LW.js +181 -0
- package/dist/chunks/chunk-AU3YH3ZK.js +202 -0
- package/dist/chunks/chunk-AUDNQRAJ.js +170 -0
- package/dist/chunks/chunk-AWW5HNKW.js +298 -0
- package/dist/chunks/chunk-AWWZDFNO.js +112 -0
- package/dist/chunks/chunk-AXKXWL35.js +10429 -0
- package/dist/chunks/chunk-AXUQWEMX.js +86 -0
- package/dist/chunks/chunk-AYUZ47JD.js +98 -0
- package/dist/chunks/chunk-AYXXSKQH.js +23 -0
- package/dist/chunks/chunk-B2YV6SQE.js +1132 -0
- package/dist/chunks/chunk-B4KCU67P.js +94 -0
- package/dist/chunks/chunk-B6SHLME3.js +47 -0
- package/dist/chunks/chunk-B7R4D5GQ.js +311 -0
- package/dist/chunks/chunk-BAZUZXS6.js +33 -0
- package/dist/chunks/chunk-BBYOVJQJ.js +98 -0
- package/dist/chunks/chunk-BC3MIZCD.js +111 -0
- package/dist/chunks/chunk-BCH6FNXB.js +50 -0
- package/dist/chunks/chunk-BDOXBX6U.js +269 -0
- package/dist/chunks/chunk-BDTCY5RE.js +190 -0
- package/dist/chunks/chunk-BH5MTM45.js +170 -0
- package/dist/chunks/chunk-BHT7E57Y.js +149 -0
- package/dist/chunks/chunk-BJ7KIGYV.js +170 -0
- package/dist/chunks/chunk-BJHWDQRI.js +109 -0
- package/dist/chunks/chunk-BKY75AW2.js +119 -0
- package/dist/chunks/chunk-BMOIW4EK.js +330 -0
- package/dist/chunks/chunk-BMWLLWMV.js +307 -0
- package/dist/chunks/chunk-BOR6OVBL.js +174 -0
- package/dist/chunks/chunk-BPQCEJLQ.js +298 -0
- package/dist/chunks/chunk-BQ6MJLLT.js +80 -0
- package/dist/chunks/chunk-BRHNGS57.js +84 -0
- package/dist/chunks/chunk-BRLE5NZW.js +124 -0
- package/dist/chunks/chunk-BSCUPHM7.js +82 -0
- package/dist/chunks/chunk-BSX52WVT.js +49 -0
- package/dist/chunks/chunk-BT4SHCEP.js +163 -0
- package/dist/chunks/chunk-BVAEGM2L.js +454 -0
- package/dist/chunks/chunk-BWB2TS4H.js +250 -0
- package/dist/chunks/chunk-BXKKX2VR.js +335 -0
- package/dist/chunks/chunk-BXSQ774Z.js +121 -0
- package/dist/chunks/chunk-BYJORRKV.js +349 -0
- package/dist/chunks/chunk-BZFCSLR7.js +200 -0
- package/dist/chunks/chunk-C4STXVSA.js +23 -0
- package/dist/chunks/chunk-C5HM5OJJ.js +150 -0
- package/dist/chunks/chunk-C63WDV67.js +97 -0
- package/dist/chunks/chunk-C7X4DDSU.js +97 -0
- package/dist/chunks/chunk-CAL2ZF6M.js +198 -0
- package/dist/chunks/chunk-CAMZPMB7.js +209 -0
- package/dist/chunks/chunk-CCGTARBV.js +46 -0
- package/dist/chunks/chunk-CCJN5ULY.js +83 -0
- package/dist/chunks/chunk-CCPZIE73.js +161 -0
- package/dist/chunks/chunk-CE6OS2OQ.js +48 -0
- package/dist/chunks/chunk-CEUH436H.js +105 -0
- package/dist/chunks/chunk-CGLFDWFM.js +99 -0
- package/dist/chunks/chunk-CHOXN3SQ.js +208 -0
- package/dist/chunks/chunk-CHWB4U2K.js +33 -0
- package/dist/chunks/chunk-CITKZJUF.js +109 -0
- package/dist/chunks/chunk-CL4K63NB.js +266 -0
- package/dist/chunks/chunk-CLEN2YD3.js +37 -0
- package/dist/chunks/chunk-CMBEGDWH.js +176 -0
- package/dist/chunks/chunk-CMOG7TOU.js +224 -0
- package/dist/chunks/chunk-CNVC6EPP.js +89 -0
- package/dist/chunks/chunk-CPRCZAB3.js +74 -0
- package/dist/chunks/chunk-CPZGUNKV.js +283 -0
- package/dist/chunks/chunk-CQ6QGYKJ.js +200 -0
- package/dist/chunks/chunk-CQYSUE36.js +324 -0
- package/dist/chunks/chunk-CR4OGLU2.js +23 -0
- package/dist/chunks/chunk-CR7Q7NTM.js +213 -0
- package/dist/chunks/chunk-CRTQZXSF.js +224 -0
- package/dist/chunks/chunk-CSS3B3N4.js +165 -0
- package/dist/chunks/chunk-CSW2CAUK.js +112 -0
- package/dist/chunks/chunk-CT35IIMQ.js +109 -0
- package/dist/chunks/chunk-CU3KVW5H.js +55 -0
- package/dist/chunks/chunk-CUMWJVNP.js +170 -0
- package/dist/chunks/chunk-CV6QBO5D.js +81 -0
- package/dist/chunks/chunk-CVWIMZTL.js +651 -0
- package/dist/chunks/chunk-CVWKXDFH.js +102 -0
- package/dist/chunks/chunk-CX26P7IA.js +277 -0
- package/dist/chunks/chunk-CZCXFTP5.js +23 -0
- package/dist/chunks/chunk-D3U4EHJR.js +47 -0
- package/dist/chunks/chunk-D6J2AGZU.js +53 -0
- package/dist/chunks/chunk-D6TL4O6B.js +70 -0
- package/dist/chunks/chunk-D6VGJK6W.js +157 -0
- package/dist/chunks/chunk-DAF5SK5X.js +162 -0
- package/dist/chunks/chunk-DBSMVIXL.js +266 -0
- package/dist/chunks/chunk-DFZWVEGU.js +251 -0
- package/dist/chunks/chunk-DGK3MB6Y.js +85 -0
- package/dist/chunks/chunk-DHFFPZN7.js +193 -0
- package/dist/chunks/chunk-DHPPMW7M.js +33 -0
- package/dist/chunks/chunk-DIBT2Z4X.js +287 -0
- package/dist/chunks/chunk-DJ3F6EOL.js +86 -0
- package/dist/chunks/chunk-DJCBRATX.js +151 -0
- package/dist/chunks/chunk-DLNC4SLW.js +145 -0
- package/dist/chunks/chunk-DNH4D4JI.js +198 -0
- package/dist/chunks/chunk-DO6PZVWR.js +232 -0
- package/dist/chunks/chunk-DPH7UHGV.js +92 -0
- package/dist/chunks/chunk-DQJKVQV4.js +163 -0
- package/dist/chunks/chunk-DQMCRGYD.js +589 -0
- package/dist/chunks/chunk-DRV5Z4KL.js +224 -0
- package/dist/chunks/chunk-DSTX54J4.js +330 -0
- package/dist/chunks/chunk-DUH7ZATR.js +283 -0
- package/dist/chunks/chunk-DUYDXAR5.js +173 -0
- package/dist/chunks/chunk-DVX7UAKA.js +217 -0
- package/dist/chunks/chunk-DWUKOW7L.js +260 -0
- package/dist/chunks/chunk-DXR52ENL.js +122 -0
- package/dist/chunks/chunk-DYADJS4Y.js +39 -0
- package/dist/chunks/chunk-DZATVMBB.js +181 -0
- package/dist/chunks/chunk-E2JZ2RZI.js +231 -0
- package/dist/chunks/chunk-E4KDI2GV.js +169 -0
- package/dist/chunks/chunk-E5IDXYQD.js +77 -0
- package/dist/chunks/chunk-E5WR4S4X.js +224 -0
- package/dist/chunks/chunk-EALHKOFS.js +23 -0
- package/dist/chunks/chunk-ECPRSOPE.js +80 -0
- package/dist/chunks/chunk-ECVD7DCS.js +225 -0
- package/dist/chunks/chunk-EFX2ICNU.js +100 -0
- package/dist/chunks/chunk-EJ66FNLZ.js +197 -0
- package/dist/chunks/chunk-ELVKOJH7.js +177 -0
- package/dist/chunks/chunk-ENA25RHE.js +724 -0
- package/dist/chunks/chunk-ENA4K3ZQ.js +104 -0
- package/dist/chunks/chunk-EPMLMUXF.js +146 -0
- package/dist/chunks/chunk-ERIQ7JIJ.js +85 -0
- package/dist/chunks/chunk-ESBLUILZ.js +41 -0
- package/dist/chunks/chunk-EWGXFNXM.js +33 -0
- package/dist/chunks/chunk-EWO5TJWE.js +248 -0
- package/dist/chunks/chunk-EWZRJTLT.js +108 -0
- package/dist/chunks/chunk-EX6OREVZ.js +141 -0
- package/dist/chunks/chunk-EXRI6KN5.js +45 -0
- package/dist/chunks/chunk-EZJNGKZ7.js +249 -0
- package/dist/chunks/chunk-F2RLM473.js +157 -0
- package/dist/chunks/chunk-F32ETZYX.js +33 -0
- package/dist/chunks/chunk-F3TA2VS2.js +62 -0
- package/dist/chunks/chunk-F47ZTZ2M.js +141 -0
- package/dist/chunks/chunk-F4EFW5XG.js +130 -0
- package/dist/chunks/chunk-F4UGIRWU.js +128 -0
- package/dist/chunks/chunk-F4X5MJ7O.js +204 -0
- package/dist/chunks/chunk-F5OWF2ZE.js +317 -0
- package/dist/chunks/chunk-F7SDLYHJ.js +79 -0
- package/dist/chunks/chunk-FCEF3YK4.js +86 -0
- package/dist/chunks/chunk-FCQR5LL4.js +134 -0
- package/dist/chunks/chunk-FFD46KYF.js +209 -0
- package/dist/chunks/chunk-FGHIWBN5.js +293 -0
- package/dist/chunks/chunk-FGJRVCXO.js +303 -0
- package/dist/chunks/chunk-FGKE26E7.js +196 -0
- package/dist/chunks/chunk-FGOZMT45.js +305 -0
- package/dist/chunks/chunk-FGWPOJZU.js +93 -0
- package/dist/chunks/chunk-FIBQTDOW.js +135 -0
- package/dist/chunks/chunk-FIE7F2FK.js +174 -0
- package/dist/chunks/chunk-FIHCLHSP.js +333 -0
- package/dist/chunks/chunk-FIYHEMRZ.js +282 -0
- package/dist/chunks/chunk-FLGMO3U4.js +142 -0
- package/dist/chunks/chunk-FLXSWF6O.js +33 -0
- package/dist/chunks/chunk-FM2YY4RI.js +33 -0
- package/dist/chunks/chunk-FMOZ3GG5.js +85 -0
- package/dist/chunks/chunk-FOBKKGOO.js +290 -0
- package/dist/chunks/chunk-FPG2DJ7G.js +55 -0
- package/dist/chunks/chunk-FPIWEYRR.js +55 -0
- package/dist/chunks/chunk-FPXJR73J.js +171 -0
- package/dist/chunks/chunk-FRAUSF6D.js +161 -0
- package/dist/chunks/chunk-FRFSMF7C.js +405 -0
- package/dist/chunks/chunk-FRFW37G6.js +33 -0
- package/dist/chunks/chunk-FSFVNV3M.js +360 -0
- package/dist/chunks/chunk-FSHYNBWP.js +142 -0
- package/dist/chunks/chunk-FSMMRN2T.js +256 -0
- package/dist/chunks/chunk-FTJEGDDE.js +119 -0
- package/dist/chunks/chunk-FTLNZSGG.js +214 -0
- package/dist/chunks/chunk-FYWRH6KA.js +1417 -0
- package/dist/chunks/chunk-FZUWQLCD.js +64 -0
- package/dist/chunks/chunk-G2COC3YD.js +86 -0
- package/dist/chunks/chunk-G3FXK7V4.js +114 -0
- package/dist/chunks/chunk-G3YVVHCF.js +468 -0
- package/dist/chunks/chunk-G3ZJPXTX.js +69 -0
- package/dist/chunks/chunk-G7O24N7X.js +166 -0
- package/dist/chunks/chunk-GBR2VR7S.js +152 -0
- package/dist/chunks/chunk-GDJSAXPF.js +140 -0
- package/dist/chunks/chunk-GDSNX2LF.js +196 -0
- package/dist/chunks/chunk-GDZ77IHG.js +480 -0
- package/dist/chunks/chunk-GFOGKCPL.js +129 -0
- package/dist/chunks/chunk-GG5FVHP3.js +23 -0
- package/dist/chunks/chunk-GG6VKOAA.js +75 -0
- package/dist/chunks/chunk-GHUS6F5D.js +94 -0
- package/dist/chunks/chunk-GIQH7FWT.js +153 -0
- package/dist/chunks/chunk-GIVNETXM.js +166 -0
- package/dist/chunks/chunk-GJXNZPEF.js +190 -0
- package/dist/chunks/chunk-GK3HFCMX.js +412 -0
- package/dist/chunks/chunk-GKEINFGS.js +178 -0
- package/dist/chunks/chunk-GLNDN2NE.js +172 -0
- package/dist/chunks/chunk-GMIR2QGA.js +171 -0
- package/dist/chunks/chunk-GOCBCU3X.js +284 -0
- package/dist/chunks/chunk-GPBPXMHK.js +78 -0
- package/dist/chunks/chunk-GQWCRSGC.js +79 -0
- package/dist/chunks/chunk-GRCLKQKE.js +188 -0
- package/dist/chunks/chunk-GT5X67P7.js +471 -0
- package/dist/chunks/chunk-GTR25NJ5.js +48 -0
- package/dist/chunks/chunk-GU66LHPX.js +106 -0
- package/dist/chunks/chunk-GUVLFC76.js +169 -0
- package/dist/chunks/chunk-GVD3F2P2.js +102 -0
- package/dist/chunks/chunk-GWBJN7TJ.js +181 -0
- package/dist/chunks/chunk-GWFXO7P2.js +270 -0
- package/dist/chunks/chunk-GWSEQROS.js +1403 -0
- package/dist/chunks/chunk-GWSUQG2Q.js +158 -0
- package/dist/chunks/chunk-GY4NONBY.js +336 -0
- package/dist/chunks/chunk-H2EE57GO.js +1469 -0
- package/dist/chunks/chunk-H2M6VLML.js +78 -0
- package/dist/chunks/chunk-H4NDCUJZ.js +191 -0
- package/dist/chunks/chunk-H7NBNZMI.js +103 -0
- package/dist/chunks/chunk-H7RWKOFN.js +101 -0
- package/dist/chunks/chunk-HFHT5TR5.js +121 -0
- package/dist/chunks/chunk-HFTJ567N.js +115 -0
- package/dist/chunks/chunk-HIGV7NIT.js +344 -0
- package/dist/chunks/chunk-HIJBW52G.js +107 -0
- package/dist/chunks/chunk-HJCFC5IM.js +140 -0
- package/dist/chunks/chunk-HLBQLOTA.js +185 -0
- package/dist/chunks/chunk-HLOF7XSN.js +226 -0
- package/dist/chunks/chunk-HQAHQJHQ.js +45 -0
- package/dist/chunks/chunk-HRGTYCSS.js +79 -0
- package/dist/chunks/chunk-HRHP22IQ.js +195 -0
- package/dist/chunks/chunk-HST5H23G.js +199 -0
- package/dist/chunks/chunk-HUF4ZI5K.js +106 -0
- package/dist/chunks/chunk-HUOXOEYM.js +178 -0
- package/dist/chunks/chunk-HUSCHQZF.js +131 -0
- package/dist/chunks/chunk-HVBUYB7U.js +251 -0
- package/dist/chunks/chunk-HVWYS2FD.js +151 -0
- package/dist/chunks/chunk-HXWUGNFG.js +90 -0
- package/dist/chunks/chunk-HY7R464Y.js +164 -0
- package/dist/chunks/chunk-HYO4HW5U.js +41 -0
- package/dist/chunks/chunk-HYRSOXJU.js +114 -0
- package/dist/chunks/chunk-HYVJVSMY.js +104 -0
- package/dist/chunks/chunk-HZ4ATNWF.js +172 -0
- package/dist/chunks/chunk-I26ADZE5.js +234 -0
- package/dist/chunks/chunk-I4YJJX24.js +81 -0
- package/dist/chunks/chunk-I56YVBSU.js +149 -0
- package/dist/chunks/chunk-I6GZB3SS.js +76 -0
- package/dist/chunks/chunk-I6PRN3UI.js +351 -0
- package/dist/chunks/chunk-IB6HPAUP.js +361 -0
- package/dist/chunks/chunk-ICGYGLXG.js +30 -0
- package/dist/chunks/chunk-ICON2DHX.js +53 -0
- package/dist/chunks/chunk-IDYGA6JB.js +84 -0
- package/dist/chunks/chunk-IEPXGYDA.js +33 -0
- package/dist/chunks/chunk-IEWXITI5.js +60 -0
- package/dist/chunks/chunk-IEYDZGFE.js +81 -0
- package/dist/chunks/chunk-IFKULHJ3.js +80 -0
- package/dist/chunks/chunk-IFLMQH4I.js +414 -0
- package/dist/chunks/chunk-IJ7FBOET.js +84 -0
- package/dist/chunks/chunk-ILV22EPF.js +261 -0
- package/dist/chunks/chunk-INNLMWHT.js +100 -0
- package/dist/chunks/chunk-INREWU77.js +155 -0
- package/dist/chunks/chunk-IOX6VN3U.js +118 -0
- package/dist/chunks/chunk-IOXWI4IK.js +105 -0
- package/dist/chunks/chunk-IP2BTFBT.js +407 -0
- package/dist/chunks/chunk-IPEOO7PN.js +260 -0
- package/dist/chunks/chunk-IPMPNYBF.js +261 -0
- package/dist/chunks/chunk-IRET5WGV.js +78 -0
- package/dist/chunks/chunk-IROY6E3L.js +141 -0
- package/dist/chunks/chunk-IRTOBVAO.js +41 -0
- package/dist/chunks/chunk-ITYA32ZG.js +115 -0
- package/dist/chunks/chunk-IV2MUHGQ.js +162 -0
- package/dist/chunks/chunk-IW5CQX6Y.js +378 -0
- package/dist/chunks/chunk-J3KDXPZA.js +358 -0
- package/dist/chunks/chunk-J3XCBROI.js +36 -0
- package/dist/chunks/chunk-J3YVD5F6.js +133 -0
- package/dist/chunks/chunk-J4OWTFYV.js +123 -0
- package/dist/chunks/chunk-J7PAXPJN.js +1845 -0
- package/dist/chunks/chunk-J7YPJUR5.js +105 -0
- package/dist/chunks/chunk-JEGKI2RV.js +55 -0
- package/dist/chunks/chunk-JF2CGUPE.js +122 -0
- package/dist/chunks/chunk-JF5DTC5Z.js +152 -0
- package/dist/chunks/chunk-JFP52GVM.js +122 -0
- package/dist/chunks/chunk-JGOE6KRX.js +149 -0
- package/dist/chunks/chunk-JGQO3EKK.js +390 -0
- package/dist/chunks/chunk-JGZIQ3UI.js +70 -0
- package/dist/chunks/chunk-JHNVXMSM.js +331 -0
- package/dist/chunks/chunk-JHYGD5FH.js +366 -0
- package/dist/chunks/chunk-JIBAJIHB.js +218 -0
- package/dist/chunks/chunk-JIXBDRKL.js +320 -0
- package/dist/chunks/chunk-JJEXCQFJ.js +159 -0
- package/dist/chunks/chunk-JJTSI5Q5.js +108 -0
- package/dist/chunks/chunk-JNWUYMQ5.js +92 -0
- package/dist/chunks/chunk-JP3ATO2V.js +127 -0
- package/dist/chunks/chunk-JR5B76ZO.js +82 -0
- package/dist/chunks/chunk-JSM2H22F.js +95 -0
- package/dist/chunks/chunk-JTFFE573.js +97 -0
- package/dist/chunks/chunk-JTKJDTQH.js +278 -0
- package/dist/chunks/chunk-JTLL324P.js +66 -0
- package/dist/chunks/chunk-JVKC6UFV.js +36 -0
- package/dist/chunks/chunk-JW2VRSZ2.js +73 -0
- package/dist/chunks/chunk-JW37DZWL.js +23 -0
- package/dist/chunks/chunk-JXWHUS7L.js +189 -0
- package/dist/chunks/chunk-K36YCZO2.js +135 -0
- package/dist/chunks/chunk-K3QP3IUF.js +43 -0
- package/dist/chunks/chunk-K3ZYALMC.js +297 -0
- package/dist/chunks/chunk-K4QJ4SKU.js +231 -0
- package/dist/chunks/chunk-K5R3TTQD.js +173 -0
- package/dist/chunks/chunk-K65XPQAM.js +104 -0
- package/dist/chunks/chunk-K74MZQA2.js +161 -0
- package/dist/chunks/chunk-K7OOOI7B.js +1649 -0
- package/dist/chunks/chunk-KCHDGEZ5.js +123 -0
- package/dist/chunks/chunk-KD2IEKAU.js +134 -0
- package/dist/chunks/chunk-KF3BSBC5.js +91 -0
- package/dist/chunks/chunk-KGCLVD34.js +104 -0
- package/dist/chunks/chunk-KIC5TSOB.js +83 -0
- package/dist/chunks/chunk-KKVSPEJA.js +62 -0
- package/dist/chunks/chunk-KLITWGKP.js +179 -0
- package/dist/chunks/chunk-KMTMJ264.js +156 -0
- package/dist/chunks/chunk-KMWE5QZ3.js +125 -0
- package/dist/chunks/chunk-KMYTBU7F.js +217 -0
- package/dist/chunks/chunk-KNXHE7SX.js +36 -0
- package/dist/chunks/chunk-KO24NRJ5.js +157 -0
- package/dist/chunks/chunk-KO5UAPHF.js +152 -0
- package/dist/chunks/chunk-KOEQLLOE.js +238 -0
- package/dist/chunks/chunk-KOKO3HTP.js +558 -0
- package/dist/chunks/chunk-KOVMGESL.js +436 -0
- package/dist/chunks/chunk-KQ3JSNMU.js +96 -0
- package/dist/chunks/chunk-KRFS6NO3.js +112 -0
- package/dist/chunks/chunk-KRIM23HE.js +87 -0
- package/dist/chunks/chunk-KVFMQFQS.js +44 -0
- package/dist/chunks/chunk-KWH46HMO.js +140 -0
- package/dist/chunks/chunk-L3443FVX.js +147 -0
- package/dist/chunks/chunk-L3IYFCO4.js +130 -0
- package/dist/chunks/chunk-L4SKFLWD.js +192 -0
- package/dist/chunks/chunk-L6NNGCPO.js +50 -0
- package/dist/chunks/chunk-L6P7VDPV.js +71 -0
- package/dist/chunks/chunk-LBYNGWDZ.js +225 -0
- package/dist/chunks/chunk-LCPMHFRA.js +33 -0
- package/dist/chunks/chunk-LDIYJJ24.js +42 -0
- package/dist/chunks/chunk-LDQHBHU6.js +220 -0
- package/dist/chunks/chunk-LDXVA6PI.js +118 -0
- package/dist/chunks/chunk-LE33OZ4V.js +11335 -0
- package/dist/chunks/chunk-LFBA5NUC.js +172 -0
- package/dist/chunks/chunk-LFQHGS2U.js +80 -0
- package/dist/chunks/chunk-LGDMAOXC.js +112 -0
- package/dist/chunks/chunk-LGDPZSDI.js +231 -0
- package/dist/chunks/chunk-LJF5M45X.js +210 -0
- package/dist/chunks/chunk-LLOS2L3K.js +183 -0
- package/dist/chunks/chunk-LNQN4PGS.js +95 -0
- package/dist/chunks/chunk-LOP6LDGQ.js +23 -0
- package/dist/chunks/chunk-LOTIIDDC.js +150 -0
- package/dist/chunks/chunk-LOUPBPQV.js +38 -0
- package/dist/chunks/chunk-LOZFDMQ2.js +82 -0
- package/dist/chunks/chunk-LPLI7CZR.js +110 -0
- package/dist/chunks/chunk-LPTGYYJP.js +169 -0
- package/dist/chunks/chunk-LQXV2SMI.js +250 -0
- package/dist/chunks/chunk-LS2DJ73W.js +23 -0
- package/dist/chunks/chunk-LT4ZFOAZ.js +206 -0
- package/dist/chunks/chunk-LTD3JYZQ.js +336 -0
- package/dist/chunks/chunk-LVPOJ7EN.js +1309 -0
- package/dist/chunks/chunk-LX7EN665.js +23 -0
- package/dist/chunks/chunk-M4FLYVZW.js +262 -0
- package/dist/chunks/chunk-M55GTXRW.js +166 -0
- package/dist/chunks/chunk-M6EOYUH3.js +315 -0
- package/dist/chunks/chunk-M7MIEQQJ.js +184 -0
- package/dist/chunks/chunk-MC4TU2YF.js +23 -0
- package/dist/chunks/chunk-MCD4ANE7.js +147 -0
- package/dist/chunks/chunk-MDVFISSB.js +139 -0
- package/dist/chunks/chunk-MEZ4SJUC.js +123 -0
- package/dist/chunks/chunk-MIZALSOT.js +222 -0
- package/dist/chunks/chunk-MJ6VIF3D.js +88 -0
- package/dist/chunks/chunk-MJAYRERD.js +187 -0
- package/dist/chunks/chunk-MJSGJ6I4.js +65 -0
- package/dist/chunks/chunk-MNVIAHOR.js +632 -0
- package/dist/chunks/chunk-MO7SQVMT.js +607 -0
- package/dist/chunks/chunk-MOVYLHBM.js +166 -0
- package/dist/chunks/chunk-MQ66HDKC.js +2662 -0
- package/dist/chunks/chunk-MQJCN4M2.js +107 -0
- package/dist/chunks/chunk-MQOEQ4PC.js +23 -0
- package/dist/chunks/chunk-MSZ56S57.js +100 -0
- package/dist/chunks/chunk-MTMYLQWH.js +77 -0
- package/dist/chunks/chunk-MTVWZHE7.js +213 -0
- package/dist/chunks/chunk-MVCG76O6.js +33 -0
- package/dist/chunks/chunk-MVFUNXDH.js +191 -0
- package/dist/chunks/chunk-MVXFBGSB.js +23 -0
- package/dist/chunks/chunk-MXA2ETB3.js +36 -0
- package/dist/chunks/chunk-MYOJ2OUX.js +197 -0
- package/dist/chunks/chunk-MYTNLU6I.js +198 -0
- package/dist/chunks/chunk-MYZZPQU7.js +83 -0
- package/dist/chunks/chunk-MZSHZR4Y.js +207 -0
- package/dist/chunks/chunk-N2GXKXLR.js +160 -0
- package/dist/chunks/chunk-N3SFUPHB.js +50 -0
- package/dist/chunks/chunk-N42YJFOC.js +1677 -0
- package/dist/chunks/chunk-N4APWKFW.js +287 -0
- package/dist/chunks/chunk-N6AWPVJ5.js +95 -0
- package/dist/chunks/chunk-N6MHOOB4.js +366 -0
- package/dist/chunks/chunk-NAHYH77A.js +93 -0
- package/dist/chunks/chunk-NAQRFYBP.js +160 -0
- package/dist/chunks/chunk-NB7EFSGY.js +94 -0
- package/dist/chunks/chunk-NBEE7MVA.js +139 -0
- package/dist/chunks/chunk-NCPP7DAG.js +340 -0
- package/dist/chunks/chunk-NE3UFFDY.js +1574 -0
- package/dist/chunks/chunk-NF3NXIQX.js +23 -0
- package/dist/chunks/chunk-NGVIYWK2.js +23 -0
- package/dist/chunks/chunk-NIKVFWDD.js +115 -0
- package/dist/chunks/chunk-NIPN5R5B.js +93 -0
- package/dist/chunks/chunk-NITDAQWB.js +60 -0
- package/dist/chunks/chunk-NKGRJ4YD.js +112 -0
- package/dist/chunks/chunk-NMOHNZTQ.js +303 -0
- package/dist/chunks/chunk-NOUWP3JK.js +158 -0
- package/dist/chunks/chunk-NSF4CXZC.js +132 -0
- package/dist/chunks/chunk-NSRTHXIZ.js +41 -0
- package/dist/chunks/chunk-NTEIT6UC.js +186 -0
- package/dist/chunks/chunk-NTK3OXDK.js +226 -0
- package/dist/chunks/chunk-NTLYUEUQ.js +181 -0
- package/dist/chunks/chunk-NTWARAQQ.js +101 -0
- package/dist/chunks/chunk-NV4PFFGY.js +339 -0
- package/dist/chunks/chunk-NVBXTTEP.js +167 -0
- package/dist/chunks/chunk-NVPOIW4X.js +33 -0
- package/dist/chunks/chunk-NVY6SKE7.js +23 -0
- package/dist/chunks/chunk-NWFJLNAB.js +258 -0
- package/dist/chunks/chunk-NXBJDJKI.js +23 -0
- package/dist/chunks/chunk-NXNYN5TK.js +168 -0
- package/dist/chunks/chunk-NYOQMMLT.js +110 -0
- package/dist/chunks/chunk-NZB7XVRQ.js +105 -0
- package/dist/chunks/chunk-O2PKNDJG.js +139 -0
- package/dist/chunks/chunk-O2YIXIIW.js +135 -0
- package/dist/chunks/chunk-O3DCF2UM.js +244 -0
- package/dist/chunks/chunk-O3IVQ2F2.js +55 -0
- package/dist/chunks/chunk-O3UIIR6C.js +139 -0
- package/dist/chunks/chunk-O57R5OPE.js +104 -0
- package/dist/chunks/chunk-O6GMQ677.js +98 -0
- package/dist/chunks/chunk-O7QM4M5E.js +93 -0
- package/dist/chunks/chunk-OBTEVYZG.js +462 -0
- package/dist/chunks/chunk-OGDQ45BC.js +177 -0
- package/dist/chunks/chunk-OJSQNIHS.js +180 -0
- package/dist/chunks/chunk-OKLEUGZK.js +177 -0
- package/dist/chunks/chunk-OMWE4ML4.js +104 -0
- package/dist/chunks/chunk-OO27NDKX.js +161 -0
- package/dist/chunks/chunk-OPY6APVX.js +121 -0
- package/dist/chunks/chunk-OQLS4TOY.js +124 -0
- package/dist/chunks/chunk-OR4XXQMG.js +128 -0
- package/dist/chunks/chunk-ORTGNUHE.js +128 -0
- package/dist/chunks/chunk-OSLU6VYJ.js +194 -0
- package/dist/chunks/chunk-OSWMUR34.js +163 -0
- package/dist/chunks/chunk-OT5B7QDA.js +150 -0
- package/dist/chunks/chunk-OTE6EUWP.js +122 -0
- package/dist/chunks/chunk-OTJJNSLB.js +33 -0
- package/dist/chunks/chunk-OU52A4YW.js +165 -0
- package/dist/chunks/chunk-OVBTNR7U.js +23 -0
- package/dist/chunks/chunk-OYTQYBKJ.js +120 -0
- package/dist/chunks/chunk-P2OKKR5E.js +320 -0
- package/dist/chunks/chunk-P373HJEQ.js +153 -0
- package/dist/chunks/chunk-PASNOILA.js +150 -0
- package/dist/chunks/chunk-PC4CRN7J.js +23 -0
- package/dist/chunks/chunk-PCSLYXTW.js +163 -0
- package/dist/chunks/chunk-PDILBJ4W.js +447 -0
- package/dist/chunks/chunk-PFRPEJQ7.js +45 -0
- package/dist/chunks/chunk-PGC3HCFT.js +147 -0
- package/dist/chunks/chunk-PGUAHUFE.js +115 -0
- package/dist/chunks/chunk-PJY3DG52.js +317 -0
- package/dist/chunks/chunk-PKNRS7V7.js +94 -0
- package/dist/chunks/chunk-PLJJVVVO.js +201 -0
- package/dist/chunks/chunk-PN6KHUSF.js +33 -0
- package/dist/chunks/chunk-PNLEEGKA.js +33 -0
- package/dist/chunks/chunk-PP45QTQ6.js +108 -0
- package/dist/chunks/chunk-PPRSMIGM.js +152 -0
- package/dist/chunks/chunk-PQ3A2CLP.js +390 -0
- package/dist/chunks/chunk-PVMSTID2.js +23 -0
- package/dist/chunks/chunk-PWZ5TPBQ.js +100 -0
- package/dist/chunks/chunk-PXXO7PQR.js +99 -0
- package/dist/chunks/chunk-PYXHPAZX.js +738 -0
- package/dist/chunks/chunk-Q2ASEGWN.js +41 -0
- package/dist/chunks/chunk-Q3B5SHXG.js +45 -0
- package/dist/chunks/chunk-Q3FIDB6B.js +292 -0
- package/dist/chunks/chunk-Q47DN67O.js +141 -0
- package/dist/chunks/chunk-Q4DPRHT2.js +106 -0
- package/dist/chunks/chunk-Q63RQCF6.js +144 -0
- package/dist/chunks/chunk-Q7KAXGAK.js +120 -0
- package/dist/chunks/chunk-QBGTS5T7.js +138 -0
- package/dist/chunks/chunk-QCDV2YDY.js +217 -0
- package/dist/chunks/chunk-QDDE5A3O.js +386 -0
- package/dist/chunks/chunk-QEUDZH7J.js +263 -0
- package/dist/chunks/chunk-QF7A6T4H.js +279 -0
- package/dist/chunks/chunk-QHX6GEAS.js +150 -0
- package/dist/chunks/chunk-QMJCMJ4H.js +146 -0
- package/dist/chunks/chunk-QNY7Q7HG.js +53 -0
- package/dist/chunks/chunk-QOR3X7UR.js +54 -0
- package/dist/chunks/chunk-QP7AFE5R.js +97 -0
- package/dist/chunks/chunk-QPL45ZDN.js +183 -0
- package/dist/chunks/chunk-QPUNDLA4.js +301 -0
- package/dist/chunks/chunk-QQL5ADGN.js +283 -0
- package/dist/chunks/chunk-QRSB6IKM.js +358 -0
- package/dist/chunks/chunk-QU2265DN.js +97 -0
- package/dist/chunks/chunk-QV5G6ISE.js +159 -0
- package/dist/chunks/chunk-QY5U725A.js +47 -0
- package/dist/chunks/chunk-QYBYPMVF.js +182 -0
- package/dist/chunks/chunk-QZWEMMEL.js +246 -0
- package/dist/chunks/chunk-R3D5OMSG.js +199 -0
- package/dist/chunks/chunk-R4KIPVK4.js +326 -0
- package/dist/chunks/chunk-R4Q47A2J.js +108 -0
- package/dist/chunks/chunk-R66IPFG4.js +115 -0
- package/dist/chunks/chunk-R6FAPIVP.js +33 -0
- package/dist/chunks/chunk-R6GKNKDN.js +289 -0
- package/dist/chunks/chunk-R7VJXBUC.js +23 -0
- package/dist/chunks/chunk-RBS4AOLB.js +90 -0
- package/dist/chunks/chunk-RCAHZSQD.js +151 -0
- package/dist/chunks/chunk-RCOE444L.js +544 -0
- package/dist/chunks/chunk-RD2D2IIU.js +36 -0
- package/dist/chunks/chunk-REFDALWU.js +23 -0
- package/dist/chunks/chunk-RF3GVBXN.js +220 -0
- package/dist/chunks/chunk-RFA7INNF.js +45 -0
- package/dist/chunks/chunk-RFPREMKF.js +237 -0
- package/dist/chunks/chunk-RG563GJX.js +127 -0
- package/dist/chunks/chunk-RGG5GUS6.js +162 -0
- package/dist/chunks/chunk-RH6WJNB4.js +36 -0
- package/dist/chunks/chunk-RH7SANM5.js +180 -0
- package/dist/chunks/chunk-RHVN4HHJ.js +169 -0
- package/dist/chunks/chunk-RI6O4MTA.js +111 -0
- package/dist/chunks/chunk-RLAWIZTT.js +153 -0
- package/dist/chunks/chunk-RLTRN3YR.js +163 -0
- package/dist/chunks/chunk-RNCZVDXJ.js +102 -0
- package/dist/chunks/chunk-RNDHDUNJ.js +183 -0
- package/dist/chunks/chunk-ROIB32SA.js +87 -0
- package/dist/chunks/chunk-RPCYL3NK.js +260 -0
- package/dist/chunks/chunk-RTAG5GOL.js +184 -0
- package/dist/chunks/chunk-RUBJMQMF.js +33 -0
- package/dist/chunks/chunk-RWPOBQP7.js +33 -0
- package/dist/chunks/chunk-RX5SBRA2.js +1393 -0
- package/dist/chunks/chunk-RXJJAE3K.js +273 -0
- package/dist/chunks/chunk-RYUI74FY.js +101 -0
- package/dist/chunks/chunk-RZODBL5L.js +329 -0
- package/dist/chunks/chunk-S25774X3.js +242 -0
- package/dist/chunks/chunk-S2ICND2E.js +368 -0
- package/dist/chunks/chunk-S45ZJFU2.js +104 -0
- package/dist/chunks/chunk-S4P43PZI.js +97 -0
- package/dist/chunks/chunk-S57NBFBJ.js +152 -0
- package/dist/chunks/chunk-S6FNCLMU.js +108 -0
- package/dist/chunks/chunk-SBEKJIPH.js +162 -0
- package/dist/chunks/chunk-SC5RIAEC.js +362 -0
- package/dist/chunks/chunk-SDQESNSE.js +23 -0
- package/dist/chunks/chunk-SE3U4XYH.js +173 -0
- package/dist/chunks/chunk-SFRBQ2PK.js +95 -0
- package/dist/chunks/chunk-SGMR2EDA.js +1804 -0
- package/dist/chunks/chunk-SGQ6HMGV.js +90 -0
- package/dist/chunks/chunk-SHP6NA5E.js +195 -0
- package/dist/chunks/chunk-SI3ZOUV3.js +50 -0
- package/dist/chunks/chunk-SKXTP74D.js +112 -0
- package/dist/chunks/chunk-SLC4C6NW.js +327 -0
- package/dist/chunks/chunk-SLFNBUMG.js +95 -0
- package/dist/chunks/chunk-SLHKGUXQ.js +106 -0
- package/dist/chunks/chunk-SMAOJZT3.js +97 -0
- package/dist/chunks/chunk-SMSZKZJS.js +382 -0
- package/dist/chunks/chunk-SNIXUPKT.js +145 -0
- package/dist/chunks/chunk-SNLKRCRD.js +89 -0
- package/dist/chunks/chunk-SOZ24MX4.js +106 -0
- package/dist/chunks/chunk-SPGXS7V6.js +239 -0
- package/dist/chunks/chunk-SRSUY2WG.js +265 -0
- package/dist/chunks/chunk-SSWFRDJZ.js +122 -0
- package/dist/chunks/chunk-ST4K264N.js +252 -0
- package/dist/chunks/chunk-STG7FEIQ.js +887 -0
- package/dist/chunks/chunk-SURNQA2T.js +110 -0
- package/dist/chunks/chunk-SX3BZRNE.js +45 -0
- package/dist/chunks/chunk-SXAEFH2P.js +260 -0
- package/dist/chunks/chunk-SXBITE3O.js +111 -0
- package/dist/chunks/chunk-SYJZXGA7.js +56 -0
- package/dist/chunks/chunk-SZXW5SHY.js +117 -0
- package/dist/chunks/chunk-T2GF6JE3.js +90 -0
- package/dist/chunks/chunk-T324DBIE.js +52 -0
- package/dist/chunks/chunk-T5EL32RC.js +133 -0
- package/dist/chunks/chunk-T6LDAWRN.js +23 -0
- package/dist/chunks/chunk-T6QWDC3F.js +49 -0
- package/dist/chunks/chunk-T6T6C5WX.js +215 -0
- package/dist/chunks/chunk-T6YFBUX5.js +179 -0
- package/dist/chunks/chunk-T7OCDXH3.js +84 -0
- package/dist/chunks/chunk-TASIFSPI.js +237 -0
- package/dist/chunks/chunk-TBVBI4EN.js +41 -0
- package/dist/chunks/chunk-TE56ZVPG.js +103 -0
- package/dist/chunks/chunk-TEEIKA7J.js +88 -0
- package/dist/chunks/chunk-TFWGUTYX.js +272 -0
- package/dist/chunks/chunk-TGEZ6XE4.js +81 -0
- package/dist/chunks/chunk-TI24GNCW.js +53 -0
- package/dist/chunks/chunk-TKYYND5Y.js +51 -0
- package/dist/chunks/chunk-TLUNM2TF.js +125 -0
- package/dist/chunks/chunk-TM5RDBI3.js +119 -0
- package/dist/chunks/chunk-TO2G6M5V.js +86 -0
- package/dist/chunks/chunk-TOP6QIZY.js +146 -0
- package/dist/chunks/chunk-TOZ7ELK3.js +192 -0
- package/dist/chunks/chunk-TQGA2XPO.js +174 -0
- package/dist/chunks/chunk-TQPKOPCW.js +118 -0
- package/dist/chunks/chunk-TRDR2HTF.js +192 -0
- package/dist/chunks/chunk-TTFJSFYE.js +45 -0
- package/dist/chunks/chunk-TTV6D6WE.js +80 -0
- package/dist/chunks/chunk-TUAADYK6.js +198 -0
- package/dist/chunks/chunk-TUGJBNNZ.js +122 -0
- package/dist/chunks/chunk-TUNKWS22.js +167 -0
- package/dist/chunks/chunk-TUTKS5P3.js +45 -0
- package/dist/chunks/chunk-TVEKOSL6.js +84 -0
- package/dist/chunks/chunk-TW2YBHAS.js +175 -0
- package/dist/chunks/chunk-TYBWMK2R.js +194 -0
- package/dist/chunks/chunk-TYDS5EEV.js +187 -0
- package/dist/chunks/chunk-TYZPQWCO.js +382 -0
- package/dist/chunks/chunk-TZ2FJBOE.js +567 -0
- package/dist/chunks/chunk-TZRTTFNQ.js +42 -0
- package/dist/chunks/chunk-U2USBF33.js +77 -0
- package/dist/chunks/chunk-UA7OECXL.js +177 -0
- package/dist/chunks/chunk-UALZ77YU.js +101 -0
- package/dist/chunks/chunk-UB2CW3JK.js +411 -0
- package/dist/chunks/chunk-UCCRKS3X.js +102 -0
- package/dist/chunks/chunk-UD57CHXN.js +204 -0
- package/dist/chunks/chunk-UDCFEWHX.js +262 -0
- package/dist/chunks/chunk-UDKGYTJF.js +23 -0
- package/dist/chunks/chunk-UENEUEO4.js +78 -0
- package/dist/chunks/chunk-UFM7YDUK.js +72 -0
- package/dist/chunks/chunk-UFRPKZMD.js +33 -0
- package/dist/chunks/chunk-UGFV3A35.js +315 -0
- package/dist/chunks/chunk-UHQ6VJHC.js +215 -0
- package/dist/chunks/chunk-UHQTNURS.js +574 -0
- package/dist/chunks/chunk-UJCH2M3Y.js +91 -0
- package/dist/chunks/chunk-UJORPKRW.js +90 -0
- package/dist/chunks/chunk-UKJMBB65.js +304 -0
- package/dist/chunks/chunk-UKZAWO4R.js +464 -0
- package/dist/chunks/chunk-ULNC47JX.js +78 -0
- package/dist/chunks/chunk-ULOS6YOR.js +36 -0
- package/dist/chunks/chunk-UM6QUOOH.js +201 -0
- package/dist/chunks/chunk-UMGBNVBJ.js +97 -0
- package/dist/chunks/chunk-UMQJM2ZI.js +61 -0
- package/dist/chunks/chunk-UNP33F6D.js +23 -0
- package/dist/chunks/chunk-UNTH3AOH.js +176 -0
- package/dist/chunks/chunk-UP6M77DM.js +77 -0
- package/dist/chunks/chunk-UPJ5IXGA.js +293 -0
- package/dist/chunks/chunk-UPUIW6WL.js +240 -0
- package/dist/chunks/chunk-UQCLYZLQ.js +385 -0
- package/dist/chunks/chunk-URCFHJXT.js +94 -0
- package/dist/chunks/chunk-URTSA2C4.js +290 -0
- package/dist/chunks/chunk-URXKBGNG.js +304 -0
- package/dist/chunks/chunk-USOSAINL.js +94 -0
- package/dist/chunks/chunk-UUVFCXEF.js +412 -0
- package/dist/chunks/chunk-UVAM6572.js +23 -0
- package/dist/chunks/chunk-UWAMU3QI.js +345 -0
- package/dist/chunks/chunk-UWP5NEDG.js +267 -0
- package/dist/chunks/chunk-UWVAGRTP.js +113 -0
- package/dist/chunks/chunk-UXG3CC3X.js +103 -0
- package/dist/chunks/chunk-UYGTT3GT.js +157 -0
- package/dist/chunks/chunk-UYRIP57W.js +95 -0
- package/dist/chunks/chunk-V26DPHXS.js +93 -0
- package/dist/chunks/chunk-V2KZMUUV.js +52 -0
- package/dist/chunks/chunk-V4LR6DUQ.js +75 -0
- package/dist/chunks/chunk-V5OW4YFE.js +165 -0
- package/dist/chunks/chunk-V6OEIHVT.js +130 -0
- package/dist/chunks/chunk-V75VJKG5.js +299 -0
- package/dist/chunks/chunk-V7CW4BMC.js +105 -0
- package/dist/chunks/chunk-V7NNEVW7.js +165 -0
- package/dist/chunks/chunk-VADIAWGL.js +68 -0
- package/dist/chunks/chunk-VD3VUBIQ.js +363 -0
- package/dist/chunks/chunk-VDZROQIV.js +102 -0
- package/dist/chunks/chunk-VEI66U2U.js +261 -0
- package/dist/chunks/chunk-VF4FO65C.js +102 -0
- package/dist/chunks/chunk-VFZUPGK7.js +189 -0
- package/dist/chunks/chunk-VIDB76SW.js +133 -0
- package/dist/chunks/chunk-VKC33NBX.js +33 -0
- package/dist/chunks/chunk-VKPK4KBY.js +514 -0
- package/dist/chunks/chunk-VM244NG3.js +76 -0
- package/dist/chunks/chunk-VMVVBNLQ.js +160 -0
- package/dist/chunks/chunk-VNJBY5WB.js +361 -0
- package/dist/chunks/chunk-VORRUGL3.js +282 -0
- package/dist/chunks/chunk-VPI2II5W.js +161 -0
- package/dist/chunks/chunk-VRAGG32Y.js +49 -0
- package/dist/chunks/chunk-VS357YGY.js +176 -0
- package/dist/chunks/chunk-VS7JIEBJ.js +126 -0
- package/dist/chunks/chunk-VT7UU3UP.js +103 -0
- package/dist/chunks/chunk-VU4PV747.js +146 -0
- package/dist/chunks/chunk-VUBEGZJN.js +221 -0
- package/dist/chunks/chunk-VUI34P2Z.js +52 -0
- package/dist/chunks/chunk-VX7BKOHM.js +133 -0
- package/dist/chunks/chunk-VXZUNEFN.js +277 -0
- package/dist/chunks/chunk-VZJWTDTS.js +23 -0
- package/dist/chunks/chunk-VZTZJTPP.js +961 -0
- package/dist/chunks/chunk-W4LZGH6W.js +94 -0
- package/dist/chunks/chunk-W4NW4MP5.js +235 -0
- package/dist/chunks/chunk-W6CK5MYV.js +276 -0
- package/dist/chunks/chunk-WBK2DOWJ.js +23 -0
- package/dist/chunks/chunk-WBNQ7HAG.js +147 -0
- package/dist/chunks/chunk-WCHHYVVZ.js +141 -0
- package/dist/chunks/chunk-WCIXWIIL.js +93 -0
- package/dist/chunks/chunk-WCJZKLEY.js +23 -0
- package/dist/chunks/chunk-WDDXAXMY.js +45 -0
- package/dist/chunks/chunk-WDQAG2RE.js +100 -0
- package/dist/chunks/chunk-WDTBZJGD.js +198 -0
- package/dist/chunks/chunk-WDTDVTAN.js +45 -0
- package/dist/chunks/chunk-WEG6EAC7.js +23 -0
- package/dist/chunks/chunk-WGWVKCBU.js +84 -0
- package/dist/chunks/chunk-WHWQQG2J.js +172 -0
- package/dist/chunks/chunk-WJCJNPOX.js +159 -0
- package/dist/chunks/chunk-WJR5S6MQ.js +147 -0
- package/dist/chunks/chunk-WLLGREOU.js +202 -0
- package/dist/chunks/chunk-WLMST5BF.js +93 -0
- package/dist/chunks/chunk-WM6ZEBNM.js +120 -0
- package/dist/chunks/chunk-WQBUPC5U.js +312 -0
- package/dist/chunks/chunk-WQD3M4SM.js +77 -0
- package/dist/chunks/chunk-WQTIZDXH.js +345 -0
- package/dist/chunks/chunk-WR75D2J2.js +274 -0
- package/dist/chunks/chunk-WSGRGT5E.js +145 -0
- package/dist/chunks/chunk-WT5F3ZNI.js +182 -0
- package/dist/chunks/chunk-WUSKZV2W.js +115 -0
- package/dist/chunks/chunk-WV6ZTKE7.js +51 -0
- package/dist/chunks/chunk-WXY6LWRB.js +33 -0
- package/dist/chunks/chunk-WYNTEDM3.js +172 -0
- package/dist/chunks/chunk-X2BAGHES.js +112 -0
- package/dist/chunks/chunk-X2BEN4S5.js +136 -0
- package/dist/chunks/chunk-X3HT5IHG.js +424 -0
- package/dist/chunks/chunk-X4EJUV3X.js +91 -0
- package/dist/chunks/chunk-X4HN5LP7.js +118 -0
- package/dist/chunks/chunk-X7SXUJNU.js +255 -0
- package/dist/chunks/chunk-X7Z4HLAT.js +75 -0
- package/dist/chunks/chunk-XBOSHQH2.js +95 -0
- package/dist/chunks/chunk-XDK3FCKJ.js +215 -0
- package/dist/chunks/chunk-XDMQ6YHY.js +689 -0
- package/dist/chunks/chunk-XE3WNWN6.js +30 -0
- package/dist/chunks/chunk-XE5PHXFW.js +36 -0
- package/dist/chunks/chunk-XID46XN3.js +45 -0
- package/dist/chunks/chunk-XIOZFBZ5.js +304 -0
- package/dist/chunks/chunk-XIRI5JXO.js +123 -0
- package/dist/chunks/chunk-XJUSSPSN.js +66 -0
- package/dist/chunks/chunk-XJYGS6YQ.js +131 -0
- package/dist/chunks/chunk-XL2QEXIR.js +83 -0
- package/dist/chunks/chunk-XLH3LH35.js +84 -0
- package/dist/chunks/chunk-XMBY4GQC.js +120 -0
- package/dist/chunks/chunk-XNCBJGF3.js +214 -0
- package/dist/chunks/chunk-XNIGSGRA.js +137 -0
- package/dist/chunks/chunk-XNMDDRTY.js +48 -0
- package/dist/chunks/chunk-XNXQIO3C.js +415 -0
- package/dist/chunks/chunk-XS6WFGSH.js +110 -0
- package/dist/chunks/chunk-XUZP6ZDB.js +113 -0
- package/dist/chunks/chunk-XV4HJZIX.js +342 -0
- package/dist/chunks/chunk-XVLQQVLW.js +484 -0
- package/dist/chunks/chunk-XW2CG5WK.js +122 -0
- package/dist/chunks/chunk-XW6UK4XV.js +425 -0
- package/dist/chunks/chunk-XY2UVFSV.js +33 -0
- package/dist/chunks/chunk-Y2JQPDHW.js +242 -0
- package/dist/chunks/chunk-Y3MKKFJV.js +97 -0
- package/dist/chunks/chunk-Y46TF5JZ.js +66 -0
- package/dist/chunks/chunk-Y4ZOHJT2.js +1136 -0
- package/dist/chunks/chunk-Y6DHN37V.js +98 -0
- package/dist/chunks/chunk-Y7F6GN5L.js +126 -0
- package/dist/chunks/chunk-Y7I6T6S2.js +194 -0
- package/dist/chunks/chunk-YAKOWHWE.js +361 -0
- package/dist/chunks/chunk-YB6MELXO.js +196 -0
- package/dist/chunks/chunk-YDC5K6NX.js +130 -0
- package/dist/chunks/chunk-YDHKVZ4N.js +115 -0
- package/dist/chunks/chunk-YDNHZZGU.js +74 -0
- package/dist/chunks/chunk-YFWLU5WW.js +23 -0
- package/dist/chunks/chunk-YHMT5KEW.js +212 -0
- package/dist/chunks/chunk-YHTLNVXJ.js +23 -0
- package/dist/chunks/chunk-YIEUMY43.js +262 -0
- package/dist/chunks/chunk-YIMHLXXF.js +146 -0
- package/dist/chunks/chunk-YJSCKSNY.js +366 -0
- package/dist/chunks/chunk-YJYGAWBS.js +391 -0
- package/dist/chunks/chunk-YMVKPMZO.js +368 -0
- package/dist/chunks/chunk-YNAICOB2.js +187 -0
- package/dist/chunks/chunk-YOUKVCGZ.js +127 -0
- package/dist/chunks/chunk-YPBD7EUC.js +146 -0
- package/dist/chunks/chunk-YPFYJKMM.js +118 -0
- package/dist/chunks/chunk-YPHNGRQP.js +175 -0
- package/dist/chunks/chunk-YPLJSTUA.js +97 -0
- package/dist/chunks/chunk-YQC2IVAU.js +803 -0
- package/dist/chunks/chunk-YQEP6YFO.js +78 -0
- package/dist/chunks/chunk-YR7TZQYH.js +428 -0
- package/dist/chunks/chunk-YRRB5QDQ.js +229 -0
- package/dist/chunks/chunk-YRZJ4QPG.js +626 -0
- package/dist/chunks/chunk-YSEL45TN.js +135 -0
- package/dist/chunks/chunk-YT6TGRM4.js +11806 -0
- package/dist/chunks/chunk-YTS6PXTH.js +197 -0
- package/dist/chunks/chunk-YWNLZHPX.js +164 -0
- package/dist/chunks/chunk-YX2HWYPO.js +135 -0
- package/dist/chunks/chunk-YYQUCS6P.js +203 -0
- package/dist/chunks/chunk-YZVCBFAG.js +23 -0
- package/dist/chunks/chunk-Z257MZVJ.js +49 -0
- package/dist/chunks/chunk-Z2YHJW5G.js +221 -0
- package/dist/chunks/chunk-Z2ZTQOKM.js +78 -0
- package/dist/chunks/chunk-Z32XURQ3.js +479 -0
- package/dist/chunks/chunk-ZAYVCDGB.js +163 -0
- package/dist/chunks/chunk-ZCLJADSE.js +154 -0
- package/dist/chunks/chunk-ZEOKTCQW.js +446 -0
- package/dist/chunks/chunk-ZFUNZPIN.js +156 -0
- package/dist/chunks/chunk-ZGDPBI6J.js +116 -0
- package/dist/chunks/chunk-ZGLXMJRC.js +290 -0
- package/dist/chunks/chunk-ZHMHZSPX.js +255 -0
- package/dist/chunks/chunk-ZJ2SB5ZT.js +33 -0
- package/dist/chunks/chunk-ZJS37D5Z.js +337 -0
- package/dist/chunks/chunk-ZN7FO3G7.js +79 -0
- package/dist/chunks/chunk-ZOEQCG3C.js +147 -0
- package/dist/chunks/chunk-ZOGSIPQC.js +156 -0
- package/dist/chunks/chunk-ZOY44347.js +96 -0
- package/dist/chunks/chunk-ZPXL7YPT.js +282 -0
- package/dist/chunks/chunk-ZRK4E77C.js +103 -0
- package/dist/chunks/chunk-ZRN2UMCM.js +95 -0
- package/dist/chunks/chunk-ZSEPLVD5.js +105 -0
- package/dist/chunks/chunk-ZSJLSN7C.js +130 -0
- package/dist/chunks/chunk-ZU2EO2TX.js +172 -0
- package/dist/chunks/chunk-ZUQGVYN3.js +151 -0
- package/dist/chunks/chunk-ZVFOMLX6.js +116 -0
- package/dist/chunks/chunk-ZVTRB4ZH.js +251 -0
- package/dist/chunks/chunk-ZW5QQB3F.js +100 -0
- package/dist/chunks/client-3FYDPRVC.js +31 -0
- package/dist/chunks/client-5YPZUV5L.js +44 -0
- package/dist/chunks/client-NBSGVJPN.js +167 -0
- package/dist/chunks/client-actions-J2SQWW4O.js +160 -0
- package/dist/chunks/client-store-IP5BHSV5.js +33 -0
- package/dist/chunks/components-AUPAMH3C.js +72 -0
- package/dist/chunks/dangerous-3EDPWONV.js +117 -0
- package/dist/chunks/document-library-CCMG67U5.js +62 -0
- package/dist/chunks/editor-seams-NG3BESM6.js +161 -0
- package/dist/chunks/editor-store-NDV4IXDK.js +139 -0
- package/dist/chunks/export-QMP2HMKB.js +67 -0
- package/dist/chunks/export-fills-N6NQHC3B.js +35 -0
- package/dist/chunks/export-watermark-SNBNUS3L.js +146 -0
- package/dist/chunks/eyedropper-L5DVFZV5.js +349 -0
- package/dist/chunks/generate-media-ASNNFDML.js +253 -0
- package/dist/chunks/headless-OIF3Q2MU.js +186 -0
- package/dist/chunks/host-27DZN23E.js +240 -0
- package/dist/chunks/host-5DYGKFJ7.js +171 -0
- package/dist/chunks/import-LWIB4WUJ.js +702 -0
- package/dist/chunks/import-merge-UGBF66ST.js +39 -0
- package/dist/chunks/instances-YXPJVXYS.js +79 -0
- package/dist/chunks/integrations-2BG5XVX3.js +115 -0
- package/dist/chunks/invariants-IQ26TR4C.js +62 -0
- package/dist/chunks/kit-modules-NMONCEP4.js +18 -0
- package/dist/chunks/libraries-QV4QPEYK.js +302 -0
- package/dist/chunks/library-previews-IXWFHUTJ.js +199 -0
- package/dist/chunks/live-EI26E2RB.js +312 -0
- package/dist/chunks/lottie-DXGDMMEK.js +86 -0
- package/dist/chunks/media-tool-OVVKBD3N.js +332 -0
- package/dist/chunks/new-file-DX5L4NF6.js +129 -0
- package/dist/chunks/next-commerce-W3QKDMC4.js +67 -0
- package/dist/chunks/page-thumbnails-QUBYIFNT.js +137 -0
- package/dist/chunks/pdf-EM7WHNE5.js +1217 -0
- package/dist/chunks/pdf-import-K7HD7VUG.js +370 -0
- package/dist/chunks/plan-3SAKSY7E.js +82 -0
- package/dist/chunks/player-check-PKCQDTMR.js +114 -0
- package/dist/chunks/plugin-P6FYIVKR.js +124 -0
- package/dist/chunks/plugin-import-V2ORN2OW.js +666 -0
- package/dist/chunks/pptx-HV5HHTDL.js +309 -0
- package/dist/chunks/presence-YNIJGI73.js +127 -0
- package/dist/chunks/preview-media-TOIQAI26.js +122 -0
- package/dist/chunks/project-UK457FEX.js +1653 -0
- package/dist/chunks/publish-site-E4A557HC.js +158 -0
- package/dist/chunks/publish-store-U5SDQCU4.js +93 -0
- package/dist/chunks/raster-actions-4E7H3G62.js +229 -0
- package/dist/chunks/reference-images-GBFOIOAM.js +62 -0
- package/dist/chunks/resolvers-ONCAKSTL.js +139 -0
- package/dist/chunks/review-kits-4ZG42RXB.js +41 -0
- package/dist/chunks/runner-DHWGPGPD.js +1233 -0
- package/dist/chunks/runtime-ZFSHTK76.js +32 -0
- package/dist/chunks/shader-preview-ZYBQBOJQ.js +518 -0
- package/dist/chunks/sites-XV7IK35R.js +33 -0
- package/dist/chunks/store-CUL3XS5L.js +224 -0
- package/dist/chunks/storefront-MZM2W5DF.js +329 -0
- package/dist/chunks/storefront-prepare-WKX3DJCF.js +33 -0
- package/dist/chunks/stress-document-P7TGBY5V.js +126 -0
- package/dist/chunks/svg-export-FP7NTL2M.js +81 -0
- package/dist/chunks/svg-place-WKOZ377I.js +39 -0
- package/dist/chunks/sync-U23VGFOY.js +153 -0
- package/dist/chunks/tabs-K6MESOUX.js +311 -0
- package/dist/chunks/team-7APVVP43.js +44 -0
- package/dist/chunks/team-client-XTH5DXVW.js +157 -0
- package/dist/chunks/templates-IIOLUAAI.js +181 -0
- package/dist/chunks/tools-PE6DEYSG.js +35 -0
- package/dist/chunks/tree-IPKR3HPF.js +72 -0
- package/dist/chunks/ui-commands-WQJFLB5K.js +269 -0
- package/dist/chunks/use-QUYFPT2O.js +45 -0
- package/dist/chunks/versions-Y4F3IO37.js +311 -0
- package/dist/chunks/video-GRV7TEX4.js +75 -0
- package/dist/chunks/web-GFLIQLQT.js +172 -0
- package/dist/index.js +56 -56
- package/dist/lib/document/instances.js +3 -3
- package/dist/lib/document/libraries.js +5 -5
- package/dist/lib/document/photo-frames.js +5 -5
- package/dist/lib/document/print-pages.js +4 -4
- package/dist/lib/document/scene-graph.js +4 -4
- package/dist/lib/editor/prototype-connect.js +5 -5
- package/dist/lib/fonts/runtime.js +1 -1
- package/dist/lib/marketplace/motion.js +11 -11
- package/dist/lib/motion/audio-clips.js +7 -7
- package/dist/lib/motion/author.js +12 -12
- package/dist/lib/motion/key-selection.js +8 -8
- package/dist/lib/motion/pose.js +13 -13
- package/dist/lib/motion/present.js +14 -14
- package/dist/lib/motion/presets.js +13 -13
- package/dist/lib/motion/properties.js +2 -2
- package/dist/lib/motion/shader-audio.js +4 -4
- package/dist/lib/motion/spatial.js +8 -8
- package/dist/lib/motion/text-animators.js +8 -8
- package/dist/lib/slides/slides.js +5 -5
- package/dist/lib/templates/apply.js +6 -6
- package/dist/lib/templates/capabilities.js +12 -12
- package/dist/lib/templates/capture.js +7 -7
- package/dist/lib/templates/finish.js +22 -22
- package/dist/lib/templates/layout.js +5 -5
- package/dist/lib/templates/resize.js +6 -6
- package/dist/lib/templates/upload.js +2 -2
- package/dist/lib/templates/vocabulary.js +2 -2
- package/dist/migrations/board-meta.js +8 -8
- package/dist/migrations/brand-media.js +23 -23
- package/dist/migrations/brand-slots.js +5 -5
- package/dist/migrations/categories.js +2 -2
- package/dist/migrations/hug-content.js +6 -6
- package/dist/migrations/index.js +55 -55
- package/dist/migrations/min-type.js +8 -8
- package/dist/migrations/text-on-dark.js +7 -7
- package/dist/migrations/timeline-facets.js +25 -25
- package/dist/migrations/violet-ink.js +7 -7
- package/dist/seed/popcraft.comic-cover-pulp.json.gz +0 -0
- package/dist/seed/popcraft.comic-radial.json.gz +0 -0
- package/dist/templates/anime/character.js +36 -36
- package/dist/templates/anime/duel.js +39 -39
- package/dist/templates/anime/morning.js +39 -39
- package/dist/templates/anime/rain.js +39 -39
- package/dist/templates/anime/shared.js +37 -37
- package/dist/templates/anime/starlight.js +39 -39
- package/dist/templates/anime/titan.js +39 -39
- package/dist/templates/app/festival-presale-electronic-ticket.js +41 -41
- package/dist/templates/app/festival-presale-family-ticket.js +41 -41
- package/dist/templates/app/festival-presale-folk-ticket.js +41 -41
- package/dist/templates/app/festival-presale-food-ticket.js +41 -41
- package/dist/templates/app/festival-presale-jazz-ticket.js +41 -41
- package/dist/templates/app/festival-presale-street-ticket.js +42 -42
- package/dist/templates/app/music/build.js +24 -24
- package/dist/templates/app/music/world.js +13 -13
- package/dist/templates/app/music-grove.js +37 -37
- package/dist/templates/app/music-nightline.js +37 -37
- package/dist/templates/app/music-orbit.js +37 -37
- package/dist/templates/app/music-undertow.js +37 -37
- package/dist/templates/app/onboarding-carousel.js +35 -35
- package/dist/templates/app/saas-store-paywall.js +35 -35
- package/dist/templates/app/splash.js +35 -35
- package/dist/templates/app/success-confetti.js +35 -35
- package/dist/templates/app/tour-tickets-june-ticket.js +35 -35
- package/dist/templates/app/tour-tickets-tide-ticket.js +35 -35
- package/dist/templates/app/tour-tickets-wreck-ticket.js +35 -35
- package/dist/templates/build.js +24 -24
- package/dist/templates/cards/index.js +37 -37
- package/dist/templates/cards/shared.js +35 -35
- package/dist/templates/cards/themes.js +36 -36
- package/dist/templates/count.js +17 -17
- package/dist/templates/data/bars.js +35 -35
- package/dist/templates/data/countdown-story.js +35 -35
- package/dist/templates/data/counters.js +35 -35
- package/dist/templates/data/donut.js +35 -35
- package/dist/templates/data/line.js +35 -35
- package/dist/templates/data/year-in-review.js +35 -35
- package/dist/templates/effects/glass-intro.js +35 -35
- package/dist/templates/effects/glass-promo.js +35 -35
- package/dist/templates/effects/grain-story.js +35 -35
- package/dist/templates/effects/grid-intro.js +35 -35
- package/dist/templates/effects/halftone-story.js +35 -35
- package/dist/templates/effects/mesh-story.js +35 -35
- package/dist/templates/effects/shader-title.js +35 -35
- package/dist/templates/email/april-fools-header.js +37 -37
- package/dist/templates/email/art-deco-invitation.js +37 -37
- package/dist/templates/email/autumn-harvest-header.js +37 -37
- package/dist/templates/email/back-to-school-header.js +37 -37
- package/dist/templates/email/black-friday-coupons-header.js +37 -37
- package/dist/templates/email/black-friday-header.js +36 -36
- package/dist/templates/email/black-friday-neon-header.js +39 -39
- package/dist/templates/email/black-friday-scratch-header.js +37 -37
- package/dist/templates/email/black-friday-ticker-header.js +37 -37
- package/dist/templates/email/broadsheet-weekly-edition-header.js +36 -36
- package/dist/templates/email/claymation-header.js +38 -38
- package/dist/templates/email/countdown-gif.js +36 -36
- package/dist/templates/email/cyberpunk-header.js +39 -39
- package/dist/templates/email/diwali-header.js +38 -38
- package/dist/templates/email/earth-day-header.js +38 -38
- package/dist/templates/email/festival-presale-electronic-header.js +41 -41
- package/dist/templates/email/festival-presale-family-header.js +41 -41
- package/dist/templates/email/festival-presale-folk-header.js +41 -41
- package/dist/templates/email/festival-presale-food-header.js +41 -41
- package/dist/templates/email/festival-presale-jazz-header.js +41 -41
- package/dist/templates/email/festival-presale-street-header.js +42 -42
- package/dist/templates/email/gothic-header.js +36 -36
- package/dist/templates/email/halloween-header.js +38 -38
- package/dist/templates/email/header-launch.js +36 -36
- package/dist/templates/email/header-newsletter.js +36 -36
- package/dist/templates/email/header-sale.js +36 -36
- package/dist/templates/email/lunar-new-year-header.js +38 -38
- package/dist/templates/email/manuscript-chronicle-header.js +37 -37
- package/dist/templates/email/new-year-header.js +38 -38
- package/dist/templates/email/noir-header.js +39 -39
- package/dist/templates/email/psychedelic-header.js +38 -38
- package/dist/templates/email/riso-zine-changelog-header.js +39 -39
- package/dist/templates/email/saas-mail-changelog.js +38 -38
- package/dist/templates/email/saas-mail-day-one.js +38 -38
- package/dist/templates/email/saas-mail-day-three.js +37 -37
- package/dist/templates/email/saas-mail-launch.js +37 -37
- package/dist/templates/email/saas-mail-payment-failed.js +37 -37
- package/dist/templates/email/saas-mail-sign-in-code.js +37 -37
- package/dist/templates/email/saas-mail-trial-ending.js +37 -37
- package/dist/templates/email/saas-mail-waitlist.js +37 -37
- package/dist/templates/email/shared.js +23 -23
- package/dist/templates/email/singles-day-header.js +38 -38
- package/dist/templates/email/solarpunk-header.js +38 -38
- package/dist/templates/email/space-opera-header.js +38 -38
- package/dist/templates/email/spring-bloom-header.js +38 -38
- package/dist/templates/email/style-bento-header.js +37 -37
- package/dist/templates/email/style-brutalist-header.js +37 -37
- package/dist/templates/email/style-dark-header.js +37 -37
- package/dist/templates/email/style-data-header.js +37 -37
- package/dist/templates/email/style-editorial-header.js +37 -37
- package/dist/templates/email/style-glass-header.js +38 -38
- package/dist/templates/email/style-gradient-header.js +37 -37
- package/dist/templates/email/style-maximal-header.js +37 -37
- package/dist/templates/email/style-pastel-header.js +38 -38
- package/dist/templates/email/style-sketch-header.js +38 -38
- package/dist/templates/email/style-swiss-header.js +37 -37
- package/dist/templates/email/style-terminal-header.js +39 -39
- package/dist/templates/email/summer-heatwave-header.js +38 -38
- package/dist/templates/email/tour-tickets-june-header.js +36 -36
- package/dist/templates/email/tour-tickets-tide-header.js +36 -36
- package/dist/templates/email/tour-tickets-wreck-header.js +36 -36
- package/dist/templates/email/transit-map-service-update.js +38 -38
- package/dist/templates/email/ukiyo-e-greeting-header.js +38 -38
- package/dist/templates/email/valentines-header.js +38 -38
- package/dist/templates/email/winter-cosy-header.js +39 -39
- package/dist/templates/email/winter-holidays-header.js +39 -39
- package/dist/templates/game/blossom-bash-puzzle.js +36 -36
- package/dist/templates/game/deckbound-roguelike.js +36 -36
- package/dist/templates/game/emberfall-rpg.js +36 -36
- package/dist/templates/game/hearthmoor-farm.js +36 -36
- package/dist/templates/game/index.js +49 -49
- package/dist/templates/game/iron-lotus-fighter.js +36 -36
- package/dist/templates/game/ironroot-rts.js +36 -36
- package/dist/templates/game/mossy-hollow-platformer.js +38 -38
- package/dist/templates/game/neon-apex-racing.js +36 -36
- package/dist/templates/game/platformer.js +37 -37
- package/dist/templates/game/pulse-riot-rhythm.js +36 -36
- package/dist/templates/game/shared.js +23 -23
- package/dist/templates/game/sprout-quest-pixel-platformer.js +38 -38
- package/dist/templates/game/vanta-fps.js +36 -36
- package/dist/templates/index.js +912 -900
- package/dist/templates/index.json +249 -0
- package/dist/templates/kinetic/letters.js +35 -35
- package/dist/templates/kinetic/lines.js +35 -35
- package/dist/templates/kinetic/typewriter.js +35 -35
- package/dist/templates/kinetic/word-swap.js +35 -35
- package/dist/templates/kinetic/words.js +35 -35
- package/dist/templates/kit.js +22 -22
- package/dist/templates/libraries/audio-reactive.js +37 -37
- package/dist/templates/libraries/loaders.js +35 -35
- package/dist/templates/libraries/micro-interactions.js +35 -35
- package/dist/templates/libraries/motion-essentials.js +35 -35
- package/dist/templates/libraries/toasts.js +35 -35
- package/dist/templates/lottie/ai.js +36 -36
- package/dist/templates/lottie/climate.js +36 -36
- package/dist/templates/lottie/commerce.js +36 -36
- package/dist/templates/lottie/education.js +36 -36
- package/dist/templates/lottie/fintech.js +36 -36
- package/dist/templates/lottie/food.js +36 -36
- package/dist/templates/lottie/health.js +36 -36
- package/dist/templates/lottie/index.js +60 -60
- package/dist/templates/lottie/lottie-kit.js +35 -35
- package/dist/templates/lottie/realestate.js +36 -36
- package/dist/templates/lottie/saas-ui-checklist.js +37 -37
- package/dist/templates/lottie/saas-ui-dashboard-hero.js +37 -37
- package/dist/templates/lottie/saas-ui-empty-data.js +37 -37
- package/dist/templates/lottie/saas-ui-empty-search.js +37 -37
- package/dist/templates/lottie/saas-ui-error-retry.js +37 -37
- package/dist/templates/lottie/saas-ui-file-upload.js +37 -37
- package/dist/templates/lottie/saas-ui-streaming-answer.js +37 -37
- package/dist/templates/lottie/saas-ui-sync-connected.js +37 -37
- package/dist/templates/lottie/saas-ui-trial-timeline.js +37 -37
- package/dist/templates/lottie/saas-ui-upgrade-unlocked.js +37 -37
- package/dist/templates/lottie/saas-ui.js +47 -47
- package/dist/templates/lottie/saas.js +36 -36
- package/dist/templates/lottie/security.js +36 -36
- package/dist/templates/lottie/techniques.js +36 -36
- package/dist/templates/lottie/travel.js +36 -36
- package/dist/templates/motion/ambient-loop.js +35 -35
- package/dist/templates/motion/app-icon-sting.js +35 -35
- package/dist/templates/motion/april-fools-infomercial-reel.js +37 -37
- package/dist/templates/motion/arcade-high-score.js +38 -38
- package/dist/templates/motion/art-deco-grand-opening.js +36 -36
- package/dist/templates/motion/autumn-harvest-year-reel.js +36 -36
- package/dist/templates/motion/back-to-school-timetable-reel.js +36 -36
- package/dist/templates/motion/bauhaus-launch-reel.js +36 -36
- package/dist/templates/motion/black-friday-coupons-deal-reel.js +37 -37
- package/dist/templates/motion/black-friday-coupons-last-day.js +37 -37
- package/dist/templates/motion/black-friday-deal-drop.js +35 -35
- package/dist/templates/motion/black-friday-neon-deal-reel.js +38 -38
- package/dist/templates/motion/black-friday-neon-last-day.js +38 -38
- package/dist/templates/motion/black-friday-scratch-countdown.js +36 -36
- package/dist/templates/motion/black-friday-scratch-deal-reel.js +36 -36
- package/dist/templates/motion/black-friday-scratch-last-day.js +36 -36
- package/dist/templates/motion/black-friday-ticker-deal-drop.js +36 -36
- package/dist/templates/motion/black-friday-ticker-last-call.js +37 -37
- package/dist/templates/motion/blueprint-rev-b-reel.js +37 -37
- package/dist/templates/motion/broadsheet-launch-reel.js +35 -35
- package/dist/templates/motion/broadsheet-milestone-post.js +36 -36
- package/dist/templates/motion/claymation-launch-reel.js +37 -37
- package/dist/templates/motion/comic-book-issue-reel.js +38 -38
- package/dist/templates/motion/countdown.js +35 -35
- package/dist/templates/motion/cyberpunk-lock-on-reel.js +38 -38
- package/dist/templates/motion/departure-board-reel.js +36 -36
- package/dist/templates/motion/diwali-lamps-reel.js +37 -37
- package/dist/templates/motion/earth-day-footprint-reel.js +37 -37
- package/dist/templates/motion/earth-day-pledge-post.js +37 -37
- package/dist/templates/motion/festival-presale-electronic-countdown.js +41 -41
- package/dist/templates/motion/festival-presale-electronic-lineup.js +41 -41
- package/dist/templates/motion/festival-presale-electronic-reel.js +41 -41
- package/dist/templates/motion/festival-presale-electronic-tier.js +41 -41
- package/dist/templates/motion/festival-presale-family-countdown.js +41 -41
- package/dist/templates/motion/festival-presale-family-lineup.js +41 -41
- package/dist/templates/motion/festival-presale-family-reel.js +41 -41
- package/dist/templates/motion/festival-presale-family-tier.js +41 -41
- package/dist/templates/motion/festival-presale-folk-countdown.js +41 -41
- package/dist/templates/motion/festival-presale-folk-lineup.js +41 -41
- package/dist/templates/motion/festival-presale-folk-reel.js +41 -41
- package/dist/templates/motion/festival-presale-folk-tier.js +41 -41
- package/dist/templates/motion/festival-presale-food-countdown.js +41 -41
- package/dist/templates/motion/festival-presale-food-lineup.js +41 -41
- package/dist/templates/motion/festival-presale-food-reel.js +41 -41
- package/dist/templates/motion/festival-presale-food-tier.js +41 -41
- package/dist/templates/motion/festival-presale-jazz-countdown.js +41 -41
- package/dist/templates/motion/festival-presale-jazz-lineup.js +41 -41
- package/dist/templates/motion/festival-presale-jazz-reel.js +41 -41
- package/dist/templates/motion/festival-presale-jazz-tier.js +41 -41
- package/dist/templates/motion/festival-presale-street-countdown.js +42 -42
- package/dist/templates/motion/festival-presale-street-lineup.js +42 -42
- package/dist/templates/motion/festival-presale-street-reel.js +42 -42
- package/dist/templates/motion/festival-presale-street-tier.js +42 -42
- package/dist/templates/motion/gothic-launch-reel.js +35 -35
- package/dist/templates/motion/halloween-graveyard-reel.js +37 -37
- package/dist/templates/motion/instagram-promo.js +35 -35
- package/dist/templates/motion/kinetic-headline.js +35 -35
- package/dist/templates/motion/landing-hero/index.js +40 -40
- package/dist/templates/motion/launch-trailer/document.js +912 -900
- package/dist/templates/motion/launch-trailer/index.js +40 -40
- package/dist/templates/motion/launch-trailer/scenes.js +39 -39
- package/dist/templates/motion/logo-reveal.js +35 -35
- package/dist/templates/motion/lower-third.js +35 -35
- package/dist/templates/motion/lunar-new-year-envelope-reel.js +37 -37
- package/dist/templates/motion/machined-trailer.js +37 -37
- package/dist/templates/motion/manuscript-launch-reel.js +36 -36
- package/dist/templates/motion/new-year-ball-drop-reel.js +37 -37
- package/dist/templates/motion/noir-case-reel.js +38 -38
- package/dist/templates/motion/pitch-title.js +35 -35
- package/dist/templates/motion/psychedelic-gig-reel.js +37 -37
- package/dist/templates/motion/riso-zine-launch-reel.js +38 -38
- package/dist/templates/motion/saas-ai-prompt.js +36 -36
- package/dist/templates/motion/saas-before-after.js +36 -36
- package/dist/templates/motion/saas-changelog-drop.js +36 -36
- package/dist/templates/motion/saas-film-webinar-opener.js +36 -36
- package/dist/templates/motion/saas-hook-features.js +36 -36
- package/dist/templates/motion/saas-mrr-milestone.js +36 -36
- package/dist/templates/motion/saas-screen-demo.js +37 -37
- package/dist/templates/motion/saas-store-install-ad.js +36 -36
- package/dist/templates/motion/saas-testimonial.js +36 -36
- package/dist/templates/motion/saas-vs-comparison.js +36 -36
- package/dist/templates/motion/singles-day-flash-post.js +37 -37
- package/dist/templates/motion/singles-day-live-reel.js +37 -37
- package/dist/templates/motion/smooth-loop.js +35 -35
- package/dist/templates/motion/solarpunk-rooftop-reel.js +37 -37
- package/dist/templates/motion/space-opera-countdown-reel.js +37 -37
- package/dist/templates/motion/spring-bloom-first-hundred-post.js +37 -37
- package/dist/templates/motion/spring-bloom-first-shoots-reel.js +37 -37
- package/dist/templates/motion/stat-pop.js +35 -35
- package/dist/templates/motion/style-bento-feature-demo.js +38 -38
- package/dist/templates/motion/style-bento-launch-reel.js +37 -37
- package/dist/templates/motion/style-brutalist-feature-demo.js +39 -39
- package/dist/templates/motion/style-brutalist-launch-reel.js +38 -38
- package/dist/templates/motion/style-dark-feature-demo.js +37 -37
- package/dist/templates/motion/style-dark-launch-reel.js +38 -38
- package/dist/templates/motion/style-data-feature-demo.js +38 -38
- package/dist/templates/motion/style-data-launch-reel.js +38 -38
- package/dist/templates/motion/style-editorial-feature-demo.js +38 -38
- package/dist/templates/motion/style-editorial-launch-reel.js +37 -37
- package/dist/templates/motion/style-glass-feature-demo.js +39 -39
- package/dist/templates/motion/style-glass-launch-reel.js +38 -38
- package/dist/templates/motion/style-gradient-feature-demo.js +38 -38
- package/dist/templates/motion/style-gradient-launch-reel.js +37 -37
- package/dist/templates/motion/style-maximal-feature-demo.js +38 -38
- package/dist/templates/motion/style-maximal-launch-reel.js +37 -37
- package/dist/templates/motion/style-pastel-feature-demo.js +39 -39
- package/dist/templates/motion/style-pastel-launch-reel.js +39 -39
- package/dist/templates/motion/style-sketch-feature-demo.js +39 -39
- package/dist/templates/motion/style-sketch-launch-reel.js +39 -39
- package/dist/templates/motion/style-swiss-feature-demo.js +39 -39
- package/dist/templates/motion/style-swiss-launch-reel.js +38 -38
- package/dist/templates/motion/style-terminal-feature-demo.js +40 -40
- package/dist/templates/motion/style-terminal-launch-reel.js +40 -40
- package/dist/templates/motion/summer-heatwave-lido-reel.js +37 -37
- package/dist/templates/motion/template-wall.js +38 -38
- package/dist/templates/motion/title-card-3d.js +35 -35
- package/dist/templates/motion/tour-tickets-june-city.js +35 -35
- package/dist/templates/motion/tour-tickets-june-dates.js +35 -35
- package/dist/templates/motion/tour-tickets-june-final.js +36 -36
- package/dist/templates/motion/tour-tickets-june-reel.js +35 -35
- package/dist/templates/motion/tour-tickets-tide-city.js +35 -35
- package/dist/templates/motion/tour-tickets-tide-dates.js +35 -35
- package/dist/templates/motion/tour-tickets-tide-final.js +36 -36
- package/dist/templates/motion/tour-tickets-tide-reel.js +35 -35
- package/dist/templates/motion/tour-tickets-wreck-city.js +35 -35
- package/dist/templates/motion/tour-tickets-wreck-dates.js +35 -35
- package/dist/templates/motion/tour-tickets-wreck-final.js +36 -36
- package/dist/templates/motion/tour-tickets-wreck-reel.js +35 -35
- package/dist/templates/motion/transit-map-line-opening.js +37 -37
- package/dist/templates/motion/transit-map-milestone-post.js +37 -37
- package/dist/templates/motion/ukiyo-e-launch-reel.js +37 -37
- package/dist/templates/motion/valentines-breakup-reel.js +37 -37
- package/dist/templates/motion/vaporwave-launch-reel.js +37 -37
- package/dist/templates/motion/winter-cosy-heads-down-post.js +38 -38
- package/dist/templates/motion/winter-cosy-hibernation-reel.js +38 -38
- package/dist/templates/motion/winter-holidays-advent-reel.js +38 -38
- package/dist/templates/motion-qa.js +30 -30
- package/dist/templates/motion3d/app-store-preview.js +36 -36
- package/dist/templates/motion3d/before-after-swing.js +36 -36
- package/dist/templates/motion3d/burger-reveal.js +36 -36
- package/dist/templates/motion3d/coverflow.js +36 -36
- package/dist/templates/motion3d/exploded-ui.js +36 -36
- package/dist/templates/motion3d/feature-flip.js +36 -36
- package/dist/templates/motion3d/kinetic-reveal.js +36 -36
- package/dist/templates/motion3d/laptop-reveal.js +36 -36
- package/dist/templates/motion3d/logo-extrude.js +36 -36
- package/dist/templates/motion3d/parallax-cascade.js +36 -36
- package/dist/templates/motion3d/phone-orbit.js +36 -36
- package/dist/templates/motion3d/pricing-fan.js +36 -36
- package/dist/templates/motion3d/product-turntable.js +36 -36
- package/dist/templates/motion3d/saas-film-cinematic-trailer.js +37 -37
- package/dist/templates/motion3d/screen-wall.js +36 -36
- package/dist/templates/motion3d/stage.js +23 -23
- package/dist/templates/motion3d/vertical-promo.js +36 -36
- package/dist/templates/music/edm-drop.js +38 -38
- package/dist/templates/music/festival-lineup.js +38 -38
- package/dist/templates/music/hiphop-lyrics.js +38 -38
- package/dist/templates/music/indie-poster.js +38 -38
- package/dist/templates/music/lofi-loop.js +38 -38
- package/dist/templates/music/parts.js +5 -5
- package/dist/templates/music/podcast-audiogram.js +38 -38
- package/dist/templates/music/shared.js +23 -23
- package/dist/templates/music/synthwave-tunnel.js +38 -38
- package/dist/templates/print/comic-modern-action-slant.js +100 -0
- package/dist/templates/print/comic-modern-cover-pulp.js +100 -0
- package/dist/templates/print/comic-modern-flashback.js +100 -0
- package/dist/templates/print/comic-modern-issue.js +107 -0
- package/dist/templates/print/comic-modern-nine-grid.js +100 -0
- package/dist/templates/print/comic-modern-page-classic.js +100 -0
- package/dist/templates/print/comic-modern-polyptych.js +100 -0
- package/dist/templates/print/comic-modern-radial.js +100 -0
- package/dist/templates/print/comic-modern-splash.js +100 -0
- package/dist/templates/print/comic-modern-spread.js +100 -0
- package/dist/templates/print/everyday-save-the-date.js +37 -37
- package/dist/templates/print/everyday-specials-board.js +37 -37
- package/dist/templates/print/holidays-christmas-church-newsletter.js +35 -35
- package/dist/templates/print/holidays-christmas-eve-invitation.js +35 -35
- package/dist/templates/print/holidays-christmas-gift-tags.js +35 -35
- package/dist/templates/print/holidays-diwali-party-invitation.js +35 -35
- package/dist/templates/print/holidays-easter-activity-sheet.js +35 -35
- package/dist/templates/print/holidays-easter-egg-hunt-flyer.js +35 -35
- package/dist/templates/print/holidays-eid-dinner-invitation.js +35 -35
- package/dist/templates/print/holidays-eid-gift-tags.js +35 -35
- package/dist/templates/print/holidays-halloween-party-invitation.js +35 -35
- package/dist/templates/print/holidays-halloween-treat-labels.js +35 -35
- package/dist/templates/print/holidays-halloween-trunk-or-treat-poster.js +35 -35
- package/dist/templates/print/holidays-hanukkah-activity-sheet.js +35 -35
- package/dist/templates/print/holidays-hanukkah-party-invitation.js +35 -35
- package/dist/templates/print/holidays-lunar-new-year-banquet-menu.js +35 -35
- package/dist/templates/print/holidays-new-years-eve-poster.js +35 -35
- package/dist/templates/print/holidays-thanksgiving-dinner-menu.js +35 -35
- package/dist/templates/print/holidays-thanksgiving-place-cards.js +35 -35
- package/dist/templates/print/holidays-valentines-dinner-menu.js +35 -35
- package/dist/templates/print/printshop-booklet-open-day.js +36 -36
- package/dist/templates/print/printshop-brochure-community.js +36 -36
- package/dist/templates/print/printshop-brochure-dental.js +36 -36
- package/dist/templates/print/printshop-brochure-gym.js +36 -36
- package/dist/templates/print/printshop-brochure-landscaping.js +36 -36
- package/dist/templates/print/printshop-brochure-travel.js +36 -36
- package/dist/templates/print/printshop-card-architect.js +36 -36
- package/dist/templates/print/printshop-card-barber.js +36 -36
- package/dist/templates/print/printshop-card-cafe.js +36 -36
- package/dist/templates/print/printshop-card-developer.js +36 -36
- package/dist/templates/print/printshop-card-florist.js +36 -36
- package/dist/templates/print/printshop-card-lawyer.js +36 -36
- package/dist/templates/print/printshop-card-photographer.js +36 -36
- package/dist/templates/print/printshop-card-plumber.js +36 -36
- package/dist/templates/print/printshop-card-realtor.js +36 -36
- package/dist/templates/print/printshop-card-yoga.js +36 -36
- package/dist/templates/print/printshop-flyer-charity-run.js +36 -36
- package/dist/templates/print/printshop-flyer-farmers-market.js +36 -36
- package/dist/templates/print/printshop-flyer-garage-sale.js +36 -36
- package/dist/templates/print/printshop-flyer-grand-opening.js +36 -36
- package/dist/templates/print/printshop-flyer-lost-pet.js +36 -36
- package/dist/templates/print/printshop-flyer-tutoring.js +36 -36
- package/dist/templates/print/printshop-flyer-yard-work.js +36 -36
- package/dist/templates/print/printshop-poster-live-music.js +36 -36
- package/dist/templates/print/studio-class-timetable-poster.js +35 -35
- package/dist/templates/print/studio-portfolio-booklet.js +35 -35
- package/dist/templates/saas/email-decks-shared.js +36 -36
- package/dist/templates/saas/email-decks.js +49 -49
- package/dist/templates/saas/index.js +237 -237
- package/dist/templates/saas/launch-kit.js +45 -45
- package/dist/templates/saas/launch-video.js +45 -45
- package/dist/templates/saas/lottie-shared.js +36 -36
- package/dist/templates/saas/stores-shared.js +23 -23
- package/dist/templates/saas/stores.js +46 -46
- package/dist/templates/saas/style-bento-shared.js +13 -13
- package/dist/templates/saas/style-bento.js +49 -49
- package/dist/templates/saas/style-brutalist-shared.js +13 -13
- package/dist/templates/saas/style-brutalist.js +50 -50
- package/dist/templates/saas/style-dark.js +49 -49
- package/dist/templates/saas/style-data-shared.js +13 -13
- package/dist/templates/saas/style-data.js +50 -50
- package/dist/templates/saas/style-editorial-shared.js +13 -13
- package/dist/templates/saas/style-editorial.js +50 -50
- package/dist/templates/saas/style-glass-shared.js +14 -14
- package/dist/templates/saas/style-glass.js +50 -50
- package/dist/templates/saas/style-gradient-shared.js +13 -13
- package/dist/templates/saas/style-gradient.js +50 -50
- package/dist/templates/saas/style-maximal-shared.js +13 -13
- package/dist/templates/saas/style-maximal.js +49 -49
- package/dist/templates/saas/style-pastel-shared.js +14 -14
- package/dist/templates/saas/style-pastel.js +50 -50
- package/dist/templates/saas/style-sketch-shared.js +13 -13
- package/dist/templates/saas/style-sketch.js +50 -50
- package/dist/templates/saas/style-swiss-shared.js +13 -13
- package/dist/templates/saas/style-swiss.js +50 -50
- package/dist/templates/saas/style-terminal-shared.js +15 -15
- package/dist/templates/saas/style-terminal.js +51 -51
- package/dist/templates/saas/video-shared.js +13 -13
- package/dist/templates/saas/video.js +45 -45
- package/dist/templates/saas/web-shared.js +13 -13
- package/dist/templates/saas/web.js +48 -48
- package/dist/templates/scenes/before-after.js +35 -35
- package/dist/templates/scenes/carousel-video.js +36 -36
- package/dist/templates/scenes/saas-film-app-preview.js +37 -37
- package/dist/templates/scenes/saas-film-bright-trailer.js +36 -36
- package/dist/templates/scenes/saas-film-product-hunt-launch.js +36 -36
- package/dist/templates/scenes/saas-film-youtube-demo-kit.js +37 -37
- package/dist/templates/scenes/shared.js +23 -23
- package/dist/templates/scenes/story-ad.js +39 -39
- package/dist/templates/scenes/story-bakery.js +36 -36
- package/dist/templates/scenes/story-fitness.js +36 -36
- package/dist/templates/scenes/story-hotel.js +36 -36
- package/dist/templates/scenes/transitions-pack.js +36 -36
- package/dist/templates/scenes/web-scroll.js +36 -36
- package/dist/templates/shared/motion.js +13 -13
- package/dist/templates/shared/overlays.js +14 -14
- package/dist/templates/shared/pointer.js +13 -13
- package/dist/templates/slides/agenda.js +36 -36
- package/dist/templates/slides/deck.js +35 -35
- package/dist/templates/slides/education.js +36 -36
- package/dist/templates/slides/launch.js +36 -36
- package/dist/templates/slides/layouts.js +36 -36
- package/dist/templates/slides/pitch.js +36 -36
- package/dist/templates/slides/report.js +36 -36
- package/dist/templates/slides/saas-mail-investor-update.js +37 -37
- package/dist/templates/slides/saas-mail-seed-pitch.js +37 -37
- package/dist/templates/slides/sales.js +36 -36
- package/dist/templates/slides/section-divider.js +36 -36
- package/dist/templates/slides/title-card.js +36 -36
- package/dist/templates/slides/training.js +36 -36
- package/dist/templates/slides/webinar.js +36 -36
- package/dist/templates/slideshow/adoption.js +37 -37
- package/dist/templates/slideshow/baby.js +37 -37
- package/dist/templates/slideshow/birthday.js +37 -37
- package/dist/templates/slideshow/graduation.js +37 -37
- package/dist/templates/slideshow/holiday.js +37 -37
- package/dist/templates/slideshow/home.js +37 -37
- package/dist/templates/slideshow/index.js +44 -44
- package/dist/templates/slideshow/lease.js +37 -37
- package/dist/templates/slideshow/memorial.js +37 -37
- package/dist/templates/slideshow/portfolio.js +37 -37
- package/dist/templates/slideshow/product.js +37 -37
- package/dist/templates/slideshow/recipe.js +37 -37
- package/dist/templates/slideshow/shared.js +36 -36
- package/dist/templates/slideshow/team.js +37 -37
- package/dist/templates/slideshow/travel.js +37 -37
- package/dist/templates/slideshow/wedding.js +37 -37
- package/dist/templates/slideshow/year.js +37 -37
- package/dist/templates/social/april-fools-link-preview.js +37 -37
- package/dist/templates/social/april-fools-price-slash-post.js +37 -37
- package/dist/templates/social/arcade-boss-fight.js +38 -38
- package/dist/templates/social/arcade-level-up.js +38 -38
- package/dist/templates/social/art-deco-link-preview.js +36 -36
- package/dist/templates/social/art-deco-premiere-post.js +36 -36
- package/dist/templates/social/autumn-harvest-link-preview.js +36 -36
- package/dist/templates/social/autumn-harvest-thanks-post.js +36 -36
- package/dist/templates/social/back-to-school-link-preview.js +36 -36
- package/dist/templates/social/back-to-school-report-card-post.js +36 -36
- package/dist/templates/social/bauhaus-drift-post.js +36 -36
- package/dist/templates/social/bauhaus-link-preview.js +36 -36
- package/dist/templates/social/bauhaus-pricing-post.js +36 -36
- package/dist/templates/social/black-friday-ads.js +35 -35
- package/dist/templates/social/black-friday-countdown.js +35 -35
- package/dist/templates/social/black-friday-coupons-ads.js +36 -36
- package/dist/templates/social/black-friday-coupons-countdown.js +37 -37
- package/dist/templates/social/black-friday-neon-ads.js +38 -38
- package/dist/templates/social/black-friday-neon-countdown.js +38 -38
- package/dist/templates/social/black-friday-scratch-ads.js +36 -36
- package/dist/templates/social/black-friday-ticker-ads.js +36 -36
- package/dist/templates/social/black-friday-ticker-countdown.js +36 -36
- package/dist/templates/social/blueprint-dimension-post.js +37 -37
- package/dist/templates/social/blueprint-link-preview.js +37 -37
- package/dist/templates/social/blueprint-parts-list-post.js +37 -37
- package/dist/templates/social/broadsheet-hiring-classifieds.js +35 -35
- package/dist/templates/social/broadsheet-link-preview.js +35 -35
- package/dist/templates/social/claymation-link-preview.js +37 -37
- package/dist/templates/social/claymation-streak-post.js +37 -37
- package/dist/templates/social/comic-book-cover-preview.js +38 -38
- package/dist/templates/social/comic-book-strip-post.js +38 -38
- package/dist/templates/social/cyberpunk-implant-post.js +38 -38
- package/dist/templates/social/cyberpunk-link-preview.js +38 -38
- package/dist/templates/social/departure-board-pass-ad.js +36 -36
- package/dist/templates/social/departure-board-store-set.js +36 -36
- package/dist/templates/social/departure-board-thanks-post.js +36 -36
- package/dist/templates/social/diwali-link-preview.js +37 -37
- package/dist/templates/social/diwali-thanks-post.js +37 -37
- package/dist/templates/social/earth-day-link-preview.js +37 -37
- package/dist/templates/social/everyday-save-the-date-post.js +37 -37
- package/dist/templates/social/festival-presale-electronic-ads.js +41 -41
- package/dist/templates/social/festival-presale-family-ads.js +41 -41
- package/dist/templates/social/festival-presale-folk-ads.js +41 -41
- package/dist/templates/social/festival-presale-food-ads.js +41 -41
- package/dist/templates/social/festival-presale-jazz-ads.js +41 -41
- package/dist/templates/social/festival-presale-street-ads.js +42 -42
- package/dist/templates/social/gothic-feature-post.js +35 -35
- package/dist/templates/social/gothic-link-preview.js +35 -35
- package/dist/templates/social/halloween-link-preview.js +37 -37
- package/dist/templates/social/halloween-offer-post.js +37 -37
- package/dist/templates/social/holidays-diwali-sweet-shop-post.js +35 -35
- package/dist/templates/social/holidays-lunar-new-year-bakery-post.js +35 -35
- package/dist/templates/social/holidays-new-years-eve-shop-hours.js +35 -35
- package/dist/templates/social/holidays-thanksgiving-pie-orders-post.js +35 -35
- package/dist/templates/social/holidays-valentines-florist-post.js +35 -35
- package/dist/templates/social/lunar-new-year-greeting-post.js +37 -37
- package/dist/templates/social/lunar-new-year-link-preview.js +37 -37
- package/dist/templates/social/machined-link-preview.js +37 -37
- package/dist/templates/social/machined-plate-post.js +37 -37
- package/dist/templates/social/manuscript-chapter-post.js +36 -36
- package/dist/templates/social/manuscript-link-preview.js +36 -36
- package/dist/templates/social/new-year-link-preview.js +37 -37
- package/dist/templates/social/new-year-resolutions-post.js +37 -37
- package/dist/templates/social/noir-case-file.js +38 -38
- package/dist/templates/social/noir-feature-post.js +38 -38
- package/dist/templates/social/post-announcement.js +35 -35
- package/dist/templates/social/post-event.js +35 -35
- package/dist/templates/social/post-podcast.js +35 -35
- package/dist/templates/social/post-quote.js +35 -35
- package/dist/templates/social/post-sale.js +35 -35
- package/dist/templates/social/post-stat.js +35 -35
- package/dist/templates/social/post-testimonial.js +35 -35
- package/dist/templates/social/promo-announcement.js +35 -35
- package/dist/templates/social/promo-beat-drop.js +35 -35
- package/dist/templates/social/promo-event.js +35 -35
- package/dist/templates/social/promo-new-product.js +35 -35
- package/dist/templates/social/promo-quote-reveal.js +35 -35
- package/dist/templates/social/promo-sale-drop.js +35 -35
- package/dist/templates/social/promo-tip-list.js +35 -35
- package/dist/templates/social/psychedelic-lineup-post.js +37 -37
- package/dist/templates/social/psychedelic-link-preview.js +37 -37
- package/dist/templates/social/riso-zine-link-preview.js +38 -38
- package/dist/templates/social/riso-zine-mrr-poster.js +38 -38
- package/dist/templates/social/saas-kit-carousel.js +35 -35
- package/dist/templates/social/saas-kit-countdown-post.js +35 -35
- package/dist/templates/social/saas-kit-feature-drop.js +36 -36
- package/dist/templates/social/saas-kit-link-preview.js +35 -35
- package/dist/templates/social/saas-kit-live-post.js +35 -35
- package/dist/templates/social/saas-kit-mrr-card.js +35 -35
- package/dist/templates/social/saas-kit-ph-gallery.js +35 -35
- package/dist/templates/social/saas-kit-ph-thumb.js +35 -35
- package/dist/templates/social/saas-kit-youtube-thumbs.js +35 -35
- package/dist/templates/social/saas-store-b2b-ads.js +36 -36
- package/dist/templates/social/saas-store-caption-set.js +36 -36
- package/dist/templates/social/saas-store-chrome-kit.js +36 -36
- package/dist/templates/social/saas-store-ipad-set.js +36 -36
- package/dist/templates/social/saas-store-panorama.js +37 -37
- package/dist/templates/social/saas-store-play-kit.js +35 -35
- package/dist/templates/social/saas-store-story.js +36 -36
- package/dist/templates/social/singles-day-link-preview.js +37 -37
- package/dist/templates/social/solarpunk-impact-post.js +37 -37
- package/dist/templates/social/solarpunk-link-preview.js +37 -37
- package/dist/templates/social/space-opera-link-preview.js +37 -37
- package/dist/templates/social/space-opera-mission-patch-post.js +37 -37
- package/dist/templates/social/spring-bloom-link-preview.js +37 -37
- package/dist/templates/social/studio-class-timetable.js +35 -35
- package/dist/templates/social/studio-podcast-cover.js +35 -35
- package/dist/templates/social/style-bento-announcement.js +36 -36
- package/dist/templates/social/style-bento-link-preview.js +36 -36
- package/dist/templates/social/style-bento-milestone.js +36 -36
- package/dist/templates/social/style-bento-testimonial.js +37 -37
- package/dist/templates/social/style-brutalist-announcement.js +36 -36
- package/dist/templates/social/style-brutalist-link-preview.js +36 -36
- package/dist/templates/social/style-brutalist-milestone.js +37 -37
- package/dist/templates/social/style-brutalist-testimonial.js +36 -36
- package/dist/templates/social/style-dark-announcement.js +36 -36
- package/dist/templates/social/style-dark-link-preview.js +35 -35
- package/dist/templates/social/style-dark-milestone.js +36 -36
- package/dist/templates/social/style-dark-testimonial.js +37 -37
- package/dist/templates/social/style-data-announcement.js +36 -36
- package/dist/templates/social/style-data-link-preview.js +36 -36
- package/dist/templates/social/style-data-milestone.js +37 -37
- package/dist/templates/social/style-data-testimonial.js +37 -37
- package/dist/templates/social/style-editorial-announcement.js +36 -36
- package/dist/templates/social/style-editorial-link-preview.js +36 -36
- package/dist/templates/social/style-editorial-milestone.js +36 -36
- package/dist/templates/social/style-editorial-testimonial.js +37 -37
- package/dist/templates/social/style-glass-announcement.js +37 -37
- package/dist/templates/social/style-glass-link-preview.js +37 -37
- package/dist/templates/social/style-glass-milestone.js +37 -37
- package/dist/templates/social/style-glass-testimonial.js +38 -38
- package/dist/templates/social/style-gradient-announcement.js +36 -36
- package/dist/templates/social/style-gradient-link-preview.js +36 -36
- package/dist/templates/social/style-gradient-milestone.js +37 -37
- package/dist/templates/social/style-gradient-testimonial.js +37 -37
- package/dist/templates/social/style-maximal-announcement.js +36 -36
- package/dist/templates/social/style-maximal-link-preview.js +36 -36
- package/dist/templates/social/style-maximal-milestone.js +36 -36
- package/dist/templates/social/style-maximal-testimonial.js +37 -37
- package/dist/templates/social/style-pastel-announcement.js +37 -37
- package/dist/templates/social/style-pastel-link-preview.js +37 -37
- package/dist/templates/social/style-pastel-milestone.js +37 -37
- package/dist/templates/social/style-pastel-testimonial.js +38 -38
- package/dist/templates/social/style-sketch-announcement.js +37 -37
- package/dist/templates/social/style-sketch-link-preview.js +36 -36
- package/dist/templates/social/style-sketch-milestone.js +36 -36
- package/dist/templates/social/style-sketch-testimonial.js +37 -37
- package/dist/templates/social/style-swiss-announcement.js +36 -36
- package/dist/templates/social/style-swiss-link-preview.js +36 -36
- package/dist/templates/social/style-swiss-milestone.js +36 -36
- package/dist/templates/social/style-swiss-testimonial.js +37 -37
- package/dist/templates/social/style-terminal-announcement.js +38 -38
- package/dist/templates/social/style-terminal-link-preview.js +38 -38
- package/dist/templates/social/style-terminal-milestone.js +38 -38
- package/dist/templates/social/style-terminal-testimonial.js +39 -39
- package/dist/templates/social/summer-heatwave-link-preview.js +37 -37
- package/dist/templates/social/summer-heatwave-lolly-post.js +37 -37
- package/dist/templates/social/tour-tickets-june-ads.js +35 -35
- package/dist/templates/social/tour-tickets-tide-ads.js +35 -35
- package/dist/templates/social/tour-tickets-wreck-ads.js +35 -35
- package/dist/templates/social/transit-map-link-preview.js +37 -37
- package/dist/templates/social/ukiyo-e-link-preview.js +37 -37
- package/dist/templates/social/ukiyo-e-spike-post.js +37 -37
- package/dist/templates/social/valentines-link-preview.js +37 -37
- package/dist/templates/social/valentines-poem-post.js +37 -37
- package/dist/templates/social/vaporwave-feature-drop.js +36 -36
- package/dist/templates/social/vaporwave-link-preview.js +36 -36
- package/dist/templates/social/winter-cosy-link-preview.js +38 -38
- package/dist/templates/social/winter-holidays-link-preview.js +38 -38
- package/dist/templates/social/winter-holidays-thanks-post.js +38 -38
- package/dist/templates/stings/line-reveal.js +35 -35
- package/dist/templates/stings/sting-blur.js +35 -35
- package/dist/templates/stings/sting-pop.js +35 -35
- package/dist/templates/stings/sting-rise.js +35 -35
- package/dist/templates/stings/sting-shimmer.js +35 -35
- package/dist/templates/stings/word-swap.js +35 -35
- package/dist/templates/text/stat-counter.js +35 -35
- package/dist/templates/text/word-quote.js +35 -35
- package/dist/templates/themes/april-fools-shared.js +24 -24
- package/dist/templates/themes/april-fools.js +42 -42
- package/dist/templates/themes/arcade-shared.js +15 -15
- package/dist/templates/themes/arcade.js +42 -42
- package/dist/templates/themes/art-deco-shared.js +13 -13
- package/dist/templates/themes/art-deco.js +42 -42
- package/dist/templates/themes/autumn-harvest-shared.js +13 -13
- package/dist/templates/themes/autumn-harvest.js +42 -42
- package/dist/templates/themes/back-to-school-shared.js +13 -13
- package/dist/templates/themes/back-to-school.js +42 -42
- package/dist/templates/themes/bauhaus-shared.js +13 -13
- package/dist/templates/themes/bauhaus.js +41 -41
- package/dist/templates/themes/black-friday-coupons-shared.js +13 -13
- package/dist/templates/themes/black-friday-coupons.js +44 -44
- package/dist/templates/themes/black-friday-neon-shared.js +14 -14
- package/dist/templates/themes/black-friday-neon.js +45 -45
- package/dist/templates/themes/black-friday-scratch-shared.js +13 -13
- package/dist/templates/themes/black-friday-scratch.js +43 -43
- package/dist/templates/themes/black-friday-ticker-shared.js +13 -13
- package/dist/templates/themes/black-friday-ticker.js +44 -44
- package/dist/templates/themes/black-friday.js +41 -41
- package/dist/templates/themes/blueprint-shared.js +14 -14
- package/dist/templates/themes/blueprint.js +42 -42
- package/dist/templates/themes/broadsheet.js +42 -42
- package/dist/templates/themes/claymation-shared.js +14 -14
- package/dist/templates/themes/claymation.js +43 -43
- package/dist/templates/themes/comic-art.js +16 -0
- package/dist/templates/themes/comic-book-shared.js +15 -15
- package/dist/templates/themes/comic-book.js +54 -42
- package/dist/templates/themes/comic-modern.js +59 -0
- package/dist/templates/themes/cyberpunk-shared.js +15 -15
- package/dist/templates/themes/cyberpunk.js +44 -44
- package/dist/templates/themes/departure-board-shared.js +13 -13
- package/dist/templates/themes/departure-board.js +41 -41
- package/dist/templates/themes/diwali-shared.js +14 -14
- package/dist/templates/themes/diwali.js +43 -43
- package/dist/templates/themes/earth-day-shared.js +14 -14
- package/dist/templates/themes/earth-day.js +43 -43
- package/dist/templates/themes/everyday-shared.js +14 -14
- package/dist/templates/themes/everyday.js +45 -45
- package/dist/templates/themes/festival-presale-electronic-kit.js +40 -40
- package/dist/templates/themes/festival-presale-family-a-shared.js +39 -39
- package/dist/templates/themes/festival-presale-family-a.js +64 -64
- package/dist/templates/themes/festival-presale-family-b-shared.js +39 -39
- package/dist/templates/themes/festival-presale-family-b.js +65 -65
- package/dist/templates/themes/festival-presale-family-kit.js +40 -40
- package/dist/templates/themes/festival-presale-folk-kit.js +40 -40
- package/dist/templates/themes/festival-presale-food-kit.js +40 -40
- package/dist/templates/themes/festival-presale-jazz-kit.js +40 -40
- package/dist/templates/themes/festival-presale-shared.js +15 -15
- package/dist/templates/themes/festival-presale-street-kit.js +41 -41
- package/dist/templates/themes/festival-presale.js +45 -45
- package/dist/templates/themes/gothic.js +41 -41
- package/dist/templates/themes/halloween-shared.js +14 -14
- package/dist/templates/themes/halloween.js +43 -43
- package/dist/templates/themes/holidays.js +58 -58
- package/dist/templates/themes/index.js +486 -474
- package/dist/templates/themes/lunar-new-year-shared.js +14 -14
- package/dist/templates/themes/lunar-new-year.js +43 -43
- package/dist/templates/themes/machined-shared.js +24 -24
- package/dist/templates/themes/machined.js +41 -41
- package/dist/templates/themes/manuscript-shared.js +13 -13
- package/dist/templates/themes/manuscript.js +42 -42
- package/dist/templates/themes/memories.js +45 -45
- package/dist/templates/themes/new-year-shared.js +14 -14
- package/dist/templates/themes/new-year.js +43 -43
- package/dist/templates/themes/noir-shared.js +15 -15
- package/dist/templates/themes/noir.js +44 -44
- package/dist/templates/themes/printshop-shared.js +23 -23
- package/dist/templates/themes/printshop.js +60 -60
- package/dist/templates/themes/psychedelic-shared.js +14 -14
- package/dist/templates/themes/psychedelic.js +43 -43
- package/dist/templates/themes/riso-zine-shared.js +15 -15
- package/dist/templates/themes/riso-zine.js +44 -44
- package/dist/templates/themes/singles-day-shared.js +14 -14
- package/dist/templates/themes/singles-day.js +43 -43
- package/dist/templates/themes/solarpunk-shared.js +14 -14
- package/dist/templates/themes/solarpunk.js +43 -43
- package/dist/templates/themes/space-opera-shared.js +14 -14
- package/dist/templates/themes/space-opera.js +43 -43
- package/dist/templates/themes/spring-bloom-shared.js +14 -14
- package/dist/templates/themes/spring-bloom.js +43 -43
- package/dist/templates/themes/studio.js +40 -40
- package/dist/templates/themes/summer-heatwave-shared.js +14 -14
- package/dist/templates/themes/summer-heatwave.js +43 -43
- package/dist/templates/themes/tour-tickets-page-shared.js +14 -14
- package/dist/templates/themes/tour-tickets.js +63 -63
- package/dist/templates/themes/transit-map-shared.js +14 -14
- package/dist/templates/themes/transit-map.js +43 -43
- package/dist/templates/themes/ukiyo-e-shared.js +14 -14
- package/dist/templates/themes/ukiyo-e.js +43 -43
- package/dist/templates/themes/valentines-shared.js +14 -14
- package/dist/templates/themes/valentines.js +43 -43
- package/dist/templates/themes/vaporwave-shared.js +13 -13
- package/dist/templates/themes/vaporwave.js +41 -41
- package/dist/templates/themes/winter-cosy-shared.js +14 -14
- package/dist/templates/themes/winter-cosy.js +44 -44
- package/dist/templates/themes/winter-holidays-shared.js +14 -14
- package/dist/templates/themes/winter-holidays.js +44 -44
- package/dist/templates/video/youtube-chapter.js +35 -35
- package/dist/templates/video/youtube-end-screen.js +35 -35
- package/dist/templates/video/youtube-intro.js +35 -35
- package/dist/templates/video/youtube-subscribe.js +35 -35
- package/dist/templates/web/app-ui.js +24 -24
- package/dist/templates/web/april-fools-landing.js +37 -37
- package/dist/templates/web/arcade-landing.js +38 -38
- package/dist/templates/web/art-deco-landing.js +36 -36
- package/dist/templates/web/autumn-harvest-landing.js +36 -36
- package/dist/templates/web/back-to-school-landing.js +36 -36
- package/dist/templates/web/bauhaus-landing.js +36 -36
- package/dist/templates/web/black-friday-coupons-landing.js +37 -37
- package/dist/templates/web/black-friday-landing.js +35 -35
- package/dist/templates/web/black-friday-neon-landing.js +37 -37
- package/dist/templates/web/black-friday-scratch-landing.js +36 -36
- package/dist/templates/web/black-friday-ticker-landing.js +36 -36
- package/dist/templates/web/blog-post.js +35 -35
- package/dist/templates/web/blueprint-landing.js +37 -37
- package/dist/templates/web/broadsheet-landing.js +35 -35
- package/dist/templates/web/claymation-landing.js +37 -37
- package/dist/templates/web/comic-book-landing.js +38 -38
- package/dist/templates/web/coming-soon-page.js +36 -36
- package/dist/templates/web/coming-soon.js +35 -35
- package/dist/templates/web/contact.js +36 -36
- package/dist/templates/web/cyberpunk-landing.js +38 -38
- package/dist/templates/web/daybreak-app.js +37 -37
- package/dist/templates/web/departure-board-download.js +36 -36
- package/dist/templates/web/diwali-landing.js +37 -37
- package/dist/templates/web/earth-day-landing.js +37 -37
- package/dist/templates/web/everyday-cafe.js +38 -38
- package/dist/templates/web/everyday-hotel.js +38 -38
- package/dist/templates/web/everyday-wedding.js +39 -39
- package/dist/templates/web/festival-presale-electronic.js +38 -38
- package/dist/templates/web/festival-presale-family.js +38 -38
- package/dist/templates/web/festival-presale-folk.js +38 -38
- package/dist/templates/web/festival-presale-food.js +38 -38
- package/dist/templates/web/festival-presale-jazz.js +38 -38
- package/dist/templates/web/festival-presale-street.js +39 -39
- package/dist/templates/web/forms.js +23 -23
- package/dist/templates/web/gothic-landing.js +35 -35
- package/dist/templates/web/halloween-landing.js +37 -37
- package/dist/templates/web/hero-animated.js +35 -35
- package/dist/templates/web/kindling-app.js +37 -37
- package/dist/templates/web/launch-waitlist.js +36 -36
- package/dist/templates/web/lunar-new-year-landing.js +37 -37
- package/dist/templates/web/machined-hero.js +37 -37
- package/dist/templates/web/manuscript-landing.js +36 -36
- package/dist/templates/web/marginalia-app.js +37 -37
- package/dist/templates/web/new-year-landing.js +37 -37
- package/dist/templates/web/noir-landing.js +38 -38
- package/dist/templates/web/page-404.js +35 -35
- package/dist/templates/web/portfolio-architect.js +36 -36
- package/dist/templates/web/portfolio-card-deck.js +36 -36
- package/dist/templates/web/portfolio-case-folio.js +36 -36
- package/dist/templates/web/portfolio-cube-gallery.js +36 -36
- package/dist/templates/web/portfolio-depth-tunnel.js +36 -36
- package/dist/templates/web/portfolio-editorial.js +36 -36
- package/dist/templates/web/portfolio-flip-wall.js +36 -36
- package/dist/templates/web/portfolio-index-list.js +36 -36
- package/dist/templates/web/portfolio-photographer.js +36 -36
- package/dist/templates/web/portfolio-reel-carousel.js +36 -36
- package/dist/templates/web/portfolio-shared.js +23 -23
- package/dist/templates/web/portfolio-sketchbook.js +36 -36
- package/dist/templates/web/portfolio-studio-grid.js +36 -36
- package/dist/templates/web/portfolio.js +35 -35
- package/dist/templates/web/portfolios.js +48 -48
- package/dist/templates/web/potluck-app.js +37 -37
- package/dist/templates/web/pricing-toggle.js +35 -35
- package/dist/templates/web/product-page.js +35 -35
- package/dist/templates/web/psychedelic-landing.js +37 -37
- package/dist/templates/web/riso-zine-landing.js +38 -38
- package/dist/templates/web/rsvp-invite.js +36 -36
- package/dist/templates/web/saas-ai-landing.js +36 -36
- package/dist/templates/web/saas-app-download.js +36 -36
- package/dist/templates/web/saas-case-study.js +36 -36
- package/dist/templates/web/saas-changelog.js +36 -36
- package/dist/templates/web/saas-comparison.js +36 -36
- package/dist/templates/web/saas-data-landing.js +36 -36
- package/dist/templates/web/saas-dev-landing.js +36 -36
- package/dist/templates/web/saas-indie-landing.js +36 -36
- package/dist/templates/web/saas-integrations.js +36 -36
- package/dist/templates/web/saas-security.js +36 -36
- package/dist/templates/web/saas-signup.js +36 -36
- package/dist/templates/web/saas-waitlist.js +36 -36
- package/dist/templates/web/saffron-app.js +37 -37
- package/dist/templates/web/shop-bloom.js +38 -38
- package/dist/templates/web/shop-circuit.js +38 -38
- package/dist/templates/web/shop-fieldwork.js +38 -38
- package/dist/templates/web/shop-greenhouse.js +38 -38
- package/dist/templates/web/shop-kiln.js +38 -38
- package/dist/templates/web/shop-marginalia.js +38 -38
- package/dist/templates/web/shop-ode.js +38 -38
- package/dist/templates/web/shop-shared.js +25 -25
- package/dist/templates/web/shop-static.js +38 -38
- package/dist/templates/web/shop-summit.js +38 -38
- package/dist/templates/web/shops.js +47 -47
- package/dist/templates/web/singles-day-landing.js +37 -37
- package/dist/templates/web/solarpunk-landing.js +37 -37
- package/dist/templates/web/space-opera-landing.js +37 -37
- package/dist/templates/web/spring-bloom-landing.js +37 -37
- package/dist/templates/web/studio-careers.js +35 -35
- package/dist/templates/web/style-bento-landing.js +38 -38
- package/dist/templates/web/style-bento-pricing.js +37 -37
- package/dist/templates/web/style-brutalist-landing.js +37 -37
- package/dist/templates/web/style-brutalist-pricing.js +37 -37
- package/dist/templates/web/style-dark-landing.js +38 -38
- package/dist/templates/web/style-dark-pricing.js +37 -37
- package/dist/templates/web/style-data-landing.js +39 -39
- package/dist/templates/web/style-data-pricing.js +37 -37
- package/dist/templates/web/style-editorial-landing.js +37 -37
- package/dist/templates/web/style-editorial-pricing.js +38 -38
- package/dist/templates/web/style-glass-landing.js +39 -39
- package/dist/templates/web/style-glass-pricing.js +38 -38
- package/dist/templates/web/style-gradient-landing.js +39 -39
- package/dist/templates/web/style-gradient-pricing.js +37 -37
- package/dist/templates/web/style-maximal-landing.js +38 -38
- package/dist/templates/web/style-maximal-pricing.js +37 -37
- package/dist/templates/web/style-pastel-landing.js +39 -39
- package/dist/templates/web/style-pastel-pricing.js +38 -38
- package/dist/templates/web/style-sketch-landing.js +39 -39
- package/dist/templates/web/style-sketch-pricing.js +37 -37
- package/dist/templates/web/style-swiss-landing.js +39 -39
- package/dist/templates/web/style-swiss-pricing.js +37 -37
- package/dist/templates/web/style-terminal-landing.js +40 -40
- package/dist/templates/web/style-terminal-pricing.js +39 -39
- package/dist/templates/web/summer-heatwave-landing.js +37 -37
- package/dist/templates/web/tempo-app.js +37 -37
- package/dist/templates/web/tour-tickets-june-landing.js +37 -37
- package/dist/templates/web/tour-tickets-tide-landing.js +37 -37
- package/dist/templates/web/tour-tickets-wreck-landing.js +37 -37
- package/dist/templates/web/transit-map-landing.js +37 -37
- package/dist/templates/web/ukiyo-e-landing.js +37 -37
- package/dist/templates/web/valentines-landing.js +37 -37
- package/dist/templates/web/vaporwave-landing.js +36 -36
- package/dist/templates/web/wayfarer-app.js +37 -37
- package/dist/templates/web/winter-cosy-landing.js +38 -38
- package/dist/templates/web/winter-holidays-landing.js +38 -38
- package/package.json +1 -1
- package/src/templates/print/comic-modern-action-slant.ts +44 -0
- package/src/templates/print/comic-modern-cover-pulp.ts +35 -0
- package/src/templates/print/comic-modern-flashback.ts +40 -0
- package/src/templates/print/comic-modern-issue.ts +71 -0
- package/src/templates/print/comic-modern-nine-grid.ts +56 -0
- package/src/templates/print/comic-modern-page-classic.ts +48 -0
- package/src/templates/print/comic-modern-polyptych.ts +37 -0
- package/src/templates/print/comic-modern-radial.ts +43 -0
- package/src/templates/print/comic-modern-splash.ts +36 -0
- package/src/templates/print/comic-modern-spread.ts +42 -0
- package/src/templates/themes/comic-art.ts +45 -0
- package/src/templates/themes/comic-book.ts +15 -1
- package/src/templates/themes/comic-modern.ts +336 -0
- package/types/lib/templates/thumbnail.d.ts +1 -1
- package/types/templates/src/print/comic-modern-action-slant.d.ts +4 -0
- package/types/templates/src/print/comic-modern-cover-pulp.d.ts +4 -0
- package/types/templates/src/print/comic-modern-flashback.d.ts +4 -0
- package/types/templates/src/print/comic-modern-issue.d.ts +2 -0
- package/types/templates/src/print/comic-modern-nine-grid.d.ts +4 -0
- package/types/templates/src/print/comic-modern-page-classic.d.ts +5 -0
- package/types/templates/src/print/comic-modern-polyptych.d.ts +4 -0
- package/types/templates/src/print/comic-modern-radial.d.ts +4 -0
- package/types/templates/src/print/comic-modern-splash.d.ts +4 -0
- package/types/templates/src/print/comic-modern-spread.d.ts +4 -0
- package/types/templates/src/themes/comic-art.d.ts +191 -0
- package/types/templates/src/themes/comic-modern.d.ts +197 -0
- package/dist/chunks/agent-PXK3LVXV.js +0 -44
- package/dist/chunks/api-FGDYF5E7.js +0 -29
- package/dist/chunks/apply-ESKL6UJJ.js +0 -46
- package/dist/chunks/audio-decode-ITYGZMB5.js +0 -54
- package/dist/chunks/audio-import-LJCNR4IJ.js +0 -126
- package/dist/chunks/audio-plan-DVN24QK7.js +0 -46
- package/dist/chunks/board-export-ZDKNF3WS.js +0 -180
- package/dist/chunks/browser-X2BHO6OO.js +0 -179
- package/dist/chunks/build-C6HIMWZO.js +0 -59
- package/dist/chunks/builtin-YBPG6YHW.js +0 -115
- package/dist/chunks/check-URBSQAIY.js +0 -56
- package/dist/chunks/check-template-L36Y6G5W.js +0 -2277
- package/dist/chunks/chunk-236TRH5A.js +0 -45
- package/dist/chunks/chunk-23MFFXL5.js +0 -93
- package/dist/chunks/chunk-245Q4QGT.js +0 -728
- package/dist/chunks/chunk-24A6NPRQ.js +0 -90
- package/dist/chunks/chunk-24GVH2SQ.js +0 -177
- package/dist/chunks/chunk-24UWNOX3.js +0 -1136
- package/dist/chunks/chunk-25XW56WA.js +0 -87
- package/dist/chunks/chunk-26QTC7LJ.js +0 -51
- package/dist/chunks/chunk-2AJKTZ7E.js +0 -104
- package/dist/chunks/chunk-2BLPDXXO.js +0 -187
- package/dist/chunks/chunk-2COLOFXB.js +0 -104
- package/dist/chunks/chunk-2EKB7BBL.js +0 -85
- package/dist/chunks/chunk-2FPBKAUE.js +0 -23
- package/dist/chunks/chunk-2HYKRYY5.js +0 -204
- package/dist/chunks/chunk-2IUWGVRP.js +0 -159
- package/dist/chunks/chunk-2J4AENKC.js +0 -23
- package/dist/chunks/chunk-2JLDPY5Q.js +0 -251
- package/dist/chunks/chunk-2MNXISB2.js +0 -166
- package/dist/chunks/chunk-2PJTDUYV.js +0 -103
- package/dist/chunks/chunk-2Q2KCKXR.js +0 -23
- package/dist/chunks/chunk-2RO3W5AL.js +0 -130
- package/dist/chunks/chunk-2SN42BAQ.js +0 -210
- package/dist/chunks/chunk-2ST7534V.js +0 -97
- package/dist/chunks/chunk-2UEA6T5V.js +0 -239
- package/dist/chunks/chunk-2UIJIFEP.js +0 -96
- package/dist/chunks/chunk-2UM42YMY.js +0 -45
- package/dist/chunks/chunk-2UYNYFQB.js +0 -215
- package/dist/chunks/chunk-2ZKLQ2RY.js +0 -100
- package/dist/chunks/chunk-34ERV2P4.js +0 -228
- package/dist/chunks/chunk-353ZGD7B.js +0 -23
- package/dist/chunks/chunk-35CWTO36.js +0 -197
- package/dist/chunks/chunk-37AJUHVX.js +0 -143
- package/dist/chunks/chunk-3A2FLJFM.js +0 -225
- package/dist/chunks/chunk-3AUHWED3.js +0 -123
- package/dist/chunks/chunk-3B7BMJ24.js +0 -305
- package/dist/chunks/chunk-3D7A6HYX.js +0 -95
- package/dist/chunks/chunk-3DRUYLQK.js +0 -135
- package/dist/chunks/chunk-3E4GOOOO.js +0 -313
- package/dist/chunks/chunk-3ICFMPEG.js +0 -36
- package/dist/chunks/chunk-3KWUDVHB.js +0 -86
- package/dist/chunks/chunk-3OEY4V5Z.js +0 -93
- package/dist/chunks/chunk-3Q7EJOCN.js +0 -97
- package/dist/chunks/chunk-3SLF6TY3.js +0 -159
- package/dist/chunks/chunk-3VIM4GOS.js +0 -55
- package/dist/chunks/chunk-3VQL7OQ2.js +0 -224
- package/dist/chunks/chunk-3VVG67CD.js +0 -94
- package/dist/chunks/chunk-3XT7QF6C.js +0 -123
- package/dist/chunks/chunk-3XZHR63A.js +0 -36
- package/dist/chunks/chunk-433LNQ5Q.js +0 -172
- package/dist/chunks/chunk-44ZX3AJP.js +0 -145
- package/dist/chunks/chunk-46B5FAAL.js +0 -261
- package/dist/chunks/chunk-46MMW3KC.js +0 -213
- package/dist/chunks/chunk-4AIZFL66.js +0 -192
- package/dist/chunks/chunk-4AVTQPUN.js +0 -206
- package/dist/chunks/chunk-4B5HJVOH.js +0 -217
- package/dist/chunks/chunk-4BN2WHEX.js +0 -48
- package/dist/chunks/chunk-4CAJTPR6.js +0 -127
- package/dist/chunks/chunk-4CXQOKJQ.js +0 -276
- package/dist/chunks/chunk-4EKM6G36.js +0 -93
- package/dist/chunks/chunk-4FBVC46A.js +0 -422
- package/dist/chunks/chunk-4HKLAYHB.js +0 -170
- package/dist/chunks/chunk-4I6M7NIA.js +0 -170
- package/dist/chunks/chunk-4JG45XXL.js +0 -167
- package/dist/chunks/chunk-4JR5RAAP.js +0 -95
- package/dist/chunks/chunk-4KTQXT5P.js +0 -191
- package/dist/chunks/chunk-4LX5BSXX.js +0 -226
- package/dist/chunks/chunk-4PMRGDF7.js +0 -101
- package/dist/chunks/chunk-4PTIHVSU.js +0 -346
- package/dist/chunks/chunk-4RS2UBKT.js +0 -49
- package/dist/chunks/chunk-4SNNZ4H2.js +0 -1417
- package/dist/chunks/chunk-4SQFH3FH.js +0 -108
- package/dist/chunks/chunk-4U4MP722.js +0 -391
- package/dist/chunks/chunk-4UXAYAT5.js +0 -109
- package/dist/chunks/chunk-4V5JZURM.js +0 -80
- package/dist/chunks/chunk-4YDBENFQ.js +0 -33
- package/dist/chunks/chunk-4YQDAVBN.js +0 -150
- package/dist/chunks/chunk-54A66GSS.js +0 -298
- package/dist/chunks/chunk-55DFZYZF.js +0 -307
- package/dist/chunks/chunk-55SV7DA7.js +0 -315
- package/dist/chunks/chunk-55T2HTVK.js +0 -193
- package/dist/chunks/chunk-55XTXPAP.js +0 -105
- package/dist/chunks/chunk-56ZD3A4E.js +0 -221
- package/dist/chunks/chunk-5A3HTSCG.js +0 -104
- package/dist/chunks/chunk-5AH3YOQH.js +0 -462
- package/dist/chunks/chunk-5BA4YEAH.js +0 -124
- package/dist/chunks/chunk-5CUQGAEU.js +0 -102
- package/dist/chunks/chunk-5EHAMLO5.js +0 -214
- package/dist/chunks/chunk-5EILBQRV.js +0 -171
- package/dist/chunks/chunk-5EPCXFIC.js +0 -170
- package/dist/chunks/chunk-5F4GMVKF.js +0 -327
- package/dist/chunks/chunk-5GLZGT5A.js +0 -50
- package/dist/chunks/chunk-5H6IVI72.js +0 -44
- package/dist/chunks/chunk-5H7UNPIV.js +0 -50
- package/dist/chunks/chunk-5HSIWXQI.js +0 -78
- package/dist/chunks/chunk-5I47SU26.js +0 -33
- package/dist/chunks/chunk-5L2DV24I.js +0 -179
- package/dist/chunks/chunk-5METGJUD.js +0 -112
- package/dist/chunks/chunk-5MQ7ILRR.js +0 -279
- package/dist/chunks/chunk-5N725AI2.js +0 -23
- package/dist/chunks/chunk-5NPDJHAG.js +0 -53
- package/dist/chunks/chunk-5NZ4PTG6.js +0 -175
- package/dist/chunks/chunk-5PLVRHLB.js +0 -139
- package/dist/chunks/chunk-5QIQ3BU6.js +0 -412
- package/dist/chunks/chunk-5TFPNCIM.js +0 -45
- package/dist/chunks/chunk-5UCIR5YK.js +0 -39
- package/dist/chunks/chunk-5XJLF4VM.js +0 -47
- package/dist/chunks/chunk-5YERY7FD.js +0 -51
- package/dist/chunks/chunk-5ZJCETQQ.js +0 -182
- package/dist/chunks/chunk-5ZWLMFHK.js +0 -146
- package/dist/chunks/chunk-62LZB7DN.js +0 -165
- package/dist/chunks/chunk-63JDZY7N.js +0 -114
- package/dist/chunks/chunk-66F7AOG7.js +0 -130
- package/dist/chunks/chunk-66ICL3PO.js +0 -178
- package/dist/chunks/chunk-66PO2YHM.js +0 -112
- package/dist/chunks/chunk-6A35KZYG.js +0 -2662
- package/dist/chunks/chunk-6E6TWDJR.js +0 -161
- package/dist/chunks/chunk-6FPG2C4E.js +0 -99
- package/dist/chunks/chunk-6GZOXHLQ.js +0 -390
- package/dist/chunks/chunk-6HIYDGGH.js +0 -382
- package/dist/chunks/chunk-6HLXAVGA.js +0 -104
- package/dist/chunks/chunk-6IIVIBQM.js +0 -177
- package/dist/chunks/chunk-6JM3RBEE.js +0 -324
- package/dist/chunks/chunk-6MLUOWWW.js +0 -23
- package/dist/chunks/chunk-6MRBOYRS.js +0 -103
- package/dist/chunks/chunk-6MSX2CU6.js +0 -106
- package/dist/chunks/chunk-6PAVQ2RA.js +0 -166
- package/dist/chunks/chunk-6QYR3LK7.js +0 -164
- package/dist/chunks/chunk-6RA2RCWG.js +0 -33
- package/dist/chunks/chunk-6RLN4GTV.js +0 -30
- package/dist/chunks/chunk-6TLHM6C3.js +0 -382
- package/dist/chunks/chunk-6U7OYSIH.js +0 -514
- package/dist/chunks/chunk-6UAATRIJ.js +0 -64
- package/dist/chunks/chunk-6ULZTN2D.js +0 -60
- package/dist/chunks/chunk-6VJIQVM5.js +0 -127
- package/dist/chunks/chunk-6WPCUNDM.js +0 -141
- package/dist/chunks/chunk-6ZIDD35X.js +0 -167
- package/dist/chunks/chunk-6ZN2NY25.js +0 -340
- package/dist/chunks/chunk-76YKTOUW.js +0 -23
- package/dist/chunks/chunk-7ANJ3HQF.js +0 -315
- package/dist/chunks/chunk-7JRI3XCF.js +0 -103
- package/dist/chunks/chunk-7KXQ4QDY.js +0 -171
- package/dist/chunks/chunk-7KZI2TPE.js +0 -101
- package/dist/chunks/chunk-7OGTKN74.js +0 -261
- package/dist/chunks/chunk-7PJNFDDK.js +0 -138
- package/dist/chunks/chunk-7QAO4IJP.js +0 -95
- package/dist/chunks/chunk-7RP2ZXEP.js +0 -177
- package/dist/chunks/chunk-7TKFXPC4.js +0 -146
- package/dist/chunks/chunk-7ULVWPQH.js +0 -304
- package/dist/chunks/chunk-7W2WHJGQ.js +0 -229
- package/dist/chunks/chunk-7WK3DM6L.js +0 -1132
- package/dist/chunks/chunk-7WP3TDAY.js +0 -23
- package/dist/chunks/chunk-7XKADEMB.js +0 -152
- package/dist/chunks/chunk-7XMNWZ7Q.js +0 -260
- package/dist/chunks/chunk-7ZBMUPIE.js +0 -108
- package/dist/chunks/chunk-7ZDTDDKH.js +0 -139
- package/dist/chunks/chunk-7ZOR2XJ3.js +0 -100
- package/dist/chunks/chunk-7ZR3CVJ4.js +0 -231
- package/dist/chunks/chunk-A37ENRWB.js +0 -155
- package/dist/chunks/chunk-A4G7UETS.js +0 -23
- package/dist/chunks/chunk-A67VQUFM.js +0 -231
- package/dist/chunks/chunk-A6DHNEPT.js +0 -149
- package/dist/chunks/chunk-A7QVW6JM.js +0 -114
- package/dist/chunks/chunk-AAF2L6MT.js +0 -144
- package/dist/chunks/chunk-AAUUQU26.js +0 -182
- package/dist/chunks/chunk-ABRFW6OX.js +0 -28
- package/dist/chunks/chunk-ADB67A4T.js +0 -33
- package/dist/chunks/chunk-ADBCHUUH.js +0 -150
- package/dist/chunks/chunk-ADVURGF3.js +0 -156
- package/dist/chunks/chunk-AF6PFE5J.js +0 -98
- package/dist/chunks/chunk-AHPGU5PG.js +0 -172
- package/dist/chunks/chunk-AI5HKNKJ.js +0 -95
- package/dist/chunks/chunk-AJDY5EE2.js +0 -90
- package/dist/chunks/chunk-AJTPNLBZ.js +0 -160
- package/dist/chunks/chunk-AJUJ262D.js +0 -80
- package/dist/chunks/chunk-AL3IYD6C.js +0 -478
- package/dist/chunks/chunk-AMB2ZNU4.js +0 -204
- package/dist/chunks/chunk-AMCHEFQS.js +0 -88
- package/dist/chunks/chunk-AMCPUR6F.js +0 -97
- package/dist/chunks/chunk-AMFTUFPY.js +0 -1307
- package/dist/chunks/chunk-AMLCSY7U.js +0 -187
- package/dist/chunks/chunk-AMUKTSJ5.js +0 -10192
- package/dist/chunks/chunk-ANWHHLMK.js +0 -105
- package/dist/chunks/chunk-ANYHWRBX.js +0 -336
- package/dist/chunks/chunk-AP7OBAUS.js +0 -172
- package/dist/chunks/chunk-AQPNQFPD.js +0 -33
- package/dist/chunks/chunk-ASTZL7DI.js +0 -898
- package/dist/chunks/chunk-AUCYA5JC.js +0 -331
- package/dist/chunks/chunk-AVHS4YS5.js +0 -137
- package/dist/chunks/chunk-AXLXFG7T.js +0 -82
- package/dist/chunks/chunk-B34I562P.js +0 -10429
- package/dist/chunks/chunk-B5IDGFIT.js +0 -84
- package/dist/chunks/chunk-B5QQKXML.js +0 -195
- package/dist/chunks/chunk-B67PCTSR.js +0 -99
- package/dist/chunks/chunk-B6JMMGXZ.js +0 -803
- package/dist/chunks/chunk-BA2PKIQ6.js +0 -215
- package/dist/chunks/chunk-BA2Y5VGJ.js +0 -86
- package/dist/chunks/chunk-BAQUWVUK.js +0 -176
- package/dist/chunks/chunk-BCBXLMHF.js +0 -45
- package/dist/chunks/chunk-BGH5ILEK.js +0 -436
- package/dist/chunks/chunk-BGQAMLGC.js +0 -55
- package/dist/chunks/chunk-BJWVN7V4.js +0 -152
- package/dist/chunks/chunk-BMANGXKF.js +0 -192
- package/dist/chunks/chunk-BOVV6CCI.js +0 -190
- package/dist/chunks/chunk-BPO5IVLM.js +0 -877
- package/dist/chunks/chunk-BQGXTCGJ.js +0 -23
- package/dist/chunks/chunk-BQYIMCEW.js +0 -77
- package/dist/chunks/chunk-BT5XEIJM.js +0 -161
- package/dist/chunks/chunk-BTQSYOPY.js +0 -140
- package/dist/chunks/chunk-BURLNF6T.js +0 -30
- package/dist/chunks/chunk-BXYTELCK.js +0 -122
- package/dist/chunks/chunk-BYD6YO5X.js +0 -130
- package/dist/chunks/chunk-BYGL33YQ.js +0 -411
- package/dist/chunks/chunk-BYGLPBNY.js +0 -119
- package/dist/chunks/chunk-BYXDNQ4H.js +0 -358
- package/dist/chunks/chunk-C2TVH53E.js +0 -23
- package/dist/chunks/chunk-C42DODP2.js +0 -160
- package/dist/chunks/chunk-C6LLB7PF.js +0 -251
- package/dist/chunks/chunk-CCYEWNEJ.js +0 -172
- package/dist/chunks/chunk-CFRJZA7Q.js +0 -105
- package/dist/chunks/chunk-CFXOHPAJ.js +0 -197
- package/dist/chunks/chunk-CGAMJXTV.js +0 -161
- package/dist/chunks/chunk-CH2UVYQR.js +0 -131
- package/dist/chunks/chunk-CHSJFOOU.js +0 -230
- package/dist/chunks/chunk-CHZYOA22.js +0 -150
- package/dist/chunks/chunk-CJHMXMTG.js +0 -156
- package/dist/chunks/chunk-CKLNSTFS.js +0 -52
- package/dist/chunks/chunk-CLAIYHB6.js +0 -282
- package/dist/chunks/chunk-CMDBLKMN.js +0 -152
- package/dist/chunks/chunk-CPNBXKNL.js +0 -45
- package/dist/chunks/chunk-CPSQRBX2.js +0 -201
- package/dist/chunks/chunk-CR3CG2PK.js +0 -36
- package/dist/chunks/chunk-CS622ZRI.js +0 -50
- package/dist/chunks/chunk-CS7ULH3E.js +0 -53
- package/dist/chunks/chunk-CV5GCNLM.js +0 -122
- package/dist/chunks/chunk-CW6ZAXXK.js +0 -238
- package/dist/chunks/chunk-CWCH7TXJ.js +0 -1845
- package/dist/chunks/chunk-CWDPJRWL.js +0 -97
- package/dist/chunks/chunk-CWUXIIHZ.js +0 -118
- package/dist/chunks/chunk-CXYVCTOS.js +0 -220
- package/dist/chunks/chunk-CY23HNAH.js +0 -123
- package/dist/chunks/chunk-CYN63EL5.js +0 -153
- package/dist/chunks/chunk-CZ5ETUCB.js +0 -162
- package/dist/chunks/chunk-CZSEWRRR.js +0 -41
- package/dist/chunks/chunk-D2L23E57.js +0 -107
- package/dist/chunks/chunk-D4DFZ5TL.js +0 -135
- package/dist/chunks/chunk-D5ACRNZX.js +0 -191
- package/dist/chunks/chunk-D5HDOW7O.js +0 -66
- package/dist/chunks/chunk-D6YTTHPI.js +0 -261
- package/dist/chunks/chunk-DALN62SY.js +0 -146
- package/dist/chunks/chunk-DBCVQB6K.js +0 -443
- package/dist/chunks/chunk-DBXLN4PE.js +0 -81
- package/dist/chunks/chunk-DCN5D3AL.js +0 -33
- package/dist/chunks/chunk-DDH3W5XU.js +0 -150
- package/dist/chunks/chunk-DDLEBXKO.js +0 -95
- package/dist/chunks/chunk-DDQD5ISF.js +0 -186
- package/dist/chunks/chunk-DF4NIZF4.js +0 -115
- package/dist/chunks/chunk-DFV3TBOZ.js +0 -221
- package/dist/chunks/chunk-DFVECMRT.js +0 -327
- package/dist/chunks/chunk-DFWE3WYX.js +0 -1469
- package/dist/chunks/chunk-DGKGZZBV.js +0 -77
- package/dist/chunks/chunk-DGKIN7CN.js +0 -147
- package/dist/chunks/chunk-DGVUHTPW.js +0 -326
- package/dist/chunks/chunk-DJSJQNCY.js +0 -123
- package/dist/chunks/chunk-DKMVHHCY.js +0 -158
- package/dist/chunks/chunk-DL5PPK5F.js +0 -83
- package/dist/chunks/chunk-DLIWINCB.js +0 -118
- package/dist/chunks/chunk-DMUKVCM5.js +0 -104
- package/dist/chunks/chunk-DNXQJAJP.js +0 -89
- package/dist/chunks/chunk-DO5MJ5T4.js +0 -33
- package/dist/chunks/chunk-DO6KIGYI.js +0 -106
- package/dist/chunks/chunk-DORQXUA2.js +0 -74
- package/dist/chunks/chunk-DRU5INUA.js +0 -145
- package/dist/chunks/chunk-DSGKL4Y5.js +0 -134
- package/dist/chunks/chunk-DSPUYMSE.js +0 -94
- package/dist/chunks/chunk-DT5D53GH.js +0 -311
- package/dist/chunks/chunk-DUADOFWZ.js +0 -95
- package/dist/chunks/chunk-DW6KEFP5.js +0 -147
- package/dist/chunks/chunk-E2I63NAX.js +0 -190
- package/dist/chunks/chunk-E2IMDT5V.js +0 -189
- package/dist/chunks/chunk-E2LD566C.js +0 -115
- package/dist/chunks/chunk-E2VQGWRG.js +0 -117
- package/dist/chunks/chunk-E4IXK2AC.js +0 -287
- package/dist/chunks/chunk-E4WIVJNU.js +0 -119
- package/dist/chunks/chunk-E4ZK4HM5.js +0 -333
- package/dist/chunks/chunk-E6LVFKDA.js +0 -160
- package/dist/chunks/chunk-E7VDJEWX.js +0 -169
- package/dist/chunks/chunk-EA2I4VVV.js +0 -62
- package/dist/chunks/chunk-EB3FEMTG.js +0 -23
- package/dist/chunks/chunk-EC5GL5UR.js +0 -79
- package/dist/chunks/chunk-EH6VI2UF.js +0 -33
- package/dist/chunks/chunk-EHL6ELF2.js +0 -405
- package/dist/chunks/chunk-EHXGQK7B.js +0 -78
- package/dist/chunks/chunk-EJRV2YKX.js +0 -131
- package/dist/chunks/chunk-EJXZG7PS.js +0 -110
- package/dist/chunks/chunk-EKKCSB3U.js +0 -157
- package/dist/chunks/chunk-EKRQVGBV.js +0 -115
- package/dist/chunks/chunk-EMMHUF4C.js +0 -358
- package/dist/chunks/chunk-EMTXGVGL.js +0 -107
- package/dist/chunks/chunk-ENHNZDA7.js +0 -33
- package/dist/chunks/chunk-EOEGBV26.js +0 -163
- package/dist/chunks/chunk-EOWBBYIY.js +0 -102
- package/dist/chunks/chunk-EPZ33PQP.js +0 -120
- package/dist/chunks/chunk-EPZJEJI6.js +0 -97
- package/dist/chunks/chunk-EQ4NJAIF.js +0 -128
- package/dist/chunks/chunk-EQSHYYZM.js +0 -249
- package/dist/chunks/chunk-EQYVXJXB.js +0 -100
- package/dist/chunks/chunk-ETIBK6KT.js +0 -689
- package/dist/chunks/chunk-EV5SOTPV.js +0 -1677
- package/dist/chunks/chunk-EVNCBSNE.js +0 -342
- package/dist/chunks/chunk-EVOP4BIW.js +0 -248
- package/dist/chunks/chunk-EVQL37G4.js +0 -116
- package/dist/chunks/chunk-EVSBYI2R.js +0 -85
- package/dist/chunks/chunk-EW5RHFYC.js +0 -102
- package/dist/chunks/chunk-EXHUDW5Z.js +0 -320
- package/dist/chunks/chunk-EY4KBXJL.js +0 -336
- package/dist/chunks/chunk-EYW2ZTML.js +0 -77
- package/dist/chunks/chunk-EZBTAH6R.js +0 -81
- package/dist/chunks/chunk-F5G573ZE.js +0 -100
- package/dist/chunks/chunk-F5Q3HYNY.js +0 -136
- package/dist/chunks/chunk-F5W6BF6X.js +0 -80
- package/dist/chunks/chunk-F6OTQ4HT.js +0 -1403
- package/dist/chunks/chunk-FABJERXS.js +0 -487
- package/dist/chunks/chunk-FBKJKHIP.js +0 -164
- package/dist/chunks/chunk-FBLEIEXD.js +0 -184
- package/dist/chunks/chunk-FE6QIVZR.js +0 -175
- package/dist/chunks/chunk-FH5OFPO2.js +0 -41
- package/dist/chunks/chunk-FHHNZCU6.js +0 -261
- package/dist/chunks/chunk-FHJMZGIE.js +0 -60
- package/dist/chunks/chunk-FMT65PGJ.js +0 -98
- package/dist/chunks/chunk-FO3YBRUS.js +0 -122
- package/dist/chunks/chunk-FOTT2AU2.js +0 -36
- package/dist/chunks/chunk-FPCEZYJ5.js +0 -157
- package/dist/chunks/chunk-FQQE3J7C.js +0 -164
- package/dist/chunks/chunk-FRQL6OGC.js +0 -414
- package/dist/chunks/chunk-FRSJ7U2D.js +0 -181
- package/dist/chunks/chunk-FV5A27DD.js +0 -23
- package/dist/chunks/chunk-FVMLEP6H.js +0 -283
- package/dist/chunks/chunk-FXFKLZ5Z.js +0 -84
- package/dist/chunks/chunk-FZMZ335H.js +0 -153
- package/dist/chunks/chunk-G3KHK5BZ.js +0 -23
- package/dist/chunks/chunk-G43VJ2N2.js +0 -181
- package/dist/chunks/chunk-G4NRBF4Z.js +0 -23
- package/dist/chunks/chunk-G6GYBIZU.js +0 -237
- package/dist/chunks/chunk-GA7LA4CV.js +0 -33
- package/dist/chunks/chunk-GAERJBKQ.js +0 -109
- package/dist/chunks/chunk-GASUCLG4.js +0 -37
- package/dist/chunks/chunk-GAYMOFNE.js +0 -163
- package/dist/chunks/chunk-GCFXSAXL.js +0 -11335
- package/dist/chunks/chunk-GCJHJENR.js +0 -160
- package/dist/chunks/chunk-GCLRDAC3.js +0 -163
- package/dist/chunks/chunk-GDEZSZXW.js +0 -74
- package/dist/chunks/chunk-GDV2NA6L.js +0 -149
- package/dist/chunks/chunk-GFHPSKGL.js +0 -165
- package/dist/chunks/chunk-GIIWX2OB.js +0 -33
- package/dist/chunks/chunk-GJZOBF4E.js +0 -88
- package/dist/chunks/chunk-GLJBCB4D.js +0 -184
- package/dist/chunks/chunk-GLTYKT6F.js +0 -76
- package/dist/chunks/chunk-GMJZOQJK.js +0 -98
- package/dist/chunks/chunk-GNEBXWHC.js +0 -91
- package/dist/chunks/chunk-GO4ODSKJ.js +0 -178
- package/dist/chunks/chunk-GPLV4R44.js +0 -258
- package/dist/chunks/chunk-GRJG5VI7.js +0 -330
- package/dist/chunks/chunk-GS7ZFYME.js +0 -199
- package/dist/chunks/chunk-GSATYS56.js +0 -247
- package/dist/chunks/chunk-GSIKIDU2.js +0 -290
- package/dist/chunks/chunk-GSPAPUH5.js +0 -111
- package/dist/chunks/chunk-GT7QW73S.js +0 -361
- package/dist/chunks/chunk-GVTUXQAP.js +0 -282
- package/dist/chunks/chunk-GW2IWBWY.js +0 -141
- package/dist/chunks/chunk-GWHNK3UY.js +0 -92
- package/dist/chunks/chunk-GWN3F3VG.js +0 -183
- package/dist/chunks/chunk-GXVQHSTV.js +0 -49
- package/dist/chunks/chunk-GXYYMISW.js +0 -464
- package/dist/chunks/chunk-GZAZ5B3J.js +0 -53
- package/dist/chunks/chunk-GZJKN4MY.js +0 -624
- package/dist/chunks/chunk-GZJQ4HLD.js +0 -84
- package/dist/chunks/chunk-H34ASZTM.js +0 -151
- package/dist/chunks/chunk-H4NSGAO3.js +0 -174
- package/dist/chunks/chunk-H5UCZMKU.js +0 -108
- package/dist/chunks/chunk-H5VSKOCG.js +0 -79
- package/dist/chunks/chunk-HAB7APXQ.js +0 -135
- package/dist/chunks/chunk-HDFD6KUY.js +0 -135
- package/dist/chunks/chunk-HEZXKYOV.js +0 -172
- package/dist/chunks/chunk-HFMRL5NP.js +0 -303
- package/dist/chunks/chunk-HGLKXSKO.js +0 -400
- package/dist/chunks/chunk-HGMUNWDU.js +0 -136
- package/dist/chunks/chunk-HHLYXOUG.js +0 -479
- package/dist/chunks/chunk-HJCL5HTJ.js +0 -1188
- package/dist/chunks/chunk-HK6X5WH2.js +0 -349
- package/dist/chunks/chunk-HLOZ3NNW.js +0 -86
- package/dist/chunks/chunk-HLT6ANML.js +0 -293
- package/dist/chunks/chunk-HLYITCLR.js +0 -274
- package/dist/chunks/chunk-HMEZF466.js +0 -278
- package/dist/chunks/chunk-HPBSLK7H.js +0 -30
- package/dist/chunks/chunk-HQQHO4ZL.js +0 -36
- package/dist/chunks/chunk-HUS5HFWY.js +0 -23
- package/dist/chunks/chunk-HUTPIZQO.js +0 -162
- package/dist/chunks/chunk-HV5NJG65.js +0 -961
- package/dist/chunks/chunk-HZSNS37D.js +0 -263
- package/dist/chunks/chunk-I2JMNZWS.js +0 -23
- package/dist/chunks/chunk-I3YRUVDA.js +0 -329
- package/dist/chunks/chunk-I4DJU2I6.js +0 -155
- package/dist/chunks/chunk-I4I2E7BL.js +0 -23
- package/dist/chunks/chunk-I5YU7SIX.js +0 -151
- package/dist/chunks/chunk-I67R2UPN.js +0 -52
- package/dist/chunks/chunk-I6TYQYAJ.js +0 -345
- package/dist/chunks/chunk-ICVESCNU.js +0 -91
- package/dist/chunks/chunk-IEWPNWV6.js +0 -105
- package/dist/chunks/chunk-IF7CMRA7.js +0 -78
- package/dist/chunks/chunk-IG5MIZKV.js +0 -23
- package/dist/chunks/chunk-IIOAYOQA.js +0 -320
- package/dist/chunks/chunk-IITWGGLP.js +0 -289
- package/dist/chunks/chunk-IK2XALWC.js +0 -23
- package/dist/chunks/chunk-IKNE24ZX.js +0 -123
- package/dist/chunks/chunk-IKOSR3VB.js +0 -257
- package/dist/chunks/chunk-IKTBFR37.js +0 -887
- package/dist/chunks/chunk-ILJQF6SY.js +0 -86
- package/dist/chunks/chunk-IMRLCDIG.js +0 -95
- package/dist/chunks/chunk-IODA3TTU.js +0 -33
- package/dist/chunks/chunk-IOKGHMSX.js +0 -100
- package/dist/chunks/chunk-IOMLL724.js +0 -45
- package/dist/chunks/chunk-IQDEFE5O.js +0 -44
- package/dist/chunks/chunk-IQJIBQ4Z.js +0 -106
- package/dist/chunks/chunk-IQXRTHNV.js +0 -142
- package/dist/chunks/chunk-IRMJKPFN.js +0 -298
- package/dist/chunks/chunk-ISHEQELB.js +0 -94
- package/dist/chunks/chunk-ITJKDADU.js +0 -1393
- package/dist/chunks/chunk-IXEIF7G5.js +0 -108
- package/dist/chunks/chunk-IYOC7ROZ.js +0 -93
- package/dist/chunks/chunk-J3BIGDVD.js +0 -197
- package/dist/chunks/chunk-J5G44Q35.js +0 -484
- package/dist/chunks/chunk-J5TX2QYH.js +0 -132
- package/dist/chunks/chunk-J6OWOQLK.js +0 -55
- package/dist/chunks/chunk-JDZ7TOJE.js +0 -266
- package/dist/chunks/chunk-JGCBZNSI.js +0 -128
- package/dist/chunks/chunk-JI3GJNDK.js +0 -290
- package/dist/chunks/chunk-JIRMMJPK.js +0 -558
- package/dist/chunks/chunk-JKGSDVXZ.js +0 -161
- package/dist/chunks/chunk-JKQQC5DD.js +0 -45
- package/dist/chunks/chunk-JLIL76IT.js +0 -174
- package/dist/chunks/chunk-JMVD7W44.js +0 -33
- package/dist/chunks/chunk-JNBAV3SJ.js +0 -237
- package/dist/chunks/chunk-JPOEYIOJ.js +0 -80
- package/dist/chunks/chunk-JQ677XP4.js +0 -81
- package/dist/chunks/chunk-JQDB6QCD.js +0 -232
- package/dist/chunks/chunk-JS4LO2PD.js +0 -112
- package/dist/chunks/chunk-JS67DDPV.js +0 -165
- package/dist/chunks/chunk-JU75PMPU.js +0 -93
- package/dist/chunks/chunk-JUBGSCBX.js +0 -48
- package/dist/chunks/chunk-JUCJK7Z4.js +0 -305
- package/dist/chunks/chunk-JUXUAAAS.js +0 -206
- package/dist/chunks/chunk-JV5BOQLT.js +0 -202
- package/dist/chunks/chunk-JZOUV4GE.js +0 -176
- package/dist/chunks/chunk-K2CBFQ5H.js +0 -217
- package/dist/chunks/chunk-KA5VXEI3.js +0 -33
- package/dist/chunks/chunk-KAZJTTQF.js +0 -231
- package/dist/chunks/chunk-KB4ZNGV4.js +0 -76
- package/dist/chunks/chunk-KBB4D4ZK.js +0 -91
- package/dist/chunks/chunk-KBDR2G2Z.js +0 -97
- package/dist/chunks/chunk-KCUCE6IR.js +0 -105
- package/dist/chunks/chunk-KDHAUATP.js +0 -358
- package/dist/chunks/chunk-KEMTGWNZ.js +0 -100
- package/dist/chunks/chunk-KEPCW3BI.js +0 -168
- package/dist/chunks/chunk-KIGDAVLJ.js +0 -261
- package/dist/chunks/chunk-KJB5SXV7.js +0 -312
- package/dist/chunks/chunk-KKNB3GGE.js +0 -202
- package/dist/chunks/chunk-KMNYZ3PV.js +0 -187
- package/dist/chunks/chunk-KOK4I2GY.js +0 -70
- package/dist/chunks/chunk-KQMIOLHY.js +0 -23
- package/dist/chunks/chunk-KQMWDDYO.js +0 -103
- package/dist/chunks/chunk-KQSMDDJA.js +0 -512
- package/dist/chunks/chunk-KRIQ5VFY.js +0 -36
- package/dist/chunks/chunk-KSNR4UHZ.js +0 -11806
- package/dist/chunks/chunk-KT622D6S.js +0 -119
- package/dist/chunks/chunk-KTAN5LIG.js +0 -163
- package/dist/chunks/chunk-KTJYDDFH.js +0 -198
- package/dist/chunks/chunk-KW3G4KWW.js +0 -209
- package/dist/chunks/chunk-KWFAUUO5.js +0 -75
- package/dist/chunks/chunk-KX5FLXHN.js +0 -133
- package/dist/chunks/chunk-KX7YU6AM.js +0 -149
- package/dist/chunks/chunk-KXQ2KEUM.js +0 -777
- package/dist/chunks/chunk-KXVIQQ62.js +0 -362
- package/dist/chunks/chunk-KYYSAULD.js +0 -260
- package/dist/chunks/chunk-KZQ6COBE.js +0 -115
- package/dist/chunks/chunk-KZT7K2TO.js +0 -95
- package/dist/chunks/chunk-L22QVZBU.js +0 -101
- package/dist/chunks/chunk-L3H7L5XS.js +0 -183
- package/dist/chunks/chunk-L3HKC5BM.js +0 -45
- package/dist/chunks/chunk-L3LPLUIH.js +0 -33
- package/dist/chunks/chunk-L3ML6YNK.js +0 -224
- package/dist/chunks/chunk-L47YW5HP.js +0 -194
- package/dist/chunks/chunk-L4F7ARWI.js +0 -1574
- package/dist/chunks/chunk-L6D2F7NK.js +0 -45
- package/dist/chunks/chunk-LBDAUB6U.js +0 -224
- package/dist/chunks/chunk-LBH4JXSA.js +0 -246
- package/dist/chunks/chunk-LC4A4NLY.js +0 -428
- package/dist/chunks/chunk-LDAA2P5A.js +0 -127
- package/dist/chunks/chunk-LEKQBJ5M.js +0 -95
- package/dist/chunks/chunk-LF4OSRZC.js +0 -141
- package/dist/chunks/chunk-LGZ2VM4M.js +0 -181
- package/dist/chunks/chunk-LHJSPW4E.js +0 -33
- package/dist/chunks/chunk-LIOHOS3B.js +0 -42
- package/dist/chunks/chunk-LJ2T6H7H.js +0 -335
- package/dist/chunks/chunk-LK3TNCSH.js +0 -94
- package/dist/chunks/chunk-LK5T7JBM.js +0 -361
- package/dist/chunks/chunk-LLEIFN6Z.js +0 -23
- package/dist/chunks/chunk-LMU5NWW5.js +0 -121
- package/dist/chunks/chunk-LNLWSJVP.js +0 -90
- package/dist/chunks/chunk-LNZ6QCBT.js +0 -39
- package/dist/chunks/chunk-LO2MYQBJ.js +0 -626
- package/dist/chunks/chunk-LPBTUTAF.js +0 -86
- package/dist/chunks/chunk-LQRC7MNT.js +0 -685
- package/dist/chunks/chunk-LRTVUUAT.js +0 -154
- package/dist/chunks/chunk-LTQESA6T.js +0 -198
- package/dist/chunks/chunk-LWHNSFSW.js +0 -79
- package/dist/chunks/chunk-LWINCZIZ.js +0 -222
- package/dist/chunks/chunk-LXTOU2KV.js +0 -214
- package/dist/chunks/chunk-LXXEPRAB.js +0 -130
- package/dist/chunks/chunk-LYTDZFXD.js +0 -46
- package/dist/chunks/chunk-LYTRHTNO.js +0 -139
- package/dist/chunks/chunk-LZ6QSTUY.js +0 -103
- package/dist/chunks/chunk-M25PKT7A.js +0 -33
- package/dist/chunks/chunk-M2NBJWWY.js +0 -363
- package/dist/chunks/chunk-M4PUSOPI.js +0 -87
- package/dist/chunks/chunk-M5O57VFA.js +0 -78
- package/dist/chunks/chunk-M5ZAUWYM.js +0 -263
- package/dist/chunks/chunk-M6GDW43M.js +0 -149
- package/dist/chunks/chunk-MCXRY6ZO.js +0 -317
- package/dist/chunks/chunk-MDKBNMDS.js +0 -250
- package/dist/chunks/chunk-MDVIT44P.js +0 -33
- package/dist/chunks/chunk-ME5UB4PM.js +0 -84
- package/dist/chunks/chunk-MFBWT2Y7.js +0 -203
- package/dist/chunks/chunk-MFUCG4LP.js +0 -219
- package/dist/chunks/chunk-MG5QJGYG.js +0 -119
- package/dist/chunks/chunk-MHUQJ577.js +0 -262
- package/dist/chunks/chunk-MKC2ZC4G.js +0 -564
- package/dist/chunks/chunk-MKG7SY3U.js +0 -179
- package/dist/chunks/chunk-MKO5TRNO.js +0 -121
- package/dist/chunks/chunk-MLUWWQSU.js +0 -179
- package/dist/chunks/chunk-MLVPU7ZB.js +0 -139
- package/dist/chunks/chunk-MS3ATQ3M.js +0 -42
- package/dist/chunks/chunk-MSMK5J7G.js +0 -163
- package/dist/chunks/chunk-MUCU3TXB.js +0 -43
- package/dist/chunks/chunk-MV6SV6HP.js +0 -303
- package/dist/chunks/chunk-MVECHHYV.js +0 -368
- package/dist/chunks/chunk-MVPU6YC5.js +0 -283
- package/dist/chunks/chunk-MVX5F3CS.js +0 -165
- package/dist/chunks/chunk-MWHXEHMU.js +0 -115
- package/dist/chunks/chunk-MX2VNSD7.js +0 -115
- package/dist/chunks/chunk-MXAQP4WW.js +0 -45
- package/dist/chunks/chunk-MY7NINFY.js +0 -166
- package/dist/chunks/chunk-MYJTESS5.js +0 -104
- package/dist/chunks/chunk-MYKB5LCQ.js +0 -180
- package/dist/chunks/chunk-MZED2JXA.js +0 -80
- package/dist/chunks/chunk-N2PMCMLQ.js +0 -87
- package/dist/chunks/chunk-N356MI57.js +0 -78
- package/dist/chunks/chunk-N3CO2VZD.js +0 -188
- package/dist/chunks/chunk-N4KTR42Q.js +0 -157
- package/dist/chunks/chunk-N4XOZTWQ.js +0 -200
- package/dist/chunks/chunk-N4YZFXWG.js +0 -23
- package/dist/chunks/chunk-N6BJNS6K.js +0 -33
- package/dist/chunks/chunk-N7ZGHPH5.js +0 -129
- package/dist/chunks/chunk-NAQD6NPL.js +0 -172
- package/dist/chunks/chunk-NAYNECXU.js +0 -97
- package/dist/chunks/chunk-NB7CHPFR.js +0 -145
- package/dist/chunks/chunk-NBAT2BQP.js +0 -147
- package/dist/chunks/chunk-NBQVLXOR.js +0 -503
- package/dist/chunks/chunk-NBS77KTO.js +0 -209
- package/dist/chunks/chunk-NBVNTELP.js +0 -266
- package/dist/chunks/chunk-NDDUKEYL.js +0 -156
- package/dist/chunks/chunk-NDOBQ5FP.js +0 -156
- package/dist/chunks/chunk-NE4F4PZ2.js +0 -47
- package/dist/chunks/chunk-NEV6B4IZ.js +0 -287
- package/dist/chunks/chunk-NFJ52DZC.js +0 -607
- package/dist/chunks/chunk-NH5KFSMH.js +0 -80
- package/dist/chunks/chunk-NHMXBXGZ.js +0 -79
- package/dist/chunks/chunk-NJP4QTIY.js +0 -190
- package/dist/chunks/chunk-NL2GRFQA.js +0 -172
- package/dist/chunks/chunk-NLMB6DME.js +0 -150
- package/dist/chunks/chunk-NNKT25VZ.js +0 -82
- package/dist/chunks/chunk-NNOEIGBY.js +0 -208
- package/dist/chunks/chunk-NNTBL2TK.js +0 -107
- package/dist/chunks/chunk-NOARRJIP.js +0 -99
- package/dist/chunks/chunk-NOLFOS2S.js +0 -124
- package/dist/chunks/chunk-NOQUHKEF.js +0 -49
- package/dist/chunks/chunk-NQNCVO6H.js +0 -106
- package/dist/chunks/chunk-NQZETW3U.js +0 -33
- package/dist/chunks/chunk-NS573CV4.js +0 -174
- package/dist/chunks/chunk-NS7K6YBE.js +0 -97
- package/dist/chunks/chunk-NTZROEIB.js +0 -84
- package/dist/chunks/chunk-NUEURHJU.js +0 -33
- package/dist/chunks/chunk-NV4LZRWO.js +0 -260
- package/dist/chunks/chunk-NXHF7IE4.js +0 -55
- package/dist/chunks/chunk-NYCEUP2L.js +0 -185
- package/dist/chunks/chunk-NYJXNOHA.js +0 -89
- package/dist/chunks/chunk-O3WLTZ5W.js +0 -147
- package/dist/chunks/chunk-O5PXX53D.js +0 -41
- package/dist/chunks/chunk-OA4O4J3U.js +0 -97
- package/dist/chunks/chunk-OBX3XPGT.js +0 -125
- package/dist/chunks/chunk-OCLWCJDP.js +0 -50
- package/dist/chunks/chunk-OCMZX3HZ.js +0 -93
- package/dist/chunks/chunk-OCWF5SKU.js +0 -113
- package/dist/chunks/chunk-OD4TXLEP.js +0 -344
- package/dist/chunks/chunk-OFAIOFJQ.js +0 -1266
- package/dist/chunks/chunk-OFCFZHWA.js +0 -446
- package/dist/chunks/chunk-OITWXJBC.js +0 -83
- package/dist/chunks/chunk-OKCKOBBS.js +0 -339
- package/dist/chunks/chunk-OLKCQK3B.js +0 -126
- package/dist/chunks/chunk-OLNJXCCF.js +0 -256
- package/dist/chunks/chunk-OOKBDASM.js +0 -150
- package/dist/chunks/chunk-OPJ5OHQU.js +0 -238
- package/dist/chunks/chunk-OR3MCTSZ.js +0 -33
- package/dist/chunks/chunk-OSCBPZS4.js +0 -242
- package/dist/chunks/chunk-OUEIRNCS.js +0 -163
- package/dist/chunks/chunk-OURPAIW4.js +0 -30
- package/dist/chunks/chunk-OZ5HCTCZ.js +0 -304
- package/dist/chunks/chunk-OZBU5INJ.js +0 -930
- package/dist/chunks/chunk-OZF3RWMS.js +0 -100
- package/dist/chunks/chunk-OZZXBXCD.js +0 -415
- package/dist/chunks/chunk-P4LETPL5.js +0 -73
- package/dist/chunks/chunk-P554M3T3.js +0 -165
- package/dist/chunks/chunk-P56LBFB7.js +0 -79
- package/dist/chunks/chunk-P5LRBWDH.js +0 -117
- package/dist/chunks/chunk-P6JFCU2A.js +0 -42
- package/dist/chunks/chunk-P6TBOD6I.js +0 -112
- package/dist/chunks/chunk-PBMLJCHP.js +0 -162
- package/dist/chunks/chunk-PBZUWH55.js +0 -108
- package/dist/chunks/chunk-PCOZNX5G.js +0 -290
- package/dist/chunks/chunk-PHNHX6JG.js +0 -145
- package/dist/chunks/chunk-PHTSQ4BG.js +0 -152
- package/dist/chunks/chunk-PHVG3NGZ.js +0 -122
- package/dist/chunks/chunk-PIOXSBB3.js +0 -23
- package/dist/chunks/chunk-PJ6YGK2B.js +0 -110
- package/dist/chunks/chunk-PKKWXF5L.js +0 -105
- package/dist/chunks/chunk-PMGFSLPU.js +0 -185
- package/dist/chunks/chunk-PMHTK5B7.js +0 -159
- package/dist/chunks/chunk-PNG6TQQK.js +0 -158
- package/dist/chunks/chunk-PPDD7R4I.js +0 -215
- package/dist/chunks/chunk-PSK3CJSS.js +0 -78
- package/dist/chunks/chunk-PTAIF3GW.js +0 -23
- package/dist/chunks/chunk-PUEOVK7A.js +0 -75
- package/dist/chunks/chunk-PWQ7IZ5H.js +0 -140
- package/dist/chunks/chunk-PYBRG6LG.js +0 -177
- package/dist/chunks/chunk-Q6PKDS2F.js +0 -342
- package/dist/chunks/chunk-Q6Y6XL3H.js +0 -240
- package/dist/chunks/chunk-Q7MET4YL.js +0 -97
- package/dist/chunks/chunk-Q7SDW7H6.js +0 -396
- package/dist/chunks/chunk-QBAVKGUZ.js +0 -108
- package/dist/chunks/chunk-QBJ25JAI.js +0 -206
- package/dist/chunks/chunk-QBQJOLD2.js +0 -338
- package/dist/chunks/chunk-QCLGIVEJ.js +0 -196
- package/dist/chunks/chunk-QDCA27GZ.js +0 -407
- package/dist/chunks/chunk-QDGI2OCG.js +0 -182
- package/dist/chunks/chunk-QFZK5OKN.js +0 -1804
- package/dist/chunks/chunk-QH2MB7BD.js +0 -23
- package/dist/chunks/chunk-QHT2QTPK.js +0 -33
- package/dist/chunks/chunk-QIQRW5ML.js +0 -194
- package/dist/chunks/chunk-QIXS3XMZ.js +0 -102
- package/dist/chunks/chunk-QK2IDMX6.js +0 -195
- package/dist/chunks/chunk-QLD2ZFJD.js +0 -92
- package/dist/chunks/chunk-QLMHNXFC.js +0 -45
- package/dist/chunks/chunk-QLRNXLW6.js +0 -340
- package/dist/chunks/chunk-QO7UZHUC.js +0 -471
- package/dist/chunks/chunk-QP6W2IKO.js +0 -77
- package/dist/chunks/chunk-QPAWHQZQ.js +0 -138
- package/dist/chunks/chunk-QPGLI6WR.js +0 -109
- package/dist/chunks/chunk-QQ7ISKL2.js +0 -36
- package/dist/chunks/chunk-QRL3XTMY.js +0 -133
- package/dist/chunks/chunk-QRUOV22D.js +0 -194
- package/dist/chunks/chunk-QRVQER5A.js +0 -651
- package/dist/chunks/chunk-QSAZYUNK.js +0 -33
- package/dist/chunks/chunk-QUH3PLLY.js +0 -140
- package/dist/chunks/chunk-QUJADSTM.js +0 -100
- package/dist/chunks/chunk-QWOUMT7N.js +0 -75
- package/dist/chunks/chunk-QWTLD37M.js +0 -168
- package/dist/chunks/chunk-R37UYTST.js +0 -204
- package/dist/chunks/chunk-R3GPAURG.js +0 -71
- package/dist/chunks/chunk-R3XWESP2.js +0 -112
- package/dist/chunks/chunk-R5K4WQ2G.js +0 -23
- package/dist/chunks/chunk-R5OP6BOT.js +0 -99
- package/dist/chunks/chunk-R5T2QGKG.js +0 -169
- package/dist/chunks/chunk-R5U3C5VQ.js +0 -412
- package/dist/chunks/chunk-RBSCH2GQ.js +0 -198
- package/dist/chunks/chunk-RCAYXGAC.js +0 -267
- package/dist/chunks/chunk-RCIYY52A.js +0 -82
- package/dist/chunks/chunk-RERCT7XU.js +0 -23
- package/dist/chunks/chunk-RGUEJTKT.js +0 -54
- package/dist/chunks/chunk-RK4XRWFK.js +0 -102
- package/dist/chunks/chunk-RM2JEWUU.js +0 -45
- package/dist/chunks/chunk-RMHS5734.js +0 -178
- package/dist/chunks/chunk-RNIHDVR2.js +0 -38
- package/dist/chunks/chunk-ROG6R5QZ.js +0 -111
- package/dist/chunks/chunk-RSLCDBIT.js +0 -78
- package/dist/chunks/chunk-RU2ZRKNH.js +0 -278
- package/dist/chunks/chunk-RVCFQO3K.js +0 -83
- package/dist/chunks/chunk-RW4OEXJ6.js +0 -299
- package/dist/chunks/chunk-RWGV42WN.js +0 -45
- package/dist/chunks/chunk-RXMPNYII.js +0 -157
- package/dist/chunks/chunk-RYB4TEOJ.js +0 -142
- package/dist/chunks/chunk-S5RONKWQ.js +0 -23
- package/dist/chunks/chunk-S6NG6GYE.js +0 -260
- package/dist/chunks/chunk-S6SDW5K2.js +0 -135
- package/dist/chunks/chunk-S7ER5GH4.js +0 -47
- package/dist/chunks/chunk-SA37NAQR.js +0 -345
- package/dist/chunks/chunk-SBGLYIOK.js +0 -225
- package/dist/chunks/chunk-SBSH2SO5.js +0 -45
- package/dist/chunks/chunk-SDAOKLD3.js +0 -284
- package/dist/chunks/chunk-SDZY45LB.js +0 -574
- package/dist/chunks/chunk-SENENKX6.js +0 -209
- package/dist/chunks/chunk-SGR4RUG6.js +0 -103
- package/dist/chunks/chunk-SHR75DVW.js +0 -255
- package/dist/chunks/chunk-SI2ROH6S.js +0 -141
- package/dist/chunks/chunk-SJ7465NW.js +0 -62
- package/dist/chunks/chunk-SKINFDNV.js +0 -218
- package/dist/chunks/chunk-SKN2BUN7.js +0 -109
- package/dist/chunks/chunk-SKVEOXJZ.js +0 -128
- package/dist/chunks/chunk-SLAVFE6K.js +0 -83
- package/dist/chunks/chunk-SMZNOVPX.js +0 -56
- package/dist/chunks/chunk-SNCNDK7O.js +0 -120
- package/dist/chunks/chunk-SNVXQRYE.js +0 -226
- package/dist/chunks/chunk-SO7FD3QE.js +0 -110
- package/dist/chunks/chunk-SOIV54IQ.js +0 -198
- package/dist/chunks/chunk-SQVOG34K.js +0 -304
- package/dist/chunks/chunk-SR7P2OZP.js +0 -36
- package/dist/chunks/chunk-SSCXM5SQ.js +0 -125
- package/dist/chunks/chunk-SSG5E7SQ.js +0 -156
- package/dist/chunks/chunk-SU6OEK47.js +0 -183
- package/dist/chunks/chunk-SUURAI6Z.js +0 -134
- package/dist/chunks/chunk-SVYWHVVN.js +0 -269
- package/dist/chunks/chunk-SX7PGZGQ.js +0 -235
- package/dist/chunks/chunk-SXKDVL7I.js +0 -33
- package/dist/chunks/chunk-SXWWDFCV.js +0 -152
- package/dist/chunks/chunk-SXZW4O54.js +0 -23
- package/dist/chunks/chunk-SZHJCKF2.js +0 -155
- package/dist/chunks/chunk-SZOPOW5Q.js +0 -200
- package/dist/chunks/chunk-T257GCU6.js +0 -45
- package/dist/chunks/chunk-T2THVHKE.js +0 -632
- package/dist/chunks/chunk-T2Z3GRSA.js +0 -169
- package/dist/chunks/chunk-T4CY5NI6.js +0 -82
- package/dist/chunks/chunk-T54ZKUDB.js +0 -33
- package/dist/chunks/chunk-T5EUIGII.js +0 -170
- package/dist/chunks/chunk-T5HOCZ36.js +0 -196
- package/dist/chunks/chunk-TCEOGDES.js +0 -23
- package/dist/chunks/chunk-TCJCMCBA.js +0 -106
- package/dist/chunks/chunk-TCR5IRPM.js +0 -68
- package/dist/chunks/chunk-TEVRICSI.js +0 -297
- package/dist/chunks/chunk-TFI6AE5R.js +0 -1309
- package/dist/chunks/chunk-TFMO7OBY.js +0 -33
- package/dist/chunks/chunk-TIGYDMCZ.js +0 -133
- package/dist/chunks/chunk-TIIOTAUQ.js +0 -129
- package/dist/chunks/chunk-TIMBATJD.js +0 -155
- package/dist/chunks/chunk-TJGXMLEP.js +0 -292
- package/dist/chunks/chunk-TJJRWS7F.js +0 -224
- package/dist/chunks/chunk-TJLFDHHA.js +0 -385
- package/dist/chunks/chunk-TJZ7YTVY.js +0 -163
- package/dist/chunks/chunk-TK5X5V5J.js +0 -153
- package/dist/chunks/chunk-TKHHYMDT.js +0 -33
- package/dist/chunks/chunk-TMVIFSLP.js +0 -170
- package/dist/chunks/chunk-TNDXY5HB.js +0 -130
- package/dist/chunks/chunk-TNLWQTFL.js +0 -301
- package/dist/chunks/chunk-TNQS5QGL.js +0 -23
- package/dist/chunks/chunk-TPKG2KZC.js +0 -131
- package/dist/chunks/chunk-TRCZKOC7.js +0 -265
- package/dist/chunks/chunk-TRDHPTQL.js +0 -84
- package/dist/chunks/chunk-TTHPGBB3.js +0 -151
- package/dist/chunks/chunk-TTY4K4AK.js +0 -149
- package/dist/chunks/chunk-TV4GTCQI.js +0 -447
- package/dist/chunks/chunk-TVAYY5OK.js +0 -468
- package/dist/chunks/chunk-TWRVNDIV.js +0 -23
- package/dist/chunks/chunk-TZ7OMTU3.js +0 -55
- package/dist/chunks/chunk-U2GSCZOB.js +0 -252
- package/dist/chunks/chunk-U36ZOXPO.js +0 -196
- package/dist/chunks/chunk-U4GXUPLG.js +0 -201
- package/dist/chunks/chunk-U6ZLGMPE.js +0 -197
- package/dist/chunks/chunk-U7DA4Y5M.js +0 -360
- package/dist/chunks/chunk-U7S55TML.js +0 -317
- package/dist/chunks/chunk-UBPVVAGF.js +0 -111
- package/dist/chunks/chunk-UBTS2U2L.js +0 -120
- package/dist/chunks/chunk-UF4VB6MB.js +0 -121
- package/dist/chunks/chunk-UFC65KPA.js +0 -90
- package/dist/chunks/chunk-UFHSNUL6.js +0 -120
- package/dist/chunks/chunk-UHHYFRCB.js +0 -117
- package/dist/chunks/chunk-UHWEM4IV.js +0 -33
- package/dist/chunks/chunk-UJMNROBW.js +0 -70
- package/dist/chunks/chunk-UKKAY4BA.js +0 -77
- package/dist/chunks/chunk-ULWS4NJ3.js +0 -23
- package/dist/chunks/chunk-UMBGVHUF.js +0 -218
- package/dist/chunks/chunk-UMMJ7VFT.js +0 -262
- package/dist/chunks/chunk-UMOT5QUN.js +0 -90
- package/dist/chunks/chunk-UNLZVVVW.js +0 -106
- package/dist/chunks/chunk-UNSX47DE.js +0 -250
- package/dist/chunks/chunk-UOQIT6VU.js +0 -162
- package/dist/chunks/chunk-UP4TZUPE.js +0 -291
- package/dist/chunks/chunk-UQUJ3GM6.js +0 -91
- package/dist/chunks/chunk-UTDIFLUK.js +0 -111
- package/dist/chunks/chunk-UUB47CTC.js +0 -116
- package/dist/chunks/chunk-UURYUO3X.js +0 -166
- package/dist/chunks/chunk-UV5INZQ6.js +0 -207
- package/dist/chunks/chunk-UVX34LWT.js +0 -244
- package/dist/chunks/chunk-UYCVGIPB.js +0 -23
- package/dist/chunks/chunk-UYLJ4XFJ.js +0 -147
- package/dist/chunks/chunk-UZDAEVOA.js +0 -94
- package/dist/chunks/chunk-V3MZTUG5.js +0 -146
- package/dist/chunks/chunk-V4RR67VA.js +0 -173
- package/dist/chunks/chunk-V65JXYBH.js +0 -242
- package/dist/chunks/chunk-V6G66NE2.js +0 -169
- package/dist/chunks/chunk-VAFBC4KJ.js +0 -80
- package/dist/chunks/chunk-VAUU4RBA.js +0 -272
- package/dist/chunks/chunk-VD2RPGRK.js +0 -104
- package/dist/chunks/chunk-VDJTFTK5.js +0 -277
- package/dist/chunks/chunk-VEOEQE3F.js +0 -101
- package/dist/chunks/chunk-VFSLKXGK.js +0 -117
- package/dist/chunks/chunk-VGDG34LF.js +0 -87
- package/dist/chunks/chunk-VH7ZLTSJ.js +0 -106
- package/dist/chunks/chunk-VINT5NPW.js +0 -106
- package/dist/chunks/chunk-VKAER3BH.js +0 -173
- package/dist/chunks/chunk-VKUQY56U.js +0 -130
- package/dist/chunks/chunk-VLXXAYX5.js +0 -152
- package/dist/chunks/chunk-VMWHFZWJ.js +0 -23
- package/dist/chunks/chunk-VOLMR2G4.js +0 -544
- package/dist/chunks/chunk-VOVTCCGC.js +0 -92
- package/dist/chunks/chunk-VPR5S5EC.js +0 -122
- package/dist/chunks/chunk-VPZ6GAE3.js +0 -112
- package/dist/chunks/chunk-VRCNE6CW.js +0 -454
- package/dist/chunks/chunk-VRXUVKYW.js +0 -41
- package/dist/chunks/chunk-VTVGJ64V.js +0 -23
- package/dist/chunks/chunk-VU6HR73Q.js +0 -60
- package/dist/chunks/chunk-VUEVDLXG.js +0 -368
- package/dist/chunks/chunk-VVCAWQGW.js +0 -277
- package/dist/chunks/chunk-VVNUCUJC.js +0 -152
- package/dist/chunks/chunk-VVYSTGYE.js +0 -88
- package/dist/chunks/chunk-VWBNHNP6.js +0 -30
- package/dist/chunks/chunk-VXU7YDDR.js +0 -33
- package/dist/chunks/chunk-VYY4DVU7.js +0 -122
- package/dist/chunks/chunk-VZXUJ7I3.js +0 -399
- package/dist/chunks/chunk-W34UY22G.js +0 -113
- package/dist/chunks/chunk-W3WBOUN4.js +0 -153
- package/dist/chunks/chunk-W4UGAY47.js +0 -23
- package/dist/chunks/chunk-W5IGDRKB.js +0 -181
- package/dist/chunks/chunk-W65PZBQS.js +0 -81
- package/dist/chunks/chunk-W7HQG4RP.js +0 -220
- package/dist/chunks/chunk-WCNRSB6K.js +0 -304
- package/dist/chunks/chunk-WD34USYO.js +0 -177
- package/dist/chunks/chunk-WDUOFIHK.js +0 -173
- package/dist/chunks/chunk-WEEYHEJM.js +0 -53
- package/dist/chunks/chunk-WESBPUQN.js +0 -282
- package/dist/chunks/chunk-WFU5L7NO.js +0 -189
- package/dist/chunks/chunk-WFYOVWCX.js +0 -84
- package/dist/chunks/chunk-WFZ6YNBP.js +0 -49
- package/dist/chunks/chunk-WGSVP2W3.js +0 -366
- package/dist/chunks/chunk-WHADW6RQ.js +0 -270
- package/dist/chunks/chunk-WI5KRJVL.js +0 -166
- package/dist/chunks/chunk-WI5RVY56.js +0 -118
- package/dist/chunks/chunk-WIC52UQS.js +0 -386
- package/dist/chunks/chunk-WIZNJYYG.js +0 -93
- package/dist/chunks/chunk-WJNURHR6.js +0 -98
- package/dist/chunks/chunk-WKU3D465.js +0 -85
- package/dist/chunks/chunk-WKZC4RW6.js +0 -83
- package/dist/chunks/chunk-WLR2IGC4.js +0 -138
- package/dist/chunks/chunk-WM2EVF75.js +0 -424
- package/dist/chunks/chunk-WNFU2I5K.js +0 -90
- package/dist/chunks/chunk-WOTQ366S.js +0 -270
- package/dist/chunks/chunk-WR4LJXL5.js +0 -126
- package/dist/chunks/chunk-WU4ZS537.js +0 -41
- package/dist/chunks/chunk-WVHANZNC.js +0 -104
- package/dist/chunks/chunk-WVJOAYH2.js +0 -153
- package/dist/chunks/chunk-WXTZJEA7.js +0 -82
- package/dist/chunks/chunk-WY2NIL43.js +0 -140
- package/dist/chunks/chunk-WYDHA4UD.js +0 -94
- package/dist/chunks/chunk-X467TIID.js +0 -23
- package/dist/chunks/chunk-X4PLHFUJ.js +0 -331
- package/dist/chunks/chunk-X4TDBJOB.js +0 -589
- package/dist/chunks/chunk-X57UKPKV.js +0 -65
- package/dist/chunks/chunk-X75TWBNH.js +0 -209
- package/dist/chunks/chunk-X7AV7DE5.js +0 -102
- package/dist/chunks/chunk-XGTHBBQ5.js +0 -23
- package/dist/chunks/chunk-XH4MGJCD.js +0 -351
- package/dist/chunks/chunk-XI6N5WVN.js +0 -366
- package/dist/chunks/chunk-XJAI237T.js +0 -192
- package/dist/chunks/chunk-XL6XMBAF.js +0 -137
- package/dist/chunks/chunk-XLEXCDFI.js +0 -283
- package/dist/chunks/chunk-XM22WQGM.js +0 -234
- package/dist/chunks/chunk-XQ5QFNFS.js +0 -118
- package/dist/chunks/chunk-XSHDNK44.js +0 -251
- package/dist/chunks/chunk-XTOZGNMV.js +0 -89
- package/dist/chunks/chunk-XTTFKKPD.js +0 -100
- package/dist/chunks/chunk-XU3MEDHO.js +0 -151
- package/dist/chunks/chunk-XUTW6JIP.js +0 -567
- package/dist/chunks/chunk-XUVC7244.js +0 -133
- package/dist/chunks/chunk-XVV7YBO3.js +0 -33
- package/dist/chunks/chunk-XW5SYA6R.js +0 -77
- package/dist/chunks/chunk-XWIU7GHW.js +0 -200
- package/dist/chunks/chunk-XWJDDXRL.js +0 -425
- package/dist/chunks/chunk-XXO6LNB4.js +0 -724
- package/dist/chunks/chunk-XZQ56RC7.js +0 -92
- package/dist/chunks/chunk-Y2UNTKXK.js +0 -497
- package/dist/chunks/chunk-Y6RVZJCS.js +0 -106
- package/dist/chunks/chunk-YAIUAWUG.js +0 -375
- package/dist/chunks/chunk-YC3K3XAD.js +0 -48
- package/dist/chunks/chunk-YCYUOZY7.js +0 -73
- package/dist/chunks/chunk-YDKUKILI.js +0 -738
- package/dist/chunks/chunk-YDPQMOEO.js +0 -118
- package/dist/chunks/chunk-YEE27IVE.js +0 -45
- package/dist/chunks/chunk-YEF7T4MD.js +0 -41
- package/dist/chunks/chunk-YEFVSGPS.js +0 -255
- package/dist/chunks/chunk-YFU3O6U2.js +0 -362
- package/dist/chunks/chunk-YHMXQR2B.js +0 -112
- package/dist/chunks/chunk-YIOSEIYM.js +0 -122
- package/dist/chunks/chunk-YIVZ4XDO.js +0 -52
- package/dist/chunks/chunk-YJHLVTMQ.js +0 -146
- package/dist/chunks/chunk-YLMJ2K4I.js +0 -85
- package/dist/chunks/chunk-YNFIGZHN.js +0 -154
- package/dist/chunks/chunk-YQTRD7Y5.js +0 -146
- package/dist/chunks/chunk-YR3QZF7U.js +0 -180
- package/dist/chunks/chunk-YRGTEAJQ.js +0 -97
- package/dist/chunks/chunk-YRHHIUBJ.js +0 -163
- package/dist/chunks/chunk-YRIQMO2R.js +0 -23
- package/dist/chunks/chunk-YTAA2HMD.js +0 -180
- package/dist/chunks/chunk-YTKR6EMH.js +0 -33
- package/dist/chunks/chunk-YW6XG3XD.js +0 -390
- package/dist/chunks/chunk-YXDTTPZ3.js +0 -161
- package/dist/chunks/chunk-YYE72VYW.js +0 -122
- package/dist/chunks/chunk-YZ3SI4UN.js +0 -176
- package/dist/chunks/chunk-YZJG3SGJ.js +0 -71
- package/dist/chunks/chunk-YZLHRPBG.js +0 -147
- package/dist/chunks/chunk-YZYEKB3U.js +0 -262
- package/dist/chunks/chunk-Z2R77YQE.js +0 -77
- package/dist/chunks/chunk-Z3SSOER4.js +0 -23
- package/dist/chunks/chunk-Z46RJCV2.js +0 -361
- package/dist/chunks/chunk-Z47GRLL5.js +0 -337
- package/dist/chunks/chunk-Z4HJVARH.js +0 -293
- package/dist/chunks/chunk-Z4IS3XPZ.js +0 -366
- package/dist/chunks/chunk-Z54AOE6S.js +0 -226
- package/dist/chunks/chunk-Z5K6O46T.js +0 -209
- package/dist/chunks/chunk-Z5NDQ5AW.js +0 -212
- package/dist/chunks/chunk-Z6IAJAAG.js +0 -141
- package/dist/chunks/chunk-Z7HYQAX3.js +0 -199
- package/dist/chunks/chunk-Z7PCXXDC.js +0 -77
- package/dist/chunks/chunk-ZAERUVAY.js +0 -330
- package/dist/chunks/chunk-ZEFZOR4U.js +0 -81
- package/dist/chunks/chunk-ZFHLWJ3L.js +0 -336
- package/dist/chunks/chunk-ZICC242I.js +0 -198
- package/dist/chunks/chunk-ZIW5IBFH.js +0 -273
- package/dist/chunks/chunk-ZJ2FGMT5.js +0 -72
- package/dist/chunks/chunk-ZK4KI6D6.js +0 -84
- package/dist/chunks/chunk-ZLANWD7Q.js +0 -96
- package/dist/chunks/chunk-ZLWSBKNL.js +0 -213
- package/dist/chunks/chunk-ZNZGYRZF.js +0 -112
- package/dist/chunks/chunk-ZPJJRVO7.js +0 -139
- package/dist/chunks/chunk-ZRWR6KMS.js +0 -110
- package/dist/chunks/chunk-ZSVSE4OH.js +0 -94
- package/dist/chunks/chunk-ZW3CRGGP.js +0 -480
- package/dist/chunks/chunk-ZWBT6Z3U.js +0 -105
- package/dist/chunks/chunk-ZWCCP7DD.js +0 -130
- package/dist/chunks/chunk-ZWW4ZFR4.js +0 -86
- package/dist/chunks/chunk-ZXI4ER3N.js +0 -378
- package/dist/chunks/chunk-ZXNTWU3C.js +0 -110
- package/dist/chunks/chunk-ZXRWLITA.js +0 -136
- package/dist/chunks/chunk-ZY5GZ62R.js +0 -1649
- package/dist/chunks/client-MOO7IGZ6.js +0 -167
- package/dist/chunks/client-SWXYPEDK.js +0 -44
- package/dist/chunks/client-WXBIOGYW.js +0 -31
- package/dist/chunks/client-actions-RHRGC34H.js +0 -160
- package/dist/chunks/client-store-2D2WRTDU.js +0 -33
- package/dist/chunks/components-QN4KICDK.js +0 -72
- package/dist/chunks/dangerous-F7KGQZTV.js +0 -117
- package/dist/chunks/document-library-UFXA56DX.js +0 -62
- package/dist/chunks/editor-seams-2UQD56JL.js +0 -161
- package/dist/chunks/editor-store-WCFA4U5F.js +0 -139
- package/dist/chunks/export-3YOXRU26.js +0 -67
- package/dist/chunks/export-fills-M5VA4QAW.js +0 -35
- package/dist/chunks/export-watermark-PC7GSP5N.js +0 -146
- package/dist/chunks/eyedropper-CMB4MTGP.js +0 -349
- package/dist/chunks/generate-media-D2FBM5Z5.js +0 -253
- package/dist/chunks/headless-N3X2VQUB.js +0 -186
- package/dist/chunks/host-JDHO26XW.js +0 -171
- package/dist/chunks/host-NYOT4LXC.js +0 -240
- package/dist/chunks/import-M2W44TN5.js +0 -702
- package/dist/chunks/import-merge-AW6RFXUO.js +0 -39
- package/dist/chunks/instances-ZEYTDEDA.js +0 -79
- package/dist/chunks/integrations-SP4QP44M.js +0 -115
- package/dist/chunks/invariants-ODDO54MP.js +0 -62
- package/dist/chunks/kit-modules-4G7HZTNR.js +0 -18
- package/dist/chunks/libraries-TNFJCE5C.js +0 -302
- package/dist/chunks/library-previews-TS4WAI74.js +0 -199
- package/dist/chunks/live-REYFJWAW.js +0 -312
- package/dist/chunks/lottie-TLPZMSIZ.js +0 -86
- package/dist/chunks/media-tool-SA6MQR42.js +0 -332
- package/dist/chunks/new-file-6AFBVD6L.js +0 -129
- package/dist/chunks/next-commerce-2DW6ZDTH.js +0 -67
- package/dist/chunks/page-thumbnails-YJRTGVKR.js +0 -137
- package/dist/chunks/pdf-CF6JMIV2.js +0 -1217
- package/dist/chunks/pdf-import-ZCAE5VK6.js +0 -370
- package/dist/chunks/plan-IA6RYVNS.js +0 -82
- package/dist/chunks/player-check-AHJLRSBL.js +0 -114
- package/dist/chunks/plugin-4TU7PYQV.js +0 -124
- package/dist/chunks/plugin-import-4A2GFFO3.js +0 -666
- package/dist/chunks/pptx-DRRID44E.js +0 -309
- package/dist/chunks/presence-JB3PJRWA.js +0 -127
- package/dist/chunks/preview-media-FFS3TGQM.js +0 -122
- package/dist/chunks/project-IOUZAAQD.js +0 -1653
- package/dist/chunks/publish-site-MO3MZZVD.js +0 -158
- package/dist/chunks/publish-store-7KAOXLHP.js +0 -93
- package/dist/chunks/raster-actions-W7NF4QLJ.js +0 -229
- package/dist/chunks/reference-images-DMMV5XSO.js +0 -62
- package/dist/chunks/resolvers-SRJGSQJZ.js +0 -139
- package/dist/chunks/review-kits-PXPIGQFQ.js +0 -41
- package/dist/chunks/runner-3JRWKPMV.js +0 -1233
- package/dist/chunks/runtime-EVNW5B3V.js +0 -32
- package/dist/chunks/shader-preview-I4Z3GFL5.js +0 -518
- package/dist/chunks/sites-3OU4KJJS.js +0 -33
- package/dist/chunks/store-SAR5BBF2.js +0 -224
- package/dist/chunks/storefront-ZNLMTVQI.js +0 -329
- package/dist/chunks/storefront-prepare-4OJ35K3D.js +0 -33
- package/dist/chunks/stress-document-G2LZQPFP.js +0 -126
- package/dist/chunks/svg-export-6TUZDVS7.js +0 -81
- package/dist/chunks/svg-place-7ZK6ILTR.js +0 -39
- package/dist/chunks/sync-P3LWCIXQ.js +0 -153
- package/dist/chunks/tabs-YQAMRBFU.js +0 -311
- package/dist/chunks/team-EQ7QJMJO.js +0 -44
- package/dist/chunks/team-client-MNMJFW2G.js +0 -157
- package/dist/chunks/templates-NZKWF5GO.js +0 -181
- package/dist/chunks/tools-DJK5KZ5Z.js +0 -35
- package/dist/chunks/tree-PX7TGPQT.js +0 -72
- package/dist/chunks/ui-commands-PRCU7LNG.js +0 -269
- package/dist/chunks/use-3KVKA6DL.js +0 -45
- package/dist/chunks/versions-NSZ3LJS7.js +0 -311
- package/dist/chunks/video-WWABDE4Z.js +0 -75
- package/dist/chunks/web-OJJY6EQJ.js +0 -172
- /package/dist/chunks/{chunk-5RYYTRAQ.js → chunk-HENTV2KD.js} +0 -0
- /package/dist/chunks/{chunk-RTABFPWU.js → chunk-IUK367P7.js} +0 -0
- /package/dist/chunks/{chunk-GOTHCM23.js → chunk-JIZTNKHY.js} +0 -0
|
@@ -0,0 +1,2662 @@
|
|
|
1
|
+
import { createRequire as __popcraftRequire } from 'node:module';
|
|
2
|
+
import { fileURLToPath as __popcraftPath } from 'node:url';
|
|
3
|
+
import { dirname as __popcraftDirname } from 'node:path';
|
|
4
|
+
const require = __popcraftRequire(import.meta.url);
|
|
5
|
+
const __filename = __popcraftPath(import.meta.url);
|
|
6
|
+
const __dirname = __popcraftDirname(__filename);
|
|
7
|
+
import {
|
|
8
|
+
init_palettes,
|
|
9
|
+
presetPalette
|
|
10
|
+
} from "./chunk-N7XUSTLZ.js";
|
|
11
|
+
import {
|
|
12
|
+
init_page_presets,
|
|
13
|
+
kindForCategory,
|
|
14
|
+
presetById,
|
|
15
|
+
presetPx
|
|
16
|
+
} from "./chunk-XBVMM6ZD.js";
|
|
17
|
+
import {
|
|
18
|
+
encodeCels,
|
|
19
|
+
init_cells
|
|
20
|
+
} from "./chunk-2LYY4KTS.js";
|
|
21
|
+
import {
|
|
22
|
+
init_instance_layout,
|
|
23
|
+
instanceChildBox,
|
|
24
|
+
setSceneApi
|
|
25
|
+
} from "./chunk-SMR77HUB.js";
|
|
26
|
+
import {
|
|
27
|
+
effectiveComponentProperties,
|
|
28
|
+
init_instances,
|
|
29
|
+
withPropertyPaths
|
|
30
|
+
} from "./chunk-2YBOCBPA.js";
|
|
31
|
+
import {
|
|
32
|
+
init_variables,
|
|
33
|
+
resolveNodeVariables
|
|
34
|
+
} from "./chunk-FREAHUVP.js";
|
|
35
|
+
import {
|
|
36
|
+
blursOf,
|
|
37
|
+
init_effects,
|
|
38
|
+
shadowsOf
|
|
39
|
+
} from "./chunk-4VICNBUI.js";
|
|
40
|
+
import {
|
|
41
|
+
init_layout_access,
|
|
42
|
+
readCachedTextLayout
|
|
43
|
+
} from "./chunk-IPETYEVH.js";
|
|
44
|
+
import {
|
|
45
|
+
init_scene3d,
|
|
46
|
+
scene3dOf,
|
|
47
|
+
sceneLayers,
|
|
48
|
+
setVirtualResolver
|
|
49
|
+
} from "./chunk-NMFXCSU4.js";
|
|
50
|
+
import {
|
|
51
|
+
fromAffine,
|
|
52
|
+
init_transform3d,
|
|
53
|
+
mul4,
|
|
54
|
+
projectRect,
|
|
55
|
+
sceneFrame
|
|
56
|
+
} from "./chunk-CK43FENV.js";
|
|
57
|
+
import {
|
|
58
|
+
IDENTITY,
|
|
59
|
+
aabbOf,
|
|
60
|
+
apply,
|
|
61
|
+
decompose,
|
|
62
|
+
determinant,
|
|
63
|
+
init_transform,
|
|
64
|
+
invert,
|
|
65
|
+
lengthScale,
|
|
66
|
+
localCentre,
|
|
67
|
+
localMatrix,
|
|
68
|
+
multiply,
|
|
69
|
+
nearestAngle,
|
|
70
|
+
nodeFlips,
|
|
71
|
+
restValue,
|
|
72
|
+
withoutFlips
|
|
73
|
+
} from "./chunk-X53QDCNX.js";
|
|
74
|
+
import {
|
|
75
|
+
init_dist_node,
|
|
76
|
+
v4_default
|
|
77
|
+
} from "./chunk-VBAS5IB5.js";
|
|
78
|
+
import {
|
|
79
|
+
createColor,
|
|
80
|
+
createDefaultSceneNodeProps,
|
|
81
|
+
createSolidPaint,
|
|
82
|
+
init_types
|
|
83
|
+
} from "./chunk-CZXJDKOJ.js";
|
|
84
|
+
import {
|
|
85
|
+
init_define_POPCRAFT_COMPONENT_IDS
|
|
86
|
+
} from "./chunk-FFS4SO7R.js";
|
|
87
|
+
import {
|
|
88
|
+
__esm,
|
|
89
|
+
__export,
|
|
90
|
+
__toCommonJS
|
|
91
|
+
} from "./chunk-LJSVREWM.js";
|
|
92
|
+
|
|
93
|
+
// lib/engine/routing.ts
|
|
94
|
+
function calculateOrthogonalPath(options) {
|
|
95
|
+
const { startPos, endPos, startDir, endDir, minSegmentLength = 20, obstacles, obstaclePadding = 14 } = options;
|
|
96
|
+
if (obstacles && obstacles.length > 0) {
|
|
97
|
+
const routed = routeAroundObstacles(startPos, endPos, startDir, endDir, obstacles, obstaclePadding, minSegmentLength);
|
|
98
|
+
if (routed) return routed;
|
|
99
|
+
}
|
|
100
|
+
const p1 = getPointAtDistance(startPos, startDir, minSegmentLength);
|
|
101
|
+
const p2 = getPointAtDistance(endPos, endDir, minSegmentLength);
|
|
102
|
+
const pts = [startPos, p1];
|
|
103
|
+
const isHoriz = (dir) => dir === "LEFT" || dir === "RIGHT" || dir === "CENTER";
|
|
104
|
+
if (isHoriz(startDir) && isHoriz(endDir)) {
|
|
105
|
+
const midX = (p1.x + p2.x) / 2;
|
|
106
|
+
pts.push({ x: midX, y: p1.y });
|
|
107
|
+
pts.push({ x: midX, y: p2.y });
|
|
108
|
+
} else if (!isHoriz(startDir) && !isHoriz(endDir)) {
|
|
109
|
+
const midY = (p1.y + p2.y) / 2;
|
|
110
|
+
pts.push({ x: p1.x, y: midY });
|
|
111
|
+
pts.push({ x: p2.x, y: midY });
|
|
112
|
+
} else if (isHoriz(startDir) && !isHoriz(endDir)) {
|
|
113
|
+
pts.push({ x: p2.x, y: p1.y });
|
|
114
|
+
} else {
|
|
115
|
+
pts.push({ x: p1.x, y: p2.y });
|
|
116
|
+
}
|
|
117
|
+
pts.push(p2);
|
|
118
|
+
pts.push(endPos);
|
|
119
|
+
return dedupe(pts);
|
|
120
|
+
}
|
|
121
|
+
function getPointAtDistance(pos, dir, dist) {
|
|
122
|
+
switch (dir) {
|
|
123
|
+
case "TOP":
|
|
124
|
+
return { x: pos.x, y: pos.y - dist };
|
|
125
|
+
case "BOTTOM":
|
|
126
|
+
return { x: pos.x, y: pos.y + dist };
|
|
127
|
+
case "LEFT":
|
|
128
|
+
return { x: pos.x - dist, y: pos.y };
|
|
129
|
+
case "RIGHT":
|
|
130
|
+
return { x: pos.x + dist, y: pos.y };
|
|
131
|
+
case "CENTER":
|
|
132
|
+
return { ...pos };
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
function dedupe(pts) {
|
|
136
|
+
const out = [];
|
|
137
|
+
for (let i = 0; i < pts.length; i++) {
|
|
138
|
+
if (i === 0 || Math.abs(pts[i].x - pts[i - 1].x) > 0.1 || Math.abs(pts[i].y - pts[i - 1].y) > 0.1) {
|
|
139
|
+
out.push(pts[i]);
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
return out;
|
|
143
|
+
}
|
|
144
|
+
function inflate(r, p) {
|
|
145
|
+
return { x: r.x - p, y: r.y - p, w: r.w + 2 * p, h: r.h + 2 * p };
|
|
146
|
+
}
|
|
147
|
+
function segmentBlocked(ax, ay, bx, by, rects) {
|
|
148
|
+
const EPS = 0.01;
|
|
149
|
+
if (Math.abs(ay - by) < EPS) {
|
|
150
|
+
const y = ay;
|
|
151
|
+
const lo = Math.min(ax, bx), hi = Math.max(ax, bx);
|
|
152
|
+
for (const r of rects) {
|
|
153
|
+
const top = r.y, bot = r.y + r.h, left = r.x, right = r.x + r.w;
|
|
154
|
+
if (y > top + EPS && y < bot - EPS && hi > left + EPS && lo < right - EPS) return true;
|
|
155
|
+
}
|
|
156
|
+
} else {
|
|
157
|
+
const x = ax;
|
|
158
|
+
const lo = Math.min(ay, by), hi = Math.max(ay, by);
|
|
159
|
+
for (const r of rects) {
|
|
160
|
+
const top = r.y, bot = r.y + r.h, left = r.x, right = r.x + r.w;
|
|
161
|
+
if (x > left + EPS && x < right - EPS && hi > top + EPS && lo < bot - EPS) return true;
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
return false;
|
|
165
|
+
}
|
|
166
|
+
function pointInsideAny(x, y, rects) {
|
|
167
|
+
const EPS = 0.01;
|
|
168
|
+
for (const r of rects) {
|
|
169
|
+
if (x > r.x + EPS && x < r.x + r.w - EPS && y > r.y + EPS && y < r.y + r.h - EPS) return true;
|
|
170
|
+
}
|
|
171
|
+
return false;
|
|
172
|
+
}
|
|
173
|
+
function uniqSorted(vals) {
|
|
174
|
+
const s = vals.slice().sort((a, b) => a - b);
|
|
175
|
+
const out = [];
|
|
176
|
+
for (const v of s) if (out.length === 0 || Math.abs(v - out[out.length - 1]) > 0.5) out.push(v);
|
|
177
|
+
return out;
|
|
178
|
+
}
|
|
179
|
+
function routeAroundObstacles(start, end, startDir, endDir, obstacles, padding, stub) {
|
|
180
|
+
const infl = obstacles.map((o) => inflate(o, padding));
|
|
181
|
+
const s1 = getPointAtDistance(start, startDir, stub);
|
|
182
|
+
const e1 = getPointAtDistance(end, endDir, stub);
|
|
183
|
+
let minX = Math.min(s1.x, e1.x), maxX = Math.max(s1.x, e1.x);
|
|
184
|
+
let minY = Math.min(s1.y, e1.y), maxY = Math.max(s1.y, e1.y);
|
|
185
|
+
for (const r of infl) {
|
|
186
|
+
minX = Math.min(minX, r.x);
|
|
187
|
+
maxX = Math.max(maxX, r.x + r.w);
|
|
188
|
+
minY = Math.min(minY, r.y);
|
|
189
|
+
maxY = Math.max(maxY, r.y + r.h);
|
|
190
|
+
}
|
|
191
|
+
const ring = padding + stub;
|
|
192
|
+
const xsRaw = [s1.x, e1.x, minX - ring, maxX + ring];
|
|
193
|
+
const ysRaw = [s1.y, e1.y, minY - ring, maxY + ring];
|
|
194
|
+
for (const r of infl) {
|
|
195
|
+
xsRaw.push(r.x, r.x + r.w);
|
|
196
|
+
ysRaw.push(r.y, r.y + r.h);
|
|
197
|
+
}
|
|
198
|
+
const X = uniqSorted(xsRaw);
|
|
199
|
+
const Y = uniqSorted(ysRaw);
|
|
200
|
+
if (X.length * Y.length > 4e3) return null;
|
|
201
|
+
const ix = (v) => X.findIndex((x) => Math.abs(x - v) < 0.5);
|
|
202
|
+
const iy = (v) => Y.findIndex((y) => Math.abs(y - v) < 0.5);
|
|
203
|
+
const si = ix(s1.x), sj = iy(s1.y), ti = ix(e1.x), tj = iy(e1.y);
|
|
204
|
+
if (si < 0 || sj < 0 || ti < 0 || tj < 0) return null;
|
|
205
|
+
if (pointInsideAny(s1.x, s1.y, infl) || pointInsideAny(e1.x, e1.y, infl)) return null;
|
|
206
|
+
const W = X.length, H = Y.length;
|
|
207
|
+
const cell = (i, j) => j * W + i;
|
|
208
|
+
const N = W * H;
|
|
209
|
+
const TURN = stub * 1.5;
|
|
210
|
+
const startAxis = startDir === "CENTER" ? 0 : HORIZ(startDir) ? 1 : 2;
|
|
211
|
+
const g = new Float64Array(N * 3).fill(Infinity);
|
|
212
|
+
const cameFrom = new Int32Array(N * 3).fill(-1);
|
|
213
|
+
const heurTarget = { x: X[ti], y: Y[tj] };
|
|
214
|
+
const h = (i, j) => Math.abs(X[i] - heurTarget.x) + Math.abs(Y[j] - heurTarget.y);
|
|
215
|
+
const heap = [];
|
|
216
|
+
const fscore = [];
|
|
217
|
+
const push = (id, f) => {
|
|
218
|
+
heap.push(id);
|
|
219
|
+
fscore.push(f);
|
|
220
|
+
let c = heap.length - 1;
|
|
221
|
+
while (c > 0) {
|
|
222
|
+
const p = c - 1 >> 1;
|
|
223
|
+
if (fscore[p] <= fscore[c]) break;
|
|
224
|
+
[heap[p], heap[c]] = [heap[c], heap[p]];
|
|
225
|
+
[fscore[p], fscore[c]] = [fscore[c], fscore[p]];
|
|
226
|
+
c = p;
|
|
227
|
+
}
|
|
228
|
+
};
|
|
229
|
+
const pop = () => {
|
|
230
|
+
const top = heap[0];
|
|
231
|
+
const lastId = heap.pop();
|
|
232
|
+
const lastF = fscore.pop();
|
|
233
|
+
if (heap.length > 0) {
|
|
234
|
+
heap[0] = lastId;
|
|
235
|
+
fscore[0] = lastF;
|
|
236
|
+
let c = 0;
|
|
237
|
+
for (; ; ) {
|
|
238
|
+
const l = 2 * c + 1, r = 2 * c + 2;
|
|
239
|
+
let m = c;
|
|
240
|
+
if (l < heap.length && fscore[l] < fscore[m]) m = l;
|
|
241
|
+
if (r < heap.length && fscore[r] < fscore[m]) m = r;
|
|
242
|
+
if (m === c) break;
|
|
243
|
+
[heap[m], heap[c]] = [heap[c], heap[m]];
|
|
244
|
+
[fscore[m], fscore[c]] = [fscore[c], fscore[m]];
|
|
245
|
+
c = m;
|
|
246
|
+
}
|
|
247
|
+
}
|
|
248
|
+
return top;
|
|
249
|
+
};
|
|
250
|
+
const startState = cell(si, sj) * 3 + startAxis;
|
|
251
|
+
g[startState] = 0;
|
|
252
|
+
push(startState, h(si, sj));
|
|
253
|
+
const targetCell = cell(ti, tj);
|
|
254
|
+
let endState = -1;
|
|
255
|
+
while (heap.length > 0) {
|
|
256
|
+
const state = pop();
|
|
257
|
+
const c = Math.floor(state / 3);
|
|
258
|
+
const axis = state % 3;
|
|
259
|
+
if (c === targetCell) {
|
|
260
|
+
endState = state;
|
|
261
|
+
break;
|
|
262
|
+
}
|
|
263
|
+
const i = c % W, j = Math.floor(c / W);
|
|
264
|
+
const gc = g[state];
|
|
265
|
+
const moves = [
|
|
266
|
+
{ ni: i - 1, nj: j, ax: 1 },
|
|
267
|
+
{ ni: i + 1, nj: j, ax: 1 },
|
|
268
|
+
{ ni: i, nj: j - 1, ax: 2 },
|
|
269
|
+
{ ni: i, nj: j + 1, ax: 2 }
|
|
270
|
+
];
|
|
271
|
+
for (const mv of moves) {
|
|
272
|
+
if (mv.ni < 0 || mv.ni >= W || mv.nj < 0 || mv.nj >= H) continue;
|
|
273
|
+
if (segmentBlocked(X[i], Y[j], X[mv.ni], Y[mv.nj], infl)) continue;
|
|
274
|
+
const len = Math.abs(X[mv.ni] - X[i]) + Math.abs(Y[mv.nj] - Y[j]);
|
|
275
|
+
const turn = axis !== 0 && axis !== mv.ax ? TURN : 0;
|
|
276
|
+
const ns = cell(mv.ni, mv.nj) * 3 + mv.ax;
|
|
277
|
+
const ng = gc + len + turn;
|
|
278
|
+
if (ng < g[ns]) {
|
|
279
|
+
g[ns] = ng;
|
|
280
|
+
cameFrom[ns] = state;
|
|
281
|
+
push(ns, ng + h(mv.ni, mv.nj));
|
|
282
|
+
}
|
|
283
|
+
}
|
|
284
|
+
}
|
|
285
|
+
if (endState < 0) return null;
|
|
286
|
+
const way = [];
|
|
287
|
+
let s = endState;
|
|
288
|
+
while (s >= 0) {
|
|
289
|
+
const c = Math.floor(s / 3);
|
|
290
|
+
way.push({ x: X[c % W], y: Y[Math.floor(c / W)] });
|
|
291
|
+
s = cameFrom[s];
|
|
292
|
+
}
|
|
293
|
+
way.reverse();
|
|
294
|
+
return dedupe([start, ...way, end]);
|
|
295
|
+
}
|
|
296
|
+
function trimPolyline(pts, startTrim, endTrim) {
|
|
297
|
+
if (pts.length < 2) return null;
|
|
298
|
+
if (startTrim <= 0 && endTrim <= 0) return pts;
|
|
299
|
+
const n = pts.length;
|
|
300
|
+
const cum = new Array(n);
|
|
301
|
+
cum[0] = 0;
|
|
302
|
+
for (let i = 1; i < n; i++) {
|
|
303
|
+
cum[i] = cum[i - 1] + Math.hypot(pts[i].x - pts[i - 1].x, pts[i].y - pts[i - 1].y);
|
|
304
|
+
}
|
|
305
|
+
const total = cum[n - 1];
|
|
306
|
+
const s0 = Math.max(0, startTrim);
|
|
307
|
+
const s1 = total - Math.max(0, endTrim);
|
|
308
|
+
const EPS = 1e-3;
|
|
309
|
+
if (s1 - s0 < EPS) return null;
|
|
310
|
+
const pointAt = (s) => {
|
|
311
|
+
let i = 1;
|
|
312
|
+
while (i < n - 1 && cum[i] <= s) i++;
|
|
313
|
+
const segLen = cum[i] - cum[i - 1];
|
|
314
|
+
const t = segLen > 1e-6 ? (s - cum[i - 1]) / segLen : 0;
|
|
315
|
+
return {
|
|
316
|
+
x: pts[i - 1].x + (pts[i].x - pts[i - 1].x) * t,
|
|
317
|
+
y: pts[i - 1].y + (pts[i].y - pts[i - 1].y) * t
|
|
318
|
+
};
|
|
319
|
+
};
|
|
320
|
+
const out = [pointAt(s0)];
|
|
321
|
+
for (let i = 1; i < n - 1; i++) {
|
|
322
|
+
if (cum[i] > s0 + EPS && cum[i] < s1 - EPS) out.push(pts[i]);
|
|
323
|
+
}
|
|
324
|
+
out.push(pointAt(s1));
|
|
325
|
+
return out;
|
|
326
|
+
}
|
|
327
|
+
function calculateBezierPath(options, steps = 30) {
|
|
328
|
+
const { startPos, endPos, startDir, endDir } = options;
|
|
329
|
+
const dx = endPos.x - startPos.x;
|
|
330
|
+
const dy = endPos.y - startPos.y;
|
|
331
|
+
const dist = Math.max(Math.hypot(dx, dy) * 0.4, 40);
|
|
332
|
+
const actualDist = Math.hypot(dx, dy);
|
|
333
|
+
const numSteps = Math.max(30, Math.min(150, Math.floor(actualDist / 3)));
|
|
334
|
+
let cp1 = getPointAtDistance(startPos, startDir, dist);
|
|
335
|
+
let cp2 = getPointAtDistance(endPos, endDir, dist);
|
|
336
|
+
if (startDir === "CENTER") cp1 = { x: startPos.x + dx * 0.25, y: startPos.y + dy * 0.25 };
|
|
337
|
+
if (endDir === "CENTER") cp2 = { x: endPos.x - dx * 0.25, y: endPos.y - dy * 0.25 };
|
|
338
|
+
const pts = [];
|
|
339
|
+
for (let i = 0; i <= numSteps; i++) {
|
|
340
|
+
const t = i / numSteps;
|
|
341
|
+
const u = 1 - t;
|
|
342
|
+
const tt = t * t;
|
|
343
|
+
const uu = u * u;
|
|
344
|
+
const uuu = uu * u;
|
|
345
|
+
const ttt = tt * t;
|
|
346
|
+
const pX = uuu * startPos.x + 3 * uu * t * cp1.x + 3 * u * tt * cp2.x + ttt * endPos.x;
|
|
347
|
+
const pY = uuu * startPos.y + 3 * uu * t * cp1.y + 3 * u * tt * cp2.y + ttt * endPos.y;
|
|
348
|
+
pts.push({ x: pX, y: pY });
|
|
349
|
+
}
|
|
350
|
+
return dedupe(pts);
|
|
351
|
+
}
|
|
352
|
+
var HORIZ;
|
|
353
|
+
var init_routing = __esm({
|
|
354
|
+
"lib/engine/routing.ts"() {
|
|
355
|
+
"use strict";
|
|
356
|
+
init_define_POPCRAFT_COMPONENT_IDS();
|
|
357
|
+
HORIZ = (d) => d === "LEFT" || d === "RIGHT" || d === "CENTER";
|
|
358
|
+
}
|
|
359
|
+
});
|
|
360
|
+
|
|
361
|
+
// lib/engine/geometry/flatten.ts
|
|
362
|
+
function flattenQuadratic(x1, y1, cx, cy, x2, y2, points, tolerance) {
|
|
363
|
+
const dx = x2 - x1;
|
|
364
|
+
const dy = y2 - y1;
|
|
365
|
+
const d = Math.abs(dy * cx - dx * cy + x2 * y1 - y2 * x1);
|
|
366
|
+
const len = Math.sqrt(dx * dx + dy * dy);
|
|
367
|
+
if (len > 0 && d / len <= tolerance) {
|
|
368
|
+
points.push(x2, y2);
|
|
369
|
+
return;
|
|
370
|
+
}
|
|
371
|
+
const x12 = (x1 + cx) / 2;
|
|
372
|
+
const y12 = (y1 + cy) / 2;
|
|
373
|
+
const x23 = (cx + x2) / 2;
|
|
374
|
+
const y23 = (cy + y2) / 2;
|
|
375
|
+
const x123 = (x12 + x23) / 2;
|
|
376
|
+
const y123 = (y12 + y23) / 2;
|
|
377
|
+
flattenQuadratic(x1, y1, x12, y12, x123, y123, points, tolerance);
|
|
378
|
+
flattenQuadratic(x123, y123, x23, y23, x2, y2, points, tolerance);
|
|
379
|
+
}
|
|
380
|
+
function flattenCubic(x1, y1, c1x, c1y, c2x, c2y, x2, y2, points, tolerance) {
|
|
381
|
+
const dx = x2 - x1;
|
|
382
|
+
const dy = y2 - y1;
|
|
383
|
+
const d1 = Math.abs(dy * c1x - dx * c1y + x2 * y1 - y2 * x1);
|
|
384
|
+
const d2 = Math.abs(dy * c2x - dx * c2y + x2 * y1 - y2 * x1);
|
|
385
|
+
const len = Math.sqrt(dx * dx + dy * dy);
|
|
386
|
+
if (len > 0 && (d1 + d2) / len <= tolerance) {
|
|
387
|
+
points.push(x2, y2);
|
|
388
|
+
return;
|
|
389
|
+
}
|
|
390
|
+
const x12 = (x1 + c1x) / 2;
|
|
391
|
+
const y12 = (y1 + c1y) / 2;
|
|
392
|
+
const x23 = (c1x + c2x) / 2;
|
|
393
|
+
const y23 = (c1y + c2y) / 2;
|
|
394
|
+
const x34 = (c2x + x2) / 2;
|
|
395
|
+
const y34 = (c2y + y2) / 2;
|
|
396
|
+
const x123 = (x12 + x23) / 2;
|
|
397
|
+
const y123 = (y12 + y23) / 2;
|
|
398
|
+
const x234 = (x23 + x34) / 2;
|
|
399
|
+
const y234 = (y23 + y34) / 2;
|
|
400
|
+
const x1234 = (x123 + x234) / 2;
|
|
401
|
+
const y1234 = (y123 + y234) / 2;
|
|
402
|
+
flattenCubic(x1, y1, x12, y12, x123, y123, x1234, y1234, points, tolerance);
|
|
403
|
+
flattenCubic(x1234, y1234, x234, y234, x34, y34, x2, y2, points, tolerance);
|
|
404
|
+
}
|
|
405
|
+
function flattenPaths(paths, tolerance = DEFAULT_TOLERANCE) {
|
|
406
|
+
const result = [];
|
|
407
|
+
for (const path of paths) {
|
|
408
|
+
if (!path.points || path.points.length === 0) continue;
|
|
409
|
+
const flatPoints = [];
|
|
410
|
+
flatPoints.push(path.points[0].x, path.points[0].y);
|
|
411
|
+
for (let i = 1; i < path.points.length; i++) {
|
|
412
|
+
const prev = path.points[i - 1];
|
|
413
|
+
const curr = path.points[i];
|
|
414
|
+
if (prev.handleOut && curr.handleIn) {
|
|
415
|
+
flattenCubic(
|
|
416
|
+
prev.x,
|
|
417
|
+
prev.y,
|
|
418
|
+
prev.handleOut.x,
|
|
419
|
+
prev.handleOut.y,
|
|
420
|
+
curr.handleIn.x,
|
|
421
|
+
curr.handleIn.y,
|
|
422
|
+
curr.x,
|
|
423
|
+
curr.y,
|
|
424
|
+
flatPoints,
|
|
425
|
+
tolerance
|
|
426
|
+
);
|
|
427
|
+
} else if (prev.handleOut) {
|
|
428
|
+
flattenQuadratic(
|
|
429
|
+
prev.x,
|
|
430
|
+
prev.y,
|
|
431
|
+
prev.handleOut.x,
|
|
432
|
+
prev.handleOut.y,
|
|
433
|
+
curr.x,
|
|
434
|
+
curr.y,
|
|
435
|
+
flatPoints,
|
|
436
|
+
tolerance
|
|
437
|
+
);
|
|
438
|
+
} else if (curr.handleIn) {
|
|
439
|
+
flattenQuadratic(
|
|
440
|
+
prev.x,
|
|
441
|
+
prev.y,
|
|
442
|
+
curr.handleIn.x,
|
|
443
|
+
curr.handleIn.y,
|
|
444
|
+
curr.x,
|
|
445
|
+
curr.y,
|
|
446
|
+
flatPoints,
|
|
447
|
+
tolerance
|
|
448
|
+
);
|
|
449
|
+
} else {
|
|
450
|
+
flatPoints.push(curr.x, curr.y);
|
|
451
|
+
}
|
|
452
|
+
}
|
|
453
|
+
if (path.closed && path.points.length > 1) {
|
|
454
|
+
const curr = path.points[0];
|
|
455
|
+
const prev = path.points[path.points.length - 1];
|
|
456
|
+
if (prev.handleOut && curr.handleIn) {
|
|
457
|
+
flattenCubic(
|
|
458
|
+
prev.x,
|
|
459
|
+
prev.y,
|
|
460
|
+
prev.handleOut.x,
|
|
461
|
+
prev.handleOut.y,
|
|
462
|
+
curr.handleIn.x,
|
|
463
|
+
curr.handleIn.y,
|
|
464
|
+
curr.x,
|
|
465
|
+
curr.y,
|
|
466
|
+
flatPoints,
|
|
467
|
+
tolerance
|
|
468
|
+
);
|
|
469
|
+
} else if (prev.handleOut) {
|
|
470
|
+
flattenQuadratic(
|
|
471
|
+
prev.x,
|
|
472
|
+
prev.y,
|
|
473
|
+
prev.handleOut.x,
|
|
474
|
+
prev.handleOut.y,
|
|
475
|
+
curr.x,
|
|
476
|
+
curr.y,
|
|
477
|
+
flatPoints,
|
|
478
|
+
tolerance
|
|
479
|
+
);
|
|
480
|
+
} else if (curr.handleIn) {
|
|
481
|
+
flattenQuadratic(
|
|
482
|
+
prev.x,
|
|
483
|
+
prev.y,
|
|
484
|
+
curr.handleIn.x,
|
|
485
|
+
curr.handleIn.y,
|
|
486
|
+
curr.x,
|
|
487
|
+
curr.y,
|
|
488
|
+
flatPoints,
|
|
489
|
+
tolerance
|
|
490
|
+
);
|
|
491
|
+
} else {
|
|
492
|
+
flatPoints.push(curr.x, curr.y);
|
|
493
|
+
}
|
|
494
|
+
}
|
|
495
|
+
result.push(flatPoints);
|
|
496
|
+
}
|
|
497
|
+
return result;
|
|
498
|
+
}
|
|
499
|
+
var DEFAULT_TOLERANCE;
|
|
500
|
+
var init_flatten = __esm({
|
|
501
|
+
"lib/engine/geometry/flatten.ts"() {
|
|
502
|
+
"use strict";
|
|
503
|
+
init_define_POPCRAFT_COMPONENT_IDS();
|
|
504
|
+
DEFAULT_TOLERANCE = 0.25;
|
|
505
|
+
}
|
|
506
|
+
});
|
|
507
|
+
|
|
508
|
+
// lib/engine/text/glyph-linear.ts
|
|
509
|
+
function glyphLinear(g) {
|
|
510
|
+
if (g.xform) return g.xform;
|
|
511
|
+
if (!g.angle) return null;
|
|
512
|
+
const c = Math.cos(g.angle), s = Math.sin(g.angle);
|
|
513
|
+
return [c, s, -s, c];
|
|
514
|
+
}
|
|
515
|
+
var init_glyph_linear = __esm({
|
|
516
|
+
"lib/engine/text/glyph-linear.ts"() {
|
|
517
|
+
"use strict";
|
|
518
|
+
init_define_POPCRAFT_COMPONENT_IDS();
|
|
519
|
+
}
|
|
520
|
+
});
|
|
521
|
+
|
|
522
|
+
// lib/engine/text/outline-sdf.ts
|
|
523
|
+
function flattenPath(commands, t, line, tolerance = FLATTEN_TOLERANCE) {
|
|
524
|
+
const X = (x) => t.sx * x + t.tx;
|
|
525
|
+
const Y = (y) => t.sy * y + t.ty;
|
|
526
|
+
let sx = 0, sy = 0, cx = 0, cy = 0, open = false;
|
|
527
|
+
const close = () => {
|
|
528
|
+
if (open && (cx !== sx || cy !== sy)) line(cx, cy, sx, sy);
|
|
529
|
+
cx = sx;
|
|
530
|
+
cy = sy;
|
|
531
|
+
open = false;
|
|
532
|
+
};
|
|
533
|
+
for (const c of commands) {
|
|
534
|
+
const a = c.args;
|
|
535
|
+
switch (c.command) {
|
|
536
|
+
case "moveTo":
|
|
537
|
+
close();
|
|
538
|
+
sx = cx = X(a[0]);
|
|
539
|
+
sy = cy = Y(a[1]);
|
|
540
|
+
break;
|
|
541
|
+
case "lineTo": {
|
|
542
|
+
const x = X(a[0]), y = Y(a[1]);
|
|
543
|
+
line(cx, cy, x, y);
|
|
544
|
+
cx = x;
|
|
545
|
+
cy = y;
|
|
546
|
+
open = true;
|
|
547
|
+
break;
|
|
548
|
+
}
|
|
549
|
+
case "quadraticCurveTo": {
|
|
550
|
+
const x1 = X(a[0]), y1 = Y(a[1]), x2 = X(a[2]), y2 = Y(a[3]);
|
|
551
|
+
const dd = Math.hypot(cx - 2 * x1 + x2, cy - 2 * y1 + y2);
|
|
552
|
+
const n = Math.min(256, Math.max(1, Math.ceil(Math.sqrt(dd / (4 * tolerance)))));
|
|
553
|
+
let px = cx, py = cy;
|
|
554
|
+
for (let i = 1; i <= n; i++) {
|
|
555
|
+
const u = i / n, v = 1 - u;
|
|
556
|
+
const x = v * v * cx + 2 * u * v * x1 + u * u * x2;
|
|
557
|
+
const y = v * v * cy + 2 * u * v * y1 + u * u * y2;
|
|
558
|
+
line(px, py, x, y);
|
|
559
|
+
px = x;
|
|
560
|
+
py = y;
|
|
561
|
+
}
|
|
562
|
+
cx = x2;
|
|
563
|
+
cy = y2;
|
|
564
|
+
open = true;
|
|
565
|
+
break;
|
|
566
|
+
}
|
|
567
|
+
case "bezierCurveTo": {
|
|
568
|
+
const x1 = X(a[0]), y1 = Y(a[1]), x2 = X(a[2]), y2 = Y(a[3]), x3 = X(a[4]), y3 = Y(a[5]);
|
|
569
|
+
const dd = Math.max(Math.hypot(cx - 2 * x1 + x2, cy - 2 * y1 + y2), Math.hypot(x1 - 2 * x2 + x3, y1 - 2 * y2 + y3));
|
|
570
|
+
const n = Math.min(256, Math.max(1, Math.ceil(Math.sqrt(0.75 * dd / tolerance))));
|
|
571
|
+
let px = cx, py = cy;
|
|
572
|
+
for (let i = 1; i <= n; i++) {
|
|
573
|
+
const u = i / n, v = 1 - u;
|
|
574
|
+
const b0 = v * v * v, b1 = 3 * u * v * v, b2 = 3 * u * u * v, b3 = u * u * u;
|
|
575
|
+
const x = b0 * cx + b1 * x1 + b2 * x2 + b3 * x3;
|
|
576
|
+
const y = b0 * cy + b1 * y1 + b2 * y2 + b3 * y3;
|
|
577
|
+
line(px, py, x, y);
|
|
578
|
+
px = x;
|
|
579
|
+
py = y;
|
|
580
|
+
}
|
|
581
|
+
cx = x3;
|
|
582
|
+
cy = y3;
|
|
583
|
+
open = true;
|
|
584
|
+
break;
|
|
585
|
+
}
|
|
586
|
+
case "closePath":
|
|
587
|
+
close();
|
|
588
|
+
break;
|
|
589
|
+
}
|
|
590
|
+
}
|
|
591
|
+
close();
|
|
592
|
+
}
|
|
593
|
+
var FLATTEN_TOLERANCE;
|
|
594
|
+
var init_outline_sdf = __esm({
|
|
595
|
+
"lib/engine/text/outline-sdf.ts"() {
|
|
596
|
+
"use strict";
|
|
597
|
+
init_define_POPCRAFT_COMPONENT_IDS();
|
|
598
|
+
FLATTEN_TOLERANCE = 5e-3;
|
|
599
|
+
}
|
|
600
|
+
});
|
|
601
|
+
|
|
602
|
+
// lib/engine/text/text-rings.ts
|
|
603
|
+
function glyphTransform(g) {
|
|
604
|
+
const s = g.unitScale ?? 0;
|
|
605
|
+
return { sx: s, sy: -s, tx: g.penX ?? g.x, ty: g.baseline ?? g.y };
|
|
606
|
+
}
|
|
607
|
+
function glyphOutline(g) {
|
|
608
|
+
if (g.gid === void 0 || !g.font || !g.unitScale) return null;
|
|
609
|
+
let glyph;
|
|
610
|
+
try {
|
|
611
|
+
glyph = g.font.getGlyph(g.gid);
|
|
612
|
+
} catch {
|
|
613
|
+
return null;
|
|
614
|
+
}
|
|
615
|
+
const commands = glyph?.path?.commands;
|
|
616
|
+
if (!commands?.length) return null;
|
|
617
|
+
const t = glyphTransform(g);
|
|
618
|
+
const turn = glyphTurn(g);
|
|
619
|
+
return { commands, place: (x, y) => turn(t.sx * x + t.tx, t.sy * y + t.ty) };
|
|
620
|
+
}
|
|
621
|
+
function glyphTurn(g) {
|
|
622
|
+
const t = glyphTransform(g);
|
|
623
|
+
const m = glyphLinear(g);
|
|
624
|
+
return (x, y) => m ? [t.tx + (x - t.tx) * m[0] + (y - t.ty) * m[2], t.ty + (x - t.tx) * m[1] + (y - t.ty) * m[3]] : [x, y];
|
|
625
|
+
}
|
|
626
|
+
function glyphInstancesToRings(instances) {
|
|
627
|
+
const rings = [];
|
|
628
|
+
for (const g of instances) {
|
|
629
|
+
if (g.gid === void 0 || !g.font || !g.unitScale) continue;
|
|
630
|
+
let glyph;
|
|
631
|
+
try {
|
|
632
|
+
glyph = g.font.getGlyph(g.gid);
|
|
633
|
+
} catch {
|
|
634
|
+
continue;
|
|
635
|
+
}
|
|
636
|
+
const commands = glyph?.path?.commands;
|
|
637
|
+
if (!commands?.length) continue;
|
|
638
|
+
let current = [];
|
|
639
|
+
const push = () => {
|
|
640
|
+
if (current.length >= 3) rings.push(closeRing(current));
|
|
641
|
+
current = [];
|
|
642
|
+
};
|
|
643
|
+
const t = glyphTransform(g);
|
|
644
|
+
const turn = glyphTurn(g);
|
|
645
|
+
flattenPath(commands, t, (x0, y0, x1, y1) => {
|
|
646
|
+
const [ax, ay] = turn(x0, y0), [bx, by] = turn(x1, y1);
|
|
647
|
+
const last = current[current.length - 1];
|
|
648
|
+
if (!last || last[0] !== ax || last[1] !== ay) {
|
|
649
|
+
push();
|
|
650
|
+
current.push([ax, ay]);
|
|
651
|
+
}
|
|
652
|
+
current.push([bx, by]);
|
|
653
|
+
});
|
|
654
|
+
push();
|
|
655
|
+
}
|
|
656
|
+
return rings;
|
|
657
|
+
}
|
|
658
|
+
function closeRing(r) {
|
|
659
|
+
const a = r[0];
|
|
660
|
+
const b = r[r.length - 1];
|
|
661
|
+
return a[0] === b[0] && a[1] === b[1] ? r : [...r, [a[0], a[1]]];
|
|
662
|
+
}
|
|
663
|
+
var init_text_rings = __esm({
|
|
664
|
+
"lib/engine/text/text-rings.ts"() {
|
|
665
|
+
"use strict";
|
|
666
|
+
init_define_POPCRAFT_COMPONENT_IDS();
|
|
667
|
+
init_glyph_linear();
|
|
668
|
+
init_outline_sdf();
|
|
669
|
+
}
|
|
670
|
+
});
|
|
671
|
+
|
|
672
|
+
// lib/engine/geometry/shape-outline.ts
|
|
673
|
+
function shapeToRings(node, ox, oy) {
|
|
674
|
+
const w = node.width;
|
|
675
|
+
const h = node.height;
|
|
676
|
+
const cx = ox + w / 2;
|
|
677
|
+
const cy = oy + h / 2;
|
|
678
|
+
const rot = (node.rotation || 0) * Math.PI / 180;
|
|
679
|
+
const cosR = Math.cos(rot);
|
|
680
|
+
const sinR = Math.sin(rot);
|
|
681
|
+
const place2 = (lx, ly) => {
|
|
682
|
+
const dx = ox + lx - cx;
|
|
683
|
+
const dy = oy + ly - cy;
|
|
684
|
+
return [cx + dx * cosR - dy * sinR, cy + dx * sinR + dy * cosR];
|
|
685
|
+
};
|
|
686
|
+
const closeRing2 = (r) => {
|
|
687
|
+
if (r.length && (r[0][0] !== r[r.length - 1][0] || r[0][1] !== r[r.length - 1][1])) r.push([r[0][0], r[0][1]]);
|
|
688
|
+
return r;
|
|
689
|
+
};
|
|
690
|
+
switch (node.type) {
|
|
691
|
+
case "ELLIPSE": {
|
|
692
|
+
const rx = w / 2, ry = h / 2;
|
|
693
|
+
const ring = [];
|
|
694
|
+
for (let i = 0; i < ELLIPSE_SEGMENTS; i++) {
|
|
695
|
+
const a = i / ELLIPSE_SEGMENTS * Math.PI * 2;
|
|
696
|
+
ring.push(place2(w / 2 + rx * Math.cos(a), h / 2 + ry * Math.sin(a)));
|
|
697
|
+
}
|
|
698
|
+
return [closeRing2(ring)];
|
|
699
|
+
}
|
|
700
|
+
case "POLYGON": {
|
|
701
|
+
const n = Math.max(3, node.pointCount || 3);
|
|
702
|
+
const rx = w / 2, ry = h / 2;
|
|
703
|
+
const ring = [];
|
|
704
|
+
for (let i = 0; i < n; i++) {
|
|
705
|
+
const a = -Math.PI / 2 + i / n * Math.PI * 2;
|
|
706
|
+
ring.push(place2(w / 2 + rx * Math.cos(a), h / 2 + ry * Math.sin(a)));
|
|
707
|
+
}
|
|
708
|
+
return [closeRing2(ring)];
|
|
709
|
+
}
|
|
710
|
+
case "STAR": {
|
|
711
|
+
const n = Math.max(3, node.pointCount || 5);
|
|
712
|
+
const inner = node.innerRadius ?? 0.4;
|
|
713
|
+
const rx = w / 2, ry = h / 2;
|
|
714
|
+
const ring = [];
|
|
715
|
+
for (let i = 0; i < n * 2; i++) {
|
|
716
|
+
const a = -Math.PI / 2 + i / (n * 2) * Math.PI * 2;
|
|
717
|
+
const f = i % 2 === 0 ? 1 : inner;
|
|
718
|
+
ring.push(place2(w / 2 + rx * f * Math.cos(a), h / 2 + ry * f * Math.sin(a)));
|
|
719
|
+
}
|
|
720
|
+
return [closeRing2(ring)];
|
|
721
|
+
}
|
|
722
|
+
case "VECTOR": {
|
|
723
|
+
const paths = node.paths;
|
|
724
|
+
if (!paths || paths.length === 0) return [];
|
|
725
|
+
const flat = flattenPaths(paths);
|
|
726
|
+
return flat.filter((p) => p.length >= 6).map((p) => {
|
|
727
|
+
const ring = [];
|
|
728
|
+
for (let i = 0; i < p.length; i += 2) ring.push(place2(p[i], p[i + 1]));
|
|
729
|
+
return closeRing2(ring);
|
|
730
|
+
});
|
|
731
|
+
}
|
|
732
|
+
case "TEXT": {
|
|
733
|
+
const layout = readCachedTextLayout(node.id);
|
|
734
|
+
if (!layout) return [];
|
|
735
|
+
return glyphInstancesToRings(layout.instances).map((ring) => ring.map(([lx, ly]) => place2(lx, ly)));
|
|
736
|
+
}
|
|
737
|
+
case "LINE":
|
|
738
|
+
case "ARROW":
|
|
739
|
+
return [];
|
|
740
|
+
// no fillable area
|
|
741
|
+
default: {
|
|
742
|
+
return [closeRing2([place2(0, 0), place2(w, 0), place2(w, h), place2(0, h)])];
|
|
743
|
+
}
|
|
744
|
+
}
|
|
745
|
+
}
|
|
746
|
+
function tableCellGeom(table) {
|
|
747
|
+
const colCount = table.colCount || 5, rowCount = table.rowCount || 5;
|
|
748
|
+
const colWidths = table.colWidths && table.colWidths.length ? table.colWidths : Array(colCount).fill(140);
|
|
749
|
+
const rowHeights = table.rowHeights && table.rowHeights.length ? table.rowHeights : Array(rowCount).fill(32);
|
|
750
|
+
return { colWidths, rowHeights };
|
|
751
|
+
}
|
|
752
|
+
function tableCellRect(table, r, c) {
|
|
753
|
+
const { colWidths, rowHeights } = tableCellGeom(table);
|
|
754
|
+
let x = 0;
|
|
755
|
+
for (let i = 0; i < c; i++) x += colWidths[i] || 140;
|
|
756
|
+
let y = 0;
|
|
757
|
+
for (let i = 0; i < r; i++) y += rowHeights[i] || 32;
|
|
758
|
+
return { x, y, w: colWidths[c] || 140, h: rowHeights[r] || 32 };
|
|
759
|
+
}
|
|
760
|
+
function tableCellAnchor(table, r, c, edge) {
|
|
761
|
+
const rc = tableCellRect(table, r, c);
|
|
762
|
+
switch (edge) {
|
|
763
|
+
case "TOP":
|
|
764
|
+
return { x: rc.x + rc.w / 2, y: rc.y };
|
|
765
|
+
case "BOTTOM":
|
|
766
|
+
return { x: rc.x + rc.w / 2, y: rc.y + rc.h };
|
|
767
|
+
case "LEFT":
|
|
768
|
+
return { x: rc.x, y: rc.y + rc.h / 2 };
|
|
769
|
+
case "RIGHT":
|
|
770
|
+
return { x: rc.x + rc.w, y: rc.y + rc.h / 2 };
|
|
771
|
+
default:
|
|
772
|
+
return { x: rc.x + rc.w / 2, y: rc.y + rc.h / 2 };
|
|
773
|
+
}
|
|
774
|
+
}
|
|
775
|
+
function getConnectorAnchorLocal(node, position) {
|
|
776
|
+
const w = node.width || 1;
|
|
777
|
+
const h = node.height || 1;
|
|
778
|
+
if (node.type === "TABLE") {
|
|
779
|
+
const m = /^(\d+),(\d+):(TOP|BOTTOM|LEFT|RIGHT)$/.exec(position);
|
|
780
|
+
if (m) return tableCellAnchor(node, +m[1], +m[2], m[3]);
|
|
781
|
+
}
|
|
782
|
+
const bbox = {
|
|
783
|
+
TOP: { x: w / 2, y: 0 },
|
|
784
|
+
BOTTOM: { x: w / 2, y: h },
|
|
785
|
+
LEFT: { x: 0, y: h / 2 },
|
|
786
|
+
RIGHT: { x: w, y: h / 2 },
|
|
787
|
+
CENTER: { x: w / 2, y: h / 2 }
|
|
788
|
+
};
|
|
789
|
+
const pos = position in bbox ? position : "CENTER";
|
|
790
|
+
if (pos === "CENTER") return bbox.CENTER;
|
|
791
|
+
const boxy = /* @__PURE__ */ new Set([
|
|
792
|
+
"RECTANGLE",
|
|
793
|
+
"FRAME",
|
|
794
|
+
"IMAGE",
|
|
795
|
+
"TEXT",
|
|
796
|
+
"STICKY",
|
|
797
|
+
"GROUP",
|
|
798
|
+
"SECTION",
|
|
799
|
+
"COMPONENT",
|
|
800
|
+
"COMPONENT_SET",
|
|
801
|
+
"INSTANCE",
|
|
802
|
+
"TABLE",
|
|
803
|
+
"SLICE"
|
|
804
|
+
]);
|
|
805
|
+
if (boxy.has(node.type)) return bbox[pos];
|
|
806
|
+
const key = `${node.id}:${Math.round(w)}x${Math.round(h)}:${node.type}`;
|
|
807
|
+
let anchors = _anchorCache.get(key);
|
|
808
|
+
if (!anchors) {
|
|
809
|
+
anchors = { ...bbox };
|
|
810
|
+
let rings = [];
|
|
811
|
+
try {
|
|
812
|
+
rings = shapeToRings({ ...node, rotation: 0 }, 0, 0);
|
|
813
|
+
} catch {
|
|
814
|
+
rings = [];
|
|
815
|
+
}
|
|
816
|
+
if (rings.length) {
|
|
817
|
+
const yc = h / 2;
|
|
818
|
+
let minX = Infinity, maxX = -Infinity;
|
|
819
|
+
const xc = w / 2;
|
|
820
|
+
let minY = Infinity, maxY = -Infinity;
|
|
821
|
+
for (const ring of rings) {
|
|
822
|
+
for (let i = 1; i < ring.length; i++) {
|
|
823
|
+
const [x1, y1] = ring[i - 1], [x2, y2] = ring[i];
|
|
824
|
+
if (y1 <= yc && y2 >= yc || y2 <= yc && y1 >= yc) {
|
|
825
|
+
if (y1 !== y2) {
|
|
826
|
+
const t = (yc - y1) / (y2 - y1);
|
|
827
|
+
const x = x1 + t * (x2 - x1);
|
|
828
|
+
if (x < minX) minX = x;
|
|
829
|
+
if (x > maxX) maxX = x;
|
|
830
|
+
}
|
|
831
|
+
}
|
|
832
|
+
if (x1 <= xc && x2 >= xc || x2 <= xc && x1 >= xc) {
|
|
833
|
+
if (x1 !== x2) {
|
|
834
|
+
const t = (xc - x1) / (x2 - x1);
|
|
835
|
+
const y = y1 + t * (y2 - y1);
|
|
836
|
+
if (y < minY) minY = y;
|
|
837
|
+
if (y > maxY) maxY = y;
|
|
838
|
+
}
|
|
839
|
+
}
|
|
840
|
+
}
|
|
841
|
+
}
|
|
842
|
+
if (minX !== Infinity) {
|
|
843
|
+
anchors.LEFT = { x: minX, y: yc };
|
|
844
|
+
anchors.RIGHT = { x: maxX, y: yc };
|
|
845
|
+
}
|
|
846
|
+
if (minY !== Infinity) {
|
|
847
|
+
anchors.TOP = { x: xc, y: minY };
|
|
848
|
+
anchors.BOTTOM = { x: xc, y: maxY };
|
|
849
|
+
}
|
|
850
|
+
}
|
|
851
|
+
if (_anchorCache.size > 512) _anchorCache.clear();
|
|
852
|
+
_anchorCache.set(key, anchors);
|
|
853
|
+
}
|
|
854
|
+
return anchors[pos];
|
|
855
|
+
}
|
|
856
|
+
function connectorPositionDir(position) {
|
|
857
|
+
const m = /(TOP|BOTTOM|LEFT|RIGHT|CENTER)$/.exec(position || "");
|
|
858
|
+
return m ? m[1] : "CENTER";
|
|
859
|
+
}
|
|
860
|
+
var ELLIPSE_SEGMENTS, _anchorCache;
|
|
861
|
+
var init_shape_outline = __esm({
|
|
862
|
+
"lib/engine/geometry/shape-outline.ts"() {
|
|
863
|
+
"use strict";
|
|
864
|
+
init_define_POPCRAFT_COMPONENT_IDS();
|
|
865
|
+
init_flatten();
|
|
866
|
+
init_layout_access();
|
|
867
|
+
init_text_rings();
|
|
868
|
+
ELLIPSE_SEGMENTS = 64;
|
|
869
|
+
_anchorCache = /* @__PURE__ */ new Map();
|
|
870
|
+
}
|
|
871
|
+
});
|
|
872
|
+
|
|
873
|
+
// lib/document/scene-graph.ts
|
|
874
|
+
function virtualRootOf(host, doc) {
|
|
875
|
+
if (!host) return void 0;
|
|
876
|
+
if (host.type === "INSTANCE") return host.mainComponentId || void 0;
|
|
877
|
+
if (host.type === "FRAME") {
|
|
878
|
+
const frame = host;
|
|
879
|
+
if (doc) {
|
|
880
|
+
const { effectiveMasterId: effectiveMasterId2 } = (init_print_pages(), __toCommonJS(print_pages_exports));
|
|
881
|
+
return effectiveMasterId2(doc, frame);
|
|
882
|
+
}
|
|
883
|
+
return frame.print?.masterId;
|
|
884
|
+
}
|
|
885
|
+
return void 0;
|
|
886
|
+
}
|
|
887
|
+
function virtualChildId(parent, childId) {
|
|
888
|
+
if (parent.type === "INSTANCE" || parent.type === "FRAME" && parent.print?.masterId && !parent.id.includes("::")) return `${parent.id}::${childId}`;
|
|
889
|
+
if (parent.id.includes("::")) return `${parent.id.split("::").slice(0, -1).join("::")}::${childId}`;
|
|
890
|
+
return childId;
|
|
891
|
+
}
|
|
892
|
+
function chainOverrides(nodes, parts) {
|
|
893
|
+
let merged = {};
|
|
894
|
+
for (let k = 0; k < parts.length - 1; k++) {
|
|
895
|
+
const raw = nodes[parts[k]];
|
|
896
|
+
if (!raw) break;
|
|
897
|
+
const node = k === 0 ? raw : { ...raw, ...merged[raw.id] };
|
|
898
|
+
if (node.type === "INSTANCE") merged = { ...node.overrides || {}, ...merged };
|
|
899
|
+
}
|
|
900
|
+
return merged;
|
|
901
|
+
}
|
|
902
|
+
function resolveVirtualNode(nodes, id, opts) {
|
|
903
|
+
if (!id) return null;
|
|
904
|
+
if (!id.includes("::")) return nodes[id] || null;
|
|
905
|
+
const posed = nodes[id];
|
|
906
|
+
if (posed) return posed;
|
|
907
|
+
const parts = id.split("::");
|
|
908
|
+
const instanceId = parts[0];
|
|
909
|
+
const targetId = parts[parts.length - 1];
|
|
910
|
+
const instance = nodes[instanceId];
|
|
911
|
+
const target = nodes[targetId];
|
|
912
|
+
const rootId = virtualRootOf(instance);
|
|
913
|
+
if (!instance || !rootId || !target) return null;
|
|
914
|
+
const overrides = instance.type === "INSTANCE" ? chainOverrides(nodes, parts)[targetId] || {} : {};
|
|
915
|
+
let parentId;
|
|
916
|
+
if (parts.length === 2) {
|
|
917
|
+
parentId = target.parentId === rootId ? instanceId : `${instanceId}::${target.parentId}`;
|
|
918
|
+
} else {
|
|
919
|
+
const ownerId = parts.slice(0, -1).join("::");
|
|
920
|
+
const owner = resolveVirtualNode(nodes, ownerId, opts);
|
|
921
|
+
const ownerRoot = virtualRootOf(owner ?? void 0);
|
|
922
|
+
parentId = target.parentId === ownerRoot ? ownerId : `${ownerId}::${target.parentId}`;
|
|
923
|
+
}
|
|
924
|
+
const resolved = { ...target, ...overrides, id, parentId };
|
|
925
|
+
const refs = resolved.componentPropertyReferences;
|
|
926
|
+
let props = null;
|
|
927
|
+
if (refs?.characters || refs?.visible) {
|
|
928
|
+
props = effectiveComponentProperties(nodes, parts);
|
|
929
|
+
if (refs.characters && typeof props[refs.characters] === "string") resolved.characters = props[refs.characters];
|
|
930
|
+
if (refs.visible && typeof props[refs.visible] === "boolean") resolved.visible = props[refs.visible];
|
|
931
|
+
}
|
|
932
|
+
if (resolved.componentPropertyPaths || resolved.motion?.tracks) {
|
|
933
|
+
const shown = withPropertyPaths(resolved, props ?? effectiveComponentProperties(nodes, parts));
|
|
934
|
+
if (shown !== resolved) Object.assign(resolved, shown);
|
|
935
|
+
}
|
|
936
|
+
if (resolved.type === "INSTANCE" && instance.type === "INSTANCE") {
|
|
937
|
+
const ref = resolved.componentPropertyReferences?.mainComponent;
|
|
938
|
+
const v = ref ? instance.componentProperties?.[ref] : void 0;
|
|
939
|
+
if (typeof v === "string" && nodes[v]) resolved.mainComponentId = v;
|
|
940
|
+
}
|
|
941
|
+
if (opts?.layout !== false) {
|
|
942
|
+
const box = instanceChildBox(nodes, id);
|
|
943
|
+
if (box) {
|
|
944
|
+
resolved.x = box.x;
|
|
945
|
+
resolved.y = box.y;
|
|
946
|
+
resolved.width = box.width;
|
|
947
|
+
resolved.height = box.height;
|
|
948
|
+
}
|
|
949
|
+
}
|
|
950
|
+
return resolved;
|
|
951
|
+
}
|
|
952
|
+
function createDocument(name = "Untitled", settings) {
|
|
953
|
+
const pageId = v4_default();
|
|
954
|
+
const page = {
|
|
955
|
+
id: pageId,
|
|
956
|
+
name: "Page 1",
|
|
957
|
+
type: "PAGE",
|
|
958
|
+
x: 0,
|
|
959
|
+
y: 0,
|
|
960
|
+
width: 0,
|
|
961
|
+
height: 0,
|
|
962
|
+
rotation: 0,
|
|
963
|
+
opacity: 1,
|
|
964
|
+
visible: true,
|
|
965
|
+
locked: false,
|
|
966
|
+
parentId: null,
|
|
967
|
+
childIds: [],
|
|
968
|
+
backgroundColor: createColor(0.12, 0.12, 0.13)
|
|
969
|
+
};
|
|
970
|
+
return {
|
|
971
|
+
id: v4_default(),
|
|
972
|
+
name,
|
|
973
|
+
pages: [pageId],
|
|
974
|
+
nodes: {
|
|
975
|
+
[pageId]: page
|
|
976
|
+
},
|
|
977
|
+
...settings ? { settings } : {}
|
|
978
|
+
};
|
|
979
|
+
}
|
|
980
|
+
function createPage(name = "New Page") {
|
|
981
|
+
return {
|
|
982
|
+
id: v4_default(),
|
|
983
|
+
name,
|
|
984
|
+
type: "PAGE",
|
|
985
|
+
x: 0,
|
|
986
|
+
y: 0,
|
|
987
|
+
width: 0,
|
|
988
|
+
height: 0,
|
|
989
|
+
rotation: 0,
|
|
990
|
+
opacity: 1,
|
|
991
|
+
visible: true,
|
|
992
|
+
locked: false,
|
|
993
|
+
parentId: null,
|
|
994
|
+
childIds: [],
|
|
995
|
+
backgroundColor: createColor(0.12, 0.12, 0.13)
|
|
996
|
+
};
|
|
997
|
+
}
|
|
998
|
+
function createRectangle(props = {}) {
|
|
999
|
+
return {
|
|
1000
|
+
id: v4_default(),
|
|
1001
|
+
name: "Rectangle",
|
|
1002
|
+
type: "RECTANGLE",
|
|
1003
|
+
x: 0,
|
|
1004
|
+
y: 0,
|
|
1005
|
+
width: 100,
|
|
1006
|
+
height: 100,
|
|
1007
|
+
rotation: 0,
|
|
1008
|
+
opacity: 1,
|
|
1009
|
+
visible: true,
|
|
1010
|
+
locked: false,
|
|
1011
|
+
parentId: null,
|
|
1012
|
+
childIds: [],
|
|
1013
|
+
...createDefaultSceneNodeProps(),
|
|
1014
|
+
...props
|
|
1015
|
+
};
|
|
1016
|
+
}
|
|
1017
|
+
function createEllipse(props = {}) {
|
|
1018
|
+
return {
|
|
1019
|
+
id: v4_default(),
|
|
1020
|
+
name: "Ellipse",
|
|
1021
|
+
type: "ELLIPSE",
|
|
1022
|
+
x: 0,
|
|
1023
|
+
y: 0,
|
|
1024
|
+
width: 100,
|
|
1025
|
+
height: 100,
|
|
1026
|
+
rotation: 0,
|
|
1027
|
+
opacity: 1,
|
|
1028
|
+
visible: true,
|
|
1029
|
+
locked: false,
|
|
1030
|
+
parentId: null,
|
|
1031
|
+
childIds: [],
|
|
1032
|
+
...createDefaultSceneNodeProps(),
|
|
1033
|
+
...props
|
|
1034
|
+
};
|
|
1035
|
+
}
|
|
1036
|
+
function createSticky(props = {}) {
|
|
1037
|
+
return {
|
|
1038
|
+
id: v4_default(),
|
|
1039
|
+
name: "Sticky Note",
|
|
1040
|
+
type: "STICKY",
|
|
1041
|
+
x: 0,
|
|
1042
|
+
y: 0,
|
|
1043
|
+
width: 200,
|
|
1044
|
+
height: 200,
|
|
1045
|
+
rotation: 0,
|
|
1046
|
+
opacity: 1,
|
|
1047
|
+
visible: true,
|
|
1048
|
+
locked: false,
|
|
1049
|
+
parentId: null,
|
|
1050
|
+
childIds: [],
|
|
1051
|
+
text: "",
|
|
1052
|
+
authorName: "Unknown",
|
|
1053
|
+
...createDefaultSceneNodeProps(),
|
|
1054
|
+
fills: [createSolidPaint(createColor(1, 0.9, 0.4, 1))],
|
|
1055
|
+
// Default yellow sticky color
|
|
1056
|
+
...props
|
|
1057
|
+
};
|
|
1058
|
+
}
|
|
1059
|
+
function createLine(props = {}) {
|
|
1060
|
+
return {
|
|
1061
|
+
id: v4_default(),
|
|
1062
|
+
name: "Line",
|
|
1063
|
+
type: "LINE",
|
|
1064
|
+
x: 0,
|
|
1065
|
+
y: 0,
|
|
1066
|
+
width: 100,
|
|
1067
|
+
height: 0,
|
|
1068
|
+
rotation: 0,
|
|
1069
|
+
opacity: 1,
|
|
1070
|
+
visible: true,
|
|
1071
|
+
locked: false,
|
|
1072
|
+
parentId: null,
|
|
1073
|
+
childIds: [],
|
|
1074
|
+
...createDefaultSceneNodeProps(),
|
|
1075
|
+
fills: [],
|
|
1076
|
+
// Lines typically have no fill
|
|
1077
|
+
strokes: [{
|
|
1078
|
+
color: createColor(0, 0, 0),
|
|
1079
|
+
width: 2,
|
|
1080
|
+
alignment: "CENTER",
|
|
1081
|
+
cap: "ROUND",
|
|
1082
|
+
join: "ROUND",
|
|
1083
|
+
dashPattern: []
|
|
1084
|
+
}],
|
|
1085
|
+
startPoint: { x: 0, y: 0 },
|
|
1086
|
+
endPoint: { x: 100, y: 0 },
|
|
1087
|
+
...props
|
|
1088
|
+
};
|
|
1089
|
+
}
|
|
1090
|
+
function createArrow(props = {}) {
|
|
1091
|
+
return {
|
|
1092
|
+
id: v4_default(),
|
|
1093
|
+
name: "Arrow",
|
|
1094
|
+
type: "ARROW",
|
|
1095
|
+
x: 0,
|
|
1096
|
+
y: 0,
|
|
1097
|
+
width: 100,
|
|
1098
|
+
height: 0,
|
|
1099
|
+
rotation: 0,
|
|
1100
|
+
opacity: 1,
|
|
1101
|
+
visible: true,
|
|
1102
|
+
locked: false,
|
|
1103
|
+
parentId: null,
|
|
1104
|
+
childIds: [],
|
|
1105
|
+
...createDefaultSceneNodeProps(),
|
|
1106
|
+
fills: [],
|
|
1107
|
+
strokes: [{
|
|
1108
|
+
color: createColor(0, 0, 0),
|
|
1109
|
+
width: 2,
|
|
1110
|
+
alignment: "CENTER",
|
|
1111
|
+
cap: "ROUND",
|
|
1112
|
+
join: "ROUND",
|
|
1113
|
+
dashPattern: []
|
|
1114
|
+
}],
|
|
1115
|
+
startPoint: { x: 0, y: 0 },
|
|
1116
|
+
endPoint: { x: 100, y: 0 },
|
|
1117
|
+
startArrowhead: "NONE",
|
|
1118
|
+
endArrowhead: "ARROW",
|
|
1119
|
+
...props
|
|
1120
|
+
};
|
|
1121
|
+
}
|
|
1122
|
+
function createPolygon(props = {}) {
|
|
1123
|
+
return {
|
|
1124
|
+
id: v4_default(),
|
|
1125
|
+
name: "Polygon",
|
|
1126
|
+
type: "POLYGON",
|
|
1127
|
+
x: 0,
|
|
1128
|
+
y: 0,
|
|
1129
|
+
width: 100,
|
|
1130
|
+
height: 100,
|
|
1131
|
+
rotation: 0,
|
|
1132
|
+
opacity: 1,
|
|
1133
|
+
visible: true,
|
|
1134
|
+
locked: false,
|
|
1135
|
+
parentId: null,
|
|
1136
|
+
childIds: [],
|
|
1137
|
+
...createDefaultSceneNodeProps(),
|
|
1138
|
+
pointCount: 3,
|
|
1139
|
+
// triangle by default
|
|
1140
|
+
...props
|
|
1141
|
+
};
|
|
1142
|
+
}
|
|
1143
|
+
function createStar(props = {}) {
|
|
1144
|
+
return {
|
|
1145
|
+
id: v4_default(),
|
|
1146
|
+
name: "Star",
|
|
1147
|
+
type: "STAR",
|
|
1148
|
+
x: 0,
|
|
1149
|
+
y: 0,
|
|
1150
|
+
width: 100,
|
|
1151
|
+
height: 100,
|
|
1152
|
+
rotation: 0,
|
|
1153
|
+
opacity: 1,
|
|
1154
|
+
visible: true,
|
|
1155
|
+
locked: false,
|
|
1156
|
+
parentId: null,
|
|
1157
|
+
childIds: [],
|
|
1158
|
+
...createDefaultSceneNodeProps(),
|
|
1159
|
+
pointCount: 5,
|
|
1160
|
+
innerRadius: 0.4,
|
|
1161
|
+
...props
|
|
1162
|
+
};
|
|
1163
|
+
}
|
|
1164
|
+
function createSection(props = {}) {
|
|
1165
|
+
return {
|
|
1166
|
+
id: v4_default(),
|
|
1167
|
+
name: "Section",
|
|
1168
|
+
type: "SECTION",
|
|
1169
|
+
x: 0,
|
|
1170
|
+
y: 0,
|
|
1171
|
+
width: 400,
|
|
1172
|
+
height: 300,
|
|
1173
|
+
rotation: 0,
|
|
1174
|
+
opacity: 1,
|
|
1175
|
+
visible: true,
|
|
1176
|
+
locked: false,
|
|
1177
|
+
parentId: null,
|
|
1178
|
+
childIds: [],
|
|
1179
|
+
backgroundColor: createColor(0.2, 0.2, 0.22),
|
|
1180
|
+
...props
|
|
1181
|
+
};
|
|
1182
|
+
}
|
|
1183
|
+
function createSlice(props = {}) {
|
|
1184
|
+
return {
|
|
1185
|
+
id: v4_default(),
|
|
1186
|
+
name: "Slice",
|
|
1187
|
+
type: "SLICE",
|
|
1188
|
+
x: 0,
|
|
1189
|
+
y: 0,
|
|
1190
|
+
width: 100,
|
|
1191
|
+
height: 100,
|
|
1192
|
+
rotation: 0,
|
|
1193
|
+
opacity: 1,
|
|
1194
|
+
visible: true,
|
|
1195
|
+
locked: false,
|
|
1196
|
+
parentId: null,
|
|
1197
|
+
childIds: [],
|
|
1198
|
+
exportSettings: [{
|
|
1199
|
+
format: "PNG",
|
|
1200
|
+
suffix: "",
|
|
1201
|
+
scale: 1,
|
|
1202
|
+
constraint: { type: "SCALE", value: 1 }
|
|
1203
|
+
}],
|
|
1204
|
+
...props
|
|
1205
|
+
};
|
|
1206
|
+
}
|
|
1207
|
+
function createFrame(props = {}) {
|
|
1208
|
+
return {
|
|
1209
|
+
id: v4_default(),
|
|
1210
|
+
name: "Frame",
|
|
1211
|
+
type: "FRAME",
|
|
1212
|
+
x: 0,
|
|
1213
|
+
y: 0,
|
|
1214
|
+
width: 375,
|
|
1215
|
+
height: 667,
|
|
1216
|
+
rotation: 0,
|
|
1217
|
+
opacity: 1,
|
|
1218
|
+
visible: true,
|
|
1219
|
+
locked: false,
|
|
1220
|
+
parentId: null,
|
|
1221
|
+
childIds: [],
|
|
1222
|
+
...createDefaultSceneNodeProps(),
|
|
1223
|
+
fills: [createSolidPaint(createColor(1, 1, 1))],
|
|
1224
|
+
clipsContent: true,
|
|
1225
|
+
backgroundColor: createColor(1, 1, 1),
|
|
1226
|
+
layoutMode: "NONE",
|
|
1227
|
+
primaryAxisAlignItems: "MIN",
|
|
1228
|
+
counterAxisAlignItems: "MIN",
|
|
1229
|
+
padding: { top: 0, right: 0, bottom: 0, left: 0 },
|
|
1230
|
+
itemSpacing: 0,
|
|
1231
|
+
interactions: [],
|
|
1232
|
+
overflowScrolling: "NONE",
|
|
1233
|
+
isFlowStartingPoint: false,
|
|
1234
|
+
...props
|
|
1235
|
+
};
|
|
1236
|
+
}
|
|
1237
|
+
function createText(props = {}) {
|
|
1238
|
+
return {
|
|
1239
|
+
id: v4_default(),
|
|
1240
|
+
name: "Text",
|
|
1241
|
+
type: "TEXT",
|
|
1242
|
+
x: 0,
|
|
1243
|
+
y: 0,
|
|
1244
|
+
width: 200,
|
|
1245
|
+
height: 48,
|
|
1246
|
+
rotation: 0,
|
|
1247
|
+
opacity: 1,
|
|
1248
|
+
visible: true,
|
|
1249
|
+
locked: false,
|
|
1250
|
+
parentId: null,
|
|
1251
|
+
childIds: [],
|
|
1252
|
+
...createDefaultSceneNodeProps(),
|
|
1253
|
+
fills: [createSolidPaint(createColor(0, 0, 0))],
|
|
1254
|
+
characters: "",
|
|
1255
|
+
// New text starts at 40 (its box: one auto line, ~1.2× the size).
|
|
1256
|
+
fontSize: 40,
|
|
1257
|
+
fontFamily: "Inter",
|
|
1258
|
+
fontWeight: 400,
|
|
1259
|
+
fontStyle: "normal",
|
|
1260
|
+
textAlign: "LEFT",
|
|
1261
|
+
verticalAlign: "TOP",
|
|
1262
|
+
lineHeight: "AUTO",
|
|
1263
|
+
letterSpacing: 0,
|
|
1264
|
+
paragraphSpacing: 0,
|
|
1265
|
+
paragraphIndent: 0,
|
|
1266
|
+
textDecoration: "NONE",
|
|
1267
|
+
textCase: "ORIGINAL",
|
|
1268
|
+
textAutoResize: "WIDTH_AND_HEIGHT",
|
|
1269
|
+
interactions: [],
|
|
1270
|
+
...props
|
|
1271
|
+
};
|
|
1272
|
+
}
|
|
1273
|
+
function createGroup(childIds = []) {
|
|
1274
|
+
return {
|
|
1275
|
+
id: v4_default(),
|
|
1276
|
+
name: "Group",
|
|
1277
|
+
type: "GROUP",
|
|
1278
|
+
x: 0,
|
|
1279
|
+
y: 0,
|
|
1280
|
+
width: 0,
|
|
1281
|
+
height: 0,
|
|
1282
|
+
rotation: 0,
|
|
1283
|
+
opacity: 1,
|
|
1284
|
+
visible: true,
|
|
1285
|
+
locked: false,
|
|
1286
|
+
parentId: null,
|
|
1287
|
+
childIds
|
|
1288
|
+
};
|
|
1289
|
+
}
|
|
1290
|
+
function createVector(props = {}) {
|
|
1291
|
+
return {
|
|
1292
|
+
id: v4_default(),
|
|
1293
|
+
name: "Vector",
|
|
1294
|
+
type: "VECTOR",
|
|
1295
|
+
x: 0,
|
|
1296
|
+
y: 0,
|
|
1297
|
+
width: 100,
|
|
1298
|
+
height: 100,
|
|
1299
|
+
rotation: 0,
|
|
1300
|
+
opacity: 1,
|
|
1301
|
+
visible: true,
|
|
1302
|
+
locked: false,
|
|
1303
|
+
parentId: null,
|
|
1304
|
+
childIds: [],
|
|
1305
|
+
...createDefaultSceneNodeProps(),
|
|
1306
|
+
paths: [],
|
|
1307
|
+
fillRule: "NONZERO",
|
|
1308
|
+
...props
|
|
1309
|
+
};
|
|
1310
|
+
}
|
|
1311
|
+
function createBoolean(operation, childIds = [], props = {}) {
|
|
1312
|
+
return {
|
|
1313
|
+
id: v4_default(),
|
|
1314
|
+
name: `Boolean (${operation.toLowerCase()})`,
|
|
1315
|
+
type: "BOOLEAN",
|
|
1316
|
+
x: 0,
|
|
1317
|
+
y: 0,
|
|
1318
|
+
width: 100,
|
|
1319
|
+
height: 100,
|
|
1320
|
+
rotation: 0,
|
|
1321
|
+
opacity: 1,
|
|
1322
|
+
visible: true,
|
|
1323
|
+
locked: false,
|
|
1324
|
+
parentId: null,
|
|
1325
|
+
childIds,
|
|
1326
|
+
...createDefaultSceneNodeProps(),
|
|
1327
|
+
booleanOperation: operation,
|
|
1328
|
+
// Children are stored relative to this node, like a group's. The marker exists so the one-time
|
|
1329
|
+
// migration in the store can tell an already-converted boolean from one written before the change.
|
|
1330
|
+
booleanChildSpace: "LOCAL",
|
|
1331
|
+
paths: [],
|
|
1332
|
+
fillRule: "NONZERO",
|
|
1333
|
+
...props
|
|
1334
|
+
};
|
|
1335
|
+
}
|
|
1336
|
+
function createPixelGrid(props = {}) {
|
|
1337
|
+
const cell = props.cellSize ?? 10;
|
|
1338
|
+
const pw = Math.max(1, Math.min(2048, Math.round(props.pixelWidth ?? (props.width ? props.width / cell : 32))));
|
|
1339
|
+
const ph = Math.max(1, Math.min(2048, Math.round(props.pixelHeight ?? (props.height ? props.height / cell : 32))));
|
|
1340
|
+
const { cellSize: _c, width: _w, height: _h, ...rest } = props;
|
|
1341
|
+
return {
|
|
1342
|
+
id: v4_default(),
|
|
1343
|
+
name: "Pixel canvas",
|
|
1344
|
+
type: "PIXEL_GRID",
|
|
1345
|
+
x: 0,
|
|
1346
|
+
y: 0,
|
|
1347
|
+
width: pw * cell,
|
|
1348
|
+
height: ph * cell,
|
|
1349
|
+
rotation: 0,
|
|
1350
|
+
opacity: 1,
|
|
1351
|
+
visible: true,
|
|
1352
|
+
locked: false,
|
|
1353
|
+
parentId: null,
|
|
1354
|
+
childIds: [],
|
|
1355
|
+
...createDefaultSceneNodeProps(),
|
|
1356
|
+
fills: [],
|
|
1357
|
+
strokes: [],
|
|
1358
|
+
pixelWidth: pw,
|
|
1359
|
+
pixelHeight: ph,
|
|
1360
|
+
colorMode: "RGBA",
|
|
1361
|
+
palette: presetPalette("PICO-8"),
|
|
1362
|
+
transparentIndex: 0,
|
|
1363
|
+
frames: [{ id: v4_default(), cels: encodeCels(new Uint32Array(pw * ph)), duration: 100 }],
|
|
1364
|
+
activeFrame: 0,
|
|
1365
|
+
tags: [],
|
|
1366
|
+
onionSkin: { enabled: false, prev: 1, next: 1, opacity: 0.35 },
|
|
1367
|
+
tiledMode: "NONE",
|
|
1368
|
+
...rest
|
|
1369
|
+
};
|
|
1370
|
+
}
|
|
1371
|
+
function createImage(imageUrl, props = {}) {
|
|
1372
|
+
return {
|
|
1373
|
+
id: v4_default(),
|
|
1374
|
+
name: "Image",
|
|
1375
|
+
type: "IMAGE",
|
|
1376
|
+
x: 0,
|
|
1377
|
+
y: 0,
|
|
1378
|
+
width: 200,
|
|
1379
|
+
height: 200,
|
|
1380
|
+
rotation: 0,
|
|
1381
|
+
opacity: 1,
|
|
1382
|
+
visible: true,
|
|
1383
|
+
locked: false,
|
|
1384
|
+
parentId: null,
|
|
1385
|
+
childIds: [],
|
|
1386
|
+
...createDefaultSceneNodeProps(),
|
|
1387
|
+
// Image nodes draw their imageUrl; a (default grey) fill would be drawn over it instead.
|
|
1388
|
+
fills: [],
|
|
1389
|
+
imageUrl,
|
|
1390
|
+
scaleMode: "FILL",
|
|
1391
|
+
...props
|
|
1392
|
+
};
|
|
1393
|
+
}
|
|
1394
|
+
function createRaster(props = {}) {
|
|
1395
|
+
return {
|
|
1396
|
+
id: v4_default(),
|
|
1397
|
+
name: "Paint layer",
|
|
1398
|
+
type: "RASTER",
|
|
1399
|
+
x: 0,
|
|
1400
|
+
y: 0,
|
|
1401
|
+
width: 1024,
|
|
1402
|
+
height: 768,
|
|
1403
|
+
rotation: 0,
|
|
1404
|
+
opacity: 1,
|
|
1405
|
+
visible: true,
|
|
1406
|
+
locked: false,
|
|
1407
|
+
parentId: null,
|
|
1408
|
+
childIds: [],
|
|
1409
|
+
...createDefaultSceneNodeProps(),
|
|
1410
|
+
fills: [],
|
|
1411
|
+
strokes: [],
|
|
1412
|
+
pixelWidth: 1024,
|
|
1413
|
+
pixelHeight: 768,
|
|
1414
|
+
rasterTiles: {},
|
|
1415
|
+
...props
|
|
1416
|
+
};
|
|
1417
|
+
}
|
|
1418
|
+
function createComponent(props = {}) {
|
|
1419
|
+
return {
|
|
1420
|
+
id: v4_default(),
|
|
1421
|
+
name: "Component",
|
|
1422
|
+
type: "COMPONENT",
|
|
1423
|
+
x: 0,
|
|
1424
|
+
y: 0,
|
|
1425
|
+
width: 100,
|
|
1426
|
+
height: 100,
|
|
1427
|
+
rotation: 0,
|
|
1428
|
+
opacity: 1,
|
|
1429
|
+
visible: true,
|
|
1430
|
+
locked: false,
|
|
1431
|
+
parentId: null,
|
|
1432
|
+
childIds: [],
|
|
1433
|
+
componentPropertyDefinitions: {},
|
|
1434
|
+
...createDefaultSceneNodeProps(),
|
|
1435
|
+
...props
|
|
1436
|
+
};
|
|
1437
|
+
}
|
|
1438
|
+
function createComponentSet(props = {}) {
|
|
1439
|
+
return {
|
|
1440
|
+
id: v4_default(),
|
|
1441
|
+
name: "Component Set",
|
|
1442
|
+
type: "COMPONENT_SET",
|
|
1443
|
+
x: 0,
|
|
1444
|
+
y: 0,
|
|
1445
|
+
width: 200,
|
|
1446
|
+
height: 200,
|
|
1447
|
+
rotation: 0,
|
|
1448
|
+
opacity: 1,
|
|
1449
|
+
visible: true,
|
|
1450
|
+
locked: false,
|
|
1451
|
+
parentId: null,
|
|
1452
|
+
childIds: [],
|
|
1453
|
+
componentPropertyDefinitions: {},
|
|
1454
|
+
...createDefaultSceneNodeProps(),
|
|
1455
|
+
...props
|
|
1456
|
+
};
|
|
1457
|
+
}
|
|
1458
|
+
function createInstance(mainComponentId, props = {}) {
|
|
1459
|
+
return {
|
|
1460
|
+
id: v4_default(),
|
|
1461
|
+
name: "Instance",
|
|
1462
|
+
type: "INSTANCE",
|
|
1463
|
+
x: 0,
|
|
1464
|
+
y: 0,
|
|
1465
|
+
width: 100,
|
|
1466
|
+
height: 100,
|
|
1467
|
+
rotation: 0,
|
|
1468
|
+
opacity: 1,
|
|
1469
|
+
visible: true,
|
|
1470
|
+
locked: false,
|
|
1471
|
+
parentId: null,
|
|
1472
|
+
childIds: [],
|
|
1473
|
+
...createDefaultSceneNodeProps(),
|
|
1474
|
+
mainComponentId,
|
|
1475
|
+
overrides: {},
|
|
1476
|
+
componentProperties: {},
|
|
1477
|
+
...props
|
|
1478
|
+
};
|
|
1479
|
+
}
|
|
1480
|
+
function createInstanceOf(main, props = {}) {
|
|
1481
|
+
const m = main;
|
|
1482
|
+
return createInstance(main.id, {
|
|
1483
|
+
name: main.name,
|
|
1484
|
+
width: main.width,
|
|
1485
|
+
height: main.height,
|
|
1486
|
+
fills: m.fills ?? [],
|
|
1487
|
+
strokes: m.strokes ?? [],
|
|
1488
|
+
effects: m.effects ?? [],
|
|
1489
|
+
cornerRadius: m.cornerRadius ?? 0,
|
|
1490
|
+
...props
|
|
1491
|
+
});
|
|
1492
|
+
}
|
|
1493
|
+
function addNode(document, node, parentId) {
|
|
1494
|
+
const parent = document.nodes[parentId];
|
|
1495
|
+
if (!parent) {
|
|
1496
|
+
console.error("Parent node not found:", parentId);
|
|
1497
|
+
return document;
|
|
1498
|
+
}
|
|
1499
|
+
const updatedParent = {
|
|
1500
|
+
...parent,
|
|
1501
|
+
childIds: [...parent.childIds, node.id]
|
|
1502
|
+
};
|
|
1503
|
+
const updatedNode = {
|
|
1504
|
+
...node,
|
|
1505
|
+
parentId
|
|
1506
|
+
};
|
|
1507
|
+
return {
|
|
1508
|
+
...document,
|
|
1509
|
+
nodes: {
|
|
1510
|
+
...document.nodes,
|
|
1511
|
+
[parentId]: updatedParent,
|
|
1512
|
+
[node.id]: updatedNode
|
|
1513
|
+
}
|
|
1514
|
+
};
|
|
1515
|
+
}
|
|
1516
|
+
function removeNode(document, nodeId) {
|
|
1517
|
+
const node = document.nodes[nodeId];
|
|
1518
|
+
if (!node) return document;
|
|
1519
|
+
const newNodes = { ...document.nodes };
|
|
1520
|
+
if (node.parentId) {
|
|
1521
|
+
const parent = newNodes[node.parentId];
|
|
1522
|
+
if (parent) {
|
|
1523
|
+
newNodes[node.parentId] = {
|
|
1524
|
+
...parent,
|
|
1525
|
+
childIds: parent.childIds.filter((id) => id !== nodeId)
|
|
1526
|
+
};
|
|
1527
|
+
}
|
|
1528
|
+
}
|
|
1529
|
+
function removeRecursive(id) {
|
|
1530
|
+
const n = newNodes[id];
|
|
1531
|
+
if (n && n.childIds) {
|
|
1532
|
+
n.childIds.forEach(removeRecursive);
|
|
1533
|
+
}
|
|
1534
|
+
delete newNodes[id];
|
|
1535
|
+
}
|
|
1536
|
+
removeRecursive(nodeId);
|
|
1537
|
+
return {
|
|
1538
|
+
...document,
|
|
1539
|
+
nodes: newNodes
|
|
1540
|
+
};
|
|
1541
|
+
}
|
|
1542
|
+
function updateNode(document, nodeId, updates) {
|
|
1543
|
+
const node = document.nodes[nodeId];
|
|
1544
|
+
if (!node) return document;
|
|
1545
|
+
return {
|
|
1546
|
+
...document,
|
|
1547
|
+
nodes: {
|
|
1548
|
+
...document.nodes,
|
|
1549
|
+
[nodeId]: { ...node, ...updates }
|
|
1550
|
+
}
|
|
1551
|
+
};
|
|
1552
|
+
}
|
|
1553
|
+
function getDescendants(document, nodeId) {
|
|
1554
|
+
const result = [];
|
|
1555
|
+
const node = document.nodes[nodeId];
|
|
1556
|
+
if (!node) return result;
|
|
1557
|
+
function collectChildren(id) {
|
|
1558
|
+
const n = document.nodes[id];
|
|
1559
|
+
if (n) {
|
|
1560
|
+
result.push(n);
|
|
1561
|
+
n.childIds.forEach(collectChildren);
|
|
1562
|
+
}
|
|
1563
|
+
}
|
|
1564
|
+
node.childIds.forEach(collectChildren);
|
|
1565
|
+
return result;
|
|
1566
|
+
}
|
|
1567
|
+
function getAncestors(document, nodeId) {
|
|
1568
|
+
const ancestors = [];
|
|
1569
|
+
const node = document.nodes[nodeId];
|
|
1570
|
+
if (!node) return ancestors;
|
|
1571
|
+
let current = node;
|
|
1572
|
+
while (current.parentId) {
|
|
1573
|
+
const parent = document.nodes[current.parentId];
|
|
1574
|
+
if (parent) {
|
|
1575
|
+
ancestors.push(parent);
|
|
1576
|
+
current = parent;
|
|
1577
|
+
} else {
|
|
1578
|
+
break;
|
|
1579
|
+
}
|
|
1580
|
+
}
|
|
1581
|
+
return ancestors;
|
|
1582
|
+
}
|
|
1583
|
+
function applyConstraints(document, parentId, oldW, oldH, newW, newH) {
|
|
1584
|
+
const parent = document.nodes[parentId];
|
|
1585
|
+
if (!parent || !parent.childIds || parent.childIds.length === 0) return document;
|
|
1586
|
+
if (oldW === 0 || oldH === 0) return document;
|
|
1587
|
+
if (oldW === newW && oldH === newH) return document;
|
|
1588
|
+
if (parent.layoutMode && parent.layoutMode !== "NONE") {
|
|
1589
|
+
return document;
|
|
1590
|
+
}
|
|
1591
|
+
let newDoc = { ...document, nodes: { ...document.nodes } };
|
|
1592
|
+
const deltaW = newW - oldW;
|
|
1593
|
+
const deltaH = newH - oldH;
|
|
1594
|
+
const scaleX = newW / oldW;
|
|
1595
|
+
const scaleY = newH / oldH;
|
|
1596
|
+
for (const childId of parent.childIds) {
|
|
1597
|
+
const child = newDoc.nodes[childId];
|
|
1598
|
+
if (!child) continue;
|
|
1599
|
+
const hConstraint = child.constraints?.horizontal || "MIN";
|
|
1600
|
+
const vConstraint = child.constraints?.vertical || "MIN";
|
|
1601
|
+
let newX = child.x;
|
|
1602
|
+
let newChildW = child.width;
|
|
1603
|
+
let newY = child.y;
|
|
1604
|
+
let newChildH = child.height;
|
|
1605
|
+
switch (hConstraint) {
|
|
1606
|
+
case "MIN":
|
|
1607
|
+
break;
|
|
1608
|
+
case "MAX":
|
|
1609
|
+
newX += deltaW;
|
|
1610
|
+
break;
|
|
1611
|
+
case "CENTER":
|
|
1612
|
+
newX += deltaW / 2;
|
|
1613
|
+
break;
|
|
1614
|
+
case "STRETCH":
|
|
1615
|
+
newChildW = Math.max(1, newChildW + deltaW);
|
|
1616
|
+
break;
|
|
1617
|
+
case "SCALE":
|
|
1618
|
+
newX *= scaleX;
|
|
1619
|
+
newChildW = Math.max(1, newChildW * scaleX);
|
|
1620
|
+
break;
|
|
1621
|
+
}
|
|
1622
|
+
switch (vConstraint) {
|
|
1623
|
+
case "MIN":
|
|
1624
|
+
break;
|
|
1625
|
+
case "MAX":
|
|
1626
|
+
newY += deltaH;
|
|
1627
|
+
break;
|
|
1628
|
+
case "CENTER":
|
|
1629
|
+
newY += deltaH / 2;
|
|
1630
|
+
break;
|
|
1631
|
+
case "STRETCH":
|
|
1632
|
+
newChildH = Math.max(1, newChildH + deltaH);
|
|
1633
|
+
break;
|
|
1634
|
+
case "SCALE":
|
|
1635
|
+
newY *= scaleY;
|
|
1636
|
+
newChildH = Math.max(1, newChildH * scaleY);
|
|
1637
|
+
break;
|
|
1638
|
+
}
|
|
1639
|
+
if (newX !== child.x || newY !== child.y || newChildW !== child.width || newChildH !== child.height) {
|
|
1640
|
+
newDoc.nodes[childId] = {
|
|
1641
|
+
...child,
|
|
1642
|
+
x: newX,
|
|
1643
|
+
y: newY,
|
|
1644
|
+
width: newChildW,
|
|
1645
|
+
height: newChildH
|
|
1646
|
+
};
|
|
1647
|
+
if (newChildW !== child.width || newChildH !== child.height) {
|
|
1648
|
+
if ("childIds" in child && child.childIds && child.childIds.length > 0) {
|
|
1649
|
+
newDoc = applyConstraints(newDoc, childId, child.width, child.height, newChildW, newChildH);
|
|
1650
|
+
}
|
|
1651
|
+
}
|
|
1652
|
+
}
|
|
1653
|
+
}
|
|
1654
|
+
return newDoc;
|
|
1655
|
+
}
|
|
1656
|
+
function getRenderableNodes(document, pageId) {
|
|
1657
|
+
const result = [];
|
|
1658
|
+
function collectNodes(nodeId) {
|
|
1659
|
+
const node = document.nodes[nodeId];
|
|
1660
|
+
if (!node || !node.visible) return;
|
|
1661
|
+
if (node.type !== "PAGE") {
|
|
1662
|
+
result.push(node);
|
|
1663
|
+
}
|
|
1664
|
+
if (node.type === "PAGE") {
|
|
1665
|
+
node.childIds.forEach(collectNodes);
|
|
1666
|
+
}
|
|
1667
|
+
}
|
|
1668
|
+
collectNodes(pageId);
|
|
1669
|
+
return result;
|
|
1670
|
+
}
|
|
1671
|
+
function moveNodeInZOrder(document, nodeId, direction) {
|
|
1672
|
+
const node = document.nodes[nodeId];
|
|
1673
|
+
if (!node || !node.parentId) return document;
|
|
1674
|
+
const parent = document.nodes[node.parentId];
|
|
1675
|
+
if (!parent) return document;
|
|
1676
|
+
const siblings = [...parent.childIds];
|
|
1677
|
+
const currentIndex = siblings.indexOf(nodeId);
|
|
1678
|
+
if (currentIndex === -1) return document;
|
|
1679
|
+
siblings.splice(currentIndex, 1);
|
|
1680
|
+
let newIndex;
|
|
1681
|
+
switch (direction) {
|
|
1682
|
+
case "up":
|
|
1683
|
+
newIndex = Math.min(currentIndex + 1, siblings.length);
|
|
1684
|
+
break;
|
|
1685
|
+
case "down":
|
|
1686
|
+
newIndex = Math.max(currentIndex - 1, 0);
|
|
1687
|
+
break;
|
|
1688
|
+
case "top":
|
|
1689
|
+
newIndex = siblings.length;
|
|
1690
|
+
break;
|
|
1691
|
+
case "bottom":
|
|
1692
|
+
newIndex = 0;
|
|
1693
|
+
break;
|
|
1694
|
+
}
|
|
1695
|
+
siblings.splice(newIndex, 0, nodeId);
|
|
1696
|
+
return {
|
|
1697
|
+
...document,
|
|
1698
|
+
nodes: {
|
|
1699
|
+
...document.nodes,
|
|
1700
|
+
[node.parentId]: { ...parent, childIds: siblings }
|
|
1701
|
+
}
|
|
1702
|
+
};
|
|
1703
|
+
}
|
|
1704
|
+
function uprightBounds(t, width, height) {
|
|
1705
|
+
const hw = width / 2 * t.scaleX, hh = height / 2 * t.scaleY;
|
|
1706
|
+
return { minX: t.cx - hw, minY: t.cy - hh, maxX: t.cx + hw, maxY: t.cy + hh };
|
|
1707
|
+
}
|
|
1708
|
+
function unmirroredMatrix(t, width, height) {
|
|
1709
|
+
return withoutFlips(t.matrix, t.flipX, t.flipY, width, height);
|
|
1710
|
+
}
|
|
1711
|
+
function lineShaftEnds(t, width) {
|
|
1712
|
+
const hw = width / 2 * t.scaleX;
|
|
1713
|
+
const cos = Math.cos(t.rotationRad), sin = Math.sin(t.rotationRad);
|
|
1714
|
+
return [{ x: t.cx - hw * cos, y: t.cy - hw * sin }, { x: t.cx + hw * cos, y: t.cy + hw * sin }];
|
|
1715
|
+
}
|
|
1716
|
+
function place(outer, node, scroll) {
|
|
1717
|
+
const local = localMatrix(node, false, scroll?.x ?? 0, scroll?.y ?? 0);
|
|
1718
|
+
const flips = nodeFlips(node);
|
|
1719
|
+
return {
|
|
1720
|
+
m: outer === ROOT ? local : multiply(outer.m, local),
|
|
1721
|
+
flipX: outer.flipX !== flips.flipX,
|
|
1722
|
+
flipY: outer.flipY !== flips.flipY,
|
|
1723
|
+
angle: outer.sense * ((node.rotation || 0) * Math.PI / 180) + outer.angle,
|
|
1724
|
+
sense: flips.flipX === flips.flipY ? outer.sense : -outer.sense,
|
|
1725
|
+
conformal: outer.conformal && Math.abs(restValue(node, "scaleX")) === Math.abs(restValue(node, "scaleY"))
|
|
1726
|
+
};
|
|
1727
|
+
}
|
|
1728
|
+
function decomposed(outer, node, p) {
|
|
1729
|
+
const [lx, ly] = localCentre(node);
|
|
1730
|
+
const [cx, cy] = outer === ROOT ? [lx, ly] : apply(outer.m, lx, ly);
|
|
1731
|
+
const q = decompose(withoutFlips(p.m, p.flipX, p.flipY, node.width, node.height));
|
|
1732
|
+
return { cx, cy, rotationRad: p.conformal ? p.angle : q.rotation, flipX: p.flipX, flipY: p.flipY, scaleX: q.scaleX, scaleY: q.scaleY, matrix: p.m };
|
|
1733
|
+
}
|
|
1734
|
+
function detachedTransform(node) {
|
|
1735
|
+
return decomposed(ROOT, node, place(ROOT, node));
|
|
1736
|
+
}
|
|
1737
|
+
function rootPlacement(m, outer) {
|
|
1738
|
+
const mirrored = determinant(m) < 0;
|
|
1739
|
+
const q = decompose(m);
|
|
1740
|
+
const uniform = Math.abs(Math.abs(q.scaleX) - Math.abs(q.scaleY)) < 1e-9 && Math.abs(q.skew) < 1e-9;
|
|
1741
|
+
return {
|
|
1742
|
+
m: outer === ROOT ? m : multiply(m, outer.m),
|
|
1743
|
+
flipX: outer.flipX !== mirrored,
|
|
1744
|
+
flipY: outer.flipY,
|
|
1745
|
+
angle: outer.angle + q.rotation,
|
|
1746
|
+
sense: mirrored ? -outer.sense : outer.sense,
|
|
1747
|
+
conformal: outer.conformal && uniform
|
|
1748
|
+
};
|
|
1749
|
+
}
|
|
1750
|
+
function createResolver(nodes, scrollState, roots) {
|
|
1751
|
+
const placed = /* @__PURE__ */ new Map();
|
|
1752
|
+
const frames = /* @__PURE__ */ new Map();
|
|
1753
|
+
const transforms = /* @__PURE__ */ new Map();
|
|
1754
|
+
const rootFrames = /* @__PURE__ */ new Map();
|
|
1755
|
+
const outerOf = (node) => {
|
|
1756
|
+
const m = roots?.get(node.id);
|
|
1757
|
+
if (!m) return frameOf(node.parentId);
|
|
1758
|
+
let p = rootFrames.get(node.id);
|
|
1759
|
+
if (!p) {
|
|
1760
|
+
p = rootPlacement(m, frameOf(node.parentId));
|
|
1761
|
+
rootFrames.set(node.id, p);
|
|
1762
|
+
}
|
|
1763
|
+
return p;
|
|
1764
|
+
};
|
|
1765
|
+
const placementOf = (id) => {
|
|
1766
|
+
const cached = placed.get(id);
|
|
1767
|
+
if (cached !== void 0) return cached;
|
|
1768
|
+
const node = resolveVirtualNode(nodes, id);
|
|
1769
|
+
const hit = node ? { node, p: place(outerOf(node), node) } : null;
|
|
1770
|
+
placed.set(id, hit);
|
|
1771
|
+
return hit;
|
|
1772
|
+
};
|
|
1773
|
+
function frameOf(containerId) {
|
|
1774
|
+
if (!containerId) return ROOT;
|
|
1775
|
+
const cached = frames.get(containerId);
|
|
1776
|
+
if (cached) return cached;
|
|
1777
|
+
const c = placementOf(containerId);
|
|
1778
|
+
let frame = ROOT;
|
|
1779
|
+
if (c && c.node.type !== "PAGE") {
|
|
1780
|
+
const scroll = scrollState?.[c.node.id];
|
|
1781
|
+
frame = scroll ? place(outerOf(c.node), c.node, scroll) : c.p;
|
|
1782
|
+
}
|
|
1783
|
+
frames.set(containerId, frame);
|
|
1784
|
+
return frame;
|
|
1785
|
+
}
|
|
1786
|
+
return {
|
|
1787
|
+
matrixOf: (id) => placementOf(id)?.p.m ?? IDENTITY,
|
|
1788
|
+
transformOf: (id) => {
|
|
1789
|
+
const cached = transforms.get(id);
|
|
1790
|
+
if (cached) return cached;
|
|
1791
|
+
const hit = placementOf(id);
|
|
1792
|
+
if (!hit) return ZERO_TRANSFORM;
|
|
1793
|
+
const t = decomposed(outerOf(hit.node), hit.node, hit.p);
|
|
1794
|
+
transforms.set(id, t);
|
|
1795
|
+
return t;
|
|
1796
|
+
}
|
|
1797
|
+
};
|
|
1798
|
+
}
|
|
1799
|
+
function createWorldMatrixResolver(nodes, scrollState) {
|
|
1800
|
+
return createResolver(nodes, scrollState).matrixOf;
|
|
1801
|
+
}
|
|
1802
|
+
function createWorldTransformResolver(nodes, scrollState, roots) {
|
|
1803
|
+
return createResolver(nodes, scrollState, roots).transformOf;
|
|
1804
|
+
}
|
|
1805
|
+
function cachedResolver(nodes) {
|
|
1806
|
+
let r = resolverCache.get(nodes);
|
|
1807
|
+
if (!r) {
|
|
1808
|
+
r = createResolver(nodes);
|
|
1809
|
+
resolverCache.set(nodes, r);
|
|
1810
|
+
}
|
|
1811
|
+
return r;
|
|
1812
|
+
}
|
|
1813
|
+
function getWorldTransform(document, nodeId, scrollState) {
|
|
1814
|
+
return (scrollState ? createResolver(document.nodes, scrollState) : cachedResolver(document.nodes)).transformOf(nodeId);
|
|
1815
|
+
}
|
|
1816
|
+
function getWorldMatrix(document, nodeId, scrollState) {
|
|
1817
|
+
return (scrollState ? createResolver(document.nodes, scrollState) : cachedResolver(document.nodes)).matrixOf(nodeId);
|
|
1818
|
+
}
|
|
1819
|
+
function placementUnder(document, nodeId, newParentId) {
|
|
1820
|
+
const node = resolveVirtualNode(document.nodes, nodeId);
|
|
1821
|
+
if (!node) return null;
|
|
1822
|
+
const parent = resolveVirtualNode(document.nodes, newParentId);
|
|
1823
|
+
const inv = !parent || parent.type === "PAGE" ? IDENTITY : invert(getWorldMatrix(document, newParentId));
|
|
1824
|
+
if (!inv) return null;
|
|
1825
|
+
const local = multiply(inv, getWorldMatrix(document, nodeId));
|
|
1826
|
+
let flipH = !!node.flipHorizontal;
|
|
1827
|
+
const flipV = !!node.flipVertical;
|
|
1828
|
+
let m = withoutFlips(local, flipH, flipV, 0, 0);
|
|
1829
|
+
if (determinant(m) < 0) {
|
|
1830
|
+
flipH = !flipH;
|
|
1831
|
+
m = withoutFlips(m, true, false, 0, 0);
|
|
1832
|
+
}
|
|
1833
|
+
const q = decompose(m);
|
|
1834
|
+
const w = node.width, h = node.height;
|
|
1835
|
+
const ax = restValue(node, "anchorX"), ay = restValue(node, "anchorY");
|
|
1836
|
+
const [px, py] = apply(local, ax * w, ay * h);
|
|
1837
|
+
const scale = (key, v) => {
|
|
1838
|
+
const next = Math.abs(v - 1) < 1e-9 ? void 0 : v;
|
|
1839
|
+
return next === void 0 && node[key] === void 0 ? {} : { [key]: next };
|
|
1840
|
+
};
|
|
1841
|
+
return {
|
|
1842
|
+
x: px - ax * w - restValue(node, "translateX"),
|
|
1843
|
+
y: py - ay * h - restValue(node, "translateY"),
|
|
1844
|
+
rotation: nearestAngle(q.rotation * 180 / Math.PI, node.rotation || 0),
|
|
1845
|
+
...scale("scaleX", q.scaleX),
|
|
1846
|
+
...scale("scaleY", q.scaleY),
|
|
1847
|
+
...flipH !== !!node.flipHorizontal ? { flipHorizontal: flipH } : {}
|
|
1848
|
+
};
|
|
1849
|
+
}
|
|
1850
|
+
function componentsDrawnBy(document, rootId) {
|
|
1851
|
+
const out = /* @__PURE__ */ new Set();
|
|
1852
|
+
const stack = [rootId];
|
|
1853
|
+
const seen = /* @__PURE__ */ new Set();
|
|
1854
|
+
while (stack.length) {
|
|
1855
|
+
const id = stack.pop();
|
|
1856
|
+
if (seen.has(id)) continue;
|
|
1857
|
+
seen.add(id);
|
|
1858
|
+
const n = document.nodes[id];
|
|
1859
|
+
if (!n) continue;
|
|
1860
|
+
if (n.type === "INSTANCE" && n.mainComponentId) {
|
|
1861
|
+
const main = n.mainComponentId;
|
|
1862
|
+
out.add(main);
|
|
1863
|
+
stack.push(main);
|
|
1864
|
+
}
|
|
1865
|
+
if ("childIds" in n && n.childIds) for (const c of n.childIds) stack.push(c);
|
|
1866
|
+
}
|
|
1867
|
+
return out;
|
|
1868
|
+
}
|
|
1869
|
+
function wouldCreateCycle(document, nodeId, newParentId) {
|
|
1870
|
+
if (nodeId === newParentId) return true;
|
|
1871
|
+
const chain = [document.nodes[newParentId], ...getAncestors(document, newParentId)].filter(Boolean);
|
|
1872
|
+
if (chain.some((a) => a.id === nodeId)) return true;
|
|
1873
|
+
const drawn = componentsDrawnBy(document, nodeId);
|
|
1874
|
+
if (!drawn.size) return false;
|
|
1875
|
+
const enclosing = new Set(chain.filter((a) => a.type === "COMPONENT" || a.type === "COMPONENT_SET").map((a) => a.id));
|
|
1876
|
+
for (const c of drawn) if (enclosing.has(c)) return true;
|
|
1877
|
+
for (const c of drawn) {
|
|
1878
|
+
const comp = document.nodes[c];
|
|
1879
|
+
if (!comp) continue;
|
|
1880
|
+
for (const a of [comp, ...getAncestors(document, c)]) if (enclosing.has(a.id)) return true;
|
|
1881
|
+
}
|
|
1882
|
+
return false;
|
|
1883
|
+
}
|
|
1884
|
+
function wrapInComponent(document, ids, fallbackParentId, name = "Component") {
|
|
1885
|
+
const nodes = ids.map((id) => resolveVirtualNode(document.nodes, id)).filter(Boolean);
|
|
1886
|
+
if (!nodes.length) return null;
|
|
1887
|
+
let minX = Infinity, minY = Infinity, maxX = -Infinity, maxY = -Infinity;
|
|
1888
|
+
for (const n of nodes) {
|
|
1889
|
+
const b = uprightBounds(getWorldTransform(document, n.id), n.width, n.height);
|
|
1890
|
+
minX = Math.min(minX, b.minX);
|
|
1891
|
+
minY = Math.min(minY, b.minY);
|
|
1892
|
+
maxX = Math.max(maxX, b.maxX);
|
|
1893
|
+
maxY = Math.max(maxY, b.maxY);
|
|
1894
|
+
}
|
|
1895
|
+
const top = nodes.filter((n) => !n.parentId || !ids.includes(n.parentId));
|
|
1896
|
+
const parentId = (top[0] || nodes[0]).parentId ?? fallbackParentId;
|
|
1897
|
+
const parentNode = document.nodes[parentId];
|
|
1898
|
+
let x = minX, y = minY;
|
|
1899
|
+
if (parentNode && parentNode.type !== "PAGE") {
|
|
1900
|
+
const pw = getWorldTransform(document, parentId);
|
|
1901
|
+
x = minX - (pw.cx - parentNode.width / 2);
|
|
1902
|
+
y = minY - (pw.cy - parentNode.height / 2);
|
|
1903
|
+
}
|
|
1904
|
+
const component = createComponent({ x, y, width: maxX - minX, height: maxY - minY, name, fills: [], componentPropertyDefinitions: {} });
|
|
1905
|
+
let doc = addNode(document, component, parentId);
|
|
1906
|
+
for (const id of ids) {
|
|
1907
|
+
if (!doc.nodes[id]) continue;
|
|
1908
|
+
const placed = placementUnder(doc, id, component.id);
|
|
1909
|
+
if (placed) doc = updateNode(doc, id, placed);
|
|
1910
|
+
doc = reparentNode(doc, id, component.id);
|
|
1911
|
+
}
|
|
1912
|
+
return { document: doc, componentId: component.id };
|
|
1913
|
+
}
|
|
1914
|
+
function reparentNode(document, nodeId, newParentId, index) {
|
|
1915
|
+
const node = document.nodes[nodeId];
|
|
1916
|
+
if (!node) return document;
|
|
1917
|
+
const newParent = document.nodes[newParentId];
|
|
1918
|
+
if (!newParent) return document;
|
|
1919
|
+
if (wouldCreateCycle(document, nodeId, newParentId)) return document;
|
|
1920
|
+
const newNodes = { ...document.nodes };
|
|
1921
|
+
const updatedOldParentChildIds = node.parentId && newNodes[node.parentId] ? newNodes[node.parentId].childIds.filter((id) => id !== nodeId) : [];
|
|
1922
|
+
if (node.parentId && newNodes[node.parentId]) {
|
|
1923
|
+
newNodes[node.parentId] = {
|
|
1924
|
+
...newNodes[node.parentId],
|
|
1925
|
+
childIds: updatedOldParentChildIds
|
|
1926
|
+
};
|
|
1927
|
+
}
|
|
1928
|
+
const targetParentChildIds = node.parentId === newParentId ? updatedOldParentChildIds : [...newParent.childIds];
|
|
1929
|
+
if (index !== void 0) {
|
|
1930
|
+
targetParentChildIds.splice(index, 0, nodeId);
|
|
1931
|
+
} else {
|
|
1932
|
+
targetParentChildIds.push(nodeId);
|
|
1933
|
+
}
|
|
1934
|
+
newNodes[newParentId] = {
|
|
1935
|
+
...newNodes[newParentId],
|
|
1936
|
+
childIds: targetParentChildIds
|
|
1937
|
+
};
|
|
1938
|
+
newNodes[nodeId] = {
|
|
1939
|
+
...node,
|
|
1940
|
+
parentId: newParentId
|
|
1941
|
+
};
|
|
1942
|
+
return {
|
|
1943
|
+
...document,
|
|
1944
|
+
nodes: newNodes
|
|
1945
|
+
};
|
|
1946
|
+
}
|
|
1947
|
+
function duplicateNode(document, nodeId, offset = { x: 10, y: 10 }) {
|
|
1948
|
+
const node = document.nodes[nodeId];
|
|
1949
|
+
if (!node || !node.parentId) {
|
|
1950
|
+
return { document, newNodeId: "" };
|
|
1951
|
+
}
|
|
1952
|
+
function cloneNode(n) {
|
|
1953
|
+
const newNode2 = {
|
|
1954
|
+
...n,
|
|
1955
|
+
id: v4_default(),
|
|
1956
|
+
name: `${n.name} Copy`,
|
|
1957
|
+
x: n.x + offset.x,
|
|
1958
|
+
y: n.y + offset.y,
|
|
1959
|
+
childIds: []
|
|
1960
|
+
};
|
|
1961
|
+
const anyNode = newNode2;
|
|
1962
|
+
if (Array.isArray(anyNode.cells)) anyNode.cells = anyNode.cells.map((row) => row.map((c) => ({ ...c })));
|
|
1963
|
+
if (Array.isArray(anyNode.colWidths)) anyNode.colWidths = [...anyNode.colWidths];
|
|
1964
|
+
if (Array.isArray(anyNode.rowHeights)) anyNode.rowHeights = [...anyNode.rowHeights];
|
|
1965
|
+
return newNode2;
|
|
1966
|
+
}
|
|
1967
|
+
const newNode = cloneNode(node);
|
|
1968
|
+
let doc = addNode(document, newNode, node.parentId);
|
|
1969
|
+
function cloneChildren(originalId, newParentId) {
|
|
1970
|
+
const original = document.nodes[originalId];
|
|
1971
|
+
if (!original) return;
|
|
1972
|
+
original.childIds.forEach((childId) => {
|
|
1973
|
+
const child = document.nodes[childId];
|
|
1974
|
+
if (child) {
|
|
1975
|
+
const newChild = cloneNode(child);
|
|
1976
|
+
newChild.x = child.x;
|
|
1977
|
+
newChild.y = child.y;
|
|
1978
|
+
doc = addNode(doc, newChild, newParentId);
|
|
1979
|
+
cloneChildren(childId, newChild.id);
|
|
1980
|
+
}
|
|
1981
|
+
});
|
|
1982
|
+
}
|
|
1983
|
+
cloneChildren(nodeId, newNode.id);
|
|
1984
|
+
return { document: doc, newNodeId: newNode.id };
|
|
1985
|
+
}
|
|
1986
|
+
function getNodeBounds(document, nodeId) {
|
|
1987
|
+
const node = document.nodes[nodeId];
|
|
1988
|
+
if (!node) return null;
|
|
1989
|
+
if (node.childIds.length === 0) {
|
|
1990
|
+
return {
|
|
1991
|
+
x: node.x,
|
|
1992
|
+
y: node.y,
|
|
1993
|
+
width: node.width,
|
|
1994
|
+
height: node.height
|
|
1995
|
+
};
|
|
1996
|
+
}
|
|
1997
|
+
let minX = Infinity;
|
|
1998
|
+
let minY = Infinity;
|
|
1999
|
+
let maxX = -Infinity;
|
|
2000
|
+
let maxY = -Infinity;
|
|
2001
|
+
function updateBounds(n) {
|
|
2002
|
+
minX = Math.min(minX, n.x);
|
|
2003
|
+
minY = Math.min(minY, n.y);
|
|
2004
|
+
maxX = Math.max(maxX, n.x + n.width);
|
|
2005
|
+
maxY = Math.max(maxY, n.y + n.height);
|
|
2006
|
+
}
|
|
2007
|
+
if (node.type !== "PAGE" && node.type !== "GROUP") {
|
|
2008
|
+
updateBounds(node);
|
|
2009
|
+
}
|
|
2010
|
+
const descendants = getDescendants(document, nodeId);
|
|
2011
|
+
descendants.forEach(updateBounds);
|
|
2012
|
+
if (minX === Infinity) return null;
|
|
2013
|
+
return {
|
|
2014
|
+
x: minX,
|
|
2015
|
+
y: minY,
|
|
2016
|
+
width: maxX - minX,
|
|
2017
|
+
height: maxY - minY
|
|
2018
|
+
};
|
|
2019
|
+
}
|
|
2020
|
+
function getWorldRenderBounds(document, nodeId) {
|
|
2021
|
+
let minX = Infinity;
|
|
2022
|
+
let minY = Infinity;
|
|
2023
|
+
let maxX = -Infinity;
|
|
2024
|
+
let maxY = -Infinity;
|
|
2025
|
+
function bleedFor(node) {
|
|
2026
|
+
const scene = node;
|
|
2027
|
+
let bleed = 0;
|
|
2028
|
+
let maxStrokeW = 0;
|
|
2029
|
+
for (const s of scene.strokes ?? []) {
|
|
2030
|
+
const w = Array.isArray(s.width) ? Math.max(...s.width) : s.width;
|
|
2031
|
+
maxStrokeW = Math.max(maxStrokeW, w || 0);
|
|
2032
|
+
if (s.alignment === "OUTSIDE") bleed = Math.max(bleed, w);
|
|
2033
|
+
else if (s.alignment === "CENTER") bleed = Math.max(bleed, w / 2);
|
|
2034
|
+
}
|
|
2035
|
+
if (node.type === "LINE" || node.type === "ARROW") {
|
|
2036
|
+
if (node.type === "ARROW" && maxStrokeW === 0) maxStrokeW = 2;
|
|
2037
|
+
bleed = Math.max(bleed, maxStrokeW / 2);
|
|
2038
|
+
if (scene.startArrowhead && scene.startArrowhead !== "NONE" || scene.endArrowhead && scene.endArrowhead !== "NONE") {
|
|
2039
|
+
bleed = Math.max(bleed, Math.max(8, maxStrokeW * 4));
|
|
2040
|
+
}
|
|
2041
|
+
}
|
|
2042
|
+
for (const sh of shadowsOf(scene, document.styles)) {
|
|
2043
|
+
if (sh.type !== "DROP_SHADOW") continue;
|
|
2044
|
+
const reach = Math.max(Math.abs(sh.offset.x), Math.abs(sh.offset.y)) + sh.blur + sh.spread;
|
|
2045
|
+
bleed = Math.max(bleed, reach);
|
|
2046
|
+
}
|
|
2047
|
+
for (const bl of blursOf(scene, document.styles)) {
|
|
2048
|
+
if (bl.type === "LAYER") bleed = Math.max(bleed, bl.radius);
|
|
2049
|
+
}
|
|
2050
|
+
return bleed;
|
|
2051
|
+
}
|
|
2052
|
+
const world = cachedResolver(document.nodes);
|
|
2053
|
+
function visit(id) {
|
|
2054
|
+
const raw = document.nodes[id];
|
|
2055
|
+
if (!raw || !raw.visible) return;
|
|
2056
|
+
const node = resolveNodeVariables(raw, document.variables, document.variableCollections, document.activeVariableModes);
|
|
2057
|
+
const m = world.matrixOf(id);
|
|
2058
|
+
const b = aabbOf(m, node.width, node.height, bleedFor(node) * lengthScale(m));
|
|
2059
|
+
minX = Math.min(minX, b.minX);
|
|
2060
|
+
minY = Math.min(minY, b.minY);
|
|
2061
|
+
maxX = Math.max(maxX, b.maxX);
|
|
2062
|
+
maxY = Math.max(maxY, b.maxY);
|
|
2063
|
+
const clips = "clipsContent" in node && node.clipsContent;
|
|
2064
|
+
if (clips || node.type === "BOOLEAN") return;
|
|
2065
|
+
const scene = scene3dOf(node);
|
|
2066
|
+
if (scene) {
|
|
2067
|
+
const frame = sceneFrame(scene, node.width, node.height);
|
|
2068
|
+
const toWorld = mul4(mul4(fromAffine(m), frame.projection), frame.view);
|
|
2069
|
+
for (const card of sceneLayers(document.nodes, id)) {
|
|
2070
|
+
const pad = bleedFor(card.node);
|
|
2071
|
+
for (const [x, y] of projectRect(mul4(toWorld, card.model), -pad, -pad, card.node.width + pad, card.node.height + pad)) {
|
|
2072
|
+
minX = Math.min(minX, x);
|
|
2073
|
+
minY = Math.min(minY, y);
|
|
2074
|
+
maxX = Math.max(maxX, x);
|
|
2075
|
+
maxY = Math.max(maxY, y);
|
|
2076
|
+
}
|
|
2077
|
+
}
|
|
2078
|
+
return;
|
|
2079
|
+
}
|
|
2080
|
+
node.childIds.forEach(visit);
|
|
2081
|
+
}
|
|
2082
|
+
visit(nodeId);
|
|
2083
|
+
if (minX === Infinity) return null;
|
|
2084
|
+
return { minX, minY, maxX, maxY };
|
|
2085
|
+
}
|
|
2086
|
+
function gatherLineObstacles(document, line, startAbs, endAbs) {
|
|
2087
|
+
const excluded = /* @__PURE__ */ new Set([line.id]);
|
|
2088
|
+
for (const att of [line.connectorStart, line.connectorEnd]) {
|
|
2089
|
+
if (att && att.nodeId && document.nodes[att.nodeId]) {
|
|
2090
|
+
excluded.add(att.nodeId);
|
|
2091
|
+
for (const a of getAncestors(document, att.nodeId)) excluded.add(a.id);
|
|
2092
|
+
for (const d of getDescendants(document, att.nodeId)) excluded.add(d.id);
|
|
2093
|
+
}
|
|
2094
|
+
}
|
|
2095
|
+
const margin = 160;
|
|
2096
|
+
const rMinX = Math.min(startAbs.x, endAbs.x) - margin;
|
|
2097
|
+
const rMaxX = Math.max(startAbs.x, endAbs.x) + margin;
|
|
2098
|
+
const rMinY = Math.min(startAbs.y, endAbs.y) - margin;
|
|
2099
|
+
const rMaxY = Math.max(startAbs.y, endAbs.y) + margin;
|
|
2100
|
+
const rects = [];
|
|
2101
|
+
for (const n of Object.values(document.nodes)) {
|
|
2102
|
+
if (excluded.has(n.id) || n.visible === false || !OBSTACLE_TYPES.has(n.type)) continue;
|
|
2103
|
+
const { minX: ax, minY: ay, maxX: bx, maxY: by } = aabbOf(getWorldMatrix(document, n.id), n.width, n.height);
|
|
2104
|
+
if (bx < rMinX || ax > rMaxX || by < rMinY || ay > rMaxY) continue;
|
|
2105
|
+
rects.push({ x: ax, y: ay, w: bx - ax, h: by - ay });
|
|
2106
|
+
if (rects.length >= 40) break;
|
|
2107
|
+
}
|
|
2108
|
+
return rects;
|
|
2109
|
+
}
|
|
2110
|
+
function connectorIdsOf(nodes) {
|
|
2111
|
+
let ids = connectorIdCache.get(nodes);
|
|
2112
|
+
if (!ids) {
|
|
2113
|
+
ids = [];
|
|
2114
|
+
for (const id in nodes) {
|
|
2115
|
+
const t = nodes[id].type;
|
|
2116
|
+
if (t === "LINE" || t === "ARROW") ids.push(id);
|
|
2117
|
+
}
|
|
2118
|
+
connectorIdCache.set(nodes, ids);
|
|
2119
|
+
}
|
|
2120
|
+
return ids;
|
|
2121
|
+
}
|
|
2122
|
+
function carryConnectorIds(from, to) {
|
|
2123
|
+
if (from === to) return;
|
|
2124
|
+
const ids = connectorIdCache.get(from);
|
|
2125
|
+
if (ids && !connectorIdCache.has(to)) connectorIdCache.set(to, ids);
|
|
2126
|
+
}
|
|
2127
|
+
function updateConnectors(document, movedNodeIds) {
|
|
2128
|
+
const movedSet = new Set(movedNodeIds);
|
|
2129
|
+
const stack = [...movedNodeIds];
|
|
2130
|
+
while (stack.length) {
|
|
2131
|
+
const n = document.nodes[stack.pop()];
|
|
2132
|
+
if (n && Array.isArray(n.childIds)) {
|
|
2133
|
+
for (const cid of n.childIds) if (!movedSet.has(cid)) {
|
|
2134
|
+
movedSet.add(cid);
|
|
2135
|
+
stack.push(cid);
|
|
2136
|
+
}
|
|
2137
|
+
}
|
|
2138
|
+
}
|
|
2139
|
+
const ids = connectorIdsOf(document.nodes);
|
|
2140
|
+
if (ids.length === 0) return document;
|
|
2141
|
+
const connectors = [];
|
|
2142
|
+
for (const id of ids) {
|
|
2143
|
+
const node = document.nodes[id];
|
|
2144
|
+
if (node) connectors.push(node);
|
|
2145
|
+
}
|
|
2146
|
+
const affectedLineIds = /* @__PURE__ */ new Set();
|
|
2147
|
+
for (const node of connectors) {
|
|
2148
|
+
{
|
|
2149
|
+
const line = node;
|
|
2150
|
+
if (movedSet.has(line.id) || line.connectorStart && movedSet.has(line.connectorStart.nodeId) || line.connectorEnd && movedSet.has(line.connectorEnd.nodeId)) {
|
|
2151
|
+
affectedLineIds.add(line.id);
|
|
2152
|
+
}
|
|
2153
|
+
}
|
|
2154
|
+
}
|
|
2155
|
+
const movedBoxes = [];
|
|
2156
|
+
for (const id of movedSet) {
|
|
2157
|
+
const n = document.nodes[id];
|
|
2158
|
+
if (!n || n.type === "LINE" || n.type === "ARROW") continue;
|
|
2159
|
+
const b = uprightBounds(getWorldTransform(document, id), n.width, n.height);
|
|
2160
|
+
movedBoxes.push({ x0: b.minX, y0: b.minY, x1: b.maxX, y1: b.maxY });
|
|
2161
|
+
}
|
|
2162
|
+
if (movedBoxes.length) {
|
|
2163
|
+
const M = 48;
|
|
2164
|
+
for (const node of connectors) {
|
|
2165
|
+
if (node.routingMode !== "ORTHOGONAL") continue;
|
|
2166
|
+
if (affectedLineIds.has(node.id)) continue;
|
|
2167
|
+
const rp = node.routingPoints;
|
|
2168
|
+
if (!Array.isArray(rp) || rp.length === 0) continue;
|
|
2169
|
+
let lx0 = Infinity, ly0 = Infinity, lx1 = -Infinity, ly1 = -Infinity;
|
|
2170
|
+
for (const p of rp) {
|
|
2171
|
+
lx0 = Math.min(lx0, p.x);
|
|
2172
|
+
ly0 = Math.min(ly0, p.y);
|
|
2173
|
+
lx1 = Math.max(lx1, p.x);
|
|
2174
|
+
ly1 = Math.max(ly1, p.y);
|
|
2175
|
+
}
|
|
2176
|
+
for (const b of movedBoxes) {
|
|
2177
|
+
if (lx1 >= b.x0 - M && lx0 <= b.x1 + M && ly1 >= b.y0 - M && ly0 <= b.y1 + M) {
|
|
2178
|
+
affectedLineIds.add(node.id);
|
|
2179
|
+
break;
|
|
2180
|
+
}
|
|
2181
|
+
}
|
|
2182
|
+
}
|
|
2183
|
+
}
|
|
2184
|
+
if (affectedLineIds.size === 0) return document;
|
|
2185
|
+
const newDoc = { ...document, nodes: { ...document.nodes } };
|
|
2186
|
+
for (const lineId of affectedLineIds) {
|
|
2187
|
+
const line = newDoc.nodes[lineId];
|
|
2188
|
+
const [shaftA, shaftB] = lineShaftEnds(getWorldTransform(document, line.id), line.width);
|
|
2189
|
+
const routed = (line.routingMode === "ORTHOGONAL" || line.routingMode === "BEZIER") && Array.isArray(line.routingPoints) && line.routingPoints.length >= 2;
|
|
2190
|
+
let absA = routed ? { x: line.routingPoints[0].x, y: line.routingPoints[0].y } : shaftA;
|
|
2191
|
+
let absB = routed ? { x: line.routingPoints[line.routingPoints.length - 1].x, y: line.routingPoints[line.routingPoints.length - 1].y } : shaftB;
|
|
2192
|
+
const getTargetAbs = (attachment) => {
|
|
2193
|
+
if (!attachment) return null;
|
|
2194
|
+
const targetNode = newDoc.nodes[attachment.nodeId];
|
|
2195
|
+
if (!targetNode) return null;
|
|
2196
|
+
const a = getConnectorAnchorLocal(targetNode, attachment.position);
|
|
2197
|
+
const [x, y] = apply(unmirroredMatrix(getWorldTransform(document, targetNode.id), targetNode.width, targetNode.height), a.x, a.y);
|
|
2198
|
+
return { x, y };
|
|
2199
|
+
};
|
|
2200
|
+
const newA = getTargetAbs(line.connectorStart);
|
|
2201
|
+
const newB = getTargetAbs(line.connectorEnd);
|
|
2202
|
+
if (newA) absA = newA;
|
|
2203
|
+
if (newB) absB = newB;
|
|
2204
|
+
if (!newA && !newB) continue;
|
|
2205
|
+
const inverseTransformPoint = (worldPt, parentId) => {
|
|
2206
|
+
const parentNode = newDoc.nodes[parentId];
|
|
2207
|
+
if (!parentNode || parentNode.type === "PAGE") return worldPt;
|
|
2208
|
+
const inv = invert(getWorldMatrix(document, parentId));
|
|
2209
|
+
if (!inv) return worldPt;
|
|
2210
|
+
const [x, y] = apply(inv, worldPt.x, worldPt.y);
|
|
2211
|
+
return { x, y };
|
|
2212
|
+
};
|
|
2213
|
+
let parentA = absA;
|
|
2214
|
+
let parentB = absB;
|
|
2215
|
+
if (line.parentId) {
|
|
2216
|
+
parentA = inverseTransformPoint(absA, line.parentId);
|
|
2217
|
+
parentB = inverseTransformPoint(absB, line.parentId);
|
|
2218
|
+
}
|
|
2219
|
+
const dx = parentB.x - parentA.x;
|
|
2220
|
+
const dy = parentB.y - parentA.y;
|
|
2221
|
+
const newWidth = Math.hypot(dx, dy);
|
|
2222
|
+
const newRotation = Math.atan2(dy, dx) * 180 / Math.PI;
|
|
2223
|
+
const updatedLine = {
|
|
2224
|
+
...line,
|
|
2225
|
+
width: newWidth,
|
|
2226
|
+
rotation: newRotation,
|
|
2227
|
+
x: (parentA.x + parentB.x) / 2 - newWidth / 2,
|
|
2228
|
+
y: (parentA.y + parentB.y) / 2 - Math.max(line.strokeWeight || 1, 2) / 2,
|
|
2229
|
+
height: Math.max(line.strokeWeight || 1, 2)
|
|
2230
|
+
};
|
|
2231
|
+
if (line.routingMode === "ORTHOGONAL" || line.routingMode === "BEZIER") {
|
|
2232
|
+
const getDir = (attach, defaultDir) => {
|
|
2233
|
+
if (!attach) return defaultDir;
|
|
2234
|
+
return connectorPositionDir(attach.position);
|
|
2235
|
+
};
|
|
2236
|
+
const sDir = getDir(line.connectorStart, "CENTER");
|
|
2237
|
+
const eDir = getDir(line.connectorEnd, "CENTER");
|
|
2238
|
+
const routeOpts = {
|
|
2239
|
+
startPos: absA,
|
|
2240
|
+
endPos: absB,
|
|
2241
|
+
startDir: sDir,
|
|
2242
|
+
endDir: eDir
|
|
2243
|
+
};
|
|
2244
|
+
if (line.routingMode === "ORTHOGONAL") {
|
|
2245
|
+
routeOpts.obstacles = gatherLineObstacles(newDoc, line, absA, absB);
|
|
2246
|
+
}
|
|
2247
|
+
const pts = line.routingMode === "BEZIER" ? calculateBezierPath(routeOpts) : calculateOrthogonalPath(routeOpts);
|
|
2248
|
+
updatedLine.routingPoints = pts;
|
|
2249
|
+
if (pts.length > 0) {
|
|
2250
|
+
let minX = Infinity, minY = Infinity, maxX = -Infinity, maxY = -Infinity;
|
|
2251
|
+
for (const p of pts) {
|
|
2252
|
+
minX = Math.min(minX, p.x);
|
|
2253
|
+
minY = Math.min(minY, p.y);
|
|
2254
|
+
maxX = Math.max(maxX, p.x);
|
|
2255
|
+
maxY = Math.max(maxY, p.y);
|
|
2256
|
+
}
|
|
2257
|
+
const originLocal = line.parentId ? inverseTransformPoint({ x: minX, y: minY }, line.parentId) : { x: minX, y: minY };
|
|
2258
|
+
updatedLine.width = Math.max(1, maxX - minX);
|
|
2259
|
+
updatedLine.height = Math.max(1, maxY - minY);
|
|
2260
|
+
updatedLine.x = originLocal.x;
|
|
2261
|
+
updatedLine.y = originLocal.y;
|
|
2262
|
+
updatedLine.rotation = 0;
|
|
2263
|
+
}
|
|
2264
|
+
} else {
|
|
2265
|
+
updatedLine.routingPoints = void 0;
|
|
2266
|
+
}
|
|
2267
|
+
newDoc.nodes[lineId] = updatedLine;
|
|
2268
|
+
}
|
|
2269
|
+
carryConnectorIds(document.nodes, newDoc.nodes);
|
|
2270
|
+
return newDoc;
|
|
2271
|
+
}
|
|
2272
|
+
var ZERO_TRANSFORM, ROOT, resolverCache, OBSTACLE_TYPES, connectorIdCache;
|
|
2273
|
+
var init_scene_graph = __esm({
|
|
2274
|
+
"lib/document/scene-graph.ts"() {
|
|
2275
|
+
init_define_POPCRAFT_COMPONENT_IDS();
|
|
2276
|
+
init_dist_node();
|
|
2277
|
+
init_effects();
|
|
2278
|
+
init_variables();
|
|
2279
|
+
init_instances();
|
|
2280
|
+
init_instance_layout();
|
|
2281
|
+
init_cells();
|
|
2282
|
+
init_palettes();
|
|
2283
|
+
init_transform();
|
|
2284
|
+
init_types();
|
|
2285
|
+
init_scene3d();
|
|
2286
|
+
init_transform3d();
|
|
2287
|
+
init_routing();
|
|
2288
|
+
init_shape_outline();
|
|
2289
|
+
ZERO_TRANSFORM = { cx: 0, cy: 0, rotationRad: 0, flipX: false, flipY: false, scaleX: 1, scaleY: 1, matrix: IDENTITY };
|
|
2290
|
+
ROOT = { m: IDENTITY, flipX: false, flipY: false, angle: 0, sense: 1, conformal: true };
|
|
2291
|
+
resolverCache = /* @__PURE__ */ new WeakMap();
|
|
2292
|
+
setVirtualResolver(resolveVirtualNode);
|
|
2293
|
+
OBSTACLE_TYPES = /* @__PURE__ */ new Set([
|
|
2294
|
+
"FRAME",
|
|
2295
|
+
"RECTANGLE",
|
|
2296
|
+
"ELLIPSE",
|
|
2297
|
+
"POLYGON",
|
|
2298
|
+
"STAR",
|
|
2299
|
+
"TEXT",
|
|
2300
|
+
"VECTOR",
|
|
2301
|
+
"BOOLEAN",
|
|
2302
|
+
"TABLE",
|
|
2303
|
+
"COMPONENT",
|
|
2304
|
+
"COMPONENT_SET",
|
|
2305
|
+
"INSTANCE",
|
|
2306
|
+
"STICKY",
|
|
2307
|
+
"IMAGE"
|
|
2308
|
+
]);
|
|
2309
|
+
connectorIdCache = /* @__PURE__ */ new WeakMap();
|
|
2310
|
+
setSceneApi({ resolve: resolveVirtualNode, childId: virtualChildId, rootOf: virtualRootOf });
|
|
2311
|
+
}
|
|
2312
|
+
});
|
|
2313
|
+
|
|
2314
|
+
// lib/document/print-pages.ts
|
|
2315
|
+
var print_pages_exports = {};
|
|
2316
|
+
__export(print_pages_exports, {
|
|
2317
|
+
addHeaderFooterToMaster: () => addHeaderFooterToMaster,
|
|
2318
|
+
assignMaster: () => assignMaster,
|
|
2319
|
+
createMasterPage: () => createMasterPage,
|
|
2320
|
+
createPrintPage: () => createPrintPage,
|
|
2321
|
+
currentPrintPage: () => currentPrintPage,
|
|
2322
|
+
documentFromPreset: () => documentFromPreset,
|
|
2323
|
+
effectiveMasterId: () => effectiveMasterId,
|
|
2324
|
+
foldGuides: () => foldGuides,
|
|
2325
|
+
foldGuidesAt: () => foldGuidesAt,
|
|
2326
|
+
foldsOn: () => foldsOn,
|
|
2327
|
+
isFixedPageKind: () => isFixedPageKind,
|
|
2328
|
+
isMasterPage: () => isMasterPage,
|
|
2329
|
+
isPrintPage: () => isPrintPage,
|
|
2330
|
+
jobPageSize: () => jobPageSize,
|
|
2331
|
+
listMasterPages: () => listMasterPages,
|
|
2332
|
+
listPrintPages: () => listPrintPages,
|
|
2333
|
+
pagePosition: () => pagePosition,
|
|
2334
|
+
placePrintPages: () => placePrintPages,
|
|
2335
|
+
printPageOf: () => printPageOf,
|
|
2336
|
+
reorderPrintPages: () => reorderPrintPages,
|
|
2337
|
+
settingsFromPreset: () => settingsFromPreset
|
|
2338
|
+
});
|
|
2339
|
+
function listPrintPages(doc, pageId) {
|
|
2340
|
+
const page = doc.nodes[pageId];
|
|
2341
|
+
if (!page) return [];
|
|
2342
|
+
return ordered(page.childIds.map((id) => doc.nodes[id]).filter(isPrintPage));
|
|
2343
|
+
}
|
|
2344
|
+
function listMasterPages(doc, pageId) {
|
|
2345
|
+
const page = doc.nodes[pageId];
|
|
2346
|
+
if (!page) return [];
|
|
2347
|
+
return ordered(page.childIds.map((id) => doc.nodes[id]).filter(isMasterPage));
|
|
2348
|
+
}
|
|
2349
|
+
function printPageOf(nodes, nodeId) {
|
|
2350
|
+
let cur = nodes[nodeId.includes("::") ? nodeId.split("::")[0] : nodeId];
|
|
2351
|
+
while (cur && cur.type !== "PAGE") {
|
|
2352
|
+
if (cur.type === "FRAME" && cur.print?.isPrintPage) return cur;
|
|
2353
|
+
cur = cur.parentId ? nodes[cur.parentId] : void 0;
|
|
2354
|
+
}
|
|
2355
|
+
return null;
|
|
2356
|
+
}
|
|
2357
|
+
function currentPrintPage(doc, pageId, o = {}) {
|
|
2358
|
+
const pages = listPrintPages(doc, pageId);
|
|
2359
|
+
if (!pages.length) return null;
|
|
2360
|
+
for (const id of o.selection ?? []) {
|
|
2361
|
+
const owner = printPageOf(doc.nodes, id);
|
|
2362
|
+
if (owner && pages.some((p) => p.id === owner.id)) return owner;
|
|
2363
|
+
}
|
|
2364
|
+
const c = o.centre;
|
|
2365
|
+
if (c) {
|
|
2366
|
+
const inside = pages.find((p) => c.x >= p.x && c.x <= p.x + p.width && c.y >= p.y && c.y <= p.y + p.height);
|
|
2367
|
+
if (inside) return inside;
|
|
2368
|
+
let best = pages[0], bestD = Infinity;
|
|
2369
|
+
for (const p of pages) {
|
|
2370
|
+
const dx = Math.max(p.x - c.x, 0, c.x - (p.x + p.width));
|
|
2371
|
+
const dy = Math.max(p.y - c.y, 0, c.y - (p.y + p.height));
|
|
2372
|
+
const d = dx * dx + dy * dy;
|
|
2373
|
+
if (d < bestD) {
|
|
2374
|
+
bestD = d;
|
|
2375
|
+
best = p;
|
|
2376
|
+
}
|
|
2377
|
+
}
|
|
2378
|
+
return best;
|
|
2379
|
+
}
|
|
2380
|
+
return pages[0];
|
|
2381
|
+
}
|
|
2382
|
+
function jobPageSize(doc) {
|
|
2383
|
+
const size = doc.settings?.pageSize;
|
|
2384
|
+
if (!size) return void 0;
|
|
2385
|
+
const preset = presetById(size.presetId);
|
|
2386
|
+
const of = preset?.sheetOf ? presetById(preset.sheetOf.presetId) : void 0;
|
|
2387
|
+
if (of) {
|
|
2388
|
+
const px = presetPx(of);
|
|
2389
|
+
return { width: px.width, height: px.height };
|
|
2390
|
+
}
|
|
2391
|
+
return { width: size.width, height: size.height };
|
|
2392
|
+
}
|
|
2393
|
+
function settingsFromPreset(preset) {
|
|
2394
|
+
const px = presetPx(preset);
|
|
2395
|
+
const s = {
|
|
2396
|
+
kind: kindForCategory(preset.category),
|
|
2397
|
+
pageSize: { width: px.width, height: px.height, presetId: preset.id }
|
|
2398
|
+
};
|
|
2399
|
+
if (preset.unit !== "px") s.units = preset.unit;
|
|
2400
|
+
if (preset.dpi) s.dpi = preset.dpi;
|
|
2401
|
+
if (px.bleed) s.bleed = edges(px.bleed);
|
|
2402
|
+
if (px.margin) s.margins = edges(px.margin);
|
|
2403
|
+
return s;
|
|
2404
|
+
}
|
|
2405
|
+
function pagePosition(index, size, facing) {
|
|
2406
|
+
if (!facing) return { x: index * (size.width + gutter(size.width)), y: 0 };
|
|
2407
|
+
const spread = Math.ceil(index / 2);
|
|
2408
|
+
const right = index % 2 === 0;
|
|
2409
|
+
return { x: right ? size.width : 0, y: spread * (size.height + gutter(size.width)) };
|
|
2410
|
+
}
|
|
2411
|
+
function placePrintPages(doc, pageId) {
|
|
2412
|
+
const patches = {};
|
|
2413
|
+
const facing = doc.settings?.facingPages;
|
|
2414
|
+
const place2 = (frames, at) => frames.forEach((f, i) => {
|
|
2415
|
+
const p = at(i, f);
|
|
2416
|
+
if (f.x !== p.x || f.y !== p.y) patches[f.id] = { ...patches[f.id] ?? {}, ...p };
|
|
2417
|
+
});
|
|
2418
|
+
place2(listPrintPages(doc, pageId), (i, f) => pagePosition(i, f, facing));
|
|
2419
|
+
place2(listMasterPages(doc, pageId), (i, f) => masterPosition(i, f));
|
|
2420
|
+
return patches;
|
|
2421
|
+
}
|
|
2422
|
+
function foldGuides(preset, width, height) {
|
|
2423
|
+
if (!preset.folds) return [];
|
|
2424
|
+
const span = preset.folds.axis === "X" ? width : height;
|
|
2425
|
+
return preset.folds.at.map((t) => ({ id: v4_default(), axis: preset.folds.axis, pos: Math.round(t * span), kind: "FOLD" }));
|
|
2426
|
+
}
|
|
2427
|
+
function foldGuidesAt(preset, frame) {
|
|
2428
|
+
if (!preset?.folds) return [];
|
|
2429
|
+
return foldGuides(preset, frame.width, frame.height).map((g) => ({ ...g, pos: g.pos + (g.axis === "X" ? frame.x : frame.y) }));
|
|
2430
|
+
}
|
|
2431
|
+
function createPrintPage(doc, pageId, opts = {}) {
|
|
2432
|
+
const existing = listPrintPages(doc, pageId);
|
|
2433
|
+
const preset = opts.preset ?? presetById(doc.settings?.pageSize?.presetId);
|
|
2434
|
+
const size = preset ? presetPx(preset) : { width: doc.settings?.pageSize?.width ?? 816, height: doc.settings?.pageSize?.height ?? 1056 };
|
|
2435
|
+
const index = existing.length;
|
|
2436
|
+
const last = existing[existing.length - 1];
|
|
2437
|
+
const frame = createFrame({
|
|
2438
|
+
name: opts.name ?? `Page ${index + 1}`,
|
|
2439
|
+
...pagePosition(index, size, doc.settings?.facingPages),
|
|
2440
|
+
width: size.width,
|
|
2441
|
+
height: size.height,
|
|
2442
|
+
fills: [{ type: "SOLID", color: createColor(1, 1, 1), opacity: 1, visible: true }],
|
|
2443
|
+
clipsContent: true,
|
|
2444
|
+
print: { isPrintPage: true, index, ...last?.print?.masterId ? { masterId: last.print.masterId } : {} }
|
|
2445
|
+
});
|
|
2446
|
+
frame.parentId = pageId;
|
|
2447
|
+
return frame;
|
|
2448
|
+
}
|
|
2449
|
+
function createMasterPage(doc, pageId, opts = {}) {
|
|
2450
|
+
const masters = listMasterPages(doc, pageId);
|
|
2451
|
+
const preset = presetById(doc.settings?.pageSize?.presetId);
|
|
2452
|
+
const size = preset ? presetPx(preset) : { width: doc.settings?.pageSize?.width ?? 816, height: doc.settings?.pageSize?.height ?? 1056 };
|
|
2453
|
+
const index = masters.length;
|
|
2454
|
+
const frame = createFrame({
|
|
2455
|
+
name: opts.name ?? `${MASTER_NAMES[index % MASTER_NAMES.length]}-Master`,
|
|
2456
|
+
...masterPosition(index, size),
|
|
2457
|
+
width: size.width,
|
|
2458
|
+
height: size.height,
|
|
2459
|
+
fills: [{ type: "SOLID", color: createColor(1, 1, 1), opacity: 1, visible: true }],
|
|
2460
|
+
clipsContent: true,
|
|
2461
|
+
print: { isPrintPage: true, isMaster: true, index }
|
|
2462
|
+
});
|
|
2463
|
+
frame.parentId = pageId;
|
|
2464
|
+
return frame;
|
|
2465
|
+
}
|
|
2466
|
+
function assignMaster(doc, pageIds, masterId) {
|
|
2467
|
+
const patches = {};
|
|
2468
|
+
if (masterId && !isMasterPage(doc.nodes[masterId])) return patches;
|
|
2469
|
+
for (const id of pageIds) {
|
|
2470
|
+
const f = doc.nodes[id];
|
|
2471
|
+
if (!isPrintPage(f) || (f.print.masterId ?? void 0) === masterId) continue;
|
|
2472
|
+
const { masterId: _drop, ...rest } = f.print;
|
|
2473
|
+
patches[id] = { print: masterId ? { ...rest, masterId } : rest };
|
|
2474
|
+
}
|
|
2475
|
+
return patches;
|
|
2476
|
+
}
|
|
2477
|
+
function effectiveMasterId(doc, frame) {
|
|
2478
|
+
const print = frame.print;
|
|
2479
|
+
if (!print || print.isMaster || !frame.parentId) return void 0;
|
|
2480
|
+
const pages = listPrintPages(doc, frame.parentId);
|
|
2481
|
+
const index = pages.findIndex((p) => p.id === frame.id);
|
|
2482
|
+
if (index < 0) return print.masterId;
|
|
2483
|
+
if (index === 0 && print.masterIdFirst && isMasterPage(doc.nodes[print.masterIdFirst])) return print.masterIdFirst;
|
|
2484
|
+
if (doc.settings?.facingPages && index >= 0) {
|
|
2485
|
+
const isRight = (index + 1) % 2 === 1;
|
|
2486
|
+
if (!isRight && print.masterIdLeft && isMasterPage(doc.nodes[print.masterIdLeft])) return print.masterIdLeft;
|
|
2487
|
+
if (isRight && print.masterIdRight && isMasterPage(doc.nodes[print.masterIdRight])) return print.masterIdRight;
|
|
2488
|
+
}
|
|
2489
|
+
return print.masterId;
|
|
2490
|
+
}
|
|
2491
|
+
function addHeaderFooterToMaster(doc, masterId, kind) {
|
|
2492
|
+
const master = doc.nodes[masterId];
|
|
2493
|
+
if (!isMasterPage(master)) return null;
|
|
2494
|
+
const margin = 36;
|
|
2495
|
+
const height = 24;
|
|
2496
|
+
const y = kind === "header" ? margin : Math.max(margin, master.height - margin - height);
|
|
2497
|
+
const text = createText({
|
|
2498
|
+
name: kind === "header" ? "Header" : "Footer",
|
|
2499
|
+
x: margin,
|
|
2500
|
+
y,
|
|
2501
|
+
width: Math.max(40, master.width - margin * 2),
|
|
2502
|
+
height,
|
|
2503
|
+
characters: kind === "footer" ? "{{page}}" : "Header",
|
|
2504
|
+
fontSize: 10,
|
|
2505
|
+
textAlign: kind === "footer" ? "CENTER" : "LEFT"
|
|
2506
|
+
});
|
|
2507
|
+
const next = addNode(doc, text, masterId);
|
|
2508
|
+
const band = kind === "header" ? { headerHeight: margin + height + 8 } : { footerHeight: margin + height + 8 };
|
|
2509
|
+
const updated = {
|
|
2510
|
+
...next,
|
|
2511
|
+
nodes: {
|
|
2512
|
+
...next.nodes,
|
|
2513
|
+
[masterId]: {
|
|
2514
|
+
...next.nodes[masterId],
|
|
2515
|
+
print: { ...next.nodes[masterId].print, ...band }
|
|
2516
|
+
}
|
|
2517
|
+
}
|
|
2518
|
+
};
|
|
2519
|
+
return { doc: updated, textId: text.id };
|
|
2520
|
+
}
|
|
2521
|
+
function reorderPrintPages(doc, pageId, orderedIds) {
|
|
2522
|
+
const current = listPrintPages(doc, pageId);
|
|
2523
|
+
const rest = current.map((f) => f.id).filter((id) => !orderedIds.includes(id));
|
|
2524
|
+
const patches = {};
|
|
2525
|
+
[...orderedIds, ...rest].forEach((id, index) => {
|
|
2526
|
+
const f = doc.nodes[id];
|
|
2527
|
+
if (isPrintPage(f) && f.print.index !== index) patches[id] = { print: { ...f.print, index } };
|
|
2528
|
+
});
|
|
2529
|
+
const renumbered = { ...doc, nodes: { ...doc.nodes } };
|
|
2530
|
+
for (const id in patches) renumbered.nodes[id] = { ...doc.nodes[id], ...patches[id] };
|
|
2531
|
+
const placed = placePrintPages(renumbered, pageId);
|
|
2532
|
+
for (const id in placed) patches[id] = { ...patches[id] ?? {}, ...placed[id] };
|
|
2533
|
+
return patches;
|
|
2534
|
+
}
|
|
2535
|
+
function documentFromPreset(name, preset) {
|
|
2536
|
+
const doc = createDocument(name, settingsFromPreset(preset));
|
|
2537
|
+
const pageId = doc.pages[0];
|
|
2538
|
+
const first = createPrintPage(doc, pageId, { preset, name: isFixedPageKind(doc.settings?.kind) ? "Page 1" : preset.name });
|
|
2539
|
+
if (!isFixedPageKind(doc.settings?.kind)) delete first.print;
|
|
2540
|
+
const page = doc.nodes[pageId];
|
|
2541
|
+
doc.nodes[first.id] = first;
|
|
2542
|
+
doc.nodes[pageId] = { ...page, childIds: [...page.childIds, first.id] };
|
|
2543
|
+
const guides = foldGuides(preset, first.width, first.height).map((g) => ({ ...g, pos: g.pos + (g.axis === "X" ? first.x : first.y) }));
|
|
2544
|
+
if (guides.length) doc.nodes[pageId].guides = guides;
|
|
2545
|
+
return doc;
|
|
2546
|
+
}
|
|
2547
|
+
var isFixedPageKind, isPrintPage, isMasterPage, ordered, edges, gutter, masterPosition, foldsOn, MASTER_NAMES;
|
|
2548
|
+
var init_print_pages = __esm({
|
|
2549
|
+
"lib/document/print-pages.ts"() {
|
|
2550
|
+
init_define_POPCRAFT_COMPONENT_IDS();
|
|
2551
|
+
init_dist_node();
|
|
2552
|
+
init_scene_graph();
|
|
2553
|
+
init_types();
|
|
2554
|
+
init_page_presets();
|
|
2555
|
+
isFixedPageKind = (kind) => kind === "PRINT" || kind === "SOCIAL" || kind === "PRESENTATION" || kind === "EMAIL";
|
|
2556
|
+
isPrintPage = (n) => !!n && n.type === "FRAME" && !!n.print?.isPrintPage && !n.print?.isMaster;
|
|
2557
|
+
isMasterPage = (n) => !!n && n.type === "FRAME" && !!n.print?.isMaster;
|
|
2558
|
+
ordered = (frames) => frames.map((f, i) => ({ f, i })).sort((a, b) => (a.f.print.index ?? Infinity) - (b.f.print.index ?? Infinity) || a.f.y - b.f.y || a.f.x - b.f.x || a.i - b.i).map((x) => x.f);
|
|
2559
|
+
edges = (v) => ({ top: v, right: v, bottom: v, left: v });
|
|
2560
|
+
gutter = (w) => Math.round(w * 0.15);
|
|
2561
|
+
masterPosition = (index, size) => ({
|
|
2562
|
+
x: index * (size.width + gutter(size.width)),
|
|
2563
|
+
y: -(size.height + 2 * gutter(size.width))
|
|
2564
|
+
});
|
|
2565
|
+
foldsOn = (guides, frame) => (guides ?? []).filter((g) => g.kind === "FOLD" && (g.axis === "X" ? g.pos >= frame.x && g.pos <= frame.x + frame.width : g.pos >= frame.y && g.pos <= frame.y + frame.height));
|
|
2566
|
+
MASTER_NAMES = "ABCDEFGHIJKLMNOPQRSTUVWXYZ";
|
|
2567
|
+
}
|
|
2568
|
+
});
|
|
2569
|
+
|
|
2570
|
+
export {
|
|
2571
|
+
calculateOrthogonalPath,
|
|
2572
|
+
trimPolyline,
|
|
2573
|
+
calculateBezierPath,
|
|
2574
|
+
init_routing,
|
|
2575
|
+
flattenPaths,
|
|
2576
|
+
init_flatten,
|
|
2577
|
+
glyphLinear,
|
|
2578
|
+
init_glyph_linear,
|
|
2579
|
+
glyphOutline,
|
|
2580
|
+
glyphInstancesToRings,
|
|
2581
|
+
init_text_rings,
|
|
2582
|
+
shapeToRings,
|
|
2583
|
+
init_shape_outline,
|
|
2584
|
+
isFixedPageKind,
|
|
2585
|
+
isPrintPage,
|
|
2586
|
+
isMasterPage,
|
|
2587
|
+
listPrintPages,
|
|
2588
|
+
listMasterPages,
|
|
2589
|
+
printPageOf,
|
|
2590
|
+
currentPrintPage,
|
|
2591
|
+
jobPageSize,
|
|
2592
|
+
settingsFromPreset,
|
|
2593
|
+
pagePosition,
|
|
2594
|
+
placePrintPages,
|
|
2595
|
+
foldGuides,
|
|
2596
|
+
foldGuidesAt,
|
|
2597
|
+
foldsOn,
|
|
2598
|
+
createPrintPage,
|
|
2599
|
+
createMasterPage,
|
|
2600
|
+
assignMaster,
|
|
2601
|
+
effectiveMasterId,
|
|
2602
|
+
addHeaderFooterToMaster,
|
|
2603
|
+
reorderPrintPages,
|
|
2604
|
+
documentFromPreset,
|
|
2605
|
+
init_print_pages,
|
|
2606
|
+
virtualRootOf,
|
|
2607
|
+
virtualChildId,
|
|
2608
|
+
chainOverrides,
|
|
2609
|
+
resolveVirtualNode,
|
|
2610
|
+
createDocument,
|
|
2611
|
+
createPage,
|
|
2612
|
+
createRectangle,
|
|
2613
|
+
createEllipse,
|
|
2614
|
+
createSticky,
|
|
2615
|
+
createLine,
|
|
2616
|
+
createArrow,
|
|
2617
|
+
createPolygon,
|
|
2618
|
+
createStar,
|
|
2619
|
+
createSection,
|
|
2620
|
+
createSlice,
|
|
2621
|
+
createFrame,
|
|
2622
|
+
createText,
|
|
2623
|
+
createGroup,
|
|
2624
|
+
createVector,
|
|
2625
|
+
createBoolean,
|
|
2626
|
+
createPixelGrid,
|
|
2627
|
+
createImage,
|
|
2628
|
+
createRaster,
|
|
2629
|
+
createComponent,
|
|
2630
|
+
createComponentSet,
|
|
2631
|
+
createInstance,
|
|
2632
|
+
createInstanceOf,
|
|
2633
|
+
addNode,
|
|
2634
|
+
removeNode,
|
|
2635
|
+
updateNode,
|
|
2636
|
+
getDescendants,
|
|
2637
|
+
getAncestors,
|
|
2638
|
+
applyConstraints,
|
|
2639
|
+
getRenderableNodes,
|
|
2640
|
+
moveNodeInZOrder,
|
|
2641
|
+
uprightBounds,
|
|
2642
|
+
unmirroredMatrix,
|
|
2643
|
+
lineShaftEnds,
|
|
2644
|
+
detachedTransform,
|
|
2645
|
+
createWorldMatrixResolver,
|
|
2646
|
+
createWorldTransformResolver,
|
|
2647
|
+
getWorldTransform,
|
|
2648
|
+
getWorldMatrix,
|
|
2649
|
+
placementUnder,
|
|
2650
|
+
componentsDrawnBy,
|
|
2651
|
+
wouldCreateCycle,
|
|
2652
|
+
wrapInComponent,
|
|
2653
|
+
reparentNode,
|
|
2654
|
+
duplicateNode,
|
|
2655
|
+
getNodeBounds,
|
|
2656
|
+
getWorldRenderBounds,
|
|
2657
|
+
gatherLineObstacles,
|
|
2658
|
+
connectorIdsOf,
|
|
2659
|
+
carryConnectorIds,
|
|
2660
|
+
updateConnectors,
|
|
2661
|
+
init_scene_graph
|
|
2662
|
+
};
|