/*! markdown-it-emoji 1.4.0 https://github.com//markdown-it/markdown-it-emoji @license MIT */ !function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var n;n="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this,n.markdownitEmoji=e()}}(function(){return function e(n,t,i){function r(o,a){if(!t[o]){if(!n[o]){var c="function"==typeof require&&require;if(!a&&c)return c(o,!0);if(s)return s(o,!0);var u=new Error("Cannot find module '"+o+"'");throw u.code="MODULE_NOT_FOUND",u}var l=t[o]={exports:{}};n[o][0].call(l.exports,function(e){var t=n[o][1][e];return r(t?t:e)},l,l.exports,e,n,t,i)}return t[o].exports}for(var s="function"==typeof require&&require,o=0;o:(",">:-("],blush:[':")',':-")'],broken_heart:["=0&&(n[i]=t[i]),n},{})),n=Object.keys(e.shortcuts).reduce(function(n,i){return t[i]?Array.isArray(e.shortcuts[i])?(e.shortcuts[i].forEach(function(e){n[e]=i}),n):(n[e.shortcuts[i]]=i,n):n},{});var r=Object.keys(t).map(function(e){return":"+e+":"}).concat(Object.keys(n)).sort().reverse().map(function(e){return i(e)}).join("|"),s=RegExp(r),o=RegExp(r,"g");return{defs:t,shortcuts:n,scanRE:s,replaceRE:o}}},{}],4:[function(e,n,t){"use strict";n.exports=function(e,n){return e[n].content}},{}],5:[function(e,n,t){"use strict";n.exports=function(e,n,t,i,r){function s(e,i,s){var o,a=0,u=[];return e.replace(r,function(i,r,l){var _;if(t.hasOwnProperty(i)){if(_=t[i],r>0&&!c.test(l[r-1]))return;if(r+i.lengtha&&(o=new s("text","",0),o.content=e.slice(a,r),u.push(o)),o=new s("emoji","",0),o.markup=_,o.content=n[_],u.push(o),a=r+i.length}),a=0;n--)c=a[n],"link_open"!==c.type&&"link_close"!==c.type||"auto"===c.info&&(l-=c.nesting),"text"===c.type&&0===l&&i.test(c.content)&&(u[t].children=a=o(a,n,s(c.content,c.level,e.Token)))}}},{}],6:[function(e,n,t){"use strict";var i=e("./lib/data/light.json"),r=e("./lib/data/shortcuts"),s=e("./lib/render"),o=e("./lib/replace"),a=e("./lib/normalize_opts");n.exports=function(e,n){var t={defs:i,shortcuts:r,enabled:[]},c=a(e.utils.assign({},t,n||{}));e.renderer.rules.emoji=s,e.core.ruler.push("emoji",o(e,c.defs,c.shortcuts,c.scanRE,c.replaceRE))}},{"./lib/data/light.json":1,"./lib/data/shortcuts":2,"./lib/normalize_opts":3,"./lib/render":4,"./lib/replace":5}]},{},[6])(6)});