neogrok 0.2.1 → 0.2.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 (69) hide show
  1. package/build/client/_app/immutable/chunks/{loading-ellipsis.R0hKKLDn.js → loading-ellipsis.k3p6ijV8.js} +2 -2
  2. package/build/client/_app/immutable/chunks/loading-ellipsis.k3p6ijV8.js.br +0 -0
  3. package/build/client/_app/immutable/chunks/loading-ellipsis.k3p6ijV8.js.gz +0 -0
  4. package/build/client/_app/immutable/chunks/{singletons.7gor0m3T.js → singletons.DwO-MTR-.js} +1 -1
  5. package/build/client/_app/immutable/chunks/singletons.DwO-MTR-.js.br +0 -0
  6. package/build/client/_app/immutable/chunks/singletons.DwO-MTR-.js.gz +0 -0
  7. package/build/client/_app/immutable/chunks/{stores.sdmSk4uL.js → stores.qqHx_u93.js} +1 -1
  8. package/build/client/_app/immutable/chunks/stores.qqHx_u93.js.br +2 -0
  9. package/build/client/_app/immutable/chunks/stores.qqHx_u93.js.gz +0 -0
  10. package/build/client/_app/immutable/entry/{app.UPFfDTm6.js → app.INY6tJlm.js} +2 -2
  11. package/build/client/_app/immutable/entry/app.INY6tJlm.js.br +0 -0
  12. package/build/client/_app/immutable/entry/app.INY6tJlm.js.gz +0 -0
  13. package/build/client/_app/immutable/entry/{start.xZRsd2fc.js → start.a14tFEO4.js} +1 -1
  14. package/build/client/_app/immutable/entry/start.a14tFEO4.js.br +0 -0
  15. package/build/client/_app/immutable/entry/start.a14tFEO4.js.gz +0 -0
  16. package/build/client/_app/immutable/nodes/{0.FkgixQg8.js → 0.xWLavMW2.js} +1 -1
  17. package/build/client/_app/immutable/nodes/0.xWLavMW2.js.br +0 -0
  18. package/build/client/_app/immutable/nodes/0.xWLavMW2.js.gz +0 -0
  19. package/build/client/_app/immutable/nodes/{1.LfY-Gknf.js → 1.rAOpvYHL.js} +1 -1
  20. package/build/client/_app/immutable/nodes/1.rAOpvYHL.js.br +2 -0
  21. package/build/client/_app/immutable/nodes/1.rAOpvYHL.js.gz +0 -0
  22. package/build/client/_app/immutable/nodes/10.GvaEAgQH.js +18 -0
  23. package/build/client/_app/immutable/nodes/10.GvaEAgQH.js.br +0 -0
  24. package/build/client/_app/immutable/nodes/10.GvaEAgQH.js.gz +0 -0
  25. package/build/client/_app/immutable/nodes/{13.zRS6nLGa.js → 13.sZkidTit.js} +2 -2
  26. package/build/client/_app/immutable/nodes/13.sZkidTit.js.br +0 -0
  27. package/build/client/_app/immutable/nodes/13.sZkidTit.js.gz +0 -0
  28. package/build/client/_app/version.json +1 -1
  29. package/build/client/_app/version.json.br +0 -0
  30. package/build/client/_app/version.json.gz +0 -0
  31. package/build/server/chunks/{0-udrx3sEB.js → 0-ok1NknM9.js} +2 -2
  32. package/build/server/chunks/{0-udrx3sEB.js.map → 0-ok1NknM9.js.map} +1 -1
  33. package/build/server/chunks/{1-w3Qi8qbp.js → 1-0QJNZiSC.js} +2 -2
  34. package/build/server/chunks/{1-w3Qi8qbp.js.map → 1-0QJNZiSC.js.map} +1 -1
  35. package/build/server/chunks/{10-eOytQrEJ.js → 10-BBcjQvcj.js} +3 -3
  36. package/build/server/chunks/{10-eOytQrEJ.js.map → 10-BBcjQvcj.js.map} +1 -1
  37. package/build/server/chunks/{13-rtSmyS3a.js → 13-kCEzUGMx.js} +3 -3
  38. package/build/server/chunks/{13-rtSmyS3a.js.map → 13-kCEzUGMx.js.map} +1 -1
  39. package/build/server/chunks/{_page.svelte-osWzb7zl.js → _page.svelte-Vhv0rMkf.js} +18 -20
  40. package/build/server/chunks/_page.svelte-Vhv0rMkf.js.map +1 -0
  41. package/build/server/chunks/{_page.svelte-Dsob00jN.js → _page.svelte-sWX5P4Ll.js} +21 -21
  42. package/build/server/chunks/{_page.svelte-Dsob00jN.js.map → _page.svelte-sWX5P4Ll.js.map} +1 -1
  43. package/build/server/chunks/{loading-ellipsis-QoPZxJiG.js → loading-ellipsis-yq_aohpf.js} +2 -2
  44. package/build/server/chunks/{loading-ellipsis-QoPZxJiG.js.map → loading-ellipsis-yq_aohpf.js.map} +1 -1
  45. package/build/server/index.js +1 -1
  46. package/build/server/index.js.map +1 -1
  47. package/build/server/manifest.js +5 -5
  48. package/build/server/manifest.js.map +1 -1
  49. package/package.json +2 -2
  50. package/build/client/_app/immutable/chunks/loading-ellipsis.R0hKKLDn.js.br +0 -0
  51. package/build/client/_app/immutable/chunks/loading-ellipsis.R0hKKLDn.js.gz +0 -0
  52. package/build/client/_app/immutable/chunks/singletons.7gor0m3T.js.br +0 -0
  53. package/build/client/_app/immutable/chunks/singletons.7gor0m3T.js.gz +0 -0
  54. package/build/client/_app/immutable/chunks/stores.sdmSk4uL.js.br +0 -0
  55. package/build/client/_app/immutable/chunks/stores.sdmSk4uL.js.gz +0 -0
  56. package/build/client/_app/immutable/entry/app.UPFfDTm6.js.br +0 -0
  57. package/build/client/_app/immutable/entry/app.UPFfDTm6.js.gz +0 -0
  58. package/build/client/_app/immutable/entry/start.xZRsd2fc.js.br +0 -0
  59. package/build/client/_app/immutable/entry/start.xZRsd2fc.js.gz +0 -0
  60. package/build/client/_app/immutable/nodes/0.FkgixQg8.js.br +0 -0
  61. package/build/client/_app/immutable/nodes/0.FkgixQg8.js.gz +0 -0
  62. package/build/client/_app/immutable/nodes/1.LfY-Gknf.js.br +0 -0
  63. package/build/client/_app/immutable/nodes/1.LfY-Gknf.js.gz +0 -0
  64. package/build/client/_app/immutable/nodes/10.eAUN9e8j.js +0 -18
  65. package/build/client/_app/immutable/nodes/10.eAUN9e8j.js.br +0 -0
  66. package/build/client/_app/immutable/nodes/10.eAUN9e8j.js.gz +0 -0
  67. package/build/client/_app/immutable/nodes/13.zRS6nLGa.js.br +0 -0
  68. package/build/client/_app/immutable/nodes/13.zRS6nLGa.js.gz +0 -0
  69. package/build/server/chunks/_page.svelte-osWzb7zl.js.map +0 -1
