Files
DocsGPT/extensions/react-widget/dist/assets/json-ClJExp-H.js
ManishMadan2882 3a6770a1ae preparing build
2024-02-26 21:10:22 +05:30

2 lines
992 B
JavaScript

import{g as l}from"./index-TA8jW4qE.js";function E(e,r){for(var o=0;o<r.length;o++){const n=r[o];if(typeof n!="string"&&!Array.isArray(n)){for(const t in n)if(t!=="default"&&!(t in e)){const a=Object.getOwnPropertyDescriptor(n,t);a&&Object.defineProperty(e,t,a.get?a:{enumerable:!0,get:()=>n[t]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}function u(e){const r={literal:"true false null"},o=[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE],n=[e.QUOTE_STRING_MODE,e.C_NUMBER_MODE],t={end:",",endsWithParent:!0,excludeEnd:!0,contains:n,keywords:r},a={begin:/\{/,end:/\}/,contains:[{className:"attr",begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE],illegal:"\\n"},e.inherit(t,{begin:/:/})].concat(o),illegal:"\\S"},c={begin:"\\[",end:"\\]",contains:[e.inherit(t)],illegal:"\\S"};return n.push(a,c),o.forEach(function(s){n.push(s)}),{name:"JSON",contains:n,keywords:r,illegal:"\\S"}}var i=u;const _=l(i),g=E({__proto__:null,default:_},[i]);export{g as j};