import{__exports as r}from"../../../_virtual/web.url.parse.mjs";import{__require as t}from"../internals/export.mjs";import{__require as e}from"../internals/get-built-in.mjs";import{__require as i}from"../internals/validate-arguments-length.mjs";import{__require as n}from"../internals/to-string.mjs";import{__require as s}from"../internals/url-constructor-detection.mjs";var a;function o(){if(a)return r;a=1;var o=t(),m=e(),u=i(),_=n(),l=s(),p=m("URL");return o({target:"URL",stat:!0,forced:!l},{parse:function(r){var t=u(arguments.length,1),e=_(r),i=t<2||void 0===arguments[1]?void 0:_(arguments[1]);try{return new p(e,i)}catch(r){return null}}}),r}export{o as __require};