@mhmo91/schmancy 0.10.20 → 0.10.21

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 (339) hide show
  1. package/custom-elements.json +0 -49
  2. package/dist/agent/{overlay.confirm-body-mYm0zq4k.js → overlay.confirm-body-DXus8d-w.js} +1 -1
  3. package/dist/agent/{overlay.confirm-body-mYm0zq4k.js.map → overlay.confirm-body-DXus8d-w.js.map} +1 -1
  4. package/dist/agent/schmancy.agent.js +1291 -1257
  5. package/dist/agent/schmancy.agent.js.map +1 -1
  6. package/dist/agent/schmancy.manifest.json +0 -39
  7. package/dist/{area-C7MNn-3e.cjs → area-Cbkt0NX4.cjs} +12 -3
  8. package/dist/area-Cbkt0NX4.cjs.map +1 -0
  9. package/dist/{area-CRe41aIG.js → area-Ddk7P5wD.js} +14 -5
  10. package/dist/area-Ddk7P5wD.js.map +1 -0
  11. package/dist/area.cjs +1 -1
  12. package/dist/area.js +1 -1
  13. package/dist/{autocomplete-CqUl7o0e.cjs → autocomplete-CfBFDSc3.cjs} +1 -1
  14. package/dist/{autocomplete-CqUl7o0e.cjs.map → autocomplete-CfBFDSc3.cjs.map} +1 -1
  15. package/dist/{autocomplete-CRDFL4Ul.js → autocomplete-Ds3Q2cwR.js} +2 -2
  16. package/dist/{autocomplete-CRDFL4Ul.js.map → autocomplete-Ds3Q2cwR.js.map} +1 -1
  17. package/dist/autocomplete.cjs +1 -1
  18. package/dist/autocomplete.js +1 -1
  19. package/dist/avatar.cjs +1 -1
  20. package/dist/avatar.js +1 -1
  21. package/dist/badge.cjs +1 -1
  22. package/dist/badge.js +1 -1
  23. package/dist/{boat-XajM8A3M.js → boat-BF5P6p_f.js} +1 -1
  24. package/dist/{boat-XajM8A3M.js.map → boat-BF5P6p_f.js.map} +1 -1
  25. package/dist/{boat-BHV5kOlN.cjs → boat-BPN8HLzZ.cjs} +1 -1
  26. package/dist/{boat-BHV5kOlN.cjs.map → boat-BPN8HLzZ.cjs.map} +1 -1
  27. package/dist/boat.cjs +1 -1
  28. package/dist/boat.js +1 -1
  29. package/dist/breadcrumb.cjs +1 -1
  30. package/dist/breadcrumb.js +1 -1
  31. package/dist/{busy-D8YsqVBf.js → busy-BuACDJy6.js} +1 -1
  32. package/dist/{busy-D8YsqVBf.js.map → busy-BuACDJy6.js.map} +1 -1
  33. package/dist/{busy-BlBZ5ZOs.cjs → busy-C7ejPa-Q.cjs} +1 -1
  34. package/dist/{busy-BlBZ5ZOs.cjs.map → busy-C7ejPa-Q.cjs.map} +1 -1
  35. package/dist/busy.cjs +1 -1
  36. package/dist/busy.js +1 -1
  37. package/dist/button.cjs +1 -1
  38. package/dist/button.js +1 -1
  39. package/dist/{card-yT_St83D.cjs → card-BIzaLuEg.cjs} +1 -1
  40. package/dist/{card-yT_St83D.cjs.map → card-BIzaLuEg.cjs.map} +1 -1
  41. package/dist/{card-C9TljY2Z.js → card-CgQwXO8L.js} +1 -1
  42. package/dist/{card-C9TljY2Z.js.map → card-CgQwXO8L.js.map} +1 -1
  43. package/dist/card.cjs +1 -1
  44. package/dist/card.js +1 -1
  45. package/dist/{checkbox-Dz2lkJs0.cjs → checkbox-BAqE3sTx.cjs} +1 -1
  46. package/dist/{checkbox-Dz2lkJs0.cjs.map → checkbox-BAqE3sTx.cjs.map} +1 -1
  47. package/dist/{checkbox-BDgh4rge.js → checkbox-BNdg57Om.js} +1 -1
  48. package/dist/{checkbox-BDgh4rge.js.map → checkbox-BNdg57Om.js.map} +1 -1
  49. package/dist/checkbox.cjs +1 -1
  50. package/dist/checkbox.js +1 -1
  51. package/dist/{chips-M7Dr2npv.cjs → chips-DS3y4Lbn.cjs} +1 -1
  52. package/dist/{chips-M7Dr2npv.cjs.map → chips-DS3y4Lbn.cjs.map} +1 -1
  53. package/dist/{chips-N7fu0hA4.js → chips-DnqLaOb1.js} +2 -2
  54. package/dist/{chips-N7fu0hA4.js.map → chips-DnqLaOb1.js.map} +1 -1
  55. package/dist/chips.cjs +1 -1
  56. package/dist/chips.js +2 -2
  57. package/dist/connectivity.cjs +1 -1
  58. package/dist/connectivity.js +1 -1
  59. package/dist/content-drawer.cjs +1 -1
  60. package/dist/content-drawer.js +1 -1
  61. package/dist/{date-range-D2vxD814.cjs → date-range-CsJfjbmi.cjs} +1 -1
  62. package/dist/{date-range-D2vxD814.cjs.map → date-range-CsJfjbmi.cjs.map} +1 -1
  63. package/dist/{date-range-DFWOMgI3.js → date-range-aPSmSBhk.js} +2 -2
  64. package/dist/{date-range-DFWOMgI3.js.map → date-range-aPSmSBhk.js.map} +1 -1
  65. package/dist/{date-range-inline-C5JuZ_Kw.cjs → date-range-inline-CAa0_4EI.cjs} +1 -1
  66. package/dist/{date-range-inline-C5JuZ_Kw.cjs.map → date-range-inline-CAa0_4EI.cjs.map} +1 -1
  67. package/dist/{date-range-inline-D3q1OoKk.js → date-range-inline-PeRt1iIF.js} +1 -1
  68. package/dist/{date-range-inline-D3q1OoKk.js.map → date-range-inline-PeRt1iIF.js.map} +1 -1
  69. package/dist/date-range-inline.cjs +1 -1
  70. package/dist/date-range-inline.js +1 -1
  71. package/dist/date-range.cjs +1 -1
  72. package/dist/date-range.js +1 -1
  73. package/dist/delay.cjs +1 -1
  74. package/dist/delay.js +1 -1
  75. package/dist/{details-DmDEInaL.cjs → details-BnXbDpt7.cjs} +1 -1
  76. package/dist/{details-DmDEInaL.cjs.map → details-BnXbDpt7.cjs.map} +1 -1
  77. package/dist/{details-BrUPmd92.js → details-BpFjVclg.js} +1 -1
  78. package/dist/{details-BrUPmd92.js.map → details-BpFjVclg.js.map} +1 -1
  79. package/dist/details.cjs +1 -1
  80. package/dist/details.js +1 -1
  81. package/dist/directives.cjs +3 -3
  82. package/dist/directives.cjs.map +1 -1
  83. package/dist/directives.js +290 -203
  84. package/dist/directives.js.map +1 -1
  85. package/dist/{divider-B_Ts_-qz.cjs → divider-B84lt1A3.cjs} +1 -1
  86. package/dist/{divider-B_Ts_-qz.cjs.map → divider-B84lt1A3.cjs.map} +1 -1
  87. package/dist/{divider-BLijs8ba.js → divider-D8cBBkdG.js} +1 -1
  88. package/dist/{divider-BLijs8ba.js.map → divider-D8cBBkdG.js.map} +1 -1
  89. package/dist/divider.cjs +1 -1
  90. package/dist/divider.js +1 -1
  91. package/dist/dropdown.cjs +1 -1
  92. package/dist/dropdown.js +1 -1
  93. package/dist/{expand-C-xSpg7M.js → expand-BJiKggfg.js} +2 -2
  94. package/dist/{expand-C-xSpg7M.js.map → expand-BJiKggfg.js.map} +1 -1
  95. package/dist/{expand-DV5sWUB6.cjs → expand-DK-O37-j.cjs} +1 -1
  96. package/dist/{expand-DV5sWUB6.cjs.map → expand-DK-O37-j.cjs.map} +1 -1
  97. package/dist/expand.cjs +1 -1
  98. package/dist/expand.js +1 -1
  99. package/dist/{float-Y22yVBE2.js → float-B4FDN40h.js} +1 -1
  100. package/dist/{float-Y22yVBE2.js.map → float-B4FDN40h.js.map} +1 -1
  101. package/dist/{float-LyKef0LY.cjs → float-RWR6Q1Hh.cjs} +1 -1
  102. package/dist/{float-LyKef0LY.cjs.map → float-RWR6Q1Hh.cjs.map} +1 -1
  103. package/dist/float.cjs +1 -1
  104. package/dist/float.js +1 -1
  105. package/dist/{form-LFkEQkOX.js → form-Bz5WamuM.js} +8 -8
  106. package/dist/{form-LFkEQkOX.js.map → form-Bz5WamuM.js.map} +1 -1
  107. package/dist/{form-C_smXI2-.cjs → form-PioZDvzA.cjs} +1 -1
  108. package/dist/{form-C_smXI2-.cjs.map → form-PioZDvzA.cjs.map} +1 -1
  109. package/dist/form.cjs +1 -1
  110. package/dist/form.js +6 -6
  111. package/dist/handover/agent-runtime-followups.md +1 -1
  112. package/dist/handover/agent-runtime-v1.md +3 -3
  113. package/dist/{icons-B3pFrwKC.js → icons-BgUbHwy8.js} +1 -1
  114. package/dist/{icons-B3pFrwKC.js.map → icons-BgUbHwy8.js.map} +1 -1
  115. package/dist/{icons-CCNy4Egc.cjs → icons-morK4hHz.cjs} +1 -1
  116. package/dist/{icons-CCNy4Egc.cjs.map → icons-morK4hHz.cjs.map} +1 -1
  117. package/dist/icons.cjs +1 -1
  118. package/dist/icons.js +1 -1
  119. package/dist/{iframe-CCcmLZ_K.cjs → iframe-BXe1TPx1.cjs} +1 -1
  120. package/dist/{iframe-CCcmLZ_K.cjs.map → iframe-BXe1TPx1.cjs.map} +1 -1
  121. package/dist/{iframe-BbFlCEyP.js → iframe-CByrVlZy.js} +1 -1
  122. package/dist/{iframe-BbFlCEyP.js.map → iframe-CByrVlZy.js.map} +1 -1
  123. package/dist/iframe.cjs +1 -1
  124. package/dist/iframe.js +1 -1
  125. package/dist/index.cjs +1 -1
  126. package/dist/index.js +55 -56
  127. package/dist/{input-sBZ89wz1.cjs → input-BY9OCQWr.cjs} +1 -1
  128. package/dist/{input-sBZ89wz1.cjs.map → input-BY9OCQWr.cjs.map} +1 -1
  129. package/dist/{input-Dkneo4uA.js → input-Q0fm34Co.js} +1 -1
  130. package/dist/{input-Dkneo4uA.js.map → input-Q0fm34Co.js.map} +1 -1
  131. package/dist/{input-chip-F5NEkkBU.cjs → input-chip-BwNf3GD0.cjs} +1 -1
  132. package/dist/{input-chip-F5NEkkBU.cjs.map → input-chip-BwNf3GD0.cjs.map} +1 -1
  133. package/dist/{input-chip-C1-TYu4v.js → input-chip-CytUirVS.js} +1 -1
  134. package/dist/{input-chip-C1-TYu4v.js.map → input-chip-CytUirVS.js.map} +1 -1
  135. package/dist/input.cjs +1 -1
  136. package/dist/input.js +1 -1
  137. package/dist/json.cjs +1 -1
  138. package/dist/json.js +2 -2
  139. package/dist/kbd.cjs +1 -1
  140. package/dist/kbd.js +1 -1
  141. package/dist/layout.cjs +26 -1
  142. package/dist/layout.cjs.map +1 -0
  143. package/dist/layout.js +115 -2
  144. package/dist/layout.js.map +1 -0
  145. package/dist/{lightbox-D7hYFspE.js → lightbox-Ckvn5YNF.js} +1 -1
  146. package/dist/{lightbox-D7hYFspE.js.map → lightbox-Ckvn5YNF.js.map} +1 -1
  147. package/dist/{lightbox-B4m5lxGs.cjs → lightbox-p2E0oVR0.cjs} +1 -1
  148. package/dist/{lightbox-B4m5lxGs.cjs.map → lightbox-p2E0oVR0.cjs.map} +1 -1
  149. package/dist/lightbox.cjs +1 -1
  150. package/dist/lightbox.js +1 -1
  151. package/dist/{list-Ou72tSeq.js → list-CsrPVvmm.js} +1 -1
  152. package/dist/{list-Ou72tSeq.js.map → list-CsrPVvmm.js.map} +1 -1
  153. package/dist/{list-C2ycz-yr.cjs → list-r57UFHu3.cjs} +1 -1
  154. package/dist/{list-C2ycz-yr.cjs.map → list-r57UFHu3.cjs.map} +1 -1
  155. package/dist/list.cjs +1 -1
  156. package/dist/list.js +1 -1
  157. package/dist/{menu-ComSx-T0.cjs → menu-BOZ2iwed.cjs} +1 -1
  158. package/dist/{menu-ComSx-T0.cjs.map → menu-BOZ2iwed.cjs.map} +1 -1
  159. package/dist/{menu-YHbpRa7x.js → menu-CxE16xur.js} +2 -2
  160. package/dist/{menu-YHbpRa7x.js.map → menu-CxE16xur.js.map} +1 -1
  161. package/dist/menu.cjs +1 -1
  162. package/dist/menu.js +1 -1
  163. package/dist/mixins-DTCHPEd4.cjs +254 -0
  164. package/dist/{mixins-BwGJwK7X.cjs.map → mixins-DTCHPEd4.cjs.map} +1 -1
  165. package/dist/mixins-pU53qf6R.js +636 -0
  166. package/dist/{mixins-B9kY_60p.js.map → mixins-pU53qf6R.js.map} +1 -1
  167. package/dist/mixins.cjs +1 -1
  168. package/dist/mixins.js +1 -1
  169. package/dist/nav-drawer.cjs +1 -1
  170. package/dist/nav-drawer.js +1 -1
  171. package/dist/navigation-bar.cjs +1 -1
  172. package/dist/navigation-bar.js +1 -1
  173. package/dist/navigation-rail.cjs +1 -1
  174. package/dist/navigation-rail.js +1 -1
  175. package/dist/{notification-DZhL0ZEg.cjs → notification-58tkVys8.cjs} +1 -1
  176. package/dist/{notification-DZhL0ZEg.cjs.map → notification-58tkVys8.cjs.map} +1 -1
  177. package/dist/{notification-O4Q5pyio.js → notification-CgTBiAdf.js} +2 -2
  178. package/dist/{notification-O4Q5pyio.js.map → notification-CgTBiAdf.js.map} +1 -1
  179. package/dist/notification.cjs +1 -1
  180. package/dist/notification.js +1 -1
  181. package/dist/{option-C2VKw8Yt.cjs → option-61YE3gub.cjs} +1 -1
  182. package/dist/{option-C2VKw8Yt.cjs.map → option-61YE3gub.cjs.map} +1 -1
  183. package/dist/{option-BCks0a4i.js → option-Bicf6xpI.js} +1 -1
  184. package/dist/{option-BCks0a4i.js.map → option-Bicf6xpI.js.map} +1 -1
  185. package/dist/option.cjs +1 -1
  186. package/dist/option.js +1 -1
  187. package/dist/{overlay-CG1gc1Jw.cjs → overlay-B3gKPWhu.cjs} +2 -2
  188. package/dist/{overlay-CG1gc1Jw.cjs.map → overlay-B3gKPWhu.cjs.map} +1 -1
  189. package/dist/{overlay-C0YSnxoV.js → overlay-D3mdWOLS.js} +7 -4
  190. package/dist/{overlay-C0YSnxoV.js.map → overlay-D3mdWOLS.js.map} +1 -1
  191. package/dist/overlay.cjs +1 -1
  192. package/dist/{overlay.confirm-body-BmOnrKbF.js → overlay.confirm-body-Czi6cMZq.js} +1 -1
  193. package/dist/{overlay.confirm-body-BmOnrKbF.js.map → overlay.confirm-body-Czi6cMZq.js.map} +1 -1
  194. package/dist/{overlay.confirm-body-B-Kmn7LF.cjs → overlay.confirm-body-yr0HzS_d.cjs} +1 -1
  195. package/dist/{overlay.confirm-body-B-Kmn7LF.cjs.map → overlay.confirm-body-yr0HzS_d.cjs.map} +1 -1
  196. package/dist/overlay.js +3 -3
  197. package/dist/{overlay.service-CRoq9Gu-.js → overlay.service-BfZf3xoD.js} +2 -2
  198. package/dist/{overlay.service-CRoq9Gu-.js.map → overlay.service-BfZf3xoD.js.map} +1 -1
  199. package/dist/{overlay.service-BPKV2a8w.cjs → overlay.service-DNs3AWqp.cjs} +1 -1
  200. package/dist/{overlay.service-BPKV2a8w.cjs.map → overlay.service-DNs3AWqp.cjs.map} +1 -1
  201. package/dist/{progress-B9RWAFv5.cjs → progress-D8XZJVl5.cjs} +1 -1
  202. package/dist/{progress-B9RWAFv5.cjs.map → progress-D8XZJVl5.cjs.map} +1 -1
  203. package/dist/{progress-CEEl7vdd.js → progress-Zqx-S9NZ.js} +1 -1
  204. package/dist/{progress-CEEl7vdd.js.map → progress-Zqx-S9NZ.js.map} +1 -1
  205. package/dist/progress.cjs +1 -1
  206. package/dist/progress.js +1 -1
  207. package/dist/{radio-group-VERF_8rC.js → radio-group-D9MU1Mxz.js} +1 -1
  208. package/dist/{radio-group-VERF_8rC.js.map → radio-group-D9MU1Mxz.js.map} +1 -1
  209. package/dist/{radio-group-C2y6H5YY.cjs → radio-group-bl8K4Gls.cjs} +1 -1
  210. package/dist/{radio-group-C2y6H5YY.cjs.map → radio-group-bl8K4Gls.cjs.map} +1 -1
  211. package/dist/radio-group.cjs +1 -1
  212. package/dist/radio-group.js +1 -1
  213. package/dist/range.cjs +1 -1
  214. package/dist/range.js +1 -1
  215. package/dist/{rxjs-utils-Cs6XGwF6.js.map → rxjs-utils-BK8VMe3K.js.map} +1 -1
  216. package/dist/{rxjs-utils-Dsj75cJy.cjs.map → rxjs-utils-DhOKenkS.cjs.map} +1 -1
  217. package/dist/rxjs-utils.cjs +1 -1
  218. package/dist/rxjs-utils.js +1 -1
  219. package/dist/{select-ClJj_2AP.js → select-CMwkl-D6.js} +1 -1
  220. package/dist/{select-ClJj_2AP.js.map → select-CMwkl-D6.js.map} +1 -1
  221. package/dist/{select-CngphfDB.cjs → select-COIfVtZl.cjs} +1 -1
  222. package/dist/{select-CngphfDB.cjs.map → select-COIfVtZl.cjs.map} +1 -1
  223. package/dist/select.cjs +1 -1
  224. package/dist/select.js +1 -1
  225. package/dist/skeleton.cjs +1 -1
  226. package/dist/skeleton.js +1 -1
  227. package/dist/skills/SKILL.md +6 -2
  228. package/dist/skills/area.md +13 -0
  229. package/dist/skills/overlay.md +13 -0
  230. package/dist/skills/page.md +71 -29
  231. package/dist/skills/schmancy/SKILL.md +6 -2
  232. package/dist/skills/schmancy/area.md +13 -0
  233. package/dist/skills/schmancy/overlay.md +13 -0
  234. package/dist/skills/schmancy/page.md +71 -29
  235. package/dist/slider.cjs +1 -1
  236. package/dist/slider.js +1 -1
  237. package/dist/{splash-screen-CntIFk2h.cjs → splash-screen-2hxq8Sft.cjs} +1 -1
  238. package/dist/{splash-screen-CntIFk2h.cjs.map → splash-screen-2hxq8Sft.cjs.map} +1 -1
  239. package/dist/{splash-screen-BQsBy3O1.js → splash-screen-xrMNpzkm.js} +1 -1
  240. package/dist/{splash-screen-BQsBy3O1.js.map → splash-screen-xrMNpzkm.js.map} +1 -1
  241. package/dist/splash-screen.cjs +1 -1
  242. package/dist/splash-screen.js +1 -1
  243. package/dist/{src-BAXhEv8f.js → src-CHd-U-w4.js} +34 -35
  244. package/dist/{src-BAXhEv8f.js.map → src-CHd-U-w4.js.map} +1 -1
  245. package/dist/{src-ChFa-FDD.cjs → src-ggWtvpDr.cjs} +1 -1
  246. package/dist/{src-ChFa-FDD.cjs.map → src-ggWtvpDr.cjs.map} +1 -1
  247. package/dist/steps.cjs +1 -1
  248. package/dist/steps.js +1 -1
  249. package/dist/{surface-CHUJSY1o.js → surface-3nnvlxeE.js} +1 -1
  250. package/dist/{surface-CHUJSY1o.js.map → surface-3nnvlxeE.js.map} +1 -1
  251. package/dist/{surface-CXmQuXun.cjs → surface-BkQ44Wuo.cjs} +1 -1
  252. package/dist/{surface-CXmQuXun.cjs.map → surface-BkQ44Wuo.cjs.map} +1 -1
  253. package/dist/surface.cjs +1 -1
  254. package/dist/surface.js +1 -1
  255. package/dist/switch.cjs +1 -1
  256. package/dist/switch.js +1 -1
  257. package/dist/table.cjs +1 -1
  258. package/dist/table.js +1 -1
  259. package/dist/{tabs-DPVX21WM.js → tabs-CnLIe8nE.js} +1 -1
  260. package/dist/{tabs-DPVX21WM.js.map → tabs-CnLIe8nE.js.map} +1 -1
  261. package/dist/{tabs-Bku0sC0p.cjs → tabs-Dql0rcqZ.cjs} +1 -1
  262. package/dist/{tabs-Bku0sC0p.cjs.map → tabs-Dql0rcqZ.cjs.map} +1 -1
  263. package/dist/tabs.cjs +1 -1
  264. package/dist/tabs.js +1 -1
  265. package/dist/teleport.cjs +1 -1
  266. package/dist/teleport.js +1 -1
  267. package/dist/{textarea-D6z1UZzs.js → textarea-BAogS_Ff.js} +1 -1
  268. package/dist/{textarea-D6z1UZzs.js.map → textarea-BAogS_Ff.js.map} +1 -1
  269. package/dist/{textarea-CqJNviYi.cjs → textarea-CGD6lAEe.cjs} +1 -1
  270. package/dist/{textarea-CqJNviYi.cjs.map → textarea-CGD6lAEe.cjs.map} +1 -1
  271. package/dist/textarea.cjs +1 -1
  272. package/dist/textarea.js +1 -1
  273. package/dist/{theme-DbHfINBV.js → theme-CUK0HrS3.js} +1 -1
  274. package/dist/{theme-DbHfINBV.js.map → theme-CUK0HrS3.js.map} +1 -1
  275. package/dist/{theme-BpKVBJCr.cjs → theme-DKrrQ-ic.cjs} +1 -1
  276. package/dist/{theme-BpKVBJCr.cjs.map → theme-DKrrQ-ic.cjs.map} +1 -1
  277. package/dist/{theme-button-BeU8Nbs2.js → theme-button-Bb8qW2IH.js} +1 -1
  278. package/dist/{theme-button-BeU8Nbs2.js.map → theme-button-Bb8qW2IH.js.map} +1 -1
  279. package/dist/{theme-button-Cof9I85G.cjs → theme-button-CmTwFm3l.cjs} +1 -1
  280. package/dist/{theme-button-Cof9I85G.cjs.map → theme-button-CmTwFm3l.cjs.map} +1 -1
  281. package/dist/theme-button.cjs +1 -1
  282. package/dist/theme-button.js +1 -1
  283. package/dist/theme.cjs +1 -1
  284. package/dist/theme.js +2 -2
  285. package/dist/tree.cjs +1 -1
  286. package/dist/tree.js +1 -1
  287. package/dist/typography.cjs +1 -1
  288. package/dist/typography.js +1 -1
  289. package/dist/{utils-DXE5fBBd.js.map → utils-Cxg0Kfy5.js.map} +1 -1
  290. package/dist/{utils-C-Q8ePtG.cjs.map → utils-aCJYAGUr.cjs.map} +1 -1
  291. package/dist/utils.cjs +1 -1
  292. package/dist/utils.js +1 -1
  293. package/dist/visually-hidden.cjs +1 -1
  294. package/dist/visually-hidden.js +1 -1
  295. package/dist/{window-Cql1aIX2.cjs → window-BbWlaPZv.cjs} +1 -1
  296. package/dist/{window-Cql1aIX2.cjs.map → window-BbWlaPZv.cjs.map} +1 -1
  297. package/dist/{window-DmMNsos0.js → window-DuDAQa6y.js} +1 -1
  298. package/dist/{window-DmMNsos0.js.map → window-DuDAQa6y.js.map} +1 -1
  299. package/dist/window.cjs +1 -1
  300. package/dist/window.js +1 -1
  301. package/package.json +1 -1
  302. package/skills/schmancy/SKILL.md +6 -2
  303. package/skills/schmancy/area.md +13 -0
  304. package/skills/schmancy/overlay.md +13 -0
  305. package/skills/schmancy/page.md +71 -29
  306. package/src/area/area.component.ts +13 -1
  307. package/src/directives/fill.ts +137 -0
  308. package/src/directives/index.ts +2 -0
  309. package/src/directives/overflow-within.ts +186 -0
  310. package/src/index.ts +0 -1
  311. package/src/overlay/index.ts +1 -0
  312. package/src/overlay/overlay.component.ts +9 -0
  313. package/src/overlay/overlay.types.ts +10 -3
  314. package/types/src/directives/fill.d.ts +46 -0
  315. package/types/src/directives/index.d.ts +2 -0
  316. package/types/src/directives/overflow-within.d.ts +77 -0
  317. package/types/src/index.d.ts +0 -1
  318. package/types/src/overlay/index.d.ts +1 -1
  319. package/types/src/overlay/overlay.types.d.ts +9 -3
  320. package/dist/area-C7MNn-3e.cjs.map +0 -1
  321. package/dist/area-CRe41aIG.js.map +0 -1
  322. package/dist/mixins-B9kY_60p.js +0 -636
  323. package/dist/mixins-BwGJwK7X.cjs +0 -254
  324. package/dist/page.cjs +0 -20
  325. package/dist/page.cjs.map +0 -1
  326. package/dist/page.js +0 -74
  327. package/dist/page.js.map +0 -1
  328. package/dist/scroll-Bj7FsS08.js +0 -115
  329. package/dist/scroll-Bj7FsS08.js.map +0 -1
  330. package/dist/scroll-Djz3pJfX.cjs +0 -26
  331. package/dist/scroll-Djz3pJfX.cjs.map +0 -1
  332. package/src/page/index.ts +0 -1
  333. package/src/page/page.ts +0 -137
  334. package/types/src/page/index.d.ts +0 -1
  335. package/types/src/page/page.d.ts +0 -37
  336. /package/dist/{rxjs-utils-Cs6XGwF6.js → rxjs-utils-BK8VMe3K.js} +0 -0
  337. /package/dist/{rxjs-utils-Dsj75cJy.cjs → rxjs-utils-DhOKenkS.cjs} +0 -0
  338. /package/dist/{utils-DXE5fBBd.js → utils-Cxg0Kfy5.js} +0 -0
  339. /package/dist/{utils-C-Q8ePtG.cjs → utils-aCJYAGUr.cjs} +0 -0
