@loftyshaky/shared 1.4.0 → 1.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (335) hide show
  1. package/LICENSE.md +21 -0
  2. package/_locales/de/messages.json +1 -1
  3. package/_locales/en/messages.json +100 -1
  4. package/_locales/ru/messages.json +47 -2
  5. package/announcement.d.ts +2 -2
  6. package/announcement.js +5 -1
  7. package/app.d.ts +1 -5
  8. package/app.js +5 -1
  9. package/chunk-main.js +22 -0
  10. package/chunk-main2.js +5 -0
  11. package/chunk-main3.js +5 -0
  12. package/chunk-main4.js +5 -0
  13. package/chunk-pickr.min.js +5 -0
  14. package/dependencies.d.ts +2 -0
  15. package/dependencies.js +5 -0
  16. package/dependencies.txt +863 -0
  17. package/ext.d.ts +1 -5
  18. package/ext.js +5 -1
  19. package/fonts/NotoSans-Regular.ttf +0 -0
  20. package/globals.d.ts +49 -0
  21. package/html/dependencies.html +13 -0
  22. package/index.d.ts +3 -3
  23. package/index.js +5 -1
  24. package/inputs.d.ts +2 -2
  25. package/inputs.js +5 -1
  26. package/js/apps.js +63 -63
  27. package/js/dependencies.js +56 -0
  28. package/js/locales.js +11 -5
  29. package/js/package/plugins/rollup-plugin-copy.js +169 -169
  30. package/js/package/plugins/watcher.js +56 -56
  31. package/js/package/terser.js +18 -18
  32. package/js/task_scheduler.js +39 -39
  33. package/js/tsc_alias.js +19 -0
  34. package/js/webpack.config.js +30 -3
  35. package/package.json +2 -2
  36. package/scss/dependencies/body.scss +3 -0
  37. package/scss/dependencies/hr.scss +3 -0
  38. package/scss/dependencies/index.scss +5 -0
  39. package/scss/dependencies/links.scss +3 -0
  40. package/scss/dependencies/main.scss +3 -0
  41. package/scss/settings/sections.scss +22 -0
  42. package/scss/settings/transitions.scss +2 -3
  43. package/scss/shared/checkboxes.scss +2 -2
  44. package/scss/shared/close_btn.scss +1 -1
  45. package/scss/shared/embed/error.scss +2 -2
  46. package/scss/shared/embed/font_face.scss +1 -2
  47. package/scss/shared/index.scss +1 -0
  48. package/scss/shared/inputs.scss +5 -1
  49. package/scss/shared/inset_border.scss +1 -4
  50. package/scss/shared/links.scss +4 -0
  51. package/scss/shared/mixins.scss +11 -7
  52. package/scss/shared/mods.scss +1 -3
  53. package/scss/shared/offers.scss +37 -0
  54. package/scss/shared/selects.scss +8 -2
  55. package/scss/shared/themes/colors/aqua.scss +15 -6
  56. package/scss/shared/themes/colors/dark.scss +5 -1
  57. package/scss/shared/themes/colors/lavender.scss +19 -6
  58. package/scss/shared/themes/colors/light.scss +5 -1
  59. package/scss/shared/themes/colors/very_dark.scss +5 -1
  60. package/scss/shared/themes/general/template.scss +26 -12
  61. package/scss/shared/themes/general/template_focus.scss +6 -4
  62. package/scss/shared/transitions.scss +5 -2
  63. package/scss/shared/upload_box.scss +2 -3
  64. package/scss/shared/vars.scss +10 -3
  65. package/settings.d.ts +2 -2
  66. package/settings.js +5 -1
  67. package/ts/announcement/components/body.d.ts +2 -3
  68. package/ts/announcement/components/index.d.ts +1 -1
  69. package/ts/announcement/internal.d.ts +2 -3
  70. package/ts/announcement/scripts/display.d.ts +6 -6
  71. package/ts/announcement/scripts/index.d.ts +1 -2
  72. package/ts/dependencies/components/body.d.ts +2 -0
  73. package/ts/dependencies/components/index.d.ts +1 -0
  74. package/ts/dependencies/internal.d.ts +2 -0
  75. package/ts/dependencies/scripts/dependencies.d.ts +7 -0
  76. package/ts/dependencies/scripts/index.d.ts +1 -0
  77. package/ts/error_modules/crash_handler/components/body.d.ts +52 -52
  78. package/ts/error_modules/crash_handler/components/index.d.ts +1 -1
  79. package/ts/error_modules/crash_handler/components/prop_types/body.d.ts +4 -4
  80. package/ts/error_modules/crash_handler/components/prop_types/index.d.ts +1 -1
  81. package/ts/error_modules/crash_handler/data/index.d.ts +1 -1
  82. package/ts/error_modules/crash_handler/data/visibility.d.ts +7 -7
  83. package/ts/error_modules/crash_handler/scripts/index.d.ts +1 -1
  84. package/ts/error_modules/crash_handler/scripts/page.d.ts +6 -6
  85. package/ts/error_modules/css/scripts/index.d.ts +1 -1
  86. package/ts/error_modules/css/scripts/main.d.ts +8 -8
  87. package/ts/error_modules/error/components/body.d.ts +3 -3
  88. package/ts/error_modules/error/components/close_btn.d.ts +2 -2
  89. package/ts/error_modules/error/components/ext_name.d.ts +2 -2
  90. package/ts/error_modules/error/components/index.d.ts +6 -6
  91. package/ts/error_modules/error/components/keep_visible_msg.d.ts +2 -2
  92. package/ts/error_modules/error/components/msg.d.ts +2 -2
  93. package/ts/error_modules/error/components/progress.d.ts +2 -2
  94. package/ts/error_modules/error/components/prop_types/body.d.ts +5 -5
  95. package/ts/error_modules/error/components/prop_types/index.d.ts +1 -1
  96. package/ts/error_modules/error/data/index.d.ts +4 -4
  97. package/ts/error_modules/error/data/main.d.ts +11 -11
  98. package/ts/error_modules/error/data/msg.d.ts +13 -13
  99. package/ts/error_modules/error/data/progress.d.ts +17 -17
  100. package/ts/error_modules/error/data/state.d.ts +25 -25
  101. package/ts/error_modules/error/interfaces/error.d.ts +6 -6
  102. package/ts/error_modules/error/interfaces/error_obj.d.ts +6 -6
  103. package/ts/error_modules/error/interfaces/index.d.ts +7 -7
  104. package/ts/error_modules/error/interfaces/notification_type.d.ts +1 -1
  105. package/ts/error_modules/error/interfaces/observable_keys.d.ts +1 -1
  106. package/ts/error_modules/error/interfaces/show_error.d.ts +11 -11
  107. package/ts/error_modules/error/interfaces/show_unable_to_access_settings_error.d.ts +5 -5
  108. package/ts/error_modules/error/interfaces/timeout_observable_keys.d.ts +1 -1
  109. package/ts/error_modules/error/scripts/flash.d.ts +11 -11
  110. package/ts/error_modules/error/scripts/globals.d.ts +1 -12
  111. package/ts/error_modules/error/scripts/index.d.ts +3 -3
  112. package/ts/error_modules/error/scripts/notification.d.ts +8 -8
  113. package/ts/error_modules/init.d.ts +1 -1
  114. package/ts/error_modules/internal.d.ts +11 -11
  115. package/ts/inputs/color/components/body.d.ts +3 -3
  116. package/ts/inputs/color/components/color_picker.d.ts +3 -3
  117. package/ts/inputs/color/components/fill_shadow.d.ts +3 -3
  118. package/ts/inputs/color/components/index.d.ts +4 -4
  119. package/ts/inputs/color/components/prop_types/body.d.ts +4 -4
  120. package/ts/inputs/color/components/prop_types/color_picker.d.ts +7 -7
  121. package/ts/inputs/color/components/prop_types/fill_shadow.d.ts +5 -5
  122. package/ts/inputs/color/components/prop_types/index.d.ts +4 -4
  123. package/ts/inputs/color/components/prop_types/visualization.d.ts +6 -6
  124. package/ts/inputs/color/components/visualization.d.ts +3 -3
  125. package/ts/inputs/color/data/color.d.ts +54 -54
  126. package/ts/inputs/color/data/index.d.ts +2 -2
  127. package/ts/inputs/color/data/visibility.d.ts +38 -38
  128. package/ts/inputs/color/interfaces/color.d.ts +1 -1
  129. package/ts/inputs/color/interfaces/color_picker_state.d.ts +6 -6
  130. package/ts/inputs/color/interfaces/color_picker_state_one.d.ts +5 -5
  131. package/ts/inputs/color/interfaces/i.d.ts +1 -1
  132. package/ts/inputs/color/interfaces/index.d.ts +4 -4
  133. package/ts/inputs/color/obj/color.d.ts +54 -54
  134. package/ts/inputs/color/obj/index.d.ts +1 -1
  135. package/ts/inputs/color/scripts/color_picker.d.ts +20 -20
  136. package/ts/inputs/color/scripts/index.d.ts +2 -2
  137. package/ts/inputs/color/scripts/position.d.ts +7 -7
  138. package/ts/inputs/components/btn.d.ts +3 -3
  139. package/ts/inputs/components/checkbox.d.ts +3 -3
  140. package/ts/inputs/components/file.d.ts +3 -3
  141. package/ts/inputs/components/form.d.ts +3 -3
  142. package/ts/inputs/components/group.d.ts +3 -3
  143. package/ts/inputs/components/help.d.ts +3 -3
  144. package/ts/inputs/components/help_btn.d.ts +3 -3
  145. package/ts/inputs/components/hr.d.ts +3 -3
  146. package/ts/inputs/components/icon_btn.d.ts +3 -3
  147. package/ts/inputs/components/index.d.ts +25 -25
  148. package/ts/inputs/components/input_error.d.ts +3 -3
  149. package/ts/inputs/components/input_item.d.ts +3 -3
  150. package/ts/inputs/components/label.d.ts +3 -3
  151. package/ts/inputs/components/label_in_input_item.d.ts +3 -3
  152. package/ts/inputs/components/link.d.ts +3 -3
  153. package/ts/inputs/components/link_btn.d.ts +3 -3
  154. package/ts/inputs/components/link_icon_btn.d.ts +3 -3
  155. package/ts/inputs/components/prop_types/btn.d.ts +4 -4
  156. package/ts/inputs/components/prop_types/checkbox.d.ts +4 -4
  157. package/ts/inputs/components/prop_types/file.d.ts +4 -4
  158. package/ts/inputs/components/prop_types/form.d.ts +5 -5
  159. package/ts/inputs/components/prop_types/group.d.ts +5 -5
  160. package/ts/inputs/components/prop_types/help.d.ts +4 -4
  161. package/ts/inputs/components/prop_types/help_btn.d.ts +4 -4
  162. package/ts/inputs/components/prop_types/hr.d.ts +4 -4
  163. package/ts/inputs/components/prop_types/icon_btn.d.ts +4 -4
  164. package/ts/inputs/components/prop_types/index.d.ts +25 -25
  165. package/ts/inputs/components/prop_types/input_error.d.ts +4 -4
  166. package/ts/inputs/components/prop_types/input_item.d.ts +7 -7
  167. package/ts/inputs/components/prop_types/label.d.ts +4 -4
  168. package/ts/inputs/components/prop_types/label_in_input_item.d.ts +4 -4
  169. package/ts/inputs/components/prop_types/link.d.ts +4 -4
  170. package/ts/inputs/components/prop_types/link_btn.d.ts +4 -4
  171. package/ts/inputs/components/prop_types/link_icon_btn.d.ts +5 -5
  172. package/ts/inputs/components/prop_types/range.d.ts +6 -6
  173. package/ts/inputs/components/prop_types/section.d.ts +4 -4
  174. package/ts/inputs/components/prop_types/section_btn.d.ts +7 -6
  175. package/ts/inputs/components/prop_types/section_content.d.ts +5 -5
  176. package/ts/inputs/components/prop_types/select.d.ts +6 -6
  177. package/ts/inputs/components/prop_types/text.d.ts +6 -6
  178. package/ts/inputs/components/prop_types/text_btn.d.ts +8 -8
  179. package/ts/inputs/components/prop_types/textarea.d.ts +6 -6
  180. package/ts/inputs/components/prop_types/upload_box.d.ts +5 -5
  181. package/ts/inputs/components/range.d.ts +3 -3
  182. package/ts/inputs/components/section.d.ts +3 -3
  183. package/ts/inputs/components/section_btn.d.ts +3 -3
  184. package/ts/inputs/components/section_content.d.ts +3 -3
  185. package/ts/inputs/components/select.d.ts +3 -3
  186. package/ts/inputs/components/text.d.ts +3 -3
  187. package/ts/inputs/components/text_btn.d.ts +3 -3
  188. package/ts/inputs/components/textarea.d.ts +3 -3
  189. package/ts/inputs/components/upload_box.d.ts +3 -3
  190. package/ts/inputs/data/help.d.ts +15 -15
  191. package/ts/inputs/data/index.d.ts +8 -8
  192. package/ts/inputs/data/input_error.d.ts +12 -12
  193. package/ts/inputs/data/input_width.d.ts +26 -26
  194. package/ts/inputs/data/labelIn_in_putI_iem.d.ts +9 -9
  195. package/ts/inputs/data/nested_input.d.ts +18 -18
  196. package/ts/inputs/data/text.d.ts +21 -21
  197. package/ts/inputs/data/upload_box.d.ts +24 -24
  198. package/ts/inputs/data/val.d.ts +41 -41
  199. package/ts/inputs/interfaces/btn_option.d.ts +9 -9
  200. package/ts/inputs/interfaces/icon_btns.d.ts +2 -2
  201. package/ts/inputs/interfaces/index.d.ts +9 -9
  202. package/ts/inputs/interfaces/input.d.ts +2 -2
  203. package/ts/inputs/interfaces/inputs.d.ts +2 -2
  204. package/ts/inputs/interfaces/links.d.ts +2 -2
  205. package/ts/inputs/interfaces/options.d.ts +2 -2
  206. package/ts/inputs/interfaces/sections.d.ts +2 -2
  207. package/ts/inputs/interfaces/state_cond.d.ts +4 -4
  208. package/ts/inputs/interfaces/text_btn.d.ts +7 -7
  209. package/ts/inputs/internal.d.ts +12 -12
  210. package/ts/inputs/obj/btn.d.ts +6 -6
  211. package/ts/inputs/obj/checkbox.d.ts +5 -5
  212. package/ts/inputs/obj/file.d.ts +9 -9
  213. package/ts/inputs/obj/form.d.ts +7 -7
  214. package/ts/inputs/obj/group.d.ts +6 -6
  215. package/ts/inputs/obj/hr.d.ts +5 -5
  216. package/ts/inputs/obj/icon_btn.d.ts +7 -7
  217. package/ts/inputs/obj/index.d.ts +18 -18
  218. package/ts/inputs/obj/input_base.d.ts +45 -44
  219. package/ts/inputs/obj/label.d.ts +5 -5
  220. package/ts/inputs/obj/link.d.ts +17 -16
  221. package/ts/inputs/obj/link_btn.d.ts +6 -6
  222. package/ts/inputs/obj/option.d.ts +6 -6
  223. package/ts/inputs/obj/range.d.ts +20 -20
  224. package/ts/inputs/obj/section.d.ts +31 -28
  225. package/ts/inputs/obj/select.d.ts +9 -9
  226. package/ts/inputs/obj/text.d.ts +18 -18
  227. package/ts/inputs/obj/textarea.d.ts +5 -5
  228. package/ts/inputs/obj/upload_box.d.ts +18 -18
  229. package/ts/inputs/scripts/index.d.ts +2 -2
  230. package/ts/inputs/scripts/resolve.d.ts +7 -7
  231. package/ts/inputs/scripts/upload_box.d.ts +8 -8
  232. package/ts/settings/components/body.d.ts +3 -3
  233. package/ts/settings/components/index.d.ts +1 -1
  234. package/ts/settings/components/prop_types/body.d.ts +8 -7
  235. package/ts/settings/components/prop_types/index.d.ts +1 -1
  236. package/ts/settings/data/back_up.d.ts +17 -17
  237. package/ts/settings/data/index.d.ts +2 -2
  238. package/ts/settings/data/sections.d.ts +43 -43
  239. package/ts/settings/developer_mode/data/index.d.ts +1 -0
  240. package/ts/settings/developer_mode/data/main.d.ts +13 -0
  241. package/ts/settings/init.d.ts +1 -1
  242. package/ts/settings/internal.d.ts +8 -7
  243. package/ts/settings/optional_permissions/data/index.d.ts +1 -1
  244. package/ts/settings/optional_permissions/data/main.d.ts +11 -11
  245. package/ts/settings/optional_permissions/interfaces/index.d.ts +1 -1
  246. package/ts/settings/optional_permissions/interfaces/optional_permission_checkbox_dict.d.ts +3 -3
  247. package/ts/settings/scripts/index.d.ts +1 -1
  248. package/ts/settings/scripts/theme.d.ts +12 -12
  249. package/ts/shared/app.d.ts +25 -25
  250. package/ts/shared/app_ext_globals.d.ts +1 -6
  251. package/ts/shared/app_version/components/body.d.ts +2 -2
  252. package/ts/shared/app_version/components/index.d.ts +1 -1
  253. package/ts/shared/css_vars/scripts/index.d.ts +1 -1
  254. package/ts/shared/css_vars/scripts/main.d.ts +18 -18
  255. package/ts/shared/data/data/index.d.ts +1 -1
  256. package/ts/shared/data/data/main.d.ts +1 -4
  257. package/ts/shared/data/interfaces/index.d.ts +1 -1
  258. package/ts/shared/data/interfaces/val.d.ts +2 -2
  259. package/ts/shared/ext.d.ts +28 -27
  260. package/ts/shared/functions.d.ts +3 -3
  261. package/ts/shared/globals.d.ts +1 -4
  262. package/ts/shared/header/scripts/index.d.ts +1 -0
  263. package/ts/{announcement/scripts/header.d.ts → shared/header/scripts/main.d.ts} +6 -6
  264. package/ts/shared/init.d.ts +1 -1
  265. package/ts/shared/internal.d.ts +40 -32
  266. package/ts/shared/loading_screen/components/body.d.ts +3 -3
  267. package/ts/shared/loading_screen/components/index.d.ts +1 -1
  268. package/ts/shared/loading_screen/components/prop_types/body.d.ts +5 -5
  269. package/ts/shared/loading_screen/components/prop_types/index.d.ts +1 -1
  270. package/ts/shared/loading_screen/data/index.d.ts +1 -1
  271. package/ts/shared/loading_screen/data/main.d.ts +12 -12
  272. package/ts/shared/loading_screen/scripts/index.d.ts +2 -2
  273. package/ts/shared/loading_screen/scripts/roots.d.ts +11 -11
  274. package/ts/shared/loading_screen/scripts/tr.d.ts +8 -8
  275. package/ts/shared/no_tr/scripts/index.d.ts +1 -1
  276. package/ts/shared/no_tr/scripts/main.d.ts +12 -12
  277. package/ts/shared/offers/components/body.d.ts +3 -0
  278. package/ts/shared/offers/components/counter.d.ts +2 -0
  279. package/ts/shared/offers/components/index.d.ts +6 -0
  280. package/ts/shared/offers/components/next_offer_btn.d.ts +2 -0
  281. package/ts/shared/offers/components/offer.d.ts +3 -0
  282. package/ts/shared/offers/components/previous_offer_btn.d.ts +2 -0
  283. package/ts/shared/offers/components/prop_types/body.d.ts +5 -0
  284. package/ts/shared/offers/components/prop_types/index.d.ts +2 -0
  285. package/ts/shared/offers/components/prop_types/offer.d.ts +4 -0
  286. package/ts/shared/offers/components/top_bar.d.ts +2 -0
  287. package/ts/shared/offers/data/index.d.ts +1 -0
  288. package/ts/shared/offers/data/main.d.ts +22 -0
  289. package/ts/shared/offers/interfaces/index.d.ts +1 -0
  290. package/ts/shared/offers/interfaces/offer_banner_type.d.ts +1 -0
  291. package/ts/shared/offers/obj/index.d.ts +1 -0
  292. package/ts/shared/offers/obj/offer.d.ts +12 -0
  293. package/ts/shared/offers/scripts/index.d.ts +1 -0
  294. package/ts/shared/offers/scripts/main.d.ts +8 -0
  295. package/ts/shared/schema/data/index.d.ts +1 -1
  296. package/ts/shared/schema/data/main.d.ts +12 -12
  297. package/ts/shared/schema/obj/index.d.ts +1 -1
  298. package/ts/shared/schema/obj/transform_item.d.ts +7 -7
  299. package/ts/shared/service_worker/scripts/index.d.ts +1 -0
  300. package/ts/shared/service_worker/scripts/main.d.ts +9 -0
  301. package/ts/shared/settings/data/index.d.ts +1 -1
  302. package/ts/shared/settings/data/main.d.ts +15 -15
  303. package/ts/shared/svg.d.ts +9 -7
  304. package/ts/shared/t.d.ts +36 -36
  305. package/ts/shared/tab_index/interfaces/index.d.ts +1 -1
  306. package/ts/shared/tab_index/interfaces/set_Input_type_event.d.ts +2 -2
  307. package/ts/shared/tab_index/scripts/index.d.ts +1 -1
  308. package/ts/shared/tab_index/scripts/main.d.ts +18 -18
  309. package/ts/shared/theme/scripts/index.d.ts +1 -1
  310. package/ts/shared/theme/scripts/main.d.ts +11 -11
  311. package/ts/shared/title/scripts/index.d.ts +1 -1
  312. package/ts/shared/title/scripts/main.d.ts +6 -6
  313. package/ts/shared/tr/components/base_tr.d.ts +9 -9
  314. package/ts/shared/tr/components/index.d.ts +1 -1
  315. package/ts/shared/tr/components/prop_types/base_tr.d.ts +13 -13
  316. package/ts/shared/tr/components/prop_types/index.d.ts +1 -1
  317. package/ts/shared/tr/data/index.d.ts +1 -1
  318. package/ts/shared/tr/data/transition.d.ts +23 -23
  319. package/ts/shared/tr/interfaces/index.d.ts +1 -1
  320. package/ts/shared/tr/interfaces/transitions.d.ts +2 -2
  321. package/ts/shared/tr/obj/index.d.ts +1 -1
  322. package/ts/shared/tr/obj/transition.d.ts +8 -8
  323. package/ts/shared/utils/scripts/index.d.ts +1 -1
  324. package/ts/shared/utils/scripts/main.d.ts +11 -11
  325. package/ts/shared/vars.d.ts +2 -2
  326. package/ts/shared/viewport/scripts/index.d.ts +1 -1
  327. package/ts/shared/viewport/scripts/main.d.ts +8 -8
  328. package/ts/shared/x.d.ts +56 -67
  329. package/chunk-main-87eebf46.js +0 -1
  330. package/chunk-main-ddb4af78.js +0 -1
  331. package/chunk-main-dffc29ad.js +0 -9
  332. package/chunk-pickr.min-4c2d2755.js +0 -1
  333. package/fonts/noto_sans.woff2 +0 -0
  334. package/ts/announcement/components/prop_types/body.d.ts +0 -4
  335. package/ts/announcement/components/prop_types/index.d.ts +0 -1
