@wallarm-org/claude-design 0.0.0-stage → 4.8.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 (963) hide show
  1. package/README.md +114 -2
  2. package/bin/claude-design.js +347 -0
  3. package/dist/SETUP.md +130 -0
  4. package/dist/UPDATE.md +84 -0
  5. package/dist/assets/Icons/activity.svg +1 -0
  6. package/dist/assets/Icons/alt.svg +1 -0
  7. package/dist/assets/Icons/android-neutral.svg +1 -0
  8. package/dist/assets/Icons/android.svg +1 -0
  9. package/dist/assets/Icons/api.svg +1 -0
  10. package/dist/assets/Icons/apple-music-neutral.svg +1 -0
  11. package/dist/assets/Icons/apple-music.svg +1 -0
  12. package/dist/assets/Icons/apple-neutral.svg +1 -0
  13. package/dist/assets/Icons/apple-podcasts-neutral.svg +1 -0
  14. package/dist/assets/Icons/apple-podcasts.svg +1 -0
  15. package/dist/assets/Icons/apple.svg +1 -0
  16. package/dist/assets/Icons/archive.svg +1 -0
  17. package/dist/assets/Icons/arrow-big-up-dash.svg +1 -0
  18. package/dist/assets/Icons/arrow-big-up.svg +1 -0
  19. package/dist/assets/Icons/arrow-down-left.svg +1 -0
  20. package/dist/assets/Icons/arrow-down-right.svg +1 -0
  21. package/dist/assets/Icons/arrow-down.svg +1 -0
  22. package/dist/assets/Icons/arrow-left.svg +1 -0
  23. package/dist/assets/Icons/arrow-right-alt.svg +1 -0
  24. package/dist/assets/Icons/arrow-right.svg +1 -0
  25. package/dist/assets/Icons/arrow-up-down.svg +1 -0
  26. package/dist/assets/Icons/arrow-up-left.svg +1 -0
  27. package/dist/assets/Icons/arrow-up-right.svg +1 -0
  28. package/dist/assets/Icons/arrow-up.svg +1 -0
  29. package/dist/assets/Icons/artstation-neutral.svg +1 -0
  30. package/dist/assets/Icons/artstation.svg +1 -0
  31. package/dist/assets/Icons/asterisk.svg +1 -0
  32. package/dist/assets/Icons/audio-waveform.svg +1 -0
  33. package/dist/assets/Icons/aws-neutral.svg +1 -0
  34. package/dist/assets/Icons/aws.svg +1 -0
  35. package/dist/assets/Icons/badge-check.svg +1 -0
  36. package/dist/assets/Icons/baidu-neutral.svg +1 -0
  37. package/dist/assets/Icons/baidu.svg +1 -0
  38. package/dist/assets/Icons/bandage.svg +1 -0
  39. package/dist/assets/Icons/behance-neutral.svg +1 -0
  40. package/dist/assets/Icons/behance.svg +1 -0
  41. package/dist/assets/Icons/bell-cog.svg +1 -0
  42. package/dist/assets/Icons/bell.svg +1 -0
  43. package/dist/assets/Icons/binary.svg +1 -0
  44. package/dist/assets/Icons/book-open.svg +1 -0
  45. package/dist/assets/Icons/book.svg +1 -0
  46. package/dist/assets/Icons/boosty-neutral.svg +1 -0
  47. package/dist/assets/Icons/boosty.svg +1 -0
  48. package/dist/assets/Icons/bot.svg +1 -0
  49. package/dist/assets/Icons/brain.svg +1 -0
  50. package/dist/assets/Icons/braze-neutral.svg +1 -0
  51. package/dist/assets/Icons/braze.svg +1 -0
  52. package/dist/assets/Icons/brevo-neutral.svg +1 -0
  53. package/dist/assets/Icons/brevo.svg +1 -0
  54. package/dist/assets/Icons/bug-off.svg +1 -0
  55. package/dist/assets/Icons/bug-play.svg +1 -0
  56. package/dist/assets/Icons/bug.svg +1 -0
  57. package/dist/assets/Icons/building.svg +1 -0
  58. package/dist/assets/Icons/building2.svg +1 -0
  59. package/dist/assets/Icons/calendar-check.svg +1 -0
  60. package/dist/assets/Icons/calendar-check2.svg +1 -0
  61. package/dist/assets/Icons/calendar-clock.svg +1 -0
  62. package/dist/assets/Icons/calendar-cog.svg +1 -0
  63. package/dist/assets/Icons/calendar-days.svg +1 -0
  64. package/dist/assets/Icons/calendar-fold.svg +1 -0
  65. package/dist/assets/Icons/calendar-heart.svg +1 -0
  66. package/dist/assets/Icons/calendar-minus.svg +1 -0
  67. package/dist/assets/Icons/calendar-minus2.svg +1 -0
  68. package/dist/assets/Icons/calendar-off.svg +1 -0
  69. package/dist/assets/Icons/calendar-plus.svg +1 -0
  70. package/dist/assets/Icons/calendar-plus2.svg +1 -0
  71. package/dist/assets/Icons/calendar-range.svg +1 -0
  72. package/dist/assets/Icons/calendar-search.svg +1 -0
  73. package/dist/assets/Icons/calendar-x.svg +1 -0
  74. package/dist/assets/Icons/calendar-x2.svg +1 -0
  75. package/dist/assets/Icons/calendar.svg +1 -0
  76. package/dist/assets/Icons/chart-area.svg +1 -0
  77. package/dist/assets/Icons/chart-bar.svg +1 -0
  78. package/dist/assets/Icons/chart-column.svg +1 -0
  79. package/dist/assets/Icons/chart-no-axes-column.svg +1 -0
  80. package/dist/assets/Icons/check-check.svg +1 -0
  81. package/dist/assets/Icons/check.svg +1 -0
  82. package/dist/assets/Icons/checkbox-indeterminate.svg +1 -0
  83. package/dist/assets/Icons/chevron-down.svg +1 -0
  84. package/dist/assets/Icons/chevron-first.svg +1 -0
  85. package/dist/assets/Icons/chevron-last.svg +1 -0
  86. package/dist/assets/Icons/chevron-left.svg +1 -0
  87. package/dist/assets/Icons/chevron-right.svg +1 -0
  88. package/dist/assets/Icons/chevron-up-down.svg +1 -0
  89. package/dist/assets/Icons/chevron-up.svg +1 -0
  90. package/dist/assets/Icons/chevrons-down-up.svg +1 -0
  91. package/dist/assets/Icons/chevrons-down.svg +1 -0
  92. package/dist/assets/Icons/chevrons-left-right.svg +1 -0
  93. package/dist/assets/Icons/chevrons-left.svg +1 -0
  94. package/dist/assets/Icons/chevrons-right-left.svg +1 -0
  95. package/dist/assets/Icons/chevrons-right.svg +1 -0
  96. package/dist/assets/Icons/chevrons-up-down.svg +1 -0
  97. package/dist/assets/Icons/chevrons-up.svg +1 -0
  98. package/dist/assets/Icons/circle-arrow-down.svg +1 -0
  99. package/dist/assets/Icons/circle-arrow-left.svg +1 -0
  100. package/dist/assets/Icons/circle-arrow-out-down-left.svg +1 -0
  101. package/dist/assets/Icons/circle-arrow-out-down-right.svg +1 -0
  102. package/dist/assets/Icons/circle-arrow-out-up-left.svg +1 -0
  103. package/dist/assets/Icons/circle-arrow-out-up-right.svg +1 -0
  104. package/dist/assets/Icons/circle-arrow-right.svg +1 -0
  105. package/dist/assets/Icons/circle-arrow-up.svg +1 -0
  106. package/dist/assets/Icons/circle-check-big.svg +1 -0
  107. package/dist/assets/Icons/circle-check.svg +1 -0
  108. package/dist/assets/Icons/circle-chevron-down.svg +1 -0
  109. package/dist/assets/Icons/circle-chevron-left.svg +1 -0
  110. package/dist/assets/Icons/circle-chevron-right.svg +1 -0
  111. package/dist/assets/Icons/circle-chevron-up.svg +1 -0
  112. package/dist/assets/Icons/circle-dashed.svg +1 -0
  113. package/dist/assets/Icons/circle-dot-dashed.svg +1 -0
  114. package/dist/assets/Icons/circle-ellipsis.svg +1 -0
  115. package/dist/assets/Icons/circle-gauge.svg +1 -0
  116. package/dist/assets/Icons/circle-help.svg +1 -0
  117. package/dist/assets/Icons/circle-minus.svg +1 -0
  118. package/dist/assets/Icons/circle-plus.svg +1 -0
  119. package/dist/assets/Icons/circle-slash.svg +1 -0
  120. package/dist/assets/Icons/circle-slash2.svg +1 -0
  121. package/dist/assets/Icons/circle-stop.svg +1 -0
  122. package/dist/assets/Icons/circle.svg +1 -0
  123. package/dist/assets/Icons/clipboard-check.svg +1 -0
  124. package/dist/assets/Icons/clipboard-x.svg +1 -0
  125. package/dist/assets/Icons/clipboard.svg +1 -0
  126. package/dist/assets/Icons/clock-fading.svg +1 -0
  127. package/dist/assets/Icons/clock.svg +1 -0
  128. package/dist/assets/Icons/cloud-off.svg +1 -0
  129. package/dist/assets/Icons/cloud-sync.svg +1 -0
  130. package/dist/assets/Icons/cloud.svg +1 -0
  131. package/dist/assets/Icons/code.svg +1 -0
  132. package/dist/assets/Icons/collapse.svg +1 -0
  133. package/dist/assets/Icons/columns3-cog.svg +1 -0
  134. package/dist/assets/Icons/command.svg +1 -0
  135. package/dist/assets/Icons/compass.svg +1 -0
  136. package/dist/assets/Icons/copy-slash.svg +1 -0
  137. package/dist/assets/Icons/copy.svg +1 -0
  138. package/dist/assets/Icons/corner-down-left.svg +1 -0
  139. package/dist/assets/Icons/corner-down-right.svg +1 -0
  140. package/dist/assets/Icons/corner-left-down.svg +1 -0
  141. package/dist/assets/Icons/corner-left-up.svg +1 -0
  142. package/dist/assets/Icons/corner-right-down.svg +1 -0
  143. package/dist/assets/Icons/corner-right-up.svg +1 -0
  144. package/dist/assets/Icons/corner-up-left.svg +1 -0
  145. package/dist/assets/Icons/corner-up-right.svg +1 -0
  146. package/dist/assets/Icons/cpu.svg +1 -0
  147. package/dist/assets/Icons/credit-card.svg +1 -0
  148. package/dist/assets/Icons/crosshair.svg +1 -0
  149. package/dist/assets/Icons/ctrl.svg +1 -0
  150. package/dist/assets/Icons/database.svg +1 -0
  151. package/dist/assets/Icons/devianart-neutral.svg +1 -0
  152. package/dist/assets/Icons/devianart.svg +1 -0
  153. package/dist/assets/Icons/discord-neutral.svg +1 -0
  154. package/dist/assets/Icons/discord.svg +1 -0
  155. package/dist/assets/Icons/dollar-sign.svg +1 -0
  156. package/dist/assets/Icons/dot.svg +1 -0
  157. package/dist/assets/Icons/download.svg +1 -0
  158. package/dist/assets/Icons/dprofile-neutral.svg +1 -0
  159. package/dist/assets/Icons/dprofile.svg +1 -0
  160. package/dist/assets/Icons/dribbble-neutral.svg +1 -0
  161. package/dist/assets/Icons/dribbble.svg +1 -0
  162. package/dist/assets/Icons/droplet.svg +1 -0
  163. package/dist/assets/Icons/duplicate.svg +1 -0
  164. package/dist/assets/Icons/dzen-neutral.svg +1 -0
  165. package/dist/assets/Icons/dzen.svg +1 -0
  166. package/dist/assets/Icons/earth-lock.svg +1 -0
  167. package/dist/assets/Icons/earth.svg +1 -0
  168. package/dist/assets/Icons/ellipsis.svg +1 -0
  169. package/dist/assets/Icons/expand.svg +1 -0
  170. package/dist/assets/Icons/external-link.svg +1 -0
  171. package/dist/assets/Icons/eye-off.svg +1 -0
  172. package/dist/assets/Icons/eye.svg +1 -0
  173. package/dist/assets/Icons/facebook-neutral.svg +1 -0
  174. package/dist/assets/Icons/facebook.svg +1 -0
  175. package/dist/assets/Icons/fast-forward.svg +1 -0
  176. package/dist/assets/Icons/figma-neutral.svg +1 -0
  177. package/dist/assets/Icons/figma.svg +1 -0
  178. package/dist/assets/Icons/file-down.svg +1 -0
  179. package/dist/assets/Icons/file-plus.svg +1 -0
  180. package/dist/assets/Icons/file-text.svg +1 -0
  181. package/dist/assets/Icons/file.svg +1 -0
  182. package/dist/assets/Icons/film.svg +1 -0
  183. package/dist/assets/Icons/filter-x.svg +1 -0
  184. package/dist/assets/Icons/filter.svg +1 -0
  185. package/dist/assets/Icons/fingerprint-pattern.svg +1 -0
  186. package/dist/assets/Icons/flag.svg +1 -0
  187. package/dist/assets/Icons/flask-conical.svg +1 -0
  188. package/dist/assets/Icons/folder.svg +1 -0
  189. package/dist/assets/Icons/funnel-plus.svg +1 -0
  190. package/dist/assets/Icons/ghost.svg +1 -0
  191. package/dist/assets/Icons/git-branch.svg +1 -0
  192. package/dist/assets/Icons/git-commit-horizontal.svg +1 -0
  193. package/dist/assets/Icons/git-commit-vertical.svg +1 -0
  194. package/dist/assets/Icons/git-compare-arrows-alt.svg +1 -0
  195. package/dist/assets/Icons/git-compare-arrows.svg +1 -0
  196. package/dist/assets/Icons/git-compare.svg +1 -0
  197. package/dist/assets/Icons/git-fork.svg +1 -0
  198. package/dist/assets/Icons/git-graph.svg +1 -0
  199. package/dist/assets/Icons/git-merge.svg +1 -0
  200. package/dist/assets/Icons/git-pull-request-arrow.svg +1 -0
  201. package/dist/assets/Icons/git-pull-request-closed.svg +1 -0
  202. package/dist/assets/Icons/git-pull-request-create-arrow.svg +1 -0
  203. package/dist/assets/Icons/git-pull-request-create.svg +1 -0
  204. package/dist/assets/Icons/git-pull-request-draft.svg +1 -0
  205. package/dist/assets/Icons/git-pull-request.svg +1 -0
  206. package/dist/assets/Icons/github-neutral.svg +1 -0
  207. package/dist/assets/Icons/github.svg +1 -0
  208. package/dist/assets/Icons/globe-lock.svg +1 -0
  209. package/dist/assets/Icons/globe.svg +1 -0
  210. package/dist/assets/Icons/gmail-neutral.svg +1 -0
  211. package/dist/assets/Icons/gmail.svg +1 -0
  212. package/dist/assets/Icons/google-meet-neutral.svg +1 -0
  213. package/dist/assets/Icons/google-meet.svg +1 -0
  214. package/dist/assets/Icons/google-neutral.svg +1 -0
  215. package/dist/assets/Icons/google-play-neutral.svg +1 -0
  216. package/dist/assets/Icons/google-play.svg +1 -0
  217. package/dist/assets/Icons/google-podcast-neutral.svg +1 -0
  218. package/dist/assets/Icons/google-podcast.svg +1 -0
  219. package/dist/assets/Icons/google.svg +1 -0
  220. package/dist/assets/Icons/grip-horizontal.svg +1 -0
  221. package/dist/assets/Icons/grip-vertical.svg +1 -0
  222. package/dist/assets/Icons/hammer.svg +1 -0
  223. package/dist/assets/Icons/heart-pulse.svg +1 -0
  224. package/dist/assets/Icons/history.svg +1 -0
  225. package/dist/assets/Icons/home.svg +1 -0
  226. package/dist/assets/Icons/imo-neutral.svg +1 -0
  227. package/dist/assets/Icons/imo.svg +1 -0
  228. package/dist/assets/Icons/infinity.svg +1 -0
  229. package/dist/assets/Icons/info.svg +1 -0
  230. package/dist/assets/Icons/infobip-neutral.svg +1 -0
  231. package/dist/assets/Icons/infobip.svg +1 -0
  232. package/dist/assets/Icons/instagram-neutral.svg +1 -0
  233. package/dist/assets/Icons/instagram.svg +1 -0
  234. package/dist/assets/Icons/key-round.svg +1 -0
  235. package/dist/assets/Icons/key-square.svg +1 -0
  236. package/dist/assets/Icons/keyboard.svg +1 -0
  237. package/dist/assets/Icons/kickstarter-neutral.svg +1 -0
  238. package/dist/assets/Icons/kickstarter.svg +1 -0
  239. package/dist/assets/Icons/laptop.svg +1 -0
  240. package/dist/assets/Icons/layers.svg +1 -0
  241. package/dist/assets/Icons/layers2.svg +1 -0
  242. package/dist/assets/Icons/layers3.svg +1 -0
  243. package/dist/assets/Icons/layout-dashboard.svg +1 -0
  244. package/dist/assets/Icons/layout-grid.svg +1 -0
  245. package/dist/assets/Icons/layout-list.svg +1 -0
  246. package/dist/assets/Icons/layout-panel-left.svg +1 -0
  247. package/dist/assets/Icons/layout-panel-top.svg +1 -0
  248. package/dist/assets/Icons/layout-template.svg +1 -0
  249. package/dist/assets/Icons/library-big.svg +1 -0
  250. package/dist/assets/Icons/life-buoy.svg +1 -0
  251. package/dist/assets/Icons/lightbulb-off.svg +1 -0
  252. package/dist/assets/Icons/lightbulb.svg +1 -0
  253. package/dist/assets/Icons/line-neutral.svg +1 -0
  254. package/dist/assets/Icons/line.svg +1 -0
  255. package/dist/assets/Icons/link.svg +1 -0
  256. package/dist/assets/Icons/link2-off.svg +1 -0
  257. package/dist/assets/Icons/link2.svg +1 -0
  258. package/dist/assets/Icons/linkedin-neutral.svg +1 -0
  259. package/dist/assets/Icons/linkedin.svg +1 -0
  260. package/dist/assets/Icons/list-checks.svg +1 -0
  261. package/dist/assets/Icons/list-collapse.svg +1 -0
  262. package/dist/assets/Icons/list-filter.svg +1 -0
  263. package/dist/assets/Icons/list-minus.svg +1 -0
  264. package/dist/assets/Icons/list-ordered.svg +1 -0
  265. package/dist/assets/Icons/list-plus.svg +1 -0
  266. package/dist/assets/Icons/list-restart.svg +1 -0
  267. package/dist/assets/Icons/list-start.svg +1 -0
  268. package/dist/assets/Icons/list-todo.svg +1 -0
  269. package/dist/assets/Icons/list-tree.svg +1 -0
  270. package/dist/assets/Icons/list-video.svg +1 -0
  271. package/dist/assets/Icons/list-x.svg +1 -0
  272. package/dist/assets/Icons/list.svg +1 -0
  273. package/dist/assets/Icons/loader-circle.svg +1 -0
  274. package/dist/assets/Icons/loader.svg +1 -0
  275. package/dist/assets/Icons/lock-open.svg +1 -0
  276. package/dist/assets/Icons/lock.svg +1 -0
  277. package/dist/assets/Icons/log-in.svg +1 -0
  278. package/dist/assets/Icons/log-out.svg +1 -0
  279. package/dist/assets/Icons/mail-check.svg +1 -0
  280. package/dist/assets/Icons/mail-minus.svg +1 -0
  281. package/dist/assets/Icons/mail-open.svg +1 -0
  282. package/dist/assets/Icons/mail-plus.svg +1 -0
  283. package/dist/assets/Icons/mail-question.svg +1 -0
  284. package/dist/assets/Icons/mail-search.svg +1 -0
  285. package/dist/assets/Icons/mail-warning.svg +1 -0
  286. package/dist/assets/Icons/mail-x.svg +1 -0
  287. package/dist/assets/Icons/mail.svg +1 -0
  288. package/dist/assets/Icons/mailbox.svg +1 -0
  289. package/dist/assets/Icons/mailersend-neutral.svg +1 -0
  290. package/dist/assets/Icons/mailersend.svg +1 -0
  291. package/dist/assets/Icons/mailgun-neutral.svg +1 -0
  292. package/dist/assets/Icons/mailgun.svg +1 -0
  293. package/dist/assets/Icons/mailjet-neutral.svg +1 -0
  294. package/dist/assets/Icons/mailjet.svg +1 -0
  295. package/dist/assets/Icons/mails.svg +1 -0
  296. package/dist/assets/Icons/mailtrap-neutral.svg +1 -0
  297. package/dist/assets/Icons/mailtrap.svg +1 -0
  298. package/dist/assets/Icons/mandrill-neutral.svg +1 -0
  299. package/dist/assets/Icons/mandrill.svg +1 -0
  300. package/dist/assets/Icons/map-pin.svg +1 -0
  301. package/dist/assets/Icons/maqsam-neutral.svg +1 -0
  302. package/dist/assets/Icons/maqsam.svg +1 -0
  303. package/dist/assets/Icons/mattermost-neutral.svg +1 -0
  304. package/dist/assets/Icons/mattermost.svg +1 -0
  305. package/dist/assets/Icons/maximize.svg +1 -0
  306. package/dist/assets/Icons/maximize2.svg +1 -0
  307. package/dist/assets/Icons/medium-neutral.svg +1 -0
  308. package/dist/assets/Icons/medium.svg +1 -0
  309. package/dist/assets/Icons/megaphone-off.svg +1 -0
  310. package/dist/assets/Icons/megaphone.svg +1 -0
  311. package/dist/assets/Icons/menu.svg +1 -0
  312. package/dist/assets/Icons/merge.svg +1 -0
  313. package/dist/assets/Icons/message-square-code.svg +1 -0
  314. package/dist/assets/Icons/message-square-dashed.svg +1 -0
  315. package/dist/assets/Icons/message-square-diff.svg +1 -0
  316. package/dist/assets/Icons/message-square-dot.svg +1 -0
  317. package/dist/assets/Icons/message-square-heart.svg +1 -0
  318. package/dist/assets/Icons/message-square-off.svg +1 -0
  319. package/dist/assets/Icons/message-square-plus.svg +1 -0
  320. package/dist/assets/Icons/message-square-quote.svg +1 -0
  321. package/dist/assets/Icons/message-square-reply.svg +1 -0
  322. package/dist/assets/Icons/message-square-share.svg +1 -0
  323. package/dist/assets/Icons/message-square-text.svg +1 -0
  324. package/dist/assets/Icons/message-square-warning.svg +1 -0
  325. package/dist/assets/Icons/message-square-x.svg +1 -0
  326. package/dist/assets/Icons/message-square.svg +1 -0
  327. package/dist/assets/Icons/messages-square.svg +1 -0
  328. package/dist/assets/Icons/messenger-neutral.svg +1 -0
  329. package/dist/assets/Icons/messenger.svg +1 -0
  330. package/dist/assets/Icons/microsoft-neutral.svg +1 -0
  331. package/dist/assets/Icons/microsoft-teams-neutral.svg +1 -0
  332. package/dist/assets/Icons/microsoft-teams.svg +1 -0
  333. package/dist/assets/Icons/microsoft.svg +1 -0
  334. package/dist/assets/Icons/minimize.svg +1 -0
  335. package/dist/assets/Icons/minimize2.svg +1 -0
  336. package/dist/assets/Icons/minus.svg +1 -0
  337. package/dist/assets/Icons/moon.svg +1 -0
  338. package/dist/assets/Icons/mouse-pointer-ban.svg +1 -0
  339. package/dist/assets/Icons/mouse-pointer-click.svg +1 -0
  340. package/dist/assets/Icons/mouse-pointer.svg +1 -0
  341. package/dist/assets/Icons/mouse-pointer2.svg +1 -0
  342. package/dist/assets/Icons/mouse.svg +1 -0
  343. package/dist/assets/Icons/move-diagonal.svg +1 -0
  344. package/dist/assets/Icons/move-diagonal2.svg +1 -0
  345. package/dist/assets/Icons/move-down-left.svg +1 -0
  346. package/dist/assets/Icons/move-down-right.svg +1 -0
  347. package/dist/assets/Icons/move-down.svg +1 -0
  348. package/dist/assets/Icons/move-horizontal.svg +1 -0
  349. package/dist/assets/Icons/move-left.svg +1 -0
  350. package/dist/assets/Icons/move-right.svg +1 -0
  351. package/dist/assets/Icons/move-up-left.svg +1 -0
  352. package/dist/assets/Icons/move-up-right.svg +1 -0
  353. package/dist/assets/Icons/move-up.svg +1 -0
  354. package/dist/assets/Icons/move-vertical.svg +1 -0
  355. package/dist/assets/Icons/move3-d.svg +1 -0
  356. package/dist/assets/Icons/netcore-neutral.svg +1 -0
  357. package/dist/assets/Icons/netcore.svg +1 -0
  358. package/dist/assets/Icons/notebook-pen.svg +1 -0
  359. package/dist/assets/Icons/notebook-tabs.svg +1 -0
  360. package/dist/assets/Icons/notebook-text.svg +1 -0
  361. package/dist/assets/Icons/notebook.svg +1 -0
  362. package/dist/assets/Icons/notepad-text-dashed.svg +1 -0
  363. package/dist/assets/Icons/notepad-text.svg +1 -0
  364. package/dist/assets/Icons/notion-neutral.svg +1 -0
  365. package/dist/assets/Icons/notion.svg +1 -0
  366. package/dist/assets/Icons/octagon-alert.svg +1 -0
  367. package/dist/assets/Icons/octagon-pause.svg +1 -0
  368. package/dist/assets/Icons/octagon-x.svg +1 -0
  369. package/dist/assets/Icons/octagon.svg +1 -0
  370. package/dist/assets/Icons/ok-neutral.svg +1 -0
  371. package/dist/assets/Icons/ok-only-sign-neutral.svg +1 -0
  372. package/dist/assets/Icons/ok-only-sign.svg +1 -0
  373. package/dist/assets/Icons/ok.svg +1 -0
  374. package/dist/assets/Icons/onlyfans-neutral.svg +1 -0
  375. package/dist/assets/Icons/onlyfans.svg +1 -0
  376. package/dist/assets/Icons/option.svg +1 -0
  377. package/dist/assets/Icons/outlook365-neutral.svg +1 -0
  378. package/dist/assets/Icons/outlook365.svg +1 -0
  379. package/dist/assets/Icons/paintbrush.svg +1 -0
  380. package/dist/assets/Icons/panel-bottom-open.svg +1 -0
  381. package/dist/assets/Icons/panel-bottom.svg +1 -0
  382. package/dist/assets/Icons/panel-left-close.svg +1 -0
  383. package/dist/assets/Icons/panel-left-dashed.svg +1 -0
  384. package/dist/assets/Icons/panel-left-open.svg +1 -0
  385. package/dist/assets/Icons/panel-left.svg +1 -0
  386. package/dist/assets/Icons/panel-right-animated.svg +1 -0
  387. package/dist/assets/Icons/panel-right-close.svg +1 -0
  388. package/dist/assets/Icons/panel-right-dashed.svg +1 -0
  389. package/dist/assets/Icons/panel-right-open.svg +1 -0
  390. package/dist/assets/Icons/panel-right.svg +1 -0
  391. package/dist/assets/Icons/panel-top-bottom-dashed.svg +1 -0
  392. package/dist/assets/Icons/panel-top-close.svg +1 -0
  393. package/dist/assets/Icons/panel-top-open.svg +1 -0
  394. package/dist/assets/Icons/panel-top.svg +1 -0
  395. package/dist/assets/Icons/panels-left-bottom.svg +1 -0
  396. package/dist/assets/Icons/panels-right-bottom.svg +1 -0
  397. package/dist/assets/Icons/panels-top-left.svg +1 -0
  398. package/dist/assets/Icons/paperclip.svg +1 -0
  399. package/dist/assets/Icons/patreon-neutral.svg +1 -0
  400. package/dist/assets/Icons/patreon.svg +1 -0
  401. package/dist/assets/Icons/paypal-neutral.svg +1 -0
  402. package/dist/assets/Icons/paypal.svg +1 -0
  403. package/dist/assets/Icons/pen-line.svg +1 -0
  404. package/dist/assets/Icons/pen-off.svg +1 -0
  405. package/dist/assets/Icons/pen-tool.svg +1 -0
  406. package/dist/assets/Icons/pen.svg +1 -0
  407. package/dist/assets/Icons/pencil-line.svg +1 -0
  408. package/dist/assets/Icons/pencil-off.svg +1 -0
  409. package/dist/assets/Icons/pencil-ruler.svg +1 -0
  410. package/dist/assets/Icons/pencil.svg +1 -0
  411. package/dist/assets/Icons/pentagon.svg +1 -0
  412. package/dist/assets/Icons/percentage.svg +1 -0
  413. package/dist/assets/Icons/phone.svg +1 -0
  414. package/dist/assets/Icons/pin-off.svg +1 -0
  415. package/dist/assets/Icons/pin.svg +1 -0
  416. package/dist/assets/Icons/pinterest-neutral.svg +1 -0
  417. package/dist/assets/Icons/pinterest.svg +1 -0
  418. package/dist/assets/Icons/play.svg +1 -0
  419. package/dist/assets/Icons/plug.svg +1 -0
  420. package/dist/assets/Icons/plunk-neutral.svg +1 -0
  421. package/dist/assets/Icons/plunk.svg +1 -0
  422. package/dist/assets/Icons/plus.svg +1 -0
  423. package/dist/assets/Icons/postmark-neutral.svg +1 -0
  424. package/dist/assets/Icons/postmark.svg +1 -0
  425. package/dist/assets/Icons/product-hunt-neutral.svg +1 -0
  426. package/dist/assets/Icons/product-hunt.svg +1 -0
  427. package/dist/assets/Icons/quora-neutral.svg +1 -0
  428. package/dist/assets/Icons/quora.svg +1 -0
  429. package/dist/assets/Icons/quote.svg +1 -0
  430. package/dist/assets/Icons/radar.svg +1 -0
  431. package/dist/assets/Icons/reddit-neutral.svg +1 -0
  432. package/dist/assets/Icons/reddit.svg +1 -0
  433. package/dist/assets/Icons/redo-dot.svg +1 -0
  434. package/dist/assets/Icons/redo.svg +1 -0
  435. package/dist/assets/Icons/redo2.svg +1 -0
  436. package/dist/assets/Icons/refresh-ccw.svg +1 -0
  437. package/dist/assets/Icons/refresh-cw-off.svg +1 -0
  438. package/dist/assets/Icons/resend-neutral.svg +1 -0
  439. package/dist/assets/Icons/resend.svg +1 -0
  440. package/dist/assets/Icons/rss.svg +1 -0
  441. package/dist/assets/Icons/rules.svg +1 -0
  442. package/dist/assets/Icons/scan-line.svg +1 -0
  443. package/dist/assets/Icons/scroll-text.svg +1 -0
  444. package/dist/assets/Icons/search-hint.svg +1 -0
  445. package/dist/assets/Icons/search-x.svg +1 -0
  446. package/dist/assets/Icons/search.svg +1 -0
  447. package/dist/assets/Icons/sendgrid-neutral.svg +1 -0
  448. package/dist/assets/Icons/sendgrid.svg +1 -0
  449. package/dist/assets/Icons/server.svg +1 -0
  450. package/dist/assets/Icons/ses-neutral.svg +1 -0
  451. package/dist/assets/Icons/ses.svg +1 -0
  452. package/dist/assets/Icons/settings.svg +1 -0
  453. package/dist/assets/Icons/settings2.svg +1 -0
  454. package/dist/assets/Icons/shapes.svg +1 -0
  455. package/dist/assets/Icons/share.svg +1 -0
  456. package/dist/assets/Icons/sheet.svg +1 -0
  457. package/dist/assets/Icons/shield-alert.svg +1 -0
  458. package/dist/assets/Icons/shield-ban.svg +1 -0
  459. package/dist/assets/Icons/shield-check.svg +1 -0
  460. package/dist/assets/Icons/shield-ellipsis.svg +1 -0
  461. package/dist/assets/Icons/shield-half.svg +1 -0
  462. package/dist/assets/Icons/shield-minus.svg +1 -0
  463. package/dist/assets/Icons/shield-off.svg +1 -0
  464. package/dist/assets/Icons/shield-plus.svg +1 -0
  465. package/dist/assets/Icons/shield-question.svg +1 -0
  466. package/dist/assets/Icons/shield-user.svg +1 -0
  467. package/dist/assets/Icons/shield-x.svg +1 -0
  468. package/dist/assets/Icons/shield.svg +1 -0
  469. package/dist/assets/Icons/shift.svg +1 -0
  470. package/dist/assets/Icons/signal-neutral.svg +1 -0
  471. package/dist/assets/Icons/signal.svg +1 -0
  472. package/dist/assets/Icons/signpost.svg +1 -0
  473. package/dist/assets/Icons/sina-weibo-neutral.svg +1 -0
  474. package/dist/assets/Icons/sina-weibo.svg +1 -0
  475. package/dist/assets/Icons/skull.svg +1 -0
  476. package/dist/assets/Icons/skype-neutral.svg +1 -0
  477. package/dist/assets/Icons/skype.svg +1 -0
  478. package/dist/assets/Icons/slack-neutral.svg +1 -0
  479. package/dist/assets/Icons/slack.svg +1 -0
  480. package/dist/assets/Icons/sliders-horizontal.svg +1 -0
  481. package/dist/assets/Icons/sliders-vertical.svg +1 -0
  482. package/dist/assets/Icons/smtp-neutral.svg +1 -0
  483. package/dist/assets/Icons/smtp.svg +1 -0
  484. package/dist/assets/Icons/snapchat-neutral.svg +1 -0
  485. package/dist/assets/Icons/snapchat.svg +1 -0
  486. package/dist/assets/Icons/soundcloud-neutral.svg +1 -0
  487. package/dist/assets/Icons/soundcloud.svg +1 -0
  488. package/dist/assets/Icons/space.svg +1 -0
  489. package/dist/assets/Icons/sparkpost-neutral.svg +1 -0
  490. package/dist/assets/Icons/sparkpost.svg +1 -0
  491. package/dist/assets/Icons/speed.svg +1 -0
  492. package/dist/assets/Icons/split.svg +1 -0
  493. package/dist/assets/Icons/spotify-neutral.svg +1 -0
  494. package/dist/assets/Icons/spotify.svg +1 -0
  495. package/dist/assets/Icons/square-arrow-out-up-right.svg +1 -0
  496. package/dist/assets/Icons/square-minus.svg +1 -0
  497. package/dist/assets/Icons/square-pen.svg +1 -0
  498. package/dist/assets/Icons/square-plus.svg +1 -0
  499. package/dist/assets/Icons/square-user-round.svg +1 -0
  500. package/dist/assets/Icons/stack-overflow-neutral.svg +1 -0
  501. package/dist/assets/Icons/stack-overflow.svg +1 -0
  502. package/dist/assets/Icons/star.svg +1 -0
  503. package/dist/assets/Icons/sun.svg +1 -0
  504. package/dist/assets/Icons/syringe.svg +1 -0
  505. package/dist/assets/Icons/tag.svg +1 -0
  506. package/dist/assets/Icons/target.svg +1 -0
  507. package/dist/assets/Icons/teams-neutral.svg +1 -0
  508. package/dist/assets/Icons/teams.svg +1 -0
  509. package/dist/assets/Icons/telegram-neutral.svg +1 -0
  510. package/dist/assets/Icons/telegram-only-sign-neutral.svg +1 -0
  511. package/dist/assets/Icons/telegram-only-sign.svg +1 -0
  512. package/dist/assets/Icons/telegram.svg +1 -0
  513. package/dist/assets/Icons/terminal.svg +1 -0
  514. package/dist/assets/Icons/test-policies.svg +1 -0
  515. package/dist/assets/Icons/threads-neutral.svg +1 -0
  516. package/dist/assets/Icons/threads.svg +1 -0
  517. package/dist/assets/Icons/thumbs-down.svg +1 -0
  518. package/dist/assets/Icons/thumbs-up.svg +1 -0
  519. package/dist/assets/Icons/tiktok-neutral.svg +1 -0
  520. package/dist/assets/Icons/tiktok.svg +1 -0
  521. package/dist/assets/Icons/tinder-neutral.svg +1 -0
  522. package/dist/assets/Icons/tinder.svg +1 -0
  523. package/dist/assets/Icons/trash.svg +1 -0
  524. package/dist/assets/Icons/trash2.svg +1 -0
  525. package/dist/assets/Icons/triangle-alert.svg +1 -0
  526. package/dist/assets/Icons/tumblr-neutral.svg +1 -0
  527. package/dist/assets/Icons/tumblr.svg +1 -0
  528. package/dist/assets/Icons/twitch-neutral.svg +1 -0
  529. package/dist/assets/Icons/twitch.svg +1 -0
  530. package/dist/assets/Icons/undo-dot.svg +1 -0
  531. package/dist/assets/Icons/undo.svg +1 -0
  532. package/dist/assets/Icons/undo2.svg +1 -0
  533. package/dist/assets/Icons/unplug.svg +1 -0
  534. package/dist/assets/Icons/user-check.svg +1 -0
  535. package/dist/assets/Icons/user-minus.svg +1 -0
  536. package/dist/assets/Icons/user-plus.svg +1 -0
  537. package/dist/assets/Icons/user-round-x.svg +1 -0
  538. package/dist/assets/Icons/user-round.svg +1 -0
  539. package/dist/assets/Icons/user.svg +1 -0
  540. package/dist/assets/Icons/username.svg +1 -0
  541. package/dist/assets/Icons/users-round.svg +1 -0
  542. package/dist/assets/Icons/users.svg +1 -0
  543. package/dist/assets/Icons/viber-neutral.svg +1 -0
  544. package/dist/assets/Icons/viber.svg +1 -0
  545. package/dist/assets/Icons/video.svg +1 -0
  546. package/dist/assets/Icons/vimeo-neutral.svg +1 -0
  547. package/dist/assets/Icons/vimeo.svg +1 -0
  548. package/dist/assets/Icons/vk-music-neutral.svg +1 -0
  549. package/dist/assets/Icons/vk-music.svg +1 -0
  550. package/dist/assets/Icons/vk-neutral.svg +1 -0
  551. package/dist/assets/Icons/vk-only-sign-neutral.svg +1 -0
  552. package/dist/assets/Icons/vk-only-sign.svg +1 -0
  553. package/dist/assets/Icons/vk.svg +1 -0
  554. package/dist/assets/Icons/webhook-neutral.svg +1 -0
  555. package/dist/assets/Icons/webhook.svg +1 -0
  556. package/dist/assets/Icons/wechat-neutral.svg +1 -0
  557. package/dist/assets/Icons/wechat.svg +1 -0
  558. package/dist/assets/Icons/whatsapp-badge-neutral.svg +1 -0
  559. package/dist/assets/Icons/whatsapp-badge.svg +1 -0
  560. package/dist/assets/Icons/whatsapp-neutral.svg +1 -0
  561. package/dist/assets/Icons/whatsapp.svg +1 -0
  562. package/dist/assets/Icons/workflow.svg +1 -0
  563. package/dist/assets/Icons/wrap-text.svg +1 -0
  564. package/dist/assets/Icons/wrench.svg +1 -0
  565. package/dist/assets/Icons/x-ex-twitter-neutral.svg +1 -0
  566. package/dist/assets/Icons/x-ex-twitter.svg +1 -0
  567. package/dist/assets/Icons/x.svg +1 -0
  568. package/dist/assets/Icons/xing-neutral.svg +1 -0
  569. package/dist/assets/Icons/xing.svg +1 -0
  570. package/dist/assets/Icons/yandex-music-neutral.svg +1 -0
  571. package/dist/assets/Icons/yandex-music.svg +1 -0
  572. package/dist/assets/Icons/yelp-neutral.svg +1 -0
  573. package/dist/assets/Icons/yelp.svg +1 -0
  574. package/dist/assets/Icons/youtube-music-neutral.svg +1 -0
  575. package/dist/assets/Icons/youtube-music.svg +1 -0
  576. package/dist/assets/Icons/youtube-neutral.svg +1 -0
  577. package/dist/assets/Icons/youtube-shorts-neutral.svg +1 -0
  578. package/dist/assets/Icons/youtube-shorts.svg +1 -0
  579. package/dist/assets/Icons/youtube.svg +1 -0
  580. package/dist/assets/Icons/zap.svg +1 -0
  581. package/dist/assets/Icons/zoom-in.svg +1 -0
  582. package/dist/assets/Icons/zoom-neutral.svg +1 -0
  583. package/dist/assets/Icons/zoom-out.svg +1 -0
  584. package/dist/assets/Icons/zoom.svg +1 -0
  585. package/dist/assets/Icons/zulip-neutral.svg +1 -0
  586. package/dist/assets/Icons/zulip.svg +1 -0
  587. package/dist/assets/Logos/wallarm.svg +1 -0
  588. package/dist/assets.json +4666 -0
  589. package/dist/project/README.md +265 -0
  590. package/dist/project/components/Accordion/README.md +354 -0
  591. package/dist/project/components/Accordion/preview.html +2 -0
  592. package/dist/project/components/Accordion/stories.js +12 -0
  593. package/dist/project/components/AgentAvatar/README.md +127 -0
  594. package/dist/project/components/AgentAvatar/preview.html +2 -0
  595. package/dist/project/components/AgentAvatar/stories.js +12 -0
  596. package/dist/project/components/AgentAvatar/stories.md +1805 -0
  597. package/dist/project/components/AgentGlyph/README.md +1182 -0
  598. package/dist/project/components/AgentGlyph/preview.html +2 -0
  599. package/dist/project/components/AgentGlyph/stories.js +12 -0
  600. package/dist/project/components/AgentLookBuilder/README.md +269 -0
  601. package/dist/project/components/AgentLookBuilder/preview.html +2 -0
  602. package/dist/project/components/AgentLookBuilder/stories.js +12 -0
  603. package/dist/project/components/Alert/README.md +492 -0
  604. package/dist/project/components/Alert/preview.html +2 -0
  605. package/dist/project/components/Alert/stories.js +12 -0
  606. package/dist/project/components/AnimatedBackground/README.md +124 -0
  607. package/dist/project/components/AnimatedBackground/preview.html +2 -0
  608. package/dist/project/components/AnimatedBackground/stories.js +12 -0
  609. package/dist/project/components/AppShell/README.md +75 -0
  610. package/dist/project/components/AppShell/preview.html +2 -0
  611. package/dist/project/components/AppShell/stories.js +28 -0
  612. package/dist/project/components/AppShell/stories.md +2878 -0
  613. package/dist/project/components/ApprovalCard/README.md +353 -0
  614. package/dist/project/components/ApprovalCard/preview.html +2 -0
  615. package/dist/project/components/ApprovalCard/stories.js +12 -0
  616. package/dist/project/components/AreaChart/README.md +673 -0
  617. package/dist/project/components/AreaChart/preview.html +2 -0
  618. package/dist/project/components/AreaChart/stories.js +12 -0
  619. package/dist/project/components/AssistantMessage/README.md +724 -0
  620. package/dist/project/components/AssistantMessage/preview.html +2 -0
  621. package/dist/project/components/AssistantMessage/stories.js +55 -0
  622. package/dist/project/components/Attribute/README.md +1174 -0
  623. package/dist/project/components/Attribute/preview.html +2 -0
  624. package/dist/project/components/Attribute/stories.js +12 -0
  625. package/dist/project/components/Avatar/README.md +416 -0
  626. package/dist/project/components/Avatar/preview.html +2 -0
  627. package/dist/project/components/Avatar/stories.js +12 -0
  628. package/dist/project/components/Badge/README.md +853 -0
  629. package/dist/project/components/Badge/preview.html +2 -0
  630. package/dist/project/components/Badge/stories.js +12 -0
  631. package/dist/project/components/Banner/README.md +341 -0
  632. package/dist/project/components/Banner/preview.html +2 -0
  633. package/dist/project/components/Banner/stories.js +12 -0
  634. package/dist/project/components/BarList/README.md +757 -0
  635. package/dist/project/components/BarList/preview.html +2 -0
  636. package/dist/project/components/BarList/stories.js +12 -0
  637. package/dist/project/components/Breadcrumbs/README.md +274 -0
  638. package/dist/project/components/Breadcrumbs/preview.html +2 -0
  639. package/dist/project/components/Breadcrumbs/stories.js +12 -0
  640. package/dist/project/components/BulkBar/README.md +19 -0
  641. package/dist/project/components/Button/README.md +467 -0
  642. package/dist/project/components/Button/preview.html +2 -0
  643. package/dist/project/components/Button/stories.js +12 -0
  644. package/dist/project/components/Calendar/README.md +654 -0
  645. package/dist/project/components/Calendar/preview.html +2 -0
  646. package/dist/project/components/Calendar/stories.js +12 -0
  647. package/dist/project/components/Card/README.md +367 -0
  648. package/dist/project/components/Card/preview.html +2 -0
  649. package/dist/project/components/Card/stories.js +12 -0
  650. package/dist/project/components/ChainOfThought/README.md +412 -0
  651. package/dist/project/components/ChainOfThought/preview.html +2 -0
  652. package/dist/project/components/ChainOfThought/stories.js +12 -0
  653. package/dist/project/components/Chart/README.md +224 -0
  654. package/dist/project/components/Chart/preview.html +2 -0
  655. package/dist/project/components/Chart/stories.js +12 -0
  656. package/dist/project/components/Chat/README.md +1244 -0
  657. package/dist/project/components/Chat/preview.html +2 -0
  658. package/dist/project/components/Chat/stories.js +12 -0
  659. package/dist/project/components/ChatInput/README.md +378 -0
  660. package/dist/project/components/ChatInput/preview.html +2 -0
  661. package/dist/project/components/ChatInput/stories.js +12 -0
  662. package/dist/project/components/ChatPermissions/README.md +218 -0
  663. package/dist/project/components/ChatPermissions/preview.html +2 -0
  664. package/dist/project/components/ChatPermissions/stories.js +12 -0
  665. package/dist/project/components/Checkbox/README.md +367 -0
  666. package/dist/project/components/Checkbox/preview.html +2 -0
  667. package/dist/project/components/Checkbox/stories.js +12 -0
  668. package/dist/project/components/Code/README.md +243 -0
  669. package/dist/project/components/Code/preview.html +2 -0
  670. package/dist/project/components/Code/stories.js +12 -0
  671. package/dist/project/components/CodeEditor/README.md +280 -0
  672. package/dist/project/components/CodeEditor/preview.html +2 -0
  673. package/dist/project/components/CodeEditor/stories.js +162 -0
  674. package/dist/project/components/CodeEditor/stories.md +1533 -0
  675. package/dist/project/components/CodeSnippet/README.md +1352 -0
  676. package/dist/project/components/CodeSnippet/preview.html +2 -0
  677. package/dist/project/components/CodeSnippet/stories.js +156 -0
  678. package/dist/project/components/ColumnChart/README.md +521 -0
  679. package/dist/project/components/ColumnChart/preview.html +2 -0
  680. package/dist/project/components/ColumnChart/stories.js +12 -0
  681. package/dist/project/components/Conversation/README.md +314 -0
  682. package/dist/project/components/Conversation/preview.html +2 -0
  683. package/dist/project/components/Conversation/stories.js +12 -0
  684. package/dist/project/components/Copyable/README.md +406 -0
  685. package/dist/project/components/Copyable/preview.html +2 -0
  686. package/dist/project/components/Copyable/stories.js +12 -0
  687. package/dist/project/components/Country/README.md +226 -0
  688. package/dist/project/components/Country/preview.html +2 -0
  689. package/dist/project/components/Country/stories.js +12 -0
  690. package/dist/project/components/Cover/preview.html +43 -0
  691. package/dist/project/components/DateInput/README.md +458 -0
  692. package/dist/project/components/DateInput/preview.html +2 -0
  693. package/dist/project/components/DateInput/stories.js +12 -0
  694. package/dist/project/components/DateRangeInput/README.md +412 -0
  695. package/dist/project/components/DateRangeInput/preview.html +2 -0
  696. package/dist/project/components/DateRangeInput/stories.js +12 -0
  697. package/dist/project/components/Dialog/README.md +1140 -0
  698. package/dist/project/components/Dialog/preview.html +2 -0
  699. package/dist/project/components/Dialog/stories.js +12 -0
  700. package/dist/project/components/Drawer/README.md +1163 -0
  701. package/dist/project/components/Drawer/preview.html +2 -0
  702. package/dist/project/components/Drawer/stories.js +12 -0
  703. package/dist/project/components/DropdownMenu/README.md +678 -0
  704. package/dist/project/components/DropdownMenu/preview.html +2 -0
  705. package/dist/project/components/DropdownMenu/stories.js +12 -0
  706. package/dist/project/components/EmptyState/README.md +276 -0
  707. package/dist/project/components/EmptyState/preview.html +2 -0
  708. package/dist/project/components/EmptyState/stories.js +12 -0
  709. package/dist/project/components/FeedbackPulse/README.md +125 -0
  710. package/dist/project/components/FeedbackPulse/preview.html +2 -0
  711. package/dist/project/components/FeedbackPulse/stories.js +12 -0
  712. package/dist/project/components/Field/README.md +676 -0
  713. package/dist/project/components/Field/preview.html +2 -0
  714. package/dist/project/components/Field/stories.js +12 -0
  715. package/dist/project/components/FileUpload/README.md +544 -0
  716. package/dist/project/components/FileUpload/preview.html +2 -0
  717. package/dist/project/components/FileUpload/stories.js +12 -0
  718. package/dist/project/components/FilterCascade/README.md +348 -0
  719. package/dist/project/components/FilterCascade/preview.html +2 -0
  720. package/dist/project/components/FilterCascade/stories.js +12 -0
  721. package/dist/project/components/FilterDropdown/README.md +542 -0
  722. package/dist/project/components/FilterDropdown/preview.html +2 -0
  723. package/dist/project/components/FilterDropdown/stories.js +12 -0
  724. package/dist/project/components/FilterInput/README.md +416 -0
  725. package/dist/project/components/FilterInput/preview.html +2 -0
  726. package/dist/project/components/FilterInput/stories.js +12 -0
  727. package/dist/project/components/FilterInput/stories.md +6682 -0
  728. package/dist/project/components/Flex/README.md +225 -0
  729. package/dist/project/components/Flex/preview.html +2 -0
  730. package/dist/project/components/Flex/stories.js +12 -0
  731. package/dist/project/components/FormatDateTime/README.md +315 -0
  732. package/dist/project/components/FormatDateTime/preview.html +2 -0
  733. package/dist/project/components/FormatDateTime/stories.js +12 -0
  734. package/dist/project/components/FormatNumber/README.md +317 -0
  735. package/dist/project/components/FormatNumber/preview.html +2 -0
  736. package/dist/project/components/FormatNumber/stories.js +12 -0
  737. package/dist/project/components/Heading/README.md +240 -0
  738. package/dist/project/components/Heading/preview.html +2 -0
  739. package/dist/project/components/Heading/stories.js +12 -0
  740. package/dist/project/components/HorizontalBarStack/README.md +281 -0
  741. package/dist/project/components/HorizontalBarStack/preview.html +2 -0
  742. package/dist/project/components/HorizontalBarStack/stories.js +12 -0
  743. package/dist/project/components/HttpMethod/README.md +137 -0
  744. package/dist/project/components/HttpMethod/preview.html +2 -0
  745. package/dist/project/components/HttpMethod/stories.js +12 -0
  746. package/dist/project/components/ImageCropper/README.md +332 -0
  747. package/dist/project/components/ImageCropper/preview.html +2 -0
  748. package/dist/project/components/ImageCropper/stories.js +33 -0
  749. package/dist/project/components/Indicator/README.md +110 -0
  750. package/dist/project/components/Indicator/preview.html +2 -0
  751. package/dist/project/components/Indicator/stories.js +12 -0
  752. package/dist/project/components/InlineEdit/README.md +977 -0
  753. package/dist/project/components/InlineEdit/preview.html +2 -0
  754. package/dist/project/components/InlineEdit/stories.js +12 -0
  755. package/dist/project/components/Input/README.md +187 -0
  756. package/dist/project/components/Input/preview.html +2 -0
  757. package/dist/project/components/Input/stories.js +12 -0
  758. package/dist/project/components/InputGroup/README.md +423 -0
  759. package/dist/project/components/InputGroup/preview.html +2 -0
  760. package/dist/project/components/InputGroup/stories.js +12 -0
  761. package/dist/project/components/InputOTP/README.md +201 -0
  762. package/dist/project/components/InputOTP/preview.html +2 -0
  763. package/dist/project/components/InputOTP/stories.js +12 -0
  764. package/dist/project/components/Ip/README.md +226 -0
  765. package/dist/project/components/Ip/preview.html +2 -0
  766. package/dist/project/components/Ip/stories.js +12 -0
  767. package/dist/project/components/Kbd/README.md +126 -0
  768. package/dist/project/components/Kbd/preview.html +2 -0
  769. package/dist/project/components/Kbd/stories.js +12 -0
  770. package/dist/project/components/LineChart/README.md +1479 -0
  771. package/dist/project/components/LineChart/preview.html +2 -0
  772. package/dist/project/components/LineChart/stories.js +12 -0
  773. package/dist/project/components/Link/README.md +160 -0
  774. package/dist/project/components/Link/preview.html +2 -0
  775. package/dist/project/components/Link/stories.js +12 -0
  776. package/dist/project/components/List/README.md +181 -0
  777. package/dist/project/components/List/preview.html +2 -0
  778. package/dist/project/components/List/stories.js +12 -0
  779. package/dist/project/components/Loader/README.md +145 -0
  780. package/dist/project/components/Loader/preview.html +2 -0
  781. package/dist/project/components/Loader/stories.js +12 -0
  782. package/dist/project/components/Logo/README.md +183 -0
  783. package/dist/project/components/Logo/preview.html +2 -0
  784. package/dist/project/components/Logo/stories.js +12 -0
  785. package/dist/project/components/MessageActions/README.md +255 -0
  786. package/dist/project/components/MessageActions/preview.html +2 -0
  787. package/dist/project/components/MessageActions/stories.js +12 -0
  788. package/dist/project/components/Metric/README.md +324 -0
  789. package/dist/project/components/Metric/preview.html +2 -0
  790. package/dist/project/components/Metric/stories.js +12 -0
  791. package/dist/project/components/NavRail/README.md +25 -0
  792. package/dist/project/components/NotificationCenter/README.md +91 -0
  793. package/dist/project/components/NotificationCenter/preview.html +2 -0
  794. package/dist/project/components/NotificationCenter/stories.js +12 -0
  795. package/dist/project/components/NotificationCenter/stories.md +2170 -0
  796. package/dist/project/components/NumberInput/README.md +177 -0
  797. package/dist/project/components/NumberInput/preview.html +2 -0
  798. package/dist/project/components/NumberInput/stories.js +12 -0
  799. package/dist/project/components/NumericBadge/README.md +252 -0
  800. package/dist/project/components/NumericBadge/preview.html +2 -0
  801. package/dist/project/components/NumericBadge/stories.js +12 -0
  802. package/dist/project/components/OverflowList/README.md +324 -0
  803. package/dist/project/components/OverflowList/preview.html +2 -0
  804. package/dist/project/components/OverflowList/stories.js +12 -0
  805. package/dist/project/components/OverflowTooltip/README.md +421 -0
  806. package/dist/project/components/OverflowTooltip/preview.html +2 -0
  807. package/dist/project/components/OverflowTooltip/stories.js +12 -0
  808. package/dist/project/components/Overlay/README.md +95 -0
  809. package/dist/project/components/Overlay/preview.html +2 -0
  810. package/dist/project/components/Overlay/stories.js +12 -0
  811. package/dist/project/components/Overview/README.md +445 -0
  812. package/dist/project/components/Overview/preview.html +2 -0
  813. package/dist/project/components/Overview/stories.js +12 -0
  814. package/dist/project/components/Page/README.md +215 -0
  815. package/dist/project/components/Page/preview.html +2 -0
  816. package/dist/project/components/Page/stories.js +12 -0
  817. package/dist/project/components/Pagination/README.md +302 -0
  818. package/dist/project/components/Pagination/preview.html +2 -0
  819. package/dist/project/components/Pagination/stories.js +12 -0
  820. package/dist/project/components/ParameterPath/README.md +284 -0
  821. package/dist/project/components/ParameterPath/preview.html +2 -0
  822. package/dist/project/components/ParameterPath/stories.js +12 -0
  823. package/dist/project/components/PasswordComplexity/README.md +171 -0
  824. package/dist/project/components/PasswordComplexity/preview.html +2 -0
  825. package/dist/project/components/PasswordComplexity/stories.js +12 -0
  826. package/dist/project/components/PasswordInput/README.md +254 -0
  827. package/dist/project/components/PasswordInput/preview.html +2 -0
  828. package/dist/project/components/PasswordInput/stories.js +12 -0
  829. package/dist/project/components/PieChart/README.md +895 -0
  830. package/dist/project/components/PieChart/preview.html +2 -0
  831. package/dist/project/components/PieChart/stories.js +12 -0
  832. package/dist/project/components/Popover/README.md +282 -0
  833. package/dist/project/components/Popover/preview.html +2 -0
  834. package/dist/project/components/Popover/stories.js +12 -0
  835. package/dist/project/components/Progress/README.md +174 -0
  836. package/dist/project/components/Progress/preview.html +2 -0
  837. package/dist/project/components/Progress/stories.js +12 -0
  838. package/dist/project/components/Radio/README.md +264 -0
  839. package/dist/project/components/Radio/preview.html +2 -0
  840. package/dist/project/components/Radio/stories.js +12 -0
  841. package/dist/project/components/RemoteShell/README.md +1758 -0
  842. package/dist/project/components/RemoteShell/preview.html +2 -0
  843. package/dist/project/components/RemoteShell/stories.js +28 -0
  844. package/dist/project/components/Resizable/README.md +290 -0
  845. package/dist/project/components/Resizable/preview.html +2 -0
  846. package/dist/project/components/Resizable/stories.js +12 -0
  847. package/dist/project/components/ResponseCode/README.md +205 -0
  848. package/dist/project/components/ResponseCode/preview.html +2 -0
  849. package/dist/project/components/ResponseCode/stories.js +12 -0
  850. package/dist/project/components/ScrollArea/README.md +234 -0
  851. package/dist/project/components/ScrollArea/preview.html +2 -0
  852. package/dist/project/components/ScrollArea/stories.js +12 -0
  853. package/dist/project/components/SearchInput/README.md +158 -0
  854. package/dist/project/components/SearchInput/preview.html +2 -0
  855. package/dist/project/components/SearchInput/stories.js +12 -0
  856. package/dist/project/components/SearchModal/README.md +836 -0
  857. package/dist/project/components/SearchModal/preview.html +2 -0
  858. package/dist/project/components/SearchModal/stories.js +12 -0
  859. package/dist/project/components/SegmentedControl/README.md +382 -0
  860. package/dist/project/components/SegmentedControl/preview.html +2 -0
  861. package/dist/project/components/SegmentedControl/stories.js +12 -0
  862. package/dist/project/components/SegmentedTabs/README.md +390 -0
  863. package/dist/project/components/SegmentedTabs/preview.html +2 -0
  864. package/dist/project/components/SegmentedTabs/stories.js +12 -0
  865. package/dist/project/components/Select/README.md +1311 -0
  866. package/dist/project/components/Select/preview.html +2 -0
  867. package/dist/project/components/Select/stories.js +12 -0
  868. package/dist/project/components/Selection/README.md +648 -0
  869. package/dist/project/components/Selection/preview.html +2 -0
  870. package/dist/project/components/Selection/stories.js +12 -0
  871. package/dist/project/components/Separator/README.md +77 -0
  872. package/dist/project/components/Separator/preview.html +2 -0
  873. package/dist/project/components/Separator/stories.js +12 -0
  874. package/dist/project/components/Skeleton/README.md +358 -0
  875. package/dist/project/components/Skeleton/preview.html +2 -0
  876. package/dist/project/components/Skeleton/stories.js +12 -0
  877. package/dist/project/components/Slider/README.md +433 -0
  878. package/dist/project/components/Slider/preview.html +2 -0
  879. package/dist/project/components/Slider/stories.js +12 -0
  880. package/dist/project/components/SplashScreen/README.md +192 -0
  881. package/dist/project/components/SplashScreen/preview.html +2 -0
  882. package/dist/project/components/SplashScreen/stories.js +12 -0
  883. package/dist/project/components/SplitButton/README.md +402 -0
  884. package/dist/project/components/SplitButton/preview.html +2 -0
  885. package/dist/project/components/SplitButton/stories.js +12 -0
  886. package/dist/project/components/Stack/README.md +269 -0
  887. package/dist/project/components/Stack/preview.html +2 -0
  888. package/dist/project/components/Stack/stories.js +12 -0
  889. package/dist/project/components/Stepper/README.md +682 -0
  890. package/dist/project/components/Stepper/preview.html +2 -0
  891. package/dist/project/components/Stepper/stories.js +12 -0
  892. package/dist/project/components/Switch/README.md +236 -0
  893. package/dist/project/components/Switch/preview.html +2 -0
  894. package/dist/project/components/Switch/stories.js +12 -0
  895. package/dist/project/components/Table/README.md +471 -0
  896. package/dist/project/components/Table/preview.html +2 -0
  897. package/dist/project/components/Table/stories.js +12 -0
  898. package/dist/project/components/Table/stories.md +3697 -0
  899. package/dist/project/components/Tabs/README.md +443 -0
  900. package/dist/project/components/Tabs/preview.html +2 -0
  901. package/dist/project/components/Tabs/stories.js +12 -0
  902. package/dist/project/components/Tag/README.md +324 -0
  903. package/dist/project/components/Tag/preview.html +2 -0
  904. package/dist/project/components/Tag/stories.js +12 -0
  905. package/dist/project/components/Text/README.md +200 -0
  906. package/dist/project/components/Text/preview.html +2 -0
  907. package/dist/project/components/Text/stories.js +12 -0
  908. package/dist/project/components/Textarea/README.md +273 -0
  909. package/dist/project/components/Textarea/preview.html +2 -0
  910. package/dist/project/components/Textarea/stories.js +12 -0
  911. package/dist/project/components/TimeInput/README.md +359 -0
  912. package/dist/project/components/TimeInput/preview.html +2 -0
  913. package/dist/project/components/TimeInput/stories.js +12 -0
  914. package/dist/project/components/Timeline/README.md +204 -0
  915. package/dist/project/components/Timeline/preview.html +2 -0
  916. package/dist/project/components/Timeline/stories.js +12 -0
  917. package/dist/project/components/Toast/README.md +718 -0
  918. package/dist/project/components/Toast/preview.html +2 -0
  919. package/dist/project/components/Toast/stories.js +12 -0
  920. package/dist/project/components/ToggleButton/README.md +292 -0
  921. package/dist/project/components/ToggleButton/preview.html +2 -0
  922. package/dist/project/components/ToggleButton/stories.js +12 -0
  923. package/dist/project/components/Tooltip/README.md +199 -0
  924. package/dist/project/components/Tooltip/preview.html +2 -0
  925. package/dist/project/components/Tooltip/stories.js +12 -0
  926. package/dist/project/components/TopHeader/README.md +21 -0
  927. package/dist/project/components/Tour/README.md +532 -0
  928. package/dist/project/components/Tour/preview.html +2 -0
  929. package/dist/project/components/Tour/stories.js +12 -0
  930. package/dist/project/components/Tree/README.md +450 -0
  931. package/dist/project/components/Tree/preview.html +2 -0
  932. package/dist/project/components/Tree/stories.js +12 -0
  933. package/dist/project/components/TreeView/README.md +531 -0
  934. package/dist/project/components/TreeView/preview.html +2 -0
  935. package/dist/project/components/TreeView/stories.js +12 -0
  936. package/dist/project/components/UTILITIES.md +647 -0
  937. package/dist/project/components/UserMessage/README.md +166 -0
  938. package/dist/project/components/UserMessage/preview.html +2 -0
  939. package/dist/project/components/UserMessage/stories.js +12 -0
  940. package/dist/project/components/UtilityPage/README.md +147 -0
  941. package/dist/project/components/UtilityPage/preview.html +2 -0
  942. package/dist/project/components/UtilityPage/stories.js +12 -0
  943. package/dist/project/components/WallyAssistant/README.md +1380 -0
  944. package/dist/project/components/WallyAssistant/preview.html +2 -0
  945. package/dist/project/components/WallyAssistant/stories.js +12 -0
  946. package/dist/project/components/WallyIcon/README.md +130 -0
  947. package/dist/project/components/WallyIcon/preview.html +2 -0
  948. package/dist/project/components/WallyIcon/stories.js +12 -0
  949. package/dist/project/components/WallySkeleton/README.md +96 -0
  950. package/dist/project/components/WallySkeleton/preview.html +2 -0
  951. package/dist/project/components/WallySkeleton/stories.js +12 -0
  952. package/dist/project/components/bundle.css +18734 -0
  953. package/dist/project/components/bundle.js +167 -0
  954. package/dist/project/components/index.d.ts +27226 -0
  955. package/dist/project/design-system.json +35 -0
  956. package/dist/project/fonts/Geist-Variable.woff2 +0 -0
  957. package/dist/project/fonts/GeistMono-Variable.woff2 +0 -0
  958. package/dist/project/fonts/GeistPixel-Square.woff2 +0 -0
  959. package/dist/project/sampler.dc.html +238 -0
  960. package/dist/project/tokens.css +1395 -0
  961. package/dist/project/tokens.json +5235 -0
  962. package/dist/wallarm-sampler.dc.html +239 -0
  963. package/package.json +67 -3
