1import{o as e}from"./jsx-runtime-cvnAX2Ol.js";import{ct as t}from"./components-d-7UI7xd.js";import{a as n,i as r}from"./customCssPreview-B47fDv_q.js";var i=e(t(),1),a=`__cleared__`,o=e=>{let t=(0,i.useRef)(null);return(0,i.useEffect)(()=>{let n=new BroadcastChannel(r(e));return t.current=n,()=>n.close()},[e]),{syncDraft:(0,i.useCallback)(r=>{localStorage.setItem(n(e),r),t.current?.postMessage(r)},[e]),clearDraft:(0,i.useCallback)(()=>{localStorage.removeItem(n(e)),t.current?.postMessage(a)},[e])}};export{o as n,a as t}; 2//# sourceMappingURL=useCustomCssPreviewSync-Bz5Jplzx.js.map
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.