mirror of
https://github.com/swc-project/swc.git
synced 2024-12-30 17:15:11 +03:00
715 lines
21 KiB
JSON
715 lines
21 KiB
JSON
{
|
|
"type": "Stylesheet",
|
|
"span": {
|
|
"start": 0,
|
|
"end": 306,
|
|
"ctxt": 0
|
|
},
|
|
"rules": [
|
|
{
|
|
"type": "MediaRule",
|
|
"span": {
|
|
"start": 0,
|
|
"end": 305,
|
|
"ctxt": 0
|
|
},
|
|
"query": {
|
|
"type": "Declaration",
|
|
"span": {
|
|
"start": 8,
|
|
"end": 25,
|
|
"ctxt": 0
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 8,
|
|
"end": 17,
|
|
"ctxt": 0
|
|
},
|
|
"value": "min-width",
|
|
"raw": "min-width"
|
|
},
|
|
"value": [
|
|
{
|
|
"type": "UnitValue",
|
|
"span": {
|
|
"start": 19,
|
|
"end": 24,
|
|
"ctxt": 0
|
|
},
|
|
"value": {
|
|
"type": "Number",
|
|
"span": {
|
|
"start": 19,
|
|
"end": 22,
|
|
"ctxt": 0
|
|
},
|
|
"value": 935.0,
|
|
"raw": "935"
|
|
},
|
|
"unit": {
|
|
"span": {
|
|
"start": 22,
|
|
"end": 24,
|
|
"ctxt": 0
|
|
},
|
|
"value": "px",
|
|
"raw": "px"
|
|
}
|
|
}
|
|
],
|
|
"important": null
|
|
},
|
|
"rules": [
|
|
{
|
|
"type": "QualifiedRule",
|
|
"span": {
|
|
"start": 32,
|
|
"end": 85,
|
|
"ctxt": 0
|
|
},
|
|
"prelude": {
|
|
"type": "SelectorList",
|
|
"span": {
|
|
"start": 32,
|
|
"end": 52,
|
|
"ctxt": 0
|
|
},
|
|
"children": [
|
|
{
|
|
"type": "ComplexSelector",
|
|
"span": {
|
|
"start": 32,
|
|
"end": 52,
|
|
"ctxt": 0
|
|
},
|
|
"children": [
|
|
{
|
|
"type": "CompoundSelector",
|
|
"span": {
|
|
"start": 32,
|
|
"end": 52,
|
|
"ctxt": 0
|
|
},
|
|
"nestingSelector": null,
|
|
"typeSelector": null,
|
|
"subclassSelectors": [
|
|
{
|
|
"type": "ClassSelector",
|
|
"span": {
|
|
"start": 32,
|
|
"end": 38,
|
|
"ctxt": 0
|
|
},
|
|
"text": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 33,
|
|
"end": 38,
|
|
"ctxt": 0
|
|
},
|
|
"value": "video",
|
|
"raw": "video"
|
|
}
|
|
},
|
|
{
|
|
"type": "PseudoClassSelector",
|
|
"span": {
|
|
"start": 38,
|
|
"end": 52,
|
|
"ctxt": 0
|
|
},
|
|
"name": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 39,
|
|
"end": 48,
|
|
"ctxt": 0
|
|
},
|
|
"value": "nth-child",
|
|
"raw": "nth-child"
|
|
},
|
|
"children": {
|
|
"type": "Nth",
|
|
"span": {
|
|
"start": 49,
|
|
"end": 51,
|
|
"ctxt": 0
|
|
},
|
|
"nth": {
|
|
"type": "AnPlusB",
|
|
"span": {
|
|
"start": 49,
|
|
"end": 51,
|
|
"ctxt": 0
|
|
},
|
|
"a": 4,
|
|
"aRaw": "4",
|
|
"b": null,
|
|
"bRaw": null
|
|
},
|
|
"selectorList": null
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"block": {
|
|
"type": "Block",
|
|
"span": {
|
|
"start": 53,
|
|
"end": 85,
|
|
"ctxt": 0
|
|
},
|
|
"items": [
|
|
{
|
|
"type": "Declaration",
|
|
"span": {
|
|
"start": 63,
|
|
"end": 78,
|
|
"ctxt": 0
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 63,
|
|
"end": 75,
|
|
"ctxt": 0
|
|
},
|
|
"value": "margin-right",
|
|
"raw": "margin-right"
|
|
},
|
|
"value": [
|
|
{
|
|
"type": "Number",
|
|
"span": {
|
|
"start": 77,
|
|
"end": 78,
|
|
"ctxt": 0
|
|
},
|
|
"value": 0.0,
|
|
"raw": "0"
|
|
}
|
|
],
|
|
"important": null
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"type": "QualifiedRule",
|
|
"span": {
|
|
"start": 90,
|
|
"end": 140,
|
|
"ctxt": 0
|
|
},
|
|
"prelude": {
|
|
"type": "SelectorList",
|
|
"span": {
|
|
"start": 90,
|
|
"end": 107,
|
|
"ctxt": 0
|
|
},
|
|
"children": [
|
|
{
|
|
"type": "ComplexSelector",
|
|
"span": {
|
|
"start": 90,
|
|
"end": 107,
|
|
"ctxt": 0
|
|
},
|
|
"children": [
|
|
{
|
|
"type": "CompoundSelector",
|
|
"span": {
|
|
"start": 90,
|
|
"end": 107,
|
|
"ctxt": 0
|
|
},
|
|
"nestingSelector": null,
|
|
"typeSelector": null,
|
|
"subclassSelectors": [
|
|
{
|
|
"type": "ClassSelector",
|
|
"span": {
|
|
"start": 90,
|
|
"end": 96,
|
|
"ctxt": 0
|
|
},
|
|
"text": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 91,
|
|
"end": 96,
|
|
"ctxt": 0
|
|
},
|
|
"value": "video",
|
|
"raw": "video"
|
|
}
|
|
},
|
|
{
|
|
"type": "PseudoClassSelector",
|
|
"span": {
|
|
"start": 96,
|
|
"end": 107,
|
|
"ctxt": 0
|
|
},
|
|
"name": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 97,
|
|
"end": 107,
|
|
"ctxt": 0
|
|
},
|
|
"value": "last-child",
|
|
"raw": "last-child"
|
|
},
|
|
"children": null
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"block": {
|
|
"type": "Block",
|
|
"span": {
|
|
"start": 108,
|
|
"end": 140,
|
|
"ctxt": 0
|
|
},
|
|
"items": [
|
|
{
|
|
"type": "Declaration",
|
|
"span": {
|
|
"start": 118,
|
|
"end": 133,
|
|
"ctxt": 0
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 118,
|
|
"end": 130,
|
|
"ctxt": 0
|
|
},
|
|
"value": "margin-right",
|
|
"raw": "margin-right"
|
|
},
|
|
"value": [
|
|
{
|
|
"type": "Number",
|
|
"span": {
|
|
"start": 132,
|
|
"end": 133,
|
|
"ctxt": 0
|
|
},
|
|
"value": 0.0,
|
|
"raw": "0"
|
|
}
|
|
],
|
|
"important": null
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"type": "QualifiedRule",
|
|
"span": {
|
|
"start": 145,
|
|
"end": 271,
|
|
"ctxt": 0
|
|
},
|
|
"prelude": {
|
|
"type": "SelectorList",
|
|
"span": {
|
|
"start": 145,
|
|
"end": 239,
|
|
"ctxt": 0
|
|
},
|
|
"children": [
|
|
{
|
|
"type": "ComplexSelector",
|
|
"span": {
|
|
"start": 145,
|
|
"end": 163,
|
|
"ctxt": 0
|
|
},
|
|
"children": [
|
|
{
|
|
"type": "CompoundSelector",
|
|
"span": {
|
|
"start": 145,
|
|
"end": 163,
|
|
"ctxt": 0
|
|
},
|
|
"nestingSelector": null,
|
|
"typeSelector": null,
|
|
"subclassSelectors": [
|
|
{
|
|
"type": "ClassSelector",
|
|
"span": {
|
|
"start": 145,
|
|
"end": 151,
|
|
"ctxt": 0
|
|
},
|
|
"text": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 146,
|
|
"end": 151,
|
|
"ctxt": 0
|
|
},
|
|
"value": "video",
|
|
"raw": "video"
|
|
}
|
|
},
|
|
{
|
|
"type": "PseudoClassSelector",
|
|
"span": {
|
|
"start": 151,
|
|
"end": 163,
|
|
"ctxt": 0
|
|
},
|
|
"name": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 152,
|
|
"end": 163,
|
|
"ctxt": 0
|
|
},
|
|
"value": "first-child",
|
|
"raw": "first-child"
|
|
},
|
|
"children": null
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "ComplexSelector",
|
|
"span": {
|
|
"start": 169,
|
|
"end": 188,
|
|
"ctxt": 0
|
|
},
|
|
"children": [
|
|
{
|
|
"type": "CompoundSelector",
|
|
"span": {
|
|
"start": 169,
|
|
"end": 188,
|
|
"ctxt": 0
|
|
},
|
|
"nestingSelector": null,
|
|
"typeSelector": null,
|
|
"subclassSelectors": [
|
|
{
|
|
"type": "ClassSelector",
|
|
"span": {
|
|
"start": 169,
|
|
"end": 175,
|
|
"ctxt": 0
|
|
},
|
|
"text": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 170,
|
|
"end": 175,
|
|
"ctxt": 0
|
|
},
|
|
"value": "video",
|
|
"raw": "video"
|
|
}
|
|
},
|
|
{
|
|
"type": "PseudoClassSelector",
|
|
"span": {
|
|
"start": 175,
|
|
"end": 188,
|
|
"ctxt": 0
|
|
},
|
|
"name": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 176,
|
|
"end": 185,
|
|
"ctxt": 0
|
|
},
|
|
"value": "nth-child",
|
|
"raw": "nth-child"
|
|
},
|
|
"children": {
|
|
"type": "Nth",
|
|
"span": {
|
|
"start": 186,
|
|
"end": 187,
|
|
"ctxt": 0
|
|
},
|
|
"nth": {
|
|
"type": "AnPlusB",
|
|
"span": {
|
|
"start": 186,
|
|
"end": 187,
|
|
"ctxt": 0
|
|
},
|
|
"a": null,
|
|
"aRaw": null,
|
|
"b": 5,
|
|
"bRaw": "5"
|
|
},
|
|
"selectorList": null
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "ComplexSelector",
|
|
"span": {
|
|
"start": 194,
|
|
"end": 213,
|
|
"ctxt": 0
|
|
},
|
|
"children": [
|
|
{
|
|
"type": "CompoundSelector",
|
|
"span": {
|
|
"start": 194,
|
|
"end": 213,
|
|
"ctxt": 0
|
|
},
|
|
"nestingSelector": null,
|
|
"typeSelector": null,
|
|
"subclassSelectors": [
|
|
{
|
|
"type": "ClassSelector",
|
|
"span": {
|
|
"start": 194,
|
|
"end": 200,
|
|
"ctxt": 0
|
|
},
|
|
"text": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 195,
|
|
"end": 200,
|
|
"ctxt": 0
|
|
},
|
|
"value": "video",
|
|
"raw": "video"
|
|
}
|
|
},
|
|
{
|
|
"type": "PseudoClassSelector",
|
|
"span": {
|
|
"start": 200,
|
|
"end": 213,
|
|
"ctxt": 0
|
|
},
|
|
"name": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 201,
|
|
"end": 210,
|
|
"ctxt": 0
|
|
},
|
|
"value": "nth-child",
|
|
"raw": "nth-child"
|
|
},
|
|
"children": {
|
|
"type": "Nth",
|
|
"span": {
|
|
"start": 211,
|
|
"end": 212,
|
|
"ctxt": 0
|
|
},
|
|
"nth": {
|
|
"type": "AnPlusB",
|
|
"span": {
|
|
"start": 211,
|
|
"end": 212,
|
|
"ctxt": 0
|
|
},
|
|
"a": null,
|
|
"aRaw": null,
|
|
"b": 9,
|
|
"bRaw": "9"
|
|
},
|
|
"selectorList": null
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "ComplexSelector",
|
|
"span": {
|
|
"start": 219,
|
|
"end": 239,
|
|
"ctxt": 0
|
|
},
|
|
"children": [
|
|
{
|
|
"type": "CompoundSelector",
|
|
"span": {
|
|
"start": 219,
|
|
"end": 239,
|
|
"ctxt": 0
|
|
},
|
|
"nestingSelector": null,
|
|
"typeSelector": null,
|
|
"subclassSelectors": [
|
|
{
|
|
"type": "ClassSelector",
|
|
"span": {
|
|
"start": 219,
|
|
"end": 225,
|
|
"ctxt": 0
|
|
},
|
|
"text": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 220,
|
|
"end": 225,
|
|
"ctxt": 0
|
|
},
|
|
"value": "video",
|
|
"raw": "video"
|
|
}
|
|
},
|
|
{
|
|
"type": "PseudoClassSelector",
|
|
"span": {
|
|
"start": 225,
|
|
"end": 239,
|
|
"ctxt": 0
|
|
},
|
|
"name": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 226,
|
|
"end": 235,
|
|
"ctxt": 0
|
|
},
|
|
"value": "nth-child",
|
|
"raw": "nth-child"
|
|
},
|
|
"children": {
|
|
"type": "Nth",
|
|
"span": {
|
|
"start": 236,
|
|
"end": 238,
|
|
"ctxt": 0
|
|
},
|
|
"nth": {
|
|
"type": "AnPlusB",
|
|
"span": {
|
|
"start": 236,
|
|
"end": 238,
|
|
"ctxt": 0
|
|
},
|
|
"a": null,
|
|
"aRaw": null,
|
|
"b": 13,
|
|
"bRaw": "13"
|
|
},
|
|
"selectorList": null
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"block": {
|
|
"type": "Block",
|
|
"span": {
|
|
"start": 240,
|
|
"end": 271,
|
|
"ctxt": 0
|
|
},
|
|
"items": [
|
|
{
|
|
"type": "Declaration",
|
|
"span": {
|
|
"start": 250,
|
|
"end": 264,
|
|
"ctxt": 0
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 250,
|
|
"end": 261,
|
|
"ctxt": 0
|
|
},
|
|
"value": "margin-left",
|
|
"raw": "margin-left"
|
|
},
|
|
"value": [
|
|
{
|
|
"type": "Number",
|
|
"span": {
|
|
"start": 263,
|
|
"end": 264,
|
|
"ctxt": 0
|
|
},
|
|
"value": 0.0,
|
|
"raw": "0"
|
|
}
|
|
],
|
|
"important": null
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"type": "Tokens",
|
|
"span": {
|
|
"start": 276,
|
|
"end": 304,
|
|
"ctxt": 0
|
|
},
|
|
"tokens": [
|
|
{
|
|
"span": {
|
|
"start": 276,
|
|
"end": 303,
|
|
"ctxt": 0
|
|
},
|
|
"token": {
|
|
"Ident": {
|
|
"value": "__styled-jsx-placeholder__7",
|
|
"raw": "__styled-jsx-placeholder__7"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"span": {
|
|
"start": 303,
|
|
"end": 304,
|
|
"ctxt": 0
|
|
},
|
|
"token": {
|
|
"WhiteSpace": {
|
|
"value": "\n"
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|