!function(b,a){typeof exports==='object'&&typeof module!=='undefined'?module.exports=b():typeof define==='function'&&define.amd?define([],b):(typeof window!=='undefined'?a=window:typeof global!=='undefined'?a=global:typeof self!=='undefined'?a=self:a=this,a.remarkSlug=b())}(function(){return function a(b,c,e){function f(d,k){if(!c[d]){if(!b[d]){var i=typeof require=='function'&&require;if(!k&&i)return i(d,!0);if(g)return g(d,!0);var j=new Error("Cannot find module '"+d+"'");throw j.code='MODULE_NOT_FOUND',j}var h=c[d]={exports:{}};b[d][0].call(h.exports,function(c){var a=b[d][1][c];return f(a?a:c)},h,h.exports,a,b,c,e)}return c[d].exports}var g=typeof require=='function'&&require;for(var d=0;d?@[\]^`{|}~]/g,e=!1,g='-';return typeof a!=='string'?'':(e||(a=a.replace(/[A-Z]+/g,f)),a.trim().replace(d,'').replace(b(),'').replace(c,g))}var b=d('emoji-regex');e.exports=a,a.prototype.slug=function(d){var c=this,a=g(d),b=c.occurrences[a];return c.occurrences.hasOwnProperty(a)?b++:b=0,c.occurrences[a]=b,b&&(a=a+'-'+b),a},a.prototype.reset=function(){this.occurrences={}};var c=/\s/g},{'emoji-regex':2}],4:[function(d,b,e){'use strict';function a(b){return c(b)||b.children&&b.children.map(a).join('')||''}function c(a){return a?a.value?a.value:(a.alt?a.alt:a.title)||'':''}b.exports=a},{}],5:[function(c,a,d){'use strict';function b(e,a,b,c){function d(c,d,g){var e;return d=d||(g?0:null),(!a||c.type===a)&&(e=b(c,d,g||null)),c.children&&e!==!1?f(c.children,c):e}function f(h,i){var b=c?-1:1,e=h.length,f=-1,a=(c?e:f)+b,g;while(a>f&&a