{"ast":null,"code":"import { jsxDEV as _jsxDEV } from \"react/jsx-dev-runtime\";\n\nvar _jsxFileName = \"/home/alexis/code/sigmajs-org/pages/examples.tsx\",\n    _this = this;\n\nimport React from \"react\";\nimport Link from \"next/link\";\nimport Head from \"next/head\";\nimport { getExampleURL } from \"../lib/examples-utils\";\nimport PageLayout from \"../components/page-layout\";\n\nvar ExampleThumbnail = function ExampleThumbnail(_ref) {\n  var example = _ref.example;\n  return /*#__PURE__*/_jsxDEV(\"article\", {\n    children: /*#__PURE__*/_jsxDEV(\"h2\", {\n      children: /*#__PURE__*/_jsxDEV(Link, {\n        as: getExampleURL(example),\n        href: \"/examples/[example]\",\n        children: /*#__PURE__*/_jsxDEV(\"a\", {\n          children: example.name\n        }, void 0, false, {\n          fileName: _jsxFileName,\n          lineNumber: 15,\n          columnNumber: 11\n        }, _this)\n      }, void 0, false, {\n        fileName: _jsxFileName,\n        lineNumber: 14,\n        columnNumber: 9\n      }, _this)\n    }, void 0, false, {\n      fileName: _jsxFileName,\n      lineNumber: 13,\n      columnNumber: 7\n    }, _this)\n  }, void 0, false, {\n    fileName: _jsxFileName,\n    lineNumber: 12,\n    columnNumber: 5\n  }, _this);\n};\n\n_c = ExampleThumbnail;\n\nvar Blog = function Blog(_ref2) {\n  var examples = _ref2.examples;\n  return /*#__PURE__*/_jsxDEV(PageLayout, {\n    children: [/*#__PURE__*/_jsxDEV(Head, {\n      children: /*#__PURE__*/_jsxDEV(\"title\", {\n        children: \"Examples\"\n      }, void 0, false, {\n        fileName: _jsxFileName,\n        lineNumber: 25,\n        columnNumber: 7\n      }, _this)\n    }, void 0, false, {\n      fileName: _jsxFileName,\n      lineNumber: 24,\n      columnNumber: 5\n    }, _this), /*#__PURE__*/_jsxDEV(\"h1\", {\n      children: \"Examples\"\n    }, void 0, false, {\n      fileName: _jsxFileName,\n      lineNumber: 28,\n      columnNumber: 5\n    }, _this), /*#__PURE__*/_jsxDEV(\"br\", {}, void 0, false, {\n      fileName: _jsxFileName,\n      lineNumber: 29,\n      columnNumber: 5\n    }, _this), examples.map(function (example) {\n      return /*#__PURE__*/_jsxDEV(ExampleThumbnail, {\n        example: example\n      }, example.name, false, {\n        fileName: _jsxFileName,\n        lineNumber: 31,\n        columnNumber: 7\n      }, _this);\n    })]\n  }, void 0, true, {\n    fileName: _jsxFileName,\n    lineNumber: 23,\n    columnNumber: 3\n  }, _this);\n};\n\n_c2 = Blog;\nexport var __N_SSG = true;\nexport default Blog;\nexport var config = {\n  unstable_runtimeJS: false\n};\n\nvar _c, _c2;\n\n$RefreshReg$(_c, \"ExampleThumbnail\");\n$RefreshReg$(_c2, \"Blog\");","map":{"version":3,"sources":["/home/alexis/code/sigmajs-org/pages/examples.tsx"],"names":["React","Link","Head","getExampleURL","PageLayout","ExampleThumbnail","example","name","Blog","examples","map","config","unstable_runtimeJS"],"mappings":";;;;;AAAA,OAAOA,KAAP,MAA0B,OAA1B;AACA,OAAOC,IAAP,MAAiB,WAAjB;AACA,OAAOC,IAAP,MAAiB,WAAjB;AAIA,SAASC,aAAT,QAA8B,uBAA9B;AACA,OAAOC,UAAP,MAAuB,2BAAvB;;AAEA,IAAMC,gBAA0C,GAAG,SAA7CA,gBAA6C,OAAiB;AAAA,MAAdC,OAAc,QAAdA,OAAc;AAClE,sBACE;AAAA,2BACE;AAAA,6BACE,QAAC,IAAD;AAAM,QAAA,EAAE,EAAEH,aAAa,CAACG,OAAD,CAAvB;AAAkC,QAAA,IAAI,EAAC,qBAAvC;AAAA,+BACE;AAAA,oBAAIA,OAAO,CAACC;AAAZ;AAAA;AAAA;AAAA;AAAA;AADF;AAAA;AAAA;AAAA;AAAA;AADF;AAAA;AAAA;AAAA;AAAA;AADF;AAAA;AAAA;AAAA;AAAA,WADF;AASD,CAVD;;KAAMF,gB;;AAYN,IAAMG,IAAiC,GAAG,SAApCA,IAAoC;AAAA,MAAGC,QAAH,SAAGA,QAAH;AAAA,sBACxC,QAAC,UAAD;AAAA,4BACE,QAAC,IAAD;AAAA,6BACE;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AADF;AAAA;AAAA;AAAA;AAAA,aADF,eAKE;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,aALF,eAME;AAAA;AAAA;AAAA;AAAA,aANF,EAOGA,QAAQ,CAACC,GAAT,CAAa,UAACJ,OAAD;AAAA,0BACZ,QAAC,gBAAD;AAAqC,QAAA,OAAO,EAAEA;AAA9C,SAAuBA,OAAO,CAACC,IAA/B;AAAA;AAAA;AAAA;AAAA,eADY;AAAA,KAAb,CAPH;AAAA;AAAA;AAAA;AAAA;AAAA,WADwC;AAAA,CAA1C;;MAAMC,I;;AAcN,eAAeA,IAAf;AAYA,OAAO,IAAMG,MAAM,GAAG;AACpBC,EAAAA,kBAAkB,EAAE;AADA,CAAf","sourcesContent":["import React, { FC } from \"react\";\nimport Link from \"next/link\";\nimport Head from \"next/head\";\n\nimport { Example } from \"../lib/types\";\nimport { getExamples } from \"../lib/examples-api\";\nimport { getExampleURL } from \"../lib/examples-utils\";\nimport PageLayout from \"../components/page-layout\";\n\nconst ExampleThumbnail: FC<{ example: Example }> = ({ example }) => {\n  return (\n    <article>\n      <h2>\n        <Link as={getExampleURL(example)} href=\"/examples/[example]\">\n          <a>{example.name}</a>\n        </Link>\n      </h2>\n    </article>\n  );\n};\n\nconst Blog: FC<{ examples: Example[] }> = ({ examples }) => (\n  <PageLayout>\n    <Head>\n      <title>Examples</title>\n    </Head>\n\n    <h1>Examples</h1>\n    <br />\n    {examples.map((example) => (\n      <ExampleThumbnail key={example.name} example={example} />\n    ))}\n  </PageLayout>\n);\n\nexport default Blog;\n\nexport const getStaticProps = async () => {\n  const examples = getExamples();\n\n  return {\n    props: {\n      examples,\n    },\n  };\n};\n\nexport const config = {\n  unstable_runtimeJS: false,\n};\n"]},"metadata":{},"sourceType":"module"}