"use strict";
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
const namespaces = require("./src-namespaces.cjs");
function namespace(name) {
  var prefix = name += "", i = prefix.indexOf(":");
  if (i >= 0 && (prefix = name.slice(0, i)) !== "xmlns") name = name.slice(i + 1);
  return namespaces.default.hasOwnProperty(prefix) ? { space: namespaces.default[prefix], local: name } : name;
}
exports.default = namespace;
//# sourceMappingURL=src-namespace.cjs.map
