{"version":3,"file":"withStaticProperties.js","names":[],"sources":["esm/withStaticProperties.js"],"sourcesContent":["const Decorated = /* @__PURE__ */ Symbol();\nconst withStaticProperties = (component, staticProps) => {\n  const out = (() => {\n    if (component[Decorated]) {\n      return typeof component === \"function\" ? Object.assign(component.bind(null), component) : { ...component };\n    }\n    return component;\n  })();\n  Object.assign(out, staticProps);\n  out[Decorated] = true;\n  return out;\n};\nexport {\n  withStaticProperties\n};\n//# sourceMappingURL=withStaticProperties.js.map\n"],"mappings":";AAAA,MAAM,YAA4B,uBAAO;AACzC,MAAM,wBAAwB,WAAW,gBAAgB;CACvD,MAAM,aAAa;EACjB,IAAI,UAAU,YAAY;GACxB,OAAO,OAAO,cAAc,aAAa,OAAO,OAAO,UAAU,KAAK,IAAI,GAAG,SAAS,IAAI,EAAE,GAAG,UAAU;EAC3G;EACA,OAAO;CACT,EAAC,CAAE;CACH,OAAO,OAAO,KAAK,WAAW;CAC9B,IAAI,aAAa;CACjB,OAAO;AACT"}