@stacksjs/stx 0.2.94 → 0.2.95

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (551) hide show
  1. package/dist/a11y.js +1 -1
  2. package/dist/analytics.js +1 -1
  3. package/dist/analyzer.js +1 -1
  4. package/dist/animation.js +1 -1
  5. package/dist/app-shell.js +1 -1
  6. package/dist/app.js +1 -1
  7. package/dist/assets.js +1 -1
  8. package/dist/ast.js +1 -1
  9. package/dist/async-components.js +1 -1
  10. package/dist/auth.js +1 -1
  11. package/dist/broadcasting.js +1 -1
  12. package/dist/browser-composables.js +1 -1
  13. package/dist/build-assets.js +1 -1
  14. package/dist/build-mode-detector.js +1 -1
  15. package/dist/build-optimizer.js +1 -1
  16. package/dist/build-views.js +1 -1
  17. package/dist/build.js +1 -1
  18. package/dist/builtins/drawer.js +1 -1
  19. package/dist/builtins/escape.js +1 -1
  20. package/dist/builtins/icon.js +1 -1
  21. package/dist/builtins/index.js +1 -1
  22. package/dist/builtins/modal.js +1 -1
  23. package/dist/builtins/safe-image.js +1 -1
  24. package/dist/builtins/stx-image.js +1 -1
  25. package/dist/builtins/stx-link.js +1 -1
  26. package/dist/builtins/stx-loading-indicator.js +1 -1
  27. package/dist/builtins/suspense.js +1 -1
  28. package/dist/builtins/toast.js +1 -1
  29. package/dist/builtins/tooltip.js +1 -1
  30. package/dist/builtins/transition-group.js +1 -1
  31. package/dist/bundle-analyzer/collector.js +1 -1
  32. package/dist/bundle-analyzer/index.js +1 -1
  33. package/dist/bundle-analyzer/report.js +1 -1
  34. package/dist/bundle-analyzer/treemap.js +1 -1
  35. package/dist/caching.js +1 -1
  36. package/dist/{chunk-eh8hact1.js → chunk-04n64bnt.js} +1 -1
  37. package/dist/{chunk-yexjrg9d.js → chunk-06w68hyg.js} +2 -2
  38. package/dist/{chunk-4j188175.js → chunk-07y6m5xx.js} +1 -1
  39. package/dist/{chunk-b3kkjcdh.js → chunk-09k66d8a.js} +1 -1
  40. package/dist/{chunk-bk8ew8ze.js → chunk-0a61y94n.js} +2 -2
  41. package/dist/{chunk-qdc3aav1.js → chunk-0dx4q6yq.js} +1 -1
  42. package/dist/{chunk-k8440jxh.js → chunk-0p0nyq50.js} +2 -2
  43. package/dist/{chunk-5qb761h2.js → chunk-0p1h3p3w.js} +1 -1
  44. package/dist/{chunk-znxp3zha.js → chunk-10debkj5.js} +1 -1
  45. package/dist/{chunk-bgec9r1v.js → chunk-15nesxgt.js} +2 -2
  46. package/dist/{chunk-mv03qb75.js → chunk-1sr54zp8.js} +1 -1
  47. package/dist/{chunk-0jkwrcwj.js → chunk-1v49fwr5.js} +1 -1
  48. package/dist/{chunk-w01y57f5.js → chunk-1xz0w746.js} +2 -2
  49. package/dist/{chunk-w4n8fqp7.js → chunk-20swzkx3.js} +1 -1
  50. package/dist/{chunk-cz25azze.js → chunk-27zsyhrd.js} +1 -1
  51. package/dist/{chunk-hjdc99kb.js → chunk-29y0hk5z.js} +2 -2
  52. package/dist/{chunk-tx6br9r4.js → chunk-2cdvw21b.js} +1 -1
  53. package/dist/{chunk-g2hekckm.js → chunk-2j21d3ka.js} +1 -1
  54. package/dist/chunk-2jxbwnkz.js +2 -0
  55. package/dist/{chunk-8fgwhhb8.js → chunk-31dr4bys.js} +2 -2
  56. package/dist/{chunk-x64kb787.js → chunk-35faj94w.js} +1 -1
  57. package/dist/{chunk-9yz5d003.js → chunk-3a4qsygv.js} +2 -2
  58. package/dist/{chunk-1z2yq9em.js → chunk-3te20hqw.js} +2 -2
  59. package/dist/{chunk-aw3rp9ac.js → chunk-43t7faps.js} +1 -1
  60. package/dist/{chunk-0m9tdm7t.js → chunk-47kpewks.js} +1 -1
  61. package/dist/{chunk-cygfdk1n.js → chunk-4d2y57k7.js} +2 -2
  62. package/dist/{chunk-0tatqxj2.js → chunk-4deg33rw.js} +2 -2
  63. package/dist/{chunk-a69tvya5.js → chunk-4qcy5tx6.js} +2 -2
  64. package/dist/{chunk-d77yxcds.js → chunk-4x7kae4j.js} +2 -2
  65. package/dist/{chunk-g8b81pzc.js → chunk-55nwdnsd.js} +1 -1
  66. package/dist/{chunk-svahbw0w.js → chunk-5f43yz6z.js} +2 -2
  67. package/dist/{chunk-fch9tk1k.js → chunk-5shey2e4.js} +1 -1
  68. package/dist/{chunk-nanw7yhz.js → chunk-6djzdes9.js} +1 -1
  69. package/dist/{chunk-yj560gp8.js → chunk-6eqbxcrd.js} +1 -1
  70. package/dist/{chunk-03c26pjz.js → chunk-7074g241.js} +1 -1
  71. package/dist/{chunk-e0zytzdh.js → chunk-7b6s3g65.js} +1 -1
  72. package/dist/{chunk-77tga15w.js → chunk-7dkz6z2s.js} +2 -2
  73. package/dist/{chunk-q60knhjf.js → chunk-7ed3tean.js} +1 -1
  74. package/dist/{chunk-b0cyc09a.js → chunk-7gd339hd.js} +1 -1
  75. package/dist/{chunk-xsqbk4yk.js → chunk-7j5e8sdj.js} +2 -2
  76. package/dist/{chunk-52agge4n.js → chunk-7n8g0nfn.js} +1 -1
  77. package/dist/{chunk-cn409b69.js → chunk-80g54ncj.js} +1 -1
  78. package/dist/{chunk-w21mwxdd.js → chunk-8a5bxece.js} +1 -1
  79. package/dist/{chunk-7rvh2wwv.js → chunk-8ahwt6a4.js} +1 -1
  80. package/dist/{chunk-fhawx87n.js → chunk-8b3z0zd5.js} +1 -1
  81. package/dist/{chunk-y86m1wr4.js → chunk-8dhdpa5h.js} +2 -2
  82. package/dist/{chunk-hje9v2zh.js → chunk-8n9nnqr6.js} +1 -1
  83. package/dist/{chunk-rb1e4cnb.js → chunk-8qc1bsym.js} +1 -1
  84. package/dist/{chunk-bwxda6n1.js → chunk-8va64c9n.js} +2 -2
  85. package/dist/{chunk-hrampcrj.js → chunk-8vtm0m84.js} +1 -1
  86. package/dist/{chunk-cp3kwv17.js → chunk-8xj7c3mf.js} +1 -1
  87. package/dist/{chunk-fe7r1mq1.js → chunk-988dw6q3.js} +2 -2
  88. package/dist/{chunk-wk07pwtd.js → chunk-9b6cec0v.js} +1 -1
  89. package/dist/{chunk-13yz561y.js → chunk-9cf97f9p.js} +2 -2
  90. package/dist/{chunk-rv002yn0.js → chunk-9ecv8aqj.js} +1 -1
  91. package/dist/{chunk-jbejwejg.js → chunk-9eq3ht5f.js} +1 -1
  92. package/dist/{chunk-dzw95th7.js → chunk-9jtj77jx.js} +2 -2
  93. package/dist/{chunk-57p201gb.js → chunk-9t14se2t.js} +1 -1
  94. package/dist/{chunk-qd5461tt.js → chunk-9wmq2272.js} +1 -1
  95. package/dist/{chunk-qm4yppj5.js → chunk-9zbk5zx5.js} +2 -2
  96. package/dist/{chunk-7b0xdy5h.js → chunk-a2g2qb2y.js} +1 -1
  97. package/dist/{chunk-26r6zh3t.js → chunk-a87qqft6.js} +2 -2
  98. package/dist/{chunk-5kt3ay7x.js → chunk-ah88wzbg.js} +1 -1
  99. package/dist/{chunk-0wdar532.js → chunk-akf1r75r.js} +1 -1
  100. package/dist/{chunk-wxvyj65q.js → chunk-amaa1bev.js} +1 -1
  101. package/dist/{chunk-ganag9dm.js → chunk-avx8aydt.js} +2 -2
  102. package/dist/{chunk-mgmyr1b9.js → chunk-ay9qf4zj.js} +1 -1
  103. package/dist/{chunk-haecq01c.js → chunk-aywxfqev.js} +1 -1
  104. package/dist/{chunk-4bt81cg3.js → chunk-azkegjd8.js} +1 -1
  105. package/dist/{chunk-e53h9qhd.js → chunk-b77wjyn7.js} +1 -1
  106. package/dist/{chunk-jfm69keq.js → chunk-baf1hfwh.js} +2 -2
  107. package/dist/{chunk-hke99a0v.js → chunk-bdk6g1vj.js} +2 -2
  108. package/dist/{chunk-kkp6rs2n.js → chunk-bhqgmyqw.js} +1 -1
  109. package/dist/{chunk-fs0qezn5.js → chunk-bk3j0n82.js} +1 -1
  110. package/dist/{chunk-sn07azv3.js → chunk-bndmdahk.js} +2 -2
  111. package/dist/{chunk-mrehzhxv.js → chunk-bs3gmfxz.js} +1 -1
  112. package/dist/{chunk-yach037f.js → chunk-bxc7kjsk.js} +1 -1
  113. package/dist/{chunk-gqpkp459.js → chunk-ckxjqqn9.js} +2 -2
  114. package/dist/{chunk-ncnfa8ae.js → chunk-d0zjtdw4.js} +2 -2
  115. package/dist/{chunk-qfwzdffx.js → chunk-d1qh1x2g.js} +2 -2
  116. package/dist/{chunk-gcf5v18y.js → chunk-djddhmcc.js} +1 -1
  117. package/dist/{chunk-fms20x0n.js → chunk-dqn9gyhb.js} +1 -1
  118. package/dist/{chunk-6w03t7h6.js → chunk-drjq2zwg.js} +2 -2
  119. package/dist/{chunk-91s2hres.js → chunk-e2q9c5vq.js} +1 -1
  120. package/dist/{chunk-3ngm57nt.js → chunk-e98v1bc6.js} +2 -2
  121. package/dist/chunk-ejayeex8.js +2 -0
  122. package/dist/{chunk-yr1gdceh.js → chunk-ejh8fyak.js} +1 -1
  123. package/dist/{chunk-6wn85hn6.js → chunk-ek2w6zvy.js} +1 -1
  124. package/dist/{chunk-7dy588as.js → chunk-ewa88139.js} +1 -1
  125. package/dist/{chunk-ht4j68cs.js → chunk-fjk3x41y.js} +2 -2
  126. package/dist/{chunk-x39sfpvm.js → chunk-frg705zq.js} +1 -1
  127. package/dist/{chunk-nap11ntr.js → chunk-g1vt329s.js} +2 -2
  128. package/dist/{chunk-6cr3eeh4.js → chunk-gkzq8zw4.js} +1 -1
  129. package/dist/{chunk-3rh7va1z.js → chunk-gz5fmp3q.js} +1 -1
  130. package/dist/{chunk-asarebzq.js → chunk-h0hjy0kn.js} +1 -1
  131. package/dist/{chunk-ywkrxp2h.js → chunk-h5jxydqq.js} +1 -1
  132. package/dist/{chunk-4qq8ffke.js → chunk-h7aq56qj.js} +1 -1
  133. package/dist/{chunk-hepg894w.js → chunk-hbehnm18.js} +2 -2
  134. package/dist/{chunk-gc84b1d2.js → chunk-hbgxbgam.js} +2 -2
  135. package/dist/{chunk-05hgyyqc.js → chunk-hc2mf5h6.js} +1 -1
  136. package/dist/{chunk-tr0z0e1g.js → chunk-hjm2xab3.js} +1 -1
  137. package/dist/{chunk-50vqeesm.js → chunk-hrnnh4tq.js} +2 -2
  138. package/dist/{chunk-hq5cem49.js → chunk-ht43ds42.js} +1 -1
  139. package/dist/{chunk-vdfwv0fp.js → chunk-hy8820vc.js} +1 -1
  140. package/dist/{chunk-vpe6napb.js → chunk-j447q024.js} +2 -2
  141. package/dist/{chunk-x4fze3q2.js → chunk-j58vh0w6.js} +1 -1
  142. package/dist/{chunk-z37xq5rx.js → chunk-j8tn8enq.js} +2 -2
  143. package/dist/{chunk-m59y310j.js → chunk-jjb05d21.js} +2 -2
  144. package/dist/{chunk-3bjtemm6.js → chunk-jjdq01dv.js} +1 -1
  145. package/dist/{chunk-b3prs7y0.js → chunk-jnmgm2xw.js} +1 -1
  146. package/dist/{chunk-5ggw1dyv.js → chunk-jpndqst5.js} +1 -1
  147. package/dist/{chunk-7sm05m0j.js → chunk-jt0ezawy.js} +1 -1
  148. package/dist/{chunk-6y4gqs1q.js → chunk-jz73j3qs.js} +1 -1
  149. package/dist/{chunk-jt98jhpt.js → chunk-k21df0pg.js} +1 -1
  150. package/dist/{chunk-zt2yag10.js → chunk-k848dzsa.js} +1 -1
  151. package/dist/{chunk-bjnjpsgn.js → chunk-kdfe4t91.js} +2 -2
  152. package/dist/{chunk-82t27pvd.js → chunk-keawsbpn.js} +1 -1
  153. package/dist/{chunk-5q87fgkk.js → chunk-khdn7jwe.js} +2 -2
  154. package/dist/{chunk-ca6qd1dx.js → chunk-km25cwz6.js} +1 -1
  155. package/dist/{chunk-pc31m5x5.js → chunk-knm8a8yx.js} +1 -1
  156. package/dist/{chunk-baa7h4yz.js → chunk-krqn0ddk.js} +2 -2
  157. package/dist/{chunk-0g4gece6.js → chunk-kx6eb6ma.js} +1 -1
  158. package/dist/{chunk-3yg9hbmb.js → chunk-kypas8vy.js} +1 -1
  159. package/dist/{chunk-7xcfy2fn.js → chunk-m167kjhv.js} +1 -1
  160. package/dist/{chunk-w959hm8j.js → chunk-m491r0rj.js} +1 -1
  161. package/dist/{chunk-x1hjv24z.js → chunk-m8448qby.js} +1 -1
  162. package/dist/{chunk-tj6zfxeb.js → chunk-mgj88zeq.js} +2 -2
  163. package/dist/{chunk-6djgb0hr.js → chunk-mhgk632d.js} +1 -1
  164. package/dist/{chunk-y5wazw6j.js → chunk-n5kg7fpx.js} +1 -1
  165. package/dist/{chunk-957amb71.js → chunk-n98x35xd.js} +1 -1
  166. package/dist/{chunk-04mvcmcr.js → chunk-n9dhs1dw.js} +1 -1
  167. package/dist/{chunk-75rndzbd.js → chunk-nd9rmddh.js} +1 -1
  168. package/dist/{chunk-y25pr13j.js → chunk-nhv099jv.js} +1 -1
  169. package/dist/{chunk-cpcc11vp.js → chunk-nm15ccsg.js} +2 -2
  170. package/dist/{chunk-z4djtgt0.js → chunk-npfmdb6y.js} +1 -1
  171. package/dist/{chunk-xhkjhxsp.js → chunk-p077sw22.js} +1 -1
  172. package/dist/{chunk-kfd2hf6f.js → chunk-p1h8065h.js} +2 -2
  173. package/dist/{chunk-647849kf.js → chunk-p3e0cqtt.js} +2 -2
  174. package/dist/{chunk-c53hyw5c.js → chunk-p3fpb79v.js} +1 -1
  175. package/dist/{chunk-adjcg6wa.js → chunk-p52yzjq6.js} +2 -2
  176. package/dist/{chunk-qgxwmagw.js → chunk-p73meypx.js} +1 -1
  177. package/dist/{chunk-bykjk6vj.js → chunk-pa9zb7ty.js} +1 -1
  178. package/dist/{chunk-qk584whs.js → chunk-pcm1vd8w.js} +1 -1
  179. package/dist/{chunk-bn08k7yy.js → chunk-pcntd9h4.js} +2 -2
  180. package/dist/{chunk-87kx8byz.js → chunk-psc3wfcf.js} +1 -1
  181. package/dist/{chunk-svhtdb0s.js → chunk-pznnww6k.js} +1 -1
  182. package/dist/{chunk-5ppkfyn2.js → chunk-q6zhd9yf.js} +1 -1
  183. package/dist/chunk-qa59zejf.js +246 -0
  184. package/dist/{chunk-hpqr9e3x.js → chunk-qvrbjpdc.js} +2 -2
  185. package/dist/{chunk-46mkpbkk.js → chunk-qygvvygy.js} +2 -2
  186. package/dist/{chunk-xygc53vr.js → chunk-r0jcmpv6.js} +1 -1
  187. package/dist/{chunk-yw2fzq86.js → chunk-r5m9xtm7.js} +2 -2
  188. package/dist/{chunk-174z0cd0.js → chunk-rpx5fa65.js} +2 -2
  189. package/dist/{chunk-tmgz5t2g.js → chunk-rqxf5hns.js} +1 -1
  190. package/dist/{chunk-5xvbq2gs.js → chunk-rtr974rc.js} +2 -2
  191. package/dist/{chunk-y4c744dk.js → chunk-rvptcndz.js} +2 -2
  192. package/dist/{chunk-25s7bckb.js → chunk-rw26rpek.js} +2 -2
  193. package/dist/{chunk-qhdtssn1.js → chunk-rw7937v4.js} +2 -2
  194. package/dist/{chunk-n46a5g1g.js → chunk-rwrv9wbf.js} +1 -1
  195. package/dist/{chunk-8qbax8xn.js → chunk-rz2ec6g7.js} +1 -1
  196. package/dist/{chunk-epj957jf.js → chunk-scpkdrdb.js} +1 -1
  197. package/dist/{chunk-q6h6yvzb.js → chunk-shv88d2d.js} +2 -2
  198. package/dist/{chunk-2w3302dh.js → chunk-t0c9wvpr.js} +1 -1
  199. package/dist/{chunk-6dqzky7x.js → chunk-tffh3b1e.js} +1 -1
  200. package/dist/{chunk-ceg2c2q2.js → chunk-tg2f1mzq.js} +2 -2
  201. package/dist/{chunk-eqeyaq6g.js → chunk-trfswy66.js} +1 -1
  202. package/dist/{chunk-t37dp99j.js → chunk-tzwtg722.js} +1 -1
  203. package/dist/{chunk-ghrx0hn1.js → chunk-v7f8jj15.js} +1 -1
  204. package/dist/{chunk-95w08s8v.js → chunk-v8j49spx.js} +1 -1
  205. package/dist/{chunk-yaan98dd.js → chunk-veeerpwa.js} +1 -1
  206. package/dist/{chunk-xcb0pbr6.js → chunk-vg5kt6az.js} +1 -1
  207. package/dist/{chunk-9tmbrwwx.js → chunk-vgv7jvyz.js} +1 -1
  208. package/dist/{chunk-2xen423s.js → chunk-vjbefncc.js} +1 -1
  209. package/dist/{chunk-jt44av4j.js → chunk-vmxjghsm.js} +1 -1
  210. package/dist/{chunk-mqwbpamc.js → chunk-vw7vqd76.js} +1 -1
  211. package/dist/{chunk-adqh2m9z.js → chunk-w3b6m427.js} +1 -1
  212. package/dist/{chunk-eds0f8f1.js → chunk-wazkqv7n.js} +2 -2
  213. package/dist/{chunk-y4md9hp0.js → chunk-wfg2gm11.js} +1 -1
  214. package/dist/{chunk-vv9wfz1c.js → chunk-wg9k6h8w.js} +2 -2
  215. package/dist/{chunk-1mmykse5.js → chunk-wkz2vwkr.js} +1 -1
  216. package/dist/{chunk-7a51hkpf.js → chunk-wvf31nzs.js} +1 -1
  217. package/dist/{chunk-dyjnn5k8.js → chunk-x05nxhyv.js} +2 -2
  218. package/dist/{chunk-kh6rfz2v.js → chunk-x0770gt9.js} +1 -1
  219. package/dist/{chunk-5p568px4.js → chunk-x24s4heg.js} +1 -1
  220. package/dist/{chunk-cdbwprfv.js → chunk-x3r64r0c.js} +2 -2
  221. package/dist/{chunk-fbxt2mrx.js → chunk-x5g9w4hh.js} +2 -2
  222. package/dist/{chunk-268adc7r.js → chunk-xgkv66q5.js} +1 -1
  223. package/dist/chunk-xqq1vxb6.js +1 -0
  224. package/dist/{chunk-qxs6et76.js → chunk-xs03kc1h.js} +1 -1
  225. package/dist/{chunk-3jm3snz8.js → chunk-xv34zbp4.js} +1 -1
  226. package/dist/{chunk-b5zc9y0y.js → chunk-xw36p73h.js} +2 -2
  227. package/dist/{chunk-j4s5qwd7.js → chunk-xyg1r5w0.js} +2 -2
  228. package/dist/{chunk-cyp4m0vh.js → chunk-xys2sxh6.js} +1 -1
  229. package/dist/{chunk-kdxa9epn.js → chunk-y1k17c8b.js} +2 -2
  230. package/dist/{chunk-cr3wbrcr.js → chunk-y6xsqe9a.js} +2 -2
  231. package/dist/{chunk-94g3cahw.js → chunk-yb1t2h8h.js} +2 -2
  232. package/dist/{chunk-vw6ejgmy.js → chunk-yj4x5ehw.js} +1 -1
  233. package/dist/{chunk-fk51yyrw.js → chunk-ynhngsdh.js} +1 -1
  234. package/dist/{chunk-vp2395eb.js → chunk-yrsb6j3z.js} +2 -2
  235. package/dist/chunk-yywfvfph.js +2 -0
  236. package/dist/{chunk-xhnpsngj.js → chunk-zcxzdrn7.js} +2 -2
  237. package/dist/{chunk-jjvp4t5w.js → chunk-zen6ax1y.js} +2 -2
  238. package/dist/{chunk-n944baxp.js → chunk-zf2pek72.js} +1 -1
  239. package/dist/{chunk-z8cjr9n9.js → chunk-zk3d0jjf.js} +1 -1
  240. package/dist/{chunk-9agvhp1x.js → chunk-zy3rp1ab.js} +1 -1
  241. package/dist/cli.js +1 -1
  242. package/dist/client/directive.js +1 -1
  243. package/dist/client/index.js +1 -1
  244. package/dist/client-helpers.js +1 -1
  245. package/dist/client-script-bundler.js +1 -1
  246. package/dist/client-script.js +1 -1
  247. package/dist/component-hmr.js +1 -1
  248. package/dist/component-processing.js +1 -1
  249. package/dist/component-registry.js +1 -1
  250. package/dist/component-renderer.js +1 -1
  251. package/dist/components.js +1 -1
  252. package/dist/composables/index.js +1 -1
  253. package/dist/composables/use-battery.js +1 -1
  254. package/dist/composables/use-broadcast-channel.js +1 -1
  255. package/dist/composables/use-channel.js +1 -1
  256. package/dist/composables/use-clipboard.js +1 -1
  257. package/dist/composables/use-color-mode.js +1 -1
  258. package/dist/composables/use-cookie.js +1 -1
  259. package/dist/composables/use-device-orientation.js +1 -1
  260. package/dist/composables/use-event-listener.js +1 -1
  261. package/dist/composables/use-event-source.js +1 -1
  262. package/dist/composables/use-eye-dropper.js +1 -1
  263. package/dist/composables/use-fetch.js +1 -1
  264. package/dist/composables/use-fullscreen.js +1 -1
  265. package/dist/composables/use-geolocation.js +1 -1
  266. package/dist/composables/use-idle.js +1 -1
  267. package/dist/composables/use-intersection-observer.js +1 -1
  268. package/dist/composables/use-keyboard.js +1 -1
  269. package/dist/composables/use-media-query.js +1 -1
  270. package/dist/composables/use-meta.js +1 -1
  271. package/dist/composables/use-mouse.js +1 -1
  272. package/dist/composables/use-mutation-observer.js +1 -1
  273. package/dist/composables/use-network.js +1 -1
  274. package/dist/composables/use-notification.js +1 -1
  275. package/dist/composables/use-permissions.js +1 -1
  276. package/dist/composables/use-resize-observer.js +1 -1
  277. package/dist/composables/use-router.js +1 -1
  278. package/dist/composables/use-share.js +1 -1
  279. package/dist/composables/use-speech.js +1 -1
  280. package/dist/composables/use-storage.js +1 -1
  281. package/dist/composables/use-text-selection.js +1 -1
  282. package/dist/composables/use-timer.js +1 -1
  283. package/dist/composables/use-utilities.js +1 -1
  284. package/dist/composables/use-wake-lock.js +1 -1
  285. package/dist/composables/use-websocket.js +1 -1
  286. package/dist/composables/use-window.js +1 -1
  287. package/dist/composables.js +1 -1
  288. package/dist/composition-api.js +1 -1
  289. package/dist/computed.js +1 -1
  290. package/dist/conditionals.js +1 -1
  291. package/dist/config.js +1 -1
  292. package/dist/craft-bridge.js +1 -1
  293. package/dist/craft-compiler.js +1 -1
  294. package/dist/craft-components.js +1 -1
  295. package/dist/craft-entry.js +1 -1
  296. package/dist/craft-ssr.js +1 -1
  297. package/dist/csp.js +1 -1
  298. package/dist/csrf.js +1 -1
  299. package/dist/custom-directives.js +1 -1
  300. package/dist/defer.js +1 -1
  301. package/dist/deploy/config-generators.js +1 -1
  302. package/dist/deploy/index.js +1 -1
  303. package/dist/deploy/netlify.js +1 -1
  304. package/dist/dev-server/crosswind.js +1 -1
  305. package/dist/dev-server/index.js +1 -1
  306. package/dist/dev-server/keyboard-shortcuts.js +1 -1
  307. package/dist/dev-server/native-window.js +1 -1
  308. package/dist/dev-server/port-utils.js +1 -1
  309. package/dist/dev-server/serve-app.js +1 -6
  310. package/dist/dev-server/serve-file.js +1 -6
  311. package/dist/dev-server/serve-markdown.js +1 -1
  312. package/dist/dev-server/serve-multi.js +1 -171
  313. package/dist/dev-server/terminal-colors.js +1 -1
  314. package/dist/dev-server/theme-selector.js +1 -1
  315. package/dist/dev-server/types.js +1 -1
  316. package/dist/dev-server.js +1 -1
  317. package/dist/devtools.js +1 -1
  318. package/dist/directive-api.js +1 -1
  319. package/dist/docs.js +1 -1
  320. package/dist/doctor.js +1 -1
  321. package/dist/document-shell.js +1 -1
  322. package/dist/dynamic-components.js +1 -1
  323. package/dist/edge-runtime.js +1 -1
  324. package/dist/env.js +1 -1
  325. package/dist/error-boundaries.js +1 -1
  326. package/dist/error-handling.js +1 -1
  327. package/dist/errors/codes.js +1 -1
  328. package/dist/errors/formatter.js +1 -1
  329. package/dist/errors/index.js +1 -1
  330. package/dist/errors/logger.js +1 -1
  331. package/dist/errors/sanitizer.js +1 -1
  332. package/dist/errors/types.js +1 -1
  333. package/dist/events.js +1 -1
  334. package/dist/expressions.js +1 -1
  335. package/dist/formatter.js +1 -1
  336. package/dist/forms-validation.js +1 -1
  337. package/dist/forms.js +1 -1
  338. package/dist/head.js +1 -1
  339. package/dist/heatmap.js +1 -1
  340. package/dist/hot-reload.js +1 -1
  341. package/dist/html-masking.js +1 -1
  342. package/dist/hydration-runtime.js +1 -1
  343. package/dist/hydration.js +1 -1
  344. package/dist/i18n.js +1 -1
  345. package/dist/image-optimization/auto-sibling.js +1 -1
  346. package/dist/image-optimization/build-plugin.js +1 -1
  347. package/dist/image-optimization/component.js +1 -1
  348. package/dist/image-optimization/directive.js +1 -1
  349. package/dist/image-optimization/index.js +1 -1
  350. package/dist/image-optimization/processor.js +1 -1
  351. package/dist/image-optimization/serve.js +1 -1
  352. package/dist/includes.js +1 -1
  353. package/dist/index.js +1 -1
  354. package/dist/init.js +1 -1
  355. package/dist/inline-assets.js +1 -1
  356. package/dist/interactive.js +1 -1
  357. package/dist/internal-markdown.js +1 -1
  358. package/dist/island-chunking.js +1 -1
  359. package/dist/js-ts.js +1 -1
  360. package/dist/jsx-runtime.js +1 -1
  361. package/dist/keep-alive.js +1 -1
  362. package/dist/lazy-loader.js +1 -1
  363. package/dist/loading-indicator.js +1 -1
  364. package/dist/loops.js +1 -1
  365. package/dist/manifest.js +1 -1
  366. package/dist/markdown.js +1 -1
  367. package/dist/media/client/blur-up.js +1 -1
  368. package/dist/media/client/index.js +1 -1
  369. package/dist/media/client/lazy-load.js +1 -1
  370. package/dist/media/client/upload-handler.js +1 -1
  371. package/dist/media/image/component.js +1 -1
  372. package/dist/media/image/directive.js +1 -1
  373. package/dist/media/image/editing.js +1 -1
  374. package/dist/media/image/index.js +1 -1
  375. package/dist/media/image/placeholder.js +1 -1
  376. package/dist/media/image/processor/cache.js +1 -1
  377. package/dist/media/image/processor/index.js +1 -1
  378. package/dist/media/image/processor/optimizer.js +1 -1
  379. package/dist/media/image/processor/responsive.js +1 -1
  380. package/dist/media/image/srcset.js +1 -1
  381. package/dist/media/index.js +1 -1
  382. package/dist/media/manager/embed.js +1 -1
  383. package/dist/media/protected/component.js +1 -1
  384. package/dist/media/protected/index.js +1 -1
  385. package/dist/media/protected/signature.js +1 -1
  386. package/dist/media/shared/cache.js +1 -1
  387. package/dist/media/shared/hash.js +1 -1
  388. package/dist/media/shared/index.js +1 -1
  389. package/dist/media/upload/component.js +1 -1
  390. package/dist/media/upload/index.js +1 -1
  391. package/dist/media/video/directive.js +1 -1
  392. package/dist/media/video/index.js +1 -1
  393. package/dist/media/video/processor/cache.js +1 -1
  394. package/dist/media/video/processor/index.js +1 -1
  395. package/dist/media/video/processor/streaming.js +1 -1
  396. package/dist/media/video/processor/thumbnail.js +1 -1
  397. package/dist/media/video/processor/transcoder.js +1 -1
  398. package/dist/method-spoofing.js +1 -1
  399. package/dist/middleware.js +1 -1
  400. package/dist/misc-directives.js +1 -1
  401. package/dist/native-build.js +1 -1
  402. package/dist/parser/directive-parser.js +1 -1
  403. package/dist/parser/expression-parser.js +1 -1
  404. package/dist/parser/index.js +1 -1
  405. package/dist/parser/tokenizer.js +1 -1
  406. package/dist/partial-hydration.js +1 -1
  407. package/dist/performance-utils.js +1 -1
  408. package/dist/placeholder.js +1 -1
  409. package/dist/plugin-system.js +1 -1
  410. package/dist/plugin.js +1 -1
  411. package/dist/precompiler.js +1 -1
  412. package/dist/process.js +1 -1
  413. package/dist/production-build.js +1 -1
  414. package/dist/production-builder.js +1 -1
  415. package/dist/production-server.js +1 -1
  416. package/dist/props.js +1 -1
  417. package/dist/public-env.js +1 -1
  418. package/dist/pwa/audit.js +1 -1
  419. package/dist/pwa/directives.js +1 -1
  420. package/dist/pwa/icons.js +1 -1
  421. package/dist/pwa/index.js +1 -1
  422. package/dist/pwa/inject.js +1 -1
  423. package/dist/pwa/manifest.js +1 -1
  424. package/dist/pwa/offline.js +1 -1
  425. package/dist/pwa/precache.js +1 -1
  426. package/dist/pwa/service-worker.js +1 -1
  427. package/dist/pwa/workbox-strategies.js +1 -1
  428. package/dist/pwa/workbox.js +1 -1
  429. package/dist/reactive-bindings.js +1 -1
  430. package/dist/reactive.js +1 -1
  431. package/dist/reactivity.js +1 -1
  432. package/dist/release.js +1 -1
  433. package/dist/render.js +1 -1
  434. package/dist/route-middleware.js +1 -1
  435. package/dist/router.js +1 -1
  436. package/dist/routes.js +1 -1
  437. package/dist/runtime-injection.js +1 -1
  438. package/dist/runtime.js +1 -1
  439. package/dist/safe-evaluator.js +1 -1
  440. package/dist/scaffolding.js +1 -1
  441. package/dist/screenshot.js +1 -1
  442. package/dist/script-classifier.js +1 -1
  443. package/dist/script-validation.js +1 -1
  444. package/dist/seo.js +1 -1
  445. package/dist/serve.js +1 -1
  446. package/dist/server-bindings.js +1 -1
  447. package/dist/server-components.js +1 -1
  448. package/dist/signal-processing.js +1 -1
  449. package/dist/signals-api.js +1 -1
  450. package/dist/signals.js +1 -1
  451. package/dist/site-builder/build.js +1 -1
  452. package/dist/site-builder/i18n.js +1 -1
  453. package/dist/site-builder/index.js +1 -1
  454. package/dist/site-builder/robots.js +1 -1
  455. package/dist/site-builder/router.js +1 -1
  456. package/dist/site-builder/seo.js +1 -1
  457. package/dist/site-builder/sitemap.js +1 -1
  458. package/dist/site-builder/theme.js +1 -1
  459. package/dist/slots.js +1 -1
  460. package/dist/source-maps.js +1 -1
  461. package/dist/spa-shell.js +1 -1
  462. package/dist/ssr.js +1 -1
  463. package/dist/state-management.js +1 -1
  464. package/dist/store-imports.js +1 -1
  465. package/dist/store-loader.js +1 -1
  466. package/dist/stores-client.js +1 -1
  467. package/dist/story/addons.js +1 -1
  468. package/dist/story/analytics.js +1 -1
  469. package/dist/story/auto-stories.js +1 -1
  470. package/dist/story/bookmarks.js +1 -1
  471. package/dist/story/bun-test.js +1 -1
  472. package/dist/story/cli.js +1 -1
  473. package/dist/story/collect/analyzer.js +1 -1
  474. package/dist/story/collect/index.js +1 -1
  475. package/dist/story/collect/parser.js +1 -1
  476. package/dist/story/collect/scanner.js +1 -1
  477. package/dist/story/collect/tree.js +1 -1
  478. package/dist/story/commands/build.js +1 -1
  479. package/dist/story/commands/dev.js +1 -1
  480. package/dist/story/commands/index.js +1 -1
  481. package/dist/story/commands/preview.js +1 -1
  482. package/dist/story/compiled-output.js +1 -1
  483. package/dist/story/composition.js +1 -1
  484. package/dist/story/config-watcher.js +1 -1
  485. package/dist/story/config.js +1 -1
  486. package/dist/story/context.js +1 -1
  487. package/dist/story/controls/index.js +1 -1
  488. package/dist/story/crosswind.js +1 -1
  489. package/dist/story/desktop-preview.js +1 -1
  490. package/dist/story/docs-generator.js +1 -1
  491. package/dist/story/errors.js +1 -1
  492. package/dist/story/figma-export.js +1 -1
  493. package/dist/story/generator.js +1 -1
  494. package/dist/story/hmr.js +1 -1
  495. package/dist/story/hot-swap.js +1 -1
  496. package/dist/story/index.js +1 -1
  497. package/dist/story/interactions.js +1 -1
  498. package/dist/story/keyboard-shortcuts.js +1 -1
  499. package/dist/story/output.js +1 -1
  500. package/dist/story/performance.js +1 -1
  501. package/dist/story/presets.js +1 -1
  502. package/dist/story/props-validation.js +1 -1
  503. package/dist/story/renderer.js +1 -1
  504. package/dist/story/search-index.js +1 -1
  505. package/dist/story/search.js +1 -1
  506. package/dist/story/server.js +1 -1
  507. package/dist/story/setup.js +1 -1
  508. package/dist/story/snapshots.js +1 -1
  509. package/dist/story/testing.js +1 -1
  510. package/dist/story/theme.js +1 -1
  511. package/dist/story/ui/code-panel.js +1 -1
  512. package/dist/story/ui/controls-panel.js +1 -1
  513. package/dist/story/ui/index.js +1 -1
  514. package/dist/story/ui/navigation.js +1 -1
  515. package/dist/story/ui/preview.js +1 -1
  516. package/dist/story/visual-testing.js +1 -1
  517. package/dist/streaming.js +1 -1
  518. package/dist/strict-lint.js +1 -1
  519. package/dist/style-scoping.js +1 -1
  520. package/dist/suspense.js +1 -1
  521. package/dist/teleport.js +1 -1
  522. package/dist/template-compiler.js +1 -1
  523. package/dist/template-hydrator.js +1 -1
  524. package/dist/template-tag-balance.js +1 -1
  525. package/dist/testing.js +1 -1
  526. package/dist/transitions.js +1 -1
  527. package/dist/type-checker.js +1 -1
  528. package/dist/types/directive-types.js +1 -1
  529. package/dist/types/index.js +1 -1
  530. package/dist/types.js +1 -1
  531. package/dist/typescript-templates.js +1 -1
  532. package/dist/utils.js +1 -1
  533. package/dist/validator.js +1 -1
  534. package/dist/variable-extractor.js +1 -1
  535. package/dist/view-composers.js +1 -1
  536. package/dist/virtual-scrolling.js +1 -1
  537. package/dist/visual-editor.js +1 -1
  538. package/dist/vue-template.js +1 -1
  539. package/dist/web-components/css-scoping.js +1 -1
  540. package/dist/web-components/index.js +1 -1
  541. package/dist/web-components/reactive-generator.js +1 -1
  542. package/dist/web-components.js +1 -1
  543. package/dist/x-element.js +1 -1
  544. package/package.json +6 -6
  545. package/dist/chunk-48cw2nde.js +0 -2
  546. package/dist/chunk-48r3qe0k.js +0 -3
  547. package/dist/chunk-h45py5w5.js +0 -2
  548. package/dist/chunk-jfrn43vh.js +0 -2
  549. package/dist/chunk-mwbng54r.js +0 -2
  550. package/dist/chunk-qwyd9a1d.js +0 -2
  551. package/dist/chunk-sjagg9qz.js +0 -66
