import{__exports as r}from"../../../_virtual/es.json.raw-json.mjs";import{__require as e}from"../internals/export.mjs";import{__require as t}from"../internals/freezing.mjs";import{__require as n}from"../internals/native-raw-json.mjs";import{__require as a}from"../internals/get-built-in.mjs";import{__require as i}from"../internals/function-uncurry-this.mjs";import{__require as s}from"../internals/to-string.mjs";import{__require as o}from"../internals/create-property.mjs";import{__require as m}from"../internals/internal-state.mjs";var u;function _(){if(u)return r;u=1;var _=e(),f=t(),p=n(),l=a(),j=i(),c=s(),w=o(),q=m().set,O=SyntaxError,v=l("JSON","parse"),S=l("Object","create"),J=l("Object","freeze"),N=j("".charAt),b="Unacceptable as raw JSON",g=function(r){return" "===r||"\t"===r||"\n"===r||"\r"===r};return _({target:"JSON",stat:!0,forced:!p},{rawJSON:function(r){var e=c(r);if(""===e||g(N(e,0))||g(N(e,e.length-1)))throw new O(b);var t=v(e);if("object"==typeof t&&null!==t)throw new O(b);var n=S(null);return q(n,{type:"RawJSON"}),w(n,"rawJSON",e),f?J(n):n}}),r}export{_ as __require};