Initial commit: New MoreminiMore website with fresh design

This commit is contained in:
MoreminiMore
2026-04-22 01:59:05 +07:00
commit 76409638cc
14010 changed files with 2052041 additions and 0 deletions

View File

@@ -0,0 +1,2 @@
export declare const commonAncestorPath: (...paths: (string | null)[]) => string | null;
//# sourceMappingURL=index.d.ts.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAkBA,eAAO,MAAM,kBAAkB,GAAI,GAAG,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC,EAAE,kBAC3C,CAAA"}

16
node_modules/common-ancestor-path/dist/esm/index.js generated vendored Normal file
View File

@@ -0,0 +1,16 @@
import { parse, sep, normalize as norm } from 'node:path';
function* commonArrayMembers(a, b) {
const [l, s] = a.length > b.length ? [a, b] : [b, a];
for (const x of s) {
if (x === l.shift())
yield x;
else
break;
}
}
const cap = (a, b) => a === b ? a
: !a || !b ? null
: parse(a).root !== parse(b).root ? null
: [...commonArrayMembers(norm(a).split(sep), norm(b).split(sep))].join(sep);
export const commonAncestorPath = (...paths) => paths.reduce(cap);
//# sourceMappingURL=index.js.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,GAAG,EAAE,SAAS,IAAI,IAAI,EAAE,MAAM,WAAW,CAAA;AAEzD,QAAQ,CAAC,CAAC,kBAAkB,CAAC,CAAW,EAAE,CAAW;IACnD,MAAM,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,MAAM,GAAG,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAA;IACpD,KAAK,MAAM,CAAC,IAAI,CAAC,EAAE,CAAC;QAClB,IAAI,CAAC,KAAK,CAAC,CAAC,KAAK,EAAE;YAAE,MAAM,CAAC,CAAA;;YACvB,MAAK;IACZ,CAAC;AACH,CAAC;AAED,MAAM,GAAG,GAAG,CAAC,CAAgB,EAAE,CAAgB,EAAE,EAAE,CACjD,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC;IACX,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI;QACjB,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,IAAI,KAAK,KAAK,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI;YACxC,CAAC,CAAC,CAAC,GAAG,kBAAkB,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,EAAE,IAAI,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,IAAI,CAClE,GAAG,CACJ,CAAA;AAEL,MAAM,CAAC,MAAM,kBAAkB,GAAG,CAAC,GAAG,KAAwB,EAAE,EAAE,CAChE,KAAK,CAAC,MAAM,CAAC,GAAG,CAAC,CAAA","sourcesContent":["import { parse, sep, normalize as norm } from 'node:path'\n\nfunction* commonArrayMembers(a: string[], b: string[]) {\n const [l, s] = a.length > b.length ? [a, b] : [b, a]\n for (const x of s) {\n if (x === l.shift()) yield x\n else break\n }\n}\n\nconst cap = (a: string | null, b: string | null) =>\n a === b ? a\n : !a || !b ? null\n : parse(a).root !== parse(b).root ? null\n : [...commonArrayMembers(norm(a).split(sep), norm(b).split(sep))].join(\n sep,\n )\n\nexport const commonAncestorPath = (...paths: (string | null)[]) =>\n paths.reduce(cap)\n"]}

View File

@@ -0,0 +1,3 @@
{
"type": "module"
}