@@ -1,2 +1,2 @@
1
1
  // @bun
2
- import"../chunk-3jm3snz8.js";function Q(){return typeof window<"u"&&"EyeDropper"in window}function U(M={}){let{onPick:G,onAbort:L,onError:B}=M,I=Q(),z=new Set,q={isSupported:I,isOpen:!1,sRGBHex:null,error:null},K=null;function J(){z.forEach((j)=>j(q))}async function O(){if(!I||!window.EyeDropper){let j=Error("EyeDropper API not supported");return q={...q,error:j},J(),B?.(j),null}K?.abort(),K=new AbortController,q={...q,isOpen:!0,error:null},J();try{let N=await new window.EyeDropper().open({signal:K.signal});return q={...q,isOpen:!1,sRGBHex:N.sRGBHex},J(),G?.(N.sRGBHex),N.sRGBHex}catch(j){if(q={...q,isOpen:!1},j.name==="AbortError")return L?.(),J(),null;return q={...q,error:j},J(),B?.(j),null}}return{get:()=>q,subscribe:(j)=>{return z.add(j),j(q),()=>{if(z.delete(j),z.size===0)K?.abort()}},open:O,isSupported:()=>I}}async function W(){if(!Q()||!window.EyeDropper)return null;try{return(await new window.EyeDropper().open()).sRGBHex}catch{return null}}function V(M){let G=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(M);return G?{r:Number.parseInt(G[1],16),g:Number.parseInt(G[2],16),b:Number.parseInt(G[3],16)}:null}function X(M){let G=V(M);if(!G)return null;let L=G.r/255,B=G.g/255,I=G.b/255,z=Math.max(L,B,I),q=Math.min(L,B,I),K=(z+q)/2;if(z===q)return{h:0,s:0,l:Math.round(K*100)};let J=z-q,O=K>0.5?J/(2-z-q):J/(z+q),j=0;switch(z){case L:j=((B-I)/J+(B<I?6:0))/6;break;case B:j=((I-L)/J+2)/6;break;case I:j=((L-B)/J+4)/6;break}return{h:Math.round(j*360),s:Math.round(O*100),l:Math.round(K*100)}}function Y(M={}){let{maxHistory:G=20,onPick:L}=M,B=U({onPick:L}),I=new Set,z=[];function q(){let j={current:B.get().sRGBHex,history:z};I.forEach((N)=>N(j))}B.subscribe((j)=>{if(j.sRGBHex&&!z.includes(j.sRGBHex))z=[j.sRGBHex,...z].slice(0,G),q()});async function K(){return B.open()}function J(){z=[],q()}function O(j){z=z.filter((N)=>N!==j),q()}return{get:()=>({current:B.get().sRGBHex,history:z}),subscribe:(j)=>{return I.add(j),j({current:B.get().sRGBHex,history:z}),()=>{I.delete(j)}},pick:K,clearHistory:J,removeFromHistory:O,isSupported:B.isSupported}}export{U as useEyeDropper,Y as useColorHistory,W as pickColor,Q as isEyeDropperSupported,V as hexToRgb,X as hexToHsl};
2
+ import"../chunk-xv34zbp4.js";function Q(){return typeof window<"u"&&"EyeDropper"in window}function U(M={}){let{onPick:G,onAbort:L,onError:B}=M,I=Q(),z=new Set,q={isSupported:I,isOpen:!1,sRGBHex:null,error:null},K=null;function J(){z.forEach((j)=>j(q))}async function O(){if(!I||!window.EyeDropper){let j=Error("EyeDropper API not supported");return q={...q,error:j},J(),B?.(j),null}K?.abort(),K=new AbortController,q={...q,isOpen:!0,error:null},J();try{let N=await new window.EyeDropper().open({signal:K.signal});return q={...q,isOpen:!1,sRGBHex:N.sRGBHex},J(),G?.(N.sRGBHex),N.sRGBHex}catch(j){if(q={...q,isOpen:!1},j.name==="AbortError")return L?.(),J(),null;return q={...q,error:j},J(),B?.(j),null}}return{get:()=>q,subscribe:(j)=>{return z.add(j),j(q),()=>{if(z.delete(j),z.size===0)K?.abort()}},open:O,isSupported:()=>I}}async function W(){if(!Q()||!window.EyeDropper)return null;try{return(await new window.EyeDropper().open()).sRGBHex}catch{return null}}function V(M){let G=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(M);return G?{r:Number.parseInt(G[1],16),g:Number.parseInt(G[2],16),b:Number.parseInt(G[3],16)}:null}function X(M){let G=V(M);if(!G)return null;let L=G.r/255,B=G.g/255,I=G.b/255,z=Math.max(L,B,I),q=Math.min(L,B,I),K=(z+q)/2;if(z===q)return{h:0,s:0,l:Math.round(K*100)};let J=z-q,O=K>0.5?J/(2-z-q):J/(z+q),j=0;switch(z){case L:j=((B-I)/J+(B<I?6:0))/6;break;case B:j=((I-L)/J+2)/6;break;case I:j=((L-B)/J+4)/6;break}return{h:Math.round(j*360),s:Math.round(O*100),l:Math.round(K*100)}}function Y(M={}){let{maxHistory:G=20,onPick:L}=M,B=U({onPick:L}),I=new Set,z=[];function q(){let j={current:B.get().sRGBHex,history:z};I.forEach((N)=>N(j))}B.subscribe((j)=>{if(j.sRGBHex&&!z.includes(j.sRGBHex))z=[j.sRGBHex,...z].slice(0,G),q()});async function K(){return B.open()}function J(){z=[],q()}function O(j){z=z.filter((N)=>N!==j),q()}return{get:()=>({current:B.get().sRGBHex,history:z}),subscribe:(j)=>{return I.add(j),j({current:B.get().sRGBHex,history:z}),()=>{I.delete(j)}},pick:K,clearHistory:J,removeFromHistory:O,isSupported:B.isSupported}}export{U as useEyeDropper,Y as useColorHistory,W as pickColor,Q as isEyeDropperSupported,V as hexToRgb,X as hexToHsl};
@@ -1,2 +1,2 @@
1
1
  // @bun
2
- import{eq as J}from"../chunk-5ppkfyn2.js";import"../chunk-3jm3snz8.js";var D=new Map;function i(j,M,N){let z=M?`${M.replace(/\/$/,"")}/${j.replace(/^\//,"")}`:j;if(N){let W=new URLSearchParams;for(let[_,X]of Object.entries(N))if(X!==void 0)W.append(_,String(X));let P=W.toString();if(P)z+=(z.includes("?")?"&":"?")+P}return z}function f(j,M={}){let{immediate:N=!0,transform:z,parseResponse:W=(G)=>G.json(),timeout:P=30000,retry:_=0,retryDelay:X=1000,key:$,cacheTime:Y=0,refetchOnFocus:I=!1,refetchInterval:H,initialData:S=null,baseURL:q,query:L,body:Q,...A}=M,E=J(S),K=J(!1),O=J(null),U=J(null),v=J(null),w=null,B=null,k=null,F=()=>{let G=typeof j==="function"?j():j;return i(G,q,L)},R=()=>$||F(),p=()=>{if(Y<=0)return null;let G=D.get(R());if(G&&Date.now()-G.timestamp<Y)return G.data;return null},y=(G)=>{if(Y>0)D.set(R(),{data:G,timestamp:Date.now()})},x=async(G=0)=>{let C=p();if(C!==null){E.set(C),K.set(!1),O.set(null);return}if(w)w.abort();w=new AbortController,K.set(!0),O.set(null);let m=setTimeout(()=>w?.abort(),P);try{let V;if(Q)if(typeof Q==="object"&&!(Q instanceof FormData)&&!(Q instanceof URLSearchParams))V=JSON.stringify(Q),A.headers={"Content-Type":"application/json",...A.headers};else V=Q;let Z=await fetch(F(),{...A,body:V,signal:w.signal});if(clearTimeout(m),U.set(Z.status),v.set(Z.statusText),!Z.ok)throw Error(`HTTP ${Z.status}: ${Z.statusText}`);let T=await W(Z);if(z)T=z(T);y(T),E.set(T),K.set(!1)}catch(V){if(clearTimeout(m),V instanceof Error&&V.name==="AbortError")return;if(G<_)return await new Promise((Z)=>setTimeout(Z,X)),x(G+1);O.set(V instanceof Error?V:Error(String(V))),K.set(!1)}},b=()=>{if(!I||typeof window>"u")return;B=()=>{if(document.visibilityState==="visible")x()},document.addEventListener("visibilitychange",B)},g=()=>{if(!H||typeof window>"u")return;k=setInterval(()=>void x(),H)};if(N)x(),b(),g();return{data:E,loading:K,error:O,status:U,statusText:v,refetch:()=>x(),execute:async()=>{await x(),b(),g()},abort:()=>{if(w)w.abort();if(B)document.removeEventListener("visibilitychange",B),B=null;if(k)clearInterval(k),k=null}}}function n(j,M={}){let{immediate:N=!0,transform:z,initialData:W=null,key:P,cacheTime:_=0}=M,X=J(W),$=J(!1),Y=J(null),I=J(null),H=J(null),S=()=>P||j.toString(),q=()=>{if(_<=0)return null;let A=D.get(S());if(A&&Date.now()-A.timestamp<_)return A.data;return null},L=(A)=>{if(_>0)D.set(S(),{data:A,timestamp:Date.now()})},Q=async()=>{let A=q();if(A!==null){X.set(A),$.set(!1),Y.set(null);return}$.set(!0),Y.set(null);try{let E=await j();if(z)E=z(E);L(E),X.set(E),$.set(!1)}catch(E){Y.set(E instanceof Error?E:Error(String(E))),$.set(!1)}};if(N)Q();return{data:X,loading:$,error:Y,status:I,statusText:H,refetch:Q,execute:Q,abort:()=>{}}}function h(j,M={}){let N,z=f(j,{...M,method:"POST",immediate:!1,get body(){return N}});return{execute:async(W)=>{return N=W,await z.execute(),z.data()},state:z}}function d(j){if(j)D.delete(j);else D.clear()}async function l(j,M){await f(j,{...M,immediate:!1}).execute()}export{h as usePost,f as useFetch,n as useAsyncData,l as prefetch,d as clearFetchCache};
2
+ import{dq as J}from"../chunk-q6zhd9yf.js";import"../chunk-xv34zbp4.js";var D=new Map;function i(j,M,N){let z=M?`${M.replace(/\/$/,"")}/${j.replace(/^\//,"")}`:j;if(N){let W=new URLSearchParams;for(let[_,X]of Object.entries(N))if(X!==void 0)W.append(_,String(X));let P=W.toString();if(P)z+=(z.includes("?")?"&":"?")+P}return z}function f(j,M={}){let{immediate:N=!0,transform:z,parseResponse:W=(G)=>G.json(),timeout:P=30000,retry:_=0,retryDelay:X=1000,key:$,cacheTime:Y=0,refetchOnFocus:I=!1,refetchInterval:H,initialData:S=null,baseURL:q,query:L,body:Q,...A}=M,E=J(S),K=J(!1),O=J(null),U=J(null),v=J(null),w=null,B=null,k=null,F=()=>{let G=typeof j==="function"?j():j;return i(G,q,L)},R=()=>$||F(),p=()=>{if(Y<=0)return null;let G=D.get(R());if(G&&Date.now()-G.timestamp<Y)return G.data;return null},y=(G)=>{if(Y>0)D.set(R(),{data:G,timestamp:Date.now()})},x=async(G=0)=>{let C=p();if(C!==null){E.set(C),K.set(!1),O.set(null);return}if(w)w.abort();w=new AbortController,K.set(!0),O.set(null);let m=setTimeout(()=>w?.abort(),P);try{let V;if(Q)if(typeof Q==="object"&&!(Q instanceof FormData)&&!(Q instanceof URLSearchParams))V=JSON.stringify(Q),A.headers={"Content-Type":"application/json",...A.headers};else V=Q;let Z=await fetch(F(),{...A,body:V,signal:w.signal});if(clearTimeout(m),U.set(Z.status),v.set(Z.statusText),!Z.ok)throw Error(`HTTP ${Z.status}: ${Z.statusText}`);let T=await W(Z);if(z)T=z(T);y(T),E.set(T),K.set(!1)}catch(V){if(clearTimeout(m),V instanceof Error&&V.name==="AbortError")return;if(G<_)return await new Promise((Z)=>setTimeout(Z,X)),x(G+1);O.set(V instanceof Error?V:Error(String(V))),K.set(!1)}},b=()=>{if(!I||typeof window>"u")return;B=()=>{if(document.visibilityState==="visible")x()},document.addEventListener("visibilitychange",B)},g=()=>{if(!H||typeof window>"u")return;k=setInterval(()=>void x(),H)};if(N)x(),b(),g();return{data:E,loading:K,error:O,status:U,statusText:v,refetch:()=>x(),execute:async()=>{await x(),b(),g()},abort:()=>{if(w)w.abort();if(B)document.removeEventListener("visibilitychange",B),B=null;if(k)clearInterval(k),k=null}}}function n(j,M={}){let{immediate:N=!0,transform:z,initialData:W=null,key:P,cacheTime:_=0}=M,X=J(W),$=J(!1),Y=J(null),I=J(null),H=J(null),S=()=>P||j.toString(),q=()=>{if(_<=0)return null;let A=D.get(S());if(A&&Date.now()-A.timestamp<_)return A.data;return null},L=(A)=>{if(_>0)D.set(S(),{data:A,timestamp:Date.now()})},Q=async()=>{let A=q();if(A!==null){X.set(A),$.set(!1),Y.set(null);return}$.set(!0),Y.set(null);try{let E=await j();if(z)E=z(E);L(E),X.set(E),$.set(!1)}catch(E){Y.set(E instanceof Error?E:Error(String(E))),$.set(!1)}};if(N)Q();return{data:X,loading:$,error:Y,status:I,statusText:H,refetch:Q,execute:Q,abort:()=>{}}}function h(j,M={}){let N,z=f(j,{...M,method:"POST",immediate:!1,get body(){return N}});return{execute:async(W)=>{return N=W,await z.execute(),z.data()},state:z}}function d(j){if(j)D.delete(j);else D.clear()}async function l(j,M){await f(j,{...M,immediate:!1}).execute()}export{h as usePost,f as useFetch,n as useAsyncData,l as prefetch,d as clearFetchCache};
@@ -1,2 +1,2 @@
1
1
  // @bun
