/*! 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<i.length;o++)r(i[o]);return r}({1:[function(e,n,t){n.exports={grinning:"\ud83d\ude00",smiley:"\ud83d\ude03",smile:"\ud83d\ude04",grin:"\ud83d\ude01",laughing:"\ud83d\ude06",satisfied:"\ud83d\ude06",sweat_smile:"\ud83d\ude05",joy:"\ud83d\ude02",blush:"\ud83d\ude0a",innocent:"\ud83d\ude07",wink:"\ud83d\ude09",relieved:"\ud83d\ude0c",heart_eyes:"\ud83d\ude0d",kissing_heart:"\ud83d\ude18",kissing:"\ud83d\ude17",kissing_smiling_eyes:"\ud83d\ude19",kissing_closed_eyes:"\ud83d\ude1a",yum:"\ud83d\ude0b",stuck_out_tongue_winking_eye:"\ud83d\ude1c",stuck_out_tongue_closed_eyes:"\ud83d\ude1d",stuck_out_tongue:"\ud83d\ude1b",sunglasses:"\ud83d\ude0e",smirk:"\ud83d\ude0f",unamused:"\ud83d\ude12",disappointed:"\ud83d\ude1e",pensive:"\ud83d\ude14",worried:"\ud83d\ude1f",confused:"\ud83d\ude15",persevere:"\ud83d\ude23",confounded:"\ud83d\ude16",tired_face:"\ud83d\ude2b",weary:"\ud83d\ude29",angry:"\ud83d\ude20",rage:"\ud83d\ude21",pout:"\ud83d\ude21",no_mouth:"\ud83d\ude36",neutral_face:"\ud83d\ude10",expressionless:"\ud83d\ude11",hushed:"\ud83d\ude2f",frowning:"\ud83d\ude26",anguished:"\ud83d\ude27",open_mouth:"\ud83d\ude2e",astonished:"\ud83d\ude32",dizzy_face:"\ud83d\ude35",flushed:"\ud83d\ude33",scream:"\ud83d\ude31",fearful:"\ud83d\ude28",cold_sweat:"\ud83d\ude30",cry:"\ud83d\ude22",disappointed_relieved:"\ud83d\ude25",sob:"\ud83d\ude2d",sweat:"\ud83d\ude13",sleepy:"\ud83d\ude2a",sleeping:"\ud83d\ude34",mask:"\ud83d\ude37",smiling_imp:"\ud83d\ude08",smiley_cat:"\ud83d\ude3a",smile_cat:"\ud83d\ude38",joy_cat:"\ud83d\ude39",heart_eyes_cat:"\ud83d\ude3b",smirk_cat:"\ud83d\ude3c",kissing_cat:"\ud83d\ude3d",scream_cat:"\ud83d\ude40",crying_cat_face:"\ud83d\ude3f",pouting_cat:"\ud83d\ude3e",fist_raised:"\u270a",fist:"\u270a",v:"\u270c\ufe0f",point_up:"\u261d\ufe0f",hand:"\u270b",raised_hand:"\u270b",cat:"\ud83d\udc31",mouse:"\ud83d\udc2d",cow:"\ud83d\udc2e",monkey_face:"\ud83d\udc35",star:"\u2b50\ufe0f",sparkles:"\u2728",zap:"\u26a1\ufe0f",sunny:"\u2600\ufe0f",cloud:"\u2601\ufe0f",snowflake:"\u2744\ufe0f",umbrella:"\u2614\ufe0f",coffee:"\u2615\ufe0f",airplane:"\u2708\ufe0f",anchor:"\u2693\ufe0f",watch:"\u231a\ufe0f",phone:"\u260e\ufe0f",telephone:"\u260e\ufe0f",hourglass:"\u231b\ufe0f",email:"\u2709\ufe0f",envelope:"\u2709\ufe0f",scissors:"\u2702\ufe0f",black_nib:"\u2712\ufe0f",pencil2:"\u270f\ufe0f",heart:"\u2764\ufe0f",aries:"\u2648\ufe0f",taurus:"\u2649\ufe0f",gemini:"\u264a\ufe0f",cancer:"\u264b\ufe0f",leo:"\u264c\ufe0f",virgo:"\u264d\ufe0f",libra:"\u264e\ufe0f",scorpius:"\u264f\ufe0f",sagittarius:"\u2650\ufe0f",capricorn:"\u2651\ufe0f",aquarius:"\u2652\ufe0f",pisces:"\u2653\ufe0f",eight_pointed_black_star:"\u2734\ufe0f",x:"\u274c",hotsprings:"\u2668\ufe0f",exclamation:"\u2757\ufe0f",heavy_exclamation_mark:"\u2757\ufe0f",grey_exclamation:"\u2755",question:"\u2753",grey_question:"\u2754",bangbang:"\u203c\ufe0f",interrobang:"\u2049\ufe0f",part_alternation_mark:"\u303d\ufe0f",warning:"\u26a0\ufe0f",recycle:"\u267b\ufe0f",white_check_mark:"\u2705",sparkle:"\u2747\ufe0f",eight_spoked_asterisk:"\u2733\ufe0f",negative_squared_cross_mark:"\u274e",m:"\u24c2\ufe0f",wheelchair:"\u267f\ufe0f",information_source:"\u2139\ufe0f",heavy_plus_sign:"\u2795",heavy_minus_sign:"\u2796",heavy_division_sign:"\u2797",heavy_multiplication_x:"\u2716\ufe0f",tm:"\u2122\ufe0f",copyright:"\xa9\ufe0f",registered:"\xae\ufe0f",wavy_dash:"\u3030\ufe0f",curly_loop:"\u27b0",loop:"\u27bf",heavy_check_mark:"\u2714\ufe0f",ballot_box_with_check:"\u2611\ufe0f",white_circle:"\u26aa\ufe0f",black_circle:"\u26ab\ufe0f",black_small_square:"\u25aa\ufe0f",white_small_square:"\u25ab\ufe0f",black_medium_small_square:"\u25fe\ufe0f",white_medium_small_square:"\u25fd\ufe0f",black_medium_square:"\u25fc\ufe0f",white_medium_square:"\u25fb\ufe0f",black_large_square:"\u2b1b\ufe0f",white_large_square:"\u2b1c\ufe0f",black_joker:"\ud83c\udccf",mahjong:"\ud83c\udc04\ufe0f"}},{}],2:[function(e,n,t){"use strict";n.exports={angry:[">:(",">:-("],blush:[':")',':-")'],broken_heart:["</3","<\\3"],confused:[":/",":-/"],cry:[":'(",":'-(",":,(",":,-("],frowning:[":(",":-("],heart:["<3"],imp:["]:(","]:-("],innocent:["o:)","O:)","o:-)","O:-)","0:)","0:-)"],joy:[":')",":'-)",":,)",":,-)",":'D",":'-D",":,D",":,-D"],kissing:[":*",":-*"],laughing:["x-)","X-)"],neutral_face:[":|",":-|"],open_mouth:[":o",":-o",":O",":-O"],rage:[":@",":-@"],smile:[":D",":-D"],smiley:[":)",":-)"],smiling_imp:["]:)","]:-)"],sob:[":,'(",":,'-(",";(",";-("],stuck_out_tongue:[":P",":-P"],sunglasses:["8-)","B-)"],sweat:[",:(",",:-("],sweat_smile:[",:)",",:-)"],unamused:[":s",":-S",":z",":-Z",":$",":-$"],wink:[";)",";-)"]}},{}],3:[function(e,n,t){"use strict";function i(e){return e.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}n.exports=function(e){var n,t=e.defs;e.enabled.length&&(t=Object.keys(t).reduce(function(n,i){return e.enabled.indexOf(i)>=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.length<l.length&&!c.test(l[r+i.length]))return}else _=i.slice(1,-1);r>a&&(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<e.length&&(o=new s("text","",0),o.content=e.slice(a),u.push(o)),u}var o=e.utils.arrayReplaceAt,a=e.utils.lib.ucmicro,c=new RegExp([a.Z.source,a.P.source,a.Cc.source].join("|"));return function(e){var n,t,r,a,c,u=e.tokens,l=0;for(t=0,r=u.length;t<r;t++)if("inline"===u[t].type)for(a=u[t].children,n=a.length-1;n>=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)});
