1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[151],{60151:(e,t,n)=>{n.r(t),n.d(t,{ReactSandpackPreview:()=>s});var r=n(95155),i=n(26229),l=n(12115);function s(e){let{code:t,className:n}=e,s=(0,l.useMemo)(()=>(function(e){let t=e.split("\n");if(0===t.length)return e;let n=t[0].trim();return"// @live"===n||"/* @live */"===n?t.slice(1).join("\n").replace(/^\n+/,""):e})(t).trim(),[t]),o=(0,l.useMemo)(()=>({"/App.tsx":s.length>0?s:"export default function App() {\n return <p>空代ç </p>;\n}\n"}),[s]);return(0,r.jsx)("div",{className:"sandpack-preview-root mt-3 rounded-sm border border-stone-200 overflow-hidden bg-white ".concat(null!=n?n:""),children:(0,r.jsx)(i.l5,{template:"react-ts",theme:"light",files:o,children:(0,r.jsx)(i.G5,{showOpenInCodeSandbox:!1,showRefreshButton:!0,style:{height:"min(360px, 50vh)",minHeight:220}})})})}}}]);
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.