aptechka 0.8.3 → 0.9.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 (166) hide show
  1. package/lib/{Animation-BInSRYNr.cjs → Animation-BCA-DBje.cjs} +1 -1
  2. package/lib/{Animation-uimN7sdT.js → Animation-DrSYnbgb.js} +1 -1
  3. package/lib/{Composed-Iihn8fT4.cjs → Composed-7Fe7TW_T.cjs} +1 -1
  4. package/lib/{Composed-Fa7owymK.js → Composed-pnupzTOv.js} +1 -1
  5. package/lib/{Damped-yrNXlkDE.js → Damped-C2FuK_3K.js} +1 -1
  6. package/lib/{Damped-Da3EnNN4.cjs → Damped-CSEZ0qwp.cjs} +1 -1
  7. package/lib/{Derived-DIWinC7Y.js → Derived-CFnbeEgJ.js} +1 -1
  8. package/lib/{Derived-D9VrDuf9.cjs → Derived-Dko3EP7m.cjs} +1 -1
  9. package/lib/ElementConstructor-9S0f1yAH.cjs +1 -0
  10. package/lib/ElementConstructor-CZKbNIQK.js +366 -0
  11. package/lib/Resource-BhF6Tj1p.js +49 -0
  12. package/lib/Resource-WCQEgLpB.cjs +1 -0
  13. package/lib/{SourceManager--L_rA28b.js → SourceManager-CmhlHGx7.js} +1 -1
  14. package/lib/{SourceManager-D6D2LVKf.cjs → SourceManager-DYnGpBi1.cjs} +1 -1
  15. package/lib/{Store-Qr3SNOSf.js → Store-Dsft7GtM.js} +1 -1
  16. package/lib/{Store-Cr3VaD9G.cjs → Store-kzJycezD.cjs} +1 -1
  17. package/lib/{Tweened-CjgvoOwL.js → Tweened-BrD2cPSC.js} +1 -1
  18. package/lib/{Tweened-DksN-Rz6.cjs → Tweened-D6dAu8Zi.cjs} +1 -1
  19. package/lib/{Viewport-BBYt1Ivy.cjs → Viewport-DRNfjjDY.cjs} +1 -1
  20. package/lib/{Viewport-Cgtq2I_K.js → Viewport-Ud7nellV.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 +1 -2
  24. package/lib/accordion/index.cjs +1 -1
  25. package/lib/accordion/index.js +110 -122
  26. package/lib/animation/index.cjs +1 -1
  27. package/lib/animation/index.js +3 -3
  28. package/lib/attribute/index.cjs +1 -1
  29. package/lib/attribute/index.js +1 -1
  30. package/lib/canvas/index.cjs +1 -1
  31. package/lib/canvas/index.d.ts +1 -2
  32. package/lib/canvas/index.js +69 -75
  33. package/lib/checkbox/index.cjs +1 -1
  34. package/lib/checkbox/index.d.ts +1 -3
  35. package/lib/checkbox/index.js +42 -46
  36. package/lib/class-linked-status/index.cjs +1 -1
  37. package/lib/class-linked-status/index.js +1 -1
  38. package/lib/controls/index.cjs +1 -1
  39. package/lib/controls/index.js +2 -2
  40. package/lib/counter/index.d.ts +1 -3
  41. package/lib/{createStylesheet-BxKITIVV.js → createStylesheet-C2gpLy4r.js} +1 -1
  42. package/lib/{createStylesheet-BsMSWX0q.cjs → createStylesheet-Di9WRypw.cjs} +1 -1
  43. package/lib/css-property/index.cjs +1 -1
  44. package/lib/css-property/index.js +1 -1
  45. package/lib/dev/index.cjs +1 -1
  46. package/lib/dev/index.js +1 -1
  47. package/lib/device/index.cjs +1 -1
  48. package/lib/device/index.js +1 -1
  49. package/lib/element-constructor/index.cjs +1 -1
  50. package/lib/element-constructor/index.js +114 -113
  51. package/lib/en3/helpers/index.cjs +1 -1
  52. package/lib/en3/helpers/index.js +2 -2
  53. package/lib/en3/misc/index.cjs +1 -1
  54. package/lib/en3/misc/index.js +2 -2
  55. package/lib/en3/objects/fluid/En3FluidElement.d.ts +1 -2
  56. package/lib/globals-DMjysUXI.js +8 -0
  57. package/lib/globals-bYKki-b9.cjs +1 -0
  58. package/lib/image/index.cjs +1 -1
  59. package/lib/image/index.js +8 -16
  60. package/lib/index-BtB-3MG7.js +265 -0
  61. package/lib/index-DQo2-dnB.cjs +9 -0
  62. package/lib/instantiate-BPZZn8jK.js +134 -0
  63. package/lib/instantiate-BWM-ipPW.cjs +1 -0
  64. package/lib/jsx/ComponentElement.d.ts +18 -0
  65. package/lib/jsx/globals.d.ts +13 -0
  66. package/lib/jsx/h.d.ts +6 -0
  67. package/lib/jsx/hooks/basic/_createStore.d.ts +4 -0
  68. package/lib/jsx/hooks/basic/attachInternals.d.ts +1 -0
  69. package/lib/jsx/hooks/basic/attachShadow.d.ts +1 -0
  70. package/lib/jsx/hooks/basic/attachStylesheet.d.ts +3 -0
  71. package/lib/jsx/hooks/basic/createContext.d.ts +2 -0
  72. package/lib/jsx/hooks/basic/onConnect.d.ts +3 -0
  73. package/lib/jsx/hooks/basic/onDisconnect.d.ts +3 -0
  74. package/lib/jsx/hooks/onAnimationFrame.cjs +1 -0
  75. package/lib/jsx/hooks/onAnimationFrame.d.ts +6 -0
  76. package/lib/jsx/hooks/onAnimationFrame.js +22 -0
  77. package/lib/jsx/hooks/onElementResize.cjs +1 -0
  78. package/lib/jsx/hooks/onElementResize.d.ts +5 -0
  79. package/lib/jsx/hooks/onElementResize.js +11 -0
  80. package/lib/jsx/hooks/onIntersection.cjs +1 -0
  81. package/lib/jsx/hooks/onIntersection.d.ts +5 -0
  82. package/lib/jsx/hooks/onIntersection.js +11 -0
  83. package/lib/jsx/hooks/onWindowResize.cjs +1 -0
  84. package/lib/jsx/hooks/onWindowResize.d.ts +3 -0
  85. package/lib/jsx/hooks/onWindowResize.js +8 -0
  86. package/lib/jsx/hooks/store/createComposed.d.ts +3 -0
  87. package/lib/jsx/hooks/store/createDerived.d.ts +3 -0
  88. package/lib/jsx/hooks/store/createDerivedArray.d.ts +3 -0
  89. package/lib/jsx/hooks/store/createResource.d.ts +3 -0
  90. package/lib/jsx/hooks/store/createStore.d.ts +3 -0
  91. package/lib/jsx/hooks/store/index.cjs +1 -0
  92. package/lib/jsx/hooks/store/index.d.ts +5 -0
  93. package/lib/jsx/hooks/store/index.js +27 -0
  94. package/lib/jsx/hooks/watchAttribute.cjs +1 -0
  95. package/lib/jsx/hooks/watchAttribute.d.ts +6 -0
  96. package/lib/jsx/hooks/watchAttribute.js +17 -0
  97. package/lib/jsx/hooks/watchCSSProperty.cjs +1 -0
  98. package/lib/jsx/hooks/watchCSSProperty.d.ts +7 -0
  99. package/lib/jsx/hooks/watchCSSProperty.js +17 -0
  100. package/lib/jsx/index.cjs +1 -0
  101. package/lib/jsx/index.d.ts +13 -0
  102. package/lib/jsx/index.js +91 -0
  103. package/lib/jsx/instantiate.d.ts +5 -0
  104. package/lib/jsx/register.d.ts +1 -0
  105. package/lib/jsx/render.d.ts +6 -0
  106. package/lib/jsx/type.d.ts +192 -0
  107. package/lib/ladder/index.cjs +1 -1
  108. package/lib/ladder/index.js +1 -1
  109. package/lib/media/index.cjs +1 -1
  110. package/lib/media/index.js +1 -1
  111. package/lib/modal/index.cjs +1 -1
  112. package/lib/modal/index.js +33 -36
  113. package/lib/morph/index.cjs +1 -1
  114. package/lib/morph/index.js +33 -33
  115. package/lib/onConnect-DGP866cj.cjs +1 -0
  116. package/lib/onConnect-y5DrxJ9P.js +7 -0
  117. package/lib/pointer/PointerElement.d.ts +1 -2
  118. package/lib/pointer/index.cjs +1 -1
  119. package/lib/pointer/index.js +106 -118
  120. package/lib/popover/PopoverButtonElement.d.ts +1 -2
  121. package/lib/popover/PopoverElement.d.ts +1 -2
  122. package/lib/popover/index.cjs +1 -1
  123. package/lib/popover/index.js +109 -125
  124. package/lib/router/index.cjs +1 -1
  125. package/lib/router/index.js +76 -73
  126. package/lib/scroll/ScrollElement.d.ts +1 -2
  127. package/lib/scroll/ScrollUserElement.d.ts +1 -2
  128. package/lib/scroll/index.cjs +1 -1
  129. package/lib/scroll/index.js +674 -753
  130. package/lib/select/SelectElement.d.ts +1 -3
  131. package/lib/select/SelectUserElement.d.ts +1 -2
  132. package/lib/select/index.cjs +1 -1
  133. package/lib/select/index.js +1 -1
  134. package/lib/sequence/index.cjs +1 -1
  135. package/lib/sequence/index.js +105 -108
  136. package/lib/slicer/SlicerElement.d.ts +1 -2
  137. package/lib/slicer/index.cjs +5 -5
  138. package/lib/slicer/index.js +88 -106
  139. package/lib/source/SourceElement.d.ts +1 -2
  140. package/lib/source/index.cjs +2 -2
  141. package/lib/source/index.js +20 -21
  142. package/lib/store/Derived.d.ts +3 -3
  143. package/lib/store/DerivedArray.d.ts +8 -0
  144. package/lib/store/Keyed.d.ts +13 -0
  145. package/lib/store/index.cjs +1 -1
  146. package/lib/store/index.d.ts +2 -0
  147. package/lib/store/index.js +32 -32
  148. package/lib/tags-BBOGIzDK.cjs +1 -0
  149. package/lib/tags-CefGDQtF.js +485 -0
  150. package/lib/theme/index.cjs +1 -1
  151. package/lib/theme/index.js +2 -2
  152. package/lib/tweaker/TweakerFieldElement.d.ts +1 -2
  153. package/lib/tweaker/TweakerFolderElement.d.ts +1 -2
  154. package/lib/tweaker/TweakerStoreManagerElement.d.ts +1 -2
  155. package/lib/tweaker/index.cjs +3 -3
  156. package/lib/tweaker/index.js +392 -472
  157. package/lib/video/index.cjs +1 -1
  158. package/lib/video/index.js +26 -30
  159. package/package.json +65 -9
  160. package/lib/custom-element/index.cjs +0 -1
  161. package/lib/custom-element/index.d.ts +0 -8
  162. package/lib/custom-element/index.js +0 -30
  163. package/lib/index-CzpP1Tg6.cjs +0 -9
  164. package/lib/index-Dwd_62sm.js +0 -301
  165. package/lib/tags-CAfasCGV.cjs +0 -1
  166. package/lib/tags-D9lNDPX8.js +0 -848
@@ -1,103 +1,98 @@
1
- var He = (t, e, r) => {
2
- if (!e.has(t))
3
- throw TypeError("Cannot " + r);
1
+ var ve = (l, r, e) => {
2
+ if (!r.has(l))
3
+ throw TypeError("Cannot " + e);
4
4
  };
5
- var d = (t, e, r) => (He(t, e, "read from private field"), r ? r.call(t) : e.get(t)), J = (t, e, r) => {
6
- if (e.has(t))
5
+ var t = (l, r, e) => (ve(l, r, "read from private field"), e ? e.call(l) : r.get(l)), o = (l, r, e) => {
6
+ if (r.has(l))
7
7
  throw TypeError("Cannot add the same private member more than once");
8
- e instanceof WeakSet ? e.add(t) : e.set(t, r);
9
- }, x = (t, e, r, i) => (He(t, e, "write to private field"), i ? i.call(t, r) : e.set(t, r), r);
10
- import { i as it } from "../browser-0zX67oeU.js";
11
- import { CustomElement as Ve, define as M } from "../custom-element/index.js";
12
- import { s as W, a as K, S as je } from "../Store-Qr3SNOSf.js";
13
- import { c as at } from "../file-lxi_oXJf.js";
14
- import { d as nt } from "../function-C10DGppn.js";
15
- import { s as Je } from "../gestures-D2Fdra_G.js";
16
- import { e as f, a0 as Ce, a as ot, D as g, aB as lt, p as re, a3 as ht } from "../tags-D9lNDPX8.js";
17
- import { c as $ } from "../createStylesheet-BxKITIVV.js";
18
- import { a as ct } from "../Viewport-Cgtq2I_K.js";
8
+ r instanceof WeakSet ? r.add(l) : r.set(l, e);
9
+ }, n = (l, r, e, s) => (ve(l, r, "write to private field"), s ? s.call(l, e) : r.set(l, e), e);
10
+ var m = (l, r, e) => (ve(l, r, "access private method"), e);
11
+ import { i as We } from "../browser-0zX67oeU.js";
12
+ import { s as R, a as N, S as Ce } from "../Store-Dsft7GtM.js";
13
+ import { c as Be } from "../file-lxi_oXJf.js";
14
+ import { d as Xe } from "../function-C10DGppn.js";
15
+ import { s as Te } from "../gestures-D2Fdra_G.js";
16
+ import { e as g, $ as me, a as Ye, D as u, aA as qe, p as B, a2 as Ge } from "../tags-CefGDQtF.js";
17
+ import { c as E } from "../createStylesheet-C2gpLy4r.js";
18
+ import { a as Qe } from "../Viewport-Ud7nellV.js";
19
19
  import { aptechkaTheme as h } from "../theme/index.js";
20
- import { a as dt } from "../index-Dwd_62sm.js";
21
- import { a as pt } from "../events-CJTUMSLU.js";
20
+ import { a as Ue } from "../index-BtB-3MG7.js";
21
+ import { a as _e } from "../events-CJTUMSLU.js";
22
22
  import "../checkbox/index.js";
23
- import { c as ut } from "../math-BOBiC4TN.js";
24
- import { n as Be, t as gt } from "../polyfills-X6KXuHg-.js";
25
- import { elementResizer as Ge } from "../element-resizer/index.js";
26
- const Xe = '<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 24 24"><path fill-rule="evenodd" d="M20.536 3.464C19.07 2 16.714 2 12 2C7.286 2 4.929 2 3.464 3.464C2 4.93 2 7.286 2 12c0 4.714 0 7.071 1.464 8.535C4.93 22 7.286 22 12 22c4.714 0 7.071 0 8.535-1.465C22 19.072 22 16.714 22 12s0-7.071-1.465-8.536M16.75 12a.75.75 0 0 1-.75.75H9.81l1.72 1.72a.75.75 0 1 1-1.06 1.06l-3-3a.75.75 0 0 1 0-1.06l3-3a.75.75 0 1 1 1.06 1.06l-1.72 1.72H16a.75.75 0 0 1 .75.75" clip-rule="evenodd"/></svg>', Ye = '<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 24 24"><path d="M15.24 2h-3.894c-1.764 0-3.162 0-4.255.148c-1.126.152-2.037.472-2.755 1.193c-.719.721-1.038 1.636-1.189 2.766C3 7.205 3 8.608 3 10.379v5.838c0 1.508.92 2.8 2.227 3.342c-.067-.91-.067-2.185-.067-3.247v-5.01c0-1.281 0-2.386.118-3.27c.127-.948.413-1.856 1.147-2.593c.734-.737 1.639-1.024 2.583-1.152c.88-.118 1.98-.118 3.257-.118h3.07c1.276 0 2.374 0 3.255.118A3.601 3.601 0 0 0 15.24 2Z"/><path d="M6.6 11.397c0-2.726 0-4.089.844-4.936c.843-.847 2.2-.847 4.916-.847h2.88c2.715 0 4.073 0 4.917.847c.843.847.843 2.21.843 4.936v4.82c0 2.726 0 4.089-.843 4.936c-.844.847-2.202.847-4.917.847h-2.88c-2.715 0-4.073 0-4.916-.847c-.844-.847-.844-2.21-.844-4.936v-4.82Z"/></svg>', ft = '<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 24 24"><path fill-rule="evenodd" d="M2 12c0-4.714 0-7.071 1.464-8.536C4.93 2 7.286 2 12 2c4.714 0 7.071 0 8.535 1.464C22 4.93 22 7.286 22 12c0 4.714 0 7.071-1.465 8.535C19.072 22 16.714 22 12 22s-7.071 0-8.536-1.465C2 19.072 2 16.714 2 12Zm10-5.75a.75.75 0 0 1 .75.75v5.19l1.72-1.72a.75.75 0 1 1 1.06 1.06l-3 3a.75.75 0 0 1-1.06 0l-3-3a.75.75 0 1 1 1.06-1.06l1.72 1.72V7a.75.75 0 0 1 .75-.75Zm-4 10a.75.75 0 0 0 0 1.5h8a.75.75 0 0 0 0-1.5H8Z" clip-rule="evenodd"/></svg>', vt = '<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 24 24"><path fill-rule="evenodd" d="M2 12c0-4.714 0-7.071 1.464-8.536C4.93 2 7.286 2 12 2c4.714 0 7.071 0 8.535 1.464C22 4.93 22 7.286 22 12c0 4.714 0 7.071-1.465 8.535C19.072 22 16.714 22 12 22s-7.071 0-8.536-1.465C2 19.072 2 16.714 2 12Zm10 5.75a.75.75 0 0 0 .75-.75v-5.19l1.72 1.72a.75.75 0 1 0 1.06-1.06l-3-3a.75.75 0 0 0-1.06 0l-3 3a.75.75 0 1 0 1.06 1.06l1.72-1.72V17c0 .414.336.75.75.75Zm-4-10a.75.75 0 0 1 0-1.5h8a.75.75 0 0 1 0 1.5H8Z" clip-rule="evenodd"/></svg>';
27
- var I, _, P;
28
- class wt {
23
+ import { c as et } from "../math-BOBiC4TN.js";
24
+ import { n as ze, t as tt } from "../polyfills-X6KXuHg-.js";
25
+ import { elementResizer as Re } from "../element-resizer/index.js";
26
+ const Fe = '<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 24 24"><path fill-rule="evenodd" d="M20.536 3.464C19.07 2 16.714 2 12 2C7.286 2 4.929 2 3.464 3.464C2 4.93 2 7.286 2 12c0 4.714 0 7.071 1.464 8.535C4.93 22 7.286 22 12 22c4.714 0 7.071 0 8.535-1.465C22 19.072 22 16.714 22 12s0-7.071-1.465-8.536M16.75 12a.75.75 0 0 1-.75.75H9.81l1.72 1.72a.75.75 0 1 1-1.06 1.06l-3-3a.75.75 0 0 1 0-1.06l3-3a.75.75 0 1 1 1.06 1.06l-1.72 1.72H16a.75.75 0 0 1 .75.75" clip-rule="evenodd"/></svg>', Me = '<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 24 24"><path d="M15.24 2h-3.894c-1.764 0-3.162 0-4.255.148c-1.126.152-2.037.472-2.755 1.193c-.719.721-1.038 1.636-1.189 2.766C3 7.205 3 8.608 3 10.379v5.838c0 1.508.92 2.8 2.227 3.342c-.067-.91-.067-2.185-.067-3.247v-5.01c0-1.281 0-2.386.118-3.27c.127-.948.413-1.856 1.147-2.593c.734-.737 1.639-1.024 2.583-1.152c.88-.118 1.98-.118 3.257-.118h3.07c1.276 0 2.374 0 3.255.118A3.601 3.601 0 0 0 15.24 2Z"/><path d="M6.6 11.397c0-2.726 0-4.089.844-4.936c.843-.847 2.2-.847 4.916-.847h2.88c2.715 0 4.073 0 4.917.847c.843.847.843 2.21.843 4.936v4.82c0 2.726 0 4.089-.843 4.936c-.844.847-2.202.847-4.917.847h-2.88c-2.715 0-4.073 0-4.916-.847c-.844-.847-.844-2.21-.844-4.936v-4.82Z"/></svg>', st = '<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 24 24"><path fill-rule="evenodd" d="M2 12c0-4.714 0-7.071 1.464-8.536C4.93 2 7.286 2 12 2c4.714 0 7.071 0 8.535 1.464C22 4.93 22 7.286 22 12c0 4.714 0 7.071-1.465 8.535C19.072 22 16.714 22 12 22s-7.071 0-8.536-1.465C2 19.072 2 16.714 2 12Zm10-5.75a.75.75 0 0 1 .75.75v5.19l1.72-1.72a.75.75 0 1 1 1.06 1.06l-3 3a.75.75 0 0 1-1.06 0l-3-3a.75.75 0 1 1 1.06-1.06l1.72 1.72V7a.75.75 0 0 1 .75-.75Zm-4 10a.75.75 0 0 0 0 1.5h8a.75.75 0 0 0 0-1.5H8Z" clip-rule="evenodd"/></svg>', it = '<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 24 24"><path fill-rule="evenodd" d="M2 12c0-4.714 0-7.071 1.464-8.536C4.93 2 7.286 2 12 2c4.714 0 7.071 0 8.535 1.464C22 4.93 22 7.286 22 12c0 4.714 0 7.071-1.465 8.535C19.072 22 16.714 22 12 22s-7.071 0-8.536-1.465C2 19.072 2 16.714 2 12Zm10 5.75a.75.75 0 0 0 .75-.75v-5.19l1.72 1.72a.75.75 0 1 0 1.06-1.06l-3-3a.75.75 0 0 0-1.06 0l-3 3a.75.75 0 1 0 1.06 1.06l1.72-1.72V17c0 .414.336.75.75.75Zm-4-10a.75.75 0 0 1 0-1.5h8a.75.75 0 0 1 0 1.5H8Z" clip-rule="evenodd"/></svg>';
27
+ var P, w, k;
28
+ class rt {
29
29
  constructor() {
30
- J(this, I, void 0);
31
- J(this, _, void 0);
32
- J(this, P, void 0);
33
- this.scrollValue = 0, x(this, I, ""), x(this, _, []), x(this, P, {}), x(this, I, W.projectName + "-studio");
30
+ o(this, P, void 0);
31
+ o(this, w, void 0);
32
+ o(this, k, void 0);
33
+ this.scrollValue = 0, n(this, P, ""), n(this, w, []), n(this, k, {}), n(this, P, R.projectName + "-studio");
34
34
  }
35
- openPanel(e) {
36
- d(this, _).includes(e) || d(this, _).push(e);
35
+ openPanel(r) {
36
+ t(this, w).includes(r) || t(this, w).push(r);
37
37
  }
38
- closePanel(e) {
39
- x(this, _, d(this, _).filter((r) => r !== e));
38
+ closePanel(r) {
39
+ n(this, w, t(this, w).filter((e) => e !== r));
40
40
  }
41
- isPanelOpened(e) {
42
- return d(this, _).includes(e);
41
+ isPanelOpened(r) {
42
+ return t(this, w).includes(r);
43
43
  }
44
- changedSizes(e) {
45
- return d(this, P)[e];
44
+ changedSizes(r) {
45
+ return t(this, k)[r];
46
46
  }
47
- changeSize(e, r) {
48
- r ? d(this, P)[e] = r : delete d(this, P)[e];
47
+ changeSize(r, e) {
48
+ e ? t(this, k)[r] = e : delete t(this, k)[r];
49
49
  }
50
50
  save() {
51
- const e = {
52
- openedPanels: d(this, _),
53
- changedSizes: d(this, P),
51
+ const r = {
52
+ openedPanels: t(this, w),
53
+ changedSizes: t(this, k),
54
54
  scrollValue: this.scrollValue
55
55
  };
56
- localStorage.setItem(d(this, I), JSON.stringify(e)), W.saveState();
56
+ localStorage.setItem(t(this, P), JSON.stringify(r)), R.saveState();
57
57
  }
58
58
  load() {
59
- W.loadState();
60
- const e = localStorage.getItem(d(this, I));
61
- if (e)
59
+ R.loadState();
60
+ const r = localStorage.getItem(t(this, P));
61
+ if (r)
62
62
  try {
63
- const r = JSON.parse(e);
64
- r.openedPanels && x(this, _, r.openedPanels), r.changedSizes && x(this, P, r.changedSizes), r.scrollValue && (this.scrollValue = r.scrollValue);
65
- } catch (r) {
66
- console.error(r);
63
+ const e = JSON.parse(r);
64
+ e.openedPanels && n(this, w, e.openedPanels), e.changedSizes && n(this, k, e.changedSizes), e.scrollValue && (this.scrollValue = e.scrollValue);
65
+ } catch (e) {
66
+ console.error(e);
67
67
  }
68
68
  }
69
69
  }
70
- I = new WeakMap(), _ = new WeakMap(), P = new WeakMap();
71
- const w = new wt();
70
+ P = new WeakMap(), w = new WeakMap(), k = new WeakMap();
71
+ const f = new rt();
72
72
  var T;
73
- class H extends Ve {
74
- constructor(...r) {
73
+ class J extends HTMLElement {
74
+ constructor(...e) {
75
75
  super();
76
- J(this, T, void 0);
77
- x(this, T, r);
76
+ o(this, T, void 0);
77
+ n(this, T, e);
78
78
  }
79
- addStore(r) {
80
- d(this, T).push(r);
79
+ addStore(e) {
80
+ t(this, T).push(e);
81
81
  }
82
82
  get firstStore() {
83
- return d(this, T)[0];
83
+ return t(this, T)[0];
84
84
  }
85
85
  get stores() {
86
- return d(this, T);
86
+ return t(this, T);
87
87
  }
88
- updateStores(r) {
89
- d(this, T).forEach((i) => {
90
- i.current = r;
88
+ updateStores(e) {
89
+ t(this, T).forEach((s) => {
90
+ s.current = e;
91
91
  });
92
92
  }
93
93
  }
94
94
  T = new WeakMap();
95
- var mt = Object.defineProperty, bt = Object.getOwnPropertyDescriptor, _t = (t, e, r, i) => {
96
- for (var s = i > 1 ? void 0 : i ? bt(e, r) : e, n = t.length - 1, a; n >= 0; n--)
97
- (a = t[n]) && (s = (i ? a(e, r, s) : a(s)) || s);
98
- return i && s && mt(e, r, s), s;
99
- };
100
- const yt = $({
95
+ const ot = E({
101
96
  ":host": {
102
97
  width: "100%",
103
98
  display: "inline-flex",
@@ -110,33 +105,29 @@ const yt = $({
110
105
  borderRadius: h.borderRadiusSmall.var
111
106
  }
112
107
  });
113
- let Oe = class extends H {
114
- constructor(...t) {
115
- super(...t), this.openShadow(yt), f(this, {
108
+ class Le extends J {
109
+ constructor(...r) {
110
+ super(...r), this.attachShadow({ mode: "open" }).adoptedStyleSheets.push(ot), g(this, {
116
111
  children: [
117
- f("e-checkbox", {
118
- onChange: (e) => {
119
- this.updateStores(e.currentTarget.checked);
112
+ g("e-checkbox", {
113
+ onChange: (s) => {
114
+ this.updateStores(s.currentTarget.checked);
120
115
  },
121
- ref: (e) => {
122
- this.firstStore.subscribe((r) => {
123
- e.checked = r.current;
116
+ ref: (s) => {
117
+ this.firstStore.subscribe((i) => {
118
+ s.checked = i.current;
124
119
  });
125
120
  }
126
121
  })
127
122
  ]
128
123
  });
129
124
  }
130
- };
131
- Oe = _t([
132
- M("e-tweaker-boolean-manager")
133
- ], Oe);
134
- var St = Object.defineProperty, kt = Object.getOwnPropertyDescriptor, xt = (t, e, r, i) => {
135
- for (var s = i > 1 ? void 0 : i ? kt(e, r) : e, n = t.length - 1, a; n >= 0; n--)
136
- (a = t[n]) && (s = (i ? a(e, r, s) : a(s)) || s);
137
- return i && s && St(e, r, s), s;
138
- };
139
- const Ct = $({
125
+ }
126
+ customElements.get("e-tweaker-boolean-manager") || customElements.define(
127
+ "e-tweaker-boolean-manager",
128
+ Le
129
+ );
130
+ const nt = E({
140
131
  ":host": {
141
132
  width: "100%",
142
133
  display: "inline-flex",
@@ -159,65 +150,44 @@ const Ct = $({
159
150
  height: "calc(var(--height-input) * 0.93)"
160
151
  }
161
152
  });
162
- let We = class extends H {
163
- constructor(...t) {
164
- super(...t), this.openShadow(Ct), f(this, {
153
+ class Pe extends J {
154
+ constructor(...r) {
155
+ super(...r), this.attachShadow({ mode: "open" }).adoptedStyleSheets.push(nt), g(this, {
165
156
  children: [
166
- Ce({
157
+ me({
167
158
  type: "color",
168
159
  value: this.firstStore,
169
- onInput: (e) => {
170
- this.updateStores(e.currentTarget.value);
160
+ onInput: (s) => {
161
+ this.updateStores(s.currentTarget.value);
171
162
  }
172
163
  })
173
164
  ]
174
165
  });
175
166
  }
176
- };
177
- We = xt([
178
- M("e-tweaker-color-manager")
179
- ], We);
180
- var Pt = Object.defineProperty, Mt = Object.getOwnPropertyDescriptor, $t = (t, e, r, i) => {
181
- for (var s = i > 1 ? void 0 : i ? Mt(e, r) : e, n = t.length - 1, a; n >= 0; n--)
182
- (a = t[n]) && (s = (i ? a(e, r, s) : a(s)) || s);
183
- return i && s && Pt(e, r, s), s;
184
- };
185
- const zt = $({
167
+ }
168
+ customElements.get("e-tweaker-color-manager") || customElements.define("e-tweaker-color-manager", Pe);
169
+ const at = E({
186
170
  a: {
187
171
  color: "inherit",
188
172
  fontSize: "var(--font-size-small)"
189
173
  }
190
174
  });
191
- let Te = class extends H {
192
- constructor(...t) {
193
- var e, r;
194
- super(...t), this.openShadow(zt), console.log(this.firstStore), f(this, {
175
+ class Ie extends J {
176
+ constructor(...r) {
177
+ var s, i;
178
+ super(...r), this.attachShadow({ mode: "open" }).adoptedStyleSheets.push(at), console.log(this.firstStore), g(this, {
195
179
  children: [
196
- ot({
180
+ Ye({
197
181
  href: this.firstStore,
198
- target: (r = (e = this.firstStore.passport) == null ? void 0 : e.manager) != null && r.sameWindow ? "_self" : "_blank",
182
+ target: (i = (s = this.firstStore.passport) == null ? void 0 : s.manager) != null && i.sameWindow ? "_self" : "_blank",
199
183
  children: this.firstStore
200
184
  })
201
185
  ]
202
186
  });
203
187
  }
204
- };
205
- Te = $t([
206
- M("e-tweaker-link-manager")
207
- ], Te);
208
- var Et = Object.defineProperty, Ot = Object.getOwnPropertyDescriptor, Wt = (t, e, r, i) => {
209
- for (var s = i > 1 ? void 0 : i ? Ot(e, r) : e, n = t.length - 1, a; n >= 0; n--)
210
- (a = t[n]) && (s = (i ? a(e, r, s) : a(s)) || s);
211
- return i && s && Et(e, r, s), s;
212
- }, Ne = (t, e, r) => {
213
- if (!e.has(t))
214
- throw TypeError("Cannot " + r);
215
- }, o = (t, e, r) => (Ne(t, e, "read from private field"), r ? r.call(t) : e.get(t)), p = (t, e, r) => {
216
- if (e.has(t))
217
- throw TypeError("Cannot add the same private member more than once");
218
- e instanceof WeakSet ? e.add(t) : e.set(t, r);
219
- }, z = (t, e, r, i) => (Ne(t, e, "write to private field"), e.set(t, r), r), m = (t, e, r) => (Ne(t, e, "access private method"), r), V, se, q, O, F, ne, oe, C, Z, le, he, L, N, ce, De, Se, Ke, ie, ke, de;
220
- const Tt = $({
188
+ }
189
+ customElements.get("e-tweaker-link-manager") || customElements.define("e-tweaker-link-manager", Ie);
190
+ const lt = E({
221
191
  ":host": {
222
192
  width: "100%",
223
193
  display: "flex",
@@ -281,78 +251,96 @@ const Tt = $({
281
251
  opacity: 0.3
282
252
  }
283
253
  });
284
- let Re = class extends H {
285
- constructor(...t) {
286
- var e, r, i, s, n, a, D, j;
287
- super(...t), p(this, L), p(this, ce), p(this, Se), p(this, ie), p(this, V, []), p(this, se, []), p(this, q, void 0), p(this, O, void 0), p(this, F, void 0), p(this, ne, void 0), p(this, oe, void 0), p(this, C, void 0), p(this, Z, !1), p(this, le, (B) => {
288
- const b = m(this, L, N).call(this, B);
289
- return b.map((u, G) => {
290
- const Pe = typeof u == "string" ? parseFloat(u) || o(this, O) : u, y = ut(Pe, o(this, O), o(this, F)), Me = gt(y, o(this, q));
291
- b[G] = Me;
292
- }), o(this, oe) === "number" ? b[0] : b;
293
- }), p(this, he, () => {
294
- m(this, L, N).call(this).map((B, b) => {
295
- const u = o(this, V)[b];
296
- u && (u.value = (B || 0).toString());
297
- }), m(this, ce, De).call(this);
298
- }), p(this, de, () => {
299
- m(this, ce, De).call(this);
300
- }), this.openShadow(Tt), z(this, O, Be(
301
- (r = (e = this.firstStore.passport) == null ? void 0 : e.manager) == null ? void 0 : r.min,
254
+ var I, A, D, x, F, X, Y, y, V, q, G, M, $, Q, Se, U, ye, H, ce, _;
255
+ class Ve extends J {
256
+ constructor(...e) {
257
+ var i, a, d, c, S, L, W, xe;
258
+ super(...e);
259
+ o(this, M);
260
+ o(this, Q);
261
+ o(this, U);
262
+ o(this, H);
263
+ o(this, I, []);
264
+ o(this, A, []);
265
+ o(this, D, void 0);
266
+ o(this, x, void 0);
267
+ o(this, F, void 0);
268
+ o(this, X, void 0);
269
+ o(this, Y, void 0);
270
+ o(this, y, void 0);
271
+ o(this, V, !1);
272
+ o(this, q, (e) => {
273
+ const s = m(this, M, $).call(this, e);
274
+ return s.map((i, a) => {
275
+ const d = typeof i == "string" ? parseFloat(i) || t(this, x) : i, c = et(d, t(this, x), t(this, F)), S = tt(c, t(this, D));
276
+ s[a] = S;
277
+ }), t(this, Y) === "number" ? s[0] : s;
278
+ });
279
+ o(this, G, () => {
280
+ m(this, M, $).call(this).map((e, s) => {
281
+ const i = t(this, I)[s];
282
+ i && (i.value = (e || 0).toString());
283
+ }), m(this, Q, Se).call(this);
284
+ });
285
+ o(this, _, () => {
286
+ m(this, Q, Se).call(this);
287
+ });
288
+ this.attachShadow({ mode: "open" }).adoptedStyleSheets.push(lt), n(this, x, ze(
289
+ (a = (i = this.firstStore.passport) == null ? void 0 : i.manager) == null ? void 0 : a.min,
302
290
  -1 / 0
303
- )), z(this, F, Be(
304
- (s = (i = this.firstStore.passport) == null ? void 0 : i.manager) == null ? void 0 : s.max,
291
+ )), n(this, F, ze(
292
+ (c = (d = this.firstStore.passport) == null ? void 0 : d.manager) == null ? void 0 : c.max,
305
293
  1 / 0
306
- )), z(this, q, ((a = (n = this.firstStore.passport) == null ? void 0 : n.manager) == null ? void 0 : a.step) || 0.01), z(this, ne, ((j = (D = this.firstStore.passport) == null ? void 0 : D.manager) == null ? void 0 : j.ease) || 1), z(this, oe, Array.isArray(this.firstStore.current) ? "array" : "number"), z(this, C, isFinite(o(this, F)) && isFinite(o(this, O))), f(this, {
307
- class: o(this, C) ? "" : "infinite",
308
- children: m(this, L, N).call(this).map((B, b) => g({
294
+ )), n(this, D, ((L = (S = this.firstStore.passport) == null ? void 0 : S.manager) == null ? void 0 : L.step) || 0.01), n(this, X, ((xe = (W = this.firstStore.passport) == null ? void 0 : W.manager) == null ? void 0 : xe.ease) || 1), n(this, Y, Array.isArray(this.firstStore.current) ? "array" : "number"), n(this, y, isFinite(t(this, F)) && isFinite(t(this, x))), g(this, {
295
+ class: t(this, y) ? "" : "infinite",
296
+ children: m(this, M, $).call(this).map((De, de) => u({
309
297
  class: "inputs-wrapper",
310
298
  children: [
311
- Ce({
299
+ me({
312
300
  type: "number",
313
- step: o(this, q),
314
- min: o(this, O),
315
- max: o(this, F),
316
- ref: (u) => o(this, V).push(u),
317
- value: B,
301
+ step: t(this, D),
302
+ min: t(this, x),
303
+ max: t(this, F),
304
+ ref: (C) => t(this, I).push(C),
305
+ value: De,
318
306
  onChange: () => {
319
307
  this.updateStores(
320
- o(this, V).map((u) => parseFloat(u.value))
308
+ t(this, I).map((C) => parseFloat(C.value))
321
309
  );
322
310
  }
323
311
  }),
324
- g({
312
+ u({
325
313
  class: "drag",
326
314
  children: [
327
- g({
315
+ u({
328
316
  class: "drag-knob",
329
- ref: (u) => o(this, se).push(u),
330
- onPointerdown: (u) => {
331
- u.preventDefault(), z(this, Z, !0);
332
- const G = m(this, L, N).call(this), Pe = G[b], y = o(this, se)[b], Me = o(this, V)[b];
333
- if (y && Me) {
334
- const $e = y.parentElement, et = m(this, Se, Ke).call(this);
335
- $e.classList.add("grabbing"), Je(
336
- (ze) => {
337
- const Ze = ze.x - u.x, tt = o(this, C) ? $e.offsetWidth / (et || 1) : 1, rt = Pe + Ze / tt * o(this, ne);
338
- if (G[b] = rt, !o(this, C)) {
339
- const st = m(this, ie, ke).call(this, y, 0);
340
- y.style.transform = `translateX(${st + Ze}px)`;
317
+ ref: (C) => t(this, A).push(C),
318
+ onPointerdown: (C) => {
319
+ C.preventDefault(), n(this, V, !0);
320
+ const fe = m(this, M, $).call(this), He = fe[de], z = t(this, A)[de], Ke = t(this, I)[de];
321
+ if (z && Ke) {
322
+ const we = z.parentElement, Oe = m(this, U, ye).call(this);
323
+ we.classList.add("grabbing"), Te(
324
+ (be) => {
325
+ const Ee = be.x - C.x, Ze = t(this, y) ? we.offsetWidth / (Oe || 1) : 1, je = He + Ee / Ze * t(this, X);
326
+ if (fe[de] = je, !t(this, y)) {
327
+ const Je = m(this, H, ce).call(this, z, 0);
328
+ z.style.transform = `translateX(${Je + Ee}px)`;
341
329
  }
342
- this.updateStores([...G]);
330
+ this.updateStores([...fe]);
343
331
  },
344
332
  () => {
345
- if (z(this, Z, !1), !o(this, C)) {
346
- const ze = m(this, ie, ke).call(this, y, 0);
347
- y.style.transition = "transform 0.1s", y.style.transform = `translateX(${ze}px)`, $e.classList.remove("grabbing"), setTimeout(() => {
348
- y.style.transition = "";
333
+ if (n(this, V, !1), !t(this, y)) {
334
+ const be = m(this, H, ce).call(this, z, 0);
335
+ z.style.transition = "transform 0.1s", z.style.transform = `translateX(${be}px)`, we.classList.remove("grabbing"), setTimeout(() => {
336
+ z.style.transition = "";
349
337
  }, 100);
350
338
  }
351
339
  }
352
340
  );
353
341
  }
354
342
  },
355
- children: g({
343
+ children: u({
356
344
  class: "drag-knob-inner"
357
345
  })
358
346
  })
@@ -363,56 +351,30 @@ let Re = class extends H {
363
351
  });
364
352
  }
365
353
  connectedCallback() {
366
- this.firstStore.addMiddleware(o(this, le)), this.firstStore.subscribe(o(this, he)), Ge.subscribe(this, o(this, de));
354
+ this.firstStore.addMiddleware(t(this, q)), this.firstStore.subscribe(t(this, G)), Re.subscribe(this, t(this, _));
367
355
  }
368
356
  disconnectedCallback() {
369
- this.firstStore.removeMiddleware(o(this, le)), this.firstStore.unsubscribe(o(this, he)), Ge.unsubscribe(o(this, de));
357
+ this.firstStore.removeMiddleware(t(this, q)), this.firstStore.unsubscribe(t(this, G)), Re.unsubscribe(t(this, _));
370
358
  }
371
- };
372
- V = /* @__PURE__ */ new WeakMap();
373
- se = /* @__PURE__ */ new WeakMap();
374
- q = /* @__PURE__ */ new WeakMap();
375
- O = /* @__PURE__ */ new WeakMap();
376
- F = /* @__PURE__ */ new WeakMap();
377
- ne = /* @__PURE__ */ new WeakMap();
378
- oe = /* @__PURE__ */ new WeakMap();
379
- C = /* @__PURE__ */ new WeakMap();
380
- Z = /* @__PURE__ */ new WeakMap();
381
- le = /* @__PURE__ */ new WeakMap();
382
- he = /* @__PURE__ */ new WeakMap();
383
- L = /* @__PURE__ */ new WeakSet();
384
- N = function(t = this.firstStore.current) {
385
- return Array.isArray(t) ? t : [t];
386
- };
387
- ce = /* @__PURE__ */ new WeakSet();
388
- De = function() {
389
- m(this, L, N).call(this).map((t, e) => {
390
- const r = o(this, se)[e];
391
- if (r && (!o(this, Z) || o(this, Z) && o(this, C))) {
392
- const i = m(this, ie, ke).call(this, r, t);
393
- r.style.transform = `translateX(${i}px)`;
359
+ }
360
+ I = new WeakMap(), A = new WeakMap(), D = new WeakMap(), x = new WeakMap(), F = new WeakMap(), X = new WeakMap(), Y = new WeakMap(), y = new WeakMap(), V = new WeakMap(), q = new WeakMap(), G = new WeakMap(), M = new WeakSet(), $ = function(e = this.firstStore.current) {
361
+ return Array.isArray(e) ? e : [e];
362
+ }, Q = new WeakSet(), Se = function() {
363
+ m(this, M, $).call(this).map((e, s) => {
364
+ const i = t(this, A)[s];
365
+ if (i && (!t(this, V) || t(this, V) && t(this, y))) {
366
+ const a = m(this, H, ce).call(this, i, e);
367
+ i.style.transform = `translateX(${a}px)`;
394
368
  }
395
369
  });
396
- };
397
- Se = /* @__PURE__ */ new WeakSet();
398
- Ke = function() {
399
- return o(this, C) ? o(this, F) - o(this, O) : 0;
400
- };
401
- ie = /* @__PURE__ */ new WeakSet();
402
- ke = function(t, e) {
403
- const r = t.parentElement, i = m(this, Se, Ke).call(this), s = i ? e / i : 0.5;
404
- return (r.offsetWidth - t.offsetWidth) * s;
405
- };
406
- de = /* @__PURE__ */ new WeakMap();
407
- Re = Wt([
408
- M("e-tweaker-number-manager")
409
- ], Re);
410
- var Dt = Object.defineProperty, Rt = Object.getOwnPropertyDescriptor, Ft = (t, e, r, i) => {
411
- for (var s = i > 1 ? void 0 : i ? Rt(e, r) : e, n = t.length - 1, a; n >= 0; n--)
412
- (a = t[n]) && (s = (i ? a(e, r, s) : a(s)) || s);
413
- return i && s && Dt(e, r, s), s;
414
- };
415
- const Lt = $({
370
+ }, U = new WeakSet(), ye = function() {
371
+ return t(this, y) ? t(this, F) - t(this, x) : 0;
372
+ }, H = new WeakSet(), ce = function(e, s) {
373
+ const i = e.parentElement, a = m(this, U, ye).call(this), d = a ? s / a : 0.5;
374
+ return (i.offsetWidth - e.offsetWidth) * d;
375
+ }, _ = new WeakMap();
376
+ customElements.get("e-tweaker-number-manager") || customElements.define("e-tweaker-number-manager", Ve);
377
+ const ht = E({
416
378
  "e-select": {
417
379
  display: "block",
418
380
  width: "100%",
@@ -446,45 +408,38 @@ const Lt = $({
446
408
  transform: "scaleY(-1)"
447
409
  }
448
410
  });
449
- let Fe = class extends H {
450
- constructor(...t) {
451
- var r, i;
452
- super(...t), this.openShadow(Lt);
453
- const e = ((i = (r = this.firstStore.passport) == null ? void 0 : r.manager) == null ? void 0 : i.variants) || [];
454
- f(this, {
455
- children: f("e-select", {
411
+ class $e extends J {
412
+ constructor(...r) {
413
+ var i, a;
414
+ super(...r), this.attachShadow({ mode: "open" }).adoptedStyleSheets.push(ht);
415
+ const s = ((a = (i = this.firstStore.passport) == null ? void 0 : i.manager) == null ? void 0 : a.variants) || [];
416
+ g(this, {
417
+ children: g("e-select", {
456
418
  value: this.firstStore,
457
- onChange: (s) => {
458
- this.updateStores(s.currentTarget.value);
419
+ onChange: (d) => {
420
+ this.updateStores(d.currentTarget.value);
459
421
  },
460
422
  lightChildren: [
461
- f("e-select-head", {
423
+ g("e-select-head", {
462
424
  lightChildren: [
463
- lt({
425
+ qe({
464
426
  "data-value-holder": ""
465
427
  })
466
428
  ]
467
429
  }),
468
- ...e.map(
469
- (s, n) => f("e-select-option", {
470
- lightChildren: s,
471
- default: n === 0 ? !0 : null
430
+ ...s.map(
431
+ (d, c) => g("e-select-option", {
432
+ lightChildren: d,
433
+ default: c === 0 ? !0 : null
472
434
  })
473
435
  )
474
436
  ]
475
437
  })
476
438
  });
477
439
  }
478
- };
479
- Fe = Ft([
480
- M("e-tweaker-select-manager")
481
- ], Fe);
482
- var It = Object.defineProperty, At = Object.getOwnPropertyDescriptor, Vt = (t, e, r, i) => {
483
- for (var s = i > 1 ? void 0 : i ? At(e, r) : e, n = t.length - 1, a; n >= 0; n--)
484
- (a = t[n]) && (s = (i ? a(e, r, s) : a(s)) || s);
485
- return i && s && It(e, r, s), s;
486
- };
487
- const Nt = $({
440
+ }
441
+ customElements.get("e-tweaker-select-manager") || customElements.define("e-tweaker-select-manager", $e);
442
+ const dt = E({
488
443
  ":host": {
489
444
  width: "100%",
490
445
  display: "flex",
@@ -506,48 +461,33 @@ const Nt = $({
506
461
  borderRadius: h.borderRadius.var
507
462
  }
508
463
  });
509
- let Le = class extends H {
510
- constructor(...t) {
511
- super(...t), this.openShadow(Nt), f(this, {
464
+ class Ne extends J {
465
+ constructor(...r) {
466
+ super(...r), this.attachShadow({ mode: "open" }).adoptedStyleSheets.push(dt), g(this, {
512
467
  children: [
513
- Ce({
468
+ me({
514
469
  class: "text-input",
515
470
  type: "string",
516
471
  value: this.firstStore,
517
- onChange: (e) => {
472
+ onChange: (s) => {
518
473
  this.updateStores(
519
- e.currentTarget.value
474
+ s.currentTarget.value
520
475
  );
521
476
  }
522
477
  })
523
478
  ]
524
479
  });
525
480
  }
526
- };
527
- Le = Vt([
528
- M("e-tweaker-string-manager")
529
- ], Le);
530
- const Kt = {
531
- boolean: Oe,
532
- color: We,
533
- link: Te,
534
- number: Re,
535
- select: Fe,
536
- string: Le
537
- };
538
- var Zt = Object.defineProperty, Ht = Object.getOwnPropertyDescriptor, jt = (t, e, r, i) => {
539
- for (var s = i > 1 ? void 0 : i ? Ht(e, r) : e, n = t.length - 1, a; n >= 0; n--)
540
- (a = t[n]) && (s = (i ? a(e, r, s) : a(s)) || s);
541
- return i && s && Zt(e, r, s), s;
542
- }, qe = (t, e, r) => {
543
- if (!e.has(t))
544
- throw TypeError("Cannot " + r);
545
- }, c = (t, e, r) => (qe(t, e, "read from private field"), r ? r.call(t) : e.get(t)), R = (t, e, r) => {
546
- if (e.has(t))
547
- throw TypeError("Cannot add the same private member more than once");
548
- e instanceof WeakSet ? e.add(t) : e.set(t, r);
549
- }, A = (t, e, r, i) => (qe(t, e, "write to private field"), e.set(t, r), r), S, Q, U, ee, te, pe, ue;
550
- const Bt = $({
481
+ }
482
+ customElements.get("e-tweaker-string-manager") || customElements.define("e-tweaker-string-manager", Ne);
483
+ const ct = {
484
+ boolean: Le,
485
+ color: Pe,
486
+ link: Ie,
487
+ number: Ve,
488
+ select: $e,
489
+ string: Ne
490
+ }, pt = E({
551
491
  ":host": {
552
492
  display: "grid",
553
493
  gridAutoFlow: "column",
@@ -592,48 +532,57 @@ const Bt = $({
592
532
  height: "100%"
593
533
  }
594
534
  });
595
- let xe = class extends Ve {
596
- constructor(t) {
597
- var r, i, s, n;
598
- super(), R(this, S, []), R(this, Q, void 0), R(this, U, void 0), R(this, ee, !1), R(this, te, void 0), R(this, pe, () => {
599
- K.current.find((a) => c(this, S).includes(a)) || this.remove();
600
- }), R(this, ue, (a) => {
601
- c(this, ee) && ((a.metaKey || a.ctrlKey) && a.code === "KeyC" ? navigator.clipboard.writeText(c(this, S)[0].current) : (a.metaKey || a.ctrlKey) && a.code === "KeyR" && (c(this, S).forEach((D) => {
602
- D.reset();
603
- }), a.preventDefault()));
604
- }), A(this, S, [t.store]), A(this, Q, t.store.passport.name), A(this, U, c(this, Q).split(".").slice(-1).toString());
605
- const e = ((i = (r = t.store.passport) == null ? void 0 : r.manager) == null ? void 0 : i.type) || "string";
606
- A(this, te, new Kt[e](c(this, S)[0])), this.openShadow(Bt), f(this, {
535
+ var b, K, O, Z, j, ee, te;
536
+ class ke extends HTMLElement {
537
+ constructor(e) {
538
+ var a, d, c, S;
539
+ super();
540
+ o(this, b, []);
541
+ o(this, K, void 0);
542
+ o(this, O, void 0);
543
+ o(this, Z, !1);
544
+ o(this, j, void 0);
545
+ o(this, ee, () => {
546
+ N.current.find((e) => t(this, b).includes(e)) || this.remove();
547
+ });
548
+ o(this, te, (e) => {
549
+ t(this, Z) && ((e.metaKey || e.ctrlKey) && e.code === "KeyC" ? navigator.clipboard.writeText(t(this, b)[0].current) : (e.metaKey || e.ctrlKey) && e.code === "KeyR" && (t(this, b).forEach((s) => {
550
+ s.reset();
551
+ }), e.preventDefault()));
552
+ });
553
+ n(this, b, [e.store]), n(this, K, e.store.passport.name), n(this, O, t(this, K).split(".").slice(-1).toString());
554
+ const s = ((d = (a = e.store.passport) == null ? void 0 : a.manager) == null ? void 0 : d.type) || "string";
555
+ n(this, j, new ct[s](t(this, b)[0])), this.attachShadow({ mode: "open" }).adoptedStyleSheets.push(pt), g(this, {
607
556
  class: {
608
- disabled: ((n = (s = t.store.passport) == null ? void 0 : s.manager) == null ? void 0 : n.disabled) || !1
557
+ disabled: ((S = (c = e.store.passport) == null ? void 0 : c.manager) == null ? void 0 : S.disabled) || !1
609
558
  },
610
559
  onPointerleave: () => {
611
- A(this, ee, !1);
560
+ n(this, Z, !1);
612
561
  },
613
562
  onPointerenter: () => {
614
- A(this, ee, !0);
563
+ n(this, Z, !0);
615
564
  },
616
565
  children: [
617
- g({
566
+ u({
618
567
  class: "head",
619
568
  children: [
620
- g({ class: "name", children: c(this, U) + ":" }),
621
- g({
569
+ u({ class: "name", children: t(this, O) + ":" }),
570
+ u({
622
571
  class: "head-buttons",
623
572
  children: [
624
- re({
573
+ B({
625
574
  class: "head-button",
626
- children: Ye,
575
+ children: Me,
627
576
  onClick: () => {
628
- navigator.clipboard.writeText(c(this, S)[0].current);
577
+ navigator.clipboard.writeText(t(this, b)[0].current);
629
578
  }
630
579
  }),
631
- re({
580
+ B({
632
581
  class: "head-button",
633
- children: Xe,
582
+ children: Fe,
634
583
  onClick: () => {
635
- c(this, S).forEach((a) => {
636
- a.reset();
584
+ t(this, b).forEach((L) => {
585
+ L.reset();
637
586
  });
638
587
  }
639
588
  })
@@ -641,52 +590,32 @@ let xe = class extends Ve {
641
590
  })
642
591
  ]
643
592
  }),
644
- c(this, te)
593
+ t(this, j)
645
594
  ]
646
595
  });
647
596
  }
648
597
  get key() {
649
- return c(this, Q);
598
+ return t(this, K);
650
599
  }
651
600
  get name() {
652
- return c(this, U);
601
+ return t(this, O);
653
602
  }
654
603
  get stores() {
655
- return c(this, S);
604
+ return t(this, b);
656
605
  }
657
- addStore(t) {
658
- c(this, te).addStore(t);
606
+ addStore(e) {
607
+ t(this, j).addStore(e);
659
608
  }
660
609
  connectedCallback() {
661
- K.subscribe(c(this, pe)), addEventListener("keydown", c(this, ue)), pt(this);
610
+ N.subscribe(t(this, ee)), addEventListener("keydown", t(this, te)), _e(this);
662
611
  }
663
612
  disconnectedCallback() {
664
- K.unsubscribe(c(this, pe)), removeEventListener("keydown", c(this, ue));
613
+ N.unsubscribe(t(this, ee)), removeEventListener("keydown", t(this, te));
665
614
  }
666
- };
667
- S = /* @__PURE__ */ new WeakMap();
668
- Q = /* @__PURE__ */ new WeakMap();
669
- U = /* @__PURE__ */ new WeakMap();
670
- ee = /* @__PURE__ */ new WeakMap();
671
- te = /* @__PURE__ */ new WeakMap();
672
- pe = /* @__PURE__ */ new WeakMap();
673
- ue = /* @__PURE__ */ new WeakMap();
674
- xe = jt([
675
- M("e-tweaker-field")
676
- ], xe);
677
- var Gt = Object.defineProperty, Jt = Object.getOwnPropertyDescriptor, Xt = (t, e, r, i) => {
678
- for (var s = i > 1 ? void 0 : i ? Jt(e, r) : e, n = t.length - 1, a; n >= 0; n--)
679
- (a = t[n]) && (s = (i ? a(e, r, s) : a(s)) || s);
680
- return i && s && Gt(e, r, s), s;
681
- }, Qe = (t, e, r) => {
682
- if (!e.has(t))
683
- throw TypeError("Cannot " + r);
684
- }, l = (t, e, r) => (Qe(t, e, "read from private field"), r ? r.call(t) : e.get(t)), E = (t, e, r) => {
685
- if (e.has(t))
686
- throw TypeError("Cannot add the same private member more than once");
687
- e instanceof WeakSet ? e.add(t) : e.set(t, r);
688
- }, X = (t, e, r, i) => (Qe(t, e, "write to private field"), e.set(t, r), r), k, ge, v, fe, ve, we, me, Ie;
689
- const Yt = $({
615
+ }
616
+ b = new WeakMap(), K = new WeakMap(), O = new WeakMap(), Z = new WeakMap(), j = new WeakMap(), ee = new WeakMap(), te = new WeakMap();
617
+ customElements.get("e-tweaker-field") || customElements.define("e-tweaker-field", ke);
618
+ const ut = E({
690
619
  ".wrapper": {
691
620
  boxSizing: "border-box",
692
621
  backgroundColor: "rgba(255, 255, 255, 0.1)",
@@ -741,129 +670,119 @@ const Yt = $({
741
670
  transform: "scaleY(-1)"
742
671
  }
743
672
  });
744
- let ae = class extends Ve {
745
- constructor(t) {
746
- super(), E(this, k, void 0), E(this, ge, new je(null)), E(this, v, new je([])), E(this, fe, void 0), E(this, ve, null), E(this, we, null), E(this, me, null), E(this, Ie, (e) => {
747
- let r = [], i = [];
748
- e.forEach((s) => {
749
- r = [...r, ...s.removedNodes], i = [...i, ...s.addedNodes];
750
- }), l(this, v).current = l(this, v).current.filter(
751
- (s) => !r.includes(s)
752
- ), l(this, k) && !l(this, v).current.length && !i.length && this.remove();
753
- }), this.openShadow(Yt), X(this, k, t.key), X(this, fe, new MutationObserver(l(this, Ie))), f(this, {
673
+ var v, se, p, ie, re, oe, ne, ue;
674
+ const ge = class ge extends HTMLElement {
675
+ constructor(e) {
676
+ super();
677
+ o(this, v, void 0);
678
+ o(this, se, new Ce(null));
679
+ o(this, p, new Ce([]));
680
+ o(this, ie, void 0);
681
+ o(this, re, null);
682
+ o(this, oe, null);
683
+ o(this, ne, null);
684
+ o(this, ue, (e) => {
685
+ let s = [], i = [];
686
+ e.forEach((a) => {
687
+ s = [...s, ...a.removedNodes], i = [...i, ...a.addedNodes];
688
+ }), t(this, p).current = t(this, p).current.filter(
689
+ (a) => !s.includes(a)
690
+ ), t(this, v) && !t(this, p).current.length && !i.length && this.remove();
691
+ });
692
+ this.attachShadow({ mode: "open" }).adoptedStyleSheets.push(ut), n(this, v, e.key), n(this, ie, new MutationObserver(t(this, ue))), g(this, {
754
693
  children: [
755
- g({
694
+ u({
756
695
  class: "wrapper",
757
696
  children: [
758
- g({
697
+ u({
759
698
  class: "head",
760
- onClick: (e) => {
761
- this.classList.toggle("opened"), this.classList.contains("opened") ? w.openPanel(l(this, k)) : w.closePanel(l(this, k));
699
+ onClick: (i) => {
700
+ this.classList.toggle("opened"), this.classList.contains("opened") ? f.openPanel(t(this, v)) : f.closePanel(t(this, v));
762
701
  },
763
702
  children: [
764
- l(this, k) ? g({
703
+ t(this, v) ? u({
765
704
  class: "name",
766
- children: [l(this, k).split(".").slice(-1).toString()]
705
+ children: [t(this, v).split(".").slice(-1).toString()]
767
706
  }) : null,
768
- l(this, ge),
769
- f(dt, {
707
+ t(this, se),
708
+ g(Ue, {
770
709
  class: "arrow"
771
710
  })
772
711
  ]
773
712
  }),
774
- g({
713
+ u({
775
714
  class: "body",
776
- ref: (e) => {
777
- X(this, ve, e);
715
+ ref: (i) => {
716
+ n(this, re, i);
778
717
  },
779
- children: g({
718
+ children: u({
780
719
  class: "body-content",
781
- children: l(this, v),
782
- ref: (e) => {
783
- X(this, we, e), X(this, me, e.firstElementChild);
720
+ children: t(this, p),
721
+ ref: (i) => {
722
+ n(this, oe, i), n(this, ne, i.firstElementChild);
784
723
  }
785
724
  })
786
725
  })
787
726
  ]
788
727
  })
789
728
  ]
790
- }), t != null && t.storeBox && this.handleStore(t.storeBox);
729
+ }), e != null && e.storeBox && this.handleStore(e.storeBox);
791
730
  }
792
731
  get key() {
793
- return l(this, k);
732
+ return t(this, v);
794
733
  }
795
734
  get head() {
796
- return l(this, ge);
735
+ return t(this, se);
797
736
  }
798
737
  get content() {
799
- return l(this, v);
738
+ return t(this, p);
800
739
  }
801
740
  get bodyElement() {
802
- return l(this, ve);
741
+ return t(this, re);
803
742
  }
804
743
  get contentElement() {
805
- return l(this, we);
744
+ return t(this, oe);
806
745
  }
807
746
  connectedCallback() {
808
- w.isPanelOpened(l(this, k)) && this.classList.add("opened"), setTimeout(() => {
747
+ f.isPanelOpened(t(this, v)) && this.classList.add("opened"), setTimeout(() => {
809
748
  this.classList.add("transition-allowed");
810
- }), l(this, fe).observe(l(this, me), {
749
+ }), t(this, ie).observe(t(this, ne), {
811
750
  childList: !0
812
751
  });
813
752
  }
814
- handleStore(t) {
815
- if (t.remainingFolders.length) {
816
- const r = t.store.passport.name.split("."), i = r.slice(0, r.length - t.remainingFolders.length).join("."), s = l(this, v).current.find((n) => n.key === i);
817
- s instanceof ae ? s.handleStore({
818
- store: t.store,
819
- remainingFolders: t.remainingFolders.slice(1)
820
- }) : l(this, v).current = [
821
- ...l(this, v).current,
822
- new ae({
823
- key: i,
753
+ handleStore(e) {
754
+ if (e.remainingFolders.length) {
755
+ const i = e.store.passport.name.split("."), a = i.slice(0, i.length - e.remainingFolders.length).join("."), d = t(this, p).current.find((c) => c.key === a);
756
+ d instanceof ge ? d.handleStore({
757
+ store: e.store,
758
+ remainingFolders: e.remainingFolders.slice(1)
759
+ }) : t(this, p).current = [
760
+ ...t(this, p).current,
761
+ new ge({
762
+ key: a,
824
763
  storeBox: {
825
- store: t.store,
826
- remainingFolders: t.remainingFolders.slice(1)
764
+ store: e.store,
765
+ remainingFolders: e.remainingFolders.slice(1)
827
766
  }
828
767
  })
829
768
  ];
830
769
  } else {
831
- const e = l(this, v).current.find(
832
- (r) => r.key === t.store.passport.name
770
+ const s = t(this, p).current.find(
771
+ (i) => i.key === e.store.passport.name
833
772
  );
834
- e instanceof xe ? e.addStore(t.store) : l(this, v).current = [
835
- ...l(this, v).current,
836
- new xe({
837
- store: t.store
773
+ s instanceof ke ? s.addStore(e.store) : t(this, p).current = [
774
+ ...t(this, p).current,
775
+ new ke({
776
+ store: e.store
838
777
  })
839
778
  ];
840
779
  }
841
780
  }
842
781
  };
843
- k = /* @__PURE__ */ new WeakMap();
844
- ge = /* @__PURE__ */ new WeakMap();
845
- v = /* @__PURE__ */ new WeakMap();
846
- fe = /* @__PURE__ */ new WeakMap();
847
- ve = /* @__PURE__ */ new WeakMap();
848
- we = /* @__PURE__ */ new WeakMap();
849
- me = /* @__PURE__ */ new WeakMap();
850
- Ie = /* @__PURE__ */ new WeakMap();
851
- ae = Xt([
852
- M("e-tweaker-folder")
853
- ], ae);
854
- var qt = Object.defineProperty, Qt = Object.getOwnPropertyDescriptor, Ut = (t, e, r, i) => {
855
- for (var s = i > 1 ? void 0 : i ? Qt(e, r) : e, n = t.length - 1, a; n >= 0; n--)
856
- (a = t[n]) && (s = (i ? a(e, r, s) : a(s)) || s);
857
- return i && s && qt(e, r, s), s;
858
- }, Ue = (t, e, r) => {
859
- if (!e.has(t))
860
- throw TypeError("Cannot " + r);
861
- }, Y = (t, e, r) => (Ue(t, e, "read from private field"), e.get(t)), Ee = (t, e, r) => {
862
- if (e.has(t))
863
- throw TypeError("Cannot add the same private member more than once");
864
- e instanceof WeakSet ? e.add(t) : e.set(t, r);
865
- }, er = (t, e, r, i) => (Ue(t, e, "write to private field"), e.set(t, r), r), be, _e, ye;
866
- const tr = $({
782
+ v = new WeakMap(), se = new WeakMap(), p = new WeakMap(), ie = new WeakMap(), re = new WeakMap(), oe = new WeakMap(), ne = new WeakMap(), ue = new WeakMap();
783
+ let pe = ge;
784
+ customElements.get("e-tweaker-folder") || customElements.define("e-tweaker-folder", pe);
785
+ const gt = E({
867
786
  ":host": {
868
787
  "--tweaker-width": "550px",
869
788
  "--tweaker-offset": "20px",
@@ -938,7 +857,7 @@ const tr = $({
938
857
  ":host .body-content::-webkit-scrollbar": {
939
858
  display: "none"
940
859
  },
941
- [`@media ${ct["<=mobile"]}`]: {
860
+ [`@media ${Qe["<=mobile"]}`]: {
942
861
  ":host": {
943
862
  position: "absolute",
944
863
  top: "0",
@@ -955,79 +874,84 @@ const tr = $({
955
874
  }
956
875
  }
957
876
  });
958
- let Ae = class extends ae {
877
+ var ae, le, he;
878
+ class Ae extends pe {
959
879
  constructor() {
960
880
  super({
961
881
  key: ""
962
- }), Ee(this, be, !1), Ee(this, _e, () => {
963
- w.save();
964
- }), Ee(this, ye, nt(() => {
965
- K.current.forEach((t) => {
966
- var e;
967
- if (t.passport && !((e = t.passport.manager) != null && e.invisible)) {
968
- const r = t.passport.name.split(".");
882
+ });
883
+ o(this, ae, !1);
884
+ o(this, le, () => {
885
+ f.save();
886
+ });
887
+ o(this, he, Xe(() => {
888
+ N.current.forEach((e) => {
889
+ var s;
890
+ if (e.passport && !((s = e.passport.manager) != null && s.invisible)) {
891
+ const i = e.passport.name.split(".");
969
892
  this.handleStore({
970
- store: t,
971
- remainingFolders: r.length > 1 ? r.slice(0, -1) : []
893
+ store: e,
894
+ remainingFolders: i.length > 1 ? i.slice(0, -1) : []
972
895
  });
973
896
  }
974
- }), Y(this, be) || (er(this, be, !0), this.contentElement.scroll({
975
- top: w.scrollValue
897
+ }), t(this, ae) || (n(this, ae, !0), this.contentElement.scroll({
898
+ top: f.scrollValue
976
899
  }), this.contentElement.addEventListener("scroll", () => {
977
- w.scrollValue = this.contentElement.scrollTop;
900
+ f.scrollValue = this.contentElement.scrollTop;
978
901
  }));
979
- }, 10)), w.load(), this.addStylesheet(tr), this.head.current = [
980
- g({
902
+ }, 10));
903
+ f.load(), this.shadowRoot.adoptedStyleSheets.push(gt), this.head.current = [
904
+ u({
981
905
  class: "tweaker-buttons",
982
- onClick: (t) => {
983
- t.stopPropagation();
906
+ onClick: (e) => {
907
+ e.stopPropagation();
984
908
  },
985
909
  children: [
986
- re({
910
+ B({
987
911
  class: "tweaker-button",
988
- children: Xe,
912
+ children: Fe,
989
913
  onClick: () => {
990
- W.resetState();
914
+ R.resetState();
991
915
  }
992
916
  }),
993
- re({
917
+ B({
994
918
  class: ["tweaker-button"],
995
- children: [Ye],
919
+ children: [Me],
996
920
  onClick: () => {
997
921
  navigator.clipboard.writeText(
998
- JSON.stringify(W.getState())
922
+ JSON.stringify(R.getState())
999
923
  );
1000
924
  }
1001
925
  }),
1002
- re({
926
+ B({
1003
927
  class: "tweaker-button",
1004
- children: ft,
928
+ children: st,
1005
929
  onClick: () => {
1006
- at(
1007
- W.projectName,
1008
- W.getState()
930
+ Be(
931
+ R.projectName,
932
+ R.getState()
1009
933
  );
1010
934
  }
1011
935
  }),
1012
- ht({
936
+ Ge({
1013
937
  class: "tweaker-button",
1014
938
  children: [
1015
- vt,
1016
- Ce({
939
+ it,
940
+ me({
1017
941
  type: "file",
1018
942
  style: {
1019
943
  display: "none"
1020
944
  },
1021
- onChange: (t) => {
1022
- var i;
1023
- const r = (i = t.currentTarget.files) == null ? void 0 : i[0];
1024
- if (r) {
1025
- const s = new FileReader();
1026
- s.onload = (n) => {
1027
- var D, j;
1028
- const a = (j = (D = n.target) == null ? void 0 : D.result) == null ? void 0 : j.toString();
1029
- a && W.loadState(a);
1030
- }, s.readAsText(r);
945
+ onChange: (e) => {
946
+ var a;
947
+ const i = (a = e.currentTarget.files) == null ? void 0 : a[0];
948
+ if (i) {
949
+ const d = new FileReader();
950
+ d.onload = (c) => {
951
+ var L, W;
952
+ const S = (W = (L = c.target) == null ? void 0 : L.result) == null ? void 0 : W.toString();
953
+ S && R.loadState(S);
954
+ }, d.readAsText(i);
1031
955
  }
1032
956
  }
1033
957
  })
@@ -1035,45 +959,41 @@ let Ae = class extends ae {
1035
959
  })
1036
960
  ]
1037
961
  })
1038
- ], f(this.bodyElement, {
962
+ ], g(this.bodyElement, {
1039
963
  children: [
1040
- g({
964
+ u({
1041
965
  class: "resize",
1042
- onPointerdown: (t) => {
1043
- t.preventDefault();
1044
- const e = this.getBoundingClientRect(), r = this.contentElement.scrollTop;
1045
- Je(
1046
- (i) => {
1047
- const s = t.x - i.x, n = Math.max(400, e.width + s);
1048
- this.style.width = n + "px", w.changeSize("tweaker", n);
966
+ onPointerdown: (e) => {
967
+ e.preventDefault();
968
+ const s = this.getBoundingClientRect(), i = this.contentElement.scrollTop;
969
+ Te(
970
+ (a) => {
971
+ const d = e.x - a.x, c = Math.max(400, s.width + d);
972
+ this.style.width = c + "px", f.changeSize("tweaker", c);
1049
973
  },
1050
974
  () => {
1051
975
  setTimeout(() => {
1052
976
  this.contentElement.scroll({
1053
- top: r
977
+ top: i
1054
978
  });
1055
979
  }, 10);
1056
980
  }
1057
981
  );
1058
982
  },
1059
983
  onDblclick: () => {
1060
- this.style.width = "", w.changeSize("tweaker", null);
984
+ this.style.width = "", f.changeSize("tweaker", null);
1061
985
  }
1062
986
  })
1063
987
  ]
1064
988
  });
1065
989
  }
1066
990
  connectedCallback() {
1067
- super.connectedCallback(), window.addEventListener("beforeunload", Y(this, _e)), K.subscribe(Y(this, ye)), w.changedSizes("tweaker") && (this.style.width = w.changedSizes("tweaker") + "px");
991
+ super.connectedCallback(), window.addEventListener("beforeunload", t(this, le)), N.subscribe(t(this, he)), f.changedSizes("tweaker") && (this.style.width = f.changedSizes("tweaker") + "px");
1068
992
  }
1069
993
  disconnectedCallback() {
1070
- window.removeEventListener("beforeunload", Y(this, _e)), w.save(), K.unsubscribe(Y(this, ye));
994
+ window.removeEventListener("beforeunload", t(this, le)), f.save(), N.unsubscribe(t(this, he));
1071
995
  }
1072
- };
1073
- be = /* @__PURE__ */ new WeakMap();
1074
- _e = /* @__PURE__ */ new WeakMap();
1075
- ye = /* @__PURE__ */ new WeakMap();
1076
- Ae = Ut([
1077
- M("e-tweaker")
1078
- ], Ae);
1079
- it && document.body.appendChild(new Ae());
996
+ }
997
+ ae = new WeakMap(), le = new WeakMap(), he = new WeakMap();
998
+ customElements.get("e-tweaker") || customElements.define("e-tweaker", Ae);
999
+ We && document.body.appendChild(new Ae());