sparkecoder 0.1.51 → 0.1.53

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 (149) hide show
  1. package/dist/agent/index.d.ts +2 -2
  2. package/dist/{index-BYOHniN4.d.ts → index-dJv_dqUq.d.ts} +5 -5
  3. package/dist/index.d.ts +3 -3
  4. package/dist/{search-DALwmPRX.d.ts → search-DrztQ_iP.d.ts} +5 -5
  5. package/dist/tools/index.d.ts +2 -2
  6. package/package.json +1 -1
  7. package/web/.next/BUILD_ID +1 -1
  8. package/web/.next/standalone/web/.next/BUILD_ID +1 -1
  9. package/web/.next/standalone/web/.next/build-manifest.json +2 -2
  10. package/web/.next/standalone/web/.next/prerender-manifest.json +3 -3
  11. package/web/.next/standalone/web/.next/server/app/(main)/page.js.nft.json +1 -1
  12. package/web/.next/standalone/web/.next/server/app/(main)/page_client-reference-manifest.js +1 -1
  13. package/web/.next/standalone/web/.next/server/app/(main)/session/[id]/page.js.nft.json +1 -1
  14. package/web/.next/standalone/web/.next/server/app/(main)/session/[id]/page_client-reference-manifest.js +1 -1
  15. package/web/.next/standalone/web/.next/server/app/_global-error.html +2 -2
  16. package/web/.next/standalone/web/.next/server/app/_global-error.rsc +1 -1
  17. package/web/.next/standalone/web/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
  18. package/web/.next/standalone/web/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
  19. package/web/.next/standalone/web/.next/server/app/_global-error.segments/_head.segment.rsc +1 -1
  20. package/web/.next/standalone/web/.next/server/app/_global-error.segments/_index.segment.rsc +1 -1
  21. package/web/.next/standalone/web/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  22. package/web/.next/standalone/web/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
  23. package/web/.next/standalone/web/.next/server/app/_not-found.html +1 -1
  24. package/web/.next/standalone/web/.next/server/app/_not-found.rsc +2 -2
  25. package/web/.next/standalone/web/.next/server/app/_not-found.segments/_full.segment.rsc +2 -2
  26. package/web/.next/standalone/web/.next/server/app/_not-found.segments/_head.segment.rsc +1 -1
  27. package/web/.next/standalone/web/.next/server/app/_not-found.segments/_index.segment.rsc +2 -2
  28. package/web/.next/standalone/web/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
  29. package/web/.next/standalone/web/.next/server/app/_not-found.segments/_not-found.segment.rsc +1 -1
  30. package/web/.next/standalone/web/.next/server/app/_not-found.segments/_tree.segment.rsc +2 -2
  31. package/web/.next/standalone/web/.next/server/app/api/config/route.js.nft.json +1 -1
  32. package/web/.next/standalone/web/.next/server/app/api/health/route.js.nft.json +1 -1
  33. package/web/.next/standalone/web/.next/server/app/docs/installation/page_client-reference-manifest.js +1 -1
  34. package/web/.next/standalone/web/.next/server/app/docs/installation.html +2 -2
  35. package/web/.next/standalone/web/.next/server/app/docs/installation.rsc +2 -2
  36. package/web/.next/standalone/web/.next/server/app/docs/installation.segments/_full.segment.rsc +2 -2
  37. package/web/.next/standalone/web/.next/server/app/docs/installation.segments/_head.segment.rsc +1 -1
  38. package/web/.next/standalone/web/.next/server/app/docs/installation.segments/_index.segment.rsc +2 -2
  39. package/web/.next/standalone/web/.next/server/app/docs/installation.segments/_tree.segment.rsc +2 -2
  40. package/web/.next/standalone/web/.next/server/app/docs/installation.segments/docs/installation/__PAGE__.segment.rsc +1 -1
  41. package/web/.next/standalone/web/.next/server/app/docs/installation.segments/docs/installation.segment.rsc +1 -1
  42. package/web/.next/standalone/web/.next/server/app/docs/installation.segments/docs.segment.rsc +1 -1
  43. package/web/.next/standalone/web/.next/server/app/docs/page_client-reference-manifest.js +1 -1
  44. package/web/.next/standalone/web/.next/server/app/docs/skills/page_client-reference-manifest.js +1 -1
  45. package/web/.next/standalone/web/.next/server/app/docs/skills.html +2 -2
  46. package/web/.next/standalone/web/.next/server/app/docs/skills.rsc +2 -2
  47. package/web/.next/standalone/web/.next/server/app/docs/skills.segments/_full.segment.rsc +2 -2
  48. package/web/.next/standalone/web/.next/server/app/docs/skills.segments/_head.segment.rsc +1 -1
  49. package/web/.next/standalone/web/.next/server/app/docs/skills.segments/_index.segment.rsc +2 -2
  50. package/web/.next/standalone/web/.next/server/app/docs/skills.segments/_tree.segment.rsc +2 -2
  51. package/web/.next/standalone/web/.next/server/app/docs/skills.segments/docs/skills/__PAGE__.segment.rsc +1 -1
  52. package/web/.next/standalone/web/.next/server/app/docs/skills.segments/docs/skills.segment.rsc +1 -1
  53. package/web/.next/standalone/web/.next/server/app/docs/skills.segments/docs.segment.rsc +1 -1
  54. package/web/.next/standalone/web/.next/server/app/docs/tools/page_client-reference-manifest.js +1 -1
  55. package/web/.next/standalone/web/.next/server/app/docs/tools.html +2 -2
  56. package/web/.next/standalone/web/.next/server/app/docs/tools.rsc +2 -2
  57. package/web/.next/standalone/web/.next/server/app/docs/tools.segments/_full.segment.rsc +2 -2
  58. package/web/.next/standalone/web/.next/server/app/docs/tools.segments/_head.segment.rsc +1 -1
  59. package/web/.next/standalone/web/.next/server/app/docs/tools.segments/_index.segment.rsc +2 -2
  60. package/web/.next/standalone/web/.next/server/app/docs/tools.segments/_tree.segment.rsc +2 -2
  61. package/web/.next/standalone/web/.next/server/app/docs/tools.segments/docs/tools/__PAGE__.segment.rsc +1 -1
  62. package/web/.next/standalone/web/.next/server/app/docs/tools.segments/docs/tools.segment.rsc +1 -1
  63. package/web/.next/standalone/web/.next/server/app/docs/tools.segments/docs.segment.rsc +1 -1
  64. package/web/.next/standalone/web/.next/server/app/docs.html +2 -2
  65. package/web/.next/standalone/web/.next/server/app/docs.rsc +2 -2
  66. package/web/.next/standalone/web/.next/server/app/docs.segments/_full.segment.rsc +2 -2
  67. package/web/.next/standalone/web/.next/server/app/docs.segments/_head.segment.rsc +1 -1
  68. package/web/.next/standalone/web/.next/server/app/docs.segments/_index.segment.rsc +2 -2
  69. package/web/.next/standalone/web/.next/server/app/docs.segments/_tree.segment.rsc +2 -2
  70. package/web/.next/standalone/web/.next/server/app/docs.segments/docs/__PAGE__.segment.rsc +1 -1
  71. package/web/.next/standalone/web/.next/server/app/docs.segments/docs.segment.rsc +1 -1
  72. package/web/.next/standalone/web/.next/server/app/embed/[id]/page.js.nft.json +1 -1
  73. package/web/.next/standalone/web/.next/server/app/embed/[id]/page_client-reference-manifest.js +1 -1
  74. package/web/.next/standalone/web/.next/server/app/index.html +1 -1
  75. package/web/.next/standalone/web/.next/server/app/index.rsc +4 -4
  76. package/web/.next/standalone/web/.next/server/app/index.segments/!KG1haW4p/__PAGE__.segment.rsc +2 -2
  77. package/web/.next/standalone/web/.next/server/app/index.segments/!KG1haW4p.segment.rsc +2 -2
  78. package/web/.next/standalone/web/.next/server/app/index.segments/_full.segment.rsc +4 -4
  79. package/web/.next/standalone/web/.next/server/app/index.segments/_head.segment.rsc +1 -1
  80. package/web/.next/standalone/web/.next/server/app/index.segments/_index.segment.rsc +2 -2
  81. package/web/.next/standalone/web/.next/server/app/index.segments/_tree.segment.rsc +2 -2
  82. package/web/.next/standalone/web/.next/server/chunks/ssr/{2374f_40c1da73._.js → 2374f_06a5ea48._.js} +1 -1
  83. package/web/.next/standalone/web/.next/server/chunks/ssr/{2374f_ec658806._.js → 2374f_2572135b._.js} +1 -1
  84. package/web/.next/standalone/web/.next/server/chunks/ssr/{2374f_c8f8a326._.js → 2374f_273991ba._.js} +1 -1
  85. package/web/.next/standalone/web/.next/server/chunks/ssr/{2374f_13da7b2a._.js → 2374f_460c0d78._.js} +1 -1
  86. package/web/.next/standalone/web/.next/server/chunks/ssr/{2374f_1de2f628._.js → 2374f_5ee28d4c._.js} +1 -1
  87. package/web/.next/standalone/web/.next/server/chunks/ssr/{2374f_9f2fae06._.js → 2374f_65b86b54._.js} +1 -1
  88. package/web/.next/standalone/web/.next/server/chunks/ssr/{2374f_f3c65774._.js → 2374f_7b421f78._.js} +1 -1
  89. package/web/.next/standalone/web/.next/server/chunks/ssr/{2374f_41d07cce._.js → 2374f_88cbeb7b._.js} +1 -1
  90. package/web/.next/standalone/web/.next/server/chunks/ssr/{2374f_2bfcd3a2._.js → 2374f_8d018190._.js} +1 -1
  91. package/web/.next/standalone/web/.next/server/chunks/ssr/{2374f_e5142825._.js → 2374f_a7457131._.js} +1 -1
  92. package/web/.next/standalone/web/.next/server/chunks/ssr/{2374f_dd21a4e9._.js → 2374f_c9e3cd7b._.js} +1 -1
  93. package/web/.next/standalone/web/.next/server/chunks/ssr/{2374f_88aa1671._.js → 2374f_de035f79._.js} +1 -1
  94. package/web/.next/standalone/web/.next/server/chunks/ssr/{2374f_ac79ddf4._.js → 2374f_df3c414e._.js} +1 -1
  95. package/web/.next/standalone/web/.next/server/chunks/ssr/{2374f_6d8e5e94._.js → 2374f_ec997752._.js} +1 -1
  96. package/web/.next/standalone/web/.next/server/chunks/ssr/[root-of-the-server]__a87e1c27._.js +3 -3
  97. package/web/.next/standalone/web/.next/server/chunks/ssr/{[root-of-the-server]__43405ad6._.js → [root-of-the-server]__c94aac98._.js} +2 -2
  98. package/web/.next/standalone/web/.next/server/chunks/ssr/{web_273500a6._.js → web_9c9f0e3b._.js} +2 -2
  99. package/web/.next/standalone/web/.next/server/chunks/ssr/{web_329773d1._.js → web_b85931da._.js} +2 -2
  100. package/web/.next/standalone/web/.next/server/chunks/ssr/{web_8305f089._.js → web_d08270f7._.js} +2 -2
  101. package/web/.next/standalone/web/.next/server/chunks/ssr/web_src_components_sessions-sidebar_tsx_92510070._.js +1 -1
  102. package/web/.next/standalone/web/.next/server/pages/404.html +1 -1
  103. package/web/.next/standalone/web/.next/server/pages/500.html +2 -2
  104. package/web/.next/standalone/web/.next/server/server-reference-manifest.js +1 -1
  105. package/web/.next/standalone/web/.next/server/server-reference-manifest.json +1 -1
  106. package/web/.next/standalone/web/.next/static/chunks/{c25d80326ea739f3.js → 1685d98ff8751ba3.js} +3 -3
  107. package/web/.next/standalone/web/.next/static/chunks/3f295b6960943c38.js +1 -0
  108. package/web/.next/standalone/web/.next/static/chunks/7228b2394d1fb347.css +1 -0
  109. package/web/.next/standalone/web/.next/static/chunks/a2b4737b190d1b54.js +5 -0
  110. package/web/.next/standalone/web/.next/static/{static/chunks/b7d722dab2a7ecc0.js → chunks/e97212fcc8221479.js} +2 -2
  111. package/web/.next/standalone/web/.next/static/chunks/f6e47c8a9766ce91.js +7 -0
  112. package/web/.next/standalone/web/.next/static/static/chunks/{c25d80326ea739f3.js → 1685d98ff8751ba3.js} +3 -3
  113. package/web/.next/standalone/web/.next/static/static/chunks/3f295b6960943c38.js +1 -0
  114. package/web/.next/standalone/web/.next/static/static/chunks/7228b2394d1fb347.css +1 -0
  115. package/web/.next/standalone/web/.next/static/static/chunks/a2b4737b190d1b54.js +5 -0
  116. package/web/.next/{static/chunks/b7d722dab2a7ecc0.js → standalone/web/.next/static/static/chunks/e97212fcc8221479.js} +2 -2
  117. package/web/.next/standalone/web/.next/static/static/chunks/f6e47c8a9766ce91.js +7 -0
  118. package/web/.next/standalone/web/src/components/ai-elements/search-tool.tsx +26 -3
  119. package/web/.next/standalone/web/src/components/ai-elements/subagent-modal.tsx +13 -1
  120. package/web/.next/standalone/web/src/components/chat-interface.tsx +98 -62
  121. package/web/.next/standalone/web/src/components/sessions-sidebar.tsx +23 -1
  122. package/web/.next/standalone/web/src/hooks/use-notification-sound.ts +78 -0
  123. package/web/.next/static/chunks/{c25d80326ea739f3.js → 1685d98ff8751ba3.js} +3 -3
  124. package/web/.next/static/chunks/3f295b6960943c38.js +1 -0
  125. package/web/.next/static/chunks/7228b2394d1fb347.css +1 -0
  126. package/web/.next/static/chunks/a2b4737b190d1b54.js +5 -0
  127. package/web/.next/{standalone/web/.next/static/chunks/b7d722dab2a7ecc0.js → static/chunks/e97212fcc8221479.js} +2 -2
  128. package/web/.next/static/chunks/f6e47c8a9766ce91.js +7 -0
  129. package/web/.next/standalone/web/.next/static/chunks/96ec96279ada0efe.js +0 -1
  130. package/web/.next/standalone/web/.next/static/chunks/cc6d43f798bbe415.js +0 -5
  131. package/web/.next/standalone/web/.next/static/chunks/de300ff10b63be85.css +0 -1
  132. package/web/.next/standalone/web/.next/static/chunks/de71e63276f488bb.js +0 -7
  133. package/web/.next/standalone/web/.next/static/static/chunks/96ec96279ada0efe.js +0 -1
  134. package/web/.next/standalone/web/.next/static/static/chunks/cc6d43f798bbe415.js +0 -5
  135. package/web/.next/standalone/web/.next/static/static/chunks/de300ff10b63be85.css +0 -1
  136. package/web/.next/standalone/web/.next/static/static/chunks/de71e63276f488bb.js +0 -7
  137. package/web/.next/static/chunks/96ec96279ada0efe.js +0 -1
  138. package/web/.next/static/chunks/cc6d43f798bbe415.js +0 -5
  139. package/web/.next/static/chunks/de300ff10b63be85.css +0 -1
  140. package/web/.next/static/chunks/de71e63276f488bb.js +0 -7
  141. /package/web/.next/standalone/web/.next/static/{PL5DsSghvjeqtWcOBQ9Qh → OpS0l4dUAiyM_f_IQW4mJ}/_buildManifest.js +0 -0
  142. /package/web/.next/standalone/web/.next/static/{PL5DsSghvjeqtWcOBQ9Qh → OpS0l4dUAiyM_f_IQW4mJ}/_clientMiddlewareManifest.json +0 -0
  143. /package/web/.next/standalone/web/.next/static/{PL5DsSghvjeqtWcOBQ9Qh → OpS0l4dUAiyM_f_IQW4mJ}/_ssgManifest.js +0 -0
  144. /package/web/.next/standalone/web/.next/static/static/{PL5DsSghvjeqtWcOBQ9Qh → OpS0l4dUAiyM_f_IQW4mJ}/_buildManifest.js +0 -0
  145. /package/web/.next/standalone/web/.next/static/static/{PL5DsSghvjeqtWcOBQ9Qh → OpS0l4dUAiyM_f_IQW4mJ}/_clientMiddlewareManifest.json +0 -0
  146. /package/web/.next/standalone/web/.next/static/static/{PL5DsSghvjeqtWcOBQ9Qh → OpS0l4dUAiyM_f_IQW4mJ}/_ssgManifest.js +0 -0
  147. /package/web/.next/static/{PL5DsSghvjeqtWcOBQ9Qh → OpS0l4dUAiyM_f_IQW4mJ}/_buildManifest.js +0 -0
  148. /package/web/.next/static/{PL5DsSghvjeqtWcOBQ9Qh → OpS0l4dUAiyM_f_IQW4mJ}/_clientMiddlewareManifest.json +0 -0
  149. /package/web/.next/static/{PL5DsSghvjeqtWcOBQ9Qh → OpS0l4dUAiyM_f_IQW4mJ}/_ssgManifest.js +0 -0
