aptechka 0.5.42 → 0.7.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 (273) hide show
  1. package/lib/Animation-6Na1MCtM.cjs +1 -0
  2. package/lib/Animation-CELiTw3n.js +132 -0
  3. package/lib/Composed-DmLYTh1b.js +35 -0
  4. package/lib/Composed-Dx2hs-va.cjs +1 -0
  5. package/lib/{Damped-P4MkCGoY.js → Damped-Mx_FNNVz.js} +2 -5
  6. package/lib/Damped-loFiBsBy.cjs +1 -0
  7. package/lib/{Derived-kPJs5JC5.js → Derived-DlCvc0xQ.js} +1 -1
  8. package/lib/{Derived-B-g8dYgh.cjs → Derived-a6MDQEPY.cjs} +1 -1
  9. package/lib/ElementConstructor-CAZ2ra8m.cjs +1 -0
  10. package/lib/ElementConstructor-OYlPJf2L.js +366 -0
  11. package/lib/Resource-D3TQormz.cjs +1 -0
  12. package/lib/Resource-DIcoALGo.js +64 -0
  13. package/lib/{SourceManager-Q-PB-Rkh.js → SourceManager-Bz329f90.js} +1 -1
  14. package/lib/{SourceManager-vSlsMKUE.cjs → SourceManager-kxr5eUyL.cjs} +1 -1
  15. package/lib/Store-6s0YXK4o.cjs +1 -0
  16. package/lib/{Store-BQXXikps.js → Store-BI2xxXOA.js} +42 -42
  17. package/lib/Tweened-B_mclQ61.cjs +1 -0
  18. package/lib/Tweened-NE8M9onF.js +48 -0
  19. package/lib/{Viewport-DMB0dO-s.cjs → Viewport-CJeKnL5V.cjs} +1 -1
  20. package/lib/{Viewport-CFFhFKqX.js → Viewport-D9IL7kUQ.js} +1 -1
  21. package/lib/_createStore-Cf1MyeHa.cjs +1 -0
  22. package/lib/_createStore-Ck9bHolX.js +12 -0
  23. package/lib/accordion/AccordionElement.d.ts +5 -2
  24. package/lib/accordion/index.cjs +1 -1
  25. package/lib/accordion/index.js +141 -105
  26. package/lib/animation/Animation.d.ts +11 -19
  27. package/lib/animation/Damped.d.ts +4 -6
  28. package/lib/animation/Tweened.d.ts +2 -4
  29. package/lib/animation/index.cjs +1 -1
  30. package/lib/animation/index.js +3 -3
  31. package/lib/attribute/index.cjs +1 -1
  32. package/lib/attribute/index.d.ts +1 -1
  33. package/lib/attribute/index.js +31 -31
  34. package/lib/canvas/index.cjs +1 -1
  35. package/lib/canvas/index.d.ts +1 -1
  36. package/lib/canvas/index.js +29 -29
  37. package/lib/checkbox/index.cjs +1 -1
  38. package/lib/checkbox/index.js +20 -20
  39. package/lib/class-linked-status/index.cjs +1 -1
  40. package/lib/class-linked-status/index.js +1 -1
  41. package/lib/controls/AutoplayControls.d.ts +1 -1
  42. package/lib/controls/DragControls.d.ts +1 -1
  43. package/lib/controls/WheelControls.d.ts +1 -1
  44. package/lib/controls/index.cjs +1 -1
  45. package/lib/controls/index.js +3 -3
  46. package/lib/counter/index.d.ts +8 -0
  47. package/lib/{createStylesheet-DBCEbDjI.js → createStylesheet-CR_yi5tp.js} +1 -1
  48. package/lib/{createStylesheet-CqHU9_qv.cjs → createStylesheet-p23sZ7Ey.cjs} +1 -1
  49. package/lib/css-property/index.cjs +1 -1
  50. package/lib/css-property/index.d.ts +2 -1
  51. package/lib/css-property/index.js +36 -32
  52. package/lib/custom-element/index.d.ts +1 -4
  53. package/lib/dev/index.cjs +1 -1
  54. package/lib/dev/index.js +1 -1
  55. package/lib/device/index.cjs +1 -1
  56. package/lib/device/index.js +1 -1
  57. package/lib/element-constructor/ElementConstructor.d.ts +2 -2
  58. package/lib/element-constructor/index.cjs +1 -1
  59. package/lib/element-constructor/index.js +114 -113
  60. package/lib/en3/core/En3Raycaster.d.ts +20 -0
  61. package/lib/en3/core/En3View.d.ts +1 -1
  62. package/lib/en3/core/en3.d.ts +7 -3
  63. package/lib/en3/helpers/En3Controls.d.ts +5 -0
  64. package/lib/en3/helpers/En3GridHelper.d.ts +8 -0
  65. package/lib/en3/helpers/En3Object3dManager.d.ts +12 -0
  66. package/lib/en3/helpers/En3OrbitControls.d.ts +8 -0
  67. package/lib/en3/helpers/En3TransformControls.d.ts +8 -0
  68. package/lib/en3/helpers/index.cjs +1 -0
  69. package/lib/en3/helpers/index.d.ts +2 -0
  70. package/lib/en3/helpers/index.js +1165 -0
  71. package/lib/en3/index.cjs +1 -215
  72. package/lib/en3/index.d.ts +1 -19
  73. package/lib/en3/index.js +4 -4227
  74. package/lib/en3/libs/index.cjs +1 -0
  75. package/lib/en3/libs/index.d.ts +1 -0
  76. package/lib/en3/libs/index.js +201 -0
  77. package/lib/en3/loaders/_En3GLTFLoader.d.ts +12 -0
  78. package/lib/en3/loaders/_En3TextureLoader.d.ts +8 -0
  79. package/lib/en3/loaders/index.cjs +1 -0
  80. package/lib/en3/loaders/index.d.ts +3 -0
  81. package/lib/en3/loaders/index.js +1757 -0
  82. package/lib/en3/loaders/loaders.d.ts +13 -0
  83. package/lib/en3/misc/index.cjs +10 -0
  84. package/lib/en3/misc/index.d.ts +2 -0
  85. package/lib/en3/misc/index.js +115 -0
  86. package/lib/en3/objects/En3Clip.d.ts +1 -1
  87. package/lib/en3/objects/En3ClipHelpers.d.ts +1 -1
  88. package/lib/en3/objects/En3GLTF.d.ts +4 -3
  89. package/lib/en3/objects/En3Image.d.ts +1 -1
  90. package/lib/en3/objects/En3ImageLike.d.ts +3 -2
  91. package/lib/en3/objects/En3SourceConsumer.d.ts +1 -1
  92. package/lib/en3/objects/En3Video.d.ts +1 -1
  93. package/lib/en3/objects/fluid/Advection.d.ts +1 -1
  94. package/lib/en3/objects/fluid/Divergence.d.ts +1 -1
  95. package/lib/en3/objects/fluid/En3Fluid.d.ts +1 -1
  96. package/lib/en3/objects/fluid/En3FluidElement.d.ts +1 -1
  97. package/lib/en3/objects/fluid/ExternalForce.d.ts +1 -1
  98. package/lib/en3/objects/fluid/Poisson.d.ts +1 -1
  99. package/lib/en3/objects/fluid/Pressure.d.ts +1 -1
  100. package/lib/en3/objects/fluid/Simulation.d.ts +1 -1
  101. package/lib/en3/objects/fluid/Viscous.d.ts +1 -1
  102. package/lib/en3/objects/fluid/index.d.ts +0 -3
  103. package/lib/en3/objects/index.d.ts +7 -0
  104. package/lib/en3/utils/coverTexture.d.ts +1 -1
  105. package/lib/en3/utils/index.cjs +1 -0
  106. package/lib/en3/utils/index.d.ts +5 -0
  107. package/lib/en3/utils/index.js +43 -0
  108. package/lib/en3-C4mzaF6q.cjs +8 -0
  109. package/lib/en3-hbkN1OPu.js +343 -0
  110. package/lib/globals-DMjysUXI.js +8 -0
  111. package/lib/globals-bYKki-b9.cjs +1 -0
  112. package/lib/image/index.cjs +1 -1
  113. package/lib/image/index.js +1 -1
  114. package/lib/{index-BtsOv9u0.js → index-BAH_fO2N.js} +66 -66
  115. package/lib/index-D1LQUR-R.cjs +9 -0
  116. package/lib/instantiate-D19Uvc31.js +125 -0
  117. package/lib/instantiate-Db5gGSYG.cjs +1 -0
  118. package/lib/jsx/ComponentElement.d.ts +18 -0
  119. package/lib/jsx/globals.d.ts +13 -0
  120. package/lib/jsx/h.d.ts +7 -0
  121. package/lib/jsx/hooks/basic/_createStore.d.ts +4 -0
  122. package/lib/jsx/hooks/basic/attachInternals.d.ts +1 -0
  123. package/lib/jsx/hooks/basic/attachShadow.d.ts +1 -0
  124. package/lib/jsx/hooks/basic/attachStylesheet.d.ts +3 -0
  125. package/lib/jsx/hooks/basic/createContext.d.ts +2 -0
  126. package/lib/jsx/hooks/basic/onConnect.d.ts +3 -0
  127. package/lib/jsx/hooks/basic/onDisconnect.d.ts +3 -0
  128. package/lib/jsx/hooks/onAnimationFrame.cjs +1 -0
  129. package/lib/jsx/hooks/onAnimationFrame.d.ts +6 -0
  130. package/lib/jsx/hooks/onAnimationFrame.js +22 -0
  131. package/lib/jsx/hooks/onElementResize.cjs +1 -0
  132. package/lib/jsx/hooks/onElementResize.d.ts +5 -0
  133. package/lib/jsx/hooks/onElementResize.js +11 -0
  134. package/lib/jsx/hooks/onIntersection.cjs +1 -0
  135. package/lib/jsx/hooks/onIntersection.d.ts +5 -0
  136. package/lib/jsx/hooks/onIntersection.js +11 -0
  137. package/lib/jsx/hooks/onWindowResize.cjs +1 -0
  138. package/lib/jsx/hooks/onWindowResize.d.ts +3 -0
  139. package/lib/jsx/hooks/onWindowResize.js +8 -0
  140. package/lib/jsx/hooks/store/createArrayStore.d.ts +3 -0
  141. package/lib/jsx/hooks/store/createComposed.d.ts +3 -0
  142. package/lib/jsx/hooks/store/createDerived.d.ts +3 -0
  143. package/lib/jsx/hooks/store/createDerivedArray.d.ts +3 -0
  144. package/lib/jsx/hooks/store/createDerivedComponent.d.ts +3 -0
  145. package/lib/jsx/hooks/store/createDerivedComponents.d.ts +3 -0
  146. package/lib/jsx/hooks/store/createResource.d.ts +3 -0
  147. package/lib/jsx/hooks/store/createStore.d.ts +3 -0
  148. package/lib/jsx/hooks/store/index.cjs +1 -0
  149. package/lib/jsx/hooks/store/index.d.ts +7 -0
  150. package/lib/jsx/hooks/store/index.js +49 -0
  151. package/lib/jsx/hooks/watchAttribute.cjs +1 -0
  152. package/lib/jsx/hooks/watchAttribute.d.ts +6 -0
  153. package/lib/jsx/hooks/watchAttribute.js +17 -0
  154. package/lib/jsx/hooks/watchCSSProperty.cjs +1 -0
  155. package/lib/jsx/hooks/watchCSSProperty.d.ts +7 -0
  156. package/lib/jsx/hooks/watchCSSProperty.js +17 -0
  157. package/lib/jsx/index.cjs +1 -0
  158. package/lib/jsx/index.d.ts +13 -0
  159. package/lib/jsx/index.js +91 -0
  160. package/lib/jsx/instantiate.d.ts +5 -0
  161. package/lib/jsx/register.d.ts +1 -0
  162. package/lib/jsx/render.d.ts +6 -0
  163. package/lib/jsx/type.d.ts +188 -0
  164. package/lib/ladder/index.cjs +1 -1
  165. package/lib/ladder/index.d.ts +2 -0
  166. package/lib/ladder/index.js +84 -66
  167. package/lib/layout-box/index.cjs +1 -1
  168. package/lib/layout-box/index.d.ts +11 -2
  169. package/lib/layout-box/index.js +190 -164
  170. package/lib/media/index.cjs +1 -1
  171. package/lib/media/index.js +1 -1
  172. package/lib/modal/index.cjs +1 -1
  173. package/lib/modal/index.js +16 -16
  174. package/lib/morph/Morph.d.ts +2 -2
  175. package/lib/morph/index.cjs +1 -1
  176. package/lib/morph/index.d.ts +1 -1
  177. package/lib/morph/index.js +135 -143
  178. package/lib/notifier/index.d.ts +2 -2
  179. package/lib/notifier/index.js +3 -1
  180. package/lib/onConnect-DGP866cj.cjs +1 -0
  181. package/lib/onConnect-y5DrxJ9P.js +7 -0
  182. package/lib/pointer/Pointer.d.ts +1 -1
  183. package/lib/pointer/PointerElement.d.ts +1 -1
  184. package/lib/pointer/index.cjs +1 -1
  185. package/lib/pointer/index.js +3 -3
  186. package/lib/polyfills-CM4SCDTt.cjs +1 -0
  187. package/lib/polyfills-X6KXuHg-.js +33 -0
  188. package/lib/popover/PopoverButtonElement.d.ts +1 -1
  189. package/lib/popover/PopoverElement.d.ts +2 -2
  190. package/lib/popover/index.cjs +1 -1
  191. package/lib/popover/index.js +49 -49
  192. package/lib/router/Router.d.ts +11 -3
  193. package/lib/router/index.cjs +1 -1
  194. package/lib/router/index.d.ts +1 -1
  195. package/lib/router/index.js +185 -165
  196. package/lib/scroll/ScrollElement.d.ts +8 -25
  197. package/lib/scroll/ScrollSection.d.ts +23 -0
  198. package/lib/scroll/ScrollSegmentElement.d.ts +3 -3
  199. package/lib/scroll/ScrollUserElement.d.ts +1 -1
  200. package/lib/scroll/index.cjs +1 -1
  201. package/lib/scroll/index.js +87 -83
  202. package/lib/scroll-entries/index.d.ts +1 -1
  203. package/lib/select/SelectUserElement.d.ts +1 -1
  204. package/lib/select/index.cjs +1 -1
  205. package/lib/select/index.js +1 -1
  206. package/lib/sequence/index.cjs +1 -1
  207. package/lib/sequence/index.d.ts +1 -1
  208. package/lib/sequence/index.js +8 -8
  209. package/lib/slicer/SlicerElement.d.ts +2 -2
  210. package/lib/slicer/index.cjs +4 -4
  211. package/lib/slicer/index.js +31 -31
  212. package/lib/source/SourceElement.d.ts +2 -2
  213. package/lib/source/SourceManager.d.ts +1 -1
  214. package/lib/source/index.cjs +1 -1
  215. package/lib/source/index.js +2 -2
  216. package/lib/store/ArrayStore.d.ts +21 -0
  217. package/lib/store/Store.d.ts +1 -7
  218. package/lib/store/index.cjs +1 -1
  219. package/lib/store/index.d.ts +2 -2
  220. package/lib/store/index.js +65 -139
  221. package/lib/tags-BqJKcIve.js +485 -0
  222. package/lib/tags-ld5jemJw.cjs +1 -0
  223. package/lib/theme/index.cjs +1 -1
  224. package/lib/theme/index.js +2 -2
  225. package/lib/tweaker/TweakerBooleanManagerElement.d.ts +2 -2
  226. package/lib/tweaker/TweakerColorManagerElement.d.ts +2 -2
  227. package/lib/tweaker/TweakerElement.d.ts +1 -1
  228. package/lib/tweaker/TweakerFieldElement.d.ts +2 -2
  229. package/lib/tweaker/TweakerFolderElement.d.ts +5 -3
  230. package/lib/tweaker/TweakerLinkManagerElement.d.ts +2 -2
  231. package/lib/tweaker/TweakerNumberManagerElement.d.ts +4 -8
  232. package/lib/tweaker/TweakerSelectManagerElement.d.ts +2 -2
  233. package/lib/tweaker/TweakerStoreManagerElement.d.ts +7 -7
  234. package/lib/tweaker/TweakerStringManagerElement.d.ts +3 -5
  235. package/lib/tweaker/index.cjs +3 -3
  236. package/lib/tweaker/index.js +535 -412
  237. package/lib/tweaker/tweakerManagerConstructors.d.ts +2 -2
  238. package/lib/tweaker/tweakerStorage.d.ts +8 -1
  239. package/lib/url-C3dWnJQg.cjs +1 -0
  240. package/lib/url-DMNfW7uN.js +22 -0
  241. package/lib/utils/function.d.ts +2 -2
  242. package/lib/utils/index.cjs +1 -1
  243. package/lib/utils/index.d.ts +1 -0
  244. package/lib/utils/index.js +39 -34
  245. package/lib/utils/layout.d.ts +1 -1
  246. package/lib/utils/number.d.ts +1 -0
  247. package/lib/utils/url.d.ts +9 -0
  248. package/lib/video/index.cjs +1 -1
  249. package/lib/video/index.js +14 -14
  250. package/package.json +108 -12
  251. package/lib/Animation-DDHjrbtL.cjs +0 -1
  252. package/lib/Animation-Dq_05jlR.js +0 -217
  253. package/lib/Damped-l0mnlhar.cjs +0 -1
  254. package/lib/Store-C-1ruEIm.cjs +0 -1
  255. package/lib/Tweened-CwDC2zl8.js +0 -51
  256. package/lib/Tweened-DIt9j9B-.cjs +0 -1
  257. package/lib/animation/AnimationLink.d.ts +0 -13
  258. package/lib/en3/loaders/en3GLTFLoader.d.ts +0 -14
  259. package/lib/en3/loaders/en3TextureLoader.d.ts +0 -3
  260. package/lib/en3/test/En3HTML.d.ts +0 -10
  261. package/lib/index-Buf76Qoq.cjs +0 -9
  262. package/lib/polyfills-BA-CL_HF.js +0 -27
  263. package/lib/polyfills-DHs2SNbz.cjs +0 -1
  264. package/lib/resized/index.cjs +0 -1
  265. package/lib/resized/index.d.ts +0 -12
  266. package/lib/resized/index.js +0 -30
  267. package/lib/store/CumulativeResource.d.ts +0 -13
  268. package/lib/tags-CMPg9ETZ.js +0 -848
  269. package/lib/tags-Djb6mb1o.cjs +0 -1
  270. package/lib/tweaker/TweakerRangeManagerElement.d.ts +0 -11
  271. package/lib/en3/{loaders → core}/en3Cache.d.ts +0 -0
  272. package/lib/en3/{test → misc}/En3ModifiedMaterial.d.ts +0 -0
  273. package/lib/en3/{attachments → misc}/En3SourceManager.d.ts +2 -2
