diff --git a/dist/PublicLab.Editor.css b/dist/PublicLab.Editor.css index d5926e82..f7e7882f 100644 --- a/dist/PublicLab.Editor.css +++ b/dist/PublicLab.Editor.css @@ -110,6 +110,7 @@ .ple-textarea { box-sizing: border-box; min-height: 31px; + height: 800px; } .ple-history { diff --git a/dist/PublicLab.Editor.js b/dist/PublicLab.Editor.js index 4afa80f8..2fb2aaee 100644 --- a/dist/PublicLab.Editor.js +++ b/dist/PublicLab.Editor.js @@ -1,4 +1,4 @@ -(function(){function r(e,n,t){function o(i,f){if(!n[i]){if(!e[i]){var c="function"==typeof require&&require;if(!f&&c)return c(i,!0);if(u)return u(i,!0);var a=new Error("Cannot find module '"+i+"'");throw a.code="MODULE_NOT_FOUND",a}var p=n[i]={exports:{}};e[i][0].call(p.exports,function(r){var n=e[i][1][r];return o(n||r)},p,p.exports,r,e,n,t)}return n[i].exports}for(var u="function"==typeof require&&require,i=0;i {width:'500px', ...} - * - * @param {Element} element - * @return {Object} - */ - -// Accessing via window for jsDOM support -module.exports = window.getComputedStyle - -// Fallback to elem.currentStyle for IE < 9 -if (!module.exports) { - module.exports = function (elem) { - return elem.currentStyle - } -} - -},{}],13:[function(require,module,exports){ +},{"global/window":21,"is-function":46,"parse-headers":128,"xtend":191}],11:[function(require,module,exports){ 'use strict'; var ticky = require('ticky'); @@ -977,7 +908,7 @@ module.exports = function debounce (fn, args, ctx) { }); }; -},{"ticky":149}],14:[function(require,module,exports){ +},{"ticky":143}],12:[function(require,module,exports){ 'use strict'; var atoa = require('atoa'); @@ -1033,7 +964,7 @@ module.exports = function emitter (thing, options) { return thing; }; -},{"./debounce":13,"atoa":2}],15:[function(require,module,exports){ +},{"./debounce":11,"atoa":2}],13:[function(require,module,exports){ (function (global){ 'use strict'; @@ -1135,9 +1066,9 @@ module.exports = { }; }).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {}) -},{"./eventmap":16,"custom-event":17}],16:[function(require,module,exports){ +},{"./eventmap":14,"custom-event":15}],14:[function(require,module,exports){ arguments[4][9][0].apply(exports,arguments) -},{"dup":9}],17:[function(require,module,exports){ +},{"dup":9}],15:[function(require,module,exports){ (function (global){ var NativeCustomEvent = global.CustomEvent; @@ -1189,7 +1120,7 @@ function CustomEvent (type, params) { } }).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {}) -},{}],18:[function(require,module,exports){ +},{}],16:[function(require,module,exports){ 'use strict'; require('string.prototype.repeat'); @@ -1862,7 +1793,7 @@ Domador.prototype.openCodeFence = function openCodeFence (el) { module.exports = parse; -},{"./virtualWindowContext":19,"string.prototype.repeat":148}],19:[function(require,module,exports){ +},{"./virtualWindowContext":17,"string.prototype.repeat":142}],17:[function(require,module,exports){ 'use strict'; if (!window.Node) { @@ -1878,73 +1809,57 @@ function windowContext () { module.exports = windowContext; -},{}],20:[function(require,module,exports){ +},{}],18:[function(require,module,exports){ module.exports={"Aacute":"\u00C1","aacute":"\u00E1","Abreve":"\u0102","abreve":"\u0103","ac":"\u223E","acd":"\u223F","acE":"\u223E\u0333","Acirc":"\u00C2","acirc":"\u00E2","acute":"\u00B4","Acy":"\u0410","acy":"\u0430","AElig":"\u00C6","aelig":"\u00E6","af":"\u2061","Afr":"\uD835\uDD04","afr":"\uD835\uDD1E","Agrave":"\u00C0","agrave":"\u00E0","alefsym":"\u2135","aleph":"\u2135","Alpha":"\u0391","alpha":"\u03B1","Amacr":"\u0100","amacr":"\u0101","amalg":"\u2A3F","amp":"&","AMP":"&","andand":"\u2A55","And":"\u2A53","and":"\u2227","andd":"\u2A5C","andslope":"\u2A58","andv":"\u2A5A","ang":"\u2220","ange":"\u29A4","angle":"\u2220","angmsdaa":"\u29A8","angmsdab":"\u29A9","angmsdac":"\u29AA","angmsdad":"\u29AB","angmsdae":"\u29AC","angmsdaf":"\u29AD","angmsdag":"\u29AE","angmsdah":"\u29AF","angmsd":"\u2221","angrt":"\u221F","angrtvb":"\u22BE","angrtvbd":"\u299D","angsph":"\u2222","angst":"\u00C5","angzarr":"\u237C","Aogon":"\u0104","aogon":"\u0105","Aopf":"\uD835\uDD38","aopf":"\uD835\uDD52","apacir":"\u2A6F","ap":"\u2248","apE":"\u2A70","ape":"\u224A","apid":"\u224B","apos":"'","ApplyFunction":"\u2061","approx":"\u2248","approxeq":"\u224A","Aring":"\u00C5","aring":"\u00E5","Ascr":"\uD835\uDC9C","ascr":"\uD835\uDCB6","Assign":"\u2254","ast":"*","asymp":"\u2248","asympeq":"\u224D","Atilde":"\u00C3","atilde":"\u00E3","Auml":"\u00C4","auml":"\u00E4","awconint":"\u2233","awint":"\u2A11","backcong":"\u224C","backepsilon":"\u03F6","backprime":"\u2035","backsim":"\u223D","backsimeq":"\u22CD","Backslash":"\u2216","Barv":"\u2AE7","barvee":"\u22BD","barwed":"\u2305","Barwed":"\u2306","barwedge":"\u2305","bbrk":"\u23B5","bbrktbrk":"\u23B6","bcong":"\u224C","Bcy":"\u0411","bcy":"\u0431","bdquo":"\u201E","becaus":"\u2235","because":"\u2235","Because":"\u2235","bemptyv":"\u29B0","bepsi":"\u03F6","bernou":"\u212C","Bernoullis":"\u212C","Beta":"\u0392","beta":"\u03B2","beth":"\u2136","between":"\u226C","Bfr":"\uD835\uDD05","bfr":"\uD835\uDD1F","bigcap":"\u22C2","bigcirc":"\u25EF","bigcup":"\u22C3","bigodot":"\u2A00","bigoplus":"\u2A01","bigotimes":"\u2A02","bigsqcup":"\u2A06","bigstar":"\u2605","bigtriangledown":"\u25BD","bigtriangleup":"\u25B3","biguplus":"\u2A04","bigvee":"\u22C1","bigwedge":"\u22C0","bkarow":"\u290D","blacklozenge":"\u29EB","blacksquare":"\u25AA","blacktriangle":"\u25B4","blacktriangledown":"\u25BE","blacktriangleleft":"\u25C2","blacktriangleright":"\u25B8","blank":"\u2423","blk12":"\u2592","blk14":"\u2591","blk34":"\u2593","block":"\u2588","bne":"=\u20E5","bnequiv":"\u2261\u20E5","bNot":"\u2AED","bnot":"\u2310","Bopf":"\uD835\uDD39","bopf":"\uD835\uDD53","bot":"\u22A5","bottom":"\u22A5","bowtie":"\u22C8","boxbox":"\u29C9","boxdl":"\u2510","boxdL":"\u2555","boxDl":"\u2556","boxDL":"\u2557","boxdr":"\u250C","boxdR":"\u2552","boxDr":"\u2553","boxDR":"\u2554","boxh":"\u2500","boxH":"\u2550","boxhd":"\u252C","boxHd":"\u2564","boxhD":"\u2565","boxHD":"\u2566","boxhu":"\u2534","boxHu":"\u2567","boxhU":"\u2568","boxHU":"\u2569","boxminus":"\u229F","boxplus":"\u229E","boxtimes":"\u22A0","boxul":"\u2518","boxuL":"\u255B","boxUl":"\u255C","boxUL":"\u255D","boxur":"\u2514","boxuR":"\u2558","boxUr":"\u2559","boxUR":"\u255A","boxv":"\u2502","boxV":"\u2551","boxvh":"\u253C","boxvH":"\u256A","boxVh":"\u256B","boxVH":"\u256C","boxvl":"\u2524","boxvL":"\u2561","boxVl":"\u2562","boxVL":"\u2563","boxvr":"\u251C","boxvR":"\u255E","boxVr":"\u255F","boxVR":"\u2560","bprime":"\u2035","breve":"\u02D8","Breve":"\u02D8","brvbar":"\u00A6","bscr":"\uD835\uDCB7","Bscr":"\u212C","bsemi":"\u204F","bsim":"\u223D","bsime":"\u22CD","bsolb":"\u29C5","bsol":"\\","bsolhsub":"\u27C8","bull":"\u2022","bullet":"\u2022","bump":"\u224E","bumpE":"\u2AAE","bumpe":"\u224F","Bumpeq":"\u224E","bumpeq":"\u224F","Cacute":"\u0106","cacute":"\u0107","capand":"\u2A44","capbrcup":"\u2A49","capcap":"\u2A4B","cap":"\u2229","Cap":"\u22D2","capcup":"\u2A47","capdot":"\u2A40","CapitalDifferentialD":"\u2145","caps":"\u2229\uFE00","caret":"\u2041","caron":"\u02C7","Cayleys":"\u212D","ccaps":"\u2A4D","Ccaron":"\u010C","ccaron":"\u010D","Ccedil":"\u00C7","ccedil":"\u00E7","Ccirc":"\u0108","ccirc":"\u0109","Cconint":"\u2230","ccups":"\u2A4C","ccupssm":"\u2A50","Cdot":"\u010A","cdot":"\u010B","cedil":"\u00B8","Cedilla":"\u00B8","cemptyv":"\u29B2","cent":"\u00A2","centerdot":"\u00B7","CenterDot":"\u00B7","cfr":"\uD835\uDD20","Cfr":"\u212D","CHcy":"\u0427","chcy":"\u0447","check":"\u2713","checkmark":"\u2713","Chi":"\u03A7","chi":"\u03C7","circ":"\u02C6","circeq":"\u2257","circlearrowleft":"\u21BA","circlearrowright":"\u21BB","circledast":"\u229B","circledcirc":"\u229A","circleddash":"\u229D","CircleDot":"\u2299","circledR":"\u00AE","circledS":"\u24C8","CircleMinus":"\u2296","CirclePlus":"\u2295","CircleTimes":"\u2297","cir":"\u25CB","cirE":"\u29C3","cire":"\u2257","cirfnint":"\u2A10","cirmid":"\u2AEF","cirscir":"\u29C2","ClockwiseContourIntegral":"\u2232","CloseCurlyDoubleQuote":"\u201D","CloseCurlyQuote":"\u2019","clubs":"\u2663","clubsuit":"\u2663","colon":":","Colon":"\u2237","Colone":"\u2A74","colone":"\u2254","coloneq":"\u2254","comma":",","commat":"@","comp":"\u2201","compfn":"\u2218","complement":"\u2201","complexes":"\u2102","cong":"\u2245","congdot":"\u2A6D","Congruent":"\u2261","conint":"\u222E","Conint":"\u222F","ContourIntegral":"\u222E","copf":"\uD835\uDD54","Copf":"\u2102","coprod":"\u2210","Coproduct":"\u2210","copy":"\u00A9","COPY":"\u00A9","copysr":"\u2117","CounterClockwiseContourIntegral":"\u2233","crarr":"\u21B5","cross":"\u2717","Cross":"\u2A2F","Cscr":"\uD835\uDC9E","cscr":"\uD835\uDCB8","csub":"\u2ACF","csube":"\u2AD1","csup":"\u2AD0","csupe":"\u2AD2","ctdot":"\u22EF","cudarrl":"\u2938","cudarrr":"\u2935","cuepr":"\u22DE","cuesc":"\u22DF","cularr":"\u21B6","cularrp":"\u293D","cupbrcap":"\u2A48","cupcap":"\u2A46","CupCap":"\u224D","cup":"\u222A","Cup":"\u22D3","cupcup":"\u2A4A","cupdot":"\u228D","cupor":"\u2A45","cups":"\u222A\uFE00","curarr":"\u21B7","curarrm":"\u293C","curlyeqprec":"\u22DE","curlyeqsucc":"\u22DF","curlyvee":"\u22CE","curlywedge":"\u22CF","curren":"\u00A4","curvearrowleft":"\u21B6","curvearrowright":"\u21B7","cuvee":"\u22CE","cuwed":"\u22CF","cwconint":"\u2232","cwint":"\u2231","cylcty":"\u232D","dagger":"\u2020","Dagger":"\u2021","daleth":"\u2138","darr":"\u2193","Darr":"\u21A1","dArr":"\u21D3","dash":"\u2010","Dashv":"\u2AE4","dashv":"\u22A3","dbkarow":"\u290F","dblac":"\u02DD","Dcaron":"\u010E","dcaron":"\u010F","Dcy":"\u0414","dcy":"\u0434","ddagger":"\u2021","ddarr":"\u21CA","DD":"\u2145","dd":"\u2146","DDotrahd":"\u2911","ddotseq":"\u2A77","deg":"\u00B0","Del":"\u2207","Delta":"\u0394","delta":"\u03B4","demptyv":"\u29B1","dfisht":"\u297F","Dfr":"\uD835\uDD07","dfr":"\uD835\uDD21","dHar":"\u2965","dharl":"\u21C3","dharr":"\u21C2","DiacriticalAcute":"\u00B4","DiacriticalDot":"\u02D9","DiacriticalDoubleAcute":"\u02DD","DiacriticalGrave":"`","DiacriticalTilde":"\u02DC","diam":"\u22C4","diamond":"\u22C4","Diamond":"\u22C4","diamondsuit":"\u2666","diams":"\u2666","die":"\u00A8","DifferentialD":"\u2146","digamma":"\u03DD","disin":"\u22F2","div":"\u00F7","divide":"\u00F7","divideontimes":"\u22C7","divonx":"\u22C7","DJcy":"\u0402","djcy":"\u0452","dlcorn":"\u231E","dlcrop":"\u230D","dollar":"$","Dopf":"\uD835\uDD3B","dopf":"\uD835\uDD55","Dot":"\u00A8","dot":"\u02D9","DotDot":"\u20DC","doteq":"\u2250","doteqdot":"\u2251","DotEqual":"\u2250","dotminus":"\u2238","dotplus":"\u2214","dotsquare":"\u22A1","doublebarwedge":"\u2306","DoubleContourIntegral":"\u222F","DoubleDot":"\u00A8","DoubleDownArrow":"\u21D3","DoubleLeftArrow":"\u21D0","DoubleLeftRightArrow":"\u21D4","DoubleLeftTee":"\u2AE4","DoubleLongLeftArrow":"\u27F8","DoubleLongLeftRightArrow":"\u27FA","DoubleLongRightArrow":"\u27F9","DoubleRightArrow":"\u21D2","DoubleRightTee":"\u22A8","DoubleUpArrow":"\u21D1","DoubleUpDownArrow":"\u21D5","DoubleVerticalBar":"\u2225","DownArrowBar":"\u2913","downarrow":"\u2193","DownArrow":"\u2193","Downarrow":"\u21D3","DownArrowUpArrow":"\u21F5","DownBreve":"\u0311","downdownarrows":"\u21CA","downharpoonleft":"\u21C3","downharpoonright":"\u21C2","DownLeftRightVector":"\u2950","DownLeftTeeVector":"\u295E","DownLeftVectorBar":"\u2956","DownLeftVector":"\u21BD","DownRightTeeVector":"\u295F","DownRightVectorBar":"\u2957","DownRightVector":"\u21C1","DownTeeArrow":"\u21A7","DownTee":"\u22A4","drbkarow":"\u2910","drcorn":"\u231F","drcrop":"\u230C","Dscr":"\uD835\uDC9F","dscr":"\uD835\uDCB9","DScy":"\u0405","dscy":"\u0455","dsol":"\u29F6","Dstrok":"\u0110","dstrok":"\u0111","dtdot":"\u22F1","dtri":"\u25BF","dtrif":"\u25BE","duarr":"\u21F5","duhar":"\u296F","dwangle":"\u29A6","DZcy":"\u040F","dzcy":"\u045F","dzigrarr":"\u27FF","Eacute":"\u00C9","eacute":"\u00E9","easter":"\u2A6E","Ecaron":"\u011A","ecaron":"\u011B","Ecirc":"\u00CA","ecirc":"\u00EA","ecir":"\u2256","ecolon":"\u2255","Ecy":"\u042D","ecy":"\u044D","eDDot":"\u2A77","Edot":"\u0116","edot":"\u0117","eDot":"\u2251","ee":"\u2147","efDot":"\u2252","Efr":"\uD835\uDD08","efr":"\uD835\uDD22","eg":"\u2A9A","Egrave":"\u00C8","egrave":"\u00E8","egs":"\u2A96","egsdot":"\u2A98","el":"\u2A99","Element":"\u2208","elinters":"\u23E7","ell":"\u2113","els":"\u2A95","elsdot":"\u2A97","Emacr":"\u0112","emacr":"\u0113","empty":"\u2205","emptyset":"\u2205","EmptySmallSquare":"\u25FB","emptyv":"\u2205","EmptyVerySmallSquare":"\u25AB","emsp13":"\u2004","emsp14":"\u2005","emsp":"\u2003","ENG":"\u014A","eng":"\u014B","ensp":"\u2002","Eogon":"\u0118","eogon":"\u0119","Eopf":"\uD835\uDD3C","eopf":"\uD835\uDD56","epar":"\u22D5","eparsl":"\u29E3","eplus":"\u2A71","epsi":"\u03B5","Epsilon":"\u0395","epsilon":"\u03B5","epsiv":"\u03F5","eqcirc":"\u2256","eqcolon":"\u2255","eqsim":"\u2242","eqslantgtr":"\u2A96","eqslantless":"\u2A95","Equal":"\u2A75","equals":"=","EqualTilde":"\u2242","equest":"\u225F","Equilibrium":"\u21CC","equiv":"\u2261","equivDD":"\u2A78","eqvparsl":"\u29E5","erarr":"\u2971","erDot":"\u2253","escr":"\u212F","Escr":"\u2130","esdot":"\u2250","Esim":"\u2A73","esim":"\u2242","Eta":"\u0397","eta":"\u03B7","ETH":"\u00D0","eth":"\u00F0","Euml":"\u00CB","euml":"\u00EB","euro":"\u20AC","excl":"!","exist":"\u2203","Exists":"\u2203","expectation":"\u2130","exponentiale":"\u2147","ExponentialE":"\u2147","fallingdotseq":"\u2252","Fcy":"\u0424","fcy":"\u0444","female":"\u2640","ffilig":"\uFB03","fflig":"\uFB00","ffllig":"\uFB04","Ffr":"\uD835\uDD09","ffr":"\uD835\uDD23","filig":"\uFB01","FilledSmallSquare":"\u25FC","FilledVerySmallSquare":"\u25AA","fjlig":"fj","flat":"\u266D","fllig":"\uFB02","fltns":"\u25B1","fnof":"\u0192","Fopf":"\uD835\uDD3D","fopf":"\uD835\uDD57","forall":"\u2200","ForAll":"\u2200","fork":"\u22D4","forkv":"\u2AD9","Fouriertrf":"\u2131","fpartint":"\u2A0D","frac12":"\u00BD","frac13":"\u2153","frac14":"\u00BC","frac15":"\u2155","frac16":"\u2159","frac18":"\u215B","frac23":"\u2154","frac25":"\u2156","frac34":"\u00BE","frac35":"\u2157","frac38":"\u215C","frac45":"\u2158","frac56":"\u215A","frac58":"\u215D","frac78":"\u215E","frasl":"\u2044","frown":"\u2322","fscr":"\uD835\uDCBB","Fscr":"\u2131","gacute":"\u01F5","Gamma":"\u0393","gamma":"\u03B3","Gammad":"\u03DC","gammad":"\u03DD","gap":"\u2A86","Gbreve":"\u011E","gbreve":"\u011F","Gcedil":"\u0122","Gcirc":"\u011C","gcirc":"\u011D","Gcy":"\u0413","gcy":"\u0433","Gdot":"\u0120","gdot":"\u0121","ge":"\u2265","gE":"\u2267","gEl":"\u2A8C","gel":"\u22DB","geq":"\u2265","geqq":"\u2267","geqslant":"\u2A7E","gescc":"\u2AA9","ges":"\u2A7E","gesdot":"\u2A80","gesdoto":"\u2A82","gesdotol":"\u2A84","gesl":"\u22DB\uFE00","gesles":"\u2A94","Gfr":"\uD835\uDD0A","gfr":"\uD835\uDD24","gg":"\u226B","Gg":"\u22D9","ggg":"\u22D9","gimel":"\u2137","GJcy":"\u0403","gjcy":"\u0453","gla":"\u2AA5","gl":"\u2277","glE":"\u2A92","glj":"\u2AA4","gnap":"\u2A8A","gnapprox":"\u2A8A","gne":"\u2A88","gnE":"\u2269","gneq":"\u2A88","gneqq":"\u2269","gnsim":"\u22E7","Gopf":"\uD835\uDD3E","gopf":"\uD835\uDD58","grave":"`","GreaterEqual":"\u2265","GreaterEqualLess":"\u22DB","GreaterFullEqual":"\u2267","GreaterGreater":"\u2AA2","GreaterLess":"\u2277","GreaterSlantEqual":"\u2A7E","GreaterTilde":"\u2273","Gscr":"\uD835\uDCA2","gscr":"\u210A","gsim":"\u2273","gsime":"\u2A8E","gsiml":"\u2A90","gtcc":"\u2AA7","gtcir":"\u2A7A","gt":">","GT":">","Gt":"\u226B","gtdot":"\u22D7","gtlPar":"\u2995","gtquest":"\u2A7C","gtrapprox":"\u2A86","gtrarr":"\u2978","gtrdot":"\u22D7","gtreqless":"\u22DB","gtreqqless":"\u2A8C","gtrless":"\u2277","gtrsim":"\u2273","gvertneqq":"\u2269\uFE00","gvnE":"\u2269\uFE00","Hacek":"\u02C7","hairsp":"\u200A","half":"\u00BD","hamilt":"\u210B","HARDcy":"\u042A","hardcy":"\u044A","harrcir":"\u2948","harr":"\u2194","hArr":"\u21D4","harrw":"\u21AD","Hat":"^","hbar":"\u210F","Hcirc":"\u0124","hcirc":"\u0125","hearts":"\u2665","heartsuit":"\u2665","hellip":"\u2026","hercon":"\u22B9","hfr":"\uD835\uDD25","Hfr":"\u210C","HilbertSpace":"\u210B","hksearow":"\u2925","hkswarow":"\u2926","hoarr":"\u21FF","homtht":"\u223B","hookleftarrow":"\u21A9","hookrightarrow":"\u21AA","hopf":"\uD835\uDD59","Hopf":"\u210D","horbar":"\u2015","HorizontalLine":"\u2500","hscr":"\uD835\uDCBD","Hscr":"\u210B","hslash":"\u210F","Hstrok":"\u0126","hstrok":"\u0127","HumpDownHump":"\u224E","HumpEqual":"\u224F","hybull":"\u2043","hyphen":"\u2010","Iacute":"\u00CD","iacute":"\u00ED","ic":"\u2063","Icirc":"\u00CE","icirc":"\u00EE","Icy":"\u0418","icy":"\u0438","Idot":"\u0130","IEcy":"\u0415","iecy":"\u0435","iexcl":"\u00A1","iff":"\u21D4","ifr":"\uD835\uDD26","Ifr":"\u2111","Igrave":"\u00CC","igrave":"\u00EC","ii":"\u2148","iiiint":"\u2A0C","iiint":"\u222D","iinfin":"\u29DC","iiota":"\u2129","IJlig":"\u0132","ijlig":"\u0133","Imacr":"\u012A","imacr":"\u012B","image":"\u2111","ImaginaryI":"\u2148","imagline":"\u2110","imagpart":"\u2111","imath":"\u0131","Im":"\u2111","imof":"\u22B7","imped":"\u01B5","Implies":"\u21D2","incare":"\u2105","in":"\u2208","infin":"\u221E","infintie":"\u29DD","inodot":"\u0131","intcal":"\u22BA","int":"\u222B","Int":"\u222C","integers":"\u2124","Integral":"\u222B","intercal":"\u22BA","Intersection":"\u22C2","intlarhk":"\u2A17","intprod":"\u2A3C","InvisibleComma":"\u2063","InvisibleTimes":"\u2062","IOcy":"\u0401","iocy":"\u0451","Iogon":"\u012E","iogon":"\u012F","Iopf":"\uD835\uDD40","iopf":"\uD835\uDD5A","Iota":"\u0399","iota":"\u03B9","iprod":"\u2A3C","iquest":"\u00BF","iscr":"\uD835\uDCBE","Iscr":"\u2110","isin":"\u2208","isindot":"\u22F5","isinE":"\u22F9","isins":"\u22F4","isinsv":"\u22F3","isinv":"\u2208","it":"\u2062","Itilde":"\u0128","itilde":"\u0129","Iukcy":"\u0406","iukcy":"\u0456","Iuml":"\u00CF","iuml":"\u00EF","Jcirc":"\u0134","jcirc":"\u0135","Jcy":"\u0419","jcy":"\u0439","Jfr":"\uD835\uDD0D","jfr":"\uD835\uDD27","jmath":"\u0237","Jopf":"\uD835\uDD41","jopf":"\uD835\uDD5B","Jscr":"\uD835\uDCA5","jscr":"\uD835\uDCBF","Jsercy":"\u0408","jsercy":"\u0458","Jukcy":"\u0404","jukcy":"\u0454","Kappa":"\u039A","kappa":"\u03BA","kappav":"\u03F0","Kcedil":"\u0136","kcedil":"\u0137","Kcy":"\u041A","kcy":"\u043A","Kfr":"\uD835\uDD0E","kfr":"\uD835\uDD28","kgreen":"\u0138","KHcy":"\u0425","khcy":"\u0445","KJcy":"\u040C","kjcy":"\u045C","Kopf":"\uD835\uDD42","kopf":"\uD835\uDD5C","Kscr":"\uD835\uDCA6","kscr":"\uD835\uDCC0","lAarr":"\u21DA","Lacute":"\u0139","lacute":"\u013A","laemptyv":"\u29B4","lagran":"\u2112","Lambda":"\u039B","lambda":"\u03BB","lang":"\u27E8","Lang":"\u27EA","langd":"\u2991","langle":"\u27E8","lap":"\u2A85","Laplacetrf":"\u2112","laquo":"\u00AB","larrb":"\u21E4","larrbfs":"\u291F","larr":"\u2190","Larr":"\u219E","lArr":"\u21D0","larrfs":"\u291D","larrhk":"\u21A9","larrlp":"\u21AB","larrpl":"\u2939","larrsim":"\u2973","larrtl":"\u21A2","latail":"\u2919","lAtail":"\u291B","lat":"\u2AAB","late":"\u2AAD","lates":"\u2AAD\uFE00","lbarr":"\u290C","lBarr":"\u290E","lbbrk":"\u2772","lbrace":"{","lbrack":"[","lbrke":"\u298B","lbrksld":"\u298F","lbrkslu":"\u298D","Lcaron":"\u013D","lcaron":"\u013E","Lcedil":"\u013B","lcedil":"\u013C","lceil":"\u2308","lcub":"{","Lcy":"\u041B","lcy":"\u043B","ldca":"\u2936","ldquo":"\u201C","ldquor":"\u201E","ldrdhar":"\u2967","ldrushar":"\u294B","ldsh":"\u21B2","le":"\u2264","lE":"\u2266","LeftAngleBracket":"\u27E8","LeftArrowBar":"\u21E4","leftarrow":"\u2190","LeftArrow":"\u2190","Leftarrow":"\u21D0","LeftArrowRightArrow":"\u21C6","leftarrowtail":"\u21A2","LeftCeiling":"\u2308","LeftDoubleBracket":"\u27E6","LeftDownTeeVector":"\u2961","LeftDownVectorBar":"\u2959","LeftDownVector":"\u21C3","LeftFloor":"\u230A","leftharpoondown":"\u21BD","leftharpoonup":"\u21BC","leftleftarrows":"\u21C7","leftrightarrow":"\u2194","LeftRightArrow":"\u2194","Leftrightarrow":"\u21D4","leftrightarrows":"\u21C6","leftrightharpoons":"\u21CB","leftrightsquigarrow":"\u21AD","LeftRightVector":"\u294E","LeftTeeArrow":"\u21A4","LeftTee":"\u22A3","LeftTeeVector":"\u295A","leftthreetimes":"\u22CB","LeftTriangleBar":"\u29CF","LeftTriangle":"\u22B2","LeftTriangleEqual":"\u22B4","LeftUpDownVector":"\u2951","LeftUpTeeVector":"\u2960","LeftUpVectorBar":"\u2958","LeftUpVector":"\u21BF","LeftVectorBar":"\u2952","LeftVector":"\u21BC","lEg":"\u2A8B","leg":"\u22DA","leq":"\u2264","leqq":"\u2266","leqslant":"\u2A7D","lescc":"\u2AA8","les":"\u2A7D","lesdot":"\u2A7F","lesdoto":"\u2A81","lesdotor":"\u2A83","lesg":"\u22DA\uFE00","lesges":"\u2A93","lessapprox":"\u2A85","lessdot":"\u22D6","lesseqgtr":"\u22DA","lesseqqgtr":"\u2A8B","LessEqualGreater":"\u22DA","LessFullEqual":"\u2266","LessGreater":"\u2276","lessgtr":"\u2276","LessLess":"\u2AA1","lesssim":"\u2272","LessSlantEqual":"\u2A7D","LessTilde":"\u2272","lfisht":"\u297C","lfloor":"\u230A","Lfr":"\uD835\uDD0F","lfr":"\uD835\uDD29","lg":"\u2276","lgE":"\u2A91","lHar":"\u2962","lhard":"\u21BD","lharu":"\u21BC","lharul":"\u296A","lhblk":"\u2584","LJcy":"\u0409","ljcy":"\u0459","llarr":"\u21C7","ll":"\u226A","Ll":"\u22D8","llcorner":"\u231E","Lleftarrow":"\u21DA","llhard":"\u296B","lltri":"\u25FA","Lmidot":"\u013F","lmidot":"\u0140","lmoustache":"\u23B0","lmoust":"\u23B0","lnap":"\u2A89","lnapprox":"\u2A89","lne":"\u2A87","lnE":"\u2268","lneq":"\u2A87","lneqq":"\u2268","lnsim":"\u22E6","loang":"\u27EC","loarr":"\u21FD","lobrk":"\u27E6","longleftarrow":"\u27F5","LongLeftArrow":"\u27F5","Longleftarrow":"\u27F8","longleftrightarrow":"\u27F7","LongLeftRightArrow":"\u27F7","Longleftrightarrow":"\u27FA","longmapsto":"\u27FC","longrightarrow":"\u27F6","LongRightArrow":"\u27F6","Longrightarrow":"\u27F9","looparrowleft":"\u21AB","looparrowright":"\u21AC","lopar":"\u2985","Lopf":"\uD835\uDD43","lopf":"\uD835\uDD5D","loplus":"\u2A2D","lotimes":"\u2A34","lowast":"\u2217","lowbar":"_","LowerLeftArrow":"\u2199","LowerRightArrow":"\u2198","loz":"\u25CA","lozenge":"\u25CA","lozf":"\u29EB","lpar":"(","lparlt":"\u2993","lrarr":"\u21C6","lrcorner":"\u231F","lrhar":"\u21CB","lrhard":"\u296D","lrm":"\u200E","lrtri":"\u22BF","lsaquo":"\u2039","lscr":"\uD835\uDCC1","Lscr":"\u2112","lsh":"\u21B0","Lsh":"\u21B0","lsim":"\u2272","lsime":"\u2A8D","lsimg":"\u2A8F","lsqb":"[","lsquo":"\u2018","lsquor":"\u201A","Lstrok":"\u0141","lstrok":"\u0142","ltcc":"\u2AA6","ltcir":"\u2A79","lt":"<","LT":"<","Lt":"\u226A","ltdot":"\u22D6","lthree":"\u22CB","ltimes":"\u22C9","ltlarr":"\u2976","ltquest":"\u2A7B","ltri":"\u25C3","ltrie":"\u22B4","ltrif":"\u25C2","ltrPar":"\u2996","lurdshar":"\u294A","luruhar":"\u2966","lvertneqq":"\u2268\uFE00","lvnE":"\u2268\uFE00","macr":"\u00AF","male":"\u2642","malt":"\u2720","maltese":"\u2720","Map":"\u2905","map":"\u21A6","mapsto":"\u21A6","mapstodown":"\u21A7","mapstoleft":"\u21A4","mapstoup":"\u21A5","marker":"\u25AE","mcomma":"\u2A29","Mcy":"\u041C","mcy":"\u043C","mdash":"\u2014","mDDot":"\u223A","measuredangle":"\u2221","MediumSpace":"\u205F","Mellintrf":"\u2133","Mfr":"\uD835\uDD10","mfr":"\uD835\uDD2A","mho":"\u2127","micro":"\u00B5","midast":"*","midcir":"\u2AF0","mid":"\u2223","middot":"\u00B7","minusb":"\u229F","minus":"\u2212","minusd":"\u2238","minusdu":"\u2A2A","MinusPlus":"\u2213","mlcp":"\u2ADB","mldr":"\u2026","mnplus":"\u2213","models":"\u22A7","Mopf":"\uD835\uDD44","mopf":"\uD835\uDD5E","mp":"\u2213","mscr":"\uD835\uDCC2","Mscr":"\u2133","mstpos":"\u223E","Mu":"\u039C","mu":"\u03BC","multimap":"\u22B8","mumap":"\u22B8","nabla":"\u2207","Nacute":"\u0143","nacute":"\u0144","nang":"\u2220\u20D2","nap":"\u2249","napE":"\u2A70\u0338","napid":"\u224B\u0338","napos":"\u0149","napprox":"\u2249","natural":"\u266E","naturals":"\u2115","natur":"\u266E","nbsp":"\u00A0","nbump":"\u224E\u0338","nbumpe":"\u224F\u0338","ncap":"\u2A43","Ncaron":"\u0147","ncaron":"\u0148","Ncedil":"\u0145","ncedil":"\u0146","ncong":"\u2247","ncongdot":"\u2A6D\u0338","ncup":"\u2A42","Ncy":"\u041D","ncy":"\u043D","ndash":"\u2013","nearhk":"\u2924","nearr":"\u2197","neArr":"\u21D7","nearrow":"\u2197","ne":"\u2260","nedot":"\u2250\u0338","NegativeMediumSpace":"\u200B","NegativeThickSpace":"\u200B","NegativeThinSpace":"\u200B","NegativeVeryThinSpace":"\u200B","nequiv":"\u2262","nesear":"\u2928","nesim":"\u2242\u0338","NestedGreaterGreater":"\u226B","NestedLessLess":"\u226A","NewLine":"\n","nexist":"\u2204","nexists":"\u2204","Nfr":"\uD835\uDD11","nfr":"\uD835\uDD2B","ngE":"\u2267\u0338","nge":"\u2271","ngeq":"\u2271","ngeqq":"\u2267\u0338","ngeqslant":"\u2A7E\u0338","nges":"\u2A7E\u0338","nGg":"\u22D9\u0338","ngsim":"\u2275","nGt":"\u226B\u20D2","ngt":"\u226F","ngtr":"\u226F","nGtv":"\u226B\u0338","nharr":"\u21AE","nhArr":"\u21CE","nhpar":"\u2AF2","ni":"\u220B","nis":"\u22FC","nisd":"\u22FA","niv":"\u220B","NJcy":"\u040A","njcy":"\u045A","nlarr":"\u219A","nlArr":"\u21CD","nldr":"\u2025","nlE":"\u2266\u0338","nle":"\u2270","nleftarrow":"\u219A","nLeftarrow":"\u21CD","nleftrightarrow":"\u21AE","nLeftrightarrow":"\u21CE","nleq":"\u2270","nleqq":"\u2266\u0338","nleqslant":"\u2A7D\u0338","nles":"\u2A7D\u0338","nless":"\u226E","nLl":"\u22D8\u0338","nlsim":"\u2274","nLt":"\u226A\u20D2","nlt":"\u226E","nltri":"\u22EA","nltrie":"\u22EC","nLtv":"\u226A\u0338","nmid":"\u2224","NoBreak":"\u2060","NonBreakingSpace":"\u00A0","nopf":"\uD835\uDD5F","Nopf":"\u2115","Not":"\u2AEC","not":"\u00AC","NotCongruent":"\u2262","NotCupCap":"\u226D","NotDoubleVerticalBar":"\u2226","NotElement":"\u2209","NotEqual":"\u2260","NotEqualTilde":"\u2242\u0338","NotExists":"\u2204","NotGreater":"\u226F","NotGreaterEqual":"\u2271","NotGreaterFullEqual":"\u2267\u0338","NotGreaterGreater":"\u226B\u0338","NotGreaterLess":"\u2279","NotGreaterSlantEqual":"\u2A7E\u0338","NotGreaterTilde":"\u2275","NotHumpDownHump":"\u224E\u0338","NotHumpEqual":"\u224F\u0338","notin":"\u2209","notindot":"\u22F5\u0338","notinE":"\u22F9\u0338","notinva":"\u2209","notinvb":"\u22F7","notinvc":"\u22F6","NotLeftTriangleBar":"\u29CF\u0338","NotLeftTriangle":"\u22EA","NotLeftTriangleEqual":"\u22EC","NotLess":"\u226E","NotLessEqual":"\u2270","NotLessGreater":"\u2278","NotLessLess":"\u226A\u0338","NotLessSlantEqual":"\u2A7D\u0338","NotLessTilde":"\u2274","NotNestedGreaterGreater":"\u2AA2\u0338","NotNestedLessLess":"\u2AA1\u0338","notni":"\u220C","notniva":"\u220C","notnivb":"\u22FE","notnivc":"\u22FD","NotPrecedes":"\u2280","NotPrecedesEqual":"\u2AAF\u0338","NotPrecedesSlantEqual":"\u22E0","NotReverseElement":"\u220C","NotRightTriangleBar":"\u29D0\u0338","NotRightTriangle":"\u22EB","NotRightTriangleEqual":"\u22ED","NotSquareSubset":"\u228F\u0338","NotSquareSubsetEqual":"\u22E2","NotSquareSuperset":"\u2290\u0338","NotSquareSupersetEqual":"\u22E3","NotSubset":"\u2282\u20D2","NotSubsetEqual":"\u2288","NotSucceeds":"\u2281","NotSucceedsEqual":"\u2AB0\u0338","NotSucceedsSlantEqual":"\u22E1","NotSucceedsTilde":"\u227F\u0338","NotSuperset":"\u2283\u20D2","NotSupersetEqual":"\u2289","NotTilde":"\u2241","NotTildeEqual":"\u2244","NotTildeFullEqual":"\u2247","NotTildeTilde":"\u2249","NotVerticalBar":"\u2224","nparallel":"\u2226","npar":"\u2226","nparsl":"\u2AFD\u20E5","npart":"\u2202\u0338","npolint":"\u2A14","npr":"\u2280","nprcue":"\u22E0","nprec":"\u2280","npreceq":"\u2AAF\u0338","npre":"\u2AAF\u0338","nrarrc":"\u2933\u0338","nrarr":"\u219B","nrArr":"\u21CF","nrarrw":"\u219D\u0338","nrightarrow":"\u219B","nRightarrow":"\u21CF","nrtri":"\u22EB","nrtrie":"\u22ED","nsc":"\u2281","nsccue":"\u22E1","nsce":"\u2AB0\u0338","Nscr":"\uD835\uDCA9","nscr":"\uD835\uDCC3","nshortmid":"\u2224","nshortparallel":"\u2226","nsim":"\u2241","nsime":"\u2244","nsimeq":"\u2244","nsmid":"\u2224","nspar":"\u2226","nsqsube":"\u22E2","nsqsupe":"\u22E3","nsub":"\u2284","nsubE":"\u2AC5\u0338","nsube":"\u2288","nsubset":"\u2282\u20D2","nsubseteq":"\u2288","nsubseteqq":"\u2AC5\u0338","nsucc":"\u2281","nsucceq":"\u2AB0\u0338","nsup":"\u2285","nsupE":"\u2AC6\u0338","nsupe":"\u2289","nsupset":"\u2283\u20D2","nsupseteq":"\u2289","nsupseteqq":"\u2AC6\u0338","ntgl":"\u2279","Ntilde":"\u00D1","ntilde":"\u00F1","ntlg":"\u2278","ntriangleleft":"\u22EA","ntrianglelefteq":"\u22EC","ntriangleright":"\u22EB","ntrianglerighteq":"\u22ED","Nu":"\u039D","nu":"\u03BD","num":"#","numero":"\u2116","numsp":"\u2007","nvap":"\u224D\u20D2","nvdash":"\u22AC","nvDash":"\u22AD","nVdash":"\u22AE","nVDash":"\u22AF","nvge":"\u2265\u20D2","nvgt":">\u20D2","nvHarr":"\u2904","nvinfin":"\u29DE","nvlArr":"\u2902","nvle":"\u2264\u20D2","nvlt":"<\u20D2","nvltrie":"\u22B4\u20D2","nvrArr":"\u2903","nvrtrie":"\u22B5\u20D2","nvsim":"\u223C\u20D2","nwarhk":"\u2923","nwarr":"\u2196","nwArr":"\u21D6","nwarrow":"\u2196","nwnear":"\u2927","Oacute":"\u00D3","oacute":"\u00F3","oast":"\u229B","Ocirc":"\u00D4","ocirc":"\u00F4","ocir":"\u229A","Ocy":"\u041E","ocy":"\u043E","odash":"\u229D","Odblac":"\u0150","odblac":"\u0151","odiv":"\u2A38","odot":"\u2299","odsold":"\u29BC","OElig":"\u0152","oelig":"\u0153","ofcir":"\u29BF","Ofr":"\uD835\uDD12","ofr":"\uD835\uDD2C","ogon":"\u02DB","Ograve":"\u00D2","ograve":"\u00F2","ogt":"\u29C1","ohbar":"\u29B5","ohm":"\u03A9","oint":"\u222E","olarr":"\u21BA","olcir":"\u29BE","olcross":"\u29BB","oline":"\u203E","olt":"\u29C0","Omacr":"\u014C","omacr":"\u014D","Omega":"\u03A9","omega":"\u03C9","Omicron":"\u039F","omicron":"\u03BF","omid":"\u29B6","ominus":"\u2296","Oopf":"\uD835\uDD46","oopf":"\uD835\uDD60","opar":"\u29B7","OpenCurlyDoubleQuote":"\u201C","OpenCurlyQuote":"\u2018","operp":"\u29B9","oplus":"\u2295","orarr":"\u21BB","Or":"\u2A54","or":"\u2228","ord":"\u2A5D","order":"\u2134","orderof":"\u2134","ordf":"\u00AA","ordm":"\u00BA","origof":"\u22B6","oror":"\u2A56","orslope":"\u2A57","orv":"\u2A5B","oS":"\u24C8","Oscr":"\uD835\uDCAA","oscr":"\u2134","Oslash":"\u00D8","oslash":"\u00F8","osol":"\u2298","Otilde":"\u00D5","otilde":"\u00F5","otimesas":"\u2A36","Otimes":"\u2A37","otimes":"\u2297","Ouml":"\u00D6","ouml":"\u00F6","ovbar":"\u233D","OverBar":"\u203E","OverBrace":"\u23DE","OverBracket":"\u23B4","OverParenthesis":"\u23DC","para":"\u00B6","parallel":"\u2225","par":"\u2225","parsim":"\u2AF3","parsl":"\u2AFD","part":"\u2202","PartialD":"\u2202","Pcy":"\u041F","pcy":"\u043F","percnt":"%","period":".","permil":"\u2030","perp":"\u22A5","pertenk":"\u2031","Pfr":"\uD835\uDD13","pfr":"\uD835\uDD2D","Phi":"\u03A6","phi":"\u03C6","phiv":"\u03D5","phmmat":"\u2133","phone":"\u260E","Pi":"\u03A0","pi":"\u03C0","pitchfork":"\u22D4","piv":"\u03D6","planck":"\u210F","planckh":"\u210E","plankv":"\u210F","plusacir":"\u2A23","plusb":"\u229E","pluscir":"\u2A22","plus":"+","plusdo":"\u2214","plusdu":"\u2A25","pluse":"\u2A72","PlusMinus":"\u00B1","plusmn":"\u00B1","plussim":"\u2A26","plustwo":"\u2A27","pm":"\u00B1","Poincareplane":"\u210C","pointint":"\u2A15","popf":"\uD835\uDD61","Popf":"\u2119","pound":"\u00A3","prap":"\u2AB7","Pr":"\u2ABB","pr":"\u227A","prcue":"\u227C","precapprox":"\u2AB7","prec":"\u227A","preccurlyeq":"\u227C","Precedes":"\u227A","PrecedesEqual":"\u2AAF","PrecedesSlantEqual":"\u227C","PrecedesTilde":"\u227E","preceq":"\u2AAF","precnapprox":"\u2AB9","precneqq":"\u2AB5","precnsim":"\u22E8","pre":"\u2AAF","prE":"\u2AB3","precsim":"\u227E","prime":"\u2032","Prime":"\u2033","primes":"\u2119","prnap":"\u2AB9","prnE":"\u2AB5","prnsim":"\u22E8","prod":"\u220F","Product":"\u220F","profalar":"\u232E","profline":"\u2312","profsurf":"\u2313","prop":"\u221D","Proportional":"\u221D","Proportion":"\u2237","propto":"\u221D","prsim":"\u227E","prurel":"\u22B0","Pscr":"\uD835\uDCAB","pscr":"\uD835\uDCC5","Psi":"\u03A8","psi":"\u03C8","puncsp":"\u2008","Qfr":"\uD835\uDD14","qfr":"\uD835\uDD2E","qint":"\u2A0C","qopf":"\uD835\uDD62","Qopf":"\u211A","qprime":"\u2057","Qscr":"\uD835\uDCAC","qscr":"\uD835\uDCC6","quaternions":"\u210D","quatint":"\u2A16","quest":"?","questeq":"\u225F","quot":"\"","QUOT":"\"","rAarr":"\u21DB","race":"\u223D\u0331","Racute":"\u0154","racute":"\u0155","radic":"\u221A","raemptyv":"\u29B3","rang":"\u27E9","Rang":"\u27EB","rangd":"\u2992","range":"\u29A5","rangle":"\u27E9","raquo":"\u00BB","rarrap":"\u2975","rarrb":"\u21E5","rarrbfs":"\u2920","rarrc":"\u2933","rarr":"\u2192","Rarr":"\u21A0","rArr":"\u21D2","rarrfs":"\u291E","rarrhk":"\u21AA","rarrlp":"\u21AC","rarrpl":"\u2945","rarrsim":"\u2974","Rarrtl":"\u2916","rarrtl":"\u21A3","rarrw":"\u219D","ratail":"\u291A","rAtail":"\u291C","ratio":"\u2236","rationals":"\u211A","rbarr":"\u290D","rBarr":"\u290F","RBarr":"\u2910","rbbrk":"\u2773","rbrace":"}","rbrack":"]","rbrke":"\u298C","rbrksld":"\u298E","rbrkslu":"\u2990","Rcaron":"\u0158","rcaron":"\u0159","Rcedil":"\u0156","rcedil":"\u0157","rceil":"\u2309","rcub":"}","Rcy":"\u0420","rcy":"\u0440","rdca":"\u2937","rdldhar":"\u2969","rdquo":"\u201D","rdquor":"\u201D","rdsh":"\u21B3","real":"\u211C","realine":"\u211B","realpart":"\u211C","reals":"\u211D","Re":"\u211C","rect":"\u25AD","reg":"\u00AE","REG":"\u00AE","ReverseElement":"\u220B","ReverseEquilibrium":"\u21CB","ReverseUpEquilibrium":"\u296F","rfisht":"\u297D","rfloor":"\u230B","rfr":"\uD835\uDD2F","Rfr":"\u211C","rHar":"\u2964","rhard":"\u21C1","rharu":"\u21C0","rharul":"\u296C","Rho":"\u03A1","rho":"\u03C1","rhov":"\u03F1","RightAngleBracket":"\u27E9","RightArrowBar":"\u21E5","rightarrow":"\u2192","RightArrow":"\u2192","Rightarrow":"\u21D2","RightArrowLeftArrow":"\u21C4","rightarrowtail":"\u21A3","RightCeiling":"\u2309","RightDoubleBracket":"\u27E7","RightDownTeeVector":"\u295D","RightDownVectorBar":"\u2955","RightDownVector":"\u21C2","RightFloor":"\u230B","rightharpoondown":"\u21C1","rightharpoonup":"\u21C0","rightleftarrows":"\u21C4","rightleftharpoons":"\u21CC","rightrightarrows":"\u21C9","rightsquigarrow":"\u219D","RightTeeArrow":"\u21A6","RightTee":"\u22A2","RightTeeVector":"\u295B","rightthreetimes":"\u22CC","RightTriangleBar":"\u29D0","RightTriangle":"\u22B3","RightTriangleEqual":"\u22B5","RightUpDownVector":"\u294F","RightUpTeeVector":"\u295C","RightUpVectorBar":"\u2954","RightUpVector":"\u21BE","RightVectorBar":"\u2953","RightVector":"\u21C0","ring":"\u02DA","risingdotseq":"\u2253","rlarr":"\u21C4","rlhar":"\u21CC","rlm":"\u200F","rmoustache":"\u23B1","rmoust":"\u23B1","rnmid":"\u2AEE","roang":"\u27ED","roarr":"\u21FE","robrk":"\u27E7","ropar":"\u2986","ropf":"\uD835\uDD63","Ropf":"\u211D","roplus":"\u2A2E","rotimes":"\u2A35","RoundImplies":"\u2970","rpar":")","rpargt":"\u2994","rppolint":"\u2A12","rrarr":"\u21C9","Rrightarrow":"\u21DB","rsaquo":"\u203A","rscr":"\uD835\uDCC7","Rscr":"\u211B","rsh":"\u21B1","Rsh":"\u21B1","rsqb":"]","rsquo":"\u2019","rsquor":"\u2019","rthree":"\u22CC","rtimes":"\u22CA","rtri":"\u25B9","rtrie":"\u22B5","rtrif":"\u25B8","rtriltri":"\u29CE","RuleDelayed":"\u29F4","ruluhar":"\u2968","rx":"\u211E","Sacute":"\u015A","sacute":"\u015B","sbquo":"\u201A","scap":"\u2AB8","Scaron":"\u0160","scaron":"\u0161","Sc":"\u2ABC","sc":"\u227B","sccue":"\u227D","sce":"\u2AB0","scE":"\u2AB4","Scedil":"\u015E","scedil":"\u015F","Scirc":"\u015C","scirc":"\u015D","scnap":"\u2ABA","scnE":"\u2AB6","scnsim":"\u22E9","scpolint":"\u2A13","scsim":"\u227F","Scy":"\u0421","scy":"\u0441","sdotb":"\u22A1","sdot":"\u22C5","sdote":"\u2A66","searhk":"\u2925","searr":"\u2198","seArr":"\u21D8","searrow":"\u2198","sect":"\u00A7","semi":";","seswar":"\u2929","setminus":"\u2216","setmn":"\u2216","sext":"\u2736","Sfr":"\uD835\uDD16","sfr":"\uD835\uDD30","sfrown":"\u2322","sharp":"\u266F","SHCHcy":"\u0429","shchcy":"\u0449","SHcy":"\u0428","shcy":"\u0448","ShortDownArrow":"\u2193","ShortLeftArrow":"\u2190","shortmid":"\u2223","shortparallel":"\u2225","ShortRightArrow":"\u2192","ShortUpArrow":"\u2191","shy":"\u00AD","Sigma":"\u03A3","sigma":"\u03C3","sigmaf":"\u03C2","sigmav":"\u03C2","sim":"\u223C","simdot":"\u2A6A","sime":"\u2243","simeq":"\u2243","simg":"\u2A9E","simgE":"\u2AA0","siml":"\u2A9D","simlE":"\u2A9F","simne":"\u2246","simplus":"\u2A24","simrarr":"\u2972","slarr":"\u2190","SmallCircle":"\u2218","smallsetminus":"\u2216","smashp":"\u2A33","smeparsl":"\u29E4","smid":"\u2223","smile":"\u2323","smt":"\u2AAA","smte":"\u2AAC","smtes":"\u2AAC\uFE00","SOFTcy":"\u042C","softcy":"\u044C","solbar":"\u233F","solb":"\u29C4","sol":"/","Sopf":"\uD835\uDD4A","sopf":"\uD835\uDD64","spades":"\u2660","spadesuit":"\u2660","spar":"\u2225","sqcap":"\u2293","sqcaps":"\u2293\uFE00","sqcup":"\u2294","sqcups":"\u2294\uFE00","Sqrt":"\u221A","sqsub":"\u228F","sqsube":"\u2291","sqsubset":"\u228F","sqsubseteq":"\u2291","sqsup":"\u2290","sqsupe":"\u2292","sqsupset":"\u2290","sqsupseteq":"\u2292","square":"\u25A1","Square":"\u25A1","SquareIntersection":"\u2293","SquareSubset":"\u228F","SquareSubsetEqual":"\u2291","SquareSuperset":"\u2290","SquareSupersetEqual":"\u2292","SquareUnion":"\u2294","squarf":"\u25AA","squ":"\u25A1","squf":"\u25AA","srarr":"\u2192","Sscr":"\uD835\uDCAE","sscr":"\uD835\uDCC8","ssetmn":"\u2216","ssmile":"\u2323","sstarf":"\u22C6","Star":"\u22C6","star":"\u2606","starf":"\u2605","straightepsilon":"\u03F5","straightphi":"\u03D5","strns":"\u00AF","sub":"\u2282","Sub":"\u22D0","subdot":"\u2ABD","subE":"\u2AC5","sube":"\u2286","subedot":"\u2AC3","submult":"\u2AC1","subnE":"\u2ACB","subne":"\u228A","subplus":"\u2ABF","subrarr":"\u2979","subset":"\u2282","Subset":"\u22D0","subseteq":"\u2286","subseteqq":"\u2AC5","SubsetEqual":"\u2286","subsetneq":"\u228A","subsetneqq":"\u2ACB","subsim":"\u2AC7","subsub":"\u2AD5","subsup":"\u2AD3","succapprox":"\u2AB8","succ":"\u227B","succcurlyeq":"\u227D","Succeeds":"\u227B","SucceedsEqual":"\u2AB0","SucceedsSlantEqual":"\u227D","SucceedsTilde":"\u227F","succeq":"\u2AB0","succnapprox":"\u2ABA","succneqq":"\u2AB6","succnsim":"\u22E9","succsim":"\u227F","SuchThat":"\u220B","sum":"\u2211","Sum":"\u2211","sung":"\u266A","sup1":"\u00B9","sup2":"\u00B2","sup3":"\u00B3","sup":"\u2283","Sup":"\u22D1","supdot":"\u2ABE","supdsub":"\u2AD8","supE":"\u2AC6","supe":"\u2287","supedot":"\u2AC4","Superset":"\u2283","SupersetEqual":"\u2287","suphsol":"\u27C9","suphsub":"\u2AD7","suplarr":"\u297B","supmult":"\u2AC2","supnE":"\u2ACC","supne":"\u228B","supplus":"\u2AC0","supset":"\u2283","Supset":"\u22D1","supseteq":"\u2287","supseteqq":"\u2AC6","supsetneq":"\u228B","supsetneqq":"\u2ACC","supsim":"\u2AC8","supsub":"\u2AD4","supsup":"\u2AD6","swarhk":"\u2926","swarr":"\u2199","swArr":"\u21D9","swarrow":"\u2199","swnwar":"\u292A","szlig":"\u00DF","Tab":"\t","target":"\u2316","Tau":"\u03A4","tau":"\u03C4","tbrk":"\u23B4","Tcaron":"\u0164","tcaron":"\u0165","Tcedil":"\u0162","tcedil":"\u0163","Tcy":"\u0422","tcy":"\u0442","tdot":"\u20DB","telrec":"\u2315","Tfr":"\uD835\uDD17","tfr":"\uD835\uDD31","there4":"\u2234","therefore":"\u2234","Therefore":"\u2234","Theta":"\u0398","theta":"\u03B8","thetasym":"\u03D1","thetav":"\u03D1","thickapprox":"\u2248","thicksim":"\u223C","ThickSpace":"\u205F\u200A","ThinSpace":"\u2009","thinsp":"\u2009","thkap":"\u2248","thksim":"\u223C","THORN":"\u00DE","thorn":"\u00FE","tilde":"\u02DC","Tilde":"\u223C","TildeEqual":"\u2243","TildeFullEqual":"\u2245","TildeTilde":"\u2248","timesbar":"\u2A31","timesb":"\u22A0","times":"\u00D7","timesd":"\u2A30","tint":"\u222D","toea":"\u2928","topbot":"\u2336","topcir":"\u2AF1","top":"\u22A4","Topf":"\uD835\uDD4B","topf":"\uD835\uDD65","topfork":"\u2ADA","tosa":"\u2929","tprime":"\u2034","trade":"\u2122","TRADE":"\u2122","triangle":"\u25B5","triangledown":"\u25BF","triangleleft":"\u25C3","trianglelefteq":"\u22B4","triangleq":"\u225C","triangleright":"\u25B9","trianglerighteq":"\u22B5","tridot":"\u25EC","trie":"\u225C","triminus":"\u2A3A","TripleDot":"\u20DB","triplus":"\u2A39","trisb":"\u29CD","tritime":"\u2A3B","trpezium":"\u23E2","Tscr":"\uD835\uDCAF","tscr":"\uD835\uDCC9","TScy":"\u0426","tscy":"\u0446","TSHcy":"\u040B","tshcy":"\u045B","Tstrok":"\u0166","tstrok":"\u0167","twixt":"\u226C","twoheadleftarrow":"\u219E","twoheadrightarrow":"\u21A0","Uacute":"\u00DA","uacute":"\u00FA","uarr":"\u2191","Uarr":"\u219F","uArr":"\u21D1","Uarrocir":"\u2949","Ubrcy":"\u040E","ubrcy":"\u045E","Ubreve":"\u016C","ubreve":"\u016D","Ucirc":"\u00DB","ucirc":"\u00FB","Ucy":"\u0423","ucy":"\u0443","udarr":"\u21C5","Udblac":"\u0170","udblac":"\u0171","udhar":"\u296E","ufisht":"\u297E","Ufr":"\uD835\uDD18","ufr":"\uD835\uDD32","Ugrave":"\u00D9","ugrave":"\u00F9","uHar":"\u2963","uharl":"\u21BF","uharr":"\u21BE","uhblk":"\u2580","ulcorn":"\u231C","ulcorner":"\u231C","ulcrop":"\u230F","ultri":"\u25F8","Umacr":"\u016A","umacr":"\u016B","uml":"\u00A8","UnderBar":"_","UnderBrace":"\u23DF","UnderBracket":"\u23B5","UnderParenthesis":"\u23DD","Union":"\u22C3","UnionPlus":"\u228E","Uogon":"\u0172","uogon":"\u0173","Uopf":"\uD835\uDD4C","uopf":"\uD835\uDD66","UpArrowBar":"\u2912","uparrow":"\u2191","UpArrow":"\u2191","Uparrow":"\u21D1","UpArrowDownArrow":"\u21C5","updownarrow":"\u2195","UpDownArrow":"\u2195","Updownarrow":"\u21D5","UpEquilibrium":"\u296E","upharpoonleft":"\u21BF","upharpoonright":"\u21BE","uplus":"\u228E","UpperLeftArrow":"\u2196","UpperRightArrow":"\u2197","upsi":"\u03C5","Upsi":"\u03D2","upsih":"\u03D2","Upsilon":"\u03A5","upsilon":"\u03C5","UpTeeArrow":"\u21A5","UpTee":"\u22A5","upuparrows":"\u21C8","urcorn":"\u231D","urcorner":"\u231D","urcrop":"\u230E","Uring":"\u016E","uring":"\u016F","urtri":"\u25F9","Uscr":"\uD835\uDCB0","uscr":"\uD835\uDCCA","utdot":"\u22F0","Utilde":"\u0168","utilde":"\u0169","utri":"\u25B5","utrif":"\u25B4","uuarr":"\u21C8","Uuml":"\u00DC","uuml":"\u00FC","uwangle":"\u29A7","vangrt":"\u299C","varepsilon":"\u03F5","varkappa":"\u03F0","varnothing":"\u2205","varphi":"\u03D5","varpi":"\u03D6","varpropto":"\u221D","varr":"\u2195","vArr":"\u21D5","varrho":"\u03F1","varsigma":"\u03C2","varsubsetneq":"\u228A\uFE00","varsubsetneqq":"\u2ACB\uFE00","varsupsetneq":"\u228B\uFE00","varsupsetneqq":"\u2ACC\uFE00","vartheta":"\u03D1","vartriangleleft":"\u22B2","vartriangleright":"\u22B3","vBar":"\u2AE8","Vbar":"\u2AEB","vBarv":"\u2AE9","Vcy":"\u0412","vcy":"\u0432","vdash":"\u22A2","vDash":"\u22A8","Vdash":"\u22A9","VDash":"\u22AB","Vdashl":"\u2AE6","veebar":"\u22BB","vee":"\u2228","Vee":"\u22C1","veeeq":"\u225A","vellip":"\u22EE","verbar":"|","Verbar":"\u2016","vert":"|","Vert":"\u2016","VerticalBar":"\u2223","VerticalLine":"|","VerticalSeparator":"\u2758","VerticalTilde":"\u2240","VeryThinSpace":"\u200A","Vfr":"\uD835\uDD19","vfr":"\uD835\uDD33","vltri":"\u22B2","vnsub":"\u2282\u20D2","vnsup":"\u2283\u20D2","Vopf":"\uD835\uDD4D","vopf":"\uD835\uDD67","vprop":"\u221D","vrtri":"\u22B3","Vscr":"\uD835\uDCB1","vscr":"\uD835\uDCCB","vsubnE":"\u2ACB\uFE00","vsubne":"\u228A\uFE00","vsupnE":"\u2ACC\uFE00","vsupne":"\u228B\uFE00","Vvdash":"\u22AA","vzigzag":"\u299A","Wcirc":"\u0174","wcirc":"\u0175","wedbar":"\u2A5F","wedge":"\u2227","Wedge":"\u22C0","wedgeq":"\u2259","weierp":"\u2118","Wfr":"\uD835\uDD1A","wfr":"\uD835\uDD34","Wopf":"\uD835\uDD4E","wopf":"\uD835\uDD68","wp":"\u2118","wr":"\u2240","wreath":"\u2240","Wscr":"\uD835\uDCB2","wscr":"\uD835\uDCCC","xcap":"\u22C2","xcirc":"\u25EF","xcup":"\u22C3","xdtri":"\u25BD","Xfr":"\uD835\uDD1B","xfr":"\uD835\uDD35","xharr":"\u27F7","xhArr":"\u27FA","Xi":"\u039E","xi":"\u03BE","xlarr":"\u27F5","xlArr":"\u27F8","xmap":"\u27FC","xnis":"\u22FB","xodot":"\u2A00","Xopf":"\uD835\uDD4F","xopf":"\uD835\uDD69","xoplus":"\u2A01","xotime":"\u2A02","xrarr":"\u27F6","xrArr":"\u27F9","Xscr":"\uD835\uDCB3","xscr":"\uD835\uDCCD","xsqcup":"\u2A06","xuplus":"\u2A04","xutri":"\u25B3","xvee":"\u22C1","xwedge":"\u22C0","Yacute":"\u00DD","yacute":"\u00FD","YAcy":"\u042F","yacy":"\u044F","Ycirc":"\u0176","ycirc":"\u0177","Ycy":"\u042B","ycy":"\u044B","yen":"\u00A5","Yfr":"\uD835\uDD1C","yfr":"\uD835\uDD36","YIcy":"\u0407","yicy":"\u0457","Yopf":"\uD835\uDD50","yopf":"\uD835\uDD6A","Yscr":"\uD835\uDCB4","yscr":"\uD835\uDCCE","YUcy":"\u042E","yucy":"\u044E","yuml":"\u00FF","Yuml":"\u0178","Zacute":"\u0179","zacute":"\u017A","Zcaron":"\u017D","zcaron":"\u017E","Zcy":"\u0417","zcy":"\u0437","Zdot":"\u017B","zdot":"\u017C","zeetrf":"\u2128","ZeroWidthSpace":"\u200B","Zeta":"\u0396","zeta":"\u03B6","zfr":"\uD835\uDD37","Zfr":"\u2128","ZHcy":"\u0416","zhcy":"\u0436","zigrarr":"\u21DD","zopf":"\uD835\uDD6B","Zopf":"\u2124","Zscr":"\uD835\uDCB5","zscr":"\uD835\uDCCF","zwj":"\u200D","zwnj":"\u200C"} -},{}],21:[function(require,module,exports){ -'use strict'; +},{}],19:[function(require,module,exports){ +var isFunction = require('is-function') -var isCallable = require('is-callable'); +module.exports = forEach -var toStr = Object.prototype.toString; -var hasOwnProperty = Object.prototype.hasOwnProperty; +var toString = Object.prototype.toString +var hasOwnProperty = Object.prototype.hasOwnProperty + +function forEach(list, iterator, context) { + if (!isFunction(iterator)) { + throw new TypeError('iterator must be a function') + } + + if (arguments.length < 3) { + context = this + } + + if (toString.call(list) === '[object Array]') + forEachArray(list, iterator, context) + else if (typeof list === 'string') + forEachString(list, iterator, context) + else + forEachObject(list, iterator, context) +} -var forEachArray = function forEachArray(array, iterator, receiver) { +function forEachArray(array, iterator, context) { for (var i = 0, len = array.length; i < len; i++) { if (hasOwnProperty.call(array, i)) { - if (receiver == null) { - iterator(array[i], i, array); - } else { - iterator.call(receiver, array[i], i, array); - } + iterator.call(context, array[i], i, array) } } -}; +} -var forEachString = function forEachString(string, iterator, receiver) { +function forEachString(string, iterator, context) { for (var i = 0, len = string.length; i < len; i++) { // no such thing as a sparse string. - if (receiver == null) { - iterator(string.charAt(i), i, string); - } else { - iterator.call(receiver, string.charAt(i), i, string); - } + iterator.call(context, string.charAt(i), i, string) } -}; +} -var forEachObject = function forEachObject(object, iterator, receiver) { +function forEachObject(object, iterator, context) { for (var k in object) { if (hasOwnProperty.call(object, k)) { - if (receiver == null) { - iterator(object[k], k, object); - } else { - iterator.call(receiver, object[k], k, object); - } + iterator.call(context, object[k], k, object) } } -}; - -var forEach = function forEach(list, iterator, thisArg) { - if (!isCallable(iterator)) { - throw new TypeError('iterator must be a function'); - } - - var receiver; - if (arguments.length >= 3) { - receiver = thisArg; - } - - if (toStr.call(list) === '[object Array]') { - forEachArray(list, iterator, receiver); - } else if (typeof list === 'string') { - forEachString(list, iterator, receiver); - } else { - forEachObject(list, iterator, receiver); - } -}; - -module.exports = forEach; +} -},{"is-callable":57}],22:[function(require,module,exports){ +},{"is-function":46}],20:[function(require,module,exports){ 'use strict'; function fuzzysearch (needle, haystack) { @@ -1970,7 +1885,7 @@ function fuzzysearch (needle, haystack) { module.exports = fuzzysearch; -},{}],23:[function(require,module,exports){ +},{}],21:[function(require,module,exports){ (function (global){ var win; @@ -1987,60 +1902,7 @@ if (typeof window !== "undefined") { module.exports = win; }).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {}) -},{}],24:[function(require,module,exports){ -/** - * Module dependencies - */ - -var css = require('css'); -var body = document.body; - -/** - * Export `Grow` - */ - -module.exports = Grow; - -/** - * Initialize `Grow` - * - * @param {Element} el - * @param {Object} options - */ - -function Grow(el, options) { - if(!(this instanceof Grow)) return new Grow(el, options); - this.el = el; - - var height = el.offsetHeight; - var scrollHeight = el.scrollHeight; - var paddingBottom = parseInt(css(el, 'padding-bottom')); - var paddingTop = parseInt(css(el, 'padding-top')); - var diff = paddingBottom + paddingTop; options = options || {}; - var extra = options.extra || 0; - - // Firefox: scrollHeight isn't full height on border-box - if (scrollHeight + diff <= height) diff = 0; - - // check if the element already has text - hasText(el.value) && css(el, { height: scrollHeight - diff + extra }); - - // update - var top = body.scrollTop; - css(el, { height: 0 }); - css(el, { height: el.scrollHeight + extra }); - body.scrollTop = top; -} - -/** - * Has Text - */ - -function hasText(str) { - return str.replace(/\s/g, '').length > 0; -} - -},{"css":47}],25:[function(require,module,exports){ +},{}],22:[function(require,module,exports){ 'use strict'; function pad (hash, len) { @@ -2100,7 +1962,7 @@ function sum (o) { module.exports = sum; -},{}],26:[function(require,module,exports){ +},{}],23:[function(require,module,exports){ var Highlight = function() { /* Utility functions */ @@ -2779,7 +2641,7 @@ var Highlight = function() { }; }; module.exports = Highlight; -},{}],27:[function(require,module,exports){ +},{}],24:[function(require,module,exports){ var Highlight = require('./highlight'); var hljs = new Highlight(); hljs.registerLanguage('bash', require('./languages/bash.js')); @@ -2791,7 +2653,7 @@ hljs.registerLanguage('http', require('./languages/http.js')); hljs.registerLanguage('ini', require('./languages/ini.js')); hljs.registerLanguage('json', require('./languages/json.js')); module.exports = hljs; -},{"./highlight":26,"./languages/bash.js":28,"./languages/css.js":29,"./languages/http.js":30,"./languages/ini.js":31,"./languages/javascript.js":32,"./languages/json.js":33,"./languages/markdown.js":34,"./languages/xml.js":35}],28:[function(require,module,exports){ +},{"./highlight":23,"./languages/bash.js":25,"./languages/css.js":26,"./languages/http.js":27,"./languages/ini.js":28,"./languages/javascript.js":29,"./languages/json.js":30,"./languages/markdown.js":31,"./languages/xml.js":32}],25:[function(require,module,exports){ module.exports = function(hljs) { var VAR = { className: 'variable', @@ -2853,7 +2715,7 @@ module.exports = function(hljs) { ] }; }; -},{}],29:[function(require,module,exports){ +},{}],26:[function(require,module,exports){ module.exports = function(hljs) { var IDENT_RE = '[a-zA-Z-][a-zA-Z0-9_-]*'; var FUNCTION = { @@ -2955,7 +2817,7 @@ module.exports = function(hljs) { ] }; }; -},{}],30:[function(require,module,exports){ +},{}],27:[function(require,module,exports){ module.exports = function(hljs) { return { illegal: '\\S', @@ -2989,7 +2851,7 @@ module.exports = function(hljs) { ] }; }; -},{}],31:[function(require,module,exports){ +},{}],28:[function(require,module,exports){ module.exports = function(hljs) { return { case_insensitive: true, @@ -3019,7 +2881,7 @@ module.exports = function(hljs) { ] }; }; -},{}],32:[function(require,module,exports){ +},{}],29:[function(require,module,exports){ module.exports = function(hljs) { return { aliases: ['js'], @@ -3090,7 +2952,7 @@ module.exports = function(hljs) { ] }; }; -},{}],33:[function(require,module,exports){ +},{}],30:[function(require,module,exports){ module.exports = function(hljs) { var LITERALS = {literal: 'true false null'}; var TYPES = [ @@ -3128,7 +2990,7 @@ module.exports = function(hljs) { illegal: '\\S' }; }; -},{}],34:[function(require,module,exports){ +},{}],31:[function(require,module,exports){ module.exports = function(hljs) { return { contains: [ @@ -3229,7 +3091,7 @@ module.exports = function(hljs) { ] }; }; -},{}],35:[function(require,module,exports){ +},{}],32:[function(require,module,exports){ module.exports = function(hljs) { var XML_IDENT_RE = '[A-Za-z0-9\\._:-]+'; var PHP = { @@ -3333,7 +3195,7 @@ module.exports = function(hljs) { ] }; }; -},{}],36:[function(require,module,exports){ +},{}],33:[function(require,module,exports){ // http://highlightjs.readthedocs.org/en/latest/css-classes-reference.html module.exports = [ @@ -3461,7 +3323,7 @@ module.exports = [ 'yardoctag' ] -},{}],37:[function(require,module,exports){ +},{}],34:[function(require,module,exports){ 'use strict'; var _hashSum = require('hash-sum'); @@ -4531,580 +4393,65 @@ function isEditable(el) { module.exports = horsey; -},{"bullseye":4,"contra/emitter":14,"crossvent":38,"fuzzysearch":22,"hash-sum":25,"lodash/debounce":40,"sektor":137,"sell":146}],38:[function(require,module,exports){ +},{"bullseye":4,"contra/emitter":12,"crossvent":35,"fuzzysearch":20,"hash-sum":22,"lodash/debounce":51,"sektor":131,"sell":140}],35:[function(require,module,exports){ arguments[4][8][0].apply(exports,arguments) -},{"./eventmap":39,"custom-event":17,"dup":8}],39:[function(require,module,exports){ +},{"./eventmap":36,"custom-event":15,"dup":8}],36:[function(require,module,exports){ arguments[4][9][0].apply(exports,arguments) -},{"dup":9}],40:[function(require,module,exports){ -var isObject = require('./isObject'), - now = require('./now'), - toNumber = require('./toNumber'); +},{"dup":9}],37:[function(require,module,exports){ +'use strict'; -/** Used as the `TypeError` message for "Functions" methods. */ -var FUNC_ERROR_TEXT = 'Expected a function'; +var toMap = require('./toMap'); +var uris = ['background', 'base', 'cite', 'href', 'longdesc', 'src', 'usemap']; -/* Built-in method references for those with the same name as other `lodash` methods. */ -var nativeMax = Math.max, - nativeMin = Math.min; +module.exports = { + uris: toMap(uris) // attributes that have an href and hence need to be sanitized +}; -/** - * Creates a debounced function that delays invoking `func` until after `wait` - * milliseconds have elapsed since the last time the debounced function was - * invoked. The debounced function comes with a `cancel` method to cancel - * delayed `func` invocations and a `flush` method to immediately invoke them. - * Provide an options object to indicate whether `func` should be invoked on - * the leading and/or trailing edge of the `wait` timeout. The `func` is invoked - * with the last arguments provided to the debounced function. Subsequent calls - * to the debounced function return the result of the last `func` invocation. - * - * **Note:** If `leading` and `trailing` options are `true`, `func` is invoked - * on the trailing edge of the timeout only if the debounced function is - * invoked more than once during the `wait` timeout. - * - * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/) - * for details over the differences between `_.debounce` and `_.throttle`. - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Function - * @param {Function} func The function to debounce. - * @param {number} [wait=0] The number of milliseconds to delay. - * @param {Object} [options={}] The options object. - * @param {boolean} [options.leading=false] - * Specify invoking on the leading edge of the timeout. - * @param {number} [options.maxWait] - * The maximum time `func` is allowed to be delayed before it's invoked. - * @param {boolean} [options.trailing=true] - * Specify invoking on the trailing edge of the timeout. - * @returns {Function} Returns the new debounced function. - * @example - * - * // Avoid costly calculations while the window size is in flux. - * jQuery(window).on('resize', _.debounce(calculateLayout, 150)); - * - * // Invoke `sendMail` when clicked, debouncing subsequent calls. - * jQuery(element).on('click', _.debounce(sendMail, 300, { - * 'leading': true, - * 'trailing': false - * })); - * - * // Ensure `batchLog` is invoked once after 1 second of debounced calls. - * var debounced = _.debounce(batchLog, 250, { 'maxWait': 1000 }); - * var source = new EventSource('/stream'); - * jQuery(source).on('message', debounced); - * - * // Cancel the trailing debounced invocation. - * jQuery(window).on('popstate', debounced.cancel); - */ -function debounce(func, wait, options) { - var lastArgs, - lastThis, - maxWait, - result, - timerId, - lastCallTime, - lastInvokeTime = 0, - leading = false, - maxing = false, - trailing = true; +},{"./toMap":45}],38:[function(require,module,exports){ +'use strict'; - if (typeof func != 'function') { - throw new TypeError(FUNC_ERROR_TEXT); - } - wait = toNumber(wait) || 0; - if (isObject(options)) { - leading = !!options.leading; - maxing = 'maxWait' in options; - maxWait = maxing ? nativeMax(toNumber(options.maxWait) || 0, wait) : maxWait; - trailing = 'trailing' in options ? !!options.trailing : trailing; - } +var defaults = { + allowedAttributes: { + a: ['href', 'name', 'target', 'title', 'aria-label'], + iframe: ['allowfullscreen', 'frameborder', 'src'], + img: ['src', 'alt', 'title', 'aria-label'] + }, + allowedClasses: {}, + allowedSchemes: ['http', 'https', 'mailto'], + allowedTags: [ + 'a', 'abbr', 'article', 'b', 'blockquote', 'br', 'caption', 'code', 'del', 'details', 'div', 'em', + 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'hr', 'i', 'img', 'ins', 'kbd', 'li', 'main', 'mark', + 'ol', 'p', 'pre', 'section', 'span', 'strike', 'strong', 'sub', 'summary', 'sup', 'table', + 'tbody', 'td', 'th', 'thead', 'tr', 'ul' + ], + filter: null +}; - function invokeFunc(time) { - var args = lastArgs, - thisArg = lastThis; +module.exports = defaults; - lastArgs = lastThis = undefined; - lastInvokeTime = time; - result = func.apply(thisArg, args); - return result; - } +},{}],39:[function(require,module,exports){ +'use strict'; - function leadingEdge(time) { - // Reset any `maxWait` timer. - lastInvokeTime = time; - // Start the timer for the trailing edge. - timerId = setTimeout(timerExpired, wait); - // Invoke the leading edge. - return leading ? invokeFunc(time) : result; - } +var toMap = require('./toMap'); +var voids = ['area', 'br', 'col', 'hr', 'img', 'wbr', 'input', 'base', 'basefont', 'link', 'meta']; - function remainingWait(time) { - var timeSinceLastCall = time - lastCallTime, - timeSinceLastInvoke = time - lastInvokeTime, - result = wait - timeSinceLastCall; +module.exports = { + voids: toMap(voids) +}; - return maxing ? nativeMin(result, maxWait - timeSinceLastInvoke) : result; - } +},{"./toMap":45}],40:[function(require,module,exports){ +'use strict'; - function shouldInvoke(time) { - var timeSinceLastCall = time - lastCallTime, - timeSinceLastInvoke = time - lastInvokeTime; +var he = require('he'); +var assign = require('assignment'); +var parser = require('./parser'); +var sanitizer = require('./sanitizer'); +var defaults = require('./defaults'); - // Either this is the first call, activity has stopped and we're at the - // trailing edge, the system time has gone backwards and we're treating - // it as the trailing edge, or we've hit the `maxWait` limit. - return (lastCallTime === undefined || (timeSinceLastCall >= wait) || - (timeSinceLastCall < 0) || (maxing && timeSinceLastInvoke >= maxWait)); - } - - function timerExpired() { - var time = now(); - if (shouldInvoke(time)) { - return trailingEdge(time); - } - // Restart the timer. - timerId = setTimeout(timerExpired, remainingWait(time)); - } - - function trailingEdge(time) { - timerId = undefined; - - // Only invoke if we have `lastArgs` which means `func` has been - // debounced at least once. - if (trailing && lastArgs) { - return invokeFunc(time); - } - lastArgs = lastThis = undefined; - return result; - } - - function cancel() { - lastInvokeTime = 0; - lastArgs = lastCallTime = lastThis = timerId = undefined; - } - - function flush() { - return timerId === undefined ? result : trailingEdge(now()); - } - - function debounced() { - var time = now(), - isInvoking = shouldInvoke(time); - - lastArgs = arguments; - lastThis = this; - lastCallTime = time; - - if (isInvoking) { - if (timerId === undefined) { - return leadingEdge(lastCallTime); - } - if (maxing) { - // Handle invocations in a tight loop. - timerId = setTimeout(timerExpired, wait); - return invokeFunc(lastCallTime); - } - } - if (timerId === undefined) { - timerId = setTimeout(timerExpired, wait); - } - return result; - } - debounced.cancel = cancel; - debounced.flush = flush; - return debounced; -} - -module.exports = debounce; - -},{"./isObject":42,"./now":45,"./toNumber":46}],41:[function(require,module,exports){ -var isObject = require('./isObject'); - -/** `Object#toString` result references. */ -var funcTag = '[object Function]', - genTag = '[object GeneratorFunction]'; - -/** Used for built-in method references. */ -var objectProto = Object.prototype; - -/** - * Used to resolve the - * [`toStringTag`](http://ecma-international.org/ecma-262/6.0/#sec-object.prototype.tostring) - * of values. - */ -var objectToString = objectProto.toString; - -/** - * Checks if `value` is classified as a `Function` object. - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is correctly classified, - * else `false`. - * @example - * - * _.isFunction(_); - * // => true - * - * _.isFunction(/abc/); - * // => false - */ -function isFunction(value) { - // The use of `Object#toString` avoids issues with the `typeof` operator - // in Safari 8 which returns 'object' for typed array and weak map constructors, - // and PhantomJS 1.9 which returns 'function' for `NodeList` instances. - var tag = isObject(value) ? objectToString.call(value) : ''; - return tag == funcTag || tag == genTag; -} - -module.exports = isFunction; - -},{"./isObject":42}],42:[function(require,module,exports){ -/** - * Checks if `value` is the - * [language type](http://www.ecma-international.org/ecma-262/6.0/#sec-ecmascript-language-types) - * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`) - * - * @static - * @memberOf _ - * @since 0.1.0 - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is an object, else `false`. - * @example - * - * _.isObject({}); - * // => true - * - * _.isObject([1, 2, 3]); - * // => true - * - * _.isObject(_.noop); - * // => true - * - * _.isObject(null); - * // => false - */ -function isObject(value) { - var type = typeof value; - return !!value && (type == 'object' || type == 'function'); -} - -module.exports = isObject; - -},{}],43:[function(require,module,exports){ -/** - * Checks if `value` is object-like. A value is object-like if it's not `null` - * and has a `typeof` result of "object". - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is object-like, else `false`. - * @example - * - * _.isObjectLike({}); - * // => true - * - * _.isObjectLike([1, 2, 3]); - * // => true - * - * _.isObjectLike(_.noop); - * // => false - * - * _.isObjectLike(null); - * // => false - */ -function isObjectLike(value) { - return !!value && typeof value == 'object'; -} - -module.exports = isObjectLike; - -},{}],44:[function(require,module,exports){ -var isObjectLike = require('./isObjectLike'); - -/** `Object#toString` result references. */ -var symbolTag = '[object Symbol]'; - -/** Used for built-in method references. */ -var objectProto = Object.prototype; - -/** - * Used to resolve the - * [`toStringTag`](http://ecma-international.org/ecma-262/6.0/#sec-object.prototype.tostring) - * of values. - */ -var objectToString = objectProto.toString; - -/** - * Checks if `value` is classified as a `Symbol` primitive or object. - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Lang - * @param {*} value The value to check. - * @returns {boolean} Returns `true` if `value` is correctly classified, - * else `false`. - * @example - * - * _.isSymbol(Symbol.iterator); - * // => true - * - * _.isSymbol('abc'); - * // => false - */ -function isSymbol(value) { - return typeof value == 'symbol' || - (isObjectLike(value) && objectToString.call(value) == symbolTag); -} - -module.exports = isSymbol; - -},{"./isObjectLike":43}],45:[function(require,module,exports){ -/** - * Gets the timestamp of the number of milliseconds that have elapsed since - * the Unix epoch (1 January 1970 00:00:00 UTC). - * - * @static - * @memberOf _ - * @since 2.4.0 - * @category Date - * @returns {number} Returns the timestamp. - * @example - * - * _.defer(function(stamp) { - * console.log(_.now() - stamp); - * }, _.now()); - * // => Logs the number of milliseconds it took for the deferred invocation. - */ -function now() { - return Date.now(); -} - -module.exports = now; - -},{}],46:[function(require,module,exports){ -var isFunction = require('./isFunction'), - isObject = require('./isObject'), - isSymbol = require('./isSymbol'); - -/** Used as references for various `Number` constants. */ -var NAN = 0 / 0; - -/** Used to match leading and trailing whitespace. */ -var reTrim = /^\s+|\s+$/g; - -/** Used to detect bad signed hexadecimal string values. */ -var reIsBadHex = /^[-+]0x[0-9a-f]+$/i; - -/** Used to detect binary string values. */ -var reIsBinary = /^0b[01]+$/i; - -/** Used to detect octal string values. */ -var reIsOctal = /^0o[0-7]+$/i; - -/** Built-in method references without a dependency on `root`. */ -var freeParseInt = parseInt; - -/** - * Converts `value` to a number. - * - * @static - * @memberOf _ - * @since 4.0.0 - * @category Lang - * @param {*} value The value to process. - * @returns {number} Returns the number. - * @example - * - * _.toNumber(3.2); - * // => 3.2 - * - * _.toNumber(Number.MIN_VALUE); - * // => 5e-324 - * - * _.toNumber(Infinity); - * // => Infinity - * - * _.toNumber('3.2'); - * // => 3.2 - */ -function toNumber(value) { - if (typeof value == 'number') { - return value; - } - if (isSymbol(value)) { - return NAN; - } - if (isObject(value)) { - var other = isFunction(value.valueOf) ? value.valueOf() : value; - value = isObject(other) ? (other + '') : other; - } - if (typeof value != 'string') { - return value === 0 ? value : +value; - } - value = value.replace(reTrim, ''); - var isBinary = reIsBinary.test(value); - return (isBinary || reIsOctal.test(value)) - ? freeParseInt(value.slice(2), isBinary ? 2 : 8) - : (reIsBadHex.test(value) ? NAN : +value); -} - -module.exports = toNumber; - -},{"./isFunction":41,"./isObject":42,"./isSymbol":44}],47:[function(require,module,exports){ - -var camel = require('to-camel-case') - , computed = require('computed-style') - , type = require('type'); - - -/** - * Expose `css`. - */ - -module.exports = css; - -/** - * Don't append `px`. - */ - -var ignore = { - columnCount: true, - fillOpacity: true, - fontWeight: true, - lineHeight: true, - opacity: true, - orphans: true, - widows: true, - zIndex: true, - zoom: true -}; - -/** - * Get or set CSS properties of an `el`. - * - * @param {Element} el - * @param {String|Object} prop - * @param {String} value (optional) - */ - -function css (el, prop, value) { - if (1 == arguments.length) return wrapped(el); - - if (type(prop) == 'object') { - for (var key in prop) set(el, key, prop[key]); - return; - } - - return arguments.length == 3 - ? set(el, prop, value) - : get(el, prop); -} - -/** - * Wrap the given `el`. - * - * @param {Element} el - */ - -function wrapped (el) { - return function(){ - var args = [].slice.call(arguments); - return css.apply(null, [el].concat(args)); - }; -} - - -/** - * Get the current CSS `prop` value of an `el`. - * - * @param {Element} el - * @param {String} prop - */ - -function get (el, prop) { - return computed(el)[prop]; -} - - -/** - * Set a CSS `prop` to `value` on an `element`. - * - * @param {Element} element - * @param {String} prop - * @param {String} value - */ - -function set (el, prop, value) { - prop = camel(prop); - if ('number' == typeof value && !ignore[prop]) value += 'px'; - el.style[prop] = value; -} - -},{"computed-style":12,"to-camel-case":151,"type":11}],48:[function(require,module,exports){ -'use strict'; - -var toMap = require('./toMap'); -var uris = ['background', 'base', 'cite', 'href', 'longdesc', 'src', 'usemap']; - -module.exports = { - uris: toMap(uris) // attributes that have an href and hence need to be sanitized -}; - -},{"./toMap":56}],49:[function(require,module,exports){ -'use strict'; - -var defaults = { - allowedAttributes: { - a: ['href', 'name', 'target', 'title', 'aria-label'], - iframe: ['allowfullscreen', 'frameborder', 'src'], - img: ['src', 'alt', 'title', 'aria-label'] - }, - allowedClasses: {}, - allowedSchemes: ['http', 'https', 'mailto'], - allowedTags: [ - 'a', 'abbr', 'article', 'b', 'blockquote', 'br', 'caption', 'code', 'del', 'details', 'div', 'em', - 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'hr', 'i', 'img', 'ins', 'kbd', 'li', 'main', 'mark', - 'ol', 'p', 'pre', 'section', 'span', 'strike', 'strong', 'sub', 'summary', 'sup', 'table', - 'tbody', 'td', 'th', 'thead', 'tr', 'ul' - ], - filter: null -}; - -module.exports = defaults; - -},{}],50:[function(require,module,exports){ -'use strict'; - -var toMap = require('./toMap'); -var voids = ['area', 'br', 'col', 'hr', 'img', 'wbr', 'input', 'base', 'basefont', 'link', 'meta']; - -module.exports = { - voids: toMap(voids) -}; - -},{"./toMap":56}],51:[function(require,module,exports){ -'use strict'; - -var he = require('he'); -var assign = require('assignment'); -var parser = require('./parser'); -var sanitizer = require('./sanitizer'); -var defaults = require('./defaults'); - -function insane (html, options, strict) { - var buffer = []; - var configuration = strict === true ? options : assign({}, defaults, options); - var handler = sanitizer(buffer, configuration); +function insane (html, options, strict) { + var buffer = []; + var configuration = strict === true ? options : assign({}, defaults, options); + var handler = sanitizer(buffer, configuration); parser(html, handler); @@ -5114,14 +4461,14 @@ function insane (html, options, strict) { insane.defaults = defaults; module.exports = insane; -},{"./defaults":49,"./parser":53,"./sanitizer":54,"assignment":1,"he":55}],52:[function(require,module,exports){ +},{"./defaults":38,"./parser":42,"./sanitizer":43,"assignment":1,"he":44}],41:[function(require,module,exports){ 'use strict'; module.exports = function lowercase (string) { return typeof string === 'string' ? string.toLowerCase() : string; }; -},{}],53:[function(require,module,exports){ +},{}],42:[function(require,module,exports){ 'use strict'; var he = require('he'); @@ -5260,7 +4607,7 @@ function parser (html, handler) { module.exports = parser; -},{"./attributes":48,"./elements":50,"./lowercase":52,"he":55}],54:[function(require,module,exports){ +},{"./attributes":37,"./elements":39,"./lowercase":41,"he":44}],43:[function(require,module,exports){ 'use strict'; var he = require('he'); @@ -5383,431 +4730,815 @@ function sanitizer (buffer, options) { } } - function unignore (tag) { - if (context.ignoring === tag) { - if (--context.depth <= 0) { - reset(); - } + function unignore (tag) { + if (context.ignoring === tag) { + if (--context.depth <= 0) { + reset(); + } + } + } + + function reset () { + context = { ignoring: false, depth: 0 }; + } +} + +module.exports = sanitizer; + +},{"./attributes":37,"./lowercase":41,"he":44}],44:[function(require,module,exports){ +'use strict'; + +var escapes = { + '&': '&', + '<': '<', + '>': '>', + '"': '"', + "'": ''' +}; +var unescapes = { + '&': '&', + '<': '<', + '>': '>', + '"': '"', + ''': "'" +}; +var rescaped = /(&|<|>|"|')/g; +var runescaped = /[&<>"']/g; + +function escapeHtmlChar (match) { + return escapes[match]; +} +function unescapeHtmlChar (match) { + return unescapes[match]; +} + +function escapeHtml (text) { + return text == null ? '' : String(text).replace(runescaped, escapeHtmlChar); +} + +function unescapeHtml (html) { + return html == null ? '' : String(html).replace(rescaped, unescapeHtmlChar); +} + +escapeHtml.options = unescapeHtml.options = {}; + +module.exports = { + encode: escapeHtml, + escape: escapeHtml, + decode: unescapeHtml, + unescape: unescapeHtml, + version: '1.0.0-browser' +}; + +},{}],45:[function(require,module,exports){ +'use strict'; + +function toMap (list) { + return list.reduce(asKey, {}); +} + +function asKey (accumulator, item) { + accumulator[item] = true; + return accumulator; +} + +module.exports = toMap; + +},{}],46:[function(require,module,exports){ +module.exports = isFunction + +var toString = Object.prototype.toString + +function isFunction (fn) { + var string = toString.call(fn) + return string === '[object Function]' || + (typeof fn === 'function' && string !== '[object RegExp]') || + (typeof window !== 'undefined' && + // IE8 and below + (fn === window.setTimeout || + fn === window.alert || + fn === window.confirm || + fn === window.prompt)) +}; + +},{}],47:[function(require,module,exports){ +'use strict'; + +var sektor = require('sektor'); +var crossvent = require('crossvent'); +var rspaces = /\s+/g; +var keymap = { + 13: 'enter', + 27: 'esc', + 32: 'space' +}; +var handlers = {}; + +crossvent.add(window, 'keydown', keydown); + +function clear (context) { + if (context) { + if (context in handlers) { + handlers[context] = {}; + } + } else { + handlers = {}; + } +} + +function switchboard (then, combo, options, fn) { + if (fn === void 0) { + fn = options; + options = {}; + } + + var context = options.context || 'defaults'; + + if (!fn) { + return; + } + + if (handlers[context] === void 0) { + handlers[context] = {}; + } + + combo.toLowerCase().split(rspaces).forEach(item); + + function item (keys) { + var c = keys.trim(); + if (c.length === 0) { + return; + } + then(handlers[context], c, options, fn); + } +} + +function on (combo, options, fn) { + switchboard(add, combo, options, fn); + + function add (area, key, options, fn) { + var handler = { + handle: fn, + filter: options.filter + }; + if (area[key]) { + area[key].push(handler); + } else { + area[key] = [handler]; + } + } +} + +function off (combo, options, fn) { + switchboard(rm, combo, options, fn); + + function rm (area, key, options, fn) { + if (area[key]) { + area[key] = area[key].filter(matching); + } + + function matching (handler) { + return handler.handle === fn && handler.filter === options.filter; + } + } +} + +function getKeyCode (e) { + return e.which || e.keyCode || e.charCode; +} + +function keydown (e) { + var code = getKeyCode(e); + var key = keymap[code] || String.fromCharCode(code); + if (key) { + handle(key, e); + } +} + +function parseKeyCombo (key, e) { + var combo = [key]; + if (e.shiftKey) { + combo.unshift('shift'); + } + if (e.altKey) { + combo.unshift('alt'); + } + if (e.ctrlKey ^ e.metaKey) { + combo.unshift('cmd'); + } + return combo.join('+').toLowerCase(); +} + +function handle (key, e) { + var combo = parseKeyCombo(key, e); + var context; + for (context in handlers) { + if (handlers[context][combo]) { + handlers[context][combo].forEach(exec); + } + } + + function filtered (handler) { + var filter = handler.filter; + if (!filter) { + return; + } + + var el = e.target; + var selector = typeof filter === 'string'; + if (selector) { + return sektor.matchesSelector(el, filter) === false; + } + while (el.parentElement && el !== filter) { + el = el.parentElement; + } + return el !== filter; + } + + function exec (handler) { + if (filtered(handler)) { + return; } + handler.handle(e); } +} - function reset () { - context = { ignoring: false, depth: 0 }; +module.exports = { + on: on, + off: off, + clear: clear, + handlers: handlers +}; + +},{"crossvent":13,"sektor":131}],48:[function(require,module,exports){ +(function (global){ +'use strict'; + +var stub = require('./stub'); +var tracking = require('./tracking'); +var ls = 'localStorage' in global && global.localStorage ? global.localStorage : stub; + +function accessor (key, value) { + if (arguments.length === 1) { + return get(key); } + return set(key, value); } -module.exports = sanitizer; +function get (key) { + return JSON.parse(ls.getItem(key)); +} -},{"./attributes":48,"./lowercase":52,"he":55}],55:[function(require,module,exports){ -'use strict'; +function set (key, value) { + try { + ls.setItem(key, JSON.stringify(value)); + return true; + } catch (e) { + return false; + } +} -var escapes = { - '&': '&', - '<': '<', - '>': '>', - '"': '"', - "'": ''' -}; -var unescapes = { - '&': '&', - '<': '<', - '>': '>', - '"': '"', - ''': "'" -}; -var rescaped = /(&|<|>|"|')/g; -var runescaped = /[&<>"']/g; +function remove (key) { + return ls.removeItem(key); +} -function escapeHtmlChar (match) { - return escapes[match]; +function clear () { + return ls.clear(); } -function unescapeHtmlChar (match) { - return unescapes[match]; + +accessor.set = set; +accessor.get = get; +accessor.remove = remove; +accessor.clear = clear; +accessor.on = tracking.on; +accessor.off = tracking.off; + +module.exports = accessor; + +}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {}) +},{"./stub":49,"./tracking":50}],49:[function(require,module,exports){ +'use strict'; + +var ms = {}; + +function getItem (key) { + return key in ms ? ms[key] : null; } -function escapeHtml (text) { - return text == null ? '' : String(text).replace(runescaped, escapeHtmlChar); +function setItem (key, value) { + ms[key] = value; + return true; } -function unescapeHtml (html) { - return html == null ? '' : String(html).replace(rescaped, unescapeHtmlChar); +function removeItem (key) { + var found = key in ms; + if (found) { + return delete ms[key]; + } + return false; } -escapeHtml.options = unescapeHtml.options = {}; +function clear () { + ms = {}; + return true; +} module.exports = { - encode: escapeHtml, - escape: escapeHtml, - decode: unescapeHtml, - unescape: unescapeHtml, - version: '1.0.0-browser' + getItem: getItem, + setItem: setItem, + removeItem: removeItem, + clear: clear }; -},{}],56:[function(require,module,exports){ +},{}],50:[function(require,module,exports){ +(function (global){ 'use strict'; -function toMap (list) { - return list.reduce(asKey, {}); +var listeners = {}; +var listening = false; + +function listen () { + if (global.addEventListener) { + global.addEventListener('storage', change, false); + } else if (global.attachEvent) { + global.attachEvent('onstorage', change); + } else { + global.onstorage = change; + } } -function asKey (accumulator, item) { - accumulator[item] = true; - return accumulator; +function change (e) { + if (!e) { + e = global.event; + } + var all = listeners[e.key]; + if (all) { + all.forEach(fire); + } + + function fire (listener) { + listener(JSON.parse(e.newValue), JSON.parse(e.oldValue), e.url || e.uri); + } } -module.exports = toMap; +function on (key, fn) { + if (listeners[key]) { + listeners[key].push(fn); + } else { + listeners[key] = [fn]; + } + if (listening === false) { + listen(); + } +} -},{}],57:[function(require,module,exports){ -'use strict'; +function off (key, fn) { + var ns = listeners[key]; + if (ns.length > 1) { + ns.splice(ns.indexOf(fn), 1); + } else { + listeners[key] = []; + } +} -var fnToStr = Function.prototype.toString; - -var constructorRegex = /^\s*class /; -var isES6ClassFn = function isES6ClassFn(value) { - try { - var fnStr = fnToStr.call(value); - var singleStripped = fnStr.replace(/\/\/.*\n/g, ''); - var multiStripped = singleStripped.replace(/\/\*[.\s\S]*\*\//g, ''); - var spaceStripped = multiStripped.replace(/\n/mg, ' ').replace(/ {2}/g, ' '); - return constructorRegex.test(spaceStripped); - } catch (e) { - return false; // not a function - } +module.exports = { + on: on, + off: off }; -var tryFunctionObject = function tryFunctionObject(value) { - try { - if (isES6ClassFn(value)) { return false; } - fnToStr.call(value); - return true; - } catch (e) { - return false; - } -}; -var toStr = Object.prototype.toString; -var fnClass = '[object Function]'; -var genClass = '[object GeneratorFunction]'; -var hasToStringTag = typeof Symbol === 'function' && typeof Symbol.toStringTag === 'symbol'; - -module.exports = function isCallable(value) { - if (!value) { return false; } - if (typeof value !== 'function' && typeof value !== 'object') { return false; } - if (hasToStringTag) { return tryFunctionObject(value); } - if (isES6ClassFn(value)) { return false; } - var strClass = toStr.call(value); - return strClass === fnClass || strClass === genClass; -}; +}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {}) +},{}],51:[function(require,module,exports){ +var isObject = require('./isObject'), + now = require('./now'), + toNumber = require('./toNumber'); -},{}],58:[function(require,module,exports){ -module.exports = isFunction +/** Used as the `TypeError` message for "Functions" methods. */ +var FUNC_ERROR_TEXT = 'Expected a function'; -var toString = Object.prototype.toString +/* Built-in method references for those with the same name as other `lodash` methods. */ +var nativeMax = Math.max, + nativeMin = Math.min; -function isFunction (fn) { - var string = toString.call(fn) - return string === '[object Function]' || - (typeof fn === 'function' && string !== '[object RegExp]') || - (typeof window !== 'undefined' && - // IE8 and below - (fn === window.setTimeout || - fn === window.alert || - fn === window.confirm || - fn === window.prompt)) -}; +/** + * Creates a debounced function that delays invoking `func` until after `wait` + * milliseconds have elapsed since the last time the debounced function was + * invoked. The debounced function comes with a `cancel` method to cancel + * delayed `func` invocations and a `flush` method to immediately invoke them. + * Provide an options object to indicate whether `func` should be invoked on + * the leading and/or trailing edge of the `wait` timeout. The `func` is invoked + * with the last arguments provided to the debounced function. Subsequent calls + * to the debounced function return the result of the last `func` invocation. + * + * **Note:** If `leading` and `trailing` options are `true`, `func` is invoked + * on the trailing edge of the timeout only if the debounced function is + * invoked more than once during the `wait` timeout. + * + * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/) + * for details over the differences between `_.debounce` and `_.throttle`. + * + * @static + * @memberOf _ + * @since 0.1.0 + * @category Function + * @param {Function} func The function to debounce. + * @param {number} [wait=0] The number of milliseconds to delay. + * @param {Object} [options={}] The options object. + * @param {boolean} [options.leading=false] + * Specify invoking on the leading edge of the timeout. + * @param {number} [options.maxWait] + * The maximum time `func` is allowed to be delayed before it's invoked. + * @param {boolean} [options.trailing=true] + * Specify invoking on the trailing edge of the timeout. + * @returns {Function} Returns the new debounced function. + * @example + * + * // Avoid costly calculations while the window size is in flux. + * jQuery(window).on('resize', _.debounce(calculateLayout, 150)); + * + * // Invoke `sendMail` when clicked, debouncing subsequent calls. + * jQuery(element).on('click', _.debounce(sendMail, 300, { + * 'leading': true, + * 'trailing': false + * })); + * + * // Ensure `batchLog` is invoked once after 1 second of debounced calls. + * var debounced = _.debounce(batchLog, 250, { 'maxWait': 1000 }); + * var source = new EventSource('/stream'); + * jQuery(source).on('message', debounced); + * + * // Cancel the trailing debounced invocation. + * jQuery(window).on('popstate', debounced.cancel); + */ +function debounce(func, wait, options) { + var lastArgs, + lastThis, + maxWait, + result, + timerId, + lastCallTime, + lastInvokeTime = 0, + leading = false, + maxing = false, + trailing = true; -},{}],59:[function(require,module,exports){ -'use strict'; + if (typeof func != 'function') { + throw new TypeError(FUNC_ERROR_TEXT); + } + wait = toNumber(wait) || 0; + if (isObject(options)) { + leading = !!options.leading; + maxing = 'maxWait' in options; + maxWait = maxing ? nativeMax(toNumber(options.maxWait) || 0, wait) : maxWait; + trailing = 'trailing' in options ? !!options.trailing : trailing; + } -var sektor = require('sektor'); -var crossvent = require('crossvent'); -var rspaces = /\s+/g; -var keymap = { - 13: 'enter', - 27: 'esc', - 32: 'space' -}; -var handlers = {}; + function invokeFunc(time) { + var args = lastArgs, + thisArg = lastThis; -crossvent.add(window, 'keydown', keydown); + lastArgs = lastThis = undefined; + lastInvokeTime = time; + result = func.apply(thisArg, args); + return result; + } -function clear (context) { - if (context) { - if (context in handlers) { - handlers[context] = {}; - } - } else { - handlers = {}; + function leadingEdge(time) { + // Reset any `maxWait` timer. + lastInvokeTime = time; + // Start the timer for the trailing edge. + timerId = setTimeout(timerExpired, wait); + // Invoke the leading edge. + return leading ? invokeFunc(time) : result; } -} -function switchboard (then, combo, options, fn) { - if (fn === void 0) { - fn = options; - options = {}; + function remainingWait(time) { + var timeSinceLastCall = time - lastCallTime, + timeSinceLastInvoke = time - lastInvokeTime, + result = wait - timeSinceLastCall; + + return maxing ? nativeMin(result, maxWait - timeSinceLastInvoke) : result; } - var context = options.context || 'defaults'; + function shouldInvoke(time) { + var timeSinceLastCall = time - lastCallTime, + timeSinceLastInvoke = time - lastInvokeTime; - if (!fn) { - return; + // Either this is the first call, activity has stopped and we're at the + // trailing edge, the system time has gone backwards and we're treating + // it as the trailing edge, or we've hit the `maxWait` limit. + return (lastCallTime === undefined || (timeSinceLastCall >= wait) || + (timeSinceLastCall < 0) || (maxing && timeSinceLastInvoke >= maxWait)); } - if (handlers[context] === void 0) { - handlers[context] = {}; + function timerExpired() { + var time = now(); + if (shouldInvoke(time)) { + return trailingEdge(time); + } + // Restart the timer. + timerId = setTimeout(timerExpired, remainingWait(time)); } - combo.toLowerCase().split(rspaces).forEach(item); + function trailingEdge(time) { + timerId = undefined; - function item (keys) { - var c = keys.trim(); - if (c.length === 0) { - return; + // Only invoke if we have `lastArgs` which means `func` has been + // debounced at least once. + if (trailing && lastArgs) { + return invokeFunc(time); } - then(handlers[context], c, options, fn); + lastArgs = lastThis = undefined; + return result; } -} -function on (combo, options, fn) { - switchboard(add, combo, options, fn); + function cancel() { + lastInvokeTime = 0; + lastArgs = lastCallTime = lastThis = timerId = undefined; + } - function add (area, key, options, fn) { - var handler = { - handle: fn, - filter: options.filter - }; - if (area[key]) { - area[key].push(handler); - } else { - area[key] = [handler]; - } + function flush() { + return timerId === undefined ? result : trailingEdge(now()); } -} -function off (combo, options, fn) { - switchboard(rm, combo, options, fn); + function debounced() { + var time = now(), + isInvoking = shouldInvoke(time); - function rm (area, key, options, fn) { - if (area[key]) { - area[key] = area[key].filter(matching); - } + lastArgs = arguments; + lastThis = this; + lastCallTime = time; - function matching (handler) { - return handler.handle === fn && handler.filter === options.filter; + if (isInvoking) { + if (timerId === undefined) { + return leadingEdge(lastCallTime); + } + if (maxing) { + // Handle invocations in a tight loop. + timerId = setTimeout(timerExpired, wait); + return invokeFunc(lastCallTime); + } + } + if (timerId === undefined) { + timerId = setTimeout(timerExpired, wait); } + return result; } + debounced.cancel = cancel; + debounced.flush = flush; + return debounced; } -function getKeyCode (e) { - return e.which || e.keyCode || e.charCode; -} +module.exports = debounce; -function keydown (e) { - var code = getKeyCode(e); - var key = keymap[code] || String.fromCharCode(code); - if (key) { - handle(key, e); - } -} +},{"./isObject":53,"./now":56,"./toNumber":57}],52:[function(require,module,exports){ +var isObject = require('./isObject'); -function parseKeyCombo (key, e) { - var combo = [key]; - if (e.shiftKey) { - combo.unshift('shift'); - } - if (e.altKey) { - combo.unshift('alt'); - } - if (e.ctrlKey ^ e.metaKey) { - combo.unshift('cmd'); - } - return combo.join('+').toLowerCase(); -} +/** `Object#toString` result references. */ +var funcTag = '[object Function]', + genTag = '[object GeneratorFunction]'; -function handle (key, e) { - var combo = parseKeyCombo(key, e); - var context; - for (context in handlers) { - if (handlers[context][combo]) { - handlers[context][combo].forEach(exec); - } - } +/** Used for built-in method references. */ +var objectProto = Object.prototype; - function filtered (handler) { - var filter = handler.filter; - if (!filter) { - return; - } +/** + * Used to resolve the + * [`toStringTag`](http://ecma-international.org/ecma-262/6.0/#sec-object.prototype.tostring) + * of values. + */ +var objectToString = objectProto.toString; - var el = e.target; - var selector = typeof filter === 'string'; - if (selector) { - return sektor.matchesSelector(el, filter) === false; - } - while (el.parentElement && el !== filter) { - el = el.parentElement; - } - return el !== filter; - } +/** + * Checks if `value` is classified as a `Function` object. + * + * @static + * @memberOf _ + * @since 0.1.0 + * @category Lang + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is correctly classified, + * else `false`. + * @example + * + * _.isFunction(_); + * // => true + * + * _.isFunction(/abc/); + * // => false + */ +function isFunction(value) { + // The use of `Object#toString` avoids issues with the `typeof` operator + // in Safari 8 which returns 'object' for typed array and weak map constructors, + // and PhantomJS 1.9 which returns 'function' for `NodeList` instances. + var tag = isObject(value) ? objectToString.call(value) : ''; + return tag == funcTag || tag == genTag; +} - function exec (handler) { - if (filtered(handler)) { - return; - } - handler.handle(e); - } +module.exports = isFunction; + +},{"./isObject":53}],53:[function(require,module,exports){ +/** + * Checks if `value` is the + * [language type](http://www.ecma-international.org/ecma-262/6.0/#sec-ecmascript-language-types) + * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`) + * + * @static + * @memberOf _ + * @since 0.1.0 + * @category Lang + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is an object, else `false`. + * @example + * + * _.isObject({}); + * // => true + * + * _.isObject([1, 2, 3]); + * // => true + * + * _.isObject(_.noop); + * // => true + * + * _.isObject(null); + * // => false + */ +function isObject(value) { + var type = typeof value; + return !!value && (type == 'object' || type == 'function'); } -module.exports = { - on: on, - off: off, - clear: clear, - handlers: handlers -}; - -},{"crossvent":15,"sektor":137}],60:[function(require,module,exports){ -(function (global){ -'use strict'; - -var stub = require('./stub'); -var tracking = require('./tracking'); -var ls = 'localStorage' in global && global.localStorage ? global.localStorage : stub; - -function accessor (key, value) { - if (arguments.length === 1) { - return get(key); - } - return set(key, value); -} +module.exports = isObject; -function get (key) { - return JSON.parse(ls.getItem(key)); +},{}],54:[function(require,module,exports){ +/** + * Checks if `value` is object-like. A value is object-like if it's not `null` + * and has a `typeof` result of "object". + * + * @static + * @memberOf _ + * @since 4.0.0 + * @category Lang + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is object-like, else `false`. + * @example + * + * _.isObjectLike({}); + * // => true + * + * _.isObjectLike([1, 2, 3]); + * // => true + * + * _.isObjectLike(_.noop); + * // => false + * + * _.isObjectLike(null); + * // => false + */ +function isObjectLike(value) { + return !!value && typeof value == 'object'; } -function set (key, value) { - try { - ls.setItem(key, JSON.stringify(value)); - return true; - } catch (e) { - return false; - } -} +module.exports = isObjectLike; -function remove (key) { - return ls.removeItem(key); -} +},{}],55:[function(require,module,exports){ +var isObjectLike = require('./isObjectLike'); -function clear () { - return ls.clear(); -} +/** `Object#toString` result references. */ +var symbolTag = '[object Symbol]'; -accessor.set = set; -accessor.get = get; -accessor.remove = remove; -accessor.clear = clear; -accessor.on = tracking.on; -accessor.off = tracking.off; +/** Used for built-in method references. */ +var objectProto = Object.prototype; -module.exports = accessor; +/** + * Used to resolve the + * [`toStringTag`](http://ecma-international.org/ecma-262/6.0/#sec-object.prototype.tostring) + * of values. + */ +var objectToString = objectProto.toString; -}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {}) -},{"./stub":61,"./tracking":62}],61:[function(require,module,exports){ -'use strict'; +/** + * Checks if `value` is classified as a `Symbol` primitive or object. + * + * @static + * @memberOf _ + * @since 4.0.0 + * @category Lang + * @param {*} value The value to check. + * @returns {boolean} Returns `true` if `value` is correctly classified, + * else `false`. + * @example + * + * _.isSymbol(Symbol.iterator); + * // => true + * + * _.isSymbol('abc'); + * // => false + */ +function isSymbol(value) { + return typeof value == 'symbol' || + (isObjectLike(value) && objectToString.call(value) == symbolTag); +} -var ms = {}; +module.exports = isSymbol; -function getItem (key) { - return key in ms ? ms[key] : null; +},{"./isObjectLike":54}],56:[function(require,module,exports){ +/** + * Gets the timestamp of the number of milliseconds that have elapsed since + * the Unix epoch (1 January 1970 00:00:00 UTC). + * + * @static + * @memberOf _ + * @since 2.4.0 + * @category Date + * @returns {number} Returns the timestamp. + * @example + * + * _.defer(function(stamp) { + * console.log(_.now() - stamp); + * }, _.now()); + * // => Logs the number of milliseconds it took for the deferred invocation. + */ +function now() { + return Date.now(); } -function setItem (key, value) { - ms[key] = value; - return true; -} +module.exports = now; -function removeItem (key) { - var found = key in ms; - if (found) { - return delete ms[key]; - } - return false; -} +},{}],57:[function(require,module,exports){ +var isFunction = require('./isFunction'), + isObject = require('./isObject'), + isSymbol = require('./isSymbol'); -function clear () { - ms = {}; - return true; -} +/** Used as references for various `Number` constants. */ +var NAN = 0 / 0; -module.exports = { - getItem: getItem, - setItem: setItem, - removeItem: removeItem, - clear: clear -}; +/** Used to match leading and trailing whitespace. */ +var reTrim = /^\s+|\s+$/g; -},{}],62:[function(require,module,exports){ -(function (global){ -'use strict'; +/** Used to detect bad signed hexadecimal string values. */ +var reIsBadHex = /^[-+]0x[0-9a-f]+$/i; -var listeners = {}; -var listening = false; +/** Used to detect binary string values. */ +var reIsBinary = /^0b[01]+$/i; -function listen () { - if (global.addEventListener) { - global.addEventListener('storage', change, false); - } else if (global.attachEvent) { - global.attachEvent('onstorage', change); - } else { - global.onstorage = change; - } -} +/** Used to detect octal string values. */ +var reIsOctal = /^0o[0-7]+$/i; -function change (e) { - if (!e) { - e = global.event; - } - var all = listeners[e.key]; - if (all) { - all.forEach(fire); - } +/** Built-in method references without a dependency on `root`. */ +var freeParseInt = parseInt; - function fire (listener) { - listener(JSON.parse(e.newValue), JSON.parse(e.oldValue), e.url || e.uri); +/** + * Converts `value` to a number. + * + * @static + * @memberOf _ + * @since 4.0.0 + * @category Lang + * @param {*} value The value to process. + * @returns {number} Returns the number. + * @example + * + * _.toNumber(3.2); + * // => 3.2 + * + * _.toNumber(Number.MIN_VALUE); + * // => 5e-324 + * + * _.toNumber(Infinity); + * // => Infinity + * + * _.toNumber('3.2'); + * // => 3.2 + */ +function toNumber(value) { + if (typeof value == 'number') { + return value; } -} - -function on (key, fn) { - if (listeners[key]) { - listeners[key].push(fn); - } else { - listeners[key] = [fn]; + if (isSymbol(value)) { + return NAN; } - if (listening === false) { - listen(); + if (isObject(value)) { + var other = isFunction(value.valueOf) ? value.valueOf() : value; + value = isObject(other) ? (other + '') : other; } -} - -function off (key, fn) { - var ns = listeners[key]; - if (ns.length > 1) { - ns.splice(ns.indexOf(fn), 1); - } else { - listeners[key] = []; + if (typeof value != 'string') { + return value === 0 ? value : +value; } + value = value.replace(reTrim, ''); + var isBinary = reIsBinary.test(value); + return (isBinary || reIsOctal.test(value)) + ? freeParseInt(value.slice(2), isBinary ? 2 : 8) + : (reIsBadHex.test(value) ? NAN : +value); } -module.exports = { - on: on, - off: off -}; +module.exports = toNumber; -}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {}) -},{}],63:[function(require,module,exports){ +},{"./isFunction":52,"./isObject":53,"./isSymbol":55}],58:[function(require,module,exports){ 'use strict'; module.exports = require('./lib/'); -},{"./lib/":73}],64:[function(require,module,exports){ +},{"./lib/":68}],59:[function(require,module,exports){ // HTML5 entities map: { name -> utf16string } // 'use strict'; @@ -5815,7 +5546,7 @@ module.exports = require('./lib/'); /*eslint quotes:0*/ module.exports = require('entities/maps/entities.json'); -},{"entities/maps/entities.json":20}],65:[function(require,module,exports){ +},{"entities/maps/entities.json":18}],60:[function(require,module,exports){ // List of valid html blocks names, accorting to commonmark spec // http://jgm.github.io/CommonMark/spec.html#html-blocks @@ -5885,7 +5616,7 @@ module.exports = [ 'ul' ]; -},{}],66:[function(require,module,exports){ +},{}],61:[function(require,module,exports){ // Regexps to match html elements 'use strict'; @@ -5915,7 +5646,7 @@ var HTML_OPEN_CLOSE_TAG_RE = new RegExp('^(?:' + open_tag + '|' + close_tag + ') module.exports.HTML_TAG_RE = HTML_TAG_RE; module.exports.HTML_OPEN_CLOSE_TAG_RE = HTML_OPEN_CLOSE_TAG_RE; -},{}],67:[function(require,module,exports){ +},{}],62:[function(require,module,exports){ // List of valid url schemas, accorting to commonmark spec // http://jgm.github.io/CommonMark/spec.html#autolinks @@ -6089,7 +5820,7 @@ module.exports = [ 'ymsgr' ]; -},{}],68:[function(require,module,exports){ +},{}],63:[function(require,module,exports){ // Utilities // 'use strict'; @@ -6366,7 +6097,7 @@ exports.isPunctChar = isPunctChar; exports.escapeRE = escapeRE; exports.normalizeReference = normalizeReference; -},{"./entities":64,"mdurl":127,"uc.micro":122,"uc.micro/categories/P/regex":120}],69:[function(require,module,exports){ +},{"./entities":59,"mdurl":122,"uc.micro":117,"uc.micro/categories/P/regex":115}],64:[function(require,module,exports){ // Just a shortcut for bulk export 'use strict'; @@ -6375,7 +6106,7 @@ exports.parseLinkLabel = require('./parse_link_label'); exports.parseLinkDestination = require('./parse_link_destination'); exports.parseLinkTitle = require('./parse_link_title'); -},{"./parse_link_destination":70,"./parse_link_label":71,"./parse_link_title":72}],70:[function(require,module,exports){ +},{"./parse_link_destination":65,"./parse_link_label":66,"./parse_link_title":67}],65:[function(require,module,exports){ // Parse link destination // 'use strict'; @@ -6456,7 +6187,7 @@ module.exports = function parseLinkDestination(str, pos, max) { return result; }; -},{"../common/utils":68}],71:[function(require,module,exports){ +},{"../common/utils":63}],66:[function(require,module,exports){ // Parse link label // // this function assumes that first character ("[") already matches; @@ -6506,7 +6237,7 @@ module.exports = function parseLinkLabel(state, start, disableNested) { return labelEnd; }; -},{}],72:[function(require,module,exports){ +},{}],67:[function(require,module,exports){ // Parse link title // 'use strict'; @@ -6561,7 +6292,7 @@ module.exports = function parseLinkTitle(str, pos, max) { return result; }; -},{"../common/utils":68}],73:[function(require,module,exports){ +},{"../common/utils":63}],68:[function(require,module,exports){ // Main perser class 'use strict'; @@ -7140,7 +6871,7 @@ MarkdownIt.prototype.renderInline = function (src, env) { module.exports = MarkdownIt; -},{"./common/utils":68,"./helpers":69,"./parser_block":74,"./parser_core":75,"./parser_inline":76,"./presets/commonmark":77,"./presets/default":78,"./presets/zero":79,"./renderer":80,"linkify-it":116,"mdurl":127,"punycode":135}],74:[function(require,module,exports){ +},{"./common/utils":63,"./helpers":64,"./parser_block":69,"./parser_core":70,"./parser_inline":71,"./presets/commonmark":72,"./presets/default":73,"./presets/zero":74,"./renderer":75,"linkify-it":111,"mdurl":122,"punycode":129}],69:[function(require,module,exports){ /** internal * class ParserBlock * @@ -7267,7 +6998,7 @@ ParserBlock.prototype.State = require('./rules_block/state_block'); module.exports = ParserBlock; -},{"./ruler":81,"./rules_block/blockquote":82,"./rules_block/code":83,"./rules_block/fence":84,"./rules_block/heading":85,"./rules_block/hr":86,"./rules_block/html_block":87,"./rules_block/lheading":88,"./rules_block/list":89,"./rules_block/paragraph":90,"./rules_block/reference":91,"./rules_block/state_block":92,"./rules_block/table":93}],75:[function(require,module,exports){ +},{"./ruler":76,"./rules_block/blockquote":77,"./rules_block/code":78,"./rules_block/fence":79,"./rules_block/heading":80,"./rules_block/hr":81,"./rules_block/html_block":82,"./rules_block/lheading":83,"./rules_block/list":84,"./rules_block/paragraph":85,"./rules_block/reference":86,"./rules_block/state_block":87,"./rules_block/table":88}],70:[function(require,module,exports){ /** internal * class Core * @@ -7327,7 +7058,7 @@ Core.prototype.State = require('./rules_core/state_core'); module.exports = Core; -},{"./ruler":81,"./rules_core/block":94,"./rules_core/inline":95,"./rules_core/linkify":96,"./rules_core/normalize":97,"./rules_core/replacements":98,"./rules_core/smartquotes":99,"./rules_core/state_core":100}],76:[function(require,module,exports){ +},{"./ruler":76,"./rules_core/block":89,"./rules_core/inline":90,"./rules_core/linkify":91,"./rules_core/normalize":92,"./rules_core/replacements":93,"./rules_core/smartquotes":94,"./rules_core/state_core":95}],71:[function(require,module,exports){ /** internal * class ParserInline * @@ -7489,7 +7220,7 @@ ParserInline.prototype.State = require('./rules_inline/state_inline'); module.exports = ParserInline; -},{"./ruler":81,"./rules_inline/autolink":101,"./rules_inline/backticks":102,"./rules_inline/balance_pairs":103,"./rules_inline/emphasis":104,"./rules_inline/entity":105,"./rules_inline/escape":106,"./rules_inline/html_inline":107,"./rules_inline/image":108,"./rules_inline/link":109,"./rules_inline/newline":110,"./rules_inline/state_inline":111,"./rules_inline/strikethrough":112,"./rules_inline/text":113,"./rules_inline/text_collapse":114}],77:[function(require,module,exports){ +},{"./ruler":76,"./rules_inline/autolink":96,"./rules_inline/backticks":97,"./rules_inline/balance_pairs":98,"./rules_inline/emphasis":99,"./rules_inline/entity":100,"./rules_inline/escape":101,"./rules_inline/html_inline":102,"./rules_inline/image":103,"./rules_inline/link":104,"./rules_inline/newline":105,"./rules_inline/state_inline":106,"./rules_inline/strikethrough":107,"./rules_inline/text":108,"./rules_inline/text_collapse":109}],72:[function(require,module,exports){ // Commonmark default options 'use strict'; @@ -7571,7 +7302,7 @@ module.exports = { } }; -},{}],78:[function(require,module,exports){ +},{}],73:[function(require,module,exports){ // markdown-it default options 'use strict'; @@ -7614,7 +7345,7 @@ module.exports = { } }; -},{}],79:[function(require,module,exports){ +},{}],74:[function(require,module,exports){ // "Zero" preset, with nothing enabled. Useful for manual configuring of simple // modes. For example, to parse bold/italic only. @@ -7678,7 +7409,7 @@ module.exports = { } }; -},{}],80:[function(require,module,exports){ +},{}],75:[function(require,module,exports){ /** * class Renderer * @@ -7985,7 +7716,7 @@ Renderer.prototype.render = function (tokens, options, env) { module.exports = Renderer; -},{"./common/utils":68}],81:[function(require,module,exports){ +},{"./common/utils":63}],76:[function(require,module,exports){ /** * class Ruler * @@ -8339,7 +8070,7 @@ Ruler.prototype.getRules = function (chainName) { module.exports = Ruler; -},{}],82:[function(require,module,exports){ +},{}],77:[function(require,module,exports){ // Block quotes 'use strict'; @@ -8515,7 +8246,7 @@ module.exports = function blockquote(state, startLine, endLine, silent) { return true; }; -},{"../common/utils":68}],83:[function(require,module,exports){ +},{"../common/utils":63}],78:[function(require,module,exports){ // Code block (4 spaces padded) 'use strict'; @@ -8550,7 +8281,7 @@ module.exports = function code(state, startLine, endLine/*, silent*/) { return true; }; -},{}],84:[function(require,module,exports){ +},{}],79:[function(require,module,exports){ // fences (``` lang, ~~~ lang) 'use strict'; @@ -8643,7 +8374,7 @@ module.exports = function fence(state, startLine, endLine, silent) { return true; }; -},{}],85:[function(require,module,exports){ +},{}],80:[function(require,module,exports){ // heading (#, ##, ...) 'use strict'; @@ -8697,7 +8428,7 @@ module.exports = function heading(state, startLine, endLine, silent) { return true; }; -},{"../common/utils":68}],86:[function(require,module,exports){ +},{"../common/utils":63}],81:[function(require,module,exports){ // Horizontal rule 'use strict'; @@ -8741,7 +8472,7 @@ module.exports = function hr(state, startLine, endLine, silent) { return true; }; -},{"../common/utils":68}],87:[function(require,module,exports){ +},{"../common/utils":63}],82:[function(require,module,exports){ // HTML block 'use strict'; @@ -8814,7 +8545,7 @@ module.exports = function html_block(state, startLine, endLine, silent) { return true; }; -},{"../common/html_blocks":65,"../common/html_re":66}],88:[function(require,module,exports){ +},{"../common/html_blocks":60,"../common/html_re":61}],83:[function(require,module,exports){ // lheading (---, ===) 'use strict'; @@ -8866,7 +8597,7 @@ module.exports = function lheading(state, startLine, endLine/*, silent*/) { return true; }; -},{}],89:[function(require,module,exports){ +},{}],84:[function(require,module,exports){ // Lists 'use strict'; @@ -9167,7 +8898,7 @@ module.exports = function list(state, startLine, endLine, silent) { return true; }; -},{"../common/utils":68}],90:[function(require,module,exports){ +},{"../common/utils":63}],85:[function(require,module,exports){ // Paragraph 'use strict'; @@ -9216,7 +8947,7 @@ module.exports = function paragraph(state, startLine/*, endLine*/) { return true; }; -},{}],91:[function(require,module,exports){ +},{}],86:[function(require,module,exports){ 'use strict'; @@ -9409,7 +9140,7 @@ module.exports = function reference(state, startLine, _endLine, silent) { return true; }; -},{"../common/utils":68,"../helpers/parse_link_destination":70,"../helpers/parse_link_title":72}],92:[function(require,module,exports){ +},{"../common/utils":63,"../helpers/parse_link_destination":65,"../helpers/parse_link_title":67}],87:[function(require,module,exports){ // Parser state class 'use strict'; @@ -9618,7 +9349,7 @@ StateBlock.prototype.Token = Token; module.exports = StateBlock; -},{"../common/utils":68,"../token":115}],93:[function(require,module,exports){ +},{"../common/utils":63,"../token":110}],88:[function(require,module,exports){ // GFM table, non-standard 'use strict'; @@ -9791,7 +9522,7 @@ module.exports = function table(state, startLine, endLine, silent) { return true; }; -},{}],94:[function(require,module,exports){ +},{}],89:[function(require,module,exports){ 'use strict'; @@ -9809,7 +9540,7 @@ module.exports = function block(state) { } }; -},{}],95:[function(require,module,exports){ +},{}],90:[function(require,module,exports){ 'use strict'; module.exports = function inline(state) { @@ -9824,7 +9555,7 @@ module.exports = function inline(state) { } }; -},{}],96:[function(require,module,exports){ +},{}],91:[function(require,module,exports){ // Replace link-like texts with link nodes. // // Currently restricted by `md.validateLink()` to http/https/ftp @@ -9959,7 +9690,7 @@ module.exports = function linkify(state) { } }; -},{"../common/utils":68}],97:[function(require,module,exports){ +},{"../common/utils":63}],92:[function(require,module,exports){ // Normalize input string 'use strict'; @@ -9981,7 +9712,7 @@ module.exports = function inline(state) { state.src = str; }; -},{}],98:[function(require,module,exports){ +},{}],93:[function(require,module,exports){ // Simple typographyc replacements // // (c) (C) → © @@ -10072,7 +9803,7 @@ module.exports = function replace(state) { } }; -},{}],99:[function(require,module,exports){ +},{}],94:[function(require,module,exports){ // Convert straight quotation marks to typographic ones // 'use strict'; @@ -10267,7 +9998,7 @@ module.exports = function smartquotes(state) { } }; -},{"../common/utils":68}],100:[function(require,module,exports){ +},{"../common/utils":63}],95:[function(require,module,exports){ // Core state object // 'use strict'; @@ -10289,7 +10020,7 @@ StateCore.prototype.Token = Token; module.exports = StateCore; -},{"../token":115}],101:[function(require,module,exports){ +},{"../token":110}],96:[function(require,module,exports){ // Process autolinks '' 'use strict'; @@ -10367,7 +10098,7 @@ module.exports = function autolink(state, silent) { return false; }; -},{"../common/url_schemas":67}],102:[function(require,module,exports){ +},{"../common/url_schemas":62}],97:[function(require,module,exports){ // Parse backticks 'use strict'; @@ -10412,7 +10143,7 @@ module.exports = function backtick(state, silent) { return true; }; -},{}],103:[function(require,module,exports){ +},{}],98:[function(require,module,exports){ // For each opening emphasis-like marker find a matching closing one // 'use strict'; @@ -10450,7 +10181,7 @@ module.exports = function link_pairs(state) { } }; -},{}],104:[function(require,module,exports){ +},{}],99:[function(require,module,exports){ // Process *this* and _that_ // 'use strict'; @@ -10575,7 +10306,7 @@ module.exports.postProcess = function emphasis(state) { } }; -},{}],105:[function(require,module,exports){ +},{}],100:[function(require,module,exports){ // Process html entity - {, ¯, ", ... 'use strict'; @@ -10625,7 +10356,7 @@ module.exports = function entity(state, silent) { return true; }; -},{"../common/entities":64,"../common/utils":68}],106:[function(require,module,exports){ +},{"../common/entities":59,"../common/utils":63}],101:[function(require,module,exports){ // Proceess escaped chars and hardbreaks 'use strict'; @@ -10679,7 +10410,7 @@ module.exports = function escape(state, silent) { return true; }; -},{"../common/utils":68}],107:[function(require,module,exports){ +},{"../common/utils":63}],102:[function(require,module,exports){ // Process html tags 'use strict'; @@ -10728,7 +10459,7 @@ module.exports = function html_inline(state, silent) { return true; }; -},{"../common/html_re":66}],108:[function(require,module,exports){ +},{"../common/html_re":61}],103:[function(require,module,exports){ // Process ![image]( "title") 'use strict'; @@ -10892,7 +10623,7 @@ module.exports = function image(state, silent) { return true; }; -},{"../common/utils":68,"../helpers/parse_link_destination":70,"../helpers/parse_link_label":71,"../helpers/parse_link_title":72}],109:[function(require,module,exports){ +},{"../common/utils":63,"../helpers/parse_link_destination":65,"../helpers/parse_link_label":66,"../helpers/parse_link_title":67}],104:[function(require,module,exports){ // Process [link]( "stuff") 'use strict'; @@ -11048,7 +10779,7 @@ module.exports = function link(state, silent) { return true; }; -},{"../common/utils":68,"../helpers/parse_link_destination":70,"../helpers/parse_link_label":71,"../helpers/parse_link_title":72}],110:[function(require,module,exports){ +},{"../common/utils":63,"../helpers/parse_link_destination":65,"../helpers/parse_link_label":66,"../helpers/parse_link_title":67}],105:[function(require,module,exports){ // Proceess '\n' 'use strict'; @@ -11089,7 +10820,7 @@ module.exports = function newline(state, silent) { return true; }; -},{}],111:[function(require,module,exports){ +},{}],106:[function(require,module,exports){ // Inline parser state 'use strict'; @@ -11221,7 +10952,7 @@ StateInline.prototype.Token = Token; module.exports = StateInline; -},{"../common/utils":68,"../token":115}],112:[function(require,module,exports){ +},{"../common/utils":63,"../token":110}],107:[function(require,module,exports){ // ~~strike through~~ // 'use strict'; @@ -11340,7 +11071,7 @@ module.exports.postProcess = function strikethrough(state) { } }; -},{}],113:[function(require,module,exports){ +},{}],108:[function(require,module,exports){ // Skip text characters for text token, place those to pending buffer // and increment current pos @@ -11431,7 +11162,7 @@ module.exports = function text(state, silent) { return true; };*/ -},{}],114:[function(require,module,exports){ +},{}],109:[function(require,module,exports){ // Merge adjacent text nodes into one, and re-calculate all token levels // 'use strict'; @@ -11466,7 +11197,7 @@ module.exports = function text_collapse(state) { } }; -},{}],115:[function(require,module,exports){ +},{}],110:[function(require,module,exports){ // Token class 'use strict'; @@ -11651,7 +11382,7 @@ Token.prototype.attrJoin = function attrJoin(name, value) { module.exports = Token; -},{}],116:[function(require,module,exports){ +},{}],111:[function(require,module,exports){ 'use strict'; @@ -12279,7 +12010,7 @@ LinkifyIt.prototype.normalize = function normalize(match) { module.exports = LinkifyIt; -},{"./lib/re":117}],117:[function(require,module,exports){ +},{"./lib/re":112}],112:[function(require,module,exports){ 'use strict'; // Use direct extract instead of `regenerate` to reduse browserified size @@ -12443,15 +12174,15 @@ exports.tpl_link_no_ip_fuzzy = '(^|(?![.:/\\-_@])(?:[$+<=>^`|]|' + src_ZPCc + '))' + '((?![$+<=>^`|])' + tpl_host_port_no_ip_fuzzy_strict + src_path + ')'; -},{"uc.micro/categories/Cc/regex":118,"uc.micro/categories/P/regex":120,"uc.micro/categories/Z/regex":121,"uc.micro/properties/Any/regex":123}],118:[function(require,module,exports){ +},{"uc.micro/categories/Cc/regex":113,"uc.micro/categories/P/regex":115,"uc.micro/categories/Z/regex":116,"uc.micro/properties/Any/regex":118}],113:[function(require,module,exports){ module.exports=/[\0-\x1F\x7F-\x9F]/ -},{}],119:[function(require,module,exports){ +},{}],114:[function(require,module,exports){ module.exports=/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804\uDCBD|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/ -},{}],120:[function(require,module,exports){ -module.exports=/[!-#%-\*,-/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0AF0\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E49\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC9\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDF3C-\uDF3E]|\uD806[\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2]|\uD807[\uDC41-\uDC45\uDC70\uDC71]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/ -},{}],121:[function(require,module,exports){ +},{}],115:[function(require,module,exports){ +module.exports=/[!-#%-\*,-/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u0AF0\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E44\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC9\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDF3C-\uDF3E]|\uD807[\uDC41-\uDC45\uDC70\uDC71]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/ +},{}],116:[function(require,module,exports){ module.exports=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/ -},{}],122:[function(require,module,exports){ +},{}],117:[function(require,module,exports){ 'use strict'; exports.Any = require('./properties/Any/regex'); @@ -12460,9 +12191,9 @@ exports.Cf = require('./categories/Cf/regex'); exports.P = require('./categories/P/regex'); exports.Z = require('./categories/Z/regex'); -},{"./categories/Cc/regex":118,"./categories/Cf/regex":119,"./categories/P/regex":120,"./categories/Z/regex":121,"./properties/Any/regex":123}],123:[function(require,module,exports){ +},{"./categories/Cc/regex":113,"./categories/Cf/regex":114,"./categories/P/regex":115,"./categories/Z/regex":116,"./properties/Any/regex":118}],118:[function(require,module,exports){ module.exports=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/ -},{}],124:[function(require,module,exports){ +},{}],119:[function(require,module,exports){ 'use strict'; @@ -12586,7 +12317,7 @@ decode.componentChars = ''; module.exports = decode; -},{}],125:[function(require,module,exports){ +},{}],120:[function(require,module,exports){ 'use strict'; @@ -12686,7 +12417,7 @@ encode.componentChars = "-_.!~*'()"; module.exports = encode; -},{}],126:[function(require,module,exports){ +},{}],121:[function(require,module,exports){ 'use strict'; @@ -12713,7 +12444,7 @@ module.exports = function format(url) { return result; }; -},{}],127:[function(require,module,exports){ +},{}],122:[function(require,module,exports){ 'use strict'; @@ -12722,7 +12453,7 @@ module.exports.decode = require('./decode'); module.exports.format = require('./format'); module.exports.parse = require('./parse'); -},{"./decode":124,"./encode":125,"./format":126,"./parse":128}],128:[function(require,module,exports){ +},{"./decode":119,"./encode":120,"./format":121,"./parse":123}],123:[function(require,module,exports){ // Copyright Joyent, Inc. and other Node contributors. // // Permission is hereby granted, free of charge, to any person obtaining a @@ -13036,7 +12767,7 @@ Url.prototype.parseHost = function(host) { module.exports = urlParse; -},{}],129:[function(require,module,exports){ +},{}],124:[function(require,module,exports){ 'use strict'; var MarkdownIt = require('markdown-it'); @@ -13361,7 +13092,7 @@ markdown.parser = md; markdown.languages = languages; module.exports = markdown; -},{"./tokenizeLinks":131,"highlight.js":27,"markdown-it":63,"sluggish":147}],130:[function(require,module,exports){ +},{"./tokenizeLinks":126,"highlight.js":24,"markdown-it":58,"sluggish":141}],125:[function(require,module,exports){ 'use strict'; var insane = require('insane'); @@ -13401,7 +13132,7 @@ markdown.languages.push('md-code', 'md-code-inline'); // only sanitizing purpose megamark.parser = markdown.parser; module.exports = megamark; -},{"./markdown":129,"assignment":1,"highlight.js-tokens":36,"insane":51}],131:[function(require,module,exports){ +},{"./markdown":124,"assignment":1,"highlight.js-tokens":33,"insane":40}],126:[function(require,module,exports){ 'use strict'; function arrayReplaceAt (a, i, middle) { @@ -13566,7 +13297,7 @@ function tokenizeLinks (state, context) { module.exports = tokenizeLinks; -},{}],132:[function(require,module,exports){ +},{}],127:[function(require,module,exports){ //! moment.js //! version : 2.19.4 //! authors : Tim Wood, Iskren Chernev, Moment.js contributors @@ -18085,7 +17816,7 @@ return hooks; }))); -},{}],133:[function(require,module,exports){ +},{}],128:[function(require,module,exports){ var trim = require('trim') , forEach = require('for-each') , isArray = function(arg) { @@ -18117,193 +17848,7 @@ module.exports = function (headers) { return result } -},{"for-each":21,"trim":154}],134:[function(require,module,exports){ -// shim for using process in browser -var process = module.exports = {}; - -// cached from whatever global is present so that test runners that stub it -// don't break things. But we need to wrap it in a try catch in case it is -// wrapped in strict mode code which doesn't define any globals. It's inside a -// function because try/catches deoptimize in certain engines. - -var cachedSetTimeout; -var cachedClearTimeout; - -function defaultSetTimout() { - throw new Error('setTimeout has not been defined'); -} -function defaultClearTimeout () { - throw new Error('clearTimeout has not been defined'); -} -(function () { - try { - if (typeof setTimeout === 'function') { - cachedSetTimeout = setTimeout; - } else { - cachedSetTimeout = defaultSetTimout; - } - } catch (e) { - cachedSetTimeout = defaultSetTimout; - } - try { - if (typeof clearTimeout === 'function') { - cachedClearTimeout = clearTimeout; - } else { - cachedClearTimeout = defaultClearTimeout; - } - } catch (e) { - cachedClearTimeout = defaultClearTimeout; - } -} ()) -function runTimeout(fun) { - if (cachedSetTimeout === setTimeout) { - //normal enviroments in sane situations - return setTimeout(fun, 0); - } - // if setTimeout wasn't available but was latter defined - if ((cachedSetTimeout === defaultSetTimout || !cachedSetTimeout) && setTimeout) { - cachedSetTimeout = setTimeout; - return setTimeout(fun, 0); - } - try { - // when when somebody has screwed with setTimeout but no I.E. maddness - return cachedSetTimeout(fun, 0); - } catch(e){ - try { - // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally - return cachedSetTimeout.call(null, fun, 0); - } catch(e){ - // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error - return cachedSetTimeout.call(this, fun, 0); - } - } - - -} -function runClearTimeout(marker) { - if (cachedClearTimeout === clearTimeout) { - //normal enviroments in sane situations - return clearTimeout(marker); - } - // if clearTimeout wasn't available but was latter defined - if ((cachedClearTimeout === defaultClearTimeout || !cachedClearTimeout) && clearTimeout) { - cachedClearTimeout = clearTimeout; - return clearTimeout(marker); - } - try { - // when when somebody has screwed with setTimeout but no I.E. maddness - return cachedClearTimeout(marker); - } catch (e){ - try { - // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally - return cachedClearTimeout.call(null, marker); - } catch (e){ - // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error. - // Some versions of I.E. have different rules for clearTimeout vs setTimeout - return cachedClearTimeout.call(this, marker); - } - } - - - -} -var queue = []; -var draining = false; -var currentQueue; -var queueIndex = -1; - -function cleanUpNextTick() { - if (!draining || !currentQueue) { - return; - } - draining = false; - if (currentQueue.length) { - queue = currentQueue.concat(queue); - } else { - queueIndex = -1; - } - if (queue.length) { - drainQueue(); - } -} - -function drainQueue() { - if (draining) { - return; - } - var timeout = runTimeout(cleanUpNextTick); - draining = true; - - var len = queue.length; - while(len) { - currentQueue = queue; - queue = []; - while (++queueIndex < len) { - if (currentQueue) { - currentQueue[queueIndex].run(); - } - } - queueIndex = -1; - len = queue.length; - } - currentQueue = null; - draining = false; - runClearTimeout(timeout); -} - -process.nextTick = function (fun) { - var args = new Array(arguments.length - 1); - if (arguments.length > 1) { - for (var i = 1; i < arguments.length; i++) { - args[i - 1] = arguments[i]; - } - } - queue.push(new Item(fun, args)); - if (queue.length === 1 && !draining) { - runTimeout(drainQueue); - } -}; - -// v8 likes predictible objects -function Item(fun, array) { - this.fun = fun; - this.array = array; -} -Item.prototype.run = function () { - this.fun.apply(null, this.array); -}; -process.title = 'browser'; -process.browser = true; -process.env = {}; -process.argv = []; -process.version = ''; // empty string to avoid regexp issues -process.versions = {}; - -function noop() {} - -process.on = noop; -process.addListener = noop; -process.once = noop; -process.off = noop; -process.removeListener = noop; -process.removeAllListeners = noop; -process.emit = noop; -process.prependListener = noop; -process.prependOnceListener = noop; - -process.listeners = function (name) { return [] } - -process.binding = function (name) { - throw new Error('process.binding is not supported'); -}; - -process.cwd = function () { return '/' }; -process.chdir = function (dir) { - throw new Error('process.chdir is not supported'); -}; -process.umask = function() { return 0; }; - -},{}],135:[function(require,module,exports){ +},{"for-each":19,"trim":144}],129:[function(require,module,exports){ (function (global){ /*! https://mths.be/punycode v1.4.1 by @mathias */ ;(function(root) { @@ -18840,7 +18385,7 @@ process.umask = function() { return 0; }; }(this)); }).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {}) -},{}],136:[function(require,module,exports){ +},{}],130:[function(require,module,exports){ /* Simple JavaScript Inheritance * By John Resig http://ejohn.org/ * MIT Licensed. @@ -18906,7 +18451,7 @@ process.umask = function() { return 0; }; })(); module.exports = Class; -},{}],137:[function(require,module,exports){ +},{}],131:[function(require,module,exports){ (function (global){ 'use strict'; @@ -18981,7 +18526,7 @@ function matchesSelector (element, selector) { function never () { return false; } }).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {}) -},{}],138:[function(require,module,exports){ +},{}],132:[function(require,module,exports){ (function (global){ 'use strict'; @@ -19002,7 +18547,7 @@ if (isHost.method(global, 'getSelection')) { module.exports = getSelection; }).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {}) -},{"./getSelectionNullOp":139,"./getSelectionRaw":140,"./getSelectionSynthetic":141,"./isHost":142}],139:[function(require,module,exports){ +},{"./getSelectionNullOp":133,"./getSelectionRaw":134,"./getSelectionSynthetic":135,"./isHost":136}],133:[function(require,module,exports){ 'use strict'; function noop () {} @@ -19016,7 +18561,7 @@ function getSelectionNullOp () { module.exports = getSelectionNullOp; -},{}],140:[function(require,module,exports){ +},{}],134:[function(require,module,exports){ (function (global){ 'use strict'; @@ -19027,7 +18572,7 @@ function getSelectionRaw () { module.exports = getSelectionRaw; }).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {}) -},{}],141:[function(require,module,exports){ +},{}],135:[function(require,module,exports){ (function (global){ 'use strict'; @@ -19281,7 +18826,7 @@ function getSelection () { module.exports = getSelection; }).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {}) -},{"./rangeToTextRange":143}],142:[function(require,module,exports){ +},{"./rangeToTextRange":137}],136:[function(require,module,exports){ 'use strict'; function isHostMethod (host, prop) { @@ -19312,7 +18857,7 @@ module.exports = { properties: many(isHostProperty) }; -},{}],143:[function(require,module,exports){ +},{}],137:[function(require,module,exports){ (function (global){ 'use strict'; @@ -19376,7 +18921,7 @@ function createBoundaryTextRange (p, starting) { module.exports = rangeToTextRange; }).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {}) -},{}],144:[function(require,module,exports){ +},{}],138:[function(require,module,exports){ 'use strict'; var getSelection = require('./getSelection'); @@ -19387,7 +18932,7 @@ module.exports = { set: setSelection }; -},{"./getSelection":138,"./setSelection":145}],145:[function(require,module,exports){ +},{"./getSelection":132,"./setSelection":139}],139:[function(require,module,exports){ (function (global){ 'use strict'; @@ -19426,7 +18971,7 @@ function setSelection (p) { module.exports = setSelection; }).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {}) -},{"./getSelection":138,"./rangeToTextRange":143}],146:[function(require,module,exports){ +},{"./getSelection":132,"./rangeToTextRange":137}],140:[function(require,module,exports){ 'use strict'; var get = easyGet; @@ -19524,7 +19069,7 @@ function sell (el, p) { module.exports = sell; -},{}],147:[function(require,module,exports){ +},{}],141:[function(require,module,exports){ 'use strict'; var spaces = /\s+/g; @@ -19591,7 +19136,7 @@ function slug (text) { module.exports = slug; -},{}],148:[function(require,module,exports){ +},{}],142:[function(require,module,exports){ /*! http://mths.be/repeat v0.2.0 by @mathias */ if (!String.prototype.repeat) { (function() { @@ -19643,8 +19188,7 @@ if (!String.prototype.repeat) { }()); } -},{}],149:[function(require,module,exports){ -(function (setImmediate){ +},{}],143:[function(require,module,exports){ var si = typeof setImmediate === 'function', tick; if (si) { tick = function (fn) { setImmediate(fn); }; @@ -19653,212 +19197,7 @@ if (si) { } module.exports = tick; -}).call(this,require("timers").setImmediate) -},{"timers":150}],150:[function(require,module,exports){ -(function (setImmediate,clearImmediate){ -var nextTick = require('process/browser.js').nextTick; -var apply = Function.prototype.apply; -var slice = Array.prototype.slice; -var immediateIds = {}; -var nextImmediateId = 0; - -// DOM APIs, for completeness - -exports.setTimeout = function() { - return new Timeout(apply.call(setTimeout, window, arguments), clearTimeout); -}; -exports.setInterval = function() { - return new Timeout(apply.call(setInterval, window, arguments), clearInterval); -}; -exports.clearTimeout = -exports.clearInterval = function(timeout) { timeout.close(); }; - -function Timeout(id, clearFn) { - this._id = id; - this._clearFn = clearFn; -} -Timeout.prototype.unref = Timeout.prototype.ref = function() {}; -Timeout.prototype.close = function() { - this._clearFn.call(window, this._id); -}; - -// Does not start the time, just sets up the members needed. -exports.enroll = function(item, msecs) { - clearTimeout(item._idleTimeoutId); - item._idleTimeout = msecs; -}; - -exports.unenroll = function(item) { - clearTimeout(item._idleTimeoutId); - item._idleTimeout = -1; -}; - -exports._unrefActive = exports.active = function(item) { - clearTimeout(item._idleTimeoutId); - - var msecs = item._idleTimeout; - if (msecs >= 0) { - item._idleTimeoutId = setTimeout(function onTimeout() { - if (item._onTimeout) - item._onTimeout(); - }, msecs); - } -}; - -// That's not how node.js implements it but the exposed api is the same. -exports.setImmediate = typeof setImmediate === "function" ? setImmediate : function(fn) { - var id = nextImmediateId++; - var args = arguments.length < 2 ? false : slice.call(arguments, 1); - - immediateIds[id] = true; - - nextTick(function onNextTick() { - if (immediateIds[id]) { - // fn.call() is faster so we optimize for the common use-case - // @see http://jsperf.com/call-apply-segu - if (args) { - fn.apply(null, args); - } else { - fn.call(null); - } - // Prevent ids from leaking - exports.clearImmediate(id); - } - }); - - return id; -}; - -exports.clearImmediate = typeof clearImmediate === "function" ? clearImmediate : function(id) { - delete immediateIds[id]; -}; -}).call(this,require("timers").setImmediate,require("timers").clearImmediate) -},{"process/browser.js":134,"timers":150}],151:[function(require,module,exports){ - -var toSpace = require('to-space-case'); - - -/** - * Expose `toCamelCase`. - */ - -module.exports = toCamelCase; - - -/** - * Convert a `string` to camel case. - * - * @param {String} string - * @return {String} - */ - - -function toCamelCase (string) { - return toSpace(string).replace(/\s(\w)/g, function (matches, letter) { - return letter.toUpperCase(); - }); -} -},{"to-space-case":153}],152:[function(require,module,exports){ - -/** - * Expose `toNoCase`. - */ - -module.exports = toNoCase; - - -/** - * Test whether a string is camel-case. - */ - -var hasSpace = /\s/; -var hasCamel = /[a-z][A-Z]/; -var hasSeparator = /[\W_]/; - - -/** - * Remove any starting case from a `string`, like camel or snake, but keep - * spaces and punctuation that may be important otherwise. - * - * @param {String} string - * @return {String} - */ - -function toNoCase (string) { - if (hasSpace.test(string)) return string.toLowerCase(); - - if (hasSeparator.test(string)) string = unseparate(string); - if (hasCamel.test(string)) string = uncamelize(string); - return string.toLowerCase(); -} - - -/** - * Separator splitter. - */ - -var separatorSplitter = /[\W_]+(.|$)/g; - - -/** - * Un-separate a `string`. - * - * @param {String} string - * @return {String} - */ - -function unseparate (string) { - return string.replace(separatorSplitter, function (m, next) { - return next ? ' ' + next : ''; - }); -} - - -/** - * Camelcase splitter. - */ - -var camelSplitter = /(.)([A-Z]+)/g; - - -/** - * Un-camelcase a `string`. - * - * @param {String} string - * @return {String} - */ - -function uncamelize (string) { - return string.replace(camelSplitter, function (m, previous, uppers) { - return previous + ' ' + uppers.toLowerCase().split('').join(' '); - }); -} -},{}],153:[function(require,module,exports){ - -var clean = require('to-no-case'); - - -/** - * Expose `toSpaceCase`. - */ - -module.exports = toSpaceCase; - - -/** - * Convert a `string` to space case. - * - * @param {String} string - * @return {String} - */ - - -function toSpaceCase (string) { - return clean(string).replace(/[\W_]+(.|$)/g, function (matches, match) { - return match ? ' ' + match : ''; - }); -} -},{"to-no-case":152}],154:[function(require,module,exports){ +},{}],144:[function(require,module,exports){ exports = module.exports = trim; @@ -19874,7 +19213,7 @@ exports.right = function(str){ return str.replace(/\s*$/, ''); }; -},{}],155:[function(require,module,exports){ +},{}],145:[function(require,module,exports){ 'use strict'; var crossvent = require('crossvent'); @@ -19962,11 +19301,11 @@ function bullseye (el, target, options) { module.exports = bullseye; -},{"./tailormade":156,"./throttle":157,"crossvent":15}],156:[function(require,module,exports){ +},{"./tailormade":146,"./throttle":147,"crossvent":13}],146:[function(require,module,exports){ arguments[4][5][0].apply(exports,arguments) -},{"./throttle":157,"crossvent":15,"dup":5,"seleccion":144,"sell":146}],157:[function(require,module,exports){ +},{"./throttle":147,"crossvent":13,"dup":5,"seleccion":138,"sell":140}],147:[function(require,module,exports){ arguments[4][6][0].apply(exports,arguments) -},{"dup":6}],158:[function(require,module,exports){ +},{"dup":6}],148:[function(require,module,exports){ 'use strict'; var crossvent = require('crossvent'); @@ -20168,7 +19507,7 @@ function preventCtrlYZ (e) { module.exports = InputHistory; -},{"./InputState":159,"crossvent":15}],159:[function(require,module,exports){ +},{"./InputState":149,"crossvent":13}],149:[function(require,module,exports){ (function (global){ 'use strict'; @@ -20251,7 +19590,7 @@ InputState.prototype.setChunks = function (chunk) { module.exports = InputState; }).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {}) -},{"./fixEOL":166,"./html/HtmlChunks":170,"./isVisibleElement":179,"./markdown/MarkdownChunks":181}],160:[function(require,module,exports){ +},{"./fixEOL":156,"./html/HtmlChunks":160,"./isVisibleElement":169,"./markdown/MarkdownChunks":171}],150:[function(require,module,exports){ 'use strict'; var crossvent = require('crossvent'); @@ -20354,7 +19693,7 @@ function bindCommands (surface, options, editor) { module.exports = bindCommands; -},{"./html/blockquote":171,"./html/boldOrItalic":172,"./html/codeblock":173,"./html/heading":174,"./html/hr":175,"./html/linkOrImageOrAttachment":176,"./html/list":177,"./markdown/blockquote":182,"./markdown/boldOrItalic":183,"./markdown/codeblock":184,"./markdown/heading":185,"./markdown/hr":186,"./markdown/linkOrImageOrAttachment":187,"./markdown/list":188,"crossvent":15}],161:[function(require,module,exports){ +},{"./html/blockquote":161,"./html/boldOrItalic":162,"./html/codeblock":163,"./html/heading":164,"./html/hr":165,"./html/linkOrImageOrAttachment":166,"./html/list":167,"./markdown/blockquote":172,"./markdown/boldOrItalic":173,"./markdown/codeblock":174,"./markdown/heading":175,"./markdown/hr":176,"./markdown/linkOrImageOrAttachment":177,"./markdown/list":178,"crossvent":13}],151:[function(require,module,exports){ 'use strict'; function cast (collection) { @@ -20369,7 +19708,7 @@ function cast (collection) { module.exports = cast; -},{}],162:[function(require,module,exports){ +},{}],152:[function(require,module,exports){ 'use strict'; var rinput = /^\s*(.*?)(?:\s+"(.+)")?\s*$/; @@ -20420,7 +19759,7 @@ function formatHref (url) { module.exports = parseLinkInput; -},{}],163:[function(require,module,exports){ +},{}],153:[function(require,module,exports){ 'use strict'; function trim (remove) { @@ -20441,7 +19780,7 @@ function trim (remove) { module.exports = trim; -},{}],164:[function(require,module,exports){ +},{}],154:[function(require,module,exports){ 'use strict'; var rtrim = /^\s+|\s+$/g; @@ -20463,7 +19802,7 @@ module.exports = { rm: rmClass }; -},{}],165:[function(require,module,exports){ +},{}],155:[function(require,module,exports){ 'use strict'; function extendRegExp (regex, pre, post) { @@ -20483,7 +19822,7 @@ function extendRegExp (regex, pre, post) { module.exports = extendRegExp; -},{}],166:[function(require,module,exports){ +},{}],156:[function(require,module,exports){ 'use strict'; function fixEOL (text) { @@ -20492,7 +19831,7 @@ function fixEOL (text) { module.exports = fixEOL; -},{}],167:[function(require,module,exports){ +},{}],157:[function(require,module,exports){ 'use strict'; var InputState = require('./InputState'); @@ -20529,7 +19868,7 @@ function getCommandHandler (surface, history, fn) { module.exports = getCommandHandler; -},{"./InputState":159}],168:[function(require,module,exports){ +},{"./InputState":149}],158:[function(require,module,exports){ (function (global){ 'use strict'; @@ -20749,7 +20088,7 @@ function surface (textarea, editable, droparea) { module.exports = surface; }).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {}) -},{"./cast":161,"./fixEOL":166,"./many":180,"seleccion":144}],169:[function(require,module,exports){ +},{"./cast":151,"./fixEOL":156,"./many":170,"seleccion":138}],159:[function(require,module,exports){ 'use strict'; function getText (el) { @@ -20758,7 +20097,7 @@ function getText (el) { module.exports = getText; -},{}],170:[function(require,module,exports){ +},{}],160:[function(require,module,exports){ 'use strict'; var trimChunks = require('../chunks/trim'); @@ -20776,7 +20115,7 @@ HtmlChunks.prototype.skip = function () { module.exports = HtmlChunks; -},{"../chunks/trim":163}],171:[function(require,module,exports){ +},{"../chunks/trim":153}],161:[function(require,module,exports){ 'use strict'; var strings = require('../strings'); @@ -20788,7 +20127,7 @@ function blockquote (chunks) { module.exports = blockquote; -},{"../strings":198,"./wrapping":178}],172:[function(require,module,exports){ +},{"../strings":188,"./wrapping":168}],162:[function(require,module,exports){ 'use strict'; var strings = require('../strings'); @@ -20800,7 +20139,7 @@ function boldOrItalic (chunks, type) { module.exports = boldOrItalic; -},{"../strings":198,"./wrapping":178}],173:[function(require,module,exports){ +},{"../strings":188,"./wrapping":168}],163:[function(require,module,exports){ 'use strict'; var strings = require('../strings'); @@ -20812,7 +20151,7 @@ function codeblock (chunks) { module.exports = codeblock; -},{"../strings":198,"./wrapping":178}],174:[function(require,module,exports){ +},{"../strings":188,"./wrapping":168}],164:[function(require,module,exports){ 'use strict'; var strings = require('../strings'); @@ -20848,7 +20187,7 @@ function heading (chunks) { module.exports = heading; -},{"../strings":198}],175:[function(require,module,exports){ +},{"../strings":188}],165:[function(require,module,exports){ 'use strict'; function hr (chunks) { @@ -20858,7 +20197,7 @@ function hr (chunks) { module.exports = hr; -},{}],176:[function(require,module,exports){ +},{}],166:[function(require,module,exports){ 'use strict'; var crossvent = require('crossvent'); @@ -20969,7 +20308,7 @@ function linkOrImageOrAttachment (chunks, options) { module.exports = linkOrImageOrAttachment; -},{"../chunks/parseLinkInput":162,"../once":191,"../strings":198,"crossvent":15}],177:[function(require,module,exports){ +},{"../chunks/parseLinkInput":152,"../once":181,"../strings":188,"crossvent":13}],167:[function(require,module,exports){ 'use strict'; var strings = require('../strings'); @@ -21042,7 +20381,7 @@ function list (chunks, ordered) { module.exports = list; -},{"../strings":198}],178:[function(require,module,exports){ +},{"../strings":188}],168:[function(require,module,exports){ 'use strict'; function wrapping (tag, placeholder, chunks) { @@ -21153,7 +20492,7 @@ function surrounded (chunks, tag) { module.exports = wrapping; -},{}],179:[function(require,module,exports){ +},{}],169:[function(require,module,exports){ (function (global){ 'use strict'; @@ -21168,7 +20507,7 @@ function isVisibleElement (elem) { module.exports = isVisibleElement; }).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {}) -},{}],180:[function(require,module,exports){ +},{}],170:[function(require,module,exports){ 'use strict'; function many (text, times) { @@ -21177,7 +20516,7 @@ function many (text, times) { module.exports = many; -},{}],181:[function(require,module,exports){ +},{}],171:[function(require,module,exports){ 'use strict'; var many = require('../many'); @@ -21247,7 +20586,7 @@ MarkdownChunks.prototype.skip = function (options) { module.exports = MarkdownChunks; -},{"../chunks/trim":163,"../extendRegExp":165,"../many":180}],182:[function(require,module,exports){ +},{"../chunks/trim":153,"../extendRegExp":155,"../many":170}],172:[function(require,module,exports){ 'use strict'; var strings = require('../strings'); @@ -21375,7 +20714,7 @@ function blockquote (chunks) { module.exports = blockquote; -},{"../strings":198,"./settings":189,"./wrapping":190}],183:[function(require,module,exports){ +},{"../strings":188,"./settings":179,"./wrapping":180}],173:[function(require,module,exports){ 'use strict'; var rleading = /^(\**)/; @@ -21414,7 +20753,7 @@ function boldOrItalic (chunks, type) { module.exports = boldOrItalic; -},{"../strings":198}],184:[function(require,module,exports){ +},{"../strings":188}],174:[function(require,module,exports){ 'use strict'; var strings = require('../strings'); @@ -21501,7 +20840,7 @@ function codeblock (chunks, options) { module.exports = codeblock; -},{"../strings":198}],185:[function(require,module,exports){ +},{"../strings":188}],175:[function(require,module,exports){ 'use strict'; var many = require('../many'); @@ -21550,7 +20889,7 @@ function heading (chunks) { module.exports = heading; -},{"../many":180,"../strings":198}],186:[function(require,module,exports){ +},{"../many":170,"../strings":188}],176:[function(require,module,exports){ 'use strict'; function hr (chunks) { @@ -21561,7 +20900,7 @@ function hr (chunks) { module.exports = hr; -},{}],187:[function(require,module,exports){ +},{}],177:[function(require,module,exports){ 'use strict'; var once = require('../once'); @@ -21720,7 +21059,7 @@ function linkOrImageOrAttachment (chunks, options) { module.exports = linkOrImageOrAttachment; -},{"../chunks/parseLinkInput":162,"../once":191,"../strings":198}],188:[function(require,module,exports){ +},{"../chunks/parseLinkInput":152,"../once":181,"../strings":188}],178:[function(require,module,exports){ 'use strict'; var many = require('../many'); @@ -21809,14 +21148,14 @@ function list (chunks, ordered) { module.exports = list; -},{"../many":180,"../strings":198,"./settings":189,"./wrapping":190}],189:[function(require,module,exports){ +},{"../many":170,"../strings":188,"./settings":179,"./wrapping":180}],179:[function(require,module,exports){ 'use strict'; module.exports = { lineLength: 72 }; -},{}],190:[function(require,module,exports){ +},{}],180:[function(require,module,exports){ 'use strict'; var prefixes = '(?:\\s{4,}|\\s*>|\\s*-\\s+|\\s*\\d+\\.|=|\\+|-|_|\\*|#|\\s*\\[[^\n]]+\\]:)'; @@ -21847,7 +21186,7 @@ module.exports = { unwrap: unwrap }; -},{}],191:[function(require,module,exports){ +},{}],181:[function(require,module,exports){ 'use strict'; function once (fn) { @@ -21863,7 +21202,7 @@ function once (fn) { module.exports = once; -},{}],192:[function(require,module,exports){ +},{}],182:[function(require,module,exports){ 'use strict'; var doc = document; @@ -21902,7 +21241,7 @@ function remove (prompts) { module.exports = closePrompts; -},{}],193:[function(require,module,exports){ +},{}],183:[function(require,module,exports){ 'use strict'; var crossvent = require('crossvent'); @@ -22075,7 +21414,7 @@ function prompt (options, done) { module.exports = prompt; -},{"../classes":164,"../strings":198,"../uploads":199,"./render":194,"bureaucracy":7,"crossvent":15}],194:[function(require,module,exports){ +},{"../classes":154,"../strings":188,"../uploads":189,"./render":184,"bureaucracy":7,"crossvent":13}],184:[function(require,module,exports){ (function (global){ 'use strict'; @@ -22174,7 +21513,7 @@ render.uploads = uploads; module.exports = render; }).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {}) -},{"../classes":164,"../getText":169,"../setText":197,"../strings":198,"crossvent":15}],195:[function(require,module,exports){ +},{"../classes":154,"../getText":159,"../setText":187,"../strings":188,"crossvent":13}],185:[function(require,module,exports){ 'use strict'; var bullseye = require('bullseye'); @@ -22221,7 +21560,7 @@ function rememberSelection (history) { module.exports = rememberSelection; -},{"bullseye":155}],196:[function(require,module,exports){ +},{"bullseye":145}],186:[function(require,module,exports){ 'use strict'; var setText = require('./setText'); @@ -22244,7 +21583,7 @@ module.exports = { commands: commands }; -},{"./setText":197,"./strings":198}],197:[function(require,module,exports){ +},{"./setText":187,"./strings":188}],187:[function(require,module,exports){ 'use strict'; function setText (el, value) { @@ -22253,7 +21592,7 @@ function setText (el, value) { module.exports = setText; -},{}],198:[function(require,module,exports){ +},{}],188:[function(require,module,exports){ 'use strict'; module.exports = { @@ -22322,7 +21661,7 @@ module.exports = { } }; -},{}],199:[function(require,module,exports){ +},{}],189:[function(require,module,exports){ 'use strict'; var crossvent = require('crossvent'); @@ -22392,7 +21731,7 @@ function dragstopper (droparea) { uploads.stop = dragstopper; module.exports = uploads; -},{"./classes":164,"crossvent":15}],200:[function(require,module,exports){ +},{"./classes":154,"crossvent":13}],190:[function(require,module,exports){ (function (global){ 'use strict'; @@ -22758,7 +22097,7 @@ woofmark.strings = strings; module.exports = woofmark; }).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {}) -},{"./InputHistory":158,"./bindCommands":160,"./classes":164,"./getCommandHandler":167,"./getSurface":168,"./prompts/close":192,"./prompts/prompt":193,"./rememberSelection":195,"./renderers":196,"./setText":197,"./strings":198,"./uploads":199,"crossvent":15,"kanye":59,"local-storage":60}],201:[function(require,module,exports){ +},{"./InputHistory":148,"./bindCommands":150,"./classes":154,"./getCommandHandler":157,"./getSurface":158,"./prompts/close":182,"./prompts/prompt":183,"./rememberSelection":185,"./renderers":186,"./setText":187,"./strings":188,"./uploads":189,"crossvent":13,"kanye":47,"local-storage":48}],191:[function(require,module,exports){ module.exports = extend var hasOwnProperty = Object.prototype.hasOwnProperty; @@ -22779,7 +22118,7 @@ function extend() { return target } -},{}],202:[function(require,module,exports){ +},{}],192:[function(require,module,exports){ var Class = require('resig-class'); PL = PublicLab = {}; @@ -22995,7 +22334,7 @@ PL.Editor = Class.extend({ }); -},{"./PublicLab.Errors.js":203,"./PublicLab.Help.js":204,"./PublicLab.History.js":205,"./adapters/PublicLab.Formatter.js":206,"./adapters/PublicLab.Woofmark.js":207,"./core/Util.js":208,"./modules/PublicLab.MainImageModule.js":209,"./modules/PublicLab.Module.js":210,"./modules/PublicLab.RichTextModule.js":214,"./modules/PublicLab.TagsModule.js":215,"./modules/PublicLab.TitleModule.js":217,"resig-class":136}],203:[function(require,module,exports){ +},{"./PublicLab.Errors.js":193,"./PublicLab.Help.js":194,"./PublicLab.History.js":195,"./adapters/PublicLab.Formatter.js":196,"./adapters/PublicLab.Woofmark.js":197,"./core/Util.js":198,"./modules/PublicLab.MainImageModule.js":199,"./modules/PublicLab.Module.js":200,"./modules/PublicLab.RichTextModule.js":204,"./modules/PublicLab.TagsModule.js":205,"./modules/PublicLab.TitleModule.js":207,"resig-class":130}],193:[function(require,module,exports){ /* * Error display; error format is: * "title": ["can't be blank"] @@ -23029,7 +22368,7 @@ module.exports = PublicLab.Errors = Class.extend({ }); -},{}],204:[function(require,module,exports){ +},{}],194:[function(require,module,exports){ /* * UI behaviors and systems to provide helpful tips and guidance. */ @@ -23066,7 +22405,7 @@ module.exports = PublicLab.Help = Class.extend({ }); -},{}],205:[function(require,module,exports){ +},{}],195:[function(require,module,exports){ /* * History of edits, sorted by day. */ @@ -23349,7 +22688,7 @@ module.exports = PublicLab.History = Class.extend({ }); -},{"moment":132,"resig-class":136}],206:[function(require,module,exports){ +},{"moment":127,"resig-class":130}],196:[function(require,module,exports){ /* * Formatters package the post content for a specific * application, like PublicLab.org or Drupal. @@ -23368,35 +22707,38 @@ module.exports = PublicLab.Formatter = Class.extend({ // functions that accept standard and output form data for known services _formatter.schemas = { - + "publiclab": function(data) { - + var output = {}; - - output.title = data.title || null; - output.body = data.body || null; - + + output.title = data.title || null; + output.body = data.body || null; + // we can remove this from server req, since we're authenticated - output.authenticity_token = data.token || null; - + output.authenticity_token = data.token || null; + + // Whether note will be draft or not + output.draft = data.draft || false; + // Optional: output.tags = data.tags || null; // comma delimited output.has_main_image = data.has_main_image || null; output.main_image = data.main_image || null; // id to associate with pre-uploaded image output.node_images = data.node_images || null; // comma-separated image.ids, I think // photo is probably actually a multipart, but we pre-upload anyways, so probably not necessary: - output.image = { }; + output.image = { }; output.image.photo = data.image || null; - + return output; - + }//, - + // "drupal": { // "title": null, // "body": null // } - + } @@ -23411,7 +22753,7 @@ module.exports = PublicLab.Formatter = Class.extend({ }); -},{"resig-class":136}],207:[function(require,module,exports){ +},{"resig-class":130}],197:[function(require,module,exports){ /* * Wrapped woofmark() constructor with * customizations for our use case. @@ -23764,7 +23106,7 @@ module.exports = function(textarea, _editor, _module) { } -},{"../modules/PublicLab.RichTextModule.Embed.js":211,"../modules/PublicLab.RichTextModule.HorizontalRule.js":212,"../modules/PublicLab.RichTextModule.Table.js":213,"banksy":3,"domador":18,"horsey":37,"megamark":130,"woofmark":200}],208:[function(require,module,exports){ +},{"../modules/PublicLab.RichTextModule.Embed.js":201,"../modules/PublicLab.RichTextModule.HorizontalRule.js":202,"../modules/PublicLab.RichTextModule.Table.js":203,"banksy":3,"domador":16,"horsey":34,"megamark":125,"woofmark":190}],198:[function(require,module,exports){ module.exports = { getUrlHashParameter: function(sParam) { @@ -23804,7 +23146,7 @@ module.exports = { } -},{}],209:[function(require,module,exports){ +},{}],199:[function(require,module,exports){ /* * Form module for main post image */ @@ -23945,7 +23287,7 @@ module.exports = PublicLab.MainImageModule = PublicLab.Module.extend({ }); -},{}],210:[function(require,module,exports){ +},{}],200:[function(require,module,exports){ /* * Form modules like title, tags, body, main image */ @@ -24015,7 +23357,7 @@ module.exports = PublicLab.Module = Class.extend({ }); -},{}],211:[function(require,module,exports){ +},{}],201:[function(require,module,exports){ /* Embed insertion: */ @@ -24035,7 +23377,7 @@ module.exports = function initEmbed(_module, wysiwyg) { } -},{}],212:[function(require,module,exports){ +},{}],202:[function(require,module,exports){ /* Horizontal Rule insertion: **** */ @@ -24058,7 +23400,7 @@ module.exports = function initHorizontalRule(_module, wysiwyg) { } -},{}],213:[function(require,module,exports){ +},{}],203:[function(require,module,exports){ /* Table generation: @@ -24157,7 +23499,7 @@ module.exports = function initTables(_module, wysiwyg) { } -},{}],214:[function(require,module,exports){ +},{}],204:[function(require,module,exports){ /* * Form module for rich text entry */ @@ -24287,14 +23629,11 @@ module.exports = PublicLab.RichTextModule = PublicLab.Module.extend({ } - - var growTextarea = require('grow-textarea'); - + // caused wild jumpy behavior - https://github.com/publiclab/PublicLab.Editor/issues/114 + //var growTextarea = require('grow-textarea'); // Make textarea match content height _module.resize = function() { - - growTextarea(_module.options.textarea, { extra: 10 }); - + //growTextarea(_module.options.textarea, { extra: 10 }); } _module.resize(); @@ -24351,7 +23690,7 @@ module.exports = PublicLab.RichTextModule = PublicLab.Module.extend({ }); -},{"crossvent":15,"grow-textarea":24}],215:[function(require,module,exports){ +},{"crossvent":13}],205:[function(require,module,exports){ /* * Form module for post tags */ @@ -24473,7 +23812,7 @@ module.exports = PublicLab.TagsModule = PublicLab.Module.extend({ }); -},{}],216:[function(require,module,exports){ +},{}],206:[function(require,module,exports){ /* Displays related posts to associate this one with. * Pass this a fetchRelated() method which runs show() with returned JSON data. * Example: @@ -24576,7 +23915,7 @@ module.exports = function relatedNodes(module) { } -},{}],217:[function(require,module,exports){ +},{}],207:[function(require,module,exports){ /* * Form module for post title */ @@ -24708,4 +24047,4 @@ module.exports = PublicLab.TitleModule = PublicLab.Module.extend({ }); -},{"./PublicLab.TitleModule.Related.js":216}]},{},[202]); +},{"./PublicLab.TitleModule.Related.js":206}]},{},[192]); diff --git a/package.json b/package.json index 4cd9543a..2e2333e8 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "publiclab-editor", - "version": "1.3.0", + "version": "1.3.1", "description": "PublicLab.Editor is a general purpose, JavaScript/Bootstrap UI framework for rich text posting, which provides an author-friendly, minimal, mobile/desktop (fluid) interface for creating blog-like content, designed for PublicLab.org", "main": "dist/PublicLab.Editor.js", "scripts": { diff --git a/src/modules/PublicLab.RichTextModule.js b/src/modules/PublicLab.RichTextModule.js index 1453a41f..d95738fb 100644 --- a/src/modules/PublicLab.RichTextModule.js +++ b/src/modules/PublicLab.RichTextModule.js @@ -127,14 +127,11 @@ module.exports = PublicLab.RichTextModule = PublicLab.Module.extend({ } - - var growTextarea = require('grow-textarea'); - + // caused wild jumpy behavior - https://github.com/publiclab/PublicLab.Editor/issues/114 + //var growTextarea = require('grow-textarea'); // Make textarea match content height _module.resize = function() { - - growTextarea(_module.options.textarea, { extra: 10 }); - + //growTextarea(_module.options.textarea, { extra: 10 }); } _module.resize();