import{__exports as r}from"../../../_virtual/es.string.from-code-point.mjs";import{__require as t}from"../internals/export.mjs";import{__require as o}from"../internals/function-uncurry-this.mjs";import{__require as e}from"../internals/to-absolute-index.mjs";var i;function n(){if(i)return r;i=1;var n=t(),a=o(),s=e(),m=RangeError,f=String.fromCharCode,u=String.fromCodePoint,_=a([].join);return n({target:"String",stat:!0,arity:1,forced:!!u&&1!==u.length},{fromCodePoint:function(r){for(var t,o=[],e=arguments.length,i=0;e>i;){if(t=+arguments[i++],s(t,1114111)!==t)throw new m(t+" is not a valid code point");o[i]=t<65536?f(t):f(55296+((t-=65536)>>10),t%1024+56320)}return _(o,"")}}),r}export{n as __require};