setup-python/node_modules/prettier/parser-markdown.js

2 lines
124 KiB
JavaScript
Raw Normal View History

2019-06-27 03:12:00 +02:00
!function(r,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):(r.prettierPlugins=r.prettierPlugins||{},r.prettierPlugins.markdown=e())}(this,function(){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(r){return typeof r}:function(r){return r&&"function"==typeof Symbol&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r})(e)}function e(r,e){return t(r)||function(r,e){var t=[],u=!0,n=!1,a=void 0;try{for(var o,i=r[Symbol.iterator]();!(u=(o=i.next()).done)&&(t.push(o.value),!e||t.length!==e);u=!0);}catch(r){n=!0,a=r}finally{try{u||null==i.return||i.return()}finally{if(n)throw a}}return t}(r,e)||u()}function t(r){if(Array.isArray(r))return r}function u(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}var n=function(){for(var r={},e=0;e<arguments.length;e++){var t=arguments[e];for(var u in t)a.call(t,u)&&(r[u]=t[u])}return r},a=Object.prototype.hasOwnProperty;function o(r,e){return r(e={exports:{}},e.exports),e.exports}var i={},c=Object.freeze({default:i}),l=o(function(r){"function"==typeof Object.create?r.exports=function(r,e){r.super_=e,r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}})}:r.exports=function(r,e){r.super_=e;var t=function(){};t.prototype=e.prototype,r.prototype=new t,r.prototype.constructor=r}}),s=c&&i||c,f=o(function(r){try{var e=s;if("function"!=typeof e.inherits)throw"";r.exports=e.inherits}catch(e){r.exports=l}}),p=function(e){var t,u,a;for(u in f(i,e),f(o,i),t=i.prototype)(a=t[u])&&"object"===r(a)&&(t[u]="concat"in a?a.concat():n(a));return i;function o(r){return e.apply(this,r)}function i(){return this instanceof i?e.apply(this,arguments):new o(arguments)}};var D=function(r,e,t){return function(){var u=t||this,n=u[r];return u[r]=!e,function(){u[r]=n}}};var d=function(r){var e=function(r){var e=[],t=r.indexOf("\n");for(;-1!==t;)e.push(t+1),t=r.indexOf("\n",t+1);return e.push(r.length+1),e}(String(r));return{toPosition:function(r){return function(e){var t=-1,u=r.length;if(e<0)return{};for(;++t<u;)if(r[t]>e)return{line:t+1,column:e-(r[t-1]||0)+1,offset:e};return{}}}(e),toOffset:function(r){return function(e){var t=e&&e.line,u=e&&e.column;if(!isNaN(t)&&!isNaN(u)&&t-1 in r)return(r[t-2]||0)+u-1||0;return-1}}(e)}};var h=function(r,e){return function(t){var u,n=0,a=t.indexOf("\\"),o=r[e],i=[];for(;-1!==a;)i.push(t.slice(n,a)),n=a+1,(u=t.charAt(n))&&-1!==o.indexOf(u)||i.push("\\"),a=t.indexOf("\\",n);return i.push(t.slice(n)),i.join("")}};var g={AEli:"Æ",AElig:"Æ",AM:"&",AMP:"&",Aacut:"Á",Aacute:"Á",Abreve:"Ă",Acir:"Â",Acirc:"Â",Acy:"А",Afr:"𝔄",Agrav:"À",Agrave:"À",Alpha:"Α",Amacr:"Ā",And:"⩓",Aogon:"Ą",Aopf:"𝔸",ApplyFunction:"",Arin:"Å",Aring:"Å",Ascr:"𝒜",Assign:"≔",Atild:"Ã",Atilde:"Ã",Aum:"Ä",Auml:"Ä",Backslash:"",Barv:"⫧",Barwed:"⌆",Bcy:"Б",Because:"∵",Bernoullis:"",Beta:"Β",Bfr:"𝔅",Bopf:"𝔹",Breve:"˘",Bscr:"",Bumpeq:"≎",CHcy:"Ч",COP:"©",COPY:"©",Cacute:"Ć",Cap:"⋒",CapitalDifferentialD:"",Cayleys:"",Ccaron:"Č",Ccedi:"Ç",Ccedil:"Ç",Ccirc:"Ĉ",Cconint:"∰",Cdot:"Ċ",Cedilla:"¸",CenterDot:"·",Cfr:"",Chi:"Χ",CircleDot:"⊙",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"",Colon:"∷",Colone:"⩴",Congruent:"≡",Conint:"∯",ContourIntegral:"∮",Copf:"",Coproduct:"∐",CounterClockwiseContourIntegral:"∳",Cross:"",Cscr:"𝒞",Cup:"⋓",CupCap:"≍",DD:"",DDotrahd:"⤑",DJcy:"Ђ",DScy:"Ѕ",DZcy:"Џ",Dagger:"‡",Darr:"↡",Dashv:"⫤",Dcaron:"Ď",Dcy:"Д",Del:"∇",Delta:"Δ",Dfr:"𝔇",DiacriticalAcute:"´",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",Diamond:"⋄",DifferentialD:"",Dopf:"𝔻",Dot:"¨",DotDot:"⃜",DotEqual:"≐",DoubleContourIntegral:"∯",DoubleDot:"¨",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLo