aptechka 0.3.0 → 0.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (335) hide show
  1. package/{build-browser-lib/Damped-BvkThM-2.cjs → lib/Damped-B0eRyTcV.cjs} +1 -1
  2. package/{build-browser-lib/Damped-DEHDBwBz.js → lib/Damped-Do9H-LKf.js} +1 -1
  3. package/{build-browser-lib/Derived-Bc88XJ8J.js → lib/Derived-Dbjm-dob.js} +1 -1
  4. package/{build-browser-lib/Derived-SjPdLJiZ.cjs → lib/Derived-vGokdC4b.cjs} +1 -1
  5. package/{build-browser-lib/SourceManager-CI6NfLzW.cjs → lib/SourceManager-CzcqsC3z.cjs} +1 -1
  6. package/{build-browser-lib/SourceManager-BoP9RAJr.js → lib/SourceManager-noBYGNeX.js} +1 -1
  7. package/{build-browser-lib/Store-JOKrNVEr.js → lib/Store-DdDuj5hz.js} +42 -41
  8. package/lib/Store-Dis8QUAR.cjs +1 -0
  9. package/{build-browser-lib/Viewport-COsaberc.cjs → lib/Viewport-CRLSlcoi.cjs} +1 -1
  10. package/{build-browser-lib/Viewport-CXY5xcGJ.js → lib/Viewport-VSV_isot.js} +1 -1
  11. package/{build-browser-lib/WheelControls-BJdZsEkS.js → lib/WheelControls-BqO_fTyY.js} +1 -1
  12. package/{build-browser-lib/WheelControls-CctFwJwY.cjs → lib/WheelControls-fiz52vcl.cjs} +1 -1
  13. package/{build-browser-lib → lib}/abstract-elements/AbstractButtonElement.d.ts +1 -0
  14. package/{build-browser-lib → lib}/abstract-elements/index.cjs +1 -1
  15. package/{build-browser-lib → lib}/abstract-elements/index.js +2 -2
  16. package/{build-browser-lib → lib}/accordion/AccordionElement.d.ts +3 -2
  17. package/{build-browser-lib → lib}/animation/Damped.d.ts +2 -1
  18. package/{build-browser-lib → lib}/animation/Tweened.d.ts +3 -2
  19. package/{build-browser-lib → lib}/animation/index.cjs +1 -1
  20. package/{build-browser-lib → lib}/animation/index.js +2 -2
  21. package/{build-browser-lib → lib}/attribute/index.cjs +1 -1
  22. package/{build-browser-lib → lib}/attribute/index.d.ts +2 -1
  23. package/{build-browser-lib → lib}/attribute/index.js +2 -2
  24. package/{build-browser-lib → lib}/canvas/index.cjs +1 -1
  25. package/{build-browser-lib → lib}/canvas/index.d.ts +1 -0
  26. package/{build-browser-lib → lib}/canvas/index.js +3 -3
  27. package/{build-browser-lib → lib}/controls/Controls.d.ts +1 -0
  28. package/{build-browser-lib → lib}/controls/KeyboardControls.d.ts +1 -0
  29. package/{build-browser-lib → lib}/controls/LinearControls.d.ts +1 -0
  30. package/{build-browser-lib → lib}/controls/WheelControls.d.ts +2 -1
  31. package/{build-browser-lib → lib}/controls/index.cjs +1 -1
  32. package/{build-browser-lib → lib}/controls/index.js +2 -2
  33. package/{build-browser-lib/createStylesheet-C0OnN0Br.cjs → lib/createStylesheet-B4vLzvah.cjs} +1 -1
  34. package/{build-browser-lib/createStylesheet-CD11E4C8.js → lib/createStylesheet-CR-XQRVT.js} +1 -1
  35. package/{build-browser-lib → lib}/device/Device.d.ts +1 -0
  36. package/{build-browser-lib → lib}/device/Viewport.d.ts +1 -0
  37. package/{build-browser-lib → lib}/device/index.cjs +1 -1
  38. package/{build-browser-lib → lib}/device/index.js +1 -1
  39. package/lib/dom-0S_WDL4g.js +42 -0
  40. package/lib/dom-JBOkFLTh.cjs +1 -0
  41. package/{build-browser-lib → lib}/element-constructor/ElementConstructor.d.ts +14 -2
  42. package/{build-browser-lib → lib}/element-constructor/createStylesheet.d.ts +1 -0
  43. package/{build-browser-lib → lib}/element-constructor/createTheme.d.ts +1 -0
  44. package/lib/element-constructor/index.cjs +1 -0
  45. package/lib/element-constructor/index.js +124 -0
  46. package/{build-browser-lib → lib}/element-constructor/tags.d.ts +1 -0
  47. package/{build-browser-lib → lib}/element-resizer/index.cjs +1 -1
  48. package/{build-browser-lib → lib}/element-resizer/index.d.ts +1 -0
  49. package/{build-browser-lib → lib}/element-resizer/index.js +1 -1
  50. package/{build-browser-lib → lib}/en3/attachments/En3SourceManager.d.ts +3 -2
  51. package/{build-browser-lib → lib}/en3/core/En3Raycaster.d.ts +1 -0
  52. package/{build-browser-lib → lib}/en3/core/en3.d.ts +8 -6
  53. package/{build-browser-lib → lib}/en3/index.cjs +1 -1
  54. package/{build-browser-lib → lib}/en3/index.js +6 -6
  55. package/{build-browser-lib → lib}/en3/instances/en3LazyLoader.d.ts +2 -1
  56. package/{build-browser-lib → lib}/en3/loaders/en3GLTFLoader.d.ts +3 -5
  57. package/{build-browser-lib → lib}/en3/loaders/en3TextureLoader.d.ts +1 -0
  58. package/{build-browser-lib → lib}/en3/objects/En3Clip.d.ts +3 -2
  59. package/{build-browser-lib → lib}/en3/objects/En3ClipHelpers.d.ts +2 -1
  60. package/{build-browser-lib → lib}/en3/objects/En3GLTF.d.ts +4 -3
  61. package/{build-browser-lib → lib}/en3/objects/En3Image.d.ts +2 -1
  62. package/{build-browser-lib → lib}/en3/objects/En3ImageLike.d.ts +3 -2
  63. package/{build-browser-lib → lib}/en3/objects/En3SourceConsumer.d.ts +1 -0
  64. package/{build-browser-lib → lib}/en3/objects/En3Video.d.ts +2 -1
  65. package/{build-browser-lib → lib}/en3/test/En3HTML.d.ts +1 -0
  66. package/{build-browser-lib → lib}/en3/test/En3ModifiedMaterial.d.ts +1 -0
  67. package/{build-browser-lib → lib}/en3/utils/coverTexture.d.ts +2 -1
  68. package/{build-browser-lib → lib}/en3/utils/dispose.d.ts +1 -0
  69. package/lib/en3/utils/getCurrentViewport.d.ts +9 -0
  70. package/{build-browser-lib → lib}/en3/utils/traverseMaterials.d.ts +1 -0
  71. package/{build-browser-lib → lib}/en3/utils/traverseMeshes.d.ts +1 -0
  72. package/{build-browser-lib → lib}/image/index.cjs +1 -1
  73. package/{build-browser-lib → lib}/image/index.d.ts +1 -0
  74. package/{build-browser-lib → lib}/image/index.js +1 -1
  75. package/{build-browser-lib/index-Dq6GRJ9W.js → lib/index-D-FPaxdJ.js} +3 -3
  76. package/{build-browser-lib/index--wI4MTuv.cjs → lib/index-MKoD8NCT.cjs} +1 -1
  77. package/{build-browser-lib → lib}/intersector/index.cjs +1 -1
  78. package/{build-browser-lib → lib}/intersector/index.d.ts +1 -0
  79. package/{build-browser-lib → lib}/intersector/index.js +1 -1
  80. package/{build-browser-lib → lib}/ladder/index.cjs +1 -1
  81. package/{build-browser-lib → lib}/ladder/index.d.ts +1 -0
  82. package/{build-browser-lib → lib}/ladder/index.js +1 -1
  83. package/{build-browser-lib → lib}/layout-box/index.cjs +1 -1
  84. package/{build-browser-lib → lib}/layout-box/index.d.ts +3 -2
  85. package/{build-browser-lib → lib}/layout-box/index.js +1 -1
  86. package/{build-browser-lib → lib}/loading/index.d.ts +1 -0
  87. package/{build-browser-lib → lib}/media/index.cjs +1 -1
  88. package/{build-browser-lib → lib}/media/index.d.ts +1 -0
  89. package/{build-browser-lib → lib}/media/index.js +1 -1
  90. package/{build-browser-lib → lib}/modal/ModalElement.d.ts +1 -0
  91. package/{build-browser-lib → lib}/modal/index.cjs +1 -1
  92. package/{build-browser-lib → lib}/modal/index.js +3 -3
  93. package/{build-browser-lib → lib}/morph/Link.d.ts +1 -0
  94. package/{build-browser-lib → lib}/popover/PopoverButtonElement.d.ts +2 -1
  95. package/{build-browser-lib → lib}/popover/PopoverElement.d.ts +3 -2
  96. package/{build-browser-lib → lib}/popover/index.cjs +1 -1
  97. package/{build-browser-lib → lib}/popover/index.js +1 -1
  98. package/{build-browser-lib → lib}/resized/index.cjs +1 -1
  99. package/{build-browser-lib → lib}/resized/index.d.ts +2 -1
  100. package/{build-browser-lib → lib}/resized/index.js +1 -1
  101. package/{build-browser-lib → lib}/router/Link.d.ts +1 -0
  102. package/{build-browser-lib → lib}/router/Router.d.ts +1 -0
  103. package/lib/router/index.cjs +1 -0
  104. package/{build-browser-lib → lib}/router/index.js +93 -98
  105. package/{build-browser-lib → lib}/scroll/ScrollElement.d.ts +5 -26
  106. package/{build-browser-lib → lib}/scroll/ScrollUserElement.d.ts +2 -1
  107. package/{build-browser-lib → lib}/scroll/ScrollbarElement.d.ts +1 -0
  108. package/lib/scroll/index.cjs +1 -0
  109. package/{build-browser-lib → lib}/scroll/index.js +103 -127
  110. package/lib/scroll-entries/index.cjs +1 -0
  111. package/{build-browser-lib → lib}/scroll-entries/index.d.ts +1 -0
  112. package/{build-browser-lib → lib}/scroll-entries/index.js +16 -17
  113. package/{build-browser-lib → lib}/select/SelectElement.d.ts +1 -0
  114. package/{build-browser-lib → lib}/select/SelectHeadElement.d.ts +1 -0
  115. package/{build-browser-lib → lib}/select/SelectOptionElement.d.ts +1 -0
  116. package/{build-browser-lib → lib}/select/SelectUserElement.d.ts +2 -1
  117. package/{build-browser-lib → lib}/select/index.cjs +1 -1
  118. package/{build-browser-lib → lib}/select/index.js +1 -1
  119. package/{build-browser-lib → lib}/slicer/DecoderElement.d.ts +1 -0
  120. package/{build-browser-lib → lib}/slicer/SlicerElement.d.ts +3 -2
  121. package/{build-browser-lib → lib}/slicer/Word.d.ts +1 -0
  122. package/{build-browser-lib → lib}/source/SourceElement.d.ts +2 -1
  123. package/{build-browser-lib → lib}/source/SourceManager.d.ts +2 -1
  124. package/{build-browser-lib → lib}/source/SourceSet.d.ts +1 -0
  125. package/{build-browser-lib → lib}/source/index.cjs +1 -1
  126. package/{build-browser-lib → lib}/source/index.js +2 -2
  127. package/{build-browser-lib → lib}/store/Composed.d.ts +1 -0
  128. package/{build-browser-lib → lib}/store/CumulativeResource.d.ts +1 -0
  129. package/{build-browser-lib → lib}/store/Derived.d.ts +1 -0
  130. package/{build-browser-lib → lib}/store/DerivedArray.d.ts +1 -0
  131. package/{build-browser-lib → lib}/store/Resource.d.ts +2 -1
  132. package/{build-browser-lib → lib}/store/Store.d.ts +1 -0
  133. package/{build-browser-lib → lib}/store/StoreRegistry.d.ts +1 -0
  134. package/lib/store/index.cjs +1 -0
  135. package/lib/store/index.js +146 -0
  136. package/{build-browser-lib → lib}/studio/StudioElement.d.ts +1 -0
  137. package/{build-browser-lib → lib}/studio/index.cjs +1 -1
  138. package/{build-browser-lib → lib}/studio/index.js +17 -17
  139. package/{build-browser-lib → lib}/studio/tweaker/TweakerBooleanManagerElement.d.ts +2 -1
  140. package/{build-browser-lib → lib}/studio/tweaker/TweakerColorManagerElement.d.ts +2 -1
  141. package/{build-browser-lib → lib}/studio/tweaker/TweakerElement.d.ts +2 -1
  142. package/{build-browser-lib → lib}/studio/tweaker/TweakerFieldElement.d.ts +3 -2
  143. package/{build-browser-lib → lib}/studio/tweaker/TweakerFolderElement.d.ts +4 -3
  144. package/{build-browser-lib → lib}/studio/tweaker/TweakerLinkManagerElement.d.ts +2 -1
  145. package/{build-browser-lib → lib}/studio/tweaker/TweakerNumberManagerElement.d.ts +2 -1
  146. package/{build-browser-lib → lib}/studio/tweaker/TweakerRangeManagerElement.d.ts +2 -1
  147. package/{build-browser-lib → lib}/studio/tweaker/TweakerSelectManagerElement.d.ts +2 -1
  148. package/{build-browser-lib → lib}/studio/tweaker/TweakerStoreManagerElement.d.ts +2 -1
  149. package/{build-browser-lib → lib}/studio/tweaker/TweakerStringManagerElement.d.ts +2 -1
  150. package/{build-browser-lib → lib}/studio/tweaker/tweakerManagerConstructors.d.ts +2 -1
  151. package/lib/tags-D3-tO-m6.cjs +1 -0
  152. package/lib/tags-D9nd9mMM.js +846 -0
  153. package/{build-browser-lib → lib}/theme/index.cjs +1 -1
  154. package/{build-browser-lib → lib}/theme/index.js +2 -2
  155. package/{build-browser-lib → lib}/ticker/index.d.ts +1 -0
  156. package/{build-browser-lib → lib}/utils/collisions.d.ts +1 -0
  157. package/{build-browser-lib → lib}/utils/coordinates.d.ts +1 -0
  158. package/{build-browser-lib → lib}/utils/dom.d.ts +1 -0
  159. package/lib/utils/index.cjs +1 -0
  160. package/{build-browser-lib → lib}/utils/index.d.ts +1 -1
  161. package/{build-browser-lib → lib}/utils/index.js +68 -67
  162. package/{build-browser-lib → lib}/utils/math.d.ts +1 -0
  163. package/{build-browser-lib → lib}/video/index.cjs +1 -1
  164. package/{build-browser-lib → lib}/video/index.d.ts +1 -0
  165. package/{build-browser-lib → lib}/video/index.js +1 -1
  166. package/{build-browser-lib → lib}/window-resizer/index.d.ts +1 -0
  167. package/package.json +164 -239
  168. package/build-browser-lib/ComponentElement-B8zjY3Dh.js +0 -92
  169. package/build-browser-lib/ComponentElement-DuiOKawv.cjs +0 -1
  170. package/build-browser-lib/Composed-ClTo1f0b.js +0 -79
  171. package/build-browser-lib/Composed-Mdr4ZFbI.cjs +0 -1
  172. package/build-browser-lib/ElementConstructor-B61ZFTEB.cjs +0 -1
  173. package/build-browser-lib/ElementConstructor-CvNdPKJy.js +0 -314
  174. package/build-browser-lib/Store-D0_rDIsE.cjs +0 -1
  175. package/build-browser-lib/animation/hooks/index.cjs +0 -1
  176. package/build-browser-lib/animation/hooks/index.d.ts +0 -8
  177. package/build-browser-lib/animation/hooks/index.js +0 -32
  178. package/build-browser-lib/attribute/hooks/index.d.ts +0 -2
  179. package/build-browser-lib/controls/hooks/index.d.ts +0 -1
  180. package/build-browser-lib/createStore-CUWrqVrV.cjs +0 -1
  181. package/build-browser-lib/createStore-DncUX-yj.js +0 -15
  182. package/build-browser-lib/dom-BY7JhTx5.js +0 -24
  183. package/build-browser-lib/dom-qY2LdCVL.cjs +0 -1
  184. package/build-browser-lib/element-constructor/index.cjs +0 -1
  185. package/build-browser-lib/element-constructor/index.js +0 -125
  186. package/build-browser-lib/element-resizer/hooks/index.cjs +0 -1
  187. package/build-browser-lib/element-resizer/hooks/index.d.ts +0 -4
  188. package/build-browser-lib/element-resizer/hooks/index.js +0 -12
  189. package/build-browser-lib/en3/utils/getCurrentViewport.d.ts +0 -7
  190. package/build-browser-lib/instantiate-BYzkD4SE.js +0 -72
  191. package/build-browser-lib/instantiate-DrQ1MNUN.cjs +0 -1
  192. package/build-browser-lib/intersector/hooks/index.cjs +0 -1
  193. package/build-browser-lib/intersector/hooks/index.d.ts +0 -4
  194. package/build-browser-lib/intersector/hooks/index.js +0 -12
  195. package/build-browser-lib/jsx/ComponentElement.d.ts +0 -27
  196. package/build-browser-lib/jsx/h.d.ts +0 -3
  197. package/build-browser-lib/jsx/hooks/attachInternals.d.ts +0 -1
  198. package/build-browser-lib/jsx/hooks/attachShadow.d.ts +0 -1
  199. package/build-browser-lib/jsx/hooks/attachStylesheet.d.ts +0 -2
  200. package/build-browser-lib/jsx/hooks/createStore.d.ts +0 -3
  201. package/build-browser-lib/jsx/hooks/index.cjs +0 -1
  202. package/build-browser-lib/jsx/hooks/index.d.ts +0 -8
  203. package/build-browser-lib/jsx/hooks/index.js +0 -77
  204. package/build-browser-lib/jsx/hooks/onConnect.d.ts +0 -2
  205. package/build-browser-lib/jsx/hooks/onContext.d.ts +0 -3
  206. package/build-browser-lib/jsx/hooks/onDisconnect.d.ts +0 -2
  207. package/build-browser-lib/jsx/hooks/withCurrentComponent.d.ts +0 -2
  208. package/build-browser-lib/jsx/index.cjs +0 -1
  209. package/build-browser-lib/jsx/index.d.ts +0 -5
  210. package/build-browser-lib/jsx/index.js +0 -27
  211. package/build-browser-lib/jsx/instantiate.d.ts +0 -1
  212. package/build-browser-lib/jsx/register.d.ts +0 -1
  213. package/build-browser-lib/jsx/render.d.ts +0 -1
  214. package/build-browser-lib/jsx/type.d.ts +0 -185
  215. package/build-browser-lib/onConnect-FWEekrNj.js +0 -9
  216. package/build-browser-lib/onConnect-XY4UppQZ.cjs +0 -1
  217. package/build-browser-lib/router/index.cjs +0 -1
  218. package/build-browser-lib/scroll/index.cjs +0 -1
  219. package/build-browser-lib/scroll-entries/index.cjs +0 -1
  220. package/build-browser-lib/store/hooks/index.cjs +0 -1
  221. package/build-browser-lib/store/hooks/index.d.ts +0 -6
  222. package/build-browser-lib/store/hooks/index.js +0 -26
  223. package/build-browser-lib/store/index.cjs +0 -1
  224. package/build-browser-lib/store/index.js +0 -75
  225. package/build-browser-lib/tags-C2jg1zYB.js +0 -485
  226. package/build-browser-lib/tags-DX-eNxbA.cjs +0 -1
  227. package/build-browser-lib/ticker/hooks/index.cjs +0 -1
  228. package/build-browser-lib/ticker/hooks/index.d.ts +0 -5
  229. package/build-browser-lib/ticker/hooks/index.js +0 -23
  230. package/build-browser-lib/utils/index.cjs +0 -1
  231. package/build-browser-lib/window-resizer/hooks/index.cjs +0 -1
  232. package/build-browser-lib/window-resizer/hooks/index.d.ts +0 -2
  233. package/build-browser-lib/window-resizer/hooks/index.js +0 -9
  234. package/build-browser-lib/withCurrentComponent-Cd8KOtNf.js +0 -7
  235. package/build-browser-lib/withCurrentComponent-Cig6ryJK.cjs +0 -1
  236. package/build-vite-plugin-htmc/index.d.ts +0 -7
  237. package/build-vite-plugin-htmc/index.js +0 -352
  238. /package/{build-browser-lib → lib}/abstract-elements/index.d.ts +0 -0
  239. /package/{build-browser-lib → lib}/accordion/index.cjs +0 -0
  240. /package/{build-browser-lib → lib}/accordion/index.d.ts +0 -0
  241. /package/{build-browser-lib → lib}/accordion/index.js +0 -0
  242. /package/{build-browser-lib → lib}/animation/index.d.ts +0 -0
  243. /package/{build-browser-lib → lib}/attributes-69we3byR.js +0 -0
  244. /package/{build-browser-lib → lib}/attributes-Bf2svn4j.cjs +0 -0
  245. /package/{build-browser-lib → lib}/browser-0zX67oeU.js +0 -0
  246. /package/{build-browser-lib → lib}/browser-CpzFX2xg.cjs +0 -0
  247. /package/{build-browser-lib → lib}/connector/index.cjs +0 -0
  248. /package/{build-browser-lib → lib}/connector/index.d.ts +0 -0
  249. /package/{build-browser-lib → lib}/connector/index.js +0 -0
  250. /package/{build-browser-lib → lib}/controls/index.d.ts +0 -0
  251. /package/{build-browser-lib → lib}/createTheme-B_W5dUY9.cjs +0 -0
  252. /package/{build-browser-lib → lib}/createTheme-D0IoYkYN.js +0 -0
  253. /package/{build-browser-lib → lib}/css-unit-parser/index.cjs +0 -0
  254. /package/{build-browser-lib → lib}/css-unit-parser/index.d.ts +0 -0
  255. /package/{build-browser-lib → lib}/css-unit-parser/index.js +0 -0
  256. /package/{build-browser-lib → lib}/custom-element/index.cjs +0 -0
  257. /package/{build-browser-lib → lib}/custom-element/index.d.ts +0 -0
  258. /package/{build-browser-lib → lib}/custom-element/index.js +0 -0
  259. /package/{build-browser-lib → lib}/device/index.d.ts +0 -0
  260. /package/{build-browser-lib → lib}/easings-BKi40vHz.js +0 -0
  261. /package/{build-browser-lib → lib}/easings-DsS5-Kqc.cjs +0 -0
  262. /package/{build-browser-lib → lib}/element-constructor/index.d.ts +0 -0
  263. /package/{build-browser-lib → lib}/element-constructor/knownSvgTags.d.ts +0 -0
  264. /package/{build-browser-lib → lib}/en3/index.d.ts +0 -0
  265. /package/{build-browser-lib → lib}/en3/libs/MeshoptDecoder.d.ts +0 -0
  266. /package/{build-browser-lib → lib}/events-Crwi8fz6.cjs +0 -0
  267. /package/{build-browser-lib → lib}/events-_C2CztxR.js +0 -0
  268. /package/{build-browser-lib → lib}/file-EevnUtRj.cjs +0 -0
  269. /package/{build-browser-lib → lib}/file-lxi_oXJf.js +0 -0
  270. /package/{build-browser-lib → lib}/function-C10DGppn.js +0 -0
  271. /package/{build-browser-lib → lib}/function-MthRj-GJ.cjs +0 -0
  272. /package/{build-browser-lib → lib}/layout-8ryRAMGJ.cjs +0 -0
  273. /package/{build-browser-lib → lib}/layout-HoBT_Da2.js +0 -0
  274. /package/{build-browser-lib → lib}/loading/index.cjs +0 -0
  275. /package/{build-browser-lib → lib}/loading/index.js +0 -0
  276. /package/{build-browser-lib → lib}/math-BOBiC4TN.js +0 -0
  277. /package/{build-browser-lib → lib}/math-GDWEqu7y.cjs +0 -0
  278. /package/{build-browser-lib → lib}/modal/index.d.ts +0 -0
  279. /package/{build-browser-lib → lib}/morph/Morph.d.ts +0 -0
  280. /package/{build-browser-lib → lib}/morph/index.cjs +0 -0
  281. /package/{build-browser-lib → lib}/morph/index.d.ts +0 -0
  282. /package/{build-browser-lib → lib}/morph/index.js +0 -0
  283. /package/{build-browser-lib → lib}/notifier/index.cjs +0 -0
  284. /package/{build-browser-lib → lib}/notifier/index.d.ts +0 -0
  285. /package/{build-browser-lib → lib}/notifier/index.js +0 -0
  286. /package/{build-browser-lib → lib}/number-Bo5RdrA1.js +0 -0
  287. /package/{build-browser-lib → lib}/number-yVpzMdbQ.cjs +0 -0
  288. /package/{build-browser-lib → lib}/object-BZELAoVj.cjs +0 -0
  289. /package/{build-browser-lib → lib}/object-R34VLqhp.js +0 -0
  290. /package/{build-browser-lib → lib}/order/index.cjs +0 -0
  291. /package/{build-browser-lib → lib}/order/index.d.ts +0 -0
  292. /package/{build-browser-lib → lib}/order/index.js +0 -0
  293. /package/{build-browser-lib → lib}/polyfills-CrcS4RcO.cjs +0 -0
  294. /package/{build-browser-lib → lib}/polyfills-DJUYczFm.js +0 -0
  295. /package/{build-browser-lib → lib}/popover/index.d.ts +0 -0
  296. /package/{build-browser-lib → lib}/router/Route.d.ts +0 -0
  297. /package/{build-browser-lib → lib}/router/index.d.ts +0 -0
  298. /package/{build-browser-lib → lib}/scroll/index.d.ts +0 -0
  299. /package/{build-browser-lib → lib}/select/index.d.ts +0 -0
  300. /package/{build-browser-lib → lib}/slicer/Letter.d.ts +0 -0
  301. /package/{build-browser-lib → lib}/slicer/index.cjs +0 -0
  302. /package/{build-browser-lib → lib}/slicer/index.d.ts +0 -0
  303. /package/{build-browser-lib → lib}/slicer/index.js +0 -0
  304. /package/{build-browser-lib → lib}/source/SourceClass.d.ts +0 -0
  305. /package/{build-browser-lib → lib}/source/index.d.ts +0 -0
  306. /package/{build-browser-lib → lib}/store/index.d.ts +0 -0
  307. /package/{build-browser-lib → lib}/string-3lAkpJJP.js +0 -0
  308. /package/{build-browser-lib → lib}/string-vBu90jhV.cjs +0 -0
  309. /package/{build-browser-lib → lib}/studio/index.d.ts +0 -0
  310. /package/{build-browser-lib → lib}/studio/studioStorage.d.ts +0 -0
  311. /package/{build-browser-lib → lib}/style-At6aDoqG.cjs +0 -0
  312. /package/{build-browser-lib → lib}/style-j2TwriJ_.js +0 -0
  313. /package/{build-browser-lib → lib}/theme/index.d.ts +0 -0
  314. /package/{build-browser-lib → lib}/ticker/index.cjs +0 -0
  315. /package/{build-browser-lib → lib}/ticker/index.js +0 -0
  316. /package/{build-browser-lib → lib}/utils/array.d.ts +0 -0
  317. /package/{build-browser-lib → lib}/utils/attributes.d.ts +0 -0
  318. /package/{build-browser-lib → lib}/utils/browser.d.ts +0 -0
  319. /package/{build-browser-lib → lib}/utils/canvas.d.ts +0 -0
  320. /package/{build-browser-lib → lib}/utils/cssom.d.ts +0 -0
  321. /package/{build-browser-lib → lib}/utils/decoding.d.ts +0 -0
  322. /package/{build-browser-lib → lib}/utils/easings.d.ts +0 -0
  323. /package/{build-browser-lib → lib}/utils/events.d.ts +0 -0
  324. /package/{build-browser-lib → lib}/utils/file.d.ts +0 -0
  325. /package/{build-browser-lib → lib}/utils/function.d.ts +0 -0
  326. /package/{build-browser-lib → lib}/utils/layout.d.ts +0 -0
  327. /package/{build-browser-lib → lib}/utils/number.d.ts +0 -0
  328. /package/{build-browser-lib → lib}/utils/object.d.ts +0 -0
  329. /package/{build-browser-lib → lib}/utils/polyfills.d.ts +0 -0
  330. /package/{build-browser-lib → lib}/utils/string.d.ts +0 -0
  331. /package/{build-browser-lib → lib}/utils/style.d.ts +0 -0
  332. /package/{build-browser-lib → lib}/utils/ts-shape.d.ts +0 -0
  333. /package/{build-browser-lib → lib}/utils/ts-utility.d.ts +0 -0
  334. /package/{build-browser-lib → lib}/window-resizer/index.cjs +0 -0
  335. /package/{build-browser-lib → lib}/window-resizer/index.js +0 -0
@@ -8,7 +8,7 @@ var r = (n, t, s) => (m(n, t, "read from private field"), s ? s.call(n) : t.get(
8
8
  t instanceof WeakSet ? t.add(n) : t.set(n, s);
9
9
  }, h = (n, t, s, e) => (m(n, t, "write to private field"), e ? e.call(n, s) : t.set(n, s), s);
10
10
  import { i as y } from "../browser-0zX67oeU.js";
11
- import { g as p } from "../dom-BY7JhTx5.js";
11
+ import { g as p } from "../dom-0S_WDL4g.js";
12
12
  var i, b, u;
13
13
  class w {
14
14
  constructor() {
@@ -1 +1 @@
1
- "use strict";var j=Object.defineProperty;var w=Object.getOwnPropertySymbols;var C=Object.prototype.hasOwnProperty,E=Object.prototype.propertyIsEnumerable;var x=(s,t,e)=>t in s?j(s,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):s[t]=e,S=(s,t)=>{for(var e in t||(t={}))C.call(t,e)&&x(s,e,t[e]);if(w)for(var e of w(t))E.call(t,e)&&x(s,e,t[e]);return s};var q=(s,t,e)=>{if(!t.has(s))throw TypeError("Cannot "+e)};var i=(s,t,e)=>(q(s,t,"read from private field"),e?e.call(s):t.get(s)),h=(s,t,e)=>{if(t.has(s))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(s):t.set(s,e)},c=(s,t,e,n)=>(q(s,t,"write to private field"),n?n.call(s,e):t.set(s,e),e);var M=(s,t,e)=>(q(s,t,"access private method"),e);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const N=require("../Store-D0_rDIsE.cjs"),O=require("../math-GDWEqu7y.cjs"),U=require("../number-yVpzMdbQ.cjs"),m=require("../ticker/index.cjs");var v,u,p,d;class P{constructor(t){h(this,v,void 0);h(this,u,void 0);h(this,p,void 0);h(this,d,void 0);c(this,v,t.operation),c(this,u,t.value),c(this,p,i(this,u)),c(this,d,t.damping||0)}get operation(){return i(this,v)}get value(){return i(this,u)}set value(t){c(this,p,t),i(this,d)||c(this,u,t)}get damping(){return i(this,d)}set damping(t){c(this,d,t)}update(t){let e=0;for(const n in i(this,u))i(this,u)[n]=O.damp(i(this,u)[n],i(this,p)[n],this.damping,t),U.preciseNumber(i(this,u)[n],4)!==U.preciseNumber(i(this,p)[n],4)&&e++;return e===0}}v=new WeakMap,u=new WeakMap,p=new WeakMap,d=new WeakMap;var g,f,l,y,V,b;class T extends N.Store{constructor(e){super(e,{equalityCheck:()=>!1});h(this,y);h(this,g,void 0);h(this,f,void 0);h(this,l,void 0);h(this,b,e=>{let n=0;for(const r of this.steps){const a=r[1].update(e.elapsed);n+=a?0:1}this.calculate(),n||m.ticker.unsubscribe(i(this,b))});c(this,g,S({},e)),c(this,f,new Map),c(this,l,new Set)}get base(){return i(this,g)}get steps(){return i(this,f)}close(){super.close(),i(this,l).clear(),i(this,f).clear(),m.ticker.unsubscribe(i(this,b))}bind(e){i(this,l).add(e)}unbind(e){i(this,l).delete(e)}deleteStep(e){this.steps.delete(e)}getStepValue(e){return this.steps.get(e).value}setStep(e,n,r,o){const a={};for(const L in this.current)a[L]=r[L]||0;let k=this.steps.get(e);k||(k=new P({operation:n,value:S({},i(this,g)),damping:o}),this.steps.set(e,k)),k.damping=o||0,k.value=a,M(this,y,V).call(this)}calculate(){const e={};for(const n in this.base)e[n]=this.base[n];for(const n of this.steps){const r=n[1];if(r.operation==="+")for(const o in this.base){const a=r.value[o];e[o]+=a}else if(r.operation==="*")for(const o in this.base){const a=r.value[o];e[o]*=a}else if(r.operation==="/")for(const o in this.base){const a=r.value[o];e[o]/=a}else if(r.operation==="-")for(const o in this.base){const a=r.value[o];e[o]-=a}}for(const n of i(this,l))for(const r in e)n[r]=e[r];this.current=e}}g=new WeakMap,f=new WeakMap,l=new WeakMap,y=new WeakSet,V=function(){let e=!1;i(this,f).forEach(n=>{n.damping&&(e=!0)}),e?m.ticker.subscribe(i(this,b)):m.ticker.unsubscribe(i(this,b))},b=new WeakMap;exports.Ladder=T;
1
+ "use strict";var j=Object.defineProperty;var w=Object.getOwnPropertySymbols;var C=Object.prototype.hasOwnProperty,E=Object.prototype.propertyIsEnumerable;var x=(s,t,e)=>t in s?j(s,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):s[t]=e,S=(s,t)=>{for(var e in t||(t={}))C.call(t,e)&&x(s,e,t[e]);if(w)for(var e of w(t))E.call(t,e)&&x(s,e,t[e]);return s};var q=(s,t,e)=>{if(!t.has(s))throw TypeError("Cannot "+e)};var i=(s,t,e)=>(q(s,t,"read from private field"),e?e.call(s):t.get(s)),h=(s,t,e)=>{if(t.has(s))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(s):t.set(s,e)},c=(s,t,e,n)=>(q(s,t,"write to private field"),n?n.call(s,e):t.set(s,e),e);var M=(s,t,e)=>(q(s,t,"access private method"),e);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const N=require("../Store-Dis8QUAR.cjs"),O=require("../math-GDWEqu7y.cjs"),U=require("../number-yVpzMdbQ.cjs"),m=require("../ticker/index.cjs");var v,u,p,d;class P{constructor(t){h(this,v,void 0);h(this,u,void 0);h(this,p,void 0);h(this,d,void 0);c(this,v,t.operation),c(this,u,t.value),c(this,p,i(this,u)),c(this,d,t.damping||0)}get operation(){return i(this,v)}get value(){return i(this,u)}set value(t){c(this,p,t),i(this,d)||c(this,u,t)}get damping(){return i(this,d)}set damping(t){c(this,d,t)}update(t){let e=0;for(const n in i(this,u))i(this,u)[n]=O.damp(i(this,u)[n],i(this,p)[n],this.damping,t),U.preciseNumber(i(this,u)[n],4)!==U.preciseNumber(i(this,p)[n],4)&&e++;return e===0}}v=new WeakMap,u=new WeakMap,p=new WeakMap,d=new WeakMap;var g,f,l,y,V,b;class T extends N.Store{constructor(e){super(e,{equalityCheck:()=>!1});h(this,y);h(this,g,void 0);h(this,f,void 0);h(this,l,void 0);h(this,b,e=>{let n=0;for(const r of this.steps){const a=r[1].update(e.elapsed);n+=a?0:1}this.calculate(),n||m.ticker.unsubscribe(i(this,b))});c(this,g,S({},e)),c(this,f,new Map),c(this,l,new Set)}get base(){return i(this,g)}get steps(){return i(this,f)}close(){super.close(),i(this,l).clear(),i(this,f).clear(),m.ticker.unsubscribe(i(this,b))}bind(e){i(this,l).add(e)}unbind(e){i(this,l).delete(e)}deleteStep(e){this.steps.delete(e)}getStepValue(e){return this.steps.get(e).value}setStep(e,n,r,o){const a={};for(const L in this.current)a[L]=r[L]||0;let k=this.steps.get(e);k||(k=new P({operation:n,value:S({},i(this,g)),damping:o}),this.steps.set(e,k)),k.damping=o||0,k.value=a,M(this,y,V).call(this)}calculate(){const e={};for(const n in this.base)e[n]=this.base[n];for(const n of this.steps){const r=n[1];if(r.operation==="+")for(const o in this.base){const a=r.value[o];e[o]+=a}else if(r.operation==="*")for(const o in this.base){const a=r.value[o];e[o]*=a}else if(r.operation==="/")for(const o in this.base){const a=r.value[o];e[o]/=a}else if(r.operation==="-")for(const o in this.base){const a=r.value[o];e[o]-=a}}for(const n of i(this,l))for(const r in e)n[r]=e[r];this.current=e}}g=new WeakMap,f=new WeakMap,l=new WeakMap,y=new WeakSet,V=function(){let e=!1;i(this,f).forEach(n=>{n.damping&&(e=!0)}),e?m.ticker.subscribe(i(this,b)):m.ticker.unsubscribe(i(this,b))},b=new WeakMap;exports.Ladder=T;
@@ -1,4 +1,5 @@
1
1
  import { Store } from '../store';
2
+
2
3
  export type LadderDefaultStepName = number | string;
3
4
  export type LadderOperation = '+' | '*' | '/' | '-';
4
5
  export type LadderSteps<K, T extends LadderDefaultValueType = LadderDefaultValueType> = Map<K, LadderStep<T>>;
@@ -19,7 +19,7 @@ var i = (s, e, t) => (w(s, e, "read from private field"), t ? t.call(s) : e.get(
19
19
  e instanceof WeakSet ? e.add(s) : e.set(s, t);
20
20
  }, h = (s, e, t, n) => (w(s, e, "write to private field"), n ? n.call(s, t) : e.set(s, t), t);
21
21
  var V = (s, e, t) => (w(s, e, "access private method"), t);
22
- import { S as z } from "../Store-JOKrNVEr.js";
22
+ import { S as z } from "../Store-DdDuj5hz.js";
23
23
  import { d as A } from "../math-BOBiC4TN.js";
24
24
  import { p as q } from "../number-Bo5RdrA1.js";
25
25
  import { ticker as k } from "../ticker/index.js";
@@ -1 +1 @@
1
- "use strict";var I=(i,e,s)=>{if(!e.has(i))throw TypeError("Cannot "+s)};var t=(i,e,s)=>(I(i,e,"read from private field"),s?s.call(i):e.get(i)),h=(i,e,s)=>{if(e.has(i))throw TypeError("Cannot add the same private member more than once");e instanceof WeakSet?e.add(i):e.set(i,s)},n=(i,e,s,o)=>(I(i,e,"write to private field"),o?o.call(i,s):e.set(i,s),s);var R=(i,e,s)=>(I(i,e,"access private method"),s);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const ot=require("../css-unit-parser/index.cjs"),K=require("../ladder/index.cjs"),F=require("../order/index.cjs"),at=require("../scroll-entries/index.cjs"),G=require("../ticker/index.cjs"),J=require("../browser-CpzFX2xg.cjs"),N=require("../dom-qY2LdCVL.cjs"),L=require("../layout-8ryRAMGJ.cjs"),Q=require("../element-resizer/index.cjs"),j=require("../window-resizer/index.cjs");function tt(i){const e=Math.sqrt(i.m11*i.m11+i.m12*i.m12+i.m13*i.m13),s=Math.sqrt(i.m21*i.m21+i.m22*i.m22+i.m23*i.m23),o=Math.sqrt(i.m31*i.m31+i.m32*i.m32+i.m33*i.m33),X=Math.atan2(i.m32,i.m33),Y=Math.atan2(-i.m31,Math.sqrt(i.m32*i.m32+i.m33*i.m33)),V=Math.atan2(i.m21,i.m11),u=i.m41,C=i.m42*-1,O=i.m43;return{scaleX:e,scaleY:s,scaleZ:o,rotationX:X,rotationY:Y,rotationZ:V,translationX:u,translationY:C,translationZ:O}}var a,f,p,M,H,q,x,v,Z,y,_,E,d,S,b,P,T,B,z,g,m,c,r,l,A,$,k,et,D,st,U,it,w,W;class ct{constructor(e,s){h(this,A);h(this,k);h(this,D);h(this,U);h(this,a,null);h(this,f,null);h(this,p,[]);h(this,M,"auto");h(this,H,"top");h(this,q,!1);h(this,x,!0);h(this,v,!0);h(this,Z,!0);h(this,y,0);h(this,_,0);h(this,E,0);h(this,d,0);h(this,S,0);h(this,b,0);h(this,P,0);h(this,T,0);h(this,B,0);h(this,z,{x:0,y:0,z:0});h(this,g,{x:0,y:0,z:0});h(this,m,{x:1,y:1,z:1});h(this,c,new K.Ladder({x:0,y:0,z:0}));h(this,r,new K.Ladder({x:0,y:0,z:0}));h(this,l,new K.Ladder({x:0,y:0,z:0}));h(this,w,()=>{J.isBrowser&&R(this,D,st).call(this)});h(this,W,()=>{R(this,U,it).call(this),R(this,A,$).call(this)});J.isBrowser&&(n(this,a,N.getElement(e)||document.body),n(this,f,N.getElement(s==null?void 0:s.containerElement)||document.body),n(this,M,(s==null?void 0:s.scrollAxis)||"auto"),n(this,H,(s==null?void 0:s.frontSide)||"top"),n(this,q,(s==null?void 0:s.cartesian)||!1),n(this,x,(s==null?void 0:s.sizeStep)!==void 0?s.sizeStep:!0),n(this,v,(s==null?void 0:s.positionStep)!==void 0?s.positionStep:!0),n(this,Z,(s==null?void 0:s.transformStep)!==void 0?s.transformStep:!0),t(this,l).setStep("_size","+",{x:1,y:1,z:1}),t(this,r).setStep("_position","+",{x:0,y:0,z:0}),t(this,l).setStep("_scale","*",{x:1,y:1,z:1}),t(this,r).setStep("_translation","+",{x:0,y:0,z:0}),t(this,c).setStep("_rotation","+",{x:0,y:0,z:0}),addEventListener("DOMContentLoaded",()=>{at.scrollEntries.getAll(this.element).forEach(o=>{this.setScrollStep(()=>o)})}),G.ticker.subscribe(t(this,W),{order:F.TICK_ORDER.LAYOUT_BOX,culling:s!=null&&s.culling?this.element:void 0}),Q.elementResizer.subscribe(this.element,t(this,w)),j.windowResizer.subscribe(t(this,w),F.RESIZE_ORDER.LAYOUT_BOX))}get element(){return t(this,a)}get containerElement(){return t(this,f)}get position(){return t(this,r).current}get rotation(){return t(this,c).current}get scale(){return t(this,l).current}get left(){return t(this,S)}get top(){return t(this,d)}get front(){return t(this,b)}get width(){return t(this,y)}get height(){return t(this,_)}get depth(){return t(this,E)}bindObject(e){e.position&&t(this,r).bind(e.position),e.rotation&&t(this,c).bind(e.rotation),e.scale&&t(this,l).bind(e.scale)}unbindObject(e){e.position&&t(this,r).unbind(e.position),e.rotation&&t(this,c).unbind(e.rotation),e.scale&&t(this,l).unbind(e.scale)}setScrollStep(e){return t(this,p).includes(e)||t(this,p).push(e),()=>this.deleteScrollStep(e)}deleteScrollStep(e){n(this,p,t(this,p).filter(s=>s!==e))}destroy(){G.ticker.unsubscribe(t(this,W)),Q.elementResizer.unsubscribe(t(this,w)),j.windowResizer.unsubscribe(t(this,w)),t(this,r).close(),t(this,c).close(),t(this,l).close()}setPositionStep(...e){t(this,r).setStep(...e)}getPositionStep(...e){return t(this,r).getStepValue(...e)}setRotationStep(...e){t(this,c).setStep(...e)}getRotationStep(...e){return t(this,c).getStepValue(...e)}setScaleStep(...e){t(this,l).setStep(...e)}getScaleStep(...e){return t(this,l).getStepValue(...e)}deletePositionStep(...e){t(this,r).deleteStep(...e)}deleteRotationStep(...e){t(this,c).deleteStep(...e)}deleteScaleStep(...e){t(this,l).deleteStep(...e)}}a=new WeakMap,f=new WeakMap,p=new WeakMap,M=new WeakMap,H=new WeakMap,q=new WeakMap,x=new WeakMap,v=new WeakMap,Z=new WeakMap,y=new WeakMap,_=new WeakMap,E=new WeakMap,d=new WeakMap,S=new WeakMap,b=new WeakMap,P=new WeakMap,T=new WeakMap,B=new WeakMap,z=new WeakMap,g=new WeakMap,m=new WeakMap,c=new WeakMap,r=new WeakMap,l=new WeakMap,A=new WeakSet,$=function(){t(this,l).calculate(),t(this,r).calculate(),t(this,c).calculate()},k=new WeakSet,et=function(){t(this,l).setStep("_size","+",{x:t(this,x)?t(this,y):1,y:t(this,x)?t(this,_):1,z:t(this,x)?t(this,E):1});const e=t(this,v)?t(this,P):0,s=t(this,v)?t(this,T):0,o=t(this,v)?t(this,B):0;t(this,r).setStep("_position","+",{x:e,y:s,z:o}),t(this,Z)?(t(this,l).setStep("_scale","*",{x:t(this,m).x,y:t(this,m).y,z:t(this,m).z}),t(this,r).setStep("_translation","+",{x:t(this,z).x,y:t(this,z).y,z:t(this,z).z}),t(this,c).setStep("_rotation","+",{x:t(this,g).x,y:t(this,g).y,z:t(this,g).z})):(t(this,l).setStep("_scale","*",{x:1,y:1,z:1}),t(this,r).setStep("_translation","+",{x:0,y:0,z:0}),t(this,c).setStep("_rotation","+",{x:0,y:0,z:0}))},D=new WeakSet,st=function(){const e=getComputedStyle(t(this,a));n(this,y,Math.max(t(this,a).clientWidth,1)),n(this,_,Math.max(t(this,a).clientHeight,1)),n(this,E,Math.max(ot.cssUnitParser.parse(e.getPropertyValue("--depth")||"0px"),1));const s=L.getCumulativeOffsetLeft(t(this,f)),o=L.getCumulativeOffsetTop(t(this,f)),X=t(this,f).clientWidth,Y=t(this,f).clientHeight;if(n(this,S,L.getCumulativeOffsetLeft(t(this,a))-s),n(this,d,L.getCumulativeOffsetTop(t(this,a))-o),t(this,M)==="z"){const C=t(this,S)/X,O=t(this,d)/Y;n(this,S,(C-Math.floor(C))*X),n(this,d,(O-Math.floor(O))*Y),t(this,H)==="left"?n(this,b,L.getCumulativeOffsetLeft(t(this,a))-s-t(this,S)):n(this,b,L.getCumulativeOffsetTop(t(this,a))-o-t(this,d))}if(n(this,S,t(this,S)+t(this,a).clientLeft),n(this,d,t(this,d)+t(this,a).clientTop),t(this,q)){const C=Math.round(X/2),O=Math.round(Y/2),ht=t(this,y)?Math.round(t(this,y)/2):0,nt=t(this,_)?Math.round(t(this,_)/2):0,rt=t(this,S)-C+ht,lt=(t(this,d)-O+nt)*-1;n(this,P,rt),n(this,T,lt)}else n(this,P,t(this,S)),n(this,T,t(this,d));n(this,B,t(this,b)*-1);const V=new WebKitCSSMatrix(e.transform),u=tt(V);t(this,z).x=u.translationX,t(this,z).y=u.translationY,t(this,z).z=u.translationZ,t(this,m).x=u.scaleX,t(this,m).y=u.scaleY,t(this,m).z=u.scaleZ,t(this,g).x=u.rotationX,t(this,g).y=u.rotationY,t(this,g).z=u.rotationZ,R(this,k,et).call(this),R(this,A,$).call(this)},U=new WeakSet,it=function(){for(let e=0;e<t(this,p).length;e++){const s=t(this,p)[e]();let o=s.axis;t(this,M)!=="auto"&&(o=t(this,M)),t(this,r).setStep(`_scroll_${e}`,"+",{[o]:s.value*(o==="x"?-1:t(this,q)?1:-1)})}},w=new WeakMap,W=new WeakMap;exports.LayoutBox=ct;exports.decomposeCSSMatrix=tt;
1
+ "use strict";var I=(i,e,s)=>{if(!e.has(i))throw TypeError("Cannot "+s)};var t=(i,e,s)=>(I(i,e,"read from private field"),s?s.call(i):e.get(i)),h=(i,e,s)=>{if(e.has(i))throw TypeError("Cannot add the same private member more than once");e instanceof WeakSet?e.add(i):e.set(i,s)},n=(i,e,s,o)=>(I(i,e,"write to private field"),o?o.call(i,s):e.set(i,s),s);var R=(i,e,s)=>(I(i,e,"access private method"),s);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const ot=require("../css-unit-parser/index.cjs"),K=require("../ladder/index.cjs"),F=require("../order/index.cjs"),at=require("../scroll-entries/index.cjs"),G=require("../ticker/index.cjs"),J=require("../browser-CpzFX2xg.cjs"),N=require("../dom-JBOkFLTh.cjs"),L=require("../layout-8ryRAMGJ.cjs"),Q=require("../element-resizer/index.cjs"),j=require("../window-resizer/index.cjs");function tt(i){const e=Math.sqrt(i.m11*i.m11+i.m12*i.m12+i.m13*i.m13),s=Math.sqrt(i.m21*i.m21+i.m22*i.m22+i.m23*i.m23),o=Math.sqrt(i.m31*i.m31+i.m32*i.m32+i.m33*i.m33),X=Math.atan2(i.m32,i.m33),Y=Math.atan2(-i.m31,Math.sqrt(i.m32*i.m32+i.m33*i.m33)),V=Math.atan2(i.m21,i.m11),u=i.m41,C=i.m42*-1,O=i.m43;return{scaleX:e,scaleY:s,scaleZ:o,rotationX:X,rotationY:Y,rotationZ:V,translationX:u,translationY:C,translationZ:O}}var a,f,p,M,H,q,x,v,Z,y,_,E,d,S,b,P,T,B,z,g,m,c,r,l,A,$,k,et,D,st,U,it,w,W;class ct{constructor(e,s){h(this,A);h(this,k);h(this,D);h(this,U);h(this,a,null);h(this,f,null);h(this,p,[]);h(this,M,"auto");h(this,H,"top");h(this,q,!1);h(this,x,!0);h(this,v,!0);h(this,Z,!0);h(this,y,0);h(this,_,0);h(this,E,0);h(this,d,0);h(this,S,0);h(this,b,0);h(this,P,0);h(this,T,0);h(this,B,0);h(this,z,{x:0,y:0,z:0});h(this,g,{x:0,y:0,z:0});h(this,m,{x:1,y:1,z:1});h(this,c,new K.Ladder({x:0,y:0,z:0}));h(this,r,new K.Ladder({x:0,y:0,z:0}));h(this,l,new K.Ladder({x:0,y:0,z:0}));h(this,w,()=>{J.isBrowser&&R(this,D,st).call(this)});h(this,W,()=>{R(this,U,it).call(this),R(this,A,$).call(this)});J.isBrowser&&(n(this,a,N.getElement(e)||document.body),n(this,f,N.getElement(s==null?void 0:s.containerElement)||document.body),n(this,M,(s==null?void 0:s.scrollAxis)||"auto"),n(this,H,(s==null?void 0:s.frontSide)||"top"),n(this,q,(s==null?void 0:s.cartesian)||!1),n(this,x,(s==null?void 0:s.sizeStep)!==void 0?s.sizeStep:!0),n(this,v,(s==null?void 0:s.positionStep)!==void 0?s.positionStep:!0),n(this,Z,(s==null?void 0:s.transformStep)!==void 0?s.transformStep:!0),t(this,l).setStep("_size","+",{x:1,y:1,z:1}),t(this,r).setStep("_position","+",{x:0,y:0,z:0}),t(this,l).setStep("_scale","*",{x:1,y:1,z:1}),t(this,r).setStep("_translation","+",{x:0,y:0,z:0}),t(this,c).setStep("_rotation","+",{x:0,y:0,z:0}),addEventListener("DOMContentLoaded",()=>{at.scrollEntries.getAll(this.element).forEach(o=>{this.setScrollStep(()=>o)})}),G.ticker.subscribe(t(this,W),{order:F.TICK_ORDER.LAYOUT_BOX,culling:s!=null&&s.culling?this.element:void 0}),Q.elementResizer.subscribe(this.element,t(this,w)),j.windowResizer.subscribe(t(this,w),F.RESIZE_ORDER.LAYOUT_BOX))}get element(){return t(this,a)}get containerElement(){return t(this,f)}get position(){return t(this,r).current}get rotation(){return t(this,c).current}get scale(){return t(this,l).current}get left(){return t(this,S)}get top(){return t(this,d)}get front(){return t(this,b)}get width(){return t(this,y)}get height(){return t(this,_)}get depth(){return t(this,E)}bindObject(e){e.position&&t(this,r).bind(e.position),e.rotation&&t(this,c).bind(e.rotation),e.scale&&t(this,l).bind(e.scale)}unbindObject(e){e.position&&t(this,r).unbind(e.position),e.rotation&&t(this,c).unbind(e.rotation),e.scale&&t(this,l).unbind(e.scale)}setScrollStep(e){return t(this,p).includes(e)||t(this,p).push(e),()=>this.deleteScrollStep(e)}deleteScrollStep(e){n(this,p,t(this,p).filter(s=>s!==e))}destroy(){G.ticker.unsubscribe(t(this,W)),Q.elementResizer.unsubscribe(t(this,w)),j.windowResizer.unsubscribe(t(this,w)),t(this,r).close(),t(this,c).close(),t(this,l).close()}setPositionStep(...e){t(this,r).setStep(...e)}getPositionStep(...e){return t(this,r).getStepValue(...e)}setRotationStep(...e){t(this,c).setStep(...e)}getRotationStep(...e){return t(this,c).getStepValue(...e)}setScaleStep(...e){t(this,l).setStep(...e)}getScaleStep(...e){return t(this,l).getStepValue(...e)}deletePositionStep(...e){t(this,r).deleteStep(...e)}deleteRotationStep(...e){t(this,c).deleteStep(...e)}deleteScaleStep(...e){t(this,l).deleteStep(...e)}}a=new WeakMap,f=new WeakMap,p=new WeakMap,M=new WeakMap,H=new WeakMap,q=new WeakMap,x=new WeakMap,v=new WeakMap,Z=new WeakMap,y=new WeakMap,_=new WeakMap,E=new WeakMap,d=new WeakMap,S=new WeakMap,b=new WeakMap,P=new WeakMap,T=new WeakMap,B=new WeakMap,z=new WeakMap,g=new WeakMap,m=new WeakMap,c=new WeakMap,r=new WeakMap,l=new WeakMap,A=new WeakSet,$=function(){t(this,l).calculate(),t(this,r).calculate(),t(this,c).calculate()},k=new WeakSet,et=function(){t(this,l).setStep("_size","+",{x:t(this,x)?t(this,y):1,y:t(this,x)?t(this,_):1,z:t(this,x)?t(this,E):1});const e=t(this,v)?t(this,P):0,s=t(this,v)?t(this,T):0,o=t(this,v)?t(this,B):0;t(this,r).setStep("_position","+",{x:e,y:s,z:o}),t(this,Z)?(t(this,l).setStep("_scale","*",{x:t(this,m).x,y:t(this,m).y,z:t(this,m).z}),t(this,r).setStep("_translation","+",{x:t(this,z).x,y:t(this,z).y,z:t(this,z).z}),t(this,c).setStep("_rotation","+",{x:t(this,g).x,y:t(this,g).y,z:t(this,g).z})):(t(this,l).setStep("_scale","*",{x:1,y:1,z:1}),t(this,r).setStep("_translation","+",{x:0,y:0,z:0}),t(this,c).setStep("_rotation","+",{x:0,y:0,z:0}))},D=new WeakSet,st=function(){const e=getComputedStyle(t(this,a));n(this,y,Math.max(t(this,a).clientWidth,1)),n(this,_,Math.max(t(this,a).clientHeight,1)),n(this,E,Math.max(ot.cssUnitParser.parse(e.getPropertyValue("--depth")||"0px"),1));const s=L.getCumulativeOffsetLeft(t(this,f)),o=L.getCumulativeOffsetTop(t(this,f)),X=t(this,f).clientWidth,Y=t(this,f).clientHeight;if(n(this,S,L.getCumulativeOffsetLeft(t(this,a))-s),n(this,d,L.getCumulativeOffsetTop(t(this,a))-o),t(this,M)==="z"){const C=t(this,S)/X,O=t(this,d)/Y;n(this,S,(C-Math.floor(C))*X),n(this,d,(O-Math.floor(O))*Y),t(this,H)==="left"?n(this,b,L.getCumulativeOffsetLeft(t(this,a))-s-t(this,S)):n(this,b,L.getCumulativeOffsetTop(t(this,a))-o-t(this,d))}if(n(this,S,t(this,S)+t(this,a).clientLeft),n(this,d,t(this,d)+t(this,a).clientTop),t(this,q)){const C=Math.round(X/2),O=Math.round(Y/2),ht=t(this,y)?Math.round(t(this,y)/2):0,nt=t(this,_)?Math.round(t(this,_)/2):0,rt=t(this,S)-C+ht,lt=(t(this,d)-O+nt)*-1;n(this,P,rt),n(this,T,lt)}else n(this,P,t(this,S)),n(this,T,t(this,d));n(this,B,t(this,b)*-1);const V=new WebKitCSSMatrix(e.transform),u=tt(V);t(this,z).x=u.translationX,t(this,z).y=u.translationY,t(this,z).z=u.translationZ,t(this,m).x=u.scaleX,t(this,m).y=u.scaleY,t(this,m).z=u.scaleZ,t(this,g).x=u.rotationX,t(this,g).y=u.rotationY,t(this,g).z=u.rotationZ,R(this,k,et).call(this),R(this,A,$).call(this)},U=new WeakSet,it=function(){for(let e=0;e<t(this,p).length;e++){const s=t(this,p)[e]();let o=s.axis;t(this,M)!=="auto"&&(o=t(this,M)),t(this,r).setStep(`_scroll_${e}`,"+",{[o]:s.value*(o==="x"?-1:t(this,q)?1:-1)})}},w=new WeakMap,W=new WeakMap;exports.LayoutBox=ct;exports.decomposeCSSMatrix=tt;
@@ -1,6 +1,7 @@
1
- import { Ladder } from '../ladder';
2
- import { StoreCallback, StoreEntry } from '../store';
3
1
  import { ElementOrSelector, Axes3D, Axes2D } from '../utils';
2
+ import { StoreCallback, StoreEntry } from '../store';
3
+ import { Ladder } from '../ladder';
4
+
4
5
  export declare function decomposeCSSMatrix(matrix: WebKitCSSMatrix): {
5
6
  scaleX: number;
6
7
  scaleY: number;
@@ -14,7 +14,7 @@ import { TICK_ORDER as ot, RESIZE_ORDER as at } from "../order/index.js";
14
14
  import { scrollEntries as ct } from "../scroll-entries/index.js";
15
15
  import { ticker as G } from "../ticker/index.js";
16
16
  import { i as J } from "../browser-0zX67oeU.js";
17
- import { g as N } from "../dom-BY7JhTx5.js";
17
+ import { g as N } from "../dom-0S_WDL4g.js";
18
18
  import { g as K, a as $ } from "../layout-HoBT_Da2.js";
19
19
  import { elementResizer as Q } from "../element-resizer/index.js";
20
20
  import { windowResizer as j } from "../window-resizer/index.js";
@@ -1,4 +1,5 @@
1
1
  import { Notifier } from '../notifier';
2
+
2
3
  export interface LoadingProgressDetail {
3
4
  loaded: number;
4
5
  total: number;
@@ -1 +1 @@
1
- "use strict";var d=(e,r,s)=>{if(!r.has(e))throw TypeError("Cannot "+s)};var o=(e,r,s)=>(d(e,r,"read from private field"),s?s.call(e):r.get(e)),c=(e,r,s)=>{if(r.has(e))throw TypeError("Cannot add the same private member more than once");r instanceof WeakSet?r.add(e):r.set(e,s)},u=(e,r,s,n)=>(d(e,r,"write to private field"),n?n.call(e,s):r.set(e,s),s);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("../order/index.cjs"),l=require("../window-resizer/index.cjs"),h=require("../Store-D0_rDIsE.cjs");var i,t;class b extends h.Store{constructor(s){super(!1);c(this,i,void 0);c(this,t,void 0);u(this,i,s),u(this,t,l.windowResizer.subscribe(()=>{matchMedia(o(this,i)).matches?this.current=!0:this.current=!1},a.RESIZE_ORDER.MEDIA))}close(){super.close(),o(this,t).call(this)}}i=new WeakMap,t=new WeakMap;exports.Media=b;
1
+ "use strict";var d=(e,r,s)=>{if(!r.has(e))throw TypeError("Cannot "+s)};var o=(e,r,s)=>(d(e,r,"read from private field"),s?s.call(e):r.get(e)),c=(e,r,s)=>{if(r.has(e))throw TypeError("Cannot add the same private member more than once");r instanceof WeakSet?r.add(e):r.set(e,s)},u=(e,r,s,n)=>(d(e,r,"write to private field"),n?n.call(e,s):r.set(e,s),s);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("../order/index.cjs"),l=require("../window-resizer/index.cjs"),h=require("../Store-Dis8QUAR.cjs");var i,t;class b extends h.Store{constructor(s){super(!1);c(this,i,void 0);c(this,t,void 0);u(this,i,s),u(this,t,l.windowResizer.subscribe(()=>{matchMedia(o(this,i)).matches?this.current=!0:this.current=!1},a.RESIZE_ORDER.MEDIA))}close(){super.close(),o(this,t).call(this)}}i=new WeakMap,t=new WeakMap;exports.Media=b;
@@ -1,4 +1,5 @@
1
1
  import { Store } from '../store';
2
+
2
3
  export type MediaCallback = () => void;
3
4
  export type MediaQueries<T extends string = string> = Map<T, {
4
5
  match: MediaCallback;
@@ -9,7 +9,7 @@ var o = (e, s, r) => (a(e, s, "read from private field"), r ? r.call(e) : s.get(
9
9
  }, u = (e, s, r, m) => (a(e, s, "write to private field"), m ? m.call(e, r) : s.set(e, r), r);
10
10
  import { RESIZE_ORDER as h } from "../order/index.js";
11
11
  import { windowResizer as n } from "../window-resizer/index.js";
12
- import { S as f } from "../Store-JOKrNVEr.js";
12
+ import { S as f } from "../Store-DdDuj5hz.js";
13
13
  var t, i;
14
14
  class b extends f {
15
15
  constructor(r) {
@@ -1,4 +1,5 @@
1
1
  import { PopoverElement } from '../popover';
2
+
2
3
  export declare class ModalElement extends PopoverElement {
3
4
  #private;
4
5
  constructor();
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const v=require("../custom-element/index.cjs");require("../Store-D0_rDIsE.cjs");const b=require("../browser-CpzFX2xg.cjs"),s=require("../tags-DX-eNxbA.cjs"),m=require("../createStylesheet-C0OnN0Br.cjs"),g=require("../popover/index.cjs"),d=require("../theme/index.cjs");var w=Object.defineProperty,_=Object.getOwnPropertyDescriptor,y=(t,e,o,r)=>{for(var n=r>1?void 0:r?_(e,o):e,c=t.length-1,h;c>=0;c--)(h=t[c])&&(n=(r?h(e,o,n):h(n))||n);return r&&n&&w(e,o,n),n},p=(t,e,o)=>{if(!e.has(t))throw TypeError("Cannot "+o)},l=(t,e,o)=>(p(t,e,"read from private field"),o?o.call(t):e.get(t)),u=(t,e,o)=>{if(e.has(t))throw TypeError("Cannot add the same private member more than once");e instanceof WeakSet?e.add(t):e.set(t,o)},f=(t,e,o,r)=>(p(t,e,"write to private field"),r?r.call(t,o):e.set(t,o),o),i,a;const C=m.createStylesheet({":host":{position:"fixed",top:"0",left:"0",zIndex:"1",width:"100%",height:"100%",transitionProperty:"opacity",transitionDuration:d.aptechkaTheme.durationShort.var},":host::before":{content:'""',position:"fixed",top:"0",left:"0",zIndex:"-1",width:"100%",height:"100%",backgroundColor:"var(--backdrop, rgba(0, 0, 0, 0.8))"},".inner":{width:"100%",height:"100%",display:"flex",alignItems:"center",justifyContent:"center",overflow:"hidden auto"},".overflow .inner":{alignItems:"flex-start"},".content":{position:"relative"},".close-button":{position:"absolute",top:"var(---close-button-top, 0.5em)",right:"var(---close-button-right, 0.5em)",background:"none",border:"none",fontFamily:"inherit",fontSize:"inherit",fontWeight:"inherit"},".close-button-default":{width:"var(---close-button-size, 1.5em)",height:"var(---close-button-size, 1.5em)",display:"flex",alignItems:"center",justifyContent:"center",transitionProperty:"transform",transitionDuration:d.aptechkaTheme.durationShort.var,willChange:"transform"},".close-button:hover .close-button-default":{transform:"scale(0.9)"},".close-button:active .close-button-default":{transform:"scale(0.7)"},".close-button-default::before, .close-button-default::after":{content:'""',position:"absolute",width:"var(---close-button-thickness, 0.1em)",height:"100%",backgroundColor:`var(--close-button-color, ${d.aptechkaTheme.colorDark.var})`},".close-button-default::before":{transform:"rotate(-45deg)"},".close-button-default::after":{transform:"rotate(45deg)"}});exports.ModalElement=class extends g.PopoverElement{constructor(){super(),u(this,i,null),u(this,a,null),b.isBrowser&&(this.openShadow(C),s.element(this,{children:s.div({class:"inner",outside:!0,children:s.div({class:"content",children:[s.element("e-popover-button",{type:"close",target:this.id,class:"close-button",children:[s.slot({name:"close-button",children:s.span({class:"close-button-default"})})]}),s.slot()]}),ref:e=>f(this,a,e)})}),f(this,i,new ResizeObserver(()=>{l(this,a).scrollHeight>l(this,a).clientHeight?this.classList.add("overflow"):this.classList.remove("overflow")})))}connectedCallback(){super.connectedCallback(),l(this,i).observe(this)}disconnectedCallback(){super.disconnectedCallback(),l(this,i).disconnect()}};i=new WeakMap;a=new WeakMap;exports.ModalElement=y([v.define("e-modal")],exports.ModalElement);
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const v=require("../custom-element/index.cjs");require("../Store-Dis8QUAR.cjs");const b=require("../browser-CpzFX2xg.cjs"),s=require("../tags-D3-tO-m6.cjs"),m=require("../createStylesheet-B4vLzvah.cjs"),g=require("../popover/index.cjs"),d=require("../theme/index.cjs");var w=Object.defineProperty,_=Object.getOwnPropertyDescriptor,y=(t,e,o,r)=>{for(var n=r>1?void 0:r?_(e,o):e,c=t.length-1,h;c>=0;c--)(h=t[c])&&(n=(r?h(e,o,n):h(n))||n);return r&&n&&w(e,o,n),n},p=(t,e,o)=>{if(!e.has(t))throw TypeError("Cannot "+o)},l=(t,e,o)=>(p(t,e,"read from private field"),o?o.call(t):e.get(t)),u=(t,e,o)=>{if(e.has(t))throw TypeError("Cannot add the same private member more than once");e instanceof WeakSet?e.add(t):e.set(t,o)},f=(t,e,o,r)=>(p(t,e,"write to private field"),r?r.call(t,o):e.set(t,o),o),i,a;const C=m.createStylesheet({":host":{position:"fixed",top:"0",left:"0",zIndex:"1",width:"100%",height:"100%",transitionProperty:"opacity",transitionDuration:d.aptechkaTheme.durationShort.var},":host::before":{content:'""',position:"fixed",top:"0",left:"0",zIndex:"-1",width:"100%",height:"100%",backgroundColor:"var(--backdrop, rgba(0, 0, 0, 0.8))"},".inner":{width:"100%",height:"100%",display:"flex",alignItems:"center",justifyContent:"center",overflow:"hidden auto"},".overflow .inner":{alignItems:"flex-start"},".content":{position:"relative"},".close-button":{position:"absolute",top:"var(---close-button-top, 0.5em)",right:"var(---close-button-right, 0.5em)",background:"none",border:"none",fontFamily:"inherit",fontSize:"inherit",fontWeight:"inherit"},".close-button-default":{width:"var(---close-button-size, 1.5em)",height:"var(---close-button-size, 1.5em)",display:"flex",alignItems:"center",justifyContent:"center",transitionProperty:"transform",transitionDuration:d.aptechkaTheme.durationShort.var,willChange:"transform"},".close-button:hover .close-button-default":{transform:"scale(0.9)"},".close-button:active .close-button-default":{transform:"scale(0.7)"},".close-button-default::before, .close-button-default::after":{content:'""',position:"absolute",width:"var(---close-button-thickness, 0.1em)",height:"100%",backgroundColor:`var(--close-button-color, ${d.aptechkaTheme.colorDark.var})`},".close-button-default::before":{transform:"rotate(-45deg)"},".close-button-default::after":{transform:"rotate(45deg)"}});exports.ModalElement=class extends g.PopoverElement{constructor(){super(),u(this,i,null),u(this,a,null),b.isBrowser&&(this.openShadow(C),s.element(this,{children:s.div({class:"inner",outside:!0,children:s.div({class:"content",children:[s.element("e-popover-button",{type:"close",target:this.id,class:"close-button",children:[s.slot({name:"close-button",children:s.span({class:"close-button-default"})})]}),s.slot()]}),ref:e=>f(this,a,e)})}),f(this,i,new ResizeObserver(()=>{l(this,a).scrollHeight>l(this,a).clientHeight?this.classList.add("overflow"):this.classList.remove("overflow")})))}connectedCallback(){super.connectedCallback(),l(this,i).observe(this)}disconnectedCallback(){super.disconnectedCallback(),l(this,i).disconnect()}};i=new WeakMap;a=new WeakMap;exports.ModalElement=y([v.define("e-modal")],exports.ModalElement);
@@ -1,8 +1,8 @@
1
1
  import { define as g } from "../custom-element/index.js";
2
- import "../Store-JOKrNVEr.js";
2
+ import "../Store-DdDuj5hz.js";
3
3
  import { i as w } from "../browser-0zX67oeU.js";
4
- import { e as d, D as f, ax as u, aA as _ } from "../tags-C2jg1zYB.js";
5
- import { c as y } from "../createStylesheet-CD11E4C8.js";
4
+ import { e as d, D as f, ay as u, aB as _ } from "../tags-D9nd9mMM.js";
5
+ import { c as y } from "../createStylesheet-CR-XQRVT.js";
6
6
  import { PopoverElement as C } from "../popover/index.js";
7
7
  import { aptechkaTheme as h } from "../theme/index.js";
8
8
  var k = Object.defineProperty, x = Object.getOwnPropertyDescriptor, z = (t, e, o, r) => {
@@ -1,4 +1,5 @@
1
1
  import { Morph } from './Morph';
2
+
2
3
  export declare class Link {
3
4
  #private;
4
5
  constructor(element: HTMLAnchorElement, morph: Morph);
@@ -1,5 +1,6 @@
1
- import { PopoverElement } from './PopoverElement';
2
1
  import { AbstractButtonElement } from '../abstract-elements';
2
+ import { PopoverElement } from './PopoverElement';
3
+
3
4
  export type PopoverButtonType = 'open' | 'close' | 'toggle';
4
5
  export declare class PopoverButtonElement extends AbstractButtonElement {
5
6
  #private;
@@ -1,6 +1,7 @@
1
- import { Attribute } from '../attribute';
2
- import { CustomElement } from '../custom-element';
3
1
  import { Store } from '../store';
2
+ import { CustomElement } from '../custom-element';
3
+ import { Attribute } from '../attribute';
4
+
4
5
  export declare class PopoverElement extends CustomElement {
5
6
  #private;
6
7
  private static __opened;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const $=require("../attribute/index.cjs"),M=require("../custom-element/index.cjs"),A=require("../Store-D0_rDIsE.cjs"),q=require("../style-At6aDoqG.cjs"),x=require("../abstract-elements/index.cjs");var B=Object.defineProperty,D=Object.getOwnPropertyDescriptor,I=(t,e,s,i)=>{for(var n=i>1?void 0:i?D(e,s):e,c=t.length-1,l;c>=0;c--)(l=t[c])&&(n=(i?l(e,s,n):l(n))||n);return i&&n&&B(e,s,n),n},W=(t,e,s)=>{if(!e.has(t))throw TypeError("Cannot "+s)},r=(t,e,s)=>(W(t,e,"read from private field"),s?s.call(t):e.get(t)),o=(t,e,s)=>{if(e.has(t))throw TypeError("Cannot add the same private member more than once");e instanceof WeakSet?e.add(t):e.set(t,s)},k=(t,e,s,i)=>(W(t,e,"write to private field"),i?i.call(t,s):e.set(t,s),s),T=(t,e,s)=>(W(t,e,"access private method"),s),P,a,m,p,E,v,S,C,u,f,w,g,y,L,_;exports.PopoverElement=class extends M.CustomElement{constructor(){super(...arguments),o(this,S),o(this,u),o(this,y),o(this,P,-1),o(this,a,new A.Store(!1)),o(this,m,void 0),o(this,p,new $.Attribute(this,"history",!1)),o(this,E,new $.Attribute(this,"single",!1)),o(this,v,!1),this.open=()=>{r(this,a).current||(r(this,a).current=!0,r(this,E).current&&(exports.PopoverElement.__opened.forEach(e=>e.close()),exports.PopoverElement.__opened=[]),exports.PopoverElement.__opened.push(this),k(this,P,exports.PopoverElement.__opened.length-1),r(this,p).current&&r(this,v)&&history.pushState("","",r(this,S,C)),clearTimeout(r(this,m)),this.classList.add("triggered"),this.style.display="block",setTimeout(()=>{addEventListener("click",r(this,w)),addEventListener("keydown",r(this,g)),this.style.opacity="1",this.classList.add("opened")}))},this.close=()=>{r(this,a).current&&(r(this,a).current=!1,exports.PopoverElement.__opened=exports.PopoverElement.__opened.filter(e=>e!==this),r(this,p).current&&history.replaceState("","",location.href.replace(new RegExp(`[&?]${r(this,u,f)}`,"g"),"")),this.classList.remove("opened"),this.style.opacity="0",removeEventListener("click",r(this,w)),removeEventListener("keydown",r(this,g)),setTimeout(()=>{this.classList.remove("triggered"),this.style.display="none"},q.getElementTransitionDurationMS(this)))},o(this,w,e=>{T(this,y,L).call(this,()=>{const s=e.composedPath();(!s.find(i=>i===this)&&!s.find(i=>i instanceof HTMLElement&&i.closest("e-popover-button"))||s[0]instanceof HTMLElement&&s[0].hasAttribute("outside"))&&this.close()})}),o(this,g,e=>{T(this,y,L).call(this,()=>{e.code==="Escape"&&this.close()})}),o(this,_,()=>{k(this,v,!1),r(this,a).current&&r(this,p).current&&!location.search.includes(r(this,u,f))?this.close():!r(this,a).current&&r(this,p).current&&location.search.includes(r(this,u,f))&&this.open(),k(this,v,!0)})}get history(){return r(this,p)}get single(){return r(this,E)}get opened(){return r(this,a)}connectedCallback(){this.style.opacity="0",this.style.display="none",addEventListener("popstate",r(this,_)),setTimeout(()=>{r(this,_).call(this)},0)}disconnectedCallback(){clearTimeout(r(this,m)),removeEventListener("popstate",r(this,_))}};P=new WeakMap;a=new WeakMap;m=new WeakMap;p=new WeakMap;E=new WeakMap;v=new WeakMap;S=new WeakSet;C=function(){return`${location.pathname}${location.search?location.search+"&":"?"}${r(this,u,f)}`};u=new WeakSet;f=function(){return`modal-${this.id}`};w=new WeakMap;g=new WeakMap;y=new WeakSet;L=function(t){(exports.PopoverElement.__opened[r(this,P)-1]||exports.PopoverElement.__opened.length===1)&&t()};_=new WeakMap;exports.PopoverElement.__opened=[];exports.PopoverElement=I([M.define("e-popover")],exports.PopoverElement);var N=Object.defineProperty,G=Object.getOwnPropertyDescriptor,H=(t,e,s,i)=>{for(var n=i>1?void 0:i?G(e,s):e,c=t.length-1,l;c>=0;c--)(l=t[c])&&(n=(i?l(e,s,n):l(n))||n);return i&&n&&N(e,s,n),n},O=(t,e,s)=>{if(!e.has(t))throw TypeError("Cannot "+s)},d=(t,e,s)=>(O(t,e,"read from private field"),s?s.call(t):e.get(t)),R=(t,e,s)=>{if(e.has(t))throw TypeError("Cannot add the same private member more than once");e instanceof WeakSet?e.add(t):e.set(t,s)},b=(t,e,s,i)=>(O(t,e,"write to private field"),i?i.call(t,s):e.set(t,s),s),h;exports.PopoverButtonElement=class extends x.AbstractButtonElement{constructor(){super(...arguments),R(this,h,void 0)}get popoverElement(){return d(this,h)}click(){if(d(this,h)){const e=this.getAttribute("type")||"open";e==="open"||e==="toggle"&&!d(this,h).opened.current?d(this,h).open():(e==="close"||e==="toggle"&&d(this,h).opened.current)&&d(this,h).close()}}connectedCallback(){const e=this.getAttribute("target");if(e){const s=document.querySelector(`#${e}`)||this.getRootNode().querySelector(`#${e}`);s?b(this,h,s):console.warn(this,`target ${e} not found`)}}};h=new WeakMap;exports.PopoverButtonElement=H([M.define("e-popover-button")],exports.PopoverButtonElement);
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const $=require("../attribute/index.cjs"),M=require("../custom-element/index.cjs"),A=require("../Store-Dis8QUAR.cjs"),q=require("../style-At6aDoqG.cjs"),x=require("../abstract-elements/index.cjs");var B=Object.defineProperty,D=Object.getOwnPropertyDescriptor,I=(t,e,s,i)=>{for(var n=i>1?void 0:i?D(e,s):e,c=t.length-1,l;c>=0;c--)(l=t[c])&&(n=(i?l(e,s,n):l(n))||n);return i&&n&&B(e,s,n),n},W=(t,e,s)=>{if(!e.has(t))throw TypeError("Cannot "+s)},r=(t,e,s)=>(W(t,e,"read from private field"),s?s.call(t):e.get(t)),o=(t,e,s)=>{if(e.has(t))throw TypeError("Cannot add the same private member more than once");e instanceof WeakSet?e.add(t):e.set(t,s)},k=(t,e,s,i)=>(W(t,e,"write to private field"),i?i.call(t,s):e.set(t,s),s),T=(t,e,s)=>(W(t,e,"access private method"),s),P,a,m,p,E,v,S,C,u,f,w,g,y,L,_;exports.PopoverElement=class extends M.CustomElement{constructor(){super(...arguments),o(this,S),o(this,u),o(this,y),o(this,P,-1),o(this,a,new A.Store(!1)),o(this,m,void 0),o(this,p,new $.Attribute(this,"history",!1)),o(this,E,new $.Attribute(this,"single",!1)),o(this,v,!1),this.open=()=>{r(this,a).current||(r(this,a).current=!0,r(this,E).current&&(exports.PopoverElement.__opened.forEach(e=>e.close()),exports.PopoverElement.__opened=[]),exports.PopoverElement.__opened.push(this),k(this,P,exports.PopoverElement.__opened.length-1),r(this,p).current&&r(this,v)&&history.pushState("","",r(this,S,C)),clearTimeout(r(this,m)),this.classList.add("triggered"),this.style.display="block",setTimeout(()=>{addEventListener("click",r(this,w)),addEventListener("keydown",r(this,g)),this.style.opacity="1",this.classList.add("opened")}))},this.close=()=>{r(this,a).current&&(r(this,a).current=!1,exports.PopoverElement.__opened=exports.PopoverElement.__opened.filter(e=>e!==this),r(this,p).current&&history.replaceState("","",location.href.replace(new RegExp(`[&?]${r(this,u,f)}`,"g"),"")),this.classList.remove("opened"),this.style.opacity="0",removeEventListener("click",r(this,w)),removeEventListener("keydown",r(this,g)),setTimeout(()=>{this.classList.remove("triggered"),this.style.display="none"},q.getElementTransitionDurationMS(this)))},o(this,w,e=>{T(this,y,L).call(this,()=>{const s=e.composedPath();(!s.find(i=>i===this)&&!s.find(i=>i instanceof HTMLElement&&i.closest("e-popover-button"))||s[0]instanceof HTMLElement&&s[0].hasAttribute("outside"))&&this.close()})}),o(this,g,e=>{T(this,y,L).call(this,()=>{e.code==="Escape"&&this.close()})}),o(this,_,()=>{k(this,v,!1),r(this,a).current&&r(this,p).current&&!location.search.includes(r(this,u,f))?this.close():!r(this,a).current&&r(this,p).current&&location.search.includes(r(this,u,f))&&this.open(),k(this,v,!0)})}get history(){return r(this,p)}get single(){return r(this,E)}get opened(){return r(this,a)}connectedCallback(){this.style.opacity="0",this.style.display="none",addEventListener("popstate",r(this,_)),setTimeout(()=>{r(this,_).call(this)},0)}disconnectedCallback(){clearTimeout(r(this,m)),removeEventListener("popstate",r(this,_))}};P=new WeakMap;a=new WeakMap;m=new WeakMap;p=new WeakMap;E=new WeakMap;v=new WeakMap;S=new WeakSet;C=function(){return`${location.pathname}${location.search?location.search+"&":"?"}${r(this,u,f)}`};u=new WeakSet;f=function(){return`modal-${this.id}`};w=new WeakMap;g=new WeakMap;y=new WeakSet;L=function(t){(exports.PopoverElement.__opened[r(this,P)-1]||exports.PopoverElement.__opened.length===1)&&t()};_=new WeakMap;exports.PopoverElement.__opened=[];exports.PopoverElement=I([M.define("e-popover")],exports.PopoverElement);var N=Object.defineProperty,G=Object.getOwnPropertyDescriptor,H=(t,e,s,i)=>{for(var n=i>1?void 0:i?G(e,s):e,c=t.length-1,l;c>=0;c--)(l=t[c])&&(n=(i?l(e,s,n):l(n))||n);return i&&n&&N(e,s,n),n},O=(t,e,s)=>{if(!e.has(t))throw TypeError("Cannot "+s)},d=(t,e,s)=>(O(t,e,"read from private field"),s?s.call(t):e.get(t)),R=(t,e,s)=>{if(e.has(t))throw TypeError("Cannot add the same private member more than once");e instanceof WeakSet?e.add(t):e.set(t,s)},b=(t,e,s,i)=>(O(t,e,"write to private field"),i?i.call(t,s):e.set(t,s),s),h;exports.PopoverButtonElement=class extends x.AbstractButtonElement{constructor(){super(...arguments),R(this,h,void 0)}get popoverElement(){return d(this,h)}click(){if(d(this,h)){const e=this.getAttribute("type")||"open";e==="open"||e==="toggle"&&!d(this,h).opened.current?d(this,h).open():(e==="close"||e==="toggle"&&d(this,h).opened.current)&&d(this,h).close()}}connectedCallback(){const e=this.getAttribute("target");if(e){const s=document.querySelector(`#${e}`)||this.getRootNode().querySelector(`#${e}`);s?b(this,h,s):console.warn(this,`target ${e} not found`)}}};h=new WeakMap;exports.PopoverButtonElement=H([M.define("e-popover-button")],exports.PopoverButtonElement);
@@ -1,6 +1,6 @@
1
1
  import { Attribute as T } from "../attribute/index.js";
2
2
  import { CustomElement as D, define as P } from "../custom-element/index.js";
3
- import { S as I } from "../Store-JOKrNVEr.js";
3
+ import { S as I } from "../Store-DdDuj5hz.js";
4
4
  import { g as N } from "../style-j2TwriJ_.js";
5
5
  import { AbstractButtonElement as q } from "../abstract-elements/index.js";
6
6
  var B = Object.defineProperty, G = Object.getOwnPropertyDescriptor, H = (e, t, s, r) => {
@@ -1 +1 @@
1
- "use strict";var l=(e,s,r)=>{if(!s.has(e))throw TypeError("Cannot "+r)};var c=(e,s,r)=>(l(e,s,"read from private field"),r?r.call(e):s.get(e)),n=(e,s,r)=>{if(s.has(e))throw TypeError("Cannot add the same private member more than once");s instanceof WeakSet?s.add(e):s.set(e,r)},d=(e,s,r,i)=>(l(e,s,"write to private field"),i?i.call(e,r):s.set(e,r),r);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const b=require("../element-resizer/index.cjs"),z=require("../Store-D0_rDIsE.cjs"),h=require("../window-resizer/index.cjs");var t,u;class a extends z.Store{constructor(r,i){super(r(),i);n(this,t,void 0);n(this,u,()=>{this.current=c(this,t).call(this)});d(this,t,r),(i==null?void 0:i.dispatcher)instanceof Element?b.elementResizer.subscribe(i.dispatcher,c(this,u)):h.windowResizer.subscribe(c(this,u))}close(){super.close(),h.windowResizer.unsubscribe(c(this,t)),b.elementResizer.unsubscribe(c(this,t))}}t=new WeakMap,u=new WeakMap;exports.Resized=a;
1
+ "use strict";var l=(e,s,r)=>{if(!s.has(e))throw TypeError("Cannot "+r)};var c=(e,s,r)=>(l(e,s,"read from private field"),r?r.call(e):s.get(e)),n=(e,s,r)=>{if(s.has(e))throw TypeError("Cannot add the same private member more than once");s instanceof WeakSet?s.add(e):s.set(e,r)},d=(e,s,r,i)=>(l(e,s,"write to private field"),i?i.call(e,r):s.set(e,r),r);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const b=require("../element-resizer/index.cjs"),z=require("../Store-Dis8QUAR.cjs"),h=require("../window-resizer/index.cjs");var t,u;class a extends z.Store{constructor(r,i){super(r(),i);n(this,t,void 0);n(this,u,()=>{this.current=c(this,t).call(this)});d(this,t,r),(i==null?void 0:i.dispatcher)instanceof Element?b.elementResizer.subscribe(i.dispatcher,c(this,u)):h.windowResizer.subscribe(c(this,u))}close(){super.close(),h.windowResizer.unsubscribe(c(this,t)),b.elementResizer.unsubscribe(c(this,t))}}t=new WeakMap,u=new WeakMap;exports.Resized=a;
@@ -1,5 +1,6 @@
1
- import { Store, StoreOptions } from '../store';
2
1
  import { ElementOrSelector } from '../utils';
2
+ import { Store, StoreOptions } from '../store';
3
+
3
4
  export interface ResizedOptions extends StoreOptions<number, 'number'> {
4
5
  dispatcher?: ElementOrSelector;
5
6
  }
@@ -8,7 +8,7 @@ var c = (e, s, r) => (h(e, s, "read from private field"), r ? r.call(e) : s.get(
8
8
  s instanceof WeakSet ? s.add(e) : s.set(e, r);
9
9
  }, l = (e, s, r, i) => (h(e, s, "write to private field"), i ? i.call(e, r) : s.set(e, r), r);
10
10
  import { elementResizer as m } from "../element-resizer/index.js";
11
- import { S as d } from "../Store-JOKrNVEr.js";
11
+ import { S as d } from "../Store-DdDuj5hz.js";
12
12
  import { windowResizer as a } from "../window-resizer/index.js";
13
13
  var t, u;
14
14
  class o extends d {
@@ -1,4 +1,5 @@
1
1
  import { Router } from './Router';
2
+
2
3
  export declare class Link {
3
4
  #private;
4
5
  constructor(router: Router, element: HTMLElement);
@@ -1,4 +1,5 @@
1
1
  import { Route, RouteModule } from './Route';
2
+
2
3
  export interface RouterPreprocessorEntry {
3
4
  pathname: string;
4
5
  resolve: () => void;
@@ -0,0 +1 @@
1
+ "use strict";var X=(n,t)=>(t=Symbol[n])?t:Symbol.for("Symbol."+n);var z=(n,t,s)=>{if(!t.has(n))throw TypeError("Cannot "+s)};var e=(n,t,s)=>(z(n,t,"read from private field"),s?s.call(n):t.get(n)),r=(n,t,s)=>{if(t.has(n))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(n):t.set(n,s)},o=(n,t,s,i)=>(z(n,t,"write to private field"),i?i.call(n,s):t.set(n,s),s);var F=(n,t,s)=>(z(n,t,"access private method"),s);var B=(n,t,s)=>new Promise((i,u)=>{var h=f=>{try{d(s.next(f))}catch(T){u(T)}},a=f=>{try{d(s.throw(f))}catch(T){u(T)}},d=f=>f.done?i(f.value):Promise.resolve(f.value).then(h,a);d((s=s.apply(n,t)).next())});var G=(n,t,s)=>(t=n[X("asyncIterator")])?t.call(n):(n=n[X("iterator")](),t={},s=(i,u)=>(u=n[i])&&(t[i]=h=>new Promise((a,d,f)=>(h=u.call(n,h),f=h.done,Promise.resolve(h.value).then(T=>a({value:T,done:f}),d)))),s("next"),s("return"),t);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const tt=require("urlpattern-polyfill"),et=require("../notifier/index.cjs"),Z=require("../browser-CpzFX2xg.cjs"),st=require("../function-MthRj-GJ.cjs"),it=require("../object-BZELAoVj.cjs");var b,O,R,m,l,v,S,p,P,y,I,_;class nt{constructor(t,s){r(this,I);r(this,b,void 0);r(this,O,void 0);r(this,R,void 0);r(this,m,void 0);r(this,l,void 0);r(this,v,void 0);r(this,S,void 0);r(this,p,null);r(this,P,[]);r(this,y,[]);o(this,b,t),o(this,O,s),o(this,R,new URLPattern({pathname:e(this,b)})),o(this,m,null),o(this,l,null),o(this,v,!1),o(this,S,null),Z.isBrowser&&o(this,p,new MutationObserver(i=>{i[0].addedNodes.forEach(h=>{e(this,m)?e(this,y).push(h):e(this,P).push(h)})}))}get pattern(){return e(this,b)}get urlPattern(){return e(this,R)}get isActive(){return e(this,v)}get element(){return e(this,l)}get nest(){return e(this,S)}testPathname(t){return this.urlPattern.test({pathname:t})}render(t,s){return B(this,null,function*(){var i,u;if(e(this,p).observe(document.head,{childList:!0,subtree:!0}),e(this,m))e(this,P).forEach(h=>{document.head.appendChild(h)});else{const h=yield e(this,O).call(this);if(o(this,y,[...e(this,P)]),typeof h.default=="function"&&(o(this,m,h.default),it.isESClass(h.default))){const a="e-"+((i=e(this,m))==null?void 0:i.name.toLowerCase());customElements.get(a)||customElements.define(a,h.default)}}if(yield F(this,I,_).call(this),e(this,m)){const h=e(this,R).exec({pathname:s}),a=(h==null?void 0:h.pathname.groups)||{},d=Object.fromEntries(new URLSearchParams(location.search)),f={pathnameParams:a,searchParams:d};o(this,l,new(e(this,m))(f)),t.appendChild(e(this,l)),o(this,S,e(this,l).querySelector("[data-nest]")||((u=e(this,l).shadowRoot)==null?void 0:u.querySelector("[data-nest]"))||e(this,l).shadowRoot||e(this,l)),o(this,v,!0)}e(this,p).disconnect()})}close(){var t;e(this,p).disconnect(),(t=e(this,l))==null||t.remove(),o(this,v,!1),e(this,y).forEach(s=>document.head.removeChild(s)),o(this,y,[])}getAnchorElements(){var s;let t=[];return e(this,l)&&(t=[...e(this,l).querySelectorAll("a")]),(s=e(this,l))!=null&&s.shadowRoot&&(t=[...t,...e(this,l).shadowRoot.querySelectorAll("a")]),t}}b=new WeakMap,O=new WeakMap,R=new WeakMap,m=new WeakMap,l=new WeakMap,v=new WeakMap,S=new WeakMap,p=new WeakMap,P=new WeakMap,y=new WeakMap,I=new WeakSet,_=function(){return B(this,null,function*(){const t=e(this,P).filter(a=>a instanceof HTMLElement?a.tagName==="STYLE"||a.tagName==="SCRIPT"||a.tagName==="LINK":!1);try{for(var s=G(t),i,u,h;i=!(u=yield s.next()).done;i=!1){const a=u.value;yield new Promise(d=>{a.onload=()=>{d()}})}}catch(u){h=[u]}finally{try{i&&(u=s.return)&&(yield u.call(s))}finally{if(h)throw h[0]}}})};var H,g,A,U,j;class rt{constructor(t,s){r(this,H,void 0);r(this,g,void 0);r(this,A,void 0);r(this,U,void 0);r(this,j,t=>{t.preventDefault(),e(this,H).navigate(e(this,A),e(this,U))});o(this,H,t),o(this,g,s),o(this,A,e(this,g).getAttribute("href")||"/"),o(this,U,e(this,g).getAttribute("data-history-action")||"push"),e(this,g).addEventListener("click",e(this,j)),location.pathname===e(this,A)&&e(this,g).classList.add("current")}destroy(){e(this,g).removeEventListener("click",e(this,j)),e(this,g).classList.remove("current")}}H=new WeakMap,g=new WeakMap,A=new WeakMap,U=new WeakMap,j=new WeakMap;globalThis.URLPattern=tt.URLPattern;var k,q,w,N,M,E,C,x,D,K,$,W;const Y=class Y{constructor(t){r(this,K);r(this,k,null);r(this,q,void 0);r(this,w,[]);r(this,N,null);r(this,M,[]);r(this,E,void 0);r(this,C,null);r(this,x,new et.Notifier);r(this,D,st.debounce(()=>{const t=s=>s.split("/").length;o(this,w,e(this,w).sort((s,i)=>t(s.pattern)-t(i.pattern))),this.navigate(location.pathname.replace(e(this,q),""))},0));r(this,W,t=>{t.state&&this.navigate(t.state,"none")});o(this,q,(t==null?void 0:t.base)||""),Y.active=this,Z.isBrowser&&(o(this,k,(t==null?void 0:t.rootElement)||document.body),addEventListener("popstate",e(this,W)))}get currentPathname(){return e(this,C)}get candidatePathname(){return e(this,E)}get routes(){return e(this,w)}navigationEvent(t){return e(this,x).subscribe(t)}defineRoute(t,s){const i=new nt(t,s);e(this,w).push(i),e(this,D).call(this)}navigate(t,s="push"){return B(this,null,function*(){var f,Q;if(e(this,E)===t||e(this,C)===t)return;Y.active=this,o(this,E,t);const i=e(this,w).filter(c=>c.isActive),u=e(this,w).filter(c=>!i.includes(c)&&c.testPathname(t)),h=i.filter(c=>!c.testPathname(t)),a=i.filter(c=>c.testPathname(t));let d=!0;if(this.preprocessor)try{yield new Promise((c,L)=>{var V;(V=this.preprocessor)==null||V.call(this,{pathname:t,resolve:c,reject:L})})}catch(c){c?console.error(c):console.log("Route change canceled"),d=!1}if(d&&e(this,E)===t){o(this,N,a[a.length-1]),h.forEach(L=>{L.close()}),o(this,C,t);try{for(var T=G(u),at,ct,lt;at=!(ct=yield T.next()).done;at=!1){const L=ct.value;yield L.render(((f=e(this,N))==null?void 0:f.nest)||e(this,k),t),o(this,N,L)}}catch(ct){lt=[ct]}finally{try{at&&(ct=T.return)&&(yield ct.call(T))}finally{if(lt)throw lt[0]}}const c=e(this,q)+t+location.search;s==="push"?history.pushState(c,"",c):s==="replace"&&history.replaceState(c,"",c),F(this,K,$).call(this),(Q=this.postprocessor)==null||Q.call(this,{pathname:t}),e(this,x).notify({pathname:t})}})}};k=new WeakMap,q=new WeakMap,w=new WeakMap,N=new WeakMap,M=new WeakMap,E=new WeakMap,C=new WeakMap,x=new WeakMap,D=new WeakMap,K=new WeakSet,$=function(){const t=e(this,w).filter(i=>i.isActive),s=Array.from(new Set([...e(this,k).querySelectorAll("a"),...t.map(i=>i.getAnchorElements()).flat()].filter(i=>{var u;return(u=i.getAttribute("href"))==null?void 0:u.startsWith("/")})));e(this,M).forEach(i=>{i.destroy()}),o(this,M,s.map(i=>new rt(this,i)))},W=new WeakMap;let J=Y;exports.Router=J;