@@ -1,23 +1,23 @@
1
1
  import { CSSProperty as F } from "../css-property/index.js";
2
2
  import { CustomElement as O, define as B } from "../custom-element/index.js";
3
- import "../Store-BQXXikps.js";
3
+ import "../Store-BI2xxXOA.js";
4
4
  import { c as z } from "../math-BOBiC4TN.js";
5
- import { e as A, q as D } from "../tags-CMPg9ETZ.js";
6
- import { c as L } from "../createStylesheet-DBCEbDjI.js";
7
- import { elementResizer as b } from "../element-resizer/index.js";
5
+ import { e as A, q as D } from "../tags-BqJKcIve.js";
6
+ import { c as L } from "../createStylesheet-CR_yi5tp.js";
7
+ import { elementResizer as M } from "../element-resizer/index.js";
8
8
  import { ticker as S } from "../ticker/index.js";
9
- var T = Object.defineProperty, q = Object.getOwnPropertyDescriptor, G = (t, i, s, h) => {
10
- for (var r = h > 1 ? void 0 : h ? q(i, s) : i, k = t.length - 1, R; k >= 0; k--)
11
- (R = t[k]) && (r = (h ? R(i, s, r) : R(r)) || r);
12
- return h && r && T(i, s, r), r;
13
- }, M = (t, i, s) => {
9
+ var T = Object.defineProperty, q = Object.getOwnPropertyDescriptor, G = (t, i, s, l) => {
10
+ for (var r = l > 1 ? void 0 : l ? q(i, s) : i, k = t.length - 1, R; k >= 0; k--)
11
+ (R = t[k]) && (r = (l ? R(i, s, r) : R(r)) || r);
12
+ return l && r && T(i, s, r), r;
13
+ }, E = (t, i, s) => {
14
14
  if (!i.has(t))
15
15
  throw TypeError("Cannot " + s);
16
- }, e = (t, i, s) => (M(t, i, "read from private field"), s ? s.call(t) : i.get(t)), a = (t, i, s) => {
16
+ }, e = (t, i, s) => (E(t, i, "read from private field"), s ? s.call(t) : i.get(t)), a = (t, i, s) => {
17
17
  if (i.has(t))
18
18
  throw TypeError("Cannot add the same private member more than once");
19
19
  i instanceof WeakSet ? i.add(t) : i.set(t, s);
20
- }, n = (t, i, s, h) => (M(t, i, "write to private field"), h ? h.call(t, s) : i.set(t, s), s), u = (t, i, s) => (M(t, i, "access private method"), s), o, c, d, p, l, m, f, _, w, W, C, P, x, v, g, E;
20
+ }, h = (t, i, s, l) => (E(t, i, "write to private field"), i.set(t, s), s), u = (t, i, s) => (E(t, i, "access private method"), s), c, n, d, o, p, m, f, _, w, W, C, P, x, v, g, b;
21
21
  const H = L({
22
22
  ":host, canvas": {
23
23
  display: "block",
@@ -27,25 +27,25 @@ const H = L({
27
27
  });
28
28
  let y = class extends O {
29
29
  constructor() {
30
- super(), a(this, w), a(this, C), a(this, g), a(this, o, new F(this, "--fps", 0)), a(this, c, null), a(this, d, null), a(this, p, 0), a(this, l, 0), a(this, m, 1), a(this, f, 0), a(this, _, 1), a(this, x, (t) => {
31
- n(this, m, z(devicePixelRatio, 1, 2)), n(this, p, t.contentRect.width), n(this, l, t.contentRect.height), e(this, c).width = e(this, p) * this.pixelRatio, e(this, c).height = e(this, l) * this.pixelRatio, this.context.scale(this.pixelRatio, this.pixelRatio), u(this, g, E).call(this);
30
+ super(), a(this, w), a(this, C), a(this, g), a(this, c, new F(this, "--fps", 0)), a(this, n, null), a(this, d, null), a(this, o, 0), a(this, p, 0), a(this, m, 1), a(this, f, 0), a(this, _, 1), a(this, x, (t) => {
31
+ h(this, m, z(devicePixelRatio, 1, 2)), h(this, o, t.contentRect.width), h(this, p, t.contentRect.height), e(this, n).width = e(this, o) * this.pixelRatio, e(this, n).height = e(this, p) * this.pixelRatio, this.context.scale(this.pixelRatio, this.pixelRatio), u(this, g, b).call(this);
32
32
  }), a(this, v, (t) => {
33
- n(this, f, t.timestamp), n(this, _, t.timeBetweenFrames), u(this, g, E).call(this);
33
+ h(this, f, t.timestamp), h(this, _, t.timeBetweenFrames), u(this, g, b).call(this);
34
34
  }), this.openShadow(H), A(this, {
35
35
  children: D({
36
36
  ref: (t) => {
37
- n(this, c, t), n(this, d, t.getContext("2d"));
37
+ h(this, n, t), h(this, d, t.getContext("2d"));
38
38
  }
39
39
  })
40
- }), e(this, o).subscribe((t) => {
40
+ }), e(this, c).subscribe((t) => {
41
41
  typeof t.previous != "undefined" && t.current !== t.previous && u(this, w, W).call(this);
42
42
  });
43
43
  }
44
44
  get fpsCSSProperty() {
45
- return e(this, o);
45
+ return e(this, c);
46
46
  }
47
47
  get canvasElement() {
48
- return e(this, c);
48
+ return e(this, n);
49
49
  }
50
50
  get context() {
51
51
  return e(this, d);
@@ -54,17 +54,17 @@ let y = class extends O {
54
54
  return e(this, m);
55
55
  }
56
56
  get width() {
57
- return e(this, p);
57
+ return e(this, o);
58
58
  }
59
59
  get height() {
60
- return e(this, l);
60
+ return e(this, p);
61
61
  }
62
62
  get detail() {
63
63
  return {
64
- width: e(this, p),
65
- height: e(this, l),
64
+ width: e(this, o),
65
+ height: e(this, p),
66
66
  element: this,
67
- canvasElement: e(this, c),
67
+ canvasElement: e(this, n),
68
68
  pixelRatio: e(this, m),
69
69
  context: e(this, d),
70
70
  timestamp: e(this, f),
@@ -72,17 +72,17 @@ let y = class extends O {
72
72
  };
73
73
  }
74
74
  connectedCallback() {
75
- e(this, o).observe(), b.subscribe(this, e(this, x)), u(this, w, W).call(this);
75
+ e(this, c).observe(), M.subscribe(this, e(this, x)), u(this, w, W).call(this);
76
76
  }
77
77
  disconnectedCallback() {
78
- e(this, o).unobserve(), b.unsubscribe(e(this, x)), u(this, C, P).call(this);
78
+ e(this, c).unobserve(), M.unsubscribe(e(this, x)), u(this, C, P).call(this);
79
79
  }
80
80
  };
81
- o = /* @__PURE__ */ new WeakMap();
82
81
  c = /* @__PURE__ */ new WeakMap();
82
+ n = /* @__PURE__ */ new WeakMap();
83
83
  d = /* @__PURE__ */ new WeakMap();
84
+ o = /* @__PURE__ */ new WeakMap();
84
85
  p = /* @__PURE__ */ new WeakMap();
85
- l = /* @__PURE__ */ new WeakMap();
86
86
  m = /* @__PURE__ */ new WeakMap();
87
87
  f = /* @__PURE__ */ new WeakMap();
88
88
  _ = /* @__PURE__ */ new WeakMap();
@@ -90,7 +90,7 @@ w = /* @__PURE__ */ new WeakSet();
90
90
  W = function() {
91
91
  S.unsubscribe(e(this, v)), this.hasAttribute("static") || S.subscribe(e(this, v), {
92
92
  culling: this,
93
- maxFPS: e(this, o).current
93
+ maxFPS: e(this, c).current
94
94
  });
95
95
  };
96
96
  C = /* @__PURE__ */ new WeakSet();
@@ -100,7 +100,7 @@ P = function() {
100
100
  x = /* @__PURE__ */ new WeakMap();
101
101
  v = /* @__PURE__ */ new WeakMap();
102
102
  g = /* @__PURE__ */ new WeakSet();
103
- E = function() {
103
+ b = function() {
104
104
  this.dispatchEvent(
105
105
  new CustomEvent("canvasRender", {
106
106
  composed: !0,
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const m=require("../custom-element/index.cjs");require("../Store-C-1ruEIm.cjs");const h=require("../tags-Djb6mb1o.cjs"),_=require("../createStylesheet-CqHU9_qv.cjs"),v=require("../theme/index.cjs"),w='<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 256 256"><path d="m243.33 90.91l-128.41 128.4a16 16 0 0 1-22.63 0l-71.62-72a16 16 0 0 1 0-22.61l24-24a16 16 0 0 1 22.57-.06l36.64 35.27l.11.11l92.73-91.37a16 16 0 0 1 22.58 0l24 23.56a16 16 0 0 1 .03 22.7Z"/></svg>';var x=Object.defineProperty,b=Object.getOwnPropertyDescriptor,y=(t,e,a,i)=>{for(var s=i>1?void 0:i?b(e,a):e,u=t.length-1,p;u>=0;u--)(p=t[u])&&(s=(i?p(e,a,s):p(s))||s);return i&&s&&x(e,a,s),s},k=(t,e,a)=>{if(!e.has(t))throw TypeError("Cannot "+a)},c=(t,e,a)=>(k(t,e,"read from private field"),a?a.call(t):e.get(t)),f=(t,e,a)=>{if(e.has(t))throw TypeError("Cannot add the same private member more than once");e instanceof WeakSet?e.add(t):e.set(t,a)},g=(t,e,a,i)=>(k(t,e,"write to private field"),i?i.call(t,a):e.set(t,a),a),d=(t,e,a)=>(k(t,e,"access private method"),a),r,o,l,n;const C=_.createStylesheet({":host":{position:"relative",display:"inline-block",width:"30px",height:"30px",borderRadius:v.aptechkaTheme.borderRadiusSmall.var,overflow:"hidden"},"label, .fake":{display:"block"},"label, .fake, .default":{width:"100%",height:"100%"},".real":{position:"absolute",top:"0",left:"0",width:"0px",height:"0px",visibility:"hidden",margin:"0"},".default":{display:"flex",alignItems:"center",justifyContent:"center",backgroundColor:v.aptechkaTheme.colorMainAux.var},".default svg":{width:"60%",height:"60%",fill:v.aptechkaTheme.colorFont.var,opacity:0,transition:"var(--duration-short)"},":host(.checked) .default svg":{opacity:1}});exports.CheckboxElement=class extends m.CustomElement{constructor(){super(),f(this,l),f(this,r,null),f(this,o,void 0),this.openShadow(C),g(this,o,this.attachInternals()),h.element(this,{children:h.label({children:[h.span({class:"fake",children:h.slot({children:[h.span({class:"default",children:[w]})]})}),h.input({ref:e=>{g(this,r,e),e.required=this.hasAttribute("required"),e.value=this.getAttribute("value")||"",e.checked=this.hasAttribute("checked"),e.name=this.getAttribute("name")||"",d(this,l,n).call(this)},class:"real",type:"checkbox",onChange:()=>{d(this,l,n).call(this),this.dispatchEvent(new Event("change",{composed:!0}))}})]})})}get checked(){return c(this,r).checked}set checked(e){c(this,r).checked=e,d(this,l,n).call(this)}get value(){return c(this,r).value}set value(e){c(this,r).value=e,d(this,l,n).call(this)}};r=new WeakMap;o=new WeakMap;l=new WeakSet;n=function(){this.checked?c(this,o).setFormValue(this.value):c(this,o).setFormValue(null),this.classList.toggle("checked",this.checked)};exports.CheckboxElement.formAssociated=!0;exports.CheckboxElement=y([m.define("e-checkbox")],exports.CheckboxElement);
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const m=require("../custom-element/index.cjs");require("../Store-6s0YXK4o.cjs");const r=require("../tags-ld5jemJw.cjs"),_=require("../createStylesheet-p23sZ7Ey.cjs"),v=require("../theme/index.cjs"),w='<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 256 256"><path d="m243.33 90.91l-128.41 128.4a16 16 0 0 1-22.63 0l-71.62-72a16 16 0 0 1 0-22.61l24-24a16 16 0 0 1 22.57-.06l36.64 35.27l.11.11l92.73-91.37a16 16 0 0 1 22.58 0l24 23.56a16 16 0 0 1 .03 22.7Z"/></svg>';var x=Object.defineProperty,b=Object.getOwnPropertyDescriptor,y=(t,e,a,c)=>{for(var i=c>1?void 0:c?b(e,a):e,u=t.length-1,p;u>=0;u--)(p=t[u])&&(i=(c?p(e,a,i):p(i))||i);return c&&i&&x(e,a,i),i},k=(t,e,a)=>{if(!e.has(t))throw TypeError("Cannot "+a)},l=(t,e,a)=>(k(t,e,"read from private field"),a?a.call(t):e.get(t)),f=(t,e,a)=>{if(e.has(t))throw TypeError("Cannot add the same private member more than once");e instanceof WeakSet?e.add(t):e.set(t,a)},g=(t,e,a,c)=>(k(t,e,"write to private field"),e.set(t,a),a),d=(t,e,a)=>(k(t,e,"access private method"),a),s,o,h,n;const C=_.createStylesheet({":host":{position:"relative",display:"inline-block",width:"30px",height:"30px",borderRadius:v.aptechkaTheme.borderRadiusSmall.var,overflow:"hidden"},"label, .fake":{display:"block"},"label, .fake, .default":{width:"100%",height:"100%"},".real":{position:"absolute",top:"0",left:"0",width:"0px",height:"0px",visibility:"hidden",margin:"0"},".default":{display:"flex",alignItems:"center",justifyContent:"center",backgroundColor:v.aptechkaTheme.colorMainAux.var},".default svg":{width:"60%",height:"60%",fill:v.aptechkaTheme.colorFont.var,opacity:0,transition:"var(--duration-short)"},":host(.checked) .default svg":{opacity:1}});exports.CheckboxElement=class extends m.CustomElement{constructor(){super(),f(this,h),f(this,s,null),f(this,o,void 0),this.openShadow(C),g(this,o,this.attachInternals()),r.element(this,{children:r.label({children:[r.span({class:"fake",children:r.slot({children:[r.span({class:"default",children:[w]})]})}),r.input({ref:e=>{g(this,s,e),e.required=this.hasAttribute("required"),e.value=this.getAttribute("value")||"",e.checked=this.hasAttribute("checked"),e.name=this.getAttribute("name")||"",d(this,h,n).call(this)},class:"real",type:"checkbox",onChange:()=>{d(this,h,n).call(this),this.dispatchEvent(new Event("change",{composed:!0}))}})]})})}get checked(){return l(this,s).checked}set checked(e){l(this,s).checked=e,d(this,h,n).call(this)}get value(){return l(this,s).value}set value(e){l(this,s).value=e,d(this,h,n).call(this)}};s=new WeakMap;o=new WeakMap;h=new WeakSet;n=function(){this.checked?l(this,o).setFormValue(this.value):l(this,o).setFormValue(null),this.classList.toggle("checked",this.checked)};exports.CheckboxElement.formAssociated=!0;exports.CheckboxElement=y([m.define("e-checkbox")],exports.CheckboxElement);
@@ -1,21 +1,21 @@
1
1
  import { CustomElement as w, define as _ } from "../custom-element/index.js";
2
- import "../Store-BQXXikps.js";
3
- import { e as x, a3 as y, aB as g, ay as b, a0 as C } from "../tags-CMPg9ETZ.js";
4
- import { c as A } from "../createStylesheet-DBCEbDjI.js";
2
+ import "../Store-BI2xxXOA.js";
3
+ import { e as x, a2 as y, aA as g, ax as b, $ as C } from "../tags-BqJKcIve.js";
4
+ import { c as A } from "../createStylesheet-CR_yi5tp.js";
5
5
  import { aptechkaTheme as u } from "../theme/index.js";
6
6
  const E = '<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 256 256"><path d="m243.33 90.91l-128.41 128.4a16 16 0 0 1-22.63 0l-71.62-72a16 16 0 0 1 0-22.61l24-24a16 16 0 0 1 22.57-.06l36.64 35.27l.11.11l92.73-91.37a16 16 0 0 1 22.58 0l24 23.56a16 16 0 0 1 .03 22.7Z"/></svg>';
7
- var S = Object.defineProperty, F = Object.getOwnPropertyDescriptor, M = (e, t, a, i) => {
8
- for (var s = i > 1 ? void 0 : i ? F(t, a) : t, d = e.length - 1, p; d >= 0; d--)
9
- (p = e[d]) && (s = (i ? p(t, a, s) : p(s)) || s);
10
- return i && s && S(t, a, s), s;
7
+ var S = Object.defineProperty, F = Object.getOwnPropertyDescriptor, M = (e, t, a, l) => {
8
+ for (var i = l > 1 ? void 0 : l ? F(t, a) : t, d = e.length - 1, p; d >= 0; d--)
9
+ (p = e[d]) && (i = (l ? p(t, a, i) : p(i)) || i);
10
+ return l && i && S(t, a, i), i;
11
11
  }, m = (e, t, a) => {
12
12
  if (!t.has(e))
13
13
  throw TypeError("Cannot " + a);
14
- }, l = (e, t, a) => (m(e, t, "read from private field"), a ? a.call(e) : t.get(e)), v = (e, t, a) => {
14
+ }, h = (e, t, a) => (m(e, t, "read from private field"), a ? a.call(e) : t.get(e)), v = (e, t, a) => {
15
15
  if (t.has(e))
16
16
  throw TypeError("Cannot add the same private member more than once");
17
17
  t instanceof WeakSet ? t.add(e) : t.set(e, a);
18
- }, k = (e, t, a, i) => (m(e, t, "write to private field"), i ? i.call(e, a) : t.set(e, a), a), o = (e, t, a) => (m(e, t, "access private method"), a), r, n, h, c;
18
+ }, k = (e, t, a, l) => (m(e, t, "write to private field"), t.set(e, a), a), n = (e, t, a) => (m(e, t, "access private method"), a), s, o, r, c;
19
19
  const O = A({
20
20
  ":host": {
21
21
  position: "relative",
@@ -60,7 +60,7 @@ const O = A({
60
60
  });
61
61
  let f = class extends w {
62
62
  constructor() {
63
- super(), v(this, h), v(this, r, null), v(this, n, void 0), this.openShadow(O), k(this, n, this.attachInternals()), x(this, {
63
+ super(), v(this, r), v(this, s, null), v(this, o, void 0), this.openShadow(O), k(this, o, this.attachInternals()), x(this, {
64
64
  children: y({
65
65
  children: [
66
66
  g({
@@ -76,12 +76,12 @@ let f = class extends w {
76
76
  }),
77
77
  C({
78
78
  ref: (e) => {
79
- k(this, r, e), e.required = this.hasAttribute("required"), e.value = this.getAttribute("value") || "", e.checked = this.hasAttribute("checked"), e.name = this.getAttribute("name") || "", o(this, h, c).call(this);
79
+ k(this, s, e), e.required = this.hasAttribute("required"), e.value = this.getAttribute("value") || "", e.checked = this.hasAttribute("checked"), e.name = this.getAttribute("name") || "", n(this, r, c).call(this);
80
80
  },
81
81
  class: "real",
82
82
  type: "checkbox",
83
83
  onChange: () => {
84
- o(this, h, c).call(this), this.dispatchEvent(
84
+ n(this, r, c).call(this), this.dispatchEvent(
85
85
  new Event("change", {
86
86
  composed: !0
87
87
  })
@@ -93,23 +93,23 @@ let f = class extends w {
93
93
  });
94
94
  }
95
95
  get checked() {
96
- return l(this, r).checked;
96
+ return h(this, s).checked;
97
97
  }
98
98
  set checked(e) {
99
- l(this, r).checked = e, o(this, h, c).call(this);
99
+ h(this, s).checked = e, n(this, r, c).call(this);
100
100
  }
101
101
  get value() {
102
- return l(this, r).value;
102
+ return h(this, s).value;
103
103
  }
104
104
  set value(e) {
105
- l(this, r).value = e, o(this, h, c).call(this);
105
+ h(this, s).value = e, n(this, r, c).call(this);
106
106
  }
107
107
  };
108
- r = /* @__PURE__ */ new WeakMap();
109
- n = /* @__PURE__ */ new WeakMap();
110
- h = /* @__PURE__ */ new WeakSet();
108
+ s = /* @__PURE__ */ new WeakMap();
109
+ o = /* @__PURE__ */ new WeakMap();
110
+ r = /* @__PURE__ */ new WeakSet();
111
111
  c = function() {
112
- this.checked ? l(this, n).setFormValue(this.value) : l(this, n).setFormValue(null), this.classList.toggle("checked", this.checked);
112
+ this.checked ? h(this, o).setFormValue(this.value) : h(this, o).setFormValue(null), this.classList.toggle("checked", this.checked);
113
113
  };
114
114
  f.formAssociated = !0;
115
115
  f = M([
@@ -1 +1 @@
1
- "use strict";var S=Object.defineProperty,m=Object.defineProperties;var f=Object.getOwnPropertyDescriptors;var u=Object.getOwnPropertySymbols;var L=Object.prototype.hasOwnProperty,T=Object.prototype.propertyIsEnumerable;var a=(s,e,t)=>e in s?S(s,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):s[e]=t,c=(s,e)=>{for(var t in e||(e={}))L.call(e,t)&&a(s,t,e[t]);if(u)for(var t of u(e))T.call(e,t)&&a(s,t,e[t]);return s},l=(s,e)=>m(s,f(e));var o=(s,e,t)=>{if(!e.has(s))throw TypeError("Cannot "+t)};var n=(s,e,t)=>(o(s,e,"read from private field"),t?t.call(s):e.get(s)),h=(s,e,t)=>{if(e.has(s))throw TypeError("Cannot add the same private member more than once");e instanceof WeakSet?e.add(s):e.set(s,t)},d=(s,e,t,r)=>(o(s,e,"write to private field"),r?r.call(s,t):e.set(s,t),t);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const g=require("../Store-C-1ruEIm.cjs"),b=require("../string-DhgS_iFl.cjs");var i;class p extends g.Store{constructor(t,r){super(r);h(this,i,void 0);d(this,i,t)}isTrue(t){return this.current[t]===!0}isFalse(t){return this.current[t]===!1}reset(){super.reset();for(const t in this.initial)this.set(t,this.initial[t])}set(t,r=!0){this.current=l(c({},this.current),{[t]:r}),r?n(this,i).classList.add(b.camelToKebab(t)):n(this,i).classList.remove(b.camelToKebab(t))}}i=new WeakMap;exports.ClassLinkedStatus=p;
1
+ "use strict";var S=Object.defineProperty,m=Object.defineProperties;var f=Object.getOwnPropertyDescriptors;var u=Object.getOwnPropertySymbols;var L=Object.prototype.hasOwnProperty,T=Object.prototype.propertyIsEnumerable;var a=(s,e,t)=>e in s?S(s,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):s[e]=t,c=(s,e)=>{for(var t in e||(e={}))L.call(e,t)&&a(s,t,e[t]);if(u)for(var t of u(e))T.call(e,t)&&a(s,t,e[t]);return s},l=(s,e)=>m(s,f(e));var o=(s,e,t)=>{if(!e.has(s))throw TypeError("Cannot "+t)};var n=(s,e,t)=>(o(s,e,"read from private field"),t?t.call(s):e.get(s)),h=(s,e,t)=>{if(e.has(s))throw TypeError("Cannot add the same private member more than once");e instanceof WeakSet?e.add(s):e.set(s,t)},d=(s,e,t,r)=>(o(s,e,"write to private field"),r?r.call(s,t):e.set(s,t),t);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const g=require("../Store-6s0YXK4o.cjs"),b=require("../string-DhgS_iFl.cjs");var i;class p extends g.Store{constructor(t,r){super(r);h(this,i,void 0);d(this,i,t)}isTrue(t){return this.current[t]===!0}isFalse(t){return this.current[t]===!1}reset(){super.reset();for(const t in this.initial)this.set(t,this.initial[t])}set(t,r=!0){this.current=l(c({},this.current),{[t]:r}),r?n(this,i).classList.add(b.camelToKebab(t)):n(this,i).classList.remove(b.camelToKebab(t))}}i=new WeakMap;exports.ClassLinkedStatus=p;
@@ -19,7 +19,7 @@ var n = (e, t, s) => (h(e, t, "read from private field"), s ? s.call(e) : t.get(
19
19
  throw TypeError("Cannot add the same private member more than once");
20
20
  t instanceof WeakSet ? t.add(e) : t.set(e, s);
21
21
  }, m = (e, t, s, r) => (h(e, t, "write to private field"), r ? r.call(e, s) : t.set(e, s), s);
22
- import { S as x } from "../Store-BQXXikps.js";
22
+ import { S as x } from "../Store-BI2xxXOA.js";
23
23
  import { c as f } from "../string-f0Dnk0L1.js";
24
24
  var i;
25
25
  class K extends x {
@@ -1,5 +1,5 @@
1
- import { Controls } from './Controls';
2
1
  import { TickerAddOptions } from '../ticker';
2
+ import { Controls } from './Controls';
3
3
 
4
4
  export interface AutoplayControlsOptions extends TickerAddOptions {
5
5
  speed?: number;
@@ -1,5 +1,5 @@
1
- import { Controls } from './Controls';
2
1
  import { Axes2D } from '../utils';
2
+ import { Controls } from './Controls';
3
3
 
4
4
  export interface DragControlsOptions {
5
5
  element?: HTMLElement;
@@ -1,5 +1,5 @@
1
- import { Controls } from './Controls';
2
1
  import { Axes2D } from '../utils';
2
+ import { Controls } from './Controls';
3
3
 
4
4
  export type WheelControlsAxis = Axes2D | 'max';
5
5
  export interface WheelControlsOptions {
@@ -1 +1 @@
1
- "use strict";var N=(r,n,e)=>{if(!n.has(r))throw TypeError("Cannot "+e)};var t=(r,n,e)=>(N(r,n,"read from private field"),e?e.call(r):n.get(r)),s=(r,n,e)=>{if(n.has(r))throw TypeError("Cannot add the same private member more than once");n instanceof WeakSet?n.add(r):n.set(r,e)},i=(r,n,e,a)=>(N(r,n,"write to private field"),a?a.call(r,e):n.set(r,e),e);var L=(r,n,e)=>(N(r,n,"access private method"),e);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const V=require("../notifier/index.cjs"),m=require("../browser-CpzFX2xg.cjs"),Q=require("../dom-JBOkFLTh.cjs"),M=require("../ticker/index.cjs");require("../Store-C-1ruEIm.cjs");const G=require("../easings-DsS5-Kqc.cjs"),J=require("../Tweened-DIt9j9B-.cjs"),Z=require("../gestures-DHLrn6Q8.cjs"),$=require("../polyfills-DHs2SNbz.cjs"),_=require("../order/index.cjs");var z;class R{constructor(){s(this,z,new V.Notifier)}get changeEvent(){return t(this,z)}}z=new WeakMap;var o,d,u,D;class p extends R{constructor(e){super();s(this,o,null);s(this,d,null);s(this,u,"offsetHeight");s(this,D,e=>{const a=e.shiftKey?-1:1;let h;e.code==="Space"?h=a*t(this,d)[t(this,u)]*.4:e.code==="ArrowLeft"?h=-1*t(this,d)[t(this,u)]*.2:e.code==="ArrowRight"?h=1*t(this,d)[t(this,u)]*.2:e.code==="ArrowUp"?h=-1*t(this,d)[t(this,u)]*.2:e.code==="ArrowDown"?h=1*t(this,d)[t(this,u)]*.2:e.code==="PageUp"?h=-1*t(this,d)[t(this,u)]:e.code==="PageDown"?h=1*t(this,d)[t(this,u)]:e.code==="Home"?h=0:e.code==="End"&&(h=t(this,u)==="offsetWidth"?t(this,d).scrollWidth:t(this,d).scrollHeight),h&&(e.stopPropagation(),this.changeEvent.notify("keyboard",h))});m.isBrowser&&(i(this,o,e!=null&&e.element&&Q.getElement(e.element)||window),i(this,d,t(this,o)instanceof HTMLElement?t(this,o):document.documentElement),this.dimension=e==null?void 0:e.dimension)}set dimension(e){i(this,u,e==="width"?"offsetWidth":"offsetHeight")}connect(){m.isBrowser&&t(this,o).addEventListener("keydown",t(this,D))}disconnect(){m.isBrowser&&t(this,o).removeEventListener("keydown",t(this,D))}}o=new WeakMap,d=new WeakMap,u=new WeakMap,D=new WeakMap;var w,y,H,P,l,k,f,C,S,W,U,q,X,B;class ee extends R{constructor(e){super();s(this,C);s(this,W);s(this,w,void 0);s(this,y,void 0);s(this,H,void 0);s(this,P,void 0);s(this,l,void 0);s(this,k,void 0);s(this,f,void 0);s(this,q,void 0);s(this,X,void 0);s(this,B,void 0);this.direction=1,i(this,l,new J.Tweened(0,{easing:G.easeInQuad})),i(this,f,!1),i(this,q,a=>{t(this,l).current!==1&&this.changeEvent.notify("autoplay",a.timeBetweenFrames*t(this,w)*this.direction*(1-t(this,l).current))}),i(this,X,()=>{t(this,l).current!==1&&this.changeEvent.notify("autoplay",Math.sign(t(this,w))*this.direction*(1-t(this,l).current))}),i(this,B,()=>{t(this,y)&&(document.hidden?t(this,l).set(1,{equalize:!0}):t(this,l).set(0,{equalize:!0}))}),i(this,w,(e==null?void 0:e.speed)||1),i(this,y,(e==null?void 0:e.interval)||!1),i(this,H,e)}set interval(e){i(this,y,e),t(this,f)&&L(this,C,S).call(this)}set speed(e){i(this,w,e),t(this,f)&&L(this,C,S).call(this)}connect(){t(this,f)||(i(this,f,!0),L(this,C,S).call(this))}disconnect(){t(this,f)&&(i(this,f,!1),L(this,W,U).call(this))}pauseAndContinue(e){e&&!t(this,l).target&&(clearInterval(t(this,k)),t(this,l).set(1,{duration:Math.min(e,1e3)}),i(this,k,setTimeout(()=>{t(this,l).set(0,{duration:Math.min(e,5e3)})},e)))}}w=new WeakMap,y=new WeakMap,H=new WeakMap,P=new WeakMap,l=new WeakMap,k=new WeakMap,f=new WeakMap,C=new WeakSet,S=function(){L(this,W,U).call(this),t(this,y)?i(this,P,setInterval(t(this,X),Math.abs(t(this,w)))):M.ticker.subscribe(t(this,q),t(this,H)),document.addEventListener("visibilitychange",t(this,B))},W=new WeakSet,U=function(){clearInterval(t(this,P)),M.ticker.unsubscribe(t(this,q)),clearInterval(t(this,k)),t(this,l).close(),document.removeEventListener("visibilitychange",t(this,B))},q=new WeakMap,X=new WeakMap,B=new WeakMap;var T,E,I,Y;class te extends R{constructor(e){super();s(this,T,null);s(this,E,void 0);s(this,I,void 0);s(this,Y,e=>{let a=0;if(e.preventDefault(),!(this.axis==="x"&&Math.abs(e.deltaY)>Math.abs(e.deltaX)*.5||this.axis==="y"&&Math.abs(e.deltaX)>Math.abs(e.deltaY)*.5))if(a=(this.axis==="max"?Math.abs(e.deltaX)>Math.abs(e.deltaY)?e.deltaX:e.deltaY:this.axis==="x"?e.deltaX:e.deltaY)*this.speed,e.stopPropagation(),this.debounce){const h=Date.now();if(h-t(this,I)>40&&(a=100*Math.sign(a)),i(this,I,h),Math.abs(a)<100||t(this,E))return;this.changeEvent.notify("wheel",a),i(this,E,setTimeout(()=>{i(this,E,void 0)},80))}else this.changeEvent.notify("wheel",a)});this.axis=(e==null?void 0:e.axis)||"y",this.speed=(e==null?void 0:e.speed)||1,this.debounce=(e==null?void 0:e.debounce)||!1,i(this,I,Date.now()),m.isBrowser&&i(this,T,e!=null&&e.element&&Q.getElement(e.element)||window)}connect(){m.isBrowser&&t(this,T).addEventListener("wheel",t(this,Y),{passive:!1})}disconnect(){m.isBrowser&&(t(this,T).removeEventListener("wheel",t(this,Y)),clearTimeout(t(this,E)))}}T=new WeakMap,E=new WeakMap,I=new WeakMap,Y=new WeakMap;var x,b,A,c,K,v;const g=class g extends R{constructor(e){super();s(this,b,null);s(this,A,!1);s(this,c,0);s(this,K,e=>{if(e.composedPath().find(h=>h instanceof HTMLElement&&h.hasAttribute("drag-dead-zone")))return;this.swipe||M.ticker.unsubscribe(t(this,v));let a=e;i(this,c,0),document.documentElement.classList.add("grabbing"),Z.setupDrag(h=>{if(t(this,A)||t(g,x)&&t(g,x)!==t(this,b))return;this.swipe&&i(this,A,!0);const O=a.x-h.x,F=a.y-h.y;this.axis==="x"?i(this,c,O):i(this,c,F),a=h,(this.axis==="x"&&Math.abs(O)>Math.abs(F)||this.axis==="y"&&Math.abs(F)>Math.abs(O))&&(i(g,x,t(this,b)),this.changeEvent.notify("drag",t(this,c)))},()=>{i(g,x,null),this.swipe||(i(this,c,t(this,c)*3),M.ticker.subscribe(t(this,v),{order:_.TICK_ORDER.SCROLL-1})),document.documentElement.classList.remove("grabbing"),i(this,A,!1)})});s(this,v,()=>{Math.floor(t(this,c))||M.ticker.unsubscribe(t(this,v)),i(this,c,t(this,c)*.95),i(this,c,$.preciseNumber(t(this,c),3)),this.changeEvent.notify("drag",t(this,c))});this.axis=(e==null?void 0:e.axis)||"y",this.swipe=(e==null?void 0:e.swipe)||!1,m.isBrowser&&i(this,b,e!=null&&e.element&&Q.getElement(e.element)||document.documentElement)}connect(){m.isBrowser&&t(this,b).addEventListener("pointerdown",t(this,K))}disconnect(){m.isBrowser&&(t(this,b).removeEventListener("pointerdown",t(this,K)),M.ticker.unsubscribe(t(this,v)))}};x=new WeakMap,b=new WeakMap,A=new WeakMap,c=new WeakMap,K=new WeakMap,v=new WeakMap,s(g,x,null);let j=g;exports.AutoplayControls=ee;exports.Controls=R;exports.DragControls=j;exports.KeyboardControls=p;exports.WheelControls=te;
1
+ "use strict";var N=(r,n,e)=>{if(!n.has(r))throw TypeError("Cannot "+e)};var t=(r,n,e)=>(N(r,n,"read from private field"),e?e.call(r):n.get(r)),s=(r,n,e)=>{if(n.has(r))throw TypeError("Cannot add the same private member more than once");n instanceof WeakSet?n.add(r):n.set(r,e)},i=(r,n,e,a)=>(N(r,n,"write to private field"),a?a.call(r,e):n.set(r,e),e);var L=(r,n,e)=>(N(r,n,"access private method"),e);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const V=require("../notifier/index.cjs"),m=require("../browser-CpzFX2xg.cjs"),Q=require("../dom-JBOkFLTh.cjs"),M=require("../ticker/index.cjs");require("../Store-6s0YXK4o.cjs");const G=require("../easings-DsS5-Kqc.cjs"),J=require("../Tweened-B_mclQ61.cjs"),Z=require("../gestures-DHLrn6Q8.cjs"),$=require("../polyfills-CM4SCDTt.cjs"),_=require("../order/index.cjs");var z;class R{constructor(){s(this,z,new V.Notifier)}get changeEvent(){return t(this,z)}}z=new WeakMap;var o,d,u,D;class p extends R{constructor(e){super();s(this,o,null);s(this,d,null);s(this,u,"offsetHeight");s(this,D,e=>{const a=e.shiftKey?-1:1;let h;e.code==="Space"?h=a*t(this,d)[t(this,u)]*.4:e.code==="ArrowLeft"?h=-1*t(this,d)[t(this,u)]*.2:e.code==="ArrowRight"?h=1*t(this,d)[t(this,u)]*.2:e.code==="ArrowUp"?h=-1*t(this,d)[t(this,u)]*.2:e.code==="ArrowDown"?h=1*t(this,d)[t(this,u)]*.2:e.code==="PageUp"?h=-1*t(this,d)[t(this,u)]:e.code==="PageDown"?h=1*t(this,d)[t(this,u)]:e.code==="Home"?h=0:e.code==="End"&&(h=t(this,u)==="offsetWidth"?t(this,d).scrollWidth:t(this,d).scrollHeight),h&&(e.stopPropagation(),this.changeEvent.notify("keyboard",h))});m.isBrowser&&(i(this,o,e!=null&&e.element&&Q.getElement(e.element)||window),i(this,d,t(this,o)instanceof HTMLElement?t(this,o):document.documentElement),this.dimension=e==null?void 0:e.dimension)}set dimension(e){i(this,u,e==="width"?"offsetWidth":"offsetHeight")}connect(){m.isBrowser&&t(this,o).addEventListener("keydown",t(this,D))}disconnect(){m.isBrowser&&t(this,o).removeEventListener("keydown",t(this,D))}}o=new WeakMap,d=new WeakMap,u=new WeakMap,D=new WeakMap;var w,y,H,P,l,k,f,C,S,W,U,q,X,B;class ee extends R{constructor(e){super();s(this,C);s(this,W);s(this,w,void 0);s(this,y,void 0);s(this,H,void 0);s(this,P,void 0);s(this,l,void 0);s(this,k,void 0);s(this,f,void 0);s(this,q,void 0);s(this,X,void 0);s(this,B,void 0);this.direction=1,i(this,l,new J.Tweened(0,{easing:G.easeInQuad})),i(this,f,!1),i(this,q,a=>{t(this,l).current!==1&&this.changeEvent.notify("autoplay",a.timeBetweenFrames*t(this,w)*this.direction*(1-t(this,l).current))}),i(this,X,()=>{t(this,l).current!==1&&this.changeEvent.notify("autoplay",Math.sign(t(this,w))*this.direction*(1-t(this,l).current))}),i(this,B,()=>{t(this,y)&&(document.hidden?t(this,l).set(1,{equalize:!0}):t(this,l).set(0,{equalize:!0}))}),i(this,w,(e==null?void 0:e.speed)||1),i(this,y,(e==null?void 0:e.interval)||!1),i(this,H,e)}set interval(e){i(this,y,e),t(this,f)&&L(this,C,S).call(this)}set speed(e){i(this,w,e),t(this,f)&&L(this,C,S).call(this)}connect(){t(this,f)||(i(this,f,!0),L(this,C,S).call(this))}disconnect(){t(this,f)&&(i(this,f,!1),L(this,W,U).call(this))}pauseAndContinue(e){e&&!t(this,l).target&&(clearInterval(t(this,k)),t(this,l).set(1,{duration:Math.min(e,1e3)}),i(this,k,setTimeout(()=>{t(this,l).set(0,{duration:Math.min(e,5e3)})},e)))}}w=new WeakMap,y=new WeakMap,H=new WeakMap,P=new WeakMap,l=new WeakMap,k=new WeakMap,f=new WeakMap,C=new WeakSet,S=function(){L(this,W,U).call(this),t(this,y)?i(this,P,setInterval(t(this,X),Math.abs(t(this,w)))):M.ticker.subscribe(t(this,q),t(this,H)),document.addEventListener("visibilitychange",t(this,B))},W=new WeakSet,U=function(){clearInterval(t(this,P)),M.ticker.unsubscribe(t(this,q)),clearInterval(t(this,k)),t(this,l).close(),document.removeEventListener("visibilitychange",t(this,B))},q=new WeakMap,X=new WeakMap,B=new WeakMap;var T,E,I,Y;class te extends R{constructor(e){super();s(this,T,null);s(this,E,void 0);s(this,I,void 0);s(this,Y,e=>{let a=0;if(e.preventDefault(),!(this.axis==="x"&&Math.abs(e.deltaY)>Math.abs(e.deltaX)*.5||this.axis==="y"&&Math.abs(e.deltaX)>Math.abs(e.deltaY)*.5))if(a=(this.axis==="max"?Math.abs(e.deltaX)>Math.abs(e.deltaY)?e.deltaX:e.deltaY:this.axis==="x"?e.deltaX:e.deltaY)*this.speed,e.stopPropagation(),this.debounce){const h=Date.now();if(h-t(this,I)>40&&(a=100*Math.sign(a)),i(this,I,h),Math.abs(a)<100||t(this,E))return;this.changeEvent.notify("wheel",a),i(this,E,setTimeout(()=>{i(this,E,void 0)},80))}else this.changeEvent.notify("wheel",a)});this.axis=(e==null?void 0:e.axis)||"y",this.speed=(e==null?void 0:e.speed)||1,this.debounce=(e==null?void 0:e.debounce)||!1,i(this,I,Date.now()),m.isBrowser&&i(this,T,e!=null&&e.element&&Q.getElement(e.element)||window)}connect(){m.isBrowser&&t(this,T).addEventListener("wheel",t(this,Y),{passive:!1})}disconnect(){m.isBrowser&&(t(this,T).removeEventListener("wheel",t(this,Y)),clearTimeout(t(this,E)))}}T=new WeakMap,E=new WeakMap,I=new WeakMap,Y=new WeakMap;var x,b,A,c,K,v;const g=class g extends R{constructor(e){super();s(this,b,null);s(this,A,!1);s(this,c,0);s(this,K,e=>{if(e.composedPath().find(h=>h instanceof HTMLElement&&h.hasAttribute("drag-dead-zone")))return;this.swipe||M.ticker.unsubscribe(t(this,v));let a=e;i(this,c,0),document.documentElement.classList.add("grabbing"),Z.setupDrag(h=>{if(t(this,A)||t(g,x)&&t(g,x)!==t(this,b))return;this.swipe&&i(this,A,!0);const O=a.x-h.x,F=a.y-h.y;this.axis==="x"?i(this,c,O):i(this,c,F),a=h,(this.axis==="x"&&Math.abs(O)>Math.abs(F)||this.axis==="y"&&Math.abs(F)>Math.abs(O))&&(i(g,x,t(this,b)),this.changeEvent.notify("drag",t(this,c)))},()=>{i(g,x,null),this.swipe||(i(this,c,t(this,c)*3),M.ticker.subscribe(t(this,v),{order:_.TICK_ORDER.SCROLL-1})),document.documentElement.classList.remove("grabbing"),i(this,A,!1)})});s(this,v,()=>{Math.floor(t(this,c))||M.ticker.unsubscribe(t(this,v)),i(this,c,t(this,c)*.95),i(this,c,$.preciseNumber(t(this,c),3)),this.changeEvent.notify("drag",t(this,c))});this.axis=(e==null?void 0:e.axis)||"y",this.swipe=(e==null?void 0:e.swipe)||!1,m.isBrowser&&i(this,b,e!=null&&e.element&&Q.getElement(e.element)||document.documentElement)}connect(){m.isBrowser&&t(this,b).addEventListener("pointerdown",t(this,K))}disconnect(){m.isBrowser&&(t(this,b).removeEventListener("pointerdown",t(this,K)),M.ticker.unsubscribe(t(this,v)))}};x=new WeakMap,b=new WeakMap,A=new WeakMap,c=new WeakMap,K=new WeakMap,v=new WeakMap,s(g,x,null);let j=g;exports.AutoplayControls=ee;exports.Controls=R;exports.DragControls=j;exports.KeyboardControls=p;exports.WheelControls=te;
@@ -12,11 +12,11 @@ import { Notifier as j } from "../notifier/index.js";
12
12
  import { i as m } from "../browser-0zX67oeU.js";
13
13
  import { g as Q } from "../dom-0S_WDL4g.js";
14
14
  import { ticker as M } from "../ticker/index.js";
15
- import "../Store-BQXXikps.js";
15
+ import "../Store-BI2xxXOA.js";
16
16
  import { e as G } from "../easings-BKi40vHz.js";
17
- import { T as J } from "../Tweened-CwDC2zl8.js";
17
+ import { T as J } from "../Tweened-NE8M9onF.js";
18
18
  import { s as Z } from "../gestures-D2Fdra_G.js";
19
- import { p as $ } from "../polyfills-BA-CL_HF.js";
19
+ import { p as $ } from "../polyfills-X6KXuHg-.js";
20
20
  import { TICK_ORDER as p } from "../order/index.js";
21
21
  var B;
22
22
  class F {
@@ -0,0 +1,8 @@
1
+ import { CustomElement } from '../custom-element';
2
+
3
+ export declare class CounterElement extends CustomElement {
4
+ #private;
5
+ constructor();
6
+ protected connectedCallback(): void;
7
+ protected disconnectedCallback(): void;
8
+ }
@@ -1,4 +1,4 @@
1
- import { aD as n } from "./tags-CMPg9ETZ.js";
1
+ import { aC as n } from "./tags-BqJKcIve.js";
2
2
  function c(t) {
3
3
  const e = new CSSStyleSheet();
4
4
  return e.replaceSync(n(t).node.innerHTML), e;
@@ -1 +1 @@
1
- "use strict";const n=require("./tags-Djb6mb1o.cjs");function r(t){const e=new CSSStyleSheet;return e.replaceSync(n.style(t).node.innerHTML),e}exports.createStylesheet=r;
1
+ "use strict";const n=require("./tags-ld5jemJw.cjs");function r(t){const e=new CSSStyleSheet;return e.replaceSync(n.style(t).node.innerHTML),e}exports.createStylesheet=r;
@@ -1 +1 @@
1
- "use strict";var d=(r,s,e)=>{if(!s.has(r))throw TypeError("Cannot "+e)};var t=(r,s,e)=>(d(r,s,"read from private field"),e?e.call(r):s.get(r)),c=(r,s,e)=>{if(s.has(r))throw TypeError("Cannot add the same private member more than once");s instanceof WeakSet?s.add(r):s.set(r,e)},n=(r,s,e,u)=>(d(r,s,"write to private field"),u?u.call(r,e):s.set(r,e),e);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const R=require("../css-value-parser/index.cjs"),V=require("../order/index.cjs"),g=require("../Store-C-1ruEIm.cjs"),y=require("../dom-JBOkFLTh.cjs"),w=require("../window-resizer/index.cjs");var h,b,i,a,o;class f extends g.Store{constructor(e,u,S,l){super(S,l);c(this,h,void 0);c(this,b,void 0);c(this,i,void 0);c(this,a,void 0);c(this,o,()=>{this.check()});n(this,h,y.getElement(e)),n(this,b,u),n(this,i,S.toString()),n(this,a,(l==null?void 0:l.rawValueCheck)!==!1)}get currentRawValue(){return t(this,i)}observe(){this.subscribers.size||w.windowResizer.subscribe(t(this,o),V.RESIZE_ORDER.CSS_VARIABLE)}unobserve(){this.subscribers.size||w.windowResizer.unsubscribe(t(this,o))}subscribe(e){return this.observe(),super.subscribe(e)}unsubscribe(e){super.unsubscribe(e),this.unobserve()}check(){const e=getComputedStyle(t(this,h)).getPropertyValue(t(this,b));if(!(t(this,a)&&t(this,i)===e))if(n(this,i,e),e){const u=R.cssValueParser.parse(t(this,i));this.current=u}else this.current=this.initial}}h=new WeakMap,b=new WeakMap,i=new WeakMap,a=new WeakMap,o=new WeakMap;exports.CSSProperty=f;
1
+ "use strict";var w=(s,r,e)=>{if(!r.has(s))throw TypeError("Cannot "+e)};var t=(s,r,e)=>(w(s,r,"read from private field"),e?e.call(s):r.get(s)),c=(s,r,e)=>{if(r.has(s))throw TypeError("Cannot add the same private member more than once");r instanceof WeakSet?r.add(s):r.set(s,e)},i=(s,r,e,n)=>(w(s,r,"write to private field"),n?n.call(s,e):r.set(s,e),e);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const R=require("../css-value-parser/index.cjs"),V=require("../order/index.cjs"),g=require("../Store-6s0YXK4o.cjs"),p=require("../dom-JBOkFLTh.cjs"),f=require("../window-resizer/index.cjs");var a,b,u,o,h,l;class v extends g.Store{constructor(e,n,d,S){super(d,S);c(this,a,void 0);c(this,b,void 0);c(this,u,void 0);c(this,o,void 0);c(this,h,!1);c(this,l,()=>{this.check()});i(this,a,p.getElement(e)),i(this,b,n),i(this,u,d.toString()),i(this,o,(S==null?void 0:S.rawValueCheck)!==!1)}get currentRawValue(){return t(this,u)}observe(){t(this,h)||(i(this,h,!0),f.windowResizer.subscribe(t(this,l),V.RESIZE_ORDER.CSS_VARIABLE))}unobserve(){t(this,h)&&(i(this,h,!1),f.windowResizer.unsubscribe(t(this,l)))}subscribe(e){return this.subscribers.size||this.observe(),super.subscribe(e)}unsubscribe(e){super.unsubscribe(e),this.subscribers.size||this.unobserve()}close(){this.unobserve(),super.close()}check(){const e=getComputedStyle(t(this,a)).getPropertyValue(t(this,b));if(!(t(this,o)&&t(this,u)===e))if(i(this,u,e),e){const n=R.cssValueParser.parse(t(this,u));this.current=n}else this.current=this.initial}}a=new WeakMap,b=new WeakMap,u=new WeakMap,o=new WeakMap,h=new WeakMap,l=new WeakMap;exports.CSSProperty=v;
@@ -1,5 +1,5 @@
1
- import { ElementOrSelector } from '../utils';
2
1
  import { Store, StoreCallback, StoreEntry, StoreManagerType, StoreOptions } from '../store';
2
+ import { ElementOrSelector } from '../utils';
3
3
 
4
4
  export interface CSSPropertyOptions<StoreType extends number | boolean | string, StoreManager extends StoreManagerType = StoreManagerType> extends StoreOptions<StoreType, StoreManager> {
5
5
  rawValueCheck?: boolean;
@@ -12,5 +12,6 @@ export declare class CSSProperty<StoreType extends number | boolean | string, St
12
12
  unobserve(): void;
13
13
  subscribe(callback: StoreCallback<StoreEntry<StoreType>>): () => void;
14
14
  unsubscribe(callback: StoreCallback<StoreEntry<StoreType>>): void;
15
+ close(): void;
15
16
  check(): void;
16
17
  }
@@ -1,58 +1,62 @@
1
- var f = (r, s, e) => {
2
- if (!s.has(r))
1
+ var p = (s, r, e) => {
2
+ if (!r.has(s))
3
3
  throw TypeError("Cannot " + e);
4
4
  };
5
- var t = (r, s, e) => (f(r, s, "read from private field"), e ? e.call(r) : s.get(r)), h = (r, s, e) => {
6
- if (s.has(r))
5
+ var t = (s, r, e) => (p(s, r, "read from private field"), e ? e.call(s) : r.get(s)), h = (s, r, e) => {
6
+ if (r.has(s))
7
7
  throw TypeError("Cannot add the same private member more than once");
8
- s instanceof WeakSet ? s.add(r) : s.set(r, e);
9
- }, c = (r, s, e, u) => (f(r, s, "write to private field"), u ? u.call(r, e) : s.set(r, e), e);
10
- import { cssValueParser as S } from "../css-value-parser/index.js";
11
- import { RESIZE_ORDER as w } from "../order/index.js";
12
- import { S as R } from "../Store-BQXXikps.js";
13
- import { g as V } from "../dom-0S_WDL4g.js";
14
- import { windowResizer as p } from "../window-resizer/index.js";
15
- var b, a, i, n, o;
16
- class z extends R {
17
- constructor(e, u, m, l) {
18
- super(m, l);
8
+ r instanceof WeakSet ? r.add(s) : r.set(s, e);
9
+ }, i = (s, r, e, a) => (p(s, r, "write to private field"), a ? a.call(s, e) : r.set(s, e), e);
10
+ import { cssValueParser as w } from "../css-value-parser/index.js";
11
+ import { RESIZE_ORDER as R } from "../order/index.js";
12
+ import { S as V } from "../Store-BI2xxXOA.js";
13
+ import { g } from "../dom-0S_WDL4g.js";
14
+ import { windowResizer as S } from "../window-resizer/index.js";
15
+ var b, o, u, l, c, n;
16
+ class P extends V {
17
+ constructor(e, a, m, f) {
18
+ super(m, f);
19
19
  h(this, b, void 0);
20
- h(this, a, void 0);
21
- h(this, i, void 0);
22
- h(this, n, void 0);
23
- h(this, o, () => {
20
+ h(this, o, void 0);
21
+ h(this, u, void 0);
22
+ h(this, l, void 0);
23
+ h(this, c, !1);
24
+ h(this, n, () => {
24
25
  this.check();
25
26
  });
26
- c(this, b, V(e)), c(this, a, u), c(this, i, m.toString()), c(this, n, (l == null ? void 0 : l.rawValueCheck) !== !1);
27
+ i(this, b, g(e)), i(this, o, a), i(this, u, m.toString()), i(this, l, (f == null ? void 0 : f.rawValueCheck) !== !1);
27
28
  }
28
29
  get currentRawValue() {
29
- return t(this, i);
30
+ return t(this, u);
30
31
  }
31
32
  observe() {
32
- this.subscribers.size || p.subscribe(t(this, o), w.CSS_VARIABLE);
33
+ t(this, c) || (i(this, c, !0), S.subscribe(t(this, n), R.CSS_VARIABLE));
33
34
  }
34
35
  unobserve() {
35
- this.subscribers.size || p.unsubscribe(t(this, o));
36
+ t(this, c) && (i(this, c, !1), S.unsubscribe(t(this, n)));
36
37
  }
37
38
  subscribe(e) {
38
- return this.observe(), super.subscribe(e);
39
+ return this.subscribers.size || this.observe(), super.subscribe(e);
39
40
  }
40
41
  unsubscribe(e) {
41
- super.unsubscribe(e), this.unobserve();
42
+ super.unsubscribe(e), this.subscribers.size || this.unobserve();
43
+ }
44
+ close() {
45
+ this.unobserve(), super.close();
42
46
  }
43
47
  check() {
44
48
  const e = getComputedStyle(t(this, b)).getPropertyValue(
45
- t(this, a)
49
+ t(this, o)
46
50
  );
47
- if (!(t(this, n) && t(this, i) === e))
48
- if (c(this, i, e), e) {
49
- const u = S.parse(t(this, i));
50
- this.current = u;
51
+ if (!(t(this, l) && t(this, u) === e))
52
+ if (i(this, u, e), e) {
53
+ const a = w.parse(t(this, u));
54
+ this.current = a;
51
55
  } else
52
56
  this.current = this.initial;
53
57
  }
54
58
  }
55
- b = new WeakMap(), a = new WeakMap(), i = new WeakMap(), n = new WeakMap(), o = new WeakMap();
59
+ b = new WeakMap(), o = new WeakMap(), u = new WeakMap(), l = new WeakMap(), c = new WeakMap(), n = new WeakMap();
56
60
  export {
57
- z as CSSProperty
61
+ P as CSSProperty
58
62
  };
@@ -1,9 +1,6 @@
1
1
  export declare function define(name: string, extend?: keyof HTMLElementTagNameMap): (Constructor: CustomElementConstructor) => void;
2
2
  export declare function defineElement(name: string, Constructor: CustomElementConstructor, extend?: keyof HTMLElementTagNameMap): void;
3
- declare const HTMLElement: {
4
- new (): HTMLElement;
5
- prototype: HTMLElement;
6
- };
3
+ declare const HTMLElement: typeof window.HTMLElement;
7
4
  export declare class CustomElement extends HTMLElement {
8
5
  openShadow(...stylesheets: Array<CSSStyleSheet>): ShadowRoot;
9
6
  addStylesheet(...stylesheets: Array<CSSStyleSheet>): void;
package/lib/dev/index.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("../css-property/index.cjs"),t=require("../Store-C-1ruEIm.cjs"),c=require("../ticker/index.cjs");function i(){c.ticker.subscribe(()=>{for(let e=0;e<t.activeStores.current.length;e++){const r=t.activeStores.current[e];r instanceof o.CSSProperty&&r.check()}})}exports.devMode=i;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("../css-property/index.cjs"),t=require("../Store-6s0YXK4o.cjs"),c=require("../ticker/index.cjs");function i(){c.ticker.subscribe(()=>{for(let e=0;e<t.activeStores.current.length;e++){const r=t.activeStores.current[e];r instanceof o.CSSProperty&&r.check()}})}exports.devMode=i;
package/lib/dev/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { CSSProperty as o } from "../css-property/index.js";
2
- import { a as t } from "../Store-BQXXikps.js";
2
+ import { a as t } from "../Store-BI2xxXOA.js";
3
3
  import { ticker as c } from "../ticker/index.js";
4
4
  function s() {
5
5
  c.subscribe(() => {
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../Viewport-DMB0dO-s.cjs");exports.ViewportBreakpoints=e.ViewportBreakpoints;exports.ViewportMediaRules=e.ViewportMediaRules;exports.device=e.device;exports.viewport=e.viewport;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../Viewport-CJeKnL5V.cjs");exports.ViewportBreakpoints=e.ViewportBreakpoints;exports.ViewportMediaRules=e.ViewportMediaRules;exports.device=e.device;exports.viewport=e.viewport;
@@ -1,4 +1,4 @@
1
- import { V as i, a as o, d as r, v as s } from "../Viewport-CFFhFKqX.js";
1
+ import { V as i, a as o, d as r, v as s } from "../Viewport-D9IL7kUQ.js";
2
2
  export {
3
3
  i as ViewportBreakpoints,
4
4
  o as ViewportMediaRules,
@@ -1,6 +1,6 @@
1
- import { ConnectorConnectCallback, ConnectorDisconnectCallback } from '../connector';
2
- import { SplitFirst } from '../utils';
3
1
  import { Store } from '../store';
2
+ import { SplitFirst } from '../utils';
3
+ import { ConnectorConnectCallback, ConnectorDisconnectCallback } from '../connector';
4
4
 
5
5
  export type StoreOr<T> = T | Store<T>;
6
6
  export type ElementConstructorTagNameMap = HTMLElementTagNameMap & SVGElementTagNameMap;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../tags-Djb6mb1o.cjs"),t=require("../createStylesheet-CqHU9_qv.cjs"),a=require("../createTheme-Cfaw9UmV.cjs");exports.ElementConstructor=e.ElementConstructor;exports.a=e.a;exports.abbr=e.abbr;exports.address=e.address;exports.area=e.area;exports.article=e.article;exports.aside=e.aside;exports.audio=e.audio;exports.b=e.b;exports.base=e.base;exports.bdi=e.bdi;exports.bdo=e.bdo;exports.blockquote=e.blockquote;exports.body=e.body;exports.br=e.br;exports.button=e.button;exports.canvas=e.canvas;exports.caption=e.caption;exports.cite=e.cite;exports.code=e.code;exports.col=e.col;exports.colgroup=e.colgroup;exports.contents=e.contents;exports.data=e.data;exports.datalist=e.datalist;exports.dd=e.dd;exports.del=e.del;exports.details=e.details;exports.dfn=e.dfn;exports.dialog=e.dialog;exports.div=e.div;exports.dl=e.dl;exports.dt=e.dt;exports.element=e.element;exports.em=e.em;exports.embed=e.embed;exports.empty=e.empty;exports.fieldset=e.fieldset;exports.figcaption=e.figcaption;exports.figure=e.figure;exports.footer=e.footer;exports.form=e.form;exports.fragment=e.fragment;exports.h1=e.h1;exports.h2=e.h2;exports.h3=e.h3;exports.h4=e.h4;exports.h5=e.h5;exports.h6=e.h6;exports.head=e.head;exports.header=e.header;exports.hgroup=e.hgroup;exports.hr=e.hr;exports.html=e.html;exports.htmlVar=e.htmlVar;exports.i=e.i;exports.iframe=e.iframe;exports.img=e.img;exports.input=e.input;exports.ins=e.ins;exports.kbd=e.kbd;exports.label=e.label;exports.legend=e.legend;exports.li=e.li;exports.link=e.link;exports.main=e.main;exports.map=e.map;exports.mark=e.mark;exports.menu=e.menu;exports.meta=e.meta;exports.meter=e.meter;exports.nav=e.nav;exports.noscript=e.noscript;exports.object=e.object;exports.ol=e.ol;exports.optgroup=e.optgroup;exports.option=e.option;exports.output=e.output;exports.p=e.p;exports.picture=e.picture;exports.pre=e.pre;exports.progress=e.progress;exports.q=e.q;exports.rp=e.rp;exports.rt=e.rt;exports.ruby=e.ruby;exports.s=e.s;exports.samp=e.samp;exports.script=e.script;exports.search=e.search;exports.section=e.section;exports.select=e.select;exports.slot=e.slot;exports.small=e.small;exports.source=e.source;exports.span=e.span;exports.strong=e.strong;exports.style=e.style;exports.sub=e.sub;exports.summary=e.summary;exports.sup=e.sup;exports.table=e.table;exports.tbody=e.tbody;exports.td=e.td;exports.template=e.template;exports.textarea=e.textarea;exports.tfoot=e.tfoot;exports.th=e.th;exports.thead=e.thead;exports.time=e.time;exports.title=e.title;exports.tr=e.tr;exports.track=e.track;exports.u=e.u;exports.ul=e.ul;exports.video=e.video;exports.wbr=e.wbr;exports.createStylesheet=t.createStylesheet;exports.createTheme=a.createTheme;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("../ElementConstructor-CAZ2ra8m.cjs"),e=require("../tags-ld5jemJw.cjs"),r=require("../createStylesheet-p23sZ7Ey.cjs"),a=require("../createTheme-Cfaw9UmV.cjs");exports.ElementConstructor=t.ElementConstructor;exports.a=e.a;exports.abbr=e.abbr;exports.address=e.address;exports.area=e.area;exports.article=e.article;exports.aside=e.aside;exports.audio=e.audio;exports.b=e.b;exports.base=e.base;exports.bdi=e.bdi;exports.bdo=e.bdo;exports.blockquote=e.blockquote;exports.body=e.body;exports.br=e.br;exports.button=e.button;exports.canvas=e.canvas;exports.caption=e.caption;exports.cite=e.cite;exports.code=e.code;exports.col=e.col;exports.colgroup=e.colgroup;exports.contents=e.contents;exports.data=e.data;exports.datalist=e.datalist;exports.dd=e.dd;exports.del=e.del;exports.details=e.details;exports.dfn=e.dfn;exports.dialog=e.dialog;exports.div=e.div;exports.dl=e.dl;exports.dt=e.dt;exports.element=e.element;exports.em=e.em;exports.embed=e.embed;exports.empty=e.empty;exports.fieldset=e.fieldset;exports.figcaption=e.figcaption;exports.figure=e.figure;exports.footer=e.footer;exports.form=e.form;exports.fragment=e.fragment;exports.h1=e.h1;exports.h2=e.h2;exports.h3=e.h3;exports.h4=e.h4;exports.h5=e.h5;exports.h6=e.h6;exports.head=e.head;exports.header=e.header;exports.hgroup=e.hgroup;exports.hr=e.hr;exports.html=e.html;exports.htmlVar=e.htmlVar;exports.i=e.i;exports.iframe=e.iframe;exports.img=e.img;exports.input=e.input;exports.ins=e.ins;exports.kbd=e.kbd;exports.label=e.label;exports.legend=e.legend;exports.li=e.li;exports.link=e.link;exports.main=e.main;exports.map=e.map;exports.mark=e.mark;exports.menu=e.menu;exports.meta=e.meta;exports.meter=e.meter;exports.nav=e.nav;exports.noscript=e.noscript;exports.object=e.object;exports.ol=e.ol;exports.optgroup=e.optgroup;exports.option=e.option;exports.output=e.output;exports.p=e.p;exports.picture=e.picture;exports.pre=e.pre;exports.progress=e.progress;exports.q=e.q;exports.rp=e.rp;exports.rt=e.rt;exports.ruby=e.ruby;exports.s=e.s;exports.samp=e.samp;exports.script=e.script;exports.search=e.search;exports.section=e.section;exports.select=e.select;exports.slot=e.slot;exports.small=e.small;exports.source=e.source;exports.span=e.span;exports.strong=e.strong;exports.style=e.style;exports.sub=e.sub;exports.summary=e.summary;exports.sup=e.sup;exports.table=e.table;exports.tbody=e.tbody;exports.td=e.td;exports.template=e.template;exports.textarea=e.textarea;exports.tfoot=e.tfoot;exports.th=e.th;exports.thead=e.thead;exports.time=e.time;exports.title=e.title;exports.tr=e.tr;exports.track=e.track;exports.u=e.u;exports.ul=e.ul;exports.video=e.video;exports.wbr=e.wbr;exports.createStylesheet=r.createStylesheet;exports.createTheme=a.createTheme;