2
- import"../chunk-3jm3snz8.js";function I(){return document.fullscreenElement||document.webkitFullscreenElement||document.mozFullScreenElement||document.msFullscreenElement||null}function P(){return!!(document.fullscreenEnabled||document.webkitFullscreenEnabled||document.mozFullScreenEnabled||document.msFullscreenEnabled)}async function Q(b,D){let A=D?.navigationUI?{navigationUI:D.navigationUI}:void 0;if(b.requestFullscreen)await b.requestFullscreen(A);else if(b.webkitRequestFullscreen)await b.webkitRequestFullscreen();else if(b.mozRequestFullScreen)await b.mozRequestFullScreen();else if(b.msRequestFullscreen)await b.msRequestFullscreen()}async function R(){if(document.exitFullscreen)await document.exitFullscreen();else if(document.webkitExitFullscreen)await document.webkitExitFullscreen();else if(document.mozCancelFullScreen)await document.mozCancelFullScreen();else if(document.msExitFullscreen)await document.msExitFullscreen()}function T(b,D={}){let A=typeof document<"u"&&P(),w={isFullscreen:!1,isSupported:A,element:null},z=[],G=null,M=()=>{if(!b)return document.documentElement;if(typeof b==="function")return b()||document.documentElement;return b},N=()=>{z.forEach((j)=>j(w))},H=()=>{let j=I();w={...w,isFullscreen:!!j,element:j},N()},O=()=>{if(typeof document>"u")return;let j=["fullscreenchange","webkitfullscreenchange","mozfullscreenchange","MSFullscreenChange"];for(let B of j)document.addEventListener(B,H);G=()=>{for(let B of j)document.removeEventListener(B,H)},H()},J=async()=>{if(!A)return;let j=M();await Q(j,D)},K=async()=>{if(!A)return;if(I())await R()};return{get:()=>w,subscribe:(j)=>{if(z.length===0)O();return z.push(j),j(w),()=>{if(z=z.filter((B)=>B!==j),z.length===0&&G)G(),G=null}},isFullscreen:()=>w.isFullscreen,isSupported:()=>w.isSupported,enter:J,exit:K,toggle:async()=>{if(w.isFullscreen)await K();else await J()}}}function V(){return T().toggle()}function W(){return!!I()}export{T as useFullscreen,V as toggleFullscreen,W as isInFullscreen};
2
+ import"../chunk-xv34zbp4.js";function I(){return document.fullscreenElement||document.webkitFullscreenElement||document.mozFullScreenElement||document.msFullscreenElement||null}function P(){return!!(document.fullscreenEnabled||document.webkitFullscreenEnabled||document.mozFullScreenEnabled||document.msFullscreenEnabled)}async function Q(b,D){let A=D?.navigationUI?{navigationUI:D.navigationUI}:void 0;if(b.requestFullscreen)await b.requestFullscreen(A);else if(b.webkitRequestFullscreen)await b.webkitRequestFullscreen();else if(b.mozRequestFullScreen)await b.mozRequestFullScreen();else if(b.msRequestFullscreen)await b.msRequestFullscreen()}async function R(){if(document.exitFullscreen)await document.exitFullscreen();else if(document.webkitExitFullscreen)await document.webkitExitFullscreen();else if(document.mozCancelFullScreen)await document.mozCancelFullScreen();else if(document.msExitFullscreen)await document.msExitFullscreen()}function T(b,D={}){let A=typeof document<"u"&&P(),w={isFullscreen:!1,isSupported:A,element:null},z=[],G=null,M=()=>{if(!b)return document.documentElement;if(typeof b==="function")return b()||document.documentElement;return b},N=()=>{z.forEach((j)=>j(w))},H=()=>{let j=I();w={...w,isFullscreen:!!j,element:j},N()},O=()=>{if(typeof document>"u")return;let j=["fullscreenchange","webkitfullscreenchange","mozfullscreenchange","MSFullscreenChange"];for(let B of j)document.addEventListener(B,H);G=()=>{for(let B of j)document.removeEventListener(B,H)},H()},J=async()=>{if(!A)return;let j=M();await Q(j,D)},K=async()=>{if(!A)return;if(I())await R()};return{get:()=>w,subscribe:(j)=>{if(z.length===0)O();return z.push(j),j(w),()=>{if(z=z.filter((B)=>B!==j),z.length===0&&G)G(),G=null}},isFullscreen:()=>w.isFullscreen,isSupported:()=>w.isSupported,enter:J,exit:K,toggle:async()=>{if(w.isFullscreen)await K();else await J()}}}function V(){return T().toggle()}function W(){return!!I()}export{T as useFullscreen,V as toggleFullscreen,W as isInFullscreen};
@@ -1,2 +1,2 @@
1
1
  // @bun
2
- import"../chunk-3jm3snz8.js";function Z(B){return new Promise((J,C)=>{if(!navigator.geolocation){C(Error("Geolocation is not supported"));return}navigator.geolocation.getCurrentPosition(J,C,B)})}function _(B,J,C,M){let F=B*Math.PI/180,q=C*Math.PI/180,z=(C-B)*Math.PI/180,D=(M-J)*Math.PI/180,K=Math.sin(z/2)*Math.sin(z/2)+Math.cos(F)*Math.cos(q)*Math.sin(D/2)*Math.sin(D/2);return 6371000*(2*Math.atan2(Math.sqrt(K),Math.sqrt(1-K)))}function Y(B={}){let{enableHighAccuracy:J=!0,timeout:C=1e4,maximumAge:M=0,immediate:N=!0}=B,F=typeof navigator<"u"&&"geolocation"in navigator,q={coords:null,timestamp:null,error:null,loading:!1,supported:F},z=[],D=null,K=!0,L=()=>{z.forEach((k)=>k(q))},Q=(k)=>{q={...q,coords:{latitude:k.coords.latitude,longitude:k.coords.longitude,altitude:k.coords.altitude,accuracy:k.coords.accuracy,altitudeAccuracy:k.coords.altitudeAccuracy,heading:k.coords.heading,speed:k.coords.speed},timestamp:k.timestamp,error:null,loading:!1},L()},R=(k)=>{q={...q,error:k,loading:!1},L()},O=()=>{if(!F||D!==null)return;q={...q,loading:!0},L(),D=navigator.geolocation.watchPosition(Q,R,{enableHighAccuracy:J,timeout:C,maximumAge:M})},S=()=>{if(D!==null)navigator.geolocation.clearWatch(D),D=null},T=()=>{if(!F)return;q={...q,loading:!0},L(),navigator.geolocation.getCurrentPosition(Q,R,{enableHighAccuracy:J,timeout:C,maximumAge:M})},U=()=>{K=!1,S()},V=()=>{if(K=!0,z.length>0)O()};if(N&&F)O();return{get:()=>q,subscribe:(k)=>{if(z.push(k),k(q),z.length===1&&K&&F&&!N)O();return()=>{if(z=z.filter((X)=>X!==k),z.length===0)S()}},refresh:T,pause:U,resume:V}}function $(B){return Y({...B,immediate:!0})}export{$ as useGeolocationWatch,Y as useGeolocation,Z as getCurrentPosition,_ as calculateDistance};
2
+ import"../chunk-xv34zbp4.js";function Z(B){return new Promise((J,C)=>{if(!navigator.geolocation){C(Error("Geolocation is not supported"));return}navigator.geolocation.getCurrentPosition(J,C,B)})}function _(B,J,C,M){let F=B*Math.PI/180,q=C*Math.PI/180,z=(C-B)*Math.PI/180,D=(M-J)*Math.PI/180,K=Math.sin(z/2)*Math.sin(z/2)+Math.cos(F)*Math.cos(q)*Math.sin(D/2)*Math.sin(D/2);return 6371000*(2*Math.atan2(Math.sqrt(K),Math.sqrt(1-K)))}function Y(B={}){let{enableHighAccuracy:J=!0,timeout:C=1e4,maximumAge:M=0,immediate:N=!0}=B,F=typeof navigator<"u"&&"geolocation"in navigator,q={coords:null,timestamp:null,error:null,loading:!1,supported:F},z=[],D=null,K=!0,L=()=>{z.forEach((k)=>k(q))},Q=(k)=>{q={...q,coords:{latitude:k.coords.latitude,longitude:k.coords.longitude,altitude:k.coords.altitude,accuracy:k.coords.accuracy,altitudeAccuracy:k.coords.altitudeAccuracy,heading:k.coords.heading,speed:k.coords.speed},timestamp:k.timestamp,error:null,loading:!1},L()},R=(k)=>{q={...q,error:k,loading:!1},L()},O=()=>{if(!F||D!==null)return;q={...q,loading:!0},L(),D=navigator.geolocation.watchPosition(Q,R,{enableHighAccuracy:J,timeout:C,maximumAge:M})},S=()=>{if(D!==null)navigator.geolocation.clearWatch(D),D=null},T=()=>{if(!F)return;q={...q,loading:!0},L(),navigator.geolocation.getCurrentPosition(Q,R,{enableHighAccuracy:J,timeout:C,maximumAge:M})},U=()=>{K=!1,S()},V=()=>{if(K=!0,z.length>0)O()};if(N&&F)O();return{get:()=>q,subscribe:(k)=>{if(z.push(k),k(q),z.length===1&&K&&F&&!N)O();return()=>{if(z=z.filter((X)=>X!==k),z.length===0)S()}},refresh:T,pause:U,resume:V}}function $(B){return Y({...B,immediate:!0})}export{$ as useGeolocationWatch,Y as useGeolocation,Z as getCurrentPosition,_ as calculateDistance};
@@ -1,2 +1,2 @@
1
1
  // @bun
2
- import"../chunk-3jm3snz8.js";var _=["mousemove","mousedown","keydown","touchstart","scroll","wheel","resize","visibilitychange"];function x(z={}){let{timeout:k=60000,events:M=_,listenTo:B=typeof document<"u"?document:null,initialState:P=!1,onIdle:G,onActive:Q}=z,J=new Set,j={isIdle:P,lastActive:Date.now(),idleTime:0},H=null,O=null,R=null;function Z(){J.forEach((q)=>q(j))}function $(q){let K=j.isIdle;if(q&&!K)j={...j,isIdle:!0},Z(),G?.(),O=setInterval(()=>{j={...j,idleTime:Date.now()-j.lastActive},Z()},1000);else if(!q&&K){if(j={...j,isIdle:!1,lastActive:Date.now(),idleTime:0},Z(),Q?.(),O)clearInterval(O),O=null}}function X(){if(H)clearTimeout(H);if(!j.isIdle)j={...j,lastActive:Date.now()};$(!1),H=setTimeout(()=>{$(!0)},k)}function C(){X()}function D(){if(document.hidden){if(H)clearTimeout(H);H=setTimeout(()=>{$(!0)},Math.min(k,5000))}else X()}function F(){if(!B||R)return;let q=[];for(let K of M){let Y=K==="visibilitychange"?D:C;B.addEventListener(K,Y,{passive:!0}),q.push([K,Y])}X(),R=()=>{for(let[K,Y]of q)B.removeEventListener(K,Y);if(H)clearTimeout(H),H=null;if(O)clearInterval(O),O=null}}function N(){R?.(),R=null}function U(){X()}if(typeof document<"u")F();return{get:()=>j,subscribe:(q)=>{return J.add(q),q(j),()=>{if(J.delete(q),J.size===0)N()}},reset:U,isIdle:()=>j.isIdle}}function V(z=60000){let k=x({timeout:z});return{get:()=>k.get().isIdle,subscribe:(M)=>{return k.subscribe((B)=>M(B.isIdle))},reset:k.reset}}function E(){let z=x({timeout:Number.POSITIVE_INFINITY});return{get:()=>z.get().lastActive,subscribe:(k)=>{return z.subscribe((M)=>k(M.lastActive))},reset:z.reset}}function W(z,k,M={}){let{warningTime:B=30000,onWarning:P}=M,G=null,Q=!1,J=x({timeout:z-B,onIdle:()=>{if(P){Q=!0;let j=B;P(j),G=setInterval(()=>{if(j-=1000,j<=0){if(G)clearInterval(G),G=null;k()}else P(j)},1000)}else setTimeout(k,B)},onActive:()=>{if(Q){if(Q=!1,G)clearInterval(G),G=null}}});return{reset:J.reset,get:J.get,subscribe:J.subscribe}}export{E as useLastActive,V as useIdleState,x as useIdle,W as useAutoLogout};
2
+ import"../chunk-xv34zbp4.js";var _=["mousemove","mousedown","keydown","touchstart","scroll","wheel","resize","visibilitychange"];function x(z={}){let{timeout:k=60000,events:M=_,listenTo:B=typeof document<"u"?document:null,initialState:P=!1,onIdle:G,onActive:Q}=z,J=new Set,j={isIdle:P,lastActive:Date.now(),idleTime:0},H=null,O=null,R=null;function Z(){J.forEach((q)=>q(j))}function $(q){let K=j.isIdle;if(q&&!K)j={...j,isIdle:!0},Z(),G?.(),O=setInterval(()=>{j={...j,idleTime:Date.now()-j.lastActive},Z()},1000);else if(!q&&K){if(j={...j,isIdle:!1,lastActive:Date.now(),idleTime:0},Z(),Q?.(),O)clearInterval(O),O=null}}function X(){if(H)clearTimeout(H);if(!j.isIdle)j={...j,lastActive:Date.now()};$(!1),H=setTimeout(()=>{$(!0)},k)}function C(){X()}function D(){if(document.hidden){if(H)clearTimeout(H);H=setTimeout(()=>{$(!0)},Math.min(k,5000))}else X()}function F(){if(!B||R)return;let q=[];for(let K of M){let Y=K==="visibilitychange"?D:C;B.addEventListener(K,Y,{passive:!0}),q.push([K,Y])}X(),R=()=>{for(let[K,Y]of q)B.removeEventListener(K,Y);if(H)clearTimeout(H),H=null;if(O)clearInterval(O),O=null}}function N(){R?.(),R=null}function U(){X()}if(typeof document<"u")F();return{get:()=>j,subscribe:(q)=>{return J.add(q),q(j),()=>{if(J.delete(q),J.size===0)N()}},reset:U,isIdle:()=>j.isIdle}}function V(z=60000){let k=x({timeout:z});return{get:()=>k.get().isIdle,subscribe:(M)=>{return k.subscribe((B)=>M(B.isIdle))},reset:k.reset}}function E(){let z=x({timeout:Number.POSITIVE_INFINITY});return{get:()=>z.get().lastActive,subscribe:(k)=>{return z.subscribe((M)=>k(M.lastActive))},reset:z.reset}}function W(z,k,M={}){let{warningTime:B=30000,onWarning:P}=M,G=null,Q=!1,J=x({timeout:z-B,onIdle:()=>{if(P){Q=!0;let j=B;P(j),G=setInterval(()=>{if(j-=1000,j<=0){if(G)clearInterval(G),G=null;k()}else P(j)},1000)}else setTimeout(k,B)},onActive:()=>{if(Q){if(Q=!1,G)clearInterval(G),G=null}}});return{reset:J.reset,get:J.get,subscribe:J.subscribe}}export{E as useLastActive,V as useIdleState,x as useIdle,W as useAutoLogout};
@@ -1,2 +1,2 @@
1
1
  // @bun
2
- import"../chunk-3jm3snz8.js";function U(q,z,B={}){let{root:C=null,rootMargin:F="0px",threshold:w=0,once:j=!1,immediate:x=!0}=B,G={isIntersecting:!1,intersectionRatio:0,boundingClientRect:null,intersectionRect:null,isVisible:!1,entry:null},K=[],J=null,P=!1,N=()=>{if(typeof q==="function")return q();return q},W=()=>{K.forEach((H)=>H(G))},X=(H)=>{let D=H[0];if(!D)return;if(G={isIntersecting:D.isIntersecting,intersectionRatio:D.intersectionRatio,boundingClientRect:D.boundingClientRect,intersectionRect:D.intersectionRect,isVisible:D.isIntersecting,entry:D},W(),z)z(D,J);if(j&&D.isIntersecting)R()},Q=()=>{if(typeof IntersectionObserver>"u")return;if(J)return;let H=N();if(!H)return;J=new IntersectionObserver(X,{root:C,rootMargin:F,threshold:w}),J.observe(H),P=!0},R=()=>{if(J)J.disconnect(),J=null;P=!1};if(x)Q();return{get:()=>G,subscribe:(H)=>{if(K.push(H),H(G),K.length===1&&!x&&!P)Q();return()=>{if(K=K.filter((D)=>D!==H),K.length===0&&!z)R()}},isVisible:()=>G.isVisible,stop:R,start:Q}}function Y(q,z){let B=U(q,void 0,z),C=[],F=!1;return{get:()=>B.isVisible(),subscribe:(w)=>{let j=B.subscribe((x)=>{if(x.isVisible!==F)F=x.isVisible,w(x.isVisible)});return C.push(w),w(B.isVisible()),()=>{if(C=C.filter((x)=>x!==w),C.length===0)j()}}}}function Z(q,z,B){return{stop:U(q,(F)=>{if(F.isIntersecting)z()},{...B,once:!0}).stop}}function _(q,z,B={}){let{debounce:C=100,...F}=B,w=!1,j=null,x=U(q,async(G)=>{if(!G.isIntersecting||w)return;if(j)clearTimeout(j);j=setTimeout(async()=>{w=!0;try{await z()}finally{w=!1}},C)},{rootMargin:"100px",...F});return{stop:()=>{if(j)clearTimeout(j);x.stop()},start:x.start,isLoading:()=>w}}function $(q,z,B={}){let{root:C=null,rootMargin:F="0px",threshold:w=0}=B,j=null,x=()=>{if(typeof q==="function")return q();return q},G=()=>{if(typeof IntersectionObserver>"u")return;if(j)return;j=new IntersectionObserver(z,{root:C,rootMargin:F,threshold:w});for(let N of x())j.observe(N)},K=()=>{if(j)j.disconnect(),j=null},J=(N)=>{j?.observe(N)},P=(N)=>{j?.unobserve(N)};return G(),{stop:K,start:G,observe:J,unobserve:P}}export{Z as useLazyLoad,$ as useIntersectionObserverMultiple,U as useIntersectionObserver,_ as useInfiniteScroll,Y as useElementVisibility};
2
+ import"../chunk-xv34zbp4.js";function U(q,z,B={}){let{root:C=null,rootMargin:F="0px",threshold:w=0,once:j=!1,immediate:x=!0}=B,G={isIntersecting:!1,intersectionRatio:0,boundingClientRect:null,intersectionRect:null,isVisible:!1,entry:null},K=[],J=null,P=!1,N=()=>{if(typeof q==="function")return q();return q},W=()=>{K.forEach((H)=>H(G))},X=(H)=>{let D=H[0];if(!D)return;if(G={isIntersecting:D.isIntersecting,intersectionRatio:D.intersectionRatio,boundingClientRect:D.boundingClientRect,intersectionRect:D.intersectionRect,isVisible:D.isIntersecting,entry:D},W(),z)z(D,J);if(j&&D.isIntersecting)R()},Q=()=>{if(typeof IntersectionObserver>"u")return;if(J)return;let H=N();if(!H)return;J=new IntersectionObserver(X,{root:C,rootMargin:F,threshold:w}),J.observe(H),P=!0},R=()=>{if(J)J.disconnect(),J=null;P=!1};if(x)Q();return{get:()=>G,subscribe:(H)=>{if(K.push(H),H(G),K.length===1&&!x&&!P)Q();return()=>{if(K=K.filter((D)=>D!==H),K.length===0&&!z)R()}},isVisible:()=>G.isVisible,stop:R,start:Q}}function Y(q,z){let B=U(q,void 0,z),C=[],F=!1;return{get:()=>B.isVisible(),subscribe:(w)=>{let j=B.subscribe((x)=>{if(x.isVisible!==F)F=x.isVisible,w(x.isVisible)});return C.push(w),w(B.isVisible()),()=>{if(C=C.filter((x)=>x!==w),C.length===0)j()}}}}function Z(q,z,B){return{stop:U(q,(F)=>{if(F.isIntersecting)z()},{...B,once:!0}).stop}}function _(q,z,B={}){let{debounce:C=100,...F}=B,w=!1,j=null,x=U(q,async(G)=>{if(!G.isIntersecting||w)return;if(j)clearTimeout(j);j=setTimeout(async()=>{w=!0;try{await z()}finally{w=!1}},C)},{rootMargin:"100px",...F});return{stop:()=>{if(j)clearTimeout(j);x.stop()},start:x.start,isLoading:()=>w}}function $(q,z,B={}){let{root:C=null,rootMargin:F="0px",threshold:w=0}=B,j=null,x=()=>{if(typeof q==="function")return q();return q},G=()=>{if(typeof IntersectionObserver>"u")return;if(j)return;j=new IntersectionObserver(z,{root:C,rootMargin:F,threshold:w});for(let N of x())j.observe(N)},K=()=>{if(j)j.disconnect(),j=null},J=(N)=>{j?.observe(N)},P=(N)=>{j?.unobserve(N)};return G(),{stop:K,start:G,observe:J,unobserve:P}}export{Z as useLazyLoad,$ as useIntersectionObserverMultiple,U as useIntersectionObserver,_ as useInfiniteScroll,Y as useElementVisibility};
@@ -1,2 +1,2 @@
1
1
  // @bun
2
- import"../chunk-3jm3snz8.js";function F(x){let j=x.toLowerCase().split("+").map((O)=>O.trim());return{key:j[j.length-1],ctrl:j.includes("ctrl")||j.includes("control"),alt:j.includes("alt")||j.includes("option"),shift:j.includes("shift"),meta:j.includes("meta")||j.includes("cmd")||j.includes("command")||j.includes("win")}}function L(x,j){let Q=x.key.toLowerCase(),O=x.code.toLowerCase();return(Q===j.key||O===j.key||O===`key${j.key}`||O===`digit${j.key}`||j.key==="space"&&x.code==="Space"||j.key==="enter"&&x.key==="Enter"||j.key==="escape"&&x.key==="Escape"||j.key==="esc"&&x.key==="Escape"||j.key==="tab"&&x.key==="Tab"||j.key==="backspace"&&x.key==="Backspace"||j.key==="delete"&&x.key==="Delete"||j.key==="up"&&x.key==="ArrowUp"||j.key==="down"&&x.key==="ArrowDown"||j.key==="left"&&x.key==="ArrowLeft"||j.key==="right"&&x.key==="ArrowRight")&&x.ctrlKey===j.ctrl&&x.altKey===j.alt&&x.shiftKey===j.shift&&x.metaKey===j.meta}function M(){let x=document.activeElement;if(!x)return!1;let j=x.tagName.toLowerCase();return j==="input"||j==="textarea"||j==="select"||x.isContentEditable}function R(x={}){let{target:j=typeof window<"u"?window:null,capture:Q=!1,passive:O=!0}=x,A={pressed:new Set,lastKey:null,lastEvent:null,ctrl:!1,alt:!1,shift:!1,meta:!1,timestamp:0},E=[],J=null,S=()=>{E.forEach((z)=>z(A))},W=(z)=>{let G=new Set(A.pressed);G.add(z.key.toLowerCase()),G.add(z.code.toLowerCase()),A={pressed:G,lastKey:z.key,lastEvent:z,ctrl:z.ctrlKey,alt:z.altKey,shift:z.shiftKey,meta:z.metaKey,timestamp:Date.now()},S()},X=(z)=>{let G=new Set(A.pressed);G.delete(z.key.toLowerCase()),G.delete(z.code.toLowerCase()),A={pressed:G,lastKey:z.key,lastEvent:z,ctrl:z.ctrlKey,alt:z.altKey,shift:z.shiftKey,meta:z.metaKey,timestamp:Date.now()},S()},Y=()=>{A={...A,pressed:new Set,ctrl:!1,alt:!1,shift:!1,meta:!1},S()},Z=()=>{if(!j)return;let z=j,G={capture:Q,passive:O};if(z.addEventListener("keydown",W,G),z.addEventListener("keyup",X,G),typeof window<"u")window.addEventListener("blur",Y);J=()=>{if(z.removeEventListener("keydown",W,G),z.removeEventListener("keyup",X,G),typeof window<"u")window.removeEventListener("blur",Y)}};return{get:()=>A,subscribe:(z)=>{if(E.length===0)Z();return E.push(z),z(A),()=>{if(E=E.filter((G)=>G!==z),E.length===0&&J)J(),J=null}},isPressed:(z)=>{let G=z.toLowerCase();return A.pressed.has(G)},stop:()=>{if(J)J(),J=null;E=[]}}}function I(x,j,Q={}){let{target:O=typeof window<"u"?window:null,preventDefault:A=!0,stopPropagation:E=!1,ignoreRepeat:J=!0,keyup:S=!1,ignoreInputs:W=!0}=Q;if(!O)return()=>{};let Y=(Array.isArray(x)?x:[x]).map(F),Z=(_)=>{if(J&&_.repeat)return;if(W&&M())return;if(!Y.some(($)=>L(_,$)))return;if(A)_.preventDefault();if(E)_.stopPropagation();j(_)},z=S?"keyup":"keydown",G=O;return G.addEventListener(z,Z),()=>{G.removeEventListener(z,Z)}}function U(x,j={}){let Q=R(j),O=x.toLowerCase(),A=[],E=!1,J=null;return{get:()=>Q.isPressed(O),subscribe:(S)=>{if(A.length===0)J=Q.subscribe((W)=>{let X=W.pressed.has(O);if(X!==E)E=X,A.forEach((Y)=>Y(X))});return A.push(S),S(Q.isPressed(O)),()=>{if(A=A.filter((W)=>W!==S),A.length===0&&J)J(),J=null}}}}function V(x,j,Q={}){let{timeout:O=1000,target:A=typeof window<"u"?window:null}=Q;if(!A)return()=>{};let E=[],J=0,S=(X)=>{let Y=Date.now();if(Y-J>O)E=[];if(J=Y,E.push(X.key.toLowerCase()),E.length>x.length)E=E.slice(-x.length);if(E.length===x.length){if(E.every((z,G)=>z===x[G].toLowerCase()))j(),E=[]}},W=A;return W.addEventListener("keydown",S),()=>{W.removeEventListener("keydown",S)}}var D={save:"ctrl+s",undo:"ctrl+z",redo:"ctrl+shift+z",copy:"ctrl+c",paste:"ctrl+v",cut:"ctrl+x",selectAll:"ctrl+a",find:"ctrl+f",replace:"ctrl+h",newTab:"ctrl+t",closeTab:"ctrl+w",refresh:"ctrl+r",escape:"escape",enter:"enter",saveMac:"meta+s",undoMac:"meta+z",redoMac:"meta+shift+z",copyMac:"meta+c",pasteMac:"meta+v",cutMac:"meta+x"};export{R as useKeyboard,V as useKeySequence,U as useKeyPressed,I as useHotkey,D as shortcuts};
2
+ import"../chunk-xv34zbp4.js";function F(x){let j=x.toLowerCase().split("+").map((O)=>O.trim());return{key:j[j.length-1],ctrl:j.includes("ctrl")||j.includes("control"),alt:j.includes("alt")||j.includes("option"),shift:j.includes("shift"),meta:j.includes("meta")||j.includes("cmd")||j.includes("command")||j.includes("win")}}function L(x,j){let Q=x.key.toLowerCase(),O=x.code.toLowerCase();return(Q===j.key||O===j.key||O===`key${j.key}`||O===`digit${j.key}`||j.key==="space"&&x.code==="Space"||j.key==="enter"&&x.key==="Enter"||j.key==="escape"&&x.key==="Escape"||j.key==="esc"&&x.key==="Escape"||j.key==="tab"&&x.key==="Tab"||j.key==="backspace"&&x.key==="Backspace"||j.key==="delete"&&x.key==="Delete"||j.key==="up"&&x.key==="ArrowUp"||j.key==="down"&&x.key==="ArrowDown"||j.key==="left"&&x.key==="ArrowLeft"||j.key==="right"&&x.key==="ArrowRight")&&x.ctrlKey===j.ctrl&&x.altKey===j.alt&&x.shiftKey===j.shift&&x.metaKey===j.meta}function M(){let x=document.activeElement;if(!x)return!1;let j=x.tagName.toLowerCase();return j==="input"||j==="textarea"||j==="select"||x.isContentEditable}function R(x={}){let{target:j=typeof window<"u"?window:null,capture:Q=!1,passive:O=!0}=x,A={pressed:new Set,lastKey:null,lastEvent:null,ctrl:!1,alt:!1,shift:!1,meta:!1,timestamp:0},E=[],J=null,S=()=>{E.forEach((z)=>z(A))},W=(z)=>{let G=new Set(A.pressed);G.add(z.key.toLowerCase()),G.add(z.code.toLowerCase()),A={pressed:G,lastKey:z.key,lastEvent:z,ctrl:z.ctrlKey,alt:z.altKey,shift:z.shiftKey,meta:z.metaKey,timestamp:Date.now()},S()},X=(z)=>{let G=new Set(A.pressed);G.delete(z.key.toLowerCase()),G.delete(z.code.toLowerCase()),A={pressed:G,lastKey:z.key,lastEvent:z,ctrl:z.ctrlKey,alt:z.altKey,shift:z.shiftKey,meta:z.metaKey,timestamp:Date.now()},S()},Y=()=>{A={...A,pressed:new Set,ctrl:!1,alt:!1,shift:!1,meta:!1},S()},Z=()=>{if(!j)return;let z=j,G={capture:Q,passive:O};if(z.addEventListener("keydown",W,G),z.addEventListener("keyup",X,G),typeof window<"u")window.addEventListener("blur",Y);J=()=>{if(z.removeEventListener("keydown",W,G),z.removeEventListener("keyup",X,G),typeof window<"u")window.removeEventListener("blur",Y)}};return{get:()=>A,subscribe:(z)=>{if(E.length===0)Z();return E.push(z),z(A),()=>{if(E=E.filter((G)=>G!==z),E.length===0&&J)J(),J=null}},isPressed:(z)=>{let G=z.toLowerCase();return A.pressed.has(G)},stop:()=>{if(J)J(),J=null;E=[]}}}function I(x,j,Q={}){let{target:O=typeof window<"u"?window:null,preventDefault:A=!0,stopPropagation:E=!1,ignoreRepeat:J=!0,keyup:S=!1,ignoreInputs:W=!0}=Q;if(!O)return()=>{};let Y=(Array.isArray(x)?x:[x]).map(F),Z=(_)=>{if(J&&_.repeat)return;if(W&&M())return;if(!Y.some(($)=>L(_,$)))return;if(A)_.preventDefault();if(E)_.stopPropagation();j(_)},z=S?"keyup":"keydown",G=O;return G.addEventListener(z,Z),()=>{G.removeEventListener(z,Z)}}function U(x,j={}){let Q=R(j),O=x.toLowerCase(),A=[],E=!1,J=null;return{get:()=>Q.isPressed(O),subscribe:(S)=>{if(A.length===0)J=Q.subscribe((W)=>{let X=W.pressed.has(O);if(X!==E)E=X,A.forEach((Y)=>Y(X))});return A.push(S),S(Q.isPressed(O)),()=>{if(A=A.filter((W)=>W!==S),A.length===0&&J)J(),J=null}}}}function V(x,j,Q={}){let{timeout:O=1000,target:A=typeof window<"u"?window:null}=Q;if(!A)return()=>{};let E=[],J=0,S=(X)=>{let Y=Date.now();if(Y-J>O)E=[];if(J=Y,E.push(X.key.toLowerCase()),E.length>x.length)E=E.slice(-x.length);if(E.length===x.length){if(E.every((z,G)=>z===x[G].toLowerCase()))j(),E=[]}},W=A;return W.addEventListener("keydown",S),()=>{W.removeEventListener("keydown",S)}}var D={save:"ctrl+s",undo:"ctrl+z",redo:"ctrl+shift+z",copy:"ctrl+c",paste:"ctrl+v",cut:"ctrl+x",selectAll:"ctrl+a",find:"ctrl+f",replace:"ctrl+h",newTab:"ctrl+t",closeTab:"ctrl+w",refresh:"ctrl+r",escape:"escape",enter:"enter",saveMac:"meta+s",undoMac:"meta+z",redoMac:"meta+shift+z",copyMac:"meta+c",pasteMac:"meta+v",cutMac:"meta+x"};export{R as useKeyboard,V as useKeySequence,U as useKeyPressed,I as useHotkey,D as shortcuts};
@@ -1,2 +1,2 @@
1
1
  // @bun
