1import{G as w,i as $,g as S,r as k}from"./i18n-Cp0K4Pzb.js";import{M as x,aa as u,ab as y,ac as B,Z as a,$ as d,N as J,a as N,S as h,a2 as _,O,R as G,Q as I,T as j}from"./index-CTFdGFMX.js";import{b as z}from"./size-DEWon29f.js";import{J as H,a as L}from"./JSON-Chzlb_z0.js";import{B as M}from"./Block-B-n9miFg.js";import"./ScrollFade.svelte_svelte_type_style_lang-CIUw7O4r.js";import{B as P}from"./BlockLabel-febq4APZ.js";import{S as Q}from"./index-FEBXxUKr.js";import"./StreamingBar.svelte_svelte_type_style_lang-BttMSefY.js";import"./Check-ylDjh7z0.js";import"./Copy-D6HpUGG9.js";import"./Empty-gyYh_3t3.js";import"./IconButtonWrapper-KllrYESz.js";import"./snippet-RHfhCkJt.js";import"./Clear-Dgxiu6kK.js";import"./html-B68ok-Uj.js";import"./index-B_pwUImq.js";var R=G("<div><!></div> <!> <!>",1);function ae(m,o){x(o,!0);const g=k(o,["$$slots","$$events","$$legacy"]),e=new w(g);let i=u(y(e.props.value));B(()=>{a(i)!==e.props.value&&(d(i,e.props.value,!0),e.dispatch("change"))});let l=u(0);M(m,{get visible(){return e.shared.visible},test_id:"json",get elem_id(){return e.shared.elem_id},get elem_classes(){return e.shared.elem_classes},get container(){return e.shared.container},get scale(){return e.shared.scale},get min_width(){return e.shared.min_width},padding:!1,allow_overflow:!0,overflow_behavior:"auto",get height(){return e.props.height},get min_height(){return e.props.min_height},get max_height(){return e.props.max_height},children:(c,T)=>{var n=R(),s=J(n),f=I(s);{var b=t=>{{let r=_(()=>e.shared.container===!1);P(t,{get Icon(){return L},get show_label(){return e.shared.show_label},get label(){return e.shared.label},float:!1,get disable(){return a(r)}})}};$(f,t=>{e.shared.label&&t(b)})}j(s);var p=h(s,2);Q(p,S({get autoscroll(){return e.shared.autoscroll},get i18n(){return e.i18n}},()=>e.shared.loading_status,{on_clear_status:()=>e.dispatch("clear_status",e.shared.loading_status)}));var v=h(p,2);{let t=_(()=>e.props.buttons==null?!0:e.props.buttons.some(r=>typeof r=="string"&&r==="copy"));H(v,{get value(){return e.props.value},get open(){return e.props.open},get theme_mode(){return e.props.theme_mode},get show_indices(){return e.props.show_indices},get show_copy_button(){return a(t)},get buttons(){return e.props.buttons},on_custom_button_click:r=>{e.dispatch("custom_button_click",{id:r})},get label_height(){return a(l)}})}z(s,"clientHeight",t=>d(l,t)),N(c,n)},$$slots:{default:!0}}),O()}export{H as BaseJSON,ae as default};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.