@claude-sessions/web 0.3.7 → 0.4.1-beta.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (177) hide show
  1. package/build/client/_app/immutable/assets/0.D2FnNtrO.css +1 -0
  2. package/build/client/_app/immutable/assets/0.D2FnNtrO.css.br +0 -0
  3. package/build/client/_app/immutable/assets/0.D2FnNtrO.css.gz +0 -0
  4. package/build/client/_app/immutable/assets/Toast.CQSY_S6M.css.gz +0 -0
  5. package/build/client/_app/immutable/chunks/{pOdkXMWy.js → B-Z9hXPk.js} +1 -1
  6. package/build/client/_app/immutable/chunks/B-Z9hXPk.js.br +0 -0
  7. package/build/client/_app/immutable/chunks/B-Z9hXPk.js.gz +0 -0
  8. package/build/client/_app/immutable/chunks/{Ck-YPZB6.js → BAHJNsIv.js} +1 -1
  9. package/build/client/_app/immutable/chunks/BAHJNsIv.js.br +0 -0
  10. package/build/client/_app/immutable/chunks/BAHJNsIv.js.gz +0 -0
  11. package/build/client/_app/immutable/chunks/BUqdiQ8V.js +90 -0
  12. package/build/client/_app/immutable/chunks/BUqdiQ8V.js.br +0 -0
  13. package/build/client/_app/immutable/chunks/BUqdiQ8V.js.gz +0 -0
  14. package/build/client/_app/immutable/chunks/{Dbjp-HdT.js → Bt_HBaBk.js} +1 -1
  15. package/build/client/_app/immutable/chunks/Bt_HBaBk.js.br +0 -0
  16. package/build/client/_app/immutable/chunks/Bt_HBaBk.js.gz +0 -0
  17. package/build/client/_app/immutable/chunks/Cr0eW1j3.js +1 -0
  18. package/build/client/_app/immutable/chunks/Cr0eW1j3.js.br +0 -0
  19. package/build/client/_app/immutable/chunks/Cr0eW1j3.js.gz +0 -0
  20. package/build/client/_app/immutable/chunks/DOXVKi87.js +2 -0
  21. package/build/client/_app/immutable/chunks/DOXVKi87.js.br +0 -0
  22. package/build/client/_app/immutable/chunks/DOXVKi87.js.gz +0 -0
  23. package/build/client/_app/immutable/chunks/YXuXYbOb.js +1 -0
  24. package/build/client/_app/immutable/chunks/YXuXYbOb.js.br +0 -0
  25. package/build/client/_app/immutable/chunks/YXuXYbOb.js.gz +0 -0
  26. package/build/client/_app/immutable/entry/app.B37sNVm4.js +2 -0
  27. package/build/client/_app/immutable/entry/app.B37sNVm4.js.br +0 -0
  28. package/build/client/_app/immutable/entry/app.B37sNVm4.js.gz +0 -0
  29. package/build/client/_app/immutable/entry/start.CUKKnspj.js +1 -0
  30. package/build/client/_app/immutable/entry/start.CUKKnspj.js.br +2 -0
  31. package/build/client/_app/immutable/entry/start.CUKKnspj.js.gz +0 -0
  32. package/build/client/_app/immutable/nodes/{0.D4LDvqQb.js → 0.DD0gH91e.js} +1 -1
  33. package/build/client/_app/immutable/nodes/0.DD0gH91e.js.br +0 -0
  34. package/build/client/_app/immutable/nodes/0.DD0gH91e.js.gz +0 -0
  35. package/build/client/_app/immutable/nodes/1.j1rqa9HA.js +1 -0
  36. package/build/client/_app/immutable/nodes/1.j1rqa9HA.js.br +0 -0
  37. package/build/client/_app/immutable/nodes/1.j1rqa9HA.js.gz +0 -0
  38. package/build/client/_app/immutable/nodes/2.5x79czX-.js +4 -0
  39. package/build/client/_app/immutable/nodes/2.5x79czX-.js.br +0 -0
  40. package/build/client/_app/immutable/nodes/2.5x79czX-.js.gz +0 -0
  41. package/build/client/_app/immutable/nodes/3.CkQ0QnVZ.js +4 -0
  42. package/build/client/_app/immutable/nodes/3.CkQ0QnVZ.js.br +0 -0
  43. package/build/client/_app/immutable/nodes/3.CkQ0QnVZ.js.gz +0 -0
  44. package/build/client/_app/version.json +1 -1
  45. package/build/client/_app/version.json.br +0 -0
  46. package/build/client/_app/version.json.gz +0 -0
  47. package/build/env.js +51 -2
  48. package/build/handler.js +46 -4
  49. package/build/index.js +25 -14
  50. package/build/server/chunks/0-BhPy9YZY.js +17 -0
  51. package/build/server/chunks/{0-DkD09WcK.js.map → 0-BhPy9YZY.js.map} +1 -1
  52. package/build/server/chunks/1-CTTD_wla.js +9 -0
  53. package/build/server/chunks/{1-CjtVgNYW.js.map → 1-CTTD_wla.js.map} +1 -1
  54. package/build/server/chunks/2-Bvyspg6i.js +9 -0
  55. package/build/server/chunks/{2-wstlfOP5.js.map → 2-Bvyspg6i.js.map} +1 -1
  56. package/build/server/chunks/3-BHD2c0Ph.js +9 -0
  57. package/build/server/chunks/{3-Cdn9_0OG.js.map → 3-BHD2c0Ph.js.map} +1 -1
  58. package/build/server/chunks/{InputModal-XaplAR5y.js → InputModal-CbpiMXy3.js} +3 -3
  59. package/build/server/chunks/InputModal-CbpiMXy3.js.map +1 -0
  60. package/build/server/chunks/{Toast-ihrVamsT.js → Toast-Dr8M-5Wk.js} +4 -4
  61. package/build/server/chunks/Toast-Dr8M-5Wk.js.map +1 -0
  62. package/build/server/chunks/{_layout.svelte-COfbk473.js → _layout.svelte-CkIsNl4s.js} +7 -6
  63. package/build/server/chunks/_layout.svelte-CkIsNl4s.js.map +1 -0
  64. package/build/server/chunks/{_page.svelte-CKSi7jlX.js → _page.svelte-BdKbLK1W.js} +8 -7
  65. package/build/server/chunks/_page.svelte-BdKbLK1W.js.map +1 -0
  66. package/build/server/chunks/{_page.svelte-C5Xngf9U.js → _page.svelte-DWKQDFXZ.js} +452 -240
  67. package/build/server/chunks/_page.svelte-DWKQDFXZ.js.map +1 -0
  68. package/build/server/chunks/{_server.ts-CFQ3_7g1.js → _server.ts-8OBR5eCA.js} +3 -2
  69. package/build/server/chunks/{_server.ts-CFQ3_7g1.js.map → _server.ts-8OBR5eCA.js.map} +1 -1
  70. package/build/server/chunks/_server.ts-B2LLvx6I.js +41 -0
  71. package/build/server/chunks/_server.ts-B2LLvx6I.js.map +1 -0
  72. package/build/server/chunks/{_server.ts-Bzg6xSYv.js → _server.ts-B4SnxrOX.js} +3 -2
  73. package/build/server/chunks/{_server.ts-Bzg6xSYv.js.map → _server.ts-B4SnxrOX.js.map} +1 -1
  74. package/build/server/chunks/{_server.ts-a85289si.js → _server.ts-B9gP-Tri.js} +7 -3
  75. package/build/server/chunks/_server.ts-B9gP-Tri.js.map +1 -0
  76. package/build/server/chunks/{_server.ts-IjEZJmtD.js → _server.ts-BQxGBeCg.js} +3 -2
  77. package/build/server/chunks/{_server.ts-IjEZJmtD.js.map → _server.ts-BQxGBeCg.js.map} +1 -1
  78. package/build/server/chunks/{_server.ts-CF7wNACi.js → _server.ts-Bcdjougg.js} +3 -2
  79. package/build/server/chunks/{_server.ts-CF7wNACi.js.map → _server.ts-Bcdjougg.js.map} +1 -1
  80. package/build/server/chunks/{_server.ts-CBabn3Le.js → _server.ts-BeWDhgJ_.js} +3 -2
  81. package/build/server/chunks/{_server.ts-CBabn3Le.js.map → _server.ts-BeWDhgJ_.js.map} +1 -1
  82. package/build/server/chunks/{_server.ts-bj28Awpj.js → _server.ts-CEGd9zNn.js} +3 -2
  83. package/build/server/chunks/_server.ts-CEGd9zNn.js.map +1 -0
  84. package/build/server/chunks/{_server.ts-QYg-pRKw.js → _server.ts-CMsFINkl.js} +3 -2
  85. package/build/server/chunks/{_server.ts-QYg-pRKw.js.map → _server.ts-CMsFINkl.js.map} +1 -1
  86. package/build/server/chunks/{_server.ts-BNGntgHD.js → _server.ts-CUginV8c.js} +7 -3
  87. package/build/server/chunks/_server.ts-CUginV8c.js.map +1 -0
  88. package/build/server/chunks/{_server.ts-DRy1BtKz.js → _server.ts-Crip_Csr.js} +3 -2
  89. package/build/server/chunks/{_server.ts-DRy1BtKz.js.map → _server.ts-Crip_Csr.js.map} +1 -1
  90. package/build/server/chunks/{_server.ts-C46vcb_V.js → _server.ts-CuAlKvWH.js} +3 -2
  91. package/build/server/chunks/{_server.ts-C46vcb_V.js.map → _server.ts-CuAlKvWH.js.map} +1 -1
  92. package/build/server/chunks/{_server.ts-msjVztXK.js → _server.ts-DfNIRtb5.js} +3 -2
  93. package/build/server/chunks/{_server.ts-msjVztXK.js.map → _server.ts-DfNIRtb5.js.map} +1 -1
  94. package/build/server/chunks/{_server.ts-CBCUnjeX.js → _server.ts-DnfpkUoI.js} +3 -2
  95. package/build/server/chunks/{_server.ts-CBCUnjeX.js.map → _server.ts-DnfpkUoI.js.map} +1 -1
  96. package/build/server/chunks/_server.ts-cVOhu8ub.js +26 -0
  97. package/build/server/chunks/_server.ts-cVOhu8ub.js.map +1 -0
  98. package/build/server/chunks/{_server.ts-Dtvv8PMc.js → _server.ts-dXxEqPlK.js} +3 -2
  99. package/build/server/chunks/{_server.ts-Dtvv8PMc.js.map → _server.ts-dXxEqPlK.js.map} +1 -1
  100. package/build/server/chunks/{error.svelte-C43AeaaJ.js → error.svelte-BNCG_dZH.js} +3 -3
  101. package/build/server/chunks/{error.svelte-C43AeaaJ.js.map → error.svelte-BNCG_dZH.js.map} +1 -1
  102. package/build/server/chunks/exports-BXvEiaiv.js.map +1 -1
  103. package/build/server/chunks/{index2-Da0doXJY.js → index-BEaiIYry.js} +388 -4
  104. package/build/server/chunks/index-BEaiIYry.js.map +1 -0
  105. package/build/server/chunks/index-CoD1IJuy.js.map +1 -1
  106. package/build/server/chunks/{index-DzYX9r1_.js → index2-ybZwlzIk.js} +110 -116
  107. package/build/server/chunks/index2-ybZwlzIk.js.map +1 -0
  108. package/build/server/chunks/{index3-DkgTDgY2.js → index3-D8wHvUHX.js} +781 -597
  109. package/build/server/chunks/index3-D8wHvUHX.js.map +1 -0
  110. package/build/server/chunks/{index4-BUZEWk-I.js → index4-B6vRxXfo.js} +2 -2
  111. package/build/server/chunks/index4-B6vRxXfo.js.map +1 -0
  112. package/build/server/chunks/shared-server-DaWdgxVh.js +11 -0
  113. package/build/server/chunks/shared-server-DaWdgxVh.js.map +1 -0
  114. package/build/server/index.js +115 -439
  115. package/build/server/index.js.map +1 -1
  116. package/build/server/manifest.js +21 -21
  117. package/build/server/manifest.js.map +1 -1
  118. package/dist/cli.js +26 -1
  119. package/package.json +19 -18
  120. package/build/client/_app/immutable/assets/0.DYXbBCWs.css +0 -1
  121. package/build/client/_app/immutable/assets/0.DYXbBCWs.css.br +0 -0
  122. package/build/client/_app/immutable/assets/0.DYXbBCWs.css.gz +0 -0
  123. package/build/client/_app/immutable/chunks/CT0aV1AN.js +0 -90
  124. package/build/client/_app/immutable/chunks/CT0aV1AN.js.br +0 -0
  125. package/build/client/_app/immutable/chunks/CT0aV1AN.js.gz +0 -0
  126. package/build/client/_app/immutable/chunks/Ck-YPZB6.js.br +0 -0
  127. package/build/client/_app/immutable/chunks/Ck-YPZB6.js.gz +0 -0
  128. package/build/client/_app/immutable/chunks/Dbjp-HdT.js.br +0 -0
  129. package/build/client/_app/immutable/chunks/Dbjp-HdT.js.gz +0 -0
  130. package/build/client/_app/immutable/chunks/HaThayHP.js +0 -1
  131. package/build/client/_app/immutable/chunks/HaThayHP.js.br +0 -0
  132. package/build/client/_app/immutable/chunks/HaThayHP.js.gz +0 -0
  133. package/build/client/_app/immutable/chunks/fuY-CvTV.js +0 -1
  134. package/build/client/_app/immutable/chunks/fuY-CvTV.js.br +0 -0
  135. package/build/client/_app/immutable/chunks/fuY-CvTV.js.gz +0 -0
  136. package/build/client/_app/immutable/chunks/nUq5tIUU.js +0 -2
  137. package/build/client/_app/immutable/chunks/nUq5tIUU.js.br +0 -0
  138. package/build/client/_app/immutable/chunks/nUq5tIUU.js.gz +0 -0
  139. package/build/client/_app/immutable/chunks/pOdkXMWy.js.br +0 -0
  140. package/build/client/_app/immutable/chunks/pOdkXMWy.js.gz +0 -0
  141. package/build/client/_app/immutable/entry/app.DMBaTVWt.js +0 -2
  142. package/build/client/_app/immutable/entry/app.DMBaTVWt.js.br +0 -0
  143. package/build/client/_app/immutable/entry/app.DMBaTVWt.js.gz +0 -0
  144. package/build/client/_app/immutable/entry/start.C3tcesOa.js +0 -1
  145. package/build/client/_app/immutable/entry/start.C3tcesOa.js.br +0 -2
  146. package/build/client/_app/immutable/entry/start.C3tcesOa.js.gz +0 -0
  147. package/build/client/_app/immutable/nodes/0.D4LDvqQb.js.br +0 -0
  148. package/build/client/_app/immutable/nodes/0.D4LDvqQb.js.gz +0 -0
  149. package/build/client/_app/immutable/nodes/1.5BEtqK67.js +0 -1
  150. package/build/client/_app/immutable/nodes/1.5BEtqK67.js.br +0 -0
  151. package/build/client/_app/immutable/nodes/1.5BEtqK67.js.gz +0 -0
  152. package/build/client/_app/immutable/nodes/2.C-xl-nxy.js +0 -4
  153. package/build/client/_app/immutable/nodes/2.C-xl-nxy.js.br +0 -0
  154. package/build/client/_app/immutable/nodes/2.C-xl-nxy.js.gz +0 -0
  155. package/build/client/_app/immutable/nodes/3.BqDX5X09.js +0 -4
  156. package/build/client/_app/immutable/nodes/3.BqDX5X09.js.br +0 -0
  157. package/build/client/_app/immutable/nodes/3.BqDX5X09.js.gz +0 -0
  158. package/build/server/chunks/0-DkD09WcK.js +0 -17
  159. package/build/server/chunks/1-CjtVgNYW.js +0 -9
  160. package/build/server/chunks/2-wstlfOP5.js +0 -9
  161. package/build/server/chunks/3-Cdn9_0OG.js +0 -9
  162. package/build/server/chunks/InputModal-XaplAR5y.js.map +0 -1
  163. package/build/server/chunks/Toast-ihrVamsT.js.map +0 -1
  164. package/build/server/chunks/_layout.svelte-COfbk473.js.map +0 -1
  165. package/build/server/chunks/_page.svelte-C5Xngf9U.js.map +0 -1
  166. package/build/server/chunks/_page.svelte-CKSi7jlX.js.map +0 -1
  167. package/build/server/chunks/_server.ts-BNGntgHD.js.map +0 -1
  168. package/build/server/chunks/_server.ts-BbeQOMoJ.js +0 -19
  169. package/build/server/chunks/_server.ts-BbeQOMoJ.js.map +0 -1
  170. package/build/server/chunks/_server.ts-CHX8x48n.js +0 -27
  171. package/build/server/chunks/_server.ts-CHX8x48n.js.map +0 -1
  172. package/build/server/chunks/_server.ts-a85289si.js.map +0 -1
  173. package/build/server/chunks/_server.ts-bj28Awpj.js.map +0 -1
  174. package/build/server/chunks/index-DzYX9r1_.js.map +0 -1
  175. package/build/server/chunks/index2-Da0doXJY.js.map +0 -1
  176. package/build/server/chunks/index3-DkgTDgY2.js.map +0 -1
  177. package/build/server/chunks/index4-BUZEWk-I.js.map +0 -1