2
- import"../chunk-3jm3snz8.js";function f(x){let z=new Set,B=typeof window<"u",j=null,w=!1;if(B){j=window.matchMedia(x),w=j.matches;let g=(A)=>{w=A.matches;for(let D of z)try{D(A.matches)}catch(E){console.error("[useMediaQuery] Subscriber error:",E)}};if(j.addEventListener)j.addEventListener("change",g);else j.addListener(g)}return{get matches(){return w},subscribe:(g)=>{return z.add(g),g(w),()=>z.delete(g)}}}function G(){return f("(prefers-color-scheme: dark)")}function H(){return f("(prefers-color-scheme: light)")}function I(){return f("(prefers-reduced-motion: reduce)")}function J(){return f("(prefers-contrast: more)")}var F={sm:"(min-width: 640px)",md:"(min-width: 768px)",lg:"(min-width: 1024px)",xl:"(min-width: 1280px)","2xl":"(min-width: 1536px)"};function K(x){return f(F[x])}function L(){return f("(max-width: 767px)")}function N(){return f("(min-width: 768px) and (max-width: 1023px)")}function O(){return f("(min-width: 1024px)")}export{I as usePreferredReducedMotion,H as usePreferredLight,G as usePreferredDark,J as usePreferredContrast,f as useMediaQuery,N as useIsTablet,L as useIsMobile,O as useIsDesktop,K as useBreakpoint,F as breakpoints};
2
+ import"../chunk-xv34zbp4.js";function f(x){let z=new Set,B=typeof window<"u",j=null,w=!1;if(B){j=window.matchMedia(x),w=j.matches;let g=(A)=>{w=A.matches;for(let D of z)try{D(A.matches)}catch(E){console.error("[useMediaQuery] Subscriber error:",E)}};if(j.addEventListener)j.addEventListener("change",g);else j.addListener(g)}return{get matches(){return w},subscribe:(g)=>{return z.add(g),g(w),()=>z.delete(g)}}}function G(){return f("(prefers-color-scheme: dark)")}function H(){return f("(prefers-color-scheme: light)")}function I(){return f("(prefers-reduced-motion: reduce)")}function J(){return f("(prefers-contrast: more)")}var F={sm:"(min-width: 640px)",md:"(min-width: 768px)",lg:"(min-width: 1024px)",xl:"(min-width: 1280px)","2xl":"(min-width: 1536px)"};function K(x){return f(F[x])}function L(){return f("(max-width: 767px)")}function N(){return f("(min-width: 768px) and (max-width: 1023px)")}function O(){return f("(min-width: 1024px)")}export{I as usePreferredReducedMotion,H as usePreferredLight,G as usePreferredDark,J as usePreferredContrast,f as useMediaQuery,N as useIsTablet,L as useIsMobile,O as useIsDesktop,K as useBreakpoint,F as breakpoints};
@@ -1,2 +1,2 @@
1
1
  // @bun
2
- import"../chunk-3jm3snz8.js";function F(q){if(typeof document>"u")return{setMeta:()=>{},setOgMeta:()=>{},removeMeta:()=>{},setTitle:()=>{}};function E(b,j){let z=document.querySelector(`meta[${b}="${j}"]`);if(!z)z=document.createElement("meta"),z.setAttribute(b,j),document.head.appendChild(z);return z}let B={setMeta(b,j){E("name",b).setAttribute("content",j)},setOgMeta(b,j){let z=b.startsWith("og:")?b:`og:${b}`;E("property",z).setAttribute("content",j)},removeMeta(b){let j=document.querySelector(`meta[name="${b}"]`);if(j)j.remove()},setTitle(b){document.title=b}};if(q){if(q.title)B.setTitle(q.title);if(q.description)B.setMeta("description",q.description);if(q.meta)for(let[b,j]of Object.entries(q.meta))B.setMeta(b,j);if(q.og)for(let[b,j]of Object.entries(q.og))B.setOgMeta(b,j)}return B}export{F as useMeta};
2
+ import"../chunk-xv34zbp4.js";function F(q){if(typeof document>"u")return{setMeta:()=>{},setOgMeta:()=>{},removeMeta:()=>{},setTitle:()=>{}};function E(b,j){let z=document.querySelector(`meta[${b}="${j}"]`);if(!z)z=document.createElement("meta"),z.setAttribute(b,j),document.head.appendChild(z);return z}let B={setMeta(b,j){E("name",b).setAttribute("content",j)},setOgMeta(b,j){let z=b.startsWith("og:")?b:`og:${b}`;E("property",z).setAttribute("content",j)},removeMeta(b){let j=document.querySelector(`meta[name="${b}"]`);if(j)j.remove()},setTitle(b){document.title=b}};if(q){if(q.title)B.setTitle(q.title);if(q.description)B.setMeta("description",q.description);if(q.meta)for(let[b,j]of Object.entries(q.meta))B.setMeta(b,j);if(q.og)for(let[b,j]of Object.entries(q.og))B.setOgMeta(b,j)}return B}export{F as useMeta};
@@ -1,2 +1,2 @@
1
1
  // @bun
2
- import"../chunk-3jm3snz8.js";function $(I={}){let{target:J=typeof window<"u"?window:null,touch:F=!0,resetOnLeave:G=!1}=I,q={x:0,y:0,pageX:0,pageY:0,clientX:0,clientY:0,movementX:0,movementY:0,buttons:0,isPressed:!1,isInside:!1},z=[],B=null,H=()=>{z.forEach((b)=>b(q))},K=(b,x=!1)=>{let A=b;q={x:A.pageX??A.clientX,y:A.pageY??A.clientY,pageX:A.pageX??0,pageY:A.pageY??0,clientX:A.clientX??0,clientY:A.clientY??0,movementX:x?0:A.movementX??0,movementY:x?0:A.movementY??0,buttons:x?1:A.buttons??0,isPressed:x||(A.buttons??0)>0,isInside:!0},H()},Q=(b)=>K(b),j=(b)=>{if(b.touches.length>0)K(b.touches[0],!0)},N=(b)=>{q={...q,buttons:b.buttons,isPressed:!0},H()},S=(b)=>{q={...q,buttons:b.buttons,isPressed:!1},H()},V=()=>{q={...q,isInside:!0},H()},R=()=>{q={...q,isInside:!1,...G?{x:0,y:0,pageX:0,pageY:0,clientX:0,clientY:0}:{}},H()},C=()=>{if(!J)return;let b=J;if(b.addEventListener("mousemove",Q),b.addEventListener("mousedown",N),b.addEventListener("mouseup",S),b.addEventListener("mouseenter",V),b.addEventListener("mouseleave",R),F)b.addEventListener("touchmove",j),b.addEventListener("touchstart",V),b.addEventListener("touchend",R);B=()=>{if(b.removeEventListener("mousemove",Q),b.removeEventListener("mousedown",N),b.removeEventListener("mouseup",S),b.removeEventListener("mouseenter",V),b.removeEventListener("mouseleave",R),F)b.removeEventListener("touchmove",j),b.removeEventListener("touchstart",V),b.removeEventListener("touchend",R)}};return{get:()=>q,subscribe:(b)=>{if(z.length===0)C();return z.push(b),b(q),()=>{if(z=z.filter((x)=>x!==b),z.length===0&&B)B(),B=null}},stop:()=>{if(B)B(),B=null;z=[]}}}function k(I,J={}){let{touch:F=!0,resetOnLeave:G=!0}=J,q={x:0,y:0,pageX:0,pageY:0,clientX:0,clientY:0,movementX:0,movementY:0,buttons:0,isPressed:!1,isInside:!1,elementX:0,elementY:0,elementWidth:0,elementHeight:0,isOutside:!0},z=[],B=null,H=()=>{z.forEach((C)=>C(q))},K=()=>{if(typeof I==="function")return I();return I},Q=(C,b)=>{let x=K();if(!x)return;let A=x.getBoundingClientRect(),W=C-A.left,Z=b-A.top,_=W<0||Z<0||W>A.width||Z>A.height;q={...q,elementX:W,elementY:Z,elementWidth:A.width,elementHeight:A.height,isOutside:_,isInside:!_}},j=(C,b=!1)=>{let x=C;q={...q,x:x.pageX??x.clientX,y:x.pageY??x.clientY,pageX:x.pageX??0,pageY:x.pageY??0,clientX:x.clientX??0,clientY:x.clientY??0,movementX:b?0:x.movementX??0,movementY:b?0:x.movementY??0,buttons:b?1:x.buttons??0,isPressed:b||(x.buttons??0)>0},Q(x.clientX,x.clientY),H()},N=(C)=>j(C),S=(C)=>{if(C.touches.length>0)j(C.touches[0],!0)},V=()=>{q={...q,isInside:!1,isOutside:!0,...G?{elementX:0,elementY:0}:{}},H()},R=()=>{if(typeof window>"u")return;if(window.addEventListener("mousemove",N),F)window.addEventListener("touchmove",S);B=()=>{if(window.removeEventListener("mousemove",N),F)window.removeEventListener("touchmove",S)}};return{get:()=>q,subscribe:(C)=>{if(z.length===0)R();return z.push(C),C(q),()=>{if(z=z.filter((b)=>b!==C),z.length===0&&B)B(),B=null}},stop:()=>{if(B)B(),B=null;z=[]}}}function w(I={}){let{target:J=typeof window<"u"?window:null}=I,F={x:0,y:0,pageX:0,pageY:0,clientX:0,clientY:0,movementX:0,movementY:0,buttons:0,isPressed:!1,isInside:!1},G=[],q=null,z=()=>{G.forEach((j)=>j(F))},B=(j)=>{F={x:j.pageX,y:j.pageY,pageX:j.pageX,pageY:j.pageY,clientX:j.clientX,clientY:j.clientY,movementX:j.movementX,movementY:j.movementY,buttons:j.buttons,isPressed:j.buttons>0||j.pressure>0,isInside:!0},z()},H=(j)=>{F={...F,buttons:j.buttons,isPressed:!0},z()},K=(j)=>{F={...F,buttons:j.buttons,isPressed:!1},z()},Q=()=>{if(!J)return;let j=J;j.addEventListener("pointermove",B),j.addEventListener("pointerdown",H),j.addEventListener("pointerup",K),q=()=>{j.removeEventListener("pointermove",B),j.removeEventListener("pointerdown",H),j.removeEventListener("pointerup",K)}};return{get:()=>F,subscribe:(j)=>{if(G.length===0)Q();return G.push(j),j(F),()=>{if(G=G.filter((N)=>N!==j),G.length===0&&q)q(),q=null}},stop:()=>{if(q)q(),q=null;G=[]}}}export{w as usePointer,k as useMouseInElement,$ as useMouse};
2
+ import"../chunk-xv34zbp4.js";function $(I={}){let{target:J=typeof window<"u"?window:null,touch:F=!0,resetOnLeave:G=!1}=I,q={x:0,y:0,pageX:0,pageY:0,clientX:0,clientY:0,movementX:0,movementY:0,buttons:0,isPressed:!1,isInside:!1},z=[],B=null,H=()=>{z.forEach((b)=>b(q))},K=(b,x=!1)=>{let A=b;q={x:A.pageX??A.clientX,y:A.pageY??A.clientY,pageX:A.pageX??0,pageY:A.pageY??0,clientX:A.clientX??0,clientY:A.clientY??0,movementX:x?0:A.movementX??0,movementY:x?0:A.movementY??0,buttons:x?1:A.buttons??0,isPressed:x||(A.buttons??0)>0,isInside:!0},H()},Q=(b)=>K(b),j=(b)=>{if(b.touches.length>0)K(b.touches[0],!0)},N=(b)=>{q={...q,buttons:b.buttons,isPressed:!0},H()},S=(b)=>{q={...q,buttons:b.buttons,isPressed:!1},H()},V=()=>{q={...q,isInside:!0},H()},R=()=>{q={...q,isInside:!1,...G?{x:0,y:0,pageX:0,pageY:0,clientX:0,clientY:0}:{}},H()},C=()=>{if(!J)return;let b=J;if(b.addEventListener("mousemove",Q),b.addEventListener("mousedown",N),b.addEventListener("mouseup",S),b.addEventListener("mouseenter",V),b.addEventListener("mouseleave",R),F)b.addEventListener("touchmove",j),b.addEventListener("touchstart",V),b.addEventListener("touchend",R);B=()=>{if(b.removeEventListener("mousemove",Q),b.removeEventListener("mousedown",N),b.removeEventListener("mouseup",S),b.removeEventListener("mouseenter",V),b.removeEventListener("mouseleave",R),F)b.removeEventListener("touchmove",j),b.removeEventListener("touchstart",V),b.removeEventListener("touchend",R)}};return{get:()=>q,subscribe:(b)=>{if(z.length===0)C();return z.push(b),b(q),()=>{if(z=z.filter((x)=>x!==b),z.length===0&&B)B(),B=null}},stop:()=>{if(B)B(),B=null;z=[]}}}function k(I,J={}){let{touch:F=!0,resetOnLeave:G=!0}=J,q={x:0,y:0,pageX:0,pageY:0,clientX:0,clientY:0,movementX:0,movementY:0,buttons:0,isPressed:!1,isInside:!1,elementX:0,elementY:0,elementWidth:0,elementHeight:0,isOutside:!0},z=[],B=null,H=()=>{z.forEach((C)=>C(q))},K=()=>{if(typeof I==="function")return I();return I},Q=(C,b)=>{let x=K();if(!x)return;let A=x.getBoundingClientRect(),W=C-A.left,Z=b-A.top,_=W<0||Z<0||W>A.width||Z>A.height;q={...q,elementX:W,elementY:Z,elementWidth:A.width,elementHeight:A.height,isOutside:_,isInside:!_}},j=(C,b=!1)=>{let x=C;q={...q,x:x.pageX??x.clientX,y:x.pageY??x.clientY,pageX:x.pageX??0,pageY:x.pageY??0,clientX:x.clientX??0,clientY:x.clientY??0,movementX:b?0:x.movementX??0,movementY:b?0:x.movementY??0,buttons:b?1:x.buttons??0,isPressed:b||(x.buttons??0)>0},Q(x.clientX,x.clientY),H()},N=(C)=>j(C),S=(C)=>{if(C.touches.length>0)j(C.touches[0],!0)},V=()=>{q={...q,isInside:!1,isOutside:!0,...G?{elementX:0,elementY:0}:{}},H()},R=()=>{if(typeof window>"u")return;if(window.addEventListener("mousemove",N),F)window.addEventListener("touchmove",S);B=()=>{if(window.removeEventListener("mousemove",N),F)window.removeEventListener("touchmove",S)}};return{get:()=>q,subscribe:(C)=>{if(z.length===0)R();return z.push(C),C(q),()=>{if(z=z.filter((b)=>b!==C),z.length===0&&B)B(),B=null}},stop:()=>{if(B)B(),B=null;z=[]}}}function w(I={}){let{target:J=typeof window<"u"?window:null}=I,F={x:0,y:0,pageX:0,pageY:0,clientX:0,clientY:0,movementX:0,movementY:0,buttons:0,isPressed:!1,isInside:!1},G=[],q=null,z=()=>{G.forEach((j)=>j(F))},B=(j)=>{F={x:j.pageX,y:j.pageY,pageX:j.pageX,pageY:j.pageY,clientX:j.clientX,clientY:j.clientY,movementX:j.movementX,movementY:j.movementY,buttons:j.buttons,isPressed:j.buttons>0||j.pressure>0,isInside:!0},z()},H=(j)=>{F={...F,buttons:j.buttons,isPressed:!0},z()},K=(j)=>{F={...F,buttons:j.buttons,isPressed:!1},z()},Q=()=>{if(!J)return;let j=J;j.addEventListener("pointermove",B),j.addEventListener("pointerdown",H),j.addEventListener("pointerup",K),q=()=>{j.removeEventListener("pointermove",B),j.removeEventListener("pointerdown",H),j.removeEventListener("pointerup",K)}};return{get:()=>F,subscribe:(j)=>{if(G.length===0)Q();return G.push(j),j(F),()=>{if(G=G.filter((N)=>N!==j),G.length===0&&q)q(),q=null}},stop:()=>{if(q)q(),q=null;G=[]}}}export{w as usePointer,k as useMouseInElement,$ as useMouse};
@@ -1,2 +1,2 @@
1
1
  // @bun
2
- import"../chunk-3jm3snz8.js";function U(){return typeof window<"u"&&"MutationObserver"in window}function D(A={}){let G=U(),z=new Set,{attributes:H=!0,attributeFilter:C,attributeOldValue:j=!1,characterData:K=!0,characterDataOldValue:Q=!1,childList:B=!0,subtree:E=!0,onMutate:I}=A,J={isSupported:G,isObserving:!1,mutations:[]},P=null,Z=null;function X(){z.forEach((q)=>q(J))}function L(q){J={...J,mutations:q},X(),I?.(q)}function R(q){if(!G||!q)return;Y(),P=new MutationObserver(L);let _={attributes:H,attributeOldValue:j,characterData:K,characterDataOldValue:Q,childList:B,subtree:E};if(C)_.attributeFilter=C;P.observe(q,_),Z=q,J={...J,isObserving:!0},X()}function Y(){if(P)P.disconnect(),P=null,Z=null,J={...J,isObserving:!1,mutations:[]},X()}function W(){if(P)return P.takeRecords();return[]}return{get:()=>J,subscribe:(q)=>{return z.add(q),q(J),()=>{if(z.delete(q),z.size===0)Y()}},observe:R,disconnect:Y,takeRecords:W,isSupported:()=>G}}function F(A,G,z){if(!A||!U())return()=>{};let H=new MutationObserver((C)=>{for(let j of C)if(j.type==="attributes"&&j.attributeName){let K=j.target.getAttribute(j.attributeName);z(j.attributeName,j.oldValue,K)}});return H.observe(A,{attributes:!0,attributeFilter:G,attributeOldValue:!0}),()=>H.disconnect()}function N(A,G,z={}){if(!A||!U())return()=>{};let H=new MutationObserver((C)=>{let j=[],K=[];for(let Q of C)if(Q.type==="childList")j.push(...Array.from(Q.addedNodes)),K.push(...Array.from(Q.removedNodes));if(j.length>0||K.length>0)G(j,K)});return H.observe(A,{childList:!0,subtree:z.subtree??!1}),()=>H.disconnect()}function $(A,G){if(!A||!U())return()=>{};let z=new MutationObserver((H)=>{for(let C of H)if(C.type==="characterData")G(C.oldValue,C.target.textContent||"")});return z.observe(A,{characterData:!0,characterDataOldValue:!0,subtree:!0}),()=>z.disconnect()}export{$ as useTextObserver,D as useMutationObserver,N as useChildListObserver,F as useAttributeObserver,U as isMutationObserverSupported};
2
+ import"../chunk-xv34zbp4.js";function U(){return typeof window<"u"&&"MutationObserver"in window}function D(A={}){let G=U(),z=new Set,{attributes:H=!0,attributeFilter:C,attributeOldValue:j=!1,characterData:K=!0,characterDataOldValue:Q=!1,childList:B=!0,subtree:E=!0,onMutate:I}=A,J={isSupported:G,isObserving:!1,mutations:[]},P=null,Z=null;function X(){z.forEach((q)=>q(J))}function L(q){J={...J,mutations:q},X(),I?.(q)}function R(q){if(!G||!q)return;Y(),P=new MutationObserver(L);let _={attributes:H,attributeOldValue:j,characterData:K,characterDataOldValue:Q,childList:B,subtree:E};if(C)_.attributeFilter=C;P.observe(q,_),Z=q,J={...J,isObserving:!0},X()}function Y(){if(P)P.disconnect(),P=null,Z=null,J={...J,isObserving:!1,mutations:[]},X()}function W(){if(P)return P.takeRecords();return[]}return{get:()=>J,subscribe:(q)=>{return z.add(q),q(J),()=>{if(z.delete(q),z.size===0)Y()}},observe:R,disconnect:Y,takeRecords:W,isSupported:()=>G}}function F(A,G,z){if(!A||!U())return()=>{};let H=new MutationObserver((C)=>{for(let j of C)if(j.type==="attributes"&&j.attributeName){let K=j.target.getAttribute(j.attributeName);z(j.attributeName,j.oldValue,K)}});return H.observe(A,{attributes:!0,attributeFilter:G,attributeOldValue:!0}),()=>H.disconnect()}function N(A,G,z={}){if(!A||!U())return()=>{};let H=new MutationObserver((C)=>{let j=[],K=[];for(let Q of C)if(Q.type==="childList")j.push(...Array.from(Q.addedNodes)),K.push(...Array.from(Q.removedNodes));if(j.length>0||K.length>0)G(j,K)});return H.observe(A,{childList:!0,subtree:z.subtree??!1}),()=>H.disconnect()}function $(A,G){if(!A||!U())return()=>{};let z=new MutationObserver((H)=>{for(let C of H)if(C.type==="characterData")G(C.oldValue,C.target.textContent||"")});return z.observe(A,{characterData:!0,characterDataOldValue:!0,subtree:!0}),()=>z.disconnect()}export{$ as useTextObserver,D as useMutationObserver,N as useChildListObserver,F as useAttributeObserver,U as isMutationObserverSupported};
@@ -1,2 +1,2 @@
1
1
  // @bun
2
- import"../chunk-3jm3snz8.js";function E(){let j=new Set,q=typeof window<"u",v=()=>{if(!q)return null;return navigator.connection||null},z=()=>{if(!q)return{isOnline:!0,isOffline:!1,type:null,effectiveType:null,downlink:null,rtt:null,saveData:!1};let d=v();return{isOnline:navigator.onLine,isOffline:!navigator.onLine,type:d?.type||null,effectiveType:d?.effectiveType||null,downlink:d?.downlink||null,rtt:d?.rtt||null,saveData:d?.saveData||!1}},h=z(),x=()=>{let d=z();h=d;for(let B of j)try{B(d)}catch(D){console.error("[useNetwork] Subscriber error:",D)}};if(q){window.addEventListener("online",x),window.addEventListener("offline",x);let d=v();if(d)d.addEventListener("change",x)}return{get isOnline(){return h.isOnline},get isOffline(){return h.isOffline},get type(){return h.type},get effectiveType(){return h.effectiveType},get downlink(){return h.downlink},get rtt(){return h.rtt},get saveData(){return h.saveData},subscribe:(d)=>{return j.add(d),d(h),()=>j.delete(d)}}}function F(){let j=E();return{get isOnline(){return j.isOnline},subscribe:(q)=>{return j.subscribe((v)=>q(v.isOnline))}}}export{F as useOnline,E as useNetwork};
2
+ import"../chunk-xv34zbp4.js";function E(){let j=new Set,q=typeof window<"u",v=()=>{if(!q)return null;return navigator.connection||null},z=()=>{if(!q)return{isOnline:!0,isOffline:!1,type:null,effectiveType:null,downlink:null,rtt:null,saveData:!1};let d=v();return{isOnline:navigator.onLine,isOffline:!navigator.onLine,type:d?.type||null,effectiveType:d?.effectiveType||null,downlink:d?.downlink||null,rtt:d?.rtt||null,saveData:d?.saveData||!1}},h=z(),x=()=>{let d=z();h=d;for(let B of j)try{B(d)}catch(D){console.error("[useNetwork] Subscriber error:",D)}};if(q){window.addEventListener("online",x),window.addEventListener("offline",x);let d=v();if(d)d.addEventListener("change",x)}return{get isOnline(){return h.isOnline},get isOffline(){return h.isOffline},get type(){return h.type},get effectiveType(){return h.effectiveType},get downlink(){return h.downlink},get rtt(){return h.rtt},get saveData(){return h.saveData},subscribe:(d)=>{return j.add(d),d(h),()=>j.delete(d)}}}function F(){let j=E();return{get isOnline(){return j.isOnline},subscribe:(q)=>{return j.subscribe((v)=>q(v.isOnline))}}}export{F as useOnline,E as useNetwork};
@@ -1,2 +1,2 @@
1
1
  // @bun
