'use strict';
var __defProp=Object['defineProperty'],__name=(_0x1a534a,_0x5cc1f9)=>__defProp(_0x1a534a,'name',{'value':_0x5cc1f9,'configurable':!![]});function buildDuplicatesMap(_0x88f616,_0x2fc956){const _0x27ef2d=new Map();for(const _0xbae710 of _0x88f616){const _0x4bf183=_0x2fc956(_0xbae710['original']),_0x544c88={..._0xbae710,'normalized':_0x4bf183};!_0x27ef2d['has'](_0x4bf183)&&_0x27ef2d['set'](_0x4bf183,[]);const _0x1f563d=_0x27ef2d['get'](_0x4bf183);_0x1f563d?_0x1f563d['push'](_0x544c88):_0x27ef2d['set'](_0x4bf183,[_0x544c88]);}return _0x27ef2d;}__name(buildDuplicatesMap,'buildDuplicatesMap');async function analyzeCodebase(_0x186d30){const _0x47ea57=await _0x186d30['glob']([..._0x186d30['includePatterns']],{'cwd':process['cwd'](),'absolute':!![],'ignore':[..._0x186d30['excludePatterns']]}),_0x1337b2=[..._0x47ea57]['toSorted']((_0x37d990,_0x176c23)=>_0x37d990['localeCompare'](_0x176c23)),_0x12dced=new Map();for(const _0x2a8cd3 of _0x1337b2){const _0x4ea84c=_0x186d30['extract'](_0x2a8cd3,_0x186d30['excludedStrings']),_0x1e70d3=buildDuplicatesMap(_0x4ea84c,_0x186d30['normalize']);for(const [_0x57aaed,_0x4faff1]of _0x1e70d3){const _0x56072c=_0x12dced['get'](_0x57aaed);_0x56072c?_0x56072c['push'](..._0x4faff1):_0x12dced['set'](_0x57aaed,[..._0x4faff1]);}}return _0x12dced;}__name(analyzeCodebase,'analyzeCodebase');function hasDuplicates(_0x504831){for(const _0x30afe9 of _0x504831['values']()){if(_0x30afe9['length']>-0x2d7*-0x1+0x238+-0x2*0x287)return !![];}return ![];}__name(hasDuplicates,'hasDuplicates');

export { analyzeCodebase, buildDuplicatesMap, hasDuplicates };