@@ -1 +1 @@
1
- import{s as e,p as r}from"./Ck-YPZB6.js";const t={get error(){return r.error},get params(){return r.params},get status(){return r.status},get url(){return r.url}};e.updated.check;const a=t;export{a as p};
1
+ import{s as e,p as r}from"./BAHJNsIv.js";const t={get error(){return r.error},get params(){return r.params},get status(){return r.status},get url(){return r.url}};e.updated.check;const a=t;export{a as p};
@@ -0,0 +1 @@
1
+ import{j as u,k as o,H as _,l as t,m as g,C as m,n as a,q as i,v as n,w as p}from"./YXuXYbOb.js";function E(d,r){let s=null,f=t;var l;if(t){s=p;for(var e=g(document.head);e!==null&&(e.nodeType!==m||e.data!==d);)e=a(e);if(e===null)i(!1);else{var y=a(e);e.remove(),n(y)}}t||(l=document.head.appendChild(u()));try{o(()=>r(l),_)}finally{f&&(i(!0),n(s))}}export{E as h};
@@ -0,0 +1,2 @@
1
+ import{ah as X,g as G,ai as z,U as Z,A as ee,aj as Y,V,w as f,l as d,a5 as v,k as te,P as K,C as B,S as re,M as p,ak as R,L,j as w,al as ne,am as k,an as E,ao as H,ap as se,aq as O,y as Q,N as ie,ar as W,as as ae,at as j,au as oe,av as le,K as M,v as N,aw as ue,T as fe,ax as q,ay as ce,Q as de,az as he,aA as _e,aB as pe,a0 as ve,aC as ge,a1 as ye,m as I,aD as me,aE as Ee,aF as be,aG as Te,aH as we,aI as C,aJ as Ne,n as Ae,aK as F,q as S,aL as Re,aM as Se,aN as ke,aO as De,p as Le,aP as Me,aQ as Oe,c as Ie}from"./YXuXYbOb.js";function Ce(t){let e=0,r=z(0),i;return()=>{X()&&(G(r),Z(()=>(e===0&&(i=ee(()=>t(()=>Y(r)))),e+=1,()=>{V(()=>{e-=1,e===0&&(i?.(),i=void 0,Y(r))})})))}}var Fe=de|he|_e;function Pe(t,e,r){new xe(t,e,r)}class xe{parent;is_pending=!1;#t;#g=d?f:null;#n;#f;#s;#r=null;#e=null;#i=null;#a=null;#l=null;#c=0;#o=0;#d=!1;#h=new Set;#_=new Set;#u=null;#E=Ce(()=>(this.#u=z(this.#c),()=>{this.#u=null}));constructor(e,r,i){this.#t=e,this.#n=r,this.#f=i,this.parent=v.b,this.is_pending=!!this.#n.pending,this.#s=te(()=>{if(v.b=this,d){const n=this.#g;K(),n.nodeType===B&&n.data===re?this.#T():(this.#b(),this.#o===0&&(this.is_pending=!1))}else{var s=this.#y();try{this.#r=p(()=>i(s))}catch(n){this.error(n)}this.#o>0?this.#v():this.is_pending=!1}return()=>{this.#l?.remove()}},Fe),d&&(this.#t=f)}#b(){try{this.#r=p(()=>this.#f(this.#t))}catch(e){this.error(e)}}#T(){const e=this.#n.pending;e&&(this.#e=p(()=>e(this.#t)),R.enqueue(()=>{var r=this.#y();this.#r=this.#p(()=>(R.ensure(),p(()=>this.#f(r)))),this.#o>0?this.#v():(L(this.#e,()=>{this.#e=null}),this.is_pending=!1)}))}#y(){var e=this.#t;return this.is_pending&&(this.#l=w(),this.#t.before(this.#l),e=this.#l),e}defer_effect(e){ne(e,this.#h,this.#_)}is_rendered(){return!this.is_pending&&(!this.parent||this.parent.is_rendered())}has_pending_snippet(){return!!this.#n.pending}#p(e){var r=v,i=O,s=Q;k(this.#s),E(this.#s),H(this.#s.ctx);try{return e()}catch(n){return se(n),null}finally{k(r),E(i),H(s)}}#v(){const e=this.#n.pending;this.#r!==null&&(this.#a=document.createDocumentFragment(),this.#a.append(this.#l),ie(this.#r,this.#a)),this.#e===null&&(this.#e=p(()=>e(this.#t)))}#m(e){if(!this.has_pending_snippet()){this.parent&&this.parent.#m(e);return}if(this.#o+=e,this.#o===0){this.is_pending=!1;for(const r of this.#h)W(r,ae),j(r);for(const r of this.#_)W(r,oe),j(r);this.#h.clear(),this.#_.clear(),this.#e&&L(this.#e,()=>{this.#e=null}),this.#a&&(this.#t.before(this.#a),this.#a=null)}}update_pending_count(e){this.#m(e),this.#c+=e,this.#u&&le(this.#u,this.#c)}get_effect_pending(){return this.#E(),G(this.#u)}error(e){var r=this.#n.onerror;let i=this.#n.failed;if(this.#d||!r&&!i)throw e;this.#r&&(M(this.#r),this.#r=null),this.#e&&(M(this.#e),this.#e=null),this.#i&&(M(this.#i),this.#i=null),d&&(N(this.#g),ue(),N(fe()));var s=!1,n=!1;const a=()=>{if(s){pe();return}s=!0,n&&ce(),R.ensure(),this.#c=0,this.#i!==null&&L(this.#i,()=>{this.#i=null}),this.is_pending=this.has_pending_snippet(),this.#r=this.#p(()=>(this.#d=!1,p(()=>this.#f(this.#t)))),this.#o>0?this.#v():this.is_pending=!1};var c=O;try{E(null),n=!0,r?.(e,a),n=!1}catch(u){q(u,this.#s&&this.#s.parent)}finally{E(c)}i&&V(()=>{this.#i=this.#p(()=>{R.ensure(),this.#d=!0;try{return p(()=>{i(this.#t,()=>e,()=>a)})}catch(u){return q(u,this.#s.parent),null}finally{this.#d=!1}})})}}function ze(t){return t.endsWith("capture")&&t!=="gotpointercapture"&&t!=="lostpointercapture"}const Ve=["beforeinput","click","change","dblclick","contextmenu","focusin","focusout","input","keydown","keyup","mousedown","mousemove","mouseout","mouseover","mouseup","pointerdown","pointermove","pointerout","pointerover","pointerup","touchend","touchmove","touchstart"];function Ke(t){return Ve.includes(t)}const Be={formnovalidate:"formNoValidate",ismap:"isMap",nomodule:"noModule",playsinline:"playsInline",readonly:"readOnly",defaultvalue:"defaultValue",defaultchecked:"defaultChecked",srcobject:"srcObject",novalidate:"noValidate",allowfullscreen:"allowFullscreen",disablepictureinpicture:"disablePictureInPicture",disableremoteplayback:"disableRemotePlayback"};function Qe(t){return t=t.toLowerCase(),Be[t]??t}const Ye=["touchstart","touchmove"];function He(t){return Ye.includes(t)}const $=new Set,P=new Set;function We(t,e,r,i={}){function s(n){if(i.capture||T.call(e,n),!n.cancelBubble)return ge(()=>r?.call(this,n))}return t.startsWith("pointer")||t.startsWith("touch")||t==="wheel"?V(()=>{e.addEventListener(t,s,i)}):e.addEventListener(t,s,i),s}function $e(t,e,r,i,s){var n={capture:i,passive:s},a=We(t,e,r,n);(e===document.body||e===window||e===document||e instanceof HTMLMediaElement)&&ve(()=>{e.removeEventListener(t,a,n)})}function Je(t){for(var e=0;e<t.length;e++)$.add(t[e]);for(var r of P)r(t)}let U=null;function T(t){var e=this,r=e.ownerDocument,i=t.type,s=t.composedPath?.()||[],n=s[0]||t.target;U=t;var a=0,c=U===t&&t.__root;if(c){var u=s.indexOf(c);if(u!==-1&&(e===document||e===window)){t.__root=e;return}var g=s.indexOf(e);if(g===-1)return;u<=g&&(a=u)}if(n=s[a]||t.target,n!==e){ye(t,"currentTarget",{configurable:!0,get(){return n||r}});var D=O,h=v;E(null),k(null);try{for(var o,l=[];n!==null;){var y=n.assignedSlot||n.parentNode||n.host||null;try{var b=n["__"+i];b!=null&&(!n.disabled||t.target===n)&&b.call(n,t)}catch(A){o?l.push(A):o=A}if(t.cancelBubble||y===e||y===null)break;n=y}if(o){for(let A of l)queueMicrotask(()=>{throw A});throw o}}finally{t.__root=e,delete t.currentTarget,E(D),k(h)}}}function je(t){var e=document.createElement("template");return e.innerHTML=t.replaceAll("<!>","<!---->"),e.content}function _(t,e){var r=v;r.nodes===null&&(r.nodes={start:t,end:e,a:null,t:null})}function Xe(t,e){var r=(e&Ee)!==0,i=(e&be)!==0,s,n=!t.startsWith("<!>");return()=>{if(d)return _(f,null),f;s===void 0&&(s=je(n?t:"<!>"+t),r||(s=I(s)));var a=i||me?document.importNode(s,!0):s.cloneNode(!0);if(r){var c=I(a),u=a.lastChild;_(c,u)}else _(a,a);return a}}function Ze(t=""){if(!d){var e=w(t+"");return _(e,e),e}var r=f;return r.nodeType!==we&&(r.before(r=w()),N(r)),_(r,r),r}function et(){if(d)return _(f,null),f;var t=document.createDocumentFragment(),e=document.createComment(""),r=w();return t.append(e,r),_(e,r),t}function tt(t,e){if(d){var r=v;((r.f&Te)===0||r.nodes.end===null)&&(r.nodes.end=f),K();return}t!==null&&t.before(e)}function rt(t,e){var r=e==null?"":typeof e=="object"?e+"":e;r!==(t.__t??=t.nodeValue)&&(t.__t=r,t.nodeValue=r+"")}function qe(t,e){return J(t,e)}function nt(t,e){C(),e.intro=e.intro??!1;const r=e.target,i=d,s=f;try{for(var n=I(r);n&&(n.nodeType!==B||n.data!==Ne);)n=Ae(n);if(!n)throw F;S(!0),N(n);const a=J(t,{...e,anchor:n});return S(!1),a}catch(a){if(a instanceof Error&&a.message.split(`
2
+ `).some(c=>c.startsWith("https://svelte.dev/e/")))throw a;return a!==F&&console.warn("Failed to hydrate: ",a),e.recover===!1&&Re(),C(),Se(r),S(!1),qe(t,e)}finally{S(i),N(s)}}const m=new Map;function J(t,{target:e,anchor:r,props:i={},events:s,context:n,intro:a=!0}){C();var c=new Set,u=h=>{for(var o=0;o<h.length;o++){var l=h[o];if(!c.has(l)){c.add(l);var y=He(l);e.addEventListener(l,T,{passive:y});var b=m.get(l);b===void 0?(document.addEventListener(l,T,{passive:y}),m.set(l,1)):m.set(l,b+1)}}};u(ke($)),P.add(u);var g=void 0,D=De(()=>{var h=r??e.appendChild(w());return Pe(h,{pending:()=>{}},o=>{if(n){Le({});var l=Q;l.c=n}if(s&&(i.$$events=s),d&&_(o,null),g=t(o,i)||{},d&&(v.nodes.end=f,f===null||f.nodeType!==B||f.data!==Me))throw Oe(),F;n&&Ie()}),()=>{for(var o of c){e.removeEventListener(o,T);var l=m.get(o);--l===0?(document.removeEventListener(o,T),m.delete(o)):m.set(o,l)}P.delete(u),h!==r&&h.parentNode?.removeChild(h)}});return x.set(g,D),g}let x=new WeakMap;function st(t,e){const r=x.get(t);return r?(x.delete(t),r(e)):Promise.resolve()}const Ue="5";typeof window<"u"&&((window.__svelte??={}).v??=new Set).add(Ue);export{tt as a,We as b,et as c,Je as d,$e as e,Xe as f,Ke as g,nt as h,ze as i,qe as m,Qe as n,rt as s,Ze as t,st as u};
@@ -0,0 +1 @@
1
+ var $t=Array.isArray,zt=Array.prototype.indexOf,jn=Array.from,Ln=Object.defineProperty,_e=Object.getOwnPropertyDescriptor,Xt=Object.getOwnPropertyDescriptors,Zt=Object.prototype,Wt=Array.prototype,at=Object.getPrototypeOf,Qe=Object.isExtensible;const le=()=>{};function qn(e){return typeof e?.then=="function"}function Yn(e){return e()}function lt(e){for(var t=0;t<e.length;t++)e[t]()}function ut(){var e,t,n=new Promise((r,s)=>{e=r,t=s});return{promise:n,resolve:e,reject:t}}function Hn(e,t){if(Array.isArray(e))return e;if(!(Symbol.iterator in e))return Array.from(e);const n=[];for(const r of e)if(n.push(r),n.length===t)break;return n}const E=2,de=4,ye=8,Ye=1<<24,M=16,j=32,re=64,ot=128,D=512,g=1024,R=2048,V=4096,C=8192,Y=16384,He=32768,Te=65536,et=1<<17,ct=1<<18,we=1<<19,_t=1<<20,Un=1<<25,W=32768,Ie=1<<21,Ue=1<<22,H=1<<23,z=Symbol("$state"),Bn=Symbol("legacy props"),Vn=Symbol(""),fe=new class extends Error{name="StaleReactionError";message="The reaction that called `getAbortSignal()` was re-run or destroyed"},Be=3,vt=8;function dt(e){throw new Error("https://svelte.dev/e/lifecycle_outside_component")}function Jt(){throw new Error("https://svelte.dev/e/async_derived_orphan")}function Qt(e){throw new Error("https://svelte.dev/e/effect_in_teardown")}function en(){throw new Error("https://svelte.dev/e/effect_in_unowned_derived")}function tn(e){throw new Error("https://svelte.dev/e/effect_orphan")}function nn(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function Kn(){throw new Error("https://svelte.dev/e/hydration_failed")}function $n(e){throw new Error("https://svelte.dev/e/props_invalid_value")}function rn(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}function sn(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}function fn(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}function zn(){throw new Error("https://svelte.dev/e/svelte_boundary_reset_onerror")}const Xn=1,Zn=2,Wn=4,Jn=8,Qn=16,er=1,tr=2,nr=4,rr=8,sr=16,ir=1,fr=2,an="[",ln="[!",un="]",Ve={},b=Symbol(),ar="http://www.w3.org/1999/xhtml",lr="@attach";function Ge(e){console.warn("https://svelte.dev/e/hydration_mismatch")}function ur(){console.warn("https://svelte.dev/e/select_multiple_invalid_value")}function or(){console.warn("https://svelte.dev/e/svelte_boundary_reset_noop")}let J=!1;function cr(e){J=e}let S;function ue(e){if(e===null)throw Ge(),Ve;return S=e}function _r(){return ue(G(S))}function vr(e){if(J){if(G(S)!==null)throw Ge(),Ve;S=e}}function dr(e=1){if(J){for(var t=e,n=S;t--;)n=G(n);S=n}}function pr(e=!0){for(var t=0,n=S;;){if(n.nodeType===vt){var r=n.data;if(r===un){if(t===0)return n;t-=1}else(r===an||r===ln)&&(t+=1)}var s=G(n);e&&n.remove(),n=s}}function hr(e){if(!e||e.nodeType!==vt)throw Ge(),Ve;return e.data}function pt(e){return e===this.v}function ht(e,t){return e!=e?t==t:e!==t||e!==null&&typeof e=="object"||typeof e=="function"}function yt(e){return!ht(e,this.v)}let be=!1;function yr(){be=!0}let w=null;function Ae(e){w=e}function wr(e,t=!1,n){w={p:w,i:!1,c:null,e:null,s:e,x:null,l:be&&!t?{s:null,u:null,$:[]}:null}}function br(e){var t=w,n=t.e;if(n!==null){t.e=null;for(var r of n)Ct(r)}return t.i=!0,w=t.p,{}}function Ee(){return!be||w!==null&&w.l===null}let $=[];function wt(){var e=$;$=[],lt(e)}function bt(e){if($.length===0&&!ve){var t=$;queueMicrotask(()=>{t===$&&wt()})}$.push(e)}function on(){for(;$.length>0;)wt()}function cn(e){var t=p;if(t===null)return v.f|=H,e;if((t.f&He)===0){if((t.f&ot)===0)throw e;t.b.error(e)}else Se(e,t)}function Se(e,t){for(;t!==null;){if((t.f&ot)!==0)try{t.b.error(e);return}catch(n){e=n}t=t.parent}throw e}const _n=-7169;function m(e,t){e.f=e.f&_n|t}function Ke(e){(e.f&D)!==0||e.deps===null?m(e,g):m(e,V)}function Et(e){if(e!==null)for(const t of e)(t.f&E)===0||(t.f&W)===0||(t.f^=W,Et(t.deps))}function vn(e,t,n){(e.f&R)!==0?t.add(e):(e.f&V)!==0&&n.add(e),Et(e.deps),m(e,g)}const me=new Set;let h=null,Pe=null,N=null,O=[],ke=null,Fe=!1,ve=!1;class Q{committed=!1;current=new Map;previous=new Map;#n=new Set;#r=new Set;#e=0;#t=0;#f=null;#s=new Set;#i=new Set;skipped_effects=new Set;is_fork=!1;is_deferred(){return this.is_fork||this.#t>0}process(t){O=[],Pe=null,this.apply();var n=[],r=[];for(const s of t)this.#a(s,n,r);this.is_fork||this.#u(),this.is_deferred()?(this.#l(r),this.#l(n)):(Pe=this,h=null,tt(r),tt(n),Pe=null,this.#f?.resolve()),N=null}#a(t,n,r){t.f^=g;for(var s=t.first,i=null;s!==null;){var a=s.f,l=(a&(j|re))!==0,u=l&&(a&g)!==0,f=u||(a&C)!==0||this.skipped_effects.has(s);if(!f&&s.fn!==null){l?s.f^=g:i!==null&&(a&(de|ye|Ye))!==0?i.b.defer_effect(s):(a&de)!==0?n.push(s):ge(s)&&((a&M)!==0&&this.#s.add(s),he(s));var o=s.first;if(o!==null){s=o;continue}}var c=s.parent;for(s=s.next;s===null&&c!==null;)c===i&&(i=null),s=c.next,c=c.parent}}#l(t){for(var n=0;n<t.length;n+=1)vn(t[n],this.#s,this.#i)}capture(t,n){n!==b&&!this.previous.has(t)&&this.previous.set(t,n),(t.f&H)===0&&(this.current.set(t,t.v),N?.set(t,t.v))}activate(){h=this,this.apply()}deactivate(){h===this&&(h=null,N=null)}flush(){if(this.activate(),O.length>0){if(gt(),h!==null&&h!==this)return}else this.#e===0&&this.process([]);this.deactivate()}discard(){for(const t of this.#r)t(this);this.#r.clear()}#u(){if(this.#t===0){for(const t of this.#n)t();this.#n.clear()}this.#e===0&&this.#o()}#o(){if(me.size>1){this.previous.clear();var t=N,n=!0;for(const s of me){if(s===this){n=!1;continue}const i=[];for(const[l,u]of this.current){if(s.current.has(l))if(n&&u!==s.current.get(l))s.current.set(l,u);else continue;i.push(l)}if(i.length===0)continue;const a=[...s.current.keys()].filter(l=>!this.current.has(l));if(a.length>0){var r=O;O=[];const l=new Set,u=new Map;for(const f of i)mt(f,a,l,u);if(O.length>0){h=s,s.apply();for(const f of O)s.#a(f,[],[]);s.deactivate()}O=r}}h=null,N=t}this.committed=!0,me.delete(this)}increment(t){this.#e+=1,t&&(this.#t+=1)}decrement(t){this.#e-=1,t&&(this.#t-=1),this.revive()}revive(){for(const t of this.#s)this.#i.delete(t),m(t,R),ee(t);for(const t of this.#i)m(t,V),ee(t);this.flush()}oncommit(t){this.#n.add(t)}ondiscard(t){this.#r.add(t)}settled(){return(this.#f??=ut()).promise}static ensure(){if(h===null){const t=h=new Q;me.add(h),ve||Q.enqueue(()=>{h===t&&t.flush()})}return h}static enqueue(t){bt(t)}apply(){}}function dn(e){var t=ve;ve=!0;try{for(var n;;){if(on(),O.length===0&&(h?.flush(),O.length===0))return ke=null,n;gt()}}finally{ve=t}}function gt(){var e=X;Fe=!0;var t=null;try{var n=0;for(Oe(!0);O.length>0;){var r=Q.ensure();if(n++>1e3){var s,i;pn()}r.process(O),U.clear()}}finally{Fe=!1,Oe(e),ke=null}}function pn(){try{nn()}catch(e){Se(e,ke)}}let I=null;function tt(e){var t=e.length;if(t!==0){for(var n=0;n<t;){var r=e[n++];if((r.f&(Y|C))===0&&ge(r)&&(I=new Set,he(r),r.deps===null&&r.first===null&&r.nodes===null&&(r.teardown===null&&r.ac===null?Mt(r):r.fn=null),I?.size>0)){U.clear();for(const s of I){if((s.f&(Y|C))!==0)continue;const i=[s];let a=s.parent;for(;a!==null;)I.has(a)&&(I.delete(a),i.push(a)),a=a.parent;for(let l=i.length-1;l>=0;l--){const u=i[l];(u.f&(Y|C))===0&&he(u)}}I.clear()}}I=null}}function mt(e,t,n,r){if(!n.has(e)&&(n.add(e),e.reactions!==null))for(const s of e.reactions){const i=s.f;(i&E)!==0?mt(s,t,n,r):(i&(Ue|M))!==0&&(i&R)===0&&Tt(s,t,r)&&(m(s,R),ee(s))}}function Tt(e,t,n){const r=n.get(e);if(r!==void 0)return r;if(e.deps!==null)for(const s of e.deps){if(t.includes(s))return!0;if((s.f&E)!==0&&Tt(s,t,n))return n.set(s,!0),!0}return n.set(e,!1),!1}function ee(e){for(var t=ke=e;t.parent!==null;){t=t.parent;var n=t.f;if(Fe&&t===p&&(n&M)!==0&&(n&ct)===0)return;if((n&(re|j))!==0){if((n&g)===0)return;t.f^=g}}O.push(t)}function At(e,t,n,r){const s=Ee()?$e:wn;if(n.length===0&&e.length===0){r(t.map(s));return}var i=h,a=p,l=hn();function u(){Promise.all(n.map(f=>yn(f))).then(f=>{l();try{r([...t.map(s),...f])}catch(o){(a.f&Y)===0&&Se(o,a)}i?.deactivate(),Re()}).catch(f=>{Se(f,a)})}e.length>0?Promise.all(e).then(()=>{l();try{return u()}finally{i?.deactivate(),Re()}}):u()}function hn(){var e=p,t=v,n=w,r=h;return function(i=!0){oe(e),B(t),Ae(n),i&&r?.activate()}}function Re(){oe(null),B(null),Ae(null)}function $e(e){var t=E|R,n=v!==null&&(v.f&E)!==0?v:null;return p!==null&&(p.f|=we),{ctx:w,deps:null,effects:null,equals:pt,f:t,fn:e,reactions:null,rv:0,v:b,wv:0,parent:n??p,ac:null}}function yn(e,t,n){let r=p;r===null&&Jt();var s=r.b,i=void 0,a=Xe(b),l=!v,u=new Map;return xn(()=>{var f=ut();i=f.promise;try{Promise.resolve(e()).then(f.resolve,f.reject).then(()=>{o===h&&o.committed&&o.deactivate(),Re()})}catch(d){f.reject(d),Re()}var o=h;if(l){var c=s.is_rendered();s.update_pending_count(1),o.increment(c),u.get(o)?.reject(fe),u.delete(o),u.set(o,f)}const _=(d,y=void 0)=>{if(o.activate(),y)y!==fe&&(a.f|=H,je(a,y));else{(a.f&H)!==0&&(a.f^=H),je(a,d);for(const[L,se]of u){if(u.delete(L),L===o)break;se.reject(fe)}}l&&(s.update_pending_count(-1),o.decrement(c))};f.promise.then(_,d=>_(null,d||"unknown"))}),Sn(()=>{for(const f of u.values())f.reject(fe)}),new Promise(f=>{function o(c){function _(){c===i?f(a):o(i)}c.then(_,_)}o(i)})}function Er(e){const t=$e(e);return qt(t),t}function wn(e){const t=$e(e);return t.equals=yt,t}function St(e){var t=e.effects;if(t!==null){e.effects=null;for(var n=0;n<t.length;n+=1)te(t[n])}}function bn(e){for(var t=e.parent;t!==null;){if((t.f&E)===0)return(t.f&Y)===0?t:null;t=t.parent}return null}function ze(e){var t,n=p;oe(bn(e));try{e.f&=~W,St(e),t=Bt(e)}finally{oe(n)}return t}function Rt(e){var t=ze(e);if(!e.equals(t)&&(e.wv=Ht(),(!h?.is_fork||e.deps===null)&&(e.v=t,e.deps===null))){m(e,g);return}ne||(N!==null?(Pt()||h?.is_fork)&&N.set(e,t):Ke(e))}let Me=new Set;const U=new Map;let xt=!1;function Xe(e,t){var n={f:0,v:e,reactions:null,equals:pt,rv:0,wv:0};return n}function q(e,t){const n=Xe(e);return qt(n),n}function gr(e,t=!1,n=!0){const r=Xe(e);return t||(r.equals=yt),be&&n&&w!==null&&w.l!==null&&(w.l.s??=[]).push(r),r}function K(e,t,n=!1){v!==null&&(!P||(v.f&et)!==0)&&Ee()&&(v.f&(E|M|Ue|et))!==0&&!F?.includes(e)&&fn();let r=n?ce(t):t;return je(e,r)}function je(e,t){if(!e.equals(t)){var n=e.v;ne?U.set(e,t):U.set(e,n),e.v=t;var r=Q.ensure();if(r.capture(e,n),(e.f&E)!==0){const s=e;(e.f&R)!==0&&ze(s),Ke(s)}e.wv=Ht(),Ot(e,R),Ee()&&p!==null&&(p.f&g)!==0&&(p.f&(j|re))===0&&(x===null?Nn([e]):x.push(e)),!r.is_fork&&Me.size>0&&!xt&&En()}return t}function En(){xt=!1;var e=X;Oe(!0);const t=Array.from(Me);try{for(const n of t)(n.f&g)!==0&&m(n,V),ge(n)&&he(n)}finally{Oe(e)}Me.clear()}function Ce(e){K(e,e.v+1)}function Ot(e,t){var n=e.reactions;if(n!==null)for(var r=Ee(),s=n.length,i=0;i<s;i++){var a=n[i],l=a.f;if(!(!r&&a===p)){var u=(l&R)===0;if(u&&m(a,t),(l&E)!==0){var f=a;N?.delete(f),(l&W)===0&&(l&D&&(a.f|=W),Ot(f,V))}else u&&((l&M)!==0&&I!==null&&I.add(a),ee(a))}}}function ce(e){if(typeof e!="object"||e===null||z in e)return e;const t=at(e);if(t!==Zt&&t!==Wt)return e;var n=new Map,r=$t(e),s=q(0),i=Z,a=l=>{if(Z===i)return l();var u=v,f=Z;B(null),ft(i);var o=l();return B(u),ft(f),o};return r&&n.set("length",q(e.length)),new Proxy(e,{defineProperty(l,u,f){(!("value"in f)||f.configurable===!1||f.enumerable===!1||f.writable===!1)&&rn();var o=n.get(u);return o===void 0?o=a(()=>{var c=q(f.value);return n.set(u,c),c}):K(o,f.value,!0),!0},deleteProperty(l,u){var f=n.get(u);if(f===void 0){if(u in l){const o=a(()=>q(b));n.set(u,o),Ce(s)}}else K(f,b),Ce(s);return!0},get(l,u,f){if(u===z)return e;var o=n.get(u),c=u in l;if(o===void 0&&(!c||_e(l,u)?.writable)&&(o=a(()=>{var d=ce(c?l[u]:b),y=q(d);return y}),n.set(u,o)),o!==void 0){var _=ae(o);return _===b?void 0:_}return Reflect.get(l,u,f)},getOwnPropertyDescriptor(l,u){var f=Reflect.getOwnPropertyDescriptor(l,u);if(f&&"value"in f){var o=n.get(u);o&&(f.value=ae(o))}else if(f===void 0){var c=n.get(u),_=c?.v;if(c!==void 0&&_!==b)return{enumerable:!0,configurable:!0,value:_,writable:!0}}return f},has(l,u){if(u===z)return!0;var f=n.get(u),o=f!==void 0&&f.v!==b||Reflect.has(l,u);if(f!==void 0||p!==null&&(!o||_e(l,u)?.writable)){f===void 0&&(f=a(()=>{var _=o?ce(l[u]):b,d=q(_);return d}),n.set(u,f));var c=ae(f);if(c===b)return!1}return o},set(l,u,f,o){var c=n.get(u),_=u in l;if(r&&u==="length")for(var d=f;d<c.v;d+=1){var y=n.get(d+"");y!==void 0?K(y,b):d in l&&(y=a(()=>q(b)),n.set(d+"",y))}if(c===void 0)(!_||_e(l,u)?.writable)&&(c=a(()=>q(void 0)),K(c,ce(f)),n.set(u,c));else{_=c.v!==b;var L=a(()=>ce(f));K(c,L)}var se=Reflect.getOwnPropertyDescriptor(l,u);if(se?.set&&se.set.call(o,f),!_){if(r&&typeof u=="string"){var Je=n.get("length"),Ne=Number(u);Number.isInteger(Ne)&&Ne>=Je.v&&K(Je,Ne+1)}Ce(s)}return!0},ownKeys(l){ae(s);var u=Reflect.ownKeys(l).filter(c=>{var _=n.get(c);return _===void 0||_.v!==b});for(var[f,o]of n)o.v!==b&&!(f in l)&&u.push(f);return u},setPrototypeOf(){sn()}})}function nt(e){try{if(e!==null&&typeof e=="object"&&z in e)return e[z]}catch{}return e}function mr(e,t){return Object.is(nt(e),nt(t))}var rt,gn,mn,Dt,kt;function Tr(){if(rt===void 0){rt=window,gn=document,mn=/Firefox/.test(navigator.userAgent);var e=Element.prototype,t=Node.prototype,n=Text.prototype;Dt=_e(t,"firstChild").get,kt=_e(t,"nextSibling").get,Qe(e)&&(e.__click=void 0,e.__className=void 0,e.__attributes=null,e.__style=void 0,e.__e=void 0),Qe(n)&&(n.__t=void 0)}}function xe(e=""){return document.createTextNode(e)}function Le(e){return Dt.call(e)}function G(e){return kt.call(e)}function Ar(e,t){if(!J)return Le(e);var n=Le(S);if(n===null)n=S.appendChild(xe());else if(t&&n.nodeType!==Be){var r=xe();return n?.before(r),ue(r),r}return ue(n),n}function Sr(e,t=!1){if(!J){var n=Le(e);return n instanceof Comment&&n.data===""?G(n):n}if(t&&S?.nodeType!==Be){var r=xe();return S?.before(r),ue(r),r}return S}function Rr(e,t=1,n=!1){let r=J?S:e;for(var s;t--;)s=r,r=G(r);if(!J)return r;if(n&&r?.nodeType!==Be){var i=xe();return r===null?s?.after(i):r.before(i),ue(i),i}return ue(r),r}function xr(e){e.textContent=""}function Or(){return!1}function Dr(e,t){if(t){const n=document.body;e.autofocus=!0,bt(()=>{document.activeElement===n&&e.focus()})}}let st=!1;function Tn(){st||(st=!0,document.addEventListener("reset",e=>{Promise.resolve().then(()=>{if(!e.defaultPrevented)for(const t of e.target.elements)t.__on_r?.()})},{capture:!0}))}function Ze(e){var t=v,n=p;B(null),oe(null);try{return e()}finally{B(t),oe(n)}}function kr(e,t,n,r=n){e.addEventListener(t,()=>Ze(n));const s=e.__on_r;s?e.__on_r=()=>{s(),r(!0)}:e.__on_r=()=>r(!0),Tn()}function Nt(e){p===null&&(v===null&&tn(),en()),ne&&Qt()}function An(e,t){var n=t.last;n===null?t.last=t.first=e:(n.next=e,e.prev=n,t.last=e)}function k(e,t,n){var r=p;r!==null&&(r.f&C)!==0&&(e|=C);var s={ctx:w,deps:null,nodes:null,f:e|R|D,first:null,fn:t,last:null,next:null,parent:r,b:r&&r.b,prev:null,teardown:null,wv:0,ac:null};if(n)try{he(s),s.f|=He}catch(l){throw te(s),l}else t!==null&&ee(s);var i=s;if(n&&i.deps===null&&i.teardown===null&&i.nodes===null&&i.first===i.last&&(i.f&we)===0&&(i=i.first,(e&M)!==0&&(e&Te)!==0&&i!==null&&(i.f|=Te)),i!==null&&(i.parent=r,r!==null&&An(i,r),v!==null&&(v.f&E)!==0&&(e&re)===0)){var a=v;(a.effects??=[]).push(i)}return s}function Pt(){return v!==null&&!P}function Sn(e){const t=k(ye,null,!1);return m(t,g),t.teardown=e,t}function Rn(e){Nt();var t=p.f,n=!v&&(t&j)!==0&&(t&He)===0;if(n){var r=w;(r.e??=[]).push(e)}else return Ct(e)}function Ct(e){return k(de|_t,e,!1)}function Nr(e){return Nt(),k(ye|_t,e,!0)}function Pr(e){Q.ensure();const t=k(re|we,e,!0);return(n={})=>new Promise(r=>{n.outro?kn(t,()=>{te(t),r(void 0)}):(te(t),r(void 0))})}function Cr(e){return k(de,e,!1)}function xn(e){return k(Ue|we,e,!0)}function Ir(e,t=0){return k(ye|t,e,!0)}function Fr(e,t=[],n=[],r=[]){At(r,t,n,s=>{k(ye,()=>e(...s.map(ae)),!0)})}function Mr(e,t=[],n=[],r=[]){var s=h,i=n.length>0||r.length>0;i&&s.increment(!0),At(r,t,n,a=>{k(de,()=>e(...a.map(ae)),!1),i&&s.decrement(!0)})}function jr(e,t=0){var n=k(M|t,e,!0);return n}function Lr(e,t=0){var n=k(Ye|t,e,!0);return n}function qr(e){return k(j|we,e,!0)}function It(e){var t=e.teardown;if(t!==null){const n=ne,r=v;it(!0),B(null);try{t.call(null)}finally{it(n),B(r)}}}function Ft(e,t=!1){var n=e.first;for(e.first=e.last=null;n!==null;){const s=n.ac;s!==null&&Ze(()=>{s.abort(fe)});var r=n.next;(n.f&re)!==0?n.parent=null:te(n,t),n=r}}function On(e){for(var t=e.first;t!==null;){var n=t.next;(t.f&j)===0&&te(t),t=n}}function te(e,t=!0){var n=!1;(t||(e.f&ct)!==0)&&e.nodes!==null&&e.nodes.end!==null&&(Dn(e.nodes.start,e.nodes.end),n=!0),Ft(e,t&&!n),De(e,0),m(e,Y);var r=e.nodes&&e.nodes.t;if(r!==null)for(const i of r)i.stop();It(e);var s=e.parent;s!==null&&s.first!==null&&Mt(e),e.next=e.prev=e.teardown=e.ctx=e.deps=e.fn=e.nodes=e.ac=null}function Dn(e,t){for(;e!==null;){var n=e===t?null:G(e);e.remove(),e=n}}function Mt(e){var t=e.parent,n=e.prev,r=e.next;n!==null&&(n.next=r),r!==null&&(r.prev=n),t!==null&&(t.first===e&&(t.first=r),t.last===e&&(t.last=n))}function kn(e,t,n=!0){var r=[];jt(e,r,!0);var s=()=>{n&&te(e),t&&t()},i=r.length;if(i>0){var a=()=>--i||s();for(var l of r)l.out(a)}else s()}function jt(e,t,n){if((e.f&C)===0){e.f^=C;var r=e.nodes&&e.nodes.t;if(r!==null)for(const l of r)(l.is_global||n)&&t.push(l);for(var s=e.first;s!==null;){var i=s.next,a=(s.f&Te)!==0||(s.f&j)!==0&&(e.f&M)!==0;jt(s,t,a?n:!1),s=i}}}function Yr(e){Lt(e,!0)}function Lt(e,t){if((e.f&C)!==0){e.f^=C,(e.f&g)===0&&(m(e,R),ee(e));for(var n=e.first;n!==null;){var r=n.next,s=(n.f&Te)!==0||(n.f&j)!==0;Lt(n,s?t:!1),n=r}var i=e.nodes&&e.nodes.t;if(i!==null)for(const a of i)(a.is_global||t)&&a.in()}}function Hr(e,t){if(e.nodes)for(var n=e.nodes.start,r=e.nodes.end;n!==null;){var s=n===r?null:G(n);t.append(n),n=s}}let X=!1;function Oe(e){X=e}let ne=!1;function it(e){ne=e}let v=null,P=!1;function B(e){v=e}let p=null;function oe(e){p=e}let F=null;function qt(e){v!==null&&(F===null?F=[e]:F.push(e))}let T=null,A=0,x=null;function Nn(e){x=e}let Yt=1,pe=0,Z=pe;function ft(e){Z=e}function Ht(){return++Yt}function ge(e){var t=e.f;if((t&R)!==0)return!0;if(t&E&&(e.f&=~W),(t&V)!==0){for(var n=e.deps,r=n.length,s=0;s<r;s++){var i=n[s];if(ge(i)&&Rt(i),i.wv>e.wv)return!0}(t&D)!==0&&N===null&&m(e,g)}return!1}function Ut(e,t,n=!0){var r=e.reactions;if(r!==null&&!F?.includes(e))for(var s=0;s<r.length;s++){var i=r[s];(i.f&E)!==0?Ut(i,t,!1):t===i&&(n?m(i,R):(i.f&g)!==0&&m(i,V),ee(i))}}function Bt(e){var t=T,n=A,r=x,s=v,i=F,a=w,l=P,u=Z,f=e.f;T=null,A=0,x=null,v=(f&(j|re))===0?e:null,F=null,Ae(e.ctx),P=!1,Z=++pe,e.ac!==null&&(Ze(()=>{e.ac.abort(fe)}),e.ac=null);try{e.f|=Ie;var o=e.fn,c=o(),_=e.deps;if(T!==null){var d;if(De(e,A),_!==null&&A>0)for(_.length=A+T.length,d=0;d<T.length;d++)_[A+d]=T[d];else e.deps=_=T;if(Pt()&&(e.f&D)!==0)for(d=A;d<_.length;d++)(_[d].reactions??=[]).push(e)}else _!==null&&A<_.length&&(De(e,A),_.length=A);if(Ee()&&x!==null&&!P&&_!==null&&(e.f&(E|V|R))===0)for(d=0;d<x.length;d++)Ut(x[d],e);return s!==null&&s!==e&&(pe++,x!==null&&(r===null?r=x:r.push(...x))),(e.f&H)!==0&&(e.f^=H),c}catch(y){return cn(y)}finally{e.f^=Ie,T=t,A=n,x=r,v=s,F=i,Ae(a),P=l,Z=u}}function Pn(e,t){let n=t.reactions;if(n!==null){var r=zt.call(n,e);if(r!==-1){var s=n.length-1;s===0?n=t.reactions=null:(n[r]=n[s],n.pop())}}if(n===null&&(t.f&E)!==0&&(T===null||!T.includes(t))){var i=t;(i.f&D)!==0&&(i.f^=D,i.f&=~W),Ke(i),St(i),De(i,0)}}function De(e,t){var n=e.deps;if(n!==null)for(var r=t;r<n.length;r++)Pn(e,n[r])}function he(e){var t=e.f;if((t&Y)===0){m(e,g);var n=p,r=X;p=e,X=!0;try{(t&(M|Ye))!==0?On(e):Ft(e),It(e);var s=Bt(e);e.teardown=typeof s=="function"?s:null,e.wv=Yt;var i}finally{X=r,p=n}}}async function Ur(){await Promise.resolve(),dn()}function Br(){return Q.ensure().settled()}function ae(e){var t=e.f,n=(t&E)!==0;if(v!==null&&!P){var r=p!==null&&(p.f&Y)!==0;if(!r&&!F?.includes(e)){var s=v.deps;if((v.f&Ie)!==0)e.rv<pe&&(e.rv=pe,T===null&&s!==null&&s[A]===e?A++:T===null?T=[e]:T.includes(e)||T.push(e));else{(v.deps??=[]).push(e);var i=e.reactions;i===null?e.reactions=[v]:i.includes(v)||i.push(v)}}}if(ne&&U.has(e))return U.get(e);if(n){var a=e;if(ne){var l=a.v;return((a.f&g)===0&&a.reactions!==null||Gt(a))&&(l=ze(a)),U.set(a,l),l}var u=(a.f&D)===0&&!P&&v!==null&&(X||(v.f&D)!==0),f=a.deps===null;ge(a)&&(u&&(a.f|=D),Rt(a)),u&&!f&&Vt(a)}if(N?.has(e))return N.get(e);if((e.f&H)!==0)throw e.v;return e.v}function Vt(e){if(e.deps!==null){e.f|=D;for(const t of e.deps)(t.reactions??=[]).push(e),(t.f&E)!==0&&(t.f&D)===0&&Vt(t)}}function Gt(e){if(e.v===b)return!0;if(e.deps===null)return!1;for(const t of e.deps)if(U.has(t)||(t.f&E)!==0&&Gt(t))return!0;return!1}function We(e){var t=P;try{return P=!0,e()}finally{P=t}}function Vr(e){if(!(typeof e!="object"||!e||e instanceof EventTarget)){if(z in e)qe(e);else if(!Array.isArray(e))for(let t in e){const n=e[t];typeof n=="object"&&n&&z in n&&qe(n)}}}function qe(e,t=new Set){if(typeof e=="object"&&e!==null&&!(e instanceof EventTarget)&&!t.has(e)){t.add(e),e instanceof Date&&e.getTime();for(let r in e)try{qe(e[r],t)}catch{}const n=at(e);if(n!==Object.prototype&&n!==Array.prototype&&n!==Map.prototype&&n!==Set.prototype&&n!==Date.prototype){const r=Xt(n);for(let s in r){const i=r[s].get;if(i)try{i.call(e)}catch{}}}}}function Kt(e,t,n){if(e==null)return t(void 0),n&&n(void 0),le;const r=We(()=>e.subscribe(t,n));return r.unsubscribe?()=>r.unsubscribe():r}const ie=[];function Cn(e,t){return{subscribe:In(e,t).subscribe}}function In(e,t=le){let n=null;const r=new Set;function s(l){if(ht(e,l)&&(e=l,n)){const u=!ie.length;for(const f of r)f[1](),ie.push(f,e);if(u){for(let f=0;f<ie.length;f+=2)ie[f][0](ie[f+1]);ie.length=0}}}function i(l){s(l(e))}function a(l,u=le){const f=[l,u];return r.add(f),r.size===1&&(n=t(s,i)||le),l(e),()=>{r.delete(f),r.size===0&&n&&(n(),n=null)}}return{set:s,update:i,subscribe:a}}function Gr(e,t,n){const r=!Array.isArray(e),s=r?[e]:e;if(!s.every(Boolean))throw new Error("derived() expects stores as input, got a falsy value");const i=t.length<2;return Cn(n,(a,l)=>{let u=!1;const f=[];let o=0,c=le;const _=()=>{if(o)return;c();const y=t(r?f[0]:f,a,l);i?a(y):c=typeof y=="function"?y:le},d=s.map((y,L)=>Kt(y,se=>{f[L]=se,o&=~(1<<L),u&&_()},()=>{o|=1<<L}));return u=!0,_(),function(){lt(d),c(),u=!1}})}function Kr(e){let t;return Kt(e,n=>t=n)(),t}function Fn(e){w===null&&dt(),be&&w.l!==null?Mn(w).m.push(e):Rn(()=>{const t=We(e);if(typeof t=="function")return t})}function $r(e){w===null&&dt(),Fn(()=>()=>We(e))}function Mn(e){var t=e.l;return t.u??={a:[],b:[],m:[]}}export{gn as $,We as A,lt as B,vt as C,Yn as D,Vr as E,$e as F,yr as G,ct as H,h as I,Yr as J,te as K,kn as L,qr as M,Hr as N,Or as O,_r as P,Te as Q,hr as R,ln as S,pr as T,Ir as U,bt as V,z as W,le as X,gr as Y,Kt as Z,Kr as _,ce as a,Xn as a$,Sn as a0,Ln as a1,_e as a2,$n as a3,nr as a4,p as a5,Y as a6,wn as a7,rr as a8,be as a9,ot as aA,or as aB,Ze as aC,mn as aD,ir as aE,fr as aF,He as aG,Be as aH,Tr as aI,an as aJ,Ve as aK,Kn as aL,xr as aM,jn as aN,Pr as aO,un as aP,Ge as aQ,$t as aR,at as aS,Zt as aT,Ee as aU,qn as aV,hn as aW,Re as aX,ve as aY,b as aZ,Un as a_,tr as aa,er as ab,sr as ac,ne as ad,Bn as ae,dn as af,Ur as ag,Pt as ah,Xe as ai,Ce as aj,Q as ak,vn as al,oe as am,B as an,Ae as ao,cn as ap,v as aq,m as ar,R as as,ee as at,V as au,je as av,dr as aw,Se as ax,zn as ay,we as az,K as b,Qn as b0,Zn as b1,C as b2,Wn as b3,Jn as b4,Lr as b5,ur as b6,mr as b7,ar as b8,Tn as b9,Vn as ba,Xt as bb,At as bc,lr as bd,Dr as be,kr as bf,Pe as bg,Gr as bh,In as bi,Hn as bj,$r as bk,Br as bl,br as c,Ar as d,Rr as e,Sr as f,ae as g,Er as h,Mr as i,xe as j,jr as k,J as l,Le as m,G as n,Fn as o,wr as p,cr as q,vr as r,q as s,Fr as t,Rn as u,ue as v,S as w,Cr as x,w as y,Nr as z};
@@ -0,0 +1,2 @@
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["../nodes/0.DD0gH91e.js","../chunks/DOXVKi87.js","../chunks/YXuXYbOb.js","../chunks/B-Z9hXPk.js","../chunks/BUqdiQ8V.js","../assets/Toast.CQSY_S6M.css","../chunks/Cr0eW1j3.js","../chunks/BAHJNsIv.js","../chunks/Bt_HBaBk.js","../assets/0.D2FnNtrO.css","../nodes/1.j1rqa9HA.js","../nodes/2.5x79czX-.js","../nodes/3.CkQ0QnVZ.js"])))=>i.map(i=>d[i]);
2
+ import{l as U,P as Y,k as z,Q as G,b as O,ae as Q,g as f,af as W,a1 as H,Y as J,p as K,z as X,u as Z,o as $,s as x,ag as ee,f as k,e as te,c as re,d as se,r as ne,h as S,t as ae}from"../chunks/YXuXYbOb.js";import{h as oe,m as ce,u as ie,f as I,a as b,c as j,t as le,s as ue}from"../chunks/DOXVKi87.js";import{B as de,p as A,i as L,b as C}from"../chunks/B-Z9hXPk.js";function T(a,e,s){U&&Y();var i=new de(a);z(()=>{var o=e()??null;i.ensure(o,o&&(r=>s(r,o)))},G)}function fe(a){return class extends me{constructor(e){super({component:a,...e})}}}class me{#t;#e;constructor(e){var s=new Map,i=(r,t)=>{var n=J(t,!1,!1);return s.set(r,n),n};const o=new Proxy({...e.props||{},$$events:{}},{get(r,t){return f(s.get(t)??i(t,Reflect.get(r,t)))},has(r,t){return t===Q?!0:(f(s.get(t)??i(t,Reflect.get(r,t))),Reflect.has(r,t))},set(r,t,n){return O(s.get(t)??i(t,n),n),Reflect.set(r,t,n)}});this.#e=(e.hydrate?oe:ce)(e.component,{target:e.target,anchor:e.anchor,props:o,context:e.context,intro:e.intro??!1,recover:e.recover}),(!e?.props?.$$host||e.sync===!1)&&W(),this.#t=o.$$events;for(const r of Object.keys(this.#e))r==="$set"||r==="$destroy"||r==="$on"||H(this,r,{get(){return this.#e[r]},set(t){this.#e[r]=t},enumerable:!0});this.#e.$set=r=>{Object.assign(o,r)},this.#e.$destroy=()=>{ie(this.#e)}}$set(e){this.#e.$set(e)}$on(e,s){this.#t[e]=this.#t[e]||[];const i=(...o)=>s.call(this,...o);return this.#t[e].push(i),()=>{this.#t[e]=this.#t[e].filter(o=>o!==i)}}$destroy(){this.#e.$destroy()}}const he="modulepreload",_e=function(a,e){return new URL(a,e).href},D={},p=function(e,s,i){let o=Promise.resolve();if(s&&s.length>0){let w=function(l){return Promise.all(l.map(d=>Promise.resolve(d).then(m=>({status:"fulfilled",value:m}),m=>({status:"rejected",reason:m}))))};const t=document.getElementsByTagName("link"),n=document.querySelector("meta[property=csp-nonce]"),R=n?.nonce||n?.getAttribute("nonce");o=w(s.map(l=>{if(l=_e(l,i),l in D)return;D[l]=!0;const d=l.endsWith(".css"),m=d?'[rel="stylesheet"]':"";if(i)for(let h=t.length-1;h>=0;h--){const c=t[h];if(c.href===l&&(!d||c.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${l}"]${m}`))return;const u=document.createElement("link");if(u.rel=d?"stylesheet":he,d||(u.as="script"),u.crossOrigin="",u.href=l,R&&u.setAttribute("nonce",R),document.head.appendChild(u),d)return new Promise((h,c)=>{u.addEventListener("load",h),u.addEventListener("error",()=>c(new Error(`Unable to preload CSS for ${l}`)))})}))}function r(t){const n=new Event("vite:preloadError",{cancelable:!0});if(n.payload=t,window.dispatchEvent(n),!n.defaultPrevented)throw t}return o.then(t=>{for(const n of t||[])n.status==="rejected"&&r(n.reason);return e().catch(r)})},ke={};var ve=I('<div id="svelte-announcer" aria-live="assertive" aria-atomic="true" style="position: absolute; left: 0; top: 0; clip: rect(0 0 0 0); clip-path: inset(50%); overflow: hidden; white-space: nowrap; width: 1px; height: 1px"><!></div>'),ge=I("<!> <!>",1);function ye(a,e){K(e,!0);let s=A(e,"components",23,()=>[]),i=A(e,"data_0",3,null),o=A(e,"data_1",3,null);X(()=>e.stores.page.set(e.page)),Z(()=>{e.stores,e.page,e.constructors,s(),e.form,i(),o(),e.stores.page.notify()});let r=x(!1),t=x(!1),n=x(null);$(()=>{const c=e.stores.page.subscribe(()=>{f(r)&&(O(t,!0),ee().then(()=>{O(n,document.title||"untitled page",!0)}))});return O(r,!0),c});const R=S(()=>e.constructors[1]);var w=ge(),l=k(w);{var d=c=>{const _=S(()=>e.constructors[0]);var v=j(),E=k(v);T(E,()=>f(_),(g,y)=>{C(y(g,{get data(){return i()},get form(){return e.form},get params(){return e.page.params},children:(P,Ee)=>{var N=j(),V=k(N);T(V,()=>f(R),(B,q)=>{C(q(B,{get data(){return o()},get form(){return e.form},get params(){return e.page.params}}),F=>s()[1]=F,()=>s()?.[1])}),b(P,N)},$$slots:{default:!0}}),P=>s()[0]=P,()=>s()?.[0])}),b(c,v)},m=c=>{const _=S(()=>e.constructors[0]);var v=j(),E=k(v);T(E,()=>f(_),(g,y)=>{C(y(g,{get data(){return i()},get form(){return e.form},get params(){return e.page.params}}),P=>s()[0]=P,()=>s()?.[0])}),b(c,v)};L(l,c=>{e.constructors[1]?c(d):c(m,!1)})}var u=te(l,2);{var h=c=>{var _=ve(),v=se(_);{var E=g=>{var y=le();ae(()=>ue(y,f(n))),b(g,y)};L(v,g=>{f(t)&&g(E)})}ne(_),b(c,_)};L(u,c=>{f(r)&&c(h)})}b(a,w),re()}const pe=fe(ye),Oe=[()=>p(()=>import("../nodes/0.DD0gH91e.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9]),import.meta.url),()=>p(()=>import("../nodes/1.j1rqa9HA.js"),__vite__mapDeps([10,1,2,8,7]),import.meta.url),()=>p(()=>import("../nodes/2.5x79czX-.js"),__vite__mapDeps([11,1,2,3,4,5]),import.meta.url),()=>p(()=>import("../nodes/3.CkQ0QnVZ.js"),__vite__mapDeps([12,1,2,3,6,8,7,4,5]),import.meta.url)],xe=[],Se={"/":[2],"/session/[project]/[id]":[3]},M={handleError:(({error:a})=>{console.error(a)}),reroute:(()=>{}),transport:{}},be=Object.fromEntries(Object.entries(M.transport).map(([a,e])=>[a,e.decode])),je=Object.fromEntries(Object.entries(M.transport).map(([a,e])=>[a,e.encode])),Ae=!1,Le=(a,e)=>be[a](e);export{Le as decode,be as decoders,Se as dictionary,je as encoders,Ae as hash,M as hooks,ke as matchers,Oe as nodes,pe as root,xe as server_loads};
@@ -0,0 +1 @@
1
+ import{l as o,a as r}from"../chunks/BAHJNsIv.js";export{o as load_css,r as start};
@@ -0,0 +1,2 @@
1
+ )�import{l as o,a as r}from"../chunks/BAHJNsIv.js";export{o as load_css,r as start};
2
+ 
@@ -1 +1 @@
1
- import{d as jt,f,e as Xe,a as c,s as u,c as St,t as z}from"../chunks/nUq5tIUU.js";import{p as Tt,s as g,a as Ye,o as It,f as J,c as o,d as a,t as y,b as Nt,e as s,g as e,u as U,w as Ot,$ as Rt,r as n}from"../chunks/fuY-CvTV.js";import{i as h}from"../chunks/pOdkXMWy.js";import{i as Dt,C as Mt,T as zt,p as At,j as Ae,k as Et,n as Pt,o as Wt,q as oe,t as Ze,v as Ut,w as Ee,x as be,y as Vt,z as Bt,A as Ht}from"../chunks/CT0aV1AN.js";import{h as Qt}from"../chunks/HaThayHP.js";import{g as qt}from"../chunks/Ck-YPZB6.js";import{p as et}from"../chunks/Dbjp-HdT.js";const Ft=!0,gr=Object.freeze(Object.defineProperty({__proto__:null,ssr:Ft},Symbol.toStringTag,{value:"Module"}));var Gt=f('<span class="text-xs text-gh-text-secondary bg-gh-border px-2 py-0.5 rounded hidden sm:inline"> </span>'),Jt=f('<div class="absolute right-3 top-1/2 -translate-y-1/2"><svg class="animate-spin h-4 w-4 text-gh-text-secondary" viewBox="0 0 24 24"><circle class="opacity-25" cx="12" cy="12" r="10" stroke="currentColor" stroke-width="4" fill="none"></circle><path class="opacity-75" fill="currentColor" d="M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"></path></svg></div>'),Kt=f('<div class="px-4 py-3 text-sm text-gh-text-secondary">Searching...</div>'),Lt=f('<div class="px-4 py-3 text-sm text-gh-text-secondary">No results found</div>'),Xt=f('<div class="text-xs text-gh-text-secondary mt-1 line-clamp-2"> </div>'),Yt=f('<button class="w-full text-left px-4 py-2 hover:bg-gh-border-subtle border-b border-gh-border last:border-b-0"><div class="flex items-center gap-2"><span> </span> <span class="text-xs text-gh-text-secondary truncate flex-shrink-0 max-w-[120px]"> </span> <span class="text-sm font-medium truncate"> </span></div> <!></button>'),Zt=f('<div class="px-4 py-2 text-xs text-gh-text-secondary border-t border-gh-border">Searching content...</div>'),er=f("<!> <!>",1),tr=f('<div class="absolute top-full left-0 right-0 mt-1 bg-gh-bg-secondary border border-gh-border rounded-md shadow-lg max-h-80 overflow-y-auto z-50"><!></div>'),rr=f(" <!>",1),ar=f("<!> ",1),sr=f("<!> ",1),or=f('<div class="fixed inset-0 bg-black/50 flex items-center justify-center z-50" role="dialog" aria-modal="true" aria-labelledby="cleanup-modal-title"><div class="bg-gh-bg-secondary border border-gh-border rounded-lg p-6 w-[400px] shadow-xl text-gh-text"><h2 id="cleanup-modal-title" class="text-lg font-semibold mb-4">Cleanup Options</h2> <div class="space-y-3 text-gh-text"><label class="flex items-center gap-3 cursor-pointer"><input type="checkbox" class="w-4 h-4 rounded border-gh-border bg-gh-bg text-gh-green focus:ring-gh-green"/> <span class="flex-1">Delete empty sessions <span class="text-gh-text-secondary"> </span></span></label> <label><input type="checkbox" class="w-4 h-4 rounded border-gh-border bg-gh-bg text-gh-green focus:ring-gh-green disabled:opacity-50"/> <span class="flex-1">Preserve sessions with todos <span class="text-gh-text-secondary"> </span></span></label> <label class="flex items-center gap-3 cursor-pointer"><input type="checkbox" class="w-4 h-4 rounded border-gh-border bg-gh-bg text-gh-green focus:ring-gh-green"/> <span class="flex-1">Delete orphan agents <span class="text-gh-text-secondary"> </span></span></label> <label class="flex items-center gap-3 cursor-pointer"><input type="checkbox" class="w-4 h-4 rounded border-gh-border bg-gh-bg text-gh-green focus:ring-gh-green"/> <span class="flex-1">Delete orphan todos <span class="text-gh-text-secondary"> </span></span></label></div> <div class="mt-4 pt-4 border-t border-gh-border text-sm text-gh-text-secondary"><!> <!> <!> <!></div> <div class="flex gap-2 mt-6 justify-end"><button class="px-4 py-2 text-sm rounded-md border border-gh-border hover:bg-gh-border-subtle">Cancel</button> <button class="px-4 py-2 text-sm rounded-md bg-gh-red text-white hover:bg-red-700 disabled:opacity-50"> </button></div></div></div>'),nr=f('<div class="fixed bottom-4 right-4 bg-gh-green text-white px-5 py-3 rounded-md text-sm z-50"><!> <!> <!> <!></div>'),lr=f('<div class="min-h-screen flex flex-col bg-gh-bg text-gh-text"><header class="bg-gh-bg-secondary border-b border-gh-border px-8 py-4 flex justify-between items-center"><div class="flex items-center gap-3"><a class="flex items-center gap-2 hover:text-gh-accent"><svg class="w-6 h-6 text-gh-accent" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M8 9l3 3-3 3m5 0h3M5 20h14a2 2 0 002-2V6a2 2 0 00-2-2H5a2 2 0 00-2 2v12a2 2 0 002 2z"></path></svg> <span class="text-2xl font-semibold hidden sm:inline">Claude Sessions</span></a> <!></div> <div class="relative flex-1 max-w-md mx-8"><input type="text" placeholder="Search sessions..." class="w-full px-4 py-2 bg-gh-bg border border-gh-border rounded-md text-sm focus:outline-none focus:border-gh-accent"/> <!> <!></div> <div class="flex gap-2"><button class="bg-gh-border-subtle border border-gh-border text-gh-text px-4 py-2 rounded-md text-sm transition-colors hover:bg-gh-border hover:border-gh-text-secondary disabled:opacity-50 disabled:cursor-not-allowed"> </button> <button class="bg-gh-red border border-gh-red text-white px-4 py-2 rounded-md text-sm transition-colors hover:bg-red-700 disabled:opacity-50 disabled:cursor-not-allowed"> </button></div></header> <main><!></main></div> <!> <!> <!> <!>',1);function xr(tt,Pe){Tt(Pe,!0);const We=U(()=>et.url.pathname.startsWith("/session/")),rt=t=>{const r="___DOT___";let i=t.replace(/--/g,r).replace(/-/g,"/").replace(new RegExp(r,"g"),"/.");const x=i.match(/^\/Users\/[^/]+\/(.+)$/);return x?`~/${x[1]}`:i},K=U(()=>{if(!e(We))return null;const t=et.url.pathname.match(/^\/session\/([^/]+)\/([^/]+)/);return t?{projectName:decodeURIComponent(t[1]),sessionId:decodeURIComponent(t[2])}:null});let ne=g(""),V=g(!1),_e=g(!1),le=g(!1),I=g(null),C=g(null),ye=g(null),Ue=g("info"),N=g(Ye({show:!1,title:"",message:"",variant:"default",onConfirm:()=>{}}));const we=(t,r="info")=>{s(ye,t,!0),s(Ue,r,!0)},at=(t,r,i,x="default")=>{s(N,{show:!0,title:t,message:r,variant:x,onConfirm:i},!0)},Ve=()=>{s(N,{...e(N),show:!1},!0)};let ie=g(""),m=g(Ye([])),L=g(!1),de=g(!1),B=g(!1),Ce=null,S=g(!0),X=g(!0),O=g(!0),A=g(!1),$e=U(()=>e(I)?.reduce((t,r)=>t+r.emptySessions.length,0)??0),Y=U(()=>e(I)?.reduce((t,r)=>t+r.emptyWithTodosCount,0)??0),ce=U(()=>e(I)?.reduce((t,r)=>t+r.orphanAgentCount,0)??0),pe=U(()=>e(I)?.reduce((t,r)=>t+r.orphanTodoCount,0)??0),ve=U(()=>e(X)?e($e)-e(Y):e($e));It(async()=>{try{const t=await Et();s(ne,t.version,!0),Pt.set({version:t.version,homeDir:t.homeDir,currentProjectName:t.currentProjectName})}catch{s(ne,"unknown")}});const st=()=>{at("Shutdown","Shutdown the server?",async()=>{Ve(),s(_e,!0);try{await Wt()}catch{}},"danger")},ot=async()=>{try{s(I,await At(),!0),s(le,!0)}catch(t){we(`Error: ${t}`,"error")}},ke=()=>{s(le,!1),s(I,null)},nt=async()=>{if(e(ve)===0&&!e(O)&&!e(A)){we("Nothing to clean up","warning");return}s(V,!0);try{s(C,await Vt({clearEmpty:e(S),clearInvalid:!1,skipWithTodos:e(X),clearOrphanAgents:e(O),clearOrphanTodos:e(A)}),!0),s(le,!1),s(I,null),setTimeout(()=>{s(C,null),window.location.reload()},2e3)}catch(t){we(`Error: ${t}`,"error")}finally{s(V,!1)}},lt=t=>{const r=t.target.value;if(s(ie,r,!0),Ce&&clearTimeout(Ce),!r.trim()){s(m,[],!0),s(B,!1);return}Ce=setTimeout(()=>it(r),300)},je=t=>{const r=e(K);return r?[...t].sort((i,x)=>{const b=i.projectName===r.projectName&&i.sessionId===r.sessionId,p=x.projectName===r.projectName&&x.sessionId===r.sessionId;return b&&!p?-1:!b&&p?1:0}):t},it=async t=>{if(!t.trim())return;const r=e(K);s(L,!0),s(B,!0);try{const i=await Ae(t,{searchContent:!1,project:r?.projectName});s(m,je(i),!0)}catch(i){console.error("Title search error:",i)}finally{s(L,!1)}s(de,!0);try{if(r){const p=await Ae(t,{searchContent:!0,project:r.projectName}),w=new Set(e(m).map($=>`${$.projectName}:${$.sessionId}`)),R=p.filter($=>!w.has(`${$.projectName}:${$.sessionId}`));s(m,je([...e(m),...R]),!0)}const i=await Ae(t,{searchContent:!0}),x=new Set(e(m).map(p=>`${p.projectName}:${p.sessionId}`)),b=i.filter(p=>!x.has(`${p.projectName}:${p.sessionId}`));s(m,je([...e(m),...b]),!0)}catch(i){console.error("Content search error:",i)}finally{s(de,!1)}},dt=t=>{s(ie,""),s(m,[],!0),s(B,!1),qt(`/session/${encodeURIComponent(t.projectName)}/${encodeURIComponent(t.sessionId)}`)},ct=()=>{setTimeout(()=>{s(B,!1)},200)};var Be=lr();Qt("12qhfyh",t=>{Ot(()=>{Rt.title="Claude Sessions"})});var Se=J(Be),Te=o(Se),Ie=o(Te),Ne=o(Ie),pt=a(Ne,2);{var vt=t=>{var r=Gt(),i=o(r);n(r),y(()=>u(i,`v${e(ne)??""}`)),c(t,r)};h(pt,t=>{e(ne)&&t(vt)})}n(Ie);var Oe=a(Ie,2),H=o(Oe);oe(H),H.__input=lt;var He=a(H,2);{var ut=t=>{var r=Jt();c(t,r)};h(He,t=>{(e(L)||e(de))&&t(ut)})}var ht=a(He,2);{var gt=t=>{var r=tr(),i=o(r);{var x=p=>{var w=Kt();c(p,w)},b=p=>{var w=St(),R=J(w);{var $=d=>{var v=Lt();c(d,v)},D=d=>{var v=er(),ee=J(v);Bt(ee,17,()=>e(m),Ht,(T,_)=>{var E=Yt();E.__click=()=>dt(e(_));var Q=o(E),q=o(Q),ge=o(q,!0);n(q);var P=a(q,2),xe=o(P,!0);n(P);var te=a(P,2),Me=o(te,!0);n(te),n(Q);var re=a(Q,2);{var fe=W=>{var F=Xt(),ze=o(F,!0);n(F),y(()=>u(ze,e(_).snippet)),c(W,F)};h(re,W=>{e(_).snippet&&W(fe)})}n(E),y(W=>{Ee(q,1,`text-xs px-1.5 py-0.5 rounded ${e(_).matchType==="title"?"bg-gh-green/20 text-gh-green":"bg-gh-accent/20 text-gh-accent"}`),u(ge,e(_).matchType==="title"?"Title":"Content"),u(xe,W),u(Me,e(_).title)},[()=>rt(e(_).projectName)]),c(T,E)});var he=a(ee,2);{var De=T=>{var _=Zt();c(T,_)};h(he,T=>{e(de)&&T(De)})}c(d,v)};h(R,d=>{e(m).length===0?d($):d(D,!1)},!0)}c(p,w)};h(i,p=>{e(m).length===0&&e(L)?p(x):p(b,!1)})}n(r),c(t,r)};h(ht,t=>{e(B)&&(e(m).length>0||e(L))&&t(gt)})}n(Oe);var Qe=a(Oe,2),Z=o(Qe);Z.__click=ot;var xt=o(Z,!0);n(Z);var ue=a(Z,2);ue.__click=st;var ft=o(ue,!0);n(ue),n(Qe),n(Te);var Re=a(Te,2),mt=o(Re);Dt(mt,()=>Pe.children),n(Re),n(Se);var qe=a(Se,2);{var bt=t=>{var r=or();r.__click=l=>l.target===l.currentTarget&&ke(),r.__keydown=l=>l.key==="Escape"&&ke();var i=o(r),x=a(o(i),2),b=o(x),p=o(b);oe(p);var w=a(p,2),R=a(o(w)),$=o(R);n(R),n(w),n(b);var D=a(b,2);let d;var v=o(D);oe(v);var ee=a(v,2),he=a(o(ee)),De=o(he);n(he),n(ee),n(D);var T=a(D,2),_=o(T);oe(_);var E=a(_,2),Q=a(o(E)),q=o(Q);n(Q),n(E),n(T);var ge=a(T,2),P=o(ge);oe(P);var xe=a(P,2),te=a(o(xe)),Me=o(te);n(te),n(xe),n(ge),n(x);var re=a(x,2),fe=o(re);{var W=l=>{var j=rr(),M=J(j),ae=a(M);{var se=k=>{var G=z();y(()=>u(G,`(skipping ${e(Y)??""} with todos)`)),c(k,G)};h(ae,k=>{e(X)&&e(Y)>0&&k(se)})}y(()=>u(M,`Will delete ${e(ve)??""} session${e(ve)!==1?"s":""} `)),c(l,j)};h(fe,l=>{e(S)&&l(W)})}var F=a(fe,2);{var ze=l=>{var j=ar(),M=J(j);{var ae=k=>{var G=z(",");c(k,G)};h(M,k=>{e(S)&&k(ae)})}var se=a(M);y(()=>u(se,` ${e(ce)??""} orphan agent${e(ce)!==1?"s":""}`)),c(l,j)};h(F,l=>{e(O)&&e(ce)>0&&l(ze)})}var Je=a(F,2);{var wt=l=>{var j=sr(),M=J(j);{var ae=k=>{var G=z(",");c(k,G)};h(M,k=>{(e(S)||e(O))&&k(ae)})}var se=a(M);y(()=>u(se,` ${e(pe)??""} orphan todo${e(pe)!==1?"s":""}`)),c(l,j)};h(Je,l=>{e(A)&&e(pe)>0&&l(wt)})}var Ct=a(Je,2);{var $t=l=>{var j=z("Nothing selected");c(l,j)};h(Ct,l=>{!e(S)&&!e(O)&&!e(A)&&l($t)})}n(re);var Ke=a(re,2),Le=o(Ke);Le.__click=ke;var me=a(Le,2);me.__click=nt;var kt=o(me,!0);n(me),n(Ke),n(i),n(r),y(()=>{u($,`(${e($e)??""})`),d=Ee(D,1,"flex items-center gap-3 cursor-pointer ml-6",null,d,{"opacity-50":!e(S)}),v.disabled=!e(S),u(De,`(${e(Y)>0?`-${e(Y)}`:"0"})`),u(q,`(${e(ce)??""})`),u(Me,`(${e(pe)??""})`),me.disabled=e(V)||e(ve)===0&&!e(O)&&!e(A),u(kt,e(V)?"Cleaning...":"Execute Cleanup")}),be(p,()=>e(S),l=>s(S,l)),be(v,()=>e(X),l=>s(X,l)),be(_,()=>e(O),l=>s(O,l)),be(P,()=>e(A),l=>s(A,l)),c(t,r)};h(qe,t=>{e(le)&&e(I)&&t(bt)})}var Fe=a(qe,2);{var _t=t=>{var r=nr(),i=o(r);{var x=d=>{var v=z();y(()=>u(v,`Removed ${e(C).removedMessageCount??""} invalid messages.`)),c(d,v)};h(i,d=>{e(C).removedMessageCount>0&&d(x)})}var b=a(i,2);{var p=d=>{var v=z();y(()=>u(v,`Deleted ${e(C).deletedCount??""} empty sessions.`)),c(d,v)};h(b,d=>{e(C).deletedCount>0&&d(p)})}var w=a(b,2);{var R=d=>{var v=z();y(()=>u(v,`Deleted ${e(C).deletedOrphanAgentCount??""} orphan agents.`)),c(d,v)};h(w,d=>{e(C).deletedOrphanAgentCount>0&&d(R)})}var $=a(w,2);{var D=d=>{var v=z();y(()=>u(v,`Deleted ${e(C).deletedOrphanTodoCount??""} orphan todos.`)),c(d,v)};h($,d=>{e(C).deletedOrphanTodoCount>0&&d(D)})}n(r),c(t,r)};h(Fe,t=>{e(C)&&t(_t)})}var Ge=a(Fe,2);Mt(Ge,{get show(){return e(N).show},get title(){return e(N).title},get message(){return e(N).message},get variant(){return e(N).variant},get onConfirm(){return e(N).onConfirm},onCancel:Ve});var yt=a(Ge,2);zt(yt,{get variant(){return e(Ue)},get message(){return e(ye)},set message(t){s(ye,t,!0)}}),y(t=>{Ze(Ne,"href",t),Ze(Ne,"title",e(K)?"Back to project":"Claude Sessions"),Ut(H,e(ie)),Z.disabled=e(V),u(xt,e(V)?"Cleaning...":"Cleanup"),ue.disabled=e(_e),u(ft,e(_e)?"Shutting down...":"Shutdown"),Ee(Re,1,`flex-1 ${e(We)?"":"p-8 max-w-7xl mx-auto"} w-full overflow-y-auto`)},[()=>e(K)?`/#project=${encodeURIComponent(e(K).projectName)}`:"/"]),Xe("focus",H,()=>e(ie)&&s(B,!0)),Xe("blur",H,ct),c(tt,Be),Nt()}jt(["input","click","keydown"]);export{xr as component,gr as universal};
1
+ import{d as jt,f,e as Xe,a as c,s as u,c as St,t as z}from"../chunks/DOXVKi87.js";import{p as Tt,s as g,a as Ye,o as It,f as J,d as o,e as a,t as y,c as Nt,b as s,g as e,h as U,x as Ot,$ as Rt,r as n}from"../chunks/YXuXYbOb.js";import{i as h}from"../chunks/B-Z9hXPk.js";import{k as Dt,C as Mt,T as zt,p as At,n as Ae,o as Et,a as Pt,q as Wt,t as oe,v as Ze,w as Ut,x as Ee,y as be,z as Bt,A as Vt,B as Ht}from"../chunks/BUqdiQ8V.js";import{h as Qt}from"../chunks/Cr0eW1j3.js";import{g as qt}from"../chunks/BAHJNsIv.js";import{p as et}from"../chunks/Bt_HBaBk.js";const Ft=!0,gr=Object.freeze(Object.defineProperty({__proto__:null,ssr:Ft},Symbol.toStringTag,{value:"Module"}));var Gt=f('<span class="text-xs text-gh-text-secondary bg-gh-border px-2 py-0.5 rounded hidden sm:inline"> </span>'),Jt=f('<div class="absolute right-3 top-1/2 -translate-y-1/2"><svg class="animate-spin h-4 w-4 text-gh-text-secondary" viewBox="0 0 24 24"><circle class="opacity-25" cx="12" cy="12" r="10" stroke="currentColor" stroke-width="4" fill="none"></circle><path class="opacity-75" fill="currentColor" d="M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"></path></svg></div>'),Kt=f('<div class="px-4 py-3 text-sm text-gh-text-secondary">Searching...</div>'),Lt=f('<div class="px-4 py-3 text-sm text-gh-text-secondary">No results found</div>'),Xt=f('<div class="text-xs text-gh-text-secondary mt-1 line-clamp-2"> </div>'),Yt=f('<button class="w-full text-left px-4 py-2 hover:bg-gh-border-subtle border-b border-gh-border last:border-b-0"><div class="flex items-center gap-2"><span> </span> <span class="text-xs text-gh-text-secondary truncate flex-shrink-0 max-w-[120px]"> </span> <span class="text-sm font-medium truncate"> </span></div> <!></button>'),Zt=f('<div class="px-4 py-2 text-xs text-gh-text-secondary border-t border-gh-border">Searching content...</div>'),er=f("<!> <!>",1),tr=f('<div class="absolute top-full left-0 right-0 mt-1 bg-gh-bg-secondary border border-gh-border rounded-md shadow-lg max-h-80 overflow-y-auto z-50"><!></div>'),rr=f(" <!>",1),ar=f("<!> ",1),sr=f("<!> ",1),or=f('<div class="fixed inset-0 bg-black/50 flex items-center justify-center z-50" role="dialog" aria-modal="true" aria-labelledby="cleanup-modal-title"><div class="bg-gh-bg-secondary border border-gh-border rounded-lg p-6 w-[400px] shadow-xl text-gh-text"><h2 id="cleanup-modal-title" class="text-lg font-semibold mb-4">Cleanup Options</h2> <div class="space-y-3 text-gh-text"><label class="flex items-center gap-3 cursor-pointer"><input type="checkbox" class="w-4 h-4 rounded border-gh-border bg-gh-bg text-gh-green focus:ring-gh-green"/> <span class="flex-1">Delete empty sessions <span class="text-gh-text-secondary"> </span></span></label> <label><input type="checkbox" class="w-4 h-4 rounded border-gh-border bg-gh-bg text-gh-green focus:ring-gh-green disabled:opacity-50"/> <span class="flex-1">Preserve sessions with todos <span class="text-gh-text-secondary"> </span></span></label> <label class="flex items-center gap-3 cursor-pointer"><input type="checkbox" class="w-4 h-4 rounded border-gh-border bg-gh-bg text-gh-green focus:ring-gh-green"/> <span class="flex-1">Delete orphan agents <span class="text-gh-text-secondary"> </span></span></label> <label class="flex items-center gap-3 cursor-pointer"><input type="checkbox" class="w-4 h-4 rounded border-gh-border bg-gh-bg text-gh-green focus:ring-gh-green"/> <span class="flex-1">Delete orphan todos <span class="text-gh-text-secondary"> </span></span></label></div> <div class="mt-4 pt-4 border-t border-gh-border text-sm text-gh-text-secondary"><!> <!> <!> <!></div> <div class="flex gap-2 mt-6 justify-end"><button class="px-4 py-2 text-sm rounded-md border border-gh-border hover:bg-gh-border-subtle">Cancel</button> <button class="px-4 py-2 text-sm rounded-md bg-gh-red text-white hover:bg-red-700 disabled:opacity-50"> </button></div></div></div>'),nr=f('<div class="fixed bottom-4 right-4 bg-gh-green text-white px-5 py-3 rounded-md text-sm z-50"><!> <!> <!> <!></div>'),lr=f('<div class="min-h-screen flex flex-col bg-gh-bg text-gh-text"><header class="bg-gh-bg-secondary border-b border-gh-border px-8 py-4 flex justify-between items-center"><div class="flex items-center gap-3"><a class="flex items-center gap-2 hover:text-gh-accent"><svg class="w-6 h-6 text-gh-accent" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M8 9l3 3-3 3m5 0h3M5 20h14a2 2 0 002-2V6a2 2 0 00-2-2H5a2 2 0 00-2 2v12a2 2 0 002 2z"></path></svg> <span class="text-2xl font-semibold hidden sm:inline">Claude Sessions</span></a> <!></div> <div class="relative flex-1 max-w-md mx-8"><input type="text" placeholder="Search sessions..." class="w-full px-4 py-2 bg-gh-bg border border-gh-border rounded-md text-sm focus:outline-none focus:border-gh-accent"/> <!> <!></div> <div class="flex gap-2"><button class="bg-gh-border-subtle border border-gh-border text-gh-text px-4 py-2 rounded-md text-sm transition-colors hover:bg-gh-border hover:border-gh-text-secondary disabled:opacity-50 disabled:cursor-not-allowed"> </button> <button class="bg-gh-red border border-gh-red text-white px-4 py-2 rounded-md text-sm transition-colors hover:bg-red-700 disabled:opacity-50 disabled:cursor-not-allowed"> </button></div></header> <main><!></main></div> <!> <!> <!> <!>',1);function xr(tt,Pe){Tt(Pe,!0);const We=U(()=>et.url.pathname.startsWith("/session/")),rt=t=>{const r="___DOT___";let i=t.replace(/--/g,r).replace(/-/g,"/").replace(new RegExp(r,"g"),"/.");const x=i.match(/^\/Users\/[^/]+\/(.+)$/);return x?`~/${x[1]}`:i},K=U(()=>{if(!e(We))return null;const t=et.url.pathname.match(/^\/session\/([^/]+)\/([^/]+)/);return t?{projectName:decodeURIComponent(t[1]),sessionId:decodeURIComponent(t[2])}:null});let ne=g(""),B=g(!1),_e=g(!1),le=g(!1),I=g(null),C=g(null),ye=g(null),Ue=g("info"),N=g(Ye({show:!1,title:"",message:"",variant:"default",onConfirm:()=>{}}));const we=(t,r="info")=>{s(ye,t,!0),s(Ue,r,!0)},at=(t,r,i,x="default")=>{s(N,{show:!0,title:t,message:r,variant:x,onConfirm:i},!0)},Be=()=>{s(N,{...e(N),show:!1},!0)};let ie=g(""),m=g(Ye([])),L=g(!1),de=g(!1),V=g(!1),Ce=null,S=g(!0),X=g(!0),O=g(!0),A=g(!1),$e=U(()=>e(I)?.reduce((t,r)=>t+r.emptySessions.length,0)??0),Y=U(()=>e(I)?.reduce((t,r)=>t+r.emptyWithTodosCount,0)??0),ce=U(()=>e(I)?.reduce((t,r)=>t+r.orphanAgentCount,0)??0),pe=U(()=>e(I)?.reduce((t,r)=>t+r.orphanTodoCount,0)??0),ve=U(()=>e(X)?e($e)-e(Y):e($e));It(async()=>{try{const t=await Et();s(ne,t.version,!0),Pt.set({version:t.version,homeDir:t.homeDir,currentProjectName:t.currentProjectName})}catch{s(ne,"unknown")}});const st=()=>{at("Shutdown","Shutdown the server?",async()=>{Be(),s(_e,!0);try{await Wt()}catch{}},"danger")},ot=async()=>{try{s(I,await At(),!0),s(le,!0)}catch(t){we(`Error: ${t}`,"error")}},ke=()=>{s(le,!1),s(I,null)},nt=async()=>{if(e(ve)===0&&!e(O)&&!e(A)){we("Nothing to clean up","warning");return}s(B,!0);try{s(C,await Bt({clearEmpty:e(S),clearInvalid:!1,skipWithTodos:e(X),clearOrphanAgents:e(O),clearOrphanTodos:e(A)}),!0),s(le,!1),s(I,null),setTimeout(()=>{s(C,null),window.location.reload()},2e3)}catch(t){we(`Error: ${t}`,"error")}finally{s(B,!1)}},lt=t=>{const r=t.target.value;if(s(ie,r,!0),Ce&&clearTimeout(Ce),!r.trim()){s(m,[],!0),s(V,!1);return}Ce=setTimeout(()=>it(r),300)},je=t=>{const r=e(K);return r?[...t].sort((i,x)=>{const b=i.projectName===r.projectName&&i.sessionId===r.sessionId,p=x.projectName===r.projectName&&x.sessionId===r.sessionId;return b&&!p?-1:!b&&p?1:0}):t},it=async t=>{if(!t.trim())return;const r=e(K);s(L,!0),s(V,!0);try{const i=await Ae(t,{searchContent:!1,project:r?.projectName});s(m,je(i),!0)}catch(i){console.error("Title search error:",i)}finally{s(L,!1)}s(de,!0);try{if(r){const p=await Ae(t,{searchContent:!0,project:r.projectName}),w=new Set(e(m).map($=>`${$.projectName}:${$.sessionId}`)),R=p.filter($=>!w.has(`${$.projectName}:${$.sessionId}`));s(m,je([...e(m),...R]),!0)}const i=await Ae(t,{searchContent:!0}),x=new Set(e(m).map(p=>`${p.projectName}:${p.sessionId}`)),b=i.filter(p=>!x.has(`${p.projectName}:${p.sessionId}`));s(m,je([...e(m),...b]),!0)}catch(i){console.error("Content search error:",i)}finally{s(de,!1)}},dt=t=>{s(ie,""),s(m,[],!0),s(V,!1),qt(`/session/${encodeURIComponent(t.projectName)}/${encodeURIComponent(t.sessionId)}`)},ct=()=>{setTimeout(()=>{s(V,!1)},200)};var Ve=lr();Qt("12qhfyh",t=>{Ot(()=>{Rt.title="Claude Sessions"})});var Se=J(Ve),Te=o(Se),Ie=o(Te),Ne=o(Ie),pt=a(Ne,2);{var vt=t=>{var r=Gt(),i=o(r);n(r),y(()=>u(i,`v${e(ne)??""}`)),c(t,r)};h(pt,t=>{e(ne)&&t(vt)})}n(Ie);var Oe=a(Ie,2),H=o(Oe);oe(H),H.__input=lt;var He=a(H,2);{var ut=t=>{var r=Jt();c(t,r)};h(He,t=>{(e(L)||e(de))&&t(ut)})}var ht=a(He,2);{var gt=t=>{var r=tr(),i=o(r);{var x=p=>{var w=Kt();c(p,w)},b=p=>{var w=St(),R=J(w);{var $=d=>{var v=Lt();c(d,v)},D=d=>{var v=er(),ee=J(v);Vt(ee,17,()=>e(m),Ht,(T,_)=>{var E=Yt();E.__click=()=>dt(e(_));var Q=o(E),q=o(Q),ge=o(q,!0);n(q);var P=a(q,2),xe=o(P,!0);n(P);var te=a(P,2),Me=o(te,!0);n(te),n(Q);var re=a(Q,2);{var fe=W=>{var F=Xt(),ze=o(F,!0);n(F),y(()=>u(ze,e(_).snippet)),c(W,F)};h(re,W=>{e(_).snippet&&W(fe)})}n(E),y(W=>{Ee(q,1,`text-xs px-1.5 py-0.5 rounded ${e(_).matchType==="title"?"bg-gh-green/20 text-gh-green":"bg-gh-accent/20 text-gh-accent"}`),u(ge,e(_).matchType==="title"?"Title":"Content"),u(xe,W),u(Me,e(_).title)},[()=>rt(e(_).projectName)]),c(T,E)});var he=a(ee,2);{var De=T=>{var _=Zt();c(T,_)};h(he,T=>{e(de)&&T(De)})}c(d,v)};h(R,d=>{e(m).length===0?d($):d(D,!1)},!0)}c(p,w)};h(i,p=>{e(m).length===0&&e(L)?p(x):p(b,!1)})}n(r),c(t,r)};h(ht,t=>{e(V)&&(e(m).length>0||e(L))&&t(gt)})}n(Oe);var Qe=a(Oe,2),Z=o(Qe);Z.__click=ot;var xt=o(Z,!0);n(Z);var ue=a(Z,2);ue.__click=st;var ft=o(ue,!0);n(ue),n(Qe),n(Te);var Re=a(Te,2),mt=o(Re);Dt(mt,()=>Pe.children),n(Re),n(Se);var qe=a(Se,2);{var bt=t=>{var r=or();r.__click=l=>l.target===l.currentTarget&&ke(),r.__keydown=l=>l.key==="Escape"&&ke();var i=o(r),x=a(o(i),2),b=o(x),p=o(b);oe(p);var w=a(p,2),R=a(o(w)),$=o(R);n(R),n(w),n(b);var D=a(b,2);let d;var v=o(D);oe(v);var ee=a(v,2),he=a(o(ee)),De=o(he);n(he),n(ee),n(D);var T=a(D,2),_=o(T);oe(_);var E=a(_,2),Q=a(o(E)),q=o(Q);n(Q),n(E),n(T);var ge=a(T,2),P=o(ge);oe(P);var xe=a(P,2),te=a(o(xe)),Me=o(te);n(te),n(xe),n(ge),n(x);var re=a(x,2),fe=o(re);{var W=l=>{var j=rr(),M=J(j),ae=a(M);{var se=k=>{var G=z();y(()=>u(G,`(skipping ${e(Y)??""} with todos)`)),c(k,G)};h(ae,k=>{e(X)&&e(Y)>0&&k(se)})}y(()=>u(M,`Will delete ${e(ve)??""} session${e(ve)!==1?"s":""} `)),c(l,j)};h(fe,l=>{e(S)&&l(W)})}var F=a(fe,2);{var ze=l=>{var j=ar(),M=J(j);{var ae=k=>{var G=z(",");c(k,G)};h(M,k=>{e(S)&&k(ae)})}var se=a(M);y(()=>u(se,` ${e(ce)??""} orphan agent${e(ce)!==1?"s":""}`)),c(l,j)};h(F,l=>{e(O)&&e(ce)>0&&l(ze)})}var Je=a(F,2);{var wt=l=>{var j=sr(),M=J(j);{var ae=k=>{var G=z(",");c(k,G)};h(M,k=>{(e(S)||e(O))&&k(ae)})}var se=a(M);y(()=>u(se,` ${e(pe)??""} orphan todo${e(pe)!==1?"s":""}`)),c(l,j)};h(Je,l=>{e(A)&&e(pe)>0&&l(wt)})}var Ct=a(Je,2);{var $t=l=>{var j=z("Nothing selected");c(l,j)};h(Ct,l=>{!e(S)&&!e(O)&&!e(A)&&l($t)})}n(re);var Ke=a(re,2),Le=o(Ke);Le.__click=ke;var me=a(Le,2);me.__click=nt;var kt=o(me,!0);n(me),n(Ke),n(i),n(r),y(()=>{u($,`(${e($e)??""})`),d=Ee(D,1,"flex items-center gap-3 cursor-pointer ml-6",null,d,{"opacity-50":!e(S)}),v.disabled=!e(S),u(De,`(${e(Y)>0?`-${e(Y)}`:"0"})`),u(q,`(${e(ce)??""})`),u(Me,`(${e(pe)??""})`),me.disabled=e(B)||e(ve)===0&&!e(O)&&!e(A),u(kt,e(B)?"Cleaning...":"Execute Cleanup")}),be(p,()=>e(S),l=>s(S,l)),be(v,()=>e(X),l=>s(X,l)),be(_,()=>e(O),l=>s(O,l)),be(P,()=>e(A),l=>s(A,l)),c(t,r)};h(qe,t=>{e(le)&&e(I)&&t(bt)})}var Fe=a(qe,2);{var _t=t=>{var r=nr(),i=o(r);{var x=d=>{var v=z();y(()=>u(v,`Removed ${e(C).removedMessageCount??""} invalid messages.`)),c(d,v)};h(i,d=>{e(C).removedMessageCount>0&&d(x)})}var b=a(i,2);{var p=d=>{var v=z();y(()=>u(v,`Deleted ${e(C).deletedCount??""} empty sessions.`)),c(d,v)};h(b,d=>{e(C).deletedCount>0&&d(p)})}var w=a(b,2);{var R=d=>{var v=z();y(()=>u(v,`Deleted ${e(C).deletedOrphanAgentCount??""} orphan agents.`)),c(d,v)};h(w,d=>{e(C).deletedOrphanAgentCount>0&&d(R)})}var $=a(w,2);{var D=d=>{var v=z();y(()=>u(v,`Deleted ${e(C).deletedOrphanTodoCount??""} orphan todos.`)),c(d,v)};h($,d=>{e(C).deletedOrphanTodoCount>0&&d(D)})}n(r),c(t,r)};h(Fe,t=>{e(C)&&t(_t)})}var Ge=a(Fe,2);Mt(Ge,{get show(){return e(N).show},get title(){return e(N).title},get message(){return e(N).message},get variant(){return e(N).variant},get onConfirm(){return e(N).onConfirm},onCancel:Be});var yt=a(Ge,2);zt(yt,{get variant(){return e(Ue)},get message(){return e(ye)},set message(t){s(ye,t,!0)}}),y(t=>{Ze(Ne,"href",t),Ze(Ne,"title",e(K)?"Back to project":"Claude Sessions"),Ut(H,e(ie)),Z.disabled=e(B),u(xt,e(B)?"Cleaning...":"Cleanup"),ue.disabled=e(_e),u(ft,e(_e)?"Shutting down...":"Shutdown"),Ee(Re,1,`flex-1 ${e(We)?"":"p-8 max-w-7xl mx-auto"} w-full overflow-y-auto`)},[()=>e(K)?`/#project=${encodeURIComponent(e(K).projectName)}`:"/"]),Xe("focus",H,()=>e(ie)&&s(V,!0)),Xe("blur",H,ct),c(tt,Ve),Nt()}jt(["input","click","keydown"]);export{xr as component,gr as universal};
@@ -0,0 +1 @@
1
+ import{f as v,a as b,s as c}from"../chunks/DOXVKi87.js";import{y as x,z as y,u as i,A as k,B as u,D as E,g as h,E as z,F as A,G as B,p as D,f as F,t as G,c as j,e as q,d as m,r as _}from"../chunks/YXuXYbOb.js";import{p as g}from"../chunks/Bt_HBaBk.js";function w(r=!1){const t=x,e=t.l.u;if(!e)return;let a=()=>z(t.s);if(r){let o=0,s={};const f=A(()=>{let p=!1;const l=t.s;for(const n in l)l[n]!==s[n]&&(s[n]=l[n],p=!0);return p&&o++,o});a=()=>h(f)}e.b.length&&y(()=>{d(t,a),u(e.b)}),i(()=>{const o=k(()=>e.m.map(E));return()=>{for(const s of o)typeof s=="function"&&s()}}),e.a.length&&i(()=>{d(t,a),u(e.a)})}function d(r,t){if(r.l.s)for(const e of r.l.s)h(e);t()}B();var C=v("<h1> </h1> <p> </p>",1);function K(r,t){D(t,!1),w();var e=C(),a=F(e),o=m(a,!0);_(a);var s=q(a,2),f=m(s,!0);_(s),G(()=>{c(o,g.status),c(f,g.error?.message)}),b(r,e),j()}export{K as component};
@@ -0,0 +1,4 @@
1
+ import{f as W,a as k,s as Pe}from"../chunks/DOXVKi87.js";import{p as Te,s as g,a as w,u as _e,g as e,b as o,o as xe,f as Ie,c as De,d as te,e as N,h as se,r as oe,t as $e}from"../chunks/YXuXYbOb.js";import{s as Ae,i as ae,a as be}from"../chunks/B-Z9hXPk.js";import{P as Fe,S as Le,T as Re,C as Oe,I as Ee,e as H,a as Ve,g as U,l as ke,r as He,b as Ue,c as We,d as qe,f as ze,h as Be,i as Ge,u as Je,s as Ke,m as Qe,j as Xe}from"../chunks/BUqdiQ8V.js";var Ye=W('<div class="fixed bottom-4 right-4 bg-gh-accent text-white px-4 py-2 rounded">Loading...</div>'),Ze=W('<div class="fixed bottom-4 right-4 bg-gh-red text-white px-4 py-2 rounded"> </div>'),et=W('<div class="grid grid-cols-[350px_1fr] gap-4 h-[calc(100vh-120px)]"><!> <!></div> <!> <!> <!> <!> <!>',1);function nt(ne,re){Te(re,!0);const q=()=>Ae(Ve,"$appConfig",ie),[ie,ce]=be();let y=g(w([])),c=g(w(new Map)),m=g(w(new Map)),f=g(w(new Set)),i=g(null),l=g(w([])),D=g(w([])),$=g(w([])),h=g(!1),P=g(null),d=g(null),T=g(null),_=g("summary"),x=g("desc"),j=g(w({show:!1,title:"",message:"",variant:"default",onConfirm:()=>{}})),v=g(w({show:!1,title:"",label:"",initialValue:"",onConfirm:()=>{}}));const A=(t,s,a,n="default")=>{o(j,{show:!0,title:t,message:s,variant:n,onConfirm:a},!0)},I=()=>{o(j,{...e(j),show:!1},!0)},z=(t,s,a,n)=>{o(v,{show:!0,title:t,label:s,initialValue:a,onConfirm:n},!0)},b=()=>{o(v,{...e(v),show:!1},!0)},F=()=>{const t=window.location.hash.slice(1),s=new URLSearchParams(t);return{project:s.get("project")??void 0,session:s.get("session")??void 0}},M=(t,s)=>{const a=new URLSearchParams;t&&a.set("project",t),s&&a.set("session",s);const n=a.toString();window.history.replaceState(null,"",n?`#${n}`:window.location.pathname)},ue=async()=>{o(h,!0),o(d,null);try{o(y,await ke(),!0)}catch(t){o(d,String(t),!0)}finally{o(h,!1)}},L=async t=>{if(!e(c).has(t)){o(P,t,!0);try{const s=await H(t,{field:e(_),order:e(x)}),a=[],n=new Map;for(const r of s)a.push({id:r.id,projectName:t,title:r.title,messageCount:r.messageCount,createdAt:r.createdAt,updatedAt:r.updatedAt}),n.set(r.id,r);e(c).set(t,a),o(c,new Map(e(c)),!0),e(m).set(t,n),o(m,new Map(e(m)),!0)}catch(s){o(d,String(s),!0)}finally{o(P,null)}}},R=async()=>{const{project:t,session:s}=F();if(t&&(await L(t),e(f).add(t),o(f,new Set(e(f)),!0),s)){const n=e(c).get(t)?.find(r=>r.id===s);n&&await B(n,!1)}},de=async()=>{const{project:t}=F();if(t)return;const s=q().currentProjectName;if(!s)return;e(y).find(n=>n.name===s)&&(await L(s),e(f).add(s),o(f,new Set(e(f)),!0),M(s))},le=async t=>{e(f).has(t)?(e(f).delete(t),o(f,new Set(e(f)),!0),e(i)?.projectName===t&&M()):(await L(t),e(f).add(t),o(f,new Set(e(f)),!0),M(t,e(i)?.projectName===t?e(i).id:void 0))},B=async(t,s=!0)=>{o(i,t,!0),o(h,!0),o(d,null);try{o(l,await U(t.projectName,t.id),!0);const a=e(m).get(t.projectName)?.get(t.id);if(a){const n=a.todos?.sessionTodos??[],r=a.todos?.agentTodos?.flatMap(p=>p.todos)??[];o(D,[...n,...r],!0),o($,a.agents??[],!0)}else{const n=await We(t.projectName,t.id),r=n.todos?.sessionTodos??[],p=n.todos?.agentTodos?.flatMap(u=>u.todos)??[];o(D,[...r,...p],!0),o($,n.agents??[],!0)}s&&M(t.projectName,t.id)}catch(a){o(d,String(a),!0)}finally{o(h,!1)}},pe=(t,s)=>{t.stopPropagation(),A("Delete Session",`Delete session "${s.title}"?`,async()=>{I();try{await Be(s.projectName,s.id);const a=e(c).get(s.projectName);a&&(e(c).set(s.projectName,a.filter(n=>n.id!==s.id)),o(c,new Map(e(c)),!0)),e(i)?.id===s.id&&(o(i,null),o(l,[],!0),M(s.projectName))}catch(a){o(d,String(a),!0)}},"danger")},ge=(t,s)=>{t.stopPropagation();const a=e(m).get(s.projectName)?.get(s.id),n=Ue(a?.customTitle,a?.currentSummary,s.title,1/0,"");z("Rename Session","Sets custom-title for CLI, first summary for VSCode extension",n,async r=>{if(b(),r!==n)try{await Ge(s.projectName,s.id,r),a&&(a.customTitle=r,a.currentSummary=r,a.summaries.length>0?a.summaries[0]={...a.summaries[0],summary:r}:a.summaries=[{summary:r}]),o(c,new Map(e(c)),!0),o(m,new Map(e(m)),!0),e(i)?.id===s.id&&o(l,await U(s.projectName,s.id),!0)}catch(p){o(d,String(p),!0)}})},me=async t=>{if(!e(i))return;const s=t.uuid||t.messageId||t.leafUuid;if(!s)return;const a=t.type==="file-history-snapshot"?"file-history-snapshot":t.type==="summary"?"summary":void 0,n=[...e(l)];qe(n,s,a),o(l,n,!0);const p=e(c).get(e(i).projectName)?.find(u=>u.id===e(i).id);p&&(p.messageCount=e(l).length,o(c,new Map(e(c)),!0)),ze(e(i).projectName,e(i).id,s,a).catch(u=>{o(d,String(u),!0)})},fe=t=>{if(!e(i))return;const s=t.customTitle??"";z("Edit Custom Title","Custom title:",s,async a=>{if(b(),a!==s)try{await Je(e(i).projectName,e(i).id,t.uuid,a),t.customTitle=a,o(l,[...e(l)],!0)}catch(n){o(d,String(n),!0)}})},he=t=>{if(!e(i))return;const s=e(l).findIndex(r=>r.uuid===t.uuid),a=s,n=e(l).length-s;A("Split Session",`Split session at this message?
2
+
3
+ This session will keep ${n} messages (from here onwards).
4
+ Old messages (${a}) will be moved to a new session.`,async()=>{I();const r=e(i).projectName,p=e(i).id;try{o(h,!0);const u=await Ke(r,p,t.uuid);if(u.success&&u.newSessionId){const C=await H(r),E=[],ee=new Map;for(const S of C)E.push({id:S.id,projectName:r,title:S.title,messageCount:S.messageCount,createdAt:S.createdAt,updatedAt:S.updatedAt}),ee.set(S.id,S);e(c).set(r,E),o(c,new Map(e(c)),!0),e(m).set(r,ee),o(m,new Map(e(m)),!0),o(l,e(l).slice(s),!0);const V=E.find(S=>S.id===p);V&&(V.messageCount=e(l).length,o(i,{...V},!0)),o(T,`Session split! Old messages moved to new session: ${u.newSessionId.slice(0,8)}...`)}else o(d,u.error??"Failed to split session",!0)}catch(u){o(d,String(u),!0)}finally{o(h,!1)}})},Se=(t,s)=>{A("Move Session",`Move session "${t.title}" to ${s.split("-").pop()}?`,async()=>{I();try{o(h,!0);const a=await Qe(t.projectName,t.id,s);if(a.success){const n=e(c).get(t.projectName);n&&e(c).set(t.projectName,n.filter(C=>C.id!==t.id));const r=await Xe(s);e(c).set(s,r),o(c,new Map(e(c)),!0);const p=e(y).find(C=>C.name===t.projectName),u=e(y).find(C=>C.name===s);p&&p.sessionCount--,u&&u.sessionCount++,o(y,[...e(y)],!0),e(i)?.id===t.id&&(o(i,null),o(l,[],!0),M())}else o(d,a.error??"Failed to move session",!0)}catch(a){o(d,String(a),!0)}finally{o(h,!1)}})},we=async(t,s)=>{t.stopPropagation();try{const a=await He(s.projectName,s.id);a.success?o(T,`Claude session started (PID: ${a.pid})`):o(d,a.error??"Failed to resume session",!0)}catch(a){o(d,String(a),!0)}};let G=g(!1);_e(()=>{if(q().currentProjectName&&e(y).length>0&&!e(G)){const{project:s}=F();s||(o(G,!0),de())}});const ye=async(t,s)=>{o(_,t,!0),o(x,s,!0),localStorage.setItem("claudeSessionsSortField",t),localStorage.setItem("claudeSessionsSortOrder",s);for(const a of e(f)){o(P,a,!0);try{const n=await H(a,{field:t,order:s}),r=[],p=new Map;for(const u of n)r.push({id:u.id,projectName:a,title:u.title,messageCount:u.messageCount,createdAt:u.createdAt,updatedAt:u.updatedAt}),p.set(u.id,u);e(c).set(a,r),e(m).set(a,p)}catch(n){o(d,String(n),!0)}}o(c,new Map(e(c)),!0),o(m,new Map(e(m)),!0),o(P,null)},je=()=>{const t=localStorage.getItem("claudeSessionsSortField"),s=localStorage.getItem("claudeSessionsSortOrder");t&&o(_,t,!0),s&&o(x,s,!0)};xe(()=>(je(),ue().then(()=>R()),window.addEventListener("hashchange",R),()=>window.removeEventListener("hashchange",R)));var J=et(),O=Ie(J),K=te(O);Fe(K,{get projects(){return e(y)},get projectSessions(){return e(c)},get projectSessionData(){return e(m)},get expandedProjects(){return e(f)},get selectedSession(){return e(i)},get loadingProject(){return e(P)},get sortField(){return e(_)},get sortOrder(){return e(x)},onToggleProject:le,onSelectSession:B,onRenameSession:ge,onDeleteSession:pe,onMoveSession:Se,onResumeSession:we,onSortChange:ye});var ve=N(K,2);{let t=se(()=>e(i)?e(m).get(e(i).projectName)?.get(e(i).id)?.customTitle:void 0),s=se(()=>e(i)?e(m).get(e(i).projectName)?.get(e(i).id)?.currentSummary:void 0);Le(ve,{get session(){return e(i)},get messages(){return e(l)},get todos(){return e(D)},get agents(){return e($)},get customTitle(){return e(t)},get currentSummary(){return e(s)},onMessagesChange:a=>o(l,a,!0),onRefresh:async()=>{e(i)&&o(l,await U(e(i).projectName,e(i).id),!0)},onDeleteMessage:me,onEditTitle:fe,onSplitSession:he})}oe(O);var Q=N(O,2);{var Ce=t=>{var s=Ye();k(t,s)};ae(Q,t=>{e(h)&&t(Ce)})}var X=N(Q,2);{var Me=t=>{var s=Ze(),a=te(s,!0);oe(s),$e(()=>Pe(a,e(d))),k(t,s)};ae(X,t=>{e(d)&&t(Me)})}var Y=N(X,2);Re(Y,{get message(){return e(T)},set message(t){o(T,t,!0)}});var Z=N(Y,2);Oe(Z,{get show(){return e(j).show},get title(){return e(j).title},get message(){return e(j).message},get variant(){return e(j).variant},get onConfirm(){return e(j).onConfirm},onCancel:I});var Ne=N(Z,2);Ee(Ne,{get show(){return e(v).show},get title(){return e(v).title},get label(){return e(v).label},get initialValue(){return e(v).initialValue},get onConfirm(){return e(v).onConfirm},onCancel:b}),k(ne,J),De(),ce()}export{nt as component};
@@ -0,0 +1,4 @@
1
+ import{f as M,a as C,c as se,s as oe}from"../chunks/DOXVKi87.js";import{p as ae,s as l,a as w,o as re,f as A,g as e,c as ne,i as ie,e as I,b as t,$ as le,h as y,d as b,r as x,t as ue}from"../chunks/YXuXYbOb.js";import{i as F}from"../chunks/B-Z9hXPk.js";import{h as de}from"../chunks/Cr0eW1j3.js";import{p as L}from"../chunks/Bt_HBaBk.js";import{T as ce,C as me,I as fe,l as ge,j as pe,g as P,c as he,S as ve,u as Se,s as we}from"../chunks/BUqdiQ8V.js";var Ce=M('<div class="flex items-center justify-center h-full"><div class="text-gh-muted">Loading...</div></div>'),ye=M('<div class="flex items-center justify-center h-full"><div class="text-gh-red"> </div></div>'),_e=M('<div class="h-screen bg-gh-bg"><!></div> <!> <!> <!>',1);function Ne(W,q){ae(q,!0);let n=l(null),d=l(w([])),N=l(w([])),k=l(w([])),v=l(!0),g=l(null),_=l(null),U=l(""),T=l(void 0),h=l(void 0),c=l(w({show:!1,title:"",message:"",variant:"default",onConfirm:()=>{}})),m=l(w({show:!1,title:"",label:"",initialValue:"",onConfirm:()=>{}}));const z=(s,o,r,a="default")=>{t(c,{show:!0,title:s,message:o,variant:a,onConfirm:r},!0)},D=()=>{t(c,{...e(c),show:!1},!0)},B=(s,o,r,a)=>{t(m,{show:!0,title:s,label:o,initialValue:r,onConfirm:a},!0)},$=()=>{t(m,{...e(m),show:!1},!0)},p=y(()=>decodeURIComponent(L.params.project??"")),S=y(()=>decodeURIComponent(L.params.id??"")),G=y(()=>e(T)??(e(h)&&e(h).length>50?e(h).slice(0,47)+"...":e(h))??e(n)?.title??"Untitled"),H=y(()=>`/#project=${encodeURIComponent(e(p))}`),J=async()=>{t(v,!0),t(g,null);try{const o=(await ge()).find(u=>u.name===e(p));t(U,o?.displayName??e(p),!0);const r=await pe(e(p));t(n,r.find(u=>u.id===e(S))??{id:e(S),projectName:e(p),title:e(S),messageCount:0,updatedAt:new Date().toISOString()},!0),t(d,await P(e(p),e(S)),!0);const a=await he(e(p),e(S)),i=a.todos?.sessionTodos??[],f=a.todos?.agentTodos?.flatMap(u=>u.todos)??[];t(N,[...i,...f],!0),t(k,a.agents??[],!0),t(T,a.customTitle,!0),t(h,a.currentSummary,!0)}catch(s){t(g,String(s),!0)}finally{t(v,!1)}},K=s=>{if(!e(n))return;const o=s.customTitle??"";B("Edit Custom Title","Custom title:",o,async r=>{if($(),r!==o)try{await Se(e(n).projectName,e(n).id,s.uuid,r),s.customTitle=r,t(d,[...e(d)],!0)}catch(a){t(g,String(a),!0)}})},Q=s=>{if(!e(n))return;const o=e(d).findIndex(i=>i.uuid===s.uuid),r=o,a=e(d).length-o;z("Split Session",`Split session at this message?
2
+
3
+ This session will keep ${a} messages (from here onwards).
4
+ Old messages (${r}) will be moved to a new session.`,async()=>{D();try{t(v,!0);const i=await we(e(n).projectName,e(n).id,s.uuid);i.success&&i.newSessionId?(t(d,e(d).slice(o),!0),t(_,`Session split! Old messages moved to new session: ${i.newSessionId.slice(0,8)}...`)):t(g,i.error??"Failed to split session",!0)}catch(i){t(g,String(i),!0)}finally{t(v,!1)}})};re(J);var R=_e();de("ik3mmh",s=>{ie(()=>{le.title=`${e(G)??""} - Claude Sessions`})});var j=A(R),X=b(j);{var Y=s=>{var o=Ce();C(s,o)},Z=s=>{var o=se(),r=A(o);{var a=f=>{var u=ye(),O=b(u),te=b(O,!0);x(O),x(u),ue(()=>oe(te,e(g))),C(f,u)},i=f=>{ve(f,{get session(){return e(n)},get messages(){return e(d)},get agents(){return e(k)},get todos(){return e(N)},get customTitle(){return e(T)},get currentSummary(){return e(h)},get projectDisplayName(){return e(U)},get backUrl(){return e(H)},onMessagesChange:u=>t(d,u,!0),onRefresh:async()=>{e(n)&&t(d,await P(e(n).projectName,e(n).id),!0)},onEditTitle:K,onSplitSession:Q,enableScroll:!0,fullWidth:!0})};F(r,f=>{e(g)?f(a):f(i,!1)},!0)}C(s,o)};F(X,s=>{e(v)?s(Y):s(Z,!1)})}x(j);var V=I(j,2);ce(V,{get message(){return e(_)},set message(s){t(_,s,!0)}});var E=I(V,2);me(E,{get show(){return e(c).show},get title(){return e(c).title},get message(){return e(c).message},get variant(){return e(c).variant},get onConfirm(){return e(c).onConfirm},onCancel:D});var ee=I(E,2);fe(ee,{get show(){return e(m).show},get title(){return e(m).title},get label(){return e(m).label},get initialValue(){return e(m).initialValue},get onConfirm(){return e(m).onConfirm},onCancel:$}),C(W,R),ne()}export{Ne as component};
@@ -1 +1 @@
1
- {"version":"1768724756257"}
1
+ {"version":"1769307794885"}
Binary file
Binary file
package/build/env.js CHANGED
@@ -14,7 +14,9 @@ const expected = new Set([
14
14
  'PORT_HEADER',
15
15
  'BODY_SIZE_LIMIT',
16
16
  'SHUTDOWN_TIMEOUT',
17
- 'IDLE_TIMEOUT'
17
+ 'IDLE_TIMEOUT',
18
+ 'KEEP_ALIVE_TIMEOUT',
19
+ 'HEADERS_TIMEOUT'
18
20
  ]);
19
21
 
20
22
  const expected_unprefixed = new Set(['LISTEN_PID', 'LISTEN_FDS']);
@@ -42,4 +44,51 @@ function env(name, fallback) {
42
44
  return prefixed in process.env ? process.env[prefixed] : fallback;
43
45
  }
44
46
 
45
- export { env };
47
+ const integer_regexp = /^\d+$/;
48
+
49
+ /**
50
+ * Throw a consistently-structured parsing error for environment variables.
51
+ * @param {string} name
52
+ * @param {any} value
53
+ * @param {string} description
54
+ * @returns {never}
55
+ */
56
+ function parsing_error(name, value, description) {
57
+ throw new Error(
58
+ `Invalid value for environment variable ${name}: ${JSON.stringify(value)} (${description})`
59
+ );
60
+ }
61
+
62
+ /**
63
+ * Check the environment for a timeout value (non-negative integer) in seconds.
64
+ * @param {string} name
65
+ * @param {number} [fallback]
66
+ * @returns {number | undefined}
67
+ */
68
+ function timeout_env(name, fallback) {
69
+ const raw = env(name, fallback);
70
+ if (!raw) {
71
+ return fallback;
72
+ }
73
+
74
+ if (!integer_regexp.test(raw)) {
75
+ parsing_error(name, raw, 'should be a non-negative integer');
76
+ }
77
+
78
+ const parsed = Number.parseInt(raw, 10);
79
+
80
+ // We don't technically need to check `Number.isNaN` because the value already passed the regexp test.
81
+ // However, just in case there's some new codepath introduced somewhere down the line, it's probably good
82
+ // to stick this in here.
83
+ if (Number.isNaN(parsed)) {
84
+ parsing_error(name, raw, 'should be a non-negative integer');
85
+ }
86
+
87
+ if (parsed < 0) {
88
+ parsing_error(name, raw, 'should be a non-negative integer');
89
+ }
90
+
91
+ return parsed;
92
+ }
93
+
94
+ export { env, timeout_env };
package/build/handler.js CHANGED
@@ -934,6 +934,9 @@ function requireSetCookie () {
934
934
 
935
935
  var setCookieExports = /*@__PURE__*/ requireSetCookie();
936
936
 
937
+ /** @import { StandardSchemaV1 } from '@standard-schema/spec' */
938
+
939
+
937
940
  /**
938
941
  * An error that was thrown from within the SvelteKit runtime that is not fatal and doesn't result in a 500, such as a 404.
939
942
  * `SvelteKitError` goes through `handleError`.
@@ -1370,14 +1373,53 @@ function sequence(handlers) {
1370
1373
  };
1371
1374
  }
1372
1375
 
1376
+ /**
1377
+ * @param {string} name
1378
+ * @param {string | string[] | undefined} value
1379
+ * @returns {string | undefined}
1380
+ */
1381
+ function normalise_header(name, value) {
1382
+ if (!name) return undefined;
1383
+ if (Array.isArray(value)) {
1384
+ if (value.length === 0) return undefined;
1385
+ if (value.length === 1) return value[0];
1386
+ throw new Error(
1387
+ `Multiple values provided for ${name} header where only one expected: ${value}`
1388
+ );
1389
+ }
1390
+ return value;
1391
+ }
1392
+
1373
1393
  /**
1374
1394
  * @param {import('http').IncomingHttpHeaders} headers
1375
- * @returns
1395
+ * @returns {string}
1376
1396
  */
1377
1397
  function get_origin(headers) {
1378
- const protocol = (protocol_header && headers[protocol_header]) || 'https';
1379
- const host = (host_header && headers[host_header]) || headers['host'];
1380
- const port = port_header && headers[port_header];
1398
+ const protocol = decodeURIComponent(normalise_header(protocol_header, headers[protocol_header]) || 'https');
1399
+
1400
+ // this helps us avoid host injections through the protocol header
1401
+ if (protocol.includes(':')) {
1402
+ throw new Error(
1403
+ `The ${protocol_header} header specified ${protocol} which is an invalid because it includes \`:\`. It should only contain the protocol scheme (e.g. \`https\`)`
1404
+ );
1405
+ }
1406
+
1407
+ const host =
1408
+ normalise_header(host_header, headers[host_header]) ||
1409
+ normalise_header('host', headers['host']);
1410
+ if (!host) {
1411
+ const header_names = host_header ? `${host_header} or host headers` : 'host header';
1412
+ throw new Error(
1413
+ `Could not determine host. The request must have a value provided by the ${header_names}`
1414
+ );
1415
+ }
1416
+
1417
+ const port = normalise_header(port_header, headers[port_header]);
1418
+ if (port && isNaN(+port)) {
1419
+ throw new Error(
1420
+ `The ${port_header} header specified ${port} which is an invalid port because it is not a number. The value should only contain the port number (e.g. 443)`
1421
+ );
1422
+ }
1381
1423
 
1382
1424
  return port ? `${protocol}://${host}:${port}` : `${protocol}://${host}`;
1383
1425
  }
package/build/index.js CHANGED
@@ -1,7 +1,7 @@
1
+ import http from 'node:http';
1
2
  import process from 'node:process';
2
3
  import { handler } from './handler.js';
3
- import { env } from './env.js';
4
- import http from 'node:http';
4
+ import { env, timeout_env } from './env.js';
5
5
  import { setImmediate } from 'node:timers';
6
6
  import * as qs from 'node:querystring';
7
7
 
@@ -260,7 +260,24 @@ let shutdown_timeout_id;
260
260
  /** @type {NodeJS.Timeout | void} */
261
261
  let idle_timeout_id;
262
262
 
263
- const server = polka().use(handler);
263
+ // Initialize the HTTP server here so that we can set properties before starting to listen.
264
+ // Otherwise, polka delays creating the server until listen() is called. Settings these
265
+ // properties after the server has started listening could lead to race conditions.
266
+ const httpServer = http.createServer();
267
+
268
+ const keep_alive_timeout = timeout_env('KEEP_ALIVE_TIMEOUT');
269
+ if (keep_alive_timeout !== undefined) {
270
+ // Convert the keep-alive timeout from seconds to milliseconds (the unit Node.js expects).
271
+ httpServer.keepAliveTimeout = keep_alive_timeout * 1000;
272
+ }
273
+
274
+ const headers_timeout = timeout_env('HEADERS_TIMEOUT');
275
+ if (headers_timeout !== undefined) {
276
+ // Convert the headers timeout from seconds to milliseconds (the unit Node.js expects).
277
+ httpServer.headersTimeout = headers_timeout * 1000;
278
+ }
279
+
280
+ const server = polka({ server: httpServer }).use(handler);
264
281
 
265
282
  if (socket_activation) {
266
283
  server.listen({ fd: SD_LISTEN_FDS_START }, () => {
@@ -278,10 +295,9 @@ function graceful_shutdown(reason) {
278
295
 
279
296
  // If a connection was opened with a keep-alive header close() will wait for the connection to
280
297
  // time out rather than close it even if it is not handling any requests, so call this first
281
- // @ts-expect-error this was added in 18.2.0 but is not reflected in the types
282
- server.server.closeIdleConnections();
298
+ httpServer.closeIdleConnections();
283
299
 
284
- server.server.close((error) => {
300
+ httpServer.close((error) => {
285
301
  // occurs if the server is already closed
286
302
  if (error) return;
287
303
 
@@ -296,14 +312,10 @@ function graceful_shutdown(reason) {
296
312
  process.emit('sveltekit:shutdown', reason);
297
313
  });
298
314
 
299
- shutdown_timeout_id = setTimeout(
300
- // @ts-expect-error this was added in 18.2.0 but is not reflected in the types
301
- () => server.server.closeAllConnections(),
302
- shutdown_timeout * 1000
303
- );
315
+ shutdown_timeout_id = setTimeout(() => httpServer.closeAllConnections(), shutdown_timeout * 1000);
304
316
  }
305
317
 
306
- server.server.on(
318
+ httpServer.on(
307
319
  'request',
308
320
  /** @param {import('node:http').IncomingMessage} req */
309
321
  (req) => {
@@ -318,8 +330,7 @@ server.server.on(
318
330
 
319
331
  if (shutdown_timeout_id) {
320
332
  // close connections as soon as they become idle, so they don't accept new requests
321
- // @ts-expect-error this was added in 18.2.0 but is not reflected in the types
322
- server.server.closeIdleConnections();
333
+ httpServer.closeIdleConnections();
323
334
  }
324
335
  if (requests === 0 && socket_activation && idle_timeout) {
325
336
  idle_timeout_id = setTimeout(() => graceful_shutdown('IDLE'), idle_timeout * 1000);
@@ -0,0 +1,17 @@
1
+ const ssr = true;
2
+
3
+ var _layout_ts = /*#__PURE__*/Object.freeze({
4
+ __proto__: null,
5
+ ssr: ssr
6
+ });
7
+
8
+ const index = 0;
9
+ let component_cache;
10
+ const component = async () => component_cache ??= (await import('./_layout.svelte-CkIsNl4s.js')).default;
11
+ const universal_id = "src/routes/+layout.ts";
12
+ const imports = ["_app/immutable/nodes/0.DD0gH91e.js","_app/immutable/chunks/DOXVKi87.js","_app/immutable/chunks/YXuXYbOb.js","_app/immutable/chunks/B-Z9hXPk.js","_app/immutable/chunks/BUqdiQ8V.js","_app/immutable/chunks/Cr0eW1j3.js","_app/immutable/chunks/BAHJNsIv.js","_app/immutable/chunks/Bt_HBaBk.js"];
13
+ const stylesheets = ["_app/immutable/assets/Toast.CQSY_S6M.css","_app/immutable/assets/0.D2FnNtrO.css"];
14
+ const fonts = [];
15
+
16
+ export { component, fonts, imports, index, stylesheets, _layout_ts as universal, universal_id };
17
+ //# sourceMappingURL=0-BhPy9YZY.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"0-DkD09WcK.js","sources":["../../../.svelte-kit/adapter-node/entries/pages/_layout.ts.js","../../../.svelte-kit/adapter-node/nodes/0.js"],"sourcesContent":["const ssr = true;\nexport {\n ssr\n};\n","import * as universal from '../entries/pages/_layout.ts.js';\n\nexport const index = 0;\nlet component_cache;\nexport const component = async () => component_cache ??= (await import('../entries/pages/_layout.svelte.js')).default;\nexport { universal };\nexport const universal_id = \"src/routes/+layout.ts\";\nexport const imports = [\"_app/immutable/nodes/0.D4LDvqQb.js\",\"_app/immutable/chunks/nUq5tIUU.js\",\"_app/immutable/chunks/fuY-CvTV.js\",\"_app/immutable/chunks/pOdkXMWy.js\",\"_app/immutable/chunks/CT0aV1AN.js\",\"_app/immutable/chunks/HaThayHP.js\",\"_app/immutable/chunks/Ck-YPZB6.js\",\"_app/immutable/chunks/Dbjp-HdT.js\"];\nexport const stylesheets = [\"_app/immutable/assets/Toast.CQSY_S6M.css\",\"_app/immutable/assets/0.DYXbBCWs.css\"];\nexport const fonts = [];\n"],"names":[],"mappings":"AAAA,MAAM,GAAG,GAAG,IAAI;;;;;;;ACEJ,MAAC,KAAK,GAAG;AACrB,IAAI,eAAe;AACP,MAAC,SAAS,GAAG,YAAY,eAAe,KAAK,CAAC,MAAM,OAAO,8BAAoC,CAAC,EAAE;AAElG,MAAC,YAAY,GAAG;AAChB,MAAC,OAAO,GAAG,CAAC,oCAAoC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC;AAC5S,MAAC,WAAW,GAAG,CAAC,0CAA0C,CAAC,sCAAsC;AACjG,MAAC,KAAK,GAAG;;;;"}
1
+ {"version":3,"file":"0-BhPy9YZY.js","sources":["../../../.svelte-kit/adapter-node/entries/pages/_layout.ts.js","../../../.svelte-kit/adapter-node/nodes/0.js"],"sourcesContent":["const ssr = true;\nexport {\n ssr\n};\n","import * as universal from '../entries/pages/_layout.ts.js';\n\nexport const index = 0;\nlet component_cache;\nexport const component = async () => component_cache ??= (await import('../entries/pages/_layout.svelte.js')).default;\nexport { universal };\nexport const universal_id = \"src/routes/+layout.ts\";\nexport const imports = [\"_app/immutable/nodes/0.DD0gH91e.js\",\"_app/immutable/chunks/DOXVKi87.js\",\"_app/immutable/chunks/YXuXYbOb.js\",\"_app/immutable/chunks/B-Z9hXPk.js\",\"_app/immutable/chunks/BUqdiQ8V.js\",\"_app/immutable/chunks/Cr0eW1j3.js\",\"_app/immutable/chunks/BAHJNsIv.js\",\"_app/immutable/chunks/Bt_HBaBk.js\"];\nexport const stylesheets = [\"_app/immutable/assets/Toast.CQSY_S6M.css\",\"_app/immutable/assets/0.D2FnNtrO.css\"];\nexport const fonts = [];\n"],"names":[],"mappings":"AAAA,MAAM,GAAG,GAAG,IAAI;;;;;;;ACEJ,MAAC,KAAK,GAAG;AACrB,IAAI,eAAe;AACP,MAAC,SAAS,GAAG,YAAY,eAAe,KAAK,CAAC,MAAM,OAAO,8BAAoC,CAAC,EAAE;AAElG,MAAC,YAAY,GAAG;AAChB,MAAC,OAAO,GAAG,CAAC,oCAAoC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC;AAC5S,MAAC,WAAW,GAAG,CAAC,0CAA0C,CAAC,sCAAsC;AACjG,MAAC,KAAK,GAAG;;;;"}
@@ -0,0 +1,9 @@
1
+ const index = 1;
2
+ let component_cache;
3
+ const component = async () => component_cache ??= (await import('./error.svelte-BNCG_dZH.js')).default;
4
+ const imports = ["_app/immutable/nodes/1.j1rqa9HA.js","_app/immutable/chunks/DOXVKi87.js","_app/immutable/chunks/YXuXYbOb.js","_app/immutable/chunks/Bt_HBaBk.js","_app/immutable/chunks/BAHJNsIv.js"];
5
+ const stylesheets = [];
6
+ const fonts = [];
7
+
8
+ export { component, fonts, imports, index, stylesheets };
9
+ //# sourceMappingURL=1-CTTD_wla.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"1-CjtVgNYW.js","sources":["../../../.svelte-kit/adapter-node/nodes/1.js"],"sourcesContent":["\n\nexport const index = 1;\nlet component_cache;\nexport const component = async () => component_cache ??= (await import('../entries/fallbacks/error.svelte.js')).default;\nexport const imports = [\"_app/immutable/nodes/1.5BEtqK67.js\",\"_app/immutable/chunks/nUq5tIUU.js\",\"_app/immutable/chunks/fuY-CvTV.js\",\"_app/immutable/chunks/Dbjp-HdT.js\",\"_app/immutable/chunks/Ck-YPZB6.js\"];\nexport const stylesheets = [];\nexport const fonts = [];\n"],"names":[],"mappings":"AAEY,MAAC,KAAK,GAAG;AACrB,IAAI,eAAe;AACP,MAAC,SAAS,GAAG,YAAY,eAAe,KAAK,CAAC,MAAM,OAAO,4BAAsC,CAAC,EAAE;AACpG,MAAC,OAAO,GAAG,CAAC,oCAAoC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC;AAChM,MAAC,WAAW,GAAG;AACf,MAAC,KAAK,GAAG;;;;"}
1
+ {"version":3,"file":"1-CTTD_wla.js","sources":["../../../.svelte-kit/adapter-node/nodes/1.js"],"sourcesContent":["\n\nexport const index = 1;\nlet component_cache;\nexport const component = async () => component_cache ??= (await import('../entries/fallbacks/error.svelte.js')).default;\nexport const imports = [\"_app/immutable/nodes/1.j1rqa9HA.js\",\"_app/immutable/chunks/DOXVKi87.js\",\"_app/immutable/chunks/YXuXYbOb.js\",\"_app/immutable/chunks/Bt_HBaBk.js\",\"_app/immutable/chunks/BAHJNsIv.js\"];\nexport const stylesheets = [];\nexport const fonts = [];\n"],"names":[],"mappings":"AAEY,MAAC,KAAK,GAAG;AACrB,IAAI,eAAe;AACP,MAAC,SAAS,GAAG,YAAY,eAAe,KAAK,CAAC,MAAM,OAAO,4BAAsC,CAAC,EAAE;AACpG,MAAC,OAAO,GAAG,CAAC,oCAAoC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC;AAChM,MAAC,WAAW,GAAG;AACf,MAAC,KAAK,GAAG;;;;"}
@@ -0,0 +1,9 @@
1
+ const index = 2;
2
+ let component_cache;
3
+ const component = async () => component_cache ??= (await import('./_page.svelte-DWKQDFXZ.js')).default;
4
+ const imports = ["_app/immutable/nodes/2.5x79czX-.js","_app/immutable/chunks/DOXVKi87.js","_app/immutable/chunks/YXuXYbOb.js","_app/immutable/chunks/B-Z9hXPk.js","_app/immutable/chunks/BUqdiQ8V.js"];
5
+ const stylesheets = ["_app/immutable/assets/Toast.CQSY_S6M.css"];
6
+ const fonts = [];
7
+
8
+ export { component, fonts, imports, index, stylesheets };
9
+ //# sourceMappingURL=2-Bvyspg6i.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"2-wstlfOP5.js","sources":["../../../.svelte-kit/adapter-node/nodes/2.js"],"sourcesContent":["\n\nexport const index = 2;\nlet component_cache;\nexport const component = async () => component_cache ??= (await import('../entries/pages/_page.svelte.js')).default;\nexport const imports = [\"_app/immutable/nodes/2.C-xl-nxy.js\",\"_app/immutable/chunks/nUq5tIUU.js\",\"_app/immutable/chunks/fuY-CvTV.js\",\"_app/immutable/chunks/pOdkXMWy.js\",\"_app/immutable/chunks/CT0aV1AN.js\"];\nexport const stylesheets = [\"_app/immutable/assets/Toast.CQSY_S6M.css\"];\nexport const fonts = [];\n"],"names":[],"mappings":"AAEY,MAAC,KAAK,GAAG;AACrB,IAAI,eAAe;AACP,MAAC,SAAS,GAAG,YAAY,eAAe,KAAK,CAAC,MAAM,OAAO,4BAAkC,CAAC,EAAE;AAChG,MAAC,OAAO,GAAG,CAAC,oCAAoC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC;AAChM,MAAC,WAAW,GAAG,CAAC,0CAA0C;AAC1D,MAAC,KAAK,GAAG;;;;"}
1
+ {"version":3,"file":"2-Bvyspg6i.js","sources":["../../../.svelte-kit/adapter-node/nodes/2.js"],"sourcesContent":["\n\nexport const index = 2;\nlet component_cache;\nexport const component = async () => component_cache ??= (await import('../entries/pages/_page.svelte.js')).default;\nexport const imports = [\"_app/immutable/nodes/2.5x79czX-.js\",\"_app/immutable/chunks/DOXVKi87.js\",\"_app/immutable/chunks/YXuXYbOb.js\",\"_app/immutable/chunks/B-Z9hXPk.js\",\"_app/immutable/chunks/BUqdiQ8V.js\"];\nexport const stylesheets = [\"_app/immutable/assets/Toast.CQSY_S6M.css\"];\nexport const fonts = [];\n"],"names":[],"mappings":"AAEY,MAAC,KAAK,GAAG;AACrB,IAAI,eAAe;AACP,MAAC,SAAS,GAAG,YAAY,eAAe,KAAK,CAAC,MAAM,OAAO,4BAAkC,CAAC,EAAE;AAChG,MAAC,OAAO,GAAG,CAAC,oCAAoC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC,CAAC,mCAAmC;AAChM,MAAC,WAAW,GAAG,CAAC,0CAA0C;AAC1D,MAAC,KAAK,GAAG;;;;"}
@@ -0,0 +1,9 @@
1
+ const index = 3;
2
+ let component_cache;
3
+ const component = async () => component_cache ??= (await import('./_page.svelte-BdKbLK1W.js')).default;
4
+ const imports = ["_app/immutable/nodes/3.CkQ0QnVZ.js","_app/immutable/chunks/DOXVKi87.js","_app/immutable/chunks/YXuXYbOb.js","_app/immutable/chunks/B-Z9hXPk.js","_app/immutable/chunks/Cr0eW1j3.js","_app/immutable/chunks/Bt_HBaBk.js","_app/immutable/chunks/BAHJNsIv.js","_app/immutable/chunks/BUqdiQ8V.js"];
5
+ const stylesheets = ["_app/immutable/assets/Toast.CQSY_S6M.css"];
6
+ const fonts = [];
7
+
8
+ export { component, fonts, imports, index, stylesheets };
9
+ //# sourceMappingURL=3-BHD2c0Ph.js.map