define("@cardstack/rendering/-private/strip-namespace", ["exports"], function (exports) {
  "use strict";

  Object.defineProperty(exports, "__esModule", {
    value: true
  });
  exports.default = stripNamespace;
  function stripNamespace(type) {
    // Right now the actual field editor components get flattened down
    // out of their namespaces, so we throw away everything but the
    // last bit of their names here. This problem is easier to solve
    // once I can integrate a module-unification resolver, so I'm
    // leaving it like this for now.
    var parts = type.split(/[/:]/g);
    return parts[parts.length - 1];
  }
});