@@ -0,0 +1,2 @@
1
+ <!-- @dsCard group="Navigation" height=480 -->
2
+ <!doctype html><html><head><meta charset="utf-8"></head><body><div id="preview"></div><script src="./stories.js"></script><script>window.WallarmPreview.mount(document.getElementById('preview'));</script></body></html>
@@ -0,0 +1,28 @@
1
+ var e={vD(e,t,r){let n,o;/**
2
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
3
+ *
4
+ * This source code is licensed under the MIT license found in the
5
+ * LICENSE file in the root directory of this source tree.
6
+ *
7
+ * @lightSyntaxTransform
8
+ * @noflow
9
+ * @nolint
10
+ * @preventMunge
11
+ * @preserve-invariant-messages
12
+ */var i,s,a=Object.create,l=Object.defineProperty,c=Object.getOwnPropertyDescriptor,u=Object.getOwnPropertyNames,d=Object.getPrototypeOf,h=Object.prototype.hasOwnProperty,f=(e,t,r,n)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let o of u(t))h.call(e,o)||o===r||l(e,o,{get:()=>t[o],enumerable:!(n=c(t,o))||n.enumerable});return e},p={},g={$dispatcherGuard:()=>P,$makeReadOnly:()=>T,$reset:()=>E,$structuralCheck:()=>F,c:()=>x,clearRenderCounterRegistry:()=>O,renderCounterRegistry:()=>I,useRenderCounter:()=>D};for(var m in g)l(p,m,{get:g[m],enumerable:!0});e.exports=f(l({},"__esModule",{value:!0}),p);var y=(o=null!=(n=r("C"))?a(d(n)):{},f(n&&n.__esModule?o:l(o,"default",{value:n,enumerable:!0}),n)),{useRef:v,useEffect:b,isValidElement:_}=y,w=null!=(i=y.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE)?i:y.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,S=Symbol.for("react.memo_cache_sentinel"),x="function"==typeof(null==(s=y.__COMPILER_RUNTIME)?void 0:s.c)?y.__COMPILER_RUNTIME.c:function(e){return y.useMemo(()=>{let t=Array(e);for(let r=0;r<e;r++)t[r]=S;return t[S]=!0,t},[])},k={};["readContext","useCallback","useContext","useEffect","useImperativeHandle","useInsertionEffect","useLayoutEffect","useMemo","useReducer","useRef","useState","useDebugValue","useDeferredValue","useTransition","useMutableSource","useSyncExternalStore","useId","unstable_isNewReconciler","getCacheSignal","getCacheForType","useCacheRefresh"].forEach(e=>{k[e]=()=>{throw Error(`[React] Unexpected React hook call (${e}) from a React compiled function. Check that all hooks are called directly and named according to convention ('use[A-Z]') `)}});var R=null;function C(e){return w.ReactCurrentDispatcher.current=e,w.ReactCurrentDispatcher.current}k.useMemoCache=e=>{if(null!=R)return R.useMemoCache(e);throw Error("React Compiler internal invariant violation: unexpected null dispatcher")};var L=[];function P(e){let t=w.ReactCurrentDispatcher.current;if(0===e){if(L.push(t),1===L.length&&(R=t),t===k)throw Error("[React] Unexpected call to custom hook or component from a React compiled function. Check that (1) all hooks are called directly and named according to convention ('use[A-Z]') and (2) components are returned as JSX instead of being directly invoked.");C(k)}else if(1===e){let e=L.pop();if(null==e)throw Error("React Compiler internal error: unexpected null in guard stack");0===L.length&&(R=null),C(e)}else if(2===e)L.push(t),C(R);else if(3===e){let e=L.pop();if(null==e)throw Error("React Compiler internal error: unexpected null in guard stack");C(e)}else throw Error("React Compiler internal error: unreachable block"+e)}function E(e){for(let t=0;t<e.length;t++)e[t]=S}function T(){throw Error("TODO: implement $makeReadOnly in react-compiler-runtime")}var I=new Map;function O(){for(let e of I.values())e.forEach(e=>{e.count=0})}function D(e){let t=v(null);null!=t.current&&(t.current.count+=1),b(()=>{if(null==t.current){let r,n={count:0};null==(r=I.get(e))&&(r=new Set,I.set(e,r)),r.add(n),t.current=n}return()=>{var r;let n;null!==t.current&&(r=t.current,null!=(n=I.get(e))&&n.delete(r))}})}var M=new Set;function F(e,t,r,n,o,i){function s(e,t,s,a){let l=`${n}:${i} [${o}] ${r}${s} changed from ${e} to ${t} at depth ${a}`;M.has(l)||(M.add(l),console.error(l))}!function e(t,r,n,o){if(!(o>2)){if(t!==r)if(typeof t!=typeof r)s(`type ${typeof t}`,`type ${typeof r}`,n,o);else if("object"==typeof t){let i=Array.isArray(t),a=Array.isArray(r);if(null===t&&null!==r)s("null",`type ${typeof r}`,n,o);else if(null===r)s(`type ${typeof t}`,"null",n,o);else if(t instanceof Map)if(r instanceof Map)if(t.size!==r.size)s(`Map instance with size ${t.size}`,`Map instance with size ${r.size}`,n,o);else for(let[i,a]of t)r.has(i)?e(a,r.get(i),`${n}.get(${i})`,o+1):s(`Map instance with key ${i}`,`Map instance without key ${i}`,n,o);else s("Map instance","other value",n,o);else if(r instanceof Map)s("other value","Map instance",n,o);else if(t instanceof Set)if(r instanceof Set)if(t.size!==r.size)s(`Set instance with size ${t.size}`,`Set instance with size ${r.size}`,n,o);else for(let e of r)t.has(e)||s(`Set instance without element ${e}`,`Set instance with element ${e}`,n,o);else s("Set instance","other value",n,o);else if(r instanceof Set)s("other value","Set instance",n,o);else if(i||a)if(i!==a)s(`type ${i?"array":"object"}`,`type ${a?"array":"object"}`,n,o);else if(t.length!==r.length)s(`array with length ${t.length}`,`array with length ${r.length}`,n,o);else for(let i=0;i<t.length;i++)e(t[i],r[i],`${n}[${i}]`,o+1);else if(_(t)||_(r))_(t)!==_(r)?s(`type ${_(t)?"React element":"object"}`,`type ${_(r)?"React element":"object"}`,n,o):t.type!==r.type?s(`React element of type ${t.type}`,`React element of type ${r.type}`,n,o):e(t.props,r.props,`[props of ${n}]`,o+1);else{for(let e in r)e in t||s(`object without key ${e}`,`object with key ${e}`,n,o);for(let i in t)i in r?e(t[i],r[i],`${n}.${i}`,o+1):s(`object with key ${i}`,`object without key ${i}`,n,o)}}else{if("function"==typeof t)return;isNaN(t)||isNaN(r)?isNaN(t)!==isNaN(r)&&s(`${isNaN(t)?"NaN":"non-NaN value"}`,`${isNaN(r)?"NaN":"non-NaN value"}`,n,o):t!==r&&s(t,r,n,o)}}}(e,t,"",0)}},Zh(e,t,r){/**
13
+ * @license React
14
+ * use-sync-external-store-shim.production.js
15
+ *
16
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
17
+ *
18
+ * This source code is licensed under the MIT license found in the
19
+ * LICENSE file in the root directory of this source tree.
20
+ */var n=r("C"),o="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},i=n.useState,s=n.useEffect,a=n.useLayoutEffect,l=n.useDebugValue;function c(e){var t=e.getSnapshot;e=e.value;try{var r=t();return!o(e,r)}catch(e){return!0}}var u="u"<typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var r=t(),n=i({inst:{value:r,getSnapshot:t}}),o=n[0].inst,u=n[1];return a(function(){o.value=r,o.getSnapshot=t,c(o)&&u({inst:o})},[e,r,t]),s(function(){return c(o)&&u({inst:o}),e(function(){c(o)&&u({inst:o})})},[e]),l(r),r};t.useSyncExternalStore=void 0!==n.useSyncExternalStore?n.useSyncExternalStore:u},J(e,t,r){/**
21
+ * @license React
22
+ * use-sync-external-store-shim/with-selector.production.js
23
+ *
24
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
25
+ *
26
+ * This source code is licensed under the MIT license found in the
27
+ * LICENSE file in the root directory of this source tree.
28
+ */var n=r("C"),o=r("x"),i="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},s=o.useSyncExternalStore,a=n.useRef,l=n.useEffect,c=n.useMemo,u=n.useDebugValue;t.useSyncExternalStoreWithSelector=function(e,t,r,n,o){var d=a(null);if(null===d.current){var h={hasValue:!1,value:null};d.current=h}else h=d.current;var f=s(e,(d=c(function(){function e(e){if(!l){if(l=!0,s=e,e=n(e),void 0!==o&&h.hasValue){var t=h.value;if(o(t,e))return a=t}return a=e}if(t=a,i(s,e))return t;var r=n(e);return void 0!==o&&o(t,r)?(s=e,t):(s=e,a=r)}var s,a,l=!1,c=void 0===r?null:r;return[function(){return e(t())},null===c?void 0:function(){return e(c())}]},[t,r,n,o]))[0],d[1]);return l(function(){h.hasValue=!0,h.value=f},[f]),u(f),f}},x(e,t,r){e.exports=r("Zh")},s(e,t,r){e.exports=r("J")},p(e,t,r){let n=new WeakMap,o=new WeakMap;function i(e,t,r){let i=t,s=r;if("object"==typeof i&&null!==i&&"$$typeof"in i&&i.$$typeof===Symbol.for("react.context")&&"Provider"in i&&(i=i.Provider),"function"==typeof i&&null!=s.ref&&!i.prototype?.isReactComponent){let t=i,r=n.get(e);r||(r=new WeakMap,n.set(e,r));let o=r.get(t);o||((o=e.forwardRef((e,r)=>t({...e,ref:r}))).displayName=t.displayName??t.name,r.set(t,o)),i=o}if("string"==typeof i&&"boolean"==typeof s.inert&&((s={...s}).inert?s.inert="":delete s.inert),"string"==typeof i)for(let[e,t]of[["fill-rule","fillRule"],["clip-rule","clipRule"]])e in s&&(s={...s,[t]:s[e]},delete s[e]);return"string"==typeof i&&null!=s.ref&&(i=function(e,t){let r=o.get(e);r||(r=new Map,o.set(e,r));let n=r.get(t);if(n)return n;let i=e.forwardRef((r,n)=>{let o=e.useRef(null);if(!o.current||o.current.original!==n){let e;o.current={original:n,callback:t=>{if(null==t&&e){let t=e;e=void 0,t();return}if("function"==typeof n){let r=n(t);e="function"==typeof r?r:void 0}else n&&(n.current=t)}}}return e.createElement(t,{...r,ref:o.current.callback})});return i.displayName=`CanvasHost(${t})`,r.set(t,i),i}(e,i)),{type:i,props:s}}function s(e){let t=(t,r,n)=>{let o=i(e,t,r??{});return e.createElement(o.type,void 0===n?o.props:{...o.props,key:n})};return{jsx:t,jsxs:(t,r,n)=>{let o=i(e,t,r??{}),{children:s,...a}=o.props;return e.createElement(o.type,void 0===n?a:{...a,key:n},...Array.isArray(s)?s:[s])},jsxDEV:t,Fragment:e.Fragment}}function a(e){return{...e,createElement:(t,r,...n)=>{let o=i(e,t,r??{});return e.createElement(o.type,o.props,...n)},cloneElement:(t,r,...n)=>{let o=e.cloneElement(t,r??void 0,...n),s=o.ref,a=i(e,o.type,{...o.props,ref:s});return a.type===o.type&&"string"!=typeof o.type?o:e.createElement(a.type,{...a.props,key:o.key})}}}r.d(t,{MA:()=>s,YJ:()=>a})},C(e,t,r){r.r(t);let n=(0,r("p").YJ)(window.React),{Children:o,Component:i,Fragment:s,Profiler:a,PureComponent:l,StrictMode:c,Suspense:u,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:d,act:h,cloneElement:f,createContext:p,createElement:g,createFactory:m,createRef:y,forwardRef:v,isValidElement:b,lazy:_,memo:w,startTransition:S,unstable_act:x,useCallback:k,useContext:R,useDebugValue:C,useDeferredValue:L,useEffect:P,useId:E,useImperativeHandle:T,useInsertionEffect:I,useLayoutEffect:O,useMemo:D,useReducer:M,useRef:F,useState:A,useSyncExternalStore:$,useTransition:N,version:j,use:B}=n;r.d(t,{},{Children:o,Component:i,Fragment:s,Profiler:a,PureComponent:l,StrictMode:c,Suspense:u,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:d,act:h,cloneElement:f,createContext:p,createElement:g,createFactory:m,createRef:y,default:n,forwardRef:v,isValidElement:b,lazy:_,memo:w,startTransition:S,unstable_act:x,use:B,useCallback:k,useContext:R,useDebugValue:C,useDeferredValue:L,useEffect:P,useId:E,useImperativeHandle:T,useInsertionEffect:I,useLayoutEffect:O,useMemo:D,useReducer:M,useRef:F,useState:A,useSyncExternalStore:$,useTransition:N,version:j})}},t={};function r(n){var o=t[n];if(void 0!==o)return o.exports;var i=t[n]={exports:{}};return e[n](i,i.exports,r),i.exports}r.d=(e,t,n)=>{var o=(t,n)=>{for(var o in t)r.o(t,o)&&!r.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,[n]:t[o]})};o(t,"get"),o(n,"value")},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"u">typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{let e,t,{jsx:n,jsxs:o,jsxDEV:i,Fragment:s}=(0,r("p").MA)(window.React);var a,l=r("vD"),c=r("C"),u=c.createContext(null);function d(e){let t=c.useContext(u);return t}var h=c.createContext(void 0),f=c.createContext(void 0);function p(e){return e[e.length-1]}function g(e,t){return"function"==typeof e?e(t):e}let m=Object.prototype.hasOwnProperty;function y(e){for(let t in e)if(m.call(e,t))return!0;return!1}let v=()=>Object.create(null),b=(e,t)=>_(e,t,!0);function _(e,t,r,n=0){let o,i,s;if(e===t)return e;if(n++>500)return t;let a=Array.isArray(e)&&Array.isArray(t);if(!a&&!(w(e)&&w(t)))return t;let l=Object.keys(e),c=l.length,u=Object.keys(t),d=u.length;if(a?c!==e.length||d!==t.length||c&&p(l)!==`${c-1}`||d&&p(u)!==`${d-1}`:c!==Object.getOwnPropertyNames(e).length||d!==Object.getOwnPropertyNames(t).length||Object.getOwnPropertySymbols(t).length)return t;let h=0;if(a){for(;h<d&&(o=(i=e[s=h])===(o=t[s])?i:"object"==typeof i?_(i,o,r,n):o)===i;h++);if(h===d&&c===d)return e}else{let a=c===d,f=!0;for(;h<d;h++){i=e[s=u[h]];let c=t[s];o=i===c?i:"object"==typeof i?_(i,c,r,n):c,a&&=o===i&&(l[h]===s||m.call(e,s)),f&&=Object.is(o,c),l[h]=o}if(a)return Object.getOwnPropertySymbols(e).length?t:e;if(f)return t}let f=a?u.fill(0):r?v():{};for(let c=0;c<d;c++)s=a?c:u[c],a?(i=e[s],c>h&&(o=i===(o=t[s])?i:"object"==typeof i?_(i,o,r,n):o),f[s]=c<h?i:o):f[s]=l[c];return f}function w(e){return!!e&&"object"==typeof e&&(Object.getPrototypeOf(e)?.constructor??Object)===Object}function S(e,t,r,n){if(e===t)return!0;if(Array.isArray(e)&&Array.isArray(t)){if(e.length!==t.length)return!1;for(let o=0,i=e.length;o<i;o++){let i=e[o],s=t[o];if(i!==s&&!S(i,s,r,n))return!1}return!0}if(w(e)&&w(t)){if(r){for(let o in t)if((n||void 0!==t[o])&&!S(e[o],t[o],r,n))return!1;return!0}let o=0;if(n)o=Object.keys(e).length;else for(let t in e)void 0!==e[t]&&o++;for(let i in t)if((n||void 0!==t[i])&&(0==o--||!S(e[i],t[i],r,n)))return!1;return 0===o}return!1}let x=/[\x00-\x1f\x7f"<>`{}]/g;function k(e){let t;try{t=decodeURI(e)}catch{t=e.replaceAll(/%[0-9A-F]{2}/gi,e=>{try{return decodeURI(e)}catch{return e}})}return t.replace(x,e=>"%"+e.charCodeAt(0).toString(16).toUpperCase().padStart(2,"0"))}let R=["http:","https:","mailto:","tel:"];function C(e){if("/"!==e[0]&&e.includes(":"))return/^[\x00-\x20]*([a-z][a-z\d+.\t\n\r-]*:)/i.exec(e)?.[1]?.replace(/[\t\n\r]/g,"").toLowerCase()}let L=/^[\x00-\x20]*[\\/][\t\n\r]*[\\/]/;function P(e,t){if(!e)return!1;if(L.test(e))return!0;let r=C(e);return!!r&&!t.has(r)}function E(e){if(!e)return e;let t=e;if(/[%\\\x00-\x1f\x7f]/.test(e)){let r,n=/%25|%5C/gi,o=0;for(t="";null!==(r=n.exec(e));)t+=k(e.slice(o,r.index))+r[0],o=n.lastIndex;t+=k(o?e.slice(o):e)}return t}function T(){throw Error("Invariant failed")}var I=r("s");function O(e,t){return e===t}function D(e,t=e=>e,r){let n=r?.compare??O,o=(0,c.useCallback)(t=>{let{unsubscribe:r}=e.subscribe(t);return r},[e]),i=(0,c.useCallback)(()=>e.get(),[e]);return(0,I.useSyncExternalStoreWithSelector)(o,i,i,t,n)}var M={};function F(e,t){let r=c.useRef();return n=>{let o=e?.select?e.select(n):n;return e?.structuralSharing??t.options.defaultStructuralSharing?r.current=_(r.current,o):o}}function A(e){let t=d(),r=c.useContext(e.from?f:h),n=e.from??r,o=t.stores.getMatchStore(n),i=F(e,t),s=D(o,e=>e?i(e):M);if(s!==M)return s;(e.shouldThrow??!0)&&T()}function $(e){let t=d({warn:e?.router===void 0}),r=e?.router||t;return D(r.stores.__store,F(e,r))}function N(e){let t=d();return c.useCallback(r=>t.navigate({...r,from:r.from??e?.from}),[e?.from,t])}var j=()=>!0,B=()=>!1;function W({children:e,fallback:t=null}){return n(c.default.Fragment,{children:U()?e:t})}function U(e=!0){return c.default.useSyncExternalStore(z,j,e?B:j)}function z(){return()=>{}}function H(e){return e.replace(/\/{2,}/g,"/")}function V(e){return"/"===e?e:e.replace(/^\/+/,"")}function K(e){let t=e.length;return t>1&&"/"===e[t-1]?e.replace(/\/+$/,""):e}function J(e,t){return e?.endsWith("/")&&"/"!==e&&e!==`${t}/`?e.slice(0,-1):e}function G(e,t,r="never",n){let o,i;if(t.includes("//")&&(t=H(t)),t.startsWith("/"))return 1===t.length||"preserve"===r?t:"always"===r?t.endsWith("/")?t:`${t}/`:t.endsWith("/")?t.slice(0,-1):t;let s="."===t;if(n){o=s?e:e+"\0"+t;let r=n.get(o);if(r)return r}if(s)i=e.split("/");else{for(e.includes("//")&&(e=H(e)),i=e.split("/");i.length>1&&""===p(i);)i.pop();let r=t.split("/");for(let e=0,t=r.length;e<t;e++){let n=r[e];""===n?e?e===t-1&&i.push(n):i=[n]:".."===n?i.length>1?i.pop():i=[""]:"."===n||i.push(n)}}i.length>1&&(""===p(i)?"never"===r&&i.pop():"always"===r&&i.push(""));let a=i.join("/"),l=(s?H(a):a)||"/";return o&&n&&n.set(o,l),l}function Y(e,t,r,n,o){let i=e.endsWith("/")?"/":"",s="";for(let e of t){if("string"==typeof e){s+=e;continue}let[t,l,c,u]=e,d=2===t,h=d&&void 0!==u?u+i:u,f=r[l];if(3!==t||null!=f){var a;if(o&&(o[l]=f,d&&(o["*"]=f)),d&&(null==(a=f)||""===a)){if("/"===c&&!h)continue;f=""}s+=c+function(e,t,r){if("string"!=typeof t)return""+(t??void 0);let n="_splat"===e;if(n&&(!t||/^[a-zA-Z0-9\-._~!/]*$/.test(t)))return t;let o=encodeURIComponent(t);return n&&(o=o.replaceAll("%2F","/")),r?r(o):o}(l,f,n)+(h||"")}}return s+i||"/"}function Z(e,t){e.preloadRoute(t).catch(e=>{console.warn(e),console.warn("Error preloading route! ☝️")})}var q={compare:(e,t)=>e[0]===t[0]&&e[1]===t[1]},X={},Q={className:"active"},ee=new Set(["to","params","search","hash","state","mask","from","unsafeRelative","_fromLocation","reloadDocument","preload","preloadDelay","preloadIntentProximity","hashScrollIntoView","replace","startTransition","resetScroll","viewTransition","ignoreBlocker","activeProps","inactiveProps","activeOptions","_asChild"]),et=new WeakMap,er=e=>{clearTimeout(et.get(e)),et.delete(e)},en=(e,t)=>e?r=>r.defaultPrevented||(e(r),r.defaultPrevented||t(r)):t,eo=c.memo(c.forwardRef((e,t)=>{let r=e._asChild||"a",n=function(e,t,r){let n=d(),o=c.useRef(null),i=c.useCallback(e=>{if(o.current=e,"function"==typeof t)return t(e);t&&(t.current=e)},[t]),{activeOptions:s,to:a,preload:l,preloadDelay:u,hashScrollIntoView:h,replace:f,startTransition:p,resetScroll:m,viewTransition:y,ignoreBlocker:v,disabled:b,target:_,onClick:w,onBlur:x,onFocus:k,onMouseEnter:R,onMouseLeave:L,onTouchStart:E}=e,T=U(!!s?.includeHash),[I,O,M]=function(...e){let t=c.useRef(e),r=t.current;return e.forEach((e,t)=>{S(r[t],e,!1,!0)||(r[t]=e)}),t.current}(e.search,e.params,s),[F,A]=c.useMemo(()=>[e,{...e}],[n,e.from,e._fromLocation,e.hash,e.to,I,O,e.state,e.mask,e.unsafeRelative]),$=c.useMemo(()=>{let e,t,r=function(e,t){let r="string"==typeof e&&C(e);if(r)return t.has(r)?e:null}(a,n.protocolAllowlist);if(void 0!==r){let e=[r??void 0];return()=>e}return r=>{var o,i,s,a,l;let c,u;F._fromLocation||(A._fromLocation=r);let d=n.buildLocation(A),h=function(e,t,r){if(r)return;let n=e.maskedLocation??e,o=n.external?n.publicHref:t.history.createHref(n.publicHref)||"/";return(n.external||o!==n.publicHref)&&P(o,t.protocolAllowlist)?void 0:o}(d,n,b);return e&&e[0]===h||(e=[h,!(b||h&&!C(h))&&void 0],t=[h,!0]),void 0===e[1]||(o=r,i=d,s=M,a=n.basepath,l=T,c=J(o.pathname,a),u=J(i.pathname,a),(s?.exact?c!==u:!(c.startsWith(u)&&(c.length===u.length||"/"===c[u.length])))||(s?.includeSearch??!0)&&!S(o.search,i.search,!s?.exact,s?.explicitUndefined)||s?.includeHash&&(!l||o.hash!==i.hash))?e:t}},[M,b,T,F,A,n,a]),[N,j]=D(n.stores.location,$,q),B=void 0===j&&N,W=b||void 0===N,z=c.useRef(!1),H=!e.reloadDocument&&!B&&!W&&(l??n.options.defaultPreload),V=u??n.options.defaultPreloadDelay??0,K=c.useCallback(e=>{let t=e?.isIntersecting;if(!(t??"intent"===H)){!1===t&&er(o);return}V?et.has(o)||et.set(o,setTimeout(()=>{et.delete(o),Z(n,F)},V)):Z(n,F)},[n,F,o,H,V]);c.useEffect(()=>{let e;if(!H)return;"render"!==H||z.current||(z.current=!0,Z(n,F));let t=!0;return"viewport"===H&&o.current&&"function"==typeof IntersectionObserver&&(e=new IntersectionObserver(e=>{t&&K(e.pop())},{rootMargin:"100px"})).observe(o.current),()=>{t=!1,e?.disconnect(),er(o)}},[n,F,H,K,o]);let G=function(e,t){let r={};for(let n in e)ee.has(n)||"type"===n&&void 0!==t||"disabled"===n&&"a"===t||(r[n]=e[n]);return r}(e,r);if(G.ref=t?i:o,B)return G.href=B,G;let Y=()=>{"intent"===H&&er(o)};return G.onClick=en(w,e=>{let t=_??e.currentTarget.getAttribute("target");W||e.metaKey||e.altKey||e.ctrlKey||e.shiftKey||e.defaultPrevented||t&&"_self"!==t||0!==e.button||(e.preventDefault(),n.navigate({...F,replace:f,resetScroll:m,hashScrollIntoView:h,startTransition:p,viewTransition:y,ignoreBlocker:v}))}),G.onBlur=en(x,Y),G.onFocus=en(k,K),G.onMouseEnter=en(R,K),G.onMouseLeave=en(L,Y),G.onTouchStart=en(E,()=>{"intent"===H&&Z(n,F)}),function(e,t,r,n,o,i){let{activeProps:s,inactiveProps:a,className:l,style:c,target:u}=t,d=g(r?s:a,{})??(r?Q:X);Object.assign(e,d),e.href=n,"a"!==i&&(e.disabled=o),e.target=u;let h=d.style;(c||h)&&(e.style=c&&h?{...c,...h}:c||h);let f=d.className;return(l||f)&&(e.className=l?f?`${l} ${f}`:l:f),o&&(e.role="link",e["aria-disabled"]=!0),r&&(e["data-status"]="active",e["aria-current"]="page"),e}(G,e,j,N,W,r)}(e,t,r),o="function"==typeof e.children?e.children({isActive:"active"===n["data-status"]}):e.children;return c.createElement(r,n,o)}),function(e,t){let r=0;for(let n in t)if(r++,e[n]!==t[n]&&(!ee.has(n)||!S(e[n],t[n],!1,!0)))return!1;for(let t in e)r--;return 0===r});function ei(e){return A({from:e.from,strict:e.strict,structuralSharing:e.structuralSharing,select:t=>e.select?e.select(t.loaderData):t.loaderData})}function es(e){let{select:t,...r}=e;return A({...r,select:e=>t?t(e.loaderDeps):e.loaderDeps})}function ea(e){return A({from:e.from,shouldThrow:e.shouldThrow,structuralSharing:e.structuralSharing,strict:e.strict,select:t=>{let r=!1===e.strict?t.params:t._strictParams;return e.select?e.select(r):r}})}function el(e){return A({from:e.from,strict:e.strict,shouldThrow:e.shouldThrow,structuralSharing:e.structuralSharing,select:t=>e.select?e.select(t.search):t.search})}function ec(e){return A({...e,select:t=>e.select?e.select(t.context):t.context})}function eu(e){return e?.isNotFound===!0}let ed="__root__";function eh(e){return e instanceof Response&&!!e.options}var ef=class{get to(){return this._to}get id(){return this._id}get path(){return this._path}get fullPath(){return this._fullPath}constructor(e){if(this.init=e=>{this.originalIndex=e,this._branch=void 0;let t=this.options,r=!t?.path&&!t?.id;this.parentRoute=this.options.getParentRoute?.(),r?this._path=ed:this.parentRoute||T();let n=r?ed:t?.path;n&&"/"!==n&&(n=V(n));let o=t?.id||n,i=r?ed:H(("__root__"===this.parentRoute.id?"":this.parentRoute.id)+"/"+(o??""));"__root__"===n&&(n="/");let s="__root__"===i?"/":void 0===n?this.parentRoute.fullPath:H(this.parentRoute.fullPath+"/"+n);this._path=n,this._id=i,this._fullPath=s,this._to=K(s)},this.addChildren=e=>this._addFileChildren(e),this._addFileChildren=e=>(Array.isArray(e)&&(this.children=e),"object"==typeof e&&null!==e&&(this.children=Object.values(e)),this),this._addFileTypes=()=>this,this.updateLoader=e=>(Object.assign(this.options,e),this),this.update=e=>(Object.assign(this.options,e),this),this.lazy=e=>(this.lazyFn=e,this),this.redirect=e=>(function(e){e.statusCode=e.statusCode||e.code||307;let t=new Headers(e.headers);e.href&&null===t.get("Location")&&t.set("Location",e.href);let r=new Response(null,{status:e.statusCode,headers:t});if(r.options=e,e.throw)throw r;return r})({from:this.fullPath,...e}),this.options=e||{},this.isRoot=!e?.getParentRoute,e?.id&&e?.path)throw Error("Route cannot have both an 'id' and a 'path' option.")}},ep=class extends ef{constructor(e){super(e)}},eg=class extends ef{constructor(e){super(e),this.useMatch=e=>A({...e,from:this.id}),this.useRouteContext=e=>ec({...e,from:this.id}),this.useSearch=e=>el({...e,from:this.id}),this.useParams=e=>ea({...e,from:this.id}),this.useLoaderDeps=e=>es({...e,from:this.id}),this.useLoaderData=e=>ei({...e,from:this.id}),this.useNavigate=()=>N({from:this.fullPath}),this.Link=c.default.forwardRef((e,t)=>n(eo,{ref:t,from:this.fullPath,...e}))}},em=class extends ep{constructor(e){super(e),this.useMatch=e=>A({...e,from:this.id}),this.useRouteContext=e=>ec({...e,from:this.id}),this.useSearch=e=>el({...e,from:this.id}),this.useParams=e=>ea({...e,from:this.id}),this.useLoaderDeps=e=>es({...e,from:this.id}),this.useLoaderData=e=>ei({...e,from:this.id}),this.useNavigate=()=>N({from:this.fullPath}),this.Link=c.default.forwardRef((e,t)=>n(eo,{ref:t,from:this.fullPath,...e}))}};let ey=[],ev=0,{link:eb,unlink:e_,propagate:ew,checkDirty:eS,shallowPropagate:ex}=function({update:e,notify:t,unwatched:r}){return{link:function(e,t,r){let n=t.depsTail;if(void 0!==n&&n.dep===e)return;let o=void 0!==n?n.nextDep:t.deps;if(void 0!==o&&o.dep===e){o.version=r,t.depsTail=o;return}let i=e.subsTail;if(void 0!==i&&i.version===r&&i.sub===t)return;let s=t.depsTail=e.subsTail={version:r,dep:e,sub:t,prevDep:n,nextDep:o,prevSub:i,nextSub:void 0};void 0!==o&&(o.prevDep=s),void 0!==n?n.nextDep=s:t.deps=s,void 0!==i?i.nextSub=s:e.subs=s},unlink:function(e,t=e.sub){let n=e.dep,o=e.prevDep,i=e.nextDep,s=e.nextSub,a=e.prevSub;return void 0!==i?i.prevDep=o:t.depsTail=o,void 0!==o?o.nextDep=i:t.deps=i,void 0!==s?s.prevSub=a:n.subsTail=a,void 0!==a?a.nextSub=s:void 0===(n.subs=s)&&r(n),i},propagate:function(e){let r,n=e.nextSub;e:for(;;){let o=e.sub,i=o.flags;if(60&i?12&i?4&i?!(48&i)&&function(e,t){let r=t.depsTail;for(;void 0!==r;){if(r===e)return!0;r=r.prevDep}return!1}(e,o)?(o.flags=40|i,i&=1):i=0:o.flags=-9&i|32:i=0:o.flags=32|i,2&i&&t(o),1&i){let t=o.subs;if(void 0!==t){let o=(e=t).nextSub;void 0!==o&&(r={value:n,prev:r},n=o);continue}}if(void 0!==(e=n)){n=e.nextSub;continue}for(;void 0!==r;)if(e=r.value,r=r.prev,void 0!==e){n=e.nextSub;continue e}break}},checkDirty:function(t,r){let o,i=0,s=!1;e:for(;;){let a=t.dep,l=a.flags;if(16&r.flags)s=!0;else if((17&l)==17){if(e(a)){let e=a.subs;void 0!==e.nextSub&&n(e),s=!0}}else if((33&l)==33){(void 0!==t.nextSub||void 0!==t.prevSub)&&(o={value:t,prev:o}),t=a.deps,r=a,++i;continue}if(!s){let e=t.nextDep;if(void 0!==e){t=e;continue}}for(;i--;){let i=r.subs,a=void 0!==i.nextSub;if(a?(t=o.value,o=o.prev):t=i,s){if(e(r)){a&&n(i),r=t.sub;continue}s=!1}else r.flags&=-33;r=t.sub;let l=t.nextDep;if(void 0!==l){t=l;continue e}}return s}},shallowPropagate:n};function n(e){do{let r=e.sub,n=r.flags;(48&n)==32&&(r.flags=16|n,(6&n)==2&&t(r))}while(void 0!==(e=e.nextSub))}}({update:e=>e._update(),notify(e){ey[eR++]=e,e.flags&=-3},unwatched(e){void 0!==e.depsTail&&(e.depsTail=void 0,e.flags=17,eP(e))}}),ek=0,eR=0,eC=0;function eL(e){try{++eC,e()}finally{--eC||eE()}}function eP(e){let t=e.depsTail,r=void 0!==t?t.nextDep:e.deps;for(;void 0!==r;)r=e_(r,e)}function eE(){if(!(eC>0)){for(;ek<eR;){let e=ey[ek];ey[ek++]=void 0,e.notify()}ek=0,eR=0}}function eT(e,r){let n="function"==typeof e,o={_snapshot:n?void 0:e,subs:void 0,subsTail:void 0,deps:void 0,depsTail:void 0,flags:+!n,get:()=>(void 0!==t&&eb(o,t,ev),o._snapshot),subscribe(e){var r;let n,i,s,a,l=(a=(s="object"==typeof e)?e:void 0,{next:(s?e.next:e)?.bind(a),error:(s?e.error:void 0)?.bind(a),complete:(s?e.complete:void 0)?.bind(a)}),c={current:!1},u=(r=()=>{o.get(),c.current?(t=void 0,l.next?.(o._snapshot)):c.current=!0},n=()=>{let e=t;t=i,++ev,i.depsTail=void 0,i.flags=6;try{return r()}finally{t=e,i.flags&=-5,eP(i)}},i={deps:void 0,depsTail:void 0,subs:void 0,subsTail:void 0,flags:6,notify(){let e=this.flags;16&e||32&e&&eS(this.deps,this)?n():this.flags=2},stop(){this.flags=0,this.depsTail=void 0,eP(this)}},n(),i);return{unsubscribe:()=>{u.stop()}}},_update(i){let s=t,a=r?.compare??Object.is;if(n)t=o,++ev,o.depsTail=void 0;else if(void 0===i)return!1;n&&(o.flags=5);try{let t=o._snapshot,r="function"==typeof i?i(t):void 0===i&&n?e(t):i;if(void 0===t||!a(t,r))return o._snapshot=r,!0;return!1}finally{t=s,n&&(o.flags&=-5),eP(o)}}};return n?(o.flags=17,o.get=function(){let e=o.flags;if(16&e||32&e&&eS(o.deps,o)){if(o._update()){let e=o.subs;void 0!==e&&ex(e)}}else 32&e&&(o.flags=-33&e);return void 0!==t&&eb(o,t,ev),o._snapshot}):o.set=function(e){if(o._update(e)){let e=o.subs;void 0!==e&&(ew(e),ex(e),eE())}},o}var eI=e=>({createMutableStore:eT,createReadonlyStore:eT,batch:eL});function eO(e){let t,r,n=new Map;return{get(e){let t=n.get(e);if(t)return t.visited=!0,t.value},set(o,i){let s=n.get(o);if(s){s.value=i;return}if(n.size>=e){let e=t?.next().value;for(;!e||e.visited;)e?e.visited=!1:t=n.values(),e=t.next().value;e===r&&(t=void 0),n.delete(e.key)}let a={key:o,value:i,visited:!1};r=a,n.set(o,a)},clear(){n.clear(),t=void 0,r=void 0}}}function eD(e,t,r,n,o,i){let s,a=r,l=t.fullPath??t.from,c=t.options,u=l.length,d=l.endsWith("/")?u-1:u,h=c?.caseSensitive??e,f=c?.params?.parse??c?.parseParams,g=i?r-1:0;if(!n||l.includes("$")){let e=p(s=i?.slice()??[]);e&&"string"!=typeof e&&2===e[0]&&(s[s.length-1]=[e[0],e[1],e[2],void 0===e[3]?void 0:e[3]+l.substring(r-("/"===l[r-2]?2:1),d)],g=u)}for(;a<u;){let e,t=a,r=l.indexOf("/",t),i=-1===r?u:r,c=function(e,t,r){let n=e.substring(t,r);if(36===n.charCodeAt(0))return 1===n.length?[2,"_splat","",void 0]:[1,n.substring(1),"",""];let o=n.indexOf("{");if(o>=0){let i=n.indexOf("}",o),s=45===n.charCodeAt(o+1),a=o+(s?3:2);if(i>=0&&36===n.charCodeAt(a-1)&&(!s||a<i)){let l=n.substring(a,i);return[s?3:l?1:2,l||"_splat",n.substring(0,o),e.substring(t+i+1,l?r:e.length)]}}return n}(l,t,i);if(a=i+1,"string"==typeof c){let t;if(!n)continue;let r=c;h?t=n.static??=new Map:(r=c.toLowerCase(),t=n.staticInsensitive??=new Map);let o=t.get(r);if(o)e=o;else{let o=eF(n);e=o,t.set(r,o)}}else{let r=c[0],p=c[2],m=c[3]??"";if(2===r&&(a=(i=u)+1),s&&g<i&&(g<t-1&&s.push(l.substring(g,t-1)),c[2]="/"+p,2===r&&void 0!==c[3]&&d<u&&(c[3]=m.slice(0,-1)),s.push(c),g=i),!n)continue;let y=h&&!!(p||m);h||(p=p.toLowerCase(),m=m.toLowerCase());let v=1===r?n.dynamic??=[]:3===r?n.optional??=[]:n.wildcard??=[],b=2!==r&&!f&&v.find(e=>!e.parse&&e.caseSensitive===y&&e.prefix===p&&e.suffix===m);if(b)e=b;else{let t=eF(n,r,y,p,m);e=t,v.push(t),2===v.length&&o?.push(v)}}n=e}s&&g<d&&s.push(l.substring(g,d));let m=s?.slice();if(!n)return m;if(f&&t.children&&!t.isRoot&&t.id&&95===t.id.charCodeAt(t.id.lastIndexOf("/")+1)){let e=eF(n,5);(n.pathless??=[]).push(e),n=e}let y=(t.path||!t.children)&&!t.isRoot;if(y&&d<u){let e=eF(n,4);n.index=e,n=e}return n.parse=f??null,n.priority=c?.params?.priority??0,!n.route&&(n.data=m,y&&(n.route=t)),[n,a,m]}function eM(e,t){if(e.parse&&!t.parse)return -1;if(!e.parse&&t.parse)return 1;if(e.parse&&t.parse&&(e.priority||t.priority))return t.priority-e.priority;if(e.prefix&&t.prefix&&e.prefix!==t.prefix){if(e.prefix.startsWith(t.prefix))return -1;if(t.prefix.startsWith(e.prefix))return 1}if(e.suffix&&t.suffix&&e.suffix!==t.suffix){if(e.suffix.endsWith(t.suffix))return -1;if(t.suffix.endsWith(e.suffix))return 1}return e.prefix&&!t.prefix?-1:!e.prefix&&t.prefix?1:e.suffix&&!t.suffix?-1:!e.suffix&&t.suffix?1:e.caseSensitive&&!t.caseSensitive?-1:!e.caseSensitive&&t.caseSensitive?1:0}function eF(e,t=0,r,n,o){return{kind:t,depth:e?e.depth+1:0,pathless:null,index:null,static:null,staticInsensitive:null,dynamic:null,optional:null,wildcard:null,route:null,data:void 0,parent:e,parse:null,priority:0,caseSensitive:r,prefix:n,suffix:o}}function eA(e,t,r=!1){let n=e.split("/"),o=function(e,t,r,n){if("/"===e&&r.index)return{node:r.index,skipped:0};let o=!p(t),i=o&&"/"!==e,s=t.length-!!o,a=[{node:r,index:1,skipped:0,statics:0,dynamics:0,optionals:0}],l=null,c=null;for(;a.length;){let r,o=a.pop(),{node:h,index:f,skipped:p,statics:g,dynamics:m,optionals:y}=o,{extract:v,rawParams:b}=o;if(2===h.kind&&h.route&&!eB(c,o))continue;if(h.parse){if(!ej(e,t,o))continue;b=o.rawParams,v=o.extract}n&&h.route&&4!==h.kind&&eB(l,o)&&(l=o);let _=f===s;if(_&&(h.route&&(!i||4===h.kind||2===h.kind)&&eB(c,o)&&(c=o),!h.optional&&!h.wildcard&&!h.index&&!h.pathless))continue;let w=_?void 0:t[f];if(_&&h.index){let r={node:h.index,index:f,skipped:p,statics:g,dynamics:m,optionals:y,extract:v,rawParams:b},n=!0;if(h.index.parse&&!ej(e,t,r)&&(n=!1),n){var u,d;if(!m&&!y&&!p&&(u=g,d=s,u===2**(d-1)-1))return r;eB(c,r)&&(c=r)}}if(h.wildcard)for(let e=h.wildcard.length-1;e>=0;e--){let n=h.wildcard[e],{prefix:o,suffix:i}=n;if(!o||!_&&(n.caseSensitive?w:r??=w.toLowerCase()).startsWith(o)){if(i){if(_)continue;let e=t.slice(f).join("/"),r=e.slice(-i.length);if((n.caseSensitive?r:r.toLowerCase())!==i||e.length-i.length<o.length)continue}a.push({node:n,index:s,skipped:p,statics:g,dynamics:m,optionals:y,extract:v,rawParams:b})}}if(h.optional){let e=p|1<<h.depth+1;for(let t=h.optional.length-1;t>=0;t--){let r=h.optional[t];a.push({node:r,index:f,skipped:e,statics:g,dynamics:m,optionals:y,extract:v,rawParams:b})}if(!_)for(let e=h.optional.length-1;e>=0;e--){let t=h.optional[e],{prefix:n,suffix:o}=t;if(n||o){let e=t.caseSensitive?w:r??=w.toLowerCase();if(n&&!e.startsWith(n)||o&&e.indexOf(o,e.length-o.length)<n.length)continue}a.push({node:t,index:f+1,skipped:p,statics:g,dynamics:m,optionals:y+function(e,t){return 2**(e-t-1)}(s,f),extract:v,rawParams:b})}}if(!_&&h.dynamic&&w)for(let e=h.dynamic.length-1;e>=0;e--){let t=h.dynamic[e],{prefix:n,suffix:o}=t;if(n||o){let e=t.caseSensitive?w:r??=w.toLowerCase();if(n&&!e.startsWith(n)||o&&e.indexOf(o,e.length-o.length)<n.length)continue}a.push({node:t,index:f+1,skipped:p,statics:g,dynamics:m+function(e,t){return 2**(e-t-1)}(s,f),optionals:y,extract:v,rawParams:b})}if(!_&&h.staticInsensitive){let e=h.staticInsensitive.get(r??=w.toLowerCase());e&&a.push({node:e,index:f+1,skipped:p,statics:g+function(e,t){return 2**(e-t-1)}(s,f),dynamics:m,optionals:y,extract:v,rawParams:b})}if(!_&&h.static){let e=h.static.get(w);e&&a.push({node:e,index:f+1,skipped:p,statics:g+function(e,t){return 2**(e-t-1)}(s,f),dynamics:m,optionals:y,extract:v,rawParams:b})}if(h.pathless)for(let e=h.pathless.length-1;e>=0;e--){let t=h.pathless[e];a.push({node:t,index:f,skipped:p,statics:g,dynamics:m,optionals:y,extract:v,rawParams:b})}}if(c)return c;if(n&&l){let r=l.index;for(let e=0;e<l.index;e++)r+=t[e].length;let n=r===e.length?"/":e.slice(r);return l.rawParams??=Object.create(null),l.rawParams["**"]=decodeURIComponent(n),l}return null}(e,n,t,r);if(!o)return null;let[i]=e$(e,n,o);return{route:o.node.route,rawParams:i}}function e$(e,t,r){let n=function(e){let t=Array(e.depth+1);do t[e.depth]=e,e=e.parent;while(e)return t}(r.node),o=r.node.data&&function(e){let t=e.names;if(t)return t;let r=[];for(let t of e)"string"!=typeof t&&r.push(t[1]);return e.names=r}(r.node.data),i=Object.create(null),s=r.extract?.part??0,a=r.extract?.node??0,l=r.extract?.path??0,c=r.extract?.param??0;for(;a<n.length;s++,a++,l++){let u=n[a];if(4===u.kind)break;if(5===u.kind){s--,l--;continue}let d=t[s],h=l;if(d&&(l+=d.length),1===u.kind||3===u.kind){let e=o[c++];if(3===u.kind&&r.skipped&1<<a){s--,l=h-1;continue}let t=u.suffix||u.prefix?d.substring(u.prefix.length,d.length-u.suffix.length):d;(t||1===u.kind)&&(i[e]=decodeURIComponent(t))}else if(2===u.kind){let t=decodeURIComponent(e.substring(h+u.prefix.length,e.length-u.suffix.length));i["*"]=t,i._splat=t;break}}return r.rawParams&&Object.assign(i,r.rawParams),[i,{part:s,node:a,path:l,param:c}]}function eN(e){let t=[e];for(;e.parentRoute;)t.push(e=e.parentRoute);return t.reverse(),t}function ej(e,t,r){let n,o;try{[n,o]=e$(e,t,r)}catch{return null}if(r.rawParams=n,r.extract=o,!r.node.parse)return!0;try{if(!1===r.node.parse(n))return null}catch{}return!0}function eB(e,t){return!e||t.statics>e.statics||t.statics===e.statics&&(t.dynamics>e.dynamics||t.dynamics===e.dynamics&&(t.optionals>e.optionals||t.optionals===e.optionals&&((4===t.node.kind)>(4===e.node.kind)||4===t.node.kind==(4===e.node.kind)&&t.node.depth>e.node.depth)))}let eW=function(){try{return sessionStorage}catch{return}}(),eU=function(){try{return JSON.parse(eW?.getItem("tsr-scroll-restoration-v1_3")||"{}")}catch{return{}}}(),ez="data-scroll-restoration-id",eH=e=>e.state.__TSR_key||e.href,eV=!1,eK="window";function eJ(e){try{return"function"==typeof e?e():document.querySelector(e)}catch{}}function eG(e){let t=new Set;for(let r of e){if(r===eK)continue;let e=eJ(r);e&&t.add(e)}return t}function eY(e){return e?"false"!==e&&("true"===e||(0*e==0&&+e+""===e?+e:e)):""}let eZ=/^(?:\s|["[{\d-]|fa|nu|tr)/,eq=(e=(a=JSON.parse)===JSON.parse,t=>{"?"===t[0]&&(t=t.substring(1));let r=function(e){let t=new URLSearchParams(e),r=Object.create(null);for(let[e,n]of t.entries()){let t=r[e];null==t?r[e]=eY(n):Array.isArray(t)?t.push(eY(n)):r[e]=[t,eY(n)]}return r}(t);for(let t in r){let n=r[t];if("string"==typeof n){if(e&&!eZ.test(n))continue;try{r[t]=a(n)}catch(e){}}}return r}),eX=function(e,t){let r=t===JSON.parse;function n(n){if(n&&"object"==typeof n)try{return e(n)}catch(e){}else if(t&&"string"==typeof n){if(r&&!eZ.test(n))return n;try{return t(n),e(n)}catch(e){}}return n}return e=>{let t=function(e,t=String){let r;for(let n in e){let o=e[n];void 0!==o&&(r||=new URLSearchParams).set(n,t(o))}return r?r.toString():""}(e,n);return t?`?${t}`:""}}(JSON.stringify,JSON.parse);function eQ(e,t){return e.options[t]?.preload?.()}function e0(e,t,r){let n=()=>{let n,o;return!1===t?void 0:t?eQ(e,t):(n=eQ(e,"component"),o=eQ(e,"pendingComponent"),(r&&(o?o=o.then(r):r()),n&&o)?Promise.all([n,o]).then(()=>{}):n??o)},o=e._lazy;if(o)return!0===o?n():o.then(n);if(!e.lazyFn)return n();let i=e.lazyFn().then(t=>{{let{id:r,...n}=t.options;Object.assign(e.options,n),e._lazy=!0}},t=>{throw e._lazy=void 0,t});return e._lazy=i,i.then(n)}function e1(e){let t=e.findIndex(e=>"success"!==e.status||e._notFound)+1;return t&&t<e.length?e.slice(0,t):e}let e2=[4];function e3(e){return"number"==typeof e[0]}function e5(e,t){return t.aborted?Promise.race([Promise.reject(t),e]):new Promise((r,n)=>{let o=()=>n(t);t.addEventListener("abort",o,{once:!0}),Promise.resolve(e).then(r,n).then(()=>t.removeEventListener("abort",o))})}function e4(e,t){return e.routesById[t.routeId]}function e6(e,t,r){return eh(e)?[3,e]:eu(e)?(e.routeId||=r,[2,e]):t?("function"==typeof e?.then&&(e=Error("A Promise was thrown",{cause:e})),[1,e]):[0,e]}function e7(e,t){let r=e6(t,!0,e.id);if(1!==r[0])return r;try{e.options.onError?.(r[1])}catch(t){r=e6(t,!0,e.id)}return r}function e8(e,t,r,n,o){return o[0].signal.aborted?e2:th(e,t,r,e7(r,n),o)}async function e9(e,t,r,n,o,i){let[s,a]=t,l=r[0].signal,c=!!r[3];for(let o=r[6]??0;o<n;o++){let n=a[o],u=e4(e,n);n.abortController=r[0];let d=a[o-1]?.context??e.options.context??{},h={params:n.params,location:s,navigate:t=>e.navigate({...t,_fromLocation:s}),buildLocation:e.buildLocation,cause:c?"preload":n.cause,abortController:r[0],preload:c,matches:a,routeId:u.id};try{let e=n._ctx||=u.options.context?u.options.context({...h,deps:n.loaderDeps,context:d})||{}:void 0;n.context={...d,...e}}catch(i){return tt(e,n),[o,e8(e,t,u,i,r)]}if(l.aborted)return[o,e2];let f=n.paramsError??n.searchError;if(void 0!==f)return tt(e,n),[o,e8(e,t,u,f,r)];let p=u.options.beforeLoad;if(!p)continue;let g=n.status;o>=i&&(n.status="pending",r[7]?.());try{to(e,n,"beforeLoad",r[0]);let i=p({...h,search:n.search,context:n.context,...e.options.additionalContext}),s=await ("function"==typeof i?.then?e5(i,l):i);if(l.aborted)return[o,e2];let a=th(e,t,u,e6(s,!1,u.id),r);if(0!==a[0])return tt(e,n),[o,a];n.context={...n.context,...s}}catch(i){return tt(e,n),[o,e8(e,t,u,i,r)]}finally{n.status=g,to(e,n,!1,r[0])}}o()}function te(e,t,r){if(!(!r||--r[2])){if(e._flights?.get(t.id)===r){let r=e._tx;if(r&&!r[0].signal.aborted&&!r[3].includes(t)&&r[3].some(e=>e.id===t.id)&&r[3].some(e=>"beforeLoad"===e.isFetching))return;e._flights.delete(t.id)}return r[1]}}function tt(e,t){let r=t._flight;t._flight=void 0,te(e,t,r)?.abort()}function tr(e,t,r,n){let o=[];for(let i of t)if(!r?.includes(i)){let t=i._flight;if(i._flight=void 0,n&&t?.[2]===1&&e._flights?.get(i.id)===t&&r?.some(e=>e.id===i.id))t[2]=0;else{let r=te(e,i,t);r&&o.push(r)}}for(let e of o)e.abort()}function tn(e){for(let t of e){let e=t._flight;e&&e[2]++}}function to(e,t,r,n){if(t.isFetching=r,n&&e._tx?.[0]!==n)return;let o=e.stores.byRoute.get(t.routeId),i=o?.get();i?.id===t.id&&o.set({...i,isFetching:r})}function ti(e,t,r,n,o,i,s){let a=t[0];return{params:r.params,location:a,navigate:t=>e.navigate({...t,_fromLocation:a}),cause:s?"preload":r.cause,abortController:o,preload:s,deps:r.loaderDeps,parentMatchPromise:i,context:r.context,route:n,...e.options.additionalContext}}async function ts(e,t,r,n,o,i,s){let a=s[0],l=a.signal;if(l.aborted)return e2;if(!o)return[0,void 0];let c=r._flight;to(e,r,"loader",a);try{if(!c){let a=new AbortController;c=[Promise.resolve().then(()=>o(ti(e,t,r,n,a,i,!!s[3]))).then(e=>e6(e,!1,n.id),e=>e6(e,!0,n.id)).then(t=>(0!==t[0]&&e._flights?.get(r.id)===c&&(e._flights.delete(r.id),c[2]||a.abort()),1===t[0]&&c[2]?e7(n,t[1]):t)),a,1],(e._flights??=new Map).set(r.id,c)}return r._flight=c,r.abortController=c[1],th(e,t,n,await e5(c[0],l),s)}catch(t){if(t!==l||!l.aborted)throw t;return tt(e,r),e2}finally{to(e,r,!1,a)}}function ta(e,t,r){3!==t[0]&&(e.status="success",e.error=void 0,0===t[0]?(e.loaderData=t[1],e.invalid=!1,e.updatedAt=Date.now(),e.preload=r):e.invalid=!0)}function tl(e,t){return 1===t[0]||2===t[0]?{...e,status:1===t[0]?"error":"notFound",error:t[1],_flight:void 0}:e}async function tc(e,t,r,n,o=0){let i=r?.[1][1],s=i?.routeId?t.findIndex(e=>e.routeId===i.routeId):r?.[0]??t.length-1;s<0&&(s=0);for(let r=s;r>=0;r--){let o=e4(e,t[r]);try{let e=e0(o,!1);e&&await e5(e,n)}catch(e){if(e===n&&n.aborted)throw e}if(o.options.notFoundComponent)return r}return i?.routeId?s:o}function tu(e,t){t[2]&&(tr(e,t[2].map(e=>e[3])),t[2]=void 0)}async function td(e,t,r,n){let o;try{await Promise.all(e.map(e=>e[1].then(async t=>{let i=e[0];if(!(n&&i>=await n)){if(t[0]>=3)throw[i,t];o||0===t[0]||(o=[i,t],await Promise.all((r??[]).map(e=>{if(!(e[0]<=i))return e[1].then(t=>{if(3===t[0])throw[e[0],t]})})))}})))}catch(e){return e}return t??o}function th(e,t,r,n,o,i){for(;3===n[0];){let s=n[1],a=s.options;try{if((a.href||s.headers.has("Location"))&&(e.resolveRedirect(s),a.reloadDocument)||(a.reloadDocument?o[3]:o[1]>=20))return n;let r=e.buildLocation({...a,_fromLocation:t[0],_includeValidateSearch:!0}),i=r.maskedLocation??r;if(i.external){let t=s.clone();return t.options={...a},t.headers.set("Location",i.publicHref),e.resolveRedirect(t),o[3]?[3,t]:[3,t,i]}return[3,s,r]}catch(e){n=i?[1,e]:e7(r,e),i=!0}}return n}async function tf(e,t,r,n,o,i){let s=t[1],a=await o,l=!1,c=s.findIndex(e=>e._notFound),u=t=>2===t[1][0]?tc(e,s,t,n.signal):t[0],d=c<0?s.length:c;if((a?.[1][0]??0)>=3)d=0;else if(a)for(let e of(d=a[2]??=await u(a),r)){if(e[0]>=d)break;let t=await e[1];if(0!==t[0]&&t[0]<3&&!("loaderData"in s[e[0]])){d=(a=[e[0],t])[2]=await u(a);break}}for(let e of r){if(e[0]>=d)break;let t=await e[2];if(t){a=t;break}}if((a?.[1][0]??0)>=3){let r=a[1];if(3!==r[0]||r[1].options.reloadDocument||r[2])return tu(e,t),r;l=!0,a=[0,[1,Error("Too many redirects")]]}let h=a?a[2]??await u(a):c;if(h>=0){let o=a?.[1],c=o?.[0],u=s[h],d=o?.[1],f=()=>{o&&(u._notFound=void 0,1===c?u.status="error":(d.routeId=u.routeId,u.routeId===e.routeTree.id?(u.status="success",u._notFound=!0):u.status="notFound"),u.error=d,u.isFetching=!1)};f(),o||i?.();let p=e4(e,u);try{await e5(o?Promise.resolve().then(()=>e0(p,1===c?"errorComponent":"notFoundComponent")):Promise.all([e0(p),e0(p,"notFoundComponent")]),n.signal)}catch(r){if(r===n.signal&&n.signal.aborted)return tu(e,t),e2}o?l&&(n.abort(),await Promise.all([...r.map(e=>e[1]),...r.map(e=>e[2]),...(t[2]??[]).map(e=>e[1])]),tu(e,t),tr(e,s),f()):u.status="success"}return t}async function tp(e,t,r,n=0,o=t[1].length){let i=t[1];for(let t=n;t<o;t++){let n=i[t],o=e4(e,n).options;if(o.head||o.scripts)try{let t={ssr:e.options.ssr,matches:i,match:n,params:n.params,loaderData:n.loaderData},[s,a]=await e5(Promise.all([o.head?.(t),o.scripts?.(t)]),r);n.meta=s?.meta,n.links=s?.links,n.headScripts=s?.scripts,n.styles=s?.styles,n.scripts=a}catch(e){if(e===r&&r.aborted)break;console.error(e)}if("success"!==n.status||n._notFound)break}return t}async function tg(e,t,r,n){let o,i=[t,r],s=n[0].signal;try{let t=e.stores.matches.get(),a=r.findIndex(e=>e._notFound);if("root"!==e.options.notFoundMode&&a>=0){let t=await tc(e,r,void 0,s,a);r[a]._notFound=void 0,r[t]._notFound=!0,a=t}let l=a<0?r.length:a+1,c=0;for(;c<l&&c!==a;){let e=r[c],o=n[2][c],i=t[c];if(o?.id!==e.id||"success"!==o.status||e.preload||i?.id!==e.id||"success"!==i.status||(c++,o._notFound||i._notFound))break}let u=[],d=n[6]??0,h=d?Promise.resolve(r[d-1]):void 0,f=()=>{for(let t=d;t<l&&!s.aborted;t++)h=function(e,t,r,n,o,i,s){let a,l,c=t[1][r],u=e4(e,c),d=!!i[3],h=e._cache.get(c.id),f=!1;try{if("success"===c.status&&(a=u.options.shouldReload,"function"==typeof a&&(a=a(ti(e,t,c,u,i[0],o,d))),i[0].signal.aborted&&(l=e2)),!l)if("success"!==c.status)f=!0;else{let t=d||c.preload?u.options.preloadStaleTime??e.options.defaultPreloadStaleTime??3e4:u.options.staleTime??e.options.defaultStaleTime??0;f=!!(c.invalid||a||void 0===a&&Date.now()-c.updatedAt>=t&&(i[5]||"enter"===c.cause||i[2].some(e=>e.routeId===c.routeId&&e.id!==c.id)))}}catch(r){c.invalid=!0,tt(e,c),l=e8(e,t,u,r,i)}let p=u.options.loader,g="function"==typeof p,m=g?p:p?.handler,y=!d||!1!==u.options.preload,v=y&&p&&1?e._flights?.get(c.id):void 0;v===c._flight||l?v=void 0:!v||f||d||void 0!==a?f||(v=void 0):f=!0;let b=!!(p&&f&&"success"===c.status&&!d&&!i[4]&&((g?void 0:p.staleReloadMode)??e.options.defaultStaleReloadMode)!=="blocking"),_=f&&y,w=_&&!b&&("success"!==c.status||!!p),S=r>=s?i[7]:void 0,x=u.lazyFn&&!0!==u._lazy?S:void 0;if(_&&!p&&(c.invalid=!1,c.updatedAt=Date.now()),v&&v[2]++,w){let t=c._flight;c._flight=v,te(e,c,t)?.abort(),r>=s&&(c.status="pending"),S?.()}_||(c.isFetching=!1);let k=!l&&w?ts(e,t,c,u,m,o,i).then(t=>(ta(c,t,d),0===t[0]&&(p&&!i[0].signal.aborted&&function(e,t,r){let n=e._cache.get(t.id);if(n!==r||e._committed.some(e=>e.id===t.id&&e._flight===t._flight))return;let o={...t,_notFound:void 0,context:{}};o._flight&&o._flight[2]++,e._cache.set(t.id,o),n&&tt(e,n)}(e,c,h),r>=s&&(c.status="pending")),t)):Promise.resolve(l??[0,c.loaderData]),R=(async()=>{try{let e=e0(u,void 0,x);e&&await e5(e,i[0].signal)}catch(n){if(!t[1].some((e,t)=>t<=r&&("error"===e.status||"notFound"===e.status||e._notFound)))return[r,e8(e,t,u,n,i)]}let n=await k;w&&0===n[0]&&"pending"===c.status&&!i[0].signal.aborted&&(c.status="success",S?.())})();if(n.push([r,k,R]),!b)return k.then(e=>tl(c,e));let C={...c,status:"pending",preload:!1,_flight:v};c.invalid=!1,c.isFetching="loader";let L=ts(e,t,C,u,m,o,i).then(e=>(c.isFetching=!1,ta(C,e,!1),e));return(t[2]??=[]).push([r,L,R,C]),L.then(e=>tl(C,e))}(e,i,t,u,h,n,c)},p=await e9(e,i,n,l,f,c);if(p){if(n[4]=!0,l=p[0],2===p[1][0]){let t=await tc(e,r,p,s);p[2]=t,l=Math.min(l,t+1)}else p[1][0]>=3&&(l=0);f()}if(!s.aborted&&!n[3]){let t=[];for(let[r,n]of e._flights??[])n[2]||(e._flights.delete(r),t.push(n[1]));for(let e of t)e.abort()}let g=tf(e,i,u,n[0],td(u,p,i[2]),n[7]);i[2]?.length&&(i[3]=td(i[2],void 0,void 0,g.then(e=>e3(e)?0:e1(r).length,()=>0))),o=await g}catch(t){if(tu(e,i),t===s&&s.aborted)return e2;throw t}return e3(o)?o:tp(e,o,s,n[6]===r.length?n[6]:0)}function tm(e,t){if(e._tx!==t)return;let r=t[3],n=e.stores.matches.get(),o=e._pending;for(let i=0;i<r.length;i++){let s=r[i],a="success"===s.status&&!s._notFound,l=n[i]?.id===s.id&&n[i]?.status==="pending";if(a&&!l)continue;let c=e4(e,s),u=a||s.invalid?0:c.options.pendingMs??e.options.defaultPendingMs,d=c.options.pendingComponent??e.options.defaultPendingComponent;if(!d||"number"!=typeof u||1/0===u){o&&(o[0]=t,o[2]=0,o[4]=!0);return}let h=c.options.pendingMinMs??e.options.defaultPendingMinMs??0,f=!1;if(o?.[1]===s.id?(f=o[0]!==t,o[0]=t):(clearTimeout(o?.[3]),e._pending=o=void 0),o||(e._pending=o=[t,s.id,l?Date.now()+h:t[4]+u,void 0,l||void 0,d]),o[4]&&!f&&o[5]===d)return;if(o[5]=d,!o[4]){clearTimeout(o[3]);let r=o[2]-Date.now();if(r>0){o[3]=setTimeout(()=>tm(e,t),r);return}o[2]=0}let p=r.map(e=>({...e,_flight:void 0}));p[i].status="pending";let g=o[4]=e.startTransition(()=>e.stores.setMatches(p),p).then(t=>(t&&e._pending===o&&o[4]===g&&!o[2]&&(o[2]=Date.now()+h),t));return}}function ty(e,t){let r=e._pending;e._tx!==t&&e._tx?.[3].some(e=>e.id===r?.[1])||(clearTimeout(r?.[3]),e._pending=void 0)}async function tv(e,t){let r,n=e._pending;if(!n)return;clearTimeout(n[3]);let o=n[2]-Date.now();if(n[4]&&!(o<=0)&&e1(t[3]).some(e=>e.id===n[1])){try{await e5(new Promise(e=>{r=setTimeout(e,o)}),t[0].signal)}catch{}clearTimeout(r)}}function tb(e,t){e._committed=t,e.stores.setMatches(t)}async function t_(e,t){let r=e._tx;for(;r&&r!==t;)t=r,await r[5],r=e._tx}function tw(e,t,r){let n=r[1].options,o=r[2];if(!o)return e.navigate({...n,replace:!0,ignoreBlocker:!0});if(n.reloadDocument)return e.navigate({href:(o.maskedLocation??o).publicHref,reloadDocument:!0,replace:!0,ignoreBlocker:!0});o._redirects=t[1]+1,e._pendingLocation=o;let i=e.commitLocation({...o,viewTransition:n.viewTransition,replace:!0,resetScroll:n.resetScroll,hashScrollIntoView:n.hashScrollIntoView,ignoreBlocker:!0});return queueMicrotask(()=>{e._pendingLocation===o&&(e._pendingLocation=void 0)}),i}async function tS(e,t,r,n,o){let i,s=r.map(e=>({...e}));for(let t of(tn(s),n))tt(e,s[t[0]]),s[t[0]]=t[3];let a=[t[2],s];try{i=await tf(e,a,n,t[0],o)}catch(t){throw tr(e,s),t}if(e3(i)){tr(e,s),3===i[0]&&e._tx===t&&e._committed===r&&await tw(e,t,i);return}if(await tp(e,i,t[0].signal),e._tx!==t||e._committed!==r)return void tr(e,s);for(let t of s){let r=e._cache.get(t.id);r?._flight&&r._flight===t._flight&&(e._cache.delete(t.id),tt(e,r))}tb(e,s),tr(e,r,s)}async function tx(e,t,r,n,o,i){let s=await tg(e,t[2],t[3],[t[0],t[1],e._committed,void 0,o,r,i,n]);if(e3(s)){let r=3===s[0]&&e._tx===t;return((!r||s[1].options.reloadDocument)&&ty(e,t),tr(e,t[3]),t[3]=[],r)?e._tx!==t?void ty(e,t):void await tw(e,t,s):void 0}let a=s[1];if(e._tx===t&&await tv(e,t),e._tx!==t){ty(e,t),tr(e,a),tu(e,s);return}let l=t[2],c=tW(l,e.stores.resolvedLocation.get()),u=s[2];await e.startViewTransition(async()=>{if(e._tx===t&&await tv(e,t),e._tx!==t){ty(e,t),tr(e,a),tu(e,s);return}let r=await e.startTransition(()=>{ty(e,t),function(e,t,r,n){let o=e._committed,i=e._lifecycleEnd,s=e._cache;for(let e of r)e.preload=!1,n&&(e._assetEnd=void 0);let a=e1(r).length,l=new Map;{let t=Date.now(),n=new Set;for(let e=0;e<r.length;e++){let t=r[e];(e<a||"success"===t.status)&&n.add(t.id)}for(let r of[...o,...s.values()]){if("success"!==r.status||n.has(r.id))continue;let o=e4(e,r);o.options.loader&&!(t-r.updatedAt>=(r.preload?o.options.preloadGcTime??e.options.defaultPreloadGcTime??3e5:o.options.gcTime??e.options.defaultGcTime??3e5))&&l.set(r.id,s.get(r.id)===r?r:{...r,_flight:void 0,isFetching:!1,context:{}})}}t[3]=[],e._cache=l;let c=e._lifecycleEnd=r.findIndex(e=>"error"===e.status||"notFound"===e.status||e._notFound)+1;tb(e,r),tr(e,[...s.values(),...o].filter(e=>e._flight&&l.get(e.id)!==e),r),!function(e,t,r,n,o,i){for(let s of(n&&(t=t.slice(0,n)),o&&(r=r.slice(0,o)),t)){if(i&&e._tx!==i)return;r.some(e=>e.routeId===s.routeId)||e.routesById[s.routeId].options.onLeave?.(s)}for(let n of r){if(i&&e._tx!==i)return;e.routesById[n.routeId].options[t.some(e=>e.routeId===n.routeId)?"onStay":"onEnter"]?.(n)}}(e,o,r,i,c,t)}(e,t,a,i),e._tx===t&&(e.emit({type:"onLoad",...c}),e._tx===t&&e.emit({type:"onBeforeRouteMount",...c}))},a);e._tx!==t?tu(e,s):(u?.length&&tS(e,t,a,u,s[3]).catch(console.error),e.batch(()=>{e.stores.resolvedLocation.set(l),e.stores.status.set("idle"),e._tx===t&&e.emit({type:"onResolved",...c}),r&&e._tx===t&&e.emit({type:"onRendered",...c})}),e._tx===t&&(e._commitPromise?.resolve(),e._commitPromise=void 0))})}async function tk(e,t){let r,n=e._tx,o=e.stores.resolvedLocation.get(),i=o??e.stores.location.get(),s=e.latestLocation,a=e._pendingLocation,l=a?.href===s.href?a._redirects??0:0,c=e._handoff,u=c?.[0](),d=new AbortController,h=e._preflight;if(e._preflight=d,u||c?.[1](),h?.abort(),!d.signal.aborted){let t=tW(s,o);e.emit({type:"onBeforeNavigate",...t}),d.signal.aborted||e.emit({type:"onBeforeLoad",...t})}if(d.signal.aborted)return void await t_(e,n);let f=i.href===s.href,p=d,g=e.matchRoutes(s,{_controller:d});tn(g);let m=u?c[1](g):void 0;if(m?p=u:u?.abort(),d.signal.aborted){tr(e,g),await t_(e,n);return}e._preflight=void 0;let y=()=>tx(e,b,f,()=>tm(e,b),t?.sync,m),v=t?.sync?new Promise(e=>r=e):Promise.resolve().then(y),b=[p,l,s,g,Date.now(),v.then(()=>t_(e,b))];if(e._tx=b,n){for(let t of e.stores.matches.get()){if(e._tx!==b)break;t.isFetching&&to(e,t,!1)}n[0].abort(),tr(e,n[3],b[3],!0)}if(e._tx!==b){tr(e,b[3]),b[3]=[],r?.(),await t_(e,b);return}e.batch(()=>{e.stores.status.set("pending"),e.stores.location.set(s)}),!m&&(e._committed.length||g[0]?.status==="success"||g.some(e=>e._notFound))||tm(e,b),r?.(y()),await b[5]}async function tR(e,t){let r=e.buildLocation(t);for(let t=0;;t++){let n,o,i,s=e._committed,a=new AbortController;try{try{n=e.matchRoutes(r,{_controller:a}),tn(n),o=(e._preloads??=new Map).set(a,n),i=await tg(e,r,n,[a,t,s,!0])}finally{o&&(o=o.delete(a),tr(e,n)),a.abort()}if(!e3(i))return i[1];if(!o||i.length<3)return;r=i[2]}catch(e){eu(e)||console.error(e);return}}}function tC(e,t){let r=e?.input?.({url:t});if(r){if("string"==typeof r)return new URL(r);else if(r instanceof URL)return r}return t}function tL(e,t){let r=e?.output?.({url:t});if(r){if("string"==typeof r)return new URL(r);else if(r instanceof URL)return r}return t}var tP="__TSR_index",tE="popstate",tT="beforeunload",tI=/^[\x00-\x20]*(?:[\\/][\t\n\r]*){2,}/;function tO(e){let t=tI.exec(e);return t?"/"+e.slice(t[0].length):e}function tD(e){return/[\x00-\x1f\x7f]/.test(e)&&(e=e.replace(/[\x00-\x1f\x7f]/g,e=>" \n\r".includes(e)?"":encodeURIComponent(e))),tO(e)}function tM(e){let t=e.getLocation(),r=new Set,n=n=>{t=e.getLocation(),r.forEach(e=>e({location:t,action:n}))},o=r=>{e.notifyOnIndexChange??!0?n(r):t=e.getLocation()},i=async({task:r,navigateOpts:n,...o})=>{if(n?.ignoreBlocker)return void r();let i=e.getBlockers?.()??[],s="PUSH"===o.type||"REPLACE"===o.type;if("u">typeof document&&i.length&&s)for(let r of i){let n=tA(o.path,o.state);if(await r.blockerFn({currentLocation:t,nextLocation:n,action:o.type}))return void e.onBlocked?.()}r()};return{get location(){return t},get length(){return e.getLength()},subscribers:r,subscribe:e=>(r.add(e),()=>{r.delete(e)}),push:(r,o,s)=>{i({task:()=>{e.pushState(r,o),n({type:"PUSH"})},navigateOpts:s,type:"PUSH",path:r,state:o=tF(t.state[tP]+1,o)})},replace:(r,o,s)=>{i({task:()=>{e.replaceState(r,o),n({type:"REPLACE"})},navigateOpts:s,type:"REPLACE",path:r,state:o=tF(t.state[tP],o)})},go:(t,r)=>{i({task:()=>{e.go(t,r?.ignoreBlocker??!1),o({type:"GO",index:t})},navigateOpts:r,type:"GO"})},back:t=>{i({task:()=>{e.back(t?.ignoreBlocker??!1),o({type:"BACK"})},navigateOpts:t,type:"BACK"})},forward:t=>{i({task:()=>{e.forward(t?.ignoreBlocker??!1),o({type:"FORWARD"})},navigateOpts:t,type:"FORWARD"})},canGoBack:()=>0!==t.state[tP],createHref:t=>e.createHref(t),block:t=>{if(!e.setBlockers)return()=>{};let r=e.getBlockers?.()??[];return e.setBlockers([...r,t]),()=>{let r=e.getBlockers?.()??[];e.setBlockers?.(r.filter(e=>e!==t))}},flush:()=>e.flush?.(),destroy:()=>e.destroy?.(),notify:n,_getBlockers:()=>e.getBlockers?.()??[]}}function tF(e,t){let r=t$();return{...t,key:r,__TSR_key:r,[tP]:e}}function tA(e,t){let r=tD(e),n=r.indexOf("#"),o=r.indexOf("?");if(!t){let e=t$();t={[tP]:0,key:e,__TSR_key:e}}return{href:r,pathname:r.substring(0,n>0?o>0?Math.min(n,o):n:o>0?o:r.length),hash:n>-1?r.substring(n):"",search:o>-1?r.slice(o,-1===n?void 0:n):"",state:t}}function t$(){return(Math.random()+1).toString(36).substring(7)}function tN(e,t){return"http:"!==e.protocol&&"https:"!==e.protocol||e.origin!==t||!!e.username||!!e.password}function tj(e){return e.pathname+e.search+e.hash}function tB(e){return e.options.loader||e.options.beforeLoad||e.lazyFn||e.options.component?.preload||e.options.pendingComponent?.preload}function tW(e,t){return{fromLocation:t,toLocation:e,pathChanged:t?.pathname!==e.pathname,hrefChanged:t?.href!==e.href,hashChanged:t?.hash!==e.hash}}var tU=class{constructor(e,t){let r,n;this.tempLocationKey=`${Math.round(1e7*Math.random())}`,this._scroll={n:!0},this.subscribers=new Set,this._cache=new Map,this._committed=[],this.startTransition=async e=>(e(),!1),this.update=e=>{var t,r,n,o;let i,s,a,l,c,u=this.options;this.options={...u,...e},this.isServer=this.options.isServer??!1??"u"<typeof document,this.staticLocations=new WeakMap,this.protocolAllowlist=new Set(this.options.protocolAllowlist),(!this.history||this.options.history&&this.options.history!==this.history)&&(this.options.history?this.history=this.options.history:this.history=function(){let e,t,r=(void 0)??("u">typeof document?window:void 0),n=r.history.pushState,o=r.history.replaceState,i=[],s=()=>i,a=(void 0)??(()=>tA(`${r.location.pathname}${r.location.search}${r.location.hash}`,r.history.state));if(!r.history.state?.__TSR_key&&!r.history.state?.key){let e=t$();r.history.replaceState({[tP]:0,key:e,__TSR_key:e},"")}let l=a(),c=!1,u=!1,d=!1,h=!1,f=()=>{t&&(v._ignoreSubscribers=!0,(t[2]?r.history.pushState:r.history.replaceState)(t[1],"",t[0]),v._ignoreSubscribers=!1,t=void 0,e=void 0)},p=(r,n,o)=>{let i=!!t;i||(e=l),l=tA(n,o),t=[(void 0)??l.href,o,t?.[2]||r],i||queueMicrotask(()=>f())},g=e=>{l=a(),v.notify({type:e})},m=async()=>{if(h=!1,u){u=!1;return}let e=a(),t=e.state[tP]-l.state[tP],n=1===t,o=-1===t,i=!n&&!o||c;c=!1;let f=i?"GO":o?"BACK":"FORWARD",p=i?{type:"GO",index:t}:{type:o?"BACK":"FORWARD"};if(d)d=!1;else{let n=s();if("u">typeof document&&n.length){for(let o of n)if(await o.blockerFn({currentLocation:l,nextLocation:e,action:f})){u=!0,r.history.go(-t),v.notify(p);return}}}l=a(),v.notify(p)},y=e=>{if(h){h=!1;return}let t=!1,r=s();if("u">typeof document&&r.length)for(let e of r){let r=e.enableBeforeUnload??!0;if(!0===r||"function"==typeof r&&!0===r()){t=!0;break}}if(t)return e.preventDefault(),e.returnValue=""},v=tM({getLocation:()=>l,getLength:()=>r.history.length,pushState:(e,t)=>p(!0,e,t),replaceState:(e,t)=>p(!1,e,t),back:e=>(e&&(d=!0,h=!0),r.history.back()),forward:e=>{e&&(d=!0,h=!0),r.history.forward()},go:(e,t)=>{c=!0,t&&(d=!0,h=!0),r.history.go(e)},createHref:e=>tD(e),flush:f,destroy:()=>{r.history.pushState=n,r.history.replaceState=o,r.removeEventListener(tT,y,{capture:!0}),r.removeEventListener(tE,m)},onBlocked:()=>{e&&l!==e&&(l=e)},getBlockers:s,setBlockers:e=>i=e,notifyOnIndexChange:!1});return v._ignoreNextBeforeUnload=e=>{h=!1;try{e=new URL(e,r.document.baseURI).href,h=/^https?:/.test(e)&&(!e.includes("#")||e.split("#")[0]!==r.location.href.split("#")[0])}catch{}},r.addEventListener(tT,y,{capture:!0}),r.addEventListener(tE,m),r.history.pushState=function(...e){let t=n.apply(r.history,e);return v._ignoreSubscribers||g("PUSH"),t},r.history.replaceState=function(...e){let t=o.apply(r.history,e);return v._ignoreSubscribers||g("REPLACE"),t},v}()),this.origin=this.options.origin,this.origin||(window?.origin&&"null"!==window.origin?this.origin=window.origin:this.origin="http://localhost");let d=this.options.basepath??"/",h=this.options.rewrite,f=this.basepath!==d||u?.rewrite!==h||u?.caseSensitive!==this.options.caseSensitive;if(f&&(this.basepath=d,this.rewrite="/"!==d&&K(V(d))?(t=d,r=this.options.caseSensitive,n=h,i=K(V(t)),s=`/${i}`,a=r?s:s.toLowerCase(),l=`${a}/`,c={input:({url:e})=>{let t=r?e.pathname:e.pathname.toLowerCase();return t===a?e.pathname="/":t.startsWith(l)&&(e.pathname=e.pathname.slice(s.length)),e},output:({url:e})=>(e.pathname=H(`/${i}${e.pathname}`),e)},n?{input:({url:e})=>tC(n,c.input({url:e})),output:({url:e})=>c.output({url:tL(n,e)})}:c):h),this.history&&this.updateLatestLocation(),this.options.routeTree!==this.routeTree){let e;this.routeTree=this.options.routeTree,e=this.buildRouteTree(),this.setRoutes(e)}if(this.stores)f&&this.stores.location.set(this.latestLocation);else if(this.latestLocation){let e,t,r,n,i,s=this.getStoreConfig(this);this.batch=s.batch,this.stores=function(e,t){let{createMutableStore:r,createReadonlyStore:n,batch:o}=t,i=new Map,s=r("idle"),a=r(e),l=r(void 0),c=r([]),u=n(()=>c.get().map(e=>i.get(e).get())),d=n(()=>({status:s.get(),isLoading:"pending"===s.get(),matches:u.get(),location:a.get(),resolvedLocation:l.get()}));function h(e){let t=i.get(e);return t||(t=r(void 0),i.set(e,t)),t}return{status:s,location:a,resolvedLocation:l,ids:c,matches:u,byRoute:i,__store:d,getMatchStore:h,setMatches:function(e){let t=c.get(),r=e.map(e=>e.routeId);o(()=>{for(let e of(!function(e,t){if(e===t)return!0;if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++)if(e[r]!==t[r])return!1;return!0}(t,r)&&c.set(r),t))r.includes(e)||i.get(e).set(()=>void 0);for(let t of e){let e=h(t.routeId);e.get()!==t&&e.set(t)}})}}}(this.latestLocation,s),o=this,e=(void 0)??o.options.scrollRestoration,t=o._scroll,e&&(t.e=!0),r=o.options.getScrollRestorationKey||eH,n=new Set,i=e=>{let t=eU[e]||={};for(let e of n)e===document?t[eK]={scrollX,scrollY}:e.isConnected&&(t[function(e){let t,r=e.getAttribute(ez);if(r)return`[${ez}="${r}"]`;let n="",o=e;for(;t=o.parentNode;){let e=1,r=o;for(;r=r.previousElementSibling;)e++;let i=`${o.localName}:nth-child(${e})`;n=n?`${i} > ${n}`:i,o=t}return n}(e)]={scrollX:e.scrollLeft,scrollY:e.scrollTop})},e&&!t.s&&(t.s=!0,eV=!1,history.scrollRestoration="manual",document.addEventListener("scroll",e=>{eV||n.add(e.target)},!0),o.subscribe("onBeforeLoad",e=>{e.fromLocation&&i(r(e.fromLocation)),n.clear()}),addEventListener("pagehide",()=>{history.scrollRestoration="auto",i(r(o.stores.resolvedLocation.get()??o.stores.location.get()));try{eW?.setItem("tsr-scroll-restoration-v1_3",JSON.stringify(eU))}catch{}}),addEventListener("pageshow",e=>{e.persisted&&(history.scrollRestoration="manual")})),t.r||(t.r=!0,o.subscribe("onRendered",e=>{let i,s=o.options.scrollRestorationBehavior,a=o.options.scrollToTopSelectors,l=t.n,c=t.h;if(n.clear(),t.n=!0,t.h=!1,"function"==typeof o.options.scrollRestoration&&!o.options.scrollRestoration({location:o.latestLocation}))return;let u=r(e.toLocation),d=e.fromLocation&&r(e.fromLocation);if(t.e&&d&&d!==u){let e=eU[d];if(e){let t=eU[u];for(let r in e){if(r===eK){if(l)continue}else{let e=eJ(r);if(!e||l&&a&&(i??=eG(a)).has(e))continue}t||(t=eU[u]={}),t[r]??=e[r]}}}eV=!0;try{let r=e.toLocation.hash,n=e.toLocation.state.__hashScrollIntoViewOptions??!0,o=!1;if(l){!r&&a&&(i??=eG(a));let e=r&&n&&c,l=t.e?eU[u]:void 0;if(l)for(let t in l){let{scrollX:r,scrollY:n}=l[t];if(t===eK){if(e)continue;scrollTo({top:n,left:r,behavior:s}),o=!0}else{let e=eJ(t);e&&(e.scrollLeft=r,e.scrollTop=n,i?.delete(e))}}if(!r){let e={top:0,left:0,behavior:s};if(o||scrollTo(e),i)for(let t of i)t.scrollTo(e)}}!o&&r&&n&&document.getElementById(r)?.scrollIntoView(n)}finally{eV=!1}}))}},this.updateLatestLocation=()=>{this.latestLocation=this.parseLocation(this.history.location,this.latestLocation)},this.buildRouteTree=()=>{let e=function(e,t=!1){let r=eF(),n=[],o={},i={},s=0;for(let a of(!function e(r,a,l,c){if(r.init(s),r.id in o&&T(),o[r.id]=r,0!==s&&r.path){let e=K(r.fullPath);(!i[e]||r.fullPath.endsWith("/"))&&(i[e]=r)}s++;let[u,d,h]=eD(t,r,a,l,n,c);if(r._interpolation=h,r.children)for(let t of r.children)e(t,d,u,h)}(e,1,r),n))a.sort(eM);return{processedTree:{segmentTree:r,singleCache:eO(1e3),matchCache:eO(1e3),flatCache:null,masksTree:null},routesById:o,routesByPath:i}}(this.routeTree,this.options.caseSensitive);return this.options.routeMasks&&function(e,t){let r=eF(),n=[];for(let t of e)!function e(t,r,o,i){let[s,a,l]=eD(!1,t,r,o,n,i);if(t.children)for(let r of t.children)e(r,a,s,l)}(t,1,r);for(let e of n)e.sort(eM);t.masksTree=r,t.flatCache=eO(1e3)}(this.options.routeMasks,e.processedTree),{...e,resolvePathCache:eO(1e3)}},this.subscribe=(e,t)=>{let r={eventType:e,fn:t};return this.subscribers.add(r),()=>{this.subscribers.delete(r)}},this.emit=e=>{for(let t of this.subscribers)if(t.eventType===e.type)try{t.fn(e)}catch(e){console.error(e)}},this.parseLocation=(e,t)=>{let r=({pathname:e,search:r,hash:n,href:o},i)=>{if(!this.rewrite&&!/[ \x00-\x1f\x7f\u0080-\uffff]/.test(e)){let o=this.options.parseSearch(r),s=this.options.stringifySearch(o);return{href:e+s+n,publicHref:e+s+n,pathname:E(e),external:!1,searchStr:s,search:b(t?.search,o),hash:E(n.slice(1)),state:_(t?.state,i)}}let s=tC(this.rewrite,new URL(o,this.origin)),a=this.options.parseSearch(s.search),l=this.options.stringifySearch(a);return s.search=l,{href:s.href.replace(s.origin,""),publicHref:o,pathname:E(tO(s.pathname)),external:!!this.rewrite&&tN(s,this.origin),searchStr:l,search:b(t?.search,a),hash:E(s.hash.slice(1)),state:_(t?.state,i)}},n=r(e,e.state),{__tempLocation:o,__tempKey:i}=n.state;if(o&&(!i||i===this.tempLocationKey)){let e=r(o,{...o.state,__tempLocation:void 0,key:n.state.key,__TSR_key:n.state.__TSR_key});return e.maskedLocation=n,e}return n},this.matchRoutes=(e,t,r)=>"string"==typeof e?this.matchRoutesInternal({pathname:e,search:t},r):this.matchRoutesInternal(e,t),this.getMatchedRoutes=e=>{let t=Object.create(null),r=function(e,t,r=!1){let n,o=r?e:`nofuzz\0${e}`,i=t.matchCache.get(o);if(void 0!==i)return i;e||="/";try{n=eA(e,t.segmentTree,r)}catch(e){if(e instanceof URIError)n=null;else throw e}return n&&(n.branch=eN(n.route)),t.matchCache.set(o,n),n}(K(e),this.processedTree,!0);return r&&Object.assign(t,r.rawParams),[r?.branch||[this.routesById.__root__],t,r?.route]},this.buildLocation=e=>{{let t=this.staticLocations.get(e);if(t)return t}let t=!1,r=(r={})=>{var n,o,i,s,a;let l,c,u,d,h,f;if(r.href){let e=tA(r.href,{});r={...r,to:tC(this.rewrite,new URL(e.pathname,this.origin)).pathname,search:this.options.parseSearch(e.search),hash:e.hash.slice(1)}}let p=r._fromLocation||this._pendingLocation||this.latestLocation,b=()=>(t=!0,p),_=()=>(t=!0,l??=this.matchRoutesLightweight(p)),w=r.to?`${r.to}`:".",S=G("/"===w[0]?"":"path"===r.unsafeRelative?b().pathname:r.from??_()[1],w,this.options.trailingSlash,this.resolvePathCache),x=this.routesByPath[K(S)],k=S.includes("$");if(x)c=x._branch??=eN(x);else if(k)c=[];else{let[e,t,r]=this.getMatchedRoutes(S);c=e,this.options.notFoundRoute&&(!r||"/"!==r.path&&t["**"])&&(c=[...c,this.options.notFoundRoute])}let R=k?x?._interpolation??eD(!1,{fullPath:S},0):void 0;for(let e of c){let t=e.options.params?.stringify??e.options.stringifyParams;if(t){let e=_()[3];if(!y(u??=tJ(r.params,e)))break;u===e&&(u=Object.assign(v(),u));try{Object.assign(u,t(u))}catch{}}}u??=tJ(r.params,(n=r.params,o=R,"function"==typeof n||o&&!1!==n&&null!==n&&(void 0===n||!0===n||o.some(e=>"string"!=typeof e&&!m.call(n,e[1]))))?_()[3]:tG);let C=e.leaveParams?S:tO(E(R?Y(S,R,u,this.pathParamsDecoder):S)),L=function(e,t){let r=[];for(let n=0;n<e.length;n++){let o=e[n].options;if("search"in o)o.search?.middlewares&&r.push(...o.search.middlewares);else if(o.preSearchFilters||o.postSearchFilters){let e=({search:e,next:t})=>{let r=t(o.preSearchFilters?o.preSearchFilters.reduce((e,t)=>t(e),e):e);return o.postSearchFilters?o.postSearchFilters.reduce((e,t)=>t(e),r):r};r.push(e)}let i=o.validateSearch;if(t&&i){let e=({search:e,next:t,meta:r})=>{let n=t(e);try{let e=tK(i,n);if(r&&e)for(let t in e)t in n||(r.defaulted||=new Map).set(t,e[t]);return{...n,...e}}catch{}return n};r.push(e)}}return r}(c,e._includeValidateSearch),P=()=>{let t=_()[2];if(e._includeValidateSearch&&this.options.search?.strict){let e={};c.forEach(r=>{if(r.options.validateSearch)try{Object.assign(e,tK(r.options.validateSearch,{...e,...t}))}catch{}}),t=e}return t},T=L.length?(i=L,s=P(),a=r,(f=(e,t,r)=>{if(e>=i.length){if(!a.search)return{};if(!0===a.search)return t;let e=g(a.search,t);return r&&(r.explicit=e),e}return i[e]({search:t,next:(t,n)=>{if(n){let n=r||{};return{search:f(e+1,t,n),meta:n}}return f(e+1,t,r)},meta:r})})(0,s)):!0===r.search?P():"function"==typeof r.search?r.search(P()):r.search||tG,I=this.options.stringifySearch(T),O=!0===r.hash?b().hash:"function"==typeof r.hash?r.hash(b().hash):r.hash||void 0,D=O?`#${O}`:"",M=r.state?!0===r.state?b().state:"function"==typeof r.state?r.state(b().state):r.state:tG,F=`${C}${I}${D}`,A=!1;if(this.rewrite){let e=new URL(F,this.origin),t=e.origin,r=tL(this.rewrite,e);d=tj(e),tN(r,t)?(h=r.href,A=!0):h=tO(tj(r))}else h=d=/[\s\u0080-\uFFFF]/.test(F)?F.replace(/\s|[^\u0000-\u007F]/gu,encodeURIComponent):F;return{publicHref:h,href:d,pathname:C,search:T,searchStr:I,state:M,hash:O??"",external:A,unmaskOnReload:r.unmaskOnReload}},n=r(e);if(e.mask)n.maskedLocation=r({from:e.from,...e.mask});else if(this.options.routeMasks){let t=function(e,t){e||="/";let r=t.flatCache.get(e);if(void 0!==r)return r;let n=eA(e,t.masksTree);return t.flatCache.set(e,n),n}(n.pathname,this.processedTree);if(t){let o=Object.assign(v(),t.rawParams),{from:i,params:s,...a}=t.route,l=tJ(s,o);n.maskedLocation=r({from:e.from,...a,params:l})}}return t||!e._fromLocation||n.maskedLocation||this.staticLocations.set(e,n),n},this.commitLocation=async({viewTransition:e,ignoreBlocker:t,...r})=>{let n,o,i=r.maskedLocation??r;if(i.external&&1)return tz(this,i.publicHref,{replace:r.replace,ignoreBlocker:t});let s=K(this.latestLocation.href)===K(r.href)&&S(function({key:e,__TSR_key:t,__TSR_index:r,__hashScrollIntoViewOptions:n,...o}){return o}(r.state),function({key:e,__TSR_key:t,__TSR_index:r,__hashScrollIntoViewOptions:n,...o}){return o}(this.latestLocation.state)),a=this._commitPromise,l=new Promise(e=>{o=e});if(l.resolve=()=>{o(),a?.resolve()},this._commitPromise=l,s)this.load();else{let{maskedLocation:o,hashScrollIntoView:i,...s}=r;o&&((s={...o,state:{...o.state,__tempKey:void 0,__tempLocation:{...s,search:s.searchStr,state:{...s.state,__tempKey:void 0,__tempLocation:void 0,__TSR_key:void 0,key:void 0}}}}).unmaskOnReload??this.options.unmaskOnReload)&&(s.state.__tempKey=this.tempLocationKey),s.state={...s.state,__hashScrollIntoViewOptions:i??this.options.defaultHashScrollIntoView??!0},this.shouldViewTransition=e,n=r.replace?"REPLACE":"PUSH",this.history["REPLACE"===n?"replace":"push"](s.publicHref,s.state,{ignoreBlocker:t}),this.history.subscribers.size||this.load({action:{type:n}})}return this._scroll.n=r.resetScroll??!0,this._commitPromise},this.buildAndCommitLocation=({replace:e,resetScroll:t,hashScrollIntoView:r,viewTransition:n,ignoreBlocker:o,...i}={})=>{let s=this.buildLocation({...i,_includeValidateSearch:!0});this._pendingLocation=s;let a=this.commitLocation({...s,viewTransition:n,replace:e,resetScroll:t,hashScrollIntoView:r,ignoreBlocker:o});return queueMicrotask(()=>{this._pendingLocation===s&&(this._pendingLocation=void 0)}),a},this.navigate=async({to:e,reloadDocument:t,href:r,publicHref:n,...o})=>{let i=r?C(r):void 0;if(i||t){if(void 0!==e||!r){let t=this.buildLocation({to:e,...o}),i=t.maskedLocation??t;r??=i.publicHref,n??=i.publicHref}return tz(this,!i&&n?n:r,o)}return this.buildAndCommitLocation({...o,href:r,to:e,_isNavigate:!0})},this.load=async e=>{this.updateLatestLocation(),e?.action&&(this._scroll.h="PUSH"===e.action.type||"REPLACE"===e.action.type),await tk(this,e)},this.startViewTransition=e=>{let t=this.shouldViewTransition??this.options.defaultViewTransition;if(this.shouldViewTransition=void 0,t&&"function"==typeof document.startViewTransition){let r;if("object"==typeof t&&window.CSS?.supports?.("selector(:active-view-transition-type(a))")){let n=this.latestLocation,o=this.stores.resolvedLocation.get(),i="function"==typeof t.types?t.types(tW(n,o)):t.types;if(!1===i)return e();r={update:e,types:i}}else r=e;return document.startViewTransition(r).updateCallbackDone}return e()},this.invalidate=e=>{let t=this._committed,r=e?.filter,n=this._preloads,o=new Set,i=e=>{(!r||r(e))&&o.add(e.id)};t.forEach(i),this._cache.forEach(i),n?.forEach(e=>e.forEach(i)),this._tx?.[3].forEach(i);let s=[];for(let[e,t]of n??[])t.some(e=>o.has(e.id))&&(n.delete(e),s.push(e));let a=t=>{if(o.has(t.id)){let r=this.routesById[t.routeId],n={...t,invalid:!0,...(e?.forcePending||"error"===t.status||"notFound"===t.status)&&tB(r)?{status:"pending",error:void 0}:void 0};return t._flight=void 0,n}return t};for(let[r,n]of(this._committed=t.map(a),this._cache))o.has(r)&&(n.invalid=!0,e?.forcePending&&(n.status="pending"));for(let e of o){let t=this._flights?.get(e);this._flights?.delete(e),t&&!t[2]&&s.push(t[1])}for(let e of s)e.abort();return this.shouldViewTransition=!1,this.load({sync:e?.sync})},this.resolveRedirect=e=>{let t,r=e.options,n=e.headers.get("Location")||r.href;if(!n){let e=this.buildLocation(r);n=(e.maskedLocation??e).publicHref||"/"}if(L.test(n)||(t=C(n))&&!this.protocolAllowlist.has(t))throw Error("Redirect blocked: unsafe protocol");if("http:"===t||"https:"===t){let e=new URL(n);e.pathname.startsWith("//")?n=e.href:tN(e,this.origin)||(n=tj(e),t=void 0)}return t&&(r.reloadDocument=!0),r.href=n,e.headers.set("Location",n),e},this.clearCache=e=>{let t=this._cache,r=this._preloads,n=e?.filter,o=[],i=[];for(let[e,r]of t)(!n||n(r))&&(i.push(e),o.push(r));let s=[];for(let[e,t]of r??[])(!n||t.some(n))&&(s.push(e),o.push(...t));for(let e of i)t.delete(e);for(let e of s)r.delete(e);for(let e of o){let t=e._flight;e._flight=void 0,!t||--t[2]||(this._flights?.get(e.id)===t&&this._flights.delete(e.id),s.push(t[1]))}for(let e of s)e.abort()},this.loadRouteChunk=e0,this.preloadRoute=e=>tR(this,e),this.matchRoute=(e,t)=>{var r,n,o,i,s;let a,l,c={...e,to:e.to?G(e.from||"",e.to,this.options.trailingSlash,this.resolvePathCache):void 0,params:e.params||{},leaveParams:!0},u=this.buildLocation(c),d="pending"===this.stores.status.get();if(t?.pending&&!d)return!1;let h=t?.pending??!d?this.latestLocation:this.stores.resolvedLocation.get()||this.stores.location.get(),f=(r=u.pathname,n=t?.caseSensitive??!1,o=t?.fuzzy??!1,i=h.pathname,s=this.processedTree,r||="/",i||="/",a=n?`case\0${r}`:r,(l=s.singleCache.get(a))||(eD(n,{from:r},1,l=eF()),s.singleCache.set(a,l)),eA(i,l,o));return!!f&&(!e.params||!!S(f.rawParams,e.params,!0))&&(t?.includeSearch??!0?!!S(h.search,u.search,!0)&&f.rawParams:f.rawParams)},this.getStoreConfig=t,e.pathParamsAllowedCharacters?.length&&(this.pathParamsDecoder=(n=RegExp([...(r=new Map(e.pathParamsAllowedCharacters.map(e=>[encodeURIComponent(e),e]))).keys()].join("|").replace(/[.*()]/g,"\\$&"),"g"),e=>e.replace(n,e=>r.get(e)??e))),this.update({defaultPreloadDelay:50,defaultPendingMs:1e3,defaultPendingMinMs:500,context:void 0,...e,caseSensitive:e.caseSensitive??!1,notFoundMode:e.notFoundMode??"fuzzy",stringifySearch:e.stringifySearch??eX,parseSearch:e.parseSearch??eq,protocolAllowlist:e.protocolAllowlist??R}),self.__TSR_ROUTER__=this}isShell(){return!!this.options.isShell}get state(){return this.stores.__store.get()}setRoutes(e){Object.assign(this,e),this.lightweightCache=new WeakMap,this.staticLocations=new WeakMap;let t=this.options.notFoundRoute;t&&(t.init(0x174876e7ff),this.routesById[t.id]!==t&&(t._interpolation=eD(!1,t,0)),this.routesById[t.id]=t)}matchRoutesInternal(e,t){let r,[n,o,i]=this.getMatchedRoutes(e.pathname),s=n,a=!1;(i?"/"!==i.path&&o["**"]:K(e.pathname))&&(this.options.notFoundRoute?s=[...s,this.options.notFoundRoute]:a=!0);let l=a?function(e,t){if("root"!==e){let e;for(let r=t.length-1;r>=0;r--){let n=t[r];if(n.options.notFoundComponent)return n.id;e||=n.children&&n.id}if(e)return e}return ed}(this.options.notFoundMode,s):void 0,c=Array(s.length),u=this._committed,d=(e,t)=>{let r=u[t];return r?.routeId===e.id?r:e===this.options.notFoundRoute?u.find(t=>t.routeId===e.id):void 0};for(let n=0;n<s.length;n++){let i,a,u,h,f,p=s[n],g=c[n-1];{let r=g?.search??e.search,n=g?._strictSearch??void 0;try{let e=tK(p.options.validateSearch,{...r})??void 0;i={...r,...e},a={...n,...e}}catch(n){let e=n;if(n instanceof tH||(e=new tH(n.message,{cause:n})),t?.throwOnError)throw e;i=r,a={},u=e}}let m="",y="";try{y=(m=p.options.loaderDeps?.({search:i})??"")&&JSON.stringify(m)||""}catch(e){if(t?.throwOnError)throw e;u??=e}let w=v(),S=p._interpolation?Y(p.fullPath,p._interpolation,o,this.pathParamsDecoder,w):p.fullPath,x=p.id+S+y,k=d(p,n),R=this._cache.get(x)??(k?.id===x?k:void 0);if(r=R?._strictParams??Object.assign(w,r),!R)try{tY(p,r)}catch(e){if(h=eu(e)||eh(e)?e:new tV(e.message,{cause:e}),t?.throwOnError)throw h}let C=k?"stay":"enter";if(R)f={...R,cause:C,search:k?b(k.search,i):b(R.search,i),_strictSearch:a,searchError:u};else{let e=tB(p)?"pending":"success";f={id:x,ssr:p.options.ssr,index:n,routeId:p.id,params:k?.params??r,_strictParams:r,pathname:S,updatedAt:Date.now(),search:k?b(k.search,i):i,_strictSearch:a,searchError:u,status:e,isFetching:!1,error:void 0,paramsError:h,context:{},abortController:t?._controller??new AbortController,cause:C,loaderDeps:k?_(k.loaderDeps,m):m,invalid:!1,preload:!1,staticData:p.options.staticData||{},fullPath:p.fullPath}}let L=l===p.id;f._notFound&&!L&&(f.error=void 0),f._notFound=L,c[n]=f}for(let e=0;e<c.length;e++){let n=c[e];n.params="stay"===n.cause?b(n.params,r):r,t?._controller&&(n.context={})}return c}matchRoutesLightweight(e){let t,r=p(this.stores.ids.get()),n=r?this.stores.byRoute.get(r).get():void 0,o=n?.id,i=this.lightweightCache.get(e);if(i&&i[0]===o)return i[1];let[s,a]=this.getMatchedRoutes(e.pathname),l=p(s),c={...e.search};for(let e of s)try{Object.assign(c,tK(e.options.validateSearch,c))}catch{}if(n&&n.routeId===l.id&&n.pathname===e.pathname)t=n.params;else{for(let e of s)try{tY(e,a)}catch{}t=a}let u=[s,l.fullPath,c,t];return this.lightweightCache.set(e,[o,u]),u}};async function tz(e,t,{replace:r,ignoreBlocker:n}){if(!P(t,e.protocolAllowlist)){if(!n){for(let t of e.history._getBlockers())if(t?.blockerFn&&await t.blockerFn({currentLocation:e.history.location,nextLocation:e.history.location,action:r?"REPLACE":"PUSH"}))return}e.history._ignoreNextBeforeUnload?.(t),r?window.location.replace(t):window.location.href=t}}var tH=class extends Error{},tV=class extends Error{};function tK(e,t){if(null==e)return{};if("~standard"in e){let r=e["~standard"].validate(t);if(r instanceof Promise)throw new tH("Async validation not supported");if(r.issues)throw new tH(JSON.stringify(r.issues,void 0,2),{cause:r});return r.value}return"parse"in e?e.parse(t):"function"==typeof e?e(t):{}}function tJ(e,t){if(void 0===e||!0===e)return t;let r=Object.create(null);return!1===e||null===e?r:"function"==typeof e?(Object.assign(r,t),Object.assign(r,e(r))):Object.assign(r,t,e)}let tG=Object.freeze({});function tY(e,t){let r=e.options.params?.parse??e.options.parseParams;r&&Object.assign(t,r(t))}var tZ=class extends tU{constructor(e){super(e,eI)}};c.use;var tq=c.useLayoutEffect,tX=class extends c.Component{constructor(...e){super(...e),this.state={error:0},this.reset=()=>{this.setState({error:0})}}static getDerivedStateFromProps(e,t){let r=e.getResetKey();return t.error&&t.resetKey!==r?{resetKey:r,error:0}:{resetKey:r}}static getDerivedStateFromError(e){return{error:[e]}}componentDidCatch(e,t){this.props.onCatch?.(e,t)}render(){let e=this.state.error;return e?c.createElement(this.props.errorComponent??tQ,{error:e[0],reset:this.reset}):this.props.children}};function tQ({error:e}){let[t,r]=c.useState(!1);return o("div",{style:{padding:".5rem",maxWidth:"100%"},children:[o("div",{style:{display:"flex",alignItems:"center",gap:".5rem"},children:[n("strong",{style:{fontSize:"1rem"},children:"Something went wrong!"}),n("button",{style:{appearance:"none",fontSize:".6em",border:"1px solid currentColor",padding:".1rem .2rem",fontWeight:"bold",borderRadius:".25rem"},onClick:()=>r(e=>!e),children:t?"Hide Error":"Show Error"})]}),n("div",{style:{height:".25rem"}}),t?n("div",{children:n("pre",{style:{fontSize:".7em",border:"1px solid red",borderRadius:".25rem",padding:".3rem",color:"red",overflow:"auto"},children:e?.message?n("code",{children:e.message}):null})}):null]})}function t0(e,t){let r=e[1];e.length=0,r?.(t)}function t1({t:e}){let t=d(),r=t._rendered??=[],n;return t.startTransition=(n,o)=>new Promise(i=>{t0(r,!1),r.push(o,i),e(t),c.startTransition(n)}),tq(()=>{let e=t.history.subscribe(t.load);if(n?.current)return e;n&&(n.current=!0),t.updateLatestLocation();let o=t.latestLocation,i=t.buildLocation({to:o.pathname,search:!0,params:!0,hash:!0,state:!0,_includeValidateSearch:!0});if(K(o.publicHref)!==K(i.publicHref))return t.commitLocation({...i,replace:!0,ignoreBlocker:!0}),e;let s=t.stores.resolvedLocation.get();return s?.href===o.href&&s.state.__TSR_key===o.state.__TSR_key?r.push(t.stores.matches.get(),e=>{e&&t.emit({type:"onRendered",...tW(s,s)})}):t._tx||t.load({sync:!0}).catch(console.error),e},[t,t.history]),null}function t2(e){let t=d(),r=`not-found-${D(t.stores.location,e=>e.pathname)}-${D(t.stores.status)}`;return n(tX,{getResetKey:()=>r,onCatch:(t,r)=>{if(eu(t))e.onCatch?.(t,r);else throw t},errorComponent:({error:t})=>{if(eu(t))return e.fallback?.(t);throw t},children:e.children})}function t3(){return n("p",{children:"Not Found"})}function t5(e,t,r){return t.options.notFoundComponent?n(t.options.notFoundComponent,{...r}):e.options.defaultNotFoundComponent?n(e.options.defaultNotFoundComponent,{...r}):n(t3,{})}function t4(e,t){let r=t?.options.pendingComponent??e.options.defaultPendingComponent;return r?n(r,{}):null}var t6=(e,t)=>e[0]===t[0]&&e[1]===t[1],t7=(e,t,r)=>!t.isRoot||t.options.shellComponent||t.options.wrapInSuspense||!1===r||"data-only"===r||!e.ssr,t8=c.memo(function({routeId:e}){let t=d();return n(t9,{router:t,match:D(t.stores.getMatchStore(e))})});function t9({router:e,match:t}){let r=e.routesById[t.routeId],i=t4(e,r),a=r.options.errorComponent??e.options.defaultErrorComponent,l=r.options.onCatch??e.options.defaultOnCatch,u=r.isRoot?r.options.notFoundComponent??e.options.notFoundRoute?.options.component:r.options.notFoundComponent,d=!1===t.ssr||"data-only"===t.ssr,f=t7(e,r,t.ssr)&&(r.options.wrapInSuspense??i??(r.options.errorComponent?.preload||d)),p=n(re,{match:t});d&&(p=n(W,{fallback:i,children:p})),u&&(p=n(t2,{fallback:e=>{if(e.routeId??=t.routeId,e.routeId!==t.routeId)throw e;return c.createElement(u,e)},children:p})),a&&(p=n(tX,{getResetKey:()=>t,errorComponent:a,onCatch:(e,r)=>{if(eu(e))throw e.routeId??=t.routeId,e;l?.(e,r)},children:p})),f&&(p=n(c.Suspense,{fallback:i,children:p}));let g=r.isRoot?r.options.shellComponent:void 0;return n(h.Provider,{value:t.routeId,children:g?o(g,{children:[p,null]}):o(s,{children:[p,null]})})}var re=c.memo(function({match:e}){let t=d(),r=e.routeId,o=t.routesById[r],i=c.useMemo(()=>{let n=(o.options.remountDeps??t.options.defaultRemountDeps)?.({routeId:r,loaderDeps:e.loaderDeps,params:e._strictParams,search:e._strictSearch});return n?JSON.stringify(n):void 0},[r,e.loaderDeps,e._strictParams,e._strictSearch,o.options.remountDeps,t.options.defaultRemountDeps]),s=c.useMemo(()=>{let e=o.options.component??t.options.defaultComponent;return e?n(e,{},i):n(rt,{})},[i,o.options.component,t.options.defaultComponent]);if("pending"===e.status){if(t.ssr&&!t7(t,o,e.ssr))return s;if(t._tx)throw t._tx[5];return t4(t,o)}if("notFound"===e.status)return t5(t,o,e.error);if("error"===e.status)throw e.error;return s}),rt=c.memo(function(){let e,t,r,o=d(),i=c.useContext(h);{let n=o.stores.getMatchStore(i);[e,t]=D(n,e=>[!!e._notFound,e.error],{compare:t6}),r=D(o.stores.ids,e=>e[e.indexOf(i)+1])}if(e)return t5(o,o.routesById[i],t);if(!r)return null;let s=n(t8,{routeId:r});return i===ed?n(c.Suspense,{fallback:t4(o),children:s}):s});function rr(){let e=d(),t=e.routesById[ed],r=t4(e,t),i=o(s,{children:[n(t1,{t:c.useState()[1]}),e.ssr?n(rn,{}):n(c.Suspense,{fallback:r,children:n(rn,{})})]});return e.options.InnerWrap?n(e.options.InnerWrap,{children:i}):i}function rn(){let e=d(),t=e._rendered,r=D(e.stores.matches,e=>t[0]??e),o=r[0],i=o?.routeId;tq(()=>{t[0]===r&&t0(t,!0)},[t,r]);let s=i?n(t8,{routeId:i}):null;return e.options.disableGlobalCatchBoundary?s:n(tX,{getResetKey:()=>o,onCatch:void 0,children:s})}function ro({router:e,children:t,...r}){y(r)&&e.update({...e.options,...r,context:{...e.options.context,...r.context}});let o=n(u.Provider,{value:e,children:t});return e.options.Wrap?n(e.options.Wrap,{children:o}):o}function ri({router:e,...t}){return n(ro,{router:e,...t,children:n(rr,{})})}let rs=(0,c.createContext)(null),ra=()=>{let e,t=(0,l.c)(2),r=(0,c.useContext)(rs);return t[0]!==r?(e=n(s,{children:r}),t[0]=r,t[1]=e):e=t[1],e},rl=e=>{let t,r,o,i=(0,l.c)(7),{initialPath:s,children:a}=e,u=void 0===s?"/home":s;i[0]!==u?(t=()=>{var e;let t,r;return e=u,t=new em({component:ra}),r=new eg({getParentRoute:()=>t,path:"$"}),new tZ({routeTree:t.addChildren([r]),history:function(e={initialEntries:["/"]}){let t=e.initialEntries,r=e.initialIndex?Math.min(Math.max(e.initialIndex,0),t.length-1):t.length-1,n=t.map((e,t)=>tF(t,void 0)),o=[];return tM({getLocation:()=>tA(t[r],n[r]),getLength:()=>t.length,pushState:(e,o)=>{n[r=r<t.length-1?r+1:t.length]=o,t[r]=e,r<t.length-1&&(t.length=r+1,n.length=r+1)},replaceState:(e,o)=>{n[r]=o,t[r]=e},back:()=>{r=Math.max(r-1,0)},forward:()=>{r=Math.min(r+1,t.length-1)},go:e=>{r=Math.min(Math.max(r+e,0),t.length-1)},createHref:tD,getBlockers:()=>o,setBlockers:e=>o=e})}({initialEntries:[e]})})},i[0]=u,i[1]=t):t=i[1];let[d]=(0,c.useState)(t);return i[2]!==d?(r=n(ri,{router:d}),i[2]=d,i[3]=r):r=i[3],i[4]!==a||i[5]!==r?(o=n(rs.Provider,{value:a,children:r}),i[4]=a,i[5]=r,i[6]=o):o=i[6],o};rl.displayName="StoryRouter";let rc=window.WallarmDS.Icons.CircleDashed,ru={productLabel:"Edge",productPath:"/edge",headerActions:[{icon:window.WallarmDS.Icons.Filter,label:"Filter",onClick:()=>alert("Filter clicked")},{icon:window.WallarmDS.Icons.Plus,label:"Add",onClick:()=>alert("Add clicked")}],items:[{type:"link",id:"overview",label:"Overview",path:"overview",icon:rc},{type:"drill",id:"data-planes",label:"Data planes",path:"data-planes",icon:rc,param:"dataPlaneId",entities:[{id:"production",label:"Production",description:"Main production environment"},{id:"staging",label:"Staging",description:"Pre-production testing"},{id:"edge-eu",label:"Edge EU",description:"European edge nodes"},{id:"edge-us",label:"Edge US",description:"US edge nodes"}],children:[{type:"link",id:"dp-overview",label:"Overview",path:"overview",icon:rc},{type:"drill",id:"dp-nodes",label:"Nodes",path:"nodes",icon:rc,param:"nodeId",entities:[{id:"node-1",label:"Node 1",description:"Primary node"},{id:"node-2",label:"Node 2",description:"Secondary node"},{id:"node-3",label:"Node 3",description:"Tertiary node"}],children:[{type:"link",id:"node-overview",label:"Overview",path:"overview",icon:rc},{type:"link",id:"node-metrics",label:"Metrics",path:"metrics",icon:rc},{type:"link",id:"node-logs",label:"Logs",path:"logs",icon:rc},{type:"link",id:"node-config",label:"Configuration",path:"config",icon:rc}]},{type:"link",id:"dp-services",label:"Services",path:"services",icon:rc,dividerAfter:!0},{type:"link",id:"dp-govern",label:"Govern",path:"govern",icon:rc},{type:"group",id:"dp-operations",label:"Operations",icon:rc,children:[{type:"link",id:"dp-routing-rules",label:"Routing rules",path:"routing-rules"},{type:"link",id:"dp-settings",label:"Settings",path:"settings"}]}]},{type:"link",id:"dashboards",label:"Dashboards",path:"dashboards",icon:rc,dividerAfter:!0},{type:"section-header",id:"section-detect",label:"Detect & Respond"},{type:"group",id:"events",label:"Events",icon:rc,defaultExpanded:!0,children:[{type:"link",id:"attacks",label:"Attacks",path:"attacks"},{type:"link",id:"incidents",label:"Incidents",path:"incidents"},{type:"link",id:"security-issues",label:"Security Issues",path:"security-issues"},{type:"link",id:"api-sessions",label:"API Sessions",path:"api-sessions"}]},{type:"group",id:"api-security",label:"API Security",icon:rc,children:[{type:"link",id:"api-attack-surface",label:"API Attack Surface",path:"api-attack-surface"},{type:"link",id:"api-discovery",label:"API Discovery",path:"api-discovery"},{type:"link",id:"api-abuse-prevention",label:"API Abuse Prevention",path:"api-abuse-prevention"},{type:"link",id:"api-specifications",label:"API Specifications",path:"api-specifications"}]},{type:"group",id:"security-controls",label:"Security controls",icon:rc,children:[{type:"link",id:"ip-session-lists",label:"IP & Session Lists",path:"ip-session-lists"},{type:"link",id:"triggers",label:"Triggers",path:"triggers"},{type:"link",id:"rules",label:"Rules",path:"rules"},{type:"link",id:"mitigation-controls",label:"Mitigation Controls",path:"mitigation-controls"},{type:"link",id:"credential-stuffing",label:"Credential Stuffing",path:"credential-stuffing"}]},{type:"section-header",id:"section-protect",label:"Protect"},{type:"group",id:"security-testing",label:"Security Testing",icon:rc,children:[{type:"link",id:"threat-replay",label:"Threat Replay",path:"threat-replay"},{type:"link",id:"schema-based",label:"Schema-Based",path:"schema-based"}]},{type:"group",id:"configuration",label:"Configuration",icon:rc,children:[{type:"group",id:"nodes",label:"Nodes",children:[{type:"link",id:"nodes-overview",label:"Overview",path:"nodes-overview"},{type:"link",id:"nodes-pools",label:"Pools",path:"nodes-pools"},{type:"link",id:"nodes-health-checks",label:"Health checks",path:"nodes-health-checks"}]},{type:"link",id:"security-edge",label:"Security Edge",path:"security-edge"},{type:"link",id:"integrations",label:"Integrations",path:"integrations"}]}]},rd=window.WallarmDS.Link,rh=window.WallarmDS.Page,rf=window.WallarmDS.PageContent,rp=window.WallarmDS.PageHeader,rg=window.WallarmDS.PageTitle,rm=window.WallarmDS.Text,ry=window.WallarmDS.useRemoteShellContext,rv=window.WallarmDS.RemoteShell,rb=window.WallarmDS.RemoteShellBreadcrumb,r_=window.WallarmDS.RemoteShellContent,rw=window.WallarmDS.RemoteShellPanel,rS=[{to:"/edge/overview",label:"Edge overview"},{to:"/edge/data-planes/production/services",label:"Production → Services"},{to:"/edge/data-planes/staging/overview",label:"Staging → Overview"},{to:"/edge/data-planes/production/nodes/node-2/metrics",label:"Node 2 → Metrics"}],rx=()=>{let e,t,r,i,s,a,c,u=(0,l.c)(13),{breadcrumbSegments:d}=ry();u[0]===Symbol.for("react.memo_cache_sentinel")?(e={select:rk},u[0]=e):e=u[0];let h=$(e),f=d[d.length-1]?.label??"";return u[1]!==f?(t=n(rp,{children:n(rg,{children:f})}),u[1]=f,u[2]=t):t=u[2],u[3]!==h?(r=o(rm,{size:"sm",color:"secondary",children:["Router pathname: ",n("code",{children:h})]}),u[3]=h,u[4]=r):r=u[4],u[5]===Symbol.for("react.memo_cache_sentinel")?(i=n(rm,{size:"sm",color:"secondary",children:"These are router links in the page, not shell navigation — the panel and the breadcrumbs follow them."}),u[5]=i):i=u[5],u[6]===Symbol.for("react.memo_cache_sentinel")?(s=n("ul",{className:"flex flex-col gap-4",children:rS.map(rR)}),u[6]=s):s=u[6],u[7]!==r?(a=n(rf,{children:o("div",{className:"flex flex-col gap-12",children:[r,i,s]})}),u[7]=r,u[8]=a):a=u[8],u[9]!==t||u[10]!==a||u[11]!==f?(c=o(rh,{title:f,fixedHeight:!0,children:[t,a]}),u[9]=t,u[10]=a,u[11]=f,u[12]=c):c=u[12],c};function rk(e){return e.location.pathname}function rR(e){return n("li",{children:n(rd,{asChild:!0,children:n(eo,{to:e.to,children:e.label})})},e.to)}function rC(e){return e.location.pathname}let rL=[{name:"Basic",story:()=>{let e,t,r,i,s,a,c=(0,l.c)(9),u=N();c[0]===Symbol.for("react.memo_cache_sentinel")?(e={select:rC},c[0]=e):e=c[0];let d=$(e);return c[1]!==u?(t=e=>u({to:e}),c[1]=u,c[2]=t):t=c[2],c[3]===Symbol.for("react.memo_cache_sentinel")?(r=n(rw,{resizable:!0}),i=n(rb,{}),c[3]=r,c[4]=i):(r=c[3],i=c[4]),c[5]===Symbol.for("react.memo_cache_sentinel")?(s=n(r_,{children:n(rx,{})}),c[5]=s):s=c[5],c[6]!==d||c[7]!==t?(a=n("div",{className:"h-screen bg-bg-page-bg",children:o(rv,{config:ru,basePath:"/edge",pathname:d,onNavigate:t,children:[r,i,s]})}),c[6]=d,c[7]=t,c[8]=a):a=c[8],a},meta:{title:"Navigation/RemoteShell",component:rv,subcomponents:{RemoteShellPanel:rw,RemoteShellBreadcrumb:rb,RemoteShellContent:r_},decorators:[e=>n(rl,{initialPath:"/edge/overview",children:n(e,{})})],parameters:{layout:"fullscreen",docs:{description:{component:"The frame of one product inside `AppShell` — its navigation panel, breadcrumbs and content area, all driven by a single `NavConfig`. The panel is configured only through `config`: `link`, `group`, `section-header` and `drill` nodes, with `dividerAfter` for a line. Its parts are internal; never compose the panel by hand. The URL is the state: the active item, the drill level and the breadcrumbs are matched from the pathname. When a router owns the URL, hand the shell the router’s pathname through `pathname` and take its navigations back through `onNavigate` — then links in the page, the host rail or `router.navigate` keep the menu in sync. Without `pathname` the shell reads `window.location` and only notices `popstate` and its own navigations."}}},argTypes:{children:{control:!1},ref:{control:!1},config:{control:!1},basePath:{control:!1},pathname:{control:!1},onNavigate:{control:!1}}}}];function rP({entry:e}){let{story:t,meta:r}=e,n={...r.args,...t.args},o="function"==typeof t||t.$$typeof?t:t.render||r.render||r.component,i=()=>c.default.createElement(o,n),s={args:n,globals:{theme:"light"},parameters:{...r.parameters,...t.parameters},viewMode:"story"};for(let e of[...r.decorators||[],...t.decorators||[]].reverse()){let t=i;i=()=>e(t,s)}return c.default.createElement("section",{"data-preview-story":e.name,className:"p-16"},c.default.createElement("h2",{className:"text-sm mb-12"},e.name),c.default.createElement(i))}window.WallarmPreview={mount(e){let t=window.ReactDOM.createRoot(e);return t.render(c.default.createElement(window.WallarmDS.Root,null,rL.map((e,t)=>c.default.createElement(rP,{key:t,entry:e})))),t}}})();
@@ -0,0 +1,290 @@
1
+ A layout primitive that splits a view into resizable panels separated by draggable handles. Wraps `react-resizable-panels` with design-system styling.
2
+
3
+ ## Props as canvas attributes
4
+
5
+ Use kebab-case attribute names. Pass non-string values through renderVals holes, including booleans. The full emitted API is in `components/index.d.ts`.
6
+
7
+ | Attribute | Type | Required | Default | Description |
8
+ | --- | --- | --- | --- | --- |
9
+ | — | See emitted declarations in `components/index.d.ts`. | | | |
10
+
11
+ ## Sub-components
12
+
13
+ - `WallarmDS.ResizableHandle` — `ResizableHandleProps` in the declaration bundle.
14
+ - `WallarmDS.ResizablePanel` — `ResizablePanelProps` in the declaration bundle.
15
+ - `WallarmDS.ResizablePanelGroup` — `ResizablePanelGroupProps` in the declaration bundle.
16
+
17
+ ## Stories
18
+
19
+ ### Horizontal
20
+
21
+ Two panels side by side with a resizable divider.
22
+
23
+ Source: Resizable/Resizable.stories.tsx#Horizontal
24
+
25
+ ### Vertical
26
+
27
+ Two panels stacked vertically.
28
+
29
+ Source: Resizable/Resizable.stories.tsx#Vertical
30
+
31
+ ### ThreePanels
32
+
33
+ Three panels with two resize handles.
34
+
35
+ Source: Resizable/Resizable.stories.tsx#ThreePanels
36
+
37
+ ### Nested
38
+
39
+ A horizontal group with a vertical sub-group nested inside one panel.
40
+
41
+ Source: Resizable/Resizable.stories.tsx#Nested
42
+
43
+ ### Collapsible
44
+
45
+ A panel that can be collapsed by dragging past its minimum size. Double-click the handle to reset.
46
+
47
+ Source: Resizable/Resizable.stories.tsx#Collapsible
48
+
49
+ ### WithConstraints
50
+
51
+ Panels with minimum and maximum size constraints.
52
+
53
+ Source: Resizable/Resizable.stories.tsx#WithConstraints
54
+
55
+ ### WithTooltip
56
+
57
+ A "Drag to resize" tooltip appears on hover, like the Drawer resize handle.
58
+
59
+ Source: Resizable/Resizable.stories.tsx#WithTooltip
60
+
61
+ ### WithOverflowList
62
+
63
+ Resizing with content that reflows — the tag list adapts live as the panel width changes. Overflow items appear in a popover.
64
+
65
+ Source: Resizable/Resizable.stories.tsx#WithOverflowList
66
+
67
+ ## Story sources
68
+
69
+ ### Resizable/Resizable.stories.tsx
70
+
71
+ ```tsx
72
+ import type { Meta, StoryFn } from 'storybook-react-rsbuild';
73
+ import { OverflowList } from '../OverflowList';
74
+ import { Tag } from '../Tag';
75
+ import { Tooltip, TooltipContent, TooltipTrigger } from '../Tooltip';
76
+ import { ResizableHandle } from './ResizableHandle';
77
+ import { ResizablePanel } from './ResizablePanel';
78
+ import { ResizablePanelGroup, type ResizablePanelGroupProps } from './ResizablePanelGroup';
79
+
80
+ const DESCRIPTION =
81
+ 'A layout primitive that splits a view into resizable panels separated by draggable handles. Wraps `react-resizable-panels` with design-system styling.';
82
+
83
+ const meta = {
84
+ title: 'Layout/Resizable',
85
+ component: ResizablePanelGroup,
86
+ subcomponents: {
87
+ ResizablePanel,
88
+ ResizableHandle,
89
+ },
90
+ parameters: {
91
+ layout: 'centered',
92
+ docs: {
93
+ description: {
94
+ component: DESCRIPTION,
95
+ },
96
+ },
97
+ },
98
+ } satisfies Meta<typeof ResizablePanelGroup>;
99
+
100
+ export default meta;
101
+
102
+ /** Two panels side by side with a resizable divider. */
103
+ export const Horizontal: StoryFn<ResizablePanelGroupProps> = () => (
104
+ <div className='h-[320px] w-[600px] rounded-8 border border-border-primary'>
105
+ <ResizablePanelGroup orientation='horizontal'>
106
+ <ResizablePanel id='left' defaultSize='50%'>
107
+ <div className='flex h-full items-center justify-center p-24'>
108
+ <span className='text-text-secondary'>Panel A</span>
109
+ </div>
110
+ </ResizablePanel>
111
+ <ResizableHandle />
112
+ <ResizablePanel id='right' defaultSize='50%'>
113
+ <div className='flex h-full items-center justify-center p-24'>
114
+ <span className='text-text-secondary'>Panel B</span>
115
+ </div>
116
+ </ResizablePanel>
117
+ </ResizablePanelGroup>
118
+ </div>
119
+ );
120
+
121
+ /** Two panels stacked vertically. */
122
+ export const Vertical: StoryFn<ResizablePanelGroupProps> = () => (
123
+ <div className='h-[400px] w-[400px] rounded-8 border border-border-primary'>
124
+ <ResizablePanelGroup orientation='vertical'>
125
+ <ResizablePanel id='top' defaultSize='50%'>
126
+ <div className='flex h-full items-center justify-center p-24'>
127
+ <span className='text-text-secondary'>Top</span>
128
+ </div>
129
+ </ResizablePanel>
130
+ <ResizableHandle />
131
+ <ResizablePanel id='bottom' defaultSize='50%'>
132
+ <div className='flex h-full items-center justify-center p-24'>
133
+ <span className='text-text-secondary'>Bottom</span>
134
+ </div>
135
+ </ResizablePanel>
136
+ </ResizablePanelGroup>
137
+ </div>
138
+ );
139
+
140
+ /** Three panels with two resize handles. */
141
+ export const ThreePanels: StoryFn<ResizablePanelGroupProps> = () => (
142
+ <div className='h-[320px] w-[800px] rounded-8 border border-border-primary'>
143
+ <ResizablePanelGroup orientation='horizontal'>
144
+ <ResizablePanel id='left' defaultSize='25%'>
145
+ <div className='flex h-full items-center justify-center p-24'>
146
+ <span className='text-text-secondary'>Sidebar</span>
147
+ </div>
148
+ </ResizablePanel>
149
+ <ResizableHandle />
150
+ <ResizablePanel id='center' defaultSize='50%'>
151
+ <div className='flex h-full items-center justify-center p-24'>
152
+ <span className='text-text-secondary'>Content</span>
153
+ </div>
154
+ </ResizablePanel>
155
+ <ResizableHandle />
156
+ <ResizablePanel id='right' defaultSize='25%'>
157
+ <div className='flex h-full items-center justify-center p-24'>
158
+ <span className='text-text-secondary'>Inspector</span>
159
+ </div>
160
+ </ResizablePanel>
161
+ </ResizablePanelGroup>
162
+ </div>
163
+ );
164
+
165
+ /** A horizontal group with a vertical sub-group nested inside one panel. */
166
+ export const Nested: StoryFn<ResizablePanelGroupProps> = () => (
167
+ <div className='h-[400px] w-[700px] rounded-8 border border-border-primary'>
168
+ <ResizablePanelGroup orientation='horizontal'>
169
+ <ResizablePanel id='left' defaultSize='40%'>
170
+ <div className='flex h-full items-center justify-center p-24'>
171
+ <span className='text-text-secondary'>Sidebar</span>
172
+ </div>
173
+ </ResizablePanel>
174
+ <ResizableHandle />
175
+ <ResizablePanel id='right' defaultSize='60%'>
176
+ <ResizablePanelGroup orientation='vertical'>
177
+ <ResizablePanel id='top' defaultSize='60%'>
178
+ <div className='flex h-full items-center justify-center p-24'>
179
+ <span className='text-text-secondary'>Editor</span>
180
+ </div>
181
+ </ResizablePanel>
182
+ <ResizableHandle />
183
+ <ResizablePanel id='bottom' defaultSize='40%'>
184
+ <div className='flex h-full items-center justify-center p-24'>
185
+ <span className='text-text-secondary'>Terminal</span>
186
+ </div>
187
+ </ResizablePanel>
188
+ </ResizablePanelGroup>
189
+ </ResizablePanel>
190
+ </ResizablePanelGroup>
191
+ </div>
192
+ );
193
+
194
+ /** A panel that can be collapsed by dragging past its minimum size. Double-click the handle to reset. */
195
+ export const Collapsible: StoryFn<ResizablePanelGroupProps> = () => (
196
+ <div className='h-[320px] w-[600px] rounded-8 border border-border-primary'>
197
+ <ResizablePanelGroup orientation='horizontal'>
198
+ <ResizablePanel id='sidebar' defaultSize='30%' collapsible minSize='15%' collapsedSize='0%'>
199
+ <div className='flex h-full items-center justify-center p-24'>
200
+ <span className='text-text-secondary'>Collapsible</span>
201
+ </div>
202
+ </ResizablePanel>
203
+ <ResizableHandle />
204
+ <ResizablePanel id='content' defaultSize='70%'>
205
+ <div className='flex h-full items-center justify-center p-24'>
206
+ <span className='text-text-secondary'>Content</span>
207
+ </div>
208
+ </ResizablePanel>
209
+ </ResizablePanelGroup>
210
+ </div>
211
+ );
212
+
213
+ /** Panels with minimum and maximum size constraints. */
214
+ export const WithConstraints: StoryFn<ResizablePanelGroupProps> = () => (
215
+ <div className='h-[320px] w-[600px] rounded-8 border border-border-primary'>
216
+ <ResizablePanelGroup orientation='horizontal'>
217
+ <ResizablePanel id='constrained' defaultSize='40%' minSize='20%' maxSize='60%'>
218
+ <div className='flex h-full items-center justify-center p-24'>
219
+ <span className='text-text-secondary'>Min 20% / Max 60%</span>
220
+ </div>
221
+ </ResizablePanel>
222
+ <ResizableHandle />
223
+ <ResizablePanel id='flexible' defaultSize='60%'>
224
+ <div className='flex h-full items-center justify-center p-24'>
225
+ <span className='text-text-secondary'>Flexible</span>
226
+ </div>
227
+ </ResizablePanel>
228
+ </ResizablePanelGroup>
229
+ </div>
230
+ );
231
+
232
+ const OVERFLOW_TAGS = [
233
+ 'api-abuse',
234
+ 'account-takeover',
235
+ 'credential-stuffing',
236
+ 'XSS',
237
+ 'SQL Injection',
238
+ 'CSRF',
239
+ 'scanner',
240
+ 'brute-force',
241
+ 'data-exfiltration',
242
+ ];
243
+
244
+ /** A "Drag to resize" tooltip appears on hover, like the Drawer resize handle. */
245
+ export const WithTooltip: StoryFn<ResizablePanelGroupProps> = () => (
246
+ <div className='h-[320px] w-[600px] rounded-8 border border-border-primary'>
247
+ <ResizablePanelGroup orientation='horizontal'>
248
+ <ResizablePanel id='left' defaultSize='50%'>
249
+ <div className='flex h-full items-center justify-center p-24'>
250
+ <span className='text-text-secondary'>Panel A</span>
251
+ </div>
252
+ </ResizablePanel>
253
+ <Tooltip positioning={{ placement: 'right' }}>
254
+ <TooltipTrigger asChild>
255
+ <ResizableHandle />
256
+ </TooltipTrigger>
257
+ <TooltipContent>Drag to resize</TooltipContent>
258
+ </Tooltip>
259
+ <ResizablePanel id='right' defaultSize='50%'>
260
+ <div className='flex h-full items-center justify-center p-24'>
261
+ <span className='text-text-secondary'>Panel B</span>
262
+ </div>
263
+ </ResizablePanel>
264
+ </ResizablePanelGroup>
265
+ </div>
266
+ );
267
+
268
+ /** Resizing with content that reflows — the tag list adapts live as the panel width changes. Overflow items appear in a popover. */
269
+ export const WithOverflowList: StoryFn<ResizablePanelGroupProps> = () => (
270
+ <div className='h-[320px] w-[600px] rounded-8 border border-border-primary'>
271
+ <ResizablePanelGroup orientation='horizontal'>
272
+ <ResizablePanel id='tags' defaultSize='50%' minSize='20%'>
273
+ <div className='flex h-full items-center p-16'>
274
+ <OverflowList
275
+ className='gap-4'
276
+ items={OVERFLOW_TAGS}
277
+ itemRenderer={item => <Tag key={item}>{item}</Tag>}
278
+ />
279
+ </div>
280
+ </ResizablePanel>
281
+ <ResizableHandle />
282
+ <ResizablePanel id='content' defaultSize='50%'>
283
+ <div className='flex h-full items-center justify-center p-24'>
284
+ <span className='text-text-secondary'>Content</span>
285
+ </div>
286
+ </ResizablePanel>
287
+ </ResizablePanelGroup>
288
+ </div>
289
+ );
290
+ ```
@@ -0,0 +1,2 @@
1
+ <!-- @dsCard group="Layout" height=480 -->
2
+ <!doctype html><html><head><meta charset="utf-8"></head><body><div id="preview"></div><script src="./stories.js"></script><script>window.WallarmPreview.mount(document.getElementById('preview'));</script></body></html>
@@ -0,0 +1,12 @@
1
+ var e={vD(e,t,r){let n,l;/**
2
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
3
+ *
4
+ * This source code is licensed under the MIT license found in the
5
+ * LICENSE file in the root directory of this source tree.
6
+ *
7
+ * @lightSyntaxTransform
8
+ * @noflow
9
+ * @nolint
10
+ * @preventMunge
11
+ * @preserve-invariant-messages
12
+ */var a,i,o=Object.create,c=Object.defineProperty,s=Object.getOwnPropertyDescriptor,d=Object.getOwnPropertyNames,u=Object.getPrototypeOf,f=Object.prototype.hasOwnProperty,m=(e,t,r,n)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let l of d(t))f.call(e,l)||l===r||c(e,l,{get:()=>t[l],enumerable:!(n=s(t,l))||n.enumerable});return e},p={},h={$dispatcherGuard:()=>z,$makeReadOnly:()=>j,$reset:()=>C,$structuralCheck:()=>T,c:()=>w,clearRenderCounterRegistry:()=>M,renderCounterRegistry:()=>O,useRenderCounter:()=>k};for(var y in h)c(p,y,{get:h[y],enumerable:!0});e.exports=m(c({},"__esModule",{value:!0}),p);var b=(l=null!=(n=r("C"))?o(u(n)):{},m(n&&n.__esModule?l:c(l,"default",{value:n,enumerable:!0}),n)),{useRef:S,useEffect:x,isValidElement:_}=b,N=null!=(a=b.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE)?a:b.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,v=Symbol.for("react.memo_cache_sentinel"),w="function"==typeof(null==(i=b.__COMPILER_RUNTIME)?void 0:i.c)?b.__COMPILER_RUNTIME.c:function(e){return b.useMemo(()=>{let t=Array(e);for(let r=0;r<e;r++)t[r]=v;return t[v]=!0,t},[])},g={};["readContext","useCallback","useContext","useEffect","useImperativeHandle","useInsertionEffect","useLayoutEffect","useMemo","useReducer","useRef","useState","useDebugValue","useDeferredValue","useTransition","useMutableSource","useSyncExternalStore","useId","unstable_isNewReconciler","getCacheSignal","getCacheForType","useCacheRefresh"].forEach(e=>{g[e]=()=>{throw Error(`[React] Unexpected React hook call (${e}) from a React compiled function. Check that all hooks are called directly and named according to convention ('use[A-Z]') `)}});var R=null;function E(e){return N.ReactCurrentDispatcher.current=e,N.ReactCurrentDispatcher.current}g.useMemoCache=e=>{if(null!=R)return R.useMemoCache(e);throw Error("React Compiler internal invariant violation: unexpected null dispatcher")};var $=[];function z(e){let t=N.ReactCurrentDispatcher.current;if(0===e){if($.push(t),1===$.length&&(R=t),t===g)throw Error("[React] Unexpected call to custom hook or component from a React compiled function. Check that (1) all hooks are called directly and named according to convention ('use[A-Z]') and (2) components are returned as JSX instead of being directly invoked.");E(g)}else if(1===e){let e=$.pop();if(null==e)throw Error("React Compiler internal error: unexpected null in guard stack");0===$.length&&(R=null),E(e)}else if(2===e)$.push(t),E(R);else if(3===e){let e=$.pop();if(null==e)throw Error("React Compiler internal error: unexpected null in guard stack");E(e)}else throw Error("React Compiler internal error: unreachable block"+e)}function C(e){for(let t=0;t<e.length;t++)e[t]=v}function j(){throw Error("TODO: implement $makeReadOnly in react-compiler-runtime")}var O=new Map;function M(){for(let e of O.values())e.forEach(e=>{e.count=0})}function k(e){let t=S(null);null!=t.current&&(t.current.count+=1),x(()=>{if(null==t.current){let r,n={count:0};null==(r=O.get(e))&&(r=new Set,O.set(e,r)),r.add(n),t.current=n}return()=>{var r;let n;null!==t.current&&(r=t.current,null!=(n=O.get(e))&&n.delete(r))}})}var D=new Set;function T(e,t,r,n,l,a){function i(e,t,i,o){let c=`${n}:${a} [${l}] ${r}${i} changed from ${e} to ${t} at depth ${o}`;D.has(c)||(D.add(c),console.error(c))}!function e(t,r,n,l){if(!(l>2)){if(t!==r)if(typeof t!=typeof r)i(`type ${typeof t}`,`type ${typeof r}`,n,l);else if("object"==typeof t){let a=Array.isArray(t),o=Array.isArray(r);if(null===t&&null!==r)i("null",`type ${typeof r}`,n,l);else if(null===r)i(`type ${typeof t}`,"null",n,l);else if(t instanceof Map)if(r instanceof Map)if(t.size!==r.size)i(`Map instance with size ${t.size}`,`Map instance with size ${r.size}`,n,l);else for(let[a,o]of t)r.has(a)?e(o,r.get(a),`${n}.get(${a})`,l+1):i(`Map instance with key ${a}`,`Map instance without key ${a}`,n,l);else i("Map instance","other value",n,l);else if(r instanceof Map)i("other value","Map instance",n,l);else if(t instanceof Set)if(r instanceof Set)if(t.size!==r.size)i(`Set instance with size ${t.size}`,`Set instance with size ${r.size}`,n,l);else for(let e of r)t.has(e)||i(`Set instance without element ${e}`,`Set instance with element ${e}`,n,l);else i("Set instance","other value",n,l);else if(r instanceof Set)i("other value","Set instance",n,l);else if(a||o)if(a!==o)i(`type ${a?"array":"object"}`,`type ${o?"array":"object"}`,n,l);else if(t.length!==r.length)i(`array with length ${t.length}`,`array with length ${r.length}`,n,l);else for(let a=0;a<t.length;a++)e(t[a],r[a],`${n}[${a}]`,l+1);else if(_(t)||_(r))_(t)!==_(r)?i(`type ${_(t)?"React element":"object"}`,`type ${_(r)?"React element":"object"}`,n,l):t.type!==r.type?i(`React element of type ${t.type}`,`React element of type ${r.type}`,n,l):e(t.props,r.props,`[props of ${n}]`,l+1);else{for(let e in r)e in t||i(`object without key ${e}`,`object with key ${e}`,n,l);for(let a in t)a in r?e(t[a],r[a],`${n}.${a}`,l+1):i(`object with key ${a}`,`object without key ${a}`,n,l)}}else{if("function"==typeof t)return;isNaN(t)||isNaN(r)?isNaN(t)!==isNaN(r)&&i(`${isNaN(t)?"NaN":"non-NaN value"}`,`${isNaN(r)?"NaN":"non-NaN value"}`,n,l):t!==r&&i(t,r,n,l)}}}(e,t,"",0)}},p(e,t,r){let n=new WeakMap,l=new WeakMap;function a(e,t,r){let a=t,i=r;if("object"==typeof a&&null!==a&&"$$typeof"in a&&a.$$typeof===Symbol.for("react.context")&&"Provider"in a&&(a=a.Provider),"function"==typeof a&&null!=i.ref&&!a.prototype?.isReactComponent){let t=a,r=n.get(e);r||(r=new WeakMap,n.set(e,r));let l=r.get(t);l||((l=e.forwardRef((e,r)=>t({...e,ref:r}))).displayName=t.displayName??t.name,r.set(t,l)),a=l}if("string"==typeof a&&"boolean"==typeof i.inert&&((i={...i}).inert?i.inert="":delete i.inert),"string"==typeof a)for(let[e,t]of[["fill-rule","fillRule"],["clip-rule","clipRule"]])e in i&&(i={...i,[t]:i[e]},delete i[e]);return"string"==typeof a&&null!=i.ref&&(a=function(e,t){let r=l.get(e);r||(r=new Map,l.set(e,r));let n=r.get(t);if(n)return n;let a=e.forwardRef((r,n)=>{let l=e.useRef(null);if(!l.current||l.current.original!==n){let e;l.current={original:n,callback:t=>{if(null==t&&e){let t=e;e=void 0,t();return}if("function"==typeof n){let r=n(t);e="function"==typeof r?r:void 0}else n&&(n.current=t)}}}return e.createElement(t,{...r,ref:l.current.callback})});return a.displayName=`CanvasHost(${t})`,r.set(t,a),a}(e,a)),{type:a,props:i}}function i(e){let t=(t,r,n)=>{let l=a(e,t,r??{});return e.createElement(l.type,void 0===n?l.props:{...l.props,key:n})};return{jsx:t,jsxs:(t,r,n)=>{let l=a(e,t,r??{}),{children:i,...o}=l.props;return e.createElement(l.type,void 0===n?o:{...o,key:n},...Array.isArray(i)?i:[i])},jsxDEV:t,Fragment:e.Fragment}}function o(e){return{...e,createElement:(t,r,...n)=>{let l=a(e,t,r??{});return e.createElement(l.type,l.props,...n)},cloneElement:(t,r,...n)=>{let l=e.cloneElement(t,r??void 0,...n),i=l.ref,o=a(e,l.type,{...l.props,ref:i});return o.type===l.type&&"string"!=typeof l.type?l:e.createElement(o.type,{...o.props,key:l.key})}}}r.d(t,{MA:()=>i,YJ:()=>o})},C(e,t,r){r.r(t);let n=(0,r("p").YJ)(window.React),{Children:l,Component:a,Fragment:i,Profiler:o,PureComponent:c,StrictMode:s,Suspense:d,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:u,act:f,cloneElement:m,createContext:p,createElement:h,createFactory:y,createRef:b,forwardRef:S,isValidElement:x,lazy:_,memo:N,startTransition:v,unstable_act:w,useCallback:g,useContext:R,useDebugValue:E,useDeferredValue:$,useEffect:z,useId:C,useImperativeHandle:j,useInsertionEffect:O,useLayoutEffect:M,useMemo:k,useReducer:D,useRef:T,useState:P,useSyncExternalStore:A,useTransition:I,version:W,use:L}=n;r.d(t,{},{Children:l,Component:a,Fragment:i,Profiler:o,PureComponent:c,StrictMode:s,Suspense:d,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:u,act:f,cloneElement:m,createContext:p,createElement:h,createFactory:y,createRef:b,default:n,forwardRef:S,isValidElement:x,lazy:_,memo:N,startTransition:v,unstable_act:w,use:L,useCallback:g,useContext:R,useDebugValue:E,useDeferredValue:$,useEffect:z,useId:C,useImperativeHandle:j,useInsertionEffect:O,useLayoutEffect:M,useMemo:k,useReducer:D,useRef:T,useState:P,useSyncExternalStore:A,useTransition:I,version:W})}},t={};function r(n){var l=t[n];if(void 0!==l)return l.exports;var a=t[n]={exports:{}};return e[n](a,a.exports,r),a.exports}r.d=(e,t,n)=>{var l=(t,n)=>{for(var l in t)r.o(t,l)&&!r.o(e,l)&&Object.defineProperty(e,l,{enumerable:!0,[n]:t[l]})};l(t,"get"),l(n,"value")},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"u">typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{let{jsx:e,jsxs:t,jsxDEV:n,Fragment:l}=(0,r("p").MA)(window.React);var a=r("vD");let i=window.WallarmDS.OverflowList,o=window.WallarmDS.Tag,c=window.WallarmDS.Tooltip,s=window.WallarmDS.TooltipContent,d=window.WallarmDS.TooltipTrigger,u=window.WallarmDS.ResizableHandle,f=window.WallarmDS.ResizablePanel,m=window.WallarmDS.ResizablePanelGroup,p={title:"Layout/Resizable",component:m,subcomponents:{ResizablePanel:f,ResizableHandle:u},parameters:{layout:"centered",docs:{description:{component:"A layout primitive that splits a view into resizable panels separated by draggable handles. Wraps `react-resizable-panels` with design-system styling."}}}},h=["api-abuse","account-takeover","credential-stuffing","XSS","SQL Injection","CSRF","scanner","brute-force","data-exfiltration"];function y(t){return e(o,{children:t},t)}var b=r("C");let S=[{name:"Horizontal",story:()=>{let r,n,l,i=(0,a.c)(3);return i[0]===Symbol.for("react.memo_cache_sentinel")?(r=e(f,{id:"left",defaultSize:"50%",children:e("div",{className:"flex h-full items-center justify-center p-24",children:e("span",{className:"text-text-secondary",children:"Panel A"})})}),n=e(u,{}),i[0]=r,i[1]=n):(r=i[0],n=i[1]),i[2]===Symbol.for("react.memo_cache_sentinel")?(l=e("div",{className:"h-[320px] w-[600px] rounded-8 border border-border-primary",children:t(m,{orientation:"horizontal",children:[r,n,e(f,{id:"right",defaultSize:"50%",children:e("div",{className:"flex h-full items-center justify-center p-24",children:e("span",{className:"text-text-secondary",children:"Panel B"})})})]})}),i[2]=l):l=i[2],l},meta:p},{name:"Vertical",story:()=>{let r,n,l,i=(0,a.c)(3);return i[0]===Symbol.for("react.memo_cache_sentinel")?(r=e(f,{id:"top",defaultSize:"50%",children:e("div",{className:"flex h-full items-center justify-center p-24",children:e("span",{className:"text-text-secondary",children:"Top"})})}),n=e(u,{}),i[0]=r,i[1]=n):(r=i[0],n=i[1]),i[2]===Symbol.for("react.memo_cache_sentinel")?(l=e("div",{className:"h-[400px] w-[400px] rounded-8 border border-border-primary",children:t(m,{orientation:"vertical",children:[r,n,e(f,{id:"bottom",defaultSize:"50%",children:e("div",{className:"flex h-full items-center justify-center p-24",children:e("span",{className:"text-text-secondary",children:"Bottom"})})})]})}),i[2]=l):l=i[2],l},meta:p},{name:"ThreePanels",story:()=>{let r,n,l,i,o,c=(0,a.c)(5);return c[0]===Symbol.for("react.memo_cache_sentinel")?(r=e(f,{id:"left",defaultSize:"25%",children:e("div",{className:"flex h-full items-center justify-center p-24",children:e("span",{className:"text-text-secondary",children:"Sidebar"})})}),n=e(u,{}),c[0]=r,c[1]=n):(r=c[0],n=c[1]),c[2]===Symbol.for("react.memo_cache_sentinel")?(l=e(f,{id:"center",defaultSize:"50%",children:e("div",{className:"flex h-full items-center justify-center p-24",children:e("span",{className:"text-text-secondary",children:"Content"})})}),i=e(u,{}),c[2]=l,c[3]=i):(l=c[2],i=c[3]),c[4]===Symbol.for("react.memo_cache_sentinel")?(o=e("div",{className:"h-[320px] w-[800px] rounded-8 border border-border-primary",children:t(m,{orientation:"horizontal",children:[r,n,l,i,e(f,{id:"right",defaultSize:"25%",children:e("div",{className:"flex h-full items-center justify-center p-24",children:e("span",{className:"text-text-secondary",children:"Inspector"})})})]})}),c[4]=o):o=c[4],o},meta:p},{name:"Nested",story:()=>{let r,n,l,i,o,c=(0,a.c)(5);return c[0]===Symbol.for("react.memo_cache_sentinel")?(r=e(f,{id:"left",defaultSize:"40%",children:e("div",{className:"flex h-full items-center justify-center p-24",children:e("span",{className:"text-text-secondary",children:"Sidebar"})})}),n=e(u,{}),c[0]=r,c[1]=n):(r=c[0],n=c[1]),c[2]===Symbol.for("react.memo_cache_sentinel")?(l=e(f,{id:"top",defaultSize:"60%",children:e("div",{className:"flex h-full items-center justify-center p-24",children:e("span",{className:"text-text-secondary",children:"Editor"})})}),i=e(u,{}),c[2]=l,c[3]=i):(l=c[2],i=c[3]),c[4]===Symbol.for("react.memo_cache_sentinel")?(o=e("div",{className:"h-[400px] w-[700px] rounded-8 border border-border-primary",children:t(m,{orientation:"horizontal",children:[r,n,e(f,{id:"right",defaultSize:"60%",children:t(m,{orientation:"vertical",children:[l,i,e(f,{id:"bottom",defaultSize:"40%",children:e("div",{className:"flex h-full items-center justify-center p-24",children:e("span",{className:"text-text-secondary",children:"Terminal"})})})]})})]})}),c[4]=o):o=c[4],o},meta:p},{name:"Collapsible",story:()=>{let r,n,l,i=(0,a.c)(3);return i[0]===Symbol.for("react.memo_cache_sentinel")?(r=e(f,{id:"sidebar",defaultSize:"30%",collapsible:!0,minSize:"15%",collapsedSize:"0%",children:e("div",{className:"flex h-full items-center justify-center p-24",children:e("span",{className:"text-text-secondary",children:"Collapsible"})})}),n=e(u,{}),i[0]=r,i[1]=n):(r=i[0],n=i[1]),i[2]===Symbol.for("react.memo_cache_sentinel")?(l=e("div",{className:"h-[320px] w-[600px] rounded-8 border border-border-primary",children:t(m,{orientation:"horizontal",children:[r,n,e(f,{id:"content",defaultSize:"70%",children:e("div",{className:"flex h-full items-center justify-center p-24",children:e("span",{className:"text-text-secondary",children:"Content"})})})]})}),i[2]=l):l=i[2],l},meta:p},{name:"WithConstraints",story:()=>{let r,n,l,i=(0,a.c)(3);return i[0]===Symbol.for("react.memo_cache_sentinel")?(r=e(f,{id:"constrained",defaultSize:"40%",minSize:"20%",maxSize:"60%",children:e("div",{className:"flex h-full items-center justify-center p-24",children:e("span",{className:"text-text-secondary",children:"Min 20% / Max 60%"})})}),n=e(u,{}),i[0]=r,i[1]=n):(r=i[0],n=i[1]),i[2]===Symbol.for("react.memo_cache_sentinel")?(l=e("div",{className:"h-[320px] w-[600px] rounded-8 border border-border-primary",children:t(m,{orientation:"horizontal",children:[r,n,e(f,{id:"flexible",defaultSize:"60%",children:e("div",{className:"flex h-full items-center justify-center p-24",children:e("span",{className:"text-text-secondary",children:"Flexible"})})})]})}),i[2]=l):l=i[2],l},meta:p},{name:"WithTooltip",story:()=>{let r,n,l,i,o=(0,a.c)(4);return o[0]===Symbol.for("react.memo_cache_sentinel")?(r=e(f,{id:"left",defaultSize:"50%",children:e("div",{className:"flex h-full items-center justify-center p-24",children:e("span",{className:"text-text-secondary",children:"Panel A"})})}),o[0]=r):r=o[0],o[1]===Symbol.for("react.memo_cache_sentinel")?(n={placement:"right"},o[1]=n):n=o[1],o[2]===Symbol.for("react.memo_cache_sentinel")?(l=t(c,{positioning:n,children:[e(d,{asChild:!0,children:e(u,{})}),e(s,{children:"Drag to resize"})]}),o[2]=l):l=o[2],o[3]===Symbol.for("react.memo_cache_sentinel")?(i=e("div",{className:"h-[320px] w-[600px] rounded-8 border border-border-primary",children:t(m,{orientation:"horizontal",children:[r,l,e(f,{id:"right",defaultSize:"50%",children:e("div",{className:"flex h-full items-center justify-center p-24",children:e("span",{className:"text-text-secondary",children:"Panel B"})})})]})}),o[3]=i):i=o[3],i},meta:p},{name:"WithOverflowList",story:()=>{let r,n,l,o=(0,a.c)(3);return o[0]===Symbol.for("react.memo_cache_sentinel")?(r=e(f,{id:"tags",defaultSize:"50%",minSize:"20%",children:e("div",{className:"flex h-full items-center p-16",children:e(i,{className:"gap-4",items:h,itemRenderer:y})})}),n=e(u,{}),o[0]=r,o[1]=n):(r=o[0],n=o[1]),o[2]===Symbol.for("react.memo_cache_sentinel")?(l=e("div",{className:"h-[320px] w-[600px] rounded-8 border border-border-primary",children:t(m,{orientation:"horizontal",children:[r,n,e(f,{id:"content",defaultSize:"50%",children:e("div",{className:"flex h-full items-center justify-center p-24",children:e("span",{className:"text-text-secondary",children:"Content"})})})]})}),o[2]=l):l=o[2],l},meta:p}];function x({entry:e}){let{story:t,meta:r}=e,n={...r.args,...t.args},l="function"==typeof t||t.$$typeof?t:t.render||r.render||r.component,a=()=>b.default.createElement(l,n),i={args:n,globals:{theme:"light"},parameters:{...r.parameters,...t.parameters},viewMode:"story"};for(let e of[...r.decorators||[],...t.decorators||[]].reverse()){let t=a;a=()=>e(t,i)}return b.default.createElement("section",{"data-preview-story":e.name,className:"p-16"},b.default.createElement("h2",{className:"text-sm mb-12"},e.name),b.default.createElement(a))}window.WallarmPreview={mount(e){let t=window.ReactDOM.createRoot(e);return t.render(b.default.createElement(window.WallarmDS.Root,null,S.map((e,t)=>b.default.createElement(x,{key:t,entry:e})))),t}}})();