@@ -1,27 +1,28 @@
1
1
  import { _ as e, d as t, f as n, l as r, u as i } from "./animation-DCznELuT.js";
2
2
  import { t as a } from "./reduced-motion-D7LqTUMn.js";
3
3
  import { t as o } from "./cursor-glow-Cs2XLDB9.js";
4
- import { n as s, r as c, t as l } from "./layout-Dq2oeOTS.js";
5
- import { t as u } from "./magnetic-DxvoEz8_.js";
6
- import { BehaviorSubject as d, EMPTY as f, Observable as p, Subject as m, animationFrameScheduler as h, combineLatest as g, concat as _, defer as v, from as y, fromEvent as b, interval as x, merge as S, of as C, timer as w } from "rxjs";
7
- import { catchError as T, delay as E, distinctUntilChanged as D, filter as O, finalize as ee, first as te, map as k, observeOn as ne, repeat as re, skip as ie, startWith as A, switchMap as j, take as M, takeUntil as N, takeWhile as P, tap as F } from "rxjs/operators";
8
- import { noChange as I, nothing as L } from "lit";
9
- import { AsyncDirective as R, directive as z } from "lit/async-directive.js";
10
- import { Directive as B, PartType as V, directive as H } from "lit/directive.js";
11
- var ae = {
4
+ import { n as s } from "./theme.service-CSzNkqBB.js";
5
+ import { n as c, r as l, t as u } from "./layout-Dq2oeOTS.js";
6
+ import { t as d } from "./magnetic-DxvoEz8_.js";
7
+ import { BehaviorSubject as f, EMPTY as p, Observable as m, Subject as h, animationFrameScheduler as g, combineLatest as _, concat as v, debounceTime as y, defer as b, filter as x, from as S, fromEvent as C, interval as w, merge as T, of as E, takeUntil as D, timer as O } from "rxjs";
8
+ import { catchError as k, debounceTime as ee, delay as te, distinctUntilChanged as A, filter as j, finalize as ne, first as re, map as M, observeOn as ie, repeat as ae, skip as oe, startWith as se, switchMap as N, take as P, takeUntil as F, takeWhile as I, tap as L } from "rxjs/operators";
9
+ import { noChange as R, nothing as z } from "lit";
10
+ import { AsyncDirective as B, directive as V } from "lit/async-directive.js";
11
+ import { Directive as H, PartType as U, directive as W } from "lit/directive.js";
12
+ var ce = {
12
13
  smooth: t,
13
14
  snappy: n,
14
15
  bouncy: r,
15
16
  gentle: i
16
- }, oe = z(class extends R {
17
+ }, le = V(class extends B {
17
18
  constructor(...e) {
18
- super(...e), this.element = null, this.originalContent = "", this.animations = [], this.disconnecting$ = new m(), this.initialized = !1;
19
+ super(...e), this.element = null, this.originalContent = "", this.animations = [], this.disconnecting$ = new h(), this.initialized = !1;
19
20
  }
20
21
  render(e) {
21
- return I;
22
+ return R;
22
23
  }
23
24
  update(e, [t]) {
24
- return this.element = e.element, this.initialized || (this.initialized = !0, this.disconnecting$.closed && (this.disconnecting$ = new m()), t.text === void 0 ? this.originalContent = this.element.textContent || "" : (this.originalContent = t.text, this.element.textContent = t.text), this.element.style.willChange = "transform, opacity", t.animation === "typewriter" ? this.element.textContent = "" : this.element.style.opacity = "0", this.initialize(t)), I;
25
+ return this.element = e.element, this.initialized || (this.initialized = !0, this.disconnecting$.closed && (this.disconnecting$ = new h()), t.text === void 0 ? this.originalContent = this.element.textContent || "" : (this.originalContent = t.text, this.element.textContent = t.text), this.element.style.willChange = "transform, opacity", t.animation === "typewriter" ? this.element.textContent = "" : this.element.style.opacity = "0", this.initialize(t)), R;
25
26
  }
26
27
  disconnected() {
27
28
  this.cleanup();
@@ -30,8 +31,8 @@ var ae = {
30
31
  this.element && (this.element.style.willChange = "transform, opacity");
31
32
  }
32
33
  initialize(e) {
33
- let { animation: t, delay: n = 0, duration: r, stagger: i, preset: a = "snappy", restart: o = !1 } = e, s = ae[a], c = r ?? s.duration, l = i ?? (t === "cyber-glitch" ? 30 : 50), u = this.createVisibilityObservable$();
34
- (o ? u.pipe(j((e) => e ? w(n).pipe(j(() => this.runAnimation$(t, c, l, s))) : v(() => (this.resetToInitial(t), f)))) : u.pipe(O((e) => e), M(1), E(n), j(() => this.runAnimation$(t, c, l, s)))).pipe(N(this.disconnecting$)).subscribe();
34
+ let { animation: t, delay: n = 0, duration: r, stagger: i, preset: a = "snappy", restart: o = !1 } = e, s = ce[a], c = r ?? s.duration, l = i ?? (t === "cyber-glitch" ? 30 : 50), u = this.createVisibilityObservable$();
35
+ (o ? u.pipe(N((e) => e ? O(n).pipe(N(() => this.runAnimation$(t, c, l, s))) : b(() => (this.resetToInitial(t), p)))) : u.pipe(j((e) => e), P(1), te(n), N(() => this.runAnimation$(t, c, l, s)))).pipe(F(this.disconnecting$)).subscribe();
35
36
  }
36
37
  cleanup() {
37
38
  this.disconnecting$.next(), this.disconnecting$.complete(), this.cancelAnimations(), this.element && (this.element.textContent = this.originalContent, this.element.style.opacity = "", this.element.style.willChange = "auto", this.element.style.transform = "", this.element.style.filter = ""), this.element = null, this.initialized = !1;
@@ -69,26 +70,26 @@ var ae = {
69
70
  return t;
70
71
  }
71
72
  createVisibilityObservable$() {
72
- let e = b(document, "visibilitychange").pipe(A(null), k(() => document.visibilityState === "visible"), D());
73
- return g([x(200).pipe(A(0), k(() => {
73
+ let e = C(document, "visibilitychange").pipe(se(null), M(() => document.visibilityState === "visible"), A());
74
+ return _([w(200).pipe(se(0), M(() => {
74
75
  if (!this.element) return !1;
75
76
  let e = this.element.getBoundingClientRect();
76
77
  return e.width > 0 && e.height > 0 && e.top < window.innerHeight && e.bottom > 0 && this.getAccumulatedOpacity() > .5;
77
- }), D()), e]).pipe(k(([e, t]) => e && t), D());
78
+ }), A()), e]).pipe(M(([e, t]) => e && t), A());
78
79
  }
79
80
  runAnimation$(e, t, n, r) {
80
- if (!this.element) return f;
81
+ if (!this.element) return p;
81
82
  switch (e) {
82
83
  case "fade-up": return this.animateFadeUp$(t, r);
83
84
  case "blur-reveal": return this.animateBlurReveal$(t, n, r);
84
85
  case "word-reveal": return this.animateWordReveal$(t, n, r);
85
86
  case "cyber-glitch": return this.animateCyberGlitch$(t, n, r);
86
87
  case "typewriter": return this.animateTypewriter$(t);
87
- default: return f;
88
+ default: return p;
88
89
  }
89
90
  }
90
91
  animateFadeUp$(e, t) {
91
- if (!this.element) return f;
92
+ if (!this.element) return p;
92
93
  let n = this.element.animate([{
93
94
  opacity: 0,
94
95
  transform: "translateY(30px)"
@@ -100,9 +101,9 @@ var ae = {
100
101
  easing: t.easingFallback,
101
102
  fill: "forwards"
102
103
  });
103
- return this.animations.push(n), y(n.finished).pipe(F(() => {
104
+ return this.animations.push(n), S(n.finished).pipe(L(() => {
104
105
  this.element && (this.element.style.opacity = "", this.element.style.transform = "", this.element.style.willChange = "auto");
105
- }), T(() => f));
106
+ }), k(() => p));
106
107
  }
107
108
  wrapTextNodes(e) {
108
109
  let t = [], n = document.createDocumentFragment(), r = Array.from(e.childNodes);
@@ -117,7 +118,7 @@ var ae = {
117
118
  return e.textContent = "", e.appendChild(n), t;
118
119
  }
119
120
  animateBlurReveal$(e, t, n) {
120
- if (!this.element) return f;
121
+ if (!this.element) return p;
121
122
  let r = this.wrapTextNodes(this.element);
122
123
  this.element.style.opacity = "1", r.forEach((r, i) => {
123
124
  r.style.opacity = "0", r.style.display = "inline-block";
@@ -138,14 +139,14 @@ var ae = {
138
139
  this.animations.push(a);
139
140
  });
140
141
  let i = this.animations[this.animations.length - 1];
141
- return i ? y(i.finished).pipe(F(() => {
142
+ return i ? S(i.finished).pipe(L(() => {
142
143
  this.element && (this.element.style.willChange = "auto", r.forEach((e) => {
143
144
  e.style.willChange = "auto";
144
145
  }));
145
- }), T(() => f)) : f;
146
+ }), k(() => p)) : p;
146
147
  }
147
148
  animateWordReveal$(e, t, n) {
148
- if (!this.element) return f;
149
+ if (!this.element) return p;
149
150
  let r = this.wrapTextNodes(this.element);
150
151
  this.element.style.opacity = "1", r.forEach((r, i) => {
151
152
  r.style.opacity = "0", r.style.display = "inline-block";
@@ -164,14 +165,14 @@ var ae = {
164
165
  this.animations.push(a);
165
166
  });
166
167
  let i = this.animations[this.animations.length - 1];
167
- return i ? y(i.finished).pipe(F(() => {
168
+ return i ? S(i.finished).pipe(L(() => {
168
169
  this.element && (this.element.style.willChange = "auto", r.forEach((e) => {
169
170
  e.style.willChange = "auto";
170
171
  }));
171
- }), T(() => f)) : f;
172
+ }), k(() => p)) : p;
172
173
  }
173
174
  animateCyberGlitch$(e, t, n) {
174
- if (!this.element) return f;
175
+ if (!this.element) return p;
175
176
  let r = this.originalContent.split(""), i = document.createDocumentFragment(), a = [];
176
177
  for (let e of r) {
177
178
  let t = document.createElement("span");
@@ -196,53 +197,53 @@ var ae = {
196
197
  this.animations.push(o);
197
198
  });
198
199
  let o = this.animations[this.animations.length - 1];
199
- return o ? y(o.finished).pipe(F(() => {
200
+ return o ? S(o.finished).pipe(L(() => {
200
201
  this.element && (this.element.style.willChange = "auto", a.forEach((e) => {
201
202
  e.style.willChange = "auto";
202
203
  }));
203
- }), T(() => f)) : f;
204
+ }), k(() => p)) : p;
204
205
  }
205
206
  animateTypewriter$(e) {
206
- if (!this.element) return f;
207
+ if (!this.element) return p;
207
208
  let t = this.originalContent, n = t.length;
208
- if (n === 0) return f;
209
+ if (n === 0) return p;
209
210
  let r = 0;
210
- return x(e / n).pipe(F(() => {
211
+ return w(e / n).pipe(L(() => {
211
212
  r++, this.element && (this.element.textContent = t.slice(0, r));
212
- }), P(() => r < n), ee(() => {
213
+ }), I(() => r < n), ne(() => {
213
214
  this.element && (this.element.textContent = this.originalContent, this.element.style.willChange = "auto");
214
215
  }));
215
216
  }
216
- }), se = H(class extends B {
217
+ }), ue = W(class extends H {
217
218
  constructor(e) {
218
219
  super(e), this.config = {};
219
220
  }
220
221
  update(e, [t]) {
221
- if (e.type !== V.ELEMENT) throw Error("The `classMap` directive must be used in the `class` attribute");
222
+ if (e.type !== U.ELEMENT) throw Error("The `classMap` directive must be used in the `class` attribute");
222
223
  let n = e.element;
223
224
  this.config = t, this.config.bgColor && (n.style.backgroundColor = this.config.bgColor), this.config.color && (n.style.color = this.config.color);
224
225
  }
225
226
  render(e) {
226
- return this.config = e, L;
227
+ return this.config = e, z;
227
228
  }
228
- }), U = /* @__PURE__ */ new WeakMap();
229
- function W(e, t) {
229
+ }), G = /* @__PURE__ */ new WeakMap();
230
+ function de(e, t) {
230
231
  let n = e.match(/var\(([^,)]+)/);
231
232
  return n && getComputedStyle(document.documentElement).getPropertyValue(n[1]).trim() || t;
232
233
  }
233
- var ce = H(class extends B {
234
+ var fe = W(class extends H {
234
235
  constructor(e) {
235
- if (super(e), e.type !== V.ELEMENT) throw Error("confirmClick directive can only be used on elements");
236
+ if (super(e), e.type !== U.ELEMENT) throw Error("confirmClick directive can only be used on elements");
236
237
  }
237
238
  render(e, t) {}
238
239
  update(e, [t, n = {}]) {
239
- let r = e.element, i = U.get(r);
240
+ let r = e.element, i = G.get(r);
240
241
  if (i) {
241
242
  if (i.callback = t, this.optionsEqual(i.options, n)) return;
242
243
  this.cleanup(r);
243
244
  }
244
- let a = new m(), o = this.setupClickListener(r, n ?? {}, a);
245
- U.set(r, {
245
+ let a = new h(), o = this.setupClickListener(r, n ?? {}, a);
246
+ G.set(r, {
246
247
  subscription: o,
247
248
  callback: t,
248
249
  options: n ?? {},
@@ -255,15 +256,15 @@ var ce = H(class extends B {
255
256
  return t ? e.timeout === t.timeout && e.icon === t.icon : Object.keys(e).length === 0;
256
257
  }
257
258
  setupClickListener(e, t, n) {
258
- return b(e, "click").pipe(F((r) => {
259
- let i = U.get(e);
259
+ return C(e, "click").pipe(L((r) => {
260
+ let i = G.get(e);
260
261
  i && !i.isConfirming && (r.stopPropagation(), r.preventDefault(), i.isConfirming = !0, this.showOverlay(e, i, t, n));
261
262
  })).subscribe();
262
263
  }
263
264
  showOverlay(e, t, n, r) {
264
- let i = n.timeout ?? 3e3, a = e, o = n.icon ?? a.icon ?? a._capturedIcon ?? e.textContent?.trim() ?? "warning", s = W("var(--schmancy-sys-color-error-default)", "#dc2626"), c = W("var(--schmancy-sys-color-error-on)", "#ffffff"), l = W("var(--schmancy-sys-color-error-container)", "#fecaca"), u = document.createElement("div");
265
+ let i = n.timeout ?? 3e3, a = e, o = n.icon ?? a.icon ?? a._capturedIcon ?? e.textContent?.trim() ?? "warning", s = de("var(--schmancy-sys-color-error-default)", "#dc2626"), c = de("var(--schmancy-sys-color-error-on)", "#ffffff"), l = de("var(--schmancy-sys-color-error-container)", "#fecaca"), u = document.createElement("div");
265
266
  u.setAttribute("role", "status"), u.setAttribute("aria-label", "Click again to confirm");
266
- let d = e.getBoundingClientRect(), f = d.width, p = d.height, m = window.devicePixelRatio || 1, g = getComputedStyle(e);
267
+ let d = e.getBoundingClientRect(), f = d.width, p = d.height, m = window.devicePixelRatio || 1, h = getComputedStyle(e);
267
268
  Object.assign(u.style, {
268
269
  position: "fixed",
269
270
  top: `${d.top}px`,
@@ -271,7 +272,7 @@ var ce = H(class extends B {
271
272
  width: `${f}px`,
272
273
  height: `${p}px`,
273
274
  zIndex: "10000",
274
- borderRadius: g.borderRadius || "50%",
275
+ borderRadius: h.borderRadius || "50%",
275
276
  overflow: "hidden",
276
277
  cursor: "pointer",
277
278
  opacity: "0",
@@ -288,51 +289,51 @@ var ce = H(class extends B {
288
289
  transform: "translate(-50%, -50%)",
289
290
  color: c,
290
291
  pointerEvents: "none"
291
- }), u.appendChild(y), document.body.appendChild(u), t.overlayElement = u, C(null).pipe(ne(h)).subscribe(() => {
292
+ }), u.appendChild(y), document.body.appendChild(u), t.overlayElement = u, E(null).pipe(ie(g)).subscribe(() => {
292
293
  u.style.opacity = "1", u.style.transform = "scale(1)";
293
294
  });
294
- let w = _.getContext("2d");
295
- if (!w) return;
296
- w.scale(m, m);
297
- let T = f / 2, E = p / 2, D = Math.min(f, p) / 2 - 1, ee = D - 3, te = (e) => {
298
- w.clearRect(0, 0, f, p), w.beginPath(), w.arc(T, E, ee, 0, 2 * Math.PI), w.fillStyle = s, w.fill();
295
+ let b = _.getContext("2d");
296
+ if (!b) return;
297
+ b.scale(m, m);
298
+ let x = f / 2, S = p / 2, D = Math.min(f, p) / 2 - 1, O = D - 3, k = (e) => {
299
+ b.clearRect(0, 0, f, p), b.beginPath(), b.arc(x, S, O, 0, 2 * Math.PI), b.fillStyle = s, b.fill();
299
300
  let t = 1 - e;
300
301
  if (t > 0) {
301
302
  let e = -Math.PI / 2, n = e + 2 * Math.PI * t;
302
- w.beginPath(), w.arc(T, E, D, e, n), w.arc(T, E, ee, n, e, !0), w.closePath(), w.fillStyle = l, w.fill();
303
+ b.beginPath(), b.arc(x, S, D, e, n), b.arc(x, S, O, n, e, !0), b.closePath(), b.fillStyle = l, b.fill();
303
304
  }
304
305
  };
305
- te(0);
306
- let re = performance.now(), ie = x(0, h).pipe(k(() => (performance.now() - re) / i), P((e) => e <= 1), N(r), F((e) => te(e))).subscribe({ complete: () => {
307
- U.get(e)?.isConfirming && this.hideOverlay(e);
306
+ k(0);
307
+ let ee = performance.now(), te = w(0, g).pipe(M(() => (performance.now() - ee) / i), I((e) => e <= 1), F(r), L((e) => k(e))).subscribe({ complete: () => {
308
+ G.get(e)?.isConfirming && this.hideOverlay(e);
308
309
  } });
309
- t.subscription.add(ie);
310
- let A = S(b(u, "click").pipe(M(1), F(() => {
310
+ t.subscription.add(te);
311
+ let A = T(C(u, "click").pipe(P(1), L(() => {
311
312
  t.callback(), this.hideOverlay(e);
312
- })), b(document, "click", { capture: !0 }).pipe(O((t) => !u.contains(t.target) && !e.contains(t.target)), M(1), F(() => this.hideOverlay(e))), b(document, "keydown").pipe(O((e) => e.key === "Escape"), M(1), F(() => this.hideOverlay(e)))).pipe(M(1), N(r)).subscribe();
313
+ })), C(document, "click", { capture: !0 }).pipe(j((t) => !u.contains(t.target) && !e.contains(t.target)), P(1), L(() => this.hideOverlay(e))), C(document, "keydown").pipe(j((e) => e.key === "Escape"), P(1), L(() => this.hideOverlay(e)))).pipe(P(1), F(r)).subscribe();
313
314
  t.subscription.add(A);
314
315
  }
315
316
  hideOverlay(e) {
316
- let t = U.get(e);
317
+ let t = G.get(e);
317
318
  if (t && (t.cancel$.next(), t.isConfirming = !1, t.overlayElement)) {
318
319
  let e = t.overlayElement;
319
- e.style.opacity = "0", e.style.transform = "scale(0.6)", w(250).pipe(F(() => {
320
+ e.style.opacity = "0", e.style.transform = "scale(0.6)", O(250).pipe(L(() => {
320
321
  document.body.contains(e) && document.body.removeChild(e);
321
322
  })).subscribe(), t.overlayElement = null;
322
323
  }
323
324
  }
324
325
  cleanup(e) {
325
- let t = U.get(e);
326
- t && (t.cancel$.next(), t.cancel$.complete(), t.subscription.unsubscribe(), t.overlayElement && document.body.contains(t.overlayElement) && document.body.removeChild(t.overlayElement), U.delete(e));
326
+ let t = G.get(e);
327
+ t && (t.cancel$.next(), t.cancel$.complete(), t.subscription.unsubscribe(), t.overlayElement && document.body.contains(t.overlayElement) && document.body.removeChild(t.overlayElement), G.delete(e));
327
328
  }
328
329
  disconnected(e) {
329
330
  this.cleanup(e.element);
330
331
  }
331
332
  reconnected(e) {
332
- let t = e.element, n = U.get(t);
333
+ let t = e.element, n = G.get(t);
333
334
  if (n) {
334
- let e = new m(), r = this.setupClickListener(t, n.options, e);
335
- U.set(t, {
335
+ let e = new h(), r = this.setupClickListener(t, n.options, e);
336
+ G.set(t, {
336
337
  subscription: r,
337
338
  callback: n.callback,
338
339
  options: n.options,
@@ -342,21 +343,21 @@ var ce = H(class extends B {
342
343
  });
343
344
  }
344
345
  }
345
- }), le = z(class extends R {
346
+ }), pe = V(class extends B {
346
347
  constructor(...e) {
347
- super(...e), this.element = null, this.items = [], this.subscription = null, this.typewriterSub = null, this.currentAnimation = null, this.addDisplayEl = null, this.disconnecting$ = new m(), this.initialized = !1;
348
+ super(...e), this.element = null, this.items = [], this.subscription = null, this.typewriterSub = null, this.currentAnimation = null, this.addDisplayEl = null, this.disconnecting$ = new h(), this.initialized = !1;
348
349
  }
349
350
  render(e) {
350
- return I;
351
+ return R;
351
352
  }
352
353
  update(e, [t = {}]) {
353
354
  if (this.element = e.element, !this.initialized && this.isConnected) {
354
- if (this.initialized = !0, this.disconnecting$.closed && (this.disconnecting$ = new m()), this.items = Array.from(this.element.children).filter((e) => e instanceof HTMLElement), this.items.length === 0) return I;
355
+ if (this.initialized = !0, this.disconnecting$.closed && (this.disconnecting$ = new h()), this.items = Array.from(this.element.children).filter((e) => e instanceof HTMLElement), this.items.length === 0) return R;
355
356
  this.element.style.display = "inline-grid", this.element.style.verticalAlign = "bottom", this.items.forEach((e, t) => {
356
357
  e.style.gridColumn = "1", e.style.gridRow = "1", e.style.visibility = t === 0 ? "" : "hidden";
357
358
  }), this.startCycling(t);
358
359
  }
359
- return I;
360
+ return R;
360
361
  }
361
362
  disconnected() {
362
363
  this.cleanup();
@@ -367,21 +368,21 @@ var ce = H(class extends B {
367
368
  this.items.length < 2 || (t === "add" ? this.startAddCycling(e) : this.startReplaceCycling(e));
368
369
  }
369
370
  startReplaceCycling(e) {
370
- let { transition: t = "fade", hold: n = 2e3, duration: r = 300, delay: i = 0 } = e, a = (e) => v(() => new p((i) => {
371
- let a = this.items[e], o = (e - 1 + this.items.length) % this.items.length, s = this.items[o], c = parseInt(a.dataset.hold || "", 10) || n, l = this.transitionItems(s, a, t, r).pipe(j(() => w(c)), M(1), N(this.disconnecting$)).subscribe({
371
+ let { transition: t = "fade", hold: n = 2e3, duration: r = 300, delay: i = 0 } = e, a = (e) => b(() => new m((i) => {
372
+ let a = this.items[e], o = (e - 1 + this.items.length) % this.items.length, s = this.items[o], c = parseInt(a.dataset.hold || "", 10) || n, l = this.transitionItems(s, a, t, r).pipe(N(() => O(c)), P(1), F(this.disconnecting$)).subscribe({
372
373
  next: () => {
373
374
  i.next(), i.complete();
374
375
  },
375
376
  error: (e) => i.error(e)
376
377
  });
377
378
  return () => l.unsubscribe();
378
- })), o = parseInt(this.items[0].dataset.hold || "", 10) || n, s = _(v(() => new p((e) => {
379
- let t = w(o).pipe(N(this.disconnecting$)).subscribe({ next: () => {
379
+ })), o = parseInt(this.items[0].dataset.hold || "", 10) || n, s = v(b(() => new m((e) => {
380
+ let t = O(o).pipe(F(this.disconnecting$)).subscribe({ next: () => {
380
381
  e.next(), e.complete();
381
382
  } });
382
383
  return () => t.unsubscribe();
383
- })), _(...[...Array.from({ length: this.items.length }, (e, t) => t).slice(1), 0].map((e) => a(e))).pipe(re()));
384
- this.subscription = w(i).pipe(j(() => s), N(this.disconnecting$)).subscribe();
384
+ })), v(...[...Array.from({ length: this.items.length }, (e, t) => t).slice(1), 0].map((e) => a(e))).pipe(ae()));
385
+ this.subscription = O(i).pipe(N(() => s), F(this.disconnecting$)).subscribe();
385
386
  }
386
387
  startAddCycling(e) {
387
388
  let { transition: t = "fade", hold: n = 2e3, duration: r = 300, delay: i = 0, separator: a = ", " } = e, o = this.items.map((e) => e.textContent || "");
@@ -390,33 +391,33 @@ var ce = H(class extends B {
390
391
  });
391
392
  let s = document.createElement("span");
392
393
  this.element.appendChild(s), this.addDisplayEl = s;
393
- let c = v(() => {
394
+ let c = b(() => {
394
395
  s.textContent = "";
395
396
  let e = "", i = o.map((i, o) => {
396
397
  let c = parseInt(this.items[o].dataset.hold || "", 10) || n, l = (o > 0 ? a : "") + i;
397
- return v(() => t === "typewriter" ? this.typewriterAdd(s, e, l, r).pipe(F(() => {
398
+ return b(() => t === "typewriter" ? this.typewriterAdd(s, e, l, r).pipe(L(() => {
398
399
  e += l;
399
- }), j(() => w(c))) : v(() => (e += l, s.textContent = e, w(c))));
400
- }), c = v(() => {
400
+ }), N(() => O(c))) : b(() => (e += l, s.textContent = e, O(c))));
401
+ }), c = b(() => {
401
402
  let t = s.animate([{ opacity: 1 }, { opacity: 0 }], {
402
403
  duration: r,
403
404
  fill: "forwards"
404
405
  });
405
- return this.currentAnimation = t, y(t.finished).pipe(F(() => {
406
+ return this.currentAnimation = t, S(t.finished).pipe(L(() => {
406
407
  t.cancel(), s.textContent = "", s.style.opacity = "", e = "";
407
- }), j(() => w(300)));
408
+ }), N(() => O(300)));
408
409
  });
409
- return _(...i, c);
410
+ return v(...i, c);
410
411
  });
411
- this.subscription = w(i).pipe(j(() => c.pipe(re())), N(this.disconnecting$)).subscribe();
412
+ this.subscription = O(i).pipe(N(() => c.pipe(ae())), F(this.disconnecting$)).subscribe();
412
413
  }
413
414
  typewriterAdd(e, t, n, r) {
414
- if (n.length === 0) return C(void 0);
415
+ if (n.length === 0) return E(void 0);
415
416
  let i = r / n.length;
416
- return new p((r) => {
417
- let a = 0, o = x(i).pipe(F(() => {
417
+ return new m((r) => {
418
+ let a = 0, o = w(i).pipe(L(() => {
418
419
  a++, e.textContent = t + n.slice(0, a);
419
- }), P(() => a < n.length), N(this.disconnecting$)).subscribe({ complete: () => {
420
+ }), I(() => a < n.length), F(this.disconnecting$)).subscribe({ complete: () => {
420
421
  e.textContent = t + n, r.next(), r.complete();
421
422
  } });
422
423
  return () => o.unsubscribe();
@@ -434,16 +435,16 @@ var ce = H(class extends B {
434
435
  duration: n / 2,
435
436
  fill: "forwards"
436
437
  });
437
- return this.currentAnimation = r, y(r.finished).pipe(j(() => {
438
+ return this.currentAnimation = r, S(r.finished).pipe(N(() => {
438
439
  r.cancel(), e.style.visibility = "hidden", t.style.visibility = "";
439
440
  let i = t.animate([{ opacity: 0 }, { opacity: 1 }], {
440
441
  duration: n / 2,
441
442
  fill: "forwards"
442
443
  });
443
- return this.currentAnimation = i, y(i.finished).pipe(F(() => {
444
+ return this.currentAnimation = i, S(i.finished).pipe(L(() => {
444
445
  i.cancel();
445
- }), k(() => {}), T(() => f));
446
- }), T(() => f));
446
+ }), M(() => {}), k(() => p));
447
+ }), k(() => p));
447
448
  }
448
449
  slideTransition(e, t, n) {
449
450
  let r = "cubic-bezier(0.4, 0, 0.2, 1)";
@@ -469,24 +470,24 @@ var ce = H(class extends B {
469
470
  fill: "forwards",
470
471
  easing: r
471
472
  });
472
- return this.currentAnimation = a, y(a.finished).pipe(F(() => {
473
+ return this.currentAnimation = a, S(a.finished).pipe(L(() => {
473
474
  i.cancel(), a.cancel(), e.style.visibility = "hidden";
474
- }), k(() => {}), T(() => f));
475
+ }), M(() => {}), k(() => p));
475
476
  }
476
477
  typewriterTransition(e, t, n) {
477
478
  let r = e.textContent || "", i = t.textContent || "", a = r.length + i.length;
478
- if (a === 0) return e.style.visibility = "hidden", t.style.visibility = "", C(void 0);
479
+ if (a === 0) return e.style.visibility = "hidden", t.style.visibility = "", E(void 0);
479
480
  let o = n / a;
480
- return new p((n) => {
481
+ return new m((n) => {
481
482
  let a = r.length;
482
- return this.typewriterSub = _(x(o).pipe(F(() => {
483
+ return this.typewriterSub = v(w(o).pipe(L(() => {
483
484
  a--, e.textContent = r.slice(0, a);
484
- }), P(() => a > 0)), v(() => (e.style.visibility = "hidden", e.textContent = r, t.style.visibility = "", t.textContent = "", C(null))), v(() => {
485
+ }), I(() => a > 0)), b(() => (e.style.visibility = "hidden", e.textContent = r, t.style.visibility = "", t.textContent = "", E(null))), b(() => {
485
486
  let e = 0;
486
- return x(o).pipe(F(() => {
487
+ return w(o).pipe(L(() => {
487
488
  e++, t.textContent = i.slice(0, e);
488
- }), P(() => e < i.length));
489
- })).pipe(N(this.disconnecting$)).subscribe({ complete: () => {
489
+ }), I(() => e < i.length));
490
+ })).pipe(F(this.disconnecting$)).subscribe({ complete: () => {
490
491
  t.textContent = i, n.next(), n.complete();
491
492
  } }), () => {
492
493
  this.typewriterSub?.unsubscribe(), this.typewriterSub = null;
@@ -498,13 +499,13 @@ var ce = H(class extends B {
498
499
  e.style.gridColumn = "", e.style.gridRow = "", e.style.visibility = t === 0 ? "" : "hidden", e.style.opacity = "", e.style.transform = "";
499
500
  }), this.element = null, this.items = [], this.initialized = !1;
500
501
  }
501
- }), ue = H(class extends R {
502
+ }), me = W(class extends B {
502
503
  constructor(...e) {
503
504
  super(...e), this.maxBlur = 8, this.duration = 400, this.isBlurred = !1, this.transitionSet = !1;
504
505
  }
505
506
  render(e) {}
506
507
  update(e, [t]) {
507
- if (e.type !== V.ELEMENT) throw Error("depthOfField directive must be used on an element");
508
+ if (e.type !== U.ELEMENT) throw Error("depthOfField directive must be used on an element");
508
509
  this.element = e.element, this.maxBlur = t.maxBlur ?? 8, this.duration = t.duration ?? 400, this.transitionSet || a.value || (this.element.style.transition = `filter ${this.duration}ms cubic-bezier(0.34, 1.2, 0.64, 1), scale ${this.duration}ms cubic-bezier(0.34, 1.2, 0.64, 1)`, this.transitionSet = !0), t.active && !this.isBlurred ? this.applyBlur() : !t.active && this.isBlurred && this.clearBlur();
509
510
  }
510
511
  applyBlur() {
@@ -517,12 +518,12 @@ var ce = H(class extends B {
517
518
  this.isBlurred && this.clearBlur();
518
519
  }
519
520
  reconnected() {}
520
- }), G = new d(null), K = new d(null), q = /* @__PURE__ */ new Map(), J = /* @__PURE__ */ new Map(), Y = [];
521
+ }), he = new f(null), K = new f(null), q = /* @__PURE__ */ new Map(), J = /* @__PURE__ */ new Map(), Y = [];
521
522
  function X(e) {
522
523
  Y.push(`[${(/* @__PURE__ */ new Date()).toISOString().slice(11, 23)}] ${e}`);
523
524
  }
524
525
  var Z = null;
525
- K.pipe(D((e, t) => e?.target === t?.target && e?.position === t?.position)).subscribe((e) => {
526
+ K.pipe(A((e, t) => e?.target === t?.target && e?.position === t?.position)).subscribe((e) => {
526
527
  if (!e) return void (Z && (Z.style.display = "none"));
527
528
  if (a.value) return;
528
529
  let t = function() {
@@ -560,20 +561,20 @@ K.pipe(D((e, t) => e?.target === t?.target && e?.position === t?.position)).subs
560
561
  display: "block"
561
562
  });
562
563
  });
563
- var de = class extends B {
564
+ var ge = class extends H {
564
565
  constructor(...e) {
565
- super(...e), this.destroy$ = new m();
566
+ super(...e), this.destroy$ = new h();
566
567
  }
567
568
  update(e, [t]) {
568
569
  if (this.id = t, !this.element) {
569
570
  let t = e.element;
570
- this.element = t, t.draggable = !0, t.style.cursor = "grab", b(t, "dragstart").pipe(F((e) => {
571
- e.stopPropagation(), e.dataTransfer?.setData("application/json", JSON.stringify({ id: this.id })), e.dataTransfer && (e.dataTransfer.effectAllowed = "move"), t.style.cursor = "grabbing", Y.length = 0, X(`DRAGSTART id=${this.id} tag=${t.tagName}`), G.next(this.id), J.clear();
571
+ this.element = t, t.draggable = !0, t.style.cursor = "grab", C(t, "dragstart").pipe(L((e) => {
572
+ e.stopPropagation(), e.dataTransfer?.setData("application/json", JSON.stringify({ id: this.id })), e.dataTransfer && (e.dataTransfer.effectAllowed = "move"), t.style.cursor = "grabbing", Y.length = 0, X(`DRAGSTART id=${this.id} tag=${t.tagName}`), he.next(this.id), J.clear();
572
573
  let n = t.parentElement;
573
574
  if (n) for (let [e, t] of q) t.parentElement === n && J.set(e, t.getBoundingClientRect());
574
- }), ne(h), F(() => {
575
+ }), ie(g), L(() => {
575
576
  a.value || (t.style.transition = "transform 150ms ease, box-shadow 150ms ease, opacity 150ms ease", t.style.transform = "scale(1.03)", t.style.boxShadow = "0 8px 25px rgba(0,0,0,0.15)", t.style.opacity = "0.6", t.style.zIndex = "1000", t.style.pointerEvents = "none");
576
- }), j(() => b(t, "dragend").pipe(M(1), F(() => {
577
+ }), N(() => C(t, "dragend").pipe(P(1), L(() => {
577
578
  let e = K.value;
578
579
  if (t.style.removeProperty("transition"), t.style.removeProperty("transform"), t.style.removeProperty("box-shadow"), t.style.removeProperty("opacity"), t.style.removeProperty("z-index"), t.style.removeProperty("pointer-events"), t.style.cursor = "grab", e) {
579
580
  let { target: t, destinationId: r, position: i } = e;
@@ -585,7 +586,7 @@ var de = class extends B {
585
586
  },
586
587
  bubbles: !0,
587
588
  composed: !0
588
- })), w(0, h).pipe(ie(1), M(1)).subscribe(() => {
589
+ })), O(0, g).pipe(oe(1), P(1)).subscribe(() => {
589
590
  if (!a.value && J.size !== 0) {
590
591
  for (let [e, t] of J) {
591
592
  let r = q.get(e);
@@ -601,36 +602,36 @@ var de = class extends B {
601
602
  }
602
603
  });
603
604
  }
604
- G.next(null), K.next(null), X(`DRAGEND id=${this.id}`), Y.length !== 0 && (Y.length = 0);
605
- }))), N(this.destroy$)).subscribe();
605
+ he.next(null), K.next(null), X(`DRAGEND id=${this.id}`), Y.length !== 0 && (Y.length = 0);
606
+ }))), F(this.destroy$)).subscribe();
606
607
  }
607
- return this.registeredId && this.registeredId !== t && q.delete(this.registeredId), q.set(t, this.element), this.registeredId = t, L;
608
+ return this.registeredId && this.registeredId !== t && q.delete(this.registeredId), q.set(t, this.element), this.registeredId = t, z;
608
609
  }
609
610
  disconnected() {
610
611
  this.destroy$.next(), this.destroy$.complete(), this.registeredId && q.delete(this.registeredId), this.element = void 0;
611
612
  }
612
613
  reconnected() {
613
- this.destroy$ = new m(), this.element = void 0;
614
+ this.destroy$ = new h(), this.element = void 0;
614
615
  }
615
616
  render(e) {
616
- return L;
617
+ return z;
617
618
  }
618
- }, fe = H(de), pe = class extends B {
619
+ }, _e = W(ge), ve = class extends H {
619
620
  constructor(...e) {
620
- super(...e), this.destroy$ = new m();
621
+ super(...e), this.destroy$ = new h();
621
622
  }
622
623
  update(e, [t]) {
623
624
  if (this.destinationId = t, !this.element) {
624
625
  let t = e.element;
625
- this.element = t, b(t, "dragenter").pipe(F((e) => {
626
+ this.element = t, C(t, "dragenter").pipe(L((e) => {
626
627
  X(`NATIVE-DRAGENTER dest=${this.destinationId}`), e.preventDefault();
627
- }), N(this.destroy$)).subscribe(), b(t, "dragover").pipe(F((e) => {
628
+ }), F(this.destroy$)).subscribe(), C(t, "dragover").pipe(L((e) => {
628
629
  X(`NATIVE-DRAGOVER dest=${this.destinationId}`), e.preventDefault(), e.dataTransfer && (e.dataTransfer.dropEffect = "move");
629
- }), N(this.destroy$)).subscribe(), b(t, "drop").pipe(F((e) => {
630
+ }), F(this.destroy$)).subscribe(), C(t, "drop").pipe(L((e) => {
630
631
  e.preventDefault(), X(`NATIVE-DROP dest=${this.destinationId}`);
631
- }), N(this.destroy$)).subscribe(), G.pipe(j((e) => e && e !== this.destinationId ? (X(`DROP-ACTIVE dest=${this.destinationId} src=${e}`), b(t, "dragover").pipe(F((e) => {
632
+ }), F(this.destroy$)).subscribe(), he.pipe(N((e) => e && e !== this.destinationId ? (X(`DROP-ACTIVE dest=${this.destinationId} src=${e}`), C(t, "dragover").pipe(L((e) => {
632
633
  e.preventDefault(), e.dataTransfer && (e.dataTransfer.dropEffect = "move");
633
- }), F((n) => {
634
+ }), L((n) => {
634
635
  let r = function(e, t, n) {
635
636
  let r = t.getBoundingClientRect(), i = n ? q.get(n) : null;
636
637
  if (!i) return e.clientY < r.top + r.height / 2 ? "before" : "after";
@@ -647,26 +648,62 @@ var de = class extends B {
647
648
  destinationId: this.destinationId,
648
649
  position: r
649
650
  } : null);
650
- }))) : (K.next(null), f)), N(this.destroy$)).subscribe();
651
+ }))) : (K.next(null), p)), F(this.destroy$)).subscribe();
651
652
  }
652
- return L;
653
+ return z;
653
654
  }
654
655
  disconnected() {
655
656
  this.destroy$.next(), this.destroy$.complete(), this.element = void 0;
656
657
  }
657
658
  reconnected() {
658
- this.destroy$ = new m(), this.element = void 0;
659
+ this.destroy$ = new h(), this.element = void 0;
659
660
  }
660
661
  render(e) {
661
- return L;
662
+ return z;
662
663
  }
663
- }, me = H(pe), he = H(class extends R {
664
+ }, ye = W(ve), be = V(class extends B {
665
+ constructor(...e) {
666
+ super(...e), this.element = null, this.disconnecting$ = new h();
667
+ }
668
+ apply(e, t) {
669
+ if (!this.element) return;
670
+ let n = window.visualViewport, r = n?.height ?? window.innerHeight, i = n?.width ?? window.innerWidth, a = this.element.getBoundingClientRect(), o = Math.max(0, r - a.top), s = Math.max(0, i - a.left), c = t ? 0 : e, l = this.element.style;
671
+ l.boxSizing = "border-box", l.height = `${o}px`, l.width = `${s}px`, l.paddingBottom = `${c}px`, l.minHeight = "0", l.minWidth = "0", l.overflow = "hidden";
672
+ }
673
+ subscribe() {
674
+ if (!this.element) return;
675
+ let e = C(window, "resize", { passive: !0 });
676
+ _([
677
+ T(e, window.visualViewport ? T(C(window.visualViewport, "resize", { passive: !0 }), C(window.visualViewport, "scroll", { passive: !0 })) : e, C(window, "orientationchange"), C(document, "focusout", { passive: !0 }).pipe(N(() => O(100))), u(this.element), this.element.parentElement ? u(this.element.parentElement) : p).pipe(ee(16), se(null)),
678
+ s.bottomOffset$,
679
+ s.fullscreen$
680
+ ]).pipe(j(() => {
681
+ let e = window.visualViewport;
682
+ return !e || Math.abs(e.scale - 1) <= .01;
683
+ }), M(([, e, t]) => ({
684
+ bottomOffset: e,
685
+ isFullscreen: t
686
+ })), A((e, t) => e.bottomOffset === t.bottomOffset && e.isFullscreen === t.isFullscreen), L(({ bottomOffset: e, isFullscreen: t }) => this.apply(e, t)), F(this.disconnecting$)).subscribe();
687
+ }
688
+ render() {}
689
+ update(e) {
690
+ if (e.type !== U.ELEMENT) throw Error("fill directive can only be used on elements");
691
+ let t = e.element;
692
+ this.element !== t && (this.element = t, this.subscribe());
693
+ }
694
+ disconnected() {
695
+ this.disconnecting$.next(), this.element = null;
696
+ }
697
+ reconnected() {
698
+ this.element && (this.disconnecting$ = new h(), this.subscribe());
699
+ }
700
+ }), xe = W(class extends B {
664
701
  constructor(...e) {
665
702
  super(...e), this.hasAnimated = !1;
666
703
  }
667
704
  render(e) {}
668
705
  update(e, [t]) {
669
- if (e.type !== V.ELEMENT) throw Error("gravity directive must be used on an element");
706
+ if (e.type !== U.ELEMENT) throw Error("gravity directive must be used on an element");
670
707
  if (this.element = e.element, this.options = t, this.hasAnimated) return;
671
708
  if (a.value) return void (this.hasAnimated = !0);
672
709
  let n = Math.max(.3, Math.min(3, t?.mass ?? 1)), r = t?.distance ?? 30, i = (t?.delay ?? 0) + (t?.stagger ?? 0);
@@ -691,30 +728,30 @@ var de = class extends B {
691
728
  delay: i,
692
729
  easing: a.easingFallback,
693
730
  fill: "backwards"
694
- }), y(this.animation.finished).pipe(M(1), F(() => {
731
+ }), S(this.animation.finished).pipe(P(1), L(() => {
695
732
  this.element.style.willChange = "", this.animation = void 0;
696
- }), T(() => f)).subscribe();
733
+ }), k(() => p)).subscribe();
697
734
  }
698
735
  disconnected() {
699
736
  this.animation?.cancel(), this.animation = void 0;
700
737
  }
701
- }), ge = z(class extends R {
738
+ }), Se = V(class extends B {
702
739
  constructor(...e) {
703
740
  super(...e), this.state = null;
704
741
  }
705
742
  render(e, t) {
706
- return I;
743
+ return R;
707
744
  }
708
745
  update(e, [t, n]) {
709
746
  let r = e.element, i, a, o, s = {};
710
747
  if (typeof t == "function" ? (i = t, s = n || {}) : (a = t.onEnter, o = t.onExit, s = t.options || {}, i = (e) => {
711
748
  e && a && a(), !e && o && o();
712
- }), this.state?.element === r) return I;
749
+ }), this.state?.element === r) return R;
713
750
  this.cleanup();
714
751
  let { once: c = !1, threshold: l = 0, rootMargin: u = "0px", delay: d = 0 } = s, f = new IntersectionObserver((e) => {
715
752
  if (!this.state) return;
716
753
  let t = e[0], n = t.isIntersecting;
717
- d > 0 && n ? (this.state.delayTimerSub && this.state.delayTimerSub.unsubscribe(), this.state.delayTimerSub = w(d).pipe(M(1), F(() => this.triggerCallback(n, t))).subscribe()) : (!n && this.state.delayTimerSub && (this.state.delayTimerSub.unsubscribe(), this.state.delayTimerSub = void 0), this.triggerCallback(n, t));
754
+ d > 0 && n ? (this.state.delayTimerSub && this.state.delayTimerSub.unsubscribe(), this.state.delayTimerSub = O(d).pipe(P(1), L(() => this.triggerCallback(n, t))).subscribe()) : (!n && this.state.delayTimerSub && (this.state.delayTimerSub.unsubscribe(), this.state.delayTimerSub = void 0), this.triggerCallback(n, t));
718
755
  }, {
719
756
  threshold: l,
720
757
  rootMargin: u
@@ -728,7 +765,7 @@ var de = class extends B {
728
765
  once: c,
729
766
  delay: d,
730
767
  hasFired: !1
731
- }, f.observe(r), I;
768
+ }, f.observe(r), R;
732
769
  }
733
770
  triggerCallback(e, t) {
734
771
  this.state && (this.state.once ? e && !this.state.hasFired && (this.state.hasFired = !0, this.state.callback(e, t), this.cleanup()) : this.state.callback(e, t));
@@ -745,10 +782,10 @@ var de = class extends B {
745
782
  reconnected() {
746
783
  this.state && this.state.observer.observe(this.state.element);
747
784
  }
748
- }), _e = {
785
+ }), Ce = {
749
786
  active: !0,
750
787
  intensity: "medium"
751
- }, ve = {
788
+ }, we = {
752
789
  light: {
753
790
  blur: 12,
754
791
  sat: 1.3,
@@ -773,32 +810,32 @@ var de = class extends B {
773
810
  border: .35,
774
811
  shadow: .1
775
812
  }
776
- }, ye = [
813
+ }, Te = [
777
814
  "backdropFilter",
778
815
  "background",
779
816
  "boxShadow",
780
817
  "borderTop",
781
818
  "borderBottom"
782
- ], be = z(class extends R {
819
+ ], Ee = V(class extends B {
783
820
  constructor(...e) {
784
821
  super(...e), this.state = null;
785
822
  }
786
823
  render(e) {
787
- return I;
824
+ return R;
788
825
  }
789
826
  update(e, [t = {}]) {
790
827
  let n = e.element, r = {
791
- ..._e,
828
+ ...Ce,
792
829
  ...t
793
830
  };
794
- return r.active ? this.activate(n, r) : this.cleanup(), I;
831
+ return r.active ? this.activate(n, r) : this.cleanup(), R;
795
832
  }
796
833
  activate(e, t) {
797
834
  if (!this.isConnected) return;
798
- let n = ve[t.intensity];
835
+ let n = we[t.intensity];
799
836
  if (!this.state) {
800
837
  let t = {};
801
- for (let n of ye) t[n] = e.style[n];
838
+ for (let n of Te) t[n] = e.style[n];
802
839
  this.state = {
803
840
  element: e,
804
841
  origStyles: t
@@ -821,31 +858,31 @@ var de = class extends B {
821
858
  cleanup() {
822
859
  if (!this.state) return;
823
860
  let { element: e, origStyles: t } = this.state;
824
- for (let n of ye) e.style[n] = t[n];
861
+ for (let n of Te) e.style[n] = t[n];
825
862
  e.style.removeProperty("-webkit-backdrop-filter"), this.state = null;
826
863
  }
827
864
  disconnected() {
828
865
  this.cleanup();
829
866
  }
830
867
  reconnected() {}
831
- }), Q = "schmancy-lb-rotate", xe = !1;
832
- function Se() {
833
- if (xe) return;
868
+ }), Q = "schmancy-lb-rotate", De = !1;
869
+ function Oe() {
870
+ if (De) return;
834
871
  let e = document.createElement("style");
835
- e.id = "schmancy-living-border-shared", e.textContent = `\n\t\t@property --${Q}-angle {\n\t\t\tsyntax: '<angle>';\n\t\t\tinitial-value: 0deg;\n\t\t\tinherits: false;\n\t\t}\n\t\t@keyframes ${Q} {\n\t\t\tto { --${Q}-angle: 360deg; }\n\t\t}\n\t`, document.head.appendChild(e), xe = !0;
872
+ e.id = "schmancy-living-border-shared", e.textContent = `\n\t\t@property --${Q}-angle {\n\t\t\tsyntax: '<angle>';\n\t\t\tinitial-value: 0deg;\n\t\t\tinherits: false;\n\t\t}\n\t\t@keyframes ${Q} {\n\t\t\tto { --${Q}-angle: 360deg; }\n\t\t}\n\t`, document.head.appendChild(e), De = !0;
836
873
  }
837
- var Ce = H(class extends R {
874
+ var ke = W(class extends B {
838
875
  constructor(...e) {
839
- super(...e), this.teardown$ = new m(), this.didSetPosition = !1;
876
+ super(...e), this.teardown$ = new h(), this.didSetPosition = !1;
840
877
  }
841
878
  render(e) {}
842
879
  update(e, [t]) {
843
- if (e.type !== V.ELEMENT) throw Error("livingBorder directive must be used on an element");
880
+ if (e.type !== U.ELEMENT) throw Error("livingBorder directive must be used on an element");
844
881
  let n = JSON.stringify(t ?? {});
845
- this.element && n === this.prevKey || (this.prevKey = n, this.element = e.element, this.lastOptions = t, a.value || (this.teardown$.next(), this.cleanup(), Se(), this.createBorderOverlay(t)));
882
+ this.element && n === this.prevKey || (this.prevKey = n, this.element = e.element, this.lastOptions = t, a.value || (this.teardown$.next(), this.cleanup(), Oe(), this.createBorderOverlay(t)));
846
883
  }
847
884
  reconnected() {
848
- this.lastOptions && !a.value && (Se(), this.createBorderOverlay(this.lastOptions));
885
+ this.lastOptions && !a.value && (Oe(), this.createBorderOverlay(this.lastOptions));
849
886
  }
850
887
  createBorderOverlay(e) {
851
888
  let t = e?.width ?? 1, n = e?.color ?? "var(--schmancy-sys-color-primary-default)", r = e?.spread ?? 6, i = e?.duration ?? 3e3, a = e?.onHover ?? !1;
@@ -869,11 +906,11 @@ var Ce = H(class extends R {
869
906
  filter: `blur(${.3 * r}px) drop-shadow(0 0 ${r}px color-mix(in srgb, ${n} 40%, transparent))`,
870
907
  opacity: a ? "0" : "0.5",
871
908
  transition: "opacity 300ms ease"
872
- }), this.element.prepend(this.borderEl), S(b(this.element, "mouseenter").pipe(k(() => {
909
+ }), this.element.prepend(this.borderEl), T(C(this.element, "mouseenter").pipe(M(() => {
873
910
  this.borderEl && (this.borderEl.style.opacity = a ? "0.7" : "0.8");
874
- })), b(this.element, "mouseleave").pipe(k(() => {
911
+ })), C(this.element, "mouseleave").pipe(M(() => {
875
912
  this.borderEl && (this.borderEl.style.opacity = a ? "0" : "0.5");
876
- }))).pipe(N(this.teardown$)).subscribe();
913
+ }))).pipe(F(this.teardown$)).subscribe();
877
914
  }
878
915
  cleanup() {
879
916
  this.borderEl?.remove(), this.borderEl = void 0;
@@ -881,9 +918,9 @@ var Ce = H(class extends R {
881
918
  disconnected() {
882
919
  this.teardown$.next(), this.cleanup(), this.didSetPosition && this.element && (this.element.style.position = "", this.didSetPosition = !1);
883
920
  }
884
- }), $ = /* @__PURE__ */ new WeakMap(), we = H(class extends B {
921
+ }), $ = /* @__PURE__ */ new WeakMap(), Ae = W(class extends H {
885
922
  constructor(e) {
886
- if (super(e), e.type !== V.ELEMENT) throw Error("longPress directive can only be used on elements");
923
+ if (super(e), e.type !== U.ELEMENT) throw Error("longPress directive can only be used on elements");
887
924
  }
888
925
  render(e, t) {}
889
926
  update(e, [t, n = {}]) {
@@ -903,13 +940,13 @@ var Ce = H(class extends R {
903
940
  return t ? e.duration === t.duration && e.movementThreshold === t.movementThreshold : Object.keys(e).length === 0;
904
941
  }
905
942
  setupLongPress(e, t, n = {}) {
906
- let r = n.duration ?? 500, i = n.movementThreshold ?? 10, a = b(e, "pointerdown"), o = b(window, "pointerup"), s = b(window, "pointermove"), c = b(window, "pointercancel");
907
- return a.pipe(j((e) => {
908
- let n = e.clientX, a = e.clientY, l = S(o, c, s.pipe(O((e) => {
943
+ let r = n.duration ?? 500, i = n.movementThreshold ?? 10, a = C(e, "pointerdown"), o = C(window, "pointerup"), s = C(window, "pointermove"), c = C(window, "pointercancel");
944
+ return a.pipe(N((e) => {
945
+ let n = e.clientX, a = e.clientY, l = T(o, c, s.pipe(j((e) => {
909
946
  let t = e.clientX - n, r = e.clientY - a;
910
947
  return Math.sqrt(t * t + r * r) > i;
911
- }))).pipe(te());
912
- return w(r).pipe(N(l), F(() => t()));
948
+ }))).pipe(re());
949
+ return O(r).pipe(F(l), L(() => t()));
913
950
  })).subscribe();
914
951
  }
915
952
  disconnected(e) {
@@ -920,7 +957,7 @@ var Ce = H(class extends R {
920
957
  let t = e.element, n = $.get(t);
921
958
  n && (n.subscription = this.setupLongPress(t, n.callback, n.options));
922
959
  }
923
- }), Te = {
960
+ }), je = {
924
961
  active: !0,
925
962
  autoHideDuration: 3e3,
926
963
  background: !0,
@@ -934,7 +971,7 @@ var Ce = H(class extends R {
934
971
  temperature: 0,
935
972
  chromaticAberration: 1,
936
973
  particleCount: 30
937
- }, Ee = "cubic-bezier(0.37, 0, 0.63, 1)", De = "cubic-bezier(0.25, 0.1, 0.25, 1)", Oe = !1, ke = class e {
974
+ }, Me = "cubic-bezier(0.37, 0, 0.63, 1)", Ne = "cubic-bezier(0.25, 0.1, 0.25, 1)", Pe = !1, Fe = class e {
938
975
  constructor() {
939
976
  this.elementToDirective = /* @__PURE__ */ new WeakMap(), this.instances = /* @__PURE__ */ new Set(), this.observer = null, this.visibilitySub = null, this.tabVisible = !0;
940
977
  }
@@ -957,7 +994,7 @@ var Ce = H(class extends R {
957
994
  let e = this.elementToDirective.get(t.target);
958
995
  e && e.onVisibilityChange(t.isIntersecting && this.tabVisible);
959
996
  }
960
- }, { threshold: 0 }), this.visibilitySub = b(document, "visibilitychange").pipe(F(() => {
997
+ }, { threshold: 0 }), this.visibilitySub = C(document, "visibilitychange").pipe(L(() => {
961
998
  this.tabVisible = document.visibilityState === "visible";
962
999
  for (let e of this.instances) e.onVisibilityChange(this.tabVisible);
963
1000
  })).subscribe();
@@ -965,19 +1002,19 @@ var Ce = H(class extends R {
965
1002
  teardown() {
966
1003
  this.observer &&= (this.observer.disconnect(), null), this.visibilitySub &&= (this.visibilitySub.unsubscribe(), null);
967
1004
  }
968
- }, Ae = z(class extends R {
1005
+ }, Ie = V(class extends B {
969
1006
  constructor(...e) {
970
- super(...e), this.state = null, this.coordinator = ke.instance;
1007
+ super(...e), this.state = null, this.coordinator = Fe.instance;
971
1008
  }
972
1009
  render(e) {
973
- return I;
1010
+ return R;
974
1011
  }
975
1012
  update(e, [t = {}]) {
976
1013
  let n = e.element, r = {
977
- ...Te,
1014
+ ...je,
978
1015
  ...t
979
1016
  };
980
- return r.active ? this.show(n, r) : this.hide(r), I;
1017
+ return r.active ? this.show(n, r) : this.hide(r), R;
981
1018
  }
982
1019
  onVisibilityChange(e) {
983
1020
  if (!this.state?.overlay) return;
@@ -986,8 +1023,8 @@ var Ce = H(class extends R {
986
1023
  }
987
1024
  show(e, t) {
988
1025
  (function() {
989
- if (Oe || typeof document > "u") return;
990
- Oe = !0;
1026
+ if (Pe || typeof document > "u") return;
1027
+ Pe = !0;
991
1028
  let e = document.createElement("style");
992
1029
  e.id = "nebula-directive-styles", e.textContent = "\n/* =============================================================================\n NEBULA v3 - SURREAL DIMENSIONAL RIFT - GPU-COMPOSITED CSS ANIMATIONS\n Chromatic aberration, iridescent hue-cycling, event horizon, tendrils.\n Performance: translate3d + opacity for most layers, hue-rotate for core only.\n ============================================================================= */\n\n/* Chromatic red channel - rightward aberration drift */\n@keyframes nebula-chromatic-red {\n 0%, 100% { transform: translate3d(var(--nebula-aberration, 3px), 0, 0); }\n 25% { transform: translate3d(calc(var(--nebula-aberration, 3px) * 1.8), -1%, 0); }\n 50% { transform: translate3d(var(--nebula-aberration, 3px), 1%, 0); }\n 75% { transform: translate3d(calc(var(--nebula-aberration, 3px) * 0.5), 0, 0); }\n}\n\n/* Chromatic blue channel - leftward counter-drift */\n@keyframes nebula-chromatic-blue {\n 0%, 100% { transform: translate3d(calc(var(--nebula-aberration, 3px) * -1), 0, 0); }\n 25% { transform: translate3d(calc(var(--nebula-aberration, 3px) * -0.5), 1%, 0); }\n 50% { transform: translate3d(calc(var(--nebula-aberration, 3px) * -1), -1%, 0); }\n 75% { transform: translate3d(calc(var(--nebula-aberration, 3px) * -1.8), 0, 0); }\n}\n\n/* Iridescent core - continuous 360-degree hue rotation (the ONE filter animation) */\n@keyframes nebula-iridescent {\n 0% { filter: hue-rotate(0deg) blur(var(--nebula-blur-core, 12px)) saturate(1.6); }\n 100% { filter: hue-rotate(360deg) blur(var(--nebula-blur-core, 12px)) saturate(1.6); }\n}\n\n/* Bioluminescent tendrils - organic breathing */\n@keyframes nebula-tendrils-breathe {\n 0%, 100% { opacity: 0.6; transform: translate3d(0, 0, 0); }\n 30% { opacity: 0.9; transform: translate3d(1%, -1.5%, 0); }\n 60% { opacity: 0.5; transform: translate3d(-1%, 1.5%, 0); }\n}\n\n/* Quantum particle twinkle - opacity only (cheapest) */\n@keyframes nebula-particle-twinkle {\n 0%, 100% { opacity: 0.7; }\n 15% { opacity: 1; }\n 40% { opacity: 0.5; }\n 65% { opacity: 0.85; }\n 85% { opacity: 0.6; }\n}\n\n/* Idle breathing - gentle pulse when dimmed */\n@keyframes nebula-idle-breathe {\n 0%, 100% {\n opacity: var(--nebula-idle-opacity, 0.08);\n filter: blur(calc(var(--nebula-blur-base, 10px) * 8));\n transform: scale(1);\n }\n 50% {\n opacity: calc(var(--nebula-idle-opacity, 0.08) * 1.4);\n filter: blur(calc(var(--nebula-blur-base, 10px) * 10));\n transform: scale(1.005);\n }\n}\n\n/* =============================================================================\n STATE CLASSES - Control via CSS class toggle (no JS animation calls)\n ============================================================================= */\n\n.nebula-overlay {\n contain: strict;\n pointer-events: none;\n isolation: isolate;\n}\n\n.nebula-overlay.paused .nebula-layer {\n animation-play-state: paused !important;\n}\n\n.nebula-overlay.running .nebula-layer {\n animation-play-state: running !important;\n}\n\n/* Reduced motion - respect user preferences */\n@media (prefers-reduced-motion: reduce) {\n .nebula-layer {\n animation: none !important;\n transition: opacity 0s !important;\n }\n}\n", document.head.appendChild(e);
993
1030
  })(), this.state?.autoHideSub && (this.state.autoHideSub.unsubscribe(), this.state.autoHideSub = null);
@@ -1061,7 +1098,7 @@ var Ce = H(class extends R {
1061
1098
  filter: `blur(${18 * r.blur}px) saturate(1.4)`,
1062
1099
  mixBlendMode: "screen",
1063
1100
  transform: "translateZ(0)",
1064
- animation: `nebula-chromatic-red ${35e3 / r.speed}ms ${De} infinite`
1101
+ animation: `nebula-chromatic-red ${35e3 / r.speed}ms ${Ne} infinite`
1065
1102
  }), C.appendChild(t);
1066
1103
  let n = document.createElement("div");
1067
1104
  n.className = "nebula-layer", Object.assign(n.style, {
@@ -1071,7 +1108,7 @@ var Ce = H(class extends R {
1071
1108
  filter: `blur(${18 * r.blur}px) saturate(1.4)`,
1072
1109
  mixBlendMode: "screen",
1073
1110
  transform: "translateZ(0)",
1074
- animation: `nebula-chromatic-blue ${35e3 / r.speed}ms ${De} infinite`
1111
+ animation: `nebula-chromatic-blue ${35e3 / r.speed}ms ${Ne} infinite`
1075
1112
  }), C.appendChild(n);
1076
1113
  let i = document.createElement("div");
1077
1114
  i.className = "nebula-layer", Object.assign(i.style, {
@@ -1090,7 +1127,7 @@ var Ce = H(class extends R {
1090
1127
  filter: `blur(${14 * r.blur}px)`,
1091
1128
  mixBlendMode: "screen",
1092
1129
  transform: "translateZ(0)",
1093
- animation: `nebula-tendrils-breathe ${22e3 / r.speed}ms ${Ee} infinite`
1130
+ animation: `nebula-tendrils-breathe ${22e3 / r.speed}ms ${Me} infinite`
1094
1131
  }), C.appendChild(a), r.particleCount > 0) {
1095
1132
  let e = document.createElement("div");
1096
1133
  e.className = "nebula-layer";
@@ -1105,7 +1142,7 @@ var Ce = H(class extends R {
1105
1142
  background: t.join(","),
1106
1143
  mixBlendMode: "screen",
1107
1144
  transform: "translateZ(0)",
1108
- animation: `nebula-particle-twinkle ${5e3 / r.speed}ms ${Ee} infinite`
1145
+ animation: `nebula-particle-twinkle ${5e3 / r.speed}ms ${Me} infinite`
1109
1146
  }), C.appendChild(e);
1110
1147
  }
1111
1148
  }
@@ -1155,7 +1192,7 @@ var Ce = H(class extends R {
1155
1192
  }, this.coordinator.register(this, n);
1156
1193
  }
1157
1194
  scheduleAutoHide(e) {
1158
- !this.state || e.autoHideDuration <= 0 || (this.state.autoHideSub = w(e.autoHideDuration).pipe(M(1), F(() => {
1195
+ !this.state || e.autoHideDuration <= 0 || (this.state.autoHideSub = O(e.autoHideDuration).pipe(P(1), L(() => {
1159
1196
  this.state && (this.state.autoHideSub = null, this.hide(this.state.options));
1160
1197
  })).subscribe());
1161
1198
  }
@@ -1205,8 +1242,8 @@ var Ce = H(class extends R {
1205
1242
  easing: s,
1206
1243
  fill: "forwards"
1207
1244
  });
1208
- t.idleBreathe && !a && y(c.finished).pipe(M(1), T(() => f)).subscribe(() => {
1209
- this.state?.overlay && (this.state.overlay.style.animation = `nebula-idle-breathe ${12e3 / r.speed}ms ${Ee} infinite`);
1245
+ t.idleBreathe && !a && S(c.finished).pipe(P(1), k(() => p)).subscribe(() => {
1246
+ this.state?.overlay && (this.state.overlay.style.animation = `nebula-idle-breathe ${12e3 / r.speed}ms ${Me} infinite`);
1210
1247
  });
1211
1248
  }
1212
1249
  cleanup() {
@@ -1218,23 +1255,23 @@ var Ce = H(class extends R {
1218
1255
  reconnected() {
1219
1256
  this.state && this.coordinator.register(this, this.state.element);
1220
1257
  }
1221
- }), je = {
1258
+ }), Le = {
1222
1259
  smooth: t,
1223
1260
  snappy: n,
1224
1261
  bouncy: r,
1225
1262
  gentle: i
1226
- }, Me = z(class extends R {
1263
+ }, Re = V(class extends B {
1227
1264
  constructor(e) {
1228
- if (super(e), this.initialized = !1, this.element = null, e.type !== V.ELEMENT) throw Error("reveal() can only be used on elements");
1265
+ if (super(e), this.initialized = !1, this.element = null, e.type !== U.ELEMENT) throw Error("reveal() can only be used on elements");
1229
1266
  }
1230
1267
  render(e, t) {
1231
- return I;
1268
+ return R;
1232
1269
  }
1233
1270
  update(t, [n = !1, r = {}]) {
1234
1271
  let i = t.element;
1235
1272
  this.element = i;
1236
- let { preset: o = "smooth", maxHeight: s = "10rem", duration: c, easing: l } = r, u = je[o], d = c ?? u.duration, f = l ?? e(u), p = a.value;
1237
- return this.initialized ||= (this.setupElement(i, d, f, p), !0), n ? (i.style.maxHeight = s, i.style.opacity = "1", i.style.transform = "translateY(0) scale(1)", i.style.pointerEvents = "", i.style.paddingTop = "", i.style.paddingBottom = "", i.style.marginTop = "", i.style.marginBottom = "", i.removeAttribute("aria-hidden"), i.removeAttribute("inert")) : (i.style.maxHeight = "0", i.style.opacity = "0", i.style.transform = "translateY(-8px) scale(0.98)", i.style.pointerEvents = "none", i.style.paddingTop = "0", i.style.paddingBottom = "0", i.style.marginTop = "0", i.style.marginBottom = "0", i.setAttribute("aria-hidden", "true"), i.setAttribute("inert", "")), I;
1273
+ let { preset: o = "smooth", maxHeight: s = "10rem", duration: c, easing: l } = r, u = Le[o], d = c ?? u.duration, f = l ?? e(u), p = a.value;
1274
+ return this.initialized ||= (this.setupElement(i, d, f, p), !0), n ? (i.style.maxHeight = s, i.style.opacity = "1", i.style.transform = "translateY(0) scale(1)", i.style.pointerEvents = "", i.style.paddingTop = "", i.style.paddingBottom = "", i.style.marginTop = "", i.style.marginBottom = "", i.removeAttribute("aria-hidden"), i.removeAttribute("inert")) : (i.style.maxHeight = "0", i.style.opacity = "0", i.style.transform = "translateY(-8px) scale(0.98)", i.style.pointerEvents = "none", i.style.paddingTop = "0", i.style.paddingBottom = "0", i.style.marginTop = "0", i.style.marginBottom = "0", i.setAttribute("aria-hidden", "true"), i.setAttribute("inert", "")), R;
1238
1275
  }
1239
1276
  setupElement(e, t, n, r) {
1240
1277
  e.style.overflow = "hidden", e.style.transition = r ? "none" : [
@@ -1249,28 +1286,78 @@ var Ce = H(class extends R {
1249
1286
  this.element && (this.element.style.willChange = "");
1250
1287
  }
1251
1288
  reconnected() {}
1252
- }), Ne = !1, Pe = H(class extends R {
1289
+ }), ze = !1, Be = W(class extends B {
1253
1290
  constructor(...e) {
1254
- super(...e), this.teardown$ = new m();
1291
+ super(...e), this.teardown$ = new h();
1255
1292
  }
1256
1293
  render() {}
1257
1294
  update(e) {
1258
- if (e.type !== V.ELEMENT) throw Error("ripple directive must be used on an element");
1295
+ if (e.type !== U.ELEMENT) throw Error("ripple directive must be used on an element");
1259
1296
  this.element = e.element, function() {
1260
- if (Ne) return;
1297
+ if (ze) return;
1261
1298
  let e = document.createElement("style");
1262
- e.id = "schmancy-ripple-shared", e.textContent = "\n .schmancy-ripple-effect {\n position: absolute;\n border-radius: 50%;\n background: var(--schmancy-sys-color-surface-on);\n opacity: 0.12;\n transform: scale(0);\n animation: schmancy-ripple-expand 600ms linear forwards;\n pointer-events: none;\n aria-hidden: true;\n }\n @keyframes schmancy-ripple-expand {\n to { transform: scale(4); opacity: 0; }\n }\n ", document.head.appendChild(e), Ne = !0;
1263
- }(), getComputedStyle(this.element).position === "static" && (this.element.style.position = "relative"), this.element.style.overflow = "hidden", this.teardown$.next(), b(this.element, "click").pipe(N(this.teardown$)).subscribe((e) => this.addRipple(e));
1299
+ e.id = "schmancy-ripple-shared", e.textContent = "\n .schmancy-ripple-effect {\n position: absolute;\n border-radius: 50%;\n background: var(--schmancy-sys-color-surface-on);\n opacity: 0.12;\n transform: scale(0);\n animation: schmancy-ripple-expand 600ms linear forwards;\n pointer-events: none;\n aria-hidden: true;\n }\n @keyframes schmancy-ripple-expand {\n to { transform: scale(4); opacity: 0; }\n }\n ", document.head.appendChild(e), ze = !0;
1300
+ }(), getComputedStyle(this.element).position === "static" && (this.element.style.position = "relative"), this.element.style.overflow = "hidden", this.teardown$.next(), C(this.element, "click").pipe(F(this.teardown$)).subscribe((e) => this.addRipple(e));
1264
1301
  }
1265
1302
  reconnected() {
1266
- this.teardown$.next(), b(this.element, "click").pipe(N(this.teardown$)).subscribe((e) => this.addRipple(e));
1303
+ this.teardown$.next(), C(this.element, "click").pipe(F(this.teardown$)).subscribe((e) => this.addRipple(e));
1267
1304
  }
1268
1305
  addRipple(e) {
1269
1306
  let t = this.element.getBoundingClientRect(), n = Math.max(t.width, t.height), r = n / 2, i = document.createElement("span");
1270
- i.className = "schmancy-ripple-effect", i.setAttribute("aria-hidden", "true"), i.style.width = `${n}px`, i.style.height = `${n}px`, i.style.left = e.clientX - t.left - r + "px", i.style.top = e.clientY - t.top - r + "px", this.element.appendChild(i), b(i, "animationend").pipe(M(1)).subscribe(() => i.remove());
1307
+ i.className = "schmancy-ripple-effect", i.setAttribute("aria-hidden", "true"), i.style.width = `${n}px`, i.style.height = `${n}px`, i.style.left = e.clientX - t.left - r + "px", i.style.top = e.clientY - t.top - r + "px", this.element.appendChild(i), C(i, "animationend").pipe(P(1)).subscribe(() => i.remove());
1271
1308
  }
1272
1309
  disconnected() {
1273
1310
  this.teardown$.next();
1274
1311
  }
1312
+ }), Ve = "schmancy-overflow-within-hidden", He = !1, Ue = V(class extends B {
1313
+ constructor(...e) {
1314
+ super(...e), this.element = null, this.disconnecting$ = new h();
1315
+ }
1316
+ render(e) {
1317
+ return R;
1318
+ }
1319
+ update(e, [t = {}]) {
1320
+ if (e.type !== U.ELEMENT) throw Error("overflowWithin directive can only be used on elements");
1321
+ let n = e.element, { hide: r = !1, direction: i = "both", name: a, debounce: o = 10 } = t, s = n.style;
1322
+ s.minHeight = "0", s.minWidth = "0", s.boxSizing = "border-box", s.overflowY = i === "horizontal" ? "hidden" : "auto", s.overflowX = i === "vertical" ? "hidden" : "auto", s.scrollBehavior = "smooth", s.overscrollBehavior = "contain", r ? (function() {
1323
+ if (He) return;
1324
+ He = !0;
1325
+ let e = new CSSStyleSheet();
1326
+ e.replaceSync(`.${Ve} { scrollbar-width: none; -ms-overflow-style: none; }\n\t\t .${Ve}::-webkit-scrollbar { display: none; }`), document.adoptedStyleSheets = [...document.adoptedStyleSheets, e];
1327
+ }(), n.classList.add(Ve)) : n.classList.remove(Ve);
1328
+ let c = this.element !== n, l = this.currentName !== a;
1329
+ return c ? (this.element = n, this.subscribe(o, a)) : l && (this.disconnecting$.next(), this.disconnecting$ = new h(), this.subscribe(o, a)), this.currentName = a, R;
1330
+ }
1331
+ subscribe(e, t) {
1332
+ if (!this.element) return;
1333
+ let n = this.element;
1334
+ C(n, "scroll", { passive: !0 }).pipe(y(e), D(this.disconnecting$)).subscribe((e) => {
1335
+ n.dispatchEvent(new CustomEvent("scroll", {
1336
+ detail: {
1337
+ scrollTop: n.scrollTop,
1338
+ scrollHeight: n.scrollHeight,
1339
+ clientHeight: n.clientHeight,
1340
+ scrollLeft: n.scrollLeft,
1341
+ scrollWidth: n.scrollWidth,
1342
+ clientWidth: n.clientWidth,
1343
+ e
1344
+ },
1345
+ bubbles: !0,
1346
+ composed: !0
1347
+ }));
1348
+ }), t !== void 0 && C(window, "@schmancy:scrollTo").pipe(x((e) => e.detail.name === t && e.detail.action === "scrollTo"), D(this.disconnecting$)).subscribe((e) => {
1349
+ let t = {
1350
+ behavior: "smooth",
1351
+ top: e.detail.top
1352
+ };
1353
+ typeof e.detail.left == "number" && (t.left = e.detail.left), n.scrollTo(t);
1354
+ });
1355
+ }
1356
+ disconnected() {
1357
+ this.disconnecting$.next(), this.element = null;
1358
+ }
1359
+ reconnected() {
1360
+ this.element && (this.disconnecting$ = new h(), this.subscribe(10, this.currentName));
1361
+ }
1275
1362
  });
1276
- export { de as DragDirective, pe as DropDirective, oe as animateText, se as color, ce as confirmClick, o as cursorGlow, le as cycleText, ue as depthOfField, fe as drag, me as drop, l as fromResizeObserver, s as fullHeight, c as fullWidth, he as gravity, ge as intersect, be as liquid, Ce as livingBorder, we as longPress, u as magnetic, Ae as nebula, a as reducedMotion$, Me as reveal, Pe as ripple };
1363
+ export { ge as DragDirective, ve as DropDirective, le as animateText, ue as color, fe as confirmClick, o as cursorGlow, pe as cycleText, me as depthOfField, _e as drag, ye as drop, be as fill, u as fromResizeObserver, c as fullHeight, l as fullWidth, xe as gravity, Se as intersect, Ee as liquid, ke as livingBorder, Ae as longPress, d as magnetic, Ie as nebula, Ue as overflowWithin, a as reducedMotion$, Re as reveal, Be as ripple };