import { __exports as c } from "../../../../_virtual/createPlugin.js";
(function(u) {
  Object.defineProperty(u, "__esModule", {
    value: !0
  }), Object.defineProperty(u, "default", {
    enumerable: !0,
    get: function() {
      return o;
    }
  });
  function i(e, n) {
    return {
      handler: e,
      config: n
    };
  }
  i.withOptions = function(e, n = () => ({})) {
    const t = function(r) {
      return {
        __options: r,
        handler: e(r),
        config: n(r)
      };
    };
    return t.__isOptionsFunction = !0, t.__pluginFunction = e, t.__configFunction = n, t;
  };
  const o = i;
})(c);
