@inkeep/open-knowledge 0.14.1-beta.8 → 0.15.0-beta.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (51) hide show
  1. package/dist/assets/skills/discovery/SKILL.md +1 -1
  2. package/dist/assets/skills/project/SKILL.md +1 -1
  3. package/dist/cli.mjs +5 -5
  4. package/dist/constants-Bm49QrO_.mjs +2 -0
  5. package/dist/{dist-DVfe95Mj.mjs → dist-B-4HnlH2.mjs} +1 -1
  6. package/dist/{dist-Cp_03Nwz.mjs → dist-B66Z1PnV.mjs} +17 -17
  7. package/dist/{gh-detect-CFkwvbke.mjs → gh-detect-DDDo2rYe.mjs} +2 -2
  8. package/dist/index.mjs +1 -1
  9. package/dist/init-BMZBW6FS.mjs +1 -0
  10. package/dist/{init-BxQYxxKy.mjs → init-D74j33XD.mjs} +4 -4
  11. package/dist/loader-BJRbuUDu.mjs +1 -0
  12. package/dist/{loader-DYZsfOoq.mjs → loader-CsrAhJZR.mjs} +2 -2
  13. package/dist/preview-CW0IyB7p.mjs +1 -0
  14. package/dist/{preview-BETAkrZa.mjs → preview-Cy8oJqs4.mjs} +2 -2
  15. package/dist/public/assets/{ActivityModeContent-Ct2Ie8Uw.js → ActivityModeContent-EQRhbqwT.js} +1 -1
  16. package/dist/public/assets/ConsentDialogBody-B1OWvzyk.js +2 -0
  17. package/dist/public/assets/{DocumentContext-CSuzjbA_.js → DocumentContext-BIuY-2Q4.js} +17 -17
  18. package/dist/public/assets/{GraphPanel--je5keW-.js → GraphPanel-W_dDvQ8g.js} +1 -1
  19. package/dist/public/assets/{OpenInAgentMenuRequestContext-A7DCrMXJ.js → OpenInAgentMenuRequestContext-CLaqAjaQ.js} +1 -1
  20. package/dist/public/assets/SettingsDialogBody-CtkfwZN0.js +7 -0
  21. package/dist/public/assets/{SourceEditor-BuwbdE2L.js → SourceEditor-BhkMman-.js} +1 -1
  22. package/dist/public/assets/{TerminalPanel-D6LgqCx5.js → TerminalPanel-yOVM28DS.js} +1 -1
  23. package/dist/public/assets/{config-validation-events-C0jWGSn7.js → config-validation-events-BMLN6KjW.js} +5 -5
  24. package/dist/public/assets/{dist-xnhTeErX.js → dist-CVCWWNPG.js} +148 -148
  25. package/dist/public/assets/index-D9huVV9f.js +2019 -0
  26. package/dist/public/assets/{keyboard-shortcuts-CfHQi9DZ.js → keyboard-shortcuts-Bg9IdvnR.js} +1 -1
  27. package/dist/public/assets/prop-types-D_SzQj4D.js +11 -0
  28. package/dist/public/assets/{target-navigation-intent-COXec7Je.js → target-navigation-intent-BlGQPTVT.js} +1 -1
  29. package/dist/public/index.html +8 -8
  30. package/dist/{repair-launch-json-D2rUYahl.mjs → repair-launch-json-BZpMMX8W.mjs} +2 -2
  31. package/dist/{repair-mcp-configs-DS7676sC.mjs → repair-mcp-configs--Mwg_mTu.mjs} +2 -2
  32. package/dist/repair-skills-C0cRGhgp.mjs +1 -0
  33. package/dist/{repair-skills-BpMSCAS-.mjs → repair-skills-a1V6fIfH.mjs} +2 -2
  34. package/dist/{server-lock-BpjJj3OD-BBhS9axG.mjs → server-lock-BpjJj3OD-CqSr5wlA.mjs} +2 -2
  35. package/dist/server-lock-CyhBidkz-BxYBJc_v.mjs +1 -0
  36. package/dist/{src-Btk9zhys.mjs → src-Btmg7LtS.mjs} +2 -2
  37. package/dist/start-CKWuzeu6.mjs +1 -0
  38. package/dist/{start-CJYFfVpk.mjs → start-CSXJyLU2.mjs} +2 -2
  39. package/dist/{write-project-skill-C9C1BoIh.mjs → write-project-skill-Cr4YQqxd.mjs} +2 -2
  40. package/package.json +1 -1
  41. package/dist/constants-CRC4y02s.mjs +0 -2
  42. package/dist/init-Z3iF4xWk.mjs +0 -1
  43. package/dist/loader-DgmlXw-6.mjs +0 -1
  44. package/dist/preview-CxA-DOCh.mjs +0 -1
  45. package/dist/public/assets/ConsentDialogBody-CX4rnuTU.js +0 -2
  46. package/dist/public/assets/SettingsDialogBody-CL1MB92k.js +0 -7
  47. package/dist/public/assets/index-IV5XN4N_.js +0 -2019
  48. package/dist/public/assets/prop-types-BtwbmtAc.js +0 -11
  49. package/dist/repair-skills-Ba-YZuKb.mjs +0 -1
  50. package/dist/server-lock-CyhBidkz-DSgrTWgx.mjs +0 -1
  51. package/dist/start-CYWl03cd.mjs +0 -1