@@ -1,5 +1,5 @@
1
- import{c as V}from"./singletons.7gor0m3T.js";import{n as v,k as H,H as g,a1 as K,G as p,a2 as O,a as j,d as _,a3 as N,i as b,g as X,u as P,r as U,v as D,K as Y,a4 as E,a5 as W,e as y,c as $,f as k,q as x,j as F,a6 as ee,t as te,b as le,s as se,h as A}from"./scheduler.T8nCnPq2.js";import{S as z,i as S,t as T,b as w,c as J,a as M,m as Q,d as R}from"./index.CP0w37D5.js";import{d as ne}from"./preferences.WetYOKHg.js";import{g as q,a as oe}from"./spread.rEx3vLA9.js";import{e as B}from"./each.oUkpMz5d.js";import{n as ae}from"./stores.sdmSk4uL.js";import{d as ie}from"./index.XEtU8W2G.js";const qe=V("goto");/**
2
- * @license lucide-svelte v0.303.0 - ISC
1
+ import{c as V}from"./singletons.DwO-MTR-.js";import{n as v,k as H,H as g,a1 as K,G as p,a2 as O,a as j,d as _,a3 as N,i as b,g as X,u as P,r as U,v as D,K as Y,a4 as E,a5 as W,e as y,c as $,f as k,q as x,j as F,a6 as ee,t as te,b as le,s as se,h as A}from"./scheduler.T8nCnPq2.js";import{S as z,i as S,t as T,b as w,c as J,a as M,m as Q,d as R}from"./index.CP0w37D5.js";import{d as ne}from"./preferences.WetYOKHg.js";import{g as q,a as oe}from"./spread.rEx3vLA9.js";import{e as B}from"./each.oUkpMz5d.js";import{n as ae}from"./stores.qqHx_u93.js";import{d as ie}from"./index.XEtU8W2G.js";const qe=V("goto");/**
2
+ * @license lucide-svelte v0.311.0 - ISC
3
3
 
4
4
  This source code is licensed under the ISC license.
5
5
  See the LICENSE file in the root directory of this source tree.
@@ -1 +1 @@
1
- import{w as u}from"./index.XEtU8W2G.js";const v=globalThis.__sveltekit_1n2tz0?.base??"",k=globalThis.__sveltekit_1n2tz0?.assets??v,m="1705278261299",T="sveltekit:snapshot",w="sveltekit:scroll",I="sveltekit:states",S="sveltekit:pageurl",y="sveltekit:history",N="sveltekit:navigation",f={tap:1,hover:2,viewport:3,eager:4,off:-1,false:-1},_=location.origin;function U(t){if(t instanceof URL)return t;let e=document.baseURI;if(!e){const n=document.getElementsByTagName("base");e=n.length?n[0].href:document.URL}return new URL(t,e)}function L(){return{x:pageXOffset,y:pageYOffset}}function c(t,e){return t.getAttribute(`data-sveltekit-${e}`)}const d={...f,"":f.hover};function h(t){let e=t.assignedSlot??t.parentNode;return e?.nodeType===11&&(e=e.host),e}function O(t,e){for(;t&&t!==e;){if(t.nodeName.toUpperCase()==="A"&&t.hasAttribute("href"))return t;t=h(t)}}function Y(t,e){let n;try{n=new URL(t instanceof SVGAElement?t.href.baseVal:t.href,document.baseURI)}catch{}const a=t instanceof SVGAElement?t.target.baseVal:t.target,r=!n||!!a||A(n,e)||(t.getAttribute("rel")||"").split(/\s+/).includes("external"),l=n?.origin===_&&t.hasAttribute("download");return{url:n,external:r,target:a,download:l}}function x(t){let e=null,n=null,a=null,r=null,l=null,o=null,s=t;for(;s&&s!==document.documentElement;)a===null&&(a=c(s,"preload-code")),r===null&&(r=c(s,"preload-data")),e===null&&(e=c(s,"keepfocus")),n===null&&(n=c(s,"noscroll")),l===null&&(l=c(s,"reload")),o===null&&(o=c(s,"replacestate")),s=h(s);function i(b){switch(b){case"":case"true":return!0;case"off":case"false":return!1;default:return}}return{preload_code:d[a??"off"],preload_data:d[r??"off"],keepfocus:i(e),noscroll:i(n),reload:i(l),replace_state:i(o)}}function p(t){const e=u(t);let n=!0;function a(){n=!0,e.update(o=>o)}function r(o){n=!1,e.set(o)}function l(o){let s;return e.subscribe(i=>{(s===void 0||n&&i!==s)&&o(s=i)})}return{notify:a,set:r,subscribe:l}}function E(){const{set:t,subscribe:e}=u(!1);let n;async function a(){clearTimeout(n);try{const r=await fetch(`${k}/_app/version.json`,{headers:{pragma:"no-cache","cache-control":"no-cache"}});if(!r.ok)return!1;const o=(await r.json()).version!==m;return o&&(t(!0),clearTimeout(n)),o}catch{return!1}}return{subscribe:e,check:a}}function A(t,e){return t.origin!==_||!t.pathname.startsWith(e)}let g;function P(t){g=t.client}function V(t){return(...e)=>g[t](...e)}const G={url:p({}),page:p({}),navigating:u(null),updated:E()};export{y as H,N,S as P,w as S,I as a,T as b,V as c,x as d,L as e,O as f,Y as g,v as h,A as i,f as j,P as k,_ as o,U as r,G as s};
1
+ import{w as u}from"./index.XEtU8W2G.js";const b=globalThis.__sveltekit_6chvjl?.base??"",k=globalThis.__sveltekit_6chvjl?.assets??b,m="1705474700337",T="sveltekit:snapshot",w="sveltekit:scroll",I="sveltekit:states",S="sveltekit:pageurl",y="sveltekit:history",N="sveltekit:navigation",f={tap:1,hover:2,viewport:3,eager:4,off:-1,false:-1},_=location.origin;function U(t){if(t instanceof URL)return t;let e=document.baseURI;if(!e){const n=document.getElementsByTagName("base");e=n.length?n[0].href:document.URL}return new URL(t,e)}function L(){return{x:pageXOffset,y:pageYOffset}}function c(t,e){return t.getAttribute(`data-sveltekit-${e}`)}const d={...f,"":f.hover};function h(t){let e=t.assignedSlot??t.parentNode;return e?.nodeType===11&&(e=e.host),e}function O(t,e){for(;t&&t!==e;){if(t.nodeName.toUpperCase()==="A"&&t.hasAttribute("href"))return t;t=h(t)}}function Y(t,e){let n;try{n=new URL(t instanceof SVGAElement?t.href.baseVal:t.href,document.baseURI)}catch{}const a=t instanceof SVGAElement?t.target.baseVal:t.target,r=!n||!!a||A(n,e)||(t.getAttribute("rel")||"").split(/\s+/).includes("external"),l=n?.origin===_&&t.hasAttribute("download");return{url:n,external:r,target:a,download:l}}function j(t){let e=null,n=null,a=null,r=null,l=null,o=null,s=t;for(;s&&s!==document.documentElement;)a===null&&(a=c(s,"preload-code")),r===null&&(r=c(s,"preload-data")),e===null&&(e=c(s,"keepfocus")),n===null&&(n=c(s,"noscroll")),l===null&&(l=c(s,"reload")),o===null&&(o=c(s,"replacestate")),s=h(s);function i(v){switch(v){case"":case"true":return!0;case"off":case"false":return!1;default:return}}return{preload_code:d[a??"off"],preload_data:d[r??"off"],keepfocus:i(e),noscroll:i(n),reload:i(l),replace_state:i(o)}}function p(t){const e=u(t);let n=!0;function a(){n=!0,e.update(o=>o)}function r(o){n=!1,e.set(o)}function l(o){let s;return e.subscribe(i=>{(s===void 0||n&&i!==s)&&o(s=i)})}return{notify:a,set:r,subscribe:l}}function E(){const{set:t,subscribe:e}=u(!1);let n;async function a(){clearTimeout(n);try{const r=await fetch(`${k}/_app/version.json`,{headers:{pragma:"no-cache","cache-control":"no-cache"}});if(!r.ok)return!1;const o=(await r.json()).version!==m;return o&&(t(!0),clearTimeout(n)),o}catch{return!1}}return{subscribe:e,check:a}}function A(t,e){return t.origin!==_||!t.pathname.startsWith(e)}let g;function x(t){g=t.client}function P(t){return(...e)=>g[t](...e)}const V={url:p({}),page:p({}),navigating:u(null),updated:E()};export{y as H,N,S as P,w as S,I as a,T as b,P as c,j as d,L as e,O as f,Y as g,b as h,A as i,f as j,x as k,_ as o,U as r,V as s};
@@ -1 +1 @@
1
- import{s as r}from"./singletons.7gor0m3T.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.DwO-MTR-.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};
@@ -0,0 +1,2 @@
1
+ ) ��m��vKû&�X(ꏨ���<��-I��[-�� � (L!��*
2
+ ���f���'��b�^Ӡ4��/�Dv��0���kP�����d3Ñ���p.�A�W��r��{���u
@@ -1,7 +1,7 @@
1
- import{_ as u}from"../chunks/5.MErjPYv9.js";import{n as q,l as C,G as m,o as G,i as w,d as g,M as Q,N as U,e as z,c as B,a as F,f as A,O as P,t as H,b as J,s as K,P as W,w as R,Q as b}from"../chunks/scheduler.T8nCnPq2.js";import{S as X,i as Y,b as p,e as D,t as d,g as I,c as k,a as V,m as E,d as v}from"../chunks/index.CP0w37D5.js";const ae={};function Z(_){let e,i,o;var n=_[1][0];function c(t,s){return{props:{data:t[3],form:t[2]}}}return n&&(e=b(n,c(_)),_[15](e)),{c(){e&&k(e.$$.fragment),i=m()},l(t){e&&V(e.$$.fragment,t),i=m()},m(t,s){e&&E(e,t,s),w(t,i,s),o=!0},p(t,s){if(s&2&&n!==(n=t[1][0])){if(e){I();const r=e;p(r.$$.fragment,1,0,()=>{v(r,1)}),D()}n?(e=b(n,c(t)),t[15](e),k(e.$$.fragment),d(e.$$.fragment,1),E(e,i.parentNode,i)):e=null}else if(n){const r={};s&8&&(r.data=t[3]),s&4&&(r.form=t[2]),e.$set(r)}},i(t){o||(e&&d(e.$$.fragment,t),o=!0)},o(t){e&&p(e.$$.fragment,t),o=!1},d(t){t&&g(i),_[15](null),e&&v(e,t)}}}function x(_){let e,i,o;var n=_[1][0];function c(t,s){return{props:{data:t[3],$$slots:{default:[ne]},$$scope:{ctx:t}}}}return n&&(e=b(n,c(_)),_[14](e)),{c(){e&&k(e.$$.fragment),i=m()},l(t){e&&V(e.$$.fragment,t),i=m()},m(t,s){e&&E(e,t,s),w(t,i,s),o=!0},p(t,s){if(s&2&&n!==(n=t[1][0])){if(e){I();const r=e;p(r.$$.fragment,1,0,()=>{v(r,1)}),D()}n?(e=b(n,c(t)),t[14](e),k(e.$$.fragment),d(e.$$.fragment,1),E(e,i.parentNode,i)):e=null}else if(n){const r={};s&8&&(r.data=t[3]),s&65591&&(r.$$scope={dirty:s,ctx:t}),e.$set(r)}},i(t){o||(e&&d(e.$$.fragment,t),o=!0)},o(t){e&&p(e.$$.fragment,t),o=!1},d(t){t&&g(i),_[14](null),e&&v(e,t)}}}function ee(_){let e,i,o;var n=_[1][1];function c(t,s){return{props:{data:t[4],form:t[2]}}}return n&&(e=b(n,c(_)),_[13](e)),{c(){e&&k(e.$$.fragment),i=m()},l(t){e&&V(e.$$.fragment,t),i=m()},m(t,s){e&&E(e,t,s),w(t,i,s),o=!0},p(t,s){if(s&2&&n!==(n=t[1][1])){if(e){I();const r=e;p(r.$$.fragment,1,0,()=>{v(r,1)}),D()}n?(e=b(n,c(t)),t[13](e),k(e.$$.fragment),d(e.$$.fragment,1),E(e,i.parentNode,i)):e=null}else if(n){const r={};s&16&&(r.data=t[4]),s&4&&(r.form=t[2]),e.$set(r)}},i(t){o||(e&&d(e.$$.fragment,t),o=!0)},o(t){e&&p(e.$$.fragment,t),o=!1},d(t){t&&g(i),_[13](null),e&&v(e,t)}}}function te(_){let e,i,o;var n=_[1][1];function c(t,s){return{props:{data:t[4],$$slots:{default:[ie]},$$scope:{ctx:t}}}}return n&&(e=b(n,c(_)),_[12](e)),{c(){e&&k(e.$$.fragment),i=m()},l(t){e&&V(e.$$.fragment,t),i=m()},m(t,s){e&&E(e,t,s),w(t,i,s),o=!0},p(t,s){if(s&2&&n!==(n=t[1][1])){if(e){I();const r=e;p(r.$$.fragment,1,0,()=>{v(r,1)}),D()}n?(e=b(n,c(t)),t[12](e),k(e.$$.fragment),d(e.$$.fragment,1),E(e,i.parentNode,i)):e=null}else if(n){const r={};s&16&&(r.data=t[4]),s&65575&&(r.$$scope={dirty:s,ctx:t}),e.$set(r)}},i(t){o||(e&&d(e.$$.fragment,t),o=!0)},o(t){e&&p(e.$$.fragment,t),o=!1},d(t){t&&g(i),_[12](null),e&&v(e,t)}}}function ie(_){let e,i,o;var n=_[1][2];function c(t,s){return{props:{data:t[5],form:t[2]}}}return n&&(e=b(n,c(_)),_[11](e)),{c(){e&&k(e.$$.fragment),i=m()},l(t){e&&V(e.$$.fragment,t),i=m()},m(t,s){e&&E(e,t,s),w(t,i,s),o=!0},p(t,s){if(s&2&&n!==(n=t[1][2])){if(e){I();const r=e;p(r.$$.fragment,1,0,()=>{v(r,1)}),D()}n?(e=b(n,c(t)),t[11](e),k(e.$$.fragment),d(e.$$.fragment,1),E(e,i.parentNode,i)):e=null}else if(n){const r={};s&32&&(r.data=t[5]),s&4&&(r.form=t[2]),e.$set(r)}},i(t){o||(e&&d(e.$$.fragment,t),o=!0)},o(t){e&&p(e.$$.fragment,t),o=!1},d(t){t&&g(i),_[11](null),e&&v(e,t)}}}function ne(_){let e,i,o,n;const c=[te,ee],t=[];function s(r,l){return r[1][2]?0:1}return e=s(_),i=t[e]=c[e](_),{c(){i.c(),o=m()},l(r){i.l(r),o=m()},m(r,l){t[e].m(r,l),w(r,o,l),n=!0},p(r,l){let a=e;e=s(r),e===a?t[e].p(r,l):(I(),p(t[a],1,1,()=>{t[a]=null}),D(),i=t[e],i?i.p(r,l):(i=t[e]=c[e](r),i.c()),d(i,1),i.m(o.parentNode,o))},i(r){n||(d(i),n=!0)},o(r){p(i),n=!1},d(r){r&&g(o),t[e].d(r)}}}function T(_){let e,i=_[7]&&N(_);return{c(){e=z("div"),i&&i.c(),this.h()},l(o){e=B(o,"DIV",{id:!0,"aria-live":!0,"aria-atomic":!0,style:!0});var n=F(e);i&&i.l(n),n.forEach(g),this.h()},h(){A(e,"id","svelte-announcer"),A(e,"aria-live","assertive"),A(e,"aria-atomic","true"),P(e,"position","absolute"),P(e,"left","0"),P(e,"top","0"),P(e,"clip","rect(0 0 0 0)"),P(e,"clip-path","inset(50%)"),P(e,"overflow","hidden"),P(e,"white-space","nowrap"),P(e,"width","1px"),P(e,"height","1px")},m(o,n){w(o,e,n),i&&i.m(e,null)},p(o,n){o[7]?i?i.p(o,n):(i=N(o),i.c(),i.m(e,null)):i&&(i.d(1),i=null)},d(o){o&&g(e),i&&i.d()}}}function N(_){let e;return{c(){e=H(_[8])},l(i){e=J(i,_[8])},m(i,o){w(i,e,o)},p(i,o){o&256&&K(e,i[8])},d(i){i&&g(e)}}}function re(_){let e,i,o,n,c;const t=[x,Z],s=[];function r(a,h){return a[1][1]?0:1}e=r(_),i=s[e]=t[e](_);let l=_[6]&&T(_);return{c(){i.c(),o=C(),l&&l.c(),n=m()},l(a){i.l(a),o=G(a),l&&l.l(a),n=m()},m(a,h){s[e].m(a,h),w(a,o,h),l&&l.m(a,h),w(a,n,h),c=!0},p(a,[h]){let O=e;e=r(a),e===O?s[e].p(a,h):(I(),p(s[O],1,1,()=>{s[O]=null}),D(),i=s[e],i?i.p(a,h):(i=s[e]=t[e](a),i.c()),d(i,1),i.m(o.parentNode,o)),a[6]?l?l.p(a,h):(l=T(a),l.c(),l.m(n.parentNode,n)):l&&(l.d(1),l=null)},i(a){c||(d(i),c=!0)},o(a){p(i),c=!1},d(a){a&&(g(o),g(n)),s[e].d(a),l&&l.d(a)}}}function oe(_,e,i){let{stores:o}=e,{page:n}=e,{constructors:c}=e,{components:t=[]}=e,{form:s}=e,{data_0:r=null}=e,{data_1:l=null}=e,{data_2:a=null}=e;Q(o.page.notify);let h=!1,O=!1,L=null;U(()=>{const f=o.page.subscribe(()=>{h&&(i(7,O=!0),W().then(()=>{i(8,L=document.title||"untitled page")}))});return i(6,h=!0),f});function j(f){R[f?"unshift":"push"](()=>{t[2]=f,i(0,t)})}function y(f){R[f?"unshift":"push"](()=>{t[1]=f,i(0,t)})}function $(f){R[f?"unshift":"push"](()=>{t[1]=f,i(0,t)})}function M(f){R[f?"unshift":"push"](()=>{t[0]=f,i(0,t)})}function S(f){R[f?"unshift":"push"](()=>{t[0]=f,i(0,t)})}return _.$$set=f=>{"stores"in f&&i(9,o=f.stores),"page"in f&&i(10,n=f.page),"constructors"in f&&i(1,c=f.constructors),"components"in f&&i(0,t=f.components),"form"in f&&i(2,s=f.form),"data_0"in f&&i(3,r=f.data_0),"data_1"in f&&i(4,l=f.data_1),"data_2"in f&&i(5,a=f.data_2)},_.$$.update=()=>{_.$$.dirty&1536&&o.page.set(n)},[t,c,s,r,l,a,h,O,L,o,n,j,y,$,M,S]}class le extends X{constructor(e){super(),Y(this,e,oe,re,q,{stores:9,page:10,constructors:1,components:0,form:2,data_0:3,data_1:4,data_2:5})}}const ce=[()=>u(()=>import("../nodes/0.FkgixQg8.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8]),import.meta.url),()=>u(()=>import("../nodes/1.LfY-Gknf.js"),__vite__mapDeps([9,1,2,4,5,6]),import.meta.url),()=>u(()=>import("../nodes/2.vkJXjTLs.js"),__vite__mapDeps([10,1,2,11,7,6]),import.meta.url),()=>u(()=>import("../nodes/3.4gRT3HSg.js"),__vite__mapDeps([12,1,2,13,11,14]),import.meta.url),()=>u(()=>import("../nodes/4.byFKum4o.js"),__vite__mapDeps([15,1,2,13,11,14]),import.meta.url),()=>u(()=>import("../chunks/5.MErjPYv9.js").then(_=>_.a),__vite__mapDeps([]),import.meta.url),()=>u(()=>import("../nodes/6.Jq6ShEd9.js"),__vite__mapDeps([16,1,2,13,11,14]),import.meta.url),()=>u(()=>import("../nodes/7.71Z9fgfA.js"),__vite__mapDeps([17,1,2,13,11,14]),import.meta.url),()=>u(()=>import("../nodes/8.6IDmM4ij.js"),__vite__mapDeps([18,1,2,3,13,11]),import.meta.url),()=>u(()=>import("../nodes/9.K5BmOR02.js"),__vite__mapDeps([19,1,2,13,11,14]),import.meta.url),()=>u(()=>import("../nodes/10.eAUN9e8j.js"),__vite__mapDeps([20,6,1,4,5,21,2,7,22,3,23,11,13,24]),import.meta.url),()=>u(()=>import("../nodes/11.RxDnejtk.js"),__vite__mapDeps([25,1,2,11,26,22,13]),import.meta.url),()=>u(()=>import("../nodes/12.dd-A-uM0.js"),__vite__mapDeps([27,1,2,7,6,23]),import.meta.url),()=>u(()=>import("../nodes/13.zRS6nLGa.js"),__vite__mapDeps([28,21,5,6,1,2,7,22,3,4,23,11]),import.meta.url),()=>u(()=>import("../nodes/14.GEWk9aUl.js"),__vite__mapDeps([29,1,2,11,13,26,22]),import.meta.url)],ue=[0],me={"/(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":[13],"/(opengrok-compat)/search":[-9,[2]],"/syntax":[14],"/(opengrok-compat)/xref/[project]/[...file]":[-10,[2]]},pe={handleError:({error:_})=>{console.error(_)}};export{me as dictionary,pe as hooks,ae as matchers,ce as nodes,le as root,ue as server_loads};
1
+ import{_ as u}from"../chunks/5.MErjPYv9.js";import{n as q,l as C,G as m,o as G,i as w,d as g,M as Q,N as U,e as z,c as B,a as F,f as A,O as P,t as H,b as J,s as K,P as W,w as R,Q as b}from"../chunks/scheduler.T8nCnPq2.js";import{S as X,i as Y,b as p,e as D,t as d,g as I,c as k,a as V,m as E,d as v}from"../chunks/index.CP0w37D5.js";const ae={};function Z(_){let e,i,o;var n=_[1][0];function c(t,s){return{props:{data:t[3],form:t[2]}}}return n&&(e=b(n,c(_)),_[15](e)),{c(){e&&k(e.$$.fragment),i=m()},l(t){e&&V(e.$$.fragment,t),i=m()},m(t,s){e&&E(e,t,s),w(t,i,s),o=!0},p(t,s){if(s&2&&n!==(n=t[1][0])){if(e){I();const r=e;p(r.$$.fragment,1,0,()=>{v(r,1)}),D()}n?(e=b(n,c(t)),t[15](e),k(e.$$.fragment),d(e.$$.fragment,1),E(e,i.parentNode,i)):e=null}else if(n){const r={};s&8&&(r.data=t[3]),s&4&&(r.form=t[2]),e.$set(r)}},i(t){o||(e&&d(e.$$.fragment,t),o=!0)},o(t){e&&p(e.$$.fragment,t),o=!1},d(t){t&&g(i),_[15](null),e&&v(e,t)}}}function x(_){let e,i,o;var n=_[1][0];function c(t,s){return{props:{data:t[3],$$slots:{default:[ne]},$$scope:{ctx:t}}}}return n&&(e=b(n,c(_)),_[14](e)),{c(){e&&k(e.$$.fragment),i=m()},l(t){e&&V(e.$$.fragment,t),i=m()},m(t,s){e&&E(e,t,s),w(t,i,s),o=!0},p(t,s){if(s&2&&n!==(n=t[1][0])){if(e){I();const r=e;p(r.$$.fragment,1,0,()=>{v(r,1)}),D()}n?(e=b(n,c(t)),t[14](e),k(e.$$.fragment),d(e.$$.fragment,1),E(e,i.parentNode,i)):e=null}else if(n){const r={};s&8&&(r.data=t[3]),s&65591&&(r.$$scope={dirty:s,ctx:t}),e.$set(r)}},i(t){o||(e&&d(e.$$.fragment,t),o=!0)},o(t){e&&p(e.$$.fragment,t),o=!1},d(t){t&&g(i),_[14](null),e&&v(e,t)}}}function ee(_){let e,i,o;var n=_[1][1];function c(t,s){return{props:{data:t[4],form:t[2]}}}return n&&(e=b(n,c(_)),_[13](e)),{c(){e&&k(e.$$.fragment),i=m()},l(t){e&&V(e.$$.fragment,t),i=m()},m(t,s){e&&E(e,t,s),w(t,i,s),o=!0},p(t,s){if(s&2&&n!==(n=t[1][1])){if(e){I();const r=e;p(r.$$.fragment,1,0,()=>{v(r,1)}),D()}n?(e=b(n,c(t)),t[13](e),k(e.$$.fragment),d(e.$$.fragment,1),E(e,i.parentNode,i)):e=null}else if(n){const r={};s&16&&(r.data=t[4]),s&4&&(r.form=t[2]),e.$set(r)}},i(t){o||(e&&d(e.$$.fragment,t),o=!0)},o(t){e&&p(e.$$.fragment,t),o=!1},d(t){t&&g(i),_[13](null),e&&v(e,t)}}}function te(_){let e,i,o;var n=_[1][1];function c(t,s){return{props:{data:t[4],$$slots:{default:[ie]},$$scope:{ctx:t}}}}return n&&(e=b(n,c(_)),_[12](e)),{c(){e&&k(e.$$.fragment),i=m()},l(t){e&&V(e.$$.fragment,t),i=m()},m(t,s){e&&E(e,t,s),w(t,i,s),o=!0},p(t,s){if(s&2&&n!==(n=t[1][1])){if(e){I();const r=e;p(r.$$.fragment,1,0,()=>{v(r,1)}),D()}n?(e=b(n,c(t)),t[12](e),k(e.$$.fragment),d(e.$$.fragment,1),E(e,i.parentNode,i)):e=null}else if(n){const r={};s&16&&(r.data=t[4]),s&65575&&(r.$$scope={dirty:s,ctx:t}),e.$set(r)}},i(t){o||(e&&d(e.$$.fragment,t),o=!0)},o(t){e&&p(e.$$.fragment,t),o=!1},d(t){t&&g(i),_[12](null),e&&v(e,t)}}}function ie(_){let e,i,o;var n=_[1][2];function c(t,s){return{props:{data:t[5],form:t[2]}}}return n&&(e=b(n,c(_)),_[11](e)),{c(){e&&k(e.$$.fragment),i=m()},l(t){e&&V(e.$$.fragment,t),i=m()},m(t,s){e&&E(e,t,s),w(t,i,s),o=!0},p(t,s){if(s&2&&n!==(n=t[1][2])){if(e){I();const r=e;p(r.$$.fragment,1,0,()=>{v(r,1)}),D()}n?(e=b(n,c(t)),t[11](e),k(e.$$.fragment),d(e.$$.fragment,1),E(e,i.parentNode,i)):e=null}else if(n){const r={};s&32&&(r.data=t[5]),s&4&&(r.form=t[2]),e.$set(r)}},i(t){o||(e&&d(e.$$.fragment,t),o=!0)},o(t){e&&p(e.$$.fragment,t),o=!1},d(t){t&&g(i),_[11](null),e&&v(e,t)}}}function ne(_){let e,i,o,n;const c=[te,ee],t=[];function s(r,l){return r[1][2]?0:1}return e=s(_),i=t[e]=c[e](_),{c(){i.c(),o=m()},l(r){i.l(r),o=m()},m(r,l){t[e].m(r,l),w(r,o,l),n=!0},p(r,l){let a=e;e=s(r),e===a?t[e].p(r,l):(I(),p(t[a],1,1,()=>{t[a]=null}),D(),i=t[e],i?i.p(r,l):(i=t[e]=c[e](r),i.c()),d(i,1),i.m(o.parentNode,o))},i(r){n||(d(i),n=!0)},o(r){p(i),n=!1},d(r){r&&g(o),t[e].d(r)}}}function T(_){let e,i=_[7]&&N(_);return{c(){e=z("div"),i&&i.c(),this.h()},l(o){e=B(o,"DIV",{id:!0,"aria-live":!0,"aria-atomic":!0,style:!0});var n=F(e);i&&i.l(n),n.forEach(g),this.h()},h(){A(e,"id","svelte-announcer"),A(e,"aria-live","assertive"),A(e,"aria-atomic","true"),P(e,"position","absolute"),P(e,"left","0"),P(e,"top","0"),P(e,"clip","rect(0 0 0 0)"),P(e,"clip-path","inset(50%)"),P(e,"overflow","hidden"),P(e,"white-space","nowrap"),P(e,"width","1px"),P(e,"height","1px")},m(o,n){w(o,e,n),i&&i.m(e,null)},p(o,n){o[7]?i?i.p(o,n):(i=N(o),i.c(),i.m(e,null)):i&&(i.d(1),i=null)},d(o){o&&g(e),i&&i.d()}}}function N(_){let e;return{c(){e=H(_[8])},l(i){e=J(i,_[8])},m(i,o){w(i,e,o)},p(i,o){o&256&&K(e,i[8])},d(i){i&&g(e)}}}function re(_){let e,i,o,n,c;const t=[x,Z],s=[];function r(a,h){return a[1][1]?0:1}e=r(_),i=s[e]=t[e](_);let l=_[6]&&T(_);return{c(){i.c(),o=C(),l&&l.c(),n=m()},l(a){i.l(a),o=G(a),l&&l.l(a),n=m()},m(a,h){s[e].m(a,h),w(a,o,h),l&&l.m(a,h),w(a,n,h),c=!0},p(a,[h]){let O=e;e=r(a),e===O?s[e].p(a,h):(I(),p(s[O],1,1,()=>{s[O]=null}),D(),i=s[e],i?i.p(a,h):(i=s[e]=t[e](a),i.c()),d(i,1),i.m(o.parentNode,o)),a[6]?l?l.p(a,h):(l=T(a),l.c(),l.m(n.parentNode,n)):l&&(l.d(1),l=null)},i(a){c||(d(i),c=!0)},o(a){p(i),c=!1},d(a){a&&(g(o),g(n)),s[e].d(a),l&&l.d(a)}}}function oe(_,e,i){let{stores:o}=e,{page:n}=e,{constructors:c}=e,{components:t=[]}=e,{form:s}=e,{data_0:r=null}=e,{data_1:l=null}=e,{data_2:a=null}=e;Q(o.page.notify);let h=!1,O=!1,L=null;U(()=>{const f=o.page.subscribe(()=>{h&&(i(7,O=!0),W().then(()=>{i(8,L=document.title||"untitled page")}))});return i(6,h=!0),f});function j(f){R[f?"unshift":"push"](()=>{t[2]=f,i(0,t)})}function y(f){R[f?"unshift":"push"](()=>{t[1]=f,i(0,t)})}function $(f){R[f?"unshift":"push"](()=>{t[1]=f,i(0,t)})}function M(f){R[f?"unshift":"push"](()=>{t[0]=f,i(0,t)})}function S(f){R[f?"unshift":"push"](()=>{t[0]=f,i(0,t)})}return _.$$set=f=>{"stores"in f&&i(9,o=f.stores),"page"in f&&i(10,n=f.page),"constructors"in f&&i(1,c=f.constructors),"components"in f&&i(0,t=f.components),"form"in f&&i(2,s=f.form),"data_0"in f&&i(3,r=f.data_0),"data_1"in f&&i(4,l=f.data_1),"data_2"in f&&i(5,a=f.data_2)},_.$$.update=()=>{_.$$.dirty&1536&&o.page.set(n)},[t,c,s,r,l,a,h,O,L,o,n,j,y,$,M,S]}class le extends X{constructor(e){super(),Y(this,e,oe,re,q,{stores:9,page:10,constructors:1,components:0,form:2,data_0:3,data_1:4,data_2:5})}}const ce=[()=>u(()=>import("../nodes/0.xWLavMW2.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8]),import.meta.url),()=>u(()=>import("../nodes/1.rAOpvYHL.js"),__vite__mapDeps([9,1,2,4,5,6]),import.meta.url),()=>u(()=>import("../nodes/2.vkJXjTLs.js"),__vite__mapDeps([10,1,2,11,7,6]),import.meta.url),()=>u(()=>import("../nodes/3.4gRT3HSg.js"),__vite__mapDeps([12,1,2,13,11,14]),import.meta.url),()=>u(()=>import("../nodes/4.byFKum4o.js"),__vite__mapDeps([15,1,2,13,11,14]),import.meta.url),()=>u(()=>import("../chunks/5.MErjPYv9.js").then(_=>_.a),__vite__mapDeps([]),import.meta.url),()=>u(()=>import("../nodes/6.Jq6ShEd9.js"),__vite__mapDeps([16,1,2,13,11,14]),import.meta.url),()=>u(()=>import("../nodes/7.71Z9fgfA.js"),__vite__mapDeps([17,1,2,13,11,14]),import.meta.url),()=>u(()=>import("../nodes/8.6IDmM4ij.js"),__vite__mapDeps([18,1,2,3,13,11]),import.meta.url),()=>u(()=>import("../nodes/9.K5BmOR02.js"),__vite__mapDeps([19,1,2,13,11,14]),import.meta.url),()=>u(()=>import("../nodes/10.GvaEAgQH.js"),__vite__mapDeps([20,6,1,4,5,21,2,7,22,3,23,11,13,24]),import.meta.url),()=>u(()=>import("../nodes/11.RxDnejtk.js"),__vite__mapDeps([25,1,2,11,26,22,13]),import.meta.url),()=>u(()=>import("../nodes/12.dd-A-uM0.js"),__vite__mapDeps([27,1,2,7,6,23]),import.meta.url),()=>u(()=>import("../nodes/13.sZkidTit.js"),__vite__mapDeps([28,21,5,6,1,2,7,22,3,4,23,11]),import.meta.url),()=>u(()=>import("../nodes/14.GEWk9aUl.js"),__vite__mapDeps([29,1,2,11,13,26,22]),import.meta.url)],ue=[0],me={"/(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":[13],"/(opengrok-compat)/search":[-9,[2]],"/syntax":[14],"/(opengrok-compat)/xref/[project]/[...file]":[-10,[2]]},pe={handleError:({error:_})=>{console.error(_)}};export{me as dictionary,pe as hooks,ae as matchers,ce as nodes,le as root,ue as server_loads};
2
2
  function __vite__mapDeps(indexes) {
3
3
  if (!__vite__mapDeps.viteFileDeps) {
4
- __vite__mapDeps.viteFileDeps = ["../nodes/0.FkgixQg8.js","../chunks/scheduler.T8nCnPq2.js","../chunks/index.CP0w37D5.js","../chunks/each.oUkpMz5d.js","../chunks/stores.sdmSk4uL.js","../chunks/singletons.7gor0m3T.js","../chunks/index.XEtU8W2G.js","../chunks/preferences.WetYOKHg.js","../assets/0.o0zCXDLg.css","../nodes/1.LfY-Gknf.js","../nodes/2.vkJXjTLs.js","../chunks/link.czJPdQv3.js","../nodes/3.4gRT3HSg.js","../chunks/example-query.6BQBimAu.js","../chunks/regexp.8yO1-0W0.js","../nodes/4.byFKum4o.js","../nodes/6.Jq6ShEd9.js","../nodes/7.71Z9fgfA.js","../nodes/8.6IDmM4ij.js","../nodes/9.K5BmOR02.js","../nodes/10.eAUN9e8j.js","../chunks/loading-ellipsis.R0hKKLDn.js","../chunks/spread.rEx3vLA9.js","../chunks/integer-input.fvZuttUG.js","../chunks/5.MErjPYv9.js","../nodes/11.RxDnejtk.js","../chunks/doc-section-heading.sh2xxNsr.js","../nodes/12.dd-A-uM0.js","../nodes/13.zRS6nLGa.js","../nodes/14.GEWk9aUl.js"]
4
+ __vite__mapDeps.viteFileDeps = ["../nodes/0.xWLavMW2.js","../chunks/scheduler.T8nCnPq2.js","../chunks/index.CP0w37D5.js","../chunks/each.oUkpMz5d.js","../chunks/stores.qqHx_u93.js","../chunks/singletons.DwO-MTR-.js","../chunks/index.XEtU8W2G.js","../chunks/preferences.WetYOKHg.js","../assets/0.o0zCXDLg.css","../nodes/1.rAOpvYHL.js","../nodes/2.vkJXjTLs.js","../chunks/link.czJPdQv3.js","../nodes/3.4gRT3HSg.js","../chunks/example-query.6BQBimAu.js","../chunks/regexp.8yO1-0W0.js","../nodes/4.byFKum4o.js","../nodes/6.Jq6ShEd9.js","../nodes/7.71Z9fgfA.js","../nodes/8.6IDmM4ij.js","../nodes/9.K5BmOR02.js","../nodes/10.GvaEAgQH.js","../chunks/loading-ellipsis.k3p6ijV8.js","../chunks/spread.rEx3vLA9.js","../chunks/integer-input.fvZuttUG.js","../chunks/5.MErjPYv9.js","../nodes/11.RxDnejtk.js","../chunks/doc-section-heading.sh2xxNsr.js","../nodes/12.dd-A-uM0.js","../nodes/13.sZkidTit.js","../nodes/14.GEWk9aUl.js"]
5
5
  }
6
6
  return indexes.map((i) => __vite__mapDeps.viteFileDeps[i])
7
7
  }
@@ -1,4 +1,4 @@
1
- import{N as Se,P as ke}from"../chunks/scheduler.T8nCnPq2.js";import{S as ct,a as lt,b as ft,H,N as K,r as ne,o as Ae,P as Oe,f as Qe,g as Re,d as de,i as $e,e as Te,s as q,h as F,j as et,k as bt}from"../chunks/singletons.7gor0m3T.js";new URL("sveltekit-internal://");function Et(e,a){return e==="/"||a==="ignore"?e:a==="never"?e.endsWith("/")?e.slice(0,-1):e:a==="always"&&!e.endsWith("/")?e+"/":e}function St(e){return e.split("%25").map(decodeURI).join("%25")}function kt(e){for(const a in e)e[a]=decodeURIComponent(e[a]);return e}function Pe({href:e}){return e.split("#")[0]}const At=["href","pathname","search","toString","toJSON"];function Ot(e,a,c){const o=new URL(e);Object.defineProperty(o,"searchParams",{value:new Proxy(o.searchParams,{get(u,f){if(f==="get"||f==="getAll"||f==="has")return l=>(c(l),u[f](l));a();const w=Reflect.get(u,f);return typeof w=="function"?w.bind(u):w}}),enumerable:!0,configurable:!0});for(const u of At)Object.defineProperty(o,u,{get(){return a(),e[u]},enumerable:!0,configurable:!0});return Rt(o),o}function Rt(e){Object.defineProperty(e,"hash",{get(){throw new Error("Cannot access event.url.hash. Consider using `$page.url.hash` inside a component instead")}})}const $t="/__data.json",Pt=".html__data.json";function It(e){return e.endsWith(".html")?e.replace(/\.html$/,Pt):e.replace(/\/$/,"")+$t}function jt(...e){let a=5381;for(const c of e)if(typeof c=="string"){let o=c.length;for(;o;)a=a*33^c.charCodeAt(--o)}else if(ArrayBuffer.isView(c)){const o=new Uint8Array(c.buffer,c.byteOffset,c.byteLength);let u=o.length;for(;u;)a=a*33^o[--u]}else throw new TypeError("value must be a string or TypedArray");return(a>>>0).toString(36)}const ut=window.fetch;window.fetch=(e,a)=>((e instanceof Request?e.method:a?.method||"GET")!=="GET"&&ae.delete(Ce(e)),ut(e,a));const ae=new Map;function xt(e){const a=atob(e),c=new Uint8Array(a.length);for(let o=0;o<a.length;o++)c[o]=a.charCodeAt(o);return c.buffer}function Lt(e,a){const c=Ce(e,a),o=document.querySelector(c);if(o?.textContent){let{body:u,...f}=JSON.parse(o.textContent);const w=o.getAttribute("data-ttl");return w&&ae.set(c,{body:u,init:f,ttl:1e3*Number(w)}),o.getAttribute("data-b64")!==null&&(u=xt(u)),Promise.resolve(new Response(u,f))}return window.fetch(e,a)}function Nt(e,a,c){if(ae.size>0){const o=Ce(e,c),u=ae.get(o);if(u){if(performance.now()<u.ttl&&["default","force-cache","only-if-cached",void 0].includes(c?.cache))return new Response(u.body,u.init);ae.delete(o)}}return window.fetch(a,c)}function Ce(e,a){let o=`script[data-sveltekit-fetched][data-url=${JSON.stringify(e instanceof Request?e.url:e)}]`;if(a?.headers||a?.body){const u=[];a.headers&&u.push([...new Headers(a.headers)].join(",")),a.body&&(typeof a.body=="string"||ArrayBuffer.isView(a.body))&&u.push(a.body),o+=`[data-hash="${jt(...u)}"]`}return o}const Ut=/^(\[)?(\.\.\.)?(\w+)(?:=(\w+))?(\])?$/;function Tt(e){const a=[];return{pattern:e==="/"?/^\/$/:new RegExp(`^${Dt(e).map(o=>{const u=/^\[\.\.\.(\w+)(?:=(\w+))?\]$/.exec(o);if(u)return a.push({name:u[1],matcher:u[2],optional:!1,rest:!0,chained:!0}),"(?:/(.*))?";const f=/^\[\[(\w+)(?:=(\w+))?\]\]$/.exec(o);if(f)return a.push({name:f[1],matcher:f[2],optional:!0,rest:!1,chained:!0}),"(?:/([^/]+))?";if(!o)return;const w=o.split(/\[(.+?)\](?!\])/);return"/"+w.map((g,s)=>{if(s%2){if(g.startsWith("x+"))return Ie(String.fromCharCode(parseInt(g.slice(2),16)));if(g.startsWith("u+"))return Ie(String.fromCharCode(...g.slice(2).split("-").map(O=>parseInt(O,16))));const h=Ut.exec(g);if(!h)throw new Error(`Invalid param: ${g}. Params and matcher names can only have underscores and alphanumeric characters.`);const[,v,P,E,$]=h;return a.push({name:E,matcher:$,optional:!!v,rest:!!P,chained:P?s===1&&w[0]==="":!1}),P?"(.*?)":v?"([^/]*)?":"([^/]+?)"}return Ie(g)}).join("")}).join("")}/?$`),params:a}}function Ct(e){return!/^\([^)]+\)$/.test(e)}function Dt(e){return e.slice(1).split("/").filter(Ct)}function Mt(e,a,c){const o={},u=e.slice(1),f=u.filter(l=>l!==void 0);let w=0;for(let l=0;l<a.length;l+=1){const g=a[l];let s=u[l-w];if(g.chained&&g.rest&&w&&(s=u.slice(l-w,l+1).filter(h=>h).join("/"),w=0),s===void 0){g.rest&&(o[g.name]="");continue}if(!g.matcher||c[g.matcher](s)){o[g.name]=s;const h=a[l+1],v=u[l+1];h&&!h.rest&&h.optional&&v&&g.chained&&(w=0),!h&&!v&&Object.keys(o).length===f.length&&(w=0);continue}if(g.optional&&g.chained){w++;continue}return}if(!w)return o}function Ie(e){return e.normalize().replace(/[[\]]/g,"\\$&").replace(/%/g,"%25").replace(/\//g,"%2[Ff]").replace(/\?/g,"%3[Ff]").replace(/#/g,"%23").replace(/[.*+?^${}()|\\]/g,"\\$&")}function Ft({nodes:e,server_loads:a,dictionary:c,matchers:o}){const u=new Set(a);return Object.entries(c).map(([l,[g,s,h]])=>{const{pattern:v,params:P}=Tt(l),E={id:l,exec:$=>{const O=v.exec($);if(O)return Mt(O,P,o)},errors:[1,...h||[]].map($=>e[$]),layouts:[0,...s||[]].map(w),leaf:f(g)};return E.errors.length=E.layouts.length=Math.max(E.errors.length,E.layouts.length),E});function f(l){const g=l<0;return g&&(l=~l),[g,e[l]]}function w(l){return l===void 0?l:[u.has(l),e[l]]}}function De(e,a=JSON.parse){try{return a(sessionStorage[e])}catch{}}function je(e,a,c=JSON.stringify){const o=c(a);try{sessionStorage[e]=o}catch{}}class xe extends Error{constructor(a,c){super(a),this.name="DevalueError",this.path=c.join("")}}function tt(e){return Object(e)!==e}const Vt=Object.getOwnPropertyNames(Object.prototype).sort().join("\0");function Bt(e){const a=Object.getPrototypeOf(e);return a===Object.prototype||a===null||Object.getOwnPropertyNames(a).sort().join("\0")===Vt}function Ht(e){return Object.prototype.toString.call(e).slice(8,-1)}function qt(e){switch(e){case'"':return'\\"';case"<":return"\\u003C";case"\\":return"\\\\";case`
1
+ import{N as Se,P as ke}from"../chunks/scheduler.T8nCnPq2.js";import{S as ct,a as lt,b as ft,H,N as K,r as ne,o as Ae,P as Oe,f as Qe,g as Re,d as de,i as $e,e as Te,s as q,h as F,j as et,k as bt}from"../chunks/singletons.DwO-MTR-.js";new URL("sveltekit-internal://");function Et(e,a){return e==="/"||a==="ignore"?e:a==="never"?e.endsWith("/")?e.slice(0,-1):e:a==="always"&&!e.endsWith("/")?e+"/":e}function St(e){return e.split("%25").map(decodeURI).join("%25")}function kt(e){for(const a in e)e[a]=decodeURIComponent(e[a]);return e}function Pe({href:e}){return e.split("#")[0]}const At=["href","pathname","search","toString","toJSON"];function Ot(e,a,c){const o=new URL(e);Object.defineProperty(o,"searchParams",{value:new Proxy(o.searchParams,{get(u,f){if(f==="get"||f==="getAll"||f==="has")return l=>(c(l),u[f](l));a();const w=Reflect.get(u,f);return typeof w=="function"?w.bind(u):w}}),enumerable:!0,configurable:!0});for(const u of At)Object.defineProperty(o,u,{get(){return a(),e[u]},enumerable:!0,configurable:!0});return Rt(o),o}function Rt(e){Object.defineProperty(e,"hash",{get(){throw new Error("Cannot access event.url.hash. Consider using `$page.url.hash` inside a component instead")}})}const $t="/__data.json",Pt=".html__data.json";function It(e){return e.endsWith(".html")?e.replace(/\.html$/,Pt):e.replace(/\/$/,"")+$t}function jt(...e){let a=5381;for(const c of e)if(typeof c=="string"){let o=c.length;for(;o;)a=a*33^c.charCodeAt(--o)}else if(ArrayBuffer.isView(c)){const o=new Uint8Array(c.buffer,c.byteOffset,c.byteLength);let u=o.length;for(;u;)a=a*33^o[--u]}else throw new TypeError("value must be a string or TypedArray");return(a>>>0).toString(36)}const ut=window.fetch;window.fetch=(e,a)=>((e instanceof Request?e.method:a?.method||"GET")!=="GET"&&ae.delete(Ce(e)),ut(e,a));const ae=new Map;function xt(e){const a=atob(e),c=new Uint8Array(a.length);for(let o=0;o<a.length;o++)c[o]=a.charCodeAt(o);return c.buffer}function Lt(e,a){const c=Ce(e,a),o=document.querySelector(c);if(o?.textContent){let{body:u,...f}=JSON.parse(o.textContent);const w=o.getAttribute("data-ttl");return w&&ae.set(c,{body:u,init:f,ttl:1e3*Number(w)}),o.getAttribute("data-b64")!==null&&(u=xt(u)),Promise.resolve(new Response(u,f))}return window.fetch(e,a)}function Nt(e,a,c){if(ae.size>0){const o=Ce(e,c),u=ae.get(o);if(u){if(performance.now()<u.ttl&&["default","force-cache","only-if-cached",void 0].includes(c?.cache))return new Response(u.body,u.init);ae.delete(o)}}return window.fetch(a,c)}function Ce(e,a){let o=`script[data-sveltekit-fetched][data-url=${JSON.stringify(e instanceof Request?e.url:e)}]`;if(a?.headers||a?.body){const u=[];a.headers&&u.push([...new Headers(a.headers)].join(",")),a.body&&(typeof a.body=="string"||ArrayBuffer.isView(a.body))&&u.push(a.body),o+=`[data-hash="${jt(...u)}"]`}return o}const Ut=/^(\[)?(\.\.\.)?(\w+)(?:=(\w+))?(\])?$/;function Tt(e){const a=[];return{pattern:e==="/"?/^\/$/:new RegExp(`^${Dt(e).map(o=>{const u=/^\[\.\.\.(\w+)(?:=(\w+))?\]$/.exec(o);if(u)return a.push({name:u[1],matcher:u[2],optional:!1,rest:!0,chained:!0}),"(?:/(.*))?";const f=/^\[\[(\w+)(?:=(\w+))?\]\]$/.exec(o);if(f)return a.push({name:f[1],matcher:f[2],optional:!0,rest:!1,chained:!0}),"(?:/([^/]+))?";if(!o)return;const w=o.split(/\[(.+?)\](?!\])/);return"/"+w.map((g,s)=>{if(s%2){if(g.startsWith("x+"))return Ie(String.fromCharCode(parseInt(g.slice(2),16)));if(g.startsWith("u+"))return Ie(String.fromCharCode(...g.slice(2).split("-").map(O=>parseInt(O,16))));const h=Ut.exec(g);if(!h)throw new Error(`Invalid param: ${g}. Params and matcher names can only have underscores and alphanumeric characters.`);const[,v,P,E,$]=h;return a.push({name:E,matcher:$,optional:!!v,rest:!!P,chained:P?s===1&&w[0]==="":!1}),P?"(.*?)":v?"([^/]*)?":"([^/]+?)"}return Ie(g)}).join("")}).join("")}/?$`),params:a}}function Ct(e){return!/^\([^)]+\)$/.test(e)}function Dt(e){return e.slice(1).split("/").filter(Ct)}function Mt(e,a,c){const o={},u=e.slice(1),f=u.filter(l=>l!==void 0);let w=0;for(let l=0;l<a.length;l+=1){const g=a[l];let s=u[l-w];if(g.chained&&g.rest&&w&&(s=u.slice(l-w,l+1).filter(h=>h).join("/"),w=0),s===void 0){g.rest&&(o[g.name]="");continue}if(!g.matcher||c[g.matcher](s)){o[g.name]=s;const h=a[l+1],v=u[l+1];h&&!h.rest&&h.optional&&v&&g.chained&&(w=0),!h&&!v&&Object.keys(o).length===f.length&&(w=0);continue}if(g.optional&&g.chained){w++;continue}return}if(!w)return o}function Ie(e){return e.normalize().replace(/[[\]]/g,"\\$&").replace(/%/g,"%25").replace(/\//g,"%2[Ff]").replace(/\?/g,"%3[Ff]").replace(/#/g,"%23").replace(/[.*+?^${}()|\\]/g,"\\$&")}function Ft({nodes:e,server_loads:a,dictionary:c,matchers:o}){const u=new Set(a);return Object.entries(c).map(([l,[g,s,h]])=>{const{pattern:v,params:P}=Tt(l),E={id:l,exec:$=>{const O=v.exec($);if(O)return Mt(O,P,o)},errors:[1,...h||[]].map($=>e[$]),layouts:[0,...s||[]].map(w),leaf:f(g)};return E.errors.length=E.layouts.length=Math.max(E.errors.length,E.layouts.length),E});function f(l){const g=l<0;return g&&(l=~l),[g,e[l]]}function w(l){return l===void 0?l:[u.has(l),e[l]]}}function De(e,a=JSON.parse){try{return a(sessionStorage[e])}catch{}}function je(e,a,c=JSON.stringify){const o=c(a);try{sessionStorage[e]=o}catch{}}class xe extends Error{constructor(a,c){super(a),this.name="DevalueError",this.path=c.join("")}}function tt(e){return Object(e)!==e}const Vt=Object.getOwnPropertyNames(Object.prototype).sort().join("\0");function Bt(e){const a=Object.getPrototypeOf(e);return a===Object.prototype||a===null||Object.getOwnPropertyNames(a).sort().join("\0")===Vt}function Ht(e){return Object.prototype.toString.call(e).slice(8,-1)}function qt(e){switch(e){case'"':return'\\"';case"<":return"\\u003C";case"\\":return"\\\\";case`
2
2
  `:return"\\n";case"\r":return"\\r";case" ":return"\\t";case"\b":return"\\b";case"\f":return"\\f";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:return e<" "?`\\u${e.charCodeAt(0).toString(16).padStart(4,"0")}`:""}}function X(e){let a="",c=0;const o=e.length;for(let u=0;u<o;u+=1){const f=e[u],w=qt(f);w&&(a+=e.slice(c,u)+w,c=u+1)}return`"${c===0?e:a+e.slice(c)}"`}const Me=-1,dt=-2,pt=-3,ht=-4,_t=-5,Fe=-6;function Jt(e,a){return gt(JSON.parse(e),a)}function gt(e,a){if(typeof e=="number")return u(e,!0);if(!Array.isArray(e)||e.length===0)throw new Error("Invalid input");const c=e,o=Array(c.length);function u(f,w=!1){if(f===Me)return;if(f===pt)return NaN;if(f===ht)return 1/0;if(f===_t)return-1/0;if(f===Fe)return-0;if(w)throw new Error("Invalid input");if(f in o)return o[f];const l=c[f];if(!l||typeof l!="object")o[f]=l;else if(Array.isArray(l))if(typeof l[0]=="string"){const g=l[0],s=a?.[g];if(s)return o[f]=s(u(l[1]));switch(g){case"Date":o[f]=new Date(l[1]);break;case"Set":const h=new Set;o[f]=h;for(let E=1;E<l.length;E+=1)h.add(u(l[E]));break;case"Map":const v=new Map;o[f]=v;for(let E=1;E<l.length;E+=2)v.set(u(l[E]),u(l[E+1]));break;case"RegExp":o[f]=new RegExp(l[1],l[2]);break;case"Object":o[f]=Object(l[1]);break;case"BigInt":o[f]=BigInt(l[1]);break;case"null":const P=Object.create(null);o[f]=P;for(let E=1;E<l.length;E+=2)P[l[E]]=u(l[E+1]);break;default:throw new Error(`Unknown type ${g}`)}}else{const g=new Array(l.length);o[f]=g;for(let s=0;s<l.length;s+=1){const h=l[s];h!==dt&&(g[s]=u(h))}}else{const g={};o[f]=g;for(const s in l){const h=l[s];g[s]=u(h)}}return o[f]}return u(0)}function Gt(e,a){const c=[],o=new Map,u=[];for(const s in a)u.push({key:s,fn:a[s]});const f=[];let w=0;function l(s){if(typeof s=="function")throw new xe("Cannot stringify a function",f);if(o.has(s))return o.get(s);if(s===void 0)return Me;if(Number.isNaN(s))return pt;if(s===1/0)return ht;if(s===-1/0)return _t;if(s===0&&1/s<0)return Fe;const h=w++;o.set(s,h);for(const{key:P,fn:E}of u){const $=E(s);if($)return c[h]=`["${P}",${l($)}]`,h}let v="";if(tt(s))v=Le(s);else switch(Ht(s)){case"Number":case"String":case"Boolean":v=`["Object",${Le(s)}]`;break;case"BigInt":v=`["BigInt",${s}]`;break;case"Date":v=`["Date","${s.toISOString()}"]`;break;case"RegExp":const{source:E,flags:$}=s;v=$?`["RegExp",${X(E)},"${$}"]`:`["RegExp",${X(E)}]`;break;case"Array":v="[";for(let O=0;O<s.length;O+=1)O>0&&(v+=","),O in s?(f.push(`[${O}]`),v+=l(s[O]),f.pop()):v+=dt;v+="]";break;case"Set":v='["Set"';for(const O of s)v+=`,${l(O)}`;v+="]";break;case"Map":v='["Map"';for(const[O,D]of s)f.push(`.get(${tt(O)?Le(O):"..."})`),v+=`,${l(O)},${l(D)}`;v+="]";break;default:if(!Bt(s))throw new xe("Cannot stringify arbitrary non-POJOs",f);if(Object.getOwnPropertySymbols(s).length>0)throw new xe("Cannot stringify POJOs with symbolic keys",f);if(Object.getPrototypeOf(s)===null){v='["null"';for(const O in s)f.push(`.${O}`),v+=`,${X(O)},${l(s[O])}`,f.pop();v+="]"}else{v="{";let O=!1;for(const D in s)O&&(v+=","),O=!0,f.push(`.${D}`),v+=`${X(D)}:${l(s[D])}`,f.pop();v+="}"}}return c[h]=v,h}const g=l(e);return g<0?`${g}`:`[${c.join(",")}]`}function Le(e){const a=typeof e;return a==="string"?X(e):e instanceof String?X(e.toString()):e===void 0?Me.toString():e===0&&1/e<0?Fe.toString():a==="bigint"?`["BigInt","${e}"]`:String(e)}const mt=new Set(["load","prerender","csr","ssr","trailingSlash","config"]);[...mt];const Kt=new Set([...mt]);[...Kt];function Yt(e){return e.filter(a=>a!=null)}class _e{constructor(a,c){this.status=a,typeof c=="string"?this.body={message:c}:c?this.body=c:this.body={message:`Error: ${a}`}}toString(){return JSON.stringify(this.body)}}class nt{constructor(a,c){this.status=a,this.location=c}}class Ve extends Error{constructor(a,c,o){super(o),this.status=a,this.text=c}}const zt="x-sveltekit-invalidated",Wt="x-sveltekit-trailing-slash";function pe(e){return e instanceof _e||e instanceof Ve?e.status:500}function Xt(e){return e instanceof Ve?e.text:"Internal Error"}const Y=De(ct)??{},re=De(lt,Jt)??{},oe=De(ft)??{},rt=history.pushState,he=history.replaceState;function Ne(e){Y[e]=Te()}function at(e,a){let c=e+1;for(;Y[c];)delete Y[c],c+=1;for(c=a+1;oe[c];)delete oe[c],c+=1}function W(e){return location.href=e.href,new Promise(()=>{})}function ot(){}function Zt(e,a){const c=Ft(e),o=e.nodes[0],u=e.nodes[1];o(),u();const f=document.documentElement,w=[],l=[];let g=null;const s={before_navigate:[],on_navigate:[],after_navigate:[]};let h={branch:[],error:null,url:null},v=!1,P=!1,E=!0,$=!1,O=!1,D=!1,Z=!1,se=!1,V,L=history.state?.[H],M=history.state?.[K];L||(L=M=Date.now(),he.call(history,{...history.state,[H]:L,[K]:M},"",location.href));const ge=Y[L];ge&&(history.scrollRestoration="manual",scrollTo(ge.x,ge.y));let j,z,me;async function Be(){if(await(me||=Promise.resolve()),!me)return;me=null;const n=ee(h.url,!0);g=null;const t=z={},r=n&&await ve(n);t===z&&(r&&(r.type==="redirect"?await ie(new URL(r.location,h.url).href,{},1,t):(r.props.page!==void 0&&(j=r.props.page),V.$set(r.props))),w.length=0)}function He(n){l.some(t=>t?.snapshot)&&(oe[n]=l.map(t=>t?.snapshot?.capture()))}function qe(n){oe[n]?.forEach((t,r)=>{l[r]?.snapshot?.restore(t)})}function Je(){Ne(L),je(ct,Y),He(M),je(ft,oe),je(lt,re,Gt)}async function ie(n,t,r,i){return fe({type:"goto",url:ne(n),keepfocus:t.keepFocus,noscroll:t.noScroll,replace_state:t.replaceState,redirect_count:r,state:t.state,nav_token:i,accept:()=>{t.invalidateAll&&(se=!0)}})}async function Ge(n){return g={id:n.id,promise:ve(n).then(t=>(t.type==="loaded"&&t.state.error&&(g=null),t))},g.promise}async function ce(n){const t=c.find(r=>r.exec(We(n)));t&&await Promise.all([...t.layouts,t.leaf].map(r=>r?.[1]()))}function Ke(n){h=n.state;const t=document.querySelector("style[data-sveltekit]");t&&t.remove(),j=n.props.page,V=new e.root({target:a,props:{...n.props,stores:q,components:l},hydrate:!0}),qe(M);const r={from:null,to:{params:h.params,route:{id:h.route?.id??null},url:new URL(location.href)},willUnload:!1,type:"enter",complete:Promise.resolve()};s.after_navigate.forEach(i=>i(r)),P=!0}async function Q({url:n,params:t,branch:r,status:i,error:d,route:p,form:_}){let y="never";for(const A of r)A?.slash!==void 0&&(y=A.slash);n.pathname=Et(n.pathname,y),n.search=n.search;const S={type:"loaded",state:{url:n,params:t,branch:r,error:d,route:p},props:{constructors:Yt(r).map(A=>A.node.component),page:j}};_!==void 0&&(S.props.form=_);let b={},N=!j,U=0;for(let A=0;A<Math.max(r.length,h.branch.length);A+=1){const x=r[A],R=h.branch[A];x?.data!==R?.data&&(N=!0),x&&(b={...b,...x.data},N&&(S.props[`data_${U}`]=b),U+=1)}return(!h.url||n.href!==h.url.href||h.error!==d||_!==void 0&&_!==j.form||N)&&(S.props.page={error:d,params:t,route:{id:p?.id??null},state:{},status:i,url:new URL(n),form:_??null,data:N?b:j.data}),S}async function ye({loader:n,parent:t,url:r,params:i,route:d,server_data_node:p}){let _=null,y=!0;const S={dependencies:new Set,params:new Set,parent:!1,route:!1,url:!1,search_params:new Set},b=await n();if(b.universal?.load){let N=function(...m){for(const A of m){const{href:x}=new URL(A,r);S.dependencies.add(x)}};const U={route:new Proxy(d,{get:(m,A)=>(y&&(S.route=!0),m[A])}),params:new Proxy(i,{get:(m,A)=>(y&&S.params.add(A),m[A])}),data:p?.data??null,url:Ot(r,()=>{y&&(S.url=!0)},m=>{y&&S.search_params.add(m)}),async fetch(m,A){let x;m instanceof Request?(x=m.url,A={body:m.method==="GET"||m.method==="HEAD"?void 0:await m.blob(),cache:m.cache,credentials:m.credentials,headers:m.headers,integrity:m.integrity,keepalive:m.keepalive,method:m.method,mode:m.mode,redirect:m.redirect,referrer:m.referrer,referrerPolicy:m.referrerPolicy,signal:m.signal,...A}):x=m;const R=new URL(x,r);return y&&N(R.href),R.origin===r.origin&&(x=R.href.slice(r.origin.length)),P?Nt(x,R.href,A):Lt(x,A)},setHeaders:()=>{},depends:N,parent(){return y&&(S.parent=!0),t()},untrack(m){y=!1;try{return m()}finally{y=!0}}};_=await b.universal.load.call(null,U)??null}return{node:b,loader:n,server:p,universal:b.universal?.load?{type:"data",data:_,uses:S}:null,data:_??p?.data??null,slash:F&&(r.pathname===F||r.pathname===F+"/")?"always":b.universal?.trailingSlash??p?.slash}}function Ye(n,t,r,i,d,p){if(se)return!0;if(!d)return!1;if(d.parent&&n||d.route&&t||d.url&&r)return!0;for(const _ of d.search_params)if(i.has(_))return!0;for(const _ of d.params)if(p[_]!==h.params[_])return!0;for(const _ of d.dependencies)if(w.some(y=>y(new URL(_))))return!0;return!1}function we(n,t){return n?.type==="data"?n:n?.type==="skip"?t??null:null}function wt(n,t){if(!n)return new Set(t.searchParams.keys());const r=new Set([...n.searchParams.keys(),...t.searchParams.keys()]);for(const i of r){const d=n.searchParams.getAll(i),p=t.searchParams.getAll(i);d.every(_=>p.includes(_))&&p.every(_=>d.includes(_))&&r.delete(i)}return r}async function ve({id:n,invalidating:t,url:r,params:i,route:d}){if(g?.id===n)return g.promise;const{errors:p,layouts:_,leaf:y}=d,S=[..._,y];p.forEach(k=>k?.().catch(()=>{})),S.forEach(k=>k?.[1]().catch(()=>{}));let b=null;const N=h.url?n!==h.url.pathname+h.url.search:!1,U=h.route?d.id!==h.route.id:!1,m=wt(h.url,r);let A=!1;const x=S.map((k,I)=>{const T=h.branch[I],C=!!k?.[0]&&(T?.loader!==k[1]||Ye(A,U,N,m,T.server?.uses,i));return C&&(A=!0),C});if(x.some(Boolean)){try{b=await st(r,x)}catch(k){return le({status:pe(k),error:await te(k,{url:r,params:i,route:{id:d.id}}),url:r,route:d})}if(b.type==="redirect")return b}const R=b?.nodes;let B=!1;const J=S.map(async(k,I)=>{if(!k)return;const T=h.branch[I],C=R?.[I];if((!C||C.type==="skip")&&k[1]===T?.loader&&!Ye(B,U,N,m,T.universal?.uses,i))return T;if(B=!0,C?.type==="error")throw C;return ye({loader:k[1],url:r,params:i,route:d,parent:async()=>{const be={};for(let Ee=0;Ee<I;Ee+=1)Object.assign(be,(await J[Ee])?.data);return be},server_data_node:we(C===void 0&&k[0]?{type:"skip"}:C??null,k[0]?T?.server:void 0)})});for(const k of J)k.catch(()=>{});const G=[];for(let k=0;k<S.length;k+=1)if(S[k])try{G.push(await J[k])}catch(I){if(I instanceof nt)return{type:"redirect",location:I.location};let T=pe(I),C;if(R?.includes(I))T=I.status??T,C=I.error;else if(I instanceof _e)C=I.body;else{if(await q.updated.check())return await W(r);C=await te(I,{params:i,url:r,route:{id:d.id}})}const ue=await ze(k,G,p);return ue?await Q({url:r,params:i,branch:G.slice(0,ue.idx).concat(ue.node),status:T,error:C,route:d}):await Ze(r,{id:d.id},C,T)}else G.push(void 0);return await Q({url:r,params:i,branch:G,status:200,error:null,route:d,form:t?void 0:null})}async function ze(n,t,r){for(;n--;)if(r[n]){let i=n;for(;!t[i];)i-=1;try{return{idx:i+1,node:{node:await r[n](),loader:r[n],data:{},server:null,universal:null}}}catch{continue}}}async function le({status:n,error:t,url:r,route:i}){const d={};let p=null;if(e.server_loads[0]===0)try{const b=await st(r,[!0]);if(b.type!=="data"||b.nodes[0]&&b.nodes[0].type!=="data")throw 0;p=b.nodes[0]??null}catch{(r.origin!==Ae||r.pathname!==location.pathname||v)&&await W(r)}const y=await ye({loader:o,url:r,params:d,route:i,parent:()=>Promise.resolve({}),server_data_node:we(p)}),S={node:await u(),loader:u,universal:null,server:null,data:null};return await Q({url:r,params:d,branch:[y,S],status:n,error:t,route:null})}function ee(n,t){if($e(n,F))return;const r=We(n.pathname);for(const i of c){const d=i.exec(r);if(d)return{id:n.pathname+n.search,invalidating:t,route:i,params:kt(d),url:n}}}function We(n){return St(n.slice(F.length)||"/")}function Xe({url:n,type:t,intent:r,delta:i}){let d=!1;const p=it(h,r,n,t);i!==void 0&&(p.navigation.delta=i);const _={...p.navigation,cancel:()=>{d=!0,p.reject(new Error("navigation was cancelled"))}};return O||s.before_navigate.forEach(y=>y(_)),d?null:p}async function fe({type:n,url:t,popped:r,keepfocus:i,noscroll:d,replace_state:p,state:_={},redirect_count:y=0,nav_token:S={},accept:b=ot,block:N=ot}){const U=ee(t,!1),m=Xe({url:t,type:n,delta:r?.delta,intent:U});if(!m){N();return}const A=L,x=M;b(),O=!0,P&&q.navigating.set(m.navigation),z=S;let R=U&&await ve(U);if(!R){if($e(t,F))return await W(t);R=await Ze(t,{id:null},await te(new Ve(404,"Not Found",`Not found: ${t.pathname}`),{url:t,params:{},route:{id:null}}),404)}if(t=U?.url||t,z!==S)return m.reject(new Error("navigation was aborted")),!1;if(R.type==="redirect")if(y>=20)R=await le({status:500,error:await te(new Error("Redirect loop"),{url:t,params:{},route:{id:null}}),url:t,route:{id:null}});else return ie(new URL(R.location,t).href,{},y+1,S),!1;else R.props.page.status>=400&&await q.updated.check()&&await W(t);if(w.length=0,se=!1,$=!0,Ne(A),He(x),R.props.page.url.pathname!==t.pathname&&(t.pathname=R.props.page.url.pathname),_=r?r.state:_,!r){const k=p?0:1,I={[H]:L+=k,[K]:M+=k};(p?he:rt).call(history,I,"",t),p||at(L,M)}if(re[L]=_,g=null,R.props.page.state=_,P){h=R.state,R.props.page&&(R.props.page.url=t);const k=(await Promise.all(s.on_navigate.map(I=>I(m.navigation)))).filter(I=>typeof I=="function");if(k.length>0){let I=function(){s.after_navigate=s.after_navigate.filter(T=>!k.includes(T))};k.push(I),s.after_navigate.push(...k)}V.$set(R.props),Z=!0}else Ke(R);const{activeElement:B}=document;await ke();const J=r?r.scroll:d?Te():null;if(E){const k=t.hash&&document.getElementById(decodeURIComponent(t.hash.slice(1)));J?scrollTo(J.x,J.y):k?k.scrollIntoView():scrollTo(0,0)}const G=document.activeElement!==B&&document.activeElement!==document.body;!i&&!G&&Ue(),E=!0,R.props.page&&(j=R.props.page),O=!1,n==="popstate"&&qe(M),m.fulfil(void 0),s.after_navigate.forEach(k=>k(m.navigation)),q.navigating.set(null),$=!1}async function Ze(n,t,r,i){return n.origin===Ae&&n.pathname===location.pathname&&!v?await le({status:i,error:r,url:n,route:t}):await W(n)}function vt(){let n;f.addEventListener("mousemove",p=>{const _=p.target;clearTimeout(n),n=setTimeout(()=>{i(_,2)},20)});function t(p){i(p.composedPath()[0],1)}f.addEventListener("mousedown",t),f.addEventListener("touchstart",t,{passive:!0});const r=new IntersectionObserver(p=>{for(const _ of p)_.isIntersecting&&(ce(_.target.href),r.unobserve(_.target))},{threshold:0});function i(p,_){const y=Qe(p,f);if(!y)return;const{url:S,external:b,download:N}=Re(y,F);if(b||N)return;const U=de(y);if(!U.reload)if(_<=U.preload_data){const m=ee(S,!1);m&&Ge(m)}else _<=U.preload_code&&ce(S.pathname)}function d(){r.disconnect();for(const p of f.querySelectorAll("a")){const{url:_,external:y,download:S}=Re(p,F);if(y||S)continue;const b=de(p);b.reload||(b.preload_code===et.viewport&&r.observe(p),b.preload_code===et.eager&&ce(_.pathname))}}s.after_navigate.push(d),d()}function te(n,t){if(n instanceof _e)return n.body;const r=pe(n),i=Xt(n);return e.hooks.handleError({error:n,event:t,status:r,message:i})??{message:i}}return{after_navigate:n=>{Se(()=>(s.after_navigate.push(n),()=>{const t=s.after_navigate.indexOf(n);s.after_navigate.splice(t,1)}))},before_navigate:n=>{Se(()=>(s.before_navigate.push(n),()=>{const t=s.before_navigate.indexOf(n);s.before_navigate.splice(t,1)}))},on_navigate:n=>{Se(()=>(s.on_navigate.push(n),()=>{const t=s.on_navigate.indexOf(n);s.on_navigate.splice(t,1)}))},disable_scroll_handling:()=>{($||!P)&&(E=!1)},goto:(n,t={})=>(n=ne(n),n.origin!==Ae?Promise.reject(new Error("goto: invalid URL")):ie(n,t,0)),invalidate:n=>{if(typeof n=="function")w.push(n);else{const{href:t}=new URL(n,location.href);w.push(r=>r.href===t)}return Be()},invalidate_all:()=>(se=!0,Be()),preload_data:async n=>{const t=ne(n),r=ee(t,!1);if(!r)throw new Error(`Attempted to preload a URL that does not belong to this app: ${t}`);const i=await Ge(r);if(i.type==="redirect")return{type:i.type,location:i.location};const{status:d,data:p}=i.props.page??j;return{type:i.type,status:d,data:p}},preload_code:n=>ce(n),push_state:(n,t)=>{const r={[H]:L+=1,[K]:M,[Oe]:j.url.href};rt.call(history,r,"",ne(n)),j={...j,state:t},V.$set({page:j}),re[L]=t,at(L,M)},replace_state:(n,t)=>{const r={[H]:L,[K]:M,[Oe]:j.url.href};he.call(history,r,"",ne(n)),j={...j,state:t},V.$set({page:j}),re[L]=t},apply_action:async n=>{if(n.type==="error"){const t=new URL(location.href),{branch:r,route:i}=h;if(!i)return;const d=await ze(h.branch.length,r,i.errors);if(d){const p=await Q({url:t,params:h.params,branch:r.slice(0,d.idx).concat(d.node),status:n.status??500,error:n.error,route:i});h=p.state,V.$set(p.props),ke().then(Ue)}}else n.type==="redirect"?ie(n.location,{invalidateAll:!0},0):(V.$set({form:null,page:{...j,form:n.data,status:n.status}}),await ke(),V.$set({form:n.data}),n.type==="success"&&Ue())},_start_router:()=>{history.scrollRestoration="manual",addEventListener("beforeunload",t=>{let r=!1;if(Je(),!O){const i=it(h,void 0,null,"leave"),d={...i.navigation,cancel:()=>{r=!0,i.reject(new Error("navigation was cancelled"))}};s.before_navigate.forEach(p=>p(d))}r?(t.preventDefault(),t.returnValue=""):history.scrollRestoration="auto"}),addEventListener("visibilitychange",()=>{document.visibilityState==="hidden"&&Je()}),navigator.connection?.saveData||vt(),f.addEventListener("click",t=>{if(t.button||t.which!==1||t.metaKey||t.ctrlKey||t.shiftKey||t.altKey||t.defaultPrevented)return;const r=Qe(t.composedPath()[0],f);if(!r)return;const{url:i,external:d,target:p,download:_}=Re(r,F);if(!i)return;if(p==="_parent"||p==="_top"){if(window.parent!==window)return}else if(p&&p!=="_self")return;const y=de(r);if(!(r instanceof SVGAElement)&&i.protocol!==location.protocol&&!(i.protocol==="https:"||i.protocol==="http:")||_)return;if(d||y.reload){Xe({url:i,type:"link"})?O=!0:t.preventDefault();return}const[b,N]=i.href.split("#");if(N!==void 0&&b===Pe(location)){if(h.url.hash===i.hash){t.preventDefault(),r.ownerDocument.getElementById(N)?.scrollIntoView();return}if(D=!0,Ne(L),n(i),!y.replace_state)return;D=!1}t.preventDefault(),fe({type:"link",url:i,keepfocus:y.keepfocus,noscroll:y.noscroll,replace_state:y.replace_state??i.href===location.href})}),f.addEventListener("submit",t=>{if(t.defaultPrevented)return;const r=HTMLFormElement.prototype.cloneNode.call(t.target),i=t.submitter;if((i?.formMethod||r.method)!=="get")return;const p=new URL(i?.hasAttribute("formaction")&&i?.formAction||r.action);if($e(p,F))return;const _=t.target,y=de(_);if(y.reload)return;t.preventDefault(),t.stopPropagation();const S=new FormData(_),b=i?.getAttribute("name");b&&S.append(b,i?.getAttribute("value")??""),p.search=new URLSearchParams(S).toString(),fe({type:"form",url:p,keepfocus:y.keepfocus,noscroll:y.noscroll,replace_state:y.replace_state??p.href===location.href})}),addEventListener("popstate",async t=>{if(t.state?.[H]){const r=t.state[H];if(z={},r===L)return;const i=Y[r],d=re[r]??{},p=new URL(t.state[Oe]??location.href),_=t.state[K],y=Pe(location)===Pe(h.url);if(_===M&&(Z||y)){n(p),Y[L]=Te(),i&&scrollTo(i.x,i.y),d!==j.state&&(j={...j,state:d},V.$set({page:j})),L=r;return}const b=r-L;await fe({type:"popstate",url:p,popped:{state:d,scroll:i,delta:b},accept:()=>{L=r,M=_},block:()=>{history.go(-b)},nav_token:z})}else if(!D){const r=new URL(location.href);n(r)}}),addEventListener("hashchange",()=>{D&&(D=!1,he.call(history,{...history.state,[H]:++L,[K]:M},"",location.href))});for(const t of document.querySelectorAll("link"))t.rel==="icon"&&(t.href=t.href);addEventListener("pageshow",t=>{t.persisted&&q.navigating.set(null)});function n(t){h.url=t,q.page.set({...j,url:t}),q.page.notify()}},_hydrate:async({status:n=200,error:t,node_ids:r,params:i,route:d,data:p,form:_})=>{v=!0;const y=new URL(location.href);({params:i={},route:d={id:null}}=ee(y,!1)||{});let S;try{const b=r.map(async(m,A)=>{const x=p[A];return x?.uses&&(x.uses=yt(x.uses)),ye({loader:e.nodes[m],url:y,params:i,route:d,parent:async()=>{const R={};for(let B=0;B<A;B+=1)Object.assign(R,(await b[B]).data);return R},server_data_node:we(x)})}),N=await Promise.all(b),U=c.find(({id:m})=>m===d.id);if(U){const m=U.layouts;for(let A=0;A<m.length;A++)m[A]||N.splice(A,0,void 0)}S=await Q({url:y,params:i,branch:N,status:n,error:t,form:_,route:U??null})}catch(b){if(b instanceof nt){await W(new URL(b.location,location.href));return}S=await le({status:pe(b),error:await te(b,{url:y,params:i,route:d}),url:y,route:d})}S.props.page&&(S.props.page.state={}),Ke(S)}}}async function st(e,a){const c=new URL(e);c.pathname=It(e.pathname),e.pathname.endsWith("/")&&c.searchParams.append(Wt,"1"),c.searchParams.append(zt,a.map(u=>u?"1":"0").join(""));const o=await ut(c.href);if(!o.ok){let u;throw o.headers.get("content-type")?.includes("application/json")?u=await o.json():o.status===404?u="Not Found":o.status===500&&(u="Internal Error"),new _e(o.status,u)}return new Promise(async u=>{const f=new Map,w=o.body.getReader(),l=new TextDecoder;function g(h){return gt(h,{Promise:v=>new Promise((P,E)=>{f.set(v,{fulfil:P,reject:E})})})}let s="";for(;;){const{done:h,value:v}=await w.read();if(h&&!s)break;for(s+=!v&&s?`
3
3
  `:l.decode(v);;){const P=s.indexOf(`
4
4
  `);if(P===-1)break;const E=JSON.parse(s.slice(0,P));if(s=s.slice(P+1),E.type==="redirect")return u(E);if(E.type==="data")E.nodes?.forEach($=>{$?.type==="data"&&($.uses=yt($.uses),$.data=g($.data))}),u(E);else if(E.type==="chunk"){const{id:$,data:O,error:D}=E,Z=f.get($);f.delete($),D?Z.reject(g(D)):Z.fulfil(g(O))}}}})}function yt(e){return{dependencies:new Set(e?.dependencies??[]),params:new Set(e?.params??[]),parent:!!e?.parent,route:!!e?.route,url:!!e?.url,search_params:new Set(e?.search_params??[])}}function Ue(){const e=document.querySelector("[autofocus]");if(e)e.focus();else{const a=document.body,c=a.getAttribute("tabindex");a.tabIndex=-1,a.focus({preventScroll:!0,focusVisible:!1}),c!==null?a.setAttribute("tabindex",c):a.removeAttribute("tabindex");const o=getSelection();if(o&&o.type!=="None"){const u=[];for(let f=0;f<o.rangeCount;f+=1)u.push(o.getRangeAt(f));setTimeout(()=>{if(o.rangeCount===u.length){for(let f=0;f<o.rangeCount;f+=1){const w=u[f],l=o.getRangeAt(f);if(w.commonAncestorContainer!==l.commonAncestorContainer||w.startContainer!==l.startContainer||w.endContainer!==l.endContainer||w.startOffset!==l.startOffset||w.endOffset!==l.endOffset)return}o.removeAllRanges()}})}}}function it(e,a,c,o){let u,f;const w=new Promise((g,s)=>{u=g,f=s});return w.catch(()=>{}),{navigation:{from:{params:e.params,route:{id:e.route?.id??null},url:e.url},to:c&&{params:a?.params??null,route:{id:a?.route?.id??null},url:c},willUnload:!a,type:o,complete:w},fulfil:u,reject:f}}async function tn(e,a,c){const o=Zt(e,a);bt({client:o}),c?await o._hydrate(c):o.goto(location.href,{replaceState:!0}),o._start_router()}export{tn 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,K,j as M,t as P,b as V,h as Q}from"../chunks/scheduler.T8nCnPq2.js";import{S as R,i as U,t as $,b as z}from"../chunks/index.CP0w37D5.js";import{e as I}from"../chunks/each.oUkpMz5d.js";import{p as B}from"../chunks/stores.sdmSk4uL.js";import{p as F}from"../chunks/preferences.WetYOKHg.js";function L(o,e,r){const l=o.slice();return l[5]=e[r][0],l[6]=e[r][1],l}function G(o){let e,r=o[6]+"",l,f;return{c(){e=m("a"),l=P(r),this.h()},l(t){e=d(t,"A",{class:!0,href:!0});var a=g(e);l=V(a,r),a.forEach(h),this.h()},h(){p(e,"class","text-cyan-700"),p(e,"href",f=`${o[5]}${o[0].route.id?.startsWith("/(opengrok-compat)/")?"":o[0].url.search}`)},m(t,a){y(t,e,a),v(e,l)},p(t,a){a&1&&f!==(f=`${t[5]}${t[0].route.id?.startsWith("/(opengrok-compat)/")?"":t[0].url.search}`)&&p(e,"href",f)},d(t){t&&h(e)}}}function H(o){let e=o[6]+"",r;return{c(){r=P(e)},l(l){r=V(l,e)},m(l,f){y(l,r,f)},p:Q,d(l){l&&h(r)}}}function S(o){let e,r;function l(a,c){return a[5]===a[0].url.pathname?H:G}let f=l(o),t=f(o);return{c(){e=m("li"),t.c(),r=j(),this.h()},l(a){e=d(a,"LI",{class:!0});var c=g(e);t.l(c),r=N(c),c.forEach(h),this.h()},h(){p(e,"class","after:content-['•'] after:pl-1 after:pr-2 last:after:content-none")},m(a,c){y(a,e,c),t.m(e,null),v(e,r)},p(a,c){f===(f=l(a))&&t?t.p(a,c):(t.d(1),t=f(a),t&&(t.c(),t.m(e,r)))},d(a){a&&h(e),t.d()}}}function J(o){let e,r,l,f,t,a,c=I(o[1]),n=[];for(let s=0;s<c.length;s+=1)n[s]=S(L(o,c,s));const k=o[4].default,u=q(k,o,o[3],null);return{c(){e=m("div"),r=m("nav"),l=m("ul");for(let s=0;s<n.length;s+=1)n[s].c();f=j(),t=m("main"),u&&u.c(),this.h()},l(s){e=d(s,"DIV",{class:!0});var _=g(e);r=d(_,"NAV",{class:!0});var i=g(r);l=d(i,"UL",{class:!0});var b=g(l);for(let E=0;E<n.length;E+=1)n[E].l(b);b.forEach(h),i.forEach(h),f=N(_),t=d(_,"MAIN",{});var A=g(t);u&&u.l(A),A.forEach(h),_.forEach(h),this.h()},h(){p(l,"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(s,_){y(s,e,_),v(e,r),v(r,l);for(let i=0;i<n.length;i+=1)n[i]&&n[i].m(l,null);v(e,f),v(e,t),u&&u.m(t,null),a=!0},p(s,[_]){if(_&3){c=I(s[1]);let i;for(i=0;i<c.length;i+=1){const b=L(s,c,i);n[i]?n[i].p(b,_):(n[i]=S(b),n[i].c(),n[i].m(l,null))}for(;i<n.length;i+=1)n[i].d(1);n.length=c.length}u&&u.p&&(!a||_&8)&&w(u,k,s,s[3],a?D(k,s[3],_,null):C(s[3]),null)},i(s){a||($(u,s),a=!0)},o(s){z(u,s),a=!1},d(s){s&&h(e),K(n,s),u&&u.d(s)}}}function O(o,e,r){let l;M(o,B,n=>r(0,l=n));let{$$slots:f={},$$scope:t}=e;const a=[["/","Search"],["/repositories","Repositories"],["/syntax","Query Syntax"],["/about","About"],["/preferences","Preferences"]];let{data:c}=e;return F(c.preferences),o.$$set=n=>{"data"in n&&r(2,c=n.data),"$$scope"in n&&r(3,t=n.$$scope)},[l,a,c,t,f]}class ee extends R{constructor(e){super(),U(this,e,O,J,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,K,j as M,t as P,b as V,h as Q}from"../chunks/scheduler.T8nCnPq2.js";import{S as R,i as U,t as $,b as z}from"../chunks/index.CP0w37D5.js";import{e as I}from"../chunks/each.oUkpMz5d.js";import{p as B}from"../chunks/stores.qqHx_u93.js";import{p as F}from"../chunks/preferences.WetYOKHg.js";function L(o,e,r){const l=o.slice();return l[5]=e[r][0],l[6]=e[r][1],l}function G(o){let e,r=o[6]+"",l,f;return{c(){e=m("a"),l=P(r),this.h()},l(t){e=d(t,"A",{class:!0,href:!0});var a=g(e);l=V(a,r),a.forEach(h),this.h()},h(){p(e,"class","text-cyan-700"),p(e,"href",f=`${o[5]}${o[0].route.id?.startsWith("/(opengrok-compat)/")?"":o[0].url.search}`)},m(t,a){y(t,e,a),v(e,l)},p(t,a){a&1&&f!==(f=`${t[5]}${t[0].route.id?.startsWith("/(opengrok-compat)/")?"":t[0].url.search}`)&&p(e,"href",f)},d(t){t&&h(e)}}}function H(o){let e=o[6]+"",r;return{c(){r=P(e)},l(l){r=V(l,e)},m(l,f){y(l,r,f)},p:Q,d(l){l&&h(r)}}}function S(o){let e,r;function l(a,c){return a[5]===a[0].url.pathname?H:G}let f=l(o),t=f(o);return{c(){e=m("li"),t.c(),r=j(),this.h()},l(a){e=d(a,"LI",{class:!0});var c=g(e);t.l(c),r=N(c),c.forEach(h),this.h()},h(){p(e,"class","after:content-['•'] after:pl-1 after:pr-2 last:after:content-none")},m(a,c){y(a,e,c),t.m(e,null),v(e,r)},p(a,c){f===(f=l(a))&&t?t.p(a,c):(t.d(1),t=f(a),t&&(t.c(),t.m(e,r)))},d(a){a&&h(e),t.d()}}}function J(o){let e,r,l,f,t,a,c=I(o[1]),n=[];for(let s=0;s<c.length;s+=1)n[s]=S(L(o,c,s));const k=o[4].default,u=q(k,o,o[3],null);return{c(){e=m("div"),r=m("nav"),l=m("ul");for(let s=0;s<n.length;s+=1)n[s].c();f=j(),t=m("main"),u&&u.c(),this.h()},l(s){e=d(s,"DIV",{class:!0});var _=g(e);r=d(_,"NAV",{class:!0});var i=g(r);l=d(i,"UL",{class:!0});var b=g(l);for(let E=0;E<n.length;E+=1)n[E].l(b);b.forEach(h),i.forEach(h),f=N(_),t=d(_,"MAIN",{});var A=g(t);u&&u.l(A),A.forEach(h),_.forEach(h),this.h()},h(){p(l,"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(s,_){y(s,e,_),v(e,r),v(r,l);for(let i=0;i<n.length;i+=1)n[i]&&n[i].m(l,null);v(e,f),v(e,t),u&&u.m(t,null),a=!0},p(s,[_]){if(_&3){c=I(s[1]);let i;for(i=0;i<c.length;i+=1){const b=L(s,c,i);n[i]?n[i].p(b,_):(n[i]=S(b),n[i].c(),n[i].m(l,null))}for(;i<n.length;i+=1)n[i].d(1);n.length=c.length}u&&u.p&&(!a||_&8)&&w(u,k,s,s[3],a?D(k,s[3],_,null):C(s[3]),null)},i(s){a||($(u,s),a=!0)},o(s){z(u,s),a=!1},d(s){s&&h(e),K(n,s),u&&u.d(s)}}}function O(o,e,r){let l;M(o,B,n=>r(0,l=n));let{$$slots:f={},$$scope:t}=e;const a=[["/","Search"],["/repositories","Repositories"],["/syntax","Query Syntax"],["/about","About"],["/preferences","Preferences"]];let{data:c}=e;return F(c.preferences),o.$$set=n=>{"data"in n&&r(2,c=n.data),"$$scope"in n&&r(3,t=n.$$scope)},[l,a,c,t,f]}class ee extends R{constructor(e){super(),U(this,e,O,J,W,{data:2})}}export{ee as component};
@@ -1 +1 @@
1
- import{n as _,e as d,t as c,c as g,a as x,b as m,d as h,f as v,i as b,g as p,s as u,h as f,j as $}from"../chunks/scheduler.T8nCnPq2.js";import{S as E,i as S}from"../chunks/index.CP0w37D5.js";import{p as j}from"../chunks/stores.sdmSk4uL.js";function q(n){let t,a=n[0].status+"",r,o,i=n[0].error?.message+"",l;return{c(){t=d("h1"),r=c(a),o=c(" - "),l=c(i),this.h()},l(s){t=g(s,"H1",{class:!0});var e=x(t);r=m(e,a),o=m(e," - "),l=m(e,i),e.forEach(h),this.h()},h(){v(t,"class","text-center text-xl")},m(s,e){b(s,t,e),p(t,r),p(t,o),p(t,l)},p(s,[e]){e&1&&a!==(a=s[0].status+"")&&u(r,a),e&1&&i!==(i=s[0].error?.message+"")&&u(l,i)},i:f,o:f,d(s){s&&h(t)}}}function y(n,t,a){let r;return $(n,j,o=>a(0,r=o)),[r]}class w extends E{constructor(t){super(),S(this,t,y,q,_,{})}}export{w as component};
1
+ import{n as _,e as d,t as c,c as g,a as x,b as m,d as h,f as v,i as b,g as p,s as u,h as f,j as $}from"../chunks/scheduler.T8nCnPq2.js";import{S as E,i as S}from"../chunks/index.CP0w37D5.js";import{p as j}from"../chunks/stores.qqHx_u93.js";function q(n){let t,a=n[0].status+"",r,o,i=n[0].error?.message+"",l;return{c(){t=d("h1"),r=c(a),o=c(" - "),l=c(i),this.h()},l(s){t=g(s,"H1",{class:!0});var e=x(t);r=m(e,a),o=m(e," - "),l=m(e,i),e.forEach(h),this.h()},h(){v(t,"class","text-center text-xl")},m(s,e){b(s,t,e),p(t,r),p(t,o),p(t,l)},p(s,[e]){e&1&&a!==(a=s[0].status+"")&&u(r,a),e&1&&i!==(i=s[0].error?.message+"")&&u(l,i)},i:f,o:f,d(s){s&&h(t)}}}function y(n,t,a){let r;return $(n,j,o=>a(0,r=o)),[r]}class w extends E{constructor(t){super(),S(this,t,y,q,_,{})}}export{w as component};
@@ -0,0 +1,2 @@
1
+  �¶��1�c�["�1D�[�}��� �����i̿J&G��_�u6/x�������j�;� ܻ{hJi�Ԡ��d�������ܐ[�"�Q
2
+ �� �(7D�`P����H<0�(�8�hHlT����V�]�‡����8 W�6��G�m��`��*/����g�JR\jE,�����5��+�B ��!rCAd�W+@���ALȤ����[�T
@@ -0,0 +1,18 @@
1
+ import{d as bl}from"../chunks/index.XEtU8W2G.js";import{p as il,n as ul}from"../chunks/stores.qqHx_u93.js";import{g as yl,I as fl,L as kl,T as xl}from"../chunks/loading-ellipsis.k3p6ijV8.js";import{a7 as Ks,n as we,H as en,a5 as Tn,k as cl,u as hl,r as ml,v as pl,e as p,c as g,a as y,d as m,f as _,i as R,q as Xt,j as Xe,a6 as wl,w as un,l as v,t as j,o as b,b as U,p as D,g as o,y as Js,a8 as Cl,z as ys,s as ee,A as El,a9 as Ll,h as fn,G as Me,K as ws,N as ql,J as An,m as Sl}from"../chunks/scheduler.T8nCnPq2.js";import{S as Ce,i as Ee,c as S,a as N,m as P,t as x,b as w,d as I,f as ks,g as Dt,e as Bt}from"../chunks/index.CP0w37D5.js";import{c as gl,d as Nl,b as Pl}from"../chunks/preferences.WetYOKHg.js";import{I as xs,c as Ws}from"../chunks/integer-input.fvZuttUG.js";import{g as _l,a as dl}from"../chunks/spread.rEx3vLA9.js";import{L as on}from"../chunks/link.czJPdQv3.js";import{E as Z}from"../chunks/example-query.6BQBimAu.js";import{e as Ye,u as Il,o as Al}from"../chunks/each.oUkpMz5d.js";import{_ as Tl}from"../chunks/5.MErjPYv9.js";const Yt=Object.freeze({contextLines:1,files:20,matches:500}),Cs=r=>{const e=Number.parseInt(r.get("contextLines")??"",10),n=Number.parseInt(r.get("files")??"",10),t=Number.parseInt(r.get("matches")??"",10),s=r.get("q")||void 0,l=e>=0?e:Yt.contextLines,a=n>0?n:Yt.files,f=t>=0?t:Yt.matches;return{query:s,contextLines:l,files:a,matches:f}},Mn=bl(il,r=>Cs(r.url.searchParams));let Zs=0;const an=({query:r,contextLines:e,files:n,matches:t,searchType:s})=>{const l=Ks(ul)?.to?.url??Ks(il).url,a=Cs(l.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,c=t!==void 0&&t>=0&&t!==a.matches;if(f||i||u||c){const $=Date.now(),h=new URL(l);f&&r?h.searchParams.set("q",r):f&&h.searchParams.delete("q"),i&&e===Yt.contextLines?h.searchParams.delete("contextLines"):i&&h.searchParams.set("contextLines",e.toString()),u&&n===Yt.files?h.searchParams.delete("files"):u&&h.searchParams.set("files",n.toString()),c&&t===Yt.matches?h.searchParams.delete("matches"):c&&h.searchParams.set("matches",t.toString()),yl(h,{replaceState:s==="live"&&$-Zs<2e3,keepFocus:!0,noScroll:!0}),Zs=$}},Ml=async({url:r,fetch:e})=>({searchOutcome:await Ol(r,e)}),Ol=async(r,e)=>{const{query:n,...t}=Cs(new URL(r).searchParams);if(n===void 0)return{kind:"none"};try{const l=await(await e("/api/search",{method:"POST",body:JSON.stringify({query:n,...t}),headers:{"content-type":"application/json"}})).json();return l.kind==="success"?{kind:"success",results:l.results}:l}catch(s){return console.error("Search failed",s),{kind:"error",error:String(s)}}},Gr=Object.freeze(Object.defineProperty({__proto__:null,load:Ml},Symbol.toStringTag,{value:"Module"}));function Hl(r){let e;const n=r[2].default,t=cl(n,r,r[3],null);return{c(){t&&t.c()},l(s){t&&t.l(s)},m(s,l){t&&t.m(s,l),e=!0},p(s,l){t&&t.p&&(!e||l&8)&&hl(t,n,s,s[3],e?pl(n,s[3],l,null):ml(s[3]),null)},i(s){e||(x(t,s),e=!0)},o(s){w(t,s),e=!1},d(s){t&&t.d(s)}}}function jl(r){let e,n;const t=[{name:"list-ordered"},r[1],{iconNode:r[0]}];let s={$$slots:{default:[Hl]},$$scope:{ctx:r}};for(let l=0;l<t.length;l+=1)s=en(s,t[l]);return e=new fl({props:s}),{c(){S(e.$$.fragment)},l(l){N(e.$$.fragment,l)},m(l,a){P(e,l,a),n=!0},p(l,[a]){const f=a&3?_l(t,[t[0],a&2&&dl(l[1]),a&1&&{iconNode:l[0]}]):{};a&8&&(f.$$scope={dirty:a,ctx:l}),e.$set(f)},i(l){n||(x(e.$$.fragment,l),n=!0)},o(l){w(e.$$.fragment,l),n=!1},d(l){I(e,l)}}}function Ul(r,e,n){let{$$slots:t={},$$scope:s}=e;const l=[["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=en(en({},e),Tn(a))),"$$scope"in a&&n(3,s=a.$$scope)},e=Tn(e),[l,e,t,s]}class Rl extends Ce{constructor(e){super(),Ee(this,e,Ul,jl,we,{})}}const zl=Rl;function Dl(r){let e,n,t,s,l,a,f;return n=new zl({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"),S(n.$$.fragment),this.h()},l(i){e=g(i,"BUTTON",{class:!0,title:!0});var u=y(e);N(n.$$.fragment,u),u.forEach(m),this.h()},h(){_(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"}`),_(e,"title",s=r[0]==="line-number"?"sort matches by score":"sort matches by line number")},m(i,u){R(i,e,u),P(n,e,null),l=!0,a||(f=Xt(e,"click",r[2]),a=!0)},p(i,[u]){const c={};u&1&&(c.color=i[0]==="line-number"?"white":"black"),u&1&&(c.fill=i[0]==="line-number"?"white":"black"),n.$set(c),(!l||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"}`))&&_(e,"class",t),(!l||u&1&&s!==(s=i[0]==="line-number"?"sort matches by score":"sort matches by line number"))&&_(e,"title",s)},i(i){l||(x(n.$$.fragment,i),l=!0)},o(i){w(n.$$.fragment,i),l=!1},d(i){i&&m(e),I(n),a=!1,f()}}}function Bl(r,e,n){let t;const s=gl();return Xe(r,s,a=>n(0,t=a)),[t,s,()=>{wl(s,t=t==="line-number"?"score":"line-number",t)}]}class Vl extends Ce{constructor(e){super(),Ee(this,e,Bl,Dl,we,{})}}function Ql(r){let e,n,t,s,l,a,f,i,u,c,$,h,d,E,q,A,F,C,O,V="context",J,K,te,ae,ne,X,ye="files",re,M,ce,de,Y,se,he="matches",Q,ue,W,B,le,ke=(r[0]??"​")+"",T,L,z,fe;i=new kl({}),d=new xl({}),q=new Vl({});function Le(H){r[18](H)}let me={id:"context",pending:r[8]};r[2]!==void 0&&(me.value=r[2]),K=new xs({props:me}),un.push(()=>ks(K,"value",Le)),K.$on("change",r[19]);function et(H){r[20](H)}let qe={id:"files",kind:"positive",pending:r[7]};r[3]!==void 0&&(qe.value=r[3]),M=new xs({props:qe}),un.push(()=>ks(M,"value",et)),M.$on("change",r[21]);function Oe(H){r[22](H)}let Se={id:"matches",kind:"positive",pending:r[6]};return r[4]!==void 0&&(Se.value=r[4]),ue=new xs({props:Se}),un.push(()=>ks(ue,"value",Oe)),ue.$on("change",r[23]),{c(){e=p("form"),n=p("input"),t=v(),s=p("div"),l=p("label"),a=p("span"),f=j("query"),S(i.$$.fragment),u=v(),c=p("span"),$=p("input"),h=v(),S(d.$$.fragment),E=v(),S(q.$$.fragment),F=v(),C=p("label"),O=p("span"),O.textContent=V,J=v(),S(K.$$.fragment),ae=v(),ne=p("label"),X=p("span"),X.textContent=ye,re=v(),S(M.$$.fragment),de=v(),Y=p("label"),se=p("span"),se.textContent=he,Q=v(),S(ue.$$.fragment),B=v(),le=p("div"),T=j(ke),this.h()},l(H){e=g(H,"FORM",{});var G=y(e);n=g(G,"INPUT",{type:!0,class:!0}),t=b(G),s=g(G,"DIV",{class:!0});var pe=y(s);l=g(pe,"LABEL",{for:!0,class:!0});var $e=y(l);a=g($e,"SPAN",{class:!0});var ge=y(a);f=U(ge,"query"),N(i.$$.fragment,ge),ge.forEach(m),u=b($e),c=g($e,"SPAN",{class:!0});var _e=y(c);$=g(_e,"INPUT",{id:!0,type:!0,spellcheck:!0,autocorrect:!0,autocapitalize:!0,autocomplete:!0,class:!0}),h=b(_e),N(d.$$.fragment,_e),E=b(_e),N(q.$$.fragment,_e),_e.forEach(m),$e.forEach(m),F=b(pe),C=g(pe,"LABEL",{for:!0,class:!0});var Ue=y(C);O=g(Ue,"SPAN",{class:!0,"data-svelte-h":!0}),D(O)!=="svelte-1nbzu36"&&(O.textContent=V),J=b(Ue),N(K.$$.fragment,Ue),Ue.forEach(m),ae=b(pe),ne=g(pe,"LABEL",{for:!0,class:!0});var ve=y(ne);X=g(ve,"SPAN",{class:!0,"data-svelte-h":!0}),D(X)!=="svelte-1pt1x6a"&&(X.textContent=ye),re=b(ve),N(M.$$.fragment,ve),ve.forEach(m),de=b(pe),Y=g(pe,"LABEL",{for:!0,class:!0});var tt=y(Y);se=g(tt,"SPAN",{class:!0,"data-svelte-h":!0}),D(se)!=="svelte-1hdyrgs"&&(se.textContent=he),Q=b(tt),N(ue.$$.fragment,tt),tt.forEach(m),pe.forEach(m),B=b(G),le=g(G,"DIV",{class:!0});var Vt=y(le);T=U(Vt,ke),Vt.forEach(m),G.forEach(m),this.h()},h(){_(n,"type","submit"),_(n,"class","hidden"),_(a,"class","text-xs px-1 text-gray-500"),_($,"id","query"),_($,"type","search"),$.autofocus=!0,_($,"spellcheck",!1),_($,"autocorrect","off"),_($,"autocapitalize","off"),_($,"autocomplete","off"),_($,"class","font-mono focus:outline-none flex-auto appearance-none"),_(c,"class",A=`flex flex-auto p-1 border shadow-sm space-x-1 ${Ws({error:r[0]!==null,pending:r[9]})}`),_(l,"for","query"),_(l,"class","flex-auto flex flex-col space-y-0.5"),_(O,"class","text-xs px-1 text-gray-500"),_(C,"for","context"),_(C,"class","flex flex-col space-y-0.5"),_(X,"class","text-xs px-1 text-gray-500"),_(ne,"for","files"),_(ne,"class","flex flex-col space-y-0.5"),_(se,"class","text-xs px-1 text-gray-500"),_(Y,"for","matches"),_(Y,"class","flex flex-col space-y-0.5"),_(s,"class","flex flex-wrap gap-y-2 justify-center whitespace-nowrap"),_(le,"class","text-xs text-red-500")},m(H,G){R(H,e,G),o(e,n),o(e,t),o(e,s),o(s,l),o(l,a),o(a,f),P(i,a,null),o(l,u),o(l,c),o(c,$),Js($,r[1]),o(c,h),P(d,c,null),o(c,E),P(q,c,null),o(s,F),o(s,C),o(C,O),o(C,J),P(K,C,null),o(s,ae),o(s,ne),o(ne,X),o(ne,re),P(M,ne,null),o(s,de),o(s,Y),o(Y,se),o(Y,Q),P(ue,Y,null),o(e,B),o(e,le),o(le,T),L=!0,$.focus(),z||(fe=[Xt($,"input",r[16]),Xt($,"input",r[17]),Xt(e,"submit",Cl(r[24]))],z=!0)},p(H,[G]){G&2&&$.value!==H[1]&&Js($,H[1]),(!L||G&513&&A!==(A=`flex flex-auto p-1 border shadow-sm space-x-1 ${Ws({error:H[0]!==null,pending:H[9]})}`))&&_(c,"class",A);const pe={};G&256&&(pe.pending=H[8]),!te&&G&4&&(te=!0,pe.value=H[2],ys(()=>te=!1)),K.$set(pe);const $e={};G&128&&($e.pending=H[7]),!ce&&G&8&&(ce=!0,$e.value=H[3],ys(()=>ce=!1)),M.$set($e);const ge={};G&64&&(ge.pending=H[6]),!W&&G&16&&(W=!0,ge.value=H[4],ys(()=>W=!1)),ue.$set(ge),(!L||G&1)&&ke!==(ke=(H[0]??"​")+"")&&ee(T,ke)},i(H){L||(x(i.$$.fragment,H),x(d.$$.fragment,H),x(q.$$.fragment,H),x(K.$$.fragment,H),x(M.$$.fragment,H),x(ue.$$.fragment,H),L=!0)},o(H){w(i.$$.fragment,H),w(d.$$.fragment,H),w(q.$$.fragment,H),w(K.$$.fragment,H),w(M.$$.fragment,H),w(ue.$$.fragment,H),L=!1},d(H){H&&m(e),I(i),I(d),I(q),I(K),I(M),I(ue),z=!1,El(fe)}}}function Fl(r,e,n){let t,s,l,a,f,i,u;Xe(r,Mn,M=>n(14,f=M)),Xe(r,ul,M=>n(15,i=M));let{queryError:c=null}=e;const $=Nl();Xe(r,$,M=>n(5,u=M));let h,d,E,q;const A=Mn.subscribe(M=>{i?.type!=="goto"&&n(1,{query:h,contextLines:d,files:E,matches:q}=M,h,n(2,d),n(3,E),n(4,q))});Ll(A);const F=()=>u==="live"&&(!h||h.length>=3),C=()=>{an({query:h,contextLines:d,files:E,matches:q,searchType:u})};let O;function V(){h=this.value,n(1,h)}const J=()=>{F()&&an({query:h,searchType:u})};function K(M){d=M,n(2,d)}const te=M=>{F()&&an({contextLines:M.detail,searchType:u})};function ae(M){E=M,n(3,E)}const ne=M=>{F()&&an({files:M.detail,searchType:u})};function X(M){q=M,n(4,q)}const ye=M=>{F()&&an({matches:M.detail,searchType:u})},re=()=>{C()};return r.$$set=M=>{"queryError"in M&&n(0,c=M.queryError)},r.$$.update=()=>{r.$$.dirty&8224&&(u==="live"&&O==="manual"&&C(),n(13,O=u)),r.$$.dirty&49154&&n(9,t=i===null&&(f.query??"")!==(h??"")),r.$$.dirty&49156&&n(8,s=i===null&&f.contextLines!==d),r.$$.dirty&49160&&n(7,l=i===null&&f.files!==E),r.$$.dirty&49168&&n(6,a=i===null&&f.matches!==q)},[c,h,d,E,q,u,a,l,s,t,$,F,C,O,f,i,V,J,K,te,ae,ne,X,ye,re]}class Gl extends Ce{constructor(e){super(),Ee(this,e,Fl,Ql,we,{queryError:0})}}function Kl(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=g(t,"SPAN",{class:!0,"data-svelte-h":!0}),D(e)!=="svelte-2dyn7y"&&(e.textContent=n),this.h()},h(){_(e,"class","text-xs")},m(t,s){R(t,e,s)},p:fn,d(t){t&&m(e)}}}function Jl(r){let e;return{c(){e=j("universal-ctags")},l(n){e=U(n,"universal-ctags")},m(n,t){R(n,e,t)},d(n){n&&m(e)}}}function Wl(r){let e;return{c(){e=j("expression")},l(n){e=U(n,"expression")},m(n,t){R(n,e,t)},d(n){n&&m(e)}}}function Zl(r){let e;return{c(){e=j("read the manual")},l(n){e=U(n,"read the manual")},m(n,t){R(n,e,t)},d(n){n&&m(e)}}}function Xl(r){let e,n="ɴᴇᴏɢʀᴏᴋ",t,s,l,a,f="query examples",i,u,c,$,h,d,E="Every query is regex",q,A,F,C,O,V,J="dot is a wildcard",K,te,ae,ne,X,ye="escaped dot is a dot",re,M,ce,de,Y,se,he,Q,ue="multiline search!",W,B,le,ke="Filter results by...",T,L,z,fe,Le,me,et="(or <code>f:</code>)",qe,Oe,Se,H,G,pe="(or <code>r:</code>)",$e,ge,_e,Ue,ve,tt="(or <code>b:</code>)",Vt,tn,nt,On,Re,st,Ls="Exclude certain kinds of repositories",Hn,Ne,lt,rt,jn,at,qs="(or <code>yes</code>)",Un,ot,it,Rn,ut,Ss="(or <code>yes</code>)",zn,ft,ct,Dn,ht,Ns="(or <code>yes</code>)",Bn,Pe,mt,Ps="Search for symbol definitions",Vn,ze,Qn,De,Fn,Gn,Be,nn,pt,Kn,sn,gt,Jn,Ie,_t,Is="Automatic case sensitivity",Wn,dt,As=`If a query is all-lowercase, it is case insensitive by default;
2
+ otherwise it is case-sensitive by default. Change that with
3
+ <code>case:</code>.`,Zn,Ve,He,$t,Xn,vt,Ts="vs",Yn,bt,es,je,yt,ts,kt,Ms="vs",ns,xt,ss,Ae,wt,Os="Use double quotes for queries with spaces",ls,Qe,rs,Fe,as,os,Ge,ln,Ct,is,rn,Et,us,Te,Lt,Hs="Logically compose expressions",fs,Ke,cs,Je,hs,ms,be,qt,St,ps,Nt,js="negate with a leading dash",gs,Pt,It,_s,At,Us="expressions are implicitly 'and'ed…",ds,Tt,Mt,$s,Ot,Rs="…but explicitly 'or'ed",vs,Ht,jt,bs,Ut,zs="group expressions with parentheses",cn;return u=new on({props:{to:"/syntax",$$slots:{default:[Kl]},$$scope:{ctx:r}}}),C=new Z({props:{query:".printf"}}),ae=new Z({props:{query:"\\.printf"}}),ce=new Z({props:{query:"whom?"}}),se=new Z({props:{query:"OR[[:space:]]IMPLIED"}}),fe=new Z({props:{query:"file:README test"}}),Se=new Z({props:{query:"repo:linux test"}}),_e=new Z({props:{query:"branch:pages test"}}),nt=new Z({props:{query:"lang:java test"}}),rt=new Z({props:{query:"fork:no test"}}),it=new Z({props:{query:"public:no test"}}),ct=new Z({props:{query:"archived:no test"}}),De=new on({props:{to:"https://ctags.io",$$slots:{default:[Jl]},$$scope:{ctx:r}}}),pt=new Z({props:{query:"sym:main"}}),gt=new Z({props:{query:"sym:Test[A-Z]"}}),$t=new Z({props:{query:"readme"}}),bt=new Z({props:{query:"readme case:yes"}}),yt=new Z({props:{query:"README"}}),xt=new Z({props:{query:"README case:no"}}),Fe=new on({props:{to:"/syntax#expressions",$$slots:{default:[Wl]},$$scope:{ctx:r}}}),Ct=new Z({props:{query:'"run the test"'}}),Et=new Z({props:{query:'"goto considered harmful"'}}),Je=new on({props:{to:"/syntax#boolean-logic",$$slots:{default:[Zl]},$$scope:{ctx:r}}}),St=new Z({props:{query:"this -without_this"}}),It=new Z({props:{query:"all of these"}}),Mt=new Z({props:{query:"any or of or these"}}),jt=new Z({props:{query:"(all of these) (any or of or these)"}}),{c(){e=p("h1"),e.textContent=n,t=v(),s=p("div"),l=p("span"),a=p("h2"),a.textContent=f,i=v(),S(u.$$.fragment),c=v(),$=p("ul"),h=p("li"),d=p("h3"),d.textContent=E,q=v(),A=p("ul"),F=p("li"),S(C.$$.fragment),O=v(),V=p("span"),V.textContent=J,K=v(),te=p("li"),S(ae.$$.fragment),ne=v(),X=p("span"),X.textContent=ye,re=v(),M=p("li"),S(ce.$$.fragment),de=v(),Y=p("li"),S(se.$$.fragment),he=v(),Q=p("span"),Q.textContent=ue,W=v(),B=p("li"),le=p("h3"),le.textContent=ke,T=v(),L=p("ul"),z=p("li"),S(fe.$$.fragment),Le=v(),me=p("span"),me.innerHTML=et,qe=v(),Oe=p("li"),S(Se.$$.fragment),H=v(),G=p("span"),G.innerHTML=pe,$e=v(),ge=p("li"),S(_e.$$.fragment),Ue=v(),ve=p("span"),ve.innerHTML=tt,Vt=v(),tn=p("li"),S(nt.$$.fragment),On=v(),Re=p("li"),st=p("h3"),st.textContent=Ls,Hn=v(),Ne=p("ul"),lt=p("li"),S(rt.$$.fragment),jn=v(),at=p("span"),at.innerHTML=qs,Un=v(),ot=p("li"),S(it.$$.fragment),Rn=v(),ut=p("span"),ut.innerHTML=Ss,zn=v(),ft=p("li"),S(ct.$$.fragment),Dn=v(),ht=p("span"),ht.innerHTML=Ns,Bn=v(),Pe=p("li"),mt=p("h3"),mt.textContent=Ps,Vn=v(),ze=p("p"),Qn=j("As identified by "),S(De.$$.fragment),Fn=j("."),Gn=v(),Be=p("ul"),nn=p("li"),S(pt.$$.fragment),Kn=v(),sn=p("li"),S(gt.$$.fragment),Jn=v(),Ie=p("li"),_t=p("h3"),_t.textContent=Is,Wn=v(),dt=p("p"),dt.innerHTML=As,Zn=v(),Ve=p("ul"),He=p("li"),S($t.$$.fragment),Xn=v(),vt=p("span"),vt.textContent=Ts,Yn=v(),S(bt.$$.fragment),es=v(),je=p("li"),S(yt.$$.fragment),ts=v(),kt=p("span"),kt.textContent=Ms,ns=v(),S(xt.$$.fragment),ss=v(),Ae=p("li"),wt=p("h3"),wt.textContent=Os,ls=v(),Qe=p("p"),rs=j(`Otherwise each word is parsed as a separate
4
+ `),S(Fe.$$.fragment),as=j("."),os=v(),Ge=p("ul"),ln=p("li"),S(Ct.$$.fragment),is=v(),rn=p("li"),S(Et.$$.fragment),us=v(),Te=p("li"),Lt=p("h3"),Lt.textContent=Hs,fs=v(),Ke=p("span"),cs=j("Seriously, "),S(Je.$$.fragment),hs=j(` for this
5
+ one.`),ms=v(),be=p("ul"),qt=p("li"),S(St.$$.fragment),ps=v(),Nt=p("span"),Nt.textContent=js,gs=v(),Pt=p("li"),S(It.$$.fragment),_s=v(),At=p("span"),At.textContent=Us,ds=v(),Tt=p("li"),S(Mt.$$.fragment),$s=v(),Ot=p("span"),Ot.textContent=Rs,vs=v(),Ht=p("li"),S(jt.$$.fragment),bs=v(),Ut=p("span"),Ut.textContent=zs,this.h()},l(k){e=g(k,"H1",{class:!0,"data-svelte-h":!0}),D(e)!=="svelte-wconra"&&(e.textContent=n),t=b(k),s=g(k,"DIV",{class:!0});var oe=y(s);l=g(oe,"SPAN",{class:!0});var Rt=y(l);a=g(Rt,"H2",{class:!0,"data-svelte-h":!0}),D(a)!=="svelte-1nqizqb"&&(a.textContent=f),i=b(Rt),N(u.$$.fragment,Rt),Rt.forEach(m),c=b(oe),$=g(oe,"UL",{class:!0});var ie=y($);h=g(ie,"LI",{class:!0});var zt=y(h);d=g(zt,"H3",{class:!0,"data-svelte-h":!0}),D(d)!=="svelte-1eyozjq"&&(d.textContent=E),q=b(zt),A=g(zt,"UL",{class:!0});var xe=y(A);F=g(xe,"LI",{});var hn=y(F);N(C.$$.fragment,hn),O=b(hn),V=g(hn,"SPAN",{class:!0,"data-svelte-h":!0}),D(V)!=="svelte-1kofq96"&&(V.textContent=J),hn.forEach(m),K=b(xe),te=g(xe,"LI",{});var mn=y(te);N(ae.$$.fragment,mn),ne=b(mn),X=g(mn,"SPAN",{class:!0,"data-svelte-h":!0}),D(X)!=="svelte-18jaiso"&&(X.textContent=ye),mn.forEach(m),re=b(xe),M=g(xe,"LI",{});var Ds=y(M);N(ce.$$.fragment,Ds),Ds.forEach(m),de=b(xe),Y=g(xe,"LI",{});var pn=y(Y);N(se.$$.fragment,pn),he=b(pn),Q=g(pn,"SPAN",{class:!0,"data-svelte-h":!0}),D(Q)!=="svelte-1visk1u"&&(Q.textContent=ue),pn.forEach(m),xe.forEach(m),zt.forEach(m),W=b(ie),B=g(ie,"LI",{class:!0});var gn=y(B);le=g(gn,"H3",{class:!0,"data-svelte-h":!0}),D(le)!=="svelte-1hsesxl"&&(le.textContent=ke),T=b(gn),L=g(gn,"UL",{class:!0});var We=y(L);z=g(We,"LI",{});var _n=y(z);N(fe.$$.fragment,_n),Le=b(_n),me=g(_n,"SPAN",{class:!0,"data-svelte-h":!0}),D(me)!=="svelte-1o4wzqf"&&(me.innerHTML=et),_n.forEach(m),qe=b(We),Oe=g(We,"LI",{});var dn=y(Oe);N(Se.$$.fragment,dn),H=b(dn),G=g(dn,"SPAN",{class:!0,"data-svelte-h":!0}),D(G)!=="svelte-13puatn"&&(G.innerHTML=pe),dn.forEach(m),$e=b(We),ge=g(We,"LI",{});var $n=y(ge);N(_e.$$.fragment,$n),Ue=b($n),ve=g($n,"SPAN",{class:!0,"data-svelte-h":!0}),D(ve)!=="svelte-17xlaaj"&&(ve.innerHTML=tt),$n.forEach(m),Vt=b(We),tn=g(We,"LI",{});var Bs=y(tn);N(nt.$$.fragment,Bs),Bs.forEach(m),We.forEach(m),gn.forEach(m),On=b(ie),Re=g(ie,"LI",{class:!0});var vn=y(Re);st=g(vn,"H3",{class:!0,"data-svelte-h":!0}),D(st)!=="svelte-l49uq"&&(st.textContent=Ls),Hn=b(vn),Ne=g(vn,"UL",{class:!0});var Qt=y(Ne);lt=g(Qt,"LI",{});var bn=y(lt);N(rt.$$.fragment,bn),jn=b(bn),at=g(bn,"SPAN",{class:!0,"data-svelte-h":!0}),D(at)!=="svelte-71g2qu"&&(at.innerHTML=qs),bn.forEach(m),Un=b(Qt),ot=g(Qt,"LI",{});var yn=y(ot);N(it.$$.fragment,yn),Rn=b(yn),ut=g(yn,"SPAN",{class:!0,"data-svelte-h":!0}),D(ut)!=="svelte-71g2qu"&&(ut.innerHTML=Ss),yn.forEach(m),zn=b(Qt),ft=g(Qt,"LI",{});var kn=y(ft);N(ct.$$.fragment,kn),Dn=b(kn),ht=g(kn,"SPAN",{class:!0,"data-svelte-h":!0}),D(ht)!=="svelte-71g2qu"&&(ht.innerHTML=Ns),kn.forEach(m),Qt.forEach(m),vn.forEach(m),Bn=b(ie),Pe=g(ie,"LI",{class:!0});var Ft=y(Pe);mt=g(Ft,"H3",{class:!0,"data-svelte-h":!0}),D(mt)!=="svelte-1w9svfj"&&(mt.textContent=Ps),Vn=b(Ft),ze=g(Ft,"P",{class:!0});var xn=y(ze);Qn=U(xn,"As identified by "),N(De.$$.fragment,xn),Fn=U(xn,"."),xn.forEach(m),Gn=b(Ft),Be=g(Ft,"UL",{class:!0});var wn=y(Be);nn=g(wn,"LI",{});var Vs=y(nn);N(pt.$$.fragment,Vs),Vs.forEach(m),Kn=b(wn),sn=g(wn,"LI",{});var Qs=y(sn);N(gt.$$.fragment,Qs),Qs.forEach(m),wn.forEach(m),Ft.forEach(m),Jn=b(ie),Ie=g(ie,"LI",{class:!0});var Gt=y(Ie);_t=g(Gt,"H3",{class:!0,"data-svelte-h":!0}),D(_t)!=="svelte-rw6b4q"&&(_t.textContent=Is),Wn=b(Gt),dt=g(Gt,"P",{class:!0,"data-svelte-h":!0}),D(dt)!=="svelte-po3jik"&&(dt.innerHTML=As),Zn=b(Gt),Ve=g(Gt,"UL",{class:!0});var Cn=y(Ve);He=g(Cn,"LI",{});var Kt=y(He);N($t.$$.fragment,Kt),Xn=b(Kt),vt=g(Kt,"SPAN",{class:!0,"data-svelte-h":!0}),D(vt)!=="svelte-bo3bnm"&&(vt.textContent=Ts),Yn=b(Kt),N(bt.$$.fragment,Kt),Kt.forEach(m),es=b(Cn),je=g(Cn,"LI",{});var Jt=y(je);N(yt.$$.fragment,Jt),ts=b(Jt),kt=g(Jt,"SPAN",{class:!0,"data-svelte-h":!0}),D(kt)!=="svelte-bo3bnm"&&(kt.textContent=Ms),ns=b(Jt),N(xt.$$.fragment,Jt),Jt.forEach(m),Cn.forEach(m),Gt.forEach(m),ss=b(ie),Ae=g(ie,"LI",{class:!0});var Wt=y(Ae);wt=g(Wt,"H3",{class:!0,"data-svelte-h":!0}),D(wt)!=="svelte-1ax2qg5"&&(wt.textContent=Os),ls=b(Wt),Qe=g(Wt,"P",{class:!0});var En=y(Qe);rs=U(En,`Otherwise each word is parsed as a separate
6
+ `),N(Fe.$$.fragment,En),as=U(En,"."),En.forEach(m),os=b(Wt),Ge=g(Wt,"UL",{class:!0});var Ln=y(Ge);ln=g(Ln,"LI",{});var Fs=y(ln);N(Ct.$$.fragment,Fs),Fs.forEach(m),is=b(Ln),rn=g(Ln,"LI",{});var Gs=y(rn);N(Et.$$.fragment,Gs),Gs.forEach(m),Ln.forEach(m),Wt.forEach(m),us=b(ie),Te=g(ie,"LI",{class:!0});var Zt=y(Te);Lt=g(Zt,"H3",{class:!0,"data-svelte-h":!0}),D(Lt)!=="svelte-9jbq7b"&&(Lt.textContent=Hs),fs=b(Zt),Ke=g(Zt,"SPAN",{class:!0});var qn=y(Ke);cs=U(qn,"Seriously, "),N(Je.$$.fragment,qn),hs=U(qn,` for this
7
+ one.`),qn.forEach(m),ms=b(Zt),be=g(Zt,"UL",{class:!0});var Ze=y(be);qt=g(Ze,"LI",{});var Sn=y(qt);N(St.$$.fragment,Sn),ps=b(Sn),Nt=g(Sn,"SPAN",{class:!0,"data-svelte-h":!0}),D(Nt)!=="svelte-hf1rvj"&&(Nt.textContent=js),Sn.forEach(m),gs=b(Ze),Pt=g(Ze,"LI",{});var Nn=y(Pt);N(It.$$.fragment,Nn),_s=b(Nn),At=g(Nn,"SPAN",{class:!0,"data-svelte-h":!0}),D(At)!=="svelte-1w1fygt"&&(At.textContent=Us),Nn.forEach(m),ds=b(Ze),Tt=g(Ze,"LI",{});var Pn=y(Tt);N(Mt.$$.fragment,Pn),$s=b(Pn),Ot=g(Pn,"SPAN",{class:!0,"data-svelte-h":!0}),D(Ot)!=="svelte-cahjdy"&&(Ot.textContent=Rs),Pn.forEach(m),vs=b(Ze),Ht=g(Ze,"LI",{});var In=y(Ht);N(jt.$$.fragment,In),bs=b(In),Ut=g(In,"SPAN",{class:!0,"data-svelte-h":!0}),D(Ut)!=="svelte-8b4fxa"&&(Ut.textContent=zs),In.forEach(m),Ze.forEach(m),Zt.forEach(m),ie.forEach(m),oe.forEach(m),this.h()},h(){_(e,"class","text-4xl text-center pt-8 tracking-wide"),_(a,"class","text-2xl font-semibold"),_(l,"class","text-center"),_(d,"class","text-lg"),_(V,"class","text-xs"),_(X,"class","text-xs"),_(Q,"class","text-xs"),_(A,"class","space-y-1"),_(h,"class","grow basis-64 max-w-xs"),_(le,"class","text-lg"),_(me,"class","text-xs"),_(G,"class","text-xs"),_(ve,"class","text-xs"),_(L,"class","space-y-1"),_(B,"class","grow basis-64 max-w-xs"),_(st,"class","text-lg"),_(at,"class","text-xs"),_(ut,"class","text-xs"),_(ht,"class","text-xs"),_(Ne,"class","space-y-1"),_(Re,"class","grow basis-64 max-w-xs"),_(mt,"class","text-lg"),_(ze,"class","text-xs"),_(Be,"class","space-y-1"),_(Pe,"class","grow basis-64 max-w-xs"),_(_t,"class","text-lg"),_(dt,"class","text-xs"),_(vt,"class","text-sm"),_(kt,"class","text-sm"),_(Ve,"class","space-y-1"),_(Ie,"class","grow basis-64 max-w-xs"),_(wt,"class","text-lg"),_(Qe,"class","text-xs"),_(Ge,"class","space-y-1"),_(Ae,"class","grow basis-64 max-w-xs"),_(Lt,"class","text-lg"),_(Ke,"class","text-xs"),_(Nt,"class","text-xs"),_(At,"class","text-xs"),_(Ot,"class","text-xs"),_(Ut,"class","text-xs"),_(be,"class","space-y-1"),_(Te,"class","grow basis-64 max-w-xs"),_($,"class","flex flex-wrap gap-4 justify-evenly"),_(s,"class","flex flex-col items-center pt-6 gap-4")},m(k,oe){R(k,e,oe),R(k,t,oe),R(k,s,oe),o(s,l),o(l,a),o(l,i),P(u,l,null),o(s,c),o(s,$),o($,h),o(h,d),o(h,q),o(h,A),o(A,F),P(C,F,null),o(F,O),o(F,V),o(A,K),o(A,te),P(ae,te,null),o(te,ne),o(te,X),o(A,re),o(A,M),P(ce,M,null),o(A,de),o(A,Y),P(se,Y,null),o(Y,he),o(Y,Q),o($,W),o($,B),o(B,le),o(B,T),o(B,L),o(L,z),P(fe,z,null),o(z,Le),o(z,me),o(L,qe),o(L,Oe),P(Se,Oe,null),o(Oe,H),o(Oe,G),o(L,$e),o(L,ge),P(_e,ge,null),o(ge,Ue),o(ge,ve),o(L,Vt),o(L,tn),P(nt,tn,null),o($,On),o($,Re),o(Re,st),o(Re,Hn),o(Re,Ne),o(Ne,lt),P(rt,lt,null),o(lt,jn),o(lt,at),o(Ne,Un),o(Ne,ot),P(it,ot,null),o(ot,Rn),o(ot,ut),o(Ne,zn),o(Ne,ft),P(ct,ft,null),o(ft,Dn),o(ft,ht),o($,Bn),o($,Pe),o(Pe,mt),o(Pe,Vn),o(Pe,ze),o(ze,Qn),P(De,ze,null),o(ze,Fn),o(Pe,Gn),o(Pe,Be),o(Be,nn),P(pt,nn,null),o(Be,Kn),o(Be,sn),P(gt,sn,null),o($,Jn),o($,Ie),o(Ie,_t),o(Ie,Wn),o(Ie,dt),o(Ie,Zn),o(Ie,Ve),o(Ve,He),P($t,He,null),o(He,Xn),o(He,vt),o(He,Yn),P(bt,He,null),o(Ve,es),o(Ve,je),P(yt,je,null),o(je,ts),o(je,kt),o(je,ns),P(xt,je,null),o($,ss),o($,Ae),o(Ae,wt),o(Ae,ls),o(Ae,Qe),o(Qe,rs),P(Fe,Qe,null),o(Qe,as),o(Ae,os),o(Ae,Ge),o(Ge,ln),P(Ct,ln,null),o(Ge,is),o(Ge,rn),P(Et,rn,null),o($,us),o($,Te),o(Te,Lt),o(Te,fs),o(Te,Ke),o(Ke,cs),P(Je,Ke,null),o(Ke,hs),o(Te,ms),o(Te,be),o(be,qt),P(St,qt,null),o(qt,ps),o(qt,Nt),o(be,gs),o(be,Pt),P(It,Pt,null),o(Pt,_s),o(Pt,At),o(be,ds),o(be,Tt),P(Mt,Tt,null),o(Tt,$s),o(Tt,Ot),o(be,vs),o(be,Ht),P(jt,Ht,null),o(Ht,bs),o(Ht,Ut),cn=!0},p(k,[oe]){const Rt={};oe&1&&(Rt.$$scope={dirty:oe,ctx:k}),u.$set(Rt);const ie={};oe&1&&(ie.$$scope={dirty:oe,ctx:k}),De.$set(ie);const zt={};oe&1&&(zt.$$scope={dirty:oe,ctx:k}),Fe.$set(zt);const xe={};oe&1&&(xe.$$scope={dirty:oe,ctx:k}),Je.$set(xe)},i(k){cn||(x(u.$$.fragment,k),x(C.$$.fragment,k),x(ae.$$.fragment,k),x(ce.$$.fragment,k),x(se.$$.fragment,k),x(fe.$$.fragment,k),x(Se.$$.fragment,k),x(_e.$$.fragment,k),x(nt.$$.fragment,k),x(rt.$$.fragment,k),x(it.$$.fragment,k),x(ct.$$.fragment,k),x(De.$$.fragment,k),x(pt.$$.fragment,k),x(gt.$$.fragment,k),x($t.$$.fragment,k),x(bt.$$.fragment,k),x(yt.$$.fragment,k),x(xt.$$.fragment,k),x(Fe.$$.fragment,k),x(Ct.$$.fragment,k),x(Et.$$.fragment,k),x(Je.$$.fragment,k),x(St.$$.fragment,k),x(It.$$.fragment,k),x(Mt.$$.fragment,k),x(jt.$$.fragment,k),cn=!0)},o(k){w(u.$$.fragment,k),w(C.$$.fragment,k),w(ae.$$.fragment,k),w(ce.$$.fragment,k),w(se.$$.fragment,k),w(fe.$$.fragment,k),w(Se.$$.fragment,k),w(_e.$$.fragment,k),w(nt.$$.fragment,k),w(rt.$$.fragment,k),w(it.$$.fragment,k),w(ct.$$.fragment,k),w(De.$$.fragment,k),w(pt.$$.fragment,k),w(gt.$$.fragment,k),w($t.$$.fragment,k),w(bt.$$.fragment,k),w(yt.$$.fragment,k),w(xt.$$.fragment,k),w(Fe.$$.fragment,k),w(Ct.$$.fragment,k),w(Et.$$.fragment,k),w(Je.$$.fragment,k),w(St.$$.fragment,k),w(It.$$.fragment,k),w(Mt.$$.fragment,k),w(jt.$$.fragment,k),cn=!1},d(k){k&&(m(e),m(t),m(s)),I(u),I(C),I(ae),I(ce),I(se),I(fe),I(Se),I(_e),I(nt),I(rt),I(it),I(ct),I(De),I(pt),I(gt),I($t),I(bt),I(yt),I(xt),I(Fe),I(Ct),I(Et),I(Je),I(St),I(It),I(Mt),I(jt)}}}class $l extends Ce{constructor(e){super(),Ee(this,e,null,Xl,we,{})}}function Yl(r){let e;const n=r[2].default,t=cl(n,r,r[3],null);return{c(){t&&t.c()},l(s){t&&t.l(s)},m(s,l){t&&t.m(s,l),e=!0},p(s,l){t&&t.p&&(!e||l&8)&&hl(t,n,s,s[3],e?pl(n,s[3],l,null):ml(s[3]),null)},i(s){e||(x(t,s),e=!0)},o(s){w(t,s),e=!1},d(s){t&&t.d(s)}}}function er(r){let e,n;const t=[{name:"chevron-right"},r[1],{iconNode:r[0]}];let s={$$slots:{default:[Yl]},$$scope:{ctx:r}};for(let l=0;l<t.length;l+=1)s=en(s,t[l]);return e=new fl({props:s}),{c(){S(e.$$.fragment)},l(l){N(e.$$.fragment,l)},m(l,a){P(e,l,a),n=!0},p(l,[a]){const f=a&3?_l(t,[t[0],a&2&&dl(l[1]),a&1&&{iconNode:l[0]}]):{};a&8&&(f.$$scope={dirty:a,ctx:l}),e.$set(f)},i(l){n||(x(e.$$.fragment,l),n=!0)},o(l){w(e.$$.fragment,l),n=!1},d(l){I(e,l)}}}function tr(r,e,n){let{$$slots:t={},$$scope:s}=e;const l=[["path",{d:"m9 18 6-6-6-6"}]];return r.$$set=a=>{n(1,e=en(en({},e),Tn(a))),"$$scope"in a&&n(3,s=a.$$scope)},e=Tn(e),[l,e,t,s]}class nr extends Ce{constructor(e){super(),Ee(this,e,tr,er,we,{})}}function Xs(r,e,n){const t=r.slice();return t[4]=e[n].text,t[5]=e[n].match,t[6]=e[n].color,t[7]=e[n].fontClass,t}function sr(r){let e=r[4]+"",n;return{c(){n=j(e)},l(t){n=U(t,e)},m(t,s){R(t,n,s)},p(t,s){s&1&&e!==(e=t[4]+"")&&ee(n,e)},d(t){t&&m(n)}}}function lr(r){let e,n=r[4]+"",t,s,l;return{c(){e=p("span"),t=j(n),this.h()},l(a){e=g(a,"SPAN",{style:!0,class:!0});var f=y(e);t=U(f,n),f.forEach(m),this.h()},h(){_(e,"style",s=`color: ${r[6]}`),_(e,"class",l=r[7])},m(a,f){R(a,e,f),o(e,t)},p(a,f){f&1&&n!==(n=a[4]+"")&&ee(t,n),f&1&&s!==(s=`color: ${a[6]}`)&&_(e,"style",s),f&1&&l!==(l=a[7])&&_(e,"class",l)},d(a){a&&m(e)}}}function rr(r){let e,n=r[4]+"",t;return{c(){e=p("mark"),t=j(n),this.h()},l(s){e=g(s,"MARK",{class:!0});var l=y(e);t=U(l,n),l.forEach(m),this.h()},h(){_(e,"class","bg-yellow-200")},m(s,l){R(s,e,l),o(e,t)},p(s,l){l&1&&n!==(n=s[4]+"")&&ee(t,n)},d(s){s&&m(e)}}}function ar(r){let e,n,t=r[4]+"",s,l,a;return{c(){e=p("mark"),n=p("span"),s=j(t),this.h()},l(f){e=g(f,"MARK",{class:!0});var i=y(e);n=g(i,"SPAN",{style:!0,class:!0});var u=y(n);s=U(u,t),u.forEach(m),i.forEach(m),this.h()},h(){_(n,"style",l=`color: ${r[6]}`),_(n,"class",a=r[7]),_(e,"class","bg-yellow-200")},m(f,i){R(f,e,i),o(e,n),o(n,s)},p(f,i){i&1&&t!==(t=f[4]+"")&&ee(s,t),i&1&&l!==(l=`color: ${f[6]}`)&&_(n,"style",l),i&1&&a!==(a=f[7])&&_(n,"class",a)},d(f){f&&m(e)}}}function Ys(r){let e;function n(l,a){return l[5]&&l[6]?ar:l[5]?rr:l[6]?lr:sr}let t=n(r),s=t(r);return{c(){s.c(),e=Me()},l(l){s.l(l),e=Me()},m(l,a){s.m(l,a),R(l,e,a)},p(l,a){t===(t=n(l))&&s?s.p(l,a):(s.d(1),s=t(l),s&&(s.c(),s.m(e.parentNode,e)))},d(l){l&&m(e),s.d(l)}}}function or(r){let e,n=Ye(r[0]),t=[];for(let s=0;s<n.length;s+=1)t[s]=Ys(Xs(r,n,s));return{c(){for(let s=0;s<t.length;s+=1)t[s].c();e=Me()},l(s){for(let l=0;l<t.length;l+=1)t[l].l(s);e=Me()},m(s,l){for(let a=0;a<t.length;a+=1)t[a]&&t[a].m(s,l);R(s,e,l)},p(s,[l]){if(l&1){n=Ye(s[0]);let a;for(a=0;a<n.length;a+=1){const f=Xs(s,n,a);t[a]?t[a].p(f,l):(t[a]=Ys(f),t[a].c(),t[a].m(e.parentNode,e))}for(;a<t.length;a+=1)t[a].d(1);t.length=n.length}},i:fn,o:fn,d(s){s&&m(e),ws(t,s)}}}function ir(r,e,n){let{content:t}=e,{highlights:s=void 0}=e;const l=f=>{if(f!==void 0)switch(f){case 0:return;case 1:return"italic";case 2:return"font-bold";case 4:return"underline";default:throw new Error(`unreachable ${f}`)}};let a;return r.$$set=f=>{"content"in f&&n(1,t=f.content),"highlights"in f&&n(2,s=f.highlights)},r.$$.update=()=>{if(r.$$.dirty&6){const f=[];if(s){const i=t.matchRanges[Symbol.iterator]();let u=i.next().value,c=0;for(const{content:$,fontStyle:h,color:d}of s){const E=c+$.length,q=l(h);let A=c;for(;u&&(u.start>A&&u.start<E||u.end>A&&u.end<=E);)u.start>A&&u.start<E&&(f.push({text:t.text.slice(A,u.start),match:!1,fontClass:q,color:d}),A=u.start),u.end>A&&u.end<=E&&(f.push({text:t.text.slice(A,u.end),match:!0,fontClass:q,color:d}),A=u.end,u=i.next().value);A<E&&f.push({text:t.text.slice(A,E),match:!!u&&A>=u.start&&A<u.end,fontClass:q,color:d}),c=E}}else{let i=0;for(const{start:u,end:c}of t.matchRanges)i<u&&f.push({text:t.text.slice(i,u),match:!1}),f.push({text:t.text.slice(u,c),match:!0}),i=c;i<t.text.length&&f.push({text:t.text.slice(i),match:!1})}n(0,a=f)}},[a,t,s]}class Es extends Ce{constructor(e){super(),Ee(this,e,ir,or,we,{content:1,highlights:2})}}function ur(r){let e,n;return e=new Es({props:{content:r[0].fileName}}),{c(){S(e.$$.fragment)},l(t){N(e.$$.fragment,t)},m(t,s){P(e,t,s),n=!0},p(t,s){const l={};s&1&&(l.content=t[0].fileName),e.$set(l)},i(t){n||(x(e.$$.fragment,t),n=!0)},o(t){w(e.$$.fragment,t),n=!1},d(t){I(e,t)}}}function fr(r){let e,n;return e=new on({props:{to:r[0].fileUrl,$$slots:{default:[cr]},$$scope:{ctx:r}}}),{c(){S(e.$$.fragment)},l(t){N(e.$$.fragment,t)},m(t,s){P(e,t,s),n=!0},p(t,s){const l={};s&1&&(l.to=t[0].fileUrl),s&9&&(l.$$scope={dirty:s,ctx:t}),e.$set(l)},i(t){n||(x(e.$$.fragment,t),n=!0)},o(t){w(e.$$.fragment,t),n=!1},d(t){I(e,t)}}}function cr(r){let e,n;return e=new Es({props:{content:r[0].fileName}}),{c(){S(e.$$.fragment)},l(t){N(e.$$.fragment,t)},m(t,s){P(e,t,s),n=!0},p(t,s){const l={};s&1&&(l.content=t[0].fileName),e.$set(l)},i(t){n||(x(e.$$.fragment,t),n=!0)},o(t){w(e.$$.fragment,t),n=!1},d(t){I(e,t)}}}function hr(r){let e,n,t,s=r[0].repository+"",l,a,f,i,u,c,$,h=r[1].join(" | ")+"",d,E;f=new nr({props:{class:"inline",size:16}});const q=[fr,ur],A=[];function F(C,O){return C[0].fileUrl?0:1}return i=F(r),u=A[i]=q[i](r),{c(){e=p("h2"),n=p("span"),t=p("span"),l=j(s),a=p("span"),S(f.$$.fragment),u.c(),c=v(),$=p("span"),d=j(h),this.h()},l(C){e=g(C,"H2",{class:!0});var O=y(e);n=g(O,"SPAN",{});var V=y(n);t=g(V,"SPAN",{});var J=y(t);l=U(J,s),J.forEach(m),a=g(V,"SPAN",{});var K=y(a);N(f.$$.fragment,K),K.forEach(m),u.l(V),V.forEach(m),c=b(O),$=g(O,"SPAN",{class:!0});var te=y($);d=U(te,h),te.forEach(m),O.forEach(m),this.h()},h(){_($,"class","ml-auto"),_(e,"class","px-2 py-1 text-sm sticky top-0 flex flex-wrap bg-slate-100 whitespace-pre-wrap [overflow-wrap:anywhere]")},m(C,O){R(C,e,O),o(e,n),o(n,t),o(t,l),o(n,a),P(f,a,null),A[i].m(n,null),o(e,c),o(e,$),o($,d),E=!0},p(C,[O]){(!E||O&1)&&s!==(s=C[0].repository+"")&&ee(l,s);let V=i;i=F(C),i===V?A[i].p(C,O):(Dt(),w(A[V],1,1,()=>{A[V]=null}),Bt(),u=A[i],u?u.p(C,O):(u=A[i]=q[i](C),u.c()),x(u,1),u.m(n,null)),(!E||O&2)&&h!==(h=C[1].join(" | ")+"")&&ee(d,h)},i(C){E||(x(f.$$.fragment,C),x(u),E=!0)},o(C){w(f.$$.fragment,C),w(u),E=!1},d(C){C&&m(e),I(f),A[i].d()}}}function mr(r,e,n){let t,{file:s}=e,{rank:l}=e;return r.$$set=a=>{"file"in a&&n(0,s=a.file),"rank"in a&&n(2,l=a.rank)},r.$$.update=()=>{r.$$.dirty&5&&n(1,t=[`${s.matchCount} ${s.matchCount===1?"match":"matches"}`,...s.branches.length>1||s.branches[0]!=="HEAD"?[s.branches.join(", ")]:[],s.language||"Text",`№${l}`])},[s,t,l]}class pr extends Ce{constructor(e){super(),Ee(this,e,mr,hr,we,{file:0,rank:2})}}function el(r,e,n){const t=r.slice();return t[7]=e[n].lineNumber,t[8]=e[n].line,t[10]=n,t}function gr(r){let e=r[7]+"",n;return{c(){n=j(e)},l(t){n=U(t,e)},m(t,s){R(t,n,s)},p(t,s){s&1&&e!==(e=t[7]+"")&&ee(n,e)},d(t){t&&m(n)}}}function _r(r){let e,n=r[7]+"",t,s;return{c(){e=p("a"),t=j(n),this.h()},l(l){e=g(l,"A",{class:!0,href:!0});var a=y(e);t=U(a,n),a.forEach(m),this.h()},h(){_(e,"class","hover:underline decoration-1"),_(e,"href",s=`${r[1].fileUrl}${r[1].lineNumberTemplate.join(r[7].toString())}`)},m(l,a){R(l,e,a),o(e,t)},p(l,a){a&1&&n!==(n=l[7]+"")&&ee(t,n),a&3&&s!==(s=`${l[1].fileUrl}${l[1].lineNumberTemplate.join(l[7].toString())}`)&&_(e,"href",s)},d(l){l&&m(e)}}}function tl(r){let e,n,t,s,l;function a(u,c){return u[1].fileUrl&&u[1].lineNumberTemplate?_r:gr}let f=a(r),i=f(r);return s=new Es({props:{content:r[8],highlights:r[2]?.[r[10]]}}),{c(){e=p("span"),i.c(),n=v(),t=p("code"),S(s.$$.fragment),this.h()},l(u){e=g(u,"SPAN",{class:!0});var c=y(e);i.l(c),c.forEach(m),n=b(u),t=g(u,"CODE",{});var $=y(t);N(s.$$.fragment,$),$.forEach(m),this.h()},h(){_(e,"class","select-none text-gray-600 text-right pr-1")},m(u,c){R(u,e,c),i.m(e,null),R(u,n,c),R(u,t,c),P(s,t,null),l=!0},p(u,c){f===(f=a(u))&&i?i.p(u,c):(i.d(1),i=f(u),i&&(i.c(),i.m(e,null)));const $={};c&1&&($.content=u[8]),c&4&&($.highlights=u[2]?.[u[10]]),s.$set($)},i(u){l||(x(s.$$.fragment,u),l=!0)},o(u){w(s.$$.fragment,u),l=!1},d(u){u&&(m(e),m(n),m(t)),i.d(),I(s)}}}function dr(r){let e,n,t=Ye(r[0]),s=[];for(let a=0;a<t.length;a+=1)s[a]=tl(el(r,t,a));const l=a=>w(s[a],1,1,()=>{s[a]=null});return{c(){e=p("div");for(let a=0;a<s.length;a+=1)s[a].c();this.h()},l(a){e=g(a,"DIV",{class:!0});var f=y(e);for(let i=0;i<s.length;i+=1)s[i].l(f);f.forEach(m),this.h()},h(){_(e,"class","py-1 grid grid-cols-[minmax(2rem,_min-content)_1fr] gap-x-2 whitespace-pre overflow-x-auto")},m(a,f){R(a,e,f);for(let i=0;i<s.length;i+=1)s[i]&&s[i].m(e,null);r[5](e),n=!0},p(a,[f]){if(f&7){t=Ye(a[0]);let i;for(i=0;i<t.length;i+=1){const u=el(a,t,i);s[i]?(s[i].p(u,f),x(s[i],1)):(s[i]=tl(u),s[i].c(),x(s[i],1),s[i].m(e,null))}for(Dt(),i=t.length;i<s.length;i+=1)l(i);Bt()}},i(a){if(!n){for(let f=0;f<t.length;f+=1)x(s[f]);n=!0}},o(a){s=s.filter(Boolean);for(let f=0;f<s.length;f+=1)w(s[f]);n=!1},d(a){a&&m(e),ws(s,a),r[5](null)}}}function $r(r,e,n){let{lines:t}=e,{file:s}=e,l=!1,a;const f=async c=>{const{codeToThemedTokens:$,bundledLanguages:h}=await Tl(()=>import("../chunks/index.8xz2tJHQ.js"),__vite__mapDeps([0,1]),import.meta.url);let d=s.language.toLowerCase();d==="restructuredtext"&&(d="rst"),d in h?n(2,a=await $(c,{theme:"github-light",lang:d})):d!=="text"&&console.warn("Could not find shikiji language for '%s', skipping highlighting",d,h)};let i;ql(()=>{const c=new IntersectionObserver(async $=>{$.some(({isIntersecting:h})=>h)&&(c.disconnect(),n(4,l=!0))});return c.observe(i),()=>{c.disconnect()}});function u(c){un[c?"unshift":"push"](()=>{i=c,n(3,i)})}return r.$$set=c=>{"lines"in c&&n(0,t=c.lines),"file"in c&&n(1,s=c.file)},r.$$.update=()=>{r.$$.dirty&17&&l&&f(t.map(({line:{text:c}})=>c).join(`
8
+ `))},[t,s,a,i,l,u]}class vr extends Ce{constructor(e){super(),Ee(this,e,$r,dr,we,{lines:0,file:1})}}const br=(r,e,n)=>{const t=[],s=Math.min(e*2,e+10);let l=0;const a=f=>{if(l>=e)return null;if(l+f.matchCount>=s){let i=0;const u=[];for(const c of f.lines)if(u.push(c),i+=c.matchRanges.length,l+i>=s)break;return{lines:u,matchCount:i,startLineNumber:f.startLineNumber}}else return f};if(e>0)for(const f of r){const i=a(f);if(!n&&i===null)break;l+=i?.matchCount??0;const u=n?f:i,{lines:c,startLineNumber:$}=u,h=c.map((E,q)=>({lineNumber:q+$,line:E}));if(t.at(-1)?.at(-1)?.lineNumber===$-1?t.at(-1).push(...h):t.push(h),!n&&l>=e)break}return{lineGroups:t,preCutoffMatchCount:l}};function nl(r,e,n){const t=r.slice();return t[15]=e[n],t}function sl(r){let e,n,t=Ye(r[5]),s=[];for(let a=0;a<t.length;a+=1)s[a]=ll(nl(r,t,a));const l=a=>w(s[a],1,1,()=>{s[a]=null});return{c(){e=p("div");for(let a=0;a<s.length;a+=1)s[a].c();this.h()},l(a){e=g(a,"DIV",{class:!0});var f=y(e);for(let i=0;i<s.length;i+=1)s[i].l(f);f.forEach(m),this.h()},h(){_(e,"class","font-mono text-sm divide-y")},m(a,f){R(a,e,f);for(let i=0;i<s.length;i+=1)s[i]&&s[i].m(e,null);n=!0},p(a,f){if(f&33){t=Ye(a[5]);let i;for(i=0;i<t.length;i+=1){const u=nl(a,t,i);s[i]?(s[i].p(u,f),x(s[i],1)):(s[i]=ll(u),s[i].c(),x(s[i],1),s[i].m(e,null))}for(Dt(),i=t.length;i<s.length;i+=1)l(i);Bt()}},i(a){if(!n){for(let f=0;f<t.length;f+=1)x(s[f]);n=!0}},o(a){s=s.filter(Boolean);for(let f=0;f<s.length;f+=1)w(s[f]);n=!1},d(a){a&&m(e),ws(s,a)}}}function ll(r){let e,n;return e=new vr({props:{lines:r[15],file:r[0]}}),{c(){S(e.$$.fragment)},l(t){N(e.$$.fragment,t)},m(t,s){P(e,t,s),n=!0},p(t,s){const l={};s&32&&(l.lines=t[15]),s&1&&(l.file=t[0]),e.$set(l)},i(t){n||(x(e.$$.fragment,t),n=!0)},o(t){w(e.$$.fragment,t),n=!1},d(t){I(e,t)}}}function yr(r){let e,n,t,s,l=r[4]===1?"match":"matches",a,f,i;return{c(){e=p("button"),n=j("Hide "),t=j(r[4]),s=v(),a=j(l),this.h()},l(u){e=g(u,"BUTTON",{type:!0,class:!0});var c=y(e);n=U(c,"Hide "),t=U(c,r[4]),s=b(c),a=U(c,l),c.forEach(m),this.h()},h(){_(e,"type","button"),_(e,"class","bg-slate-100 text-sm py-1 sticky bottom-0")},m(u,c){R(u,e,c),o(e,n),o(e,t),o(e,s),o(e,a),f||(i=Xt(e,"click",r[9]),f=!0)},p(u,c){c&16&&ee(t,u[4]),c&16&&l!==(l=u[4]===1?"match":"matches")&&ee(a,l)},d(u){u&&m(e),f=!1,i()}}}function kr(r){let e,n,t,s,l=r[4]===1?"match":"matches",a,f,i;return{c(){e=p("button"),n=j("Show "),t=j(r[4]),s=j(" more "),a=j(l),this.h()},l(u){e=g(u,"BUTTON",{type:!0,class:!0});var c=y(e);n=U(c,"Show "),t=U(c,r[4]),s=U(c," more "),a=U(c,l),c.forEach(m),this.h()},h(){_(e,"type","button"),_(e,"class","bg-slate-100 text-sm py-1")},m(u,c){R(u,e,c),o(e,n),o(e,t),o(e,s),o(e,a),f||(i=Xt(e,"click",r[8]),f=!0)},p(u,c){c&16&&ee(t,u[4]),c&16&&l!==(l=u[4]===1?"match":"matches")&&ee(a,l)},d(u){u&&m(e),f=!1,i()}}}function xr(r){let e,n,t,s,l,a,f,i;l=new pr({props:{file:r[0],rank:r[1]}});let u=r[5].length>0&&sl(r);function c(d,E){if(d[4]>0&&!d[2])return kr;if(d[4]>0&&d[2])return yr}let $=c(r),h=$&&$(r);return{c(){e=p("div"),n=p("span"),t=v(),s=p("section"),S(l.$$.fragment),a=v(),u&&u.c(),f=v(),h&&h.c(),this.h()},l(d){e=g(d,"DIV",{});var E=y(e);n=g(E,"SPAN",{}),y(n).forEach(m),t=b(E),s=g(E,"SECTION",{class:!0});var q=y(s);N(l.$$.fragment,q),a=b(q),u&&u.l(q),f=b(q),h&&h.l(q),q.forEach(m),E.forEach(m),this.h()},h(){_(s,"class","p-1 border-2 flex flex-col gap-1")},m(d,E){R(d,e,E),o(e,n),r[14](n),o(e,t),o(e,s),P(l,s,null),o(s,a),u&&u.m(s,null),o(s,f),h&&h.m(s,null),i=!0},p(d,[E]){const q={};E&1&&(q.file=d[0]),E&2&&(q.rank=d[1]),l.$set(q),d[5].length>0?u?(u.p(d,E),E&32&&x(u,1)):(u=sl(d),u.c(),x(u,1),u.m(s,f)):u&&(Dt(),w(u,1,1,()=>{u=null}),Bt()),$===($=c(d))&&h?h.p(d,E):(h&&h.d(1),h=$&&$(d),h&&(h.c(),h.m(s,null)))},i(d){i||(x(l.$$.fragment,d),x(u),i=!0)},o(d){w(l.$$.fragment,d),w(u),i=!1},d(d){d&&m(e),r[14](null),I(l),u&&u.d(),h&&h.d()}}}function wr(r,e,n){let t,s,l,a,f,i,{file:u}=e,{rank:c}=e;const $=gl();Xe(r,$,C=>n(13,i=C));const h=Pl();Xe(r,h,C=>n(12,f=C));let d=!1;const E=()=>{n(2,d=!0)};let q;const A=async()=>{await new Promise(C=>{const O=new IntersectionObserver(V=>{V.some(({isIntersecting:J})=>J)&&(O.disconnect(),C())});O.observe(q),q.scrollIntoView({block:"nearest",behavior:"smooth"})}),n(2,d=!1)};function F(C){un[C?"unshift":"push"](()=>{q=C,n(3,q)})}return r.$$set=C=>{"file"in C&&n(0,u=C.file),"rank"in C&&n(1,c=C.rank)},r.$$.update=()=>{r.$$.dirty&8193&&n(11,t=i==="line-number"?[...u.chunks].sort(({startLineNumber:C},{startLineNumber:O})=>C-O):u.chunks),r.$$.dirty&6148&&n(5,{lineGroups:s,preCutoffMatchCount:l}=br(t,f,d),s,(n(10,l),n(11,t),n(12,f),n(2,d),n(13,i),n(0,u))),r.$$.dirty&1025&&n(4,a=u.matchCount-l-u.fileName.matchRanges.length)},[u,c,d,q,a,s,$,h,E,A,l,t,f,i,F]}class Cr extends Ce{constructor(e){super(),Ee(this,e,wr,xr,we,{file:0,rank:1})}}function rl(r,e,n){const t=r.slice();return t[10]=e[n],t[12]=n,t}function al(r){let e,n="(truncated)";return{c(){e=p("span"),e.textContent=n,this.h()},l(t){e=g(t,"SPAN",{title:!0,class:!0,"data-svelte-h":!0}),D(e)!=="svelte-k2z799"&&(e.textContent=n),this.h()},h(){_(e,"title","The number of matches found in zoekt reached the maximum limits, so the search was aborted and these counts are incomplete"),_(e,"class","text-yellow-700 cursor-help underline decoration-dashed")},m(t,s){R(t,e,s)},d(t){t&&m(e)}}}function ol(r,e){let n,t,s;return t=new Cr({props:{file:e[10],rank:e[12]+1}}),{key:r,first:null,c(){n=Me(),S(t.$$.fragment),this.h()},l(l){n=Me(),N(t.$$.fragment,l),this.h()},h(){this.first=n},m(l,a){R(l,n,a),P(t,l,a),s=!0},p(l,a){e=l;const f={};a&4&&(f.file=e[10]),a&4&&(f.rank=e[12]+1),t.$set(f)},i(l){s||(x(t.$$.fragment,l),s=!0)},o(l){w(t.$$.fragment,l),s=!1},d(l){l&&m(n),I(t,l)}}}function Er(r){let e,n,t,s,l,a=r[3]===1?"file":"files",f,i,u,c,$=r[1]===1?"match":"matches",h,d,E,q=Math.floor(r[6]/1e4)/100+"",A,F,C,O,V,J,K=r[2].length+"",te,ae,ne=r[2].length===1?"file":"files",X,ye,re,M,ce,de=r[0]===1?"match":"matches",Y,se,he,Q=[],ue=new Map,W,B=r[7]>0&&al(),le=Ye(r[2]);const ke=T=>`${T[10].repository}/${T[10].fileName.text}@${T[10].branches.join(";")}`;for(let T=0;T<le.length;T+=1){let L=rl(r,le,T),z=ke(L);ue.set(z,Q[T]=ol(z,L))}return{c(){e=p("h1"),n=p("span"),t=j("zoekt: "),s=j(r[3]),l=v(),f=j(a),i=j(" / "),u=j(r[1]),c=v(),h=j($),d=v(),B&&B.c(),E=j(" / "),A=j(q),F=j("ms"),C=v(),O=p("span"),V=j("neogrok: "),J=p("span"),te=j(K),ae=v(),X=j(ne),ye=j(`
9
+ /
10
+ `),re=p("span"),M=j(r[0]),ce=v(),Y=j(de),se=v(),he=p("div");for(let T=0;T<Q.length;T+=1)Q[T].c();this.h()},l(T){e=g(T,"H1",{class:!0});var L=y(e);n=g(L,"SPAN",{});var z=y(n);t=U(z,"zoekt: "),s=U(z,r[3]),l=b(z),f=U(z,a),i=U(z," / "),u=U(z,r[1]),c=b(z),h=U(z,$),d=b(z),B&&B.l(z),E=U(z," / "),A=U(z,q),F=U(z,"ms"),z.forEach(m),C=b(L),O=g(L,"SPAN",{class:!0});var fe=y(O);V=U(fe,"neogrok: "),J=g(fe,"SPAN",{});var Le=y(J);te=U(Le,K),ae=b(Le),X=U(Le,ne),Le.forEach(m),ye=U(fe,`
11
+ /
12
+ `),re=g(fe,"SPAN",{});var me=y(re);M=U(me,r[0]),ce=b(me),Y=U(me,de),me.forEach(m),fe.forEach(m),L.forEach(m),se=b(T),he=g(T,"DIV",{class:!0});var et=y(he);for(let qe=0;qe<Q.length;qe+=1)Q[qe].l(et);et.forEach(m),this.h()},h(){An(J,"text-yellow-700",r[5]),An(re,"text-yellow-700",r[4]),_(O,"class","ml-auto"),_(e,"class","text-xs flex flex-wrap py-1"),_(he,"class","space-y-2")},m(T,L){R(T,e,L),o(e,n),o(n,t),o(n,s),o(n,l),o(n,f),o(n,i),o(n,u),o(n,c),o(n,h),o(n,d),B&&B.m(n,null),o(n,E),o(n,A),o(n,F),o(e,C),o(e,O),o(O,V),o(O,J),o(J,te),o(J,ae),o(J,X),o(O,ye),o(O,re),o(re,M),o(re,ce),o(re,Y),R(T,se,L),R(T,he,L);for(let z=0;z<Q.length;z+=1)Q[z]&&Q[z].m(he,null);W=!0},p(T,[L]){(!W||L&8)&&ee(s,T[3]),(!W||L&8)&&a!==(a=T[3]===1?"file":"files")&&ee(f,a),(!W||L&2)&&ee(u,T[1]),(!W||L&2)&&$!==($=T[1]===1?"match":"matches")&&ee(h,$),T[7]>0?B||(B=al(),B.c(),B.m(n,E)):B&&(B.d(1),B=null),(!W||L&64)&&q!==(q=Math.floor(T[6]/1e4)/100+"")&&ee(A,q),(!W||L&4)&&K!==(K=T[2].length+"")&&ee(te,K),(!W||L&4)&&ne!==(ne=T[2].length===1?"file":"files")&&ee(X,ne),(!W||L&32)&&An(J,"text-yellow-700",T[5]),(!W||L&1)&&ee(M,T[0]),(!W||L&1)&&de!==(de=T[0]===1?"match":"matches")&&ee(Y,de),(!W||L&16)&&An(re,"text-yellow-700",T[4]),L&4&&(le=Ye(T[2]),Dt(),Q=Il(Q,L,ke,1,T,le,ue,he,Al,ol,null,rl),Bt())},i(T){if(!W){for(let L=0;L<le.length;L+=1)x(Q[L]);W=!0}},o(T){for(let L=0;L<Q.length;L+=1)w(Q[L]);W=!1},d(T){T&&(m(e),m(se),m(he)),B&&B.d();for(let L=0;L<Q.length;L+=1)Q[L].d()}}}function Lr(r,e,n){let t,s,l,a,f,i,u,c,$;Xe(r,Mn,d=>n(9,$=d));let{results:h}=e;return r.$$set=d=>{"results"in d&&n(8,h=d.results)},r.$$.update=()=>{r.$$.dirty&256&&n(3,{zoektStats:{fileCount:t,matchCount:s,filesSkipped:l,duration:a},files:f}=h,t,(n(1,s),n(8,h)),(n(7,l),n(8,h)),(n(6,a),n(8,h)),(n(2,f),n(8,h))),r.$$.dirty&4&&n(0,i=f.reduce((d,{matchCount:E})=>d+E,0)),r.$$.dirty&524&&n(5,u=t>f.length&&f.length===$.files),r.$$.dirty&515&&n(4,c=s>i&&i===$.matches)},[i,s,f,t,c,u,a,l,h,$]}class vl extends Ce{constructor(e){super(),Ee(this,e,Lr,Er,we,{results:8})}}function qr(r){let e,n;return e=new vl({props:{results:r[0].searchOutcome.results}}),{c(){S(e.$$.fragment)},l(t){N(e.$$.fragment,t)},m(t,s){P(e,t,s),n=!0},p(t,s){const l={};s&1&&(l.results=t[0].searchOutcome.results),e.$set(l)},i(t){n||(x(e.$$.fragment,t),n=!0)},o(t){w(e.$$.fragment,t),n=!1},d(t){I(e,t)}}}function Sr(r){let e,n,t,s;const l=[Ir,Pr],a=[];function f(i,u){return i[1]?0:1}return e=f(r),n=a[e]=l[e](r),{c(){n.c(),t=Me()},l(i){n.l(i),t=Me()},m(i,u){a[e].m(i,u),R(i,t,u),s=!0},p(i,u){let c=e;e=f(i),e===c?a[e].p(i,u):(Dt(),w(a[c],1,1,()=>{a[c]=null}),Bt(),n=a[e],n?n.p(i,u):(n=a[e]=l[e](i),n.c()),x(n,1),n.m(t.parentNode,t))},i(i){s||(x(n),s=!0)},o(i){w(n),s=!1},d(i){i&&m(t),a[e].d(i)}}}function Nr(r){let e,n;return e=new $l({}),{c(){S(e.$$.fragment)},l(t){N(e.$$.fragment,t)},m(t,s){P(e,t,s),n=!0},p:fn,i(t){n||(x(e.$$.fragment,t),n=!0)},o(t){w(e.$$.fragment,t),n=!1},d(t){I(e,t)}}}function Pr(r){let e,n;return e=new $l({}),{c(){S(e.$$.fragment)},l(t){N(e.$$.fragment,t)},m(t,s){P(e,t,s),n=!0},p:fn,i(t){n||(x(e.$$.fragment,t),n=!0)},o(t){w(e.$$.fragment,t),n=!1},d(t){I(e,t)}}}function Ir(r){let e,n;return e=new vl({props:{results:r[1]}}),{c(){S(e.$$.fragment)},l(t){N(e.$$.fragment,t)},m(t,s){P(e,t,s),n=!0},p(t,s){const l={};s&2&&(l.results=t[1]),e.$set(l)},i(t){n||(x(e.$$.fragment,t),n=!0)},o(t){w(e.$$.fragment,t),n=!1},d(t){I(e,t)}}}function Ar(r){let e,n,t,s,l,a,f,i;document.title=e=(r[2].query?`${r[2].query} - `:"")+"neogrok",t=new Gl({props:{queryError:r[0].searchOutcome.kind==="error"?r[0].searchOutcome.error:null}});const u=[Nr,Sr,qr],c=[];function $(h,d){return h[0].searchOutcome.kind==="none"?0:h[0].searchOutcome.kind==="error"?1:2}return l=$(r),a=c[l]=u[l](r),{c(){n=v(),S(t.$$.fragment),s=v(),a.c(),f=Me()},l(h){Sl("svelte-1xqnt78",document.head).forEach(m),n=b(h),N(t.$$.fragment,h),s=b(h),a.l(h),f=Me()},m(h,d){R(h,n,d),P(t,h,d),R(h,s,d),c[l].m(h,d),R(h,f,d),i=!0},p(h,[d]){(!i||d&4)&&e!==(e=(h[2].query?`${h[2].query} - `:"")+"neogrok")&&(document.title=e);const E={};d&1&&(E.queryError=h[0].searchOutcome.kind==="error"?h[0].searchOutcome.error:null),t.$set(E);let q=l;l=$(h),l===q?c[l].p(h,d):(Dt(),w(c[q],1,1,()=>{c[q]=null}),Bt(),a=c[l],a?a.p(h,d):(a=c[l]=u[l](h),a.c()),x(a,1),a.m(f.parentNode,f))},i(h){i||(x(t.$$.fragment,h),x(a),i=!0)},o(h){w(t.$$.fragment,h),w(a),i=!1},d(h){h&&(m(n),m(s),m(f)),I(t,h),c[l].d(h)}}}function Tr(r,e,n){let t;Xe(r,Mn,a=>n(2,t=a));let{data:s}=e,l=null;return r.$$set=a=>{"data"in a&&n(0,s=a.data)},r.$$.update=()=>{r.$$.dirty&1&&(s.searchOutcome.kind==="success"?n(1,l=s.searchOutcome.results):s.searchOutcome.kind==="none"&&n(1,l=null))},[s,l,t]}class Kr extends Ce{constructor(e){super(),Ee(this,e,Tr,Ar,we,{data:0})}}export{Kr as component,Gr as universal};
13
+ function __vite__mapDeps(indexes) {
14
+ if (!__vite__mapDeps.viteFileDeps) {
15
+ __vite__mapDeps.viteFileDeps = ["../chunks/index.8xz2tJHQ.js","../chunks/5.MErjPYv9.js"]
16
+ }
17
+ return indexes.map((i) => __vite__mapDeps.viteFileDeps[i])
18
+ }
@@ -1,4 +1,4 @@
1
- import{I as Bs,g as Ms,L as Rs,T as Us}from"../chunks/loading-ellipsis.R0hKKLDn.js";import{p as ks,n as Ts}from"../chunks/stores.sdmSk4uL.js";import{d as Hs}from"../chunks/index.XEtU8W2G.js";import{n as qe,H as xe,a5 as ht,k as Ft,u as Vt,r as Qt,v as Yt,a7 as cs,w as Se,e as g,l as w,t as y,c as $,a as k,o as S,b as v,d as c,p as Gt,f as m,i as H,g as a,y as _s,q as pt,a8 as zs,z as Ie,s as U,A as js,j as rt,a9 as Fs,h as je,G as ps,K as Cs,J as hs,m as Vs}from"../chunks/scheduler.T8nCnPq2.js";import{S as Ae,i as Le,c as V,a as Q,m as Y,t as N,b as P,d as G,f as Ne,g as nt,e as lt}from"../chunks/index.CP0w37D5.js";import{d as Qs}from"../chunks/preferences.WetYOKHg.js";import{I as Ys,c as ds}from"../chunks/integer-input.fvZuttUG.js";import{e as dt}from"../chunks/each.oUkpMz5d.js";import{L as Zt}from"../chunks/link.czJPdQv3.js";import{g as Es,a as ws}from"../chunks/spread.rEx3vLA9.js";function Gs(r){let e;const t=r[2].default,s=Ft(t,r,r[3],null);return{c(){s&&s.c()},l(n){s&&s.l(n)},m(n,o){s&&s.m(n,o),e=!0},p(n,o){s&&s.p&&(!e||o&8)&&Vt(s,t,n,n[3],e?Yt(t,n[3],o,null):Qt(n[3]),null)},i(n){e||(N(s,n),e=!0)},o(n){P(s,n),e=!1},d(n){s&&s.d(n)}}}function Zs(r){let e,t;const s=[{name:"chevron-down"},r[1],{iconNode:r[0]}];let n={$$slots:{default:[Gs]},$$scope:{ctx:r}};for(let o=0;o<s.length;o+=1)n=xe(n,s[o]);return e=new Bs({props:n}),{c(){V(e.$$.fragment)},l(o){Q(e.$$.fragment,o)},m(o,l){Y(e,o,l),t=!0},p(o,[l]){const i=l&3?Es(s,[s[0],l&2&&ws(o[1]),l&1&&{iconNode:o[0]}]):{};l&8&&(i.$$scope={dirty:l,ctx:o}),e.$set(i)},i(o){t||(N(e.$$.fragment,o),t=!0)},o(o){P(e.$$.fragment,o),t=!1},d(o){G(e,o)}}}function Js(r,e,t){let{$$slots:s={},$$scope:n}=e;const o=[["path",{d:"m6 9 6 6 6-6"}]];return r.$$set=l=>{t(1,e=xe(xe({},e),ht(l))),"$$scope"in l&&t(3,n=l.$$scope)},e=ht(e),[o,e,s,n]}class Ks extends Ae{constructor(e){super(),Le(this,e,Js,Zs,qe,{})}}function Ws(r){let e;const t=r[2].default,s=Ft(t,r,r[3],null);return{c(){s&&s.c()},l(n){s&&s.l(n)},m(n,o){s&&s.m(n,o),e=!0},p(n,o){s&&s.p&&(!e||o&8)&&Vt(s,t,n,n[3],e?Yt(t,n[3],o,null):Qt(n[3]),null)},i(n){e||(N(s,n),e=!0)},o(n){P(s,n),e=!1},d(n){s&&s.d(n)}}}function Xs(r){let e,t;const s=[{name:"chevron-up"},r[1],{iconNode:r[0]}];let n={$$slots:{default:[Ws]},$$scope:{ctx:r}};for(let o=0;o<s.length;o+=1)n=xe(n,s[o]);return e=new Bs({props:n}),{c(){V(e.$$.fragment)},l(o){Q(e.$$.fragment,o)},m(o,l){Y(e,o,l),t=!0},p(o,[l]){const i=l&3?Es(s,[s[0],l&2&&ws(o[1]),l&1&&{iconNode:o[0]}]):{};l&8&&(i.$$scope={dirty:l,ctx:o}),e.$set(i)},i(o){t||(N(e.$$.fragment,o),t=!0)},o(o){P(e.$$.fragment,o),t=!1},d(o){G(e,o)}}}function xs(r,e,t){let{$$slots:s={},$$scope:n}=e;const o=[["path",{d:"m18 15-6-6-6 6"}]];return r.$$set=l=>{t(1,e=xe(xe({},e),ht(l))),"$$scope"in l&&t(3,n=l.$$scope)},e=ht(e),[o,e,s,n]}class er extends Ae{constructor(e){super(),Le(this,e,xs,Xs,qe,{})}}const Ss=Object.freeze({repos:100}),Jt=r=>{const e=Number.parseInt(r.get("repos")??"",10),t=r.get("q")||void 0,s=e>=0?e:Ss.repos;return{query:t,repos:s}},mt=Hs(ks,r=>Jt(r.url.searchParams));let ms=0;const jt=({query:r,repos:e,searchType:t})=>{const s=cs(Ts)?.to?.url??cs(ks).url,n=Jt(s.searchParams),o=r!==void 0&&(r||void 0)!==n.query,l=e!==void 0&&e>=0&&e!==n.repos;if(o||l){const i=Date.now(),u=new URL(s);o&&r?u.searchParams.set("q",r):o&&u.searchParams.delete("q"),l&&e===Ss.repos?u.searchParams.delete("repos"):l&&u.searchParams.set("repos",e.toString()),Ms(u,{replaceState:t==="live"&&i-ms<2e3,keepFocus:!0,noScroll:!0}),ms=i}},tr=async({url:r,fetch:e})=>({listOutcome:await sr(r,e)}),sr=async(r,e)=>{const t=Jt(r.searchParams);try{return await(await e("/api/list",{method:"POST",body:JSON.stringify(t)})).json()}catch(s){return console.error("List repositories failed",s),{kind:"error",error:String(s)}}},Xr=Object.freeze(Object.defineProperty({__proto__:null,load:tr},Symbol.toStringTag,{value:"Module"}));function rr(r){let e,t,s,n,o,l,i,u,p,_,T,C,d,b,M,q,B,W="repos",se,z,R,ne,re,x=(r[0]??"​")+"",le,O,fe,J;u=new Rs({}),d=new Us({});function ae(L){r[14](L)}let ue={id:"context",pending:r[4]};return r[2]!==void 0&&(ue.value=r[2]),z=new Ys({props:ue}),Se.push(()=>Ne(z,"value",ae)),z.$on("change",r[15]),{c(){e=g("form"),t=g("input"),s=w(),n=g("div"),o=g("label"),l=g("span"),i=y("query"),V(u.$$.fragment),p=w(),_=g("span"),T=g("input"),C=w(),V(d.$$.fragment),M=w(),q=g("label"),B=g("span"),B.textContent=W,se=w(),V(z.$$.fragment),ne=w(),re=g("div"),le=y(x),this.h()},l(L){e=$(L,"FORM",{});var D=k(e);t=$(D,"INPUT",{type:!0,class:!0}),s=S(D),n=$(D,"DIV",{class:!0});var I=k(n);o=$(I,"LABEL",{for:!0,class:!0});var E=k(o);l=$(E,"SPAN",{title:!0,class:!0});var ee=k(l);i=v(ee,"query"),Q(u.$$.fragment,ee),ee.forEach(c),p=S(E),_=$(E,"SPAN",{class:!0});var te=k(_);T=$(te,"INPUT",{id:!0,type:!0,spellcheck:!0,autocorrect:!0,autocapitalize:!0,autocomplete:!0,class:!0}),C=S(te),Q(d.$$.fragment,te),te.forEach(c),E.forEach(c),M=S(I),q=$(I,"LABEL",{for:!0,class:!0});var ce=k(q);B=$(ce,"SPAN",{class:!0,"data-svelte-h":!0}),Gt(B)!=="svelte-leid1k"&&(B.textContent=W),se=S(ce),Q(z.$$.fragment,ce),ce.forEach(c),I.forEach(c),ne=S(D),re=$(D,"DIV",{class:!0});var _e=k(re);le=v(_e,x),_e.forEach(c),D.forEach(c),this.h()},h(){m(t,"type","submit"),m(t,"class","hidden"),m(l,"title","Same query syntax as the main search - use `r:name` to filter repositories by name, otherwise you are filtering them by their content!"),m(l,"class","text-xs px-1 text-gray-500"),m(T,"id","query"),m(T,"type","search"),T.autofocus=!0,m(T,"spellcheck",!1),m(T,"autocorrect","off"),m(T,"autocapitalize","off"),m(T,"autocomplete","off"),m(T,"class","font-mono focus:outline-none flex-auto appearance-none"),m(_,"class",b=`flex flex-auto p-1 border shadow-sm space-x-1 ${ds({error:r[0]!==null,pending:r[5]})}`),m(o,"for","query"),m(o,"class","flex-auto flex flex-col space-y-0.5"),m(B,"class","text-xs px-1 text-gray-500"),m(q,"for","repos"),m(q,"class","flex flex-col space-y-0.5"),m(n,"class","flex flex-wrap gap-y-2 justify-center whitespace-nowrap"),m(re,"class","text-xs text-red-500")},m(L,D){H(L,e,D),a(e,t),a(e,s),a(e,n),a(n,o),a(o,l),a(l,i),Y(u,l,null),a(o,p),a(o,_),a(_,T),_s(T,r[1]),a(_,C),Y(d,_,null),a(n,M),a(n,q),a(q,B),a(q,se),Y(z,q,null),a(e,ne),a(e,re),a(re,le),O=!0,T.focus(),fe||(J=[pt(T,"input",r[12]),pt(T,"input",r[13]),pt(e,"submit",zs(r[16]))],fe=!0)},p(L,[D]){D&2&&T.value!==L[1]&&_s(T,L[1]),(!O||D&33&&b!==(b=`flex flex-auto p-1 border shadow-sm space-x-1 ${ds({error:L[0]!==null,pending:L[5]})}`))&&m(_,"class",b);const I={};D&16&&(I.pending=L[4]),!R&&D&4&&(R=!0,I.value=L[2],Ie(()=>R=!1)),z.$set(I),(!O||D&1)&&x!==(x=(L[0]??"​")+"")&&U(le,x)},i(L){O||(N(u.$$.fragment,L),N(d.$$.fragment,L),N(z.$$.fragment,L),O=!0)},o(L){P(u.$$.fragment,L),P(d.$$.fragment,L),P(z.$$.fragment,L),O=!1},d(L){L&&c(e),G(u),G(d),G(z),fe=!1,js(J)}}}function nr(r,e,t){let s,n,o,l,i;rt(r,mt,R=>t(10,o=R)),rt(r,Ts,R=>t(11,l=R));let{queryError:u}=e;const p=Qs();rt(r,p,R=>t(3,i=R));let _,T;const C=mt.subscribe(R=>{l?.type!=="goto"&&t(1,{query:_,repos:T}=R,_,t(2,T))});Fs(C);const d=()=>i==="live"&&(!_||_.length>=3),b=()=>{jt({query:_,repos:T,searchType:i})};let M;function q(){_=this.value,t(1,_)}const B=()=>{d()&&jt({query:_,searchType:i})};function W(R){T=R,t(2,T)}const se=R=>{d()&&jt({repos:R.detail,searchType:i})},z=()=>{b()};return r.$$set=R=>{"queryError"in R&&t(0,u=R.queryError)},r.$$.update=()=>{r.$$.dirty&520&&(i==="live"&&M==="manual"&&b(),t(9,M=i)),r.$$.dirty&3074&&t(5,s=l===null&&(o.query??"")!==(_??"")),r.$$.dirty&3076&&t(4,n=l===null&&o.repos!==T)},[u,_,T,i,n,s,p,d,b,M,o,l,q,B,W,se,z]}class lr extends Ae{constructor(e){super(),Le(this,e,nr,rr,qe,{queryError:0})}}const or=["B","kB","MB","GB","TB","PB","EB","ZB","YB"],ar=["B","KiB","MiB","GiB","TiB","PiB","EiB","ZiB","YiB"],ir=["b","kbit","Mbit","Gbit","Tbit","Pbit","Ebit","Zbit","Ybit"],ur=["b","kibit","Mibit","Gibit","Tibit","Pibit","Eibit","Zibit","Yibit"],gs=(r,e,t)=>{let s=r;return typeof e=="string"||Array.isArray(e)?s=r.toLocaleString(e,t):(e===!0||t!==void 0)&&(s=r.toLocaleString(void 0,t)),s};function Pe(r,e){if(!Number.isFinite(r))throw new TypeError(`Expected a finite number, got ${typeof r}: ${r}`);e={bits:!1,binary:!1,space:!0,...e};const t=e.bits?e.binary?ur:ir:e.binary?ar:or,s=e.space?" ":"";if(e.signed&&r===0)return` 0${s}${t[0]}`;const n=r<0,o=n?"-":e.signed?"+":"";n&&(r=-r);let l;if(e.minimumFractionDigits!==void 0&&(l={minimumFractionDigits:e.minimumFractionDigits}),e.maximumFractionDigits!==void 0&&(l={maximumFractionDigits:e.maximumFractionDigits,...l}),r<1){const _=gs(r,e.locale,l);return o+_+s+t[0]}const i=Math.min(Math.floor(e.binary?Math.log(r)/Math.log(1024):Math.log10(r)/3),t.length-1);r/=(e.binary?1024:1e3)**i,l||(r=r.toPrecision(3));const u=gs(Number(r),e.locale,l),p=t[i];return o+u+s+p}function fr(r){let e;return{c(){e=y(r[0])},l(t){e=v(t,r[0])},m(t,s){H(t,e,s)},p(t,s){s&1&&U(e,t[0])},i:je,o:je,d(t){t&&c(e)}}}function cr(r){let e,t;return e=new Zt({props:{to:r[1],$$slots:{default:[_r]},$$scope:{ctx:r}}}),{c(){V(e.$$.fragment)},l(s){Q(e.$$.fragment,s)},m(s,n){Y(e,s,n),t=!0},p(s,n){const o={};n&2&&(o.to=s[1]),n&5&&(o.$$scope={dirty:n,ctx:s}),e.$set(o)},i(s){t||(N(e.$$.fragment,s),t=!0)},o(s){P(e.$$.fragment,s),t=!1},d(s){G(e,s)}}}function _r(r){let e;return{c(){e=y(r[0])},l(t){e=v(t,r[0])},m(t,s){H(t,e,s)},p(t,s){s&1&&U(e,t[0])},d(t){t&&c(e)}}}function pr(r){let e,t,s,n;const o=[cr,fr],l=[];function i(u,p){return u[1]?0:1}return t=i(r),s=l[t]=o[t](r),{c(){e=g("div"),s.c(),this.h()},l(u){e=$(u,"DIV",{class:!0});var p=k(e);s.l(p),p.forEach(c),this.h()},h(){m(e,"class","text-left")},m(u,p){H(u,e,p),l[t].m(e,null),n=!0},p(u,[p]){let _=t;t=i(u),t===_?l[t].p(u,p):(nt(),P(l[_],1,1,()=>{l[_]=null}),lt(),s=l[t],s?s.p(u,p):(s=l[t]=o[t](u),s.c()),N(s,1),s.m(e,null))},i(u){n||(N(s),n=!0)},o(u){P(s),n=!1},d(u){u&&c(e),l[t].d()}}}function hr(r,e,t){let{name:s}=e,{url:n}=e;return r.$$set=o=>{"name"in o&&t(0,s=o.name),"url"in o&&t(1,n=o.url)},[s,n]}class dr extends Ae{constructor(e){super(),Le(this,e,hr,pr,qe,{name:0,url:1})}}function $s(r,e,t){const s=r.slice();return s[3]=e[t].name,s[4]=e[t].version,s}function mr(r){let e=r[2](r[4])+"",t;return{c(){t=y(e)},l(s){t=v(s,e)},m(s,n){H(s,t,n)},p(s,n){n&1&&e!==(e=s[2](s[4])+"")&&U(t,e)},i:je,o:je,d(s){s&&c(t)}}}function gr(r){let e,t;return e=new Zt({props:{to:r[1].replaceAll("{{.Version}}",r[4]),$$slots:{default:[$r]},$$scope:{ctx:r}}}),{c(){V(e.$$.fragment)},l(s){Q(e.$$.fragment,s)},m(s,n){Y(e,s,n),t=!0},p(s,n){const o={};n&3&&(o.to=s[1].replaceAll("{{.Version}}",s[4])),n&129&&(o.$$scope={dirty:n,ctx:s}),e.$set(o)},i(s){t||(N(e.$$.fragment,s),t=!0)},o(s){P(e.$$.fragment,s),t=!1},d(s){G(e,s)}}}function $r(r){let e=r[2](r[4])+"",t;return{c(){t=y(e)},l(s){t=v(s,e)},m(s,n){H(s,t,n)},p(s,n){n&1&&e!==(e=s[2](s[4])+"")&&U(t,e)},d(s){s&&c(t)}}}function bs(r){let e=r[3]+"",t,s,n,o,l,i,u;const p=[gr,mr],_=[];function T(C,d){return C[1]?0:1}return o=T(r),l=_[o]=p[o](r),{c(){t=y(e),s=y("@"),n=g("span"),l.c(),i=w(),this.h()},l(C){t=v(C,e),s=v(C,"@"),n=$(C,"SPAN",{class:!0});var d=k(n);l.l(d),i=S(d),d.forEach(c),this.h()},h(){m(n,"class","font-mono")},m(C,d){H(C,t,d),H(C,s,d),H(C,n,d),_[o].m(n,null),a(n,i),u=!0},p(C,d){(!u||d&1)&&e!==(e=C[3]+"")&&U(t,e);let b=o;o=T(C),o===b?_[o].p(C,d):(nt(),P(_[b],1,1,()=>{_[b]=null}),lt(),l=_[o],l?l.p(C,d):(l=_[o]=p[o](C),l.c()),N(l,1),l.m(n,i))},i(C){u||(N(l),u=!0)},o(C){P(l),u=!1},d(C){C&&(c(t),c(s),c(n)),_[o].d()}}}function br(r){let e,t,s=dt(r[0]),n=[];for(let l=0;l<s.length;l+=1)n[l]=bs($s(r,s,l));const o=l=>P(n[l],1,1,()=>{n[l]=null});return{c(){for(let l=0;l<n.length;l+=1)n[l].c();e=ps()},l(l){for(let i=0;i<n.length;i+=1)n[i].l(l);e=ps()},m(l,i){for(let u=0;u<n.length;u+=1)n[u]&&n[u].m(l,i);H(l,e,i),t=!0},p(l,[i]){if(i&7){s=dt(l[0]);let u;for(u=0;u<s.length;u+=1){const p=$s(l,s,u);n[u]?(n[u].p(p,i),N(n[u],1)):(n[u]=bs(p),n[u].c(),N(n[u],1),n[u].m(e.parentNode,e))}for(nt(),u=s.length;u<n.length;u+=1)o(u);lt()}},i(l){if(!t){for(let i=0;i<s.length;i+=1)N(n[i]);t=!0}},o(l){n=n.filter(Boolean);for(let i=0;i<n.length;i+=1)P(n[i]);t=!1},d(l){l&&c(e),Cs(n,l)}}}function yr(r,e,t){let{branches:s}=e,{commitUrlTemplate:n}=e;const o=l=>/^[a-z0-9]{40}$/.test(l)?l.slice(0,8):l;return r.$$set=l=>{"branches"in l&&t(0,s=l.branches),"commitUrlTemplate"in l&&t(1,n=l.commitUrlTemplate)},[s,n,o]}class vr extends Ae{constructor(e){super(),Le(this,e,yr,br,qe,{branches:0,commitUrlTemplate:1})}}const Br=(r,e)=>r?.prop===e.prop?r.direction==="ascending"?{...e,direction:"descending"}:null:{...e,direction:"ascending"},kr=({prop:r,kind:e,direction:t})=>{if(e==="number"&&t==="ascending")return({[r]:s},{[r]:n})=>s-n;if(e==="number"&&t==="descending")return({[r]:s},{[r]:n})=>n-s;if(e==="string"&&t==="ascending")return({[r]:s},{[r]:n})=>s<n?-1:s>n?1:0;if(e==="string"&&t==="descending")return({[r]:s},{[r]:n})=>n<s?-1:n>s?1:0};function Tr(r){let e,t;return e=new Ks({props:{class:"flex-none",size:16}}),{c(){V(e.$$.fragment)},l(s){Q(e.$$.fragment,s)},m(s,n){Y(e,s,n),t=!0},i(s){t||(N(e.$$.fragment,s),t=!0)},o(s){P(e.$$.fragment,s),t=!1},d(s){G(e,s)}}}function Cr(r){let e,t;return e=new er({props:{class:"flex-none",size:16}}),{c(){V(e.$$.fragment)},l(s){Q(e.$$.fragment,s)},m(s,n){Y(e,s,n),t=!0},i(s){t||(N(e.$$.fragment,s),t=!0)},o(s){P(e.$$.fragment,s),t=!1},d(s){G(e,s)}}}function Er(r){let e;return{c(){e=g("div"),this.h()},l(t){e=$(t,"DIV",{class:!0}),k(e).forEach(c),this.h()},h(){m(e,"class","flex-none w-4 h-4")},m(t,s){H(t,e,s)},i:je,o:je,d(t){t&&c(e)}}}function wr(r){let e,t,s,n,o,l,i,u;const p=[Er,Cr,Tr],_=[];function T(b,M){return b[0]===null||b[0].prop!==b[1].prop?0:b[0].direction==="ascending"?1:2}t=T(r),s=_[t]=p[t](r);const C=r[3].default,d=Ft(C,r,r[2],null);return{c(){e=g("button"),s.c(),n=w(),o=g("span"),d&&d.c(),this.h()},l(b){e=$(b,"BUTTON",{class:!0});var M=k(e);s.l(M),n=S(M),o=$(M,"SPAN",{});var q=k(o);d&&d.l(q),q.forEach(c),M.forEach(c),this.h()},h(){m(e,"class","w-full h-full flex justify-center items-center hover:bg-slate-200")},m(b,M){H(b,e,M),_[t].m(e,null),a(e,n),a(e,o),d&&d.m(o,null),l=!0,i||(u=pt(e,"click",r[4]),i=!0)},p(b,[M]){let q=t;t=T(b),t!==q&&(nt(),P(_[q],1,1,()=>{_[q]=null}),lt(),s=_[t],s||(s=_[t]=p[t](b),s.c()),N(s,1),s.m(e,n)),d&&d.p&&(!l||M&4)&&Vt(d,C,b,b[2],l?Yt(C,b[2],M,null):Qt(b[2]),null)},i(b){l||(N(s),N(d,b),l=!0)},o(b){P(s),P(d,b),l=!1},d(b){b&&c(e),_[t].d(),d&&d.d(b),i=!1,u()}}}function Sr(r,e,t){let{$$slots:s={},$$scope:n}=e,{sortColumn:o}=e,{sortBy:l}=e;const i=()=>{t(0,l=Br(l,o))};return r.$$set=u=>{"sortColumn"in u&&t(1,o=u.sortColumn),"sortBy"in u&&t(0,l=u.sortBy),"$$scope"in u&&t(2,n=u.$$scope)},[l,o,n,s,i]}class ze extends Ae{constructor(e){super(),Le(this,e,Sr,wr,qe,{sortColumn:1,sortBy:0})}}function ys(r,e,t){const s=r.slice();return s[14]=e[t].name,s[15]=e[t].url,s[16]=e[t].branches,s[17]=e[t].commitUrlTemplate,s[18]=e[t].shardCount,s[19]=e[t].fileCount,s[20]=e[t].indexBytes,s[21]=e[t].contentBytes,s[22]=e[t].lastIndexed,s[23]=e[t].lastCommit,s}function Ir(r){let e;return{c(){e=y("shard files")},l(t){e=v(t,"shard files")},m(t,s){H(t,e,s)},d(t){t&&c(e)}}}function Nr(r){let e,t="Repository";return{c(){e=g("div"),e.textContent=t},l(s){e=$(s,"DIV",{"data-svelte-h":!0}),Gt(e)!=="svelte-1kv5i5g"&&(e.textContent=t)},m(s,n){H(s,e,n)},p:je,d(s){s&&c(e)}}}function Pr(r){let e;return{c(){e=y("Shard count")},l(t){e=v(t,"Shard count")},m(t,s){H(t,e,s)},d(t){t&&c(e)}}}function qr(r){let e;return{c(){e=y("Contained files")},l(t){e=v(t,"Contained files")},m(t,s){H(t,e,s)},d(t){t&&c(e)}}}function Ar(r){let e;return{c(){e=y("Index size in RAM")},l(t){e=v(t,"Index size in RAM")},m(t,s){H(t,e,s)},d(t){t&&c(e)}}}function Lr(r){let e;return{c(){e=y("Content size in RAM")},l(t){e=v(t,"Content size in RAM")},m(t,s){H(t,e,s)},d(t){t&&c(e)}}}function Dr(r){let e;return{c(){e=y("Last indexed")},l(t){e=v(t,"Last indexed")},m(t,s){H(t,e,s)},d(t){t&&c(e)}}}function Or(r){let e;return{c(){e=y("Last commit")},l(t){e=v(t,"Last commit")},m(t,s){H(t,e,s)},d(t){t&&c(e)}}}function vs(r){let e,t,s,n,o,l,i,u,p=r[18]+"",_,T,C,d=r[19]+"",b,M,q,B=Pe(r[20],{space:!1,binary:!0})+"",W,se,z,R=Pe(r[21],{space:!1,binary:!0})+"",ne,re,x,le=r[22]+"",O,fe,J,ae=r[23]+"",ue,L,D;return s=new dr({props:{name:r[14],url:r[15]}}),l=new vr({props:{branches:r[16],commitUrlTemplate:r[17]}}),{c(){e=g("tr"),t=g("td"),V(s.$$.fragment),n=w(),o=g("td"),V(l.$$.fragment),i=w(),u=g("td"),_=y(p),T=w(),C=g("td"),b=y(d),M=w(),q=g("td"),W=y(B),se=w(),z=g("td"),ne=y(R),re=w(),x=g("td"),O=y(le),fe=w(),J=g("td"),ue=y(ae),L=w(),this.h()},l(I){e=$(I,"TR",{class:!0});var E=k(e);t=$(E,"TD",{class:!0});var ee=k(t);Q(s.$$.fragment,ee),ee.forEach(c),n=S(E),o=$(E,"TD",{class:!0});var te=k(o);Q(l.$$.fragment,te),te.forEach(c),i=S(E),u=$(E,"TD",{class:!0});var ce=k(u);_=v(ce,p),ce.forEach(c),T=S(E),C=$(E,"TD",{class:!0});var _e=k(C);b=v(_e,d),_e.forEach(c),M=S(E),q=$(E,"TD",{class:!0});var De=k(q);W=v(De,B),De.forEach(c),se=S(E),z=$(E,"TD",{class:!0});var Fe=k(z);ne=v(Fe,R),Fe.forEach(c),re=S(E),x=$(E,"TD",{class:!0});var ye=k(x);O=v(ye,le),ye.forEach(c),fe=S(E),J=$(E,"TD",{class:!0});var Oe=k(J);ue=v(Oe,ae),Oe.forEach(c),L=S(E),E.forEach(c),this.h()},h(){m(t,"class","p-1 border-x"),m(o,"class","p-1 border-x"),m(u,"class","p-1 border-x text-right"),m(C,"class","p-1 border-x text-right"),m(q,"class","p-1 border-x text-right"),m(z,"class","p-1 border-x text-right"),m(x,"class","p-1 border-x"),m(J,"class","p-1 border-x"),m(e,"class","border")},m(I,E){H(I,e,E),a(e,t),Y(s,t,null),a(e,n),a(e,o),Y(l,o,null),a(e,i),a(e,u),a(u,_),a(e,T),a(e,C),a(C,b),a(e,M),a(e,q),a(q,W),a(e,se),a(e,z),a(z,ne),a(e,re),a(e,x),a(x,O),a(e,fe),a(e,J),a(J,ue),a(e,L),D=!0},p(I,E){const ee={};E&4&&(ee.name=I[14]),E&4&&(ee.url=I[15]),s.$set(ee);const te={};E&4&&(te.branches=I[16]),E&4&&(te.commitUrlTemplate=I[17]),l.$set(te),(!D||E&4)&&p!==(p=I[18]+"")&&U(_,p),(!D||E&4)&&d!==(d=I[19]+"")&&U(b,d),(!D||E&4)&&B!==(B=Pe(I[20],{space:!1,binary:!0})+"")&&U(W,B),(!D||E&4)&&R!==(R=Pe(I[21],{space:!1,binary:!0})+"")&&U(ne,R),(!D||E&4)&&le!==(le=I[22]+"")&&U(O,le),(!D||E&4)&&ae!==(ae=I[23]+"")&&U(ue,ae)},i(I){D||(N(s.$$.fragment,I),N(l.$$.fragment,I),D=!0)},o(I){P(s.$$.fragment,I),P(l.$$.fragment,I),D=!1},d(I){I&&c(e),G(s),G(l)}}}function Mr(r){let e,t,s,n=r[0].repositories.length+"",o,l,i=r[0].repositories.length===1?"repository":"repositories",u,p,_=r[0].stats.shardCount+"",T,C,d=r[0].stats.shardCount===1?"shard":"shards",b,M,q=r[0].stats.fileCount+"",B,W,se=r[0].stats.fileCount===1?"file":"files",z,R,ne=Pe(r[0].stats.indexBytes+r[0].stats.contentBytes,{space:!1,binary:!0})+"",re,x,le,O,fe,J,ae=r[2].length+"",ue,L,D=r[2].length===1?"repository":"repositories",I,E,ee=r[4].shardCount+"",te,ce,_e=r[4].shardCount===1?"shard":"shards",De,Fe,ye=r[4].fileCount+"",Oe,gt,et=r[4].fileCount===1?"file":"files",ot,$t,tt=Pe(r[4].indexBytes+r[4].contentBytes,{space:!1,binary:!0})+"",at,bt,it,Me,ve,Be,ie,ut,yt,ft,vt,ke,Bt,Te,kt,ct,Tt,_t,Ct,Z,Ve,pe,Et,wt,Re,Kt="Branches",St,Qe,he,It,Nt,Ye,de,Pt,qt,Ge,me,At,Lt,Ze,ge,Dt,Ot,Je,$e,Mt,Rt,Ke,be,Ut,Ht,We,K;Te=new Zt({props:{to:"/about#repository-stats",$$slots:{default:[Ir]},$$scope:{ctx:r}}});function Is(f){r[7](f)}let Wt={sortColumn:{prop:"name",kind:"string"},$$slots:{default:[Nr]},$$scope:{ctx:r}};r[1]!==void 0&&(Wt.sortBy=r[1]),pe=new ze({props:Wt}),Se.push(()=>Ne(pe,"sortBy",Is));function Ns(f){r[8](f)}let Xt={sortColumn:{prop:"shardCount",kind:"number"},$$slots:{default:[Pr]},$$scope:{ctx:r}};r[1]!==void 0&&(Xt.sortBy=r[1]),he=new ze({props:Xt}),Se.push(()=>Ne(he,"sortBy",Ns));function Ps(f){r[9](f)}let xt={sortColumn:{prop:"fileCount",kind:"number"},$$slots:{default:[qr]},$$scope:{ctx:r}};r[1]!==void 0&&(xt.sortBy=r[1]),de=new ze({props:xt}),Se.push(()=>Ne(de,"sortBy",Ps));function qs(f){r[10](f)}let es={sortColumn:{prop:"indexBytes",kind:"number"},$$slots:{default:[Ar]},$$scope:{ctx:r}};r[1]!==void 0&&(es.sortBy=r[1]),me=new ze({props:es}),Se.push(()=>Ne(me,"sortBy",qs));function As(f){r[11](f)}let ts={sortColumn:{prop:"contentBytes",kind:"number"},$$slots:{default:[Lr]},$$scope:{ctx:r}};r[1]!==void 0&&(ts.sortBy=r[1]),ge=new ze({props:ts}),Se.push(()=>Ne(ge,"sortBy",As));function Ls(f){r[12](f)}let ss={sortColumn:{prop:"lastIndexed",kind:"string"},$$slots:{default:[Dr]},$$scope:{ctx:r}};r[1]!==void 0&&(ss.sortBy=r[1]),$e=new ze({props:ss}),Se.push(()=>Ne($e,"sortBy",Ls));function Ds(f){r[13](f)}let rs={sortColumn:{prop:"lastCommit",kind:"string"},$$slots:{default:[Or]},$$scope:{ctx:r}};r[1]!==void 0&&(rs.sortBy=r[1]),be=new ze({props:rs}),Se.push(()=>Ne(be,"sortBy",Ds));let Ue=dt(r[2]),j=[];for(let f=0;f<Ue.length;f+=1)j[f]=vs(ys(r,Ue,f));const Os=f=>P(j[f],1,1,()=>{j[f]=null});return{c(){e=g("h1"),t=g("span"),s=y("zoekt: "),o=y(n),l=w(),u=y(i),p=y(` /
1
+ import{g as Ms,L as Rs,T as Us,I as Bs}from"../chunks/loading-ellipsis.k3p6ijV8.js";import{p as ks,n as Ts}from"../chunks/stores.qqHx_u93.js";import{d as Hs}from"../chunks/index.XEtU8W2G.js";import{a7 as cs,n as qe,w as Se,e as g,l as w,t as y,c as $,a as k,o as S,b as v,d as c,p as Ft,f as m,i as H,g as a,y as _s,q as pt,a8 as zs,z as Ie,s as U,A as js,j as rt,a9 as Fs,h as je,G as ps,K as Cs,H as xe,a5 as ht,k as Vt,u as Qt,r as Yt,v as Gt,J as hs,m as Vs}from"../chunks/scheduler.T8nCnPq2.js";import{S as Ae,i as Le,f as Ne,c as V,a as Q,m as Y,t as N,b as P,d as G,g as nt,e as lt}from"../chunks/index.CP0w37D5.js";import{d as Qs}from"../chunks/preferences.WetYOKHg.js";import{I as Ys,c as ds}from"../chunks/integer-input.fvZuttUG.js";import{e as dt}from"../chunks/each.oUkpMz5d.js";import{L as Zt}from"../chunks/link.czJPdQv3.js";import{g as Es,a as ws}from"../chunks/spread.rEx3vLA9.js";const Ss=Object.freeze({repos:100}),Jt=r=>{const e=Number.parseInt(r.get("repos")??"",10),t=r.get("q")||void 0,s=e>=0?e:Ss.repos;return{query:t,repos:s}},mt=Hs(ks,r=>Jt(r.url.searchParams));let ms=0;const jt=({query:r,repos:e,searchType:t})=>{const s=cs(Ts)?.to?.url??cs(ks).url,n=Jt(s.searchParams),o=r!==void 0&&(r||void 0)!==n.query,l=e!==void 0&&e>=0&&e!==n.repos;if(o||l){const i=Date.now(),u=new URL(s);o&&r?u.searchParams.set("q",r):o&&u.searchParams.delete("q"),l&&e===Ss.repos?u.searchParams.delete("repos"):l&&u.searchParams.set("repos",e.toString()),Ms(u,{replaceState:t==="live"&&i-ms<2e3,keepFocus:!0,noScroll:!0}),ms=i}},Gs=async({url:r,fetch:e})=>({listOutcome:await Zs(r,e)}),Zs=async(r,e)=>{const t=Jt(r.searchParams);try{return await(await e("/api/list",{method:"POST",body:JSON.stringify(t)})).json()}catch(s){return console.error("List repositories failed",s),{kind:"error",error:String(s)}}},Xr=Object.freeze(Object.defineProperty({__proto__:null,load:Gs},Symbol.toStringTag,{value:"Module"}));function Js(r){let e,t,s,n,o,l,i,u,p,_,T,C,d,b,M,q,B,W="repos",se,z,R,ne,re,x=(r[0]??"​")+"",le,O,fe,J;u=new Rs({}),d=new Us({});function ae(L){r[14](L)}let ue={id:"context",pending:r[4]};return r[2]!==void 0&&(ue.value=r[2]),z=new Ys({props:ue}),Se.push(()=>Ne(z,"value",ae)),z.$on("change",r[15]),{c(){e=g("form"),t=g("input"),s=w(),n=g("div"),o=g("label"),l=g("span"),i=y("query"),V(u.$$.fragment),p=w(),_=g("span"),T=g("input"),C=w(),V(d.$$.fragment),M=w(),q=g("label"),B=g("span"),B.textContent=W,se=w(),V(z.$$.fragment),ne=w(),re=g("div"),le=y(x),this.h()},l(L){e=$(L,"FORM",{});var D=k(e);t=$(D,"INPUT",{type:!0,class:!0}),s=S(D),n=$(D,"DIV",{class:!0});var I=k(n);o=$(I,"LABEL",{for:!0,class:!0});var E=k(o);l=$(E,"SPAN",{title:!0,class:!0});var ee=k(l);i=v(ee,"query"),Q(u.$$.fragment,ee),ee.forEach(c),p=S(E),_=$(E,"SPAN",{class:!0});var te=k(_);T=$(te,"INPUT",{id:!0,type:!0,spellcheck:!0,autocorrect:!0,autocapitalize:!0,autocomplete:!0,class:!0}),C=S(te),Q(d.$$.fragment,te),te.forEach(c),E.forEach(c),M=S(I),q=$(I,"LABEL",{for:!0,class:!0});var ce=k(q);B=$(ce,"SPAN",{class:!0,"data-svelte-h":!0}),Ft(B)!=="svelte-leid1k"&&(B.textContent=W),se=S(ce),Q(z.$$.fragment,ce),ce.forEach(c),I.forEach(c),ne=S(D),re=$(D,"DIV",{class:!0});var _e=k(re);le=v(_e,x),_e.forEach(c),D.forEach(c),this.h()},h(){m(t,"type","submit"),m(t,"class","hidden"),m(l,"title","Same query syntax as the main search - use `r:name` to filter repositories by name, otherwise you are filtering them by their content!"),m(l,"class","text-xs px-1 text-gray-500"),m(T,"id","query"),m(T,"type","search"),T.autofocus=!0,m(T,"spellcheck",!1),m(T,"autocorrect","off"),m(T,"autocapitalize","off"),m(T,"autocomplete","off"),m(T,"class","font-mono focus:outline-none flex-auto appearance-none"),m(_,"class",b=`flex flex-auto p-1 border shadow-sm space-x-1 ${ds({error:r[0]!==null,pending:r[5]})}`),m(o,"for","query"),m(o,"class","flex-auto flex flex-col space-y-0.5"),m(B,"class","text-xs px-1 text-gray-500"),m(q,"for","repos"),m(q,"class","flex flex-col space-y-0.5"),m(n,"class","flex flex-wrap gap-y-2 justify-center whitespace-nowrap"),m(re,"class","text-xs text-red-500")},m(L,D){H(L,e,D),a(e,t),a(e,s),a(e,n),a(n,o),a(o,l),a(l,i),Y(u,l,null),a(o,p),a(o,_),a(_,T),_s(T,r[1]),a(_,C),Y(d,_,null),a(n,M),a(n,q),a(q,B),a(q,se),Y(z,q,null),a(e,ne),a(e,re),a(re,le),O=!0,T.focus(),fe||(J=[pt(T,"input",r[12]),pt(T,"input",r[13]),pt(e,"submit",zs(r[16]))],fe=!0)},p(L,[D]){D&2&&T.value!==L[1]&&_s(T,L[1]),(!O||D&33&&b!==(b=`flex flex-auto p-1 border shadow-sm space-x-1 ${ds({error:L[0]!==null,pending:L[5]})}`))&&m(_,"class",b);const I={};D&16&&(I.pending=L[4]),!R&&D&4&&(R=!0,I.value=L[2],Ie(()=>R=!1)),z.$set(I),(!O||D&1)&&x!==(x=(L[0]??"​")+"")&&U(le,x)},i(L){O||(N(u.$$.fragment,L),N(d.$$.fragment,L),N(z.$$.fragment,L),O=!0)},o(L){P(u.$$.fragment,L),P(d.$$.fragment,L),P(z.$$.fragment,L),O=!1},d(L){L&&c(e),G(u),G(d),G(z),fe=!1,js(J)}}}function Ks(r,e,t){let s,n,o,l,i;rt(r,mt,R=>t(10,o=R)),rt(r,Ts,R=>t(11,l=R));let{queryError:u}=e;const p=Qs();rt(r,p,R=>t(3,i=R));let _,T;const C=mt.subscribe(R=>{l?.type!=="goto"&&t(1,{query:_,repos:T}=R,_,t(2,T))});Fs(C);const d=()=>i==="live"&&(!_||_.length>=3),b=()=>{jt({query:_,repos:T,searchType:i})};let M;function q(){_=this.value,t(1,_)}const B=()=>{d()&&jt({query:_,searchType:i})};function W(R){T=R,t(2,T)}const se=R=>{d()&&jt({repos:R.detail,searchType:i})},z=()=>{b()};return r.$$set=R=>{"queryError"in R&&t(0,u=R.queryError)},r.$$.update=()=>{r.$$.dirty&520&&(i==="live"&&M==="manual"&&b(),t(9,M=i)),r.$$.dirty&3074&&t(5,s=l===null&&(o.query??"")!==(_??"")),r.$$.dirty&3076&&t(4,n=l===null&&o.repos!==T)},[u,_,T,i,n,s,p,d,b,M,o,l,q,B,W,se,z]}class Ws extends Ae{constructor(e){super(),Le(this,e,Ks,Js,qe,{queryError:0})}}const Xs=["B","kB","MB","GB","TB","PB","EB","ZB","YB"],xs=["B","KiB","MiB","GiB","TiB","PiB","EiB","ZiB","YiB"],er=["b","kbit","Mbit","Gbit","Tbit","Pbit","Ebit","Zbit","Ybit"],tr=["b","kibit","Mibit","Gibit","Tibit","Pibit","Eibit","Zibit","Yibit"],gs=(r,e,t)=>{let s=r;return typeof e=="string"||Array.isArray(e)?s=r.toLocaleString(e,t):(e===!0||t!==void 0)&&(s=r.toLocaleString(void 0,t)),s};function Pe(r,e){if(!Number.isFinite(r))throw new TypeError(`Expected a finite number, got ${typeof r}: ${r}`);e={bits:!1,binary:!1,space:!0,...e};const t=e.bits?e.binary?tr:er:e.binary?xs:Xs,s=e.space?" ":"";if(e.signed&&r===0)return` 0${s}${t[0]}`;const n=r<0,o=n?"-":e.signed?"+":"";n&&(r=-r);let l;if(e.minimumFractionDigits!==void 0&&(l={minimumFractionDigits:e.minimumFractionDigits}),e.maximumFractionDigits!==void 0&&(l={maximumFractionDigits:e.maximumFractionDigits,...l}),r<1){const _=gs(r,e.locale,l);return o+_+s+t[0]}const i=Math.min(Math.floor(e.binary?Math.log(r)/Math.log(1024):Math.log10(r)/3),t.length-1);r/=(e.binary?1024:1e3)**i,l||(r=r.toPrecision(3));const u=gs(Number(r),e.locale,l),p=t[i];return o+u+s+p}function sr(r){let e;return{c(){e=y(r[0])},l(t){e=v(t,r[0])},m(t,s){H(t,e,s)},p(t,s){s&1&&U(e,t[0])},i:je,o:je,d(t){t&&c(e)}}}function rr(r){let e,t;return e=new Zt({props:{to:r[1],$$slots:{default:[nr]},$$scope:{ctx:r}}}),{c(){V(e.$$.fragment)},l(s){Q(e.$$.fragment,s)},m(s,n){Y(e,s,n),t=!0},p(s,n){const o={};n&2&&(o.to=s[1]),n&5&&(o.$$scope={dirty:n,ctx:s}),e.$set(o)},i(s){t||(N(e.$$.fragment,s),t=!0)},o(s){P(e.$$.fragment,s),t=!1},d(s){G(e,s)}}}function nr(r){let e;return{c(){e=y(r[0])},l(t){e=v(t,r[0])},m(t,s){H(t,e,s)},p(t,s){s&1&&U(e,t[0])},d(t){t&&c(e)}}}function lr(r){let e,t,s,n;const o=[rr,sr],l=[];function i(u,p){return u[1]?0:1}return t=i(r),s=l[t]=o[t](r),{c(){e=g("div"),s.c(),this.h()},l(u){e=$(u,"DIV",{class:!0});var p=k(e);s.l(p),p.forEach(c),this.h()},h(){m(e,"class","text-left")},m(u,p){H(u,e,p),l[t].m(e,null),n=!0},p(u,[p]){let _=t;t=i(u),t===_?l[t].p(u,p):(nt(),P(l[_],1,1,()=>{l[_]=null}),lt(),s=l[t],s?s.p(u,p):(s=l[t]=o[t](u),s.c()),N(s,1),s.m(e,null))},i(u){n||(N(s),n=!0)},o(u){P(s),n=!1},d(u){u&&c(e),l[t].d()}}}function or(r,e,t){let{name:s}=e,{url:n}=e;return r.$$set=o=>{"name"in o&&t(0,s=o.name),"url"in o&&t(1,n=o.url)},[s,n]}class ar extends Ae{constructor(e){super(),Le(this,e,or,lr,qe,{name:0,url:1})}}function $s(r,e,t){const s=r.slice();return s[3]=e[t].name,s[4]=e[t].version,s}function ir(r){let e=r[2](r[4])+"",t;return{c(){t=y(e)},l(s){t=v(s,e)},m(s,n){H(s,t,n)},p(s,n){n&1&&e!==(e=s[2](s[4])+"")&&U(t,e)},i:je,o:je,d(s){s&&c(t)}}}function ur(r){let e,t;return e=new Zt({props:{to:r[1].replaceAll("{{.Version}}",r[4]),$$slots:{default:[fr]},$$scope:{ctx:r}}}),{c(){V(e.$$.fragment)},l(s){Q(e.$$.fragment,s)},m(s,n){Y(e,s,n),t=!0},p(s,n){const o={};n&3&&(o.to=s[1].replaceAll("{{.Version}}",s[4])),n&129&&(o.$$scope={dirty:n,ctx:s}),e.$set(o)},i(s){t||(N(e.$$.fragment,s),t=!0)},o(s){P(e.$$.fragment,s),t=!1},d(s){G(e,s)}}}function fr(r){let e=r[2](r[4])+"",t;return{c(){t=y(e)},l(s){t=v(s,e)},m(s,n){H(s,t,n)},p(s,n){n&1&&e!==(e=s[2](s[4])+"")&&U(t,e)},d(s){s&&c(t)}}}function bs(r){let e=r[3]+"",t,s,n,o,l,i,u;const p=[ur,ir],_=[];function T(C,d){return C[1]?0:1}return o=T(r),l=_[o]=p[o](r),{c(){t=y(e),s=y("@"),n=g("span"),l.c(),i=w(),this.h()},l(C){t=v(C,e),s=v(C,"@"),n=$(C,"SPAN",{class:!0});var d=k(n);l.l(d),i=S(d),d.forEach(c),this.h()},h(){m(n,"class","font-mono")},m(C,d){H(C,t,d),H(C,s,d),H(C,n,d),_[o].m(n,null),a(n,i),u=!0},p(C,d){(!u||d&1)&&e!==(e=C[3]+"")&&U(t,e);let b=o;o=T(C),o===b?_[o].p(C,d):(nt(),P(_[b],1,1,()=>{_[b]=null}),lt(),l=_[o],l?l.p(C,d):(l=_[o]=p[o](C),l.c()),N(l,1),l.m(n,i))},i(C){u||(N(l),u=!0)},o(C){P(l),u=!1},d(C){C&&(c(t),c(s),c(n)),_[o].d()}}}function cr(r){let e,t,s=dt(r[0]),n=[];for(let l=0;l<s.length;l+=1)n[l]=bs($s(r,s,l));const o=l=>P(n[l],1,1,()=>{n[l]=null});return{c(){for(let l=0;l<n.length;l+=1)n[l].c();e=ps()},l(l){for(let i=0;i<n.length;i+=1)n[i].l(l);e=ps()},m(l,i){for(let u=0;u<n.length;u+=1)n[u]&&n[u].m(l,i);H(l,e,i),t=!0},p(l,[i]){if(i&7){s=dt(l[0]);let u;for(u=0;u<s.length;u+=1){const p=$s(l,s,u);n[u]?(n[u].p(p,i),N(n[u],1)):(n[u]=bs(p),n[u].c(),N(n[u],1),n[u].m(e.parentNode,e))}for(nt(),u=s.length;u<n.length;u+=1)o(u);lt()}},i(l){if(!t){for(let i=0;i<s.length;i+=1)N(n[i]);t=!0}},o(l){n=n.filter(Boolean);for(let i=0;i<n.length;i+=1)P(n[i]);t=!1},d(l){l&&c(e),Cs(n,l)}}}function _r(r,e,t){let{branches:s}=e,{commitUrlTemplate:n}=e;const o=l=>/^[a-z0-9]{40}$/.test(l)?l.slice(0,8):l;return r.$$set=l=>{"branches"in l&&t(0,s=l.branches),"commitUrlTemplate"in l&&t(1,n=l.commitUrlTemplate)},[s,n,o]}class pr extends Ae{constructor(e){super(),Le(this,e,_r,cr,qe,{branches:0,commitUrlTemplate:1})}}function hr(r){let e;const t=r[2].default,s=Vt(t,r,r[3],null);return{c(){s&&s.c()},l(n){s&&s.l(n)},m(n,o){s&&s.m(n,o),e=!0},p(n,o){s&&s.p&&(!e||o&8)&&Qt(s,t,n,n[3],e?Gt(t,n[3],o,null):Yt(n[3]),null)},i(n){e||(N(s,n),e=!0)},o(n){P(s,n),e=!1},d(n){s&&s.d(n)}}}function dr(r){let e,t;const s=[{name:"chevron-up"},r[1],{iconNode:r[0]}];let n={$$slots:{default:[hr]},$$scope:{ctx:r}};for(let o=0;o<s.length;o+=1)n=xe(n,s[o]);return e=new Bs({props:n}),{c(){V(e.$$.fragment)},l(o){Q(e.$$.fragment,o)},m(o,l){Y(e,o,l),t=!0},p(o,[l]){const i=l&3?Es(s,[s[0],l&2&&ws(o[1]),l&1&&{iconNode:o[0]}]):{};l&8&&(i.$$scope={dirty:l,ctx:o}),e.$set(i)},i(o){t||(N(e.$$.fragment,o),t=!0)},o(o){P(e.$$.fragment,o),t=!1},d(o){G(e,o)}}}function mr(r,e,t){let{$$slots:s={},$$scope:n}=e;const o=[["path",{d:"m18 15-6-6-6 6"}]];return r.$$set=l=>{t(1,e=xe(xe({},e),ht(l))),"$$scope"in l&&t(3,n=l.$$scope)},e=ht(e),[o,e,s,n]}class gr extends Ae{constructor(e){super(),Le(this,e,mr,dr,qe,{})}}function $r(r){let e;const t=r[2].default,s=Vt(t,r,r[3],null);return{c(){s&&s.c()},l(n){s&&s.l(n)},m(n,o){s&&s.m(n,o),e=!0},p(n,o){s&&s.p&&(!e||o&8)&&Qt(s,t,n,n[3],e?Gt(t,n[3],o,null):Yt(n[3]),null)},i(n){e||(N(s,n),e=!0)},o(n){P(s,n),e=!1},d(n){s&&s.d(n)}}}function br(r){let e,t;const s=[{name:"chevron-down"},r[1],{iconNode:r[0]}];let n={$$slots:{default:[$r]},$$scope:{ctx:r}};for(let o=0;o<s.length;o+=1)n=xe(n,s[o]);return e=new Bs({props:n}),{c(){V(e.$$.fragment)},l(o){Q(e.$$.fragment,o)},m(o,l){Y(e,o,l),t=!0},p(o,[l]){const i=l&3?Es(s,[s[0],l&2&&ws(o[1]),l&1&&{iconNode:o[0]}]):{};l&8&&(i.$$scope={dirty:l,ctx:o}),e.$set(i)},i(o){t||(N(e.$$.fragment,o),t=!0)},o(o){P(e.$$.fragment,o),t=!1},d(o){G(e,o)}}}function yr(r,e,t){let{$$slots:s={},$$scope:n}=e;const o=[["path",{d:"m6 9 6 6 6-6"}]];return r.$$set=l=>{t(1,e=xe(xe({},e),ht(l))),"$$scope"in l&&t(3,n=l.$$scope)},e=ht(e),[o,e,s,n]}class vr extends Ae{constructor(e){super(),Le(this,e,yr,br,qe,{})}}const Br=(r,e)=>r?.prop===e.prop?r.direction==="ascending"?{...e,direction:"descending"}:null:{...e,direction:"ascending"},kr=({prop:r,kind:e,direction:t})=>{if(e==="number"&&t==="ascending")return({[r]:s},{[r]:n})=>s-n;if(e==="number"&&t==="descending")return({[r]:s},{[r]:n})=>n-s;if(e==="string"&&t==="ascending")return({[r]:s},{[r]:n})=>s<n?-1:s>n?1:0;if(e==="string"&&t==="descending")return({[r]:s},{[r]:n})=>n<s?-1:n>s?1:0};function Tr(r){let e,t;return e=new vr({props:{class:"flex-none",size:16}}),{c(){V(e.$$.fragment)},l(s){Q(e.$$.fragment,s)},m(s,n){Y(e,s,n),t=!0},i(s){t||(N(e.$$.fragment,s),t=!0)},o(s){P(e.$$.fragment,s),t=!1},d(s){G(e,s)}}}function Cr(r){let e,t;return e=new gr({props:{class:"flex-none",size:16}}),{c(){V(e.$$.fragment)},l(s){Q(e.$$.fragment,s)},m(s,n){Y(e,s,n),t=!0},i(s){t||(N(e.$$.fragment,s),t=!0)},o(s){P(e.$$.fragment,s),t=!1},d(s){G(e,s)}}}function Er(r){let e;return{c(){e=g("div"),this.h()},l(t){e=$(t,"DIV",{class:!0}),k(e).forEach(c),this.h()},h(){m(e,"class","flex-none w-4 h-4")},m(t,s){H(t,e,s)},i:je,o:je,d(t){t&&c(e)}}}function wr(r){let e,t,s,n,o,l,i,u;const p=[Er,Cr,Tr],_=[];function T(b,M){return b[0]===null||b[0].prop!==b[1].prop?0:b[0].direction==="ascending"?1:2}t=T(r),s=_[t]=p[t](r);const C=r[3].default,d=Vt(C,r,r[2],null);return{c(){e=g("button"),s.c(),n=w(),o=g("span"),d&&d.c(),this.h()},l(b){e=$(b,"BUTTON",{class:!0});var M=k(e);s.l(M),n=S(M),o=$(M,"SPAN",{});var q=k(o);d&&d.l(q),q.forEach(c),M.forEach(c),this.h()},h(){m(e,"class","w-full h-full flex justify-center items-center hover:bg-slate-200")},m(b,M){H(b,e,M),_[t].m(e,null),a(e,n),a(e,o),d&&d.m(o,null),l=!0,i||(u=pt(e,"click",r[4]),i=!0)},p(b,[M]){let q=t;t=T(b),t!==q&&(nt(),P(_[q],1,1,()=>{_[q]=null}),lt(),s=_[t],s||(s=_[t]=p[t](b),s.c()),N(s,1),s.m(e,n)),d&&d.p&&(!l||M&4)&&Qt(d,C,b,b[2],l?Gt(C,b[2],M,null):Yt(b[2]),null)},i(b){l||(N(s),N(d,b),l=!0)},o(b){P(s),P(d,b),l=!1},d(b){b&&c(e),_[t].d(),d&&d.d(b),i=!1,u()}}}function Sr(r,e,t){let{$$slots:s={},$$scope:n}=e,{sortColumn:o}=e,{sortBy:l}=e;const i=()=>{t(0,l=Br(l,o))};return r.$$set=u=>{"sortColumn"in u&&t(1,o=u.sortColumn),"sortBy"in u&&t(0,l=u.sortBy),"$$scope"in u&&t(2,n=u.$$scope)},[l,o,n,s,i]}class ze extends Ae{constructor(e){super(),Le(this,e,Sr,wr,qe,{sortColumn:1,sortBy:0})}}function ys(r,e,t){const s=r.slice();return s[14]=e[t].name,s[15]=e[t].url,s[16]=e[t].branches,s[17]=e[t].commitUrlTemplate,s[18]=e[t].shardCount,s[19]=e[t].fileCount,s[20]=e[t].indexBytes,s[21]=e[t].contentBytes,s[22]=e[t].lastIndexed,s[23]=e[t].lastCommit,s}function Ir(r){let e;return{c(){e=y("shard files")},l(t){e=v(t,"shard files")},m(t,s){H(t,e,s)},d(t){t&&c(e)}}}function Nr(r){let e,t="Repository";return{c(){e=g("div"),e.textContent=t},l(s){e=$(s,"DIV",{"data-svelte-h":!0}),Ft(e)!=="svelte-1kv5i5g"&&(e.textContent=t)},m(s,n){H(s,e,n)},p:je,d(s){s&&c(e)}}}function Pr(r){let e;return{c(){e=y("Shard count")},l(t){e=v(t,"Shard count")},m(t,s){H(t,e,s)},d(t){t&&c(e)}}}function qr(r){let e;return{c(){e=y("Contained files")},l(t){e=v(t,"Contained files")},m(t,s){H(t,e,s)},d(t){t&&c(e)}}}function Ar(r){let e;return{c(){e=y("Index size in RAM")},l(t){e=v(t,"Index size in RAM")},m(t,s){H(t,e,s)},d(t){t&&c(e)}}}function Lr(r){let e;return{c(){e=y("Content size in RAM")},l(t){e=v(t,"Content size in RAM")},m(t,s){H(t,e,s)},d(t){t&&c(e)}}}function Dr(r){let e;return{c(){e=y("Last indexed")},l(t){e=v(t,"Last indexed")},m(t,s){H(t,e,s)},d(t){t&&c(e)}}}function Or(r){let e;return{c(){e=y("Last commit")},l(t){e=v(t,"Last commit")},m(t,s){H(t,e,s)},d(t){t&&c(e)}}}function vs(r){let e,t,s,n,o,l,i,u,p=r[18]+"",_,T,C,d=r[19]+"",b,M,q,B=Pe(r[20],{space:!1,binary:!0})+"",W,se,z,R=Pe(r[21],{space:!1,binary:!0})+"",ne,re,x,le=r[22]+"",O,fe,J,ae=r[23]+"",ue,L,D;return s=new ar({props:{name:r[14],url:r[15]}}),l=new pr({props:{branches:r[16],commitUrlTemplate:r[17]}}),{c(){e=g("tr"),t=g("td"),V(s.$$.fragment),n=w(),o=g("td"),V(l.$$.fragment),i=w(),u=g("td"),_=y(p),T=w(),C=g("td"),b=y(d),M=w(),q=g("td"),W=y(B),se=w(),z=g("td"),ne=y(R),re=w(),x=g("td"),O=y(le),fe=w(),J=g("td"),ue=y(ae),L=w(),this.h()},l(I){e=$(I,"TR",{class:!0});var E=k(e);t=$(E,"TD",{class:!0});var ee=k(t);Q(s.$$.fragment,ee),ee.forEach(c),n=S(E),o=$(E,"TD",{class:!0});var te=k(o);Q(l.$$.fragment,te),te.forEach(c),i=S(E),u=$(E,"TD",{class:!0});var ce=k(u);_=v(ce,p),ce.forEach(c),T=S(E),C=$(E,"TD",{class:!0});var _e=k(C);b=v(_e,d),_e.forEach(c),M=S(E),q=$(E,"TD",{class:!0});var De=k(q);W=v(De,B),De.forEach(c),se=S(E),z=$(E,"TD",{class:!0});var Fe=k(z);ne=v(Fe,R),Fe.forEach(c),re=S(E),x=$(E,"TD",{class:!0});var ye=k(x);O=v(ye,le),ye.forEach(c),fe=S(E),J=$(E,"TD",{class:!0});var Oe=k(J);ue=v(Oe,ae),Oe.forEach(c),L=S(E),E.forEach(c),this.h()},h(){m(t,"class","p-1 border-x"),m(o,"class","p-1 border-x"),m(u,"class","p-1 border-x text-right"),m(C,"class","p-1 border-x text-right"),m(q,"class","p-1 border-x text-right"),m(z,"class","p-1 border-x text-right"),m(x,"class","p-1 border-x"),m(J,"class","p-1 border-x"),m(e,"class","border")},m(I,E){H(I,e,E),a(e,t),Y(s,t,null),a(e,n),a(e,o),Y(l,o,null),a(e,i),a(e,u),a(u,_),a(e,T),a(e,C),a(C,b),a(e,M),a(e,q),a(q,W),a(e,se),a(e,z),a(z,ne),a(e,re),a(e,x),a(x,O),a(e,fe),a(e,J),a(J,ue),a(e,L),D=!0},p(I,E){const ee={};E&4&&(ee.name=I[14]),E&4&&(ee.url=I[15]),s.$set(ee);const te={};E&4&&(te.branches=I[16]),E&4&&(te.commitUrlTemplate=I[17]),l.$set(te),(!D||E&4)&&p!==(p=I[18]+"")&&U(_,p),(!D||E&4)&&d!==(d=I[19]+"")&&U(b,d),(!D||E&4)&&B!==(B=Pe(I[20],{space:!1,binary:!0})+"")&&U(W,B),(!D||E&4)&&R!==(R=Pe(I[21],{space:!1,binary:!0})+"")&&U(ne,R),(!D||E&4)&&le!==(le=I[22]+"")&&U(O,le),(!D||E&4)&&ae!==(ae=I[23]+"")&&U(ue,ae)},i(I){D||(N(s.$$.fragment,I),N(l.$$.fragment,I),D=!0)},o(I){P(s.$$.fragment,I),P(l.$$.fragment,I),D=!1},d(I){I&&c(e),G(s),G(l)}}}function Mr(r){let e,t,s,n=r[0].repositories.length+"",o,l,i=r[0].repositories.length===1?"repository":"repositories",u,p,_=r[0].stats.shardCount+"",T,C,d=r[0].stats.shardCount===1?"shard":"shards",b,M,q=r[0].stats.fileCount+"",B,W,se=r[0].stats.fileCount===1?"file":"files",z,R,ne=Pe(r[0].stats.indexBytes+r[0].stats.contentBytes,{space:!1,binary:!0})+"",re,x,le,O,fe,J,ae=r[2].length+"",ue,L,D=r[2].length===1?"repository":"repositories",I,E,ee=r[4].shardCount+"",te,ce,_e=r[4].shardCount===1?"shard":"shards",De,Fe,ye=r[4].fileCount+"",Oe,gt,et=r[4].fileCount===1?"file":"files",ot,$t,tt=Pe(r[4].indexBytes+r[4].contentBytes,{space:!1,binary:!0})+"",at,bt,it,Me,ve,Be,ie,ut,yt,ft,vt,ke,Bt,Te,kt,ct,Tt,_t,Ct,Z,Ve,pe,Et,wt,Re,Kt="Branches",St,Qe,he,It,Nt,Ye,de,Pt,qt,Ge,me,At,Lt,Ze,ge,Dt,Ot,Je,$e,Mt,Rt,Ke,be,Ut,Ht,We,K;Te=new Zt({props:{to:"/about#repository-stats",$$slots:{default:[Ir]},$$scope:{ctx:r}}});function Is(f){r[7](f)}let Wt={sortColumn:{prop:"name",kind:"string"},$$slots:{default:[Nr]},$$scope:{ctx:r}};r[1]!==void 0&&(Wt.sortBy=r[1]),pe=new ze({props:Wt}),Se.push(()=>Ne(pe,"sortBy",Is));function Ns(f){r[8](f)}let Xt={sortColumn:{prop:"shardCount",kind:"number"},$$slots:{default:[Pr]},$$scope:{ctx:r}};r[1]!==void 0&&(Xt.sortBy=r[1]),he=new ze({props:Xt}),Se.push(()=>Ne(he,"sortBy",Ns));function Ps(f){r[9](f)}let xt={sortColumn:{prop:"fileCount",kind:"number"},$$slots:{default:[qr]},$$scope:{ctx:r}};r[1]!==void 0&&(xt.sortBy=r[1]),de=new ze({props:xt}),Se.push(()=>Ne(de,"sortBy",Ps));function qs(f){r[10](f)}let es={sortColumn:{prop:"indexBytes",kind:"number"},$$slots:{default:[Ar]},$$scope:{ctx:r}};r[1]!==void 0&&(es.sortBy=r[1]),me=new ze({props:es}),Se.push(()=>Ne(me,"sortBy",qs));function As(f){r[11](f)}let ts={sortColumn:{prop:"contentBytes",kind:"number"},$$slots:{default:[Lr]},$$scope:{ctx:r}};r[1]!==void 0&&(ts.sortBy=r[1]),ge=new ze({props:ts}),Se.push(()=>Ne(ge,"sortBy",As));function Ls(f){r[12](f)}let ss={sortColumn:{prop:"lastIndexed",kind:"string"},$$slots:{default:[Dr]},$$scope:{ctx:r}};r[1]!==void 0&&(ss.sortBy=r[1]),$e=new ze({props:ss}),Se.push(()=>Ne($e,"sortBy",Ls));function Ds(f){r[13](f)}let rs={sortColumn:{prop:"lastCommit",kind:"string"},$$slots:{default:[Or]},$$scope:{ctx:r}};r[1]!==void 0&&(rs.sortBy=r[1]),be=new ze({props:rs}),Se.push(()=>Ne(be,"sortBy",Ds));let Ue=dt(r[2]),j=[];for(let f=0;f<Ue.length;f+=1)j[f]=vs(ys(r,Ue,f));const Os=f=>P(j[f],1,1,()=>{j[f]=null});return{c(){e=g("h1"),t=g("span"),s=y("zoekt: "),o=y(n),l=w(),u=y(i),p=y(` /
2
2
  `),T=y(_),C=w(),b=y(d),M=y(` /
3
3
  `),B=y(q),W=w(),z=y(se),R=y(` /
4
4
  `),re=y(ne),x=y(" RAM"),le=w(),O=g("span"),fe=y("neogrok: "),J=g("span"),ue=y(ae),L=w(),I=y(D),E=y(`
@@ -12,4 +12,4 @@ import{I as Bs,g as Ms,L as Rs,T as Us}from"../chunks/loading-ellipsis.R0hKKLDn.
12
12
  /
13
13
  `),te=v(X,ee),ce=S(X),De=v(X,_e),Fe=v(X,` /
14
14
  `),Oe=v(X,ye),gt=S(X),ot=v(X,et),$t=v(X,` /
15
- `),at=v(X,tt),bt=v(X," RAM"),X.forEach(c),h.forEach(c),it=S(f),Me=$(f,"DIV",{class:!0});var Xe=k(Me);ve=$(Xe,"TABLE",{class:!0});var Ee=k(ve);Be=$(Ee,"THEAD",{class:!0});var we=k(Be);ie=$(we,"TR",{});var oe=k(ie);ut=$(oe,"TH",{}),k(ut).forEach(c),yt=S(oe),ft=$(oe,"TH",{}),k(ft).forEach(c),vt=S(oe),ke=$(oe,"TH",{class:!0,colspan:!0});var He=k(ke);Bt=v(He,"Index "),Q(Te.$$.fragment,He),He.forEach(c),kt=S(oe),ct=$(oe,"TH",{}),k(ct).forEach(c),Tt=S(oe),_t=$(oe,"TH",{}),k(_t).forEach(c),oe.forEach(c),Ct=S(we),Z=$(we,"TR",{class:!0});var A=k(Z);Ve=$(A,"TH",{class:!0});var st=k(Ve);Q(pe.$$.fragment,st),st.forEach(c),wt=S(A),Re=$(A,"TH",{class:!0,"data-svelte-h":!0}),Gt(Re)!=="svelte-jnqu93"&&(Re.textContent=Kt),St=S(A),Qe=$(A,"TH",{class:!0});var ns=k(Qe);Q(he.$$.fragment,ns),ns.forEach(c),Nt=S(A),Ye=$(A,"TH",{class:!0});var ls=k(Ye);Q(de.$$.fragment,ls),ls.forEach(c),qt=S(A),Ge=$(A,"TH",{class:!0});var os=k(Ge);Q(me.$$.fragment,os),os.forEach(c),Lt=S(A),Ze=$(A,"TH",{class:!0});var as=k(Ze);Q(ge.$$.fragment,as),as.forEach(c),Ot=S(A),Je=$(A,"TH",{class:!0});var is=k(Je);Q($e.$$.fragment,is),is.forEach(c),Rt=S(A),Ke=$(A,"TH",{class:!0});var us=k(Ke);Q(be.$$.fragment,us),us.forEach(c),A.forEach(c),we.forEach(c),Ht=S(Ee),We=$(Ee,"TBODY",{});var fs=k(We);for(let zt=0;zt<j.length;zt+=1)j[zt].l(fs);fs.forEach(c),Ee.forEach(c),Xe.forEach(c),this.h()},h(){hs(J,"text-yellow-700",r[3]),m(O,"class","ml-auto"),m(e,"class","text-xs flex flex-wrap py-1"),m(ke,"class","p-1 border-x"),m(ke,"colspan","4"),m(Ve,"class","p-1"),m(Re,"class","p-1"),m(Qe,"class","p-1 border-l"),m(Ye,"class","p-1"),m(Ge,"class","p-1"),m(Ze,"class","p-1 border-r"),m(Je,"class","p-1"),m(Ke,"class","p-1"),m(Z,"class","h-full"),m(Be,"class","border bg-slate-100"),m(ve,"class","border-collapse text-sm w-full text-center h-fit"),m(Me,"class","overflow-x-auto")},m(f,h){H(f,e,h),a(e,t),a(t,s),a(t,o),a(t,l),a(t,u),a(t,p),a(t,T),a(t,C),a(t,b),a(t,M),a(t,B),a(t,W),a(t,z),a(t,R),a(t,re),a(t,x),a(e,le),a(e,O),a(O,fe),a(O,J),a(J,ue),a(J,L),a(J,I),a(O,E),a(O,te),a(O,ce),a(O,De),a(O,Fe),a(O,Oe),a(O,gt),a(O,ot),a(O,$t),a(O,at),a(O,bt),H(f,it,h),H(f,Me,h),a(Me,ve),a(ve,Be),a(Be,ie),a(ie,ut),a(ie,yt),a(ie,ft),a(ie,vt),a(ie,ke),a(ke,Bt),Y(Te,ke,null),a(ie,kt),a(ie,ct),a(ie,Tt),a(ie,_t),a(Be,Ct),a(Be,Z),a(Z,Ve),Y(pe,Ve,null),a(Z,wt),a(Z,Re),a(Z,St),a(Z,Qe),Y(he,Qe,null),a(Z,Nt),a(Z,Ye),Y(de,Ye,null),a(Z,qt),a(Z,Ge),Y(me,Ge,null),a(Z,Lt),a(Z,Ze),Y(ge,Ze,null),a(Z,Ot),a(Z,Je),Y($e,Je,null),a(Z,Rt),a(Z,Ke),Y(be,Ke,null),a(ve,Ht),a(ve,We);for(let F=0;F<j.length;F+=1)j[F]&&j[F].m(We,null);K=!0},p(f,[h]){(!K||h&1)&&n!==(n=f[0].repositories.length+"")&&U(o,n),(!K||h&1)&&i!==(i=f[0].repositories.length===1?"repository":"repositories")&&U(u,i),(!K||h&1)&&_!==(_=f[0].stats.shardCount+"")&&U(T,_),(!K||h&1)&&d!==(d=f[0].stats.shardCount===1?"shard":"shards")&&U(b,d),(!K||h&1)&&q!==(q=f[0].stats.fileCount+"")&&U(B,q),(!K||h&1)&&se!==(se=f[0].stats.fileCount===1?"file":"files")&&U(z,se),(!K||h&1)&&ne!==(ne=Pe(f[0].stats.indexBytes+f[0].stats.contentBytes,{space:!1,binary:!0})+"")&&U(re,ne),(!K||h&4)&&ae!==(ae=f[2].length+"")&&U(ue,ae),(!K||h&4)&&D!==(D=f[2].length===1?"repository":"repositories")&&U(I,D),(!K||h&8)&&hs(J,"text-yellow-700",f[3]),(!K||h&16)&&ee!==(ee=f[4].shardCount+"")&&U(te,ee),(!K||h&16)&&_e!==(_e=f[4].shardCount===1?"shard":"shards")&&U(De,_e),(!K||h&16)&&ye!==(ye=f[4].fileCount+"")&&U(Oe,ye),(!K||h&16)&&et!==(et=f[4].fileCount===1?"file":"files")&&U(ot,et),(!K||h&16)&&tt!==(tt=Pe(f[4].indexBytes+f[4].contentBytes,{space:!1,binary:!0})+"")&&U(at,tt);const F={};h&67108864&&(F.$$scope={dirty:h,ctx:f}),Te.$set(F);const X={};h&67108864&&(X.$$scope={dirty:h,ctx:f}),!Et&&h&2&&(Et=!0,X.sortBy=f[1],Ie(()=>Et=!1)),pe.$set(X);const Ce={};h&67108864&&(Ce.$$scope={dirty:h,ctx:f}),!It&&h&2&&(It=!0,Ce.sortBy=f[1],Ie(()=>It=!1)),he.$set(Ce);const Xe={};h&67108864&&(Xe.$$scope={dirty:h,ctx:f}),!Pt&&h&2&&(Pt=!0,Xe.sortBy=f[1],Ie(()=>Pt=!1)),de.$set(Xe);const Ee={};h&67108864&&(Ee.$$scope={dirty:h,ctx:f}),!At&&h&2&&(At=!0,Ee.sortBy=f[1],Ie(()=>At=!1)),me.$set(Ee);const we={};h&67108864&&(we.$$scope={dirty:h,ctx:f}),!Dt&&h&2&&(Dt=!0,we.sortBy=f[1],Ie(()=>Dt=!1)),ge.$set(we);const oe={};h&67108864&&(oe.$$scope={dirty:h,ctx:f}),!Mt&&h&2&&(Mt=!0,oe.sortBy=f[1],Ie(()=>Mt=!1)),$e.$set(oe);const He={};if(h&67108864&&(He.$$scope={dirty:h,ctx:f}),!Ut&&h&2&&(Ut=!0,He.sortBy=f[1],Ie(()=>Ut=!1)),be.$set(He),h&4){Ue=dt(f[2]);let A;for(A=0;A<Ue.length;A+=1){const st=ys(f,Ue,A);j[A]?(j[A].p(st,h),N(j[A],1)):(j[A]=vs(st),j[A].c(),N(j[A],1),j[A].m(We,null))}for(nt(),A=Ue.length;A<j.length;A+=1)Os(A);lt()}},i(f){if(!K){N(Te.$$.fragment,f),N(pe.$$.fragment,f),N(he.$$.fragment,f),N(de.$$.fragment,f),N(me.$$.fragment,f),N(ge.$$.fragment,f),N($e.$$.fragment,f),N(be.$$.fragment,f);for(let h=0;h<Ue.length;h+=1)N(j[h]);K=!0}},o(f){P(Te.$$.fragment,f),P(pe.$$.fragment,f),P(he.$$.fragment,f),P(de.$$.fragment,f),P(me.$$.fragment,f),P(ge.$$.fragment,f),P($e.$$.fragment,f),P(be.$$.fragment,f),j=j.filter(Boolean);for(let h=0;h<j.length;h+=1)P(j[h]);K=!1},d(f){f&&(c(e),c(it),c(Me)),G(Te),G(pe),G(he),G(de),G(me),G(ge),G($e),G(be),Cs(j,f)}}}function Rr(r,e,t){let s,n,o,l,i;rt(r,mt,B=>t(6,i=B));let{results:u}=e,p=null;function _(B){p=B,t(1,p)}function T(B){p=B,t(1,p)}function C(B){p=B,t(1,p)}function d(B){p=B,t(1,p)}function b(B){p=B,t(1,p)}function M(B){p=B,t(1,p)}function q(B){p=B,t(1,p)}return r.$$set=B=>{"results"in B&&t(0,u=B.results)},r.$$.update=()=>{r.$$.dirty&3&&t(5,s=p===null?u.repositories:Array.from(u.repositories).sort(kr(p))),r.$$.dirty&96&&t(2,n=s.slice(0,i.repos)),r.$$.dirty&65&&t(3,o=u.repositories.length>i.repos),r.$$.dirty&13&&t(4,l=o?n.reduce((B,W)=>(B.shardCount+=W.shardCount,B.fileCount+=W.fileCount,B.indexBytes+=W.indexBytes,B.contentBytes+=W.contentBytes,B),{shardCount:0,fileCount:0,indexBytes:0,contentBytes:0}):u.stats)},[u,p,n,o,l,s,i,_,T,C,d,b,M,q]}class Ur extends Ae{constructor(e){super(),Le(this,e,Rr,Mr,qe,{results:0})}}function Hr(r){let e,t,s,n,o,l;return document.title=e=(r[2].query?`${r[2].query} - `:"")+"neogrok/repositories",s=new lr({props:{queryError:r[0].listOutcome.kind==="error"?r[0].listOutcome.error:null}}),o=new Ur({props:{results:r[0].listOutcome.kind==="success"?r[0].listOutcome.results:r[1]??{repositories:[],stats:{shardCount:0,fileCount:0,contentBytes:0,indexBytes:0}}}}),{c(){t=w(),V(s.$$.fragment),n=w(),V(o.$$.fragment)},l(i){Vs("svelte-1isq039",document.head).forEach(c),t=S(i),Q(s.$$.fragment,i),n=S(i),Q(o.$$.fragment,i)},m(i,u){H(i,t,u),Y(s,i,u),H(i,n,u),Y(o,i,u),l=!0},p(i,[u]){(!l||u&4)&&e!==(e=(i[2].query?`${i[2].query} - `:"")+"neogrok/repositories")&&(document.title=e);const p={};u&1&&(p.queryError=i[0].listOutcome.kind==="error"?i[0].listOutcome.error:null),s.$set(p);const _={};u&3&&(_.results=i[0].listOutcome.kind==="success"?i[0].listOutcome.results:i[1]??{repositories:[],stats:{shardCount:0,fileCount:0,contentBytes:0,indexBytes:0}}),o.$set(_)},i(i){l||(N(s.$$.fragment,i),N(o.$$.fragment,i),l=!0)},o(i){P(s.$$.fragment,i),P(o.$$.fragment,i),l=!1},d(i){i&&(c(t),c(n)),G(s,i),G(o,i)}}}function zr(r,e,t){let s;rt(r,mt,l=>t(2,s=l));let{data:n}=e,o=null;return r.$$set=l=>{"data"in l&&t(0,n=l.data)},r.$$.update=()=>{r.$$.dirty&1&&n.listOutcome.kind==="success"&&t(1,o=n.listOutcome.results)},[n,o,s]}class xr extends Ae{constructor(e){super(),Le(this,e,zr,Hr,qe,{data:0})}}export{xr as component,Xr as universal};
15
+ `),at=v(X,tt),bt=v(X," RAM"),X.forEach(c),h.forEach(c),it=S(f),Me=$(f,"DIV",{class:!0});var Xe=k(Me);ve=$(Xe,"TABLE",{class:!0});var Ee=k(ve);Be=$(Ee,"THEAD",{class:!0});var we=k(Be);ie=$(we,"TR",{});var oe=k(ie);ut=$(oe,"TH",{}),k(ut).forEach(c),yt=S(oe),ft=$(oe,"TH",{}),k(ft).forEach(c),vt=S(oe),ke=$(oe,"TH",{class:!0,colspan:!0});var He=k(ke);Bt=v(He,"Index "),Q(Te.$$.fragment,He),He.forEach(c),kt=S(oe),ct=$(oe,"TH",{}),k(ct).forEach(c),Tt=S(oe),_t=$(oe,"TH",{}),k(_t).forEach(c),oe.forEach(c),Ct=S(we),Z=$(we,"TR",{class:!0});var A=k(Z);Ve=$(A,"TH",{class:!0});var st=k(Ve);Q(pe.$$.fragment,st),st.forEach(c),wt=S(A),Re=$(A,"TH",{class:!0,"data-svelte-h":!0}),Ft(Re)!=="svelte-jnqu93"&&(Re.textContent=Kt),St=S(A),Qe=$(A,"TH",{class:!0});var ns=k(Qe);Q(he.$$.fragment,ns),ns.forEach(c),Nt=S(A),Ye=$(A,"TH",{class:!0});var ls=k(Ye);Q(de.$$.fragment,ls),ls.forEach(c),qt=S(A),Ge=$(A,"TH",{class:!0});var os=k(Ge);Q(me.$$.fragment,os),os.forEach(c),Lt=S(A),Ze=$(A,"TH",{class:!0});var as=k(Ze);Q(ge.$$.fragment,as),as.forEach(c),Ot=S(A),Je=$(A,"TH",{class:!0});var is=k(Je);Q($e.$$.fragment,is),is.forEach(c),Rt=S(A),Ke=$(A,"TH",{class:!0});var us=k(Ke);Q(be.$$.fragment,us),us.forEach(c),A.forEach(c),we.forEach(c),Ht=S(Ee),We=$(Ee,"TBODY",{});var fs=k(We);for(let zt=0;zt<j.length;zt+=1)j[zt].l(fs);fs.forEach(c),Ee.forEach(c),Xe.forEach(c),this.h()},h(){hs(J,"text-yellow-700",r[3]),m(O,"class","ml-auto"),m(e,"class","text-xs flex flex-wrap py-1"),m(ke,"class","p-1 border-x"),m(ke,"colspan","4"),m(Ve,"class","p-1"),m(Re,"class","p-1"),m(Qe,"class","p-1 border-l"),m(Ye,"class","p-1"),m(Ge,"class","p-1"),m(Ze,"class","p-1 border-r"),m(Je,"class","p-1"),m(Ke,"class","p-1"),m(Z,"class","h-full"),m(Be,"class","border bg-slate-100"),m(ve,"class","border-collapse text-sm w-full text-center h-fit"),m(Me,"class","overflow-x-auto")},m(f,h){H(f,e,h),a(e,t),a(t,s),a(t,o),a(t,l),a(t,u),a(t,p),a(t,T),a(t,C),a(t,b),a(t,M),a(t,B),a(t,W),a(t,z),a(t,R),a(t,re),a(t,x),a(e,le),a(e,O),a(O,fe),a(O,J),a(J,ue),a(J,L),a(J,I),a(O,E),a(O,te),a(O,ce),a(O,De),a(O,Fe),a(O,Oe),a(O,gt),a(O,ot),a(O,$t),a(O,at),a(O,bt),H(f,it,h),H(f,Me,h),a(Me,ve),a(ve,Be),a(Be,ie),a(ie,ut),a(ie,yt),a(ie,ft),a(ie,vt),a(ie,ke),a(ke,Bt),Y(Te,ke,null),a(ie,kt),a(ie,ct),a(ie,Tt),a(ie,_t),a(Be,Ct),a(Be,Z),a(Z,Ve),Y(pe,Ve,null),a(Z,wt),a(Z,Re),a(Z,St),a(Z,Qe),Y(he,Qe,null),a(Z,Nt),a(Z,Ye),Y(de,Ye,null),a(Z,qt),a(Z,Ge),Y(me,Ge,null),a(Z,Lt),a(Z,Ze),Y(ge,Ze,null),a(Z,Ot),a(Z,Je),Y($e,Je,null),a(Z,Rt),a(Z,Ke),Y(be,Ke,null),a(ve,Ht),a(ve,We);for(let F=0;F<j.length;F+=1)j[F]&&j[F].m(We,null);K=!0},p(f,[h]){(!K||h&1)&&n!==(n=f[0].repositories.length+"")&&U(o,n),(!K||h&1)&&i!==(i=f[0].repositories.length===1?"repository":"repositories")&&U(u,i),(!K||h&1)&&_!==(_=f[0].stats.shardCount+"")&&U(T,_),(!K||h&1)&&d!==(d=f[0].stats.shardCount===1?"shard":"shards")&&U(b,d),(!K||h&1)&&q!==(q=f[0].stats.fileCount+"")&&U(B,q),(!K||h&1)&&se!==(se=f[0].stats.fileCount===1?"file":"files")&&U(z,se),(!K||h&1)&&ne!==(ne=Pe(f[0].stats.indexBytes+f[0].stats.contentBytes,{space:!1,binary:!0})+"")&&U(re,ne),(!K||h&4)&&ae!==(ae=f[2].length+"")&&U(ue,ae),(!K||h&4)&&D!==(D=f[2].length===1?"repository":"repositories")&&U(I,D),(!K||h&8)&&hs(J,"text-yellow-700",f[3]),(!K||h&16)&&ee!==(ee=f[4].shardCount+"")&&U(te,ee),(!K||h&16)&&_e!==(_e=f[4].shardCount===1?"shard":"shards")&&U(De,_e),(!K||h&16)&&ye!==(ye=f[4].fileCount+"")&&U(Oe,ye),(!K||h&16)&&et!==(et=f[4].fileCount===1?"file":"files")&&U(ot,et),(!K||h&16)&&tt!==(tt=Pe(f[4].indexBytes+f[4].contentBytes,{space:!1,binary:!0})+"")&&U(at,tt);const F={};h&67108864&&(F.$$scope={dirty:h,ctx:f}),Te.$set(F);const X={};h&67108864&&(X.$$scope={dirty:h,ctx:f}),!Et&&h&2&&(Et=!0,X.sortBy=f[1],Ie(()=>Et=!1)),pe.$set(X);const Ce={};h&67108864&&(Ce.$$scope={dirty:h,ctx:f}),!It&&h&2&&(It=!0,Ce.sortBy=f[1],Ie(()=>It=!1)),he.$set(Ce);const Xe={};h&67108864&&(Xe.$$scope={dirty:h,ctx:f}),!Pt&&h&2&&(Pt=!0,Xe.sortBy=f[1],Ie(()=>Pt=!1)),de.$set(Xe);const Ee={};h&67108864&&(Ee.$$scope={dirty:h,ctx:f}),!At&&h&2&&(At=!0,Ee.sortBy=f[1],Ie(()=>At=!1)),me.$set(Ee);const we={};h&67108864&&(we.$$scope={dirty:h,ctx:f}),!Dt&&h&2&&(Dt=!0,we.sortBy=f[1],Ie(()=>Dt=!1)),ge.$set(we);const oe={};h&67108864&&(oe.$$scope={dirty:h,ctx:f}),!Mt&&h&2&&(Mt=!0,oe.sortBy=f[1],Ie(()=>Mt=!1)),$e.$set(oe);const He={};if(h&67108864&&(He.$$scope={dirty:h,ctx:f}),!Ut&&h&2&&(Ut=!0,He.sortBy=f[1],Ie(()=>Ut=!1)),be.$set(He),h&4){Ue=dt(f[2]);let A;for(A=0;A<Ue.length;A+=1){const st=ys(f,Ue,A);j[A]?(j[A].p(st,h),N(j[A],1)):(j[A]=vs(st),j[A].c(),N(j[A],1),j[A].m(We,null))}for(nt(),A=Ue.length;A<j.length;A+=1)Os(A);lt()}},i(f){if(!K){N(Te.$$.fragment,f),N(pe.$$.fragment,f),N(he.$$.fragment,f),N(de.$$.fragment,f),N(me.$$.fragment,f),N(ge.$$.fragment,f),N($e.$$.fragment,f),N(be.$$.fragment,f);for(let h=0;h<Ue.length;h+=1)N(j[h]);K=!0}},o(f){P(Te.$$.fragment,f),P(pe.$$.fragment,f),P(he.$$.fragment,f),P(de.$$.fragment,f),P(me.$$.fragment,f),P(ge.$$.fragment,f),P($e.$$.fragment,f),P(be.$$.fragment,f),j=j.filter(Boolean);for(let h=0;h<j.length;h+=1)P(j[h]);K=!1},d(f){f&&(c(e),c(it),c(Me)),G(Te),G(pe),G(he),G(de),G(me),G(ge),G($e),G(be),Cs(j,f)}}}function Rr(r,e,t){let s,n,o,l,i;rt(r,mt,B=>t(6,i=B));let{results:u}=e,p=null;function _(B){p=B,t(1,p)}function T(B){p=B,t(1,p)}function C(B){p=B,t(1,p)}function d(B){p=B,t(1,p)}function b(B){p=B,t(1,p)}function M(B){p=B,t(1,p)}function q(B){p=B,t(1,p)}return r.$$set=B=>{"results"in B&&t(0,u=B.results)},r.$$.update=()=>{r.$$.dirty&3&&t(5,s=p===null?u.repositories:Array.from(u.repositories).sort(kr(p))),r.$$.dirty&96&&t(2,n=s.slice(0,i.repos)),r.$$.dirty&65&&t(3,o=u.repositories.length>i.repos),r.$$.dirty&13&&t(4,l=o?n.reduce((B,W)=>(B.shardCount+=W.shardCount,B.fileCount+=W.fileCount,B.indexBytes+=W.indexBytes,B.contentBytes+=W.contentBytes,B),{shardCount:0,fileCount:0,indexBytes:0,contentBytes:0}):u.stats)},[u,p,n,o,l,s,i,_,T,C,d,b,M,q]}class Ur extends Ae{constructor(e){super(),Le(this,e,Rr,Mr,qe,{results:0})}}function Hr(r){let e,t,s,n,o,l;return document.title=e=(r[2].query?`${r[2].query} - `:"")+"neogrok/repositories",s=new Ws({props:{queryError:r[0].listOutcome.kind==="error"?r[0].listOutcome.error:null}}),o=new Ur({props:{results:r[0].listOutcome.kind==="success"?r[0].listOutcome.results:r[1]??{repositories:[],stats:{shardCount:0,fileCount:0,contentBytes:0,indexBytes:0}}}}),{c(){t=w(),V(s.$$.fragment),n=w(),V(o.$$.fragment)},l(i){Vs("svelte-1isq039",document.head).forEach(c),t=S(i),Q(s.$$.fragment,i),n=S(i),Q(o.$$.fragment,i)},m(i,u){H(i,t,u),Y(s,i,u),H(i,n,u),Y(o,i,u),l=!0},p(i,[u]){(!l||u&4)&&e!==(e=(i[2].query?`${i[2].query} - `:"")+"neogrok/repositories")&&(document.title=e);const p={};u&1&&(p.queryError=i[0].listOutcome.kind==="error"?i[0].listOutcome.error:null),s.$set(p);const _={};u&3&&(_.results=i[0].listOutcome.kind==="success"?i[0].listOutcome.results:i[1]??{repositories:[],stats:{shardCount:0,fileCount:0,contentBytes:0,indexBytes:0}}),o.$set(_)},i(i){l||(N(s.$$.fragment,i),N(o.$$.fragment,i),l=!0)},o(i){P(s.$$.fragment,i),P(o.$$.fragment,i),l=!1},d(i){i&&(c(t),c(n)),G(s,i),G(o,i)}}}function zr(r,e,t){let s;rt(r,mt,l=>t(2,s=l));let{data:n}=e,o=null;return r.$$set=l=>{"data"in l&&t(0,n=l.data)},r.$$.update=()=>{r.$$.dirty&1&&n.listOutcome.kind==="success"&&t(1,o=n.listOutcome.results)},[n,o,s]}class xr extends Ae{constructor(e){super(),Le(this,e,zr,Hr,qe,{data:0})}}export{xr as component,Xr as universal};