text: !function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var t;t="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this,t.csstree=e()}}(function(){return function(){function e(t,n,r){function o(a,s){if(!n[a]){if(!t[a]){var l="function"==typeof require&&require;if(!s&&l)return l(a,!0);if(i)return i(a,!0);var c=new Error("Cannot find module '"+a+"'");throw c.code="MODULE_NOT_FOUND",c}var u=n[a]={exports:{}};t[a][0].call(u.exports,function(e){return o(t[a][1][e]||e)},u,u.exports,e,t,n,r)}return n[a].exports}for(var i="function"==typeof require&&require,a=0;a<r.length;a++)o(r[a]);return o}return e}()({1:[function(e,t,n){t.exports={generic:!0,types:{"absolute-size":"xx-small | x-small | small | medium | large | x-large | xx-large","alpha-value":"<number> | <percentage>","angle-percentage":"<angle> | <percentage>","angular-color-hint":"<angle-percentage>","angular-color-stop":"<color> && <color-stop-angle>?","angular-color-stop-list":"[ <angular-color-stop> [, <angular-color-hint> ]? ]# , <angular-color-stop>","animateable-feature":"scroll-position | contents | <custom-ident>",attachment:"scroll | fixed | local","attr()":"attr( <attr-name> <type-or-unit>? [, <attr-fallback> ]? )","attr-matcher":"[ '~' | '|' | '^' | '$' | '*' ]? '='","attr-modifier":"i | s","attribute-selector":"'[' <wq-name> ']' | '[' <wq-name> <attr-matcher> [ <string-token> | <ident-token> ] <attr-modifier>? ']'","auto-repeat":"repeat( [ auto-fill | auto-fit ] , [ <line-names>? <fixed-size> ]+ <line-names>? )","auto-track-list":"[ <line-names>? [ <fixed-size> | <fixed-repeat> ] ]* <line-names>? <auto-repeat> [ <line-names>? [ <fixed-size> | <fixed-repeat> ] ]* <line-names>?","baseline-position":"[ first | last ]? baseline","basic-shape":"<inset()> | <circle()> | <ellipse()> | <polygon()>","bg-image":"none | <image>","bg-layer":"<bg-image> || <bg-position> [ / <bg-size> ]? || <repeat-style> || <attachment> || <box> || <box>","bg-position":"[ [ left | center | right | top | bottom | <length-percentage> ] | [ left | center | right | <length-percentage> ] [ top | center | bottom | <length-percentage> ] | [ center | [ left | right ] <length-percentage>? ] && [ center | [ top | bottom ] <length-percentage>? ] ]","bg-size":"[ <length-percentage> | auto ]{1,2} | cover | contain","blur()":"blur( <length> )","blend-mode":"normal | multiply | screen | overlay | darken | lighten | color-dodge | color-burn | hard-light | soft-light | difference | exclusion | hue | saturation | color | luminosity",box:"border-box | padding-box | content-box","brightness()":"brightness( <number-percentage> )","calc()":"calc( <calc-sum> )","calc-sum":"<calc-product> [ [ '+' | '-' ] <calc-product> ]*","calc-product":"<calc-value> [ '*' <calc-value> | '/' <number> ]*","calc-value":"<number> | <dimension> | <percentage> | ( <calc-sum> )","cf-final-image":"<image> | <color>","cf-mixing-image":"<percentage>? && <image>","circle()":"circle( [ <shape-radius> ]? [ at <position> ]? )","clamp()":"clamp( <calc-sum>#{3} )","class-selector":"'.' <ident-token>","clip-source":"<url>",color:"<rgb()> | <rgba()> | <hsl()> | <hsla()> | <hex-color> | <named-color> | currentcolor | <deprecated-system-color>","color-stop":"<color-stop-length> | <color-stop-angle>","color-stop-angle":"<angle-percentage>{1,2}","color-stop-length":"<length-percentage>{1,2}","color-stop-list":"[ <linear-color-stop> [, <linear-color-hint> ]? ]# , <linear-color-stop>",combinator:"'>' | '+' | '~' | [ '||' ]","common-lig-values":"[ common-ligatures | no-common-ligatures ]",compat:"searchfield | textarea | push-button | button-bevel | slider-horizontal | checkbox | radio | square-button | menulist | menulist-button | listbox | meter | progress-bar","composite-style":"clear | copy | source-over | source-in | source-out | source-atop | destination-over | destination-in | destination-out | destination-atop | xor","compositing-operator":"add | subtract | intersect | exclude","compound-selector":"[ <type-selector>? <subclass-selector>* [ <pseudo-element-selector> <pseudo-class-selector>* ]* ]!","compound-selector-list":"<compound-selector>#","complex-selector":"<compound-selector> [ <combinator>? <compound-selector> ]*","complex-selector-list":"<complex-selector>#","conic-gradient()":"conic-gradient( [ from <angle> ]? [ at <position> ]? , <angular-color-stop-list> )","contextual-alt-values":"[ contextual | no-contextual ]","content-distribution":"space-between | space-around | space-evenly | stretch","content-list":"[ <string> | contents | <url> | <quote> | <attr()> | counter( <ident> , <'list-style-type'>? ) ]+","content-position":"center | start | end | flex-start | flex-end","content-replacement":"<image>","contrast()":"contrast( [ <number-percentage> ] )","counter()":"counter( <custom-ident> , [ <counter-style> | none ]? )","counter-style":"<counter-style-name> | symbols( )","counter-style-name":"<custom-ident>","counters()":"counters( <custom-ident> , <string> , [ <counter-style> | none ]? )","cross-fade()":"cross-fade( <cf-mixing-image> , <cf-final-image>? )","cubic-bezier-timing-function":"ease | ease-in | ease-out | ease-in-out | cubic-bezier( <number> , <number> , <number> , <number> )","deprecated-system-color":"ActiveBorder | ActiveCaption | AppWorkspace | Background | ButtonFace | ButtonHighlight | ButtonShadow | ButtonText | CaptionText | GrayText | Highlight | HighlightText | InactiveBorder | InactiveCaption | InactiveCaptionText | InfoBackground | InfoText | Menu | MenuText | Scrollbar | ThreeDDarkShadow | ThreeDFace | ThreeDHighlight | ThreeDLightShadow | ThreeDShadow | Window | WindowFrame | WindowText","discretionary-lig-values":"[ discretionary-ligatures | no-discretionary-ligatures ]","display-box":"contents | none","display-inside":"flow | flow-root | table | flex | grid | ruby","display-internal":"table-row-group | table-header-group | table-footer-group | table-row | table-cell | table-column-group | table-column | table-caption | ruby-base | ruby-text | ruby-base-container | ruby-text-container","display-legacy":"inline-block | inline-list-item | inline-table | inline-flex | inline-grid","display-listitem":"<display-outside>? && [ flow | flow-root ]? && list-item","display-outside":"block | inline | run-in","drop-shadow()":"drop-shadow( <length>{2,3} <color>? )","east-asian-variant-values":"[ jis78 | jis83 | jis90 | jis04 | simplified | traditional ]","east-asian-width-values":"[ full-width | proportional-width ]","element()":"element( <id-selector> )","ellipse()":"ellipse( [ <shape-radius>{2} ]? [ at <position> ]? )","ending-shape":"circle | ellipse","env()":"env( <custom-ident> , <declaration-value>? )","explicit-track-list":"[ <line-names>? <track-size> ]+ <line-names>?","family-name":"<string> | <custom-ident>+","feature-tag-value":"<string> [ <integer> | on | off ]?","feature-type":"@stylistic | @historical-forms | @styleset | @character-variant | @swash | @ornaments | @annotation","feature-value-block":"<feature-type> '{' <feature-value-declaration-list> '}'","feature-value-block-list":"<feature-value-block>+","feature-value-declaration":"<custom-ident> : <integer>+ ;","feature-value-declaration-list":"<feature-value-declaration>","feature-value-name":"<custom-ident>","fill-rule":"nonzero | evenodd","filter-function":"<blur()> | <brightness()> | <contrast()> | <drop-shadow()> | <grayscale()> | <hue-rotate()> | <invert()> | <opacity()> | <saturate()> | <sepia()>","filter-function-list":"[ <filter-function> | <url> ]+","final-bg-layer":"<'background-color'> || <bg-image> || <bg-position> [ / <bg-size> ]? || <repeat-style> || <attachment> || <box> || <box>","fit-content()":"fit-content( [ <length> | <percentage> ] )","fixed-breadth":"<length-percentage>","fixed-repeat":"repeat( [ <positive-integer> ] , [ <line-names>? <fixed-size> ]+ <line-names>? )","fixed-size":"<fixed-breadth> | minmax( <fixed-breadth> , <track-breadth> ) | minmax( <inflexible-breadth> , <fixed-breadth> )","font-stretch-absolute":"normal | ultra-condensed | extra-condensed | condensed | semi-condensed | semi-expanded | expanded | extra-expanded | ultra-expanded | <percentage>","font-variant-css21":"[ normal | small-caps ]","font-weight-absolute":"normal | bold | <number>","frequency-percentage":"<frequency> | <percentage>","general-enclosed":"[ <function-token> <any-value> ) ] | ( <ident> <any-value> )","generic-family":"serif | sans-serif | cursive | fantasy | monospace | -apple-system","generic-name":"serif | sans-serif | cursive | fantasy | monospace","geometry-box":"<shape-box> | fill-box | stroke-box | view-box",gradient:"<linear-gradient()> | <repeating-linear-gradient()> | <radial-gradient()> | <repeating-radial-gradient()> | <conic-gradient()> | <-legacy-gradient>","grayscale()":"grayscale( <number-percentage> )","grid-line":"auto | <custom-ident> | [ <integer> && <custom-ident>? ] | [ span && [ <integer> || <custom-ident> ] ]","historical-lig-values":"[ historical-ligatures | no-historical-ligatures ]","hsl()":"hsl( <hue> <percentage> <percentage> [ / <alpha-value> ]? ) | hsl( <hue> , <percentage> , <percentage> , <alpha-value>? )","hsla()":"hsla( <hue> <percentage> <percentage> [ / <alpha-value> ]? ) | hsla( <hue> , <percentage> , <percentage> , <alpha-value>? )",hue:"<number> | <angle>","hue-rotate()":"hue-rotate( <angle> )",image:"<url> | <image()> | <image-set()> | <element()> | <cross-fade()> | <gradient>","image()":"image( <image-tags>? [ <image-src>? , <color>? ]! )","image-set()":"image-set( <image-set-option># )","image-set-option":"[ <image> | <string> ] <resolution>","image-src":"<url> | <string>","image-tags":"ltr | rtl","inflexible-breadth":"<length> | <percentage> | min-content | max-content | auto","inset()":"inset( <length-percentage>{1,4} [ round <'border-radius'> ]? )","invert()":"invert( <number-percentage> )","keyframes-name":"<custom-ident> | <string>","keyframe-block":"<keyframe-selector># { <declaration-list> }","keyframe-block-list":"<keyframe-block>+","keyframe-selector":"from | to | <percentage>","leader()":"leader( <leader-type> )","leader-type":"dotted | solid | space | <string>","length-percentage":"<length> | <percentage>","line-names":"'[' <custom-ident>* ']'","line-name-list":"[ <line-names> | <name-repeat> ]+","line-style":"none | hidden | dotted | dashed | solid | double | groove | ridge | inset | outset","line-width":"<length> | thin | medium | thick","linear-color-hint":"<length-percentage>","linear-color-stop":"<color> <color-stop-length>?","linear-gradient()":"linear-gradient( [ <angle> | to <side-or-corner> ]? , <color-stop-list> )","mask-layer":"<mask-reference> || <position> [ / <bg-size> ]? || <repeat-style> || <geometry-box> || [ <geometry-box> | no-clip ] || <compositing-operator> || <masking-mode>","mask-position":"[ <length-percentage> | left | center | right ] [ <length-percentage> | top | center | bottom ]?","mask-reference":"none | <image> | <mask-source>","mask-source":"<url>","masking-mode":"alpha | luminance | match-source","matrix()":"matrix( <number>#{6} )","matrix3d()":"matrix3d( <number>#{16} )","max()":"max( <calc-sum># )","media-and":"<media-in-parens> [ and <media-in-parens> ]+","media-condition":"<media-not> | <media-and> | <media-or> | <media-in-parens>","media-condition-without-or":"<media-not> | <media-and> | <media-in-parens>","media-feature":"( [ <mf-plain> | <mf-boolean> | <mf-range> ] )","media-in-parens":"( <media-condition> ) | <media-feature> | <general-enclosed>","media-not":"not <media-in-parens>","media-or":"<media-in-parens> [ or <media-in-parens> ]+","media-query":"<media-condition> | [ not | only ]? <media-type> [ and <media-condition-without-or> ]?","media-query-list":"<media-query>#","media-type":"<ident>","mf-boolean":"<mf-name>","mf-name":"<ident>","mf-plain":"<mf-name> : <mf-value>","mf-range":"<mf-name> [ '<' | '>' ]? '='? <mf-value> | <mf-value> [ '<' | '>' ]? '='? <mf-name> | <mf-value> '<' '='? <mf-name> '<' '='? <mf-value> | <mf-value> '>' '='? <mf-name> '>' '='? <mf-value>","mf-value":"<number> | <dimension> | <ident> | <ratio>","min()":"min( <calc-sum># )","minmax()":"minmax( [ <length> | <percentage> | <flex> | min-content | max-content | auto ] , [ <length> | <percentage> | <flex> | min-content | max-content | auto ] )","named-color":"transparent | aliceblue | antiquewhite | aqua | aquamarine | azure | beige | bisque | black | blanchedalmond | blue | blueviolet | brown | burlywood | cadetblue | chartreuse | chocolate | coral | cornflowerblue | cornsilk | crimson | cyan | darkblue | darkcyan | darkgoldenrod | darkgray | darkgreen | darkgrey | darkkhaki | darkmagenta | darkolivegreen | darkorange | darkorchid | darkred | darksalmon | darkseagreen | darkslateblue | darkslategray | darkslategrey | darkturquoise | darkviolet | deeppink | deepskyblue | dimgray | dimgrey | dodgerblue | firebrick | floralwhite | forestgreen | fuchsia | gainsboro | ghostwhite | gold | goldenrod | gray | green | greenyellow | grey | honeydew | hotpink | indianred | indigo | ivory | khaki | lavender | lavenderblush | lawngreen | lemonchiffon | lightblue | lightcoral | lightcyan | lightgoldenrodyellow | lightgray | lightgreen | lightgrey | lightpink | lightsalmon | lightseagreen | lightskyblue | lightslategray | lightslategrey | lightsteelblue | lightyellow | lime | limegreen | linen | magenta | maroon | mediumaquamarine | mediumblue | mediumorchid | mediumpurple | mediumseagreen | mediumslateblue | mediumspringgreen | mediumturquoise | mediumvioletred | midnightblue | mintcream | mistyrose | moccasin | navajowhite | navy | oldlace | olive | olivedrab | orange | orangered | orchid | palegoldenrod | palegreen | paleturquoise | palevioletred | papayawhip | peachpuff | peru | pink | plum | powderblue | purple | rebeccapurple | red | rosybrown | royalblue | saddlebrown | salmon | sandybrown | seagreen | seashell | sienna | silver | skyblue | slateblue | slategray | slategrey | snow | springgreen | steelblue | tan | teal | thistle | tomato | turquoise | violet | wheat | white | whitesmoke | yellow | yellowgreen | <-non-standard-color>","namespace-prefix":"<ident>","ns-prefix":"[ <ident-token> | '*' ]? '|'","number-percentage":"<number> | <percentage>","numeric-figure-values":"[ lining-nums | oldstyle-nums ]","numeric-fraction-values":"[ diagonal-fractions | stacked-fractions ]","numeric-spacing-values":"[ proportional-nums | tabular-nums ]",nth:"<an-plus-b> | even | odd","opacity()":"opacity( [ <number-percentage> ] )","overflow-position":"unsafe | safe","outline-radius":"<length> | <percentage>","page-body":"<declaration>? [ ; <page-body> ]? | <page-margin-box> <page-body>","page-margin-box":"<page-margin-box-type> '{' <declaration-list> '}'","page-margin-box-type":"@top-left-corner | @top-left | @top-center | @top-right | @top-right-corner | @bottom-left-corner | @bottom-left | @bottom-center | @bottom-right | @bottom-right-corner | @left-top | @left-middle | @left-bottom | @right-top | @right-middle | @right-bottom","page-selector-list":"[ <page-selector># ]?","page-selector":"<pseudo-page>+ | <ident> <pseudo-page>*","perspective()":"perspective( <length> )","polygon()":"polygon( <fill-rule>? , [ <length-percentage> <length-percentage> ]# )",position:"[ [ left | center | right ] || [ top | center | bottom ] | [ left | center | right | <length-percentage> ] [ top | center | bottom | <length-percentage> ]? | [ [ left | right ] <length-percentage> ] && [ [ top | bottom ] <length-percentage> ] ]","pseudo-class-selector":"':' <ident-token> | ':' <function-token> <any-value> ')'","pseudo-element-selector":"':' <pseudo-class-selector>","pseudo-page":": [ left | right | first | blank ]",quote:"open-quote | close-quote | no-open-quote | no-close-quote","radial-gradient()":"radial-gradient( [ <ending-shape> || <size> ]? [ at <position> ]? , <color-stop-list> )","relative-selector":"<combinator>? <complex-selector>","relative-selector-list":"<relative-selector>#","relative-size":"larger | smaller","repeat-style":"repeat-x | repeat-y | [ repeat | space | round | no-repeat ]{1,2}","repeating-linear-gradient()":"repeating-linear-gradient( [ <angle> | to <side-or-corner> ]? , <color-stop-list> )","repeating-radial-gradient()":"repeating-radial-gradient( [ <ending-shape> || <size> ]? [ at <position> ]? , <color-stop-list> )","rgb()":"rgb( <percentage>{3} [ / <alpha-value> ]? ) | rgb( <number>{3} [ / <alpha-value> ]? ) | rgb( <percentage>#{3} , <alpha-value>? ) | rgb( <number>#{3} , <alpha-value>? )","rgba()":"rgba( <percentage>{3} [ / <alpha-value> ]? ) | rgba( <number>{3} [ / <alpha-value> ]? ) | rgba( <percentage>#{3} , <alpha-value>? ) | rgba( <number>#{3} , <alpha-value>? )","rotate()":"rotate( [ <angle> | <zero> ] )","rotate3d()":"rotate3d( <number> , <number> , <number> , [ <angle> | <zero> ] )","rotateX()":"rotateX( [ <angle> | <zero> ] )","rotateY()":"rotateY( [ <angle> | <zero> ] )","rotateZ()":"rotateZ( [ <angle> | <zero> ] )","saturate()":"saturate( <number-percentage> )","scale()":"scale( <number> , <number>? )","scale3d()":"scale3d( <number> , <number> , <number> )","scaleX()":"scaleX( <number> )","scaleY()":"scaleY( <number> )","scaleZ()":"scaleZ( <number> )","self-position":"center | start | end | self-start | self-end | flex-start | flex-end","shape-radius":"<length-percentage> | closest-side | farthest-side","skew()":"skew( [ <angle> | <zero> ] , [ <angle> | <zero> ]? )","skewX()":"skewX( [ <angle> | <zero> ] )","skewY()":"skewY( [ <angle> | <zero> ] )","sepia()":"sepia( <number-percentage> )",shadow:"inset? && <length>{2,4} && <color>?","shadow-t":"[ <length>{2,3} && <color>? ]",shape:"rect( <top> , <right> , <bottom> , <left> ) | rect( <top> <right> <bottom> <left> )","shape-box":"<box> | margin-box","side-or-corner":"[ left | right ] || [ top | bottom ]","single-animation":"<time> || <timing-function> || <time> || <single-animation-iteration-count> || <single-animation-direction> || <single-animation-fill-mode> || <single-animation-play-state> || [ none | <keyframes-name> ]","single-animation-direction":"normal | reverse | alternate | alternate-reverse","single-animation-fill-mode":"none | forwards | backwards | both","single-animation-iteration-count":"infinite | <number>","single-animation-play-state":"running | paused","single-transition":"[ none | <single-transition-property> ] || <time> || <timing-function> || <time>","single-transition-property":"all | <custom-ident>",size:"closest-side | farthest-side | closest-corner | farthest-corner | <length> | <length-percentage>{2}","step-position":"jump-start | jump-end | jump-none | jump-both | start | end","step-timing-function":"step-start | step-end | steps( <integer> [, <step-position> ]? )","subclass-selector":"<id-selector> | <class-selector> | <attribute-selector> | <pseudo-class-selector>","supports-condition":"not <supports-in-parens> | <supports-in-parens> [ and <supports-in-parens> ]* | <supports-in-parens> [ or <supports-in-parens> ]*","supports-in-parens":"( <supports-condition> ) | <supports-feature> | <general-enclosed>","supports-feature":"<supports-decl> | <supports-selector-fn>","supports-decl":"( <declaration> )","supports-selector-fn":"selector( <complex-selector> )",symbol:"<string> | <image> | <custom-ident>",target:"<target-counter()> | <target-counters()> | <target-text()>","target-counter()":"target-counter( [ <string> | <url> ] , <custom-ident> , <counter-style>? )","target-counters()":"target-counters( [ <string> | <url> ] , <custom-ident> , <string> , <counter-style>? )","target-text()":"target-text( [ <string> | <url> ] , [ content | before | after | first-letter ]? )","time-percentage":"<time> | <percentage>","timing-function":"linear | <cubic-bezier-timing-function> | <step-timing-function>","track-breadth":"<length-percentage> | <flex> | min-content | max-content | auto","track-list":"[ <line-names>? [ <track-size> | <track-repeat> ] ]+ <line-names>?","track-repeat":"repeat( [ <positive-integer> ] , [ <line-names>? <track-size> ]+ <line-names>? )","track-size":"<track-breadth> | minmax( <inflexible-breadth> , <track-breadth> ) | fit-content( [ <length> | <percentage> ] )","transform-function":"<matrix()> | <translate()> | <translateX()> | <translateY()> | <scale()> | <scaleX()> | <scaleY()> | <rotate()> | <skew()> | <skewX()> | <skewY()> | <matrix3d()> | <translate3d()> | <translateZ()> | <scale3d()> | <scaleZ()> | <rotate3d()> | <rotateX()> | <rotateY()> | <rotateZ()> | <perspective()>","transform-list":"<transform-function>+","translate()":"translate( <length-percentage> , <length-percentage>? )","translate3d()":"translate3d( <length-percentage> , <length-percentage> , <length> )","translateX()":"translateX( <length-percentage> )","translateY()":"translateY( <length-percentage> )","translateZ()":"translateZ( <length> )","type-or-unit":"string | color | url | integer | number | length | angle | time | frequency | cap | ch | em | ex | ic | lh | rlh | rem | vb | vi | vw | vh | vmin | vmax | mm | Q | cm | in | pt | pc | px | deg | grad | rad | turn | ms | s | Hz | kHz | %","type-selector":"<wq-name> | <ns-prefix>? '*'","var()":"var( <custom-property-name> , <declaration-value>? )","viewport-length":"auto | <length-percentage>","wq-name":"<ns-prefix>? <ident-token>","-legacy-gradient":"<-webkit-gradient()> | <-legacy-linear-gradient> | <-legacy-repeating-linear-gradient> | <-legacy-radial-gradient> | <-legacy-repeating-radial-gradient>","-legacy-linear-gradient":"-moz-linear-gradient( <-legacy-linear-gradient-arguments> ) | -webkit-linear-gradient( <-legacy-linear-gradient-arguments> ) | -o-linear-gradient( <-legacy-linear-gradient-arguments> )","-legacy-repeating-linear-gradient":"-moz-repeating-linear-gradient( <-legacy-linear-gradient-arguments> ) | -webkit-repeating-linear-gradient( <-legacy-linear-gradient-arguments> ) | -o-repeating-linear-gradient( <-legacy-linear-gradient-arguments> )","-legacy-linear-gradient-arguments":"[ <angle> | <side-or-corner> ]? , <color-stop-list>","-legacy-radial-gradient":"-moz-radial-gradient( <-legacy-radial-gradient-arguments> ) | -webkit-radial-gradient( <-legacy-radial-gradient-arguments> ) | -o-radial-gradient( <-legacy-radial-gradient-arguments> )","-legacy-repeating-radial-gradient":"-moz-repeating-radial-gradient( <-legacy-radial-gradient-arguments> ) | -webkit-repeating-radial-gradient( <-legacy-radial-gradient-arguments> ) | -o-repeating-radial-gradient( <-legacy-radial-gradient-arguments> )","-legacy-radial-gradient-arguments":"[ <position> , ]? [ [ [ <-legacy-radial-gradient-shape> || <-legacy-radial-gradient-size> ] | [ <length> | <percentage> ]{2} ] , ]? <color-stop-list>","-legacy-radial-gradient-size":"closest-side | closest-corner | farthest-side | farthest-corner | contain | cover","-legacy-radial-gradient-shape":"circle | ellipse","-non-standard-font":"-apple-system-body | -apple-system-headline | -apple-system-subheadline | -apple-system-caption1 | -apple-system-caption2 | -apple-system-footnote | -apple-system-short-body | -apple-system-short-headline | -apple-system-short-subheadline | -apple-system-short-caption1 | -apple-system-short-footnote | -apple-system-tall-body","-non-standard-color":"-moz-ButtonDefault | -moz-ButtonHoverFace | -moz-ButtonHoverText | -moz-CellHighlight | -moz-CellHighlightText | -moz-Combobox | -moz-ComboboxText | -moz-Dialog | -moz-DialogText | -moz-dragtargetzone | -moz-EvenTreeRow | -moz-Field | -moz-FieldText | -moz-html-CellHighlight | -moz-html-CellHighlightText | -moz-mac-accentdarkestshadow | -moz-mac-accentdarkshadow | -moz-mac-accentface | -moz-mac-accentlightesthighlight | -moz-mac-accentlightshadow | -moz-mac-accentregularhighlight | -moz-mac-accentregularshadow | -moz-mac-chrome-active | -moz-mac-chrome-inactive | -moz-mac-focusring | -moz-mac-menuselect | -moz-mac-menushadow | -moz-mac-menutextselect | -moz-MenuHover | -moz-MenuHoverText | -moz-MenuBarText | -moz-MenuBarHoverText | -moz-nativehyperlinktext | -moz-OddTreeRow | -moz-win-communicationstext | -moz-win-mediatext | -moz-activehyperlinktext | -moz-default-background-color | -moz-default-color | -moz-hyperlinktext | -moz-visitedhyperlinktext | -webkit-activelink | -webkit-focus-ring-color | -webkit-link | -webkit-text","-non-standard-image-rendering":"optimize-contrast | -moz-crisp-edges | -o-crisp-edges | -webkit-optimize-contrast","-non-standard-overflow":"-moz-scrollbars-none | -moz-scrollbars-horizontal | -moz-scrollbars-vertical | -moz-hidden-unscrollable","-non-standard-width":"min-intrinsic | intrinsic | -moz-min-content | -moz-max-content | -webkit-min-content | -webkit-max-content","-webkit-gradient()":"-webkit-gradient( <-webkit-gradient-type> , <-webkit-gradient-point> [, <-webkit-gradient-point> | , <-webkit-gradient-radius> , <-webkit-gradient-point> ] [, <-webkit-gradient-radius> ]? [, <-webkit-gradient-color-stop> ]* )","-webkit-gradient-color-stop":"from( <color> ) | color-stop( [ <number-zero-one> | <percentage> ] , <color> ) | to( <color> )","-webkit-gradient-point":"[ left | center | right | <length-percentage> ] [ top | center | bottom | <length-percentage> ]","-webkit-gradient-radius":"<length> | <percentage>","-webkit-gradient-type":"linear | radial","-webkit-mask-box-repeat":"repeat | stretch | round","-webkit-mask-clip-style":"border | border-box | padding | padding-box | content | content-box | text","-ms-filter-function-list":"<-ms-filter-function>+","-ms-filter-function":"<-ms-filter-function-progid> | <-ms-filter-function-legacy>","-ms-filter-function-progid":"'progid:' [ <ident-token> '.' ]* [ <ident-token> | <function-token> <any-value>? ')' ]","-ms-filter-function-legacy":"<ident-token> | <function-token> <any-value>? ')'","-ms-filter":"<string>",age:"child | young | old","attr-name":"<wq-name>","attr-fallback":"<any-value>","border-radius":"<length-percentage>{1,2}",bottom:"<length> | auto","generic-voice":"[ <age>? <gender> <integer>? ]",gender:"male | female | neutral",left:"<length> | auto","mask-image":"<mask-reference>#","name-repeat":"repeat( [ <positive-integer> | auto-fill ] , <line-names>+ )",paint:"none | <color> | <url> [ none | <color> ]? | context-fill | context-stroke","path()":"path( <string> )",ratio:"<integer> / <integer>",right:"<length> | auto","svg-length":"<percentage> | <length> | <number>","svg-writing-mode":"lr-tb | rl-tb | tb-rl | lr | rl | tb",top:"<length> | auto",x:"<number>",y:"<number>",declaration:"<ident-token> : <declaration-value>? [ '!' important ]?","declaration-list":"[ <declaration>? ';' ]* <declaration>?",url:"url( <string> <url-modifier>* ) | <url-token>","url-modifier":"<ident> | <function-token> <any-value> )","number-zero-one":"<number [0,1]>","number-one-or-greater":"<number [1,∞]>","positive-integer":"<integer [0,∞]>"},properties:{"--*":"<declaration-value>","-ms-accelerator":"false | true","-ms-block-progression":"tb | rl | bt | lr","-ms-content-zoom-chaining":"none | chained","-ms-content-zooming":"none | zoom","-ms-content-zoom-limit":"<'-ms-content-zoom-limit-min'> <'-ms-content-zoom-limit-max'>","-ms-content-zoom-limit-max":"<percentage>","-ms-content-zoom-limit-min":"<percentage>","-ms-content-zoom-snap":"<'-ms-content-zoom-snap-type'> || <'-ms-content-zoom-snap-points'>","-ms-content-zoom-snap-points":"snapInterval( <percentage> , <percentage> ) | snapList( <percentage># )","-ms-content-zoom-snap-type":"none | proximity | mandatory","-ms-filter":"<string>","-ms-flow-from":"[ none | <custom-ident> ]#","-ms-flow-into":"[ none | <custom-ident> ]#","-ms-high-contrast-adjust":"auto | none","-ms-hyphenate-limit-chars":"auto | <integer>{1,3}","-ms-hyphenate-limit-lines":"no-limit | <integer>","-ms-hyphenate-limit-zone":"<percentage> | <length>","-ms-ime-align":"auto | after","-ms-overflow-style":"auto | none | scrollbar | -ms-autohiding-scrollbar","-ms-scrollbar-3dlight-color":"<color>","-ms-scrollbar-arrow-color":"<color>","-ms-scrollbar-base-color":"<color>","-ms-scrollbar-darkshadow-color":"<color>","-ms-scrollbar-face-color":"<color>","-ms-scrollbar-highlight-color":"<color>","-ms-scrollbar-shadow-color":"<color>","-ms-scrollbar-track-color":"<color>","-ms-scroll-chaining":"chained | none","-ms-scroll-limit":"<'-ms-scroll-limit-x-min'> <'-ms-scroll-limit-y-min'> <'-ms-scroll-limit-x-max'> <'-ms-scroll-limit-y-max'>","-ms-scroll-limit-x-max":"auto | <length>","-ms-scroll-limit-x-min":"<length>","-ms-scroll-limit-y-max":"auto | <length>","-ms-scroll-limit-y-min":"<length>","-ms-scroll-rails":"none | railed","-ms-scroll-snap-points-x":"snapInterval( <length-percentage> , <length-percentage> ) | snapList( <length-percentage># )","-ms-scroll-snap-points-y":"snapInterval( <length-percentage> , <length-percentage> ) | snapList( <length-percentage># )","-ms-scroll-snap-type":"none | proximity | mandatory","-ms-scroll-snap-x":"<'-ms-scroll-snap-type'> <'-ms-scroll-snap-points-x'>","-ms-scroll-snap-y":"<'-ms-scroll-snap-type'> <'-ms-scroll-snap-points-y'>","-ms-scroll-translation":"none | vertical-to-horizontal","-ms-text-autospace":"none | ideograph-alpha | ideograph-numeric | ideograph-parenthesis | ideograph-space","-ms-touch-select":"grippers | none","-ms-user-select":"none | element | text","-ms-wrap-flow":"auto | both | start | end | maximum | clear","-ms-wrap-margin":"<length>","-ms-wrap-through":"wrap | none","-moz-appearance":"none | button | button-arrow-down | button-arrow-next | button-arrow-previous | button-arrow-up | button-bevel | button-focus | caret | checkbox | checkbox-container | checkbox-label | checkmenuitem | dualbutton | groupbox | listbox | listitem | menuarrow | menubar | menucheckbox | menuimage | menuitem | menuitemtext | menulist | menulist-button | menulist-text | menulist-textfield | menupopup | menuradio | menuseparator | meterbar | meterchunk | progressbar | progressbar-vertical | progresschunk | progresschunk-vertical | radio | radio-container | radio-label | radiomenuitem | range | range-thumb | resizer | resizerpanel | scale-horizontal | scalethumbend | scalethumb-horizontal | scalethumbstart | scalethumbtick | scalethumb-vertical | scale-vertical | scrollbarbutton-down | scrollbarbutton-left | scrollbarbutton-right | scrollbarbutton-up | scrollbarthumb-horizontal | scrollbarthumb-vertical | scrollbartrack-horizontal | scrollbartrack-vertical | searchfield | separator | sheet | spinner | spinner-downbutton | spinner-textfield | spinner-upbutton | splitter | statusbar | statusbarpanel | tab | tabpanel | tabpanels | tab-scroll-arrow-back | tab-scroll-arrow-forward | textfield | textfield-multiline | toolbar | toolbarbutton | toolbarbutton-dropdown | toolbargripper | toolbox | tooltip | treeheader | treeheadercell | treeheadersortarrow | treeitem | treeline | treetwisty | treetwistyopen | treeview | -moz-mac-unified-toolbar | -moz-win-borderless-glass | -moz-win-browsertabbar-toolbox | -moz-win-communicationstext | -moz-win-communications-toolbox | -moz-win-exclude-glass | -moz-win-glass | -moz-win-mediatext | -moz-win-media-toolbox | -moz-window-button-box | -moz-window-button-box-maximized | -moz-window-button-close | -moz-window-button-maximize | -moz-window-button-minimize | -moz-window-button-restore | -moz-window-frame-bottom | -moz-window-frame-left | -moz-window-frame-right | -moz-window-titlebar | -moz-window-titlebar-maximized","-moz-binding":"<url> | none","-moz-border-bottom-colors":"<color>+ | none","-moz-border-left-colors":"<color>+ | none","-moz-border-right-colors":"<color>+ | none","-moz-border-top-colors":"<color>+ | none","-moz-context-properties":"none | [ fill | fill-opacity | stroke | stroke-opacity ]#","-moz-float-edge":"border-box | content-box | margin-box | padding-box","-moz-force-broken-image-icon":"<integer>","-moz-image-region":"<shape> | auto","-moz-orient":"inline | block | horizontal | vertical","-moz-outline-radius":"<outline-radius>{1,4} [ / <outline-radius>{1,4} ]?","-moz-outline-radius-bottomleft":"<outline-radius>",
  "-moz-outline-radius-bottomright":"<outline-radius>","-moz-outline-radius-topleft":"<outline-radius>","-moz-outline-radius-topright":"<outline-radius>","-moz-stack-sizing":"ignore | stretch-to-fit","-moz-text-blink":"none | blink","-moz-user-focus":"ignore | normal | select-after | select-before | select-menu | select-same | select-all | none","-moz-user-input":"auto | none | enabled | disabled","-moz-user-modify":"read-only | read-write | write-only","-moz-window-dragging":"drag | no-drag","-moz-window-shadow":"default | menu | tooltip | sheet | none","-webkit-appearance":"none | button | button-bevel | caps-lock-indicator | caret | checkbox | default-button | listbox | listitem | media-fullscreen-button | media-mute-button | media-play-button | media-seek-back-button | media-seek-forward-button | media-slider | media-sliderthumb | menulist | menulist-button | menulist-text | menulist-textfield | push-button | radio | scrollbarbutton-down | scrollbarbutton-left | scrollbarbutton-right | scrollbarbutton-up | scrollbargripper-horizontal | scrollbargripper-vertical | scrollbarthumb-horizontal | scrollbarthumb-vertical | scrollbartrack-horizontal | scrollbartrack-vertical | searchfield | searchfield-cancel-button | searchfield-decoration | searchfield-results-button | searchfield-results-decoration | slider-horizontal | slider-vertical | sliderthumb-horizontal | sliderthumb-vertical | square-button | textarea | textfield","-webkit-border-before":"<'border-width'> || <'border-style'> || <'color'>","-webkit-border-before-color":"<'color'>","-webkit-border-before-style":"<'border-style'>","-webkit-border-before-width":"<'border-width'>","-webkit-box-reflect":"[ above | below | right | left ]? <length>? <image>?","-webkit-line-clamp":"none | <integer>","-webkit-mask":"[ <mask-reference> || <position> [ / <bg-size> ]? || <repeat-style> || [ <box> | border | padding | content | text ] || [ <box> | border | padding | content ] ]#","-webkit-mask-attachment":"<attachment>#","-webkit-mask-clip":"[ <box> | border | padding | content | text ]#","-webkit-mask-composite":"<composite-style>#","-webkit-mask-image":"<mask-reference>#","-webkit-mask-origin":"[ <box> | border | padding | content ]#","-webkit-mask-position":"<position>#","-webkit-mask-position-x":"[ <length-percentage> | left | center | right ]#","-webkit-mask-position-y":"[ <length-percentage> | top | center | bottom ]#","-webkit-mask-repeat":"<repeat-style>#","-webkit-mask-repeat-x":"repeat | no-repeat | space | round","-webkit-mask-repeat-y":"repeat | no-repeat | space | round","-webkit-mask-size":"<bg-size>#","-webkit-overflow-scrolling":"auto | touch","-webkit-tap-highlight-color":"<color>","-webkit-text-fill-color":"<color>","-webkit-text-stroke":"<length> || <color>","-webkit-text-stroke-color":"<color>","-webkit-text-stroke-width":"<length>","-webkit-touch-callout":"default | none","-webkit-user-modify":"read-only | read-write | read-write-plaintext-only","align-content":"normal | <baseline-position> | <content-distribution> | <overflow-position>? <content-position>","align-items":"normal | stretch | <baseline-position> | [ <overflow-position>? <self-position> ]","align-self":"auto | normal | stretch | <baseline-position> | <overflow-position>? <self-position>",all:"initial | inherit | unset | revert",animation:"<single-animation>#","animation-delay":"<time>#","animation-direction":"<single-animation-direction>#","animation-duration":"<time>#","animation-fill-mode":"<single-animation-fill-mode>#","animation-iteration-count":"<single-animation-iteration-count>#","animation-name":"[ none | <keyframes-name> ]#","animation-play-state":"<single-animation-play-state>#","animation-timing-function":"<timing-function>#",appearance:"none | auto | button | textfield | <compat>",azimuth:"<angle> | [ [ left-side | far-left | left | center-left | center | center-right | right | far-right | right-side ] || behind ] | leftwards | rightwards","backdrop-filter":"none | <filter-function-list>","backface-visibility":"visible | hidden",background:"[ <bg-layer> , ]* <final-bg-layer>","background-attachment":"<attachment>#","background-blend-mode":"<blend-mode>#","background-clip":"<box>#","background-color":"<color>","background-image":"<bg-image>#","background-origin":"<box>#","background-position":"<bg-position>#","background-position-x":"[ center | [ left | right | x-start | x-end ]? <length-percentage>? ]#","background-position-y":"[ center | [ top | bottom | y-start | y-end ]? <length-percentage>? ]#","background-repeat":"<repeat-style>#","background-size":"<bg-size>#","block-overflow":"clip | ellipsis | <string>","block-size":"<'width'>",border:"<line-width> || <line-style> || <color>","border-block":"<'border-top-width'> || <'border-top-style'> || <'color'>","border-block-color":"<'border-top-color'>{1,2}","border-block-style":"<'border-top-style'>","border-block-width":"<'border-top-width'>","border-block-end":"<'border-top-width'> || <'border-top-style'> || <'color'>","border-block-end-color":"<'border-top-color'>","border-block-end-style":"<'border-top-style'>","border-block-end-width":"<'border-top-width'>","border-block-start":"<'border-top-width'> || <'border-top-style'> || <'color'>","border-block-start-color":"<'border-top-color'>","border-block-start-style":"<'border-top-style'>","border-block-start-width":"<'border-top-width'>","border-bottom":"<line-width> || <line-style> || <color>","border-bottom-color":"<'border-top-color'>","border-bottom-left-radius":"<length-percentage>{1,2}","border-bottom-right-radius":"<length-percentage>{1,2}","border-bottom-style":"<line-style>","border-bottom-width":"<line-width>","border-collapse":"collapse | separate","border-color":"<color>{1,4}","border-end-end-radius":"<length-percentage>{1,2}","border-end-start-radius":"<length-percentage>{1,2}","border-image":"<'border-image-source'> || <'border-image-slice'> [ / <'border-image-width'> | / <'border-image-width'>? / <'border-image-outset'> ]? || <'border-image-repeat'>","border-image-outset":"[ <length> | <number> ]{1,4}","border-image-repeat":"[ stretch | repeat | round | space ]{1,2}","border-image-slice":"<number-percentage>{1,4} && fill?","border-image-source":"none | <image>","border-image-width":"[ <length-percentage> | <number> | auto ]{1,4}","border-inline":"<'border-top-width'> || <'border-top-style'> || <'color'>","border-inline-end":"<'border-top-width'> || <'border-top-style'> || <'color'>","border-inline-color":"<'border-top-color'>{1,2}","border-inline-style":"<'border-top-style'>","border-inline-width":"<'border-top-width'>","border-inline-end-color":"<'border-top-color'>","border-inline-end-style":"<'border-top-style'>","border-inline-end-width":"<'border-top-width'>","border-inline-start":"<'border-top-width'> || <'border-top-style'> || <'color'>","border-inline-start-color":"<'border-top-color'>","border-inline-start-style":"<'border-top-style'>","border-inline-start-width":"<'border-top-width'>","border-left":"<line-width> || <line-style> || <color>","border-left-color":"<color>","border-left-style":"<line-style>","border-left-width":"<line-width>","border-radius":"<length-percentage>{1,4} [ / <length-percentage>{1,4} ]?","border-right":"<line-width> || <line-style> || <color>","border-right-color":"<color>","border-right-style":"<line-style>","border-right-width":"<line-width>","border-spacing":"<length> <length>?","border-start-end-radius":"<length-percentage>{1,2}","border-start-start-radius":"<length-percentage>{1,2}","border-style":"<line-style>{1,4}","border-top":"<line-width> || <line-style> || <color>","border-top-color":"<color>","border-top-left-radius":"<length-percentage>{1,2}","border-top-right-radius":"<length-percentage>{1,2}","border-top-style":"<line-style>","border-top-width":"<line-width>","border-width":"<line-width>{1,4}",bottom:"<length> | <percentage> | auto","box-align":"start | center | end | baseline | stretch","box-decoration-break":"slice | clone","box-direction":"normal | reverse | inherit","box-flex":"<number>","box-flex-group":"<integer>","box-lines":"single | multiple","box-ordinal-group":"<integer>","box-orient":"horizontal | vertical | inline-axis | block-axis | inherit","box-pack":"start | center | end | justify","box-shadow":"none | <shadow>#","box-sizing":"content-box | border-box","break-after":"auto | avoid | always | all | avoid-page | page | left | right | recto | verso | avoid-column | column | avoid-region | region","break-before":"auto | avoid | always | all | avoid-page | page | left | right | recto | verso | avoid-column | column | avoid-region | region","break-inside":"auto | avoid | avoid-page | avoid-column | avoid-region","caption-side":"top | bottom | block-start | block-end | inline-start | inline-end","caret-color":"auto | <color>",clear:"none | left | right | both | inline-start | inline-end",clip:"<shape> | auto","clip-path":"<clip-source> | [ <basic-shape> || <geometry-box> ] | none",color:"<color>","color-adjust":"economy | exact","column-count":"<integer> | auto","column-fill":"auto | balance | balance-all","column-gap":"normal | <length-percentage>","column-rule":"<'column-rule-width'> || <'column-rule-style'> || <'column-rule-color'>","column-rule-color":"<color>","column-rule-style":"<'border-style'>","column-rule-width":"<'border-width'>","column-span":"none | all","column-width":"<length> | auto",columns:"<'column-width'> || <'column-count'>",contain:"none | strict | content | [ size || layout || style || paint ]",content:"normal | none | [ <content-replacement> | <content-list> ] [ / <string> ]?","counter-increment":"[ <custom-ident> <integer>? ]+ | none","counter-reset":"[ <custom-ident> <integer>? ]+ | none","counter-set":"[ <custom-ident> <integer>? ]+ | none",cursor:"[ [ <url> [ <x> <y> ]? , ]* [ auto | default | none | context-menu | help | pointer | progress | wait | cell | crosshair | text | vertical-text | alias | copy | move | no-drop | not-allowed | e-resize | n-resize | ne-resize | nw-resize | s-resize | se-resize | sw-resize | w-resize | ew-resize | ns-resize | nesw-resize | nwse-resize | col-resize | row-resize | all-scroll | zoom-in | zoom-out | grab | grabbing | hand | -webkit-grab | -webkit-grabbing | -webkit-zoom-in | -webkit-zoom-out | -moz-grab | -moz-grabbing | -moz-zoom-in | -moz-zoom-out ] ]",direction:"ltr | rtl",display:"none | inline | block | list-item | inline-list-item | inline-block | inline-table | table | table-cell | table-column | table-column-group | table-footer-group | table-header-group | table-row | table-row-group | flex | inline-flex | grid | inline-grid | run-in | ruby | ruby-base | ruby-text | ruby-base-container | ruby-text-container | contents | -ms-flexbox | -ms-inline-flexbox | -ms-grid | -ms-inline-grid | -webkit-flex | -webkit-inline-flex | -webkit-box | -webkit-inline-box | -moz-inline-stack | -moz-box | -moz-inline-box","empty-cells":"show | hide",filter:"none | <filter-function-list> | <-ms-filter-function-list>",flex:"none | [ <'flex-grow'> <'flex-shrink'>? || <'flex-basis'> ]","flex-basis":"content | <'width'>","flex-direction":"row | row-reverse | column | column-reverse","flex-flow":"<'flex-direction'> || <'flex-wrap'>","flex-grow":"<number>","flex-shrink":"<number>","flex-wrap":"nowrap | wrap | wrap-reverse",float:"left | right | none | inline-start | inline-end",font:"[ [ <'font-style'> || <font-variant-css21> || <'font-weight'> || <'font-stretch'> ]? <'font-size'> [ / <'line-height'> ]? <'font-family'> ] | caption | icon | menu | message-box | small-caption | status-bar","font-family":"[ <family-name> | <generic-family> ]#","font-feature-settings":"normal | <feature-tag-value>#","font-kerning":"auto | normal | none","font-language-override":"normal | <string>","font-optical-sizing":"auto | none","font-variation-settings":"normal | [ <string> <number> ]#","font-size":"<absolute-size> | <relative-size> | <length-percentage>","font-size-adjust":"none | <number>","font-stretch":"<font-stretch-absolute>","font-style":"normal | italic | oblique <angle>?","font-synthesis":"none | [ weight || style ]","font-variant":"normal | none | [ <common-lig-values> || <discretionary-lig-values> || <historical-lig-values> || <contextual-alt-values> || stylistic( <feature-value-name> ) || historical-forms || styleset( <feature-value-name># ) || character-variant( <feature-value-name># ) || swash( <feature-value-name> ) || ornaments( <feature-value-name> ) || annotation( <feature-value-name> ) || [ small-caps | all-small-caps | petite-caps | all-petite-caps | unicase | titling-caps ] || <numeric-figure-values> || <numeric-spacing-values> || <numeric-fraction-values> || ordinal || slashed-zero || <east-asian-variant-values> || <east-asian-width-values> || ruby ]","font-variant-alternates":"normal | [ stylistic( <feature-value-name> ) || historical-forms || styleset( <feature-value-name># ) || character-variant( <feature-value-name># ) || swash( <feature-value-name> ) || ornaments( <feature-value-name> ) || annotation( <feature-value-name> ) ]","font-variant-caps":"normal | small-caps | all-small-caps | petite-caps | all-petite-caps | unicase | titling-caps","font-variant-east-asian":"normal | [ <east-asian-variant-values> || <east-asian-width-values> || ruby ]","font-variant-ligatures":"normal | none | [ <common-lig-values> || <discretionary-lig-values> || <historical-lig-values> || <contextual-alt-values> ]","font-variant-numeric":"normal | [ <numeric-figure-values> || <numeric-spacing-values> || <numeric-fraction-values> || ordinal || slashed-zero ]","font-variant-position":"normal | sub | super","font-weight":"<font-weight-absolute> | bolder | lighter",gap:"<'row-gap'> <'column-gap'>?",grid:"<'grid-template'> | <'grid-template-rows'> / [ auto-flow && dense? ] <'grid-auto-columns'>? | [ auto-flow && dense? ] <'grid-auto-rows'>? / <'grid-template-columns'>","grid-area":"<grid-line> [ / <grid-line> ]{0,3}","grid-auto-columns":"<track-size>+","grid-auto-flow":"[ row | column ] || dense","grid-auto-rows":"<track-size>+","grid-column":"<grid-line> [ / <grid-line> ]?","grid-column-end":"<grid-line>","grid-column-gap":"<length-percentage>","grid-column-start":"<grid-line>","grid-gap":"<'grid-row-gap'> <'grid-column-gap'>?","grid-row":"<grid-line> [ / <grid-line> ]?","grid-row-end":"<grid-line>","grid-row-gap":"<length-percentage>","grid-row-start":"<grid-line>","grid-template":"none | [ <'grid-template-rows'> / <'grid-template-columns'> ] | [ <line-names>? <string> <track-size>? <line-names>? ]+ [ / <explicit-track-list> ]?","grid-template-areas":"none | <string>+","grid-template-columns":"none | <track-list> | <auto-track-list>","grid-template-rows":"none | <track-list> | <auto-track-list>","hanging-punctuation":"none | [ first || [ force-end | allow-end ] || last ]",height:"[ <length> | <percentage> ] && [ border-box | content-box ]? | available | min-content | max-content | fit-content | auto",hyphens:"none | manual | auto","image-orientation":"from-image | <angle> | [ <angle>? flip ]","image-rendering":"auto | crisp-edges | pixelated | optimizeSpeed | optimizeQuality | <-non-standard-image-rendering>","image-resolution":"[ from-image || <resolution> ] && snap?","ime-mode":"auto | normal | active | inactive | disabled","initial-letter":"normal | [ <number> <integer>? ]","initial-letter-align":"[ auto | alphabetic | hanging | ideographic ]","inline-size":"<'width'>",inset:"<'top'>{1,4}","inset-block":"<'top'>{1,2}","inset-block-end":"<'top'>","inset-block-start":"<'top'>","inset-inline":"<'top'>{1,2}","inset-inline-end":"<'top'>","inset-inline-start":"<'top'>",isolation:"auto | isolate","justify-content":"normal | <content-distribution> | <overflow-position>? [ <content-position> | left | right ]","justify-items":"normal | stretch | <baseline-position> | <overflow-position>? [ <self-position> | left | right ] | legacy | legacy && [ left | right | center ]","justify-self":"auto | normal | stretch | <baseline-position> | <overflow-position>? [ <self-position> | left | right ]",left:"<length> | <percentage> | auto","letter-spacing":"normal | <length-percentage>","line-break":"auto | loose | normal | strict","line-clamp":"none | <integer>","line-height":"normal | <number> | <length> | <percentage>","line-height-step":"<length>","list-style":"<'list-style-type'> || <'list-style-position'> || <'list-style-image'>","list-style-image":"<url> | none","list-style-position":"inside | outside","list-style-type":"<counter-style> | <string> | none",margin:"[ <length> | <percentage> | auto ]{1,4}","margin-block":"<'margin-left'>{1,2}","margin-block-end":"<'margin-left'>","margin-block-start":"<'margin-left'>","margin-bottom":"<length> | <percentage> | auto","margin-inline":"<'margin-left'>{1,2}","margin-inline-end":"<'margin-left'>","margin-inline-start":"<'margin-left'>","margin-left":"<length> | <percentage> | auto","margin-right":"<length> | <percentage> | auto","margin-top":"<length> | <percentage> | auto",mask:"<mask-layer>#","mask-border":"<'mask-border-source'> || <'mask-border-slice'> [ / <'mask-border-width'>? [ / <'mask-border-outset'> ]? ]? || <'mask-border-repeat'> || <'mask-border-mode'>","mask-border-mode":"luminance | alpha","mask-border-outset":"[ <length> | <number> ]{1,4}","mask-border-repeat":"[ stretch | repeat | round | space ]{1,2}","mask-border-slice":"<number-percentage>{1,4} fill?","mask-border-source":"none | <image>","mask-border-width":"[ <length-percentage> | <number> | auto ]{1,4}","mask-clip":"[ <geometry-box> | no-clip ]#","mask-composite":"<compositing-operator>#","mask-image":"<mask-reference>#","mask-mode":"<masking-mode>#","mask-origin":"<geometry-box>#","mask-position":"<position>#","mask-repeat":"<repeat-style>#","mask-size":"<bg-size>#","mask-type":"luminance | alpha","max-block-size":"<'max-width'>","max-height":"<length> | <percentage> | none | max-content | min-content | fit-content | fill-available","max-inline-size":"<'max-width'>","max-lines":"none | <integer>","max-width":"<length> | <percentage> | none | max-content | min-content | fit-content | fill-available | <-non-standard-width>","min-block-size":"<'min-width'>","min-height":"<length> | <percentage> | auto | max-content | min-content | fit-content | fill-available","min-inline-size":"<'min-width'>","min-width":"<length> | <percentage> | auto | max-content | min-content | fit-content | fill-available | <-non-standard-width>","mix-blend-mode":"<blend-mode>","object-fit":"fill | contain | cover | none | scale-down","object-position":"<position>",offset:"[ <'offset-position'>? [ <'offset-path'> [ <'offset-distance'> || <'offset-rotate'> ]? ]? ]! [ / <'offset-anchor'> ]?","offset-anchor":"auto | <position>","offset-distance":"<length-percentage>","offset-path":"none | ray( [ <angle> && <size>? && contain? ] ) | <path()> | <url> | [ <basic-shape> || <geometry-box> ]","offset-position":"auto | <position>","offset-rotate":"[ auto | reverse ] || <angle>",opacity:"<number-zero-one>",order:"<integer>",orphans:"<integer>",outline:"[ <'outline-color'> || <'outline-style'> || <'outline-width'> ]","outline-color":"<color> | invert","outline-offset":"<length>","outline-style":"auto | <'border-style'>","outline-width":"<line-width>",overflow:"[ visible | hidden | clip | scroll | auto ]{1,2} | <-non-standard-overflow>","overflow-anchor":"auto | none","overflow-block":"visible | hidden | clip | scroll | auto","overflow-clip-box":"padding-box | content-box","overflow-inline":"visible | hidden | clip | scroll | auto","overflow-wrap":"normal | break-word | anywhere","overflow-x":"visible | hidden | clip | scroll | auto","overflow-y":"visible | hidden | clip | scroll | auto","overscroll-behavior":"[ contain | none | auto ]{1,2}","overscroll-behavior-x":"contain | none | auto","overscroll-behavior-y":"contain | none | auto",padding:"[ <length> | <percentage> ]{1,4}","padding-block":"<'padding-left'>{1,2}","padding-block-end":"<'padding-left'>","padding-block-start":"<'padding-left'>","padding-bottom":"<length> | <percentage>","padding-inline":"<'padding-left'>{1,2}","padding-inline-end":"<'padding-left'>","padding-inline-start":"<'padding-left'>","padding-left":"<length> | <percentage>","padding-right":"<length> | <percentage>","padding-top":"<length> | <percentage>","page-break-after":"auto | always | avoid | left | right | recto | verso","page-break-before":"auto | always | avoid | left | right | recto | verso","page-break-inside":"auto | avoid","paint-order":"normal | [ fill || stroke || markers ]",perspective:"none | <length>","perspective-origin":"<position>","place-content":"<'align-content'> <'justify-content'>?","place-items":"<'align-items'> <'justify-items'>?","place-self":"<'align-self'> <'justify-self'>?","pointer-events":"auto | none | visiblePainted | visibleFill | visibleStroke | visible | painted | fill | stroke | all | inherit",position:"static | relative | absolute | sticky | fixed | -webkit-sticky",quotes:"none | [ <string> <string> ]+",resize:"none | both | horizontal | vertical | block | inline",right:"<length> | <percentage> | auto",rotate:"none | <angle> | [ x | y | z | <number>{3} ] && <angle>","row-gap":"normal | <length-percentage>","ruby-align":"start | center | space-between | space-around","ruby-merge":"separate | collapse | auto","ruby-position":"over | under | inter-character",scale:"none | <number>{1,3}","scrollbar-color":"auto | dark | light | <color>{2}","scrollbar-width":"auto | thin | none","scroll-behavior":"auto | smooth","scroll-margin":"<length>{1,4}","scroll-margin-block":"<length>{1,2}","scroll-margin-block-start":"<length>","scroll-margin-block-end":"<length>","scroll-margin-bottom":"<length>","scroll-margin-inline":"<length>{1,2}","scroll-margin-inline-start":"<length>","scroll-margin-inline-end":"<length>","scroll-margin-left":"<length>","scroll-margin-right":"<length>","scroll-margin-top":"<length>","scroll-padding":"[ auto | <length-percentage> ]{1,4}","scroll-padding-block":"[ auto | <length-percentage> ]{1,2}","scroll-padding-block-start":"auto | <length-percentage>","scroll-padding-block-end":"auto | <length-percentage>","scroll-padding-bottom":"auto | <length-percentage>","scroll-padding-inline":"[ auto | <length-percentage> ]{1,2}","scroll-padding-inline-start":"auto | <length-percentage>","scroll-padding-inline-end":"auto | <length-percentage>","scroll-padding-left":"auto | <length-percentage>","scroll-padding-right":"auto | <length-percentage>","scroll-padding-top":"auto | <length-percentage>","scroll-snap-align":"[ none | start | end | center ]{1,2}","scroll-snap-coordinate":"none | <position>#","scroll-snap-destination":"<position>","scroll-snap-points-x":"none | repeat( <length-percentage> )","scroll-snap-points-y":"none | repeat( <length-percentage> )","scroll-snap-stop":"normal | always","scroll-snap-type":"none | [ x | y | block | inline | both ] [ mandatory | proximity ]?","scroll-snap-type-x":"none | mandatory | proximity","scroll-snap-type-y":"none | mandatory | proximity","shape-image-threshold":"<number>","shape-margin":"<length-percentage>","shape-outside":"none | <shape-box> || <basic-shape> | <image>","tab-size":"<integer> | <length>","table-layout":"auto | fixed","text-align":"start | end | left | right | center | justify | match-parent","text-align-last":"auto | start | end | left | right | center | justify","text-combine-upright":"none | all | [ digits <integer>? ]","text-decoration":"<'text-decoration-line'> || <'text-decoration-style'> || <'text-decoration-color'>","text-decoration-color":"<color>","text-decoration-line":"none | [ underline || overline || line-through || blink ]","text-decoration-skip":"none | [ objects || [ spaces | [ leading-spaces || trailing-spaces ] ] || edges || box-decoration ]","text-decoration-skip-ink":"auto | none","text-decoration-style":"solid | double | dotted | dashed | wavy","text-emphasis":"<'text-emphasis-style'> || <'text-emphasis-color'>","text-emphasis-color":"<color>","text-emphasis-position":"[ over | under ] && [ right | left ]","text-emphasis-style":"none | [ [ filled | open ] || [ dot | circle | double-circle | triangle | sesame ] ] | <string>","text-indent":"<length-percentage> && hanging? && each-line?","text-justify":"auto | inter-character | inter-word | none","text-orientation":"mixed | upright | sideways","text-overflow":"[ clip | ellipsis | <string> ]{1,2}","text-rendering":"auto | optimizeSpeed | optimizeLegibility | geometricPrecision","text-shadow":"none | <shadow-t>#","text-size-adjust":"none | auto | <percentage>","text-transform":"none | capitalize | uppercase | lowercase | full-width | full-size-kana","text-underline-position":"auto | [ under || [ left | right ] ]",top:"<length> | <percentage> | auto","touch-action":"auto | none | [ [ pan-x | pan-left | pan-right ] || [ pan-y | pan-up | pan-down ] || pinch-zoom ] | manipulation",transform:"none | <transform-list>","transform-box":"border-box | fill-box | view-box","transform-origin":"[ <length-percentage> | left | center | right | top | bottom ] | [ [ <length-percentage> | left | center | right ] && [ <length-percentage> | top | center | bottom ] ] <length>?","transform-style":"flat | preserve-3d",transition:"<single-transition>#","transition-delay":"<time>#","transition-duration":"<time>#","transition-property":"none | <single-transition-property>#","transition-timing-function":"<timing-function>#",translate:"none | <length-percentage> [ <length-percentage> <length>? ]?","unicode-bidi":"normal | embed | isolate | bidi-override | isolate-override | plaintext | -moz-isolate | -moz-isolate-override | -moz-plaintext | -webkit-isolate","user-select":"auto | text | none | contain | all","vertical-align":"baseline | sub | super | text-top | text-bottom | middle | top | bottom | <percentage> | <length>",visibility:"visible | hidden | collapse","white-space":"normal | pre | nowrap | pre-wrap | pre-line",widows:"<integer>",width:"[ <length> | <percentage> ] && [ border-box | content-box ]? | available | min-content | max-content | fit-content | auto","will-change":"auto | <animateable-feature>#","word-break":"normal | break-all | keep-all | break-word","word-spacing":"normal | <length-percentage>","word-wrap":"normal | break-word","writing-mode":"horizontal-tb | vertical-rl | vertical-lr | sideways-rl | sideways-lr | <svg-writing-mode>","z-index":"auto | <integer>",zoom:"normal | reset | <number> | <percentage>","-moz-background-clip":"padding | border","-moz-border-radius-bottomleft":"<'border-bottom-left-radius'>","-moz-border-radius-bottomright":"<'border-bottom-right-radius'>","-moz-border-radius-topleft":"<'border-top-left-radius'>","-moz-border-radius-topright":"<'border-bottom-right-radius'>","-moz-osx-font-smoothing":"auto | grayscale","-moz-user-select":"none | text | all | -moz-none","-ms-flex-align":"start | end | center | baseline | stretch","-ms-flex-item-align":"auto | start | end | center | baseline | stretch","-ms-flex-line-pack":"start | end | center | justify | distribute | stretch","-ms-flex-negative":"<'flex-shrink'>","-ms-flex-pack":"start | end | center | justify | distribute","-ms-flex-order":"<integer>","-ms-flex-positive":"<'flex-grow'>","-ms-flex-preferred-size":"<'flex-basis'>","-ms-interpolation-mode":"nearest-neighbor | bicubic","-ms-grid-column-align":"start | end | center | stretch","-ms-grid-row-align":"start | end | center | stretch","-webkit-background-clip":"[ <box> | border | padding | content | text ]#","-webkit-column-break-after":"always | auto | avoid","-webkit-column-break-before":"always | auto | avoid","-webkit-column-break-inside":"always | auto | avoid","-webkit-font-smoothing":"auto | none | antialiased | subpixel-antialiased","-webkit-mask-box-image":"[ <url> | <gradient> | none ] [ <length-percentage>{4} <-webkit-mask-box-repeat>{2} ]?","-webkit-print-color-adjust":"economy | exact","-webkit-text-security":"none | circle | disc | square","-webkit-user-drag":"none | element | auto","-webkit-user-select":"auto | none | text | all","alignment-baseline":"auto | baseline | before-edge | text-before-edge | middle | central | after-edge | text-after-edge | ideographic | alphabetic | hanging | mathematical","baseline-shift":"baseline | sub | super | <svg-length>",behavior:"<url>+","clip-rule":"nonzero | evenodd",cue:"<'cue-before'> <'cue-after'>?","cue-after":"<url> <decibel>? | none","cue-before":"<url> <decibel>? | none","dominant-baseline":"auto | use-script | no-change | reset-size | ideographic | alphabetic | hanging | mathematical | central | middle | text-after-edge | text-before-edge",fill:"<paint>","fill-opacity":"<number-zero-one>","fill-rule":"nonzero | evenodd","glyph-orientation-horizontal":"<angle>","glyph-orientation-vertical":"<angle>",kerning:"auto | <svg-length>",marker:"none | <url>","marker-end":"none | <url>","marker-mid":"none | <url>","marker-start":"none | <url>",pause:"<'pause-before'> <'pause-after'>?","pause-after":"<time> | none | x-weak | weak | medium | strong | x-strong","pause-before":"<time> | none | x-weak | weak | medium | strong | x-strong",rest:"<'rest-before'> <'rest-after'>?","rest-after":"<time> | none | x-weak | weak | medium | strong | x-strong","rest-before":"<time> | none | x-weak | weak | medium | strong | x-strong","shape-rendering":"auto | optimizeSpeed | crispEdges | geometricPrecision",src:"[ <url> [ format( <string># ) ]? | local( <family-name> ) ]#",speak:"auto | none | normal","speak-as":"normal | spell-out || digits || [ literal-punctuation | no-punctuation ]",stroke:"<paint>","stroke-dasharray":"none | [ <svg-length>+ ]#","stroke-dashoffset":"<svg-length>","stroke-linecap":"butt | round | square","stroke-linejoin":"miter | round | bevel","stroke-miterlimit":"<number-one-or-greater>","stroke-opacity":"<number-zero-one>","stroke-width":"<svg-length>","text-anchor":"start | middle | end","unicode-range":"<urange>#","voice-balance":"<number> | left | center | right | leftwards | rightwards","voice-duration":"auto | <time>","voice-family":"[ [ <family-name> | <generic-voice> ] , ]* [ <family-name> | <generic-voice> ] | preserve","voice-pitch":"<frequency> && absolute | [ [ x-low | low | medium | high | x-high ] || [ <frequency> | <semitones> | <percentage> ] ]","voice-range":"<frequency> && absolute | [ [ x-low | low | medium | high | x-high ] || [ <frequency> | <semitones> | <percentage> ] ]","voice-rate":"[ normal | x-slow | slow | medium | fast | x-fast ] || <percentage>","voice-stress":"normal | strong | moderate | none | reduced","voice-volume":"silent | [ [ x-soft | soft | medium | loud | x-loud ] || <decibel> ]"}}},{}],2:[function(e,t,n){function r(e){return{prev:null,next:null,data:e}}function o(e,t,n){var r;return null!==a?(r=a,a=a.cursor,r.prev=t,r.next=n,r.cursor=e.cursor):r={prev:t,next:n,cursor:e.cursor},e.cursor=r,r}function i(e){var t=e.cursor;e.cursor=t.cursor,t.prev=null,t.next=null,t.cursor=a,a=t}var a=null,s=function(){this.cursor=null,this.head=null,this.tail=null};s.createItem=r,s.prototype.createItem=r,s.prototype.updateCursors=function(e,t,n,r){for(var o=this.cursor;null!==o;)o.prev===e&&(o.prev=t),o.next===n&&(o.next=r),o=o.cursor},s.prototype.getSize=function(){for(var e=0,t=this.head;t;)e++,t=t.next;return e},s.prototype.fromArray=function(e){var t=null;this.head=null;for(var n=0;n<e.length;n++){var o=r(e[n]);null!==t?t.next=o:this.head=o,o.prev=t,t=o}return this.tail=t,this},s.prototype.toArray=function(){for(var e=this.head,t=[];e;)t.push(e.data),e=e.next;return t},s.prototype.toJSON=s.prototype.toArray,s.prototype.isEmpty=function(){return null===this.head},s.prototype.first=function(){return this.head&&this.head.data},s.prototype.last=function(){return this.tail&&this.tail.data},s.prototype.each=function(e,t){var n;void 0===t&&(t=this);for(var r=o(this,null,this.head);null!==r.next;)n=r.next,r.next=n.next,e.call(t,n.data,n,this);i(this)},s.prototype.forEach=s.prototype.each,s.prototype.eachRight=function(e,t){var n;void 0===t&&(t=this)
  ;for(var r=o(this,this.tail,null);null!==r.prev;)n=r.prev,r.prev=n.prev,e.call(t,n.data,n,this);i(this)},s.prototype.forEachRight=s.prototype.eachRight,s.prototype.nextUntil=function(e,t,n){if(null!==e){var r;void 0===n&&(n=this);for(var a=o(this,null,e);null!==a.next&&(r=a.next,a.next=r.next,!t.call(n,r.data,r,this)););i(this)}},s.prototype.prevUntil=function(e,t,n){if(null!==e){var r;void 0===n&&(n=this);for(var a=o(this,e,null);null!==a.prev&&(r=a.prev,a.prev=r.prev,!t.call(n,r.data,r,this)););i(this)}},s.prototype.some=function(e,t){var n=this.head;for(void 0===t&&(t=this);null!==n;){if(e.call(t,n.data,n,this))return!0;n=n.next}return!1},s.prototype.map=function(e,t){var n=new s,r=this.head;for(void 0===t&&(t=this);null!==r;)n.appendData(e.call(t,r.data,r,this)),r=r.next;return n},s.prototype.filter=function(e,t){var n=new s,r=this.head;for(void 0===t&&(t=this);null!==r;)e.call(t,r.data,r,this)&&n.appendData(r.data),r=r.next;return n},s.prototype.clear=function(){this.head=null,this.tail=null},s.prototype.copy=function(){for(var e=new s,t=this.head;null!==t;)e.insert(r(t.data)),t=t.next;return e},s.prototype.prepend=function(e){return this.updateCursors(null,e,this.head,e),null!==this.head?(this.head.prev=e,e.next=this.head):this.tail=e,this.head=e,this},s.prototype.prependData=function(e){return this.prepend(r(e))},s.prototype.append=function(e){return this.insert(e)},s.prototype.appendData=function(e){return this.insert(r(e))},s.prototype.insert=function(e,t){if(void 0!==t&&null!==t)if(this.updateCursors(t.prev,e,t,e),null===t.prev){if(this.head!==t)throw new Error("before doesn't belong to list");this.head=e,t.prev=e,e.next=t,this.updateCursors(null,e)}else t.prev.next=e,e.prev=t.prev,t.prev=e,e.next=t;else this.updateCursors(this.tail,e,null,e),null!==this.tail?(this.tail.next=e,e.prev=this.tail):this.head=e,this.tail=e;return this},s.prototype.insertData=function(e,t){return this.insert(r(e),t)},s.prototype.remove=function(e){if(this.updateCursors(e,e.prev,e,e.next),null!==e.prev)e.prev.next=e.next;else{if(this.head!==e)throw new Error("item doesn't belong to list");this.head=e.next}if(null!==e.next)e.next.prev=e.prev;else{if(this.tail!==e)throw new Error("item doesn't belong to list");this.tail=e.prev}return e.prev=null,e.next=null,e},s.prototype.push=function(e){this.insert(r(e))},s.prototype.pop=function(){if(null!==this.tail)return this.remove(this.tail)},s.prototype.unshift=function(e){this.prepend(r(e))},s.prototype.shift=function(){if(null!==this.head)return this.remove(this.head)},s.prototype.prependList=function(e){return this.insertList(e,this.head)},s.prototype.appendList=function(e){return this.insertList(e)},s.prototype.insertList=function(e,t){return null===e.head?this:(void 0!==t&&null!==t?(this.updateCursors(t.prev,e.tail,t,e.head),null!==t.prev?(t.prev.next=e.head,e.head.prev=t.prev):this.head=e.head,t.prev=e.tail,e.tail.next=t):(this.updateCursors(this.tail,e.tail,null,e.head),null!==this.tail?(this.tail.next=e.head,e.head.prev=this.tail):this.head=e.head,this.tail=e.tail),e.head=null,e.tail=null,this)},s.prototype.replace=function(e,t){"head"in t?this.insertList(t,e):this.insert(t,e),this.remove(e)},t.exports=s},{}],3:[function(e,t,n){function r(e,t,n){for(var r=n.length,i=o(e.lines,r),c=e.startLine,u=o(e.columns,r),h=e.startColumn,p=t;p<r;p++){var d=n.charCodeAt(p);i[p]=c,u[p]=h++,d!==a&&d!==l&&d!==s||(d===l&&p+1<r&&n.charCodeAt(p+1)===a&&(p++,i[p]=c,u[p]=h),c++,h=1)}i[p]=c,u[p]=h,e.lines=i,e.columns=u}var o=e("./adopt-buffer"),i=e("../tokenizer/utils").firstCharOffset,a=10,s=12,l=13,c=function(){this.lines=null,this.columns=null,this.linesAndColumnsComputed=!1};c.prototype={setSource:function(e,t,n,r){this.source=e,this.startOffset=void 0===t?0:t,this.startLine=void 0===n?1:n,this.startColumn=void 0===r?1:r,this.linesAndColumnsComputed=!1},ensureLinesAndColumnsComputed:function(){this.linesAndColumnsComputed||(r(this,i(this.source),this.source),this.linesAndColumnsComputed=!0)},getLocation:function(e,t){return this.ensureLinesAndColumnsComputed(),{source:t,offset:this.startOffset+e,line:this.lines[e],column:this.columns[e]}},getLocationRange:function(e,t,n){return this.ensureLinesAndColumnsComputed(),{source:n,start:{offset:this.startOffset+e,line:this.lines[e],column:this.columns[e]},end:{offset:this.startOffset+t,line:this.lines[t],column:this.columns[t]}}}},t.exports=c},{"../tokenizer/utils":108,"./adopt-buffer":6}],4:[function(e,t,n){function r(e,t){function n(e,t){return r.slice(e,t).map(function(t,n){for(var r=String(e+n+1);r.length<h;)r=" "+r;return r+" |"+t}).join("\n")}var r=e.source.split(/\r\n?|\n|\f/),o=e.line,l=e.column,c=Math.max(1,o-t)-1,u=Math.min(o+t,r.length+1),h=Math.max(4,String(u).length)+1,p=0;(l+=(s.length-1)*(r[o-1].substr(0,l-1).match(/\t/g)||[]).length)>i&&(p=l-a+3,l=a-2);for(var d=c;d<=u;d++)d>=0&&d<r.length&&(r[d]=r[d].replace(/\t/g,s),r[d]=(p>0&&r[d].length>p?"…":"")+r[d].substr(p,i-2)+(r[d].length>p+i-1?"…":""));return[n(c,o),new Array(l+h+2).join("-")+"^",n(o,u)].filter(Boolean).join("\n")}var o=e("../utils/createCustomError"),i=100,a=60,s="    ",l=function(e,t,n,i,a){var s=o("SyntaxError",e);return s.source=t,s.offset=n,s.line=i,s.column=a,s.sourceFragment=function(e){return r(s,isNaN(e)?0:e)},Object.defineProperty(s,"formattedMessage",{get:function(){return"Parse error: "+s.message+"\n"+r(s,2)}}),s.parseError={offset:n,line:i,column:a},s};t.exports=l},{"../utils/createCustomError":110}],5:[function(e,t,n){var r=e("../tokenizer/const"),o=r.TYPE,i=r.NAME,a=e("../tokenizer/utils"),s=a.cmpStr,l=o.WhiteSpace,c=o.Comment,u=function(){this.offsetAndType=null,this.balance=null,this.reset()};u.prototype={reset:function(){this.eof=!1,this.tokenIndex=-1,this.tokenType=0,this.tokenStart=this.firstCharOffset,this.tokenEnd=this.firstCharOffset},lookupType:function(e){return e+=this.tokenIndex,e<this.tokenCount?this.offsetAndType[e]>>24:0},lookupOffset:function(e){return e+=this.tokenIndex,e<this.tokenCount?16777215&this.offsetAndType[e-1]:this.source.length},lookupValue:function(e,t){return(e+=this.tokenIndex)<this.tokenCount&&s(this.source,16777215&this.offsetAndType[e-1],16777215&this.offsetAndType[e],t)},getTokenStart:function(e){return e===this.tokenIndex?this.tokenStart:e>0?e<this.tokenCount?16777215&this.offsetAndType[e-1]:16777215&this.offsetAndType[this.tokenCount]:this.firstCharOffset},getRawLength:function(e,t){var n,r,o=e,i=16777215&this.offsetAndType[Math.max(o-1,0)];e:for(;o<this.tokenCount&&!((n=this.balance[o])<e);o++)switch(r=this.offsetAndType[o]>>24,t(r,this.source,i)){case 1:break e;case 2:o++;break e;default:i=16777215&this.offsetAndType[o],this.balance[n]===o&&(o=n)}return o-this.tokenIndex},isBalanceEdge:function(e){return this.balance[this.tokenIndex]<e},isDelim:function(e,t){return t?this.lookupType(t)===o.Delim&&this.source.charCodeAt(this.lookupOffset(t))===e:this.tokenType===o.Delim&&this.source.charCodeAt(this.tokenStart)===e},getTokenValue:function(){return this.source.substring(this.tokenStart,this.tokenEnd)},getTokenLength:function(){return this.tokenEnd-this.tokenStart},substrToCursor:function(e){return this.source.substring(e,this.tokenStart)},skipWS:function(){for(var e=this.tokenIndex,t=0;e<this.tokenCount&&this.offsetAndType[e]>>24===l;e++,t++);t>0&&this.skip(t)},skipSC:function(){for(;this.tokenType===l||this.tokenType===c;)this.next()},skip:function(e){var t=this.tokenIndex+e;t<this.tokenCount?(this.tokenIndex=t,this.tokenStart=16777215&this.offsetAndType[t-1],t=this.offsetAndType[t],this.tokenType=t>>24,this.tokenEnd=16777215&t):(this.tokenIndex=this.tokenCount,this.next())},next:function(){var e=this.tokenIndex+1;e<this.tokenCount?(this.tokenIndex=e,this.tokenStart=this.tokenEnd,e=this.offsetAndType[e],this.tokenType=e>>24,this.tokenEnd=16777215&e):(this.tokenIndex=this.tokenCount,this.eof=!0,this.tokenType=0,this.tokenStart=this.tokenEnd=this.source.length)},dump:function(){var e=0;return Array.prototype.slice.call(this.offsetAndType,0,this.tokenCount).map(function(t,n){var r=e,o=16777215&t;return e=o,{idx:n,type:i[t>>24],chunk:this.source.substring(r,o),balance:this.balance[n]}},this)}},t.exports=u},{"../tokenizer/const":106,"../tokenizer/utils":108}],6:[function(e,t,n){var r="undefined"!=typeof Uint32Array?Uint32Array:Array;t.exports=function(e,t){return null===e||e.length<t?new r(Math.max(t+1024,16384)):e}},{}],7:[function(e,t,n){var r=e("../common/List");t.exports=function(e){return{fromPlainObject:function(t){return e(t,{enter:function(e){e.children&&e.children instanceof r==!1&&(e.children=(new r).fromArray(e.children))}}),t},toPlainObject:function(t){return e(t,{leave:function(e){e.children&&e.children instanceof r&&(e.children=e.children.toArray())}}),t}}}},{"../common/List":2}],8:[function(e,t,n){function r(e,t){var n=e.children,r=null;"function"!=typeof t?n.forEach(this.node,this):n.forEach(function(e){null!==r&&t.call(this,r),this.node(e),r=e},this)}var o=e("./sourceMap"),i=Object.prototype.hasOwnProperty;t.exports=function(e){function t(e){if(!i.call(n,e.type))throw new Error("Unknown node type: "+e.type);n[e.type].call(this,e)}var n={};if(e.node)for(var a in e.node)n[a]=e.node[a].generate;return function(e,n){var i="",a={children:r,node:t,chunk:function(e){i+=e},result:function(){return i}};return n&&("function"==typeof n.decorator&&(a=n.decorator(a)),n.sourceMap&&(a=o(a))),a.node(e),a.result()}}},{"./sourceMap":9}],9:[function(e,t,n){var r=e("source-map").SourceMapGenerator,o={Atrule:!0,Selector:!0,Declaration:!0};t.exports=function(e){var t=new r,n=1,i=0,a={line:1,column:0},s={line:0,column:0},l=!1,c={line:1,column:0},u={generated:c},h=e.node;e.node=function(e){if(e.loc&&e.loc.start&&o.hasOwnProperty(e.type)){var r=e.loc.start.line,p=e.loc.start.column-1;s.line===r&&s.column===p||(s.line=r,s.column=p,a.line=n,a.column=i,l&&(l=!1,a.line===c.line&&a.column===c.column||t.addMapping(u)),l=!0,t.addMapping({source:e.loc.source,original:s,generated:a}))}h.call(this,e),l&&o.hasOwnProperty(e.type)&&(c.line=n,c.column=i)};var p=e.chunk;e.chunk=function(e){for(var t=0;t<e.length;t++)10===e.charCodeAt(t)?(n++,i=0):i++;p(e)};var d=e.result;return e.result=function(){return l&&t.addMapping(u),{css:d(),map:t}},e}},{"source-map":123}],10:[function(e,t,n){t.exports=e("./syntax")},{"./syntax":44}],11:[function(e,t,n){function r(e,t){var n={};for(var r in e)e[r].syntax&&(n[r]=t?e[r].syntax:p(e[r].syntax));return n}function o(e){for(var t=0;t<e.length;t++)if("var("===e[t].value.toLowerCase())return!0;return!1}function i(e,t,n){return{matched:e,iterations:n,error:t,getTrace:b.getTrace,isType:b.isType,isProperty:b.isProperty,isKeyword:b.isKeyword}}function a(e,t,n,r){var a,s=m(n,e.syntax);return o(s)?i(null,new Error("Matching for a tree with var() is not supported")):(r&&(a=f(s,e.valueCommonSyntax,e)),r&&a.match||(a=f(s,t.match,e),a.match)?i(a.match,null,a.iterations):i(null,new l(a.reason,t.syntax,n,a),a.iterations))}var s=e("./error").SyntaxReferenceError,l=e("./error").MatchError,c=e("../utils/names"),u=e("./generic"),h=e("./grammar/parse"),p=e("./grammar/generate"),d=e("./grammar/walk"),m=e("./prepare-tokens"),g=e("./match-graph").buildMatchGraph,f=e("./match").matchAsTree,b=e("./trace"),k=e("./search"),y=e("./structure").getStructureFromConfig,v=g("inherit | initial | unset"),x=g("inherit | initial | unset | <-ms-legacy-expression>"),w=function(e,t,n){if(this.valueCommonSyntax=v,this.syntax=t,this.generic=!1,this.properties={},this.types={},this.structure=n||y(e),e){if(e.types)for(var r in e.types)this.addType_(r,e.types[r]);if(e.generic){this.generic=!0;for(var r in u)this.addType_(r,u[r])}if(e.properties)for(var r in e.properties)this.addProperty_(r,e.properties[r])}};w.prototype={structure:{},checkStructure:function(e){function t(e,t){r.push({node:e,message:t})}var n=this.structure,r=[];return this.syntax.walk(e,function(e){n.hasOwnProperty(e.type)?n[e.type].check(e,t):t(e,"Unknown node type `"+e.type+"`")}),!!r.length&&r},createDescriptor:function(e,t,n){var r={type:t,name:n},o={type:t,name:n,syntax:null,match:null};return"function"==typeof e?o.match=g(e,r):("string"==typeof e?Object.defineProperty(o,"syntax",{get:function(){return Object.defineProperty(o,"syntax",{value:h(e)}),o.syntax}}):o.syntax=e,Object.defineProperty(o,"match",{get:function(){return Object.defineProperty(o,"match",{value:g(o.syntax,r)}),o.match}})),o},addProperty_:function(e,t){this.properties[e]=this.createDescriptor(t,"Property",e)},addType_:function(e,t){this.types[e]=this.createDescriptor(t,"Type",e),t===u["-ms-legacy-expression"]&&(this.valueCommonSyntax=x)},matchDeclaration:function(e){return"Declaration"!==e.type?i(null,new Error("Not a Declaration node")):this.matchProperty(e.property,e.value)},matchProperty:function(e,t){var n=c.property(e);if(n.custom)return i(null,new Error("Lexer matching doesn't applicable for custom properties"));var r=n.vendor?this.getProperty(n.name)||this.getProperty(n.basename):this.getProperty(n.name);return r?a(this,r,t,!0):i(null,new s("Unknown property",e))},matchType:function(e,t){var n=this.getType(e);return n?a(this,n,t,!1):i(null,new s("Unknown type",e))},match:function(e,t){return"string"==typeof e||e&&e.type?("string"!=typeof e&&e.match||(e=this.createDescriptor(e,"Type","anonymous")),a(this,e,t,!1)):i(null,new s("Bad syntax"))},findValueFragments:function(e,t,n,r){return k.matchFragments(this,t,this.matchProperty(e,t),n,r)},findDeclarationValueFragments:function(e,t,n){return k.matchFragments(this,e.value,this.matchDeclaration(e),t,n)},findAllFragments:function(e,t,n){var r=[];return this.syntax.walk(e,{visit:"Declaration",enter:function(e){r.push.apply(r,this.findDeclarationValueFragments(e,t,n))}.bind(this)}),r},getProperty:function(e){return this.properties.hasOwnProperty(e)?this.properties[e]:null},getType:function(e){return this.types.hasOwnProperty(e)?this.types[e]:null},validate:function(){function e(r,o,i,a){if(i.hasOwnProperty(o))return i[o];i[o]=!1,null!==a.syntax&&d(a.syntax,function(a){if("Type"===a.type||"Property"===a.type){var s="Type"===a.type?r.types:r.properties,l="Type"===a.type?t:n;s.hasOwnProperty(a.name)&&!e(r,a.name,l,s[a.name])||(i[o]=!0)}},this)}var t={},n={};for(var r in this.types)e(this,r,t,this.types[r]);for(var r in this.properties)e(this,r,n,this.properties[r]);return t=Object.keys(t).filter(function(e){return t[e]}),n=Object.keys(n).filter(function(e){return n[e]}),t.length||n.length?{types:t,properties:n}:null},dump:function(e){return{generic:this.generic,types:r(this.types,e),properties:r(this.properties,e)}},toString:function(){return JSON.stringify(this.dump())}},t.exports=w},{"../utils/names":111,"./error":12,"./generic":15,"./grammar/generate":17,"./grammar/parse":19,"./grammar/walk":21,"./match":23,"./match-graph":22,"./prepare-tokens":24,"./search":25,"./structure":26,"./trace":27}],12:[function(e,t,n){function r(e){for(var t=e.tokens,n=e.longestMatch,r=n<t.length?t[n].node:null,o=-1,i=0,a="",s=0;s<t.length;s++)s===n&&(o=a.length),null!==r&&t[s].node===r&&(s<=n?i++:i=0),a+=t[s].value;return{node:r,css:a,mismatchOffset:-1===o?a.length:o,last:null===r||i>1}}function o(e,t){var n=e&&e.loc&&e.loc[t];return n?{offset:n.offset,line:n.line,column:n.column}:null}var i=e("../utils/createCustomError"),a=e("./grammar/generate"),s=function(e,t){var n=i("SyntaxReferenceError",e+(t?" `"+t+"`":""));return n.reference=t,n},l=function(e,t,n,s){var l=i("SyntaxMatchError",e),c=r(s),u=c.mismatchOffset||0,h=c.node||n,p=o(h,"end"),d=c.last?p:o(h,"start"),m=c.css;return l.rawMessage=e,l.syntax=t?a(t):"<generic>",l.css=m,l.mismatchOffset=u,l.loc={source:h&&h.loc&&h.loc.source||"<unknown>",start:d,end:p},l.line=d?d.line:void 0,l.column=d?d.column:void 0,l.offset=d?d.offset:void 0,l.message=e+"\n  syntax: "+l.syntax+"\n   value: "+(l.css||"<empty string>")+"\n  --------"+new Array(l.mismatchOffset+1).join("-")+"^",l};t.exports={SyntaxReferenceError:s,MatchError:l}},{"../utils/createCustomError":110,"./grammar/generate":17}],13:[function(e,t,n){function r(e,t){return null!==e&&e.type===h&&e.value.charCodeAt(0)===t}function o(e,t,n){for(;null!==e&&(e.type===p||e.type===d);)e=n(++t);return t}function i(e,t,n,r){if(!e)return 0;var o=e.value.charCodeAt(t);if(o===b||o===k){if(n)return 0;t++}for(;t<e.value.length;t++)if(!s(e.value.charCodeAt(t)))return 0;return r+1}function a(e,t,n){var a=!1,s=o(e,t,n);if(null===(e=n(s)))return t;if(e.type!==g){if(!r(e,b)&&!r(e,k))return t;if(a=!0,s=o(n(++s),s,n),null===(e=n(s))&&e.type!==g)return 0}if(!a){var l=e.value.charCodeAt(0);if(l!==b&&l!==k)return 0}return i(e,a?0:1,a,s)}var s=e("../tokenizer").isDigit,l=e("../tokenizer").cmpChar,c=e("../tokenizer").TYPE,u=e("../tokenizer").CHARCODE,h=c.Delim,p=c.WhiteSpace,d=c.Comment,m=c.Ident,g=c.Number,f=c.Dimension,b=u.PlusSign,k=u.HyphenMinus;t.exports=function(e,t){var n=0;if(!e)return 0;if(e.type===g)return i(e,0,!1,n);if(e.type===m&&e.value.charCodeAt(0)===k){if(!l(e.value,1,110))return 0;switch(e.value.length){case 2:return a(t(++n),n,t);case 3:return e.value.charCodeAt(2)!==k?0:(n=o(t(++n),n,t),e=t(n),i(e,0,!0,n));default:return e.value.charCodeAt(2)!==k?0:i(e,3,!0,n)}}else if(e.type===m||r(e,b)&&t(n+1).type===m){if(e.type!==m&&(e=t(++n)),null===e||!l(e.value,0,110))return 0;switch(e.value.length){case 1:return a(t(++n),n,t);case 2:return e.value.charCodeAt(1)!==k?0:(n=o(t(++n),n,t),e=t(n),i(e,0,!0,n));default:return e.value.charCodeAt(1)!==k?0:i(e,2,!0,n)}}else if(e.type===f){for(var c=e.value.charCodeAt(0),u=c===b||c===k?1:0,h=u;h<e.value.length&&s(e.value.charCodeAt(h));h++);return h===u?0:l(e.value,h,110)?h+1===e.value.length?a(t(++n),n,t):e.value.charCodeAt(h+1)!==k?0:h+2===e.value.length?(n=o(t(++n),n,t),e=t(n),i(e,0,!0,n)):i(e,h+2,!0,n):0}return 0}},{"../tokenizer":107}],14:[function(e,t,n){function r(e,t){return null!==e&&e.type===p&&e.value.charCodeAt(0)===t}function o(e,t){return e.value.charCodeAt(0)===t}function i(e,t,n){for(var r=t,o=0;r<e.value.length;r++){var a=e.value.charCodeAt(r);if(a===f&&n&&0!==o)return i(e,t+o+1,!1)>0?6:0;if(!s(a))return 0;if(++o>6)return 0}return o}function a(e,t,n){if(!e)return 0;for(;r(n(t),b);){if(++e>6)return 0;t++}return t}var s=e("../tokenizer").isHexDigit,l=e("../tokenizer").cmpChar,c=e("../tokenizer").TYPE,u=e("../tokenizer").CHARCODE,h=c.Ident,p=c.Delim,d=c.Number,m=c.Dimension,g=u.PlusSign,f=u.HyphenMinus,b=u.QuestionMark;t.exports=function(e,t){var n=0;if(null===e||e.type!==h||!l(e.value,0,117))return 0;if(null===(e=t(++n)))return 0;if(r(e,g))return e=t(++n),null===e?0:e.type===h?a(i(e,0,!0),++n,t):r(e,b)?a(1,++n,t):0;if(e.type===d){if(!o(e,g))return 0;var s=i(e,1,!0);return 0===s?0:(e=t(++n),null===e?n:e.type===m||e.type===d?o(e,f)&&i(e,1,!1)?n+1:0:a(s,n,t))}return e.type===m&&o(e,g)?a(i(e,1,!0),++n,t):0}},{"../tokenizer":107}],15:[function(e,t,n){function r(e,t){return t<e.length?e.charCodeAt(t):0}function o(e,t){return A(e,0,e.length,t)}function i(e,t){for(var n=0;n<t.length;n++)if(o(e,t[n]))return!0;return!1}function a(e,t){return t===e.length-2&&(92===e.charCodeAt(t)&&z(e.charCodeAt(t+1)))}function s(e,t,n){if(e&&"Range"===e.type){var r=Number(void 0!==n&&n!==t.length?t.substr(0,n):t);if(isNaN(r))return!0;if(null!==e.min&&r<e.min)return!0;if(null!==e.max&&r>e.max)return!0}return!1}function l(e,t){var n=e.index,r=0;do{if(r++,e.balance<=n)break}while(e=t(r));return r}function c(e){return function(t,n,r){return null===t?0:t.type===P.Function&&i(t.value,O)?l(t,n):e(t,n,r)}}function u(e){return function(t){return null===t||t.type!==e?0:1}}function h(e){if(null===e||e.type!==P.Ident)return 0;var t=e.value.toLowerCase();return i(t,_)?0:o(t,"default")?0:1}function p(e){return null===e||e.type!==P.Ident?0:45!==r(e.value,0)||45!==r(e.value,1)?0:1}function d(e){if(null===e||e.type!==P.Hash)return 0;var t=e.value.length;if(4!==t&&5!==t&&7!==t&&9!==t)return 0;for(var n=1;n<t;n++)if(!C(e.value.charCodeAt(n)))return 0;return 1}function m(e){return null===e||e.type!==P.Hash?0:S(r(e.value,1),r(e.value,2),r(e.value,3))?1:0}function g(e,t){if(!e)return 0;var n=0,r=0,o=e.index;e:do{switch(e.type){case P.BadString:case P.BadUrl:break e;case P.RightCurlyBracket:case P.RightParenthesis:case P.RightSquareBracket:if(e.balance>e.index||e.balance<o)break e;r--;break;case P.Semicolon:if(0===r)break e;break;case P.Delim:if("!"===e.value&&0===r)break e;break;case P.Function:case P.LeftParenthesis:case P.LeftSquareBracket:case P.LeftCurlyBracket:r++}if(n++,e.balance<=o)break}while(e=t(n));return n}function f(e,t){if(!e)return 0;var n=e.index,r=0;e:do{switch(e.type){case P.BadString:case P.BadUrl:break e;case P.RightCurlyBracket:case P.RightParenthesis:case P.RightSquareBracket:if(e.balance>e.index||e.balance<n)break e}if(r++,e.balance<=n)break}while(e=t(r));return r}function b(e){return function(t,n,r){if(null===t||t.type!==P.Dimension)return 0;var o=L(t.value,0);if(null!==e){var i=t.value.indexOf("\\",o),l=-1!==i&&a(t.value,i)?t.value.substring(o,i):t.value.substr(o);if(!1===e.hasOwnProperty(l.toLowerCase()))return 0}return s(r,t.value,o)?0:1}}function k(e,t,n){return null===e||e.type!==P.Percentage?0:s(n,e.value,e.value.length-1)?0:1}function y(e){return"function"!=typeof e&&(e=function(){return 0}),function(t,n,r){return null!==t&&t.type===P.Number&&0===Number(t.value)?1:e(t,n,r)}}function v(e,t,n){if(null===e)return 0;var r=L(e.value,0);return r===e.value.length||a(e.value,r)?s(n,e.value,r)?0:1:0}function x(e,t,n){if(null===e||e.type!==P.Number)return 0;for(var r=43===e.value.charCodeAt(0)||45===e.value.charCodeAt(0)?1:0;r<e.value.length;r++)if(!z(e.value.charCodeAt(r)))return 0;return s(n,e.value,r)?0:1}var w=e("../tokenizer/utils"),S=w.isIdentifierStart,C=w.isHexDigit,z=w.isDigit,A=w.cmpStr,L=w.consumeNumber,P=e("../tokenizer/const").TYPE,T=e("./generic-an-plus-b"),E=e("./generic-urange"),_=["unset","initial","inherit"],O=["calc(","-moz-calc(","-webkit-calc("],R={px:!0,mm:!0,cm:!0,in:!0,pt:!0,pc:!0,q:!0,em:!0,ex:!0,ch:!0,rem:!0,vh:!0,vw:!0,vmin:!0,vmax:!0,vm:!0},M={deg:!0,grad:!0,rad:!0,turn:!0},D={s:!0,ms:!0},N={hz:!0,khz:!0},B={dpi:!0,dpcm:!0,dppx:!0,x:!0},I={fr:!0},F={db:!0},j={st:!0};t.exports={"ident-token":u(P.Ident),"function-token":u(P.Function),"at-keyword-token":u(P.AtKeyword),"hash-token":u(P.Hash),"string-token":u(P.String),"bad-string-token":u(P.BadString),"url-token":u(P.Url),"bad-url-token":u(P.BadUrl),"delim-token":u(P.Delim),"number-token":u(P.Number),"percentage-token":u(P.Percentage),"dimension-token":u(P.Dimension),"whitespace-token":u(P.WhiteSpace),"CDO-token":u(P.CDO),"CDC-token":u(P.CDC),"colon-token":u(P.Colon),"semicolon-token":u(P.Semicolon),"comma-token":u(P.Comma),"[-token":u(P.LeftSquareBracket),"]-token":u(P.RightSquareBracket),"(-token":u(P.LeftParenthesis),")-token":u(P.RightParenthesis),"{-token":u(P.LeftCurlyBracket),"}-token":u(P.RightCurlyBracket),string:u(P.String),ident:u(P.Ident),"custom-ident":h,"custom-property-name":p,"hex-color":d,"id-selector":m,"an-plus-b":T,urange:E,"declaration-value":g,"any-value":f,dimension:c(b(null)),angle:c(b(M)),decibel:c(b(F)),frequency:c(b(N)),flex:c(b(I)),length:c(y(b(R))),resolution:c(b(B)),semitones:c(b(j)),time:c(b(D)),percentage:c(k),zero:y(),number:c(v),integer:c(x),"-ms-legacy-expression":function(e){return e+="(",function(t,n){return null!==t&&o(t.value,e)?l(t,n):0}}("expression")}},{"../tokenizer/const":106,"../tokenizer/utils":108,"./generic-an-plus-b":13,"./generic-urange":14}],16:[function(e,t,n){var r=e("../../utils/createCustomError"),o=function(e,t,n){var o=r("SyntaxParseError",e);return o.input=t,o.offset=n,o.rawMessage=e,o.message=o.rawMessage+"\n  "+o.input+"\n--"+new Array((o.offset||o.input.length)+1).join("-")+"^",o};t.exports={SyntaxParseError:o}},{"../../utils/createCustomError":110}],17:[function(e,t,n){function r(e){return e}function o(e){return 0===e.min&&0===e.max?"*":0===e.min&&1===e.max?"?":1===e.min&&0===e.max?e.comma?"#":"+":1===e.min&&1===e.max?"":(e.comma?"#":"")+(e.min===e.max?"{"+e.min+"}":"{"+e.min+","+(0!==e.max?e.max:"")+"}")}function i(e){switch(e.type){case"Range":return" ["+(null===e.min?"-∞":e.min)+","+(null===e.max?"∞":e.max)+"]";default:throw new Error("Unknown node type `"+e.type+"`")}}function a(e,t,n){var r=e.terms.map(function(e){return s(e,t,n)}).join(" "===e.combinator?" ":" "+e.combinator+" ");return(e.explicit||t)&&(r=(","!==r[0]?"[ ":"[")+r+" ]"),r}function s(e,t,n){var r;switch(e.type){case"Group":r=a(e,t,n)+(e.disallowEmpty?"!":"");break;case"Multiplier":return s(e.term,t,n)+n(o(e),e);case"Type":r="<"+e.name+(e.opts?n(i(e.opts),e.opts):"")+">";break;case"Property":r="<'"+e.name+"'>";break;case"Keyword":r=e.name;break;case"AtKeyword":r="@"+e.name;break;case"Function":r=e.name+"(";break;case"String":case"Token":r=e.value;break;case"Comma":r=",";break;default:throw new Error("Unknown node type `"+e.type+"`")}return n(r,e)}t.exports=function(e,t){var n=r,o=!1;return"function"==typeof t?n=t:t&&(o=Boolean(t.forceBraces),"function"==typeof t.decorate&&(n=t.decorate)),s(e,o,n)}},{}],18:[function(e,t,n){t.exports={SyntaxParseError:e("./error").SyntaxParseError,parse:e("./parse"),generate:e("./generate"),walk:e("./walk")}},{"./error":16,"./generate":17,"./parse":19,"./walk":21}],19:[function(e,t,n){function r(e){return e.substringToPos(e.findWsEnd(e.pos))}function o(e){for(var t=e.pos;t<e.str.length;t++){var n=e.str.charCodeAt(t);if(n>=128||0===G[n])break}return e.pos===t&&e.error("Expect a keyword"),e.substringToPos(t)}function i(e){for(var t=e.pos;t<e.str.length;t++){var n=e.str.charCodeAt(t);if(n<48||n>57)break}return e.pos===t&&e.error("Expect a number"),e.substringToPos(t)}function a(e){var t=e.str.indexOf("'",e.pos+1);return-1===t&&(e.pos=e.str.length,e.error("Expect an apostrophe")),e.substringToPos(t+1)}function s(e){var t=null,n=null;return e.eat(W),t=i(e),e.charCode()===M?(e.pos++,e.charCode()!==H&&(n=i(e))):n=t,e.eat(H),{min:Number(t),max:n?Number(n):0}}function l(e){var t=null,n=!1;switch(e.charCode()){case O:e.pos++,t={min:0,max:0};break;case R:e.pos++,t={min:1,max:0};break;case I:e.pos++,t={min:0,max:1};break;case L:e.pos++,n=!0,t=e.charCode()===W?s(e):{min:1,max:0};break;case W:t=s(e);break;default:return null}return{type:"Multiplier",comma:n,min:t.min,max:t.max,term:null}}function c(e,t){var n=l(e);return null!==n?(n.term=t,n):t}function u(e){var t=e.peek();return""===t?null:{type:"Token",value:t}}function h(e){var t;return e.eat(N),e.eat(T),t=o(e),e.eat(T),e.eat(B),c(e,{type:"Property",name:t})}function p(e){var t=null,n=null,o=1;return e.eat(j),e.charCode()===D&&(e.peek(),o=-1),-1==o&&e.charCode()===Y?e.peek():t=o*Number(i(e)),r(e),e.eat(M),r(e),e.charCode()===Y?e.peek():(o=1,e.charCode()===D&&(e.peek(),o=-1),n=o*Number(i(e))),e.eat(U),null===t&&null===n?null:{type:"Range",min:t,max:n}}function d(e){var t,n=null;return e.eat(N),t=o(e),e.charCode()===E&&e.nextCharCode()===_&&(e.pos+=2,t+="()"),e.charCodeAt(e.findWsEnd(e.pos))===j&&(r(e),n=p(e)),e.eat(B),c(e,{type:"Type",name:t,opts:n})}function m(e){var t;return t=o(e),e.charCode()===E?(e.pos++,{type:"Function",name:t}):c(e,{type:"Keyword",name:t})}function g(e,t){function n(e,t){return{type:"Group",terms:e,combinator:t,disallowEmpty:!1,explicit:!1}}for(t=Object.keys(t).sort(function(e,t){return V[e]-V[t]});t.length>0;){for(var r=t.shift(),o=0,i=0;o<e.length;o++){var a=e[o];"Combinator"===a.type&&(a.value===r?(-1===i&&(i=o-1),e.splice(o,1),o--):(-1!==i&&o-i>1&&(e.splice(i,o-i,n(e.slice(i,o),r)),o=i+1),i=-1))}-1!==i&&t.length&&e.splice(i,o-i,n(e.slice(i,o),r))}return r}function f(e){for(var t,n=[],r={},o=null,i=e.pos;t=k(e);)"Spaces"!==t.type&&("Combinator"===t.type?(null!==o&&"Combinator"!==o.type||(e.pos=i,e.error("Unexpected combinator")),r[t.value]=!0):null!==o&&"Combinator"!==o.type&&(r[" "]=!0,n.push({type:"Combinator",value:" "})),n.push(t),o=t,i=e.pos);return null!==o&&"Combinator"===o.type&&(e.pos-=i,e.error("Unexpected combinator")),{type:"Group",terms:n,combinator:g(n,r)||" ",disallowEmpty:!1,explicit:!1}}function b(e){var t;return e.eat(j),t=f(e),e.eat(U),t.explicit=!0,e.charCode()===A&&(e.pos++,t.disallowEmpty=!0),t}function k(e){var t=e.charCode();if(t<128&&1===G[t])return m(e);switch(t){case U:break;case j:return c(e,b(e));case N:return e.nextCharCode()===T?h(e):d(e);case q:return{type:"Combinator",value:e.substringToPos(e.nextCharCode()===q?e.pos+2:e.pos+1)};case P:return e.pos++,e.eat(P),{type:"Combinator",value:"&&"};case M:return e.pos++,{type:"Comma"};case T:return c(e,{type:"String",value:a(e)});case z:case x:case w:case C:case S:return{type:"Spaces",value:r(e)};case F:return t=e.nextCharCode(),t<128&&1===G[t]?(e.pos++,{type:"AtKeyword",name:o(e)}):u(e);case O:case R:case I:case L:case A:break;case W:if((t=e.nextCharCode())<48||t>57)return u(e);break;default:return u(e)}}function y(e){var t=new v(e),n=f(t);return t.pos!==e.length&&t.error("Unexpected input"),1===n.terms.length&&"Group"===n.terms[0].type&&(n=n.terms[0]),n}var v=e("./tokenizer"),x=9,w=10,S=12,C=13,z=32,A=33,L=35,P=38,T=39,E=40,_=41,O=42,R=43,M=44,D=45,N=60,B=62,I=63,F=64,j=91,U=93,W=123,q=124,H=125,Y=8734,G=function(e){for(var t="function"==typeof Uint32Array?new Uint32Array(128):new Array(128),n=0;n<128;n++)t[n]=e(String.fromCharCode(n))?1:0;return t}(function(e){return/[a-zA-Z0-9\-]/.test(e)}),V={" ":1,"&&":2,"||":3,"|":4};y("[a&&<b>#|<'c'>*||e() f{2} /,(% g#{1,2} h{2,})]!"),t.exports=y},{"./tokenizer":20}],20:[function(e,t,n){var r=e("./error").SyntaxParseError,o=function(e){this.str=e,this.pos=0};o.prototype={charCodeAt:function(e){return e<this.str.length?this.str.charCodeAt(e):0},charCode:function(){return this.charCodeAt(this.pos)},nextCharCode:function(){return this.charCodeAt(this.pos+1)},nextNonWsCode:function(e){return this.charCodeAt(this.findWsEnd(e))},findWsEnd:function(e){for(;e<this.str.length;e++){var t=this.str.charCodeAt(e);if(13!==t&&10!==t&&12!==t&&32!==t&&9!==t)break}return e},substringToPos:function(e){return this.str.substring(this.pos,this.pos=e)},eat:function(e){this.charCode()!==e&&this.error("Expect `"+String.fromCharCode(e)+"`"),this.pos++},peek:function(){return this.pos<this.str.length?this.str.charAt(this.pos++):""},error:function(e){throw new r(e,this.str,this.pos)}},t.exports=o},{"./error":16}],21:[function(e,t,n){function r(e){return"function"==typeof e?e:o}var o=function(){};t.exports=function(e,t,n){function i(e){switch(a.call(n,e),e.type){case"Group":e.terms.forEach(i);break;case"Multiplier":i(e.term);break;case"Type":case"Property":case"Keyword":case"AtKeyword":case"Function":case"String":case"Token":case"Comma":break;default:throw new Error("Unknown type: "+e.type)}s.call(n,e)}var a=o,s=o;if("function"==typeof t?a=t:t&&(a=r(t.enter),s=r(t.leave)),a===o&&s===o)throw new Error("Neither `enter` nor `leave` walker handler is set or both aren't a function");i(e,n)}},{}],22:[function(e,t,n){function r(e,t,n){return t===u&&n===h?e:e===u&&t===u&&n===u?e:("If"===e.type&&e.else===h&&t===u&&(t=e.then,e=e.match),{type:"If",match:e,then:t,else:n})}function o(e){return e.length>2&&e.charCodeAt(e.length-2)===d&&e.charCodeAt(e.length-1)===m}function i(e){return"Keyword"===e.type||"AtKeyword"===e.type||"Function"===e.type||"Type"===e.type&&o(e.name)}function a(e,t,n){switch(e){case" ":for(var s=u,l=t.length-1;l>=0;l--){var c=t[l];s=r(c,s,h)}return s;case"|":for(var s=h,p=null,l=t.length-1;l>=0;l--){var c=t[l];if(i(c)&&(null===p&&l>0&&i(t[l-1])&&(p=Object.create(null),s=r({type:"Enum",map:p},u,s)),null!==p)){var d=(o(c.name)?c.name.slice(0,-1):c.name).toLowerCase();if(d in p==!1){p[d]=c;continue}}p=null,s=r(c,u,s)}return s;case"&&":if(t.length>5)return{type:"MatchOnce",terms:t,all:!0};for(var s=h,l=t.length-1;l>=0;l--){var m,c=t[l];m=t.length>1?a(e,t.filter(function(e){return e!==c}),!1):u,s=r(c,m,s)}return s;case"||":if(t.length>5)return{type:"MatchOnce",terms:t,all:!1};for(var s=n?u:h,l=t.length-1;l>=0;l--){var m,c=t[l];m=t.length>1?a(e,t.filter(function(e){return e!==c}),!0):u,s=r(c,m,s)}return s}}function s(e){var t=u,n=l(e.term);if(0===e.max)n=r(n,p,h),t=r(n,null,h),t.then=r(u,u,t),e.comma&&(t.then.else=r({type:"Comma",syntax:e
  },t,h));else for(var o=e.min||1;o<=e.max;o++)e.comma&&t!==u&&(t=r({type:"Comma",syntax:e},t,h)),t=r(n,r(u,u,t),h);if(0===e.min)t=r(u,u,t);else for(var o=0;o<e.min-1;o++)e.comma&&t!==u&&(t=r({type:"Comma",syntax:e},t,h)),t=r(n,t,h);return t}function l(e){if("function"==typeof e)return{type:"Generic",fn:e};switch(e.type){case"Group":var t=a(e.combinator,e.terms.map(l),!1);return e.disallowEmpty&&(t=r(t,p,h)),t;case"Multiplier":return s(e);case"Type":case"Property":return{type:e.type,name:e.name,syntax:e};case"Keyword":return{type:e.type,name:e.name.toLowerCase(),syntax:e};case"AtKeyword":return{type:e.type,name:"@"+e.name.toLowerCase(),syntax:e};case"Function":return{type:e.type,name:e.name.toLowerCase()+"(",syntax:e};case"String":return 3===e.value.length?{type:"Token",value:e.value.charAt(1),syntax:e}:{type:e.type,value:e.value.substr(1,e.value.length-2).replace(/\\'/g,"'"),syntax:e};case"Token":return{type:e.type,value:e.value,syntax:e};case"Comma":return{type:e.type,syntax:e};default:throw new Error("Unknown node type:",e.type)}}var c=e("./grammar/parse"),u={type:"Match"},h={type:"Mismatch"},p={type:"DisallowEmpty"},d=40,m=41;t.exports={MATCH:u,MISMATCH:h,DISALLOW_EMPTY:p,buildMatchGraph:function(e,t){return"string"==typeof e&&(e=c(e)),{type:"MatchGraph",match:l(e),syntax:t||null,source:e}}}},{"./grammar/parse":19}],23:[function(e,t,n){function r(e,t){for(var n=[];e;)n.unshift(t(e)),e=e.prev;return n}function o(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++){var r=e.charCodeAt(n),o=t.charCodeAt(n);if(r>=65&&r<=90&&(r|=32),r!==o)return!1}return!0}function i(e){if(null===e)return!0;var t=e.value.charAt(e.value.length-1);return","===t||"("===t||"["===t||"/"===t}function a(e){if(null===e)return!0;var t=e.value.charAt(0);return")"===t||"]"===t||"/"===t}function s(e,t,n){function r(){do{M++,R=M<e.length?e[M]:null}while(null!==R&&!/\S/.test(R.value))}function s(t){var n=M+t;return n<e.length?e[n]:null}function l(e,t){return{nextState:e,matchStack:N,syntaxStack:L,thenStack:P,tokenIndex:M,token:R,prev:t}}function c(e){P={nextState:e,matchStack:N,syntaxStack:L,prev:P}}function h(e){T=l(e,T)}function z(){N={type:b,syntax:t.syntax,token:R,prev:N},r(),E=null,M>D&&(D=M)}function A(){N=N.type===k?N.prev:{type:y,syntax:L.syntax,token:N.token,prev:N},L=L.prev}var L=null,P=null,T=null,E=null,_=0,O=null,R=null,M=-1,D=0,N={type:f,syntax:null,token:null,prev:null};for(r();null===O&&++_<S;)switch(t.type){case"Match":if(null===P){if(null!==R&&(M!==e.length-1||"\\0"!==R.value&&"\\9"!==R.value)){t=d;break}O=v;break}if((t=P.nextState)===m){if(P.matchStack.token===N.token){t=d;break}t=p}for(;null!==L&&P.syntaxStack!==L;)A();P=P.prev;break;case"Mismatch":if(null!==E&&!1!==E)(null===T||M>T.tokenIndex)&&(T=E,E=!1);else if(null===T){O=x;break}t=T.nextState,P=T.thenStack,L=T.syntaxStack,N=T.matchStack,M=T.tokenIndex,R=T.token,T=T.prev;break;case"MatchGraph":t=t.match;break;case"If":t.else!==d&&h(t.else),t.then!==p&&c(t.then),t=t.match;break;case"MatchOnce":t={type:"MatchOnceBuffer",syntax:t,index:0,mask:0};break;case"MatchOnceBuffer":var B=t.syntax.terms;if(t.index===B.length){if(0===t.mask||t.syntax.all){t=d;break}t=p;break}if(t.mask===(1<<B.length)-1){t=p;break}for(;t.index<B.length;t.index++){var I=1<<t.index;if(0==(t.mask&I)){h(t),c({type:"AddMatchOnce",syntax:t.syntax,mask:t.mask|I}),t=B[t.index++];break}}break;case"AddMatchOnce":t={type:"MatchOnceBuffer",syntax:t.syntax,index:0,mask:t.mask};break;case"Enum":if(null!==R){var F=R.value.toLowerCase();if(-1!==F.indexOf("\\")&&(F=F.replace(/\\[09].*$/,"")),u.call(t.map,F)){t=t.map[F];break}}t=d;break;case"Generic":var j=null!==L?L.opts:null,U=Math.floor(t.fn(R,s,j));if(!isNaN(U)&&U>0){for(var W=M+U;M<W;)z();t=p}else t=d;break;case"Type":case"Property":var q="Type"===t.type?"types":"properties",H=u.call(n,q)?n[q][t.name]:null;if(!H||!H.match)throw new Error("Bad syntax reference: "+("Type"===t.type?"<"+t.name+">":"<'"+t.name+"'>"));if(!1!==E&&null!==R&&"Type"===t.type){if("custom-ident"===t.name&&R.type===g.Ident||"length"===t.name&&"0"===R.value){null===E&&(E=l(t,T)),t=d;break}}!function(){L={syntax:t,opts:t.syntax.opts||null!==L&&L.opts||null,prev:L},N={type:k,syntax:t.syntax,token:N.token,prev:N}}(),t=H.match;break;case"Keyword":var F=t.name;if(null!==R){var Y=R.value;if(-1!==Y.indexOf("\\")&&(Y=Y.replace(/\\[09].*$/,"")),o(Y,F)){z(),t=p;break}}t=d;break;case"AtKeyword":case"Function":if(null!==R&&o(R.value,t.name)){z(),t=p;break}t=d;break;case"Token":if(null!==R&&R.value===t.value){z(),t=p;break}t=d;break;case"Comma":null!==R&&","===R.value?i(N.token)?t=d:(z(),t=a(R)?d:p):t=i(N.token)||a(R)?p:d;break;case"String":for(var G="",W=M;W<e.length&&G.length<t.value.length;W++)G+=e[W].value;if(o(G,t.value)){for(;M<W;)z();t=p}else t=d;break;default:throw new Error("Unknown node type: "+t.type)}if(C+=_,null===O&&(console.warn("[csstree-match] BREAK after "+S+" iterations"),O=w),O===v)for(;null!==L;)A();else N=null;return{tokens:e,reason:O,iterations:_,match:N,longestMatch:D}}function l(e,t,n){var o=s(e,t,n||{});return null!==o.match&&(o.match=r(o.match,function(e){return e.type===k||e.type===y?{type:e.type,syntax:e.syntax}:{syntax:e.syntax,token:e.token&&e.token.value,node:e.token&&e.token.node}}).slice(1)),o}function c(e,t,n){var r=s(e,t,n||{});if(null===r.match)return r;for(var o=r.match,i=r.match={syntax:t.syntax||null,match:[]},a=[i],l=null,c=null;null!==o;)c=o.prev,o.prev=l,l=o,o=c;for(o=l.prev;null!==o&&null!==o.syntax;){var u=o;switch(u.type){case k:i.match.push(i={syntax:u.syntax,match:[]}),a.push(i);break;case y:a.pop(),i=a[a.length-1];break;default:i.match.push({syntax:u.syntax||null,token:u.token.value,node:u.token.node})}o=o.prev}return r}var u=Object.prototype.hasOwnProperty,h=e("./match-graph"),p=h.MATCH,d=h.MISMATCH,m=h.DISALLOW_EMPTY,g=e("../tokenizer/const").TYPE,f=0,b=1,k=2,y=3,v="Match",x="Mismatch",w="Maximum iteration number exceeded (please fill an issue on https://github.com/csstree/csstree/issues)",S=1e4,C=0;t.exports={matchAsList:l,matchAsTree:c,getTotalIterationCount:function(){return C}}},{"../tokenizer/const":106,"./match-graph":22}],24:[function(e,t,n){function r(e,t){var n=[],r=0,i=0,s=t?t[i].node:null;for(o(e,a);!a.eof;){if(t)for(;i<t.length&&r+t[i].len<=a.tokenStart;)r+=t[i++].len,s=t[i].node;n.push({type:a.tokenType,value:a.getTokenValue(),index:a.tokenIndex,balance:a.balance[a.tokenIndex],node:s}),a.next()}return n}var o=e("../tokenizer"),i=e("../common/TokenStream"),a=new i,s={decorator:function(e){var t=null,n={len:0,node:null},o=[n],i="";return{children:e.children,node:function(n){var r=t;t=n,e.node.call(this,n),t=r},chunk:function(e){i+=e,n.node!==t?o.push({len:e.length,node:t}):n.len+=e.length},result:function(){return r(i,o)}}}};t.exports=function(e,t){return"string"==typeof e?r(e,null):t.generate(e,s)}},{"../common/TokenStream":5,"../tokenizer":107}],25:[function(e,t,n){function r(e){return"node"in e?e.node:r(e.match[0])}function o(e){return"node"in e?e.node:o(e.match[e.match.length-1])}function i(e,t,n,i,s){function l(n){if(null!==n.syntax&&n.syntax.type===i&&n.syntax.name===s){var u=r(n),h=o(n);e.syntax.walk(t,function(e,t,n){if(e===u){var r=new a;do{if(r.appendData(t.data),t.data===h)break;t=t.next}while(null!==t);c.push({parent:n,nodes:r})}})}Array.isArray(n.match)&&n.match.forEach(l)}var c=[];return null!==n.matched&&l(n.matched),c}var a=e("../common/List");t.exports={matchFragments:i}},{"../common/List":2}],26:[function(e,t,n){function r(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&e>=0}function o(e){return Boolean(e)&&r(e.offset)&&r(e.line)&&r(e.column)}function i(e,t){return function(n,r){if(!n||n.constructor!==Object)return r(n,"Type of node should be an Object");for(var i in n){var a=!0;if(!1!==l.call(n,i)){if("type"===i)n.type!==e&&r(n,"Wrong node type `"+n.type+"`, expected `"+e+"`");else if("loc"===i){if(null===n.loc)continue;if(n.loc&&n.loc.constructor===Object)if("string"!=typeof n.loc.source)i+=".source";else if(o(n.loc.start)){if(o(n.loc.end))continue;i+=".end"}else i+=".start";a=!1}else if(t.hasOwnProperty(i))for(var c=0,a=!1;!a&&c<t[i].length;c++){var u=t[i][c];switch(u){case String:a="string"==typeof n[i];break;case Boolean:a="boolean"==typeof n[i];break;case null:a=null===n[i];break;default:"string"==typeof u?a=n[i]&&n[i].type===u:Array.isArray(u)&&(a=n[i]instanceof s)}}else r(n,"Unknown field `"+i+"` for "+e+" node type");a||r(n,"Bad value for `"+e+"."+i+"`")}}for(var i in t)l.call(t,i)&&!1===l.call(n,i)&&r(n,"Field `"+e+"."+i+"` is missed")}}function a(e,t){var n=t.structure,r={type:String,loc:!0},o={type:'"'+e+'"'};for(var a in n)if(!1!==l.call(n,a)){for(var s=[],c=r[a]=Array.isArray(n[a])?n[a].slice():[n[a]],u=0;u<c.length;u++){var h=c[u];if(h===String||h===Boolean)s.push(h.name);else if(null===h)s.push("null");else if("string"==typeof h)s.push("<"+h+">");else{if(!Array.isArray(h))throw new Error("Wrong value `"+h+"` in `"+e+"."+a+"` structure definition");s.push("List")}}o[a]=s.join(" | ")}return{docs:o,check:i(e,r)}}var s=e("../common/List"),l=Object.prototype.hasOwnProperty;t.exports={getStructureFromConfig:function(e){var t={};if(e.node)for(var n in e.node)if(l.call(e.node,n)){var r=e.node[n];if(!r.structure)throw new Error("Missed `structure` field in `"+n+"` node type definition");t[n]=a(n,r)}return t}}},{"../common/List":2}],27:[function(e,t,n){function r(e){function t(e){return null!==e&&("Type"===e.type||"Property"===e.type||"Keyword"===e.type)}function n(o){if(Array.isArray(o.match)){for(var i=0;i<o.match.length;i++)if(n(o.match[i]))return t(o.syntax)&&r.unshift(o.syntax),!0}else if(o.node===e)return r=t(o.syntax)?[o.syntax]:[],!0;return!1}var r=null;return null!==this.matched&&n(this.matched),r}function o(e,t,n){var o=r.call(e,t);return null!==o&&o.some(n)}function i(e,t){return o(this,e,function(e){return"Type"===e.type&&e.name===t})}function a(e,t){return o(this,e,function(e){return"Property"===e.type&&e.name===t})}function s(e){return o(this,e,function(e){return"Keyword"===e.type})}t.exports={getTrace:r,isType:i,isProperty:a,isKeyword:s}},{}],28:[function(e,t,n){function r(e){return function(){return this[e]()}}function o(e){var t={context:{},scope:{},atrule:{},pseudo:{}};if(e.parseContext)for(var n in e.parseContext)switch(typeof e.parseContext[n]){case"function":t.context[n]=e.parseContext[n];break;case"string":t.context[n]=r(e.parseContext[n])}if(e.scope)for(var n in e.scope)t.scope[n]=e.scope[n];if(e.atrule)for(var n in e.atrule){var o=e.atrule[n];o.parse&&(t.atrule[n]=o.parse)}if(e.pseudo)for(var n in e.pseudo){var i=e.pseudo[n];i.parse&&(t.pseudo[n]=i.parse)}if(e.node)for(var n in e.node)t[n]=e.node[n].parse;return t}var i=e("../common/OffsetToLocation"),a=e("../common/SyntaxError"),s=e("../common/TokenStream"),l=e("../common/List"),c=e("../tokenizer"),u=e("../tokenizer/const"),h=e("../tokenizer/utils").findWhiteSpaceStart,p=e("./sequence"),d=function(){},m=u.TYPE,g=u.NAME,f=m.WhiteSpace,b=m.Ident,k=m.Function,y=m.Url,v=m.Hash,x=m.Percentage,w=m.Number,S=u.CHARCODE.NumberSign;t.exports=function(e){var t={scanner:new s,locationMap:new i,filename:"<unknown>",needPositions:!1,onParseError:d,onParseErrorThrow:!1,parseAtrulePrelude:!0,parseRulePrelude:!0,parseValue:!0,parseCustomProperty:!1,readSequence:p,createList:function(){return new l},createSingleNodeList:function(e){return(new l).appendData(e)},getFirstListNode:function(e){return e&&e.first()},getLastListNode:function(e){return e.last()},parseWithFallback:function(e,t){var n=this.scanner.tokenIndex;try{return e.call(this)}catch(e){if(this.onParseErrorThrow)throw e;var r=t.call(this,n);return this.onParseErrorThrow=!0,this.onParseError(e,r),this.onParseErrorThrow=!1,r}},lookupNonWSType:function(e){do{var t=this.scanner.lookupType(e++);if(t!==f)return t}while(0!==t);return 0},eat:function(e){if(this.scanner.tokenType!==e){var t=this.scanner.tokenStart,n=g[e]+" is expected";switch(e){case b:this.scanner.tokenType===k||this.scanner.tokenType===y?(t=this.scanner.tokenEnd-1,n="Identifier is expected but function found"):n="Identifier is expected";break;case v:this.scanner.isDelim(S)&&(this.scanner.next(),t++,n="Name is expected");break;case x:this.scanner.tokenType===w&&(t=this.scanner.tokenEnd,n="Percent sign is expected");break;default:this.scanner.source.charCodeAt(this.scanner.tokenStart)===e&&(t+=1)}this.error(n,t)}this.scanner.next()},consume:function(e){var t=this.scanner.getTokenValue();return this.eat(e),t},consumeFunctionName:function(){var e=this.scanner.source.substring(this.scanner.tokenStart,this.scanner.tokenEnd-1);return this.eat(k),e},getLocation:function(e,t){return this.needPositions?this.locationMap.getLocationRange(e,t,this.filename):null},getLocationFromList:function(e){if(this.needPositions){var t=this.getFirstListNode(e),n=this.getLastListNode(e);return this.locationMap.getLocationRange(null!==t?t.loc.start.offset-this.locationMap.startOffset:this.scanner.tokenStart,null!==n?n.loc.end.offset-this.locationMap.startOffset:this.scanner.tokenStart,this.filename)}return null},error:function(e,t){var n=void 0!==t&&t<this.scanner.source.length?this.locationMap.getLocation(t):this.scanner.eof?this.locationMap.getLocation(h(this.scanner.source,this.scanner.source.length-1)):this.locationMap.getLocation(this.scanner.tokenStart);throw new a(e||"Unexpected input",this.scanner.source,n.offset,n.line,n.column)}};e=o(e||{});for(var n in e)t[n]=e[n];return function(e,n){n=n||{};var r,o=n.context||"default";if(c(e,t.scanner),t.locationMap.setSource(e,n.offset,n.line,n.column),t.filename=n.filename||"<unknown>",t.needPositions=Boolean(n.positions),t.onParseError="function"==typeof n.onParseError?n.onParseError:d,t.onParseErrorThrow=!1,t.parseAtrulePrelude=!("parseAtrulePrelude"in n)||Boolean(n.parseAtrulePrelude),t.parseRulePrelude=!("parseRulePrelude"in n)||Boolean(n.parseRulePrelude),t.parseValue=!("parseValue"in n)||Boolean(n.parseValue),t.parseCustomProperty="parseCustomProperty"in n&&Boolean(n.parseCustomProperty),!t.context.hasOwnProperty(o))throw new Error("Unknown context `"+o+"`");return r=t.context[o].call(t,n),t.scanner.eof||t.error(),r}}},{"../common/List":2,"../common/OffsetToLocation":3,"../common/SyntaxError":4,"../common/TokenStream":5,"../tokenizer":107,"../tokenizer/const":106,"../tokenizer/utils":108,"./sequence":29}],29:[function(e,t,n){var r=e("../tokenizer").TYPE,o=r.WhiteSpace,i=r.Comment;t.exports=function(e){var t=this.createList(),n=null,r={recognizer:e,space:null,ignoreWS:!1,ignoreWSAfter:!1};for(this.scanner.skipSC();!this.scanner.eof;){switch(this.scanner.tokenType){case i:this.scanner.next();continue;case o:r.ignoreWS?this.scanner.next():r.space=this.WhiteSpace();continue}if(void 0===(n=e.getNode.call(this,r)))break;null!==r.space&&(t.push(r.space),r.space=null),t.push(n),r.ignoreWSAfter?(r.ignoreWSAfter=!1,r.ignoreWS=!0):r.ignoreWS=!1}return t}},{"../tokenizer":107}],30:[function(e,t,n){t.exports={parse:{prelude:null,block:function(){return this.Block(!0)}}}},{}],31:[function(e,t,n){var r=e("../../tokenizer").TYPE,o=r.String,i=r.Ident,a=r.Url,s=r.Function,l=r.LeftParenthesis;t.exports={parse:{prelude:function(){var e=this.createList();switch(this.scanner.skipSC(),this.scanner.tokenType){case o:e.push(this.String());break;case a:case s:e.push(this.Url());break;default:this.error("String or url() is expected")}return this.lookupNonWSType(0)!==i&&this.lookupNonWSType(0)!==l||(e.push(this.WhiteSpace()),e.push(this.MediaQueryList())),e},block:null}}},{"../../tokenizer":107}],32:[function(e,t,n){t.exports={"font-face":e("./font-face"),import:e("./import"),media:e("./media"),page:e("./page"),supports:e("./supports")}},{"./font-face":30,"./import":31,"./media":33,"./page":34,"./supports":35}],33:[function(e,t,n){t.exports={parse:{prelude:function(){return this.createSingleNodeList(this.MediaQueryList())},block:function(){return this.Block(!1)}}}},{}],34:[function(e,t,n){t.exports={parse:{prelude:function(){return this.createSingleNodeList(this.SelectorList())},block:function(){return this.Block(!0)}}}},{}],35:[function(e,t,n){function r(){return this.createSingleNodeList(this.Raw(this.scanner.tokenIndex,null,!1))}function o(){return this.scanner.skipSC(),this.scanner.tokenType===c&&this.lookupNonWSType(1)===h?this.createSingleNodeList(this.Declaration()):i.call(this)}function i(){var e,t=this.createList(),n=null;this.scanner.skipSC();e:for(;!this.scanner.eof;){switch(this.scanner.tokenType){case s:n=this.WhiteSpace();continue;case l:this.scanner.next();continue;case u:e=this.Function(r,this.scope.AtrulePrelude);break;case c:e=this.Identifier();break;case p:e=this.Parentheses(o,this.scope.AtrulePrelude);break;default:break e}null!==n&&(t.push(n),n=null),t.push(e)}return t}var a=e("../../tokenizer").TYPE,s=a.WhiteSpace,l=a.Comment,c=a.Ident,u=a.Function,h=a.Colon,p=a.LeftParenthesis;t.exports={parse:{prelude:function(){var e=i.call(this);return null===this.getFirstListNode(e)&&this.error("Condition is expected"),e},block:function(){return this.Block(!1)}}}},{"../../tokenizer":107}],36:[function(e,t,n){var r=e("../../../data");t.exports={generic:!0,types:r.types,properties:r.properties,node:e("../node")}},{"../../../data":1,"../node":85}],37:[function(e,t,n){function r(e){return e&&e.constructor===Object}function o(e){if(r(e)){var t={};for(var n in e)s.call(e,n)&&(t[n]=e[n]);return t}return e}function i(e,t){for(var n in t)s.call(t,n)&&(r(e[n])?i(e[n],o(t[n])):e[n]=o(t[n]))}function a(e,t,n){for(var l in n)if(!1!==s.call(n,l))if(!0===n[l])l in t&&s.call(t,l)&&(e[l]=o(t[l]));else if(n[l])if(r(n[l])){var c={};i(c,e[l]),i(c,t[l]),e[l]=c}else if(Array.isArray(n[l])){var c={},u=n[l].reduce(function(e,t){return e[t]=!0,e},{});for(var h in e[l])s.call(e[l],h)&&(c[h]={},e[l]&&e[l][h]&&a(c[h],e[l][h],u));for(var h in t[l])s.call(t[l],h)&&(c[h]||(c[h]={}),t[l]&&t[l][h]&&a(c[h],t[l][h],u));e[l]=c}return e}var s=Object.prototype.hasOwnProperty,l={generic:!0,types:{},properties:{},parseContext:{},scope:{},atrule:["parse"],pseudo:["parse"],node:["name","structure","parse","generate","walkContext"]};t.exports=function(e,t){return a(e,t,l)}},{}],38:[function(e,t,n){t.exports={parseContext:{default:"StyleSheet",stylesheet:"StyleSheet",atrule:"Atrule",atrulePrelude:function(e){return this.AtrulePrelude(e.atrule?String(e.atrule):null)},mediaQueryList:"MediaQueryList",mediaQuery:"MediaQuery",rule:"Rule",selectorList:"SelectorList",selector:"Selector",block:function(){return this.Block(!0)},declarationList:"DeclarationList",declaration:"Declaration",value:"Value"},scope:e("../scope"),atrule:e("../atrule"),pseudo:e("../pseudo"),node:e("../node")}},{"../atrule":32,"../node":85,"../pseudo":91,"../scope":102}],39:[function(e,t,n){t.exports={node:e("../node")}},{"../node":85}],40:[function(e,t,n){function r(e,t){for(var n in t)e[n]=t[n];return e}function o(e){var t=h(e),n=m(e),k=p(e),y=d(n),v={List:i,SyntaxError:a,TokenStream:s,Lexer:l,vendorPrefix:f.vendorPrefix,keyword:f.keyword,property:f.property,isCustomProperty:f.isCustomProperty,grammar:c,lexer:null,createLexer:function(e){return new l(e,v,v.lexer.structure)},tokenize:u,parse:t,walk:n,generate:k,clone:g,fromPlainObject:y.fromPlainObject,toPlainObject:y.toPlainObject,createSyntax:function(e){return o(b({},e))},fork:function(t){var n=b({},e);return o("function"==typeof t?t(n,r):b(n,t))}};return v.lexer=new l({generic:!0,types:e.types,properties:e.properties,node:e.node},v),v}var i=e("../common/List"),a=e("../common/SyntaxError"),s=e("../common/TokenStream"),l=e("../lexer/Lexer"),c=e("../lexer/grammar"),u=e("../tokenizer"),h=e("../parser/create"),p=e("../generator/create"),d=e("../convertor/create"),m=e("../walker/create"),g=e("../utils/clone"),f=e("../utils/names"),b=e("./config/mix");n.create=function(e){return o(b({},e))}},{"../common/List":2,"../common/SyntaxError":4,"../common/TokenStream":5,"../convertor/create":7,"../generator/create":8,"../lexer/Lexer":11,"../lexer/grammar":18,"../parser/create":28,"../tokenizer":107,"../utils/clone":109,"../utils/names":111,"../walker/create":112,"./config/mix":37}],41:[function(e,t,n){t.exports=function(){this.scanner.skipSC();var e=this.createSingleNodeList(this.IdSelector());return this.scanner.skipSC(),e}},{}],42:[function(e,t,n){t.exports=function(){return this.createSingleNodeList(this.Raw(this.scanner.tokenIndex,null,!1))}},{}],43:[function(e,t,n){var r=e("../../tokenizer").TYPE,o=e("../node/Raw").mode,i=r.Comma;t.exports=function(){var e=this.createList();return this.scanner.skipSC(),e.push(this.Identifier()),this.scanner.skipSC(),this.scanner.tokenType===i&&(e.push(this.Operator()),e.push(this.parseCustomProperty?this.Value(null):this.Raw(this.scanner.tokenIndex,o.exclamationMarkOrSemicolon,!1))),e}},{"../../tokenizer":107,"../node/Raw":74}],44:[function(e,t,n){t.exports=e("./create").create(function(){for(var e={},t=0;t<arguments.length;t++){var n=arguments[t];for(var r in n)e[r]=n[r]}return e}(e("./config/lexer"),e("./config/parser"),e("./config/walker")))},{"./config/lexer":36,"./config/parser":38,"./config/walker":39,"./create":40}],45:[function(e,t,n){function r(e,t){var n=this.scanner.tokenStart+e,r=this.scanner.source.charCodeAt(n);for(r!==f&&r!==b||(t&&this.error("Number sign is not allowed"),n++);n<this.scanner.tokenEnd;n++)l(this.scanner.source.charCodeAt(n))||this.error("Integer is expected",n)}function o(e){return r.call(this,0,e)}function i(e,t){if(!s(this.scanner.source,this.scanner.tokenStart+e,t)){var n="";switch(t){case k:n="N is expected";break;case b:n="HyphenMinus is expected"}this.error(n,this.scanner.tokenStart+e)}}function a(){for(var e=0,t=0,n=this.scanner.tokenType;n===h||n===p;)n=this.scanner.lookupType(++e);if(n!==m){if(!this.scanner.isDelim(f,e)&&!this.scanner.isDelim(b,e))return null;t=this.scanner.isDelim(f,e)?f:b;do{n=this.scanner.lookupType(++e)}while(n===h||n===p);n!==m&&(this.scanner.skip(e),o.call(this,y))}return e>0&&this.scanner.skip(e),0===t&&(n=this.scanner.source.charCodeAt(this.scanner.tokenStart))!==f&&n!==b&&this.error("Number sign is expected"),o.call(this,0!==t),t===b?"-"+this.consume(m):this.consume(m)}var s=e("../../tokenizer").cmpChar,l=e("../../tokenizer").isDigit,c=e("../../tokenizer").TYPE,u=e("../../tokenizer").CHARCODE,h=c.WhiteSpace,p=c.Comment,d=c.Ident,m=c.Number,g=c.Dimension,f=u.PlusSign,b=u.HyphenMinus,k=110,y=!0;t.exports={name:"AnPlusB",structure:{a:[String,null],b:[String,null]},parse:function(){var e=this.scanner.tokenStart,t=null,n=null;if(this.scanner.tokenType===m)o.call(this,!1),n=this.consume(m);else if(this.scanner.tokenType===d&&s(this.scanner.source,this.scanner.tokenStart,b))switch(t="-1",i.call(this,1,k),this.scanner.getTokenLength()){case 2:this.scanner.next(),n=a.call(this);break;case 3:i.call(this,2,b),this.scanner.next(),this.scanner.skipSC(),o.call(this,y),n="-"+this.consume(m);break;default:i.call(this,2,b),r.call(this,3,y),this.scanner.next(),n=this.scanner.substrToCursor(e+2)}else if(this.scanner.tokenType===d||this.scanner.isDelim(f)&&this.scanner.lookupType(1)===d){var c=0;switch(t="1",this.scanner.isDelim(f)&&(c=1,this.scanner.next()),i.call(this,0,k),this.scanner.getTokenLength()){case 1:this.scanner.next(),n=a.call(this);break;case 2:i.call(this,1,b),this.scanner.next(),this.scanner.skipSC(),o.call(this,y),n="-"+this.consume(m);break;default:i.call(this,1,b),r.call(this,2,y),this.scanner.next(),n=this.scanner.substrToCursor(e+c+1)}}else if(this.scanner.tokenType===g){for(var u=this.scanner.source.charCodeAt(this.scanner.tokenStart),c=u===f||u===b,h=this.scanner.tokenStart+c;h<this.scanner.tokenEnd&&l(this.scanner.source.charCodeAt(h));h++);h===this.scanner.tokenStart+c&&this.error("Integer is expected",this.scanner.tokenStart+c),i.call(this,h-this.scanner.tokenStart,k),t=this.scanner.source.substring(e,h),h+1===this.scanner.tokenEnd?(this.scanner.next(),n=a.call(this)):(i.call(this,h-this.scanner.tokenStart+1,b),h+2===this.scanner.tokenEnd?(this.scanner.next(),this.scanner.skipSC(),o.call(this,y),n="-"+this.consume(m)):(r.call(this,h-this.scanner.tokenStart+2,y),this.scanner.next(),n=this.scanner.substrToCursor(h+1)))}else this.error();return null!==t&&t.charCodeAt(0)===f&&(t=t.substr(1)),null!==n&&n.charCodeAt(0)===f&&(n=n.substr(1)),{type:"AnPlusB",loc:this.getLocation(e,this.scanner.tokenStart),a:t,b:n}},generate:function(e){var t=null!==e.a&&void 0!==e.a,n=null!==e.b&&void 0!==e.b;t?(this.chunk("+1"===e.a?"+n":"1"===e.a?"n":"-1"===e.a?"-n":e.a+"n"),n&&(n=String(e.b),"-"===n.charAt(0)||"+"===n.charAt(0)?(this.chunk(n.charAt(0)),this.chunk(n.substr(1))):(this.chunk("+"),this.chunk(n)))):this.chunk(String(e.b))}}},{"../../tokenizer":107}],46:[function(e,t,n){function r(e){return this.Raw(e,a.leftCurlyBracketOrSemicolon,!0)}function o(){for(var e,t=1;e=this.scanner.lookupType(t);t++){if(e===u)return!0;if(e===c||e===s)return!1}return!1}var i=e("../../tokenizer").TYPE,a=e("./Raw").mode,s=i.AtKeyword,l=i.Semicolon,c=i.LeftCurlyBracket,u=i.RightCurlyBracket;t.exports={name:"Atrule",structure:{name:String,prelude:["AtrulePrelude","Raw",null],block:["Block",null]},parse:function(){var e,t,n=this.scanner.tokenStart,i=null,a=null;switch(this.eat(s),e=this.scanner.substrToCursor(n+1),t=e.toLowerCase(),this.scanner.skipSC(),!1===this.scanner.eof&&this.scanner.tokenType!==c&&this.scanner.tokenType!==l&&(this.parseAtrulePrelude?(i=this.parseWithFallback(this.AtrulePrelude.bind(this,e),r),"AtrulePrelude"===i.type&&null===i.children.head&&(i=null)):i=r.call(this,this.scanner.tokenIndex),this.scanner.skipSC()),this.scanner.tokenType){case l:this.scanner.next();break;case c:a=this.atrule.hasOwnProperty(t)&&"function"==typeof this.atrule[t].block?this.atrule[t].block.call(this):this.Block(o.call(this))}return{type:"Atrule",loc:this.getLocation(n,this.scanner.tokenStart),name:e,prelude:i,block:a}},generate:function(e){this.chunk("@"),this.chunk(e.name),null!==e.prelude&&(this.chunk(" "),this.node(e.prelude)),e.block?this.node(e.block):this.chunk(";")},walkContext:"atrule"}},{"../../tokenizer":107,"./Raw":74}],47:[function(e,t,n){var r=e("../../tokenizer").TYPE,o=r.Semicolon,i=r.LeftCurlyBracket;t.exports={name:"AtrulePrelude",structure:{children:[[]]},parse:function(e){var t=null;return null!==e&&(e=e.toLowerCase()),this.scanner.skipSC(),t=this.atrule.hasOwnProperty(e)&&"function"==typeof this.atrule[e].prelude?this.atrule[e].prelude.call(this):this.readSequence(this.scope.AtrulePrelude),this.scanner.skipSC(),!0!==this.scanner.eof&&this.scanner.tokenType!==i&&this.scanner.tokenType!==o&&this.error("Semicolon or block is expected"),null===t&&(t=this.createList()),{type:"AtrulePrelude",loc:this.getLocationFromList(t),children:t}},generate:function(e){this.children(e)},walkContext:"atrulePrelude"}},{"../../tokenizer":107}],48:[function(e,t,n){function r(){this.scanner.eof&&this.error("Unexpected end of input");var e=this.scanner.tokenStart,t=!1,n=!0;return this.scanner.isDelim(d)?(t=!0,n=!1,this.scanner.next()):this.scanner.isDelim(f)||this.eat(s),this.scanner.isDelim(f)?this.scanner.source.charCodeAt(this.scanner.tokenStart+1)!==m?(this.scanner.next(),this.eat(s)):t&&this.error("Identifier is expected",this.scanner.tokenEnd):t&&this.error("Vertical line is expected"),n&&this.scanner.tokenType===c&&(this.scanner.next(),this.eat(s)),{type:"Identifier",loc:this.getLocation(e,this.scanner.tokenStart),name:this.scanner.substrToCursor(e)}}function o(){var e=this.scanner.tokenStart,t=this.scanner.source.charCodeAt(e);return t!==m&&t!==b&&t!==g&&t!==p&&t!==d&&t!==f&&this.error("Attribute selector (=, ~=, ^=, $=, *=, |=) is expected"),this.scanner.next(),t!==m&&(this.scanner.isDelim(m)||this.error("Equal sign is expected"),this.scanner.next()),this.scanner.substrToCursor(e)}var i=e("../../tokenizer").TYPE,a=e("../../tokenizer").CHARCODE,s=i.Ident,l=i.String,c=i.Colon,u=i.LeftSquareBracket,h=i.RightSquareBracket,p=a.DollarSign,d=a.Asterisk,m=a.EqualsSign,g=a.CircumflexAccent,f=a.VerticalLine,b=a.Tilde;t.exports={name:"AttributeSelector",structure:{name:"Identifier",matcher:[String,null],value:["String","Identifier",null],flags:[String,null]},parse:function(){var e,t=this.scanner.tokenStart,n=null,i=null,a=null;return this.eat(u),this.scanner.skipSC(),e=r.call(this),this.scanner.skipSC(),this.scanner.tokenType!==h&&(this.scanner.tokenType!==s&&(n=o.call(this),this.scanner.skipSC(),i=this.scanner.tokenType===l?this.String():this.Identifier(),this.scanner.skipSC()),this.scanner.tokenType===s&&(a=this.scanner.getTokenValue(),this.scanner.next(),this.scanner.skipSC())),this.eat(h),{type:"AttributeSelector",loc:this.getLocation(t,this.scanner.tokenStart),name:e,matcher:n,value:i,flags:a}},generate:function(e){var t=" ";this.chunk("["),this.node(e.name),null!==e.matcher&&(this.chunk(e.matcher),null!==e.value&&(this.node(e.value),"String"===e.value.type&&(t=""))),null!==e.flags&&(this.chunk(t),this.chunk(e.flags)),this.chunk("]")}}},{"../../tokenizer":107}],49:[function(e,t,n){function r(e){return this.Raw(e,null,!0)}function o(){return this.parseWithFallback(this.Rule,r)}function i(e){return this.Raw(e,l.semicolonIncluded,!0)}function a(){if(this.scanner.tokenType===h)return i.call(this,this.scanner.tokenIndex);var e=this.parseWithFallback(this.Declaration,i);return this.scanner.tokenType===h&&this.scanner.next(),e}var s=e("../../tokenizer").TYPE,l=e("./Raw").mode,c=s.WhiteSpace,u=s.Comment,h=s.Semicolon,p=s.AtKeyword,d=s.LeftCurlyBracket,m=s.RightCurlyBracket;t.exports={name:"Block",structure:{children:[["Atrule","Rule","Declaration"]]},parse:function(e){var t=e?a:o,n=this.scanner.tokenStart,i=this.createList();this.eat(d);e:for(;!this.scanner.eof;)switch(this.scanner.tokenType){case m:break e;case c:case u:this.scanner.next();break;case p:i.push(this.parseWithFallback(this.Atrule,r));break;default:i.push(t.call(this))}return this.scanner.eof||this.eat(m),{type:"Block",loc:this.getLocation(n,this.scanner.tokenStart),children:i}},generate:function(e){this.chunk("{"),this.children(e,function(e){"Declaration"===e.type&&this.chunk(";")}),this.chunk("}")},walkContext:"block"}},{"../../tokenizer":107,"./Raw":74}],50:[function(e,t,n){var r=e("../../tokenizer").TYPE,o=r.LeftSquareBracket,i=r.RightSquareBracket;t.exports={name:"Brackets",structure:{children:[[]]},parse:function(e,t){var n=this.scanner.tokenStart,r=null;return this.eat(o),r=e.call(this,t),this.scanner.eof||this.eat(i),{type:"Brackets",loc:this.getLocation(n,this.scanner.tokenStart),children:r}},generate:function(e){this.chunk("["),this.children(e),this.chunk("]")}}},{"../../tokenizer":107}],51:[function(e,t,n){var r=e("../../tokenizer").TYPE.CDC;t.exports={name:"CDC",structure:[],parse:function(){var e=this.scanner.tokenStart;return this.eat(r),{type:"CDC",loc:this.getLocation(e,this.scanner.tokenStart)}},generate:function(){this.chunk("--\x3e")}}},{"../../tokenizer":107}],52:[function(e,t,n){var r=e("../../tokenizer").TYPE.CDO;t.exports={name:"CDO",structure:[],parse:function(){var e=this.scanner.tokenStart;return this.eat(r),{type:"CDO",loc:this.getLocation(e,this.scanner.tokenStart)}},generate:function(){this.chunk("\x3c!--")}}},{"../../tokenizer":107}],53:[function(e,t,n){var r=e("../../tokenizer").TYPE,o=e("../../tokenizer").CHARCODE,i=r.Ident,a=o.FullStop;t.exports={name:"ClassSelector",structure:{name:String},parse:function(){return this.scanner.isDelim(a)||this.error("Full stop is expected"),this.scanner.next(),{type:"ClassSelector",loc:this.getLocation(this.scanner.tokenStart-1,this.scanner.tokenEnd),name:this.consume(i)}},generate:function(e){this.chunk("."),this.chunk(e.name)}}},{"../../tokenizer":107}],54:[function(e,t,n){var r=e("../../tokenizer").TYPE,o=e("../../tokenizer").CHARCODE,i=r.Ident,a=o.PlusSign,s=o.Solidus,l=o.GreaterThanSign,c=o.Tilde;t.exports={name:"Combinator",structure:{name:String},parse:function(){var e=this.scanner.tokenStart;switch(this.scanner.source.charCodeAt(this.scanner.tokenStart)){case l:case a:case c:this.scanner.next();break;case s:this.scanner.next(),
  this.scanner.tokenType===i&&!1!==this.scanner.lookupValue(0,"deep")||this.error("Identifier `deep` is expected"),this.scanner.next(),this.scanner.isDelim(s)||this.error("Solidus is expected"),this.scanner.next();break;default:this.error("Combinator is expected")}return{type:"Combinator",loc:this.getLocation(e,this.scanner.tokenStart),name:this.scanner.substrToCursor(e)}},generate:function(e){this.chunk(e.name)}}},{"../../tokenizer":107}],55:[function(e,t,n){var r=e("../../tokenizer").TYPE,o=e("../../tokenizer").CHARCODE,i=o.Asterisk,a=o.Solidus,s=r.Comment;t.exports={name:"Comment",structure:{value:String},parse:function(){var e=this.scanner.tokenStart,t=this.scanner.tokenEnd;return this.eat(s),t-e+2>=2&&this.scanner.source.charCodeAt(t-2)===i&&this.scanner.source.charCodeAt(t-1)===a&&(t-=2),{type:"Comment",loc:this.getLocation(e,this.scanner.tokenStart),value:this.scanner.source.substring(e+2,t)}},generate:function(e){this.chunk("/*"),this.chunk(e.value),this.chunk("*/")}}},{"../../tokenizer":107}],56:[function(e,t,n){function r(e){return this.Raw(e,h.exclamationMarkOrSemicolon,!0)}function o(e){return this.Raw(e,h.exclamationMarkOrSemicolon,!1)}function i(){var e=this.scanner.tokenIndex,t=this.Value();return"Raw"!==t.type&&!1===this.scanner.eof&&this.scanner.tokenType!==g&&!1===this.scanner.isDelim(b)&&!1===this.scanner.isBalanceEdge(e)&&this.error(),t}function a(){var e=this.scanner.tokenStart;if(this.scanner.tokenType===f)switch(this.scanner.source.charCodeAt(this.scanner.tokenStart)){case y:case x:case w:case S:case v:this.scanner.next();break;case k:this.scanner.next(),this.scanner.isDelim(k)&&this.scanner.next()}return this.scanner.tokenType===d?this.eat(d):this.eat(p),this.scanner.substrToCursor(e)}function s(){this.eat(f),this.scanner.skipSC();var e=this.consume(p);return"important"===e||e}var l=e("../../utils/names").isCustomProperty,c=e("../../tokenizer").TYPE,u=e("../../tokenizer").CHARCODE,h=e("./Raw").mode,p=c.Ident,d=c.Hash,m=c.Colon,g=c.Semicolon,f=c.Delim,b=u.ExclamationMark,k=u.Solidus,y=u.Asterisk,v=u.Ampersand,x=u.DollarSign,w=u.PlusSign,S=u.NumberSign;t.exports={name:"Declaration",structure:{important:[Boolean,String],property:String,value:["Value","Raw"]},parse:function(){var e,t=this.scanner.tokenStart,n=this.scanner.tokenIndex,c=a.call(this),u=l(c),h=u?this.parseCustomProperty:this.parseValue,p=u?o:r,d=!1;return this.scanner.skipSC(),this.eat(m),u||this.scanner.skipSC(),e=h?this.parseWithFallback(i,p):p.call(this,this.scanner.tokenIndex),this.scanner.isDelim(b)&&(d=s.call(this),this.scanner.skipSC()),!1===this.scanner.eof&&this.scanner.tokenType!==g&&!1===this.scanner.isBalanceEdge(n)&&this.error(),{type:"Declaration",loc:this.getLocation(t,this.scanner.tokenStart),important:d,property:c,value:e}},generate:function(e){this.chunk(e.property),this.chunk(":"),this.node(e.value),e.important&&this.chunk(!0===e.important?"!important":"!"+e.important)},walkContext:"declaration"}},{"../../tokenizer":107,"../../utils/names":111,"./Raw":74}],57:[function(e,t,n){function r(e){return this.Raw(e,i.semicolonIncluded,!0)}var o=e("../../tokenizer").TYPE,i=e("./Raw").mode,a=o.WhiteSpace,s=o.Comment,l=o.Semicolon;t.exports={name:"DeclarationList",structure:{children:[["Declaration"]]},parse:function(){for(var e=this.createList();!this.scanner.eof;)switch(this.scanner.tokenType){case a:case s:case l:this.scanner.next();break;default:e.push(this.parseWithFallback(this.Declaration,r))}return{type:"DeclarationList",loc:this.getLocationFromList(e),children:e}},generate:function(e){this.children(e,function(e){"Declaration"===e.type&&this.chunk(";")})}}},{"../../tokenizer":107,"./Raw":74}],58:[function(e,t,n){var r=e("../../tokenizer/utils").consumeNumber,o=e("../../tokenizer").TYPE,i=o.Dimension;t.exports={name:"Dimension",structure:{value:String,unit:String},parse:function(){var e=this.scanner.tokenStart,t=r(this.scanner.source,e);return this.eat(i),{type:"Dimension",loc:this.getLocation(e,this.scanner.tokenStart),value:this.scanner.source.substring(e,t),unit:this.scanner.source.substring(t,this.scanner.tokenStart)}},generate:function(e){this.chunk(e.value),this.chunk(e.unit)}}},{"../../tokenizer":107,"../../tokenizer/utils":108}],59:[function(e,t,n){var r=e("../../tokenizer").TYPE,o=r.RightParenthesis;t.exports={name:"Function",structure:{name:String,children:[[]]},parse:function(e,t){var n,r=this.scanner.tokenStart,i=this.consumeFunctionName(),a=i.toLowerCase();return n=t.hasOwnProperty(a)?t[a].call(this,t):e.call(this,t),this.scanner.eof||this.eat(o),{type:"Function",loc:this.getLocation(r,this.scanner.tokenStart),name:i,children:n}},generate:function(e){this.chunk(e.name),this.chunk("("),this.children(e),this.chunk(")")},walkContext:"function"}},{"../../tokenizer":107}],60:[function(e,t,n){var r=e("../../tokenizer").TYPE,o=r.Hash;t.exports={name:"HexColor",structure:{value:String},parse:function(){var e=this.scanner.tokenStart;return this.eat(o),{type:"HexColor",loc:this.getLocation(e,this.scanner.tokenStart),value:this.scanner.substrToCursor(e+1)}},generate:function(e){this.chunk("#"),this.chunk(e.value)}}},{"../../tokenizer":107}],61:[function(e,t,n){var r=e("../../tokenizer").TYPE,o=r.Hash;t.exports={name:"IdSelector",structure:{name:String},parse:function(){var e=this.scanner.tokenStart;return this.eat(o),{type:"IdSelector",loc:this.getLocation(e,this.scanner.tokenStart),name:this.scanner.substrToCursor(e+1)}},generate:function(e){this.chunk("#"),this.chunk(e.name)}}},{"../../tokenizer":107}],62:[function(e,t,n){var r=e("../../tokenizer").TYPE,o=r.Ident;t.exports={name:"Identifier",structure:{name:String},parse:function(){return{type:"Identifier",loc:this.getLocation(this.scanner.tokenStart,this.scanner.tokenEnd),name:this.consume(o)}},generate:function(e){this.chunk(e.name)}}},{"../../tokenizer":107}],63:[function(e,t,n){var r=e("../../tokenizer").TYPE,o=r.Ident,i=r.Number,a=r.Dimension,s=r.LeftParenthesis,l=r.RightParenthesis,c=r.Colon,u=r.Delim;t.exports={name:"MediaFeature",structure:{name:String,value:["Identifier","Number","Dimension","Ratio",null]},parse:function(){var e,t=this.scanner.tokenStart,n=null;if(this.eat(s),this.scanner.skipSC(),e=this.consume(o),this.scanner.skipSC(),this.scanner.tokenType!==l){switch(this.eat(c),this.scanner.skipSC(),this.scanner.tokenType){case i:n=this.lookupNonWSType(1)===u?this.Ratio():this.Number();break;case a:n=this.Dimension();break;case o:n=this.Identifier();break;default:this.error("Number, dimension, ratio or identifier is expected")}this.scanner.skipSC()}return this.eat(l),{type:"MediaFeature",loc:this.getLocation(t,this.scanner.tokenStart),name:e,value:n}},generate:function(e){this.chunk("("),this.chunk(e.name),null!==e.value&&(this.chunk(":"),this.node(e.value)),this.chunk(")")}}},{"../../tokenizer":107}],64:[function(e,t,n){var r=e("../../tokenizer").TYPE,o=r.WhiteSpace,i=r.Comment,a=r.Ident,s=r.LeftParenthesis;t.exports={name:"MediaQuery",structure:{children:[["Identifier","MediaFeature","WhiteSpace"]]},parse:function(){this.scanner.skipSC();var e=this.createList(),t=null,n=null;e:for(;!this.scanner.eof;){switch(this.scanner.tokenType){case i:this.scanner.next();continue;case o:n=this.WhiteSpace();continue;case a:t=this.Identifier();break;case s:t=this.MediaFeature();break;default:break e}null!==n&&(e.push(n),n=null),e.push(t)}return null===t&&this.error("Identifier or parenthesis is expected"),{type:"MediaQuery",loc:this.getLocationFromList(e),children:e}},generate:function(e){this.children(e)}}},{"../../tokenizer":107}],65:[function(e,t,n){var r=e("../../tokenizer").TYPE.Comma;t.exports={name:"MediaQueryList",structure:{children:[["MediaQuery"]]},parse:function(e){var t=this.createList();for(this.scanner.skipSC();!this.scanner.eof&&(t.push(this.MediaQuery(e)),this.scanner.tokenType===r);)this.scanner.next();return{type:"MediaQueryList",loc:this.getLocationFromList(t),children:t}},generate:function(e){this.children(e,function(){this.chunk(",")})}}},{"../../tokenizer":107}],66:[function(e,t,n){t.exports={name:"Nth",structure:{nth:["AnPlusB","Identifier"],selector:["SelectorList",null]},parse:function(e){this.scanner.skipSC();var t,n=this.scanner.tokenStart,r=n,o=null;return t=this.scanner.lookupValue(0,"odd")||this.scanner.lookupValue(0,"even")?this.Identifier():this.AnPlusB(),this.scanner.skipSC(),e&&this.scanner.lookupValue(0,"of")?(this.scanner.next(),o=this.SelectorList(),this.needPositions&&(r=this.getLastListNode(o.children).loc.end.offset)):this.needPositions&&(r=t.loc.end.offset),{type:"Nth",loc:this.getLocation(n,r),nth:t,selector:o}},generate:function(e){this.node(e.nth),null!==e.selector&&(this.chunk(" of "),this.node(e.selector))}}},{}],67:[function(e,t,n){var r=e("../../tokenizer").TYPE.Number;t.exports={name:"Number",structure:{value:String},parse:function(){return{type:"Number",loc:this.getLocation(this.scanner.tokenStart,this.scanner.tokenEnd),value:this.consume(r)}},generate:function(e){this.chunk(e.value)}}},{"../../tokenizer":107}],68:[function(e,t,n){t.exports={name:"Operator",structure:{value:String},parse:function(){var e=this.scanner.tokenStart;return this.scanner.next(),{type:"Operator",loc:this.getLocation(e,this.scanner.tokenStart),value:this.scanner.substrToCursor(e)}},generate:function(e){this.chunk(e.value)}}},{}],69:[function(e,t,n){var r=e("../../tokenizer").TYPE,o=r.LeftParenthesis,i=r.RightParenthesis;t.exports={name:"Parentheses",structure:{children:[[]]},parse:function(e,t){var n=this.scanner.tokenStart,r=null;return this.eat(o),r=e.call(this,t),this.scanner.eof||this.eat(i),{type:"Parentheses",loc:this.getLocation(n,this.scanner.tokenStart),children:r}},generate:function(e){this.chunk("("),this.children(e),this.chunk(")")}}},{"../../tokenizer":107}],70:[function(e,t,n){var r=e("../../tokenizer/utils").consumeNumber,o=e("../../tokenizer").TYPE,i=o.Percentage;t.exports={name:"Percentage",structure:{value:String},parse:function(){var e=this.scanner.tokenStart,t=r(this.scanner.source,e);return this.eat(i),{type:"Percentage",loc:this.getLocation(e,this.scanner.tokenStart),value:this.scanner.source.substring(e,t)}},generate:function(e){this.chunk(e.value),this.chunk("%")}}},{"../../tokenizer":107,"../../tokenizer/utils":108}],71:[function(e,t,n){var r=e("../../tokenizer").TYPE,o=r.Ident,i=r.Function,a=r.Colon,s=r.RightParenthesis;t.exports={name:"PseudoClassSelector",structure:{name:String,children:[["Raw"],null]},parse:function(){var e,t,n=this.scanner.tokenStart,r=null;return this.eat(a),this.scanner.tokenType===i?(e=this.consumeFunctionName(),t=e.toLowerCase(),this.pseudo.hasOwnProperty(t)?(this.scanner.skipSC(),r=this.pseudo[t].call(this),this.scanner.skipSC()):(r=this.createList(),r.push(this.Raw(this.scanner.tokenIndex,null,!1))),this.eat(s)):e=this.consume(o),{type:"PseudoClassSelector",loc:this.getLocation(n,this.scanner.tokenStart),name:e,children:r}},generate:function(e){this.chunk(":"),this.chunk(e.name),null!==e.children&&(this.chunk("("),this.children(e),this.chunk(")"))},walkContext:"function"}},{"../../tokenizer":107}],72:[function(e,t,n){var r=e("../../tokenizer").TYPE,o=r.Ident,i=r.Function,a=r.Colon,s=r.RightParenthesis;t.exports={name:"PseudoElementSelector",structure:{name:String,children:[["Raw"],null]},parse:function(){var e,t,n=this.scanner.tokenStart,r=null;return this.eat(a),this.eat(a),this.scanner.tokenType===i?(e=this.consumeFunctionName(),t=e.toLowerCase(),this.pseudo.hasOwnProperty(t)?(this.scanner.skipSC(),r=this.pseudo[t].call(this),this.scanner.skipSC()):(r=this.createList(),r.push(this.Raw(this.scanner.tokenIndex,null,!1))),this.eat(s)):e=this.consume(o),{type:"PseudoElementSelector",loc:this.getLocation(n,this.scanner.tokenStart),name:e,children:r}},generate:function(e){this.chunk("::"),this.chunk(e.name),null!==e.children&&(this.chunk("("),this.children(e),this.chunk(")"))},walkContext:"function"}},{"../../tokenizer":107}],73:[function(e,t,n){function r(){this.scanner.skipWS();for(var e=this.consume(s),t=0;t<e.length;t++){var n=e.charCodeAt(t);o(n)||n===u||this.error("Unsigned number is expected",this.scanner.tokenStart-e.length+t)}return 0===Number(e)&&this.error("Zero number is not allowed",this.scanner.tokenStart-e.length),e}var o=e("../../tokenizer").isDigit,i=e("../../tokenizer").TYPE,a=e("../../tokenizer").CHARCODE,s=i.Number,l=i.Delim,c=a.Solidus,u=a.FullStop;t.exports={name:"Ratio",structure:{left:String,right:String},parse:function(){var e,t=this.scanner.tokenStart,n=r.call(this);return this.scanner.skipWS(),this.scanner.isDelim(c)||this.error("Solidus is expected"),this.eat(l),e=r.call(this),{type:"Ratio",loc:this.getLocation(t,this.scanner.tokenStart),left:n,right:e}},generate:function(e){this.chunk(e.left),this.chunk("/"),this.chunk(e.right)}}},{"../../tokenizer":107}],74:[function(e,t,n){function r(){return this.scanner.tokenIndex>0&&this.scanner.lookupType(-1)===d?this.scanner.tokenIndex>1?this.scanner.getTokenStart(this.scanner.tokenIndex-1):this.scanner.firstCharOffset:this.scanner.tokenStart}function o(){return 0}function i(e){return e===g?1:0}function a(e){return e===g||e===m?1:0}function s(e,t,n){return e===f&&t.charCodeAt(n)===p?1:e===m?1:0}function l(e){return e===m?2:0}var c=e("../../tokenizer"),u=c.TYPE,h=c.CHARCODE,p=h.ExclamationMark,d=u.WhiteSpace,m=u.Semicolon,g=u.LeftCurlyBracket,f=u.Delim;t.exports={name:"Raw",structure:{value:String},parse:function(e,t,n){var i,a=this.scanner.getTokenStart(e);return this.scanner.skip(this.scanner.getRawLength(e,t||o)),i=n&&this.scanner.tokenStart>a?r.call(this):this.scanner.tokenStart,{type:"Raw",loc:this.getLocation(a,i),value:this.scanner.source.substring(a,i)}},generate:function(e){this.chunk(e.value)},mode:{default:o,leftCurlyBracket:i,leftCurlyBracketOrSemicolon:a,exclamationMarkOrSemicolon:s,semicolonIncluded:l}}},{"../../tokenizer":107}],75:[function(e,t,n){function r(e){return this.Raw(e,a.leftCurlyBracket,!0)}function o(){var e=this.SelectorList();return"Raw"!==e.type&&!1===this.scanner.eof&&this.scanner.tokenType!==s&&this.error(),e}var i=e("../../tokenizer").TYPE,a=e("./Raw").mode,s=i.LeftCurlyBracket;t.exports={name:"Rule",structure:{prelude:["SelectorList","Raw"],block:["Block"]},parse:function(){var e,t,n=this.scanner.tokenIndex,i=this.scanner.tokenStart;return e=this.parseRulePrelude?this.parseWithFallback(o,r):r.call(this,n),t=this.Block(!0),{type:"Rule",loc:this.getLocation(i,this.scanner.tokenStart),prelude:e,block:t}},generate:function(e){this.node(e.prelude),this.node(e.block)},walkContext:"rule"}},{"../../tokenizer":107,"./Raw":74}],76:[function(e,t,n){t.exports={name:"Selector",structure:{children:[["TypeSelector","IdSelector","ClassSelector","AttributeSelector","PseudoClassSelector","PseudoElementSelector","Combinator","WhiteSpace"]]},parse:function(){var e=this.readSequence(this.scope.Selector);return null===this.getFirstListNode(e)&&this.error("Selector is expected"),{type:"Selector",loc:this.getLocationFromList(e),children:e}},generate:function(e){this.children(e)}}},{}],77:[function(e,t,n){var r=e("../../tokenizer").TYPE,o=r.Comma;t.exports={name:"SelectorList",structure:{children:[["Selector","Raw"]]},parse:function(){for(var e=this.createList();!this.scanner.eof;){e.push(this.Selector());{if(this.scanner.tokenType!==o)break;this.scanner.next()}}return{type:"SelectorList",loc:this.getLocationFromList(e),children:e}},generate:function(e){this.children(e,function(){this.chunk(",")})},walkContext:"selector"}},{"../../tokenizer":107}],78:[function(e,t,n){var r=e("../../tokenizer").TYPE.String;t.exports={name:"String",structure:{value:String},parse:function(){return{type:"String",loc:this.getLocation(this.scanner.tokenStart,this.scanner.tokenEnd),value:this.consume(r)}},generate:function(e){this.chunk(e.value)}}},{"../../tokenizer":107}],79:[function(e,t,n){function r(e){return this.Raw(e,null,!1)}var o=e("../../tokenizer").TYPE,i=e("../../tokenizer").CHARCODE,a=o.WhiteSpace,s=o.Comment,l=o.AtKeyword,c=o.CDO,u=o.CDC,h=i.ExclamationMark;t.exports={name:"StyleSheet",structure:{children:[["Comment","CDO","CDC","Atrule","Rule","Raw"]]},parse:function(){for(var e,t=this.scanner.tokenStart,n=this.createList();!this.scanner.eof;){switch(this.scanner.tokenType){case a:this.scanner.next();continue;case s:if(this.scanner.source.charCodeAt(this.scanner.tokenStart+2)!==h){this.scanner.next();continue}e=this.Comment();break;case c:e=this.CDO();break;case u:e=this.CDC();break;case l:e=this.parseWithFallback(this.Atrule,r);break;default:e=this.parseWithFallback(this.Rule,r)}n.push(e)}return{type:"StyleSheet",loc:this.getLocation(t,this.scanner.tokenStart),children:n}},generate:function(e){this.children(e)},walkContext:"stylesheet"}},{"../../tokenizer":107}],80:[function(e,t,n){function r(){this.scanner.tokenType!==a&&!1===this.scanner.isDelim(s)&&this.error("Identifier or asterisk is expected"),this.scanner.next()}var o=e("../../tokenizer").TYPE,i=e("../../tokenizer").CHARCODE,a=o.Ident,s=i.Asterisk,l=i.VerticalLine;t.exports={name:"TypeSelector",structure:{name:String},parse:function(){var e=this.scanner.tokenStart;return this.scanner.isDelim(l)?(this.scanner.next(),r.call(this)):(r.call(this),this.scanner.isDelim(l)&&(this.scanner.next(),r.call(this))),{type:"TypeSelector",loc:this.getLocation(e,this.scanner.tokenStart),name:this.scanner.substrToCursor(e)}},generate:function(e){this.chunk(e.name)}}},{"../../tokenizer":107}],81:[function(e,t,n){function r(e,t){for(var n=this.scanner.tokenStart+e,o=0;n<this.scanner.tokenEnd;n++){var i=this.scanner.source.charCodeAt(n);if(i===f&&t&&0!==o)return 0===r.call(this,e+o+1,!1)&&this.error(),-1;s(i)||this.error(t&&0!==o?"HyphenMinus"+(o<6?" or hex digit":"")+" is expected":o<6?"Hex digit is expected":"Unexpected input",n),++o>6&&this.error("Too many hex digits",n)}return this.scanner.next(),o}function o(e){for(var t=0;this.scanner.isDelim(b);)++t>e&&this.error("Too many question marks"),this.scanner.next()}function i(e){this.scanner.source.charCodeAt(this.scanner.tokenStart)!==e&&this.error(u[e]+" is expected")}function a(){var e=0;if(this.scanner.isDelim(g))return this.scanner.next(),this.scanner.tokenType===p?void((e=r.call(this,0,!0))>0&&o.call(this,6-e)):this.scanner.isDelim(b)?(this.scanner.next(),void o.call(this,5)):void this.error("Hex digit or question mark is expected");if(this.scanner.tokenType!==d){if(this.scanner.tokenType===m)return i.call(this,g),void((e=r.call(this,1,!0))>0&&o.call(this,6-e));this.error()}else{if(i.call(this,g),e=r.call(this,1,!0),this.scanner.isDelim(b))return void o.call(this,6-e);if(this.scanner.tokenType===m||this.scanner.tokenType===d)return i.call(this,f),void r.call(this,1,!1)}}var s=e("../../tokenizer").isHexDigit,l=e("../../tokenizer").cmpChar,c=e("../../tokenizer").TYPE,u=e("../../tokenizer").NAME,h=e("../../tokenizer").CHARCODE,p=c.Ident,d=c.Number,m=c.Dimension,g=h.PlusSign,f=h.HyphenMinus,b=h.QuestionMark;t.exports={name:"UnicodeRange",structure:{value:String},parse:function(){var e=this.scanner.tokenStart;return l(this.scanner.source,e,117)||this.error("U is expected"),l(this.scanner.source,e+1,g)||this.error("Plus sign is expected"),this.scanner.next(),a.call(this),{type:"UnicodeRange",loc:this.getLocation(e,this.scanner.tokenStart),value:this.scanner.substrToCursor(e)}},generate:function(e){this.chunk(e.value)}}},{"../../tokenizer":107}],82:[function(e,t,n){var r=e("../../tokenizer").isWhiteSpace,o=e("../../tokenizer").cmpStr,i=e("../../tokenizer").TYPE,a=i.Function,s=i.Url,l=i.RightParenthesis;t.exports={name:"Url",structure:{value:["String","Raw"]},parse:function(){var e,t=this.scanner.tokenStart;switch(this.scanner.tokenType){case s:for(var n=t+4,i=this.scanner.tokenEnd-1;n<i&&r(this.scanner.source.charCodeAt(n));)n++;for(;n<i&&r(this.scanner.source.charCodeAt(i-1));)i--;e={type:"Raw",loc:this.getLocation(n,i),value:this.scanner.source.substring(n,i)},this.eat(s);break;case a:o(this.scanner.source,this.scanner.tokenStart,this.scanner.tokenEnd,"url(")||this.error("Function name must be `url`"),this.eat(a),this.scanner.skipSC(),e=this.String(),this.scanner.skipSC(),this.eat(l);break;default:this.error("Url or Function is expected")}return{type:"Url",loc:this.getLocation(t,this.scanner.tokenStart),value:e}},generate:function(e){this.chunk("url"),this.chunk("("),this.node(e.value),this.chunk(")")}}},{"../../tokenizer":107}],83:[function(e,t,n){t.exports={name:"Value",structure:{children:[[]]},parse:function(){var e=this.scanner.tokenStart,t=this.readSequence(this.scope.Value);return{type:"Value",loc:this.getLocation(e,this.scanner.tokenStart),children:t}},generate:function(e){this.children(e)}}},{}],84:[function(e,t,n){var r=e("../../tokenizer").TYPE.WhiteSpace,o=Object.freeze({type:"WhiteSpace",loc:null,value:" "});t.exports={name:"WhiteSpace",structure:{value:String},parse:function(){return this.eat(r),o},generate:function(e){this.chunk(e.value)}}},{"../../tokenizer":107}],85:[function(e,t,n){t.exports={AnPlusB:e("./AnPlusB"),Atrule:e("./Atrule"),AtrulePrelude:e("./AtrulePrelude"),AttributeSelector:e("./AttributeSelector"),Block:e("./Block"),Brackets:e("./Brackets"),CDC:e("./CDC"),CDO:e("./CDO"),ClassSelector:e("./ClassSelector"),Combinator:e("./Combinator"),Comment:e("./Comment"),Declaration:e("./Declaration"),DeclarationList:e("./DeclarationList"),Dimension:e("./Dimension"),Function:e("./Function"),HexColor:e("./HexColor"),Identifier:e("./Identifier"),IdSelector:e("./IdSelector"),MediaFeature:e("./MediaFeature"),MediaQuery:e("./MediaQuery"),MediaQueryList:e("./MediaQueryList"),Nth:e("./Nth"),Number:e("./Number"),Operator:e("./Operator"),Parentheses:e("./Parentheses"),Percentage:e("./Percentage"),PseudoClassSelector:e("./PseudoClassSelector"),PseudoElementSelector:e("./PseudoElementSelector"),Ratio:e("./Ratio"),Raw:e("./Raw"),Rule:e("./Rule"),Selector:e("./Selector"),SelectorList:e("./SelectorList"),String:e("./String"),StyleSheet:e("./StyleSheet"),TypeSelector:e("./TypeSelector"),UnicodeRange:e("./UnicodeRange"),Url:e("./Url"),Value:e("./Value"),WhiteSpace:e("./WhiteSpace")}},{"./AnPlusB":45,"./Atrule":46,"./AtrulePrelude":47,"./AttributeSelector":48,"./Block":49,"./Brackets":50,"./CDC":51,"./CDO":52,"./ClassSelector":53,"./Combinator":54,"./Comment":55,"./Declaration":56,"./DeclarationList":57,"./Dimension":58,"./Function":59,"./HexColor":60,"./IdSelector":61,"./Identifier":62,"./MediaFeature":63,"./MediaQuery":64,"./MediaQueryList":65,"./Nth":66,"./Number":67,"./Operator":68,"./Parentheses":69,"./Percentage":70,"./PseudoClassSelector":71,"./PseudoElementSelector":72,"./Ratio":73,"./Raw":74,"./Rule":75,"./Selector":76,"./SelectorList":77,"./String":78,"./StyleSheet":79,"./TypeSelector":80,"./UnicodeRange":81,"./Url":82,"./Value":83,"./WhiteSpace":84}],86:[function(e,t,n){t.exports={parse:function(){return this.createSingleNodeList(this.Nth(!1))}}},{}],87:[function(e,t,n){t.exports={parse:function(){return this.createSingleNodeList(this.Nth(!0))}}},{}],88:[function(e,t,n){t.exports={parse:function(){return this.createSingleNodeList(this.SelectorList())}}},{}],89:[function(e,t,n){t.exports={parse:function(){return this.createSingleNodeList(this.Identifier())}}},{}],90:[function(e,t,n){t.exports={parse:function(){return this.createSingleNodeList(this.SelectorList())}}},{}],91:[function(e,t,n){t.exports={dir:e("./dir"),has:e("./has"),lang:e("./lang"),matches:e("./matches"),not:e("./not"),"nth-child":e("./nth-child"),"nth-last-child":e("./nth-last-child"),"nth-last-of-type":e("./nth-last-of-type"),"nth-of-type":e("./nth-of-type"),slotted:e("./slotted")}},{"./dir":89,"./has":90,"./lang":92,"./matches":93,"./not":94,"./nth-child":95,"./nth-last-child":96,"./nth-last-of-type":97,"./nth-of-type":98,"./slotted":99}],92:[function(e,t,n){arguments[4][89][0].apply(n,arguments)},{dup:89}],93:[function(e,t,n){t.exports=e("./common/selectorList")},{"./common/selectorList":88}],94:[function(e,t,n){arguments[4][93][0].apply(n,arguments)},{"./common/selectorList":88,dup:93}],95:[function(e,t,n){t.exports=e("./common/nthWithOfClause")},{"./common/nthWithOfClause":87}],96:[function(e,t,n){arguments[4][95][0].apply(n,arguments)},{"./common/nthWithOfClause":87,dup:95}],97:[function(e,t,n){t.exports=e("./common/nth")},{"./common/nth":86}],98:[function(e,t,n){arguments[4][97][0].apply(n,arguments)},{"./common/nth":86,dup:97}],99:[function(e,t,n){t.exports={parse:function(){return this.createSingleNodeList(this.Selector())}}},{}],100:[function(e,t,n){t.exports={getNode:e("./default")}},{"./default":101}],101:[function(e,t,n){var r=e("../../tokenizer").cmpChar,o=e("../../tokenizer").cmpStr,i=e("../../tokenizer").TYPE,a=e("../../tokenizer").CHARCODE,s=i.Ident,l=i.String,c=i.Number,u=i.Function,h=i.Url,p=i.Hash,d=i.Dimension,m=i.Percentage,g=i.LeftParenthesis,f=i.LeftSquareBracket,b=i.Comma,k=i.Delim,y=a.PlusSign,v=a.HyphenMinus,x=a.Solidus,w=a.Asterisk,S=a.NumberSign;t.exports=function(e){switch(this.scanner.tokenType){case p:return this.HexColor();case b:return e.space=null,e.ignoreWSAfter=!0,this.Operator();case g:return this.Parentheses(this.readSequence,e.recognizer);case f:return this.Brackets(this.readSequence,e.recognizer);case l:return this.String();case d:return this.Dimension();case m:return this.Percentage();case c:return this.Number();case u:return o(this.scanner.source,this.scanner.tokenStart,this.scanner.tokenEnd,"url(")?this.Url():this.Function(this.readSequence,e.recognizer);case h:return this.Url();case s:return r(this.scanner.source,this.scanner.tokenStart,117)&&r(this.scanner.source,this.scanner.tokenStart+1,y)?this.UnicodeRange():this.Identifier();case k:var t=this.scanner.source.charCodeAt(this.scanner.tokenStart);if(t===x||t===w||t===y||t===v)return this.Operator();t===S&&this.error("Hex or identifier is expected",this.scanner.tokenStart+1)}}},{"../../tokenizer":107}],102:[function(e,t,n){t.exports={AtrulePrelude:e("./atrulePrelude"),Selector:e("./selector"),Value:e("./value")}},{"./atrulePrelude":100,"./selector":103,"./value":104}],103:[function(e,t,n){function r(e){switch(this.scanner.tokenType){case d:return this.AttributeSelector();case h:return this.IdSelector();case p:return this.scanner.lookupType(1)===p?this.PseudoElementSelector():this.PseudoClassSelector();case s:return this.TypeSelector();case u:case c:return this.Percentage();case l:this.scanner.source.charCodeAt(this.scanner.tokenStart)===k&&this.error("Identifier is expected",this.scanner.tokenStart+1);break;case a:switch(this.scanner.source.charCodeAt(this.scanner.tokenStart)){case g:case y:case x:return e.space=null,e.ignoreWSAfter=!0,this.Combinator();case f:return this.Combinator();case k:return this.ClassSelector();case b:case v:return this.TypeSelector();case m:return this.IdSelector()}}}var o=e("../../tokenizer").TYPE,i=e("../../tokenizer").CHARCODE,a=o.Delim,s=o.Ident,l=o.Dimension,c=o.Percentage,u=o.Number,h=o.Hash,p=o.Colon,d=o.LeftSquareBracket,m=i.NumberSign,g=i.PlusSign,f=i.Solidus,b=i.Asterisk,k=i.FullStop,y=i.GreaterThanSign,v=i.VerticalLine,x=i.Tilde;t.exports={getNode:r}},{"../../tokenizer":107}],104:[function(e,t,n){t.exports={getNode:e("./default"),"-moz-element":e("../function/element"),element:e("../function/element"),expression:e("../function/expression"),var:e("../function/var")}},{"../function/element":41,"../function/expression":42,"../function/var":43,"./default":101}],105:[function(e,t,n){function r(e){return e>=48&&e<=57}function o(e){return r(e)||e>=65&&e<=70||e>=97&&e<=102}function i(e){return e>=65&&e<=90}function a(e){return e>=97&&e<=122}function s(e){return i(e)||a(e)}function l(e){return e>=128}function c(e){return s(e)||l(e)||95===e}function u(e){return c(e)||r(e)||45===e}function h(e){return e>=0&&e<=8||11===e||e>=14&&e<=31||127===e}function p(e){return e===v||e===k||e===y}function d(e){return p(e)||e===x||e===b}function m(e,t){return 92===e&&(!p(t)&&t!==w)}function g(e,t,n){return 45===e?c(t)||45===t||m(t,n):!!c(e)||92===e&&m(e,t)}function f(e,t,n){return 43===e||45===e?r(t)?2:46===t&&r(n)?3:0:46===e?r(t)?2:0:r(e)?1:0}var b=9,k=10,y=12,v=13,x=32,w=0;t.exports={isDigit:r,isHexDigit:o,isUppercaseLetter:i,isLowercaseLetter:a,isLetter:s,isNonAscii:l,isNameStart:c,isName:u,isNonPrintable:h,isNewline:p,isWhiteSpace:d,isValidEscape:m,isIdentifierStart:g,isNumberStart:f}},{}],106:[function(e,t,n){function r(e,t,n){for(var r=0;r<e.length;r++)t(r)&&(e[r]=n)}const o=e("./char-code-definitions");for(var i={Ident:1,Function:2,AtKeyword:3,Hash:4,String:5,BadString:6,Url:7,BadUrl:8,Delim:9,Number:10,Percentage:11,Dimension:12,WhiteSpace:13,CDO:14,CDC:15,Colon:16,Semicolon:17,Comma:18,LeftSquareBracket:19,RightSquareBracket:20,LeftParenthesis:21,RightParenthesis:22,LeftCurlyBracket:23,RightCurlyBracket:24,Comment:25},a=Object.keys(i).reduce(function(e,t){return e[i[t]]=t,e},{}),s={Tab:9,LineFeed:10,FormFeed:12,CarriageReturn:13,Space:32,ExclamationMark:33,QuotationMark:34,NumberSign:35,DollarSign:36,PercentSign:37,Ampersand:38,Apostrophe:39,LeftParenthesis:40,RightParenthesis:41,Asterisk:42,PlusSign:43,Comma:44,HyphenMinus:45,FullStop:46,Solidus:47,Colon:58,Semicolon:59,LessThanSign:60,EqualsSign:61,GreaterThanSign:62,QuestionMark:63,CommercialAt:64,LeftSquareBracket:91,Backslash:92,RightSquareBracket:93,CircumflexAccent:94,LowLine:95,GraveAccent:96,LeftCurlyBracket:123,VerticalLine:124,RightCurlyBracket:125,Tilde:126},l={Eof:128,Delim:129,WhiteSpace:130,Digit:131,NameStart:132,NonPrintable:133,Newline:134},c="undefined"!=typeof Uint32Array?Uint32Array:Array,u=new c(128),h=new c(128),p=new c(128),d=0;d<u.length;d++)h[d]=p[d]=u[d]=d||l.Eof;r(u,o.isWhiteSpace,l.WhiteSpace),r(u,o.isDigit,l.Digit),r(u,o.isNameStart,l.NameStart),r(h,o.isNewline,l.Newline),r(p,o.isWhiteSpace,l.WhiteSpace),r(p,o.isNonPrintable,l.NonPrintable),t.exports={TYPE:i,NAME:a,CHARCODE:s,INPUT_STREAM_CODE:u,INPUT_STREAM_CODE_STRING:h,INPUT_STREAM_CODE_URL:p,INPUT_STREAM_CODE_TYPE:l}},{"./char-code-definitions":105}],107:[function(e,t,n){function r(e,t){function n(t){return t<D?e.charCodeAt(t):0}function r(){return F=z(e,F),x(n(F),n(F+1),n(F+2))?(H=s.Dimension,void(F=C(e,F))):n(F)===_?(H=s.Percentage,void F++):void(H=s.Number)}function a(){const t=F;return F=C(e,F),g(e,t,F,"url")&&40===n(F)?(F=w(e,F+1),34===n(F)||39===n(F)?(H=s.Function,void(F=t+4)):void d()):40===n(F)?(H=s.Function,void F++):void(H=s.Ident)}function l(t){for(t||(t=n(F++)),H=s.String;F<e.length;F++){var r=e.charCodeAt(F);switch(r<128?u[r]:r){case t:return void F++;case p.Eof:return;case p.Newline:return F+=f(e,F,r),void(H=s.BadString);case 92:if(F===e.length-1)break;var o=n(F+1);b(o)?F+=f(e,F+1,o):y(r,o)&&(F=S(e,F)-1)}}}function d(){for(H=s.Url,F=w(e,F);F<e.length;F++){var t=e.charCodeAt(F);switch(t<128?h[t]:t){case 41:return void F++;case p.Eof:return;case p.WhiteSpace:return F=w(e,F),41===n(F)||F>=e.length?void(F<e.length&&F++):(F=A(e,F),void(H=s.BadUrl));case 34:case 39:case 40:case p.NonPrintable:return F=A(e,F),void(H=s.BadUrl);case 92:if(y(t,n(F+1))){F=S(e,F)-1;break}return F=A(e,F),void(H=s.BadUrl)}}}t||(t=new o),e=String(e||"");for(var M=m(e),D=e.length,N=i(t.offsetAndType,D+1),B=i(t.balance,D+1),I=0,F=M,j=0,U=0,W=0;F<D;){var q=e.charCodeAt(F),H=0;switch(B[I]=D,q<128?c[q]:p.NameStart){case p.WhiteSpace:H=s.WhiteSpace,F=w(e,F+1);break;case 34:l();break;case 35:k(n(F+1))||y(n(F+1),n(F+2))?(H=s.Hash,F=C(e,F+1)):(H=s.Delim,F++);break;case 39:l();break;case 40:H=s.LeftParenthesis,F++;break;case 41:H=s.RightParenthesis,F++;break;case 43:v(q,n(F+1),n(F+2))?r():(H=s.Delim,F++);break;case 44:H=s.Comma,F++;break;case 45:v(q,n(F+1),n(F+2))?r():n(F+1)===P&&n(F+2)===T?(H=s.CDC,F+=3):x(q,n(F+1),n(F+2))?a():(H=s.Delim,F++);break;case 46:v(q,n(F+1),n(F+2))?r():(H=s.Delim,F++);break;case 47:n(F+1)===L?(H=s.Comment,1===(F=e.indexOf("*/",F+2)+2)&&(F=e.length)):(H=s.Delim,F++);break;case 58:H=s.Colon,F++;break;case 59:H=s.Semicolon,F++;break;case 60:n(F+1)===E&&n(F+2)===P&&n(F+3)===P?(H=s.CDO,F+=4):(H=s.Delim,F++);break;case 64:x(n(F+1),n(F+2),n(F+3))?(H=s.AtKeyword,F=C(e,F+1)):(H=s.Delim,F++);break;case 91:H=s.LeftSquareBracket,F++;break;case 92:y(q,n(F+1))?a():(H=s.Delim,F++);break
  ;case 93:H=s.RightSquareBracket,F++;break;case 123:H=s.LeftCurlyBracket,F++;break;case 125:H=s.RightCurlyBracket,F++;break;case p.Digit:r();break;case p.NameStart:a();break;case p.Eof:break;default:H=s.Delim,F++}switch(H){case j:for(W=U&O,U=B[W],j=U>>R,B[I]=W,B[W++]=I;W<I;W++)B[W]===D&&(B[W]=I);break;case s.LeftParenthesis:case s.Function:B[I]=U,j=s.RightParenthesis,U=j<<R|I;break;case s.LeftSquareBracket:B[I]=U,j=s.RightSquareBracket,U=j<<R|I;break;case s.LeftCurlyBracket:B[I]=U,j=s.RightCurlyBracket,U=j<<R|I}N[I++]=H<<R|F}for(N[I]=F,B[I]=D,B[D]=D;0!==U;)W=U&O,U=B[W],B[W]=D;return t.source=e,t.firstCharOffset=M,t.offsetAndType=N,t.tokenCount=I,t.balance=B,t.reset(),t.next(),t}var o=e("../common/TokenStream"),i=e("../common/adopt-buffer"),a=e("./const"),s=a.TYPE,l=a.CHARCODE,c=a.INPUT_STREAM_CODE,u=a.INPUT_STREAM_CODE_STRING,h=a.INPUT_STREAM_CODE_URL,p=a.INPUT_STREAM_CODE_TYPE,d=e("./utils"),m=d.firstCharOffset,g=d.cmpStr,f=d.getNewlineLength,b=d.isNewline,k=d.isName,y=d.isValidEscape,v=d.isNumberStart,x=d.isIdentifierStart,w=d.findWhiteSpaceEnd,S=d.consumeEscaped,C=d.consumeName,z=d.consumeNumber,A=d.consumeBadUrlRemnants,L=l.Asterisk,P=l.HyphenMinus,T=l.GreaterThanSign,E=l.ExclamationMark,_=l.PercentSign,O=16777215,R=24;Object.keys(a).forEach(function(e){r[e]=a[e]}),Object.keys(d).forEach(function(e){r[e]=d[e]}),t.exports=r},{"../common/TokenStream":5,"../common/adopt-buffer":6,"./const":106,"./utils":108}],108:[function(e,t,n){function r(e){return e.length>0&&(65279===e.charCodeAt(0)||65534===e.charCodeAt(0))?1:0}function o(e,t){return t<e.length?e.charCodeAt(t):0}function i(e,t,n){return 13===n&&10===o(e,t+1)?2:1}function a(e,t,n){var r=e.charCodeAt(t);return k(r)&&(r|=32),r===n}function s(e,t,n,r){if(n-t!==r.length)return!1;if(t<0||n>e.length)return!1;for(var o=t;o<n;o++){var i=e.charCodeAt(o),a=r.charCodeAt(o-t);if(k(i)&&(i|=32),i!==a)return!1}return!0}function l(e,t){for(;t>=0&&A(e.charCodeAt(t));t--);return t+1}function c(e,t){for(;t<e.length&&A(e.charCodeAt(t));t++);return t}function u(e,t){for(;t<e.length&&f(e.charCodeAt(t));t++);return t}function h(e,t){if(t+=2,b(o(e,t-1))){for(var n=Math.min(e.length,t+5);t<n&&b(o(e,t));t++);var r=o(e,t);A(r)&&(t+=i(e,t,r))}return t}function p(e,t){for(;t<e.length;t++){var n=e.charCodeAt(t);if(!S(n)){if(!L(n,o(e,t+1)))break;t=h(e,t)-1}}return t}function d(e,t){var n=e.charCodeAt(t);if(43!==n&&45!==n||(n=e.charCodeAt(t+=1)),f(n)&&(t=u(e,t+1),n=e.charCodeAt(t)),46===n&&f(e.charCodeAt(t+1))&&(n=e.charCodeAt(t+=2),t=u(e,t)),a(e,t,101)){var r=0;n=e.charCodeAt(t+1),45!==n&&43!==n||(r=1,n=e.charCodeAt(t+2)),f(n)&&(t=u(e,t+1+r+1))}return t}function m(e,t){for(;t<e.length;t++){var n=e.charCodeAt(t);if(41===n){t++;break}L(n,o(e,t+1))&&(t=h(e,t))}return t}var g=e("./char-code-definitions"),f=g.isDigit,b=g.isHexDigit,k=g.isUppercaseLetter,y=g.isLowercaseLetter,v=g.isLetter,x=g.isNonAscii,w=g.isNameStart,S=g.isName,C=g.isNonPrintable,z=g.isNewline,A=g.isWhiteSpace,L=g.isValidEscape,P=g.isIdentifierStart,T=g.isNumberStart;t.exports={firstCharOffset:r,isDigit:f,isHexDigit:b,isUppercaseLetter:k,isLowercaseLetter:y,isLetter:v,isNonAscii:x,isNameStart:w,isName:S,isNonPrintable:C,isNewline:z,isWhiteSpace:A,isValidEscape:L,isIdentifierStart:P,isNumberStart:T,consumeEscaped:h,consumeName:p,consumeNumber:d,consumeBadUrlRemnants:m,cmpChar:a,cmpStr:s,getNewlineLength:i,findWhiteSpaceStart:l,findWhiteSpaceEnd:c}},{"./char-code-definitions":105}],109:[function(e,t,n){var r=e("../common/List");t.exports=function e(t){var n={};for(var o in t){var i=t[o];i&&(Array.isArray(i)||i instanceof r?i=i.map(e):i.constructor===Object&&(i=e(i))),n[o]=i}return n}},{"../common/List":2}],110:[function(e,t,n){t.exports=function(e,t){var n=Object.create(SyntaxError.prototype),r=new Error;return n.name=e,n.message=t,Object.defineProperty(n,"stack",{get:function(){return(r.stack||"").replace(/^(.+\n){1,3}/,e+": "+t+"\n")}}),n}},{}],111:[function(e,t,n){function r(e,t){return t=t||0,e.length-t>=2&&e.charCodeAt(t)===u&&e.charCodeAt(t+1)===u}function o(e,t){if(t=t||0,e.length-t>=3&&e.charCodeAt(t)===u&&e.charCodeAt(t+1)!==u){var n=e.indexOf("-",t+2);if(-1!==n)return e.substring(t,n+1)}return""}function i(e){if(s.call(l,e))return l[e];var t=e.toLowerCase();if(s.call(l,t))return l[e]=l[t];var n=r(t,0),i=n?"":o(t,0);return l[e]=Object.freeze({basename:t.substr(i.length),name:t,vendor:i,prefix:i,custom:n})}function a(e){if(s.call(c,e))return c[e];var t=e,n=e[0];"/"===n?n="/"===e[1]?"//":"/":"_"!==n&&"*"!==n&&"$"!==n&&"#"!==n&&"+"!==n&&"&"!==n&&(n="");var i=r(t,n.length);if(!i&&(t=t.toLowerCase(),s.call(c,t)))return c[e]=c[t];var a=i?"":o(t,n.length),l=t.substr(0,n.length+a.length);return c[e]=Object.freeze({basename:t.substr(l.length),name:t.substr(n.length),hack:n,vendor:a,prefix:l,custom:i})}var s=Object.prototype.hasOwnProperty,l=Object.create(null),c=Object.create(null),u=45;t.exports={keyword:i,property:a,isCustomProperty:r,vendorPrefix:o}},{}],112:[function(e,t,n){function r(e){return"function"==typeof e?e:u}function o(e,t){return function(n,r,o){n.type===t&&e.call(this,n,r,o)}}function i(e,t){var n=t.structure,r=[];for(var o in n)if(!1!==c.call(n,o)){var i=n[o],a={name:o,type:!1,nullable:!1};Array.isArray(n[o])||(i=[n[o]]);for(var s=0;s<i.length;s++){var l=i[s];null===l?a.nullable=!0:"string"==typeof l?a.type="node":Array.isArray(l)&&(a.type="list")}a.type&&r.push(a)}return r.length?{context:t.walkContext,fields:r}:null}function a(e){var t={};for(var n in e.node)if(c.call(e.node,n)){var r=e.node[n];if(!r.structure)throw new Error("Missed `structure` field in `"+n+"` node type definition");t[n]=i(n,r)}return t}function s(e,t){var n=t?e.fields.slice().reverse():e.fields,r=n.map(function(e){var n,r="node."+e.name;return n="list"===e.type?t?r+".forEachRight(walk);":r+".forEach(walk);":"walk("+r+");",e.nullable&&(n="if ("+r+") {\n    "+n+"}"),n});return e.context&&(r=[].concat("var old = context."+e.context+";","context."+e.context+" = node;",r,"context."+e.context+" = old;")),new Function("node","context","walk",r.join("\n"))}function l(e){return{Atrule:{StyleSheet:e.StyleSheet,Atrule:e.Atrule,Rule:e.Rule,Block:e.Block},Rule:{StyleSheet:e.StyleSheet,Atrule:e.Atrule,Rule:e.Rule,Block:e.Block},Declaration:{StyleSheet:e.StyleSheet,Atrule:e.Atrule,Rule:e.Rule,Block:e.Block}}}var c=Object.prototype.hasOwnProperty,u=function(){};t.exports=function(e){var t=a(e),n={},i={};for(var h in t)c.call(t,h)&&null!==t[h]&&(n[h]=s(t[h],!1),i[h]=s(t[h],!0));var p=l(n),d=l(i);return function(e,a){function s(e,t,n){l.call(m,e,t,n),h.hasOwnProperty(e.type)&&h[e.type](e,m,s),c.call(m,e,t,n)}var l=u,c=u,h=n,m={root:e,stylesheet:null,atrule:null,atrulePrelude:null,rule:null,selector:null,block:null,declaration:null,function:null};if("function"==typeof a)l=a;else if(a&&(l=r(a.enter),c=r(a.leave),a.reverse&&(h=i),a.visit)){if(p.hasOwnProperty(a.visit))h=a.reverse?d[a.visit]:p[a.visit];else if(!t.hasOwnProperty(a.visit))throw new Error("Bad value `"+a.visit+"` for `visit` option (should be: "+Object.keys(t).join(", ")+")");l=o(l,a.visit),c=o(c,a.visit)}if(l===u&&c===u)throw new Error("Neither `enter` nor `leave` walker handler is set or both aren't a function");if(a.reverse){var g=l;l=c,c=g}s(e)}}},{}],113:[function(e,t,n){function r(){this._array=[],this._set=a?new Map:Object.create(null)}var o=e("./util"),i=Object.prototype.hasOwnProperty,a="undefined"!=typeof Map;r.fromArray=function(e,t){for(var n=new r,o=0,i=e.length;o<i;o++)n.add(e[o],t);return n},r.prototype.size=function(){return a?this._set.size:Object.getOwnPropertyNames(this._set).length},r.prototype.add=function(e,t){var n=a?e:o.toSetString(e),r=a?this.has(e):i.call(this._set,n),s=this._array.length;r&&!t||this._array.push(e),r||(a?this._set.set(e,s):this._set[n]=s)},r.prototype.has=function(e){if(a)return this._set.has(e);var t=o.toSetString(e);return i.call(this._set,t)},r.prototype.indexOf=function(e){if(a){var t=this._set.get(e);if(t>=0)return t}else{var n=o.toSetString(e);if(i.call(this._set,n))return this._set[n]}throw new Error('"'+e+'" is not in the set.')},r.prototype.at=function(e){if(e>=0&&e<this._array.length)return this._array[e];throw new Error("No element indexed by "+e)},r.prototype.toArray=function(){return this._array.slice()},n.ArraySet=r},{"./util":122}],114:[function(e,t,n){function r(e){return e<0?1+(-e<<1):0+(e<<1)}function o(e){var t=1==(1&e),n=e>>1;return t?-n:n}var i=e("./base64");n.encode=function(e){var t,n="",o=r(e);do{t=31&o,o>>>=5,o>0&&(t|=32),n+=i.encode(t)}while(o>0);return n},n.decode=function(e,t,n){var r,a,s=e.length,l=0,c=0;do{if(t>=s)throw new Error("Expected more digits in base 64 VLQ value.");if(-1===(a=i.decode(e.charCodeAt(t++))))throw new Error("Invalid base64 digit: "+e.charAt(t-1));r=!!(32&a),a&=31,l+=a<<c,c+=5}while(r);n.value=o(l),n.rest=t}},{"./base64":115}],115:[function(e,t,n){var r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");n.encode=function(e){if(0<=e&&e<r.length)return r[e];throw new TypeError("Must be between 0 and 63: "+e)},n.decode=function(e){return 65<=e&&e<=90?e-65:97<=e&&e<=122?e-97+26:48<=e&&e<=57?e-48+52:43==e?62:47==e?63:-1}},{}],116:[function(e,t,n){function r(e,t,o,i,a,s){var l=Math.floor((t-e)/2)+e,c=a(o,i[l],!0);return 0===c?l:c>0?t-l>1?r(l,t,o,i,a,s):s==n.LEAST_UPPER_BOUND?t<i.length?t:-1:l:l-e>1?r(e,l,o,i,a,s):s==n.LEAST_UPPER_BOUND?l:e<0?-1:e}n.GREATEST_LOWER_BOUND=1,n.LEAST_UPPER_BOUND=2,n.search=function(e,t,o,i){if(0===t.length)return-1;var a=r(-1,t.length,e,t,o,i||n.GREATEST_LOWER_BOUND);if(a<0)return-1;for(;a-1>=0&&0===o(t[a],t[a-1],!0);)--a;return a}},{}],117:[function(e,t,n){function r(e,t){var n=e.generatedLine,r=t.generatedLine,o=e.generatedColumn,a=t.generatedColumn;return r>n||r==n&&a>=o||i.compareByGeneratedPositionsInflated(e,t)<=0}function o(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}var i=e("./util");o.prototype.unsortedForEach=function(e,t){this._array.forEach(e,t)},o.prototype.add=function(e){r(this._last,e)?(this._last=e,this._array.push(e)):(this._sorted=!1,this._array.push(e))},o.prototype.toArray=function(){return this._sorted||(this._array.sort(i.compareByGeneratedPositionsInflated),this._sorted=!0),this._array},n.MappingList=o},{"./util":122}],118:[function(e,t,n){function r(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function o(e,t){return Math.round(e+Math.random()*(t-e))}function i(e,t,n,a){if(n<a){var s=o(n,a),l=n-1;r(e,s,a);for(var c=e[a],u=n;u<a;u++)t(e[u],c)<=0&&(l+=1,r(e,l,u));r(e,l+1,u);var h=l+1;i(e,t,n,h-1),i(e,t,h+1,a)}}n.quickSort=function(e,t){i(e,t,0,e.length-1)}},{}],119:[function(e,t,n){function r(e){var t=e;return"string"==typeof e&&(t=JSON.parse(e.replace(/^\)\]\}'/,""))),null!=t.sections?new a(t):new o(t)}function o(e){var t=e;"string"==typeof e&&(t=JSON.parse(e.replace(/^\)\]\}'/,"")));var n=s.getArg(t,"version"),r=s.getArg(t,"sources"),o=s.getArg(t,"names",[]),i=s.getArg(t,"sourceRoot",null),a=s.getArg(t,"sourcesContent",null),l=s.getArg(t,"mappings"),u=s.getArg(t,"file",null);if(n!=this._version)throw new Error("Unsupported version: "+n);r=r.map(String).map(s.normalize).map(function(e){return i&&s.isAbsolute(i)&&s.isAbsolute(e)?s.relative(i,e):e}),this._names=c.fromArray(o.map(String),!0),this._sources=c.fromArray(r,!0),this.sourceRoot=i,this.sourcesContent=a,this._mappings=l,this.file=u}function i(){this.generatedLine=0,this.generatedColumn=0,this.source=null,this.originalLine=null,this.originalColumn=null,this.name=null}function a(e){var t=e;"string"==typeof e&&(t=JSON.parse(e.replace(/^\)\]\}'/,"")));var n=s.getArg(t,"version"),o=s.getArg(t,"sections");if(n!=this._version)throw new Error("Unsupported version: "+n);this._sources=new c,this._names=new c;var i={line:-1,column:0};this._sections=o.map(function(e){if(e.url)throw new Error("Support for url field in sections not implemented.");var t=s.getArg(e,"offset"),n=s.getArg(t,"line"),o=s.getArg(t,"column");if(n<i.line||n===i.line&&o<i.column)throw new Error("Section offsets must be ordered and non-overlapping.");return i=t,{generatedOffset:{generatedLine:n+1,generatedColumn:o+1},consumer:new r(s.getArg(e,"map"))}})}var s=e("./util"),l=e("./binary-search"),c=e("./array-set").ArraySet,u=e("./base64-vlq"),h=e("./quick-sort").quickSort;r.fromSourceMap=function(e){return o.fromSourceMap(e)},r.prototype._version=3,r.prototype.__generatedMappings=null,Object.defineProperty(r.prototype,"_generatedMappings",{get:function(){return this.__generatedMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__generatedMappings}}),r.prototype.__originalMappings=null,Object.defineProperty(r.prototype,"_originalMappings",{get:function(){return this.__originalMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__originalMappings}}),r.prototype._charIsMappingSeparator=function(e,t){var n=e.charAt(t);return";"===n||","===n},r.prototype._parseMappings=function(e,t){throw new Error("Subclasses must implement _parseMappings")},r.GENERATED_ORDER=1,r.ORIGINAL_ORDER=2,r.GREATEST_LOWER_BOUND=1,r.LEAST_UPPER_BOUND=2,r.prototype.eachMapping=function(e,t,n){var o,i=t||null,a=n||r.GENERATED_ORDER;switch(a){case r.GENERATED_ORDER:o=this._generatedMappings;break;case r.ORIGINAL_ORDER:o=this._originalMappings;break;default:throw new Error("Unknown order of iteration.")}var l=this.sourceRoot;o.map(function(e){var t=null===e.source?null:this._sources.at(e.source);return null!=t&&null!=l&&(t=s.join(l,t)),{source:t,generatedLine:e.generatedLine,generatedColumn:e.generatedColumn,originalLine:e.originalLine,originalColumn:e.originalColumn,name:null===e.name?null:this._names.at(e.name)}},this).forEach(e,i)},r.prototype.allGeneratedPositionsFor=function(e){var t=s.getArg(e,"line"),n={source:s.getArg(e,"source"),originalLine:t,originalColumn:s.getArg(e,"column",0)};if(null!=this.sourceRoot&&(n.source=s.relative(this.sourceRoot,n.source)),!this._sources.has(n.source))return[];n.source=this._sources.indexOf(n.source);var r=[],o=this._findMapping(n,this._originalMappings,"originalLine","originalColumn",s.compareByOriginalPositions,l.LEAST_UPPER_BOUND);if(o>=0){var i=this._originalMappings[o];if(void 0===e.column)for(var a=i.originalLine;i&&i.originalLine===a;)r.push({line:s.getArg(i,"generatedLine",null),column:s.getArg(i,"generatedColumn",null),lastColumn:s.getArg(i,"lastGeneratedColumn",null)}),i=this._originalMappings[++o];else for(var c=i.originalColumn;i&&i.originalLine===t&&i.originalColumn==c;)r.push({line:s.getArg(i,"generatedLine",null),column:s.getArg(i,"generatedColumn",null),lastColumn:s.getArg(i,"lastGeneratedColumn",null)}),i=this._originalMappings[++o]}return r},n.SourceMapConsumer=r,o.prototype=Object.create(r.prototype),o.prototype.consumer=r,o.fromSourceMap=function(e){var t=Object.create(o.prototype),n=t._names=c.fromArray(e._names.toArray(),!0),r=t._sources=c.fromArray(e._sources.toArray(),!0);t.sourceRoot=e._sourceRoot,t.sourcesContent=e._generateSourcesContent(t._sources.toArray(),t.sourceRoot),t.file=e._file;for(var a=e._mappings.toArray().slice(),l=t.__generatedMappings=[],u=t.__originalMappings=[],p=0,d=a.length;p<d;p++){var m=a[p],g=new i;g.generatedLine=m.generatedLine,g.generatedColumn=m.generatedColumn,m.source&&(g.source=r.indexOf(m.source),g.originalLine=m.originalLine,g.originalColumn=m.originalColumn,m.name&&(g.name=n.indexOf(m.name)),u.push(g)),l.push(g)}return h(t.__originalMappings,s.compareByOriginalPositions),t},o.prototype._version=3,Object.defineProperty(o.prototype,"sources",{get:function(){return this._sources.toArray().map(function(e){return null!=this.sourceRoot?s.join(this.sourceRoot,e):e},this)}}),o.prototype._parseMappings=function(e,t){for(var n,r,o,a,l,c=1,p=0,d=0,m=0,g=0,f=0,b=e.length,k=0,y={},v={},x=[],w=[];k<b;)if(";"===e.charAt(k))c++,k++,p=0;else if(","===e.charAt(k))k++;else{for(n=new i,n.generatedLine=c,a=k;a<b&&!this._charIsMappingSeparator(e,a);a++);if(r=e.slice(k,a),o=y[r])k+=r.length;else{for(o=[];k<a;)u.decode(e,k,v),l=v.value,k=v.rest,o.push(l);if(2===o.length)throw new Error("Found a source, but no line and column");if(3===o.length)throw new Error("Found a source and line, but no column");y[r]=o}n.generatedColumn=p+o[0],p=n.generatedColumn,o.length>1&&(n.source=g+o[1],g+=o[1],n.originalLine=d+o[2],d=n.originalLine,n.originalLine+=1,n.originalColumn=m+o[3],m=n.originalColumn,o.length>4&&(n.name=f+o[4],f+=o[4])),w.push(n),"number"==typeof n.originalLine&&x.push(n)}h(w,s.compareByGeneratedPositionsDeflated),this.__generatedMappings=w,h(x,s.compareByOriginalPositions),this.__originalMappings=x},o.prototype._findMapping=function(e,t,n,r,o,i){if(e[n]<=0)throw new TypeError("Line must be greater than or equal to 1, got "+e[n]);if(e[r]<0)throw new TypeError("Column must be greater than or equal to 0, got "+e[r]);return l.search(e,t,o,i)},o.prototype.computeColumnSpans=function(){for(var e=0;e<this._generatedMappings.length;++e){var t=this._generatedMappings[e];if(e+1<this._generatedMappings.length){var n=this._generatedMappings[e+1];if(t.generatedLine===n.generatedLine){t.lastGeneratedColumn=n.generatedColumn-1;continue}}t.lastGeneratedColumn=1/0}},o.prototype.originalPositionFor=function(e){var t={generatedLine:s.getArg(e,"line"),generatedColumn:s.getArg(e,"column")},n=this._findMapping(t,this._generatedMappings,"generatedLine","generatedColumn",s.compareByGeneratedPositionsDeflated,s.getArg(e,"bias",r.GREATEST_LOWER_BOUND));if(n>=0){var o=this._generatedMappings[n];if(o.generatedLine===t.generatedLine){var i=s.getArg(o,"source",null);null!==i&&(i=this._sources.at(i),null!=this.sourceRoot&&(i=s.join(this.sourceRoot,i)));var a=s.getArg(o,"name",null);return null!==a&&(a=this._names.at(a)),{source:i,line:s.getArg(o,"originalLine",null),column:s.getArg(o,"originalColumn",null),name:a}}}return{source:null,line:null,column:null,name:null}},o.prototype.hasContentsOfAllSources=function(){return!!this.sourcesContent&&(this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some(function(e){return null==e}))},o.prototype.sourceContentFor=function(e,t){if(!this.sourcesContent)return null;if(null!=this.sourceRoot&&(e=s.relative(this.sourceRoot,e)),this._sources.has(e))return this.sourcesContent[this._sources.indexOf(e)];var n;if(null!=this.sourceRoot&&(n=s.urlParse(this.sourceRoot))){var r=e.replace(/^file:\/\//,"");if("file"==n.scheme&&this._sources.has(r))return this.sourcesContent[this._sources.indexOf(r)];if((!n.path||"/"==n.path)&&this._sources.has("/"+e))return this.sourcesContent[this._sources.indexOf("/"+e)]}if(t)return null;throw new Error('"'+e+'" is not in the SourceMap.')},o.prototype.generatedPositionFor=function(e){var t=s.getArg(e,"source");if(null!=this.sourceRoot&&(t=s.relative(this.sourceRoot,t)),!this._sources.has(t))return{line:null,column:null,lastColumn:null};t=this._sources.indexOf(t);var n={source:t,originalLine:s.getArg(e,"line"),originalColumn:s.getArg(e,"column")},o=this._findMapping(n,this._originalMappings,"originalLine","originalColumn",s.compareByOriginalPositions,s.getArg(e,"bias",r.GREATEST_LOWER_BOUND));if(o>=0){var i=this._originalMappings[o];if(i.source===n.source)return{line:s.getArg(i,"generatedLine",null),column:s.getArg(i,"generatedColumn",null),lastColumn:s.getArg(i,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}},n.BasicSourceMapConsumer=o,a.prototype=Object.create(r.prototype),a.prototype.constructor=r,a.prototype._version=3,Object.defineProperty(a.prototype,"sources",{get:function(){for(var e=[],t=0;t<this._sections.length;t++)for(var n=0;n<this._sections[t].consumer.sources.length;n++)e.push(this._sections[t].consumer.sources[n]);return e}}),a.prototype.originalPositionFor=function(e){var t={generatedLine:s.getArg(e,"line"),generatedColumn:s.getArg(e,"column")},n=l.search(t,this._sections,function(e,t){var n=e.generatedLine-t.generatedOffset.generatedLine;return n||e.generatedColumn-t.generatedOffset.generatedColumn}),r=this._sections[n];return r?r.consumer.originalPositionFor({line:t.generatedLine-(r.generatedOffset.generatedLine-1),column:t.generatedColumn-(r.generatedOffset.generatedLine===t.generatedLine?r.generatedOffset.generatedColumn-1:0),bias:e.bias}):{source:null,line:null,column:null,name:null}},a.prototype.hasContentsOfAllSources=function(){return this._sections.every(function(e){return e.consumer.hasContentsOfAllSources()})},a.prototype.sourceContentFor=function(e,t){for(var n=0;n<this._sections.length;n++){var r=this._sections[n],o=r.consumer.sourceContentFor(e,!0);if(o)return o}if(t)return null;throw new Error('"'+e+'" is not in the SourceMap.')},a.prototype.generatedPositionFor=function(e){for(var t=0;t<this._sections.length;t++){var n=this._sections[t];if(-1!==n.consumer.sources.indexOf(s.getArg(e,"source"))){var r=n.consumer.generatedPositionFor(e);if(r){return{line:r.line+(n.generatedOffset.generatedLine-1),column:r.column+(n.generatedOffset.generatedLine===r.line?n.generatedOffset.generatedColumn-1:0)}}}}return{line:null,column:null}},a.prototype._parseMappings=function(e,t){this.__generatedMappings=[],this.__originalMappings=[];for(var n=0;n<this._sections.length;n++)for(var r=this._sections[n],o=r.consumer._generatedMappings,i=0;i<o.length;i++){var a=o[i],l=r.consumer._sources.at(a.source);null!==r.consumer.sourceRoot&&(l=s.join(r.consumer.sourceRoot,l)),this._sources.add(l),l=this._sources.indexOf(l);var c=r.consumer._names.at(a.name);this._names.add(c),c=this._names.indexOf(c);var u={source:l,generatedLine:a.generatedLine+(r.generatedOffset.generatedLine-1),generatedColumn:a.generatedColumn+(r.generatedOffset.generatedLine===a.generatedLine?r.generatedOffset.generatedColumn-1:0),originalLine:a.originalLine,originalColumn:a.originalColumn,name:c};this.__generatedMappings.push(u),"number"==typeof u.originalLine&&this.__originalMappings.push(u)}h(this.__generatedMappings,s.compareByGeneratedPositionsDeflated),h(this.__originalMappings,s.compareByOriginalPositions)},n.IndexedSourceMapConsumer=a},{"./array-set":113,"./base64-vlq":114,"./binary-search":116,"./quick-sort":118,"./util":122}],120:[function(e,t,n){function r(e){e||(e={}),this._file=i.getArg(e,"file",null),this._sourceRoot=i.getArg(e,"sourceRoot",null),this._skipValidation=i.getArg(e,"skipValidation",!1),this._sources=new a,this._names=new a,this._mappings=new s,this._sourcesContents=null}var o=e("./