Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});let e=require(`node:path`),t=require(`node:fs`),n=require(`node:fs/promises`),r=require(`node:url`),i=require(`@intlayer/config/utils`);const a=typeof __dirname<`u`?__dirname:(0,e.dirname)((0,r.fileURLToPath)(require(`url`).pathToFileURL(__filename).href));let o;try{o=(0,i.getPackageJsonPath)((0,i.getProjectRequire)(a).resolve(`@intlayer/docs`)).baseDir}catch{try{o=(0,i.getPackageJsonPath)((0,i.getProjectRequire)().resolve(`@intlayer/docs`)).baseDir}catch{o=(0,i.getPackageJsonPath)(a).baseDir}}const s=(r,i)=>{let a=(0,e.join)(o,`./legal/${i}/${r}`);if((0,t.existsSync)(a))return(0,n.readFile)(a,`utf8`);let s=(0,e.join)(o,`./legal/en/${r}`);return(0,t.existsSync)(s)?(0,n.readFile)(s,`utf8`):Promise.reject(Error(`[docs] File not found: ${r} - locale: ${i} - path: ${a} - path: ${s}`))},c={"./legal/en/privacy_notice.md":{en:s(`privacy_notice.md`,`en`),ru:s(`privacy_notice.md`,`ru`),ja:s(`privacy_notice.md`,`ja`),fr:s(`privacy_notice.md`,`fr`),ko:s(`privacy_notice.md`,`ko`),zh:s(`privacy_notice.md`,`zh`),es:s(`privacy_notice.md`,`es`),de:s(`privacy_notice.md`,`de`),ar:s(`privacy_notice.md`,`ar`),it:s(`privacy_notice.md`,`it`),"en-GB":s(`privacy_notice.md`,`en-GB`),pt:s(`privacy_notice.md`,`pt`),hi:s(`privacy_notice.md`,`hi`),tr:s(`privacy_notice.md`,`tr`),pl:s(`privacy_notice.md`,`pl`),id:s(`privacy_notice.md`,`id`),vi:s(`privacy_notice.md`,`vi`),uk:s(`privacy_notice.md`,`uk`)},"./legal/en/terms_of_service.md":{en:s(`terms_of_service.md`,`en`),ru:s(`terms_of_service.md`,`ru`),ja:s(`terms_of_service.md`,`ja`),fr:s(`terms_of_service.md`,`fr`),ko:s(`terms_of_service.md`,`ko`),zh:s(`terms_of_service.md`,`zh`),es:s(`terms_of_service.md`,`es`),de:s(`terms_of_service.md`,`de`),ar:s(`terms_of_service.md`,`ar`),it:s(`terms_of_service.md`,`it`),"en-GB":s(`terms_of_service.md`,`en-GB`),pt:s(`terms_of_service.md`,`pt`),hi:s(`terms_of_service.md`,`hi`),tr:s(`terms_of_service.md`,`tr`),pl:s(`terms_of_service.md`,`pl`),id:s(`terms_of_service.md`,`id`),vi:s(`terms_of_service.md`,`vi`),uk:s(`terms_of_service.md`,`uk`)}};exports.legalEntry=c;
//# sourceMappingURL=legal.entry.cjs.map