import{__exports as r}from"../../../_virtual/es.uint8-array.set-from-base64.mjs";import{__require as t}from"../internals/export.mjs";import{__require as e}from"../internals/global-this.mjs";import{__require as a}from"../internals/uint8-from-base64.mjs";import{__require as s}from"../internals/an-uint8-array.mjs";var i;function n(){if(i)return r;i=1;var n=t(),o=e(),m=a(),u=s(),_=o.Uint8Array,f=!_||!_.prototype.setFromBase64||!function(){var r=new _([255,255,255,255,255]);try{return void r.setFromBase64("",null)}catch(r){}try{return void r.setFromBase64("a")}catch(r){}try{r.setFromBase64("MjYyZg===")}catch(t){return 50===r[0]&&54===r[1]&&50===r[2]&&255===r[3]&&255===r[4]}}();return _&&n({target:"Uint8Array",proto:!0,forced:f},{setFromBase64:function(r){u(this);var t=m(r,arguments.length>1?arguments[1]:void 0,this,this.length);return{read:t.read,written:t.written}}}),r}export{n as __require};