@@ -2,6 +2,6 @@ module.exports=[850960,a=>{"use strict";var b=a.i(755132);a.i(919933);var c=a.i(
2
2
 
3
3
  If you want to hide the \`${b.titleName}\`, you can wrap it with our VisuallyHidden component.
4
4
 
5
- For more information, see https://radix-ui.com/primitives/docs/components/${b.docsSlug}`;return e.useEffect(()=>{a&&(document.getElementById(a)||console.error(c))},[c,a]),null},_=({contentRef:a,descriptionId:b})=>{let c=Z("DialogDescriptionWarning"),d=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${c.contentName}}.`;return e.useEffect(()=>{let c=a.current?.getAttribute("aria-describedby");b&&c&&(document.getElementById(b)||console.warn(d))},[d,a,b]),null};a.s(["Close",()=>V,"Content",()=>M,"Description",()=>T,"Overlay",()=>I,"Portal",()=>G,"Root",()=>A,"Title",()=>R,"Trigger",()=>C],227709)},806634,a=>{"use strict";var b=a.i(256856),c=a.i(227709),d=a.i(561966),e=a.i(156033);function f({...a}){return(0,b.jsx)(c.Root,{"data-slot":"dialog",...a})}function g({...a}){return(0,b.jsx)(c.Trigger,{"data-slot":"dialog-trigger",...a})}function h({...a}){return(0,b.jsx)(c.Portal,{"data-slot":"dialog-portal",...a})}function i({className:a,...d}){return(0,b.jsx)(c.Overlay,{"data-slot":"dialog-overlay",className:(0,e.cn)("data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/50",a),...d})}function j({className:a,children:f,showCloseButton:g=!0,...j}){return(0,b.jsxs)(h,{"data-slot":"dialog-portal",children:[(0,b.jsx)(i,{}),(0,b.jsxs)(c.Content,{"data-slot":"dialog-content",className:(0,e.cn)("bg-background data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 fixed top-[50%] left-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 rounded-lg border p-6 shadow-lg duration-200 outline-none sm:max-w-lg",a),...j,children:[f,g&&(0,b.jsxs)(c.Close,{"data-slot":"dialog-close",className:"ring-offset-background focus:ring-ring data-[state=open]:bg-accent data-[state=open]:text-muted-foreground absolute top-4 right-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",children:[(0,b.jsx)(d.XIcon,{}),(0,b.jsx)("span",{className:"sr-only",children:"Close"})]})]})]})}function k({className:a,...c}){return(0,b.jsx)("div",{"data-slot":"dialog-header",className:(0,e.cn)("flex flex-col gap-2 text-center sm:text-left",a),...c})}function l({className:a,...d}){return(0,b.jsx)(c.Title,{"data-slot":"dialog-title",className:(0,e.cn)("text-lg leading-none font-semibold",a),...d})}function m({className:a,...d}){return(0,b.jsx)(c.Description,{"data-slot":"dialog-description",className:(0,e.cn)("text-muted-foreground text-sm",a),...d})}a.i(476031),a.s(["Dialog",()=>f,"DialogContent",()=>j,"DialogDescription",()=>m,"DialogHeader",()=>k,"DialogTitle",()=>l,"DialogTrigger",()=>g])},95041,a=>{"use strict";var b=a.i(496155);a.s(["Check",()=>b.default])},179743,a=>{"use strict";let b=(0,a.i(335520).default)("settings",[["path",{d:"M9.671 4.136a2.34 2.34 0 0 1 4.659 0 2.34 2.34 0 0 0 3.319 1.915 2.34 2.34 0 0 1 2.33 4.033 2.34 2.34 0 0 0 0 3.831 2.34 2.34 0 0 1-2.33 4.033 2.34 2.34 0 0 0-3.319 1.915 2.34 2.34 0 0 1-4.659 0 2.34 2.34 0 0 0-3.32-1.915 2.34 2.34 0 0 1-2.33-4.033 2.34 2.34 0 0 0 0-3.831A2.34 2.34 0 0 1 6.35 6.051a2.34 2.34 0 0 0 3.319-1.915",key:"1i5ecw"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]);a.s(["Settings",()=>b],179743)},7640,a=>{"use strict";let b=(0,a.i(335520).default)("panel-left",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M9 3v18",key:"fh3hqa"}]]);a.s(["default",()=>b])},17655,a=>{"use strict";var b=a.i(7640);a.s(["PanelLeft",()=>b.default])},300274,a=>{"use strict";var b=a.i(439540);a.s(["X",()=>b.default])},507031,a=>{"use strict";var b=a.i(256856),c=a.i(755132),d=a.i(192723),e=a.i(738174),f=(a.i(7640),a.i(156033));a.i(476031),a.i(338706),a.i(869396);var g=a.i(227709),h=a.i(561966);function i({...a}){return(0,b.jsx)(g.Root,{"data-slot":"sheet",...a})}function j({...a}){return(0,b.jsx)(g.Portal,{"data-slot":"sheet-portal",...a})}function k({className:a,...c}){return(0,b.jsx)(g.Overlay,{"data-slot":"sheet-overlay",className:(0,f.cn)("data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/50",a),...c})}function l({className:a,children:c,side:d="right",showCloseButton:e=!0,...i}){return(0,b.jsxs)(j,{children:[(0,b.jsx)(k,{}),(0,b.jsxs)(g.Content,{"data-slot":"sheet-content",className:(0,f.cn)("bg-background data-[state=open]:animate-in data-[state=closed]:animate-out fixed z-50 flex flex-col gap-4 shadow-lg transition ease-in-out data-[state=closed]:duration-300 data-[state=open]:duration-500","right"===d&&"data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right inset-y-0 right-0 h-full w-3/4 border-l sm:max-w-sm","left"===d&&"data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left inset-y-0 left-0 h-full w-3/4 border-r sm:max-w-sm","top"===d&&"data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top inset-x-0 top-0 h-auto border-b","bottom"===d&&"data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom inset-x-0 bottom-0 h-auto border-t",a),...i,children:[c,e&&(0,b.jsxs)(g.Close,{className:"ring-offset-background focus:ring-ring data-[state=open]:bg-secondary absolute top-4 right-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none",children:[(0,b.jsx)(h.XIcon,{className:"size-4"}),(0,b.jsx)("span",{className:"sr-only",children:"Close"})]})]})]})}function m({className:a,...c}){return(0,b.jsx)("div",{"data-slot":"sheet-header",className:(0,f.cn)("flex flex-col gap-1.5 p-4",a),...c})}function n({className:a,...c}){return(0,b.jsx)(g.Title,{"data-slot":"sheet-title",className:(0,f.cn)("text-foreground font-semibold",a),...c})}function o({className:a,...c}){return(0,b.jsx)(g.Description,{"data-slot":"sheet-description",className:(0,f.cn)("text-muted-foreground text-sm",a),...c})}var p=a.i(670923);let q=c.createContext(null);function r(){let a=c.useContext(q);if(!a)throw Error("useSidebar must be used within a SidebarProvider.");return a}function s({defaultOpen:a=!0,open:d,onOpenChange:e,forceDesktop:g=!1,className:h,style:i,children:j,...k}){let l=function(){let[a,b]=c.useState(void 0);return c.useEffect(()=>{let a=window.matchMedia("(max-width: 767px)"),c=()=>{b(window.innerWidth<768)};return a.addEventListener("change",c),b(window.innerWidth<768),()=>a.removeEventListener("change",c)},[]),!!a}(),m=!g&&l,[n,o]=c.useState(!1),[r,s]=c.useState(a),t=d??r,u=c.useCallback(a=>{let b="function"==typeof a?a(t):a;e?e(b):s(b),document.cookie=`sidebar_state=${b}; path=/; max-age=604800`},[e,t]),v=c.useCallback(()=>m?o(a=>!a):u(a=>!a),[m,u,o]);c.useEffect(()=>{let a=a=>{"b"===a.key&&(a.metaKey||a.ctrlKey)&&(a.preventDefault(),v())};return window.addEventListener("keydown",a),()=>window.removeEventListener("keydown",a)},[v]);let w=t?"expanded":"collapsed",x=c.useMemo(()=>({state:w,open:t,setOpen:u,isMobile:m,openMobile:n,setOpenMobile:o,toggleSidebar:v,forceDesktop:g}),[w,t,u,m,n,o,v,g]);return(0,b.jsx)(q.Provider,{value:x,children:(0,b.jsx)(p.TooltipProvider,{delayDuration:0,children:(0,b.jsx)("div",{"data-slot":"sidebar-wrapper",style:{"--sidebar-width":"16rem","--sidebar-width-icon":"3rem",...i},className:(0,f.cn)("group/sidebar-wrapper has-data-[variant=inset]:bg-sidebar flex min-h-svh w-full overflow-x-hidden",h),...k,children:j})})})}function t({side:a="left",variant:c="sidebar",collapsible:d="offcanvas",className:e,children:g,...h}){let{isMobile:j,state:k,openMobile:p,setOpenMobile:q,forceDesktop:s}=r();return"none"===d?(0,b.jsx)("div",{"data-slot":"sidebar",className:(0,f.cn)("bg-sidebar text-sidebar-foreground flex h-full w-(--sidebar-width) flex-col",e),...h,children:g}):j?(0,b.jsx)(i,{open:p,onOpenChange:q,...h,children:(0,b.jsxs)(l,{"data-sidebar":"sidebar","data-slot":"sidebar","data-mobile":"true",className:"bg-sidebar text-sidebar-foreground w-(--sidebar-width) p-0 [&>button]:hidden",style:{"--sidebar-width":"18rem"},side:a,children:[(0,b.jsxs)(m,{className:"sr-only",children:[(0,b.jsx)(n,{children:"Sidebar"}),(0,b.jsx)(o,{children:"Displays the mobile sidebar."})]}),(0,b.jsx)("div",{className:"flex h-full w-full flex-col",children:g})]})}):(0,b.jsxs)("div",{className:(0,f.cn)("group peer text-sidebar-foreground",s?"block":"hidden md:block"),"data-state":k,"data-collapsible":"collapsed"===k?d:"","data-variant":c,"data-side":a,"data-slot":"sidebar",children:[(0,b.jsx)("div",{"data-slot":"sidebar-gap",className:(0,f.cn)("relative w-(--sidebar-width) bg-transparent transition-[width] duration-200 ease-linear","group-data-[collapsible=offcanvas]:w-0","group-data-[side=right]:rotate-180","floating"===c||"inset"===c?"group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)+(--spacing(4)))]":"group-data-[collapsible=icon]:w-(--sidebar-width-icon)",s&&"w-0")}),(0,b.jsx)("div",{"data-slot":"sidebar-container",className:(0,f.cn)("fixed inset-y-0 z-10 h-svh w-(--sidebar-width) transition-[left,right,width] duration-200 ease-linear",s?"flex":"hidden md:flex","left"===a?"left-0 group-data-[collapsible=offcanvas]:left-[calc(var(--sidebar-width)*-1)]":"right-0 group-data-[collapsible=offcanvas]:right-[calc(var(--sidebar-width)*-1)]","floating"===c||"inset"===c?"p-2 group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)+(--spacing(4))+2px)]":"group-data-[collapsible=icon]:w-(--sidebar-width-icon) group-data-[side=left]:border-r group-data-[side=right]:border-l",e),...h,children:(0,b.jsx)("div",{"data-sidebar":"sidebar","data-slot":"sidebar-inner",className:"bg-sidebar group-data-[variant=floating]:border-sidebar-border flex h-full w-full flex-col group-data-[variant=floating]:rounded-lg group-data-[variant=floating]:border group-data-[variant=floating]:shadow-sm",children:g})})]})}function u({className:a,...c}){return(0,b.jsx)("main",{"data-slot":"sidebar-inset",className:(0,f.cn)("bg-background relative flex min-w-0 w-full flex-1 flex-col overflow-x-hidden","md:peer-data-[variant=inset]:m-2 md:peer-data-[variant=inset]:ml-0 md:peer-data-[variant=inset]:rounded-xl md:peer-data-[variant=inset]:shadow-sm md:peer-data-[variant=inset]:peer-data-[state=collapsed]:ml-2",a),...c})}function v({className:a,...c}){return(0,b.jsx)("div",{"data-slot":"sidebar-header","data-sidebar":"header",className:(0,f.cn)("flex flex-col gap-2 p-2",a),...c})}function w({className:a,...c}){return(0,b.jsx)("div",{"data-slot":"sidebar-footer","data-sidebar":"footer",className:(0,f.cn)("flex flex-col gap-2 p-2",a),...c})}function x({className:a,...c}){return(0,b.jsx)("div",{"data-slot":"sidebar-content","data-sidebar":"content",className:(0,f.cn)("flex min-h-0 flex-1 flex-col gap-2 overflow-auto group-data-[collapsible=icon]:overflow-hidden",a),...c})}function y({className:a,...c}){return(0,b.jsx)("div",{"data-slot":"sidebar-group","data-sidebar":"group",className:(0,f.cn)("relative flex w-full min-w-0 flex-col p-2",a),...c})}function z({className:a,...c}){return(0,b.jsx)("div",{"data-slot":"sidebar-group-content","data-sidebar":"group-content",className:(0,f.cn)("w-full text-sm",a),...c})}function A({className:a,...c}){return(0,b.jsx)("ul",{"data-slot":"sidebar-menu","data-sidebar":"menu",className:(0,f.cn)("flex w-full min-w-0 flex-col gap-1",a),...c})}function B({className:a,...c}){return(0,b.jsx)("li",{"data-slot":"sidebar-menu-item","data-sidebar":"menu-item",className:(0,f.cn)("group/menu-item relative",a),...c})}let C=(0,e.cva)("peer/menu-button flex w-full items-center gap-2 overflow-hidden rounded-md p-2 text-left text-sm outline-hidden ring-sidebar-ring transition-[width,height,padding] hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 group-has-data-[sidebar=menu-action]/menu-item:pr-8 aria-disabled:pointer-events-none aria-disabled:opacity-50 data-[active=true]:bg-sidebar-accent data-[active=true]:font-medium data-[active=true]:text-sidebar-accent-foreground data-[state=open]:hover:bg-sidebar-accent data-[state=open]:hover:text-sidebar-accent-foreground group-data-[collapsible=icon]:size-8! group-data-[collapsible=icon]:p-2! [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0",{variants:{variant:{default:"hover:bg-sidebar-accent hover:text-sidebar-accent-foreground",outline:"bg-background shadow-[0_0_0_1px_hsl(var(--sidebar-border))] hover:bg-sidebar-accent hover:text-sidebar-accent-foreground hover:shadow-[0_0_0_1px_hsl(var(--sidebar-accent))]"},size:{default:"h-8 text-sm",sm:"h-7 text-xs",lg:"h-12 text-sm group-data-[collapsible=icon]:p-0!"}},defaultVariants:{variant:"default",size:"default"}});function D({asChild:a=!1,isActive:c=!1,variant:e="default",size:g="default",tooltip:h,className:i,...j}){let k=a?d.Slot:"button",{isMobile:l,state:m}=r(),n=(0,b.jsx)(k,{"data-slot":"sidebar-menu-button","data-sidebar":"menu-button","data-size":g,"data-active":c,className:(0,f.cn)(C({variant:e,size:g}),i),...j});return h?("string"==typeof h&&(h={children:h}),(0,b.jsxs)(p.Tooltip,{children:[(0,b.jsx)(p.TooltipTrigger,{asChild:!0,children:n}),(0,b.jsx)(p.TooltipContent,{side:"right",align:"center",hidden:"collapsed"!==m||l,...h})]})):n}a.s(["Sidebar",()=>t,"SidebarContent",()=>x,"SidebarFooter",()=>w,"SidebarGroup",()=>y,"SidebarGroupContent",()=>z,"SidebarHeader",()=>v,"SidebarInset",()=>u,"SidebarMenu",()=>A,"SidebarMenuButton",()=>D,"SidebarMenuItem",()=>B,"SidebarProvider",()=>s,"useSidebar",()=>r],507031)},679609,a=>{"use strict";var b=a.i(256856),c=a.i(755132),d=a.i(279847),e=a.i(481914),f=a.i(517435),g=a.i(820248),h=a.i(156969);a.i(919933);var i=Symbol("radix.slottable");function j(a){return c.isValidElement(a)&&"function"==typeof a.type&&"__radixId"in a.type&&a.type.__radixId===i}var k=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((a,d)=>{var f,g;let h,i,k,l=(g=f=`Primitive.${d}`,(h=c.forwardRef((a,b)=>{let{children:d,...f}=a;if(c.isValidElement(d)){var g;let a,h,i=(g=d,(h=(a=Object.getOwnPropertyDescriptor(g.props,"ref")?.get)&&"isReactWarning"in a&&a.isReactWarning)?g.ref:(h=(a=Object.getOwnPropertyDescriptor(g,"ref")?.get)&&"isReactWarning"in a&&a.isReactWarning)?g.props.ref:g.props.ref||g.ref),j=function(a,b){let c={...b};for(let d in b){let e=a[d],f=b[d];/^on[A-Z]/.test(d)?e&&f?c[d]=(...a)=>{let b=f(...a);return e(...a),b}:e&&(c[d]=e):"style"===d?c[d]={...e,...f}:"className"===d&&(c[d]=[e,f].filter(Boolean).join(" "))}return{...a,...c}}(f,d.props);return d.type!==c.Fragment&&(j.ref=b?(0,e.composeRefs)(b,i):i),c.cloneElement(d,j)}return c.Children.count(d)>1?c.Children.only(null):null})).displayName=`${g}.SlotClone`,i=h,(k=c.forwardRef((a,d)=>{let{children:e,...f}=a,g=c.Children.toArray(e),h=g.find(j);if(h){let a=h.props.children,e=g.map(b=>b!==h?b:c.Children.count(a)>1?c.Children.only(null):c.isValidElement(a)?a.props.children:null);return(0,b.jsx)(i,{...f,ref:d,children:c.isValidElement(a)?c.cloneElement(a,void 0,e):null})}return(0,b.jsx)(i,{...f,ref:d,children:e})})).displayName=`${f}.Slot`,k),m=c.forwardRef((a,c)=>{let{asChild:e,...f}=a;return(0,b.jsx)(e?l:d,{...f,ref:c})});return m.displayName=`Primitive.${d}`,{...a,[d]:m}},{}),l="Switch",[m,n]=function(a,d=[]){let e=[],f=()=>{let b=e.map(a=>c.createContext(a));return function(d){let e=d?.[a]||b;return c.useMemo(()=>({[`__scope${a}`]:{...d,[a]:e}}),[d,e])}};return f.scopeName=a,[function(d,f){let g=c.createContext(f),h=e.length;e=[...e,f];let i=d=>{let{scope:e,children:f,...i}=d,j=e?.[a]?.[h]||g,k=c.useMemo(()=>i,Object.values(i));return(0,b.jsx)(j.Provider,{value:k,children:f})};return i.displayName=d+"Provider",[i,function(b,e){let i=e?.[a]?.[h]||g,j=c.useContext(i);if(j)return j;if(void 0!==f)return f;throw Error(`\`${b}\` must be used within \`${d}\``)}]},function(...a){let b=a[0];if(1===a.length)return b;let d=()=>{let d=a.map(a=>({useScope:a(),scopeName:a.scopeName}));return function(a){let e=d.reduce((b,{useScope:c,scopeName:d})=>{let e=c(a)[`__scope${d}`];return{...b,...e}},{});return c.useMemo(()=>({[`__scope${b.scopeName}`]:e}),[e])}};return d.scopeName=b.scopeName,d}(f,...d)]}(l),[o,p]=m(l),q=c.forwardRef((a,g)=>{let{__scopeSwitch:h,name:i,checked:j,defaultChecked:m,required:n,disabled:p,value:q="on",onCheckedChange:r,form:s,...v}=a,[w,x]=c.useState(null),y=(0,e.useComposedRefs)(g,a=>x(a)),z=c.useRef(!1),A=!w||s||!!w.closest("form"),[B,C]=(0,f.useControllableState)({prop:j,defaultProp:m??!1,onChange:r,caller:l});return(0,b.jsxs)(o,{scope:h,checked:B,disabled:p,children:[(0,b.jsx)(k.button,{type:"button",role:"switch","aria-checked":B,"aria-required":n,"data-state":u(B),"data-disabled":p?"":void 0,disabled:p,value:q,...v,ref:y,onClick:(0,d.composeEventHandlers)(a.onClick,a=>{C(a=>!a),A&&(z.current=a.isPropagationStopped(),z.current||a.stopPropagation())})}),A&&(0,b.jsx)(t,{control:w,bubbles:!z.current,name:i,value:q,checked:B,required:n,disabled:p,form:s,style:{transform:"translateX(-100%)"}})]})});q.displayName=l;var r="SwitchThumb",s=c.forwardRef((a,c)=>{let{__scopeSwitch:d,...e}=a,f=p(r,d);return(0,b.jsx)(k.span,{"data-state":u(f.checked),"data-disabled":f.disabled?"":void 0,...e,ref:c})});s.displayName=r;var t=c.forwardRef(({__scopeSwitch:a,control:d,checked:f,bubbles:i=!0,...j},k)=>{let l=c.useRef(null),m=(0,e.useComposedRefs)(l,k),n=(0,g.usePrevious)(f),o=(0,h.useSize)(d);return c.useEffect(()=>{let a=l.current;if(!a)return;let b=Object.getOwnPropertyDescriptor(window.HTMLInputElement.prototype,"checked").set;if(n!==f&&b){let c=new Event("click",{bubbles:i});b.call(a,f),a.dispatchEvent(c)}},[n,f,i]),(0,b.jsx)("input",{type:"checkbox","aria-hidden":!0,defaultChecked:f,...j,tabIndex:-1,ref:m,style:{...j.style,...o,position:"absolute",pointerEvents:"none",opacity:0,margin:0}})});function u(a){return a?"checked":"unchecked"}t.displayName="SwitchBubbleInput";var v=a.i(156033);function w({className:a,size:c="default",...d}){return(0,b.jsx)(q,{"data-slot":"switch","data-size":c,className:(0,v.cn)("peer data-[state=checked]:bg-primary data-[state=unchecked]:bg-input focus-visible:border-ring focus-visible:ring-ring/50 dark:data-[state=unchecked]:bg-input/80 group/switch inline-flex shrink-0 items-center rounded-full border border-transparent shadow-xs transition-all outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50 data-[size=default]:h-[1.15rem] data-[size=default]:w-8 data-[size=sm]:h-3.5 data-[size=sm]:w-6",a),...d,children:(0,b.jsx)(s,{"data-slot":"switch-thumb",className:(0,v.cn)("bg-background dark:data-[state=unchecked]:bg-foreground dark:data-[state=checked]:bg-primary-foreground pointer-events-none block rounded-full ring-0 transition-transform group-data-[size=default]/switch:size-4 group-data-[size=sm]/switch:size-3 data-[state=checked]:translate-x-[calc(100%-2px)] data-[state=unchecked]:translate-x-0")})})}a.s(["Switch",()=>w],679609)},878137,a=>{"use strict";var b=a.i(256856),c=a.i(755132),d=a.i(850960),e=c.forwardRef((a,c)=>(0,b.jsx)(d.Primitive.label,{...a,ref:c,onMouseDown:b=>{b.target.closest("button, input, select, textarea")||(a.onMouseDown?.(b),!b.defaultPrevented&&b.detail>1&&b.preventDefault())}}));e.displayName="Label";var f=a.i(156033);function g({className:a,...c}){return(0,b.jsx)(e,{"data-slot":"label",className:(0,f.cn)("flex items-center gap-2 text-sm leading-none font-medium select-none group-data-[disabled=true]:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50",a),...c})}a.s(["Label",()=>g],878137)},211487,a=>{"use strict";let b=(0,a.i(335520).default)("eye",[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]);a.s(["default",()=>b])}];
5
+ For more information, see https://radix-ui.com/primitives/docs/components/${b.docsSlug}`;return e.useEffect(()=>{a&&(document.getElementById(a)||console.error(c))},[c,a]),null},_=({contentRef:a,descriptionId:b})=>{let c=Z("DialogDescriptionWarning"),d=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${c.contentName}}.`;return e.useEffect(()=>{let c=a.current?.getAttribute("aria-describedby");b&&c&&(document.getElementById(b)||console.warn(d))},[d,a,b]),null};a.s(["Close",()=>V,"Content",()=>M,"Description",()=>T,"Overlay",()=>I,"Portal",()=>G,"Root",()=>A,"Title",()=>R,"Trigger",()=>C],227709)},806634,a=>{"use strict";var b=a.i(256856),c=a.i(227709),d=a.i(561966),e=a.i(156033);function f({...a}){return(0,b.jsx)(c.Root,{"data-slot":"dialog",...a})}function g({...a}){return(0,b.jsx)(c.Trigger,{"data-slot":"dialog-trigger",...a})}function h({...a}){return(0,b.jsx)(c.Portal,{"data-slot":"dialog-portal",...a})}function i({className:a,...d}){return(0,b.jsx)(c.Overlay,{"data-slot":"dialog-overlay",className:(0,e.cn)("data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/50",a),...d})}function j({className:a,children:f,showCloseButton:g=!0,...j}){return(0,b.jsxs)(h,{"data-slot":"dialog-portal",children:[(0,b.jsx)(i,{}),(0,b.jsxs)(c.Content,{"data-slot":"dialog-content",className:(0,e.cn)("bg-background data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 fixed top-[50%] left-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 rounded-lg border p-6 shadow-lg duration-200 outline-none sm:max-w-lg",a),...j,children:[f,g&&(0,b.jsxs)(c.Close,{"data-slot":"dialog-close",className:"ring-offset-background focus:ring-ring data-[state=open]:bg-accent data-[state=open]:text-muted-foreground absolute top-4 right-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",children:[(0,b.jsx)(d.XIcon,{}),(0,b.jsx)("span",{className:"sr-only",children:"Close"})]})]})]})}function k({className:a,...c}){return(0,b.jsx)("div",{"data-slot":"dialog-header",className:(0,e.cn)("flex flex-col gap-2 text-center sm:text-left",a),...c})}function l({className:a,...d}){return(0,b.jsx)(c.Title,{"data-slot":"dialog-title",className:(0,e.cn)("text-lg leading-none font-semibold",a),...d})}function m({className:a,...d}){return(0,b.jsx)(c.Description,{"data-slot":"dialog-description",className:(0,e.cn)("text-muted-foreground text-sm",a),...d})}a.i(476031),a.s(["Dialog",()=>f,"DialogContent",()=>j,"DialogDescription",()=>m,"DialogHeader",()=>k,"DialogTitle",()=>l,"DialogTrigger",()=>g])},7478,a=>{"use strict";var b=a.i(755132);function c(){let[a,c]=(0,b.useState)(()=>!0),d=(0,b.useRef)(a);return(0,b.useEffect)(()=>{d.current=a},[a]),{enabled:a,setEnabled:(0,b.useCallback)(a=>{c(a),localStorage.setItem("sparkecoder_notification_sound",String(a))},[]),playDing:(0,b.useCallback)(()=>{d.current&&function(){try{let a=new(window.AudioContext||window.webkitAudioContext),b=a.createOscillator(),c=a.createGain();b.type="sine",b.frequency.setValueAtTime(880,a.currentTime),c.gain.setValueAtTime(.3,a.currentTime),c.gain.exponentialRampToValueAtTime(.001,a.currentTime+.3),b.connect(c),c.connect(a.destination),b.start(a.currentTime),b.stop(a.currentTime+.3);let d=a.createOscillator(),e=a.createGain();d.type="sine",d.frequency.setValueAtTime(1174.66,a.currentTime+.15),e.gain.setValueAtTime(1e-4,a.currentTime),e.gain.setValueAtTime(.25,a.currentTime+.15),e.gain.exponentialRampToValueAtTime(.001,a.currentTime+.5),d.connect(e),e.connect(a.destination),d.start(a.currentTime+.15),d.stop(a.currentTime+.5),setTimeout(()=>a.close(),600)}catch{}}()},[])}}a.s(["useNotificationSound",()=>c])},95041,a=>{"use strict";var b=a.i(496155);a.s(["Check",()=>b.default])},179743,a=>{"use strict";let b=(0,a.i(335520).default)("settings",[["path",{d:"M9.671 4.136a2.34 2.34 0 0 1 4.659 0 2.34 2.34 0 0 0 3.319 1.915 2.34 2.34 0 0 1 2.33 4.033 2.34 2.34 0 0 0 0 3.831 2.34 2.34 0 0 1-2.33 4.033 2.34 2.34 0 0 0-3.319 1.915 2.34 2.34 0 0 1-4.659 0 2.34 2.34 0 0 0-3.32-1.915 2.34 2.34 0 0 1-2.33-4.033 2.34 2.34 0 0 0 0-3.831A2.34 2.34 0 0 1 6.35 6.051a2.34 2.34 0 0 0 3.319-1.915",key:"1i5ecw"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]);a.s(["Settings",()=>b],179743)},7640,a=>{"use strict";let b=(0,a.i(335520).default)("panel-left",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M9 3v18",key:"fh3hqa"}]]);a.s(["default",()=>b])},17655,a=>{"use strict";var b=a.i(7640);a.s(["PanelLeft",()=>b.default])},300274,a=>{"use strict";var b=a.i(439540);a.s(["X",()=>b.default])},507031,a=>{"use strict";var b=a.i(256856),c=a.i(755132),d=a.i(192723),e=a.i(738174),f=(a.i(7640),a.i(156033));a.i(476031),a.i(338706),a.i(869396);var g=a.i(227709),h=a.i(561966);function i({...a}){return(0,b.jsx)(g.Root,{"data-slot":"sheet",...a})}function j({...a}){return(0,b.jsx)(g.Portal,{"data-slot":"sheet-portal",...a})}function k({className:a,...c}){return(0,b.jsx)(g.Overlay,{"data-slot":"sheet-overlay",className:(0,f.cn)("data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/50",a),...c})}function l({className:a,children:c,side:d="right",showCloseButton:e=!0,...i}){return(0,b.jsxs)(j,{children:[(0,b.jsx)(k,{}),(0,b.jsxs)(g.Content,{"data-slot":"sheet-content",className:(0,f.cn)("bg-background data-[state=open]:animate-in data-[state=closed]:animate-out fixed z-50 flex flex-col gap-4 shadow-lg transition ease-in-out data-[state=closed]:duration-300 data-[state=open]:duration-500","right"===d&&"data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right inset-y-0 right-0 h-full w-3/4 border-l sm:max-w-sm","left"===d&&"data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left inset-y-0 left-0 h-full w-3/4 border-r sm:max-w-sm","top"===d&&"data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top inset-x-0 top-0 h-auto border-b","bottom"===d&&"data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom inset-x-0 bottom-0 h-auto border-t",a),...i,children:[c,e&&(0,b.jsxs)(g.Close,{className:"ring-offset-background focus:ring-ring data-[state=open]:bg-secondary absolute top-4 right-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none",children:[(0,b.jsx)(h.XIcon,{className:"size-4"}),(0,b.jsx)("span",{className:"sr-only",children:"Close"})]})]})]})}function m({className:a,...c}){return(0,b.jsx)("div",{"data-slot":"sheet-header",className:(0,f.cn)("flex flex-col gap-1.5 p-4",a),...c})}function n({className:a,...c}){return(0,b.jsx)(g.Title,{"data-slot":"sheet-title",className:(0,f.cn)("text-foreground font-semibold",a),...c})}function o({className:a,...c}){return(0,b.jsx)(g.Description,{"data-slot":"sheet-description",className:(0,f.cn)("text-muted-foreground text-sm",a),...c})}var p=a.i(670923);let q=c.createContext(null);function r(){let a=c.useContext(q);if(!a)throw Error("useSidebar must be used within a SidebarProvider.");return a}function s({defaultOpen:a=!0,open:d,onOpenChange:e,forceDesktop:g=!1,className:h,style:i,children:j,...k}){let l=function(){let[a,b]=c.useState(void 0);return c.useEffect(()=>{let a=window.matchMedia("(max-width: 767px)"),c=()=>{b(window.innerWidth<768)};return a.addEventListener("change",c),b(window.innerWidth<768),()=>a.removeEventListener("change",c)},[]),!!a}(),m=!g&&l,[n,o]=c.useState(!1),[r,s]=c.useState(a),t=d??r,u=c.useCallback(a=>{let b="function"==typeof a?a(t):a;e?e(b):s(b),document.cookie=`sidebar_state=${b}; path=/; max-age=604800`},[e,t]),v=c.useCallback(()=>m?o(a=>!a):u(a=>!a),[m,u,o]);c.useEffect(()=>{let a=a=>{"b"===a.key&&(a.metaKey||a.ctrlKey)&&(a.preventDefault(),v())};return window.addEventListener("keydown",a),()=>window.removeEventListener("keydown",a)},[v]);let w=t?"expanded":"collapsed",x=c.useMemo(()=>({state:w,open:t,setOpen:u,isMobile:m,openMobile:n,setOpenMobile:o,toggleSidebar:v,forceDesktop:g}),[w,t,u,m,n,o,v,g]);return(0,b.jsx)(q.Provider,{value:x,children:(0,b.jsx)(p.TooltipProvider,{delayDuration:0,children:(0,b.jsx)("div",{"data-slot":"sidebar-wrapper",style:{"--sidebar-width":"16rem","--sidebar-width-icon":"3rem",...i},className:(0,f.cn)("group/sidebar-wrapper has-data-[variant=inset]:bg-sidebar flex min-h-svh w-full overflow-x-hidden",h),...k,children:j})})})}function t({side:a="left",variant:c="sidebar",collapsible:d="offcanvas",className:e,children:g,...h}){let{isMobile:j,state:k,openMobile:p,setOpenMobile:q,forceDesktop:s}=r();return"none"===d?(0,b.jsx)("div",{"data-slot":"sidebar",className:(0,f.cn)("bg-sidebar text-sidebar-foreground flex h-full w-(--sidebar-width) flex-col",e),...h,children:g}):j?(0,b.jsx)(i,{open:p,onOpenChange:q,...h,children:(0,b.jsxs)(l,{"data-sidebar":"sidebar","data-slot":"sidebar","data-mobile":"true",className:"bg-sidebar text-sidebar-foreground w-(--sidebar-width) p-0 [&>button]:hidden",style:{"--sidebar-width":"18rem"},side:a,children:[(0,b.jsxs)(m,{className:"sr-only",children:[(0,b.jsx)(n,{children:"Sidebar"}),(0,b.jsx)(o,{children:"Displays the mobile sidebar."})]}),(0,b.jsx)("div",{className:"flex h-full w-full flex-col",children:g})]})}):(0,b.jsxs)("div",{className:(0,f.cn)("group peer text-sidebar-foreground",s?"block":"hidden md:block"),"data-state":k,"data-collapsible":"collapsed"===k?d:"","data-variant":c,"data-side":a,"data-slot":"sidebar",children:[(0,b.jsx)("div",{"data-slot":"sidebar-gap",className:(0,f.cn)("relative w-(--sidebar-width) bg-transparent transition-[width] duration-200 ease-linear","group-data-[collapsible=offcanvas]:w-0","group-data-[side=right]:rotate-180","floating"===c||"inset"===c?"group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)+(--spacing(4)))]":"group-data-[collapsible=icon]:w-(--sidebar-width-icon)",s&&"w-0")}),(0,b.jsx)("div",{"data-slot":"sidebar-container",className:(0,f.cn)("fixed inset-y-0 z-10 h-svh w-(--sidebar-width) transition-[left,right,width] duration-200 ease-linear",s?"flex":"hidden md:flex","left"===a?"left-0 group-data-[collapsible=offcanvas]:left-[calc(var(--sidebar-width)*-1)]":"right-0 group-data-[collapsible=offcanvas]:right-[calc(var(--sidebar-width)*-1)]","floating"===c||"inset"===c?"p-2 group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)+(--spacing(4))+2px)]":"group-data-[collapsible=icon]:w-(--sidebar-width-icon) group-data-[side=left]:border-r group-data-[side=right]:border-l",e),...h,children:(0,b.jsx)("div",{"data-sidebar":"sidebar","data-slot":"sidebar-inner",className:"bg-sidebar group-data-[variant=floating]:border-sidebar-border flex h-full w-full flex-col group-data-[variant=floating]:rounded-lg group-data-[variant=floating]:border group-data-[variant=floating]:shadow-sm",children:g})})]})}function u({className:a,...c}){return(0,b.jsx)("main",{"data-slot":"sidebar-inset",className:(0,f.cn)("bg-background relative flex min-w-0 w-full flex-1 flex-col overflow-x-hidden","md:peer-data-[variant=inset]:m-2 md:peer-data-[variant=inset]:ml-0 md:peer-data-[variant=inset]:rounded-xl md:peer-data-[variant=inset]:shadow-sm md:peer-data-[variant=inset]:peer-data-[state=collapsed]:ml-2",a),...c})}function v({className:a,...c}){return(0,b.jsx)("div",{"data-slot":"sidebar-header","data-sidebar":"header",className:(0,f.cn)("flex flex-col gap-2 p-2",a),...c})}function w({className:a,...c}){return(0,b.jsx)("div",{"data-slot":"sidebar-footer","data-sidebar":"footer",className:(0,f.cn)("flex flex-col gap-2 p-2",a),...c})}function x({className:a,...c}){return(0,b.jsx)("div",{"data-slot":"sidebar-content","data-sidebar":"content",className:(0,f.cn)("flex min-h-0 flex-1 flex-col gap-2 overflow-auto group-data-[collapsible=icon]:overflow-hidden",a),...c})}function y({className:a,...c}){return(0,b.jsx)("div",{"data-slot":"sidebar-group","data-sidebar":"group",className:(0,f.cn)("relative flex w-full min-w-0 flex-col p-2",a),...c})}function z({className:a,...c}){return(0,b.jsx)("div",{"data-slot":"sidebar-group-content","data-sidebar":"group-content",className:(0,f.cn)("w-full text-sm",a),...c})}function A({className:a,...c}){return(0,b.jsx)("ul",{"data-slot":"sidebar-menu","data-sidebar":"menu",className:(0,f.cn)("flex w-full min-w-0 flex-col gap-1",a),...c})}function B({className:a,...c}){return(0,b.jsx)("li",{"data-slot":"sidebar-menu-item","data-sidebar":"menu-item",className:(0,f.cn)("group/menu-item relative",a),...c})}let C=(0,e.cva)("peer/menu-button flex w-full items-center gap-2 overflow-hidden rounded-md p-2 text-left text-sm outline-hidden ring-sidebar-ring transition-[width,height,padding] hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 group-has-data-[sidebar=menu-action]/menu-item:pr-8 aria-disabled:pointer-events-none aria-disabled:opacity-50 data-[active=true]:bg-sidebar-accent data-[active=true]:font-medium data-[active=true]:text-sidebar-accent-foreground data-[state=open]:hover:bg-sidebar-accent data-[state=open]:hover:text-sidebar-accent-foreground group-data-[collapsible=icon]:size-8! group-data-[collapsible=icon]:p-2! [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0",{variants:{variant:{default:"hover:bg-sidebar-accent hover:text-sidebar-accent-foreground",outline:"bg-background shadow-[0_0_0_1px_hsl(var(--sidebar-border))] hover:bg-sidebar-accent hover:text-sidebar-accent-foreground hover:shadow-[0_0_0_1px_hsl(var(--sidebar-accent))]"},size:{default:"h-8 text-sm",sm:"h-7 text-xs",lg:"h-12 text-sm group-data-[collapsible=icon]:p-0!"}},defaultVariants:{variant:"default",size:"default"}});function D({asChild:a=!1,isActive:c=!1,variant:e="default",size:g="default",tooltip:h,className:i,...j}){let k=a?d.Slot:"button",{isMobile:l,state:m}=r(),n=(0,b.jsx)(k,{"data-slot":"sidebar-menu-button","data-sidebar":"menu-button","data-size":g,"data-active":c,className:(0,f.cn)(C({variant:e,size:g}),i),...j});return h?("string"==typeof h&&(h={children:h}),(0,b.jsxs)(p.Tooltip,{children:[(0,b.jsx)(p.TooltipTrigger,{asChild:!0,children:n}),(0,b.jsx)(p.TooltipContent,{side:"right",align:"center",hidden:"collapsed"!==m||l,...h})]})):n}a.s(["Sidebar",()=>t,"SidebarContent",()=>x,"SidebarFooter",()=>w,"SidebarGroup",()=>y,"SidebarGroupContent",()=>z,"SidebarHeader",()=>v,"SidebarInset",()=>u,"SidebarMenu",()=>A,"SidebarMenuButton",()=>D,"SidebarMenuItem",()=>B,"SidebarProvider",()=>s,"useSidebar",()=>r],507031)},679609,a=>{"use strict";var b=a.i(256856),c=a.i(755132),d=a.i(279847),e=a.i(481914),f=a.i(517435),g=a.i(820248),h=a.i(156969);a.i(919933);var i=Symbol("radix.slottable");function j(a){return c.isValidElement(a)&&"function"==typeof a.type&&"__radixId"in a.type&&a.type.__radixId===i}var k=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((a,d)=>{var f,g;let h,i,k,l=(g=f=`Primitive.${d}`,(h=c.forwardRef((a,b)=>{let{children:d,...f}=a;if(c.isValidElement(d)){var g;let a,h,i=(g=d,(h=(a=Object.getOwnPropertyDescriptor(g.props,"ref")?.get)&&"isReactWarning"in a&&a.isReactWarning)?g.ref:(h=(a=Object.getOwnPropertyDescriptor(g,"ref")?.get)&&"isReactWarning"in a&&a.isReactWarning)?g.props.ref:g.props.ref||g.ref),j=function(a,b){let c={...b};for(let d in b){let e=a[d],f=b[d];/^on[A-Z]/.test(d)?e&&f?c[d]=(...a)=>{let b=f(...a);return e(...a),b}:e&&(c[d]=e):"style"===d?c[d]={...e,...f}:"className"===d&&(c[d]=[e,f].filter(Boolean).join(" "))}return{...a,...c}}(f,d.props);return d.type!==c.Fragment&&(j.ref=b?(0,e.composeRefs)(b,i):i),c.cloneElement(d,j)}return c.Children.count(d)>1?c.Children.only(null):null})).displayName=`${g}.SlotClone`,i=h,(k=c.forwardRef((a,d)=>{let{children:e,...f}=a,g=c.Children.toArray(e),h=g.find(j);if(h){let a=h.props.children,e=g.map(b=>b!==h?b:c.Children.count(a)>1?c.Children.only(null):c.isValidElement(a)?a.props.children:null);return(0,b.jsx)(i,{...f,ref:d,children:c.isValidElement(a)?c.cloneElement(a,void 0,e):null})}return(0,b.jsx)(i,{...f,ref:d,children:e})})).displayName=`${f}.Slot`,k),m=c.forwardRef((a,c)=>{let{asChild:e,...f}=a;return(0,b.jsx)(e?l:d,{...f,ref:c})});return m.displayName=`Primitive.${d}`,{...a,[d]:m}},{}),l="Switch",[m,n]=function(a,d=[]){let e=[],f=()=>{let b=e.map(a=>c.createContext(a));return function(d){let e=d?.[a]||b;return c.useMemo(()=>({[`__scope${a}`]:{...d,[a]:e}}),[d,e])}};return f.scopeName=a,[function(d,f){let g=c.createContext(f),h=e.length;e=[...e,f];let i=d=>{let{scope:e,children:f,...i}=d,j=e?.[a]?.[h]||g,k=c.useMemo(()=>i,Object.values(i));return(0,b.jsx)(j.Provider,{value:k,children:f})};return i.displayName=d+"Provider",[i,function(b,e){let i=e?.[a]?.[h]||g,j=c.useContext(i);if(j)return j;if(void 0!==f)return f;throw Error(`\`${b}\` must be used within \`${d}\``)}]},function(...a){let b=a[0];if(1===a.length)return b;let d=()=>{let d=a.map(a=>({useScope:a(),scopeName:a.scopeName}));return function(a){let e=d.reduce((b,{useScope:c,scopeName:d})=>{let e=c(a)[`__scope${d}`];return{...b,...e}},{});return c.useMemo(()=>({[`__scope${b.scopeName}`]:e}),[e])}};return d.scopeName=b.scopeName,d}(f,...d)]}(l),[o,p]=m(l),q=c.forwardRef((a,g)=>{let{__scopeSwitch:h,name:i,checked:j,defaultChecked:m,required:n,disabled:p,value:q="on",onCheckedChange:r,form:s,...v}=a,[w,x]=c.useState(null),y=(0,e.useComposedRefs)(g,a=>x(a)),z=c.useRef(!1),A=!w||s||!!w.closest("form"),[B,C]=(0,f.useControllableState)({prop:j,defaultProp:m??!1,onChange:r,caller:l});return(0,b.jsxs)(o,{scope:h,checked:B,disabled:p,children:[(0,b.jsx)(k.button,{type:"button",role:"switch","aria-checked":B,"aria-required":n,"data-state":u(B),"data-disabled":p?"":void 0,disabled:p,value:q,...v,ref:y,onClick:(0,d.composeEventHandlers)(a.onClick,a=>{C(a=>!a),A&&(z.current=a.isPropagationStopped(),z.current||a.stopPropagation())})}),A&&(0,b.jsx)(t,{control:w,bubbles:!z.current,name:i,value:q,checked:B,required:n,disabled:p,form:s,style:{transform:"translateX(-100%)"}})]})});q.displayName=l;var r="SwitchThumb",s=c.forwardRef((a,c)=>{let{__scopeSwitch:d,...e}=a,f=p(r,d);return(0,b.jsx)(k.span,{"data-state":u(f.checked),"data-disabled":f.disabled?"":void 0,...e,ref:c})});s.displayName=r;var t=c.forwardRef(({__scopeSwitch:a,control:d,checked:f,bubbles:i=!0,...j},k)=>{let l=c.useRef(null),m=(0,e.useComposedRefs)(l,k),n=(0,g.usePrevious)(f),o=(0,h.useSize)(d);return c.useEffect(()=>{let a=l.current;if(!a)return;let b=Object.getOwnPropertyDescriptor(window.HTMLInputElement.prototype,"checked").set;if(n!==f&&b){let c=new Event("click",{bubbles:i});b.call(a,f),a.dispatchEvent(c)}},[n,f,i]),(0,b.jsx)("input",{type:"checkbox","aria-hidden":!0,defaultChecked:f,...j,tabIndex:-1,ref:m,style:{...j.style,...o,position:"absolute",pointerEvents:"none",opacity:0,margin:0}})});function u(a){return a?"checked":"unchecked"}t.displayName="SwitchBubbleInput";var v=a.i(156033);function w({className:a,size:c="default",...d}){return(0,b.jsx)(q,{"data-slot":"switch","data-size":c,className:(0,v.cn)("peer data-[state=checked]:bg-primary data-[state=unchecked]:bg-input focus-visible:border-ring focus-visible:ring-ring/50 dark:data-[state=unchecked]:bg-input/80 group/switch inline-flex shrink-0 items-center rounded-full border border-transparent shadow-xs transition-all outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50 data-[size=default]:h-[1.15rem] data-[size=default]:w-8 data-[size=sm]:h-3.5 data-[size=sm]:w-6",a),...d,children:(0,b.jsx)(s,{"data-slot":"switch-thumb",className:(0,v.cn)("bg-background dark:data-[state=unchecked]:bg-foreground dark:data-[state=checked]:bg-primary-foreground pointer-events-none block rounded-full ring-0 transition-transform group-data-[size=default]/switch:size-4 group-data-[size=sm]/switch:size-3 data-[state=checked]:translate-x-[calc(100%-2px)] data-[state=unchecked]:translate-x-0")})})}a.s(["Switch",()=>w],679609)},878137,a=>{"use strict";var b=a.i(256856),c=a.i(755132),d=a.i(850960),e=c.forwardRef((a,c)=>(0,b.jsx)(d.Primitive.label,{...a,ref:c,onMouseDown:b=>{b.target.closest("button, input, select, textarea")||(a.onMouseDown?.(b),!b.defaultPrevented&&b.detail>1&&b.preventDefault())}}));e.displayName="Label";var f=a.i(156033);function g({className:a,...c}){return(0,b.jsx)(e,{"data-slot":"label",className:(0,f.cn)("flex items-center gap-2 text-sm leading-none font-medium select-none group-data-[disabled=true]:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50",a),...c})}a.s(["Label",()=>g],878137)},211487,a=>{"use strict";let b=(0,a.i(335520).default)("eye",[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]);a.s(["default",()=>b])}];
6
6
 
