ofs | hex dump | ascii |
---|
0000 | 70 61 63 6b 61 67 65 2f 70 61 63 6b 61 67 65 2e 6a 73 6f 6e 00 00 00 00 00 00 00 00 00 00 00 00 | package/package.json............ |
0020 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
0040 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
0060 | 00 00 00 00 30 30 30 36 36 36 20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 30 30 30 30 | ....000666..................0000 |
0080 | 30 30 33 35 33 33 20 00 33 35 36 30 31 31 36 36 30 34 20 00 30 31 31 35 35 36 20 00 30 00 00 00 | 003533..3560116604..011556..0... |
00a0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
00c0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
00e0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
0100 | 00 75 73 74 61 72 00 30 30 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | .ustar.00....................... |
0120 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
0140 | 00 00 00 00 00 00 00 00 00 30 30 30 30 30 30 20 00 30 30 30 30 30 30 20 00 00 00 00 00 00 00 00 | .........000000..000000......... |
0160 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
0180 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
01a0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
01c0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
01e0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
0200 | 7b 0a 20 20 22 6e 61 6d 65 22 3a 20 22 70 6f 73 74 63 73 73 2d 73 79 6e 74 61 78 22 2c 0a 20 20 | {..."name":."postcss-syntax",... |
0220 | 22 76 65 72 73 69 6f 6e 22 3a 20 22 30 2e 33 36 2e 32 22 2c 0a 20 20 22 64 65 73 63 72 69 70 74 | "version":."0.36.2",..."descript |
0240 | 69 6f 6e 22 3a 20 22 41 75 74 6f 6d 61 74 69 63 61 6c 6c 79 20 73 77 69 74 63 68 20 50 6f 73 74 | ion":."Automatically.switch.Post |
0260 | 43 53 53 20 73 79 6e 74 61 78 20 62 79 20 66 69 6c 65 20 65 78 74 65 6e 73 69 6f 6e 73 22 2c 0a | CSS.syntax.by.file.extensions",. |
0280 | 20 20 22 72 65 70 6f 73 69 74 6f 72 79 22 3a 20 7b 0a 20 20 20 20 22 74 79 70 65 22 3a 20 22 67 | .."repository":.{....."type":."g |
02a0 | 69 74 22 2c 0a 20 20 20 20 22 75 72 6c 22 3a 20 22 67 69 74 2b 68 74 74 70 73 3a 2f 2f 67 69 74 | it",....."url":."git+https://git |
02c0 | 68 75 62 2e 63 6f 6d 2f 67 75 63 6f 6e 67 33 30 30 30 2f 70 6f 73 74 63 73 73 2d 73 79 6e 74 61 | hub.com/gucong3000/postcss-synta |
02e0 | 78 2e 67 69 74 22 0a 20 20 7d 2c 0a 20 20 22 6b 65 79 77 6f 72 64 73 22 3a 20 5b 0a 20 20 20 20 | x.git"...},..."keywords":.[..... |
0300 | 22 70 6f 73 74 63 73 73 22 2c 0a 20 20 20 20 22 73 79 6e 74 61 78 22 2c 0a 20 20 20 20 22 73 77 | "postcss",....."syntax",....."sw |
0320 | 69 74 63 68 22 2c 0a 20 20 20 20 22 65 78 74 65 6e 73 69 6f 6e 22 0a 20 20 5d 2c 0a 20 20 22 61 | itch",....."extension"...],..."a |
0340 | 75 74 68 6f 72 22 3a 20 22 67 75 63 6f 6e 67 22 2c 0a 20 20 22 6c 69 63 65 6e 73 65 22 3a 20 22 | uthor":."gucong",..."license":." |
0360 | 4d 49 54 22 2c 0a 20 20 22 62 75 67 73 22 3a 20 7b 0a 20 20 20 20 22 75 72 6c 22 3a 20 22 68 74 | MIT",..."bugs":.{....."url":."ht |
0380 | 74 70 73 3a 2f 2f 67 69 74 68 75 62 2e 63 6f 6d 2f 67 75 63 6f 6e 67 33 30 30 30 2f 70 6f 73 74 | tps://github.com/gucong3000/post |
03a0 | 63 73 73 2d 73 79 6e 74 61 78 2f 69 73 73 75 65 73 22 0a 20 20 7d 2c 0a 20 20 22 68 6f 6d 65 70 | css-syntax/issues"...},..."homep |
03c0 | 61 67 65 22 3a 20 22 68 74 74 70 73 3a 2f 2f 67 69 74 68 75 62 2e 63 6f 6d 2f 67 75 63 6f 6e 67 | age":."https://github.com/gucong |
03e0 | 33 30 30 30 2f 70 6f 73 74 63 73 73 2d 73 79 6e 74 61 78 23 72 65 61 64 6d 65 22 2c 0a 20 20 22 | 3000/postcss-syntax#readme",..." |
0400 | 6e 79 63 22 3a 20 7b 0a 20 20 20 20 22 72 65 70 6f 72 74 65 72 22 3a 20 5b 0a 20 20 20 20 20 20 | nyc":.{....."reporter":.[....... |
0420 | 22 6c 63 6f 76 22 2c 0a 20 20 20 20 20 20 22 74 65 78 74 22 0a 20 20 20 20 5d 2c 0a 20 20 20 20 | "lcov",......."text".....],..... |
0440 | 22 61 6c 6c 22 3a 20 74 72 75 65 2c 0a 20 20 20 20 22 63 61 63 68 65 22 3a 20 74 72 75 65 2c 0a | "all":.true,....."cache":.true,. |
0460 | 20 20 20 20 22 63 68 65 63 6b 2d 63 6f 76 65 72 61 67 65 22 3a 20 74 72 75 65 0a 20 20 7d 2c 0a | ...."check-coverage":.true...},. |
0480 | 20 20 22 73 63 72 69 70 74 73 22 3a 20 7b 0a 20 20 20 20 22 6d 6f 63 68 61 22 3a 20 22 6d 6f 63 | .."scripts":.{....."mocha":."moc |
04a0 | 68 61 20 2d 2d 72 65 71 75 69 72 65 20 2e 2f 74 65 73 74 2f 66 69 78 74 75 72 65 73 2f 6c 69 6e | ha.--require../test/fixtures/lin |
04c0 | 6b 20 2d 2d 6e 6f 2d 74 69 6d 65 6f 75 74 73 22 2c 0a 20 20 20 20 22 74 65 73 74 22 3a 20 22 6e | k.--no-timeouts",....."test":."n |
04e0 | 79 63 20 6e 70 6d 20 72 75 6e 20 6d 6f 63 68 61 22 2c 0a 20 20 20 20 22 64 65 62 75 67 22 3a 20 | yc.npm.run.mocha",....."debug":. |
0500 | 22 6e 70 6d 20 72 75 6e 20 6d 6f 63 68 61 20 2d 2d 20 2d 2d 69 6e 73 70 65 63 74 2d 62 72 6b 22 | "npm.run.mocha.--.--inspect-brk" |
0520 | 0a 20 20 7d 2c 0a 20 20 22 65 78 74 65 6e 73 69 6f 6e 73 22 3a 20 5b 0a 20 20 20 20 22 2e 63 73 | ...},..."extensions":.[.....".cs |
0540 | 73 22 2c 0a 20 20 20 20 22 2e 70 63 73 73 22 2c 0a 20 20 20 20 22 2e 70 6f 73 74 63 73 73 22 2c | s",.....".pcss",.....".postcss", |
0560 | 0a 20 20 20 20 22 2e 61 63 73 73 22 2c 0a 20 20 20 20 22 2e 77 78 73 73 22 2c 0a 20 20 20 20 22 | .....".acss",.....".wxss",....." |
0580 | 2e 73 61 73 73 22 2c 0a 20 20 20 20 22 2e 73 63 73 73 22 2c 0a 20 20 20 20 22 2e 6c 65 73 73 22 | .sass",.....".scss",.....".less" |
05a0 | 2c 0a 20 20 20 20 22 2e 73 73 73 22 2c 0a 20 20 20 20 22 2e 6a 73 22 2c 0a 20 20 20 20 22 2e 65 | ,.....".sss",.....".js",.....".e |
05c0 | 73 36 22 2c 0a 20 20 20 20 22 2e 6d 6a 73 22 2c 0a 20 20 20 20 22 2e 70 61 63 22 2c 0a 20 20 20 | s6",.....".mjs",.....".pac",.... |
05e0 | 20 22 2e 6a 73 78 22 2c 0a 20 20 20 20 22 2e 74 73 22 2c 0a 20 20 20 20 22 2e 74 73 78 22 2c 0a | .".jsx",.....".ts",.....".tsx",. |
0600 | 20 20 20 20 22 2e 62 61 62 65 6c 22 2c 0a 20 20 20 20 22 2e 66 6c 6f 77 22 2c 0a 20 20 20 20 22 | ....".babel",.....".flow",....." |
0620 | 2e 68 74 6d 6c 22 2c 0a 20 20 20 20 22 2e 68 74 6d 22 2c 0a 20 20 20 20 22 2e 73 68 74 6d 6c 22 | .html",.....".htm",.....".shtml" |
0640 | 2c 0a 20 20 20 20 22 2e 78 68 74 6d 6c 22 2c 0a 20 20 20 20 22 2e 6d 64 6f 63 22 2c 0a 20 20 20 | ,.....".xhtml",.....".mdoc",.... |
0660 | 20 22 2e 6a 73 70 22 2c 0a 20 20 20 20 22 2e 61 73 70 22 2c 0a 20 20 20 20 22 2e 61 73 70 78 22 | .".jsp",.....".asp",.....".aspx" |
0680 | 2c 0a 20 20 20 20 22 2e 6a 73 68 74 6d 22 2c 0a 20 20 20 20 22 2e 76 6f 6c 74 22 2c 0a 20 20 20 | ,.....".jshtm",.....".volt",.... |
06a0 | 20 22 2e 65 6a 73 22 2c 0a 20 20 20 20 22 2e 72 68 74 6d 6c 22 2c 0a 20 20 20 20 22 2e 78 73 6c | .".ejs",.....".rhtml",.....".xsl |
06c0 | 22 2c 0a 20 20 20 20 22 2e 78 73 6c 74 22 2c 0a 20 20 20 20 22 2e 76 75 65 22 2c 0a 20 20 20 20 | ",.....".xslt",.....".vue",..... |
06e0 | 22 2e 77 70 79 22 2c 0a 20 20 20 20 22 2e 75 78 22 2c 0a 20 20 20 20 22 2e 70 68 70 22 2c 0a 20 | ".wpy",.....".ux",.....".php",.. |
0700 | 20 20 20 22 2e 70 68 70 34 22 2c 0a 20 20 20 20 22 2e 70 68 70 35 22 2c 0a 20 20 20 20 22 2e 70 | ...".php4",.....".php5",.....".p |
0720 | 68 74 6d 6c 22 2c 0a 20 20 20 20 22 2e 63 74 70 22 2c 0a 20 20 20 20 22 2e 74 77 69 67 22 2c 0a | html",.....".ctp",.....".twig",. |
0740 | 20 20 20 20 22 2e 6c 69 71 75 69 64 22 2c 0a 20 20 20 20 22 2e 6d 64 22 2c 0a 20 20 20 20 22 2e | ....".liquid",.....".md",.....". |
0760 | 6d 64 6f 77 6e 22 2c 0a 20 20 20 20 22 2e 6d 61 72 6b 64 6f 77 6e 22 2c 0a 20 20 20 20 22 2e 6d | mdown",.....".markdown",.....".m |
0780 | 61 72 6b 64 6e 22 2c 0a 20 20 20 20 22 2e 73 76 65 6c 74 65 22 0a 20 20 5d 2c 0a 20 20 22 70 65 | arkdn",.....".svelte"...],..."pe |
07a0 | 65 72 44 65 70 65 6e 64 65 6e 63 69 65 73 22 3a 20 7b 0a 20 20 20 20 22 70 6f 73 74 63 73 73 22 | erDependencies":.{....."postcss" |
07c0 | 3a 20 22 3e 3d 35 2e 30 2e 30 22 0a 20 20 7d 2c 0a 20 20 22 64 65 76 44 65 70 65 6e 64 65 6e 63 | :.">=5.0.0"...},..."devDependenc |
07e0 | 69 65 73 22 3a 20 7b 0a 20 20 20 20 22 63 68 61 69 22 3a 20 22 5e 34 2e 32 2e 30 22 2c 0a 20 20 | ies":.{....."chai":."^4.2.0",... |
0800 | 20 20 22 63 6f 64 65 63 6f 76 22 3a 20 22 5e 33 2e 31 2e 30 22 2c 0a 20 20 20 20 22 6d 6f 63 68 | .."codecov":."^3.1.0",....."moch |
0820 | 61 22 3a 20 22 5e 35 2e 32 2e 30 22 2c 0a 20 20 20 20 22 6e 79 63 22 3a 20 22 5e 31 33 2e 31 2e | a":."^5.2.0",....."nyc":."^13.1. |
0840 | 30 22 2c 0a 20 20 20 20 22 70 6f 73 74 63 73 73 22 3a 20 22 5e 37 2e 30 2e 37 22 2c 0a 20 20 20 | 0",....."postcss":."^7.0.7",.... |
0860 | 20 22 70 6f 73 74 63 73 73 2d 68 74 6d 6c 22 3a 20 22 3e 3d 30 2e 33 36 2e 30 22 2c 0a 20 20 20 | ."postcss-html":.">=0.36.0",.... |
0880 | 20 22 70 6f 73 74 63 73 73 2d 6a 73 78 22 3a 20 22 3e 3d 30 2e 33 36 2e 30 22 2c 0a 20 20 20 20 | ."postcss-jsx":.">=0.36.0",..... |
08a0 | 22 70 6f 73 74 63 73 73 2d 6c 65 73 73 22 3a 20 22 5e 33 2e 31 2e 30 22 2c 0a 20 20 20 20 22 70 | "postcss-less":."^3.1.0",....."p |
08c0 | 6f 73 74 63 73 73 2d 6d 61 72 6b 64 6f 77 6e 22 3a 20 22 3e 3d 30 2e 33 36 2e 30 22 2c 0a 20 20 | ostcss-markdown":.">=0.36.0",... |
08e0 | 20 20 22 70 6f 73 74 63 73 73 2d 73 61 66 65 2d 70 61 72 73 65 72 22 3a 20 22 5e 34 2e 30 2e 31 | .."postcss-safe-parser":."^4.0.1 |
0900 | 22 2c 0a 20 20 20 20 22 70 6f 73 74 63 73 73 2d 73 63 73 73 22 3a 20 22 5e 32 2e 30 2e 30 22 2c | ",....."postcss-scss":."^2.0.0", |
0920 | 0a 20 20 20 20 22 70 72 6f 78 79 71 75 69 72 65 22 3a 20 22 5e 32 2e 31 2e 30 22 2c 0a 20 20 20 | ....."proxyquire":."^2.1.0",.... |
0940 | 20 22 73 75 67 61 72 73 73 22 3a 20 22 5e 32 2e 30 2e 30 22 0a 20 20 7d 0a 7d 0a 00 00 00 00 00 | ."sugarss":."^2.0.0"...}.}...... |
0960 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
0980 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
09a0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
09c0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
09e0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
0a00 | 70 61 63 6b 61 67 65 2f 64 6f 63 75 6d 65 6e 74 2e 6a 73 00 00 00 00 00 00 00 00 00 00 00 00 00 | package/document.js............. |
0a20 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
0a40 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
0a60 | 00 00 00 00 30 30 30 36 36 36 20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 30 30 30 30 | ....000666..................0000 |
0a80 | 30 30 31 33 34 35 20 00 33 35 36 30 31 31 36 36 30 34 20 00 30 31 31 34 34 33 20 00 30 00 00 00 | 001345..3560116604..011443..0... |
0aa0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
0ac0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
0ae0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
0b00 | 00 75 73 74 61 72 00 30 30 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | .ustar.00....................... |
0b20 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
0b40 | 00 00 00 00 00 00 00 00 00 30 30 30 30 30 30 20 00 30 30 30 30 30 30 20 00 00 00 00 00 00 00 00 | .........000000..000000......... |
0b60 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
0b80 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
0ba0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
0bc0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
0be0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
0c00 | 22 75 73 65 20 73 74 72 69 63 74 22 3b 0a 63 6f 6e 73 74 20 50 6f 73 74 43 73 73 52 6f 6f 74 20 | "use.strict";.const.PostCssRoot. |
0c20 | 3d 20 72 65 71 75 69 72 65 28 22 70 6f 73 74 63 73 73 2f 6c 69 62 2f 72 6f 6f 74 22 29 3b 0a 63 | =.require("postcss/lib/root");.c |
0c40 | 6c 61 73 73 20 44 6f 63 75 6d 65 6e 74 20 65 78 74 65 6e 64 73 20 50 6f 73 74 43 73 73 52 6f 6f | lass.Document.extends.PostCssRoo |
0c60 | 74 20 7b 0a 09 74 6f 53 74 72 69 6e 67 20 28 73 74 72 69 6e 67 69 66 69 65 72 29 20 7b 0a 09 09 | t.{..toString.(stringifier).{... |
0c80 | 72 65 74 75 72 6e 20 73 75 70 65 72 2e 74 6f 53 74 72 69 6e 67 28 73 74 72 69 6e 67 69 66 69 65 | return.super.toString(stringifie |
0ca0 | 72 20 7c 7c 20 7b 0a 09 09 09 73 74 72 69 6e 67 69 66 79 3a 20 72 65 71 75 69 72 65 28 22 2e 2f | r.||.{....stringify:.require("./ |
0cc0 | 73 74 72 69 6e 67 69 66 79 22 29 2c 0a 09 09 7d 29 3b 0a 09 7d 0a 0a 09 65 61 63 68 20 28 63 61 | stringify"),...});..}...each.(ca |
0ce0 | 6c 6c 62 61 63 6b 29 20 7b 0a 09 09 63 6f 6e 73 74 20 72 65 73 75 6c 74 20 3d 20 74 68 69 73 2e | llback).{...const.result.=.this. |
0d00 | 6e 6f 64 65 73 2e 6d 61 70 28 6e 6f 64 65 20 3d 3e 20 6e 6f 64 65 2e 65 61 63 68 28 63 61 6c 6c | nodes.map(node.=>.node.each(call |
0d20 | 62 61 63 6b 29 29 3b 0a 09 09 72 65 74 75 72 6e 20 72 65 73 75 6c 74 2e 65 76 65 72 79 28 72 65 | back));...return.result.every(re |
0d40 | 73 75 6c 74 20 3d 3e 20 72 65 73 75 6c 74 20 21 3d 3d 20 66 61 6c 73 65 29 20 26 26 20 72 65 73 | sult.=>.result.!==.false).&&.res |
0d60 | 75 6c 74 2e 70 6f 70 28 29 3b 0a 09 7d 0a 0a 09 61 70 70 65 6e 64 20 28 29 20 7b 0a 09 09 74 68 | ult.pop();..}...append.().{...th |
0d80 | 69 73 2e 6c 61 73 74 2e 61 70 70 65 6e 64 2e 61 70 70 6c 79 28 0a 09 09 09 74 68 69 73 2e 6c 61 | is.last.append.apply(....this.la |
0da0 | 73 74 2c 0a 09 09 09 41 72 72 61 79 2e 66 72 6f 6d 28 61 72 67 75 6d 65 6e 74 73 29 0a 09 09 29 | st,....Array.from(arguments)...) |
0dc0 | 3b 0a 09 09 72 65 74 75 72 6e 20 74 68 69 73 3b 0a 09 7d 0a 0a 09 70 72 65 70 65 6e 64 20 28 29 | ;...return.this;..}...prepend.() |
0de0 | 20 7b 0a 09 09 74 68 69 73 2e 66 69 72 73 74 2e 70 72 65 70 65 6e 64 2e 61 70 70 6c 79 28 0a 09 | .{...this.first.prepend.apply(.. |
0e00 | 09 09 74 68 69 73 2e 66 69 72 73 74 2c 0a 09 09 09 41 72 72 61 79 2e 66 72 6f 6d 28 61 72 67 75 | ..this.first,....Array.from(argu |
0e20 | 6d 65 6e 74 73 29 0a 09 09 29 3b 0a 09 09 72 65 74 75 72 6e 20 74 68 69 73 3b 0a 09 7d 0a 0a 09 | ments)...);...return.this;..}... |
0e40 | 69 6e 73 65 72 74 42 65 66 6f 72 65 20 28 65 78 69 73 74 2c 20 61 64 64 29 20 7b 0a 09 09 65 78 | insertBefore.(exist,.add).{...ex |
0e60 | 69 73 74 2e 70 72 65 70 65 6e 64 28 61 64 64 29 3b 0a 09 09 72 65 74 75 72 6e 20 74 68 69 73 3b | ist.prepend(add);...return.this; |
0e80 | 0a 09 7d 0a 0a 09 69 6e 73 65 72 74 41 66 74 65 72 20 28 65 78 69 73 74 2c 20 61 64 64 29 20 7b | ..}...insertAfter.(exist,.add).{ |
0ea0 | 0a 09 09 65 78 69 73 74 2e 61 70 70 65 6e 64 28 61 64 64 29 3b 0a 09 09 72 65 74 75 72 6e 20 74 | ...exist.append(add);...return.t |
0ec0 | 68 69 73 3b 0a 09 7d 0a 7d 0a 6d 6f 64 75 6c 65 2e 65 78 70 6f 72 74 73 20 3d 20 44 6f 63 75 6d | his;..}.}.module.exports.=.Docum |
0ee0 | 65 6e 74 3b 0a 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ent;............................ |
0f00 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
0f20 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
0f40 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
0f60 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
0f80 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
0fa0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
0fc0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
0fe0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
1000 | 70 61 63 6b 61 67 65 2f 67 65 74 2d 6c 61 6e 67 2e 6a 73 00 00 00 00 00 00 00 00 00 00 00 00 00 | package/get-lang.js............. |
1020 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
1040 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
1060 | 00 00 00 00 30 30 30 36 36 36 20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 30 30 30 30 | ....000666..................0000 |
1080 | 30 31 30 35 32 35 20 00 33 35 36 30 31 31 36 36 30 34 20 00 30 31 31 33 32 33 20 00 30 00 00 00 | 010525..3560116604..011323..0... |
10a0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
10c0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
10e0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
1100 | 00 75 73 74 61 72 00 30 30 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | .ustar.00....................... |
1120 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
1140 | 00 00 00 00 00 00 00 00 00 30 30 30 30 30 30 20 00 30 30 30 30 30 30 20 00 00 00 00 00 00 00 00 | .........000000..000000......... |
1160 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
1180 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
11a0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
11c0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
11e0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
1200 | 22 75 73 65 20 73 74 72 69 63 74 22 3b 0a 0a 63 6f 6e 73 74 20 6c 61 6e 67 75 61 67 65 73 20 3d | "use.strict";..const.languages.= |
1220 | 20 7b 0a 09 73 61 73 73 3a 20 2f 5e 73 61 73 73 24 2f 69 2c 0a 09 2f 2f 20 68 74 74 70 73 3a 2f | .{..sass:./^sass$/i,..//.https:/ |
1240 | 2f 67 69 74 68 75 62 2e 63 6f 6d 2f 4d 69 63 72 6f 73 6f 66 74 2f 76 73 63 6f 64 65 2f 62 6c 6f | /github.com/Microsoft/vscode/blo |
1260 | 62 2f 6d 61 73 74 65 72 2f 65 78 74 65 6e 73 69 6f 6e 73 2f 73 63 73 73 2f 70 61 63 6b 61 67 65 | b/master/extensions/scss/package |
1280 | 2e 6a 73 6f 6e 0a 09 73 63 73 73 3a 20 2f 5e 73 63 73 73 24 2f 69 2c 0a 09 2f 2f 20 68 74 74 70 | .json..scss:./^scss$/i,..//.http |
12a0 | 73 3a 2f 2f 67 69 74 68 75 62 2e 63 6f 6d 2f 4d 69 63 72 6f 73 6f 66 74 2f 76 73 63 6f 64 65 2f | s://github.com/Microsoft/vscode/ |
12c0 | 62 6c 6f 62 2f 6d 61 73 74 65 72 2f 65 78 74 65 6e 73 69 6f 6e 73 2f 6c 65 73 73 2f 70 61 63 6b | blob/master/extensions/less/pack |
12e0 | 61 67 65 2e 6a 73 6f 6e 0a 09 6c 65 73 73 3a 20 2f 5e 6c 65 73 73 24 2f 69 2c 0a 09 2f 2f 20 68 | age.json..less:./^less$/i,..//.h |
1300 | 74 74 70 73 3a 2f 2f 67 69 74 68 75 62 2e 63 6f 6d 2f 4d 68 4d 61 64 48 61 6d 73 74 65 72 2f 76 | ttps://github.com/MhMadHamster/v |
1320 | 73 63 6f 64 65 2d 70 6f 73 74 63 73 73 2d 6c 61 6e 67 75 61 67 65 2f 62 6c 6f 62 2f 6d 61 73 74 | scode-postcss-language/blob/mast |
1340 | 65 72 2f 70 61 63 6b 61 67 65 2e 6a 73 6f 6e 0a 09 73 75 67 61 72 73 73 3a 20 2f 5e 73 28 3f 3a | er/package.json..sugarss:./^s(?: |
1360 | 75 67 61 72 29 3f 73 73 24 2f 69 2c 0a 09 2f 2f 20 68 74 74 70 73 3a 2f 2f 67 69 74 68 75 62 2e | ugar)?ss$/i,..//.https://github. |
1380 | 63 6f 6d 2f 64 34 72 6b 72 30 30 74 2f 6c 61 6e 67 75 61 67 65 2d 73 74 79 6c 75 73 2f 62 6c 6f | com/d4rkr00t/language-stylus/blo |
13a0 | 62 2f 6d 61 73 74 65 72 2f 70 61 63 6b 61 67 65 2e 6a 73 6f 6e 0a 09 73 74 79 6c 75 73 3a 20 2f | b/master/package.json..stylus:./ |
13c0 | 5e 73 74 79 6c 28 3f 3a 75 73 29 3f 24 2f 69 2c 0a 09 2f 2f 20 57 58 53 53 28 57 65 69 58 69 6e | ^styl(?:us)?$/i,..//.WXSS(WeiXin |
13e0 | 20 53 74 79 6c 65 20 53 68 65 65 74 73 29 09 09 53 65 65 3a 20 68 74 74 70 73 3a 2f 2f 64 65 76 | .Style.Sheets)..See:.https://dev |
1400 | 65 6c 6f 70 65 72 73 2e 77 65 69 78 69 6e 2e 71 71 2e 63 6f 6d 2f 6d 69 6e 69 70 72 6f 67 72 61 | elopers.weixin.qq.com/miniprogra |
1420 | 6d 2f 64 65 76 2f 66 72 61 6d 65 77 6f 72 6b 2f 76 69 65 77 2f 77 78 73 73 2e 68 74 6d 6c 0a 09 | m/dev/framework/view/wxss.html.. |
1440 | 2f 2f 20 61 63 73 73 28 41 6e 74 46 69 6e 61 6e 63 69 61 6c 20 53 74 79 6c 65 20 53 68 65 65 74 | //.acss(AntFinancial.Style.Sheet |
1460 | 29 09 53 65 65 3a 20 68 74 74 70 73 3a 2f 2f 64 6f 63 73 2e 61 6c 69 70 61 79 2e 63 6f 6d 2f 6d | ).See:.https://docs.alipay.com/m |
1480 | 69 6e 69 2f 66 72 61 6d 65 77 6f 72 6b 2f 61 63 73 73 0a 09 2f 2f 20 60 2a 2e 70 63 73 73 60 2c | ini/framework/acss..//.`*.pcss`, |
14a0 | 20 60 2a 2e 70 6f 73 74 63 73 73 60 0a 09 2f 2f 20 68 74 74 70 73 3a 2f 2f 67 69 74 68 75 62 2e | .`*.postcss`..//.https://github. |
14c0 | 63 6f 6d 2f 4d 69 63 72 6f 73 6f 66 74 2f 76 73 63 6f 64 65 2f 62 6c 6f 62 2f 6d 61 73 74 65 72 | com/Microsoft/vscode/blob/master |
14e0 | 2f 65 78 74 65 6e 73 69 6f 6e 73 2f 63 73 73 2f 70 61 63 6b 61 67 65 2e 6a 73 6f 6e 0a 09 2f 2f | /extensions/css/package.json..// |
1500 | 20 68 74 74 70 73 3a 2f 2f 67 69 74 68 75 62 2e 63 6f 6d 2f 72 63 73 6f 6c 65 2f 70 6f 73 74 63 | .https://github.com/rcsole/postc |
1520 | 73 73 2d 73 79 6e 74 61 78 2f 62 6c 6f 62 2f 6d 61 73 74 65 72 2f 70 61 63 6b 61 67 65 2e 6a 73 | ss-syntax/blob/master/package.js |
1540 | 6f 6e 0a 09 63 73 73 3a 20 2f 5e 28 3f 3a 77 78 7c 5c 77 2a 63 29 73 73 24 2f 69 2c 0a 7d 3b 0a | on..css:./^(?:wx|\w*c)ss$/i,.};. |
1560 | 0a 63 6f 6e 73 74 20 65 78 74 72 61 63 74 73 20 3d 20 7b 0a 09 2f 2f 20 68 74 74 70 73 3a 2f 2f | .const.extracts.=.{..//.https:// |
1580 | 67 69 74 68 75 62 2e 63 6f 6d 2f 4d 69 63 72 6f 73 6f 66 74 2f 76 73 63 6f 64 65 2f 62 6c 6f 62 | github.com/Microsoft/vscode/blob |
15a0 | 2f 6d 61 73 74 65 72 2f 65 78 74 65 6e 73 69 6f 6e 73 2f 6a 61 76 61 73 63 72 69 70 74 2f 70 61 | /master/extensions/javascript/pa |
15c0 | 63 6b 61 67 65 2e 6a 73 6f 6e 0a 09 2f 2f 20 68 74 74 70 73 3a 2f 2f 67 69 74 68 75 62 2e 63 6f | ckage.json..//.https://github.co |
15e0 | 6d 2f 4d 69 63 72 6f 73 6f 66 74 2f 76 73 63 6f 64 65 2f 62 6c 6f 62 2f 6d 61 73 74 65 72 2f 65 | m/Microsoft/vscode/blob/master/e |
1600 | 78 74 65 6e 73 69 6f 6e 73 2f 74 79 70 65 73 63 72 69 70 74 2d 62 61 73 69 63 73 2f 70 61 63 6b | xtensions/typescript-basics/pack |
1620 | 61 67 65 2e 6a 73 6f 6e 0a 09 2f 2f 20 68 74 74 70 73 3a 2f 2f 67 69 74 68 75 62 2e 63 6f 6d 2f | age.json..//.https://github.com/ |
1640 | 6d 69 63 68 61 65 6c 67 6d 63 64 2f 76 73 63 6f 64 65 2d 6c 61 6e 67 75 61 67 65 2d 62 61 62 65 | michaelgmcd/vscode-language-babe |
1660 | 6c 2f 62 6c 6f 62 2f 6d 61 73 74 65 72 2f 70 61 63 6b 61 67 65 2e 6a 73 6f 6e 0a 09 6a 73 78 3a | l/blob/master/package.json..jsx: |
1680 | 20 2f 5e 28 3f 3a 6d 3f 5b 6a 74 5d 73 78 3f 7c 65 73 5c 64 2a 7c 70 61 63 7c 62 61 62 65 6c 7c | ./^(?:m?[jt]sx?|es\d*|pac|babel| |
16a0 | 66 6c 6f 77 29 24 2f 69 2c 0a 09 2f 2f 20 2a 2e 2a 68 74 6d 6c 3f 09 48 54 4d 4c 09 09 68 74 74 | flow)$/i,..//.*.*html?.HTML..htt |
16c0 | 70 73 3a 2f 2f 67 69 74 68 75 62 2e 63 6f 6d 2f 4d 69 63 72 6f 73 6f 66 74 2f 76 73 63 6f 64 65 | ps://github.com/Microsoft/vscode |
16e0 | 2f 62 6c 6f 62 2f 6d 61 73 74 65 72 2f 65 78 74 65 6e 73 69 6f 6e 73 2f 68 74 6d 6c 2f 70 61 63 | /blob/master/extensions/html/pac |
1700 | 6b 61 67 65 2e 6a 73 6f 6e 0a 09 2f 2f 20 2a 2e 78 73 6c 74 3f 09 58 53 4c 54 09 09 68 74 74 70 | kage.json..//.*.xslt?.XSLT..http |
1720 | 73 3a 2f 2f 6d 73 64 6e 2e 6d 69 63 72 6f 73 6f 66 74 2e 63 6f 6d 2f 65 6e 2d 75 73 2f 6c 69 62 | s://msdn.microsoft.com/en-us/lib |
1740 | 72 61 72 79 2f 6d 73 37 36 34 36 36 31 28 76 3d 76 73 2e 38 35 29 2e 61 73 70 78 0a 09 2f 2f 20 | rary/ms764661(v=vs.85).aspx..//. |
1760 | 2a 2e 76 75 65 09 56 55 45 20 09 09 68 74 74 70 73 3a 2f 2f 76 75 65 2d 6c 6f 61 64 65 72 2e 76 | *.vue.VUE...https://vue-loader.v |
1780 | 75 65 6a 73 2e 6f 72 67 2f 73 70 65 63 2e 68 74 6d 6c 0a 09 2f 2f 20 2a 2e 77 70 79 09 57 65 50 | uejs.org/spec.html..//.*.wpy.WeP |
17a0 | 59 09 09 68 74 74 70 73 3a 2f 2f 67 69 74 68 75 62 2e 63 6f 6d 2f 54 65 6e 63 65 6e 74 2f 77 65 | Y..https://github.com/Tencent/we |
17c0 | 70 79 2f 62 6c 6f 62 2f 6d 61 73 74 65 72 2f 64 6f 63 73 2f 6d 64 2f 64 6f 63 2e 6d 64 23 77 70 | py/blob/master/docs/md/doc.md#wp |
17e0 | 79 e6 96 87 e4 bb b6 e8 af b4 e6 98 8e 0a 09 2f 2f 20 2a 2e 75 78 09 09 71 75 69 63 6b 61 70 70 | y..............//.*.ux..quickapp |
1800 | 09 68 74 74 70 73 3a 2f 2f 64 6f 63 2e 71 75 69 63 6b 61 70 70 2e 63 6e 2f 66 72 61 6d 65 77 6f | .https://doc.quickapp.cn/framewo |
1820 | 72 6b 2f 73 6f 75 72 63 65 2d 66 69 6c 65 2e 68 74 6d 6c 0a 09 2f 2f 20 2a 2e 70 68 70 2a 09 50 | rk/source-file.html..//.*.php*.P |
1840 | 48 50 09 09 09 68 74 74 70 73 3a 2f 2f 67 69 74 68 75 62 2e 63 6f 6d 2f 4d 69 63 72 6f 73 6f 66 | HP...https://github.com/Microsof |
1860 | 74 2f 76 73 63 6f 64 65 2f 62 6c 6f 62 2f 6d 61 73 74 65 72 2f 65 78 74 65 6e 73 69 6f 6e 73 2f | t/vscode/blob/master/extensions/ |
1880 | 70 68 70 2f 70 61 63 6b 61 67 65 2e 6a 73 6f 6e 0a 09 2f 2f 20 2a 2e 74 77 69 67 09 54 77 69 67 | php/package.json..//.*.twig.Twig |
18a0 | 09 09 68 74 74 70 73 3a 2f 2f 67 69 74 68 75 62 2e 63 6f 6d 2f 6d 62 6c 6f 64 65 2f 76 73 63 6f | ..https://github.com/mblode/vsco |
18c0 | 64 65 2d 74 77 69 67 2d 6c 61 6e 67 75 61 67 65 2f 62 6c 6f 62 2f 6d 61 73 74 65 72 2f 70 61 63 | de-twig-language/blob/master/pac |
18e0 | 6b 61 67 65 2e 6a 73 6f 6e 0a 09 2f 2f 20 2a 2e 6c 69 71 75 69 64 09 4c 69 71 75 69 64 09 09 68 | kage.json..//.*.liquid.Liquid..h |
1900 | 74 74 70 73 3a 2f 2f 67 69 74 68 75 62 2e 63 6f 6d 2f 47 69 6e 67 65 72 42 65 61 72 2f 76 73 63 | ttps://github.com/GingerBear/vsc |
1920 | 6f 64 65 2d 6c 69 71 75 69 64 2f 62 6c 6f 62 2f 6d 61 73 74 65 72 2f 70 61 63 6b 61 67 65 2e 6a | ode-liquid/blob/master/package.j |
1940 | 73 6f 6e 0a 09 2f 2f 20 2a 2e 73 76 65 6c 74 65 20 53 76 65 6c 74 65 09 09 68 74 74 70 73 3a 2f | son..//.*.svelte.Svelte..https:/ |
1960 | 2f 67 69 74 68 75 62 2e 63 6f 6d 2f 55 6e 77 72 69 74 74 65 6e 46 75 6e 2f 73 76 65 6c 74 65 2d | /github.com/UnwrittenFun/svelte- |
1980 | 76 73 63 6f 64 65 2f 62 6c 6f 62 2f 6d 61 73 74 65 72 2f 70 61 63 6b 61 67 65 2e 6a 73 6f 6e 0a | vscode/blob/master/package.json. |
19a0 | 09 68 74 6d 6c 3a 20 2f 5e 28 3f 3a 5c 77 2a 68 74 6d 6c 3f 7c 78 68 74 7c 78 73 6c 74 3f 7c 6d | .html:./^(?:\w*html?|xht|xslt?|m |
19c0 | 64 6f 63 7c 6a 73 70 7c 61 73 70 78 3f 7c 76 6f 6c 74 7c 65 6a 73 7c 76 75 65 7c 77 70 79 7c 75 | doc|jsp|aspx?|volt|ejs|vue|wpy|u |
19e0 | 78 7c 70 68 70 5c 64 2a 7c 63 74 70 7c 74 77 69 67 7c 6c 69 71 75 69 64 7c 73 76 65 6c 74 65 29 | x|php\d*|ctp|twig|liquid|svelte) |
1a00 | 24 2f 69 2c 0a 09 2f 2f 20 68 74 74 70 73 3a 2f 2f 67 69 74 68 75 62 2e 63 6f 6d 2f 4d 69 63 72 | $/i,..//.https://github.com/Micr |
1a20 | 6f 73 6f 66 74 2f 76 73 63 6f 64 65 2f 62 6c 6f 62 2f 6d 61 73 74 65 72 2f 65 78 74 65 6e 73 69 | osoft/vscode/blob/master/extensi |
1a40 | 6f 6e 73 2f 6d 61 72 6b 64 6f 77 6e 2d 62 61 73 69 63 73 2f 70 61 63 6b 61 67 65 2e 6a 73 6f 6e | ons/markdown-basics/package.json |
1a60 | 0a 09 6d 61 72 6b 64 6f 77 6e 3a 20 2f 5e 28 3f 3a 6d 28 3f 3a 61 72 6b 29 3f 64 28 3f 3a 6f 77 | ..markdown:./^(?:m(?:ark)?d(?:ow |
1a80 | 29 3f 6e 7c 6d 6b 3f 64 29 24 2f 69 2c 0a 09 2f 2f 20 68 74 74 70 73 3a 2f 2f 67 69 74 68 75 62 | )?n|mk?d)$/i,..//.https://github |
1aa0 | 2e 63 6f 6d 2f 4d 69 63 72 6f 73 6f 66 74 2f 76 73 63 6f 64 65 2f 62 6c 6f 62 2f 6d 61 73 74 65 | .com/Microsoft/vscode/blob/maste |
1ac0 | 72 2f 65 78 74 65 6e 73 69 6f 6e 73 2f 78 6d 6c 2f 70 61 63 6b 61 67 65 2e 6a 73 6f 6e 0a 09 78 | r/extensions/xml/package.json..x |
1ae0 | 6d 6c 3a 20 2f 5e 28 3f 3a 78 6d 6c 7c 78 73 64 7c 61 73 63 78 7c 61 74 6f 6d 7c 61 78 6d 6c 7c | ml:./^(?:xml|xsd|ascx|atom|axml| |
1b00 | 62 70 6d 6e 7c 63 6f 6e 66 69 67 7c 63 70 74 7c 63 73 6c 7c 63 73 70 72 6f 6a 7c 63 73 70 72 6f | bpmn|config|cpt|csl|csproj|cspro |
1b20 | 6a 7c 75 73 65 72 7c 64 69 74 61 7c 64 69 74 61 6d 61 70 7c 64 74 64 7c 64 74 6d 6c 7c 66 73 70 | j|user|dita|ditamap|dtd|dtml|fsp |
1b40 | 72 6f 6a 7c 66 78 6d 6c 7c 69 6d 6c 7c 69 73 6d 6c 7c 6a 6d 78 7c 6c 61 75 6e 63 68 7c 6d 65 6e | roj|fxml|iml|isml|jmx|launch|men |
1b60 | 75 7c 6d 78 6d 6c 7c 6e 75 73 70 65 63 7c 6f 70 6d 6c 7c 6f 77 6c 7c 70 72 6f 6a 7c 70 72 6f 70 | u|mxml|nuspec|opml|owl|proj|prop |
1b80 | 73 7c 70 74 7c 70 75 62 6c 69 73 68 73 65 74 74 69 6e 67 73 7c 70 75 62 78 6d 6c 7c 70 75 62 78 | s|pt|publishsettings|pubxml|pubx |
1ba0 | 6d 6c 7c 75 73 65 72 7c 72 64 66 7c 72 6e 67 7c 72 73 73 7c 73 68 70 72 6f 6a 7c 73 74 6f 72 79 | ml|user|rdf|rng|rss|shproj|story |
1bc0 | 62 6f 61 72 64 7c 73 76 67 7c 74 61 72 67 65 74 73 7c 74 6c 64 7c 74 6d 78 7c 76 62 70 72 6f 6a | board|svg|targets|tld|tmx|vbproj |
1be0 | 7c 76 62 70 72 6f 6a 7c 75 73 65 72 7c 76 63 78 70 72 6f 6a 7c 76 63 78 70 72 6f 6a 7c 66 69 6c | |vbproj|user|vcxproj|vcxproj|fil |
1c00 | 74 65 72 73 7c 77 73 64 6c 7c 77 78 69 7c 77 78 6c 7c 77 78 73 7c 78 61 6d 6c 7c 78 62 6c 7c 78 | ters|wsdl|wxi|wxl|wxs|xaml|xbl|x |
1c20 | 69 62 7c 78 6c 66 7c 78 6c 69 66 66 7c 78 70 64 6c 7c 78 75 6c 7c 78 6f 6d 6c 29 24 2f 69 2c 0a | ib|xlf|xliff|xpdl|xul|xoml)$/i,. |
1c40 | 7d 3b 0a 0a 66 75 6e 63 74 69 6f 6e 20 73 6f 75 72 63 65 54 79 70 65 20 28 73 6f 75 72 63 65 29 | };..function.sourceType.(source) |
1c60 | 20 7b 0a 09 73 6f 75 72 63 65 20 3d 20 73 6f 75 72 63 65 20 26 26 20 73 6f 75 72 63 65 2e 74 72 | .{..source.=.source.&&.source.tr |
1c80 | 69 6d 28 29 3b 0a 09 69 66 20 28 21 73 6f 75 72 63 65 29 20 7b 0a 09 09 72 65 74 75 72 6e 3b 0a | im();..if.(!source).{...return;. |
1ca0 | 09 7d 0a 09 6c 65 74 20 65 78 74 72 61 63 74 3b 0a 09 69 66 20 28 0a 09 09 2f 2f 20 73 74 61 72 | .}..let.extract;..if.(...//.star |
1cc0 | 74 20 77 69 74 68 20 73 74 72 69 63 74 20 6d 6f 64 65 0a 09 09 2f 2f 20 73 74 61 72 74 20 77 69 | t.with.strict.mode...//.start.wi |
1ce0 | 74 68 20 69 6d 70 6f 72 74 20 63 6f 64 65 0a 09 09 2f 2f 20 73 74 61 72 74 20 77 69 74 68 20 72 | th.import.code...//.start.with.r |
1d00 | 65 71 75 69 72 65 20 63 6f 64 65 0a 09 09 2f 5e 28 3f 3a 28 3f 3a 5c 2f 5c 2f 5b 5e 5c 72 5c 6e | equire.code.../^(?:(?:\/\/[^\r\n |
1d20 | 5d 2a 5c 72 3f 5c 6e 7c 5c 2f 5c 2a 2e 2a 3f 5c 2a 5c 2f 29 5c 73 2a 29 2a 28 3f 3a 28 3f 3a 28 | ]*\r?\n|\/\*.*?\*\/)\s*)*(?:(?:( |
1d40 | 22 7c 27 29 75 73 65 20 73 74 72 69 63 74 5c 31 7c 69 6d 70 6f 72 74 28 3f 3a 5c 73 2b 5b 5e 3b | "|')use.strict\1|import(?:\s+[^; |
1d60 | 5d 2b 5c 73 2b 66 72 6f 6d 29 3f 5c 73 2b 28 22 7c 27 29 5b 5e 27 22 5d 2b 3f 5c 32 7c 65 78 70 | ]+\s+from)?\s+("|')[^'"]+?\2|exp |
1d80 | 6f 72 74 5c 73 2b 5b 5e 3b 5d 2b 5c 73 2b 5b 5e 3b 5d 2b 29 5c 73 2a 28 3b 7c 5c 72 3f 5c 6e 7c | ort\s+[^;]+\s+[^;]+)\s*(;|\r?\n| |
1da0 | 24 29 7c 28 3f 3a 28 3f 3a 76 61 72 7c 6c 65 74 7c 63 6f 6e 73 74 29 5c 73 2b 5b 5e 3b 5d 2b 5c | $)|(?:(?:var|let|const)\s+[^;]+\ |
1dc0 | 73 2a 3d 5c 73 2a 29 3f 28 3f 3a 72 65 71 75 69 72 65 7c 69 6d 70 6f 72 74 29 5c 28 2e 2b 5c 29 | s*=\s*)?(?:require|import)\(.+\) |
1de0 | 29 2f 2e 74 65 73 74 28 73 6f 75 72 63 65 29 20 7c 7c 0a 09 09 2f 2f 20 68 74 74 70 73 3a 2f 2f | )/.test(source).||...//.https:// |
1e00 | 65 6e 2e 77 69 6b 69 70 65 64 69 61 2e 6f 72 67 2f 77 69 6b 69 2f 53 68 65 62 61 6e 67 5f 28 55 | en.wikipedia.org/wiki/Shebang_(U |
1e20 | 6e 69 78 29 0a 09 09 28 2f 5e 23 21 28 5b 5e 5c 72 5c 6e 5d 2b 29 2f 2e 74 65 73 74 28 73 6f 75 | nix)...(/^#!([^\r\n]+)/.test(sou |
1e40 | 72 63 65 29 20 26 26 20 2f 28 3f 3a 5e 7c 5c 73 2b 7c 5c 2f 29 28 3f 3a 74 73 2d 29 3f 6e 6f 64 | rce).&&./(?:^|\s+|\/)(?:ts-)?nod |
1e60 | 65 28 3f 3a 5c 2e 5c 77 2b 29 3f 28 3f 3a 5c 73 2b 7c 24 29 24 2f 2e 74 65 73 74 28 52 65 67 45 | e(?:\.\w+)?(?:\s+|$)$/.test(RegE |
1e80 | 78 70 2e 24 31 29 29 0a 09 29 20 7b 0a 09 09 65 78 74 72 61 63 74 20 3d 20 22 6a 73 78 22 3b 0a | xp.$1))..).{...extract.=."jsx";. |
1ea0 | 09 7d 20 65 6c 73 65 20 69 66 20 28 0a 09 09 2f 5e 28 3f 3a 3c 5c 3f 2e 2a 3f 5c 3f 3e 5c 73 2a | .}.else.if.(.../^(?:<\?.*?\?>\s* |
1ec0 | 29 2a 3c 28 3f 3a 21 44 4f 43 54 59 50 45 5c 73 2b 29 3f 68 74 6d 6c 28 5c 73 2b 5b 5e 3c 3e 5d | )*<(?:!DOCTYPE\s+)?html(\s+[^<>] |
1ee0 | 2a 29 3f 3e 2f 69 2e 74 65 73 74 28 73 6f 75 72 63 65 29 20 7c 7c 0a 09 09 2f 5e 3c 5c 3f 70 68 | *)?>/i.test(source).||.../^<\?ph |
1f00 | 70 28 3f 3a 5c 73 2b 5b 5c 73 5c 53 5d 2a 29 3f 28 3f 3a 5c 3f 3e 7c 24 29 2f 2e 74 65 73 74 28 | p(?:\s+[\s\S]*)?(?:\?>|$)/.test( |
1f20 | 73 6f 75 72 63 65 29 0a 09 29 20 7b 0a 09 09 65 78 74 72 61 63 74 20 3d 20 22 68 74 6d 6c 22 3b | source)..).{...extract.=."html"; |
1f40 | 0a 09 7d 20 65 6c 73 65 20 69 66 20 28 2f 5e 3c 5c 3f 78 6d 6c 28 5c 73 2b 5b 5e 3c 3e 5d 2a 29 | ..}.else.if.(/^<\?xml(\s+[^<>]*) |
1f60 | 3f 5c 3f 3e 2f 69 2e 74 65 73 74 28 73 6f 75 72 63 65 29 29 20 7b 0a 09 09 2f 2f 20 68 74 74 70 | ?\?>/i.test(source)).{...//.http |
1f80 | 73 3a 2f 2f 6d 73 64 6e 2e 6d 69 63 72 6f 73 6f 66 74 2e 63 6f 6d 2f 65 6e 2d 75 73 2f 6c 69 62 | s://msdn.microsoft.com/en-us/lib |
1fa0 | 72 61 72 79 2f 6d 73 37 36 34 36 36 31 28 76 3d 76 73 2e 38 35 29 2e 61 73 70 78 0a 09 09 69 66 | rary/ms764661(v=vs.85).aspx...if |
1fc0 | 20 28 2f 3c 78 73 6c 3a 5c 77 2b 5c 62 5b 5e 3c 3e 5d 2a 3e 2f 2e 74 65 73 74 28 73 6f 75 72 63 | .(/<xsl:\w+\b[^<>]*>/.test(sourc |
1fe0 | 65 29 20 7c 7c 20 2f 3c 5c 2f 78 73 6c 3a 5c 77 2b 3e 2f 69 2e 74 65 73 74 28 73 6f 75 72 63 65 | e).||./<\/xsl:\w+>/i.test(source |
2000 | 29 29 20 7b 0a 09 09 09 65 78 74 72 61 63 74 20 3d 20 22 68 74 6d 6c 22 3b 0a 09 09 7d 20 65 6c | )).{....extract.=."html";...}.el |
2020 | 73 65 20 7b 0a 09 09 09 65 78 74 72 61 63 74 20 3d 20 22 78 6d 6c 22 3b 0a 09 09 7d 0a 09 7d 20 | se.{....extract.=."xml";...}..}. |
2040 | 65 6c 73 65 20 69 66 20 28 2f 5e 28 3f 3a 23 2b 5c 73 2b 5c 53 2b 7c 5c 53 2b 5b 5e 5c 72 5c 6e | else.if.(/^(?:#+\s+\S+|\S+[^\r\n |
2060 | 5d 2a 5c 72 3f 5c 6e 3d 2b 28 5c 72 3f 5c 6e 7c 24 29 29 2f 2e 74 65 73 74 28 73 6f 75 72 63 65 | ]*\r?\n=+(\r?\n|$))/.test(source |
2080 | 29 29 20 7b 0a 09 09 65 78 74 72 61 63 74 20 3d 20 22 6d 61 72 6b 64 6f 77 6e 22 3b 0a 09 7d 20 | )).{...extract.=."markdown";..}. |
20a0 | 65 6c 73 65 20 69 66 20 28 2f 3c 28 5c 77 2b 29 28 3f 3a 5c 73 2b 5b 5e 3c 3e 5d 2a 29 3f 3e 5b | else.if.(/<(\w+)(?:\s+[^<>]*)?>[ |
20c0 | 5c 73 5c 53 5d 2a 3f 3c 5c 2f 5c 31 3e 2f 2e 74 65 73 74 28 73 6f 75 72 63 65 29 29 20 7b 0a 09 | \s\S]*?<\/\1>/.test(source)).{.. |
20e0 | 09 65 78 74 72 61 63 74 20 3d 20 22 68 74 6d 6c 22 3b 0a 09 7d 20 65 6c 73 65 20 7b 0a 09 09 72 | .extract.=."html";..}.else.{...r |
2100 | 65 74 75 72 6e 3b 0a 09 7d 0a 09 72 65 74 75 72 6e 20 7b 0a 09 09 65 78 74 72 61 63 74 2c 0a 09 | eturn;..}..return.{...extract,.. |
2120 | 7d 3b 0a 7d 0a 0a 66 75 6e 63 74 69 6f 6e 20 65 78 74 54 79 70 65 20 28 65 78 74 4e 61 6d 65 2c | };.}..function.extType.(extName, |
2140 | 20 6c 61 6e 67 75 61 67 65 73 29 20 7b 0a 09 66 6f 72 20 28 63 6f 6e 73 74 20 6c 61 6e 67 4e 61 | .languages).{..for.(const.langNa |
2160 | 6d 65 20 69 6e 20 6c 61 6e 67 75 61 67 65 73 29 20 7b 0a 09 09 69 66 20 28 6c 61 6e 67 75 61 67 | me.in.languages).{...if.(languag |
2180 | 65 73 5b 6c 61 6e 67 4e 61 6d 65 5d 2e 74 65 73 74 28 65 78 74 4e 61 6d 65 29 29 20 7b 0a 09 09 | es[langName].test(extName)).{... |
21a0 | 09 72 65 74 75 72 6e 20 6c 61 6e 67 4e 61 6d 65 3b 0a 09 09 7d 0a 09 7d 0a 7d 0a 0a 66 75 6e 63 | .return.langName;...}..}.}..func |
21c0 | 74 69 6f 6e 20 66 69 6c 65 54 79 70 65 20 28 66 69 6c 65 29 20 7b 0a 09 69 66 20 28 66 69 6c 65 | tion.fileType.(file).{..if.(file |
21e0 | 20 26 26 20 2f 5c 2e 28 5c 77 2b 29 28 3f 3a 5b 3f 23 5d 2e 2a 3f 29 3f 24 2f 2e 74 65 73 74 28 | .&&./\.(\w+)(?:[?#].*?)?$/.test( |
2200 | 66 69 6c 65 29 29 20 7b 0a 09 09 63 6f 6e 73 74 20 65 78 74 4e 61 6d 65 20 3d 20 52 65 67 45 78 | file)).{...const.extName.=.RegEx |
2220 | 70 2e 24 31 3b 0a 09 09 63 6f 6e 73 74 20 65 78 74 72 61 63 74 20 3d 20 65 78 74 54 79 70 65 28 | p.$1;...const.extract.=.extType( |
2240 | 65 78 74 4e 61 6d 65 2c 20 65 78 74 72 61 63 74 73 29 3b 0a 09 09 69 66 20 28 65 78 74 72 61 63 | extName,.extracts);...if.(extrac |
2260 | 74 29 20 7b 0a 09 09 09 72 65 74 75 72 6e 20 7b 0a 09 09 09 09 65 78 74 72 61 63 74 2c 0a 09 09 | t).{....return.{.....extract,... |
2280 | 09 7d 3b 0a 09 09 7d 0a 09 09 63 6f 6e 73 74 20 6c 61 6e 67 20 3d 20 65 78 74 54 79 70 65 28 65 | .};...}...const.lang.=.extType(e |
22a0 | 78 74 4e 61 6d 65 2c 20 6c 61 6e 67 75 61 67 65 73 29 3b 0a 09 09 69 66 20 28 6c 61 6e 67 29 20 | xtName,.languages);...if.(lang). |
22c0 | 7b 0a 09 09 09 72 65 74 75 72 6e 20 7b 0a 09 09 09 09 6c 61 6e 67 2c 0a 09 09 09 7d 3b 0a 09 09 | {....return.{.....lang,....};... |
22e0 | 7d 0a 09 7d 0a 7d 0a 0a 66 75 6e 63 74 69 6f 6e 20 67 65 74 4c 61 6e 67 20 28 66 69 6c 65 2c 20 | }..}.}..function.getLang.(file,. |
2300 | 73 6f 75 72 63 65 29 20 7b 0a 09 72 65 74 75 72 6e 20 66 69 6c 65 54 79 70 65 28 66 69 6c 65 29 | source).{..return.fileType(file) |
2320 | 20 7c 7c 20 73 6f 75 72 63 65 54 79 70 65 28 73 6f 75 72 63 65 29 3b 0a 7d 0a 0a 6d 6f 64 75 6c | .||.sourceType(source);.}..modul |
2340 | 65 2e 65 78 70 6f 72 74 73 20 3d 20 67 65 74 4c 61 6e 67 3b 0a 00 00 00 00 00 00 00 00 00 00 00 | e.exports.=.getLang;............ |
2360 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
2380 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
23a0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
23c0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
23e0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
2400 | 70 61 63 6b 61 67 65 2f 67 65 74 2d 73 79 6e 74 61 78 2e 6a 73 00 00 00 00 00 00 00 00 00 00 00 | package/get-syntax.js........... |
2420 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
2440 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
2460 | 00 00 00 00 30 30 30 36 36 36 20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 30 30 30 30 | ....000666..................0000 |
2480 | 30 30 32 36 32 32 20 00 33 35 36 30 31 31 36 36 30 34 20 00 30 31 31 37 32 37 20 00 30 00 00 00 | 002622..3560116604..011727..0... |
24a0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
24c0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
24e0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
2500 | 00 75 73 74 61 72 00 30 30 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | .ustar.00....................... |
2520 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
2540 | 00 00 00 00 00 00 00 00 00 30 30 30 30 30 30 20 00 30 30 30 30 30 30 20 00 00 00 00 00 00 00 00 | .........000000..000000......... |
2560 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
2580 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
25a0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
25c0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
25e0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
2600 | 22 75 73 65 20 73 74 72 69 63 74 22 3b 0a 63 6f 6e 73 74 20 70 61 74 68 20 3d 20 72 65 71 75 69 | "use.strict";.const.path.=.requi |
2620 | 72 65 28 22 70 61 74 68 22 29 3b 0a 63 6f 6e 73 74 20 72 65 53 79 6e 74 61 78 43 53 53 20 3d 20 | re("path");.const.reSyntaxCSS.=. |
2640 | 2f 5e 28 3f 3a 70 6f 73 74 29 3f 63 73 73 24 2f 69 3b 0a 0a 66 75 6e 63 74 69 6f 6e 20 63 73 73 | /^(?:post)?css$/i;..function.css |
2660 | 53 79 6e 74 61 78 20 28 29 20 7b 0a 09 72 65 74 75 72 6e 20 7b 0a 09 09 73 74 72 69 6e 67 69 66 | Syntax.().{..return.{...stringif |
2680 | 79 3a 20 72 65 71 75 69 72 65 28 22 70 6f 73 74 63 73 73 2f 6c 69 62 2f 73 74 72 69 6e 67 69 66 | y:.require("postcss/lib/stringif |
26a0 | 79 22 29 2c 0a 09 09 70 61 72 73 65 3a 20 72 65 71 75 69 72 65 28 22 70 6f 73 74 63 73 73 2f 6c | y"),...parse:.require("postcss/l |
26c0 | 69 62 2f 70 61 72 73 65 22 29 2c 0a 09 7d 3b 0a 7d 0a 0a 66 75 6e 63 74 69 6f 6e 20 6e 6f 72 6d | ib/parse"),..};.}..function.norm |
26e0 | 61 6c 69 7a 65 20 28 73 79 6e 74 61 78 29 20 7b 0a 09 69 66 20 28 21 73 79 6e 74 61 78 2e 70 61 | alize.(syntax).{..if.(!syntax.pa |
2700 | 72 73 65 29 20 7b 0a 09 09 73 79 6e 74 61 78 20 3d 20 7b 0a 09 09 09 70 61 72 73 65 3a 20 73 79 | rse).{...syntax.=.{....parse:.sy |
2720 | 6e 74 61 78 2c 0a 09 09 7d 3b 0a 09 7d 0a 09 72 65 74 75 72 6e 20 73 79 6e 74 61 78 3b 0a 7d 0a | ntax,...};..}..return.syntax;.}. |
2740 | 0a 66 75 6e 63 74 69 6f 6e 20 72 65 71 75 69 72 65 53 79 6e 74 61 78 20 28 73 79 6e 74 61 78 29 | .function.requireSyntax.(syntax) |
2760 | 20 7b 0a 09 69 66 20 28 72 65 53 79 6e 74 61 78 43 53 53 2e 74 65 73 74 28 73 79 6e 74 61 78 29 | .{..if.(reSyntaxCSS.test(syntax) |
2780 | 29 20 7b 0a 09 09 72 65 74 75 72 6e 20 63 73 73 53 79 6e 74 61 78 28 29 3b 0a 09 7d 20 65 6c 73 | ).{...return.cssSyntax();..}.els |
27a0 | 65 20 69 66 20 28 2f 5e 73 75 67 61 72 73 73 24 2f 69 2e 74 65 73 74 28 73 79 6e 74 61 78 29 29 | e.if.(/^sugarss$/i.test(syntax)) |
27c0 | 20 7b 0a 09 09 73 79 6e 74 61 78 20 3d 20 22 73 75 67 61 72 73 73 22 3b 0a 09 7d 20 65 6c 73 65 | .{...syntax.=."sugarss";..}.else |
27e0 | 20 69 66 20 28 70 61 74 68 2e 69 73 41 62 73 6f 6c 75 74 65 28 73 79 6e 74 61 78 29 20 7c 7c 20 | .if.(path.isAbsolute(syntax).||. |
2800 | 73 79 6e 74 61 78 5b 30 5d 20 3d 3d 3d 20 22 2e 22 29 20 7b 0a 09 09 73 79 6e 74 61 78 20 3d 20 | syntax[0].===.".").{...syntax.=. |
2820 | 70 61 74 68 2e 72 65 73 6f 6c 76 65 28 73 79 6e 74 61 78 29 3b 0a 09 7d 20 65 6c 73 65 20 7b 0a | path.resolve(syntax);..}.else.{. |
2840 | 09 09 73 79 6e 74 61 78 20 3d 20 73 79 6e 74 61 78 2e 74 6f 4c 6f 77 65 72 43 61 73 65 28 29 2e | ..syntax.=.syntax.toLowerCase(). |
2860 | 72 65 70 6c 61 63 65 28 2f 5e 28 3f 3a 70 6f 73 74 63 73 73 2d 29 3f 28 5c 77 2b 29 2f 69 2c 20 | replace(/^(?:postcss-)?(\w+)/i,. |
2880 | 22 70 6f 73 74 63 73 73 2d 24 31 22 29 3b 0a 09 7d 0a 09 72 65 74 75 72 6e 20 6e 6f 72 6d 61 6c | "postcss-$1");..}..return.normal |
28a0 | 69 7a 65 28 72 65 71 75 69 72 65 28 73 79 6e 74 61 78 29 29 3b 0a 7d 0a 0a 66 75 6e 63 74 69 6f | ize(require(syntax));.}..functio |
28c0 | 6e 20 67 65 74 53 79 6e 74 61 78 20 28 6c 61 6e 67 2c 20 6f 70 74 73 29 20 7b 0a 09 6c 65 74 20 | n.getSyntax.(lang,.opts).{..let. |
28e0 | 73 79 6e 74 61 78 3b 0a 09 6c 61 6e 67 20 3d 20 6c 61 6e 67 20 7c 7c 20 22 63 73 73 22 3b 0a 09 | syntax;..lang.=.lang.||."css";.. |
2900 | 69 66 20 28 6f 70 74 73 2e 73 79 6e 74 61 78 2e 63 6f 6e 66 69 67 5b 6c 61 6e 67 5d 29 20 7b 0a | if.(opts.syntax.config[lang]).{. |
2920 | 09 09 73 79 6e 74 61 78 20 3d 20 6f 70 74 73 2e 73 79 6e 74 61 78 2e 63 6f 6e 66 69 67 5b 6c 61 | ..syntax.=.opts.syntax.config[la |
2940 | 6e 67 5d 3b 0a 09 09 69 66 20 28 74 79 70 65 6f 66 20 73 79 6e 74 61 78 20 3d 3d 3d 20 22 73 74 | ng];...if.(typeof.syntax.===."st |
2960 | 72 69 6e 67 22 29 20 7b 0a 09 09 09 69 66 20 28 73 79 6e 74 61 78 20 21 3d 3d 20 6c 61 6e 67 20 | ring").{....if.(syntax.!==.lang. |
2980 | 26 26 20 6f 70 74 73 2e 73 79 6e 74 61 78 2e 63 6f 6e 66 69 67 5b 73 79 6e 74 61 78 5d 29 20 7b | &&.opts.syntax.config[syntax]).{ |
29a0 | 0a 09 09 09 09 72 65 74 75 72 6e 20 67 65 74 53 79 6e 74 61 78 28 73 79 6e 74 61 78 2c 20 6f 70 | .....return.getSyntax(syntax,.op |
29c0 | 74 73 29 3b 0a 09 09 09 7d 0a 09 09 09 73 79 6e 74 61 78 20 3d 20 72 65 71 75 69 72 65 53 79 6e | ts);....}....syntax.=.requireSyn |
29e0 | 74 61 78 28 73 79 6e 74 61 78 29 3b 0a 09 09 7d 20 65 6c 73 65 20 7b 0a 09 09 09 73 79 6e 74 61 | tax(syntax);...}.else.{....synta |
2a00 | 78 20 3d 20 6e 6f 72 6d 61 6c 69 7a 65 28 73 79 6e 74 61 78 29 3b 0a 09 09 7d 0a 09 7d 20 65 6c | x.=.normalize(syntax);...}..}.el |
2a20 | 73 65 20 69 66 20 28 72 65 53 79 6e 74 61 78 43 53 53 2e 74 65 73 74 28 6c 61 6e 67 29 29 20 7b | se.if.(reSyntaxCSS.test(lang)).{ |
2a40 | 0a 09 09 73 79 6e 74 61 78 20 3d 20 63 73 73 53 79 6e 74 61 78 28 29 3b 0a 09 7d 20 65 6c 73 65 | ...syntax.=.cssSyntax();..}.else |
2a60 | 20 7b 0a 09 09 72 65 74 75 72 6e 20 72 65 71 75 69 72 65 53 79 6e 74 61 78 28 6c 61 6e 67 29 3b | .{...return.requireSyntax(lang); |
2a80 | 0a 09 7d 0a 09 69 66 20 28 21 73 79 6e 74 61 78 2e 73 74 72 69 6e 67 69 66 79 29 20 7b 0a 09 09 | ..}..if.(!syntax.stringify).{... |
2aa0 | 69 66 20 28 72 65 53 79 6e 74 61 78 43 53 53 2e 74 65 73 74 28 6c 61 6e 67 29 29 20 7b 0a 09 09 | if.(reSyntaxCSS.test(lang)).{... |
2ac0 | 09 73 79 6e 74 61 78 2e 73 74 72 69 6e 67 69 66 79 20 3d 20 72 65 71 75 69 72 65 28 22 70 6f 73 | .syntax.stringify.=.require("pos |
2ae0 | 74 63 73 73 2f 6c 69 62 2f 73 74 72 69 6e 67 69 66 79 22 29 3b 0a 09 09 7d 20 65 6c 73 65 20 7b | tcss/lib/stringify");...}.else.{ |
2b00 | 0a 09 09 09 73 79 6e 74 61 78 2e 73 74 72 69 6e 67 69 66 79 20 3d 20 67 65 74 53 79 6e 74 61 78 | ....syntax.stringify.=.getSyntax |
2b20 | 28 6e 75 6c 6c 2c 20 6f 70 74 73 29 2e 73 74 72 69 6e 67 69 66 79 3b 0a 09 09 7d 0a 09 7d 0a 09 | (null,.opts).stringify;...}..}.. |
2b40 | 6f 70 74 73 2e 73 79 6e 74 61 78 2e 63 6f 6e 66 69 67 5b 6c 61 6e 67 5d 20 3d 20 73 79 6e 74 61 | opts.syntax.config[lang].=.synta |
2b60 | 78 3b 0a 09 72 65 74 75 72 6e 20 73 79 6e 74 61 78 3b 0a 7d 0a 0a 6d 6f 64 75 6c 65 2e 65 78 70 | x;..return.syntax;.}..module.exp |
2b80 | 6f 72 74 73 20 3d 20 67 65 74 53 79 6e 74 61 78 3b 0a 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | orts.=.getSyntax;............... |
2ba0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
2bc0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
2be0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
2c00 | 70 61 63 6b 61 67 65 2f 69 6e 64 65 78 2e 6a 73 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | package/index.js................ |
2c20 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
2c40 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
2c60 | 00 00 00 00 30 30 30 36 36 36 20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 30 30 30 30 | ....000666..................0000 |
2c80 | 30 30 30 37 35 37 20 00 33 35 36 30 31 31 36 36 30 34 20 00 30 31 30 37 34 32 20 00 30 00 00 00 | 000757..3560116604..010742..0... |
2ca0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
2cc0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
2ce0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
2d00 | 00 75 73 74 61 72 00 30 30 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | .ustar.00....................... |
2d20 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
2d40 | 00 00 00 00 00 00 00 00 00 30 30 30 30 30 30 20 00 30 30 30 30 30 30 20 00 00 00 00 00 00 00 00 | .........000000..000000......... |
2d60 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
2d80 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
2da0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
2dc0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
2de0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
2e00 | 22 75 73 65 20 73 74 72 69 63 74 22 3b 0a 63 6f 6e 73 74 20 73 74 72 69 6e 67 69 66 79 20 3d 20 | "use.strict";.const.stringify.=. |
2e20 | 72 65 71 75 69 72 65 28 22 2e 2f 73 74 72 69 6e 67 69 66 79 22 29 3b 0a 63 6f 6e 73 74 20 70 61 | require("./stringify");.const.pa |
2e40 | 72 73 65 20 3d 20 72 65 71 75 69 72 65 28 22 2e 2f 70 61 72 73 65 22 29 3b 0a 0a 63 6f 6e 73 74 | rse.=.require("./parse");..const |
2e60 | 20 64 65 66 61 75 6c 74 43 6f 6e 66 69 67 20 3d 20 7b 0a 09 70 6f 73 74 63 73 73 3a 20 22 63 73 | .defaultConfig.=.{..postcss:."cs |
2e80 | 73 22 2c 0a 09 73 74 79 6c 75 73 3a 20 22 63 73 73 22 2c 0a 09 62 61 62 65 6c 3a 20 22 6a 73 78 | s",..stylus:."css",..babel:."jsx |
2ea0 | 22 2c 0a 09 78 6d 6c 3a 20 22 68 74 6d 6c 22 2c 0a 7d 3b 0a 0a 66 75 6e 63 74 69 6f 6e 20 69 6e | ",..xml:."html",.};..function.in |
2ec0 | 69 74 53 79 6e 74 61 78 20 28 73 79 6e 74 61 78 29 20 7b 0a 09 73 79 6e 74 61 78 2e 73 74 72 69 | itSyntax.(syntax).{..syntax.stri |
2ee0 | 6e 67 69 66 79 20 3d 20 73 74 72 69 6e 67 69 66 79 2e 62 69 6e 64 28 73 79 6e 74 61 78 29 3b 0a | ngify.=.stringify.bind(syntax);. |
2f00 | 09 73 79 6e 74 61 78 2e 70 61 72 73 65 20 3d 20 70 61 72 73 65 2e 62 69 6e 64 28 73 79 6e 74 61 | .syntax.parse.=.parse.bind(synta |
2f20 | 78 29 3b 0a 09 72 65 74 75 72 6e 20 73 79 6e 74 61 78 3b 0a 7d 0a 0a 66 75 6e 63 74 69 6f 6e 20 | x);..return.syntax;.}..function. |
2f40 | 73 79 6e 74 61 78 20 28 63 6f 6e 66 69 67 29 20 7b 0a 09 72 65 74 75 72 6e 20 69 6e 69 74 53 79 | syntax.(config).{..return.initSy |
2f60 | 6e 74 61 78 28 7b 0a 09 09 63 6f 6e 66 69 67 3a 20 4f 62 6a 65 63 74 2e 61 73 73 69 67 6e 28 7b | ntax({...config:.Object.assign({ |
2f80 | 7d 2c 20 64 65 66 61 75 6c 74 43 6f 6e 66 69 67 2c 20 63 6f 6e 66 69 67 29 2c 0a 09 7d 29 3b 0a | },.defaultConfig,.config),..});. |
2fa0 | 7d 0a 0a 69 6e 69 74 53 79 6e 74 61 78 28 73 79 6e 74 61 78 29 3b 0a 73 79 6e 74 61 78 2e 63 6f | }..initSyntax(syntax);.syntax.co |
2fc0 | 6e 66 69 67 20 3d 20 64 65 66 61 75 6c 74 43 6f 6e 66 69 67 3b 0a 6d 6f 64 75 6c 65 2e 65 78 70 | nfig.=.defaultConfig;.module.exp |
2fe0 | 6f 72 74 73 20 3d 20 73 79 6e 74 61 78 3b 0a 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | orts.=.syntax;.................. |
3000 | 70 61 63 6b 61 67 65 2f 4c 49 43 45 4e 53 45 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | package/LICENSE................. |
3020 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
3040 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
3060 | 00 00 00 00 30 30 30 36 36 36 20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 30 30 30 30 | ....000666..................0000 |
3080 | 30 30 32 30 34 37 20 00 33 35 36 30 31 31 36 36 30 34 20 00 30 31 30 32 37 34 20 00 30 00 00 00 | 002047..3560116604..010274..0... |
30a0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
30c0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
30e0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
3100 | 00 75 73 74 61 72 00 30 30 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | .ustar.00....................... |
3120 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
3140 | 00 00 00 00 00 00 00 00 00 30 30 30 30 30 30 20 00 30 30 30 30 30 30 20 00 00 00 00 00 00 00 00 | .........000000..000000......... |
3160 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
3180 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
31a0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
31c0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
31e0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
3200 | 4d 49 54 20 4c 69 63 65 6e 73 65 0a 0a 43 6f 70 79 72 69 67 68 74 20 28 63 29 20 32 30 31 38 20 | MIT.License..Copyright.(c).2018. |
3220 | e5 88 98 e7 a5 ba 0a 0a 50 65 72 6d 69 73 73 69 6f 6e 20 69 73 20 68 65 72 65 62 79 20 67 72 61 | ........Permission.is.hereby.gra |
3240 | 6e 74 65 64 2c 20 66 72 65 65 20 6f 66 20 63 68 61 72 67 65 2c 20 74 6f 20 61 6e 79 20 70 65 72 | nted,.free.of.charge,.to.any.per |
3260 | 73 6f 6e 20 6f 62 74 61 69 6e 69 6e 67 20 61 20 63 6f 70 79 0a 6f 66 20 74 68 69 73 20 73 6f 66 | son.obtaining.a.copy.of.this.sof |
3280 | 74 77 61 72 65 20 61 6e 64 20 61 73 73 6f 63 69 61 74 65 64 20 64 6f 63 75 6d 65 6e 74 61 74 69 | tware.and.associated.documentati |
32a0 | 6f 6e 20 66 69 6c 65 73 20 28 74 68 65 20 22 53 6f 66 74 77 61 72 65 22 29 2c 20 74 6f 20 64 65 | on.files.(the."Software"),.to.de |
32c0 | 61 6c 0a 69 6e 20 74 68 65 20 53 6f 66 74 77 61 72 65 20 77 69 74 68 6f 75 74 20 72 65 73 74 72 | al.in.the.Software.without.restr |
32e0 | 69 63 74 69 6f 6e 2c 20 69 6e 63 6c 75 64 69 6e 67 20 77 69 74 68 6f 75 74 20 6c 69 6d 69 74 61 | iction,.including.without.limita |
3300 | 74 69 6f 6e 20 74 68 65 20 72 69 67 68 74 73 0a 74 6f 20 75 73 65 2c 20 63 6f 70 79 2c 20 6d 6f | tion.the.rights.to.use,.copy,.mo |
3320 | 64 69 66 79 2c 20 6d 65 72 67 65 2c 20 70 75 62 6c 69 73 68 2c 20 64 69 73 74 72 69 62 75 74 65 | dify,.merge,.publish,.distribute |
3340 | 2c 20 73 75 62 6c 69 63 65 6e 73 65 2c 20 61 6e 64 2f 6f 72 20 73 65 6c 6c 0a 63 6f 70 69 65 73 | ,.sublicense,.and/or.sell.copies |
3360 | 20 6f 66 20 74 68 65 20 53 6f 66 74 77 61 72 65 2c 20 61 6e 64 20 74 6f 20 70 65 72 6d 69 74 20 | .of.the.Software,.and.to.permit. |
3380 | 70 65 72 73 6f 6e 73 20 74 6f 20 77 68 6f 6d 20 74 68 65 20 53 6f 66 74 77 61 72 65 20 69 73 0a | persons.to.whom.the.Software.is. |
33a0 | 66 75 72 6e 69 73 68 65 64 20 74 6f 20 64 6f 20 73 6f 2c 20 73 75 62 6a 65 63 74 20 74 6f 20 74 | furnished.to.do.so,.subject.to.t |
33c0 | 68 65 20 66 6f 6c 6c 6f 77 69 6e 67 20 63 6f 6e 64 69 74 69 6f 6e 73 3a 0a 0a 54 68 65 20 61 62 | he.following.conditions:..The.ab |
33e0 | 6f 76 65 20 63 6f 70 79 72 69 67 68 74 20 6e 6f 74 69 63 65 20 61 6e 64 20 74 68 69 73 20 70 65 | ove.copyright.notice.and.this.pe |
3400 | 72 6d 69 73 73 69 6f 6e 20 6e 6f 74 69 63 65 20 73 68 61 6c 6c 20 62 65 20 69 6e 63 6c 75 64 65 | rmission.notice.shall.be.include |
3420 | 64 20 69 6e 20 61 6c 6c 0a 63 6f 70 69 65 73 20 6f 72 20 73 75 62 73 74 61 6e 74 69 61 6c 20 70 | d.in.all.copies.or.substantial.p |
3440 | 6f 72 74 69 6f 6e 73 20 6f 66 20 74 68 65 20 53 6f 66 74 77 61 72 65 2e 0a 0a 54 48 45 20 53 4f | ortions.of.the.Software...THE.SO |
3460 | 46 54 57 41 52 45 20 49 53 20 50 52 4f 56 49 44 45 44 20 22 41 53 20 49 53 22 2c 20 57 49 54 48 | FTWARE.IS.PROVIDED."AS.IS",.WITH |
3480 | 4f 55 54 20 57 41 52 52 41 4e 54 59 20 4f 46 20 41 4e 59 20 4b 49 4e 44 2c 20 45 58 50 52 45 53 | OUT.WARRANTY.OF.ANY.KIND,.EXPRES |
34a0 | 53 20 4f 52 0a 49 4d 50 4c 49 45 44 2c 20 49 4e 43 4c 55 44 49 4e 47 20 42 55 54 20 4e 4f 54 20 | S.OR.IMPLIED,.INCLUDING.BUT.NOT. |
34c0 | 4c 49 4d 49 54 45 44 20 54 4f 20 54 48 45 20 57 41 52 52 41 4e 54 49 45 53 20 4f 46 20 4d 45 52 | LIMITED.TO.THE.WARRANTIES.OF.MER |
34e0 | 43 48 41 4e 54 41 42 49 4c 49 54 59 2c 0a 46 49 54 4e 45 53 53 20 46 4f 52 20 41 20 50 41 52 54 | CHANTABILITY,.FITNESS.FOR.A.PART |
3500 | 49 43 55 4c 41 52 20 50 55 52 50 4f 53 45 20 41 4e 44 20 4e 4f 4e 49 4e 46 52 49 4e 47 45 4d 45 | ICULAR.PURPOSE.AND.NONINFRINGEME |
3520 | 4e 54 2e 20 49 4e 20 4e 4f 20 45 56 45 4e 54 20 53 48 41 4c 4c 20 54 48 45 0a 41 55 54 48 4f 52 | NT..IN.NO.EVENT.SHALL.THE.AUTHOR |
3540 | 53 20 4f 52 20 43 4f 50 59 52 49 47 48 54 20 48 4f 4c 44 45 52 53 20 42 45 20 4c 49 41 42 4c 45 | S.OR.COPYRIGHT.HOLDERS.BE.LIABLE |
3560 | 20 46 4f 52 20 41 4e 59 20 43 4c 41 49 4d 2c 20 44 41 4d 41 47 45 53 20 4f 52 20 4f 54 48 45 52 | .FOR.ANY.CLAIM,.DAMAGES.OR.OTHER |
3580 | 0a 4c 49 41 42 49 4c 49 54 59 2c 20 57 48 45 54 48 45 52 20 49 4e 20 41 4e 20 41 43 54 49 4f 4e | .LIABILITY,.WHETHER.IN.AN.ACTION |
35a0 | 20 4f 46 20 43 4f 4e 54 52 41 43 54 2c 20 54 4f 52 54 20 4f 52 20 4f 54 48 45 52 57 49 53 45 2c | .OF.CONTRACT,.TORT.OR.OTHERWISE, |
35c0 | 20 41 52 49 53 49 4e 47 20 46 52 4f 4d 2c 0a 4f 55 54 20 4f 46 20 4f 52 20 49 4e 20 43 4f 4e 4e | .ARISING.FROM,.OUT.OF.OR.IN.CONN |
35e0 | 45 43 54 49 4f 4e 20 57 49 54 48 20 54 48 45 20 53 4f 46 54 57 41 52 45 20 4f 52 20 54 48 45 20 | ECTION.WITH.THE.SOFTWARE.OR.THE. |
3600 | 55 53 45 20 4f 52 20 4f 54 48 45 52 20 44 45 41 4c 49 4e 47 53 20 49 4e 20 54 48 45 0a 53 4f 46 | USE.OR.OTHER.DEALINGS.IN.THE.SOF |
3620 | 54 57 41 52 45 2e 0a 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | TWARE........................... |
3640 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
3660 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
3680 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
36a0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
36c0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
36e0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
3700 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
3720 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
3740 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
3760 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
3780 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
37a0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
37c0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
37e0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
3800 | 70 61 63 6b 61 67 65 2f 6c 6f 61 64 2d 73 79 6e 74 61 78 2e 6a 73 00 00 00 00 00 00 00 00 00 00 | package/load-syntax.js.......... |
3820 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
3840 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
3860 | 00 00 00 00 30 30 30 36 36 36 20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 30 30 30 30 | ....000666..................0000 |
3880 | 30 30 31 30 36 37 20 00 33 35 36 30 31 31 36 36 30 34 20 00 30 31 32 30 37 31 20 00 30 00 00 00 | 001067..3560116604..012071..0... |
38a0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
38c0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
38e0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
3900 | 00 75 73 74 61 72 00 30 30 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | .ustar.00....................... |
3920 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
3940 | 00 00 00 00 00 00 00 00 00 30 30 30 30 30 30 20 00 30 30 30 30 30 30 20 00 00 00 00 00 00 00 00 | .........000000..000000......... |
3960 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
3980 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
39a0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
39c0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
39e0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
3a00 | 22 75 73 65 20 73 74 72 69 63 74 22 3b 0a 63 6f 6e 73 74 20 67 65 74 53 79 6e 74 61 78 20 3d 20 | "use.strict";.const.getSyntax.=. |
3a20 | 72 65 71 75 69 72 65 28 22 2e 2f 67 65 74 2d 73 79 6e 74 61 78 22 29 3b 0a 63 6f 6e 73 74 20 63 | require("./get-syntax");.const.c |
3a40 | 61 63 68 65 20 3d 20 7b 7d 3b 0a 0a 66 75 6e 63 74 69 6f 6e 20 6c 6f 61 64 53 79 6e 74 61 78 20 | ache.=.{};..function.loadSyntax. |
3a60 | 28 6f 70 74 73 2c 20 69 64 29 20 7b 0a 09 63 6f 6e 73 74 20 63 73 73 53 79 6e 74 61 78 20 3d 20 | (opts,.id).{..const.cssSyntax.=. |
3a80 | 67 65 74 53 79 6e 74 61 78 28 22 63 73 73 22 2c 20 6f 70 74 73 29 3b 0a 09 63 6f 6e 73 74 20 6d | getSyntax("css",.opts);..const.m |
3aa0 | 6f 64 75 6c 65 50 61 74 68 20 3d 20 69 64 20 2b 20 22 2f 74 65 6d 70 6c 61 74 65 2d 22 20 2b 20 | odulePath.=.id.+."/template-".+. |
3ac0 | 28 63 73 73 53 79 6e 74 61 78 2e 70 61 72 73 65 2e 6e 61 6d 65 20 3d 3d 3d 20 22 73 61 66 65 50 | (cssSyntax.parse.name.===."safeP |
3ae0 | 61 72 73 65 22 20 3f 20 22 73 61 66 65 2d 22 20 3a 20 22 22 29 20 2b 20 22 70 61 72 73 65 22 3b | arse".?."safe-".:."").+."parse"; |
3b00 | 0a 09 6c 65 74 20 73 79 6e 74 61 78 20 3d 20 63 61 63 68 65 5b 6d 6f 64 75 6c 65 50 61 74 68 5d | ..let.syntax.=.cache[modulePath] |
3b20 | 3b 0a 09 69 66 20 28 21 73 79 6e 74 61 78 29 20 7b 0a 09 09 73 79 6e 74 61 78 20 3d 20 7b 0a 09 | ;..if.(!syntax).{...syntax.=.{.. |
3b40 | 09 09 70 61 72 73 65 3a 20 72 65 71 75 69 72 65 28 6d 6f 64 75 6c 65 50 61 74 68 29 2c 0a 09 09 | ..parse:.require(modulePath),... |
3b60 | 7d 3b 0a 09 09 74 72 79 20 7b 0a 09 09 09 73 79 6e 74 61 78 2e 73 74 72 69 6e 67 69 66 79 20 3d | };...try.{....syntax.stringify.= |
3b80 | 20 72 65 71 75 69 72 65 28 69 64 20 2b 20 22 2f 74 65 6d 70 6c 61 74 65 2d 73 74 72 69 6e 67 69 | .require(id.+."/template-stringi |
3ba0 | 66 79 22 29 3b 0a 09 09 7d 20 63 61 74 63 68 20 28 65 78 29 20 7b 0a 09 09 09 73 79 6e 74 61 78 | fy");...}.catch.(ex).{....syntax |
3bc0 | 2e 73 74 72 69 6e 67 69 66 79 20 3d 20 63 73 73 53 79 6e 74 61 78 2e 73 74 72 69 6e 67 69 66 79 | .stringify.=.cssSyntax.stringify |
3be0 | 3b 0a 09 09 7d 0a 09 09 63 61 63 68 65 5b 6d 6f 64 75 6c 65 50 61 74 68 5d 20 3d 20 73 79 6e 74 | ;...}...cache[modulePath].=.synt |
3c00 | 61 78 3b 0a 09 7d 0a 09 72 65 74 75 72 6e 20 73 79 6e 74 61 78 3b 0a 7d 0a 0a 6d 6f 64 75 6c 65 | ax;..}..return.syntax;.}..module |
3c20 | 2e 65 78 70 6f 72 74 73 20 3d 20 6c 6f 61 64 53 79 6e 74 61 78 3b 0a 00 00 00 00 00 00 00 00 00 | .exports.=.loadSyntax;.......... |
3c40 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
3c60 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
3c80 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
3ca0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
3cc0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
3ce0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
3d00 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
3d20 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
3d40 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
3d60 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
3d80 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
3da0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
3dc0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
3de0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
3e00 | 70 61 63 6b 61 67 65 2f 6e 6f 72 6d 61 6c 2d 6f 70 74 73 2e 6a 73 00 00 00 00 00 00 00 00 00 00 | package/normal-opts.js.......... |
3e20 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
3e40 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
3e60 | 00 00 00 00 30 30 30 36 36 36 20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 30 30 30 30 | ....000666..................0000 |
3e80 | 30 30 30 32 32 37 20 00 33 35 36 30 31 31 36 36 30 34 20 00 30 31 32 30 37 36 20 00 30 00 00 00 | 000227..3560116604..012076..0... |
3ea0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
3ec0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
3ee0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
3f00 | 00 75 73 74 61 72 00 30 30 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | .ustar.00....................... |
3f20 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
3f40 | 00 00 00 00 00 00 00 00 00 30 30 30 30 30 30 20 00 30 30 30 30 30 30 20 00 00 00 00 00 00 00 00 | .........000000..000000......... |
3f60 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
3f80 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
3fa0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
3fc0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
3fe0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
4000 | 22 75 73 65 20 73 74 72 69 63 74 22 3b 0a 0a 66 75 6e 63 74 69 6f 6e 20 6e 6f 72 6d 61 6c 4f 70 | "use.strict";..function.normalOp |
4020 | 74 73 20 28 6f 70 74 73 2c 20 73 79 6e 74 61 78 29 20 7b 0a 09 69 66 20 28 21 6f 70 74 73 29 20 | ts.(opts,.syntax).{..if.(!opts). |
4040 | 7b 0a 09 09 6f 70 74 73 20 3d 20 7b 7d 3b 0a 09 7d 0a 09 6f 70 74 73 2e 73 79 6e 74 61 78 20 3d | {...opts.=.{};..}..opts.syntax.= |
4060 | 20 73 79 6e 74 61 78 3b 0a 09 72 65 74 75 72 6e 20 6f 70 74 73 3b 0a 7d 0a 0a 6d 6f 64 75 6c 65 | .syntax;..return.opts;.}..module |
4080 | 2e 65 78 70 6f 72 74 73 20 3d 20 6e 6f 72 6d 61 6c 4f 70 74 73 3b 0a 00 00 00 00 00 00 00 00 00 | .exports.=.normalOpts;.......... |
40a0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
40c0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
40e0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
4100 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
4120 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
4140 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
4160 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
4180 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
41a0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
41c0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
41e0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
4200 | 70 61 63 6b 61 67 65 2f 70 61 72 73 65 2d 73 74 79 6c 65 2e 6a 73 00 00 00 00 00 00 00 00 00 00 | package/parse-style.js.......... |
4220 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
4240 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
4260 | 00 00 00 00 30 30 30 36 36 36 20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 30 30 30 30 | ....000666..................0000 |
4280 | 30 30 35 34 35 35 20 00 33 35 36 30 31 31 36 36 30 34 20 00 30 31 32 31 30 33 20 00 30 00 00 00 | 005455..3560116604..012103..0... |
42a0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
42c0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
42e0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
4300 | 00 75 73 74 61 72 00 30 30 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | .ustar.00....................... |
4320 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
4340 | 00 00 00 00 00 00 00 00 00 30 30 30 30 30 30 20 00 30 30 30 30 30 30 20 00 00 00 00 00 00 00 00 | .........000000..000000......... |
4360 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
4380 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
43a0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
43c0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
43e0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
4400 | 22 75 73 65 20 73 74 72 69 63 74 22 3b 0a 63 6f 6e 73 74 20 72 65 4e 65 77 4c 69 6e 65 20 3d 20 | "use.strict";.const.reNewLine.=. |
4420 | 2f 28 3f 3a 5c 72 3f 5c 6e 7c 5c 72 29 2f 67 6d 3b 0a 63 6f 6e 73 74 20 49 6e 70 75 74 20 3d 20 | /(?:\r?\n|\r)/gm;.const.Input.=. |
4440 | 72 65 71 75 69 72 65 28 22 70 6f 73 74 63 73 73 2f 6c 69 62 2f 69 6e 70 75 74 22 29 3b 0a 63 6f | require("postcss/lib/input");.co |
4460 | 6e 73 74 20 44 6f 63 75 6d 65 6e 74 20 3d 20 72 65 71 75 69 72 65 28 22 2e 2f 64 6f 63 75 6d 65 | nst.Document.=.require("./docume |
4480 | 6e 74 22 29 3b 0a 63 6f 6e 73 74 20 67 65 74 53 79 6e 74 61 78 20 3d 20 72 65 71 75 69 72 65 28 | nt");.const.getSyntax.=.require( |
44a0 | 22 2e 2f 67 65 74 2d 73 79 6e 74 61 78 22 29 3b 0a 63 6f 6e 73 74 20 70 61 74 63 68 20 3d 20 72 | "./get-syntax");.const.patch.=.r |
44c0 | 65 71 75 69 72 65 28 22 2e 2f 70 61 74 63 68 2d 70 6f 73 74 63 73 73 22 29 3b 0a 0a 63 6c 61 73 | equire("./patch-postcss");..clas |
44e0 | 73 20 4c 6f 63 61 6c 46 69 78 65 72 20 7b 0a 09 63 6f 6e 73 74 72 75 63 74 6f 72 20 28 6c 69 6e | s.LocalFixer.{..constructor.(lin |
4500 | 65 73 2c 20 73 74 79 6c 65 29 20 7b 0a 09 09 6c 65 74 20 6c 69 6e 65 20 3d 20 30 3b 0a 09 09 6c | es,.style).{...let.line.=.0;...l |
4520 | 65 74 20 63 6f 6c 75 6d 6e 20 3d 20 73 74 79 6c 65 2e 73 74 61 72 74 49 6e 64 65 78 3b 0a 09 09 | et.column.=.style.startIndex;... |
4540 | 6c 69 6e 65 73 2e 73 6f 6d 65 28 28 6c 69 6e 65 45 6e 64 49 6e 64 65 78 2c 20 6c 69 6e 65 4e 75 | lines.some((lineEndIndex,.lineNu |
4560 | 6d 62 65 72 29 20 3d 3e 20 7b 0a 09 09 09 69 66 20 28 6c 69 6e 65 45 6e 64 49 6e 64 65 78 20 3e | mber).=>.{....if.(lineEndIndex.> |
4580 | 3d 20 73 74 79 6c 65 2e 73 74 61 72 74 49 6e 64 65 78 29 20 7b 0a 09 09 09 09 6c 69 6e 65 20 3d | =.style.startIndex).{.....line.= |
45a0 | 20 6c 69 6e 65 4e 75 6d 62 65 72 2d 2d 3b 0a 09 09 09 09 69 66 20 28 6c 69 6e 65 4e 75 6d 62 65 | .lineNumber--;.....if.(lineNumbe |
45c0 | 72 20 69 6e 20 6c 69 6e 65 73 29 20 7b 0a 09 09 09 09 09 63 6f 6c 75 6d 6e 20 3d 20 73 74 79 6c | r.in.lines).{......column.=.styl |
45e0 | 65 2e 73 74 61 72 74 49 6e 64 65 78 20 2d 20 6c 69 6e 65 73 5b 6c 69 6e 65 4e 75 6d 62 65 72 5d | e.startIndex.-.lines[lineNumber] |
4600 | 20 2d 20 31 3b 0a 09 09 09 09 7d 0a 09 09 09 09 72 65 74 75 72 6e 20 74 72 75 65 3b 0a 09 09 09 | .-.1;.....}.....return.true;.... |
4620 | 7d 0a 09 09 7d 29 3b 0a 0a 09 09 74 68 69 73 2e 6c 69 6e 65 20 3d 20 6c 69 6e 65 3b 0a 09 09 74 | }...});....this.line.=.line;...t |
4640 | 68 69 73 2e 63 6f 6c 75 6d 6e 20 3d 20 63 6f 6c 75 6d 6e 3b 0a 09 09 74 68 69 73 2e 73 74 79 6c | his.column.=.column;...this.styl |
4660 | 65 20 3d 20 73 74 79 6c 65 3b 0a 09 7d 0a 09 6f 62 6a 65 63 74 20 28 6f 62 6a 65 63 74 29 20 7b | e.=.style;..}..object.(object).{ |
4680 | 0a 09 09 69 66 20 28 6f 62 6a 65 63 74 29 20 7b 0a 09 09 09 69 66 20 28 6f 62 6a 65 63 74 2e 6c | ...if.(object).{....if.(object.l |
46a0 | 69 6e 65 20 3d 3d 3d 20 31 29 20 7b 0a 09 09 09 09 6f 62 6a 65 63 74 2e 63 6f 6c 75 6d 6e 20 2b | ine.===.1).{.....object.column.+ |
46c0 | 3d 20 74 68 69 73 2e 63 6f 6c 75 6d 6e 3b 0a 09 09 09 7d 0a 09 09 09 6f 62 6a 65 63 74 2e 6c 69 | =.this.column;....}....object.li |
46e0 | 6e 65 20 2b 3d 20 74 68 69 73 2e 6c 69 6e 65 3b 0a 09 09 7d 0a 09 7d 0a 09 6e 6f 64 65 20 28 6e | ne.+=.this.line;...}..}..node.(n |
4700 | 6f 64 65 29 20 7b 0a 09 09 74 68 69 73 2e 6f 62 6a 65 63 74 28 6e 6f 64 65 2e 73 6f 75 72 63 65 | ode).{...this.object(node.source |
4720 | 2e 73 74 61 72 74 29 3b 0a 09 09 74 68 69 73 2e 6f 62 6a 65 63 74 28 6e 6f 64 65 2e 73 6f 75 72 | .start);...this.object(node.sour |
4740 | 63 65 2e 65 6e 64 29 3b 0a 09 7d 0a 09 72 6f 6f 74 20 28 72 6f 6f 74 29 20 7b 0a 09 09 74 68 69 | ce.end);..}..root.(root).{...thi |
4760 | 73 2e 6e 6f 64 65 28 72 6f 6f 74 29 3b 0a 09 09 72 6f 6f 74 2e 77 61 6c 6b 28 6e 6f 64 65 20 3d | s.node(root);...root.walk(node.= |
4780 | 3e 20 7b 0a 09 09 09 74 68 69 73 2e 6e 6f 64 65 28 6e 6f 64 65 29 3b 0a 09 09 7d 29 3b 0a 09 7d | >.{....this.node(node);...});..} |
47a0 | 0a 09 65 72 72 6f 72 20 28 65 72 72 6f 72 29 20 7b 0a 09 09 69 66 20 28 65 72 72 6f 72 20 26 26 | ..error.(error).{...if.(error.&& |
47c0 | 20 65 72 72 6f 72 2e 6e 61 6d 65 20 3d 3d 3d 20 22 43 73 73 53 79 6e 74 61 78 45 72 72 6f 72 22 | .error.name.===."CssSyntaxError" |
47e0 | 29 20 7b 0a 09 09 09 74 68 69 73 2e 6f 62 6a 65 63 74 28 65 72 72 6f 72 29 3b 0a 09 09 09 74 68 | ).{....this.object(error);....th |
4800 | 69 73 2e 6f 62 6a 65 63 74 28 65 72 72 6f 72 2e 69 6e 70 75 74 29 3b 0a 09 09 09 65 72 72 6f 72 | is.object(error.input);....error |
4820 | 2e 6d 65 73 73 61 67 65 20 3d 20 65 72 72 6f 72 2e 6d 65 73 73 61 67 65 2e 72 65 70 6c 61 63 65 | .message.=.error.message.replace |
4840 | 28 2f 3a 5c 64 2b 3a 5c 64 2b 3a 2f 2c 20 22 3a 22 20 2b 20 65 72 72 6f 72 2e 6c 69 6e 65 20 2b | (/:\d+:\d+:/,.":".+.error.line.+ |
4860 | 20 22 3a 22 20 2b 20 65 72 72 6f 72 2e 63 6f 6c 75 6d 6e 20 2b 20 22 3a 22 29 3b 0a 09 09 7d 0a | .":".+.error.column.+.":");...}. |
4880 | 09 09 72 65 74 75 72 6e 20 65 72 72 6f 72 3b 0a 09 7d 0a 09 70 61 72 73 65 20 28 6f 70 74 73 29 | ..return.error;..}..parse.(opts) |
48a0 | 20 7b 0a 09 09 63 6f 6e 73 74 20 73 74 79 6c 65 20 3d 20 74 68 69 73 2e 73 74 79 6c 65 3b 0a 09 | .{...const.style.=.this.style;.. |
48c0 | 09 63 6f 6e 73 74 20 73 79 6e 74 61 78 20 3d 20 73 74 79 6c 65 2e 73 79 6e 74 61 78 20 7c 7c 20 | .const.syntax.=.style.syntax.||. |
48e0 | 67 65 74 53 79 6e 74 61 78 28 73 74 79 6c 65 2e 6c 61 6e 67 2c 20 6f 70 74 73 29 3b 0a 09 09 6c | getSyntax(style.lang,.opts);...l |
4900 | 65 74 20 72 6f 6f 74 20 3d 20 73 74 79 6c 65 2e 72 6f 6f 74 3b 0a 09 09 74 72 79 20 7b 0a 09 09 | et.root.=.style.root;...try.{... |
4920 | 09 72 6f 6f 74 20 3d 20 73 79 6e 74 61 78 2e 70 61 72 73 65 28 73 74 79 6c 65 2e 63 6f 6e 74 65 | .root.=.syntax.parse(style.conte |
4940 | 6e 74 2c 20 4f 62 6a 65 63 74 2e 61 73 73 69 67 6e 28 7b 7d 2c 20 6f 70 74 73 2c 20 7b 0a 09 09 | nt,.Object.assign({},.opts,.{... |
4960 | 09 09 6d 61 70 3a 20 66 61 6c 73 65 2c 0a 09 09 09 7d 2c 20 73 74 79 6c 65 2e 6f 70 74 73 29 29 | ..map:.false,....},.style.opts)) |
4980 | 3b 0a 09 09 7d 20 63 61 74 63 68 20 28 65 72 72 6f 72 29 20 7b 0a 09 09 09 69 66 20 28 73 74 79 | ;...}.catch.(error).{....if.(sty |
49a0 | 6c 65 2e 69 67 6e 6f 72 65 45 72 72 6f 72 73 29 20 7b 0a 09 09 09 09 72 65 74 75 72 6e 3b 0a 09 | le.ignoreErrors).{.....return;.. |
49c0 | 09 09 7d 20 65 6c 73 65 20 69 66 20 28 21 73 74 79 6c 65 2e 73 6b 69 70 43 6f 6e 76 65 72 74 29 | ..}.else.if.(!style.skipConvert) |
49e0 | 20 7b 0a 09 09 09 09 74 68 69 73 2e 65 72 72 6f 72 28 65 72 72 6f 72 29 3b 0a 09 09 09 7d 0a 09 | .{.....this.error(error);....}.. |
4a00 | 09 09 74 68 72 6f 77 20 65 72 72 6f 72 3b 0a 09 09 7d 0a 09 09 69 66 20 28 21 73 74 79 6c 65 2e | ..throw.error;...}...if.(!style. |
4a20 | 73 6b 69 70 43 6f 6e 76 65 72 74 29 20 7b 0a 09 09 09 74 68 69 73 2e 72 6f 6f 74 28 72 6f 6f 74 | skipConvert).{....this.root(root |
4a40 | 29 3b 0a 09 09 7d 0a 0a 09 09 72 6f 6f 74 2e 73 6f 75 72 63 65 2e 69 6e 6c 69 6e 65 20 3d 20 42 | );...}....root.source.inline.=.B |
4a60 | 6f 6f 6c 65 61 6e 28 73 74 79 6c 65 2e 69 6e 6c 69 6e 65 29 3b 0a 09 09 72 6f 6f 74 2e 73 6f 75 | oolean(style.inline);...root.sou |
4a80 | 72 63 65 2e 6c 61 6e 67 20 3d 20 73 74 79 6c 65 2e 6c 61 6e 67 3b 0a 09 09 72 6f 6f 74 2e 73 6f | rce.lang.=.style.lang;...root.so |
4aa0 | 75 72 63 65 2e 73 79 6e 74 61 78 20 3d 20 73 79 6e 74 61 78 3b 0a 09 09 72 65 74 75 72 6e 20 72 | urce.syntax.=.syntax;...return.r |
4ac0 | 6f 6f 74 3b 0a 09 7d 0a 7d 0a 0a 66 75 6e 63 74 69 6f 6e 20 64 6f 63 46 69 78 65 72 20 28 73 6f | oot;..}.}..function.docFixer.(so |
4ae0 | 75 72 63 65 2c 20 6f 70 74 73 29 20 7b 0a 09 6c 65 74 20 6d 61 74 63 68 3b 0a 09 63 6f 6e 73 74 | urce,.opts).{..let.match;..const |
4b00 | 20 6c 69 6e 65 73 20 3d 20 5b 5d 3b 0a 09 72 65 4e 65 77 4c 69 6e 65 2e 6c 61 73 74 49 6e 64 65 | .lines.=.[];..reNewLine.lastInde |
4b20 | 78 20 3d 20 30 3b 0a 09 77 68 69 6c 65 20 28 28 6d 61 74 63 68 20 3d 20 72 65 4e 65 77 4c 69 6e | x.=.0;..while.((match.=.reNewLin |
4b40 | 65 2e 65 78 65 63 28 73 6f 75 72 63 65 29 29 29 20 7b 0a 09 09 6c 69 6e 65 73 2e 70 75 73 68 28 | e.exec(source))).{...lines.push( |
4b60 | 6d 61 74 63 68 2e 69 6e 64 65 78 29 3b 0a 09 7d 0a 09 6c 69 6e 65 73 2e 70 75 73 68 28 73 6f 75 | match.index);..}..lines.push(sou |
4b80 | 72 63 65 2e 6c 65 6e 67 74 68 29 3b 0a 09 72 65 74 75 72 6e 20 66 75 6e 63 74 69 6f 6e 20 70 61 | rce.length);..return.function.pa |
4ba0 | 72 73 65 53 74 79 6c 65 20 28 73 74 79 6c 65 29 20 7b 0a 09 09 72 65 74 75 72 6e 20 6e 65 77 20 | rseStyle.(style).{...return.new. |
4bc0 | 4c 6f 63 61 6c 46 69 78 65 72 28 6c 69 6e 65 73 2c 20 73 74 79 6c 65 29 2e 70 61 72 73 65 28 6f | LocalFixer(lines,.style).parse(o |
4be0 | 70 74 73 29 3b 0a 09 7d 3b 0a 7d 0a 0a 66 75 6e 63 74 69 6f 6e 20 70 61 72 73 65 53 74 79 6c 65 | pts);..};.}..function.parseStyle |
4c00 | 20 28 73 6f 75 72 63 65 2c 20 6f 70 74 73 2c 20 73 74 79 6c 65 73 29 20 7b 0a 09 70 61 74 63 68 | .(source,.opts,.styles).{..patch |
4c20 | 28 44 6f 63 75 6d 65 6e 74 29 3b 0a 0a 09 63 6f 6e 73 74 20 64 6f 63 75 6d 65 6e 74 20 3d 20 6e | (Document);...const.document.=.n |
4c40 | 65 77 20 44 6f 63 75 6d 65 6e 74 28 29 3b 0a 0a 09 6c 65 74 20 69 6e 64 65 78 20 3d 20 30 3b 0a | ew.Document();...let.index.=.0;. |
4c60 | 09 69 66 20 28 73 74 79 6c 65 73 2e 6c 65 6e 67 74 68 29 20 7b 0a 09 09 63 6f 6e 73 74 20 70 61 | .if.(styles.length).{...const.pa |
4c80 | 72 73 65 53 74 79 6c 65 20 3d 20 64 6f 63 46 69 78 65 72 28 73 6f 75 72 63 65 2c 20 6f 70 74 73 | rseStyle.=.docFixer(source,.opts |
4ca0 | 29 3b 0a 09 09 73 74 79 6c 65 73 2e 73 6f 72 74 28 28 61 2c 20 62 29 20 3d 3e 20 28 0a 09 09 09 | );...styles.sort((a,.b).=>.(.... |
4cc0 | 61 2e 73 74 61 72 74 49 6e 64 65 78 20 2d 20 62 2e 73 74 61 72 74 49 6e 64 65 78 0a 09 09 29 29 | a.startIndex.-.b.startIndex...)) |
4ce0 | 2e 66 6f 72 45 61 63 68 28 73 74 79 6c 65 20 3d 3e 20 7b 0a 09 09 09 63 6f 6e 73 74 20 72 6f 6f | .forEach(style.=>.{....const.roo |
4d00 | 74 20 3d 20 70 61 72 73 65 53 74 79 6c 65 28 73 74 79 6c 65 29 3b 0a 09 09 09 69 66 20 28 72 6f | t.=.parseStyle(style);....if.(ro |
4d20 | 6f 74 29 20 7b 0a 09 09 09 09 72 6f 6f 74 2e 72 61 77 73 2e 62 65 66 6f 72 65 53 74 61 72 74 20 | ot).{.....root.raws.beforeStart. |
4d40 | 3d 20 73 6f 75 72 63 65 2e 73 6c 69 63 65 28 69 6e 64 65 78 2c 20 73 74 79 6c 65 2e 73 74 61 72 | =.source.slice(index,.style.star |
4d60 | 74 49 6e 64 65 78 29 3b 0a 09 09 09 09 69 66 20 28 73 74 79 6c 65 2e 65 6e 64 49 6e 64 65 78 29 | tIndex);.....if.(style.endIndex) |
4d80 | 20 7b 0a 09 09 09 09 09 69 6e 64 65 78 20 3d 20 73 74 79 6c 65 2e 65 6e 64 49 6e 64 65 78 3b 0a | .{......index.=.style.endIndex;. |
4da0 | 09 09 09 09 7d 20 65 6c 73 65 20 7b 0a 09 09 09 09 09 69 6e 64 65 78 20 3d 20 73 74 79 6c 65 2e | ....}.else.{......index.=.style. |
4dc0 | 73 74 61 72 74 49 6e 64 65 78 20 2b 20 28 73 74 79 6c 65 2e 63 6f 6e 74 65 6e 74 20 7c 7c 20 72 | startIndex.+.(style.content.||.r |
4de0 | 6f 6f 74 2e 73 6f 75 72 63 65 2e 69 6e 70 75 74 2e 63 73 73 29 2e 6c 65 6e 67 74 68 3b 0a 09 09 | oot.source.input.css).length;... |
4e00 | 09 09 7d 0a 09 09 09 09 72 6f 6f 74 2e 64 6f 63 75 6d 65 6e 74 20 3d 20 64 6f 63 75 6d 65 6e 74 | ..}.....root.document.=.document |
4e20 | 3b 0a 09 09 09 09 64 6f 63 75 6d 65 6e 74 2e 6e 6f 64 65 73 2e 70 75 73 68 28 72 6f 6f 74 29 3b | ;.....document.nodes.push(root); |
4e40 | 0a 09 09 09 7d 0a 09 09 7d 29 3b 0a 09 7d 0a 09 64 6f 63 75 6d 65 6e 74 2e 72 61 77 73 2e 61 66 | ....}...});..}..document.raws.af |
4e60 | 74 65 72 45 6e 64 20 3d 20 69 6e 64 65 78 20 3f 20 73 6f 75 72 63 65 2e 73 6c 69 63 65 28 69 6e | terEnd.=.index.?.source.slice(in |
4e80 | 64 65 78 29 20 3a 20 73 6f 75 72 63 65 3b 0a 09 64 6f 63 75 6d 65 6e 74 2e 73 6f 75 72 63 65 20 | dex).:.source;..document.source. |
4ea0 | 3d 20 7b 0a 09 09 69 6e 70 75 74 3a 20 6e 65 77 20 49 6e 70 75 74 28 73 6f 75 72 63 65 2c 20 6f | =.{...input:.new.Input(source,.o |
4ec0 | 70 74 73 29 2c 0a 09 09 73 74 61 72 74 3a 20 7b 0a 09 09 09 6c 69 6e 65 3a 20 31 2c 0a 09 09 09 | pts),...start:.{....line:.1,.... |
4ee0 | 63 6f 6c 75 6d 6e 3a 20 31 2c 0a 09 09 7d 2c 0a 09 09 6f 70 74 73 2c 0a 09 7d 3b 0a 09 72 65 74 | column:.1,...},...opts,..};..ret |
4f00 | 75 72 6e 20 64 6f 63 75 6d 65 6e 74 3b 0a 7d 0a 6d 6f 64 75 6c 65 2e 65 78 70 6f 72 74 73 20 3d | urn.document;.}.module.exports.= |
4f20 | 20 70 61 72 73 65 53 74 79 6c 65 3b 0a 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | .parseStyle;.................... |
4f40 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
4f60 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
4f80 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
4fa0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
4fc0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
4fe0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
5000 | 70 61 63 6b 61 67 65 2f 70 61 72 73 65 2e 6a 73 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | package/parse.js................ |
5020 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
5040 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
5060 | 00 00 00 00 30 30 30 36 36 36 20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 30 30 30 30 | ....000666..................0000 |
5080 | 30 30 31 36 35 34 20 00 33 35 36 30 31 31 36 36 30 34 20 00 30 31 30 37 34 32 20 00 30 00 00 00 | 001654..3560116604..010742..0... |
50a0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
50c0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
50e0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
5100 | 00 75 73 74 61 72 00 30 30 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | .ustar.00....................... |
5120 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
5140 | 00 00 00 00 00 00 00 00 00 30 30 30 30 30 30 20 00 30 30 30 30 30 30 20 00 00 00 00 00 00 00 00 | .........000000..000000......... |
5160 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
5180 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
51a0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
51c0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
51e0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
5200 | 22 75 73 65 20 73 74 72 69 63 74 22 3b 0a 0a 63 6f 6e 73 74 20 70 61 72 73 65 72 20 3d 20 72 65 | "use.strict";..const.parser.=.re |
5220 | 71 75 69 72 65 28 22 2e 2f 70 61 72 73 65 72 22 29 3b 0a 63 6f 6e 73 74 20 70 72 6f 63 65 73 73 | quire("./parser");.const.process |
5240 | 6f 72 20 3d 20 72 65 71 75 69 72 65 28 22 2e 2f 70 72 6f 63 65 73 73 6f 72 22 29 3b 0a 63 6f 6e | or.=.require("./processor");.con |
5260 | 73 74 20 67 65 74 4c 61 6e 67 20 3d 20 72 65 71 75 69 72 65 28 22 2e 2f 67 65 74 2d 6c 61 6e 67 | st.getLang.=.require("./get-lang |
5280 | 22 29 3b 0a 63 6f 6e 73 74 20 6e 6f 72 6d 61 6c 4f 70 74 73 20 3d 20 72 65 71 75 69 72 65 28 22 | ");.const.normalOpts.=.require(" |
52a0 | 2e 2f 6e 6f 72 6d 61 6c 2d 6f 70 74 73 22 29 3b 0a 0a 66 75 6e 63 74 69 6f 6e 20 67 65 74 53 79 | ./normal-opts");..function.getSy |
52c0 | 6e 74 61 78 20 28 6f 70 74 73 2c 20 73 6f 75 72 63 65 29 20 7b 0a 09 63 6f 6e 73 74 20 72 75 6c | ntax.(opts,.source).{..const.rul |
52e0 | 65 73 20 3d 20 6f 70 74 73 2e 73 79 6e 74 61 78 20 26 26 20 6f 70 74 73 2e 73 79 6e 74 61 78 2e | es.=.opts.syntax.&&.opts.syntax. |
5300 | 63 6f 6e 66 69 67 20 26 26 20 6f 70 74 73 2e 73 79 6e 74 61 78 2e 63 6f 6e 66 69 67 2e 72 75 6c | config.&&.opts.syntax.config.rul |
5320 | 65 73 3b 0a 09 63 6f 6e 73 74 20 66 69 6c 65 20 3d 20 6f 70 74 73 2e 66 72 6f 6d 20 7c 7c 20 22 | es;..const.file.=.opts.from.||." |
5340 | 22 3b 0a 09 72 65 74 75 72 6e 20 28 72 75 6c 65 73 20 26 26 20 72 75 6c 65 73 2e 66 69 6e 64 28 | ";..return.(rules.&&.rules.find( |
5360 | 0a 09 09 72 75 6c 65 20 3d 3e 20 72 75 6c 65 2e 74 65 73 74 2e 74 65 73 74 20 3f 20 72 75 6c 65 | ...rule.=>.rule.test.test.?.rule |
5380 | 2e 74 65 73 74 2e 74 65 73 74 28 66 69 6c 65 29 20 3a 20 72 75 6c 65 2e 74 65 73 74 28 66 69 6c | .test.test(file).:.rule.test(fil |
53a0 | 65 2c 20 73 6f 75 72 63 65 29 0a 09 29 29 20 7c 7c 20 67 65 74 4c 61 6e 67 28 66 69 6c 65 2c 20 | e,.source)..)).||.getLang(file,. |
53c0 | 73 6f 75 72 63 65 29 20 7c 7c 20 7b 0a 09 09 6c 61 6e 67 3a 20 22 63 73 73 22 2c 0a 09 7d 3b 0a | source).||.{...lang:."css",..};. |
53e0 | 7d 0a 0a 66 75 6e 63 74 69 6f 6e 20 70 61 72 73 65 20 28 73 6f 75 72 63 65 2c 20 6f 70 74 73 29 | }..function.parse.(source,.opts) |
5400 | 20 7b 0a 09 73 6f 75 72 63 65 20 3d 20 73 6f 75 72 63 65 2e 74 6f 53 74 72 69 6e 67 28 29 3b 0a | .{..source.=.source.toString();. |
5420 | 09 6f 70 74 73 20 3d 20 6e 6f 72 6d 61 6c 4f 70 74 73 28 6f 70 74 73 2c 20 74 68 69 73 29 3b 0a | .opts.=.normalOpts(opts,.this);. |
5440 | 09 63 6f 6e 73 74 20 73 79 6e 74 61 78 20 3d 20 67 65 74 53 79 6e 74 61 78 28 6f 70 74 73 2c 20 | .const.syntax.=.getSyntax(opts,. |
5460 | 73 6f 75 72 63 65 29 3b 0a 09 63 6f 6e 73 74 20 73 79 6e 74 61 78 4f 70 74 73 20 3d 20 4f 62 6a | source);..const.syntaxOpts.=.Obj |
5480 | 65 63 74 2e 61 73 73 69 67 6e 28 7b 7d 2c 20 6f 70 74 73 2c 20 73 79 6e 74 61 78 2e 6f 70 74 73 | ect.assign({},.opts,.syntax.opts |
54a0 | 29 3b 0a 09 6c 65 74 20 72 6f 6f 74 3b 0a 09 69 66 20 28 73 79 6e 74 61 78 2e 65 78 74 72 61 63 | );..let.root;..if.(syntax.extrac |
54c0 | 74 29 20 7b 0a 09 09 72 6f 6f 74 20 3d 20 70 72 6f 63 65 73 73 6f 72 28 73 6f 75 72 63 65 2c 20 | t).{...root.=.processor(source,. |
54e0 | 73 79 6e 74 61 78 2e 65 78 74 72 61 63 74 2c 20 73 79 6e 74 61 78 4f 70 74 73 29 3b 0a 09 09 72 | syntax.extract,.syntaxOpts);...r |
5500 | 6f 6f 74 2e 73 6f 75 72 63 65 2e 6c 61 6e 67 20 3d 20 73 79 6e 74 61 78 2e 65 78 74 72 61 63 74 | oot.source.lang.=.syntax.extract |
5520 | 3b 0a 09 7d 20 65 6c 73 65 20 7b 0a 09 09 72 6f 6f 74 20 3d 20 70 61 72 73 65 72 28 73 6f 75 72 | ;..}.else.{...root.=.parser(sour |
5540 | 63 65 2c 20 73 79 6e 74 61 78 2e 6c 61 6e 67 2c 20 73 79 6e 74 61 78 4f 70 74 73 29 3b 0a 09 09 | ce,.syntax.lang,.syntaxOpts);... |
5560 | 72 6f 6f 74 2e 73 6f 75 72 63 65 2e 6c 61 6e 67 20 3d 20 73 79 6e 74 61 78 2e 6c 61 6e 67 3b 0a | root.source.lang.=.syntax.lang;. |
5580 | 09 7d 0a 09 72 65 74 75 72 6e 20 72 6f 6f 74 3b 0a 7d 0a 0a 6d 6f 64 75 6c 65 2e 65 78 70 6f 72 | .}..return.root;.}..module.expor |
55a0 | 74 73 20 3d 20 70 61 72 73 65 3b 0a 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ts.=.parse;..................... |
55c0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
55e0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
5600 | 70 61 63 6b 61 67 65 2f 70 61 72 73 65 72 2e 6a 73 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | package/parser.js............... |
5620 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
5640 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
5660 | 00 00 00 00 30 30 30 36 36 36 20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 30 30 30 30 | ....000666..................0000 |
5680 | 30 30 30 35 31 34 20 00 33 35 36 30 31 31 36 36 30 34 20 00 30 31 31 31 31 36 20 00 30 00 00 00 | 000514..3560116604..011116..0... |
56a0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
56c0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
56e0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
5700 | 00 75 73 74 61 72 00 30 30 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | .ustar.00....................... |
5720 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
5740 | 00 00 00 00 00 00 00 00 00 30 30 30 30 30 30 20 00 30 30 30 30 30 30 20 00 00 00 00 00 00 00 00 | .........000000..000000......... |
5760 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
5780 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
57a0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
57c0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
57e0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
5800 | 22 75 73 65 20 73 74 72 69 63 74 22 3b 0a 0a 63 6f 6e 73 74 20 67 65 74 53 79 6e 74 61 78 20 3d | "use.strict";..const.getSyntax.= |
5820 | 20 72 65 71 75 69 72 65 28 22 2e 2f 67 65 74 2d 73 79 6e 74 61 78 22 29 3b 0a 63 6f 6e 73 74 20 | .require("./get-syntax");.const. |
5840 | 70 61 74 63 68 20 3d 20 72 65 71 75 69 72 65 28 22 2e 2f 70 61 74 63 68 2d 70 6f 73 74 63 73 73 | patch.=.require("./patch-postcss |
5860 | 22 29 3b 0a 0a 66 75 6e 63 74 69 6f 6e 20 70 61 72 73 65 72 20 28 73 6f 75 72 63 65 2c 20 6c 61 | ");..function.parser.(source,.la |
5880 | 6e 67 2c 20 6f 70 74 73 29 20 7b 0a 09 70 61 74 63 68 28 29 3b 0a 0a 09 63 6f 6e 73 74 20 73 79 | ng,.opts).{..patch();...const.sy |
58a0 | 6e 74 61 78 20 3d 20 67 65 74 53 79 6e 74 61 78 28 6c 61 6e 67 2c 20 6f 70 74 73 29 3b 0a 09 63 | ntax.=.getSyntax(lang,.opts);..c |
58c0 | 6f 6e 73 74 20 72 6f 6f 74 20 3d 20 73 79 6e 74 61 78 2e 70 61 72 73 65 28 73 6f 75 72 63 65 2c | onst.root.=.syntax.parse(source, |
58e0 | 20 6f 70 74 73 29 3b 0a 0a 09 72 6f 6f 74 2e 73 6f 75 72 63 65 2e 73 79 6e 74 61 78 20 3d 20 73 | .opts);...root.source.syntax.=.s |
5900 | 79 6e 74 61 78 3b 0a 09 72 6f 6f 74 2e 73 6f 75 72 63 65 2e 6c 61 6e 67 20 3d 20 6c 61 6e 67 3b | yntax;..root.source.lang.=.lang; |
5920 | 0a 0a 09 72 65 74 75 72 6e 20 72 6f 6f 74 3b 0a 7d 0a 0a 6d 6f 64 75 6c 65 2e 65 78 70 6f 72 74 | ...return.root;.}..module.export |
5940 | 73 20 3d 20 70 61 72 73 65 72 3b 0a 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | s.=.parser;..................... |
5960 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
5980 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
59a0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
59c0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
59e0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
5a00 | 70 61 63 6b 61 67 65 2f 70 61 74 63 68 2d 70 6f 73 74 63 73 73 2e 6a 73 00 00 00 00 00 00 00 00 | package/patch-postcss.js........ |
5a20 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
5a40 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
5a60 | 00 00 00 00 30 30 30 36 36 36 20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 30 30 30 30 | ....000666..................0000 |
5a80 | 30 30 33 31 30 35 20 00 33 35 36 30 31 31 36 36 30 34 20 00 30 31 32 34 31 34 20 00 30 00 00 00 | 003105..3560116604..012414..0... |
5aa0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
5ac0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
5ae0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
5b00 | 00 75 73 74 61 72 00 30 30 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | .ustar.00....................... |
5b20 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
5b40 | 00 00 00 00 00 00 00 00 00 30 30 30 30 30 30 20 00 30 30 30 30 30 30 20 00 00 00 00 00 00 00 00 | .........000000..000000......... |
5b60 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
5b80 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
5ba0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
5bc0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
5be0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
5c00 | 22 75 73 65 20 73 74 72 69 63 74 22 3b 0a 63 6f 6e 73 74 20 70 61 74 68 20 3d 20 72 65 71 75 69 | "use.strict";.const.path.=.requi |
5c20 | 72 65 28 22 70 61 74 68 22 29 3b 0a 63 6f 6e 73 74 20 70 61 74 63 68 65 64 20 3d 20 7b 7d 3b 0a | re("path");.const.patched.=.{};. |
5c40 | 0a 66 75 6e 63 74 69 6f 6e 20 69 73 50 72 6f 6d 69 73 65 20 28 6f 62 6a 29 20 7b 0a 09 72 65 74 | .function.isPromise.(obj).{..ret |
5c60 | 75 72 6e 20 74 79 70 65 6f 66 20 6f 62 6a 20 3d 3d 3d 20 22 6f 62 6a 65 63 74 22 20 26 26 20 74 | urn.typeof.obj.===."object".&&.t |
5c80 | 79 70 65 6f 66 20 6f 62 6a 2e 74 68 65 6e 20 3d 3d 3d 20 22 66 75 6e 63 74 69 6f 6e 22 3b 0a 7d | ypeof.obj.then.===."function";.} |
5ca0 | 0a 0a 66 75 6e 63 74 69 6f 6e 20 72 75 6e 44 6f 63 75 6d 65 6e 74 20 28 70 6c 75 67 69 6e 29 20 | ..function.runDocument.(plugin). |
5cc0 | 7b 0a 09 63 6f 6e 73 74 20 72 65 73 75 6c 74 20 3d 20 74 68 69 73 2e 72 65 73 75 6c 74 3b 0a 09 | {..const.result.=.this.result;.. |
5ce0 | 72 65 73 75 6c 74 2e 6c 61 73 74 50 6c 75 67 69 6e 20 3d 20 70 6c 75 67 69 6e 3b 0a 09 63 6f 6e | result.lastPlugin.=.plugin;..con |
5d00 | 73 74 20 70 72 6f 6d 69 73 65 20 3d 20 72 65 73 75 6c 74 2e 72 6f 6f 74 2e 6e 6f 64 65 73 2e 6d | st.promise.=.result.root.nodes.m |
5d20 | 61 70 28 72 6f 6f 74 20 3d 3e 20 7b 0a 09 09 74 72 79 20 7b 0a 09 09 09 72 65 74 75 72 6e 20 70 | ap(root.=>.{...try.{....return.p |
5d40 | 6c 75 67 69 6e 28 72 6f 6f 74 2c 20 72 65 73 75 6c 74 29 3b 0a 09 09 7d 20 63 61 74 63 68 20 28 | lugin(root,.result);...}.catch.( |
5d60 | 65 72 72 6f 72 29 20 7b 0a 09 09 09 74 68 69 73 2e 68 61 6e 64 6c 65 45 72 72 6f 72 28 65 72 72 | error).{....this.handleError(err |
5d80 | 6f 72 2c 20 70 6c 75 67 69 6e 29 3b 0a 09 09 09 74 68 72 6f 77 20 65 72 72 6f 72 3b 0a 09 09 7d | or,.plugin);....throw.error;...} |
5da0 | 0a 09 7d 29 3b 0a 09 69 66 20 28 70 72 6f 6d 69 73 65 2e 73 6f 6d 65 28 69 73 50 72 6f 6d 69 73 | ..});..if.(promise.some(isPromis |
5dc0 | 65 29 29 20 7b 0a 09 09 72 65 74 75 72 6e 20 50 72 6f 6d 69 73 65 2e 61 6c 6c 28 70 72 6f 6d 69 | e)).{...return.Promise.all(promi |
5de0 | 73 65 29 3b 0a 09 7d 0a 7d 0a 0a 66 75 6e 63 74 69 6f 6e 20 70 61 74 63 68 44 6f 63 75 6d 65 6e | se);..}.}..function.patchDocumen |
5e00 | 74 20 28 44 6f 63 75 6d 65 6e 74 2c 20 4c 61 7a 79 52 65 73 75 6c 74 29 20 7b 0a 09 4c 61 7a 79 | t.(Document,.LazyResult).{..Lazy |
5e20 | 52 65 73 75 6c 74 20 3d 20 4c 61 7a 79 52 65 73 75 6c 74 2e 70 72 6f 74 6f 74 79 70 65 3b 0a 09 | Result.=.LazyResult.prototype;.. |
5e40 | 63 6f 6e 73 74 20 72 75 6e 52 6f 6f 74 20 3d 20 4c 61 7a 79 52 65 73 75 6c 74 2e 72 75 6e 3b 0a | const.runRoot.=.LazyResult.run;. |
5e60 | 0a 09 4c 61 7a 79 52 65 73 75 6c 74 2e 72 75 6e 20 3d 20 66 75 6e 63 74 69 6f 6e 20 72 75 6e 20 | ..LazyResult.run.=.function.run. |
5e80 | 28 29 20 7b 0a 09 09 72 65 74 75 72 6e 20 28 74 68 69 73 2e 72 65 73 75 6c 74 2e 72 6f 6f 74 20 | ().{...return.(this.result.root. |
5ea0 | 69 6e 73 74 61 6e 63 65 6f 66 20 44 6f 63 75 6d 65 6e 74 20 3f 20 72 75 6e 44 6f 63 75 6d 65 6e | instanceof.Document.?.runDocumen |
5ec0 | 74 20 3a 20 72 75 6e 52 6f 6f 74 29 2e 61 70 70 6c 79 28 74 68 69 73 2c 20 61 72 67 75 6d 65 6e | t.:.runRoot).apply(this,.argumen |
5ee0 | 74 73 29 3b 0a 09 7d 3b 0a 7d 0a 0a 66 75 6e 63 74 69 6f 6e 20 70 61 74 63 68 4e 6f 64 65 20 28 | ts);..};.}..function.patchNode.( |
5f00 | 4e 6f 64 65 29 20 7b 0a 09 4e 6f 64 65 20 3d 20 4e 6f 64 65 2e 70 72 6f 74 6f 74 79 70 65 3b 0a | Node).{..Node.=.Node.prototype;. |
5f20 | 09 63 6f 6e 73 74 20 4e 6f 64 65 54 6f 53 74 72 69 6e 67 20 3d 20 4e 6f 64 65 2e 74 6f 53 74 72 | .const.NodeToString.=.Node.toStr |
5f40 | 69 6e 67 3b 0a 09 4e 6f 64 65 2e 74 6f 53 74 72 69 6e 67 20 3d 20 66 75 6e 63 74 69 6f 6e 20 74 | ing;..Node.toString.=.function.t |
5f60 | 6f 53 74 72 69 6e 67 20 28 73 74 72 69 6e 67 69 66 69 65 72 29 20 7b 0a 09 09 72 65 74 75 72 6e | oString.(stringifier).{...return |
5f80 | 20 4e 6f 64 65 54 6f 53 74 72 69 6e 67 2e 63 61 6c 6c 28 74 68 69 73 2c 20 73 74 72 69 6e 67 69 | .NodeToString.call(this,.stringi |
5fa0 | 66 69 65 72 20 7c 7c 20 74 68 69 73 2e 72 6f 6f 74 28 29 2e 73 6f 75 72 63 65 2e 73 79 6e 74 61 | fier.||.this.root().source.synta |
5fc0 | 78 29 3b 0a 09 7d 3b 0a 7d 0a 0a 66 75 6e 63 74 69 6f 6e 20 70 61 74 63 68 20 28 44 6f 63 75 6d | x);..};.}..function.patch.(Docum |
5fe0 | 65 6e 74 29 20 7b 0a 09 6c 65 74 20 66 6e 3b 0a 09 6c 65 74 20 66 69 6c 65 3b 0a 09 69 66 20 28 | ent).{..let.fn;..let.file;..if.( |
6000 | 44 6f 63 75 6d 65 6e 74 29 20 7b 0a 09 09 70 61 74 63 68 28 29 3b 0a 09 09 66 6e 20 3d 20 70 61 | Document).{...patch();...fn.=.pa |
6020 | 74 63 68 44 6f 63 75 6d 65 6e 74 2e 62 69 6e 64 28 74 68 69 73 2c 20 44 6f 63 75 6d 65 6e 74 29 | tchDocument.bind(this,.Document) |
6040 | 3b 0a 09 09 66 69 6c 65 20 3d 20 22 6c 61 7a 79 2d 72 65 73 75 6c 74 22 3b 0a 09 7d 20 65 6c 73 | ;...file.=."lazy-result";..}.els |
6060 | 65 20 7b 0a 09 09 66 6e 20 3d 20 70 61 74 63 68 4e 6f 64 65 3b 0a 09 09 66 69 6c 65 20 3d 20 22 | e.{...fn.=.patchNode;...file.=." |
6080 | 6e 6f 64 65 22 3b 0a 09 7d 0a 09 66 69 6e 64 50 6f 73 74 63 73 73 28 29 2e 6d 61 70 28 64 69 72 | node";..}..findPostcss().map(dir |
60a0 | 20 3d 3e 20 28 0a 09 09 5b 64 69 72 20 2b 20 22 6c 69 62 22 2c 20 66 69 6c 65 5d 2e 6a 6f 69 6e | .=>.(...[dir.+."lib",.file].join |
60c0 | 28 70 61 74 68 2e 73 65 70 29 0a 09 29 29 2e 66 69 6c 74 65 72 28 66 69 6c 65 20 3d 3e 20 28 0a | (path.sep)..)).filter(file.=>.(. |
60e0 | 09 09 21 70 61 74 63 68 65 64 5b 66 69 6c 65 5d 0a 09 29 29 2e 66 6f 72 45 61 63 68 28 66 69 6c | ..!patched[file]..)).forEach(fil |
6100 | 65 20 3d 3e 20 7b 0a 09 09 74 72 79 20 7b 0a 09 09 09 66 6e 28 72 65 71 75 69 72 65 28 66 69 6c | e.=>.{...try.{....fn(require(fil |
6120 | 65 29 29 3b 0a 09 09 7d 20 63 61 74 63 68 20 28 65 78 29 20 7b 0a 09 09 09 2f 2f 0a 09 09 7d 0a | e));...}.catch.(ex).{....//...}. |
6140 | 09 09 70 61 74 63 68 65 64 5b 66 69 6c 65 5d 20 3d 20 74 72 75 65 3b 0a 09 7d 29 3b 0a 7d 0a 0a | ..patched[file].=.true;..});.}.. |
6160 | 66 75 6e 63 74 69 6f 6e 20 66 69 6e 64 50 6f 73 74 63 73 73 20 28 29 20 7b 0a 09 63 6f 6e 73 74 | function.findPostcss.().{..const |
6180 | 20 72 65 73 75 6c 74 20 3d 20 7b 7d 3b 0a 09 66 6f 72 20 28 63 6f 6e 73 74 20 66 69 6c 65 20 69 | .result.=.{};..for.(const.file.i |
61a0 | 6e 20 72 65 71 75 69 72 65 2e 63 61 63 68 65 29 20 7b 0a 09 09 69 66 20 28 2f 5e 28 2e 2b 3f 28 | n.require.cache).{...if.(/^(.+?( |
61c0 | 5c 5c 7c 5c 2f 29 29 70 6f 73 74 63 73 73 28 5c 32 29 2f 2e 74 65 73 74 28 66 69 6c 65 29 29 20 | \\|\/))postcss(\2)/.test(file)). |
61e0 | 7b 0a 09 09 09 72 65 73 75 6c 74 5b 52 65 67 45 78 70 2e 6c 61 73 74 4d 61 74 63 68 5d 20 3d 20 | {....result[RegExp.lastMatch].=. |
6200 | 74 72 75 65 3b 0a 09 09 7d 0a 09 7d 0a 09 72 65 74 75 72 6e 20 4f 62 6a 65 63 74 2e 6b 65 79 73 | true;...}..}..return.Object.keys |
6220 | 28 72 65 73 75 6c 74 29 3b 0a 7d 0a 0a 6d 6f 64 75 6c 65 2e 65 78 70 6f 72 74 73 20 3d 20 70 61 | (result);.}..module.exports.=.pa |
6240 | 74 63 68 3b 0a 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | tch;............................ |
6260 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
6280 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
62a0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
62c0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
62e0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
6300 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
6320 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
6340 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
6360 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
6380 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
63a0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
63c0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
63e0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
6400 | 70 61 63 6b 61 67 65 2f 70 72 6f 63 65 73 73 6f 72 2e 6a 73 00 00 00 00 00 00 00 00 00 00 00 00 | package/processor.js............ |
6420 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
6440 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
6460 | 00 00 00 00 30 30 30 36 36 36 20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 30 30 30 30 | ....000666..................0000 |
6480 | 30 30 31 32 35 33 20 00 33 35 36 30 31 31 36 36 30 34 20 00 30 31 31 36 34 32 20 00 30 00 00 00 | 001253..3560116604..011642..0... |
64a0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
64c0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
64e0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
6500 | 00 75 73 74 61 72 00 30 30 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | .ustar.00....................... |
6520 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
6540 | 00 00 00 00 00 00 00 00 00 30 30 30 30 30 30 20 00 30 30 30 30 30 30 20 00 00 00 00 00 00 00 00 | .........000000..000000......... |
6560 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
6580 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
65a0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
65c0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
65e0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
6600 | 22 75 73 65 20 73 74 72 69 63 74 22 3b 0a 0a 63 6f 6e 73 74 20 70 61 72 73 65 53 74 79 6c 65 20 | "use.strict";..const.parseStyle. |
6620 | 3d 20 72 65 71 75 69 72 65 28 22 2e 2f 70 61 72 73 65 2d 73 74 79 6c 65 22 29 3b 0a 0a 66 75 6e | =.require("./parse-style");..fun |
6640 | 63 74 69 6f 6e 20 67 65 74 53 79 6e 74 61 78 20 28 63 6f 6e 66 69 67 2c 20 73 79 6e 74 61 78 29 | ction.getSyntax.(config,.syntax) |
6660 | 20 7b 0a 09 69 66 20 28 74 79 70 65 6f 66 20 73 79 6e 74 61 78 20 21 3d 3d 20 22 73 74 72 69 6e | .{..if.(typeof.syntax.!==."strin |
6680 | 67 22 29 20 7b 0a 09 09 72 65 74 75 72 6e 20 73 79 6e 74 61 78 3b 0a 09 7d 0a 09 6c 65 74 20 73 | g").{...return.syntax;..}..let.s |
66a0 | 79 6e 74 61 78 43 6f 6e 66 69 67 20 3d 20 63 6f 6e 66 69 67 5b 73 79 6e 74 61 78 5d 3b 0a 0a 09 | yntaxConfig.=.config[syntax];... |
66c0 | 69 66 20 28 73 79 6e 74 61 78 43 6f 6e 66 69 67 29 20 7b 0a 09 09 73 79 6e 74 61 78 43 6f 6e 66 | if.(syntaxConfig).{...syntaxConf |
66e0 | 69 67 20 3d 20 67 65 74 53 79 6e 74 61 78 28 63 6f 6e 66 69 67 2c 20 73 79 6e 74 61 78 43 6f 6e | ig.=.getSyntax(config,.syntaxCon |
6700 | 66 69 67 29 3b 0a 09 7d 20 65 6c 73 65 20 7b 0a 09 09 73 79 6e 74 61 78 43 6f 6e 66 69 67 20 3d | fig);..}.else.{...syntaxConfig.= |
6720 | 20 7b 0a 09 09 09 65 78 74 72 61 63 74 3a 20 72 65 71 75 69 72 65 28 73 79 6e 74 61 78 2e 74 6f | .{....extract:.require(syntax.to |
6740 | 4c 6f 77 65 72 43 61 73 65 28 29 2e 72 65 70 6c 61 63 65 28 2f 5e 28 70 6f 73 74 63 73 73 2d 29 | LowerCase().replace(/^(postcss-) |
6760 | 3f 2f 69 2c 20 22 70 6f 73 74 63 73 73 2d 22 29 20 2b 20 22 2f 65 78 74 72 61 63 74 22 29 2c 0a | ?/i,."postcss-").+."/extract"),. |
6780 | 09 09 7d 3b 0a 09 09 63 6f 6e 66 69 67 5b 73 79 6e 74 61 78 5d 20 3d 20 73 79 6e 74 61 78 43 6f | ..};...config[syntax].=.syntaxCo |
67a0 | 6e 66 69 67 3b 0a 09 7d 0a 0a 09 72 65 74 75 72 6e 20 73 79 6e 74 61 78 43 6f 6e 66 69 67 3b 0a | nfig;..}...return.syntaxConfig;. |
67c0 | 7d 0a 0a 66 75 6e 63 74 69 6f 6e 20 70 72 6f 63 65 73 73 6f 72 20 28 73 6f 75 72 63 65 2c 20 6c | }..function.processor.(source,.l |
67e0 | 61 6e 67 2c 20 6f 70 74 73 29 20 7b 0a 09 63 6f 6e 73 74 20 73 79 6e 74 61 78 20 3d 20 67 65 74 | ang,.opts).{..const.syntax.=.get |
6800 | 53 79 6e 74 61 78 28 6f 70 74 73 2e 73 79 6e 74 61 78 2e 63 6f 6e 66 69 67 2c 20 6c 61 6e 67 29 | Syntax(opts.syntax.config,.lang) |
6820 | 3b 0a 09 63 6f 6e 73 74 20 73 74 79 6c 65 73 20 3d 20 28 73 79 6e 74 61 78 2e 65 78 74 72 61 63 | ;..const.styles.=.(syntax.extrac |
6840 | 74 20 7c 7c 20 73 79 6e 74 61 78 29 28 73 6f 75 72 63 65 2c 20 6f 70 74 73 29 20 7c 7c 20 5b 5d | t.||.syntax)(source,.opts).||.[] |
6860 | 3b 0a 09 72 65 74 75 72 6e 20 70 61 72 73 65 53 74 79 6c 65 28 73 6f 75 72 63 65 2c 20 6f 70 74 | ;..return.parseStyle(source,.opt |
6880 | 73 2c 20 73 74 79 6c 65 73 29 3b 0a 7d 0a 0a 6d 6f 64 75 6c 65 2e 65 78 70 6f 72 74 73 20 3d 20 | s,.styles);.}..module.exports.=. |
68a0 | 70 72 6f 63 65 73 73 6f 72 3b 0a 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | processor;...................... |
68c0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
68e0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
6900 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
6920 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
6940 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
6960 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
6980 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
69a0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
69c0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
69e0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
6a00 | 70 61 63 6b 61 67 65 2f 52 45 41 44 4d 45 2e 6d 64 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | package/README.md............... |
6a20 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
6a40 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
6a60 | 00 00 00 00 30 30 30 36 36 36 20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 30 30 30 30 | ....000666..................0000 |
6a80 | 30 30 35 35 35 30 20 00 33 35 36 30 31 31 36 36 30 34 20 00 30 31 30 35 35 30 20 00 30 00 00 00 | 005550..3560116604..010550..0... |
6aa0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
6ac0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
6ae0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
6b00 | 00 75 73 74 61 72 00 30 30 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | .ustar.00....................... |
6b20 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
6b40 | 00 00 00 00 00 00 00 00 00 30 30 30 30 30 30 20 00 30 30 30 30 30 30 20 00 00 00 00 00 00 00 00 | .........000000..000000......... |
6b60 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
6b80 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
6ba0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
6bc0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
6be0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
6c00 | 50 6f 73 74 43 53 53 20 53 79 6e 74 61 78 0a 3d 3d 3d 3d 0a 0a 5b 21 5b 4e 50 4d 20 76 65 72 73 | PostCSS.Syntax.====..[![NPM.vers |
6c20 | 69 6f 6e 5d 28 68 74 74 70 73 3a 2f 2f 69 6d 67 2e 73 68 69 65 6c 64 73 2e 69 6f 2f 6e 70 6d 2f | ion](https://img.shields.io/npm/ |
6c40 | 76 2f 70 6f 73 74 63 73 73 2d 73 79 6e 74 61 78 2e 73 76 67 3f 73 74 79 6c 65 3d 66 6c 61 74 2d | v/postcss-syntax.svg?style=flat- |
6c60 | 73 71 75 61 72 65 29 5d 28 68 74 74 70 73 3a 2f 2f 77 77 77 2e 6e 70 6d 6a 73 2e 63 6f 6d 2f 70 | square)](https://www.npmjs.com/p |
6c80 | 61 63 6b 61 67 65 2f 70 6f 73 74 63 73 73 2d 73 79 6e 74 61 78 29 0a 5b 21 5b 54 72 61 76 69 73 | ackage/postcss-syntax).[![Travis |
6ca0 | 5d 28 68 74 74 70 73 3a 2f 2f 69 6d 67 2e 73 68 69 65 6c 64 73 2e 69 6f 2f 74 72 61 76 69 73 2f | ](https://img.shields.io/travis/ |
6cc0 | 67 75 63 6f 6e 67 33 30 30 30 2f 70 6f 73 74 63 73 73 2d 73 79 6e 74 61 78 2e 73 76 67 29 5d 28 | gucong3000/postcss-syntax.svg)]( |
6ce0 | 68 74 74 70 73 3a 2f 2f 74 72 61 76 69 73 2d 63 69 2e 6f 72 67 2f 67 75 63 6f 6e 67 33 30 30 30 | https://travis-ci.org/gucong3000 |
6d00 | 2f 70 6f 73 74 63 73 73 2d 73 79 6e 74 61 78 29 0a 5b 21 5b 54 72 61 76 69 73 5d 28 68 74 74 70 | /postcss-syntax).[![Travis](http |
6d20 | 73 3a 2f 2f 69 6d 67 2e 73 68 69 65 6c 64 73 2e 69 6f 2f 74 72 61 76 69 73 2f 67 75 63 6f 6e 67 | s://img.shields.io/travis/gucong |
6d40 | 33 30 30 30 2f 70 6f 73 74 63 73 73 2d 73 79 6e 74 61 78 65 73 2e 73 76 67 3f 6c 61 62 65 6c 3d | 3000/postcss-syntaxes.svg?label= |
6d60 | 69 6e 74 65 67 72 61 74 69 6f 6e 29 5d 28 68 74 74 70 73 3a 2f 2f 74 72 61 76 69 73 2d 63 69 2e | integration)](https://travis-ci. |
6d80 | 6f 72 67 2f 67 75 63 6f 6e 67 33 30 30 30 2f 70 6f 73 74 63 73 73 2d 73 79 6e 74 61 78 65 73 29 | org/gucong3000/postcss-syntaxes) |
6da0 | 0a 5b 21 5b 43 6f 64 65 63 6f 76 5d 28 68 74 74 70 73 3a 2f 2f 69 6d 67 2e 73 68 69 65 6c 64 73 | .[![Codecov](https://img.shields |
6dc0 | 2e 69 6f 2f 63 6f 64 65 63 6f 76 2f 63 2f 67 69 74 68 75 62 2f 67 75 63 6f 6e 67 33 30 30 30 2f | .io/codecov/c/github/gucong3000/ |
6de0 | 70 6f 73 74 63 73 73 2d 73 79 6e 74 61 78 2e 73 76 67 29 5d 28 68 74 74 70 73 3a 2f 2f 63 6f 64 | postcss-syntax.svg)](https://cod |
6e00 | 65 63 6f 76 2e 69 6f 2f 67 68 2f 67 75 63 6f 6e 67 33 30 30 30 2f 70 6f 73 74 63 73 73 2d 73 79 | ecov.io/gh/gucong3000/postcss-sy |
6e20 | 6e 74 61 78 29 0a 5b 21 5b 44 61 76 69 64 5d 28 68 74 74 70 73 3a 2f 2f 69 6d 67 2e 73 68 69 65 | ntax).[![David](https://img.shie |
6e40 | 6c 64 73 2e 69 6f 2f 64 61 76 69 64 2f 64 65 76 2f 67 75 63 6f 6e 67 33 30 30 30 2f 70 6f 73 74 | lds.io/david/dev/gucong3000/post |
6e60 | 63 73 73 2d 73 79 6e 74 61 78 2e 73 76 67 29 5d 28 68 74 74 70 73 3a 2f 2f 64 61 76 69 64 2d 64 | css-syntax.svg)](https://david-d |
6e80 | 6d 2e 6f 72 67 2f 67 75 63 6f 6e 67 33 30 30 30 2f 70 6f 73 74 63 73 73 2d 73 79 6e 74 61 78 3f | m.org/gucong3000/postcss-syntax? |
6ea0 | 74 79 70 65 3d 64 65 76 29 0a 0a 3c 69 6d 67 20 61 6c 69 67 6e 3d 22 72 69 67 68 74 22 20 77 69 | type=dev)..<img.align="right".wi |
6ec0 | 64 74 68 3d 22 39 35 22 20 68 65 69 67 68 74 3d 22 39 35 22 0a 09 74 69 74 6c 65 3d 22 50 68 69 | dth="95".height="95"..title="Phi |
6ee0 | 6c 6f 73 6f 70 68 65 72 e2 80 99 73 20 73 74 6f 6e 65 2c 20 6c 6f 67 6f 20 6f 66 20 50 6f 73 74 | losopher...s.stone,.logo.of.Post |
6f00 | 43 53 53 22 0a 09 73 72 63 3d 22 68 74 74 70 3a 2f 2f 70 6f 73 74 63 73 73 2e 67 69 74 68 75 62 | CSS"..src="http://postcss.github |
6f20 | 2e 69 6f 2f 70 6f 73 74 63 73 73 2f 6c 6f 67 6f 2e 73 76 67 22 3e 0a 0a 70 6f 73 74 63 73 73 2d | .io/postcss/logo.svg">..postcss- |
6f40 | 73 79 6e 74 61 78 20 63 61 6e 20 61 75 74 6f 6d 61 74 69 63 61 6c 6c 79 20 73 77 69 74 63 68 20 | syntax.can.automatically.switch. |
6f60 | 74 68 65 20 72 65 71 75 69 72 65 64 20 5b 50 6f 73 74 43 53 53 5d 28 68 74 74 70 73 3a 2f 2f 67 | the.required.[PostCSS](https://g |
6f80 | 69 74 68 75 62 2e 63 6f 6d 2f 70 6f 73 74 63 73 73 2f 70 6f 73 74 63 73 73 29 20 73 79 6e 74 61 | ithub.com/postcss/postcss).synta |
6fa0 | 78 20 62 79 20 66 69 6c 65 20 65 78 74 65 6e 73 69 6f 6e 2f 73 6f 75 72 63 65 0a 0a 23 23 20 47 | x.by.file.extension/source..##.G |
6fc0 | 65 74 74 69 6e 67 20 53 74 61 72 74 65 64 0a 0a 46 69 72 73 74 20 74 68 69 6e 67 27 73 20 66 69 | etting.Started..First.thing's.fi |
6fe0 | 72 73 74 2c 20 69 6e 73 74 61 6c 6c 20 74 68 65 20 6d 6f 64 75 6c 65 3a 0a 0a 60 60 60 0a 6e 70 | rst,.install.the.module:..```.np |
7000 | 6d 20 69 6e 73 74 61 6c 6c 20 70 6f 73 74 63 73 73 2d 73 79 6e 74 61 78 20 2d 2d 73 61 76 65 2d | m.install.postcss-syntax.--save- |
7020 | 64 65 76 0a 60 60 60 0a 0a 49 66 20 79 6f 75 20 77 61 6e 74 20 73 75 70 70 6f 72 74 20 53 43 53 | dev.```..If.you.want.support.SCS |
7040 | 53 2f 53 41 53 53 2f 4c 45 53 53 2f 53 75 67 61 72 53 53 20 73 79 6e 74 61 78 2c 20 79 6f 75 20 | S/SASS/LESS/SugarSS.syntax,.you. |
7060 | 6e 65 65 64 20 74 6f 20 69 6e 73 74 61 6c 6c 20 74 68 65 73 65 20 6d 6f 64 75 6c 65 3a 0a 0a 2d | need.to.install.these.module:..- |
7080 | 20 53 43 53 53 3a 20 5b 70 6f 73 74 63 73 73 2d 73 63 73 73 5d 28 68 74 74 70 73 3a 2f 2f 67 69 | .SCSS:.[postcss-scss](https://gi |
70a0 | 74 68 75 62 2e 63 6f 6d 2f 70 6f 73 74 63 73 73 2f 70 6f 73 74 63 73 73 2d 73 63 73 73 29 0a 2d | thub.com/postcss/postcss-scss).- |
70c0 | 20 53 41 53 53 3a 20 5b 70 6f 73 74 63 73 73 2d 73 61 73 73 5d 28 68 74 74 70 73 3a 2f 2f 67 69 | .SASS:.[postcss-sass](https://gi |
70e0 | 74 68 75 62 2e 63 6f 6d 2f 61 6c 65 73 68 61 6f 6c 65 67 2f 70 6f 73 74 63 73 73 2d 73 61 73 73 | thub.com/aleshaoleg/postcss-sass |
7100 | 29 0a 2d 20 4c 45 53 53 3a 20 5b 70 6f 73 74 63 73 73 2d 6c 65 73 73 5d 28 68 74 74 70 73 3a 2f | ).-.LESS:.[postcss-less](https:/ |
7120 | 2f 67 69 74 68 75 62 2e 63 6f 6d 2f 73 68 65 6c 6c 73 63 61 70 65 2f 70 6f 73 74 63 73 73 2d 6c | /github.com/shellscape/postcss-l |
7140 | 65 73 73 29 0a 2d 20 53 75 67 61 72 53 53 3a 20 5b 73 75 67 61 72 73 73 5d 28 68 74 74 70 73 3a | ess).-.SugarSS:.[sugarss](https: |
7160 | 2f 2f 67 69 74 68 75 62 2e 63 6f 6d 2f 70 6f 73 74 63 73 73 2f 73 75 67 61 72 73 73 29 0a 0a 49 | //github.com/postcss/sugarss)..I |
7180 | 66 20 79 6f 75 20 77 61 6e 74 20 73 75 70 70 6f 72 74 20 48 54 4d 4c 20 28 61 6e 64 20 48 54 4d | f.you.want.support.HTML.(and.HTM |
71a0 | 4c 2d 6c 69 6b 65 29 2f 4d 61 72 6b 64 6f 77 6e 2f 43 53 53 2d 69 6e 2d 4a 53 20 66 69 6c 65 20 | L-like)/Markdown/CSS-in-JS.file. |
71c0 | 66 6f 72 6d 61 74 2c 20 79 6f 75 20 6e 65 65 64 20 74 6f 20 69 6e 73 74 61 6c 6c 20 74 68 65 73 | format,.you.need.to.install.thes |
71e0 | 65 20 6d 6f 64 75 6c 65 3a 0a 0a 2d 20 43 53 53 2d 69 6e 2d 4a 53 3a 20 5b 70 6f 73 74 63 73 73 | e.module:..-.CSS-in-JS:.[postcss |
7200 | 2d 6a 73 78 5d 28 68 74 74 70 73 3a 2f 2f 67 69 74 68 75 62 2e 63 6f 6d 2f 67 75 63 6f 6e 67 33 | -jsx](https://github.com/gucong3 |
7220 | 30 30 30 2f 70 6f 73 74 63 73 73 2d 6a 73 78 29 0a 2d 20 48 54 4d 4c 20 28 61 6e 64 20 48 54 4d | 000/postcss-jsx).-.HTML.(and.HTM |
7240 | 4c 2d 6c 69 6b 65 29 3a 20 5b 70 6f 73 74 63 73 73 2d 68 74 6d 6c 5d 28 68 74 74 70 73 3a 2f 2f | L-like):.[postcss-html](https:// |
7260 | 67 69 74 68 75 62 2e 63 6f 6d 2f 67 75 63 6f 6e 67 33 30 30 30 2f 70 6f 73 74 63 73 73 2d 68 74 | github.com/gucong3000/postcss-ht |
7280 | 6d 6c 29 0a 2d 20 4d 61 72 6b 64 6f 77 6e 3a 20 5b 70 6f 73 74 63 73 73 2d 6d 61 72 6b 64 6f 77 | ml).-.Markdown:.[postcss-markdow |
72a0 | 6e 5d 28 68 74 74 70 73 3a 2f 2f 67 69 74 68 75 62 2e 63 6f 6d 2f 67 75 63 6f 6e 67 33 30 30 30 | n](https://github.com/gucong3000 |
72c0 | 2f 70 6f 73 74 63 73 73 2d 6d 61 72 6b 64 6f 77 6e 29 0a 0a 23 23 20 55 73 65 20 43 61 73 65 73 | /postcss-markdown)..##.Use.Cases |
72e0 | 0a 0a 60 60 60 6a 73 0a 63 6f 6e 73 74 20 70 6f 73 74 63 73 73 20 3d 20 72 65 71 75 69 72 65 28 | ..```js.const.postcss.=.require( |
7300 | 27 70 6f 73 74 63 73 73 27 29 3b 0a 63 6f 6e 73 74 20 73 79 6e 74 61 78 20 3d 20 72 65 71 75 69 | 'postcss');.const.syntax.=.requi |
7320 | 72 65 28 27 70 6f 73 74 63 73 73 2d 73 79 6e 74 61 78 27 29 28 7b 0a 09 72 75 6c 65 73 3a 20 5b | re('postcss-syntax')({..rules:.[ |
7340 | 0a 09 09 7b 0a 09 09 09 74 65 73 74 3a 20 2f 5c 2e 28 3f 3a 5b 73 78 5d 3f 68 74 6d 6c 3f 7c 5b | ...{....test:./\.(?:[sx]?html?|[ |
7360 | 73 78 5d 68 74 7c 76 75 65 7c 75 78 7c 70 68 70 29 24 2f 69 2c 0a 09 09 09 65 78 74 72 61 63 74 | sx]ht|vue|ux|php)$/i,....extract |
7380 | 3a 20 27 68 74 6d 6c 27 2c 0a 09 09 7d 2c 0a 09 09 7b 0a 09 09 09 74 65 73 74 3a 20 2f 5c 2e 28 | :.'html',...},...{....test:./\.( |
73a0 | 3f 3a 6d 61 72 6b 64 6f 77 6e 7c 6d 64 29 24 2f 69 2c 0a 09 09 09 65 78 74 72 61 63 74 3a 20 27 | ?:markdown|md)$/i,....extract:.' |
73c0 | 6d 61 72 6b 64 6f 77 6e 27 2c 0a 09 09 7d 2c 0a 09 09 7b 0a 09 09 09 74 65 73 74 3a 20 2f 5c 2e | markdown',...},...{....test:./\. |
73e0 | 28 3f 3a 6d 3f 5b 6a 74 5d 73 78 3f 7c 65 73 5c 64 2a 7c 70 61 63 29 24 2f 69 2c 0a 09 09 09 65 | (?:m?[jt]sx?|es\d*|pac)$/i,....e |
7400 | 78 74 72 61 63 74 3a 20 27 6a 73 78 27 2c 0a 09 09 7d 2c 0a 09 09 7b 0a 09 09 09 2f 2f 20 63 75 | xtract:.'jsx',...},...{....//.cu |
7420 | 73 74 6f 6d 20 6c 61 6e 67 75 61 67 65 20 66 6f 72 20 66 69 6c 65 20 65 78 74 65 6e 73 69 6f 6e | stom.language.for.file.extension |
7440 | 0a 09 09 09 74 65 73 74 3a 20 2f 5c 2e 70 6f 73 74 63 73 73 24 2f 69 2c 0a 09 09 09 6c 61 6e 67 | ....test:./\.postcss$/i,....lang |
7460 | 3a 20 27 73 63 73 73 27 0a 09 09 7d 2c 0a 09 09 7b 0a 09 09 09 2f 2f 20 63 75 73 74 6f 6d 20 6c | :.'scss'...},...{....//.custom.l |
7480 | 61 6e 67 75 61 67 65 20 66 6f 72 20 66 69 6c 65 20 65 78 74 65 6e 73 69 6f 6e 0a 09 09 09 74 65 | anguage.for.file.extension....te |
74a0 | 73 74 3a 20 2f 5c 2e 63 75 73 74 6f 6d 63 73 73 24 2f 69 2c 0a 09 09 09 6c 61 6e 67 3a 20 27 63 | st:./\.customcss$/i,....lang:.'c |
74c0 | 75 73 74 6f 6d 27 0a 09 09 7d 2c 0a 09 5d 2c 0a 0a 09 2f 2f 20 63 75 73 74 6f 6d 20 70 61 72 73 | ustom'...},..],...//.custom.pars |
74e0 | 65 72 20 66 6f 72 20 43 53 53 20 28 75 73 69 6e 67 20 60 70 6f 73 74 63 73 73 2d 73 61 66 65 2d | er.for.CSS.(using.`postcss-safe- |
7500 | 70 61 72 73 65 72 60 29 0a 09 63 73 73 3a 20 27 70 6f 73 74 63 73 73 2d 73 61 66 65 2d 70 61 72 | parser`)..css:.'postcss-safe-par |
7520 | 73 65 72 27 2c 0a 09 2f 2f 20 63 75 73 74 6f 6d 20 70 61 72 73 65 72 20 66 6f 72 20 53 41 53 53 | ser',..//.custom.parser.for.SASS |
7540 | 20 28 50 6f 73 74 43 53 53 2d 63 6f 6d 70 61 74 69 62 6c 65 20 73 79 6e 74 61 78 2e 29 0a 09 73 | .(PostCSS-compatible.syntax.)..s |
7560 | 61 73 73 3a 20 72 65 71 75 69 72 65 28 27 70 6f 73 74 63 73 73 2d 73 61 73 73 27 29 2c 0a 09 2f | ass:.require('postcss-sass'),../ |
7580 | 2f 20 63 75 73 74 6f 6d 20 70 61 72 73 65 72 20 66 6f 72 20 53 43 53 53 20 28 62 79 20 6d 6f 64 | /.custom.parser.for.SCSS.(by.mod |
75a0 | 75 6c 65 20 6e 61 6d 65 29 0a 09 73 63 73 73 3a 20 27 70 6f 73 74 63 73 73 2d 73 63 73 73 27 2c | ule.name)..scss:.'postcss-scss', |
75c0 | 0a 09 2f 2f 20 63 75 73 74 6f 6d 20 70 61 72 73 65 72 20 66 6f 72 20 4c 45 53 53 20 28 62 79 20 | ..//.custom.parser.for.LESS.(by. |
75e0 | 6d 6f 64 75 6c 65 20 70 61 74 68 29 0a 09 6c 65 73 73 3a 20 27 2e 2f 6e 6f 64 65 5f 6d 6f 64 75 | module.path)..less:.'./node_modu |
7600 | 6c 65 73 2f 70 6f 73 74 63 73 73 2d 6c 65 73 73 27 2c 0a 09 2f 2f 20 63 75 73 74 6f 6d 20 70 61 | les/postcss-less',..//.custom.pa |
7620 | 72 73 65 72 20 66 6f 72 20 53 75 67 61 72 53 53 0a 09 73 75 67 61 72 73 73 3a 20 72 65 71 75 69 | rser.for.SugarSS..sugarss:.requi |
7640 | 72 65 28 27 73 75 67 61 72 73 73 27 29 2c 0a 09 2f 2f 20 63 75 73 74 6f 6d 20 70 61 72 73 65 72 | re('sugarss'),..//.custom.parser |
7660 | 20 66 6f 72 20 63 75 73 74 6f 6d 20 6c 61 6e 67 75 61 67 65 0a 09 63 75 73 74 6f 6d 3a 20 72 65 | .for.custom.language..custom:.re |
7680 | 71 75 69 72 65 28 27 70 6f 73 74 63 73 73 2d 63 75 73 74 6f 6d 2d 73 79 6e 74 61 78 27 29 2c 0a | quire('postcss-custom-syntax'),. |
76a0 | 0a 7d 29 3b 0a 70 6f 73 74 63 73 73 28 70 6c 75 67 69 6e 73 29 2e 70 72 6f 63 65 73 73 28 73 6f | .});.postcss(plugins).process(so |
76c0 | 75 72 63 65 2c 20 7b 20 73 79 6e 74 61 78 3a 20 73 79 6e 74 61 78 20 7d 29 2e 74 68 65 6e 28 66 | urce,.{.syntax:.syntax.}).then(f |
76e0 | 75 6e 63 74 69 6f 6e 20 28 72 65 73 75 6c 74 29 20 7b 0a 09 2f 2f 20 41 6e 20 61 6c 69 61 73 20 | unction.(result).{..//.An.alias. |
7700 | 66 6f 72 20 74 68 65 20 72 65 73 75 6c 74 2e 63 73 73 20 70 72 6f 70 65 72 74 79 2e 20 55 73 65 | for.the.result.css.property..Use |
7720 | 20 69 74 20 77 69 74 68 20 73 79 6e 74 61 78 65 73 20 74 68 61 74 20 67 65 6e 65 72 61 74 65 20 | .it.with.syntaxes.that.generate. |
7740 | 6e 6f 6e 2d 43 53 53 20 6f 75 74 70 75 74 2e 0a 09 72 65 73 75 6c 74 2e 63 6f 6e 74 65 6e 74 0a | non-CSS.output...result.content. |
7760 | 7d 29 3b 0a 60 60 60 0a 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | });.```......................... |
7780 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
77a0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
77c0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
77e0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
7800 | 70 61 63 6b 61 67 65 2f 73 74 72 69 6e 67 69 66 79 2e 6a 73 00 00 00 00 00 00 00 00 00 00 00 00 | package/stringify.js............ |
7820 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
7840 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
7860 | 00 00 00 00 30 30 30 36 36 36 20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 30 30 30 30 | ....000666..................0000 |
7880 | 30 30 31 30 34 31 20 00 33 35 36 30 31 31 36 36 30 34 20 00 30 31 31 36 33 34 20 00 30 00 00 00 | 001041..3560116604..011634..0... |
78a0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
78c0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
78e0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
7900 | 00 75 73 74 61 72 00 30 30 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | .ustar.00....................... |
7920 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
7940 | 00 00 00 00 00 00 00 00 00 30 30 30 30 30 30 20 00 30 30 30 30 30 30 20 00 00 00 00 00 00 00 00 | .........000000..000000......... |
7960 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
7980 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
79a0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
79c0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
79e0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
7a00 | 22 75 73 65 20 73 74 72 69 63 74 22 3b 0a 0a 66 75 6e 63 74 69 6f 6e 20 73 74 72 69 6e 67 69 66 | "use.strict";..function.stringif |
7a20 | 79 20 28 64 6f 63 75 6d 65 6e 74 29 20 7b 0a 09 6c 65 74 20 73 74 72 69 6e 67 69 66 79 3b 0a 09 | y.(document).{..let.stringify;.. |
7a40 | 69 66 20 28 64 6f 63 75 6d 65 6e 74 20 69 6e 73 74 61 6e 63 65 6f 66 20 72 65 71 75 69 72 65 28 | if.(document.instanceof.require( |
7a60 | 22 2e 2f 64 6f 63 75 6d 65 6e 74 22 29 29 20 7b 0a 09 09 73 74 72 69 6e 67 69 66 79 20 3d 20 64 | "./document")).{...stringify.=.d |
7a80 | 6f 63 53 74 72 69 6e 67 69 66 79 3b 0a 09 7d 20 65 6c 73 65 20 7b 0a 09 09 73 74 72 69 6e 67 69 | ocStringify;..}.else.{...stringi |
7aa0 | 66 79 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 73 6f 75 72 63 65 2e 73 79 6e 74 61 78 2e 73 74 72 69 | fy.=.document.source.syntax.stri |
7ac0 | 6e 67 69 66 79 3b 0a 09 7d 0a 09 72 65 74 75 72 6e 20 73 74 72 69 6e 67 69 66 79 2e 61 70 70 6c | ngify;..}..return.stringify.appl |
7ae0 | 79 28 74 68 69 73 2c 20 61 72 67 75 6d 65 6e 74 73 29 3b 0a 7d 0a 0a 66 75 6e 63 74 69 6f 6e 20 | y(this,.arguments);.}..function. |
7b00 | 64 6f 63 53 74 72 69 6e 67 69 66 79 20 28 64 6f 63 75 6d 65 6e 74 2c 20 62 75 69 6c 64 65 72 29 | docStringify.(document,.builder) |
7b20 | 20 7b 0a 09 64 6f 63 75 6d 65 6e 74 2e 6e 6f 64 65 73 2e 66 6f 72 45 61 63 68 28 28 72 6f 6f 74 | .{..document.nodes.forEach((root |
7b40 | 2c 20 69 29 20 3d 3e 20 7b 0a 09 09 62 75 69 6c 64 65 72 28 72 6f 6f 74 2e 72 61 77 73 2e 62 65 | ,.i).=>.{...builder(root.raws.be |
7b60 | 66 6f 72 65 53 74 61 72 74 2c 20 72 6f 6f 74 2c 20 22 62 65 66 6f 72 65 53 74 61 72 74 22 29 3b | foreStart,.root,."beforeStart"); |
7b80 | 0a 09 09 72 6f 6f 74 2e 73 6f 75 72 63 65 2e 73 79 6e 74 61 78 20 26 26 20 72 6f 6f 74 2e 73 6f | ...root.source.syntax.&&.root.so |
7ba0 | 75 72 63 65 2e 73 79 6e 74 61 78 2e 73 74 72 69 6e 67 69 66 79 28 72 6f 6f 74 2c 20 62 75 69 6c | urce.syntax.stringify(root,.buil |
7bc0 | 64 65 72 29 3b 0a 09 7d 29 3b 0a 09 62 75 69 6c 64 65 72 28 64 6f 63 75 6d 65 6e 74 2e 72 61 77 | der);..});..builder(document.raw |
7be0 | 73 2e 61 66 74 65 72 45 6e 64 2c 20 64 6f 63 75 6d 65 6e 74 2c 20 22 61 66 74 65 72 45 6e 64 22 | s.afterEnd,.document,."afterEnd" |
7c00 | 29 3b 0a 7d 0a 6d 6f 64 75 6c 65 2e 65 78 70 6f 72 74 73 20 3d 20 73 74 72 69 6e 67 69 66 79 3b | );.}.module.exports.=.stringify; |
7c20 | 0a 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
7c40 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
7c60 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
7c80 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
7ca0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
7cc0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
7ce0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
7d00 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
7d20 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
7d40 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
7d60 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
7d80 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
7da0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
7dc0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
7de0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
7e00 | 70 61 63 6b 61 67 65 2f 73 79 6e 74 61 78 2e 6a 73 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | package/syntax.js............... |
7e20 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
7e40 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
7e60 | 00 00 00 00 30 30 30 36 36 36 20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 30 30 30 30 | ....000666..................0000 |
7e80 | 30 30 31 35 33 33 20 00 33 35 36 30 31 31 36 36 30 34 20 00 30 31 31 31 35 32 20 00 30 00 00 00 | 001533..3560116604..011152..0... |
7ea0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
7ec0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
7ee0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
7f00 | 00 75 73 74 61 72 00 30 30 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | .ustar.00....................... |
7f20 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
7f40 | 00 00 00 00 00 00 00 00 00 30 30 30 30 30 30 20 00 30 30 30 30 30 30 20 00 00 00 00 00 00 00 00 | .........000000..000000......... |
7f60 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
7f80 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
7fa0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
7fc0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
7fe0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
8000 | 22 75 73 65 20 73 74 72 69 63 74 22 3b 0a 63 6f 6e 73 74 20 73 74 72 69 6e 67 69 66 79 20 3d 20 | "use.strict";.const.stringify.=. |
8020 | 72 65 71 75 69 72 65 28 22 2e 2f 73 74 72 69 6e 67 69 66 79 22 29 3b 0a 63 6f 6e 73 74 20 70 61 | require("./stringify");.const.pa |
8040 | 72 73 65 53 74 79 6c 65 20 3d 20 72 65 71 75 69 72 65 28 22 2e 2f 70 61 72 73 65 2d 73 74 79 6c | rseStyle.=.require("./parse-styl |
8060 | 65 22 29 3b 0a 63 6f 6e 73 74 20 6e 6f 72 6d 61 6c 4f 70 74 73 20 3d 20 72 65 71 75 69 72 65 28 | e");.const.normalOpts.=.require( |
8080 | 22 2e 2f 6e 6f 72 6d 61 6c 2d 6f 70 74 73 22 29 3b 0a 0a 6d 6f 64 75 6c 65 2e 65 78 70 6f 72 74 | "./normal-opts");..module.export |
80a0 | 73 20 3d 20 28 65 78 74 72 61 63 74 2c 20 6c 61 6e 67 29 20 3d 3e 20 7b 0a 09 63 6f 6e 73 74 20 | s.=.(extract,.lang).=>.{..const. |
80c0 | 64 65 66 61 75 6c 74 43 6f 6e 66 69 67 20 3d 20 7b 0a 09 09 70 6f 73 74 63 73 73 3a 20 22 63 73 | defaultConfig.=.{...postcss:."cs |
80e0 | 73 22 2c 0a 09 09 73 74 79 6c 75 73 3a 20 22 63 73 73 22 2c 0a 09 09 62 61 62 65 6c 3a 20 22 6a | s",...stylus:."css",...babel:."j |
8100 | 73 78 22 2c 0a 09 09 78 6d 6c 3a 20 22 68 74 6d 6c 22 2c 0a 09 7d 3b 0a 09 66 75 6e 63 74 69 6f | sx",...xml:."html",..};..functio |
8120 | 6e 20 70 61 72 73 65 20 28 73 6f 75 72 63 65 2c 20 6f 70 74 73 29 20 7b 0a 09 09 73 6f 75 72 63 | n.parse.(source,.opts).{...sourc |
8140 | 65 20 3d 20 73 6f 75 72 63 65 2e 74 6f 53 74 72 69 6e 67 28 29 3b 0a 09 09 6f 70 74 73 20 3d 20 | e.=.source.toString();...opts.=. |
8160 | 6e 6f 72 6d 61 6c 4f 70 74 73 28 6f 70 74 73 2c 20 74 68 69 73 29 3b 0a 09 09 63 6f 6e 73 74 20 | normalOpts(opts,.this);...const. |
8180 | 64 6f 63 75 6d 65 6e 74 20 3d 20 70 61 72 73 65 53 74 79 6c 65 28 73 6f 75 72 63 65 2c 20 6f 70 | document.=.parseStyle(source,.op |
81a0 | 74 73 2c 20 65 78 74 72 61 63 74 28 73 6f 75 72 63 65 2c 20 6f 70 74 73 29 29 3b 0a 09 09 64 6f | ts,.extract(source,.opts));...do |
81c0 | 63 75 6d 65 6e 74 2e 73 6f 75 72 63 65 2e 6c 61 6e 67 20 3d 20 6c 61 6e 67 3b 0a 09 09 72 65 74 | cument.source.lang.=.lang;...ret |
81e0 | 75 72 6e 20 64 6f 63 75 6d 65 6e 74 3b 0a 09 7d 0a 0a 09 66 75 6e 63 74 69 6f 6e 20 69 6e 69 74 | urn.document;..}...function.init |
8200 | 53 79 6e 74 61 78 20 28 73 79 6e 74 61 78 29 20 7b 0a 09 09 73 79 6e 74 61 78 2e 73 74 72 69 6e | Syntax.(syntax).{...syntax.strin |
8220 | 67 69 66 79 20 3d 20 73 74 72 69 6e 67 69 66 79 2e 62 69 6e 64 28 73 79 6e 74 61 78 29 3b 0a 09 | gify.=.stringify.bind(syntax);.. |
8240 | 09 73 79 6e 74 61 78 2e 70 61 72 73 65 20 3d 20 70 61 72 73 65 2e 62 69 6e 64 28 73 79 6e 74 61 | .syntax.parse.=.parse.bind(synta |
8260 | 78 29 3b 0a 09 09 73 79 6e 74 61 78 2e 65 78 74 72 61 63 74 20 3d 20 65 78 74 72 61 63 74 2e 62 | x);...syntax.extract.=.extract.b |
8280 | 69 6e 64 28 73 79 6e 74 61 78 29 3b 0a 09 09 72 65 74 75 72 6e 20 73 79 6e 74 61 78 3b 0a 09 7d | ind(syntax);...return.syntax;..} |
82a0 | 0a 0a 09 66 75 6e 63 74 69 6f 6e 20 73 79 6e 74 61 78 20 28 63 6f 6e 66 69 67 29 20 7b 0a 09 09 | ...function.syntax.(config).{... |
82c0 | 72 65 74 75 72 6e 20 69 6e 69 74 53 79 6e 74 61 78 28 7b 0a 09 09 09 63 6f 6e 66 69 67 3a 20 4f | return.initSyntax({....config:.O |
82e0 | 62 6a 65 63 74 2e 61 73 73 69 67 6e 28 7b 7d 2c 20 64 65 66 61 75 6c 74 43 6f 6e 66 69 67 2c 20 | bject.assign({},.defaultConfig,. |
8300 | 63 6f 6e 66 69 67 29 2c 0a 09 09 7d 29 3b 0a 09 7d 0a 0a 09 69 6e 69 74 53 79 6e 74 61 78 28 73 | config),...});..}...initSyntax(s |
8320 | 79 6e 74 61 78 29 3b 0a 09 73 79 6e 74 61 78 2e 63 6f 6e 66 69 67 20 3d 20 64 65 66 61 75 6c 74 | yntax);..syntax.config.=.default |
8340 | 43 6f 6e 66 69 67 3b 0a 09 72 65 74 75 72 6e 20 73 79 6e 74 61 78 3b 0a 7d 3b 0a 00 00 00 00 00 | Config;..return.syntax;.};...... |
8360 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
8380 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
83a0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
83c0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
83e0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
8400 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
8420 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
8440 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
8460 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
8480 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
84a0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
84c0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
84e0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
8500 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
8520 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
8540 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
8560 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
8580 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
85a0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
85c0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
85e0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
8600 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
8620 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
8640 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
8660 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
8680 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
86a0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
86c0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
86e0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
8700 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
8720 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
8740 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
8760 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
8780 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
87a0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
87c0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |
87e0 | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 | ................................ |