neogrok 0.0.1 → 0.0.2

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 (90) hide show
  1. package/README.md +1 -0
  2. package/build/client/_app/immutable/assets/0.5df5b886.css.gz +0 -0
  3. package/build/client/_app/immutable/assets/_layout.bb9a93e0.css.gz +0 -0
  4. package/build/client/_app/immutable/chunks/5.4ed993c7.js.gz +0 -0
  5. package/build/client/_app/immutable/chunks/each.ece37974.js.gz +0 -0
  6. package/build/client/_app/immutable/chunks/example-query.ac8ef50a.js.gz +0 -0
  7. package/build/client/_app/immutable/chunks/index.81a0017d.js.gz +0 -0
  8. package/build/client/_app/immutable/chunks/index.d0e6da70.js.gz +0 -0
  9. package/build/client/_app/immutable/chunks/input-colors.e7674f0c.js.gz +0 -0
  10. package/build/client/_app/immutable/chunks/integer-input.e86d05ad.js.gz +0 -0
  11. package/build/client/_app/immutable/chunks/link.70630bff.js.gz +0 -0
  12. package/build/client/_app/immutable/chunks/preferences.e389d16d.js.gz +0 -0
  13. package/build/client/_app/immutable/chunks/regexp.50bc0e87.js.gz +0 -0
  14. package/build/client/_app/immutable/chunks/scheduler.80902d3b.js.gz +0 -0
  15. package/build/client/_app/immutable/chunks/{singletons.a17b5cab.js → singletons.1b4af557.js} +1 -1
  16. package/build/client/_app/immutable/chunks/singletons.1b4af557.js.br +0 -0
  17. package/build/client/_app/immutable/chunks/singletons.1b4af557.js.gz +0 -0
  18. package/build/client/_app/immutable/chunks/{stores.a4da01c2.js → stores.3502de9e.js} +1 -1
  19. package/build/client/_app/immutable/chunks/stores.3502de9e.js.br +0 -0
  20. package/build/client/_app/immutable/chunks/stores.3502de9e.js.gz +0 -0
  21. package/build/client/_app/immutable/chunks/{toggle-search-type.f1a3061d.js → toggle-search-type.0b816276.js} +1 -1
  22. package/build/client/_app/immutable/chunks/toggle-search-type.0b816276.js.br +0 -0
  23. package/build/client/_app/immutable/chunks/toggle-search-type.0b816276.js.gz +0 -0
  24. package/build/client/_app/immutable/entry/{app.4673b9f2.js → app.81912587.js} +1 -1
  25. package/build/client/_app/immutable/entry/app.81912587.js.br +0 -0
  26. package/build/client/_app/immutable/entry/app.81912587.js.gz +0 -0
  27. package/build/client/_app/immutable/entry/start.27fae548.js +3 -0
  28. package/build/client/_app/immutable/entry/start.27fae548.js.br +0 -0
  29. package/build/client/_app/immutable/entry/start.27fae548.js.gz +0 -0
  30. package/build/client/_app/immutable/nodes/{0.529467ca.js → 0.1f0e3135.js} +1 -1
  31. package/build/client/_app/immutable/nodes/0.1f0e3135.js.br +0 -0
  32. package/build/client/_app/immutable/nodes/0.1f0e3135.js.gz +0 -0
  33. package/build/client/_app/immutable/nodes/{1.abd8d795.js → 1.c155b318.js} +1 -1
  34. package/build/client/_app/immutable/nodes/1.c155b318.js.br +0 -0
  35. package/build/client/_app/immutable/nodes/1.c155b318.js.gz +0 -0
  36. package/build/client/_app/immutable/nodes/{10.28836ccc.js → 10.de18a1bc.js} +1 -1
  37. package/build/client/_app/immutable/nodes/10.de18a1bc.js.br +0 -0
  38. package/build/client/_app/immutable/nodes/10.de18a1bc.js.gz +0 -0
  39. package/build/client/_app/immutable/nodes/11.93ac6006.js.gz +0 -0
  40. package/build/client/_app/immutable/nodes/12.67089c6b.js.gz +0 -0
  41. package/build/client/_app/immutable/nodes/{13.418c6178.js → 13.e17c762c.js} +1 -1
  42. package/build/client/_app/immutable/nodes/13.e17c762c.js.br +0 -0
  43. package/build/client/_app/immutable/nodes/13.e17c762c.js.gz +0 -0
  44. package/build/client/_app/immutable/nodes/14.40bc0592.js.gz +0 -0
  45. package/build/client/_app/immutable/nodes/2.08d89d34.js.gz +0 -0
  46. package/build/client/_app/immutable/nodes/3.a382d3d5.js.gz +0 -0
  47. package/build/client/_app/immutable/nodes/4.37e53904.js.gz +0 -0
  48. package/build/client/_app/immutable/nodes/6.6cd1e711.js.gz +0 -0
  49. package/build/client/_app/immutable/nodes/7.b6576b19.js.gz +0 -0
  50. package/build/client/_app/immutable/nodes/8.b18d1c14.js.gz +0 -0
  51. package/build/client/_app/immutable/nodes/9.b3dcb728.js.gz +0 -0
  52. package/build/client/_app/version.json +1 -1
  53. package/build/client/_app/version.json.br +0 -0
  54. package/build/client/_app/version.json.gz +0 -0
  55. package/build/server/chunks/{0-040b7d6d.js → 0-0ebfe3ce.js} +2 -2
  56. package/build/server/chunks/{0-040b7d6d.js.map → 0-0ebfe3ce.js.map} +1 -1
  57. package/build/server/chunks/{1-5c251174.js → 1-807c2e3e.js} +2 -2
  58. package/build/server/chunks/{1-5c251174.js.map → 1-807c2e3e.js.map} +1 -1
  59. package/build/server/chunks/{10-f6f67083.js → 10-6d665f66.js} +3 -3
  60. package/build/server/chunks/{10-f6f67083.js.map → 10-6d665f66.js.map} +1 -1
  61. package/build/server/chunks/{13-7237c6c6.js → 13-e7812c2c.js} +3 -3
  62. package/build/server/chunks/{13-7237c6c6.js.map → 13-e7812c2c.js.map} +1 -1
  63. package/build/server/chunks/{_page.svelte-7848979a.js → _page.svelte-c73a02b2.js} +2 -2
  64. package/build/server/chunks/{_page.svelte-7848979a.js.map → _page.svelte-c73a02b2.js.map} +1 -1
  65. package/build/server/chunks/{_page.svelte-cf45c2db.js → _page.svelte-f894f909.js} +2 -2
  66. package/build/server/chunks/{_page.svelte-cf45c2db.js.map → _page.svelte-f894f909.js.map} +1 -1
  67. package/build/server/index.js +1 -1
  68. package/build/server/index.js.map +1 -1
  69. package/build/server/manifest.js +7 -7
  70. package/build/server/manifest.js.map +1 -1
  71. package/package.json +9 -4
  72. package/build/client/_app/immutable/chunks/singletons.a17b5cab.js.br +0 -0
  73. package/build/client/_app/immutable/chunks/singletons.a17b5cab.js.gz +0 -0
  74. package/build/client/_app/immutable/chunks/stores.a4da01c2.js.br +0 -0
  75. package/build/client/_app/immutable/chunks/stores.a4da01c2.js.gz +0 -0
  76. package/build/client/_app/immutable/chunks/toggle-search-type.f1a3061d.js.br +0 -0
  77. package/build/client/_app/immutable/chunks/toggle-search-type.f1a3061d.js.gz +0 -0
  78. package/build/client/_app/immutable/entry/app.4673b9f2.js.br +0 -0
  79. package/build/client/_app/immutable/entry/app.4673b9f2.js.gz +0 -0
  80. package/build/client/_app/immutable/entry/start.6bed40d3.js +0 -3
  81. package/build/client/_app/immutable/entry/start.6bed40d3.js.br +0 -0
  82. package/build/client/_app/immutable/entry/start.6bed40d3.js.gz +0 -0
  83. package/build/client/_app/immutable/nodes/0.529467ca.js.br +0 -0
  84. package/build/client/_app/immutable/nodes/0.529467ca.js.gz +0 -0
  85. package/build/client/_app/immutable/nodes/1.abd8d795.js.br +0 -5
  86. package/build/client/_app/immutable/nodes/1.abd8d795.js.gz +0 -0
  87. package/build/client/_app/immutable/nodes/10.28836ccc.js.br +0 -0
  88. package/build/client/_app/immutable/nodes/10.28836ccc.js.gz +0 -0
  89. package/build/client/_app/immutable/nodes/13.418c6178.js.br +0 -0
  90. package/build/client/_app/immutable/nodes/13.418c6178.js.gz +0 -0
package/README.md CHANGED
@@ -21,6 +21,7 @@ but the relevant commands may change in the future, whereas `npm run start` will
21
21
  not.
22
22
 
23
23
  ## Deploying
24
+
24
25
  The demo deployment is configured [in this repository](./demo). This configuration
25
26
  can serve as a guide for your own deployments of neogrok together with zoekt.
26
27
 