@@ -1,11 +0,0 @@
1
- import{o as e,t}from"./chunk-CFjPhJqf.js";import{a as n,o as r,t as i}from"./compiler-runtime-Cs91PcD2.js";import{D as a,cr as o,jn as s,k as c}from"./dist-xnhTeErX.js";import{u as l}from"./button-CNAPefQE.js";var u=l(`circle-check`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`path`,{d:`m9 12 2 2 4-4`,key:`dzmm74`}]]),d=l(`globe`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`path`,{d:`M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20`,key:`13o1zl`}],[`path`,{d:`M2 12h20`,key:`9i4pu4`}]]),ee=l(`triangle-alert`,[[`path`,{d:`m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3`,key:`wmoenq`}],[`path`,{d:`M12 9v4`,key:`juzpu7`}],[`path`,{d:`M12 17h.01`,key:`p32p05`}]]),f=e=>typeof e==`string`,p=e=>typeof e==`function`,m=new Map,h=`en`;function g(e){return[...Array.isArray(e)?e:[e],h]}function _(e,t,n){let r=g(e);n||=`default`;let i;if(typeof n==`string`)switch(i={day:`numeric`,month:`short`,year:`numeric`},n){case`full`:i.weekday=`long`;case`long`:i.month=`long`;break;case`short`:i.month=`numeric`;break}else i=n;return x(()=>S(`date`,r,n),()=>new Intl.DateTimeFormat(r,i)).format(f(t)?new Date(t):t)}function v(e,t,n){let r;if(n||=`default`,typeof n==`string`)switch(r={second:`numeric`,minute:`numeric`,hour:`numeric`},n){case`full`:case`long`:r.timeZoneName=`short`;break;case`short`:delete r.second}else r=n;return _(e,t,r)}function y(e,t,n){let r=g(e);return x(()=>S(`number`,r,n),()=>new Intl.NumberFormat(r,n)).format(t)}function b(e,t,n,{offset:r=0,...i}){let a=g(e),o=t?x(()=>S(`plural-ordinal`,a),()=>new Intl.PluralRules(a,{type:`ordinal`})):x(()=>S(`plural-cardinal`,a),()=>new Intl.PluralRules(a,{type:`cardinal`}));return i[n]??i[o.select(n-r)]??i.other}function x(e,t){let n=e(),r=m.get(n);return r||(r=t(),m.set(n,r)),r}function S(e,t,n){return`${e}-${t.join(`-`)}-${JSON.stringify(n)}`}var C=/\\u[a-fA-F0-9]{4}|\\x[a-fA-F0-9]{2}/,w=e=>e.replace(/\\u([a-fA-F0-9]{4})|\\x([a-fA-F0-9]{2})/g,(e,t,n)=>{if(t){let e=parseInt(t,16);return String.fromCharCode(e)}else{let e=parseInt(n,16);return String.fromCharCode(e)}}),T=`%__lingui_octothorpe__%`,E=(e,t,n={})=>{let r=t||e,i=e=>typeof e==`object`?e:n[e],a=(e,t)=>{let a=y(r,e,Object.keys(n).length?i(`number`):void 0);return t.replace(new RegExp(T,`g`),a)};return{plural:(e,t)=>{let{offset:n=0}=t,i=b(r,!1,e,t);return a(e-n,i)},selectordinal:(e,t)=>{let{offset:n=0}=t,i=b(r,!0,e,t);return a(e-n,i)},select:D,number:(e,t)=>y(r,e,i(t)||{style:t}),date:(e,t)=>_(r,e,i(t)||t),time:(e,t)=>v(r,e,i(t)||t)}},D=(e,t)=>t[e]??t.other;function O(e,t,n){return(r={},i)=>{let a=E(t,n,i),o=(e,t=!1)=>Array.isArray(e)?e.reduce((e,n)=>{if(n===`#`&&t)return e+T;if(f(n))return e+n;let[i,s,c]=n,l={};s===`plural`||s===`selectordinal`||s===`select`?Object.entries(c).forEach(([e,t])=>{l[e]=o(t,s===`plural`||s===`selectordinal`)}):l=c;let u;if(s){let e=a[s];u=e(r[i],l)}else u=r[i];return u==null?e:e+u},``):e,s=o(e);return f(s)&&C.test(s)?w(s):f(s)?s:s?String(s):``}}var te=class{_events={};on(e,t){return this._events[e]??=new Set,this._events[e].add(t),()=>this.removeListener(e,t)}removeListener(e,t){let n=this._events[e];n?.delete(t),n?.size===0&&delete this._events[e]}emit(e,...t){let n=this._events[e];if(n)for(let e of[...n])e.apply(this,t)}},k=class extends te{_locale=``;_locales;_messages={};_missing;_messageCompiler;constructor(e){super(),e.missing!=null&&(this._missing=e.missing),e.messages!=null&&this.load(e.messages),(typeof e.locale==`string`||e.locales)&&this.activate(e.locale??h,e.locales)}get locale(){return this._locale}get locales(){return this._locales}get messages(){return this._messages[this._locale]??{}}setMessagesCompiler(e){return this._messageCompiler=e,this}_load(e,t){let n=this._messages[e];n?Object.assign(n,t):this._messages[e]=t}load(e,t){typeof e==`string`&&typeof t==`object`?this._load(e,t):Object.entries(e).forEach(([e,t])=>this._load(e,t)),this.emit(`change`)}loadAndActivate({locale:e,locales:t,messages:n}){this._locale=e,this._locales=t||void 0,this._messages[this._locale]=n,this.emit(`change`)}activate(e,t){this._locale=e,this._locales=t,this.emit(`change`)}_(e,t,n){if(!this.locale)throw Error(`Lingui: Attempted to call a translation function without setting a locale.
2
- Make sure to call \`i18n.activate(locale)\` before using Lingui functions.
3
- This issue may also occur due to a race condition in your initialization logic.`);let r=n?.message;e||=``,f(e)||(t=e.values||t,r=e.message,e=e.id);let i=this.messages[e],a=i===void 0,o=this._missing;if(o&&a)return p(o)?o(this._locale,e):o;a&&this.emit(`missing`,{id:e,locale:this._locale});let s=i||r||e;return f(s)&&(this._messageCompiler?s=this._messageCompiler(s):console.warn(`Uncompiled message detected! Message:
4
-
5
- > ${s}
6
-
7
- That means you use raw catalog or your catalog doesn't have a translation for the message and fallback was used.
8
- ICU features such as interpolation and plurals will not work properly for that message.
9
-
10
- Please compile your catalog first.
11
- `)),f(s)&&C.test(s)?w(s):f(s)?s:O(s,this._locale,this._locales)(t,n?.formats)}t=this._.bind(this);date(e,t){return _(this._locales||this._locale,e,t)}number(e,t){return y(this._locales||this._locale,e,t)}};function A(e={}){return new k(e)}var j=A();function M(e){if(e.startsWith(B)||!e.startsWith(`#/`))return null;let t=e.slice(2),n=V(t),r=n>=0?t.slice(0,n):t;if(!r)return null;try{return r.split(`/`).map(decodeURIComponent).join(`/`)}catch{return r}}function N(e){if(e.startsWith(B)||!e.startsWith(`#/`))return null;let t=e.slice(2),n=t.indexOf(`#`);if(n<0)return null;let r=t.slice(n+1);if(!r)return null;try{return decodeURIComponent(r)}catch{return r}}function P(e,t){let n=`#/${e}`;return t?`${n}#${encodeURIComponent(t)}`:n}function F(e){if(window.location.hash===e)return;let{pathname:t,search:n}=window.location;window.history.replaceState(null,``,`${t}${n}${e}`)}function I(e){return e.endsWith(`.mdx`)?e.slice(0,-4):e.endsWith(`.md`)?e.slice(0,-3):e}function L(e,t){let n=e.replace(/^\/+|\/+$/g,``),r=n?`#/${n}/`:`#/`;return t?`${r}#${encodeURIComponent(t)}`:r}function R(e,t,n){if(e===`folder`)return L(t);let r=`#/${encodeURIComponent(t)}`;return n==null||n===``?r:`${r}?branch=${encodeURIComponent(n)}`}function z(e){if(e===`#/`)return!0;if(!e.startsWith(`#/`))return!1;let t=e.slice(2);return t.length>0&&t[0]===`?`}var B=`#/__asset__/`;function V(e){let t=e.indexOf(`?`),n=e.indexOf(`#`);return t<0?n:n<0?t:Math.min(t,n)}function H(e){if(!e.startsWith(B))return null;let t=e.slice(12);if(!t)return null;try{return t.split(`/`).map(decodeURIComponent).join(`/`)}catch{return t}}function U(e){return`${B}${e.split(`/`).map(encodeURIComponent).join(`/`)}`}var W=e(n(),1),ne=i();function G(e){if(typeof e!=`object`||!e)return;let t=e;if(typeof t.title==`string`&&t.title.length>0)return t.title}function re(e){return e.kind===`asset`}function ie(e){return e.kind===`document`}function ae(e){return e.kind===`folder`}function oe(e){let t=[],n=0;for(let r of e)switch(r.kind){case`document`:if(r.docName===void 0){n+=1;break}t.push({kind:`document`,docName:r.docName,docExt:r.docExt,size:r.size,modified:r.modified,isSymlink:r.isSymlink,canonicalDocName:r.canonicalDocName,targetPath:r.targetPath});break;case`asset`:if(r.path===void 0||r.assetExt===void 0){n+=1;break}t.push({kind:`asset`,path:r.path,assetExt:r.assetExt,mediaKind:r.mediaKind??null,size:r.size,modified:r.modified,referencedBy:r.referencedBy});break;case`folder`:if(r.path===void 0){n+=1;break}t.push({kind:`folder`,path:r.path,size:r.size,modified:r.modified,hasChildren:r.hasChildren});break;default:r.kind;break}return n>0&&console.warn(`[file-tree-utils] dropped ${n} listing entries missing variant identity fields`),t}function se(e){if(!e)return[];let t=e.split(`/`).filter(Boolean),n=[];for(let e=1;e<t.length;e++)n.push(t.slice(0,e).join(`/`));return n}function ce(e){if(!e)return``;let t=e.lastIndexOf(`/`);return t>0?e.slice(0,t):``}function le(e,t=!1){return e.filter(e=>{let n=e.docName??e.path??``;return n===``?!1:t?!0:!n.split(`/`).some(e=>e.startsWith(`.`))})}var K=null,q=new Set;function J(e,t){if(e===t)return!0;if(e.size!==t.size)return!1;for(let n of e)if(!t.has(n))return!1;return!0}function ue(e,t){return e===null?!1:e===t?!0:J(e.pages,t.pages)&&J(e.folderPaths,t.folderPaths)&&J(e.assetPaths??new Set,t.assetPaths??new Set)&&de(e.pageIcons,t.pageIcons)}function de(e,t){if(e===t)return!0;let n=e?.size??0;if(n!==(t?.size??0))return!1;if(n===0)return!0;for(let[n,r]of e)if(t.get(n)!==r)return!1;return!0}function fe(e,t){let n=new Map;for(let r of e){let e=t(r);e&&!n.has(e)&&n.set(e,r)}return n}function pe(e,t){let n=new Map,r=[...e].sort((e,t)=>e.localeCompare(t));for(let e of r){let r=e.lastIndexOf(`/`),i=t(r===-1?e:e.slice(r+1));i&&!n.has(i)&&n.set(i,e)}return n}function me(e){let t=new Map;for(let[n,r]of e){let e=r.icon;typeof e==`string`&&e.trim()!==``&&t.set(n,e)}return t}function he(){return K}function ge(e){if(!ue(K,e)){K=e;for(let t of Array.from(q))try{t(e)}catch(e){console.error(`[page-list-cache] subscriber threw:`,e)}}}function _e(e){if(q.add(e),K!==null)try{e(K)}catch(e){console.error(`[page-list-cache] subscriber threw on replay:`,e)}return()=>{q.delete(e)}}var Y=`open-knowledge:documents-changed`,ve=new Set(c.options);function ye(e){return e===void 0||!Array.isArray(e)?[`files`]:[...new Set(e.filter(e=>ve.has(e)))]}function be(e=[`files`]){window.dispatchEvent(new CustomEvent(Y,{detail:{channels:ye(e)}}))}function xe(e){let t=t=>{e(ye(t instanceof CustomEvent?t.detail?.channels:void 0))};return window.addEventListener(Y,t),()=>window.removeEventListener(Y,t)}var X=`open-knowledge:branch-changed`;function Se(e){window.dispatchEvent(new CustomEvent(X,{detail:{branch:e}}))}function Ce(e){let t=t=>{if(!(t instanceof CustomEvent))return;let n=t.detail;e(n?.branch??null)};return window.addEventListener(X,t),()=>window.removeEventListener(X,t)}var Z=`open-knowledge:templates-changed`;function we(){window.dispatchEvent(new CustomEvent(Z))}function Te(e){let t=()=>e();return window.addEventListener(Z,t),()=>window.removeEventListener(Z,t)}function Q(e){return e.trim().replace(/^\.\/+/,``).replace(/^\/+/,``).replace(/\.mdx?$/i,``)}function Ee(e){let t=Q(e);return t?`${t}.md`:`untitled.md`}function De(e){let t=Q(e),n=t.lastIndexOf(`/`);return{initialDir:n>0?t.slice(0,n):``,suggestedName:`${n>=0?t.slice(n+1):t||`untitled`}.md`}}function Oe(e){let t=e.trim();return{normalizedTarget:Q(t).replace(/\/+$/g,``),expectsFolder:/\/+$/.test(t)}}function ke(e){let t=new Set;for(let n of e)for(let e of se(n))t.add(e);return t}function Ae(e,t){if(!t)return;let n=o(e);if(n)return t.get(n)}function je(e,t){if(!t||e.includes(`/`))return;let n=o(e);if(n)return t.get(n)}function Me(e,t){let{normalizedTarget:n,expectsFolder:r}=Oe(e);if(!n)return{kind:`missing`,target:n};if(!r&&t.pages.has(n))return{kind:`doc`,target:n,docName:n};if(!r){let e=Ae(n,t.pagesBySlug);if(e)return{kind:`doc`,target:e,docName:e}}let i=`${n}/index`;if(t.pages.has(i))return{kind:`folder-index`,target:n,folderPath:n,docName:i,noteKind:`canonical-index`};let a=n.split(`/`).pop(),o=a?`${n}/${a}`:null;if(o&&t.pages.has(o))return{kind:`folder-index`,target:n,folderPath:n,docName:o,noteKind:`legacy-folder-note`};if(!r){let e=je(n,t.pagesByBasename);if(e)return{kind:`doc`,target:e,docName:e}}return(t.folderPaths??ke(t.pages)).has(n)?{kind:`folder`,target:n,folderPath:n}:{kind:`missing`,target:n}}function Ne(e){return e.kind===`folder-index`?{kind:`folder`,target:e.folderPath,folderPath:e.folderPath}:e}function Pe(e,t,n=a){return typeof t!=`number`||!s(t,n)?null:{kind:`large-file`,target:e,docName:e,size:t,limit:n}}function Fe(e,t,n=a){return e.kind!==`doc`&&e.kind!==`folder-index`?e:Pe(e.docName,t.get(e.docName)?.size,n)??e}function Ie(e){switch(e.kind){case`doc`:case`folder-index`:case`large-file`:return e.docName;case`missing`:return e.target;case`asset`:case`folder`:return null}}var Le=r(),$=(0,W.createContext)(null);function Re(e,t){if(t.size===0)return new Set(e);let n=new Set(e);for(let e of t)n.add(e);return n}function ze(e,t){if(e.size===0)return new Set;let n=new Set;for(let r of e)t.has(r)||n.add(r);return n}function Be(e,t){let n=new Map(e);for(let e of t)n.has(e)||n.set(e,e);return n}async function Ve(){let e=await fetch(`/api/pages`);if(!e.ok){let t=await e.json().catch(()=>null);throw Error(G(t)??`/api/pages responded with ${e.status}`)}let t=await e.json();return Array.isArray(t.pages)?t.pages:[]}async function He(){let e=await fetch(`/api/documents`);if(!e.ok){let t=await e.json().catch(()=>null);throw Error(G(t)??`/api/documents responded with ${e.status}`)}let t=await e.json();return Array.isArray(t.documents)?{assetPaths:t.documents.filter(e=>e.kind===`asset`&&typeof e.path==`string`&&e.path.length>0).map(e=>e.path),folderPaths:t.documents.filter(e=>e.kind===`folder`&&typeof e.path==`string`&&e.path.length>0).map(e=>e.path)}:{assetPaths:[],folderPaths:[]}}function Ue(e){console.error(`[PageListContext] Failed to load pages:`,e)}function We(e){console.warn(`[PageListContext] Failed to load referenced assets:`,e)}function Ge(e){let t=(0,ne.c)(49),{children:n}=e,r;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(r=new Set,t[0]=r):r=t[0];let[i,a]=(0,W.useState)(r),s;t[1]===Symbol.for(`react.memo_cache_sentinel`)?(s=new Map,t[1]=s):s=t[1];let[c,l]=(0,W.useState)(s),u;t[2]===Symbol.for(`react.memo_cache_sentinel`)?(u=new Map,t[2]=u):u=t[2];let[d,ee]=(0,W.useState)(u),f;t[3]===Symbol.for(`react.memo_cache_sentinel`)?(f=new Set,t[3]=f):f=t[3];let[p,m]=(0,W.useState)(f),h;t[4]===Symbol.for(`react.memo_cache_sentinel`)?(h=new Set,t[4]=h):h=t[4];let[g,_]=(0,W.useState)(h),v;t[5]===Symbol.for(`react.memo_cache_sentinel`)?(v=new Set,t[5]=v):v=t[5];let[y,b]=(0,W.useState)(v),[x,S]=(0,W.useState)(!0),[C,w]=(0,W.useState)(null),T=(0,W.useRef)(0),E;t[6]===Symbol.for(`react.memo_cache_sentinel`)?(E=function(){let e=T.current+=1;Promise.all([Ve(),He().catch(Ye)]).then(t=>{let[n,r]=t;if(e!==T.current)return;let i=new Set(n.map(Je));a(i),l(new Map(n.map(qe))),ee(new Map(n.map(Ke))),m(new Set(r.assetPaths)),_(new Set(r.folderPaths)),b(e=>ze(e,i)),w(null)}).catch(t=>{e===T.current&&(Ue(t),w(t instanceof Error?t.message:`Failed to load pages`))}).finally(()=>{e===T.current&&S(!1)})},t[6]=E):E=t[6];let D=E,O;t[7]===Symbol.for(`react.memo_cache_sentinel`)?(O=function(e){b(t=>{if(t.has(e))return t;let n=new Set(t);return n.add(e),n}),w(null)},t[7]=O):O=t[7];let te=O,k,A;t[8]===Symbol.for(`react.memo_cache_sentinel`)?(A=()=>{D();let e=()=>{document.visibilityState===`visible`&&D()};window.addEventListener(`focus`,e),window.addEventListener(`visibilitychange`,e);let t=xe(e=>{e.includes(`files`)&&D()});return()=>{window.removeEventListener(`focus`,e),window.removeEventListener(`visibilitychange`,e),t()}},k=[],t[8]=k,t[9]=A):(k=t[8],A=t[9]),(0,W.useEffect)(A,k);let j,M,N,P,F,I,L;if(t[10]!==y||t[11]!==p||t[12]!==g||t[13]!==d||t[14]!==c||t[15]!==i){F=Re(i,y);let e;t[23]!==y||t[24]!==c?(e=Be(c,y),t[23]=y,t[24]=c,t[25]=e):e=t[25],P=e,N=d,j=p,M=new Set([...ke(F),...g]),I=fe(F,o),L=pe(F,o),t[10]=y,t[11]=p,t[12]=g,t[13]=d,t[14]=c,t[15]=i,t[16]=j,t[17]=M,t[18]=N,t[19]=P,t[20]=F,t[21]=I,t[22]=L}else j=t[16],M=t[17],N=t[18],P=t[19],F=t[20],I=t[21],L=t[22];let R=L,z;t[26]===d?z=t[27]:(z=me(d),t[26]=d,t[27]=z);let B=z,V,H;t[28]!==j||t[29]!==M||t[30]!==B||t[31]!==F||t[32]!==R||t[33]!==I?(V=()=>{ge({pages:F,folderPaths:M,pagesBySlug:I,pagesByBasename:R,assetPaths:j,pageIcons:B})},H=[F,M,I,R,j,B],t[28]=j,t[29]=M,t[30]=B,t[31]=F,t[32]=R,t[33]=I,t[34]=V,t[35]=H):(V=t[34],H=t[35]),(0,W.useEffect)(V,H);let U;t[36]!==j||t[37]!==C||t[38]!==M||t[39]!==x||t[40]!==N||t[41]!==P||t[42]!==F||t[43]!==R||t[44]!==I?(U={pages:F,pagesBySlug:I,pagesByBasename:R,pageTitles:P,pageMeta:N,folderPaths:M,assetPaths:j,loading:x,error:C,refetch:D,addPage:te},t[36]=j,t[37]=C,t[38]=M,t[39]=x,t[40]=N,t[41]=P,t[42]=F,t[43]=R,t[44]=I,t[45]=U):U=t[45];let G;return t[46]!==n||t[47]!==U?(G=(0,Le.jsx)($,{value:U,children:n}),t[46]=n,t[47]=U,t[48]=G):G=t[48],G}function Ke(e){return[e.docName,{size:e.size,modified:e.modified,docExt:e.docExt,icon:e.icon}]}function qe(e){return[e.docName,e.title]}function Je(e){return e.docName}function Ye(e){return We(e),{assetPaths:[],folderPaths:[]}}function Xe(){let e=(0,W.use)($);if(!e)throw Error(`usePageList must be used within <PageListProvider />`);return e}function Ze(){return(0,W.use)($)}var Qe=t(((e,t)=>{t.exports=`SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED`})),$e=t(((e,t)=>{var n=Qe();function r(){}function i(){}i.resetWarningCache=r,t.exports=function(){function e(e,t,r,i,a,o){if(o!==n){var s=Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name=`Invariant Violation`,s}}e.isRequired=e;function t(){return e}var a={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:r};return a.PropTypes=a,a}})),et=t(((e,t)=>{t.exports=$e()()}));export{M as A,d as B,re as C,G as D,oe as E,L as F,z as I,F as L,I as M,U as N,N as O,P,j as R,le as S,ae as T,u as V,xe as _,Ie as a,_e as b,Me as c,Ee as d,Q as f,Ce as g,we as h,Xe as i,R as j,H as k,Fe as l,be as m,Ge as n,Ne as o,Se as p,Ze as r,Pe as s,et as t,De as u,Te as v,ie as w,ce as x,he as y,ee as z};
@@ -1 +0,0 @@
1
- import{t as e}from"./repair-skills-BpMSCAS-.mjs";export{e as repairSkills};
@@ -1 +0,0 @@
1
- import{g as e}from"./server-lock-BpjJj3OD-BBhS9axG.mjs";export{e as updateServerLockPort};
@@ -1 +0,0 @@
1
- import{_ as e,f as t,r as n}from"./start-CJYFfVpk.mjs";export{n as bootStartServer,t as resolveHost,e as startCommand};