livecode-static/docs/assets/js/18891827.40f30d6e.js
2025-06-11 22:23:49 +08:00

4 lines
5.6 KiB
JavaScript

"use strict";(self.webpackChunkdocs=self.webpackChunkdocs||[]).push([["7694"],{5764:function(e,t,n){n.r(t),n.d(t,{default:()=>h,frontMatter:()=>l,metadata:()=>r,assets:()=>d,toc:()=>u,contentTitle:()=>c});var r=JSON.parse('{"id":"overview","title":"Overview","description":"LiveCodes is an open-source client-side code playground. It is feature-rich with support for 90+ languages/frameworks. It can be used as a standalone app or embedded in any web page. A powerful SDK is available to facilitate embedding and communication with embedded playgrounds.","source":"@site/docs/overview.mdx","sourceDirName":".","slug":"/overview","permalink":"/docs/overview","draft":false,"unlisted":false,"editUrl":"https://github.com/live-codes/livecodes/tree/develop/docs/docs/overview.mdx","tags":[],"version":"current","frontMatter":{"slug":"/overview"},"sidebar":"docsSidebar","next":{"title":"Why Another Playground?","permalink":"/docs/why"}}'),i=n("5893"),o=n("65"),s=n("8399"),a=n("7378");let l={slug:"/overview"},c="Overview",d={},u=[];function f(e){let t={a:"a",h1:"h1",header:"header",p:"p",...(0,o.a)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(t.header,{children:(0,i.jsx)(t.h1,{id:"overview",children:"Overview"})}),"\n",(0,i.jsxs)(t.p,{children:[(0,i.jsx)(t.a,{href:"https://livecodes.io",children:"LiveCodes"})," is an ",(0,i.jsx)(t.a,{href:"/docs/license",children:"open-source"})," client-side code playground. It is ",(0,i.jsx)(t.a,{href:"/docs/features/",children:"feature-rich"})," with support for ",(0,i.jsx)(t.a,{href:"/docs/languages/",children:"90+ languages/frameworks"}),". It can be used as a ",(0,i.jsx)(t.a,{href:"/docs/getting-started#standalone-app",children:"standalone app"})," or ",(0,i.jsx)(t.a,{href:"/docs/features/embeds",children:"embedded"})," in any web page. A powerful ",(0,i.jsx)(t.a,{href:"/docs/sdk/",children:"SDK"})," is available to facilitate embedding and communication with embedded playgrounds."]}),"\n",(0,i.jsx)(t.p,{children:"The sections below include the documentation details:"}),"\n","\n",(0,i.jsx)(s.Z,{items:(0,a.jA)().items})]})}function h(e={}){let{wrapper:t}={...(0,o.a)(),...e.components};return t?(0,i.jsx)(t,{...e,children:(0,i.jsx)(f,{...e})}):f(e)}},8399:function(e,t,n){n.d(t,{Z:()=>x});var r=n("5893");n("7294");var i=n("7026"),o=n("6563"),s=n("3367"),a=n("1107"),l=n("9999"),c=n("7670"),d=n("9386");let u={cardContainer:"cardContainer_fWXF",cardTitle:"cardTitle_rnsV",cardDescription:"cardDescription_PWke"};function f(e){let{href:t,children:n}=e;return(0,r.jsx)(s.Z,{href:t,className:(0,i.Z)("card padding--lg",u.cardContainer),children:n})}function h(e){let{href:t,icon:n,title:o,description:s}=e;return(0,r.jsxs)(f,{href:t,children:[(0,r.jsxs)(d.Z,{as:"h2",className:(0,i.Z)("text--truncate",u.cardTitle),title:o,children:[n," ",o]}),s&&(0,r.jsx)("p",{className:(0,i.Z)("text--truncate",u.cardDescription),title:s,children:s})]})}function p(e){let{item:t}=e,n=(0,o.LM)(t),i=function(){let{selectMessage:e}=(0,a.c)();return t=>e(t,(0,c.I)({message:"1 item|{count} items",id:"theme.docs.DocCard.categoryDescription.plurals",description:"The default description for a category card in the generated index about how many items this category includes"},{count:t}))}();return n?(0,r.jsx)(h,{href:n,icon:"\uD83D\uDDC3\uFE0F",title:t.label,description:t.description??i(t.items.length)}):null}function m(e){let{item:t}=e,n=(0,l.Z)(t.href)?"\uD83D\uDCC4\uFE0F":"\uD83D\uDD17",i=(0,o.xz)(t.docId??void 0);return(0,r.jsx)(h,{href:t.href,icon:n,title:t.label,description:t.description??i?.description})}function g(e){let{item:t}=e;switch(t.type){case"link":return(0,r.jsx)(m,{item:t});case"category":return(0,r.jsx)(p,{item:t});default:throw Error(`unknown item type ${JSON.stringify(t)}`)}}function v(e){let{className:t}=e,n=(0,o.jA)();return(0,r.jsx)(x,{items:n.items,className:t})}function x(e){let{items:t,className:n}=e;if(!t)return(0,r.jsx)(v,{...e});let s=(0,o.MN)(t);return(0,r.jsx)("section",{className:(0,i.Z)("row",n),children:s.map((e,t)=>(0,r.jsx)("article",{className:"col col--6 margin-bottom--lg",children:(0,r.jsx)(g,{item:e})},t))})}},7378:function(e,t,n){function r(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return n(8854).jA(...t)}n.d(t,{jA:function(){return r}}),n(7262)},1107:function(e,t,n){n.d(t,{c:function(){return l}});var r=n(7294),i=n(7262);let o=["zero","one","two","few","many","other"];function s(e){return o.filter(t=>e.includes(t))}let a={locale:"en",pluralForms:s(["one","other"]),select:e=>1===e?"one":"other"};function l(){let e=function(){let{i18n:{currentLocale:e}}=(0,i.Z)();return(0,r.useMemo)(()=>{try{return function(e){let t=new Intl.PluralRules(e);return{locale:e,pluralForms:s(t.resolvedOptions().pluralCategories),select:e=>t.select(e)}}(e)}catch(t){return console.error(`Failed to use Intl.PluralRules for locale "${e}".
Docusaurus will fallback to the default (English) implementation.
Error: ${t.message}
`),a}},[e])}();return{selectMessage:(t,n)=>(function(e,t,n){let r=e.split("|");if(1===r.length)return r[0];r.length>n.pluralForms.length&&console.error(`For locale=${n.locale}, a maximum of ${n.pluralForms.length} plural forms are expected (${n.pluralForms.join(",")}), but the message contains ${r.length}: ${e}`);let i=n.select(t);return r[Math.min(n.pluralForms.indexOf(i),r.length-1)]})(n,t,e)}}},65:function(e,t,n){n.d(t,{Z:function(){return a},a:function(){return s}});var r=n(7294);let i={},o=r.createContext(i);function s(e){let t=r.useContext(o);return r.useMemo(function(){return"function"==typeof e?e(t):{...t,...e}},[t,e])}function a(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(i):e.components||i:s(e.components),r.createElement(o.Provider,{value:t},e.children)}}}]);