2
- import"../chunk-3jm3snz8.js";var A=new Map;function K(){let j=typeof window<"u"&&"Notification"in window,b={permission:j?Notification.permission:"denied",isSupported:j},z=[],G=()=>{z.forEach((k)=>k(b))},L=()=>{if(!j)return;b={...b,permission:Notification.permission},G()};return{get:()=>b,subscribe:(k)=>{return z.push(k),k(b),()=>{z=z.filter((q)=>q!==k)}},isSupported:()=>b.isSupported,permission:()=>b.permission,requestPermission:async()=>{if(!j)return"denied";try{let k=await Notification.requestPermission();return b={...b,permission:k},G(),k}catch{return b.permission}},show:(k,q={})=>{if(!j||b.permission!=="granted")return null;let{autoClose:F,...J}=q;try{let B=new Notification(k,J);if(q.tag){let H=A.get(q.tag);if(H)H.close();A.set(q.tag,B),B.addEventListener("close",()=>{A.delete(q.tag)})}if(F&&F>0)setTimeout(()=>{B.close()},F);return B}catch{return null}},close:(k)=>{let q=A.get(k);if(q)q.close(),A.delete(k)}}}async function D(j,b){let z=K();if(z.permission()==="default")await z.requestPermission();return z.show(j,b)}function R(){return typeof window<"u"&&"Notification"in window&&Notification.permission==="granted"}async function T(){if(typeof window>"u"||!("Notification"in window))return"denied";return Notification.requestPermission()}var U={success:(j,b)=>D("Success",{body:j,icon:"\u2705",...b}),error:(j,b)=>D("Error",{body:j,icon:"\u274C",...b}),warning:(j,b)=>D("Warning",{body:j,icon:"\u26A0\uFE0F",...b}),info:(j,b)=>D("Info",{body:j,icon:"\u2139\uFE0F",...b})};export{K as useNotification,T as requestNotificationPermission,D as notify,U as notifications,R as canNotify};
2
+ import"../chunk-xv34zbp4.js";var A=new Map;function K(){let j=typeof window<"u"&&"Notification"in window,b={permission:j?Notification.permission:"denied",isSupported:j},z=[],G=()=>{z.forEach((k)=>k(b))},L=()=>{if(!j)return;b={...b,permission:Notification.permission},G()};return{get:()=>b,subscribe:(k)=>{return z.push(k),k(b),()=>{z=z.filter((q)=>q!==k)}},isSupported:()=>b.isSupported,permission:()=>b.permission,requestPermission:async()=>{if(!j)return"denied";try{let k=await Notification.requestPermission();return b={...b,permission:k},G(),k}catch{return b.permission}},show:(k,q={})=>{if(!j||b.permission!=="granted")return null;let{autoClose:F,...J}=q;try{let B=new Notification(k,J);if(q.tag){let H=A.get(q.tag);if(H)H.close();A.set(q.tag,B),B.addEventListener("close",()=>{A.delete(q.tag)})}if(F&&F>0)setTimeout(()=>{B.close()},F);return B}catch{return null}},close:(k)=>{let q=A.get(k);if(q)q.close(),A.delete(k)}}}async function D(j,b){let z=K();if(z.permission()==="default")await z.requestPermission();return z.show(j,b)}function R(){return typeof window<"u"&&"Notification"in window&&Notification.permission==="granted"}async function T(){if(typeof window>"u"||!("Notification"in window))return"denied";return Notification.requestPermission()}var U={success:(j,b)=>D("Success",{body:j,icon:"\u2705",...b}),error:(j,b)=>D("Error",{body:j,icon:"\u274C",...b}),warning:(j,b)=>D("Warning",{body:j,icon:"\u26A0\uFE0F",...b}),info:(j,b)=>D("Info",{body:j,icon:"\u2139\uFE0F",...b})};export{K as useNotification,T as requestNotificationPermission,D as notify,U as notifications,R as canNotify};
@@ -1,2 +1,2 @@
1
1
  // @bun
2
- import"../chunk-3jm3snz8.js";function B(k){return{state:k,isGranted:k==="granted",isDenied:k==="denied",isPrompt:k==="prompt"}}function I(){return typeof navigator<"u"&&"permissions"in navigator}function J(k){let x=I(),h=B("prompt"),w=[],z=null,A=null,F=()=>{w.forEach((j)=>j(h))},H=()=>{if(z)h=B(z.state),F()},v=async()=>{if(!x)return B("prompt");try{return z=await navigator.permissions.query({name:k}),h=B(z.state),z.addEventListener("change",H),A=()=>{z?.removeEventListener("change",H)},h}catch{return B("prompt")}};return{get:()=>h,subscribe:(j)=>{if(w.length===0&&x)v();return w.push(j),j(h),()=>{if(w=w.filter((D)=>D!==j),w.length===0&&A)A(),A=null}},query:v,isSupported:()=>x}}function L(k){let x=I(),h={},w=[],z={},A=[];for(let v of k)h[v]=B("prompt"),z[v]=J(v);let F=()=>{w.forEach((v)=>v(h))};return{get:()=>h,subscribe:(v)=>{if(w.length===0)for(let j of k){let D=z[j].subscribe((K)=>{h[j]=K,F()});A.push(D)}return w.push(v),v(h),()=>{if(w=w.filter((j)=>j!==v),w.length===0)A.forEach((j)=>j()),A.length=0}},queryAll:async()=>{let v=await Promise.all(k.map(async(j)=>{let D=await z[j].query();return[j,D]}));return h=Object.fromEntries(v),h},isSupported:()=>x}}async function E(k){return(await J(k).query()).isGranted}async function M(){return E("camera")}async function N(){return E("microphone")}async function O(){return E("geolocation")}async function Q(){return E("notifications")}async function T(k={video:!0,audio:!0}){if(typeof navigator>"u"||!navigator.mediaDevices)return{granted:!1,error:Error("MediaDevices API not supported")};try{return{granted:!0,stream:await navigator.mediaDevices.getUserMedia(k)}}catch(x){return{granted:!1,error:x instanceof Error?x:Error(String(x))}}}var U={media:["camera","microphone"],location:["geolocation"],notifications:["notifications","push"],sensors:["accelerometer","gyroscope","magnetometer"],clipboard:["clipboard-read","clipboard-write"]};export{L as usePermissions,J as usePermission,T as requestMediaPermissions,U as permissionGroups,E as isPermissionGranted,Q as hasNotificationPermission,N as hasMicrophonePermission,O as hasGeolocationPermission,M as hasCameraPermission};
2
+ import"../chunk-xv34zbp4.js";function B(k){return{state:k,isGranted:k==="granted",isDenied:k==="denied",isPrompt:k==="prompt"}}function I(){return typeof navigator<"u"&&"permissions"in navigator}function J(k){let x=I(),h=B("prompt"),w=[],z=null,A=null,F=()=>{w.forEach((j)=>j(h))},H=()=>{if(z)h=B(z.state),F()},v=async()=>{if(!x)return B("prompt");try{return z=await navigator.permissions.query({name:k}),h=B(z.state),z.addEventListener("change",H),A=()=>{z?.removeEventListener("change",H)},h}catch{return B("prompt")}};return{get:()=>h,subscribe:(j)=>{if(w.length===0&&x)v();return w.push(j),j(h),()=>{if(w=w.filter((D)=>D!==j),w.length===0&&A)A(),A=null}},query:v,isSupported:()=>x}}function L(k){let x=I(),h={},w=[],z={},A=[];for(let v of k)h[v]=B("prompt"),z[v]=J(v);let F=()=>{w.forEach((v)=>v(h))};return{get:()=>h,subscribe:(v)=>{if(w.length===0)for(let j of k){let D=z[j].subscribe((K)=>{h[j]=K,F()});A.push(D)}return w.push(v),v(h),()=>{if(w=w.filter((j)=>j!==v),w.length===0)A.forEach((j)=>j()),A.length=0}},queryAll:async()=>{let v=await Promise.all(k.map(async(j)=>{let D=await z[j].query();return[j,D]}));return h=Object.fromEntries(v),h},isSupported:()=>x}}async function E(k){return(await J(k).query()).isGranted}async function M(){return E("camera")}async function N(){return E("microphone")}async function O(){return E("geolocation")}async function Q(){return E("notifications")}async function T(k={video:!0,audio:!0}){if(typeof navigator>"u"||!navigator.mediaDevices)return{granted:!1,error:Error("MediaDevices API not supported")};try{return{granted:!0,stream:await navigator.mediaDevices.getUserMedia(k)}}catch(x){return{granted:!1,error:x instanceof Error?x:Error(String(x))}}}var U={media:["camera","microphone"],location:["geolocation"],notifications:["notifications","push"],sensors:["accelerometer","gyroscope","magnetometer"],clipboard:["clipboard-read","clipboard-write"]};export{L as usePermissions,J as usePermission,T as requestMediaPermissions,U as permissionGroups,E as isPermissionGranted,Q as hasNotificationPermission,N as hasMicrophonePermission,O as hasGeolocationPermission,M as hasCameraPermission};
@@ -1,2 +1,2 @@
1
1
  // @bun
2
- import"../chunk-3jm3snz8.js";function P(){return typeof window<"u"&&"ResizeObserver"in window}function I(F){if(!F||F.length===0)return null;let A=F[0];return{width:A.inlineSize,height:A.blockSize,inlineSize:A.inlineSize,blockSize:A.blockSize}}function Q(F,A,G={}){let H=P(),D={contentRect:null,contentBoxSize:null,borderBoxSize:null,devicePixelContentBoxSize:null},w=[],B=null,L=()=>{if(typeof F==="function")return F();return F},N=(j)=>{if(j.length>0){let q=j[0];D={contentRect:q.contentRect,contentBoxSize:I(q.contentBoxSize),borderBoxSize:I(q.borderBoxSize),devicePixelContentBoxSize:I(q.devicePixelContentBoxSize)}}if(A)A(j);w.forEach((q)=>q(j))},J=()=>{if(!H)return;let j=L();if(!j)return;if(!B)B=new ResizeObserver(N);B.observe(j,{box:G.box})},K=()=>{if(B)B.disconnect(),B=null};return{get:()=>D,subscribe:(j)=>{if(w.length===0)J();return w.push(j),()=>{if(w=w.filter((q)=>q!==j),w.length===0&&!A)K()}},observe:J,disconnect:K,isSupported:()=>H}}function T(F,A,G={}){let H=P(),D=new Map,w=[],B=null,L=()=>{if(typeof F==="function")return F();return F},N=(j)=>{for(let q of j)D.set(q.target,{contentRect:q.contentRect,contentBoxSize:I(q.contentBoxSize),borderBoxSize:I(q.borderBoxSize),devicePixelContentBoxSize:I(q.devicePixelContentBoxSize)});if(A)A(j);w.forEach((q)=>q(j))},J=()=>{if(!H)return;let j=L();if(j.length===0)return;if(!B)B=new ResizeObserver(N);for(let q of j)B.observe(q,{box:G.box})},K=()=>{if(B)B.disconnect(),B=null;D.clear()};return{get:()=>D.values().next().value||{contentRect:null,contentBoxSize:null,borderBoxSize:null,devicePixelContentBoxSize:null},states:()=>D,subscribe:(j)=>{if(w.length===0)J();return w.push(j),()=>{if(w=w.filter((q)=>q!==j),w.length===0&&!A)K()}},observe:J,disconnect:K,isSupported:()=>H}}function U(F){let A={width:0,height:0},G=[],H=Q(F,(D)=>{if(D.length>0){let w=D[0].contentRect;A={width:w.width,height:w.height},G.forEach((B)=>B(A))}});return{get:()=>A,subscribe:(D)=>{if(G.push(D),D(A),G.length===1)H.observe();return()=>{if(G=G.filter((w)=>w!==D),G.length===0)H.disconnect()}},isSupported:H.isSupported}}function V(){return P()}export{T as useResizeObserverMultiple,Q as useResizeObserver,U as useElementSize,V as hasResizeObserver};
2
+ import"../chunk-xv34zbp4.js";function P(){return typeof window<"u"&&"ResizeObserver"in window}function I(F){if(!F||F.length===0)return null;let A=F[0];return{width:A.inlineSize,height:A.blockSize,inlineSize:A.inlineSize,blockSize:A.blockSize}}function Q(F,A,G={}){let H=P(),D={contentRect:null,contentBoxSize:null,borderBoxSize:null,devicePixelContentBoxSize:null},w=[],B=null,L=()=>{if(typeof F==="function")return F();return F},N=(j)=>{if(j.length>0){let q=j[0];D={contentRect:q.contentRect,contentBoxSize:I(q.contentBoxSize),borderBoxSize:I(q.borderBoxSize),devicePixelContentBoxSize:I(q.devicePixelContentBoxSize)}}if(A)A(j);w.forEach((q)=>q(j))},J=()=>{if(!H)return;let j=L();if(!j)return;if(!B)B=new ResizeObserver(N);B.observe(j,{box:G.box})},K=()=>{if(B)B.disconnect(),B=null};return{get:()=>D,subscribe:(j)=>{if(w.length===0)J();return w.push(j),()=>{if(w=w.filter((q)=>q!==j),w.length===0&&!A)K()}},observe:J,disconnect:K,isSupported:()=>H}}function T(F,A,G={}){let H=P(),D=new Map,w=[],B=null,L=()=>{if(typeof F==="function")return F();return F},N=(j)=>{for(let q of j)D.set(q.target,{contentRect:q.contentRect,contentBoxSize:I(q.contentBoxSize),borderBoxSize:I(q.borderBoxSize),devicePixelContentBoxSize:I(q.devicePixelContentBoxSize)});if(A)A(j);w.forEach((q)=>q(j))},J=()=>{if(!H)return;let j=L();if(j.length===0)return;if(!B)B=new ResizeObserver(N);for(let q of j)B.observe(q,{box:G.box})},K=()=>{if(B)B.disconnect(),B=null;D.clear()};return{get:()=>D.values().next().value||{contentRect:null,contentBoxSize:null,borderBoxSize:null,devicePixelContentBoxSize:null},states:()=>D,subscribe:(j)=>{if(w.length===0)J();return w.push(j),()=>{if(w=w.filter((q)=>q!==j),w.length===0&&!A)K()}},observe:J,disconnect:K,isSupported:()=>H}}function U(F){let A={width:0,height:0},G=[],H=Q(F,(D)=>{if(D.length>0){let w=D[0].contentRect;A={width:w.width,height:w.height},G.forEach((B)=>B(A))}});return{get:()=>A,subscribe:(D)=>{if(G.push(D),D(A),G.length===1)H.observe();return()=>{if(G=G.filter((w)=>w!==D),G.length===0)H.disconnect()}},isSupported:H.isSupported}}function V(){return P()}export{T as useResizeObserverMultiple,Q as useResizeObserver,U as useElementSize,V as hasResizeObserver};
@@ -1,2 +1,2 @@
1
1
  // @bun
2
- import"../chunk-3jm3snz8.js";function y(f){if(typeof window<"u")if(window.stxRouter?.navigate)window.stxRouter.navigate(f);else window.location.href=f}function z(){if(typeof window<"u")window.history.back()}function B(){if(typeof window<"u")window.history.forward()}function C(){if(typeof window>"u")return{path:"/",fullPath:"/",hash:"",query:{},params:{}};if(window.stx?.useRoute)return window.stx.useRoute();return{get path(){return window.location.pathname},get fullPath(){return window.location.pathname+window.location.search+window.location.hash},get hash(){return window.location.hash},get query(){let f={};return new URLSearchParams(window.location.search).forEach((j,q)=>{f[q]=j}),f},get params(){return window.stx?._rp??{}}}}function D(f){if(typeof window<"u"&&window.stx?.setRouteParams)window.stx.setRouteParams(f)}function E(){return{data:Object.assign(()=>({}),{set:()=>{}}),get:()=>{return},set:()=>{},setAll:()=>{}}}export{E as useSearchParams,C as useRoute,D as setRouteParams,y as navigate,B as goForward,z as goBack};
2
+ import"../chunk-xv34zbp4.js";function y(f){if(typeof window<"u")if(window.stxRouter?.navigate)window.stxRouter.navigate(f);else window.location.href=f}function z(){if(typeof window<"u")window.history.back()}function B(){if(typeof window<"u")window.history.forward()}function C(){if(typeof window>"u")return{path:"/",fullPath:"/",hash:"",query:{},params:{}};if(window.stx?.useRoute)return window.stx.useRoute();return{get path(){return window.location.pathname},get fullPath(){return window.location.pathname+window.location.search+window.location.hash},get hash(){return window.location.hash},get query(){let f={};return new URLSearchParams(window.location.search).forEach((j,q)=>{f[q]=j}),f},get params(){return window.stx?._rp??{}}}}function D(f){if(typeof window<"u"&&window.stx?.setRouteParams)window.stx.setRouteParams(f)}function E(){return{data:Object.assign(()=>({}),{set:()=>{}}),get:()=>{return},set:()=>{},setAll:()=>{}}}export{E as useSearchParams,C as useRoute,D as setRouteParams,y as navigate,B as goForward,z as goBack};
@@ -1,2 +1,2 @@
1
1
  // @bun
2
- import"../chunk-3jm3snz8.js";function H(){return typeof navigator<"u"&&"share"in navigator}function I(){return typeof navigator<"u"&&"canShare"in navigator}function G(){let q=H(),z=I(),A=(j)=>{if(!q)return!1;if(!j)return!0;if(j.files&&j.files.length>0){if(!z)return!1;try{return navigator.canShare(j)}catch{return!1}}return!!(j.title||j.text||j.url)};return{isSupported:()=>q,isFileShareSupported:()=>z,canShare:A,share:async(j)=>{if(!q)return{success:!1,error:Error("Web Share API is not supported")};if(!j.title&&!j.text&&!j.url&&(!j.files||j.files.length===0))return{success:!1,error:Error("Share data must include at least one of: title, text, url, or files")};if(!A(j))return{success:!1,error:Error("This content cannot be shared on this device")};try{return await navigator.share(j),{success:!0}}catch(B){if(B instanceof Error&&B.name==="AbortError")return{success:!1,cancelled:!0};return{success:!1,error:B instanceof Error?B:Error(String(B))}}}}}async function D(q){return G().share(q)}async function J(q,z,A){return D({url:q,title:z,text:A})}async function K(q,z){return D({text:q,title:z})}async function L(q,z,A){return D({files:q,title:z,text:A})}function N(q,z,A){return new File([q],z,{type:A||q.type})}async function O(q){if(typeof document>"u"||typeof location>"u")return{success:!1,error:Error("Not in browser environment")};return D({title:document.title,url:location.href,text:q})}async function P(q,z){let A=G();if(A.isSupported()&&A.canShare(q)){let j=await A.share(q);if(j.success||j.cancelled)return j}let E=q.url||q.text||q.title||"";if(!E)return{success:!1,error:Error("Nothing to copy")};try{if(await navigator.clipboard.writeText(E),z)alert(z);return{success:!0,usedFallback:!0}}catch(j){return{success:!1,error:j instanceof Error?j:Error(String(j)),usedFallback:!0}}}export{G as useShare,P as shareWithFallback,J as shareURL,K as shareText,L as shareFiles,O as shareCurrentPage,D as share,N as createShareableFile};
2
+ import"../chunk-xv34zbp4.js";function H(){return typeof navigator<"u"&&"share"in navigator}function I(){return typeof navigator<"u"&&"canShare"in navigator}function G(){let q=H(),z=I(),A=(j)=>{if(!q)return!1;if(!j)return!0;if(j.files&&j.files.length>0){if(!z)return!1;try{return navigator.canShare(j)}catch{return!1}}return!!(j.title||j.text||j.url)};return{isSupported:()=>q,isFileShareSupported:()=>z,canShare:A,share:async(j)=>{if(!q)return{success:!1,error:Error("Web Share API is not supported")};if(!j.title&&!j.text&&!j.url&&(!j.files||j.files.length===0))return{success:!1,error:Error("Share data must include at least one of: title, text, url, or files")};if(!A(j))return{success:!1,error:Error("This content cannot be shared on this device")};try{return await navigator.share(j),{success:!0}}catch(B){if(B instanceof Error&&B.name==="AbortError")return{success:!1,cancelled:!0};return{success:!1,error:B instanceof Error?B:Error(String(B))}}}}}async function D(q){return G().share(q)}async function J(q,z,A){return D({url:q,title:z,text:A})}async function K(q,z){return D({text:q,title:z})}async function L(q,z,A){return D({files:q,title:z,text:A})}function N(q,z,A){return new File([q],z,{type:A||q.type})}async function O(q){if(typeof document>"u"||typeof location>"u")return{success:!1,error:Error("Not in browser environment")};return D({title:document.title,url:location.href,text:q})}async function P(q,z){let A=G();if(A.isSupported()&&A.canShare(q)){let j=await A.share(q);if(j.success||j.cancelled)return j}let E=q.url||q.text||q.title||"";if(!E)return{success:!1,error:Error("Nothing to copy")};try{if(await navigator.clipboard.writeText(E),z)alert(z);return{success:!0,usedFallback:!0}}catch(j){return{success:!1,error:j instanceof Error?j:Error(String(j)),usedFallback:!0}}}export{G as useShare,P as shareWithFallback,J as shareURL,K as shareText,L as shareFiles,O as shareCurrentPage,D as share,N as createShareableFile};
@@ -1,2 +1,2 @@
1
1
  // @bun
