1import{aR as d,aU as m,a_ as n,c9 as c,aV as u,aW as b,b1 as a,b6 as i}from"./c-index-C7aDQtMU.js";import _ from"./c-source-CCZROvei.js";import f from"./c-destination-Bkc-vRY0.js";import{l as S}from"./e-front-BYMFT9Ax.js";import"./c-index-D4iii5QI.js";import"./c-el-form-item-lGG0C5Mp.js";import"./c-index-CoFEjLyo.js";import"./c-ZeroBlock-CV4n845L.js";import"./c-merge-B_kft1BI.js";import"./c-isArrayLikeObject-B68eDwjp.js";import"./c-_baseOrderBy-DHaiweXL.js";import"./c-_baseMap-Cu2k9MJB.js";import"./c-animations-BseF7QIQ.js";import"./c-index-uU8wUeO9.js";import"./c-debounce-C9zzGgaU.js";/* empty css */import"./c-el-checkbox-yCtUXoWo.js";import"./c-index-BVAx5QAs.js";/* empty css */import"./c-MonacoEditor-Da_ANU1I.js";import"./c-vuedraggable.umd-CphuF5Dz.js";import"./c-HelperTool-Rf0okt4A.js";/* empty css */import"./c-index-Ch9JQuqs.js";import"./c-index-CQD-eyPW.js";/* empty css */import"./c-lodash-9MuaAKnG.js";const h=d({name:"ZeroBlockDemo",components:{Source:_,Destination:f},setup(){const e=n(null),t=n(null),r=n(null);return m(()=>{var s;new BroadcastChannel("zb_destination_channel").addEventListener("message",o=>{r.value=JSON.parse(o.data.data)}),new BroadcastChannel("zb_source_channel").addEventListener("message",o=>{switch(o.data.type){case"updateZbGrid":t.value=JSON.parse(o.data.data);break;case"updateElements":e.value=JSON.parse(o.data.data);break}}),(s=S)==null||s.close()}),{zbSrcData:e,zbDstData:r,zbSrcGrid:t}}}),D={class:"flex justify-between gap-4 word-wrap"},w={class:"text-wrap"},v={class:"text-wrap"},z={class:"text-wrap"};function C(e,t,r,p,l,s){return u(),b("div",D,[a("div",null,[t[0]||(t[0]=a("div",null,"Source",-1)),a("pre",w,i(e.zbSrcData),1),a("pre",v,i(e.zbSrcGrid),1)]),a("div",null,[t[1]||(t[1]=a("div",null,"Destination",-1)),a("pre",z,i(e.zbDstData),1)])])}const T=c(h,[["render",C]]);export{T 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.