import { isString } from './is.mjs';

const getCountryImageUrl = (code) => {
  if (!code || !isString(code)) {
    return "";
  }
  const upperCaseCode = code.toUpperCase();
  return `https://thirdorder.giikin.com/assets/common/country/${upperCaseCode}.webp`;
};

export { getCountryImageUrl };
//# sourceMappingURL=image.mjs.map
