import{DEFAULT_LOCALE_PLACEHOLDER as t}from"../../../constants/common.js";import{isL10nPath as o}from"./is-l10n-path.js";function e(r){return o(r)?r.split("/")[1]:t}export{e as getLocaleFromRelativePath};
