dorkos 0.93.0 → 0.94.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 (85) hide show
  1. package/dist/bin/cli.js +2614 -836
  2. package/dist/client/assets/{AboutPage-R35A-Uu-.js → AboutPage-ESdr5ej6.js} +1 -1
  3. package/dist/client/assets/{AdapterIcon-kPDXiFU1.js → AdapterIcon-C2oG4Wi0.js} +1 -1
  4. package/dist/client/assets/{AppearancePage-COqDtruX.js → AppearancePage-BkLDttbk.js} +1 -1
  5. package/dist/client/assets/{BaseTanStackRouterDevtoolsPanel-B-iktbLX-CIKvkn5X.js → BaseTanStackRouterDevtoolsPanel-B-iktbLX-DrUBXr8b.js} +1 -1
  6. package/dist/client/assets/{BlintzCanvas-4FX_eaSh.js → BlintzCanvas-BqJDhl-U.js} +1 -1
  7. package/dist/client/assets/{CanvasCsvContent-Dq2X1kUl.js → CanvasCsvContent-DAsWhu2A.js} +1 -1
  8. package/dist/client/assets/{CanvasFileContent-CZUc62IR.js → CanvasFileContent-CFpGh9lB.js} +2 -2
  9. package/dist/client/assets/{CanvasModel3dContent-D1IN_nl9.js → CanvasModel3dContent-DorTDn1y.js} +2 -2
  10. package/dist/client/assets/{CodeMirrorDiff-BeEhMSvL.js → CodeMirrorDiff-ChMTPEBY.js} +1 -1
  11. package/dist/client/assets/{CodeMirrorEditor-BlNLMvbo.js → CodeMirrorEditor-DtYzxmC5.js} +1 -1
  12. package/dist/client/assets/{ConnectionAccessLists-s7RnRr1y.js → ConnectionAccessLists-DnxFiJIp.js} +1 -1
  13. package/dist/client/assets/{ConnectionsPage-BTTdQBdS.js → ConnectionsPage-Exq_5IiP.js} +1 -1
  14. package/dist/client/assets/{ConventionPage-CI3PeUHm.js → ConventionPage-DXnlTX8j.js} +1 -1
  15. package/dist/client/assets/{FloatingTanStackRouterDevtools-CqogiFob-D6OvDT9K.js → FloatingTanStackRouterDevtools-CqogiFob-CEzhHBdz.js} +1 -1
  16. package/dist/client/assets/HandlePage-C1AzkGxs.js +1 -0
  17. package/dist/client/assets/{LexicalField-Bqq5KeUW.js → LexicalField-DJfTqKnT.js} +1 -1
  18. package/dist/client/assets/{ManagesPage-CWdKDvw1.js → ManagesPage-BAYoqzuu.js} +1 -1
  19. package/dist/client/assets/{Model3dViewer-ClJVGLDb.js → Model3dViewer-DgKQPqJb.js} +1 -1
  20. package/dist/client/assets/NamePage-BDAAuJFs.js +1 -0
  21. package/dist/client/assets/{NotificationsPage-C6tE8iuE.js → NotificationsPage-CrGzgL1F.js} +1 -1
  22. package/dist/client/assets/{PermissionsPage-BqDl7shN.js → PermissionsPage-CRq4hxB-.js} +1 -1
  23. package/dist/client/assets/{PersonalityPopover-B3q8QYcS.js → PersonalityPopover-CoJNGa7f.js} +1 -1
  24. package/dist/client/assets/PhotoPage-DFLk5ALL.js +1 -0
  25. package/dist/client/assets/{RoomsPage-DwYtOhd7.js → RoomsPage-DfJvCi90.js} +1 -1
  26. package/dist/client/assets/{RunsOnPopover-BDPs-RYB.js → RunsOnPopover-UixmCBm5.js} +1 -1
  27. package/dist/client/assets/{SessionsPage-Du24E934.js → SessionsPage-D8BzdYL7.js} +1 -1
  28. package/dist/client/assets/{SkillsPage-DjLUEngt.js → SkillsPage-B6yHwhAp.js} +1 -1
  29. package/dist/client/assets/{TasksPage-B6i3r76o.js → TasksPage-KFUMW7h0.js} +1 -1
  30. package/dist/client/assets/{ToolsPage-DNoC2MMz.js → ToolsPage-Dd7DXlpE.js} +1 -1
  31. package/dist/client/assets/{TopologyGraph-DtBDaHqX.js → TopologyGraph-CJj2myGV.js} +5 -5
  32. package/dist/client/assets/{agent-browser-da9rKrej.js → agent-browser-C48rts1h.js} +1 -1
  33. package/dist/client/assets/{highlighted-body-KPVGNVTW-DJ5Xz8gv.js → highlighted-body-KPVGNVTW-CvHOdigG.js} +1 -1
  34. package/dist/client/assets/{index-BzDP7VXZ.js → index-1tkVhrNa.js} +1 -1
  35. package/dist/client/assets/{index-C9wgMNj5.js → index-3nUBnton.js} +3 -3
  36. package/dist/client/assets/{index-CtlzkOJ3.js → index-672L_-Ce.js} +1 -1
  37. package/dist/client/assets/{index-BVpHI-1y.js → index-9lsrtJLf.js} +1 -1
  38. package/dist/client/assets/{index-BnORUrPC.js → index-B1N7_mWs.js} +1 -1
  39. package/dist/client/assets/index-B4Z9VBPe.js +1678 -0
  40. package/dist/client/assets/{index-BC9LsNlJ.js → index-BK5zyBqg.js} +1 -1
  41. package/dist/client/assets/{index-CObinYlG.js → index-BNO2TT-L.js} +1 -1
  42. package/dist/client/assets/{index-CotYqF0w.js → index-BSj4LDYi.js} +1 -1
  43. package/dist/client/assets/{index-D0sn-ct6.js → index-B_0gazbk.js} +1 -1
  44. package/dist/client/assets/{index-FsBhOkNr.js → index-BgBnbdck.js} +1 -1
  45. package/dist/client/assets/{index-1o6WO7iZ.js → index-BhxMJfLU.js} +1 -1
  46. package/dist/client/assets/{index-DdsOOmtz.js → index-BlNzH0bV.js} +1 -1
  47. package/dist/client/assets/{index-3DE2Q3OD.js → index-BmYSSGWx.js} +1 -1
  48. package/dist/client/assets/{index-LcH-4hgH.js → index-Brd8Hs2R.js} +1 -1
  49. package/dist/client/assets/{index-Bp2CiCey.js → index-Bu5-0YcT.js} +1 -1
  50. package/dist/client/assets/{index-gHd4-GL-.js → index-C0YR9sBs.js} +1 -1
  51. package/dist/client/assets/{index-CfUAagLY.js → index-CEQe58ON.js} +1 -1
  52. package/dist/client/assets/{index-Bl2j_xjE.js → index-CEU2IWuT.js} +1 -1
  53. package/dist/client/assets/{index-Dyeo69l2.js → index-CMKnOlvn.js} +1 -1
  54. package/dist/client/assets/{index-B5yJddXH.js → index-CMlp38oa.js} +1 -1
  55. package/dist/client/assets/{index-gIAwAMkn.js → index-CNPnwL--.js} +1 -1
  56. package/dist/client/assets/{index-Ca5JlBEc.js → index-Clh_1xLD.js} +1 -1
  57. package/dist/client/assets/{index-DsH33VjO.js → index-CpAbafE9.js} +2 -2
  58. package/dist/client/assets/{index-DQWAoAN-.js → index-CpFgghxb.js} +1 -1
  59. package/dist/client/assets/{index-D1kH8Sr2.js → index-Cum2QlPd.js} +2 -2
  60. package/dist/client/assets/index-D8mgsoST.css +1 -0
  61. package/dist/client/assets/{index-CJK5Iw50.js → index-DDGf-Mnk.js} +1 -1
  62. package/dist/client/assets/{index-DJGEk3-H.js → index-DEuOFjz7.js} +1 -1
  63. package/dist/client/assets/{index-Bu16-jWo.js → index-DSDJttSW.js} +1 -1
  64. package/dist/client/assets/{index-DwfaFQZo.js → index-DmA6ple3.js} +1 -1
  65. package/dist/client/assets/{index-CZ0BaV1t.js → index-DrkFww9Q.js} +1 -1
  66. package/dist/client/assets/{index-CtJTMcuR.js → index-O5pHJ17K.js} +1 -1
  67. package/dist/client/assets/{index-Cvzimc0W.js → index-PA-V6bdB.js} +1 -1
  68. package/dist/client/assets/{index-CQXxVt4A.js → index-XMua1laL.js} +1 -1
  69. package/dist/client/assets/{index-DnN4PJaN.js → index-ZBeb8ExW.js} +1 -1
  70. package/dist/client/assets/{index-BQ-o6bQ0.js → index-ngTGZK5T.js} +1 -1
  71. package/dist/client/assets/{room-files-source-DRQNpCWs.js → room-files-source-CWB8LgHN.js} +2 -2
  72. package/dist/client/assets/{soul-file-DcQD5pcS.js → soul-file-BTDnNMG7.js} +1 -1
  73. package/dist/client/assets/{use-personality-commit-Dsy9tqWY.js → use-personality-commit-CzT0Fy-T.js} +1 -1
  74. package/dist/client/index.html +2 -2
  75. package/dist/drizzle/0136_mirror_timeline_order.sql +23 -0
  76. package/dist/drizzle/meta/0136_snapshot.json +10232 -0
  77. package/dist/drizzle/meta/_journal.json +8 -1
  78. package/dist/server/index.js +2375 -986
  79. package/dist/server/index.js.map +2 -2
  80. package/package.json +6 -6
  81. package/dist/client/assets/HandlePage-Dvqztr0N.js +0 -1
  82. package/dist/client/assets/NamePage-BgVZ-KD1.js +0 -1
  83. package/dist/client/assets/PhotoPage-lt6ZevHW.js +0 -1
  84. package/dist/client/assets/index-BCGiD7pg.js +0 -1674
  85. package/dist/client/assets/index-BG-HtbEP.css +0 -1