package/chunk-main2.js ADDED
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Copyright 2024
3
+ */
4
+
5
+ "use strict";var main=require("./chunk-main.js"),React=require("react");globalThis.show_err_ribbon=(error_obj,error_code,{error_msg_key:error_msg_key="",notification_type:notification_type="error",hide_delay:hide_delay=Main$1.i().hide_delay,silent:silent=!1,persistent:persistent=!1,exit:exit=!1,is_fullscreen:is_fullscreen=!1,prevent_subsequent_errors:prevent_subsequent_errors=!1}={})=>Main$1.i().show_error(error_obj,error_code,{error_msg_key:error_msg_key,notification_type:notification_type,silent:silent,persistent:persistent,exit:exit,hide_delay:hide_delay,is_fullscreen:is_fullscreen,prevent_subsequent_errors:prevent_subsequent_errors}),globalThis.show_flash=class{static i(){return this.i0||(this.i0=new this)}constructor(){this.get_flash_server_text=()=>err((()=>{const flash_server_els=sa(".flash_server");if(n(flash_server_els)){const defined_flash_server_el=[...flash_server_els].find((flash_server_el=>{if(n(flash_server_el)&&n(flash_server_el.textContent)){if("undefined"!==flash_server_el.textContent)return!0}return!1}));return n(defined_flash_server_el)&&n(defined_flash_server_el.textContent)?defined_flash_server_el.textContent:void 0}}),"shr_1246"),this.turn_flash_server_text_into_arr=()=>err((()=>{const flash_server_el_text=this.get_flash_server_text();if(flash_server_el_text)return flash_server_el_text.split(":")}),"shr_1250"),this.get_flash_msg_key=()=>err((()=>{const flash_server_arr=this.turn_flash_server_text_into_arr();if(n(flash_server_arr))return flash_server_arr[0]}),"shr_1249"),this.get_flash_type=()=>err((()=>{const flash_server_arr=this.turn_flash_server_text_into_arr();return n(flash_server_arr)&&n(flash_server_arr[1])&&"-"!==flash_server_arr[1]?flash_server_arr[1]:"neutral"}),"shr_1249"),this.get_flash_hide_delay=()=>err((()=>{const flash_server_arr=this.turn_flash_server_text_into_arr();return n(flash_server_arr)&&n(flash_server_arr[2])&&"-"!==flash_server_arr[2]?+flash_server_arr[2]:5e3}),"shr_1249"),this.show=()=>err((()=>{const flash_msg_key=this.get_flash_msg_key(),flash_type=this.get_flash_type(),flash_hide_delay=this.get_flash_hide_delay();n(flash_msg_key)&&show_notification({error_msg_key:flash_msg_key,notification_type:flash_type,hide_delay:flash_hide_delay})}),"shr_1252")}}.i().show,globalThis.show_notification=({error_msg_key:error_msg_key="",notification_type:notification_type="neutral",hide_delay:hide_delay=Main$1.i().hide_delay,persistent:persistent=!1,is_fullscreen:is_fullscreen=!1,prevent_subsequent_errors:prevent_subsequent_errors=!1}={})=>{Notification.i().show({error_msg_key:error_msg_key,notification_type:notification_type,hide_delay:hide_delay,persistent:persistent,is_fullscreen:is_fullscreen,prevent_subsequent_errors:prevent_subsequent_errors})},globalThis.show_unable_to_access_settings_error=({is_fullscreen:is_fullscreen=!0,settings:settings,provided_settings:provided_settings=!1}={})=>{Notification.i().show_unable_to_access_settings_error({is_fullscreen:is_fullscreen,settings:settings,provided_settings:provided_settings})},globalThis.err=(f,error_code,{error_msg_key:error_msg_key="",silent:silent=!1,persistent:persistent=!1,exit:exit=!1,hide_delay:hide_delay=Main$1.i().hide_delay,is_fullscreen:is_fullscreen=!1,prevent_subsequent_errors:prevent_subsequent_errors=!1}={})=>{try{return f()}catch(error_obj){Main$1.i().show_error(error_obj,error_code,{error_msg_key:error_msg_key,silent:silent,persistent:persistent,exit:exit,hide_delay:hide_delay,is_fullscreen:is_fullscreen,prevent_subsequent_errors:prevent_subsequent_errors})}},globalThis.err_async=(f,error_code,{error_msg_key:error_msg_key="",silent:silent=!1,persistent:persistent=!1,exit:exit=!1,hide_delay:hide_delay=Main$1.i().hide_delay,is_fullscreen:is_fullscreen=!1,prevent_subsequent_errors:prevent_subsequent_errors=!1}={})=>main.__awaiter(void 0,void 0,void 0,(function*(){try{return yield f()}catch(error_obj){Main$1.i().show_error(error_obj,error_code,{error_msg_key:error_msg_key,silent:silent,persistent:persistent,exit:exit,hide_delay:hide_delay,is_fullscreen:is_fullscreen,prevent_subsequent_errors:prevent_subsequent_errors})}})),globalThis.throw_err=msg=>{throw new Error(msg)},globalThis.throw_err_obj=error_obj=>{throw error_obj},globalThis.err_obj=msg=>new Error(msg);class Notification{static i(){return this.i0||(this.i0=new this)}constructor(){this.show=({error_msg_key:error_msg_key="",notification_type:notification_type="neutral",hide_delay:hide_delay=Main$1.i().hide_delay,persistent:persistent=!1,is_fullscreen:is_fullscreen=!1,prevent_subsequent_errors:prevent_subsequent_errors=!1})=>err((()=>{show_err_ribbon(void 0,void 0,{error_msg_key:error_msg_key,notification_type:notification_type,hide_delay:hide_delay,persistent:persistent,is_fullscreen:is_fullscreen,prevent_subsequent_errors:prevent_subsequent_errors})}),"shr_1253"),this.show_unable_to_access_settings_error=({is_fullscreen:is_fullscreen=!0,settings:settings,provided_settings:provided_settings=!1}={})=>main.__awaiter(this,void 0,void 0,(function*(){const settings_final=provided_settings?settings:yield ext.storage_get();n(settings_final)&&!main._.isEmpty(settings_final)||show_notification({error_msg_key:"unable_to_access_settings_error",notification_type:"negative",is_fullscreen:is_fullscreen,prevent_subsequent_errors:!0})}))}}const Body$1=main.observer(class extends React.Component{static getDerivedStateFromError(){Visibility.i().show_reload_ui_screen()}componentDidCatch(err_obj){show_err_ribbon(err_obj,"shr_1000",{error_msg_key:"cant_render_ui"})}render(){if(Visibility.i().page_is_crashed)return React.createElement("div",{className:"reload_ui_btn_w"},React.createElement("button",{className:x.cls(["btn","reload_ui"]),type:"button",onClick:Page.i().reload},ext.msg("reload_ui_btn_text")));const{children:children}=this.props;return children}}),Body=main.observer((props=>{const{app_id:app_id,on_render:on_render}=props;return React.useEffect((()=>{Main.i().load({app_id:app_id}),on_render()}),[app_id,on_render]),React.createElement("div",{className:x.cls(["main","error",State.i().is_highlighted_cls,State.i().notification_type,State.i().is_fullscreen_cls]),role:"none",style:{display:State.i().is_visible_style},onMouseDown:State.i().clear_all_reset_state_timeouts},React.createElement(Progress$1,null),React.createElement("div",{className:"body"},React.createElement("div",{className:"top_stuff"},React.createElement("span",{className:"ext_name_and_keep_visible_msg"},React.createElement(ExtName,null),React.createElement(KeepVisibleMsg,null)),State.i().is_fullscreen?void 0:React.createElement(CloseBtn,null)),React.createElement(Msg$1,null)))})),CloseBtn=main.observer((()=>React.createElement("button",{className:"close_btn",type:"button",onMouseDown:()=>State.i().change_state({observable_key:"is_visible",state:!1}),onClick:()=>State.i().change_state({observable_key:"is_visible",state:!1}),onKeyDown:main.Main$3.i().simulate_click_on_enter},React.createElement(main.svg.Close,null)))),ExtName=()=>React.createElement("div",{className:"ext_name"},ext.msg("name")," ",React.createElement(main.Body,null)),KeepVisibleMsg=main.observer((()=>React.createElement("div",{className:x.cls(["keep_visible_msg",Progress.i().progress_bar_is_visible_cls])},ext.msg("error_keep_visible_msg_text")))),Msg$1=main.observer((()=>React.createElement("div",{className:"msg"},Msg.i().basic_msg,"error"===State.i().notification_type?React.createElement(React.Fragment,null,React.createElement("button",{type:"button",className:x.cls(["more_info_btn",Msg.i().more_info_btn_is_visible_cls]),onClick:()=>Msg.i().change_visibility_of_advanced_msg({is_visible:!0})},ext.msg("error_more_info_btn_text")),React.createElement("div",{className:Msg.i().advanced_msg_is_visible_cls},Msg.i().advanced_msg)):void 0))),Progress$1=main.observer((()=>React.createElement("progress",{className:x.cls(["progress",Progress.i().progress_bar_is_visible_cls]),max:Progress.i().progress_max,value:Progress.i().progress_val})));class Visibility{static i(){return this.i0||(this.i0=new this)}constructor(){this.page_is_crashed=!1,this.show_reload_ui_screen=()=>{this.page_is_crashed=!0},main.makeObservable(this,{page_is_crashed:main.observable,show_reload_ui_screen:main.action})}}let Main$1=class{static i(){return this.i0||(this.i0=new this)}constructor(){this.hide_delay=5e3,this.highlight_time=300,this.prevent_subsequent_errors=!1,this.show_error=(error_obj,error_code,{error_msg_key:error_msg_key="",notification_type:notification_type="error",hide_delay:hide_delay=this.hide_delay,silent:silent=!1,persistent:persistent=!1,exit:exit=!1,is_fullscreen:is_fullscreen=!1,prevent_subsequent_errors:prevent_subsequent_errors=!1}={})=>{const prevent_subsequent_errors_final=prevent_subsequent_errors||this.prevent_subsequent_errors,silent_final=prevent_subsequent_errors_final?this.prevent_subsequent_errors:silent,persistent_final=!!prevent_subsequent_errors_final||persistent,error_ui_is_visible=!(x.in_service_worker||silent_final||error_obj&&error_obj.silent);if(error_ui_is_visible&&("error"!==notification_type&&(Msg.i().basic_msg=ext.msg(error_msg_key),State.i().notification_type=notification_type),is_fullscreen&&State.i().change_state({observable_key:"is_fullscreen",state:!0}),State.i().change_state({observable_key:"is_visible",state:!0}),is_fullscreen||State.i().change_state({observable_key:"is_highlighted",state:!0}),State.i().clear_all_reset_state_timeouts(),error_obj&&error_obj.persistent||persistent_final||State.i().run_reset_state_timeout({observable_key:"is_visible",delay:hide_delay+this.highlight_time}),State.i().run_reset_state_timeout({observable_key:"is_highlighted",delay:this.highlight_time})),error_obj&&error_code){error_ui_is_visible&&Msg.i().change_visibility_of_advanced_msg({is_visible:!1});const error_msg_pre=ext.msg(`${error_obj.error_msg||error_msg_key}_error`),error_msg_final=error_msg_pre?` ${error_msg_pre}`:"";if(main.runInAction((()=>err((()=>{silent_final||(Msg.i().basic_msg=`${ext.msg("an_error_occured_msg")+error_msg_final}`,Msg.i().advanced_msg=`${ext.msg("error_code_label")+(error_obj.error_code||error_code)}\n${ext.msg("error_type_label")+error_obj.name}\n${ext.msg("error_msg_label")+error_obj.message}`)}),"shr_1195"))),error_obj.exit||exit){const updated_error_obj=error_obj,set_updated_error_obj_propery=({key:key,undefined_property:undefined_property})=>{updated_error_obj[key]=n(error_obj[key])?error_obj[key]:undefined_property};throw set_updated_error_obj_propery({key:"error_code",undefined_property:error_code}),set_updated_error_obj_propery({key:"error_msg",undefined_property:error_msg_key}),set_updated_error_obj_propery({key:"silent",undefined_property:silent_final}),set_updated_error_obj_propery({key:"persistent",undefined_property:persistent_final}),set_updated_error_obj_propery({key:"exit",undefined_property:exit}),set_updated_error_obj_propery({key:"hide_delay",undefined_property:hide_delay}),updated_error_obj}this.output_error(error_obj,error_code)}prevent_subsequent_errors&&(this.prevent_subsequent_errors=!0)},this.output_error=(error_obj,error_code)=>{const line="---------------------------",separator_bottom=`\n${line}`,error_code_and_msg=`${`${line}\n`}Code: ${error_code}\nMessage: ${error_obj.message}`,console_output=error_obj.stack?`${error_code_and_msg}\nStack: ${error_obj.stack+separator_bottom}`:error_code_and_msg+separator_bottom;console.error(console_output)},main.makeObservable(this,{show_error:main.action})}};class Msg{static i(){return this.i0||(this.i0=new this)}constructor(){this.advanced_msg_is_visible=!1,this.basic_msg="",this.advanced_msg="",this.change_visibility_of_advanced_msg=({is_visible:is_visible})=>{this.advanced_msg_is_visible=is_visible},main.makeObservable(this,{advanced_msg_is_visible:main.observable,basic_msg:main.observable,advanced_msg:main.observable,advanced_msg_is_visible_cls:main.computed,more_info_btn_is_visible_cls:main.computed,change_visibility_of_advanced_msg:main.action})}get advanced_msg_is_visible_cls(){return this.advanced_msg_is_visible?"":"none"}get more_info_btn_is_visible_cls(){return this.advanced_msg_is_visible?"none":""}}class Progress{static i(){return this.i0||(this.i0=new this)}constructor(){this.progress_max=100,this.progress_val=100,this.timestamp_progress_begin=0,this.error_hide_delay=0,this.begin_progress=({error_hide_delay:error_hide_delay})=>{this.error_hide_delay=error_hide_delay,this.timestamp_progress_begin=Date.now(),this.progress_val=0},this.increment_progress=()=>{const progress_percentage=x.percentage(Date.now()-this.timestamp_progress_begin,this.error_hide_delay);this.progress_val=progress_percentage},this.hide_progress=()=>{clearTimeout(this.progress_timeout),this.progress_val=this.progress_max},this.update_progress_autorun=()=>{main.autorun((()=>{this.progress_val>=this.progress_max||(this.progress_timeout=setTimeout((()=>{this.increment_progress()}),10))}))},main.makeObservable(this,{progress_val:main.observable,progress_bar_is_visible_cls:main.computed,begin_progress:main.action,increment_progress:main.action,hide_progress:main.action})}get progress_bar_is_visible_cls(){return this.progress_val>=this.progress_max?"none":""}}class State{static i(){return this.i0||(this.i0=new this)}constructor(){this.is_loaded=!1,this.is_visible=!1,this.is_highlighted=!1,this.is_fullscreen=!1,this.notification_type="error",this.change_state=({observable_key:observable_key,state:state})=>{this[observable_key]=state},this.run_reset_state_timeout=({observable_key:observable_key,delay:delay})=>{this[`${observable_key}_timeout`]=globalThis.setTimeout((()=>{this.change_state({observable_key:observable_key,state:!1})}),delay),"is_visible"===observable_key&&Progress.i().begin_progress({error_hide_delay:delay})},this.clear_all_reset_state_timeouts=()=>{n(this.is_visible_timeout)&&n(this.is_highlighted_timeout)&&(clearTimeout(this.is_visible_timeout),clearTimeout(this.is_highlighted_timeout),Progress.i().hide_progress())},main.makeObservable(this,{is_loaded:main.observable,is_visible:main.observable,is_highlighted:main.observable,is_fullscreen:main.observable,notification_type:main.observable,is_visible_style:main.computed,is_highlighted_cls:main.computed,change_state:main.action,run_reset_state_timeout:main.action})}get is_visible_style(){return this.is_loaded&&this.is_visible?"":"none"}get is_highlighted_cls(){return this.is_highlighted?"is_highlighted":""}get is_fullscreen_cls(){return this.is_fullscreen?"fullscreen":""}}class Page{static i(){return this.i0||(this.i0=new this)}constructor(){this.reload=()=>{globalThis.location.reload()}}}class Main{static i(){return this.i0||(this.i0=new this)}constructor(){this.load=({app_id:app_id})=>{x.css("font_face",document.head,`font_face_link_${app_id}`);const error_root=s(`.error_${app_id}`);if(n(error_root)){const error_shadow=n(error_root.shadowRoot)?error_root.shadowRoot:void 0;if(error_shadow){const error_css=x.css("error",error_shadow);n(error_css)&&x.bind(error_css,"load",(()=>{State.i().change_state({observable_key:"is_loaded",state:!0})}))}}}}}exports.Body=Body$1,exports.Body$1=Body,exports.CloseBtn=CloseBtn,exports.ExtName=ExtName,exports.KeepVisibleMsg=KeepVisibleMsg,exports.Main=Main$1,exports.Msg=Msg$1,exports.Progress=Progress$1,exports.Progress$1=Progress,exports.Visibility=Visibility;
package/chunk-main3.js ADDED
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Copyright 2024
3
+ */
4
+
5
+ "use strict";var main=require("./chunk-main.js");require("react");let Main$1=class{static i(){return this.i0||(this.i0=new this)}constructor(){this.cls="no_tr",this.enable=({el:el=document.head}={el:document.head})=>err((()=>{x.css(this.cls,el)}),"shr_1120"),this.disable=({el:el=document.head}={el:document.head})=>err_async((()=>main.__awaiter(this,void 0,void 0,(function*(){yield x.delay(500);const tr_link=sb(el,`.${this.cls}_link`);x.remove(tr_link)}))),"shr_1121")}};exports.Main=Main$1,exports.Main$1=class{static i(){return this.i0||(this.i0=new this)}constructor(){this.set=({name:name,el:el=document.head,additional_theme_callback:additional_theme_callback})=>err_async((()=>main.__awaiter(this,void 0,void 0,(function*(){Main$1.i().enable({el:el});const name_final=`${name}_theme`,loading_screen_root_el=s('div[class^="root"][class*="loading_screen"]');x.css(name_final,el,"theme_link"),n(loading_screen_root_el)&&n(loading_screen_root_el.shadowRoot)&&x.css(name_final,loading_screen_root_el.shadowRoot,"theme_link"),n(additional_theme_callback)&&additional_theme_callback({name:name,el:el}),yield Main$1.i().disable({el:el})}))),"shr_1129")}};
package/chunk-main4.js ADDED
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Copyright 2024
3
+ */
4
+
5
+ "use strict";exports.Header=class{static i(){return this.i0||(this.i0=new this)}constructor(){this.get=()=>err((()=>{const title_el=s("title");return n(title_el)&&n(title_el.textContent)?title_el.textContent:""}),"shr_1230")}};
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Copyright 2024
3
+ */
4
+
5
+ "use strict";var main=require("./chunk-main.js");function _mergeNamespaces(n,m){return m.forEach((function(e){e&&"string"!=typeof e&&!Array.isArray(e)&&Object.keys(e).forEach((function(k){if("default"!==k&&!(k in n)){var d=Object.getOwnPropertyDescriptor(e,k);Object.defineProperty(n,k,d.get?d:{enumerable:!0,get:function(){return e[k]}})}}))})),Object.freeze(n)}var pickr_min$2={exports:{}};self;var pickr_minExports=pickr_min$2.exports=(()=>(()=>{var t={d:(e,o)=>{for(var n in o)t.o(o,n)&&!t.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:o[n]})},o:(t,e)=>Object.prototype.hasOwnProperty.call(t,e),r:t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})}},e={};t.d(e,{default:()=>E});var o={};function n(t,e,o,n,i={}){e instanceof HTMLCollection||e instanceof NodeList?e=Array.from(e):Array.isArray(e)||(e=[e]),Array.isArray(o)||(o=[o]);for(const s of e)for(const e of o)s[t](e,n,{capture:!1,...i});return Array.prototype.slice.call(arguments,1)}t.r(o),t.d(o,{adjustableInputNumbers:()=>p,createElementFromString:()=>r,createFromTemplate:()=>a,eventPath:()=>l,off:()=>s,on:()=>i,resolveElement:()=>c});const i=n.bind(null,"addEventListener"),s=n.bind(null,"removeEventListener");function r(t){const e=document.createElement("div");return e.innerHTML=t.trim(),e.firstElementChild}function a(t){const e=(t,e)=>{const o=t.getAttribute(e);return t.removeAttribute(e),o},o=(t,n={})=>{const i=e(t,":obj"),s=e(t,":ref"),r=i?n[i]={}:n;s&&(n[s]=t);for(const n of Array.from(t.children)){const t=e(n,":arr"),i=o(n,t?{}:r);t&&(r[t]||(r[t]=[])).push(Object.keys(i).length?i:n)}return n};return o(r(t))}function l(t){let e=t.path||t.composedPath&&t.composedPath();if(e)return e;let o=t.target.parentElement;for(e=[t.target,o];o=o.parentElement;)e.push(o);return e.push(document,window),e}function c(t){return t instanceof Element?t:"string"==typeof t?t.split(/>>/g).reduce(((t,e,o,n)=>(t=t.querySelector(e),o<n.length-1?t.shadowRoot:t)),document):null}function p(t,e=(t=>t)){function o(o){const n=[.001,.01,.1][Number(o.shiftKey||2*o.ctrlKey)]*(o.deltaY<0?1:-1);let i=0,s=t.selectionStart;t.value=t.value.replace(/[\d.]+/g,((t,o)=>o<=s&&o+t.length>=s?(s=o,e(Number(t),n,i)):(i++,t))),t.focus(),t.setSelectionRange(s,s),o.preventDefault(),t.dispatchEvent(new Event("input"))}i(t,"focus",(()=>i(window,"wheel",o,{passive:!1}))),i(t,"blur",(()=>s(window,"wheel",o)))}const{min:u,max:h,floor:d,round:m}=Math;function f(t,e,o){e/=100,o/=100;const n=d(t=t/360*6),i=t-n,s=o*(1-e),r=o*(1-i*e),a=o*(1-(1-i)*e),l=n%6;return[255*[o,r,s,s,a,o][l],255*[a,o,o,r,s,s][l],255*[s,s,a,o,o,r][l]]}function v(t,e,o){const n=(2-(e/=100))*(o/=100)/2;return 0!==n&&(e=1===n?0:n<.5?e*o/(2*n):e*o/(2-2*n)),[t,100*e,100*n]}function b(t,e,o){const n=u(t/=255,e/=255,o/=255),i=h(t,e,o),s=i-n;let r,a;if(0===s)r=a=0;else{a=s/i;const n=((i-t)/6+s/2)/s,l=((i-e)/6+s/2)/s,c=((i-o)/6+s/2)/s;t===i?r=c-l:e===i?r=1/3+n-c:o===i&&(r=2/3+l-n),r<0?r+=1:r>1&&(r-=1)}return[360*r,100*a,100*i]}function y(t,e,o,n){return e/=100,o/=100,[...b(255*(1-u(1,(t/=100)*(1-(n/=100))+n)),255*(1-u(1,e*(1-n)+n)),255*(1-u(1,o*(1-n)+n)))]}function g(t,e,o){e/=100;const n=2*(e*=(o/=100)<.5?o:1-o)/(o+e)*100,i=100*(o+e);return[t,isNaN(n)?0:n,i]}function _(t){return b(...t.match(/.{2}/g).map((t=>parseInt(t,16))))}function A(t=0,e=0,o=0,n=1){const i=(t,e)=>(o=-1)=>e(~o?t.map((t=>Number(t.toFixed(o)))):t),s={h:t,s:e,v:o,a:n,toHSVA(){const t=[s.h,s.s,s.v,s.a];return t.toString=i(t,(t=>`hsva(${t[0]}, ${t[1]}%, ${t[2]}%, ${s.a})`)),t},toHSLA(){const t=[...v(s.h,s.s,s.v),s.a];return t.toString=i(t,(t=>`hsla(${t[0]}, ${t[1]}%, ${t[2]}%, ${s.a})`)),t},toRGBA(){const t=[...f(s.h,s.s,s.v),s.a];return t.toString=i(t,(t=>`rgba(${t[0]}, ${t[1]}, ${t[2]}, ${s.a})`)),t},toCMYK(){const t=function(t,e,o){const n=f(t,e,o),i=n[0]/255,s=n[1]/255,r=n[2]/255,a=u(1-i,1-s,1-r);return[100*(1===a?0:(1-i-a)/(1-a)),100*(1===a?0:(1-s-a)/(1-a)),100*(1===a?0:(1-r-a)/(1-a)),100*a]}(s.h,s.s,s.v);return t.toString=i(t,(t=>`cmyk(${t[0]}%, ${t[1]}%, ${t[2]}%, ${t[3]}%)`)),t},toHEXA(){const t=function(t,e,o){return f(t,e,o).map((t=>m(t).toString(16).padStart(2,"0")))}(s.h,s.s,s.v),e=s.a>=1?"":Number((255*s.a).toFixed(0)).toString(16).toUpperCase().padStart(2,"0");return e&&t.push(e),t.toString=()=>`#${t.join("").toUpperCase()}`,t},clone:()=>A(s.h,s.s,s.v,s.a)};return s}const $=t=>Math.max(Math.min(t,1),0);function C(t){const e={options:Object.assign({lock:null,onchange:()=>0,onstop:()=>0},t),_keyboard(t){const{options:o}=e,{type:n,key:i}=t;if(document.activeElement===o.wrapper){const{lock:o}=e.options,s="ArrowUp"===i,r="ArrowRight"===i,a="ArrowDown"===i,l="ArrowLeft"===i;if("keydown"===n&&(s||r||a||l)){let n=0,i=0;"v"===o?n=s||r?1:-1:"h"===o?n=s||r?-1:1:(i=s?-1:a?1:0,n=l?-1:r?1:0),e.update($(e.cache.x+.01*n),$(e.cache.y+.01*i)),t.preventDefault()}else i.startsWith("Arrow")&&(e.options.onstop(),t.preventDefault())}},_tapstart(t){i(document,["mouseup","touchend","touchcancel"],e._tapstop),i(document,["mousemove","touchmove"],e._tapmove),t.cancelable&&t.preventDefault(),e._tapmove(t)},_tapmove(t){const{options:o,cache:n}=e,{lock:i,element:s,wrapper:r}=o,a=r.getBoundingClientRect();let l=0,c=0;if(t){const e=t&&t.touches&&t.touches[0];l=t?(e||t).clientX:0,c=t?(e||t).clientY:0,l<a.left?l=a.left:l>a.left+a.width&&(l=a.left+a.width),c<a.top?c=a.top:c>a.top+a.height&&(c=a.top+a.height),l-=a.left,c-=a.top}else n&&(l=n.x*a.width,c=n.y*a.height);"h"!==i&&(s.style.left=`calc(${l/a.width*100}% - ${s.offsetWidth/2}px)`),"v"!==i&&(s.style.top=`calc(${c/a.height*100}% - ${s.offsetHeight/2}px)`),e.cache={x:l/a.width,y:c/a.height};const p=$(l/a.width),u=$(c/a.height);switch(i){case"v":return o.onchange(p);case"h":return o.onchange(u);default:return o.onchange(p,u)}},_tapstop(){e.options.onstop(),s(document,["mouseup","touchend","touchcancel"],e._tapstop),s(document,["mousemove","touchmove"],e._tapmove)},trigger(){e._tapmove()},update(t=0,o=0){const{left:n,top:i,width:s,height:r}=e.options.wrapper.getBoundingClientRect();"h"===e.options.lock&&(o=t),e._tapmove({clientX:n+s*t,clientY:i+r*o})},destroy(){const{options:t,_tapstart:o,_keyboard:n}=e;s(document,["keydown","keyup"],n),s([t.wrapper,t.element],"mousedown",o),s([t.wrapper,t.element],"touchstart",o,{passive:!1})}},{options:o,_tapstart:n,_keyboard:r}=e;return i([o.wrapper,o.element],"mousedown",n),i([o.wrapper,o.element],"touchstart",n,{passive:!1}),i(document,["keydown","keyup"],r),e}function k(t={}){t=Object.assign({onchange:()=>0,className:"",elements:[]},t);const e=i(t.elements,"click",(e=>{t.elements.forEach((o=>o.classList[e.target===o?"add":"remove"](t.className))),t.onchange(e),e.stopPropagation()}));return{destroy:()=>s(...e)}}const S={variantFlipOrder:{start:"sme",middle:"mse",end:"ems"},positionFlipOrder:{top:"tbrl",right:"rltb",bottom:"btrl",left:"lrbt"},position:"bottom",margin:8,padding:0};class E{static utils=o;static version="1.9.0";static I18N_DEFAULTS={"ui:dialog":"color picker dialog","btn:toggle":"toggle color picker dialog","btn:swatch":"color swatch","btn:last-color":"use previous color","btn:save":"Save","btn:cancel":"Cancel","btn:clear":"Clear","aria:btn:save":"save and close","aria:btn:cancel":"cancel and close","aria:btn:clear":"clear and close","aria:input":"color input field","aria:palette":"color selection area","aria:hue":"hue selection slider","aria:opacity":"selection slider"};static DEFAULT_OPTIONS={appClass:null,theme:"classic",useAsButton:!1,padding:8,disabled:!1,comparison:!0,closeOnScroll:!1,outputPrecision:0,lockOpacity:!1,autoReposition:!0,container:"body",components:{interaction:{}},i18n:{},swatches:null,inline:!1,sliders:null,default:"#42445a",defaultRepresentation:null,position:"bottom-middle",adjustableNumbers:!0,showAlways:!1,closeWithKey:"Escape"};_initializingActive=!0;_recalc=!0;_nanopop=null;_root=null;_color=A();_lastColor=A();_swatchColors=[];_setupAnimationFrame=null;_eventListener={init:[],save:[],hide:[],show:[],clear:[],change:[],changestop:[],cancel:[],swatchselect:[]};constructor(t){this.options=t=Object.assign({...E.DEFAULT_OPTIONS},t);const{swatches:e,components:o,theme:n,sliders:i,lockOpacity:s,padding:r}=t;["nano","monolith"].includes(n)&&!i&&(t.sliders="h"),o.interaction||(o.interaction={});const{preview:a,opacity:l,hue:c,palette:p}=o;o.opacity=!s&&l,o.palette=p||a||l||c,this._preBuild(),this._buildComponents(),this._bindEvents(),this._finalBuild(),e&&e.length&&e.forEach((t=>this.addSwatch(t)));const{button:u,app:h}=this._root;this._nanopop=((t,e,o)=>{const n="object"!=typeof t||t instanceof HTMLElement?{reference:t,popper:e,...o}:t;return{update(t=n){const{reference:e,popper:o}=Object.assign(n,t);if(!o||!e)throw new Error("Popper- or reference-element missing.");return((t,e,o)=>{const{container:n,arrow:i,margin:s,padding:r,position:a,variantFlipOrder:l,positionFlipOrder:c}={container:document.documentElement.getBoundingClientRect(),...S,...o},{left:p,top:u}=e.style;e.style.left="0",e.style.top="0";const h=t.getBoundingClientRect(),d=e.getBoundingClientRect(),m={t:h.top-d.height-s,b:h.bottom+s,r:h.right+s,l:h.left-d.width-s},f={vs:h.left,vm:h.left+h.width/2-d.width/2,ve:h.left+h.width-d.width,hs:h.top,hm:h.bottom-h.height/2-d.height/2,he:h.bottom-d.height},[v,b="middle"]=a.split("-"),y=c[v],g=l[b],{top:_,left:w,bottom:A,right:$}=n;for(const t of y){const o="t"===t||"b"===t;let n=m[t];const[s,a]=o?["top","left"]:["left","top"],[l,c]=o?[d.height,d.width]:[d.width,d.height],[p,u]=o?[A,$]:[$,A],[v,b]=o?[_,w]:[w,_];if(!(n<v||n+l+r>p))for(const p of g){let m=f[(o?"v":"h")+p];if(!(m<b||m+c+r>u)){if(m-=d[a],n-=d[s],e.style[a]=`${m}px`,e.style[s]=`${n}px`,i){const t=o?h.width/2:h.height/2,e=2*t<c?h[a]+t:m+c/2;n<h[s]&&(n+=l),i.style[a]=`${e}px`,i.style[s]=`${n}px`}return t+p}}}return e.style.left=p,e.style.top=u,null})(e,o,n)}}})(u,h,{margin:r}),u.setAttribute("role","button"),u.setAttribute("aria-label",this._t("btn:toggle"));const d=this;this._setupAnimationFrame=requestAnimationFrame((function e(){if(!h.offsetWidth)return requestAnimationFrame(e);d.setColor(t.default),d._rePositioningPicker(),t.defaultRepresentation&&(d._representation=t.defaultRepresentation,d.setColorRepresentation(d._representation)),t.showAlways&&d.show(),d._initializingActive=!1,d._emit("init")}))}static create=t=>new E(t);_preBuild(){const{options:t}=this;for(const e of["el","container"])t[e]=c(t[e]);this._root=(t=>{const{components:e,useAsButton:o,inline:n,appClass:i,theme:s,lockOpacity:r}=t.options,l=t=>t?"":'style="display:none" hidden',c=e=>t._t(e),p=a(`\n <div :ref="root" class="pickr">\n\n ${o?"":'<button type="button" :ref="button" class="pcr-button"></button>'}\n\n <div :ref="app" class="pcr-app ${i||""}" data-theme="${s}" ${n?'style="position: unset"':""} aria-label="${c("ui:dialog")}" role="window">\n <div class="pcr-selection" ${l(e.palette)}>\n <div :obj="preview" class="pcr-color-preview" ${l(e.preview)}>\n <button type="button" :ref="lastColor" class="pcr-last-color" aria-label="${c("btn:last-color")}"></button>\n <div :ref="currentColor" class="pcr-current-color"></div>\n </div>\n\n <div :obj="palette" class="pcr-color-palette">\n <div :ref="picker" class="pcr-picker"></div>\n <div :ref="palette" class="pcr-palette" tabindex="0" aria-label="${c("aria:palette")}" role="listbox"></div>\n </div>\n\n <div :obj="hue" class="pcr-color-chooser" ${l(e.hue)}>\n <div :ref="picker" class="pcr-picker"></div>\n <div :ref="slider" class="pcr-hue pcr-slider" tabindex="0" aria-label="${c("aria:hue")}" role="slider"></div>\n </div>\n\n <div :obj="opacity" class="pcr-color-opacity" ${l(e.opacity)}>\n <div :ref="picker" class="pcr-picker"></div>\n <div :ref="slider" class="pcr-opacity pcr-slider" tabindex="0" aria-label="${c("aria:opacity")}" role="slider"></div>\n </div>\n </div>\n\n <div class="pcr-swatches ${e.palette?"":"pcr-last"}" :ref="swatches"></div>\n\n <div :obj="interaction" class="pcr-interaction" ${l(Object.keys(e.interaction).length)}>\n <input :ref="result" class="pcr-result" type="text" spellcheck="false" ${l(e.interaction.input)} aria-label="${c("aria:input")}">\n\n <input :arr="options" class="pcr-type" data-type="HEXA" value="${r?"HEX":"HEXA"}" type="button" ${l(e.interaction.hex)}>\n <input :arr="options" class="pcr-type" data-type="RGBA" value="${r?"RGB":"RGBA"}" type="button" ${l(e.interaction.rgba)}>\n <input :arr="options" class="pcr-type" data-type="HSLA" value="${r?"HSL":"HSLA"}" type="button" ${l(e.interaction.hsla)}>\n <input :arr="options" class="pcr-type" data-type="HSVA" value="${r?"HSV":"HSVA"}" type="button" ${l(e.interaction.hsva)}>\n <input :arr="options" class="pcr-type" data-type="CMYK" value="CMYK" type="button" ${l(e.interaction.cmyk)}>\n\n <input :ref="save" class="pcr-save" value="${c("btn:save")}" type="button" ${l(e.interaction.save)} aria-label="${c("aria:btn:save")}">\n <input :ref="cancel" class="pcr-cancel" value="${c("btn:cancel")}" type="button" ${l(e.interaction.cancel)} aria-label="${c("aria:btn:cancel")}">\n <input :ref="clear" class="pcr-clear" value="${c("btn:clear")}" type="button" ${l(e.interaction.clear)} aria-label="${c("aria:btn:clear")}">\n </div>\n </div>\n </div>\n `),u=p.interaction;return u.options.find((t=>!t.hidden&&!t.classList.add("active"))),u.type=()=>u.options.find((t=>t.classList.contains("active"))),p})(this),t.useAsButton&&(this._root.button=t.el),t.container.appendChild(this._root.root)}_finalBuild(){const t=this.options,e=this._root;if(t.container.removeChild(e.root),t.inline){const o=t.el.parentElement;t.el.nextSibling?o.insertBefore(e.app,t.el.nextSibling):o.appendChild(e.app)}else t.container.appendChild(e.app);t.useAsButton?t.inline&&t.el.remove():t.el.parentNode.replaceChild(e.root,t.el),t.disabled&&this.disable(),t.comparison||(e.button.style.transition="none",t.useAsButton||(e.preview.lastColor.style.transition="none")),this.hide()}_buildComponents(){const t=this,e=this.options.components,o=(t.options.sliders||"v").repeat(2),[n,i]=o.match(/^[vh]+$/g)?o:[],s=()=>this._color||(this._color=this._lastColor.clone()),r={palette:C({element:t._root.palette.picker,wrapper:t._root.palette.palette,onstop:()=>t._emit("changestop","slider",t),onchange(o,n){if(!e.palette)return;const i=s(),{_root:r,options:a}=t,{lastColor:l,currentColor:c}=r.preview;t._recalc&&(i.s=100*o,i.v=100-100*n,i.v<0&&(i.v=0),t._updateOutput("slider"));const p=i.toRGBA().toString(0);this.element.style.background=p,this.wrapper.style.background=`\n linear-gradient(to top, rgba(0, 0, 0, ${i.a}), transparent),\n linear-gradient(to left, hsla(${i.h}, 100%, 50%, ${i.a}), rgba(255, 255, 255, ${i.a}))\n `,a.comparison?a.useAsButton||t._lastColor||l.style.setProperty("--pcr-color",p):(r.button.style.setProperty("--pcr-color",p),r.button.classList.remove("clear"));const u=i.toHEXA().toString();for(const{el:e,color:o}of t._swatchColors)e.classList[u===o.toHEXA().toString()?"add":"remove"]("pcr-active");c.style.setProperty("--pcr-color",p)}}),hue:C({lock:"v"===i?"h":"v",element:t._root.hue.picker,wrapper:t._root.hue.slider,onstop:()=>t._emit("changestop","slider",t),onchange(o){if(!e.hue||!e.palette)return;const n=s();t._recalc&&(n.h=360*o),this.element.style.backgroundColor=`hsl(${n.h}, 100%, 50%)`,r.palette.trigger()}}),opacity:C({lock:"v"===n?"h":"v",element:t._root.opacity.picker,wrapper:t._root.opacity.slider,onstop:()=>t._emit("changestop","slider",t),onchange(o){if(!e.opacity||!e.palette)return;const n=s();t._recalc&&(n.a=Math.round(100*o)/100),this.element.style.background=`rgba(0, 0, 0, ${n.a})`,r.palette.trigger()}}),selectable:k({elements:t._root.interaction.options,className:"active",onchange(e){t._representation=e.target.getAttribute("data-type").toUpperCase(),t._recalc&&t._updateOutput("swatch")}})};this._components=r}_bindEvents(){const{_root:t,options:e}=this,o=[i(t.interaction.clear,"click",(()=>this._clearColor())),i([t.interaction.cancel,t.preview.lastColor],"click",(()=>{this.setHSVA(...(this._lastColor||this._color).toHSVA(),!0),this._emit("cancel")})),i(t.interaction.save,"click",(()=>{!this.applyColor()&&!e.showAlways&&this.hide()})),i(t.interaction.result,["keyup","input"],(t=>{this.setColor(t.target.value,!0)&&!this._initializingActive&&(this._emit("change",this._color,"input",this),this._emit("changestop","input",this)),t.stopImmediatePropagation()})),i(t.interaction.result,["focus","blur"],(t=>{this._recalc="blur"===t.type,this._recalc&&this._updateOutput(null)})),i([t.palette.palette,t.palette.picker,t.hue.slider,t.hue.picker,t.opacity.slider,t.opacity.picker],["mousedown","touchstart"],(()=>this._recalc=!0),{passive:!0})];if(!e.showAlways){const n=e.closeWithKey;o.push(i(t.button,"click",(()=>this.isOpen()?this.hide():this.show())),i(document,"keyup",(t=>this.isOpen()&&(t.key===n||t.code===n)&&this.hide())),i(document,["touchstart","mousedown"],(e=>{this.isOpen()&&!l(e).some((e=>e===t.app||e===t.button))&&this.hide()}),{capture:!0}))}if(e.adjustableNumbers){const e={rgba:[255,255,255,1],hsva:[360,100,100,1],hsla:[360,100,100,1],cmyk:[100,100,100,100]};p(t.interaction.result,((t,o,n)=>{const i=e[this.getColorRepresentation().toLowerCase()];if(i){const e=i[n],s=t+(e>=100?1e3*o:o);return s<=0?0:Number((s<e?s:e).toPrecision(3))}return t}))}if(e.autoReposition&&!e.inline){let t=null;const n=this;o.push(i(window,["scroll","resize"],(()=>{n.isOpen()&&(e.closeOnScroll&&n.hide(),null===t?(t=setTimeout((()=>t=null),100),requestAnimationFrame((function e(){n._rePositioningPicker(),null!==t&&requestAnimationFrame(e)}))):(clearTimeout(t),t=setTimeout((()=>t=null),100)))}),{capture:!0}))}this._eventBindings=o}_rePositioningPicker(){const{options:t}=this;if(!t.inline&&!this._nanopop.update({container:document.body.getBoundingClientRect(),position:t.position})){const t=this._root.app,e=t.getBoundingClientRect();t.style.top=(window.innerHeight-e.height)/2+"px",t.style.left=(window.innerWidth-e.width)/2+"px"}}_updateOutput(t){const{_root:e,_color:o,options:n}=this;if(e.interaction.type()){const t=`to${e.interaction.type().getAttribute("data-type")}`;e.interaction.result.value="function"==typeof o[t]?o[t]().toString(n.outputPrecision):""}!this._initializingActive&&this._recalc&&this._emit("change",o,t,this)}_clearColor(t=!1){const{_root:e,options:o}=this;o.useAsButton||e.button.style.setProperty("--pcr-color","rgba(0, 0, 0, 0.15)"),e.button.classList.add("clear"),o.showAlways||this.hide(),this._lastColor=null,this._initializingActive||t||(this._emit("save",null),this._emit("clear"))}_parseLocalColor(t){const{values:e,type:o,a:n}=function(t){t=t.match(/^[a-zA-Z]+$/)?function(t){if("black"===t.toLowerCase())return"#000";const e=document.createElement("canvas").getContext("2d");return e.fillStyle=t,"#000"===e.fillStyle?null:e.fillStyle}(t):t;const e={cmyk:/^cmyk\D+([\d.]+)\D+([\d.]+)\D+([\d.]+)\D+([\d.]+)/i,rgba:/^rgba?\D+([\d.]+)(%?)\D+([\d.]+)(%?)\D+([\d.]+)(%?)\D*?(([\d.]+)(%?)|$)/i,hsla:/^hsla?\D+([\d.]+)\D+([\d.]+)\D+([\d.]+)\D*?(([\d.]+)(%?)|$)/i,hsva:/^hsva?\D+([\d.]+)\D+([\d.]+)\D+([\d.]+)\D*?(([\d.]+)(%?)|$)/i,hexa:/^#?(([\dA-Fa-f]{3,4})|([\dA-Fa-f]{6})|([\dA-Fa-f]{8}))$/i},o=t=>t.map((t=>/^(|\d+)\.\d+|\d+$/.test(t)?Number(t):void 0));let n;t:for(const i in e)if(n=e[i].exec(t))switch(i){case"cmyk":{const[,t,e,s,r]=o(n);if(t>100||e>100||s>100||r>100)break t;return{values:y(t,e,s,r),type:i}}case"rgba":{let[,t,,e,,s,,,r]=o(n);if(t="%"===n[2]?t/100*255:t,e="%"===n[4]?e/100*255:e,s="%"===n[6]?s/100*255:s,r="%"===n[9]?r/100:r,t>255||e>255||s>255||r<0||r>1)break t;return{values:[...b(t,e,s),r],a:r,type:i}}case"hexa":{let[,t]=n;4!==t.length&&3!==t.length||(t=t.split("").map((t=>t+t)).join(""));const e=t.substring(0,6);let o=t.substring(6);return o=o?parseInt(o,16)/255:void 0,{values:[..._(e),o],a:o,type:i}}case"hsla":{let[,t,e,s,,r]=o(n);if(r="%"===n[6]?r/100:r,t>360||e>100||s>100||r<0||r>1)break t;return{values:[...g(t,e,s),r],a:r,type:i}}case"hsva":{let[,t,e,s,,r]=o(n);if(r="%"===n[6]?r/100:r,t>360||e>100||s>100||r<0||r>1)break t;return{values:[t,e,s,r],a:r,type:i}}}return{values:null,type:null}}(t),{lockOpacity:i}=this.options,s=void 0!==n&&1!==n;return e&&3===e.length&&(e[3]=void 0),{values:!e||i&&s?null:e,type:o}}_t(t){return this.options.i18n[t]||E.I18N_DEFAULTS[t]}_emit(t,...e){this._eventListener[t].forEach((t=>t(...e,this)))}on(t,e){return this._eventListener[t].push(e),this}off(t,e){const o=this._eventListener[t]||[],n=o.indexOf(e);return~n&&o.splice(n,1),this}addSwatch(t){const{values:e}=this._parseLocalColor(t);if(e){const{_swatchColors:t,_root:o}=this,n=A(...e),s=r(`<button type="button" style="--pcr-color: ${n.toRGBA().toString(0)}" aria-label="${this._t("btn:swatch")}"/>`);return o.swatches.appendChild(s),t.push({el:s,color:n}),this._eventBindings.push(i(s,"click",(()=>{this.setHSVA(...n.toHSVA(),!0),this._emit("swatchselect",n),this._emit("change",n,"swatch",this)}))),!0}return!1}removeSwatch(t){const e=this._swatchColors[t];if(e){const{el:o}=e;return this._root.swatches.removeChild(o),this._swatchColors.splice(t,1),!0}return!1}applyColor(t=!1){const{preview:e,button:o}=this._root,n=this._color.toRGBA().toString(0);return e.lastColor.style.setProperty("--pcr-color",n),this.options.useAsButton||o.style.setProperty("--pcr-color",n),o.classList.remove("clear"),this._lastColor=this._color.clone(),this._initializingActive||t||this._emit("save",this._color),this}destroy(){cancelAnimationFrame(this._setupAnimationFrame),this._eventBindings.forEach((t=>s(...t))),Object.keys(this._components).forEach((t=>this._components[t].destroy()))}destroyAndRemove(){this.destroy();const{root:t,app:e}=this._root;t.parentElement&&t.parentElement.removeChild(t),e.parentElement.removeChild(e),Object.keys(this).forEach((t=>this[t]=null))}hide(){return!!this.isOpen()&&(this._root.app.classList.remove("visible"),this._emit("hide"),!0)}show(){return!this.options.disabled&&!this.isOpen()&&(this._root.app.classList.add("visible"),this._rePositioningPicker(),this._emit("show",this._color),this)}isOpen(){return this._root.app.classList.contains("visible")}setHSVA(t=360,e=0,o=0,n=1,i=!1){const s=this._recalc;if(this._recalc=!1,t<0||t>360||e<0||e>100||o<0||o>100||n<0||n>1)return!1;this._color=A(t,e,o,n);const{hue:r,opacity:a,palette:l}=this._components;return r.update(t/360),a.update(n),l.update(e/100,1-o/100),i||this.applyColor(),s&&this._updateOutput(),this._recalc=s,!0}setColor(t,e=!1){if(null===t)return this._clearColor(e),!0;const{values:o,type:n}=this._parseLocalColor(t);if(o){const t=n.toUpperCase(),{options:i}=this._root.interaction,s=i.find((e=>e.getAttribute("data-type")===t));if(s&&!s.hidden)for(const t of i)t.classList[t===s?"add":"remove"]("active");return!!this.setHSVA(...o,e)&&this.setColorRepresentation(t)}return!1}setColorRepresentation(t){return t=t.toUpperCase(),!!this._root.interaction.options.find((e=>e.getAttribute("data-type").startsWith(t)&&!e.click()))}getColorRepresentation(){return this._representation}getColor(){return this._color}getSelectedColor(){return this._lastColor}getRoot(){return this._root}disable(){return this.hide(),this.options.disabled=!0,this._root.button.classList.add("disabled"),this}enable(){return this.options.disabled=!1,this._root.button.classList.remove("disabled"),this}}return e.default})())(),pickr_min$1=_mergeNamespaces({__proto__:null,default:main.getDefaultExportFromCjs(pickr_minExports)},[pickr_minExports]);exports.pickr_min=pickr_min$1;
@@ -0,0 +1,2 @@
1
+ import './ts/shared/internal';
2
+ export { c_dependencies } from './ts/dependencies/internal';
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Copyright 2024
3
+ */
4
+
5
+ "use strict";var main=require("./chunk-main.js"),React=require("react"),main$1=require("./chunk-main4.js");require("react-dom");const Body=main.observer((()=>(React.useEffect((()=>{Dependencies.i().generate_dependencies_text_from_depengencies_json()}),[]),React.createElement("div",{className:"main"},React.createElement("h1",{className:"header"},main$1.Header.i().get()),React.createElement("div",{className:"dependencies",dangerouslySetInnerHTML:{__html:Dependencies.i().dependencies_text}})))));var index=Object.freeze({__proto__:null,Body:Body});class Dependencies{static i(){return this.i0||(this.i0=new this)}constructor(){this.dependencies_text="",this.generate_dependencies_text_from_depengencies_json=()=>err_async((()=>main.__awaiter(this,void 0,void 0,(function*(){const dependencies=yield fetch("dependencies.json"),dependencies_json_text=(yield dependencies.json()).reduce(((accumulator,dependency)=>err((()=>{const entry=Object.entries(dependency).reduce(((accumulator_2,[key,val])=>err((()=>`${accumulator_2}<div>${n(key)&&n(val)?`${key}: ${x.wrap_link_in_a(val)}`:""}</div>`),"ges_1293")),"");return`${accumulator}<br><hr><br><div>${entry}</div>`}),"ges_1292")),"");main.runInAction((()=>err((()=>{this.dependencies_text=dependencies_json_text.replace(/\n/gm,"<br>")}),"shr_1291")))}))),"ges_1290"),main.makeObservable(this,{dependencies_text:main.observable})}}exports.c_dependencies=index;