nodality 1.0.84 → 1.0.104

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (335) hide show
  1. package/dist/animator.cjs.js +1 -2
  2. package/dist/animator.esm.js +1 -2
  3. package/dist/appleanim.cjs.js +1 -1
  4. package/dist/appleanim.esm.js +1 -1
  5. package/dist/audionew.cjs.js +1 -2
  6. package/dist/audionew.esm.js +1 -2
  7. package/dist/base.cjs.js +0 -1
  8. package/dist/base.esm.js +1 -2
  9. package/dist/beta-desktop-bar.cjs.js +1 -0
  10. package/dist/beta-desktop-bar.esm.js +1 -0
  11. package/dist/beta-mobile-bar.cjs.js +1 -0
  12. package/dist/beta-mobile-bar.esm.js +1 -0
  13. package/dist/betaDesktopBar.esm.js +1 -1
  14. package/dist/betaMobileBar.esm.js +1 -1
  15. package/dist/bundle.umd.js +1 -2
  16. package/dist/button.cjs.js +1 -2
  17. package/dist/button.esm.js +1 -2
  18. package/dist/card-getter.cjs.js +1 -0
  19. package/dist/card-getter.esm.js +1 -0
  20. package/dist/cardGetter.esm.js +1 -1
  21. package/dist/center.cjs.js +1 -2
  22. package/dist/center.esm.js +1 -2
  23. package/dist/checkbox.cjs.js +1 -2
  24. package/dist/checkbox.esm.js +1 -2
  25. package/dist/code.cjs.js +1 -2
  26. package/dist/code.esm.js +1 -2
  27. package/dist/container.cjs.js +1 -2
  28. package/dist/container.esm.js +1 -2
  29. package/dist/data-list.cjs.js +1 -0
  30. package/dist/data-list.esm.js +1 -0
  31. package/dist/designer.cjs.js +1 -2
  32. package/dist/designer.esm.js +1 -2
  33. package/dist/dropdown.cjs.js +1 -2
  34. package/dist/dropdown.esm.js +1 -2
  35. package/dist/element-mapper.cjs.js +1 -0
  36. package/dist/element-mapper.esm.js +1 -0
  37. package/dist/elementMapper.cjs.js +1 -1
  38. package/dist/elementMapper.esm.js +1 -1
  39. package/dist/finalresult.esm.js +1 -2
  40. package/dist/flex-card.cjs.js +1 -0
  41. package/dist/flex-card.esm.js +1 -0
  42. package/dist/flex-grid.cjs.js +1 -0
  43. package/dist/flex-grid.esm.js +1 -0
  44. package/dist/flex-row.cjs.js +1 -0
  45. package/dist/flex-row.esm.js +1 -0
  46. package/dist/flexCard.cjs.js +1 -1
  47. package/dist/flexCard.esm.js +1 -1
  48. package/dist/floating-input.cjs.js +1 -0
  49. package/dist/floating-input.esm.js +1 -0
  50. package/dist/free.cjs.js +1 -2
  51. package/dist/free.esm.js +1 -2
  52. package/dist/horizontal-scroller.cjs.js +1 -0
  53. package/dist/horizontal-scroller.esm.js +1 -0
  54. package/dist/image-picker.cjs.js +1 -0
  55. package/dist/image-picker.esm.js +1 -0
  56. package/dist/image.cjs.js +1 -2
  57. package/dist/image.esm.js +1 -2
  58. package/dist/index.cjs.js +1 -2
  59. package/dist/index.esm.js +1 -2
  60. package/dist/keyframe-animation.cjs.js +1 -0
  61. package/dist/keyframe-animation.esm.js +1 -0
  62. package/dist/link-getter.cjs.js +1 -0
  63. package/dist/link-getter.esm.js +1 -0
  64. package/dist/link.cjs.js +1 -2
  65. package/dist/link.esm.js +1 -2
  66. package/dist/linkGetter.cjs.js +1 -1
  67. package/dist/linkGetter.esm.js +1 -1
  68. package/dist/meta-adder.cjs.js +1 -0
  69. package/dist/meta-adder.esm.js +1 -0
  70. package/dist/modal-2025.cjs.js +1 -0
  71. package/dist/modal-2025.esm.js +1 -0
  72. package/dist/multiswitcher.cjs.js +1 -0
  73. package/dist/multiswitcher.esm.js +1 -0
  74. package/dist/new-nav-bar.cjs.js +1 -0
  75. package/dist/new-nav-bar.esm.js +1 -0
  76. package/dist/picker.cjs.js +1 -2
  77. package/dist/picker.esm.js +1 -2
  78. package/dist/progress.cjs.js +1 -2
  79. package/dist/progress.esm.js +1 -2
  80. package/dist/radio.cjs.js +1 -2
  81. package/dist/radio.esm.js +1 -2
  82. package/dist/range.cjs.js +1 -2
  83. package/dist/range.esm.js +1 -2
  84. package/dist/scroll-video.cjs.js +1 -0
  85. package/dist/scroll-video.esm.js +1 -0
  86. package/dist/scrollvideo.cjs.js +1 -1
  87. package/dist/scrollvideo.esm.js +1 -1
  88. package/dist/side-bar.cjs.js +1 -0
  89. package/dist/side-bar.esm.js +1 -0
  90. package/dist/side-nav-bar.cjs.js +1 -0
  91. package/dist/side-nav-bar.esm.js +1 -0
  92. package/dist/simple-bar.cjs.js +1 -0
  93. package/dist/simple-bar.esm.js +1 -0
  94. package/dist/slider-2025.cjs.js +1 -0
  95. package/dist/slider-2025.esm.js +1 -0
  96. package/dist/spacer.cjs.js +0 -1
  97. package/dist/spacer.esm.js +1 -0
  98. package/dist/stack.cjs.js +1 -2
  99. package/dist/stack.esm.js +1 -2
  100. package/dist/stacker.cjs.js +1 -2
  101. package/dist/stacker.esm.js +1 -2
  102. package/dist/table.cjs.js +1 -2
  103. package/dist/table.esm.js +1 -2
  104. package/dist/text-field.cjs.js +1 -0
  105. package/dist/text-field.esm.js +1 -0
  106. package/dist/text.cjs.js +1 -2
  107. package/dist/text.esm.js +1 -2
  108. package/dist/transform-anim.cjs.js +1 -0
  109. package/dist/transform-anim.esm.js +1 -0
  110. package/dist/transformanim.cjs.js +1 -1
  111. package/dist/transformanim.esm.js +1 -1
  112. package/dist/ulist.cjs.js +1 -2
  113. package/dist/ulist.esm.js +1 -2
  114. package/dist/video.cjs.js +1 -0
  115. package/dist/video.esm.js +1 -2
  116. package/dist/wrap.cjs.js +0 -1
  117. package/dist/wrap.esm.js +1 -2
  118. package/dist/zoom-card.cjs.js +1 -0
  119. package/dist/zoom-card.esm.js +1 -0
  120. package/layout/animator.js +1 -1
  121. package/layout/audio.js +1 -1
  122. package/layout/audionew.js +1 -1
  123. package/layout/base-2.js +1 -1
  124. package/layout/base.js +1 -1
  125. package/layout/{betaDesktopBar.js → beta-desktop-bar.js} +1 -1
  126. package/layout/{betaMobileBar.js → beta-mobile-bar.js} +1 -1
  127. package/layout/box.js +1 -1
  128. package/layout/button.js +1 -1
  129. package/layout/cards.js +2 -1
  130. package/layout/center.js +1 -1
  131. package/layout/checkbox.js +1 -1
  132. package/layout/circle.js +1 -1
  133. package/layout/{cleanRow.js → clean-row.js} +1 -1
  134. package/layout/code.js +1 -1
  135. package/layout/container.js +1 -1
  136. package/layout/custom.js +1 -1
  137. package/layout/{divImage.js → div-image.js} +1 -1
  138. package/layout/{dropdown2025.js → dropdown-2025.js} +6 -1
  139. package/layout/dropdown.js +1 -1
  140. package/layout/{emptyElement.js → empty-element.js} +1 -1
  141. package/layout/{externalStylesheet.js → external-stylesheet.js} +1 -1
  142. package/layout/{flexCard.js → flex-card.js} +3 -1
  143. package/layout/{flexGrid.js → flex-grid.js} +1 -1
  144. package/layout/{flexrow.js → flex-row.js} +1 -1
  145. package/layout/footer.js +1 -1
  146. package/layout/{formComponents → form-components}/custom.js +1 -1
  147. package/layout/{formComponents/dataList.js → form-components/data-list.js} +1 -1
  148. package/layout/{formComponents/floatingInput.js → form-components/floating-input.js} +1 -1
  149. package/layout/{formComponents → form-components}/form-all.js +1 -1
  150. package/layout/{formComponents → form-components}/form.js +1 -1
  151. package/layout/{formComponents/imagePicker.js → form-components/image-picker.js} +1 -1
  152. package/layout/{formComponents → form-components}/picker.js +1 -1
  153. package/layout/{formComponents → form-components}/radio.js +1 -1
  154. package/layout/{formComponents → form-components}/radiogroup.js +1 -1
  155. package/layout/{formComponents → form-components}/range.js +1 -1
  156. package/layout/free.js +1 -1
  157. package/layout/grid-new.js +1 -1
  158. package/layout/{gridSwitcher.js → grid-switcher.js} +1 -1
  159. package/layout/grid.js +1 -1
  160. package/layout/group.js +1 -1
  161. package/layout/header.js +1 -1
  162. package/layout/{horizontalScroller.js → horizontal-scroller.js} +1 -1
  163. package/layout/image-old.js +1 -1
  164. package/layout/image.js +1 -1
  165. package/layout/index.js +49 -37
  166. package/layout/label.js +1 -1
  167. package/layout/link.js +1 -1
  168. package/layout/list-OLD.js +1 -1
  169. package/layout/list.js +1 -1
  170. package/layout/{metaAdder.js → meta-adder.js} +1 -1
  171. package/layout/{modal2025.js → modal-2025.js} +1 -1
  172. package/layout/modernwrap.js +1 -1
  173. package/layout/multiswitcher.js +1 -1
  174. package/layout/multiswitcherBeta.js +1 -1
  175. package/layout/{navBar.js → nav-bar.js} +1 -1
  176. package/layout/{navFactor/customDiv.js → nav-factor/custom-div.js} +1 -1
  177. package/layout/navBar-OLD.js +1 -1
  178. package/layout/{newFlatAdder.js → new-flat-adder.js} +1 -1
  179. package/layout/{newNavBar.js → new-nav-bar.js} +1 -1
  180. package/layout/{offsetContainer.js → offset-container.js} +1 -1
  181. package/layout/polygon.js +1 -1
  182. package/layout/progress.js +1 -1
  183. package/layout/row.js +1 -1
  184. package/layout/{savedNewNavBar.js → saved-new-nav-bar.js} +1 -1
  185. package/layout/{scrollvideo.js → scroll-video.js} +1 -1
  186. package/layout/{sideBar.js → side-bar.js} +1 -1
  187. package/layout/{sideNavBar.js → side-nav-bar.js} +1 -1
  188. package/layout/{simpleBar.js → simple-bar.js} +1 -1
  189. package/layout/{slider2025.js → slider-2025.js} +1 -1
  190. package/layout/spacer.js +1 -1
  191. package/layout/stack.js +1 -1
  192. package/layout/styler.js +1 -1
  193. package/layout/switcher.js +1 -1
  194. package/layout/table.js +1 -1
  195. package/layout/{textField.js → text-field.js} +1 -1
  196. package/layout/text.js +1 -1
  197. package/layout/ulist.js +1 -1
  198. package/layout/video.js +1 -1
  199. package/layout/{withoutNew.js → without-new.js} +1 -1
  200. package/layout/wrap.js +1 -1
  201. package/layout/{zoomCard.js → zoom-card.js} +1 -1
  202. package/lib/{cardGetter.js → card-getter.js} +1 -1
  203. package/lib/designer.js +49 -49
  204. package/lib/{elementMapper.js → element-mapper.js} +56 -37
  205. package/lib/{KeyframeAnimation.js → keyframe-animation.js} +1 -1
  206. package/lib/{linkGetter.js → link-getter.js} +1 -1
  207. package/lib/{scrollvideo.js → scroll-video.js} +1 -1
  208. package/lib/{Stacker.js → stacker.js} +2 -1
  209. package/lib/{TransformAnim.js → transform-anim.js} +1 -1
  210. package/package.json +4 -2
  211. package/dist/KeyframeAnimation.cjs.js +0 -2
  212. package/dist/KeyframeAnimation.cjs.js.LICENSE.txt +0 -5
  213. package/dist/KeyframeAnimation.esm.js +0 -2
  214. package/dist/KeyframeAnimation.esm.js.LICENSE.txt +0 -5
  215. package/dist/animator.cjs.js.LICENSE.txt +0 -5
  216. package/dist/animator.esm.js.LICENSE.txt +0 -5
  217. package/dist/appleanim.cjs.js.LICENSE.txt +0 -5
  218. package/dist/appleanim.esm.js.LICENSE.txt +0 -5
  219. package/dist/audionew.cjs.js.LICENSE.txt +0 -5
  220. package/dist/audionew.esm.js.LICENSE.txt +0 -5
  221. package/dist/base.cjs.js.LICENSE.txt +0 -5
  222. package/dist/base.esm.js.LICENSE.txt +0 -5
  223. package/dist/betaDesktopBar.esm.js.LICENSE.txt +0 -5
  224. package/dist/betaMobileBar.esm.js.LICENSE.txt +0 -5
  225. package/dist/bundle.umd.js.LICENSE.txt +0 -5
  226. package/dist/button.cjs.js.LICENSE.txt +0 -5
  227. package/dist/button.esm.js.LICENSE.txt +0 -5
  228. package/dist/cardGetter.cjs.js.LICENSE.txt +0 -5
  229. package/dist/cardGetter.esm.js.LICENSE.txt +0 -5
  230. package/dist/center.cjs.js.LICENSE.txt +0 -5
  231. package/dist/center.esm.js.LICENSE.txt +0 -5
  232. package/dist/checkbox.cjs.js.LICENSE.txt +0 -5
  233. package/dist/checkbox.esm.js.LICENSE.txt +0 -5
  234. package/dist/circle.cjs.js +0 -2
  235. package/dist/circle.cjs.js.LICENSE.txt +0 -5
  236. package/dist/circle.esm.js +0 -2
  237. package/dist/circle.esm.js.LICENSE.txt +0 -5
  238. package/dist/code.cjs.js.LICENSE.txt +0 -5
  239. package/dist/code.esm.js.LICENSE.txt +0 -5
  240. package/dist/container.cjs.js.LICENSE.txt +0 -5
  241. package/dist/container.esm.js.LICENSE.txt +0 -5
  242. package/dist/datalist.cjs.js.LICENSE.txt +0 -5
  243. package/dist/datalist.esm.js.LICENSE.txt +0 -5
  244. package/dist/designer.cjs.js.LICENSE.txt +0 -5
  245. package/dist/designer.esm.js.LICENSE.txt +0 -5
  246. package/dist/dropdown.cjs.js.LICENSE.txt +0 -5
  247. package/dist/dropdown.esm.js.LICENSE.txt +0 -5
  248. package/dist/elementMapper.cjs.js.LICENSE.txt +0 -5
  249. package/dist/elementMapper.esm.js.LICENSE.txt +0 -5
  250. package/dist/finalresult.esm.js.LICENSE.txt +0 -5
  251. package/dist/flexCard.cjs.js.LICENSE.txt +0 -5
  252. package/dist/flexCard.esm.js.LICENSE.txt +0 -5
  253. package/dist/flexGrid.cjs.js.LICENSE.txt +0 -5
  254. package/dist/flexGrid.esm.js.LICENSE.txt +0 -5
  255. package/dist/flexRow.cjs.js.LICENSE.txt +0 -5
  256. package/dist/flexRow.esm.js.LICENSE.txt +0 -5
  257. package/dist/floatingInput.cjs.js.LICENSE.txt +0 -5
  258. package/dist/floatingInput.esm.js.LICENSE.txt +0 -5
  259. package/dist/free.cjs.js.LICENSE.txt +0 -5
  260. package/dist/free.esm.js.LICENSE.txt +0 -5
  261. package/dist/gridSwitcher.cjs.js +0 -2
  262. package/dist/gridSwitcher.cjs.js.LICENSE.txt +0 -5
  263. package/dist/gridSwitcher.esm.js +0 -2
  264. package/dist/gridSwitcher.esm.js.LICENSE.txt +0 -5
  265. package/dist/horizontalScroller.esm.js.LICENSE.txt +0 -5
  266. package/dist/image.cjs.js.LICENSE.txt +0 -5
  267. package/dist/image.esm.js.LICENSE.txt +0 -5
  268. package/dist/imagePicker.cjs.js.LICENSE.txt +0 -5
  269. package/dist/imagePicker.esm.js.LICENSE.txt +0 -5
  270. package/dist/index.cjs.js.LICENSE.txt +0 -5
  271. package/dist/index.esm.js.LICENSE.txt +0 -5
  272. package/dist/link.cjs.js.LICENSE.txt +0 -5
  273. package/dist/link.esm.js.LICENSE.txt +0 -5
  274. package/dist/linkGetter.cjs.js.LICENSE.txt +0 -5
  275. package/dist/linkGetter.esm.js.LICENSE.txt +0 -5
  276. package/dist/metaAdder.cjs.js.LICENSE.txt +0 -5
  277. package/dist/metaAdder.esm.js.LICENSE.txt +0 -5
  278. package/dist/modal2025.cjs.js.LICENSE.txt +0 -5
  279. package/dist/modal2025.esm.js.LICENSE.txt +0 -5
  280. package/dist/multiswitchers.esm.js.LICENSE.txt +0 -5
  281. package/dist/newNavBar.cjs.js.LICENSE.txt +0 -5
  282. package/dist/newNavBar.esm.js.LICENSE.txt +0 -5
  283. package/dist/picker.cjs.js.LICENSE.txt +0 -5
  284. package/dist/picker.esm.js.LICENSE.txt +0 -5
  285. package/dist/polygon.cjs.js +0 -2
  286. package/dist/polygon.cjs.js.LICENSE.txt +0 -5
  287. package/dist/polygon.esm.js +0 -2
  288. package/dist/polygon.esm.js.LICENSE.txt +0 -5
  289. package/dist/progress.cjs.js.LICENSE.txt +0 -5
  290. package/dist/progress.esm.js.LICENSE.txt +0 -5
  291. package/dist/radio.cjs.js.LICENSE.txt +0 -5
  292. package/dist/radio.esm.js.LICENSE.txt +0 -5
  293. package/dist/range.cjs.js.LICENSE.txt +0 -5
  294. package/dist/range.esm.js.LICENSE.txt +0 -5
  295. package/dist/scrollvideo.cjs.js.LICENSE.txt +0 -5
  296. package/dist/scrollvideo.esm.js.LICENSE.txt +0 -5
  297. package/dist/sideBar.cjs.js.LICENSE.txt +0 -5
  298. package/dist/sideBar.esm.js.LICENSE.txt +0 -5
  299. package/dist/sideNavBar.cjs.js.LICENSE.txt +0 -5
  300. package/dist/sideNavBar.esm.js.LICENSE.txt +0 -5
  301. package/dist/simpleBar.cjs.js.LICENSE.txt +0 -5
  302. package/dist/simpleBar.esm.js.LICENSE.txt +0 -5
  303. package/dist/slider2025.cjs.js +0 -2
  304. package/dist/slider2025.cjs.js.LICENSE.txt +0 -5
  305. package/dist/slider2025.esm.js +0 -2
  306. package/dist/slider2025.esm.js.LICENSE.txt +0 -5
  307. package/dist/spacer.cjs.js.LICENSE.txt +0 -5
  308. package/dist/stack.cjs.js.LICENSE.txt +0 -5
  309. package/dist/stack.esm.js.LICENSE.txt +0 -5
  310. package/dist/stacker.cjs.js.LICENSE.txt +0 -5
  311. package/dist/stacker.esm.js.LICENSE.txt +0 -5
  312. package/dist/table.cjs.js.LICENSE.txt +0 -5
  313. package/dist/table.esm.js.LICENSE.txt +0 -5
  314. package/dist/text.cjs.js.LICENSE.txt +0 -5
  315. package/dist/text.esm.js.LICENSE.txt +0 -5
  316. package/dist/textField.cjs.js.LICENSE.txt +0 -5
  317. package/dist/textField.esm.js.LICENSE.txt +0 -5
  318. package/dist/transformanim.cjs.js.LICENSE.txt +0 -5
  319. package/dist/transformanim.esm.js.LICENSE.txt +0 -5
  320. package/dist/ulist.cjs.js.LICENSE.txt +0 -5
  321. package/dist/ulist.esm.js.LICENSE.txt +0 -5
  322. package/dist/video.esm.js.LICENSE.txt +0 -5
  323. package/dist/wrap.cjs.js.LICENSE.txt +0 -5
  324. package/dist/wrap.esm.js.LICENSE.txt +0 -5
  325. package/dist/zoomCard.cjs.js.LICENSE.txt +0 -5
  326. package/dist/zoomCard.esm.js.LICENSE.txt +0 -5
  327. package/layout/<head> +0 -59
  328. package/layout/DEADJOE +0 -49
  329. package/layout/DEPRECATED-PARAGRAPH.js +0 -109
  330. package/layout/edit.sh +0 -39
  331. package/layout/formComponents/edit.sh +0 -39
  332. package/layout/navFactor/edit.sh +0 -39
  333. package/layout/newNavBar copy 2.js +0 -921
  334. package/layout/newNavBar copy.js +0 -780
  335. package/lib/AppleAnim.js +0 -794
