"use strict";(self.webpackChunk_jbrowse_web=self.webpackChunk_jbrowse_web||[]).push([[7207],{87207:function(n,e,o){o.r(e),o.d(e,{default:function(){return p}});var a=o(30969),t=o(45304),r=o(59912),s=o(26671),i=o(75546),l=o(38287),u=o(22714),c=o(38827),g=o(37574),d="12px",f='Consolas, "Andale Mono WT", "Andale Mono", "Lucida Console", "Lucida Sans Typewriter", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Liberation Mono", "Nimbus Mono L", Monaco, "Courier New", Courier, monospace',b=(0,u.Z)({callbackEditor:{fontFamily:f,fontSize:d,overflowX:"auto",marginTop:"16px",borderBottom:"1px solid rgba(0,0,0,0.42)"},syntaxHighlighter:{margin:0,fontFamily:f,fontSize:d}});function p(n){var e=n.contents,o=n.setContents,u=b(),d=(0,c.Z)();return(0,a.useEffect)((function(){r.Z.registerLanguage("json",s.Z)}),[]),(0,g.jsx)(t.Z,{className:u.callbackEditor,value:e,onValueChange:o,highlight:function(n){return(0,g.jsx)(r.Z,{language:"json",style:"dark"===d.palette.type?i.Z:l.Z,className:u.syntaxHighlighter,customStyle:{background:"none",padding:0},children:n})},padding:10,style:{}})}}}]);
//# sourceMappingURL=7207.df263841.chunk.js.map