@@ -1,2 +1,2 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/FloatingTanStackRouterDevtools-CqogiFob-D6OvDT9K.js","assets/BaseTanStackRouterDevtoolsPanel-B-iktbLX-CIKvkn5X.js","assets/index-BCGiD7pg.js","assets/index-BG-HtbEP.css"])))=>i.map(i=>d[i]);
2
- var Fe=e=>{throw TypeError(e)};var Ve=(e,t,n)=>t.has(e)||Fe("Cannot "+n);var y=(e,t,n)=>(Ve(e,t,"read from private field"),n?n.call(e):t.get(e)),p=(e,t,n)=>t.has(e)?Fe("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),m=(e,t,n,s)=>(Ve(e,t,"write to private field"),s?s.call(e,n):t.set(e,n),n);import{ap as Ye,dR as ze,dS as Qe,r as C,j as le}from"./index-BCGiD7pg.js";var d={context:void 0,registry:void 0,effects:void 0,done:!1,getContextId(){return Be(this.context.count)},getNextContextId(){return Be(this.context.count++)}};function Be(e){const t=String(e),n=t.length-1;return d.context.id+(n?String.fromCharCode(96+n):"")+t}function ie(e){d.context=e}var dt=(e,t)=>e===t,be=Symbol("solid-proxy"),Je=typeof Proxy=="function",ht=Symbol("solid-track"),Se={equals:dt},Ze=rt,L=1,xe=2,et={owned:null,cleanups:null,context:null,owner:null},Re={},w=null,Ne=null,gt=null,v=null,E=null,$=null,Pe=0;function ve(e,t){const n=v,s=w,r=e.length===0,l=t===void 0?s:t,i=r?et:{owned:null,cleanups:null,context:l?l.context:null,owner:l},o=r?e:()=>e(()=>P(()=>ce(i)));w=i,v=null;try{return j(o,!0)}finally{v=n,w=s}}function D(e,t){t=t?Object.assign({},Se,t):Se;const n={value:e,observers:null,observerSlots:null,comparator:t.equals||void 0},s=r=>(typeof r=="function"&&(r=r(n.value)),ot(n,r));return[st.bind(n),s]}function yt(e,t,n){const s=Ae(e,t,!0,L);se(s)}function V(e,t,n){const s=Ae(e,t,!1,L);se(s)}function yn(e,t,n){Ze=Ot;const s=Ae(e,t,!1,L);(!n||!n.render)&&(s.user=!0),$?$.push(s):se(s)}function x(e,t,n){n=n?Object.assign({},Se,n):Se;const s=Ae(e,t,!0,0);return s.observers=null,s.observerSlots=null,s.comparator=n.equals||void 0,se(s),st.bind(s)}function mt(e){return e&&typeof e=="object"&&"then"in e}function wt(e,t,n){let s,r,l;s=!0,r=e,l={};let i=null,o=Re,a=null,f=!1,u="initialValue"in l,c=typeof s=="function"&&x(s);const h=new Set,[g,R]=(l.storage||D)(l.initialValue),[M,U]=D(void 0),[oe,N]=D(void 0,{equals:!1}),[T,k]=D(u?"ready":"unresolved");d.context&&(a=d.getNextContextId(),l.ssrLoadFrom==="initial"?o=l.initialValue:d.load&&d.has(a)&&(o=d.load(a)));function A(S,b,I,O){return i===S&&(i=null,O!==void 0&&(u=!0),(S===o||b===o)&&l.onHydrated&&queueMicrotask(()=>l.onHydrated(O,{value:b})),o=Re,Te(b,I)),b}function Te(S,b){j(()=>{b===void 0&&R(()=>S),k(b!==void 0?"errored":u?"ready":"unresolved"),U(b);for(const I of h.keys())I.decrement();h.clear()},!1)}function Ce(){const S=St,b=g(),I=M();if(I!==void 0&&!i)throw I;return v&&v.user,b}function De(S=!0){if(S!==!1&&f)return;f=!1;const b=c?c():s;if(b==null||b===!1){A(i,P(g));return}let I;const O=o!==Re?o:P(()=>{try{return r(b,{value:g(),refetching:S})}catch(re){I=re}});if(I!==void 0){A(i,void 0,pe(I),b);return}else if(!mt(O))return A(i,O,void 0,b),O;return i=O,"v"in O?(O.s===1?A(i,O.v,void 0,b):A(i,void 0,pe(O.v),b),O):(f=!0,queueMicrotask(()=>f=!1),j(()=>{k(u?"refreshing":"pending"),N()},!1),O.then(re=>A(O,re,void 0,b),re=>A(O,void 0,pe(re),b)))}Object.defineProperties(Ce,{state:{get:()=>T()},error:{get:()=>M()},loading:{get(){const S=T();return S==="pending"||S==="refreshing"}},latest:{get(){if(!u)return Ce();const S=M();if(S&&!i)throw S;return g()}}});let _e=w;return c?yt(()=>(_e=w,De(!1))):De(!1),[Ce,{refetch:S=>pt(_e,()=>De(S)),mutate:R}]}function P(e){if(v===null)return e();const t=v;v=null;try{return e()}finally{v=t}}function vt(e){return w===null||(w.cleanups===null?w.cleanups=[e]:w.cleanups.push(e)),e}function pt(e,t){const n=w,s=v;w=e,v=null;try{return j(t,!0)}catch(r){je(r)}finally{w=n,v=s}}var[mn,wn]=D(!1);function tt(e,t){const n=Symbol("context");return{id:n,Provider:Pt(n),defaultValue:e}}function bt(e){let t;return w&&w.context&&(t=w.context[e.id])!==void 0?t:e.defaultValue}function nt(e){const t=x(e),n=x(()=>Me(t()));return n.toArray=()=>{const s=n();return Array.isArray(s)?s:s!=null?[s]:[]},n}var St;function st(){if(this.sources&&this.state)if(this.state===L)se(this);else{const e=E;E=null,j(()=>Oe(this),!1),E=e}if(v){const e=this.observers?this.observers.length:0;v.sources?(v.sources.push(this),v.sourceSlots.push(e)):(v.sources=[this],v.sourceSlots=[e]),this.observers?(this.observers.push(v),this.observerSlots.push(v.sources.length-1)):(this.observers=[v],this.observerSlots=[v.sources.length-1])}return this.value}function ot(e,t,n){let s=e.value;return(!e.comparator||!e.comparator(s,t))&&(e.value=t,e.observers&&e.observers.length&&j(()=>{for(let r=0;r<e.observers.length;r+=1){const l=e.observers[r],i=Ne&&Ne.running;i&&Ne.disposed.has(l),(i?!l.tState:!l.state)&&(l.pure?E.push(l):$.push(l),l.observers&&it(l)),i||(l.state=L)}if(E.length>1e6)throw E=[],new Error},!1)),t}function se(e){if(!e.fn)return;ce(e);const t=Pe;xt(e,e.value,t)}function xt(e,t,n){let s;const r=w,l=v;v=w=e;try{s=e.fn(t)}catch(i){return e.pure&&(e.state=L,e.owned&&e.owned.forEach(ce),e.owned=null),e.updatedAt=n+1,je(i)}finally{v=l,w=r}(!e.updatedAt||e.updatedAt<=n)&&(e.updatedAt!=null&&"observers"in e?ot(e,s):e.value=s,e.updatedAt=n)}function Ae(e,t,n,s=L,r){const l={fn:e,state:s,updatedAt:null,owned:null,sources:null,sourceSlots:null,cleanups:null,value:t,owner:w,context:w?w.context:null,pure:n};return w===null||w!==et&&(w.owned?w.owned.push(l):w.owned=[l]),l}function Ee(e){if(e.state===0)return;if(e.state===xe)return Oe(e);if(e.suspense&&P(e.suspense.inFallback))return e.suspense.effects.push(e);const t=[e];for(;(e=e.owner)&&(!e.updatedAt||e.updatedAt<Pe);)e.state&&t.push(e);for(let n=t.length-1;n>=0;n--)if(e=t[n],e.state===L)se(e);else if(e.state===xe){const s=E;E=null,j(()=>Oe(e,t[0]),!1),E=s}}function j(e,t){if(E)return e();let n=!1;t||(E=[]),$?n=!0:$=[],Pe++;try{const s=e();return Et(n),s}catch(s){n||($=null),E=null,je(s)}}function Et(e){if(E&&(rt(E),E=null),e)return;const t=$;$=null,t.length&&j(()=>Ze(t),!1)}function rt(e){for(let t=0;t<e.length;t++)Ee(e[t])}function Ot(e){let t,n=0;for(t=0;t<e.length;t++){const s=e[t];s.user?e[n++]=s:Ee(s)}if(d.context){if(d.count){d.effects||(d.effects=[]),d.effects.push(...e.slice(0,n));return}ie()}for(d.effects&&(d.done||!d.count)&&(e=[...d.effects,...e],n+=d.effects.length,delete d.effects),t=0;t<n;t++)Ee(e[t])}function Oe(e,t){e.state=0;for(let n=0;n<e.sources.length;n+=1){const s=e.sources[n];if(s.sources){const r=s.state;r===L?s!==t&&(!s.updatedAt||s.updatedAt<Pe)&&Ee(s):r===xe&&Oe(s,t)}}}function it(e){for(let t=0;t<e.observers.length;t+=1){const n=e.observers[t];n.state||(n.state=xe,n.pure?E.push(n):$.push(n),n.observers&&it(n))}}function ce(e){let t;if(e.sources)for(;e.sources.length;){const n=e.sources.pop(),s=e.sourceSlots.pop(),r=n.observers;if(r&&r.length){const l=r.pop(),i=n.observerSlots.pop();s<r.length&&(l.sourceSlots[i]=s,r[s]=l,n.observerSlots[s]=i)}}if(e.tOwned){for(t=e.tOwned.length-1;t>=0;t--)ce(e.tOwned[t]);delete e.tOwned}if(e.owned){for(t=e.owned.length-1;t>=0;t--)ce(e.owned[t]);e.owned=null}if(e.cleanups){for(t=e.cleanups.length-1;t>=0;t--)e.cleanups[t]();e.cleanups=null}e.state=0}function pe(e){return e instanceof Error?e:new Error(typeof e=="string"?e:"Unknown error",{cause:e})}function je(e,t=w){throw pe(e)}function Me(e){if(typeof e=="function"&&!e.length)return Me(e());if(Array.isArray(e)){const t=[];for(let n=0;n<e.length;n++){const s=Me(e[n]);Array.isArray(s)?t.push.apply(t,s):t.push(s)}return t}return e}function Pt(e,t){return function(s){let r;return V(()=>r=P(()=>(w.context={...w.context,[e]:s.value},nt(()=>s.children))),void 0),r}}var At=Symbol("fallback");function Ue(e){for(let t=0;t<e.length;t++)e[t]()}function Tt(e,t,n={}){let s=[],r=[],l=[],i=0,o=t.length>1?[]:null;return vt(()=>Ue(l)),()=>{let a=e()||[],f=a.length,u,c;return a[ht],P(()=>{let g,R,M,U,oe,N,T,k,A;if(f===0)i!==0&&(Ue(l),l=[],s=[],r=[],i=0,o&&(o=[])),n.fallback&&(s=[At],r[0]=ve(Te=>(l[0]=Te,n.fallback())),i=1);else if(i===0){for(r=new Array(f),c=0;c<f;c++)s[c]=a[c],r[c]=ve(h);i=f}else{for(M=new Array(f),U=new Array(f),o&&(oe=new Array(f)),N=0,T=Math.min(i,f);N<T&&s[N]===a[N];N++);for(T=i-1,k=f-1;T>=N&&k>=N&&s[T]===a[k];T--,k--)M[k]=r[T],U[k]=l[T],o&&(oe[k]=o[T]);for(g=new Map,R=new Array(k+1),c=k;c>=N;c--)A=a[c],u=g.get(A),R[c]=u===void 0?-1:u,g.set(A,c);for(u=N;u<=T;u++)A=s[u],c=g.get(A),c!==void 0&&c!==-1?(M[c]=r[u],U[c]=l[u],o&&(oe[c]=o[u]),c=R[c],g.set(A,c)):l[u]();for(c=N;c<f;c++)c in M?(r[c]=M[c],l[c]=U[c],o&&(o[c]=oe[c],o[c](c))):r[c]=ve(h);r=r.slice(0,i=f),s=a.slice(0)}return r});function h(g){if(l[c]=g,o){const[R,M]=D(c);return o[c]=M,t(a[c],R)}return t(a[c])}}}function ae(e,t){return P(()=>e(t||{}))}function we(){return!0}var Ie={get(e,t,n){return t===be?n:e.get(t)},has(e,t){return t===be?!0:e.has(t)},set:we,deleteProperty:we,getOwnPropertyDescriptor(e,t){return{configurable:!0,enumerable:!0,get(){return e.get(t)},set:we,deleteProperty:we}},ownKeys(e){return e.keys()}};function ke(e){return(e=typeof e=="function"?e():e)?e:{}}function Ct(){for(let e=0,t=this.length;e<t;++e){const n=this[e]();if(n!==void 0)return n}}function vn(...e){let t=!1;for(let i=0;i<e.length;i++){const o=e[i];t=t||!!o&&be in o,e[i]=typeof o=="function"?(t=!0,x(o)):o}if(Je&&t)return new Proxy({get(i){for(let o=e.length-1;o>=0;o--){const a=ke(e[o])[i];if(a!==void 0)return a}},has(i){for(let o=e.length-1;o>=0;o--)if(i in ke(e[o]))return!0;return!1},keys(){const i=[];for(let o=0;o<e.length;o++)i.push(...Object.keys(ke(e[o])));return[...new Set(i)]}},Ie);const n={},s=Object.create(null);for(let i=e.length-1;i>=0;i--){const o=e[i];if(!o)continue;const a=Object.getOwnPropertyNames(o);for(let f=a.length-1;f>=0;f--){const u=a[f];if(u==="__proto__"||u==="constructor")continue;const c=Object.getOwnPropertyDescriptor(o,u);if(!s[u])s[u]=c.get?{enumerable:!0,configurable:!0,get:Ct.bind(n[u]=[c.get.bind(o)])}:c.value!==void 0?c:void 0;else{const h=n[u];h&&(c.get?h.push(c.get.bind(o)):c.value!==void 0&&h.push(()=>c.value))}}}const r={},l=Object.keys(s);for(let i=l.length-1;i>=0;i--){const o=l[i],a=s[o];a&&a.get?Object.defineProperty(r,o,a):r[o]=a?a.value:void 0}return r}function Dt(e,...t){const n=t.length;if(Je&&be in e){const r=n>1?t.flat():t[0],l=t.map(i=>new Proxy({get(o){return i.includes(o)?e[o]:void 0},has(o){return i.includes(o)&&o in e},keys(){return i.filter(o=>o in e)}},Ie));return l.push(new Proxy({get(i){return r.includes(i)?void 0:e[i]},has(i){return r.includes(i)?!1:i in e},keys(){return Object.keys(e).filter(i=>!r.includes(i))}},Ie)),l}const s=[];for(let r=0;r<=n;r++)s[r]={};for(const r of Object.getOwnPropertyNames(e)){let l=n;for(let o=0;o<t.length;o++)if(t[o].includes(r)){l=o;break}const i=Object.getOwnPropertyDescriptor(e,r);!i.get&&!i.set&&i.enumerable&&i.writable&&i.configurable?s[l][r]=i.value:Object.defineProperty(s[l],r,i)}return s}function lt(e){let t,n;const s=r=>{const l=d.context;if(l){const[o,a]=D();d.count||(d.count=0),d.count++,(n||(n=e())).then(f=>{!d.done&&ie(l),d.count--,a(()=>f.default),ie()}),t=o}else if(!t){const[o]=wt(()=>(n||(n=e())).then(a=>a.default));t=o}let i;return x(()=>(i=t())?P(()=>{if(!l||d.done)return i(r);const o=d.context;ie(l);const a=i(r);return ie(o),a}):"")};return s.preload=()=>n||((n=e()).then(r=>t=()=>r.default),n),s}var Rt=0;function pn(){return d.context?d.getNextContextId():`cl-${Rt++}`}var at=e=>`Stale read from <${e}>.`;function bn(e){const t="fallback"in e&&{fallback:()=>e.fallback};return x(Tt(()=>e.each,e.children,t||void 0))}function Sn(e){const t=e.keyed,n=x(()=>e.when,void 0,void 0),s=t?n:x(n,void 0,{equals:(r,l)=>!r==!l});return x(()=>{const r=s();if(r){const l=e.children;return typeof l=="function"&&l.length>0?P(()=>l(t?r:()=>{if(!P(s))throw at("Show");return n()})):l}return e.fallback},void 0,void 0)}function xn(e){const t=nt(()=>e.children),n=x(()=>{const s=t(),r=Array.isArray(s)?s:[s];let l=()=>{};for(let i=0;i<r.length;i++){const o=i,a=r[i],f=l,u=x(()=>f()?void 0:a.when,void 0,void 0),c=a.keyed?u:x(u,void 0,{equals:(h,g)=>!h==!g});l=()=>f()||(c()?[o,u,a]:void 0)}return l});return x(()=>{const s=n()();if(!s)return e.fallback;const[r,l,i]=s,o=i.children;return typeof o=="function"&&o.length>0?P(()=>o(i.keyed?l():()=>{var a;if(((a=P(n)())==null?void 0:a[0])!==r)throw at("Match");return l()})):o},void 0,void 0)}function En(e){return e}var Nt=new Set(["className","value","readOnly","noValidate","formNoValidate","isMap","noModule","playsInline","adAuctionHeaders","allowFullscreen","browsingTopics","defaultChecked","defaultMuted","defaultSelected","disablePictureInPicture","disableRemotePlayback","preservesPitch","shadowRootClonable","shadowRootCustomElementRegistry","shadowRootDelegatesFocus","shadowRootSerializable","sharedStorageWritable","allowfullscreen","async","alpha","autofocus","autoplay","checked","controls","default","disabled","formnovalidate","hidden","indeterminate","inert","ismap","loop","multiple","muted","nomodule","novalidate","open","playsinline","readonly","required","reversed","seamless","selected","adauctionheaders","browsingtopics","credentialless","defaultchecked","defaultmuted","defaultselected","defer","disablepictureinpicture","disableremoteplayback","preservespitch","shadowrootclonable","shadowrootcustomelementregistry","shadowrootdelegatesfocus","shadowrootserializable","sharedstoragewritable"]),kt=new Set(["innerHTML","textContent","innerText","children"]),Mt=Object.assign(Object.create(null),{className:"class",htmlFor:"for"}),It=Object.assign(Object.create(null),{class:"className",novalidate:{$:"noValidate",FORM:1},formnovalidate:{$:"formNoValidate",BUTTON:1,INPUT:1},ismap:{$:"isMap",IMG:1},nomodule:{$:"noModule",SCRIPT:1},playsinline:{$:"playsInline",VIDEO:1},readonly:{$:"readOnly",INPUT:1,TEXTAREA:1},adauctionheaders:{$:"adAuctionHeaders",IFRAME:1},allowfullscreen:{$:"allowFullscreen",IFRAME:1},browsingtopics:{$:"browsingTopics",IMG:1},defaultchecked:{$:"defaultChecked",INPUT:1},defaultmuted:{$:"defaultMuted",AUDIO:1,VIDEO:1},defaultselected:{$:"defaultSelected",OPTION:1},disablepictureinpicture:{$:"disablePictureInPicture",VIDEO:1},disableremoteplayback:{$:"disableRemotePlayback",AUDIO:1,VIDEO:1},preservespitch:{$:"preservesPitch",AUDIO:1,VIDEO:1},shadowrootclonable:{$:"shadowRootClonable",TEMPLATE:1},shadowrootdelegatesfocus:{$:"shadowRootDelegatesFocus",TEMPLATE:1},shadowrootserializable:{$:"shadowRootSerializable",TEMPLATE:1},sharedstoragewritable:{$:"sharedStorageWritable",IFRAME:1,IMG:1}});function $t(e,t){const n=It[e];return typeof n=="object"?n[t]?n.$:void 0:n}var Lt=new Set(["beforeinput","click","dblclick","contextmenu","focusin","focusout","input","keydown","keyup","mousedown","mousemove","mouseout","mouseover","mouseup","pointerdown","pointermove","pointerout","pointerover","pointerup","touchend","touchmove","touchstart"]),jt=new Set(["altGlyph","altGlyphDef","altGlyphItem","animate","animateColor","animateMotion","animateTransform","circle","clipPath","color-profile","cursor","defs","desc","ellipse","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","filter","font","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignObject","g","glyph","glyphRef","hkern","image","line","linearGradient","marker","mask","metadata","missing-glyph","mpath","path","pattern","polygon","polyline","radialGradient","rect","set","stop","svg","switch","symbol","text","textPath","tref","tspan","use","view","vkern"]),_t={xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace"},On=e=>x(()=>e());function Ft(e,t,n){let s=n.length,r=t.length,l=s,i=0,o=0,a=t[r-1].nextSibling,f=null;for(;i<r||o<l;){if(t[i]===n[o]){i++,o++;continue}for(;t[r-1]===n[l-1];)r--,l--;if(r===i){const u=l<s?o?n[o-1].nextSibling:n[l-o]:a;for(;o<l;)e.insertBefore(n[o++],u)}else if(l===o)for(;i<r;)(!f||!f.has(t[i]))&&t[i].remove(),i++;else if(t[i]===n[l-1]&&n[o]===t[r-1]){const u=t[--r].nextSibling;e.insertBefore(n[o++],t[i++].nextSibling),e.insertBefore(n[--l],u),t[r]=n[l]}else{if(!f){f=new Map;let c=o;for(;c<l;)f.set(n[c],c++)}const u=f.get(t[i]);if(u!=null)if(o<u&&u<l){let c=i,h=1,g;for(;++c<r&&c<l&&!((g=f.get(t[c]))==null||g!==u+h);)h++;if(h>u-o){const R=t[i];for(;o<u;)e.insertBefore(n[o++],R)}else e.replaceChild(n[o++],t[i++])}else i++;else t[i++].remove()}}}var Ge="_$DX_DELEGATE";function ct(e,t,n,s={}){let r;return ve(l=>{r=l,t===document?e():Yt(t,e(),t.firstChild?null:void 0,n)},s.owner),()=>{r(),t.textContent=""}}function Pn(e,t,n,s){let r;const l=()=>{const o=document.createElement("template");return o.innerHTML=e,o.content.firstChild},i=()=>(r||(r=l())).cloneNode(!0);return i.cloneNode=i,i}function Vt(e,t=window.document){const n=t[Ge]||(t[Ge]=new Set);for(let s=0,r=e.length;s<r;s++){const l=e[s];n.has(l)||(n.add(l),t.addEventListener(l,Zt))}}function $e(e,t,n){B(e)||(n==null?e.removeAttribute(t):e.setAttribute(t,n))}function Bt(e,t,n,s){B(e)||(s==null?e.removeAttributeNS(t,n):e.setAttributeNS(t,n,s))}function Ut(e,t,n){B(e)||(n?e.setAttribute(t,""):e.removeAttribute(t))}function Gt(e,t){B(e)||(t==null?e.removeAttribute("class"):e.className=t)}function Ht(e,t,n,s){if(s)Array.isArray(n)?(e[`$$${t}`]=n[0],e[`$$${t}Data`]=n[1]):e[`$$${t}`]=n;else if(Array.isArray(n)){const r=n[0];e.addEventListener(t,n[0]=l=>r.call(e,n[1],l))}else e.addEventListener(t,n,typeof n!="function"&&n)}function Kt(e,t,n={}){const s=Object.keys(t||{}),r=Object.keys(n);let l,i;for(l=0,i=r.length;l<i;l++){const o=r[l];!o||o==="undefined"||t[o]||(He(e,o,!1),delete n[o])}for(l=0,i=s.length;l<i;l++){const o=s[l],a=!!t[o];!o||o==="undefined"||n[o]===a||!a||(He(e,o,!0),n[o]=a)}return n}function qt(e,t,n){if(!t)return n?$e(e,"style"):t;const s=e.style;if(typeof t=="string")return s.cssText=t;typeof n=="string"&&(s.cssText=n=void 0),n||(n={}),t||(t={});let r,l;for(l in n)t[l]??s.removeProperty(l),delete n[l];for(l in t)r=t[l],r!==n[l]&&(s.setProperty(l,r),n[l]=r);return n}function Xt(e,t={},n,s){const r={};return s||V(()=>r.children=ue(e,t.children,r.children)),V(()=>typeof t.ref=="function"&&Wt(t.ref,e)),V(()=>zt(e,t,n,!0,r,!0)),r}function Wt(e,t,n){return P(()=>e(t,n))}function Yt(e,t,n,s){if(n!==void 0&&!s&&(s=[]),typeof t!="function")return ue(e,t,s,n);V(r=>ue(e,t(),r,n),s)}function zt(e,t,n,s,r={},l=!1){t||(t={});for(const i in r)if(!(i in t)){if(i==="children")continue;r[i]=Ke(e,i,null,r[i],n,l,t)}for(const i in t){if(i==="children")continue;const o=t[i];r[i]=Ke(e,i,o,r[i],n,l,t)}}function Qt(e){let t,n;return!B()||!(t=d.registry.get(n=en()))?e():(d.completed&&d.completed.add(t),d.registry.delete(n),t)}function B(e){return!!d.context&&!d.done&&(!e||e.isConnected)}function Jt(e){return e.toLowerCase().replace(/-([a-z])/g,(t,n)=>n.toUpperCase())}function He(e,t,n){const s=t.trim().split(/\s+/);for(let r=0,l=s.length;r<l;r++)e.classList.toggle(s[r],n)}function Ke(e,t,n,s,r,l,i){let o,a,f,u,c;if(t==="style")return qt(e,n,s);if(t==="classList")return Kt(e,n,s);if(n===s)return s;if(t==="ref")l||n(e);else if(t.slice(0,3)==="on:"){const h=t.slice(3);s&&e.removeEventListener(h,s,typeof s!="function"&&s),n&&e.addEventListener(h,n,typeof n!="function"&&n)}else if(t.slice(0,10)==="oncapture:"){const h=t.slice(10);s&&e.removeEventListener(h,s,!0),n&&e.addEventListener(h,n,!0)}else if(t.slice(0,2)==="on"){const h=t.slice(2).toLowerCase(),g=Lt.has(h);if(!g&&s){const R=Array.isArray(s)?s[0]:s;e.removeEventListener(h,R)}(g||n)&&(Ht(e,h,n,g),g&&Vt([h]))}else if(t.slice(0,5)==="attr:")$e(e,t.slice(5),n);else if(t.slice(0,5)==="bool:")Ut(e,t.slice(5),n);else if((c=t.slice(0,5)==="prop:")||(f=kt.has(t))||!r&&((u=$t(t,e.tagName))||(a=Nt.has(t)))||(o=e.nodeName.includes("-")||"is"in i)){if(c)t=t.slice(5),a=!0;else if(B(e))return n;t==="class"||t==="className"?Gt(e,n):o&&!a&&!f?e[Jt(t)]=n:e[u||t]=n}else{const h=r&&t.indexOf(":")>-1&&_t[t.split(":")[0]];h?Bt(e,h,t,n):$e(e,Mt[t]||t,n)}return n}function Zt(e){if(d.registry&&d.events&&d.events.find(([a,f])=>f===e))return;let t=e.target;const n=`$$${e.type}`,s=e.target,r=e.currentTarget,l=a=>Object.defineProperty(e,"target",{configurable:!0,value:a}),i=()=>{const a=t[n];if(a&&!t.disabled){const f=t[`${n}Data`];if(f!==void 0?a.call(t,f,e):a.call(t,e),e.cancelBubble)return}return t.host&&typeof t.host!="string"&&!t.host._$host&&t.contains(e.target)&&l(t.host),!0},o=()=>{for(;i()&&(t=t._$host||t.parentNode||t.host););};if(Object.defineProperty(e,"currentTarget",{configurable:!0,get(){return t||document}}),d.registry&&!d.done&&(d.done=_$HY.done=!0),e.composedPath){const a=e.composedPath();l(a[0]);for(let f=0;f<a.length-2&&(t=a[f],!!i());f++){if(t._$host){t=t._$host,o();break}if(t.parentNode===r)break}}else o();l(s)}function ue(e,t,n,s,r){const l=B(e);if(l){!n&&(n=[...e.childNodes]);let a=[];for(let f=0;f<n.length;f++){const u=n[f];u.nodeType===8&&u.data.slice(0,2)==="!$"?u.remove():a.push(u)}n=a}for(;typeof n=="function";)n=n();if(t===n)return n;const i=typeof t,o=s!==void 0;if(e=o&&n[0]&&n[0].parentNode||e,i==="string"||i==="number"){if(l||i==="number"&&(t=t.toString(),t===n))return n;if(o){let a=n[0];a&&a.nodeType===3?a.data!==t&&(a.data=t):a=document.createTextNode(t),n=G(e,n,s,a)}else n!==""&&typeof n=="string"?n=e.firstChild.data=t:n=e.textContent=t}else if(t==null||i==="boolean"){if(l)return n;n=G(e,n,s)}else{if(i==="function")return V(()=>{let a=t();for(;typeof a=="function";)a=a();n=ue(e,a,n,s)}),()=>n;if(Array.isArray(t)){const a=[],f=n&&Array.isArray(n);if(Le(a,t,n,r))return V(()=>n=ue(e,a,n,s,!0)),()=>n;if(l){if(!a.length)return n;if(s===void 0)return n=[...e.childNodes];let u=a[0];if(u.parentNode!==e)return n;const c=[u];for(;(u=u.nextSibling)!==s;)c.push(u);return n=c}if(a.length===0){if(n=G(e,n,s),o)return n}else f?n.length===0?qe(e,a,s):Ft(e,n,a):(n&&G(e),qe(e,a));n=a}else if(t.nodeType){if(l&&t.parentNode)return n=o?[t]:t;if(Array.isArray(n)){if(o)return n=G(e,n,s,t);G(e,n,null,t)}else n==null||n===""||!e.firstChild?e.appendChild(t):e.replaceChild(t,e.firstChild);n=t}}return n}function Le(e,t,n,s){let r=!1;for(let l=0,i=t.length;l<i;l++){let o=t[l],a=n&&n[e.length],f;if(!(o==null||o===!0||o===!1))if((f=typeof o)=="object"&&o.nodeType)e.push(o);else if(Array.isArray(o))r=Le(e,o,a)||r;else if(f==="function")if(s){for(;typeof o=="function";)o=o();r=Le(e,Array.isArray(o)?o:[o],Array.isArray(a)?a:[a])||r}else e.push(o),r=!0;else{const u=String(o);a&&a.nodeType===3&&a.data===u?e.push(a):e.push(document.createTextNode(u))}}return r}function qe(e,t,n=null){for(let s=0,r=t.length;s<r;s++)e.insertBefore(t[s],n)}function G(e,t,n,s){if(n===void 0)return e.textContent="";const r=s||document.createTextNode("");if(t.length){let l=!1;for(let i=t.length-1;i>=0;i--){const o=t[i];if(r!==o){const a=o.parentNode===e;!l&&!i?a?e.replaceChild(r,o):e.insertBefore(r,n):a&&o.remove()}else l=!0}}else e.insertBefore(r,n);return[r]}function en(){return d.getNextContextId()}var tn="http://www.w3.org/2000/svg";function nn(e,t=!1,n=void 0){return t?document.createElementNS(tn,e):document.createElement(e,{is:n})}function sn(e,t){const n=x(e);return x(()=>{const s=n();switch(typeof s){case"function":return P(()=>s(t));case"string":const r=jt.has(s),l=d.context?Qt():nn(s,r,P(()=>t.is));return Xt(l,t,r),l}})}function An(e){const[,t]=Dt(e,["component"]);return sn(()=>e.component,t)}var ut=tt(void 0),ft=tt(void 0),Tn=()=>{const e=bt(ft);if(!e)throw new Error("useDevtoolsOnClose must be used within a TanStackRouterDevtools component");return e},H,K,q,X,W,fe,de,he,Y,_,z,ge,Xe,on=(Xe=class{constructor(e){p(this,H);p(this,K);p(this,q);p(this,X);p(this,W);p(this,fe);p(this,de);p(this,he);p(this,Y);p(this,_,!1);p(this,z);p(this,ge);m(this,H,D(e.router)),m(this,K,D(e.routerState)),m(this,q,e.position??"bottom-left"),m(this,X,e.initialIsOpen??!1),m(this,W,e.shadowDOMTarget),m(this,fe,e.panelProps),m(this,de,e.closeButtonProps),m(this,he,e.toggleButtonProps),m(this,Y,e.containerElement)}mount(e){if(y(this,_))throw new Error("Devtools is already mounted");const t=ct(()=>{const[n]=y(this,H),[s]=y(this,K),r=y(this,q),l=y(this,X),i=y(this,W),o=y(this,fe),a=y(this,de),f=y(this,he),u=y(this,Y);let c;return y(this,z)?c=y(this,z):(c=lt(()=>Ye(()=>import("./FloatingTanStackRouterDevtools-CqogiFob-D6OvDT9K.js"),__vite__mapDeps([0,1,2,3]))),m(this,z,c)),ae(ut.Provider,{value:i,get children(){return ae(c,{position:r,initialIsOpen:l,router:n,routerState:s,shadowDOMTarget:i,panelProps:o,closeButtonProps:a,toggleButtonProps:f,containerElement:u})}})},e);m(this,_,!0),m(this,ge,t)}unmount(){var e;if(!y(this,_))throw new Error("Devtools is not mounted");(e=y(this,ge))==null||e.call(this),m(this,_,!1)}setRouter(e){y(this,H)[1](e)}setRouterState(e){y(this,K)[1](e)}setOptions(e){e.position!==void 0&&m(this,q,e.position),e.initialIsOpen!==void 0&&m(this,X,e.initialIsOpen),e.shadowDOMTarget!==void 0&&m(this,W,e.shadowDOMTarget),e.containerElement!==void 0&&m(this,Y,e.containerElement)}},H=new WeakMap,K=new WeakMap,q=new WeakMap,X=new WeakMap,W=new WeakMap,fe=new WeakMap,de=new WeakMap,he=new WeakMap,Y=new WeakMap,_=new WeakMap,z=new WeakMap,ge=new WeakMap,Xe),Q,J,Z,ee,te,F,ye,me,ne,We,rn=(We=class{constructor(e){p(this,Q);p(this,J);p(this,Z);p(this,ee);p(this,te);p(this,F,!1);p(this,ye);p(this,me);p(this,ne);const{router:t,routerState:n,shadowDOMTarget:s,setIsOpen:r,style:l,className:i}=e;m(this,Q,D(t)),m(this,J,D(n)),m(this,Z,D(l)),m(this,ee,D(i)),m(this,te,s),m(this,ye,r)}mount(e){if(y(this,F))throw new Error("Devtools is already mounted");const t=ct(()=>{const[n]=y(this,Q),[s]=y(this,J),[r]=y(this,Z),[l]=y(this,ee),i=y(this,te),o=y(this,ye);let a;return y(this,ne)?a=y(this,ne):(a=lt(()=>Ye(()=>import("./BaseTanStackRouterDevtoolsPanel-B-iktbLX-CIKvkn5X.js"),__vite__mapDeps([1,2,3]))),m(this,ne,a)),ae(ut.Provider,{value:i,get children(){return ae(ft.Provider,{value:{onCloseClick:()=>{}},get children(){return ae(a,{router:n,routerState:s,shadowDOMTarget:i,setIsOpen:o,style:r,className:l})}})}})},e);m(this,F,!0),m(this,me,t)}unmount(){var e;if(!y(this,F))throw new Error("Devtools is not mounted");(e=y(this,me))==null||e.call(this),m(this,F,!1)}setRouter(e){y(this,Q)[1](e)}setRouterState(e){y(this,J)[1](e)}setStyle(e){y(this,Z)[1](e)}setClassName(e){y(this,ee)[1](e)}setOptions(e){e.shadowDOMTarget!==void 0&&m(this,te,e.shadowDOMTarget),e.router!==void 0&&this.setRouter(e.router),e.routerState!==void 0&&this.setRouterState(e.routerState),e.style!==void 0&&this.setStyle(e.style),e.className!==void 0&&this.setClassName(e.className)}},Q=new WeakMap,J=new WeakMap,Z=new WeakMap,ee=new WeakMap,te=new WeakMap,F=new WeakMap,ye=new WeakMap,me=new WeakMap,ne=new WeakMap,We);function ln(e){const{initialIsOpen:t,panelProps:n,closeButtonProps:s,toggleButtonProps:r,position:l,containerElement:i,shadowDOMTarget:o,router:a}=e,f=ze(),u=a??f,c=Qe({router:u}),h=C.useRef(null),[g]=C.useState(()=>new on({initialIsOpen:t,panelProps:n,closeButtonProps:s,toggleButtonProps:r,position:l,containerElement:i,shadowDOMTarget:o,router:u,routerState:c}));return C.useEffect(()=>{g.setRouter(u)},[g,u]),C.useEffect(()=>{g.setRouterState(c)},[g,c]),C.useEffect(()=>{g.setOptions({initialIsOpen:t,panelProps:n,closeButtonProps:s,toggleButtonProps:r,position:l,containerElement:i,shadowDOMTarget:o})},[g,t,n,s,r,l,i,o]),C.useEffect(()=>(h.current&&g.mount(h.current),()=>{g.unmount()}),[g]),le.jsx(C.Fragment,{children:le.jsx("div",{ref:h})})}var an=e=>{const{router:t,...n}=e,s=ze(),r=t??s,l=Qe({router:r}),i=C.useRef(null),[o]=C.useState(()=>new rn({...n,router:r,routerState:l}));return C.useEffect(()=>{o.setRouter(r)},[o,r]),C.useEffect(()=>{o.setRouterState(l)},[o,l]),C.useEffect(()=>{o.setOptions({className:e.className,style:e.style,shadowDOMTarget:e.shadowDOMTarget})},[o,e.className,e.style,e.shadowDOMTarget]),C.useEffect(()=>(i.current&&o.mount(i.current),()=>{o.unmount()}),[o]),le.jsx(le.Fragment,{children:le.jsx("div",{ref:i})})},cn=function(){return null},un=ln,fn=function(){return null},dn=an;const Cn=Object.freeze(Object.defineProperty({__proto__:null,TanStackRouterDevtools:cn,TanStackRouterDevtoolsInProd:un,TanStackRouterDevtoolsPanel:fn,TanStackRouterDevtoolsPanelInProd:dn},Symbol.toStringTag,{value:"Module"}));export{ft as D,bn as F,En as M,xn as S,yn as a,x as b,D as c,ae as d,V as e,Gt as f,An as g,pn as h,Yt as i,$e as j,Ht as k,On as l,vn as m,bt as n,Sn as o,vt as p,P as q,ut as r,Xt as s,Pn as t,Tn as u,Vt as v,Cn as w};
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/FloatingTanStackRouterDevtools-CqogiFob-CEzhHBdz.js","assets/BaseTanStackRouterDevtoolsPanel-B-iktbLX-DrUBXr8b.js","assets/index-B4Z9VBPe.js","assets/index-D8mgsoST.css"])))=>i.map(i=>d[i]);
2
+ var Fe=e=>{throw TypeError(e)};var Ve=(e,t,n)=>t.has(e)||Fe("Cannot "+n);var y=(e,t,n)=>(Ve(e,t,"read from private field"),n?n.call(e):t.get(e)),p=(e,t,n)=>t.has(e)?Fe("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),m=(e,t,n,s)=>(Ve(e,t,"write to private field"),s?s.call(e,n):t.set(e,n),n);import{ap as Ye,dR as ze,dS as Qe,r as C,j as le}from"./index-B4Z9VBPe.js";var d={context:void 0,registry:void 0,effects:void 0,done:!1,getContextId(){return Be(this.context.count)},getNextContextId(){return Be(this.context.count++)}};function Be(e){const t=String(e),n=t.length-1;return d.context.id+(n?String.fromCharCode(96+n):"")+t}function ie(e){d.context=e}var dt=(e,t)=>e===t,be=Symbol("solid-proxy"),Je=typeof Proxy=="function",ht=Symbol("solid-track"),Se={equals:dt},Ze=rt,L=1,xe=2,et={owned:null,cleanups:null,context:null,owner:null},Re={},w=null,Ne=null,gt=null,v=null,E=null,$=null,Pe=0;function ve(e,t){const n=v,s=w,r=e.length===0,l=t===void 0?s:t,i=r?et:{owned:null,cleanups:null,context:l?l.context:null,owner:l},o=r?e:()=>e(()=>P(()=>ce(i)));w=i,v=null;try{return j(o,!0)}finally{v=n,w=s}}function D(e,t){t=t?Object.assign({},Se,t):Se;const n={value:e,observers:null,observerSlots:null,comparator:t.equals||void 0},s=r=>(typeof r=="function"&&(r=r(n.value)),ot(n,r));return[st.bind(n),s]}function yt(e,t,n){const s=Ae(e,t,!0,L);se(s)}function V(e,t,n){const s=Ae(e,t,!1,L);se(s)}function yn(e,t,n){Ze=Ot;const s=Ae(e,t,!1,L);(!n||!n.render)&&(s.user=!0),$?$.push(s):se(s)}function x(e,t,n){n=n?Object.assign({},Se,n):Se;const s=Ae(e,t,!0,0);return s.observers=null,s.observerSlots=null,s.comparator=n.equals||void 0,se(s),st.bind(s)}function mt(e){return e&&typeof e=="object"&&"then"in e}function wt(e,t,n){let s,r,l;s=!0,r=e,l={};let i=null,o=Re,a=null,f=!1,u="initialValue"in l,c=typeof s=="function"&&x(s);const h=new Set,[g,R]=(l.storage||D)(l.initialValue),[M,U]=D(void 0),[oe,N]=D(void 0,{equals:!1}),[T,k]=D(u?"ready":"unresolved");d.context&&(a=d.getNextContextId(),l.ssrLoadFrom==="initial"?o=l.initialValue:d.load&&d.has(a)&&(o=d.load(a)));function A(S,b,I,O){return i===S&&(i=null,O!==void 0&&(u=!0),(S===o||b===o)&&l.onHydrated&&queueMicrotask(()=>l.onHydrated(O,{value:b})),o=Re,Te(b,I)),b}function Te(S,b){j(()=>{b===void 0&&R(()=>S),k(b!==void 0?"errored":u?"ready":"unresolved"),U(b);for(const I of h.keys())I.decrement();h.clear()},!1)}function Ce(){const S=St,b=g(),I=M();if(I!==void 0&&!i)throw I;return v&&v.user,b}function De(S=!0){if(S!==!1&&f)return;f=!1;const b=c?c():s;if(b==null||b===!1){A(i,P(g));return}let I;const O=o!==Re?o:P(()=>{try{return r(b,{value:g(),refetching:S})}catch(re){I=re}});if(I!==void 0){A(i,void 0,pe(I),b);return}else if(!mt(O))return A(i,O,void 0,b),O;return i=O,"v"in O?(O.s===1?A(i,O.v,void 0,b):A(i,void 0,pe(O.v),b),O):(f=!0,queueMicrotask(()=>f=!1),j(()=>{k(u?"refreshing":"pending"),N()},!1),O.then(re=>A(O,re,void 0,b),re=>A(O,void 0,pe(re),b)))}Object.defineProperties(Ce,{state:{get:()=>T()},error:{get:()=>M()},loading:{get(){const S=T();return S==="pending"||S==="refreshing"}},latest:{get(){if(!u)return Ce();const S=M();if(S&&!i)throw S;return g()}}});let _e=w;return c?yt(()=>(_e=w,De(!1))):De(!1),[Ce,{refetch:S=>pt(_e,()=>De(S)),mutate:R}]}function P(e){if(v===null)return e();const t=v;v=null;try{return e()}finally{v=t}}function vt(e){return w===null||(w.cleanups===null?w.cleanups=[e]:w.cleanups.push(e)),e}function pt(e,t){const n=w,s=v;w=e,v=null;try{return j(t,!0)}catch(r){je(r)}finally{w=n,v=s}}var[mn,wn]=D(!1);function tt(e,t){const n=Symbol("context");return{id:n,Provider:Pt(n),defaultValue:e}}function bt(e){let t;return w&&w.context&&(t=w.context[e.id])!==void 0?t:e.defaultValue}function nt(e){const t=x(e),n=x(()=>Me(t()));return n.toArray=()=>{const s=n();return Array.isArray(s)?s:s!=null?[s]:[]},n}var St;function st(){if(this.sources&&this.state)if(this.state===L)se(this);else{const e=E;E=null,j(()=>Oe(this),!1),E=e}if(v){const e=this.observers?this.observers.length:0;v.sources?(v.sources.push(this),v.sourceSlots.push(e)):(v.sources=[this],v.sourceSlots=[e]),this.observers?(this.observers.push(v),this.observerSlots.push(v.sources.length-1)):(this.observers=[v],this.observerSlots=[v.sources.length-1])}return this.value}function ot(e,t,n){let s=e.value;return(!e.comparator||!e.comparator(s,t))&&(e.value=t,e.observers&&e.observers.length&&j(()=>{for(let r=0;r<e.observers.length;r+=1){const l=e.observers[r],i=Ne&&Ne.running;i&&Ne.disposed.has(l),(i?!l.tState:!l.state)&&(l.pure?E.push(l):$.push(l),l.observers&&it(l)),i||(l.state=L)}if(E.length>1e6)throw E=[],new Error},!1)),t}function se(e){if(!e.fn)return;ce(e);const t=Pe;xt(e,e.value,t)}function xt(e,t,n){let s;const r=w,l=v;v=w=e;try{s=e.fn(t)}catch(i){return e.pure&&(e.state=L,e.owned&&e.owned.forEach(ce),e.owned=null),e.updatedAt=n+1,je(i)}finally{v=l,w=r}(!e.updatedAt||e.updatedAt<=n)&&(e.updatedAt!=null&&"observers"in e?ot(e,s):e.value=s,e.updatedAt=n)}function Ae(e,t,n,s=L,r){const l={fn:e,state:s,updatedAt:null,owned:null,sources:null,sourceSlots:null,cleanups:null,value:t,owner:w,context:w?w.context:null,pure:n};return w===null||w!==et&&(w.owned?w.owned.push(l):w.owned=[l]),l}function Ee(e){if(e.state===0)return;if(e.state===xe)return Oe(e);if(e.suspense&&P(e.suspense.inFallback))return e.suspense.effects.push(e);const t=[e];for(;(e=e.owner)&&(!e.updatedAt||e.updatedAt<Pe);)e.state&&t.push(e);for(let n=t.length-1;n>=0;n--)if(e=t[n],e.state===L)se(e);else if(e.state===xe){const s=E;E=null,j(()=>Oe(e,t[0]),!1),E=s}}function j(e,t){if(E)return e();let n=!1;t||(E=[]),$?n=!0:$=[],Pe++;try{const s=e();return Et(n),s}catch(s){n||($=null),E=null,je(s)}}function Et(e){if(E&&(rt(E),E=null),e)return;const t=$;$=null,t.length&&j(()=>Ze(t),!1)}function rt(e){for(let t=0;t<e.length;t++)Ee(e[t])}function Ot(e){let t,n=0;for(t=0;t<e.length;t++){const s=e[t];s.user?e[n++]=s:Ee(s)}if(d.context){if(d.count){d.effects||(d.effects=[]),d.effects.push(...e.slice(0,n));return}ie()}for(d.effects&&(d.done||!d.count)&&(e=[...d.effects,...e],n+=d.effects.length,delete d.effects),t=0;t<n;t++)Ee(e[t])}function Oe(e,t){e.state=0;for(let n=0;n<e.sources.length;n+=1){const s=e.sources[n];if(s.sources){const r=s.state;r===L?s!==t&&(!s.updatedAt||s.updatedAt<Pe)&&Ee(s):r===xe&&Oe(s,t)}}}function it(e){for(let t=0;t<e.observers.length;t+=1){const n=e.observers[t];n.state||(n.state=xe,n.pure?E.push(n):$.push(n),n.observers&&it(n))}}function ce(e){let t;if(e.sources)for(;e.sources.length;){const n=e.sources.pop(),s=e.sourceSlots.pop(),r=n.observers;if(r&&r.length){const l=r.pop(),i=n.observerSlots.pop();s<r.length&&(l.sourceSlots[i]=s,r[s]=l,n.observerSlots[s]=i)}}if(e.tOwned){for(t=e.tOwned.length-1;t>=0;t--)ce(e.tOwned[t]);delete e.tOwned}if(e.owned){for(t=e.owned.length-1;t>=0;t--)ce(e.owned[t]);e.owned=null}if(e.cleanups){for(t=e.cleanups.length-1;t>=0;t--)e.cleanups[t]();e.cleanups=null}e.state=0}function pe(e){return e instanceof Error?e:new Error(typeof e=="string"?e:"Unknown error",{cause:e})}function je(e,t=w){throw pe(e)}function Me(e){if(typeof e=="function"&&!e.length)return Me(e());if(Array.isArray(e)){const t=[];for(let n=0;n<e.length;n++){const s=Me(e[n]);Array.isArray(s)?t.push.apply(t,s):t.push(s)}return t}return e}function Pt(e,t){return function(s){let r;return V(()=>r=P(()=>(w.context={...w.context,[e]:s.value},nt(()=>s.children))),void 0),r}}var At=Symbol("fallback");function Ue(e){for(let t=0;t<e.length;t++)e[t]()}function Tt(e,t,n={}){let s=[],r=[],l=[],i=0,o=t.length>1?[]:null;return vt(()=>Ue(l)),()=>{let a=e()||[],f=a.length,u,c;return a[ht],P(()=>{let g,R,M,U,oe,N,T,k,A;if(f===0)i!==0&&(Ue(l),l=[],s=[],r=[],i=0,o&&(o=[])),n.fallback&&(s=[At],r[0]=ve(Te=>(l[0]=Te,n.fallback())),i=1);else if(i===0){for(r=new Array(f),c=0;c<f;c++)s[c]=a[c],r[c]=ve(h);i=f}else{for(M=new Array(f),U=new Array(f),o&&(oe=new Array(f)),N=0,T=Math.min(i,f);N<T&&s[N]===a[N];N++);for(T=i-1,k=f-1;T>=N&&k>=N&&s[T]===a[k];T--,k--)M[k]=r[T],U[k]=l[T],o&&(oe[k]=o[T]);for(g=new Map,R=new Array(k+1),c=k;c>=N;c--)A=a[c],u=g.get(A),R[c]=u===void 0?-1:u,g.set(A,c);for(u=N;u<=T;u++)A=s[u],c=g.get(A),c!==void 0&&c!==-1?(M[c]=r[u],U[c]=l[u],o&&(oe[c]=o[u]),c=R[c],g.set(A,c)):l[u]();for(c=N;c<f;c++)c in M?(r[c]=M[c],l[c]=U[c],o&&(o[c]=oe[c],o[c](c))):r[c]=ve(h);r=r.slice(0,i=f),s=a.slice(0)}return r});function h(g){if(l[c]=g,o){const[R,M]=D(c);return o[c]=M,t(a[c],R)}return t(a[c])}}}function ae(e,t){return P(()=>e(t||{}))}function we(){return!0}var Ie={get(e,t,n){return t===be?n:e.get(t)},has(e,t){return t===be?!0:e.has(t)},set:we,deleteProperty:we,getOwnPropertyDescriptor(e,t){return{configurable:!0,enumerable:!0,get(){return e.get(t)},set:we,deleteProperty:we}},ownKeys(e){return e.keys()}};function ke(e){return(e=typeof e=="function"?e():e)?e:{}}function Ct(){for(let e=0,t=this.length;e<t;++e){const n=this[e]();if(n!==void 0)return n}}function vn(...e){let t=!1;for(let i=0;i<e.length;i++){const o=e[i];t=t||!!o&&be in o,e[i]=typeof o=="function"?(t=!0,x(o)):o}if(Je&&t)return new Proxy({get(i){for(let o=e.length-1;o>=0;o--){const a=ke(e[o])[i];if(a!==void 0)return a}},has(i){for(let o=e.length-1;o>=0;o--)if(i in ke(e[o]))return!0;return!1},keys(){const i=[];for(let o=0;o<e.length;o++)i.push(...Object.keys(ke(e[o])));return[...new Set(i)]}},Ie);const n={},s=Object.create(null);for(let i=e.length-1;i>=0;i--){const o=e[i];if(!o)continue;const a=Object.getOwnPropertyNames(o);for(let f=a.length-1;f>=0;f--){const u=a[f];if(u==="__proto__"||u==="constructor")continue;const c=Object.getOwnPropertyDescriptor(o,u);if(!s[u])s[u]=c.get?{enumerable:!0,configurable:!0,get:Ct.bind(n[u]=[c.get.bind(o)])}:c.value!==void 0?c:void 0;else{const h=n[u];h&&(c.get?h.push(c.get.bind(o)):c.value!==void 0&&h.push(()=>c.value))}}}const r={},l=Object.keys(s);for(let i=l.length-1;i>=0;i--){const o=l[i],a=s[o];a&&a.get?Object.defineProperty(r,o,a):r[o]=a?a.value:void 0}return r}function Dt(e,...t){const n=t.length;if(Je&&be in e){const r=n>1?t.flat():t[0],l=t.map(i=>new Proxy({get(o){return i.includes(o)?e[o]:void 0},has(o){return i.includes(o)&&o in e},keys(){return i.filter(o=>o in e)}},Ie));return l.push(new Proxy({get(i){return r.includes(i)?void 0:e[i]},has(i){return r.includes(i)?!1:i in e},keys(){return Object.keys(e).filter(i=>!r.includes(i))}},Ie)),l}const s=[];for(let r=0;r<=n;r++)s[r]={};for(const r of Object.getOwnPropertyNames(e)){let l=n;for(let o=0;o<t.length;o++)if(t[o].includes(r)){l=o;break}const i=Object.getOwnPropertyDescriptor(e,r);!i.get&&!i.set&&i.enumerable&&i.writable&&i.configurable?s[l][r]=i.value:Object.defineProperty(s[l],r,i)}return s}function lt(e){let t,n;const s=r=>{const l=d.context;if(l){const[o,a]=D();d.count||(d.count=0),d.count++,(n||(n=e())).then(f=>{!d.done&&ie(l),d.count--,a(()=>f.default),ie()}),t=o}else if(!t){const[o]=wt(()=>(n||(n=e())).then(a=>a.default));t=o}let i;return x(()=>(i=t())?P(()=>{if(!l||d.done)return i(r);const o=d.context;ie(l);const a=i(r);return ie(o),a}):"")};return s.preload=()=>n||((n=e()).then(r=>t=()=>r.default),n),s}var Rt=0;function pn(){return d.context?d.getNextContextId():`cl-${Rt++}`}var at=e=>`Stale read from <${e}>.`;function bn(e){const t="fallback"in e&&{fallback:()=>e.fallback};return x(Tt(()=>e.each,e.children,t||void 0))}function Sn(e){const t=e.keyed,n=x(()=>e.when,void 0,void 0),s=t?n:x(n,void 0,{equals:(r,l)=>!r==!l});return x(()=>{const r=s();if(r){const l=e.children;return typeof l=="function"&&l.length>0?P(()=>l(t?r:()=>{if(!P(s))throw at("Show");return n()})):l}return e.fallback},void 0,void 0)}function xn(e){const t=nt(()=>e.children),n=x(()=>{const s=t(),r=Array.isArray(s)?s:[s];let l=()=>{};for(let i=0;i<r.length;i++){const o=i,a=r[i],f=l,u=x(()=>f()?void 0:a.when,void 0,void 0),c=a.keyed?u:x(u,void 0,{equals:(h,g)=>!h==!g});l=()=>f()||(c()?[o,u,a]:void 0)}return l});return x(()=>{const s=n()();if(!s)return e.fallback;const[r,l,i]=s,o=i.children;return typeof o=="function"&&o.length>0?P(()=>o(i.keyed?l():()=>{var a;if(((a=P(n)())==null?void 0:a[0])!==r)throw at("Match");return l()})):o},void 0,void 0)}function En(e){return e}var Nt=new Set(["className","value","readOnly","noValidate","formNoValidate","isMap","noModule","playsInline","adAuctionHeaders","allowFullscreen","browsingTopics","defaultChecked","defaultMuted","defaultSelected","disablePictureInPicture","disableRemotePlayback","preservesPitch","shadowRootClonable","shadowRootCustomElementRegistry","shadowRootDelegatesFocus","shadowRootSerializable","sharedStorageWritable","allowfullscreen","async","alpha","autofocus","autoplay","checked","controls","default","disabled","formnovalidate","hidden","indeterminate","inert","ismap","loop","multiple","muted","nomodule","novalidate","open","playsinline","readonly","required","reversed","seamless","selected","adauctionheaders","browsingtopics","credentialless","defaultchecked","defaultmuted","defaultselected","defer","disablepictureinpicture","disableremoteplayback","preservespitch","shadowrootclonable","shadowrootcustomelementregistry","shadowrootdelegatesfocus","shadowrootserializable","sharedstoragewritable"]),kt=new Set(["innerHTML","textContent","innerText","children"]),Mt=Object.assign(Object.create(null),{className:"class",htmlFor:"for"}),It=Object.assign(Object.create(null),{class:"className",novalidate:{$:"noValidate",FORM:1},formnovalidate:{$:"formNoValidate",BUTTON:1,INPUT:1},ismap:{$:"isMap",IMG:1},nomodule:{$:"noModule",SCRIPT:1},playsinline:{$:"playsInline",VIDEO:1},readonly:{$:"readOnly",INPUT:1,TEXTAREA:1},adauctionheaders:{$:"adAuctionHeaders",IFRAME:1},allowfullscreen:{$:"allowFullscreen",IFRAME:1},browsingtopics:{$:"browsingTopics",IMG:1},defaultchecked:{$:"defaultChecked",INPUT:1},defaultmuted:{$:"defaultMuted",AUDIO:1,VIDEO:1},defaultselected:{$:"defaultSelected",OPTION:1},disablepictureinpicture:{$:"disablePictureInPicture",VIDEO:1},disableremoteplayback:{$:"disableRemotePlayback",AUDIO:1,VIDEO:1},preservespitch:{$:"preservesPitch",AUDIO:1,VIDEO:1},shadowrootclonable:{$:"shadowRootClonable",TEMPLATE:1},shadowrootdelegatesfocus:{$:"shadowRootDelegatesFocus",TEMPLATE:1},shadowrootserializable:{$:"shadowRootSerializable",TEMPLATE:1},sharedstoragewritable:{$:"sharedStorageWritable",IFRAME:1,IMG:1}});function $t(e,t){const n=It[e];return typeof n=="object"?n[t]?n.$:void 0:n}var Lt=new Set(["beforeinput","click","dblclick","contextmenu","focusin","focusout","input","keydown","keyup","mousedown","mousemove","mouseout","mouseover","mouseup","pointerdown","pointermove","pointerout","pointerover","pointerup","touchend","touchmove","touchstart"]),jt=new Set(["altGlyph","altGlyphDef","altGlyphItem","animate","animateColor","animateMotion","animateTransform","circle","clipPath","color-profile","cursor","defs","desc","ellipse","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","filter","font","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignObject","g","glyph","glyphRef","hkern","image","line","linearGradient","marker","mask","metadata","missing-glyph","mpath","path","pattern","polygon","polyline","radialGradient","rect","set","stop","svg","switch","symbol","text","textPath","tref","tspan","use","view","vkern"]),_t={xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace"},On=e=>x(()=>e());function Ft(e,t,n){let s=n.length,r=t.length,l=s,i=0,o=0,a=t[r-1].nextSibling,f=null;for(;i<r||o<l;){if(t[i]===n[o]){i++,o++;continue}for(;t[r-1]===n[l-1];)r--,l--;if(r===i){const u=l<s?o?n[o-1].nextSibling:n[l-o]:a;for(;o<l;)e.insertBefore(n[o++],u)}else if(l===o)for(;i<r;)(!f||!f.has(t[i]))&&t[i].remove(),i++;else if(t[i]===n[l-1]&&n[o]===t[r-1]){const u=t[--r].nextSibling;e.insertBefore(n[o++],t[i++].nextSibling),e.insertBefore(n[--l],u),t[r]=n[l]}else{if(!f){f=new Map;let c=o;for(;c<l;)f.set(n[c],c++)}const u=f.get(t[i]);if(u!=null)if(o<u&&u<l){let c=i,h=1,g;for(;++c<r&&c<l&&!((g=f.get(t[c]))==null||g!==u+h);)h++;if(h>u-o){const R=t[i];for(;o<u;)e.insertBefore(n[o++],R)}else e.replaceChild(n[o++],t[i++])}else i++;else t[i++].remove()}}}var Ge="_$DX_DELEGATE";function ct(e,t,n,s={}){let r;return ve(l=>{r=l,t===document?e():Yt(t,e(),t.firstChild?null:void 0,n)},s.owner),()=>{r(),t.textContent=""}}function Pn(e,t,n,s){let r;const l=()=>{const o=document.createElement("template");return o.innerHTML=e,o.content.firstChild},i=()=>(r||(r=l())).cloneNode(!0);return i.cloneNode=i,i}function Vt(e,t=window.document){const n=t[Ge]||(t[Ge]=new Set);for(let s=0,r=e.length;s<r;s++){const l=e[s];n.has(l)||(n.add(l),t.addEventListener(l,Zt))}}function $e(e,t,n){B(e)||(n==null?e.removeAttribute(t):e.setAttribute(t,n))}function Bt(e,t,n,s){B(e)||(s==null?e.removeAttributeNS(t,n):e.setAttributeNS(t,n,s))}function Ut(e,t,n){B(e)||(n?e.setAttribute(t,""):e.removeAttribute(t))}function Gt(e,t){B(e)||(t==null?e.removeAttribute("class"):e.className=t)}function Ht(e,t,n,s){if(s)Array.isArray(n)?(e[`$$${t}`]=n[0],e[`$$${t}Data`]=n[1]):e[`$$${t}`]=n;else if(Array.isArray(n)){const r=n[0];e.addEventListener(t,n[0]=l=>r.call(e,n[1],l))}else e.addEventListener(t,n,typeof n!="function"&&n)}function Kt(e,t,n={}){const s=Object.keys(t||{}),r=Object.keys(n);let l,i;for(l=0,i=r.length;l<i;l++){const o=r[l];!o||o==="undefined"||t[o]||(He(e,o,!1),delete n[o])}for(l=0,i=s.length;l<i;l++){const o=s[l],a=!!t[o];!o||o==="undefined"||n[o]===a||!a||(He(e,o,!0),n[o]=a)}return n}function qt(e,t,n){if(!t)return n?$e(e,"style"):t;const s=e.style;if(typeof t=="string")return s.cssText=t;typeof n=="string"&&(s.cssText=n=void 0),n||(n={}),t||(t={});let r,l;for(l in n)t[l]??s.removeProperty(l),delete n[l];for(l in t)r=t[l],r!==n[l]&&(s.setProperty(l,r),n[l]=r);return n}function Xt(e,t={},n,s){const r={};return s||V(()=>r.children=ue(e,t.children,r.children)),V(()=>typeof t.ref=="function"&&Wt(t.ref,e)),V(()=>zt(e,t,n,!0,r,!0)),r}function Wt(e,t,n){return P(()=>e(t,n))}function Yt(e,t,n,s){if(n!==void 0&&!s&&(s=[]),typeof t!="function")return ue(e,t,s,n);V(r=>ue(e,t(),r,n),s)}function zt(e,t,n,s,r={},l=!1){t||(t={});for(const i in r)if(!(i in t)){if(i==="children")continue;r[i]=Ke(e,i,null,r[i],n,l,t)}for(const i in t){if(i==="children")continue;const o=t[i];r[i]=Ke(e,i,o,r[i],n,l,t)}}function Qt(e){let t,n;return!B()||!(t=d.registry.get(n=en()))?e():(d.completed&&d.completed.add(t),d.registry.delete(n),t)}function B(e){return!!d.context&&!d.done&&(!e||e.isConnected)}function Jt(e){return e.toLowerCase().replace(/-([a-z])/g,(t,n)=>n.toUpperCase())}function He(e,t,n){const s=t.trim().split(/\s+/);for(let r=0,l=s.length;r<l;r++)e.classList.toggle(s[r],n)}function Ke(e,t,n,s,r,l,i){let o,a,f,u,c;if(t==="style")return qt(e,n,s);if(t==="classList")return Kt(e,n,s);if(n===s)return s;if(t==="ref")l||n(e);else if(t.slice(0,3)==="on:"){const h=t.slice(3);s&&e.removeEventListener(h,s,typeof s!="function"&&s),n&&e.addEventListener(h,n,typeof n!="function"&&n)}else if(t.slice(0,10)==="oncapture:"){const h=t.slice(10);s&&e.removeEventListener(h,s,!0),n&&e.addEventListener(h,n,!0)}else if(t.slice(0,2)==="on"){const h=t.slice(2).toLowerCase(),g=Lt.has(h);if(!g&&s){const R=Array.isArray(s)?s[0]:s;e.removeEventListener(h,R)}(g||n)&&(Ht(e,h,n,g),g&&Vt([h]))}else if(t.slice(0,5)==="attr:")$e(e,t.slice(5),n);else if(t.slice(0,5)==="bool:")Ut(e,t.slice(5),n);else if((c=t.slice(0,5)==="prop:")||(f=kt.has(t))||!r&&((u=$t(t,e.tagName))||(a=Nt.has(t)))||(o=e.nodeName.includes("-")||"is"in i)){if(c)t=t.slice(5),a=!0;else if(B(e))return n;t==="class"||t==="className"?Gt(e,n):o&&!a&&!f?e[Jt(t)]=n:e[u||t]=n}else{const h=r&&t.indexOf(":")>-1&&_t[t.split(":")[0]];h?Bt(e,h,t,n):$e(e,Mt[t]||t,n)}return n}function Zt(e){if(d.registry&&d.events&&d.events.find(([a,f])=>f===e))return;let t=e.target;const n=`$$${e.type}`,s=e.target,r=e.currentTarget,l=a=>Object.defineProperty(e,"target",{configurable:!0,value:a}),i=()=>{const a=t[n];if(a&&!t.disabled){const f=t[`${n}Data`];if(f!==void 0?a.call(t,f,e):a.call(t,e),e.cancelBubble)return}return t.host&&typeof t.host!="string"&&!t.host._$host&&t.contains(e.target)&&l(t.host),!0},o=()=>{for(;i()&&(t=t._$host||t.parentNode||t.host););};if(Object.defineProperty(e,"currentTarget",{configurable:!0,get(){return t||document}}),d.registry&&!d.done&&(d.done=_$HY.done=!0),e.composedPath){const a=e.composedPath();l(a[0]);for(let f=0;f<a.length-2&&(t=a[f],!!i());f++){if(t._$host){t=t._$host,o();break}if(t.parentNode===r)break}}else o();l(s)}function ue(e,t,n,s,r){const l=B(e);if(l){!n&&(n=[...e.childNodes]);let a=[];for(let f=0;f<n.length;f++){const u=n[f];u.nodeType===8&&u.data.slice(0,2)==="!$"?u.remove():a.push(u)}n=a}for(;typeof n=="function";)n=n();if(t===n)return n;const i=typeof t,o=s!==void 0;if(e=o&&n[0]&&n[0].parentNode||e,i==="string"||i==="number"){if(l||i==="number"&&(t=t.toString(),t===n))return n;if(o){let a=n[0];a&&a.nodeType===3?a.data!==t&&(a.data=t):a=document.createTextNode(t),n=G(e,n,s,a)}else n!==""&&typeof n=="string"?n=e.firstChild.data=t:n=e.textContent=t}else if(t==null||i==="boolean"){if(l)return n;n=G(e,n,s)}else{if(i==="function")return V(()=>{let a=t();for(;typeof a=="function";)a=a();n=ue(e,a,n,s)}),()=>n;if(Array.isArray(t)){const a=[],f=n&&Array.isArray(n);if(Le(a,t,n,r))return V(()=>n=ue(e,a,n,s,!0)),()=>n;if(l){if(!a.length)return n;if(s===void 0)return n=[...e.childNodes];let u=a[0];if(u.parentNode!==e)return n;const c=[u];for(;(u=u.nextSibling)!==s;)c.push(u);return n=c}if(a.length===0){if(n=G(e,n,s),o)return n}else f?n.length===0?qe(e,a,s):Ft(e,n,a):(n&&G(e),qe(e,a));n=a}else if(t.nodeType){if(l&&t.parentNode)return n=o?[t]:t;if(Array.isArray(n)){if(o)return n=G(e,n,s,t);G(e,n,null,t)}else n==null||n===""||!e.firstChild?e.appendChild(t):e.replaceChild(t,e.firstChild);n=t}}return n}function Le(e,t,n,s){let r=!1;for(let l=0,i=t.length;l<i;l++){let o=t[l],a=n&&n[e.length],f;if(!(o==null||o===!0||o===!1))if((f=typeof o)=="object"&&o.nodeType)e.push(o);else if(Array.isArray(o))r=Le(e,o,a)||r;else if(f==="function")if(s){for(;typeof o=="function";)o=o();r=Le(e,Array.isArray(o)?o:[o],Array.isArray(a)?a:[a])||r}else e.push(o),r=!0;else{const u=String(o);a&&a.nodeType===3&&a.data===u?e.push(a):e.push(document.createTextNode(u))}}return r}function qe(e,t,n=null){for(let s=0,r=t.length;s<r;s++)e.insertBefore(t[s],n)}function G(e,t,n,s){if(n===void 0)return e.textContent="";const r=s||document.createTextNode("");if(t.length){let l=!1;for(let i=t.length-1;i>=0;i--){const o=t[i];if(r!==o){const a=o.parentNode===e;!l&&!i?a?e.replaceChild(r,o):e.insertBefore(r,n):a&&o.remove()}else l=!0}}else e.insertBefore(r,n);return[r]}function en(){return d.getNextContextId()}var tn="http://www.w3.org/2000/svg";function nn(e,t=!1,n=void 0){return t?document.createElementNS(tn,e):document.createElement(e,{is:n})}function sn(e,t){const n=x(e);return x(()=>{const s=n();switch(typeof s){case"function":return P(()=>s(t));case"string":const r=jt.has(s),l=d.context?Qt():nn(s,r,P(()=>t.is));return Xt(l,t,r),l}})}function An(e){const[,t]=Dt(e,["component"]);return sn(()=>e.component,t)}var ut=tt(void 0),ft=tt(void 0),Tn=()=>{const e=bt(ft);if(!e)throw new Error("useDevtoolsOnClose must be used within a TanStackRouterDevtools component");return e},H,K,q,X,W,fe,de,he,Y,_,z,ge,Xe,on=(Xe=class{constructor(e){p(this,H);p(this,K);p(this,q);p(this,X);p(this,W);p(this,fe);p(this,de);p(this,he);p(this,Y);p(this,_,!1);p(this,z);p(this,ge);m(this,H,D(e.router)),m(this,K,D(e.routerState)),m(this,q,e.position??"bottom-left"),m(this,X,e.initialIsOpen??!1),m(this,W,e.shadowDOMTarget),m(this,fe,e.panelProps),m(this,de,e.closeButtonProps),m(this,he,e.toggleButtonProps),m(this,Y,e.containerElement)}mount(e){if(y(this,_))throw new Error("Devtools is already mounted");const t=ct(()=>{const[n]=y(this,H),[s]=y(this,K),r=y(this,q),l=y(this,X),i=y(this,W),o=y(this,fe),a=y(this,de),f=y(this,he),u=y(this,Y);let c;return y(this,z)?c=y(this,z):(c=lt(()=>Ye(()=>import("./FloatingTanStackRouterDevtools-CqogiFob-CEzhHBdz.js"),__vite__mapDeps([0,1,2,3]))),m(this,z,c)),ae(ut.Provider,{value:i,get children(){return ae(c,{position:r,initialIsOpen:l,router:n,routerState:s,shadowDOMTarget:i,panelProps:o,closeButtonProps:a,toggleButtonProps:f,containerElement:u})}})},e);m(this,_,!0),m(this,ge,t)}unmount(){var e;if(!y(this,_))throw new Error("Devtools is not mounted");(e=y(this,ge))==null||e.call(this),m(this,_,!1)}setRouter(e){y(this,H)[1](e)}setRouterState(e){y(this,K)[1](e)}setOptions(e){e.position!==void 0&&m(this,q,e.position),e.initialIsOpen!==void 0&&m(this,X,e.initialIsOpen),e.shadowDOMTarget!==void 0&&m(this,W,e.shadowDOMTarget),e.containerElement!==void 0&&m(this,Y,e.containerElement)}},H=new WeakMap,K=new WeakMap,q=new WeakMap,X=new WeakMap,W=new WeakMap,fe=new WeakMap,de=new WeakMap,he=new WeakMap,Y=new WeakMap,_=new WeakMap,z=new WeakMap,ge=new WeakMap,Xe),Q,J,Z,ee,te,F,ye,me,ne,We,rn=(We=class{constructor(e){p(this,Q);p(this,J);p(this,Z);p(this,ee);p(this,te);p(this,F,!1);p(this,ye);p(this,me);p(this,ne);const{router:t,routerState:n,shadowDOMTarget:s,setIsOpen:r,style:l,className:i}=e;m(this,Q,D(t)),m(this,J,D(n)),m(this,Z,D(l)),m(this,ee,D(i)),m(this,te,s),m(this,ye,r)}mount(e){if(y(this,F))throw new Error("Devtools is already mounted");const t=ct(()=>{const[n]=y(this,Q),[s]=y(this,J),[r]=y(this,Z),[l]=y(this,ee),i=y(this,te),o=y(this,ye);let a;return y(this,ne)?a=y(this,ne):(a=lt(()=>Ye(()=>import("./BaseTanStackRouterDevtoolsPanel-B-iktbLX-DrUBXr8b.js"),__vite__mapDeps([1,2,3]))),m(this,ne,a)),ae(ut.Provider,{value:i,get children(){return ae(ft.Provider,{value:{onCloseClick:()=>{}},get children(){return ae(a,{router:n,routerState:s,shadowDOMTarget:i,setIsOpen:o,style:r,className:l})}})}})},e);m(this,F,!0),m(this,me,t)}unmount(){var e;if(!y(this,F))throw new Error("Devtools is not mounted");(e=y(this,me))==null||e.call(this),m(this,F,!1)}setRouter(e){y(this,Q)[1](e)}setRouterState(e){y(this,J)[1](e)}setStyle(e){y(this,Z)[1](e)}setClassName(e){y(this,ee)[1](e)}setOptions(e){e.shadowDOMTarget!==void 0&&m(this,te,e.shadowDOMTarget),e.router!==void 0&&this.setRouter(e.router),e.routerState!==void 0&&this.setRouterState(e.routerState),e.style!==void 0&&this.setStyle(e.style),e.className!==void 0&&this.setClassName(e.className)}},Q=new WeakMap,J=new WeakMap,Z=new WeakMap,ee=new WeakMap,te=new WeakMap,F=new WeakMap,ye=new WeakMap,me=new WeakMap,ne=new WeakMap,We);function ln(e){const{initialIsOpen:t,panelProps:n,closeButtonProps:s,toggleButtonProps:r,position:l,containerElement:i,shadowDOMTarget:o,router:a}=e,f=ze(),u=a??f,c=Qe({router:u}),h=C.useRef(null),[g]=C.useState(()=>new on({initialIsOpen:t,panelProps:n,closeButtonProps:s,toggleButtonProps:r,position:l,containerElement:i,shadowDOMTarget:o,router:u,routerState:c}));return C.useEffect(()=>{g.setRouter(u)},[g,u]),C.useEffect(()=>{g.setRouterState(c)},[g,c]),C.useEffect(()=>{g.setOptions({initialIsOpen:t,panelProps:n,closeButtonProps:s,toggleButtonProps:r,position:l,containerElement:i,shadowDOMTarget:o})},[g,t,n,s,r,l,i,o]),C.useEffect(()=>(h.current&&g.mount(h.current),()=>{g.unmount()}),[g]),le.jsx(C.Fragment,{children:le.jsx("div",{ref:h})})}var an=e=>{const{router:t,...n}=e,s=ze(),r=t??s,l=Qe({router:r}),i=C.useRef(null),[o]=C.useState(()=>new rn({...n,router:r,routerState:l}));return C.useEffect(()=>{o.setRouter(r)},[o,r]),C.useEffect(()=>{o.setRouterState(l)},[o,l]),C.useEffect(()=>{o.setOptions({className:e.className,style:e.style,shadowDOMTarget:e.shadowDOMTarget})},[o,e.className,e.style,e.shadowDOMTarget]),C.useEffect(()=>(i.current&&o.mount(i.current),()=>{o.unmount()}),[o]),le.jsx(le.Fragment,{children:le.jsx("div",{ref:i})})},cn=function(){return null},un=ln,fn=function(){return null},dn=an;const Cn=Object.freeze(Object.defineProperty({__proto__:null,TanStackRouterDevtools:cn,TanStackRouterDevtoolsInProd:un,TanStackRouterDevtoolsPanel:fn,TanStackRouterDevtoolsPanelInProd:dn},Symbol.toStringTag,{value:"Module"}));export{ft as D,bn as F,En as M,xn as S,yn as a,x as b,D as c,ae as d,V as e,Gt as f,An as g,pn as h,Yt as i,$e as j,Ht as k,On as l,vn as m,bt as n,Sn as o,vt as p,P as q,ut as r,Xt as s,Pn as t,Tn as u,Vt as v,Cn as w};