@@ -1 +1 @@
1
- import{w as u}from"./index.81a0017d.js";var p;const k=((p=globalThis.__sveltekit_c2rxq4)==null?void 0:p.base)??"";var h;const m=((h=globalThis.__sveltekit_c2rxq4)==null?void 0:h.assets)??k,w="1697395981971",T="sveltekit:snapshot",x="sveltekit:scroll",y="sveltekit:index",f={tap:1,hover:2,viewport:3,eager:4,off:-1};function I(e){let t=e.baseURI;if(!t){const n=e.getElementsByTagName("base");t=n.length?n[0].href:e.URL}return t}function S(){return{x:pageXOffset,y:pageYOffset}}function c(e,t){return e.getAttribute(`data-sveltekit-${t}`)}const d={...f,"":f.hover};function g(e){let t=e.assignedSlot??e.parentNode;return(t==null?void 0:t.nodeType)===11&&(t=t.host),t}function O(e,t){for(;e&&e!==t;){if(e.nodeName.toUpperCase()==="A"&&e.hasAttribute("href"))return e;e=g(e)}}function U(e,t){let n;try{n=new URL(e instanceof SVGAElement?e.href.baseVal:e.href,document.baseURI)}catch{}const o=e instanceof SVGAElement?e.target.baseVal:e.target,r=!n||!!o||A(n,t)||(e.getAttribute("rel")||"").split(/\s+/).includes("external"),l=(n==null?void 0:n.origin)===location.origin&&e.hasAttribute("download");return{url:n,external:r,target:o,download:l}}function L(e){let t=null,n=null,o=null,r=null,l=null,a=null,s=e;for(;s&&s!==document.documentElement;)o===null&&(o=c(s,"preload-code")),r===null&&(r=c(s,"preload-data")),t===null&&(t=c(s,"keepfocus")),n===null&&(n=c(s,"noscroll")),l===null&&(l=c(s,"reload")),a===null&&(a=c(s,"replacestate")),s=g(s);function i(v){switch(v){case"":case"true":return!0;case"off":case"false":return!1;default:return null}}return{preload_code:d[o??"off"],preload_data:d[r??"off"],keep_focus:i(t),noscroll:i(n),reload:i(l),replace_state:i(a)}}function _(e){const t=u(e);let n=!0;function o(){n=!0,t.update(a=>a)}function r(a){n=!1,t.set(a)}function l(a){let s;return t.subscribe(i=>{(s===void 0||n&&i!==s)&&a(s=i)})}return{notify:o,set:r,subscribe:l}}function E(){const{set:e,subscribe:t}=u(!1);let n;async function o(){clearTimeout(n);try{const r=await fetch(`${m}/_app/version.json`,{headers:{pragma:"no-cache","cache-control":"no-cache"}});if(!r.ok)return!1;const a=(await r.json()).version!==w;return a&&(e(!0),clearTimeout(n)),a}catch{return!1}}return{subscribe:t,check:o}}function A(e,t){return e.origin!==location.origin||!e.pathname.startsWith(t)}let b;function N(e){b=e.client}function P(e){return(...t)=>b[e](...t)}const V={url:_({}),page:_({}),navigating:u(null),updated:E()};export{y as I,f as P,x as S,T as a,U as b,P as c,L as d,S as e,O as f,I as g,k as h,A as i,N as j,V as s};
1
+ import{w as u}from"./index.81a0017d.js";var p;const k=((p=globalThis.__sveltekit_uc4j04)==null?void 0:p.base)??"";var h;const m=((h=globalThis.__sveltekit_uc4j04)==null?void 0:h.assets)??k,w="1697860072300",T="sveltekit:snapshot",y="sveltekit:scroll",I="sveltekit:index",f={tap:1,hover:2,viewport:3,eager:4,off:-1};function S(e){let t=e.baseURI;if(!t){const n=e.getElementsByTagName("base");t=n.length?n[0].href:e.URL}return t}function x(){return{x:pageXOffset,y:pageYOffset}}function c(e,t){return e.getAttribute(`data-sveltekit-${t}`)}const d={...f,"":f.hover};function g(e){let t=e.assignedSlot??e.parentNode;return(t==null?void 0:t.nodeType)===11&&(t=t.host),t}function O(e,t){for(;e&&e!==t;){if(e.nodeName.toUpperCase()==="A"&&e.hasAttribute("href"))return e;e=g(e)}}function U(e,t){let n;try{n=new URL(e instanceof SVGAElement?e.href.baseVal:e.href,document.baseURI)}catch{}const o=e instanceof SVGAElement?e.target.baseVal:e.target,r=!n||!!o||A(n,t)||(e.getAttribute("rel")||"").split(/\s+/).includes("external"),l=(n==null?void 0:n.origin)===location.origin&&e.hasAttribute("download");return{url:n,external:r,target:o,download:l}}function j(e){let t=null,n=null,o=null,r=null,l=null,a=null,s=e;for(;s&&s!==document.documentElement;)o===null&&(o=c(s,"preload-code")),r===null&&(r=c(s,"preload-data")),t===null&&(t=c(s,"keepfocus")),n===null&&(n=c(s,"noscroll")),l===null&&(l=c(s,"reload")),a===null&&(a=c(s,"replacestate")),s=g(s);function i(v){switch(v){case"":case"true":return!0;case"off":case"false":return!1;default:return null}}return{preload_code:d[o??"off"],preload_data:d[r??"off"],keep_focus:i(t),noscroll:i(n),reload:i(l),replace_state:i(a)}}function _(e){const t=u(e);let n=!0;function o(){n=!0,t.update(a=>a)}function r(a){n=!1,t.set(a)}function l(a){let s;return t.subscribe(i=>{(s===void 0||n&&i!==s)&&a(s=i)})}return{notify:o,set:r,subscribe:l}}function E(){const{set:e,subscribe:t}=u(!1);let n;async function o(){clearTimeout(n);try{const r=await fetch(`${m}/_app/version.json`,{headers:{pragma:"no-cache","cache-control":"no-cache"}});if(!r.ok)return!1;const a=(await r.json()).version!==w;return a&&(e(!0),clearTimeout(n)),a}catch{return!1}}return{subscribe:t,check:o}}function A(e,t){return e.origin!==location.origin||!e.pathname.startsWith(t)}let b;function L(e){b=e.client}function N(e){return(...t)=>b[e](...t)}const P={url:_({}),page:_({}),navigating:u(null),updated:E()};export{I,f as P,y as S,T as a,U as b,N as c,j as d,x as e,O as f,S as g,k as h,A as i,L as j,P as s};
@@ -1 +1 @@
1
- import{s as r}from"./singletons.a17b5cab.js";const e=()=>{const s=r;return{page:{subscribe:s.page.subscribe},navigating:{subscribe:s.navigating.subscribe},updated:s.updated}},a={subscribe(s){return e().page.subscribe(s)}},i={subscribe(s){return e().navigating.subscribe(s)}};export{i as n,a as p};
1
+ import{s as r}from"./singletons.1b4af557.js";const e=()=>{const s=r;return{page:{subscribe:s.page.subscribe},navigating:{subscribe:s.navigating.subscribe},updated:s.updated}},a={subscribe(s){return e().page.subscribe(s)}},i={subscribe(s){return e().navigating.subscribe(s)}};export{i as n,a as p};
@@ -1 +1 @@
1
- import{c as M}from"./singletons.a17b5cab.js";import{n as W,k as H,a2 as d,a3 as J,J as k,a4 as O,a as T,d as g,a5 as v,i as z,g as Q,u as P,r as U,v as D,H as R,a6 as E,a7 as N,e as V,c as X,f as b,q as Y,j as $,a8 as x}from"./scheduler.80902d3b.js";import{S as j,i as q,t as S,b as p,c as F,a as G,m as K,d as L}from"./index.d0e6da70.js";import{d as ee}from"./preferences.e389d16d.js";import{e as I}from"./each.ece37974.js";function y(o,e){const n={},l={},t={$$scope:1};let s=o.length;for(;s--;){const a=o[s],r=e[s];if(r){for(const u in a)u in r||(l[u]=1);for(const u in r)t[u]||(n[u]=r[u],t[u]=1);o[s]=r}else for(const u in a)t[u]=1}for(const a in l)a in n||(n[a]=void 0);return n}function te(o){return typeof o=="object"&&o!==null?o:{}}const ke=M("goto"),B={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":2,"stroke-linecap":"round","stroke-linejoin":"round"};function Z(o,e,n){const l=o.slice();return l[10]=e[n][0],l[11]=e[n][1],l}function w(o){let e,n=[o[11]],l={};for(let t=0;t<n.length;t+=1)l=d(l,n[t]);return{c(){e=J(o[10]),this.h()},l(t){e=O(t,o[10],{}),T(e).forEach(g),this.h()},h(){v(e,l)},m(t,s){z(t,e,s)},p(t,s){v(e,l=y(n,[s&32&&t[11]]))},d(t){t&&g(e)}}}function A(o){let e=o[10],n,l=o[10]&&w(o);return{c(){l&&l.c(),n=k()},l(t){l&&l.l(t),n=k()},m(t,s){l&&l.m(t,s),z(t,n,s)},p(t,s){t[10]?e?W(e,t[10])?(l.d(1),l=w(t),e=t[10],l.c(),l.m(n.parentNode,n)):l.p(t,s):(l=w(t),e=t[10],l.c(),l.m(n.parentNode,n)):e&&(l.d(1),l=null,e=t[10])},d(t){t&&g(n),l&&l.d(t)}}}function le(o){let e,n,l,t,s,a=I(o[5]),r=[];for(let i=0;i<a.length;i+=1)r[i]=A(Z(o,a,i));const u=o[9].default,f=H(u,o,o[8],null);let _=[B,o[6],{width:o[2]},{height:o[2]},{stroke:o[1]},{"stroke-width":l=o[4]?Number(o[3])*24/Number(o[2]):o[3]},{class:t=`lucide-icon lucide lucide-${o[0]} ${o[7].class??""}`}],m={};for(let i=0;i<_.length;i+=1)m=d(m,_[i]);return{c(){e=J("svg");for(let i=0;i<r.length;i+=1)r[i].c();n=k(),f&&f.c(),this.h()},l(i){e=O(i,"svg",{width:!0,height:!0,stroke:!0,"stroke-width":!0,class:!0});var c=T(e);for(let h=0;h<r.length;h+=1)r[h].l(c);n=k(),f&&f.l(c),c.forEach(g),this.h()},h(){v(e,m)},m(i,c){z(i,e,c);for(let h=0;h<r.length;h+=1)r[h]&&r[h].m(e,null);Q(e,n),f&&f.m(e,null),s=!0},p(i,[c]){if(c&32){a=I(i[5]);let h;for(h=0;h<a.length;h+=1){const C=Z(i,a,h);r[h]?r[h].p(C,c):(r[h]=A(C),r[h].c(),r[h].m(e,n))}for(;h<r.length;h+=1)r[h].d(1);r.length=a.length}f&&f.p&&(!s||c&256)&&P(f,u,i,i[8],s?D(u,i[8],c,null):U(i[8]),null),v(e,m=y(_,[B,c&64&&i[6],(!s||c&4)&&{width:i[2]},(!s||c&4)&&{height:i[2]},(!s||c&2)&&{stroke:i[1]},(!s||c&28&&l!==(l=i[4]?Number(i[3])*24/Number(i[2]):i[3]))&&{"stroke-width":l},(!s||c&129&&t!==(t=`lucide-icon lucide lucide-${i[0]} ${i[7].class??""}`))&&{class:t}]))},i(i){s||(S(f,i),s=!0)},o(i){p(f,i),s=!1},d(i){i&&g(e),R(r,i),f&&f.d(i)}}}function se(o,e,n){const l=["name","color","size","strokeWidth","absoluteStrokeWidth","iconNode"];let t=E(e,l),{$$slots:s={},$$scope:a}=e,{name:r}=e,{color:u="currentColor"}=e,{size:f=24}=e,{strokeWidth:_=2}=e,{absoluteStrokeWidth:m=!1}=e,{iconNode:i}=e;return o.$$set=c=>{n(7,e=d(d({},e),N(c))),n(6,t=E(e,l)),"name"in c&&n(0,r=c.name),"color"in c&&n(1,u=c.color),"size"in c&&n(2,f=c.size),"strokeWidth"in c&&n(3,_=c.strokeWidth),"absoluteStrokeWidth"in c&&n(4,m=c.absoluteStrokeWidth),"iconNode"in c&&n(5,i=c.iconNode),"$$scope"in c&&n(8,a=c.$$scope)},e=N(e),[r,u,f,_,m,i,t,e,a,s]}class ne extends j{constructor(e){super(),q(this,e,se,le,W,{name:0,color:1,size:2,strokeWidth:3,absoluteStrokeWidth:4,iconNode:5})}}const oe=ne;function ie(o){let e;const n=o[2].default,l=H(n,o,o[3],null);return{c(){l&&l.c()},l(t){l&&l.l(t)},m(t,s){l&&l.m(t,s),e=!0},p(t,s){l&&l.p&&(!e||s&8)&&P(l,n,t,t[3],e?D(n,t[3],s,null):U(t[3]),null)},i(t){e||(S(l,t),e=!0)},o(t){p(l,t),e=!1},d(t){l&&l.d(t)}}}function ae(o){let e,n;const l=[{name:"zap"},o[1],{iconNode:o[0]}];let t={$$slots:{default:[ie]},$$scope:{ctx:o}};for(let s=0;s<l.length;s+=1)t=d(t,l[s]);return e=new oe({props:t}),{c(){F(e.$$.fragment)},l(s){G(e.$$.fragment,s)},m(s,a){K(e,s,a),n=!0},p(s,[a]){const r=a&3?y(l,[l[0],a&2&&te(s[1]),a&1&&{iconNode:s[0]}]):{};a&8&&(r.$$scope={dirty:a,ctx:s}),e.$set(r)},i(s){n||(S(e.$$.fragment,s),n=!0)},o(s){p(e.$$.fragment,s),n=!1},d(s){L(e,s)}}}function re(o,e,n){let{$$slots:l={},$$scope:t}=e;const s=[["polygon",{points:"13 2 3 14 12 14 11 22 21 10 12 10 13 2"}]];return o.$$set=a=>{n(1,e=d(d({},e),N(a))),"$$scope"in a&&n(3,t=a.$$scope)},e=N(e),[s,e,l,t]}class ce extends j{constructor(e){super(),q(this,e,re,ae,W,{})}}const ue=ce;function fe(o){let e,n,l,t,s,a,r;return n=new ue({props:{class:"inline",size:18,color:o[0]==="live"?"white":"black",strokeWidth:1,fill:o[0]==="live"?"white":"black"}}),{c(){e=V("button"),F(n.$$.fragment),this.h()},l(u){e=X(u,"BUTTON",{class:!0,title:!0});var f=T(e);G(n.$$.fragment,f),f.forEach(g),this.h()},h(){b(e,"class",l=`rounded w-6 grid place-items-center ${o[0]==="live"?"bg-sky-500 hover:bg-slate-500":"hover:bg-slate-300"}`),b(e,"title",t=o[0]==="live"?"disable live search":"enable live search")},m(u,f){z(u,e,f),K(n,e,null),s=!0,a||(r=Y(e,"click",o[2]),a=!0)},p(u,[f]){const _={};f&1&&(_.color=u[0]==="live"?"white":"black"),f&1&&(_.fill=u[0]==="live"?"white":"black"),n.$set(_),(!s||f&1&&l!==(l=`rounded w-6 grid place-items-center ${u[0]==="live"?"bg-sky-500 hover:bg-slate-500":"hover:bg-slate-300"}`))&&b(e,"class",l),(!s||f&1&&t!==(t=u[0]==="live"?"disable live search":"enable live search"))&&b(e,"title",t)},i(u){s||(S(n.$$.fragment,u),s=!0)},o(u){p(n.$$.fragment,u),s=!1},d(u){u&&g(e),L(n),a=!1,r()}}}function he(o,e,n){let l;const t=ee();return $(o,t,a=>n(0,l=a)),[l,t,()=>{x(t,l=l==="live"?"manual":"live",l)}]}class ve extends j{constructor(e){super(),q(this,e,he,fe,W,{})}}export{oe as I,ve as T,y as a,te as b,ke as g};
1
+ import{c as M}from"./singletons.1b4af557.js";import{n as W,k as H,a2 as d,a3 as J,J as k,a4 as O,a as T,d as g,a5 as v,i as z,g as Q,u as P,r as U,v as D,H as R,a6 as E,a7 as N,e as V,c as X,f as b,q as Y,j as $,a8 as x}from"./scheduler.80902d3b.js";import{S as j,i as q,t as S,b as p,c as F,a as G,m as K,d as L}from"./index.d0e6da70.js";import{d as ee}from"./preferences.e389d16d.js";import{e as I}from"./each.ece37974.js";function y(o,e){const n={},l={},t={$$scope:1};let s=o.length;for(;s--;){const a=o[s],r=e[s];if(r){for(const u in a)u in r||(l[u]=1);for(const u in r)t[u]||(n[u]=r[u],t[u]=1);o[s]=r}else for(const u in a)t[u]=1}for(const a in l)a in n||(n[a]=void 0);return n}function te(o){return typeof o=="object"&&o!==null?o:{}}const ke=M("goto"),B={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":2,"stroke-linecap":"round","stroke-linejoin":"round"};function Z(o,e,n){const l=o.slice();return l[10]=e[n][0],l[11]=e[n][1],l}function w(o){let e,n=[o[11]],l={};for(let t=0;t<n.length;t+=1)l=d(l,n[t]);return{c(){e=J(o[10]),this.h()},l(t){e=O(t,o[10],{}),T(e).forEach(g),this.h()},h(){v(e,l)},m(t,s){z(t,e,s)},p(t,s){v(e,l=y(n,[s&32&&t[11]]))},d(t){t&&g(e)}}}function A(o){let e=o[10],n,l=o[10]&&w(o);return{c(){l&&l.c(),n=k()},l(t){l&&l.l(t),n=k()},m(t,s){l&&l.m(t,s),z(t,n,s)},p(t,s){t[10]?e?W(e,t[10])?(l.d(1),l=w(t),e=t[10],l.c(),l.m(n.parentNode,n)):l.p(t,s):(l=w(t),e=t[10],l.c(),l.m(n.parentNode,n)):e&&(l.d(1),l=null,e=t[10])},d(t){t&&g(n),l&&l.d(t)}}}function le(o){let e,n,l,t,s,a=I(o[5]),r=[];for(let i=0;i<a.length;i+=1)r[i]=A(Z(o,a,i));const u=o[9].default,f=H(u,o,o[8],null);let _=[B,o[6],{width:o[2]},{height:o[2]},{stroke:o[1]},{"stroke-width":l=o[4]?Number(o[3])*24/Number(o[2]):o[3]},{class:t=`lucide-icon lucide lucide-${o[0]} ${o[7].class??""}`}],m={};for(let i=0;i<_.length;i+=1)m=d(m,_[i]);return{c(){e=J("svg");for(let i=0;i<r.length;i+=1)r[i].c();n=k(),f&&f.c(),this.h()},l(i){e=O(i,"svg",{width:!0,height:!0,stroke:!0,"stroke-width":!0,class:!0});var c=T(e);for(let h=0;h<r.length;h+=1)r[h].l(c);n=k(),f&&f.l(c),c.forEach(g),this.h()},h(){v(e,m)},m(i,c){z(i,e,c);for(let h=0;h<r.length;h+=1)r[h]&&r[h].m(e,null);Q(e,n),f&&f.m(e,null),s=!0},p(i,[c]){if(c&32){a=I(i[5]);let h;for(h=0;h<a.length;h+=1){const C=Z(i,a,h);r[h]?r[h].p(C,c):(r[h]=A(C),r[h].c(),r[h].m(e,n))}for(;h<r.length;h+=1)r[h].d(1);r.length=a.length}f&&f.p&&(!s||c&256)&&P(f,u,i,i[8],s?D(u,i[8],c,null):U(i[8]),null),v(e,m=y(_,[B,c&64&&i[6],(!s||c&4)&&{width:i[2]},(!s||c&4)&&{height:i[2]},(!s||c&2)&&{stroke:i[1]},(!s||c&28&&l!==(l=i[4]?Number(i[3])*24/Number(i[2]):i[3]))&&{"stroke-width":l},(!s||c&129&&t!==(t=`lucide-icon lucide lucide-${i[0]} ${i[7].class??""}`))&&{class:t}]))},i(i){s||(S(f,i),s=!0)},o(i){p(f,i),s=!1},d(i){i&&g(e),R(r,i),f&&f.d(i)}}}function se(o,e,n){const l=["name","color","size","strokeWidth","absoluteStrokeWidth","iconNode"];let t=E(e,l),{$$slots:s={},$$scope:a}=e,{name:r}=e,{color:u="currentColor"}=e,{size:f=24}=e,{strokeWidth:_=2}=e,{absoluteStrokeWidth:m=!1}=e,{iconNode:i}=e;return o.$$set=c=>{n(7,e=d(d({},e),N(c))),n(6,t=E(e,l)),"name"in c&&n(0,r=c.name),"color"in c&&n(1,u=c.color),"size"in c&&n(2,f=c.size),"strokeWidth"in c&&n(3,_=c.strokeWidth),"absoluteStrokeWidth"in c&&n(4,m=c.absoluteStrokeWidth),"iconNode"in c&&n(5,i=c.iconNode),"$$scope"in c&&n(8,a=c.$$scope)},e=N(e),[r,u,f,_,m,i,t,e,a,s]}class ne extends j{constructor(e){super(),q(this,e,se,le,W,{name:0,color:1,size:2,strokeWidth:3,absoluteStrokeWidth:4,iconNode:5})}}const oe=ne;function ie(o){let e;const n=o[2].default,l=H(n,o,o[3],null);return{c(){l&&l.c()},l(t){l&&l.l(t)},m(t,s){l&&l.m(t,s),e=!0},p(t,s){l&&l.p&&(!e||s&8)&&P(l,n,t,t[3],e?D(n,t[3],s,null):U(t[3]),null)},i(t){e||(S(l,t),e=!0)},o(t){p(l,t),e=!1},d(t){l&&l.d(t)}}}function ae(o){let e,n;const l=[{name:"zap"},o[1],{iconNode:o[0]}];let t={$$slots:{default:[ie]},$$scope:{ctx:o}};for(let s=0;s<l.length;s+=1)t=d(t,l[s]);return e=new oe({props:t}),{c(){F(e.$$.fragment)},l(s){G(e.$$.fragment,s)},m(s,a){K(e,s,a),n=!0},p(s,[a]){const r=a&3?y(l,[l[0],a&2&&te(s[1]),a&1&&{iconNode:s[0]}]):{};a&8&&(r.$$scope={dirty:a,ctx:s}),e.$set(r)},i(s){n||(S(e.$$.fragment,s),n=!0)},o(s){p(e.$$.fragment,s),n=!1},d(s){L(e,s)}}}function re(o,e,n){let{$$slots:l={},$$scope:t}=e;const s=[["polygon",{points:"13 2 3 14 12 14 11 22 21 10 12 10 13 2"}]];return o.$$set=a=>{n(1,e=d(d({},e),N(a))),"$$scope"in a&&n(3,t=a.$$scope)},e=N(e),[s,e,l,t]}class ce extends j{constructor(e){super(),q(this,e,re,ae,W,{})}}const ue=ce;function fe(o){let e,n,l,t,s,a,r;return n=new ue({props:{class:"inline",size:18,color:o[0]==="live"?"white":"black",strokeWidth:1,fill:o[0]==="live"?"white":"black"}}),{c(){e=V("button"),F(n.$$.fragment),this.h()},l(u){e=X(u,"BUTTON",{class:!0,title:!0});var f=T(e);G(n.$$.fragment,f),f.forEach(g),this.h()},h(){b(e,"class",l=`rounded w-6 grid place-items-center ${o[0]==="live"?"bg-sky-500 hover:bg-slate-500":"hover:bg-slate-300"}`),b(e,"title",t=o[0]==="live"?"disable live search":"enable live search")},m(u,f){z(u,e,f),K(n,e,null),s=!0,a||(r=Y(e,"click",o[2]),a=!0)},p(u,[f]){const _={};f&1&&(_.color=u[0]==="live"?"white":"black"),f&1&&(_.fill=u[0]==="live"?"white":"black"),n.$set(_),(!s||f&1&&l!==(l=`rounded w-6 grid place-items-center ${u[0]==="live"?"bg-sky-500 hover:bg-slate-500":"hover:bg-slate-300"}`))&&b(e,"class",l),(!s||f&1&&t!==(t=u[0]==="live"?"disable live search":"enable live search"))&&b(e,"title",t)},i(u){s||(S(n.$$.fragment,u),s=!0)},o(u){p(n.$$.fragment,u),s=!1},d(u){u&&g(e),L(n),a=!1,r()}}}function he(o,e,n){let l;const t=ee();return $(o,t,a=>n(0,l=a)),[l,t,()=>{x(t,l=l==="live"?"manual":"live",l)}]}class ve extends j{constructor(e){super(),q(this,e,he,fe,W,{})}}export{oe as I,ve as T,y as a,te as b,ke as g};
@@ -1 +1 @@
1
- import{n as U,l as q,J as p,o as J,i as w,d as g,K,L as M,e as W,c as z,a as F,f as T,M as R,t as G,b as H,s as Q,N as X,w as D,O as E}from"../chunks/scheduler.80902d3b.js";import{S as Y,i as Z,b as d,e as L,t as h,g as P,c as k,a as I,m as b,d as v}from"../chunks/index.d0e6da70.js";const x="modulepreload",ee=function(a,e){return new URL(a,e).href},A={},m=function(e,n,o){if(!n||n.length===0)return e();const i=document.getElementsByTagName("link");return Promise.all(n.map(f=>{if(f=ee(f,o),f in A)return;A[f]=!0;const t=f.endsWith(".css"),s=t?'[rel="stylesheet"]':"";if(!!o)for(let l=i.length-1;l>=0;l--){const u=i[l];if(u.href===f&&(!t||u.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${f}"]${s}`))return;const _=document.createElement("link");if(_.rel=t?"stylesheet":x,t||(_.as="script",_.crossOrigin=""),_.href=f,document.head.appendChild(_),t)return new Promise((l,u)=>{_.addEventListener("load",l),_.addEventListener("error",()=>u(new Error(`Unable to preload CSS for ${f}`)))})})).then(()=>e()).catch(f=>{const t=new Event("vite:preloadError",{cancelable:!0});if(t.payload=f,window.dispatchEvent(t),!t.defaultPrevented)throw f})},ce={};function te(a){let e,n,o;var i=a[1][0];function f(t,s){return{props:{data:t[3],form:t[2]}}}return i&&(e=E(i,f(a)),a[15](e)),{c(){e&&k(e.$$.fragment),n=p()},l(t){e&&I(e.$$.fragment,t),n=p()},m(t,s){e&&b(e,t,s),w(t,n,s),o=!0},p(t,s){if(s&2&&i!==(i=t[1][0])){if(e){P();const r=e;d(r.$$.fragment,1,0,()=>{v(r,1)}),L()}i?(e=E(i,f(t)),t[15](e),k(e.$$.fragment),h(e.$$.fragment,1),b(e,n.parentNode,n)):e=null}else if(i){const r={};s&8&&(r.data=t[3]),s&4&&(r.form=t[2]),e.$set(r)}},i(t){o||(e&&h(e.$$.fragment,t),o=!0)},o(t){e&&d(e.$$.fragment,t),o=!1},d(t){t&&g(n),a[15](null),e&&v(e,t)}}}function ne(a){let e,n,o;var i=a[1][0];function f(t,s){return{props:{data:t[3],$$slots:{default:[se]},$$scope:{ctx:t}}}}return i&&(e=E(i,f(a)),a[14](e)),{c(){e&&k(e.$$.fragment),n=p()},l(t){e&&I(e.$$.fragment,t),n=p()},m(t,s){e&&b(e,t,s),w(t,n,s),o=!0},p(t,s){if(s&2&&i!==(i=t[1][0])){if(e){P();const r=e;d(r.$$.fragment,1,0,()=>{v(r,1)}),L()}i?(e=E(i,f(t)),t[14](e),k(e.$$.fragment),h(e.$$.fragment,1),b(e,n.parentNode,n)):e=null}else if(i){const r={};s&8&&(r.data=t[3]),s&65591&&(r.$$scope={dirty:s,ctx:t}),e.$set(r)}},i(t){o||(e&&h(e.$$.fragment,t),o=!0)},o(t){e&&d(e.$$.fragment,t),o=!1},d(t){t&&g(n),a[14](null),e&&v(e,t)}}}function ie(a){let e,n,o;var i=a[1][1];function f(t,s){return{props:{data:t[4],form:t[2]}}}return i&&(e=E(i,f(a)),a[13](e)),{c(){e&&k(e.$$.fragment),n=p()},l(t){e&&I(e.$$.fragment,t),n=p()},m(t,s){e&&b(e,t,s),w(t,n,s),o=!0},p(t,s){if(s&2&&i!==(i=t[1][1])){if(e){P();const r=e;d(r.$$.fragment,1,0,()=>{v(r,1)}),L()}i?(e=E(i,f(t)),t[13](e),k(e.$$.fragment),h(e.$$.fragment,1),b(e,n.parentNode,n)):e=null}else if(i){const r={};s&16&&(r.data=t[4]),s&4&&(r.form=t[2]),e.$set(r)}},i(t){o||(e&&h(e.$$.fragment,t),o=!0)},o(t){e&&d(e.$$.fragment,t),o=!1},d(t){t&&g(n),a[13](null),e&&v(e,t)}}}function re(a){let e,n,o;var i=a[1][1];function f(t,s){return{props:{data:t[4],$$slots:{default:[oe]},$$scope:{ctx:t}}}}return i&&(e=E(i,f(a)),a[12](e)),{c(){e&&k(e.$$.fragment),n=p()},l(t){e&&I(e.$$.fragment,t),n=p()},m(t,s){e&&b(e,t,s),w(t,n,s),o=!0},p(t,s){if(s&2&&i!==(i=t[1][1])){if(e){P();const r=e;d(r.$$.fragment,1,0,()=>{v(r,1)}),L()}i?(e=E(i,f(t)),t[12](e),k(e.$$.fragment),h(e.$$.fragment,1),b(e,n.parentNode,n)):e=null}else if(i){const r={};s&16&&(r.data=t[4]),s&65575&&(r.$$scope={dirty:s,ctx:t}),e.$set(r)}},i(t){o||(e&&h(e.$$.fragment,t),o=!0)},o(t){e&&d(e.$$.fragment,t),o=!1},d(t){t&&g(n),a[12](null),e&&v(e,t)}}}function oe(a){let e,n,o;var i=a[1][2];function f(t,s){return{props:{data:t[5],form:t[2]}}}return i&&(e=E(i,f(a)),a[11](e)),{c(){e&&k(e.$$.fragment),n=p()},l(t){e&&I(e.$$.fragment,t),n=p()},m(t,s){e&&b(e,t,s),w(t,n,s),o=!0},p(t,s){if(s&2&&i!==(i=t[1][2])){if(e){P();const r=e;d(r.$$.fragment,1,0,()=>{v(r,1)}),L()}i?(e=E(i,f(t)),t[11](e),k(e.$$.fragment),h(e.$$.fragment,1),b(e,n.parentNode,n)):e=null}else if(i){const r={};s&32&&(r.data=t[5]),s&4&&(r.form=t[2]),e.$set(r)}},i(t){o||(e&&h(e.$$.fragment,t),o=!0)},o(t){e&&d(e.$$.fragment,t),o=!1},d(t){t&&g(n),a[11](null),e&&v(e,t)}}}function se(a){let e,n,o,i;const f=[re,ie],t=[];function s(r,_){return r[1][2]?0:1}return e=s(a),n=t[e]=f[e](a),{c(){n.c(),o=p()},l(r){n.l(r),o=p()},m(r,_){t[e].m(r,_),w(r,o,_),i=!0},p(r,_){let l=e;e=s(r),e===l?t[e].p(r,_):(P(),d(t[l],1,1,()=>{t[l]=null}),L(),n=t[e],n?n.p(r,_):(n=t[e]=f[e](r),n.c()),h(n,1),n.m(o.parentNode,o))},i(r){i||(h(n),i=!0)},o(r){d(n),i=!1},d(r){r&&g(o),t[e].d(r)}}}function y(a){let e,n=a[7]&&N(a);return{c(){e=W("div"),n&&n.c(),this.h()},l(o){e=z(o,"DIV",{id:!0,"aria-live":!0,"aria-atomic":!0,style:!0});var i=F(e);n&&n.l(i),i.forEach(g),this.h()},h(){T(e,"id","svelte-announcer"),T(e,"aria-live","assertive"),T(e,"aria-atomic","true"),R(e,"position","absolute"),R(e,"left","0"),R(e,"top","0"),R(e,"clip","rect(0 0 0 0)"),R(e,"clip-path","inset(50%)"),R(e,"overflow","hidden"),R(e,"white-space","nowrap"),R(e,"width","1px"),R(e,"height","1px")},m(o,i){w(o,e,i),n&&n.m(e,null)},p(o,i){o[7]?n?n.p(o,i):(n=N(o),n.c(),n.m(e,null)):n&&(n.d(1),n=null)},d(o){o&&g(e),n&&n.d()}}}function N(a){let e;return{c(){e=G(a[8])},l(n){e=H(n,a[8])},m(n,o){w(n,e,o)},p(n,o){o&256&&Q(e,n[8])},d(n){n&&g(e)}}}function ae(a){let e,n,o,i,f;const t=[ne,te],s=[];function r(l,u){return l[1][1]?0:1}e=r(a),n=s[e]=t[e](a);let _=a[6]&&y(a);return{c(){n.c(),o=q(),_&&_.c(),i=p()},l(l){n.l(l),o=J(l),_&&_.l(l),i=p()},m(l,u){s[e].m(l,u),w(l,o,u),_&&_.m(l,u),w(l,i,u),f=!0},p(l,[u]){let O=e;e=r(l),e===O?s[e].p(l,u):(P(),d(s[O],1,1,()=>{s[O]=null}),L(),n=s[e],n?n.p(l,u):(n=s[e]=t[e](l),n.c()),h(n,1),n.m(o.parentNode,o)),l[6]?_?_.p(l,u):(_=y(l),_.c(),_.m(i.parentNode,i)):_&&(_.d(1),_=null)},i(l){f||(h(n),f=!0)},o(l){d(n),f=!1},d(l){l&&(g(o),g(i)),s[e].d(l),_&&_.d(l)}}}function fe(a,e,n){let{stores:o}=e,{page:i}=e,{constructors:f}=e,{components:t=[]}=e,{form:s}=e,{data_0:r=null}=e,{data_1:_=null}=e,{data_2:l=null}=e;K(o.page.notify);let u=!1,O=!1,V=null;M(()=>{const c=o.page.subscribe(()=>{u&&(n(7,O=!0),X().then(()=>{n(8,V=document.title||"untitled page")}))});return n(6,u=!0),c});function $(c){D[c?"unshift":"push"](()=>{t[2]=c,n(0,t)})}function j(c){D[c?"unshift":"push"](()=>{t[1]=c,n(0,t)})}function S(c){D[c?"unshift":"push"](()=>{t[1]=c,n(0,t)})}function C(c){D[c?"unshift":"push"](()=>{t[0]=c,n(0,t)})}function B(c){D[c?"unshift":"push"](()=>{t[0]=c,n(0,t)})}return a.$$set=c=>{"stores"in c&&n(9,o=c.stores),"page"in c&&n(10,i=c.page),"constructors"in c&&n(1,f=c.constructors),"components"in c&&n(0,t=c.components),"form"in c&&n(2,s=c.form),"data_0"in c&&n(3,r=c.data_0),"data_1"in c&&n(4,_=c.data_1),"data_2"in c&&n(5,l=c.data_2)},a.$$.update=()=>{a.$$.dirty&1536&&o.page.set(i)},[t,f,s,r,_,l,u,O,V,o,i,$,j,S,C,B]}class ue extends Y{constructor(e){super(),Z(this,e,fe,ae,U,{stores:9,page:10,constructors:1,components:0,form:2,data_0:3,data_1:4,data_2:5})}}const me=[()=>m(()=>import("../nodes/0.529467ca.js"),["../nodes/0.529467ca.js","../chunks/scheduler.80902d3b.js","../chunks/index.d0e6da70.js","../chunks/each.ece37974.js","../chunks/stores.a4da01c2.js","../chunks/singletons.a17b5cab.js","../chunks/index.81a0017d.js","../chunks/preferences.e389d16d.js","../assets/0.5df5b886.css"],import.meta.url),()=>m(()=>import("../nodes/1.abd8d795.js"),["../nodes/1.abd8d795.js","../chunks/scheduler.80902d3b.js","../chunks/index.d0e6da70.js","../chunks/stores.a4da01c2.js","../chunks/singletons.a17b5cab.js","../chunks/index.81a0017d.js"],import.meta.url),()=>m(()=>import("../nodes/2.08d89d34.js"),["../nodes/2.08d89d34.js","../chunks/scheduler.80902d3b.js","../chunks/index.d0e6da70.js","../chunks/link.70630bff.js","../chunks/preferences.e389d16d.js","../chunks/index.81a0017d.js"],import.meta.url),()=>m(()=>import("../nodes/3.a382d3d5.js"),["../nodes/3.a382d3d5.js","../chunks/scheduler.80902d3b.js","../chunks/index.d0e6da70.js","../chunks/example-query.ac8ef50a.js","../chunks/link.70630bff.js","../chunks/regexp.50bc0e87.js"],import.meta.url),()=>m(()=>import("../nodes/4.37e53904.js"),["../nodes/4.37e53904.js","../chunks/scheduler.80902d3b.js","../chunks/index.d0e6da70.js","../chunks/example-query.ac8ef50a.js","../chunks/link.70630bff.js","../chunks/regexp.50bc0e87.js"],import.meta.url),()=>m(()=>import("../chunks/5.4ed993c7.js"),[],import.meta.url),()=>m(()=>import("../nodes/6.6cd1e711.js"),["../nodes/6.6cd1e711.js","../chunks/scheduler.80902d3b.js","../chunks/index.d0e6da70.js","../chunks/example-query.ac8ef50a.js","../chunks/link.70630bff.js","../chunks/regexp.50bc0e87.js"],import.meta.url),()=>m(()=>import("../nodes/7.b6576b19.js"),["../nodes/7.b6576b19.js","../chunks/scheduler.80902d3b.js","../chunks/index.d0e6da70.js","../chunks/example-query.ac8ef50a.js","../chunks/link.70630bff.js","../chunks/regexp.50bc0e87.js"],import.meta.url),()=>m(()=>import("../nodes/8.b18d1c14.js"),["../nodes/8.b18d1c14.js","../chunks/scheduler.80902d3b.js","../chunks/index.d0e6da70.js","../chunks/each.ece37974.js","../chunks/example-query.ac8ef50a.js","../chunks/link.70630bff.js"],import.meta.url),()=>m(()=>import("../nodes/9.b3dcb728.js"),["../nodes/9.b3dcb728.js","../chunks/scheduler.80902d3b.js","../chunks/index.d0e6da70.js","../chunks/example-query.ac8ef50a.js","../chunks/link.70630bff.js","../chunks/regexp.50bc0e87.js"],import.meta.url),()=>m(()=>import("../nodes/10.28836ccc.js"),["../nodes/10.28836ccc.js","../chunks/index.81a0017d.js","../chunks/scheduler.80902d3b.js","../chunks/stores.a4da01c2.js","../chunks/singletons.a17b5cab.js","../chunks/toggle-search-type.f1a3061d.js","../chunks/index.d0e6da70.js","../chunks/preferences.e389d16d.js","../chunks/each.ece37974.js","../chunks/integer-input.e86d05ad.js","../chunks/input-colors.e7674f0c.js","../chunks/link.70630bff.js","../chunks/example-query.ac8ef50a.js"],import.meta.url),()=>m(()=>import("../nodes/11.93ac6006.js"),["../nodes/11.93ac6006.js","../chunks/scheduler.80902d3b.js","../chunks/index.d0e6da70.js","../chunks/link.70630bff.js"],import.meta.url),()=>m(()=>import("../nodes/12.67089c6b.js"),["../nodes/12.67089c6b.js","../chunks/scheduler.80902d3b.js","../chunks/index.d0e6da70.js","../chunks/preferences.e389d16d.js","../chunks/index.81a0017d.js","../chunks/integer-input.e86d05ad.js","../chunks/input-colors.e7674f0c.js"],import.meta.url),()=>m(()=>import("../nodes/13.418c6178.js"),["../nodes/13.418c6178.js","../chunks/scheduler.80902d3b.js","../chunks/index.d0e6da70.js","../chunks/stores.a4da01c2.js","../chunks/singletons.a17b5cab.js","../chunks/index.81a0017d.js","../chunks/preferences.e389d16d.js","../chunks/input-colors.e7674f0c.js","../chunks/toggle-search-type.f1a3061d.js","../chunks/each.ece37974.js","../chunks/link.70630bff.js"],import.meta.url),()=>m(()=>import("../nodes/14.40bc0592.js"),["../nodes/14.40bc0592.js","../chunks/scheduler.80902d3b.js","../chunks/index.d0e6da70.js","../chunks/link.70630bff.js","../chunks/example-query.ac8ef50a.js"],import.meta.url)],pe=[0],de={"/(search-page)":[10],"/about":[11],"/(opengrok-compat)/diff/[project]/[...file]":[-4,[2]],"/(opengrok-compat)/download/[project]/[...file]":[-5,[2]],"/(opengrok-compat)/help.jsp":[-6,[2]],"/(opengrok-compat)/history/[project]/[...file]":[-7,[2]],"/preferences":[12],"/(opengrok-compat)/raw/[project]/[...file]":[-8,[2]],"/repositories":[-14],"/(opengrok-compat)/search":[-9,[2]],"/syntax":[14],"/(opengrok-compat)/xref/[project]/[...file]":[-10,[2]]},he={handleError:({error:a})=>{console.error(a)}};export{de as dictionary,he as hooks,ce as matchers,me as nodes,ue as root,pe as server_loads};
1
+ import{n as U,l as q,J as p,o as J,i as w,d as g,K,L as M,e as W,c as z,a as F,f as T,M as R,t as G,b as H,s as Q,N as X,w as D,O as E}from"../chunks/scheduler.80902d3b.js";import{S as Y,i as Z,b as d,e as L,t as h,g as P,c as k,a as I,m as b,d as v}from"../chunks/index.d0e6da70.js";const x="modulepreload",ee=function(a,e){return new URL(a,e).href},A={},m=function(e,n,o){if(!n||n.length===0)return e();const i=document.getElementsByTagName("link");return Promise.all(n.map(f=>{if(f=ee(f,o),f in A)return;A[f]=!0;const t=f.endsWith(".css"),s=t?'[rel="stylesheet"]':"";if(!!o)for(let l=i.length-1;l>=0;l--){const u=i[l];if(u.href===f&&(!t||u.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${f}"]${s}`))return;const _=document.createElement("link");if(_.rel=t?"stylesheet":x,t||(_.as="script",_.crossOrigin=""),_.href=f,document.head.appendChild(_),t)return new Promise((l,u)=>{_.addEventListener("load",l),_.addEventListener("error",()=>u(new Error(`Unable to preload CSS for ${f}`)))})})).then(()=>e()).catch(f=>{const t=new Event("vite:preloadError",{cancelable:!0});if(t.payload=f,window.dispatchEvent(t),!t.defaultPrevented)throw f})},ce={};function te(a){let e,n,o;var i=a[1][0];function f(t,s){return{props:{data:t[3],form:t[2]}}}return i&&(e=E(i,f(a)),a[15](e)),{c(){e&&k(e.$$.fragment),n=p()},l(t){e&&I(e.$$.fragment,t),n=p()},m(t,s){e&&b(e,t,s),w(t,n,s),o=!0},p(t,s){if(s&2&&i!==(i=t[1][0])){if(e){P();const r=e;d(r.$$.fragment,1,0,()=>{v(r,1)}),L()}i?(e=E(i,f(t)),t[15](e),k(e.$$.fragment),h(e.$$.fragment,1),b(e,n.parentNode,n)):e=null}else if(i){const r={};s&8&&(r.data=t[3]),s&4&&(r.form=t[2]),e.$set(r)}},i(t){o||(e&&h(e.$$.fragment,t),o=!0)},o(t){e&&d(e.$$.fragment,t),o=!1},d(t){t&&g(n),a[15](null),e&&v(e,t)}}}function ne(a){let e,n,o;var i=a[1][0];function f(t,s){return{props:{data:t[3],$$slots:{default:[se]},$$scope:{ctx:t}}}}return i&&(e=E(i,f(a)),a[14](e)),{c(){e&&k(e.$$.fragment),n=p()},l(t){e&&I(e.$$.fragment,t),n=p()},m(t,s){e&&b(e,t,s),w(t,n,s),o=!0},p(t,s){if(s&2&&i!==(i=t[1][0])){if(e){P();const r=e;d(r.$$.fragment,1,0,()=>{v(r,1)}),L()}i?(e=E(i,f(t)),t[14](e),k(e.$$.fragment),h(e.$$.fragment,1),b(e,n.parentNode,n)):e=null}else if(i){const r={};s&8&&(r.data=t[3]),s&65591&&(r.$$scope={dirty:s,ctx:t}),e.$set(r)}},i(t){o||(e&&h(e.$$.fragment,t),o=!0)},o(t){e&&d(e.$$.fragment,t),o=!1},d(t){t&&g(n),a[14](null),e&&v(e,t)}}}function ie(a){let e,n,o;var i=a[1][1];function f(t,s){return{props:{data:t[4],form:t[2]}}}return i&&(e=E(i,f(a)),a[13](e)),{c(){e&&k(e.$$.fragment),n=p()},l(t){e&&I(e.$$.fragment,t),n=p()},m(t,s){e&&b(e,t,s),w(t,n,s),o=!0},p(t,s){if(s&2&&i!==(i=t[1][1])){if(e){P();const r=e;d(r.$$.fragment,1,0,()=>{v(r,1)}),L()}i?(e=E(i,f(t)),t[13](e),k(e.$$.fragment),h(e.$$.fragment,1),b(e,n.parentNode,n)):e=null}else if(i){const r={};s&16&&(r.data=t[4]),s&4&&(r.form=t[2]),e.$set(r)}},i(t){o||(e&&h(e.$$.fragment,t),o=!0)},o(t){e&&d(e.$$.fragment,t),o=!1},d(t){t&&g(n),a[13](null),e&&v(e,t)}}}function re(a){let e,n,o;var i=a[1][1];function f(t,s){return{props:{data:t[4],$$slots:{default:[oe]},$$scope:{ctx:t}}}}return i&&(e=E(i,f(a)),a[12](e)),{c(){e&&k(e.$$.fragment),n=p()},l(t){e&&I(e.$$.fragment,t),n=p()},m(t,s){e&&b(e,t,s),w(t,n,s),o=!0},p(t,s){if(s&2&&i!==(i=t[1][1])){if(e){P();const r=e;d(r.$$.fragment,1,0,()=>{v(r,1)}),L()}i?(e=E(i,f(t)),t[12](e),k(e.$$.fragment),h(e.$$.fragment,1),b(e,n.parentNode,n)):e=null}else if(i){const r={};s&16&&(r.data=t[4]),s&65575&&(r.$$scope={dirty:s,ctx:t}),e.$set(r)}},i(t){o||(e&&h(e.$$.fragment,t),o=!0)},o(t){e&&d(e.$$.fragment,t),o=!1},d(t){t&&g(n),a[12](null),e&&v(e,t)}}}function oe(a){let e,n,o;var i=a[1][2];function f(t,s){return{props:{data:t[5],form:t[2]}}}return i&&(e=E(i,f(a)),a[11](e)),{c(){e&&k(e.$$.fragment),n=p()},l(t){e&&I(e.$$.fragment,t),n=p()},m(t,s){e&&b(e,t,s),w(t,n,s),o=!0},p(t,s){if(s&2&&i!==(i=t[1][2])){if(e){P();const r=e;d(r.$$.fragment,1,0,()=>{v(r,1)}),L()}i?(e=E(i,f(t)),t[11](e),k(e.$$.fragment),h(e.$$.fragment,1),b(e,n.parentNode,n)):e=null}else if(i){const r={};s&32&&(r.data=t[5]),s&4&&(r.form=t[2]),e.$set(r)}},i(t){o||(e&&h(e.$$.fragment,t),o=!0)},o(t){e&&d(e.$$.fragment,t),o=!1},d(t){t&&g(n),a[11](null),e&&v(e,t)}}}function se(a){let e,n,o,i;const f=[re,ie],t=[];function s(r,_){return r[1][2]?0:1}return e=s(a),n=t[e]=f[e](a),{c(){n.c(),o=p()},l(r){n.l(r),o=p()},m(r,_){t[e].m(r,_),w(r,o,_),i=!0},p(r,_){let l=e;e=s(r),e===l?t[e].p(r,_):(P(),d(t[l],1,1,()=>{t[l]=null}),L(),n=t[e],n?n.p(r,_):(n=t[e]=f[e](r),n.c()),h(n,1),n.m(o.parentNode,o))},i(r){i||(h(n),i=!0)},o(r){d(n),i=!1},d(r){r&&g(o),t[e].d(r)}}}function y(a){let e,n=a[7]&&N(a);return{c(){e=W("div"),n&&n.c(),this.h()},l(o){e=z(o,"DIV",{id:!0,"aria-live":!0,"aria-atomic":!0,style:!0});var i=F(e);n&&n.l(i),i.forEach(g),this.h()},h(){T(e,"id","svelte-announcer"),T(e,"aria-live","assertive"),T(e,"aria-atomic","true"),R(e,"position","absolute"),R(e,"left","0"),R(e,"top","0"),R(e,"clip","rect(0 0 0 0)"),R(e,"clip-path","inset(50%)"),R(e,"overflow","hidden"),R(e,"white-space","nowrap"),R(e,"width","1px"),R(e,"height","1px")},m(o,i){w(o,e,i),n&&n.m(e,null)},p(o,i){o[7]?n?n.p(o,i):(n=N(o),n.c(),n.m(e,null)):n&&(n.d(1),n=null)},d(o){o&&g(e),n&&n.d()}}}function N(a){let e;return{c(){e=G(a[8])},l(n){e=H(n,a[8])},m(n,o){w(n,e,o)},p(n,o){o&256&&Q(e,n[8])},d(n){n&&g(e)}}}function ae(a){let e,n,o,i,f;const t=[ne,te],s=[];function r(l,u){return l[1][1]?0:1}e=r(a),n=s[e]=t[e](a);let _=a[6]&&y(a);return{c(){n.c(),o=q(),_&&_.c(),i=p()},l(l){n.l(l),o=J(l),_&&_.l(l),i=p()},m(l,u){s[e].m(l,u),w(l,o,u),_&&_.m(l,u),w(l,i,u),f=!0},p(l,[u]){let O=e;e=r(l),e===O?s[e].p(l,u):(P(),d(s[O],1,1,()=>{s[O]=null}),L(),n=s[e],n?n.p(l,u):(n=s[e]=t[e](l),n.c()),h(n,1),n.m(o.parentNode,o)),l[6]?_?_.p(l,u):(_=y(l),_.c(),_.m(i.parentNode,i)):_&&(_.d(1),_=null)},i(l){f||(h(n),f=!0)},o(l){d(n),f=!1},d(l){l&&(g(o),g(i)),s[e].d(l),_&&_.d(l)}}}function fe(a,e,n){let{stores:o}=e,{page:i}=e,{constructors:f}=e,{components:t=[]}=e,{form:s}=e,{data_0:r=null}=e,{data_1:_=null}=e,{data_2:l=null}=e;K(o.page.notify);let u=!1,O=!1,V=null;M(()=>{const c=o.page.subscribe(()=>{u&&(n(7,O=!0),X().then(()=>{n(8,V=document.title||"untitled page")}))});return n(6,u=!0),c});function $(c){D[c?"unshift":"push"](()=>{t[2]=c,n(0,t)})}function j(c){D[c?"unshift":"push"](()=>{t[1]=c,n(0,t)})}function S(c){D[c?"unshift":"push"](()=>{t[1]=c,n(0,t)})}function C(c){D[c?"unshift":"push"](()=>{t[0]=c,n(0,t)})}function B(c){D[c?"unshift":"push"](()=>{t[0]=c,n(0,t)})}return a.$$set=c=>{"stores"in c&&n(9,o=c.stores),"page"in c&&n(10,i=c.page),"constructors"in c&&n(1,f=c.constructors),"components"in c&&n(0,t=c.components),"form"in c&&n(2,s=c.form),"data_0"in c&&n(3,r=c.data_0),"data_1"in c&&n(4,_=c.data_1),"data_2"in c&&n(5,l=c.data_2)},a.$$.update=()=>{a.$$.dirty&1536&&o.page.set(i)},[t,f,s,r,_,l,u,O,V,o,i,$,j,S,C,B]}class ue extends Y{constructor(e){super(),Z(this,e,fe,ae,U,{stores:9,page:10,constructors:1,components:0,form:2,data_0:3,data_1:4,data_2:5})}}const me=[()=>m(()=>import("../nodes/0.1f0e3135.js"),["../nodes/0.1f0e3135.js","../chunks/scheduler.80902d3b.js","../chunks/index.d0e6da70.js","../chunks/each.ece37974.js","../chunks/stores.3502de9e.js","../chunks/singletons.1b4af557.js","../chunks/index.81a0017d.js","../chunks/preferences.e389d16d.js","../assets/0.5df5b886.css"],import.meta.url),()=>m(()=>import("../nodes/1.c155b318.js"),["../nodes/1.c155b318.js","../chunks/scheduler.80902d3b.js","../chunks/index.d0e6da70.js","../chunks/stores.3502de9e.js","../chunks/singletons.1b4af557.js","../chunks/index.81a0017d.js"],import.meta.url),()=>m(()=>import("../nodes/2.08d89d34.js"),["../nodes/2.08d89d34.js","../chunks/scheduler.80902d3b.js","../chunks/index.d0e6da70.js","../chunks/link.70630bff.js","../chunks/preferences.e389d16d.js","../chunks/index.81a0017d.js"],import.meta.url),()=>m(()=>import("../nodes/3.a382d3d5.js"),["../nodes/3.a382d3d5.js","../chunks/scheduler.80902d3b.js","../chunks/index.d0e6da70.js","../chunks/example-query.ac8ef50a.js","../chunks/link.70630bff.js","../chunks/regexp.50bc0e87.js"],import.meta.url),()=>m(()=>import("../nodes/4.37e53904.js"),["../nodes/4.37e53904.js","../chunks/scheduler.80902d3b.js","../chunks/index.d0e6da70.js","../chunks/example-query.ac8ef50a.js","../chunks/link.70630bff.js","../chunks/regexp.50bc0e87.js"],import.meta.url),()=>m(()=>import("../chunks/5.4ed993c7.js"),[],import.meta.url),()=>m(()=>import("../nodes/6.6cd1e711.js"),["../nodes/6.6cd1e711.js","../chunks/scheduler.80902d3b.js","../chunks/index.d0e6da70.js","../chunks/example-query.ac8ef50a.js","../chunks/link.70630bff.js","../chunks/regexp.50bc0e87.js"],import.meta.url),()=>m(()=>import("../nodes/7.b6576b19.js"),["../nodes/7.b6576b19.js","../chunks/scheduler.80902d3b.js","../chunks/index.d0e6da70.js","../chunks/example-query.ac8ef50a.js","../chunks/link.70630bff.js","../chunks/regexp.50bc0e87.js"],import.meta.url),()=>m(()=>import("../nodes/8.b18d1c14.js"),["../nodes/8.b18d1c14.js","../chunks/scheduler.80902d3b.js","../chunks/index.d0e6da70.js","../chunks/each.ece37974.js","../chunks/example-query.ac8ef50a.js","../chunks/link.70630bff.js"],import.meta.url),()=>m(()=>import("../nodes/9.b3dcb728.js"),["../nodes/9.b3dcb728.js","../chunks/scheduler.80902d3b.js","../chunks/index.d0e6da70.js","../chunks/example-query.ac8ef50a.js","../chunks/link.70630bff.js","../chunks/regexp.50bc0e87.js"],import.meta.url),()=>m(()=>import("../nodes/10.de18a1bc.js"),["../nodes/10.de18a1bc.js","../chunks/index.81a0017d.js","../chunks/scheduler.80902d3b.js","../chunks/stores.3502de9e.js","../chunks/singletons.1b4af557.js","../chunks/toggle-search-type.0b816276.js","../chunks/index.d0e6da70.js","../chunks/preferences.e389d16d.js","../chunks/each.ece37974.js","../chunks/integer-input.e86d05ad.js","../chunks/input-colors.e7674f0c.js","../chunks/link.70630bff.js","../chunks/example-query.ac8ef50a.js"],import.meta.url),()=>m(()=>import("../nodes/11.93ac6006.js"),["../nodes/11.93ac6006.js","../chunks/scheduler.80902d3b.js","../chunks/index.d0e6da70.js","../chunks/link.70630bff.js"],import.meta.url),()=>m(()=>import("../nodes/12.67089c6b.js"),["../nodes/12.67089c6b.js","../chunks/scheduler.80902d3b.js","../chunks/index.d0e6da70.js","../chunks/preferences.e389d16d.js","../chunks/index.81a0017d.js","../chunks/integer-input.e86d05ad.js","../chunks/input-colors.e7674f0c.js"],import.meta.url),()=>m(()=>import("../nodes/13.e17c762c.js"),["../nodes/13.e17c762c.js","../chunks/scheduler.80902d3b.js","../chunks/index.d0e6da70.js","../chunks/stores.3502de9e.js","../chunks/singletons.1b4af557.js","../chunks/index.81a0017d.js","../chunks/preferences.e389d16d.js","../chunks/input-colors.e7674f0c.js","../chunks/toggle-search-type.0b816276.js","../chunks/each.ece37974.js","../chunks/link.70630bff.js"],import.meta.url),()=>m(()=>import("../nodes/14.40bc0592.js"),["../nodes/14.40bc0592.js","../chunks/scheduler.80902d3b.js","../chunks/index.d0e6da70.js","../chunks/link.70630bff.js","../chunks/example-query.ac8ef50a.js"],import.meta.url)],pe=[0],de={"/(search-page)":[10],"/about":[11],"/(opengrok-compat)/diff/[project]/[...file]":[-4,[2]],"/(opengrok-compat)/download/[project]/[...file]":[-5,[2]],"/(opengrok-compat)/help.jsp":[-6,[2]],"/(opengrok-compat)/history/[project]/[...file]":[-7,[2]],"/preferences":[12],"/(opengrok-compat)/raw/[project]/[...file]":[-8,[2]],"/repositories":[-14],"/(opengrok-compat)/search":[-9,[2]],"/syntax":[14],"/(opengrok-compat)/xref/[project]/[...file]":[-10,[2]]},he={handleError:({error:a})=>{console.error(a)}};export{de as dictionary,he as hooks,ce as matchers,me as nodes,ue as root,pe as server_loads};
@@ -0,0 +1,3 @@
1
+ import{L as me,N as we}from"../chunks/scheduler.80902d3b.js";import{S as Be,a as Ge,I as M,g as De,f as Ce,b as _e,d as le,e as te,i as ye,s as F,h as J,P as Me,j as Xe}from"../chunks/singletons.1b4af557.js";function Ze(t,r){return t==="/"||r==="ignore"?t:r==="never"?t.endsWith("/")?t.slice(0,-1):t:r==="always"&&!t.endsWith("/")?t+"/":t}function Qe(t){return t.split("%25").map(decodeURI).join("%25")}function et(t){for(const r in t)t[r]=decodeURIComponent(t[r]);return t}const tt=["href","pathname","search","searchParams","toString","toJSON"];function nt(t,r){const f=new URL(t);for(const s of tt)Object.defineProperty(f,s,{get(){return r(),t[s]},enumerable:!0,configurable:!0});return at(f),f}function at(t){Object.defineProperty(t,"hash",{get(){throw new Error("Cannot access event.url.hash. Consider using `$page.url.hash` inside a component instead")}})}const rt="/__data.json";function ot(t){return t.replace(/\/$/,"")+rt}function it(...t){let r=5381;for(const f of t)if(typeof f=="string"){let s=f.length;for(;s;)r=r*33^f.charCodeAt(--s)}else if(ArrayBuffer.isView(f)){const s=new Uint8Array(f.buffer,f.byteOffset,f.byteLength);let d=s.length;for(;d;)r=r*33^s[--d]}else throw new TypeError("value must be a string or TypedArray");return(r>>>0).toString(36)}const Je=window.fetch;window.fetch=(t,r)=>((t instanceof Request?t.method:(r==null?void 0:r.method)||"GET")!=="GET"&&ae.delete(Se(t)),Je(t,r));const ae=new Map;function st(t,r){const f=Se(t,r),s=document.querySelector(f);if(s!=null&&s.textContent){const{body:d,...u}=JSON.parse(s.textContent),E=s.getAttribute("data-ttl");return E&&ae.set(f,{body:d,init:u,ttl:1e3*Number(E)}),Promise.resolve(new Response(d,u))}return window.fetch(t,r)}function ct(t,r,f){if(ae.size>0){const s=Se(t,f),d=ae.get(s);if(d){if(performance.now()<d.ttl&&["default","force-cache","only-if-cached",void 0].includes(f==null?void 0:f.cache))return new Response(d.body,d.init);ae.delete(s)}}return window.fetch(r,f)}function Se(t,r){let s=`script[data-sveltekit-fetched][data-url=${JSON.stringify(t instanceof Request?t.url:t)}]`;if(r!=null&&r.headers||r!=null&&r.body){const d=[];r.headers&&d.push([...new Headers(r.headers)].join(",")),r.body&&(typeof r.body=="string"||ArrayBuffer.isView(r.body))&&d.push(r.body),s+=`[data-hash="${it(...d)}"]`}return s}const lt=/^(\[)?(\.\.\.)?(\w+)(?:=(\w+))?(\])?$/;function ft(t){const r=[];return{pattern:t==="/"?/^\/$/:new RegExp(`^${dt(t).map(s=>{const d=/^\[\.\.\.(\w+)(?:=(\w+))?\]$/.exec(s);if(d)return r.push({name:d[1],matcher:d[2],optional:!1,rest:!0,chained:!0}),"(?:/(.*))?";const u=/^\[\[(\w+)(?:=(\w+))?\]\]$/.exec(s);if(u)return r.push({name:u[1],matcher:u[2],optional:!0,rest:!1,chained:!0}),"(?:/([^/]+))?";if(!s)return;const E=s.split(/\[(.+?)\](?!\])/);return"/"+E.map((g,m)=>{if(m%2){if(g.startsWith("x+"))return ve(String.fromCharCode(parseInt(g.slice(2),16)));if(g.startsWith("u+"))return ve(String.fromCharCode(...g.slice(2).split("-").map(U=>parseInt(U,16))));const h=lt.exec(g);if(!h)throw new Error(`Invalid param: ${g}. Params and matcher names can only have underscores and alphanumeric characters.`);const[,x,j,k,N]=h;return r.push({name:k,matcher:N,optional:!!x,rest:!!j,chained:j?m===1&&E[0]==="":!1}),j?"(.*?)":x?"([^/]*)?":"([^/]+?)"}return ve(g)}).join("")}).join("")}/?$`),params:r}}function ut(t){return!/^\([^)]+\)$/.test(t)}function dt(t){return t.slice(1).split("/").filter(ut)}function pt(t,r,f){const s={},d=t.slice(1),u=d.filter(l=>l!==void 0);let E=0;for(let l=0;l<r.length;l+=1){const g=r[l];let m=d[l-E];if(g.chained&&g.rest&&E&&(m=d.slice(l-E,l+1).filter(h=>h).join("/"),E=0),m===void 0){g.rest&&(s[g.name]="");continue}if(!g.matcher||f[g.matcher](m)){s[g.name]=m;const h=r[l+1],x=d[l+1];h&&!h.rest&&h.optional&&x&&g.chained&&(E=0),!h&&!x&&Object.keys(s).length===u.length&&(E=0);continue}if(g.optional&&g.chained){E++;continue}return}if(!E)return s}function ve(t){return t.normalize().replace(/[[\]]/g,"\\$&").replace(/%/g,"%25").replace(/\//g,"%2[Ff]").replace(/\?/g,"%3[Ff]").replace(/#/g,"%23").replace(/[.*+?^${}()|\\]/g,"\\$&")}function ht({nodes:t,server_loads:r,dictionary:f,matchers:s}){const d=new Set(r);return Object.entries(f).map(([l,[g,m,h]])=>{const{pattern:x,params:j}=ft(l),k={id:l,exec:N=>{const U=x.exec(N);if(U)return pt(U,j,s)},errors:[1,...h||[]].map(N=>t[N]),layouts:[0,...m||[]].map(E),leaf:u(g)};return k.errors.length=k.layouts.length=Math.max(k.errors.length,k.layouts.length),k});function u(l){const g=l<0;return g&&(l=~l),[g,t[l]]}function E(l){return l===void 0?l:[d.has(l),t[l]]}}function Ke(t){try{return JSON.parse(sessionStorage[t])}catch{}}function Ve(t,r){const f=JSON.stringify(r);try{sessionStorage[t]=f}catch{}}const gt=-1,mt=-2,wt=-3,_t=-4,yt=-5,vt=-6;function bt(t,r){if(typeof t=="number")return d(t,!0);if(!Array.isArray(t)||t.length===0)throw new Error("Invalid input");const f=t,s=Array(f.length);function d(u,E=!1){if(u===gt)return;if(u===wt)return NaN;if(u===_t)return 1/0;if(u===yt)return-1/0;if(u===vt)return-0;if(E)throw new Error("Invalid input");if(u in s)return s[u];const l=f[u];if(!l||typeof l!="object")s[u]=l;else if(Array.isArray(l))if(typeof l[0]=="string"){const g=l[0],m=r==null?void 0:r[g];if(m)return s[u]=m(d(l[1]));switch(g){case"Date":s[u]=new Date(l[1]);break;case"Set":const h=new Set;s[u]=h;for(let k=1;k<l.length;k+=1)h.add(d(l[k]));break;case"Map":const x=new Map;s[u]=x;for(let k=1;k<l.length;k+=2)x.set(d(l[k]),d(l[k+1]));break;case"RegExp":s[u]=new RegExp(l[1],l[2]);break;case"Object":s[u]=Object(l[1]);break;case"BigInt":s[u]=BigInt(l[1]);break;case"null":const j=Object.create(null);s[u]=j;for(let k=1;k<l.length;k+=2)j[l[k]]=d(l[k+1]);break;default:throw new Error(`Unknown type ${g}`)}}else{const g=new Array(l.length);s[u]=g;for(let m=0;m<l.length;m+=1){const h=l[m];h!==mt&&(g[m]=d(h))}}else{const g={};s[u]=g;for(const m in l){const h=l[m];g[m]=d(h)}}return s[u]}return d(0)}function Et(t){return t.filter(r=>r!=null)}const ze=new Set(["load","prerender","csr","ssr","trailingSlash","config"]);[...ze];const St=new Set([...ze]);[...St];async function kt(t){var r;for(const f in t)if(typeof((r=t[f])==null?void 0:r.then)=="function")return Object.fromEntries(await Promise.all(Object.entries(t).map(async([s,d])=>[s,await d])));return t}class ne{constructor(r,f){this.status=r,typeof f=="string"?this.body={message:f}:f?this.body=f:this.body={message:`Error: ${r}`}}toString(){return JSON.stringify(this.body)}}class qe{constructor(r,f){this.status=r,this.location=f}}const Rt="x-sveltekit-invalidated",At="x-sveltekit-trailing-slash",K=Ke(Be)??{},ee=Ke(Ge)??{};function be(t){K[t]=te()}function Lt(t,r){var Ne;const f=ht(t),s=t.nodes[0],d=t.nodes[1];s(),d();const u=document.documentElement,E=[],l=[];let g=null;const m={before_navigate:[],on_navigate:[],after_navigate:[]};let h={branch:[],error:null,url:null},x=!1,j=!1,k=!0,N=!1,U=!1,H=!1,B=!1,V,D=(Ne=history.state)==null?void 0:Ne[M];D||(D=Date.now(),history.replaceState({...history.state,[M]:D},"",location.href));const fe=K[D];fe&&(history.scrollRestoration="manual",scrollTo(fe.x,fe.y));let q,z,Y;async function ke(){if(Y=Y||Promise.resolve(),await Y,!Y)return;Y=null;const e=new URL(location.href),i=Z(e,!0);g=null;const n=z={},o=i&&await pe(i);if(n===z&&o){if(o.type==="redirect")return re(new URL(o.location,e).href,{},1,n);o.props.page!==void 0&&(q=o.props.page),V.$set(o.props)}}function Re(e){l.some(i=>i==null?void 0:i.snapshot)&&(ee[e]=l.map(i=>{var n;return(n=i==null?void 0:i.snapshot)==null?void 0:n.capture()}))}function Ae(e){var i;(i=ee[e])==null||i.forEach((n,o)=>{var a,c;(c=(a=l[o])==null?void 0:a.snapshot)==null||c.restore(n)})}function Le(){be(D),Ve(Be,K),Re(D),Ve(Ge,ee)}async function re(e,{noScroll:i=!1,replaceState:n=!1,keepFocus:o=!1,state:a={},invalidateAll:c=!1},p,v){return typeof e=="string"&&(e=new URL(e,De(document))),ce({url:e,scroll:i?te():null,keepfocus:o,redirect_count:p,details:{state:a,replaceState:n},nav_token:v,accepted:()=>{c&&(B=!0)},blocked:()=>{},type:"goto"})}async function Ie(e){return g={id:e.id,promise:pe(e).then(i=>(i.type==="loaded"&&i.state.error&&(g=null),i))},g.promise}async function oe(...e){const n=f.filter(o=>e.some(a=>o.exec(a))).map(o=>Promise.all([...o.layouts,o.leaf].map(a=>a==null?void 0:a[1]())));await Promise.all(n)}function Pe(e){var o;h=e.state;const i=document.querySelector("style[data-sveltekit]");i&&i.remove(),q=e.props.page,V=new t.root({target:r,props:{...e.props,stores:F,components:l},hydrate:!0}),Ae(D);const n={from:null,to:{params:h.params,route:{id:((o=h.route)==null?void 0:o.id)??null},url:new URL(location.href)},willUnload:!1,type:"enter",complete:Promise.resolve()};m.after_navigate.forEach(a=>a(n)),j=!0}async function X({url:e,params:i,branch:n,status:o,error:a,route:c,form:p}){let v="never";for(const _ of n)(_==null?void 0:_.slash)!==void 0&&(v=_.slash);e.pathname=Ze(e.pathname,v),e.search=e.search;const b={type:"loaded",state:{url:e,params:i,branch:n,error:a,route:c},props:{constructors:Et(n).map(_=>_.node.component)}};p!==void 0&&(b.props.form=p);let y={},I=!q,A=0;for(let _=0;_<Math.max(n.length,h.branch.length);_+=1){const w=n[_],O=h.branch[_];(w==null?void 0:w.data)!==(O==null?void 0:O.data)&&(I=!0),w&&(y={...y,...w.data},I&&(b.props[`data_${A}`]=y),A+=1)}return(!h.url||e.href!==h.url.href||h.error!==a||p!==void 0&&p!==q.form||I)&&(b.props.page={error:a,params:i,route:{id:(c==null?void 0:c.id)??null},status:o,url:new URL(e),form:p??null,data:I?y:q.data}),b}async function ue({loader:e,parent:i,url:n,params:o,route:a,server_data_node:c}){var y,I,A;let p=null;const v={dependencies:new Set,params:new Set,parent:!1,route:!1,url:!1},b=await e();if((y=b.universal)!=null&&y.load){let P=function(...w){for(const O of w){const{href:$}=new URL(O,n);v.dependencies.add($)}};const _={route:new Proxy(a,{get:(w,O)=>(v.route=!0,w[O])}),params:new Proxy(o,{get:(w,O)=>(v.params.add(O),w[O])}),data:(c==null?void 0:c.data)??null,url:nt(n,()=>{v.url=!0}),async fetch(w,O){let $;w instanceof Request?($=w.url,O={body:w.method==="GET"||w.method==="HEAD"?void 0:await w.blob(),cache:w.cache,credentials:w.credentials,headers:w.headers,integrity:w.integrity,keepalive:w.keepalive,method:w.method,mode:w.mode,redirect:w.redirect,referrer:w.referrer,referrerPolicy:w.referrerPolicy,signal:w.signal,...O}):$=w;const C=new URL($,n);return P(C.href),C.origin===n.origin&&($=C.href.slice(n.origin.length)),j?ct($,C.href,O):st($,O)},setHeaders:()=>{},depends:P,parent(){return v.parent=!0,i()}};p=await b.universal.load.call(null,_)??null,p=p?await kt(p):null}return{node:b,loader:e,server:c,universal:(I=b.universal)!=null&&I.load?{type:"data",data:p,uses:v}:null,data:p??(c==null?void 0:c.data)??null,slash:((A=b.universal)==null?void 0:A.trailingSlash)??(c==null?void 0:c.slash)}}function Oe(e,i,n,o,a){if(B)return!0;if(!o)return!1;if(o.parent&&e||o.route&&i||o.url&&n)return!0;for(const c of o.params)if(a[c]!==h.params[c])return!0;for(const c of o.dependencies)if(E.some(p=>p(new URL(c))))return!0;return!1}function de(e,i){return(e==null?void 0:e.type)==="data"?e:(e==null?void 0:e.type)==="skip"?i??null:null}async function pe({id:e,invalidating:i,url:n,params:o,route:a}){if((g==null?void 0:g.id)===e)return g.promise;const{errors:c,layouts:p,leaf:v}=a,b=[...p,v];c.forEach(S=>S==null?void 0:S().catch(()=>{})),b.forEach(S=>S==null?void 0:S[1]().catch(()=>{}));let y=null;const I=h.url?e!==h.url.pathname+h.url.search:!1,A=h.route?a.id!==h.route.id:!1;let P=!1;const _=b.map((S,L)=>{var G;const R=h.branch[L],T=!!(S!=null&&S[0])&&((R==null?void 0:R.loader)!==S[1]||Oe(P,A,I,(G=R.server)==null?void 0:G.uses,o));return T&&(P=!0),T});if(_.some(Boolean)){try{y=await Fe(n,_)}catch(S){return ie({status:S instanceof ne?S.status:500,error:await Q(S,{url:n,params:o,route:{id:a.id}}),url:n,route:a})}if(y.type==="redirect")return y}const w=y==null?void 0:y.nodes;let O=!1;const $=b.map(async(S,L)=>{var he;if(!S)return;const R=h.branch[L],T=w==null?void 0:w[L];if((!T||T.type==="skip")&&S[1]===(R==null?void 0:R.loader)&&!Oe(O,A,I,(he=R.universal)==null?void 0:he.uses,o))return R;if(O=!0,(T==null?void 0:T.type)==="error")throw T;return ue({loader:S[1],url:n,params:o,route:a,parent:async()=>{var Te;const $e={};for(let ge=0;ge<L;ge+=1)Object.assign($e,(Te=await $[ge])==null?void 0:Te.data);return $e},server_data_node:de(T===void 0&&S[0]?{type:"skip"}:T??null,S[0]?R==null?void 0:R.server:void 0)})});for(const S of $)S.catch(()=>{});const C=[];for(let S=0;S<b.length;S+=1)if(b[S])try{C.push(await $[S])}catch(L){if(L instanceof qe)return{type:"redirect",location:L.location};let R=500,T;if(w!=null&&w.includes(L))R=L.status??R,T=L.error;else if(L instanceof ne)R=L.status,T=L.body;else{if(await F.updated.check())return await W(n);T=await Q(L,{params:o,url:n,route:{id:a.id}})}const G=await Ue(S,C,c);return G?await X({url:n,params:o,branch:C.slice(0,G.idx).concat(G.node),status:R,error:T,route:a}):await je(n,{id:a.id},T,R)}else C.push(void 0);return await X({url:n,params:o,branch:C,status:200,error:null,route:a,form:i?void 0:null})}async function Ue(e,i,n){for(;e--;)if(n[e]){let o=e;for(;!i[o];)o-=1;try{return{idx:o+1,node:{node:await n[e](),loader:n[e],data:{},server:null,universal:null}}}catch{continue}}}async function ie({status:e,error:i,url:n,route:o}){const a={};let c=null;if(t.server_loads[0]===0)try{const y=await Fe(n,[!0]);if(y.type!=="data"||y.nodes[0]&&y.nodes[0].type!=="data")throw 0;c=y.nodes[0]??null}catch{(n.origin!==location.origin||n.pathname!==location.pathname||x)&&await W(n)}const v=await ue({loader:s,url:n,params:a,route:o,parent:()=>Promise.resolve({}),server_data_node:de(c)}),b={node:await d(),loader:d,universal:null,server:null,data:null};return await X({url:n,params:a,branch:[v,b],status:e,error:i,route:null})}function Z(e,i){if(ye(e,J))return;const n=se(e);for(const o of f){const a=o.exec(n);if(a)return{id:e.pathname+e.search,invalidating:i,route:o,params:et(a),url:e}}}function se(e){return Qe(e.pathname.slice(J.length)||"/")}function xe({url:e,type:i,intent:n,delta:o}){let a=!1;const c=He(h,n,e,i);o!==void 0&&(c.navigation.delta=o);const p={...c.navigation,cancel:()=>{a=!0,c.reject(new Error("navigation was cancelled"))}};return U||m.before_navigate.forEach(v=>v(p)),a?null:c}async function ce({url:e,scroll:i,keepfocus:n,redirect_count:o,details:a,type:c,delta:p,nav_token:v={},accepted:b,blocked:y}){var $,C,S;const I=Z(e,!1),A=xe({url:e,type:c,delta:p,intent:I});if(!A){y();return}const P=D;b(),U=!0,j&&F.navigating.set(A.navigation),z=v;let _=I&&await pe(I);if(!_){if(ye(e,J))return await W(e);_=await je(e,{id:null},await Q(new Error(`Not found: ${e.pathname}`),{url:e,params:{},route:{id:null}}),404)}if(e=(I==null?void 0:I.url)||e,z!==v)return A.reject(new Error("navigation was aborted")),!1;if(_.type==="redirect")if(o>=20)_=await ie({status:500,error:await Q(new Error("Redirect loop"),{url:e,params:{},route:{id:null}}),url:e,route:{id:null}});else return re(new URL(_.location,e).href,{},o+1,v),!1;else(($=_.props.page)==null?void 0:$.status)>=400&&await F.updated.check()&&await W(e);if(E.length=0,B=!1,N=!0,be(P),Re(P),(C=_.props.page)!=null&&C.url&&_.props.page.url.pathname!==e.pathname&&(e.pathname=(S=_.props.page)==null?void 0:S.url.pathname),a){const L=a.replaceState?0:1;if(a.state[M]=D+=L,history[a.replaceState?"replaceState":"pushState"](a.state,"",e),!a.replaceState){let R=D+1;for(;ee[R]||K[R];)delete ee[R],delete K[R],R+=1}}if(g=null,j){h=_.state,_.props.page&&(_.props.page.url=e);const L=(await Promise.all(m.on_navigate.map(R=>R(A.navigation)))).filter(R=>typeof R=="function");if(L.length>0){let R=function(){m.after_navigate=m.after_navigate.filter(T=>!L.includes(T))};L.push(R),m.after_navigate.push(...L)}V.$set(_.props)}else Pe(_);const{activeElement:w}=document;if(await we(),k){const L=e.hash&&document.getElementById(decodeURIComponent(e.hash.slice(1)));i?scrollTo(i.x,i.y):L?L.scrollIntoView():scrollTo(0,0)}const O=document.activeElement!==w&&document.activeElement!==document.body;!n&&!O&&Ee(),k=!0,_.props.page&&(q=_.props.page),U=!1,c==="popstate"&&Ae(D),A.fulfil(void 0),m.after_navigate.forEach(L=>L(A.navigation)),F.navigating.set(null),N=!1}async function je(e,i,n,o){return e.origin===location.origin&&e.pathname===location.pathname&&!x?await ie({status:o,error:n,url:e,route:i}):await W(e)}function W(e){return location.href=e.href,new Promise(()=>{})}function Ye(){let e;u.addEventListener("mousemove",c=>{const p=c.target;clearTimeout(e),e=setTimeout(()=>{o(p,2)},20)});function i(c){o(c.composedPath()[0],1)}u.addEventListener("mousedown",i),u.addEventListener("touchstart",i,{passive:!0});const n=new IntersectionObserver(c=>{for(const p of c)p.isIntersecting&&(oe(se(new URL(p.target.href))),n.unobserve(p.target))},{threshold:0});function o(c,p){const v=Ce(c,u);if(!v)return;const{url:b,external:y,download:I}=_e(v,J);if(y||I)return;const A=le(v);if(!A.reload)if(p<=A.preload_data){const P=Z(b,!1);P&&Ie(P)}else p<=A.preload_code&&oe(se(b))}function a(){n.disconnect();for(const c of u.querySelectorAll("a")){const{url:p,external:v,download:b}=_e(c,J);if(v||b)continue;const y=le(c);y.reload||(y.preload_code===Me.viewport&&n.observe(c),y.preload_code===Me.eager&&oe(se(p)))}}m.after_navigate.push(a),a()}function Q(e,i){return e instanceof ne?e.body:t.hooks.handleError({error:e,event:i})??{message:i.route.id!=null?"Internal Error":"Not Found"}}return{after_navigate:e=>{me(()=>(m.after_navigate.push(e),()=>{const i=m.after_navigate.indexOf(e);m.after_navigate.splice(i,1)}))},before_navigate:e=>{me(()=>(m.before_navigate.push(e),()=>{const i=m.before_navigate.indexOf(e);m.before_navigate.splice(i,1)}))},on_navigate:e=>{me(()=>(m.on_navigate.push(e),()=>{const i=m.on_navigate.indexOf(e);m.on_navigate.splice(i,1)}))},disable_scroll_handling:()=>{(N||!j)&&(k=!1)},goto:(e,i={})=>re(e,i,0),invalidate:e=>{if(typeof e=="function")E.push(e);else{const{href:i}=new URL(e,location.href);E.push(n=>n.href===i)}return ke()},invalidate_all:()=>(B=!0,ke()),preload_data:async e=>{const i=new URL(e,De(document)),n=Z(i,!1);if(!n)throw new Error(`Attempted to preload a URL that does not belong to this app: ${i}`);await Ie(n)},preload_code:oe,apply_action:async e=>{if(e.type==="error"){const i=new URL(location.href),{branch:n,route:o}=h;if(!o)return;const a=await Ue(h.branch.length,n,o.errors);if(a){const c=await X({url:i,params:h.params,branch:n.slice(0,a.idx).concat(a.node),status:e.status??500,error:e.error,route:o});h=c.state,V.$set(c.props),we().then(Ee)}}else e.type==="redirect"?re(e.location,{invalidateAll:!0},0):(V.$set({form:null,page:{...q,form:e.data,status:e.status}}),await we(),V.$set({form:e.data}),e.type==="success"&&Ee())},_start_router:()=>{var i;history.scrollRestoration="manual",addEventListener("beforeunload",n=>{let o=!1;if(Le(),!U){const a=He(h,void 0,null,"leave"),c={...a.navigation,cancel:()=>{o=!0,a.reject(new Error("navigation was cancelled"))}};m.before_navigate.forEach(p=>p(c))}o?(n.preventDefault(),n.returnValue=""):history.scrollRestoration="auto"}),addEventListener("visibilitychange",()=>{document.visibilityState==="hidden"&&Le()}),(i=navigator.connection)!=null&&i.saveData||Ye(),u.addEventListener("click",n=>{var P;if(n.button||n.which!==1||n.metaKey||n.ctrlKey||n.shiftKey||n.altKey||n.defaultPrevented)return;const o=Ce(n.composedPath()[0],u);if(!o)return;const{url:a,external:c,target:p,download:v}=_e(o,J);if(!a)return;if(p==="_parent"||p==="_top"){if(window.parent!==window)return}else if(p&&p!=="_self")return;const b=le(o);if(!(o instanceof SVGAElement)&&a.protocol!==location.protocol&&!(a.protocol==="https:"||a.protocol==="http:")||v)return;if(c||b.reload){xe({url:a,type:"link"})?U=!0:n.preventDefault();return}const[I,A]=a.href.split("#");if(A!==void 0&&I===location.href.split("#")[0]){if(h.url.hash===a.hash){n.preventDefault(),(P=o.ownerDocument.getElementById(A))==null||P.scrollIntoView();return}if(H=!0,be(D),e(a),!b.replace_state)return;H=!1,n.preventDefault()}ce({url:a,scroll:b.noscroll?te():null,keepfocus:b.keep_focus??!1,redirect_count:0,details:{state:{},replaceState:b.replace_state??a.href===location.href},accepted:()=>n.preventDefault(),blocked:()=>n.preventDefault(),type:"link"})}),u.addEventListener("submit",n=>{if(n.defaultPrevented)return;const o=HTMLFormElement.prototype.cloneNode.call(n.target),a=n.submitter;if(((a==null?void 0:a.formMethod)||o.method)!=="get")return;const p=new URL((a==null?void 0:a.hasAttribute("formaction"))&&(a==null?void 0:a.formAction)||o.action);if(ye(p,J))return;const v=n.target,{keep_focus:b,noscroll:y,reload:I,replace_state:A}=le(v);if(I)return;n.preventDefault(),n.stopPropagation();const P=new FormData(v),_=a==null?void 0:a.getAttribute("name");_&&P.append(_,(a==null?void 0:a.getAttribute("value"))??""),p.search=new URLSearchParams(P).toString(),ce({url:p,scroll:y?te():null,keepfocus:b??!1,redirect_count:0,details:{state:{},replaceState:A??p.href===location.href},nav_token:{},accepted:()=>{},blocked:()=>{},type:"form"})}),addEventListener("popstate",async n=>{var o;if(z={},(o=n.state)!=null&&o[M]){if(n.state[M]===D)return;const a=K[n.state[M]],c=new URL(location.href);if(h.url.href.split("#")[0]===location.href.split("#")[0]){e(c),K[D]=te(),D=n.state[M],scrollTo(a.x,a.y);return}const p=n.state[M]-D;await ce({url:c,scroll:a,keepfocus:!1,redirect_count:0,details:null,accepted:()=>{D=n.state[M]},blocked:()=>{history.go(-p)},type:"popstate",delta:p,nav_token:z})}else if(!H){const a=new URL(location.href);e(a)}}),addEventListener("hashchange",()=>{H&&(H=!1,history.replaceState({...history.state,[M]:++D},"",location.href))});for(const n of document.querySelectorAll("link"))n.rel==="icon"&&(n.href=n.href);addEventListener("pageshow",n=>{n.persisted&&F.navigating.set(null)});function e(n){h.url=n,F.page.set({...q,url:n}),F.page.notify()}},_hydrate:async({status:e=200,error:i,node_ids:n,params:o,route:a,data:c,form:p})=>{x=!0;const v=new URL(location.href);({params:o={},route:a={id:null}}=Z(v,!1)||{});let b;try{const y=n.map(async(P,_)=>{const w=c[_];return w!=null&&w.uses&&(w.uses=We(w.uses)),ue({loader:t.nodes[P],url:v,params:o,route:a,parent:async()=>{const O={};for(let $=0;$<_;$+=1)Object.assign(O,(await y[$]).data);return O},server_data_node:de(w)})}),I=await Promise.all(y),A=f.find(({id:P})=>P===a.id);if(A){const P=A.layouts;for(let _=0;_<P.length;_++)P[_]||I.splice(_,0,void 0)}b=await X({url:v,params:o,branch:I,status:e,error:i,form:p,route:A??null})}catch(y){if(y instanceof qe){await W(new URL(y.location,location.href));return}b=await ie({status:y instanceof ne?y.status:500,error:await Q(y,{url:v,params:o,route:a}),url:v,route:a})}Pe(b)}}}async function Fe(t,r){const f=new URL(t);f.pathname=ot(t.pathname),t.pathname.endsWith("/")&&f.searchParams.append(At,"1"),f.searchParams.append(Rt,r.map(d=>d?"1":"0").join(""));const s=await Je(f.href);if(!s.ok)throw new ne(s.status,await s.json());return new Promise(async d=>{var h;const u=new Map,E=s.body.getReader(),l=new TextDecoder;function g(x){return bt(x,{Promise:j=>new Promise((k,N)=>{u.set(j,{fulfil:k,reject:N})})})}let m="";for(;;){const{done:x,value:j}=await E.read();if(x&&!m)break;for(m+=!j&&m?`
2
+ `:l.decode(j);;){const k=m.indexOf(`
3
+ `);if(k===-1)break;const N=JSON.parse(m.slice(0,k));if(m=m.slice(k+1),N.type==="redirect")return d(N);if(N.type==="data")(h=N.nodes)==null||h.forEach(U=>{(U==null?void 0:U.type)==="data"&&(U.uses=We(U.uses),U.data=g(U.data))}),d(N);else if(N.type==="chunk"){const{id:U,data:H,error:B}=N,V=u.get(U);u.delete(U),B?V.reject(g(B)):V.fulfil(g(H))}}}})}function We(t){return{dependencies:new Set((t==null?void 0:t.dependencies)??[]),params:new Set((t==null?void 0:t.params)??[]),parent:!!(t!=null&&t.parent),route:!!(t!=null&&t.route),url:!!(t!=null&&t.url)}}function Ee(){const t=document.querySelector("[autofocus]");if(t)t.focus();else{const r=document.body,f=r.getAttribute("tabindex");r.tabIndex=-1,r.focus({preventScroll:!0,focusVisible:!1}),f!==null?r.setAttribute("tabindex",f):r.removeAttribute("tabindex");const s=getSelection();if(s&&s.type!=="None"){const d=[];for(let u=0;u<s.rangeCount;u+=1)d.push(s.getRangeAt(u));setTimeout(()=>{if(s.rangeCount===d.length){for(let u=0;u<s.rangeCount;u+=1){const E=d[u],l=s.getRangeAt(u);if(E.commonAncestorContainer!==l.commonAncestorContainer||E.startContainer!==l.startContainer||E.endContainer!==l.endContainer||E.startOffset!==l.startOffset||E.endOffset!==l.endOffset)return}s.removeAllRanges()}})}}}function He(t,r,f,s){var g,m;let d,u;const E=new Promise((h,x)=>{d=h,u=x});return E.catch(()=>{}),{navigation:{from:{params:t.params,route:{id:((g=t.route)==null?void 0:g.id)??null},url:t.url},to:f&&{params:(r==null?void 0:r.params)??null,route:{id:((m=r==null?void 0:r.route)==null?void 0:m.id)??null},url:f},willUnload:!r,type:s,complete:E},fulfil:d,reject:u}}async function Ot(t,r,f){const s=Lt(t,r);Xe({client:s}),f?await s._hydrate(f):s.goto(location.href,{replaceState:!0}),s._start_router()}export{Ot as start};
@@ -1 +1 @@
1
- import{n as W,k as q,e as m,l as j,c as d,a as g,d as h,o as N,f as p,i as y,g as v,u as w,r as C,v as D,H,j as M,t as P,b as V,h as Q}from"../chunks/scheduler.80902d3b.js";import{S as R,i as U,t as $,b as z}from"../chunks/index.d0e6da70.js";import{e as I}from"../chunks/each.ece37974.js";import{p as B}from"../chunks/stores.a4da01c2.js";import{p as F}from"../chunks/preferences.e389d16d.js";function L(i,e,r){const s=i.slice();return s[5]=e[r][0],s[6]=e[r][1],s}function G(i){let e,r=i[6]+"",s,f;return{c(){e=m("a"),s=P(r),this.h()},l(t){e=d(t,"A",{class:!0,href:!0});var a=g(e);s=V(a,r),a.forEach(h),this.h()},h(){var t;p(e,"class","text-cyan-700"),p(e,"href",f=`${i[5]}${(t=i[0].route.id)!=null&&t.startsWith("/(opengrok-compat)/")?"":i[0].url.search}`)},m(t,a){y(t,e,a),v(e,s)},p(t,a){var o;a&1&&f!==(f=`${t[5]}${(o=t[0].route.id)!=null&&o.startsWith("/(opengrok-compat)/")?"":t[0].url.search}`)&&p(e,"href",f)},d(t){t&&h(e)}}}function J(i){let e=i[6]+"",r;return{c(){r=P(e)},l(s){r=V(s,e)},m(s,f){y(s,r,f)},p:Q,d(s){s&&h(r)}}}function S(i){let e,r;function s(a,o){return a[5]===a[0].url.pathname?J:G}let f=s(i),t=f(i);return{c(){e=m("li"),t.c(),r=j(),this.h()},l(a){e=d(a,"LI",{class:!0});var o=g(e);t.l(o),r=N(o),o.forEach(h),this.h()},h(){p(e,"class","after:content-['•'] after:pl-1 after:pr-2 last:after:content-none")},m(a,o){y(a,e,o),t.m(e,null),v(e,r)},p(a,o){f===(f=s(a))&&t?t.p(a,o):(t.d(1),t=f(a),t&&(t.c(),t.m(e,r)))},d(a){a&&h(e),t.d()}}}function K(i){let e,r,s,f,t,a,o=I(i[1]),n=[];for(let l=0;l<o.length;l+=1)n[l]=S(L(i,o,l));const k=i[4].default,u=q(k,i,i[3],null);return{c(){e=m("div"),r=m("nav"),s=m("ul");for(let l=0;l<n.length;l+=1)n[l].c();f=j(),t=m("main"),u&&u.c(),this.h()},l(l){e=d(l,"DIV",{class:!0});var _=g(e);r=d(_,"NAV",{class:!0});var c=g(r);s=d(c,"UL",{class:!0});var b=g(s);for(let E=0;E<n.length;E+=1)n[E].l(b);b.forEach(h),c.forEach(h),f=N(_),t=d(_,"MAIN",{});var A=g(t);u&&u.l(A),A.forEach(h),_.forEach(h),this.h()},h(){p(s,"class","flex justify-center text-xs gap-y-2 flex-wrap"),p(r,"class","pb-12"),p(e,"class","container mx-auto px-2 py-4")},m(l,_){y(l,e,_),v(e,r),v(r,s);for(let c=0;c<n.length;c+=1)n[c]&&n[c].m(s,null);v(e,f),v(e,t),u&&u.m(t,null),a=!0},p(l,[_]){if(_&3){o=I(l[1]);let c;for(c=0;c<o.length;c+=1){const b=L(l,o,c);n[c]?n[c].p(b,_):(n[c]=S(b),n[c].c(),n[c].m(s,null))}for(;c<n.length;c+=1)n[c].d(1);n.length=o.length}u&&u.p&&(!a||_&8)&&w(u,k,l,l[3],a?D(k,l[3],_,null):C(l[3]),null)},i(l){a||($(u,l),a=!0)},o(l){z(u,l),a=!1},d(l){l&&h(e),H(n,l),u&&u.d(l)}}}function O(i,e,r){let s;M(i,B,n=>r(0,s=n));let{$$slots:f={},$$scope:t}=e;const a=[["/","Search"],["/repositories","Repositories"],["/syntax","Query Syntax"],["/about","About"],["/preferences","Preferences"]];let{data:o}=e;return F(o.preferences),i.$$set=n=>{"data"in n&&r(2,o=n.data),"$$scope"in n&&r(3,t=n.$$scope)},[s,a,o,t,f]}class ee extends R{constructor(e){super(),U(this,e,O,K,W,{data:2})}}export{ee as component};
1
+ import{n as W,k as q,e as m,l as j,c as d,a as g,d as h,o as N,f as p,i as y,g as v,u as w,r as C,v as D,H,j as M,t as P,b as V,h as Q}from"../chunks/scheduler.80902d3b.js";import{S as R,i as U,t as $,b as z}from"../chunks/index.d0e6da70.js";import{e as I}from"../chunks/each.ece37974.js";import{p as B}from"../chunks/stores.3502de9e.js";import{p as F}from"../chunks/preferences.e389d16d.js";function L(i,e,r){const s=i.slice();return s[5]=e[r][0],s[6]=e[r][1],s}function G(i){let e,r=i[6]+"",s,f;return{c(){e=m("a"),s=P(r),this.h()},l(t){e=d(t,"A",{class:!0,href:!0});var a=g(e);s=V(a,r),a.forEach(h),this.h()},h(){var t;p(e,"class","text-cyan-700"),p(e,"href",f=`${i[5]}${(t=i[0].route.id)!=null&&t.startsWith("/(opengrok-compat)/")?"":i[0].url.search}`)},m(t,a){y(t,e,a),v(e,s)},p(t,a){var o;a&1&&f!==(f=`${t[5]}${(o=t[0].route.id)!=null&&o.startsWith("/(opengrok-compat)/")?"":t[0].url.search}`)&&p(e,"href",f)},d(t){t&&h(e)}}}function J(i){let e=i[6]+"",r;return{c(){r=P(e)},l(s){r=V(s,e)},m(s,f){y(s,r,f)},p:Q,d(s){s&&h(r)}}}function S(i){let e,r;function s(a,o){return a[5]===a[0].url.pathname?J:G}let f=s(i),t=f(i);return{c(){e=m("li"),t.c(),r=j(),this.h()},l(a){e=d(a,"LI",{class:!0});var o=g(e);t.l(o),r=N(o),o.forEach(h),this.h()},h(){p(e,"class","after:content-['•'] after:pl-1 after:pr-2 last:after:content-none")},m(a,o){y(a,e,o),t.m(e,null),v(e,r)},p(a,o){f===(f=s(a))&&t?t.p(a,o):(t.d(1),t=f(a),t&&(t.c(),t.m(e,r)))},d(a){a&&h(e),t.d()}}}function K(i){let e,r,s,f,t,a,o=I(i[1]),n=[];for(let l=0;l<o.length;l+=1)n[l]=S(L(i,o,l));const k=i[4].default,u=q(k,i,i[3],null);return{c(){e=m("div"),r=m("nav"),s=m("ul");for(let l=0;l<n.length;l+=1)n[l].c();f=j(),t=m("main"),u&&u.c(),this.h()},l(l){e=d(l,"DIV",{class:!0});var _=g(e);r=d(_,"NAV",{class:!0});var c=g(r);s=d(c,"UL",{class:!0});var b=g(s);for(let E=0;E<n.length;E+=1)n[E].l(b);b.forEach(h),c.forEach(h),f=N(_),t=d(_,"MAIN",{});var A=g(t);u&&u.l(A),A.forEach(h),_.forEach(h),this.h()},h(){p(s,"class","flex justify-center text-xs gap-y-2 flex-wrap"),p(r,"class","pb-12"),p(e,"class","container mx-auto px-2 py-4")},m(l,_){y(l,e,_),v(e,r),v(r,s);for(let c=0;c<n.length;c+=1)n[c]&&n[c].m(s,null);v(e,f),v(e,t),u&&u.m(t,null),a=!0},p(l,[_]){if(_&3){o=I(l[1]);let c;for(c=0;c<o.length;c+=1){const b=L(l,o,c);n[c]?n[c].p(b,_):(n[c]=S(b),n[c].c(),n[c].m(s,null))}for(;c<n.length;c+=1)n[c].d(1);n.length=o.length}u&&u.p&&(!a||_&8)&&w(u,k,l,l[3],a?D(k,l[3],_,null):C(l[3]),null)},i(l){a||($(u,l),a=!0)},o(l){z(u,l),a=!1},d(l){l&&h(e),H(n,l),u&&u.d(l)}}}function O(i,e,r){let s;M(i,B,n=>r(0,s=n));let{$$slots:f={},$$scope:t}=e;const a=[["/","Search"],["/repositories","Repositories"],["/syntax","Query Syntax"],["/about","About"],["/preferences","Preferences"]];let{data:o}=e;return F(o.preferences),i.$$set=n=>{"data"in n&&r(2,o=n.data),"$$scope"in n&&r(3,t=n.$$scope)},[s,a,o,t,f]}class ee extends R{constructor(e){super(),U(this,e,O,K,W,{data:2})}}export{ee as component};
@@ -1 +1 @@
1
- import{n as g,e as x,t as c,c as v,a as b,b as m,d as f,f as $,i as E,g as p,s as _,h as d,j as S}from"../chunks/scheduler.80902d3b.js";import{S as j,i as q}from"../chunks/index.d0e6da70.js";import{p as y}from"../chunks/stores.a4da01c2.js";function C(n){var h;let t,a=n[0].status+"",r,o,i=((h=n[0].error)==null?void 0:h.message)+"",l;return{c(){t=x("h1"),r=c(a),o=c(" - "),l=c(i),this.h()},l(s){t=v(s,"H1",{class:!0});var e=b(t);r=m(e,a),o=m(e," - "),l=m(e,i),e.forEach(f),this.h()},h(){$(t,"class","text-center text-xl")},m(s,e){E(s,t,e),p(t,r),p(t,o),p(t,l)},p(s,[e]){var u;e&1&&a!==(a=s[0].status+"")&&_(r,a),e&1&&i!==(i=((u=s[0].error)==null?void 0:u.message)+"")&&_(l,i)},i:d,o:d,d(s){s&&f(t)}}}function H(n,t,a){let r;return S(n,y,o=>a(0,r=o)),[r]}class A extends j{constructor(t){super(),q(this,t,H,C,g,{})}}export{A as component};
1
+ import{n as g,e as x,t as c,c as v,a as b,b as m,d as f,f as $,i as E,g as p,s as _,h as d,j as S}from"../chunks/scheduler.80902d3b.js";import{S as j,i as q}from"../chunks/index.d0e6da70.js";import{p as y}from"../chunks/stores.3502de9e.js";function C(n){var h;let t,a=n[0].status+"",r,o,i=((h=n[0].error)==null?void 0:h.message)+"",l;return{c(){t=x("h1"),r=c(a),o=c(" - "),l=c(i),this.h()},l(s){t=v(s,"H1",{class:!0});var e=b(t);r=m(e,a),o=m(e," - "),l=m(e,i),e.forEach(f),this.h()},h(){$(t,"class","text-center text-xl")},m(s,e){E(s,t,e),p(t,r),p(t,o),p(t,l)},p(s,[e]){var u;e&1&&a!==(a=s[0].status+"")&&_(r,a),e&1&&i!==(i=((u=s[0].error)==null?void 0:u.message)+"")&&_(l,i)},i:d,o:d,d(s){s&&f(t)}}}function H(n,t,a){let r;return S(n,y,o=>a(0,r=o)),[r]}class A extends j{constructor(t){super(),q(this,t,H,C,g,{})}}export{A as component};
@@ -1,4 +1,4 @@
1
- import{d as vs}from"../chunks/index.81a0017d.js";import{p as is,n as us}from"../chunks/stores.a4da01c2.js";import{g as ys,I as fs,a as cs,b as hs,T as ks}from"../chunks/toggle-search-type.f1a3061d.js";import{$ as Gl,n as Ne,a2 as Zt,a7 as Nn,k as ms,u as ps,r as _s,v as gs,e as p,c as _,a as k,d as m,f as g,i as z,q as Kt,j as Je,a8 as xs,w as Sn,l as $,o as b,p as D,g as o,y as Jl,a0 as ws,z as bl,A as Cs,a1 as Es,t as H,b as j,s as te,h as rn,J as ke,H as kl,I as Ln,m as qs}from"../chunks/scheduler.80902d3b.js";import{S as Pe,i as Ie,c as N,a as P,m as I,t as x,b as w,d as A,f as vl,g as zt,e as Rt}from"../chunks/index.d0e6da70.js";import{c as ds,d as Ls,b as Ss}from"../chunks/preferences.e389d16d.js";import{I as yl}from"../chunks/integer-input.e86d05ad.js";import{c as Kl}from"../chunks/input-colors.e7674f0c.js";import{L as sn}from"../chunks/link.70630bff.js";import{E as Z}from"../chunks/example-query.ac8ef50a.js";import{e as Ke,u as Ns,o as Ps}from"../chunks/each.ece37974.js";const Wt=Object.freeze({contextLines:1,files:20,matches:500}),xl=r=>{const e=Number.parseInt(r.get("contextLines")??"",10),n=Number.parseInt(r.get("files")??"",10),t=Number.parseInt(r.get("matches")??"",10),l=r.get("q")||void 0,s=e>=0?e:Wt.contextLines,a=n>0?n:Wt.files,f=t>=0?t:Wt.matches;return{query:l,contextLines:s,files:a,matches:f}},Pn=vs(is,r=>xl(r.url.searchParams));let Wl=0;const ln=({query:r,contextLines:e,files:n,matches:t,searchType:l})=>{var d,c;const s=((c=(d=Gl(us))==null?void 0:d.to)==null?void 0:c.url)??Gl(is).url,a=xl(s.searchParams),f=r!==void 0&&(r||void 0)!==a.query,i=e!==void 0&&e>=0&&e!==a.contextLines,u=n!==void 0&&n>=0&&n!==a.files,h=t!==void 0&&t>=0&&t!==a.matches;if(f||i||u||h){const v=Date.now(),C=new URL(s);f&&r?C.searchParams.set("q",r):f&&C.searchParams.delete("q"),i&&e===Wt.contextLines?C.searchParams.delete("contextLines"):i&&C.searchParams.set("contextLines",e.toString()),u&&n===Wt.files?C.searchParams.delete("files"):u&&C.searchParams.set("files",n.toString()),h&&t===Wt.matches?C.searchParams.delete("matches"):h&&C.searchParams.set("matches",t.toString()),ys(C,{replaceState:l==="live"&&v-Wl<2e3,keepFocus:!0,noScroll:!0}),Wl=v}},Is=async({url:r,fetch:e})=>({searchOutcome:await As(r,e)}),As=async(r,e)=>{const{query:n,...t}=xl(new URL(r).searchParams);if(n===void 0)return{kind:"none"};try{const s=await(await e("/api/search",{method:"POST",body:JSON.stringify({query:n,...t}),headers:{"content-type":"application/json"}})).json();return s.kind==="success"?{kind:"success",results:s.results}:s}catch(l){return console.error("Search failed",l),{kind:"error",error:String(l)}}},zr=Object.freeze(Object.defineProperty({__proto__:null,load:Is},Symbol.toStringTag,{value:"Module"}));function Ts(r){let e;const n=r[2].default,t=ms(n,r,r[3],null);return{c(){t&&t.c()},l(l){t&&t.l(l)},m(l,s){t&&t.m(l,s),e=!0},p(l,s){t&&t.p&&(!e||s&8)&&ps(t,n,l,l[3],e?gs(n,l[3],s,null):_s(l[3]),null)},i(l){e||(x(t,l),e=!0)},o(l){w(t,l),e=!1},d(l){t&&t.d(l)}}}function Ms(r){let e,n;const t=[{name:"chevron-right"},r[1],{iconNode:r[0]}];let l={$$slots:{default:[Ts]},$$scope:{ctx:r}};for(let s=0;s<t.length;s+=1)l=Zt(l,t[s]);return e=new fs({props:l}),{c(){N(e.$$.fragment)},l(s){P(e.$$.fragment,s)},m(s,a){I(e,s,a),n=!0},p(s,[a]){const f=a&3?cs(t,[t[0],a&2&&hs(s[1]),a&1&&{iconNode:s[0]}]):{};a&8&&(f.$$scope={dirty:a,ctx:s}),e.$set(f)},i(s){n||(x(e.$$.fragment,s),n=!0)},o(s){w(e.$$.fragment,s),n=!1},d(s){A(e,s)}}}function Os(r,e,n){let{$$slots:t={},$$scope:l}=e;const s=[["polyline",{points:"9 18 15 12 9 6"}]];return r.$$set=a=>{n(1,e=Zt(Zt({},e),Nn(a))),"$$scope"in a&&n(3,l=a.$$scope)},e=Nn(e),[s,e,t,l]}class Hs extends Pe{constructor(e){super(),Ie(this,e,Os,Ms,Ne,{})}}const js=Hs;function Us(r){let e;const n=r[2].default,t=ms(n,r,r[3],null);return{c(){t&&t.c()},l(l){t&&t.l(l)},m(l,s){t&&t.m(l,s),e=!0},p(l,s){t&&t.p&&(!e||s&8)&&ps(t,n,l,l[3],e?gs(n,l[3],s,null):_s(l[3]),null)},i(l){e||(x(t,l),e=!0)},o(l){w(t,l),e=!1},d(l){t&&t.d(l)}}}function zs(r){let e,n;const t=[{name:"list-ordered"},r[1],{iconNode:r[0]}];let l={$$slots:{default:[Us]},$$scope:{ctx:r}};for(let s=0;s<t.length;s+=1)l=Zt(l,t[s]);return e=new fs({props:l}),{c(){N(e.$$.fragment)},l(s){P(e.$$.fragment,s)},m(s,a){I(e,s,a),n=!0},p(s,[a]){const f=a&3?cs(t,[t[0],a&2&&hs(s[1]),a&1&&{iconNode:s[0]}]):{};a&8&&(f.$$scope={dirty:a,ctx:s}),e.$set(f)},i(s){n||(x(e.$$.fragment,s),n=!0)},o(s){w(e.$$.fragment,s),n=!1},d(s){A(e,s)}}}function Rs(r,e,n){let{$$slots:t={},$$scope:l}=e;const s=[["line",{x1:"10",x2:"21",y1:"6",y2:"6"}],["line",{x1:"10",x2:"21",y1:"12",y2:"12"}],["line",{x1:"10",x2:"21",y1:"18",y2:"18"}],["path",{d:"M4 6h1v4"}],["path",{d:"M4 10h2"}],["path",{d:"M6 18H4c0-1 2-2 2-3s-1-1.5-2-1"}]];return r.$$set=a=>{n(1,e=Zt(Zt({},e),Nn(a))),"$$scope"in a&&n(3,l=a.$$scope)},e=Nn(e),[s,e,t,l]}class Ds extends Pe{constructor(e){super(),Ie(this,e,Rs,zs,Ne,{})}}const Bs=Ds;function Qs(r){let e,n,t,l,s,a,f;return n=new Bs({props:{class:"inline",size:18,color:r[0]==="line-number"?"white":"black",strokeWidth:1,fill:r[0]==="line-number"?"white":"black"}}),{c(){e=p("button"),N(n.$$.fragment),this.h()},l(i){e=_(i,"BUTTON",{class:!0,title:!0});var u=k(e);P(n.$$.fragment,u),u.forEach(m),this.h()},h(){g(e,"class",t=`rounded w-6 grid place-items-center ${r[0]==="line-number"?"bg-sky-500 hover:bg-slate-500":"hover:bg-slate-300"}`),g(e,"title",l=r[0]==="line-number"?"sort matches by score":"sort matches by line number")},m(i,u){z(i,e,u),I(n,e,null),s=!0,a||(f=Kt(e,"click",r[2]),a=!0)},p(i,[u]){const h={};u&1&&(h.color=i[0]==="line-number"?"white":"black"),u&1&&(h.fill=i[0]==="line-number"?"white":"black"),n.$set(h),(!s||u&1&&t!==(t=`rounded w-6 grid place-items-center ${i[0]==="line-number"?"bg-sky-500 hover:bg-slate-500":"hover:bg-slate-300"}`))&&g(e,"class",t),(!s||u&1&&l!==(l=i[0]==="line-number"?"sort matches by score":"sort matches by line number"))&&g(e,"title",l)},i(i){s||(x(n.$$.fragment,i),s=!0)},o(i){w(n.$$.fragment,i),s=!1},d(i){i&&m(e),A(n),a=!1,f()}}}function Fs(r,e,n){let t;const l=ds();return Je(r,l,a=>n(0,t=a)),[t,l,()=>{xs(l,t=t==="line-number"?"score":"line-number",t)}]}class Vs extends Pe{constructor(e){super(),Ie(this,e,Fs,Qs,Ne,{})}}function Zl(r){let e,n;return{c(){e=p("span"),n=H(r[0]),this.h()},l(t){e=_(t,"SPAN",{class:!0});var l=k(e);n=j(l,r[0]),l.forEach(m),this.h()},h(){g(e,"class","text-xs text-red-500")},m(t,l){z(t,e,l),o(e,n)},p(t,l){l&1&&te(n,t[0])},d(t){t&&m(e)}}}function Gs(r){let e,n,t,l,s,a,f="query",i,u,h,d,c,v,C,U,T,M,q,F="context",ne,Q,he,re,G,le,oe="files",$e,L,ge,me,se,Y,pe="matches",J,X,de,K,B,ie,Me;c=new ks({}),C=new Vs({});function S(O){r[17](O)}let E={id:"context",pending:r[8]};r[2]!==void 0&&(E.value=r[2]),Q=new yl({props:E}),Sn.push(()=>vl(Q,"value",S)),Q.$on("change",r[18]);function R(O){r[19](O)}let ce={id:"files",kind:"positive",pending:r[7]};r[3]!==void 0&&(ce.value=r[3]),L=new yl({props:ce}),Sn.push(()=>vl(L,"value",R)),L.$on("change",r[20]);function we(O){r[21](O)}let _e={id:"matches",kind:"positive",pending:r[6]};r[4]!==void 0&&(_e.value=r[4]),X=new yl({props:_e}),Sn.push(()=>vl(X,"value",we)),X.$on("change",r[22]);let W=r[0]!==null&&Zl(r);return{c(){e=p("form"),n=p("input"),t=$(),l=p("div"),s=p("label"),a=p("span"),a.textContent=f,i=$(),u=p("span"),h=p("input"),d=$(),N(c.$$.fragment),v=$(),N(C.$$.fragment),T=$(),M=p("label"),q=p("span"),q.textContent=F,ne=$(),N(Q.$$.fragment),re=$(),G=p("label"),le=p("span"),le.textContent=oe,$e=$(),N(L.$$.fragment),me=$(),se=p("label"),Y=p("span"),Y.textContent=pe,J=$(),N(X.$$.fragment),K=$(),W&&W.c(),this.h()},l(O){e=_(O,"FORM",{});var V=k(e);n=_(V,"INPUT",{type:!0,class:!0}),t=b(V),l=_(V,"DIV",{class:!0});var ee=k(l);s=_(ee,"LABEL",{for:!0,class:!0});var be=k(s);a=_(be,"SPAN",{class:!0,"data-svelte-h":!0}),D(a)!=="svelte-14opivx"&&(a.textContent=f),i=b(be),u=_(be,"SPAN",{class:!0});var ae=k(u);h=_(ae,"INPUT",{id:!0,type:!0,spellcheck:!0,autocorrect:!0,autocapitalize:!0,autocomplete:!0,class:!0}),d=b(ae),P(c.$$.fragment,ae),v=b(ae),P(C.$$.fragment,ae),ae.forEach(m),be.forEach(m),T=b(ee),M=_(ee,"LABEL",{for:!0,class:!0});var We=k(M);q=_(We,"SPAN",{class:!0,"data-svelte-h":!0}),D(q)!=="svelte-1nbzu36"&&(q.textContent=F),ne=b(We),P(Q.$$.fragment,We),We.forEach(m),re=b(ee),G=_(ee,"LABEL",{for:!0,class:!0});var Oe=k(G);le=_(Oe,"SPAN",{class:!0,"data-svelte-h":!0}),D(le)!=="svelte-1pt1x6a"&&(le.textContent=oe),$e=b(Oe),P(L.$$.fragment,Oe),Oe.forEach(m),me=b(ee),se=_(ee,"LABEL",{for:!0,class:!0});var ve=k(se);Y=_(ve,"SPAN",{class:!0,"data-svelte-h":!0}),D(Y)!=="svelte-1hdyrgs"&&(Y.textContent=pe),J=b(ve),P(X.$$.fragment,ve),ve.forEach(m),ee.forEach(m),K=b(V),W&&W.l(V),V.forEach(m),this.h()},h(){g(n,"type","submit"),g(n,"class","hidden"),g(a,"class","text-xs px-1 text-gray-500"),g(h,"id","query"),g(h,"type","search"),h.autofocus=!0,g(h,"spellcheck",!1),g(h,"autocorrect","off"),g(h,"autocapitalize","off"),g(h,"autocomplete","off"),g(h,"class","font-mono focus:outline-none flex-auto appearance-none"),g(u,"class",U=`flex flex-auto p-1 border shadow-sm space-x-1 ${Kl({error:r[0]!==null,pending:r[9]})}`),g(s,"for","query"),g(s,"class","flex-auto flex flex-col space-y-0.5"),g(q,"class","text-xs px-1 text-gray-500"),g(M,"for","context"),g(M,"class","flex flex-col space-y-0.5"),g(le,"class","text-xs px-1 text-gray-500"),g(G,"for","files"),g(G,"class","flex flex-col space-y-0.5"),g(Y,"class","text-xs px-1 text-gray-500"),g(se,"for","matches"),g(se,"class","flex flex-col space-y-0.5"),g(l,"class","flex flex-wrap gap-y-2 justify-center whitespace-nowrap")},m(O,V){z(O,e,V),o(e,n),o(e,t),o(e,l),o(l,s),o(s,a),o(s,i),o(s,u),o(u,h),Jl(h,r[1]),o(u,d),I(c,u,null),o(u,v),I(C,u,null),o(l,T),o(l,M),o(M,q),o(M,ne),I(Q,M,null),o(l,re),o(l,G),o(G,le),o(G,$e),I(L,G,null),o(l,me),o(l,se),o(se,Y),o(se,J),I(X,se,null),o(e,K),W&&W.m(e,null),B=!0,h.focus(),ie||(Me=[Kt(h,"input",r[15]),Kt(h,"input",r[16]),Kt(e,"submit",ws(r[23]))],ie=!0)},p(O,[V]){V&2&&h.value!==O[1]&&Jl(h,O[1]),(!B||V&513&&U!==(U=`flex flex-auto p-1 border shadow-sm space-x-1 ${Kl({error:O[0]!==null,pending:O[9]})}`))&&g(u,"class",U);const ee={};V&256&&(ee.pending=O[8]),!he&&V&4&&(he=!0,ee.value=O[2],bl(()=>he=!1)),Q.$set(ee);const be={};V&128&&(be.pending=O[7]),!ge&&V&8&&(ge=!0,be.value=O[3],bl(()=>ge=!1)),L.$set(be);const ae={};V&64&&(ae.pending=O[6]),!de&&V&16&&(de=!0,ae.value=O[4],bl(()=>de=!1)),X.$set(ae),O[0]!==null?W?W.p(O,V):(W=Zl(O),W.c(),W.m(e,null)):W&&(W.d(1),W=null)},i(O){B||(x(c.$$.fragment,O),x(C.$$.fragment,O),x(Q.$$.fragment,O),x(L.$$.fragment,O),x(X.$$.fragment,O),B=!0)},o(O){w(c.$$.fragment,O),w(C.$$.fragment,O),w(Q.$$.fragment,O),w(L.$$.fragment,O),w(X.$$.fragment,O),B=!1},d(O){O&&m(e),A(c),A(C),A(Q),A(L),A(X),W&&W.d(),ie=!1,Cs(Me)}}}function Js(r,e,n){let t,l,s,a,f,i,u;Je(r,Pn,L=>n(13,f=L)),Je(r,us,L=>n(14,i=L));let{queryError:h=null}=e;const d=Ls();Je(r,d,L=>n(5,u=L));let c,v,C,U;const T=Pn.subscribe(L=>{(i==null?void 0:i.type)!=="goto"&&n(1,{query:c,contextLines:v,files:C,matches:U}=L,c,n(2,v),n(3,C),n(4,U))});Es(T);const M=()=>{ln({query:c,contextLines:v,files:C,matches:U,searchType:u})};let q;function F(){c=this.value,n(1,c)}const ne=()=>{u==="live"&&ln({query:c,searchType:u})};function Q(L){v=L,n(2,v)}const he=L=>{u==="live"&&ln({contextLines:L.detail,searchType:u})};function re(L){C=L,n(3,C)}const G=L=>{u==="live"&&ln({files:L.detail,searchType:u})};function le(L){U=L,n(4,U)}const oe=L=>{u==="live"&&ln({matches:L.detail,searchType:u})},$e=()=>{u==="manual"&&M()};return r.$$set=L=>{"queryError"in L&&n(0,h=L.queryError)},r.$$.update=()=>{r.$$.dirty&4128&&(u==="live"&&q==="manual"&&M(),n(12,q=u)),r.$$.dirty&24578&&n(9,t=i===null&&(f.query??"")!==(c??"")),r.$$.dirty&24580&&n(8,l=i===null&&f.contextLines!==v),r.$$.dirty&24584&&n(7,s=i===null&&f.files!==C),r.$$.dirty&24592&&n(6,a=i===null&&f.matches!==U)},[h,c,v,C,U,u,a,s,l,t,d,M,q,f,i,F,ne,Q,he,re,G,le,oe,$e]}class Ks extends Pe{constructor(e){super(),Ie(this,e,Js,Gs,Ne,{queryError:0})}}function Ws(r){let e,n="or, learn the query syntax from the ground up";return{c(){e=p("span"),e.textContent=n,this.h()},l(t){e=_(t,"SPAN",{class:!0,"data-svelte-h":!0}),D(e)!=="svelte-2dyn7y"&&(e.textContent=n),this.h()},h(){g(e,"class","text-xs")},m(t,l){z(t,e,l)},p:rn,d(t){t&&m(e)}}}function Zs(r){let e;return{c(){e=H("universal-ctags")},l(n){e=j(n,"universal-ctags")},m(n,t){z(n,e,t)},d(n){n&&m(e)}}}function Xs(r){let e;return{c(){e=H("expression")},l(n){e=j(n,"expression")},m(n,t){z(n,e,t)},d(n){n&&m(e)}}}function Ys(r){let e;return{c(){e=H("expressions")},l(n){e=j(n,"expressions")},m(n,t){z(n,e,t)},d(n){n&&m(e)}}}function er(r){let e,n="ɴᴇᴏɢʀᴏᴋ",t,l,s,a,f="query examples",i,u,h,d,c,v,C="Every query is regex",U,T,M,q,F,ne,Q="dot is a wildcard",he,re,G,le,oe,$e="escaped dot is a dot",L,ge,me,se,Y,pe,J,X,de="multiline search!",K,B,ie,Me="Filter results by...",S,E,R,ce,we,_e,W="(or <code>f:</code>)",O,V,ee,be,ae,We="(or <code>r:</code>)",Oe,ve,Ze,In,Xe,Cl="(or <code>b:</code>)",An,Xt,Ye,Tn,He,et,El="Exclude certain kinds of repositories",Mn,Ce,tt,nt,On,lt,ql="(or <code>yes</code>)",Hn,st,rt,jn,at,Ll="(or <code>yes</code>)",Un,ot,it,zn,ut,Sl="(or <code>yes</code>)",Rn,Ee,ft,Nl="Search for symbol definitions",Dn,je,Bn,Ue,Qn,Fn,ze,Yt,ct,Vn,en,ht,Gn,qe,mt,Pl="Automatic case sensitivity",Jn,pt,Il=`If a query is all-lowercase, it is case insensitive by default;
1
+ import{d as vs}from"../chunks/index.81a0017d.js";import{p as is,n as us}from"../chunks/stores.3502de9e.js";import{g as ys,I as fs,a as cs,b as hs,T as ks}from"../chunks/toggle-search-type.0b816276.js";import{$ as Gl,n as Ne,a2 as Zt,a7 as Nn,k as ms,u as ps,r as _s,v as gs,e as p,c as _,a as k,d as m,f as g,i as z,q as Kt,j as Je,a8 as xs,w as Sn,l as $,o as b,p as D,g as o,y as Jl,a0 as ws,z as bl,A as Cs,a1 as Es,t as H,b as j,s as te,h as rn,J as ke,H as kl,I as Ln,m as qs}from"../chunks/scheduler.80902d3b.js";import{S as Pe,i as Ie,c as N,a as P,m as I,t as x,b as w,d as A,f as vl,g as zt,e as Rt}from"../chunks/index.d0e6da70.js";import{c as ds,d as Ls,b as Ss}from"../chunks/preferences.e389d16d.js";import{I as yl}from"../chunks/integer-input.e86d05ad.js";import{c as Kl}from"../chunks/input-colors.e7674f0c.js";import{L as sn}from"../chunks/link.70630bff.js";import{E as Z}from"../chunks/example-query.ac8ef50a.js";import{e as Ke,u as Ns,o as Ps}from"../chunks/each.ece37974.js";const Wt=Object.freeze({contextLines:1,files:20,matches:500}),xl=r=>{const e=Number.parseInt(r.get("contextLines")??"",10),n=Number.parseInt(r.get("files")??"",10),t=Number.parseInt(r.get("matches")??"",10),l=r.get("q")||void 0,s=e>=0?e:Wt.contextLines,a=n>0?n:Wt.files,f=t>=0?t:Wt.matches;return{query:l,contextLines:s,files:a,matches:f}},Pn=vs(is,r=>xl(r.url.searchParams));let Wl=0;const ln=({query:r,contextLines:e,files:n,matches:t,searchType:l})=>{var d,c;const s=((c=(d=Gl(us))==null?void 0:d.to)==null?void 0:c.url)??Gl(is).url,a=xl(s.searchParams),f=r!==void 0&&(r||void 0)!==a.query,i=e!==void 0&&e>=0&&e!==a.contextLines,u=n!==void 0&&n>=0&&n!==a.files,h=t!==void 0&&t>=0&&t!==a.matches;if(f||i||u||h){const v=Date.now(),C=new URL(s);f&&r?C.searchParams.set("q",r):f&&C.searchParams.delete("q"),i&&e===Wt.contextLines?C.searchParams.delete("contextLines"):i&&C.searchParams.set("contextLines",e.toString()),u&&n===Wt.files?C.searchParams.delete("files"):u&&C.searchParams.set("files",n.toString()),h&&t===Wt.matches?C.searchParams.delete("matches"):h&&C.searchParams.set("matches",t.toString()),ys(C,{replaceState:l==="live"&&v-Wl<2e3,keepFocus:!0,noScroll:!0}),Wl=v}},Is=async({url:r,fetch:e})=>({searchOutcome:await As(r,e)}),As=async(r,e)=>{const{query:n,...t}=xl(new URL(r).searchParams);if(n===void 0)return{kind:"none"};try{const s=await(await e("/api/search",{method:"POST",body:JSON.stringify({query:n,...t}),headers:{"content-type":"application/json"}})).json();return s.kind==="success"?{kind:"success",results:s.results}:s}catch(l){return console.error("Search failed",l),{kind:"error",error:String(l)}}},zr=Object.freeze(Object.defineProperty({__proto__:null,load:Is},Symbol.toStringTag,{value:"Module"}));function Ts(r){let e;const n=r[2].default,t=ms(n,r,r[3],null);return{c(){t&&t.c()},l(l){t&&t.l(l)},m(l,s){t&&t.m(l,s),e=!0},p(l,s){t&&t.p&&(!e||s&8)&&ps(t,n,l,l[3],e?gs(n,l[3],s,null):_s(l[3]),null)},i(l){e||(x(t,l),e=!0)},o(l){w(t,l),e=!1},d(l){t&&t.d(l)}}}function Ms(r){let e,n;const t=[{name:"chevron-right"},r[1],{iconNode:r[0]}];let l={$$slots:{default:[Ts]},$$scope:{ctx:r}};for(let s=0;s<t.length;s+=1)l=Zt(l,t[s]);return e=new fs({props:l}),{c(){N(e.$$.fragment)},l(s){P(e.$$.fragment,s)},m(s,a){I(e,s,a),n=!0},p(s,[a]){const f=a&3?cs(t,[t[0],a&2&&hs(s[1]),a&1&&{iconNode:s[0]}]):{};a&8&&(f.$$scope={dirty:a,ctx:s}),e.$set(f)},i(s){n||(x(e.$$.fragment,s),n=!0)},o(s){w(e.$$.fragment,s),n=!1},d(s){A(e,s)}}}function Os(r,e,n){let{$$slots:t={},$$scope:l}=e;const s=[["polyline",{points:"9 18 15 12 9 6"}]];return r.$$set=a=>{n(1,e=Zt(Zt({},e),Nn(a))),"$$scope"in a&&n(3,l=a.$$scope)},e=Nn(e),[s,e,t,l]}class Hs extends Pe{constructor(e){super(),Ie(this,e,Os,Ms,Ne,{})}}const js=Hs;function Us(r){let e;const n=r[2].default,t=ms(n,r,r[3],null);return{c(){t&&t.c()},l(l){t&&t.l(l)},m(l,s){t&&t.m(l,s),e=!0},p(l,s){t&&t.p&&(!e||s&8)&&ps(t,n,l,l[3],e?gs(n,l[3],s,null):_s(l[3]),null)},i(l){e||(x(t,l),e=!0)},o(l){w(t,l),e=!1},d(l){t&&t.d(l)}}}function zs(r){let e,n;const t=[{name:"list-ordered"},r[1],{iconNode:r[0]}];let l={$$slots:{default:[Us]},$$scope:{ctx:r}};for(let s=0;s<t.length;s+=1)l=Zt(l,t[s]);return e=new fs({props:l}),{c(){N(e.$$.fragment)},l(s){P(e.$$.fragment,s)},m(s,a){I(e,s,a),n=!0},p(s,[a]){const f=a&3?cs(t,[t[0],a&2&&hs(s[1]),a&1&&{iconNode:s[0]}]):{};a&8&&(f.$$scope={dirty:a,ctx:s}),e.$set(f)},i(s){n||(x(e.$$.fragment,s),n=!0)},o(s){w(e.$$.fragment,s),n=!1},d(s){A(e,s)}}}function Rs(r,e,n){let{$$slots:t={},$$scope:l}=e;const s=[["line",{x1:"10",x2:"21",y1:"6",y2:"6"}],["line",{x1:"10",x2:"21",y1:"12",y2:"12"}],["line",{x1:"10",x2:"21",y1:"18",y2:"18"}],["path",{d:"M4 6h1v4"}],["path",{d:"M4 10h2"}],["path",{d:"M6 18H4c0-1 2-2 2-3s-1-1.5-2-1"}]];return r.$$set=a=>{n(1,e=Zt(Zt({},e),Nn(a))),"$$scope"in a&&n(3,l=a.$$scope)},e=Nn(e),[s,e,t,l]}class Ds extends Pe{constructor(e){super(),Ie(this,e,Rs,zs,Ne,{})}}const Bs=Ds;function Qs(r){let e,n,t,l,s,a,f;return n=new Bs({props:{class:"inline",size:18,color:r[0]==="line-number"?"white":"black",strokeWidth:1,fill:r[0]==="line-number"?"white":"black"}}),{c(){e=p("button"),N(n.$$.fragment),this.h()},l(i){e=_(i,"BUTTON",{class:!0,title:!0});var u=k(e);P(n.$$.fragment,u),u.forEach(m),this.h()},h(){g(e,"class",t=`rounded w-6 grid place-items-center ${r[0]==="line-number"?"bg-sky-500 hover:bg-slate-500":"hover:bg-slate-300"}`),g(e,"title",l=r[0]==="line-number"?"sort matches by score":"sort matches by line number")},m(i,u){z(i,e,u),I(n,e,null),s=!0,a||(f=Kt(e,"click",r[2]),a=!0)},p(i,[u]){const h={};u&1&&(h.color=i[0]==="line-number"?"white":"black"),u&1&&(h.fill=i[0]==="line-number"?"white":"black"),n.$set(h),(!s||u&1&&t!==(t=`rounded w-6 grid place-items-center ${i[0]==="line-number"?"bg-sky-500 hover:bg-slate-500":"hover:bg-slate-300"}`))&&g(e,"class",t),(!s||u&1&&l!==(l=i[0]==="line-number"?"sort matches by score":"sort matches by line number"))&&g(e,"title",l)},i(i){s||(x(n.$$.fragment,i),s=!0)},o(i){w(n.$$.fragment,i),s=!1},d(i){i&&m(e),A(n),a=!1,f()}}}function Fs(r,e,n){let t;const l=ds();return Je(r,l,a=>n(0,t=a)),[t,l,()=>{xs(l,t=t==="line-number"?"score":"line-number",t)}]}class Vs extends Pe{constructor(e){super(),Ie(this,e,Fs,Qs,Ne,{})}}function Zl(r){let e,n;return{c(){e=p("span"),n=H(r[0]),this.h()},l(t){e=_(t,"SPAN",{class:!0});var l=k(e);n=j(l,r[0]),l.forEach(m),this.h()},h(){g(e,"class","text-xs text-red-500")},m(t,l){z(t,e,l),o(e,n)},p(t,l){l&1&&te(n,t[0])},d(t){t&&m(e)}}}function Gs(r){let e,n,t,l,s,a,f="query",i,u,h,d,c,v,C,U,T,M,q,F="context",ne,Q,he,re,G,le,oe="files",$e,L,ge,me,se,Y,pe="matches",J,X,de,K,B,ie,Me;c=new ks({}),C=new Vs({});function S(O){r[17](O)}let E={id:"context",pending:r[8]};r[2]!==void 0&&(E.value=r[2]),Q=new yl({props:E}),Sn.push(()=>vl(Q,"value",S)),Q.$on("change",r[18]);function R(O){r[19](O)}let ce={id:"files",kind:"positive",pending:r[7]};r[3]!==void 0&&(ce.value=r[3]),L=new yl({props:ce}),Sn.push(()=>vl(L,"value",R)),L.$on("change",r[20]);function we(O){r[21](O)}let _e={id:"matches",kind:"positive",pending:r[6]};r[4]!==void 0&&(_e.value=r[4]),X=new yl({props:_e}),Sn.push(()=>vl(X,"value",we)),X.$on("change",r[22]);let W=r[0]!==null&&Zl(r);return{c(){e=p("form"),n=p("input"),t=$(),l=p("div"),s=p("label"),a=p("span"),a.textContent=f,i=$(),u=p("span"),h=p("input"),d=$(),N(c.$$.fragment),v=$(),N(C.$$.fragment),T=$(),M=p("label"),q=p("span"),q.textContent=F,ne=$(),N(Q.$$.fragment),re=$(),G=p("label"),le=p("span"),le.textContent=oe,$e=$(),N(L.$$.fragment),me=$(),se=p("label"),Y=p("span"),Y.textContent=pe,J=$(),N(X.$$.fragment),K=$(),W&&W.c(),this.h()},l(O){e=_(O,"FORM",{});var V=k(e);n=_(V,"INPUT",{type:!0,class:!0}),t=b(V),l=_(V,"DIV",{class:!0});var ee=k(l);s=_(ee,"LABEL",{for:!0,class:!0});var be=k(s);a=_(be,"SPAN",{class:!0,"data-svelte-h":!0}),D(a)!=="svelte-14opivx"&&(a.textContent=f),i=b(be),u=_(be,"SPAN",{class:!0});var ae=k(u);h=_(ae,"INPUT",{id:!0,type:!0,spellcheck:!0,autocorrect:!0,autocapitalize:!0,autocomplete:!0,class:!0}),d=b(ae),P(c.$$.fragment,ae),v=b(ae),P(C.$$.fragment,ae),ae.forEach(m),be.forEach(m),T=b(ee),M=_(ee,"LABEL",{for:!0,class:!0});var We=k(M);q=_(We,"SPAN",{class:!0,"data-svelte-h":!0}),D(q)!=="svelte-1nbzu36"&&(q.textContent=F),ne=b(We),P(Q.$$.fragment,We),We.forEach(m),re=b(ee),G=_(ee,"LABEL",{for:!0,class:!0});var Oe=k(G);le=_(Oe,"SPAN",{class:!0,"data-svelte-h":!0}),D(le)!=="svelte-1pt1x6a"&&(le.textContent=oe),$e=b(Oe),P(L.$$.fragment,Oe),Oe.forEach(m),me=b(ee),se=_(ee,"LABEL",{for:!0,class:!0});var ve=k(se);Y=_(ve,"SPAN",{class:!0,"data-svelte-h":!0}),D(Y)!=="svelte-1hdyrgs"&&(Y.textContent=pe),J=b(ve),P(X.$$.fragment,ve),ve.forEach(m),ee.forEach(m),K=b(V),W&&W.l(V),V.forEach(m),this.h()},h(){g(n,"type","submit"),g(n,"class","hidden"),g(a,"class","text-xs px-1 text-gray-500"),g(h,"id","query"),g(h,"type","search"),h.autofocus=!0,g(h,"spellcheck",!1),g(h,"autocorrect","off"),g(h,"autocapitalize","off"),g(h,"autocomplete","off"),g(h,"class","font-mono focus:outline-none flex-auto appearance-none"),g(u,"class",U=`flex flex-auto p-1 border shadow-sm space-x-1 ${Kl({error:r[0]!==null,pending:r[9]})}`),g(s,"for","query"),g(s,"class","flex-auto flex flex-col space-y-0.5"),g(q,"class","text-xs px-1 text-gray-500"),g(M,"for","context"),g(M,"class","flex flex-col space-y-0.5"),g(le,"class","text-xs px-1 text-gray-500"),g(G,"for","files"),g(G,"class","flex flex-col space-y-0.5"),g(Y,"class","text-xs px-1 text-gray-500"),g(se,"for","matches"),g(se,"class","flex flex-col space-y-0.5"),g(l,"class","flex flex-wrap gap-y-2 justify-center whitespace-nowrap")},m(O,V){z(O,e,V),o(e,n),o(e,t),o(e,l),o(l,s),o(s,a),o(s,i),o(s,u),o(u,h),Jl(h,r[1]),o(u,d),I(c,u,null),o(u,v),I(C,u,null),o(l,T),o(l,M),o(M,q),o(M,ne),I(Q,M,null),o(l,re),o(l,G),o(G,le),o(G,$e),I(L,G,null),o(l,me),o(l,se),o(se,Y),o(se,J),I(X,se,null),o(e,K),W&&W.m(e,null),B=!0,h.focus(),ie||(Me=[Kt(h,"input",r[15]),Kt(h,"input",r[16]),Kt(e,"submit",ws(r[23]))],ie=!0)},p(O,[V]){V&2&&h.value!==O[1]&&Jl(h,O[1]),(!B||V&513&&U!==(U=`flex flex-auto p-1 border shadow-sm space-x-1 ${Kl({error:O[0]!==null,pending:O[9]})}`))&&g(u,"class",U);const ee={};V&256&&(ee.pending=O[8]),!he&&V&4&&(he=!0,ee.value=O[2],bl(()=>he=!1)),Q.$set(ee);const be={};V&128&&(be.pending=O[7]),!ge&&V&8&&(ge=!0,be.value=O[3],bl(()=>ge=!1)),L.$set(be);const ae={};V&64&&(ae.pending=O[6]),!de&&V&16&&(de=!0,ae.value=O[4],bl(()=>de=!1)),X.$set(ae),O[0]!==null?W?W.p(O,V):(W=Zl(O),W.c(),W.m(e,null)):W&&(W.d(1),W=null)},i(O){B||(x(c.$$.fragment,O),x(C.$$.fragment,O),x(Q.$$.fragment,O),x(L.$$.fragment,O),x(X.$$.fragment,O),B=!0)},o(O){w(c.$$.fragment,O),w(C.$$.fragment,O),w(Q.$$.fragment,O),w(L.$$.fragment,O),w(X.$$.fragment,O),B=!1},d(O){O&&m(e),A(c),A(C),A(Q),A(L),A(X),W&&W.d(),ie=!1,Cs(Me)}}}function Js(r,e,n){let t,l,s,a,f,i,u;Je(r,Pn,L=>n(13,f=L)),Je(r,us,L=>n(14,i=L));let{queryError:h=null}=e;const d=Ls();Je(r,d,L=>n(5,u=L));let c,v,C,U;const T=Pn.subscribe(L=>{(i==null?void 0:i.type)!=="goto"&&n(1,{query:c,contextLines:v,files:C,matches:U}=L,c,n(2,v),n(3,C),n(4,U))});Es(T);const M=()=>{ln({query:c,contextLines:v,files:C,matches:U,searchType:u})};let q;function F(){c=this.value,n(1,c)}const ne=()=>{u==="live"&&ln({query:c,searchType:u})};function Q(L){v=L,n(2,v)}const he=L=>{u==="live"&&ln({contextLines:L.detail,searchType:u})};function re(L){C=L,n(3,C)}const G=L=>{u==="live"&&ln({files:L.detail,searchType:u})};function le(L){U=L,n(4,U)}const oe=L=>{u==="live"&&ln({matches:L.detail,searchType:u})},$e=()=>{u==="manual"&&M()};return r.$$set=L=>{"queryError"in L&&n(0,h=L.queryError)},r.$$.update=()=>{r.$$.dirty&4128&&(u==="live"&&q==="manual"&&M(),n(12,q=u)),r.$$.dirty&24578&&n(9,t=i===null&&(f.query??"")!==(c??"")),r.$$.dirty&24580&&n(8,l=i===null&&f.contextLines!==v),r.$$.dirty&24584&&n(7,s=i===null&&f.files!==C),r.$$.dirty&24592&&n(6,a=i===null&&f.matches!==U)},[h,c,v,C,U,u,a,s,l,t,d,M,q,f,i,F,ne,Q,he,re,G,le,oe,$e]}class Ks extends Pe{constructor(e){super(),Ie(this,e,Js,Gs,Ne,{queryError:0})}}function Ws(r){let e,n="or, learn the query syntax from the ground up";return{c(){e=p("span"),e.textContent=n,this.h()},l(t){e=_(t,"SPAN",{class:!0,"data-svelte-h":!0}),D(e)!=="svelte-2dyn7y"&&(e.textContent=n),this.h()},h(){g(e,"class","text-xs")},m(t,l){z(t,e,l)},p:rn,d(t){t&&m(e)}}}function Zs(r){let e;return{c(){e=H("universal-ctags")},l(n){e=j(n,"universal-ctags")},m(n,t){z(n,e,t)},d(n){n&&m(e)}}}function Xs(r){let e;return{c(){e=H("expression")},l(n){e=j(n,"expression")},m(n,t){z(n,e,t)},d(n){n&&m(e)}}}function Ys(r){let e;return{c(){e=H("expressions")},l(n){e=j(n,"expressions")},m(n,t){z(n,e,t)},d(n){n&&m(e)}}}function er(r){let e,n="ɴᴇᴏɢʀᴏᴋ",t,l,s,a,f="query examples",i,u,h,d,c,v,C="Every query is regex",U,T,M,q,F,ne,Q="dot is a wildcard",he,re,G,le,oe,$e="escaped dot is a dot",L,ge,me,se,Y,pe,J,X,de="multiline search!",K,B,ie,Me="Filter results by...",S,E,R,ce,we,_e,W="(or <code>f:</code>)",O,V,ee,be,ae,We="(or <code>r:</code>)",Oe,ve,Ze,In,Xe,Cl="(or <code>b:</code>)",An,Xt,Ye,Tn,He,et,El="Exclude certain kinds of repositories",Mn,Ce,tt,nt,On,lt,ql="(or <code>yes</code>)",Hn,st,rt,jn,at,Ll="(or <code>yes</code>)",Un,ot,it,zn,ut,Sl="(or <code>yes</code>)",Rn,Ee,ft,Nl="Search for symbol definitions",Dn,je,Bn,Ue,Qn,Fn,ze,Yt,ct,Vn,en,ht,Gn,qe,mt,Pl="Automatic case sensitivity",Jn,pt,Il=`If a query is all-lowercase, it is case insensitive by default;
2
2
  otherwise it is case-sensitive by default. Change that with
3
3
  <code>case:</code>.`,Kn,Re,Ae,_t,Wn,gt,Al="vs",Zn,dt,Xn,Te,$t,Yn,bt,Tl="vs",el,vt,tl,Le,yt,Ml="Use double quotes for queries with spaces",nl,De,ll,Be,sl,rl,Qe,tn,kt,al,nn,xt,ol,Se,wt,il,Fe,ul,Ct,Ol="Seriously, read the manual for this one.",fl,ye,Et,qt,cl,Lt,Hl="negate with a leading dash",hl,St,Nt,ml,Pt,jl="expressions are implicitly 'and'ed…",pl,It,At,_l,Tt,Ul="…but explicitly 'or'ed",gl,Mt,Ot,dl,Ht,zl="group expressions with parentheses",an;return u=new sn({props:{to:"/syntax",$$slots:{default:[Ws]},$$scope:{ctx:r}}}),q=new Z({props:{query:".printf"}}),G=new Z({props:{query:"\\.printf"}}),me=new Z({props:{query:"whom?"}}),pe=new Z({props:{query:"OR[[:space:]]IMPLIED"}}),ce=new Z({props:{query:"file:README test"}}),ee=new Z({props:{query:"repo:linux test"}}),Ze=new Z({props:{query:"branch:pages test"}}),Ye=new Z({props:{query:"lang:java test"}}),nt=new Z({props:{query:"fork:no test"}}),rt=new Z({props:{query:"public:no test"}}),it=new Z({props:{query:"archived:no test"}}),Ue=new sn({props:{to:"https://ctags.io",$$slots:{default:[Zs]},$$scope:{ctx:r}}}),ct=new Z({props:{query:"sym:main"}}),ht=new Z({props:{query:"sym:Test[A-Z]"}}),_t=new Z({props:{query:"readme"}}),dt=new Z({props:{query:"readme case:yes"}}),$t=new Z({props:{query:"README"}}),vt=new Z({props:{query:"README case:no"}}),Be=new sn({props:{to:"/syntax#expressions",$$slots:{default:[Xs]},$$scope:{ctx:r}}}),kt=new Z({props:{query:'"run the test"'}}),xt=new Z({props:{query:'"goto considered harmful"'}}),Fe=new sn({props:{to:"/syntax#expressions",$$slots:{default:[Ys]},$$scope:{ctx:r}}}),qt=new Z({props:{query:"this -without_this"}}),Nt=new Z({props:{query:"all of these"}}),At=new Z({props:{query:"any or of or these"}}),Ot=new Z({props:{query:"(all of these) (any or of or these)"}}),{c(){e=p("h1"),e.textContent=n,t=$(),l=p("div"),s=p("span"),a=p("h2"),a.textContent=f,i=$(),N(u.$$.fragment),h=$(),d=p("ul"),c=p("li"),v=p("h3"),v.textContent=C,U=$(),T=p("ul"),M=p("li"),N(q.$$.fragment),F=$(),ne=p("span"),ne.textContent=Q,he=$(),re=p("li"),N(G.$$.fragment),le=$(),oe=p("span"),oe.textContent=$e,L=$(),ge=p("li"),N(me.$$.fragment),se=$(),Y=p("li"),N(pe.$$.fragment),J=$(),X=p("span"),X.textContent=de,K=$(),B=p("li"),ie=p("h3"),ie.textContent=Me,S=$(),E=p("ul"),R=p("li"),N(ce.$$.fragment),we=$(),_e=p("span"),_e.innerHTML=W,O=$(),V=p("li"),N(ee.$$.fragment),be=$(),ae=p("span"),ae.innerHTML=We,Oe=$(),ve=p("li"),N(Ze.$$.fragment),In=$(),Xe=p("span"),Xe.innerHTML=Cl,An=$(),Xt=p("li"),N(Ye.$$.fragment),Tn=$(),He=p("li"),et=p("h3"),et.textContent=El,Mn=$(),Ce=p("ul"),tt=p("li"),N(nt.$$.fragment),On=$(),lt=p("span"),lt.innerHTML=ql,Hn=$(),st=p("li"),N(rt.$$.fragment),jn=$(),at=p("span"),at.innerHTML=Ll,Un=$(),ot=p("li"),N(it.$$.fragment),zn=$(),ut=p("span"),ut.innerHTML=Sl,Rn=$(),Ee=p("li"),ft=p("h3"),ft.textContent=Nl,Dn=$(),je=p("p"),Bn=H("As identified by "),N(Ue.$$.fragment),Qn=H("."),Fn=$(),ze=p("ul"),Yt=p("li"),N(ct.$$.fragment),Vn=$(),en=p("li"),N(ht.$$.fragment),Gn=$(),qe=p("li"),mt=p("h3"),mt.textContent=Pl,Jn=$(),pt=p("p"),pt.innerHTML=Il,Kn=$(),Re=p("ul"),Ae=p("li"),N(_t.$$.fragment),Wn=$(),gt=p("span"),gt.textContent=Al,Zn=$(),N(dt.$$.fragment),Xn=$(),Te=p("li"),N($t.$$.fragment),Yn=$(),bt=p("span"),bt.textContent=Tl,el=$(),N(vt.$$.fragment),tl=$(),Le=p("li"),yt=p("h3"),yt.textContent=Ml,nl=$(),De=p("p"),ll=H(`Otherwise each word is parsed as a separate
4
4
  `),N(Be.$$.fragment),sl=H("."),rl=$(),Qe=p("ul"),tn=p("li"),N(kt.$$.fragment),al=$(),nn=p("li"),N(xt.$$.fragment),ol=$(),Se=p("li"),wt=p("h3"),il=H("Logically compose "),N(Fe.$$.fragment),ul=$(),Ct=p("span"),Ct.textContent=Ol,fl=$(),ye=p("ul"),Et=p("li"),N(qt.$$.fragment),cl=$(),Lt=p("span"),Lt.textContent=Hl,hl=$(),St=p("li"),N(Nt.$$.fragment),ml=$(),Pt=p("span"),Pt.textContent=jl,pl=$(),It=p("li"),N(At.$$.fragment),_l=$(),Tt=p("span"),Tt.textContent=Ul,gl=$(),Mt=p("li"),N(Ot.$$.fragment),dl=$(),Ht=p("span"),Ht.textContent=zl,this.h()},l(y){e=_(y,"H1",{class:!0,"data-svelte-h":!0}),D(e)!=="svelte-wconra"&&(e.textContent=n),t=b(y),l=_(y,"DIV",{class:!0});var ue=k(l);s=_(ue,"SPAN",{class:!0});var jt=k(s);a=_(jt,"H2",{class:!0,"data-svelte-h":!0}),D(a)!=="svelte-1nqizqb"&&(a.textContent=f),i=b(jt),P(u.$$.fragment,jt),jt.forEach(m),h=b(ue),d=_(ue,"UL",{class:!0});var fe=k(d);c=_(fe,"LI",{class:!0});var Ut=k(c);v=_(Ut,"H3",{class:!0,"data-svelte-h":!0}),D(v)!=="svelte-1eyozjq"&&(v.textContent=C),U=b(Ut),T=_(Ut,"UL",{class:!0});var xe=k(T);M=_(xe,"LI",{});var on=k(M);P(q.$$.fragment,on),F=b(on),ne=_(on,"SPAN",{class:!0,"data-svelte-h":!0}),D(ne)!=="svelte-1kofq96"&&(ne.textContent=Q),on.forEach(m),he=b(xe),re=_(xe,"LI",{});var un=k(re);P(G.$$.fragment,un),le=b(un),oe=_(un,"SPAN",{class:!0,"data-svelte-h":!0}),D(oe)!=="svelte-18jaiso"&&(oe.textContent=$e),un.forEach(m),L=b(xe),ge=_(xe,"LI",{});var Rl=k(ge);P(me.$$.fragment,Rl),Rl.forEach(m),se=b(xe),Y=_(xe,"LI",{});var fn=k(Y);P(pe.$$.fragment,fn),J=b(fn),X=_(fn,"SPAN",{class:!0,"data-svelte-h":!0}),D(X)!=="svelte-1visk1u"&&(X.textContent=de),fn.forEach(m),xe.forEach(m),Ut.forEach(m),K=b(fe),B=_(fe,"LI",{class:!0});var cn=k(B);ie=_(cn,"H3",{class:!0,"data-svelte-h":!0}),D(ie)!=="svelte-1hsesxl"&&(ie.textContent=Me),S=b(cn),E=_(cn,"UL",{class:!0});var Ve=k(E);R=_(Ve,"LI",{});var hn=k(R);P(ce.$$.fragment,hn),we=b(hn),_e=_(hn,"SPAN",{class:!0,"data-svelte-h":!0}),D(_e)!=="svelte-1o4wzqf"&&(_e.innerHTML=W),hn.forEach(m),O=b(Ve),V=_(Ve,"LI",{});var mn=k(V);P(ee.$$.fragment,mn),be=b(mn),ae=_(mn,"SPAN",{class:!0,"data-svelte-h":!0}),D(ae)!=="svelte-13puatn"&&(ae.innerHTML=We),mn.forEach(m),Oe=b(Ve),ve=_(Ve,"LI",{});var pn=k(ve);P(Ze.$$.fragment,pn),In=b(pn),Xe=_(pn,"SPAN",{class:!0,"data-svelte-h":!0}),D(Xe)!=="svelte-17xlaaj"&&(Xe.innerHTML=Cl),pn.forEach(m),An=b(Ve),Xt=_(Ve,"LI",{});var Dl=k(Xt);P(Ye.$$.fragment,Dl),Dl.forEach(m),Ve.forEach(m),cn.forEach(m),Tn=b(fe),He=_(fe,"LI",{class:!0});var _n=k(He);et=_(_n,"H3",{class:!0,"data-svelte-h":!0}),D(et)!=="svelte-l49uq"&&(et.textContent=El),Mn=b(_n),Ce=_(_n,"UL",{class:!0});var Dt=k(Ce);tt=_(Dt,"LI",{});var gn=k(tt);P(nt.$$.fragment,gn),On=b(gn),lt=_(gn,"SPAN",{class:!0,"data-svelte-h":!0}),D(lt)!=="svelte-71g2qu"&&(lt.innerHTML=ql),gn.forEach(m),Hn=b(Dt),st=_(Dt,"LI",{});var dn=k(st);P(rt.$$.fragment,dn),jn=b(dn),at=_(dn,"SPAN",{class:!0,"data-svelte-h":!0}),D(at)!=="svelte-71g2qu"&&(at.innerHTML=Ll),dn.forEach(m),Un=b(Dt),ot=_(Dt,"LI",{});var $n=k(ot);P(it.$$.fragment,$n),zn=b($n),ut=_($n,"SPAN",{class:!0,"data-svelte-h":!0}),D(ut)!=="svelte-71g2qu"&&(ut.innerHTML=Sl),$n.forEach(m),Dt.forEach(m),_n.forEach(m),Rn=b(fe),Ee=_(fe,"LI",{class:!0});var Bt=k(Ee);ft=_(Bt,"H3",{class:!0,"data-svelte-h":!0}),D(ft)!=="svelte-1w9svfj"&&(ft.textContent=Nl),Dn=b(Bt),je=_(Bt,"P",{class:!0});var bn=k(je);Bn=j(bn,"As identified by "),P(Ue.$$.fragment,bn),Qn=j(bn,"."),bn.forEach(m),Fn=b(Bt),ze=_(Bt,"UL",{class:!0});var vn=k(ze);Yt=_(vn,"LI",{});var Bl=k(Yt);P(ct.$$.fragment,Bl),Bl.forEach(m),Vn=b(vn),en=_(vn,"LI",{});var Ql=k(en);P(ht.$$.fragment,Ql),Ql.forEach(m),vn.forEach(m),Bt.forEach(m),Gn=b(fe),qe=_(fe,"LI",{class:!0});var Qt=k(qe);mt=_(Qt,"H3",{class:!0,"data-svelte-h":!0}),D(mt)!=="svelte-rw6b4q"&&(mt.textContent=Pl),Jn=b(Qt),pt=_(Qt,"P",{class:!0,"data-svelte-h":!0}),D(pt)!=="svelte-po3jik"&&(pt.innerHTML=Il),Kn=b(Qt),Re=_(Qt,"UL",{class:!0});var yn=k(Re);Ae=_(yn,"LI",{});var Ft=k(Ae);P(_t.$$.fragment,Ft),Wn=b(Ft),gt=_(Ft,"SPAN",{class:!0,"data-svelte-h":!0}),D(gt)!=="svelte-bo3bnm"&&(gt.textContent=Al),Zn=b(Ft),P(dt.$$.fragment,Ft),Ft.forEach(m),Xn=b(yn),Te=_(yn,"LI",{});var Vt=k(Te);P($t.$$.fragment,Vt),Yn=b(Vt),bt=_(Vt,"SPAN",{class:!0,"data-svelte-h":!0}),D(bt)!=="svelte-bo3bnm"&&(bt.textContent=Tl),el=b(Vt),P(vt.$$.fragment,Vt),Vt.forEach(m),yn.forEach(m),Qt.forEach(m),tl=b(fe),Le=_(fe,"LI",{class:!0});var Gt=k(Le);yt=_(Gt,"H3",{class:!0,"data-svelte-h":!0}),D(yt)!=="svelte-1ax2qg5"&&(yt.textContent=Ml),nl=b(Gt),De=_(Gt,"P",{class:!0});var kn=k(De);ll=j(kn,`Otherwise each word is parsed as a separate
@@ -1,4 +1,4 @@
1
- import{$ as me,n as ee,e as L,l as O,J as x,c as P,a as N,o as C,p as Se,d as k,f as T,i as F,g as c,y as he,q as se,a0 as Pe,A as Me,j as X,a1 as Ne,t as I,b as A,s as R,h as _e,H as Ie,m as Ae}from"../chunks/scheduler.80902d3b.js";import{S as te,i as re,c as j,a as J,m as K,t as $,b as Y,d as V,g as oe,e as ne}from"../chunks/index.d0e6da70.js";import{p as ve,n as we}from"../chunks/stores.a4da01c2.js";import{d as Oe}from"../chunks/preferences.e389d16d.js";import{c as de}from"../chunks/input-colors.e7674f0c.js";import{g as Ce,T as Re}from"../chunks/toggle-search-type.f1a3061d.js";import{d as Fe}from"../chunks/index.81a0017d.js";import{e as ge}from"../chunks/each.ece37974.js";import{L as $e}from"../chunks/link.70630bff.js";const De=s=>({query:s.get("q")||void 0}),le=Fe(ve,s=>De(s.url.searchParams));let ye=0;const be=({query:s,searchType:e})=>{var o,n;const r=((n=(o=me(we))==null?void 0:o.to)==null?void 0:n.url)??me(ve).url,t=De(r.searchParams);if((s||void 0)!==t.query){const f=Date.now(),u=new URL(r);s?u.searchParams.set("q",s):u.searchParams.delete("q"),Ce(u,{replaceState:e==="live"&&f-ye<2e3,keepFocus:!0,noScroll:!0}),ye=f}};function ke(s){let e,r;return{c(){e=L("span"),r=I(s[0]),this.h()},l(t){e=P(t,"SPAN",{class:!0});var l=N(e);r=A(l,s[0]),l.forEach(k),this.h()},h(){T(e,"class","text-sm text-red-500")},m(t,l){F(t,e,l),c(e,r)},p(t,l){l&1&&R(r,t[0])},d(t){t&&k(e)}}}function Ue(s){let e,r,t,l,o,n="query",f,u,i,y,m,a,b,S,v,w,U;m=new Re({});let B=s[0]&&ke(s);return{c(){e=L("form"),r=L("input"),t=O(),l=L("label"),o=L("span"),o.textContent=n,f=O(),u=L("span"),i=L("input"),y=O(),j(m.$$.fragment),b=O(),B&&B.c(),S=x(),this.h()},l(h){e=P(h,"FORM",{});var E=N(e);r=P(E,"INPUT",{type:!0,class:!0}),t=C(E),l=P(E,"LABEL",{for:!0,class:!0});var M=N(l);o=P(M,"SPAN",{title:!0,class:!0,"data-svelte-h":!0}),Se(o)!=="svelte-1wbn6nl"&&(o.textContent=n),f=C(M),u=P(M,"SPAN",{class:!0});var _=N(u);i=P(_,"INPUT",{id:!0,type:!0,spellcheck:!0,autocorrect:!0,autocapitalize:!0,autocomplete:!0,class:!0}),y=C(_),J(m.$$.fragment,_),_.forEach(k),M.forEach(k),E.forEach(k),b=C(h),B&&B.l(h),S=x(),this.h()},h(){T(r,"type","submit"),T(r,"class","hidden"),T(o,"title","Same query syntax as the main search - use `r:name` to filter repositories by name, otherwise you are filtering them by their content!"),T(o,"class","text-xs px-1 text-gray-500"),T(i,"id","query"),T(i,"type","search"),i.autofocus=!0,T(i,"spellcheck",!1),T(i,"autocorrect","off"),T(i,"autocapitalize","off"),T(i,"autocomplete","off"),T(i,"class","font-mono focus:outline-none flex-auto appearance-none"),T(u,"class",a=`flex flex-auto p-1 border shadow-sm space-x-1 ${de({error:s[0]!==null,pending:s[3]})}`),T(l,"for","query"),T(l,"class","flex-auto flex flex-col space-y-0.5")},m(h,E){F(h,e,E),c(e,r),c(e,t),c(e,l),c(l,o),c(l,f),c(l,u),c(u,i),he(i,s[1]),c(u,y),K(m,u,null),F(h,b,E),B&&B.m(h,E),F(h,S,E),v=!0,i.focus(),w||(U=[se(i,"input",s[9]),se(i,"input",s[10]),se(e,"submit",Pe(s[11]))],w=!0)},p(h,[E]){E&2&&i.value!==h[1]&&he(i,h[1]),(!v||E&9&&a!==(a=`flex flex-auto p-1 border shadow-sm space-x-1 ${de({error:h[0]!==null,pending:h[3]})}`))&&T(u,"class",a),h[0]?B?B.p(h,E):(B=ke(h),B.c(),B.m(S.parentNode,S)):B&&(B.d(1),B=null)},i(h){v||($(m.$$.fragment,h),v=!0)},o(h){Y(m.$$.fragment,h),v=!1},d(h){h&&(k(e),k(b),k(S)),V(m),B&&B.d(h),w=!1,Me(U)}}}function Ye(s,e,r){let t,l,o,n;X(s,le,w=>r(7,l=w)),X(s,we,w=>r(8,o=w));let{queryError:f}=e;const u=Oe();X(s,u,w=>r(2,n=w));let i;const y=le.subscribe(w=>{(o==null?void 0:o.type)!=="goto"&&r(1,{query:i}=w,i)});Ne(y);const m=()=>{be({query:i,searchType:n})};let a;function b(){i=this.value,r(1,i)}const S=()=>{n==="live"&&be({query:i,searchType:n})},v=()=>{n==="manual"&&m()};return s.$$set=w=>{"queryError"in w&&r(0,f=w.queryError)},s.$$.update=()=>{s.$$.dirty&68&&(n==="live"&&a==="manual"&&m(),r(6,a=n)),s.$$.dirty&386&&r(3,t=o===null&&(l.query??"")!==(i??""))},[f,i,n,t,u,m,a,l,o,b,S,v]}class He extends te{constructor(e){super(),re(this,e,Ye,Ue,ee,{queryError:0})}}const Qe=["B","kB","MB","GB","TB","PB","EB","ZB","YB"],ze=["B","KiB","MiB","GiB","TiB","PiB","EiB","ZiB","YiB"],Ge=["b","kbit","Mbit","Gbit","Tbit","Pbit","Ebit","Zbit","Ybit"],Ze=["b","kibit","Mibit","Gibit","Tibit","Pibit","Eibit","Zibit","Yibit"],Te=(s,e,r)=>{let t=s;return typeof e=="string"||Array.isArray(e)?t=s.toLocaleString(e,r):(e===!0||r!==void 0)&&(t=s.toLocaleString(void 0,r)),t};function Z(s,e){if(!Number.isFinite(s))throw new TypeError(`Expected a finite number, got ${typeof s}: ${s}`);e={bits:!1,binary:!1,space:!0,...e};const r=e.bits?e.binary?Ze:Ge:e.binary?ze:Qe,t=e.space?" ":"";if(e.signed&&s===0)return` 0${t}${r[0]}`;const l=s<0,o=l?"-":e.signed?"+":"";l&&(s=-s);let n;if(e.minimumFractionDigits!==void 0&&(n={minimumFractionDigits:e.minimumFractionDigits}),e.maximumFractionDigits!==void 0&&(n={maximumFractionDigits:e.maximumFractionDigits,...n}),s<1){const y=Te(s,e.locale,n);return o+y+t+r[0]}const f=Math.min(Math.floor(e.binary?Math.log(s)/Math.log(1024):Math.log10(s)/3),r.length-1);s/=(e.binary?1024:1e3)**f,n||(s=s.toPrecision(3));const u=Te(Number(s),e.locale,n),i=r[f];return o+u+t+i}function je(s){let e;return{c(){e=I(s[7])},l(r){e=A(r,s[7])},m(r,t){F(r,e,t)},p(r,t){t&128&&R(e,r[7])},i:_e,o:_e,d(r){r&&k(e)}}}function Je(s){let e,r;return e=new $e({props:{to:s[6],$$slots:{default:[Ke]},$$scope:{ctx:s}}}),{c(){j(e.$$.fragment)},l(t){J(e.$$.fragment,t)},m(t,l){K(e,t,l),r=!0},p(t,l){const o={};l&64&&(o.to=t[6]),l&640&&(o.$$scope={dirty:l,ctx:t}),e.$set(o)},i(t){r||($(e.$$.fragment,t),r=!0)},o(t){Y(e.$$.fragment,t),r=!1},d(t){V(e,t)}}}function Ke(s){let e;return{c(){e=I(s[7])},l(r){e=A(r,s[7])},m(r,t){F(r,e,t)},p(r,t){t&128&&R(e,r[7])},d(r){r&&k(e)}}}function Ve(s){let e,r,t,l,o,n,f,u,i,y=s[3].map(Be).join(" ")+"",m,a,b,S=Z(s[0],{space:!1})+"",v,w,U,B=Z(s[1],{space:!1})+"",h,E,M,_,W,p,g,d;const Q=[Je,je],H=[];function z(D,q){return D[6].length>0?0:1}return t=z(s),l=H[t]=Q[t](s),{c(){e=L("tr"),r=L("td"),l.c(),o=O(),n=L("td"),f=I(s[2]),u=O(),i=L("td"),m=I(y),a=O(),b=L("td"),v=I(S),w=O(),U=L("td"),h=I(B),E=O(),M=L("td"),_=I(s[5]),W=O(),p=L("td"),g=I(s[4]),this.h()},l(D){e=P(D,"TR",{class:!0});var q=N(e);r=P(q,"TD",{class:!0});var G=N(r);l.l(G),G.forEach(k),o=C(q),n=P(q,"TD",{class:!0});var ae=N(n);f=A(ae,s[2]),ae.forEach(k),u=C(q),i=P(q,"TD",{class:!0});var ie=N(i);m=A(ie,y),ie.forEach(k),a=C(q),b=P(q,"TD",{class:!0});var ue=N(b);v=A(ue,S),ue.forEach(k),w=C(q),U=P(q,"TD",{class:!0});var ce=N(U);h=A(ce,B),ce.forEach(k),E=C(q),M=P(q,"TD",{class:!0});var fe=N(M);_=A(fe,s[5]),fe.forEach(k),W=C(q),p=P(q,"TD",{class:!0});var pe=N(p);g=A(pe,s[4]),pe.forEach(k),q.forEach(k),this.h()},h(){T(r,"class","p-1"),T(n,"class","p-1"),T(i,"class","p-1"),T(b,"class","p-1"),T(U,"class","p-1"),T(M,"class","p-1"),T(p,"class","p-1"),T(e,"class","border")},m(D,q){F(D,e,q),c(e,r),H[t].m(r,null),c(e,o),c(e,n),c(n,f),c(e,u),c(e,i),c(i,m),c(e,a),c(e,b),c(b,v),c(e,w),c(e,U),c(U,h),c(e,E),c(e,M),c(M,_),c(e,W),c(e,p),c(p,g),d=!0},p(D,[q]){let G=t;t=z(D),t===G?H[t].p(D,q):(oe(),Y(H[G],1,1,()=>{H[G]=null}),ne(),l=H[t],l?l.p(D,q):(l=H[t]=Q[t](D),l.c()),$(l,1),l.m(r,null)),(!d||q&4)&&R(f,D[2]),(!d||q&8)&&y!==(y=D[3].map(Be).join(" ")+"")&&R(m,y),(!d||q&1)&&S!==(S=Z(D[0],{space:!1})+"")&&R(v,S),(!d||q&2)&&B!==(B=Z(D[1],{space:!1})+"")&&R(h,B),(!d||q&32)&&R(_,D[5]),(!d||q&16)&&R(g,D[4])},i(D){d||($(l),d=!0)},o(D){Y(l),d=!1},d(D){D&&k(e),H[t].d()}}}const Be=({name:s,version:e})=>`${s}@${e}`;function We(s,e,r){let t,l,o,n,f,u,i,y,{repository:m}=e;return s.$$set=a=>{"repository"in a&&r(8,m=a.repository)},s.$$.update=()=>{s.$$.dirty&256&&r(7,{name:t,url:l,lastIndexed:o,lastCommit:n,branches:f,stats:{fileCount:u,indexBytes:i,contentBytes:y}}=m,t,(r(6,l),r(8,m)),(r(5,o),r(8,m)),(r(4,n),r(8,m)),(r(3,f),r(8,m)),(r(2,u),r(8,m)),(r(1,i),r(8,m)),(r(0,y),r(8,m)))},[y,i,u,f,n,o,l,t,m]}class Xe extends te{constructor(e){super(),re(this,e,We,Ve,ee,{repository:8})}}function Ee(s,e,r){const t=s.slice();return t[5]=e[r],t}function qe(s){let e,r;return e=new Xe({props:{repository:s[5]}}),{c(){j(e.$$.fragment)},l(t){J(e.$$.fragment,t)},m(t,l){K(e,t,l),r=!0},p(t,l){const o={};l&1&&(o.repository=t[5]),e.$set(o)},i(t){r||($(e.$$.fragment,t),r=!0)},o(t){Y(e.$$.fragment,t),r=!1},d(t){V(e,t)}}}function xe(s){let e,r=s[0].length+"",t,l,o=s[0].length===1?"repository":"repositories",n,f,u,i,y=Z(s[2]+s[1],{space:!1})+"",m,a,b,S,v,w,U='<tr class="border bg-slate-100"><th class="p-1">Repository</th> <th class="p-1">File count</th> <th class="p-1">Branches</th> <th class="p-1">Content size in RAM</th> <th class="p-1">Index size in RAM</th> <th class="p-1">Last indexed</th> <th class="p-1">Last commit</th></tr>',B,h,E,M=ge(s[0]),_=[];for(let p=0;p<M.length;p+=1)_[p]=qe(Ee(s,M,p));const W=p=>Y(_[p],1,1,()=>{_[p]=null});return{c(){e=L("h1"),t=I(r),l=O(),n=I(o),f=I(` containing
1
+ import{$ as me,n as ee,e as L,l as O,J as x,c as P,a as N,o as C,p as Se,d as k,f as T,i as F,g as c,y as he,q as se,a0 as Pe,A as Me,j as X,a1 as Ne,t as I,b as A,s as R,h as _e,H as Ie,m as Ae}from"../chunks/scheduler.80902d3b.js";import{S as te,i as re,c as j,a as J,m as K,t as $,b as Y,d as V,g as oe,e as ne}from"../chunks/index.d0e6da70.js";import{p as ve,n as we}from"../chunks/stores.3502de9e.js";import{d as Oe}from"../chunks/preferences.e389d16d.js";import{c as de}from"../chunks/input-colors.e7674f0c.js";import{g as Ce,T as Re}from"../chunks/toggle-search-type.0b816276.js";import{d as Fe}from"../chunks/index.81a0017d.js";import{e as ge}from"../chunks/each.ece37974.js";import{L as $e}from"../chunks/link.70630bff.js";const De=s=>({query:s.get("q")||void 0}),le=Fe(ve,s=>De(s.url.searchParams));let ye=0;const be=({query:s,searchType:e})=>{var o,n;const r=((n=(o=me(we))==null?void 0:o.to)==null?void 0:n.url)??me(ve).url,t=De(r.searchParams);if((s||void 0)!==t.query){const f=Date.now(),u=new URL(r);s?u.searchParams.set("q",s):u.searchParams.delete("q"),Ce(u,{replaceState:e==="live"&&f-ye<2e3,keepFocus:!0,noScroll:!0}),ye=f}};function ke(s){let e,r;return{c(){e=L("span"),r=I(s[0]),this.h()},l(t){e=P(t,"SPAN",{class:!0});var l=N(e);r=A(l,s[0]),l.forEach(k),this.h()},h(){T(e,"class","text-sm text-red-500")},m(t,l){F(t,e,l),c(e,r)},p(t,l){l&1&&R(r,t[0])},d(t){t&&k(e)}}}function Ue(s){let e,r,t,l,o,n="query",f,u,i,y,m,a,b,S,v,w,U;m=new Re({});let B=s[0]&&ke(s);return{c(){e=L("form"),r=L("input"),t=O(),l=L("label"),o=L("span"),o.textContent=n,f=O(),u=L("span"),i=L("input"),y=O(),j(m.$$.fragment),b=O(),B&&B.c(),S=x(),this.h()},l(h){e=P(h,"FORM",{});var E=N(e);r=P(E,"INPUT",{type:!0,class:!0}),t=C(E),l=P(E,"LABEL",{for:!0,class:!0});var M=N(l);o=P(M,"SPAN",{title:!0,class:!0,"data-svelte-h":!0}),Se(o)!=="svelte-1wbn6nl"&&(o.textContent=n),f=C(M),u=P(M,"SPAN",{class:!0});var _=N(u);i=P(_,"INPUT",{id:!0,type:!0,spellcheck:!0,autocorrect:!0,autocapitalize:!0,autocomplete:!0,class:!0}),y=C(_),J(m.$$.fragment,_),_.forEach(k),M.forEach(k),E.forEach(k),b=C(h),B&&B.l(h),S=x(),this.h()},h(){T(r,"type","submit"),T(r,"class","hidden"),T(o,"title","Same query syntax as the main search - use `r:name` to filter repositories by name, otherwise you are filtering them by their content!"),T(o,"class","text-xs px-1 text-gray-500"),T(i,"id","query"),T(i,"type","search"),i.autofocus=!0,T(i,"spellcheck",!1),T(i,"autocorrect","off"),T(i,"autocapitalize","off"),T(i,"autocomplete","off"),T(i,"class","font-mono focus:outline-none flex-auto appearance-none"),T(u,"class",a=`flex flex-auto p-1 border shadow-sm space-x-1 ${de({error:s[0]!==null,pending:s[3]})}`),T(l,"for","query"),T(l,"class","flex-auto flex flex-col space-y-0.5")},m(h,E){F(h,e,E),c(e,r),c(e,t),c(e,l),c(l,o),c(l,f),c(l,u),c(u,i),he(i,s[1]),c(u,y),K(m,u,null),F(h,b,E),B&&B.m(h,E),F(h,S,E),v=!0,i.focus(),w||(U=[se(i,"input",s[9]),se(i,"input",s[10]),se(e,"submit",Pe(s[11]))],w=!0)},p(h,[E]){E&2&&i.value!==h[1]&&he(i,h[1]),(!v||E&9&&a!==(a=`flex flex-auto p-1 border shadow-sm space-x-1 ${de({error:h[0]!==null,pending:h[3]})}`))&&T(u,"class",a),h[0]?B?B.p(h,E):(B=ke(h),B.c(),B.m(S.parentNode,S)):B&&(B.d(1),B=null)},i(h){v||($(m.$$.fragment,h),v=!0)},o(h){Y(m.$$.fragment,h),v=!1},d(h){h&&(k(e),k(b),k(S)),V(m),B&&B.d(h),w=!1,Me(U)}}}function Ye(s,e,r){let t,l,o,n;X(s,le,w=>r(7,l=w)),X(s,we,w=>r(8,o=w));let{queryError:f}=e;const u=Oe();X(s,u,w=>r(2,n=w));let i;const y=le.subscribe(w=>{(o==null?void 0:o.type)!=="goto"&&r(1,{query:i}=w,i)});Ne(y);const m=()=>{be({query:i,searchType:n})};let a;function b(){i=this.value,r(1,i)}const S=()=>{n==="live"&&be({query:i,searchType:n})},v=()=>{n==="manual"&&m()};return s.$$set=w=>{"queryError"in w&&r(0,f=w.queryError)},s.$$.update=()=>{s.$$.dirty&68&&(n==="live"&&a==="manual"&&m(),r(6,a=n)),s.$$.dirty&386&&r(3,t=o===null&&(l.query??"")!==(i??""))},[f,i,n,t,u,m,a,l,o,b,S,v]}class He extends te{constructor(e){super(),re(this,e,Ye,Ue,ee,{queryError:0})}}const Qe=["B","kB","MB","GB","TB","PB","EB","ZB","YB"],ze=["B","KiB","MiB","GiB","TiB","PiB","EiB","ZiB","YiB"],Ge=["b","kbit","Mbit","Gbit","Tbit","Pbit","Ebit","Zbit","Ybit"],Ze=["b","kibit","Mibit","Gibit","Tibit","Pibit","Eibit","Zibit","Yibit"],Te=(s,e,r)=>{let t=s;return typeof e=="string"||Array.isArray(e)?t=s.toLocaleString(e,r):(e===!0||r!==void 0)&&(t=s.toLocaleString(void 0,r)),t};function Z(s,e){if(!Number.isFinite(s))throw new TypeError(`Expected a finite number, got ${typeof s}: ${s}`);e={bits:!1,binary:!1,space:!0,...e};const r=e.bits?e.binary?Ze:Ge:e.binary?ze:Qe,t=e.space?" ":"";if(e.signed&&s===0)return` 0${t}${r[0]}`;const l=s<0,o=l?"-":e.signed?"+":"";l&&(s=-s);let n;if(e.minimumFractionDigits!==void 0&&(n={minimumFractionDigits:e.minimumFractionDigits}),e.maximumFractionDigits!==void 0&&(n={maximumFractionDigits:e.maximumFractionDigits,...n}),s<1){const y=Te(s,e.locale,n);return o+y+t+r[0]}const f=Math.min(Math.floor(e.binary?Math.log(s)/Math.log(1024):Math.log10(s)/3),r.length-1);s/=(e.binary?1024:1e3)**f,n||(s=s.toPrecision(3));const u=Te(Number(s),e.locale,n),i=r[f];return o+u+t+i}function je(s){let e;return{c(){e=I(s[7])},l(r){e=A(r,s[7])},m(r,t){F(r,e,t)},p(r,t){t&128&&R(e,r[7])},i:_e,o:_e,d(r){r&&k(e)}}}function Je(s){let e,r;return e=new $e({props:{to:s[6],$$slots:{default:[Ke]},$$scope:{ctx:s}}}),{c(){j(e.$$.fragment)},l(t){J(e.$$.fragment,t)},m(t,l){K(e,t,l),r=!0},p(t,l){const o={};l&64&&(o.to=t[6]),l&640&&(o.$$scope={dirty:l,ctx:t}),e.$set(o)},i(t){r||($(e.$$.fragment,t),r=!0)},o(t){Y(e.$$.fragment,t),r=!1},d(t){V(e,t)}}}function Ke(s){let e;return{c(){e=I(s[7])},l(r){e=A(r,s[7])},m(r,t){F(r,e,t)},p(r,t){t&128&&R(e,r[7])},d(r){r&&k(e)}}}function Ve(s){let e,r,t,l,o,n,f,u,i,y=s[3].map(Be).join(" ")+"",m,a,b,S=Z(s[0],{space:!1})+"",v,w,U,B=Z(s[1],{space:!1})+"",h,E,M,_,W,p,g,d;const Q=[Je,je],H=[];function z(D,q){return D[6].length>0?0:1}return t=z(s),l=H[t]=Q[t](s),{c(){e=L("tr"),r=L("td"),l.c(),o=O(),n=L("td"),f=I(s[2]),u=O(),i=L("td"),m=I(y),a=O(),b=L("td"),v=I(S),w=O(),U=L("td"),h=I(B),E=O(),M=L("td"),_=I(s[5]),W=O(),p=L("td"),g=I(s[4]),this.h()},l(D){e=P(D,"TR",{class:!0});var q=N(e);r=P(q,"TD",{class:!0});var G=N(r);l.l(G),G.forEach(k),o=C(q),n=P(q,"TD",{class:!0});var ae=N(n);f=A(ae,s[2]),ae.forEach(k),u=C(q),i=P(q,"TD",{class:!0});var ie=N(i);m=A(ie,y),ie.forEach(k),a=C(q),b=P(q,"TD",{class:!0});var ue=N(b);v=A(ue,S),ue.forEach(k),w=C(q),U=P(q,"TD",{class:!0});var ce=N(U);h=A(ce,B),ce.forEach(k),E=C(q),M=P(q,"TD",{class:!0});var fe=N(M);_=A(fe,s[5]),fe.forEach(k),W=C(q),p=P(q,"TD",{class:!0});var pe=N(p);g=A(pe,s[4]),pe.forEach(k),q.forEach(k),this.h()},h(){T(r,"class","p-1"),T(n,"class","p-1"),T(i,"class","p-1"),T(b,"class","p-1"),T(U,"class","p-1"),T(M,"class","p-1"),T(p,"class","p-1"),T(e,"class","border")},m(D,q){F(D,e,q),c(e,r),H[t].m(r,null),c(e,o),c(e,n),c(n,f),c(e,u),c(e,i),c(i,m),c(e,a),c(e,b),c(b,v),c(e,w),c(e,U),c(U,h),c(e,E),c(e,M),c(M,_),c(e,W),c(e,p),c(p,g),d=!0},p(D,[q]){let G=t;t=z(D),t===G?H[t].p(D,q):(oe(),Y(H[G],1,1,()=>{H[G]=null}),ne(),l=H[t],l?l.p(D,q):(l=H[t]=Q[t](D),l.c()),$(l,1),l.m(r,null)),(!d||q&4)&&R(f,D[2]),(!d||q&8)&&y!==(y=D[3].map(Be).join(" ")+"")&&R(m,y),(!d||q&1)&&S!==(S=Z(D[0],{space:!1})+"")&&R(v,S),(!d||q&2)&&B!==(B=Z(D[1],{space:!1})+"")&&R(h,B),(!d||q&32)&&R(_,D[5]),(!d||q&16)&&R(g,D[4])},i(D){d||($(l),d=!0)},o(D){Y(l),d=!1},d(D){D&&k(e),H[t].d()}}}const Be=({name:s,version:e})=>`${s}@${e}`;function We(s,e,r){let t,l,o,n,f,u,i,y,{repository:m}=e;return s.$$set=a=>{"repository"in a&&r(8,m=a.repository)},s.$$.update=()=>{s.$$.dirty&256&&r(7,{name:t,url:l,lastIndexed:o,lastCommit:n,branches:f,stats:{fileCount:u,indexBytes:i,contentBytes:y}}=m,t,(r(6,l),r(8,m)),(r(5,o),r(8,m)),(r(4,n),r(8,m)),(r(3,f),r(8,m)),(r(2,u),r(8,m)),(r(1,i),r(8,m)),(r(0,y),r(8,m)))},[y,i,u,f,n,o,l,t,m]}class Xe extends te{constructor(e){super(),re(this,e,We,Ve,ee,{repository:8})}}function Ee(s,e,r){const t=s.slice();return t[5]=e[r],t}function qe(s){let e,r;return e=new Xe({props:{repository:s[5]}}),{c(){j(e.$$.fragment)},l(t){J(e.$$.fragment,t)},m(t,l){K(e,t,l),r=!0},p(t,l){const o={};l&1&&(o.repository=t[5]),e.$set(o)},i(t){r||($(e.$$.fragment,t),r=!0)},o(t){Y(e.$$.fragment,t),r=!1},d(t){V(e,t)}}}function xe(s){let e,r=s[0].length+"",t,l,o=s[0].length===1?"repository":"repositories",n,f,u,i,y=Z(s[2]+s[1],{space:!1})+"",m,a,b,S,v,w,U='<tr class="border bg-slate-100"><th class="p-1">Repository</th> <th class="p-1">File count</th> <th class="p-1">Branches</th> <th class="p-1">Content size in RAM</th> <th class="p-1">Index size in RAM</th> <th class="p-1">Last indexed</th> <th class="p-1">Last commit</th></tr>',B,h,E,M=ge(s[0]),_=[];for(let p=0;p<M.length;p+=1)_[p]=qe(Ee(s,M,p));const W=p=>Y(_[p],1,1,()=>{_[p]=null});return{c(){e=L("h1"),t=I(r),l=O(),n=I(o),f=I(` containing
2
2
  `),u=I(s[3]),i=I(` files consuming
3
3
  `),m=I(y),a=I(" of RAM"),b=O(),S=L("div"),v=L("table"),w=L("thead"),w.innerHTML=U,B=O(),h=L("tbody");for(let p=0;p<_.length;p+=1)_[p].c();this.h()},l(p){e=P(p,"H1",{class:!0});var g=N(e);t=A(g,r),l=C(g),n=A(g,o),f=A(g,` containing
4
4
  `),u=A(g,s[3]),i=A(g,` files consuming
@@ -1 +1 @@
1
- {"version":"1697395981971"}
1
+ {"version":"1697860072300"}
Binary file
Binary file
@@ -19,9 +19,9 @@ const index = 0;
19
19
  let component_cache;
20
20
  const component = async () => component_cache ??= (await import('./_layout.svelte-9a1c428f.js')).default;
21
21
  const server_id = "src/routes/+layout.server.ts";
22
- const imports = ["_app/immutable/nodes/0.529467ca.js","_app/immutable/chunks/scheduler.80902d3b.js","_app/immutable/chunks/index.d0e6da70.js","_app/immutable/chunks/each.ece37974.js","_app/immutable/chunks/stores.a4da01c2.js","_app/immutable/chunks/singletons.a17b5cab.js","_app/immutable/chunks/index.81a0017d.js","_app/immutable/chunks/preferences.e389d16d.js"];
22
+ const imports = ["_app/immutable/nodes/0.1f0e3135.js","_app/immutable/chunks/scheduler.80902d3b.js","_app/immutable/chunks/index.d0e6da70.js","_app/immutable/chunks/each.ece37974.js","_app/immutable/chunks/stores.3502de9e.js","_app/immutable/chunks/singletons.1b4af557.js","_app/immutable/chunks/index.81a0017d.js","_app/immutable/chunks/preferences.e389d16d.js"];
23
23
  const stylesheets = ["_app/immutable/assets/0.5df5b886.css"];
24
24
  const fonts = [];
25
25
 
26
26
  export { component, fonts, imports, index, _layout_server_ts as server, server_id, stylesheets };
27
- //# sourceMappingURL=0-040b7d6d.js.map
27
+ //# sourceMappingURL=0-0ebfe3ce.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"0-040b7d6d.js","sources":["../../../.svelte-kit/adapter-node/entries/pages/_layout.server.ts.js","../../../.svelte-kit/adapter-node/nodes/0.js"],"sourcesContent":["import { l as loadPreferences } from \"../../chunks/preferences.js\";\nconst load = ({ cookies }) => {\n return {\n // While not all pages need preferences, most do. It's easiest to just make\n // them ubiquitously available.\n preferences: loadPreferences(cookies)\n };\n};\nexport {\n load\n};\n","import * as server from '../entries/pages/_layout.server.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 { server };\nexport const server_id = \"src/routes/+layout.server.ts\";\nexport const imports = [\"_app/immutable/nodes/0.529467ca.js\",\"_app/immutable/chunks/scheduler.80902d3b.js\",\"_app/immutable/chunks/index.d0e6da70.js\",\"_app/immutable/chunks/each.ece37974.js\",\"_app/immutable/chunks/stores.a4da01c2.js\",\"_app/immutable/chunks/singletons.a17b5cab.js\",\"_app/immutable/chunks/index.81a0017d.js\",\"_app/immutable/chunks/preferences.e389d16d.js\"];\nexport const stylesheets = [\"_app/immutable/assets/0.5df5b886.css\"];\nexport const fonts = [];\n"],"names":[],"mappings":";;;;AACA,MAAM,IAAI,GAAG,CAAC,EAAE,OAAO,EAAE,KAAK;AAC9B,EAAE,OAAO;AACT;AACA;AACA,IAAI,WAAW,EAAE,eAAe,CAAC,OAAO,CAAC;AACzC,GAAG,CAAC;AACJ,CAAC;;;;;;;ACLW,MAAC,KAAK,GAAG,EAAE;AACvB,IAAI,eAAe,CAAC;AACR,MAAC,SAAS,GAAG,YAAY,eAAe,KAAK,CAAC,MAAM,OAAO,8BAAoC,CAAC,EAAE,QAAQ;AAE1G,MAAC,SAAS,GAAG,+BAA+B;AAC5C,MAAC,OAAO,GAAG,CAAC,oCAAoC,CAAC,6CAA6C,CAAC,yCAAyC,CAAC,wCAAwC,CAAC,0CAA0C,CAAC,8CAA8C,CAAC,yCAAyC,CAAC,+CAA+C,EAAE;AACvW,MAAC,WAAW,GAAG,CAAC,sCAAsC,EAAE;AACxD,MAAC,KAAK,GAAG;;;;"}
1
+ {"version":3,"file":"0-0ebfe3ce.js","sources":["../../../.svelte-kit/adapter-node/entries/pages/_layout.server.ts.js","../../../.svelte-kit/adapter-node/nodes/0.js"],"sourcesContent":["import { l as loadPreferences } from \"../../chunks/preferences.js\";\nconst load = ({ cookies }) => {\n return {\n // While not all pages need preferences, most do. It's easiest to just make\n // them ubiquitously available.\n preferences: loadPreferences(cookies)\n };\n};\nexport {\n load\n};\n","import * as server from '../entries/pages/_layout.server.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 { server };\nexport const server_id = \"src/routes/+layout.server.ts\";\nexport const imports = [\"_app/immutable/nodes/0.1f0e3135.js\",\"_app/immutable/chunks/scheduler.80902d3b.js\",\"_app/immutable/chunks/index.d0e6da70.js\",\"_app/immutable/chunks/each.ece37974.js\",\"_app/immutable/chunks/stores.3502de9e.js\",\"_app/immutable/chunks/singletons.1b4af557.js\",\"_app/immutable/chunks/index.81a0017d.js\",\"_app/immutable/chunks/preferences.e389d16d.js\"];\nexport const stylesheets = [\"_app/immutable/assets/0.5df5b886.css\"];\nexport const fonts = [];\n"],"names":[],"mappings":";;;;AACA,MAAM,IAAI,GAAG,CAAC,EAAE,OAAO,EAAE,KAAK;AAC9B,EAAE,OAAO;AACT;AACA;AACA,IAAI,WAAW,EAAE,eAAe,CAAC,OAAO,CAAC;AACzC,GAAG,CAAC;AACJ,CAAC;;;;;;;ACLW,MAAC,KAAK,GAAG,EAAE;AACvB,IAAI,eAAe,CAAC;AACR,MAAC,SAAS,GAAG,YAAY,eAAe,KAAK,CAAC,MAAM,OAAO,8BAAoC,CAAC,EAAE,QAAQ;AAE1G,MAAC,SAAS,GAAG,+BAA+B;AAC5C,MAAC,OAAO,GAAG,CAAC,oCAAoC,CAAC,6CAA6C,CAAC,yCAAyC,CAAC,wCAAwC,CAAC,0CAA0C,CAAC,8CAA8C,CAAC,yCAAyC,CAAC,+CAA+C,EAAE;AACvW,MAAC,WAAW,GAAG,CAAC,sCAAsC,EAAE;AACxD,MAAC,KAAK,GAAG;;;;"}
@@ -1,9 +1,9 @@
1
1
  const index = 1;
2
2
  let component_cache;
3
3
  const component = async () => component_cache ??= (await import('./_error.svelte-dd890063.js')).default;
4
- const imports = ["_app/immutable/nodes/1.abd8d795.js","_app/immutable/chunks/scheduler.80902d3b.js","_app/immutable/chunks/index.d0e6da70.js","_app/immutable/chunks/stores.a4da01c2.js","_app/immutable/chunks/singletons.a17b5cab.js","_app/immutable/chunks/index.81a0017d.js"];
4
+ const imports = ["_app/immutable/nodes/1.c155b318.js","_app/immutable/chunks/scheduler.80902d3b.js","_app/immutable/chunks/index.d0e6da70.js","_app/immutable/chunks/stores.3502de9e.js","_app/immutable/chunks/singletons.1b4af557.js","_app/immutable/chunks/index.81a0017d.js"];
5
5
  const stylesheets = [];
6
6
  const fonts = [];
7
7
 
8
8
  export { component, fonts, imports, index, stylesheets };
9
- //# sourceMappingURL=1-5c251174.js.map
9
+ //# sourceMappingURL=1-807c2e3e.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"1-5c251174.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/pages/_error.svelte.js')).default;\nexport const imports = [\"_app/immutable/nodes/1.abd8d795.js\",\"_app/immutable/chunks/scheduler.80902d3b.js\",\"_app/immutable/chunks/index.d0e6da70.js\",\"_app/immutable/chunks/stores.a4da01c2.js\",\"_app/immutable/chunks/singletons.a17b5cab.js\",\"_app/immutable/chunks/index.81a0017d.js\"];\nexport const stylesheets = [];\nexport const fonts = [];\n"],"names":[],"mappings":"AAEY,MAAC,KAAK,GAAG,EAAE;AACvB,IAAI,eAAe,CAAC;AACR,MAAC,SAAS,GAAG,YAAY,eAAe,KAAK,CAAC,MAAM,OAAO,6BAAmC,CAAC,EAAE,QAAQ;AACzG,MAAC,OAAO,GAAG,CAAC,oCAAoC,CAAC,6CAA6C,CAAC,yCAAyC,CAAC,0CAA0C,CAAC,8CAA8C,CAAC,yCAAyC,EAAE;AAC9Q,MAAC,WAAW,GAAG,GAAG;AAClB,MAAC,KAAK,GAAG;;;;"}
1
+ {"version":3,"file":"1-807c2e3e.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/pages/_error.svelte.js')).default;\nexport const imports = [\"_app/immutable/nodes/1.c155b318.js\",\"_app/immutable/chunks/scheduler.80902d3b.js\",\"_app/immutable/chunks/index.d0e6da70.js\",\"_app/immutable/chunks/stores.3502de9e.js\",\"_app/immutable/chunks/singletons.1b4af557.js\",\"_app/immutable/chunks/index.81a0017d.js\"];\nexport const stylesheets = [];\nexport const fonts = [];\n"],"names":[],"mappings":"AAEY,MAAC,KAAK,GAAG,EAAE;AACvB,IAAI,eAAe,CAAC;AACR,MAAC,SAAS,GAAG,YAAY,eAAe,KAAK,CAAC,MAAM,OAAO,6BAAmC,CAAC,EAAE,QAAQ;AACzG,MAAC,OAAO,GAAG,CAAC,oCAAoC,CAAC,6CAA6C,CAAC,yCAAyC,CAAC,0CAA0C,CAAC,8CAA8C,CAAC,yCAAyC,EAAE;AAC9Q,MAAC,WAAW,GAAG,GAAG;AAClB,MAAC,KAAK,GAAG;;;;"}