2
- import"../chunk-3jm3snz8.js";function G(){if(typeof window>"u")return null;return window.SpeechRecognition||window.webkitSpeechRecognition||null}function V(){return G()!==null}function R(I={}){let F=G(),w=F!==null,q={isListening:!1,transcript:"",finalTranscript:"",interimTranscript:"",confidence:0,isSupported:w,error:null},z=null,Q=[],J={result:[],error:[],start:[],end:[]},K=()=>{Q.forEach((A)=>A(q))},P=(A,H)=>{J[A]?.forEach((j)=>j(H))};if(w&&F){if(z=new F,z.continuous=I.continuous??!1,z.interimResults=I.interimResults??!0,z.lang=I.lang??"en-US",z.maxAlternatives=I.maxAlternatives??1,I.grammars)z.grammars=I.grammars;z.onstart=()=>{q={...q,isListening:!0,error:null},K(),P("start")},z.onresult=(A)=>{let H="",j="",D=0;for(let B=0;B<A.results.length;B++){let N=A.results[B],W=N[0].transcript;if(D=Math.max(D,N[0].confidence||0),N.isFinal)H+=W;else j+=W}q={...q,finalTranscript:q.finalTranscript+H,interimTranscript:j,transcript:q.finalTranscript+H+j,confidence:D},K(),P("result",{transcript:q.transcript,finalTranscript:q.finalTranscript,interimTranscript:j,confidence:D,isFinal:H.length>0})},z.onerror=(A)=>{let H=C(A.error);q={...q,error:H,isListening:!1},K(),P("error",{code:A.error,message:H})},z.onend=()=>{q={...q,isListening:!1},K(),P("end",{transcript:q.transcript})}}let X=()=>{if(!w||!z||q.isListening)return;q={...q,transcript:"",finalTranscript:"",interimTranscript:"",confidence:0,error:null};try{z.start()}catch(A){q={...q,error:"Failed to start speech recognition"},K()}},Y=()=>{if(!z||!q.isListening)return;try{z.stop()}catch{}};return{get:()=>q,subscribe:(A)=>{return Q.push(A),A(q),()=>{Q=Q.filter((H)=>H!==A)}},start:X,stop:Y,abort:()=>{if(!z)return;try{z.abort()}catch{}q={...q,isListening:!1},K()},toggle:()=>{if(q.isListening)Y();else X()},isSupported:()=>w,on:(A,H)=>{if(J[A])return J[A].push(H),()=>{J[A]=J[A].filter((j)=>j!==H)};return()=>{}}}}function C(I){return{"no-speech":"No speech was detected","audio-capture":"No microphone was found or microphone is disabled","not-allowed":"Microphone permission denied",network:"Network error - speech recognition requires internet",aborted:"Speech recognition was aborted","service-not-allowed":"Speech recognition service not allowed","bad-grammar":"Speech grammar error","language-not-supported":"Language not supported"}[I]||`Speech recognition error: ${I}`}function _(){return typeof window<"u"&&"speechSynthesis"in window}function M(I={}){let F=_(),w={isSpeaking:!1,isPaused:!1,isSupported:F,voices:[],currentText:""},q=[],z={start:[],end:[],pause:[],resume:[],error:[]},Q=null,J=()=>{q.forEach((j)=>j(w))},K=(j,D)=>{z[j]?.forEach((B)=>B(D))},P=()=>{if(!F)return;w={...w,voices:window.speechSynthesis.getVoices()},J()};if(F){if(P(),window.speechSynthesis.onvoiceschanged!==void 0)window.speechSynthesis.onvoiceschanged=P}let X=(j)=>{if(j===void 0)return null;if(typeof j==="number")return w.voices[j]||null;return w.voices.find((D)=>D.name.toLowerCase().includes(j.toLowerCase())||D.lang.toLowerCase().includes(j.toLowerCase()))||null},Y=(j,D={})=>{if(!F||!j.trim())return;window.speechSynthesis.cancel();let B=new SpeechSynthesisUtterance(j),N={...I,...D};if(B.rate=N.rate??1,B.pitch=N.pitch??1,B.volume=N.volume??1,N.lang)B.lang=N.lang;let W=X(N.voice);if(W)B.voice=W;B.onstart=()=>{w={...w,isSpeaking:!0,isPaused:!1,currentText:j},J(),K("start",{text:j})},B.onend=()=>{w={...w,isSpeaking:!1,isPaused:!1,currentText:""},J(),K("end",{text:j})},B.onpause=()=>{w={...w,isPaused:!0},J(),K("pause")},B.onresume=()=>{w={...w,isPaused:!1},J(),K("resume")},B.onerror=(U)=>{w={...w,isSpeaking:!1,isPaused:!1},J(),K("error",{error:U.error})},Q=B,window.speechSynthesis.speak(B)},$=()=>{if(!F)return;window.speechSynthesis.cancel(),w={...w,isSpeaking:!1,isPaused:!1,currentText:""},J()},Z=()=>{if(!F||!w.isSpeaking)return;window.speechSynthesis.pause()},A=()=>{if(!F||!w.isPaused)return;window.speechSynthesis.resume()};return{get:()=>w,subscribe:(j)=>{return q.push(j),j(w),()=>{q=q.filter((D)=>D!==j)}},speak:Y,stop:$,pause:Z,resume:A,toggle:()=>{if(w.isPaused)A();else if(w.isSpeaking)Z()},getVoices:()=>w.voices,isSupported:()=>F,on:(j,D)=>{if(z[j])return z[j].push(D),()=>{z[j]=z[j].filter((B)=>B!==D)};return()=>{}}}}function T(I,F){M(F).speak(I)}function b(){if(_())window.speechSynthesis.cancel()}function k(){if(!_())return[];return window.speechSynthesis.getVoices()}export{M as useSpeechSynthesis,R as useSpeechRecognition,b as stopSpeaking,T as speak,_ as isSpeechSynthesisSupported,V as isSpeechRecognitionSupported,k as getVoices};
2
+ import"../chunk-xv34zbp4.js";function G(){if(typeof window>"u")return null;return window.SpeechRecognition||window.webkitSpeechRecognition||null}function V(){return G()!==null}function R(I={}){let F=G(),w=F!==null,q={isListening:!1,transcript:"",finalTranscript:"",interimTranscript:"",confidence:0,isSupported:w,error:null},z=null,Q=[],J={result:[],error:[],start:[],end:[]},K=()=>{Q.forEach((A)=>A(q))},P=(A,H)=>{J[A]?.forEach((j)=>j(H))};if(w&&F){if(z=new F,z.continuous=I.continuous??!1,z.interimResults=I.interimResults??!0,z.lang=I.lang??"en-US",z.maxAlternatives=I.maxAlternatives??1,I.grammars)z.grammars=I.grammars;z.onstart=()=>{q={...q,isListening:!0,error:null},K(),P("start")},z.onresult=(A)=>{let H="",j="",D=0;for(let B=0;B<A.results.length;B++){let N=A.results[B],W=N[0].transcript;if(D=Math.max(D,N[0].confidence||0),N.isFinal)H+=W;else j+=W}q={...q,finalTranscript:q.finalTranscript+H,interimTranscript:j,transcript:q.finalTranscript+H+j,confidence:D},K(),P("result",{transcript:q.transcript,finalTranscript:q.finalTranscript,interimTranscript:j,confidence:D,isFinal:H.length>0})},z.onerror=(A)=>{let H=C(A.error);q={...q,error:H,isListening:!1},K(),P("error",{code:A.error,message:H})},z.onend=()=>{q={...q,isListening:!1},K(),P("end",{transcript:q.transcript})}}let X=()=>{if(!w||!z||q.isListening)return;q={...q,transcript:"",finalTranscript:"",interimTranscript:"",confidence:0,error:null};try{z.start()}catch(A){q={...q,error:"Failed to start speech recognition"},K()}},Y=()=>{if(!z||!q.isListening)return;try{z.stop()}catch{}};return{get:()=>q,subscribe:(A)=>{return Q.push(A),A(q),()=>{Q=Q.filter((H)=>H!==A)}},start:X,stop:Y,abort:()=>{if(!z)return;try{z.abort()}catch{}q={...q,isListening:!1},K()},toggle:()=>{if(q.isListening)Y();else X()},isSupported:()=>w,on:(A,H)=>{if(J[A])return J[A].push(H),()=>{J[A]=J[A].filter((j)=>j!==H)};return()=>{}}}}function C(I){return{"no-speech":"No speech was detected","audio-capture":"No microphone was found or microphone is disabled","not-allowed":"Microphone permission denied",network:"Network error - speech recognition requires internet",aborted:"Speech recognition was aborted","service-not-allowed":"Speech recognition service not allowed","bad-grammar":"Speech grammar error","language-not-supported":"Language not supported"}[I]||`Speech recognition error: ${I}`}function _(){return typeof window<"u"&&"speechSynthesis"in window}function M(I={}){let F=_(),w={isSpeaking:!1,isPaused:!1,isSupported:F,voices:[],currentText:""},q=[],z={start:[],end:[],pause:[],resume:[],error:[]},Q=null,J=()=>{q.forEach((j)=>j(w))},K=(j,D)=>{z[j]?.forEach((B)=>B(D))},P=()=>{if(!F)return;w={...w,voices:window.speechSynthesis.getVoices()},J()};if(F){if(P(),window.speechSynthesis.onvoiceschanged!==void 0)window.speechSynthesis.onvoiceschanged=P}let X=(j)=>{if(j===void 0)return null;if(typeof j==="number")return w.voices[j]||null;return w.voices.find((D)=>D.name.toLowerCase().includes(j.toLowerCase())||D.lang.toLowerCase().includes(j.toLowerCase()))||null},Y=(j,D={})=>{if(!F||!j.trim())return;window.speechSynthesis.cancel();let B=new SpeechSynthesisUtterance(j),N={...I,...D};if(B.rate=N.rate??1,B.pitch=N.pitch??1,B.volume=N.volume??1,N.lang)B.lang=N.lang;let W=X(N.voice);if(W)B.voice=W;B.onstart=()=>{w={...w,isSpeaking:!0,isPaused:!1,currentText:j},J(),K("start",{text:j})},B.onend=()=>{w={...w,isSpeaking:!1,isPaused:!1,currentText:""},J(),K("end",{text:j})},B.onpause=()=>{w={...w,isPaused:!0},J(),K("pause")},B.onresume=()=>{w={...w,isPaused:!1},J(),K("resume")},B.onerror=(U)=>{w={...w,isSpeaking:!1,isPaused:!1},J(),K("error",{error:U.error})},Q=B,window.speechSynthesis.speak(B)},$=()=>{if(!F)return;window.speechSynthesis.cancel(),w={...w,isSpeaking:!1,isPaused:!1,currentText:""},J()},Z=()=>{if(!F||!w.isSpeaking)return;window.speechSynthesis.pause()},A=()=>{if(!F||!w.isPaused)return;window.speechSynthesis.resume()};return{get:()=>w,subscribe:(j)=>{return q.push(j),j(w),()=>{q=q.filter((D)=>D!==j)}},speak:Y,stop:$,pause:Z,resume:A,toggle:()=>{if(w.isPaused)A();else if(w.isSpeaking)Z()},getVoices:()=>w.voices,isSupported:()=>F,on:(j,D)=>{if(z[j])return z[j].push(D),()=>{z[j]=z[j].filter((B)=>B!==D)};return()=>{}}}}function T(I,F){M(F).speak(I)}function b(){if(_())window.speechSynthesis.cancel()}function k(){if(!_())return[];return window.speechSynthesis.getVoices()}export{M as useSpeechSynthesis,R as useSpeechRecognition,b as stopSpeaking,T as speak,_ as isSpeechSynthesisSupported,V as isSpeechRecognitionSupported,k as getVoices};
@@ -1,2 +1,2 @@
1
1
  // @bun
2
- import"../chunk-3jm3snz8.js";var $={read:(q)=>{try{return JSON.parse(q)}catch{return q}},write:(q)=>{return JSON.stringify(q)}};function W(q,A,I={}){let{storage:J="local",serializer:L=$,mergeDefaults:X=!1,listenToStorageChanges:Y=!0}=I,M=new Set,Q=typeof window<"u",K=()=>{if(!Q)return null;return J==="session"?sessionStorage:localStorage},Z=()=>{let j=K();if(!j)return A;try{let B=j.getItem(q);if(B===null)return A;let E=L.read(B);if(X&&typeof A==="object"&&A!==null)return{...A,...E};return E}catch{return A}},_=(j)=>{let B=K();if(!B)return;try{if(j===null||j===void 0)B.removeItem(q);else B.setItem(q,L.write(j))}catch(E){console.warn(`[useStorage] Failed to write key "${q}":`,E)}},H=Z(),N=(j,B)=>{for(let E of M)try{E(j,B)}catch(P){console.error("[useStorage] Subscriber error:",P)}};if(Q&&Y){let j=(E)=>{if(E.key===q&&E.storageArea===K()){let P=H;H=E.newValue?L.read(E.newValue):A,N(H,P)}};window.addEventListener("storage",j);let B=globalThis.onDestroy;if(typeof B==="function")B(()=>window.removeEventListener("storage",j))}let R={get value(){return H},set value(j){let B=H;H=j,_(j),N(j,B)},get:()=>H,set:(j)=>{R.value=j},remove:()=>{let j=K();if(j){j.removeItem(q);let B=H;H=A,N(A,B)}},subscribe:(j)=>{return M.add(j),j(H,void 0),()=>M.delete(j)}};return R}function x(q,A,I){return W(q,A,{...I,storage:"local"})}function F(q,A,I){return W(q,A,{...I,storage:"session"})}function G(q="local"){if(typeof window>"u")return;(q==="session"?sessionStorage:localStorage).clear()}function U(q="local"){if(typeof window>"u")return[];let A=q==="session"?sessionStorage:localStorage;return Object.keys(A)}function h(q="local"){if(typeof window>"u")return 0;let A=q==="session"?sessionStorage:localStorage,I=0;for(let J in A)if(Object.prototype.hasOwnProperty.call(A,J))I+=(J.length+(A.getItem(J)?.length||0))*2;return I}export{W as useStorage,F as useSessionStorage,x as useLocalStorage,h as getStorageSize,U as getStorageKeys,G as clearStorage};
2
+ import"../chunk-xv34zbp4.js";var $={read:(q)=>{try{return JSON.parse(q)}catch{return q}},write:(q)=>{return JSON.stringify(q)}};function W(q,A,I={}){let{storage:J="local",serializer:L=$,mergeDefaults:X=!1,listenToStorageChanges:Y=!0}=I,M=new Set,Q=typeof window<"u",K=()=>{if(!Q)return null;return J==="session"?sessionStorage:localStorage},Z=()=>{let j=K();if(!j)return A;try{let B=j.getItem(q);if(B===null)return A;let E=L.read(B);if(X&&typeof A==="object"&&A!==null)return{...A,...E};return E}catch{return A}},_=(j)=>{let B=K();if(!B)return;try{if(j===null||j===void 0)B.removeItem(q);else B.setItem(q,L.write(j))}catch(E){console.warn(`[useStorage] Failed to write key "${q}":`,E)}},H=Z(),N=(j,B)=>{for(let E of M)try{E(j,B)}catch(P){console.error("[useStorage] Subscriber error:",P)}};if(Q&&Y){let j=(E)=>{if(E.key===q&&E.storageArea===K()){let P=H;H=E.newValue?L.read(E.newValue):A,N(H,P)}};window.addEventListener("storage",j);let B=globalThis.onDestroy;if(typeof B==="function")B(()=>window.removeEventListener("storage",j))}let R={get value(){return H},set value(j){let B=H;H=j,_(j),N(j,B)},get:()=>H,set:(j)=>{R.value=j},remove:()=>{let j=K();if(j){j.removeItem(q);let B=H;H=A,N(A,B)}},subscribe:(j)=>{return M.add(j),j(H,void 0),()=>M.delete(j)}};return R}function x(q,A,I){return W(q,A,{...I,storage:"local"})}function F(q,A,I){return W(q,A,{...I,storage:"session"})}function G(q="local"){if(typeof window>"u")return;(q==="session"?sessionStorage:localStorage).clear()}function U(q="local"){if(typeof window>"u")return[];let A=q==="session"?sessionStorage:localStorage;return Object.keys(A)}function h(q="local"){if(typeof window>"u")return 0;let A=q==="session"?sessionStorage:localStorage,I=0;for(let J in A)if(Object.prototype.hasOwnProperty.call(A,J))I+=(J.length+(A.getItem(J)?.length||0))*2;return I}export{W as useStorage,F as useSessionStorage,x as useLocalStorage,h as getStorageSize,U as getStorageKeys,G as clearStorage};
@@ -1,4 +1,4 @@
1
1
  // @bun
