cos-design 3.8.0 → 4.0.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 (587) hide show
  1. package/CHANGELOG.md +74 -6
  2. package/README.md +51 -33
  3. package/dist/core-CszjZZo9.cjs +1 -0
  4. package/dist/core-On5bp2VI.js +178 -0
  5. package/dist/core.cjs +1 -0
  6. package/dist/core.d.ts +1 -0
  7. package/dist/core.js +3 -0
  8. package/dist/elements.cjs +1 -0
  9. package/dist/elements.d.ts +1 -0
  10. package/dist/elements.js +3844 -0
  11. package/dist/engine-DAYJbw0W.cjs +246 -0
  12. package/dist/engine-jGjtPKCP.js +12740 -0
  13. package/dist/index.cjs +1 -249
  14. package/dist/index.js +2052 -13767
  15. package/dist/src/components/audioVisualizer/core/engine.d.ts +2 -0
  16. package/dist/src/components/audioVisualizer/core/index.d.ts +2 -0
  17. package/dist/src/components/audioVisualizer/core/types.d.ts +11 -0
  18. package/dist/src/components/audioVisualizer/element/index.d.ts +9 -0
  19. package/dist/src/components/audioVisualizer/index.d.ts +3 -9
  20. package/dist/src/components/audioVisualizer/react/index.d.ts +4 -0
  21. package/dist/src/components/aurora/core/engine.d.ts +2 -0
  22. package/dist/src/components/aurora/core/index.d.ts +2 -0
  23. package/dist/src/components/aurora/core/types.d.ts +11 -0
  24. package/dist/src/components/aurora/element/index.d.ts +13 -0
  25. package/dist/src/components/aurora/index.d.ts +3 -11
  26. package/dist/src/components/aurora/react/index.d.ts +4 -0
  27. package/dist/src/components/auroraVeil/core/engine.d.ts +2 -0
  28. package/dist/src/components/auroraVeil/core/index.d.ts +2 -0
  29. package/dist/src/components/auroraVeil/core/types.d.ts +15 -0
  30. package/dist/src/components/auroraVeil/element/index.d.ts +13 -0
  31. package/dist/src/components/auroraVeil/index.d.ts +3 -19
  32. package/dist/src/components/auroraVeil/react/index.d.ts +4 -0
  33. package/dist/src/components/barcodeScan/core/engine.d.ts +2 -0
  34. package/dist/src/components/barcodeScan/core/index.d.ts +2 -0
  35. package/dist/src/components/barcodeScan/core/types.d.ts +12 -0
  36. package/dist/src/components/barcodeScan/element/index.d.ts +14 -0
  37. package/dist/src/components/barcodeScan/index.d.ts +3 -11
  38. package/dist/src/components/barcodeScan/react/index.d.ts +6 -0
  39. package/dist/src/components/blurText/core/engine.d.ts +2 -0
  40. package/dist/src/components/blurText/core/index.d.ts +2 -0
  41. package/dist/src/components/blurText/core/types.d.ts +15 -0
  42. package/dist/src/components/blurText/element/index.d.ts +16 -0
  43. package/dist/src/components/blurText/index.d.ts +3 -21
  44. package/dist/src/components/blurText/react/index.d.ts +4 -0
  45. package/dist/src/components/bubbleField/core/engine.d.ts +2 -0
  46. package/dist/src/components/bubbleField/core/index.d.ts +2 -0
  47. package/dist/src/components/bubbleField/core/types.d.ts +14 -0
  48. package/dist/src/components/bubbleField/element/index.d.ts +9 -0
  49. package/dist/src/components/bubbleField/index.d.ts +3 -5
  50. package/dist/src/components/bubbleField/react/index.d.ts +4 -0
  51. package/dist/src/components/burnAway/core/engine.d.ts +2 -0
  52. package/dist/src/components/burnAway/core/index.d.ts +2 -0
  53. package/dist/src/components/burnAway/core/types.d.ts +13 -0
  54. package/dist/src/components/burnAway/element/index.d.ts +10 -0
  55. package/dist/src/components/burnAway/index.d.ts +3 -13
  56. package/dist/src/components/burnAway/react/index.d.ts +4 -0
  57. package/dist/src/components/canvasClock/core/engine.d.ts +2 -0
  58. package/dist/src/components/canvasClock/core/index.d.ts +2 -0
  59. package/dist/src/components/canvasClock/core/types.d.ts +9 -0
  60. package/dist/src/components/canvasClock/element/index.d.ts +9 -0
  61. package/dist/src/components/canvasClock/index.d.ts +3 -9
  62. package/dist/src/components/canvasClock/react/index.d.ts +4 -0
  63. package/dist/src/components/charge/core/engine.d.ts +2 -0
  64. package/dist/src/components/charge/core/index.d.ts +2 -0
  65. package/dist/src/components/charge/core/types.d.ts +14 -0
  66. package/dist/src/components/charge/element/index.d.ts +9 -0
  67. package/dist/src/components/charge/index.d.ts +3 -19
  68. package/dist/src/components/charge/react/index.d.ts +4 -0
  69. package/dist/src/components/circularText/core/engine.d.ts +2 -0
  70. package/dist/src/components/circularText/core/index.d.ts +2 -0
  71. package/dist/src/components/circularText/core/types.d.ts +13 -0
  72. package/dist/src/components/circularText/element/index.d.ts +13 -0
  73. package/dist/src/components/circularText/index.d.ts +3 -17
  74. package/dist/src/components/circularText/react/index.d.ts +4 -0
  75. package/dist/src/components/clickSpark/core/engine.d.ts +2 -0
  76. package/dist/src/components/clickSpark/core/index.d.ts +2 -0
  77. package/dist/src/components/clickSpark/core/types.d.ts +13 -0
  78. package/dist/src/components/clickSpark/element/index.d.ts +13 -0
  79. package/dist/src/components/clickSpark/index.d.ts +3 -10
  80. package/dist/src/components/clickSpark/react/index.d.ts +6 -0
  81. package/dist/src/components/confetti/core/engine.d.ts +2 -0
  82. package/dist/src/components/confetti/core/index.d.ts +2 -0
  83. package/dist/src/components/confetti/core/types.d.ts +19 -0
  84. package/dist/src/components/confetti/element/index.d.ts +10 -0
  85. package/dist/src/components/confetti/index.d.ts +3 -25
  86. package/dist/src/components/confetti/react/index.d.ts +5 -0
  87. package/dist/src/components/countUp/core/engine.d.ts +2 -0
  88. package/dist/src/components/countUp/core/index.d.ts +2 -0
  89. package/dist/src/components/countUp/core/types.d.ts +14 -0
  90. package/dist/src/components/countUp/element/index.d.ts +9 -0
  91. package/dist/src/components/countUp/index.d.ts +3 -19
  92. package/dist/src/components/countUp/react/index.d.ts +4 -0
  93. package/dist/src/components/countdown/core/engine.d.ts +2 -0
  94. package/dist/src/components/countdown/core/index.d.ts +2 -0
  95. package/dist/src/components/countdown/core/types.d.ts +14 -0
  96. package/dist/src/components/countdown/element/index.d.ts +13 -0
  97. package/dist/src/components/countdown/index.d.ts +3 -26
  98. package/dist/src/components/countdown/react/index.d.ts +4 -0
  99. package/dist/src/components/cursorTrail/core/engine.d.ts +2 -0
  100. package/dist/src/components/cursorTrail/core/index.d.ts +2 -0
  101. package/dist/src/components/cursorTrail/core/types.d.ts +12 -0
  102. package/dist/src/components/cursorTrail/element/index.d.ts +9 -0
  103. package/dist/src/components/cursorTrail/index.d.ts +3 -13
  104. package/dist/src/components/cursorTrail/react/index.d.ts +4 -0
  105. package/dist/src/components/curvedLoop/core/engine.d.ts +2 -0
  106. package/dist/src/components/curvedLoop/core/index.d.ts +2 -0
  107. package/dist/src/components/curvedLoop/core/types.d.ts +14 -0
  108. package/dist/src/components/curvedLoop/element/index.d.ts +13 -0
  109. package/dist/src/components/curvedLoop/index.d.ts +3 -19
  110. package/dist/src/components/curvedLoop/react/index.d.ts +4 -0
  111. package/dist/src/components/cyberGrid/core/engine.d.ts +2 -0
  112. package/dist/src/components/cyberGrid/core/index.d.ts +2 -0
  113. package/dist/src/components/cyberGrid/core/types.d.ts +12 -0
  114. package/dist/src/components/cyberGrid/element/index.d.ts +9 -0
  115. package/dist/src/components/cyberGrid/index.d.ts +3 -13
  116. package/dist/src/components/cyberGrid/react/index.d.ts +4 -0
  117. package/dist/src/components/dandelionField/core/engine.d.ts +2 -0
  118. package/dist/src/components/dandelionField/core/index.d.ts +2 -0
  119. package/dist/src/components/dandelionField/core/types.d.ts +15 -0
  120. package/dist/src/components/dandelionField/element/index.d.ts +9 -0
  121. package/dist/src/components/dandelionField/index.d.ts +3 -5
  122. package/dist/src/components/dandelionField/react/index.d.ts +4 -0
  123. package/dist/src/components/diceRoll/core/engine.d.ts +2 -0
  124. package/dist/src/components/diceRoll/core/index.d.ts +2 -0
  125. package/dist/src/components/diceRoll/core/types.d.ts +12 -0
  126. package/dist/src/components/diceRoll/element/index.d.ts +13 -0
  127. package/dist/src/components/diceRoll/index.d.ts +3 -15
  128. package/dist/src/components/diceRoll/react/index.d.ts +4 -0
  129. package/dist/src/components/dnaHelix/core/engine.d.ts +2 -0
  130. package/dist/src/components/dnaHelix/core/index.d.ts +2 -0
  131. package/dist/src/components/dnaHelix/core/types.d.ts +11 -0
  132. package/dist/src/components/dnaHelix/element/index.d.ts +9 -0
  133. package/dist/src/components/dnaHelix/index.d.ts +3 -9
  134. package/dist/src/components/dnaHelix/react/index.d.ts +4 -0
  135. package/dist/src/components/doublePendulum/core/engine.d.ts +2 -0
  136. package/dist/src/components/doublePendulum/core/index.d.ts +2 -0
  137. package/dist/src/components/doublePendulum/core/types.d.ts +12 -0
  138. package/dist/src/components/doublePendulum/element/index.d.ts +9 -0
  139. package/dist/src/components/doublePendulum/index.d.ts +3 -10
  140. package/dist/src/components/doublePendulum/react/index.d.ts +4 -0
  141. package/dist/src/components/electricArc/core/engine.d.ts +2 -0
  142. package/dist/src/components/electricArc/core/index.d.ts +2 -0
  143. package/dist/src/components/electricArc/core/types.d.ts +10 -0
  144. package/dist/src/components/electricArc/element/index.d.ts +9 -0
  145. package/dist/src/components/electricArc/index.d.ts +3 -8
  146. package/dist/src/components/electricArc/react/index.d.ts +4 -0
  147. package/dist/src/components/fireworks/core/engine.d.ts +2 -0
  148. package/dist/src/components/fireworks/core/index.d.ts +2 -0
  149. package/dist/src/components/fireworks/core/types.d.ts +23 -0
  150. package/dist/src/components/fireworks/element/index.d.ts +10 -0
  151. package/dist/src/components/fireworks/index.d.ts +3 -23
  152. package/dist/src/components/fireworks/react/index.d.ts +4 -0
  153. package/dist/src/components/flipCard/core/engine.d.ts +2 -0
  154. package/dist/src/components/flipCard/core/index.d.ts +2 -0
  155. package/dist/src/components/flipCard/core/types.d.ts +22 -0
  156. package/dist/src/components/flipCard/element/index.d.ts +11 -0
  157. package/dist/src/components/flipCard/index.d.ts +3 -29
  158. package/dist/src/components/flipCard/react/index.d.ts +5 -0
  159. package/dist/src/components/flipCounter/core/engine.d.ts +2 -0
  160. package/dist/src/components/flipCounter/core/index.d.ts +2 -0
  161. package/dist/src/components/flipCounter/core/types.d.ts +15 -0
  162. package/dist/src/components/flipCounter/element/index.d.ts +9 -0
  163. package/dist/src/components/flipCounter/index.d.ts +3 -13
  164. package/dist/src/components/flipCounter/react/index.d.ts +4 -0
  165. package/dist/src/components/fuzzyText/core/engine.d.ts +2 -0
  166. package/dist/src/components/fuzzyText/core/index.d.ts +2 -0
  167. package/dist/src/components/fuzzyText/core/types.d.ts +15 -0
  168. package/dist/src/components/fuzzyText/element/index.d.ts +9 -0
  169. package/dist/src/components/fuzzyText/index.d.ts +3 -21
  170. package/dist/src/components/fuzzyText/react/index.d.ts +4 -0
  171. package/dist/src/components/gameOfLife/core/engine.d.ts +2 -0
  172. package/dist/src/components/gameOfLife/core/index.d.ts +2 -0
  173. package/dist/src/components/gameOfLife/core/types.d.ts +21 -0
  174. package/dist/src/components/gameOfLife/element/index.d.ts +13 -0
  175. package/dist/src/components/gameOfLife/index.d.ts +3 -25
  176. package/dist/src/components/gameOfLife/react/index.d.ts +4 -0
  177. package/dist/src/components/glitchText/core/engine.d.ts +2 -0
  178. package/dist/src/components/glitchText/core/index.d.ts +2 -0
  179. package/dist/src/components/glitchText/core/types.d.ts +12 -0
  180. package/dist/src/components/glitchText/element/index.d.ts +9 -0
  181. package/dist/src/components/glitchText/index.d.ts +3 -15
  182. package/dist/src/components/glitchText/react/index.d.ts +4 -0
  183. package/dist/src/components/gradientFlow/core/engine.d.ts +2 -0
  184. package/dist/src/components/gradientFlow/core/index.d.ts +2 -0
  185. package/dist/src/components/gradientFlow/core/types.d.ts +10 -0
  186. package/dist/src/components/gradientFlow/element/index.d.ts +13 -0
  187. package/dist/src/components/gradientFlow/index.d.ts +3 -11
  188. package/dist/src/components/gradientFlow/react/index.d.ts +4 -0
  189. package/dist/src/components/gravityBalls/core/engine.d.ts +2 -0
  190. package/dist/src/components/gravityBalls/core/index.d.ts +2 -0
  191. package/dist/src/components/gravityBalls/core/types.d.ts +10 -0
  192. package/dist/src/components/gravityBalls/element/index.d.ts +9 -0
  193. package/dist/src/components/gravityBalls/index.d.ts +3 -8
  194. package/dist/src/components/gravityBalls/react/index.d.ts +4 -0
  195. package/dist/src/components/holographicCard/core/engine.d.ts +2 -0
  196. package/dist/src/components/holographicCard/core/index.d.ts +2 -0
  197. package/dist/src/components/holographicCard/core/types.d.ts +10 -0
  198. package/dist/src/components/holographicCard/element/index.d.ts +9 -0
  199. package/dist/src/components/holographicCard/index.d.ts +3 -8
  200. package/dist/src/components/holographicCard/react/index.d.ts +4 -0
  201. package/dist/src/components/index.d.ts +7 -7
  202. package/dist/src/components/inkBloom/core/engine.d.ts +6 -0
  203. package/dist/src/components/inkBloom/core/index.d.ts +2 -0
  204. package/dist/src/components/inkBloom/core/types.d.ts +14 -0
  205. package/dist/src/components/inkBloom/element/index.d.ts +9 -0
  206. package/dist/src/components/inkBloom/index.d.ts +3 -21
  207. package/dist/src/components/inkBloom/react/index.d.ts +4 -0
  208. package/dist/src/components/lavaBubble/core/engine.d.ts +2 -0
  209. package/dist/src/components/lavaBubble/core/index.d.ts +2 -0
  210. package/dist/src/components/lavaBubble/core/types.d.ts +16 -0
  211. package/dist/src/components/lavaBubble/element/index.d.ts +9 -0
  212. package/dist/src/components/lavaBubble/index.d.ts +3 -24
  213. package/dist/src/components/lavaBubble/react/index.d.ts +4 -0
  214. package/dist/src/components/liquidGlass/core/engine.d.ts +2 -0
  215. package/dist/src/components/liquidGlass/core/index.d.ts +2 -0
  216. package/dist/src/components/liquidGlass/core/types.d.ts +12 -0
  217. package/dist/src/components/liquidGlass/element/index.d.ts +14 -0
  218. package/dist/src/components/liquidGlass/index.d.ts +3 -10
  219. package/dist/src/components/liquidGlass/react/index.d.ts +6 -0
  220. package/dist/src/components/liquidProgress/core/engine.d.ts +2 -0
  221. package/dist/src/components/liquidProgress/core/index.d.ts +2 -0
  222. package/dist/src/components/liquidProgress/core/types.d.ts +11 -0
  223. package/dist/src/components/liquidProgress/element/index.d.ts +9 -0
  224. package/dist/src/components/liquidProgress/index.d.ts +3 -9
  225. package/dist/src/components/liquidProgress/react/index.d.ts +4 -0
  226. package/dist/src/components/lorenzAttractor/core/engine.d.ts +2 -0
  227. package/dist/src/components/lorenzAttractor/core/index.d.ts +2 -0
  228. package/dist/src/components/lorenzAttractor/core/types.d.ts +12 -0
  229. package/dist/src/components/lorenzAttractor/element/index.d.ts +9 -0
  230. package/dist/src/components/lorenzAttractor/index.d.ts +3 -10
  231. package/dist/src/components/lorenzAttractor/react/index.d.ts +4 -0
  232. package/dist/src/components/magneticButton/core/engine.d.ts +2 -0
  233. package/dist/src/components/magneticButton/core/index.d.ts +2 -0
  234. package/dist/src/components/magneticButton/core/types.d.ts +12 -0
  235. package/dist/src/components/magneticButton/element/index.d.ts +14 -0
  236. package/dist/src/components/magneticButton/index.d.ts +3 -10
  237. package/dist/src/components/magneticButton/react/index.d.ts +6 -0
  238. package/dist/src/components/matrixRain/core/engine.d.ts +2 -0
  239. package/dist/src/components/matrixRain/core/index.d.ts +2 -0
  240. package/dist/src/components/matrixRain/core/types.d.ts +15 -0
  241. package/dist/src/components/matrixRain/element/index.d.ts +9 -0
  242. package/dist/src/components/matrixRain/index.d.ts +3 -19
  243. package/dist/src/components/matrixRain/react/index.d.ts +4 -0
  244. package/dist/src/components/mazeGenerator/core/engine.d.ts +2 -0
  245. package/dist/src/components/mazeGenerator/core/index.d.ts +2 -0
  246. package/dist/src/components/mazeGenerator/core/types.d.ts +11 -0
  247. package/dist/src/components/mazeGenerator/element/index.d.ts +9 -0
  248. package/dist/src/components/mazeGenerator/index.d.ts +3 -9
  249. package/dist/src/components/mazeGenerator/react/index.d.ts +4 -0
  250. package/dist/src/components/metaballPool/core/engine.d.ts +2 -0
  251. package/dist/src/components/metaballPool/core/index.d.ts +2 -0
  252. package/dist/src/components/metaballPool/core/types.d.ts +11 -0
  253. package/dist/src/components/metaballPool/element/index.d.ts +9 -0
  254. package/dist/src/components/metaballPool/index.d.ts +3 -9
  255. package/dist/src/components/metaballPool/react/index.d.ts +4 -0
  256. package/dist/src/components/meteorRain/core/engine.d.ts +2 -0
  257. package/dist/src/components/meteorRain/core/index.d.ts +2 -0
  258. package/dist/src/components/meteorRain/core/types.d.ts +11 -0
  259. package/dist/src/components/meteorRain/element/index.d.ts +9 -0
  260. package/dist/src/components/meteorRain/index.d.ts +3 -11
  261. package/dist/src/components/meteorRain/react/index.d.ts +4 -0
  262. package/dist/src/components/neonText/core/engine.d.ts +2 -0
  263. package/dist/src/components/neonText/core/index.d.ts +2 -0
  264. package/dist/src/components/neonText/core/types.d.ts +11 -0
  265. package/dist/src/components/neonText/element/index.d.ts +9 -0
  266. package/dist/src/components/neonText/index.d.ts +3 -13
  267. package/dist/src/components/neonText/react/index.d.ts +4 -0
  268. package/dist/src/components/networkGraph/core/engine.d.ts +2 -0
  269. package/dist/src/components/networkGraph/core/index.d.ts +2 -0
  270. package/dist/src/components/networkGraph/core/types.d.ts +23 -0
  271. package/dist/src/components/networkGraph/element/index.d.ts +16 -0
  272. package/dist/src/components/networkGraph/index.d.ts +3 -26
  273. package/dist/src/components/networkGraph/react/index.d.ts +4 -0
  274. package/dist/src/components/newtonCradle/core/engine.d.ts +2 -0
  275. package/dist/src/components/newtonCradle/core/index.d.ts +2 -0
  276. package/dist/src/components/newtonCradle/core/types.d.ts +11 -0
  277. package/dist/src/components/newtonCradle/element/index.d.ts +9 -0
  278. package/dist/src/components/newtonCradle/index.d.ts +3 -9
  279. package/dist/src/components/newtonCradle/react/index.d.ts +4 -0
  280. package/dist/src/components/nineGrid/core/engine.d.ts +2 -0
  281. package/dist/src/components/nineGrid/core/index.d.ts +2 -0
  282. package/dist/src/components/nineGrid/core/types.d.ts +31 -0
  283. package/dist/src/components/nineGrid/element/index.d.ts +15 -0
  284. package/dist/src/components/nineGrid/index.d.ts +3 -29
  285. package/dist/src/components/nineGrid/react/index.d.ts +5 -0
  286. package/dist/src/components/orbitalChart/core/engine.d.ts +2 -0
  287. package/dist/src/components/orbitalChart/core/index.d.ts +2 -0
  288. package/dist/src/components/orbitalChart/core/types.d.ts +14 -0
  289. package/dist/src/components/orbitalChart/element/index.d.ts +13 -0
  290. package/dist/src/components/orbitalChart/index.d.ts +3 -12
  291. package/dist/src/components/orbitalChart/react/index.d.ts +4 -0
  292. package/dist/src/components/particleNetwork/core/engine.d.ts +2 -0
  293. package/dist/src/components/particleNetwork/core/index.d.ts +2 -0
  294. package/dist/src/components/particleNetwork/core/types.d.ts +15 -0
  295. package/dist/src/components/particleNetwork/element/index.d.ts +9 -0
  296. package/dist/src/components/particleNetwork/index.d.ts +3 -19
  297. package/dist/src/components/particleNetwork/react/index.d.ts +4 -0
  298. package/dist/src/components/photoAlbum/core/engine.d.ts +2 -0
  299. package/dist/src/components/photoAlbum/core/index.d.ts +2 -0
  300. package/dist/src/components/photoAlbum/core/types.d.ts +7 -0
  301. package/dist/src/components/photoAlbum/element/index.d.ts +16 -0
  302. package/dist/src/components/photoAlbum/index.d.ts +3 -5
  303. package/dist/src/components/photoAlbum/react/index.d.ts +3 -0
  304. package/dist/src/components/photoAlbum/types.d.ts +3 -3
  305. package/dist/src/components/photoCarousel/core/engine.d.ts +2 -0
  306. package/dist/src/components/photoCarousel/core/index.d.ts +2 -0
  307. package/dist/src/components/photoCarousel/core/types.d.ts +7 -0
  308. package/dist/src/components/photoCarousel/element/index.d.ts +13 -0
  309. package/dist/src/components/photoCarousel/index.d.ts +3 -9
  310. package/dist/src/components/photoCarousel/react/index.d.ts +3 -0
  311. package/dist/src/components/photoCarousel/types.d.ts +2 -2
  312. package/dist/src/components/photoClothesline/core/engine.d.ts +2 -0
  313. package/dist/src/components/photoClothesline/core/index.d.ts +2 -0
  314. package/dist/src/components/photoClothesline/core/types.d.ts +7 -0
  315. package/dist/src/components/photoClothesline/element/index.d.ts +13 -0
  316. package/dist/src/components/photoClothesline/index.d.ts +3 -5
  317. package/dist/src/components/photoClothesline/layout.d.ts +2 -2
  318. package/dist/src/components/photoClothesline/react/index.d.ts +3 -0
  319. package/dist/src/components/photoClothesline/types.d.ts +3 -3
  320. package/dist/src/components/photoFilmstrip/core/engine.d.ts +2 -0
  321. package/dist/src/components/photoFilmstrip/core/index.d.ts +2 -0
  322. package/dist/src/components/photoFilmstrip/core/types.d.ts +7 -0
  323. package/dist/src/components/photoFilmstrip/element/index.d.ts +13 -0
  324. package/dist/src/components/photoFilmstrip/index.d.ts +3 -5
  325. package/dist/src/components/photoFilmstrip/react/index.d.ts +3 -0
  326. package/dist/src/components/photoFilmstrip/types.d.ts +2 -2
  327. package/dist/src/components/photoFridge/core/engine.d.ts +2 -0
  328. package/dist/src/components/photoFridge/core/index.d.ts +2 -0
  329. package/dist/src/components/photoFridge/core/types.d.ts +7 -0
  330. package/dist/src/components/photoFridge/element/index.d.ts +13 -0
  331. package/dist/src/components/photoFridge/index.d.ts +3 -5
  332. package/dist/src/components/photoFridge/react/index.d.ts +3 -0
  333. package/dist/src/components/photoFridge/types.d.ts +2 -2
  334. package/dist/src/components/photoLantern/core/engine.d.ts +2 -0
  335. package/dist/src/components/photoLantern/core/index.d.ts +2 -0
  336. package/dist/src/components/photoLantern/core/types.d.ts +7 -0
  337. package/dist/src/components/photoLantern/element/index.d.ts +13 -0
  338. package/dist/src/components/photoLantern/index.d.ts +3 -5
  339. package/dist/src/components/photoLantern/react/index.d.ts +3 -0
  340. package/dist/src/components/photoLantern/types.d.ts +3 -3
  341. package/dist/src/components/photoLightbox/core/engine.d.ts +2 -0
  342. package/dist/src/components/photoLightbox/core/index.d.ts +2 -0
  343. package/dist/src/components/photoLightbox/core/types.d.ts +7 -0
  344. package/dist/src/components/photoLightbox/element/index.d.ts +13 -0
  345. package/dist/src/components/photoLightbox/index.d.ts +3 -5
  346. package/dist/src/components/photoLightbox/react/index.d.ts +3 -0
  347. package/dist/src/components/photoLightbox/types.d.ts +2 -2
  348. package/dist/src/components/photoPolaroid/core/engine.d.ts +2 -0
  349. package/dist/src/components/photoPolaroid/core/index.d.ts +2 -0
  350. package/dist/src/components/photoPolaroid/core/types.d.ts +7 -0
  351. package/dist/src/components/photoPolaroid/element/index.d.ts +13 -0
  352. package/dist/src/components/photoPolaroid/index.d.ts +3 -5
  353. package/dist/src/components/photoPolaroid/react/index.d.ts +3 -0
  354. package/dist/src/components/photoPolaroid/types.d.ts +2 -2
  355. package/dist/src/components/photoPostcard/core/engine.d.ts +6 -0
  356. package/dist/src/components/photoPostcard/core/index.d.ts +2 -0
  357. package/dist/src/components/photoPostcard/core/types.d.ts +7 -0
  358. package/dist/src/components/photoPostcard/element/index.d.ts +13 -0
  359. package/dist/src/components/photoPostcard/index.d.ts +3 -8
  360. package/dist/src/components/photoPostcard/react/index.d.ts +10 -0
  361. package/dist/src/components/photoPostcard/types.d.ts +2 -2
  362. package/dist/src/components/photoPrism/core/engine.d.ts +2 -0
  363. package/dist/src/components/photoPrism/core/index.d.ts +2 -0
  364. package/dist/src/components/photoPrism/core/types.d.ts +7 -0
  365. package/dist/src/components/photoPrism/element/index.d.ts +13 -0
  366. package/dist/src/components/photoPrism/index.d.ts +3 -9
  367. package/dist/src/components/photoPrism/react/index.d.ts +3 -0
  368. package/dist/src/components/photoPrism/types.d.ts +2 -2
  369. package/dist/src/components/photoScroll/core/engine.d.ts +2 -0
  370. package/dist/src/components/photoScroll/core/index.d.ts +2 -0
  371. package/dist/src/components/photoScroll/core/types.d.ts +7 -0
  372. package/dist/src/components/photoScroll/element/index.d.ts +13 -0
  373. package/dist/src/components/photoScroll/index.d.ts +3 -9
  374. package/dist/src/components/photoScroll/react/index.d.ts +3 -0
  375. package/dist/src/components/photoScroll/types.d.ts +2 -2
  376. package/dist/src/components/photoTunnel/core/engine.d.ts +2 -0
  377. package/dist/src/components/photoTunnel/core/index.d.ts +2 -0
  378. package/dist/src/components/photoTunnel/core/types.d.ts +7 -0
  379. package/dist/src/components/photoTunnel/element/index.d.ts +13 -0
  380. package/dist/src/components/photoTunnel/index.d.ts +3 -9
  381. package/dist/src/components/photoTunnel/react/index.d.ts +3 -0
  382. package/dist/src/components/photoTunnel/types.d.ts +2 -2
  383. package/dist/src/components/photoViewMaster/core/engine.d.ts +2 -0
  384. package/dist/src/components/photoViewMaster/core/index.d.ts +2 -0
  385. package/dist/src/components/photoViewMaster/core/types.d.ts +7 -0
  386. package/dist/src/components/photoViewMaster/element/index.d.ts +13 -0
  387. package/dist/src/components/photoViewMaster/index.d.ts +3 -9
  388. package/dist/src/components/photoViewMaster/react/index.d.ts +3 -0
  389. package/dist/src/components/photoViewMaster/types.d.ts +2 -2
  390. package/dist/src/components/plasmaBall/core/engine.d.ts +2 -0
  391. package/dist/src/components/plasmaBall/core/index.d.ts +2 -0
  392. package/dist/src/components/plasmaBall/core/types.d.ts +11 -0
  393. package/dist/src/components/plasmaBall/element/index.d.ts +9 -0
  394. package/dist/src/components/plasmaBall/index.d.ts +3 -9
  395. package/dist/src/components/plasmaBall/react/index.d.ts +4 -0
  396. package/dist/src/components/progressChest/core/engine.d.ts +2 -0
  397. package/dist/src/components/progressChest/core/index.d.ts +2 -0
  398. package/dist/src/components/progressChest/core/types.d.ts +14 -0
  399. package/dist/src/components/progressChest/element/index.d.ts +9 -0
  400. package/dist/src/components/progressChest/index.d.ts +3 -13
  401. package/dist/src/components/progressChest/react/index.d.ts +4 -0
  402. package/dist/src/components/radarScan/core/engine.d.ts +2 -0
  403. package/dist/src/components/radarScan/core/index.d.ts +2 -0
  404. package/dist/src/components/radarScan/core/types.d.ts +10 -0
  405. package/dist/src/components/radarScan/element/index.d.ts +9 -0
  406. package/dist/src/components/radarScan/index.d.ts +3 -9
  407. package/dist/src/components/radarScan/react/index.d.ts +4 -0
  408. package/dist/src/components/redPacketRain/core/engine.d.ts +2 -0
  409. package/dist/src/components/redPacketRain/core/index.d.ts +2 -0
  410. package/dist/src/components/redPacketRain/core/types.d.ts +25 -0
  411. package/dist/src/components/redPacketRain/element/index.d.ts +12 -0
  412. package/dist/src/components/redPacketRain/index.d.ts +3 -33
  413. package/dist/src/components/redPacketRain/react/index.d.ts +5 -0
  414. package/dist/src/components/returnCity/core/engine.d.ts +2 -0
  415. package/dist/src/components/returnCity/core/index.d.ts +2 -0
  416. package/dist/src/components/returnCity/core/types.d.ts +10 -0
  417. package/dist/src/components/returnCity/element/index.d.ts +9 -0
  418. package/dist/src/components/returnCity/index.d.ts +3 -11
  419. package/dist/src/components/returnCity/react/index.d.ts +4 -0
  420. package/dist/src/components/rippleWater/core/engine.d.ts +2 -0
  421. package/dist/src/components/rippleWater/core/index.d.ts +2 -0
  422. package/dist/src/components/rippleWater/core/types.d.ts +24 -0
  423. package/dist/src/components/rippleWater/element/index.d.ts +9 -0
  424. package/dist/src/components/rippleWater/index.d.ts +3 -37
  425. package/dist/src/components/rippleWater/react/index.d.ts +4 -0
  426. package/dist/src/components/ropeChain/core/engine.d.ts +2 -0
  427. package/dist/src/components/ropeChain/core/index.d.ts +2 -0
  428. package/dist/src/components/ropeChain/core/types.d.ts +12 -0
  429. package/dist/src/components/ropeChain/element/index.d.ts +9 -0
  430. package/dist/src/components/ropeChain/index.d.ts +3 -10
  431. package/dist/src/components/ropeChain/react/index.d.ts +4 -0
  432. package/dist/src/components/rotatingText/core/engine.d.ts +2 -0
  433. package/dist/src/components/rotatingText/core/index.d.ts +2 -0
  434. package/dist/src/components/rotatingText/core/types.d.ts +14 -0
  435. package/dist/src/components/rotatingText/element/index.d.ts +13 -0
  436. package/dist/src/components/rotatingText/index.d.ts +3 -19
  437. package/dist/src/components/rotatingText/react/index.d.ts +4 -0
  438. package/dist/src/components/sandFall/core/engine.d.ts +2 -0
  439. package/dist/src/components/sandFall/core/index.d.ts +2 -0
  440. package/dist/src/components/sandFall/core/types.d.ts +14 -0
  441. package/dist/src/components/sandFall/element/index.d.ts +13 -0
  442. package/dist/src/components/sandFall/index.d.ts +3 -17
  443. package/dist/src/components/sandFall/react/index.d.ts +4 -0
  444. package/dist/src/components/scrambleText/core/engine.d.ts +2 -0
  445. package/dist/src/components/scrambleText/core/index.d.ts +2 -0
  446. package/dist/src/components/scrambleText/core/types.d.ts +10 -0
  447. package/dist/src/components/scrambleText/element/index.d.ts +9 -0
  448. package/dist/src/components/scrambleText/index.d.ts +3 -11
  449. package/dist/src/components/scrambleText/react/index.d.ts +4 -0
  450. package/dist/src/components/scratchCard/core/engine.d.ts +2 -0
  451. package/dist/src/components/scratchCard/core/index.d.ts +2 -0
  452. package/dist/src/components/scratchCard/core/types.d.ts +25 -0
  453. package/dist/src/components/scratchCard/element/index.d.ts +11 -0
  454. package/dist/src/components/scratchCard/index.d.ts +3 -23
  455. package/dist/src/components/scratchCard/react/index.d.ts +5 -0
  456. package/dist/src/components/shinyText/core/engine.d.ts +2 -0
  457. package/dist/src/components/shinyText/core/index.d.ts +2 -0
  458. package/dist/src/components/shinyText/core/types.d.ts +13 -0
  459. package/dist/src/components/shinyText/element/index.d.ts +9 -0
  460. package/dist/src/components/shinyText/index.d.ts +3 -17
  461. package/dist/src/components/shinyText/react/index.d.ts +4 -0
  462. package/dist/src/components/slotMachine/core/engine.d.ts +2 -0
  463. package/dist/src/components/slotMachine/core/index.d.ts +2 -0
  464. package/dist/src/components/slotMachine/core/types.d.ts +31 -0
  465. package/dist/src/components/slotMachine/element/index.d.ts +18 -0
  466. package/dist/src/components/slotMachine/index.d.ts +3 -29
  467. package/dist/src/components/slotMachine/react/index.d.ts +5 -0
  468. package/dist/src/components/smokeFog/core/engine.d.ts +2 -0
  469. package/dist/src/components/smokeFog/core/index.d.ts +2 -0
  470. package/dist/src/components/smokeFog/core/types.d.ts +18 -0
  471. package/dist/src/components/smokeFog/element/index.d.ts +9 -0
  472. package/dist/src/components/smokeFog/index.d.ts +3 -25
  473. package/dist/src/components/smokeFog/react/index.d.ts +4 -0
  474. package/dist/src/components/snowfall/core/engine.d.ts +2 -0
  475. package/dist/src/components/snowfall/core/index.d.ts +2 -0
  476. package/dist/src/components/snowfall/core/types.d.ts +12 -0
  477. package/dist/src/components/snowfall/element/index.d.ts +13 -0
  478. package/dist/src/components/snowfall/index.d.ts +3 -13
  479. package/dist/src/components/snowfall/react/index.d.ts +4 -0
  480. package/dist/src/components/soapBubbles/core/engine.d.ts +2 -0
  481. package/dist/src/components/soapBubbles/core/index.d.ts +2 -0
  482. package/dist/src/components/soapBubbles/core/types.d.ts +14 -0
  483. package/dist/src/components/soapBubbles/element/index.d.ts +9 -0
  484. package/dist/src/components/soapBubbles/index.d.ts +3 -20
  485. package/dist/src/components/soapBubbles/react/index.d.ts +4 -0
  486. package/dist/src/components/solarSystem/core/engine.d.ts +2 -0
  487. package/dist/src/components/solarSystem/core/index.d.ts +2 -0
  488. package/dist/src/components/solarSystem/core/types.d.ts +11 -0
  489. package/dist/src/components/solarSystem/element/index.d.ts +9 -0
  490. package/dist/src/components/solarSystem/index.d.ts +3 -9
  491. package/dist/src/components/solarSystem/react/index.d.ts +4 -0
  492. package/dist/src/components/speedometer/core/engine.d.ts +2 -0
  493. package/dist/src/components/speedometer/core/index.d.ts +2 -0
  494. package/dist/src/components/speedometer/core/types.d.ts +11 -0
  495. package/dist/src/components/speedometer/element/index.d.ts +9 -0
  496. package/dist/src/components/speedometer/index.d.ts +3 -9
  497. package/dist/src/components/speedometer/react/index.d.ts +4 -0
  498. package/dist/src/components/splitReveal/core/engine.d.ts +2 -0
  499. package/dist/src/components/splitReveal/core/index.d.ts +2 -0
  500. package/dist/src/components/splitReveal/core/types.d.ts +10 -0
  501. package/dist/src/components/splitReveal/element/index.d.ts +9 -0
  502. package/dist/src/components/splitReveal/index.d.ts +3 -11
  503. package/dist/src/components/splitReveal/react/index.d.ts +4 -0
  504. package/dist/src/components/splitText/core/engine.d.ts +2 -0
  505. package/dist/src/components/splitText/core/index.d.ts +2 -0
  506. package/dist/src/components/splitText/core/types.d.ts +15 -0
  507. package/dist/src/components/splitText/element/index.d.ts +13 -0
  508. package/dist/src/components/splitText/index.d.ts +3 -21
  509. package/dist/src/components/splitText/react/index.d.ts +4 -0
  510. package/dist/src/components/spotlight/core/engine.d.ts +2 -0
  511. package/dist/src/components/spotlight/core/index.d.ts +2 -0
  512. package/dist/src/components/spotlight/core/types.d.ts +13 -0
  513. package/dist/src/components/spotlight/element/index.d.ts +14 -0
  514. package/dist/src/components/spotlight/index.d.ts +3 -10
  515. package/dist/src/components/spotlight/react/index.d.ts +6 -0
  516. package/dist/src/components/springMass/core/engine.d.ts +2 -0
  517. package/dist/src/components/springMass/core/index.d.ts +2 -0
  518. package/dist/src/components/springMass/core/types.d.ts +21 -0
  519. package/dist/src/components/springMass/element/index.d.ts +9 -0
  520. package/dist/src/components/springMass/index.d.ts +3 -19
  521. package/dist/src/components/springMass/react/index.d.ts +4 -0
  522. package/dist/src/components/starfield/core/engine.d.ts +2 -0
  523. package/dist/src/components/starfield/core/index.d.ts +2 -0
  524. package/dist/src/components/starfield/core/types.d.ts +12 -0
  525. package/dist/src/components/starfield/element/index.d.ts +9 -0
  526. package/dist/src/components/starfield/index.d.ts +3 -13
  527. package/dist/src/components/starfield/react/index.d.ts +4 -0
  528. package/dist/src/components/textMorph/core/engine.d.ts +2 -0
  529. package/dist/src/components/textMorph/core/index.d.ts +2 -0
  530. package/dist/src/components/textMorph/core/types.d.ts +12 -0
  531. package/dist/src/components/textMorph/element/index.d.ts +13 -0
  532. package/dist/src/components/textMorph/index.d.ts +3 -15
  533. package/dist/src/components/textMorph/react/index.d.ts +4 -0
  534. package/dist/src/components/timelinePulse/core/engine.d.ts +2 -0
  535. package/dist/src/components/timelinePulse/core/index.d.ts +2 -0
  536. package/dist/src/components/timelinePulse/core/types.d.ts +10 -0
  537. package/dist/src/components/timelinePulse/element/index.d.ts +13 -0
  538. package/dist/src/components/timelinePulse/index.d.ts +3 -8
  539. package/dist/src/components/timelinePulse/react/index.d.ts +4 -0
  540. package/dist/src/components/trueFocus/core/engine.d.ts +2 -0
  541. package/dist/src/components/trueFocus/core/index.d.ts +2 -0
  542. package/dist/src/components/trueFocus/core/types.d.ts +17 -0
  543. package/dist/src/components/trueFocus/element/index.d.ts +9 -0
  544. package/dist/src/components/trueFocus/index.d.ts +3 -25
  545. package/dist/src/components/trueFocus/react/index.d.ts +4 -0
  546. package/dist/src/components/turntable/core/engine.d.ts +2 -0
  547. package/dist/src/components/turntable/core/index.d.ts +2 -0
  548. package/dist/src/components/turntable/core/types.d.ts +35 -0
  549. package/dist/src/components/turntable/element/index.d.ts +15 -0
  550. package/dist/src/components/turntable/index.d.ts +3 -33
  551. package/dist/src/components/turntable/react/index.d.ts +5 -0
  552. package/dist/src/components/typewriter/core/engine.d.ts +2 -0
  553. package/dist/src/components/typewriter/core/index.d.ts +2 -0
  554. package/dist/src/components/typewriter/core/types.d.ts +11 -0
  555. package/dist/src/components/typewriter/element/index.d.ts +13 -0
  556. package/dist/src/components/typewriter/index.d.ts +3 -13
  557. package/dist/src/components/typewriter/react/index.d.ts +4 -0
  558. package/dist/src/components/waveButton/core/engine.d.ts +2 -0
  559. package/dist/src/components/waveButton/core/index.d.ts +2 -0
  560. package/dist/src/components/waveButton/core/types.d.ts +13 -0
  561. package/dist/src/components/waveButton/element/index.d.ts +14 -0
  562. package/dist/src/components/waveButton/index.d.ts +3 -9
  563. package/dist/src/components/waveButton/react/index.d.ts +4 -0
  564. package/dist/src/components/waveText/core/engine.d.ts +2 -0
  565. package/dist/src/components/waveText/core/index.d.ts +2 -0
  566. package/dist/src/components/waveText/core/types.d.ts +11 -0
  567. package/dist/src/components/waveText/element/index.d.ts +9 -0
  568. package/dist/src/components/waveText/index.d.ts +3 -13
  569. package/dist/src/components/waveText/react/index.d.ts +4 -0
  570. package/dist/src/components/weatherBackground/core/engine.d.ts +2 -0
  571. package/dist/src/components/weatherBackground/core/index.d.ts +14 -0
  572. package/dist/src/components/weatherBackground/core/types.d.ts +7 -0
  573. package/dist/src/components/weatherBackground/element/index.d.ts +13 -0
  574. package/dist/src/components/weatherBackground/index.d.ts +5 -5
  575. package/dist/src/components/weatherBackground/live-weather-core.d.ts +79 -0
  576. package/dist/src/components/weatherBackground/live-weather.d.ts +3 -69
  577. package/dist/src/components/weatherBackground/react/index.d.ts +3 -0
  578. package/dist/src/core.d.ts +91 -0
  579. package/dist/src/elements.d.ts +0 -0
  580. package/dist/src/vite-env.d.ts +6 -0
  581. package/dist/src/vue.d.ts +91 -0
  582. package/dist/style.css +1 -0
  583. package/dist/vue.cjs +1 -0
  584. package/dist/vue.d.ts +1 -0
  585. package/dist/vue.js +2444 -0
  586. package/package.json +39 -3
  587. package/dist/index.css +0 -1
