// src/utils/map-with-responsive.ts
var mapWithResponsive = (args) => {
  const { value, mapFn } = args;
  if (typeof value === "string") {
    return mapFn(value);
  }
  if (typeof value === "object") {
    const entries = Object.entries(value);
    return Object.fromEntries(entries.map(([k, v]) => {
      return [k, mapFn(v)];
    }));
  }
  return value;
};

export {
  mapWithResponsive
};
//# sourceMappingURL=chunk-6OAUW7IB.js.map