You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1 line
303 KiB

2 years ago
{"ast":null,"code":"\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.bodyRegExps = {\n xml: /&(?:#\\d+|#[xX][\\da-fA-F]+|[0-9a-zA-Z]+);?/g,\n html4: /&(?:nbsp|iexcl|cent|pound|curren|yen|brvbar|sect|uml|copy|ordf|laquo|not|shy|reg|macr|deg|plusmn|sup2|sup3|acute|micro|para|middot|cedil|sup1|ordm|raquo|frac14|frac12|frac34|iquest|Agrave|Aacute|Acirc|Atilde|Auml|Aring|AElig|Ccedil|Egrave|Eacute|Ecirc|Euml|Igrave|Iacute|Icirc|Iuml|ETH|Ntilde|Ograve|Oacute|Ocirc|Otilde|Ouml|times|Oslash|Ugrave|Uacute|Ucirc|Uuml|Yacute|THORN|szlig|agrave|aacute|acirc|atilde|auml|aring|aelig|ccedil|egrave|eacute|ecirc|euml|igrave|iacute|icirc|iuml|eth|ntilde|ograve|oacute|ocirc|otilde|ouml|divide|oslash|ugrave|uacute|ucirc|uuml|yacute|thorn|yuml|quot|amp|lt|gt|#\\d+|#[xX][\\da-fA-F]+|[0-9a-zA-Z]+);?/g,\n html5: /&(?:AElig|AMP|Aacute|Acirc|Agrave|Aring|Atilde|Auml|COPY|Ccedil|ETH|Eacute|Ecirc|Egrave|Euml|GT|Iacute|Icirc|Igrave|Iuml|LT|Ntilde|Oacute|Ocirc|Ograve|Oslash|Otilde|Ouml|QUOT|REG|THORN|Uacute|Ucirc|Ugrave|Uuml|Yacute|aacute|acirc|acute|aelig|agrave|amp|aring|atilde|auml|brvbar|ccedil|cedil|cent|copy|curren|deg|divide|eacute|ecirc|egrave|eth|euml|frac12|frac14|frac34|gt|iacute|icirc|iexcl|igrave|iquest|iuml|laquo|lt|macr|micro|middot|nbsp|not|ntilde|oacute|ocirc|ograve|ordf|ordm|oslash|otilde|ouml|para|plusmn|pound|quot|raquo|reg|sect|shy|sup1|sup2|sup3|szlig|thorn|times|uacute|ucirc|ugrave|uml|uuml|yacute|yen|yuml|#\\d+|#[xX][\\da-fA-F]+|[0-9a-zA-Z]+);?/g\n};\nexports.namedReferences = {\n xml: {\n entities: {\n \"&lt;\": \"<\",\n \"&gt;\": \">\",\n \"&quot;\": '\"',\n \"&apos;\": \"'\",\n \"&amp;\": \"&\"\n },\n characters: {\n \"<\": \"&lt;\",\n \">\": \"&gt;\",\n '\"': \"&quot;\",\n \"'\": \"&apos;\",\n \"&\": \"&amp;\"\n }\n },\n html4: {\n entities: {\n \"&apos;\": \"'\",\n \"&nbsp\": \" \",\n \"&nbsp;\": \" \",\n \"&iexcl\": \"¡\",\n \"&iexcl;\": \"¡\",\n \"&cent\": \"¢\",\n \"&cent;\": \"¢\",\n \"&pound\": \"£\",\n \"&pound;\": \"£\",\n \"&curren\": \"¤\",\n \"&curren;\": \"¤\",\n \"&yen\": \"¥\",\n \"&yen;\": \"¥\",\n \"&brvbar\": \"¦\",\n \"&brvbar;\": \"¦\",\n \"&sect\": \"§\",\n \"&sect;\": \"§\",\n \"&uml\": \"¨\",\n \"&uml;\": \"¨\",\n \"&copy\": \"©\",\n \"&copy;\": \"©\",\n \"&ordf\": \"ª\",\n \"&ordf;\": \"ª\",\n \"&laquo\": \"«\",\n \"&laquo;\": \"«\",\n \"&not\": \"¬\",\n \"&not;\": \"¬\",\n \"&shy\": \"­\",\n \"&shy;\": \"­\",\n \"&reg\": \"®\",\n \"&reg;\": \"®\",\n \"&macr\": \"¯\",\n \"&macr;\": \"¯\",\n \"&deg\": \"°\",\n \"&deg;\": \"°\",\n \"&plusmn\": \"±\",\n \"&plusmn;\": \"±\",\n \"&sup2\": \"²\",\n \"&sup2;\": \"²\",\n \"&sup3\": \"³\",\n \"&sup3;\": \"³\",\n \"&acute\": \"´\",\n \"&acute;\": \"´\",\n \"&micro\": \"µ\",\n \"&micro;\": \"µ\",\n \"&para\": \"¶\",\n \"&para;\": \"¶\",\n \"&middot\": \"·\",\n \"&middot;\": \"·\",\n \"&cedil\": \"¸\",\n \"&cedil;\": \"¸\",\n \"&sup1\": \"¹\",\n \"&sup1;\": \"¹\",\n \"&ordm\": \"º\",\n \"&ordm;\": \"º\",\n \"&raquo\": \"»\",\n \"&raquo;\": \"»\",\n \"&frac14\": \"¼\",\n \"&frac14;\": \"¼\",\n \"&frac12\": \"½\",\n \"&frac12;\": \"½\",\n \"&frac34\": \"¾\",\n \"&frac34;\": \"¾\",\n \"&iquest\": \"¿\",\n \"&iquest;\": \"¿\",\n \"&Agrave\": \"À\",\n \"&Agrave;\": \"À\",\n \"&Aacute\": \"Á\",\n \"&Aacute;\": \"Á\",\n \"&Acirc\": \"Â\",\n \"&Acirc;\": \"Â\",\n \"&Atilde\": \"Ã\",\n \"&Atilde;\": \"Ã\",\n \"&Auml\": \"Ä\",\n \"&Auml;\": \"Ä\",\n \"&Aring\": \"Å\",\n \"&Aring;\": \"Å\",\n \"&AElig\": \"Æ\",\n \"&AElig;\": \"Æ\",\n \"&Ccedil\": \"Ç\",\n \"&Ccedil;\": \"Ç\",\n