'use strict';
import { ensurePathSeparatorsOnBothSides } from '../../../fd-toolbox/paths/ensure.js';
import _0x1869d0__default from 'path';

var __defProp=Object['defineProperty'],__name=(_0x102c6d,_0xc9ef13)=>__defProp(_0x102c6d,'name',{'value':_0xc9ef13,'configurable':!![]});function normalizePathSeparators(_0x43dc66){return _0x43dc66['replaceAll']('\x5c','/');}__name(normalizePathSeparators,'normalizePathSeparators');function isCommonNamedIdentifier(_0x1c8c45,_0x78d85c){const _0xd8c75f=_0x1c8c45['toLowerCase']();return _0x78d85c['some'](_0x28876e=>_0xd8c75f['startsWith'](_0x28876e['toLowerCase']()));}__name(isCommonNamedIdentifier,'isCommonNamedIdentifier');function isInsideFolder(_0x358803,_0x2ea126){return _0x358803['includes'](ensurePathSeparatorsOnBothSides(_0x2ea126));}__name(isInsideFolder,'isInsideFolder');function isFilenameWithSuffix(_0x5d9b00,_0x21a8ba){const _0x2a028f=_0x1869d0__default['basename'](_0x5d9b00),_0x44c33f=_0x2a028f['lastIndexOf']('.'),_0x2e0a5d=_0x44c33f===-(-0x1bd7+0x1e*-0x14c+0x42c0)?_0x2a028f:_0x2a028f['slice'](-0xe*0x24e+-0xd*0x18e+0x347a,_0x44c33f);return _0x2e0a5d['endsWith'](_0x21a8ba);}__name(isFilenameWithSuffix,'isFilenameWithSuffix');

export { isCommonNamedIdentifier, isFilenameWithSuffix, isInsideFolder, normalizePathSeparators };