@@ -1,2 +0,0 @@
1
- /*! For license information please see slider2025.cjs.js.LICENSE.txt */
2
- (()=>{"use strict";var e={d:(t,r)=>{for(var n in r)e.o(r,n)&&!e.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:r[n]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r:e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},t={};function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function n(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,s,i,o,a=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(a.push(n.value),a.length!==t);l=!0);}catch(e){c=!0,s=e}finally{try{if(!l&&null!=r.return&&(o=r.return(),Object(o)!==o))return}finally{if(c)throw s}}return a}}(e,t)||i(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function s(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=i(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,s=function(){};return{s,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:s}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,l=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return a=e.done,e},e:function(e){l=!0,o=e},f:function(){try{a||null==r.return||r.return()}finally{if(l)throw o}}}}function i(e,t){if(e){if("string"==typeof e)return o(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?o(e,t):void 0}}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function a(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,l(n.key),n)}}function l(e){var t=function(e){if("object"!=r(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=r(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==r(t)?t:t+""}function c(e){return c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},c(e)}function d(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,u(n.key),n)}}function u(e){var t=function(e){if("object"!=c(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=c(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==c(t)?t:t+""}function h(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(h=function(){return!!e})()}function y(e){return y=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},y(e)}function p(e,t){return p=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},p(e,t)}e.r(t),e.d(t,{Slider:()=>b});var f=function(e){function t(e,r){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(n=function(e,t,r){return t=y(t),function(e,t){if(t&&("object"==c(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,h()?Reflect.construct(t,r||[],y(e).constructor):t.apply(e,r))}(this,t)).text=e,n.res=null,n.val=r,n.setup(),n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&p(e,t)}(t,e),r=t,n=[{key:"setup",value:function(e){return this}},{key:"set",value:function(e){this.options=e;var t=document.createElement("button");if(t.style.background="transparent",t.style.border="none",e.img)t.append(e.img.render());else if(e.svg)if("string"==typeof e.svg){var r=(new DOMParser).parseFromString(e.svg,"image/svg+xml").documentElement;t.appendChild(r)}else e.svg instanceof SVGElement&&t.appendChild(e.svg);else if(e.url&&!e.img){var n,s,i=document.createElement("img");i.setAttribute("src",e.url),i.style.width=(null===(n=e.frame)||void 0===n?void 0:n.width)||"50px",i.style.height=(null===(s=e.frame)||void 0===s?void 0:s.height)||"50px",t.appendChild(i)}else{var o=document.createTextNode(this.text.replace("$",this.val));t.appendChild(o)}return this.res=t,this.commonMethods(e),e&&"submit"===e.type&&t.setAttribute("type",e.type),this.border("none"),this.res.style.display="block",e.background&&this.background(e.background),e.padding&&this.padding(e.padding),e.margin&&this.margin(e.margin),e.centered&&(this.res.style.marginRight="auto",this.res.style.marginLeft="auto",this.res.style.backgroundColor="black"),e.border&&this.border(e.border),e.radius&&this.borderRadius(e.radius),e.class&&this.setClass(e.class),e.color&&this.color(e.color),e.auto&&this.auto(),e.weight&&(this.res.style.fontWeight=e.weight),e.fluidc&&this.fluidButtonCopy(e.fluidc),e.fluidc&&'\n fluidc: "'.concat(e.fluidc,'",'),e.onTap&&this.onTap(e.onTap),e.frame&&this.frame(e.frame),e.frame&&'\n frame: "'.concat(e.frame,'",'),e.arrpad&&this.arrayPadding(e.arrpad.sides,e.arrpad.value),e.arrpad&&'\n arrpad: {sides: ["'.concat(e.arrpad.sides,'"], value: "').concat(e.arrpad.value,'"},'),e.arrayMargin&&this.arrayMargin(e.arrayMargin.sides,e.arrayMargin.value),e.arrayMargin&&'\n arrayMargin: {sides: ["'.concat(e.arrayMargin.sides,'"], value: "').concat(e.arrayMargin.value,'"},'),e.keySet&&this.keySet(e.keySet),e.align&&(this.res.style.textAlign=e.align),e.weight&&(this.res.style.fontWeight=e.weight),e.bold&&(this.res.style.fontWeight="bold"),e.width&&(this.res.style.width=e.width),e.exact&&(this.res.style.fontSize=e.exact),this}},{key:"arrayPadding",value:function(e,t){return e.includes("left")&&(this.res.style.paddingLeft=t),e.includes("right")&&(this.res.style.paddingRight=t),e.includes("top")&&(this.res.style.paddingTop=t),e.includes("bottom")&&(this.res.style.paddingBottom=t),e.includes("all")&&(this.res.style.padding=t),t||(this.res.style.paddingBottom=e),this}},{key:"arrayMargin",value:function(e,t){return t||(this.res.style.marginLeft="".concat(e[0],"px"),this.res.style.marginTop="".concat(e[1],"px"),this.res.style.marginRight="".concat(e[2],"px"),this.res.style.marginBottom="".concat(e[3],"px")),e.includes("left")&&(this.res.style.marginLeft=t),e.includes("right")&&(this.res.style.marginRight=t),e.includes("top")&&(this.res.style.marginTop=t),e.includes("bottom")&&(this.res.style.marginBottom=t),e.includes("all")&&(this.res.style.margin=t),t||(this.res.style.marginBottom=e),this}},{key:"fluidButtonCopy",value:function(e){if(e instanceof Object){this.prevStylex=this.res.style,this.res=document.createElement("button"),this.res.style.cssText=this.prevStylex.cssText;var t=document.createTextNode(this.text);return this.res.appendChild(t),this.res.style.fontSize=e.exact,this}if("S1"===e){this.prevStylex=this.res.style,this.res=document.createElement("button"),this.res.style.cssText=this.prevStylex.cssText;var r=document.createTextNode(this.text);this.res.appendChild(r),this.res.style.fontSize="calc(1.625rem + 5.075vw)"}if("S2"===e){this.prevStylex=this.res.style,this.res=document.createElement("button"),this.res.style.cssText=this.prevStylex.cssText;var n=document.createTextNode(this.text);this.res.appendChild(n),this.res.style.fontSize="calc(1.500rem + 4.3vw)"}if("S3"===e){this.prevStylex=this.res.style,this.res=document.createElement("button"),this.res.style.cssText=this.prevStylex.cssText;var s=document.createTextNode(this.text);this.res.appendChild(s),this.res.style.fontSize="calc(1.375rem + 3.525vw)"}if("S4"===e){this.prevStylex=this.res.style,this.res=document.createElement("button"),this.res.style.cssText=this.prevStylex.cssText;var i=document.createTextNode(this.text);this.res.appendChild(i),this.res.style.fontSize="calc(1.250rem + 2.75vw)"}if("S5"===e){this.prevStylex=this.res.style,this.res=document.createElement("button"),this.res.style.cssText=this.prevStylex.cssText;var o=document.createTextNode(this.text);this.res.appendChild(o),this.res.style.fontSize="calc(1.125rem + 1.975vw)"}return"S6"===e&&(this.res.style.fontSize="calc(1rem + 0.5vw)"),this}},{key:"setClass",value:function(e){return this.res.setAttribute("class",e),this}},{key:"color",value:function(e){return this.res.style.color=e,this}},{key:"background",value:function(e){return this.res.style.background=e,this}},{key:"width",value:function(e){return this.res.style.width=e,this}},{key:"borderRadius",value:function(e){return this.res.style.borderRadius=e,this}},{key:"padding",value:function(e,t,r,n){return e&&t&&r&&n?(this.res.style.paddingLeft=e,this.res.style.paddingTop=t,this.res.style.paddingRight=r,this.res.style.paddingBottom=n):this.res.style.padding=e,this}},{key:"margin",value:function(e,t,r,n){return e&&t&&r&&n?(this.res.style.marginLeft=e,this.res.style.marginTop=t,this.res.style.marginRight=r,this.res.style.marginBottom=n):this.res.style.margin=e,this}},{key:"auto",value:function(){var e=this,t=function(){window.matchMedia("(max-device-width: 415px)").matches?e.res.style.fontSize="2.2rem":e.res.style.fontSize="1rem"};return t(),window.addEventListener("resize",t),this}},{key:"large",value:function(){var e=this,t=function(){window.matchMedia("(max-device-width: 415px)").matches?(alert("WOW"),e.res.style.fontSize="6rem"):e.res.style.fontSize="3rem"};return t(),window.addEventListener("resize",t),this}},{key:"border",value:function(e,t){return"none"===e&&(this.res.style.border="none"),this.res.style.border="".concat(e," solid ").concat(t,"px"),this}},{key:"frame",value:function(e){return this.res.style.width=e.width,this.res.style.height=e.height,this}},{key:"updating",value:function(e,t){var r=this.res,n=this.text;return Object.defineProperty(e,t,{set:function(e){var t=document.createTextNode(n.replace("$",e));r.replaceChild(t,r.childNodes[0])}}),this}},{key:"onTap",value:function(e){return this.res.addEventListener("click",e),this}},{key:"toCode",value:function(){var e=JSON.stringify(this.options,(function(e,t){return"function"==typeof t?t.toString():t}),4).replace(/"(\w+)":/g,"$1:").replace(/"(\(\)\s*=>\s*{[^}]*})"/g,"$1").replace(/\\n/g,"").replace(/\\"/g,'"');return['new Button("'.concat(this.text,'").set(').concat(e,")")]}},{key:"render",value:function(e){if(!e)return this.res;document.querySelector(e).appendChild(this.res)}}],n&&d(r.prototype,n),Object.defineProperty(r,"prototype",{writable:!1}),r;var r,n}(function(){return e=function e(){var t,r,n,s=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),t=this,n=function(e){if(console.log("LOBJO IS"),console.log(e),e.transform||e.op&&e.op.transform){var t=e.transform;e.transform||(t=e.op.transform),t.duration||(t.duration="3s-ease-in-out"),s.setDefault=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"0px";return 0===e.length?t+" ":e};var r=function(){var r="",n="",i="",o="",a="",l="",c="",d="",u="";if(0!==t.values.length){t.values.forEach((function(e){e.startsWith("tx:")&&(r=e.replace("tx:","")),e.startsWith("ty:")&&(n=e.replace("ty:","")),e.startsWith("tz:")?i=e.replace("tz:",""):e.startsWith("scale(")?o=e:e.startsWith("skew(")?a=e:e.startsWith("rotate(")?l=function(e){var t=e.match(/rotate\(([^)]+)\)/);if(!t)return e;var r=t[1].split(",").map((function(e){return e.trim()}));return 1===r.length?"rotate(".concat(r[0],")"):2===r.length?"rotateX(".concat(r[0],") rotateY(").concat(r[1],")"):3===r.length?"rotateX(".concat(r[0],") rotateY(").concat(r[1],") rotate(").concat(r[2],")"):e}(e):e.startsWith("perspective(")?c=e:e.startsWith("matrix(")?d=e:e.startsWith("opacity:")&&(u=e.replace("opacity:",""))})),r=s.setDefault(r),n=s.setDefault(n),i=s.setDefault(i);var h="";if("0px"!=n&&"0px"!=r&&"0px"!=i?h+="translate3d(".concat(r,", ").concat(n,", ").concat(i,")"):"0px"==n&&"0px"==r||(h+="translate(".concat(r,", ").concat(n,")")),o&&(h+=" ".concat(o)),l&&(h+=" ".concat(l)),a&&(h+=" ".concat(a)),c&&(h+=" ".concat(c)),d&&(h+=" ".concat(d)),h){if(e.op.transform.duration){var y=e.op.transform.duration.replace(/^(\d+)(s)-/,(function(e,t,r){return t/2+r+" "})),p="transform ".concat(y,", opacity ").concat(y);s.res.style.transition=p}else s.res.style.transition="transform 3s ease-in-out, opacity 3s ease-in-out";e.op.transform.static&&(s.res.style.transition=""),(s.blastTarget||s.res).style.transform=h,s.res.style.opacity=u}else alert("OPE")}};t.on?s.res.addEventListener(t.on,(function(){t.delay?setTimeout((function(){r()}),t.delay):r()})):window.addEventListener("load",(function(){t.delay?setTimeout((function(){r()}),t.delay):r()}));var n=function(){var e="";t.values.forEach((function(t){t.startsWith("tx:")?e+="translateX(0) ":t.startsWith("ty:")?e+="translateY(0) ":t.startsWith("tz:")?e+="translateZ(0) ":t.startsWith("scale(")?e+="scale(1) ":t.startsWith("skew(")?e+="skew(0, 0) ":t.startsWith("rotate(")?e+="rotate(0) ":t.startsWith("perspective(")?e+="perspective(0) ":t.startsWith("matrix(")&&(e+="matrix(1, 0, 0, 1, 0, 0) "),s.res.style.opacity="1"})),e&&(s.res.style.transform=e.trim())};if(t.on)s.res.addEventListener("mouseout",(function(){t.keep||n()}));else{var i=1e3*parseFloat(t.duration),o=t.closeAfter?t.closeAfter:0;setTimeout((function(){t.keep||n()}),i/2+o)}t.hardCSS&&(s.res.style.transform=t.hardCSS)}else alert("THIS FIRE WITH GRADIENT (invalid block"),console.log("INVALID BLOCKA"),console.log(e)},(r=l(r="reactOnTransform"))in t?Object.defineProperty(t,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[r]=n,this.state={isExpanded:!1,isMovedUp:!1,isMovedDown:!1},this.openedElements=new WeakMap},t=[{key:"isHidden",value:function(e){e&&(this.res.style.display="none")}},{key:"keySet",value:function(e){return this.temporaryVal=1,this.res.style[e.key]=e.value,this}},{key:"commonMethods",value:function(e){var t={exact:"fontSize",zIndex:"zIndex",position:"position",top:"top",cursor:"cursor",width:"width",maxWidth:"maxWidth",height:"height",maxHeight:"maxHeight",radius:"borderRadius",lineHeight:"lineHeight",background:"background",font:"fontFamily",opacity:"opacity"};for(var r in t)null!=e[r]&&(this.res.style[t[r]]=e[r]);return e.pad&&this.pad(e.pad),e.mar&&this.mar(e.mar),e.respad&&this.respad(e.respad),e.resmar&&this.resmar(e.resmar),e.hover&&this.hover(e.hover),e.size&&this.fluidCopy(e.size),e.resprop&&this.resprop(e.resprop),e.keySet&&this.keySet(e.keySet),e.hide&&this.isHidden(e.hide),e.bold?this.res.style.fontWeight="bold":null!=e.weight&&(this.res.style.fontWeight=e.weight),this}},{key:"hover",value:function(e){var t=this;if(e.border){var r=e.border.width;this.res.style.border=r?"".concat(r,"px solid transparent"):"1px solid transparent"}var n=this.options.borderObj;return n&&(this.res.style.border="".concat(n.width,"px solid ").concat(n.color)),this.prevColor=this.res.style.backgroundColor,this.foreColor=this.res.style.color,this.prevBorder=this.res.style.border,e.animation&&(this.res.style.transition="".concat(e.animation),this.res.style.transionProperty="background, color"),this.res.onmouseout=function(){t.res.style.backgroundColor="".concat(t.prevColor),t.res.style.color="".concat(t.foreColor),t.res.style.border=t.prevBorder},this.res.onmouseover=function(){if(t.res.style.color=e.color,t.res.style.backgroundColor=e.background,e.border){var r,n=e.border.width,s=null!==(r=e.border.color)&&void 0!==r?r:"#2ECC71";t.res.style.border=n?"".concat(n,"px solid ").concat(s):"1px solid #2ECC71"}},this}},{key:"onScroll",value:function(e){var t=this;"opacity"===e.value?this.res.style.opacity=e.valMin:"scale"===e.value&&(this.res.style.transform="scale(".concat(e.valMax,")")),window.addEventListener("scroll",(function(){var r=t.smartRange(window.scrollY,{min:e.from,max:e.to},{min:e.valMin,max:e.valMax});"opacity"===e.value?t.res.style.opacity=r:"scale"===e.value&&(t.res.style.transform="scale(".concat(r,")"))}))}},{key:"setAny",value:function(e){this[Object.keys(e)[0]]=[Object.values(e)[0]]}},{key:"setID",value:function(e){this.id=e}},{key:"setPrevText",value:function(e){this.prevText=e}},{key:"getCSS",value:function(){return this.css}},{key:"getPX",value:function(e){return{xs:"0px",sm:"576px",md:"768px",lg:"992px",xl:"1200px",xxl:"1400px",mxxl:"1800px"}[e]||"Invalid breakpoint"}},{key:"respad",value:function(e){var t=this;this._applyResponsive(e,(function(e){console.log("Applying padding for",e.breakpoint),t.pad(e.values)}))}},{key:"_applyResponsive",value:function(e,t){var r={default:0,xs:0,sm:576,md:768,lg:992,xl:1200,xxl:1400};e.forEach((function(e){void 0!==r[e.breakpoint]?e._value=r[e.breakpoint]:e._value=parseInt(e.breakpoint,10)})),e.sort((function(e,t){return e._value-t._value}));var n=e.find((function(e){return"default"===e.breakpoint})),s=function(){for(var r=window.innerWidth,s=n||null,i=0;i<e.length;i++){var o=e[i];if("default"!==o.breakpoint&&r<=o._value){s=o;break}}s&&t(s)};this._responsiveHandler&&window.removeEventListener("resize",this._responsiveHandler),this._responsiveHandler=s,window.addEventListener("resize",s),s()}},{key:"resmar",value:function(e){var t=this;this._applyResponsive(e,(function(e){console.log("Applying margin for",e.breakpoint),t.mar(e.values)}))}},{key:"resprop",value:function(e){var t=this;this.prevStyles={};for(var r=0;r<this.res.style.length;r++){var n=this.res.style[r];this.prevStyles[n]=this.res.style[n]}this._applyResponsive(e,(function(e){for(var r in console.log("Applying styles for",e.breakpoint),t.prevStyles)t.res.style[r]=t.prevStyles[r];for(var n in e)"breakpoint"!==n&&"_value"!==n&&"values"!==n&&(t.res.style[n]=e[n])}))}},{key:"isNumber",value:function(e){return"number"==typeof e&&!isNaN(e)}},{key:"pad",value:function(e){for(var t=0;t<e.length;t++)for(var r=Object.keys(e[t]),n=0;n<r.length;n++)for(var s=r[n],i=e[t][s],o=0;o<s.length;o++)switch(s[o]){case"a":this.res.style.padding=this.isNumber(i)?"".concat(i,"px"):i;break;case"t":this.res.style.paddingTop=this.isNumber(i)?"".concat(i,"px"):i;break;case"l":this.res.style.paddingLeft=this.isNumber(i)?"".concat(i,"px"):i;break;case"r":this.res.style.paddingRight=this.isNumber(i)?"".concat(i,"px"):i;break;case"b":this.res.style.paddingBottom=this.isNumber(i)?"".concat(i,"px"):i}return this}},{key:"as",value:function(e){return this.res.style.alignSelf=e,this}},{key:"mar",value:function(e){for(var t=0;t<e.length;t++)for(var r=Object.keys(e[t]),n=0;n<r.length;n++)for(var s=r[n],i=e[t][s],o=0;o<s.length;o++){switch(s[o]){case"a":this.res.style.margin=this.isNumber(i)?"".concat(i,"px"):i;break;case"t":this.res.style.marginTop=this.isNumber(i)?"".concat(i,"px"):i;break;case"l":this.res.style.marginLeft=this.isNumber(i)?"".concat(i,"px"):i;break;case"r":this.res.style.marginRight=this.isNumber(i)?"".concat(i,"px"):i;break;case"b":this.res.style.marginBottom=this.isNumber(i)?"".concat(i,"px"):i}"auto"===s[o]&&(this.res.style.marginLeft="auto",this.res.style.marginRight="auto")}return this}},{key:"smartRange",value:function(e,t,r){e<t.min&&(e=t.min),e>t.max&&(e=t.max);var n=(e-t.min)/(t.max-t.min);t.min>t.max&&(n=(e-t.max)/(t.min-t.max));var s=(r.min-r.max)*n-r.min;if(s=Math.abs(s),r.min<r.max){var i=(r.max+Math.abs(r.min))*n;s=r.min+i}return s}},{key:"gpos",value:function(e){return this.res.style.gridColumn=e.col,this.res.style.gridRow=e.row,this}},{key:"fluidCopy",value:function(e){if(e instanceof Object){this.prevStylex=this.res.style,this.res=document.createElement("h1"),this.res.style.cssText=this.prevStylex.cssText;var t=document.createTextNode(this.text);return this.res.appendChild(t),this.res.style.fontSize=e.exact,this}if("S1"===e){this.prevStylex=this.res.style,this.res=document.createElement("h1"),this.res.style.cssText=this.prevStylex.cssText;var r=document.createTextNode(this.text);this.res.appendChild(r),this.res.style.fontSize="calc(1.625rem + 5.075vw)"}if("S2"===e){this.prevStylex=this.res.style,this.res=document.createElement("h2"),this.res.style.cssText=this.prevStylex.cssText;var n=document.createTextNode(this.text);this.res.appendChild(n),this.res.style.fontSize="calc(1.500rem + 4.3vw)"}if("S3"===e){this.prevStylex=this.res.style,this.res=document.createElement("h3"),this.res.style.cssText=this.prevStylex.cssText;var s=document.createTextNode(this.text);this.res.appendChild(s),this.res.style.fontSize="calc(1.375rem + 3.525vw)"}if("S4"===e){this.prevStylex=this.res.style,this.res=document.createElement("h4"),this.res.style.cssText=this.prevStylex.cssText;var i=document.createTextNode(this.text);this.res.appendChild(i),this.res.style.fontSize="calc(1.250rem + 2.75vw)"}if("S5"===e){this.prevStylex=this.res.style,this.res=document.createElement("h5"),this.res.style.cssText=this.prevStylex.cssText;var o=document.createTextNode(this.text);this.res.appendChild(o),this.res.style.fontSize="calc(1.125rem + 1.975vw)"}return"S6"===e&&(this.res.style.fontSize="calc(1rem + 0.5vw)"),this}},{key:"setIndex",value:function(e){this.index=e}},{key:"borderObj",value:function(e){var t,r=null!==(t=e.type)&&void 0!==t?t:"solid";return this.res.style.border="".concat(e.width," ").concat(r," ").concat(e.color),this.res.style.borderRadius=e.radius,this}},{key:"setPref",value:function(e){this.preffersId=e}},{key:"setClass",value:function(e){this.class=e}},{key:"setTags",value:function(e){this.openTag=e.open,this.closeTag=e.close,console.log("TAGS SET"),console.log(e)}},{key:"chainReact",value:function(e,t,r){var i=this;console.log("0P"),this.ap=!1,this.cta=0,this.once=!1;var o,a=s(e);try{for(a.s();!(o=a.n()).done;){var l=o.value;l.range||(l.range=["0px","999999px"])}}catch(e){a.e(e)}finally{a.f()}e.sort((function(e,t){return parseInt(e.range[0])-parseInt(t.range[0])}));var c=function(o){var a=window.visualViewport.width,l=[],c=[];i.resCopy=i.res,i.storedQueries=e.map((function(e){return e.target})).filter((function(e){return null!=e}));var d,u=s(e);try{for(u.s();!(d=u.n()).done;){var h=d.value;i.counterIndex++;var y=n(h.range,2),p=y[0],f=y[1],v=parseInt(p),m=parseInt(f),g=!0;if(h.target){g=!1;for(var b=0;b<h.target.length;b++)h.target[b]===t&&(g=!0)}a>=v&&a<=m&&g&&(l.push(h.log),c.push(h),h.op&&h.op.margin&&(i.useMargin=h.op.margin))}}catch(e){u.e(e)}finally{u.f()}if(r&&!r.includes("background")&&(i.res.style.background="",i.res.style.backgroundColor=""),i.res.style.textShadow="",r&&!r.includes("border")&&(i.res.style.border=""),r&&!r.includes("margin")&&(i.res.style.margin=""),i.res.style["-webkit-text-fill-color"]="",i.res.style["-webkit-text-stroke-color"]="",i.res.style["-webkit-text-stroke-width"]="",i.res.style.filter="",i.options.background&&(console.log(i.options.background),i.res.style.background=i.options.background),l.includes("gradient"),(l.includes("gradient")||l.includes("shadow"))&&(i.res.style.position="relative"),l.includes("blast")){var x,w=c.filter((function(e){return"blast"===e.log}))[0].op.color,k=null!==(x=c.filter((function(e){return"blast"===e.log}))[0].op.width)&&void 0!==x?x:"1px";"FlexRowLayoutElement"===i.getType()||"LayoutWrapperElement"===i.getType()?(i.res.style.border="".concat("number"==typeof k?k+"px":k," solid orange"),i.res.style.display="inline-block","FlexRowLayoutElement"===i.getType()&&(i.res.style.display="flex"),i.res.style.boxSizing="border-box",i.res.style.transformOrigin="center",i.blastTarget=i.res):(i.text,i.res.style["-webkit-text-fill-color"]="transparent",i.res.style["-webkit-text-stroke-color"]=w,i.res.style["-webkit-text-stroke-width"]="".concat(k))}if(l.includes("filter")){var S=c.filter((function(e){return"filter"===e.log}))[0].op.filter;i.res.style.filter=S}if(l.includes("background")&&(i.res.style.backgroundColor="green"),l.includes("gradient")&&("LayoutWrapperElement"!==i.getType()&&"FlexRowLayoutElement"!==i.getType()&&(i.res.style["-webkit-text-fill-color"]="transparent"),i.res.style.background=i.globalGradient,"LayoutWrapperElement"!==i.getType()&&"FlexRowLayoutElement"!==i.getType()&&(i.res.style["background-clip"]="text")),l.includes("shadow")){var C,E,T,L,O=i.options.shadow.op;console.log("OP IS",O);var A=null!==(C=O.steps)&&void 0!==C?C:1,I=null!==(E=O.colors)&&void 0!==E?E:["gray"],N=null!==(T=O.movements)&&void 0!==T?T:["3px","3px"],j=null!==(L=O.radius)&&void 0!==L?L:"3px";if(1===N.length&&(N=[N[0],N[0]]),"FlexRowLayoutElement"===i.getType()||"LayoutWrapperElement"===i.getType()){for(var P=[],W=0;W<A;W++){var z,R=null!==(z=I[W])&&void 0!==z?z:I[0],M=N[0],B=N[1];P.push("".concat(M," ").concat(B," ").concat(j," ").concat(R))}i.res.style.boxShadow=P.join(", ")}else{for(var _=[],H=0;H<A;H++){var F,D=null!==(F=I[H])&&void 0!==F?F:I[0],q=N[0],G=N[1];_.push("drop-shadow(".concat(q," ").concat(G," ").concat(j," ").concat(D,")"))}i.res.style.filter=_.join(" ")}}if(l.includes("margin"))for(b=0;b<e.length;b++)if(e[b].op){var Y=e[b].op.offsets;Y&&void 0!==i.index&&(i.res.style.margin=Y[Number(i.index)]+"px")}if(l.includes("spana")||l.includes("span")){var V=document.createElement("div");if(V.setAttribute("id","oroa"),Object.assign(V.style,{position:"absolute",inset:"0",background:"linear-gradient(90deg, rgb(52,152,219), rgb(26,188,156))",WebkitBackgroundClip:"text",WebkitTextFillColor:"transparent",pointerEvents:"none"}),i.res&&i.res.querySelector("span"))return;i.res=i.resCopy,i.res.textContent="",i.options.span&&(Array.isArray(i.options.span)?i.options.span:[i.options.span]).forEach((function(e){if(e.op&&"span"===e.op.name&&Array.isArray(e.op.parts)){var t=0,r=i.prevText||"";if(e.op.parts.forEach((function(e){var n=e.text,s=e.style||{};if(t<r.length){var o=r.indexOf(n,t);if(o>t){var a=r.substring(t,o);i.res.appendChild(new i.constructor(a).setup({type:"span",id:s.id,animation:s.animation}).set({}).render())}t=o+n.length}var l=new i.constructor(n).setup({type:"span",id:s.id,animation:s.animation}).set(s).render();i.res.appendChild(l)})),t<r.length){var n=r.substring(t);i.res.appendChild(new i.constructor(n).setup({type:"span"}).set({}).render())}}}))}else{var X=new i.constructor(i.prevText).set({}).render();i.prevText&&i.prevText.length>0&&o&&i.res.appendChild(X)}if(l.includes("animation")){if(i.options.animation&&!i.hasAnimated&&!i.options.animation.op.fireAt){console.warn(i.openTag),i.hasAnimated=!0;var $=i.options.animation.op;window.addEventListener("sidebar:open",(function(){i.res.animate($.keyframesOpen,$.openOptions)})),window.addEventListener("sidebar:closed",(function(){i.res.animate($.keyframesClose,$.closeOptions)})),i.res.animate($.keyframesClose,{duration:0,fill:"forwards"}),i.openTag&&i.closeTag&&(window.addEventListener(i.openTag,(function(){i.res.animate($.keyframesOpen,$.openOptions)})),window.addEventListener(i.closeTag,(function(){i.res.animate($.keyframesClose,$.closeOptions)})))}if(i.options.animation&&i.options.animation.op.fireAt&&i.options.animation.op.fireAt.endsWith("px")){var J=i.options.animation.op;i.res.animate(J.keyframesClose,{duration:0,fill:"forwards"});var Q=function(){window.scrollY>parseFloat(J.fireAt)&&(i.res.animate(J.keyframesOpen,J.openOptions),window.removeEventListener("scroll",Q))};window.addEventListener("scroll",Q)}if(i.options.animation&&"inview"===i.options.animation.op.fireAt){var U=i.options.animation.op;i.res.animate(U.keyframesClose,{duration:0,fill:"forwards"});var K=!1;new IntersectionObserver((function(e,t){e.forEach((function(e){e.isIntersecting&&!K&&(K=!0,i.res.animate(U.keyframesOpen,U.openOptions),t.disconnect())}))})).observe(i.res)}}};this.options.animation||window.addEventListener("resize",(function(){return c()})),c()}},{key:"maxWidth",value:function(e){return this.res.style.maxWidth=e,this}},{key:"removeQuotesFromFirstWord",value:function(e){return e.replace(/"([^"]+)":/g,"$1:")}},{key:"arrayMargin",value:function(e,t){return e.includes("left")&&(this.res.style.marginLeft=t),e.includes("right")&&(this.res.style.marginRight=t),e.includes("top")&&(this.res.style.marginTop=t),e.includes("bottom")&&(this.res.style.marginBottom=t),e.includes("all")&&(this.res.style.margin=t),t||(this.res.style.marginBottom=e),this}}],t&&a(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t}());function v(e){return v="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},v(e)}function m(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,g(n.key),n)}}function g(e){var t=function(e){if("object"!=v(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=v(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==v(t)?t:t+""}var b=function(){return e=function e(t,r){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.container=document.createElement("div"),this.container.style.width="100%",this.container.style.margin="20px auto",this.container.style.textAlign="center",this.elements=t,this.currentSlideIndex=0,this.buttons=r,this.tintColor=n.tintColor||"green",this.inactiveColor=n.inactiveColor||"gray",this.options=n,!this.buttons){var s={leftButton:new f("L").set({frame:{width:50,height:50},svg:this.createArrowSVG("left",28,this.tintColor),color:this.tintColor,radius:"100%",arrayMargin:{sides:["all"],value:"1rem"}}),rightButton:new f("R").set({frame:{width:50,height:50},svg:this.createArrowSVG("right",28,this.tintColor),color:this.tintColor,radius:"100%",arrayMargin:{sides:["all"],value:"1rem"}})};this.buttons=s}this.createSlider(),this.init()},t=[{key:"createArrowSVG",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"left",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:28,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"currentColor",n="http://www.w3.org/2000/svg",s=document.createElementNS(n,"svg");s.setAttribute("viewBox","0 0 24 24"),s.setAttribute("width",String(t)),s.setAttribute("height",String(t)),s.setAttribute("aria-hidden","true"),s.style.display="block",s.style.pointerEvents="none";var i=document.createElementNS(n,"path");return i.setAttribute("fill",r),"left"===e?i.setAttribute("d","M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"):i.setAttribute("d","M8.59 16.59L13.17 12 8.59 7.41 10 6l6 6-6 6z"),s.appendChild(i),s}},{key:"toCode",value:function(){var e="new Slider([".concat(this.elements.map((function(e){return e.toCode()})),"], null)");return[e=e.replace(/,\s*\./g,".")]}},{key:"createSlider",value:function(){var e,t=this;this.slider=document.createElement("div"),this.slider.style.width="100%",this.slider.style.height=null!==(e=this.options.height)&&void 0!==e?e:"400px",this.slider.style.borderRadius="20px",this.slider.style.overflow="hidden",this.slider.style.position="relative",this.slider.style.marginBottom="15px";var r=document.createElement("div");this.slidesWrapper=r,r.style.display="flex",r.style.overflowX="scroll",r.style.scrollBehavior="smooth",r.style.scrollSnapType="x mandatory",this.elements.forEach((function(e,n){var s=document.createElement("div");s.setAttribute("class","slide"),s.style.display="flex",s.style.justifyContent="center",s.style.alignItems="center",s.style.flexShrink="0",s.style.width="100%",s.style.height="400px",s.style.transformOrigin="center center",s.style.transform="scale(1)",s.style.scrollSnapAlign="center";var i=e.render();s.appendChild(i),i.style.cursor="pointer",i.addEventListener("click",(function(){t.showLightbox(n)})),r.appendChild(s)})),this.arrowPrev=this.buttons.leftButton.render(),this.arrowPrev.style.position="absolute",this.arrowPrev.style.left="10px",this.arrowPrev.style.top="50%",this.arrowPrev.style.transform="translateY(-50%)",this.arrowPrev.style.zIndex="1",this.arrowPrev.style.display="flex",this.arrowPrev.style.alignItems="center",this.arrowPrev.style.justifyContent="center",this.arrowPrev.style.backgroundColor="white",this.arrowPrev.style.padding=".4rem",this.arrowNext=this.buttons.rightButton.render(),this.arrowNext.style.position="absolute",this.arrowNext.style.right="10px",this.arrowNext.style.top="50%",this.arrowNext.style.transform="translateY(-50%)",this.arrowNext.style.zIndex="1",this.arrowNext.style.display="flex",this.arrowNext.style.alignItems="center",this.arrowNext.style.justifyContent="center",this.arrowNext.style.backgroundColor="white",this.arrowNext.style.padding=".4rem";var n=document.createElement("div");n.style.position="absolute",n.style.bottom="10%",n.style.left="50%",n.style.transform="translateX(-50%)",n.style.textAlign="center",n.style.background="#ffffff",n.style.borderRadius="1rem",n.style.padding=".2rem",n.style.boxShadow="3px 3px 10px #000",this.options.hideSelector&&(n.style.display="none"),this.elements.forEach((function(e,r){var s=document.createElement("a");s.style.display="inline-block",s.style.height="15px",s.style.width="15px",s.style.borderRadius="50%",s.style.backgroundColor=t.inactiveColor,s.style.margin="0 10px",s.style.cursor="pointer",s.dataset.index=r,n.appendChild(s)}));var s=document.createElement("div");s.style.display="flex",s.style.justifyContent="flex-start",s.style.margin="1rem",s.style.gap="10px",s.style.flexWrap="nowrap",s.style.overflowX="auto",this.options.hideThumbnails&&(s.style.display="none"),r.querySelectorAll(".slide").forEach((function(e,r){var n=document.createElement("div");n.className="slider-thumb",n.dataset.index=r.toString(),n.style.width="60px",n.style.height="40px",n.style.border="2px solid ".concat(t.inactiveColor),n.style.borderRadius="5px",n.style.overflow="hidden",n.style.cursor="pointer",n.style.flexShrink="0",n.style.position="relative";var i=(e.firstElementChild||e.cloneNode(!0)).cloneNode(!0);i.style.transform="scale(0.2)",i.style.transformOrigin="top left",i.style.width="300px",i.style.height="300px",i.style.backgroundSize="contain",i.style.pointerEvents="none",n.appendChild(i),s.appendChild(n)})),this.slider.appendChild(this.arrowPrev),this.slider.appendChild(this.arrowNext),this.slider.appendChild(r),this.slider.appendChild(n),this.container.appendChild(this.slider),this.container.appendChild(s),this.slidesWrapper=r,this.navLinks=Array.from(n.querySelectorAll("a")),this.thumbs=Array.from(s.querySelectorAll(".slider-thumb"))}},{key:"init",value:function(){this.updateActiveSlide(),this.attachEventListeners()}},{key:"attachEventListeners",value:function(){var e=this;this.arrowPrev.addEventListener("click",(function(){e.moveToSlide(e.currentSlideIndex-1<0?e.elements.length-1:e.currentSlideIndex-1)})),this.arrowNext.addEventListener("click",(function(){e.moveToSlide((e.currentSlideIndex+1)%e.elements.length)})),this.navLinks.forEach((function(t){t.addEventListener("click",(function(r){r.preventDefault();var n=parseInt(t.dataset.index,10);e.moveToSlide(n)}))})),this.thumbs.forEach((function(t){t.addEventListener("click",(function(){var r=parseInt(t.dataset.index,10);e.moveToSlide(r)}))})),document.addEventListener("keydown",(function(t){"ArrowLeft"===t.key?e.moveToSlide(e.currentSlideIndex-1<0?e.elements.length-1:e.currentSlideIndex-1):"ArrowRight"===t.key&&e.moveToSlide((e.currentSlideIndex+1)%e.elements.length)}))}},{key:"moveToSlide",value:function(e){this.currentSlideIndex=e,this.updateActiveSlide()}},{key:"updateActiveSlide",value:function(){var e=this;this.navLinks.forEach((function(t){var r=parseInt(t.dataset.index,10);t.style.backgroundColor=r===e.currentSlideIndex?e.tintColor:e.inactiveColor})),this.thumbs.forEach((function(t){var r=parseInt(t.dataset.index,10);t.style.borderColor=r===e.currentSlideIndex?e.tintColor:e.inactiveColor}));var t=this.slidesWrapper.querySelector(".slide"),r=t?t.offsetWidth:this.slidesWrapper.clientWidth;this.slidesWrapper.scrollTo({left:this.currentSlideIndex*r,behavior:"smooth"})}},{key:"showLightbox",value:function(e){var t=this,r=e,n=document.createElement("div");n.style.position="fixed",n.style.top="0",n.style.left="0",n.style.width="100vw",n.style.height="100vh",n.style.backgroundColor="rgba(0,0,0,0.9)",n.style.display="flex",n.style.alignItems="center",n.style.justifyContent="center",n.style.zIndex="9999",n.style.cursor="default";var s=document.createElement("div");s.style.position="relative",s.style.display="flex",s.style.alignItems="center",s.style.justifyContent="center",s.style.maxWidth="90%",s.style.maxHeight="90%",n.appendChild(s);var i=function(e){s.innerHTML="";var r,n=t.elements[e].render();if(r="IMG"===n.tagName?n:n.querySelector("img")){var i=document.createElement("img");i.src=r.src,i.style.maxWidth="90vw",i.style.maxHeight="90vh",i.style.objectFit="contain",i.style.pointerEvents="none",i.style.display="block",s.appendChild(i)}else{var o=n.cloneNode(!0);o.style.width="90vw",o.style.height="90vh",o.style.maxWidth="90vw",o.style.maxHeight="90vh",o.style.pointerEvents="none",s.appendChild(o)}};i(r);var o=this.buttons.leftButton.render().cloneNode(!0),a=this.buttons.rightButton.render().cloneNode(!0),l={position:"absolute",top:"50%",transform:"translateY(-50%)",background:"white",border:"none",borderRadius:"50%",display:"flex",alignItems:"center",justifyContent:"center",width:"50px",height:"50px",margin:"1rem",padding:"0",zIndex:"10000",cursor:"pointer",boxShadow:"0 2px 8px rgba(0,0,0,0.4)"};Object.assign(o.style,l,{left:"10px"}),Object.assign(a.style,l,{right:"10px"}),o.addEventListener("click",(function(e){e.stopPropagation(),r=r-1<0?t.elements.length-1:r-1,i(r)})),a.addEventListener("click",(function(e){e.stopPropagation(),r=(r+1)%t.elements.length,i(r)})),n.appendChild(o),n.appendChild(a);var c=document.createElement("div");c.innerHTML="✕",c.style.position="absolute",c.style.top="15px",c.style.right="20px",c.style.fontSize="2rem",c.style.color="white",c.style.cursor="pointer",c.style.zIndex="10000",c.style.userSelect="none",c.style.transition="transform 0.2s ease",c.addEventListener("mouseenter",(function(){c.style.transform="scale(1.2)"})),c.addEventListener("mouseleave",(function(){c.style.transform="scale(1)"})),c.addEventListener("click",(function(e){e.stopPropagation(),document.body.removeChild(n),document.removeEventListener("keydown",d)})),n.appendChild(c),n.addEventListener("click",(function(){document.body.removeChild(n),document.removeEventListener("keydown",d)}));var d=function(e){"Escape"===e.key?(document.body.removeChild(n),document.removeEventListener("keydown",d)):"ArrowLeft"===e.key?(r=r-1<0?t.elements.length-1:r-1,i(r)):"ArrowRight"===e.key&&(r=(r+1)%t.elements.length,i(r))};document.addEventListener("keydown",d),document.body.appendChild(n)}},{key:"render",value:function(e){if(!e)return this.container;document.querySelector(e).appendChild(this.container)}}],t&&m(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t}();module.exports=t})();
@@ -1,5 +0,0 @@
1
- /*!
2
- * nodality v1.0.84
3
- * (c) 2025 Filip Vabrousek
4
- * License: MIT
5
- */
@@ -1,2 +0,0 @@
1
- /*! For license information please see slider2025.esm.js.LICENSE.txt */
2
- function e(t){return e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e(t)}function t(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,s,i,o,a=[],l=!0,c=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=i.call(r)).done)&&(a.push(n.value),a.length!==t);l=!0);}catch(e){c=!0,s=e}finally{try{if(!l&&null!=r.return&&(o=r.return(),Object(o)!==o))return}finally{if(c)throw s}}return a}}(e,t)||n(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function r(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=n(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var s=0,i=function(){};return{s:i,n:function(){return s>=e.length?{done:!0}:{done:!1,value:e[s++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,l=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return a=e.done,e},e:function(e){l=!0,o=e},f:function(){try{a||null==r.return||r.return()}finally{if(l)throw o}}}}function n(e,t){if(e){if("string"==typeof e)return s(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?s(e,t):void 0}}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function i(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,o(n.key),n)}}function o(t){var r=function(t){if("object"!=e(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!=e(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==e(r)?r:r+""}var a=function(){return e=function e(){var t,r,n,s=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),t=this,n=function(e){if(console.log("LOBJO IS"),console.log(e),e.transform||e.op&&e.op.transform){var t=e.transform;e.transform||(t=e.op.transform),t.duration||(t.duration="3s-ease-in-out"),s.setDefault=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"0px";return 0===e.length?t+" ":e};var r=function(){var r="",n="",i="",o="",a="",l="",c="",d="",u="";if(0!==t.values.length){t.values.forEach((function(e){e.startsWith("tx:")&&(r=e.replace("tx:","")),e.startsWith("ty:")&&(n=e.replace("ty:","")),e.startsWith("tz:")?i=e.replace("tz:",""):e.startsWith("scale(")?o=e:e.startsWith("skew(")?a=e:e.startsWith("rotate(")?l=function(e){var t=e.match(/rotate\(([^)]+)\)/);if(!t)return e;var r=t[1].split(",").map((function(e){return e.trim()}));return 1===r.length?"rotate(".concat(r[0],")"):2===r.length?"rotateX(".concat(r[0],") rotateY(").concat(r[1],")"):3===r.length?"rotateX(".concat(r[0],") rotateY(").concat(r[1],") rotate(").concat(r[2],")"):e}(e):e.startsWith("perspective(")?c=e:e.startsWith("matrix(")?d=e:e.startsWith("opacity:")&&(u=e.replace("opacity:",""))})),r=s.setDefault(r),n=s.setDefault(n),i=s.setDefault(i);var h="";if("0px"!=n&&"0px"!=r&&"0px"!=i?h+="translate3d(".concat(r,", ").concat(n,", ").concat(i,")"):"0px"==n&&"0px"==r||(h+="translate(".concat(r,", ").concat(n,")")),o&&(h+=" ".concat(o)),l&&(h+=" ".concat(l)),a&&(h+=" ".concat(a)),c&&(h+=" ".concat(c)),d&&(h+=" ".concat(d)),h){if(e.op.transform.duration){var y=e.op.transform.duration.replace(/^(\d+)(s)-/,(function(e,t,r){return t/2+r+" "})),p="transform ".concat(y,", opacity ").concat(y);s.res.style.transition=p}else s.res.style.transition="transform 3s ease-in-out, opacity 3s ease-in-out";e.op.transform.static&&(s.res.style.transition=""),(s.blastTarget||s.res).style.transform=h,s.res.style.opacity=u}else alert("OPE")}};t.on?s.res.addEventListener(t.on,(function(){t.delay?setTimeout((function(){r()}),t.delay):r()})):window.addEventListener("load",(function(){t.delay?setTimeout((function(){r()}),t.delay):r()}));var n=function(){var e="";t.values.forEach((function(t){t.startsWith("tx:")?e+="translateX(0) ":t.startsWith("ty:")?e+="translateY(0) ":t.startsWith("tz:")?e+="translateZ(0) ":t.startsWith("scale(")?e+="scale(1) ":t.startsWith("skew(")?e+="skew(0, 0) ":t.startsWith("rotate(")?e+="rotate(0) ":t.startsWith("perspective(")?e+="perspective(0) ":t.startsWith("matrix(")&&(e+="matrix(1, 0, 0, 1, 0, 0) "),s.res.style.opacity="1"})),e&&(s.res.style.transform=e.trim())};if(t.on)s.res.addEventListener("mouseout",(function(){t.keep||n()}));else{var i=1e3*parseFloat(t.duration),o=t.closeAfter?t.closeAfter:0;setTimeout((function(){t.keep||n()}),i/2+o)}t.hardCSS&&(s.res.style.transform=t.hardCSS)}else alert("THIS FIRE WITH GRADIENT (invalid block"),console.log("INVALID BLOCKA"),console.log(e)},(r=o(r="reactOnTransform"))in t?Object.defineProperty(t,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[r]=n,this.state={isExpanded:!1,isMovedUp:!1,isMovedDown:!1},this.openedElements=new WeakMap},n=[{key:"isHidden",value:function(e){e&&(this.res.style.display="none")}},{key:"keySet",value:function(e){return this.temporaryVal=1,this.res.style[e.key]=e.value,this}},{key:"commonMethods",value:function(e){var t={exact:"fontSize",zIndex:"zIndex",position:"position",top:"top",cursor:"cursor",width:"width",maxWidth:"maxWidth",height:"height",maxHeight:"maxHeight",radius:"borderRadius",lineHeight:"lineHeight",background:"background",font:"fontFamily",opacity:"opacity"};for(var r in t)null!=e[r]&&(this.res.style[t[r]]=e[r]);return e.pad&&this.pad(e.pad),e.mar&&this.mar(e.mar),e.respad&&this.respad(e.respad),e.resmar&&this.resmar(e.resmar),e.hover&&this.hover(e.hover),e.size&&this.fluidCopy(e.size),e.resprop&&this.resprop(e.resprop),e.keySet&&this.keySet(e.keySet),e.hide&&this.isHidden(e.hide),e.bold?this.res.style.fontWeight="bold":null!=e.weight&&(this.res.style.fontWeight=e.weight),this}},{key:"hover",value:function(e){var t=this;if(e.border){var r=e.border.width;this.res.style.border=r?"".concat(r,"px solid transparent"):"1px solid transparent"}var n=this.options.borderObj;return n&&(this.res.style.border="".concat(n.width,"px solid ").concat(n.color)),this.prevColor=this.res.style.backgroundColor,this.foreColor=this.res.style.color,this.prevBorder=this.res.style.border,e.animation&&(this.res.style.transition="".concat(e.animation),this.res.style.transionProperty="background, color"),this.res.onmouseout=function(){t.res.style.backgroundColor="".concat(t.prevColor),t.res.style.color="".concat(t.foreColor),t.res.style.border=t.prevBorder},this.res.onmouseover=function(){if(t.res.style.color=e.color,t.res.style.backgroundColor=e.background,e.border){var r,n=e.border.width,s=null!==(r=e.border.color)&&void 0!==r?r:"#2ECC71";t.res.style.border=n?"".concat(n,"px solid ").concat(s):"1px solid #2ECC71"}},this}},{key:"onScroll",value:function(e){var t=this;"opacity"===e.value?this.res.style.opacity=e.valMin:"scale"===e.value&&(this.res.style.transform="scale(".concat(e.valMax,")")),window.addEventListener("scroll",(function(){var r=t.smartRange(window.scrollY,{min:e.from,max:e.to},{min:e.valMin,max:e.valMax});"opacity"===e.value?t.res.style.opacity=r:"scale"===e.value&&(t.res.style.transform="scale(".concat(r,")"))}))}},{key:"setAny",value:function(e){this[Object.keys(e)[0]]=[Object.values(e)[0]]}},{key:"setID",value:function(e){this.id=e}},{key:"setPrevText",value:function(e){this.prevText=e}},{key:"getCSS",value:function(){return this.css}},{key:"getPX",value:function(e){return{xs:"0px",sm:"576px",md:"768px",lg:"992px",xl:"1200px",xxl:"1400px",mxxl:"1800px"}[e]||"Invalid breakpoint"}},{key:"respad",value:function(e){var t=this;this._applyResponsive(e,(function(e){console.log("Applying padding for",e.breakpoint),t.pad(e.values)}))}},{key:"_applyResponsive",value:function(e,t){var r={default:0,xs:0,sm:576,md:768,lg:992,xl:1200,xxl:1400};e.forEach((function(e){void 0!==r[e.breakpoint]?e._value=r[e.breakpoint]:e._value=parseInt(e.breakpoint,10)})),e.sort((function(e,t){return e._value-t._value}));var n=e.find((function(e){return"default"===e.breakpoint})),s=function(){for(var r=window.innerWidth,s=n||null,i=0;i<e.length;i++){var o=e[i];if("default"!==o.breakpoint&&r<=o._value){s=o;break}}s&&t(s)};this._responsiveHandler&&window.removeEventListener("resize",this._responsiveHandler),this._responsiveHandler=s,window.addEventListener("resize",s),s()}},{key:"resmar",value:function(e){var t=this;this._applyResponsive(e,(function(e){console.log("Applying margin for",e.breakpoint),t.mar(e.values)}))}},{key:"resprop",value:function(e){var t=this;this.prevStyles={};for(var r=0;r<this.res.style.length;r++){var n=this.res.style[r];this.prevStyles[n]=this.res.style[n]}this._applyResponsive(e,(function(e){for(var r in console.log("Applying styles for",e.breakpoint),t.prevStyles)t.res.style[r]=t.prevStyles[r];for(var n in e)"breakpoint"!==n&&"_value"!==n&&"values"!==n&&(t.res.style[n]=e[n])}))}},{key:"isNumber",value:function(e){return"number"==typeof e&&!isNaN(e)}},{key:"pad",value:function(e){for(var t=0;t<e.length;t++)for(var r=Object.keys(e[t]),n=0;n<r.length;n++)for(var s=r[n],i=e[t][s],o=0;o<s.length;o++)switch(s[o]){case"a":this.res.style.padding=this.isNumber(i)?"".concat(i,"px"):i;break;case"t":this.res.style.paddingTop=this.isNumber(i)?"".concat(i,"px"):i;break;case"l":this.res.style.paddingLeft=this.isNumber(i)?"".concat(i,"px"):i;break;case"r":this.res.style.paddingRight=this.isNumber(i)?"".concat(i,"px"):i;break;case"b":this.res.style.paddingBottom=this.isNumber(i)?"".concat(i,"px"):i}return this}},{key:"as",value:function(e){return this.res.style.alignSelf=e,this}},{key:"mar",value:function(e){for(var t=0;t<e.length;t++)for(var r=Object.keys(e[t]),n=0;n<r.length;n++)for(var s=r[n],i=e[t][s],o=0;o<s.length;o++){switch(s[o]){case"a":this.res.style.margin=this.isNumber(i)?"".concat(i,"px"):i;break;case"t":this.res.style.marginTop=this.isNumber(i)?"".concat(i,"px"):i;break;case"l":this.res.style.marginLeft=this.isNumber(i)?"".concat(i,"px"):i;break;case"r":this.res.style.marginRight=this.isNumber(i)?"".concat(i,"px"):i;break;case"b":this.res.style.marginBottom=this.isNumber(i)?"".concat(i,"px"):i}"auto"===s[o]&&(this.res.style.marginLeft="auto",this.res.style.marginRight="auto")}return this}},{key:"smartRange",value:function(e,t,r){e<t.min&&(e=t.min),e>t.max&&(e=t.max);var n=(e-t.min)/(t.max-t.min);t.min>t.max&&(n=(e-t.max)/(t.min-t.max));var s=(r.min-r.max)*n-r.min;if(s=Math.abs(s),r.min<r.max){var i=(r.max+Math.abs(r.min))*n;s=r.min+i}return s}},{key:"gpos",value:function(e){return this.res.style.gridColumn=e.col,this.res.style.gridRow=e.row,this}},{key:"fluidCopy",value:function(e){if(e instanceof Object){this.prevStylex=this.res.style,this.res=document.createElement("h1"),this.res.style.cssText=this.prevStylex.cssText;var t=document.createTextNode(this.text);return this.res.appendChild(t),this.res.style.fontSize=e.exact,this}if("S1"===e){this.prevStylex=this.res.style,this.res=document.createElement("h1"),this.res.style.cssText=this.prevStylex.cssText;var r=document.createTextNode(this.text);this.res.appendChild(r),this.res.style.fontSize="calc(1.625rem + 5.075vw)"}if("S2"===e){this.prevStylex=this.res.style,this.res=document.createElement("h2"),this.res.style.cssText=this.prevStylex.cssText;var n=document.createTextNode(this.text);this.res.appendChild(n),this.res.style.fontSize="calc(1.500rem + 4.3vw)"}if("S3"===e){this.prevStylex=this.res.style,this.res=document.createElement("h3"),this.res.style.cssText=this.prevStylex.cssText;var s=document.createTextNode(this.text);this.res.appendChild(s),this.res.style.fontSize="calc(1.375rem + 3.525vw)"}if("S4"===e){this.prevStylex=this.res.style,this.res=document.createElement("h4"),this.res.style.cssText=this.prevStylex.cssText;var i=document.createTextNode(this.text);this.res.appendChild(i),this.res.style.fontSize="calc(1.250rem + 2.75vw)"}if("S5"===e){this.prevStylex=this.res.style,this.res=document.createElement("h5"),this.res.style.cssText=this.prevStylex.cssText;var o=document.createTextNode(this.text);this.res.appendChild(o),this.res.style.fontSize="calc(1.125rem + 1.975vw)"}return"S6"===e&&(this.res.style.fontSize="calc(1rem + 0.5vw)"),this}},{key:"setIndex",value:function(e){this.index=e}},{key:"borderObj",value:function(e){var t,r=null!==(t=e.type)&&void 0!==t?t:"solid";return this.res.style.border="".concat(e.width," ").concat(r," ").concat(e.color),this.res.style.borderRadius=e.radius,this}},{key:"setPref",value:function(e){this.preffersId=e}},{key:"setClass",value:function(e){this.class=e}},{key:"setTags",value:function(e){this.openTag=e.open,this.closeTag=e.close,console.log("TAGS SET"),console.log(e)}},{key:"chainReact",value:function(e,n,s){var i=this;console.log("0P"),this.ap=!1,this.cta=0,this.once=!1;var o,a=r(e);try{for(a.s();!(o=a.n()).done;){var l=o.value;l.range||(l.range=["0px","999999px"])}}catch(e){a.e(e)}finally{a.f()}e.sort((function(e,t){return parseInt(e.range[0])-parseInt(t.range[0])}));var c=function(o){var a=window.visualViewport.width,l=[],c=[];i.resCopy=i.res,i.storedQueries=e.map((function(e){return e.target})).filter((function(e){return null!=e}));var d,u=r(e);try{for(u.s();!(d=u.n()).done;){var h=d.value;i.counterIndex++;var y=t(h.range,2),p=y[0],f=y[1],v=parseInt(p),m=parseInt(f),g=!0;if(h.target){g=!1;for(var b=0;b<h.target.length;b++)h.target[b]===n&&(g=!0)}a>=v&&a<=m&&g&&(l.push(h.log),c.push(h),h.op&&h.op.margin&&(i.useMargin=h.op.margin))}}catch(e){u.e(e)}finally{u.f()}if(s&&!s.includes("background")&&(i.res.style.background="",i.res.style.backgroundColor=""),i.res.style.textShadow="",s&&!s.includes("border")&&(i.res.style.border=""),s&&!s.includes("margin")&&(i.res.style.margin=""),i.res.style["-webkit-text-fill-color"]="",i.res.style["-webkit-text-stroke-color"]="",i.res.style["-webkit-text-stroke-width"]="",i.res.style.filter="",i.options.background&&(console.log(i.options.background),i.res.style.background=i.options.background),l.includes("gradient"),(l.includes("gradient")||l.includes("shadow"))&&(i.res.style.position="relative"),l.includes("blast")){var x,w=c.filter((function(e){return"blast"===e.log}))[0].op.color,k=null!==(x=c.filter((function(e){return"blast"===e.log}))[0].op.width)&&void 0!==x?x:"1px";"FlexRowLayoutElement"===i.getType()||"LayoutWrapperElement"===i.getType()?(i.res.style.border="".concat("number"==typeof k?k+"px":k," solid orange"),i.res.style.display="inline-block","FlexRowLayoutElement"===i.getType()&&(i.res.style.display="flex"),i.res.style.boxSizing="border-box",i.res.style.transformOrigin="center",i.blastTarget=i.res):(i.text,i.res.style["-webkit-text-fill-color"]="transparent",i.res.style["-webkit-text-stroke-color"]=w,i.res.style["-webkit-text-stroke-width"]="".concat(k))}if(l.includes("filter")){var S=c.filter((function(e){return"filter"===e.log}))[0].op.filter;i.res.style.filter=S}if(l.includes("background")&&(i.res.style.backgroundColor="green"),l.includes("gradient")&&("LayoutWrapperElement"!==i.getType()&&"FlexRowLayoutElement"!==i.getType()&&(i.res.style["-webkit-text-fill-color"]="transparent"),i.res.style.background=i.globalGradient,"LayoutWrapperElement"!==i.getType()&&"FlexRowLayoutElement"!==i.getType()&&(i.res.style["background-clip"]="text")),l.includes("shadow")){var C,E,T,L,A=i.options.shadow.op;console.log("OP IS",A);var O=null!==(C=A.steps)&&void 0!==C?C:1,I=null!==(E=A.colors)&&void 0!==E?E:["gray"],N=null!==(T=A.movements)&&void 0!==T?T:["3px","3px"],W=null!==(L=A.radius)&&void 0!==L?L:"3px";if(1===N.length&&(N=[N[0],N[0]]),"FlexRowLayoutElement"===i.getType()||"LayoutWrapperElement"===i.getType()){for(var j=[],P=0;P<O;P++){var z,R=null!==(z=I[P])&&void 0!==z?z:I[0],M=N[0],B=N[1];j.push("".concat(M," ").concat(B," ").concat(W," ").concat(R))}i.res.style.boxShadow=j.join(", ")}else{for(var _=[],H=0;H<O;H++){var F,D=null!==(F=I[H])&&void 0!==F?F:I[0],q=N[0],G=N[1];_.push("drop-shadow(".concat(q," ").concat(G," ").concat(W," ").concat(D,")"))}i.res.style.filter=_.join(" ")}}if(l.includes("margin"))for(b=0;b<e.length;b++)if(e[b].op){var Y=e[b].op.offsets;Y&&void 0!==i.index&&(i.res.style.margin=Y[Number(i.index)]+"px")}if(l.includes("spana")||l.includes("span")){var V=document.createElement("div");if(V.setAttribute("id","oroa"),Object.assign(V.style,{position:"absolute",inset:"0",background:"linear-gradient(90deg, rgb(52,152,219), rgb(26,188,156))",WebkitBackgroundClip:"text",WebkitTextFillColor:"transparent",pointerEvents:"none"}),i.res&&i.res.querySelector("span"))return;i.res=i.resCopy,i.res.textContent="",i.options.span&&(Array.isArray(i.options.span)?i.options.span:[i.options.span]).forEach((function(e){if(e.op&&"span"===e.op.name&&Array.isArray(e.op.parts)){var t=0,r=i.prevText||"";if(e.op.parts.forEach((function(e){var n=e.text,s=e.style||{};if(t<r.length){var o=r.indexOf(n,t);if(o>t){var a=r.substring(t,o);i.res.appendChild(new i.constructor(a).setup({type:"span",id:s.id,animation:s.animation}).set({}).render())}t=o+n.length}var l=new i.constructor(n).setup({type:"span",id:s.id,animation:s.animation}).set(s).render();i.res.appendChild(l)})),t<r.length){var n=r.substring(t);i.res.appendChild(new i.constructor(n).setup({type:"span"}).set({}).render())}}}))}else{var X=new i.constructor(i.prevText).set({}).render();i.prevText&&i.prevText.length>0&&o&&i.res.appendChild(X)}if(l.includes("animation")){if(i.options.animation&&!i.hasAnimated&&!i.options.animation.op.fireAt){console.warn(i.openTag),i.hasAnimated=!0;var $=i.options.animation.op;window.addEventListener("sidebar:open",(function(){i.res.animate($.keyframesOpen,$.openOptions)})),window.addEventListener("sidebar:closed",(function(){i.res.animate($.keyframesClose,$.closeOptions)})),i.res.animate($.keyframesClose,{duration:0,fill:"forwards"}),i.openTag&&i.closeTag&&(window.addEventListener(i.openTag,(function(){i.res.animate($.keyframesOpen,$.openOptions)})),window.addEventListener(i.closeTag,(function(){i.res.animate($.keyframesClose,$.closeOptions)})))}if(i.options.animation&&i.options.animation.op.fireAt&&i.options.animation.op.fireAt.endsWith("px")){var J=i.options.animation.op;i.res.animate(J.keyframesClose,{duration:0,fill:"forwards"});var Q=function(){window.scrollY>parseFloat(J.fireAt)&&(i.res.animate(J.keyframesOpen,J.openOptions),window.removeEventListener("scroll",Q))};window.addEventListener("scroll",Q)}if(i.options.animation&&"inview"===i.options.animation.op.fireAt){var U=i.options.animation.op;i.res.animate(U.keyframesClose,{duration:0,fill:"forwards"});var K=!1;new IntersectionObserver((function(e,t){e.forEach((function(e){e.isIntersecting&&!K&&(K=!0,i.res.animate(U.keyframesOpen,U.openOptions),t.disconnect())}))})).observe(i.res)}}};this.options.animation||window.addEventListener("resize",(function(){return c()})),c()}},{key:"maxWidth",value:function(e){return this.res.style.maxWidth=e,this}},{key:"removeQuotesFromFirstWord",value:function(e){return e.replace(/"([^"]+)":/g,"$1:")}},{key:"arrayMargin",value:function(e,t){return e.includes("left")&&(this.res.style.marginLeft=t),e.includes("right")&&(this.res.style.marginRight=t),e.includes("top")&&(this.res.style.marginTop=t),e.includes("bottom")&&(this.res.style.marginBottom=t),e.includes("all")&&(this.res.style.margin=t),t||(this.res.style.marginBottom=e),this}}],n&&i(e.prototype,n),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,n}();function l(e){return l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},l(e)}function c(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,d(n.key),n)}}function d(e){var t=function(e){if("object"!=l(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=l(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==l(t)?t:t+""}function u(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(u=function(){return!!e})()}function h(e){return h=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},h(e)}function y(e,t){return y=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},y(e,t)}var p=function(){function e(t,r){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),(n=function(e,t,r){return t=h(t),function(e,t){if(t&&("object"==l(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,u()?Reflect.construct(t,r||[],h(e).constructor):t.apply(e,r))}(this,e)).text=t,n.res=null,n.val=r,n.setup(),n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&y(e,t)}(e,a),t=e,r=[{key:"setup",value:function(e){return this}},{key:"set",value:function(e){this.options=e;var t=document.createElement("button");if(t.style.background="transparent",t.style.border="none",e.img)t.append(e.img.render());else if(e.svg)if("string"==typeof e.svg){var r=(new DOMParser).parseFromString(e.svg,"image/svg+xml").documentElement;t.appendChild(r)}else e.svg instanceof SVGElement&&t.appendChild(e.svg);else if(e.url&&!e.img){var n,s,i=document.createElement("img");i.setAttribute("src",e.url),i.style.width=(null===(n=e.frame)||void 0===n?void 0:n.width)||"50px",i.style.height=(null===(s=e.frame)||void 0===s?void 0:s.height)||"50px",t.appendChild(i)}else{var o=document.createTextNode(this.text.replace("$",this.val));t.appendChild(o)}return this.res=t,this.commonMethods(e),e&&"submit"===e.type&&t.setAttribute("type",e.type),this.border("none"),this.res.style.display="block",e.background&&this.background(e.background),e.padding&&this.padding(e.padding),e.margin&&this.margin(e.margin),e.centered&&(this.res.style.marginRight="auto",this.res.style.marginLeft="auto",this.res.style.backgroundColor="black"),e.border&&this.border(e.border),e.radius&&this.borderRadius(e.radius),e.class&&this.setClass(e.class),e.color&&this.color(e.color),e.auto&&this.auto(),e.weight&&(this.res.style.fontWeight=e.weight),e.fluidc&&this.fluidButtonCopy(e.fluidc),e.fluidc&&'\n fluidc: "'.concat(e.fluidc,'",'),e.onTap&&this.onTap(e.onTap),e.frame&&this.frame(e.frame),e.frame&&'\n frame: "'.concat(e.frame,'",'),e.arrpad&&this.arrayPadding(e.arrpad.sides,e.arrpad.value),e.arrpad&&'\n arrpad: {sides: ["'.concat(e.arrpad.sides,'"], value: "').concat(e.arrpad.value,'"},'),e.arrayMargin&&this.arrayMargin(e.arrayMargin.sides,e.arrayMargin.value),e.arrayMargin&&'\n arrayMargin: {sides: ["'.concat(e.arrayMargin.sides,'"], value: "').concat(e.arrayMargin.value,'"},'),e.keySet&&this.keySet(e.keySet),e.align&&(this.res.style.textAlign=e.align),e.weight&&(this.res.style.fontWeight=e.weight),e.bold&&(this.res.style.fontWeight="bold"),e.width&&(this.res.style.width=e.width),e.exact&&(this.res.style.fontSize=e.exact),this}},{key:"arrayPadding",value:function(e,t){return e.includes("left")&&(this.res.style.paddingLeft=t),e.includes("right")&&(this.res.style.paddingRight=t),e.includes("top")&&(this.res.style.paddingTop=t),e.includes("bottom")&&(this.res.style.paddingBottom=t),e.includes("all")&&(this.res.style.padding=t),t||(this.res.style.paddingBottom=e),this}},{key:"arrayMargin",value:function(e,t){return t||(this.res.style.marginLeft="".concat(e[0],"px"),this.res.style.marginTop="".concat(e[1],"px"),this.res.style.marginRight="".concat(e[2],"px"),this.res.style.marginBottom="".concat(e[3],"px")),e.includes("left")&&(this.res.style.marginLeft=t),e.includes("right")&&(this.res.style.marginRight=t),e.includes("top")&&(this.res.style.marginTop=t),e.includes("bottom")&&(this.res.style.marginBottom=t),e.includes("all")&&(this.res.style.margin=t),t||(this.res.style.marginBottom=e),this}},{key:"fluidButtonCopy",value:function(e){if(e instanceof Object){this.prevStylex=this.res.style,this.res=document.createElement("button"),this.res.style.cssText=this.prevStylex.cssText;var t=document.createTextNode(this.text);return this.res.appendChild(t),this.res.style.fontSize=e.exact,this}if("S1"===e){this.prevStylex=this.res.style,this.res=document.createElement("button"),this.res.style.cssText=this.prevStylex.cssText;var r=document.createTextNode(this.text);this.res.appendChild(r),this.res.style.fontSize="calc(1.625rem + 5.075vw)"}if("S2"===e){this.prevStylex=this.res.style,this.res=document.createElement("button"),this.res.style.cssText=this.prevStylex.cssText;var n=document.createTextNode(this.text);this.res.appendChild(n),this.res.style.fontSize="calc(1.500rem + 4.3vw)"}if("S3"===e){this.prevStylex=this.res.style,this.res=document.createElement("button"),this.res.style.cssText=this.prevStylex.cssText;var s=document.createTextNode(this.text);this.res.appendChild(s),this.res.style.fontSize="calc(1.375rem + 3.525vw)"}if("S4"===e){this.prevStylex=this.res.style,this.res=document.createElement("button"),this.res.style.cssText=this.prevStylex.cssText;var i=document.createTextNode(this.text);this.res.appendChild(i),this.res.style.fontSize="calc(1.250rem + 2.75vw)"}if("S5"===e){this.prevStylex=this.res.style,this.res=document.createElement("button"),this.res.style.cssText=this.prevStylex.cssText;var o=document.createTextNode(this.text);this.res.appendChild(o),this.res.style.fontSize="calc(1.125rem + 1.975vw)"}return"S6"===e&&(this.res.style.fontSize="calc(1rem + 0.5vw)"),this}},{key:"setClass",value:function(e){return this.res.setAttribute("class",e),this}},{key:"color",value:function(e){return this.res.style.color=e,this}},{key:"background",value:function(e){return this.res.style.background=e,this}},{key:"width",value:function(e){return this.res.style.width=e,this}},{key:"borderRadius",value:function(e){return this.res.style.borderRadius=e,this}},{key:"padding",value:function(e,t,r,n){return e&&t&&r&&n?(this.res.style.paddingLeft=e,this.res.style.paddingTop=t,this.res.style.paddingRight=r,this.res.style.paddingBottom=n):this.res.style.padding=e,this}},{key:"margin",value:function(e,t,r,n){return e&&t&&r&&n?(this.res.style.marginLeft=e,this.res.style.marginTop=t,this.res.style.marginRight=r,this.res.style.marginBottom=n):this.res.style.margin=e,this}},{key:"auto",value:function(){var e=this,t=function(){window.matchMedia("(max-device-width: 415px)").matches?e.res.style.fontSize="2.2rem":e.res.style.fontSize="1rem"};return t(),window.addEventListener("resize",t),this}},{key:"large",value:function(){var e=this,t=function(){window.matchMedia("(max-device-width: 415px)").matches?(alert("WOW"),e.res.style.fontSize="6rem"):e.res.style.fontSize="3rem"};return t(),window.addEventListener("resize",t),this}},{key:"border",value:function(e,t){return"none"===e&&(this.res.style.border="none"),this.res.style.border="".concat(e," solid ").concat(t,"px"),this}},{key:"frame",value:function(e){return this.res.style.width=e.width,this.res.style.height=e.height,this}},{key:"updating",value:function(e,t){var r=this.res,n=this.text;return Object.defineProperty(e,t,{set:function(e){var t=document.createTextNode(n.replace("$",e));r.replaceChild(t,r.childNodes[0])}}),this}},{key:"onTap",value:function(e){return this.res.addEventListener("click",e),this}},{key:"toCode",value:function(){var e=JSON.stringify(this.options,(function(e,t){return"function"==typeof t?t.toString():t}),4).replace(/"(\w+)":/g,"$1:").replace(/"(\(\)\s*=>\s*{[^}]*})"/g,"$1").replace(/\\n/g,"").replace(/\\"/g,'"');return['new Button("'.concat(this.text,'").set(').concat(e,")")]}},{key:"render",value:function(e){if(!e)return this.res;document.querySelector(e).appendChild(this.res)}}],r&&c(t.prototype,r),Object.defineProperty(t,"prototype",{writable:!1}),t;var t,r}();function f(e){return f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},f(e)}function v(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,m(n.key),n)}}function m(e){var t=function(e){if("object"!=f(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=f(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==f(t)?t:t+""}var g=function(){return e=function e(t,r){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.container=document.createElement("div"),this.container.style.width="100%",this.container.style.margin="20px auto",this.container.style.textAlign="center",this.elements=t,this.currentSlideIndex=0,this.buttons=r,this.tintColor=n.tintColor||"green",this.inactiveColor=n.inactiveColor||"gray",this.options=n,!this.buttons){var s={leftButton:new p("L").set({frame:{width:50,height:50},svg:this.createArrowSVG("left",28,this.tintColor),color:this.tintColor,radius:"100%",arrayMargin:{sides:["all"],value:"1rem"}}),rightButton:new p("R").set({frame:{width:50,height:50},svg:this.createArrowSVG("right",28,this.tintColor),color:this.tintColor,radius:"100%",arrayMargin:{sides:["all"],value:"1rem"}})};this.buttons=s}this.createSlider(),this.init()},t=[{key:"createArrowSVG",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"left",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:28,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"currentColor",n="http://www.w3.org/2000/svg",s=document.createElementNS(n,"svg");s.setAttribute("viewBox","0 0 24 24"),s.setAttribute("width",String(t)),s.setAttribute("height",String(t)),s.setAttribute("aria-hidden","true"),s.style.display="block",s.style.pointerEvents="none";var i=document.createElementNS(n,"path");return i.setAttribute("fill",r),"left"===e?i.setAttribute("d","M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"):i.setAttribute("d","M8.59 16.59L13.17 12 8.59 7.41 10 6l6 6-6 6z"),s.appendChild(i),s}},{key:"toCode",value:function(){var e="new Slider([".concat(this.elements.map((function(e){return e.toCode()})),"], null)");return[e=e.replace(/,\s*\./g,".")]}},{key:"createSlider",value:function(){var e,t=this;this.slider=document.createElement("div"),this.slider.style.width="100%",this.slider.style.height=null!==(e=this.options.height)&&void 0!==e?e:"400px",this.slider.style.borderRadius="20px",this.slider.style.overflow="hidden",this.slider.style.position="relative",this.slider.style.marginBottom="15px";var r=document.createElement("div");this.slidesWrapper=r,r.style.display="flex",r.style.overflowX="scroll",r.style.scrollBehavior="smooth",r.style.scrollSnapType="x mandatory",this.elements.forEach((function(e,n){var s=document.createElement("div");s.setAttribute("class","slide"),s.style.display="flex",s.style.justifyContent="center",s.style.alignItems="center",s.style.flexShrink="0",s.style.width="100%",s.style.height="400px",s.style.transformOrigin="center center",s.style.transform="scale(1)",s.style.scrollSnapAlign="center";var i=e.render();s.appendChild(i),i.style.cursor="pointer",i.addEventListener("click",(function(){t.showLightbox(n)})),r.appendChild(s)})),this.arrowPrev=this.buttons.leftButton.render(),this.arrowPrev.style.position="absolute",this.arrowPrev.style.left="10px",this.arrowPrev.style.top="50%",this.arrowPrev.style.transform="translateY(-50%)",this.arrowPrev.style.zIndex="1",this.arrowPrev.style.display="flex",this.arrowPrev.style.alignItems="center",this.arrowPrev.style.justifyContent="center",this.arrowPrev.style.backgroundColor="white",this.arrowPrev.style.padding=".4rem",this.arrowNext=this.buttons.rightButton.render(),this.arrowNext.style.position="absolute",this.arrowNext.style.right="10px",this.arrowNext.style.top="50%",this.arrowNext.style.transform="translateY(-50%)",this.arrowNext.style.zIndex="1",this.arrowNext.style.display="flex",this.arrowNext.style.alignItems="center",this.arrowNext.style.justifyContent="center",this.arrowNext.style.backgroundColor="white",this.arrowNext.style.padding=".4rem";var n=document.createElement("div");n.style.position="absolute",n.style.bottom="10%",n.style.left="50%",n.style.transform="translateX(-50%)",n.style.textAlign="center",n.style.background="#ffffff",n.style.borderRadius="1rem",n.style.padding=".2rem",n.style.boxShadow="3px 3px 10px #000",this.options.hideSelector&&(n.style.display="none"),this.elements.forEach((function(e,r){var s=document.createElement("a");s.style.display="inline-block",s.style.height="15px",s.style.width="15px",s.style.borderRadius="50%",s.style.backgroundColor=t.inactiveColor,s.style.margin="0 10px",s.style.cursor="pointer",s.dataset.index=r,n.appendChild(s)}));var s=document.createElement("div");s.style.display="flex",s.style.justifyContent="flex-start",s.style.margin="1rem",s.style.gap="10px",s.style.flexWrap="nowrap",s.style.overflowX="auto",this.options.hideThumbnails&&(s.style.display="none"),r.querySelectorAll(".slide").forEach((function(e,r){var n=document.createElement("div");n.className="slider-thumb",n.dataset.index=r.toString(),n.style.width="60px",n.style.height="40px",n.style.border="2px solid ".concat(t.inactiveColor),n.style.borderRadius="5px",n.style.overflow="hidden",n.style.cursor="pointer",n.style.flexShrink="0",n.style.position="relative";var i=(e.firstElementChild||e.cloneNode(!0)).cloneNode(!0);i.style.transform="scale(0.2)",i.style.transformOrigin="top left",i.style.width="300px",i.style.height="300px",i.style.backgroundSize="contain",i.style.pointerEvents="none",n.appendChild(i),s.appendChild(n)})),this.slider.appendChild(this.arrowPrev),this.slider.appendChild(this.arrowNext),this.slider.appendChild(r),this.slider.appendChild(n),this.container.appendChild(this.slider),this.container.appendChild(s),this.slidesWrapper=r,this.navLinks=Array.from(n.querySelectorAll("a")),this.thumbs=Array.from(s.querySelectorAll(".slider-thumb"))}},{key:"init",value:function(){this.updateActiveSlide(),this.attachEventListeners()}},{key:"attachEventListeners",value:function(){var e=this;this.arrowPrev.addEventListener("click",(function(){e.moveToSlide(e.currentSlideIndex-1<0?e.elements.length-1:e.currentSlideIndex-1)})),this.arrowNext.addEventListener("click",(function(){e.moveToSlide((e.currentSlideIndex+1)%e.elements.length)})),this.navLinks.forEach((function(t){t.addEventListener("click",(function(r){r.preventDefault();var n=parseInt(t.dataset.index,10);e.moveToSlide(n)}))})),this.thumbs.forEach((function(t){t.addEventListener("click",(function(){var r=parseInt(t.dataset.index,10);e.moveToSlide(r)}))})),document.addEventListener("keydown",(function(t){"ArrowLeft"===t.key?e.moveToSlide(e.currentSlideIndex-1<0?e.elements.length-1:e.currentSlideIndex-1):"ArrowRight"===t.key&&e.moveToSlide((e.currentSlideIndex+1)%e.elements.length)}))}},{key:"moveToSlide",value:function(e){this.currentSlideIndex=e,this.updateActiveSlide()}},{key:"updateActiveSlide",value:function(){var e=this;this.navLinks.forEach((function(t){var r=parseInt(t.dataset.index,10);t.style.backgroundColor=r===e.currentSlideIndex?e.tintColor:e.inactiveColor})),this.thumbs.forEach((function(t){var r=parseInt(t.dataset.index,10);t.style.borderColor=r===e.currentSlideIndex?e.tintColor:e.inactiveColor}));var t=this.slidesWrapper.querySelector(".slide"),r=t?t.offsetWidth:this.slidesWrapper.clientWidth;this.slidesWrapper.scrollTo({left:this.currentSlideIndex*r,behavior:"smooth"})}},{key:"showLightbox",value:function(e){var t=this,r=e,n=document.createElement("div");n.style.position="fixed",n.style.top="0",n.style.left="0",n.style.width="100vw",n.style.height="100vh",n.style.backgroundColor="rgba(0,0,0,0.9)",n.style.display="flex",n.style.alignItems="center",n.style.justifyContent="center",n.style.zIndex="9999",n.style.cursor="default";var s=document.createElement("div");s.style.position="relative",s.style.display="flex",s.style.alignItems="center",s.style.justifyContent="center",s.style.maxWidth="90%",s.style.maxHeight="90%",n.appendChild(s);var i=function(e){s.innerHTML="";var r,n=t.elements[e].render();if(r="IMG"===n.tagName?n:n.querySelector("img")){var i=document.createElement("img");i.src=r.src,i.style.maxWidth="90vw",i.style.maxHeight="90vh",i.style.objectFit="contain",i.style.pointerEvents="none",i.style.display="block",s.appendChild(i)}else{var o=n.cloneNode(!0);o.style.width="90vw",o.style.height="90vh",o.style.maxWidth="90vw",o.style.maxHeight="90vh",o.style.pointerEvents="none",s.appendChild(o)}};i(r);var o=this.buttons.leftButton.render().cloneNode(!0),a=this.buttons.rightButton.render().cloneNode(!0),l={position:"absolute",top:"50%",transform:"translateY(-50%)",background:"white",border:"none",borderRadius:"50%",display:"flex",alignItems:"center",justifyContent:"center",width:"50px",height:"50px",margin:"1rem",padding:"0",zIndex:"10000",cursor:"pointer",boxShadow:"0 2px 8px rgba(0,0,0,0.4)"};Object.assign(o.style,l,{left:"10px"}),Object.assign(a.style,l,{right:"10px"}),o.addEventListener("click",(function(e){e.stopPropagation(),r=r-1<0?t.elements.length-1:r-1,i(r)})),a.addEventListener("click",(function(e){e.stopPropagation(),r=(r+1)%t.elements.length,i(r)})),n.appendChild(o),n.appendChild(a);var c=document.createElement("div");c.innerHTML="✕",c.style.position="absolute",c.style.top="15px",c.style.right="20px",c.style.fontSize="2rem",c.style.color="white",c.style.cursor="pointer",c.style.zIndex="10000",c.style.userSelect="none",c.style.transition="transform 0.2s ease",c.addEventListener("mouseenter",(function(){c.style.transform="scale(1.2)"})),c.addEventListener("mouseleave",(function(){c.style.transform="scale(1)"})),c.addEventListener("click",(function(e){e.stopPropagation(),document.body.removeChild(n),document.removeEventListener("keydown",d)})),n.appendChild(c),n.addEventListener("click",(function(){document.body.removeChild(n),document.removeEventListener("keydown",d)}));var d=function(e){"Escape"===e.key?(document.body.removeChild(n),document.removeEventListener("keydown",d)):"ArrowLeft"===e.key?(r=r-1<0?t.elements.length-1:r-1,i(r)):"ArrowRight"===e.key&&(r=(r+1)%t.elements.length,i(r))};document.addEventListener("keydown",d),document.body.appendChild(n)}},{key:"render",value:function(e){if(!e)return this.container;document.querySelector(e).appendChild(this.container)}}],t&&v(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t}();export{g as Slider};
@@ -1,5 +0,0 @@
1
- /*!
2
- * nodality v1.0.84
3
- * (c) 2025 Filip Vabrousek
4
- * License: MIT
5
- */
@@ -1,5 +0,0 @@
1
- /*!
2
- * nodality v1.0.84
3
- * (c) 2025 Filip Vabrousek
4
- * License: MIT
5
- */
@@ -1,5 +0,0 @@
1
- /*!
2
- * nodality v1.0.84
3
- * (c) 2025 Filip Vabrousek
4
- * License: MIT
5
- */
@@ -1,5 +0,0 @@
1
- /*!
2
- * nodality v1.0.84
3
- * (c) 2025 Filip Vabrousek
4
- * License: MIT
5
- */
@@ -1,5 +0,0 @@
1
- /*!
2
- * nodality v1.0.84
3
- * (c) 2025 Filip Vabrousek
4
- * License: MIT
5
- */
@@ -1,5 +0,0 @@
1
- /*!
2
- * nodality v1.0.84
3
- * (c) 2025 Filip Vabrousek
4
- * License: MIT
5
- */
@@ -1,5 +0,0 @@
1
- /*!
2
- * nodality v1.0.84
3
- * (c) 2025 Filip Vabrousek
4
- * License: MIT
5
- */
@@ -1,5 +0,0 @@
1
- /*!
2
- * nodality v1.0.84
3
- * (c) 2025 Filip Vabrousek
4
- * License: MIT
5
- */
@@ -1,5 +0,0 @@
1
- /*!
2
- * nodality v1.0.84
3
- * (c) 2025 Filip Vabrousek
4
- * License: MIT
5
- */
@@ -1,5 +0,0 @@
1
- /*!
2
- * nodality v1.0.84
3
- * (c) 2025 Filip Vabrousek
4
- * License: MIT
5
- */
@@ -1,5 +0,0 @@
1
- /*!
2
- * nodality v1.0.84
3
- * (c) 2025 Filip Vabrousek
4
- * License: MIT
5
- */
@@ -1,5 +0,0 @@
1
- /*!
2
- * nodality v1.0.84
3
- * (c) 2025 Filip Vabrousek
4
- * License: MIT
5
- */
@@ -1,5 +0,0 @@
1
- /*!
2
- * nodality v1.0.84
3
- * (c) 2025 Filip Vabrousek
4
- * License: MIT
5
- */
@@ -1,5 +0,0 @@
1
- /*!
2
- * nodality v1.0.84
3
- * (c) 2025 Filip Vabrousek
4
- * License: MIT
5
- */
@@ -1,5 +0,0 @@
1
- /*!
2
- * nodality v1.0.84
3
- * (c) 2025 Filip Vabrousek
4
- * License: MIT
5
- */
@@ -1,5 +0,0 @@
1
- /*!
2
- * nodality v1.0.84
3
- * (c) 2025 Filip Vabrousek
4
- * License: MIT
5
- */
@@ -1,5 +0,0 @@
1
- /*!
2
- * nodality v1.0.84
3
- * (c) 2025 Filip Vabrousek
4
- * License: MIT
5
- */
@@ -1,5 +0,0 @@
1
- /*!
2
- * nodality v1.0.84
3
- * (c) 2025 Filip Vabrousek
4
- * License: MIT
5
- */
@@ -1,5 +0,0 @@
1
- /*!
2
- * nodality v1.0.84
3
- * (c) 2025 Filip Vabrousek
4
- * License: MIT
5
- */
@@ -1,5 +0,0 @@
1
- /*!
2
- * nodality v1.0.84
3
- * (c) 2025 Filip Vabrousek
4
- * License: MIT
5
- */
@@ -1,5 +0,0 @@
1
- /*!
2
- * nodality v1.0.84
3
- * (c) 2025 Filip Vabrousek
4
- * License: MIT
5
- */
package/layout/<head> DELETED
@@ -1,59 +0,0 @@
1
- <head>
2
- <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH" crossorigin="anonymous">
3
- <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js" integrity="sha384-YvpcrYf0tY3lHB60NNkmXc5s9fDVZLESaAA55NDzOxhy9GkcIdslK1eN7N6jIeHz" crossorigin="anonymous"></script>
4
- <meta charset="utf-8">
5
- <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
6
-
7
-
8
- </head>
9
-
10
- <nav class="navbar navbar-expand-lg bg-body-tertiary">
11
- <div class="container-fluid">
12
- <a class="navbar-brand" href="#">Vertikon</a>
13
- <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
14
- <span class="navbar-toggler-icon"></span>
15
- </button>
16
- <div class="collapse navbar-collapse" id="navbarNav">
17
- <ul class="navbar-nav">
18
- <li class="nav-item">
19
- <a class="nav-link active" aria-current="page" href="#">Hlavní strana</a>
20
- </li>
21
-
22
-
23
-
24
- <li class="nav-item">
25
- <a class="nav-link" href="#">Lezení na stěně</a>
26
- </li>
27
-
28
- <li class="nav-item">
29
- <a class="nav-link" href="#">Ceník</a>
30
- </li>
31
-
32
- <li class="nav-item">
33
- <a class="nav-link" href="#">Kurzy</a>
34
- </li>
35
-
36
- <li class="nav-item">
37
- <a class="nav-link" href="#">Půjčovna</a>
38
- </li>
39
-
40
- <li class="nav-item">
41
- <a class="nav-link" href="#">Fotogalerie</a>
42
- </li>
43
-
44
- <li class="nav-item">
45
- <a class="nav-link" href="#">Videa</a>
46
- </li>
47
-
48
- </ul>
49
- </div>
50
- </div>
51
- </nav>
52
-
53
-
54
- <div id="container flex">
55
- <h1 class="my-auto position-absolute z-0 text-center w-100 top-900 text-success">Zalezte si ve Zlíně</h1>
56
- <img class="img-fluid position-relative z-n1" src="https://www.vertikon.cz/sites/default/files/upload/img/1.jpg">
57
- </div>
58
-
59
-
package/layout/DEADJOE DELETED
@@ -1,49 +0,0 @@
1
-
2
- *** These modified files were found in JOE when it aborted on Fri Apr 23 19:35:23 2021
3
- *** JOE was aborted because the terminal closed
4
-
5
- *** File '(Unnamed)'
6
- echoIt
7
- echoIt
8
- echoIt
9
- echoIt
10
- crontab
11
- r
12
- .bash_profile
13
- .bash_profile
14
- .bash_profile
15
- .bash_profile
16
- /Users/filipvabrousek/.sdkman/candidates/gradle/current/bin:/Library/Frameworks/Python.framework/Versions/3.9/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/filipvabrousek/Flutter/flutter/bin/flutter:/usr/local/share/dotnet:~/.dotnet/tools:/Library/Apple/usr/bin:/Library/Frameworks/Mono.framework/Versions/Current/Commands:/Applications/Xamarin Workbooks.app/Contents/SharedSupport/path-bin:/Users/filipvabrousek/development/flutter/bin
17
-
18
- *** File '* Startup Log *'
19
- Processing '/usr/local/Cellar/joe/4.6/etc/joe/joerc'...
20
- Processing '/usr/local/Cellar/joe/4.6/etc/joe/ftyperc'...
21
- Finished processing /usr/local/Cellar/joe/4.6/etc/joe/ftyperc
22
- Finished processing /usr/local/Cellar/joe/4.6/etc/joe/joerc
23
-
24
- *** These modified files were found in JOE when it aborted on Thu May 20 16:39:05 2021
25
- *** JOE was aborted because the terminal closed
26
-
27
- *** File 're'
28
-
29
- echo $(date);
30
-
31
-
32
- *** File '(Unnamed)'
33
- echoIt
34
- echoIt
35
- echoIt
36
- crontab
37
- r
38
- .bash_profile
39
- .bash_profile
40
- .bash_profile
41
- .bash_profile
42
- /Users/filipvabrousek/.bash_profile
43
- re
44
-
45
- *** File '* Startup Log *'
46
- Processing '/usr/local/Cellar/joe/4.6/etc/joe/joerc'...
47
- Processing '/usr/local/Cellar/joe/4.6/etc/joe/ftyperc'...
48
- Finished processing /usr/local/Cellar/joe/4.6/etc/joe/ftyperc
49
- Finished processing /usr/local/Cellar/joe/4.6/etc/joe/joerc
@@ -1,109 +0,0 @@
1
- /*!
2
- * nodality v1.0.84
3
- * (c) 2025 Filip Vabrousek
4
- * License: MIT
5
- */
6
-
7
- import {Animator} from "./animator.js";
8
-
9
- class Paragraph extends Animator {
10
- constructor() {
11
- super();
12
- this.setup();
13
- }
14
-
15
-
16
-
17
-
18
- setup() {
19
- let paragraph = document.createElement("p");
20
- paragraph.padding = 0;
21
- paragraph.margin = 0;
22
- this.res = paragraph;
23
- return this;
24
- }
25
-
26
- font(font){
27
- this.res.style.fontFamily = "Arial";
28
- return this;
29
- }
30
-
31
- align(direction){
32
- this.res.style.textAlign = `${direction}`;
33
- return this;
34
- }
35
-
36
- bold(){
37
- this.res.style.fontWeight = "700";
38
- return this;
39
- }
40
-
41
- text(text){
42
- let node = document.createTextNode(text);
43
- this.res.appendChild(node);
44
- return this;
45
- }
46
-
47
-
48
- em(size){
49
- this.res.style.fontSize = `${size}em`;
50
- return this;
51
- }
52
-
53
-
54
-
55
- width(w, shouldCenter){
56
- this.res.style.width = w;
57
-
58
- if (shouldCenter){
59
- this.res.style.marginLeft = "auto";
60
- this.res.style.marginRight = "auto";
61
- }
62
- return this;
63
- }
64
-
65
- size(w, h){
66
- this.w = w;
67
- this.h = h;
68
-
69
- if (this.w){
70
- this.res.style.width = this.w;
71
- } else {
72
- this.res.style.width = window.innerWidth;
73
- }
74
-
75
- if (this.h){
76
- this.res.style.height = this.h;
77
- } else {
78
- this.res.style.height = window.innerHeight;
79
- }
80
-
81
- return this;
82
- }
83
-
84
- padding(L, T, R, B){
85
- this.res.style.paddingLeft = L;
86
- this.res.style.paddingTop = T;
87
- this.res.style.paddingRight = R;
88
- this.res.style.paddingBottom = B;
89
- return this;
90
- }
91
-
92
- margin(L, T, R, B){
93
- this.res.style.marginLeft = L;
94
- this.res.style.marginTop = T;
95
- this.res.style.marginRight = R;
96
- this.res.style.marginBottom = B;
97
- return this;
98
- }
99
-
100
-
101
- render(el) {
102
- if (el) {
103
- document.querySelector(el).appendChild(this.res);
104
- } else {
105
- return this.res;
106
- }
107
- }
108
- }
109
- export { Paragraph };
package/layout/edit.sh DELETED
@@ -1,39 +0,0 @@
1
- #!/bin/bash
2
-
3
- # Loop through all .js files in the current directory
4
- for file in ./*.js; do
5
- # Skip if no .js files are found
6
- [ -e "$file" ] || continue
7
-
8
- # Extract the class name using a basic regex and awk
9
- class_name=$(grep -o 'class [a-zA-Z_][a-zA-Z0-9_]*' "$file" | awk '{print $2}')
10
-
11
- # Check if the class name was found
12
- if [ -z "$class_name" ]; then
13
- echo "No class definition found in $file. Skipping..."
14
- continue
15
- fi
16
-
17
- # Temporary file to store the output
18
- temp_file=$(mktemp)
19
-
20
- # Preserve class content and add imports/exports
21
- {
22
- echo 'import {Animator} from "./animator.js";'
23
- echo
24
- cat "$file"
25
- echo
26
- echo "window.$class_name = $class_name;"
27
- echo "export { $class_name };"
28
- } > "$temp_file"
29
-
30
- # Replace the original file with the transformed content
31
- mv "$temp_file" "$file"
32
-
33
- echo "Transformed: $file"
34
- done
35
-
36
- echo "All .js files in the current folder have been processed."
37
-
38
-
39
- # ./edit.sh in your folder, only ONE class per file!