@@ -0,0 +1 @@
1
+ Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});require('./style.css');const e=require("./engine-DAYJbw0W.cjs");;/* empty css */const t=require("./core-CszjZZo9.cjs");var n=`cos-audio-visualizer`;function r(e){let t={};return e.hasAttribute(`width`)&&(t.width=Number(e.getAttribute(`width`))),e.hasAttribute(`height`)&&(t.height=Number(e.getAttribute(`height`))),e.hasAttribute(`bar-count`)&&(t.barCount=Number(e.getAttribute(`bar-count`))),t.useMic=e.hasAttribute(`use-mic`),t}var ee=class extends HTMLElement{ctrl=null;static get observedAttributes(){return[`width`,`height`,`bar-count`,`use-mic`]}connectedCallback(){this.ctrl=e.Bn(this,r(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(r(this))}};typeof customElements<`u`&&!customElements.get(`cos-audio-visualizer`)&&customElements.define(n,ee);var te=`cos-aurora`;function i(e){let t={};if(e.hasAttribute(`width`)&&(t.width=Number(e.getAttribute(`width`))),e.hasAttribute(`height`)&&(t.height=Number(e.getAttribute(`height`))),t.fill=e.hasAttribute(`fill`),e.hasAttribute(`colors`))try{t.colors=JSON.parse(e.getAttribute(`colors`)??`null`)}catch{}let n=e._colors;return n!==void 0&&(t.colors=n),t}var ne=class extends HTMLElement{ctrl=null;_colors;get colors(){return this._colors}set colors(e){this._colors=e,this.ctrl?.update(i(this))}static get observedAttributes(){return[`width`,`height`,`fill`,`colors`]}connectedCallback(){this.ctrl=e.Vn(this,i(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(i(this))}};typeof customElements<`u`&&!customElements.get(`cos-aurora`)&&customElements.define(te,ne);var re=`cos-aurora-veil`;function a(e){let t={};if(e.hasAttribute(`aria-label`)&&(t.ariaLabel=e.getAttribute(`aria-label`)??void 0),e.hasAttribute(`width`)&&(t.width=Number(e.getAttribute(`width`))),e.hasAttribute(`height`)&&(t.height=Number(e.getAttribute(`height`))),e.hasAttribute(`band-count`)&&(t.bandCount=Number(e.getAttribute(`band-count`))),e.hasAttribute(`speed`)&&(t.speed=Number(e.getAttribute(`speed`))),t.fill=e.hasAttribute(`fill`),e.hasAttribute(`interactive`)){let n=e.getAttribute(`interactive`);t.interactive=n!==`false`&&n!==`0`}if(e.hasAttribute(`colors`))try{t.colors=JSON.parse(e.getAttribute(`colors`)??`null`)}catch{}let n=e._colors;return n!==void 0&&(t.colors=n),t}var ie=class extends HTMLElement{ctrl=null;_colors;get colors(){return this._colors}set colors(e){this._colors=e,this.ctrl?.update(a(this))}static get observedAttributes(){return[`width`,`height`,`fill`,`colors`,`band-count`,`speed`,`interactive`,`aria-label`]}connectedCallback(){this.ctrl=e.Lt(this,a(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(a(this))}};typeof customElements<`u`&&!customElements.get(`cos-aurora-veil`)&&customElements.define(re,ie);var ae=`cos-barcode-scan`;function o(e){let t={};if(e.hasAttribute(`scan-color`)&&(t.scanColor=e.getAttribute(`scan-color`)??void 0),e.hasAttribute(`default-content`)&&(t.defaultContent=e.getAttribute(`default-content`)??void 0),e.hasAttribute(`speed`)&&(t.speed=Number(e.getAttribute(`speed`))),e.hasAttribute(`slot-element`))try{t.slotElement=JSON.parse(e.getAttribute(`slot-element`)??`null`)}catch{}let n=e._slotElement;return n!==void 0&&(t.slotElement=n),t}var oe=class extends HTMLElement{ctrl=null;_slotElement;get slotElement(){return this._slotElement}set slotElement(e){this._slotElement=e,this.ctrl?.update(o(this))}static get observedAttributes(){return[`scan-color`,`speed`,`slot-element`,`default-content`]}connectedCallback(){this.ctrl=e.Wn(this,o(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(o(this))}getSlot(){return this.ctrl?.getSlot()}};typeof customElements<`u`&&!customElements.get(`cos-barcode-scan`)&&customElements.define(ae,oe);var se=`cos-blur-text`;function s(e){let t={};if(e.hasAttribute(`text`)&&(t.text=e.getAttribute(`text`)??void 0),e.hasAttribute(`color`)&&(t.color=e.getAttribute(`color`)??void 0),e.hasAttribute(`stagger`)&&(t.stagger=Number(e.getAttribute(`stagger`))),e.hasAttribute(`duration`)&&(t.duration=Number(e.getAttribute(`duration`))),e.hasAttribute(`font-size`)&&(t.fontSize=Number(e.getAttribute(`font-size`))),e.hasAttribute(`animate-by`))try{t.animateBy=JSON.parse(e.getAttribute(`animate-by`)??`null`)}catch{}let n=e._animateBy;if(n!==void 0&&(t.animateBy=n),e.hasAttribute(`direction`))try{t.direction=JSON.parse(e.getAttribute(`direction`)??`null`)}catch{}let r=e._direction;return r!==void 0&&(t.direction=r),t.onAnimationComplete=(...t)=>{e.dispatchEvent(new CustomEvent(`animation-complete`,{detail:t.length<=1?t[0]:t,bubbles:!0}))},t}var ce=class extends HTMLElement{ctrl=null;_animateBy;get animateBy(){return this._animateBy}set animateBy(e){this._animateBy=e,this.ctrl?.update(s(this))}_direction;get direction(){return this._direction}set direction(e){this._direction=e,this.ctrl?.update(s(this))}static get observedAttributes(){return[`text`,`animate-by`,`direction`,`stagger`,`duration`,`font-size`,`color`]}connectedCallback(){this.ctrl=e.Un(this,s(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(s(this))}};typeof customElements<`u`&&!customElements.get(`cos-blur-text`)&&customElements.define(se,ce);var le=`cos-bubble-field`;function c(e){let t={};if(e.hasAttribute(`color`)&&(t.color=e.getAttribute(`color`)??void 0),e.hasAttribute(`width`)&&(t.width=Number(e.getAttribute(`width`))),e.hasAttribute(`height`)&&(t.height=Number(e.getAttribute(`height`))),e.hasAttribute(`bubble-count`)&&(t.bubbleCount=Number(e.getAttribute(`bubble-count`))),e.hasAttribute(`speed`)&&(t.speed=Number(e.getAttribute(`speed`))),t.fill=e.hasAttribute(`fill`),e.hasAttribute(`interactive`)){let n=e.getAttribute(`interactive`);t.interactive=n!==`false`&&n!==`0`}return t}var ue=class extends HTMLElement{ctrl=null;static get observedAttributes(){return[`width`,`height`,`fill`,`bubble-count`,`speed`,`color`,`interactive`]}connectedCallback(){this.ctrl=e.Ht(this,c(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(c(this))}};typeof customElements<`u`&&!customElements.get(`cos-bubble-field`)&&customElements.define(le,ue);var de=`cos-burn-away`;function fe(e){let t={};return e.hasAttribute(`text`)&&(t.text=e.getAttribute(`text`)??void 0),e.hasAttribute(`completed-text`)&&(t.completedText=e.getAttribute(`completed-text`)??void 0),e.hasAttribute(`font-size`)&&(t.fontSize=Number(e.getAttribute(`font-size`))),t.onComplete=(...t)=>{e.dispatchEvent(new CustomEvent(`complete`,{detail:t.length<=1?t[0]:t,bubbles:!0}))},t}var pe=class extends HTMLElement{ctrl=null;static get observedAttributes(){return[`text`,`font-size`,`completed-text`]}connectedCallback(){this.ctrl=e.Hn(this,fe(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(fe(this))}ignite(){return this.ctrl?.ignite()}};typeof customElements<`u`&&!customElements.get(`cos-burn-away`)&&customElements.define(de,pe);var me=`cos-canvas-clock`;function l(e){let t={};return e.hasAttribute(`width`)&&(t.width=Number(e.getAttribute(`width`))),e.hasAttribute(`height`)&&(t.height=Number(e.getAttribute(`height`))),t}var he=class extends HTMLElement{ctrl=null;static get observedAttributes(){return[`width`,`height`]}connectedCallback(){this.ctrl=e.zn(this,l(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(l(this))}};typeof customElements<`u`&&!customElements.get(`cos-canvas-clock`)&&customElements.define(me,he);var ge=`cos-charge`;function _e(e){let t={};if(e.hasAttribute(`init-quantity`)&&(t.initQuantity=Number(e.getAttribute(`init-quantity`))),e.hasAttribute(`value`)&&(t.value=Number(e.getAttribute(`value`))),e.hasAttribute(`interval`)&&(t.interval=Number(e.getAttribute(`interval`))),e.hasAttribute(`step`)&&(t.step=Number(e.getAttribute(`step`))),e.hasAttribute(`auto-charge`)){let n=e.getAttribute(`auto-charge`);t.autoCharge=n!==`false`&&n!==`0`}return t.onChange=(...t)=>{e.dispatchEvent(new CustomEvent(`change`,{detail:t.length<=1?t[0]:t,bubbles:!0}))},t.onComplete=(...t)=>{e.dispatchEvent(new CustomEvent(`complete`,{detail:t.length<=1?t[0]:t,bubbles:!0}))},t}var ve=class extends HTMLElement{ctrl=null;static get observedAttributes(){return[`init-quantity`,`value`,`auto-charge`,`interval`,`step`]}connectedCallback(){this.ctrl=e.Rn(this,_e(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(_e(this))}};typeof customElements<`u`&&!customElements.get(`cos-charge`)&&customElements.define(ge,ve);var ye=`cos-circular-text`;function u(e){let t={};if(e.hasAttribute(`text`)&&(t.text=e.getAttribute(`text`)??void 0),e.hasAttribute(`color`)&&(t.color=e.getAttribute(`color`)??void 0),e.hasAttribute(`spin-duration`)&&(t.spinDuration=Number(e.getAttribute(`spin-duration`))),e.hasAttribute(`font-size`)&&(t.fontSize=Number(e.getAttribute(`font-size`))),e.hasAttribute(`radius`)&&(t.radius=Number(e.getAttribute(`radius`))),e.hasAttribute(`on-hover`))try{t.onHover=JSON.parse(e.getAttribute(`on-hover`)??`null`)}catch{}let n=e._onHover;return n!==void 0&&(t.onHover=n),t}var be=class extends HTMLElement{ctrl=null;_onHover;get onHover(){return this._onHover}set onHover(e){this._onHover=e,this.ctrl?.update(u(this))}static get observedAttributes(){return[`text`,`spin-duration`,`on-hover`,`font-size`,`radius`,`color`]}connectedCallback(){this.ctrl=e.Ln(this,u(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(u(this))}};typeof customElements<`u`&&!customElements.get(`cos-circular-text`)&&customElements.define(ye,be);var xe=`cos-click-spark`;function d(e){let t={};if(e.hasAttribute(`color`)&&(t.color=e.getAttribute(`color`)??void 0),e.hasAttribute(`count`)&&(t.count=Number(e.getAttribute(`count`))),e.hasAttribute(`default-content`)&&(t.defaultContent=e.getAttribute(`default-content`)??void 0),e.hasAttribute(`slot-element`))try{t.slotElement=JSON.parse(e.getAttribute(`slot-element`)??`null`)}catch{}let n=e._slotElement;return n!==void 0&&(t.slotElement=n),t}var Se=class extends HTMLElement{ctrl=null;_slotElement;get slotElement(){return this._slotElement}set slotElement(e){this._slotElement=e,this.ctrl?.update(d(this))}static get observedAttributes(){return[`color`,`count`,`default-content`,`slot-element`]}connectedCallback(){this.ctrl=e.In(this,d(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(d(this))}};typeof customElements<`u`&&!customElements.get(`cos-click-spark`)&&customElements.define(xe,Se);var Ce=`cos-confetti`;function we(e){let t={};if(e.hasAttribute(`hint`)&&(t.hint=e.getAttribute(`hint`)??void 0),e.hasAttribute(`width`)&&(t.width=Number(e.getAttribute(`width`))),e.hasAttribute(`height`)&&(t.height=Number(e.getAttribute(`height`))),e.hasAttribute(`particle-count`)&&(t.particleCount=Number(e.getAttribute(`particle-count`))),t.fill=e.hasAttribute(`fill`),e.hasAttribute(`auto`)){let n=e.getAttribute(`auto`);t.auto=n!==`false`&&n!==`0`}if(e.hasAttribute(`interactive`)){let n=e.getAttribute(`interactive`);t.interactive=n!==`false`&&n!==`0`}return t.onComplete=(...t)=>{e.dispatchEvent(new CustomEvent(`complete`,{detail:t.length<=1?t[0]:t,bubbles:!0}))},t}var Te=class extends HTMLElement{ctrl=null;static get observedAttributes(){return[`width`,`height`,`fill`,`auto`,`interactive`,`particle-count`,`hint`]}connectedCallback(){this.ctrl=e.Fn(this,we(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(we(this))}burst(){return this.ctrl?.burst()}};typeof customElements<`u`&&!customElements.get(`cos-confetti`)&&customElements.define(Ce,Te);var Ee=`cos-count-up`;function De(e){let t={};return e.hasAttribute(`prefix`)&&(t.prefix=e.getAttribute(`prefix`)??void 0),e.hasAttribute(`suffix`)&&(t.suffix=e.getAttribute(`suffix`)??void 0),e.hasAttribute(`color`)&&(t.color=e.getAttribute(`color`)??void 0),e.hasAttribute(`value`)&&(t.value=Number(e.getAttribute(`value`))),e.hasAttribute(`start`)&&(t.start=Number(e.getAttribute(`start`))),e.hasAttribute(`duration`)&&(t.duration=Number(e.getAttribute(`duration`))),e.hasAttribute(`decimals`)&&(t.decimals=Number(e.getAttribute(`decimals`))),t}var Oe=class extends HTMLElement{ctrl=null;static get observedAttributes(){return[`value`,`start`,`duration`,`decimals`,`prefix`,`suffix`,`color`]}connectedCallback(){this.ctrl=e.jn(this,De(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(De(this))}};typeof customElements<`u`&&!customElements.get(`cos-count-up`)&&customElements.define(Ee,Oe);var ke=`cos-countdown`;function f(e){let t={};if(e.hasAttribute(`target-date`)&&(t.targetDate=e.getAttribute(`target-date`)??void 0),e.hasAttribute(`color`)&&(t.color=e.getAttribute(`color`)??void 0),e.hasAttribute(`invalid-text`)&&(t.invalidText=e.getAttribute(`invalid-text`)??void 0),e.hasAttribute(`ended-text`)&&(t.endedText=e.getAttribute(`ended-text`)??void 0),t.showLabels=e.hasAttribute(`show-labels`),e.hasAttribute(`labels`))try{t.labels=JSON.parse(e.getAttribute(`labels`)??`null`)}catch{}let n=e._labels;return n!==void 0&&(t.labels=n),t.onEnd=(...t)=>{e.dispatchEvent(new CustomEvent(`end`,{detail:t.length<=1?t[0]:t,bubbles:!0}))},t}var Ae=class extends HTMLElement{ctrl=null;_labels;get labels(){return this._labels}set labels(e){this._labels=e,this.ctrl?.update(f(this))}static get observedAttributes(){return[`target-date`,`show-labels`,`color`,`labels`,`invalid-text`,`ended-text`]}connectedCallback(){this.ctrl=e.Mn(this,f(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(f(this))}};typeof customElements<`u`&&!customElements.get(`cos-countdown`)&&customElements.define(ke,Ae);var je=`cos-cursor-trail`;function Me(e){let t={};return e.hasAttribute(`color`)&&(t.color=e.getAttribute(`color`)??void 0),e.hasAttribute(`hint`)&&(t.hint=e.getAttribute(`hint`)??void 0),e.hasAttribute(`length`)&&(t.length=Number(e.getAttribute(`length`))),e.hasAttribute(`width`)&&(t.width=Number(e.getAttribute(`width`))),e.hasAttribute(`height`)&&(t.height=Number(e.getAttribute(`height`))),t}var Ne=class extends HTMLElement{ctrl=null;static get observedAttributes(){return[`color`,`length`,`width`,`height`,`hint`]}connectedCallback(){this.ctrl=e.On(this,Me(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(Me(this))}};typeof customElements<`u`&&!customElements.get(`cos-cursor-trail`)&&customElements.define(je,Ne);var Pe=`cos-curved-loop`;function p(e){let t={};if(e.hasAttribute(`text`)&&(t.text=e.getAttribute(`text`)??void 0),e.hasAttribute(`color`)&&(t.color=e.getAttribute(`color`)??void 0),e.hasAttribute(`speed`)&&(t.speed=Number(e.getAttribute(`speed`))),e.hasAttribute(`curve-amount`)&&(t.curveAmount=Number(e.getAttribute(`curve-amount`))),e.hasAttribute(`font-size`)&&(t.fontSize=Number(e.getAttribute(`font-size`))),e.hasAttribute(`interactive`)){let n=e.getAttribute(`interactive`);t.interactive=n!==`false`&&n!==`0`}if(e.hasAttribute(`direction`))try{t.direction=JSON.parse(e.getAttribute(`direction`)??`null`)}catch{}let n=e._direction;return n!==void 0&&(t.direction=n),t}var Fe=class extends HTMLElement{ctrl=null;_direction;get direction(){return this._direction}set direction(e){this._direction=e,this.ctrl?.update(p(this))}static get observedAttributes(){return[`text`,`speed`,`curve-amount`,`direction`,`interactive`,`color`,`font-size`]}connectedCallback(){this.ctrl=e.Pn(this,p(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(p(this))}};typeof customElements<`u`&&!customElements.get(`cos-curved-loop`)&&customElements.define(Pe,Fe);var Ie=`cos-cyber-grid`;function Le(e){let t={};return e.hasAttribute(`color`)&&(t.color=e.getAttribute(`color`)??void 0),e.hasAttribute(`width`)&&(t.width=Number(e.getAttribute(`width`))),e.hasAttribute(`height`)&&(t.height=Number(e.getAttribute(`height`))),e.hasAttribute(`speed`)&&(t.speed=Number(e.getAttribute(`speed`))),t.fill=e.hasAttribute(`fill`),t}var Re=class extends HTMLElement{ctrl=null;static get observedAttributes(){return[`width`,`height`,`fill`,`color`,`speed`]}connectedCallback(){this.ctrl=e.Nn(this,Le(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(Le(this))}};typeof customElements<`u`&&!customElements.get(`cos-cyber-grid`)&&customElements.define(Ie,Re);var ze=`cos-dandelion-field`;function Be(e){let t={};if(e.hasAttribute(`aria-label`)&&(t.ariaLabel=e.getAttribute(`aria-label`)??void 0),e.hasAttribute(`width`)&&(t.width=Number(e.getAttribute(`width`))),e.hasAttribute(`height`)&&(t.height=Number(e.getAttribute(`height`))),e.hasAttribute(`plant-count`)&&(t.plantCount=Number(e.getAttribute(`plant-count`))),e.hasAttribute(`seed-count`)&&(t.seedCount=Number(e.getAttribute(`seed-count`))),e.hasAttribute(`speed`)&&(t.speed=Number(e.getAttribute(`speed`))),t.fill=e.hasAttribute(`fill`),e.hasAttribute(`interactive`)){let n=e.getAttribute(`interactive`);t.interactive=n!==`false`&&n!==`0`}return t}var Ve=class extends HTMLElement{ctrl=null;static get observedAttributes(){return[`width`,`height`,`fill`,`plant-count`,`seed-count`,`speed`,`interactive`,`aria-label`]}connectedCallback(){this.ctrl=e.Bt(this,Be(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(Be(this))}};typeof customElements<`u`&&!customElements.get(`cos-dandelion-field`)&&customElements.define(ze,Ve);var He=`cos-dice-roll`;function m(e){let t={};if(e.hasAttribute(`roll-text`)&&(t.rollText=e.getAttribute(`roll-text`)??void 0),e.hasAttribute(`rolling-text`)&&(t.rollingText=e.getAttribute(`rolling-text`)??void 0),e.hasAttribute(`result-prefix`)&&(t.resultPrefix=e.getAttribute(`result-prefix`)??void 0),e.hasAttribute(`sides`))try{t.sides=JSON.parse(e.getAttribute(`sides`)??`null`)}catch{}let n=e._sides;return n!==void 0&&(t.sides=n),t.onRoll=(...t)=>{e.dispatchEvent(new CustomEvent(`roll`,{detail:t.length<=1?t[0]:t,bubbles:!0}))},t}var Ue=class extends HTMLElement{ctrl=null;_sides;get sides(){return this._sides}set sides(e){this._sides=e,this.ctrl?.update(m(this))}static get observedAttributes(){return[`sides`,`roll-text`,`rolling-text`,`result-prefix`]}connectedCallback(){this.ctrl=e.Dn(this,m(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(m(this))}};typeof customElements<`u`&&!customElements.get(`cos-dice-roll`)&&customElements.define(He,Ue);var We=`cos-dna-helix`;function Ge(e){let t={};return e.hasAttribute(`color`)&&(t.color=e.getAttribute(`color`)??void 0),e.hasAttribute(`width`)&&(t.width=Number(e.getAttribute(`width`))),e.hasAttribute(`height`)&&(t.height=Number(e.getAttribute(`height`))),e.hasAttribute(`speed`)&&(t.speed=Number(e.getAttribute(`speed`))),t}var Ke=class extends HTMLElement{ctrl=null;static get observedAttributes(){return[`width`,`height`,`speed`,`color`]}connectedCallback(){this.ctrl=e.An(this,Ge(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(Ge(this))}};typeof customElements<`u`&&!customElements.get(`cos-dna-helix`)&&customElements.define(We,Ke);var qe=`cos-double-pendulum`;function h(e){let t={};return e.hasAttribute(`color`)&&(t.color=e.getAttribute(`color`)??void 0),e.hasAttribute(`color2`)&&(t.color2=e.getAttribute(`color2`)??void 0),e.hasAttribute(`width`)&&(t.width=Number(e.getAttribute(`width`))),e.hasAttribute(`height`)&&(t.height=Number(e.getAttribute(`height`))),e.hasAttribute(`trail-length`)&&(t.trailLength=Number(e.getAttribute(`trail-length`))),t}var Je=class extends HTMLElement{ctrl=null;static get observedAttributes(){return[`width`,`height`,`trail-length`,`color`,`color2`]}connectedCallback(){this.ctrl=e.En(this,h(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(h(this))}};typeof customElements<`u`&&!customElements.get(`cos-double-pendulum`)&&customElements.define(qe,Je);var Ye=`cos-electric-arc`;function g(e){let t={};return e.hasAttribute(`color`)&&(t.color=e.getAttribute(`color`)??void 0),e.hasAttribute(`width`)&&(t.width=Number(e.getAttribute(`width`))),e.hasAttribute(`height`)&&(t.height=Number(e.getAttribute(`height`))),t}var Xe=class extends HTMLElement{ctrl=null;static get observedAttributes(){return[`width`,`height`,`color`]}connectedCallback(){this.ctrl=e.kn(this,g(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(g(this))}};typeof customElements<`u`&&!customElements.get(`cos-electric-arc`)&&customElements.define(Ye,Xe);var Ze=`cos-fireworks`;function _(e){let t={};if(e.hasAttribute(`hint`)&&(t.hint=e.getAttribute(`hint`)??void 0),e.hasAttribute(`width`)&&(t.width=Number(e.getAttribute(`width`))),e.hasAttribute(`height`)&&(t.height=Number(e.getAttribute(`height`))),t.fill=e.hasAttribute(`fill`),e.hasAttribute(`auto`)){let n=e.getAttribute(`auto`);t.auto=n!==`false`&&n!==`0`}if(e.hasAttribute(`interactive`)){let n=e.getAttribute(`interactive`);t.interactive=n!==`false`&&n!==`0`}return t.onComplete=(...t)=>{e.dispatchEvent(new CustomEvent(`complete`,{detail:t.length<=1?t[0]:t,bubbles:!0}))},t}var Qe=class extends HTMLElement{ctrl=null;static get observedAttributes(){return[`width`,`height`,`fill`,`auto`,`interactive`,`hint`]}connectedCallback(){this.ctrl=e.Tn(this,_(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(_(this))}launch(e){return this.ctrl?.launch(e)}};typeof customElements<`u`&&!customElements.get(`cos-fireworks`)&&customElements.define(Ze,Qe);var $e=`cos-flip-card`;function v(e){let t={};if(e.hasAttribute(`front-title`)&&(t.frontTitle=e.getAttribute(`front-title`)??void 0),e.hasAttribute(`front-subtitle`)&&(t.frontSubtitle=e.getAttribute(`front-subtitle`)??void 0),e.hasAttribute(`back-title`)&&(t.backTitle=e.getAttribute(`back-title`)??void 0),e.hasAttribute(`back-subtitle`)&&(t.backSubtitle=e.getAttribute(`back-subtitle`)??void 0),e.hasAttribute(`flipped`)){let n=e.getAttribute(`flipped`);t.flipped=n!==`false`&&n!==`0`}else t.flipped=void 0;if(e.hasAttribute(`default-flipped`)){let n=e.getAttribute(`default-flipped`);t.defaultFlipped=n!==`false`&&n!==`0`}if(e.hasAttribute(`disabled`)){let n=e.getAttribute(`disabled`);t.disabled=n!==`false`&&n!==`0`}return t.onReveal=(...t)=>{e.dispatchEvent(new CustomEvent(`reveal`,{detail:t.length<=1?t[0]:t,bubbles:!0}))},t.onFlipChange=(...t)=>{e.dispatchEvent(new CustomEvent(`flip-change`,{detail:t.length<=1?t[0]:t,bubbles:!0}))},t}var et=class extends HTMLElement{ctrl=null;static get observedAttributes(){return[`front-title`,`front-subtitle`,`back-title`,`back-subtitle`,`flipped`,`default-flipped`,`disabled`]}connectedCallback(){this.ctrl=e.wn(this,v(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(v(this))}flip(){return this.ctrl?.flip()}reset(){return this.ctrl?.reset()}};typeof customElements<`u`&&!customElements.get(`cos-flip-card`)&&customElements.define($e,et);var tt=`cos-flip-counter`;function y(e){let t={};if(e.hasAttribute(`color`)&&(t.color=e.getAttribute(`color`)??void 0),e.hasAttribute(`value`)&&(t.value=Number(e.getAttribute(`value`))),e.hasAttribute(`digits`)&&(t.digits=Number(e.getAttribute(`digits`))),e.hasAttribute(`duration`)&&(t.duration=Number(e.getAttribute(`duration`))),e.hasAttribute(`auto-interval`)&&(t.autoInterval=Number(e.getAttribute(`auto-interval`))),e.hasAttribute(`auto`)){let n=e.getAttribute(`auto`);t.auto=n!==`false`&&n!==`0`}return t}var nt=class extends HTMLElement{ctrl=null;static get observedAttributes(){return[`value`,`digits`,`color`,`duration`,`auto`,`auto-interval`]}connectedCallback(){this.ctrl=e.Cn(this,y(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(y(this))}};typeof customElements<`u`&&!customElements.get(`cos-flip-counter`)&&customElements.define(tt,nt);var rt=`cos-fuzzy-text`;function it(e){let t={};return e.hasAttribute(`text`)&&(t.text=e.getAttribute(`text`)??void 0),e.hasAttribute(`color`)&&(t.color=e.getAttribute(`color`)??void 0),e.hasAttribute(`font-size`)&&(t.fontSize=Number(e.getAttribute(`font-size`))),e.hasAttribute(`font-weight`)&&(t.fontWeight=Number(e.getAttribute(`font-weight`))),e.hasAttribute(`base-intensity`)&&(t.baseIntensity=Number(e.getAttribute(`base-intensity`))),e.hasAttribute(`hover-intensity`)&&(t.hoverIntensity=Number(e.getAttribute(`hover-intensity`))),e.hasAttribute(`fuzz-range`)&&(t.fuzzRange=Number(e.getAttribute(`fuzz-range`))),t.enableHover=e.hasAttribute(`enable-hover`),t}var at=class extends HTMLElement{ctrl=null;static get observedAttributes(){return[`text`,`font-size`,`font-weight`,`color`,`base-intensity`,`hover-intensity`,`enable-hover`,`fuzz-range`]}connectedCallback(){this.ctrl=e.Sn(this,it(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(it(this))}};typeof customElements<`u`&&!customElements.get(`cos-fuzzy-text`)&&customElements.define(rt,at);var ot=`cos-game-of-life`;function b(e){let t={};if(e.hasAttribute(`alive-color`)&&(t.aliveColor=e.getAttribute(`alive-color`)??void 0),e.hasAttribute(`grid-color`)&&(t.gridColor=e.getAttribute(`grid-color`)??void 0),e.hasAttribute(`width`)&&(t.width=Number(e.getAttribute(`width`))),e.hasAttribute(`height`)&&(t.height=Number(e.getAttribute(`height`))),e.hasAttribute(`cell-size`)&&(t.cellSize=Number(e.getAttribute(`cell-size`))),e.hasAttribute(`speed`)&&(t.speed=Number(e.getAttribute(`speed`))),e.hasAttribute(`density`)&&(t.density=Number(e.getAttribute(`density`))),e.hasAttribute(`labels`))try{t.labels=JSON.parse(e.getAttribute(`labels`)??`null`)}catch{}let n=e._labels;return n!==void 0&&(t.labels=n),t}var st=class extends HTMLElement{ctrl=null;_labels;get labels(){return this._labels}set labels(e){this._labels=e,this.ctrl?.update(b(this))}static get observedAttributes(){return[`width`,`height`,`cell-size`,`speed`,`density`,`alive-color`,`grid-color`,`labels`]}connectedCallback(){this.ctrl=e.bn(this,b(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(b(this))}};typeof customElements<`u`&&!customElements.get(`cos-game-of-life`)&&customElements.define(ot,st);var ct=`cos-glitch-text`;function lt(e){let t={};return e.hasAttribute(`text`)&&(t.text=e.getAttribute(`text`)??void 0),e.hasAttribute(`color`)&&(t.color=e.getAttribute(`color`)??void 0),e.hasAttribute(`glitch-color1`)&&(t.glitchColor1=e.getAttribute(`glitch-color1`)??void 0),e.hasAttribute(`glitch-color2`)&&(t.glitchColor2=e.getAttribute(`glitch-color2`)??void 0),e.hasAttribute(`font-size`)&&(t.fontSize=Number(e.getAttribute(`font-size`))),t}var ut=class extends HTMLElement{ctrl=null;static get observedAttributes(){return[`text`,`color`,`glitch-color1`,`glitch-color2`,`font-size`]}connectedCallback(){this.ctrl=e.yn(this,lt(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(lt(this))}};typeof customElements<`u`&&!customElements.get(`cos-glitch-text`)&&customElements.define(ct,ut);var dt=`cos-gradient-flow`;function x(e){let t={};if(e.hasAttribute(`text`)&&(t.text=e.getAttribute(`text`)??void 0),e.hasAttribute(`font-size`)&&(t.fontSize=Number(e.getAttribute(`font-size`))),e.hasAttribute(`colors`))try{t.colors=JSON.parse(e.getAttribute(`colors`)??`null`)}catch{}let n=e._colors;return n!==void 0&&(t.colors=n),t}var ft=class extends HTMLElement{ctrl=null;_colors;get colors(){return this._colors}set colors(e){this._colors=e,this.ctrl?.update(x(this))}static get observedAttributes(){return[`text`,`colors`,`font-size`]}connectedCallback(){this.ctrl=e.xn(this,x(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(x(this))}};typeof customElements<`u`&&!customElements.get(`cos-gradient-flow`)&&customElements.define(dt,ft);var pt=`cos-gravity-balls`;function mt(e){let t={};return e.hasAttribute(`width`)&&(t.width=Number(e.getAttribute(`width`))),e.hasAttribute(`height`)&&(t.height=Number(e.getAttribute(`height`))),e.hasAttribute(`ball-count`)&&(t.ballCount=Number(e.getAttribute(`ball-count`))),t}var ht=class extends HTMLElement{ctrl=null;static get observedAttributes(){return[`width`,`height`,`ball-count`]}connectedCallback(){this.ctrl=e.vn(this,mt(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(mt(this))}};typeof customElements<`u`&&!customElements.get(`cos-gravity-balls`)&&customElements.define(pt,ht);var gt=`cos-holographic-card`;function _t(e){let t={};return e.hasAttribute(`title`)&&(t.title=e.getAttribute(`title`)??void 0),e.hasAttribute(`subtitle`)&&(t.subtitle=e.getAttribute(`subtitle`)??void 0),e.hasAttribute(`image`)&&(t.image=e.getAttribute(`image`)??void 0),t}var vt=class extends HTMLElement{ctrl=null;static get observedAttributes(){return[`title`,`subtitle`,`image`]}connectedCallback(){this.ctrl=e._n(this,_t(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(_t(this))}};typeof customElements<`u`&&!customElements.get(`cos-holographic-card`)&&customElements.define(gt,vt);var yt=`cos-ink-bloom`;function bt(e){let t={};if(e.hasAttribute(`ink-color`)&&(t.inkColor=e.getAttribute(`ink-color`)??void 0),e.hasAttribute(`aria-label`)&&(t.ariaLabel=e.getAttribute(`aria-label`)??void 0),e.hasAttribute(`width`)&&(t.width=Number(e.getAttribute(`width`))),e.hasAttribute(`height`)&&(t.height=Number(e.getAttribute(`height`))),e.hasAttribute(`speed`)&&(t.speed=Number(e.getAttribute(`speed`))),t.fill=e.hasAttribute(`fill`),e.hasAttribute(`interactive`)){let n=e.getAttribute(`interactive`);t.interactive=n!==`false`&&n!==`0`}return t}var xt=class extends HTMLElement{ctrl=null;static get observedAttributes(){return[`width`,`height`,`fill`,`ink-color`,`speed`,`interactive`,`aria-label`]}connectedCallback(){this.ctrl=e.Rt(this,bt(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(bt(this))}};typeof customElements<`u`&&!customElements.get(`cos-ink-bloom`)&&customElements.define(yt,xt);var St=`cos-lava-bubble`;function Ct(e){let t={};if(e.hasAttribute(`aria-label`)&&(t.ariaLabel=e.getAttribute(`aria-label`)??void 0),e.hasAttribute(`width`)&&(t.width=Number(e.getAttribute(`width`))),e.hasAttribute(`height`)&&(t.height=Number(e.getAttribute(`height`))),e.hasAttribute(`heat`)&&(t.heat=Number(e.getAttribute(`heat`))),e.hasAttribute(`speed`)&&(t.speed=Number(e.getAttribute(`speed`))),e.hasAttribute(`activity`)&&(t.activity=Number(e.getAttribute(`activity`))),t.fill=e.hasAttribute(`fill`),t.autoSpawn=e.hasAttribute(`auto-spawn`),e.hasAttribute(`interactive`)){let n=e.getAttribute(`interactive`);t.interactive=n!==`false`&&n!==`0`}return t}var wt=class extends HTMLElement{ctrl=null;static get observedAttributes(){return[`width`,`height`,`fill`,`heat`,`speed`,`auto-spawn`,`activity`,`interactive`,`aria-label`]}connectedCallback(){this.ctrl=e.zt(this,Ct(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(Ct(this))}};typeof customElements<`u`&&!customElements.get(`cos-lava-bubble`)&&customElements.define(St,wt);var Tt=`cos-liquid-glass`;function S(e){let t={};if(e.hasAttribute(`default-content`)&&(t.defaultContent=e.getAttribute(`default-content`)??void 0),e.hasAttribute(`blur`)&&(t.blur=Number(e.getAttribute(`blur`))),e.hasAttribute(`border-radius`)&&(t.borderRadius=Number(e.getAttribute(`border-radius`))),e.hasAttribute(`slot-element`))try{t.slotElement=JSON.parse(e.getAttribute(`slot-element`)??`null`)}catch{}let n=e._slotElement;return n!==void 0&&(t.slotElement=n),t}var Et=class extends HTMLElement{ctrl=null;_slotElement;get slotElement(){return this._slotElement}set slotElement(e){this._slotElement=e,this.ctrl?.update(S(this))}static get observedAttributes(){return[`blur`,`border-radius`,`slot-element`,`default-content`]}connectedCallback(){this.ctrl=e.mn(this,S(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(S(this))}getSlot(){return this.ctrl?.getSlot()}};typeof customElements<`u`&&!customElements.get(`cos-liquid-glass`)&&customElements.define(Tt,Et);var Dt=`cos-liquid-progress`;function Ot(e){let t={};return e.hasAttribute(`color`)&&(t.color=e.getAttribute(`color`)??void 0),e.hasAttribute(`value`)&&(t.value=Number(e.getAttribute(`value`))),e.hasAttribute(`max`)&&(t.max=Number(e.getAttribute(`max`))),e.hasAttribute(`size`)&&(t.size=Number(e.getAttribute(`size`))),t}var kt=class extends HTMLElement{ctrl=null;static get observedAttributes(){return[`value`,`max`,`size`,`color`]}connectedCallback(){this.ctrl=e.gn(this,Ot(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(Ot(this))}};typeof customElements<`u`&&!customElements.get(`cos-liquid-progress`)&&customElements.define(Dt,kt);var At=`cos-lorenz-attractor`;function jt(e){let t={};return e.hasAttribute(`color`)&&(t.color=e.getAttribute(`color`)??void 0),e.hasAttribute(`width`)&&(t.width=Number(e.getAttribute(`width`))),e.hasAttribute(`height`)&&(t.height=Number(e.getAttribute(`height`))),e.hasAttribute(`speed`)&&(t.speed=Number(e.getAttribute(`speed`))),e.hasAttribute(`point-count`)&&(t.pointCount=Number(e.getAttribute(`point-count`))),t}var Mt=class extends HTMLElement{ctrl=null;static get observedAttributes(){return[`width`,`height`,`speed`,`color`,`point-count`]}connectedCallback(){this.ctrl=e.hn(this,jt(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(jt(this))}};typeof customElements<`u`&&!customElements.get(`cos-lorenz-attractor`)&&customElements.define(At,Mt);var Nt=`cos-magnetic-button`;function C(e){let t={};if(e.hasAttribute(`color`)&&(t.color=e.getAttribute(`color`)??void 0),e.hasAttribute(`default-content`)&&(t.defaultContent=e.getAttribute(`default-content`)??void 0),e.hasAttribute(`strength`)&&(t.strength=Number(e.getAttribute(`strength`))),e.hasAttribute(`slot-element`))try{t.slotElement=JSON.parse(e.getAttribute(`slot-element`)??`null`)}catch{}let n=e._slotElement;return n!==void 0&&(t.slotElement=n),t}var Pt=class extends HTMLElement{ctrl=null;_slotElement;get slotElement(){return this._slotElement}set slotElement(e){this._slotElement=e,this.ctrl?.update(C(this))}static get observedAttributes(){return[`strength`,`color`,`slot-element`,`default-content`]}connectedCallback(){this.ctrl=e.pn(this,C(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(C(this))}getSlot(){return this.ctrl?.getSlot()}};typeof customElements<`u`&&!customElements.get(`cos-magnetic-button`)&&customElements.define(Nt,Pt);var Ft=`cos-matrix-rain`;function It(e){let t={};return e.hasAttribute(`color`)&&(t.color=e.getAttribute(`color`)??void 0),e.hasAttribute(`title`)&&(t.title=e.getAttribute(`title`)??void 0),e.hasAttribute(`subtitle`)&&(t.subtitle=e.getAttribute(`subtitle`)??void 0),e.hasAttribute(`width`)&&(t.width=Number(e.getAttribute(`width`))),e.hasAttribute(`height`)&&(t.height=Number(e.getAttribute(`height`))),e.hasAttribute(`density`)&&(t.density=Number(e.getAttribute(`density`))),t.fill=e.hasAttribute(`fill`),t.showOverlay=e.hasAttribute(`show-overlay`),t}var Lt=class extends HTMLElement{ctrl=null;static get observedAttributes(){return[`width`,`height`,`fill`,`density`,`color`,`show-overlay`,`title`,`subtitle`]}connectedCallback(){this.ctrl=e.fn(this,It(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(It(this))}};typeof customElements<`u`&&!customElements.get(`cos-matrix-rain`)&&customElements.define(Ft,Lt);var Rt=`cos-maze-generator`;function zt(e){let t={};return e.hasAttribute(`width`)&&(t.width=Number(e.getAttribute(`width`))),e.hasAttribute(`height`)&&(t.height=Number(e.getAttribute(`height`))),e.hasAttribute(`cell-size`)&&(t.cellSize=Number(e.getAttribute(`cell-size`))),t.onGenerated=(...t)=>{e.dispatchEvent(new CustomEvent(`generated`,{detail:t.length<=1?t[0]:t,bubbles:!0}))},t}var Bt=class extends HTMLElement{ctrl=null;static get observedAttributes(){return[`width`,`height`,`cell-size`]}connectedCallback(){this.ctrl=e.un(this,zt(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(zt(this))}};typeof customElements<`u`&&!customElements.get(`cos-maze-generator`)&&customElements.define(Rt,Bt);var Vt=`cos-metaball-pool`;function Ht(e){let t={};return e.hasAttribute(`color`)&&(t.color=e.getAttribute(`color`)??void 0),e.hasAttribute(`width`)&&(t.width=Number(e.getAttribute(`width`))),e.hasAttribute(`height`)&&(t.height=Number(e.getAttribute(`height`))),e.hasAttribute(`ball-count`)&&(t.ballCount=Number(e.getAttribute(`ball-count`))),t}var Ut=class extends HTMLElement{ctrl=null;static get observedAttributes(){return[`width`,`height`,`ball-count`,`color`]}connectedCallback(){this.ctrl=e.dn(this,Ht(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(Ht(this))}};typeof customElements<`u`&&!customElements.get(`cos-metaball-pool`)&&customElements.define(Vt,Ut);var Wt=`cos-meteor-rain`;function Gt(e){let t={};return e.hasAttribute(`width`)&&(t.width=Number(e.getAttribute(`width`))),e.hasAttribute(`height`)&&(t.height=Number(e.getAttribute(`height`))),e.hasAttribute(`meteor-count`)&&(t.meteorCount=Number(e.getAttribute(`meteor-count`))),t.fill=e.hasAttribute(`fill`),t}var Kt=class extends HTMLElement{ctrl=null;static get observedAttributes(){return[`width`,`height`,`fill`,`meteor-count`]}connectedCallback(){this.ctrl=e.ln(this,Gt(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(Gt(this))}};typeof customElements<`u`&&!customElements.get(`cos-meteor-rain`)&&customElements.define(Wt,Kt);var qt=`cos-neon-text`;function Jt(e){let t={};return e.hasAttribute(`text`)&&(t.text=e.getAttribute(`text`)??void 0),e.hasAttribute(`color`)&&(t.color=e.getAttribute(`color`)??void 0),e.hasAttribute(`font-size`)&&(t.fontSize=Number(e.getAttribute(`font-size`))),t.flicker=e.hasAttribute(`flicker`),t}var Yt=class extends HTMLElement{ctrl=null;static get observedAttributes(){return[`text`,`color`,`font-size`,`flicker`]}connectedCallback(){this.ctrl=e.sn(this,Jt(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(Jt(this))}};typeof customElements<`u`&&!customElements.get(`cos-neon-text`)&&customElements.define(qt,Yt);var Xt=`cos-network-graph`;function w(e){let t={};if(e.hasAttribute(`link-color`)&&(t.linkColor=e.getAttribute(`link-color`)??void 0),e.hasAttribute(`hint`)&&(t.hint=e.getAttribute(`hint`)??void 0),e.hasAttribute(`width`)&&(t.width=Number(e.getAttribute(`width`))),e.hasAttribute(`height`)&&(t.height=Number(e.getAttribute(`height`))),e.hasAttribute(`node-radius`)&&(t.nodeRadius=Number(e.getAttribute(`node-radius`))),e.hasAttribute(`nodes`))try{t.nodes=JSON.parse(e.getAttribute(`nodes`)??`null`)}catch{}let n=e._nodes;if(n!==void 0&&(t.nodes=n),e.hasAttribute(`edges`))try{t.edges=JSON.parse(e.getAttribute(`edges`)??`null`)}catch{}let r=e._edges;return r!==void 0&&(t.edges=r),t}var Zt=class extends HTMLElement{ctrl=null;_nodes;get nodes(){return this._nodes}set nodes(e){this._nodes=e,this.ctrl?.update(w(this))}_edges;get edges(){return this._edges}set edges(e){this._edges=e,this.ctrl?.update(w(this))}static get observedAttributes(){return[`width`,`height`,`nodes`,`edges`,`link-color`,`node-radius`,`hint`]}connectedCallback(){this.ctrl=e.cn(this,w(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(w(this))}};typeof customElements<`u`&&!customElements.get(`cos-network-graph`)&&customElements.define(Xt,Zt);var Qt=`cos-newton-cradle`;function $t(e){let t={};return e.hasAttribute(`color`)&&(t.color=e.getAttribute(`color`)??void 0),e.hasAttribute(`ball-count`)&&(t.ballCount=Number(e.getAttribute(`ball-count`))),e.hasAttribute(`width`)&&(t.width=Number(e.getAttribute(`width`))),e.hasAttribute(`height`)&&(t.height=Number(e.getAttribute(`height`))),t}var en=class extends HTMLElement{ctrl=null;static get observedAttributes(){return[`ball-count`,`color`,`width`,`height`]}connectedCallback(){this.ctrl=e.on(this,$t(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update($t(this))}};typeof customElements<`u`&&!customElements.get(`cos-newton-cradle`)&&customElements.define(Qt,en);var tn=`cos-nine-grid`;function T(e){let t={};if(e.hasAttribute(`button-text`)&&(t.buttonText=e.getAttribute(`button-text`)??void 0),e.hasAttribute(`spinning-text`)&&(t.spinningText=e.getAttribute(`spinning-text`)??void 0),e.hasAttribute(`target-index`)&&(t.targetIndex=Number(e.getAttribute(`target-index`))),t.disabled=e.hasAttribute(`disabled`),e.hasAttribute(`items`))try{t.items=JSON.parse(e.getAttribute(`items`)??`null`)}catch{}let n=e._items;return n!==void 0&&(t.items=n),t.onDrawEnd=(...t)=>{e.dispatchEvent(new CustomEvent(`draw-end`,{detail:t.length<=1?t[0]:t,bubbles:!0}))},t}var nn=class extends HTMLElement{ctrl=null;_items;get items(){return this._items}set items(e){this._items=e,this.ctrl?.update(T(this))}static get observedAttributes(){return[`items`,`target-index`,`button-text`,`spinning-text`,`disabled`]}connectedCallback(){this.ctrl=e.an(this,T(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(T(this))}draw(e){return this.ctrl?.draw(e)}reset(){return this.ctrl?.reset()}};typeof customElements<`u`&&!customElements.get(`cos-nine-grid`)&&customElements.define(tn,nn);var rn=`cos-orbital-chart`;function E(e){let t={};if(e.hasAttribute(`size`)&&(t.size=Number(e.getAttribute(`size`))),e.hasAttribute(`data`))try{t.data=JSON.parse(e.getAttribute(`data`)??`null`)}catch{}let n=e._data;return n!==void 0&&(t.data=n),t}var an=class extends HTMLElement{ctrl=null;_data;get data(){return this._data}set data(e){this._data=e,this.ctrl?.update(E(this))}static get observedAttributes(){return[`data`,`size`]}connectedCallback(){this.ctrl=e.in(this,E(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(E(this))}};typeof customElements<`u`&&!customElements.get(`cos-orbital-chart`)&&customElements.define(rn,an);var on=`cos-particle-network`;function D(e){let t={};return e.hasAttribute(`color`)&&(t.color=e.getAttribute(`color`)??void 0),e.hasAttribute(`hint`)&&(t.hint=e.getAttribute(`hint`)??void 0),e.hasAttribute(`width`)&&(t.width=Number(e.getAttribute(`width`))),e.hasAttribute(`height`)&&(t.height=Number(e.getAttribute(`height`))),e.hasAttribute(`particle-count`)&&(t.particleCount=Number(e.getAttribute(`particle-count`))),e.hasAttribute(`link-distance`)&&(t.linkDistance=Number(e.getAttribute(`link-distance`))),e.hasAttribute(`repel-radius`)&&(t.repelRadius=Number(e.getAttribute(`repel-radius`))),t.fill=e.hasAttribute(`fill`),t}var sn=class extends HTMLElement{ctrl=null;static get observedAttributes(){return[`width`,`height`,`fill`,`particle-count`,`link-distance`,`repel-radius`,`color`,`hint`]}connectedCallback(){this.ctrl=e.rn(this,D(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(D(this))}};typeof customElements<`u`&&!customElements.get(`cos-particle-network`)&&customElements.define(on,sn);var cn=`cos-photo-album`;function O(e){let t={};if(e.hasAttribute(`width`)){let n=e.getAttribute(`width`),r=Number(n);t.width=n!=null&&n!==``&&!Number.isNaN(r)?r:n??void 0}if(e.hasAttribute(`height`)){let n=e.getAttribute(`height`),r=Number(n);t.height=n!=null&&n!==``&&!Number.isNaN(r)?r:n??void 0}if(e.hasAttribute(`object-fit`)&&(t.objectFit=e.getAttribute(`object-fit`)??void 0),e.hasAttribute(`page-color`)&&(t.pageColor=e.getAttribute(`page-color`)??void 0),e.hasAttribute(`cover-color`)&&(t.coverColor=e.getAttribute(`cover-color`)??void 0),e.hasAttribute(`aria-label`)&&(t.ariaLabel=e.getAttribute(`aria-label`)??void 0),e.hasAttribute(`initial-index`)&&(t.initialIndex=Number(e.getAttribute(`initial-index`))),e.hasAttribute(`page-turn-duration`)&&(t.pageTurnDuration=Number(e.getAttribute(`page-turn-duration`))),e.hasAttribute(`show-page-number`)){let n=e.getAttribute(`show-page-number`);t.showPageNumber=n!==`false`&&n!==`0`}if(e.hasAttribute(`photos`))try{t.photos=JSON.parse(e.getAttribute(`photos`)??`null`)}catch{}let n=e._photos;if(n!==void 0&&(t.photos=n),e.hasAttribute(`labels`))try{t.labels=JSON.parse(e.getAttribute(`labels`)??`null`)}catch{}let r=e._labels;return r!==void 0&&(t.labels=r),t.onPageChange=(...t)=>{e.dispatchEvent(new CustomEvent(`page-change`,{detail:t.length<=1?t[0]:t,bubbles:!0}))},t.onIndexChange=(...t)=>{e.dispatchEvent(new CustomEvent(`index-change`,{detail:t.length<=1?t[0]:t,bubbles:!0}))},t}var ln=class extends HTMLElement{ctrl=null;_photos;get photos(){return this._photos}set photos(e){this._photos=e,this.ctrl?.update(O(this))}_labels;get labels(){return this._labels}set labels(e){this._labels=e,this.ctrl?.update(O(this))}static get observedAttributes(){return[`photos`,`width`,`height`,`initial-index`,`page-turn-duration`,`object-fit`,`show-page-number`,`page-color`,`cover-color`,`aria-label`,`labels`]}connectedCallback(){this.ctrl=e.nn(this,O(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(O(this))}};typeof customElements<`u`&&!customElements.get(`cos-photo-album`)&&customElements.define(cn,ln);var un=`cos-photo-carousel`;function k(e){let t={};if(e.hasAttribute(`width`)){let n=e.getAttribute(`width`),r=Number(n);t.width=n!=null&&n!==``&&!Number.isNaN(r)?r:n??void 0}if(e.hasAttribute(`height`)){let n=e.getAttribute(`height`),r=Number(n);t.height=n!=null&&n!==``&&!Number.isNaN(r)?r:n??void 0}if(e.hasAttribute(`aria-label`)&&(t.ariaLabel=e.getAttribute(`aria-label`)??void 0),e.hasAttribute(`radius`)&&(t.radius=Number(e.getAttribute(`radius`))),e.hasAttribute(`card-width`)&&(t.cardWidth=Number(e.getAttribute(`card-width`))),e.hasAttribute(`card-height`)&&(t.cardHeight=Number(e.getAttribute(`card-height`))),e.hasAttribute(`auto-rotate-speed`)&&(t.autoRotateSpeed=Number(e.getAttribute(`auto-rotate-speed`))),e.hasAttribute(`drag-sensitivity`)&&(t.dragSensitivity=Number(e.getAttribute(`drag-sensitivity`))),e.hasAttribute(`friction`)&&(t.friction=Number(e.getAttribute(`friction`))),e.hasAttribute(`initial-angle`)&&(t.initialAngle=Number(e.getAttribute(`initial-angle`))),e.hasAttribute(`auto-rotate`)){let n=e.getAttribute(`auto-rotate`);t.autoRotate=n!==`false`&&n!==`0`}if(e.hasAttribute(`show-caption`)){let n=e.getAttribute(`show-caption`);t.showCaption=n!==`false`&&n!==`0`}if(e.hasAttribute(`photos`))try{t.photos=JSON.parse(e.getAttribute(`photos`)??`null`)}catch{}let n=e._photos;return n!==void 0&&(t.photos=n),t.onPhotoClick=(...t)=>{e.dispatchEvent(new CustomEvent(`photo-click`,{detail:t.length<=1?t[0]:t,bubbles:!0}))},t.onFaceChange=(...t)=>{e.dispatchEvent(new CustomEvent(`face-change`,{detail:t.length<=1?t[0]:t,bubbles:!0}))},t.onIndexChange=(...t)=>{e.dispatchEvent(new CustomEvent(`index-change`,{detail:t.length<=1?t[0]:t,bubbles:!0}))},t}var dn=class extends HTMLElement{ctrl=null;_photos;get photos(){return this._photos}set photos(e){this._photos=e,this.ctrl?.update(k(this))}static get observedAttributes(){return[`photos`,`width`,`height`,`radius`,`card-width`,`card-height`,`auto-rotate`,`auto-rotate-speed`,`drag-sensitivity`,`friction`,`show-caption`,`initial-angle`,`aria-label`]}connectedCallback(){this.ctrl=e.tn(this,k(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(k(this))}};typeof customElements<`u`&&!customElements.get(`cos-photo-carousel`)&&customElements.define(un,dn);var fn=`cos-photo-clothesline`;function A(e){let t={};if(e.hasAttribute(`width`)){let n=e.getAttribute(`width`),r=Number(n);t.width=n!=null&&n!==``&&!Number.isNaN(r)?r:n??void 0}if(e.hasAttribute(`height`)){let n=e.getAttribute(`height`),r=Number(n);t.height=n!=null&&n!==``&&!Number.isNaN(r)?r:n??void 0}if(e.hasAttribute(`rope-color`)&&(t.ropeColor=e.getAttribute(`rope-color`)??void 0),e.hasAttribute(`band-color`)&&(t.bandColor=e.getAttribute(`band-color`)??void 0),e.hasAttribute(`pin-color`)&&(t.pinColor=e.getAttribute(`pin-color`)??void 0),e.hasAttribute(`frame-color`)&&(t.frameColor=e.getAttribute(`frame-color`)??void 0),e.hasAttribute(`background`)&&(t.background=e.getAttribute(`background`)??void 0),e.hasAttribute(`object-fit`)&&(t.objectFit=e.getAttribute(`object-fit`)??void 0),e.hasAttribute(`aria-label`)&&(t.ariaLabel=e.getAttribute(`aria-label`)??void 0),e.hasAttribute(`photo-width`)&&(t.photoWidth=Number(e.getAttribute(`photo-width`))),e.hasAttribute(`photo-height`)&&(t.photoHeight=Number(e.getAttribute(`photo-height`))),e.hasAttribute(`photo-gap`)&&(t.photoGap=Number(e.getAttribute(`photo-gap`))),e.hasAttribute(`rope-top`)&&(t.ropeTop=Number(e.getAttribute(`rope-top`))),e.hasAttribute(`rope-sag`)&&(t.ropeSag=Number(e.getAttribute(`rope-sag`))),e.hasAttribute(`band-length`)&&(t.bandLength=Number(e.getAttribute(`band-length`))),e.hasAttribute(`band-width`)&&(t.bandWidth=Number(e.getAttribute(`band-width`))),e.hasAttribute(`max-pull`)&&(t.maxPull=Number(e.getAttribute(`max-pull`))),e.hasAttribute(`stiffness`)&&(t.stiffness=Number(e.getAttribute(`stiffness`))),e.hasAttribute(`damping`)&&(t.damping=Number(e.getAttribute(`damping`))),e.hasAttribute(`tension`)&&(t.tension=Number(e.getAttribute(`tension`))),e.hasAttribute(`tilt`)&&(t.tilt=Number(e.getAttribute(`tilt`))),e.hasAttribute(`initial-index`)&&(t.initialIndex=Number(e.getAttribute(`initial-index`))),e.hasAttribute(`show-caption`)){let n=e.getAttribute(`show-caption`);t.showCaption=n!==`false`&&n!==`0`}if(e.hasAttribute(`photos`))try{t.photos=JSON.parse(e.getAttribute(`photos`)??`null`)}catch{}let n=e._photos;return n!==void 0&&(t.photos=n),t.onIndexChange=(...t)=>{e.dispatchEvent(new CustomEvent(`index-change`,{detail:t.length<=1?t[0]:t,bubbles:!0}))},t.onPhotoClick=(...t)=>{e.dispatchEvent(new CustomEvent(`photo-click`,{detail:t.length<=1?t[0]:t,bubbles:!0}))},t}var pn=class extends HTMLElement{ctrl=null;_photos;get photos(){return this._photos}set photos(e){this._photos=e,this.ctrl?.update(A(this))}static get observedAttributes(){return[`photos`,`width`,`height`,`photo-width`,`photo-height`,`photo-gap`,`rope-top`,`rope-sag`,`band-length`,`band-width`,`max-pull`,`stiffness`,`damping`,`tension`,`tilt`,`rope-color`,`band-color`,`pin-color`,`frame-color`,`background`,`object-fit`,`show-caption`,`initial-index`,`aria-label`]}connectedCallback(){this.ctrl=e.en(this,A(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(A(this))}};typeof customElements<`u`&&!customElements.get(`cos-photo-clothesline`)&&customElements.define(fn,pn);var mn=`cos-photo-filmstrip`;function j(e){let t={};if(e.hasAttribute(`width`)){let n=e.getAttribute(`width`),r=Number(n);t.width=n!=null&&n!==``&&!Number.isNaN(r)?r:n??void 0}if(e.hasAttribute(`height`)){let n=e.getAttribute(`height`),r=Number(n);t.height=n!=null&&n!==``&&!Number.isNaN(r)?r:n??void 0}if(e.hasAttribute(`aria-label`)&&(t.ariaLabel=e.getAttribute(`aria-label`)??void 0),e.hasAttribute(`frame-width`)&&(t.frameWidth=Number(e.getAttribute(`frame-width`))),e.hasAttribute(`frame-height`)&&(t.frameHeight=Number(e.getAttribute(`frame-height`))),e.hasAttribute(`frame-gap`)&&(t.frameGap=Number(e.getAttribute(`frame-gap`))),e.hasAttribute(`friction`)&&(t.friction=Number(e.getAttribute(`friction`))),e.hasAttribute(`drag-sensitivity`)&&(t.dragSensitivity=Number(e.getAttribute(`drag-sensitivity`))),e.hasAttribute(`initial-index`)&&(t.initialIndex=Number(e.getAttribute(`initial-index`))),e.hasAttribute(`show-caption`)){let n=e.getAttribute(`show-caption`);t.showCaption=n!==`false`&&n!==`0`}if(e.hasAttribute(`photos`))try{t.photos=JSON.parse(e.getAttribute(`photos`)??`null`)}catch{}let n=e._photos;return n!==void 0&&(t.photos=n),t.onPhotoClick=(...t)=>{e.dispatchEvent(new CustomEvent(`photo-click`,{detail:t.length<=1?t[0]:t,bubbles:!0}))},t.onIndexChange=(...t)=>{e.dispatchEvent(new CustomEvent(`index-change`,{detail:t.length<=1?t[0]:t,bubbles:!0}))},t}var hn=class extends HTMLElement{ctrl=null;_photos;get photos(){return this._photos}set photos(e){this._photos=e,this.ctrl?.update(j(this))}static get observedAttributes(){return[`photos`,`width`,`height`,`frame-width`,`frame-height`,`frame-gap`,`show-caption`,`friction`,`drag-sensitivity`,`initial-index`,`aria-label`]}connectedCallback(){this.ctrl=e.$t(this,j(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(j(this))}};typeof customElements<`u`&&!customElements.get(`cos-photo-filmstrip`)&&customElements.define(mn,hn);var gn=`cos-photo-fridge`;function M(e){let t={};if(e.hasAttribute(`width`)){let n=e.getAttribute(`width`),r=Number(n);t.width=n!=null&&n!==``&&!Number.isNaN(r)?r:n??void 0}if(e.hasAttribute(`height`)){let n=e.getAttribute(`height`),r=Number(n);t.height=n!=null&&n!==``&&!Number.isNaN(r)?r:n??void 0}if(e.hasAttribute(`aria-label`)&&(t.ariaLabel=e.getAttribute(`aria-label`)??void 0),e.hasAttribute(`card-width`)&&(t.cardWidth=Number(e.getAttribute(`card-width`))),e.hasAttribute(`card-height`)&&(t.cardHeight=Number(e.getAttribute(`card-height`))),e.hasAttribute(`scatter`)&&(t.scatter=Number(e.getAttribute(`scatter`))),e.hasAttribute(`friction`)&&(t.friction=Number(e.getAttribute(`friction`))),e.hasAttribute(`initial-index`)&&(t.initialIndex=Number(e.getAttribute(`initial-index`))),e.hasAttribute(`show-caption`)){let n=e.getAttribute(`show-caption`);t.showCaption=n!==`false`&&n!==`0`}if(e.hasAttribute(`photos`))try{t.photos=JSON.parse(e.getAttribute(`photos`)??`null`)}catch{}let n=e._photos;return n!==void 0&&(t.photos=n),t.onPhotoClick=(...t)=>{e.dispatchEvent(new CustomEvent(`photo-click`,{detail:t.length<=1?t[0]:t,bubbles:!0}))},t}var _n=class extends HTMLElement{ctrl=null;_photos;get photos(){return this._photos}set photos(e){this._photos=e,this.ctrl?.update(M(this))}static get observedAttributes(){return[`photos`,`width`,`height`,`card-width`,`card-height`,`scatter`,`friction`,`show-caption`,`initial-index`,`aria-label`]}connectedCallback(){this.ctrl=e.Qt(this,M(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(M(this))}};typeof customElements<`u`&&!customElements.get(`cos-photo-fridge`)&&customElements.define(gn,_n);var vn=`cos-photo-lantern`;function N(e){let t={};if(e.hasAttribute(`width`)){let n=e.getAttribute(`width`),r=Number(n);t.width=n!=null&&n!==``&&!Number.isNaN(r)?r:n??void 0}if(e.hasAttribute(`height`)){let n=e.getAttribute(`height`),r=Number(n);t.height=n!=null&&n!==``&&!Number.isNaN(r)?r:n??void 0}if(e.hasAttribute(`frame-color`)&&(t.frameColor=e.getAttribute(`frame-color`)??void 0),e.hasAttribute(`paper-color`)&&(t.paperColor=e.getAttribute(`paper-color`)??void 0),e.hasAttribute(`light-color`)&&(t.lightColor=e.getAttribute(`light-color`)??void 0),e.hasAttribute(`background`)&&(t.background=e.getAttribute(`background`)??void 0),e.hasAttribute(`tassel-color`)&&(t.tasselColor=e.getAttribute(`tassel-color`)??void 0),e.hasAttribute(`object-fit`)&&(t.objectFit=e.getAttribute(`object-fit`)??void 0),e.hasAttribute(`aria-label`)&&(t.ariaLabel=e.getAttribute(`aria-label`)??void 0),e.hasAttribute(`auto-rotate-speed`)&&(t.autoRotateSpeed=Number(e.getAttribute(`auto-rotate-speed`))),e.hasAttribute(`drag-sensitivity`)&&(t.dragSensitivity=Number(e.getAttribute(`drag-sensitivity`))),e.hasAttribute(`friction`)&&(t.friction=Number(e.getAttribute(`friction`))),e.hasAttribute(`light-sway`)&&(t.lightSway=Number(e.getAttribute(`light-sway`))),e.hasAttribute(`initial-angle`)&&(t.initialAngle=Number(e.getAttribute(`initial-angle`))),e.hasAttribute(`auto-rotate`)){let n=e.getAttribute(`auto-rotate`);t.autoRotate=n!==`false`&&n!==`0`}if(e.hasAttribute(`show-accessories`)){let n=e.getAttribute(`show-accessories`);t.showAccessories=n!==`false`&&n!==`0`}if(e.hasAttribute(`silhouette`)){let n=e.getAttribute(`silhouette`);t.silhouette=n!==`false`&&n!==`0`}if(e.hasAttribute(`show-caption`)){let n=e.getAttribute(`show-caption`);t.showCaption=n!==`false`&&n!==`0`}if(e.hasAttribute(`photos`))try{t.photos=JSON.parse(e.getAttribute(`photos`)??`null`)}catch{}let n=e._photos;return n!==void 0&&(t.photos=n),t.onFaceChange=(...t)=>{e.dispatchEvent(new CustomEvent(`face-change`,{detail:t.length<=1?t[0]:t,bubbles:!0}))},t.onIndexChange=(...t)=>{e.dispatchEvent(new CustomEvent(`index-change`,{detail:t.length<=1?t[0]:t,bubbles:!0}))},t.onPhotoClick=(...t)=>{e.dispatchEvent(new CustomEvent(`photo-click`,{detail:t.length<=1?t[0]:t,bubbles:!0}))},t}var yn=class extends HTMLElement{ctrl=null;_photos;get photos(){return this._photos}set photos(e){this._photos=e,this.ctrl?.update(N(this))}static get observedAttributes(){return[`photos`,`width`,`height`,`auto-rotate`,`auto-rotate-speed`,`drag-sensitivity`,`friction`,`frame-color`,`paper-color`,`light-color`,`background`,`light-sway`,`show-accessories`,`tassel-color`,`object-fit`,`silhouette`,`show-caption`,`initial-angle`,`aria-label`]}connectedCallback(){this.ctrl=e.Zt(this,N(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(N(this))}};typeof customElements<`u`&&!customElements.get(`cos-photo-lantern`)&&customElements.define(vn,yn);var bn=`cos-photo-lightbox`;function P(e){let t={};if(e.hasAttribute(`width`)){let n=e.getAttribute(`width`),r=Number(n);t.width=n!=null&&n!==``&&!Number.isNaN(r)?r:n??void 0}if(e.hasAttribute(`height`)){let n=e.getAttribute(`height`),r=Number(n);t.height=n!=null&&n!==``&&!Number.isNaN(r)?r:n??void 0}if(e.hasAttribute(`aria-label`)&&(t.ariaLabel=e.getAttribute(`aria-label`)??void 0),e.hasAttribute(`slide-width`)&&(t.slideWidth=Number(e.getAttribute(`slide-width`))),e.hasAttribute(`slide-height`)&&(t.slideHeight=Number(e.getAttribute(`slide-height`))),e.hasAttribute(`pull-threshold`)&&(t.pullThreshold=Number(e.getAttribute(`pull-threshold`))),e.hasAttribute(`initial-index`)&&(t.initialIndex=Number(e.getAttribute(`initial-index`))),e.hasAttribute(`show-caption`)){let n=e.getAttribute(`show-caption`);t.showCaption=n!==`false`&&n!==`0`}if(e.hasAttribute(`photos`))try{t.photos=JSON.parse(e.getAttribute(`photos`)??`null`)}catch{}let n=e._photos;return n!==void 0&&(t.photos=n),t.onPhotoClick=(...t)=>{e.dispatchEvent(new CustomEvent(`photo-click`,{detail:t.length<=1?t[0]:t,bubbles:!0}))},t.onIndexChange=(...t)=>{e.dispatchEvent(new CustomEvent(`index-change`,{detail:t.length<=1?t[0]:t,bubbles:!0}))},t}var xn=class extends HTMLElement{ctrl=null;_photos;get photos(){return this._photos}set photos(e){this._photos=e,this.ctrl?.update(P(this))}static get observedAttributes(){return[`photos`,`width`,`height`,`slide-width`,`slide-height`,`pull-threshold`,`show-caption`,`initial-index`,`aria-label`]}connectedCallback(){this.ctrl=e.Xt(this,P(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(P(this))}};typeof customElements<`u`&&!customElements.get(`cos-photo-lightbox`)&&customElements.define(bn,xn);var Sn=`cos-photo-polaroid`;function F(e){let t={};if(e.hasAttribute(`width`)){let n=e.getAttribute(`width`),r=Number(n);t.width=n!=null&&n!==``&&!Number.isNaN(r)?r:n??void 0}if(e.hasAttribute(`height`)){let n=e.getAttribute(`height`),r=Number(n);t.height=n!=null&&n!==``&&!Number.isNaN(r)?r:n??void 0}if(e.hasAttribute(`aria-label`)&&(t.ariaLabel=e.getAttribute(`aria-label`)??void 0),e.hasAttribute(`card-width`)&&(t.cardWidth=Number(e.getAttribute(`card-width`))),e.hasAttribute(`card-height`)&&(t.cardHeight=Number(e.getAttribute(`card-height`))),e.hasAttribute(`scatter`)&&(t.scatter=Number(e.getAttribute(`scatter`))),e.hasAttribute(`initial-index`)&&(t.initialIndex=Number(e.getAttribute(`initial-index`))),e.hasAttribute(`show-caption`)){let n=e.getAttribute(`show-caption`);t.showCaption=n!==`false`&&n!==`0`}if(e.hasAttribute(`photos`))try{t.photos=JSON.parse(e.getAttribute(`photos`)??`null`)}catch{}let n=e._photos;return n!==void 0&&(t.photos=n),t.onPhotoClick=(...t)=>{e.dispatchEvent(new CustomEvent(`photo-click`,{detail:t.length<=1?t[0]:t,bubbles:!0}))},t}var Cn=class extends HTMLElement{ctrl=null;_photos;get photos(){return this._photos}set photos(e){this._photos=e,this.ctrl?.update(F(this))}static get observedAttributes(){return[`photos`,`width`,`height`,`card-width`,`card-height`,`scatter`,`show-caption`,`initial-index`,`aria-label`]}connectedCallback(){this.ctrl=e.Yt(this,F(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(F(this))}};typeof customElements<`u`&&!customElements.get(`cos-photo-polaroid`)&&customElements.define(Sn,Cn);var wn=`cos-photo-postcard`;function I(e){let t={};if(e.hasAttribute(`width`)){let n=e.getAttribute(`width`),r=Number(n);t.width=n!=null&&n!==``&&!Number.isNaN(r)?r:n??void 0}if(e.hasAttribute(`height`)){let n=e.getAttribute(`height`),r=Number(n);t.height=n!=null&&n!==``&&!Number.isNaN(r)?r:n??void 0}if(e.hasAttribute(`aria-label`)&&(t.ariaLabel=e.getAttribute(`aria-label`)??void 0),e.hasAttribute(`card-width`)&&(t.cardWidth=Number(e.getAttribute(`card-width`))),e.hasAttribute(`card-height`)&&(t.cardHeight=Number(e.getAttribute(`card-height`))),e.hasAttribute(`pull-threshold`)&&(t.pullThreshold=Number(e.getAttribute(`pull-threshold`))),e.hasAttribute(`initial-index`)&&(t.initialIndex=Number(e.getAttribute(`initial-index`))),e.hasAttribute(`show-caption`)){let n=e.getAttribute(`show-caption`);t.showCaption=n!==`false`&&n!==`0`}if(e.hasAttribute(`initial-flipped`)){let n=e.getAttribute(`initial-flipped`);t.initialFlipped=n!==`false`&&n!==`0`}if(e.hasAttribute(`photos`))try{t.photos=JSON.parse(e.getAttribute(`photos`)??`null`)}catch{}let n=e._photos;return n!==void 0&&(t.photos=n),t.onPhotoClick=(...t)=>{e.dispatchEvent(new CustomEvent(`photo-click`,{detail:t.length<=1?t[0]:t,bubbles:!0}))},t.onIndexChange=(...t)=>{e.dispatchEvent(new CustomEvent(`index-change`,{detail:t.length<=1?t[0]:t,bubbles:!0}))},t.onFlipChange=(...t)=>{e.dispatchEvent(new CustomEvent(`flip-change`,{detail:t.length<=1?t[0]:t,bubbles:!0}))},t}var Tn=class extends HTMLElement{ctrl=null;_photos;get photos(){return this._photos}set photos(e){this._photos=e,this.ctrl?.update(I(this))}static get observedAttributes(){return[`photos`,`width`,`height`,`card-width`,`card-height`,`pull-threshold`,`show-caption`,`initial-index`,`initial-flipped`,`aria-label`]}connectedCallback(){this.ctrl=t.t(this,I(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(I(this))}};typeof customElements<`u`&&!customElements.get(`cos-photo-postcard`)&&customElements.define(wn,Tn);var En=`cos-photo-prism`;function L(e){let t={};if(e.hasAttribute(`width`)){let n=e.getAttribute(`width`),r=Number(n);t.width=n!=null&&n!==``&&!Number.isNaN(r)?r:n??void 0}if(e.hasAttribute(`height`)){let n=e.getAttribute(`height`),r=Number(n);t.height=n!=null&&n!==``&&!Number.isNaN(r)?r:n??void 0}if(e.hasAttribute(`aria-label`)&&(t.ariaLabel=e.getAttribute(`aria-label`)??void 0),e.hasAttribute(`size`)&&(t.size=Number(e.getAttribute(`size`))),e.hasAttribute(`drag-sensitivity`)&&(t.dragSensitivity=Number(e.getAttribute(`drag-sensitivity`))),e.hasAttribute(`friction`)&&(t.friction=Number(e.getAttribute(`friction`))),e.hasAttribute(`auto-rotate`)){let n=e.getAttribute(`auto-rotate`);t.autoRotate=n!==`false`&&n!==`0`}if(e.hasAttribute(`show-caption`)){let n=e.getAttribute(`show-caption`);t.showCaption=n!==`false`&&n!==`0`}if(e.hasAttribute(`photos`))try{t.photos=JSON.parse(e.getAttribute(`photos`)??`null`)}catch{}let n=e._photos;return n!==void 0&&(t.photos=n),t.onPhotoClick=(...t)=>{e.dispatchEvent(new CustomEvent(`photo-click`,{detail:t.length<=1?t[0]:t,bubbles:!0}))},t}var Dn=class extends HTMLElement{ctrl=null;_photos;get photos(){return this._photos}set photos(e){this._photos=e,this.ctrl?.update(L(this))}static get observedAttributes(){return[`photos`,`width`,`height`,`size`,`auto-rotate`,`drag-sensitivity`,`friction`,`show-caption`,`aria-label`]}connectedCallback(){this.ctrl=e.Jt(this,L(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(L(this))}};typeof customElements<`u`&&!customElements.get(`cos-photo-prism`)&&customElements.define(En,Dn);var On=`cos-photo-scroll`;function R(e){let t={};if(e.hasAttribute(`width`)){let n=e.getAttribute(`width`),r=Number(n);t.width=n!=null&&n!==``&&!Number.isNaN(r)?r:n??void 0}if(e.hasAttribute(`height`)){let n=e.getAttribute(`height`),r=Number(n);t.height=n!=null&&n!==``&&!Number.isNaN(r)?r:n??void 0}if(e.hasAttribute(`aria-label`)&&(t.ariaLabel=e.getAttribute(`aria-label`)??void 0),e.hasAttribute(`frame-width`)&&(t.frameWidth=Number(e.getAttribute(`frame-width`))),e.hasAttribute(`frame-height`)&&(t.frameHeight=Number(e.getAttribute(`frame-height`))),e.hasAttribute(`frame-gap`)&&(t.frameGap=Number(e.getAttribute(`frame-gap`))),e.hasAttribute(`drag-sensitivity`)&&(t.dragSensitivity=Number(e.getAttribute(`drag-sensitivity`))),e.hasAttribute(`friction`)&&(t.friction=Number(e.getAttribute(`friction`))),e.hasAttribute(`initial-index`)&&(t.initialIndex=Number(e.getAttribute(`initial-index`))),e.hasAttribute(`show-caption`)){let n=e.getAttribute(`show-caption`);t.showCaption=n!==`false`&&n!==`0`}if(e.hasAttribute(`photos`))try{t.photos=JSON.parse(e.getAttribute(`photos`)??`null`)}catch{}let n=e._photos;return n!==void 0&&(t.photos=n),t.onPhotoClick=(...t)=>{e.dispatchEvent(new CustomEvent(`photo-click`,{detail:t.length<=1?t[0]:t,bubbles:!0}))},t.onIndexChange=(...t)=>{e.dispatchEvent(new CustomEvent(`index-change`,{detail:t.length<=1?t[0]:t,bubbles:!0}))},t}var kn=class extends HTMLElement{ctrl=null;_photos;get photos(){return this._photos}set photos(e){this._photos=e,this.ctrl?.update(R(this))}static get observedAttributes(){return[`photos`,`width`,`height`,`frame-width`,`frame-height`,`frame-gap`,`drag-sensitivity`,`friction`,`show-caption`,`initial-index`,`aria-label`]}connectedCallback(){this.ctrl=e.qt(this,R(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(R(this))}};typeof customElements<`u`&&!customElements.get(`cos-photo-scroll`)&&customElements.define(On,kn);var An=`cos-photo-tunnel`;function z(e){let t={};if(e.hasAttribute(`width`)){let n=e.getAttribute(`width`),r=Number(n);t.width=n!=null&&n!==``&&!Number.isNaN(r)?r:n??void 0}if(e.hasAttribute(`height`)){let n=e.getAttribute(`height`),r=Number(n);t.height=n!=null&&n!==``&&!Number.isNaN(r)?r:n??void 0}if(e.hasAttribute(`aria-label`)&&(t.ariaLabel=e.getAttribute(`aria-label`)??void 0),e.hasAttribute(`depth-step`)&&(t.depthStep=Number(e.getAttribute(`depth-step`))),e.hasAttribute(`drag-sensitivity`)&&(t.dragSensitivity=Number(e.getAttribute(`drag-sensitivity`))),e.hasAttribute(`friction`)&&(t.friction=Number(e.getAttribute(`friction`))),e.hasAttribute(`auto-advance-speed`)&&(t.autoAdvanceSpeed=Number(e.getAttribute(`auto-advance-speed`))),e.hasAttribute(`initial-index`)&&(t.initialIndex=Number(e.getAttribute(`initial-index`))),e.hasAttribute(`auto-advance`)){let n=e.getAttribute(`auto-advance`);t.autoAdvance=n!==`false`&&n!==`0`}if(e.hasAttribute(`show-caption`)){let n=e.getAttribute(`show-caption`);t.showCaption=n!==`false`&&n!==`0`}if(e.hasAttribute(`photos`))try{t.photos=JSON.parse(e.getAttribute(`photos`)??`null`)}catch{}let n=e._photos;return n!==void 0&&(t.photos=n),t.onPhotoClick=(...t)=>{e.dispatchEvent(new CustomEvent(`photo-click`,{detail:t.length<=1?t[0]:t,bubbles:!0}))},t.onIndexChange=(...t)=>{e.dispatchEvent(new CustomEvent(`index-change`,{detail:t.length<=1?t[0]:t,bubbles:!0}))},t}var jn=class extends HTMLElement{ctrl=null;_photos;get photos(){return this._photos}set photos(e){this._photos=e,this.ctrl?.update(z(this))}static get observedAttributes(){return[`photos`,`width`,`height`,`depth-step`,`drag-sensitivity`,`friction`,`auto-advance`,`auto-advance-speed`,`show-caption`,`initial-index`,`aria-label`]}connectedCallback(){this.ctrl=e.Kt(this,z(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(z(this))}};typeof customElements<`u`&&!customElements.get(`cos-photo-tunnel`)&&customElements.define(An,jn);var Mn=`cos-photo-view-master`;function B(e){let t={};if(e.hasAttribute(`width`)){let n=e.getAttribute(`width`),r=Number(n);t.width=n!=null&&n!==``&&!Number.isNaN(r)?r:n??void 0}if(e.hasAttribute(`height`)){let n=e.getAttribute(`height`),r=Number(n);t.height=n!=null&&n!==``&&!Number.isNaN(r)?r:n??void 0}if(e.hasAttribute(`aria-label`)&&(t.ariaLabel=e.getAttribute(`aria-label`)??void 0),e.hasAttribute(`disc-size`)&&(t.discSize=Number(e.getAttribute(`disc-size`))),e.hasAttribute(`peep-size`)&&(t.peepSize=Number(e.getAttribute(`peep-size`))),e.hasAttribute(`drag-sensitivity`)&&(t.dragSensitivity=Number(e.getAttribute(`drag-sensitivity`))),e.hasAttribute(`friction`)&&(t.friction=Number(e.getAttribute(`friction`))),e.hasAttribute(`auto-rotate-speed`)&&(t.autoRotateSpeed=Number(e.getAttribute(`auto-rotate-speed`))),e.hasAttribute(`initial-index`)&&(t.initialIndex=Number(e.getAttribute(`initial-index`))),e.hasAttribute(`auto-rotate`)){let n=e.getAttribute(`auto-rotate`);t.autoRotate=n!==`false`&&n!==`0`}if(e.hasAttribute(`show-caption`)){let n=e.getAttribute(`show-caption`);t.showCaption=n!==`false`&&n!==`0`}if(e.hasAttribute(`photos`))try{t.photos=JSON.parse(e.getAttribute(`photos`)??`null`)}catch{}let n=e._photos;return n!==void 0&&(t.photos=n),t.onPhotoClick=(...t)=>{e.dispatchEvent(new CustomEvent(`photo-click`,{detail:t.length<=1?t[0]:t,bubbles:!0}))},t.onIndexChange=(...t)=>{e.dispatchEvent(new CustomEvent(`index-change`,{detail:t.length<=1?t[0]:t,bubbles:!0}))},t}var Nn=class extends HTMLElement{ctrl=null;_photos;get photos(){return this._photos}set photos(e){this._photos=e,this.ctrl?.update(B(this))}static get observedAttributes(){return[`photos`,`width`,`height`,`disc-size`,`peep-size`,`drag-sensitivity`,`friction`,`auto-rotate`,`auto-rotate-speed`,`show-caption`,`initial-index`,`aria-label`]}connectedCallback(){this.ctrl=e.Gt(this,B(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(B(this))}};typeof customElements<`u`&&!customElements.get(`cos-photo-view-master`)&&customElements.define(Mn,Nn);var Pn=`cos-plasma-ball`;function Fn(e){let t={};return e.hasAttribute(`color`)&&(t.color=e.getAttribute(`color`)??void 0),e.hasAttribute(`width`)&&(t.width=Number(e.getAttribute(`width`))),e.hasAttribute(`height`)&&(t.height=Number(e.getAttribute(`height`))),e.hasAttribute(`arc-count`)&&(t.arcCount=Number(e.getAttribute(`arc-count`))),t}var In=class extends HTMLElement{ctrl=null;static get observedAttributes(){return[`width`,`height`,`color`,`arc-count`]}connectedCallback(){this.ctrl=e.Wt(this,Fn(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(Fn(this))}};typeof customElements<`u`&&!customElements.get(`cos-plasma-ball`)&&customElements.define(Pn,In);var Ln=`cos-progress-chest`;function Rn(e){let t={};if(e.hasAttribute(`label`)&&(t.label=e.getAttribute(`label`)??void 0),e.hasAttribute(`opened-label`)&&(t.openedLabel=e.getAttribute(`opened-label`)??void 0),e.hasAttribute(`progress`)&&(t.progress=Number(e.getAttribute(`progress`))),e.hasAttribute(`auto`)){let n=e.getAttribute(`auto`);t.auto=n!==`false`&&n!==`0`}return t.onOpen=(...t)=>{e.dispatchEvent(new CustomEvent(`open`,{detail:t.length<=1?t[0]:t,bubbles:!0}))},t}var zn=class extends HTMLElement{ctrl=null;static get observedAttributes(){return[`progress`,`auto`,`label`,`opened-label`]}connectedCallback(){this.ctrl=e.Nt(this,Rn(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(Rn(this))}};typeof customElements<`u`&&!customElements.get(`cos-progress-chest`)&&customElements.define(Ln,zn);var Bn=`cos-radar-scan`;function Vn(e){let t={};return e.hasAttribute(`color`)&&(t.color=e.getAttribute(`color`)??void 0),e.hasAttribute(`size`)&&(t.size=Number(e.getAttribute(`size`))),e.hasAttribute(`blip-count`)&&(t.blipCount=Number(e.getAttribute(`blip-count`))),t}var Hn=class extends HTMLElement{ctrl=null;static get observedAttributes(){return[`size`,`color`,`blip-count`]}connectedCallback(){this.ctrl=e.Mt(this,Vn(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(Vn(this))}};typeof customElements<`u`&&!customElements.get(`cos-radar-scan`)&&customElements.define(Bn,Hn);var Un=`cos-red-packet-rain`;function Wn(e){let t={};if(e.hasAttribute(`grabbed-label`)&&(t.grabbedLabel=e.getAttribute(`grabbed-label`)??void 0),e.hasAttribute(`ended-text`)&&(t.endedText=e.getAttribute(`ended-text`)??void 0),e.hasAttribute(`hint`)&&(t.hint=e.getAttribute(`hint`)??void 0),e.hasAttribute(`width`)&&(t.width=Number(e.getAttribute(`width`))),e.hasAttribute(`height`)&&(t.height=Number(e.getAttribute(`height`))),e.hasAttribute(`duration`)&&(t.duration=Number(e.getAttribute(`duration`))),t.fill=e.hasAttribute(`fill`),e.hasAttribute(`auto`)){let n=e.getAttribute(`auto`);t.auto=n!==`false`&&n!==`0`}return t.onGrab=(...t)=>{e.dispatchEvent(new CustomEvent(`grab`,{detail:t.length<=1?t[0]:t,bubbles:!0}))},t.onEnd=(...t)=>{e.dispatchEvent(new CustomEvent(`end`,{detail:t.length<=1?t[0]:t,bubbles:!0}))},t}var Gn=class extends HTMLElement{ctrl=null;static get observedAttributes(){return[`width`,`height`,`fill`,`duration`,`auto`,`grabbed-label`,`ended-text`,`hint`]}connectedCallback(){this.ctrl=e.jt(this,Wn(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(Wn(this))}start(){return this.ctrl?.start()}stop(){return this.ctrl?.stop()}reset(){return this.ctrl?.reset()}};typeof customElements<`u`&&!customElements.get(`cos-red-packet-rain`)&&customElements.define(Un,Gn);var Kn=`cos-return-city`;function qn(e){let t={};return e.hasAttribute(`star-count`)&&(t.starCount=Number(e.getAttribute(`star-count`))),e.hasAttribute(`glass-count`)&&(t.glassCount=Number(e.getAttribute(`glass-count`))),e.hasAttribute(`glass-radius`)&&(t.glassRadius=Number(e.getAttribute(`glass-radius`))),t}var Jn=class extends HTMLElement{ctrl=null;static get observedAttributes(){return[`star-count`,`glass-count`,`glass-radius`]}connectedCallback(){this.ctrl=e.At(this,qn(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(qn(this))}};typeof customElements<`u`&&!customElements.get(`cos-return-city`)&&customElements.define(Kn,Jn);var Yn=`cos-ripple-water`;function Xn(e){let t={};if(e.hasAttribute(`from-color`)&&(t.fromColor=e.getAttribute(`from-color`)??void 0),e.hasAttribute(`to-color`)&&(t.toColor=e.getAttribute(`to-color`)??void 0),e.hasAttribute(`color`)&&(t.color=e.getAttribute(`color`)??void 0),e.hasAttribute(`hint`)&&(t.hint=e.getAttribute(`hint`)??void 0),e.hasAttribute(`width`)&&(t.width=Number(e.getAttribute(`width`))),e.hasAttribute(`height`)&&(t.height=Number(e.getAttribute(`height`))),e.hasAttribute(`wave-amplitude`)&&(t.waveAmplitude=Number(e.getAttribute(`wave-amplitude`))),e.hasAttribute(`wave-speed`)&&(t.waveSpeed=Number(e.getAttribute(`wave-speed`))),e.hasAttribute(`shimmer`)&&(t.shimmer=Number(e.getAttribute(`shimmer`))),e.hasAttribute(`reflection`)&&(t.reflection=Number(e.getAttribute(`reflection`))),e.hasAttribute(`ripple-strength`)&&(t.rippleStrength=Number(e.getAttribute(`ripple-strength`))),e.hasAttribute(`ripple-radius`)&&(t.rippleRadius=Number(e.getAttribute(`ripple-radius`))),e.hasAttribute(`damping`)&&(t.damping=Number(e.getAttribute(`damping`))),e.hasAttribute(`spread`)&&(t.spread=Number(e.getAttribute(`spread`))),t.fill=e.hasAttribute(`fill`),e.hasAttribute(`interactive`)){let n=e.getAttribute(`interactive`);t.interactive=n!==`false`&&n!==`0`}if(e.hasAttribute(`show-hint`)){let n=e.getAttribute(`show-hint`);t.showHint=n!==`false`&&n!==`0`}return t}var Zn=class extends HTMLElement{ctrl=null;static get observedAttributes(){return[`width`,`height`,`fill`,`from-color`,`to-color`,`color`,`wave-amplitude`,`wave-speed`,`shimmer`,`reflection`,`ripple-strength`,`ripple-radius`,`damping`,`spread`,`interactive`,`show-hint`,`hint`]}connectedCallback(){this.ctrl=e.wt(this,Xn(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(Xn(this))}};typeof customElements<`u`&&!customElements.get(`cos-ripple-water`)&&customElements.define(Yn,Zn);var Qn=`cos-rope-chain`;function V(e){let t={};return e.hasAttribute(`color`)&&(t.color=e.getAttribute(`color`)??void 0),e.hasAttribute(`width`)&&(t.width=Number(e.getAttribute(`width`))),e.hasAttribute(`height`)&&(t.height=Number(e.getAttribute(`height`))),e.hasAttribute(`segments`)&&(t.segments=Number(e.getAttribute(`segments`))),e.hasAttribute(`gravity`)&&(t.gravity=Number(e.getAttribute(`gravity`))),t}var $n=class extends HTMLElement{ctrl=null;static get observedAttributes(){return[`width`,`height`,`segments`,`color`,`gravity`]}connectedCallback(){this.ctrl=e.kt(this,V(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(V(this))}};typeof customElements<`u`&&!customElements.get(`cos-rope-chain`)&&customElements.define(Qn,$n);var er=`cos-rotating-text`;function H(e){let t={};if(e.hasAttribute(`color`)&&(t.color=e.getAttribute(`color`)??void 0),e.hasAttribute(`highlight-color`)&&(t.highlightColor=e.getAttribute(`highlight-color`)??void 0),e.hasAttribute(`interval`)&&(t.interval=Number(e.getAttribute(`interval`))),e.hasAttribute(`stagger`)&&(t.stagger=Number(e.getAttribute(`stagger`))),e.hasAttribute(`duration`)&&(t.duration=Number(e.getAttribute(`duration`))),e.hasAttribute(`font-size`)&&(t.fontSize=Number(e.getAttribute(`font-size`))),e.hasAttribute(`texts`))try{t.texts=JSON.parse(e.getAttribute(`texts`)??`null`)}catch{}let n=e._texts;return n!==void 0&&(t.texts=n),t}var tr=class extends HTMLElement{ctrl=null;_texts;get texts(){return this._texts}set texts(e){this._texts=e,this.ctrl?.update(H(this))}static get observedAttributes(){return[`texts`,`interval`,`stagger`,`duration`,`font-size`,`color`,`highlight-color`]}connectedCallback(){this.ctrl=e.Ot(this,H(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(H(this))}};typeof customElements<`u`&&!customElements.get(`cos-rotating-text`)&&customElements.define(er,tr);var nr=`cos-sand-fall`;function U(e){let t={};if(e.hasAttribute(`hint`)&&(t.hint=e.getAttribute(`hint`)??void 0),e.hasAttribute(`clear-text`)&&(t.clearText=e.getAttribute(`clear-text`)??void 0),e.hasAttribute(`width`)&&(t.width=Number(e.getAttribute(`width`))),e.hasAttribute(`height`)&&(t.height=Number(e.getAttribute(`height`))),e.hasAttribute(`cell-size`)&&(t.cellSize=Number(e.getAttribute(`cell-size`))),e.hasAttribute(`spawn-rate`)&&(t.spawnRate=Number(e.getAttribute(`spawn-rate`))),e.hasAttribute(`colors`))try{t.colors=JSON.parse(e.getAttribute(`colors`)??`null`)}catch{}let n=e._colors;return n!==void 0&&(t.colors=n),t}var rr=class extends HTMLElement{ctrl=null;_colors;get colors(){return this._colors}set colors(e){this._colors=e,this.ctrl?.update(U(this))}static get observedAttributes(){return[`width`,`height`,`cell-size`,`colors`,`spawn-rate`,`hint`,`clear-text`]}connectedCallback(){this.ctrl=e.bt(this,U(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(U(this))}};typeof customElements<`u`&&!customElements.get(`cos-sand-fall`)&&customElements.define(nr,rr);var ir=`cos-scramble-text`;function ar(e){let t={};return e.hasAttribute(`text`)&&(t.text=e.getAttribute(`text`)??void 0),e.hasAttribute(`charset`)&&(t.charset=e.getAttribute(`charset`)??void 0),e.hasAttribute(`duration`)&&(t.duration=Number(e.getAttribute(`duration`))),t}var or=class extends HTMLElement{ctrl=null;static get observedAttributes(){return[`text`,`duration`,`charset`]}connectedCallback(){this.ctrl=e.Ct(this,ar(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(ar(this))}};typeof customElements<`u`&&!customElements.get(`cos-scramble-text`)&&customElements.define(ir,or);var sr=`cos-scratch-card`;function cr(e){let t={};return e.hasAttribute(`cover-color`)&&(t.coverColor=e.getAttribute(`cover-color`)??void 0),e.hasAttribute(`prize`)&&(t.prize=e.getAttribute(`prize`)??void 0),e.hasAttribute(`cover-text`)&&(t.coverText=e.getAttribute(`cover-text`)??void 0),e.hasAttribute(`reveal-threshold`)&&(t.revealThreshold=Number(e.getAttribute(`reveal-threshold`))),e.hasAttribute(`width`)&&(t.width=Number(e.getAttribute(`width`))),e.hasAttribute(`height`)&&(t.height=Number(e.getAttribute(`height`))),t.onReveal=(...t)=>{e.dispatchEvent(new CustomEvent(`reveal`,{detail:t.length<=1?t[0]:t,bubbles:!0}))},t}var lr=class extends HTMLElement{ctrl=null;static get observedAttributes(){return[`cover-color`,`prize`,`cover-text`,`reveal-threshold`,`width`,`height`]}connectedCallback(){this.ctrl=e.St(this,cr(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(cr(this))}reset(){return this.ctrl?.reset()}reveal(){return this.ctrl?.reveal()}};typeof customElements<`u`&&!customElements.get(`cos-scratch-card`)&&customElements.define(sr,lr);var ur=`cos-shiny-text`;function dr(e){let t={};return e.hasAttribute(`text`)&&(t.text=e.getAttribute(`text`)??void 0),e.hasAttribute(`color`)&&(t.color=e.getAttribute(`color`)??void 0),e.hasAttribute(`shine-color`)&&(t.shineColor=e.getAttribute(`shine-color`)??void 0),e.hasAttribute(`speed`)&&(t.speed=Number(e.getAttribute(`speed`))),e.hasAttribute(`font-size`)&&(t.fontSize=Number(e.getAttribute(`font-size`))),t.disabled=e.hasAttribute(`disabled`),t}var fr=class extends HTMLElement{ctrl=null;static get observedAttributes(){return[`text`,`speed`,`color`,`shine-color`,`font-size`,`disabled`]}connectedCallback(){this.ctrl=e.Et(this,dr(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(dr(this))}};typeof customElements<`u`&&!customElements.get(`cos-shiny-text`)&&customElements.define(ur,fr);var pr=`cos-slot-machine`;function W(e){let t={};if(e.hasAttribute(`start-text`)&&(t.startText=e.getAttribute(`start-text`)??void 0),e.hasAttribute(`button-text`)&&(t.buttonText=e.getAttribute(`button-text`)??void 0),e.hasAttribute(`spinning-text`)&&(t.spinningText=e.getAttribute(`spinning-text`)??void 0),e.hasAttribute(`jackpot-text`)&&(t.jackpotText=e.getAttribute(`jackpot-text`)??void 0),e.hasAttribute(`result-prefix`)&&(t.resultPrefix=e.getAttribute(`result-prefix`)??void 0),e.hasAttribute(`spin-duration`)&&(t.spinDuration=Number(e.getAttribute(`spin-duration`))),e.hasAttribute(`symbols`))try{t.symbols=JSON.parse(e.getAttribute(`symbols`)??`null`)}catch{}let n=e._symbols;if(n!==void 0&&(t.symbols=n),e.hasAttribute(`target-results`))try{t.targetResults=JSON.parse(e.getAttribute(`target-results`)??`null`)}catch{}let r=e._targetResults;return r!==void 0&&(t.targetResults=r),t.onSpinEnd=(...t)=>{e.dispatchEvent(new CustomEvent(`spin-end`,{detail:t.length<=1?t[0]:t,bubbles:!0}))},t}var mr=class extends HTMLElement{ctrl=null;_symbols;get symbols(){return this._symbols}set symbols(e){this._symbols=e,this.ctrl?.update(W(this))}_targetResults;get targetResults(){return this._targetResults}set targetResults(e){this._targetResults=e,this.ctrl?.update(W(this))}static get observedAttributes(){return[`symbols`,`spin-duration`,`target-results`,`start-text`,`button-text`,`spinning-text`,`jackpot-text`,`result-prefix`]}connectedCallback(){this.ctrl=e.xt(this,W(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(W(this))}spin(e){return this.ctrl?.spin(e)}reset(){return this.ctrl?.reset()}};typeof customElements<`u`&&!customElements.get(`cos-slot-machine`)&&customElements.define(pr,mr);var hr=`cos-smoke-fog`;function gr(e){let t={};if(e.hasAttribute(`color`)&&(t.color=e.getAttribute(`color`)??void 0),e.hasAttribute(`background-color`)&&(t.backgroundColor=e.getAttribute(`background-color`)??void 0),e.hasAttribute(`aria-label`)&&(t.ariaLabel=e.getAttribute(`aria-label`)??void 0),e.hasAttribute(`width`)&&(t.width=Number(e.getAttribute(`width`))),e.hasAttribute(`height`)&&(t.height=Number(e.getAttribute(`height`))),e.hasAttribute(`density`)&&(t.density=Number(e.getAttribute(`density`))),e.hasAttribute(`speed`)&&(t.speed=Number(e.getAttribute(`speed`))),e.hasAttribute(`disperse-strength`)&&(t.disperseStrength=Number(e.getAttribute(`disperse-strength`))),e.hasAttribute(`disperse-radius`)&&(t.disperseRadius=Number(e.getAttribute(`disperse-radius`))),t.fill=e.hasAttribute(`fill`),e.hasAttribute(`interactive`)){let n=e.getAttribute(`interactive`);t.interactive=n!==`false`&&n!==`0`}return t}var _r=class extends HTMLElement{ctrl=null;static get observedAttributes(){return[`width`,`height`,`fill`,`density`,`color`,`background-color`,`speed`,`disperse-strength`,`disperse-radius`,`interactive`,`aria-label`]}connectedCallback(){this.ctrl=e.Ut(this,gr(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(gr(this))}};typeof customElements<`u`&&!customElements.get(`cos-smoke-fog`)&&customElements.define(hr,_r);var vr=`cos-snowfall`;function G(e){let t={};if(e.hasAttribute(`width`)&&(t.width=Number(e.getAttribute(`width`))),e.hasAttribute(`height`)&&(t.height=Number(e.getAttribute(`height`))),e.hasAttribute(`count`)&&(t.count=Number(e.getAttribute(`count`))),t.fill=e.hasAttribute(`fill`),e.hasAttribute(`mode`))try{t.mode=JSON.parse(e.getAttribute(`mode`)??`null`)}catch{}let n=e._mode;return n!==void 0&&(t.mode=n),t}var yr=class extends HTMLElement{ctrl=null;_mode;get mode(){return this._mode}set mode(e){this._mode=e,this.ctrl?.update(G(this))}static get observedAttributes(){return[`width`,`height`,`fill`,`mode`,`count`]}connectedCallback(){this.ctrl=e.Ft(this,G(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(G(this))}};typeof customElements<`u`&&!customElements.get(`cos-snowfall`)&&customElements.define(vr,yr);var br=`cos-soap-bubbles`;function xr(e){let t={};if(e.hasAttribute(`aria-label`)&&(t.ariaLabel=e.getAttribute(`aria-label`)??void 0),e.hasAttribute(`width`)&&(t.width=Number(e.getAttribute(`width`))),e.hasAttribute(`height`)&&(t.height=Number(e.getAttribute(`height`))),e.hasAttribute(`count`)&&(t.count=Number(e.getAttribute(`count`))),e.hasAttribute(`speed`)&&(t.speed=Number(e.getAttribute(`speed`))),t.fill=e.hasAttribute(`fill`),e.hasAttribute(`interactive`)){let n=e.getAttribute(`interactive`);t.interactive=n!==`false`&&n!==`0`}return t}var Sr=class extends HTMLElement{ctrl=null;static get observedAttributes(){return[`width`,`height`,`fill`,`count`,`speed`,`interactive`,`aria-label`]}connectedCallback(){this.ctrl=e.Vt(this,xr(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(xr(this))}};typeof customElements<`u`&&!customElements.get(`cos-soap-bubbles`)&&customElements.define(br,Sr);var Cr=`cos-solar-system`;function wr(e){let t={};return e.hasAttribute(`width`)&&(t.width=Number(e.getAttribute(`width`))),e.hasAttribute(`height`)&&(t.height=Number(e.getAttribute(`height`))),e.hasAttribute(`speed`)&&(t.speed=Number(e.getAttribute(`speed`))),t.showOrbits=e.hasAttribute(`show-orbits`),t}var Tr=class extends HTMLElement{ctrl=null;static get observedAttributes(){return[`width`,`height`,`speed`,`show-orbits`]}connectedCallback(){this.ctrl=e.It(this,wr(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(wr(this))}};typeof customElements<`u`&&!customElements.get(`cos-solar-system`)&&customElements.define(Cr,Tr);var Er=`cos-speedometer`;function Dr(e){let t={};return e.hasAttribute(`label`)&&(t.label=e.getAttribute(`label`)??void 0),e.hasAttribute(`color`)&&(t.color=e.getAttribute(`color`)??void 0),e.hasAttribute(`value`)&&(t.value=Number(e.getAttribute(`value`))),e.hasAttribute(`max`)&&(t.max=Number(e.getAttribute(`max`))),t}var Or=class extends HTMLElement{ctrl=null;static get observedAttributes(){return[`value`,`max`,`label`,`color`]}connectedCallback(){this.ctrl=e.Dt(this,Dr(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(Dr(this))}};typeof customElements<`u`&&!customElements.get(`cos-speedometer`)&&customElements.define(Er,Or);var kr=`cos-split-reveal`;function Ar(e){let t={};return e.hasAttribute(`text`)&&(t.text=e.getAttribute(`text`)??void 0),e.hasAttribute(`color`)&&(t.color=e.getAttribute(`color`)??void 0),e.hasAttribute(`delay`)&&(t.delay=Number(e.getAttribute(`delay`))),t}var jr=class extends HTMLElement{ctrl=null;static get observedAttributes(){return[`text`,`delay`,`color`]}connectedCallback(){this.ctrl=e.yt(this,Ar(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(Ar(this))}};typeof customElements<`u`&&!customElements.get(`cos-split-reveal`)&&customElements.define(kr,jr);var Mr=`cos-split-text`;function K(e){let t={};if(e.hasAttribute(`text`)&&(t.text=e.getAttribute(`text`)??void 0),e.hasAttribute(`color`)&&(t.color=e.getAttribute(`color`)??void 0),e.hasAttribute(`stagger`)&&(t.stagger=Number(e.getAttribute(`stagger`))),e.hasAttribute(`duration`)&&(t.duration=Number(e.getAttribute(`duration`))),e.hasAttribute(`loop-pause`)&&(t.loopPause=Number(e.getAttribute(`loop-pause`))),e.hasAttribute(`font-size`)&&(t.fontSize=Number(e.getAttribute(`font-size`))),t.loop=e.hasAttribute(`loop`),e.hasAttribute(`animation`))try{t.animation=JSON.parse(e.getAttribute(`animation`)??`null`)}catch{}let n=e._animation;return n!==void 0&&(t.animation=n),t}var Nr=class extends HTMLElement{ctrl=null;_animation;get animation(){return this._animation}set animation(e){this._animation=e,this.ctrl?.update(K(this))}static get observedAttributes(){return[`text`,`animation`,`stagger`,`duration`,`loop`,`loop-pause`,`font-size`,`color`]}connectedCallback(){this.ctrl=e.vt(this,K(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(K(this))}};typeof customElements<`u`&&!customElements.get(`cos-split-text`)&&customElements.define(Mr,Nr);var Pr=`cos-spotlight`;function q(e){let t={};if(e.hasAttribute(`dim-color`)&&(t.dimColor=e.getAttribute(`dim-color`)??void 0),e.hasAttribute(`radius`)&&(t.radius=Number(e.getAttribute(`radius`))),e.hasAttribute(`default-content`)&&(t.defaultContent=e.getAttribute(`default-content`)??void 0),e.hasAttribute(`slot-element`))try{t.slotElement=JSON.parse(e.getAttribute(`slot-element`)??`null`)}catch{}let n=e._slotElement;return n!==void 0&&(t.slotElement=n),t}var Fr=class extends HTMLElement{ctrl=null;_slotElement;get slotElement(){return this._slotElement}set slotElement(e){this._slotElement=e,this.ctrl?.update(q(this))}static get observedAttributes(){return[`radius`,`dim-color`,`slot-element`,`default-content`]}connectedCallback(){this.ctrl=e.gt(this,q(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(q(this))}getSlot(){return this.ctrl?.getSlot()}};typeof customElements<`u`&&!customElements.get(`cos-spotlight`)&&customElements.define(Pr,Fr);var Ir=`cos-spring-mass`;function Lr(e){let t={};return e.hasAttribute(`color`)&&(t.color=e.getAttribute(`color`)??void 0),e.hasAttribute(`hint`)&&(t.hint=e.getAttribute(`hint`)??void 0),e.hasAttribute(`width`)&&(t.width=Number(e.getAttribute(`width`))),e.hasAttribute(`height`)&&(t.height=Number(e.getAttribute(`height`))),e.hasAttribute(`cols`)&&(t.cols=Number(e.getAttribute(`cols`))),e.hasAttribute(`rows`)&&(t.rows=Number(e.getAttribute(`rows`))),e.hasAttribute(`stiffness`)&&(t.stiffness=Number(e.getAttribute(`stiffness`))),e.hasAttribute(`damping`)&&(t.damping=Number(e.getAttribute(`damping`))),t}var Rr=class extends HTMLElement{ctrl=null;static get observedAttributes(){return[`width`,`height`,`cols`,`rows`,`stiffness`,`damping`,`color`,`hint`]}connectedCallback(){this.ctrl=e._t(this,Lr(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(Lr(this))}};typeof customElements<`u`&&!customElements.get(`cos-spring-mass`)&&customElements.define(Ir,Rr);var zr=`cos-starfield`;function Br(e){let t={};return e.hasAttribute(`width`)&&(t.width=Number(e.getAttribute(`width`))),e.hasAttribute(`height`)&&(t.height=Number(e.getAttribute(`height`))),e.hasAttribute(`star-count`)&&(t.starCount=Number(e.getAttribute(`star-count`))),e.hasAttribute(`speed`)&&(t.speed=Number(e.getAttribute(`speed`))),t.fill=e.hasAttribute(`fill`),t}var Vr=class extends HTMLElement{ctrl=null;static get observedAttributes(){return[`width`,`height`,`fill`,`star-count`,`speed`]}connectedCallback(){this.ctrl=e.Pt(this,Br(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(Br(this))}};typeof customElements<`u`&&!customElements.get(`cos-starfield`)&&customElements.define(zr,Vr);var Hr=`cos-text-morph`;function J(e){let t={};if(e.hasAttribute(`color`)&&(t.color=e.getAttribute(`color`)??void 0),e.hasAttribute(`interval`)&&(t.interval=Number(e.getAttribute(`interval`))),e.hasAttribute(`duration`)&&(t.duration=Number(e.getAttribute(`duration`))),e.hasAttribute(`font-size`)&&(t.fontSize=Number(e.getAttribute(`font-size`))),e.hasAttribute(`texts`))try{t.texts=JSON.parse(e.getAttribute(`texts`)??`null`)}catch{}let n=e._texts;return n!==void 0&&(t.texts=n),t}var Ur=class extends HTMLElement{ctrl=null;_texts;get texts(){return this._texts}set texts(e){this._texts=e,this.ctrl?.update(J(this))}static get observedAttributes(){return[`texts`,`interval`,`duration`,`font-size`,`color`]}connectedCallback(){this.ctrl=e.mt(this,J(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(J(this))}};typeof customElements<`u`&&!customElements.get(`cos-text-morph`)&&customElements.define(Hr,Ur);var Wr=`cos-timeline-pulse`;function Y(e){let t={};if(e.hasAttribute(`color`)&&(t.color=e.getAttribute(`color`)??void 0),e.hasAttribute(`current`)&&(t.current=Number(e.getAttribute(`current`))),e.hasAttribute(`steps`))try{t.steps=JSON.parse(e.getAttribute(`steps`)??`null`)}catch{}let n=e._steps;return n!==void 0&&(t.steps=n),t}var Gr=class extends HTMLElement{ctrl=null;_steps;get steps(){return this._steps}set steps(e){this._steps=e,this.ctrl?.update(Y(this))}static get observedAttributes(){return[`steps`,`current`,`color`]}connectedCallback(){this.ctrl=e.Tt(this,Y(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(Y(this))}};typeof customElements<`u`&&!customElements.get(`cos-timeline-pulse`)&&customElements.define(Wr,Gr);var Kr=`cos-true-focus`;function qr(e){let t={};return e.hasAttribute(`sentence`)&&(t.sentence=e.getAttribute(`sentence`)??void 0),e.hasAttribute(`separator`)&&(t.separator=e.getAttribute(`separator`)??void 0),e.hasAttribute(`border-color`)&&(t.borderColor=e.getAttribute(`border-color`)??void 0),e.hasAttribute(`glow-color`)&&(t.glowColor=e.getAttribute(`glow-color`)??void 0),e.hasAttribute(`color`)&&(t.color=e.getAttribute(`color`)??void 0),e.hasAttribute(`blur-amount`)&&(t.blurAmount=Number(e.getAttribute(`blur-amount`))),e.hasAttribute(`animation-duration`)&&(t.animationDuration=Number(e.getAttribute(`animation-duration`))),e.hasAttribute(`pause-between-animations`)&&(t.pauseBetweenAnimations=Number(e.getAttribute(`pause-between-animations`))),e.hasAttribute(`font-size`)&&(t.fontSize=Number(e.getAttribute(`font-size`))),t.manualMode=e.hasAttribute(`manual-mode`),t}var Jr=class extends HTMLElement{ctrl=null;static get observedAttributes(){return[`sentence`,`separator`,`manual-mode`,`blur-amount`,`border-color`,`glow-color`,`animation-duration`,`pause-between-animations`,`font-size`,`color`]}connectedCallback(){this.ctrl=e.pt(this,qr(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(qr(this))}};typeof customElements<`u`&&!customElements.get(`cos-true-focus`)&&customElements.define(Kr,Jr);var Yr=`cos-turntable`;function X(e){let t={};if(e.hasAttribute(`button-text`)&&(t.buttonText=e.getAttribute(`button-text`)??void 0),e.hasAttribute(`spinning-text`)&&(t.spinningText=e.getAttribute(`spinning-text`)??void 0),e.hasAttribute(`result-prefix`)&&(t.resultPrefix=e.getAttribute(`result-prefix`)??void 0),e.hasAttribute(`size`)&&(t.size=Number(e.getAttribute(`size`))),e.hasAttribute(`spin-duration`)&&(t.spinDuration=Number(e.getAttribute(`spin-duration`))),e.hasAttribute(`spin-rounds`)&&(t.spinRounds=Number(e.getAttribute(`spin-rounds`))),e.hasAttribute(`target-index`)&&(t.targetIndex=Number(e.getAttribute(`target-index`))),e.hasAttribute(`prizes`))try{t.prizes=JSON.parse(e.getAttribute(`prizes`)??`null`)}catch{}let n=e._prizes;return n!==void 0&&(t.prizes=n),t.onSpinEnd=(...t)=>{e.dispatchEvent(new CustomEvent(`spin-end`,{detail:t.length<=1?t[0]:t,bubbles:!0}))},t}var Xr=class extends HTMLElement{ctrl=null;_prizes;get prizes(){return this._prizes}set prizes(e){this._prizes=e,this.ctrl?.update(X(this))}static get observedAttributes(){return[`prizes`,`size`,`spin-duration`,`spin-rounds`,`target-index`,`button-text`,`spinning-text`,`result-prefix`]}connectedCallback(){this.ctrl=e.ht(this,X(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(X(this))}spin(e){return this.ctrl?.spin(e)}reset(){return this.ctrl?.reset()}};typeof customElements<`u`&&!customElements.get(`cos-turntable`)&&customElements.define(Yr,Xr);var Zr=`cos-typewriter`;function Z(e){let t={};if(e.hasAttribute(`speed`)&&(t.speed=Number(e.getAttribute(`speed`))),e.hasAttribute(`delete-speed`)&&(t.deleteSpeed=Number(e.getAttribute(`delete-speed`))),e.hasAttribute(`pause`)&&(t.pause=Number(e.getAttribute(`pause`))),e.hasAttribute(`texts`))try{t.texts=JSON.parse(e.getAttribute(`texts`)??`null`)}catch{}let n=e._texts;return n!==void 0&&(t.texts=n),t}var Qr=class extends HTMLElement{ctrl=null;_texts;get texts(){return this._texts}set texts(e){this._texts=e,this.ctrl?.update(Z(this))}static get observedAttributes(){return[`texts`,`speed`,`delete-speed`,`pause`]}connectedCallback(){this.ctrl=e.ft(this,Z(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(Z(this))}};typeof customElements<`u`&&!customElements.get(`cos-typewriter`)&&customElements.define(Zr,Qr);var $r=`cos-wave-button`;function Q(e){let t={};if(e.hasAttribute(`text`)&&(t.text=e.getAttribute(`text`)??void 0),e.hasAttribute(`color`)&&(t.color=e.getAttribute(`color`)??void 0),e.hasAttribute(`button-props`))try{t.buttonProps=JSON.parse(e.getAttribute(`button-props`)??`null`)}catch{}let n=e._buttonProps;return n!==void 0&&(t.buttonProps=n),t}var ei=class extends HTMLElement{ctrl=null;_buttonProps;get buttonProps(){return this._buttonProps}set buttonProps(e){this._buttonProps=e,this.ctrl?.update(Q(this))}static get observedAttributes(){return[`text`,`color`,`button-props`]}connectedCallback(){this.ctrl=e.dt(this,Q(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(Q(this))}getButton(){return this.ctrl?.getButton()}};typeof customElements<`u`&&!customElements.get(`cos-wave-button`)&&customElements.define($r,ei);var ti=`cos-wave-text`;function ni(e){let t={};return e.hasAttribute(`text`)&&(t.text=e.getAttribute(`text`)??void 0),e.hasAttribute(`color`)&&(t.color=e.getAttribute(`color`)??void 0),e.hasAttribute(`amplitude`)&&(t.amplitude=Number(e.getAttribute(`amplitude`))),e.hasAttribute(`font-size`)&&(t.fontSize=Number(e.getAttribute(`font-size`))),t}var ri=class extends HTMLElement{ctrl=null;static get observedAttributes(){return[`text`,`amplitude`,`color`,`font-size`]}connectedCallback(){this.ctrl=e.t(this,ni(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update(ni(this))}};typeof customElements<`u`&&!customElements.get(`cos-wave-text`)&&customElements.define(ti,ri);var ii=`cos-weather-background`;function $(e){let t={};if(e.hasAttribute(`time`)&&(t.time=e.getAttribute(`time`)??void 0),e.hasAttribute(`aria-label`)&&(t.ariaLabel=e.getAttribute(`aria-label`)??void 0),e.hasAttribute(`loading-text`)&&(t.loadingText=e.getAttribute(`loading-text`)??void 0),e.hasAttribute(`width`)&&(t.width=Number(e.getAttribute(`width`))),e.hasAttribute(`height`)&&(t.height=Number(e.getAttribute(`height`))),e.hasAttribute(`latitude`)&&(t.latitude=Number(e.getAttribute(`latitude`))),e.hasAttribute(`longitude`)&&(t.longitude=Number(e.getAttribute(`longitude`))),e.hasAttribute(`wind-level`)&&(t.windLevel=Number(e.getAttribute(`wind-level`))),e.hasAttribute(`rain-level`)&&(t.rainLevel=Number(e.getAttribute(`rain-level`))),e.hasAttribute(`snow-level`)&&(t.snowLevel=Number(e.getAttribute(`snow-level`))),e.hasAttribute(`hail-level`)&&(t.hailLevel=Number(e.getAttribute(`hail-level`))),e.hasAttribute(`fog-level`)&&(t.fogLevel=Number(e.getAttribute(`fog-level`))),e.hasAttribute(`smog-level`)&&(t.smogLevel=Number(e.getAttribute(`smog-level`))),t.fill=e.hasAttribute(`fill`),t.live=e.hasAttribute(`live`),e.hasAttribute(`loading`)){let n=e.getAttribute(`loading`);t.loading=n!==`false`&&n!==`0`}if(e.hasAttribute(`weather`)){let n=e.getAttribute(`weather`)??``;try{t.weather=JSON.parse(n)}catch{t.weather=n}}let n=e._weather;return n!==void 0&&(t.weather=n),t.onLiveWeather=(...t)=>{e.dispatchEvent(new CustomEvent(`live-weather`,{detail:t.length<=1?t[0]:t,bubbles:!0}))},t}var ai=class extends HTMLElement{ctrl=null;_weather;get weather(){return this._weather}set weather(e){this._weather=e,this.ctrl?.update($(this))}static get observedAttributes(){return[`width`,`height`,`fill`,`weather`,`time`,`live`,`latitude`,`longitude`,`wind-level`,`rain-level`,`snow-level`,`hail-level`,`fog-level`,`smog-level`,`loading`,`aria-label`,`loading-text`]}connectedCallback(){this.ctrl=e.n(this,$(this))}disconnectedCallback(){this.ctrl?.destroy(),this.ctrl=null}attributeChangedCallback(){this.ctrl?.update($(this))}};typeof customElements<`u`&&!customElements.get(`cos-weather-background`)&&customElements.define(ii,ai);
@@ -0,0 +1 @@
1
+ export * from './src/elements';