import { ap as attr_class, an as stringify, au as escape_html } from './index2-BLq4EEng.js';

/* empty css                                          */
function EmptyState($$renderer, $$props) {
  let { title, description, icon, children, classes } = $$props;
  $$renderer.push(`<div${attr_class(`empty-state ${stringify(classes ?? "")}`, "svelte-1elsu8i")}>`);
  if (typeof icon === "function") {
    $$renderer.push("<!--[0-->");
    $$renderer.push(`<div class="empty-state-icon svelte-1elsu8i">`);
    icon($$renderer);
    $$renderer.push(`<!----></div>`);
  } else {
    $$renderer.push("<!--[-1-->");
  }
  $$renderer.push(`<!--]--> <div class="empty-state-title svelte-1elsu8i">${escape_html(title)}</div> <div class="empty-state-description svelte-1elsu8i">${escape_html(description)}</div> `);
  if (typeof children === "function") {
    $$renderer.push("<!--[0-->");
    $$renderer.push(`<div class="empty-state-actions svelte-1elsu8i">`);
    children($$renderer);
    $$renderer.push(`<!----></div>`);
  } else {
    $$renderer.push("<!--[-1-->");
  }
  $$renderer.push(`<!--]--></div>`);
}
const RefreshSvg = '<svg width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">\n  <path d="M23 4v6h-6M1 20v-6h6"/>\n  <path d="M3.51 9a9 9 0 0 1 14.85-3.36L23 10M1 14l4.64 4.36A9 9 0 0 0 20.49 15"/>\n</svg>\n';
function clearCache(key) {
  try {
    sessionStorage.removeItem(key);
  } catch {
  }
}

export { EmptyState as E, RefreshSvg as R, clearCache as c };
//# sourceMappingURL=cache-De-MXr04.js.map