7
- //# sourceMappingURL=web_8305f089._.js.map
7
+ //# sourceMappingURL=web_d08270f7._.js.map
@@ -1,3 +1,3 @@
1
- module.exports=[881326,a=>{"use strict";var b=a.i(256856),c=a.i(755132),d=a.i(832315),e=a.i(546640),f=a.i(746881),g=a.i(916454),h=a.i(544244),i=a.i(762491),j=a.i(252831),k=a.i(179743),l=a.i(335520);let m=(0,l.default)("panel-left-close",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M9 3v18",key:"fh3hqa"}],["path",{d:"m16 15-3-3 3-3",key:"14y99z"}]]);var n=a.i(17655),o=a.i(221557),p=a.i(95041),q=a.i(300274),r=a.i(211487),r=r;let s=(0,l.default)("eye-off",[["path",{d:"M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575 1 1 0 0 1 0 .696 10.747 10.747 0 0 1-1.444 2.49",key:"ct8e1f"}],["path",{d:"M14.084 14.158a3 3 0 0 1-4.242-4.242",key:"151rxh"}],["path",{d:"M17.479 17.499a10.75 10.75 0 0 1-15.417-5.151 1 1 0 0 1 0-.696 10.75 10.75 0 0 1 4.446-5.143",key:"13bj9a"}],["path",{d:"m2 2 20 20",key:"1ooewy"}]]);var t=a.i(507031),u=a.i(476031),v=a.i(806634),w=a.i(338706),x=a.i(878137),y=a.i(679609),z=a.i(946253),A=a.i(670923),B=a.i(979412),C=a.i(555941),D=a.i(156033),E=a.i(828278);function F(){let a=(0,d.useRouter)(),l=(0,d.usePathname)(),{state:F,toggleSidebar:G}=(0,t.useSidebar)(),{sessions:H,isLoading:I}=(0,E.useSessions)(),[J,K]=(0,c.useState)(!1),[L,M]=(0,c.useState)(!1),[N,O]=(0,c.useState)(!1),[P,Q]=(0,c.useState)(null),[R,S]=(0,c.useState)(null),T=(0,c.useRef)(null),[U,V]=(0,c.useState)(""),[W,X]=(0,c.useState)(""),[Y,Z]=(0,c.useState)({}),[$,_]=(0,c.useState)([]),[aa,ab]=(0,c.useState)(null),[ac,ad]=(0,c.useState)(""),[ae,af]=(0,c.useState)(!1),[ag,ah]=(0,c.useState)(!1),ai=l.startsWith("/embed/"),aj=l.startsWith("/session/")?l.split("/session/")[1]:l.startsWith("/embed/")?l.split("/embed/")[1]:null,ak=ai?"/embed":"/session",al=H.some(a=>a.isStreaming),am=async()=>{let a=await (0,C.getConfig)();Q(a),X(a.defaultModel),Z(a.defaultToolApprovals)},an=async()=>{try{let a=await (0,B.getApiKeys)();_(a.providers)}catch(a){console.error("Failed to load API keys:",a)}};(0,c.useEffect)(()=>{am(),an()},[]),(0,c.useEffect)(()=>{N&&an()},[N]);let ao=async a=>{if(ac.trim()){ah(!0);try{await (0,B.setApiKey)(a,ac),await an(),ab(null),ad(""),af(!1)}catch(a){console.error("Failed to save API key:",a)}finally{ah(!1)}}},ap=()=>{ab(null),ad(""),af(!1)};(0,c.useEffect)(()=>{T.current&&(al?T.current.play().catch(()=>{}):(T.current.pause(),T.current.currentTime=0))},[al]);let aq=async()=>{if(!J){K(!0);try{let b=await (0,B.createSession)({name:`Session ${H.length+1}`,model:P?.defaultModel||"anthropic/claude-opus-4-6",toolApprovals:Y});(0,E.mutateSessions)(),a.push(`${ak}/${b.id}`)}catch(a){console.error("Failed to create session:",a)}finally{K(!1)}}},ar=async()=>{K(!0);try{let b=await (0,B.createSession)({name:U||`Session ${H.length+1}`,model:W,toolApprovals:Y});(0,E.mutateSessions)(),as(),M(!1),a.push(`${ak}/${b.id}`)}catch(a){console.error("Failed to create session:",a)}finally{K(!1)}},as=()=>{V(""),P&&(X(P.defaultModel),Z(P.defaultToolApprovals))},at=async(b,c)=>{b.preventDefault(),b.stopPropagation();try{await (0,B.deleteSession)(c),(0,E.mutateSessions)(),aj===c&&a.push("/")}catch(a){console.error("Failed to delete session:",a)}},au=a=>{Z(b=>({...b,[a]:!b[a]}))},av="collapsed"===F;return(0,b.jsxs)(t.Sidebar,{collapsible:ai?"offcanvas":"icon",className:"border-r border-border/50",children:[(0,b.jsxs)(t.SidebarHeader,{className:(0,D.cn)(av?"p-2 space-y-2":"p-3 space-y-3"),children:[!av&&(0,b.jsxs)(b.Fragment,{children:[(0,b.jsxs)("div",{className:"flex items-center gap-3",children:[(0,b.jsxs)("div",{className:"relative shrink-0 overflow-hidden rounded-xl size-10 shadow-md ring-1 ring-white/10",children:[(0,b.jsx)(f.default,{src:"/sparke-coder.png",alt:"Sparke",width:40,height:40,className:"absolute inset-0 size-full object-cover",priority:!0}),(0,b.jsx)("video",{ref:T,src:"/sparkecode.mp4",muted:!0,loop:!0,playsInline:!0,className:(0,D.cn)("absolute inset-0 size-full object-cover transition-opacity duration-300",al?"opacity-100":"opacity-0")})]}),(0,b.jsxs)("div",{className:"flex flex-1 items-center justify-between min-w-0",children:[(0,b.jsx)("h1",{className:"text-lg font-bold text-foreground",children:"SparkECoder"}),(0,b.jsx)(A.TooltipProvider,{children:(0,b.jsxs)(A.Tooltip,{children:[(0,b.jsx)(A.TooltipTrigger,{asChild:!0,children:(0,b.jsx)(u.Button,{size:"icon",variant:"ghost",className:"size-7 hover:bg-accent transition-colors",onClick:G,children:(0,b.jsx)(m,{className:"size-4"})})}),(0,b.jsxs)(A.TooltipContent,{side:"bottom",children:["Collapse ",(0,b.jsx)("kbd",{className:"ml-1 text-[10px] opacity-60",children:"⌘B"})]})]})})]})]}),(0,b.jsxs)(u.Button,{onClick:aq,disabled:J,className:"w-full justify-center gap-2 h-9",children:[J?(0,b.jsx)(j.Loader2,{className:"size-4 animate-spin"}):(0,b.jsx)(g.Plus,{className:"size-4"}),"New Agent"]})]}),av&&(0,b.jsxs)("div",{className:"flex flex-col items-center gap-2 w-full",children:[(0,b.jsx)(A.TooltipProvider,{children:(0,b.jsxs)(A.Tooltip,{children:[(0,b.jsx)(A.TooltipTrigger,{asChild:!0,children:(0,b.jsx)(u.Button,{size:"icon",variant:"ghost",onClick:G,className:"size-8 mx-auto",children:(0,b.jsx)(n.PanelLeft,{className:"size-4"})})}),(0,b.jsxs)(A.TooltipContent,{side:"right",children:["Expand ",(0,b.jsx)("kbd",{className:"ml-1 text-[10px] opacity-60",children:"⌘B"})]})]})}),(0,b.jsxs)("div",{className:"relative overflow-hidden rounded-xl size-8 shadow-md ring-1 ring-white/10 mx-auto",children:[(0,b.jsx)(f.default,{src:"/sparke-coder.png",alt:"SparkECoder",width:32,height:32,className:"absolute inset-0 size-full object-cover",priority:!0}),(0,b.jsx)("video",{ref:T,src:"/sparkecode.mp4",muted:!0,loop:!0,playsInline:!0,className:(0,D.cn)("absolute inset-0 size-full object-cover transition-opacity duration-300",al?"opacity-100":"opacity-0")})]}),(0,b.jsx)(A.TooltipProvider,{children:(0,b.jsxs)(A.Tooltip,{children:[(0,b.jsx)(A.TooltipTrigger,{asChild:!0,children:(0,b.jsx)(u.Button,{size:"icon",onClick:aq,disabled:J,className:"size-8 mx-auto",children:J?(0,b.jsx)(j.Loader2,{className:"size-4 animate-spin"}):(0,b.jsx)(g.Plus,{className:"size-4"})})}),(0,b.jsx)(A.TooltipContent,{side:"right",children:"New Agent"})]})})]})]}),(0,b.jsx)(v.Dialog,{open:L,onOpenChange:a=>{M(a),a&&as()},children:(0,b.jsxs)(v.DialogContent,{className:"sm:max-w-md",children:[(0,b.jsx)(v.DialogHeader,{children:(0,b.jsxs)(v.DialogTitle,{className:"flex items-center gap-2",children:[(0,b.jsx)("div",{className:"size-8 rounded-lg bg-primary flex items-center justify-center",children:(0,b.jsx)(k.Settings,{className:"size-4 text-primary-foreground"})}),"New Agent"]})}),(0,b.jsxs)("div",{className:"space-y-4 pt-2",children:[(0,b.jsxs)("div",{className:"space-y-1.5",children:[(0,b.jsx)(x.Label,{htmlFor:"name",className:"text-sm font-medium",children:"Session Name"}),(0,b.jsx)(w.Input,{id:"name",placeholder:"My Coding Project (optional)",value:U,onChange:a=>V(a.target.value),className:"transition-all focus:ring-2 focus:ring-primary/20"})]}),(0,b.jsxs)("div",{className:"space-y-1.5",children:[(0,b.jsx)(x.Label,{className:"text-sm font-medium",children:"Model"}),(0,b.jsxs)(z.Select,{value:W,onValueChange:X,children:[(0,b.jsx)(z.SelectTrigger,{className:"transition-all hover:border-primary/50",children:(0,b.jsx)(z.SelectValue,{placeholder:"Select a model"})}),(0,b.jsx)(z.SelectContent,{children:P?.availableModels.map(a=>(0,b.jsx)(z.SelectItem,{value:a.id,children:(0,b.jsxs)("div",{className:"flex items-center gap-2",children:[(0,b.jsx)("span",{children:a.name}),(0,b.jsx)("span",{className:"text-xs text-muted-foreground",children:a.provider})]})},a.id))})]})]}),(0,b.jsxs)("div",{className:"space-y-2",children:[(0,b.jsx)(x.Label,{className:"flex items-center gap-2 text-sm font-medium",children:"Tool Approvals"}),(0,b.jsx)("p",{className:"text-xs text-muted-foreground -mt-0.5",children:"Toggle on to require approval before tool executes"}),(0,b.jsx)("div",{className:"space-y-1 rounded-lg border p-2.5 bg-muted/30",children:P?.availableTools.map(a=>(0,b.jsxs)("div",{className:"flex items-center justify-between py-1.5 hover:bg-muted/50 rounded px-2 -mx-1 transition-colors",children:[(0,b.jsxs)("div",{className:"space-y-0",children:[(0,b.jsxs)("div",{className:"flex items-center gap-2",children:[(0,b.jsx)("span",{className:"text-sm font-medium",children:a.name}),a.dangerous&&(0,b.jsx)("span",{className:"text-[10px] bg-amber-500/20 text-amber-600 dark:text-amber-400 px-1.5 py-0.5 rounded font-medium",children:"risky"})]}),(0,b.jsx)("p",{className:"text-[11px] text-muted-foreground",children:a.description})]}),(0,b.jsx)(y.Switch,{checked:Y[a.id]??!1,onCheckedChange:()=>au(a.id)})]},a.id))})]}),(0,b.jsxs)(u.Button,{onClick:ar,disabled:J,className:"w-full",children:[J?(0,b.jsx)(j.Loader2,{className:"size-4 animate-spin mr-2"}):(0,b.jsx)(g.Plus,{className:"size-4 mr-2"}),"Create Session"]})]})]})}),(0,b.jsx)(t.SidebarContent,{className:"px-2",children:(0,b.jsx)(t.SidebarGroup,{className:"p-0",children:(0,b.jsx)(t.SidebarGroupContent,{children:(0,b.jsx)(t.SidebarMenu,{className:"gap-1",children:I?(0,b.jsx)("div",{className:"flex justify-center py-8",children:(0,b.jsx)(j.Loader2,{className:"size-5 animate-spin text-muted-foreground"})}):0===H.length?!av&&(0,b.jsxs)("div",{className:"text-center py-8 px-4",children:[(0,b.jsxs)("div",{className:"relative overflow-hidden rounded-xl size-12 mx-auto mb-3 shadow-md ring-1 ring-white/10",children:[(0,b.jsx)(f.default,{src:"/sparke-coder.png",alt:"SparkECoder",width:48,height:48,className:"absolute inset-0 size-full object-cover"}),al&&(0,b.jsx)("video",{src:"/sparkecode.mp4",autoPlay:!0,muted:!0,loop:!0,playsInline:!0,className:"absolute inset-0 size-full object-cover"})]}),(0,b.jsx)("p",{className:"text-sm text-foreground",children:"No sessions yet"}),(0,b.jsx)("p",{className:"text-xs text-muted-foreground mt-1",children:"Click New Agent above"})]}):H.map(a=>{let c,d,f,g,j=a.id===aj,k=R===a.id,l=!0===a.isStreaming,m=!av&&(k||j);return(0,b.jsx)(t.SidebarMenuItem,{onMouseEnter:()=>S(a.id),onMouseLeave:()=>S(null),children:av?(0,b.jsx)(A.TooltipProvider,{children:(0,b.jsxs)(A.Tooltip,{children:[(0,b.jsx)(A.TooltipTrigger,{asChild:!0,children:(0,b.jsx)(e.default,{href:`${ak}/${a.id}`,className:(0,D.cn)("flex items-center justify-center size-8 rounded-lg transition-colors mx-auto",j?"bg-accent":"hover:bg-accent/60",l&&!j&&"bg-emerald-500/10"),children:l?(0,b.jsx)("span",{className:"size-2 rounded-full bg-emerald-500 animate-pulse"}):(0,b.jsx)(h.MessageSquare,{className:(0,D.cn)("size-4",j?"text-primary":"text-muted-foreground")})})}),(0,b.jsxs)(A.TooltipContent,{side:"right",children:[a.name||"Untitled",l&&" (Running)"]})]})}):(0,b.jsx)(t.SidebarMenuButton,{asChild:!0,isActive:j,className:(0,D.cn)("h-9 transition-all duration-150","hover:bg-accent/60",j&&"bg-accent",l&&!j&&"bg-emerald-500/5"),children:(0,b.jsxs)(e.default,{href:`${ak}/${a.id}`,className:"flex items-center gap-2.5 px-2",children:[l?(0,b.jsx)("span",{className:"size-2 rounded-full bg-emerald-500 animate-pulse shrink-0"}):(0,b.jsx)(h.MessageSquare,{className:(0,D.cn)("size-4 shrink-0",j?"text-primary":"text-muted-foreground")}),(0,b.jsx)("span",{className:(0,D.cn)("truncate flex-1 text-sm",l&&"text-emerald-600 dark:text-emerald-400"),children:a.name||"Untitled"}),m?(0,b.jsx)(A.TooltipProvider,{children:(0,b.jsxs)(A.Tooltip,{children:[(0,b.jsx)(A.TooltipTrigger,{asChild:!0,children:(0,b.jsx)(u.Button,{size:"icon",variant:"ghost",className:"size-6 shrink-0 hover:bg-destructive/10 hover:text-destructive transition-colors",onClick:b=>at(b,a.id),children:(0,b.jsx)(i.Trash2,{className:"size-3.5"})})}),(0,b.jsx)(A.TooltipContent,{side:"right",children:"Delete session"})]})}):l?(0,b.jsx)("span",{className:"inline-flex items-center gap-1 text-[10px] text-emerald-600 dark:text-emerald-400 shrink-0 font-medium",children:"Active"}):"waiting"===a.status?(0,b.jsx)("span",{className:"text-[10px] text-amber-600 dark:text-amber-400 shrink-0 font-medium",children:"Waiting"}):"error"===a.status?(0,b.jsx)("span",{className:"text-[10px] text-red-600 dark:text-red-400 shrink-0 font-medium",children:"Error"}):(0,b.jsx)("span",{className:"text-[11px] text-muted-foreground shrink-0 tabular-nums",children:(c=new Date(a.createdAt),g=Math.floor((f=Math.floor((d=Math.floor(Math.floor((new Date().getTime()-c.getTime())/1e3)/60))/60))/24),d<1?"now":d<60?`${d}m`:f<24?`${f}h`:g<7?`${g}d`:`${Math.floor(g/7)}w`)})]})})},a.id)})})})})}),(0,b.jsx)(t.SidebarFooter,{className:(0,D.cn)("border-t border-border/50",av?"p-2":"p-3"),children:(0,b.jsx)("div",{className:"flex items-center justify-between",children:av?(0,b.jsxs)("div",{className:"flex flex-col items-center gap-2 w-full",children:[(0,b.jsx)(A.TooltipProvider,{children:(0,b.jsxs)(A.Tooltip,{children:[(0,b.jsx)(A.TooltipTrigger,{asChild:!0,children:(0,b.jsx)("div",{className:"flex items-center justify-center",children:(0,b.jsx)("span",{className:(0,D.cn)("size-2 rounded-full",P?.serverConnected?"bg-emerald-500 animate-pulse":"bg-red-500")})})}),(0,b.jsx)(A.TooltipContent,{side:"right",children:P?.serverConnected?"Connected":"Disconnected"})]})}),(0,b.jsx)(v.Dialog,{open:N,onOpenChange:O,children:(0,b.jsx)(A.TooltipProvider,{children:(0,b.jsxs)(A.Tooltip,{children:[(0,b.jsx)(A.TooltipTrigger,{asChild:!0,children:(0,b.jsx)(v.DialogTrigger,{asChild:!0,children:(0,b.jsx)(u.Button,{size:"icon",variant:"ghost",className:"size-8",children:(0,b.jsx)(k.Settings,{className:"size-4"})})})}),(0,b.jsx)(A.TooltipContent,{side:"right",children:"Settings"})]})})})]}):(0,b.jsxs)(b.Fragment,{children:[(0,b.jsxs)("div",{className:"flex items-center gap-2 text-xs",children:[P?.serverConnected?(0,b.jsxs)("div",{className:"flex items-center gap-1.5 text-emerald-600 dark:text-emerald-400",children:[(0,b.jsx)("span",{className:"size-1.5 rounded-full bg-current animate-pulse"}),(0,b.jsx)("span",{children:"Connected"})]}):(0,b.jsxs)("div",{className:"flex items-center gap-1.5 text-red-500",children:[(0,b.jsx)("span",{className:"size-1.5 rounded-full bg-current"}),(0,b.jsx)("span",{children:"Disconnected"})]}),(0,b.jsx)("span",{className:"text-muted-foreground",children:"·"}),(0,b.jsx)("span",{className:"text-muted-foreground",children:H.length})]}),(0,b.jsxs)(v.Dialog,{open:N,onOpenChange:O,children:[(0,b.jsx)(A.TooltipProvider,{children:(0,b.jsxs)(A.Tooltip,{children:[(0,b.jsx)(A.TooltipTrigger,{asChild:!0,children:(0,b.jsx)(v.DialogTrigger,{asChild:!0,children:(0,b.jsx)(u.Button,{size:"icon",variant:"ghost",className:"size-7 hover:bg-accent transition-colors",children:(0,b.jsx)(k.Settings,{className:"size-4"})})})}),(0,b.jsx)(A.TooltipContent,{side:"top",children:"Settings"})]})}),(0,b.jsxs)(v.DialogContent,{className:"sm:max-w-md",children:[(0,b.jsx)(v.DialogHeader,{children:(0,b.jsxs)(v.DialogTitle,{className:"flex items-center gap-2",children:[(0,b.jsx)("div",{className:"size-8 rounded-lg bg-muted flex items-center justify-center",children:(0,b.jsx)(k.Settings,{className:"size-4"})}),"Settings"]})}),(0,b.jsxs)("div",{className:"space-y-4 pt-2",children:[(0,b.jsxs)("div",{className:"space-y-1.5",children:[(0,b.jsx)(x.Label,{className:"text-sm font-medium",children:"Default Model"}),(0,b.jsxs)(z.Select,{value:W,onValueChange:X,children:[(0,b.jsx)(z.SelectTrigger,{className:"transition-all hover:border-primary/50",children:(0,b.jsx)(z.SelectValue,{placeholder:"Select a model"})}),(0,b.jsx)(z.SelectContent,{children:P?.availableModels.map(a=>(0,b.jsx)(z.SelectItem,{value:a.id,children:(0,b.jsxs)("div",{className:"flex items-center gap-2",children:[(0,b.jsx)("span",{children:a.name}),(0,b.jsx)("span",{className:"text-xs text-muted-foreground",children:a.provider})]})},a.id))})]})]}),(0,b.jsxs)("div",{className:"space-y-2",children:[(0,b.jsx)(x.Label,{className:"flex items-center gap-2 text-sm font-medium",children:"Tool Approvals"}),(0,b.jsx)("p",{className:"text-xs text-muted-foreground -mt-0.5",children:"Toggle on to require approval before tool executes"}),(0,b.jsx)("div",{className:"space-y-1 rounded-lg border p-2.5 bg-muted/30",children:P?.availableTools.map(a=>(0,b.jsxs)("div",{className:"flex items-center justify-between py-1.5 hover:bg-muted/50 rounded px-2 -mx-1 transition-colors",children:[(0,b.jsxs)("div",{className:"space-y-0",children:[(0,b.jsxs)("div",{className:"flex items-center gap-2",children:[(0,b.jsx)("span",{className:"text-sm font-medium",children:a.name}),a.dangerous&&(0,b.jsx)("span",{className:"text-[10px] bg-amber-500/20 text-amber-600 dark:text-amber-400 px-1.5 py-0.5 rounded font-medium",children:"risky"})]}),(0,b.jsx)("p",{className:"text-[11px] text-muted-foreground",children:a.description})]}),(0,b.jsx)(y.Switch,{checked:Y[a.id]??!1,onCheckedChange:()=>au(a.id)})]},a.id))})]}),(0,b.jsxs)("div",{className:"space-y-2",children:[(0,b.jsxs)(x.Label,{className:"flex items-center gap-2 text-sm font-medium",children:[(0,b.jsx)(o.Key,{className:"size-4"}),"API Keys"]}),(0,b.jsx)("p",{className:"text-xs text-muted-foreground -mt-0.5",children:"Configure API keys for different providers. Keys are stored securely on your machine."}),(0,b.jsx)("div",{className:"space-y-1 rounded-lg border p-2.5 bg-muted/30",children:$.map(a=>(0,b.jsx)("div",{className:"py-1.5 hover:bg-muted/50 rounded px-2 -mx-1 transition-colors",children:aa===a.provider?(0,b.jsxs)("div",{className:"space-y-2",children:[(0,b.jsxs)("div",{className:"flex items-center justify-between",children:[(0,b.jsx)("span",{className:"text-sm font-medium capitalize",children:a.provider}),(0,b.jsx)("span",{className:"text-[10px] text-muted-foreground font-mono",children:a.envVar})]}),(0,b.jsxs)("div",{className:"flex gap-2",children:[(0,b.jsxs)("div",{className:"relative flex-1",children:[(0,b.jsx)(w.Input,{type:ae?"text":"password",value:ac,onChange:a=>ad(a.target.value),placeholder:"Paste your API key...",className:"pr-8 text-sm font-mono",autoFocus:!0}),(0,b.jsx)(u.Button,{type:"button",variant:"ghost",size:"icon",className:"absolute right-0 top-0 h-full px-2 hover:bg-transparent",onClick:()=>af(!ae),children:ae?(0,b.jsx)(s,{className:"size-4"}):(0,b.jsx)(r.default,{className:"size-4"})})]}),(0,b.jsx)(u.Button,{size:"icon",variant:"ghost",className:"shrink-0",onClick:()=>ao(a.provider),disabled:ag||!ac.trim(),children:ag?(0,b.jsx)(j.Loader2,{className:"size-4 animate-spin"}):(0,b.jsx)(p.Check,{className:"size-4 text-green-500"})}),(0,b.jsx)(u.Button,{size:"icon",variant:"ghost",className:"shrink-0",onClick:ap,children:(0,b.jsx)(q.X,{className:"size-4 text-muted-foreground"})})]})]}):(0,b.jsxs)("div",{className:"flex items-center justify-between",children:[(0,b.jsxs)("div",{className:"space-y-0",children:[(0,b.jsxs)("div",{className:"flex items-center gap-2",children:[(0,b.jsx)("span",{className:"text-sm font-medium capitalize",children:a.provider}),a.configured&&(0,b.jsx)("span",{className:(0,D.cn)("text-[10px] px-1.5 py-0.5 rounded font-medium","env"===a.source?"bg-blue-500/20 text-blue-600 dark:text-blue-400":"bg-green-500/20 text-green-600 dark:text-green-400"),children:"env"===a.source?"from env":"saved"})]}),(0,b.jsx)("p",{className:"text-[11px] text-muted-foreground font-mono",children:a.configured?a.maskedKey:"Not configured"})]}),(0,b.jsx)(u.Button,{size:"sm",variant:"ghost",className:"h-7 text-xs",onClick:()=>ab(a.provider),children:a.configured?"Update":"Add"})]})},a.provider))})]}),(0,b.jsx)("p",{className:"text-xs text-muted-foreground",children:"These settings apply to new sessions. You can also change the model per-session in the chat header."})]})]})]})]})})})]})}a.s(["SessionsSidebar",()=>F],881326)}];
1
+ module.exports=[881326,a=>{"use strict";var b=a.i(256856),c=a.i(755132),d=a.i(832315),e=a.i(546640),f=a.i(746881),g=a.i(916454),h=a.i(544244),i=a.i(762491),j=a.i(252831),k=a.i(179743),l=a.i(335520);let m=(0,l.default)("panel-left-close",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M9 3v18",key:"fh3hqa"}],["path",{d:"m16 15-3-3 3-3",key:"14y99z"}]]);var n=a.i(17655),o=a.i(221557),p=a.i(95041),q=a.i(300274),r=a.i(211487),r=r;let s=(0,l.default)("eye-off",[["path",{d:"M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575 1 1 0 0 1 0 .696 10.747 10.747 0 0 1-1.444 2.49",key:"ct8e1f"}],["path",{d:"M14.084 14.158a3 3 0 0 1-4.242-4.242",key:"151rxh"}],["path",{d:"M17.479 17.499a10.75 10.75 0 0 1-15.417-5.151 1 1 0 0 1 0-.696 10.75 10.75 0 0 1 4.446-5.143",key:"13bj9a"}],["path",{d:"m2 2 20 20",key:"1ooewy"}]]),t=(0,l.default)("volume-2",[["path",{d:"M11 4.702a.705.705 0 0 0-1.203-.498L6.413 7.587A1.4 1.4 0 0 1 5.416 8H3a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h2.416a1.4 1.4 0 0 1 .997.413l3.383 3.384A.705.705 0 0 0 11 19.298z",key:"uqj9uw"}],["path",{d:"M16 9a5 5 0 0 1 0 6",key:"1q6k2b"}],["path",{d:"M19.364 18.364a9 9 0 0 0 0-12.728",key:"ijwkga"}]]);var u=a.i(507031),v=a.i(476031),w=a.i(806634),x=a.i(338706),y=a.i(878137),z=a.i(679609),A=a.i(946253),B=a.i(670923),C=a.i(979412),D=a.i(555941),E=a.i(156033),F=a.i(828278),G=a.i(7478);function H(){let a=(0,d.useRouter)(),l=(0,d.usePathname)(),{state:H,toggleSidebar:I}=(0,u.useSidebar)(),{sessions:J,isLoading:K}=(0,F.useSessions)(),[L,M]=(0,c.useState)(!1),[N,O]=(0,c.useState)(!1),[P,Q]=(0,c.useState)(!1),[R,S]=(0,c.useState)(null),[T,U]=(0,c.useState)(null),V=(0,c.useRef)(null),[W,X]=(0,c.useState)(""),[Y,Z]=(0,c.useState)(""),[$,_]=(0,c.useState)({}),[aa,ab]=(0,c.useState)([]),[ac,ad]=(0,c.useState)(null),[ae,af]=(0,c.useState)(""),[ag,ah]=(0,c.useState)(!1),[ai,aj]=(0,c.useState)(!1),{enabled:ak,setEnabled:al}=(0,G.useNotificationSound)(),am=l.startsWith("/embed/"),an=l.startsWith("/session/")?l.split("/session/")[1]:l.startsWith("/embed/")?l.split("/embed/")[1]:null,ao=am?"/embed":"/session",ap=J.some(a=>a.isStreaming),aq=async()=>{let a=await (0,D.getConfig)();S(a),Z(a.defaultModel),_(a.defaultToolApprovals)},ar=async()=>{try{let a=await (0,C.getApiKeys)();ab(a.providers)}catch(a){console.error("Failed to load API keys:",a)}};(0,c.useEffect)(()=>{aq(),ar()},[]),(0,c.useEffect)(()=>{P&&ar()},[P]);let as=async a=>{if(ae.trim()){aj(!0);try{await (0,C.setApiKey)(a,ae),await ar(),ad(null),af(""),ah(!1)}catch(a){console.error("Failed to save API key:",a)}finally{aj(!1)}}},at=()=>{ad(null),af(""),ah(!1)};(0,c.useEffect)(()=>{V.current&&(ap?V.current.play().catch(()=>{}):(V.current.pause(),V.current.currentTime=0))},[ap]);let au=async()=>{if(!L){M(!0);try{let b=await (0,C.createSession)({name:`Session ${J.length+1}`,model:R?.defaultModel||"anthropic/claude-opus-4-6",toolApprovals:$});(0,F.mutateSessions)(),a.push(`${ao}/${b.id}`)}catch(a){console.error("Failed to create session:",a)}finally{M(!1)}}},av=async()=>{M(!0);try{let b=await (0,C.createSession)({name:W||`Session ${J.length+1}`,model:Y,toolApprovals:$});(0,F.mutateSessions)(),aw(),O(!1),a.push(`${ao}/${b.id}`)}catch(a){console.error("Failed to create session:",a)}finally{M(!1)}},aw=()=>{X(""),R&&(Z(R.defaultModel),_(R.defaultToolApprovals))},ax=async(b,c)=>{b.preventDefault(),b.stopPropagation();try{await (0,C.deleteSession)(c),(0,F.mutateSessions)(),an===c&&a.push("/")}catch(a){console.error("Failed to delete session:",a)}},ay=a=>{_(b=>({...b,[a]:!b[a]}))},az="collapsed"===H;return(0,b.jsxs)(u.Sidebar,{collapsible:am?"offcanvas":"icon",className:"border-r border-border/50",children:[(0,b.jsxs)(u.SidebarHeader,{className:(0,E.cn)(az?"p-2 space-y-2":"p-3 space-y-3"),children:[!az&&(0,b.jsxs)(b.Fragment,{children:[(0,b.jsxs)("div",{className:"flex items-center gap-3",children:[(0,b.jsxs)("div",{className:"relative shrink-0 overflow-hidden rounded-xl size-10 shadow-md ring-1 ring-white/10",children:[(0,b.jsx)(f.default,{src:"/sparke-coder.png",alt:"Sparke",width:40,height:40,className:"absolute inset-0 size-full object-cover",priority:!0}),(0,b.jsx)("video",{ref:V,src:"/sparkecode.mp4",muted:!0,loop:!0,playsInline:!0,className:(0,E.cn)("absolute inset-0 size-full object-cover transition-opacity duration-300",ap?"opacity-100":"opacity-0")})]}),(0,b.jsxs)("div",{className:"flex flex-1 items-center justify-between min-w-0",children:[(0,b.jsx)("h1",{className:"text-lg font-bold text-foreground",children:"SparkECoder"}),(0,b.jsx)(B.TooltipProvider,{children:(0,b.jsxs)(B.Tooltip,{children:[(0,b.jsx)(B.TooltipTrigger,{asChild:!0,children:(0,b.jsx)(v.Button,{size:"icon",variant:"ghost",className:"size-7 hover:bg-accent transition-colors",onClick:I,children:(0,b.jsx)(m,{className:"size-4"})})}),(0,b.jsxs)(B.TooltipContent,{side:"bottom",children:["Collapse ",(0,b.jsx)("kbd",{className:"ml-1 text-[10px] opacity-60",children:"⌘B"})]})]})})]})]}),(0,b.jsxs)(v.Button,{onClick:au,disabled:L,className:"w-full justify-center gap-2 h-9",children:[L?(0,b.jsx)(j.Loader2,{className:"size-4 animate-spin"}):(0,b.jsx)(g.Plus,{className:"size-4"}),"New Agent"]})]}),az&&(0,b.jsxs)("div",{className:"flex flex-col items-center gap-2 w-full",children:[(0,b.jsx)(B.TooltipProvider,{children:(0,b.jsxs)(B.Tooltip,{children:[(0,b.jsx)(B.TooltipTrigger,{asChild:!0,children:(0,b.jsx)(v.Button,{size:"icon",variant:"ghost",onClick:I,className:"size-8 mx-auto",children:(0,b.jsx)(n.PanelLeft,{className:"size-4"})})}),(0,b.jsxs)(B.TooltipContent,{side:"right",children:["Expand ",(0,b.jsx)("kbd",{className:"ml-1 text-[10px] opacity-60",children:"⌘B"})]})]})}),(0,b.jsxs)("div",{className:"relative overflow-hidden rounded-xl size-8 shadow-md ring-1 ring-white/10 mx-auto",children:[(0,b.jsx)(f.default,{src:"/sparke-coder.png",alt:"SparkECoder",width:32,height:32,className:"absolute inset-0 size-full object-cover",priority:!0}),(0,b.jsx)("video",{ref:V,src:"/sparkecode.mp4",muted:!0,loop:!0,playsInline:!0,className:(0,E.cn)("absolute inset-0 size-full object-cover transition-opacity duration-300",ap?"opacity-100":"opacity-0")})]}),(0,b.jsx)(B.TooltipProvider,{children:(0,b.jsxs)(B.Tooltip,{children:[(0,b.jsx)(B.TooltipTrigger,{asChild:!0,children:(0,b.jsx)(v.Button,{size:"icon",onClick:au,disabled:L,className:"size-8 mx-auto",children:L?(0,b.jsx)(j.Loader2,{className:"size-4 animate-spin"}):(0,b.jsx)(g.Plus,{className:"size-4"})})}),(0,b.jsx)(B.TooltipContent,{side:"right",children:"New Agent"})]})})]})]}),(0,b.jsx)(w.Dialog,{open:N,onOpenChange:a=>{O(a),a&&aw()},children:(0,b.jsxs)(w.DialogContent,{className:"sm:max-w-md",children:[(0,b.jsx)(w.DialogHeader,{children:(0,b.jsxs)(w.DialogTitle,{className:"flex items-center gap-2",children:[(0,b.jsx)("div",{className:"size-8 rounded-lg bg-primary flex items-center justify-center",children:(0,b.jsx)(k.Settings,{className:"size-4 text-primary-foreground"})}),"New Agent"]})}),(0,b.jsxs)("div",{className:"space-y-4 pt-2",children:[(0,b.jsxs)("div",{className:"space-y-1.5",children:[(0,b.jsx)(y.Label,{htmlFor:"name",className:"text-sm font-medium",children:"Session Name"}),(0,b.jsx)(x.Input,{id:"name",placeholder:"My Coding Project (optional)",value:W,onChange:a=>X(a.target.value),className:"transition-all focus:ring-2 focus:ring-primary/20"})]}),(0,b.jsxs)("div",{className:"space-y-1.5",children:[(0,b.jsx)(y.Label,{className:"text-sm font-medium",children:"Model"}),(0,b.jsxs)(A.Select,{value:Y,onValueChange:Z,children:[(0,b.jsx)(A.SelectTrigger,{className:"transition-all hover:border-primary/50",children:(0,b.jsx)(A.SelectValue,{placeholder:"Select a model"})}),(0,b.jsx)(A.SelectContent,{children:R?.availableModels.map(a=>(0,b.jsx)(A.SelectItem,{value:a.id,children:(0,b.jsxs)("div",{className:"flex items-center gap-2",children:[(0,b.jsx)("span",{children:a.name}),(0,b.jsx)("span",{className:"text-xs text-muted-foreground",children:a.provider})]})},a.id))})]})]}),(0,b.jsxs)("div",{className:"space-y-2",children:[(0,b.jsx)(y.Label,{className:"flex items-center gap-2 text-sm font-medium",children:"Tool Approvals"}),(0,b.jsx)("p",{className:"text-xs text-muted-foreground -mt-0.5",children:"Toggle on to require approval before tool executes"}),(0,b.jsx)("div",{className:"space-y-1 rounded-lg border p-2.5 bg-muted/30",children:R?.availableTools.map(a=>(0,b.jsxs)("div",{className:"flex items-center justify-between py-1.5 hover:bg-muted/50 rounded px-2 -mx-1 transition-colors",children:[(0,b.jsxs)("div",{className:"space-y-0",children:[(0,b.jsxs)("div",{className:"flex items-center gap-2",children:[(0,b.jsx)("span",{className:"text-sm font-medium",children:a.name}),a.dangerous&&(0,b.jsx)("span",{className:"text-[10px] bg-amber-500/20 text-amber-600 dark:text-amber-400 px-1.5 py-0.5 rounded font-medium",children:"risky"})]}),(0,b.jsx)("p",{className:"text-[11px] text-muted-foreground",children:a.description})]}),(0,b.jsx)(z.Switch,{checked:$[a.id]??!1,onCheckedChange:()=>ay(a.id)})]},a.id))})]}),(0,b.jsxs)(v.Button,{onClick:av,disabled:L,className:"w-full",children:[L?(0,b.jsx)(j.Loader2,{className:"size-4 animate-spin mr-2"}):(0,b.jsx)(g.Plus,{className:"size-4 mr-2"}),"Create Session"]})]})]})}),(0,b.jsx)(u.SidebarContent,{className:"px-2",children:(0,b.jsx)(u.SidebarGroup,{className:"p-0",children:(0,b.jsx)(u.SidebarGroupContent,{children:(0,b.jsx)(u.SidebarMenu,{className:"gap-1",children:K?(0,b.jsx)("div",{className:"flex justify-center py-8",children:(0,b.jsx)(j.Loader2,{className:"size-5 animate-spin text-muted-foreground"})}):0===J.length?!az&&(0,b.jsxs)("div",{className:"text-center py-8 px-4",children:[(0,b.jsxs)("div",{className:"relative overflow-hidden rounded-xl size-12 mx-auto mb-3 shadow-md ring-1 ring-white/10",children:[(0,b.jsx)(f.default,{src:"/sparke-coder.png",alt:"SparkECoder",width:48,height:48,className:"absolute inset-0 size-full object-cover"}),ap&&(0,b.jsx)("video",{src:"/sparkecode.mp4",autoPlay:!0,muted:!0,loop:!0,playsInline:!0,className:"absolute inset-0 size-full object-cover"})]}),(0,b.jsx)("p",{className:"text-sm text-foreground",children:"No sessions yet"}),(0,b.jsx)("p",{className:"text-xs text-muted-foreground mt-1",children:"Click New Agent above"})]}):J.map(a=>{let c,d,f,g,j=a.id===an,k=T===a.id,l=!0===a.isStreaming,m=!az&&(k||j);return(0,b.jsx)(u.SidebarMenuItem,{onMouseEnter:()=>U(a.id),onMouseLeave:()=>U(null),children:az?(0,b.jsx)(B.TooltipProvider,{children:(0,b.jsxs)(B.Tooltip,{children:[(0,b.jsx)(B.TooltipTrigger,{asChild:!0,children:(0,b.jsx)(e.default,{href:`${ao}/${a.id}`,className:(0,E.cn)("flex items-center justify-center size-8 rounded-lg transition-colors mx-auto",j?"bg-accent":"hover:bg-accent/60",l&&!j&&"bg-emerald-500/10"),children:l?(0,b.jsx)("span",{className:"size-2 rounded-full bg-emerald-500 animate-pulse"}):(0,b.jsx)(h.MessageSquare,{className:(0,E.cn)("size-4",j?"text-primary":"text-muted-foreground")})})}),(0,b.jsxs)(B.TooltipContent,{side:"right",children:[a.name||"Untitled",l&&" (Running)"]})]})}):(0,b.jsx)(u.SidebarMenuButton,{asChild:!0,isActive:j,className:(0,E.cn)("h-9 transition-all duration-150","hover:bg-accent/60",j&&"bg-accent",l&&!j&&"bg-emerald-500/5"),children:(0,b.jsxs)(e.default,{href:`${ao}/${a.id}`,className:"flex items-center gap-2.5 px-2",children:[l?(0,b.jsx)("span",{className:"size-2 rounded-full bg-emerald-500 animate-pulse shrink-0"}):(0,b.jsx)(h.MessageSquare,{className:(0,E.cn)("size-4 shrink-0",j?"text-primary":"text-muted-foreground")}),(0,b.jsx)("span",{className:(0,E.cn)("truncate flex-1 text-sm",l&&"text-emerald-600 dark:text-emerald-400"),children:a.name||"Untitled"}),m?(0,b.jsx)(B.TooltipProvider,{children:(0,b.jsxs)(B.Tooltip,{children:[(0,b.jsx)(B.TooltipTrigger,{asChild:!0,children:(0,b.jsx)(v.Button,{size:"icon",variant:"ghost",className:"size-6 shrink-0 hover:bg-destructive/10 hover:text-destructive transition-colors",onClick:b=>ax(b,a.id),children:(0,b.jsx)(i.Trash2,{className:"size-3.5"})})}),(0,b.jsx)(B.TooltipContent,{side:"right",children:"Delete session"})]})}):l?(0,b.jsx)("span",{className:"inline-flex items-center gap-1 text-[10px] text-emerald-600 dark:text-emerald-400 shrink-0 font-medium",children:"Active"}):"waiting"===a.status?(0,b.jsx)("span",{className:"text-[10px] text-amber-600 dark:text-amber-400 shrink-0 font-medium",children:"Waiting"}):"error"===a.status?(0,b.jsx)("span",{className:"text-[10px] text-red-600 dark:text-red-400 shrink-0 font-medium",children:"Error"}):(0,b.jsx)("span",{className:"text-[11px] text-muted-foreground shrink-0 tabular-nums",children:(c=new Date(a.createdAt),g=Math.floor((f=Math.floor((d=Math.floor(Math.floor((new Date().getTime()-c.getTime())/1e3)/60))/60))/24),d<1?"now":d<60?`${d}m`:f<24?`${f}h`:g<7?`${g}d`:`${Math.floor(g/7)}w`)})]})})},a.id)})})})})}),(0,b.jsx)(u.SidebarFooter,{className:(0,E.cn)("border-t border-border/50",az?"p-2":"p-3"),children:(0,b.jsx)("div",{className:"flex items-center justify-between",children:az?(0,b.jsxs)("div",{className:"flex flex-col items-center gap-2 w-full",children:[(0,b.jsx)(B.TooltipProvider,{children:(0,b.jsxs)(B.Tooltip,{children:[(0,b.jsx)(B.TooltipTrigger,{asChild:!0,children:(0,b.jsx)("div",{className:"flex items-center justify-center",children:(0,b.jsx)("span",{className:(0,E.cn)("size-2 rounded-full",R?.serverConnected?"bg-emerald-500 animate-pulse":"bg-red-500")})})}),(0,b.jsx)(B.TooltipContent,{side:"right",children:R?.serverConnected?"Connected":"Disconnected"})]})}),(0,b.jsx)(w.Dialog,{open:P,onOpenChange:Q,children:(0,b.jsx)(B.TooltipProvider,{children:(0,b.jsxs)(B.Tooltip,{children:[(0,b.jsx)(B.TooltipTrigger,{asChild:!0,children:(0,b.jsx)(w.DialogTrigger,{asChild:!0,children:(0,b.jsx)(v.Button,{size:"icon",variant:"ghost",className:"size-8",children:(0,b.jsx)(k.Settings,{className:"size-4"})})})}),(0,b.jsx)(B.TooltipContent,{side:"right",children:"Settings"})]})})})]}):(0,b.jsxs)(b.Fragment,{children:[(0,b.jsxs)("div",{className:"flex items-center gap-2 text-xs",children:[R?.serverConnected?(0,b.jsxs)("div",{className:"flex items-center gap-1.5 text-emerald-600 dark:text-emerald-400",children:[(0,b.jsx)("span",{className:"size-1.5 rounded-full bg-current animate-pulse"}),(0,b.jsx)("span",{children:"Connected"})]}):(0,b.jsxs)("div",{className:"flex items-center gap-1.5 text-red-500",children:[(0,b.jsx)("span",{className:"size-1.5 rounded-full bg-current"}),(0,b.jsx)("span",{children:"Disconnected"})]}),(0,b.jsx)("span",{className:"text-muted-foreground",children:"·"}),(0,b.jsx)("span",{className:"text-muted-foreground",children:J.length})]}),(0,b.jsxs)(w.Dialog,{open:P,onOpenChange:Q,children:[(0,b.jsx)(B.TooltipProvider,{children:(0,b.jsxs)(B.Tooltip,{children:[(0,b.jsx)(B.TooltipTrigger,{asChild:!0,children:(0,b.jsx)(w.DialogTrigger,{asChild:!0,children:(0,b.jsx)(v.Button,{size:"icon",variant:"ghost",className:"size-7 hover:bg-accent transition-colors",children:(0,b.jsx)(k.Settings,{className:"size-4"})})})}),(0,b.jsx)(B.TooltipContent,{side:"top",children:"Settings"})]})}),(0,b.jsxs)(w.DialogContent,{className:"sm:max-w-md",children:[(0,b.jsx)(w.DialogHeader,{children:(0,b.jsxs)(w.DialogTitle,{className:"flex items-center gap-2",children:[(0,b.jsx)("div",{className:"size-8 rounded-lg bg-muted flex items-center justify-center",children:(0,b.jsx)(k.Settings,{className:"size-4"})}),"Settings"]})}),(0,b.jsxs)("div",{className:"space-y-4 pt-2",children:[(0,b.jsxs)("div",{className:"space-y-1.5",children:[(0,b.jsx)(y.Label,{className:"text-sm font-medium",children:"Default Model"}),(0,b.jsxs)(A.Select,{value:Y,onValueChange:Z,children:[(0,b.jsx)(A.SelectTrigger,{className:"transition-all hover:border-primary/50",children:(0,b.jsx)(A.SelectValue,{placeholder:"Select a model"})}),(0,b.jsx)(A.SelectContent,{children:R?.availableModels.map(a=>(0,b.jsx)(A.SelectItem,{value:a.id,children:(0,b.jsxs)("div",{className:"flex items-center gap-2",children:[(0,b.jsx)("span",{children:a.name}),(0,b.jsx)("span",{className:"text-xs text-muted-foreground",children:a.provider})]})},a.id))})]})]}),(0,b.jsxs)("div",{className:"space-y-2",children:[(0,b.jsx)(y.Label,{className:"flex items-center gap-2 text-sm font-medium",children:"Tool Approvals"}),(0,b.jsx)("p",{className:"text-xs text-muted-foreground -mt-0.5",children:"Toggle on to require approval before tool executes"}),(0,b.jsx)("div",{className:"space-y-1 rounded-lg border p-2.5 bg-muted/30",children:R?.availableTools.map(a=>(0,b.jsxs)("div",{className:"flex items-center justify-between py-1.5 hover:bg-muted/50 rounded px-2 -mx-1 transition-colors",children:[(0,b.jsxs)("div",{className:"space-y-0",children:[(0,b.jsxs)("div",{className:"flex items-center gap-2",children:[(0,b.jsx)("span",{className:"text-sm font-medium",children:a.name}),a.dangerous&&(0,b.jsx)("span",{className:"text-[10px] bg-amber-500/20 text-amber-600 dark:text-amber-400 px-1.5 py-0.5 rounded font-medium",children:"risky"})]}),(0,b.jsx)("p",{className:"text-[11px] text-muted-foreground",children:a.description})]}),(0,b.jsx)(z.Switch,{checked:$[a.id]??!1,onCheckedChange:()=>ay(a.id)})]},a.id))})]}),(0,b.jsxs)("div",{className:"space-y-2",children:[(0,b.jsxs)(y.Label,{className:"flex items-center gap-2 text-sm font-medium",children:[(0,b.jsx)(o.Key,{className:"size-4"}),"API Keys"]}),(0,b.jsx)("p",{className:"text-xs text-muted-foreground -mt-0.5",children:"Configure API keys for different providers. Keys are stored securely on your machine."}),(0,b.jsx)("div",{className:"space-y-1 rounded-lg border p-2.5 bg-muted/30",children:aa.map(a=>(0,b.jsx)("div",{className:"py-1.5 hover:bg-muted/50 rounded px-2 -mx-1 transition-colors",children:ac===a.provider?(0,b.jsxs)("div",{className:"space-y-2",children:[(0,b.jsxs)("div",{className:"flex items-center justify-between",children:[(0,b.jsx)("span",{className:"text-sm font-medium capitalize",children:a.provider}),(0,b.jsx)("span",{className:"text-[10px] text-muted-foreground font-mono",children:a.envVar})]}),(0,b.jsxs)("div",{className:"flex gap-2",children:[(0,b.jsxs)("div",{className:"relative flex-1",children:[(0,b.jsx)(x.Input,{type:ag?"text":"password",value:ae,onChange:a=>af(a.target.value),placeholder:"Paste your API key...",className:"pr-8 text-sm font-mono",autoFocus:!0}),(0,b.jsx)(v.Button,{type:"button",variant:"ghost",size:"icon",className:"absolute right-0 top-0 h-full px-2 hover:bg-transparent",onClick:()=>ah(!ag),children:ag?(0,b.jsx)(s,{className:"size-4"}):(0,b.jsx)(r.default,{className:"size-4"})})]}),(0,b.jsx)(v.Button,{size:"icon",variant:"ghost",className:"shrink-0",onClick:()=>as(a.provider),disabled:ai||!ae.trim(),children:ai?(0,b.jsx)(j.Loader2,{className:"size-4 animate-spin"}):(0,b.jsx)(p.Check,{className:"size-4 text-green-500"})}),(0,b.jsx)(v.Button,{size:"icon",variant:"ghost",className:"shrink-0",onClick:at,children:(0,b.jsx)(q.X,{className:"size-4 text-muted-foreground"})})]})]}):(0,b.jsxs)("div",{className:"flex items-center justify-between",children:[(0,b.jsxs)("div",{className:"space-y-0",children:[(0,b.jsxs)("div",{className:"flex items-center gap-2",children:[(0,b.jsx)("span",{className:"text-sm font-medium capitalize",children:a.provider}),a.configured&&(0,b.jsx)("span",{className:(0,E.cn)("text-[10px] px-1.5 py-0.5 rounded font-medium","env"===a.source?"bg-blue-500/20 text-blue-600 dark:text-blue-400":"bg-green-500/20 text-green-600 dark:text-green-400"),children:"env"===a.source?"from env":"saved"})]}),(0,b.jsx)("p",{className:"text-[11px] text-muted-foreground font-mono",children:a.configured?a.maskedKey:"Not configured"})]}),(0,b.jsx)(v.Button,{size:"sm",variant:"ghost",className:"h-7 text-xs",onClick:()=>ad(a.provider),children:a.configured?"Update":"Add"})]})},a.provider))})]}),(0,b.jsxs)("div",{className:"space-y-1.5",children:[(0,b.jsxs)(y.Label,{className:"flex items-center gap-2 text-sm font-medium",children:[(0,b.jsx)(t,{className:"size-4"}),"Notification Sound"]}),(0,b.jsxs)("div",{className:"flex items-center justify-between rounded-lg border p-2.5 bg-muted/30",children:[(0,b.jsxs)("div",{className:"space-y-0",children:[(0,b.jsx)("span",{className:"text-sm font-medium",children:"Play sound when done"}),(0,b.jsx)("p",{className:"text-[11px] text-muted-foreground",children:"Ding when the assistant finishes responding"})]}),(0,b.jsx)(z.Switch,{checked:ak,onCheckedChange:al})]})]}),(0,b.jsx)("p",{className:"text-xs text-muted-foreground",children:"These settings apply to new sessions. You can also change the model per-session in the chat header."})]})]})]})]})})})]})}a.s(["SessionsSidebar",()=>H],881326)}];
2
2
 
3
3
  //# sourceMappingURL=web_src_components_sessions-sidebar_tsx_92510070._.js.map
@@ -1 +1 @@
1
- <!DOCTYPE html><!--PL5DsSghvjeqtWcOBQ9Qh--><html lang="en" class="dark"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=5"/><link rel="stylesheet" href="/_next/static/chunks/2473c16c0c2f6b5f.css" data-precedence="next"/><link rel="stylesheet" href="/_next/static/chunks/de300ff10b63be85.css" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/651e187cc15d66de.js"/><script src="/_next/static/chunks/b9ad1584d4e11d12.js" async=""></script><script src="/_next/static/chunks/a14243261b055626.js" async=""></script><script src="/_next/static/chunks/186e0c1b3ff43c9c.js" async=""></script><script src="/_next/static/chunks/862ced58ce21a270.js" async=""></script><script src="/_next/static/chunks/turbopack-597558bb7b6982f6.js" async=""></script><script src="/_next/static/chunks/b31b0765abe0c427.js" async=""></script><script src="/_next/static/chunks/9b5512fb633ef95d.js" async=""></script><script src="/_next/static/chunks/0f1cf11540868e42.js" async=""></script><meta name="robots" content="noindex"/><meta name="next-size-adjust" content=""/><title>404: This page could not be found.</title><meta name="theme-color" media="(prefers-color-scheme: light)" content="#ffffff"/><meta name="theme-color" media="(prefers-color-scheme: dark)" content="#0a0a0a"/><title>SparkeCoder - AI-Powered Coding Agent</title><meta name="description" content="SparkeCoder is your AI-powered coding assistant. Build, debug, and ship code faster with intelligent automation and natural language programming."/><meta name="author" content="SparkeCoder Team"/><link rel="manifest" href="/manifest.json"/><meta name="keywords" content="AI coding assistant,code automation,AI programming,developer tools,coding agent,SparkeCoder,AI pair programming"/><meta name="creator" content="SparkeCoder"/><meta name="publisher" content="SparkeCoder"/><meta name="robots" content="index, follow"/><meta name="googlebot" content="index, follow, max-video-preview:-1, max-image-preview:large, max-snippet:-1"/><meta name="category" content="technology"/><meta name="format-detection" content="telephone=no"/><meta name="mobile-web-app-capable" content="yes"/><meta name="apple-mobile-web-app-title" content="SparkeCoder"/><meta name="apple-mobile-web-app-status-bar-style" content="black-translucent"/><meta property="og:title" content="SparkeCoder - AI-Powered Coding Agent"/><meta property="og:description" content="Build, debug, and ship code faster with intelligent AI automation and natural language programming."/><meta property="og:site_name" content="SparkeCoder"/><meta property="og:locale" content="en_US"/><meta property="og:image" content="http://localhost:3001/opengraph-image.png?opengraph-image.ce342317.png"/><meta property="og:image:width" content="512"/><meta property="og:image:height" content="512"/><meta property="og:image:type" content="image/png"/><meta property="og:type" content="website"/><meta name="twitter:card" content="summary_large_image"/><meta name="twitter:title" content="SparkeCoder - AI-Powered Coding Agent"/><meta name="twitter:description" content="Build, debug, and ship code faster with intelligent AI automation and natural language programming."/><meta name="twitter:image" content="http://localhost:3001/twitter-image.png?twitter-image.ce342317.png"/><meta name="twitter:image:width" content="512"/><meta name="twitter:image:height" content="512"/><meta name="twitter:image:type" content="image/png"/><link rel="icon" href="/favicon.ico?favicon.e3cbed1b.ico" sizes="256x256" type="image/x-icon"/><link rel="icon" href="/icon.png?icon.fdefec0f.png" sizes="32x32" type="image/png"/><link rel="apple-touch-icon" href="/apple-icon.png?apple-icon.d6d14cbd.png" sizes="180x180" type="image/png"/><script src="/_next/static/chunks/a6dad97d9634a72d.js" noModule=""></script></head><body class="geist_a71539c9-module__T19VSG__variable geist_mono_8d43a2aa-module__8Li5zG__variable antialiased"><div hidden=""><!--$--><!--/$--></div><div style="font-family:system-ui,&quot;Segoe UI&quot;,Roboto,Helvetica,Arial,sans-serif,&quot;Apple Color Emoji&quot;,&quot;Segoe UI Emoji&quot;;height:100vh;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center"><div><style>body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}</style><h1 class="next-error-h1" style="display:inline-block;margin:0 20px 0 0;padding:0 23px 0 0;font-size:24px;font-weight:500;vertical-align:top;line-height:49px">404</h1><div style="display:inline-block"><h2 style="font-size:14px;font-weight:400;line-height:49px;margin:0">This page could not be found.</h2></div></div></div><!--$--><!--/$--><script src="/_next/static/chunks/651e187cc15d66de.js" id="_R_" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0])</script><script>self.__next_f.push([1,"1:\"$Sreact.fragment\"\n2:I[760800,[\"/_next/static/chunks/b31b0765abe0c427.js\"],\"ApiInit\"]\n3:I[488287,[\"/_next/static/chunks/9b5512fb633ef95d.js\",\"/_next/static/chunks/0f1cf11540868e42.js\"],\"default\"]\n4:I[174895,[\"/_next/static/chunks/9b5512fb633ef95d.js\",\"/_next/static/chunks/0f1cf11540868e42.js\"],\"default\"]\n5:I[151858,[\"/_next/static/chunks/9b5512fb633ef95d.js\",\"/_next/static/chunks/0f1cf11540868e42.js\"],\"OutletBoundary\"]\n6:\"$Sreact.suspense\"\n8:I[151858,[\"/_next/static/chunks/9b5512fb633ef95d.js\",\"/_next/static/chunks/0f1cf11540868e42.js\"],\"ViewportBoundary\"]\na:I[151858,[\"/_next/static/chunks/9b5512fb633ef95d.js\",\"/_next/static/chunks/0f1cf11540868e42.js\"],\"MetadataBoundary\"]\nc:I[552576,[\"/_next/static/chunks/9b5512fb633ef95d.js\",\"/_next/static/chunks/0f1cf11540868e42.js\"],\"default\"]\n:HL[\"/_next/static/chunks/2473c16c0c2f6b5f.css\",\"style\"]\n:HL[\"/_next/static/chunks/de300ff10b63be85.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"0:{\"P\":null,\"b\":\"PL5DsSghvjeqtWcOBQ9Qh\",\"c\":[\"\",\"_not-found\"],\"q\":\"\",\"i\":false,\"f\":[[[\"\",{\"children\":[\"/_not-found\",{\"children\":[\"__PAGE__\",{}]}]},\"$undefined\",\"$undefined\",true],[[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/chunks/2473c16c0c2f6b5f.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}],[\"$\",\"link\",\"1\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/chunks/de300ff10b63be85.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-0\",{\"src\":\"/_next/static/chunks/b31b0765abe0c427.js\",\"async\":true,\"nonce\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"en\",\"className\":\"dark\",\"children\":[\"$\",\"body\",null,{\"className\":\"geist_a71539c9-module__T19VSG__variable geist_mono_8d43a2aa-module__8Li5zG__variable antialiased\",\"children\":[[\"$\",\"$L2\",null,{}],[\"$\",\"$L3\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L4\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":[[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"textAlign\":\"center\",\"display\":\"flex\",\"flexDirection\":\"column\",\"alignItems\":\"center\",\"justifyContent\":\"center\"},\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"},\"children\":404}],[\"$\",\"div\",null,{\"style\":{\"display\":\"inline-block\"},\"children\":[\"$\",\"h2\",null,{\"style\":{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0},\"children\":\"This page could not be found.\"}]}]]}]}]],[]],\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}]}]]}],{\"children\":[[\"$\",\"$1\",\"c\",{\"children\":[null,[\"$\",\"$L3\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L4\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}],{\"children\":[[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":\"$0:f:0:1:0:props:children:1:props:children:props:children:1:props:notFound:0:1:props:style\",\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":\"$0:f:0:1:0:props:children:1:props:children:props:children:1:props:notFound:0:1:props:children:props:children:1:props:style\",\"children\":404}],[\"$\",\"div\",null,{\"style\":\"$0:f:0:1:0:props:children:1:props:children:props:children:1:props:notFound:0:1:props:children:props:children:2:props:style\",\"children\":[\"$\",\"h2\",null,{\"style\":\"$0:f:0:1:0:props:children:1:props:children:props:children:1:props:notFound:0:1:props:children:props:children:2:props:children:props:style\",\"children\":\"This page could not be found.\"}]}]]}]}]],null,[\"$\",\"$L5\",null,{\"children\":[\"$\",\"$6\",null,{\"name\":\"Next.MetadataOutlet\",\"children\":\"$@7\"}]}]]}],{},null,false,false]},null,false,false]},null,false,false],[\"$\",\"$1\",\"h\",{\"children\":[[\"$\",\"meta\",null,{\"name\":\"robots\",\"content\":\"noindex\"}],[\"$\",\"$L8\",null,{\"children\":\"$L9\"}],[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$La\",null,{\"children\":[\"$\",\"$6\",null,{\"name\":\"Next.Metadata\",\"children\":\"$Lb\"}]}]}],[\"$\",\"meta\",null,{\"name\":\"next-size-adjust\",\"content\":\"\"}]]}],false]],\"m\":\"$undefined\",\"G\":[\"$c\",\"$undefined\"],\"S\":true}\n"])</script><script>self.__next_f.push([1,"9:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1, maximum-scale=5\"}],[\"$\",\"meta\",\"2\",{\"name\":\"theme-color\",\"media\":\"(prefers-color-scheme: light)\",\"content\":\"#ffffff\"}],[\"$\",\"meta\",\"3\",{\"name\":\"theme-color\",\"media\":\"(prefers-color-scheme: dark)\",\"content\":\"#0a0a0a\"}]]\n"])</script><script>self.__next_f.push([1,"d:I[349310,[\"/_next/static/chunks/9b5512fb633ef95d.js\",\"/_next/static/chunks/0f1cf11540868e42.js\"],\"IconMark\"]\n7:null\n"])</script><script>self.__next_f.push([1,"b:[[\"$\",\"title\",\"0\",{\"children\":\"SparkeCoder - AI-Powered Coding Agent\"}],[\"$\",\"meta\",\"1\",{\"name\":\"description\",\"content\":\"SparkeCoder is your AI-powered coding assistant. Build, debug, and ship code faster with intelligent automation and natural language programming.\"}],[\"$\",\"meta\",\"2\",{\"name\":\"author\",\"content\":\"SparkeCoder Team\"}],[\"$\",\"link\",\"3\",{\"rel\":\"manifest\",\"href\":\"/manifest.json\",\"crossOrigin\":\"$undefined\"}],[\"$\",\"meta\",\"4\",{\"name\":\"keywords\",\"content\":\"AI coding assistant,code automation,AI programming,developer tools,coding agent,SparkeCoder,AI pair programming\"}],[\"$\",\"meta\",\"5\",{\"name\":\"creator\",\"content\":\"SparkeCoder\"}],[\"$\",\"meta\",\"6\",{\"name\":\"publisher\",\"content\":\"SparkeCoder\"}],[\"$\",\"meta\",\"7\",{\"name\":\"robots\",\"content\":\"index, follow\"}],[\"$\",\"meta\",\"8\",{\"name\":\"googlebot\",\"content\":\"index, follow, max-video-preview:-1, max-image-preview:large, max-snippet:-1\"}],[\"$\",\"meta\",\"9\",{\"name\":\"category\",\"content\":\"technology\"}],[\"$\",\"meta\",\"10\",{\"name\":\"format-detection\",\"content\":\"telephone=no\"}],[\"$\",\"meta\",\"11\",{\"name\":\"mobile-web-app-capable\",\"content\":\"yes\"}],[\"$\",\"meta\",\"12\",{\"name\":\"apple-mobile-web-app-title\",\"content\":\"SparkeCoder\"}],[\"$\",\"meta\",\"13\",{\"name\":\"apple-mobile-web-app-status-bar-style\",\"content\":\"black-translucent\"}],[\"$\",\"meta\",\"14\",{\"property\":\"og:title\",\"content\":\"SparkeCoder - AI-Powered Coding Agent\"}],[\"$\",\"meta\",\"15\",{\"property\":\"og:description\",\"content\":\"Build, debug, and ship code faster with intelligent AI automation and natural language programming.\"}],[\"$\",\"meta\",\"16\",{\"property\":\"og:site_name\",\"content\":\"SparkeCoder\"}],[\"$\",\"meta\",\"17\",{\"property\":\"og:locale\",\"content\":\"en_US\"}],[\"$\",\"meta\",\"18\",{\"property\":\"og:image\",\"content\":\"http://localhost:3001/opengraph-image.png?opengraph-image.ce342317.png\"}],[\"$\",\"meta\",\"19\",{\"property\":\"og:image:width\",\"content\":\"512\"}],[\"$\",\"meta\",\"20\",{\"property\":\"og:image:height\",\"content\":\"512\"}],[\"$\",\"meta\",\"21\",{\"property\":\"og:image:type\",\"content\":\"image/png\"}],[\"$\",\"meta\",\"22\",{\"property\":\"og:type\",\"content\":\"website\"}],[\"$\",\"meta\",\"23\",{\"name\":\"twitter:card\",\"content\":\"summary_large_image\"}],[\"$\",\"meta\",\"24\",{\"name\":\"twitter:title\",\"content\":\"SparkeCoder - AI-Powered Coding Agent\"}],[\"$\",\"meta\",\"25\",{\"name\":\"twitter:description\",\"content\":\"Build, debug, and ship code faster with intelligent AI automation and natural language programming.\"}],[\"$\",\"meta\",\"26\",{\"name\":\"twitter:image\",\"content\":\"http://localhost:3001/twitter-image.png?twitter-image.ce342317.png\"}],[\"$\",\"meta\",\"27\",{\"name\":\"twitter:image:width\",\"content\":\"512\"}],[\"$\",\"meta\",\"28\",{\"name\":\"twitter:image:height\",\"content\":\"512\"}],[\"$\",\"meta\",\"29\",{\"name\":\"twitter:image:type\",\"content\":\"image/png\"}],[\"$\",\"link\",\"30\",{\"rel\":\"icon\",\"href\":\"/favicon.ico?favicon.e3cbed1b.ico\",\"sizes\":\"256x256\",\"type\":\"image/x-icon\"}],[\"$\",\"link\",\"31\",{\"rel\":\"icon\",\"href\":\"/icon.png?icon.fdefec0f.png\",\"sizes\":\"32x32\",\"type\":\"image/png\"}],[\"$\",\"link\",\"32\",{\"rel\":\"apple-touch-icon\",\"href\":\"/apple-icon.png?apple-icon.d6d14cbd.png\",\"sizes\":\"180x180\",\"type\":\"image/png\"}],[\"$\",\"$Ld\",\"33\",{}]]\n"])</script></body></html>
1
+ <!DOCTYPE html><!--OpS0l4dUAiyM_f_IQW4mJ--><html lang="en" class="dark"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=5"/><link rel="stylesheet" href="/_next/static/chunks/2473c16c0c2f6b5f.css" data-precedence="next"/><link rel="stylesheet" href="/_next/static/chunks/7228b2394d1fb347.css" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/651e187cc15d66de.js"/><script src="/_next/static/chunks/b9ad1584d4e11d12.js" async=""></script><script src="/_next/static/chunks/a14243261b055626.js" async=""></script><script src="/_next/static/chunks/186e0c1b3ff43c9c.js" async=""></script><script src="/_next/static/chunks/862ced58ce21a270.js" async=""></script><script src="/_next/static/chunks/turbopack-597558bb7b6982f6.js" async=""></script><script src="/_next/static/chunks/b31b0765abe0c427.js" async=""></script><script src="/_next/static/chunks/9b5512fb633ef95d.js" async=""></script><script src="/_next/static/chunks/0f1cf11540868e42.js" async=""></script><meta name="robots" content="noindex"/><meta name="next-size-adjust" content=""/><title>404: This page could not be found.</title><meta name="theme-color" media="(prefers-color-scheme: light)" content="#ffffff"/><meta name="theme-color" media="(prefers-color-scheme: dark)" content="#0a0a0a"/><title>SparkeCoder - AI-Powered Coding Agent</title><meta name="description" content="SparkeCoder is your AI-powered coding assistant. Build, debug, and ship code faster with intelligent automation and natural language programming."/><meta name="author" content="SparkeCoder Team"/><link rel="manifest" href="/manifest.json"/><meta name="keywords" content="AI coding assistant,code automation,AI programming,developer tools,coding agent,SparkeCoder,AI pair programming"/><meta name="creator" content="SparkeCoder"/><meta name="publisher" content="SparkeCoder"/><meta name="robots" content="index, follow"/><meta name="googlebot" content="index, follow, max-video-preview:-1, max-image-preview:large, max-snippet:-1"/><meta name="category" content="technology"/><meta name="format-detection" content="telephone=no"/><meta name="mobile-web-app-capable" content="yes"/><meta name="apple-mobile-web-app-title" content="SparkeCoder"/><meta name="apple-mobile-web-app-status-bar-style" content="black-translucent"/><meta property="og:title" content="SparkeCoder - AI-Powered Coding Agent"/><meta property="og:description" content="Build, debug, and ship code faster with intelligent AI automation and natural language programming."/><meta property="og:site_name" content="SparkeCoder"/><meta property="og:locale" content="en_US"/><meta property="og:image" content="http://localhost:3001/opengraph-image.png?opengraph-image.ce342317.png"/><meta property="og:image:width" content="512"/><meta property="og:image:height" content="512"/><meta property="og:image:type" content="image/png"/><meta property="og:type" content="website"/><meta name="twitter:card" content="summary_large_image"/><meta name="twitter:title" content="SparkeCoder - AI-Powered Coding Agent"/><meta name="twitter:description" content="Build, debug, and ship code faster with intelligent AI automation and natural language programming."/><meta name="twitter:image" content="http://localhost:3001/twitter-image.png?twitter-image.ce342317.png"/><meta name="twitter:image:width" content="512"/><meta name="twitter:image:height" content="512"/><meta name="twitter:image:type" content="image/png"/><link rel="icon" href="/favicon.ico?favicon.e3cbed1b.ico" sizes="256x256" type="image/x-icon"/><link rel="icon" href="/icon.png?icon.fdefec0f.png" sizes="32x32" type="image/png"/><link rel="apple-touch-icon" href="/apple-icon.png?apple-icon.d6d14cbd.png" sizes="180x180" type="image/png"/><script src="/_next/static/chunks/a6dad97d9634a72d.js" noModule=""></script></head><body class="geist_a71539c9-module__T19VSG__variable geist_mono_8d43a2aa-module__8Li5zG__variable antialiased"><div hidden=""><!--$--><!--/$--></div><div style="font-family:system-ui,&quot;Segoe UI&quot;,Roboto,Helvetica,Arial,sans-serif,&quot;Apple Color Emoji&quot;,&quot;Segoe UI Emoji&quot;;height:100vh;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center"><div><style>body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}</style><h1 class="next-error-h1" style="display:inline-block;margin:0 20px 0 0;padding:0 23px 0 0;font-size:24px;font-weight:500;vertical-align:top;line-height:49px">404</h1><div style="display:inline-block"><h2 style="font-size:14px;font-weight:400;line-height:49px;margin:0">This page could not be found.</h2></div></div></div><!--$--><!--/$--><script src="/_next/static/chunks/651e187cc15d66de.js" id="_R_" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0])</script><script>self.__next_f.push([1,"1:\"$Sreact.fragment\"\n2:I[760800,[\"/_next/static/chunks/b31b0765abe0c427.js\"],\"ApiInit\"]\n3:I[488287,[\"/_next/static/chunks/9b5512fb633ef95d.js\",\"/_next/static/chunks/0f1cf11540868e42.js\"],\"default\"]\n4:I[174895,[\"/_next/static/chunks/9b5512fb633ef95d.js\",\"/_next/static/chunks/0f1cf11540868e42.js\"],\"default\"]\n5:I[151858,[\"/_next/static/chunks/9b5512fb633ef95d.js\",\"/_next/static/chunks/0f1cf11540868e42.js\"],\"OutletBoundary\"]\n6:\"$Sreact.suspense\"\n8:I[151858,[\"/_next/static/chunks/9b5512fb633ef95d.js\",\"/_next/static/chunks/0f1cf11540868e42.js\"],\"ViewportBoundary\"]\na:I[151858,[\"/_next/static/chunks/9b5512fb633ef95d.js\",\"/_next/static/chunks/0f1cf11540868e42.js\"],\"MetadataBoundary\"]\nc:I[552576,[\"/_next/static/chunks/9b5512fb633ef95d.js\",\"/_next/static/chunks/0f1cf11540868e42.js\"],\"default\"]\n:HL[\"/_next/static/chunks/2473c16c0c2f6b5f.css\",\"style\"]\n:HL[\"/_next/static/chunks/7228b2394d1fb347.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"0:{\"P\":null,\"b\":\"OpS0l4dUAiyM_f_IQW4mJ\",\"c\":[\"\",\"_not-found\"],\"q\":\"\",\"i\":false,\"f\":[[[\"\",{\"children\":[\"/_not-found\",{\"children\":[\"__PAGE__\",{}]}]},\"$undefined\",\"$undefined\",true],[[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/chunks/2473c16c0c2f6b5f.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}],[\"$\",\"link\",\"1\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/chunks/7228b2394d1fb347.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-0\",{\"src\":\"/_next/static/chunks/b31b0765abe0c427.js\",\"async\":true,\"nonce\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"en\",\"className\":\"dark\",\"children\":[\"$\",\"body\",null,{\"className\":\"geist_a71539c9-module__T19VSG__variable geist_mono_8d43a2aa-module__8Li5zG__variable antialiased\",\"children\":[[\"$\",\"$L2\",null,{}],[\"$\",\"$L3\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L4\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":[[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"textAlign\":\"center\",\"display\":\"flex\",\"flexDirection\":\"column\",\"alignItems\":\"center\",\"justifyContent\":\"center\"},\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"},\"children\":404}],[\"$\",\"div\",null,{\"style\":{\"display\":\"inline-block\"},\"children\":[\"$\",\"h2\",null,{\"style\":{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0},\"children\":\"This page could not be found.\"}]}]]}]}]],[]],\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}]}]]}],{\"children\":[[\"$\",\"$1\",\"c\",{\"children\":[null,[\"$\",\"$L3\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L4\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}],{\"children\":[[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":\"$0:f:0:1:0:props:children:1:props:children:props:children:1:props:notFound:0:1:props:style\",\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":\"$0:f:0:1:0:props:children:1:props:children:props:children:1:props:notFound:0:1:props:children:props:children:1:props:style\",\"children\":404}],[\"$\",\"div\",null,{\"style\":\"$0:f:0:1:0:props:children:1:props:children:props:children:1:props:notFound:0:1:props:children:props:children:2:props:style\",\"children\":[\"$\",\"h2\",null,{\"style\":\"$0:f:0:1:0:props:children:1:props:children:props:children:1:props:notFound:0:1:props:children:props:children:2:props:children:props:style\",\"children\":\"This page could not be found.\"}]}]]}]}]],null,[\"$\",\"$L5\",null,{\"children\":[\"$\",\"$6\",null,{\"name\":\"Next.MetadataOutlet\",\"children\":\"$@7\"}]}]]}],{},null,false,false]},null,false,false]},null,false,false],[\"$\",\"$1\",\"h\",{\"children\":[[\"$\",\"meta\",null,{\"name\":\"robots\",\"content\":\"noindex\"}],[\"$\",\"$L8\",null,{\"children\":\"$L9\"}],[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$La\",null,{\"children\":[\"$\",\"$6\",null,{\"name\":\"Next.Metadata\",\"children\":\"$Lb\"}]}]}],[\"$\",\"meta\",null,{\"name\":\"next-size-adjust\",\"content\":\"\"}]]}],false]],\"m\":\"$undefined\",\"G\":[\"$c\",\"$undefined\"],\"S\":true}\n"])</script><script>self.__next_f.push([1,"9:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1, maximum-scale=5\"}],[\"$\",\"meta\",\"2\",{\"name\":\"theme-color\",\"media\":\"(prefers-color-scheme: light)\",\"content\":\"#ffffff\"}],[\"$\",\"meta\",\"3\",{\"name\":\"theme-color\",\"media\":\"(prefers-color-scheme: dark)\",\"content\":\"#0a0a0a\"}]]\n"])</script><script>self.__next_f.push([1,"d:I[349310,[\"/_next/static/chunks/9b5512fb633ef95d.js\",\"/_next/static/chunks/0f1cf11540868e42.js\"],\"IconMark\"]\n7:null\n"])</script><script>self.__next_f.push([1,"b:[[\"$\",\"title\",\"0\",{\"children\":\"SparkeCoder - AI-Powered Coding Agent\"}],[\"$\",\"meta\",\"1\",{\"name\":\"description\",\"content\":\"SparkeCoder is your AI-powered coding assistant. Build, debug, and ship code faster with intelligent automation and natural language programming.\"}],[\"$\",\"meta\",\"2\",{\"name\":\"author\",\"content\":\"SparkeCoder Team\"}],[\"$\",\"link\",\"3\",{\"rel\":\"manifest\",\"href\":\"/manifest.json\",\"crossOrigin\":\"$undefined\"}],[\"$\",\"meta\",\"4\",{\"name\":\"keywords\",\"content\":\"AI coding assistant,code automation,AI programming,developer tools,coding agent,SparkeCoder,AI pair programming\"}],[\"$\",\"meta\",\"5\",{\"name\":\"creator\",\"content\":\"SparkeCoder\"}],[\"$\",\"meta\",\"6\",{\"name\":\"publisher\",\"content\":\"SparkeCoder\"}],[\"$\",\"meta\",\"7\",{\"name\":\"robots\",\"content\":\"index, follow\"}],[\"$\",\"meta\",\"8\",{\"name\":\"googlebot\",\"content\":\"index, follow, max-video-preview:-1, max-image-preview:large, max-snippet:-1\"}],[\"$\",\"meta\",\"9\",{\"name\":\"category\",\"content\":\"technology\"}],[\"$\",\"meta\",\"10\",{\"name\":\"format-detection\",\"content\":\"telephone=no\"}],[\"$\",\"meta\",\"11\",{\"name\":\"mobile-web-app-capable\",\"content\":\"yes\"}],[\"$\",\"meta\",\"12\",{\"name\":\"apple-mobile-web-app-title\",\"content\":\"SparkeCoder\"}],[\"$\",\"meta\",\"13\",{\"name\":\"apple-mobile-web-app-status-bar-style\",\"content\":\"black-translucent\"}],[\"$\",\"meta\",\"14\",{\"property\":\"og:title\",\"content\":\"SparkeCoder - AI-Powered Coding Agent\"}],[\"$\",\"meta\",\"15\",{\"property\":\"og:description\",\"content\":\"Build, debug, and ship code faster with intelligent AI automation and natural language programming.\"}],[\"$\",\"meta\",\"16\",{\"property\":\"og:site_name\",\"content\":\"SparkeCoder\"}],[\"$\",\"meta\",\"17\",{\"property\":\"og:locale\",\"content\":\"en_US\"}],[\"$\",\"meta\",\"18\",{\"property\":\"og:image\",\"content\":\"http://localhost:3001/opengraph-image.png?opengraph-image.ce342317.png\"}],[\"$\",\"meta\",\"19\",{\"property\":\"og:image:width\",\"content\":\"512\"}],[\"$\",\"meta\",\"20\",{\"property\":\"og:image:height\",\"content\":\"512\"}],[\"$\",\"meta\",\"21\",{\"property\":\"og:image:type\",\"content\":\"image/png\"}],[\"$\",\"meta\",\"22\",{\"property\":\"og:type\",\"content\":\"website\"}],[\"$\",\"meta\",\"23\",{\"name\":\"twitter:card\",\"content\":\"summary_large_image\"}],[\"$\",\"meta\",\"24\",{\"name\":\"twitter:title\",\"content\":\"SparkeCoder - AI-Powered Coding Agent\"}],[\"$\",\"meta\",\"25\",{\"name\":\"twitter:description\",\"content\":\"Build, debug, and ship code faster with intelligent AI automation and natural language programming.\"}],[\"$\",\"meta\",\"26\",{\"name\":\"twitter:image\",\"content\":\"http://localhost:3001/twitter-image.png?twitter-image.ce342317.png\"}],[\"$\",\"meta\",\"27\",{\"name\":\"twitter:image:width\",\"content\":\"512\"}],[\"$\",\"meta\",\"28\",{\"name\":\"twitter:image:height\",\"content\":\"512\"}],[\"$\",\"meta\",\"29\",{\"name\":\"twitter:image:type\",\"content\":\"image/png\"}],[\"$\",\"link\",\"30\",{\"rel\":\"icon\",\"href\":\"/favicon.ico?favicon.e3cbed1b.ico\",\"sizes\":\"256x256\",\"type\":\"image/x-icon\"}],[\"$\",\"link\",\"31\",{\"rel\":\"icon\",\"href\":\"/icon.png?icon.fdefec0f.png\",\"sizes\":\"32x32\",\"type\":\"image/png\"}],[\"$\",\"link\",\"32\",{\"rel\":\"apple-touch-icon\",\"href\":\"/apple-icon.png?apple-icon.d6d14cbd.png\",\"sizes\":\"180x180\",\"type\":\"image/png\"}],[\"$\",\"$Ld\",\"33\",{}]]\n"])</script></body></html>
@@ -1,2 +1,2 @@
1
- <!DOCTYPE html><!--PL5DsSghvjeqtWcOBQ9Qh--><html id="__next_error__"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/651e187cc15d66de.js"/><script src="/_next/static/chunks/b9ad1584d4e11d12.js" async=""></script><script src="/_next/static/chunks/a14243261b055626.js" async=""></script><script src="/_next/static/chunks/186e0c1b3ff43c9c.js" async=""></script><script src="/_next/static/chunks/862ced58ce21a270.js" async=""></script><script src="/_next/static/chunks/turbopack-597558bb7b6982f6.js" async=""></script><script src="/_next/static/chunks/9b5512fb633ef95d.js" async=""></script><script src="/_next/static/chunks/0f1cf11540868e42.js" async=""></script><meta name="next-size-adjust" content=""/><title>500: Internal Server Error.</title><link rel="icon" href="/favicon.ico?favicon.e3cbed1b.ico" sizes="256x256" type="image/x-icon"/><script src="/_next/static/chunks/a6dad97d9634a72d.js" noModule=""></script></head><body><div hidden=""><!--$--><!--/$--></div><div style="font-family:system-ui,&quot;Segoe UI&quot;,Roboto,Helvetica,Arial,sans-serif,&quot;Apple Color Emoji&quot;,&quot;Segoe UI Emoji&quot;;height:100vh;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center"><div style="line-height:48px"><style>body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}
2
- @media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}</style><h1 class="next-error-h1" style="display:inline-block;margin:0 20px 0 0;padding-right:23px;font-size:24px;font-weight:500;vertical-align:top">500</h1><div style="display:inline-block"><h2 style="font-size:14px;font-weight:400;line-height:28px">Internal Server Error.</h2></div></div></div><!--$--><!--/$--><script src="/_next/static/chunks/651e187cc15d66de.js" id="_R_" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0])</script><script>self.__next_f.push([1,"1:\"$Sreact.fragment\"\n2:I[488287,[\"/_next/static/chunks/9b5512fb633ef95d.js\",\"/_next/static/chunks/0f1cf11540868e42.js\"],\"default\"]\n3:I[174895,[\"/_next/static/chunks/9b5512fb633ef95d.js\",\"/_next/static/chunks/0f1cf11540868e42.js\"],\"default\"]\n4:I[151858,[\"/_next/static/chunks/9b5512fb633ef95d.js\",\"/_next/static/chunks/0f1cf11540868e42.js\"],\"OutletBoundary\"]\n5:\"$Sreact.suspense\"\n7:I[151858,[\"/_next/static/chunks/9b5512fb633ef95d.js\",\"/_next/static/chunks/0f1cf11540868e42.js\"],\"ViewportBoundary\"]\n9:I[151858,[\"/_next/static/chunks/9b5512fb633ef95d.js\",\"/_next/static/chunks/0f1cf11540868e42.js\"],\"MetadataBoundary\"]\nb:I[552576,[\"/_next/static/chunks/9b5512fb633ef95d.js\",\"/_next/static/chunks/0f1cf11540868e42.js\"],\"default\"]\n"])</script><script>self.__next_f.push([1,"0:{\"P\":null,\"b\":\"PL5DsSghvjeqtWcOBQ9Qh\",\"c\":[\"\",\"_global-error\"],\"q\":\"\",\"i\":false,\"f\":[[[\"\",{\"children\":[\"__PAGE__\",{}]}],[[\"$\",\"$1\",\"c\",{\"children\":[null,[\"$\",\"$L2\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L3\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}],{\"children\":[[\"$\",\"$1\",\"c\",{\"children\":[[\"$\",\"html\",null,{\"id\":\"__next_error__\",\"children\":[[\"$\",\"head\",null,{\"children\":[\"$\",\"title\",null,{\"children\":\"500: Internal Server Error.\"}]}],[\"$\",\"body\",null,{\"children\":[\"$\",\"div\",null,{\"style\":{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"textAlign\":\"center\",\"display\":\"flex\",\"flexDirection\":\"column\",\"alignItems\":\"center\",\"justifyContent\":\"center\"},\"children\":[\"$\",\"div\",null,{\"style\":{\"lineHeight\":\"48px\"},\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}\\n@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"paddingRight\":23,\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\"},\"children\":\"500\"}],[\"$\",\"div\",null,{\"style\":{\"display\":\"inline-block\"},\"children\":[\"$\",\"h2\",null,{\"style\":{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"28px\"},\"children\":\"Internal Server Error.\"}]}]]}]}]}]]}],null,[\"$\",\"$L4\",null,{\"children\":[\"$\",\"$5\",null,{\"name\":\"Next.MetadataOutlet\",\"children\":\"$@6\"}]}]]}],{},null,false,false]},null,false,false],[\"$\",\"$1\",\"h\",{\"children\":[null,[\"$\",\"$L7\",null,{\"children\":\"$L8\"}],[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$L9\",null,{\"children\":[\"$\",\"$5\",null,{\"name\":\"Next.Metadata\",\"children\":\"$La\"}]}]}],[\"$\",\"meta\",null,{\"name\":\"next-size-adjust\",\"content\":\"\"}]]}],false]],\"m\":\"$undefined\",\"G\":[\"$b\",\"$undefined\"],\"S\":true}\n"])</script><script>self.__next_f.push([1,"8:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}]]\n"])</script><script>self.__next_f.push([1,"c:I[349310,[\"/_next/static/chunks/9b5512fb633ef95d.js\",\"/_next/static/chunks/0f1cf11540868e42.js\"],\"IconMark\"]\n6:null\na:[[\"$\",\"link\",\"0\",{\"rel\":\"icon\",\"href\":\"/favicon.ico?favicon.e3cbed1b.ico\",\"sizes\":\"256x256\",\"type\":\"image/x-icon\"}],[\"$\",\"$Lc\",\"1\",{}]]\n"])</script></body></html>
1
+ <!DOCTYPE html><!--OpS0l4dUAiyM_f_IQW4mJ--><html id="__next_error__"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/651e187cc15d66de.js"/><script src="/_next/static/chunks/b9ad1584d4e11d12.js" async=""></script><script src="/_next/static/chunks/a14243261b055626.js" async=""></script><script src="/_next/static/chunks/186e0c1b3ff43c9c.js" async=""></script><script src="/_next/static/chunks/862ced58ce21a270.js" async=""></script><script src="/_next/static/chunks/turbopack-597558bb7b6982f6.js" async=""></script><script src="/_next/static/chunks/9b5512fb633ef95d.js" async=""></script><script src="/_next/static/chunks/0f1cf11540868e42.js" async=""></script><meta name="next-size-adjust" content=""/><title>500: Internal Server Error.</title><link rel="icon" href="/favicon.ico?favicon.e3cbed1b.ico" sizes="256x256" type="image/x-icon"/><script src="/_next/static/chunks/a6dad97d9634a72d.js" noModule=""></script></head><body><div hidden=""><!--$--><!--/$--></div><div style="font-family:system-ui,&quot;Segoe UI&quot;,Roboto,Helvetica,Arial,sans-serif,&quot;Apple Color Emoji&quot;,&quot;Segoe UI Emoji&quot;;height:100vh;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center"><div style="line-height:48px"><style>body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}
2
+ @media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}</style><h1 class="next-error-h1" style="display:inline-block;margin:0 20px 0 0;padding-right:23px;font-size:24px;font-weight:500;vertical-align:top">500</h1><div style="display:inline-block"><h2 style="font-size:14px;font-weight:400;line-height:28px">Internal Server Error.</h2></div></div></div><!--$--><!--/$--><script src="/_next/static/chunks/651e187cc15d66de.js" id="_R_" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0])</script><script>self.__next_f.push([1,"1:\"$Sreact.fragment\"\n2:I[488287,[\"/_next/static/chunks/9b5512fb633ef95d.js\",\"/_next/static/chunks/0f1cf11540868e42.js\"],\"default\"]\n3:I[174895,[\"/_next/static/chunks/9b5512fb633ef95d.js\",\"/_next/static/chunks/0f1cf11540868e42.js\"],\"default\"]\n4:I[151858,[\"/_next/static/chunks/9b5512fb633ef95d.js\",\"/_next/static/chunks/0f1cf11540868e42.js\"],\"OutletBoundary\"]\n5:\"$Sreact.suspense\"\n7:I[151858,[\"/_next/static/chunks/9b5512fb633ef95d.js\",\"/_next/static/chunks/0f1cf11540868e42.js\"],\"ViewportBoundary\"]\n9:I[151858,[\"/_next/static/chunks/9b5512fb633ef95d.js\",\"/_next/static/chunks/0f1cf11540868e42.js\"],\"MetadataBoundary\"]\nb:I[552576,[\"/_next/static/chunks/9b5512fb633ef95d.js\",\"/_next/static/chunks/0f1cf11540868e42.js\"],\"default\"]\n"])</script><script>self.__next_f.push([1,"0:{\"P\":null,\"b\":\"OpS0l4dUAiyM_f_IQW4mJ\",\"c\":[\"\",\"_global-error\"],\"q\":\"\",\"i\":false,\"f\":[[[\"\",{\"children\":[\"__PAGE__\",{}]}],[[\"$\",\"$1\",\"c\",{\"children\":[null,[\"$\",\"$L2\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L3\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}],{\"children\":[[\"$\",\"$1\",\"c\",{\"children\":[[\"$\",\"html\",null,{\"id\":\"__next_error__\",\"children\":[[\"$\",\"head\",null,{\"children\":[\"$\",\"title\",null,{\"children\":\"500: Internal Server Error.\"}]}],[\"$\",\"body\",null,{\"children\":[\"$\",\"div\",null,{\"style\":{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"textAlign\":\"center\",\"display\":\"flex\",\"flexDirection\":\"column\",\"alignItems\":\"center\",\"justifyContent\":\"center\"},\"children\":[\"$\",\"div\",null,{\"style\":{\"lineHeight\":\"48px\"},\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}\\n@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"paddingRight\":23,\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\"},\"children\":\"500\"}],[\"$\",\"div\",null,{\"style\":{\"display\":\"inline-block\"},\"children\":[\"$\",\"h2\",null,{\"style\":{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"28px\"},\"children\":\"Internal Server Error.\"}]}]]}]}]}]]}],null,[\"$\",\"$L4\",null,{\"children\":[\"$\",\"$5\",null,{\"name\":\"Next.MetadataOutlet\",\"children\":\"$@6\"}]}]]}],{},null,false,false]},null,false,false],[\"$\",\"$1\",\"h\",{\"children\":[null,[\"$\",\"$L7\",null,{\"children\":\"$L8\"}],[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$L9\",null,{\"children\":[\"$\",\"$5\",null,{\"name\":\"Next.Metadata\",\"children\":\"$La\"}]}]}],[\"$\",\"meta\",null,{\"name\":\"next-size-adjust\",\"content\":\"\"}]]}],false]],\"m\":\"$undefined\",\"G\":[\"$b\",\"$undefined\"],\"S\":true}\n"])</script><script>self.__next_f.push([1,"8:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}]]\n"])</script><script>self.__next_f.push([1,"c:I[349310,[\"/_next/static/chunks/9b5512fb633ef95d.js\",\"/_next/static/chunks/0f1cf11540868e42.js\"],\"IconMark\"]\n6:null\na:[[\"$\",\"link\",\"0\",{\"rel\":\"icon\",\"href\":\"/favicon.ico?favicon.e3cbed1b.ico\",\"sizes\":\"256x256\",\"type\":\"image/x-icon\"}],[\"$\",\"$Lc\",\"1\",{}]]\n"])</script></body></html>
@@ -1 +1 @@
1
- self.__RSC_SERVER_MANIFEST="{\n \"node\": {},\n \"edge\": {},\n \"encryptionKey\": \"tQWg3PmcNNxC7pXnu8bXsGk+IDBrk34DhfyRj6SfD3E=\"\n}"
1
+ self.__RSC_SERVER_MANIFEST="{\n \"node\": {},\n \"edge\": {},\n \"encryptionKey\": \"eEsE0HLaWFNNCHCDSgwQjZKbtfeaP1eSN07xhnyruus=\"\n}"
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "node": {},
3
3
  "edge": {},
4
- "encryptionKey": "tQWg3PmcNNxC7pXnu8bXsGk+IDBrk34DhfyRj6SfD3E="
4
+ "encryptionKey": "eEsE0HLaWFNNCHCDSgwQjZKbtfeaP1eSN07xhnyruus="
5
5
  }