2
- import"../chunk-3jm3snz8.js";function Z(G={}){let{onSelect:N,onClear:Q}=G,I=new Set,z={text:"",rects:[],ranges:[],isCollapsed:!0},K=null;function D(){I.forEach((B)=>B(z))}function E(B){if(!B||B.rangeCount===0)return[];let J=[];for(let U=0;U<B.rangeCount;U++)J.push(B.getRangeAt(U).cloneRange());return J}function V(B){let J=[];for(let U of B){let X=U.getClientRects();for(let Y=0;Y<X.length;Y++)J.push(X[Y])}return J}function _(){let B=window.getSelection();if(!B)return;let J=B.toString(),U=B.isCollapsed,X=E(B),Y=V(X),$=z.text;if(z={text:J,rects:Y,ranges:X,isCollapsed:U},D(),J&&J!==$)N?.(z);else if(!J&&$)Q?.()}function q(){if(typeof document>"u"||K)return;document.addEventListener("selectionchange",_),K=()=>{document.removeEventListener("selectionchange",_)}}function H(){K?.(),K=null}function v(){return z.text}function F(){let B=window.getSelection();if(B)B.removeAllRanges()}function M(B){let J=window.getSelection();if(!J)return;let U=document.createRange();if(B)U.selectNodeContents(B);else U.selectNodeContents(document.body);J.removeAllRanges(),J.addRange(U)}function P(){return z.rects}if(typeof document<"u")q();return{get:()=>z,subscribe:(B)=>{return I.add(B),B(z),()=>{if(I.delete(B),I.size===0)H()}},getText:v,clear:F,selectAll:M,getRects:P}}function j(G){let N=Z(),Q=new Set,I="";return N.subscribe((z)=>{if(!G||!z.text){if(I)I="",Q.forEach((E)=>E(""));return}let K=window.getSelection();if(!K||K.rangeCount===0)return;let D=K.getRangeAt(0);if(G.contains(D.commonAncestorContainer))I=z.text,Q.forEach((E)=>E(z.text));else if(I)I="",Q.forEach((E)=>E(""))}),{get:()=>I,subscribe:(z)=>{return Q.add(z),z(I),()=>{Q.delete(z)}},clear:N.clear,selectAll:()=>G&&N.selectAll(G)}}function A(G){let{onShow:N,onHide:Q,minLength:I=1}=G,z=!1,K=Z({onSelect:(D)=>{if(D.text.length>=I&&D.rects.length>0){let E=D.rects[D.rects.length-1],V={x:E.left+E.width/2,y:E.top-10};z=!0,N?.(D.text,V)}},onClear:()=>{if(z)z=!1,Q?.()}});return{get:K.get,subscribe:K.subscribe,isShowing:()=>z}}function L(){let G=Z();async function N(D){try{return await navigator.clipboard.writeText(D),!0}catch{return!1}}async function Q(){let D=G.getText();if(!D)return!1;return N(D)}async function I(){let D=G.getText();if(!D)return!1;let E=D.split(`
2
+ import"../chunk-xv34zbp4.js";function Z(G={}){let{onSelect:N,onClear:Q}=G,I=new Set,z={text:"",rects:[],ranges:[],isCollapsed:!0},K=null;function D(){I.forEach((B)=>B(z))}function E(B){if(!B||B.rangeCount===0)return[];let J=[];for(let U=0;U<B.rangeCount;U++)J.push(B.getRangeAt(U).cloneRange());return J}function V(B){let J=[];for(let U of B){let X=U.getClientRects();for(let Y=0;Y<X.length;Y++)J.push(X[Y])}return J}function _(){let B=window.getSelection();if(!B)return;let J=B.toString(),U=B.isCollapsed,X=E(B),Y=V(X),$=z.text;if(z={text:J,rects:Y,ranges:X,isCollapsed:U},D(),J&&J!==$)N?.(z);else if(!J&&$)Q?.()}function q(){if(typeof document>"u"||K)return;document.addEventListener("selectionchange",_),K=()=>{document.removeEventListener("selectionchange",_)}}function H(){K?.(),K=null}function v(){return z.text}function F(){let B=window.getSelection();if(B)B.removeAllRanges()}function M(B){let J=window.getSelection();if(!J)return;let U=document.createRange();if(B)U.selectNodeContents(B);else U.selectNodeContents(document.body);J.removeAllRanges(),J.addRange(U)}function P(){return z.rects}if(typeof document<"u")q();return{get:()=>z,subscribe:(B)=>{return I.add(B),B(z),()=>{if(I.delete(B),I.size===0)H()}},getText:v,clear:F,selectAll:M,getRects:P}}function j(G){let N=Z(),Q=new Set,I="";return N.subscribe((z)=>{if(!G||!z.text){if(I)I="",Q.forEach((E)=>E(""));return}let K=window.getSelection();if(!K||K.rangeCount===0)return;let D=K.getRangeAt(0);if(G.contains(D.commonAncestorContainer))I=z.text,Q.forEach((E)=>E(z.text));else if(I)I="",Q.forEach((E)=>E(""))}),{get:()=>I,subscribe:(z)=>{return Q.add(z),z(I),()=>{Q.delete(z)}},clear:N.clear,selectAll:()=>G&&N.selectAll(G)}}function A(G){let{onShow:N,onHide:Q,minLength:I=1}=G,z=!1,K=Z({onSelect:(D)=>{if(D.text.length>=I&&D.rects.length>0){let E=D.rects[D.rects.length-1],V={x:E.left+E.width/2,y:E.top-10};z=!0,N?.(D.text,V)}},onClear:()=>{if(z)z=!1,Q?.()}});return{get:K.get,subscribe:K.subscribe,isShowing:()=>z}}function L(){let G=Z();async function N(D){try{return await navigator.clipboard.writeText(D),!0}catch{return!1}}async function Q(){let D=G.getText();if(!D)return!1;return N(D)}async function I(){let D=G.getText();if(!D)return!1;let E=D.split(`
3
3
  `).map((V)=>`> ${V}`).join(`
4
4
  `);return N(E)}async function z(D){let E=G.getText();if(!E)return!1;return N(D+E)}async function K(D,E){let V=G.getText();if(!V)return!1;return N(D+V+E)}return{get:G.get,subscribe:G.subscribe,copy:Q,copyAsMarkdown:I,copyWithPrefix:z,copyWithWrapper:K,getText:G.getText,clear:G.clear}}export{Z as useTextSelection,A as useSelectionPopup,j as useElementTextSelection,L as useCopySelection};
@@ -1,2 +1,2 @@
1
1
  // @bun
2
- import"../chunk-3jm3snz8.js";function K(D,G=250){let j=null,q=null,z=(...B)=>{if(q=B,j!==null)clearTimeout(j);j=setTimeout(()=>{j=null,q=null,D(...B)},G)};if(z.cancel=()=>{if(j!==null)clearTimeout(j),j=null,q=null},z.flush=()=>{if(j!==null&&q!==null){clearTimeout(j),j=null;let B=q;q=null,D(...B)}},z.pending=()=>j!==null,typeof globalThis.onDestroy==="function")globalThis.onDestroy(z.cancel);return z}function L(D,G=250){let j=D(),q=new Set,z=null;(()=>{if(z!==null)clearTimeout(z);z=setTimeout(()=>{z=null;let C=D();if(C!==j)j=C,q.forEach((E)=>E(j))},G)})();let F=()=>{if(z!==null)clearTimeout(z);q.clear()};if(typeof globalThis.onDestroy==="function")globalThis.onDestroy(F);return{get value(){return j},subscribe(C){return q.add(C),()=>{q.delete(C)}}}}function M(D,G=250){let j=null,q=0,z=(...B)=>{let F=Date.now(),C=G-(F-q);if(C<=0){if(j!==null)clearTimeout(j),j=null;q=F,D(...B)}else if(j===null)j=setTimeout(()=>{q=Date.now(),j=null,D(...B)},C)};if(z.cancel=()=>{if(j!==null)clearTimeout(j),j=null},typeof globalThis.onDestroy==="function")globalThis.onDestroy(z.cancel);return z}function N(D=1000,G={}){let j=0,q=null,z=!1,B=new Set,F=()=>{j++,B.forEach((H)=>H(j))},C=()=>{if(z)return;if(z=!0,q=setInterval(F,D),G.immediate)F()},E=()=>{if(!z)return;if(z=!1,q!==null)clearInterval(q),q=null},I=()=>{E(),j=0,B.forEach((H)=>H(j)),C()};C();let J=()=>{E(),B.clear()};if(typeof globalThis.onDestroy==="function")globalThis.onDestroy(J);return{get counter(){return j},pause:E,resume:C,reset:I,subscribe(H){return B.add(H),()=>{B.delete(H)}}}}function Q(D,G=1000){let j=null,q=!1,z=new Set,B=(E)=>{if(E!==q)q=E,z.forEach((I)=>I(q))},F=()=>{C(),B(!0),j=setTimeout(()=>{j=null,B(!1),D()},G)},C=()=>{if(j!==null)clearTimeout(j),j=null;B(!1)};if(F(),typeof globalThis.onDestroy==="function")globalThis.onDestroy(C);return{get isPending(){return q},start:F,stop:C,subscribe(E){return z.add(E),()=>{z.delete(E)}}}}export{Q as useTimeout,M as useThrottle,N as useInterval,L as useDebouncedValue,K as useDebounce};
2
+ import"../chunk-xv34zbp4.js";function K(D,G=250){let j=null,q=null,z=(...B)=>{if(q=B,j!==null)clearTimeout(j);j=setTimeout(()=>{j=null,q=null,D(...B)},G)};if(z.cancel=()=>{if(j!==null)clearTimeout(j),j=null,q=null},z.flush=()=>{if(j!==null&&q!==null){clearTimeout(j),j=null;let B=q;q=null,D(...B)}},z.pending=()=>j!==null,typeof globalThis.onDestroy==="function")globalThis.onDestroy(z.cancel);return z}function L(D,G=250){let j=D(),q=new Set,z=null;(()=>{if(z!==null)clearTimeout(z);z=setTimeout(()=>{z=null;let C=D();if(C!==j)j=C,q.forEach((E)=>E(j))},G)})();let F=()=>{if(z!==null)clearTimeout(z);q.clear()};if(typeof globalThis.onDestroy==="function")globalThis.onDestroy(F);return{get value(){return j},subscribe(C){return q.add(C),()=>{q.delete(C)}}}}function M(D,G=250){let j=null,q=0,z=(...B)=>{let F=Date.now(),C=G-(F-q);if(C<=0){if(j!==null)clearTimeout(j),j=null;q=F,D(...B)}else if(j===null)j=setTimeout(()=>{q=Date.now(),j=null,D(...B)},C)};if(z.cancel=()=>{if(j!==null)clearTimeout(j),j=null},typeof globalThis.onDestroy==="function")globalThis.onDestroy(z.cancel);return z}function N(D=1000,G={}){let j=0,q=null,z=!1,B=new Set,F=()=>{j++,B.forEach((H)=>H(j))},C=()=>{if(z)return;if(z=!0,q=setInterval(F,D),G.immediate)F()},E=()=>{if(!z)return;if(z=!1,q!==null)clearInterval(q),q=null},I=()=>{E(),j=0,B.forEach((H)=>H(j)),C()};C();let J=()=>{E(),B.clear()};if(typeof globalThis.onDestroy==="function")globalThis.onDestroy(J);return{get counter(){return j},pause:E,resume:C,reset:I,subscribe(H){return B.add(H),()=>{B.delete(H)}}}}function Q(D,G=1000){let j=null,q=!1,z=new Set,B=(E)=>{if(E!==q)q=E,z.forEach((I)=>I(q))},F=()=>{C(),B(!0),j=setTimeout(()=>{j=null,B(!1),D()},G)},C=()=>{if(j!==null)clearTimeout(j),j=null;B(!1)};if(F(),typeof globalThis.onDestroy==="function")globalThis.onDestroy(C);return{get isPending(){return q},start:F,stop:C,subscribe(E){return z.add(E),()=>{z.delete(E)}}}}export{Q as useTimeout,M as useThrottle,N as useInterval,L as useDebouncedValue,K as useDebounce};
@@ -1,2 +1,2 @@
1
1
  // @bun
2
- import"../chunk-3jm3snz8.js";function K(H=!1){let E=H,k=new Set,q=()=>k.forEach((C)=>C(E));return[{get value(){return E},subscribe(C){return k.add(C),()=>{k.delete(C)}}},()=>{E=!E,q()},(C)=>{if(C!==E)E=C,q()}]}function M(H=0,E={}){let{min:k=-1/0,max:q=1/0}=E,z=C(H,k,q),G=new Set,I=()=>G.forEach((D)=>D(z));function C(D,b,J){return Math.min(J,Math.max(b,D))}return{get count(){return z},inc(D=1){z=C(z+D,k,q),I()},dec(D=1){z=C(z-D,k,q),I()},set(D){z=C(D,k,q),I()},reset(){z=C(H,k,q),I()},subscribe(D){return G.add(D),()=>{G.delete(D)}}}}function N(H,E){if(typeof window>"u")return{remove:()=>{}};let k=(z)=>{let G=typeof H==="string"?document.querySelector(H):H;if(!G)return;if(G===z.target||G.contains(z.target))return;E(z)};document.addEventListener("pointerdown",k,!0);let q=()=>{document.removeEventListener("pointerdown",k,!0)};if(typeof globalThis.onDestroy==="function")globalThis.onDestroy(q);return{remove:q}}function O(H){if(typeof window>"u")return{get isFocused(){return!1},focus:()=>{},blur:()=>{},subscribe:()=>()=>{}};let E=!1,k=new Set,q=()=>typeof H==="string"?document.querySelector(H):H,z=(b)=>{if(b!==E)E=b,k.forEach((J)=>J(E))},G=()=>z(!0),I=()=>z(!1),C=q();if(C)C.addEventListener("focus",G),C.addEventListener("blur",I),E=document.activeElement===C;let D=()=>{let b=q();if(b)b.removeEventListener("focus",G),b.removeEventListener("blur",I);k.clear()};if(typeof globalThis.onDestroy==="function")globalThis.onDestroy(D);return{get isFocused(){return E},focus(){let b=q();if(b&&typeof b.focus==="function")b.focus()},blur(){let b=q();if(b&&typeof b.blur==="function")b.blur()},subscribe(b){return k.add(b),()=>{k.delete(b)}}}}function P(H,E={}){let k="idle",q=null,z=null,G=new Set,I=()=>{let D={state:k,data:q,error:z};G.forEach((b)=>b(D))},C=async(...D)=>{k="loading",z=null,I();try{return q=await H(...D),k="success",I(),q}catch(b){return z=b instanceof Error?b:Error(String(b)),k="error",I(),null}};if(E.immediate)C();return{get state(){return k},get isLoading(){return k==="loading"},get error(){return z},get data(){return q},execute:C,subscribe(D){return G.add(D),()=>{G.delete(D)}}}}export{K as useToggle,O as useFocus,M as useCounter,N as useClickOutside,P as useAsync};
2
+ import"../chunk-xv34zbp4.js";function K(H=!1){let E=H,k=new Set,q=()=>k.forEach((C)=>C(E));return[{get value(){return E},subscribe(C){return k.add(C),()=>{k.delete(C)}}},()=>{E=!E,q()},(C)=>{if(C!==E)E=C,q()}]}function M(H=0,E={}){let{min:k=-1/0,max:q=1/0}=E,z=C(H,k,q),G=new Set,I=()=>G.forEach((D)=>D(z));function C(D,b,J){return Math.min(J,Math.max(b,D))}return{get count(){return z},inc(D=1){z=C(z+D,k,q),I()},dec(D=1){z=C(z-D,k,q),I()},set(D){z=C(D,k,q),I()},reset(){z=C(H,k,q),I()},subscribe(D){return G.add(D),()=>{G.delete(D)}}}}function N(H,E){if(typeof window>"u")return{remove:()=>{}};let k=(z)=>{let G=typeof H==="string"?document.querySelector(H):H;if(!G)return;if(G===z.target||G.contains(z.target))return;E(z)};document.addEventListener("pointerdown",k,!0);let q=()=>{document.removeEventListener("pointerdown",k,!0)};if(typeof globalThis.onDestroy==="function")globalThis.onDestroy(q);return{remove:q}}function O(H){if(typeof window>"u")return{get isFocused(){return!1},focus:()=>{},blur:()=>{},subscribe:()=>()=>{}};let E=!1,k=new Set,q=()=>typeof H==="string"?document.querySelector(H):H,z=(b)=>{if(b!==E)E=b,k.forEach((J)=>J(E))},G=()=>z(!0),I=()=>z(!1),C=q();if(C)C.addEventListener("focus",G),C.addEventListener("blur",I),E=document.activeElement===C;let D=()=>{let b=q();if(b)b.removeEventListener("focus",G),b.removeEventListener("blur",I);k.clear()};if(typeof globalThis.onDestroy==="function")globalThis.onDestroy(D);return{get isFocused(){return E},focus(){let b=q();if(b&&typeof b.focus==="function")b.focus()},blur(){let b=q();if(b&&typeof b.blur==="function")b.blur()},subscribe(b){return k.add(b),()=>{k.delete(b)}}}}function P(H,E={}){let k="idle",q=null,z=null,G=new Set,I=()=>{let D={state:k,data:q,error:z};G.forEach((b)=>b(D))},C=async(...D)=>{k="loading",z=null,I();try{return q=await H(...D),k="success",I(),q}catch(b){return z=b instanceof Error?b:Error(String(b)),k="error",I(),null}};if(E.immediate)C();return{get state(){return k},get isLoading(){return k==="loading"},get error(){return z},get data(){return q},execute:C,subscribe(D){return G.add(D),()=>{G.delete(D)}}}}export{K as useToggle,O as useFocus,M as useCounter,N as useClickOutside,P as useAsync};
@@ -1,2 +1,2 @@
1
1
  // @bun
2
- import"../chunk-3jm3snz8.js";function Q(){return typeof navigator<"u"&&"wakeLock"in navigator}function M(){let z=Q(),D=new Set,j={isSupported:z,isActive:!1,type:null,error:null},E=null,G=null;function H(){D.forEach((F)=>F(j))}function N(){j={...j,isActive:!1,type:null},E=null,H()}function J(){if(document.visibilityState==="visible"&&j.isActive===!1&&E===null);}async function K(){if(!z)return j={...j,error:Error("Wake Lock API not supported")},H(),!1;try{if(E=await navigator.wakeLock.request("screen"),E.addEventListener("release",N),!G)document.addEventListener("visibilitychange",J),G=()=>{document.removeEventListener("visibilitychange",J)};return j={...j,isActive:!0,type:"screen",error:null},H(),!0}catch(F){return j={...j,isActive:!1,error:F},H(),!1}}async function I(){if(E)await E.release(),E=null;j={...j,isActive:!1,type:null},H()}async function O(){if(j.isActive)return await I(),!1;else return K()}return{get:()=>j,subscribe:(F)=>{return D.add(F),F(j),()=>{if(D.delete(F),D.size===0)I(),G?.(),G=null}},request:K,release:I,toggle:O,isSupported:()=>z,isActive:()=>j.isActive}}function T(){let z=M();if(z.isSupported())z.request();if(typeof document<"u"){let D=async()=>{if(document.visibilityState==="visible"&&!z.isActive())await z.request()};document.addEventListener("visibilitychange",D);let j=z.subscribe;return{...z,subscribe:(E)=>{let G=j(E);return()=>{G(),document.removeEventListener("visibilitychange",D),z.release()}}}}return z}function U(z){let D=M();async function j(){let E=z();if(E&&!D.isActive())await D.request();else if(!E&&D.isActive())await D.release()}return{...D,check:j}}export{M as useWakeLock,U as useConditionalWakeLock,T as useAutoWakeLock,Q as isWakeLockSupported};
2
+ import"../chunk-xv34zbp4.js";function Q(){return typeof navigator<"u"&&"wakeLock"in navigator}function M(){let z=Q(),D=new Set,j={isSupported:z,isActive:!1,type:null,error:null},E=null,G=null;function H(){D.forEach((F)=>F(j))}function N(){j={...j,isActive:!1,type:null},E=null,H()}function J(){if(document.visibilityState==="visible"&&j.isActive===!1&&E===null);}async function K(){if(!z)return j={...j,error:Error("Wake Lock API not supported")},H(),!1;try{if(E=await navigator.wakeLock.request("screen"),E.addEventListener("release",N),!G)document.addEventListener("visibilitychange",J),G=()=>{document.removeEventListener("visibilitychange",J)};return j={...j,isActive:!0,type:"screen",error:null},H(),!0}catch(F){return j={...j,isActive:!1,error:F},H(),!1}}async function I(){if(E)await E.release(),E=null;j={...j,isActive:!1,type:null},H()}async function O(){if(j.isActive)return await I(),!1;else return K()}return{get:()=>j,subscribe:(F)=>{return D.add(F),F(j),()=>{if(D.delete(F),D.size===0)I(),G?.(),G=null}},request:K,release:I,toggle:O,isSupported:()=>z,isActive:()=>j.isActive}}function T(){let z=M();if(z.isSupported())z.request();if(typeof document<"u"){let D=async()=>{if(document.visibilityState==="visible"&&!z.isActive())await z.request()};document.addEventListener("visibilitychange",D);let j=z.subscribe;return{...z,subscribe:(E)=>{let G=j(E);return()=>{G(),document.removeEventListener("visibilitychange",D),z.release()}}}}return z}function U(z){let D=M();async function j(){let E=z();if(E&&!D.isActive())await D.request();else if(!E&&D.isActive())await D.release()}return{...D,check:j}}export{M as useWakeLock,U as useConditionalWakeLock,T as useAutoWakeLock,Q as isWakeLockSupported};
@@ -1,2 +1,2 @@
1
1
  // @bun
2
- import"../chunk-3jm3snz8.js";function R(){return typeof window<"u"&&"WebSocket"in window}function T($,q={}){let{protocols:M,autoReconnect:J=!1,heartbeat:N=!1,immediate:O=!0,onOpen:W,onMessage:S,onClose:x,onError:D}=q,V=new Set,K=new Map,A={status:"closed",data:null,error:null,ws:null},P=0,Q=null,F=null,X=!1;function G(){V.forEach((j)=>j(A))}function U(j,z){let B=K.get(j);if(B)B.forEach((_)=>_(z))}function Y(){if(Q)clearInterval(Q),Q=null;if(F)clearTimeout(F),F=null}function H(j){if(!N)return;let z=typeof N==="object"?N:{message:"ping",interval:30000,pongTimeout:1e4};Y(),Q=setInterval(()=>{if(j.readyState===WebSocket.OPEN)j.send(z.message||"ping"),F=setTimeout(()=>{j.close()},z.pongTimeout||1e4)},z.interval||30000)}function I(){if(typeof J==="object")return{retries:J.retries??3,delay:J.delay??1000,maxDelay:J.maxDelay??1e4,onFailed:J.onFailed};return{retries:3,delay:1000,maxDelay:1e4,onFailed:void 0}}function Z(){if(!R())return;X=!1,A={...A,status:"connecting"},G();try{let j=new WebSocket($,M);A={...A,ws:j},j.onopen=(z)=>{A={...A,status:"open"},P=0,G(),H(j),U("open",z),W?.(z)},j.onmessage=(z)=>{if(N&&F)clearTimeout(F),F=null;let B;try{B=JSON.parse(z.data)}catch{B=z.data}A={...A,data:B},G(),U("message",z),S?.(z)},j.onclose=(z)=>{if(Y(),A={...A,status:"closed",ws:null},G(),U("close",z),x?.(z),J&&!X){let B=I();if(P<B.retries){let _=Math.min(B.delay*2**P,B.maxDelay);P++,setTimeout(Z,_)}else B.onFailed?.()}},j.onerror=(z)=>{A={...A,error:z},G(),U("error",z),D?.(z)}}catch(j){A={...A,status:"closed",error:j},G()}}function k(j){if(A.ws&&A.status==="open"){let z=typeof j==="object"&&!(j instanceof ArrayBuffer)&&!(j instanceof Blob)?JSON.stringify(j):j;return A.ws.send(z),!0}return!1}function E(j,z){if(X=!0,Y(),A.ws)A={...A,status:"closing"},G(),A.ws.close(j,z)}function L(j,z){if(!K.has(j))K.set(j,new Set);return K.get(j).add(z),()=>{K.get(j)?.delete(z)}}if(O)Z();return{get:()=>A,subscribe:(j)=>{return V.add(j),j(A),()=>{V.delete(j)}},send:k,open:Z,close:E,ws:()=>A.ws,on:L}}export{T as useWebSocket,R as isWebSocketSupported};
2
+ import"../chunk-xv34zbp4.js";function R(){return typeof window<"u"&&"WebSocket"in window}function T($,q={}){let{protocols:M,autoReconnect:J=!1,heartbeat:N=!1,immediate:O=!0,onOpen:W,onMessage:S,onClose:x,onError:D}=q,V=new Set,K=new Map,A={status:"closed",data:null,error:null,ws:null},P=0,Q=null,F=null,X=!1;function G(){V.forEach((j)=>j(A))}function U(j,z){let B=K.get(j);if(B)B.forEach((_)=>_(z))}function Y(){if(Q)clearInterval(Q),Q=null;if(F)clearTimeout(F),F=null}function H(j){if(!N)return;let z=typeof N==="object"?N:{message:"ping",interval:30000,pongTimeout:1e4};Y(),Q=setInterval(()=>{if(j.readyState===WebSocket.OPEN)j.send(z.message||"ping"),F=setTimeout(()=>{j.close()},z.pongTimeout||1e4)},z.interval||30000)}function I(){if(typeof J==="object")return{retries:J.retries??3,delay:J.delay??1000,maxDelay:J.maxDelay??1e4,onFailed:J.onFailed};return{retries:3,delay:1000,maxDelay:1e4,onFailed:void 0}}function Z(){if(!R())return;X=!1,A={...A,status:"connecting"},G();try{let j=new WebSocket($,M);A={...A,ws:j},j.onopen=(z)=>{A={...A,status:"open"},P=0,G(),H(j),U("open",z),W?.(z)},j.onmessage=(z)=>{if(N&&F)clearTimeout(F),F=null;let B;try{B=JSON.parse(z.data)}catch{B=z.data}A={...A,data:B},G(),U("message",z),S?.(z)},j.onclose=(z)=>{if(Y(),A={...A,status:"closed",ws:null},G(),U("close",z),x?.(z),J&&!X){let B=I();if(P<B.retries){let _=Math.min(B.delay*2**P,B.maxDelay);P++,setTimeout(Z,_)}else B.onFailed?.()}},j.onerror=(z)=>{A={...A,error:z},G(),U("error",z),D?.(z)}}catch(j){A={...A,status:"closed",error:j},G()}}function k(j){if(A.ws&&A.status==="open"){let z=typeof j==="object"&&!(j instanceof ArrayBuffer)&&!(j instanceof Blob)?JSON.stringify(j):j;return A.ws.send(z),!0}return!1}function E(j,z){if(X=!0,Y(),A.ws)A={...A,status:"closing"},G(),A.ws.close(j,z)}function L(j,z){if(!K.has(j))K.set(j,new Set);return K.get(j).add(z),()=>{K.get(j)?.delete(z)}}if(O)Z();return{get:()=>A,subscribe:(j)=>{return V.add(j),j(A),()=>{V.delete(j)}},send:k,open:Z,close:E,ws:()=>A.ws,on:L}}export{T as useWebSocket,R as isWebSocketSupported};
@@ -1,2 +1,2 @@
1
1
  // @bun
2
- import"../chunk-3jm3snz8.js";function I(){let D=new Set,B=typeof window<"u",q={width:B?window.innerWidth:0,height:B?window.innerHeight:0};if(B){let j=()=>{q={width:window.innerWidth,height:window.innerHeight};for(let F of D)try{F(q)}catch(G){console.error("[useWindowSize] Subscriber error:",G)}};window.addEventListener("resize",j,{passive:!0})}return{get width(){return q.width},get height(){return q.height},subscribe:(j)=>{return D.add(j),j(q),()=>D.delete(j)}}}function J(){let D=new Set,B=typeof window<"u",q={x:B?window.scrollX:0,y:B?window.scrollY:0};if(B){let j=()=>{q={x:window.scrollX,y:window.scrollY};for(let F of D)try{F(q)}catch(G){console.error("[useScroll] Subscriber error:",G)}};window.addEventListener("scroll",j,{passive:!0})}return{get x(){return q.x},get y(){return q.y},subscribe:(j)=>{return D.add(j),j(q),()=>D.delete(j)},scrollTo:(j,F)=>{if(!B)return;if(typeof j==="number")window.scrollTo(j,F??0);else window.scrollTo(j)},scrollToTop:()=>{if(!B)return;window.scrollTo({top:0,behavior:"smooth"})},scrollToBottom:()=>{if(!B)return;window.scrollTo({top:document.body.scrollHeight,behavior:"smooth"})}}}function K(){let D=new Set,B=typeof document<"u",q=B?document.visibilityState==="visible":!0;if(B)document.addEventListener("visibilitychange",()=>{q=document.visibilityState==="visible";for(let j of D)try{j(q)}catch(F){console.error("[useVisibility] Subscriber error:",F)}});return{get isVisible(){return q},subscribe:(j)=>{return D.add(j),j(q),()=>D.delete(j)}}}function O(D){let B=typeof document<"u";if(D&&B)document.title=D;return{get value(){return B?document.title:""},set value(q){if(B)document.title=q},set:(q)=>{if(B)document.title=q}}}function Q(D){let B=typeof document<"u",q=()=>{if(!B)return null;let j=document.querySelector('link[rel*="icon"]');if(!j)j=document.createElement("link"),j.rel="icon",document.head.appendChild(j);return j};if(D){let j=q();if(j)j.href=D}return{get value(){return q()?.href||""},set value(j){let F=q();if(F)F.href=j},set:(j)=>{let F=q();if(F)F.href=j}}}export{I as useWindowSize,K as useVisibility,O as useTitle,J as useScroll,Q as useFavicon};
2
+ import"../chunk-xv34zbp4.js";function I(){let D=new Set,B=typeof window<"u",q={width:B?window.innerWidth:0,height:B?window.innerHeight:0};if(B){let j=()=>{q={width:window.innerWidth,height:window.innerHeight};for(let F of D)try{F(q)}catch(G){console.error("[useWindowSize] Subscriber error:",G)}};window.addEventListener("resize",j,{passive:!0})}return{get width(){return q.width},get height(){return q.height},subscribe:(j)=>{return D.add(j),j(q),()=>D.delete(j)}}}function J(){let D=new Set,B=typeof window<"u",q={x:B?window.scrollX:0,y:B?window.scrollY:0};if(B){let j=()=>{q={x:window.scrollX,y:window.scrollY};for(let F of D)try{F(q)}catch(G){console.error("[useScroll] Subscriber error:",G)}};window.addEventListener("scroll",j,{passive:!0})}return{get x(){return q.x},get y(){return q.y},subscribe:(j)=>{return D.add(j),j(q),()=>D.delete(j)},scrollTo:(j,F)=>{if(!B)return;if(typeof j==="number")window.scrollTo(j,F??0);else window.scrollTo(j)},scrollToTop:()=>{if(!B)return;window.scrollTo({top:0,behavior:"smooth"})},scrollToBottom:()=>{if(!B)return;window.scrollTo({top:document.body.scrollHeight,behavior:"smooth"})}}}function K(){let D=new Set,B=typeof document<"u",q=B?document.visibilityState==="visible":!0;if(B)document.addEventListener("visibilitychange",()=>{q=document.visibilityState==="visible";for(let j of D)try{j(q)}catch(F){console.error("[useVisibility] Subscriber error:",F)}});return{get isVisible(){return q},subscribe:(j)=>{return D.add(j),j(q),()=>D.delete(j)}}}function O(D){let B=typeof document<"u";if(D&&B)document.title=D;return{get value(){return B?document.title:""},set value(q){if(B)document.title=q},set:(q)=>{if(B)document.title=q}}}function Q(D){let B=typeof document<"u",q=()=>{if(!B)return null;let j=document.querySelector('link[rel*="icon"]');if(!j)j=document.createElement("link"),j.rel="icon",document.head.appendChild(j);return j};if(D){let j=q();if(j)j.href=D}return{get value(){return q()?.href||""},set value(j){let F=q();if(F)F.href=j},set:(j)=>{let F=q();if(F)F.href=j}}}export{I as useWindowSize,K as useVisibility,O as useTitle,J as useScroll,Q as useFavicon};
@@ -1,2 +1,2 @@
1
1
  // @bun
2
- import{$z as A,Bz as a,Cz as b,Dz as c,Ez as d,Fz as e,Gz as f,Hz as g,Iz as h,Jz as i,Kz as j,Lz as k,Mz as l,Nz as m,Oz as n,Pz as o,Qz as p,Rz as q,Sz as r,Tz as s,Uz as t,Vz as u,Wz as v,Xz as w,Yz as x,Zz as y,_z as z,aA as B}from"./chunk-8qbax8xn.js";import"./chunk-3jm3snz8.js";export{x as withInjectionScope,l as watch,p as updateComponent,n as setupComponent,b as setCurrentInstance,j as ref,v as pushInjectionScope,t as provide,w as popInjectionScope,i as onUpdated,f as onUpdate,h as onUnmounted,g as onMounted,d as onMount,e as onDestroy,k as namedRef,o as mountComponent,u as inject,c as getCurrentInstance,r as generateLifecycleRuntime,q as destroyComponent,j as createRef,s as createInjectionKey,a as createComponentInstance,m as computed,y as clearInjections,z as ThemeKey,A as RouterKey,B as I18nKey};
2
+ import{Az as b,Bz as c,Cz as d,Dz as e,Ez as f,Fz as g,Gz as h,Hz as i,Iz as j,Jz as k,Kz as l,Lz as m,Mz as n,Nz as o,Oz as p,Pz as q,Qz as r,Rz as s,Sz as t,Tz as u,Uz as v,Vz as w,Wz as x,Xz as y,Yz as z,Zz as A,_z as B,zz as a}from"./chunk-rz2ec6g7.js";import"./chunk-xv34zbp4.js";export{x as withInjectionScope,l as watch,p as updateComponent,n as setupComponent,b as setCurrentInstance,j as ref,v as pushInjectionScope,t as provide,w as popInjectionScope,i as onUpdated,f as onUpdate,h as onUnmounted,g as onMounted,d as onMount,e as onDestroy,k as namedRef,o as mountComponent,u as inject,c as getCurrentInstance,r as generateLifecycleRuntime,q as destroyComponent,j as createRef,s as createInjectionKey,a as createComponentInstance,m as computed,y as clearInjections,z as ThemeKey,A as RouterKey,B as I18nKey};
@@ -1,2 +1,2 @@
1
1
  // @bun
2
- import{$q as h,Uq as a,Vq as b,Wq as c,Xq as d,Yq as e,Zq as f,_q as g,ar as i,br as j,cr as k,dr as l,er as m,fr as n,gr as o,hr as p,ir as q,jr as r}from"./chunk-xygc53vr.js";import"./chunk-3jm3snz8.js";export{n as useSlots,p as useAttrs,h as setGlobalProvide,c as setCurrentInstance,e as resetComponentState,f as provide,l as onErrorCaptured,k as nextTick,g as inject,m as handleError,d as getCurrentInstance,a as generateScopeId,r as generateCompositionRuntime,o as defineSlots,j as defineExpose,i as defineEmits,q as createProvideContext,b as createComponentInstance};
2
+ import{$q as i,Tq as a,Uq as b,Vq as c,Wq as d,Xq as e,Yq as f,Zq as g,_q as h,ar as j,br as k,cr as l,dr as m,er as n,fr as o,gr as p,hr as q,ir as r}from"./chunk-r0jcmpv6.js";import"./chunk-xv34zbp4.js";export{n as useSlots,p as useAttrs,h as setGlobalProvide,c as setCurrentInstance,e as resetComponentState,f as provide,l as onErrorCaptured,k as nextTick,g as inject,m as handleError,d as getCurrentInstance,a as generateScopeId,r as generateCompositionRuntime,o as defineSlots,j as defineExpose,i as defineEmits,q as createProvideContext,b as createComponentInstance};
package/dist/computed.js CHANGED
@@ -1,5 +1,5 @@
1
1
  // @bun
2
- import"./chunk-3jm3snz8.js";var Y=null,S=[],F=new WeakMap;function I(z){let K=z,B=new Set,G={get value(){if(Y){let H=F.get(G);if(!H)H=new Set,F.set(G,H);H.add(Y)}return K},set value(H){if(!Object.is(K,H)){K=H,B.forEach((J)=>J(H));let L=F.get(G);if(L)L.forEach((J)=>J())}},subscribe(H){return B.add(H),()=>B.delete(H)},peek(){return K}};return G}function W(z){return z!==null&&typeof z==="object"&&"value"in z&&"subscribe"in z&&"peek"in z}function P(z){return W(z)?z.value:z}function j(z){let K={};for(let B in z)if(Object.prototype.hasOwnProperty.call(z,B))K[B]=I(z[B]);return K}function D(z){return I(z)}function U(z){let K=typeof z==="function",B=K?z:z.get,G=K?void 0:z.set,H=K?Object.is:z.equals||Object.is,L,J=!0,Q=new Set,X=new Set,_=()=>{if(J=!0,X.size>0){let N=T.value;X.forEach(($)=>$(N))}};function Z(){Q.clear();let N=Y;Y=_,S.push(_);try{return B()}finally{S.pop(),Y=N}}let T={get value(){if(Y){let N=F.get(T);if(!N)N=new Set,F.set(T,N);N.add(Y)}if(J){let N=Z();if(!H(L,N))L=N;J=!1}return L},set value(N){if(G)G(N);else console.warn("Computed property is readonly")},subscribe(N){return X.add(N),()=>X.delete(N)},peek(){if(J)L=B(),J=!1;return L},invalidate(){J=!0},get dirty(){return J},get deps(){return Q}};return T}function x(z,K,B={}){let{immediate:G=!1,deep:H=!1,flush:L="pre",once:J=!1}=B,Q,X=!0,_=!1,Z=()=>{if(W(z))return H?q(z.value):z.value;return z()},T=()=>{if(!X||_)return;let M=Z();if(Q!==void 0&&Object.is(Q,M)&&!H)return;let A=()=>{if(K(M,Q),Q=H?q(M):M,J)$()};if(L==="sync")A();else if(L==="post")queueMicrotask(A);else Promise.resolve().then(A)},N=null;if(W(z))N=z.subscribe(()=>T());else N=U(z).subscribe(()=>T());if(G)Q=void 0,T();else Q=Z();let $=()=>{if(X=!1,N)N(),N=null};return $.pause=()=>{_=!0},$.resume=()=>{_=!1},$}function E(z,K,B={}){let{immediate:G=!1,once:H=!1}=B,L=z.map((T)=>W(T)?T.value:void 0),J=!0,Q=!1,X=()=>{if(!J||Q)return;let T=z.map((N)=>W(N)?N.value:void 0);if(K(T,L),L=[...T],H)Z()},_=z.map((T)=>{if(W(T))return T.subscribe(()=>X());return()=>{}});if(G)X();let Z=()=>{J=!1,_.forEach((T)=>T())};return Z.pause=()=>{Q=!0},Z.resume=()=>{Q=!1},Z}function y(z,K={}){let{flush:B="pre"}=K,G,H=!0,L=!1,J=()=>{if(!H||L)return;if(G)G();let X=Y;Y=J,S.push(J);try{G=z()}finally{S.pop(),Y=X}};if(B==="sync")J();else if(B==="post")queueMicrotask(J);else Promise.resolve().then(J);let Q=()=>{if(H=!1,G)G()};return Q.pause=()=>{L=!0},Q.resume=()=>{L=!1},Q}function C(z,K={},B){let G=/@computed\s*\(\s*(\w+)\s*,\s*(.+?)\s*\)/gi;return z.replace(G,(H,L,J)=>{try{let X=Function(...Object.keys(K),`return ${J}`)(...Object.values(K));return K[L]=X,`<!-- computed: ${L} = ${X} -->`}catch(Q){return`<!-- computed error: ${L} - ${Q} -->`}})}function R(z,K={},B){let G=/@watch\s*\(\s*(\w+)\s*\)\s*([\s\S]*?)@endwatch/gi;return z.replace(G,(H,L,J)=>{return`
2
+ import"./chunk-xv34zbp4.js";var Y=null,S=[],F=new WeakMap;function I(z){let K=z,B=new Set,G={get value(){if(Y){let H=F.get(G);if(!H)H=new Set,F.set(G,H);H.add(Y)}return K},set value(H){if(!Object.is(K,H)){K=H,B.forEach((J)=>J(H));let L=F.get(G);if(L)L.forEach((J)=>J())}},subscribe(H){return B.add(H),()=>B.delete(H)},peek(){return K}};return G}function W(z){return z!==null&&typeof z==="object"&&"value"in z&&"subscribe"in z&&"peek"in z}function P(z){return W(z)?z.value:z}function j(z){let K={};for(let B in z)if(Object.prototype.hasOwnProperty.call(z,B))K[B]=I(z[B]);return K}function D(z){return I(z)}function U(z){let K=typeof z==="function",B=K?z:z.get,G=K?void 0:z.set,H=K?Object.is:z.equals||Object.is,L,J=!0,Q=new Set,X=new Set,_=()=>{if(J=!0,X.size>0){let N=T.value;X.forEach(($)=>$(N))}};function Z(){Q.clear();let N=Y;Y=_,S.push(_);try{return B()}finally{S.pop(),Y=N}}let T={get value(){if(Y){let N=F.get(T);if(!N)N=new Set,F.set(T,N);N.add(Y)}if(J){let N=Z();if(!H(L,N))L=N;J=!1}return L},set value(N){if(G)G(N);else console.warn("Computed property is readonly")},subscribe(N){return X.add(N),()=>X.delete(N)},peek(){if(J)L=B(),J=!1;return L},invalidate(){J=!0},get dirty(){return J},get deps(){return Q}};return T}function x(z,K,B={}){let{immediate:G=!1,deep:H=!1,flush:L="pre",once:J=!1}=B,Q,X=!0,_=!1,Z=()=>{if(W(z))return H?q(z.value):z.value;return z()},T=()=>{if(!X||_)return;let M=Z();if(Q!==void 0&&Object.is(Q,M)&&!H)return;let A=()=>{if(K(M,Q),Q=H?q(M):M,J)$()};if(L==="sync")A();else if(L==="post")queueMicrotask(A);else Promise.resolve().then(A)},N=null;if(W(z))N=z.subscribe(()=>T());else N=U(z).subscribe(()=>T());if(G)Q=void 0,T();else Q=Z();let $=()=>{if(X=!1,N)N(),N=null};return $.pause=()=>{_=!0},$.resume=()=>{_=!1},$}function E(z,K,B={}){let{immediate:G=!1,once:H=!1}=B,L=z.map((T)=>W(T)?T.value:void 0),J=!0,Q=!1,X=()=>{if(!J||Q)return;let T=z.map((N)=>W(N)?N.value:void 0);if(K(T,L),L=[...T],H)Z()},_=z.map((T)=>{if(W(T))return T.subscribe(()=>X());return()=>{}});if(G)X();let Z=()=>{J=!1,_.forEach((T)=>T())};return Z.pause=()=>{Q=!0},Z.resume=()=>{Q=!1},Z}function y(z,K={}){let{flush:B="pre"}=K,G,H=!0,L=!1,J=()=>{if(!H||L)return;if(G)G();let X=Y;Y=J,S.push(J);try{G=z()}finally{S.pop(),Y=X}};if(B==="sync")J();else if(B==="post")queueMicrotask(J);else Promise.resolve().then(J);let Q=()=>{if(H=!1,G)G()};return Q.pause=()=>{L=!0},Q.resume=()=>{L=!1},Q}function C(z,K={},B){let G=/@computed\s*\(\s*(\w+)\s*,\s*(.+?)\s*\)/gi;return z.replace(G,(H,L,J)=>{try{let X=Function(...Object.keys(K),`return ${J}`)(...Object.values(K));return K[L]=X,`<!-- computed: ${L} = ${X} -->`}catch(Q){return`<!-- computed error: ${L} - ${Q} -->`}})}function R(z,K={},B){let G=/@watch\s*\(\s*(\w+)\s*\)\s*([\s\S]*?)@endwatch/gi;return z.replace(G,(H,L,J)=>{return`
3
3
  <script data-watch="${`watch-${Math.random().toString(36).substring(2,9)}`}">
4
4
  (function() {
5
5
  // Watch implementation for ${L}
@@ -1,2 +1,2 @@
1
1
  // @bun
2
- import{Qx as a,Rx as b,Sx as c,Tx as d,Ux as e}from"./chunk-hke99a0v.js";import"./chunk-mwbng54r.js";import"./chunk-wxvyj65q.js";import"./chunk-yw2fzq86.js";import"./chunk-mrehzhxv.js";import"./chunk-1zgsgk4b.js";import"./chunk-48cw2nde.js";import"./chunk-jjvp4t5w.js";import"./chunk-94g3cahw.js";import"./chunk-ht4j68cs.js";import"./chunk-fch9tk1k.js";import"./chunk-cz25azze.js";import"./chunk-hpqr9e3x.js";import"./chunk-adqh2m9z.js";import"./chunk-3jm3snz8.js";export{a as processSwitchStatements,d as processIssetEmptyDirectives,e as processEnvDirective,b as processConditionals,c as processAuthDirectives};
2
+ import{Px as a,Qx as b,Rx as c,Sx as d,Tx as e}from"./chunk-bdk6g1vj.js";import"./chunk-xqq1vxb6.js";import"./chunk-amaa1bev.js";import"./chunk-r5m9xtm7.js";import"./chunk-bs3gmfxz.js";import"./chunk-1zgsgk4b.js";import"./chunk-2jxbwnkz.js";import"./chunk-zen6ax1y.js";import"./chunk-yb1t2h8h.js";import"./chunk-fjk3x41y.js";import"./chunk-5shey2e4.js";import"./chunk-27zsyhrd.js";import"./chunk-qvrbjpdc.js";import"./chunk-w3b6m427.js";import"./chunk-xv34zbp4.js";export{a as processSwitchStatements,d as processIssetEmptyDirectives,e as processEnvDirective,b as processConditionals,c as processAuthDirectives};
package/dist/config.js CHANGED
@@ -1,2 +1,2 @@
1
1
  // @bun
2
- import{Rr as a,Sr as b,Tr as c,Ur as d,Vr as e}from"./chunk-w01y57f5.js";import"./chunk-x1hjv24z.js";import"./chunk-0g4gece6.js";import"./chunk-nap11ntr.js";import"./chunk-03c26pjz.js";import"./chunk-13yz561y.js";import"./chunk-nanw7yhz.js";import"./chunk-ghrx0hn1.js";import"./chunk-82t27pvd.js";import"./chunk-fhawx87n.js";import"./chunk-gc84b1d2.js";import"./chunk-yr1gdceh.js";import"./chunk-baa7h4yz.js";import"./chunk-kdxa9epn.js";import"./chunk-g2hekckm.js";import"./chunk-x39sfpvm.js";import"./chunk-tr0z0e1g.js";import"./chunk-4j188175.js";import"./chunk-eds0f8f1.js";import"./chunk-dyjnn5k8.js";import"./chunk-8fgwhhb8.js";import"./chunk-tj6zfxeb.js";import"./chunk-7xcfy2fn.js";import"./chunk-9yz5d003.js";import"./chunk-fms20x0n.js";import"./chunk-fe7r1mq1.js";import"./chunk-rb1e4cnb.js";import"./chunk-j4s5qwd7.js";import"./chunk-b0cyc09a.js";import"./chunk-0tatqxj2.js";import"./chunk-bykjk6vj.js";import"./chunk-7b0xdy5h.js";import"./chunk-ywkrxp2h.js";import"./chunk-y25pr13j.js";import"./chunk-q6h6yvzb.js";import"./chunk-qdc3aav1.js";import"./chunk-6wn85hn6.js";import"./chunk-qd5461tt.js";import"./chunk-77tga15w.js";import"./chunk-rv002yn0.js";import"./chunk-hke99a0v.js";import"./chunk-mwbng54r.js";import"./chunk-wxvyj65q.js";import"./chunk-yw2fzq86.js";import"./chunk-mrehzhxv.js";import"./chunk-1zgsgk4b.js";import"./chunk-48cw2nde.js";import"./chunk-jjvp4t5w.js";import"./chunk-94g3cahw.js";import"./chunk-ht4j68cs.js";import"./chunk-fch9tk1k.js";import"./chunk-cz25azze.js";import"./chunk-q60knhjf.js";import"./chunk-hrampcrj.js";import"./chunk-t37dp99j.js";import"./chunk-5kt3ay7x.js";import"./chunk-95w08s8v.js";import"./chunk-ceg2c2q2.js";import"./chunk-04mvcmcr.js";import"./chunk-n46a5g1g.js";import"./chunk-vv9wfz1c.js";import"./chunk-dzw95th7.js";import"./chunk-46mkpbkk.js";import"./chunk-3rh7va1z.js";import"./chunk-2xen423s.js";import"./chunk-cp3kwv17.js";import"./chunk-hpqr9e3x.js";import"./chunk-adqh2m9z.js";import"./chunk-8qbax8xn.js";import"./chunk-x64kb787.js";import"./chunk-gcf5v18y.js";import"./chunk-pc31m5x5.js";import"./chunk-3jm3snz8.js";export{e as validateConfig,b as loadStxConfig,d as defineStxConfig,a as defaultConfig,c as config};
2
+ import{Qr as a,Rr as b,Sr as c,Tr as d,Ur as e}from"./chunk-1xz0w746.js";import"./chunk-m8448qby.js";import"./chunk-kx6eb6ma.js";import"./chunk-g1vt329s.js";import"./chunk-7074g241.js";import"./chunk-9cf97f9p.js";import"./chunk-6djzdes9.js";import"./chunk-v7f8jj15.js";import"./chunk-keawsbpn.js";import"./chunk-8b3z0zd5.js";import"./chunk-hbgxbgam.js";import"./chunk-ejh8fyak.js";import"./chunk-krqn0ddk.js";import"./chunk-y1k17c8b.js";import"./chunk-2j21d3ka.js";import"./chunk-frg705zq.js";import"./chunk-hjm2xab3.js";import"./chunk-07y6m5xx.js";import"./chunk-wazkqv7n.js";import"./chunk-x05nxhyv.js";import"./chunk-31dr4bys.js";import"./chunk-mgj88zeq.js";import"./chunk-m167kjhv.js";import"./chunk-3a4qsygv.js";import"./chunk-dqn9gyhb.js";import"./chunk-988dw6q3.js";import"./chunk-8qc1bsym.js";import"./chunk-xyg1r5w0.js";import"./chunk-7gd339hd.js";import"./chunk-4deg33rw.js";import"./chunk-pa9zb7ty.js";import"./chunk-a2g2qb2y.js";import"./chunk-h5jxydqq.js";import"./chunk-nhv099jv.js";import"./chunk-shv88d2d.js";import"./chunk-0dx4q6yq.js";import"./chunk-ek2w6zvy.js";import"./chunk-9wmq2272.js";import"./chunk-7dkz6z2s.js";import"./chunk-9ecv8aqj.js";import"./chunk-bdk6g1vj.js";import"./chunk-xqq1vxb6.js";import"./chunk-amaa1bev.js";import"./chunk-r5m9xtm7.js";import"./chunk-bs3gmfxz.js";import"./chunk-1zgsgk4b.js";import"./chunk-2jxbwnkz.js";import"./chunk-zen6ax1y.js";import"./chunk-yb1t2h8h.js";import"./chunk-fjk3x41y.js";import"./chunk-5shey2e4.js";import"./chunk-27zsyhrd.js";import"./chunk-7ed3tean.js";import"./chunk-8vtm0m84.js";import"./chunk-tzwtg722.js";import"./chunk-ah88wzbg.js";import"./chunk-v8j49spx.js";import"./chunk-tg2f1mzq.js";import"./chunk-n9dhs1dw.js";import"./chunk-rwrv9wbf.js";import"./chunk-wg9k6h8w.js";import"./chunk-9jtj77jx.js";import"./chunk-qygvvygy.js";import"./chunk-gz5fmp3q.js";import"./chunk-vjbefncc.js";import"./chunk-8xj7c3mf.js";import"./chunk-qvrbjpdc.js";import"./chunk-w3b6m427.js";import"./chunk-rz2ec6g7.js";import"./chunk-35faj94w.js";import"./chunk-djddhmcc.js";import"./chunk-knm8a8yx.js";import"./chunk-xv34zbp4.js";export{e as validateConfig,b as loadStxConfig,d as defineStxConfig,a as defaultConfig,c as config};
@@ -1,2 +1,2 @@
1
1
  // @bun
2
- import{$o as f,Wo as a,Xo as b,Yo as c,Zo as d,_o as e}from"./chunk-5p568px4.js";import"./chunk-3jm3snz8.js";export{d as processCraftDirective,c as isCraftEnvironment,e as injectCraftBridge,b as generateCraftBridgeScript,f as default,a as CRAFT_BRIDGE_SCRIPT};
2
+ import{Vo as a,Wo as b,Xo as c,Yo as d,Zo as e,_o as f}from"./chunk-x24s4heg.js";import"./chunk-xv34zbp4.js";export{d as processCraftDirective,c as isCraftEnvironment,e as injectCraftBridge,b as generateCraftBridgeScript,f as default,a as CRAFT_BRIDGE_SCRIPT};
@@ -1,2 +1,2 @@
1
1
  // @bun
2
- import{Co as a,Do as b,Eo as c,Fo as d}from"./chunk-957amb71.js";import"./chunk-3jm3snz8.js";export{d as default,c as createHotReloadServer,b as compileToNative,a as NATIVE_COMPONENTS};
2
+ import{Bo as a,Co as b,Do as c,Eo as d}from"./chunk-n98x35xd.js";import"./chunk-xv34zbp4.js";export{d as default,c as createHotReloadServer,b as compileToNative,a as NATIVE_COMPONENTS};
@@ -1,2 +1,2 @@
1
1
  // @bun
2
- import{Go as a,Ho as b,Io as c,Jo as d,Ko as e,Lo as f,Mo as g}from"./chunk-268adc7r.js";import"./chunk-3jm3snz8.js";export{e as registerCraftComponent,d as processCraftComponents,f as getCraftComponents,g as default,b as CRAFT_COMPONENT_STYLES,c as CRAFT_COMPONENT_RUNTIME,a as CRAFT_COMPONENTS};
2
+ import{Fo as a,Go as b,Ho as c,Io as d,Jo as e,Ko as f,Lo as g}from"./chunk-xgkv66q5.js";import"./chunk-xv34zbp4.js";export{e as registerCraftComponent,d as processCraftComponents,f as getCraftComponents,g as default,b as CRAFT_COMPONENT_STYLES,c as CRAFT_COMPONENT_RUNTIME,a as CRAFT_COMPONENTS};
@@ -1,2 +1,2 @@
1
1
  // @bun
2
- import{Ao as E,yo as C,zo as D}from"./chunk-b5zc9y0y.js";import{Co as d,Do as g,Eo as h}from"./chunk-957amb71.js";import{Go as i,Ho as j,Io as k,Jo as l,Ko as n,Lo as q}from"./chunk-268adc7r.js";import{No as s,Oo as u,Po as v,Qo as w,Ro as y,So as z,To as A,Uo as B}from"./chunk-jt98jhpt.js";import{Wo as t,Xo as x,Yo as a,Zo as b,_o as c}from"./chunk-5p568px4.js";import"./chunk-3jm3snz8.js";export{u as renderSSR,n as registerCraftComponent,b as processCraftDirective,l as processCraftComponents,w as prerenderForCraft,a as isCraftEnvironment,c as injectCraftBridge,B as getSSRCacheStats,q as getCraftComponents,D as getAvailableTargets,E as getAvailableFormats,v as generateCraftOptimizations,x as generateCraftBridgeScript,h as createHotReloadServer,g as compileToNative,s as compileTemplate,y as clearTemplateCache,z as clearRenderCache,A as clearAllCaches,C as buildNative,d as NATIVE_COMPONENTS,j as CRAFT_COMPONENT_STYLES,k as CRAFT_COMPONENT_RUNTIME,i as CRAFT_COMPONENTS,t as CRAFT_BRIDGE_SCRIPT};
2
+ import{xo as C,yo as D,zo as E}from"./chunk-xw36p73h.js";import{Bo as d,Co as g,Do as h}from"./chunk-n98x35xd.js";import{Fo as i,Go as j,Ho as k,Io as l,Jo as n,Ko as q}from"./chunk-xgkv66q5.js";import{Mo as s,No as u,Oo as v,Po as w,Qo as y,Ro as z,So as A,To as B}from"./chunk-k21df0pg.js";import{Vo as t,Wo as x,Xo as a,Yo as b,Zo as c}from"./chunk-x24s4heg.js";import"./chunk-xv34zbp4.js";export{u as renderSSR,n as registerCraftComponent,b as processCraftDirective,l as processCraftComponents,w as prerenderForCraft,a as isCraftEnvironment,c as injectCraftBridge,B as getSSRCacheStats,q as getCraftComponents,D as getAvailableTargets,E as getAvailableFormats,v as generateCraftOptimizations,x as generateCraftBridgeScript,h as createHotReloadServer,g as compileToNative,s as compileTemplate,y as clearTemplateCache,z as clearRenderCache,A as clearAllCaches,C as buildNative,d as NATIVE_COMPONENTS,j as CRAFT_COMPONENT_STYLES,k as CRAFT_COMPONENT_RUNTIME,i as CRAFT_COMPONENTS,t as CRAFT_BRIDGE_SCRIPT};
package/dist/craft-ssr.js CHANGED
@@ -1,2 +1,2 @@
1
1
  // @bun
2
- import{No as a,Oo as b,Po as c,Qo as d,Ro as e,So as f,To as g,Uo as h,Vo as i}from"./chunk-jt98jhpt.js";import"./chunk-3jm3snz8.js";export{b as renderSSR,d as prerenderForCraft,h as getSSRCacheStats,c as generateCraftOptimizations,i as default,a as compileTemplate,e as clearTemplateCache,f as clearRenderCache,g as clearAllCaches};
2
+ import{Mo as a,No as b,Oo as c,Po as d,Qo as e,Ro as f,So as g,To as h,Uo as i}from"./chunk-k21df0pg.js";import"./chunk-xv34zbp4.js";export{b as renderSSR,d as prerenderForCraft,h as getSSRCacheStats,c as generateCraftOptimizations,i as default,a as compileTemplate,e as clearTemplateCache,f as clearRenderCache,g as clearAllCaches};
package/dist/csp.js CHANGED
@@ -1,2 +1,2 @@
1
1
  // @bun
2
- import{$w as b,_w as a,ax as c,bx as d,cx as e,dx as f,ex as g,fx as h,gx as i,hx as j,ix as k,jx as l,kx as m,lx as n,mx as o,nx as p,ox as q,px as r,qx as s,rx as t,sx as u}from"./chunk-6wn85hn6.js";import"./chunk-3jm3snz8.js";export{r as validateCspDirectives,f as strictCspPreset,h as relaxedCspPreset,q as registerCspDirectives,n as processCspDirectives,g as moderateCspPreset,k as mergeCspDirectives,l as injectCspMetaTag,b as getNonce,j as getCspPreset,s as getCspHeaderName,a as generateNonce,e as generateCspMetaTag,d as generateCspHeader,u as defaultCspConfig,p as cspNonceDirective,o as cspDirective,t as createCspHeaders,c as clearNonce,i as apiCspPreset,m as addNonceToInlineContent};
2
+ import{$w as c,Zw as a,_w as b,ax as d,bx as e,cx as f,dx as g,ex as h,fx as i,gx as j,hx as k,ix as l,jx as m,kx as n,lx as o,mx as p,nx as q,ox as r,px as s,qx as t,rx as u}from"./chunk-ek2w6zvy.js";import"./chunk-xv34zbp4.js";export{r as validateCspDirectives,f as strictCspPreset,h as relaxedCspPreset,q as registerCspDirectives,n as processCspDirectives,g as moderateCspPreset,k as mergeCspDirectives,l as injectCspMetaTag,b as getNonce,j as getCspPreset,s as getCspHeaderName,a as generateNonce,e as generateCspMetaTag,d as generateCspHeader,u as defaultCspConfig,p as cspNonceDirective,o as cspDirective,t as createCspHeaders,c as clearNonce,i as apiCspPreset,m as addNonceToInlineContent};
package/dist/csrf.js CHANGED
@@ -1,2 +1,2 @@
1
1
  // @bun
2
- import{tx as a,ux as b,vx as c,wx as d,xx as e,yx as f,zx as g}from"./chunk-qd5461tt.js";import"./chunk-3jm3snz8.js";export{g as verifyCsrfToken,d as setCsrfToken,c as resetCsrfToken,f as processCsrfDirectives,b as getCsrfToken,a as generateCsrfToken,e as csrfField};
2
+ import{sx as a,tx as b,ux as c,vx as d,wx as e,xx as f,yx as g}from"./chunk-9wmq2272.js";import"./chunk-xv34zbp4.js";export{g as verifyCsrfToken,d as setCsrfToken,c as resetCsrfToken,f as processCsrfDirectives,b as getCsrfToken,a as generateCsrfToken,e as csrfField};
@@ -1,2 +1,2 @@
1
1
  // @bun
2
- import{Ax as a}from"./chunk-77tga15w.js";import"./chunk-rv002yn0.js";import"./chunk-1zgsgk4b.js";import"./chunk-48cw2nde.js";import"./chunk-jjvp4t5w.js";import"./chunk-94g3cahw.js";import"./chunk-ht4j68cs.js";import"./chunk-fch9tk1k.js";import"./chunk-cz25azze.js";import"./chunk-3jm3snz8.js";export{a as processCustomDirectives};
2
+ import{zx as a}from"./chunk-7dkz6z2s.js";import"./chunk-9ecv8aqj.js";import"./chunk-1zgsgk4b.js";import"./chunk-2jxbwnkz.js";import"./chunk-zen6ax1y.js";import"./chunk-yb1t2h8h.js";import"./chunk-fjk3x41y.js";import"./chunk-5shey2e4.js";import"./chunk-27zsyhrd.js";import"./chunk-xv34zbp4.js";export{a as processCustomDirectives};
package/dist/defer.js CHANGED
@@ -1,2 +1,2 @@
1
1
  // @bun
2
- import{In as a}from"./chunk-e53h9qhd.js";import"./chunk-3jm3snz8.js";export{a as processDeferDirectives};
2
+ import{Mn as a}from"./chunk-b77wjyn7.js";import"./chunk-xv34zbp4.js";export{a as processDeferDirectives};
@@ -1,2 +1,2 @@
1
1
  // @bun
2
- import{Mn as a,Nn as b,On as c,Pn as d,Qn as e,Rn as f}from"../chunk-eh8hact1.js";import"../chunk-3jm3snz8.js";export{d as writeNetlifyConfig,f as readNetlifyConfig,e as hasNetlifyConfig,a as generateNetlifyToml,b as detectProjectConfig,c as createDefaultNetlifyConfig};
2
+ import{Qn as a,Rn as b,Sn as c,Tn as d,Un as e,Vn as f}from"../chunk-04n64bnt.js";import"../chunk-xv34zbp4.js";export{d as writeNetlifyConfig,f as readNetlifyConfig,e as hasNetlifyConfig,a as generateNetlifyToml,b as detectProjectConfig,c as createDefaultNetlifyConfig};
@@ -1,2 +1,2 @@
1
1
  // @bun
2
- import{Jn as m,Kn as n,Ln as o}from"../chunk-vpe6napb.js";import{Mn as h,Nn as i,On as j,Pn as k,Qn as l}from"../chunk-eh8hact1.js";import{Sn as a,Tn as b,Un as c,Vn as d,Wn as e,Xn as f,Yn as g}from"../chunk-xhkjhxsp.js";import"../chunk-3jm3snz8.js";export{k as writeNetlifyConfig,n as initNetlify,l as hasNetlifyConfig,g as getTotalSize,h as generateNetlifyToml,f as formatSize,e as filterRequiredFiles,i as detectProjectConfig,m as deploy,a as createNetlifyClient,d as createFileManifest,j as createDefaultNetlifyConfig,c as collectDeployFiles,b as calculateSha1,o as DeployError};
2
+ import{Nn as m,On as n,Pn as o}from"../chunk-j447q024.js";import{Qn as h,Rn as i,Sn as j,Tn as k,Un as l}from"../chunk-04n64bnt.js";import{$n as f,Wn as a,Xn as b,Yn as c,Zn as d,_n as e,ao as g}from"../chunk-p077sw22.js";import"../chunk-xv34zbp4.js";export{k as writeNetlifyConfig,n as initNetlify,l as hasNetlifyConfig,g as getTotalSize,h as generateNetlifyToml,f as formatSize,e as filterRequiredFiles,i as detectProjectConfig,m as deploy,a as createNetlifyClient,d as createFileManifest,j as createDefaultNetlifyConfig,c as collectDeployFiles,b as calculateSha1,o as DeployError};
@@ -1,2 +1,2 @@
1
1
  // @bun
2
- import{Sn as a,Tn as b,Un as c,Vn as d,Wn as e,Xn as f,Yn as g}from"../chunk-xhkjhxsp.js";import"../chunk-3jm3snz8.js";export{g as getTotalSize,f as formatSize,e as filterRequiredFiles,a as createNetlifyClient,d as createFileManifest,c as collectDeployFiles,b as calculateSha1};
2
+ import{$n as f,Wn as a,Xn as b,Yn as c,Zn as d,_n as e,ao as g}from"../chunk-p077sw22.js";import"../chunk-xv34zbp4.js";export{g as getTotalSize,f as formatSize,e as filterRequiredFiles,a as createNetlifyClient,d as createFileManifest,c as collectDeployFiles,b as calculateSha1};
@@ -1,2 +1,2 @@
1
1
  // @bun
2
- import{Jw as a,Kw as b,Lw as c,Mw as d,Nw as e,Ow as f,Pw as g,Qw as h,Rw as i,Sw as j}from"../chunk-q6h6yvzb.js";import"../chunk-qdc3aav1.js";import"../chunk-3jm3snz8.js";export{b as resetCssCache,c as resetCrosswindCache,f as rebuildCrosswindCSS,d as loadCrosswindConfig,a as loadCrosswind,j as injectCrosswindCSS,g as getCachedCSS,i as generateCrosswindCSS,h as extractClassNames,e as buildCrosswindCSS};
2
+ import{Iw as a,Jw as b,Kw as c,Lw as d,Mw as e,Nw as f,Ow as g,Pw as h,Qw as i,Rw as j}from"../chunk-shv88d2d.js";import"../chunk-0dx4q6yq.js";import"../chunk-xv34zbp4.js";export{b as resetCssCache,c as resetCrosswindCache,f as rebuildCrosswindCSS,d as loadCrosswindConfig,a as loadCrosswind,j as injectCrosswindCSS,g as getCachedCSS,i as generateCrosswindCSS,h as extractClassNames,e as buildCrosswindCSS};
@@ -1,2 +1,2 @@
1
1
  // @bun
2
- import"../chunk-4aj7ftqb.js";import{co as K,do as L,eo as M}from"../chunk-ca6qd1dx.js";import{fo as B,go as C,ho as D,io as E}from"../chunk-cdbwprfv.js";import{jo as x,ko as y,lo as z,mo as A}from"../chunk-mv03qb75.js";import{no as r,oo as s,po as t,qo as u,ro as v,so as w}from"../chunk-57p201gb.js";import{to as F,uo as G,vo as H,wo as I,xo as J}from"../chunk-cpcc11vp.js";import{Jw as h,Kw as i,Lw as j,Mw as k,Nw as l,Ow as m,Pw as n,Qw as o,Rw as p,Sw as q}from"../chunk-q6h6yvzb.js";import{Tw as a,Uw as b,Vw as c,Ww as d,Xw as e,Yw as f,Zw as g}from"../chunk-qdc3aav1.js";import"../chunk-3jm3snz8.js";export{d as warning,c as success,I as setupKeyboardShortcuts,i as resetCssCache,j as resetCrosswindCache,m as rebuildCrosswindCSS,F as printShortcutsHelp,G as printServerStatus,C as openNativeWindow,H as openInBrowser,k as loadCrosswindConfig,h as loadCrosswind,x as isPortAvailable,D as isNativeWindowSupported,w as isDarkTheme,q as injectCrosswindCSS,f as info,r as getThemeSelectorStyles,t as getThemeSelectorScript,s as getThemeSelectorHtml,L as getMimeType,u as getFrontmatterHtml,n as getCachedCSS,p as generateCrosswindCSS,A as findAvailablePortInRange,y as findAvailablePort,E as extractSidebarConfig,o as extractClassNames,e as error,g as dim,a as colors,b as colorize,J as cleanupKeyboardShortcuts,l as buildCrosswindCSS,K as MIME_TYPES,z as DEFAULT_PORT,B as DEFAULT_NATIVE_WINDOW_CONFIG,M as DEFAULT_DEV_OPTIONS,v as DARK_THEME_KEYWORDS};
2
+ import"../chunk-4aj7ftqb.js";import{bo as K,co as L,do as M}from"../chunk-km25cwz6.js";import{eo as B,fo as C,go as D,ho as E}from"../chunk-x3r64r0c.js";import{io as x,jo as y,ko as z,lo as A}from"../chunk-1sr54zp8.js";import{mo as r,no as s,oo as t,po as u,qo as v,ro as w}from"../chunk-9t14se2t.js";import{so as F,to as G,uo as H,vo as I,wo as J}from"../chunk-nm15ccsg.js";import{Iw as h,Jw as i,Kw as j,Lw as k,Mw as l,Nw as m,Ow as n,Pw as o,Qw as p,Rw as q}from"../chunk-shv88d2d.js";import{Sw as a,Tw as b,Uw as c,Vw as d,Ww as e,Xw as f,Yw as g}from"../chunk-0dx4q6yq.js";import"../chunk-xv34zbp4.js";export{d as warning,c as success,I as setupKeyboardShortcuts,i as resetCssCache,j as resetCrosswindCache,m as rebuildCrosswindCSS,F as printShortcutsHelp,G as printServerStatus,C as openNativeWindow,H as openInBrowser,k as loadCrosswindConfig,h as loadCrosswind,x as isPortAvailable,D as isNativeWindowSupported,w as isDarkTheme,q as injectCrosswindCSS,f as info,r as getThemeSelectorStyles,t as getThemeSelectorScript,s as getThemeSelectorHtml,L as getMimeType,u as getFrontmatterHtml,n as getCachedCSS,p as generateCrosswindCSS,A as findAvailablePortInRange,y as findAvailablePort,E as extractSidebarConfig,o as extractClassNames,e as error,g as dim,a as colors,b as colorize,J as cleanupKeyboardShortcuts,l as buildCrosswindCSS,K as MIME_TYPES,z as DEFAULT_PORT,B as DEFAULT_NATIVE_WINDOW_CONFIG,M as DEFAULT_DEV_OPTIONS,v as DARK_THEME_KEYWORDS};