import{__module as r}from"../../../../_virtual/root.mjs";import{__require as t}from"./container.mjs";import{__require as e}from"./types.mjs";var o;function n(){return o||(o=1,function(r,o){o.__esModule=!0,o.default=void 0;var n,i=(n=t())&&n.__esModule?n:{default:n},u=e();function a(r,t,e){return t&&function(r,t){for(var e=0;e<t.length;e++){var o=t[e];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(r,o.key,o)}}(r.prototype,t),Object.defineProperty(r,"prototype",{writable:!1}),r}function p(r,t){return p=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,t){return r.__proto__=t,r},p(r,t)}var f=function(r){var t,e;function o(t){var e;return(e=r.call(this,t)||this).type=u.ROOT,e}e=r,(t=o).prototype=Object.create(e.prototype),t.prototype.constructor=t,p(t,e);var n=o.prototype;return n.toString=function(){var r=this.reduce(function(r,t){return r.push(String(t)),r},[]).join(",");return this.trailingComma?r+",":r},n.error=function(r,t){return this._error?this._error(r,t):new Error(r)},a(o,[{key:"errorGenerator",set:function(r){this._error=r}}]),o}(i.default);o.default=f,r.exports=o.default}(r,r.exports)),r.exports}export{n as __require};