file_path stringlengths 3 280 | file_language stringclasses 66 values | content stringlengths 1 1.04M | repo_name stringlengths 5 92 | repo_stars int64 0 154k | repo_description stringlengths 0 402 | repo_primary_language stringclasses 108 values | developer_username stringlengths 1 25 | developer_name stringlengths 0 30 | developer_company stringlengths 0 82 |
|---|---|---|---|---|---|---|---|---|---|
crates/swc_ecma_transforms_typescript/tests/__swc_snapshots__/tests/strip.rs/enum_key_value.js | JavaScript | var StateNum = /*#__PURE__*/ function(StateNum) {
StateNum["closed"] = "cl0";
StateNum["opened"] = "op1";
StateNum["mounted"] = "mo2";
return StateNum;
}(StateNum || {});
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_typescript/tests/__swc_snapshots__/tests/strip.rs/enum_self_reference.js | JavaScript | var x;
var Foo = /*#__PURE__*/ function(Foo) {
Foo[Foo["a"] = 0] = "a";
Foo[Foo["b"] = 0] = "b";
Foo[Foo["c"] = 1] = "c";
Foo[Foo["d"] = 1] = "d";
return Foo;
}(Foo || {});
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_typescript/tests/__swc_snapshots__/tests/strip.rs/enum_simple.js | JavaScript | var Foo = /*#__PURE__*/ function(Foo) {
Foo[Foo["a"] = 0] = "a";
return Foo;
}(Foo || {});
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_typescript/tests/__swc_snapshots__/tests/strip.rs/enum_str.js | JavaScript | var State = /*#__PURE__*/ function(State) {
State["closed"] = "closed";
State["opened"] = "opened";
State["mounted"] = "mounted";
State["unmounted"] = "unmounted";
return State;
}(State || {});
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_typescript/tests/__swc_snapshots__/tests/strip.rs/export_import_assign.js | JavaScript | const foo = exports.foo = require("foo");
foo();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_typescript/tests/__swc_snapshots__/tests/strip.rs/fn_len_default_assignment_with_types.js | JavaScript | export function transformFileSync(filename, opts) {
if (opts === void 0) opts = {};
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_typescript/tests/__swc_snapshots__/tests/strip.rs/import_concrete.js | JavaScript | import { Test } from 'test';
console.log(Test);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_typescript/tests/__swc_snapshots__/tests/strip.rs/import_hoist.js | JavaScript | console.log(Test);
import { Test } from 'test';
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_typescript/tests/__swc_snapshots__/tests/strip.rs/import_shadow_array_pat.js | JavaScript | const [Test] = [];
console.log(a);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_typescript/tests/__swc_snapshots__/tests/strip.rs/import_shadow_array_pat_default.js | JavaScript | import { Test } from 'test';
const [a = Test] = [];
console.log(a);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_typescript/tests/__swc_snapshots__/tests/strip.rs/import_shadow_default.js | JavaScript | const Test = 2;
console.log(Test);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_typescript/tests/__swc_snapshots__/tests/strip.rs/import_shadow_hoist.js | JavaScript | const Test = 2;
console.log(Test);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_typescript/tests/__swc_snapshots__/tests/strip.rs/import_shadow_hoist_type_concrete.js | JavaScript | console.log(Test);
import { Test } from 'test';
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_typescript/tests/__swc_snapshots__/tests/strip.rs/import_shadow_named.js | JavaScript | const Test = 2;
console.log(Test);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_typescript/tests/__swc_snapshots__/tests/strip.rs/import_shadow_namespace.js | JavaScript | const Test = 2;
console.log(Test);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_typescript/tests/__swc_snapshots__/tests/strip.rs/import_shadow_object_pat.js | JavaScript | const { Test: a } = {};
console.log(a);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_typescript/tests/__swc_snapshots__/tests/strip.rs/import_shadow_object_pat_default.js | JavaScript | import { Test } from 'test';
const { a = Test } = {};
console.log(Test);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_typescript/tests/__swc_snapshots__/tests/strip.rs/import_shadow_type_concrete.js | JavaScript | import { Test } from 'test';
console.log(Test);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_typescript/tests/__swc_snapshots__/tests/strip.rs/imports_not_used_as_values_jsx_prag.js | JavaScript | /** @jsx h */ import html, { h } from "example";
serve((_req)=>html({
body: /*#__PURE__*/ h("div", null, "Hello World!")
}));
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_typescript/tests/__swc_snapshots__/tests/strip.rs/imports_not_used_as_values_shebang_jsx_prag.js | JavaScript | #!/usr/bin/env -S deno run -A
/** @jsx h */ import html, { h } from "example";
serve((_req)=>html({
body: /*#__PURE__*/ h("div", null, "Hello World!")
}));
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_typescript/tests/__swc_snapshots__/tests/strip.rs/issue_1032.js | JavaScript | import { indent as indentFormatter, newline as newlineFormatter, breakpoint as breakpointFormatter } from "./format.ts";
const proseTypes = new Map();
// deno-lint-ignore ban-types
const prose = (l, i, nl, bp)=>{
return i(l) + bp + "prose {" + nl + i(l + 1) + "color: #374151;" + nl + i(l + 1) + "max-width: 65ch;" + nl + i(l) + "}" + nl + i(l) + bp + 'prose [class~="lead"] {' + nl + i(l + 1) + "color: #4b5563;" + nl + i(l + 1) + "font-size: 1.25em;" + nl + i(l + 1) + "line-height: 1.6;" + nl + i(l + 1) + "margin-top: 1.2em;" + nl + i(l + 1) + "margin-bottom: 1.2em;" + nl + i(l) + "}" + nl + i(l) + bp + "prose a {" + nl + i(l + 1) + "color: #5850ec;" + nl + i(l + 1) + "text-decoration: none;" + nl + i(l + 1) + "font-weight: 600;" + nl + i(l) + "}" + nl + i(l) + bp + "prose strong {" + nl + i(l + 1) + "color: #161e2e;" + nl + i(l + 1) + "font-weight: 600;" + nl + i(l) + "}" + nl + i(l) + bp + "prose ol {" + nl + i(l + 1) + "counter-reset: list-counter;" + nl + i(l + 1) + "margin-top: 1.25em;" + nl + i(l + 1) + "margin-bottom: 1.25em;" + nl + i(l) + "}" + nl + i(l) + bp + "prose ol > li {" + nl + i(l + 1) + "position: relative;" + nl + i(l + 1) + "counter-increment: list-counter;" + nl + i(l + 1) + "padding-left: 1.75em;" + nl + i(l) + "}" + nl + i(l) + bp + "prose ol > li::before {" + nl + i(l + 1) + 'content: counter(list-counter) ".";' + nl + i(l + 1) + "position: absolute;" + nl + i(l + 1) + "font-weight: 400;" + nl + i(l + 1) + "color: #6b7280;" + nl + i(l) + "}" + nl + i(l) + bp + "prose ul > li {" + nl + i(l + 1) + "position: relative;" + nl + i(l + 1) + "padding-left: 1.75em;" + nl + i(l) + "}" + nl + i(l) + bp + "prose ul > li::before {" + nl + i(l + 1) + 'content: "";' + nl + i(l + 1) + "position: absolute;" + nl + i(l + 1) + "background-color: #d2d6dc;" + nl + i(l + 1) + "border-radius: 50%;" + nl + i(l + 1) + "width: 0.375em;" + nl + i(l + 1) + "height: 0.375em;" + nl + i(l + 1) + "top: calc(0.875em - 0.1875em);" + nl + i(l + 1) + "left: 0.25em;" + nl + i(l) + "}" + nl + i(l) + bp + "prose hr {" + nl + i(l + 1) + "border-color: #e5e7eb;" + nl + i(l + 1) + "border-top-width: 1px;" + nl + i(l + 1) + "margin-top: 3em;" + nl + i(l + 1) + "margin-bottom: 3em;" + nl + i(l) + "}" + nl + i(l) + bp + "prose blockquote {" + nl + i(l + 1) + "font-weight: 500;" + nl + i(l + 1) + "font-style: italic;" + nl + i(l + 1) + "color: #161e2e;" + nl + i(l + 1) + "border-left-width: 0.25rem;" + nl + i(l + 1) + "border-left-color: #e5e7eb;" + nl + i(l + 1) + 'quotes: "\\201C""\\201D""\\2018""\\2019";' + nl + i(l + 1) + "margin-top: 1.6em;" + nl + i(l + 1) + "margin-bottom: 1.6em;" + nl + i(l + 1) + "padding-left: 1em;" + nl + i(l) + "}" + nl + i(l) + bp + "prose blockquote p:first-of-type::before {" + nl + i(l + 1) + "content: open-quote;" + nl + i(l) + "}" + nl + i(l) + bp + "prose blockquote p:last-of-type::after {" + nl + i(l + 1) + "content: close-quote;" + nl + i(l) + "}" + nl + i(l) + bp + "prose h1 {" + nl + i(l + 1) + "color: #1a202c;" + nl + i(l + 1) + "font-weight: 800;" + nl + i(l + 1) + "font-size: 2.25em;" + nl + i(l + 1) + "margin-top: 0;" + nl + i(l + 1) + "margin-bottom: 0.8888889em;" + nl + i(l + 1) + "line-height: 1.1111111;" + nl + i(l) + "}" + nl + i(l) + bp + "prose h2 {" + nl + i(l + 1) + "color: #1a202c;" + nl + i(l + 1) + "font-weight: 700;" + nl + i(l + 1) + "font-size: 1.5em;" + nl + i(l + 1) + "margin-top: 2em;" + nl + i(l + 1) + "margin-bottom: 1em;" + nl + i(l + 1) + "line-height: 1.3333333;" + nl + i(l) + "}" + nl + i(l) + bp + "prose h3 {" + nl + i(l + 1) + "color: #1a202c;" + nl + i(l + 1) + "font-weight: 600;" + nl + i(l + 1) + "font-size: 1.25em;" + nl + i(l + 1) + "margin-top: 1.6em;" + nl + i(l + 1) + "margin-bottom: 0.6em;" + nl + i(l + 1) + "line-height: 1.6;" + nl + i(l) + "}" + nl + i(l) + bp + "prose h4 {" + nl + i(l + 1) + "color: #1a202c;" + nl + i(l + 1) + "font-weight: 600;" + nl + i(l + 1) + "margin-top: 1.5em;" + nl + i(l + 1) + "margin-bottom: 0.5em;" + nl + i(l + 1) + "line-height: 1.5;" + nl + i(l) + "}" + nl + i(l) + bp + "prose figure figcaption {" + nl + i(l + 1) + "color: #6b7280;" + nl + i(l + 1) + "font-size: 0.875em;" + nl + i(l + 1) + "line-height: 1.4285714;" + nl + i(l + 1) + "margin-top: 0.8571429em;" + nl + i(l) + "}" + nl + i(l) + bp + "prose code {" + nl + i(l + 1) + "color: #161e2e;" + nl + i(l + 1) + "font-weight: 600;" + nl + i(l + 1) + "font-size: 0.875em;" + nl + i(l) + "}" + nl + i(l) + bp + "prose code::before {" + nl + i(l + 1) + 'content: "`";' + nl + i(l) + "}" + nl + i(l) + bp + "prose code::after {" + nl + i(l + 1) + 'content: "`";' + nl + i(l) + "}" + nl + i(l) + bp + "prose pre {" + nl + i(l + 1) + "color: #e5e7eb;" + nl + i(l + 1) + "background-color: #252f3f;" + nl + i(l + 1) + "overflow-x: auto;" + nl + i(l + 1) + "font-size: 0.875em;" + nl + i(l + 1) + "line-height: 1.7142857;" + nl + i(l + 1) + "margin-top: 1.7142857em;" + nl + i(l + 1) + "margin-bottom: 1.7142857em;" + nl + i(l + 1) + "border-radius: 0.375rem;" + nl + i(l + 1) + "padding-top: 0.8571429em;" + nl + i(l + 1) + "padding-right: 1.1428571em;" + nl + i(l + 1) + "padding-bottom: 0.8571429em;" + nl + i(l + 1) + "padding-left: 1.1428571em;" + nl + i(l) + "}" + nl + i(l) + bp + "prose pre code {" + nl + i(l + 1) + "background-color: transparent;" + nl + i(l + 1) + "border-width: 0;" + nl + i(l + 1) + "border-radius: 0;" + nl + i(l + 1) + "padding: 0;" + nl + i(l + 1) + "font-weight: 400;" + nl + i(l + 1) + "color: inherit;" + nl + i(l + 1) + "font-size: inherit;" + nl + i(l + 1) + "font-family: inherit;" + nl + i(l + 1) + "line-height: inherit;" + nl + i(l) + "}" + nl + i(l) + bp + "prose pre code::before {" + nl + i(l + 1) + 'content: "";' + nl + i(l) + "}" + nl + i(l) + bp + "prose pre code::after {" + nl + i(l + 1) + 'content: "";' + nl + i(l) + "}" + nl + i(l) + bp + "prose table {" + nl + i(l + 1) + "width: 100%;" + nl + i(l + 1) + "table-layout: auto;" + nl + i(l + 1) + "text-align: left;" + nl + i(l + 1) + "margin-top: 2em;" + nl + i(l + 1) + "margin-bottom: 2em;" + nl + i(l + 1) + "font-size: 0.875em;" + nl + i(l + 1) + "line-height: 1.7142857;" + nl + i(l) + "}" + nl + i(l) + bp + "prose thead {" + nl + i(l + 1) + "color: #161e2e;" + nl + i(l + 1) + "font-weight: 600;" + nl + i(l + 1) + "border-bottom-width: 1px;" + nl + i(l + 1) + "border-bottom-color: #d2d6dc;" + nl + i(l) + "}" + nl + i(l) + bp + "prose thead th {" + nl + i(l + 1) + "vertical-align: bottom;" + nl + i(l + 1) + "padding-right: 0.5714286em;" + nl + i(l + 1) + "padding-bottom: 0.5714286em;" + nl + i(l + 1) + "padding-left: 0.5714286em;" + nl + i(l) + "}" + nl + i(l) + bp + "prose tbody tr {" + nl + i(l + 1) + "border-bottom-width: 1px;" + nl + i(l + 1) + "border-bottom-color: #e5e7eb;" + nl + i(l) + "}" + nl + i(l) + bp + "prose tbody tr:last-child {" + nl + i(l + 1) + "border-bottom-width: 0;" + nl + i(l) + "}" + nl + i(l) + bp + "prose tbody td {" + nl + i(l + 1) + "vertical-align: top;" + nl + i(l + 1) + "padding-top: 0.5714286em;" + nl + i(l + 1) + "padding-right: 0.5714286em;" + nl + i(l + 1) + "padding-bottom: 0.5714286em;" + nl + i(l + 1) + "padding-left: 0.5714286em;" + nl + i(l) + "}" + nl + i(l) + bp + "prose {" + nl + i(l + 1) + "font-size: 1rem;" + nl + i(l + 1) + "line-height: 1.75;" + nl + i(l) + "}" + nl + i(l) + bp + "prose p {" + nl + i(l + 1) + "margin-top: 1.25em;" + nl + i(l + 1) + "margin-bottom: 1.25em;" + nl + i(l) + "}" + nl + i(l) + bp + "prose img {" + nl + i(l + 1) + "margin-top: 2em;" + nl + i(l + 1) + "margin-bottom: 2em;" + nl + i(l) + "}" + nl + i(l) + bp + "prose video {" + nl + i(l + 1) + "margin-top: 2em;" + nl + i(l + 1) + "margin-bottom: 2em;" + nl + i(l) + "}" + nl + i(l) + bp + "prose figure {" + nl + i(l + 1) + "margin-top: 2em;" + nl + i(l + 1) + "margin-bottom: 2em;" + nl + i(l) + "}" + nl + i(l) + bp + "prose figure > * {" + nl + i(l + 1) + "margin-top: 0;" + nl + i(l + 1) + "margin-bottom: 0;" + nl + i(l) + "}" + nl + i(l) + bp + "prose h2 code {" + nl + i(l + 1) + "font-size: 0.875em;" + nl + i(l) + "}" + nl + i(l) + bp + "prose h3 code {" + nl + i(l + 1) + "font-size: 0.9em;" + nl + i(l) + "}" + nl + i(l) + bp + "prose ul {" + nl + i(l + 1) + "margin-top: 1.25em;" + nl + i(l + 1) + "margin-bottom: 1.25em;" + nl + i(l) + "}" + nl + i(l) + bp + "prose li {" + nl + i(l + 1) + "margin-top: 0.5em;" + nl + i(l + 1) + "margin-bottom: 0.5em;" + nl + i(l) + "}" + nl + i(l) + bp + "prose ol > li:before {" + nl + i(l + 1) + "left: 0;" + nl + i(l) + "}" + nl + i(l) + bp + "prose > ul > li p {" + nl + i(l + 1) + "margin-top: 0.75em;" + nl + i(l + 1) + "margin-bottom: 0.75em;" + nl + i(l) + "}" + nl + i(l) + bp + "prose > ul > li > :first-child {" + nl + i(l + 1) + "margin-top: 1.25em;" + nl + i(l) + "}" + nl + i(l) + bp + "prose > ul > li > :last-child {" + nl + i(l + 1) + "margin-bottom: 1.25em;" + nl + i(l) + "}" + nl + i(l) + bp + "prose > ol > li > :first-child {" + nl + i(l + 1) + "margin-top: 1.25em;" + nl + i(l) + "}" + nl + i(l) + bp + "prose > ol > li > :last-child {" + nl + i(l + 1) + "margin-bottom: 1.25em;" + nl + i(l) + "}" + nl + i(l) + bp + "prose ol ol," + nl + i(l) + bp + "prose ol ul," + nl + i(l) + bp + "prose ul ol," + nl + i(l) + bp + "prose ul ul {" + nl + i(l + 1) + "margin-top: 0.75em;" + nl + i(l + 1) + "margin-bottom: 0.75em;" + nl + i(l) + "}" + nl + i(l) + bp + "prose hr + * {" + nl + i(l + 1) + "margin-top: 0;" + nl + i(l) + "}" + nl + i(l) + bp + "prose h2 + * {" + nl + i(l + 1) + "margin-top: 0;" + nl + i(l) + "}" + nl + i(l) + bp + "prose h3 + * {" + nl + i(l + 1) + "margin-top: 0;" + nl + i(l) + "}" + nl + i(l) + bp + "prose h4 + * {" + nl + i(l + 1) + "margin-top: 0;" + nl + i(l) + "}" + nl + i(l) + bp + "prose thead th:first-child {" + nl + i(l + 1) + "padding-left: 0;" + nl + i(l) + "}" + nl + i(l) + bp + "prose thead th:last-child {" + nl + i(l + 1) + "padding-right: 0;" + nl + i(l) + "}" + nl + i(l) + bp + "prose tbody td:first-child {" + nl + i(l + 1) + "padding-left: 0;" + nl + i(l) + "}" + nl + i(l) + bp + "prose tbody td:last-child {" + nl + i(l + 1) + "padding-right: 0;" + nl + i(l) + "}" + nl + i(l) + bp + "prose > :first-child {" + nl + i(l + 1) + "margin-top: 0;" + nl + i(l) + "}" + nl + i(l) + bp + "prose > :last-child {" + nl + i(l + 1) + "margin-bottom: 0;" + nl + i(l) + "}" + nl + i(l) + bp + "prose h1," + nl + i(l) + bp + "prose h2," + nl + i(l) + bp + "prose h3," + nl + i(l) + bp + "prose h4 {" + nl + i(l + 1) + "color: #161e2e;" + nl + i(l) + "}" + nl;
};
proseTypes.set("prose", prose);
// deno-lint-ignore ban-types
const proseSm = (l, i, nl, bp)=>{
return i(l) + bp + "prose-sm {" + nl + i(l + 1) + "font-size: 0.875rem;" + nl + i(l + 1) + "line-height: 1.7142857;" + nl + i(l) + "}" + nl + i(l) + bp + "prose-sm p {" + nl + i(l + 1) + "margin-top: 1.1428571em;" + nl + i(l + 1) + "margin-bottom: 1.1428571em;" + nl + i(l) + "}" + nl + i(l) + bp + 'prose-sm [class~="lead"] {' + nl + i(l + 1) + "font-size: 1.2857143em;" + nl + i(l + 1) + "line-height: 1.5555556;" + nl + i(l + 1) + "margin-top: 0.8888889em;" + nl + i(l + 1) + "margin-bottom: 0.8888889em;" + nl + i(l) + "}" + nl + i(l) + bp + "prose-sm blockquote {" + nl + i(l + 1) + "margin-top: 1.3333333em;" + nl + i(l + 1) + "margin-bottom: 1.3333333em;" + nl + i(l + 1) + "padding-left: 1.1111111em;" + nl + i(l) + "}" + nl + i(l) + bp + "prose-sm h1 {" + nl + i(l + 1) + "font-size: 2.1428571em;" + nl + i(l + 1) + "margin-top: 0;" + nl + i(l + 1) + "margin-bottom: 0.8em;" + nl + i(l + 1) + "line-height: 1.2;" + nl + i(l) + "}" + nl + i(l) + bp + "prose-sm h2 {" + nl + i(l + 1) + "font-size: 1.4285714em;" + nl + i(l + 1) + "margin-top: 1.6em;" + nl + i(l + 1) + "margin-bottom: 0.8em;" + nl + i(l + 1) + "line-height: 1.4;" + nl + i(l) + "}" + nl + i(l) + bp + "prose-sm h3 {" + nl + i(l + 1) + "font-size: 1.2857143em;" + nl + i(l + 1) + "margin-top: 1.5555556em;" + nl + i(l + 1) + "margin-bottom: 0.4444444em;" + nl + i(l + 1) + "line-height: 1.5555556;" + nl + i(l) + "}" + nl + i(l) + bp + "prose-sm h4 {" + nl + i(l + 1) + "margin-top: 1.4285714em;" + nl + i(l + 1) + "margin-bottom: 0.5714286em;" + nl + i(l + 1) + "line-height: 1.4285714;" + nl + i(l) + "}" + nl + i(l) + bp + "prose-sm img {" + nl + i(l + 1) + "margin-top: 1.7142857em;" + nl + i(l + 1) + "margin-bottom: 1.7142857em;" + nl + i(l) + "}" + nl + i(l) + bp + "prose-sm video {" + nl + i(l + 1) + "margin-top: 1.7142857em;" + nl + i(l + 1) + "margin-bottom: 1.7142857em;" + nl + i(l) + "}" + nl + i(l) + bp + "prose-sm figure {" + nl + i(l + 1) + "margin-top: 1.7142857em;" + nl + i(l + 1) + "margin-bottom: 1.7142857em;" + nl + i(l) + "}" + nl + i(l) + bp + "prose-sm figure > * {" + nl + i(l + 1) + "margin-top: 0;" + nl + i(l + 1) + "margin-bottom: 0;" + nl + i(l) + "}" + nl + i(l) + bp + "prose-sm figure figcaption {" + nl + i(l + 1) + "font-size: 0.8571429em;" + nl + i(l + 1) + "line-height: 1.3333333;" + nl + i(l + 1) + "margin-top: 0.6666667em;" + nl + i(l) + "}" + nl + i(l) + bp + "prose-sm code {" + nl + i(l + 1) + "font-size: 0.8571429em;" + nl + i(l) + "}" + nl + i(l) + bp + "prose-sm h2 code {" + nl + i(l + 1) + "font-size: 0.9em;" + nl + i(l) + "}" + nl + i(l) + bp + "prose-sm h3 code {" + nl + i(l + 1) + "font-size: 0.8888889em;" + nl + i(l) + "}" + nl + i(l) + bp + "prose-sm pre {" + nl + i(l + 1) + "font-size: 0.8571429em;" + nl + i(l + 1) + "line-height: 1.6666667;" + nl + i(l + 1) + "margin-top: 1.6666667em;" + nl + i(l + 1) + "margin-bottom: 1.6666667em;" + nl + i(l + 1) + "border-radius: 0.25rem;" + nl + i(l + 1) + "padding-top: 0.6666667em;" + nl + i(l + 1) + "padding-right: 1em;" + nl + i(l + 1) + "padding-bottom: 0.6666667em;" + nl + i(l + 1) + "padding-left: 1em;" + nl + i(l) + "}" + nl + i(l) + bp + "prose-sm ol {" + nl + i(l + 1) + "margin-top: 1.1428571em;" + nl + i(l + 1) + "margin-bottom: 1.1428571em;" + nl + i(l) + "}" + nl + i(l) + bp + "prose-sm ul {" + nl + i(l + 1) + "margin-top: 1.1428571em;" + nl + i(l + 1) + "margin-bottom: 1.1428571em;" + nl + i(l) + "}" + nl + i(l) + bp + "prose-sm li {" + nl + i(l + 1) + "margin-top: 0.2857143em;" + nl + i(l + 1) + "margin-bottom: 0.2857143em;" + nl + i(l) + "}" + nl + i(l) + bp + "prose-sm ol > li {" + nl + i(l + 1) + "padding-left: 1.5714286em;" + nl + i(l) + "}" + nl + i(l) + bp + "prose-sm ol > li:before {" + nl + i(l + 1) + "left: 0;" + nl + i(l) + "}" + nl + i(l) + bp + "prose-sm ul > li {" + nl + i(l + 1) + "padding-left: 1.5714286em;" + nl + i(l) + "}" + nl + i(l) + bp + "prose-sm ul > li::before {" + nl + i(l + 1) + "height: 0.3571429em;" + nl + i(l + 1) + "width: 0.3571429em;" + nl + i(l + 1) + "top: calc(0.8571429em - 0.1785714em);" + nl + i(l + 1) + "left: 0.2142857em;" + nl + i(l) + "}" + nl + i(l) + bp + "prose-sm > ul > li p {" + nl + i(l + 1) + "margin-top: 0.5714286em;" + nl + i(l + 1) + "margin-bottom: 0.5714286em;" + nl + i(l) + "}" + nl + i(l) + bp + "prose-sm > ul > li > :first-child {" + nl + i(l + 1) + "margin-top: 1.1428571em;" + nl + i(l) + "}" + nl + i(l) + bp + "prose-sm > ul > li > :last-child {" + nl + i(l + 1) + "margin-bottom: 1.1428571em;" + nl + i(l) + "}" + nl + i(l) + bp + "prose-sm > ol > li > :first-child {" + nl + i(l + 1) + "margin-top: 1.1428571em;" + nl + i(l) + "}" + nl + i(l) + bp + "prose-sm > ol > li > :last-child {" + nl + i(l + 1) + "margin-bottom: 1.1428571em;" + nl + i(l) + "}" + nl + i(l) + bp + "prose-sm ol ol," + nl + i(l) + bp + "prose-sm ol ul," + nl + i(l) + bp + "prose-sm ul ol," + nl + i(l) + bp + "prose-sm ul ul {" + nl + i(l + 1) + "margin-top: 0.5714286em;" + nl + i(l + 1) + "margin-bottom: 0.5714286em;" + nl + i(l) + "}" + nl + i(l) + bp + "prose-sm hr {" + nl + i(l + 1) + "margin-top: 2.8571429em;" + nl + i(l + 1) + "margin-bottom: 2.8571429em;" + nl + i(l) + "}" + nl + i(l) + bp + "prose-sm hr + * {" + nl + i(l + 1) + "margin-top: 0;" + nl + i(l) + "}" + nl + i(l) + bp + "prose-sm h2 + * {" + nl + i(l + 1) + "margin-top: 0;" + nl + i(l) + "}" + nl + i(l) + bp + "prose-sm h3 + * {" + nl + i(l + 1) + "margin-top: 0;" + nl + i(l) + "}" + nl + i(l) + bp + "prose-sm h4 + * {" + nl + i(l + 1) + "margin-top: 0;" + nl + i(l) + "}" + nl + i(l) + bp + "prose-sm table {" + nl + i(l + 1) + "font-size: 0.8571429em;" + nl + i(l + 1) + "line-height: 1.5;" + nl + i(l) + "}" + nl + i(l) + bp + "prose-sm thead th {" + nl + i(l + 1) + "padding-right: 1em;" + nl + i(l + 1) + "padding-bottom: 0.6666667em;" + nl + i(l + 1) + "padding-left: 1em;" + nl + i(l) + "}" + nl + i(l) + bp + "prose-sm thead th:first-child {" + nl + i(l + 1) + "padding-left: 0;" + nl + i(l) + "}" + nl + i(l) + bp + "prose-sm thead th:last-child {" + nl + i(l + 1) + "padding-right: 0;" + nl + i(l) + "}" + nl + i(l) + bp + "prose-sm tbody td {" + nl + i(l + 1) + "padding-top: 0.6666667em;" + nl + i(l + 1) + "padding-right: 1em;" + nl + i(l + 1) + "padding-bottom: 0.6666667em;" + nl + i(l + 1) + "padding-left: 1em;" + nl + i(l) + "}" + nl + i(l) + bp + "prose-sm tbody td:first-child {" + nl + i(l + 1) + "padding-left: 0;" + nl + i(l) + "}" + nl + i(l) + bp + "prose-sm tbody td:last-child {" + nl + i(l + 1) + "padding-right: 0;" + nl + i(l) + "}" + nl + i(l) + bp + "prose-sm > :first-child {" + nl + i(l + 1) + "margin-top: 0;" + nl + i(l) + "}" + nl + i(l) + bp + "prose-sm > :last-child {" + nl + i(l + 1) + "margin-bottom: 0;" + nl + i(l) + "}" + nl;
};
proseTypes.set("prose-sm", proseSm);
// deno-lint-ignore ban-types
const proseLg = (l, i, nl, bp)=>{
return i(l) + bp + "prose-lg {" + nl + i(l + 1) + "font-size: 1.125rem;" + nl + i(l + 1) + "line-height: 1.7777778;" + nl + i(l) + "}" + nl + i(l) + bp + "prose-lg p {" + nl + i(l + 1) + "margin-top: 1.3333333em;" + nl + i(l + 1) + "margin-bottom: 1.3333333em;" + nl + i(l) + "}" + nl + i(l) + bp + 'prose-lg [class~="lead"] {' + nl + i(l + 1) + "font-size: 1.2222222em;" + nl + i(l + 1) + "line-height: 1.4545455;" + nl + i(l + 1) + "margin-top: 1.0909091em;" + nl + i(l + 1) + "margin-bottom: 1.0909091em;" + nl + i(l) + "}" + nl + i(l) + bp + "prose-lg blockquote {" + nl + i(l + 1) + "margin-top: 1.6666667em;" + nl + i(l + 1) + "margin-bottom: 1.6666667em;" + nl + i(l + 1) + "padding-left: 1em;" + nl + i(l) + "}" + nl + i(l) + bp + "prose-lg h1 {" + nl + i(l + 1) + "font-size: 2.6666667em;" + nl + i(l + 1) + "margin-top: 0;" + nl + i(l + 1) + "margin-bottom: 0.8333333em;" + nl + i(l + 1) + "line-height: 1;" + nl + i(l) + "}" + nl + i(l) + bp + "prose-lg h2 {" + nl + i(l + 1) + "font-size: 1.6666667em;" + nl + i(l + 1) + "margin-top: 1.8666667em;" + nl + i(l + 1) + "margin-bottom: 1.0666667em;" + nl + i(l + 1) + "line-height: 1.3333333;" + nl + i(l) + "}" + nl + i(l) + bp + "prose-lg h3 {" + nl + i(l + 1) + "font-size: 1.3333333em;" + nl + i(l + 1) + "margin-top: 1.6666667em;" + nl + i(l + 1) + "margin-bottom: 0.6666667em;" + nl + i(l + 1) + "line-height: 1.5;" + nl + i(l) + "}" + nl + i(l) + bp + "prose-lg h4 {" + nl + i(l + 1) + "margin-top: 1.7777778em;" + nl + i(l + 1) + "margin-bottom: 0.4444444em;" + nl + i(l + 1) + "line-height: 1.5555556;" + nl + i(l) + "}" + nl + i(l) + bp + "prose-lg img {" + nl + i(l + 1) + "margin-top: 1.7777778em;" + nl + i(l + 1) + "margin-bottom: 1.7777778em;" + nl + i(l) + "}" + nl + i(l) + bp + "prose-lg video {" + nl + i(l + 1) + "margin-top: 1.7777778em;" + nl + i(l + 1) + "margin-bottom: 1.7777778em;" + nl + i(l) + "}" + nl + i(l) + bp + "prose-lg figure {" + nl + i(l + 1) + "margin-top: 1.7777778em;" + nl + i(l + 1) + "margin-bottom: 1.7777778em;" + nl + i(l) + "}" + nl + i(l) + bp + "prose-lg figure > * {" + nl + i(l + 1) + "margin-top: 0;" + nl + i(l + 1) + "margin-bottom: 0;" + nl + i(l) + "}" + nl + i(l) + bp + "prose-lg figure figcaption {" + nl + i(l + 1) + "font-size: 0.8888889em;" + nl + i(l + 1) + "line-height: 1.5;" + nl + i(l + 1) + "margin-top: 1em;" + nl + i(l) + "}" + nl + i(l) + bp + "prose-lg code {" + nl + i(l + 1) + "font-size: 0.8888889em;" + nl + i(l) + "}" + nl + i(l) + bp + "prose-lg h2 code {" + nl + i(l + 1) + "font-size: 0.8666667em;" + nl + i(l) + "}" + nl + i(l) + bp + "prose-lg h3 code {" + nl + i(l + 1) + "font-size: 0.875em;" + nl + i(l) + "}" + nl + i(l) + bp + "prose-lg pre {" + nl + i(l + 1) + "font-size: 0.8888889em;" + nl + i(l + 1) + "line-height: 1.75;" + nl + i(l + 1) + "margin-top: 2em;" + nl + i(l + 1) + "margin-bottom: 2em;" + nl + i(l + 1) + "border-radius: 0.375rem;" + nl + i(l + 1) + "padding-top: 1em;" + nl + i(l + 1) + "padding-right: 1.5em;" + nl + i(l + 1) + "padding-bottom: 1em;" + nl + i(l + 1) + "padding-left: 1.5em;" + nl + i(l) + "}" + nl + i(l) + bp + "prose-lg ol {" + nl + i(l + 1) + "margin-top: 1.3333333em;" + nl + i(l + 1) + "margin-bottom: 1.3333333em;" + nl + i(l) + "}" + nl + i(l) + bp + "prose-lg ul {" + nl + i(l + 1) + "margin-top: 1.3333333em;" + nl + i(l + 1) + "margin-bottom: 1.3333333em;" + nl + i(l) + "}" + nl + i(l) + bp + "prose-lg li {" + nl + i(l + 1) + "margin-top: 0.6666667em;" + nl + i(l + 1) + "margin-bottom: 0.6666667em;" + nl + i(l) + "}" + nl + i(l) + bp + "prose-lg ol > li {" + nl + i(l + 1) + "padding-left: 1.6666667em;" + nl + i(l) + "}" + nl + i(l) + bp + "prose-lg ol > li:before {" + nl + i(l + 1) + "left: 0;" + nl + i(l) + "}" + nl + i(l) + bp + "prose-lg ul > li {" + nl + i(l + 1) + "padding-left: 1.6666667em;" + nl + i(l) + "}" + nl + i(l) + bp + "prose-lg ul > li::before {" + nl + i(l + 1) + "width: 0.3333333em;" + nl + i(l + 1) + "height: 0.3333333em;" + nl + i(l + 1) + "top: calc(0.8888889em - 0.1666667em);" + nl + i(l + 1) + "left: 0.2222222em;" + nl + i(l) + "}" + nl + i(l) + bp + "prose-lg > ul > li p {" + nl + i(l + 1) + "margin-top: 0.8888889em;" + nl + i(l + 1) + "margin-bottom: 0.8888889em;" + nl + i(l) + "}" + nl + i(l) + bp + "prose-lg > ul > li > :first-child {" + nl + i(l + 1) + "margin-top: 1.3333333em;" + nl + i(l) + "}" + nl + i(l) + bp + "prose-lg > ul > li > :last-child {" + nl + i(l + 1) + "margin-bottom: 1.3333333em;" + nl + i(l) + "}" + nl + i(l) + bp + "prose-lg > ol > li > :first-child {" + nl + i(l + 1) + "margin-top: 1.3333333em;" + nl + i(l) + "}" + nl + i(l) + bp + "prose-lg > ol > li > :last-child {" + nl + i(l + 1) + "margin-bottom: 1.3333333em;" + nl + i(l) + "}" + nl + i(l) + bp + "prose-lg ol ol," + nl + i(l) + bp + "prose-lg ol ul," + nl + i(l) + bp + "prose-lg ul ol," + nl + i(l) + bp + "prose-lg ul ul {" + nl + i(l + 1) + "margin-top: 0.8888889em;" + nl + i(l + 1) + "margin-bottom: 0.8888889em;" + nl + i(l) + "}" + nl + i(l) + bp + "prose-lg hr {" + nl + i(l + 1) + "margin-top: 3.1111111em;" + nl + i(l + 1) + "margin-bottom: 3.1111111em;" + nl + i(l) + "}" + nl + i(l) + bp + "prose-lg hr + * {" + nl + i(l + 1) + "margin-top: 0;" + nl + i(l) + "}" + nl + i(l) + bp + "prose-lg h2 + * {" + nl + i(l + 1) + "margin-top: 0;" + nl + i(l) + "}" + nl + i(l) + bp + "prose-lg h3 + * {" + nl + i(l + 1) + "margin-top: 0;" + nl + i(l) + "}" + nl + i(l) + bp + "prose-lg h4 + * {" + nl + i(l + 1) + "margin-top: 0;" + nl + i(l) + "}" + nl + i(l) + bp + "prose-lg table {" + nl + i(l + 1) + "font-size: 0.8888889em;" + nl + i(l + 1) + "line-height: 1.5;" + nl + i(l) + "}" + nl + i(l) + bp + "prose-lg thead th {" + nl + i(l + 1) + "padding-right: 0.75em;" + nl + i(l + 1) + "padding-bottom: 0.75em;" + nl + i(l + 1) + "padding-left: 0.75em;" + nl + i(l) + "}" + nl + i(l) + bp + "prose-lg thead th:first-child {" + nl + i(l + 1) + "padding-left: 0;" + nl + i(l) + "}" + nl + i(l) + bp + "prose-lg thead th:last-child {" + nl + i(l + 1) + "padding-right: 0;" + nl + i(l) + "}" + nl + i(l) + bp + "prose-lg tbody td {" + nl + i(l + 1) + "padding-top: 0.75em;" + nl + i(l + 1) + "padding-right: 0.75em;" + nl + i(l + 1) + "padding-bottom: 0.75em;" + nl + i(l + 1) + "padding-left: 0.75em;" + nl + i(l) + "}" + nl + i(l) + bp + "prose-lg tbody td:first-child {" + nl + i(l + 1) + "padding-left: 0;" + nl + i(l) + "}" + nl + i(l) + bp + "prose-lg tbody td:last-child {" + nl + i(l + 1) + "padding-right: 0;" + nl + i(l) + "}" + nl + i(l) + bp + "prose-lg > :first-child {" + nl + i(l + 1) + "margin-top: 0;" + nl + i(l) + "}" + nl + i(l) + bp + "prose-lg > :last-child {" + nl + i(l + 1) + "margin-bottom: 0;" + nl + i(l) + "}" + nl;
};
proseTypes.set("prose-lg", proseLg);
// deno-lint-ignore ban-types
const proseXl = (l, i, nl, bp)=>{
return i(l) + bp + "prose-xl {" + nl + i(l + 1) + "font-size: 1.25rem;" + nl + i(l + 1) + "line-height: 1.8;" + nl + i(l) + "}" + nl + i(l) + bp + "prose-xl p {" + nl + i(l + 1) + "margin-top: 1.2em;" + nl + i(l + 1) + "margin-bottom: 1.2em;" + nl + i(l) + "}" + nl + i(l) + bp + 'prose-xl [class~="lead"] {' + nl + i(l + 1) + "font-size: 1.2em;" + nl + i(l + 1) + "line-height: 1.5;" + nl + i(l + 1) + "margin-top: 1em;" + nl + i(l + 1) + "margin-bottom: 1em;" + nl + i(l) + "}" + nl + i(l) + bp + "prose-xl blockquote {" + nl + i(l + 1) + "margin-top: 1.6em;" + nl + i(l + 1) + "margin-bottom: 1.6em;" + nl + i(l + 1) + "padding-left: 1.0666667em;" + nl + i(l) + "}" + nl + i(l) + bp + "prose-xl h1 {" + nl + i(l + 1) + "font-size: 2.8em;" + nl + i(l + 1) + "margin-top: 0;" + nl + i(l + 1) + "margin-bottom: 0.8571429em;" + nl + i(l + 1) + "line-height: 1;" + nl + i(l) + "}" + nl + i(l) + bp + "prose-xl h2 {" + nl + i(l + 1) + "font-size: 1.8em;" + nl + i(l + 1) + "margin-top: 1.5555556em;" + nl + i(l + 1) + "margin-bottom: 0.8888889em;" + nl + i(l + 1) + "line-height: 1.1111111;" + nl + i(l) + "}" + nl + i(l) + bp + "prose-xl h3 {" + nl + i(l + 1) + "font-size: 1.5em;" + nl + i(l + 1) + "margin-top: 1.6em;" + nl + i(l + 1) + "margin-bottom: 0.6666667em;" + nl + i(l + 1) + "line-height: 1.3333333;" + nl + i(l) + "}" + nl + i(l) + bp + "prose-xl h4 {" + nl + i(l + 1) + "margin-top: 1.8em;" + nl + i(l + 1) + "margin-bottom: 0.6em;" + nl + i(l + 1) + "line-height: 1.6;" + nl + i(l) + "}" + nl + i(l) + bp + "prose-xl img {" + nl + i(l + 1) + "margin-top: 2em;" + nl + i(l + 1) + "margin-bottom: 2em;" + nl + i(l) + "}" + nl + i(l) + bp + "prose-xl video {" + nl + i(l + 1) + "margin-top: 2em;" + nl + i(l + 1) + "margin-bottom: 2em;" + nl + i(l) + "}" + nl + i(l) + bp + "prose-xl figure {" + nl + i(l + 1) + "margin-top: 2em;" + nl + i(l + 1) + "margin-bottom: 2em;" + nl + i(l) + "}" + nl + i(l) + bp + "prose-xl figure > * {" + nl + i(l + 1) + "margin-top: 0;" + nl + i(l + 1) + "margin-bottom: 0;" + nl + i(l) + "}" + nl + i(l) + bp + "prose-xl figure figcaption {" + nl + i(l + 1) + "font-size: 0.9em;" + nl + i(l + 1) + "line-height: 1.5555556;" + nl + i(l + 1) + "margin-top: 1em;" + nl + i(l) + "}" + nl + i(l) + bp + "prose-xl code {" + nl + i(l + 1) + "font-size: 0.9em;" + nl + i(l) + "}" + nl + i(l) + bp + "prose-xl h2 code {" + nl + i(l + 1) + "font-size: 0.8611111em;" + nl + i(l) + "}" + nl + i(l) + bp + "prose-xl h3 code {" + nl + i(l + 1) + "font-size: 0.9em;" + nl + i(l) + "}" + nl + i(l) + bp + "prose-xl pre {" + nl + i(l + 1) + "font-size: 0.9em;" + nl + i(l + 1) + "line-height: 1.7777778;" + nl + i(l + 1) + "margin-top: 2em;" + nl + i(l + 1) + "margin-bottom: 2em;" + nl + i(l + 1) + "border-radius: 0.5rem;" + nl + i(l + 1) + "padding-top: 1.1111111em;" + nl + i(l + 1) + "padding-right: 1.3333333em;" + nl + i(l + 1) + "padding-bottom: 1.1111111em;" + nl + i(l + 1) + "padding-left: 1.3333333em;" + nl + i(l) + "}" + nl + i(l) + bp + "prose-xl ol {" + nl + i(l + 1) + "margin-top: 1.2em;" + nl + i(l + 1) + "margin-bottom: 1.2em;" + nl + i(l) + "}" + nl + i(l) + bp + "prose-xl ul {" + nl + i(l + 1) + "margin-top: 1.2em;" + nl + i(l + 1) + "margin-bottom: 1.2em;" + nl + i(l) + "}" + nl + i(l) + bp + "prose-xl li {" + nl + i(l + 1) + "margin-top: 0.6em;" + nl + i(l + 1) + "margin-bottom: 0.6em;" + nl + i(l) + "}" + nl + i(l) + bp + "prose-xl ol > li {" + nl + i(l + 1) + "padding-left: 1.8em;" + nl + i(l) + "}" + nl + i(l) + bp + "prose-xl ol > li:before {" + nl + i(l + 1) + "left: 0;" + nl + i(l) + "}" + nl + i(l) + bp + "prose-xl ul > li {" + nl + i(l + 1) + "padding-left: 1.8em;" + nl + i(l) + "}" + nl + i(l) + bp + "prose-xl ul > li::before {" + nl + i(l + 1) + "width: 0.35em;" + nl + i(l + 1) + "height: 0.35em;" + nl + i(l + 1) + "top: calc(0.9em - 0.175em);" + nl + i(l + 1) + "left: 0.25em;" + nl + i(l) + "}" + nl + i(l) + bp + "prose-xl > ul > li p {" + nl + i(l + 1) + "margin-top: 0.8em;" + nl + i(l + 1) + "margin-bottom: 0.8em;" + nl + i(l) + "}" + nl + i(l) + bp + "prose-xl > ul > li > :first-child {" + nl + i(l + 1) + "margin-top: 1.2em;" + nl + i(l) + "}" + nl + i(l) + bp + "prose-xl > ul > li > :last-child {" + nl + i(l + 1) + "margin-bottom: 1.2em;" + nl + i(l) + "}" + nl + i(l) + bp + "prose-xl > ol > li > :first-child {" + nl + i(l + 1) + "margin-top: 1.2em;" + nl + i(l) + "}" + nl + i(l) + bp + "prose-xl > ol > li > :last-child {" + nl + i(l + 1) + "margin-bottom: 1.2em;" + nl + i(l) + "}" + nl + i(l) + bp + "prose-xl ol ol," + nl + i(l) + bp + "prose-xl ol ul," + nl + i(l) + bp + "prose-xl ul ol," + nl + i(l) + bp + "prose-xl ul ul {" + nl + i(l + 1) + "margin-top: 0.8em;" + nl + i(l + 1) + "margin-bottom: 0.8em;" + nl + i(l) + "}" + nl + i(l) + bp + "prose-xl hr {" + nl + i(l + 1) + "margin-top: 2.8em;" + nl + i(l + 1) + "margin-bottom: 2.8em;" + nl + i(l) + "}" + nl + i(l) + bp + "prose-xl hr + * {" + nl + i(l + 1) + "margin-top: 0;" + nl + i(l) + "}" + nl + i(l) + bp + "prose-xl h2 + * {" + nl + i(l + 1) + "margin-top: 0;" + nl + i(l) + "}" + nl + i(l) + bp + "prose-xl h3 + * {" + nl + i(l + 1) + "margin-top: 0;" + nl + i(l) + "}" + nl + i(l) + bp + "prose-xl h4 + * {" + nl + i(l + 1) + "margin-top: 0;" + nl + i(l) + "}" + nl + i(l) + bp + "prose-xl table {" + nl + i(l + 1) + "font-size: 0.9em;" + nl + i(l + 1) + "line-height: 1.5555556;" + nl + i(l) + "}" + nl + i(l) + bp + "prose-xl thead th {" + nl + i(l + 1) + "padding-right: 0.6666667em;" + nl + i(l + 1) + "padding-bottom: 0.8888889em;" + nl + i(l + 1) + "padding-left: 0.6666667em;" + nl + i(l) + "}" + nl + i(l) + bp + "prose-xl thead th:first-child {" + nl + i(l + 1) + "padding-left: 0;" + nl + i(l) + "}" + nl + i(l) + bp + "prose-xl thead th:last-child {" + nl + i(l + 1) + "padding-right: 0;" + nl + i(l) + "}" + nl + i(l) + bp + "prose-xl tbody td {" + nl + i(l + 1) + "padding-top: 0.8888889em;" + nl + i(l + 1) + "padding-right: 0.6666667em;" + nl + i(l + 1) + "padding-bottom: 0.8888889em;" + nl + i(l + 1) + "padding-left: 0.6666667em;" + nl + i(l) + "}" + nl + i(l) + bp + "prose-xl tbody td:first-child {" + nl + i(l + 1) + "padding-left: 0;" + nl + i(l) + "}" + nl + i(l) + bp + "prose-xl tbody td:last-child {" + nl + i(l + 1) + "padding-right: 0;" + nl + i(l) + "}" + nl + i(l) + bp + "prose-xl > :first-child {" + nl + i(l + 1) + "margin-top: 0;" + nl + i(l) + "}" + nl + i(l) + bp + "prose-xl > :last-child {" + nl + i(l + 1) + "margin-bottom: 0;" + nl + i(l) + "}" + nl;
};
proseTypes.set("prose-xl", proseXl);
// deno-lint-ignore ban-types
const prose2xl = (l, i, nl, bp)=>{
return i(l) + bp + "prose-2xl {" + nl + i(l + 1) + "font-size: 1.5rem;" + nl + i(l + 1) + "line-height: 1.6666667;" + nl + i(l) + "}" + nl + i(l) + bp + "prose-2xl p {" + nl + i(l + 1) + "margin-top: 1.3333333em;" + nl + i(l + 1) + "margin-bottom: 1.3333333em;" + nl + i(l) + "}" + nl + i(l) + bp + 'prose-2xl [class~="lead"] {' + nl + i(l + 1) + "font-size: 1.25em;" + nl + i(l + 1) + "line-height: 1.4666667;" + nl + i(l + 1) + "margin-top: 1.0666667em;" + nl + i(l + 1) + "margin-bottom: 1.0666667em;" + nl + i(l) + "}" + nl + i(l) + bp + "prose-2xl blockquote {" + nl + i(l + 1) + "margin-top: 1.7777778em;" + nl + i(l + 1) + "margin-bottom: 1.7777778em;" + nl + i(l + 1) + "padding-left: 1.1111111em;" + nl + i(l) + "}" + nl + i(l) + bp + "prose-2xl h1 {" + nl + i(l + 1) + "font-size: 2.6666667em;" + nl + i(l + 1) + "margin-top: 0;" + nl + i(l + 1) + "margin-bottom: 0.875em;" + nl + i(l + 1) + "line-height: 1;" + nl + i(l) + "}" + nl + i(l) + bp + "prose-2xl h2 {" + nl + i(l + 1) + "font-size: 2em;" + nl + i(l + 1) + "margin-top: 1.5em;" + nl + i(l + 1) + "margin-bottom: 0.8333333em;" + nl + i(l + 1) + "line-height: 1.0833333;" + nl + i(l) + "}" + nl + i(l) + bp + "prose-2xl h3 {" + nl + i(l + 1) + "font-size: 1.5em;" + nl + i(l + 1) + "margin-top: 1.5555556em;" + nl + i(l + 1) + "margin-bottom: 0.6666667em;" + nl + i(l + 1) + "line-height: 1.2222222;" + nl + i(l) + "}" + nl + i(l) + bp + "prose-2xl h4 {" + nl + i(l + 1) + "margin-top: 1.6666667em;" + nl + i(l + 1) + "margin-bottom: 0.6666667em;" + nl + i(l + 1) + "line-height: 1.5;" + nl + i(l) + "}" + nl + i(l) + bp + "prose-2xl img {" + nl + i(l + 1) + "margin-top: 2em;" + nl + i(l + 1) + "margin-bottom: 2em;" + nl + i(l) + "}" + nl + i(l) + bp + "prose-2xl video {" + nl + i(l + 1) + "margin-top: 2em;" + nl + i(l + 1) + "margin-bottom: 2em;" + nl + i(l) + "}" + nl + i(l) + bp + "prose-2xl figure {" + nl + i(l + 1) + "margin-top: 2em;" + nl + i(l + 1) + "margin-bottom: 2em;" + nl + i(l) + "}" + nl + i(l) + bp + "prose-2xl figure > * {" + nl + i(l + 1) + "margin-top: 0;" + nl + i(l + 1) + "margin-bottom: 0;" + nl + i(l) + "}" + nl + i(l) + bp + "prose-2xl figure figcaption {" + nl + i(l + 1) + "font-size: 0.8333333em;" + nl + i(l + 1) + "line-height: 1.6;" + nl + i(l + 1) + "margin-top: 1em;" + nl + i(l) + "}" + nl + i(l) + bp + "prose-2xl code {" + nl + i(l + 1) + "font-size: 0.8333333em;" + nl + i(l) + "}" + nl + i(l) + bp + "prose-2xl h2 code {" + nl + i(l + 1) + "font-size: 0.875em;" + nl + i(l) + "}" + nl + i(l) + bp + "prose-2xl h3 code {" + nl + i(l + 1) + "font-size: 0.8888889em;" + nl + i(l) + "}" + nl + i(l) + bp + "prose-2xl pre {" + nl + i(l + 1) + "font-size: 0.8333333em;" + nl + i(l + 1) + "line-height: 1.8;" + nl + i(l + 1) + "margin-top: 2em;" + nl + i(l + 1) + "margin-bottom: 2em;" + nl + i(l + 1) + "border-radius: 0.5rem;" + nl + i(l + 1) + "padding-top: 1.2em;" + nl + i(l + 1) + "padding-right: 1.6em;" + nl + i(l + 1) + "padding-bottom: 1.2em;" + nl + i(l + 1) + "padding-left: 1.6em;" + nl + i(l) + "}" + nl + i(l) + bp + "prose-2xl ol {" + nl + i(l + 1) + "margin-top: 1.3333333em;" + nl + i(l + 1) + "margin-bottom: 1.3333333em;" + nl + i(l) + "}" + nl + i(l) + bp + "prose-2xl ul {" + nl + i(l + 1) + "margin-top: 1.3333333em;" + nl + i(l + 1) + "margin-bottom: 1.3333333em;" + nl + i(l) + "}" + nl + i(l) + bp + "prose-2xl li {" + nl + i(l + 1) + "margin-top: 0.5em;" + nl + i(l + 1) + "margin-bottom: 0.5em;" + nl + i(l) + "}" + nl + i(l) + bp + "prose-2xl ol > li {" + nl + i(l + 1) + "padding-left: 1.6666667em;" + nl + i(l) + "}" + nl + i(l) + bp + "prose-2xl ol > li:before {" + nl + i(l + 1) + "left: 0;" + nl + i(l) + "}" + nl + i(l) + bp + "prose-2xl ul > li {" + nl + i(l + 1) + "padding-left: 1.6666667em;" + nl + i(l) + "}" + nl + i(l) + bp + "prose-2xl ul > li::before {" + nl + i(l + 1) + "width: 0.3333333em;" + nl + i(l + 1) + "height: 0.3333333em;" + nl + i(l + 1) + "top: calc(0.8333333em - 0.1666667em);" + nl + i(l + 1) + "left: 0.25em;" + nl + i(l) + "}" + nl + i(l) + bp + "prose-2xl > ul > li p {" + nl + i(l + 1) + "margin-top: 0.8333333em;" + nl + i(l + 1) + "margin-bottom: 0.8333333em;" + nl + i(l) + "}" + nl + i(l) + bp + "prose-2xl > ul > li > :first-child {" + nl + i(l + 1) + "margin-top: 1.3333333em;" + nl + i(l) + "}" + nl + i(l) + bp + "prose-2xl > ul > li > :last-child {" + nl + i(l + 1) + "margin-bottom: 1.3333333em;" + nl + i(l) + "}" + nl + i(l) + bp + "prose-2xl > ol > li > :first-child {" + nl + i(l + 1) + "margin-top: 1.3333333em;" + nl + i(l) + "}" + nl + i(l) + bp + "prose-2xl > ol > li > :last-child {" + nl + i(l + 1) + "margin-bottom: 1.3333333em;" + nl + i(l) + "}" + nl + i(l) + bp + "prose-2xl ol ol," + nl + i(l) + bp + "prose-2xl ol ul," + nl + i(l) + bp + "prose-2xl ul ol," + nl + i(l) + bp + "prose-2xl ul ul {" + nl + i(l + 1) + "margin-top: 0.6666667em;" + nl + i(l + 1) + "margin-bottom: 0.6666667em;" + nl + i(l) + "}" + nl + i(l) + bp + "prose-2xl hr {" + nl + i(l + 1) + "margin-top: 3em;" + nl + i(l + 1) + "margin-bottom: 3em;" + nl + i(l) + "}" + nl + i(l) + bp + "prose-2xl hr + * {" + nl + i(l + 1) + "margin-top: 0;" + nl + i(l) + "}" + nl + i(l) + bp + "prose-2xl h2 + * {" + nl + i(l + 1) + "margin-top: 0;" + nl + i(l) + "}" + nl + i(l) + bp + "prose-2xl h3 + * {" + nl + i(l + 1) + "margin-top: 0;" + nl + i(l) + "}" + nl + i(l) + bp + "prose-2xl h4 + * {" + nl + i(l + 1) + "margin-top: 0;" + nl + i(l) + "}" + nl + i(l) + bp + "prose-2xl table {" + nl + i(l + 1) + "font-size: 0.8333333em;" + nl + i(l + 1) + "line-height: 1.4;" + nl + i(l) + "}" + nl + i(l) + bp + "prose-2xl thead th {" + nl + i(l + 1) + "padding-right: 0.6em;" + nl + i(l + 1) + "padding-bottom: 0.8em;" + nl + i(l + 1) + "padding-left: 0.6em;" + nl + i(l) + "}" + nl + i(l) + bp + "prose-2xl thead th:first-child {" + nl + i(l + 1) + "padding-left: 0;" + nl + i(l) + "}" + nl + i(l) + bp + "prose-2xl thead th:last-child {" + nl + i(l + 1) + "padding-right: 0;" + nl + i(l) + "}" + nl + i(l) + bp + "prose-2xl tbody td {" + nl + i(l + 1) + "padding-top: 0.8em;" + nl + i(l + 1) + "padding-right: 0.6em;" + nl + i(l + 1) + "padding-bottom: 0.8em;" + nl + i(l + 1) + "padding-left: 0.6em;" + nl + i(l) + "}" + nl + i(l) + bp + "prose-2xl tbody td:first-child {" + nl + i(l + 1) + "padding-left: 0;" + nl + i(l) + "}" + nl + i(l) + bp + "prose-2xl tbody td:last-child {" + nl + i(l + 1) + "padding-right: 0;" + nl + i(l) + "}" + nl + i(l) + bp + "prose-2xl > :first-child {" + nl + i(l + 1) + "margin-top: 0;" + nl + i(l) + "}" + nl + i(l) + bp + "prose-2xl > :last-child {" + nl + i(l + 1) + "margin-bottom: 0;" + nl + i(l) + "}" + nl;
};
proseTypes.set("prose-2xl", prose2xl);
export default ((identifier, level = 0, b = "", m = false)=>{
const i = indentFormatter(m);
const nl = newlineFormatter(m)();
const bp = breakpointFormatter(b);
if (proseTypes.has(identifier)) {
return proseTypes.get(identifier)(level, i, nl, bp);
}
return;
});
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_typescript/tests/__swc_snapshots__/tests/strip.rs/issue_1122_2.js | JavaScript | const identifier = 'bar';
class Foo {
constructor(){
this.identifier = 5;
}
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_typescript/tests/__swc_snapshots__/tests/strip.rs/issue_1122_5.js | JavaScript | const identifier = 'bar';
class Foo {
}
Foo.identifier = 5;
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_typescript/tests/__swc_snapshots__/tests/strip.rs/issue_1123_1.js | JavaScript | const normalizedQuestionSet = {};
var _normalizedQuestionSet_submissionIds;
const submissions = ((_normalizedQuestionSet_submissionIds = normalizedQuestionSet.submissionIds) !== null && _normalizedQuestionSet_submissionIds !== void 0 ? _normalizedQuestionSet_submissionIds : []).map((id, index)=>{
const submission = normalizedQuestionSet.submissions?.[id];
var _submission_answers;
const submissionAnswers = ((_submission_answers = submission.answers) !== null && _submission_answers !== void 0 ? _submission_answers : []).map((answerId)=>normalizedQuestionSet.answers?.[answerId]);
console.log(id, index);
return {
type: "super-submission"
};
});
console.log(submissions);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_typescript/tests/__swc_snapshots__/tests/strip.rs/issue_1149_1.js | JavaScript | var _tt;
const tmp = (_tt = tt) === null || _tt === void 0 ? void 0 : _tt.map((t)=>t).join((v)=>v);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_typescript/tests/__swc_snapshots__/tests/strip.rs/issue_1235_1.js | JavaScript | class Service {
is(a) {
return _async_to_generator(function*() {
return a.toUpperCase() === a;
})();
}
}
_async_to_generator(function*() {
yield new Service().is('ABC');
})();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_typescript/tests/__swc_snapshots__/tests/strip.rs/issue_1329.js | JavaScript | (function(Test) {
(function(DummyValues) {
DummyValues["A"] = "A";
DummyValues["B"] = "B";
})(Test.DummyValues || (Test.DummyValues = {}));
})(Test || (Test = {}));
console(Test.DummyValues.A);
var Test;
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_typescript/tests/__swc_snapshots__/tests/strip.rs/issue_1448_1.js | JavaScript | const F = require('yaml');
console.log(F);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_typescript/tests/__swc_snapshots__/tests/strip.rs/issue_1472_1_define.js | JavaScript | class A extends Object {
b;
a;
constructor(b = 2){
super(), this.b = b, this.a = 1;
}
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_typescript/tests/__swc_snapshots__/tests/strip.rs/issue_1472_1_no_define.js | JavaScript | class A extends Object {
constructor(b = 2){
super(), this.b = b, this.a = 1;
}
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_typescript/tests/__swc_snapshots__/tests/strip.rs/issue_1497_1.js | JavaScript | let prop, prop1;
class A {
constructor(){
this[prop] = 1;
}
}
(()=>{
prop = (console.log(1), 'a');
prop1 = (console.log(2), 'b');
})();
A[prop1] = 2;
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_typescript/tests/__swc_snapshots__/tests/strip.rs/issue_1497_2.js | JavaScript | let prop, prop1;
let _tmp = (console.log(3), 'c');
class A {
[_tmp]() {}
constructor(){
this[prop] = 1;
}
}
(()=>{
prop = (console.log(1), 'a');
prop1 = (console.log(2), 'b');
})();
A[prop1] = 2;
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_typescript/tests/__swc_snapshots__/tests/strip.rs/issue_1515_1.js | JavaScript | export class A {
}
(function(A) {
class B extends A {
}
A.B = B;
})(A || (A = {}));
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_typescript/tests/__swc_snapshots__/tests/strip.rs/issue_1515_2.js | JavaScript | (function(A) {
class B extends A {
}
A.B = B;
})(A || (A = {}));
(function(A) {})(A);
export var A;
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_typescript/tests/__swc_snapshots__/tests/strip.rs/issue_1515_3.js | JavaScript | export class A {
}
(function(A) {})(A);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_typescript/tests/__swc_snapshots__/tests/strip.rs/issue_1593.js | JavaScript | module.exports = 'something';
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_typescript/tests/__swc_snapshots__/tests/strip.rs/issue_1869_3.js | JavaScript | var _TestClass;
var _class;
let TestClass = _class = someClassDecorator((_class = (_TestClass = class TestClass {
}, _TestClass.Something = 'hello', _TestClass.SomeProperties = {
firstProp: _TestClass.Something
}, _TestClass)) || _class) || _class;
function someClassDecorator(c) {
return c;
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_typescript/tests/__swc_snapshots__/tests/strip.rs/issue_2613.js | JavaScript | module.exports = function(foo, bar) {
return true;
};
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_typescript/tests/__swc_snapshots__/tests/strip.rs/issue_2809.js | JavaScript | var Color = /*#__PURE__*/ function(Color) {
Color["Aqua"] = "#00ffff";
Color["Cyan"] = "#00ffff";
return Color;
}(Color || {});
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_typescript/tests/__swc_snapshots__/tests/strip.rs/issue_2886_enum_namespace_block_scoping.js | JavaScript | export var Enum = /*#__PURE__*/ function(Enum) {
Enum[Enum["test"] = 1] = "test";
return Enum;
}({});
(function(Namespace2) {
(function(Enum) {
Enum[Enum["test"] = 1] = "test";
})(Namespace2.Enum || (Namespace2.Enum = {}));
(function(Enum) {
Enum[Enum["test2"] = 1] = "test2";
})(Namespace2.Enum);
})(Namespace2 || (Namespace2 = {}));
{
let Enum = /*#__PURE__*/ function(Enum) {
Enum[Enum["test"] = 1] = "test";
return Enum;
}({});
(function(Namespace) {
(function(Enum) {
Enum[Enum["test"] = 1] = "test";
})(Namespace.Enum || (Namespace.Enum = {}));
})(Namespace || (Namespace = {}));
var Namespace;
}{
let Enum = /*#__PURE__*/ function(Enum) {
Enum[Enum["test"] = 1] = "test";
return Enum;
}({});
(function(Namespace1) {
(function(Enum) {
Enum[Enum["test"] = 1] = "test";
})(Namespace1.Enum || (Namespace1.Enum = {}));
})(Namespace1 || (Namespace1 = {}));
var Namespace1;
}var Namespace2;
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_typescript/tests/__swc_snapshots__/tests/strip.rs/issue_367.js | JavaScript | // before
import { bind } from 'some';
let A = _decorate([], function(_initialize) {
class A {
constructor(){
_initialize(this);
}
}
return {
F: A,
d: [
{
kind: "get",
decorators: [
bind
],
key: "foo",
value: function foo() {
return 1;
}
},
{
kind: "method",
decorators: [
bind
],
key: "bar",
value: function bar() {
return 1;
}
}
]
};
});
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_typescript/tests/__swc_snapshots__/tests/strip.rs/issue_392_2.js | JavaScript | const dict = {};
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_typescript/tests/__swc_snapshots__/tests/strip.rs/issue_461.js | JavaScript | for(let x in [
''
]){
((x)=>0)(x);
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_typescript/tests/__swc_snapshots__/tests/strip.rs/issue_468_1.js | JavaScript | tView.firstCreatePass ? getOrCreateTNode(tView, lView[T_HOST], index, TNodeType.Element, null, null) : tView.data[adjustedIndex];
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_typescript/tests/__swc_snapshots__/tests/strip.rs/issue_468_2.js | JavaScript | tView.firstCreatePass ? getOrCreateTNode(tView, lView[T_HOST], index, TNodeType.Element, null, null) : tView.data[adjustedIndex];
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_typescript/tests/__swc_snapshots__/tests/strip.rs/issue_468_3.js | JavaScript | tView.firstCreatePass ? getOrCreateTNode() : tView.data[adjustedIndex];
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_typescript/tests/__swc_snapshots__/tests/strip.rs/issue_468_4.js | JavaScript | a ? b : c;
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_typescript/tests/__swc_snapshots__/tests/strip.rs/issue_468_5.js | JavaScript | a ? b : c;
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_typescript/tests/__swc_snapshots__/tests/strip.rs/issue_468_6.js | JavaScript | a.b ? c() : d.e[f];
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_typescript/tests/__swc_snapshots__/tests/strip.rs/issue_468_7.js | JavaScript | tView.firstCreatePass ? getOrCreateTNode() : tView.data[adjustedIndex];
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_typescript/tests/__swc_snapshots__/tests/strip.rs/issue_6023.js | JavaScript | class Shape {
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_typescript/tests/__swc_snapshots__/tests/strip.rs/issue_6219.js | JavaScript | var A = /*#__PURE__*/ function(A) {
A[A["a"] = a] = "a";
return A;
}(A || {});
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_typescript/tests/__swc_snapshots__/tests/strip.rs/issue_640.js | JavaScript | export const handler = async (event, context)=>{};
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_typescript/tests/__swc_snapshots__/tests/strip.rs/issue_656.js | JavaScript | export const x = {
text: 'hello'
};
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_typescript/tests/__swc_snapshots__/tests/strip.rs/issue_685_2.js | JavaScript | class MyType {
}
export default MyType;
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_typescript/tests/__swc_snapshots__/tests/strip.rs/issue_685_3.js | JavaScript | var MyType = function() {};
export default MyType;
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_typescript/tests/__swc_snapshots__/tests/strip.rs/issue_7106.js | JavaScript | export class test {
#throw() {}
#new() {}
test() {
this.#throw();
this.#new();
}
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_typescript/tests/__swc_snapshots__/tests/strip.rs/issue_757.js | JavaScript | // test.ts
var Foo = /*#__PURE__*/ function(Foo) {
Foo[Foo["A"] = 0] = "A";
Foo[Foo["B"] = 1] = "B";
return Foo;
}(Foo || {});
export default Foo;
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_typescript/tests/__swc_snapshots__/tests/strip.rs/issue_786_1.js | JavaScript | export function createPerson(person) {
const a = {};
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_typescript/tests/__swc_snapshots__/tests/strip.rs/issue_786_2.js | JavaScript | function createPerson(person) {
const a = {};
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_typescript/tests/__swc_snapshots__/tests/strip.rs/issue_791_1.js | JavaScript | export function createPerson(person) {
const a = {};
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_typescript/tests/__swc_snapshots__/tests/strip.rs/issue_791_2.js | JavaScript | export class Employee {
}
export function createPerson(person) {
const a = {};
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_typescript/tests/__swc_snapshots__/tests/strip.rs/issue_791_3.js | JavaScript | export function createPerson(person) {
const a = {};
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_typescript/tests/__swc_snapshots__/tests/strip.rs/issue_791_4.js | JavaScript | import { A } from '../types/types';
export class Child extends A {
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_typescript/tests/__swc_snapshots__/tests/strip.rs/issue_793_1.js | JavaScript | export function createPerson(person) {
const a = {};
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_typescript/tests/__swc_snapshots__/tests/strip.rs/issue_793_2.js | JavaScript | export function createPerson(person) {
const a = {};
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_typescript/tests/__swc_snapshots__/tests/strip.rs/issue_820_1.js | JavaScript | var Direction = /*#__PURE__*/ function(Direction) {
Direction[Direction["Up"] = 1] = "Up";
Direction[Direction["Down"] = 2] = "Down";
Direction[Direction["Left"] = 3] = "Left";
return Direction;
}(Direction || {});
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_typescript/tests/__swc_snapshots__/tests/strip.rs/issue_900_1.js | JavaScript | export class FeatureSet {
log(a) {
console.log(a);
}
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_typescript/tests/__swc_snapshots__/tests/strip.rs/issue_900_2.js | JavaScript | class FeatureSet {
log(a) {
console.log(a);
}
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_typescript/tests/__swc_snapshots__/tests/strip.rs/issue_900_3.js | JavaScript | class FeatureSet {
log(a) {
console.log(a);
}
}
export { FeatureSet as default };
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_typescript/tests/__swc_snapshots__/tests/strip.rs/issue_912.js | JavaScript | export class BadRequestError extends Error {
constructor(message){
super(message), this.message = message;
}
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_typescript/tests/__swc_snapshots__/tests/strip.rs/issue_915.js | JavaScript | var _level = /*#__PURE__*/ new WeakMap(), _handlers = /*#__PURE__*/ new WeakMap(), _loggerName = /*#__PURE__*/ new WeakMap();
export class Logger {
constructor(loggerName, levelName, options = {}){
_class_private_field_init(this, _level, {
writable: true,
value: void 0
});
_class_private_field_init(this, _handlers, {
writable: true,
value: void 0
});
_class_private_field_init(this, _loggerName, {
writable: true,
value: void 0
});
_class_private_field_set(this, _loggerName, loggerName);
_class_private_field_set(this, _level, getLevelByName(levelName));
_class_private_field_set(this, _handlers, options.handlers || []);
}
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_typescript/tests/__swc_snapshots__/tests/strip.rs/issue_915_2.js | JavaScript | Deno.test("[ws] WebSocket should act as asyncIterator", async ()=>{
let Frames = /*#__PURE__*/ function(Frames) {
Frames[Frames["ping"] = 0] = "ping";
Frames[Frames["hello"] = 1] = "hello";
Frames[Frames["close"] = 2] = "close";
Frames[Frames["end"] = 3] = "end";
return Frames;
}({});
});
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_typescript/tests/__swc_snapshots__/tests/strip.rs/issue_915_3.js | JavaScript | export class MultipartReader {
constructor(){
this.newLine = encoder.encode("\r\n");
}
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_typescript/tests/__swc_snapshots__/tests/strip.rs/issue_921.js | JavaScript | export class Kernel {
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_typescript/tests/__swc_snapshots__/tests/strip.rs/issue_926.js | JavaScript | class A extends Object {
constructor(a, b){
super(), this.a = a, this.b = b;
}
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_typescript/tests/__swc_snapshots__/tests/strip.rs/issue_930_instance.js | JavaScript | class A {
constructor(a){
this.a = a;
this.b = this.a;
}
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_typescript/tests/__swc_snapshots__/tests/strip.rs/issue_930_static.js | JavaScript | class A {
constructor(a){}
}
A.b = 'foo';
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_typescript/tests/__swc_snapshots__/tests/strip.rs/issue_958.js | JavaScript | export class Test {
constructor(test){
this.test = test;
}
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_typescript/tests/__swc_snapshots__/tests/strip.rs/issue_960_1.js | JavaScript | function DefineAction() {
return (target, property)=>{
console.log(target, property);
};
}
class Base {
constructor(){
this.action = new Subject();
}
}
class Child extends Base {
callApi() {
console.log(this.action) // undefined
;
}
}
_ts_decorate([
DefineAction()
], Child.prototype, "action", void 0);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_typescript/tests/__swc_snapshots__/tests/strip.rs/namespace_001.js | JavaScript | (function(util) {
const c = 3;
[util.a, util.b] = [
1,
2,
3
];
})(util || (util = {}));
export var util;
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_typescript/tests/__swc_snapshots__/tests/strip.rs/namespace_002.js | JavaScript | (function(util) {
const c = 3;
function foo() {}
util.foo = foo;
function bar() {}
})(util || (util = {}));
export var util;
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_typescript/tests/__swc_snapshots__/tests/strip.rs/namespace_003.js | JavaScript | (function(Test) {
(function(Inner) {
Inner.c = 3;
})(Test.Inner || (Test.Inner = {}));
})(Test || (Test = {}));
var Test;
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_typescript/tests/__swc_snapshots__/tests/strip.rs/namespace_004.js | JavaScript | (function(MyNamespace) {
(function(MyEnum) {
MyEnum[MyEnum["A"] = 1] = "A";
})(MyNamespace.MyEnum || (MyNamespace.MyEnum = {}));
(function(MyInnerNamespace) {
(function(MyEnum) {
MyEnum[MyEnum["A"] = 1] = "A";
})(MyInnerNamespace.MyEnum || (MyInnerNamespace.MyEnum = {}));
})(MyNamespace.MyInnerNamespace || (MyNamespace.MyInnerNamespace = {}));
})(MyNamespace || (MyNamespace = {}));
(function(MyNamespace) {
(function(MyEnum) {
MyEnum[MyEnum["B"] = 1] = "B";
})(MyNamespace.MyEnum || (MyNamespace.MyEnum = {}));
(function(MyInnerNamespace) {
MyInnerNamespace.Dec2 = 2;
})(MyNamespace.MyInnerNamespace || (MyNamespace.MyInnerNamespace = {}));
})(MyNamespace || (MyNamespace = {}));
(function(MyNamespace) {
let MyEnum = /*#__PURE__*/ function(MyEnum) {
MyEnum[MyEnum["A"] = 2] = "A";
return MyEnum;
}({});
})(MyNamespace || (MyNamespace = {}));
var MyNamespace;
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_typescript/tests/__swc_snapshots__/tests/strip.rs/namespace_005.js | JavaScript | (function(A) {
class Test {
}
A.Test = Test;
})(A || (A = {}));
(function(B) {
B.a = A;
console.log(B.a.Test);
const b = A;
console.log(b.Test);
})(B || (B = {}));
var A, B;
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_typescript/tests/__swc_snapshots__/tests/strip.rs/node_next_1.js | JavaScript | import { createRequire as _createRequire } from "module";
const __require = _createRequire(import.meta.url);
const foo = __require("foo");
foo();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_typescript/tests/__swc_snapshots__/tests/strip.rs/node_next_2.js | JavaScript | import { createRequire as _createRequire } from "module";
const __require = _createRequire(import.meta.url);
export const foo = __require("foo");
foo();
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_typescript/tests/__swc_snapshots__/tests/strip.rs/parameter_properties_with_computed.js | JavaScript | var _class;
let prop;
class A {
constructor(a = 1){
this.a = a;
this[_console_log] = 456;
}
}
prop = _console_log = console.log(123);
let prop1;
let b = (_class = class {
constructor(a = 1){
this.a = a;
this[_console_log1] = 123;
}
}, prop1 = _console_log1 = console.log(456), _class);
var _console_log, _console_log1;
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_typescript/tests/__swc_snapshots__/tests/strip.rs/pr_1835.js | JavaScript | import { A } from "./a";
import { B } from "./b";
import { C } from "./c";
const { A: AB } = B;
const { CB = C } = B;
console.log(A, AB, CB);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_typescript/tests/__swc_snapshots__/tests/strip.rs/ts_enum_is_mutable_true.js | JavaScript | var D = /*#__PURE__*/ function(D) {
D[D["A"] = 0] = "A";
D[D["B"] = 2] = "B";
return D;
}(D || {});
D.A = 5;
console.log(D.A);
console.log(1);
var G = /*#__PURE__*/ function(G) {
G[G["A"] = 2] = "A";
return G;
}(G || {});
console.log(G.A);
var H = /*#__PURE__*/ function(H) {
H[H["A"] = 2] = "A";
return H;
}(H || {});
console.log(2);
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_typescript/tests/__swc_snapshots__/tests/strip.rs/ts_enum_no_init.js | JavaScript | var FlexSize = /*#__PURE__*/ function(FlexSize) {
FlexSize[FlexSize["md"] = 0] = "md";
FlexSize[FlexSize["lg"] = 1] = "lg";
return FlexSize;
}(FlexSize || {});
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_typescript/tests/__swc_snapshots__/tests/strip.rs/ts_enum_str_init.js | JavaScript | var FlexSize = /*#__PURE__*/ function(FlexSize) {
FlexSize["md"] = "md";
FlexSize["lg"] = "lg";
return FlexSize;
}(FlexSize || {});
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_typescript/tests/__swc_snapshots__/tests/strip.rs/ts_jsx_bad_pragma.js | JavaScript | /** @jsx bad-pragma */
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_typescript/tests/__swc_snapshots__/tests/strip.rs/typescript_001.js | JavaScript | class A {
constructor(){
this.foo = new Subject();
this.foo.subscribe();
}
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_typescript/tests/__swc_snapshots__/tests/strip.rs/typescript_002.js | JavaScript | class A extends B {
constructor(a, c, d = 1){
super(), this.a = a, this.c = c, this.d = d, this.foo = 'foo', this.b = this.a;
this.foo.subscribe();
}
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_typescript/tests/fixture/auto-accessor/input.ts | TypeScript | abstract class B {
abstract accessor b: string;
}
class Test extends B {
accessor a!: string;
public override accessor b: string = "";
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_typescript/tests/fixture/auto-accessor/output.js | JavaScript | class B {
}
class Test extends B {
accessor a;
accessor b = "";
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_typescript/tests/fixture/constructor-1/input.ts | TypeScript | class Foo {
constructor(public readonly foo) { }
} | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_typescript/tests/fixture/constructor-1/output.js | JavaScript | class Foo {
constructor(foo){
this.foo = foo;
}
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_transforms_typescript/tests/fixture/constructor-2/input.ts | TypeScript | class Foo {
constructor(readonly foo) {
this.bar = 1;
}
} | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.