text: !function(L){"use strict";var n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},t=function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)},r=function(e,t,r,n){var a,i=arguments.length,o=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,r,n);else for(var s=e.length-1;0<=s;s--)(a=e[s])&&(o=(i<3?a(o):3<i?a(t,r,o):a(t,r))||o);return 3<i&&o&&Object.defineProperty(t,r,o),o},e={};(function(){var _={exports:{}};(function(){function n(e){var t={omitExtraWLInCodeBlocks:{defaultValue:!1,describe:"Omit the default extra whiteline added to code blocks",type:"boolean"},noHeaderId:{defaultValue:!1,describe:"Turn on/off generated header id",type:"boolean"},prefixHeaderId:{defaultValue:!1,describe:"Add a prefix to the generated header ids. Passing a string will prefix that string to the header id. Setting to true will add a generic 'section-' prefix",type:"string"},rawPrefixHeaderId:{defaultValue:!1,describe:'Setting this option to true will prevent showdown from modifying the prefix. This might result in malformed IDs (if, for instance, the " char is used in the prefix)',type:"boolean"},ghCompatibleHeaderId:{defaultValue:!1,describe:"Generate header ids compatible with github style (spaces are replaced with dashes, a bunch of non alphanumeric chars are removed)",type:"boolean"},rawHeaderId:{defaultValue:!1,describe:"Remove only spaces, ' and \" from generated header ids (including prefixes), replacing them with dashes (-). WARNING: This might result in malformed ids",type:"boolean"},headerLevelStart:{defaultValue:!1,describe:"The header blocks level start",type:"integer"},parseImgDimensions:{defaultValue:!1,describe:"Turn on/off image dimension parsing",type:"boolean"},simplifiedAutoLink:{defaultValue:!1,describe:"Turn on/off GFM autolink style",type:"boolean"},excludeTrailingPunctuationFromURLs:{defaultValue:!1,describe:"Excludes trailing punctuation from links generated with autoLinking",type:"boolean"},literalMidWordUnderscores:{defaultValue:!1,describe:"Parse midword underscores as literal underscores",type:"boolean"},literalMidWordAsterisks:{defaultValue:!1,describe:"Parse midword asterisks as literal asterisks",type:"boolean"},strikethrough:{defaultValue:!1,describe:"Turn on/off strikethrough support",type:"boolean"},tables:{defaultValue:!1,describe:"Turn on/off tables support",type:"boolean"},tablesHeaderId:{defaultValue:!1,describe:"Add an id to table headers",type:"boolean"},ghCodeBlocks:{defaultValue:!0,describe:"Turn on/off GFM fenced code blocks support",type:"boolean"},tasklists:{defaultValue:!1,describe:"Turn on/off GFM tasklist support",type:"boolean"},smoothLivePreview:{defaultValue:!1,describe:"Prevents weird effects in live previews due to incomplete input",type:"boolean"},smartIndentationFix:{defaultValue:!1,description:"Tries to smartly fix indentation in es6 strings",type:"boolean"},disableForced4SpacesIndentedSublists:{defaultValue:!1,description:"Disables the requirement of indenting nested sublists by 4 spaces",type:"boolean"},simpleLineBreaks:{defaultValue:!1,description:"Parses simple line breaks as <br> (GFM Style)",type:"boolean"},requireSpaceBeforeHeadingText:{defaultValue:!1,description:"Makes adding a space between `#` and the header text mandatory (GFM Style)",type:"boolean"},ghMentions:{defaultValue:!1,description:"Enables github @mentions",type:"boolean"},ghMentionsLink:{defaultValue:"https://github.com/{u}",description:"Changes the link generated by @mentions. Only applies if ghMentions option is enabled.",type:"string"},encodeEmails:{defaultValue:!0,description:"Encode e-mail addresses through the use of Character Entities, transforming ASCII e-mail addresses into its equivalent decimal entities",type:"boolean"},openLinksInNewWindow:{defaultValue:!1,description:"Open all links in new windows",type:"boolean"},backslashEscapesHTMLTags:{defaultValue:!1,description:"Support for HTML Tag escaping. ex: <div>foo</div>",type:"boolean"},emoji:{defaultValue:!1,description:"Enable emoji support. Ex: `this is a :smile: emoji`",type:"boolean"},underline:{defaultValue:!1,description:"Enable support for underline. Syntax is double or triple underscores: `__underline word__`. With this option enabled, underscores no longer parses into `<em>` and `<strong>`",type:"boolean"},completeHTMLDocument:{defaultValue:!1,description:"Outputs a complete html document, including `<html>`, `<head>` and `<body>` tags",type:"boolean"},metadata:{defaultValue:!1,description:"Enable support for document metadata (defined at the top of the document between `«««` and `»»»` or between `---` and `---`).",type:"boolean"},splitAdjacentBlockquotes:{defaultValue:!1,description:"Split adjacent blockquote blocks",type:"boolean"}};if(!1===e)return JSON.parse(JSON.stringify(t));var r={};for(var n in t)t.hasOwnProperty(n)&&(r[n]=t[n].defaultValue);return r}function e(){var e=n(!0),t={};for(var r in e)e.hasOwnProperty(r)&&(t[r]=!0);return t}var b={},r={},d={},p=n(!0),g="vanilla",m={github:{omitExtraWLInCodeBlocks:!0,simplifiedAutoLink:!0,excludeTrailingPunctuationFromURLs:!0,literalMidWordUnderscores:!0,strikethrough:!0,tables:!0,tablesHeaderId:!0,ghCodeBlocks:!0,tasklists:!0,disableForced4SpacesIndentedSublists:!0,simpleLineBreaks:!0,requireSpaceBeforeHeadingText:!0,ghCompatibleHeaderId:!0,ghMentions:!0,backslashEscapesHTMLTags:!0,emoji:!0,splitAdjacentBlockquotes:!0},original:{noHeaderId:!0,ghCodeBlocks:!1},ghost:{omitExtraWLInCodeBlocks:!0,parseImgDimensions:!0,simplifiedAutoLink:!0,excludeTrailingPunctuationFromURLs:!0,literalMidWordUnderscores:!0,strikethrough:!0,tables:!0,tablesHeaderId:!0,ghCodeBlocks:!0,tasklists:!0,smoothLivePreview:!0,simpleLineBreaks:!0,requireSpaceBeforeHeadingText:!0,ghMentions:!1,encodeEmails:!0},vanilla:n(!0),allOn:e()};function v(e,t){var r=t?"Error in "+t+" extension->":"Error in unnamed extension",n={valid:!0,error:""};b.helper.isArray(e)||(e=[e]);for(var a=0;a<e.length;++a){var i=r+" sub-extension "+a+": ",o=e[a];if("object"!=typeof o)return n.valid=!1,n.error=i+"must be an object, but "+typeof o+" given",n;if(!b.helper.isString(o.type))return n.valid=!1,n.error=i+'property "type" must be a string, but '+typeof o.type+" given",n;var s=o.type=o.type.toLowerCase();if("language"===s&&(s=o.type="lang"),"html"===s&&(s=o.type="output"),"lang"!==s&&"output"!==s&&"listener"!==s)return n.valid=!1,n.error=i+"type "+s+' is not recognized. Valid values: "lang/language", "output/html" or "listener"',n;if("listener"===s){if(b.helper.isUndefined(o.listeners))return n.valid=!1,n.error=i+'. Extensions of type "listener" must have a property called "listeners"',n}else if(b.helper.isUndefined(o.filter)&&b.helper.isUndefined(o.regex))return n.valid=!1,n.error=i+s+' extensions must define either a "regex" property or a "filter" method',n;if(o.listeners){if("object"!=typeof o.listeners)return n.valid=!1,n.error=i+'"listeners" property must be an object but '+typeof o.listeners+" given",n;for(var l in o.listeners)if(o.listeners.hasOwnProperty(l)&&"function"!=typeof o.listeners[l])return n.valid=!1,n.error=i+'"listeners" property must be an hash of [event name]: [callback]. listeners.'+l+" must be a function but "+typeof o.listeners[l]+" given",n}if(o.filter){if("function"!=typeof o.filter)return n.valid=!1,n.error=i+'"filter" must be a function, but '+typeof o.filter+" given",n}else if(o.regex){if(b.helper.isString(o.regex)&&(o.regex=RegExp(o.regex,"g")),!(o.regex instanceof RegExp))return n.valid=!1,n.error=i+'"regex" property must either be a string or a RegExp object, but '+typeof o.regex+" given",n;if(b.helper.isUndefined(o.replace))return n.valid=!1,n.error=i+'"regex" extensions must implement a replace string or function',n}}return n}function i(e,t){return"¨E"+t.charCodeAt(0)+"E"}b.helper={},b.extensions={},b.setOption=function(e,t){return p[e]=t,this},b.getOption=function(e){return p[e]},b.getOptions=function(){return p},b.resetOptions=function(){p=n(!0)},b.setFlavor=function(e){if(!m.hasOwnProperty(e))throw Error(e+" flavor was not found");b.resetOptions();var t=m[e];for(var r in g=e,t)t.hasOwnProperty(r)&&(p[r]=t[r])},b.getFlavor=function(){return g},b.getFlavorOptions=function(e){if(m.hasOwnProperty(e))return m[e]},b.getDefaultOptions=function(e){return n(e)},b.subParser=function(e,t){if(b.helper.isString(e)){if(void 0===t){if(r.hasOwnProperty(e))return r[e];throw Error("SubParser named "+e+" not registered!")}r[e]=t}},b.extension=function(e,t){if(!b.helper.isString(e))throw Error("Extension 'name' must be a string");if(e=b.helper.stdExtName(e),b.helper.isUndefined(t)){if(!d.hasOwnProperty(e))throw Error("Extension named "+e+" is not registered!");return d[e]}"function"==typeof t&&(t=t()),b.helper.isArray(t)||(t=[t]);var r=v(t,e);if(!r.valid)throw Error(r.error);d[e]=t},b.getAllExtensions=function(){return d},b.removeExtension=function(e){delete d[e]},b.resetExtensions=function(){d={}},b.validateExtension=function(e){var t=v(e,null);return!!t.valid||(console.warn(t.error),!1)},b.hasOwnProperty("helper")||(b.helper={}),b.helper.isString=function(e){return"string"==typeof e||e instanceof String},b.helper.isFunction=function(e){return e&&"[object Function]"==={}.toString.call(e)},b.helper.isArray=function(e){return Array.isArray(e)},b.helper.isUndefined=function(e){return void 0===e},b.helper.forEach=function(e,t){if(b.helper.isUndefined(e))throw Error("obj param is required");if(b.helper.isUndefined(t))throw Error("callback param is required");if(!b.helper.isFunction(t))throw Error("callback param must be a function/closure");if("function"==typeof e.forEach)e.forEach(t);else if(b.helper.isArray(e))for(var r=0;r<e.length;r++)t(e[r],r,e);else{if("object"!=typeof e)throw Error("obj does not seem to be an array or an iterable object");for(var n in e)e.hasOwnProperty(n)&&t(e[n],n,e)}},b.helper.stdExtName=function(e){return e.replace(/[_?*+\/\\.^-]/g,"").replace(/\s/g,"").toLowerCase()},b.helper.escapeCharactersCallback=i,b.helper.escapeCharacters=function(e,t,r){var n="(["+t.replace(/([\[\]\\])/g,"\\$1")+"])";r&&(n="\\\\"+n);var a=RegExp(n,"g");return e=e.replace(a,i)},b.helper.unescapeHTMLEntities=function(e){return e.replace(/&quot;/g,'"').replace(/&lt;/g,"<").replace(/&gt;/g,">").replace(/&amp;/g,"&")};var f=function(e,t,r,n){var a,i,o,s,l,c=n||"",u=-1<c.indexOf("g"),f=RegExp(t+"|"+r,"g"+c.replace(/g/g,"")),h=RegExp(t,c.replace(/g/g,"")),d=[];do{for(a=0;o=f.exec(e);)if(h.test(o[0]))a++||(s=(i=f.lastIndex)-o[0].length);else if(a&&!--a){l=o.index+o[0].length;var p={left:{start:s,end:i},match:{start:i,end:o.index},right:{start:o.index,end:l},wholeMatch:{start:s,end:l}};if(d.push(p),!u)return d}}while(a&&(f.lastIndex=i));return d};b.helper.matchRecursiveRegExp=function(e,t,r,n){for(var a=f(e,t,r,n),i=[],o=0;o<a.length;++o)i.push([e.slice(a[o].wholeMatch.start,a[o].wholeMatch.end),e.slice(a[o].match.start,a[o].match.end),e.slice(a[o].left.start,a[o].left.end),e.slice(a[o].right.start,a[o].right.end)]);return i},b.helper.replaceRecursiveRegExp=function(e,t,r,n,a){if(!b.helper.isFunction(t)){var i=t;t=function(){return i}}var o=f(e,r,n,a),s=e,l=o.length;if(0<l){var c=[];0!==o[0].wholeMatch.start&&c.push(e.slice(0,o[0].wholeMatch.start));for(var u=0;u<l;++u)c.push(t(e.slice(o[u].wholeMatch.start,o[u].wholeMatch.end),e.slice(o[u].match.start,o[u].match.end),e.slice(o[u].left.start,o[u].left.end),e.slice(o[u].right.start,o[u].right.end))),u<l-1&&c.push(e.slice(o[u].wholeMatch.end,o[u+1].wholeMatch.start));o[l-1].wholeMatch.end<e.length&&c.push(e.slice(o[l-1].wholeMatch.end)),s=c.join("")}return s},b.helper.regexIndexOf=function(e,t,r){if(!b.helper.isString(e))throw"InvalidArgumentError: first parameter of showdown.helper.regexIndexOf function must be a string";if(t instanceof RegExp==!1)throw"InvalidArgumentError: second parameter of showdown.helper.regexIndexOf function must be an instance of RegExp";var n=e.substring(r||0).search(t);return 0<=n?n+(r||0):n},b.helper.splitAtIndex=function(e,t){if(!b.helper.isString(e))throw"InvalidArgumentError: first parameter of showdown.helper.regexIndexOf function must be a string";return[e.substring(0,t),e.substring(t)]},b.helper.encodeEmailAddress=function(e){var r=[function(e){return"&#"+e.charCodeAt(0)+";"},function(e){return"&#x"+e.charCodeAt(0).toString(16)+";"},function(e){return e}];return e=e.replace(/./g,function(e){if("@"===e)e=r[Math.floor(2*Math.random())](e);else{var t=Math.random();e=.9<t?r[2](e):.45<t?r[1](e):r[0](e)}return e})},b.helper.padEnd=function(e,t,r){return t>>=0,r=(r||" ")+"",e.length>t?e+"":((t-=e.length)>r.length&&(r+=r.repeat(t/r.length)),e+""+r.slice(0,t))},void 0===console&&(console={warn:function(e){alert(e)},log:function(e){alert(e)},error:function(e){throw e}}),b.helper.regexes={asteriskDashAndColon:/([*_:~])/g},b.helper.emojis={"+1":"👍","-1":"👎",100:"💯",1234:"🔢","1st_place_medal":"🥇","2nd_place_medal":"🥈","3rd_place_medal":"🥉","8ball":"🎱",a:"🅰️",ab:"🆎",abc:"🔤",abcd:"🔡",accept:"🉑",aerial_tramway:"🚡",airplane:"✈️",alarm_clock:"⏰",alembic:"⚗️",alien:"👽",ambulance:"🚑",amphora:"🏺",anchor:"⚓️",angel:"👼",anger:"💢",angry:"😠",anguished:"😧",ant:"🐜",apple:"🍎",aquarius:"♒️",aries:"♈️",arrow_backward:"◀️",arrow_double_down:"⏬",arrow_double_up:"⏫",arrow_down:"⬇️",arrow_down_small:"🔽",arrow_forward:"▶️",arrow_heading_down:"⤵️",arrow_heading_up:"⤴️",arrow_left:"⬅️",arrow_lower_left:"↙️",arrow_lower_right:"↘️",arrow_right:"➡️",arrow_right_hook:"↪️",arrow_up:"⬆️",arrow_up_down:"↕️",arrow_up_small:"🔼",arrow_upper_left:"↖️",arrow_upper_right:"↗️",arrows_clockwise:"🔃",arrows_counterclockwise:"🔄",art:"🎨",articulated_lorry:"🚛",artificial_satellite:"🛰",astonished:"😲",athletic_shoe:"👟",atm:"🏧",atom_symbol:"⚛️",avocado:"🥑",b:"🅱️",baby:"👶",baby_bottle:"🍼",baby_chick:"🐤",baby_symbol:"🚼",back:"🔙",bacon:"🥓",badminton:"🏸",baggage_claim:"🛄",baguette_bread:"🥖",balance_scale:"⚖️",balloon:"🎈",ballot_box:"🗳",ballot_box_with_check:"☑️",bamboo:"🎍",banana:"🍌",bangbang:"‼️",bank:"🏦",bar_chart:"📊",barber:"💈",baseball:"⚾️",basketball:"🏀",basketball_man:"⛹️",basketball_woman:"⛹️&zwj;♀️",bat:"🦇",bath:"🛀",bathtub:"🛁",battery:"🔋",beach_umbrella:"🏖",bear:"🐻",bed:"🛏",bee:"🐝",beer:"🍺",beers:"🍻",beetle:"🐞",beginner:"🔰",bell:"🔔",bellhop_bell:"🛎",bento:"🍱",biking_man:"🚴",bike:"🚲",biking_woman:"🚴&zwj;♀️",bikini:"👙",biohazard:"☣️",bird:"🐦",birthday:"🎂",black_circle:"⚫️",black_flag:"🏴",black_heart:"🖤",black_joker:"🃏",black_large_square:"⬛️",black_medium_small_square:"◾️",black_medium_square:"◼️",black_nib:"✒️",black_small_square:"▪️",black_square_button:"🔲",blonde_man:"👱",blonde_woman:"👱&zwj;♀️",blossom:"🌼",blowfish:"🐡",blue_book:"📘",blue_car:"🚙",blue_heart:"💙",blush:"😊",boar:"🐗",boat:"⛵️",bomb:"💣",book:"📖",bookmark:"🔖",bookmark_tabs:"📑",books:"📚",boom:"💥",boot:"👢",bouquet:"💐",bowing_man:"🙇",bow_and_arrow:"🏹",bowing_woman:"🙇&zwj;♀️",bowling:"🎳",boxing_glove:"🥊",boy:"👦",bread:"🍞",bride_with_veil:"👰",bridge_at_night:"🌉",briefcase:"💼",broken_heart:"💔",bug:"🐛",building_construction:"🏗",bulb:"💡",bullettrain_front:"🚅",bullettrain_side:"🚄",burrito:"🌯",bus:"🚌",business_suit_levitating:"🕴",busstop:"🚏",bust_in_silhouette:"👤",busts_in_silhouette:"👥",butterfly:"🦋",cactus:"🌵",cake:"🍰",calendar:"📆",call_me_hand:"🤙",calling:"📲",camel:"🐫",camera:"📷",camera_flash:"📸",camping:"🏕",cancer:"♋️",candle:"🕯",candy:"🍬",canoe:"🛶",capital_abcd:"🔠",capricorn:"♑️",car:"🚗",card_file_box:"🗃",card_index:"📇",card_index_dividers:"🗂",carousel_horse:"🎠",carrot:"🥕",cat:"🐱",cat2:"🐈",cd:"💿",chains:"⛓",champagne:"🍾",chart:"💹",chart_with_downwards_trend:"📉",chart_with_upwards_trend:"📈",checkered_flag:"🏁",cheese:"🧀",cherries:"🍒",cherry_blossom:"🌸",chestnut:"🌰",chicken:"🐔",children_crossing:"🚸",chipmunk:"🐿",chocolate_bar:"🍫",christmas_tree:"🎄",church:"⛪️",cinema:"🎦",circus_tent:"🎪",city_sunrise:"🌇",city_sunset:"🌆",cityscape:"🏙",cl:"🆑",clamp:"🗜",clap:"👏",clapper:"🎬",classical_building:"🏛",clinking_glasses:"🥂",clipboard:"📋",clock1:"🕐",clock10:"🕙",clock1030:"🕥",clock11:"🕚",clock1130:"🕦",clock12:"🕛",clock1230:"🕧",clock130:"🕜",clock2:"🕑",clock230:"🕝",clock3:"🕒",clock330:"🕞",clock4:"🕓",clock430:"🕟",clock5:"🕔",clock530:"🕠",clock6:"🕕",clock630:"🕡",clock7:"🕖",clock730:"🕢",clock8:"🕗",clock830:"🕣",clock9:"🕘",clock930:"🕤",closed_book:"📕",closed_lock_with_key:"🔐",closed_umbrella:"🌂",cloud:"☁️",cloud_with_lightning:"🌩",cloud_with_lightning_and_rain:"⛈",cloud_with_rain:"🌧",cloud_with_snow:"🌨",clown_face:"🤡",clubs:"♣️",cocktail:"🍸",coffee:"☕️",coffin:"⚰️",cold_sweat:"😰",comet:"☄️",computer:"💻",computer_mouse:"🖱",confetti_ball:"🎊",confounded:"😖",confused:"😕",congratulations:"㊗️",construction:"🚧",construction_worker_man:"👷",construction_worker_woman:"👷&zwj;♀️",control_knobs:"🎛",convenience_store:"🏪",cookie:"🍪",cool:"🆒",policeman:"👮",copyright:"©️",corn:"🌽",couch_and_lamp:"🛋",couple:"👫",couple_with_heart_woman_man:"💑",couple_with_heart_man_man:"👨&zwj;❤️&zwj;👨",couple_with_heart_woman_woman:"👩&zwj;❤️&zwj;👩",couplekiss_man_man:"👨&zwj;❤️&zwj;💋&zwj;👨",couplekiss_man_woman:"💏",couplekiss_woman_woman:"👩&zwj;❤️&zwj;💋&zwj;👩",cow:"🐮",cow2:"🐄",cowboy_hat_face:"🤠",crab:"🦀",crayon:"🖍",credit_card:"💳",crescent_moon:"🌙",cricket:"🏏",crocodile:"🐊",croissant:"🥐",crossed_fingers:"🤞",crossed_flags:"🎌",crossed_swords:"⚔️",crown:"👑",cry:"😢",crying_cat_face:"😿",crystal_ball:"🔮",cucumber:"🥒",cupid:"💘",curly_loop:"➰",currency_exchange:"💱",curry:"🍛",custard:"🍮",customs:"🛃",cyclone:"🌀",dagger:"🗡",dancer:"💃",dancing_women:"👯",dancing_men:"👯&zwj;♂️",dango:"🍡",dark_sunglasses:"🕶",dart:"🎯",dash:"💨",date:"📅",deciduous_tree:"🌳",deer:"🦌",department_store:"🏬",derelict_house:"🏚",desert:"🏜",desert_island:"🏝",desktop_computer:"🖥",male_detective:"🕵️",diamond_shape_with_a_dot_inside:"💠",diamonds:"♦️",disappointed:"😞",disappointed_relieved:"😥",dizzy:"💫",dizzy_face:"😵",do_not_litter:"🚯",dog:"🐶",dog2:"🐕",dollar:"💵",dolls:"🎎",dolphin:"🐬",door:"🚪",doughnut:"🍩",dove:"🕊",dragon:"🐉",dragon_face:"🐲",dress:"👗",dromedary_camel:"🐪",drooling_face:"🤤",droplet:"💧",drum:"🥁",duck:"🦆",dvd:"📀","e-mail":"📧",eagle:"🦅",ear:"👂",ear_of_rice:"🌾",earth_africa:"🌍",earth_americas:"🌎",earth_asia:"🌏",egg:"🥚",eggplant:"🍆",eight_pointed_black_star:"✴️",eight_spoked_asterisk:"✳️",electric_plug:"🔌",elephant:"🐘",email:"✉️",end:"🔚",envelope_with_arrow:"📩",euro:"💶",european_castle:"🏰",european_post_office:"🏤",evergreen_tree:"🌲",exclamation:"❗️",expressionless:"😑",eye:"👁",eye_speech_bubble:"👁&zwj;🗨",eyeglasses:"👓",eyes:"👀",face_with_head_bandage:"🤕",face_with_thermometer:"🤒",fist_oncoming:"👊",factory:"🏭",fallen_leaf:"🍂",family_man_woman_boy:"👪",family_man_boy:"👨&zwj;👦",family_man_boy_boy:"👨&zwj;👦&zwj;👦",family_man_girl:"👨&zwj;👧",family_man_girl_boy:"👨&zwj;👧&zwj;👦",family_man_girl_girl:"👨&zwj;👧&zwj;👧",family_man_man_boy:"👨&zwj;👨&zwj;👦",family_man_man_boy_boy:"👨&zwj;👨&zwj;👦&zwj;👦",family_man_man_girl:"👨&zwj;👨&zwj;👧",family_man_man_girl_boy:"👨&zwj;👨&zwj;👧&zwj;👦",family_man_man_girl_girl:"👨&zwj;👨&zwj;👧&zwj;👧",family_man_woman_boy_boy:"👨&zwj;👩&zwj;👦&zwj;👦",family_man_woman_girl:"👨&zwj;👩&zwj;👧",family_man_woman_girl_boy:"👨&zwj;👩&zwj;👧&zwj;👦",family_man_woman_girl_girl:"👨&zwj;👩&zwj;👧&zwj;👧",family_woman_boy:"👩&zwj;👦",family_woman_boy_boy:"👩&zwj;👦&zwj;👦",family_woman_girl:"👩&zwj;👧",family_woman_girl_boy:"👩&zwj;👧&zwj;👦",family_woman_girl_girl:"👩&zwj;👧&zwj;👧",family_woman_woman_boy:"👩&zwj;👩&zwj;👦",family_woman_woman_boy_boy:"👩&zwj;👩&zwj;👦&zwj;👦",family_woman_woman_girl:"👩&zwj;👩&zwj;👧",family_woman_woman_girl_boy:"👩&zwj;👩&zwj;👧&zwj;👦",family_woman_woman_girl_girl:"👩&zwj;👩&zwj;👧&zwj;👧",fast_forward:"⏩",fax:"📠",fearful:"😨",feet:"🐾",female_detective:"🕵️&zwj;♀️",ferris_wheel:"🎡",ferry:"⛴",field_hockey:"🏑",file_cabinet:"🗄",file_folder:"📁",film_projector:"📽",film_strip:"🎞",fire:"🔥",fire_engine:"🚒",fireworks:"🎆",first_quarter_moon:"🌓",first_quarter_moon_with_face:"🌛",fish:"🐟",fish_cake:"🍥",fishing_pole_and_fish:"🎣",fist_raised:"✊",fist_left:"🤛",fist_right:"🤜",flags:"🎏",flashlight:"🔦",fleur_de_lis:"⚜️",flight_arrival:"🛬",flight_departure:"🛫",floppy_disk:"💾",flower_playing_cards:"🎴",flushed:"😳",fog:"🌫",foggy:"🌁",football:"🏈",footprints:"👣",fork_and_knife:"🍴",fountain:"⛲️",fountain_pen:"🖋",four_leaf_clover:"🍀",fox_face:"🦊",framed_picture:"🖼",free:"🆓",fried_egg:"🍳",fried_shrimp:"🍤",fries:"🍟",frog:"🐸",frowning:"😦",frowning_face:"☹️",frowning_man:"🙍&zwj;♂️",frowning_woman:"🙍",middle_finger:"🖕",fuelpump:"⛽️",full_moon:"🌕",full_moon_with_face:"🌝",funeral_urn:"⚱️",game_die:"🎲",gear:"⚙️",gem:"💎",gemini:"♊️",ghost:"👻",gift:"🎁",gift_heart:"💝",girl:"👧",globe_with_meridians:"🌐",goal_net:"🥅",goat:"🐐",golf:"⛳️",golfing_man:"🏌️",golfing_woman:"🏌️&zwj;♀️",gorilla:"🦍",grapes:"🍇",green_apple:"🍏",green_book:"📗",green_heart:"💚",green_salad:"🥗",grey_exclamation:"❕",grey_question:"❔",grimacing:"😬",grin:"😁",grinning:"😀",guardsman:"💂",guardswoman:"💂&zwj;♀️",guitar:"🎸",gun:"🔫",haircut_woman:"💇",haircut_man:"💇&zwj;♂️",hamburger:"🍔",hammer:"🔨",hammer_and_pick:"⚒",hammer_and_wrench:"🛠",hamster:"🐹",hand:"✋",handbag:"👜",handshake:"🤝",hankey:"💩",hatched_chick:"🐥",hatching_chick:"🐣",headphones:"🎧",hear_no_evil:"🙉",heart:"❤️",heart_decoration:"💟",heart_eyes:"😍",heart_eyes_cat:"😻",heartbeat:"💓",heartpulse:"💗",hearts:"♥️",heavy_check_mark:"✔️",heavy_division_sign:"➗",heavy_dollar_sign:"💲",heavy_heart_exclamation:"❣️",heavy_minus_sign:"➖",heavy_multiplication_x:"✖️",heavy_plus_sign:"➕",helicopter:"🚁",herb:"🌿",hibiscus:"🌺",high_brightness:"🔆",high_heel:"👠",hocho:"🔪",hole:"🕳",honey_pot:"🍯",horse:"🐴",horse_racing:"🏇",hospital:"🏥",hot_pepper:"🌶",hotdog:"🌭",hotel:"🏨",hotsprings:"♨️",hourglass:"⌛️",hourglass_flowing_sand:"⏳",house:"🏠",house_with_garden:"🏡",houses:"🏘",hugs:"🤗",hushed:"😯",ice_cream:"🍨",ice_hockey:"🏒",ice_skate:"⛸",icecream:"🍦",id:"🆔",ideograph_advantage:"🉐",imp:"👿",inbox_tray:"📥",incoming_envelope:"📨",tipping_hand_woman:"💁",information_source:"ℹ️",innocent:"😇",interrobang:"⁉️",iphone:"📱",izakaya_lantern:"🏮",jack_o_lantern:"🎃",japan:"🗾",japanese_castle:"🏯",japanese_goblin:"👺",japanese_ogre:"👹",jeans:"👖",joy:"😂",joy_cat:"😹",joystick:"🕹",kaaba:"🕋",key:"🔑",keyboard:"⌨️",keycap_ten:"🔟",kick_scooter:"🛴",kimono:"👘",kiss:"💋",kissing:"😗",kissing_cat:"😽",kissing_closed_eyes:"😚",kissing_heart:"😘",kissing_smiling_eyes:"😙",kiwi_fruit:"🥝",koala:"🐨",koko:"🈁",label:"🏷",large_blue_circle:"🔵",large_blue_diamond:"🔷",large_orange_diamond:"🔶",last_quarter_moon:"🌗",last_quarter_moon_with_face:"🌜",latin_cross:"✝️",laughing:"😆",leaves:"🍃",ledger:"📒",left_luggage:"🛅",left_right_arrow:"↔️",leftwards_arrow_with_hook:"↩️",lemon:"🍋",leo:"♌️",leopard:"🐆",level_slider:"🎚",libra:"♎️",light_rail:"🚈",link:"🔗",lion:"🦁",lips:"👄",lipstick:"💄",lizard:"🦎",lock:"🔒",lock_with_ink_pen:"🔏",lollipop:"🍭",loop:"➿",loud_sound:"🔊",loudspeaker:"📢",love_hotel:"🏩",love_letter:"💌",low_brightness:"🔅",lying_face:"🤥",m:"Ⓜ️",mag:"🔍",mag_right:"🔎",mahjong:"🀄️",mailbox:"📫",mailbox_closed:"📪",mailbox_with_mail:"📬",mailbox_with_no_mail:"📭",man:"👨",man_artist:"👨&zwj;🎨",man_astronaut:"👨&zwj;🚀",man_cartwheeling:"🤸&zwj;♂️",man_cook:"👨&zwj;🍳",man_dancing:"🕺",man_facepalming:"🤦&zwj;♂️",man_factory_worker:"👨&zwj;🏭",man_farmer:"👨&zwj;🌾",man_firefighter:"👨&zwj;🚒",man_health_worker:"👨&zwj;⚕️",man_in_tuxedo:"🤵",man_judge:"👨&zwj;⚖️",man_juggling:"🤹&zwj;♂️",man_mechanic:"👨&zwj;🔧",man_office_worker:"👨&zwj;💼",man_pilot:"👨&zwj;✈️",man_playing_handball:"🤾&zwj;♂️",man_playing_water_polo:"🤽&zwj;♂️",man_scientist:"👨&zwj;🔬",man_shrugging:"🤷&zwj;♂️",man_singer:"👨&zwj;🎤",man_student:"👨&zwj;🎓",man_teacher:"👨&zwj;🏫",man_technologist:"👨&zwj;💻",man_with_gua_pi_mao:"👲",man_with_turban:"👳",tangerine:"🍊",mans_shoe:"👞",mantelpiece_clock:"🕰",maple_leaf:"🍁",martial_arts_uniform:"🥋",mask:"😷",massage_woman:"💆",massage_man:"💆&zwj;♂️",meat_on_bone:"🍖",medal_military:"🎖",medal_sports:"🏅",mega:"📣",melon:"🍈",memo:"📝",men_wrestling:"🤼&zwj;♂️",menorah:"🕎",mens:"🚹",metal:"🤘",metro:"🚇",microphone:"🎤",microscope:"🔬",milk_glass:"🥛",milky_way:"🌌",minibus:"🚐",minidisc:"💽",mobile_phone_off:"📴",money_mouth_face:"🤑",money_with_wings:"💸",moneybag:"💰",monkey:"🐒",monkey_face:"🐵",monorail:"🚝",moon:"🌔",mortar_board:"🎓",mosque:"🕌",motor_boat:"🛥",motor_scooter:"🛵",motorcycle:"🏍",motorway:"🛣",mount_fuji:"🗻",mountain:"⛰",mountain_biking_man:"🚵",mountain_biking_woman:"🚵&zwj;♀️",mountain_cableway:"🚠",mountain_railway:"🚞",mountain_snow:"🏔",mouse:"🐭",mouse2:"🐁",movie_camera:"🎥",moyai:"🗿",mrs_claus:"🤶",muscle:"💪",mushroom:"🍄",musical_keyboard:"🎹",musical_note:"🎵",musical_score:"🎼",mute:"🔇",nail_care:"💅",name_badge:"📛",national_park:"🏞",nauseated_face:"🤢",necktie:"👔",negative_squared_cross_mark:"❎",nerd_face:"🤓",neutral_face:"😐",new:"🆕",new_moon:"🌑",new_moon_with_face:"🌚",newspaper:"📰",newspaper_roll:"🗞",next_track_button:"⏭",ng:"🆖",no_good_man:"🙅&zwj;♂️",no_good_woman:"🙅",night_with_stars:"🌃",no_bell:"🔕",no_bicycles:"🚳",no_entry:"⛔️",no_entry_sign:"🚫",no_mobile_phones:"📵",no_mouth:"😶",no_pedestrians:"🚷",no_smoking:"🚭","non-potable_water":"🚱",nose:"👃",notebook:"📓",notebook_with_decorative_cover:"📔",notes:"🎶",nut_and_bolt:"🔩",o:"⭕️",o2:"🅾️",ocean:"🌊",octopus:"🐙",oden:"🍢",office:"🏢",oil_drum:"🛢",ok:"🆗",ok_hand:"👌",ok_man:"🙆&zwj;♂️",ok_woman:"🙆",old_key:"🗝",older_man:"👴",older_woman:"👵",om:"🕉",on:"🔛",oncoming_automobile:"🚘",oncoming_bus:"🚍",oncoming_police_car:"🚔",oncoming_taxi:"🚖",open_file_folder:"📂",open_hands:"👐",open_mouth:"😮",open_umbrella:"☂️",ophiuchus:"⛎",orange_book:"📙",orthodox_cross:"☦️",outbox_tray:"📤",owl:"🦉",ox:"🐂",package:"📦",page_facing_up:"📄",page_with_curl:"📃",pager:"📟",paintbrush:"🖌",palm_tree:"🌴",pancakes:"🥞",panda_face:"🐼",paperclip:"📎",paperclips:"🖇",parasol_on_ground:"⛱",parking:"🅿️",part_alternation_mark:"〽️",partly_sunny:"⛅️",passenger_ship:"🛳",passport_control:"🛂",pause_button:"⏸",peace_symbol:"☮️",peach:"🍑",peanuts:"🥜",pear:"🍐",pen:"🖊",pencil2:"✏️",penguin:"🐧",pensive:"😔",performing_arts:"🎭",persevere:"😣",person_fencing:"🤺",pouting_woman:"🙎",phone:"☎️",pick:"⛏",pig:"🐷",pig2:"🐖",pig_nose:"🐽",pill:"💊",pineapple:"🍍",ping_pong:"🏓",pisces:"♓️",pizza:"🍕",place_of_worship:"🛐",plate_with_cutlery:"🍽",play_or_pause_button:"⏯",point_down:"👇",point_left:"👈",point_right:"👉",point_up:"☝️",point_up_2:"👆",police_car:"🚓",policewoman:"👮&zwj;♀️",poodle:"🐩",popcorn:"🍿",post_office:"🏣",postal_horn:"📯",postbox:"📮",potable_water:"🚰",potato:"🥔",pouch:"👝",poultry_leg:"🍗",pound:"💷",rage:"😡",pouting_cat:"😾",pouting_man:"🙎&zwj;♂️",pray:"🙏",prayer_beads:"📿",pregnant_woman:"🤰",previous_track_button:"⏮",prince:"🤴",princess:"👸",printer:"🖨",purple_heart:"💜",purse:"👛",pushpin:"📌",put_litter_in_its_place:"🚮",question:"❓",rabbit:"🐰",rabbit2:"🐇",racehorse:"🐎",racing_car:"🏎",radio:"📻",radio_button:"🔘",radioactive:"☢️",railway_car:"🚃",railway_track:"🛤",rainbow:"🌈",rainbow_flag:"🏳️&zwj;🌈",raised_back_of_hand:"🤚",raised_hand_with_fingers_splayed:"🖐",raised_hands:"🙌",raising_hand_woman:"🙋",raising_hand_man:"🙋&zwj;♂️",ram:"🐏",ramen:"🍜",rat:"🐀",record_button:"⏺",recycle:"♻️",red_circle:"🔴",registered:"®️",relaxed:"☺️",relieved:"😌",reminder_ribbon:"🎗",repeat:"🔁",repeat_one:"🔂",rescue_worker_helmet:"⛑",restroom:"🚻",revolving_hearts:"💞",rewind:"⏪",rhinoceros:"🦏",ribbon:"🎀",rice:"🍚",rice_ball:"🍙",rice_cracker:"🍘",rice_scene:"🎑",right_anger_bubble:"🗯",ring:"💍",robot:"🤖",rocket:"🚀",rofl:"🤣",roll_eyes:"🙄",roller_coaster:"🎢",rooster:"🐓",rose:"🌹",rosette:"🏵",rotating_light:"🚨",round_pushpin:"📍",rowing_man:"🚣",rowing_woman:"🚣&zwj;♀️",rugby_football:"🏉",running_man:"🏃",running_shirt_with_sash:"🎽",running_woman:"🏃&zwj;♀️",sa:"🈂️",sagittarius:"♐️",sake:"🍶",sandal:"👡",santa:"🎅",satellite:"📡",saxophone:"🎷",school:"🏫",school_satchel:"🎒",scissors:"✂️",scorpion:"🦂",scorpius:"♏️",scream:"😱",scream_cat:"🙀",scroll:"📜",seat:"💺",secret:"㊙️",see_no_evil:"🙈",seedling:"🌱",selfie:"🤳",shallow_pan_of_food:"🥘",shamrock:"☘️",shark:"🦈",shaved_ice:"🍧",sheep:"🐑",shell:"🐚",shield:"🛡",shinto_shrine:"⛩",ship:"🚢",shirt:"👕",shopping:"🛍",shopping_cart:"🛒",shower:"🚿",shrimp:"🦐",signal_strength:"📶",six_pointed_star:"🔯",ski:"🎿",skier:"⛷",skull:"💀",skull_and_crossbones:"☠️",sleeping:"😴",sleeping_bed:"🛌",sleepy:"😪",slightly_frowning_face:"🙁",slightly_smiling_face:"🙂",slot_machine:"🎰",small_airplane:"🛩",small_blue_diamond:"🔹",small_orange_diamond:"🔸",small_red_triangle:"🔺",small_red_triangle_down:"🔻",smile:"😄",smile_cat:"😸",smiley:"😃",smiley_cat:"😺",smiling_imp:"😈",smirk:"😏",smirk_cat:"😼",smoking:"🚬",snail:"🐌",snake:"🐍",sneezing_face:"🤧",snowboarder:"🏂",snowflake:"❄️",snowman:"⛄️",snowman_with_snow:"☃️",sob:"😭",soccer:"⚽️",soon:"🔜",sos:"🆘",sound:"🔉",space_invader:"👾",spades:"♠️",spaghetti:"🍝",sparkle:"❇️",sparkler:"🎇",sparkles:"✨",sparkling_heart:"💖",speak_no_evil:"🙊",speaker:"🔈",speaking_head:"🗣",speech_balloon:"💬",speedboat:"🚤",spider:"🕷",spider_web:"🕸",spiral_calendar:"🗓",spiral_notepad:"🗒",spoon:"🥄",squid:"🦑",stadium:"🏟",star:"⭐️",star2:"🌟",star_and_crescent:"☪️",star_of_david:"✡️",stars:"🌠",station:"🚉",statue_of_liberty:"🗽",steam_locomotive:"🚂",stew:"🍲",stop_button:"⏹",stop_sign:"🛑",stopwatch:"⏱",straight_ruler:"📏",strawberry:"🍓",stuck_out_tongue:"😛",stuck_out_tongue_closed_eyes:"😝",stuck_out_tongue_winking_eye:"😜",studio_microphone:"🎙",stuffed_flatbread:"🥙",sun_behind_large_cloud:"🌥",sun_behind_rain_cloud:"🌦",sun_behind_small_cloud:"🌤",sun_with_face:"🌞",sunflower:"🌻",sunglasses:"😎",sunny:"☀️",sunrise:"🌅",sunrise_over_mountains:"🌄",surfing_man:"🏄",surfing_woman:"🏄&zwj;♀️",sushi:"🍣",suspension_railway:"🚟",sweat:"😓",sweat_drops:"💦",sweat_smile:"😅",sweet_potato:"🍠",swimming_man:"🏊",swimming_woman:"🏊&zwj;♀️",symbols:"🔣",synagogue:"🕍",syringe:"💉",taco:"🌮",tada:"🎉",tanabata_tree:"🎋",taurus:"♉️",taxi:"🚕",tea:"🍵",telephone_receiver:"📞",telescope:"🔭",tennis:"🎾",tent:"⛺️",thermometer:"🌡",thinking:"🤔",thought_balloon:"💭",ticket:"🎫",tickets:"🎟",tiger:"🐯",tiger2:"🐅",timer_clock:"⏲",tipping_hand_man:"💁&zwj;♂️",tired_face:"😫",tm:"™️",toilet:"🚽",tokyo_tower:"🗼",tomato:"🍅",tongue:"👅",top:"🔝",tophat:"🎩",tornado:"🌪",trackball:"🖲",tractor:"🚜",traffic_light:"🚥",train:"🚋",train2:"🚆",tram:"🚊",triangular_flag_on_post:"🚩",triangular_ruler:"📐",trident:"🔱",triumph:"😤",trolleybus:"🚎",trophy:"🏆",tropical_drink:"🍹",tropical_fish:"🐠",truck:"🚚",trumpet:"🎺",tulip:"🌷",tumbler_glass:"🥃",turkey:"🦃",turtle:"🐢",tv:"📺",twisted_rightwards_arrows:"🔀",two_hearts:"💕",two_men_holding_hands:"👬",two_women_holding_hands:"👭",u5272:"🈹",u5408:"🈴",u55b6:"🈺",u6307:"🈯️",u6708:"🈷️",u6709:"🈶",u6e80:"🈵",u7121:"🈚️",u7533:"🈸",u7981:"🈲",u7a7a:"🈳",umbrella:"☔️",unamused:"😒",underage:"🔞",unicorn:"🦄",unlock:"🔓",up:"🆙",upside_down_face:"🙃",v:"✌️",vertical_traffic_light:"🚦",vhs:"📼",vibration_mode:"📳",video_camera:"📹",video_game:"🎮",violin:"🎻",virgo:"♍️",volcano:"🌋",volleyball:"🏐",vs:"🆚",vulcan_salute:"🖖",walking_man:"🚶",walking_woman:"🚶&zwj;♀️",waning_crescent_moon:"🌘",waning_gibbous_moon:"🌖",warning:"⚠️",wastebasket:"🗑",watch:"⌚️",water_buffalo:"🐃",watermelon:"🍉",wave:"👋",wavy_dash:"〰️",waxing_crescent_moon:"🌒",wc:"🚾",weary:"😩",wedding:"💒",weight_lifting_man:"🏋️",weight_lifting_woman:"🏋️&zwj;♀️",whale:"🐳",whale2:"🐋",wheel_of_dharma:"☸️",wheelchair:"♿️",white_check_mark:"✅",white_circle:"⚪️",white_flag:"🏳️",white_flower:"💮",white_large_square:"⬜️",white_medium_small_square:"◽️",white_medium_square:"◻️",white_small_square:"▫️",white_square_button:"🔳",wilted_flower:"🥀",wind_chime:"🎐",wind_face:"🌬",wine_glass:"🍷",wink:"😉",wolf:"🐺",woman:"👩",woman_artist:"👩&zwj;🎨",woman_astronaut:"👩&zwj;🚀",woman_cartwheeling:"🤸&zwj;♀️",woman_cook:"👩&zwj;🍳",woman_facepalming:"🤦&zwj;♀️",woman_factory_worker:"👩&zwj;🏭",woman_farmer:"👩&zwj;🌾",woman_firefighter:"👩&zwj;🚒",woman_health_worker:"👩&zwj;⚕️",woman_judge:"👩&zwj;⚖️",woman_juggling:"🤹&zwj;♀️",woman_mechanic:"👩&zwj;🔧",woman_office_worker:"👩&zwj;💼",woman_pilot:"👩&zwj;✈️",woman_playing_handball:"🤾&zwj;♀️",woman_playing_water_polo:"🤽&zwj;♀️",woman_scientist:"👩&zwj;🔬",woman_shrugging:"🤷&zwj;♀️",woman_singer:"👩&zwj;🎤",woman_student:"👩&zwj;🎓",woman_teacher:"👩&zwj;🏫",woman_technologist:"👩&zwj;💻",woman_with_turban:"👳&zwj;♀️",womans_clothes:"👚",womans_hat:"👒",women_wrestling:"🤼&zwj;♀️",womens:"🚺",world_map:"🗺",worried:"😟",wrench:"🔧",writing_hand:"✍️",x:"❌",yellow_heart:"💛",yen:"💴",yin_yang:"☯️",yum:"😋",zap:"⚡️",zipper_mouth_face:"🤐",zzz:"💤",octocat:'<img alt=":octocat:" height="20" width="20" align="absmiddle" src="https://assets-cdn.github.com/images/icons/emoji/octocat.png">',showdown:"<span style=\"font-family: 'Anonymous Pro', monospace; text-decoration: underline; text-decoration-style: dashed; text-decoration-color: #3e8b8a;text-underline-position: under;\">S</span>"},b.Converter=function(r){var n={},i=[],o=[],s={},a=g,l={parsed:{},raw:"",format:""};function e(){for(var e in r=r||{},p)p.hasOwnProperty(e)&&(n[e]=p[e]);if("object"!=typeof r)throw Error("Converter expects the passed parameter to be an object, but "+typeof r+" was passed instead.");for(var t in r)r.hasOwnProperty(t)&&(n[t]=r[t]);n.extensions&&b.helper.forEach(n.extensions,c)}function c(e,t){if(t=t||null,b.helper.isString(e)){if(t=e=b.helper.stdExtName(e),b.extensions[e])return console.warn("DEPRECATION WARNING: "+e+" is an old extension that uses a deprecated loading method.Please inform the developer that the extension should be updated!"),void u(b.extensions[e],e);if(b.helper.isUndefined(d[e]))throw Error('Extension "'+e+'" could not be loaded. It was either not found or is not a valid extension.');e=d[e]}"function"==typeof e&&(e=e()),b.helper.isArray(e)||(e=[e]);var r=v(e,t);if(!r.valid)throw Error(r.error);for(var n=0;n<e.length;++n){switch(e[n].type){case"lang":i.push(e[n]);break;case"output":o.push(e[n])}if(e[n].hasOwnProperty("listeners"))for(var a in e[n].listeners)e[n].listeners.hasOwnProperty(a)&&f(a,e[n].listeners[a])}}function u(e,t){"function"==typeof e&&(e=e(new b.Converter)),b.helper.isArray(e)||(e=[e]);var r=v(e,t);if(!r.valid)throw Error(r.error);for(var n=0;n<e.length;++n)switch(e[n].type){case"lang":i.push(e[n]);break;case"output":o.push(e[n]);break;default:throw Error("Extension loader error: Type unrecognized!!!")}}function f(e,t){if(!b.helper.isString(e))throw Error("Invalid argument in converter.listen() method: name must be a string, but "+typeof e+" given");if("function"!=typeof t)throw Error("Invalid argument in converter.listen() method: callback must be a function, but "+typeof t+" given");s.hasOwnProperty(e)||(s[e]=[]),s[e].push(t)}function h(e){var t=e.match(/^\s*/)[0].length,r=RegExp("^\\s{0,"+t+"}","gm");return e.replace(r,"")}e(),this._dispatch=function(e,t,r,n){if(s.hasOwnProperty(e))for(var a=0;a<s[e].length;++a){var i=s[e][a](e,t,this,r,n);i&&void 0!==i&&(t=i)}return t},this.listen=function(e,t){return f(e,t),this},this.makeHtml=function(t){if(!t)return t;var r={gHtmlBlocks:[],gHtmlMdBlocks:[],gHtmlSpans:[],gUrls:{},gTitles:{},gDimensions:{},gListLevel:0,hashLinkCounts:{},langExtensions:i,outputModifiers:o,converter:this,ghCodeBlocks:[],metadata:{parsed:{},raw:"",format:""}};return t=(t=(t=(t=(t=t.replace(/¨/g,"¨T")).replace(/\$/g,"¨D")).replace(/\r\n/g,"\n")).replace(/\r/g,"\n")).replace(/\u00A0/g,"&nbsp;"),n.smartIndentationFix&&(t=h(t)),t="\n\n"+t+"\n\n",t=(t=b.subParser("detab")(t,n,r)).replace(/^[ \t]+$/gm,""),b.helper.forEach(i,function(e){t=b.subParser("runExtension")(e,t,n,r)}),t=b.subParser("metadata")(t,n,r),t=b.subParser("hashPreCodeTags")(t,n,r),t=b.subParser("githubCodeBlocks")(t,n,r),t=b.subParser("hashHTMLBlocks")(t,n,r),t=b.subParser("hashCodeTags")(t,n,r),t=b.subParser("stripLinkDefinitions")(t,n,r),t=b.subParser("blockGamut")(t,n,r),t=b.subParser("unhashHTMLSpans")(t,n,r),t=(t=(t=b.subParser("unescapeSpecialChars")(t,n,r)).replace(/¨D/g,"$$")).replace(/¨T/g,"¨"),t=b.subParser("completeHTMLDocument")(t,n,r),b.helper.forEach(o,function(e){t=b.subParser("runExtension")(e,t,n,r)}),l=r.metadata,t},this.makeMarkdown=this.makeMd=function(e,t){if(e=(e=(e=e.replace(/\r\n/g,"\n")).replace(/\r/g,"\n")).replace(/>[ \t]+</,">¨NBSP;<"),!t){if(!window||!window.document)throw Error("HTMLParser is undefined. If in a webworker or nodejs environment, you need to provide a WHATWG DOM and HTML such as JSDOM");t=window.document}var r=t.createElement("div");r.innerHTML=e;var n={preList:l(r)};s(r);for(var a=r.childNodes,i="",o=0;o<a.length;o++)i+=b.subParser("makeMarkdown.node")(a[o],n);function s(e){for(var t=0;t<e.childNodes.length;++t){var r=e.childNodes[t];3===r.nodeType?/\S/.test(r.nodeValue)?(r.nodeValue=r.nodeValue.split("\n").join(" "),r.nodeValue=r.nodeValue.replace(/(\s)+/g,"$1")):(e.removeChild(r),--t):1===r.nodeType&&s(r)}}function l(e){for(var t=e.querySelectorAll("pre"),r=[],n=0;n<t.length;++n)if(1===t[n].childElementCount&&"code"===t[n].firstChild.tagName.toLowerCase()){var a=t[n].firstChild.innerHTML.trim(),i=t[n].firstChild.getAttribute("data-language")||"";if(""===i)for(var o=t[n].firstChild.className.split(" "),s=0;s<o.length;++s){var l=o[s].match(/^language-(.+)$/);if(null!==l){i=l[1];break}}a=b.helper.unescapeHTMLEntities(a),r.push(a),t[n].outerHTML='<precode language="'+i+'" precodenum="'+n.toString()+'"></precode>'}else r.push(t[n].innerHTML),t[n].innerHTML="",t[n].setAttribute("prenum",n.toString());return r}return i},this.setOption=function(e,t){n[e]=t},this.getOption=function(e){return n[e]},this.getOptions=function(){return n},this.addExtension=function(e,t){c(e,t=t||null)},this.useExtension=function(e){c(e)},this.setFlavor=function(e){if(!m.hasOwnProperty(e))throw Error(e+" flavor was not found");var t=m[e];for(var r in a=e,t)t.hasOwnProperty(r)&&(n[r]=t[r])},this.getFlavor=function(){return a},this.removeExtension=function(e){b.helper.isArray(e)||(e=[e]);for(var t=0;t<e.length;++t){for(var r=e[t],n=0;n<i.length;++n)i[n]===r&&i[n].splice(n,1);for(var a=0;a<o.length;++n)o[a]===r&&o[a].splice(n,1)}},this.getAllExtensions=function(){return{language:i,output:o}},this.getMetadata=function(e){return e?l.raw:l.parsed},this.getMetadataFormat=function(){return l.format},this._setMetadataPair=function(e,t){l.parsed[e]=t},this._setMetadataFormat=function(e){l.format=e},this._setMetadataRaw=function(e){l.raw=e}},b.subParser("anchors",function(e,l,c){var t=function(e,t,r,n,a,i,o){if(b.helper.isUndefined(o)&&(o=""),r=r.toLowerCase(),-1<e.search(/\(<?\s*>? ?(['"].*['"])?\)$/m))n="";else if(!n){if(r||(r=t.toLowerCase().replace(/ ?\n/g," ")),n="#"+r,b.helper.isUndefined(c.gUrls[r]))return e;n=c.gUrls[r],b.helper.isUndefined(c.gTitles[r])||(o=c.gTitles[r])}var s='<a href="'+(n=n.replace(b.helper.regexes.asteriskDashAndColon,b.helper.escapeCharactersCallback))+'"';return""!==o&&null!==o&&(s+=' title="'+(o=(o=o.replace(/"/g,"&quot;")).replace(b.helper.regexes.asteriskDashAndColon,b.helper.escapeCharactersCallback))+'"'),l.openLinksInNewWindow&&!/^#/.test(n)&&(s+=' target="¨E95Eblank"'),s+=">"+t+"</a>"};return e=(e=(e=(e=(e=c.converter._dispatch("anchors.before",e,l,c)).replace(/\[((?:\[[^\]]*]|[^\[\]])*)] ?(?:\n *)?\[(.*?)]()()()()/g,t)).replace(/\[((?:\[[^\]]*]|[^\[\]])*)]()[ \t]*\([ \t]?<([^>]*)>(?:[ \t]*((["'])([^"]*?)\5))?[ \t]?\)/g,t)).replace(/\[((?:\[[^\]]*]|[^\[\]])*)]()[ \t]*\([ \t]?<?([\S]+?(?:\([\S]*?\)[\S]*?)?)>?(?:[ \t]*((["'])([^"]*?)\5))?[ \t]?\)/g,t)).replace(/\[([^\[\]]+)]()()()()()/g,t),l.ghMentions&&(e=e.replace(/(^|\s)(\\)?(@([a-z\d]+(?:[a-z\d.-]+?[a-z\d]+)*))/gim,function(e,t,r,n,a){if("\\"===r)return t+n;if(!b.helper.isString(l.ghMentionsLink))throw Error("ghMentionsLink option must be a string");var i=l.ghMentionsLink.replace(/\{u}/g,a),o="";return l.openLinksInNewWindow&&(o=' target="¨E95Eblank"'),t+'<a href="'+i+'"'+o+">"+n+"</a>"})),e=c.converter._dispatch("anchors.after",e,l,c)});var a=/([*~_]+|\b)(((https?|ftp|dict):\/\/|www\.)[^'">\s]+?\.[^'">\s]+?)()(\1)?(?=\s|$)(?!["<>])/gi,o=/([*~_]+|\b)(((https?|ftp|dict):\/\/|www\.)[^'">\s]+\.[^'">\s]+?)([.!?,()\[\]])?(\1)?(?=\s|$)(?!["<>])/gi,s=/()<(((https?|ftp|dict):\/\/|www\.)[^'">\s]+)()>()/gi,l=/(^|\s)(?:mailto:)?([A-Za-z0-9!#$%&'*+-/=?^_`{|}~.]+@[-a-z0-9]+(\.[-a-z0-9]+)*\.[a-z]+)(?=$|\s)/gim,c=/<()(?:mailto:)?([-.\w]+@[-a-z0-9]+(\.[-a-z0-9]+)*\.[a-z]+)>/gi,u=function(h){return function(e,t,r,n,a,i,o){var s=r=r.replace(b.helper.regexes.asteriskDashAndColon,b.helper.escapeCharactersCallback),l="",c="",u=t||"",f=o||"";return/^www\./i.test(r)&&(r=r.replace(/^www\./i,"http://www.")),h.excludeTrailingPunctuationFromURLs&&i&&(l=i),h.openLinksInNewWindow&&(c=' target="¨E95Eblank"'),u+'<a href="'+r+'"'+c+">"+s+"</a>"+l+f}},h=function(a,i){return function(e,t,r){var n="mailto:";return t=t||"",r=b.subParser("unescapeSpecialChars")(r,a,i),a.encodeEmails?(n=b.helper.encodeEmailAddress(n+r),r=b.helper.encodeEmailAddress(r)):n+=r,t+'<a href="'+n+'">'+r+"</a>"}};b.subParser("autoLinks",function(e,t,r){return e=(e=(e=r.converter._dispatch("autoLinks.before",e,t,r)).replace(s,u(t))).replace(c,h(t,r)),e=r.converter._dispatch("autoLinks.after",e,t,r)}),b.subParser("simplifiedAutoLinks",function(e,t,r){return t.simplifiedAutoLink?(e=r.converter._dispatch("simplifiedAutoLinks.before",e,t,r),e=(e=t.excludeTrailingPunctuationFromURLs?e.replace(o,u(t)):e.replace(a,u(t))).replace(l,h(t,r)),e=r.converter._dispatch("simplifiedAutoLinks.after",e,t,r)):e}),b.subParser("blockGamut",function(e,t,r){return e=r.converter._dispatch("blockGamut.before",e,t,r),e=b.subParser("blockQuotes")(e,t,r),e=b.subParser("headers")(e,t,r),e=b.subParser("horizontalRule")(e,t,r),e=b.subParser("lists")(e,t,r),e=b.subParser("codeBlocks")(e,t,r),e=b.subParser("tables")(e,t,r),e=b.subParser("hashHTMLBlocks")(e,t,r),e=b.subParser("paragraphs")(e,t,r),e=r.converter._dispatch("blockGamut.after",e,t,r)}),b.subParser("blockQuotes",function(e,t,r){e=r.converter._dispatch("blockQuotes.before",e,t,r),e+="\n\n";var n=/(^ {0,3}>[ \t]?.+\n(.+\n)*\n*)+/gm;return t.splitAdjacentBlockquotes&&(n=/^ {0,3}>[\s\S]*?(?:\n\n)/gm),e=e.replace(n,function(e){return e=(e=(e=e.replace(/^[ \t]*>[ \t]?/gm,"")).replace(/¨0/g,"")).replace(/^[ \t]+$/gm,""),e=b.subParser("githubCodeBlocks")(e,t,r),e=(e=(e=b.subParser("blockGamut")(e,t,r)).replace(/(^|\n)/g,"$1  ")).replace(/(\s*<pre>[^\r]+?<\/pre>)/gm,function(e,t){var r=t;return r=(r=r.replace(/^  /gm,"¨0")).replace(/¨0/g,"")}),b.subParser("hashBlock")("<blockquote>\n"+e+"\n</blockquote>",t,r)}),e=r.converter._dispatch("blockQuotes.after",e,t,r)}),b.subParser("codeBlocks",function(e,o,s){return e=s.converter._dispatch("codeBlocks.before",e,o,s),e=(e=(e+="¨0").replace(/(?:\n\n|^)((?:(?:[ ]{4}|\t).*\n+)+)(\n*[ ]{0,3}[^ \t\n]|(?=¨0))/g,function(e,t,r){var n=t,a=r,i="\n";return n=b.subParser("outdent")(n,o,s),n=b.subParser("encodeCode")(n,o,s),n=(n=(n=b.subParser("detab")(n,o,s)).replace(/^\n+/g,"")).replace(/\n+$/g,""),o.omitExtraWLInCodeBlocks&&(i=""),n="<pre><code>"+n+i+"</code></pre>",b.subParser("hashBlock")(n,o,s)+a})).replace(/¨0/,""),e=s.converter._dispatch("codeBlocks.after",e,o,s)}),b.subParser("codeSpans",function(e,i,o){return void 0===(e=o.converter._dispatch("codeSpans.before",e,i,o))&&(e=""),e=e.replace(/(^|[^\\])(`+)([^\r]*?[^`])\2(?!`)/gm,function(e,t,r,n){var a=n;return a=(a=a.replace(/^([ \t]*)/g,"")).replace(/[ \t]*$/g,""),a=t+"<code>"+(a=b.subParser("encodeCode")(a,i,o))+"</code>",a=b.subParser("hashHTMLSpans")(a,i,o)}),e=o.converter._dispatch("codeSpans.after",e,i,o)}),b.subParser("completeHTMLDocument",function(e,t,r){if(!t.completeHTMLDocument)return e;e=r.converter._dispatch("completeHTMLDocument.before",e,t,r);var n="html",a="<!DOCTYPE HTML>\n",i="",o='<meta charset="utf-8">\n',s="",l="";for(var c in void 0!==r.metadata.parsed.doctype&&(a="<!DOCTYPE "+r.metadata.parsed.doctype+">\n","html"!==(n=r.metadata.parsed.doctype.toString().toLowerCase())&&"html5"!==n||(o='<meta charset="utf-8">')),r.metadata.parsed)if(r.metadata.parsed.hasOwnProperty(c))switch(c.toLowerCase()){case"doctype":break;case"title":i="<title>"+r.metadata.parsed.title+"</title>\n";break;case"charset":o="html"===n||"html5"===n?'<meta charset="'+r.metadata.parsed.charset+'">\n':'<meta name="charset" content="'+r.metadata.parsed.charset+'">\n';break;case"language":case"lang":s=' lang="'+r.metadata.parsed[c]+'"',l+='<meta name="'+c+'" content="'+r.metadata.parsed[c]+'">\n';break;default:l+='<meta name="'+c+'" content="'+r.metadata.parsed[c]+'">\n'}return e=a+"<html"+s+">\n<head>\n"+i+o+l+"</head>\n<body>\n"+e.trim()+"\n</body>\n</html>",e=r.converter._dispatch("completeHTMLDocument.after",e,t,r)}),b.subParser("detab",function(e,t,r){return e=(e=(e=(e=(e=(e=r.converter._dispatch("detab.before",e,t,r)).replace(/\t(?=\t)/g,"    ")).replace(/\t/g,"¨A¨B")).replace(/¨B(.+?)¨A/g,function(e,t){for(var r=t,n=4-r.length%4,a=0;a<n;a++)r+=" ";return r})).replace(/¨A/g,"    ")).replace(/¨B/g,""),e=r.converter._dispatch("detab.after",e,t,r)}),b.subParser("ellipsis",function(e,t,r){return e=(e=r.converter._dispatch("ellipsis.before",e,t,r)).replace(/\.\.\./g,"…"),e=r.converter._dispatch("ellipsis.after",e,t,r)}),b.subParser("emoji",function(e,t,r){if(!t.emoji)return e;var n=/:([\S]+?):/g;return e=(e=r.converter._dispatch("emoji.before",e,t,r)).replace(n,function(e,t){return b.helper.emojis.hasOwnProperty(t)?b.helper.emojis[t]:e}),e=r.converter._dispatch("emoji.after",e,t,r)}),b.subParser("encodeAmpsAndAngles",function(e,t,r){return e=(e=(e=(e=(e=r.converter._dispatch("encodeAmpsAndAngles.before",e,t,r)).replace(/&(?!#?[xX]?(?:[0-9a-fA-F]+|\w+);)/g,"&amp;")).replace(/<(?![a-z\/?$!])/gi,"&lt;")).replace(/</g,"&lt;")).replace(/>/g,"&gt;"),e=r.converter._dispatch("encodeAmpsAndAngles.after",e,t,r)}),b.subParser("encodeBackslashEscapes",function(e,t,r){return e=(e=(e=r.converter._dispatch("encodeBackslashEscapes.before",e,t,r)).replace(/\\(\\)/g,b.helper.escapeCharactersCallback)).replace(/\\([`*_{}\[\]()>#+.!~=|-])/g,b.helper.escapeCharactersCallback),e=r.converter._dispatch("encodeBackslashEscapes.after",e,t,r)}),b.subParser("encodeCode",function(e,t,r){return e=(e=r.converter._dispatch("encodeCode.before",e,t,r)).replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/([*_{}\[\]\\=~-])/g,b.helper.escapeCharactersCallback),e=r.converter._dispatch("encodeCode.after",e,t,r)}),b.subParser("escapeSpecialCharsWithinTagAttributes",function(e,t,r){var n=/<\/?[a-z\d_:-]+(?:[\s]+[\s\S]+?)?>/gi,a=/<!(--(?:(?:[^>-]|-[^>])(?:[^-]|-[^-])*)--)>/gi;return e=(e=(e=r.converter._dispatch("escapeSpecialCharsWithinTagAttributes.before",e,t,r)).replace(n,function(e){return e.replace(/(.)<\/?code>(?=.)/g,"$1`").replace(/([\\`*_~=|])/g,b.helper.escapeCharactersCallback)})).replace(a,function(e){return e.replace(/([\\`*_~=|])/g,b.helper.escapeCharactersCallback)}),e=r.converter._dispatch("escapeSpecialCharsWithinTagAttributes.after",e,t,r)}),b.subParser("githubCodeBlocks",function(e,i,o){return i.ghCodeBlocks?(e=o.converter._dispatch("githubCodeBlocks.before",e,i,o),e=(e=(e+="¨0").replace(/(?:^|\n)(?: {0,3})(```+|~~~+)(?: *)([^\s`~]*)\n([\s\S]*?)\n(?: {0,3})\1/g,function(e,t,r,n){var a=i.omitExtraWLInCodeBlocks?"":"\n";return n=b.subParser("encodeCode")(n,i,o),n="<pre><code"+(r?' class="'+r+" language-"+r+'"':"")+">"+(n=(n=(n=b.subParser("detab")(n,i,o)).replace(/^\n+/g,"")).replace(/\n+$/g,""))+a+"</code></pre>",n=b.subParser("hashBlock")(n,i,o),"\n\n¨G"+(o.ghCodeBlocks.push({text:e,codeblock:n})-1)+"G\n\n"})).replace(/¨0/,""),o.converter._dispatch("githubCodeBlocks.after",e,i,o)):e}),b.subParser("hashBlock",function(e,t,r){return e=(e=r.converter._dispatch("hashBlock.before",e,t,r)).replace(/(^\n+|\n+$)/g,""),e="\n\n¨K"+(r.gHtmlBlocks.push(e)-1)+"K\n\n",e=r.converter._dispatch("hashBlock.after",e,t,r)}),b.subParser("hashCodeTags",function(e,i,o){e=o.converter._dispatch("hashCodeTags.before",e,i,o);var t=function(e,t,r,n){var a=r+b.subParser("encodeCode")(t,i,o)+n;return"¨C"+(o.gHtmlSpans.push(a)-1)+"C"};return e=b.helper.replaceRecursiveRegExp(e,t,"<code\\b[^>]*>","</code>","gim"),e=o.converter._dispatch("hashCodeTags.after",e,i,o)}),b.subParser("hashElement",function(e,t,n){return function(e,t){var r=t;return r=(r=(r=r.replace(/\n\n/g,"\n")).replace(/^\n/,"")).replace(/\n+$/g,""),r="\n\n¨K"+(n.gHtmlBlocks.push(r)-1)+"K\n\n"}}),b.subParser("hashHTMLBlocks",function(e,t,i){e=i.converter._dispatch("hashHTMLBlocks.before",e,t,i);var r=["pre","div","h1","h2","h3","h4","h5","h6","blockquote","table","dl","ol","ul","script","noscript","form","fieldset","iframe","math","style","section","header","footer","nav","article","aside","address","audio","canvas","figure","hgroup","output","video","p"],n=function(e,t,r,n){var a=e;return-1!==r.search(/\bmarkdown\b/)&&(a=r+i.converter.makeHtml(t)+n),"\n\n¨K"+(i.gHtmlBlocks.push(a)-1)+"K\n\n"};t.backslashEscapesHTMLTags&&(e=e.replace(/\\<(\/?[^>]+?)>/g,function(e,t){return"&lt;"+t+"&gt;"}));for(var a=0;a<r.length;++a)for(var o,s=RegExp("^ {0,3}(<"+r[a]+"\\b[^>]*>)","im"),l="<"+r[a]+"\\b[^>]*>",c="</"+r[a]+">";-1!==(o=b.helper.regexIndexOf(e,s));){var u=b.helper.splitAtIndex(e,o),f=b.helper.replaceRecursiveRegExp(u[1],n,l,c,"im");if(f===u[1])break;e=u[0].concat(f)}return e=e.replace(/(\n {0,3}(<(hr)\b([^<>])*?\/?>)[ \t]*(?=\n{2,}))/g,b.subParser("hashElement")(e,t,i)),e=(e=b.helper.replaceRecursiveRegExp(e,function(e){return"\n\n¨K"+(i.gHtmlBlocks.push(e)-1)+"K\n\n"},"^ {0,3}\x3c!--","--\x3e","gm")).replace(/(?:\n\n)( {0,3}(?:<([?%])[^\r]*?\2>)[ \t]*(?=\n{2,}))/g,b.subParser("hashElement")(e,t,i)),e=i.converter._dispatch("hashHTMLBlocks.after",e,t,i)}),b.subParser("hashHTMLSpans",function(e,t,r){function n(e){return"¨C"+(r.gHtmlSpans.push(e)-1)+"C"}return e=(e=(e=(e=(e=r.converter._dispatch("hashHTMLSpans.before",e,t,r)).replace(/<[^>]+?\/>/gi,function(e){return n(e)})).replace(/<([^>]+?)>[\s\S]*?<\/\1>/g,function(e){return n(e)})).replace(/<([^>]+?)\s[^>]+?>[\s\S]*?<\/\1>/g,function(e){return n(e)})).replace(/<[^>]+?>/gi,function(e){return n(e)}),e=r.converter._dispatch("hashHTMLSpans.after",e,t,r)}),b.subParser("unhashHTMLSpans",function(e,t,r){e=r.converter._dispatch("unhashHTMLSpans.before",e,t,r);for(var n=0;n<r.gHtmlSpans.length;++n){for(var a=r.gHtmlSpans[n],i=0;/¨C(\d+)C/.test(a);){var o=RegExp.$1;if(a=a.replace("¨C"+o+"C",r.gHtmlSpans[o]),10===i){console.error("maximum nesting of 10 spans reached!!!");break}++i}e=e.replace("¨C"+n+"C",a)}return e=r.converter._dispatch("unhashHTMLSpans.after",e,t,r)}),b.subParser("hashPreCodeTags",function(e,i,o){e=o.converter._dispatch("hashPreCodeTags.before",e,i,o);var t=function(e,t,r,n){var a=r+b.subParser("encodeCode")(t,i,o)+n;return"\n\n¨G"+(o.ghCodeBlocks.push({text:e,codeblock:a})-1)+"G\n\n"};return e=b.helper.replaceRecursiveRegExp(e,t,"^ {0,3}<pre\\b[^>]*>\\s*<code\\b[^>]*>","^ {0,3}</code>\\s*</pre>","gim"),e=o.converter._dispatch("hashPreCodeTags.after",e,i,o)}),b.subParser("headers",function(e,l,c){e=c.converter._dispatch("headers.before",e,l,c);var u=isNaN(parseInt(l.headerLevelStart))?1:parseInt(l.headerLevelStart),t=l.smoothLivePreview?/^(.+)[ \t]*\n={2,}[ \t]*\n+/gm:/^(.+)[ \t]*\n=+[ \t]*\n+/gm,r=l.smoothLivePreview?/^(.+)[ \t]*\n-{2,}[ \t]*\n+/gm:/^(.+)[ \t]*\n-+[ \t]*\n+/gm;e=(e=e.replace(t,function(e,t){var r=b.subParser("spanGamut")(t,l,c),n=l.noHeaderId?"":' id="'+f(t)+'"',a="<h"+u+n+">"+r+"</h"+u+">";return b.subParser("hashBlock")(a,l,c)})).replace(r,function(e,t){var r=b.subParser("spanGamut")(t,l,c),n=l.noHeaderId?"":' id="'+f(t)+'"',a=u+1,i="<h"+a+n+">"+r+"</h"+a+">";return b.subParser("hashBlock")(i,l,c)});var n=l.requireSpaceBeforeHeadingText?/^(#{1,6})[ \t]+(.+?)[ \t]*#*\n+/gm:/^(#{1,6})[ \t]*(.+?)[ \t]*#*\n+/gm;function f(e){var t,r;if(l.customizedHeaderId){var n=e.match(/\{([^{]+?)}\s*$/);n&&n[1]&&(e=n[1])}return t=e,r=b.helper.isString(l.prefixHeaderId)?l.prefixHeaderId:!0===l.prefixHeaderId?"section-":"",l.rawPrefixHeaderId||(t=r+t),t=l.ghCompatibleHeaderId?t.replace(/ /g,"-").replace(/&amp;/g,"").replace(/¨T/g,"").replace(/¨D/g,"").replace(/[&+$,\/:;=?@"#{}|^¨~\[\]`\\*)(%.!'<>]/g,"").toLowerCase():l.rawHeaderId?t.replace(/ /g,"-").replace(/&amp;/g,"&").replace(/¨T/g,"¨").replace(/¨D/g,"$").replace(/["']/g,"-").toLowerCase():t.replace(/[^\w]/g,"").toLowerCase(),l.rawPrefixHeaderId&&(t=r+t),c.hashLinkCounts[t]?t=t+"-"+c.hashLinkCounts[t]++:c.hashLinkCounts[t]=1,t}return e=e.replace(n,function(e,t,r){var n=r;l.customizedHeaderId&&(n=r.replace(/\s?\{([^{]+?)}\s*$/,""));var a=b.subParser("spanGamut")(n,l,c),i=l.noHeaderId?"":' id="'+f(r)+'"',o=u-1+t.length,s="<h"+o+i+">"+a+"</h"+o+">";return b.subParser("hashBlock")(s,l,c)}),e=c.converter._dispatch("headers.after",e,l,c)}),b.subParser("horizontalRule",function(e,t,r){e=r.converter._dispatch("horizontalRule.before",e,t,r);var n=b.subParser("hashBlock")("<hr />",t,r);return e=(e=(e=e.replace(/^ {0,2}( ?-){3,}[ \t]*$/gm,n)).replace(/^ {0,2}( ?\*){3,}[ \t]*$/gm,n)).replace(/^ {0,2}( ?_){3,}[ \t]*$/gm,n),e=r.converter._dispatch("horizontalRule.after",e,t,r)}),b.subParser("images",function(e,t,h){var r=/!\[([^\]]*?)][ \t]*()\([ \t]?<?([\S]+?(?:\([\S]*?\)[\S]*?)?)>?(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*(?:(["'])([^"]*?)\6)?[ \t]?\)/g,n=/!\[([^\]]*?)][ \t]*()\([ \t]?<([^>]*)>(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*(?:(?:(["'])([^"]*?)\6))?[ \t]?\)/g,a=/!\[([^\]]*?)][ \t]*()\([ \t]?<?(data:.+?\/.+?;base64,[A-Za-z0-9+/=\n]+?)>?(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*(?:(["'])([^"]*?)\6)?[ \t]?\)/g,i=/!\[([^\]]*?)] ?(?:\n *)?\[([\s\S]*?)]()()()()()/g,o=/!\[([^\[\]]+)]()()()()()/g;function s(e,t,r,n,a,i,o,s){return l(e,t,r,n=n.replace(/\s/g,""),a,i,o,s)}function l(e,t,r,n,a,i,o,s){var l=h.gUrls,c=h.gTitles,u=h.gDimensions;if(r=r.toLowerCase(),s||(s=""),-1<e.search(/\(<?\s*>? ?(['"].*['"])?\)$/m))n="";else if(""===n||null===n){if(""!==r&&null!==r||(r=t.toLowerCase().replace(/ ?\n/g," ")),n="#"+r,b.helper.isUndefined(l[r]))return e;n=l[r],b.helper.isUndefined(c[r])||(s=c[r]),b.helper.isUndefined(u[r])||(a=u[r].width,i=u[r].height)}t=t.replace(/"/g,"&quot;").replace(b.helper.regexes.asteriskDashAndColon,b.helper.escapeCharactersCallback);var f='<img src="'+(n=n.replace(b.helper.regexes.asteriskDashAndColon,b.helper.escapeCharactersCallback))+'" alt="'+t+'"';return s&&b.helper.isString(s)&&(f+=' title="'+(s=s.replace(/"/g,"&quot;").replace(b.helper.regexes.asteriskDashAndColon,b.helper.escapeCharactersCallback))+'"'),a&&i&&(f+=' width="'+(a="*"===a?"auto":a)+'"',f+=' height="'+(i="*"===i?"auto":i)+'"'),f+=" />"}return e=(e=(e=(e=(e=(e=h.converter._dispatch("images.before",e,t,h)).replace(i,l)).replace(a,s)).replace(n,l)).replace(r,l)).replace(o,l),e=h.converter._dispatch("images.after",e,t,h)}),b.subParser("italicsAndBold",function(e,t,r){function n(e,t,r){return t+e+r}return e=r.converter._dispatch("italicsAndBold.before",e,t,r),e=t.literalMidWordUnderscores?(e=(e=e.replace(/\b___(\S[\s\S]*?)___\b/g,function(e,t){return n(t,"<strong><em>","</em></strong>")})).replace(/\b__(\S[\s\S]*?)__\b/g,function(e,t){return n(t,"<strong>","</strong>")})).replace(/\b_(\S[\s\S]*?)_\b/g,function(e,t){return n(t,"<em>","</em>")}):(e=(e=e.replace(/___(\S[\s\S]*?)___/g,function(e,t){return/\S$/.test(t)?n(t,"<strong><em>","</em></strong>"):e})).replace(/__(\S[\s\S]*?)__/g,function(e,t){return/\S$/.test(t)?n(t,"<strong>","</strong>"):e})).replace(/_([^\s_][\s\S]*?)_/g,function(e,t){return/\S$/.test(t)?n(t,"<em>","</em>"):e}),e=t.literalMidWordAsterisks?(e=(e=e.replace(/([^*]|^)\B\*\*\*(\S[\s\S]*?)\*\*\*\B(?!\*)/g,function(e,t,r){return n(r,t+"<strong><em>","</em></strong>")})).replace(/([^*]|^)\B\*\*(\S[\s\S]*?)\*\*\B(?!\*)/g,function(e,t,r){return n(r,t+"<strong>","</strong>")})).replace(/([^*]|^)\B\*(\S[\s\S]*?)\*\B(?!\*)/g,function(e,t,r){return n(r,t+"<em>","</em>")}):(e=(e=e.replace(/\*\*\*(\S[\s\S]*?)\*\*\*/g,function(e,t){return/\S$/.test(t)?n(t,"<strong><em>","</em></strong>"):e})).replace(/\*\*(\S[\s\S]*?)\*\*/g,function(e,t){return/\S$/.test(t)?n(t,"<strong>","</strong>"):e})).replace(/\*([^\s*][\s\S]*?)\*/g,function(e,t){return/\S$/.test(t)?n(t,"<em>","</em>"):e}),e=r.converter._dispatch("italicsAndBold.after",e,t,r)}),b.subParser("lists",function(e,f,u){function h(e,t){u.gListLevel++,e=e.replace(/\n{2,}$/,"\n");var r=/(\n)?(^ {0,3})([*+-]|\d+[.])[ \t]+((\[(x|X| )?])?[ \t]*[^\r]+?(\n{1,2}))(?=\n*(¨0| {0,3}([*+-]|\d+[.])[ \t]+))/gm,c=/\n[ \t]*\n(?!¨0)/.test(e+="¨0");return f.disableForced4SpacesIndentedSublists&&(r=/(\n)?(^ {0,3})([*+-]|\d+[.])[ \t]+((\[(x|X| )?])?[ \t]*[^\r]+?(\n{1,2}))(?=\n*(¨0|\2([*+-]|\d+[.])[ \t]+))/gm),e=(e=e.replace(r,function(e,t,r,n,a,i,o){o=o&&""!==o.trim();var s=b.subParser("outdent")(a,f,u),l="";return i&&f.tasklists&&(l=' class="task-list-item" style="list-style-type: none;"',s=s.replace(/^[ \t]*\[(x|X| )?]/m,function(){var e='<input type="checkbox" disabled style="margin: 0px 0.35em 0.25em -1.6em; vertical-align: middle;"';return o&&(e+=" checked"),e+=">"})),s=s.replace(/^([-*+]|\d\.)[ \t]+[\S\n ]*/g,function(e){return"¨A"+e}),t||-1<s.search(/\n{2,}/)?(s=b.subParser("githubCodeBlocks")(s,f,u),s=b.subParser("blockGamut")(s,f,u)):(s=(s=b.subParser("lists")(s,f,u)).replace(/\n$/,""),s=(s=b.subParser("hashHTMLBlocks")(s,f,u)).replace(/\n\n+/g,"\n\n"),s=c?b.subParser("paragraphs")(s,f,u):b.subParser("spanGamut")(s,f,u)),s="<li"+l+">"+(s=s.replace("¨A",""))+"</li>\n"})).replace(/¨0/g,""),u.gListLevel--,t&&(e=e.replace(/\s+$/,"")),e}function d(e,t){if("ol"===t){var r=e.match(/^ *(\d+)\./);if(r&&"1"!==r[1])return' start="'+r[1]+'"'}return""}function a(a,i,o){var s=f.disableForced4SpacesIndentedSublists?/^ ?\d+\.[ \t]/gm:/^ {0,3}\d+\.[ \t]/gm,l=f.disableForced4SpacesIndentedSublists?/^ ?[*+-][ \t]/gm:/^ {0,3}[*+-][ \t]/gm,c="ul"===i?s:l,u="";if(-1!==a.search(c))!function e(t){var r=t.search(c),n=d(a,i);-1!==r?(u+="\n\n<"+i+n+">\n"+h(t.slice(0,r),!!o)+"</"+i+">\n",c="ul"===(i="ul"===i?"ol":"ul")?s:l,e(t.slice(r))):u+="\n\n<"+i+n+">\n"+h(t,!!o)+"</"+i+">\n"}(a);else{var e=d(a,i);u="\n\n<"+i+e+">\n"+h(a,!!o)+"</"+i+">\n"}return u}return e=u.converter._dispatch("lists.before",e,f,u),e+="¨0",e=(e=u.gListLevel?e.replace(/^(( {0,3}([*+-]|\d+[.])[ \t]+)[^\r]+?(¨0|\n{2,}(?=\S)(?![ \t]*(?:[*+-]|\d+[.])[ \t]+)))/gm,function(e,t,r){return a(t,-1<r.search(/[*+-]/g)?"ul":"ol",!0)}):e.replace(/(\n\n|^\n?)(( {0,3}([*+-]|\d+[.])[ \t]+)[^\r]+?(¨0|\n{2,}(?=\S)(?![ \t]*(?:[*+-]|\d+[.])[ \t]+)))/gm,function(e,t,r,n){return a(r,-1<n.search(/[*+-]/g)?"ul":"ol",!1)})).replace(/¨0/,""),e=u.converter._dispatch("lists.after",e,f,u)}),b.subParser("metadata",function(e,t,n){if(!t.metadata)return e;function a(e){(e=(e=(n.metadata.raw=e).replace(/&/g,"&amp;").replace(/"/g,"&quot;")).replace(/\n {4}/g," ")).replace(/^([\S ]+): +([\s\S]+?)$/gm,function(e,t,r){return n.metadata.parsed[t]=r,""})}return e=(e=(e=(e=n.converter._dispatch("metadata.before",e,t,n)).replace(/^\s*«««+(\S*?)\n([\s\S]+?)\n»»»+\n/,function(e,t,r){return a(r),"¨M"})).replace(/^\s*---+(\S*?)\n([\s\S]+?)\n---+\n/,function(e,t,r){return t&&(n.metadata.format=t),a(r),"¨M"})).replace(/¨M/g,""),e=n.converter._dispatch("metadata.after",e,t,n)}),b.subParser("outdent",function(e,t,r){return e=(e=(e=r.converter._dispatch("outdent.before",e,t,r)).replace(/^(\t|[ ]{1,4})/gm,"¨0")).replace(/¨0/g,""),e=r.converter._dispatch("outdent.after",e,t,r)}),b.subParser("paragraphs",function(e,t,r){for(var n=(e=(e=(e=r.converter._dispatch("paragraphs.before",e,t,r)).replace(/^\n+/g,"")).replace(/\n+$/g,"")).split(/\n{2,}/g),a=[],i=n.length,o=0;o<i;o++){var s=n[o];0<=s.search(/¨(K|G)(\d+)\1/g)?a.push(s):0<=s.search(/\S/)&&(s=(s=b.subParser("spanGamut")(s,t,r)).replace(/^([ \t]*)/g,"<p>"),s+="</p>",a.push(s))}for(i=a.length,o=0;o<i;o++){for(var l="",c=a[o],u=!1;/¨(K|G)(\d+)\1/.test(c);){var f=RegExp.$2;l=(l="K"===RegExp.$1?r.gHtmlBlocks[f]:u?b.subParser("encodeCode")(r.ghCodeBlocks[f].text,t,r):r.ghCodeBlocks[f].codeblock).replace(/\$/g,"$$$$"),c=c.replace(/(\n\n)?¨(K|G)\d+\2(\n\n)?/,l),/^<pre\b[^>]*>\s*<code\b[^>]*>/.test(c)&&(u=!0)}a[o]=c}return e=(e=(e=a.join("\n")).replace(/^\n+/g,"")).replace(/\n+$/g,""),r.converter._dispatch("paragraphs.after",e,t,r)}),b.subParser("runExtension",function(e,t,r,n){if(e.filter)t=e.filter(t,n.converter,r);else if(e.regex){var a=e.regex;a instanceof RegExp||(a=RegExp(a,"g")),t=t.replace(a,e.replace)}return t}),b.subParser("spanGamut",function(e,t,r){return e=r.converter._dispatch("spanGamut.before",e,t,r),e=b.subParser("codeSpans")(e,t,r),e=b.subParser("escapeSpecialCharsWithinTagAttributes")(e,t,r),e=b.subParser("encodeBackslashEscapes")(e,t,r),e=b.subParser("images")(e,t,r),e=b.subParser("anchors")(e,t,r),e=b.subParser("autoLinks")(e,t,r),e=b.subParser("simplifiedAutoLinks")(e,t,r),e=b.subParser("emoji")(e,t,r),e=b.subParser("underline")(e,t,r),e=b.subParser("italicsAndBold")(e,t,r),e=b.subParser("strikethrough")(e,t,r),e=b.subParser("ellipsis")(e,t,r),e=b.subParser("hashHTMLSpans")(e,t,r),e=b.subParser("encodeAmpsAndAngles")(e,t,r),t.simpleLineBreaks?/\n\n¨K/.test(e)||(e=e.replace(/\n+/g,"<br />\n")):e=e.replace(/  +\n/g,"<br />\n"),e=r.converter._dispatch("spanGamut.after",e,t,r)}),b.subParser("strikethrough",function(e,t,r){function n(e){return t.simplifiedAutoLink&&(e=b.subParser("simplifiedAutoLinks")(e,t,r)),"<del>"+e+"</del>"}return t.strikethrough&&(e=(e=r.converter._dispatch("strikethrough.before",e,t,r)).replace(/(?:~){2}([\s\S]+?)(?:~){2}/g,function(e,t){return n(t)}),e=r.converter._dispatch("strikethrough.after",e,t,r)),e}),b.subParser("stripLinkDefinitions",function(e,s,l){var t=/^ {0,3}\[(.+)]:[ \t]*\n?[ \t]*<?([^>\s]+)>?(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*\n?[ \t]*(?:(\n*)["|'(](.+?)["|')][ \t]*)?(?:\n+|(?=¨0))/gm,r=function(e,t,r,n,a,i,o){return t=t.toLowerCase(),r.match(/^data:.+?\/.+?;base64,/)?l.gUrls[t]=r.replace(/\s/g,""):l.gUrls[t]=b.subParser("encodeAmpsAndAngles")(r,s,l),i?i+o:(o&&(l.gTitles[t]=o.replace(/"|'/g,"&quot;")),s.parseImgDimensions&&n&&a&&(l.gDimensions[t]={width:n,height:a}),"")};return e=(e=(e=(e+="¨0").replace(/^ {0,3}\[(.+)]:[ \t]*\n?[ \t]*<?(data:.+?\/.+?;base64,[A-Za-z0-9+/=\n]+?)>?(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*\n?[ \t]*(?:(\n*)["|'(](.+?)["|')][ \t]*)?(?:\n\n|(?=¨0)|(?=\n\[))/gm,r)).replace(t,r)).replace(/¨0/,"")}),b.subParser("tables",function(e,f,h){if(!f.tables)return e;var t=/^ {0,3}\|?.+\|.+\n {0,3}\|?[ \t]*:?[ \t]*(?:[-=]){2,}[ \t]*:?[ \t]*\|[ \t]*:?[ \t]*(?:[-=]){2,}[\s\S]+?(?:\n\n|¨0)/gm,r=/^ {0,3}\|.+\|[ \t]*\n {0,3}\|[ \t]*:?[ \t]*(?:[-=]){2,}[ \t]*:?[ \t]*\|[ \t]*\n( {0,3}\|.+\|[ \t]*\n)*(?:\n|¨0)/gm;function d(e){return/^:[ \t]*--*$/.test(e)?' style="text-align:left;"':/^--*[ \t]*:[ \t]*$/.test(e)?' style="text-align:right;"':/^:[ \t]*--*[ \t]*:$/.test(e)?' style="text-align:center;"':""}function p(e,t){var r="";return e=e.trim(),(f.tablesHeaderId||f.tableHeaderId)&&(r=' id="'+e.replace(/ /g,"_").toLowerCase()+'"'),"<th"+r+t+">"+(e=b.subParser("spanGamut")(e,f,h))+"</th>\n"}function g(e,t){return"<td"+t+">"+b.subParser("spanGamut")(e,f,h)+"</td>\n"}function m(e,t){for(var r="<table>\n<thead>\n<tr>\n",n=e.length,a=0;a<n;++a)r+=e[a];for(r+="</tr>\n</thead>\n<tbody>\n",a=0;a<t.length;++a){r+="<tr>\n";for(var i=0;i<n;++i)r+=t[a][i];r+="</tr>\n"}return r+="</tbody>\n</table>\n"}function n(e){var t,r=e.split("\n");for(t=0;t<r.length;++t)/^ {0,3}\|/.test(r[t])&&(r[t]=r[t].replace(/^ {0,3}\|/,"")),/\|[ \t]*$/.test(r[t])&&(r[t]=r[t].replace(/\|[ \t]*$/,"")),r[t]=b.subParser("codeSpans")(r[t],f,h);var n=r[0].split("|").map(function(e){return e.trim()}),a=r[1].split("|").map(function(e){return e.trim()}),i=[],o=[],s=[],l=[];for(r.shift(),r.shift(),t=0;t<r.length;++t)""!==r[t].trim()&&i.push(r[t].split("|").map(function(e){return e.trim()}));if(n.length<a.length)return e;for(t=0;t<a.length;++t)s.push(d(a[t]));for(t=0;t<n.length;++t)b.helper.isUndefined(s[t])&&(s[t]=""),o.push(p(n[t],s[t]));for(t=0;t<i.length;++t){for(var c=[],u=0;u<o.length;++u)b.helper.isUndefined(i[t][u]),c.push(g(i[t][u],s[u]));l.push(c)}return m(o,l)}return e=(e=(e=(e=h.converter._dispatch("tables.before",e,f,h)).replace(/\\(\|)/g,b.helper.escapeCharactersCallback)).replace(t,n)).replace(r,n),e=h.converter._dispatch("tables.after",e,f,h)}),b.subParser("underline",function(e,t,r){return t.underline?(e=r.converter._dispatch("underline.before",e,t,r),e=(e=t.literalMidWordUnderscores?(e=e.replace(/\b___(\S[\s\S]*?)___\b/g,function(e,t){return"<u>"+t+"</u>"})).replace(/\b__(\S[\s\S]*?)__\b/g,function(e,t){return"<u>"+t+"</u>"}):(e=e.replace(/___(\S[\s\S]*?)___/g,function(e,t){return/\S$/.test(t)?"<u>"+t+"</u>":e})).replace(/__(\S[\s\S]*?)__/g,function(e,t){return/\S$/.test(t)?"<u>"+t+"</u>":e})).replace(/(_)/g,b.helper.escapeCharactersCallback),e=r.converter._dispatch("underline.after",e,t,r)):e}),b.subParser("unescapeSpecialChars",function(e,t,r){return e=(e=r.converter._dispatch("unescapeSpecialChars.before",e,t,r)).replace(/¨E(\d+)E/g,function(e,t){return String.fromCharCode(parseInt(t))}),e=r.converter._dispatch("unescapeSpecialChars.after",e,t,r)}),b.subParser("makeMarkdown.blockquote",function(e,t){var r="";if(e.hasChildNodes())for(var n=e.childNodes,a=n.length,i=0;i<a;++i){var o=b.subParser("makeMarkdown.node")(n[i],t);""!==o&&(r+=o)}return r="> "+(r=r.trim()).split("\n").join("\n> ")}),b.subParser("makeMarkdown.codeBlock",function(e,t){var r=e.getAttribute("language"),n=e.getAttribute("precodenum");return"```"+r+"\n"+t.preList[n]+"\n```"}),b.subParser("makeMarkdown.codeSpan",function(e){return"`"+e.innerHTML+"`"}),b.subParser("makeMarkdown.emphasis",function(e,t){var r="";if(e.hasChildNodes()){r+="*";for(var n=e.childNodes,a=n.length,i=0;i<a;++i)r+=b.subParser("makeMarkdown.node")(n[i],t);r+="*"}return r}),b.subParser("makeMarkdown.header",function(e,t,r){var n=Array(r+1).join("#"),a="";if(e.hasChildNodes()){a=n+" ";for(var i=e.childNodes,o=i.length,s=0;s<o;++s)a+=b.subParser("makeMarkdown.node")(i[s],t)}return a}),b.subParser("makeMarkdown.hr",function(){return"---"}),b.subParser("makeMarkdown.image",function(e){var t="";return e.hasAttribute("src")&&(t+="!["+e.getAttribute("alt")+"](",t+="<"+e.getAttribute("src")+">",e.hasAttribute("width")&&e.hasAttribute("height")&&(t+=" ="+e.getAttribute("width")+"x"+e.getAttribute("height")),e.hasAttribute("title")&&(t+=' "'+e.getAttribute("title")+'"'),t+=")"),t}),b.subParser("makeMarkdown.links",function(e,t){var r="";if(e.hasChildNodes()&&e.hasAttribute("href")){var n=e.childNodes,a=n.length;r="[";for(var i=0;i<a;++i)r+=b.subParser("makeMarkdown.node")(n[i],t);r+="](",r+="<"+e.getAttribute("href")+">",e.hasAttribute("title")&&(r+=' "'+e.getAttribute("title")+'"'),r+=")"}return r}),b.subParser("makeMarkdown.list",function(e,t,r){var n="";if(!e.hasChildNodes())return"";for(var a=e.childNodes,i=a.length,o=e.getAttribute("start")||1,s=0;s<i;++s)if(void 0!==a[s].tagName&&"li"===a[s].tagName.toLowerCase()){n+=("ol"===r?o.toString()+". ":"- ")+b.subParser("makeMarkdown.listItem")(a[s],t),++o}return(n+="\n\x3c!-- --\x3e\n").trim()}),b.subParser("makeMarkdown.listItem",function(e,t){for(var r="",n=e.childNodes,a=n.length,i=0;i<a;++i)r+=b.subParser("makeMarkdown.node")(n[i],t);return/\n$/.test(r)?r=r.split("\n").join("\n    ").replace(/^ {4}$/gm,"").replace(/\n\n+/g,"\n\n"):r+="\n",r}),b.subParser("makeMarkdown.node",function(e,t,r){r=r||!1;var n="";if(3===e.nodeType)return b.subParser("makeMarkdown.txt")(e,t);if(8===e.nodeType)return"\x3c!--"+e.data+"--\x3e\n\n";if(1!==e.nodeType)return"";switch(e.tagName.toLowerCase()){case"h1":r||(n=b.subParser("makeMarkdown.header")(e,t,1)+"\n\n");break;case"h2":r||(n=b.subParser("makeMarkdown.header")(e,t,2)+"\n\n");break;case"h3":r||(n=b.subParser("makeMarkdown.header")(e,t,3)+"\n\n");break;case"h4":r||(n=b.subParser("makeMarkdown.header")(e,t,4)+"\n\n");break;case"h5":r||(n=b.subParser("makeMarkdown.header")(e,t,5)+"\n\n");break;case"h6":r||(n=b.subParser("makeMarkdown.header")(e,t,6)+"\n\n");break;case"p":r||(n=b.subParser("makeMarkdown.paragraph")(e,t)+"\n\n");break;case"blockquote":r||(n=b.subParser("makeMarkdown.blockquote")(e,t)+"\n\n");break;case"hr":r||(n=b.subParser("makeMarkdown.hr")(e,t)+"\n\n");break;case"ol":r||(n=b.subParser("makeMarkdown.list")(e,t,"ol")+"\n\n");break;case"ul":r||(n=b.subParser("makeMarkdown.list")(e,t,"ul")+"\n\n");break;case"precode":r||(n=b.subParser("makeMarkdown.codeBlock")(e,t)+"\n\n");break;case"pre":r||(n=b.subParser("makeMarkdown.pre")(e,t)+"\n\n");break;case"table":r||(n=b.subParser("makeMarkdown.table")(e,t)+"\n\n");break;case"code":n=b.subParser("makeMarkdown.codeSpan")(e,t);break;case"em":case"i":n=b.subParser("makeMarkdown.emphasis")(e,t);break;case"strong":case"b":n=b.subParser("makeMarkdown.strong")(e,t);break;case"del":n=b.subParser("makeMarkdown.strikethrough")(e,t);break;case"a":n=b.subParser("makeMarkdown.links")(e,t);break;case"img":n=b.subParser("makeMarkdown.image")(e,t);break;default:n=e.outerHTML+"\n\n"}return n}),b.subParser("makeMarkdown.paragraph",function(e,t){var r="";if(e.hasChildNodes())for(var n=e.childNodes,a=n.length,i=0;i<a;++i)r+=b.subParser("makeMarkdown.node")(n[i],t);return r=r.trim()}),b.subParser("makeMarkdown.pre",function(e,t){var r=e.getAttribute("prenum");return"<pre>"+t.preList[r]+"</pre>"}),b.subParser("makeMarkdown.strikethrough",function(e,t){var r="";if(e.hasChildNodes()){r+="~~";for(var n=e.childNodes,a=n.length,i=0;i<a;++i)r+=b.subParser("makeMarkdown.node")(n[i],t);r+="~~"}return r}),b.subParser("makeMarkdown.strong",function(e,t){var r="";if(e.hasChildNodes()){r+="**";for(var n=e.childNodes,a=n.length,i=0;i<a;++i)r+=b.subParser("makeMarkdown.node")(n[i],t);r+="**"}return r}),b.subParser("makeMarkdown.table",function(e,t){var r,n,a="",i=[[],[]],o=e.querySelectorAll("thead>tr>th"),s=e.querySelectorAll("tbody>tr");for(r=0;r<o.length;++r){var l=b.subParser("makeMarkdown.tableCell")(o[r],t),c="---";if(o[r].hasAttribute("style"))switch(o[r].getAttribute("style").toLowerCase().replace(/\s/g,"")){case"text-align:left;":c=":---";break;case"text-align:right;":c="---:";break;case"text-align:center;":c=":---:"}i[0][r]=l.trim(),i[1][r]=c}for(r=0;r<s.length;++r){var u=i.push([])-1,f=s[r].getElementsByTagName("td");for(n=0;n<o.length;++n){var h=" ";void 0!==f[n]&&(h=b.subParser("makeMarkdown.tableCell")(f[n],t)),i[u].push(h)}}var d=3;for(r=0;r<i.length;++r)for(n=0;n<i[r].length;++n){var p=i[r][n].length;d<p&&(d=p)}for(r=0;r<i.length;++r){for(n=0;n<i[r].length;++n)1===r?":"===i[r][n].slice(-1)?i[r][n]=b.helper.padEnd(i[r][n].slice(-1),d-1,"-")+":":i[r][n]=b.helper.padEnd(i[r][n],d,"-"):i[r][n]=b.helper.padEnd(i[r][n],d);a+="| "+i[r].join(" | ")+" |\n"}return a.trim()}),b.subParser("makeMarkdown.tableCell",function(e,t){var r="";if(!e.hasChildNodes())return"";for(var n=e.childNodes,a=n.length,i=0;i<a;++i)r+=b.subParser("makeMarkdown.node")(n[i],t,!0);return r.trim()}),b.subParser("makeMarkdown.txt",function(e){var t=e.nodeValue;return t=(t=t.replace(/ +/g," ")).replace(/¨NBSP;/g," "),t=(t=(t=(t=(t=(t=(t=(t=(t=b.helper.unescapeHTMLEntities(t)).replace(/([*_~|`])/g,"\\$1")).replace(/^(\s*)>/g,"\\$1>")).replace(/^#/gm,"\\#")).replace(/^(\s*)([-=]{3,})(\s*)$/,"$1\\$2$3")).replace(/^( {0,3}\d+)\./gm,"$1\\.")).replace(/^( {0,3})([+-])/gm,"$1\\$2")).replace(/]([\s]*)\(/g,"\\]$1\\(")).replace(/^ {0,3}\[([\S \t]*?)]:/gm,"\\[$1]:")});var t=this;"function"==typeof define&&define.amd?define(function(){return b}):void 0!==_&&_.exports?_.exports=b:t.showdown=b}).call(this),e.a=_.exports}).call(window);var w=Array.isArray,a=w;function i(e){a=e}var y={};function k(e){return document.createTextNode(e)}function x(e){return document.createElement(e)}function s(e){return null===e?L:e}function P(e){return"number"==typeof e}function B(e){return"string"==typeof e}function D(e){return"function"==typeof e}function l(e){return"object"==typeof e}null==Object.assign&&(Object.assign=function(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];if(null==e)throw new TypeError("Target in assign cannot be undefined or null");for(var n=arguments.length,a=1;a<n;a++){var i=arguments[a];if(null!=i)for(var o=Object.keys(i),s=o.length,l=0;l<s;l++){var c=o[l];e[c]=i[c]}}return e});var j=Object.assign;function o(e,t,r){e[t]||Object.defineProperty(e,t,{value:r,configurable:!0,writable:!0})}o(Array.prototype,"find",function(e){for(var t=Object(this),r=t.length>>>0,n=arguments[1],a=0;a<r;a++){var i=t[a];if(e.call(n,i,a,t))return i}}),o(Array.prototype,"findIndex",function(e){for(var t=Object(this),r=t.length>>>0,n=arguments[1],a=0;a<r;a++){var i=t[a];if(e.call(n,i,a,t))return a}return-1}),o(Array.prototype,"some",function(e){for(var t=Object(this),r=t.length>>>0,n=arguments[1],a=0;a<r;a++)if(a in t&&e.call(n,t[a],a,t))return!0;return!1}),o(String.prototype,"includes",function(e,t){return P(t)||(t=0),!(t+e.length>this.length)&&-1!==this.indexOf(e,t)}),o(String.prototype,"startsWith",function(e,t){return this.substr(!t||t<0?0:+t,e.length)===e}),o(String.prototype,"endsWith",function(e,t){var r=this.toString();(!P(t)||!isFinite(t)||Math.floor(t)!==t||t>r.length)&&(t=r.length),t-=e.length;var n=r.indexOf(e,t);return-1!==n&&n===t});var z=!1,C=!1,c=[],u=[],f=function(e,t,r,n){r!==n&&(e[Ft]=r)};function h(e){var t=f;return f=e,t}function N(){return Object.create(null)}var d=["Webkit","Moz","ms","O"],p=document.createElement("div").style;function g(e){return B(p[e])}var m=N(),b={boxFlex:!0,boxFlexGroup:!0,columnCount:!0,flex:!0,flexGrow:!0,flexNegative:!0,flexPositive:!0,flexShrink:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,strokeDashoffset:!0,widows:!0,zIndex:!0,zoom:!0};function v(n){return function(e,t,r){e[n]=t,e[r]=L}}function _(n){return function(e,t,r){P(t)?e[n]=t+"px":e[n]=t,e[r]=L}}function S(e,t,r){P(t)&&(e[r]=t+"px")}function M(){return document.documentMode}function H(e){for(var t=Object.keys(e),r=0,n=t.length;r<n;r++){var a=t[r],i=m[a],o=e[a];if(o!==L){if(i===L){if(g(a))i=!0===b[a]?null:S;else{for(var s=a.replace(/^\w/,function(e){return e.toUpperCase()}),l=0;l<d.length;l++)if(g(d[l]+s)){i=(!0===b[a]?v:_)(d[l]+s);break}i===L&&(i=!0===b[a]?null:S)}m[a]=i}null!==i&&i(e,o,a)}}}function E(e,t){e[t]=""}function $(e,t,r){if(B(r)){var n=r.length;if(11<n&&" !important"===r.substr(n-11,11))return void e.setProperty(ai(t),r.substr(0,n-11),"important")}e[t]=r}function A(e,t,r){var n,a=e.style;if(l(t))if(H(t),l(r)){for(n in r)n in t||E(a,n);for(n in t){(i=t[n])!==L?r[n]!==i&&$(a,n,i):E(a,n)}}else for(n in r&&(a.cssText=""),t){var i;(i=t[n])!==L&&$(a,n,i)}else if(t)a.cssText=t;else if(l(r))for(n in r)E(a,n);else r&&(a.cssText="")}function I(e,t){z?e.setAttribute("class",t):e.className=t}var O=/^input$|^select$|^textarea$|^button$/,T="tabindex";function R(e,t){return null!=e&&(!!O.test(e)||"a"===e&&null!=t&&null!=t.href)}function U(e,t,r,n,a){var i,o,s,l,c,u=!1;if(null!=r)for(i in r){if(o=r[i],s=n[i],a&&i===T)o=-1,u=!0;else if(i===Ft&&!z){D(o)&&(o=(n[Ht]=o)()),l=s,c=o,n[i]=o;continue}s!==o&&(n[i]=o,z?"href"===i?t.setAttributeNS("http://www.w3.org/1999/xlink","href",o):t.setAttribute(i,o):i in t&&"list"!==i&&"form"!==i?t[i]=o:t.setAttribute(i,o))}if(a&&!u&&R(e.tag,r)&&(t.setAttribute(T,"-1"),n[T]=-1),null==r){for(i in n)if(n[i]!==L){if(a&&i===T)continue;if(i===Ht)continue;n[i]=L,t.removeAttribute(i)}}else for(i in n)if(n[i]!==L&&!(i in r)){if(a&&i===T)continue;if(i===Ht)continue;n[i]=L,t.removeAttribute(i)}return c!==L&&f(t,e,c,l),n}function F(e){var t=e.component;if(t){var r=t.postInitDom;r&&(c.push(r),u.push(e))}}function q(e){var t=e.component;if(t){var r=t.postUpdateDom;r&&(c.push(r),u.push(e)),(r=t.postUpdateDomEverytime)&&(c.push(r),u.push(e))}}function W(e){var t=e.component;if(t){var r=t.postUpdateDomEverytime;r&&(c.push(r),u.push(e))}}function V(e){for(var t;e&&(t=e.cfg)===L;){if(e.ctx){t=e.ctx.cfg;break}e=e.parent}return t}function K(e,t){if(null!=e)if(D(e))e(t);else{var r=e[0],n=r.refs;null==n&&(n=N(),r.refs=n),n[e[1]]=t}}var X,Y=[],G=null;function Z(){return X}function J(e){X=e}function Q(e,t,r,n){var a,i,o={tag:e.tag,key:e.key,ref:e.ref,className:e.className,style:e.style,attrs:e.attrs,children:e.children,component:e.component,data:e.data,cfg:L,parent:t,element:L,ctx:L,orig:e},s=z,l=C,c=o.component;(K(o.ref,o),c)&&(c.ctxClass?((i=new c.ctxClass(o.data||{},o)).data===L&&(i.data=o.data||{}),i.me===L&&(i.me=o)):i={data:o.data||{},me:o,cfg:L},i.cfg=e.cfg===L?V(t):e.cfg,o.ctx=i,X=i,c.init&&c.init(i,o),Xe!==Ke&&Xe(e,0),c.render&&c.render(i,o),X=L);var u=o.tag;if("-"===u)return o.tag=L,o.children=L,o;var f=o.children,h=!1;if(P(f)&&(f=""+f,o.children=f),u===L)return B(f)?(a=k(f),o.element=a,r.insertBefore(a,n)):te(o,r,n),c&&(c.postRender&&c.postRender(o.ctx,o),F(o)),o;if("/"===u){var d=f;if(""===d);else if(null==n){var p=r.lastChild;for(r.insertAdjacentHTML("beforeend",d),o.element=[],p=p?p.nextSibling:r.firstChild;p;)o.element.push(p),p=p.nextSibling}else{var g=(a=n).previousSibling,m=!1,b=r;a.insertAdjacentHTML||(a=b.insertBefore(x("i"),a),m=!0),a.insertAdjacentHTML("beforebegin",d),g=g?g.nextSibling:b.firstChild;for(var v=[];g!==a;)v.push(g),g=g.nextSibling;o.element=v,m&&b.removeChild(a)}return c&&(c.postRender&&c.postRender(o.ctx,o),F(o)),o}z||"svg"===u?(a=document.createElementNS("http://www.w3.org/2000/svg",u),z=!(h="foreignObject"===u)):a=x(u),r.insertBefore(a,n),o.element=a,te(o,a,null),c&&c.postRender&&c.postRender(o.ctx,o),C&&G===o&&(C=!1),h&&(z=!0),(o.attrs||C)&&(o.attrs=U(o,a,o.attrs,{},C)),o.style&&A(a,o.style,L);var _=o.className;return _&&I(a,_),z=s,C=l,F(o),o}function ee(e){return!1===e||!0===e||null===e?L:B(e)?{children:e}:P(e)?{children:""+e}:e}function te(e,t,r){var n=e.children;if(B(n))t.textContent=n;else{var a=[];we(a,n);for(var i=0;i<a.length;i++)a[i]=Q(a[i],e,t,r);e.children=a}}function re(e){K(e.ref,L);var t=e.children;if(w(t))for(var r=0,n=t.length;r<n;r++)re(t[r]);var a=e.component;if(a){var i=e.ctx;X=i,Xe!==Ke&&Xe(e,3),a.destroy&&a.destroy(i,e,e.element);var o=i.disposables;if(w(o))for(var s=o.length;0<s--;){var l=o[s];D(l)?l(i):l.dispose()}X=L}}function ne(e){var t=e.element;if(w(t)){var r=t[0].parentNode;if(r)for(var n=0;n<t.length;n++)r.removeChild(t[n])}else if(null!=t){var a=t.parentNode;a&&a.removeChild(t)}else{var i=e.children;if(w(i))for(var o=0,s=i.length;o<s;o++)ne(i[o])}}function ae(e){re(e),ne(e)}var ie=N();function oe(e,t,r,n){var a=e.element,i=e.children;if(w(a)){for(var o=0;o<a.length;o++)if(a[o]===t)return n.push(e),w(i)?i:null}else if(null==a){if(w(i))for(var s=0;s<i.length;s++){var l=oe(i[s],t,r,n);if(l!==L)return n.splice(r,0,e),l}}else if(a===t)return n.push(e),w(i)?i:null;return L}function se(e){var t=[];if(e==L)return t;var r=Object.keys(ie),n=r.map(function(e){return ie[e].e||document.body}),a=[];e:for(;;){t:for(;e;){for(var i=0;i<n.length;i++)if(e===n[i])break t;a.push(e),e=e.parentNode}if(!e||0===a.length)return t;var o=null,s=a.pop();for(i=0;i<n.length;i++)if(e===n[i]){var l=ie[r[i]].n;if(l===L)continue;if((f=oe(l,s,t.length,t))!==L){o=f;break e}}a.push(s),a.push(e),e=e.parentNode}e:for(;a.length;){if(s=a.pop(),o&&o.length)for(var c=0,u=o.length;c<u;c++){var f;if((f=oe(o[c],s,t.length,t))!==L){o=f;continue e}}t.push(null);break}return t}function le(e){for(var t=se(e),r=null;null===r;)r=t.pop();return r}function ce(e,t,r){r&&r.postRender&&(X=t.ctx,r.postRender(X,e,t),X=L),t.data=e.data,q(t)}function ue(e,t,r){if(X=L,w(e.children)){var n=z,a=C;"svg"===e.tag?z=!0:z&&"foreignObject"===e.tag&&(z=!1),C&&G===e&&(C=!1),Ve(e.children,e.element||t,null!=e.element?null:r),z=n,C=a}W(e)}function fe(e,t,r,n,a,i){var o=e.component,s=!1,l=t.ctx;if(null!=o&&null!=l){var c=!1;if(l[Ee]===Le&&(a=Math.max(a,l[$e]),c=!0),o.id!==t.component.id)s=!0;else{if(X=l,e.cfg!==L?l.cfg=e.cfg:l.cfg=V(t.parent),o.shouldChange&&!o.shouldChange(l,e,t)&&!ut&&!c)return ue(t,r,n),t;l.data=e.data||{},t.component=o,Xe!==Ke&&Xe(e,i?2:1),o.render&&(t.orig=e,e=j({},e),t.cfg=L,e.cfg!==L&&(e.cfg=L),o.render(l,e,t),e.cfg!==L&&(t.cfg===L?t.cfg=e.cfg:j(t.cfg,e.cfg))),X=L}}else{if(t.orig===e)return ue(t,r,n),t;t.orig=e}var u=e.children,f=t.children,h=e.tag;if("-"===h)return ue(t,r,n),t;var d=z,p=C;if(P(u)&&(u=""+u),s||null!=o&&null==l||null==o&&null!=l&&l.me.component!==y);else if("/"===h){if("/"===t.tag&&f===u)return ce(e,t,o),t}else if(h===t.tag){if(h===L){if(B(u)&&B(f)){if(u!==f)(m=t.element).textContent=u,t.children=u}else C&&G===t&&(C=!1),a<=0?w(f)&&Ve(t.children,r,n):t.children=ye(r,u,f,t,n,a-1),z=d,C=p;return ce(e,t,o),t}var g=!1;"svg"===h?z=!0:z&&"foreignObject"===h&&(z=!(g=!0)),C&&G===t&&(C=!1);var m=t.element;B(u)&&!w(f)?u!==f&&(f=m.textContent=u):a<=0?w(f)&&Ve(t.children,m,null):f=ye(m,u,f,t,null,a-1),t.children=f,g&&(z=!0),ce(e,t,o),(t.attrs||e.attrs||C)&&(t.attrs=U(t,m,e.attrs,t.attrs||{},C)),A(m,e.style,t.style),t.style=e.style;var b=e.className;return b!==t.className&&(I(m,b||""),t.className=b),z=d,C=p,t}var v=t.element;w(v)&&(v=v[0]),v=null==v?r:v.parentNode;var _=Q(e,t.parent,v,he(t));return ae(t),_}function he(e){if(e===L)return null;var t=e.element;if(null!=t)return w(t)?t[0]:t;var r=e.children;if(!w(r))return null;for(var n=0;n<r.length;n++)if(t=he(r[n]))return t;return null}function de(e,t,r,n){for(;++t<r;){var a=e[t];if(null!=a){var i=he(a);if(null!=i)return i}}return n}function pe(){for(var e=u.length,t=0;t<e;t++){var r=u[t];X=r.ctx,c[t].call(r.component,X,r,r.element)}X=L,c=[],u=[]}function ge(e,t,r,n,a,i,o){t[r]=fe(e,t[r],i,de(t,r,n,a),o)}function me(e,t,r){var n=e.element;if(null==n){var a=e.children;if(w(a))for(i=0;i<a.length;i++)me(a[i],t,r)}else if(w(n))for(var i=0;i<n.length;i++)t.insertBefore(n[i],r);else t.insertBefore(n,r)}function be(e,t,r,n,a){var i=de(e,t,r,n),o=e[t],s=he(o);null!=s&&s!==i&&me(o,a,i)}function ve(e,t,r,n,a,i,o){var s=de(t,r,n,a),l=t[r],c=he(l);null!=c&&c!==s&&me(l,i,s),t[r]=fe(e,l,i,s,o)}function _e(e,t){if(t!=L)if(a(t))for(var r=0;r<t.length;r++)_e(e,t[r]);else{var n=ee(t);n!==L&&e.push(n)}}function we(e,t){_e(e,t)}function ye(e,t,r,n,a,i){null==r&&(r=[]),w(r)||(e.firstChild&&e.removeChild(e.firstChild),r=[]);var o=[];return we(o,t),ke(e,o,r,n,a,i)}function ke(e,t,r,n,a,i){for(var o=t.length,s=r.length,l=s,c=0,u=0;c<o&&u<l;){if(t[c].key!==r[u].key){for(;t[o-1].key===r[l-1].key&&(l--,ge(t[--o],r,l,s,a,e,i),c<o&&u<l););if(c<o&&u<l){if(t[c].key===r[l-1].key){r.splice(u,0,r[l-1]),r.splice(l,1),ve(t[c],r,u,s,a,e,i),c++,u++;continue}if(t[o-1].key===r[u].key){r.splice(l,0,r[u]),r.splice(u,1),l--,ve(t[--o],r,l,s,a,e,i);continue}}break}ge(t[c],r,u,s,a,e,i),c++,u++}if(u===l){if(c===o)return r;for(;c<o;)r.splice(u,0,Q(t[c],n,e,de(r,u-1,s,a))),u++,l++,s++,c++;return r}if(c===o){for(;u<l;)ae(r[--l]),r.splice(l,1);return r}for(var f,h=N(),d=N(),p=c,g=u,m=0;u<l;u++)null!=(f=r[u].key)?h[f]=u:m--;for(var b=-m-m;c<o;c++)null!=(f=t[c].key)?d[f]=c:m++;b+=m;var v,_=0;for(c=p,u=g;u<l&&c<o;)if(null!==r[u])if(null!=(v=r[u].key)){if(null==(f=t[c].key)){for(c++;c<o&&null==(f=t[c].key);)c++;if(null==f)break}var w=h[f];w!==L?v in d?u===w+_?(ge(t[c],r,u,s,a,e,i),c++,u++):(r.splice(u,0,r[w+_]),r[w+ ++_]=null,ve(t[c],r,u,s,a,e,i),u++,l++,s++,c++):(ae(r[u]),r.splice(u,1),_--,l--,s--):(r.splice(u,0,Q(t[c],n,e,de(r,u-1,s,a))),_++,c++,u++,l++,s++)}else u++;else r.splice(u,1),l--,s--,_--;for(;u<l;)null!==r[u]?null==r[u].key?u++:(ae(r[u]),r.splice(u,1),l--,s--):(r.splice(u,1),l--,s--);for(;c<o;)null!=(f=t[c].key)&&(r.splice(u,0,Q(t[c],n,e,de(r,u-1,s,a))),l++,s++,_++,u++),c++;if(!b)return r;for(b=b-Math.abs(m)>>1,c=p,u=g;c<o;)if(u<l&&null!=(v=r[u].key))u++;else if(f=t[c].key,c<l&&f===r[c].key){if(null!=f){c++;continue}ge(t[c],r,c,s,a,e,i),b--,u=++c}else if(null==f)u<l?(r.splice(c,0,r[u]),r.splice(u+1,1),ve(t[c],r,c,s,a,e,i),b--):(r.splice(c,0,Q(t[c],n,e,de(r,c-1,s,a))),l++,s++),c++,u++;else{if(0===b&&m<0){for(;ae(r[u]),r.splice(u,1),l--,s--,m++,null==r[u].key;);continue}for(;null==r[u].key;)u++;r[u].key,r.splice(c,0,r[u]),r.splice(u+1,1),be(r,c,s,a,e),u=++c}for(;c<l;)ae(r[--l]),r.splice(l,1);return r}var xe=!1,Pe=window.requestAnimationFrame;Pe&&Pe(function(e){e===+e&&(xe=!0)});var je=Date.now||function(){return(new Date).getTime()},ze=je(),Ce=0;function Se(e){if(xe)Pe(e);else{var t=50/3+Ce-je();t<0&&(t=0),window.setTimeout(function(){Ce=je(),e(Ce-ze)},t)}}var Me,Ee="$invalidated",$e="$deepness",Ae=!0,Ie=!1,Oe=!0,Te=0,Le=0,Be=0,De={};function Ne(e,t,r){null==Me&&(Me={});var n=Me[e]||[];n.push({priority:t,callback:r}),Me[e]=n}function He(e,t,r,n){var a=De[e];if(a)for(var i=0;i<a.length;i++)if(a[i](t,r,n))return!0;return!1}var Re=!1;try{var Ue=Object.defineProperty({},"passive",{get:function(){Re=!0}});window.addEventListener("test",Ue,Ue),window.removeEventListener("test",Ue,Ue)}catch(e){Re=!1}var Fe=0;function qe(r,n){if("!"!=n[0]){var e="^"==n[0],t=n;"@"==n[0]&&(t=n.slice(1),r=document),e&&(t=n.slice(1)),"on"+t in window&&(r=window),r.addEventListener(t,a,Re?{capture:e,passive:!1}:e)}function a(e){var t=(e=e||window.event).target||e.srcElement||r;Fe++,He(n,e,t,le(t)),0==--Fe&&at&&it()}}function We(){if(Me!==L){for(var e=Object.keys(Me),t=0;t<e.length;t++){var r=e[t],n=Me[r];n=n.sort(function(e,t){return e.priority-t.priority}),De[r]=n.map(function(e){return e.callback})}Me=L;for(var a=document.body,i=0;i<e.length;i++)qe(a,e[i])}}function Ve(e,t,r){for(var n=e.length,a=0;a<n;a++){var i=e[a],o=i.ctx;if(null!=o&&o[Ee]===Le)e[a]=fe(i.orig,i,t,de(e,a,n,r),o[$e],!0);else if(w(i.children)){var s=z,l=C;C&&G===i&&(C=!1),"svg"===i.tag?z=!0:z&&"foreignObject"===i.tag&&(z=!1);var c=i.element;c!=L?Ve(i.children,c,null):Ve(i.children,t,de(e,a,n,r)),W(i),z=s,C=l}}}var Ke=function(){},Xe=Ke,Ye=function(){},Ge=function(){},Ze=function(){};function Je(e){var t=Xe;return Xe=e,t}function Qe(e){var t=Ye;return Ye=e,t}function et(e){var t=Ge;return Ge=e,t}function tt(e){var t=Ze;return Ze=e,t}function rt(e,t,r){for(;null!=t;){if(e===t)return!0;var n=t.parent;if(null==n)for(var a=0;a<r.length;a++){var i=ie[r[a]];if(i&&i.n===t){n=i.p;break}}t=n}return!1}var nt,at=!1;function it(){at=!1,lt(je()-ze)}function ot(e){Ie=!1,lt(e)}var st=gi({render:function(e,t){var r=e.data,n=r.f(r);n===L?t.tag="-":t.children=n}});function lt(e){!1,Be=je(),We(),Ge(),Le++,ut=ct,ct=!1,Te=e,Ye(),G=0===Y.length?null:Y[Y.length-1];var t=C=!1;Ae&&(t=!(Ae=!1)),nt=Object.keys(ie);for(var r=0;r<nt.length;r++){var n=ie[nt[r]];if(n){for(var a=n.n,i=null,o=r+1;o<nt.length;o++){var s=ie[nt[o]];if(s!==L&&null!=(i=he(s.n)))break}if(G&&(C=!rt(G,n.p,nt)),n.e===L&&(n.e=document.body),a)if(t||a.ctx[Ee]===Le)fe(st(n),a,n.e,i,t?1e6:a.ctx[$e]);else w(n.c)&&Ve(n.c,n.e,i);else a=Q(st(n),L,n.e,i),n.n=a;n.c=a.children}}nt=L,pe();var l=ie[0];Ze(l?l.c:null),je()-Be}var ct=!1,ut=!1;function ft(){ct=!0,dt()}function ht(e){var t=dt;return dt=e,t}var dt=function(e,t){null!=e?(t==L&&(t=1e6),e[Ee]!==Le+1?(e[Ee]=Le+1,e[$e]=t):t>e[$e]&&(e[$e]=t)):Ae=!0,!0,Ie||Oe||(Ie=!0,Se(ot))},pt=0;function gt(e,t,r){var n=""+ ++pt;return ie[n]={f:e,e:t,c:[],p:r,n:L},null!=nt?nt.push(n):yt(),n}function mt(e){var t=ie[e];t&&(t.n&&ae(t.n),delete ie[e])}function bt(){return ie}function vt(){Oe=!1,dt()}var _t,wt=vt;function yt(){Oe=!0,wt(),wt=vt}function kt(e,t){mt("0"),ie[0]={f:e,e:t,c:[],p:L,n:L},yt()}function xt(e){var t=wt;wt=function(){e(t)}}function Pt(e,t,r){for(var n=_t;e;){var a=e.component;if(a){var i=e.ctx;_t=i;var o=a[t];if(o&&o.call(a,i,r))return _t=n,i;if((o=a.shouldStopBubble)&&o.call(a,i,t,r))break}e=e.parent}return _t=n,L}function jt(e,t,r){if(!e)return L;var n=e.component;if(n){var a=e.ctx,i=_t;_t=a;var o=n[t];if(o&&o.call(n,a,r))return _t=i,a;if((o=n.shouldStopBroadcast)&&o.call(n,a,t,r))return _t=i,L;_t=i}var s=e.children;if(w(s))for(var l=0;l<s.length;l++){var c=jt(s[l],t,r);if(null!=c)return c}return L}function zt(e,t){for(var r=Object.keys(ie),n=0;n<r.length;n++){var a=ie[r[n]].n;if(null!=a){var i=jt(a,e,t);if(null!=i)return i}}return L}function Ct(e){var t=e.preventDefault;t?t.call(e):e.returnValue=!1}function St(e,t){m[e]=t}var Mt=null,Et=[[414,800,900],[736,1280,1440]];function $t(){return Mt=null,dt(),!1}for(var At=["resize","orientationchange"],It=0;It<At.length;It++)Ne(At[It],10,$t);var Ot,Tt=window.document.documentElement,Lt=/Android/i.test(navigator.userAgent);function Bt(){if(null==Mt){var e=Tt.clientWidth,t=Tt.clientHeight,r=window.orientation,n=e<=t;if(r=null==r?n?0:90:+r,Lt){var a=Math.abs(r)%180==90;null==Ot?Ot=a===n:n=a===Ot}for(var i=0;e>Et[+!n][i];)i++;Mt={width:e,height:t,orientation:r,deviceCategory:i,portrait:n,dppx:window.devicePixelRatio}}return Mt}var Dt,Nt=function(){var n=[];function t(){var e=n;n=[];for(var t=0,r=e.length;t<r;t++)e[t]()}var r,a="onreadystatechange";if(window.MutationObserver){var i=document.createElement("div");return new MutationObserver(t).observe(i,{attributes:!0}),function(e){n.length||i.setAttribute("yes","no"),n.push(e)}}if(!window.setImmediate&&window.postMessage&&window.addEventListener){var o="basap"+Math.random(),s=!1,e=function(e){e.source===window&&e.data===o&&(s=!1,t())};return window.addEventListener("message",e,!1),function(e){n.push(e),s||(s=!0,window.postMessage(o,"*"))}}if(!window.setImmediate&&a in document.createElement("script"))return function(e){n.push(e),r||((r=document.createElement("script"))[a]=function(){r[a]=null,r.parentNode.removeChild(r),r=null,t()},document.body.appendChild(r))};var l,c=window.setImmediate||setTimeout;return function(e){n.push(e),l||(l=c(function(){l=L,t()},0))}}();window.Promise||function(){function r(e,t){return function(){e.apply(t,arguments)}}function i(r){var n=this;null!==this.s?Nt(function(){var e=n.s?r[0]:r[1];if(null!=e){var t;try{t=e(n.v)}catch(e){return void r[3](e)}r[2](t)}else(n.s?r[2]:r[3])(n.v)}):this.d.push(r)}function n(){for(var e=0,t=this.d.length;e<t;e++)i.call(this,this.d[e]);this.d=null}function a(e){this.s=!1,this.v=e,n.call(this)}function o(e,t,r){var n=!1;try{e(function(e){n||(n=!0,t(e))},function(e){n||(n=!0,r(e))})}catch(e){if(n)return;n=!0,r(e)}}function s(e){try{if(e===this)throw new TypeError("Promise self resolve");if(Object(e)===e){var t=e.then;if("function"==typeof t)return void o(r(t,e),r(s,this),r(a,this))}this.s=!0,this.v=e,n.call(this)}catch(e){a.call(this,e)}}function e(e){this.s=null,this.v=null,this.d=[],o(e,r(s,this),r(a,this))}e.prototype.then=function(r,n){var a=this;return new e(function(e,t){i.call(a,[r,n,e,t])})},e.prototype.catch=function(e){return this.then(L,e)},e.all=function(){var s=[].slice.call(1===arguments.length&&w(arguments[0])?arguments[0]:arguments);return new e(function(n,a){if(0!==s.length)for(var i=s.length,e=0;e<s.length;e++)o(e,s[e]);else n(s);function o(t,e){try{if(e&&("object"==typeof e||"function"==typeof e)){var r=e.then;if("function"==typeof r)return void r.call(e,function(e){o(t,e)},a)}s[t]=e,0==--i&&n(s)}catch(e){a(e)}}})},e.resolve=function(t){return t&&"object"==typeof t&&t.constructor===e?t:new e(function(e){e(t)})},e.reject=function(r){return new e(function(e,t){t(r)})},e.race=function(a){return new e(function(e,t){for(var r=0,n=a.length;r<n;r++)a[r].then(e,t)})},window.Promise=e}(),9===M()?function(){function l(e,t){null==e.zoom&&(e.zoom="1");var r=e.filter;e.filter=null==r?t:r+" "+t}var c=/^linear\-gradient\(to (.+?),(.+?),(.+?)\)/gi;St("background",function(e,t,r){var n=c.exec(t);if(null!=n){var a,i=n[1],o=n[2],s=n[3];switch(i){case"top":i="0",a=o,o=s,s=a;break;case"bottom":i="0";break;case"left":i="1",a=o,o=s,s=a;break;case"right":i="1";break;default:return}e[r]="none",l(e,"progid:DXImageTransform.Microsoft.gradient(startColorstr='"+o+"',endColorstr='"+s+"', gradientType='"+i+"')")}})}():((Dt=document.createElement("div").style).cssText="background:-webkit-linear-gradient(top,red,red)",0<Dt.background.length&&function(){var o=/^(?:repeating\-)?(?:linear|radial)\-gradient/gi,s={top:"bottom",bottom:"top",left:"right",right:"left"};function e(e,t,r){if(o.test(t)){var n=t.indexOf("(to ");if(0<n){n+=4;var a=t.indexOf(",",n),i=t.slice(n,a);i=i.split(" ").map(function(e){return s[e]||e}).join(" "),t=t.slice(0,n-3)+i+t.slice(a)}t="-webkit-"+t}e[r]=t}St("background",e)}());var Ht="b$value",Rt="b$selStart",Ut="b$selEnd",Ft="value";function qt(e){var t=e.type;return"checkbox"===t||"radio"===t}function Wt(e,t){var r=e.length;if(r!==t.length)return!1;for(var n=0;n<r;n++)if(e[n]!==t[n])return!1;return!0}function Vt(e,t){for(var r=0;r<e.length;r++)if(e[r]===t)return!0;return!1}function Kt(e){for(var t=[],r=0;r<e.length;r++)e[r].selected&&t.push(e[r].value);return t}var Xt=h(function(e,t,r,n){var a=e.tagName,i="SELECT"===a,o="INPUT"===a||"TEXTAREA"===a;if(o||i){t.ctx===L&&(t.ctx={me:t},t.component=y),n===L&&(t.ctx[Ht]=r);var s=!1;if(i&&e.multiple){var l=e.options,c=Kt(l);if(!Wt(r,c))if(n===L||Wt(c,n)||!Wt(r,t.ctx[Ht])){for(var u=0;u<l.length;u++)l[u].selected=Vt(r,l[u].value);Wt(c=Kt(l),r)&&(s=!0)}else s=!0}else if(o||i)if(o&&qt(e)){var f=e.checked;r!==f&&(n===L||f===n||r!==t.ctx[Ht]?e.checked=r:s=!0)}else{var h=i&&e.size<2,d=e[Ft];r!==d&&(n===L||d===n||r!==t.ctx[Ht]?i?(""===r?e.selectedIndex=h?0:-1:e[Ft]=r,(""!==r||h)&&r!==(d=e[Ft])&&(s=!0)):e[Ft]=r:s=!0)}s?Yt(L,e,t):t.ctx[Ht]=r}else Xt(e,t,r,n)});function Yt(e,t,r){if(t&&"OPTION"===t.nodeName&&(t=document.activeElement,r=le(t)),!r)return!1;var n=r.component,a=r.attrs&&r.attrs[Ht],i=n&&null!=n.onChange,o=a||i,s=n&&null!=n.onSelectionChange;if(!o&&!s)return!1;var l=r.ctx,c="SELECT"===t.tagName&&t.multiple;if(o&&c){var u=Kt(t.options);if(!Wt(l[Ht],u)){l[Ht]=u;var f=_t;_t=l,a&&a(u),i&&n.onChange(l,u),_t=f}}else if(o&&qt(t)){if(e&&"change"===e.type)return setTimeout(function(){Yt(L,t,r)},10),!1;if("radio"===t.type)for(var h=document.getElementsByName(t.name),d=0;d<h.length;d++){var p=h[d],g=le(p);if(g){var m=r.attrs[Ht],b=g.component,v=b&&null!=b.onChange;if(m||v){var _=g.ctx,w=p.checked;if(_[Ht]!==w){_[Ht]=w;f=_t;_t=_,m&&m(w),v&&b.onChange(_,w),_t=f}}}}else{var y=t.checked;if(l[Ht]!==y){l[Ht]=y;f=_t;_t=l,a&&a(y),i&&n.onChange(l,y),_t=f}}}else{if(o){var k=t.value;if(l[Ht]!==k){l[Ht]=k;f=_t;_t=l,a&&a(k),i&&n.onChange(l,k),_t=f}}if(s){var x=t.selectionStart,P=t.selectionEnd,j=t.selectionDirection,z=!1,C=l[Rt];if(null==j?P===C&&(z=!0):"backward"===j&&(z=!0),z){var S=x;x=P,P=S}Gt(r,x,P)}}return!1}function Gt(e,t,r){var n=e.component,a=e.ctx;if(n&&(a[Rt]!==t||a[Ut]!==r)&&(a[Rt]=t,a[Ut]=r,n.onSelectionChange)){var i=_t;_t=a,n.onSelectionChange(a,{startPosition:t,endPosition:r}),_t=i}}function Zt(e,t,r){var n=un();return n&&Yt(e,n.element,n),!1}for(At=["input","cut","paste","keydown","keypress","keyup","click","change"],It=0;It<At.length;It++)Ne(At[It],10,Yt);var Jt=["!PointerDown","!PointerMove","!PointerUp","!PointerCancel"];for(It=0;It<Jt.length;It++)Ne(Jt[It],2,Zt);function Qt(e){return{shift:e.shiftKey,ctrl:e.ctrlKey,alt:e.altKey,meta:e.metaKey||!1,which:e.which||e.keyCode}}function er(e,t,r){return!!r&&(!!Pt(r,"onKeyDown",Qt(e))&&(Ct(e),!0))}function tr(e,t,r){return!!r&&(!!Pt(r,"onKeyUp",Qt(e))&&(Ct(e),!0))}function rr(e,t,r){return!!r&&(0!==e.which&&!e.altKey&&(!!Pt(r,"onKeyPress",{charCode:e.which||e.keyCode})&&(Ct(e),!0)))}Ne("keydown",50,er),Ne("keyup",50,tr),Ne("keypress",50,rr);var nr=13,ar=750,ir=500,or=800,sr=50,lr=null,cr="onClick",ur="onDoubleClick";function fr(e,t){if(null==lr)return!1;var r=lr.me.component,n=r[e];if(!n)return!1;!0;var a=_t;_t=lr;var i=n.call(r,lr,t);return _t=a,!1,i}function hr(e){for(;e;){var t=e.style;if(t){var r=t.pointerEvents;if(r!==L)return"none"===r}e=e.parent}return!1}function dr(e){return hr(le(e))}function pr(e){if(e.length){for(var t=e.length-1;0<=t;--t)e[t].t.style.visibility=e[t].p;return!0}return!1}function gr(e,t){e.push({t:t,p:t.style.visibility}),t.style.visibility="hidden"}function mr(e,t,r){for(var n=[],a=t;dr(a);)gr(n,a),a=document.elementFromPoint(e.x,e.y);if(pr(n)){try{a.dispatchEvent(e)}catch(e){return!1}return Ct(e),!0}return!1}function br(e,t){Ne(e,5,t)}var vr=["PointerDown","PointerMove","PointerUp","PointerCancel"];if(M()&&M()<11){Jt=["click","dblclick","drag","dragend","dragenter","dragleave","dragover","dragstart","drop","mousedown","mousemove","mouseout","mouseover","mouseup","mousewheel","scroll","wheel"];for(It=0;It<Jt.length;++It)Ne(Jt[It],1,mr)}function _r(e){return"mouse"===e||4===e?0:"pen"===e||3===e?2:1}function wr(e,t,r,n){for(var a=[],i=r;hr(n);)gr(a,i),n=le(i=document.elementFromPoint(e,t));return pr(a),[i,n]}function yr(l){return function(e,t,r){if(hr(r)){var n=wr(e.clientX,e.clientY,t,r);t=n[0],r=n[1]}var a=e.button+1,i=_r(e.pointerType),o=e.buttons;if(0===a&&0===i&&o)for(a=1;!(1&o);)o>>=1,a++;var s={id:e.pointerId,type:i,x:e.clientX,y:e.clientY,button:a,shift:e.shiftKey,ctrl:e.ctrlKey,alt:e.altKey,meta:e.metaKey||!1,count:e.detail};return!!He("!"+l,s,t,r)&&(Ct(e),!0)}}function kr(s){return function(e,t,r){for(var n=!1,a=0;a<e.changedTouches.length;a++){var i=e.changedTouches[a];r=le(t=document.elementFromPoint(i.clientX,i.clientY));var o={id:i.identifier+2,type:1,x:i.clientX,y:i.clientY,button:1,shift:e.shiftKey,ctrl:e.ctrlKey,alt:e.altKey,meta:e.metaKey||!1,count:e.detail};He("!"+s,o,t,r)&&(n=!0)}return!!n&&(Ct(e),!0)}}function xr(i){return function(e,t,r){if(hr(r=le(t=document.elementFromPoint(e.clientX,e.clientY)))){var n=wr(e.clientX,e.clientY,t,r);t=n[0],r=n[1]}var a={id:1,type:0,x:e.clientX,y:e.clientY,button:Zr(e),shift:e.shiftKey,ctrl:e.ctrlKey,alt:e.altKey,meta:e.metaKey||!1,count:e.detail};return!!He("!"+i,a,t,r)&&(Ct(e),!0)}}function Pr(){br("mousedown",xr(vr[0])),br("mousemove",xr(vr[1])),br("mouseup",xr(vr[2]))}if(window.ontouchstart!==L)br("touchstart",kr(vr[0])),br("touchmove",kr(vr[1])),br("touchend",kr(vr[2])),br("touchcancel",kr(vr[3])),Pr();else if(window.onpointerdown!==L)for(It=0;It<4;It++){br((jr=vr[It]).toLowerCase(),yr(jr))}else if(window.onmspointerdown!==L)for(It=0;It<4;It++){var jr;br("@MS"+(jr=vr[It]),yr(jr))}else Pr();for(var zr=0;zr<4;zr++)!function(e){var n="on"+e;Ne("!"+e,50,function(e,t,r){return fr(n,e)||null!=Pt(r,n,e)})}(vr[zr]);var Cr=N(),Sr=[],Mr=-1,Er=0,$r=0,Ar=0,Ir=!1;function Or(e,t,r){return Math.abs(e-t)<r}var Tr=[];function Lr(e){e;var t=document.elementFromPoint(e.x,e.y),r=se(t),n=0==r.length?L:r[r.length-1];hr(n)&&(r=se(t=wr(e.x,e.y,t,null==n?L:n)[0]));Pt(n,"onMouseOver",e);for(var a,i,o=0;o<Tr.length&&o<r.length&&Tr[o]===r[o];)o++;var s=Tr.length;for(0<s&&(a=Tr[s-1])&&(i=a.component)&&i.onMouseOut&&i.onMouseOut(a.ctx,e);o<s;)(a=Tr[--s])&&(i=a.component)&&i.onMouseLeave&&i.onMouseLeave(a.ctx,e);for(;s<r.length;)(a=r[s])&&(i=a.component)&&i.onMouseEnter&&i.onMouseEnter(a.ctx,e),s++;return Tr=r,0<s&&(a=Tr[s-1])&&(i=a.component)&&i.onMouseIn&&i.onMouseIn(a.ctx,e),!1}function Br(){return 0===Object.keys(Cr).length}function Dr(e,t,r){return-1===Mr&&Br()&&(Mr=e.id,Er=je(),$r=e.x,Ar=e.y,Ir=!1,Lr(e)),Cr[e.id]=e.type,Mr!==e.id&&(Ir=!0),!1}function Nr(e,t,r){return 0===e.type&&0===e.button&&null!=Cr[e.id]&&(e.button=1,He("!PointerUp",e,t,r),e.button=0),Mr===e.id?(Lr(e),Or($r,e.x,nr)&&Or(Ar,e.y,nr)||(Ir=!0)):Br()&&Lr(e),!1}var Hr=0,Rr=0;function Ur(e){if(0==Rr)return!1;var t=je();return t<Hr+1e3&&Rr<=e?(Hr=t,Rr=e,!0):(Rr=0,!1)}function Fr(){Rr=2,Hr=je()}function qr(e,t,r){if(delete Cr[e.id],Mr==e.id)if(Lr(e),Mr=-1,1!=e.type||Ir)Ir&&nn(e.x,e.y);else if(je()-Er<ar){He("!PointerCancel",e,t,r),Ur(1);var n=fr(cr,e)||null!=Pt(r,cr,e),a=M()?or:ir;return Sr.push([e.x,e.y,je()+a,n?1:0]),n}return!1}function Wr(e,t,r){return delete Cr[e.id],Mr==e.id&&(Mr=-1),!1}function Vr(e,t,r){for(var n=je(),a=0;a<Sr.length;a++){var i=Sr[a];if(i[2]<n)Sr.splice(a,1),a--;else if(Or(i[0],e.clientX,sr)&&Or(i[1],e.clientY,sr))return Sr.splice(a,1),i[3]&&Ct(e),!0}return!1}var Kr=["!PointerDown","!PointerMove","!PointerUp","!PointerCancel","^click"],Xr=[Dr,Nr,qr,Wr,Vr];for(It=0;It<5;It++)Ne(Kr[It],3,Xr[It]);function Yr(n){return function(e,t,r){return!(Mr!=e.id&&!Br())&&!(!fr(n,e)&&!Pt(r,n,e))}}var Gr=["Down","Move","Up","Up"];for(It=0;It<4;It++)Ne(Kr[It],80,Yr("onMouse"+Gr[It]));function Zr(e){return e.which||e.button}function Jr(o,s){return function(e,t,r){if(1==Fe&&(null==t||"INPUT"!=t.nodeName||0!=e.clientX||0!=e.clientY)&&hr(r=le(t=document.elementFromPoint(e.clientX,e.clientY)))){var n=wr(e.clientX,e.clientY,t,r);t=n[0],r=n[1]}var a=Zr(e)||1;if(!s&&1!==a)return!1;var i={x:e.clientX,y:e.clientY,button:a,shift:e.shiftKey,ctrl:e.ctrlKey,alt:e.altKey,meta:e.metaKey||!1,count:e.detail||1};return o==ur&&(i.count=2),!!(Ur(i.count)||fr(o,i)||Pt(r,o,i))&&(Ct(e),!0)}}function Qr(e,t){var r=document.elementFromPoint(e,t),n=le(r);hr(n)&&(n=wr(e,t,r,n)[1]);return n}function en(e,t,r){for(;r;){var n=r.style;if(n){var a=n.userSelect;if("none"===a)return Ct(e),!0;if(a)break}r=r.parent}return!1}br("selectstart",en),br("^click",Jr(cr)),br("^dblclick",Jr(ur)),br("contextmenu",Jr("onContextMenu",!0));var tn=("onwheel"in document.createElement("div")?"":"mouse")+"wheel";function rn(e,t,r){if(hr(r)){var n=wr(e.x,e.y,t,r);t=n[0],r=n[1]}var a=e.button+1,i=e.buttons;if(0===a&&i)for(a=1;!(1&i);)i>>=1,a++;var o,s=0;"mousewheel"==tn?(o=-.025*e.wheelDelta,e.wheelDeltaX&&(s=-.025*e.wheelDeltaX)):(s=e.deltaX,o=e.deltaY);var l={dx:s,dy:o,x:e.clientX,y:e.clientY,button:a,shift:e.shiftKey,ctrl:e.ctrlKey,alt:e.altKey,meta:e.metaKey||!1,count:e.detail};return!(!fr("onMouseWheel",l)&&!Pt(r,"onMouseWheel",l))&&(Ct(e),!0)}br(tn,rn);var nn=function(e,t){var r=M()?or:ir;Sr.push([e,t,je()+r,1])},an=L,on=L,sn=[];function ln(e){var t=document.hasFocus()||e?document.activeElement:L;if(t!==an){for(var r=se(an=t),n=0;n<sn.length&&n<r.length&&sn[n]===r[n];)n++;var a,i,o=sn.length-1;for(n<=o&&((a=sn[o])&&(i=a.component)&&i.onBlur&&i.onBlur(a.ctx),o--);n<=o;)(a=sn[o])&&(i=a.component)&&i.onFocusOut&&i.onFocusOut(a.ctx),o--;for(o=n;o+1<r.length;)(a=r[o])&&(i=a.component)&&i.onFocusIn&&i.onFocusIn(a.ctx),o++;o<r.length&&((a=r[o])&&(i=a.component)&&i.onFocus&&i.onFocus(a.ctx),o++),on=0==(sn=r).length?L:s(sn[sn.length-1])}return!1}function cn(){return setTimeout(function(){return ln(!1)},10),!1}function un(){return on}Ne("^focus",50,function(){return ln(!0)}),Ne("^blur",50,cn);var fn=[];function hn(e,t,r){for(var n={node:r},a=0;a<fn.length;a++)fn[a](n);return!1}Ne("^scroll",10,hn);var dn,pn,gn=0,mn=[],bn=null,vn=null,_n={userSelect:""};H(_n);var wn=Object.keys(_n),yn=wn[wn.length-1],kn=function(e){this.id=++gn,this.pointerid=e,this.enabledOperations=7,this.operation=0,this.started=!1,this.beforeDrag=!0,this.local=!0,this.system=!1,this.ended=!1,this.cursor=null,this.overNode=L,this.targetCtx=null,this.dragView=L,this.startX=0,this.startY=0,this.distanceToStart=10,this.x=0,this.y=0,this.deltaX=0,this.deltaY=0,this.totalX=0,this.totalY=0,this.lastX=0,this.lastY=0,this.shift=!1,this.ctrl=!1,this.alt=!1,this.meta=!1,this.data=N(),0<=e&&(Mn[e]=this),mn.push(this)};function xn(){if(null==vn){var e=document.body.style;dn=e.cursor,pn=e[yn],e[yn]="none",vn=gt(Cn)}}var Pn={render:function(e,t){var r=e.data;t.tag="div",t.style={position:"absolute",left:r.x,top:r.y},t.children=r.dragView(r)}};function jn(){var e="no-drop";if(0!==mn.length){var t=mn[0];if(t.beforeDrag)return"";if(null!=t.cursor)return t.cursor;if(t.system)return"";switch(t.operation){case 3:e="move";break;case 1:e="alias";break;case 2:e="copy"}}return e}var zn={render:function(e,t){for(var r=[],n=0;n<mn.length;n++){var a=mn[n];a.beforeDrag||(null==a.dragView||0==a.x&&0==a.y||r.push({key:""+a.id,data:a,component:Pn}))}t.tag="div",t.style={position:"fixed",pointerEvents:"none",userSelect:"none",left:0,top:0,right:0,bottom:0};var i=document.body.style,o=jn();o&&i.cursor!==o&&(i.cursor=o),t.children=r},onDrag:function(e){return dt(e),!1}};function Cn(){return{component:zn}}var Sn=kn.prototype;Sn.setOperation=function(e){this.operation=e},Sn.setDragNodeView=function(e){this.dragView=e},Sn.addData=function(e,t){return this.data[e]=t,!0},Sn.listData=function(){return Object.keys(this.data)},Sn.hasData=function(e){return this.data[e]!==L},Sn.getData=function(e){return this.data[e]},Sn.setEnabledOps=function(e){this.enabledOperations=e},Sn.cancelDnd=function(){$n(L,this),this.destroy()},Sn.destroy=function(){this.ended=!0,this.started&&zt("onDragEnd",this),delete Mn[this.pointerid];for(var e=0;e<mn.length;e++)if(mn[e]===this){mn.splice(e,1);break}if(bn===this&&(bn=null),0===mn.length&&null!=vn){mt(vn),vn=null;var t=document.body.style;t.cursor=dn,t[yn]=pn}};var Mn=N();function En(e,t,r){var n=Mn[e.id];if(n&&n.cancelDnd(),e.button<=1){(n=new kn(e.id)).startX=e.x,n.startY=e.y,n.lastX=e.x,n.lastY=e.y,n.overNode=r,An(n,e);var a=Pt(r,"onDragStart",n);if(a){var i=he(a.me);if(null==i)return n.destroy(),!1;n.started=!0;var o=i.getBoundingClientRect;if(o){var s=o.call(i);n.deltaX=s.left-e.x,n.deltaY=s.top-e.y}n.distanceToStart<=0&&(n.beforeDrag=!1,$n(r,n)),xn()}else n.destroy()}return!1}function $n(e,t){t.overNode=e,t.targetCtx=Pt(e,"onDragOver",t),null==t.targetCtx&&(t.operation=0),zt("onDrag",t)}function An(e,t){e.shift=t.shift,e.ctrl=t.ctrl,e.alt=t.alt,e.meta=t.meta,e.x=t.x,e.y=t.y}function In(e,t,r){var n=Mn[e.id];if(!n)return!1;if(n.totalX+=Math.abs(e.x-n.lastX),n.totalY+=Math.abs(e.y-n.lastY),n.beforeDrag){if(n.totalX+n.totalY<=n.distanceToStart)return n.lastX=e.x,n.lastY=e.y,!1;n.beforeDrag=!1}return An(n,e),$n(r,n),n.lastX=e.x,n.lastY=e.y,!0}function On(e,t,r){var n=Mn[e.id];if(!n)return!1;if(!n.beforeDrag){An(n,e),$n(r,n);var a=n.targetCtx;return a&&Pt(a.me,"onDrop",n)?n.destroy():n.cancelDnd(),nn(e.x,e.y),!0}return n.destroy(),!1}function Tn(e,t,r){var n=Mn[e.id];return n&&(n.system||(n.beforeDrag?n.destroy():n.cancelDnd())),!1}function Ln(e,t){e.shift=t.shiftKey,e.ctrl=t.ctrlKey,e.alt=t.altKey,e.meta=t.metaKey,e.x=t.clientX,e.y=t.clientY,e.totalX+=Math.abs(e.x-e.lastX),e.totalY+=Math.abs(e.y-e.lastY),$n(Qr(e.x,e.y),e),e.lastX=e.x,e.lastY=e.y}var Bn=["none","link","copy","copyLink","move","linkMove","copyMove","all"];function Dn(e,t,r){var n=bn;null!=n&&n.destroy();var a=Object.keys(Mn);if(0<a.length)(n=Mn[a[0]]).system=!0,bn=n;else{var i=e.clientX,o=e.clientY;(n=new kn(-1)).system=!0,(bn=n).x=i,n.y=o,n.lastX=i,n.lastY=o,n.startX=i,n.startY=o;var s=Pt(r,"onDragStart",n);if(!s)return n.destroy(),!1;var l=he(s.me);if(null==l)return n.destroy(),!1;n.started=!0;var c=l.getBoundingClientRect;if(c){var u=c.call(l);n.deltaX=u.left-i,n.deltaY=u.top-o}xn()}n.beforeDrag=!1;var f=Bn[n.enabledOperations],h=e.dataTransfer;if(h.effectAllowed=f,h.setDragImage){var d=document.createElement("div");d.style.pointerEvents="none",h.setDragImage(d,0,0)}else{var p=e.target.style,g=p.opacity,m=p.width,b=p.height,v=p.padding;p.opacity="0",p.width="0",p.height="0",p.padding="0",window.setTimeout(function(){p.opacity=g,p.width=m,p.height=b,p.padding=v},0)}for(var _=n.data,w=Object.keys(_),y=0;y<w.length;y++)try{var k=w[y],x=_[k];B(x)||(x=JSON.stringify(x)),e.dataTransfer.setData(k,x)}catch(e){0}return Ln(n,e),!1}function Nn(e,t){e.dataTransfer.dropEffect=["none","link","copy","move"][t]}function Hn(e,t,r){var n=bn;if(null==n){(n=new kn(-1)).system=!0,(bn=n).x=e.clientX,n.y=e.clientY,n.startX=n.x,n.startY=n.y,n.local=!1;var a=e.dataTransfer,i=0,o=L;try{o=a.effectAllowed}catch(e){}for(;i<7&&Bn[i]!==o;i++);n.enabledOperations=i;var s=a.types;if(s)for(var l=0;l<s.length;l++){var c=s[l];"text/plain"===c?c="Text":"text/uri-list"===c&&(c="Url"),n.data[c]=null}else a.getData("Text")!==L&&(n.data.Text=null)}return Ln(n,e),Nn(e,n.operation),0!=n.operation&&(Ct(e),!0)}function Rn(e,t,r){var n=e.clientX,a=e.clientY,i=Bt();return null!=bn&&(0===n&&0===a||n<0||a<0||n>=i.width||a>=i.height)&&(bn.x=0,bn.y=0,bn.operation=0,zt("onDrag",bn)),!1}function Un(e,t,r){return null!=bn&&bn.destroy(),!1}function Fn(e,t,r){var n=bn;if(null==n)return!1;if(n.x=e.clientX,n.y=e.clientY,!n.local)for(var a=Object.keys(n.data),i=e.dataTransfer,o=0;o<a.length;o++){var s,l=a[o];s="Files"===l?[].slice.call(i.files,0):i.getData(l),n.data[l]=s}Ln(n,e);var c=n.targetCtx;return c&&Pt(c.me,"onDrop",n)?(Nn(e,n.operation),n.destroy(),Ct(e)):n.cancelDnd(),!0}function qn(e,t,r){return Ct(e),!0}function Wn(e,t,r){return 0!==mn.length&&(Ct(e),!0)}Ne("!PointerDown",4,En),Ne("!PointerMove",4,In),Ne("!PointerUp",4,On),Ne("!PointerCancel",4,Tn),Ne("selectstart",4,Wn),Ne("dragstart",5,Dn),Ne("dragover",5,Hn),Ne("dragend",5,Un),Ne("drag",5,Rn),Ne("drop",5,Fn),Ne("dragenter",5,qn),Ne("dragleave",5,qn);var Vn=function(){return mn},Kn=-1;function Xn(){return 0<=Kn&&clearTimeout(Kn),Kn=-1,dt(),!1}Ne("hashchange",10,Xn);var Yn,Gn="";function Zn(e,t){var r=window.location;t?(Gn=e,r.hash=e.substring(1),0):r.href=e}function Jn(e,t){var r=window.location;t?(Gn=e,r.replace(r.pathname+r.search+e)):r.replace(e)}function Qn(e){e,window.history.go(-e)}var ea={};function ta(e){return encodeURIComponent(e).replace(/%20/g,"+")}function ra(e){return decodeURIComponent(e.replace(/\+/g," "))}function na(e){return(e+"").split("/").map(ta).join("/")}var aa=/:([a-zA-Z_$][a-zA-Z0-9_$]*)|[*.()\[\]\\+|{}^$]/g,ia=/:([a-zA-Z_$][a-zA-Z0-9_$?]*[?]?)|[*]/g,oa={};function sa(e){if(!(e in oa)){var r=[],t=e.replace(aa,function(e,t){return t?(r.push(t),"([^/]+)"):"*"===e?(r.push("splat"),"(.*?)"):"\\"+e});oa[e]={matcher:RegExp("^"+t+"$","i"),paramNames:r}}return oa[e]}function la(e,t){var r=sa(e),n=ra(t).match(r.matcher);if(!n)return null;for(var a={},i=r.paramNames,o=i.length,s=0;s<o;s++)a[i[s]]=n[s+1];return a}function ca(n,a){a=a||{};var i=0;return n.replace(ia,function(e,t){if("?"!==(t=t||"splat").slice(-1)){if(null==a[t])throw Error('Missing "'+t+'" parameter for path "'+n+'"')}else if(t=t.slice(0,-1),null==a[t])return"";var r;if("splat"===t&&Array.isArray(a[t])){if(null==(r=a[t][i++]))throw Error("Missing splat # "+i+' for path "'+n+'"')}else r=a[t];return na(r)})}function ua(e,t,r){for(var n,a,i,o=t.length,s=0;s<o;s++){var l=t[s];if(l.isNotFound)n=l;else if(l.isDefault)a=l;else{if(l.children){var c=ua(e,l.children,r);if(c)return c.push(l),c}if(l.url&&(i=la(l.url,e)))return r.p=i,[l]}}return a&&(i=la(a.url||"",e))?(r.p=i,[a]):n&&(i=la(n.url||"",e))?(r.p=i,[n]):L}var fa,ha=[],da=N(),pa=[],ga=[],ma=/.*(?:\:|\/).*/;function ba(e){return!ma.test(e)}function va(e){return"/"===e[0]}function _a(){return L}function wa(e){for(;e>=ga.length;)ga.push(function(t,r){return function(e){e&&(t[r]=e)}}(pa,ga.length));return ga[e]}var ya=!0;function ka(){if(0<=Kn)return L;var e=window.location.hash,t=e.substr(1);va(t)||(t="/"+t);var r={p:{}},n=ua(t,Yn,r)||[];if(ya?(Ma={inApp:!(ya=!1),type:2,name:L,params:L},$a=-1,Gn=e):!Ma&&0<n.length&&e!=Gn&&Oa(Sa(n[0].name,r.p)),Ma&&2===Ma.type&&$a<0){if(Gn=e,Ma.inApp=!0,!(null==Ma.name&&0<n.length))return L;if(Ma.name=n[0].name,Ma.params=r.p,Ia(),null!=Ma)return L}if(null==Ma){for(ha=n;pa.length>ha.length;)pa.pop();for(;pa.length<ha.length;)pa.push(L);da=r.p}for(var l=_a,a=0;a<ha.length;a++)!function(a,i,o,s){l=function(e){var t=i.data||{};j(t,e),t.activeRouteHandler=a,t.routeParams=o;var r,n=i.handler;return r=D(n)?{key:L,ref:L,children:n(t)}:{key:L,ref:L,data:t,component:n},i.keyBuilder?r.key=i.keyBuilder(o):r.key=i.name,r.ref=wa(s),r}}(l,ha[a],da,a);return l()}function xa(e,t){return va(t)?t:"/"===e[e.length-1]?e+t:e+"/"+t}function Pa(e,t){for(var r=t.length,n=0;n<r;n++){var a=t[n],i=e,o=a.name;o||"/"!==e?o&&(ea[o]=a,i=xa(i,o)):(o="root",a.name=o,ea[o]=a),a.isDefault?i=e:a.isNotFound?i=xa(e,"*"):a.url&&(i=xa(e,a.url)),a.url=i,a.children&&Pa(i,a.children)}}function ja(e){w(e)||(e=[e]),Pa("/",e),Yn=e,kt(ka)}function za(e,t){return{name:e.name,url:e.url,data:e.data,handler:e.handler,keyBuilder:e.keyBuilder,children:t}}function Ca(e,t){if(ba(e)){var r=ea[e];return"#"+ca(r.url,t)}return e}function Sa(e,t){return{inApp:ba(e),type:0,name:e,params:t||{}}}var Ma=null,Ea=null,$a=0;function Aa(e){switch(e.type){case 0:Zn(Ca(e.name,e.params),e.inApp);break;case 1:Jn(Ca(e.name,e.params),e.inApp);break;case 2:Qn(e.distance)}dt()}function Ia(){for(;;){if(0<=$a&&$a<ha.length){var e=pa[$a];if($a++,!e)continue;if(!(o=e.component)&&w(e.children)){if(!(e=e.children[0]))continue;o=e.component}if(!o)continue;if(!(n=o.canDeactivate))continue;if(!0===(a=n.call(o,e.ctx,Ma)))continue;return void Promise.resolve(a).then(function(e){if(!0===e);else{if(!1===e)return Ea=Ma=null,void(Gn&&Jn(Gn,!0));Ea=e}Ia()}).catch(function(e){void 0!==console&&console.log&&console.log(e)})}if($a==ha.length){if(Ea&&(Ma&&0==Ma.type&&Zn(Ca(Ma.name,Ma.params),Ma.inApp),Ma=Ea,Ea=null),$a=-1,!Ma.inApp||2===Ma.type){var t=Ma;return Ma.inApp||(Ma=null),void Aa(t)}}else{if(-1!==$a){if($a===-2-fa.length){if(Ea){$a=ha.length;continue}if(2!==Ma.type){t=Ma;Ma=null,Aa(t)}else dt();return void(Ma=null)}if(Ea){$a=ha.length;continue}var r=fa[fa.length+1+$a];$a--;var n,a,i=r.handler,o=L;if(D(i)){if(!(e=i({}))||!l(e)||w(e))continue;o=e.component}else o=i;if(!o)continue;if(!(n=o.canActivate))continue;if(!0===(a=n.call(o,Ma)))continue;return void Promise.resolve(a).then(function(e){if(!0===e);else{if(!1===e)return void(Ea=Ma=null);Ea=e}Ia()}).catch(function(e){void 0!==console&&console.log&&console.log(e)})}var s={p:{}};fa=Ma.inApp&&ua(Ca(Ma.name,Ma.params).substring(1),Yn,s)||[],$a=-2}}}function Oa(e){0,Fr(),null==Ma?(ya=!1,Ma=e,$a=0,Ia()):Ea=e}var Ta=N(),La=(N(),N()),Ba=(N(),[]),Da=[],Na=N(),Ha="",Ra=!1,Ua=null,Fa=9===M(),qa=Qe(ti),Wa=/\:|\ |\>/;function Va(e){var t=Wa.exec(e);if(!t)return Ta[e].name;var r=t.index;return Ta[e.substring(0,r)].name+e.substring(r)}function Ka(e,t){var r="";if(e)if(w(e))for(var n=0;n<e.length;n++)0<n&&(r+=","),r+="."+Va(e[n])+"."+t;else r="."+Va(e)+"."+t;else r="."+t;return r}function Xa(e,t,r,n){if(B(r)){var a=Ta[r];if(a===L)throw Error("Unknown style "+r);Xa(e,t,a.style,a.pseudo)}else if(D(r))r(e,t);else if(w(r))for(var i=0;i<r.length;i++)Xa(e,t,r[i],L);else if("object"==typeof r)for(var o in r)if(Object.prototype.hasOwnProperty.call(r,o)){var s=r[o];D(s)&&(s=s(e,o)),e[o]=s}if(null!=n&&null!=t)for(var l in n){var c=t[l];c===L&&(c=N(),t[l]=c),Xa(c,L,n[l],L)}}var Ya=0,Ga="",Za=1,Ja=!1,Qa=!0,ei=!1;function ti(){var e,t=document.body.style;if(ei&&150<=Te&&(t.opacity="1",ei=!1),Ja&&Ya!=Bt().dppx){Ya=Bt().dppx;var r=fi,n=1;if(1<Ya)for(var a=0;a<hi.length&&(a==hi.length-1||hi[a][1]>=Ya);a++)r=hi[a][0],n=hi[a][1];Ga!=r&&(Ga=r,Za=n,Qa=Ra=!0)}if(Ra){if(1===Le&&"webkitAnimation"in t&&(ei=!0,t.opacity="0",setTimeout(dt,200)),Ja){var i=Na[Ga];if(i===L&&(i=null,Na[Ga]=i,ui(Ga,function(e){Na[Ga]=e,oi()})),null!=i){for(var o=0;o<Da.length;o++){if(B(v=(_=Da[o]).color)||(v=v()),Qa||v!==_.lastColor){var s=li(i,_.lastColor=v,_.width*Za|0,_.height*Za|0,_.left*Za|0,_.top*Za|0);(h=Ta[_.styleId]).style={backgroundImage:"url("+s+")",width:_.width,height:_.height,backgroundPosition:0,backgroundSize:"100%"}}}if(Qa){var l=i.width/Za,c=i.height/Za;for(var u in La){var f=La[u];if(f.color===L){var h=Ta[f.styleId],d=f.width,p=f.height,g=100*l/d,m=100*c/p;h.style={backgroundImage:"url("+Ga+")",width:d,height:p,backgroundPosition:100*f.left/(l-d)+"% "+100*f.top/(c-p)+"%",backgroundSize:g+"% "+m+"%"}}}}Qa=!1}}for(var b=0;b<Ba.length;b++){var v,_=Ba[b],w=Na[_.url];if(null!=w)if((v=_.color())!==_.lastColor){_.lastColor=v,null==_.width&&(_.width=w.width),null==_.height&&(_.height=w.height);s=li(w,v,_.width,_.height,_.left,_.top);(h=Ta[_.styleId]).style={backgroundImage:"url("+s+")",width:_.width,height:_.height,backgroundPosition:0}}}var y=Ha;for(var k in Ta){var x=Ta[k],P=x.parent,j=x.name,z=x.pseudo,C=x.style;if(D(C)&&0===C.length&&(C=(e=C())[0],z=e[1]),B(C)&&null==z)x.realName=C;else{x.realName=j;var S=N(),M=N();Xa(L,M,L,z),Xa(S,M,C,L);var E=null;S.pointerEvents&&((E=N()).pointerEvents=S.pointerEvents),Fa&&S.userSelect&&(null==E&&(E=N()),E.userSelect=S.userSelect,delete S.userSelect),x.inlStyle=E,H(S);var $=ii(S);for(var A in 0<$.length&&(y+=(null==j?P:Ka(P,j))+" {"+$+"}\n"),M){var I=M[A];H(I),y+=(null==j?P+":"+A:Ka(P,j+":"+A))+" {"+ii(I)+"}\n"}}}var O=document.createElement("style");O.type="text/css",O.styleSheet?O.styleSheet.cssText=y:O.appendChild(document.createTextNode(y));var T=document.head||document.getElementsByTagName("head")[0];null!=Ua?T.replaceChild(O,Ua):T.appendChild(O),Ua=O,Ra=!1}qa()}var ri=/([A-Z])/g,ni=/^ms-/;function ai(e){return"cssFloat"===e?"float":e.replace(ri,"-$1").toLowerCase().replace(ni,"-ms-")}function ii(e){var t="";for(var r in e){var n=e[r];n!==L&&(t+=ai(r)+":"+(""===n?'""':n)+";")}return t=t.slice(0,-1)}function oi(){Ra=!0,dt()}var si=/\s*rgba\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d+|\d*\.\d+)\s*\)\s*/;function li(e,t,r,n,a,i){var o=document.createElement("canvas");o.width=r,o.height=n;var s=o.getContext("2d");s.drawImage(e,-a,-i);var l,c,u,f,h=s.getImageData(0,0,r,n),d=h.data,p=si.exec(t);if(p?(l=parseInt(p[1],10),c=parseInt(p[2],10),u=parseInt(p[3],10),f=Math.round(255*parseFloat(p[4]))):(l=parseInt(t.substr(1,2),16),c=parseInt(t.substr(3,2),16),u=parseInt(t.substr(5,2),16),f=parseInt(t.substr(7,2),16)||255),255===f)for(var g=0;g<d.length;g+=4){(m=d[g])===d[g+1]&&m===d[g+2]&&(128===m||d[g+3]<255&&112<m)&&(d[g]=l,d[g+1]=c,d[g+2]=u)}else for(g=0;g<d.length;g+=4){var m=d[g],b=d[g+3];m===d[g+1]&&m===d[g+2]&&(128===m||b<255&&112<m)&&(255===b?(d[g]=l,d[g+1]=c,d[g+2]=u,d[g+3]=f):(b*=1/255,d[g]=Math.round(l*b),d[g+1]=Math.round(c*b),d[g+2]=Math.round(u*b),d[g+3]=Math.round(f*b)))}return s.putImageData(h,0,0),o.toDataURL()}var ci=!1;function ui(e,t){var r=new Image;r.crossOrigin=ci?"use-credentials":"anonymous",r.addEventListener("load",function(){return t(r)}),r.src=e}var fi=window.bobrilBPath||"bundle.png",hi=window.bobrilBPath2||[];function di(e){Ha+=e,oi()}function pi(e){return e}function gi(r){return function(e,t){return t!==L&&(null==e&&(e={}),e.children=t),{data:e,component:r}}}function mi(n){var a=n.render;return n.render=a?function(e,t,r){return t.tag="div",a.call(n,e,t,r)}:function(e,t){t.tag="div"},gi(n)}window.b||(window.b={deref:le,getRoots:bt,setInvalidate:ht,invalidateStyles:oi,ignoreShouldChange:ft,setAfterFrame:tt,setBeforeFrame:Qe,getDnds:Vn,setBeforeInit:xt});var bi=mi({render:function(e,t){t.tag="h2",t.children=[e.data.text],t.style={fontSize:e.data.fontSize?e.data.fontSize:"1.8em",marginTop:"0.5rem",marginBottom:"0.5rem",color:"#5a2591"}}}),vi=mi({render:function(e,t){t.tag="div",t.children=[{tag:"div",children:[bi({text:"Zabal si s sebou:",fontSize:"1.1rem"})],style:{textAlign:"center",marginLeft:"25%",marginRight:"25%"}},e.data.items.map(function(e){return e})],t.style={backgroundImage:"url("+pi("a.svg")+")",backgroundSize:"contain",backgroundRepeat:"no-repeat",width:"45%",padding:"1rem",marginTop:"1rem"}}}),_i=mi({render:function(e,t){t.tag="div",t.children=[{tag:"div",children:[e.data.rightPart.map(function(e){return{tag:"div",children:[e],style:{paddingLeft:"1rem",paddingRight:"2.5rem",height:"100%",position:"relative"}}})],style:{width:"40%",margin:"1rem"}},vi({headerText:"zabal si s sebou:",items:e.data.lefPart})],t.style={display:"flex",boxShadow:"1px 1px 10px",height:650<window.innerWidth?"452px":.70625*window.innerWidth+"px",width:640<window.innerWidth?"640px":window.innerWidth-10+"px",padding:"1rem",backgroundColor:""},t.attrs={id:"card"}}}),wi=mi({render:function(e,t){t.tag="div",t.children=[e.data.things.filter(function(e){return e.selected}).map(function(e,t){return{tag:"div",children:["☐",{tag:"div",children:[e.name],style:{paddingLeft:"0.5rem"}}],style:{maxWidth:"50%",display:"flex",color:"#9a158f"}}})],t.style={fontSize:"1rem",display:"flex",flexDirection:"column",flexWrap:"wrap",maxHeight:"68%",justifyContent:"space-between",marginBottom:"1.25rem",marginLeft:"1rem",marginRight:"1rem"}}}),yi=new e.a.Converter,ki=mi({render:function(e,t){t.tag="div",t.attrs={innerHTML:yi.makeHtml(e.data.text)},t.children=[],t.style={width:"100%",height:"100%",fontSize:e.data.fontSize?e.data.fontSize:"1em",color:"#9a158f"}}}),xi=mi({render:function(e,t){t.tag="div",t.children=[e.data.text],t.style={fontSize:e.data.fontSize?e.data.fontSize:"1em",paddingTop:"1rem",color:"#9a158f",fontStyle:"italic"}}}),Pi=mi({render:function(e,t){t.tag="div",t.attrs={id:"editing"},t.children=[e.data.leftPart.map(function(e){return e}),{tag:"div",children:e.data.rigthPart.map(function(e){return e}),style:{width:"100%"}}],t.style={display:"flex",margin:"1rem",width:"45rem"}}});function ji(e,t){return e===t||e!=e&&t!=t}function zi(e,t,r){Object.defineProperty(e,t,{enumerable:!1,writable:!0,configurable:!0,value:r})}function Ci(e,t,r){Object.defineProperty(e,t,{enumerable:!1,writable:!1,configurable:!0,value:r})}function Si(e,t){for(var r=0;r<t.length;r++)zi(e,t[r],e[t[r]])}var Mi=0;function Ei(){return++Mi}function $i(e){return e.$bobx===io}var Ai=function(){function e(e,t){this.atomId=Ei(),this.ctxs=L,this.value=t(e,L),this.enhancer=t,this.$bobx=null,this._prop=L}return e.prototype.get=function(){return this.markUsage(),this.value},e.prototype.set=function(e){var t=this.enhancer(e,this.value);ji(t,this.value)||(this.invalidate(),this.value=t)},e.prototype.prop=function(){var t=this,e=this._prop;return e===L&&(e=function(e){return e===L?t.get():(t.set(e),t.value)},this._prop=e),e},e.prototype.markUsage=function(){var e=Z();if(e!==L)if($i(e)){if(e.markUsing(this.atomId,this)){var t=this.ctxs;t===L&&(t=new Map,this.ctxs=t),t.set(e.atomId,e)}}else{var r=e.$bobxCtx;if(r===L&&((r=new Map).ctxId=Ei(),e.$bobxCtx=r),r.has(this.atomId))return;r.set(this.atomId,this),this.ctxs===L&&(this.ctxs=new Map),this.ctxs.set(r.ctxId,e)}},e.prototype.invalidate=function(){var e=this.ctxs;e!==L&&(e.forEach(function(e){$i(e)?e.invalidateBy(this.atomId):(e.$bobxCtx.delete(this.atomId),dt(e))},this),e.clear())},e.prototype.toJSON=function(){return this.get()},e}(),Ii=Je(function(e,t){var r=Z();if(3===t||1===t||2===t){!1;var n=r.$bobxCtx;n!==L&&(n.forEach(function(e){$i(e)?e.unmarkCtx(this.ctxId):e.ctxs.delete(this.ctxId)},n),3===t?r.$bobxCtx=L:n.clear())}Ii(e,t)});function Oi(e,t){return e}function Ti(e){return null!=e&&e.$bobx!==L}function Li(e){return null!==e&&"object"==typeof e}function Bi(e){return e instanceof Map}function Di(e){if(null===e||"object"!=typeof e)return!1;var t=Object.getPrototypeOf(e);return t===Object.prototype||null===t}function Ni(e){var t=e.$bobx;return t!==L||Ci(e,"$bobx",t=Object.create(null)),t}function Hi(e){var t=e.$bobx;return t!==vo?t:(t={},e.$bobx=t)}function Ri(r,n){if(r===n)return!0;if("object"!=typeof r||"object"!=typeof n)return r!=r&&n!=n;if(no(r)){if(!no(n))return!1;var e=r.length;if(e!=n.length)return!1;for(var t=r.$bobx||r,a=n.$bobx||n,i=0;i<e;i++)if(!Ri(t[i],a[i]))return!1;return!0}if(oo(r)){if(oo(n)){if(r.size!=n.size)return!1;var o=!0;return r.forEach(function(e,t){o&&(n.has(t)&&Ri(e,n.get(t))||(o=!1))}),o}var s=n;Ti(n)&&(s=n.$bobx);var l=0;for(var c in s)l++;if(r.size!=l)return!1;var u=!0;return r.forEach(function(e,t){u&&(t in s&&Ri(e,n[t])||(u=!1))}),u}if(oo(n)){var f=r;Ti(r)&&(f=r.$bobx);var h=0;for(var c in f)h++;if(n.size!=h)return!1;var d=!0;return n.forEach(function(e,t){d&&(t in f&&Ri(e,r[t])||(d=!1))}),d}var p=r,g=n;Ti(r)&&(p=r.$bobx),Ti(n)&&(g=n.$bobx);var m=0;for(var c in g)m++;var b=0;for(var v in p){if(b++,!(v in g))return!1;if(!Ri(r[v],n[v]))return!1}return b==m}var Ui=Object.create(null);function Fi(t){var e=Ui[t];return e||(Ui[t]={configurable:!0,enumerable:!0,get:function(){return this.$bobx[t].get()},set:function(e){this.$bobx[t].set(e)}})}function qi(e,t,r,n,a){t[r]=new Ai(n,a),Object.defineProperty(e,r,Fi(r))}var Wi,Vi,Ki=(Wi=!1,Object.defineProperty(Vi={},"0",{set:function(){Wi=!0}}),!(Object.create(Vi)[0]=1)===Wi),Xi=0,Yi=function(){function e(){}return e}();Yi.prototype=[];var Gi=function(n){function e(e,t){var r=n.call(this)||this;return r.$enhancer=t,r.$atom=new Ai(null,Oi),e&&e.length?(to(e.length),r.$bobx=e.map(function(e){return t(e,L)})):r.$bobx=[],Ki&&Object.defineProperty(r,"0",Zi),r}return t(e,n),e.prototype.splice=function(e,t,r){var n,a=this.$bobx.length;e===L?e=0:a<e?e=a:e<0&&(e=Math.max(0,a+e)),t=1===arguments.length?a-e:null==t?0:Math.max(0,Math.min(t,a-e)),r===L&&(r=[]),(0<r.length||0<t)&&this.$atom.invalidate(),to(a+r.length-t);for(var i=0;i<r.length;i++)r[i]=this.$enhancer(r[i],L);return(n=this.$bobx).splice.apply(n,[e,t].concat(r))},e.prototype.setArrayLength=function(e){var t=this.$bobx.length;e!==t&&(t<e?this.splice(t,0,Array(e-t)):this.splice(e,t-e))},e.prototype.clear=function(){return this.splice(0)},e.prototype.concat=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return this.$atom.markUsage(),Array.prototype.concat.apply(this.$bobx,e.map(function(e){return ro(e)?e.$bobx:e}))},e.prototype.replace=function(e){return this.$atom.invalidate(),this.splice(0,this.$bobx.length,e)},e.prototype.toJS=function(){return this.slice()},e.prototype.toJSON=function(){return this.$bobx},e.prototype.find=function(e,t,r){void 0===r&&(r=0),this.$atom.markUsage();for(var n=this.$bobx,a=n.length,i=r;i<a;i++)if(e.call(t,n[i],i,this))return n[i];return L},e.prototype.push=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=this.$bobx;if(0==e.length)return r.length;for(var n=0;n<e.length;n++)e[n]=this.$enhancer(e[n],L);return r.push.apply(r,e),this.$atom.invalidate(),to(r.length),r.length},e.prototype.pop=function(){return this.splice(Math.max(this.$bobx.length-1,0),1)[0]},e.prototype.shift=function(){return this.splice(0,1)[0]},e.prototype.unshift=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return this.splice(0,0,e),this.$bobx.length},e.prototype.reverse=function(){this.$atom.invalidate();var e=this.$bobx;return e.reverse.apply(e,arguments),this},e.prototype.sort=function(e){this.$atom.invalidate();var t=this.$bobx;return t.sort.apply(t,arguments),this},e.prototype.remove=function(e){var t=this.$bobx.indexOf(e);return-1<t&&(this.splice(t,1),!0)},e.prototype.checkIndex=function(e){if(e<0)throw Error("Array index out of bounds: "+e+" is negative");var t=this.$bobx.length;if(t<=e)throw Error("Array index out of bounds: "+e+" is not smaller than "+t)},e.prototype.move=function(e,t){if(this.checkIndex(e),this.checkIndex(t),e!==t){var r,n=this.$bobx;r=e<t?n.slice(0,e).concat(n.slice(e+1,t+1),[n[e]],n.slice(t+1)):n.slice(0,t).concat([n[e]],n.slice(t,e),n.slice(e+1)),this.replace(r)}},e.prototype.toString=function(){return this.$atom.markUsage(),Array.prototype.toString.apply(this.$bobx,arguments)},e}(Yi);Si(Gi.prototype,["constructor","intercept","observe","clear","concat","replace","toJS","toJSON","peek","find","splice","push","pop","shift","unshift","reverse","sort","remove","move","toString","toLocaleString","setArrayLength","checkIndex","$atom","$bobx","$enhancer"]),Object.defineProperty(Gi.prototype,"length",{enumerable:!1,configurable:!0,get:function(){return this.$atom.markUsage(),this.$bobx.length},set:function(e){this.setArrayLength(e)}}),["every","filter","forEach","indexOf","join","lastIndexOf","map","reduce","reduceRight","slice","some"].forEach(function(e){var t=Array.prototype[e];zi(Gi.prototype,e,function(){return this.$atom.markUsage(),t.apply(this.$bobx,arguments)})});var Zi={configurable:!0,enumerable:!1,set:Qi(0),get:eo(0)};function Ji(e){var t=Qi(e),r=eo(e);Object.defineProperty(Gi.prototype,""+e,{enumerable:!1,configurable:!0,set:t,get:r})}function Qi(n){return function(e){var t=this.$bobx;if(n<t.length){var r=t[n];(e=this.$enhancer(e,r))!==r&&(this.$atom.invalidate(),t[n]=e)}else{if(n!==t.length)throw Error("Array index out of bounds, "+n+" is larger than "+t.length);this.push(e)}}}function eo(t){return function(){var e=this.$bobx;return this.$atom.markUsage(),t<e.length?e[t]:L}}function to(e){if(!(++e<=Xi)){e=Math.max(Math.ceil(1.5*Xi),e);for(var t=Xi;t<e;t++)Ji(t);Xi=e}}function ro(e){return Li(e)&&w(e.$bobx)}function no(e){return w(e)||ro(e)}to(100),i(no);var ao=0,io=1;function oo(e){return Li(e)&&e.$bobx===ao}var so=function(){function e(e,t){var n=this;if(this.$enhancer=t,this.$atom=new Ai(null,Oi),this.$content=new Map,this._size=0,Array.isArray(e))e.forEach(function(e){var t=e[0],r=e[1];return n.set(t,r)});else if(oo(e)||Bi(e))e.forEach(function(e,t){this.set(t,e)},this);else if(Di(e))for(var r=Object.keys(e),a=0;a<r.length;a++){var i=r[a];this.set(i,e[i])}else if(null!=e)throw Error("Cannot initialize map from "+e)}return Object.defineProperty(e.prototype,"size",{get:function(){return this.$atom.markUsage(),this._size},enumerable:!0,configurable:!0}),e.prototype.has=function(e){var t=this.$content.get(e);return t!==L?(t.markUsage(),!0):(this.$atom.markUsage(),!1)},e.prototype.get=function(e){var t=this.$content.get(e);return t!==L?t.get():(this.$atom.markUsage(),L)},e.prototype.set=function(e,t){var r=this.$content.get(e);return r!==L?r.set(t):(this.$atom.invalidate(),this.$content.set(e,new Ai(t,this.$enhancer)),this._size++),this},e.prototype.prop=function(t){var r=this,e=this.$content.get(t);return e!==L?(e.markUsage(),e.prop()):(this.$atom.markUsage(),function(e){return e===L||r.set(t,e),r.get(t)})},e.prototype.clear=function(){0!=this._size&&(this.$content.forEach(function(e){return e.invalidate()}),this.$atom.invalidate(),this._size=0,this.$content.clear())},e.prototype.delete=function(e){this.$atom.invalidate();var t=this.$content.get(e);return t!==L&&(t.invalidate(),this.$content.delete(e),this._size--,!0)},e.prototype.forEach=function(r,n){this.$atom.markUsage(),this.$content.forEach(function(e,t){r.call(n,e.get(),t,this)},this)},e.prototype.toJSON=function(){var e=Object.create(null);return this.$content.forEach(function(e,t){this[t]=e.get()},e),e},e}();function lo(e,t){if(e===t)return t;if(null==e)return e;if(Ti(e))return e;if(w(e))return new Gi(e,lo);if(Bi(e))return new so(e,lo);if(Di(e)){var r=Object.create(Object.getPrototypeOf(e)),n=Ni(r);for(var a in e)qi(r,n,a,e[a],lo);return r}return e}function co(e,t){if(e===t)return t;if(null==e)return e;if(Ti(e))return e;if(w(e))return new Gi(e,Oi);if(Bi(e))return new so(e,Oi);if(Di(e)){var r=Object.create(Object.getPrototypeOf(e)),n=Ni(r);for(var a in e)qi(r,n,a,e[a],Oi);return r}throw Error("shallow observable cannot be used for primitive values")}function uo(e,t){if(Ri(e,t))return t;if(null==e)return e;if(Ti(e))return e;if(w(e))return new Gi(e,uo);if(Bi(e))return new so(e,uo);if(Di(e)){var r=Object.create(Object.getPrototypeOf(e)),n=Ni(r);for(var a in e)qi(r,n,a,e[a],uo);return r}return e}function fo(e,t){return Ri(e,t)?t:e}Ci(so.prototype,"$bobx",ao);var ho=yo(lo),po=yo(co),go=yo(Oi),mo=yo(uo),bo=yo(fo),vo={},_o="$atomId";function wo(e){Object.getOwnPropertyDescriptor(e.constructor,_o)===L&&Object.defineProperty(e.constructor,_o,{enumerable:!1,writable:!1,configurable:!1,value:Ei()}),"$bobx"in e||(Object.defineProperty(e,"$bobx",{enumerable:!1,writable:!0,configurable:!0,value:vo}),"toJSON"in e||(e.toJSON=function(){return this.$bobx}))}function yo(a){return function(e,n,t){return wo(e),{configurable:!0,enumerable:!1,get:function(){var e=this.$bobx[n];if(e===L){var t=Hi(this);e=new Ai(L,a),t[n]=e}return e.get()},set:function(e){var t=this.$bobx[n];if(t===L){var r=Hi(this);t=new Ai(e,a),r[n]=t}else t.set(e)}}}}function ko(e){if(void 0===e&&(e=L),"string"==typeof arguments[1])return ho.apply(null,arguments);if(Ti(e))return e;var t=lo(e,L);return t!==e?t:new Ai(e,lo)}ko.map=function(e){return new so(e,lo)},ko.shallowMap=function(e){return new so(e,Oi)},ko.deep=ho,ko.ref=go,ko.shallow=po,ko.struct=mo,ko.deep.struct=mo,ko.ref.struct=bo;var xo=L;gt(function(e){return xo=e.n,L});var Po=new Set,jo=[],zo=100,Co=et(function(){je(),Wo=!1,L,Mo();for(var e=0;e++<zo;){var t=jo;if(0==t.length)break;jo=[];for(var r=0;r<t.length;r++)t[r].updateIfNeeded()}if(zo<=e)throw Error("Computed values did not stabilize after "+zo+" iterations");Co()}),So=function(){function e(e){this.cause=e}return e}();function Mo(){0<Po.size&&(Po.forEach(function(e){e.buryIfDead()}),Po.clear())}function Eo(e){return e instanceof So}var $o=function(){function e(e,t,r){this.atomId=Ei(),this.fn=e,this.that=t,this.ctxs=L,this.value=L,this.state=0,this.comparator=r,this.using=L,this.usedBy=L,this.partialResults=!1}return e.prototype.markUsing=function(e,t){var r=this.using;return r===L?((r=new Map).set(e,t),this.using=r,!0):!r.has(e)&&(r.set(e,t),!0)},e.prototype.invalidateBy=function(e){var t=this.using;if(t!==L&&t.delete(e)){var r=this.state;if(4!==r){if(2===r)throw Error("Modifying inputs during updating computed");if(3===r){this.state=1;var n=this.usedBy;n!==L&&(n.forEach(function(e){e.invalidateBy(this.atomId)},this),n.clear()),this.ctxs!==L?(jo.push(this),dt(xo)):Po.add(this)}}this.freeUsings()}},e.prototype.freeUsings=function(){var t=this,e=this.using;e!==L&&(this.using=L,e.forEach(function(e){$i(e)?e.unmarkUsedBy(t.atomId):e.ctxs.delete(t.atomId)}))},e.prototype.free=function(){var t=this,e=this.using;e!==L&&(this.using=L,e.forEach(function(e){$i(e)?(e.unmarkUsedBy(t.atomId),e.buryIfDead()):e.ctxs.delete(t.atomId)}))},e.prototype.buryIfDead=function(){this.usedBy!==L&&0<this.usedBy.size||this.ctxs!==L&&0<this.ctxs.size||(Po.delete(this),this.state=0,this.free())},e.prototype.unmarkUsedBy=function(e){this.usedBy.delete(e),0!==this.usedBy.size||this.ctxs!==L&&0!==this.ctxs.size||Po.add(this)},e.prototype.unmarkCtx=function(e){this.ctxs.delete(e),0!==this.ctxs.size||this.usedBy!==L&&0!==this.usedBy.size||Po.add(this)},e.prototype.markUsage=function(){var e=Z();if(e!==L)if($i(e)){if(e.markUsing(this.atomId,this)){var t=this.usedBy;t===L&&(t=new Map,this.usedBy=t),t.set(e.atomId,e)}}else{var r=e.$bobxCtx;if(r===L&&((r=new Map).ctxId=Ei(),e.$bobxCtx=r),r.has(this.atomId))return;r.set(this.atomId,this),this.ctxs===L&&(this.ctxs=new Map),this.ctxs.set(r.ctxId,e)}},e.prototype.invalidate=function(){var e=this.ctxs;e!==L&&(e.forEach(function(e){e.$bobxCtx.delete(this.atomId),dt(e)},this),e.clear())},e.prototype.updateIfNeeded=function(){1===this.state&&this.update()},e.prototype.call=function(){try{return this.fn.call(this.that)}catch(e){return new So(e)}},e.prototype.update=function(){if(Wo&&this.partialResults)Vo();else{var e=Z();if(J(this),this.partialResults=!1,0===this.state)this.state=2,this.value=this.call();else{this.state=2;var t=this.call();this.comparator(this.value,t)||(this.value=t,this.invalidate())}this.partialResults=Wo,this.state=3,J(e),this.partialResults&&(this.state=1,Vo())}},e.prototype.run=function(){if(2===this.state)throw Error("Recursively calling computed value");this.markUsage(),3!==this.state&&(this.update(),Z()===L&&this.buryIfDead());var e=this.value;if(Eo(e))throw e.cause;return e},e}();function Ao(e){for(var t=0,r=e.length,n=0;n<r;)t=(t<<5)-t+e.charCodeAt(n++)|0;return t}Ci($o.prototype,"$bobx",io);var Io=new WeakMap;function Oo(e){var t=Io.get(e);return t!==L||(t=0|Ei(),Io.set(e,t)),t}function To(e){return e==L?1:!1===e?2:!0===e?3:P(e)?0|e:B(e)?Ao(e):Oo(e)}var Lo={getHashCode:function(e){for(var t=0,r=e.length,n=0;n<r;)t=(t<<5)-t+To(e[n++])|0;return t},isEqual:function(e,t){var r=e.length;if(r!==t.length)return!1;for(var n=0;n<r;n++)if(!ji(e[n],t[n]))return!1;return!0},comparator:ji};function Bo(i){return function(e,r,t){if(wo(e),r=r+"\t"+e.constructor[_o],t.get!=L){var n=t.get;return{configurable:!0,enumerable:!1,get:function(){var e=this.$bobx[r];if(e===L){var t=Hi(this);e=new $o(n,this,i),t[r]=e}return e.run()},set:t.set}}var a=t.value;return Do(a),0<a.length?Uo(r,a,{comparator:i}):{configurable:!0,enumerable:!1,value:function(){var e=this.$bobx[r];if(e===L){var t=Hi(this);e=new $o(a,this,i),t[r]=e}return e.run()}}}}function Do(e){if(!D(e))throw Error("Computed could be only function")}function No(a){return function(e,t,r){if(wo(e),t=t+"\t"+e.constructor[_o],r.get!=L)throw Error("Customized Computed could not be property");var n=r.value;return Do(n),Uo(t,n,a)}}var Ho=Bo(ji);Ho.struct=Bo(Ri),Ho.equals=Bo,Ho.customized=No;var Ro=Array.prototype.slice;function Uo(r,n,a){return{configurable:!0,enumerable:!1,value:function(){var e=this.$bobx[r];if(e===L){var t=Hi(this);e=new qo(n,this,a),t[r]=e}return e.run(Ro.call(arguments))}}}var Fo=function(s){function e(e,t,r,n,a,i){var o=s.call(this,e,t,r)||this;return o.owner=n,o.hashCode=a,o.params=i,o}return t(e,s),e.prototype.call=function(){try{return this.fn.apply(this.that,this.params)}catch(e){return new So(e)}},e.prototype.free=function(){s.prototype.free.call(this),this.owner.free(this)},e}($o),qo=function(){function e(e,t,r){this.fn=e,this.that=t,this.map=new Map,this.getHashCode=r.getHashCode||Lo.getHashCode,this.isEqual=r.isEqual||Lo.isEqual,this.onFree=r.onFree,this.comparator=r.comparator||Lo.comparator}return e.prototype.run=function(e){var t=this.getHashCode(e),r=this.map.get(t),n=L;if(r===L)r=[n=new Fo(this.fn,this.that,this.comparator,this,t,e)],this.map.set(t,r);else{for(var a=r.length,i=0;i<a;i++)if(this.isEqual(e,r[i].params)){n=r[i];break}n===L&&(n=new Fo(this.fn,this.that,this.comparator,this,t,e),r.push(n))}return n.run()},e.prototype.free=function(e){var t=e.hashCode,r=this.map.get(t);if(1==r.length)this.map.delete(t);else{var n=r.indexOf(e);r.splice(n,1)}if(this.onFree!==L){var a=e.value;Eo(a)&&(a=L),this.onFree(a,e.params)}},e}();je();var Wo=!1;function Vo(){var e=Z();e!==L&&($i(e)?e.partialResults=!0:dt(e)),!0}var Ko=function(){function e(){this.header="Pozvánka na vánoční výpravu",this.content="Ahoj! Vánoce už jsou za dveřmi a my bychom Vás chtěli pozvat navánoční výpravu, která se bude konat **16. 12. - 18. 12.** v klubovně. Sejdeme se **! Na nádraží !** v pátek 16. 12. v 18:15 (v 18:40 odjíždí vlak). Je třeba dopravit děti až na nádraží. Vrátíme se v neděli kolem **13:48**",this.footer="Těší se na tebe vedoucí",this.things=[{id:1,name:"přezuvky",selected:!0},{id:2,name:"spacák",selected:!1},{id:3,name:"ešus",selected:!1},{id:4,name:"karimatku",selected:!1},{id:5,name:"věci na schůzku",selected:!1},{id:6,name:"zápisník a tužku",selected:!1},{id:7,name:"kroj",selected:!1},{id:8,name:"hygienu",selected:!1},{id:9,name:"baterku",selected:!1},{id:10,name:"večeři",selected:!1},{id:11,name:"šátek",selected:!1}],this.nameOfNewItem=""}return e.prototype.addThing=function(e){this.things=this.things.concat([{id:this.things[this.things.length-1].id+1,name:e,selected:!0}])},e.prototype.toggleThing=function(t){this.things=this.things.map(function(e){return e.id===t&&(e.selected=!e.selected),e})},r([ko],e.prototype,"header",void 0),r([ko],e.prototype,"content",void 0),r([ko],e.prototype,"footer",void 0),r([ko],e.prototype,"things",void 0),r([ko],e.prototype,"nameOfNewItem",void 0),e}(),Xo=new Ko,Yo=mi({render:function(e,t){t.tag="div",t.children=[{tag:"input",attrs:{type:"checkbox",value:e.data.item.selected}},{tag:"div",children:[e.data.item.name]}],t.style={display:"flex"}},onClick:function(e){return Xo.toggleThing(e.data.item.id),!0}}),Go=mi({render:function(e,t){t.tag="Button",t.children=[e.data.text]},onClick:function(e){return e.data.onclick(),!0}}),Zo=mi({render:function(e,t){t.tag="textarea",t.attrs={value:e.data.text,rows:e.data.text.length/30,cols:58},t.style={display:"block",width:"100%"}},onChange:function(e,t){e.data.onchange(t)}}),Jo=mi({render:function(e,t){t.tag="div",t.children=[Go({text:"+",onclick:function(){return Xo.addThing(Xo.nameOfNewItem)}}),Zo({text:"",onchange:function(e){return Xo.nameOfNewItem=e}})],t.style={paddingTop:"0.3em",display:"flex"}}}),Qo=mi({render:function(e,t){t.tag="h1",t.children=[e.data.things.map(function(e){return Yo({item:e})}),Jo()],t.style={marginRight:"1.5rem"}}}),es=mi({render:function(e,t){t.children=[e.data.component]},onClick:function(e,t){return Oa(Sa(e.data.to)),!0}}),ts=mi({render:function(e,t){t.tag="div",t.children=[bi({text:"Generátor pozvánek"}),es({component:{tag:"h1",style:{paddingRight:"0.5rem"}},to:"/info"})],t.style={display:"flex",justifyContent:"space-between",marginBottom:"2rem",paddingLeft:"0.3rem",boxShadow:"0px 2px 5px 0px rgba(0,0,0,0.75)"},t.attrs={id:"header"}}}),rs=mi({render:function(e,t){t.children=[ts(),{tag:"div",style:{display:"flex",flexWrap:"wrap-reverse",alignItems:"flex-end",paddingLeft:"1em",paddingRight:"1em"},children:[_i({lefPart:[wi({things:Xo.things})],rightPart:[{tag:"div",children:[bi({text:Xo.header,fontSize:650<window.innerWidth?"1.1em":window.innerWidth*(1.1/655)+"em"}),ki({text:Xo.content,fontSize:650<window.innerWidth?"0.7em":window.innerWidth*(.7/655)+"em"}),xi({text:Xo.footer,fontSize:650<window.innerWidth?"1em":window.innerWidth*(1/655)+"em"}),{tag:"img",attrs:{src:pi("a.jpg")},style:{height:"80px",position:"absolute",left:"0",bottom:"15px"}}]}]}),{tag:"div",children:[_i({lefPart:[wi({things:Xo.things})],rightPart:[{tag:"div",children:[bi({text:Xo.header,fontSize:650<window.innerWidth?"1.1em":window.innerWidth*(1.1/655)+"em"}),ki({text:Xo.content,fontSize:650<window.innerWidth?"0.7em":window.innerWidth*(.7/655)+"em"}),xi({text:Xo.footer,fontSize:650<window.innerWidth?"1em":window.innerWidth*(1/655)+"em"}),{tag:"img",attrs:{src:pi("a.jpg")},style:{height:"80px",position:"absolute",left:"0",bottom:"15px"}}]}]})],attrs:{id:"onlyForPring"},style:{display:"none"}},Pi({leftPart:[Qo({things:Xo.things})],rigthPart:[bi({text:"Nadpis"}),Zo({onchange:function(e){return Xo.header=e},text:Xo.header}),bi({text:"Obsah"}),Zo({onchange:function(e){return Xo.content=e},text:Xo.content}),bi({text:"Patička"}),Zo({onchange:function(e){return Xo.footer=e},text:Xo.footer})]})],attrs:{id:"print-container"}}]}}),ns=mi({render:function(e,t){t.tag="div",t.children=["Ahoj, \n            vítej na generátoru pozvánek. Můžeš si tu jednoduše vytvořit pozvánku na výpravu v oficiálním skautském stylu. \n            Pozvánku můžeš editovat na pravé straně obrazovky. Obsah podporuje markdown syntaxi, pokud nevíš co to je podívej se sem https://www.markdownguide.org/basic-syntax/.\n            Ve chvíli kdy máš pozvánku hotovou stačí zmáčknout ctrl + p (nebo tisk) a můžeš pozvánku buď rovnou vytisknout, nebo stáhnout jako pdf. \n            . Pokud máš nějaké další dotazy neváhej mi napsat na j.rejman@protonmail.com\n            Koumal"]}});di(pi("/home/rejmank/Documents/generatorPozvanek/src/assets/typography.css")),ja(za({handler:rs},[za({url:"/info",name:"/info",handler:ns})]))}();