1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8891],{1476:(e,t,r)=>{var n=r(6222),a=function(e){this.str=e,this.pos=0};a.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 n(e,this.str,this.pos)}},e.exports=a},1666:(e,t,r)=>{e.exports={AnPlusB:r(91065),Atrule:r(5953),AtrulePrelude:r(70114),AttributeSelector:r(99155),Block:r(72831),Brackets:r(85883),CDC:r(99458),CDO:r(22974),ClassSelector:r(94811),Combinator:r(11088),Comment:r(46611),Declaration:r(80442),DeclarationList:r(9874),Dimension:r(15506),Function:r(27278),Hash:r(71654),Identifier:r(48529),IdSelector:r(92282),MediaFeature:r(47808),MediaQuery:r(95782),MediaQueryList:r(54654),Nth:r(42804),Number:r(88447),Operator:r(79654),Parentheses:r(63598),Percentage:r(8662),PseudoClassSelector:r(10089),PseudoElementSelector:r(44337),Ratio:r(14945),Raw:r(73924),Rule:r(15212),Selector:r(93843),SelectorList:r(6687),String:r(47527),StyleSheet:r(58398),TypeSelector:r(80507),UnicodeRange:r(58638),Url:r(82399),Value:r(52383),WhiteSpace:r(42347)}},1830:e=>{function t(e){return e>=48&&e<=57}function r(e){return e>=65&&e<=90}function n(e){return e>=97&&e<=122}function a(e){return r(e)||n(e)}function s(e){return e>=128}function i(e){return a(e)||s(e)||95===e}function o(e){return e>=0&&e<=8||11===e||e>=14&&e<=31||127===e}function l(e){return 10===e||13===e||12===e}function c(e){return l(e)||32===e||9===e}function d(e,t){return!(92!==e||l(t)||0===t)}var u=Array(128);h.Eof=128,h.WhiteSpace=130,h.Digit=131,h.NameStart=132,h.NonPrintable=133;for(var p=0;p<u.length;p++)switch(!0){case c(p):u[p]=h.WhiteSpace;break;case t(p):u[p]=h.Digit;break;case i(p):u[p]=h.NameStart;break;case o(p):u[p]=h.NonPrintable;break;default:u[p]=p||h.Eof}function h(e){return e<128?u[e]:h.NameStart}e.exports={isDigit:t,isHexDigit:function(e){return t(e)||e>=65&&e<=70||e>=97&&e<=102},isUppercaseLetter:r,isLowercaseLetter:n,isLetter:a,isNonAscii:s,isNameStart:i,isName:function(e){return i(e)||t(e)||45===e},isNonPrintable:o,isNewline:l,isWhiteSpace:c,isValidEscape:d,isIdentifierStart:function(e,t,r){return 45===e?i(t)||45===t||d(t,r):!!i(e)||92===e&&d(e,t)},isNumberStart:function(e,r,n){return 43===e||45===e?t(r)?2:46===r&&t(n)?3:0:46===e?2*!!t(r):+!!t(e)},isBOM:function(e){return+(65279===e||65534===e)},charCodeCategory:h}},2120:e=>{"use strict";e.exports=function(){var e=Number.isNaN;return"function"==typeof e&&!e({})&&e(NaN)&&!e(34)}},2173:(e,t,r)=>{e.exports={"font-face":r(69488),import:r(83766),media:r(73829),page:r(59480),supports:r(42811)}},2713:e=>{"use strict";e.exports={version:"1.1.3"}},4870:(e,t,r)=>{var n=r(69683);e.exports=function e(t){var r={};for(var a in t){var s=t[a];s&&(Array.isArray(s)||s instanceof n?s=s.map(e):s.constructor===Object&&(s=e(s))),r[a]=s}return r}},5382:(e,t,r)=>{"use strict";var n=r(64803),a=r(47821),s=r(95764),i=Array.prototype.indexOf,o=Object.prototype.hasOwnProperty,l=Math.abs,c=Math.floor;e.exports=function(e){var t,r,d;if(!n(e))return i.apply(this,arguments);for(r=a(s(this).length),d=arguments[1],t=d=isNaN(d)?0:d>=0?c(d):a(this.length)-c(l(d));t<r;++t)if(o.call(this,t)&&n(this[t]))return t;return -1}},5660:e=>{"use strict";e.exports=function(){var e,t,r=Array.from;return"function"==typeof r&&!!((t=r(e=["raz","dwa"]))&&t!==e&&"dwa"===t[1])}},5700:e=>{"use strict";e.exports=JSON.parse('{"absolute-size":{"syntax":"xx-small | x-small | small | medium | large | x-large | xx-large | xxx-large"},"alpha-value":{"syntax":"<number> | <percentage>"},"angle-percentage":{"syntax":"<angle> | <percentage>"},"angular-color-hint":{"syntax":"<angle-percentage>"},"angular-color-stop":{"syntax":"<color> && <color-stop-angle>?"},"angular-color-stop-list":{"syntax":"[ <angular-color-stop> [, <angular-color-hint>]? ]# , <angular-color-stop>"},"animateable-feature":{"syntax":"scroll-position | contents | <custom-ident>"},"attachment":{"syntax":"scroll | fixed | local"},"attr()":{"syntax":"attr( <attr-name> <type-or-unit>? [, <attr-fallback> ]? )"},"attr-matcher":{"syntax":"[ \'~\' | \'|\' | \'^\' | \'$\' | \'*\' ]? \'=\'"},"attr-modifier":{"syntax":"i | s"},"attribute-selector":{"syntax":"\'[\' <wq-name> \']\' | \'[\' <wq-name> <attr-matcher> [ <string-token> | <ident-token> ] <attr-modifier>? \']\'"},"auto-repeat":{"syntax":"repeat( [ auto-fill | auto-fit ] , [ <line-names>? <fixed-size> ]+ <line-names>? )"},"auto-track-list":{"syntax":"[ <line-names>? [ <fixed-size> | <fixed-repeat> ] ]* <line-names>? <auto-repeat>\\n[ <line-names>? [ <fixed-size> | <fixed-repeat> ] ]* <line-names>?"},"baseline-position":{"syntax":"[ first | last ]? baseline"},"basic-shape":{"syntax":"<inset()> | <circle()> | <ellipse()> | <polygon()> | <path()>"},"bg-image":{"syntax":"none | <image>"}
1,"bg-layer":{"syntax":"<bg-image> || <bg-position> [ / <bg-size> ]? || <repeat-style> || <attachment> || <box> || <box>"},"bg-position":{"syntax":"[ [ 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":{"syntax":"[ <length-percentage> | auto ]{1,2} | cover | contain"},"blur()":{"syntax":"blur( <length> )"},"blend-mode":{"syntax":"normal | multiply | screen | overlay | darken | lighten | color-dodge | color-burn | hard-light | soft-light | difference | exclusion | hue | saturation | color | luminosity"},"box":{"syntax":"border-box | padding-box | content-box"},"brightness()":{"syntax":"brightness( <number-percentage> )"},"calc()":{"syntax":"calc( <calc-sum> )"},"calc-sum":{"syntax":"<calc-product> [ [ \'+\' | \'-\' ] <calc-product> ]*"},"calc-product":{"syntax":"<calc-value> [ \'*\' <calc-value> | \'/\' <number> ]*"},"calc-value":{"syntax":"<number> | <dimension> | <percentage> | ( <calc-sum> )"},"cf-final-image":{"syntax":"<image> | <color>"},"cf-mixing-image":{"syntax":"<percentage>? && <image>"},"circle()":{"syntax":"circle( [ <shape-radius> ]? [ at <position> ]? )"},"clamp()":{"syntax":"clamp( <calc-sum>#{3} )"},"class-selector":{"syntax":"\'.\' <ident-token>"},"clip-source":{"syntax":"<url>"},"color":{"syntax":"<rgb()> | <rgba()> | <hsl()> | <hsla()> | <hex-color> | <named-color> | currentcolor | <deprecated-system-color>"},"color-stop":{"syntax":"<color-stop-length> | <color-stop-angle>"},"color-stop-angle":{"syntax":"<angle-percentage>{1,2}"},"color-stop-length":{"syntax":"<length-percentage>{1,2}"},"color-stop-list":{"syntax":"[ <linear-color-stop> [, <linear-color-hint>]? ]# , <linear-color-stop>"},"combinator":{"syntax":"\'>\' | \'+\' | \'~\' | [ \'||\' ]"},"common-lig-values":{"syntax":"[ common-ligatures | no-common-ligatures ]"},"compat-auto":{"syntax":"searchfield | textarea | push-button | slider-horizontal | checkbox | radio | square-button | menulist | listbox | meter | progress-bar | button"},"composite-style":{"syntax":"clear | copy | source-over | source-in | source-out | source-atop | destination-over | destination-in | destination-out | destination-atop | xor"},"compositing-operator":{"syntax":"add | subtract | intersect | exclude"},"compound-selector":{"syntax":"[ <type-selector>? <subclass-selector>* [ <pseudo-element-selector> <pseudo-class-selector>* ]* ]!"},"compound-selector-list":{"syntax":"<compound-selector>#"},"complex-selector":{"syntax":"<compound-selector> [ <combinator>? <compound-selector> ]*"},"complex-selector-list":{"syntax":"<complex-selector>#"},"conic-gradient()":{"syntax":"conic-gradient( [ from <angle> ]? [ at <position> ]?, <angular-color-stop-list> )"},"contextual-alt-values":{"syntax":"[ contextual | no-contextual ]"},"content-distribution":{"syntax":"space-between | space-around | space-evenly | stretch"},"content-list":{"syntax":"[ <string> | contents | <image> | <quote> | <target> | <leader()> ]+"},"content-position":{"syntax":"center | start | end | flex-start | flex-end"},"content-replacement":{"syntax":"<image>"},"contrast()":{"syntax":"contrast( [ <number-percentage> ] )"},"counter()":{"syntax":"counter( <custom-ident>, <counter-style>? )"},"counter-style":{"syntax":"<counter-style-name> | symbols()"},"counter-style-name":{"syntax":"<custom-ident>"},"counters()":{"syntax":"counters( <custom-ident>, <string>, <counter-style>? )"},"cross-fade()":{"syntax":"cross-fade( <cf-mixing-image> , <cf-final-image>? )"},"cubic-bezier-timing-function":{"syntax":"ease | ease-in | ease-out | ease-in-out | cubic-bezier(<number [0,1]>, <number>, <number [0,1]>, <number>)"},"deprecated-system-color":{"syntax":"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":{"syntax":"[ discretionary-ligatures | no-discretionary-ligatures ]"}
1,"display-box":{"syntax":"contents | none"},"display-inside":{"syntax":"flow | flow-root | table | flex | grid | ruby"},"display-internal":{"syntax":"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":{"syntax":"inline-block | inline-list-item | inline-table | inline-flex | inline-grid"},"display-listitem":{"syntax":"<display-outside>? && [ flow | flow-root ]? && list-item"},"display-outside":{"syntax":"block | inline | run-in"},"drop-shadow()":{"syntax":"drop-shadow( <length>{2,3} <color>? )"},"east-asian-variant-values":{"syntax":"[ jis78 | jis83 | jis90 | jis04 | simplified | traditional ]"},"east-asian-width-values":{"syntax":"[ full-width | proportional-width ]"},"element()":{"syntax":"element( <id-selector> )"},"ellipse()":{"syntax":"ellipse( [ <shape-radius>{2} ]? [ at <position> ]? )"},"ending-shape":{"syntax":"circle | ellipse"},"env()":{"syntax":"env( <custom-ident> , <declaration-value>? )"},"explicit-track-list":{"syntax":"[ <line-names>? <track-size> ]+ <line-names>?"},"family-name":{"syntax":"<string> | <custom-ident>+"},"feature-tag-value":{"syntax":"<string> [ <integer> | on | off ]?"},"feature-type":{"syntax":"@stylistic | @historical-forms | @styleset | @character-variant | @swash | @ornaments | @annotation"},"feature-value-block":{"syntax":"<feature-type> \'{\' <feature-value-declaration-list> \'}\'"},"feature-value-block-list":{"syntax":"<feature-value-block>+"},"feature-value-declaration":{"syntax":"<custom-ident>: <integer>+;"},"feature-value-declaration-list":{"syntax":"<feature-value-declaration>"},"feature-value-name":{"syntax":"<custom-ident>"},"fill-rule":{"syntax":"nonzero | evenodd"},"filter-function":{"syntax":"<blur()> | <brightness()> | <contrast()> | <drop-shadow()> | <grayscale()> | <hue-rotate()> | <invert()> | <opacity()> | <saturate()> | <sepia()>"},"filter-function-list":{"syntax":"[ <filter-function> | <url> ]+"},"final-bg-layer":{"syntax":"<\'background-color\'> || <bg-image> || <bg-position> [ / <bg-size> ]? || <repeat-style> || <attachment> || <box> || <box>"},"fit-content()":{"syntax":"fit-content( [ <length> | <percentage> ] )"},"fixed-breadth":{"syntax":"<length-percentage>"},"fixed-repeat":{"syntax":"repeat( [ <positive-integer> ] , [ <line-names>? <fixed-size> ]+ <line-names>? )"},"fixed-size":{"syntax":"<fixed-breadth> | minmax( <fixed-breadth> , <track-breadth> ) | minmax( <inflexible-breadth> , <fixed-breadth> )"},"font-stretch-absolute":{"syntax":"normal | ultra-condensed | extra-condensed | condensed | semi-condensed | semi-expanded | expanded | extra-expanded | ultra-expanded | <percentage>"},"font-variant-css21":{"syntax":"[ normal | small-caps ]"},"font-weight-absolute":{"syntax":"normal | bold | <number [1,1000]>"},"frequency-percentage":{"syntax":"<frequency> | <percentage>"},"general-enclosed":{"syntax":"[ <function-token> <any-value> ) ] | ( <ident> <any-value> )"},"generic-family":{"syntax":"serif | sans-serif | cursive | fantasy | monospace"},"generic-name":{"syntax":"serif | sans-serif | cursive | fantasy | monospace"},"geometry-box":{"syntax":"<shape-box> | fill-box | stroke-box | view-box"},"gradient":{"syntax":"<linear-gradient()> | <repeating-linear-gradient()> | <radial-gradient()> | <repeating-radial-gradient()> | <conic-gradient()>"},"grayscale()":{"syntax":"grayscale( <number-percentage> )"},"grid-line":{"syntax":"auto | <custom-ident> | [ <integer> && <custom-ident>? ] | [ span && [ <integer> || <custom-ident> ] ]"},"historical-lig-values":{"syntax":"[ historical-ligatures | no-historical-ligatures ]"},"hsl()":{"syntax":"hsl( <hue> <percentage> <percentage> [ / <alpha-value> ]? ) | hsl( <hue>, <percentage>, <percentage>, <alpha-value>? )"},"hsla()":{"syntax":"hsla( <hue> <percentage> <percentage> [ / <alpha-value> ]? ) | hsla( <hue>, <percentage>, <percentage>, <alpha-value>? )"},"hue":{"syntax":"<number> | <angle>"},"hue-rotate()":{"syntax":"hue-rotate( <angle> )"},"id-selector":{"syntax":"<hash-token>"},"image":{"syntax":"<url> | <image()> | <image-set()> | <element()> | <paint()> | <cross-fade()> | <gradient>"},"image()":{"syntax":"image( <image-tags>? [ <image-src>? , <color>? ]! )"},"image-set()":{"syntax":"image-set( <image-set-option># )"},"image-set-option":{"syntax":"[ <image> | <string> ] <resolution>"},"image-src":{"syntax":"<url> | <string>"},"image-tags":{"syntax":"ltr | rtl"},"inflexible-breadth":{"syntax":"<length> | <percentage> | min-content | max-content | auto"},"inset()":{"syntax":"inset( <length-percentage>{1,4} [ round <\'border-radius\'> ]? )"},"invert()":{"syntax":"invert( <number-percentage> )"},"keyframes-name":{"syntax":"<custom-ident> | <string>"},"keyframe-block":{"syntax":"<keyframe-selector># {\\n <declaration-list>\\n}"},"keyframe-block-list":{"syntax":"<keyframe-block>+"},"keyframe-selector":{"syntax":"from | to | <percentage>"},"leader()":{"syntax":"leader( <leader-type> )"},"leader-type":{"syntax":"dotted | solid | space | <string>"},"length-percentage":{"syntax":"<length> | <percentage>"},"line-names":{"syntax":"\'[\' <custom-ident>* \']\'"},"line-name-list":{"syntax":"[ <line-names> | <name-repeat> ]+"},"line-style":{"syntax":"none | hidden | dotted | dashed | solid | double | groove | ridge | inset | outset"},"line-width":{"syntax":"<length> | thin | medium | thick"},"linear-color-hint":{"syntax":"<length-percentage>"},"linear-color-stop":{"syntax":"<color> <color-stop-length>?"},"linear-gradient()":{"syntax":"linear-gradient( [ <angle> | to <side-or-corner> ]? , <color-stop-list> )"}
1,"mask-layer":{"syntax":"<mask-reference> || <position> [ / <bg-size> ]? || <repeat-style> || <geometry-box> || [ <geometry-box> | no-clip ] || <compositing-operator> || <masking-mode>"},"mask-position":{"syntax":"[ <length-percentage> | left | center | right ] [ <length-percentage> | top | center | bottom ]?"},"mask-reference":{"syntax":"none | <image> | <mask-source>"},"mask-source":{"syntax":"<url>"},"masking-mode":{"syntax":"alpha | luminance | match-source"},"matrix()":{"syntax":"matrix( <number>#{6} )"},"matrix3d()":{"syntax":"matrix3d( <number>#{16} )"},"max()":{"syntax":"max( <calc-sum># )"},"media-and":{"syntax":"<media-in-parens> [ and <media-in-parens> ]+"},"media-condition":{"syntax":"<media-not> | <media-and> | <media-or> | <media-in-parens>"},"media-condition-without-or":{"syntax":"<media-not> | <media-and> | <media-in-parens>"},"media-feature":{"syntax":"( [ <mf-plain> | <mf-boolean> | <mf-range> ] )"},"media-in-parens":{"syntax":"( <media-condition> ) | <media-feature> | <general-enclosed>"},"media-not":{"syntax":"not <media-in-parens>"},"media-or":{"syntax":"<media-in-parens> [ or <media-in-parens> ]+"},"media-query":{"syntax":"<media-condition> | [ not | only ]? <media-type> [ and <media-condition-without-or> ]?"},"media-query-list":{"syntax":"<media-query>#"},"media-type":{"syntax":"<ident>"},"mf-boolean":{"syntax":"<mf-name>"},"mf-name":{"syntax":"<ident>"},"mf-plain":{"syntax":"<mf-name> : <mf-value>"},"mf-range":{"syntax":"<mf-name> [ \'<\' | \'>\' ]? \'=\'? <mf-value>\\n| <mf-value> [ \'<\' | \'>\' ]? \'=\'? <mf-name>\\n| <mf-value> \'<\' \'=\'? <mf-name> \'<\' \'=\'? <mf-value>\\n| <mf-value> \'>\' \'=\'? <mf-name> \'>\' \'=\'? <mf-value>"},"mf-value":{"syntax":"<number> | <dimension> | <ident> | <ratio>"},"min()":{"syntax":"min( <calc-sum># )"},"minmax()":{"syntax":"minmax( [ <length> | <percentage> | min-content | max-content | auto ] , [ <length> | <percentage> | <flex> | min-content | max-content | auto ] )"},"named-color":{"syntax":"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"},"namespace-prefix":{"syntax":"<ident>"},"ns-prefix":{"syntax":"[ <ident-token> | \'*\' ]? \'|\'"},"number-percentage":{"syntax":"<number> | <percentage>"},"numeric-figure-values":{"syntax":"[ lining-nums | oldstyle-nums ]"},"numeric-fraction-values":{"syntax":"[ diagonal-fractions | stacked-fractions ]"},"numeric-spacing-values":{"syntax":"[ proportional-nums | tabular-nums ]"},"nth":{"syntax":"<an-plus-b> | even | odd"},"opacity()":{"syntax":"opacity( [ <number-percentage> ] )"},"overflow-position":{"syntax":"unsafe | safe"},"outline-radius":{"syntax":"<length> | <percentage>"},"page-body":{"syntax":"<declaration>? [ ; <page-body> ]? | <page-margin-box> <page-body>"},"page-margin-box":{"syntax":"<page-margin-box-type> \'{\' <declaration-list> \'}\'"},"page-margin-box-type":{"syntax":"@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":{"syntax":"[ <page-selector># ]?"},"page-selector":{"syntax":"<pseudo-page>+ | <ident> <pseudo-page>*"},"path()":{"syntax":"path( [ <fill-rule>, ]? <string> )"},"paint()":{"syntax":"paint( <ident>, <declaration-value>? )"},"perspective()":{"syntax":"perspective( <length> )"},"polygon()":{"syntax":"polygon( <fill-rule>? , [ <length-percentage> <length-percentage> ]# )"},"position":{"syntax":"[ [ 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":{"syntax":"\':\' <ident-token> | \':\' <function-token> <any-value> \')\'"},"pseudo-element-selector":{"syntax":"\':\' <pseudo-class-selector>"},"pseudo-page":{"syntax":": [ left | right | first | blank ]"},"quote":{"syntax":"open-quote | close-quote | no-open-quote | no-close-quote"},"radial-gradient()":{"syntax":"radial-gradient( [ <ending-shape> || <size> ]? [ at <position> ]? , <color-stop-list> )"},"relative-selector":{"syntax":"<combinator>? <complex-selector>"},"relative-selector-list":{"syntax":"<relative-selector>#"},"relative-size":{"syntax":"larger | smaller"},"repeat-style":{"syntax":"repeat-x | repeat-y | [ repeat | space | round | no-repeat ]{1,2}"},"repeating-linear-gradient()":{"syntax":"repeating-linear-gradient( [ <angle> | to <side-or-corner> ]? , <color-stop-list> )"},"repeating-radial-gradient()":{"syntax":"repeating-radial-gradient( [ <ending-shape> || <size> ]? [ at <position> ]? , <color-stop-list> )"},"rgb()":{"syntax":"rgb( <percentage>{3} [ / <alpha-value> ]? ) | rgb( <number>{3} [ / <alpha-value> ]? ) | rgb( <percentage>#{3} , <alpha-value>? ) | rgb( <number>#{3} , <alpha-value>? )"},"rgba()":{"syntax":"rgba( <percentage>{3} [ / <alpha-value> ]? ) | rgba( <number>{3} [ / <alpha-value> ]? ) | rgba( <percentage>#{3} , <alpha-value>? ) | rgba( <number>#{3} , <alpha-value>? )"},"rotate()":{"syntax":"rotate( [ <angle> | <zero> ] )"},"rotate3d()":{"syntax":"rotate3d( <number> , <number> , <number> , [ <angle> | <zero> ] )"},"rotateX()":{"syntax":"rotateX( [ <angle> | <zero> ] )"},"rotateY()":{"syntax":"rotateY( [ <angle> | <zero> ] )"},"rotateZ()":{"syntax":"rotateZ( [ <angle> | <zero> ] )"},"saturate()":{"syntax":"saturate( <number-percentage> )"},"scale()":{"syntax":"scale( <number> , <number>? )"},"scale3d()":{"syntax":"scale3d( <number> , <number> , <number> )"},"scaleX()":{"syntax":"scaleX( <number> )"},"scaleY()":{"syntax":"scaleY( <number> )"},"scaleZ()":{"syntax":"scaleZ( <number> )"},"self-position":{"syntax":"center | start | end | self-start | self
1-end | flex-start | flex-end"},"shape-radius":{"syntax":"<length-percentage> | closest-side | farthest-side"},"skew()":{"syntax":"skew( [ <angle> | <zero> ] , [ <angle> | <zero> ]? )"},"skewX()":{"syntax":"skewX( [ <angle> | <zero> ] )"},"skewY()":{"syntax":"skewY( [ <angle> | <zero> ] )"},"sepia()":{"syntax":"sepia( <number-percentage> )"},"shadow":{"syntax":"inset? && <length>{2,4} && <color>?"},"shadow-t":{"syntax":"[ <length>{2,3} && <color>? ]"},"shape":{"syntax":"rect(<top>, <right>, <bottom>, <left>)"},"shape-box":{"syntax":"<box> | margin-box"},"side-or-corner":{"syntax":"[ left | right ] || [ top | bottom ]"},"single-animation":{"syntax":"<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":{"syntax":"normal | reverse | alternate | alternate-reverse"},"single-animation-fill-mode":{"syntax":"none | forwards | backwards | both"},"single-animation-iteration-count":{"syntax":"infinite | <number>"},"single-animation-play-state":{"syntax":"running | paused"},"single-transition":{"syntax":"[ none | <single-transition-property> ] || <time> || <timing-function> || <time>"},"single-transition-property":{"syntax":"all | <custom-ident>"},"size":{"syntax":"closest-side | farthest-side | closest-corner | farthest-corner | <length> | <length-percentage>{2}"},"step-position":{"syntax":"jump-start | jump-end | jump-none | jump-both | start | end"},"step-timing-function":{"syntax":"step-start | step-end | steps(<integer>[, <step-position>]?)"},"subclass-selector":{"syntax":"<id-selector> | <class-selector> | <attribute-selector> | <pseudo-class-selector>"},"supports-condition":{"syntax":"not <supports-in-parens> | <supports-in-parens> [ and <supports-in-parens> ]* | <supports-in-parens> [ or <supports-in-parens> ]*"},"supports-in-parens":{"syntax":"( <supports-condition> ) | <supports-feature> | <general-enclosed>"},"supports-feature":{"syntax":"<supports-decl> | <supports-selector-fn>"},"supports-decl":{"syntax":"( <declaration> )"},"supports-selector-fn":{"syntax":"selector( <complex-selector> )"},"symbol":{"syntax":"<string> | <image> | <custom-ident>"},"target":{"syntax":"<target-counter()> | <target-counters()> | <target-text()>"},"target-counter()":{"syntax":"target-counter( [ <string> | <url> ] , <custom-ident> , <counter-style>? )"},"target-counters()":{"syntax":"target-counters( [ <string> | <url> ] , <custom-ident> , <string> , <counter-style>? )"},"target-text()":{"syntax":"target-text( [ <string> | <url> ] , [ content | before | after | first-letter ]? )"},"time-percentage":{"syntax":"<time> | <percentage>"},"timing-function":{"syntax":"linear | <cubic-bezier-timing-function> | <step-timing-function>"},"track-breadth":{"syntax":"<length-percentage> | <flex> | min-content | max-content | auto"},"track-list":{"syntax":"[ <line-names>? [ <track-size> | <track-repeat> ] ]+ <line-names>?"},"track-repeat":{"syntax":"repeat( [ <positive-integer> ] , [ <line-names>? <track-size> ]+ <line-names>? )"},"track-size":{"syntax":"<track-breadth> | minmax( <inflexible-breadth> , <track-breadth> ) | fit-content( [ <length> | <percentage> ] )"},"transform-function":{"syntax":"<matrix()> | <translate()> | <translateX()> | <translateY()> | <scale()> | <scaleX()> | <scaleY()> | <rotate()> | <skew()> | <skewX()> | <skewY()> | <matrix3d()> | <translate3d()> | <translateZ()> | <scale3d()> | <scaleZ()> | <rotate3d()> | <rotateX()> | <rotateY()> | <rotateZ()> | <perspective()>"},"transform-list":{"syntax":"<transform-function>+"},"translate()":{"syntax":"translate( <length-percentage> , <length-percentage>? )"},"translate3d()":{"syntax":"translate3d( <length-percentage> , <length-percentage> , <length> )"},"translateX()":{"syntax":"translateX( <length-percentage> )"},"translateY()":{"syntax":"translateY( <length-percentage> )"},"translateZ()":{"syntax":"translateZ( <length> )"},"type-or-unit":{"syntax":"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":{"syntax":"<wq-name> | <ns-prefix>? \'*\'"},"var()":{"syntax":"var( <custom-property-name> , <declaration-value>? )"},"viewport-length":{"syntax":"auto | <length-percentage>"},"wq-name":{"syntax":"<ns-prefix>? <ident-token>"}}')},5953:(e,t,r)=>{var n=r(40363).TYPE,a=r(73924).mode,s=n.AtKeyword,i=n.Semicolon,o=n.LeftCurlyBracket,l=n.RightCurlyBracket;function c(e){return this.Raw(e,a.leftCurlyBracketOrSemicolon,!0)}function d(){for(var e,t=1;e=this.scanner.lookupType(t);t++){if(e===l)return!0;
1if(e===o||e===s)break}return!1}e.exports={name:"Atrule",structure:{name:String,prelude:["AtrulePrelude","Raw",null],block:["Block",null]},parse:function(){var e,t,r=this.scanner.tokenStart,n=null,a=null;switch(this.eat(s),t=(e=this.scanner.substrToCursor(r+1)).toLowerCase(),this.scanner.skipSC(),!1===this.scanner.eof&&this.scanner.tokenType!==o&&this.scanner.tokenType!==i&&(this.parseAtrulePrelude?"AtrulePrelude"===(n=this.parseWithFallback(this.AtrulePrelude.bind(this,e),c)).type&&null===n.children.head&&(n=null):n=c.call(this,this.scanner.tokenIndex),this.scanner.skipSC()),this.scanner.tokenType){case i:this.scanner.next();break;case o:a=this.atrule.hasOwnProperty(t)&&"function"==typeof this.atrule[t].block?this.atrule[t].block.call(this):this.Block(d.call(this))}return{type:"Atrule",loc:this.getLocation(r,this.scanner.tokenStart),name:e,prelude:n,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"}},6222:(e,t,r)=>{var n=r(8220);e.exports=function(e,t,r){var a=n("SyntaxError",e);return a.input=t,a.offset=r,a.rawMessage=e,a.message=a.rawMessage+"\n "+a.input+"\n--"+Array((a.offset||a.input.length)+1).join("-")+"^",a}},6662:(e,t,r)=>{var n=r(1830),a=n.isDigit,s=n.isHexDigit,i=n.isUppercaseLetter,o=n.isName,l=n.isWhiteSpace,c=n.isValidEscape;function d(e,t){return t<e.length?e.charCodeAt(t):0}function u(e,t,r){return 13===r&&10===d(e,t+1)?2:1}function p(e,t,r){var n=e.charCodeAt(t);return i(n)&&(n|=32),n===r}function h(e,t){for(;t<e.length&&a(e.charCodeAt(t));t++);return t}function g(e,t){if(s(d(e,(t+=2)-1))){for(var r=Math.min(e.length,t+5);t<r&&s(d(e,t));t++);var n=d(e,t);l(n)&&(t+=u(e,t,n))}return t}e.exports={consumeEscaped:g,consumeName:function(e,t){for(;t<e.length;t++){var r=e.charCodeAt(t);if(!o(r)){if(c(r,d(e,t+1))){t=g(e,t)-1;continue}break}}return t},consumeNumber:function(e,t){var r=e.charCodeAt(t);if((43===r||45===r)&&(r=e.charCodeAt(t+=1)),a(r)&&(t=h(e,t+1),r=e.charCodeAt(t)),46===r&&a(e.charCodeAt(t+1))&&(r=e.charCodeAt(t+=2),t=h(e,t)),p(e,t,101)){var n=0;(45===(r=e.charCodeAt(t+1))||43===r)&&(n=1,r=e.charCodeAt(t+2)),a(r)&&(t=h(e,t+1+n+1))}return t},consumeBadUrlRemnants:function(e,t){for(;t<e.length;t++){var r=e.charCodeAt(t);if(41===r){t++;break}c(r,d(e,t+1))&&(t=g(e,t))}return t},cmpChar:p,cmpStr:function(e,t,r,n){if(r-t!==n.length||t<0||r>e.length)return!1;for(var a=t;a<r;a++){var s=e.charCodeAt(a),o=n.charCodeAt(a-t);if(i(s)&&(s|=32),s!==o)return!1}return!0},getNewlineLength:u,findWhiteSpaceStart:function(e,t){for(;t>=0&&l(e.charCodeAt(t));t--);return t+1},findWhiteSpaceEnd:function(e,t){for(;t<e.length&&l(e.charCodeAt(t));t++);return t}}},6687:(e,t,r)=>{var n=r(40363).TYPE.Comma;e.exports={name:"SelectorList",structure:{children:[["Selector","Raw"]]}
1,parse:function(){for(var e=this.createList();!this.scanner.eof;){if(e.push(this.Selector()),this.scanner.tokenType===n){this.scanner.next();continue}break}return{type:"SelectorList",loc:this.getLocationFromList(e),children:e}},generate:function(e){this.children(e,function(){this.chunk(",")})},walkContext:"selector"}},6810:e=>{var t=Object.prototype.hasOwnProperty,r=function(){};function n(e){return"function"==typeof e?e:r}function a(e,t){return function(r,n,a){r.type===t&&e.call(this,r,n,a)}}function s(e,t){var r=e.fields.slice(),n=e.context,a="string"==typeof n;return t&&r.reverse(),function(e,s,i,o){var l;a&&(l=s[n],s[n]=e);for(var c=0;c<r.length;c++){var d=r[c],u=e[d.name];if(!d.nullable||u){if("list"===d.type){if(t?u.reduceRight(o,!1):u.reduce(o,!1))return!0}else if(i(u))return!0}}a&&(s[n]=l)}}function i(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,DeclarationList:e.DeclarationList}}}e.exports=function(e){var o=function(e){var r={};for(var n in e.node)if(t.call(e.node,n)){var a=e.node[n];if(!a.structure)throw Error("Missed `structure` field in `"+n+"` node type definition");r[n]=function(e,r){var n=r.structure,a=[];for(var s in n)if(!1!==t.call(n,s)){var i=n[s],o={name:s,type:!1,nullable:!1};Array.isArray(n[s])||(i=[n[s]]);for(var l=0;l<i.length;l++){var c=i[l];null===c?o.nullable=!0:"string"==typeof c?o.type="node":Array.isArray(c)&&(o.type="list")}o.type&&a.push(o)}return a.length?{context:r.walkContext,fields:a}:null}(0,a)}return r}(e),l={},c={},d=Symbol("break-walk"),u=Symbol("skip-node");for(var p in o)t.call(o,p)&&null!==o[p]&&(l[p]=s(o[p],!1),c[p]=s(o[p],!0));var h=i(l),g=i(c),m=function(e,t){function s(e,t,r){var n=p.call(y,e,t,r);return n===d||n!==u&&(!!(f.hasOwnProperty(e.type)&&f[e.type](e,y,s,i))||m.call(y,e,t,r)===d)}var i=(e,t,r,n)=>e||s(t,r,n),p=r,m=r,f=l,y={break:d,skip:u,root:e,stylesheet:null,atrule:null,atrulePrelude:null,rule:null,selector:null,block:null,declaration:null,function:null};if("function"==typeof t)p=t;else if(t&&(p=n(t.enter),m=n(t.leave),t.reverse&&(f=c),t.visit)){if(h.hasOwnProperty(t.visit))f=t.reverse?g[t.visit]:h[t.visit];else if(!o.hasOwnProperty(t.visit))throw Error("Bad value `"+t.visit+"` for `visit` option (should be: "+Object.keys(o).join(", ")+")");p=a(p,t.visit),m=a(m,t.visit)}if(p===r&&m===r)throw Error("Neither `enter` nor `leave` walker handler is set or both aren't a function");s(e)};return m.break=d,m.skip=u,m.find=function(e,t){var r=null;return m(e,function(e,n,a){if(t.call(this,e,n,a))return r=e,d}),r},m.findLast=function(e,t){var r=null;return m(e,{reverse:!0,enter:function(e,n,a){if(t.call(this,e,n,a))return r=e,d}}),r},m.findAll=function(e,t){var r=[];return m(e,function(e,n,a){t.call(this,e,n,a)&&r.push(e)}),r},m}},7287:e=>{var t=Object.prototype.hasOwnProperty,r=Object.create(null),n=Object.create(null);function a(e,t){return t=t||0,e.length-t>=2&&45===e.charCodeAt(t)&&45===e.charCodeAt(t+1)}function s(e,t){if(t=t||0,e.length-t>=3&&45===e.charCodeAt(t)&&45!==e.charCodeAt(t+1)){var r=e.indexOf("-",t+2);if(-1!==r)return e.substring(t,r+1)}return""}e.exports={keyword:function(e){if(t.call(r,e))return r[e];var n=e.toLowerCase();if(t.call(r,n))return r[e]=r[n];var i=a(n,0),o=i?"":s(n,0);return r[e]=Object.freeze({basename:n.substr(o.length),name:n,vendor:o,prefix:o,custom:i})},property:function(e){if(t.call(n,e))return n[e];var r=e,i=e[0];"/"===i?i="/"===e[1]?"//":"/":"_"!==i&&"*"!==i&&"$"!==i&&"#"!==i&&"+"!==i&&"&"!==i&&(i="");var o=a(r,i.length);if(!o&&(r=r.toLowerCase(),t.call(n,r)))return n[e]=n[r];var l=o?"":s(r,i.length),c=r.substr(0,i.length+l.length);return n[e]=Object.freeze({basename:r.substr(c.length),name:r.substr(i.length),hack:i,vendor:l,prefix:c,custom:o})},isCustomProperty:a,vendorPrefix:s}},8220:e=>{e.exports=function(e,t){var r=Object.create(SyntaxError.prototype),n=Error();return r.name=e,r.message=t,Object.defineProperty(r,"stack",{get:function(){return(n.stack||"").replace(/^(.+\n){1,3}/,e+": "+t+"\n")}}),r}},8662:(e,t,r)=>{var n=r(6662).consumeNumber,a=r(40363).TYPE.Percentage;e.exports={name:"Percentage",structure:{value:String},parse:function(){var e=this.scanner.tokenStart,t=n(this.scanner.source,e);return this.eat(a),{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("%")}}},8802:(e,t,r)=>{var n=r(94830);t.encode=function(e){var t,r="",a=e<0?(-e<<1)+1:(e<<1)+0;do t=31&a,(a>>>=5)>0&&(t|=32),r+=n.encode(t);while(a>0);return r},t.decode=function(e,t,r){var a,s,i,o,l=e.length,c=0,d=0;do{if(t>=l)throw Error("Expected more digits in base 64 VLQ value.");if(-1===(o=n.decode(e.charCodeAt(t++))))throw Error("Invalid base64 digit: "+e.charAt(t-1));i=!!(32&o),o&=31,c+=o<<d,d+=5}while(i);s=(a=c)>>1,r.value=(1&a)==1?-s:s,r.rest=t}},9874:(e,t,r)=>{var n=r(40363).TYPE,a=r(73924).mode,s=n.WhiteSpace,i=n.Comment,o=n.Semicolon;function l(e){return this.Raw(e,a.semicolonIncluded,!0)}e.exports={name:"DeclarationList",structure:{children:[["Declaration"]]}
1,parse:function(){for(var e=this.createList();!this.scanner.eof;)switch(this.scanner.tokenType){case s:case i:case o:this.scanner.next();break;default:e.push(this.parseWithFallback(this.Declaration,l))}return{type:"DeclarationList",loc:this.getLocationFromList(e),children:e}},generate:function(e){this.children(e,function(e){"Declaration"===e.type&&this.chunk(";")})}}},10089:(e,t,r)=>{var n=r(40363).TYPE,a=n.Ident,s=n.Function,i=n.Colon,o=n.RightParenthesis;e.exports={name:"PseudoClassSelector",structure:{name:String,children:[["Raw"],null]},parse:function(){var e,t,r=this.scanner.tokenStart,n=null;return this.eat(i),this.scanner.tokenType===s?(t=(e=this.consumeFunctionName()).toLowerCase(),this.pseudo.hasOwnProperty(t)?(this.scanner.skipSC(),n=this.pseudo[t].call(this),this.scanner.skipSC()):(n=this.createList()).push(this.Raw(this.scanner.tokenIndex,null,!1)),this.eat(o)):e=this.consume(a),{type:"PseudoClassSelector",loc:this.getLocation(r,this.scanner.tokenStart),name:e,children:n}},generate:function(e){this.chunk(":"),this.chunk(e.name),null!==e.children&&(this.chunk("("),this.children(e),this.chunk(")"))},walkContext:"function"}},10379:(e,t)=>{var r=/(\[[^\]]+\])/g,n=/(#[^\s\+>~\.\[:]+)/g,a=/(\.[^\s\+>~\.\[:]+)/g,s=/(::[^\s\+>~\.\[:]+|:first-line|:first-letter|:before|:after)/g,i=/(:[^\s\+>~\.\[:]+)/g,o=/([^\s\+>~\.\[:]+)/g,l=/:not\(([^\)]*)\)/g,c=/\{[^]*/gm,d=/[\*\s\+>~]/g,u=/[#\.]/g,p=function(e,t,r,n){var a=n.match(e);if(a)for(var s=0;s<a.length;s++)r[t]++,n=n.replace(a[s]," ");return n},h=function(e){var t=e.indexOf(",");-1!==t&&(e=e.substring(0,t));var h={a:0,b:0,c:0};return e=p(r,"b",h,e=(e=e.replace(l," $1 ")).replace(c," ")),e=p(n,"a",h,e),e=p(a,"b",h,e),e=p(s,"c",h,e),e=(e=(e=p(i,"b",h,e)).replace(d," ")).replace(u," "),p(o,"c",h,e),100*h.a+10*h.b+ +h.c},g={};t.calculateSpecificity=function(e){var t=g[e];return void 0===t&&(t=h(e),g[e]=t),t};var m={},f=null;t.isSelectorValid=function(e){var t=m[e];if(void 0===t){null==f&&(f=document.createElement("div"));try{f.querySelector(e),t=!0}catch(e){t=!1}m[e]=t}return t},t.validateSelector=function(e){if(!t.isSelectorValid(e)){var r=SyntaxError(e+" is not a valid selector");throw r.code="EBADSELECTOR",r}}},11088:(e,t,r)=>{var n=r(40363).TYPE.Ident;e.exports={name:"Combinator",structure:{name:String},parse:function(){var e=this.scanner.tokenStart;switch(this.scanner.source.charCodeAt(this.scanner.tokenStart)){case 62:case 43:case 126:this.scanner.next();break;case 47:this.scanner.next(),(this.scanner.tokenType!==n||!1===this.scanner.lookupValue(0,"deep"))&&this.error("Identifier `deep` is expected"),this.scanner.next(),this.scanner.isDelim(47)||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)}}},13014:(e,t,r)=>{"use strict";var n=r(62894),a=Array.prototype.forEach,s=Object.create,i=function(e,t){var r;for(r in e)t[r]=e[r]};e.exports=function(e){var t=s(null);return a.call(arguments,function(e){n(e)&&i(Object(e),t)}),t}},13018:(e,t,r)=>{e.exports={node:r(1666)}},13482:(e,t,r)=>{let n=r(8220),a=r(16380),s={offset:0,line:1,column:1};function i(e,t){let r=e&&e.loc&&e.loc[t];return r?"line"in r?o(r):r:null}function o({offset:e,line:t,column:r},n){let a={offset:e,line:t,column:r};if(n){let e=n.split(/\n|\r\n?|\f/);a.offset+=n.length,a.line+=e.length-1,a.column=1===e.length?a.column+n.length:e.pop().length+1}return a}e.exports={SyntaxReferenceError:function(e,t){let r=n("SyntaxReferenceError",e+(t?" `"+t+"`":""));return r.reference=t,r},SyntaxMatchError:function(e,t,r,l){let c=n("SyntaxMatchError",e),{css:d,mismatchOffset:u,mismatchLength:p,start:h,end:g}=function(e,t){let r,n,a=e.tokens,l=e.longestMatch,c=l<a.length&&a[l].node||null,d=c!==t?c:null,u=0,p=0,h=0,g="";for(let e=0;e<a.length;e++){let t=a[e].value;e===l&&(p=t.length,u=g.length),null!==d&&a[e].node===d&&(e<=l?h++:h=0),g+=t}return l===a.length||h>1?(r=i(d||t,"end")||o(s,g),n=o(r)):(r=i(d,"start")||o(i(t,"start")||s,g.slice(0,u)),n=i(d,"end")||o(r,g.substr(u,p))),{css:g,mismatchOffset:u,mismatchLength:p,start:r,end:n}}(l,r);return c.rawMessage=e,c.syntax=t?a(t):"<generic>",c.css=d,c.mismatchOffset=u,c.mismatchLength=p,c.message=e+"\n syntax: "+c.syntax+"\n value: "+(d||"<empty string>")+"\n --------"+Array(c.mismatchOffset+1).join("-")+"^",Object.assign(c,h),c.loc={source:r&&r.loc&&r.loc.source||"<unknown>",start:h,end:g},c}}},14945:(e,t,r)=>{var n=r(40363).isDigit,a=r(40363).TYPE,s=a.Number,i=a.Delim;function o(){this.scanner.skipWS();for(var e=this.consume(s),t=0;t<e.length;t++){var r=e.charCodeAt(t);n(r)||46===r||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}e.exports={name:"Ratio",structure:{left:String,right:String},parse:function(){var e,t=this.scanner.tokenStart,r=o.call(this);return this.scanner.skipWS(),this.scanner.isDelim(47)||this.error("Solidus is expected"),this.eat(i),e=o.call(this),{type:"Ratio",loc:this.getLocation(t,this.scanner.tokenStart),left:r,right:e}},generate:function(e){this.chunk(e.left),this.chunk("/"),this.chunk(e.right)}}},15212:(e,t,r)=>{var n=r(40363).TYPE,a=r(73924).mode,s=n.LeftCurlyBracket;function i(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}e.exports={name:"Rule",structure:{prelude:["SelectorList","Raw"],block:["Block"]},parse:function(){var e,t,r=this.scanner.tokenIndex,n=this.scanner.tokenStart;return e=this.parseRulePrelude?this.parseWithFallback(o,i):i.call(this,r),t=this.Block(!0),{t
1ype:"Rule",loc:this.getLocation(n,this.scanner.tokenStart),prelude:e,block:t}},generate:function(e){this.node(e.prelude),this.node(e.block)},walkContext:"rule"}},15506:(e,t,r)=>{var n=r(6662).consumeNumber,a=r(40363).TYPE.Dimension;e.exports={name:"Dimension",structure:{value:String,unit:String},parse:function(){var e=this.scanner.tokenStart,t=n(this.scanner.source,e);return this.eat(a),{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)}}},16380:e=>{function t(e){return e}e.exports=function(e,r){var n=t,a=!1,s=!1;return"function"==typeof r?n=r:r&&(a=!!r.forceBraces,s=!!r.compact,"function"==typeof r.decorate&&(n=r.decorate)),function e(t,r,n,a){var s,i,o;switch(t.type){case"Group":i=" "===t.combinator||a?t.combinator:" "+t.combinator+" ",o=t.terms.map(function(t){return e(t,r,n,a)}).join(i),(t.explicit||n)&&(o=(a||","===o[0]?"[":"[ ")+o+(a?"]":" ]")),s=o+(t.disallowEmpty?"!":"");break;case"Multiplier":return e(t.term,r,n,a)+r(0===t.min&&0===t.max?"*":0===t.min&&1===t.max?"?":1===t.min&&0===t.max?t.comma?"#":"+":1===t.min&&1===t.max?"":(t.comma?"#":"")+(t.min===t.max?"{"+t.min+"}":"{"+t.min+","+(0!==t.max?t.max:"")+"}"),t);case"Type":s="<"+t.name+(t.opts?r(function(e){if("Range"===e.type)return" ["+(null===e.min?"-â":e.min)+","+(null===e.max?"â":e.max)+"]";throw Error("Unknown node type `"+e.type+"`")}(t.opts),t.opts):"")+">";break;case"Property":s="<'"+t.name+"'>";break;case"Keyword":s=t.name;break;case"AtKeyword":s="@"+t.name;break;case"Function":s=t.name+"(";break;case"String":case"Token":s=t.value;break;case"Comma":s=",";break;default:throw Error("Unknown node type `"+t.type+"`")}return r(s,t)}(e,n,a,s)}},18457:e=>{"use strict";var t=String.prototype.indexOf;e.exports=function(e){return t.call(this,e,arguments[1])>-1}},19220:(e,t,r)=>{e.exports={getNode:r(56249)}},20325:e=>{"use strict";e.exports=function(){var e,t=Object.assign;return"function"==typeof t&&(t(e={foo:"raz"},{bar:"dwa"},{trzy:"trzy"}),e.foo+e.bar+e.trzy==="razdwatrzy")}},20601:(e,t,r)=>{"use strict";e.exports=r(35038)()?Object.keys:r(71486)},20980:(e,t,r)=>{e.exports=r(94128)},21121:(e,t,r)=>{var n=Object.prototype.hasOwnProperty,a=r(29696),s=a.MATCH,i=a.MISMATCH,o=a.DISALLOW_EMPTY,l=r(53712).TYPE,c="Match",d=0;function u(e){for(var t=null,r=null,n=e;null!==n;)r=n.prev,n.prev=t,t=n,n=r;return t}function p(e,t){if(e.length!==t.length)return!1;for(var r=0;r<e.length;r++){var n=e.charCodeAt(r);if(n>=65&&n<=90&&(n|=32),n!==t.charCodeAt(r))return!1}return!0}function h(e){return null===e||e.type===l.Comma||e.type===l.Function||e.type===l.LeftParenthesis||e.type===l.LeftSquareBracket||e.type===l.LeftCurlyBracket||e.type===l.Delim&&"?"!==e.value}function g(e){return null===e||e.type===l.RightParenthesis||e.type===l.RightSquareBracket||e.type===l.RightCurlyBracket||e.type===l.Delim}function m(e,t,r){function a(){do C=++_<e.length?e[_]:null;while(null!==C&&(C.type===l.WhiteSpace||C.type===l.Comment))}function u(t){var r=_+t;return r<e.length?e[r]:null}function m(e,t){return{nextState:e,matchStack:T,syntaxStack:v,thenStack:x,tokenIndex:_,prev:t}}function f(e){x={nextState:e,matchStack:T,syntaxStack:v,prev:x}}function y(){T={type:1,syntax:t.syntax,token:C,prev:T},a(),w=null,_>A&&(A=_)}function b(){T=2===T.type?T.prev:{type:3,syntax:v.syntax,token:T.token,prev:T},v=v.prev}var v=null,x=null,k=null,w=null,S=0,j=null,C=null,_=-1,A=0,T={type:0,syntax:null,token:null,prev:null};for(a();null===j&&++S<15e3;)switch(t.type){case"Match":if(null===x){if(null!==C&&(_!==e.length-1||"\\0"!==C.value&&"\\9"!==C.value)){t=i;break}j=c;break}if((t=x.nextState)===o)if(x.matchStack===T){t=i;break}else t=s;for(;x.syntaxStack!==v;)b();x=x.prev;break;case"Mismatch":if(null!==w&&!1!==w)(null===k||_>k.tokenIndex)&&(k=w,w=!1);else if(null===k){j="Mismatch";break}t=k.nextState,x=k.thenStack,v=k.syntaxStack,T=k.matchStack,C=(_=k.tokenIndex)<e.length?e[_]:null,k=k.prev;break;case"MatchGraph":t=t.match;break;case"If":t.else!==i&&(k=m(t.else,k)),t.then!==s&&f(t.then),t=t.match;break;case"MatchOnce":t={type:"MatchOnceBuffer",syntax:t,index:0,mask:0};break;case"MatchOnceBuffer":var P=t.syntax.terms;if(t.index===P.length){if(0===t.mask||t.syntax.all){t=i;break}t=s;break}if(t.mask===(1<<P.length)-1){t=s;break}for(;t.index<P.length;t.index++){var L=1<<t.index;if((t.mask&L)==0){k=m(t,k),f({type:"AddMatchOnce",syntax:t.syntax,mask:t.mask|L}),t=P[t.index++];break}}break;case"AddMatchOnce":t={type:"MatchOnceBuffer",syntax:t.syntax,index:0,mask:t.mask};break;case"Enum":if(null!==C){var D=C.value.toLowerCase();if(-1!==D.indexOf("\\")&&(D=D.replace(/\\[09].*$/,"")),n.call(t.map,D)){t=t.map[D];break}}t=i;break;case"Generic":var E=null!==v?v.opts:null,R=_+Math.floor(t.fn(C,u,E));if(!isNaN(R)&&R>_){for(;_<R;)y();t=s}else t=i;break;case"Type":case"Property":var z="Type"===t.type?"types":"properties",O=n.call(r,z)?r[z][t.name]:null;if(!O||!O.match)throw Error("Bad syntax reference: "+("Type"===t.type?"<"+t.name+">":"<'"+t.name+"'>"));if(!1!==w&&null!==C&&"Type"===t.type&&("custom-ident"===t.name&&C.type===l.Ident||"length"===t.name&&"0"===C.value)){null===w&&(w=m(t,k)),t=i;break}v={syntax:t.syntax,opts:t.syntax.opts||null!==v&&v.opts||null,prev:v},T={type:2,syntax:t.syntax,token:T.token,prev:T},t=O.match;break;case"Keyword":var D=t.name;if(null!==C){var N=C.value;if(-1!==N.indexOf("\\")&&(N=N.replace(/\\[09].*$/,"")),p(N,D)){y(),t=s;break}}t=i;break;case"AtKeyword":case"Function":if(null!==C&&p(C.value,t.name)){y(),t=s;break}t=i;break;case"Token":if(null!==C&&C.value===t.value){y(),t=s;break}t=i;break;case"Comma":null!==C&&C.type===l.Comma?h(T.token)?t=i:(y(),t=g(C)?i:s):t=h(T.token)||g(C)?s:i;break;case"String":for(var M="",R=_;R<e.length&&M.length<t.value.length;R++)M+=e[R].value;if(p(M,t.value)){for(;_<R;)y();t=s}else t=i;break;default:throw Error("Unknown node type: "+t.type)}switch(d+=S,j){case null:console.warn("[csstree-match] BREAK after 15000 iterations"),j="Maximum iteration number exceeded (please fill an issue on https://github.com/csstree/csstree/issues)",T=null;break;case c:for(;null!==v;)b();break;default:T=null}return{tokens:e,reason:j,iterations:S,match:T,longestMatch:A}}e.exports={matchAsList:function(e,t,r){var n=m(e,t,r||{});if(null!==n.match){var a=u(n.match).prev;
1for(n.match=[];null!==a;){switch(a.type){case 0:break;case 2:case 3:n.match.push({type:a.type,syntax:a.syntax});break;default:n.match.push({token:a.token.value,node:a.token.node})}a=a.prev}}return n},matchAsTree:function(e,t,r){var n=m(e,t,r||{});if(null===n.match)return n;var a=n.match,s=n.match={syntax:t.syntax||null,match:[]},i=[s];for(a=u(a).prev;null!==a;){switch(a.type){case 2:s.match.push(s={syntax:a.syntax,match:[]}),i.push(s);break;case 3:i.pop(),s=i[i.length-1];break;default:s.match.push({syntax:a.syntax||null,token:a.token.value,node:a.token.node})}a=a.prev}return n},getTotalIterationCount:function(){return d}}},22565:e=>{"use strict";var t="razdwatrzy";e.exports=function(){return"function"==typeof t.contains&&!0===t.contains("dwa")&&!1===t.contains("foo")}},22974:(e,t,r)=>{var n=r(40363).TYPE.CDO;e.exports={name:"CDO",structure:[],parse:function(){var e=this.scanner.tokenStart;return this.eat(n),{type:"CDO",loc:this.getLocation(e,this.scanner.tokenStart)}},generate:function(){this.chunk("\x3c!--")}}},23280:(e,t,r)=>{var n=r(40363).isHexDigit,a=r(40363).cmpChar,s=r(40363).TYPE,i=s.Ident,o=s.Delim,l=s.Number,c=s.Dimension;function d(e,t){return null!==e&&e.type===o&&e.value.charCodeAt(0)===t}function u(e,t){return e.value.charCodeAt(0)===t}function p(e,t,r){for(var a=t,s=0;a<e.value.length;a++){var i=e.value.charCodeAt(a);if(45===i&&r&&0!==s){if(p(e,t+s+1,!1)>0)return 6;return 0}if(!n(i)||++s>6)return 0}return s}function h(e,t,r){if(!e)return 0;for(;d(r(t),63);){if(++e>6)return 0;t++}return t}e.exports=function(e,t){var r=0;if(null===e||e.type!==i||!a(e.value,0,117)||null===(e=t(++r)))return 0;if(d(e,43))return null===(e=t(++r))?0:e.type===i?h(p(e,0,!0),++r,t):d(e,63)?h(1,++r,t):0;if(e.type===l){if(!u(e,43))return 0;var n=p(e,1,!0);return 0===n?0:null===(e=t(++r))?r:e.type===c||e.type===l?u(e,45)&&p(e,1,!1)?r+1:0:h(n,r,t)}return e.type===c?u(e,43)?h(p(e,1,!0),++r,t):0:0}},23413:(e,t,r)=>{e.exports={SyntaxError:r(6222),parse:r(72110),generate:r(16380),walk:r(82114)}},26784:e=>{e.exports={parse:function(){return this.createSingleNodeList(this.SelectorList())}}},27204:(e,t,r)=>{let n=r(30900),a=r(73946),s=r(5700),i=r(51736),o=/^\s*\|\s*/;function l(e,t){let r={};for(let t in e)r[t]=e[t].syntax||e[t];for(let n in t)n in e?t[n].syntax?r[n]=o.test(t[n].syntax)?r[n]+" "+t[n].syntax.trim():t[n].syntax:delete r[n]:t[n].syntax&&(r[n]=t[n].syntax.replace(o,""));return r}function c(e){let t={};for(let r in e)t[r]=e[r].syntax;return t}e.exports={types:l(s,i.syntaxes),atrules:function(e,t){let r={};for(let n in e){let a=t[n]&&t[n].descriptors||null;r[n]={prelude:n in t&&"prelude"in t[n]?t[n].prelude:e[n].prelude||null,descriptors:e[n].descriptors?l(e[n].descriptors,a||{}):a&&c(a)}}for(let n in t)hasOwnProperty.call(e,n)||(r[n]={prelude:t[n].prelude||null,descriptors:t[n].descriptors&&c(t[n].descriptors)});return r}(function(e){let t=Object.create(null);for(let r in e){let n=e[r],a=null;if(n.descriptors)for(let e in a=Object.create(null),n.descriptors)a[e]=n.descriptors[e].syntax;t[r.substr(1)]={prelude:n.syntax.trim().match(/^@\S+\s+([^;\{]*)/)[1].trim()||null,descriptors:a}}return t}(n),i.atrules),properties:l(a,i.properties)}},27278:(e,t,r)=>{var n=r(40363).TYPE.RightParenthesis;e.exports={name:"Function",structure:{name:String,children:[[]]},parse:function(e,t){var r,a=this.scanner.tokenStart,s=this.consumeFunctionName(),i=s.toLowerCase();return r=t.hasOwnProperty(i)?t[i].call(this,t):e.call(this,t),this.scanner.eof||this.eat(n),{type:"Function",loc:this.getLocation(a,this.scanner.tokenStart),name:s,children:r}},generate:function(e){this.chunk(e.name),this.chunk("("),this.children(e),this.chunk(")")},walkContext:"function"}},28503:e=>{"use strict";var t=void 0;e.exports=function(e){return e!==t&&null!==e}},28837:(e,t,r)=>{"use strict";e.exports=r(93898)()?globalThis:r(41313)},29130:(e,t,r)=>{var n=r(46135).x,a={Atrule:!0,Selector:!0,Declaration:!0};e.exports=function(e){var t=new n,r=1,s=0,i={line:1,column:0},o={line:0,column:0},l=!1,c={line:1,column:0},d={generated:c},u=e.node;e.node=function(e){if(e.loc&&e.loc.start&&a.hasOwnProperty(e.type)){var n=e.loc.start.line,p=e.loc.start.column-1;
1(o.line!==n||o.column!==p)&&(o.line=n,o.column=p,i.line=r,i.column=s,l&&(l=!1,(i.line!==c.line||i.column!==c.column)&&t.addMapping(d)),l=!0,t.addMapping({source:e.loc.source,original:o,generated:i}))}u.call(this,e),l&&a.hasOwnProperty(e.type)&&(c.line=r,c.column=s)};var p=e.chunk;e.chunk=function(e){for(var t=0;t<e.length;t++)10===e.charCodeAt(t)?(r++,s=0):s++;p(e)};var h=e.result;return e.result=function(){return l&&t.addMapping(d),{css:h(),map:t}},e}},29696:(e,t,r)=>{var n=r(72110),a={type:"Match"},s={type:"Mismatch"},i={type:"DisallowEmpty"};function o(e,t,r){return t===a&&r===s||e===a&&t===a&&r===a?e:("If"===e.type&&e.else===s&&t===a&&(t=e.then,e=e.match),{type:"If",match:e,then:t,else:r})}function l(e){return e.length>2&&40===e.charCodeAt(e.length-2)&&41===e.charCodeAt(e.length-1)}function c(e){return"Keyword"===e.type||"AtKeyword"===e.type||"Function"===e.type||"Type"===e.type&&l(e.name)}e.exports={MATCH:a,MISMATCH:s,DISALLOW_EMPTY:i,buildMatchGraph:function(e,t){return"string"==typeof e&&(e=n(e)),{type:"MatchGraph",match:function e(t){if("function"==typeof t)return{type:"Generic",fn:t};switch(t.type){case"Group":var r=function e(t,r,n){switch(t){case" ":for(var i=a,d=r.length-1;d>=0;d--){var u=r[d];i=o(u,i,s)}return i;case"|":for(var i=s,p=null,d=r.length-1;d>=0;d--){var u=r[d];if(c(u)&&(null===p&&d>0&&c(r[d-1])&&(i=o({type:"Enum",map:p=Object.create(null)},a,i)),null!==p)){var h=(l(u.name)?u.name.slice(0,-1):u.name).toLowerCase();if(h in p==!1){p[h]=u;continue}}p=null,i=o(u,a,i)}return i;case"&&":if(r.length>5)return{type:"MatchOnce",terms:r,all:!0};for(var i=s,d=r.length-1;d>=0;d--){var g,u=r[d];g=r.length>1?e(t,r.filter(function(e){return e!==u}),!1):a,i=o(u,g,i)}return i;case"||":if(r.length>5)return{type:"MatchOnce",terms:r,all:!1};for(var i=n?a:s,d=r.length-1;d>=0;d--){var g,u=r[d];g=r.length>1?e(t,r.filter(function(e){return e!==u}),!0):a,i=o(u,g,i)}return i}}(t.combinator,t.terms.map(e),!1);return t.disallowEmpty&&(r=o(r,i,s)),r;case"Multiplier":var n=a,d=e(t.term);if(0===t.max)d=o(d,i,s),(n=o(d,null,s)).then=o(a,a,n),t.comma&&(n.then.else=o({type:"Comma",syntax:t},n,s));else for(var u=t.min||1;u<=t.max;u++)t.comma&&n!==a&&(n=o({type:"Comma",syntax:t},n,s)),n=o(d,o(a,a,n),s);if(0===t.min)n=o(a,a,n);else for(var u=0;u<t.min-1;u++)t.comma&&n!==a&&(n=o({type:"Comma",syntax:t},n,s)),n=o(d,n,s);return n;case"Type":case"Property":return{type:t.type,name:t.name,syntax:t};case"Keyword":return{type:t.type,name:t.name.toLowerCase(),syntax:t};case"AtKeyword":return{type:t.type,name:"@"+t.name.toLowerCase(),syntax:t};case"Function":return{type:t.type,name:t.name.toLowerCase()+"(",syntax:t};case"String":if(3===t.value.length)return{type:"Token",value:t.value.charAt(1),syntax:t};return{type:t.type,value:t.value.substr(1,t.value.length-2).replace(/\\'/g,"'"),syntax:t};case"Token":return{type:t.type,value:t.value,syntax:t};case"Comma":return{type:t.type,syntax:t};default:throw Error("Unknown node type:",t.type)}}(e),syntax:t||null,source:e}}}},30145:e=>{"use strict";e.exports=function(e){return!!e&&("symbol"==typeof e||!!e.constructor&&"Symbol"===e.constructor.name&&"Symbol"===e[e.constructor.toStringTag])}},30268:(e,t,r)=>{"use strict";var n=r(67719),a=r(77814),s=r(72324),i=r(98811),o=r(44876).methods.emit,l=Object.defineProperty,c=Object.prototype.hasOwnProperty,d=Object.getOwnPropertyDescriptor;e.exports=function(e,t){var r,u,p,h;return(s(e)&&s(t),h=arguments[2],void 0===h&&(h="emit"),u={close:function(){a.call(r,t)}},c.call(e,"__eePipes__"))?(r=e.__eePipes__).push(t):(l(e,"__eePipes__",i("c",r=[t])),(p=d(e,h))?(delete p.get,delete p.set):p=i("c",void 0),p.value=function(){var e,t,a=n(r);for(o.apply(this,arguments),e=0;t=a[e];++e)o.apply(t,arguments)},l(e,h,p)),u}},30900:e=>{"use strict";e.exports=JSON.parse('{"@charset":{"syntax":"@charset \\"<charset>\\";","groups":["CSS Charsets"],"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/@charset"},"@counter-style":{"syntax":"@counter-style <counter-style-name> {\\n [ system: <counter-system>; ] ||\\n [ symbols: <counter-symbols>; ] ||\\n [ additive-symbols: <additive-symbols>; ] ||\\n [ negative: <negative-symbol>; ] ||\\n [ prefix: <prefix>; ] ||\\n [ suffix: <suffix>; ] ||\\n [ range: <range>; ] ||\\n [ pad: <padding>; ] ||\\n [ speak-as: <speak-as>; ] ||\\n [ fallback: <counter-style-name>; ]\\n}","interfaces":["CSSCounterStyleRule"],"groups":["CSS Counter Styles"],"descriptors":{"additive-symbols":{"syntax":"[ <integer> && <symbol> ]#","media":"all","initial":"n/a (required)","percentages":"no","computed":"asSpecified","order":"orderOfAppearance","status":"standard"},"fallback":{"syntax":"<counter-style-name>","media":"all","initial":"decimal","percentages":"no","computed":"asSpecified","order":"uniqueOrder","status":"standard"},"negative":{"syntax":"<symbol> <symbol>?","media":"all","initial":"\\"-\\" hyphen-minus","percentages":"no","computed":"asSpecified","order":"orderOfAppearance","status":"standard"},"pad":{"syntax":"<integer> && <symbol>","media":"all","initial":"0 \\"\\"","percentages":"no","computed":"asSpecified","order":"uniqueOrder","status":"standard"},"prefix":{"syntax":"<symbol>","media":"all","initial":"\\"\\"","percentages":"no","computed":"asSpecified","order":"uniqueOrder","status":"standard"},"range":{"syntax":"[ [ <integer> | infinite ]{2} ]# | auto","media":"all","initial":"auto","percentages":"no","computed":"asSpecified","order":"orderOfAppearance","status":"standard"},"speak-as":{"syntax":"auto | bullets | numbers | words | spell-out | <counter-style-name>","media":"all","initial":"auto","percentages":"no","computed":"asSpecified","order":"uniqueOrder","status":"standard"},"suffix":{"syntax":"<symbol>","media":"all","initial":"\\". \\"","percentages":"no","computed":"asSpecified","order":"uniqueOrder","status":"standard"},"symbols":{"syntax":"<symbol>+","media":"all","initial":"n/a (required)","percentages":"no","computed":"asSpecified","order":"orderOfAppearance","status":"standard"},"system":{"syntax":"cyclic | numeric | alphabetic | symbolic | additive | [ fixed <integer>? ] | [ extends <counter-style-name> ]","media":"all","initial":"symbolic","percentages":"no","computed":"asSpecified","order":"uniqueOrder","status":"standard"}},"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/@counter-style"},"@document":{"syntax":"@document [ <url> | url-prefix(<string>) | domain(<string>) | media-document(<string>) | regexp(<string>) ]# {\\n <group-rule-body>\\n}","interfaces":["CSSGroupingRule","CSSConditionRule"],"groups":["CSS Conditional Rules"],"status":"nonstandard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/@document"},"@font-face":{"syntax":"@font-face {\\n [ font-family: <family-name>; ] ||\\n [ src: <src>; ] ||\\n [ unicode-range: <unicode-range>; ] ||\\n [ font-variant: <font-variant>; ] ||\\n [ font-feature-settings: <font-feature-settings>; ] ||\\n [ font-variation-settings: <font-variation-settings>; ] ||\\n [ font-stretch: <font-stretch>;
1 ] ||\\n [ font-weight: <font-weight>; ] ||\\n [ font-style: <font-style>; ]\\n}","interfaces":["CSSFontFaceRule"],"groups":["CSS Fonts"],"descriptors":{"font-display":{"syntax":"[ auto | block | swap | fallback | optional ]","media":"visual","percentages":"no","initial":"auto","computed":"asSpecified","order":"uniqueOrder","status":"experimental"},"font-family":{"syntax":"<family-name>","media":"all","initial":"n/a (required)","percentages":"no","computed":"asSpecified","order":"uniqueOrder","status":"standard"},"font-feature-settings":{"syntax":"normal | <feature-tag-value>#","media":"all","initial":"normal","percentages":"no","computed":"asSpecified","order":"orderOfAppearance","status":"standard"},"font-variation-settings":{"syntax":"normal | [ <string> <number> ]#","media":"all","initial":"normal","percentages":"no","computed":"asSpecified","order":"orderOfAppearance","status":"standard"},"font-stretch":{"syntax":"<font-stretch-absolute>{1,2}","media":"all","initial":"normal","percentages":"no","computed":"asSpecified","order":"uniqueOrder","status":"standard"},"font-style":{"syntax":"normal | italic | oblique <angle>{0,2}","media":"all","initial":"normal","percentages":"no","computed":"asSpecified","order":"uniqueOrder","status":"standard"},"font-weight":{"syntax":"<font-weight-absolute>{1,2}","media":"all","initial":"normal","percentages":"no","computed":"asSpecified","order":"uniqueOrder","status":"standard"},"font-variant":{"syntax":"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 ]","media":"all","initial":"normal","percentages":"no","computed":"asSpecified","order":"orderOfAppearance","status":"standard"},"src":{"syntax":"[ <url> [ format( <string># ) ]? | local( <family-name> ) ]#","media":"all","initial":"n/a (required)","percentages":"no","computed":"asSpecified","order":"orderOfAppearance","status":"standard"},"unicode-range":{"syntax":"<unicode-range>#","media":"all","initial":"U+0-10FFFF","percentages":"no","computed":"asSpecified","order":"orderOfAppearance","status":"standard"}},"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/@font-face"},"@font-feature-values":{"syntax":"@font-feature-values <family-name># {\\n <feature-value-block-list>\\n}","interfaces":["CSSFontFeatureValuesRule"],"groups":["CSS Fonts"],"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/@font-feature-values"},"@import":{"syntax":"@import [ <string> | <url> ] [ <media-query-list> ]?;","groups":["Media Queries"],"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/@import"},"@keyframes":{"syntax":"@keyframes <keyframes-name> {\\n <keyframe-block-list>\\n}","interfaces":["CSSKeyframeRule","CSSKeyframesRule"],"groups":["CSS Animations"],"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/@keyframes"},"@media":{"syntax":"@media <media-query-list> {\\n <group-rule-body>\\n}","interfaces":["CSSGroupingRule","CSSConditionRule","CSSMediaRule","CSSCustomMediaRule"],"groups":["CSS Conditional Rules","Media Queries"],"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/@media"},"@namespace":{"syntax":"@namespace <namespace-prefix>? [ <string> | <url> ];","groups":["CSS Namespaces"],"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/@namespace"},"@page":{"syntax":"@page <page-selector-list> {\\n <page-body>\\n}","interfaces":["CSSPageRule"],"groups":["CSS Pages"],"descriptors":{"bleed":{"syntax":"auto | <length>","media":["visual","paged"],"initial":"auto","percentages":"no","computed":"asSpecified","order":"uniqueOrder","status":"standard"},"marks":{"syntax":"none | [ crop || cross ]","media":["visual","paged"],"initial":"none","percentages":"no","computed":"asSpecified","order":"orderOfAppearance","status":"standard"},"size":{"syntax":"<length>{1,2} | auto | [ <page-size> || [ portrait | landscape ] ]","media":["visual","paged"],"initial":"auto","percentages":"no","computed":"asSpecifiedRelativeToAbsoluteLengths","order":"orderOfAppearance","status":"standard"}},"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/@page"},"@property":{"syntax":"@property <custom-property-name> {\\n <declaration-list>\\n}","interfaces":["CSS","CSSPropertyRule"],"groups":["CSS Houdini"],"descriptors":{"syntax":{"syntax":"<string>","media":"all","percentages":"no","initial":"n/a (required)","computed":"asSpecified","order":"uniqueOrder","status":"experimental"},"inherits":{"syntax":"true | false","media":"all","percentages":"no","initial":"auto","computed":"asSpecified","order":"uniqueOrder","status":"experimental"},"initial-value":{"syntax":"<string>","media":"all","initial":"n/a (required)","percentages":"no","computed":"asSpecified","order":"uniqueOrder","status":"experimental"}},"status":"experimental","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/@property"},"@supports":{"syntax":"@supports <supports-condition> {\\n <group-rule-body>\\n}","interfaces":["CSSGroupingRule","CSSConditionRule","CSSSupportsRule"],"groups":["CSS Conditional Rules"],"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/@supports"}
1,"@viewport":{"syntax":"@viewport {\\n <group-rule-body>\\n}","interfaces":["CSSViewportRule"],"groups":["CSS Device Adaptation"],"descriptors":{"height":{"syntax":"<viewport-length>{1,2}","media":["visual","continuous"],"initial":["min-height","max-height"],"percentages":["min-height","max-height"],"computed":["min-height","max-height"],"order":"orderOfAppearance","status":"standard"},"max-height":{"syntax":"<viewport-length>","media":["visual","continuous"],"initial":"auto","percentages":"referToHeightOfInitialViewport","computed":"lengthAbsolutePercentageAsSpecifiedOtherwiseAuto","order":"uniqueOrder","status":"standard"},"max-width":{"syntax":"<viewport-length>","media":["visual","continuous"],"initial":"auto","percentages":"referToWidthOfInitialViewport","computed":"lengthAbsolutePercentageAsSpecifiedOtherwiseAuto","order":"uniqueOrder","status":"standard"},"max-zoom":{"syntax":"auto | <number> | <percentage>","media":["visual","continuous"],"initial":"auto","percentages":"the zoom factor itself","computed":"autoNonNegativeOrPercentage","order":"uniqueOrder","status":"standard"},"min-height":{"syntax":"<viewport-length>","media":["visual","continuous"],"initial":"auto","percentages":"referToHeightOfInitialViewport","computed":"lengthAbsolutePercentageAsSpecifiedOtherwiseAuto","order":"uniqueOrder","status":"standard"},"min-width":{"syntax":"<viewport-length>","media":["visual","continuous"],"initial":"auto","percentages":"referToWidthOfInitialViewport","computed":"lengthAbsolutePercentageAsSpecifiedOtherwiseAuto","order":"uniqueOrder","status":"standard"},"min-zoom":{"syntax":"auto | <number> | <percentage>","media":["visual","continuous"],"initial":"auto","percentages":"the zoom factor itself","computed":"autoNonNegativeOrPercentage","order":"uniqueOrder","status":"standard"},"orientation":{"syntax":"auto | portrait | landscape","media":["visual","continuous"],"initial":"auto","percentages":"referToSizeOfBoundingBox","computed":"asSpecified","order":"uniqueOrder","status":"standard"},"user-zoom":{"syntax":"zoom | fixed","media":["visual","continuous"],"initial":"zoom","percentages":"referToSizeOfBoundingBox","computed":"asSpecified","order":"uniqueOrder","status":"standard"},"viewport-fit":{"syntax":"auto | contain | cover","media":["visual","continuous"],"initial":"auto","percentages":"no","computed":"asSpecified","order":"uniqueOrder","status":"standard"},"width":{"syntax":"<viewport-length>{1,2}","media":["visual","continuous"],"initial":["min-width","max-width"],"percentages":["min-width","max-width"],"computed":["min-width","max-width"],"order":"orderOfAppearance","status":"standard"},"zoom":{"syntax":"auto | <number> | <percentage>","media":["visual","continuous"],"initial":"auto","percentages":"the zoom factor itself","computed":"autoNonNegativeOrPercentage","order":"uniqueOrder","status":"standard"}},"status":"standard","mdn_url":"https://developer.mozilla.org/docs/Web/CSS/@viewport"}}')},31862:(e,t,r)=>{"use strict";var n=r(62894),a={function:!0,object:!0};e.exports=function(e){return n(e)&&a[typeof e]||!1}},32879:(e,t,r)=>{var n=r(40363).TYPE,a=r(73924).mode,s=n.Comma,i=n.WhiteSpace;
1e.exports=function(){var e=this.createList();if(this.scanner.skipSC(),e.push(this.Identifier()),this.scanner.skipSC(),this.scanner.tokenType===s){e.push(this.Operator());let t=this.scanner.tokenIndex,r=this.parseCustomProperty?this.Value(null):this.Raw(this.scanner.tokenIndex,a.exclamationMarkOrSemicolon,!1);if("Value"===r.type&&r.children.isEmpty()){for(let e=t-this.scanner.tokenIndex;e<=0;e++)if(this.scanner.lookupType(e)===i){r.children.appendData({type:"WhiteSpace",loc:null,value:" "});break}}e.push(r)}return e}},34072:(e,t,r)=>{e.exports={AtrulePrelude:r(19220),Selector:r(81729),Value:r(90357)}},35038:e=>{"use strict";e.exports=function(){try{return Object.keys("primitive"),!0}catch(e){return!1}}},36637:e=>{function t(e){function t(e){return null!==e&&("Type"===e.type||"Property"===e.type||"Keyword"===e.type)}var r=null;return null!==this.matched&&function n(a){if(Array.isArray(a.match)){for(var s=0;s<a.match.length;s++)if(n(a.match[s]))return t(a.syntax)&&r.unshift(a.syntax),!0}else if(a.node===e)return r=t(a.syntax)?[a.syntax]:[],
1!0;return!1}(this.matched),r}function r(e,r,n){var a=t.call(e,r);return null!==a&&a.some(n)}e.exports={getTrace:t,isType:function(e,t){return r(this,e,function(e){return"Type"===e.type&&e.name===t})},isProperty:function(e,t){return r(this,e,function(e){return"Property"===e.type&&e.name===t})},isKeyword:function(e){return r(this,e,function(e){return"Keyword"===e.type})}}},38341:(e,t,r)=>{e.exports=r(48024)},38709:(e,t,r)=>{e.exports=r(72155)},40233:(e,t,r)=>{var n=r(40363),a=n.isIdentifierStart,s=n.isHexDigit,i=n.isDigit,o=n.cmpStr,l=n.consumeNumber,c=n.TYPE,d=r(49717),u=r(23280),p=["unset","initial","inherit"],h=["calc(","-moz-calc(","-webkit-calc("];function g(e,t){return t<e.length?e.charCodeAt(t):0}function m(e,t){return o(e,0,e.length,t)}function f(e,t){for(var r=0;r<t.length;r++)if(m(e,t[r]))return!0;return!1}function y(e,t){return t===e.length-2&&92===e.charCodeAt(t)&&i(e.charCodeAt(t+1))}function b(e,t,r){if(e&&"Range"===e.type){var n=Number(void 0!==r&&r!==t.length?t.substr(0,r):t);if(isNaN(n)||null!==e.min&&n<e.min||null!==e.max&&n>e.max)return!0}return!1}function v(e,t){var r=e.index,n=0;do if(n++,e.balance<=r)break;while(e=t(n));return n}function x(e){return function(t,r,n){return null===t?0:t.type===c.Function&&f(t.value,h)?v(t,r):e(t,r,n)}}function k(e){return function(t){return+(null!==t&&t.type===e)}}function w(e){return function(t,r,n){if(null===t||t.type!==c.Dimension)return 0;var a=l(t.value,0);if(null!==e){var s=t.value.indexOf("\\",a),i=-1!==s&&y(t.value,s)?t.value.substring(a,s):t.value.substr(a);if(!1===e.hasOwnProperty(i.toLowerCase()))return 0}return+!b(n,t.value,a)}}function S(e){return"function"!=typeof e&&(e=function(){return 0}),function(t,r,n){return null!==t&&t.type===c.Number&&0===Number(t.value)?1:e(t,r,n)}}e.exports={"ident-token":k(c.Ident),"function-token":k(c.Function),"at-keyword-token":k(c.AtKeyword),"hash-token":k(c.Hash),"string-token":k(c.String),"bad-string-token":k(c.BadString),"url-token":k(c.Url),"bad-url-token":k(c.BadUrl),"delim-token":k(c.Delim),"number-token":k(c.Number),"percentage-token":k(c.Percentage),"dimension-token":k(c.Dimension),"whitespace-token":k(c.WhiteSpace),"CDO-token":k(c.CDO),"CDC-token":k(c.CDC),"colon-token":k(c.Colon),"semicolon-token":k(c.Semicolon),"comma-token":k(c.Comma),"[-token":k(c.LeftSquareBracket),"]-token":k(c.RightSquareBracket),"(-token":k(c.LeftParenthesis),")-token":k(c.RightParenthesis),"{-token":k(c.LeftCurlyBracket),"}-token":k(c.RightCurlyBracket),string:k(c.String),ident:k(c.Ident),"custom-ident":function(e){if(null===e||e.type!==c.Ident)return 0;var t=e.value.toLowerCase();return f(t,p)||m(t,"default")?0:1},"custom-property-name":function(e){return+(null!==e&&e.type===c.Ident&&45===g(e.value,0)&&45===g(e.value,1))},"hex-color":function(e){if(null===e||e.type!==c.Hash)return 0;var t=e.value.length;if(4!==t&&5!==t&&7!==t&&9!==t)return 0;for(var r=1;r<t;r++)if(!s(e.value.charCodeAt(r)))return 0;return 1},"id-selector":function(e){return null!==e&&e.type===c.Hash&&a(g(e.value,1),g(e.value,2),g(e.value,3))?1:0},"an-plus-b":d,urange:u,"declaration-value":function(e,t){if(!e)return 0;var r=0,n=0,a=e.index;e:do{switch(e.type){case c.BadString:case c.BadUrl:break e;case c.RightCurlyBracket:case c.RightParenthesis:case c.RightSquareBracket:if(e.balance>e.index||e.balance<a)break e;n--;break;case c.Semicolon:if(0===n)break e;break;case c.Delim:if("!"===e.value&&0===n)break e;break;case c.Function:case c.LeftParenthesis:case c.LeftSquareBracket:case c.LeftCurlyBracket:n++}if(r++,e.balance<=a)break}while(e=t(r));return r},"any-value":function(e,t){if(!e)return 0;var r=e.index,n=0;e:do{switch(e.type){case c.BadString:case c.BadUrl:break e;case c.RightCurlyBracket:case c.RightParenthesis:case c.RightSquareBracket:if(e.balance>e.index||e.balance<r)break e}if(n++,e.balance<=r)break}while(e=t(n));return n},dimension:x(w(null)),angle:x(w({deg:!0,grad:!0,rad:!0,turn:!0})),decibel:x(w({db:!0})),frequency:x(w({hz:!0,khz:!0})),flex:x(w({fr:!0})),length:x(S(w({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}))),resolution:x(w({dpi:!0,dpcm:!0,dppx:!0,x:!0})),semitones:x(w({st:!0})),time:x(w({s:!0,ms:!0})),percentage:x(function(e,t,r){return null===e||e.type!==c.Percentage||b(r,e.value,e.value.length-1)?0:1}),zero:S(),number:x(function(e,t,r){if(null===e)return 0;var n=l(e.value,0);return n!==e.value.length&&!y(e.value,n)||b(r,e.value,n)?0:1}),integer:x(function(e,t,r){if(null===e||e.type!==c.Number)return 0;for(var n=+(43===e.value.charCodeAt(0)||45===e.value.charCodeAt(0));n<e.value.length;n++)if(!i(e.value.charCodeAt(n)))return 0;return+!b(r,e.value,n)}),"-ms-legacy-expression":function(e){return e+="(",function(t,r){return null!==t&&m(t.value,e)?v(t,r):0}}("expression")}},40363:(e,t,r)=>{var n=r(75884),a=r(65888),s=r(53712),i=s.TYPE,o=r(1830),l=o.isNewline,c=o.isName,d=o.isValidEscape,u=o.isNumberStart,p=o.isIdentifierStart,h=o.charCo
1deCategory,g=o.isBOM,m=r(6662),f=m.cmpStr,y=m.getNewlineLength,b=m.findWhiteSpaceEnd,v=m.consumeEscaped,x=m.consumeName,k=m.consumeNumber,w=m.consumeBadUrlRemnants;function S(e,t){function r(t){return t<m?e.charCodeAt(t):0}function s(){if(p(r(A=k(e,A)),r(A+1),r(A+2))){E=i.Dimension,A=x(e,A);return}if(37===r(A)){E=i.Percentage,A++;return}E=i.Number}function o(){let t=A;if(A=x(e,A),f(e,t,A,"url")&&40===r(A)){if(34===r(A=b(e,A+1))||39===r(A)){E=i.Function,A=t+4;return}!function(){for(E=i.Url,A=b(e,A);A<e.length;A++){var t=e.charCodeAt(A);switch(h(t)){case 41:A++;return;case h.Eof:return;case h.WhiteSpace:if(41===r(A=b(e,A))||A>=e.length){A<e.length&&A++;return}A=w(e,A),E=i.BadUrl;return;case 34:case 39:case 40:case h.NonPrintable:A=w(e,A),E=i.BadUrl;return;case 92:if(d(t,r(A+1))){A=v(e,A)-1;break}A=w(e,A),E=i.BadUrl;return}}}();return}if(40===r(A)){E=i.Function,A++;return}E=i.Ident}t||(t=new n);for(var m=(e=String(e||"")).length,S=a(t.offsetAndType,m+1),j=a(t.balance,m+1),C=0,_=g(r(0)),A=_,T=0,P=0,L=0;A<m;){var D=e.charCodeAt(A),E=0;switch(j[C]=m,h(D)){case h.WhiteSpace:E=i.WhiteSpace,A=b(e,A+1);break;case 34:case 39:!function(t){for(t||(t=r(A++)),E=i.String;A<e.length;A++){var n=e.charCodeAt(A);switch(h(n)){case t:A++;return;case h.Eof:return;case h.WhiteSpace:if(l(n)){A+=y(e,A,n),E=i.BadString;return}break;case 92:if(A===e.length-1)break;var a=r(A+1);l(a)?A+=y(e,A+1,a):d(n,a)&&(A=v(e,A)-1)}}}();break;case 35:c(r(A+1))||d(r(A+1),r(A+2))?(E=i.Hash,A=x(e,A+1)):(E=i.Delim,A++);break;case 40:E=i.LeftParenthesis,A++;break;case 41:E=i.RightParenthesis,A++;break;case 43:case 46:u(D,r(A+1),r(A+2))?s():(E=i.Delim,A++);break;case 44:E=i.Comma,A++;break;case 45:u(D,r(A+1),r(A+2))?s():45===r(A+1)&&62===r(A+2)?(E=i.CDC,A+=3):p(D,r(A+1),r(A+2))?o():(E=i.Delim,A++);break;case 47:42===r(A+1)?(E=i.Comment,1===(A=e.indexOf("*/",A+2)+2)&&(A=e.length)):(E=i.Delim,A++);break;case 58:E=i.Colon,A++;break;case 59:E=i.Semicolon,A++;break;case 60:33===r(A+1)&&45===r(A+2)&&45===r(A+3)?(E=i.CDO,A+=4):(E=i.Delim,A++);break;case 64:p(r(A+1),r(A+2),r(A+3))?(E=i.AtKeyword,A=x(e,A+1)):(E=i.Delim,A++);break;case 91:E=i.LeftSquareBracket,A++;break;case 92:d(D,r(A+1))?o():(E=i.Delim,A++);break;case 93:E=i.RightSquareBracket,A++;break;case 123:E=i.LeftCurlyBracket,A++;break;case 125:E=i.RightCurlyBracket,A++;break;case h.Digit:s();break;case h.NameStart:o();break;case h.Eof:break;default:E=i.Delim,A++}switch(E){case T:for(T=(P=j[L=0xffffff&P])>>24,j[C]=L,j[L++]=C;L<C;L++)j[L]===m&&(j[L]=C);break;case i.LeftParenthesis:case i.Function:j[C]=P,P=(T=i.RightParenthesis)<<24|C;break;case i.LeftSquareBracket:j[C]=P,P=(T=i.RightSquareBracket)<<24|C;break;case i.LeftCurlyBracket:j[C]=P,P=(T=i.RightCurlyBracket)<<24|C}S[C++]=E<<24|A}for(S[C]=i.EOF<<24|A,j[C]=m,j[m]=m;0!==P;)P=j[L=0xffffff&P],j[L]=m;return t.source=e,t.firstCharOffset=_,t.offsetAndType=S,t.tokenCount=C,t.balance=j,t.reset(),t.next(),t}Object.keys(s).forEach(function(e){S[e]=s[e]}),Object.keys(o).forEach(function(e){S[e]=o[e]}),Object.keys(m).forEach(function(e){S[e]=m[e]}),e.exports=S},41313:e=>{var t=function(){if("object"==typeof self&&self)return self;if("object"==typeof window&&window)return window;throw Error("Unable to resolve global `this`")};e.exports=function(){if(this)return this;try{Object.defineProperty(Object.prototype,"__global__",{get:function(){return this},configurable:!0})}catch(e){return t()}try{if(!__global__)return t();return __global__}finally{delete Object.prototype.__global__}}()},42236:(e,t,r)=>{var n=r(40363).TYPE,a=n.WhiteSpace,s=n.Comment;
1e.exports=function(e){var t=this.createList(),r=null,n={recognizer:e,space:null,ignoreWS:!1,ignoreWSAfter:!1};for(this.scanner.skipSC();!this.scanner.eof;){switch(this.scanner.tokenType){case s:this.scanner.next();continue;case a:n.ignoreWS?this.scanner.next():n.space=this.WhiteSpace();continue}if(void 0===(r=e.getNode.call(this,n)))break;null!==n.space&&(t.push(n.space),n.space=null),t.push(r),n.ignoreWSAfter?(n.ignoreWSAfter=!1,n.ignoreWS=!0):n.ignoreWS=!1}return t}},42347:(e,t,r)=>{var n=r(40363).TYPE.WhiteSpace,a=Object.freeze({type:"WhiteSpace",loc:null,value:" "});e.exports={name:"WhiteSpace",structure:{value:String},parse:function(){return this.eat(n),a},generate:function(e){this.chunk(e.value)}}},42804:e=>{e.exports={name:"Nth",structure:{nth:["AnPlusB","Identifier"],selector:["SelectorList",null]},parse:function(e){this.scanner.skipSC();var t,r=this.scanner.tokenStart,n=r,a=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(),a=this.SelectorList(),this.needPositions&&(n=this.getLastListNode(a.children).loc.end.offset)):this.needPositions&&(n=t.loc.end.offset),{type:"Nth",loc:this.getLocation(r,n),nth:t,selector:a}},generate:function(e){this.node(e.nth),null!==e.selector&&(this.chunk(" of "),this.node(e.selector))}}},42811:(e,t,r)=>{var n=r(40363).TYPE,a=n.WhiteSpace,s=n.Comment,i=n.Ident,o=n.Function,l=n.Colon,c=n.LeftParenthesis;function d(){return this.createSingleNodeList(this.Raw(this.scanner.tokenIndex,null,!1))}function u(){return(this.scanner.skipSC(),this.scanner.tokenType===i&&this.lookupNonWSType(1)===l)?this.createSingleNodeList(this.Declaration()):p.call(this)}
1function p(){var e,t=this.createList(),r=null;this.scanner.skipSC();e:for(;!this.scanner.eof;){switch(this.scanner.tokenType){case a:r=this.WhiteSpace();continue;case s:this.scanner.next();continue;case o:e=this.Function(d,this.scope.AtrulePrelude);break;case i:e=this.Identifier();break;case c:e=this.Parentheses(u,this.scope.AtrulePrelude);break;default:break e}null!==r&&(t.push(r),r=null),t.push(e)}return t}e.exports={parse:{prelude:function(){var e=p.call(this);return null===this.getFirstListNode(e)&&this.error("Condition is expected"),e},block:function(){return this.Block(!1)}}}},42938:(e,t,r)=>{"use strict";var n=r(70879);e.exports=function(e){if(!n(e))return!1;try{if(!e.constructor)return!1;return e.constructor.prototype===e}catch(e){return!1}}},44337:(e,t,r)=>{var n=r(40363).TYPE,a=n.Ident,s=n.Function,i=n.Colon,o=n.RightParenthesis;e.exports={name:"PseudoElementSelector",structure:{name:String,children:[["Raw"],null]},parse:function(){var e,t,r=this.scanner.tokenStart,n=null;return this.eat(i),this.eat(i),this.scanner.tokenType===s?(t=(e=this.consumeFunctionName()).toLowerCase(),this.pseudo.hasOwnProperty(t)?(this.scanner.skipSC(),n=this.pseudo[t].call(this),this.scanner.skipSC()):(n=this.createList(
1)).push(this.Raw(this.scanner.tokenIndex,null,!1)),this.eat(o)):e=this.consume(a),{type:"PseudoElementSelector",loc:this.getLocation(r,this.scanner.tokenStart),name:e,children:n}},generate:function(e){this.chunk("::"),this.chunk(e.name),null!==e.children&&(this.chunk("("),this.children(e),this.chunk(")"))},walkContext:"function"}},44473:(e,t,r)=>{var n=r(69683),a=Object.prototype.hasOwnProperty;function s(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&e>=0}function i(e){return!!e&&s(e.offset)&&s(e.line)&&s(e.column)}e.exports={getStructureFromConfig:function(e){var t={};if(e.node){for(var r in e.node)if(a.call(e.node,r)){var s=e.node[r];if(s.structure)t[r]=function(e,t){var r=t.structure,s={type:String,loc:!0},o={type:'"'+e+'"'};for(var l in r)if(!1!==a.call(r,l)){for(var c=[],d=s[l]=Array.isArray(r[l])?r[l].slice():[r[l]],u=0;u<d.length;u++){var p=d[u];if(p===String||p===Boolean)c.push(p.name);else if(null===p)c.push("null");else if("string"==typeof p)c.push("<"+p+">");else if(Array.isArray(p))c.push("List");else throw Error("Wrong value `"+p+"` in `"+e+"."+l+"` structure definition")}o[l]=c.join(" | ")}return{docs:o,check:function(t,r){if(!t||t.constructor!==Object)return r(t,"Type of node should be an Object");for(var o in t){var l=!0;if(!1!==a.call(t,o)){if("type"===o)t.type!==e&&r(t,"Wrong node type `"+t.type+"`, expected `"+e+"`");else if("loc"===o){if(null===t.loc)continue;if(t.loc&&t.loc.constructor===Object)if("string"!=typeof t.loc.source)o+=".source";else if(i(t.loc.start))if(i(t.loc.end))continue;else o+=".end";else o+=".start";l=!1}else if(s.hasOwnProperty(o))for(var c=0,l=!1;!l&&c<s[o].length;c++){var d=s[o][c];switch(d){case String:l="string"==typeof t[o];break;case Boolean:l="boolean"==typeof t[o];break;case null:l=null===t[o];break;default:"string"==typeof d?l=t[o]&&t[o].type===d:Array.isArray(d)&&(l=t[o]instanceof n)}}else r(t,"Unknown field `"+o+"` for "+e+" node type");l||r(t,"Bad value for `"+e+"."+o+"`")}}for(var o in s)a.call(s,o)&&!1===a.call(t,o)&&r(t,"Field `"+e+"."+o+"` is missed")}}}(r,s);else throw Error("Missed `structure` field in `"+r+"` node type definition")}}return t}}},44736:(e,t,r)=>{var n=r(69683);e.exports=function(e){return{fromPlainObject:function(t){return e(t,{enter:function(e){e.children&&e.children instanceof n==!1&&(e.children=new n().fromArray(e.children))}}),t},toPlainObject:function(t){return e(t,{leave:function(e){e.children&&e.children instanceof n&&(e.children=e.children.toArray())}}),t}}}},44876:(e,t,r)=>{"use strict";var n,a,s,i,o,l,c,d=r(98811),u=r(88827),p=Function.prototype.apply,h=Function.prototype.call,g=Object.create,m=Object.defineProperty,f=Object.defineProperties,y=Object.prototype.hasOwnProperty,b={configurable:!0,enumerable:!1,writable:!0};n=function(e,t){var r;return u(t),y.call(this,"__ee__")?r=this.__ee__:(r=b.value=g(null),m(this,"__ee__",b),b.value=null),r[e]?"object"==typeof r[e]?r[e].push(t):r[e]=[r[e],t]:r[e]=t,this},a=function(e,t){var r,a;return u(t),a=this,n.call(this,e,r=function(){s.call(a,e,r),p.call(t,this,arguments)}),r.__eeOnceListener__=t,this},o={on:n,once:a,off:s=function(e,t){var r,n,a,s;if(u(t),!y.call(this,"__ee__")||!(r=this.__ee__)[e])return this;if("object"==typeof(n=r[e]))for(s=0;a=n[s];++s)(a===t||a.__eeOnceListener__===t)&&(2===n.length?r[e]=n[+!s]:n.splice(s,1));else(n===t||n.__eeOnceListener__===t)&&delete r[e];return this},emit:i=function(e){var t,r,n,a,s;if(y.call(this,"__ee__")&&(a=this.__ee__[e]))if("object"==typeof a){for(t=1,r=arguments.length,s=Array(r-1);t<r;++t)s[t-1]=arguments[t];for(t=0,a=a.slice();n=a[t];++t)p.call(n,this,s)}else switch(arguments.length){case 1:h.call(a,this);break;case 2:h.call(a,this,arguments[1]);break;case 3:h.call(a,this,arguments[1],arguments[2]);break;default:for(t=1,r=arguments.length,s=Array(r-1);t<r;++t)s[t-1]=arguments[t];p.call(a,this,s)}}},c=f({},l={on:d(n),once:d(a),off:d(s),emit:d(i)}),e.exports=t=function(e){return null==e?g(c):f(Object(e),l)},t.methods=o},45027:(e,t,r)=>{"use strict";var n=r(98811),a=Object.defineProperty,s=Object.prototype,i=(0,Object.create)(null);e.exports=function(e){for(var t,r,o=0;i[e+(o||"")];)++o;return i[e+=o||""]=!0,a(s,t="@@"+e,n.gs(null,function(e){r||(r=!0,a(this,t,n(e)),r=!1)})),t}},45432:e=>{"use strict";e.exports=function(){var e=Math.sign;return"function"==typeof e&&1===e(10)&&-1===e(-20)}},46135:(e,t,r)=>
1{var n=r(8802),a=r(86137),s=r(66351).C,i=r(93476).P;function o(e){e||(e={}),this._file=a.getArg(e,"file",null),this._sourceRoot=a.getArg(e,"sourceRoot",null),this._skipValidation=a.getArg(e,"skipValidation",!1),this._sources=new s,this._names=new s,this._mappings=new i,this._sourcesContents=null}o.prototype._version=3,o.fromSourceMap=function(e){var t=e.sourceRoot,r=new o({file:e.file,sourceRoot:t});return e.eachMapping(function(e){var n={generated:{line:e.generatedLine,column:e.generatedColumn}};null!=e.source&&(n.source=e.source,null!=t&&(n.source=a.relative(t,n.source)),n.original={line:e.originalLine,column:e.originalColumn},null!=e.name&&(n.name=e.name)),r.addMapping(n)}),e.sources.forEach(function(n){var s=n;null!==t&&(s=a.relative(t,n)),r._sources.has(s)||r._sources.add(s);var i=e.sourceContentFor(n);null!=i&&r.setSourceContent(n,i)}),r},o.prototype.addMapping=function(e){var t=a.getArg(e,"generated"),r=a.getArg(e,"original",null),n=a.getArg(e,"source",null),s=a.getArg(e,"name",null);this._skipValidation||this._validateMapping(t,r,n,s),null!=n&&(n=String(n),this._sources.has(n)||this._sources.add(n)),null!=s&&(s=String(s),this._names.has(s)||this._names.add(s)),this._mappings.add({generatedLine:t.line,generatedColumn:t.column,originalLine:null!=r&&r.line,originalColumn:null!=r&&r.column,source:n,name:s})},o.prototype.setSourceContent=function(e,t){var r=e;null!=this._sourceRoot&&(r=a.relative(this._sourceRoot,r)),null!=t?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[a.toSetString(r)]=t):this._sourcesContents&&(delete this._sourcesContents[a.toSetString(r)],0===Object.keys(this._sourcesContents).length&&(this._sourcesContents=null))},o.prototype.applySourceMap=function(e,t,r){var n=t;if(null==t){if(null==e.file)throw Error('SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map\'s "file" property. Both were omitted.');n=e.file}var i=this._sourceRoot;null!=i&&(n=a.relative(i,n));var o=new s,l=new s;this._mappings.unsortedForEach(function(t){if(t.source===n&&null!=t.originalLine){var s=e.originalPositionFor({line:t.originalLine,column:t.originalColumn});null!=s.source&&(t.source=s.source,null!=r&&(t.source=a.join(r,t.source)),null!=i&&(t.source=a.relative(i,t.source)),t.originalLine=s.line,t.originalColumn=s.column,null!=s.name&&(t.name=s.name))}var c=t.source;null==c||o.has(c)||o.add(c);var d=t.name;null==d||l.has(d)||l.add(d)},this),this._sources=o,this._names=l,e.sources.forEach(function(t){var n=e.sourceContentFor(t);null!=n&&(null!=r&&(t=a.join(r,t)),null!=i&&(t=a.relative(i,t)),this.setSourceContent(t,n))},this)},o.prototype._validateMapping=function(e,t,r,n){if(t&&"number"!=typeof t.line&&"number"!=typeof t.column)throw Error("original.line and original.column are not numbers -- you probably meant to omit the original mapping entirely and only map the generated position. If so, pass null for the original mapping instead of an object with empty or null values.");if(!e||!("line"in e)||!("column"in e)||!(e.line>0)||!(e.column>=0)||t||r||n){if(!e||!("line"in e)||!("column"in e)||!t||!("line"in t)||!("column"in t)||!(e.line>0)||!(e.column>=0)||!(t.line>0)||!(t.column>=0)||!r)throw Error("Invalid mapping: "+JSON.stringify({generated:e,source:r,original:t,name:n}))}},o.prototype._serializeMappings=function(){for(var e,t,r,s,i=0,o=1,l=0,c=0,d=0,u=0,p="",h=this._mappings.toArray(),g=0,m=h.length;g<m;g++){if(t=h[g],e="",t.generatedLine!==o)for(i=0;t.generatedLine!==o;)e+=";",o++;else if(g>0){if(!a.compareByGeneratedPositionsInflated(t,h[g-1]))continue;e+=","}e+=n.encode(t.generatedColumn-i),i=t.generatedColumn,null!=t.source&&(s=this._sources.indexOf(t.source),e+=n.encode(s-u),u=s,e+=n.encode(t.originalLine-1-c),c=t.originalLine-1,e+=n.encode(t.originalColumn-l),l=t.originalColumn,null!=t.name&&(r=this._names.indexOf(t.name),e+=n.encode(r-d),d=r)),p+=e}return p},o.prototype._generateSourcesContent=function(e,t){return e.map(function(e){if(!this._sourcesContents)return null;null!=t&&(e=a.relative(t,e));var r=a.toSetString(e);return Object.prototype.hasOwnProperty.call(this._sourcesContents,r)?this._sourcesContents[r]:null},this)}
1,o.prototype.toJSON=function(){var e={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return null!=this._file&&(e.file=this._file),null!=this._sourceRoot&&(e.sourceRoot=this._sourceRoot),this._sourcesContents&&(e.sourcesContent=this._generateSourcesContent(e.sources,e.sourceRoot)),e},o.prototype.toString=function(){return JSON.stringify(this.toJSON())},t.x=o},46611:(e,t,r)=>{var n=r(40363).TYPE.Comment;e.exports={name:"Comment",structure:{value:String},parse:function(){var e=this.scanner.tokenStart,t=this.scanner.tokenEnd;return this.eat(n),t-e+2>=2&&42===this.scanner.source.charCodeAt(t-2)&&47===this.scanner.source.charCodeAt(t-1)&&(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("*/")}}},47527:(e,t,r)=>{var n=r(40363).TYPE.String;e.exports={name:"String",structure:{value:String},parse:function(){return{type:"String",loc:this.getLocation(this.scanner.tokenStart,this.scanner.tokenEnd),value:this.consume(n)}},generate:function(e){this.chunk(e.value)}}},47808:(e,t,r)=>{var n=r(40363).TYPE,a=n.Ident,s=n.Number,i=n.Dimension,o=n.LeftParenthesis,l=n.RightParenthesis,c=n.Colon,d=n.Delim;e.exports={name:"MediaFeature",structure:{name:String,value:["Identifier","Number","Dimension","Ratio",null]},parse:function(){var e,t=this.scanner.tokenStart,r=null;if(this.eat(o),this.scanner.skipSC(),e=this.consume(a),this.scanner.skipSC(),this.scanner.tokenType!==l){switch(this.eat(c),this.scanner.skipSC(),this.scanner.tokenType){case s:r=this.lookupNonWSType(1)===d?this.Ratio():this.Number();break;case i:r=this.Dimension();break;case a:r=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:r}},generate:function(e){this.chunk("("),this.chunk(e.name),null!==e.value&&(this.chunk(":"),this.node(e.value)),this.chunk(")")}}},47821:(e,t,r)=>{"use strict";var n=r(68402),a=Math.max;e.exports=function(e){return a(0,n(e))}},48024:e=>{e.exports={parse:function(){return this.createSingleNodeList(this.Nth(!0))}}},48529:(e,t,r)=>{var n=r(40363).TYPE.Ident;e.exports={name:"Identifier",structure:{name:String},parse:function(){return{type:"Identifier",loc:this.getLocation(this.scanner.tokenStart,this.scanner.tokenEnd),name:this.consume(n)}},generate:function(e){this.chunk(e.name)}}},48605:(e,t,r)=>{"use strict";var n=r(98811),a=r(28837).Symbol;e.exports=function(e){return Object.defineProperties(e,{hasInstance:n("",a&&a.hasInstance||e("hasInstance")),isConcatSpreadable:n("",a&&a.isConcatSpreadable||e("isConcatSpreadable")),iterator:n("",a&&a.iterator||e("iterator")),match:n("",a&&a.match||e("match")),replace:n("",a&&a.replace||e("replace")),search:n("",a&&a.search||e("search")),species:n("",a&&a.species||e("species")),split:n("",a&&a.split||e("split")),toPrimitive:n("",a&&a.toPrimitive||e("toPrimitive")),toStringTag:n("",a&&a.toStringTag||e("toStringTag")),unscopables:n("",a&&a.unscopables||e("unscopables"))})}},48852:e=>{e.exports={parse:function(){return this.createSingleNodeList(this.Identifier())}}},49717:(e,t,r)=>{var n=r(40363).isDigit,a=r(40363).cmpChar,s=r(40363).TYPE,i=s.Delim,o=s.WhiteSpace,l=s.Comment,c=s.Ident,d=s.Number,u=s.Dimension;function p(e,t){return null!==e&&e.type===i&&e.value.charCodeAt(0)===t}function h(e,t,r){for(;null!==e&&(e.type===o||e.type===l);)e=r(++t);return t}function g(e,t,r,a){if(!e)return 0;var s=e.value.charCodeAt(t);if(43===s||45===s){if(r)return 0;t++}for(;t<e.value.length;t++)if(!n(e.value.charCodeAt(t)))return 0;return a+1}function m(e,t,r){var n=!1,a=h(e,t,r);if(null===(e=r(a)))return t;if(e.type!==d){if(!(p(e,43)||p(e,45)))return t;else if(n=!0,a=h(r(++a),a,r),null===(e=r(a))&&e.type!==d)return 0}if(!n){var s=e.value.charCodeAt(0);if(43!==s&&45!==s)return 0}return g(e,+!n,n,a)}e.exports=function(e,t){var r=0;if(!e)return 0;if(e.type===d)return g(e,0,!1,r);if(e.type===c&&45===e.value.charCodeAt(0)){if(!a(e.value,1,110))return 0;switch(e.value.length){case 2:return m(t(++r),r,t);case 3:if(45!==e.value.charCodeAt(2))break;return r=h(t(++r),r,t),g(e=t(r),0,!0,r);default:if(45!==e.value.charCodeAt(2))break;return g(e,3,!0,r)}}else if(e.type===c||p(e,43)&&t(r+1).type===c){if(e.type!==c&&(e=t(++r)),null===e||!a(e.value,0,110))return 0;switch(e.value.length){case 1:return m(t(++r),r,t);case 2:if(45!==e.value.charCodeAt(1))break;return r=h(t(++r),r,t),g(e=t(r),0,!0,r);default:if(45!==e.value.charCodeAt(1))break;return g(e,2,!0,r)}}else if(e.type===u){for(var s=e.value.charCodeAt(0),i=+(43===s||45===s),o=i;o<e.value.length&&n(e.value.charCodeAt(o));o++);return o!==i&&a(e.value,o,110)?o+1===e.value.length?m(t(++r),r,t):45!==e.value.charCodeAt(o+1)?0:o+2===e.value.length?(r=h(t(++r),r,t),g(e=t(r),0,!0,r)):g(e,o+2,!0,r):0}return 0}},49843:(e,t,r)=>{"use strict";e.exports=r(45432)()?Math.sign:r(64748)},51736:e=>{"use strict";e.exports=JSON.parse('{"atrules":{"charset":{"prelude":"<string>"}
1,"font-face":{"descriptors":{"unicode-range":{"comment":"replaces <unicode-range>, an old production name","syntax":"<urange>#"}}}},"properties":{"-moz-background-clip":{"comment":"deprecated syntax in old Firefox, https://developer.mozilla.org/en/docs/Web/CSS/background-clip","syntax":"padding | border"},"-moz-border-radius-bottomleft":{"comment":"https://developer.mozilla.org/en-US/docs/Web/CSS/border-bottom-left-radius","syntax":"<\'border-bottom-left-radius\'>"},"-moz-border-radius-bottomright":{"comment":"https://developer.mozilla.org/en-US/docs/Web/CSS/border-bottom-right-radius","syntax":"<\'border-bottom-right-radius\'>"},"-moz-border-radius-topleft":{"comment":"https://developer.mozilla.org/en-US/docs/Web/CSS/border-top-left-radius","syntax":"<\'border-top-left-radius\'>"},"-moz-border-radius-topright":{"comment":"https://developer.mozilla.org/en-US/docs/Web/CSS/border-bottom-right-radius","syntax":"<\'border-bottom-right-radius\'>"},"-moz-control-character-visibility":{"comment":"firefox specific keywords, https://bugzilla.mozilla.org/show_bug.cgi?id=947588","syntax":"visible | hidden"},"-moz-osx-font-smoothing":{"comment":"misssed old syntax https://developer.mozilla.org/en-US/docs/Web/CSS/font-smooth","syntax":"auto | grayscale"},"-moz-user-select":{"comment":"https://developer.mozilla.org/en-US/docs/Web/CSS/user-select","syntax":"none | text | all | -moz-none"},"-ms-flex-align":{"comment":"misssed old syntax implemented in IE, https://www.w3.org/TR/2012/WD-css3-flexbox-20120322/#flex-align","syntax":"start | end | center | baseline | stretch"},"-ms-flex-item-align":{"comment":"misssed old syntax implemented in IE, https://www.w3.org/TR/2012/WD-css3-flexbox-20120322/#flex-align","syntax":"auto | start | end | center | baseline | stretch"},"-ms-flex-line-pack":{"comment":"misssed old syntax implemented in IE, https://www.w3.org/TR/2012/WD-css3-flexbox-20120322/#flex-line-pack","syntax":"start | end | center | justify | distribute | stretch"},"-ms-flex-negative":{"comment":"misssed old syntax implemented in IE; TODO: find references for comfirmation","syntax":"<\'flex-shrink\'>"},"-ms-flex-pack":{"comment":"misssed old syntax implemented in IE, https://www.w3.org/TR/2012/WD-css3-flexbox-20120322/#flex-pack","syntax":"start | end | center | justify | distribute"},"-ms-flex-order":{"comment":"misssed old syntax implemented in IE; https://msdn.microsoft.com/en-us/library/jj127303(v=vs.85).aspx","syntax":"<integer>"},"-ms-flex-positive":{"comment":"misssed old syntax implemented in IE; TODO: find references for comfirmation","syntax":"<\'flex-grow\'>"},"-ms-flex-preferred-size":{"comment":"misssed old syntax implemented in IE; TODO: find references for comfirmation","syntax":"<\'flex-basis\'>"},"-ms-interpolation-mode":{"comment":"https://msdn.microsoft.com/en-us/library/ff521095(v=vs.85).aspx","syntax":"nearest-neighbor | bicubic"},"-ms-grid-column-align":{"comment":"add this property first since it uses as fallback for flexbox, https://msdn.microsoft.com/en-us/library/windows/apps/hh466338.aspx","syntax":"start | end | center | stretch"},"-ms-grid-row-align":{"comment":"add this property first since it uses as fallback for flexbox, https://msdn.microsoft.com/en-us/library/windows/apps/hh466348.aspx","syntax":"start | end | center | stretch"},"-ms-hyphenate-limit-last":{"comment":"misssed old syntax implemented in IE; https://www.w3.org/TR/css-text-4/#hyphenate-line-limits","syntax":"none | always | column | page | spread"},"-webkit-appearance":{"comment":"webkit specific keywords","references":["http://css-infos.net/property/-webkit-appearance"],"syntax":"none | button | button-bevel | caps-lock-indicator | caret | checkbox | default-button | inner-spin-button | listbox | listitem | media-controls-background | media-controls-fullscreen-background | media-current-time-display | media-enter-fullscreen-button | media-exit-fullscreen-button | media-fullscreen-button | media-mute-button | media-overlay-play-button | media-play-button | media-seek-back-button | media-seek-forward-button | media-slider | media-sliderthumb | media-time-remaining-display | media-toggle-closed-captions-button | media-volume-slider | media-volume-slider-container | media-volume-sliderthumb | menulist | menulist-button | menulist-text | menulist-textfield | meter | progress-bar | progress-bar-value | 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
1-horizontal | sliderthumb-vertical | square-button | textarea | textfield | -apple-pay-button"},"-webkit-background-clip":{"comment":"https://developer.mozilla.org/en/docs/Web/CSS/background-clip","syntax":"[ <box> | border | padding | content | text ]#"},"-webkit-column-break-after":{"comment":"added, http://help.dottoro.com/lcrthhhv.php","syntax":"always | auto | avoid"},"-webkit-column-break-before":{"comment":"added, http://help.dottoro.com/lcxquvkf.php","syntax":"always | auto | avoid"},"-webkit-column-break-inside":{"comment":"added, http://help.dottoro.com/lclhnthl.php","syntax":"always | auto | avoid"},"-webkit-font-smoothing":{"comment":"https://developer.mozilla.org/en-US/docs/Web/CSS/font-smooth","syntax":"auto | none | antialiased | subpixel-antialiased"},"-webkit-mask-box-image":{"comment":"missed; https://developer.mozilla.org/en-US/docs/Web/CSS/-webkit-mask-box-image","syntax":"[ <url> | <gradient> | none ] [ <length-percentage>{4} <-webkit-mask-box-repeat>{2} ]?"},"-webkit-print-color-adjust":{"comment":"missed","references":["https://developer.mozilla.org/en/docs/Web/CSS/-webkit-print-color-adjust"],"syntax":"economy | exact"},"-webkit-text-security":{"comment":"missed; http://help.dottoro.com/lcbkewgt.php","syntax":"none | circle | disc | square"},"-webkit-user-drag":{"comment":"missed; http://help.dottoro.com/lcbixvwm.php","syntax":"none | element | auto"},"-webkit-user-select":{"comment":"auto is supported by old webkit, https://developer.mozilla.org/en-US/docs/Web/CSS/user-select","syntax":"auto | none | text | all"},"alignment-baseline":{"comment":"added SVG property","references":["https://www.w3.org/TR/SVG/text.html#AlignmentBaselineProperty"],"syntax":"auto | baseline | before-edge | text-before-edge | middle | central | after-edge | text-after-edge | ideographic | alphabetic | hanging | mathematical"},"baseline-shift":{"comment":"added SVG property","references":["https://www.w3.org/TR/SVG/text.html#BaselineShiftProperty"],"syntax":"baseline | sub | super | <svg-length>"},"behavior":{"comment":"added old IE property https://msdn.microsoft.com/en-us/library/ms530723(v=vs.85).aspx","syntax":"<url>+"},"clip-rule":{"comment":"added SVG property","references":["https://www.w3.org/TR/SVG/masking.html#ClipRuleProperty"],"syntax":"nonzero | evenodd"},"cue":{"comment":"https://www.w3.org/TR/css3-speech/#property-index","syntax":"<\'cue-before\'> <\'cue-after\'>?"},"cue-after":{"comment":"https://www.w3.org/TR/css3-speech/#property-index","syntax":"<url> <decibel>? | none"},"cue-before":{"comment":"https://www.w3.org/TR/css3-speech/#property-index","syntax":"<url> <decibel>? | none"},"cursor":{"comment":"added legacy keywords: hand, -webkit-grab. -webkit-grabbing, -webkit-zoom-in, -webkit-zoom-out, -moz-grab, -moz-grabbing, -moz-zoom-in, -moz-zoom-out","references":["https://www.sitepoint.com/css3-cursor-styles/"],"syntax":"[ [ <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 ] ]"},"display":{"comment":"extended with -ms-flexbox","syntax":"| <-non-standard-display>"},"position":{"comment":"extended with -webkit-sticky","syntax":"| -webkit-sticky"},"dominant-baseline":{"comment":"added SVG property","references":["https://www.w3.org/TR/SVG/text.html#DominantBaselineProperty"],"syntax":"auto | use-script | no-change | reset-size | ideographic | alphabetic | hanging | mathematical | central | middle | text-after-edge | text-before-edge"},"image-rendering":{"comment":"extended with <-non-standard-image-rendering>, added SVG keywords optimizeSpeed and optimizeQuality","references":["https://developer.mozilla.org/en/docs/Web/CSS/image-rendering","https://www.w3.org/TR/SVG/painting.html#ImageRenderingProperty"],"syntax":"| optimizeSpeed | optimizeQuality | <-non-standard-image-rendering>"},"fill":{"comment":"added SVG property","references":["https://www.w3.org/TR/SVG/painting.html#FillProperty"],"syntax":"<paint>"},"fill-opacity":{"comment":"added SVG property","references":["https://www.w3.org/TR/SVG/painting.html#FillProperty"],"syntax":"<number-zero-one>"},"fill-rule":{"comment":"added SVG property","references":["https://www.w3.org/TR/SVG/painting.html#FillProperty"],"syntax":"nonzero | evenodd"},"filter":{"comment":"extend with IE legacy syntaxes","syntax":"| <-ms-filter-function-list>"},"glyph-orientation-horizontal":{"comment":"added SVG property","references":["https://www.w3.org/TR/SVG/text.html#GlyphOrientationHorizontalProperty"],"syntax":"<angle>"},"glyph-orientation-vertical":{"comment":"added SVG property","references":["https://www.w3.org/TR/SVG/text.html#GlyphOrientationVerticalProperty"],"syntax":"<angle>"},"kerning":{"comment":"added SVG property","references":["https://www.w3.org/TR/SVG/text.html#KerningProperty"],"syntax":"auto | <svg-length>"},"letter-spacing":{"comment":"fix syntax <length>
1 -> <length-percentage>","references":["https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/letter-spacing"],"syntax":"normal | <length-percentage>"},"marker":{"comment":"added SVG property","references":["https://www.w3.org/TR/SVG/painting.html#MarkerProperties"],"syntax":"none | <url>"},"marker-end":{"comment":"added SVG property","references":["https://www.w3.org/TR/SVG/painting.html#MarkerProperties"],"syntax":"none | <url>"},"marker-mid":{"comment":"added SVG property","references":["https://www.w3.org/TR/SVG/painting.html#MarkerProperties"],"syntax":"none | <url>"},"marker-start":{"comment":"added SVG property","references":["https://www.w3.org/TR/SVG/painting.html#MarkerProperties"],"syntax":"none | <url>"},"max-width":{"comment":"fix auto -> none (https://github.com/mdn/data/pull/431); extend by non-standard width keywords https://developer.mozilla.org/en-US/docs/Web/CSS/max-width","syntax":"none | <length-percentage> | min-content | max-content | fit-content(<length-percentage>) | <-non-standard-width>"},"width":{"comment":"per spec fit-content should be a function, however browsers are supporting it as a keyword (https://github.com/csstree/stylelint-validator/issues/29)","syntax":"| fit-content | -moz-fit-content | -webkit-fit-content"},"min-width":{"comment":"extend by non-standard width keywords https://developer.mozilla.org/en-US/docs/Web/CSS/width","syntax":"auto | <length-percentage> | min-content | max-content | fit-content(<length-percentage>) | <-non-standard-width>"},"overflow":{"comment":"extend by vendor keywords https://developer.mozilla.org/en-US/docs/Web/CSS/overflow","syntax":"| <-non-standard-overflow>"},"pause":{"comment":"https://www.w3.org/TR/css3-speech/#property-index","syntax":"<\'pause-before\'> <\'pause-after\'>?"},"pause-after":{"comment":"https://www.w3.org/TR/css3-speech/#property-index","syntax":"<time> | none | x-weak | weak | medium | strong | x-strong"},"pause-before":{"comment":"https://www.w3.org/TR/css3-speech/#property-index","syntax":"<time> | none | x-weak | weak | medium | strong | x-strong"},"rest":{"comment":"https://www.w3.org/TR/css3-speech/#property-index","syntax":"<\'rest-before\'> <\'rest-after\'>?"},"rest-after":{"comment":"https://www.w3.org/TR/css3-speech/#property-index","syntax":"<time> | none | x-weak | weak | medium | strong | x-strong"},"rest-before":{"comment":"https://www.w3.org/TR/css3-speech/#property-index","syntax":"<time> | none | x-weak | weak | medium | strong | x-strong"},"shape-rendering":{"comment":"added SVG property","references":["https://www.w3.org/TR/SVG/painting.html#ShapeRenderingPropert"],"syntax":"auto | optimizeSpeed | crispEdges | geometricPrecision"},"src":{"comment":"added @font-face\'s src property https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/src","syntax":"[ <url> [ format( <string># ) ]? | local( <family-name> ) ]#"},"speak":{"comment":"https://www.w3.org/TR/css3-speech/#property-index","syntax":"auto | none | normal"},"speak-as":{"comment":"https://www.w3.org/TR/css3-speech/#property-index","syntax":"normal | spell-out || digits || [ literal-punctuation | no-punctuation ]"},"stroke":{"comment":"added SVG property","references":["https://www.w3.org/TR/SVG/painting.html#StrokeProperties"],"syntax":"<paint>"},"stroke-dasharray":{"comment":"added SVG property; a list of comma and/or white space separated <length>s and <percentage>s","references":["https://www.w3.org/TR/SVG/painting.html#StrokeProperties"],"syntax":"none | [ <svg-length>+ ]#"},"stroke-dashoffset":{"comment":"added SVG property","references":["https://www.w3.org/TR/SVG/painting.html#StrokeProperties"],"syntax":"<svg-length>"},"stroke-linecap":{"comment":"added SVG property","references":["https://www.w3.org/TR/SVG/painting.html#StrokeProperties"],"syntax":"butt | round | square"},"stroke-linejoin":{"comment":"added SVG property","references":["https://www.w3.org/TR/SVG/painting.html#StrokeProperties"],"syntax":"miter | round | bevel"},"stroke-miterlimit":{"comment":"added SVG property (<miterlimit> = <number-one-or-greater>) ","references":["https://www.w3.org/TR/SVG/painting.html#StrokeProperties"],"syntax":"<number-one-or-greater>"},"stroke-opacity":{"comment":"added SVG property","references":["https://www.w3.org/TR/SVG/painting.html#StrokeProperties"],"syntax":"<number-zero-one>"},"stroke-width":{"comment":"added SVG property","references":["https://www.w3.org/TR/SVG/painting.html#StrokeProperties"],"syntax":"<svg-length>"},"text-anchor":{"comment":"added SVG property","references":["https://www.w3.org/TR/SVG/text.html#TextAlignmentProperties"],"syntax":"start | middle | end"}
1,"unicode-bidi":{"comment":"added prefixed keywords https://developer.mozilla.org/en-US/docs/Web/CSS/unicode-bidi","syntax":"| -moz-isolate | -moz-isolate-override | -moz-plaintext | -webkit-isolate | -webkit-isolate-override | -webkit-plaintext"},"unicode-range":{"comment":"added missed property https://developer.mozilla.org/en-US/docs/Web/CSS/%40font-face/unicode-range","syntax":"<urange>#"},"voice-balance":{"comment":"https://www.w3.org/TR/css3-speech/#property-index","syntax":"<number> | left | center | right | leftwards | rightwards"},"voice-duration":{"comment":"https://www.w3.org/TR/css3-speech/#property-index","syntax":"auto | <time>"},"voice-family":{"comment":"<name> -> <family-name>, https://www.w3.org/TR/css3-speech/#property-index","syntax":"[ [ <family-name> | <generic-voice> ] , ]* [ <family-name> | <generic-voice> ] | preserve"},"voice-pitch":{"comment":"https://www.w3.org/TR/css3-speech/#property-index","syntax":"<frequency> && absolute | [ [ x-low | low | medium | high | x-high ] || [ <frequency> | <semitones> | <percentage> ] ]"},"voice-range":{"comment":"https://www.w3.org/TR/css3-speech/#property-index","syntax":"<frequency> && absolute | [ [ x-low | low | medium | high | x-high ] || [ <frequency> | <semitones> | <percentage> ] ]"},"voice-rate":{"comment":"https://www.w3.org/TR/css3-speech/#property-index","syntax":"[ normal | x-slow | slow | medium | fast | x-fast ] || <percentage>"},"voice-stress":{"comment":"https://www.w3.org/TR/css3-speech/#property-index","syntax":"normal | strong | moderate | none | reduced"},"voice-volume":{"comment":"https://www.w3.org/TR/css3-speech/#property-index","syntax":"silent | [ [ x-soft | soft | medium | loud | x-loud ] || <decibel> ]"},"writing-mode":{"comment":"extend with SVG keywords","syntax":"| <svg-writing-mode>"}},"syntaxes":{"-legacy-gradient":{"comment":"added collection of legacy gradient syntaxes","syntax":"<-webkit-gradient()> | <-legacy-linear-gradient> | <-legacy-repeating-linear-gradient> | <-legacy-radial-gradient> | <-legacy-repeating-radial-gradient>"},"-legacy-linear-gradient":{"comment":"like standard syntax but w/o `to` keyword https://developer.mozilla.org/en-US/docs/Web/CSS/linear-gradient","syntax":"-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":{"comment":"like standard syntax but w/o `to` keyword https://developer.mozilla.org/en-US/docs/Web/CSS/linear-gradient","syntax":"-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":{"comment":"like standard syntax but w/o `to` keyword https://developer.mozilla.org/en-US/docs/Web/CSS/linear-gradient","syntax":"[ <angle> | <side-or-corner> ]? , <color-stop-list>"},"-legacy-radial-gradient":{"comment":"deprecated syntax that implemented by some browsers https://www.w3.org/TR/2011/WD-css3-images-20110908/#radial-gradients","syntax":"-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":{"comment":"deprecated syntax that implemented by some browsers https://www.w3.org/TR/2011/WD-css3-images-20110908/#radial-gradients","syntax":"-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":{"comment":"deprecated syntax that implemented by some browsers https://www.w3.org/TR/2011/WD-css3-images-20110908/#radial-gradients","syntax":"[ <position> , ]? [ [ [ <-legacy-radial-gradient-shape> || <-legacy-radial-gradient-size> ] | [ <length> | <percentage> ]{2} ] , ]? <color-stop-list>"},"-legacy-radial-gradient-size":{"comment":"before a standard it contains 2 extra keywords (`contain` and `cover`) https://www.w3.org/TR/2011/WD-css3-images-20110908/#ltsize","syntax":"closest-side | closest-corner | farthest-side | farthest-corner | contain | cover"},"-legacy-radial-gradient-shape":{"comment":"define to double sure it doesn\'t extends in future https://www.w3.org/TR/2011/WD-css3-images-20110908/#ltshape","syntax":"circle | ellipse"},"-non-standard-font":{"comment":"non standard fonts","references":["https://webkit.org/blog/3709/using-the-system-font-in-web-content/"],"syntax":"-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":{"comment":"non standard colors","references":["http://cssdot.ru/%D0%A1%D0%BF%D1%80%D0%B0%D0%B2%D0%BE%D1%87%D0%BD%D0%B8%D0%BA_CSS/color-i305.html","https://developer.mozilla.org/en-US/docs/Web/CSS/color_value#Mozilla_Color_Preference_Extensions"],"syntax":"-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":{"comment":"non-standard keywords http://phrogz.net/tmp/canvas_image_zoom.html","syntax":"optimize-contrast | -moz-crisp-edges | -o-crisp-edges | -webkit-optimize-contrast"},"-non-standard-overflow":{"comment":"non-standard keywords https://developer.mozilla.org/en-US/docs/Web/CSS/overflow","syntax":"-moz-scrollbars-none | -moz-scrollbars-horizontal | -moz-scrollbars-vertical | -moz-hidden-unscrollable"},"-non-standard-width":{"comment":"non-standard keywords https://developer.mozilla.org/en-US/docs/Web/CSS/width","syntax":"fill-available | min-intrinsic | intrinsic | -moz-available | -moz-fit-content | -moz-min-content | -moz-max-content | -webkit-min-content | -webkit-max-content"},"-webkit-gradient()":{"comment":"first Apple proposal gradient syntax https://webkit.org/blog/175/introducing-css-gradients/ - TODO: simplify when after match algorithm improvement ( [, point, radius | , point] -> [, radius]? , point )","syntax":"-webkit-gradient( <-webkit-gradient-type>, <-webkit-gradient-point>
1 [, <-webkit-gradient-point> | , <-webkit-gradient-radius>, <-webkit-gradient-point> ] [, <-webkit-gradient-radius>]? [, <-webkit-gradient-color-stop>]* )"},"-webkit-gradient-color-stop":{"comment":"first Apple proposal gradient syntax https://webkit.org/blog/175/introducing-css-gradients/","syntax":"from( <color> ) | color-stop( [ <number-zero-one> | <percentage> ] , <color> ) | to( <color> )"},"-webkit-gradient-point":{"comment":"first Apple proposal gradient syntax https://webkit.org/blog/175/introducing-css-gradients/","syntax":"[ left | center | right | <length-percentage> ] [ top | center | bottom | <length-percentage> ]"},"-webkit-gradient-radius":{"comment":"first Apple proposal gradient syntax https://webkit.org/blog/175/introducing-css-gradients/","syntax":"<length> | <percentage>"},"-webkit-gradient-type":{"comment":"first Apple proposal gradient syntax https://webkit.org/blog/175/introducing-css-gradients/","syntax":"linear | radial"},"-webkit-mask-box-repeat":{"comment":"missed; https://developer.mozilla.org/en-US/docs/Web/CSS/-webkit-mask-box-image","syntax":"repeat | stretch | round"},"-webkit-mask-clip-style":{"comment":"missed; there is no enough information about `-webkit-mask-clip` property, but looks like all those keywords are working","syntax":"border | border-box | padding | padding-box | content | content-box | text"},"-ms-filter-function-list":{"comment":"https://developer.mozilla.org/en-US/docs/Web/CSS/-ms-filter","syntax":"<-ms-filter-function>+"},"-ms-filter-function":{"comment":"https://developer.mozilla.org/en-US/docs/Web/CSS/-ms-filter","syntax":"<-ms-filter-function-progid> | <-ms-filter-function-legacy>"},"-ms-filter-function-progid":{"comment":"https://developer.mozilla.org/en-US/docs/Web/CSS/-ms-filter","syntax":"\'progid:\' [ <ident-token> \'.\' ]* [ <ident-token> | <function-token> <any-value>? ) ]"},"-ms-filter-function-legacy":{"comment":"https://developer.mozilla.org/en-US/docs/Web/CSS/-ms-filter","syntax":"<ident-token> | <function-token> <any-value>? )"},"-ms-filter":{"syntax":"<string>"},"age":{"comment":"https://www.w3.org/TR/css3-speech/#voice-family","syntax":"child | young | old"},"attr-name":{"syntax":"<wq-name>"},"attr-fallback":{"syntax":"<any-value>"},"border-radius":{"comment":"missed, https://drafts.csswg.org/css-backgrounds-3/#the-border-radius","syntax":"<length-percentage>{1,2}"},"bottom":{"comment":"missed; not sure we should add it, but no others except `shape` is using it so it\'s ok for now; https://drafts.fxtf.org/css-masking-1/#funcdef-clip-rect","syntax":"<length> | auto"},"content-list":{"comment":"missed -> https://drafts.csswg.org/css-content/#typedef-content-list (document-url, <target> and leader() is omitted util stabilization)","syntax":"[ <string> | contents | <image> | <quote> | <target> | <leader()> | <attr()> | counter( <ident>, <\'list-style-type\'>? ) ]+"},"element()":{"comment":"https://drafts.csswg.org/css-gcpm/#element-syntax & https://drafts.csswg.org/css-images-4/#element-notation","syntax":"element( <custom-ident> , [ first | start | last | first-except ]? ) | element( <id-selector> )"},"generic-voice":{"comment":"https://www.w3.org/TR/css3-speech/#voice-family","syntax":"[ <age>? <gender> <integer>? ]"},"gender":{"comment":"https://www.w3.org/TR/css3-speech/#voice-family","syntax":"male | female | neutral"},"generic-family":{"comment":"added -apple-system","references":["https://webkit.org/blog/3709/using-the-system-font-in-web-content/"],"syntax":"| -apple-system"},"gradient":{"comment":"added legacy syntaxes support","syntax":"| <-legacy-gradient>"},"left":{"comment":"missed; not sure we should add it, but no others except `shape` is using it so it\'s ok for now; https://drafts.fxtf.org/css-masking-1/#funcdef-clip-rect","syntax":"<length> | auto"},"mask-image":{"comment":"missed; https://drafts.fxtf.org/css-masking-1/#the-mask-image","syntax":"<mask-reference>#"},"name-repeat":{"comment":"missed, and looks like obsolete, keep it as is since other property syntaxes should be changed too; https://www.w3.org/TR/2015/WD-css-grid-1-20150917/#typedef-name-repeat","syntax":"repeat( [ <positive-integer> | auto-fill ], <line-names>+)"},"named-color":{"comment":"added non standard color names","syntax":"| <-non-standard-color>"},"paint":{"comment":"used by SVG https://www.w3.org/TR/SVG/painting.html#SpecifyingPaint","syntax":"none | <color> | <url> [ none | <color> ]? | context-fill | context-stroke"},"page-size":{"comment":"https://www.w3.org/TR/css-page-3/#typedef-page-size-page-size","syntax":"A5 | A4 | A3 | B5 | B4 | JIS-B5 | JIS-B4 | letter | legal | ledger"},"ratio":{"comment":"missed, https://drafts.csswg.org/mediaqueries-4/#typedef-ratio","syntax":"<integer> / <integer>"},"right":{"comment":"missed; not sure we should add it, but no others except `shape` is using it so it\'s ok for now; https://drafts.fxtf.org/css-masking-1/#funcdef-clip-rect","syntax":"<length> | auto"},"shape":{"comment":"missed spaces in function body and add backwards compatible syntax","syntax":"rect( <top>, <right>, <bottom>, <left> ) | rect( <top> <right> <bottom> <left> )"},"svg-length":{"comment":"All coordinates and lengths in SVG can be specified with or without a unit identifier","references":["https://www.w3.org/TR/SVG11/coords.html#Units"],"syntax":"<percentage> | <length> | <number>"},"svg-writing-mode":{"comment":"SVG specific keywords (deprecated for CSS)","references":["https://developer.mozilla.org/en/docs/Web/CSS/writing-mode","https://www.w3.org/TR/SVG/text.html#WritingModeProperty"],"syntax":"lr-tb | rl-tb | tb-rl | lr | rl | tb"},"top":{"comment":"missed; not sure we should add it, but no others except `shape` is using it so it\'s ok for now; https://drafts.fxtf.org/css-masking-1/#funcdef-clip-rect","syntax":"<length> | auto"},"track-group":{"comment":"used by old grid-columns and grid-rows syntax v
10","syntax":"\'(\' [ <string>* <track-minmax> <string>* ]+ \')\' [ \'[\' <positive-integer> \']\' ]? | <track-minmax>"},"track-list-v0":{"comment":"used by old grid-columns and grid-rows syntax v0","syntax":"[ <string>* <track-group> <string>* ]+ | none"},"track-minmax":{"comment":"used by old grid-columns and grid-rows syntax v0","syntax":"minmax( <track-breadth> , <track-breadth> ) | auto | <track-breadth> | fit-content"},"x":{"comment":"missed; not sure we should add it, but no others except `cursor` is using it so it\'s ok for now; https://drafts.csswg.org/css-ui-3/#cursor","syntax":"<number>"},"y":{"comment":"missed; not sure we should add it, but no others except `cursor` is using so it\'s ok for now; https://drafts.csswg.org/css-ui-3/#cursor","syntax":"<number>"},"declaration":{"comment":"missed, restored by https://drafts.csswg.org/css-syntax","syntax":"<ident-token> : <declaration-value>? [ \'!\' important ]?"},"declaration-list":{"comment":"missed, restored by https://drafts.csswg.org/css-syntax","syntax":"[ <declaration>? \';\' ]* <declaration>?"},"url":{"comment":"https://drafts.csswg.org/css-values-4/#urls","syntax":"url( <string> <url-modifier>* ) | <url-token>"},"url-modifier":{"comment":"https://drafts.csswg.org/css-values-4/#typedef-url-modifier","syntax":"<ident> | <function-token> <any-value> )"},"number-zero-one":{"syntax":"<number [0,1]>"},"number-one-or-greater":{"syntax":"<number [1,â]>"},"positive-integer":{"syntax":"<integer [0,â]>"},"-non-standard-display":{"syntax":"-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"}}}')},51848:(e,t,r)=>{"use strict";e.exports=r(22565)()?String.prototype.contains:r(18457)},52383:e=>{e.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)}}},52584:(e,t,r)=>{"use strict";var n=r(98811),a=r(86871),s=Object.create(null);e.exports=function(e){return Object.defineProperties(e,{for:n(function(t){return s[t]?s[t]:s[t]=e(String(t))}),keyFor:n(function(e){var t;for(t in a(e),s)if(s[t]===e)return t})})}},53712:e=>{var t={EOF:0,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},r=Object.keys(t).reduce(function(e,r){return e[t[r]]=r,e},{});e.exports={TYPE:t,NAME:r}},54654:(e,t,r)=>{var n=r(40363).TYPE.Comma;e.exports={name:"MediaQueryList",structure:{children:[["MediaQuery"]]}
1,parse:function(e){var t=this.createList();for(this.scanner.skipSC();!this.scanner.eof&&(t.push(this.MediaQuery(e)),this.scanner.tokenType===n);)this.scanner.next();return{type:"MediaQueryList",loc:this.getLocationFromList(t),children:t}},generate:function(e){this.children(e,function(){this.chunk(",")})}}},54728:(e,t,r)=>{"use strict";var n=r(87110).iterator,a=r(92790),s=r(61554),i=r(47821),o=r(88827),l=r(95764),c=r(62894),d=r(60334),u=Array.isArray,p=Function.prototype.call,h={configurable:!0,enumerable:!0,writable:!0,value:null},g=Object.defineProperty;e.exports=function(e){var t,r,m,f,y,b,v,x,k,w,S=arguments[1],j=arguments[2];if(e=Object(l(e)),c(S)&&o(S),this&&this!==Array&&s(this))t=this;else{if(!S){if(a(e))return 1!==(y=e.length)?Array.apply(null,e):((f=[,])[0]=e[0],f);if(u(e)){for(r=0,f=Array(y=e.length);r<y;++r)f[r]=e[r];return f}}f=[]}if(!u(e)){if(void 0!==(k=e[n])){for(v=o(k).call(e),t&&(f=new t),x=v.next(),r=0;!x.done;)w=S?p.call(S,j,x.value,r):x.value,t?(h.value=w,g(f,r,h)):f[r]=w,x=v.next(),++r;y=r}else if(d(e)){for(y=e.length,t&&(f=new t),r=0,m=0;r<y;++r)w=e[r],r+1<y&&(b=w.charCodeAt(0))>=55296&&b<=56319&&(w+=e[++r]),w=S?p.call(S,j,w,m):w,t?(h.value=w,g(f,m,h)):f[m]=w,++m;y=m}}if(void 0===y)for(y=i(e.length),t&&(f=new t(y)),r=0;r<y;++r)w=S?p.call(S,j,e[r],r):e[r],t?(h.value=w,g(f,r,h)):f[r]=w;return t&&(h.value=null,f.length=y),f}},56249:(e,t,r)=>{var n=r(40363).cmpChar,a=r(40363).cmpStr,s=r(40363).TYPE,i=s.Ident,o=s.String,l=s.Number,c=s.Function,d=s.Url,u=s.Hash,p=s.Dimension,h=s.Percentage,g=s.LeftParenthesis,m=s.LeftSquareBracket,f=s.Comma,y=s.Delim;e.exports=function(e){switch(this.scanner.tokenType){case u:return this.Hash();case f:return e.space=null,e.ignoreWSAfter=!0,this.Operator();case g:return this.Parentheses(this.readSequence,e.recognizer);case m:return this.Brackets(this.readSequence,e.recognizer);case o:return this.String();case p:return this.Dimension();case h:return this.Percentage();case l:return this.Number();case c:return a(this.scanner.source,this.scanner.tokenStart,this.scanner.tokenEnd,"url(")?this.Url():this.Function(this.readSequence,e.recognizer);case d:return this.Url();case i:if(n(this.scanner.source,this.scanner.tokenStart,117)&&n(this.scanner.source,this.scanner.tokenStart+1,43))return this.UnicodeRange();return this.Identifier();case y:var t=this.scanner.source.charCodeAt(this.scanner.tokenStart);if(47===t||42===t||43===t||45===t)return this.Operator();35===t&&this.error("Hex or identifier is expected",this.scanner.tokenStart+1)}}},57471:e=>{e.exports={parse:function(){return this.createSingleNodeList(this.Identifier())}}},57816:(e,t,r)=>{var n=r(69683);e.exports={matchFragments:function(e,t,r,a,s){var i=[];return null!==r.matched&&function r(o){if(null!==o.syntax&&o.syntax.type===a&&o.syntax.name===s){var l=function e(t){return"node"in t?t.node:e(t.match[0])}(o),c=function e(t){return"node"in t?t.node:e(t.match[t.match.length-1])}(o);e.syntax.walk(t,function(e,t,r){if(e===l){var a=new n;do{if(a.appendData(t.data),t.data===c)break;t=t.next}while(null!==t);i.push({parent:r,nodes:a})}})}Array.isArray(o.match)&&o.match.forEach(r)}(r.matched),i}}},58398:(e,t,r)=>{var n=r(40363).TYPE,a=n.WhiteSpace,s=n.Comment,i=n.AtKeyword,o=n.CDO,l=n.CDC;function c(e){return this.Raw(e,null,!1)}e.exports={name:"StyleSheet",structure:{children:[["Comment","CDO","CDC","Atrule","Rule","Raw"]]},parse:function(){for(var e,t=this.scanner.tokenStart,r=this.createList(
1);!this.scanner.eof;){switch(this.scanner.tokenType){case a:this.scanner.next();continue;case s:if(33!==this.scanner.source.charCodeAt(this.scanner.tokenStart+2)){this.scanner.next();continue}e=this.Comment();break;case o:e=this.CDO();break;case l:e=this.CDC();break;case i:e=this.parseWithFallback(this.Atrule,c);break;default:e=this.parseWithFallback(this.Rule,c)}r.push(e)}return{type:"StyleSheet",loc:this.getLocation(t,this.scanner.tokenStart),children:r}},generate:function(e){this.children(e)},walkContext:"stylesheet"}},58638:(e,t,r)=>{var n=r(40363).isHexDigit,a=r(40363).cmpChar,s=r(40363).TYPE,i=r(40363).NAME,o=s.Ident,l=s.Number,c=s.Dimension;function d(e,t){for(var r=this.scanner.tokenStart+e,a=0;r<this.scanner.tokenEnd;r++){var s=this.scanner.source.charCodeAt(r);if(45===s&&t&&0!==a)return 0===d.call(this,e+a+1,!1)&&this.error(),-1;n(s)||this.error(t&&0!==a?"HyphenMinus"+(a<6?" or hex digit":"")+" is expected":a<6?"Hex digit is expected":"Unexpected input",r),++a>6&&this.error("Too many hex digits",r)}return this.scanner.next(),a}function u(e){for(var t=0;this.scanner.isDelim(63);)++t>e&&this.error("Too many question marks"),this.scanner.next()}function p(e){this.scanner.source.charCodeAt(this.scanner.tokenStart)!==e&&this.error(i[e]+" is expected")}function h(){var e=0;if(this.scanner.isDelim(43)){if(this.scanner.next(),this.scanner.tokenType===o){(e=d.call(this,0,!0))>0&&u.call(this,6-e);return}if(this.scanner.isDelim(63)){this.scanner.next(),u.call(this,5);return}this.error("Hex digit or question mark is expected");return}if(this.scanner.tokenType===l)return(p.call(this,43),e=d.call(this,1,!0),this.scanner.isDelim(63))?void u.call(this,6-e):void((this.scanner.tokenType===c||this.scanner.tokenType===l)&&(p.call(this,45),d.call(this,1,!1)));if(this.scanner.tokenType===c){p.call(this,43),(e=d.call(this,1,!0))>0&&u.call(this,6-e);return}this.error()}
1e.exports={name:"UnicodeRange",structure:{value:String},parse:function(){var e=this.scanner.tokenStart;return a(this.scanner.source,e,117)||this.error("U is expected"),a(this.scanner.source,e+1,43)||this.error("Plus sign is expected"),this.scanner.next(),h.call(this),{type:"UnicodeRange",loc:this.getLocation(e,this.scanner.tokenStart),value:this.scanner.substrToCursor(e)}},generate:function(e){this.chunk(e.value)}}},59480:e=>{e.exports={parse:{prelude:function(){return this.createSingleNodeList(this.SelectorList())},block:function(){return this.Block(!0)}}}},60334:e=>{"use strict";var t=Object.prototype.toString,r=t.call("");e.exports=function(e){return"string"==typeof e||e&&"object"==typeof e&&(e instanceof String||t.call(e)===r)||!1}},61554:e=>{"use strict";var t=Object.prototype.toString,r=RegExp.prototype.test.bind(/^[object [A-Za-z0-9]*Function]$/);e.exports=function(e){return"function"==typeof e&&r(t.call(e))}},61898:(e,t,r)=>{var n=r(13482).SyntaxReferenceError,a=r(13482).SyntaxMatchError,s=r(7287),i=r(40233),o=r(72110),l=r(16380),c=r(82114),d=r(68700),u=r(29696).buildMatchGraph,p=r(21121).matchAsTree,h=r(36637),g=r(57816),m=r(44473).getStructureFromConfig,f=u("inherit | initial | unset"),y=u("inherit | initial | unset | <-ms-legacy-expression>");function b(e,t,r){var n={};for(var a in e)e[a].syntax&&(n[a]=r?e[a].syntax:l(e[a].syntax,{compact:t}));return n}function v(e,t,r){return{matched:e,iterations:r,error:t,getTrace:h.getTrace,isType:h.isType,isProperty:h.isProperty,isKeyword:h.isKeyword}}function x(e,t,r,n){var s,i=d(r,e.syntax);return function(e){for(var t=0;t<e.length;t++)if("var("===e[t].value.toLowerCase())return!0;return!1}(i)?v(null,Error("Matching for a tree with var() is not supported")):(n&&(s=p(i,e.valueCommonSyntax,e)),n&&s.match||(s=p(i,t.match,e)).match)?v(s.match,null,s.iterations):v(null,new a(s.reason,t.syntax,r,s),s.iterations)}var k=function(e,t,r){if(this.valueCommonSyntax=f,this.syntax=t,this.generic=!1,this.atrules={},this.properties={},this.types={},this.structure=r||m(e),e){if(e.types)for(var n in e.types)this.addType_(n,e.types[n]);if(e.generic)for(var n in this.generic=!0,i)this.addType_(n,i[n]);if(e.atrules)for(var n in e.atrules)this.addAtrule_(n,e.atrules[n]);if(e.properties)for(var n in e.properties)this.addProperty_(n,e.properties[n])}};k.prototype={structure:{},checkStructure:function(e){function t(e,t){n.push({node:e,message:t})}var r=this.structure,n=[];return this.syntax.walk(e,function(e){r.hasOwnProperty(e.type)?r[e.type].check(e,t):t(e,"Unknown node type `"+e.type+"`")}),!!n.length&&n},createDescriptor:function(e,t,r,n=null){var a={type:t,name:r},s={type:t,name:r,parent:n,syntax:null,match:null};return"function"==typeof e?s.match=u(e,a):("string"==typeof e?Object.defineProperty(s,"syntax",{get:function(){return Object.defineProperty(s,"syntax",{value:o(e)}),s.syntax}}):s.syntax=e,Object.defineProperty(s,"match",{get:function(){return Object.defineProperty(s,"match",{value:u(s.syntax,a)}),s.match}})),s},addAtrule_:function(e,t){t&&(this.atrules[e]={type:"Atrule",name:e,prelude:t.prelude?this.createDescriptor(t.prelude,"AtrulePrelude",e):null,descriptors:t.descriptors?Object.keys(t.descriptors).reduce((r,n)=>(r[n]=this.createDescriptor(t.descriptors[n],"AtruleDescriptor",n,e),r),{}):null})},addProperty_:function(e,t){t&&(this.properties[e]=this.createDescriptor(t,"Property",e))},addType_:function(e,t){t&&(this.types[e]=this.createDescriptor(t,"Type",e),t===i["-ms-legacy-expression"]&&(this.valueCommonSyntax=y))},checkAtruleName:function(e){if(!this.getAtrule(e))return new n("Unknown at-rule","@"+e)},checkAtrulePrelude:function(e,t){let r=this.checkAtruleName(e);if(r)return r;var n=this.getAtrule(e);return!n.prelude&&t?SyntaxError("At-rule `@"+e+"` should not contain a prelude"):n.prelude&&!t?SyntaxError("At-rule `@"+e+"` should contain a prelude"):void 0},checkAtruleDescriptorName:function(e,t){let r=this.checkAtruleName(e);if(r)return r;var a=this.getAtrule(e),i=s.keyword(t);return a.descriptors?a.descriptors[i.name]||a.descriptors[i.basename]?void 0:new n("Unknown at-rule descriptor",t):SyntaxError("At-rule `@"+e+"` has no known descriptors")},checkPropertyName:function(e){return s.property(e).custom?Error("Lexer matching doesn't applicable for custom properties"):this.getProperty(e)?void 0:new n("Unknown property",e)},matchAtrulePrelude:function(e,t){var r=this.checkAtrulePrelude(e,t);return r?v(null,r):t?x(this,this.getAtrule(e).prelude,t,!1):v(null,null)},matchAtruleDescriptor:function(e,t,r){var n=this.checkAtruleDescriptorName(e,t);if(n)return v(null,n);var a=this.getAtrule(e),i=s.keyword(t);return x(this,a.descriptors[i.name]||a.descriptors[i.basename],r,!1)},matchDeclaration:function(e){return"Declaration"!==e.type?v(null,Error("Not a Declaration node")):this.matchProperty(e.property,e.value)},matchProperty:function(e,t){var r=this.checkPropertyName(e);return r?v(null,r):x(this,this.getProperty(e),t,!0)},matchType:function(e,t){var r=this.getType(e);return r?x(this,r,t,!1):v(null,new n("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")),x(this,e,t,!1)):v(null,new n("Bad syntax"))},findValueFragments:function(e,t,r,n){return g.matchFragments(this,t,this.matchProperty(e,t),r,n)},findDeclarationValueFragments:function(e,t,r){return g.matchFragments(this,e.value,this.matchDeclaration(e),t,r)},findAllFragments:function(e,t,r){var n=[];return this.syntax.walk(e,{visit:"Declaration",enter:(function(e){n.push.apply(n,this.findDeclarationValueFragments(e,t,r))}).bind(this)}),n},getAtrule:function(e,t=!0){var r=s.keyword(e);return(r.vendor&&t?this.atrules[r.name]||this.atrules[r.basename]:this.atrules[r.name])||null},getAtrulePrelude:function(e,t=!0){let r=this.getAtrule(e,t);return r&&r.prelude||null},getAtruleDescriptor:function(e,t){return this.atrules.hasOwnProperty(e)&&this.atrules.declarators&&this.atrules[e].declarators[t]||null},getProperty:function(e,t=!0){var r=s.property(e);return(r.vendor&&t?this.properties[r.name]||this.properties[r.basename]:this.properties[r.name])||null},getType:function(e){return this.types.hasOwnProperty(e)?this.types[e]:null},validate:function(){function e(n,a,s,i){if(s.hasOwnProperty(a))return s[a];s[a]=!1,null!==i.syntax&&c(i.syntax,function(i){if("Type"===i.type||"Property"===i.type){var o="Type"===i.type?n.types:n.properties,l="Type"===i.type?t:r;(!o.hasOwnProperty(i.name)||e(n,i.name,l,o[i.name]))&&(s[a]=!0)}},this)}var t={},r={};for(var n in this.types)e(this,n,t,this.types[n]);for(var n in this.properties)e(this,n,r,this.properties[n]);return(t=Object.keys(t).filter(function(e){return t[e]}),r=Object.keys(r).filter(function(e){return r[e]}),t.length||r.length)?{types:t,properties:r}:null}
1,dump:function(e,t){return{generic:this.generic,types:b(this.types,!t,e),properties:b(this.properties,!t,e),atrules:function(e,t,r){let n={};for(let[a,s]of Object.entries(e))n[a]={prelude:s.prelude&&(r?s.prelude.syntax:l(s.prelude.syntax,{compact:t})),descriptors:s.descriptors&&b(s.descriptors,t,r)};return n}(this.atrules,!t,e)}},toString:function(){return JSON.stringify(this.dump())}},e.exports=k},61948:e=>{"use strict";e.exports=function(e){return e!=e}},62894:(e,t,r)=>{"use strict";var n=r(96783)();e.exports=function(e){return e!==n&&null!==e}},63449:(e,t,r)=>{"use strict";var n=r(20601),a=r(95764),s=Math.max;e.exports=function(e,t){var r,i,o,l=s(arguments.length,2);for(i=1,e=Object(a(e)),o=function(n){try{e[n]=t[n]}catch(e){r||(r=e)}};i<l;++i)t=arguments[i],n(t).forEach(o);if(void 0!==r)throw r;return e}},63598:(e,t,r)=>{var n=r(40363).TYPE,a=n.LeftParenthesis,s=n.RightParenthesis;e.exports={name:"Parentheses",structure:{children:[[]]},parse:function(e,t){var r=this.scanner.tokenStart,n=null;return this.eat(a),n=e.call(this,t),this.scanner.eof||this.eat(s),{t
1ype:"Parentheses",loc:this.getLocation(r,this.scanner.tokenStart),children:n}},generate:function(e){this.chunk("("),this.children(e),this.chunk(")")}}},64454:(e,t,r)=>{var n=r(8220),a=" ";function s(e,t){function r(e,t){return n.slice(e,t).map(function(t,r){for(var n=String(e+r+1);n.length<c;)n=" "+n;return n+" |"+t}).join("\n")}var n=e.source.split(/\r\n?|\n|\f/),s=e.line,i=e.column,o=Math.max(1,s-t)-1,l=Math.min(s+t,n.length+1),c=Math.max(4,String(l).length)+1,d=0;(i+=(a.length-1)*(n[s-1].substr(0,i-1).match(/\t/g)||[]).length)>100&&(d=i-60+3,i=58);for(var u=o;u<=l;u++)u>=0&&u<n.length&&(n[u]=n[u].replace(/\t/g,a),n[u]=(d>0&&n[u].length>d?"â¦":"")+n[u].substr(d,98)+(n[u].length>d+100-1?"â¦":""));return[r(o,s),Array(i+c+2).join("-")+"^",r(s,l)].filter(Boolean).join("\n")}e.exports=function(e,t,r,a,i){var o=n("SyntaxError",e);return o.source=t,o.offset=r,o.line=a,o.column=i,o.sourceFragment=function(e){return s(o,isNaN(e)?0:e)},Object.defineProperty(o,"formattedMessage",{get:function(){return"Parse error: "+o.message+"\n"+s(o,2)}}),o.parseError={offset:r,line:a,column:i},o}},64748:e=>{"use strict";e.exports=function(e){return isNaN(e=Number(e))||0===e?e:e>0?1:-1}},64803:(e,t,r)=>{"use strict";e.exports=r(2120)()?Number.isNaN:r(61948)},65888:e=>{var t="undefined"!=typeof Uint32Array?Uint32Array:Array;e.exports=function(e,r){return null===e||e.length<r?new t(Math.max(r+1024,16384)):e}},66351:(e,t,r)=>{var n=r(86137),a=Object.prototype.hasOwnProperty,s="undefined"!=typeof Map;function i(){this._array=[],this._set=s?new Map:Object.create(null)}i.fromArray=function(e,t){for(var r=new i,n=0,a=e.length;n<a;n++)r.add(e[n],t);return r},i.prototype.size=function(){return s?this._set.size:Object.getOwnPropertyNames(this._set).length},i.prototype.add=function(e,t){var r=s?e:n.toSetString(e),i=s?this.has(e):a.call(this._set,r),o=this._array.length;(!i||t)&&this._array.push(e),i||(s?this._set.set(e,o):this._set[r]=o)},i.prototype.has=function(e){if(s)return this._set.has(e);var t=n.toSetString(e);return a.call(this._set,t)},i.prototype.indexOf=function(e){if(s){var t=this._set.get(e);if(t>=0)return t}else{var r=n.toSetString(e);if(a.call(this._set,r))return this._set[r]}throw Error('"'+e+'" is not in the set.')},i.prototype.at=function(e){if(e>=0&&e<this._array.length)return this._array[e];throw Error("No element indexed by "+e)},i.prototype.toArray=function(){return this._array.slice()},t.C=i},66763:(e,t,r)=>{e.exports=r(94128)},67719:(e,t,r)=>{"use strict";e.exports=r(5660)()?Array.from:r(54728)},68402:(e,t,r)=>{"use strict";var n=r(49843),a=Math.abs,s=Math.floor;e.exports=function(e){return isNaN(e)?0:0!==(e=Number(e))&&isFinite(e)?n(e)*s(a(e)):e}},68700:(e,t,r)=>{var n=r(40363),a=new(r(75884)),s={decorator:function(e){var t=null,r={len:0,node:null},n=[r],a="";return{children:e.children,node:function(r){var n=t;t=r,e.node.call(this,r),t=n},chunk:function(e){a+=e,r.node!==t?n.push({len:e.length,node:t}):r.len+=e.length},result:function(){return i(a,n)}}}};function i(e,t){var r=[],s=0,i=0,o=t?t[i].node:null;for(n(e,a);!a.eof;){if(t)for(;i<t.length&&s+t[i].len<=a.tokenStart;)s+=t[i++].len,o=t[i].node;r.push({type:a.tokenType,value:a.getTokenValue(),index:a.tokenIndex,balance:a.balance[a.tokenIndex],node:o}),a.next()}return r}e.exports=function(e,t){return"string"==typeof e?i(e,null):t.generate(e,s)}},69488:e=>{e.exports={parse:{prelude:null,block:function(){return this.Block(!0)}}}},69683:e=>{function t(e){return{prev:null,next:null,data:e}}function r(e,t,r){var n;return null!==a?(n=a,a=a.cursor,n.prev=t,n.next=r,n.cursor=e.cursor):n={prev:t,next:r,cursor:e.cursor},e.cursor=n,n}function n(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=t,s.prototype.createItem=t,s.prototype.updateCursors=function(e,t,r,n){for(var a=this.cursor;null!==a;)a.prev===e&&(a.prev=t),a.next===r&&(a.next=n),a=a.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 r=null;this.head=null;for(var n=0;n<e.length;n++){var a=t(e[n]);null!==r?r.next=a:this.head=a,a.prev=r,r=a}return this.tail=r,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){void 0===t&&(t=this);for(var a,s=r(this,null,this.head);null!==s.next;)a=s.next,s.next=a.next,e.call(t,a.data,a,this);n(this)},s.prototype.forEach=s.prototype.each,s.prototype.eachRight=function(e,t){void 0===t&&(t=this);for(var a,s=r(this,this.tail,null);null!==s.prev;)a=s.prev,s.prev=a.prev,e.call(t,a.data,a,this);n(this)},s.prototype.forEachRight=s.prototype.eachRight,s.prototype.reduce=function(e,t,a){void 0===a&&(a=this);for(var s,i=r(this,null,this.head),o=t;null!==i.next;)s=i.next,i.next=s.next,o=e.call(a,o,s.data,s,this);return n(this),o},s.prototype.reduceRight=function(e,t,a){void 0===a&&(a=this);for(var s,i=r(this,this.tail,null),o=t;null!==i.prev;)s=i.prev,i.prev=s.prev,o=e.call(a,o,s.data,s,this);return n(this),o},s.prototype.nextUntil=function(e,t,a){if(null!==e){void 0===a&&(a=this);for(var s,i=r(this,null,e);null!==i.next&&(s=i.next,i.next=s.next,!t.call(a,s.data,s,this)););n(this)}},s.prototype.prevUntil=function(e,t,a){if(null!==e){void 0===a&&(a=this);for(var s,i=r(this,e,null);null!==i.prev&&(s=i.prev,i.prev=s.prev,!t.call(a,s.data,s,this)););n(this)}},s.prototype.some=function(e,t){var r=this.head;for(void 0===t&&(t=this);null!==r;){if(e.call(t,r.data,r,this))return!0;r=r.next}return!1},s.prototype.map=function(e,t){var r=new s,n=this.head;for(void 0===t&&(t=this);null!==n;)r.appendData(e.call(t,n.data,n,this)),n=n.next;return r},s.prototype.filter=function(e,t){var r=new s,n=this.head;for(void 0===t&&(t=this);null!==n;)e.call(t,n.data,n,this)&&r.appendData(n.data),n=n.next;return r},s.prototype.clear=function(){this.head=null,this.tail=null},s.prototype.copy=function(){for(var e=new s,r=this.head;null!==r;
1)e.insert(t(r.data)),r=r.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(t(e))},s.prototype.append=function(e){return this.insert(e)},s.prototype.appendData=function(e){return this.insert(t(e))},s.prototype.insert=function(e,t){if(null!=t)if(this.updateCursors(t.prev,e,t,e),null===t.prev){if(this.head!==t)throw 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,r){return this.insert(t(e),r)},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 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 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(t(e))},s.prototype.pop=function(){if(null!==this.tail)return this.remove(this.tail)},s.prototype.unshift=function(e){this.prepend(t(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||(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)},e.exports=s},69966:(e,t,r)=>{var n=r(27204);e.exports={generic:!0,types:n.types,atrules:n.atrules,properties:n.properties,node:r(1666)}},70114:(e,t,r)=>{var n=r(40363).TYPE,a=n.Semicolon,s=n.LeftCurlyBracket;e.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!==s&&this.scanner.tokenType!==a&&this.error("Semicolon or block is expected"),null===t&&(t=this.createList(
1)),{type:"AtrulePrelude",loc:this.getLocationFromList(t),children:t}},generate:function(e){this.children(e)},walkContext:"atrulePrelude"}},70345:(e,t,r)=>{e.exports=r(72155)},70879:(e,t,r)=>{"use strict";var n=r(28503),a={object:!0,function:!0,undefined:!0};e.exports=function(e){return!!n(e)&&hasOwnProperty.call(a,typeof e)}},71486:(e,t,r)=>{"use strict";var n=r(62894),a=Object.keys;e.exports=function(e){return a(n(e)?Object(e):e)}},71654:(e,t,r)=>{var n=r(40363).TYPE.Hash;e.exports={name:"Hash",structure:{value:String},parse:function(){var e=this.scanner.tokenStart;return this.eat(n),{type:"Hash",loc:this.getLocation(e,this.scanner.tokenStart),value:this.scanner.substrToCursor(e+1)}},generate:function(e){this.chunk("#"),this.chunk(e.value)}}},72110:(e,t,r)=>{var n=r(1476),a=function(e){for(var t="function"==typeof Uint32Array?new Uint32Array(128):Array(128),r=0;r<128;r++)t[r]=+!!e(String.fromCharCode(r));return t}(function(e){return/[a-zA-Z0-9\-]/.test(e)}),s={" ":1,"&&":2,"||":3,"|":4};function i(e){return e.substringToPos(e.findWsEnd(e.pos))}function o(e){for(var t=e.pos;t<e.str.length;t++){var r=e.str.charCodeAt(t);if(r>=128||0===a[r])break}return e.pos===t&&e.error("Expect a keyword"),e.substringToPos(t)}function l(e){for(var t=e.pos;t<e.str.length;t++){var r=e.str.charCodeAt(t);if(r<48||r>57)break}return e.pos===t&&e.error("Expect a number"),e.substringToPos(t)}function c(e){var t=null,r=null;return e.eat(123),t=l(e),44===e.charCode()?(e.pos++,125!==e.charCode()&&(r=l(e))):r=t,e.eat(125),{min:Number(t),max:r?Number(r):0}}function d(e,t){var r=function(e){var t=null,r=!1;switch(e.charCode()){case 42:e.pos++,t={min:0,max:0};break;case 43:e.pos++,t={min:1,max:0};break;case 63:e.pos++,t={min:0,max:1};break;case 35:e.pos++,r=!0,t=123===e.charCode()?c(e):{min:1,max:0};break;case 123:t=c(e);break;default:return null}return{type:"Multiplier",comma:r,min:t.min,max:t.max,term:null}}(e);return null!==r?(r.term=t,r):t}function u(e){var t=e.peek();return""===t?null:{type:"Token",value:t}}function p(e){var t=new n(e),r=function e(t){for(var r,n=[],c={},p=null,h=t.pos;r=function(t){var r,n,s,c,p=t.charCode();if(p<128&&1===a[p])return(r=o(t),40===t.charCode())?(t.pos++,{type:"Function",name:r}):d(t,{type:"Keyword",name:r});switch(p){case 93:case 42:case 43:case 63:case 35:case 33:break;case 91:return d(t,(t.eat(91),n=e(t),t.eat(93),n.explicit=!0,33===t.charCode()&&(t.pos++,n.disallowEmpty=!0),n));case 60:return 39===t.nextCharCode()?(t.eat(60),t.eat(39),s=o(t),t.eat(39),t.eat(62),d(t,{type:"Property",name:s})):function(e){var t,r,n,a,s=null;return e.eat(60),a=o(e),40===e.charCode()&&41===e.nextCharCode()&&(e.pos+=2,a+="()"),91===e.charCodeAt(e.findWsEnd(e.pos))&&(i(e),t=null,r=null,n=1,e.eat(91),45===e.charCode()&&(e.peek(),n=-1),-1==n&&8734===e.charCode()?e.peek():t=n*Number(l(e)),i(e),e.eat(44),i(e),8734===e.charCode()?e.peek():(n=1,45===e.charCode()&&(e.peek(),n=-1),r=n*Number(l(e))),e.eat(93),s=null===t&&null===r?null:{type:"Range",min:t,max:r}),e.eat(62),d(e,{type:"Type",name:a,opts:s})}(t);case 124:return{type:"Combinator",value:t.substringToPos(124===t.nextCharCode()?t.pos+2:t.pos+1)};case 38:return t.pos++,t.eat(38),{type:"Combinator",value:"&&"};case 44:return t.pos++,{type:"Comma"};case 39:return d(t,{type:"String",value:(-1===(c=t.str.indexOf("'",t.pos+1))&&(t.pos=t.str.length,t.error("Expect an apostrophe")),t.substringToPos(c+1))});case 32:case 9:case 10:case 13:case 12:return{type:"Spaces",value:i(t)};case 64:if((p=t.nextCharCode())<128&&1===a[p])return t.pos++,{type:"AtKeyword",name:o(t)};return u(t);case 123:if((p=t.nextCharCode())<48||p>57)return u(t);break;default:return u(t)}}(t);)"Spaces"!==r.type&&("Combinator"===r.type?((null===p||"Combinator"===p.type)&&(t.pos=h,t.error("Unexpected combinator")),c[r.value]=!0):null!==p&&"Combinator"!==p.type&&(c[" "]=!0,n.push({type:"Combinator",value:" "})),n.push(r),p=r,h=t.pos);return null!==p&&"Combinator"===p.type&&(t.pos-=h,t.error("Unexpected combinator")),{type:"Group",terms:n,combinator:function(e,t){function r(e,t){return{type:"Group",terms:e,combinator:t,disallowEmpty:!1,explicit:!1}}for(t=Object.keys(t).sort(function(e,t){return s[e]-s[t]});t.length>0;){for(var n=t.shift(),a=0,i=0;a<e.length;a++){var o=e[a];"Combinator"===o.type&&(o.value===n?(-1===i&&(i=a-1),e.splice(a,1),a--):(-1!==i&&a-i>1&&(e.splice(i,a-i,r(e.slice(i,a),n)),a=i+1),i=-1))}-1!==i&&t.length&&e.splice(i,a-i,r(e.slice(i,a),n))}return n}(n,c)||" ",disallowEmpty:!1,explicit:!1}}(t);return t.pos!==e.length&&t.error("Unexpected input"),1===r.terms.length&&"Group"===r.terms[0].type&&(r=r.terms[0]),r}p("[a&&<b>#|<'c'>*||e() f{2} /,(% g#{1,2} h{2,})]!"),e.exports=p},72155:e=>{e.exports={parse:function(){return this.createSingleNodeList(this.SelectorList())}}},72324:(e,t,r)=>{"use strict";var n=r(31862);e.exports=function(e){if(!n(e))throw TypeError(e+" is not an Object");return e}},72831:(e,t,r)=>{var n=r(40363).TYPE,a=r(73924).mode,s=n.WhiteSpace,i=n.Comment,o=n.Semicolon,l=n.AtKeyword,
1c=n.LeftCurlyBracket,d=n.RightCurlyBracket;function u(e){return this.Raw(e,null,!0)}function p(){return this.parseWithFallback(this.Rule,u)}function h(e){return this.Raw(e,a.semicolonIncluded,!0)}function g(){if(this.scanner.tokenType===o)return h.call(this,this.scanner.tokenIndex);var e=this.parseWithFallback(this.Declaration,h);return this.scanner.tokenType===o&&this.scanner.next(),e}e.exports={name:"Block",structure:{children:[["Atrule","Rule","Declaration"]]},parse:function(e){var t=e?g:p,r=this.scanner.tokenStart,n=this.createList();this.eat(c);e:for(;!this.scanner.eof;)switch(this.scanner.tokenType){case d:break e;case s:case i:this.scanner.next();break;case l:n.push(this.parseWithFallback(this.Atrule,u));break;default:n.push(t.call(this))}return this.scanner.eof||this.eat(d),{type:"Block",loc:this.getLocation(r,this.scanner.tokenStart),children:n}},generate:function(e){this.chunk("{"),this.children(e,function(e){"Declaration"===e.type&&this.chunk(";")}),this.chunk("}")},walkContext:"block"}},73829:e=>{e.exports={parse:{prelude:function(){return this.createSingleNodeList(this.MediaQueryList())},block:function(){return this.Block(!1)}}}},73924:(e,t,r)=>{var n=r(40363).TYPE,a=n.WhiteSpace,s=n.Semicolon,i=n.LeftCurlyBracket,o=n.Delim;function l(){return this.scanner.tokenIndex>0&&this.scanner.lookupType(-1)===a?this.scanner.tokenIndex>1?this.scanner.getTokenStart(this.scanner.tokenIndex-1):this.scanner.firstCharOffset:this.scanner.tokenStart}function c(){return 0}e.exports={name:"Raw",structure:{value:String},parse:function(e,t,r){var n,a=this.scanner.getTokenStart(e);return this.scanner.skip(this.scanner.getRawLength(e,t||c)),n=r&&this.scanner.tokenStart>a?l.call(this):this.scanner.tokenStart,{type:"Raw",loc:this.getLocation(a,n),value:this.scanner.source.substring(a,n)}},generate:function(e){this.chunk(e.value)},mode:{default:c,leftCurlyBracket:function(e){return+(e===i)},leftCurlyBracketOrSemicolon:function(e){return+(e===i||e===s)},exclamationMarkOrSemicolon:function(e,t,r){return e===o&&33===t.charCodeAt(r)?1:+(e===s)},semicolonIncluded:function(e){return 2*(e===s)}}}},74303:(e,t,r)=>{e.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:r(34072),atrule:r(2173),pseudo:r(98332),node:r(1666)}},74944:e=>{e.exports=function(){return this.createSingleNodeList(this.Raw(this.scanner.tokenIndex,null,!1))}},75884:(e,t,r)=>{var n=r(53712),a=n.TYPE,s=n.NAME,i=r(6662).cmpStr,o=a.EOF,l=a.WhiteSpace,c=a.Comment,d=function(){this.offsetAndType=null,this.balance=null,this.reset()};d.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)<this.tokenCount?this.offsetAndType[e]>>24:o},lookupOffset:function(e){return(e+=this.tokenIndex)<this.tokenCount?0xffffff&this.offsetAndType[e-1]:this.source.length},lookupValue:function(e,t){return(e+=this.tokenIndex)<this.tokenCount&&i(this.source,0xffffff&this.offsetAndType[e-1],0xffffff&this.offsetAndType[e],t)},getTokenStart:function(e){return e===this.tokenIndex?this.tokenStart:e>0?e<this.tokenCount?0xffffff&this.offsetAndType[e-1]:0xffffff&this.offsetAndType[this.tokenCount]:this.firstCharOffset},getRawLength:function(e,t){var r,n=e,a=0xffffff&this.offsetAndType[Math.max(n-1,0)];t:for(;n<this.tokenCount&&!((r=this.balance[n])<e);n++)switch(t(this.offsetAndType[n]>>24,this.source,a)){case 1:break t;case 2:n++;break t;default:this.balance[r]===n&&(n=r),a=0xffffff&this.offsetAndType[n]}return n-this.tokenIndex},isBalanceEdge:function(e){return this.balance[this.tokenIndex]<e},isDelim:function(e,t){return t?this.lookupType(t)===a.Delim&&this.source.charCodeAt(this.lookupOffset(t))===e:this.tokenType===a.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=0xffffff&this.offsetAndType[t-1],t=this.offsetAndType[t],this.tokenType=t>>24,this.tokenEnd=0xffffff&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=0xffffff&e):(this.tokenIndex=this.tokenCount,this.eof=!0,this.tokenType=o,this.tokenStart=this.tokenEnd=this.source.length)}
1,forEachToken(e){for(var t=0,r=this.firstCharOffset;t<this.tokenCount;t++){var n=r,a=this.offsetAndType[t],s=0xffffff&a,i=a>>24;r=s,e(i,n,s,t)}},dump(){var e=Array(this.tokenCount);return this.forEachToken((t,r,n,a)=>{e[a]={idx:a,type:s[t],chunk:this.source.substring(r,n),balance:this.balance[a]}}),e}},e.exports=d},77814:(e,t,r)=>{"use strict";var n=r(5382),a=Array.prototype.forEach,s=Array.prototype.splice;e.exports=function(e){a.call(arguments,function(e){var t=n.call(this,e);-1!==t&&s.call(this,t,1)},this)}},79397:(e,t,r)=>{var n=r(69683),a=r(64454),s=r(75884),i=r(61898),o=r(23413),l=r(40363),c=r(86365),d=r(84309),u=r(44736),p=r(6810),h=r(4870),g=r(7287),m=r(94118);t.create=function(e){return function e(t){var r=c(t),f=p(t),y=d(t),b=u(f),v={List:n,SyntaxError:a,TokenStream:s,Lexer:i,vendorPrefix:g.vendorPrefix,keyword:g.keyword,property:g.property,isCustomProperty:g.isCustomProperty,definitionSyntax:o,lexer:null,createLexer:function(e){return new i(e,v,v.lexer.structure)},tokenize:l,parse:r,walk:f,generate:y,find:f.find,findLast:f.findLast,findAll:f.findAll,clone:h,fromPlainObject:b.fromPlainObject,toPlainObject:b.toPlainObject,createSyntax:function(t){return e(m({},t))},fork:function(r){var n=m({},t);return e("function"==typeof r?r(n,Object.assign):m(n,r))}};return v.lexer=new i({generic:!0,types:t.types,atrules:t.atrules,properties:t.properties,node:t.node},v),v}(m({},e))}},79654:e=>{e.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)}}},79912:(e,t,r)=>{"use strict";e.exports=r(20325)()?Object.assign:r(63449)},80355:(e,t,r)=>{"use strict";var n=r(28837),a={object:!0,symbol:!0};e.exports=function(){var e,t=n.Symbol;if("function"!=typeof t)return!1;e=t("test symbol");try{String(e)}catch(e){return!1}return!!a[typeof t.iterator]&&!!a[typeof t.toPrimitive]&&!!a[typeof t.toStringTag]}},80442:(e,t,r)=>{var n=r(7287).isCustomProperty,a=r(40363).TYPE,s=r(73924).mode,i=a.Ident,o=a.Hash,l=a.Colon,c=a.Semicolon,d=a.Delim,u=a.WhiteSpace;function p(e){return this.Raw(e,s.exclamationMarkOrSemicolon,!0)}function h(e){return this.Raw(e,s.exclamationMarkOrSemicolon,!1)}function g(){var e=this.scanner.tokenIndex,t=this.Value();return"Raw"!==t.type&&!1===this.scanner.eof&&this.scanner.tokenType!==c&&!1===this.scanner.isDelim(33)&&!1===this.scanner.isBalanceEdge(e)&&this.error(),t}function m(){var e=this.scanner.tokenStart;if(this.scanner.tokenType===d)switch(this.scanner.source.charCodeAt(this.scanner.tokenStart)){case 42:case 36:case 43:case 35:case 38:this.scanner.next();break;case 47:this.scanner.next(),this.scanner.isDelim(47)&&this.scanner.next()}return this.scanner.tokenType===o?this.eat(o):this.eat(i),this.scanner.substrToCursor(e)}function f(){this.eat(d),this.scanner.skipSC();var e=this.consume(i);return"important"===e||e}e.exports={name:"Declaration",structure:{important:[Boolean,String],property:String,value:["Value","Raw"]},parse:function(){var e,t=this.scanner.tokenStart,r=this.scanner.tokenIndex,a=m.call(this),s=n(a),i=s?this.parseCustomProperty:this.parseValue,o=s?h:p,d=!1;this.scanner.skipSC(),this.eat(l);let y=this.scanner.tokenIndex;if(s||this.scanner.skipSC(),e=i?this.parseWithFallback(g,o):o.call(this,this.scanner.tokenIndex),s&&"Value"===e.type&&e.children.isEmpty()){for(let t=y-this.scanner.tokenIndex;t<=0;t++)if(this.scanner.lookupType(t)===u){e.children.appendData({type:"WhiteSpace",loc:null,value:" "});break}}return this.scanner.isDelim(33)&&(d=f.call(this),this.scanner.skipSC()),!1===this.scanner.eof&&this.scanner.tokenType!==c&&!1===this.scanner.isBalanceEdge(r)&&this.error(),{type:"Declaration",loc:this.getLocation(t,this.scanner.tokenStart),important:d,property:a,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"}},80507:(e,t,r)=>{var n=r(40363).TYPE.Ident;function a(){this.scanner.tokenType!==n&&!1===this.scanner.isDelim(42)&&this.error("Identifier or asterisk is expected"),this.scanner.next()}
1e.exports={name:"TypeSelector",structure:{name:String},parse:function(){var e=this.scanner.tokenStart;return this.scanner.isDelim(124)?(this.scanner.next(),a.call(this)):(a.call(this),this.scanner.isDelim(124)&&(this.scanner.next(),a.call(this))),{type:"TypeSelector",loc:this.getLocation(e,this.scanner.tokenStart),name:this.scanner.substrToCursor(e)}},generate:function(e){this.chunk(e.name)}}},80662:(e,t,r)=>{"use strict";var n=r(42938);e.exports=function(e){if("function"!=typeof e||!hasOwnProperty.call(e,"length"))return!1;try{if("number"!=typeof e.length||"function"!=typeof e.call||"function"!=typeof e.apply)return!1}catch(e){return!1}return!n(e)}},81729:(e,t,r)=>{var n=r(40363).TYPE,a=n.Delim,s=n.Ident,i=n.Dimension,o=n.Percentage,l=n.Number,c=n.Hash,d=n.Colon,u=n.LeftSquareBracket;e.exports={getNode:function(e){switch(this.scanner.tokenType){case u:return this.AttributeSelector();case c:return this.IdSelector();case d:if(this.scanner.lookupType(1)===d)return this.PseudoElementSelector();return this.PseudoClassSelector();case s:return this.TypeSelector();case l:case o:return this.Percentage();case i:46===this.scanner.source.charCodeAt(this.scanner.tokenStart)&&this.error("Identifier is expected",this.scanner.tokenStart+1);break;case a:switch(this.scanner.source.charCodeAt(this.scanner.tokenStart)){case 43:case 62:case 126:return e.space=null,e.ignoreWSAfter=!0,this.Combinator();case 47:return this.Combinator();case 46:return this.ClassSelector();case 42:case 124:return this.TypeSelector();case 35:return this.IdSelector()}}}}},82114:e=>{var t=function(){};function r(e){return"function"==typeof e?e:t}e.exports=function(e,n,a){var s=t,i=t;if("function"==typeof n?s=n:n&&(s=r(n.enter),i=r(n.leave)),s===t&&i===t)throw Error("Neither `enter` nor `leave` walker handler is set or both aren't a function");!function e(t){switch(s.call(a,t),t.type){case"Group":t.terms.forEach(e);break;case"Multiplier":e(t.term);break;case"Type":case"Property":case"Keyword":case"AtKeyword":case"Function":case"String":case"Token":case"Comma":break;default:throw Error("Unknown type: "+t.type)}i.call(a,t)}(e,a)}},82399:(e,t,r)=>{var n=r(40363).isWhiteSpace,a=r(40363).cmpStr,s=r(40363).TYPE,i=s.Function,o=s.Url,l=s.RightParenthesis;e.exports={name:"Url",structure:{value:["String","Raw"]},parse:function(){var e,t=this.scanner.tokenStart;switch(this.scanner.tokenType){case o:for(var r=t+4,s=this.scanner.tokenEnd-1;r<s&&n(this.scanner.source.charCodeAt(r));)r++;for(;r<s&&n(this.scanner.source.charCodeAt(s-1));)s--;e={type:"Raw",loc:this.getLocation(r,s),value:this.scanner.source.substring(r,s)},this.eat(o);break;case i:a(this.scanner.source,this.scanner.tokenStart,this.scanner.tokenEnd,"url(")||this.error("Function name must be `url`"),this.eat(i),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(")")}}},82487:(e,t,r)=>{"use strict";var n=r(80662),a=/^\s*class[\s{/}]/,s=Function.prototype.toString;e.exports=function(e){return!(!n(e)||a.test(s.call(e)))}},82739:(e,t,r)=>{e.exports=r(79397).create(function(){for(var e={},t=0;t<arguments.length;t++){var r=arguments[t];for(var n in r)e[n]=r[n]}return e}(r(69966),r(74303),r(13018))),e.exports.version=r(2713).version},83766:(e,t,r)=>{var n=r(40363).TYPE,a=n.String,s=n.Ident,i=n.Url,o=n.Function,l=n.LeftParenthesis;
1e.exports={parse:{prelude:function(){var e=this.createList();switch(this.scanner.skipSC(),this.scanner.tokenType){case a:e.push(this.String());break;case i:case o:e.push(this.Url());break;default:this.error("String or url() is expected")}return(this.lookupNonWSType(0)===s||this.lookupNonWSType(0)===l)&&(e.push(this.WhiteSpace()),e.push(this.MediaQueryList())),e},block:null}}},84309:(e,t,r)=>{var n=r(29130),a=Object.prototype.hasOwnProperty;function s(e,t){var r=e.children,n=null;"function"!=typeof t?r.forEach(this.node,this):r.forEach(function(e){null!==n&&t.call(this,n),this.node(e),n=e},this)}e.exports=function(e){function t(e){if(a.call(r,e.type))r[e.type].call(this,e);else throw Error("Unknown node type: "+e.type)}var r={};if(e.node)for(var i in e.node)r[i]=e.node[i].generate;return function(e,r){var a="",i={children:s,node:t,chunk:function(e){a+=e},result:function(){return a}};return r&&("function"==typeof r.decorator&&(i=r.decorator(i)),r.sourceMap&&(i=n(i))),i.node(e),i.result()}}},85883:(e,t,r)=>{var n=r(40363).TYPE,a=n.LeftSquareBracket,s=n.RightSquareBracket;e.exports={name:"Brackets",structure:{children:[[]]},parse:function(e,t){var r=this.scanner.tokenStart,n=null;return this.eat(a),n=e.call(this,t),this.scanner.eof||this.eat(s),{t
1ype:"Brackets",loc:this.getLocation(r,this.scanner.tokenStart),children:n}},generate:function(e){this.chunk("["),this.children(e),this.chunk("]")}}},86137:(e,t)=>{t.getArg=function(e,t,r){if(t in e)return e[t];if(3==arguments.length)return r;throw Error('"'+t+'" is a required argument.')};var r=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/,n=/^data:.+\,.+$/;function a(e){var t=e.match(r);return t?{scheme:t[1],auth:t[2],host:t[3],port:t[4],path:t[5]}:null}function s(e){var t="";return e.scheme&&(t+=e.scheme+":"),t+="//",e.auth&&(t+=e.auth+"@"),e.host&&(t+=e.host),e.port&&(t+=":"+e.port),e.path&&(t+=e.path),t}function i(e){var r=e,n=a(e);if(n){if(!n.path)return e;r=n.path}for(var i,o=t.isAbsolute(r),l=r.split(/\/+/),c=0,d=l.length-1;d>=0;d--)"."===(i=l[d])?l.splice(d,1):".."===i?c++:c>0&&(""===i?(l.splice(d+1,c),c=0):(l.splice(d,2),c--));return(""===(r=l.join("/"))&&(r=o?"/":"."),n)?(n.path=r,s(n)):r}function o(e,t){""===e&&(e="."),""===t&&(t=".");var r=a(t),o=a(e);if(o&&(e=o.path||"/"),r&&!r.scheme)return o&&(r.scheme=o.scheme),s(r);if(r||t.match(n))return t;if(o&&!o.host&&!o.path)return o.host=t,s(o);var l="/"===t.charAt(0)?t:i(e.replace(/\/+$/,"")+"/"+t);return o?(o.path=l,s(o)):l}t.urlParse=a,t.urlGenerate=s,t.normalize=i,t.join=o,t.isAbsolute=function(e){return"/"===e.charAt(0)||r.test(e)},t.relative=function(e,t){""===e&&(e="."),e=e.replace(/\/$/,"");for(var r=0;0!==t.indexOf(e+"/");){var n=e.lastIndexOf("/");if(n<0||(e=e.slice(0,n)).match(/^([^\/]+:\/)?\/*$/))return t;++r}return Array(r+1).join("../")+t.substr(e.length+1)};var l=!("__proto__"in Object.create(null));function c(e){return e}function d(e){if(!e)return!1;var t=e.length;if(t<9||95!==e.charCodeAt(t-1)||95!==e.charCodeAt(t-2)||111!==e.charCodeAt(t-3)||116!==e.charCodeAt(t-4)||111!==e.charCodeAt(t-5)||114!==e.charCodeAt(t-6)||112!==e.charCodeAt(t-7)||95!==e.charCodeAt(t-8)||95!==e.charCodeAt(t-9))return!1;for(var r=t-10;r>=0;r--)if(36!==e.charCodeAt(r))return!1;return!0}function u(e,t){return e===t?0:null===e?1:null===t?-1:e>t?1:-1}t.toSetString=l?c:function(e){return d(e)?"$"+e:e},t.fromSetString=l?c:function(e){return d(e)?e.slice(1):e},t.compareByOriginalPositions=function(e,t,r){var n=u(e.source,t.source);return 0!==n||0!=(n=e.originalLine-t.originalLine)||0!=(n=e.originalColumn-t.originalColumn)||r||0!=(n=e.generatedColumn-t.generatedColumn)||0!=(n=e.generatedLine-t.generatedLine)?n:u(e.name,t.name)},t.compareByGeneratedPositionsDeflated=function(e,t,r){var n=e.generatedLine-t.generatedLine;return 0!==n||0!=(n=e.generatedColumn-t.generatedColumn)||r||0!==(n=u(e.source,t.source))||0!=(n=e.originalLine-t.originalLine)||0!=(n=e.originalColumn-t.originalColumn)?n:u(e.name,t.name)},t.compareByGeneratedPositionsInflated=function(e,t){var r=e.generatedLine-t.generatedLine;return 0!==r||0!=(r=e.generatedColumn-t.generatedColumn)||0!==(r=u(e.source,t.source))||0!=(r=e.originalLine-t.originalLine)||0!=(r=e.originalColumn-t.originalColumn)?r:u(e.name,t.name)},t.parseSourceMapInput=function(e){return JSON.parse(e.replace(/^\)]}'[^\n]*\n/,""))},t.computeSourceURL=function(e,t,r){if(t=t||"",e&&("/"!==e[e.length-1]&&"/"!==t[0]&&(e+="/"),t=e+t),r){var n=a(r);if(!n)throw Error("sourceMapURL could not be parsed");if(n.path){var l=n.path.lastIndexOf("/");l>=0&&(n.path=n.path.substring(0,l+1))}t=o(s(n),t)}return i(t)}},86365:(e,t,r)=>{var n=r(96482),a=r(64454),s=r(75884),i=r(69683),o=r(40363),l=r(53712),{findWhiteSpaceStart:c,cmpStr:d}=r(6662),u=r(42236),p=function(){},h=l.TYPE,g=l.NAME,m=h.WhiteSpace,f=h.Comment,y=h.Ident,b=h.Function,v=h.Url,x=h.Hash,k=h.Percentage,w=h.Number;e.exports=function(e){var t={scanner:new s,locationMap:new n,filename:"<unknown>",needPositions:!1,onParseError:p,onParseErrorThrow:!1,parseAtrulePrelude:!0,parseRulePrelude:!0,parseValue:!0,parseCustomProperty:!1,readSequence:u,createList:function(){return new i},createSingleNodeList:function(e){return new i().appendData(e)},getFirstListNode:function(e){return e&&e.first()},getLastListNode:function(e){return e.last()},parseWithFallback:function(e,t){var r=this.scanner.tokenIndex;try{return e.call(this)}catch(e){if(this.onParseErrorThrow)throw e;var n=t.call(this,r);return this.onParseErrorThrow=!0,this.onParseError(e,n),this.onParseErrorThrow=!1,n}},lookupNonWSType:function(e){do{var t=this.scanner.lookupType(e++);if(t!==m)return t}while(0!==t);return 0},eat:function(e){if(this.scanner.tokenType!==e){var t=this.scanner.tokenStart,r=g[e]+" is expected";switch(e){case y:this.scanner.tokenType===b||this.scanner.tokenType===v?(t=this.scanner.tokenEnd-1,r="Identifier is expected but function found"):r="Identifier is expected";break;case x:this.scanner.isDelim(35)&&(this.scanner.next(),t++,r="Name is expected");break;case k:this.scanner.tokenType===w&&(t=this.scanner.tokenEnd,r="Percent sign is expected");break;default:this.scanner.source.charCodeAt(this.scanner.tokenStart)===e&&(t+=1)}this.error(r,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(b),e}
1,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),r=this.getLastListNode(e);return this.locationMap.getLocationRange(null!==t?t.loc.start.offset-this.locationMap.startOffset:this.scanner.tokenStart,null!==r?r.loc.end.offset-this.locationMap.startOffset:this.scanner.tokenStart,this.filename)}return null},error:function(e,t){var r=void 0!==t&&t<this.scanner.source.length?this.locationMap.getLocation(t):this.scanner.eof?this.locationMap.getLocation(c(this.scanner.source,this.scanner.source.length-1)):this.locationMap.getLocation(this.scanner.tokenStart);throw new a(e||"Unexpected input",this.scanner.source,r.offset,r.line,r.column)}};for(var r in e=function(e){var t={context:{},scope:{},atrule:{},pseudo:{}};if(e.parseContext)for(var r in e.parseContext)switch(typeof e.parseContext[r]){case"function":t.context[r]=e.parseContext[r];break;case"string":t.context[r]=function(e){return function(){return this[e]()}}(e.parseContext[r])}if(e.scope)for(var r in e.scope)t.scope[r]=e.scope[r];if(e.atrule)for(var r in e.atrule){var n=e.atrule[r];n.parse&&(t.atrule[r]=n.parse)}if(e.pseudo)for(var r in e.pseudo){var a=e.pseudo[r];a.parse&&(t.pseudo[r]=a.parse)}if(e.node)for(var r in e.node)t[r]=e.node[r].parse;return t}(e||{}))t[r]=e[r];return function(e,r){var n,a=(r=r||{}).context||"default",s=r.onComment;if(o(e,t.scanner),t.locationMap.setSource(e,r.offset,r.line,r.column),t.filename=r.filename||"<unknown>",t.needPositions=!!r.positions,t.onParseError="function"==typeof r.onParseError?r.onParseError:p,t.onParseErrorThrow=!1,t.parseAtrulePrelude=!("parseAtrulePrelude"in r)||!!r.parseAtrulePrelude,t.parseRulePrelude=!("parseRulePrelude"in r)||!!r.parseRulePrelude,t.parseValue=!("parseValue"in r)||!!r.parseValue,t.parseCustomProperty="parseCustomProperty"in r&&!!r.parseCustomProperty,!t.context.hasOwnProperty(a))throw Error("Unknown context `"+a+"`");return"function"==typeof s&&t.scanner.forEachToken((r,n,a)=>{if(r===f){let r=t.getLocation(n,a);s(d(e,a-2,a,"*/")?e.slice(n+2,a-2):e.slice(n+2,a),r)}}),n=t.context[a].call(t,r),t.scanner.eof||t.error(),n}}},86818:(e,t,r)=>{e.exports=r(48024)},86871:(e,t,r)=>{"use strict";var n=r(30145);e.exports=function(e){if(!n(e))throw TypeError(e+" is not a symbol");return e}},87110:(e,t,r)=>{"use strict";e.exports=r(80355)()?r(28837).Symbol:r(88477)},88305:(e,t,r)=>{e.exports=r(82739)},88447:(e,t,r)=>{var n=r(40363).TYPE.Number;e.exports={name:"Number",structure:{value:String},parse:function(){return{type:"Number",loc:this.getLocation(this.scanner.tokenStart,this.scanner.tokenEnd),value:this.consume(n)}},generate:function(e){this.chunk(e.value)}}},88477:(e,t,r)=>{"use strict";var n,a,s,i=r(98811),o=r(86871),l=r(28837).Symbol,c=r(45027),d=r(48605),u=r(52584),p=Object.create,h=Object.defineProperties,g=Object.defineProperty;if("function"==typeof l)try{String(l()),s=!0}catch(e){}else l=null;a=function(e){if(this instanceof a)throw TypeError("Symbol is not a constructor");return n(e)},e.exports=n=function e(t){if(this instanceof e)throw TypeError("Symbol is not a constructor");return s?l(t):h(p(a.prototype),{__description__:i("",t=void 0===t?"":String(t)),__name__:i("",c(t))})},d(n),u(n),h(a.prototype,{constructor:i(n),toString:i("",function(){return this.__name__})}),h(n.prototype,{toString:i(function(){return"Symbol ("+o(this).__description__+")"}),valueOf:i(function(){return o(this)})}),g(n.prototype,n.toPrimitive,i("",function(){var e=o(this);return"symbol"==typeof e?e:e.toString()})),g(n.prototype,n.toStringTag,i("c","Symbol")),g(a.prototype,n.toStringTag,i("c",n.prototype[n.toStringTag])),g(a.prototype,n.toPrimitive,i("c",n.prototype[n.toPrimitive]))},88827:e=>{"use strict";e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function");return e}},88891:(e,t,r)=>{"use strict";function n(e){let t;if(e){if(void 0!==e.getBoundingClientRect)t=e.getBoundingClientRect();else{let r=document.createRange();r.selectNode(e),t=r.getBoundingClientRect()}return t}}function a(){var e=new Date().getTime();return"undefined"!=typeof performance&&"function"==typeof performance.now&&(e+=performance.now()),"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(t){var r=(e+16*Math.random())%16|0;return e=Math.floor(e/16),("x"===t?r:3&r|8).toString(16)})}function s(e,t){for(var r=0;r<t.length;r++)if(e.hasAttribute(t[r]))return e.getAttribute(t[r])}function i(e){if(0==arguments.length)throw TypeError("`CSS.escape` requires an argument.");for(var t,r=String(e),n=r.length,a=-1,s="",i=r.charCodeAt(0);++a<n;){if(0==(t=r.charCodeAt(a))){s+="�";continue}if(t>=1&&t<=31||127==t||0==a&&t>=48&&t<=57||1==a&&t>=48&&t<=57&&45==i){s+="\\"+t.toString(16)+" ";continue}if(0==a&&1==n&&45==t){s+="\\"+r.charAt(a);continue}if(46==t&&"#"==r.charAt(0)){s+="\\.";continue}if(t>=128||45==t||95==t||35==t||46==t||t>=48&&t<=57||t>=65&&t<=90||t>=97&&t<=122){s+=r.charAt(a);continue}s+="\\"+r.charAt(a)}return s}function o(){this.resolve=null,this.reject=null,this.id=a(),this.promise=new Promise((e,t)=>
1{this.resolve=e,this.reject=t}),Object.freeze(this)}r.r(t),r.d(t,{Chunker:()=>U,Handler:()=>X,Polisher:()=>Q,Previewer:()=>eA,initializeHandlers:()=>eC,registerHandlers:()=>ej,registeredHandlers:()=>ew});let l="undefined"!=typeof window&&("requestIdleCallback"in window?window.requestIdleCallback:window.requestAnimationFrame);function c(e){return e.value+(e.unit||"")}function d(e){return e&&1===e.nodeType}function u(e){return e&&3===e.nodeType}function*p(e,t){let r=e;for(;r;)if(yield r,r.childNodes.length)r=r.firstChild;else if(r.nextSibling){if(t&&r===t){r=void 0;break}r=r.nextSibling}else for(;r;){if(r=r.parentNode,t&&r===t){r=void 0;break}if(r&&r.nextSibling){r=r.nextSibling;break}}}function h(e,t){if(t&&e===t)return;let r=D(e);if(r)return r;if(e.parentNode)for(;e=e.parentNode;){if(t&&e===t)return;if(r=D(e))return r}}function g(e,t){if(t&&e===t)return;let r=T(e);if(r)return r;if(e.parentNode)for(;e=e.parentNode;){if(t&&e===t)return;if(r=T(e))return r}}function m(e,t){let r=h(e,t);for(;r&&1!==r.nodeType;)r=h(r,t);return r}function f(e,t){let r=g(e,t);for(;r&&1!==r.nodeType;)r=g(r,t);return r}function y(e,t){let r=m(e,t);for(;r&&r.dataset.undisplayed;)r=m(r,t);return r}function b(e){let t,r,n=[],a=[],s=document.createDocumentFragment();if("TR"===e.nodeName){let t=e.previousElementSibling,r=1;for(;t;){if(t.childElementCount>e.childElementCount){let n=Array.from(e.children);for(;e.firstChild;)e.firstChild.remove();let a=0;for(let s=0;s<t.children.length;s++){let i=t.children[s];if(i.rowSpan&&i.rowSpan>r){let t=i.cloneNode(!0);t.rowSpan=i.rowSpan-r,e.appendChild(t)}else{let t=n[a++];t&&e.appendChild(t)}}}t=t.previousElementSibling,r++}}let i=e;for(;i.parentNode&&1===i.parentNode.nodeType;)n.unshift(i.parentNode),i=i.parentNode;for(var o=0;o<n.length;o++){if((t=(r=n[o]).cloneNode(!1)).setAttribute("data-split-from",t.getAttribute("data-ref")),t.hasAttribute("id")){let e=t.getAttribute("id");t.setAttribute("data-id",e),t.removeAttribute("id")}if(t.hasAttribute("data-break-before")&&t.removeAttribute("data-break-before"),t.hasAttribute("data-previous-break-after")&&t.removeAttribute("data-previous-break-after"),a.length?a[a.length-1].appendChild(t):s.appendChild(t),a.push(t),"TD"===t.nodeName&&r.parentElement.contains(r)){let e=r,n=t;
1for(;e=e.previousElementSibling;){let r=e.cloneNode(!1);t.parentElement.insertBefore(r,n),n=r}}}return a=void 0,s}function v(e){return void 0!==e&&void 0!==e.dataset&&void 0!==e.dataset.breakBefore&&("always"===e.dataset.breakBefore||"page"===e.dataset.breakBefore||"left"===e.dataset.breakBefore||"right"===e.dataset.breakBefore||"recto"===e.dataset.breakBefore||"verso"===e.dataset.breakBefore)||!1}function x(e,t){if(void 0===e||!t||A(e)||e.dataset&&e.dataset.undisplayed)return!1;let r=t.dataset?t.dataset.page:void 0;if(void 0===r){let e=P(t);e&&(r=e.dataset.page)}let n=e.dataset?e.dataset.page:void 0;if(void 0===n){let r=P(e,t);r&&(n=r.dataset.page)}return n!==r}function k(e){let t;if(void 0===e.tagName)return!0;if(e.style&&"none"===e.style.display)return!1;switch(e.tagName){case"A":case"ABBR":case"ACRONYM":case"B":case"BDO":case"BIG":case"BR":case"BUTTON":case"CITE":case"CODE":case"DFN":case"EM":case"I":case"IMG":case"INPUT":case"KBD":case"LABEL":case"MAP":case"OBJECT":case"Q":case"SAMP":case"SCRIPT":case"SELECT":case"SMALL":case"SPAN":case"STRONG":case"SUB":case"SUP":case"TEXTAREA":case"TIME":case"TT":case"VAR":case"P":case"H1":case"H2":case"H3":case"H4":case"H5":case"H6":case"FIGCAPTION":case"BLOCKQUOTE":case"PRE":case"LI":case"TD":case"DT":case"DD":case"VIDEO":case"CANVAS":t=!1;break;default:t=!0}return t}function w(e,t,r){var n,a;return n=e.getAttribute("data-ref"),a=t,!r&&a.indexOfRefs&&a.indexOfRefs[n]?a.indexOfRefs[n]:a.querySelector(`[data-ref='${n}']`)}function S(e){return!!(u(e)||d(e)&&e.dataset.ref)}function j(e){for(;!S(e)&&(e=e.previousSibling?e.previousSibling:e.parentNode););return e}function C(e,t){return e.childNodes[t]}function _(e,t){if(!u(e))return -1;let r=e.textContent,n=-1;for(var a=0;a<t.childNodes.length;a++)if(3===t.childNodes[a].nodeType&&t.childNodes[a].textContent.includes(r)){n=a;break}return n}function A(e){var t;return 8===e.nodeType||3===e.nodeType&&(t=e,!/[^\t\n\r ]/.test(t.textContent))}function T(e){for(;e=e.previousSibling;)if(!A(e))return e;return null}function P(e,t){if(e&&e.dataset&&e.dataset.page)return e;if(e.parentNode)for(;e=e.parentNode;){if(t&&e===t)return;if(e.dataset&&e.dataset.page)return e}return null}function L(e,t,r){if((!r||e!==r)&&e.parentNode)for(;e=e.parentNode;){if(r&&e===r)return;if(e.nodeName===t)return e}}function D(e){for(;e=e.nextSibling;)if(!A(e))return e;return null}function E(e,t,r){let n,a,s=document.createTreeWalker(e||this.dom,r||NodeFilter.SHOW_ALL,t?{acceptNode:t}:null,!1);for(n=s.nextNode();n;)a=n,n=s.nextNode(),a.parentNode.removeChild(a)}class R{constructor(e,t){this.node=e,this.offset=t}equals(e){return!!e&&(!this.node||!e.node||this.node===e.node)&&(!this.offset||!e.offset||this.offset===e.offset)}toJSON(e){let t,r=0;return this.node?(d(this.node)&&this.node.dataset.ref?t=this.node.dataset.ref:e&&(t=this.node.parentElement.dataset.ref),this.node.parentElement&&(r=Array.from(this.node.parentElement.childNodes).indexOf(this.node)),JSON.stringify({node:t,index:r,offset:this.offset})):{}}}class z{constructor(e,t){this.breakToken=e,this.error=t}}class O extends Error{constructor(e,t){super(e),this.items=t}}var N=r(44876);class M{constructor(e){this.context=e||this,this.hooks=[]}register(){for(var e=0;e<arguments.length;++e)if("function"==typeof arguments[e])this.hooks.push(arguments[e]);else for(var t=0;t<arguments[e].length;++t)this.hooks.push(arguments[e][t])}trigger(){var e=arguments,t=this.context,r=[];return this.hooks.forEach(function(n){var a=n.apply(t,e);a&&"function"==typeof a.then?r.push(a):r.push(new Promise((e,t)=>{e(a)}))}),Promise.all(r)}triggerSync(){var e=arguments,t=this.context,r=[];return this.hooks.forEach(function(n){var a=n.apply(t,e);r.push(a)}),r}list(){return this.hooks}clear(){return this.hooks=[]}}class I{constructor(e,t,r){this.element=e,this.bounds=this.element.getBoundingClientRect(),this.parentBounds=this.element.offsetParent.getBoundingClientRect();let n=parseFloat(window.getComputedStyle(this.element).columnGap);if(n){let e=this.bounds.left-this.parentBounds.left;this.gap=n-e}else this.gap=0;t?this.hooks=t:(this.hooks={},this.hooks.onPageLayout=new M,this.hooks.layout=new M,this.hooks.renderNode=new M,this.hooks.layoutNode=new M,this.hooks.beforeOverflow=new M,this.hooks.onOverflow=new M,this.hooks.afterOverflowRemoved=new M,this.hooks.onBreakToken=new M,this.hooks.beforeRenderResult=new M),this.settings=r||{},this.maxChars=this.settings.maxChars||1500,this.forceRenderBreak=!1}async renderTo(e,t,r,n=this.bounds){let a,s,i,o,l,c=this.getStart(t,r),g=p(c,t),m=!1,f=0,y=r||new R(c);for(this.hooks&&this.hooks.onPageLayout.trigger(e,y,this);!i&&!l;){var b;if(o=g.next(),s=a,a=o.value,i=o.done,!a){this.hooks&&this.hooks.layout.trigger(e,this);let r=e.querySelectorAll("img");if(r.length&&await this.waitForImages(r),(l=this.findBreakToken(e,t,n,y))&&l.equals(y))return console.warn("Unable to layout item: ",s),this.hooks&&this.hooks.beforeRenderResult.trigger(void 0,e,this),new z(void 0,new O("Unable to layout item",[s]));return this.rebuildTableFromBreakToken(l,e),this.hooks&&this.hooks.beforeRenderResult.trigger(l,e,this),new z(l)}if(this.hooks&&this.hooks.layoutNode.trigger(a),m&&this.shouldBreak(a,c
1)){this.hooks&&this.hooks.layout.trigger(e,this);let r=e.querySelectorAll("img");if(r.length&&await this.waitForImages(r),(l=this.findBreakToken(e,t,n,y))?this.rebuildTableFromBreakToken(l,e):l=this.breakAt(a),l&&l.equals(y)){console.warn("Unable to layout item: ",a);let e=l.node&&h(l.node);if(!e)return new z(void 0,new O("Unable to layout item",[a]));l=new R(e)}f=0;break}if(a.dataset&&a.dataset.page){let e=a.dataset.page,t=this.element.closest(".pagedjs_page");t.classList.add("pagedjs_named_page"),t.classList.add("pagedjs_"+e+"_page"),a.dataset.splitFrom||t.classList.add("pagedjs_"+e+"_first_page")}let v=k(a);if(f+=this.append(a,e,r,v).textContent.length,m||(m=!!d(b=a)||!!u(b)&&!!b.textContent.trim().length),v||(g=p(h(a,t),t)),this.forceRenderBreak){this.hooks&&this.hooks.layout.trigger(e,this),(l=this.findBreakToken(e,t,n,y))?this.rebuildTableFromBreakToken(l,e):l=this.breakAt(a),f=0,this.forceRenderBreak=!1;break}if(f>=this.maxChars){this.hooks&&this.hooks.layout.trigger(e,this);let r=e.querySelectorAll("img");if(r.length&&await this.waitForImages(r),(l=this.findBreakToken(e,t,n,y))&&(f=0,this.rebuildTableFromBreakToken(l,e)),l&&l.equals(y)){console.warn("Unable to layout item: ",a);let t=l.node&&h(l.node);if(!t)return this.hooks&&this.hooks.beforeRenderResult.trigger(void 0,e,this),new z(void 0,new O("Unable to layout item",[a]));l=new R(t)}}}return this.hooks&&this.hooks.beforeRenderResult.trigger(l,e,this),new z(l)}breakAt(e,t=0){let r=new R(e,t);return this.hooks.onBreakToken.triggerSync(r,void 0,e,this).forEach(e=>{void 0!==e&&(r=e)}),r}shouldBreak(e,t){let r,n=g(e,t),a=e.parentNode;return v(e)&&a&&!n&&v(a)&&(r=e.dataset.breakBefore===a.dataset.breakBefore),!r&&v(e)||void 0!==e&&void 0!==e.dataset&&void 0!==e.dataset.previousBreakAfter&&("always"===e.dataset.previousBreakAfter||"page"===e.dataset.previousBreakAfter||"left"===e.dataset.previousBreakAfter||"right"===e.dataset.previousBreakAfter||"recto"===e.dataset.previousBreakAfter||"verso"===e.dataset.previousBreakAfter)||x(e,n)}forceBreak(){this.forceRenderBreak=!0}getStart(e,t){let r=t&&t.node;return r||e.firstChild}append(e,t,r,n=!0,a=!0){let s=function(e,t=!1){return e.cloneNode(t)}(e,!n);if(e.parentNode&&d(e.parentNode)){let n=w(e.parentNode,t);if(n)n.appendChild(s);else if(a){let a=b(e);(n=w(e.parentNode,a))?(r&&u(r.node)&&r.offset>0&&(s.textContent=s.textContent.substring(r.offset)),n.appendChild(s)):t.appendChild(s),t.appendChild(a)}else t.appendChild(s)}else t.appendChild(s);return s.dataset&&s.dataset.ref&&(t.indexOfRefs||(t.indexOfRefs={}),t.indexOfRefs[s.dataset.ref]=s),this.hooks.renderNode.triggerSync(s,e,this).forEach(e=>{void 0!==e&&(s=e)}),s}rebuildTableFromBreakToken(e,t){if(!e||!e.node)return;let r=e.node,n=d(r)?r.closest("td"):r.parentElement.closest("td");if(n){if(!w(n,t,!0))return;for(;n=n.nextElementSibling;)this.append(n,t,null,!0)}}async waitForImages(e){let t=Array.from(e).map(async e=>this.awaitImageLoaded(e));await Promise.all(t)}async awaitImageLoaded(e){return new Promise(t=>{if(!0!==e.complete)e.onload=function(){let{width:r,height:n}=window.getComputedStyle(e);t(r,n)},e.onerror=function(r){let{width:n,height:a}=window.getComputedStyle(e);t(n,a,r)};else{let{width:r,height:n}=window.getComputedStyle(e);t(r,n)}})}avoidBreakInside(e,t){let r;if(e!==t){for(;e.parentNode&&(e=e.parentNode)!==t;)if("avoid"===window.getComputedStyle(e)["break-inside"]){r=e;break}return r}}createBreakToken(e,t,r){let n,a,s,i,o,l=e.startContainer,c=e.startOffset;if(d(l))if(d(o=C(l,c)))if(a=w(o,t))n=w(a,r),c=0;else{let e=j(o);if(d(e)||(e=e.parentElement),a=w(e,t),!o.nextSibling){let e=w(a,r);if(!w(document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT).lastChild(),t))return}n=w(a,r).nextSibling,c=0}else(a=w(l,t))||(a=w(j(l),t)),n=0===(i=_(o,s=w(a,r)))?s:C(s,i),c=0;else{if((a=w(l.parentNode,t))||(a=w(j(l.parentNode),t)),-1===(i=_(l,s=w(a,r))))return;c+=(n=C(s,i)).textContent.indexOf(l.textContent)}if(n)return new R(n,c)}findBreakToken(e,t,r=this.bounds,n,a=!0){let s,i,o=this.findOverflow(e,r);if(this.hooks.onOverflow.triggerSync(o,e,r,this).forEach(e=>{void 0!==e&&(o=e)}),o){if(s=this.createBreakToken(o,e,t),this.hooks.onBreakToken.triggerSync(s,o,e,this).forEac
1h(e=>{void 0!==e&&(s=e)}),s&&s.equals(n))return s;if(i=s&&s.node&&s.offset&&s.node.textContent?s.node.textContent.charAt(s.offset):void 0,s&&s.node&&a){let t=this.removeOverflow(o,i);this.hooks&&this.hooks.afterOverflowRemoved.trigger(t,e,this)}}return s}hasOverflow(e,t=this.bounds){let r=e&&e.parentNode,{width:n,height:a}=e.getBoundingClientRect(),s=r?r.scrollWidth:0,i=r?r.scrollHeight:0;return Math.max(Math.floor(n),s)>Math.round(t.width)||Math.max(Math.floor(a),i)>Math.round(t.height)}findOverflow(e,t=this.bounds,r=this.gap){let a,s,i,o,l,c,m,f;if(!this.hasOverflow(e,t))return;let y=Math.floor(t.left),b=Math.round(t.right+r),v=Math.round(t.top),x=Math.round(t.bottom),k=p(e.firstChild,e);for(;!i;)if(i=(s=k.next()).done,o=s.value,c=!1,m=void 0,f=void 0,o){let t=n(o),r=Math.round(t.left),i=Math.floor(t.right),S=Math.round(t.top),j=Math.floor(t.bottom);if(!a&&(r>=b||S>=x)){let t,r=!1,n=L(o,"TD",e);if(n&&"avoid"===window.getComputedStyle(n)["break-inside"])m=n.parentElement;else if(d(o)){let t=window.getComputedStyle(o);r="none"!==t.getPropertyValue("float"),c="avoid"===t.getPropertyValue("break-inside"),m=("avoid"===o.dataset.breakBefore||"avoid"===o.dataset.previousBreakAfter)&&g(o,e),f="BR"===o.tagName||"WBR"===o.tagName}if(t="TR"===o.nodeName?o:L(o,"TR",e)){let r=t.parentElement;["TBODY","THEAD"].includes(r.nodeName)&&"avoid"===window.getComputedStyle(r).getPropertyValue("break-inside")&&(m=r);let n=L(t,"TABLE",e),a=n.querySelector("[colspan]");if(n&&a){let e=0;for(let t of Array.from(n.rows[0].cells))e+=parseInt(t.getAttribute("colspan")||"1");if(t.cells.length!==e){let r,n=t.previousElementSibling;for(;null!==n;){for(let e of(r=0,Array.from(n.cells)))r+=parseInt(e.getAttribute("colspan")||"1");if(r===e)break;n=n.previousElementSibling}r===e&&(m=n)}}}if(m){(a=document.createRange()).selectNode(m);break}if(!f&&!r&&d(o)||u(o)&&o.textContent.trim().length){(a=document.createRange()).selectNode(o);break}}if(!a&&u(o)&&o.textContent.trim().length&&!function(e){for(;e=e.parentNode;)if(e&&e.dataset&&"avoid"===e.dataset.breakInside)return e;return null}(o.parentNode)){let e,t=function(e){let t;if(e){if(void 0!==e.getClientRects)t=e.getClientRects();else{let r=document.createRange();r.selectNode(e),t=r.getClientRects()}return t}}(o);r=0,S=0;for(var w=0;w!=t.length;w++)(e=t[w]).width>0&&(!r||e.left>r)&&(r=e.left),e.height>0&&(!S||e.top>S)&&(S=e.top);if(r>=b||S>=x){a=document.createRange(),(l=this.textBreak(o,y,b,v,x))?a.setStart(o,l):a=void 0;break}}(c||i<=b&&j<=x)&&(s=h(o,e))&&(k=p(s,e))}if(a)return a.setEndAfter(e.lastChild),a}findEndToken(e,t){let r;if(0===e.childNodes.length)return;let n=e.lastChild;for(;n&&n.lastChild;)if(S(n))if(S(n.lastChild))n=n.lastChild;else{n=j(n.lastChild);break}else n=n.previousSibling;if(u(n))if(n.parentNode.dataset.ref){var a;let e;r=(e=(a=n).parentNode)?Array.prototype.indexOf.call(e.childNodes,a):0,n=n.parentNode}else n=n.previousSibling;let s=w(n,t);r&&(s=s.childNodes[r]);let i=h(s);return this.breakAt(i)}textBreak(e,t,r,a,s){let i,o,l,c,d,u=function*(e){let t,r,n=e.nodeValue,a=n.length,s=0,i=e.parentElement&&"PRE"===e.parentElement.nodeName;for(;s<a;)t=n[s],/^[\S\u202F\u00A0]$/.test(t)||i?r||(r=document.createRange()).setStart(e,s):r&&(r.setEnd(e,s),yield r,r=void 0),s+=1;r&&(r.setEnd(e,s),yield r)}(e),p=0,h=0,g=0,m=0;for(;!l&&(i=(o=u.next()).value,l=o.done,i);){if(p=Math.floor((c=n(i)).left),h=Math.floor(c.right),g=Math.floor(c.top),m=Math.floor(c.bottom),p>=r||g>=s){d=i.startOffset;break}if(h>r||m>s){let e,t,a,o=function*(e){let t,r=e.startContainer,n=r.length,a=e.startOffset;for(;a<n;)(t=document.createRange()).setStart(r,a),t.setEnd(r,a+1),yield t,a+=1}(i);for(;!a&&(e=(t=o.next()).value,a=t.done,e);)if(p=Math.floor((c=n(e)).left),g=Math.floor(c.top),p>=r||g>=s){d=e.startOffset,l=!0;break}}}return d}removeOverflow(e,t){let{startContainer:r}=e,n=e.extractContents();return this.hyphenateAtBreak(r,t),n}hyphenateAtBreak(e,t){if(u(e)){let r=e.textContent,n=r[r.length-1];(t&&/^\w|\u00AD$/.test(n)&&/^\w|\u00AD$/.test(t)||!t&&/^\w|\u00AD$/.test(n))&&(e.parentNode.classList.add("pagedjs_hyphen"),e.textContent+=this.settings.hyphenGlyph||"â")}}equalTokens(e,t){return!!e&&!!t&&(!e.node||!t.node||e.node===t.node)&&(!e.offset||!t.offset||e.offset===t.offset)}}N(I.prototype);class B{constructor(e,t,r,n,a){this.pagesArea=e,this.pageTemplate=t,this.blank=r,this.width=void 0,this.height=void 0,this.hooks=n,this.settings=a||{}}create(e,t){let r,n,a=document.importNode(this.pageTemplate.content,!0);t?(this.pagesArea.insertBefore(a,t.nextElementSibling),n=Array.prototype.indexOf.call(this.pagesArea.children,t.nextElementSibling),r=this.pagesArea.children[n]):(this.pagesArea.appendChild(a),r=this.pagesArea.lastChild);let s=r.querySelector(".pagedjs_pagebox"),i=r.querySelector(".pagedjs_page_content"),o=r.querySelector(".pagedjs_footnote_area"),l=i.getBoundingClientRect();return i.style.columnWidth=Math.round(l.width)+"px",i.style.columnGap="calc(var(--pagedjs-margin-right) + var(--pagedjs-margin-left) + var(--pagedjs-bleed-right) + var(--pagedjs-bleed-left) + var(--pagedjs-column-gap-offset))",this.width=Math.round(l.width),this.height=Math.round(l.height),this.element=r,this.pagebox=s,this.area=i,this.footnotesArea=o,r}createWrapper(){let e=document.createElement("div");return this.area.appendChild(e),this.wrapper=e,e}index(e){this.position=e;let t=this.element,r=e+1,n=`page-${r}`;this.id=n,t.dataset.pageNumber=r,t.setAttribute("id",n),this.name&&t.classList.add("pagedjs_"+this.name+"_page"),this.blank&&t.classList.add("pagedjs_blank_page"),0===e&&t.classList.add("pagedjs_first_page"),e%2!=1?(t.classList.remove("pagedjs_left_page"),t.classList.add("pagedjs_right_page")):(t.classList.remove("pagedjs_right_page"),t.classList.add("pagedjs_left_page"))}async layout(e,t,r){this.clear(),this.startToken=t;let n=this.settings;!n.maxChars&&r&&(n.maxChars=r),this.layoutMethod=new I(this.area,this.hooks,n);let a=(await this.layoutMethod.renderTo(this.wrapper,e,t)).breakToken;return this.addListeners(e),this.endToken=a,a}async append(e,t){if(!this.layoutMethod)return this.layout(e,t);let r=(await this.layoutMethod.renderTo(this.wrapper,e,t)).breakToken;return this.endToken=r,r}getByParent(e,t){let r;for(var n=0;n<t.length;n++)if((r=t[n]).dataset.ref===e)return r}onOverflow(e){this._onOverflow=e}onUnderflow(e){this._onUnderflow=e}clear(){this.removeListeners(),this.wrapper&&this.wrapper.remove(),this.createWrapper()}addListeners(e){return"undefined"!=typeof ResizeObserver?this.addResizeObserver(e):(this._checkOverflowAfterResize=this.checkOverflowAfterResize.bind(this,e),this.element.addEventListener("overflow",this._checkOverflowAfterResize,!1),this.element.addEventListener("underflow",this._checkOverflowAfterResize,!1)),this._onScroll=(function(){this.listening&&(this.element.scrollLeft=0)}).bind(this),this.element.addEventListener("scroll",this._onScroll),this.listening=!0,!0}removeListeners(){this.listening=!1,"undefined"!=typeof ResizeObserver&&this.ro?this.ro.disconnect():this.element&&(this.element.removeEventListener("overflow",this._checkOverflowAfterResize,!1),this.element.removeEventListener("underflow",this._checkOverflowAfterResize,!1)),this.element&&this.element.removeEventListener("scroll",this._onScroll)}addResizeObserver(e){let t=this.wrapper,r=t.getBoundingClientRect().height;this.ro=new ResizeObserver(n=>{this.listening&&requestAnimationFrame(()=>{for(let a of n){let n=a.contentRect;n.height>r?(this.checkOverflowAfterResize(e),r=t.getBoundingClientRect().height):n.height<r&&(this.checkUnderflowAfterResize(e),r=n.height)}})}),this.ro.observe(t)}checkOverflowAfterResize(e){if(!this.listening||!this.layoutMethod)return;let t=this.layoutMethod.findBreakToken(this.wrapper,e,this.startToken);t&&(this.endToken=t,this._onOverflow&&this._onOverflow(t))}checkUnderflowAfterResize(e){if(!this.listening||!this.layoutMethod)return;let t=this.layoutMethod.findEndToken(this.wrapper,e);t&&this._onUnderflow&&this._onUnderflow(t)}destroy(){this.removeListeners(),this.element.remove(),this.element=void 0,this.wrapper=void 0}}N(B.prototype);class W{constructor(e,t){return e&&e.nodeType?this.dom=this.add(e):"string"==typeof e&&(this.dom=this.parse(e)),this.dom}parse(e,t){let r=document.createRange().createContextualFragment(e);return this.addRefs(r),r}add(e){return this.addRefs(e),e}addRefs(e){var t=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,null,!1);let r=t.nextNode();for(;r;){if(!r.hasAttribute("data-ref")){let e=a();r.setAttribute("data-ref",e)}r.id&&r.setAttribute("data-id",r.id),r=t.nextNode()}}find(e){return this.refs[e]}destroy(){this.refs=void 0,this.dom=void 0}}class q{constructor(e){this._q=[],this.context=e,this.tick=requestAnimationFrame,this.running=!1,this.paused=!1}enqueue(){var e,t,r,n=[].shift.call(arguments),a=arguments;if(!n)throw Error("No Task Provided");return"function"==typeof n?(t=(e=new o).promise,r={task:n,args:a,deferred:e,promise:t}):r={promise:n},this._q.push(r),!1!=this.paused||this.running||this.run(),r.promise}dequeue(){var e,t,r;return!this._q.length||this.paused?((e=new o).deferred.resolve(),e.promise):(t=(e=this._q.shift()).task)?(r=t.apply(this.context,e.args))&&"function"==typeof r.then?r.then((function(){e.deferred.resolve.apply(this.context,arguments)}).bind(this),(function(){e.deferred.reject.apply(this.context,arguments)}).bind(this)):(e.deferred.resolve.apply(this.context,r),e.promise):e.promise?e.promise:void 0}dump(){for(;this._q.length;)this.dequeue()}run(){return this.running||(this.running=!0,this.defered=new o),this.tick.call(window,()=>{this._q.length?this.dequeue().then((function(){this.run()}).bind(this)):(this.defered.resolve(),this.running=void 0)}),!0==this.paused&&(this.paused=!1),this.defered.promise}flush(){return this.running?this.running:this._q.length?(this.running=this.dequeue().then((function(){return this.running=void 0,this.flush()}).bind(this)),this.running):void 0}clear(){this._q=[]}length(){return this._q.length}pause(){this.paused=!0}stop(){this._q=[],this.running=!1,this.paused=!0}}let F=` 2<div class="pagedjs_page"> 3 <div class="pagedjs_sheet"> 4 <div class="pagedjs_bleed pagedjs_bleed-top"> 5 <div class="pagedjs_marks-crop"></div> 6 <div class="pagedjs_marks-middle"> 7 <div class="pagedjs_marks-cross"></div> 8 </div> 9 <div class="pagedjs_marks-crop"></div> 10 </div> 11 <div class="pagedjs_bleed pagedjs_bleed-bottom"> 12 <div class="pagedjs_marks-crop"></div> 13 <div class="pagedjs_marks-middle"> 14 <div class="pagedjs_marks-cross"></div> 15 </div> <div class="pagedjs_marks-crop"></div> 16 </div> 17 <div class="pagedjs_bleed pagedjs_bleed-left"> 18 <div class="pagedjs_marks-crop"></div> 19 <div class="pagedjs_marks-middle"> 20 <div class="pagedjs_marks-cross"></div> 21 </div> <div class="pagedjs_marks-crop"></div> 22 </div> 23 <div class="pagedjs_bleed pagedjs_bleed-right"> 24 <div class="pagedjs_marks-crop"></div> 25 <div class="pagedjs_marks-middle"> 26 <div class="pagedjs_marks-cross"></div> 27 </div> 28 <div class="pagedjs_marks-crop"></div> 29 </div> 30 <div class="pagedjs_pagebox"> 31 <div class="pagedjs_margin-top-left-corner-holder"> 32 <div class="pagedjs_margin pagedjs_margin-top-left-corner"><div class="pagedjs_margin-content"></div></div> 33 </div> 34 <div class="pagedjs_margin-top"> 35 <div class="pagedjs_margin pagedjs_margin-top-left"><div class="pagedjs_margin-content"></div></div> 36 <div class="pagedjs_margin pagedjs_margin-top-center"><div class="pagedjs_margin-content"></div></div> 37 <div class="pagedjs_margin pagedjs_margin-top-right"><div class="pagedjs_margin-content"></div></div> 38 </div> 39 <div class="pagedjs_margin-top-right-corner-holder"> 40 <div class="pagedjs_margin pagedjs_margin-top-right-corner"><div class="pagedjs_margin-content"></div></div> 41 </div> 42 <div class="pagedjs_margin-right"> 43 <div class="pagedjs_margin pagedjs_margin-right-top"><div class="pagedjs_margin-content"></div></div> 44 <div class="pagedjs_margin pagedjs_margin-right-middle"><div class="pagedjs_margin-content"></div></div> 45 <div class="pagedjs_margin pagedjs_margin-right-bottom"><div class="pagedjs_margin-content"></div></div> 46 </div> 47 <div class="pagedjs_margin-left"> 48 <div class="pagedjs_margin pagedjs_margin-left-top"><div class="pagedjs_margin-content"></div></div> 49 <div class="pagedjs_margin pagedjs_margin-left-middle"><div class="pagedjs_margin-content"></div></div> 50 <div class="pagedjs_margin pagedjs_margin-left-bottom"><div class="pagedjs_margin-content"></div></div> 51 </div> 52 <div class="pagedjs_margin-bottom-left-corner-holder"> 53 <div class="pagedjs_margin pagedjs_margin-bottom-left-corner"><div class="pagedjs_margin-content"></div></div> 54 </div> 55 <div class="pagedjs_margin-bottom"> 56 <div class="pagedjs_margin pagedjs_margin-bottom-left"><div class="pagedjs_margin-content"></div></div> 57 <div class="pagedjs_margin pagedjs_margin-bottom-center"><div class="pagedjs_margin-content"></div></div> 58 <div class="pagedjs_margin pagedjs_margin-bottom-right"><div class="pagedjs_margin-content"></div></div> 59 </div> 60 <div class="pagedjs_margin-bottom-right-corner-holder"> 61 <div class="pagedjs_margin pagedjs_margin-bottom-right-corner"><div class="pagedjs_margin-content"></div></div> 62 </div> 63 <div class="pagedjs_area"> 64 <div class="pagedjs_page_content"></div> 65 <div class="pagedjs_footnote_area"> 66 <div class="pagedjs_footnote_content pagedjs_footnote_empty"> 67 <div class="pagedjs_footnote_inner_content"></div> 68 </div>
69 </div> 70 </div> 71 </div> 72 </div> 73</div>`;class V{constructor(e,t,r){this.settings=r||{},this.hooks={},this.hooks.beforeParsed=new M(this),this.hooks.filter=new M(this),this.hooks.afterParsed=new M(this),this.hooks.beforePageLayout=new M(this),this.hooks.onPageLayout=new M(this),this.hooks.layout=new M(this),this.hooks.renderNode=new M(this),this.hooks.layoutNode=new M(this),this.hooks.onOverflow=new M(this),this.hooks.afterOverflowRemoved=new M(this),this.hooks.onBreakToken=new M,this.hooks.beforeRenderResult=new M(this),this.hooks.afterPageLayout=new M(this),this.hooks.finalizePage=new M(this),this.hooks.afterRendered=new M(this),this.pages=[],this.total=0,this.q=new q(this),this.stopped=!1,this.rendered=!1,this.content=e,this.charsPerBreak=[],this.maxChars,e&&this.flow(e,t)}setup(e){this.pagesArea=document.createElement("div"),this.pagesArea.classList.add("pagedjs_pages"),e?e.appendChild(this.pagesArea):document.querySelector("body").appendChild(this.pagesArea),this.pageTemplate=document.createElement("template"),this.pageTemplate.innerHTML=F}async flow(e,t){let r;await this.hooks.beforeParsed.trigger(e,this),r=new W(e),this.hooks.filter.triggerSync(r),this.source=r,this.breakToken=void 0,this.pagesArea&&this.pageTemplate?(this.q.clear(),this.removePages()):this.setup(t),this.emit("rendering",r),await this.hooks.afterParsed.trigger(r,this),await this.loadFonts();let n=await this.render(r,this.breakToken);for(;n.canceled;)this.start(),n=await this.render(r,this.breakToken);return this.rendered=!0,this.pagesArea.style.setProperty("--pagedjs-page-count",this.total),await this.hooks.afterRendered.trigger(this.pages,this),this.emit("rendered",this.pages),this}async render(e,t){let r,n=this.layout(e,t),a=!1;for(;!a;)if(a=(r=await this.q.enqueue(()=>this.renderAsync(n))).done,0){this.stop();break}return r}start(){this.rendered=!1,this.stopped=!1}stop(){this.stopped=!0}renderOnIdle(e){return new Promise(t=>{l(async()=>{if(this.stopped)return t({done:!0,canceled:!0});let r=await e.next();this.stopped?t({done:!0,canceled:!0}):t(r)})})}async renderAsync(e){if(this.stopped)return{done:!0,canceled:!0};let t=await e.next();return this.stopped?{done:!0,canceled:!0}:t}async handleBreaks(e,t){let r,n,a,s=this.total+1,i=s%2==0?"left":"right",o=s%2==0?"verso":"recto";1!==s&&(e&&void 0!==e.dataset&&void 0!==e.dataset.previousBreakAfter&&(r=e.dataset.previousBreakAfter),e&&void 0!==e.dataset&&void 0!==e.dataset.breakBefore&&(n=e.dataset.breakBefore),t||r&&("left"===r||"right"===r)&&r!==i||r&&("verso"===r||"recto"===r)&&r!==o||n&&("left"===n||"right"===n)&&n!==i?a=this.addPage(!0):n&&("verso"===n||"recto"===n)&&n!==o&&(a=this.addPage(!0)),a&&(await this.hooks.beforePageLayout.trigger(a,void 0,void 0,this),this.emit("page",a),await this.hooks.afterPageLayout.trigger(a.element,a,void 0,this),await this.hooks.finalizePage.trigger(a.element,a,void 0,this),this.emit("renderedPage",a)))}async *layout(e,t){let r=t||!1,n=[];for(;void 0!==r;){r&&r.node?await this.handleBreaks(r.node):await this.handleBreaks(e.firstChild);let t=this.addPage();if(await this.hooks.beforePageLayout.trigger(t,e,r,this),this.emit("page",t),r=await t.layout(e,r,this.maxChars)){let e=r.toJSON(!0);if(n.lastIndexOf(e)>-1){let e=new O("Layout repeated",[r.node]);return console.error("Layout repeated at: ",r.node),e}n.push(e)}await this.hooks.afterPageLayout.trigger(t.element,t,r,this),await this.hooks.finalizePage.trigger(t.element,t,void 0,this),this.emit("renderedPage",t),this.recoredCharLength(t.wrapper.textContent.length),yield r}}recoredCharLength(e){0!==e&&(this.charsPerBreak.push(e),this.charsPerBreak.length>4&&this.charsPerBreak.shift(),this.maxChars=this.charsPerBreak.reduce((e,t)=>e+t,0)/this.charsPerBreak.length)}removePages(e=0){if(!(e>=this.pages.length)){for(let t=e;t<this.pages.length;t++)this.pages[t].destroy();e>0?this.pages.splice(e):this.pages=[],this.total=this.pages.length}}addPage(e){let t=this.pages[this.pages.length-1],r=new B(this.pagesArea,this.pageTemplate,e,this.hooks,this.settings);return this.pages.push(r),r.create(void 0,t&&t.element),r.index(this.total),e||(r.onOverflow(e=>{if(console.warn("overflow on",r.id,e),this.rendered)return;let t=this.pages.indexOf(r)+1;this.stop(),this.breakToken=e,this.removePages(t),!0===this.rendered&&(this.rendered=!1,this.q.enqueue(async()=>{this.start(),await this.render(this.source,this.breakToken),this.rendered=!0}))}),r.onUnderflow(e=>{})),this.total=this.pages.length,r}async clonePage(e){let t=this.pages[this.pages.length-1],r=new B(this.pagesArea,this.pageTemplate,!1,this.hooks);for(let n of(this.pages.push(r),r.create(void 0,t&&t.element),r.index(this.total),await this.hooks.beforePageLayout.trigger(r,void 0,void 0,this),this.emit
73("page",r),e.element.classList))"pagedjs_left_page"!==n&&"pagedjs_right_page"!==n&&r.element.classList.add(n);await this.hooks.afterPageLayout.trigger(r.element,r,void 0,this),await this.hooks.finalizePage.trigger(r.element,r,void 0,this),this.emit("renderedPage",r)}loadFonts(){let e=[];return(document.fonts||[]).forEach(t=>{if("loaded"!==t.status){let r=t.load().then(e=>t.family,e=>(console.warn("Failed to preload font-family:",t.family),t.family));e.push(r)}}),Promise.all(e).catch(e=>{console.warn(e)})}destroy(){this.pagesArea.remove(),this.pageTemplate.remove()}}N(V.prototype);let U=V;var G=r(88305);class H{constructor(e,t){t?this.hooks=t:(this.hooks={},this.hooks.onUrl=new M(this),this.hooks.onAtPage=new M(this),this.hooks.onAtMedia=new M(this),this.hooks.onRule=new M(this),this.hooks.onDeclaration=new M(this),this.hooks.onSelector=new M(this),this.hooks.onPseudoSelector=new M(this),this.hooks.onContent=new M(this),this.hooks.onImport=new M(this),this.hooks.beforeTreeParse=new M(this),this.hooks.beforeTreeWalk=new M(this),this.hooks.afterTreeWalk=new M(this));try{this.url=new URL(e,window.location.href)}catch(e){this.url=new URL(window.location.href)}}async parse(e){return this.text=e,await this.hooks.beforeTreeParse.trigger(this.text,this),this.ast=G.parse(this._text),await this.hooks.beforeTreeWalk.trigger(this.ast),this.replaceUrls(this.ast),this.id=a(),this.replaceIds(this.ast),this.imported=[],this.urls(this.ast),this.rules(this.ast),this.atrules(this.ast),await this.hooks.afterTreeWalk.trigger(this.ast,this),this.ast}insertRule(e){let t=this.ast.children.appendData(e);return this.declarations(e),t}urls(e){G.walk(e,{visit:"Url",enter:(e,t,r)=>{this.hooks.onUrl.trigger(e,t,r)}})}atrules(e){G.walk(e,{visit:"Atrule",enter:(e,t,r)=>{let n=G.keyword(e.name).basename;"page"===n&&(this.hooks.onAtPage.trigger(e,t,r),this.declarations(e,t,r)),"media"===n&&(this.hooks.onAtMedia.trigger(e,t,r),this.declarations(e,t,r)),"import"===n&&(this.hooks.onImport.trigger(e,t,r),this.imports(e,t,r))}})}rules(e){G.walk(e,{visit:"Rule",enter:(e,t,r)=>{this.hooks.onRule.trigger(e,t,r),this.declarations(e,t,r),this.onSelector(e,t,r)}})}declarations(e,t,r){G.walk(e,{visit:"Declaration",enter:(n,a,s)=>{this.hooks.onDeclaration.trigger(n,a,s,{ruleNode:e,ruleItem:t,rulelist:r}),"content"===n.property&&G.walk(n,{visit:"Function",enter:(i,o,l)=>{this.hooks.onContent.trigger(i,o,l,{declarationNode:n,dItem:a,dList:s},{ruleNode:e,ruleItem:t,rulelist:r})}})}})}onSelector(e,t,r){G.walk(e,{visit:"Selector",enter:(n,a,s)=>{this.hooks.onSelector.trigger(n,a,s,{ruleNode:e,ruleItem:t,rulelist:r}),n.children.forEach(i=>{"PseudoElementSelector"===i.type&&G.walk(i,{visit:"PseudoElementSelector",enter:(i,o,l)=>{this.hooks.onPseudoSelector.trigger(i,o,l,{selectNode:n,selectItem:a,selectList:s},{ruleNode:e,ruleItem:t,rulelist:r})}})})}})}replaceUrls(e){G.walk(e,{visit:"Url",enter:(e,t,r)=>{let n=e.value.value;if("Raw"===e.value.type&&n.startsWith("data:")||"String"===e.value.type&&(n.startsWith('"data:')||n.startsWith("'data:")));else{let t=new URL(n.replace(/["']/g,""),this.url);e.value.value=t.toString()}}})}addScope(e,t){G.walk(e,{visit:"Selector",enter:(e,r,n)=>{let a=e.children;a.prepend(a.createItem({type:"WhiteSpace",value:" "})),a.prepend(a.createItem({type:"IdSelector",name:t,loc:null,children:null}))}})}getNamedPageSelectors(e){let t={};return G.walk(e,{visit:"Rule",enter:(e,r,n)=>{G.walk(e,{visit:"Declaration",enter:(r,n,a)=>{if("page"===r.property){let n=r.value.children.first(),a=n.name,s=G.generate(e.prelude);t[a]={name:a,selector:s},r.property="break-before",n.type="Identifier",n.name="always"}}})}}),t}replaceIds(e){G.walk(e,{visit:"Rule",enter:(e,t,r)=>{G.walk(e,{visit:"IdSelector",enter:(e,t,r)=>{let n=e.name;e.flags=null,e.matcher="=",e.name={type:"Identifier",loc:null,name:"data-id"},e.type="AttributeSelector",e.value={type:"String",loc:null,value:`"${n}"`}}})}})}imports(e,t,r){let n=[];G.walk(e,{visit:"MediaQuery",enter:(e,t,r)=>{G.walk(e,{visit:"Identifier",enter:(e,t,r)=>{n.push(e.name)}})}}),n.some((e,t)=>{let r=e;return"not"===r?"screen"!==(r=n[t+1])&&"speech"!==r:"screen"===r||"speech"===r})||G.walk(e,{visit:"String",enter:(e,n,a)=>{let s=new URL(e.value.replace(/["']/g,""),this.url).toString();this.imported.push(s),r.remove(t)}})}set text(e){this._text=e}get text(){return this._text}toString(e){return G.generate(e||this.ast)}}let $=
vendor: 23,514 bytes, lines 73-778
73` 74:root { 75 --pagedjs-width: 8.5in; 76 --pagedjs-height: 11in; 77 --pagedjs-width-right: 8.5in; 78 --pagedjs-height-right: 11in; 79 --pagedjs-width-left: 8.5in; 80 --pagedjs-height-left: 11in; 81 --pagedjs-pagebox-width: 8.5in; 82 --pagedjs-pagebox-height: 11in; 83 --pagedjs-footnotes-height: 0mm; 84 --pagedjs-margin-top: 1in; 85 --pagedjs-margin-right: 1in; 86 --pagedjs-margin-bottom: 1in; 87 --pagedjs-margin-left: 1in; 88 --pagedjs-padding-top: 0mm; 89 --pagedjs-padding-right: 0mm; 90 --pagedjs-padding-bottom: 0mm; 91 --pagedjs-padding-left: 0mm; 92 --pagedjs-border-top: 0mm; 93 --pagedjs-border-right: 0mm; 94 --pagedjs-border-bottom: 0mm; 95 --pagedjs-border-left: 0mm; 96 --pagedjs-bleed-top: 0mm; 97 --pagedjs-bleed-right: 0mm; 98 --pagedjs-bleed-bottom: 0mm; 99 --pagedjs-bleed-left: 0mm; 100 --pagedjs-bleed-right-top: 0mm; 101 --pagedjs-bleed-right-right: 0mm; 102 --pagedjs-bleed-right-bottom: 0mm; 103 --pagedjs-bleed-right-left: 0mm; 104 --pagedjs-bleed-left-top: 0mm; 105 --pagedjs-bleed-left-right: 0mm; 106 --pagedjs-bleed-left-bottom: 0mm; 107 --pagedjs-bleed-left-left: 0mm; 108 --pagedjs-crop-color: black; 109 --pagedjs-crop-shadow: white; 110 --pagedjs-crop-offset: 2mm; 111 --pagedjs-crop-stroke: 1px; 112 --pagedjs-cross-size: 5mm; 113 --pagedjs-mark-cross-display: none; 114 --pagedjs-mark-crop-display: none; 115 --pagedjs-page-count: 0; 116 --pagedjs-page-counter-increment: 1; 117 --pagedjs-footnotes-count: 0; 118 --pagedjs-column-gap-offset: 1000px; 119} 120 121@page { 122 size: letter; 123 margin: 0; 124} 125 126.pagedjs_sheet { 127 box-sizing: border-box; 128 width: var(--pagedjs-width); 129 height: var(--pagedjs-height); 130 overflow: hidden; 131 position: relative; 132 display: grid; 133 grid-template-columns: [bleed-left] var(--pagedjs-bleed-left) [sheet-center] calc(var(--pagedjs-width) - var(--pagedjs-bleed-left) - var(--pagedjs-bleed-right)) [bleed-right] var(--pagedjs-bleed-right); 134 grid-template-rows: [bleed-top] var(--pagedjs-bleed-top) [sheet-middle] calc(var(--pagedjs-height) - var(--pagedjs-bleed-top) - var(--pagedjs-bleed-bottom)) [bleed-bottom] var(--pagedjs-bleed-bottom); 135} 136 137.pagedjs_right_page .pagedjs_sheet { 138 width: var(--pagedjs-width-right); 139 height: var(--pagedjs-height-right); 140 grid-template-columns: [bleed-left] var(--pagedjs-bleed-right-left) [sheet-center] calc(var(--pagedjs-width) - var(--pagedjs-bleed-right-left) - var(--pagedjs-bleed-right-right)) [bleed-right] var(--pagedjs-bleed-right-right); 141 grid-template-rows: [bleed-top] var(--pagedjs-bleed-right-top) [sheet-middle] calc(var(--pagedjs-height) - var(--pagedjs-bleed-right-top) - var(--pagedjs-bleed-right-bottom)) [bleed-bottom] var(--pagedjs-bleed-right-bottom); 142} 143 144.pagedjs_left_page .pagedjs_sheet { 145 width: var(--pagedjs-width-left); 146 height: var(--pagedjs-height-left); 147 grid-template-columns: [bleed-left] var(--pagedjs-bleed-left-left) [sheet-center] calc(var(--pagedjs-width) - var(--pagedjs-bleed-left-left) - var(--pagedjs-bleed-left-right)) [bleed-right] var(--pagedjs-bleed-left-right); 148 grid-template-rows: [bleed-top] var(--pagedjs-bleed-left-top) [sheet-middle] calc(var(--pagedjs-height) - var(--pagedjs-bleed-left-top) - var(--pagedjs-bleed-left-bottom)) [bleed-bottom] var(--pagedjs-bleed-left-bottom); 149} 150 151.pagedjs_bleed { 152 display: flex; 153 align-items: center; 154 justify-content: center; 155 flex-wrap: nowrap; 156 overflow: hidden; 157} 158 159.pagedjs_bleed-top { 160 grid-column: bleed-left / -1; 161 grid-row: bleed-top; 162 flex-direction: row; 163} 164 165.pagedjs_bleed-bottom { 166 grid-column: bleed-left / -1; 167 grid-row: bleed-bottom; 168 flex-direction: row; 169} 170 171.pagedjs_bleed-left { 172 grid-column: bleed-left; 173 grid-row: bleed-top / -1; 174 flex-direction: column; 175} 176 177.pagedjs_bleed-right { 178 grid-column: bleed-right; 179 grid-row: bleed-top / -1; 180 flex-direction: column; 181} 182 183.pagedjs_marks-crop { 184 display: var(--pagedjs-mark-crop-display); 185 flex-grow: 0; 186 flex-shrink: 0; 187 z-index: 9999999999; 188} 189 190.pagedjs_bleed-top .pagedjs_marks-crop:nth-child(1), 191.pagedjs_bleed-bottom .pagedjs_marks-crop:nth-child(1) { 192 width: calc(var(--pagedjs-bleed-left) - var(--pagedjs-crop-stroke)); 193 border-right: var(--pagedjs-crop-stroke) solid var(--pagedjs-crop-color); 194 box-shadow: 1px 0px 0px 0px var(--pagedjs-crop-shadow); 195} 196 197.pagedjs_right_page .pagedjs_bleed-top .pagedjs_marks-crop:nth-child(1), 198.pagedjs_right_page .pagedjs_bleed-bottom .pagedjs_marks-crop:nth-child(1) { 199 width: calc(var(--pagedjs-bleed-right-left) - var(--pagedjs-crop-stroke)); 200} 201 202.pagedjs_left_page .pagedjs_bleed-top .pagedjs_marks-crop:nth-child(1), 203.pagedjs_left_page .pagedjs_bleed-bottom .pagedjs_marks-crop:nth-child(1) { 204 width: calc(var(--pagedjs-bleed-left-left) - var(--pagedjs-crop-stroke)); 205} 206 207.pagedjs_bleed-top .pagedjs_marks-crop:nth-child(3), 208.pagedjs_bleed-bottom .pagedjs_marks-crop:nth-child(3) { 209 width: calc(var(--pagedjs-bleed-right) - var(--pagedjs-crop-stroke)); 210 border-left: var(--pagedjs-crop-stroke) solid var(--pagedjs-crop-color); 211 box-shadow: -1px 0px 0px 0px var(--pagedjs-crop-shadow); 212} 213 214.pagedjs_right_page .pagedjs_bleed-top .pagedjs_marks-crop:nth-child(3), 215.pagedjs_right_page .pagedjs_bleed-bottom .pagedjs_marks-crop:nth-child(3) { 216 width: calc(var(--pagedjs-bleed-right-right) - var(--pagedjs-crop-stroke)); 217} 218 219.pagedjs_left_page .pagedjs_bleed-top .pagedjs_marks-crop:nth-child(3), 220.pagedjs_left_page .pagedjs_bleed-bottom .pagedjs_marks-crop:nth-child(3) { 221 width: calc(var(--pagedjs-bleed-left-right) - var(--pagedjs-crop-stroke)); 222} 223 224.pagedjs_bleed-top .pagedjs_marks-crop { 225 align-self: flex-start; 226 height: calc(var(--pagedjs-bleed-top) - var(--pagedjs-crop-offset)); 227} 228 229.pagedjs_right_page .pagedjs_bleed-top .pagedjs_marks-crop { 230 height: calc(var(--pagedjs-bleed-right-top) - var(--pagedjs-crop-offset)); 231} 232 233.pagedjs_left_page .pagedjs_bleed-top .pagedjs_marks-crop { 234 height: calc(var(--pagedjs-bleed-left-top) - var(--pagedjs-crop-offset)); 235} 236 237.pagedjs_bleed-bottom .pagedjs_marks-crop { 238 align-self: flex-end; 239 height: calc(var(--pagedjs-bleed-bottom) - var(--pagedjs-crop-offset)); 240} 241 242.pagedjs_right_page .pagedjs_bleed-bottom .pagedjs_marks-crop { 243 height: calc(var(--pagedjs-bleed-right-bottom) - var(--pagedjs-crop-offset)); 244} 245 246.pagedjs_left_page .pagedjs_bleed-bottom .pagedjs_marks-crop { 247 height: calc(var(--pagedjs-bleed-left-bottom) - var(--pagedjs-crop-offset)); 248} 249 250.pagedjs_bleed-left .pagedjs_marks-crop:nth-child(1), 251.pagedjs_bleed-right .pagedjs_marks-crop:nth-child(1) { 252 height: calc(var(--pagedjs-bleed-top) - var(--pagedjs-crop-stroke)); 253 border-bottom: var(--pagedjs-crop-stroke) solid var(--pagedjs-crop-color); 254 box-shadow: 0px 1px 0px 0px var(--pagedjs-crop-shadow); 255} 256 257.pagedjs_right_page .pagedjs_bleed-left .pagedjs_marks-crop:nth-child(1), 258.pagedjs_right_page .pagedjs_bleed-right .pagedjs_marks-crop:nth-child(1) { 259 height: calc(var(--pagedjs-bleed-right-top) - var(--pagedjs-crop-stroke)); 260} 261 262.pagedjs_left_page .pagedjs_bleed-left .pagedjs_marks-crop:nth-child(1), 263.pagedjs_left_page .pagedjs_bleed-right .pagedjs_marks-crop:nth-child(1) { 264 height: calc(var(--pagedjs-bleed-left-top) - var(--pagedjs-crop-stroke)); 265} 266 267.pagedjs_bleed-left .pagedjs_marks-crop:nth-child(3), 268.pagedjs_bleed-right .pagedjs_marks-crop:nth-child(3) { 269 height: calc(var(--pagedjs-bleed-bottom) - var(--pagedjs-crop-stroke)); 270 border-top: var(--pagedjs-crop-stroke) solid var(--pagedjs-crop-color); 271 box-shadow: 0px -1px 0px 0px var(--pagedjs-crop-shadow); 272} 273 274.pagedjs_right_page .pagedjs_bleed-left .pagedjs_marks-crop:nth-child(3), 275.pagedjs_right_page .pagedjs_bleed-right .pagedjs_marks-crop:nth-child(3) { 276 height: calc(var(--pagedjs-bleed-right-bottom) - var(--pagedjs-crop-stroke)); 277} 278 279.pagedjs_left_page .pagedjs_bleed-left .pagedjs_marks-crop:nth-child(3), 280.pagedjs_left_page .pagedjs_bleed-right .pagedjs_marks-crop:nth-child(3) { 281 height: calc(var(--pagedjs-bleed-left-bottom) - var(--pagedjs-crop-stroke)); 282} 283 284.pagedjs_bleed-left .pagedjs_marks-crop { 285 width: calc(var(--pagedjs-bleed-left) - var(--pagedjs-crop-offset)); 286 align-self: flex-start; 287} 288 289.pagedjs_right_page .pagedjs_bleed-left .pagedjs_marks-crop { 290 width: calc(var(--pagedjs-bleed-right-left) - var(--pagedjs-crop-offset)); 291} 292 293.pagedjs_left_page .pagedjs_bleed-left .pagedjs_marks-crop { 294 width: calc(var(--pagedjs-bleed-left-left) - var(--pagedjs-crop-offset)); 295} 296 297.pagedjs_bleed-right .pagedjs_marks-crop { 298 width: calc(var(--pagedjs-bleed-right) - var(--pagedjs-crop-offset)); 299 align-self: flex-end; 300} 301 302.pagedjs_right_page .pagedjs_bleed-right .pagedjs_marks-crop { 303 width: calc(var(--pagedjs-bleed-right-right) - var(--pagedjs-crop-offset)); 304} 305 306.pagedjs_left_page .pagedjs_bleed-right .pagedjs_marks-crop { 307 width: calc(var(--pagedjs-bleed-left-right) - var(--pagedjs-crop-offset)); 308} 309 310.pagedjs_marks-middle { 311 display: flex; 312 flex-grow: 1; 313 flex-shrink: 0; 314 align-items: center; 315 justify-content: center; 316} 317 318.pagedjs_marks-cross { 319 display: var(--pagedjs-mark-cross-display); 320 background-image: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz48IURPQ1RZUEUgc3ZnIFBVQkxJQyAiLS8vVzNDLy9EVEQgU1ZHIDEuMS8vRU4iICJodHRwOi8vd3d3LnczLm9yZy9HcmFwaGljcy9TVkcvMS4xL0RURC9zdmcxMS5kdGQiPjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iTGF5ZXJfMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeD0iMHB4IiB5PSIwcHgiIHdpZHRoPSIzMi41MzdweCIgaGVpZ2h0PSIzMi41MzdweCIgdmlld0JveD0iMC4xMDQgMC4xMDQgMzIuNTM3IDMyLjUzNyIgZW5hYmxlLWJhY2tncm91bmQ9Im5ldyAwLjEwNCAwLjEwNCAzMi41MzcgMzIuNTM3IiB4bWw6c3BhY2U9InByZXNlcnZlIj48cGF0aCBmaWxsPSJub25lIiBzdHJva2U9IiNGRkZGRkYiIHN0cm9rZS13aWR0aD0iMy4zODkzIiBzdHJva2UtbWl0ZXJsaW1pdD0iMTAiIGQ9Ik0yOS45MzEsMTYuMzczYzAsNy40ODktNi4wNjgsMTMuNTYtMTMuNTU4LDEzLjU2Yy03LjQ4MywwLTEzLjU1Ny02LjA3Mi0xMy41NTctMTMuNTZjMC03LjQ4Niw2LjA3NC0xMy41NTQsMTMuNTU3LTEzLjU1NEMyMy44NjIsMi44MTksMjkuOTMxLDguODg3LDI5LjkzMSwxNi4zNzN6Ii8+PGxpbmUgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjRkZGRkZGIiBzdHJva2Utd2lkdGg9IjMuMzg5MyIgc3Ryb2tlLW1pdGVybGltaXQ9IjEwIiB4MT0iMC4xMDQiIHkxPSIxNi4zNzMiIHgyPSIzMi42NDIiIHkyPSIxNi4zNzMiLz48bGluZSBmaWxsPSJub25lIiBzdHJva2U9IiNGRkZGRkYiIHN0cm9rZS13aWR0aD0iMy4zODkzIiBzdHJva2UtbWl0ZXJsaW1pdD0iMTAiIHgxPSIxNi4zNzMiIHkxPSIwLjEwNCIgeDI9IjE2LjM3MyIgeTI9IjMyLjY0MiIvPjxwYXRoIGZpbGw9Im5vbmUiIHN0cm9rZT0iI0ZGRkZGRiIgc3Ryb2tlLXdpZHRoPSIzLjM4OTMiIHN0cm9rZS1taXRlcmxpbWl0PSIxMCIgZD0iTTI0LjUwOCwxNi4zNzNjMCw0LjQ5Ni0zLjYzOCw4LjEzNS04LjEzNSw4LjEzNWMtNC40OTEsMC04LjEzNS0zLjYzOC04LjEzNS04LjEzNWMwLTQuNDg5LDMuNjQ0LTguMTM1LDguMTM1LTguMTM1QzIwLjg2OSw4LjIzOSwyNC41MDgsMTEuODg0LDI0LjUwOCwxNi4zNzN6Ii8+PHBhdGggZmlsbD0ibm9uZSIgc3Ryb2tlPSIjMDAwMDAwIiBzdHJva2Utd2lkdGg9IjAuNjc3OCIgc3Ryb2tlLW1pdGVybGltaXQ9IjEwIiBkPSJNMjkuOTMxLDE2LjM3M2MwLDcuNDg5LTYuMDY4LDEzLjU2LTEzLjU1OCwxMy41NmMtNy40ODMsMC0xMy41NTctNi4wNzItMTMuNTU3LTEzLjU2YzAtNy40ODYsNi4wNzQtMTMuNTU0LDEzLjU1Ny0xMy41NTRDMjMuODYyLDIuODE5LDI5LjkzMSw4Ljg4NywyOS45MzEsMTYuMzczeiIvPjxsaW5lIGZpbGw9Im5vbmUiIHN0cm9rZT0iIzAwMDAwMCIgc3Ryb2tlLXdpZHRoPSIwLjY3NzgiIHN0cm9rZS1taXRlcmxpbWl0PSIxMCIgeDE9IjAuMTA0IiB5MT0iMTYuMzczIiB4Mj0iMzIuNjQyIiB5Mj0iMTYuMzczIi8+PGxpbmUgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjMDAwMDAwIiBzdHJva2Utd2lkdGg9IjAuNjc3OCIgc3Ryb2tlLW1pdGVybGltaXQ9IjEwIiB4MT0iMTYuMzczIiB5MT0iMC4xMDQiIHgyPSIxNi4zNzMiIHkyPSIzMi42NDIiLz48cGF0aCBkPSJNMjQuNTA4LDE2LjM3M2MwLDQuNDk2LTMuNjM4LDguMTM1LTguMTM1LDguMTM1Yy00LjQ5MSwwLTguMTM1LTMuNjM4LTguMTM1LTguMTM1YzAtNC40ODksMy42NDQtOC4xMzUsOC4xMzUtOC4xMzVDMjAuODY5LDguMjM5LDI0LjUwOCwxMS44ODQsMjQuNTA4LDE2LjM3MyIvPjxsaW5lIGZpbGw9Im5vbmUiIHN0cm9rZT0iI0ZGRkZGRiIgc3Ryb2tlLXdpZHRoPSIwLjY3NzgiIHN0cm9rZS1taXRlcmxpbWl0PSIxMCIgeDE9IjguMjM5IiB5MT0iMTYuMzczIiB4Mj0iMjQuNTA4IiB5Mj0iMTYuMzczIi8+PGxpbmUgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjRkZGRkZGIiBzdHJva2Utd2lkdGg9IjAuNjc3OCIgc3Ryb2tlLW1pdGVybGltaXQ9IjEwIiB4MT0iMTYuMzczIiB5MT0iOC4yMzkiIHgyPSIxNi4zNzMiIHkyPSIyNC41MDgiLz48L3N2Zz4=); 321 background-repeat: no-repeat; 322 background-position: 50% 50%; 323 background-size: var(--pagedjs-cross-size); 324 325 z-index: 2147483647; 326 width: var(--pagedjs-cross-size); 327 height: var(--pagedjs-cross-size); 328} 329 330.pagedjs_pagebox { 331 box-sizing: border-box; 332 width: var(--pagedjs-pagebox-width); 333 height: var(--pagedjs-pagebox-height); 334 position: relative; 335 display: grid; 336 grid-template-columns: [left] var(--pagedjs-margin-left) [center] calc(var(--pagedjs-pagebox-width) - var(--pagedjs-margin-left) - var(--pagedjs-margin-right)) [right] var(--pagedjs-margin-right); 337 grid-template-rows: [header] var(--pagedjs-margin-top) [page] calc(var(--pagedjs-pagebox-height) - var(--pagedjs-margin-top) - var(--pagedjs-margin-bottom)) [footer] var(--pagedjs-margin-bottom); 338 grid-column: sheet-center; 339 grid-row: sheet-middle; 340} 341 342.pagedjs_pagebox * { 343 box-sizing: border-box; 344} 345 346.pagedjs_margin-top { 347 width: calc(var(--pagedjs-pagebox-width) - var(--pagedjs-margin-left) - var(--pagedjs-margin-right)); 348 height: var(--pagedjs-margin-top); 349 grid-column: center; 350 grid-row: header; 351 flex-wrap: nowrap; 352 display: grid; 353 grid-template-columns: repeat(3, 1fr); 354 grid-template-rows: 100%; 355} 356 357.pagedjs_margin-top-left-corner-holder { 358 width: var(--pagedjs-margin-left); 359 height: var(--pagedjs-margin-top); 360 display: flex; 361 grid-column: left; 362 grid-row: header; 363} 364 365.pagedjs_margin-top-right-corner-holder { 366 width: var(--pagedjs-margin-right); 367 height: var(--pagedjs-margin-top); 368 display: flex; 369 grid-column: right; 370 grid-row: header; 371} 372 373.pagedjs_margin-top-left-corner { 374 width: var(--pagedjs-margin-left); 375} 376 377.pagedjs_margin-top-right-corner { 378 width: var(--pagedjs-margin-right); 379} 380 381.pagedjs_margin-right { 382 height: calc(var(--pagedjs-pagebox-height) - var(--pagedjs-margin-top) - var(--pagedjs-margin-bottom)); 383 width: var(--pagedjs-margin-right); 384 right: 0; 385 grid-column: right; 386 grid-row: page; 387 display: grid; 388 grid-template-rows: repeat(3, 33.3333%); 389 grid-template-columns: 100%; 390} 391 392.pagedjs_margin-bottom { 393 width: calc(var(--pagedjs-pagebox-width) - var(--pagedjs-margin-left) - var(--pagedjs-margin-right)); 394 height: var(--pagedjs-margin-bottom); 395 grid-column: center; 396 grid-row: footer; 397 display: grid; 398 grid-template-columns: repeat(3, 1fr); 399 grid-template-rows: 100%; 400} 401 402.pagedjs_margin-bottom-left-corner-holder { 403 width: var(--pagedjs-margin-left); 404 height: var(--pagedjs-margin-bottom); 405 display: flex; 406 grid-column: left; 407 grid-row: footer; 408} 409 410.pagedjs_margin-bottom-right-corner-holder { 411 width: var(--pagedjs-margin-right); 412 height: var(--pagedjs-margin-bottom); 413 display: flex; 414 grid-column: right; 415 grid-row: footer; 416} 417 418.pagedjs_margin-bottom-left-corner { 419 width: var(--pagedjs-margin-left); 420} 421 422.pagedjs_margin-bottom-right-corner { 423 width: var(--pagedjs-margin-right); 424} 425 426 427 428.pagedjs_margin-left { 429 height: calc(var(--pagedjs-pagebox-height) - var(--pagedjs-margin-top) - var(--pagedjs-margin-bottom)); 430 width: var(--pagedjs-margin-left); 431 grid-column: left; 432 grid-row: page; 433 display: grid; 434 grid-template-rows: repeat(3, 33.33333%); 435 grid-template-columns: 100%; 436} 437 438.pagedjs_pages .pagedjs_pagebox .pagedjs_margin:not(.hasContent) { 439 visibility: hidden; 440} 441 442.pagedjs_pagebox > .pagedjs_area { 443 grid-column: center; 444 grid-row: page; 445 width: 100%; 446 height: 100%; 447 padding: var(--pagedjs-padding-top) var(--pagedjs-padding-right) var(--pagedjs-padding-bottom) var(--pagedjs-padding-left); 448 border-top: var(--pagedjs-border-top); 449 border-right: var(--pagedjs-border-right); 450 border-bottom: var(--pagedjs-border-bottom); 451 border-left: var(--pagedjs-border-left); 452} 453 454.pagedjs_pagebox > .pagedjs_area > .pagedjs_page_content { 455 width: 100%; 456 height: calc(100% - var(--pagedjs-footnotes-height)); 457 position: relative; 458 column-fill: auto; 459} 460 461.pagedjs_pagebox > .pagedjs_area > .pagedjs_page_content > div { 462 height: inherit; 463} 464 465.pagedjs_pagebox > .pagedjs_area > .pagedjs_footnote_area { 466 position: relative; 467 overflow: hidden; 468 height: var(--pagedjs-footnotes-height); 469 display: flex; 470 justify-content: flex-end; 471 flex-flow: column; 472} 473 474.pagedjs_pagebox > .pagedjs_area > .pagedjs_footnote_area > .pagedjs_footnote_content { 475 overflow: hidden; 476} 477 478.pagedjs_pagebox > .pagedjs_area > .pagedjs_footnote_area > .pagedjs_footnote_inner_content { 479 overflow: hidden; 480} 481 482.pagedjs_area [data-footnote-call] { 483 all: unset; 484 counter-increment: footnote; 485} 486 487.pagedjs_area [data-split-from] { 488 counter-increment: unset; 489 counter-reset: unset; 490} 491 492[data-footnote-call]::after { 493 vertical-align: super; 494 font-size: 65%; 495 line-height: normal; 496 content: counter(footnote); 497} 498 499@supports ( font-variant-position: super ) { 500 [data-footnote-call]::after { 501 vertical-align: baseline; 502 font-size: 100%; 503 line-height: inherit; 504 font-variant-position: super; 505 } 506} 507 508.pagedjs_footnote_empty { 509 display: none; 510} 511 512.pagedjs_area [data-split-from] { 513 counter-increment: unset; 514 counter-reset: unset; 515} 516 517[data-footnote-marker] { 518 text-indent: 0; 519 display: list-item; 520 list-style-position: inside; 521} 522 523[data-footnote-marker][data-split-from] { 524 list-style: none; 525} 526 527[data-footnote-marker]:not([data-split-from]) { 528 counter-increment: footnote-marker; 529} 530 531[data-footnote-marker]::marker { 532 content: counter(footnote-marker) ". "; 533} 534 535[data-footnote-marker][data-split-from]::marker { 536 content: unset; 537} 538 539.pagedjs_area .pagedjs_footnote_inner_content [data-note-display="inline"] { 540 display: inline; 541} 542 543.pagedjs_page { 544 counter-increment: page var(--pagedjs-page-counter-increment); 545 width: var(--pagedjs-width); 546 height: var(--pagedjs-height); 547} 548 549.pagedjs_page.pagedjs_right_page { 550 width: var(--pagedjs-width-right); 551 height: var(--pagedjs-height-right); 552} 553 554.pagedjs_page.pagedjs_left_page { 555 width: var(--pagedjs-width-left); 556 height: var(--pagedjs-height-left); 557} 558 559.pagedjs_pages { 560 counter-reset: pages var(--pagedjs-page-count) footnote var(--pagedjs-footnotes-count) footnote-marker var(--pagedjs-footnotes-count); 561} 562 563.pagedjs_pagebox .pagedjs_margin-top-left-corner, 564.pagedjs_pagebox .pagedjs_margin-top-right-corner, 565.pagedjs_pagebox .pagedjs_margin-bottom-left-corner, 566.pagedjs_pagebox .pagedjs_margin-bottom-right-corner, 567.pagedjs_pagebox .pagedjs_margin-top-left, 568.pagedjs_pagebox .pagedjs_margin-top-right, 569.pagedjs_pagebox .pagedjs_margin-bottom-left, 570.pagedjs_pagebox .pagedjs_margin-bottom-right, 571.pagedjs_pagebox .pagedjs_margin-top-center, 572.pagedjs_pagebox .pagedjs_margin-bottom-center, 573.pagedjs_pagebox .pagedjs_margin-top-center, 574.pagedjs_pagebox .pagedjs_margin-bottom-center, 575.pagedjs_margin-right-middle, 576.pagedjs_margin-left-middle { 577 display: flex; 578 align-items: center; 579} 580 581.pagedjs_margin-right-top, 582.pagedjs_margin-left-top { 583 display: flex; 584 align-items: flex-top; 585} 586 587 588.pagedjs_margin-right-bottom, 589.pagedjs_margin-left-bottom { 590 display: flex; 591 align-items: flex-end; 592} 593 594 595 596/* 597.pagedjs_pagebox .pagedjs_margin-top-center, 598.pagedjs_pagebox .pagedjs_margin-bottom-center { 599 height: 100%; 600 display: none; 601 align-items: center; 602 flex: 1 0 33%; 603 margin: 0 auto; 604} 605 606.pagedjs_pagebox .pagedjs_margin-top-left-corner, 607.pagedjs_pagebox .pagedjs_margin-top-right-corner, 608.pagedjs_pagebox .pagedjs_margin-bottom-right-corner, 609.pagedjs_pagebox .pagedjs_margin-bottom-left-corner { 610 display: none; 611 align-items: center; 612} 613 614.pagedjs_pagebox .pagedjs_margin-left-top, 615.pagedjs_pagebox .pagedjs_margin-right-top { 616 display: none; 617 align-items: flex-start; 618} 619 620.pagedjs_pagebox .pagedjs_margin-right-middle, 621.pagedjs_pagebox .pagedjs_margin-left-middle { 622 display: none; 623 align-items: center; 624} 625 626.pagedjs_pagebox .pagedjs_margin-left-bottom, 627.pagedjs_pagebox .pagedjs_margin-right-bottom { 628 display: none; 629 align-items: flex-end; 630} 631*/ 632 633.pagedjs_pagebox .pagedjs_margin-top-left, 634.pagedjs_pagebox .pagedjs_margin-top-right-corner, 635.pagedjs_pagebox .pagedjs_margin-bottom-left, 636.pagedjs_pagebox .pagedjs_margin-bottom-right-corner { text-align: left; } 637 638.pagedjs_pagebox .pagedjs_margin-top-left-corner, 639.pagedjs_pagebox .pagedjs_margin-top-right, 640.pagedjs_pagebox .pagedjs_margin-bottom-left-corner, 641.pagedjs_pagebox .pagedjs_margin-bottom-right { text-align: right; } 642 643.pagedjs_pagebox .pagedjs_margin-top-center, 644.pagedjs_pagebox .pagedjs_margin-bottom-center, 645.pagedjs_pagebox .pagedjs_margin-left-top, 646.pagedjs_pagebox .pagedjs_margin-left-middle, 647.pagedjs_pagebox .pagedjs_margin-left-bottom, 648.pagedjs_pagebox .pagedjs_margin-right-top, 649.pagedjs_pagebox .pagedjs_margin-right-middle, 650.pagedjs_pagebox .pagedjs_margin-right-bottom { text-align: center; } 651 652.pagedjs_pages .pagedjs_margin .pagedjs_margin-content { 653 width: 100%; 654} 655 656.pagedjs_pages .pagedjs_margin-left .pagedjs_margin-content::after, 657.pagedjs_pages .pagedjs_margin-top .pagedjs_margin-content::after, 658.pagedjs_pages .pagedjs_margin-right .pagedjs_margin-content::after, 659.pagedjs_pages .pagedjs_margin-bottom .pagedjs_margin-content::after { 660 display: block; 661} 662 663.pagedjs_pages > .pagedjs_page > .pagedjs_sheet > .pagedjs_pagebox > .pagedjs_area > div [data-split-to] { 664 margin-bottom: unset; 665 padding-bottom: unset; 666} 667 668.pagedjs_pages > .pagedjs_page > .pagedjs_sheet > .pagedjs_pagebox > .pagedjs_area > div [data-split-from] { 669 text-indent: unset; 670 margin-top: unset; 671 padding-top: unset; 672 initial-letter: unset; 673} 674 675.pagedjs_pages > .pagedjs_page > .pagedjs_sheet > .pagedjs_pagebox > .pagedjs_area > div [data-split-from] > *::first-letter, 676.pagedjs_pages > .pagedjs_page > .pagedjs_sheet > .pagedjs_pagebox > .pagedjs_area > div [data-split-from]::first-letter { 677 color: unset; 678 font-size: unset; 679 font-weight: unset; 680 font-family: unset; 681 color: unset; 682 line-height: unset; 683 float: unset; 684 padding: unset; 685 margin: unset; 686} 687 688.pagedjs_pages > .pagedjs_page > .pagedjs_sheet > .pagedjs_pagebox > .pagedjs_area > div [data-split-to]:not([data-footnote-call]):after, 689.pagedjs_pages > .pagedjs_page > .pagedjs_sheet > .pagedjs_pagebox > .pagedjs_area > div [data-split-to]:not([data-footnote-call])::after { 690 content: unset; 691} 692 693.pagedjs_pages > .pagedjs_page > .pagedjs_sheet > .pagedjs_pagebox > .pagedjs_area > div [data-split-from]:not([data-footnote-call]):before, 694.pagedjs_pages > .pagedjs_page > .pagedjs_sheet > .pagedjs_pagebox > .pagedjs_area > div [data-split-from]:not([data-footnote-call])::before { 695 content: unset; 696} 697 698.pagedjs_pages > .pagedjs_page > .pagedjs_sheet > .pagedjs_pagebox > .pagedjs_area > div li[data-split-from]:first-of-type { 699 list-style: none; 700} 701 702/* 703[data-page]:not([data-split-from]), 704[data-break-before="page"]:not([data-split-from]), 705[data-break-before="always"]:not([data-split-from]), 706[data-break-before="left"]:not([data-split-from]), 707[data-break-before="right"]:not([data-split-from]), 708[data-break-before="recto"]:not([data-split-from]), 709[data-break-before="verso"]:not([data-split-from]) 710{ 711 break-before: column; 712} 713 714[data-page]:not([data-split-to]), 715[data-break-after="page"]:not([data-split-to]), 716[data-break-after="always"]:not([data-split-to]), 717[data-break-after="left"]:not([data-split-to]), 718[data-break-after="right"]:not([data-split-to]), 719[data-break-after="recto"]:not([data-split-to]), 720[data-break-after="verso"]:not([data-split-to]) 721{ 722 break-after: column; 723} 724*/ 725 726.pagedjs_clear-after::after { 727 content: none !important; 728} 729 730[data-align-last-split-element='justify'] { 731 text-align-last: justify; 732} 733 734 735@media print { 736 html { 737 width: 100%; 738 height: 100%; 739 -webkit-print-color-adjust: exact; 740 print-color-adjust: exact; 741 } 742 body { 743 margin: 0; 744 padding: 0; 745 width: 100% !important; 746 height: 100% !important; 747 min-width: 100%; 748 max-width: 100%; 749 min-height: 100%; 750 max-height: 100%; 751 } 752 .pagedjs_pages { 753 width: auto; 754 display: block !important; 755 transform: none !important; 756 height: 100% !important; 757 min-height: 100%; 758 max-height: 100%; 759 overflow: visible; 760 } 761 .pagedjs_page { 762 margin: 0; 763 padding: 0; 764 max-height: 100%; 765 min-height: 100%; 766 height: 100% !important; 767 page-break-after: always; 768 break-after: page; 769 } 770 .pagedjs_sheet { 771 margin: 0; 772 padding: 0; 773 max-height: 100%; 774 min-height: 100%; 775 height: 100% !important; 776 } 777} 778`;
778async function Y(e,t={}){return new Promise(function(r,n){let a=new XMLHttpRequest;for(let r in a.open(t.method||"get",e,!0),t.headers)a.setRequestHeader(r,t.headers[r]);a.withCredentials="include"===t.credentials,a.onload=()=>{let t=0===a.status&&e.startsWith("file://")?200:a.status;r(new Response(a.responseText,{status:t}))},a.onerror=n,a.send(t.body||null)})}class Z{constructor(e){this.sheets=[],this.inserted=[],this.hooks={},this.hooks.onUrl=new M(this),this.hooks.onAtPage=new M(this),this.hooks.onAtMedia=new M(this),this.hooks.onRule=new M(this),this.hooks.onDeclaration=new M(this),this.hooks.onContent=new M(this),this.hooks.onSelector=new M(this),this.hooks.onPseudoSelector=new M(this),this.hooks.onImport=new M(this),this.hooks.beforeTreeParse=new M(this),this.hooks.beforeTreeWalk=new M(this),this.hooks.afterTreeWalk=new M(this),!1!==e&&this.setup()}setup(){return this.base=this.insert($),this.styleEl=document.createElement("style"),document.head.appendChild(this.styleEl),this.styleSheet=this.styleEl.sheet,this.styleSheet}async add(){let e=[],t=[];for(var r=0;r<arguments.length;r++){let n;if("object"==typeof arguments[r])for(let e in arguments[r]){let a=arguments[r];n=new Promise(function(r,n){t.push(e),r(a[e])})}else t.push(arguments[r]),n=Y(arguments[r]).then(e=>e.text());e.push(n)}return await Promise.all(e).then(async e=>{let r="";for(let n=0;n<e.length;n++)r=await this.convertViaSheet(e[n],t[n]),this.insert(r);return r})}async convertViaSheet(e,t){let r=new H(t,this.hooks);for(let t of(await r.parse(e),r.imported)){let e=await Y(t).then(e=>e.text()),r=await this.convertViaSheet(e,t);this.insert(r)}return this.sheets.push(r),void 0!==r.width&&(this.width=r.width),void 0!==r.height&&(this.height=r.height),void 0!==r.orientation&&(this.orientation=r.orientation),r.toString()}insert(e){let t=document.querySelector("head"),r=document.createElement("style");return r.setAttribute("data-pagedjs-inserted-styles","true"),r.appendChild(document.createTextNode(e)),t.appendChild(r),this.inserted.push(r),r}
778destroy(){this.styleEl.remove(),this.inserted.forEach(e=>{e.remove()}),this.sheets=[]}}let Q=Z;class J{constructor(e,t,r){let n=Object.assign({},e&&e.hooks,t&&t.hooks,r&&r.hooks);for(let a in this.chunker=e,this.polisher=t,this.caller=r,n)a in this&&n[a].register(this[a].bind(this))}}N(J.prototype);let X=J,K={A0:{width:{value:841,unit:"mm"},height:{value:1189,unit:"mm"}},A1:{width:{value:594,unit:"mm"},height:{value:841,unit:"mm"}},A2:{width:{value:420,unit:"mm"},height:{value:594,unit:"mm"}},A3:{width:{value:297,unit:"mm"},height:{value:420,unit:"mm"}},A4:{width:{value:210,unit:"mm"},height:{value:297,unit:"mm"}},A5:{width:{value:148,unit:"mm"},height:{value:210,unit:"mm"}},A6:{width:{value:105,unit:"mm"},height:{value:148,unit:"mm"}},A7:{width:{value:74,unit:"mm"},height:{value:105,unit:"mm"}},A8:{width:{value:52,unit:"mm"},height:{value:74,unit:"mm"}},A9:{width:{value:37,unit:"mm"},height:{value:52,unit:"mm"}},A10:{width:{value:26,unit:"mm"},height:{value:37,unit:"mm"}},B4:{width:{value:250,unit:"mm"},height:{value:353,unit:"mm"}},B5:{width:{value:176,unit:"mm"},height:{value:250,unit:"mm"}},letter:{width:{value:8.5,unit:"in"},height:{value:11,unit:"in"}},legal:{width:{value:8.5,unit:"in"},height:{value:14,unit:"in"}},ledger:{width:{value:11,unit:"in"},height:{value:17,unit:"in"}}};class ee extends X{constructor(e,t,r){super(e,t,r),this.pages={},this.width=void 0,this.height=void 0,this.orientation=void 0,this.marginalia={}}pageModel(e){return{selector:e,name:void 0,psuedo:void 0,nth:void 0,marginalia:{},width:void 0,height:void 0,orientation:void 0,margin:{top:{},right:{},left:{},bottom:{}},padding:{top:{},right:{},left:{},bottom:{}},border:{top:{},right:{},left:{},bottom:{}},backgroundOrigin:void 0,block:{},marks:void 0,notes:void 0,added:!1}}onAtPage(e,t,r){let n,a,s,i,o,l="",c=!1;e.prelude?(s=this.getTypeSelector(e),i=this.getPsuedoSelector(e),o=this.getNthSelector(e),l=G.generate(e.prelude)):l="*",l in this.pages?(n=this.pages[l],a=this.replaceMarginalia(e),c=!0,n.added=!1):(n=this.pageModel(l),a=this.replaceMarginalia(e),this.pages[l]=n),n.name=s,n.psuedo=i,n.nth=o,c?n.marginalia=Object.assign(n.marginalia,a):n.marginalia=a;let d=this.replaceNotes(e);n.notes=d;let u=this.replaceDeclarations(e);if(u.size&&(n.size=u.size,n.width=u.size.width,n.height=u.size.height,n.orientation=u.size.orientation,n.format=u.size.format),u.bleed&&"auto"!=u.bleed[0])switch(u.bleed.length){case 4:n.bleed={top:u.bleed[0],right:u.bleed[1],bottom:u.bleed[2],left:u.bleed[3]};break;case 3:n.bleed={top:u.bleed[0],right:u.bleed[1],bottom:u.bleed[2],left:u.bleed[1]};break;case 2:n.bleed={top:u.bleed[0],right:u.bleed[1],bottom:u.bleed[0],left:u.bleed[1]};break;default:n.bleed={top:u.bleed[0],right:u.bleed[0],bottom:u.bleed[0],left:u.bleed[0]}}u.marks&&((!u.bleed||u.bleed&&"auto"===u.bleed[0])&&(n.bleed={top:{value:6,unit:"mm"},right:{value:6,unit:"mm"},bottom:{value:6,unit:"mm"},left:{value:6,unit:"mm"}}),n.marks=u.marks),u.margin&&(n.margin=u.margin),u.padding&&(n.padding=u.padding),u.border&&(n.border=u.border),u.marks&&(n.marks=u.marks),c?n.block.children.appendList(e.block.children):n.block=e.block,r.remove(t)}afterTreeWalk(e,t){let r="*"in this.pages&&!1===this.pages["*"].added;if(this.addPageClasses(this.pages,e,t),r){let t,r,n=this.pages["*"].width,a=this.pages["*"].height,s=this.pages["*"].format,i=this.pages["*"].orientation,o=this.pages["*"].bleed,l=this.pages["*"].marks;":left"in this.pages&&(t=this.pages[":left"].bleed),":right"in this.pages&&(r=this.pages[":right"].bleed),n&&a&&(this.width!==n||this.height!==a)&&(this.width=n,this.height=a,this.format=s,this.orientation=i,this.addRootVars(e,n,a,i,o,r,t,l),this.addRootPage(e,this.pages["*"].size,o,r,t),this.emit("size",{width:n,height:a,orientation:i,format:s,bleed:o}),this.emit("atpages",this.pages))}}getTypeSelector(e){let t;return G.walk(e,{visit:"TypeSelector",enter:(e,r,n)=>{t=e.name}}),t}getPsuedoSelector(e){let t;return G.walk(e,{visit:"PseudoClassSelector",enter:(e,r,n)=>{"nth"!==e.name&&(t=e.name)}}),t}getNthSelector(e){let t;return G.walk(e,{visit:"PseudoClassSelector",enter:(e,r,n)=>{"nth"===e.name&&e.children&&(t=e.children.first().value)}}),t}
vendor: 2,963 bytes, line 778
778replaceMarginalia(e){let t={},r=["top-left-corner","top-left","top","top-center","top-right","top-right-corner","bottom-left-corner","bottom-left","bottom","bottom-center","bottom-right","bottom-right-corner","left-top","left-middle","left","left-bottom","top-right-corner","right-top","right-middle","right","right-bottom","right-right-corner"];return G.walk(e.block,{visit:"Atrule",enter:(e,n,a)=>{let s=e.name;r.includes(s)&&("top"===s&&(s="top-center"),"right"===s&&(s="right-middle"),"left"===s&&(s="left-middle"),"bottom"===s&&(s="bottom-center"),t[s]=e.block,a.remove(n))}}),t}replaceNotes(e){let t={};return G.walk(e.block,{visit:"Atrule",enter:(e,r,n)=>{let a=e.name;"footnote"===a&&(t[a]=e.block,n.remove(r))}}),t}replaceDeclarations(e){let t={};return G.walk(e.block,{visit:"Declaration",enter:(e,r,n)=>{let a=G.property(e.property).name;if("marks"===a)t.marks=[],G.walk(e,{visit:"Identifier",enter:e=>{t.marks.push(e.name)}}),n.remove(r);else if("margin"===a)t.margin=this.getMargins(e),n.remove(r);else if(0===a.indexOf("margin-")){let s=a.substring(7);t.margin||(t.margin={top:{},right:{},left:{},bottom:{}}),t.margin[s]=e.value.children.first(),n.remove(r)}else if("padding"===a)t.padding=this.getPaddings(e.value),n.remove(r);else if(0===a.indexOf("padding-")){let s=a.substring(8);t.padding||(t.padding={top:{},right:{},left:{},bottom:{}}),t.padding[s]=e.value.children.first(),n.remove(r)}else if("border"===a)t.border||(t.border={top:{},right:{},left:{},bottom:{}}),t.border.top=G.generate(e.value),t.border.right=G.generate(e.value),t.border.left=G.generate(e.value),t.border.bottom=G.generate(e.value),n.remove(r);else if(0===a.indexOf("border-")){t.border||(t.border={top:{},right:{},left:{},bottom:{}});let s=a.substring(7);t.border[s]=G.generate(e.value),n.remove(r)}else"size"===a?(t.size=this.getSize(e),n.remove(r)):"bleed"===a&&(t.bleed=[],G.walk(e,{enter:e=>{switch(e.type){case"String":e.value.indexOf("auto")>-1&&t.bleed.push("auto");break;case"Dimension":t.bleed.push({value:e.value,unit:e.unit});break;case"Number":t.bleed.push({value:e.value,unit:"px"})}}}),n.remove(r))}}),t}getSize(e){let t,r,n,a;return G.walk(e,{visit:"Dimension",enter:(e,n,a)=>{let{value:s,unit:i}=e;void 0===t?t={value:s,unit:i}:void 0===r&&(r={value:s,unit:i})}}),G.walk(e,{visit:"String",enter:(e,n,a)=>{let s=K[e.value.replace(/["|']/g,"")];s&&(t=s.width,r=s.height)}}),G.walk(e,{visit:"Identifier",enter:(e,s,i)=>{let o=e.name;if("landscape"===o||"portrait"===o)n=e.name;else if("auto"!==o){let e=K[o];e&&(t=e.width,r=e.height),a=o}}}),{width:t,height:r,orientation:n,format:a}}getMargins(e){let t=[],r={top:{},right:{},left:{},bottom:{}};if(G.walk(e,{enter:e=>{switch(e.type){case"Dimension":t.push(e);break;case"Number":t.push({value:e.value,unit:"px"})}}}),1===t.length)for(let e in r)r[e]=t[0];else 2===t.length?(r.top=t[0],r.right=t[1],r.bottom=t[0],r.left=t[1]):3===t.length?(r.top=t[0],r.right=t[1],r.bottom=t[2],r.left=t[1]):4===t.length&&(r.to
vendor: 13,769 bytes, line 778
778p=t[0],r.right=t[1],r.bottom=t[2],r.left=t[3]);return r}getPaddings(e){let t=[],r={top:{},right:{},left:{},bottom:{}};if(G.walk(e,{enter:e=>{switch(e.type){case"Dimension":t.push(e);break;case"Number":t.push({value:e.value,unit:"px"})}}}),1===t.length)for(let e in r)r[e]=t[0];else 2===t.length?(r.top=t[0],r.right=t[1],r.bottom=t[0],r.left=t[1]):3===t.length?(r.top=t[0],r.right=t[1],r.bottom=t[2],r.left=t[1]):4===t.length&&(r.top=t[0],r.right=t[1],r.bottom=t[2],r.left=t[3]);return r}getBorders(e){let t={top:{},right:{},left:{},bottom:{}};return"border"==e.prop?(t.top=G.generate(e.value),t.right=G.generate(e.value),t.bottom=G.generate(e.value),t.left=G.generate(e.value)):"border-top"==e.prop?t.top=G.generate(e.value):"border-right"==e.prop?t.right=G.generate(e.value):"border-bottom"==e.prop?t.bottom=G.generate(e.value):"border-left"==e.prop&&(t.left=G.generate(e.value)),t}addPageClasses(e,t,r){if("*"in e&&!1===e["*"].added){let n=this.createPage(e["*"],t.children,r);r.insertRule(n),e["*"].added=!0}if(":left"in e&&!1===e[":left"].added){let n=this.createPage(e[":left"],t.children,r);r.insertRule(n),e[":left"].added=!0}if(":right"in e&&!1===e[":right"].added){let n=this.createPage(e[":right"],t.children,r);r.insertRule(n),e[":right"].added=!0}if(":first"in e&&!1===e[":first"].added){let n=this.createPage(e[":first"],t.children,r);r.insertRule(n),e[":first"].added=!0}if(":blank"in e&&!1===e[":blank"].added){let n=this.createPage(e[":blank"],t.children,r);r.insertRule(n),e[":blank"].added=!0}for(let n in e)if(e[n].nth&&!1===e[n].added){let a=this.createPage(e[n],t.children,r);r.insertRule(a),e[n].added=!0}for(let n in e)if(e[n].name&&!1===e[n].added){let a=this.createPage(e[n],t.children,r);r.insertRule(a),e[n].added=!0}}createPage(e,t,r){let n=this.selectorsForPage(e),a=e.block.children.copy(),s=this.createRule(n,{type:"Block",loc:0,children:a});return this.addMarginVars(e.margin,a,a.first()),this.addPaddingVars(e.padding,a,a.first()),this.addBorderVars(e.border,a,a.first()),e.width&&this.addDimensions(e.width,e.height,e.orientation,a,a.first()),e.marginalia&&(this.addMarginaliaStyles(e,t,s,r),this.addMarginaliaContent(e,t,s,r)),e.notes&&this.addNotesStyles(e.notes,e,t,s,r),s}addMarginVars(e,t,r){for(let n in e)if(void 0!==e[n].value){let a=e[n].value+(e[n].unit||""),s=t.createItem({type:"Declaration",property:"--pagedjs-margin-"+n,value:{type:"Raw",value:a}});t.append(s,r)}}addPaddingVars(e,t,r){for(let n in e)if(void 0!==e[n].value){let a=e[n].value+(e[n].unit||""),s=t.createItem({type:"Declaration",property:"--pagedjs-padding-"+n,value:{type:"Raw",value:a}});t.append(s,r)}}addBorderVars(e,t,r){for(let n of Object.keys(e)){let a=e[n];if("string"==typeof a){let e=t.createItem({type:"Declaration",property:"--pagedjs-border-"+n,value:{type:"Raw",value:a}});t.append(e,r)}}}addDimensions(e,t,r,n,a){let s,i;s=c(e),i=c(t),r&&"portrait"!==r&&([s,i]=[i,s]);let o=this.createVariable("--pagedjs-pagebox-width",s);n.appendData(o);let l=this.createVariable("--pagedjs-pagebox-height",i);n.appendData(l)}addMarginaliaStyles(e,t,r,n){for(let r in e.marginalia){let n=G.clone(e.marginalia[r]),a=!1;if(n.children.isEmpty())continue;G.walk(n,{visit:"Declaration",enter:(e,t,n)=>{if("content"===e.property&&(a=!e.value.children||"none"!==e.value.children.first().name,n.remove(t)),"vertical-align"===e.property&&(G.walk(e,{visit:"Identifier",enter:(e,t,r)=>{let n=e.name;"top"===n?e.name="flex-start":"middle"===n?e.name="center":"bottom"===n&&(e.name="flex-end")}}),e.property="align-items"),"width"===e.property&&("top-left"===r||"top-center"===r||"top-right"===r||"bottom-left"===r||"bottom-center"===r||"bottom-right"===r)){let t=G.clone(e);t.property="max-width",n.appendData(t)}if("height"===e.property&&("left-top"===r||"left-middle"===r||"left-bottom"===r||"right-top"===r||"right-middle"===r||"right-bottom"===r)){let t=G.clone(e);t.property="max-height",n.appendData(t)}}});let s=this.selectorsForPageMargin(e,r),i=this.createRule(s,n);t.appendData(i);let o=G.generate({type:"Selector",children:s});this.marginalia[o]={page:e,selector:o,block:e.marginalia[r],hasContent:a}}}addMarginaliaContent(e,t,r,n){let a;for(let t in e.marginalia){let r,s=G.clone(e.marginalia[t]);if(G.walk(s,{visit:"Declaration",enter:(e,t,r)=>{"content"!==e.property&&r.remove(t),e.value.children&&"none"===e.value.children.first().name&&(a=!0)}}),s.children.isEmpty())continue;let i=this.selectorsForPageMargin(e,t);i.insertData({type:"Combinator",name:">"}),i.insertData({type:"ClassSelector",name:"pagedjs_margin-content"}),i.insertData({type:"Combinator",name:">"}),i.insertData({type:"TypeSelector",name:"*"}),r=a?this.createDeclaration("display","none"):this.createDeclaration("display","block");let o=this.createRule(i,[r]);n.insertRule(o);let l=this.selectorsForPageMargin(e,t);l.insertData({type:"Combinator",name:">"}),l.insertData({type:"ClassSelector",name:"pagedjs_margin-content"}),l.insertData({type:"PseudoElementSelector",name:"after",children:null});let c=this.createRule(l,s);n.insertRule(c)}}addRootVars(e,t,r,n,a,s,i,o){let l,d,u,p,h,g,m=[],f=new G.List;if(f.insertData({type:"PseudoClassSelector",name:"root",children:null}),a){l=`calc( ${c(t)} + ${c(a.left)} + ${c(a.right)} )`,d=`calc( ${c(r)} + ${c(a.top)} + ${c(a.bottom)} )`,u=`calc( ${c(t)} + ${c(a.left)} + ${c(a.right)} )`,p=`calc( ${c(r)} + ${c(a.top)} + ${c(a.bottom)} )`,h=`calc( ${c(t)} + ${c(a.left)} + ${c(a.right)} )`,g=`calc( ${c(r)} + ${c(a.top)} + ${c(a.bottom)} )`;let e=this.createVariable("--pagedjs-bleed-top",c(a.top)),n=this.createVariable("--pagedjs-bleed-right",c(a.right)),o=this.createVariable("--pagedjs-bleed-bottom",c(a.bottom)),f=this.createVariable("--pagedjs-bleed-left",c(a.left)),y=this.createVariable("--pagedjs-bleed-right-top",c(a.top)),b=this.createVariable("--pagedjs-bleed-right-right",c(a.right)),v=this.createVariable("--pagedjs-bleed-right-bottom",c(a.bottom)),x=this.createVariable("--pagedjs-bleed-right-left",c(a.left)),k=this.createVariable("--pagedjs-bleed-left-top",c(a.top)),w=this.createVariable("--pagedjs-bleed-left-right",c(a.right)),S=this.createVariable("--pagedjs-bleed-left-bottom",c(a.bottom)),j=this.createVariable("--pagedjs-bleed-left-left",c(a.left));s&&(y=this.createVariable("--pagedjs-bleed-right-top",c(s.top)),b=this.createVariable("--pagedjs-bleed-right-right",c(s.right)),v=this.createVariable("--pagedjs-bleed-right-bottom",c(s.bottom)),x=this.createVariable("--pagedjs-bleed-right-left",c(s.left)),u=`calc( ${c(t)} + ${c(s.left)} + ${c(s.right)} )`,p=`calc( ${c(r)} + ${c(s.top)} + ${c(s.bottom)} )`),i&&(k=this.createVariable("--pagedjs-bleed-left-top",c(i.top)),w=this.createVariable("--pagedjs-bleed-left-right",c(i.right)),S=this.createVariable("--pagedjs-bleed-left-bottom",c(i.bottom)),j=this.createVariable("--pagedjs-bleed-left-left",c(i.left)),h=`calc( ${c(t)} + ${c(i.left)} + ${c(i.right)} )`,g=`calc( ${c(r)} + ${c(i.top)} + ${c(i.bottom)} )`);let C=this.createVariable("--pagedjs-width",c(t)),_=this.createVariable("--pagedjs-height",c(r));m.push(e,n,o,f,y,b,v,x,k,w,S,j,C,_)}else l=c(t),d=c(r),u=c(t),p=c(r),h=c(t),g=c(r);if(o&&o.forEach(e=>{let t=this.createVariable("--pagedjs-mark-"+e+"-display","block");m.push(t)}),n){let e=this.createVariable("--pagedjs-orientation",n);m.push(e),"portrait"!==n&&([l,d]=[d,l],[u,p]=[p,u],[h,g]=[g,h])}let y=this.createVariable("--pagedjs-width",l),b=this.createVariable("--pagedjs-height",d),v=this.createVariable("--pagedjs-width-right",u),x=this.createVariable("--pagedjs-height-right",p),k=this.createVariable("--pagedjs-width-left",h),w=this.createVariable("--pagedjs-height-left",g);m.push(y,b,v,x,k,w);let S=this.createRule(f,m);e.children.appendData(S)}addNotesStyles(e,t,r,n,a){for(let n in e){let a=this.selectorsForPage(t);a.insertData({type:"Combinator",name:" "}),a.insertData({type:"ClassSelector",name:"pagedjs_"+n+"_content"});let s=this.createRule(a,e[n]);r.appendData(s)}}addRootPage(e,t,r,n,a){let{width:s,height:i,orientation:o,format:l}=t,c=new G.List,d=new G.List,u=new G.List,p=new G.List,h=new G.List,g=new G.List;if(r){let e=new G.List,t=new G.List;e.appendData({type:"Dimension",unit:s.unit,value:s.value}),e.appendData({type:"WhiteSpace",value:" "}),e.appendData({type:"Operator",value:"+"}),e.appendData({type:"WhiteSpace",value:" "}),e.appendData({type:"Dimension",unit:r.left.unit,value:r.left.value}),e.appendData({type:"WhiteSpace",value:" "}),e.appendData({type:"Operator",value:"+"}),e.appendData({type:"WhiteSpace",value:" "}),e.appendData({type:"Dimension",unit:r.right.unit,value:r.right.value}),t.appendData({type:"Dimension",unit:i.unit,value:i.value}),t.appendData({type:"WhiteSpace",value:" "}),t.appendData({type:"Operator",value:"+"}),t.appendData({type:"WhiteSpace",value:" "}),t.appendData({type:"Dimension",unit:r.top.unit,value:r.top.value}),t.appendData({type:"WhiteSpace",value:" "}),t.appendData({type:"Operator",value:"+"}),t.appendData({type:"WhiteSpace",value:" "}),t.appendData({type:"Dimension",unit:r.bottom.unit,value:r.bottom.value}),p.appendData({type:"Function",name:"calc",children:e}),p.appendData({type:"WhiteSpace",value:" "}),p.appendData({type:"Function",name:"calc",children:t})}else l?(p.appendData({type:"Identifier",name:l}),o&&(p.appendData({type:"WhiteSpace",value:" "}),p.appendData({type:"Identifier",name:o}))):(p.appendData({type:"Dimension",unit:s.unit,value:s.value}),p.appendData({type:"WhiteSpace",value:" "}),p.appendData({type:"Dimension",unit:i.unit,value:i.value}));c.appendData({type:"Declaration",property:"size",loc:null,value:{type:"Value",children:p}}),c.appendData({type:"Declaration",property:"margin",loc:null,value:{type:"Value",children:[{type:"Dimension",unit:"px",value:0}]}}),c.appendData({type:"Declaration",property:"padding",loc:null,value:{type:"Value",children:[{type:"Dimension",unit:"px",value:0}]}}),c.appendData({type:"Declaration",property:"padding",loc:null,value:{type:"Value",children:[{type:"Dimension",unit:"px",value:0}]}});let m=e.children.createItem({type:"Atrule",prelude:null,name:"page",block:{type:"Block",loc:null,children:c}});if(e.children.append(m),a){let t=new G.List,r=new G.List;t.appendData({type:"Dimension",unit:s.unit,value:s.value}),t.appendData({type:"WhiteSpace",value:" "}),t.appendData({type:"Operator",value:"+"}),t.appendData({type:"WhiteSpace",value:" "}),t.appendData({type:"Dimension",unit:a.left.unit,value:a.left.value}),t.appendData({type:"WhiteSpace",value:" "}),t.appendData({type:"Operator",value:"+"}),t.appendData({type:"WhiteSpace",value:" "}),t.appendData({type:"Dimension",unit:a.right.unit,value:a.right.value}),r.appendData({type:"Dimension",unit:i.unit,value:i.value}),r.appendData({type:"WhiteSpace",value:" "}),r.appendData({type:"Operator",value:"+"}),r.appendData({type:"WhiteSpace",value:" "}),r.appendData({type:"Dimension",unit:a.top.unit,value:a.top.value}),r.appendData({type:"WhiteSpace",value:" "}),r.appendData({type:"Operator",value:"+"}),r.appendData({type:"WhiteSpace",value:" "}),r.appendData({type:"Dimension",unit:a.bottom.unit,value:a.bottom.value}),h.appendData({type:"Function",name:"calc",children:t}),h.appendData({type:"WhiteSpace",value:" "}),h.appendData({type:"Function",name:"calc",children:r}),d.appendData({type:"Declaration",property:"size",loc:null,value:{type:"Value",children:h}});let n=e.children.createItem({type:"Atrule",prelude:null,name:"page :left",block:{type:"Block",loc:null,children:d}});e.children.append(n)}if(n){let t=new G.List,r=new G.List;t.appendData({type:"Dimension",unit:s.unit,value:s.value}),t.appendData({type:"WhiteSpace",value:" "}),t.appendData({type:"Operator",value:"+"}),t.appendData({type:"WhiteSpace",value:" "}),t.appendData({type:"Dimension",unit:n.left.unit,value:n.left.value}),t.appendData({type:"WhiteSpace",value:" "}),t.appendData({type:"Operator",value:"+"}),t.appendData({type:"WhiteSpace",value:" "}),t.appendData({type:"Dimension",unit:n.right.unit,value:n.right.value}),r.appendData({type:"Dimension",unit:i.unit,value:i.value}),r.appendData({type:"WhiteSpace",value:" "}),r.appendData({type:"Operator",value:"+"}),r.appendData({type:"WhiteSpace",value:" "}),r.appendData({type:"Dimension",unit:n.top.unit,value:n.top.value}),r.appendData({type:"WhiteSpace",value:" "}),r.appendData({type:"Operator",value:"+"}),r.appendData({type:"WhiteSpace",value:" "}),r.appendData({type:"Dimension",unit:n.bottom.unit,value:n.bottom.value}),g.appendData({type:"Function",name:"calc",children:t}),g.appendData({type:"WhiteSpace",value:" "}),g.appendData({type:"Function",name:"calc",children:r}),u.appendData({type:"Declaration",property:"size",loc:null,value:{type:"Value",children:g}});let a=e.children.createItem({type:"Atrule",prelude:null,name:"page :right",block:{type:"Block",loc:null,children:u}});e.children.append(a)}}getNth(e){let t=e.indexOf("n"),r=e.indexOf("+"),n=e.split("n"),a=e.split("+"),s=null,i=null;return t>-1?(s=n[0],r>-1&&(i=a[1])):i=e,{type:"Nth",loc:null,selector:null,nth:{type:"AnPlusB",loc:null,a:s,b:i}}}addPageAttributes(e,t,r){let n=[t.dataset.page];if(n&&n.length)for(let r of n)r&&(e.name=r,e.element.classList.add("pagedjs_named_page"),e.element.classList.add("pagedjs_"+r+"_page"),t.dataset.splitFrom||e.element.classList.add("pagedjs_"+r+"_first_page"))}getStartElement(e,t){let r=t&&t.node;if(!e&&!t)return;if(!r)return e.children[0];if(1===r.nodeType&&11===r.parentNode.nodeType||1===r.nodeType&&r.dataset.page)return r;let n=b(r),a=n.querySelectorAll("[data-page]");return a.length?a[a.length-1]:n.children[0]}beforePageLayout(e,t,r,n){let a=this.getStartElement(t,r);a&&this.addPageAttributes(e,a,n.pages)}finalizePage(e,t,r,n){for(let e in this.marginalia){let r=this.marginalia[e],n=e.split(" ");t.element.matches(n[0])&&r.hasContent&&t.element.querySelector(n[1]).classList.add("hasContent")}
778["top","bottom"].forEach(e=>{let r,n,a,s=t.element.querySelector(".pagedjs_margin-"+e),i=t.element.querySelector(".pagedjs_margin-"+e+"-center"),o=t.element.querySelector(".pagedjs_margin-"+e+"-left"),l=t.element.querySelector(".pagedjs_margin-"+e+"-right"),c=i.classList.contains("hasContent"),d=o.classList.contains("hasContent"),u=l.classList.contains("hasContent");if(d&&(n=window.getComputedStyle(o)["max-width"]),u&&(a=window.getComputedStyle(l)["max-width"]),c)if("none"===(r=window.getComputedStyle(i)["max-width"])||"auto"===r)if(d||u)if(d)if(u)if("none"!==n&&"auto"!==n)"none"!==a&&"auto"!==a?s.style["grid-template-columns"]=n+" 1fr "+a:s.style["grid-template-columns"]=n+" 1fr "+n;else if("none"!==a&&"auto"!==a)s.style["grid-template-columns"]=a+" 1fr "+a;else{s.style["grid-template-columns"]="auto auto 1fr",o.style["white-space"]="nowrap",i.style["white-space"]="nowrap",l.style["white-space"]="nowrap";let e=o.offsetWidth,t=i.offsetWidth,r=100*t/(e+t+l.offsetWidth);r>40?s.style["grid-template-columns"]="minmax(16.66%, 1fr) minmax(33%, "+r+"%) minmax(16.66%, 1fr)":s.style["grid-template-columns"]="repeat(3, 1fr)",o.style["white-space"]="normal",i.style["white-space"]="normal",l.style["white-space"]="normal"}else if("none"!==n&&"auto"!==n)s.style["grid-template-columns"]=n+" 1fr "+n;else{s.style["grid-template-columns"]="auto auto 1fr",o.style["white-space"]="nowrap",i.style["white-space"]="nowrap";let e=o.offsetWidth,t=i.offsetWidth;s.style["grid-template-columns"]="minmax(16.66%, 1fr) minmax(33%, "+100*t/(e+t)+"%) minmax(16.66%, 1fr)",o.style["white-space"]="normal",i.style["white-space"]="normal"}else if("none"!==a&&"auto"!==a)s.style["grid-template-columns"]=a+" 1fr "+a;else{s.style["grid-template-columns"]="auto auto 1fr",l.style["white-space"]="nowrap",i.style["white-space"]="nowrap";let e=l.offsetWidth,t=i.offsetWidth;s.style["grid-template-columns"]="minmax(16.66%, 1fr) minmax(33%, "+100*t/(e+t)+"%) minmax(16.66%, 1fr)",l.style["white-space"]="normal",i.style["white-space"]="normal"}else s.style["grid-template-columns"]="0 1fr 0";else"none"!==r&&"auto"!==r&&(d&&"none"!==n&&"auto"!==n?s.style["grid-template-columns"]=n+" "+r+" 1fr":u&&"none"!==a&&"auto"!==a?s.style["grid-template-columns"]="1fr "+r+" "+a:s.style["grid-template-columns"]="1fr "+r+" 1fr");else if(d)if(u)if("none"!==n&&"auto"!==n)"none"!==a&&"auto"!==a?s.style["grid-template-columns"]=n+" 1fr "+a:s.style["grid-template-columns"]=n+" 0 1fr";else if("none"!==a&&"auto"!==a)s.style["grid-template-columns"]="1fr 0 "+a;else{s.style["grid-template-columns"]="auto 1fr auto",o.style["white-space"]="nowrap",l.style["white-space"]="nowrap";let e=o.offsetWidth,t=l.offsetWidth;s.style["grid-template-columns"]="minmax(16.66%, "+100*e/(e+t)+"%) 0 1fr",o.style["white-space"]="normal",l.style["white-space"]="normal"}else s.style["grid-template-columns"]="1fr 0 0";else"none"!==a&&"auto"!==a?s.style["grid-template-columns"]="1fr 0 "+a:s.style["grid-template-columns"]="0 0 1fr"}),["left","right"].forEach(e=>{let r,n,a,s=t.element.querySelector(".pagedjs_margin-"+e+"-middle.hasContent"),i=t.element.querySelector(".pagedjs_margin-"+e),o=t.element.querySelector(".pagedjs_margin-"+e+"-top"),l=t.element.querySelector(".pagedjs_margin-"+e+"-bottom"),c=o.classList.contains("hasContent"),d=l.classList.contains("hasContent");c&&(n=window.getComputedStyle(o)["max-height"]),d&&(a=window.getComputedStyle(l)["max-height"]),s?"none"===(r=window.getComputedStyle(s)["max-height"])||"auto"===r?c||d?c?d?"none"!==n&&"auto"!==n?"none"!==a&&"auto"!==a?i.style["grid-template-rows"]=n+" calc(100% - "+n+" - "+a+") "+a:i.style["grid-template-rows"]=n+" calc(100% - "+n+"*2) "+n:"none"!==a&&"auto"!==a&&(i.style["grid-template-rows"]=a+" calc(100% - "+a+"*2) "+a):"none"!==n&&"auto"!==n&&(i.style["grid-template-rows"]=n+" calc(100% - "+n+"*2) "+n):"none"!==a&&"auto"!==a&&(i.style["grid-template-rows"]=a+" calc(100% - "+a+"*2) "+a):i.style["grid-template-rows"]="0 1fr 0":c&&"none"!==n&&"auto"!==n?i.style["grid-template-rows"]=n+" "+r+" calc(100% - ("+n+" + "+r+"))":d&&"none"!==a&&"auto"!==a?i.style["grid-template-rows"]="1fr "+r+" "+a:i.style["grid-template-rows"]="calc((100% - "+r+")/2) "+r+" calc((100% - "+r+")/2)":c?d?"none"!==n&&"auto"!==n?"none"!==a&&"auto"!==a?i.style["grid-template-rows"]=n+" 1fr "+a:i.style["grid-template-rows"]=n+" 0 1fr":"none"!==a&&"auto"!==a?i.style["grid-template-rows"]="1fr 0 "+a:i.style["grid-template-rows"]="1fr 0 1fr":i.style["grid-template-rows"]="1fr 0 0":"none"!==a&&"auto"!==a?i.style["grid-template-rows"]="1fr 0 "+a:i.style["grid-template-rows"]="0 0 1fr"})}selectorsForPage(e){let t,r,n=new G.List;return n.insertData({type:"ClassSelector",name:"pagedjs_page"}),e.name&&(n.insertData({type:"ClassSelector",name:"pagedjs_named_page"}),n.insertData({type:"ClassSelector",name:"pagedjs_"+e.name+"_page"})),e.psuedo&&!(e.name&&"first"===e.psuedo)&&n.insertData({type:"ClassSelector",name:"pagedjs_"+e.psuedo+"_page"}),e.name&&"first"===e.psuedo&&n.insertData({type:"ClassSelector",name:"pagedjs_"+e.name+"_"+e.psuedo+"_page"}),e.nth&&(t=new G.List,r=this.getNth(e.nth),t.insertData(r),n.insertData({type:"PseudoClassSelector",name:"nth-of-type",children:t})),n}selectorsForPageMargin(e,t){let r=this.selectorsForPage(e);return r.insertData({type:"Combinator",name:" "}),r.insertData({type:"ClassSelector",name:"pagedjs_margin-"+t}),r}createDeclaration(e,t,r){let n=new G.List;return n.insertData({type:"Identifier",loc:null,name:t}),{type:"Declaration",loc:null,important:r,property:e,value:{type:"Value",loc:null,children:n}}}createVariable(e,t){return{type:"Declaration",loc:null,property:e,value:{type:"Raw",value:t}}}createCalculatedDimension(e,t,r,n="+"){let a=new G.List,s=new G.List;return t.forEach((e,r)=>{s.appendData({type:"Dimension",unit:e.unit,value:e.value}),s.appendData({type:"WhiteSpace",value:" "}),r+1<t.length&&(s.appendData({type:"Operator",value:n}),s.appendData({type:"WhiteSpace",value:" "}))}),a.insertData({type:"Function",loc:null,name:"calc",children:s}),{type:"Declaration",loc:null,important:r,property:e,value:{type:"Value",loc:null,children:a}}}createDimension(e,t,r){let n=new G.List;return n.insertData({type:"Dimension",loc:null,value:t.value,unit:t.unit}),{type:"Declaration",loc:null,important:r,property:e,value:{type:"Value",loc:null,children:n}}}createBlock(e){let t=new G.List;
778return e.forEach(e=>{t.insertData(e)}),{type:"Block",loc:null,children:t}}createRule(e,t){let r=new G.List;return r.insertData({type:"Selector",children:e}),Array.isArray(t)&&(t=this.createBlock(t)),{type:"Rule",prelude:{type:"SelectorList",children:r},block:t}}}class et extends X{constructor(e,t,r){super(e,t,r),this.breaks={}}onDeclaration(e,t,r,n){let a=e.property;if("page"===a){let s=e.value.children.first().name,i=G.generate(n.ruleNode.prelude),o={property:a,value:s,selector:i,name:s};i.split(",").forEach(e=>{this.breaks[e]?this.breaks[e].push(o):this.breaks[e]=[o]}),r.remove(t)}if("break-before"===a||"break-after"===a||"page-break-before"===a||"page-break-after"===a){let s=e.value.children.first().name,i=G.generate(n.ruleNode.prelude);"page-break-before"===a?a="break-before":"page-break-after"===a&&(a="break-after");let o={property:a,value:s,selector:i};i.split(",").forEach(e=>{this.breaks[e]?this.breaks[e].push(o):this.breaks[e]=[o]}),r.remove(t)}}afterParsed(e){this.processBreaks(e,this.breaks)}processBreaks(e,t){for(let n in t){let a=e.querySelectorAll(n);for(var r=0;r<a.length;r++)for(let s of t[n])if("break-after"===s.property){let t=y(a[r],e);a[r].setAttribute("data-break-after",s.value),t&&t.setAttribute("data-previous-break-after",s.value)}else if("break-before"===s.property){let t=function(e,t){let r=f(e,t);for(;r&&r.dataset.undisplayed;)r=f(r,t);return r}(a[r],e);if(t){if("page"===s.value&&x(a[r],t))continue;a[r].setAttribute("data-break-before",s.value),t.setAttribute("data-next-break-before",s.value)}}else if("page"===s.property){a[r].setAttribute("data-page",s.value);let t=y(a[r],e);t&&t.setAttribute("data-after-page",s.value)}else a[r].setAttribute("data-"+s.property,s.value)}}mergeBreaks(e,t){for(let r in t)r in e?e[r]=e[r].concat(t[r]):e[r]=t[r];return e}addBreakAttributes(e,t){let r=e.querySelector("[data-break-before]"),n=e.querySelector("[data-break-after]"),a=e.querySelector("[data-previous-break-after]");r&&(r.dataset.splitFrom?(t.splitFrom=r.dataset.splitFrom,e.setAttribute("data-split-from",r.dataset.splitFrom)):r.dataset.breakBefore&&"avoid"!==r.dataset.breakBefore&&(t.breakBefore=r.dataset.breakBefore,e.setAttribute("data-break-before",r.dataset.breakBefore))),n&&n.dataset&&(n.dataset.splitTo?(t.splitTo=n.dataset.splitTo,e.setAttribute("data-split-to",n.dataset.splitTo)):n.dataset.breakAfter&&"avoid"!==n.dataset.breakAfter&&(t.breakAfter=n.dataset.breakAfter,e.setAttribute("data-break-after",n.dataset.breakAfter))),a&&a.dataset&&a.dataset.previousBreakAfter&&"avoid"!==a.dataset.previousBreakAfter&&(t.previousBreakAfter=a.dataset.previousBreakAfter)}afterPageLayout(e,t){this.addBreakAttributes(e,t)}}class er extends X{constructor(e,t,r){super(e,t,r)}onAtMedia(e,t,r){let n,a=this.getMediaName(e);a.includes("print")?(n=e.block.children,r.appendList(n),r.remove(t)):a.includes("all")||a.includes("pagedjs-ignore")||r.remove(t)}getMediaName(e){let t=[];if(void 0!==e.prelude&&"AtrulePrelude"===e.prelude.type)return G.walk(e.prelude,{visit:"Identifier",enter:(e,r,n)=>{t.push(e.name)}}),t}}class en extends X{constructor(e,t,r){super(e,t,r)}afterPageLayout(e,t,r,n){let a,s,i=Array.from(e.querySelectorAll("[data-split-from]")),o=e.parentNode,l=Array.prototype.indexOf.call(o.children,e);0!==l&&(a=o.children[l-1],i.forEach(e=>{let t=e.dataset.ref;(s=a.querySelector("[data-ref='"+t+"']:not([data-split-to])"))&&(s.dataset.splitTo=t,s.dataset.splitFrom||(s.dataset.splitOriginal=!0))}),s&&this.handleAlignment(s))}handleAlignment(e){let t=window.getComputedStyle(e),r=t["text-align"],n=t["text-align-last"];e.dataset.lastSplitElement="true","justify"===r&&"auto"===n?e.dataset.alignLastSplitElement="justify":e.dataset.alignLastSplitElement=n}}class ea extends X{constructor(e,t,r){super(e,t,r),this.styleSheet=t.styleSheet,this.counters={},this.resetCountersMap=new Map}onDeclaration(e,t,r,n){let a=e.property;if("counter-increment"===a){this.handleIncrement(e,n);let a=!1;e.value.children.forEach(e=>{e.type&&"WhiteSpace"!==e.type&&(a=!0)}),a||r.remove(t)}else if("counter-reset"===a){this.handleReset(e,n);let a=!1;
778e.value.children.forEach(e=>{e.type&&"WhiteSpace"!==e.type&&(a=!0)}),a||r.remove(t)}}afterParsed(e){this.processCounters(e,this.counters),this.scopeCounters(this.counters)}addCounter(e){return e in this.counters||(this.counters[e]={name:e,increments:{},resets:{}}),this.counters[e]}handleIncrement(e,t){let r=[],n=e.value.children;return n.forEach((e,a)=>{if(e.type&&"Identifier"===e.type){let s,i,o,l,c=e.name;if("page"===c||0===c.indexOf("target-counter-"))return;a.next&&"WhiteSpace"===a.next.data.type&&(s=a.next),s&&s.next&&"Number"===s.next.data.type&&(o=parseInt((i=s.next).data.value));let d=G.generate(t.ruleNode.prelude);l=c in this.counters?this.counters[c]:this.addCounter(c);let u={selector:d,number:o||1};l.increments[d]=u,r.push(u),n.remove(a),s&&n.remove(s),i&&n.remove(i)}}),r}handleReset(e,t){let r=e.value.children;r.forEach((n,a)=>{if(n.type&&"Identifier"===n.type){let s,i,o,l,c,d=n.name;a.next&&"WhiteSpace"===a.next.data.type&&(s=a.next),s&&s.next&&("Number"===s.next.data.type?o=parseInt((i=s.next).data.value):"Function"===s.next.data.type&&"var"===s.next.data.name&&(i=s.next,o=s.next.data.children.head.data.name));let u=t.ruleNode.prelude;c="Atrule"===t.ruleNode.type&&"page"===t.ruleNode.name?".pagedjs_page":G.generate(u||t.ruleNode),"footnote"===d&&this.addFootnoteMarkerCounter(e.value.children),l=d in this.counters?this.counters[d]:this.addCounter(d);let p={selector:c,number:o||0};l.resets[c]=p,".pagedjs_page"!==c&&(r.remove(a),s&&r.remove(s),i&&r.remove(i))}})}processCounters(e,t){let r;for(let n in t)r=this.counters[n],this.processCounterIncrements(e,r),this.processCounterResets(e,r),"page"!==n&&this.addCounterValues(e,r)}scopeCounters(e){let t=[];for(let r in e)"page"!==r&&t.push(`${e[r].name} 0`);this.insertRule(`.pagedjs_pages { counter-reset: ${t.join(" ")} page 0 pages var(--pagedjs-page-count) footnote var(--pagedjs-footnotes-count) footnote-marker var(--pagedjs-footnotes-count)}`)}insertRule(e){this.styleSheet.insertRule(e,this.styleSheet.cssRules.length)}processCounterIncrements(e,t){let r;for(let n in t.increments){r=t.increments[n];let a=e.querySelectorAll(r.selector);for(let e=0;e<a.length;e++)a[e].setAttribute("data-counter-"+t.name+"-increment",r.number),a[e].getAttribute("data-counter-increment")?a[e].setAttribute("data-counter-increment",a[e].getAttribute("data-counter-increment")+" "+t.name):a[e].setAttribute("data-counter-increment",t.name)}}processCounterResets(e,t){let r;for(let a in t.resets){r=t.resets[a];let s=e.querySelectorAll(r.selector);for(var n=0;n<s.length;n++){let e=r.number;"string"==typeof e&&e.startsWith("--")&&(e=s[n].style.getPropertyValue(e)||0),s[n].setAttribute("data-counter-"+t.name+"-reset",e),s[n].getAttribute("data-counter-reset")?s[n].setAttribute("data-counter-reset",s[n].getAttribute("data-counter-reset")+" "+t.name):s[n].setAttribute("data-counter-reset",t.name)}}}addCounterValues(e,t){let r,n,a,s,i,o=t.name;if("page"===o||"footnote"===o)return;let l=e.querySelectorAll("[data-counter-"+o+"-reset], [data-counter-"+o+"-increment]"),c=0;for(let e=0;e<l.length;e++)r=l[e],s=0,i=[],r.hasAttribute("data-counter-"+o+"-reset")&&(s=(n=parseInt(r.getAttribute("data-counter-"+o+"-reset")))-c,i.push(`${o} ${s}`),c=n),r.hasAttribute("data-counter-"+o+"-increment")&&(c+=a=parseInt(r.getAttribute("data-counter-"+o+"-increment")),r.setAttribute("data-counter-"+o+"-value",c),i.push(`${o} ${a}`)),i.length>0&&this.incrementCounterForElement(r,i)}addFootnoteMarkerCounter(e){let t=[];G.walk(e,{visit:"Identifier",enter:(e,r,n)=>{t.push(e.name)}}),t.includes("footnote-maker")||(e.insertData({type:"WhiteSpace",value:" "}),e.insertData({type:"Identifier",name:"footnote-marker"}),e.insertData({type:"WhiteSpace",value:" "}),e.insertData({type:"Number",value:0}))}incrementCounterForElement(e,t){if(!e||!t||0===t.length)return;let r=e.dataset.ref,n=Array.from(this.styleSheet.cssRules).filter(t=>t.selectorText===`[data-ref="${e.dataset.ref}"]:not([data-split-from])`&&"counter-increment"===t.style[0]).map(e=>e.style.counterIncrement);n.push(this.mergeIncrements(t,(e,t)=>(parseInt(e)||0)+(parseInt(t)||0)));let a=this.mergeIncrements(n,(e,t)=>t);this.insertRule(`[data-ref="${r}"]:not([data-split-from]) { counter-increment: ${a} }`)}mergeIncrements(e,t){let r={};
778return e.forEach(e=>{let n=e.split(" ");for(let e=0;e<n.length;e+=2)r[n[e]]=t(r[n[e]],n[e+1])}),Object.entries(r).map(([e,t])=>`${e} ${t}`).join(" ")}afterPageLayout(e,t){let r=[];e.querySelectorAll("[data-counter-page-reset]:not([data-split-from])").forEach(e=>{let t=e.dataset&&e.dataset.ref;if(t&&this.resetCountersMap.has(t));else{t&&this.resetCountersMap.set(t,"");let n=e.dataset.counterPageReset;r.push(`page ${n}`)}}),e.querySelectorAll("[data-counter-footnote-reset]:not([data-split-from])").forEach(e=>{let t=e.dataset.counterFootnoteReset;r.push(`footnote ${t}`),r.push(`footnote-marker ${t}`)}),r.length&&this.styleSheet.insertRule(`[data-page-number="${e.dataset.pageNumber}"] { counter-increment: none; counter-reset: ${r.join(" ")} }`,this.styleSheet.cssRules.length)}}class es extends X{constructor(e,t,r){super(e,t,r)}afterParsed(e){for(var t of e.querySelectorAll("ol"))this.addDataNumbers(t)}afterPageLayout(e,t,r,n){for(var a of e.getElementsByTagName("ol"))a.firstElementChild&&(a.start=a.firstElementChild.dataset.itemNum)}addDataNumbers(e){let t=1;e.hasAttribute("start")&&isNaN(t=parseInt(e.getAttribute("start"),10))&&(t=1);let r=e.children;for(var n=0;n<r.length;n++)r[n].setAttribute("data-item-num",n+t)}}class ei extends X{constructor(e,t,r){super(e,t,r),this.styleSheet=t.styleSheet,this.fixedElementsSelector=[],this.fixedElements=[]}onDeclaration(e,t,r,n){if("position"===e.property&&"fixed"===e.value.children.first().name){let e=G.generate(n.ruleNode.prelude);this.fixedElementsSelector.push(e),r.remove(t)}}afterParsed(e){this.fixedElementsSelector.forEach(t=>{e.querySelectorAll(`${t}`).forEach(e=>{e.style.setProperty("position","absolute"),this.fixedElements.push(e),e.remove()})})}afterPageLayout(e,t,r){this.fixedElements.forEach(t=>{let r=t.cloneNode(!0);e.querySelector(".pagedjs_pagebox").insertAdjacentElement("afterbegin",r)})}}class eo extends X{constructor(e,t,r){super(e,t,r),this.styleSheet=t.styleSheet,this.pageCounter={name:"page",increments:{},resets:{}}}onDeclaration(e,t,r,n){"counter-increment"===e.property&&this.handleIncrement(e,n)&&r.remove(t)}afterParsed(e){for(let e in this.pageCounter.increments){let t=this.pageCounter.increments[e];this.insertRule(`${t.selector} { --pagedjs-page-counter-increment: ${t.number} }`)}}handleIncrement(e,t){let r=e.value.children.first(),n=e.value.children.getSize()>1?e.value.children.last().value:1,a=r&&r.name;if(a&&0===a.indexOf("target-counter-")||"page"!==a||"page"===t.ruleNode.name&&"Atrule"===t.ruleNode.type)return;let s=G.generate(t.ruleNode.prelude);return this.pageCounter.increments[s]={selector:s,number:n}}insertRule(e){this.styleSheet.insertRule(e,this.styleSheet.cssRules.length)}}class el extends X{constructor(e,t,r){super(e,t,r),this.styleSheet=t.styleSheet,this.selectors={}}onRule(e,t,r){let n=G.generate(e.prelude);if(n.match(/:(first|last|nth)-of-type/)){let s=G.generate(e.block);s=s.replace(/[{}]/g,"");let i="nth-of-type-"+a();n.split(",").forEach(e=>{this.selectors[e]?this.selectors[e][1]=`${this.selectors[e][1]};${s}`:this.selectors[e]=[i,s]}),r.remove(t)}}afterParsed(e){this.processSelectors(e,this.selectors)}processSelectors(e,t){for(let n in t){let a=e.querySelectorAll(n);for(var r=0;r<a.length;r++){let e=a[r].getAttribute("data-nth-of-type");e&&""!=e?(e=`${e},${t[n][0]}`,a[r].setAttribute("data-nth-of-type",e)):a[r].setAttribute("data-nth-of-type",t[n][0])}let s=`*[data-nth-of-type*='${t[n][0]}'] { ${t[n][1]}; }`;this.styleSheet.insertRule(s,this.styleSheet.cssRules.length)}}}class ec extends X{constructor(e,t,r){super(e,t,r),this.styleSheet=t.styleSheet,this.selectors={}}onRule(e,t,r){let n=G.generate(e.prelude);if(n.match(/\+/)){let s=G.generate(e.block);s=s.replace(/[{}]/g,"");let i="following-"+a();n.split(",").forEach(e=>{this.selectors[e]?this.selectors[e][1]=`${this.selectors[e][1]};${s}`:this.selectors[e]=[i,s]}),r.remove(t)}}afterParsed(e){this.processSelectors(e,this.selectors)}processSelectors(e,t){for(let n in t){let a=e.querySelectorAll(n);for(var r=0;r<a.length;r++){let e=a[r].getAttribute("data-following");e&&""!=e?(e=`${e},${t[n][0]}`,a[r].setAttribute("data-following",e)):a[r].setAttribute("data-following",t[n][0])}let s=`*[data-following*='${t[n][0]}'] { ${t[n][1]}; }`;this.styleSheet.insertRule(s,this.styleSheet.cssRules.length)}}}class ed extends X{constructor(e,t,r){super(e,t,r),this.footnotes={},this.needsLayout=[]}onDeclaration(e,t,r,n){let a=e.property;if("float"===a){let a=e.value.children&&e.value.children.first();if("footnote"===(a&&a.name)){let e=G.generate(n.ruleNode.prelude);this.footnotes[e]={selector:e,policy:"auto",display:"block"},r.remove(t)}}if("footnote-policy"===a){let t=e.value.children&&e.value.children.first(),r=t&&t.name;if(r){let e=G.generate(n.ruleNode.prelude),t=this.footnotes[e];t&&(t.policy=r)}}if("footnote-display"===a){let t=e.value.children&&e.value.children.first(),r=t&&t.name,a=G.generate(n.ruleNode.prelude);if(r&&this.footnotes[a]){let e=this.footnotes[a];
vendor: 4,754 bytes, line 778
778e&&(e.display=r)}}}onPseudoSelector(e,t,r,n,a){let s=e.name;if("footnote-marker"===s){let e=a.ruleNode.prelude,t=new G.List;e.children.first().children.each(e=>{"PseudoElementSelector"!==e.type&&t.appendData(e)}),t.appendData({type:"AttributeSelector",name:{type:"Identifier",name:"data-footnote-marker"},flags:null,loc:null,matcher:null,value:null}),t.appendData({type:"PseudoElementSelector",name:"marker",loc:null,children:null}),e.children.first().children=t}if("footnote-call"===s){let e=a.ruleNode.prelude,t=new G.List;e.children.first().children.each(e=>{"PseudoElementSelector"!==e.type&&t.appendData(e)}),t.appendData({type:"AttributeSelector",name:{type:"Identifier",name:"data-footnote-call"},flags:null,loc:null,matcher:null,value:null}),t.appendData({type:"PseudoElementSelector",name:"after",loc:null,children:null}),e.children.first().children=t}}afterParsed(e){this.processFootnotes(e,this.footnotes)}processFootnotes(e,t){for(let n in t){let a,s=e.querySelectorAll(n),i=t[n];for(var r=0;r<s.length;r++)(a=s[r]).setAttribute("data-note","footnote"),a.setAttribute("data-break-before","avoid"),a.setAttribute("data-note-policy",i.policy||"auto"),a.setAttribute("data-note-display",i.display||"block"),this.processFootnoteContainer(a)}}processFootnoteContainer(e){let t=e.parentElement,r=t;for(;t;){if(k(t)){r.setAttribute("data-has-notes","true");break}r=t,(t=t.parentElement)||r.setAttribute("data-has-notes","true")}}renderNode(e){if(1==e.nodeType){let t;e.dataset&&("footnote"===e.dataset.note?t=[e]:(e.dataset.hasNotes||e.querySelectorAll("[data-note='footnote']"))&&(t=e.querySelectorAll("[data-note='footnote']")),t&&t.length&&this.findVisibleFootnotes(t,e))}}findVisibleFootnotes(e,t){let r,n;n=(r=t.closest(".pagedjs_page_content").getBoundingClientRect()).left+r.width;for(let r=0;r<e.length;++r){let a=e[r];a.getBoundingClientRect().left<n&&this.moveFootnote(a,t.closest(".pagedjs_area"),!0)}}moveFootnote(e,t,r){let n,a=t.querySelector(".pagedjs_footnote_area"),s=a.querySelector(".pagedjs_footnote_content"),i=s.querySelector(".pagedjs_footnote_inner_content");if(!d(e))return;if(r&&(n=this.createFootnoteCall(e)),e.removeAttribute("data-break-before"),i.querySelector(`[data-ref="${e.dataset.ref}"]`))return void e.remove();i.appendChild(e),s.classList.contains("pagedjs_footnote_empty")&&s.classList.remove("pagedjs_footnote_empty"),e.dataset.footnoteMarker=e.dataset.ref,e.id=`note-${e.dataset.ref}`;let o=s.scrollHeight,l=t.querySelector(".pagedjs_page_content").getBoundingClientRect(),c=l.left+l.width,u=n&&n.getBoundingClientRect(),p=a.getBoundingClientRect(),h=this.marginsHeight(s),g=this.paddingHeight(s),m=this.borderHeight(s),f=h+g+m,y=Math.floor(p.top);0===p.height&&(y-=this.marginsHeight(s,!1),y-=this.paddingHeight(s,!1),y-=this.borderHeight(s,!1));let b=e.dataset.notePolicy,v=0,x=0;if(n){let e=n.previousSibling,t=new Range;e?t.setStartBefore(e):t.setStartBefore(n),t.setEndAfter(n);let r=t.getBoundingClientRect();if(v=r.bottom,b&&"auto"!==b){if("line"===b)x=Math.ceil(r.top);else if("block"===b){let e=n.closest("p").previousElementSibling;x=e?Math.ceil(e.getBoundingClientRect().bottom):Math.ceil(r.bottom)}}else x=Math.ceil(r.bottom)}let k=o+f-p.height,w=v?y-v:0,S=v?Math.floor(p.top)-x:0,j=a.querySelector("[data-note='footnote']");if(r&&u.left>c)e.remove();else if(!j&&r&&f>w){t.style.setProperty("--pagedjs-footnotes-height","0px");let r=document.createElement("div");r.appendChild(e),this.needsLayout.push(r)}else r?v<p.top-k?t.style.setProperty("--pagedjs-footnotes-height",`${o+h+m}px`):(t.style.setProperty("--pagedjs-footnotes-height",`${p.height+S}px`),i.style.height=p.height+S-f+"px"):t.style.setProperty("--pagedjs-footnotes-height",`${o+f}px`)}createFootnoteCall(e){let t=e.parentElement,r=document.createElement("a");for(let t of e.classList)r.classList.add(`${t}`);return r.dataset.footnoteCall=e.dataset.ref,r.dataset.ref=e.dataset.ref,r.dataset.dataCounterFootnoteIncrement=1,r.href=`#note-${e.dataset.ref}`,t.insertBefore(r,e),r}afterPageLayout(e,t,r,n){let a=e.querySelector(".pagedjs_area"),s=t.footnotesArea,i=s.querySelector(".pagedjs_footnote_content"),o=s.querySelector(".pagedjs_footnote_inner_content"),l=i.getBoundingClientRect(),{width:c}=l;o.style.columnWidth=Math.round(c)+"px",o.style.columnGap="calc(var(--pagedjs-margin-right) + var(--pagedjs-margin-left))";let u=new I(s,void 0,n.settings).findOverflow(o,l);if(u){let e,{startContainer:s,startOffset:l}=u;if(d(s)){let t=s.childNodes[l];e=d(t)&&t.hasAttribute("data-footnote-marker")}let c=u.extractContents();if(!e){let e=c.firstElementChild;e.dataset.splitFrom=e.dataset.ref,this.handleAlignment(o.lastElementChild)}this.needsLayout.push(c),i.style.removeProperty("height"),o.style.removeProperty("height");let{height:p}
778=o.getBoundingClientRect(),h=this.marginsHeight(i),g=this.paddingHeight(i),m=this.borderHeight(i);if(a.style.setProperty("--pagedjs-footnotes-height",`${p+h+m+g}px`),0===o.childNodes.length&&i.classList.add("pagedjs_footnote_empty"),r){let e,a;r.node&&void 0!==r.node.dataset&&void 0!==r.node.dataset.previousBreakAfter&&(a=r.node.dataset.previousBreakAfter),r.node&&void 0!==r.node.dataset&&void 0!==r.node.dataset.breakBefore&&(e=r.node.dataset.breakBefore),(e||a)&&n.clonePage(t)}else n.clonePage(t)}o.style.height="auto"}handleAlignment(e){let t=window.getComputedStyle(e)["text-align-last"];e.dataset.lastSplitElement="true","auto"===t?e.dataset.alignLastSplitElement="justify":e.dataset.alignLastSplitElement=t}beforePageLayout(e){for(;this.needsLayout.length;)Array.from(this.needsLayout.shift().childNodes).forEach(t=>{this.moveFootnote(t,e.element.querySelector(".pagedjs_area"),!1)})}afterOverflowRemoved(e,t){let r=t.closest(".pagedjs_area"),n=r.querySelectorAll(".pagedjs_footnote_area [data-note='footnote']");for(let t=0;t<n.length;t++){let r=n[t];e.querySelector(`[data-footnote-call="${r.dataset.ref}"]`)&&r.remove()}let a=r.querySelector(".pagedjs_footnote_inner_content");a&&0===a.childNodes.length&&a.parentElement.classList.add("pagedjs_footnote_empty")}marginsHeight(e,t=!0){let r=window.getComputedStyle(e),n=parseInt(r.marginTop),a=parseInt(r.marginBottom),s=0;return n&&(s+=n),a&&t&&(s+=a),s}paddingHeight(e,t=!0){let r=window.getComputedStyle(e),n=parseInt(r.paddingTop),a=parseInt(r.paddingBottom),s=0;return n&&(s+=n),a&&t&&(s+=a),s}borderHeight(e,t=!0){let r=window.getComputedStyle(e),n=parseInt(r.borderTop),a=parseInt(r.borderBottom),s=0;return n&&(s+=n),a&&t&&(s+=a),s}}class eu extends X{constructor(e,t,r){super(e,t,r),this.runningSelectors={},this.elements={}}onDeclaration(e,t,r,n){if("position"===e.property){let t=G.generate(n.ruleNode.prelude),r=e.value.children.first().name;if("running"===r){let n;G.walk(e,{visit:"Function",enter:(e,t,r)=>{n=e.children.first().name}}),this.runningSelectors[n]={identifier:r,value:n,selector:t}}}"content"===e.property&&G.walk(e,{visit:"Function",enter:(e,t,r)=>{if(e.name.indexOf("element")>-1){let t=G.generate(n.ruleNode.prelude),r=e.name,a=e.children.first().name,s=[a];t.split(",").forEach(e=>{e=e.replace(/::after|::before/,""),this.elements[e]={func:r,args:s,value:a,style:"first",selector:e,fullSelector:t}})}}})}afterParsed(e){for(let t of Object.keys(this.runningSelectors)){let r=this.runningSelectors[t],n=Array.from(e.querySelectorAll(r.selector));if("running"===r.identifier)for(let e of n)e.style.display="none"}}afterPageLayout(e){for(let t of Object.keys(this.runningSelectors)){let r=this.runningSelectors[t],n=e.querySelector(r.selector);n&&("running"===r.identifier?r.first=n:console.warn(r.value+"needs css replacement"))}for(let t of(this.orderedSelectors||(this.orderedSelectors=this.orderSelectors(this.elements)),this.orderedSelectors))if(t){let r=this.elements[t],n=e.querySelector(t);if(n){let e=this.runningSelectors[r.args[0]];if(e&&e.first){n.innerHTML="";let t=e.first.cloneNode(!0);t.style.display=null,n.appendChild(t)}}}}pageWeight(e){let t=1,r=e.split(" "),n=r.length&&r[0].split(".");switch(n.shift(),n.length){case 4:/^pagedjs_[\w-]+_first_page$/.test(n[3])?t=7:("pagedjs_left_page"===n[3]||"pagedjs_right_page"===n[3])&&(t=6);break;case 3:"pagedjs_named_page"===n[1]&&(t=n[2].indexOf(":nth-of-type")>-1?7:5);break;case 2:"pagedjs_first_page"===n[1]?t=4:"pagedjs_blank_page"===n[1]?t=3:("pagedjs_left_page"===n[1]||"pagedjs_right_page"===n[1])&&(t=2);break;default:t=n[0].indexOf(":nth-of-type")>-1?4:1}return t}orderSelectors(e){let t=Object.keys(e),r={1:[],2:[],3:[],4:[],5:[],6:[],7:[]},n=[];for(let e of t)r[this.pageWeight(e)].unshift(e);for(var a=1;a<=7;a++)n=n.concat(r[a]);return n}beforeTreeParse(e,t){t.text=e.replace(/element[\s]*\(([^|^#)]*)\)/g,"element-ident($1)")}}function ep(e,t="\"' "){if(null!=e)return e.replace(RegExp(`^[${t}]+`),"").replace(RegExp(`[${t}]+$`),"").replace(/["']/g,e=>"\\"+e).replace(/[\n]/g,e=>"\\00000A")}class eh extends X{constructor(e,t,r){super(e,t,r),this.stringSetSelectors={},this.type,this.pageLastString}onDeclaration(e,t,r,n){if("string-set"===e.property){let t=G.generate(n.ruleNode.prelude),r=[],a=[],s=[];
778e.value.children.forEach(e=>{"Identifier"===e.type&&r.push(e.name),"Function"===e.type&&(a.push(e.name),e.children.forEach(e=>{"Identifier"===e.type&&s.push(e.name)}))}),r.forEach((e,r)=>{let n=a[r],i=s[r];this.stringSetSelectors[e]={identifier:e,func:n,value:i,selector:t}})}}onContent(e,t,r,n,a){if("string"===e.name){let t=e.children&&e.children.first().name;this.type=e.children.last().name,e.name="var",e.children=new G.List,"first"===this.type||"last"===this.type||"start"===this.type||"first-except"===this.type?e.children.append(e.children.createItem({type:"Identifier",loc:null,name:"--pagedjs-string-"+this.type+"-"+t})):e.children.append(e.children.createItem({type:"Identifier",loc:null,name:"--pagedjs-string-first-"+t}))}}afterPageLayout(e){for(let t of(void 0===this.pageLastString&&(this.pageLastString={}),Object.keys(this.stringSetSelectors))){let r,n,a,s,i=this.stringSetSelectors[t],o=i.value,l=i.func,c=e.querySelectorAll(i.selector),d=t in this.pageLastString?this.pageLastString[t]:"";0==c.length?(r=d,n=d,a=d,s=d):(c.forEach(e=>{"content"===l&&(this.pageLastString[t]=c[c.length-1].textContent),"attr"===l&&(this.pageLastString[t]=c[c.length-1].getAttribute(o)||"")}),"content"===l&&(r=c[0].textContent),"attr"===l&&(r=c[0].getAttribute(o)||""),"content"===l&&(n=c[c.length-1].textContent),"attr"===l&&(n=c[c.length-1].getAttribute(o)||""),a=c[0].getBoundingClientRect().top==c[0].closest(".pagedjs_page_content").getBoundingClientRect().top?r:d,s=""),e.style.setProperty(`--pagedjs-string-first-${t}`,`"${ep(r)}`),e.style.setProperty(`--pagedjs-string-last-${t}`,`"${ep(n)}`),e.style.setProperty(`--pagedjs-string-start-${t}`,`"${ep(a)}`),e.style.setProperty(`--pagedjs-string-first-except-${t}`,`"${ep(s)}`)}}}class eg extends X{constructor(e,t,r){super(e,t,r),this.styleSheet=t.styleSheet,this.counterTargets={}}onContent(e,t,r,n,s){if("target-counter"===e.name){let t,r,n,i=G.generate(s.ruleNode.prelude),o=e.children.first(),l=o.name,c=G.generate(e),d=[];o.children.forEach(e=>{"Identifier"===e.type&&d.push(e.name)}),e.children.forEach(e=>{"Identifier"===e.type&&(t?r||(n=G.clone(e),r=e.name):t=e.name)});let u="target-counter-"+a();i.split(",").forEach(e=>{this.counterTargets[e]={func:l,args:d,value:c,counter:t,style:r,selector:e,fullSelector:i,variable:u}}),e.name="counter",e.children=new G.List,e.children.appendData({type:"Identifier",loc:0,name:u}),n&&(e.children.appendData({type:"Operator",loc:null,value:","}),e.children.appendData(n))}}afterPageLayout(e,t,r,n){Object.keys(this.counterTargets).forEach(e=>{let t=this.counterTargets[e],r=t.selector.split(/::?/g),o=r[0];n.pagesArea.querySelectorAll(o+":not([data-"+t.variable+"])").forEach((e,o)=>{if("attr"!==t.func)return;let l=s(e,t.args),c=n.pagesArea.querySelector(i(l));if(c){let s=a();e.setAttribute("data-"+t.variable,s);let i="";if(r.length>1&&(i+="::"+r[1]),"page"===t.counter){let e=n.pagesArea.querySelectorAll(".pagedjs_page"),r=0;for(let t=0;t<e.length;t++){let n=e[t],a=window.getComputedStyle(n),s=a["counter-reset"].replace("page","").trim(),i=a["counter-increment"].replace("page","").trim();if("none"!==s&&(r=parseInt(s)),"none"!==i&&(r+=parseInt(i)),n.contains(c))break}this.styleSheet.insertRule(`[data-${t.variable}="${s}"]${i} { counter-reset: ${t.variable} ${r}; }`,this.styleSheet.cssRules.length)}else{let e=c.getAttribute(`data-counter-${t.counter}-value`);e&&this.styleSheet.insertRule(`[data-${t.variable}="${s}"]${i} { counter-reset: ${t.variable} ${t.variable} ${parseInt(e)}; }`,this.styleSheet.cssRules.length)}let o=document.querySelector(`[data-${t.variable}="${s}"]`);o&&(o.style.display="none",o.clientHeight,o.style.removeProperty("display"))}})})}}class em extends X{constructor(e,t,r){super(e,t,r),this.styleSheet=t.styleSheet,this.textTargets={},this.beforeContent="",this.afterContent="",this.selector={}}onContent(e,t,r,n,s){if("target-text"===e.name){let t;this.selector=G.generate(s.ruleNode.prelude);let r=e.children.first(),n=e.children.last(),i=r.name,o=G.generate(e),l=[];r.children.forEach(e=>{"Identifier"===e.type&&l.push(e.name)}),n!==r&&(t=n.name);let c="--pagedjs-"+a();
778this.selector.split(",").forEach(e=>{this.textTargets[e]={func:i,args:l,value:o,style:t||"content",selector:e,fullSelector:this.selector,variable:c}}),e.name="var",e.children=new G.List,e.children.appendData({type:"Identifier",loc:0,name:c})}}onPseudoSelector(e,t,r,n,a){a.ruleNode.block.children.forEach(t=>{"before"===e.name&&"content"===t.property?t.value.children.forEach(e=>{"String"===e.type&&(this.beforeContent=e.value)}):"after"===e.name&&"content"===t.property&&t.value.children.forEach(e=>{"String"===e.type&&(this.afterContent=e.value)})})}afterParsed(e){Object.keys(this.textTargets).forEach(t=>{let r,n=this.textTargets[t],o=n.selector.split("::"),l=o[0];e.querySelectorAll(l).forEach((t,l)=>{let c=s(t,n.args),d=e.querySelector(i(c));if(d)if(n.style){this.selector=a(),t.setAttribute("data-target-text",this.selector);let e="";o.length>1&&(e+="::"+o[1]),r="before"===n.style||"after"===n.style?ep(this[`${n.style}Content`]):ep(d.textContent," "),r="first-letter"===n.style?r.charAt(0):r,this.styleSheet.insertRule(`[data-target-text="${this.selector}"]${e} { ${n.variable}: "${r}" }`)}else console.warn("missed target",c)})})}}class ef extends X{constructor(e,t,r){super(e,t,r)}filter(e){E(e,e=>this.filterEmpty(e),NodeFilter.SHOW_TEXT)}filterEmpty(e){if(!(e.textContent.length>1&&A(e)))return NodeFilter.FILTER_REJECT;{let t=e.parentNode;if(d(t)&&t.closest("pre"))return NodeFilter.FILTER_REJECT;let r=T(e),n=D(e);return null===n&&null===r?(e.textContent=" ",NodeFilter.FILTER_REJECT):null===n||null===r?NodeFilter.FILTER_ACCEPT:(e.textContent=" ",NodeFilter.FILTER_REJECT)}}}class ey extends X{constructor(e,t,r){super(e,t,r)}filter(e){E(e,null,NodeFilter.SHOW_COMMENT)}}class eb extends X{constructor(e,t,r){super(e,t,r)}filter(e){e.querySelectorAll("script").forEach(e=>{e.remove()})}}var ev=r(10379);class ex extends X{constructor(e,t,r){super(e,t,r),this.displayRules={}}onDeclaration(e,t,r,n){if("display"===e.property){let t=G.generate(n.ruleNode.prelude),r=e.value.children.first().name;t.split(",").forEach(t=>{this.displayRules[t]={value:r,selector:t,specificity:(0,ev.calculateSpecificity)(t),important:e.important}})}}filter(e){let{matches:t,selectors:r}=this.sortDisplayedSelectors(e,this.displayRules);for(let e=0;e<t.length;e++){let n=t[e],a=r[e],s=a[a.length-1].value;this.removable(n)&&"none"===s&&(n.dataset.undisplayed="undisplayed")}let n=e.querySelectorAll("[style]");for(let e=0;e<n.length;e++){let t=n[e];this.removable(t)&&(t.dataset.undisplayed="undisplayed")}}sorter(e,t){return e.important&&!t.important?1:t.important&&!e.important?-1:e.specificity-t.specificity}sortDisplayedSelectors(e,t=[]){let r=[],n=[];for(let a in t){let s=t[a],i=s.selector,o=[];try{try{o=e.querySelectorAll(i)}catch(t){o=e.querySelectorAll(function(e){if(null!=e)return e.replace(RegExp("::footnote-call","g"),"").replace(RegExp("::footnote-marker","g"),"")}(i))}}catch(e){o=[]}for(let e of Array.from(o))if(r.includes(e)){let t=r.indexOf(e);n[t].push(s),n[t]=n[t].sort(this.sorter)}else r.push(e),n.push([s])}return{matches:r,selectors:n}}removable(e){return!e.style||""===e.style.display||"none"===e.style.display}}var ek=r(30268);let ew=[er,ee,et,en,ea,es,ei,eo,el,ec,ed,eu,eh,eg,em,ef,ey,eb,ex];class eS{constructor(e,t,r){let n=[];ew.forEach(a=>{let s=new a(e,t,r);n.push(s),ek(s,this)})}}function ej(){for(var e=0;e<arguments.length;e++)ew.push(arguments[e])}function eC(e,t,r){return new eS(e,t,r)}N(eS.prototype);class e_{constructor(e){this.settings=e||{},this.polisher=new Q(!1),this.chunker=new U(void 0,void 0,this.settings),this.hooks={},this.hooks.beforePreview=new M(this),this.hooks.afterPreview=new M(this),this.size={width:{value:8.5,unit:"in"},height:{value:11,unit:"in"},format:void 0,orientation:void 0},this.chunker.on("page",e=>{this.emit("page",e)}),this.chunker.on("rendering",()=>{this.emit("rendering",this.chunker)})}initializeHandlers(){let e=eC(this.chunker,this.polisher,this);return e.on("size",e=>{this.size=e,this.emit("size",e)}),e.on("atpages",e=>{this.atpages=e,this.emit("atpages",e)}),e}registerHandlers(){return ej.apply(ej,arguments)}getParams(e){let t;for(var r of new URLSearchParams(new URL(window.location).search).entries())r[0]===e&&(t=r[1]);return t}wrapContent(){let e,t=document.querySelector("body");return(e=t.querySelector(":scope > template[data-ref='pagedjs-content']"))||((e=document.createElement("template")).dataset.ref="pagedjs-content",e.innerHTML=t.innerHTML,t.innerHTML="",t.appendChild(e)),e.content}removeStyles(e=document){return[...Array.from(e.querySelectorAll("link[rel='stylesheet']:not([data-pagedjs-ignore], [media~='screen'])")),...Array.from(e.querySelectorAll("style:not([data-pagedjs-inserted-styles], [data-pagedjs-ignore], [media~='screen'])"))].sort(function(e,t){let r=e.compareDocumentPosition(t);return r===Node.DOCUMENT_POSITION_PRECEDING?1:r===Node.DOCUMENT_POSITION_FOLLOWING?-1:0}).map(e=>
778{if("STYLE"===e.nodeName){let t={};return t[window.location.href]=e.textContent,e.remove(),t}if("LINK"===e.nodeName)return e.remove(),e.href;console.warn(`Unable to process: ${e}, ignoring.`)})}async preview(e,t,r){await this.hooks.beforePreview.trigger(e,r),e||(e=this.wrapContent()),t||(t=this.removeStyles()),this.polisher.setup(),this.handlers=this.initializeHandlers(),await this.polisher.add(...t);let n=performance.now(),a=await this.chunker.flow(e,r);return a.performance=performance.now()-n,a.size=this.size,this.emit("rendered",a),await this.hooks.afterPreview.trigger(a.pages),a}}N(e_.prototype);let eA=e_},90357:(e,t,r)=>{e.exports={getNode:r(56249),expression:r(74944),var:r(32879)}},91065:(e,t,r)=>{var n=r(40363).cmpChar,a=r(40363).isDigit,s=r(40363).TYPE,i=s.WhiteSpace,o=s.Comment,l=s.Ident,c=s.Number,d=s.Dimension;function u(e,t){var r=this.scanner.tokenStart+e,n=this.scanner.source.charCodeAt(r);for((43===n||45===n)&&(t&&this.error("Number sign is not allowed"),r++);r<this.scanner.tokenEnd;r++)a(this.scanner.source.charCodeAt(r))||this.error("Integer is expected",r)}function p(e){return u.call(this,0,e)}function h(e,t){if(!n(this.scanner.source,this.scanner.tokenStart+e,t)){var r="";switch(t){case 110:r="N is expected";break;case 45:r="HyphenMinus is expected"}this.error(r,this.scanner.tokenStart+e)}}function g(){for(var e=0,t=0,r=this.scanner.tokenType;r===i||r===o;)r=this.scanner.lookupType(++e);if(r!==c)if(!(this.scanner.isDelim(43,e)||this.scanner.isDelim(45,e)))return null;else{t=this.scanner.isDelim(43,e)?43:45;do r=this.scanner.lookupType(++e);while(r===i||r===o);r!==c&&(this.scanner.skip(e),p.call(this,!0))}return e>0&&this.scanner.skip(e),0===t&&43!==(r=this.scanner.source.charCodeAt(this.scanner.tokenStart))&&45!==r&&this.error("Number sign is expected"),p.call(this,0!==t),45===t?"-"+this.consume(c):this.consume(c)}e.exports={name:"AnPlusB",structure:{a:[String,null],b:[String,null]},parse:function(){var e=this.scanner.tokenStart,t=null,r=null;if(this.scanner.tokenType===c)p.call(this,!1),r=this.consume(c);else if(this.scanner.tokenType===l&&n(this.scanner.source,this.scanner.tokenStart,45))switch(t="-1",h.call(this,1,110),this.scanner.getTokenLength()){case 2:this.scanner.next(),r=g.call(this);break;case 3:h.call(this,2,45),this.scanner.next(),this.scanner.skipSC(),p.call(this,!0),r="-"+this.consume(c);break;default:h.call(this,2,45),u.call(this,3,!0),this.scanner.next(),r=this.scanner.substrToCursor(e+2)}else if(this.scanner.tokenType===l||this.scanner.isDelim(43)&&this.scanner.lookupType(1)===l){var s=0;switch(t="1",this.scanner.isDelim(43)&&(s=1,this.scanner.next()),h.call(this,0,110),this.scanner.getTokenLength()){case 1:this.scanner.next(),r=g.call(this);break;case 2:h.call(this,1,45),this.scanner.next(),this.scanner.skipSC(),p.call(this,!0),r="-"+this.consume(c);break;default:h.call(this,1,45),u.call(this,2,!0),this.scanner.next(),r=this.scanner.substrToCursor(e+s+1)}}else if(this.scanner.tokenType===d){for(var i=this.scanner.source.charCodeAt(this.scanner.tokenStart),s=43===i||45===i,o=this.scanner.tokenStart+s;o<this.scanner.tokenEnd&&a(this.scanner.source.charCodeAt(o));o++);o===this.scanner.tokenStart+s&&this.error("Integer is expected",this.scanner.tokenStart+s),h.call(this,o-this.scanner.tokenStart,110),t=this.scanner.source.substring(e,o),o+1===this.scanner.tokenEnd?(this.scanner.next(),r=g.call(this)):(h.call(this,o-this.scanner.tokenStart+1,45),o+2===this.scanner.tokenEnd?(this.scanner.next(),this.scanner.skipSC(),p.call(this,!0),r="-"+this.consume(c)):(u.call(this,o-this.scanner.tokenStart+2,!0),this.scanner.next(),r=this.scanner.substrToCursor(o+1)))}else this.error();return null!==t&&43===t.charCodeAt(0)&&(t=t.substr(1)),null!==r&&43===r.charCodeAt(0)&&(r=r.substr(1)),{type:"AnPlusB",loc:this.getLocation(e,this.scanner.tokenStart),a:t,b:r}},generate:function(e){var t=null!==e.a&&void 0!==e.a,r=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"),r&&("-"===(r=String(e.b)).charAt(0)||"+"===r.charAt(0)?(this.chunk(r.charAt(0)),this.chunk(r.substr(1))):(this.chunk("+"),this.chunk(r)))):this.chunk(String(e.b))}}},92282:(e,t,r)=>{var n=r(40363).TYPE.Hash;e.exports={name:"IdSelector",structure:{name:String},parse:function(){var e=this.scanner.tokenStart;
778return this.eat(n),{type:"IdSelector",loc:this.getLocation(e,this.scanner.tokenStart),name:this.scanner.substrToCursor(e+1)}},generate:function(e){this.chunk("#"),this.chunk(e.name)}}},92790:e=>{"use strict";var t=Object.prototype.toString,r=t.call(function(){return arguments}());e.exports=function(e){return t.call(e)===r}},93476:(e,t,r)=>{var n=r(86137);function a(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}a.prototype.unsortedForEach=function(e,t){this._array.forEach(e,t)},a.prototype.add=function(e){var t,r,a,s,i;(t=this._last,r=t.generatedLine,a=e.generatedLine,s=t.generatedColumn,i=e.generatedColumn,a>r||a==r&&i>=s||0>=n.compareByGeneratedPositionsInflated(t,e))?this._last=e:this._sorted=!1,this._array.push(e)},a.prototype.toArray=function(){return this._sorted||(this._array.sort(n.compareByGeneratedPositionsInflated),this._sorted=!0),this._array},t.P=a},93843:e=>{e.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)}}},93898:e=>{"use strict";e.exports=function(){return"object"==typeof globalThis&&!!globalThis&&globalThis.Array===Array}},94118:e=>{let t=Object.prototype.hasOwnProperty,r={generic:!0,types:i,atrules:{prelude:o,descriptors:o},properties:i,parseContext:function(e,t){return Object.assign(e,t)},scope:function e(r,s){for(let i in s)t.call(s,i)&&(n(r[i])?e(r[i],a(s[i])):r[i]=a(s[i]));return r},atrule:["parse"],pseudo:["parse"],node:["name","structure","parse","generate","walkContext"]};function n(e){return e&&e.constructor===Object}function a(e){return n(e)?Object.assign({},e):e}function s(e,t){return"string"==typeof t&&/^\s*\|/.test(t)?"string"==typeof e?e+t:t.replace(/^\s*\|\s*/,""):t||null}function i(e,r){if("string"==typeof r)return s(e,r);let n=Object.assign({},e);for(let a in r)t.call(r,a)&&(n[a]=s(t.call(e,a)?e[a]:void 0,r[a]));return n}function o(e,t){let r=i(e,t);return!n(r)||Object.keys(r).length?r:null}e.exports=(e,s)=>(function e(r,s,i){for(let o in i)if(!1!==t.call(i,o)){if(!0===i[o])o in s&&t.call(s,o)&&(r[o]=a(s[o]));else if(i[o]){if("function"==typeof i[o]){let e=i[o];r[o]=e({},r[o]),r[o]=e(r[o]||{},s[o])}else if(n(i[o])){let t={};for(let n in r[o])t[n]=e({},r[o][n],i[o]);for(let r in s[o])t[r]=e(t[r]||{},s[o][r],i[o]);r[o]=t}else if(Array.isArray(i[o])){let n={},a=i[o].reduce(function(e,t){return e[t]=!0,e},{});for(let[t,s]of Object.entries(r[o]||{}))n[t]={},s&&e(n[t],s,a);for(let r in s[o])t.call(s[o],r)&&(n[r]||(n[r]={}),s[o]&&s[o][r]&&e(n[r],s[o][r],a));r[o]=n}}}return r})(e,s,r)},94128:e=>{e.exports={parse:function(){return this.createSingleNodeList(this.Nth(!1))}}},94811:(e,t,r)=>{var n=r(40363).TYPE.Ident;e.exports={name:"ClassSelector",structure:{name:String},parse:function(){return this.scanner.isDelim(46)||this.error("Full stop is expected"),this.scanner.next(),{type:"ClassSelector",loc:this.getLocation(this.scanner.tokenStart-1,this.scanner.tokenEnd),name:this.consume(n)}},generate:function(e){this.chunk("."),this.chunk(e.name)}}},94830:(e,t)=>{var r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");t.encode=function(e){if(0<=e&&e<r.length)return r[e];throw TypeError("Must be between 0 and 63: "+e)},t.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}},95764:(e,t,r)=>{"use strict";var n=r(62894);e.exports=function(e){if(!n(e))throw TypeError("Cannot use null or undefined");return e}},95782:(e,t,r)=>{var n=r(40363).TYPE,a=n.WhiteSpace,s=n.Comment,i=n.Ident,o=n.LeftParenthesis;e.exports={name:"MediaQuery",structure:{children:[["Identifier","MediaFeature","WhiteSpace"]]},parse:function(){this.scanner.skipSC();
778var e=this.createList(),t=null,r=null;e:for(;!this.scanner.eof;){switch(this.scanner.tokenType){case s:this.scanner.next();continue;case a:r=this.WhiteSpace();continue;case i:t=this.Identifier();break;case o:t=this.MediaFeature();break;default:break e}null!==r&&(e.push(r),r=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)}}},96482:(e,t,r)=>{var n=r(65888),a=r(40363).isBOM,s=function(){this.lines=null,this.columns=null,this.linesAndColumnsComputed=!1};s.prototype={setSource:function(e,t,r,n){this.source=e,this.startOffset=void 0===t?0:t,this.startLine=void 0===r?1:r,this.startColumn=void 0===n?1:n,this.linesAndColumnsComputed=!1},ensureLinesAndColumnsComputed:function(){this.linesAndColumnsComputed||(!function(e,t){for(var r=t.length,s=n(e.lines,r),i=e.startLine,o=n(e.columns,r),l=e.startColumn,c=t.length>0?a(t.charCodeAt(0)):0,d=c;d<r;d++){var u=t.charCodeAt(d);s[d]=i,o[d]=l++,(10===u||13===u||12===u)&&(13===u&&d+1<r&&10===t.charCodeAt(d+1)&&(s[++d]=i,o[d]=l),i++,l=1)}s[d]=i,o[d]=l,e.lines=s,e.columns=o}(this,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,r){return this.ensureLinesAndColumnsComputed(),{source:r,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]}}}},e.exports=s},96783:e=>{"use strict";e.exports=function(){}},97117:e=>{e.exports={parse:function(){return this.createSingleNodeList(this.Selector())}}},98332:(e,t,r)=>{e.exports={dir:r(57471),has:r(26784),lang:r(48852),matches:r(70345),not:r(38709),"nth-child":r(38341),"nth-last-child":r(86818),"nth-last-of-type":r(20980),"nth-of-type":r(66763),slotted:r(97117)}},98811:(e,t,r)=>{"use strict";var n=r(28503),a=r(82487),s=r(79912),i=r(13014),o=r(51848);(e.exports=function(e,t){var r,a,l,c,d;return arguments.length<2||"string"!=typeof e?(c=t,t=e,e=null):c=arguments[2],n(e)?(r=o.call(e,"c"),a=o.call(e,"e"),l=o.call(e,"w")):(r=l=!0,a=!1),d={value:t,configurable:r,enumerable:a,writable:l},c?s(i(c),d):d}).gs=function(e,t,r){var l,c,d,u;return"string"!=typeof e?(d=r,r=t,t=e,e=null):d=arguments[3],n(t)?a(t)?n(r)?a(r)||(d=r,r=void 0):r=void 0:(d=t,t=r=void 0):t=void 0,n(e)?(l=o.call(e,"c"),c=o.call(e,"e")):(l=!0,c=!1),u={get:t,set:r,configurable:l,enumerable:c},d?s(i(d),u):u}},99155:(e,t,r)=>{var n=r(40363).TYPE,a=n.Ident,s=n.String,i=n.Colon,o=n.LeftSquareBracket,l=n.RightSquareBracket;function c(){this.scanner.eof&&this.error("Unexpected end of input");var e=this.scanner.tokenStart,t=!1,r=!0;return this.scanner.isDelim(42)?(t=!0,r=!1,this.scanner.next()):this.scanner.isDelim(124)||this.eat(a),this.scanner.isDelim(124)?61!==this.scanner.source.charCodeAt(this.scanner.tokenStart+1)?(this.scanner.next(),this.eat(a)):t&&this.error("Identifier is expected",this.scanner.tokenEnd):t&&this.error("Vertical line is expected"),r&&this.scanner.tokenType===i&&(this.scanner.next(),this.eat(a)),{type:"Identifier",loc:this.getLocation(e,this.scanner.tokenStart),name:this.scanner.substrToCursor(e)}}function d(){var e=this.scanner.tokenStart,t=this.scanner.source.charCodeAt(e);return 61!==t&&126!==t&&94!==t&&36!==t&&42!==t&&124!==t&&this.error("Attribute selector (=, ~=, ^=, $=, *=, |=) is expected"),this.scanner.next(),61!==t&&(this.scanner.isDelim(61)||this.error("Equal sign is expected"),this.scanner.next()),this.scanner.substrToCursor(e)}e.exports={name:"AttributeSelector",structure:{name:"Identifier",matcher:[String,null],value:["String","Identifier",null],flags:[String,null]},parse:function(){var e,t=this.scanner.tokenStart,r=null,n=null,i=null;return this.eat(o),this.scanner.skipSC(),e=c.call(this),this.scanner.skipSC(),this.scanner.tokenType!==l&&(this.scanner.tokenType!==a&&(r=d.call(this),this.scanner.skipSC(),n=this.scanner.tokenType===s?this.Str
778ing():this.Identifier(),this.scanner.skipSC()),this.scanner.tokenType===a&&(i=this.scanner.getTokenValue(),this.scanner.next(),this.scanner.skipSC())),this.eat(l),{type:"AttributeSelector",loc:this.getLocation(t,this.scanner.tokenStart),name:e,matcher:r,value:n,flags:i}},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("]")}}},99458:(e,t,r)=>{var n=r(40363).TYPE.CDC;e.exports={name:"CDC",structure:[],parse:function(){var e=this.scanner.tokenStart;return this.eat(n),{type:"CDC",loc:this.getLocation(e,this.scanner.tokenStart)}},generate:function(){this.chunk("--\x3e")}}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.