diff --git a/docs/CNAME b/docs/CNAME
deleted file mode 100644
index 52bb0e8..0000000
--- a/docs/CNAME
+++ /dev/null
@@ -1 +0,0 @@
-uni.steffo.eu
\ No newline at end of file
diff --git a/docs/bundle.03999.js b/docs/bundle.03999.js
deleted file mode 100644
index 8731e40..0000000
--- a/docs/bundle.03999.js
+++ /dev/null
@@ -1,2 +0,0 @@
-!function(e){function t(a){if(n[a])return n[a].exports;var r=n[a]={i:a,l:!1,exports:{}};return e[a].call(r.exports,r,r.exports,t),r.l=!0,r.exports}var n={};t.m=e,t.c=n,t.d=function(e,n,a){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:a})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="/",t(t.s="pwNi")}({"+uq9":function(e){e.exports={latex:"latex__34DCT"}},"0lnO":function(){},"1EpE":function(e){e.exports={split:"split__2Bl8C",splitparent:"splitparent__nqY7W",splitchild:"splitchild__3Ip86"}},"36Ou":function(){},"5m9J":function(){},"6adR":function(e,t,n){var a;(function(){function r(e){"use strict";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
(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:
[^\r]+?<\/pre>)/gm,function(e,t){var n=t;return n=n.replace(/^ /gm,"¨0"),n=n.replace(/¨0/g,"")}),l.subParser("hashBlock")("","gim"),e=n.converter._dispatch("hashPreCodeTags.after",e,t,n)}),l.subParser("headers",function(e,t,n){"use strict";function a(e){var a,r;if(t.customizedHeaderId){var i=e.match(/\{([^{]+?)}\s*$/);i&&i[1]&&(e=i[1])}return a=e,r=l.helper.isString(t.prefixHeaderId)?t.prefixHeaderId:!0===t.prefixHeaderId?"section-":"",t.rawPrefixHeaderId||(a=r+a),a=t.ghCompatibleHeaderId?a.replace(/ /g,"-").replace(/&/g,"").replace(/¨T/g,"").replace(/¨D/g,"").replace(/[&+$,\/:;=?@"#{}|^¨~\[\]`\\*)(%.!'<>]/g,"").toLowerCase():t.rawHeaderId?a.replace(/ /g,"-").replace(/&/g,"&").replace(/¨T/g,"¨").replace(/¨D/g,"$").replace(/["']/g,"-").toLowerCase():a.replace(/[^\w]/g,"").toLowerCase(),t.rawPrefixHeaderId&&(a=r+a),n.hashLinkCounts[a]?a=a+"-"+n.hashLinkCounts[a]++:n.hashLinkCounts[a]=1,a}e=n.converter._dispatch("headers.before",e,t,n);var r=isNaN(parseInt(t.headerLevelStart))?1:parseInt(t.headerLevelStart),i=t.smoothLivePreview?/^(.+)[ \t]*\n={2,}[ \t]*\n+/gm:/^(.+)[ \t]*\n=+[ \t]*\n+/gm,o=t.smoothLivePreview?/^(.+)[ \t]*\n-{2,}[ \t]*\n+/gm:/^(.+)[ \t]*\n-+[ \t]*\n+/gm;return e=e.replace(i,function(e,i){var o=l.subParser("spanGamut")(i,t,n),c=t.noHeaderId?"":' id="'+a(i)+'"',s=r,u="\n"+e+"\n",t,n)}),e=n.converter._dispatch("blockQuotes.after",e,t,n)}),l.subParser("codeBlocks",function(e,t,n){"use strict";return e=n.converter._dispatch("codeBlocks.before",e,t,n),e+="¨0",e=e.replace(/(?:\n\n|^)((?:(?:[ ]{4}|\t).*\n+)+)(\n*[ ]{0,3}[^ \t\n]|(?=¨0))/g,function(e,a,r){var i=a,o=r,c="\n";return i=l.subParser("outdent")(i,t,n),i=l.subParser("encodeCode")(i,t,n),i=l.subParser("detab")(i,t,n),i=i.replace(/^\n+/g,""),i=i.replace(/\n+$/g,""),t.omitExtraWLInCodeBlocks&&(c=""),i="",l.subParser("hashBlock")(i,t,n)+o}),e=e.replace(/¨0/,""),e=n.converter._dispatch("codeBlocks.after",e,t,n)}),l.subParser("codeSpans",function(e,t,n){"use strict";return e=n.converter._dispatch("codeSpans.before",e,t,n),void 0===e&&(e=""),e=e.replace(/(^|[^\\])(`+)([^\r]*?[^`])\2(?!`)/gm,function(e,a,r,i){var o=i;return o=o.replace(/^([ \t]*)/g,""),o=o.replace(/[ \t]*$/g,""),o=l.subParser("encodeCode")(o,t,n),o=a+""+i+c+"
"+o+"
",o=l.subParser("hashHTMLSpans")(o,t,n)}),e=n.converter._dispatch("codeSpans.after",e,t,n)}),l.subParser("completeHTMLDocument",function(e,t,n){"use strict";if(!t.completeHTMLDocument)return e;e=n.converter._dispatch("completeHTMLDocument.before",e,t,n);var a="html",r="\n",i="",o='\n',l="",c="";void 0!==n.metadata.parsed.doctype&&(r="\n","html"!==(a=n.metadata.parsed.doctype.toString().toLowerCase())&&"html5"!==a||(o=''));for(var s in n.metadata.parsed)if(n.metadata.parsed.hasOwnProperty(s))switch(s.toLowerCase()){case"doctype":break;case"title":i=""+n.metadata.parsed.title+" \n";break;case"charset":o="html"===a||"html5"===a?'\n':'\n';break;case"language":case"lang":l=' lang="'+n.metadata.parsed[s]+'"',c+='\n';break;default:c+='\n'}return e=r+"\n\n"+i+o+c+"\n\n"+e.trim()+"\n\n",e=n.converter._dispatch("completeHTMLDocument.after",e,t,n)}),l.subParser("detab",function(e,t,n){"use strict";return e=n.converter._dispatch("detab.before",e,t,n),e=e.replace(/\t(?=\t)/g," "),e=e.replace(/\t/g,"¨A¨B"),e=e.replace(/¨B(.+?)¨A/g,function(e,t){for(var n=t,a=4-n.length%4,r=0;r/g,">"),e=n.converter._dispatch("encodeAmpsAndAngles.after",e,t,n)}),l.subParser("encodeBackslashEscapes",function(e,t,n){"use strict";return e=n.converter._dispatch("encodeBackslashEscapes.before",e,t,n),e=e.replace(/\\(\\)/g,l.helper.escapeCharactersCallback),e=e.replace(/\\([`*_{}\[\]()>#+.!~=|-])/g,l.helper.escapeCharactersCallback),e=n.converter._dispatch("encodeBackslashEscapes.after",e,t,n)}),l.subParser("encodeCode",function(e,t,n){"use strict";return e=n.converter._dispatch("encodeCode.before",e,t,n),e=e.replace(/&/g,"&").replace(//g,">").replace(/([*_{}\[\]\\=~-])/g,l.helper.escapeCharactersCallback),e=n.converter._dispatch("encodeCode.after",e,t,n)}),l.subParser("escapeSpecialCharsWithinTagAttributes",function(e,t,n){"use strict";e=n.converter._dispatch("escapeSpecialCharsWithinTagAttributes.before",e,t,n);var a=/<\/?[a-z\d_:-]+(?:[\s]+[\s\S]+?)?>/gi,r=/-]|-[^>])(?:[^-]|-[^-])*)--)>/gi;return e=e.replace(a,function(e){return e.replace(/(.)<\/?code>(?=.)/g,"$1`").replace(/([\\`*_~=|])/g,l.helper.escapeCharactersCallback)}),e=e.replace(r,function(e){return e.replace(/([\\`*_~=|])/g,l.helper.escapeCharactersCallback)}),e=n.converter._dispatch("escapeSpecialCharsWithinTagAttributes.after",e,t,n)}),l.subParser("githubCodeBlocks",function(e,t,n){"use strict";return t.ghCodeBlocks?(e=n.converter._dispatch("githubCodeBlocks.before",e,t,n),e+="¨0",e=e.replace(/(?:^|\n)(?: {0,3})(```+|~~~+)(?: *)([^\s`~]*)\n([\s\S]*?)\n(?: {0,3})\1/g,function(e,a,r,i){var o=t.omitExtraWLInCodeBlocks?"":"\n";return i=l.subParser("encodeCode")(i,t,n),i=l.subParser("detab")(i,t,n),i=i.replace(/^\n+/g,""),i=i.replace(/\n+$/g,""),i="",i=l.subParser("hashBlock")(i,t,n),"\n\n¨G"+(n.ghCodeBlocks.push({text:e,codeblock:i})-1)+"G\n\n"}),e=e.replace(/¨0/,""),n.converter._dispatch("githubCodeBlocks.after",e,t,n)):e}),l.subParser("hashBlock",function(e,t,n){"use strict";return e=n.converter._dispatch("hashBlock.before",e,t,n),e=e.replace(/(^\n+|\n+$)/g,""),e="\n\n¨K"+(n.gHtmlBlocks.push(e)-1)+"K\n\n",e=n.converter._dispatch("hashBlock.after",e,t,n)}),l.subParser("hashCodeTags",function(e,t,n){"use strict";return e=n.converter._dispatch("hashCodeTags.before",e,t,n),e=l.helper.replaceRecursiveRegExp(e,function(e,a,r,i){var o=r+l.subParser("encodeCode")(a,t,n)+i;return"¨C"+(n.gHtmlSpans.push(o)-1)+"C"},""+i+o+"
]*>","
","gim"),e=n.converter._dispatch("hashCodeTags.after",e,t,n)}),l.subParser("hashElement",function(e,t,n){"use strict";return function(e,t){var a=t;return a=a.replace(/\n\n/g,"\n"),a=a.replace(/^\n/,""),a=a.replace(/\n+$/g,""),a="\n\n¨K"+(n.gHtmlBlocks.push(a)-1)+"K\n\n"}}),l.subParser("hashHTMLBlocks",function(e,t,n){"use strict";e=n.converter._dispatch("hashHTMLBlocks.before",e,t,n);var a=["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"],r=function(e,t,a,r){var i=e;return-1!==a.search(/\bmarkdown\b/)&&(i=a+n.converter.makeHtml(t)+r),"\n\n¨K"+(n.gHtmlBlocks.push(i)-1)+"K\n\n"};t.backslashEscapesHTMLTags&&(e=e.replace(/\\<(\/?[^>]+?)>/g,function(e,t){return"<"+t+">"}));for(var i=0;i]*>)","im"),s="<"+a[i]+"\\b[^>]*>",u=""+a[i]+">";-1!==(o=l.helper.regexIndexOf(e,c));){var p=l.helper.splitAtIndex(e,o),h=l.helper.replaceRecursiveRegExp(p[1],r,s,u,"im");if(h===p[1])break;e=p[0].concat(h)}return e=e.replace(/(\n {0,3}(<(hr)\b([^<>])*?\/?>)[ \t]*(?=\n{2,}))/g,l.subParser("hashElement")(e,t,n)),e=l.helper.replaceRecursiveRegExp(e,function(e){return"\n\n¨K"+(n.gHtmlBlocks.push(e)-1)+"K\n\n"},"^ {0,3}\x3c!--","--\x3e","gm"),e=e.replace(/(?:\n\n)( {0,3}(?:<([?%])[^\r]*?\2>)[ \t]*(?=\n{2,}))/g,l.subParser("hashElement")(e,t,n)),e=n.converter._dispatch("hashHTMLBlocks.after",e,t,n)}),l.subParser("hashHTMLSpans",function(e,t,n){"use strict";function a(e){return"¨C"+(n.gHtmlSpans.push(e)-1)+"C"}return e=n.converter._dispatch("hashHTMLSpans.before",e,t,n),e=e.replace(/<[^>]+?\/>/gi,function(e){return a(e)}),e=e.replace(/<([^>]+?)>[\s\S]*?<\/\1>/g,function(e){return a(e)}),e=e.replace(/<([^>]+?)\s[^>]+?>[\s\S]*?<\/\1>/g,function(e){return a(e)}),e=e.replace(/<[^>]+?>/gi,function(e){return a(e)}),e=n.converter._dispatch("hashHTMLSpans.after",e,t,n)}),l.subParser("unhashHTMLSpans",function(e,t,n){"use strict";e=n.converter._dispatch("unhashHTMLSpans.before",e,t,n);for(var a=0;a ]*>\\s* ]*>","^ {0,3}
\\s*
"),c+="
",r.push(c))}for(i=r.length,o=0;o]*>\s*]*>/.test(u)&&(p=!0)}r[o]=u}return e=r.join("\n"),e=e.replace(/^\n+/g,""),e=e.replace(/\n+$/g,""),n.converter._dispatch("paragraphs.after",e,t,n)}),l.subParser("runExtension",function(e,t,n,a){"use strict";if(e.filter)t=e.filter(t,a.converter,n);else if(e.regex){var r=e.regex;r instanceof RegExp||(r=new RegExp(r,"g")),t=t.replace(r,e.replace)}return t}),l.subParser("spanGamut",function(e,t,n){"use strict";return e=n.converter._dispatch("spanGamut.before",e,t,n),e=l.subParser("codeSpans")(e,t,n),e=l.subParser("escapeSpecialCharsWithinTagAttributes")(e,t,n),e=l.subParser("encodeBackslashEscapes")(e,t,n),e=l.subParser("images")(e,t,n),e=l.subParser("anchors")(e,t,n),e=l.subParser("autoLinks")(e,t,n),e=l.subParser("simplifiedAutoLinks")(e,t,n),e=l.subParser("emoji")(e,t,n),e=l.subParser("underline")(e,t,n),e=l.subParser("italicsAndBold")(e,t,n),e=l.subParser("strikethrough")(e,t,n),e=l.subParser("ellipsis")(e,t,n),e=l.subParser("hashHTMLSpans")(e,t,n),e=l.subParser("encodeAmpsAndAngles")(e,t,n),t.simpleLineBreaks?/\n\n¨K/.test(e)||(e=e.replace(/\n+/g,"
\n")):e=e.replace(/ +\n/g,"
\n"),e=n.converter._dispatch("spanGamut.after",e,t,n)}),l.subParser("strikethrough",function(e,t,n){"use strict";function a(e){return t.simplifiedAutoLink&&(e=l.subParser("simplifiedAutoLinks")(e,t,n)),""+e+""}return t.strikethrough&&(e=n.converter._dispatch("strikethrough.before",e,t,n),e=e.replace(/(?:~){2}([\s\S]+?)(?:~){2}/g,function(e,t){return a(t)}),e=n.converter._dispatch("strikethrough.after",e,t,n)),e}),l.subParser("stripLinkDefinitions",function(e,t,n){"use strict";var a=/^ {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=/^ {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;e+="¨0";var i=function(e,a,r,i,o,c,s){return a=a.toLowerCase(),n.gUrls[a]=r.match(/^data:.+?\/.+?;base64,/)?r.replace(/\s/g,""):l.subParser("encodeAmpsAndAngles")(r,t,n),c?c+s:(s&&(n.gTitles[a]=s.replace(/"|'/g,""")),t.parseImgDimensions&&i&&o&&(n.gDimensions[a]={width:i,height:o}),"")};return e=e.replace(r,i),e=e.replace(a,i),e=e.replace(/¨0/,"")}),l.subParser("tables",function(e,t,n){"use strict";function a(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 r(e,a){var r="";return e=e.trim(),(t.tablesHeaderId||t.tableHeaderId)&&(r=' id="'+e.replace(/ /g,"_").toLowerCase()+'"'),e=l.subParser("spanGamut")(e,t,n),""+e+" \n"}function i(e,a){return""+l.subParser("spanGamut")(e,t,n)+" \n"}function o(e,t){for(var n="\n\n\n",a=e.length,r=0;r\n \n\n",r=0;r\n";for(var i=0;i\n"}return n+=" \n
\n"}function c(e){var c,s=e.split("\n");for(c=0;c"+t+""}),e=e.replace(/\b__(\S[\s\S]*?)__\b/g,function(e,t){return""+t+""})):(e=e.replace(/___(\S[\s\S]*?)___/g,function(e,t){return/\S$/.test(t)?""+t+"":e}),e=e.replace(/__(\S[\s\S]*?)__/g,function(e,t){return/\S$/.test(t)?""+t+"":e})),e=e.replace(/(_)/g,l.helper.escapeCharactersCallback),e=n.converter._dispatch("underline.after",e,t,n)):e}),l.subParser("unescapeSpecialChars",function(e,t,n){"use strict";return e=n.converter._dispatch("unescapeSpecialChars.before",e,t,n),e=e.replace(/¨E(\d+)E/g,function(e,t){var n=parseInt(t);return String.fromCharCode(n)}),e=n.converter._dispatch("unescapeSpecialChars.after",e,t,n)}),l.subParser("makeMarkdown.blockquote",function(e,t){"use strict";var n="";if(e.hasChildNodes())for(var a=e.childNodes,r=a.length,i=0;i "+n.split("\n").join("\n> ")}),l.subParser("makeMarkdown.codeBlock",function(e,t){"use strict";return"```"+e.getAttribute("language")+"\n"+t.preList[e.getAttribute("precodenum")]+"\n```"}),l.subParser("makeMarkdown.codeSpan",function(e){"use strict";return"`"+e.innerHTML+"`"}),l.subParser("makeMarkdown.emphasis",function(e,t){"use strict";var n="";if(e.hasChildNodes()){n+="*";for(var a=e.childNodes,r=a.length,i=0;i",e.hasAttribute("width")&&e.hasAttribute("height")&&(t+=" ="+e.getAttribute("width")+"x"+e.getAttribute("height")),e.hasAttribute("title")&&(t+=' "'+e.getAttribute("title")+'"'),t+=")"),t}),l.subParser("makeMarkdown.links",function(e,t){"use strict";var n="";if(e.hasChildNodes()&&e.hasAttribute("href")){var a=e.childNodes,r=a.length;n="[";for(var i=0;i",e.hasAttribute("title")&&(n+=' "'+e.getAttribute("title")+'"'),n+=")"}return n}),l.subParser("makeMarkdown.list",function(e,t,n){"use strict";var a="";if(!e.hasChildNodes())return"";for(var r=e.childNodes,i=r.length,o=e.getAttribute("start")||1,c=0;c"+t.preList[e.getAttribute("prenum")]+""}),l.subParser("makeMarkdown.strikethrough",function(e,t){"use strict";var n="";if(e.hasChildNodes()){n+="~~";for(var a=e.childNodes,r=a.length,i=0;itr>th"),c=e.querySelectorAll("tbody>tr");for(n=0;nb&&(b=m)}for(n=0;n/g,"\\$1>"),t=t.replace(/^#/gm,"\\#"),t=t.replace(/^(\s*)([-=]{3,})(\s*)$/,"$1\\$2$3"),t=t.replace(/^( {0,3}\d+)\./gm,"$1\\."),t=t.replace(/^( {0,3})([+-])/gm,"$1\\$2"),t=t.replace(/]([\s]*)\(/g,"\\]$1\\("),t=t.replace(/^ {0,3}\[([\S \t]*?)]:/gm,"\\[$1]:")});void 0!==(a=function(){"use strict";return l}.call(t,n,t,e))&&(e.exports=a)}).call(this)},JkW7:function(e,t,n){"use strict";function a(e,t){for(var n in t)e[n]=t[n];return e}function r(e,t,n){var a,r=/(?:\?([^#]*))?(#.*)?$/,i=e.match(r),o={};if(i&&i[1])for(var c=i[1].split("&"),s=0;st.rank?-1:e.index-t.index}function o(e,t){return e.index=t,e.rank=u(e),e.attributes}function l(e){return e.replace(/(^\/+|\/+$)/g,"").split("/")}function c(e){return":"==e.charAt(0)?1+"*+?".indexOf(e.charAt(e.length-1))||4:5}function s(e){return l(e).map(c).join("")}function u(e){return e.attributes.default?0:s(e.attributes.path)}function p(e){return null!=e.__preactattr_||"undefined"!=typeof Symbol&&null!=e[Symbol.for("preactattr")]}function h(e,t){void 0===t&&(t="push"),de&&de[t]?de[t](e):"undefined"!=typeof history&&history[t+"State"]&&history[t+"State"](null,null,e)}function d(){var e;return e=de&&de.location?de.location:de&&de.getCurrentLocation?de.getCurrentLocation():"undefined"!=typeof location?location:fe,""+(e.pathname||"")+(e.search||"")}function b(e,t){return void 0===t&&(t=!1),"string"!=typeof e&&e.url&&(t=e.replace,e=e.url),m(e)&&h(e,t?"replace":"push"),f(e)}function m(e){for(var t=be.length;t--;)if(be[t].canRoute(e))return!0;return!1}function f(e){for(var t=!1,n=0;n0},t.prototype.routeTo=function(e){return this._didRoute=!1,this.setState({url:e}),this.updating?this.canRoute(e):(this.forceUpdate(),this._didRoute)},t.prototype.componentWillMount=function(){be.push(this),this.updating=!0},t.prototype.componentDidMount=function(){var e=this;de&&(this.unlisten=de.listen(function(t){e.routeTo(""+(t.pathname||"")+(t.search||""))})),this.updating=!1},t.prototype.componentWillUnmount=function(){"function"==typeof this.unlisten&&this.unlisten(),be.splice(be.indexOf(this),1)},t.prototype.componentWillUpdate=function(){this.updating=!0},t.prototype.componentDidUpdate=function(){this.updating=!1},t.prototype.getMatchingChildren=function(e,t,n){return e.filter(o).sort(i).map(function(e){var i=r(t,e.attributes.path,e.attributes);if(i){if(!1!==n){var o={url:t,matches:i};return a(o,i),delete o.ref,delete o.key,Object(pe.cloneElement)(e,o)}return e}}).filter(Boolean)},t.prototype.render=function(e,t){var n=e.children,a=e.onChange,r=t.url,i=this.getMatchingChildren(n,r,!0),o=i[0]||null;this._didRoute=!!o;var l=this.previousUrl;return r!==l&&(this.previousUrl=r,"function"==typeof a&&a({router:this,url:r,previous:l,active:i,current:o})),o},t}(pe.Component),je=function(e){return Object(pe.h)("a",a({onClick:_},e))},Oe=function(e){return Object(pe.h)(e.component,e)};_e.subscribers=me,_e.getCurrentUrl=d,_e.route=b,_e.Router=_e,_e.Route=Oe,_e.Link=je;var ve=_e,we=n("36Ou"),ye=n.n(we),ke=n("P9k+"),ze=n.n(ke),Pe=function(e){function t(){return w(this,e.apply(this,arguments))}return y(t,e),t.prototype.render=function(){var e=null;return void 0!==this.props.title&&(e=Object(pe.h)("h3",null,this.props.title)),Object(pe.h)("div",{class:ze.a.panel,id:this.props.id},e,this.props.children)},t}(pe.Component),Ee=n("1EpE"),Ce=n.n(Ee),Se=function(e){function t(){return k(this,t),z(this,e.apply(this,arguments))}return P(t,e),t.prototype.render=function(){var e=null;void 0!==this.props.title&&(e=Object(pe.h)("h2",null,this.props.title));var t=void 0;return t=Array.isArray(this.props.children)?this.props.children.map(function(e){return Object(pe.h)("div",{class:Ce.a.splitchild},e)}):Object(pe.h)("div",{class:Ce.a.splitchild},this.props.children),Object(pe.h)("div",{class:Ce.a.split},e,Object(pe.h)("div",{class:Ce.a.splitparent},t))},t}(pe.Component),xe=n("tO1d"),Ae=n.n(xe),Le=function(e){function t(){return E(this,t),C(this,e.apply(this,arguments))}return S(t,e),t.prototype.render=function(){return Object(pe.h)("span",{class:Ae.a.todo},this.props.children)},t}(pe.Component),Me=Object(pe.h)("h1",null,"Indice"),Te=Object(pe.h)(Se,{title:"Argomenti"},Object(pe.h)(Pe,{title:Object(pe.h)("a",{href:"/statistica"},"Statistica ed elementi di probabilità")},Object(pe.h)("p",null,"Appunti scritti mentre studiavo per l'esame di ",Object(pe.h)("a",{href:"http://personale.unimore.it/rubrica/contenutiad/llarocca/2019/58028/N0/N0/9999"},"Statistica ed elementi di probabilità")," del ",Object(pe.h)("a",{href:"https://www.unimore.it/didattica/mlaurea.html?ID=54"},"corso triennale di Informatica")," all'",Object(pe.h)("a",{href:"https://www.unimore.it/"},"Unimore")," del Prof. ",Object(pe.h)("a",{href:"http://personale.unimore.it/rubrica/dettaglio/llarocca"},"Luca La Rocca"),".")),Object(pe.h)(Pe,{title:Object(pe.h)("a",{href:"https://github.com/Steffo99/cleaver"},"Cleaver")},Object(pe.h)("p",null,"Progetto in Java sviluppato per l'esame di ",Object(pe.h)("a",{href:"http://personale.unimore.it/rubrica/contenutiad/gcabri/2019/58026/N0/N0/9999"},"Programmazione ad Oggetti")," del ",Object(pe.h)("a",{href:"https://www.unimore.it/didattica/mlaurea.html?ID=54"},"corso triennale di Informatica")," all'",Object(pe.h)("a",{href:"https://www.unimore.it/"},"Unimore"),", tenuto dai Prof. ",Object(pe.h)("a",{href:"http://personale.unimore.it/rubrica/dettaglio/gcabri"},"Giacomo Cabri")," e ",Object(pe.h)("a",{href:"http://personale.unimore.it/Rubrica/Dettaglio/n.capodieci"},"Nicola Capodieci"),".")),Object(pe.h)(Pe,{title:Object(pe.h)("a",{href:"/fisica"},"Fisica")},Object(pe.h)("p",null,"Appunti delle ",Object(pe.h)("a",{href:"http://personale.unimore.it/rubrica/contenutiad/brunetti/2019/58025/N0/N0/9999"},"lezioni di Fisica")," del ",Object(pe.h)("a",{href:"https://www.unimore.it/didattica/mlaurea.html?ID=54"},"corso triennale di Informatica")," all'",Object(pe.h)("a",{href:"https://www.unimore.it/"},"Unimore"),", tenute dalla ",Object(pe.h)("a",{href:"https://personale.unimore.it/rubrica/dettaglio/brunetti"},"Prof.ssa Rossella Brunetti")," nel primo semestre dell'Anno Accademico 2019/2020.")),Object(pe.h)(Pe,{title:Object(pe.h)("a",{href:"https://github.com/Steffo99/appunti-universitari/tree/master/2019_SistemiOperativi/Arzigogoli"},"Sistemi Operativi")},Object(pe.h)("p",null,"Soluzioni agli ",Object(pe.h)("a",{href:"https://weblab.ing.unimore.it/people/andreolini/didattica/sistemi-operativi/index.html#arzigogoli"},"Arzigogoli")," proposti dal ",Object(pe.h)("a",{href:"https://personale.unimore.it/rubrica/dettaglio/andreolini"},"Prof. Mauro Andreolini")," durante le ",Object(pe.h)("a",{href:"https://personale.unimore.it/rubrica/contenutiad/andreolini/2019/58027/N0/N0/9999"},"lezioni di Sistemi Operativi")," del ",Object(pe.h)("a",{href:"https://www.unimore.it/didattica/mlaurea.html?ID=54"},"corso triennale di Informatica")," all'",Object(pe.h)("a",{href:"https://www.unimore.it/"},"Unimore")," tenutesi nel primo semestre dell'Anno Accademico 2019/2020.")),Object(pe.h)(Pe,{title:Object(pe.h)("a",{href:"https://github.com/Steffo99/appunti-universitari/tree/master/2018_AlgoritmiEStruttureDati"},"Algoritmi e Strutture Dati")},Object(pe.h)("p",null,"Appunti delle ",Object(pe.h)("a",{href:"https://personale.unimore.it/rubrica/contenutiad/mmontangero/2018/58133/N0/N0/9999"},"lezioni di Algoritmi e Strutture Dati")," del ",Object(pe.h)("a",{href:"https://www.unimore.it/didattica/mlaurea.html?ID=54"},"corso triennale di Informatica")," all'",Object(pe.h)("a",{href:"https://www.unimore.it/"},"Unimore"),", tenute dalla ",Object(pe.h)("a",{href:"https://personale.unimore.it/rubrica/dettaglio/mmontangero"},"Prof.ssa Manuela Montangero")," nel secondo semestre dell'Anno Accademico 2018/2019.")),Object(pe.h)(Pe,{title:Object(pe.h)("a",{href:"/vldigeometria"},"Videolezioni di Geometria")},Object(pe.h)("p",null,"Ottime videolezioni di Geometria con licenza ",Object(pe.h)("a",{href:"https://creativecommons.org/licenses/by-nc-sa/4.0/"},"CC BY-NC-SA 4.0")," che ho trovato sul ",Object(pe.h)("a",{href:"https://dolly.fim.unimore.it/2018/course/view.php?id=14#section-0"},"portale Dolly 2018")," dell'",Object(pe.h)("a",{href:"https://www.unimore.it/"},"Unimore"),".")),Object(pe.h)(Pe,{title:Object(pe.h)("a",{href:"/mingwinstall"},"Come installare MinGW")},Object(pe.h)("p",null,"Un breve tutorial con immagini su come installare e configurare ",Object(pe.h)("a",{href:"https://it.wikipedia.org/wiki/MinGW"},"MinGW")," per compilare programmi C e C++ su Windows."))),Ie=Object(pe.h)(Se,{title:"Altri collegamenti utili"},Object(pe.h)(Pe,{title:Object(pe.h)("a",{href:"https://t.me/unimoreinfo"},"@unimoreinfo")},Object(pe.h)("p",null,"Il gruppo ",Object(pe.h)("a",{href:"https://telegram.org/"},"Telegram")," del corso di Informatica dell'Unimore!")),Object(pe.h)(Pe,{title:Object(pe.h)("a",{href:"https://calendar.google.com/calendar?cid=MmYza2o2M3VuZWQ1cmZqaGpmOGY0MWFrNmdAZ3JvdXAuY2FsZW5kYXIuZ29vZ2xlLmNvbQ"},"Calendario Lezioni")},Object(pe.h)("p",null,"Calendario Google ",Object(pe.h)("small",null,"quasi")," sempre aggiornato delle lezioni e degli esami del secondo anno dell'",Object(pe.h)("a",{href:"https://www.unimore.it/"},"Unimore")," durante l'Anno Accademico 2019/2020.")),Object(pe.h)(Pe,{title:Object(pe.h)("a",{href:"http://erre2.fermitech.info/dashboard"},"Erre2")},Object(pe.h)("p",null,"Portale contenente appunti e riassunti mantenuto da ",Object(pe.h)("a",{href:"https://github.com/LBindustries"},"Lorenzo Balugani"),".")),Object(pe.h)(Pe,{title:Object(pe.h)("a",{href:"https://github.com/vezzalinistefano/Appunti-Algoritmi"},"vezzalinistefano/Appunti-Algoritmi")},Object(pe.h)("p",null,"Appunti di Algoritmi e Strutture Dati mantenuti da ",Object(pe.h)("a",{href:"https://github.com/vezzalinistefano/"},"Vezzalini Stefano"),"."))),qe=function(e){function t(){return x(this,t),A(this,e.apply(this,arguments))}return L(t,e),t.prototype.render=function(){return Object(pe.h)("div",{style:ye.a.home},Me,Te,Ie)},t}(pe.Component),De=n("0lnO"),Fe=n.n(De),Be=n("+uq9"),Ne=n.n(Be),Re=function(e){function t(){return M(this,t),T(this,e.apply(this,arguments))}return I(t,e),t.prototype.render=function(){var e="{\\color{White} "+this.props.children+" }";return Object(pe.h)("img",{src:"https://latex.codecogs.com/png.latex?"+e,alt:this.props.children,title:this.props.children,class:Ne.a.latex})},t}(pe.Component),He=n("ddTt"),Ue=n.n(He),Ve=function(e){function t(){return q(this,t),D(this,e.apply(this,arguments))}return F(t,e),t.prototype.render=function(){return Object(pe.h)("span",{class:Ue.a.plus},this.props.children)},t}(pe.Component),We=n("MeW5"),$e=n.n(We),Ge=function(e){function t(){return B(this,t),N(this,e.apply(this,arguments))}return R(t,e),t.prototype.render=function(){return Object(pe.h)("span",{class:$e.a.minus},this.props.children)},t}(pe.Component),Ze=H(["\vec{v} = \vec{v}_x + \vec{v}_y"],["\\vec{v} = \\vec{v}_x + \\vec{v}_y"]),Ke=H(["left | \vec{v}_x \right | = left | \vec{v} \right | sin alpha"],["\\left | \\vec{v}_x \\right | = \\left | \\vec{v} \\right | \\sin \\alpha"]),Ye=H(["left | \vec{v}_y \right | = left | \vec{v} \right | cos alpha"],["\\left | \\vec{v}_y \\right | = \\left | \\vec{v} \\right | \\cos \\alpha"]),Qe=H(["\vec{v} + \vec{w} = (\vec{v}_x + \vec{w}_x) + (\vec{v}_y + \vec{w}_y)"],["\\vec{v} + \\vec{w} = (\\vec{v}_x + \\vec{w}_x) + (\\vec{v}_y + \\vec{w}_y)"]),Xe=H(["\vec{v} - \vec{w} = (\vec{v}_x - \vec{w}_x) + (\vec{v}_y - \vec{w}_y)"],["\\vec{v} - \\vec{w} = (\\vec{v}_x - \\vec{w}_x) + (\\vec{v}_y - \\vec{w}_y)"]),Je=H(["\vec{v} cdot \vec{w} = left | \vec{v} \right | left | \vec{w} \right | cos alpha"],["\\vec{v} \\cdot \\vec{w} = \\left | \\vec{v} \\right | \\left | \\vec{w} \\right | \\cos \\alpha"]),et=H(["\vec{a}"],["\\vec{a}"]),tt=H(["\vec{b}"],["\\vec{b}"]),nt=H(["\vec{c} = \vec{a} \times \vec{b}"],["\\vec{c} = \\vec{a} \\times \\vec{b}"]),at=H(["left | \vec{c} \right | = left | \vec{a} \right | cdot left | \vec{b} \right | cdot sin(alpha)"],["\\left | \\vec{c} \\right | = \\left | \\vec{a} \\right | \\cdot \\left | \\vec{b} \\right | \\cdot \\sin(\\alpha)"]),rt=H(["Sigma \vec{F} = 0 Longleftrightarrow Delta v = 0"],["\\Sigma \\vec{F} = 0 \\Longleftrightarrow \\Delta v = 0"]),it=H(["Sigma \vec{F} = m \vec{a}"],["\\Sigma \\vec{F} = m \\vec{a}"]),ot=H(["\vec{F}_{21} = -\vec{F}_{12}"],["\\vec{F}_{21} = -\\vec{F}_{12}"]),lt=H(["left | \vec{F} \right | = G \frac{m_1 m_2}{s^2}"],["\\left | \\vec{F} \\right | = G \\frac{m_1 m_2}{s^2}"]),ct=H(["G = 6.67 cdot 10^{-11} \frac{N m^2}{{kg}^2}"],["G = 6.67 \\cdot 10^{-11} \\frac{N m^2}{{kg}^2}"]),st=H(["left | \vec{F} \right | = g m"],["\\left | \\vec{F} \\right | = g m"]),ut=H(["g = 9.81 \frac{m}{s^2}"],["g = 9.81 \\frac{m}{s^2}"]),pt=H(["g_{luna} = 1.62 \frac{m}{s^2}"],["g_{luna} = 1.62 \\frac{m}{s^2}"]),ht=H(["g_{marte} = 3.71 \frac{m}{s^2}"],["g_{marte} = 3.71 \\frac{m}{s^2}"]),dt=H(["left | \vec{F} \right | leq mu_{s} left | \vec{F}_{normale} \right |"],["\\left | \\vec{F} \\right | \\leq \\mu_{s} \\left | \\vec{F}_{normale} \\right |"]),bt=H(["left | \vec{F} \right | leq mu_{d} left | \vec{F}_{normale} \right |"],["\\left | \\vec{F} \\right | \\leq \\mu_{d} \\left | \\vec{F}_{normale} \\right |"]),mt=H(["F = -k x"],["F = -k x"]),ft=H(["Delta \vec{s} = \vec{s}(fine) - \vec{s}(inizio)"],["\\Delta \\vec{s} = \\vec{s}(fine) - \\vec{s}(inizio)"]),gt=H(["\vec{v} = \frac{Delta \vec{s}}{Delta t}"],["\\vec{v} = \\frac{\\Delta \\vec{s}}{\\Delta t}"]),_t=H(["\vec{v} = lim_{Delta t \to 0} \frac{Delta \vec{s}}{Delta t} = \frac{d \vec{s}}{dt}"],["\\vec{v} = \\lim_{\\Delta t \\to 0} \\frac{\\Delta \\vec{s}}{\\Delta t} = \\frac{d \\vec{s}}{dt}"]),jt=H(["\vec{a} = \frac{Delta \vec{v}}{Delta t}"],["\\vec{a} = \\frac{\\Delta \\vec{v}}{\\Delta t}"]),Ot=H(["\vec{a} = lim_{Delta v \to 0} \frac{Delta \vec{v}}{Delta t} = \frac{d \vec{v}}{d t} = \frac{d^2 \vec{s}}{d t^2}"],["\\vec{a} = \\lim_{\\Delta v \\to 0} \\frac{\\Delta \\vec{v}}{\\Delta t} = \\frac{d \\vec{v}}{d t} = \\frac{d^2 \\vec{s}}{d t^2}"]),vt=H(["\vec{p} = m \vec{v}"],["\\vec{p} = m \\vec{v}"]),wt=H(["Sigma \vec{F} = 0 Longleftrightarrow Delta \vec{p} = 0"],["\\Sigma \\vec{F} = 0 \\Longleftrightarrow \\Delta \\vec{p} = 0"]),yt=H(["s(t) = v cdot Delta t + s(0)"],["s(t) = v \\cdot \\Delta t + s(0)"]),kt=H(["v(t) = k"],["v(t) = k"]),zt=H(["a(t) = 0"],["a(t) = 0"]),Pt=H(["s(t) = \frac{1}{2} a cdot (Delta t)^2 + v(0) cdot (Delta t) + s(0)"],["s(t) = \\frac{1}{2} a \\cdot (\\Delta t)^2 + v(0) \\cdot (\\Delta t) + s(0)"]),Et=H(["v(t) = a Delta t + v(0)"],["v(t) = a \\Delta t + v(0)"]),Ct=H(["a(t) = k"],["a(t) = k"]),St=H(["omega = \frac{2 pi}{T}"],["\\omega = \\frac{2 \\pi}{T}"]),xt=H(["s(t) = A sin (omega cdot t + phi)"],["s(t) = A \\sin (\\omega \\cdot t + \\phi)"]),At=H(["\frac{pi}{2}"],["\\frac{\\pi}{2}"]),Lt=H(["v(t) = A sin (omega cdot t + phi + \frac{pi}{2})"],["v(t) = A \\sin (\\omega \\cdot t + \\phi + \\frac{\\pi}{2})"]),Mt=H(["pi"],["\\pi"]),Tt=H(["a(t) = A sin (omega cdot t + phi + pi)"],["a(t) = A \\sin (\\omega \\cdot t + \\phi + \\pi)"]),It=H(["phi"],["\\phi"]),qt=H(["v = \frac{Delta s}{t} = \frac{2 pi cdot r}{T} = omega r"],["v = \\frac{\\Delta s}{t} = \\frac{2 \\pi \\cdot r}{T} = \\omega r"]),Dt=H(["a = \frac{v^2}{r} = r cdot omega^2 = v cdot omega"],["a = \\frac{v^2}{r} = r \\cdot \\omega^2 = v \\cdot \\omega"]),Ft=H(["F = m cdot a"],["F = m \\cdot a"]),Bt=H(["W = \vec{F} cdot \vec{s} = F cdot Delta s cdot cos(alpha )"],["W = \\vec{F} \\cdot \\vec{s} = F \\cdot \\Delta s \\cdot cos(\\alpha )"]),Nt=H(["E_c = \frac{1}{2} m v^2"],["E_c = \\frac{1}{2} m v^2"]),Rt=H(["Delta E_c = W"],["\\Delta E_c = W"]),Ht=H(["E_{p_g} = m cdot g cdot h"],["E_{p_g} = m \\cdot g \\cdot h"]),Ut=H(["E_{p_e} = \frac{1}{2} k x^2"],["E_{p_e} = \\frac{1}{2} k x^2"]),Vt=H(["E = E_k + E_p"],["E = E_k + E_p"]),Wt=H(["P = \frac{Delta E}{Delta t}"],["P = \\frac{\\Delta E}{\\Delta t}"]),$t=H(["C_{elettrone} = 1.602 cdot 10^{-19}"],["C_{elettrone} = 1.602 \\cdot 10^{-19}"]),Gt=H(["left | \vec{F}_{elettrica} \right | = \frac{-k cdot q_1 cdot q_2}{s^2}"],["\\left | \\vec{F}_{elettrica} \\right | = \\frac{-k \\cdot q_1 \\cdot q_2}{s^2}"]),Zt=H(["k"],["k"]),Kt=H(["k = 8.99 cdot 10^9 \frac{N cdot m^2}{C^2}"],["k = 8.99 \\cdot 10^9 \\frac{N \\cdot m^2}{C^2}"]),Yt=H(["epsilon_0"],["\\epsilon_0"]),Qt=H(["k = \frac{1}{4 pi cdot epsilon_0}"],["k = \\frac{1}{4 \\pi \\cdot \\epsilon_0}"]),Xt=H(["left | \vec{F}_{elettrica} \right | = \frac{q_1 cdot q_2}{4 pi cdot epsilon_0 cdot s^2}"],["\\left | \\vec{F}_{elettrica} \\right | = \\frac{q_1 \\cdot q_2}{4 \\pi \\cdot \\epsilon_0 \\cdot s^2}"]),Jt=H(["\vec{E} = \frac{\vec{F}_{elettrica}}{q} = \frac{-k cdot q}{s^2}"],["\\vec{E} = \\frac{\\vec{F}_{elettrica}}{q} = \\frac{-k \\cdot q}{s^2}"]),en=H(["Phi_E = \vec{E} cdot \vec{A}"],["\\Phi_E = \\vec{E} \\cdot \\vec{A}"]),tn=H(["Phi_E = \vec{E} cdot \vec{A} = E_perp cdot A cdot cos(alpha)"],["\\Phi_E = \\vec{E} \\cdot \\vec{A} = E_\\perp \\cdot A \\cdot \\cos(\\alpha)"]),nn=H(["Phi_E = 4 pi cdot k cdot q = \frac{q}{epsilon_0}"],["\\Phi_E = 4 \\pi \\cdot k \\cdot q = \\frac{q}{\\epsilon_0}"]),an=H(["U_e"],["U_e"]),rn=H(["V = \frac{U_e}{q}"],["V = \\frac{U_e}{q}"]),on=H(["V"],["V"]),ln=H(["I = \frac{Delta q}{Delta t}"],["I = \\frac{\\Delta q}{\\Delta t}"]),cn=H(["A"],["A"]),sn=H(["P = \frac{Delta U_e}{Delta t} = I cdot Delta V = I^2 cdot R = \frac{(Delta V)^2}{R}"],["P = \\frac{\\Delta U_e}{\\Delta t} = I \\cdot \\Delta V = I^2 \\cdot R = \\frac{(\\Delta V)^2}{R}"]),un=H(["V = R cdot I"],["V = R \\cdot I"]),pn=H(["R"],["R"]),hn=H(["Omega"],["\\Omega"]),dn=H(["R = \rho \frac{L_{unghezza}}{A_{rea}}"],["R = \\rho \\frac{L_{unghezza}}{A_{rea}}"]),bn=H(["\rho"],["\\rho"]),mn=H(["\rho = \rho_0 (1 + alpha(T - T_0))"],["\\rho = \\rho_0 (1 + \\alpha(T - T_0))"]),fn=H(["C = \frac{q_{massima}}{Delta V}"],["C = \\frac{q_{massima}}{\\Delta V}"]),gn=H(["C_{nuova} = kappa cdot \frac{epsilon_0 cdot A}{s}"],["C_{nuova} = \\kappa \\cdot \\frac{\\epsilon_0 \\cdot A}{s}"]),_n=H(["kappa"],["\\kappa"]),jn=H(["s"],["s"]),On=H(["Fa"],["Fa"]),vn=H(["R_{serie} = sum_{i=1}^{n} R_i"],["R_{serie} = \\sum_{i=1}^{n} R_i"]),wn=H(["R_{parallelo} = \frac{1}{sum_{i=1}^{n} \frac{1}{R_i}}"],["R_{parallelo} = \\frac{1}{\\sum_{i=1}^{n} \\frac{1}{R_i}}"]),yn=H(["C_{serie} = \frac{1}{sum_{i=1}^{n} \frac{1}{C_i}}"],["C_{serie} = \\frac{1}{\\sum_{i=1}^{n} \\frac{1}{C_i}}"]),kn=H(["C_{parallelo} = sum_{i=1}^{n} C_n"],["C_{parallelo} = \\sum_{i=1}^{n} C_n"]),zn=H(["mu_0 = 4 pi cdot 10^{-7} \frac{H}{m}"],["\\mu_0 = 4 \\pi \\cdot 10^{-7} \\frac{H}{m}"]),Pn=H(["\frac{N}{A^2}"],["\\frac{N}{A^2}"]),En=H(["B"],["B"]),Cn=H(["Phi_{B_{i}} = \vec{B} cdot \vec{L}_n = B cdot L_i cdot sin(alpha) = B_parallel cdot L_i"],["\\Phi_{B_{i}} = \\vec{B} \\cdot \\vec{L}_n = B \\cdot L_i \\cdot \\sin(\\alpha) = B_\\parallel \\cdot L_i"]),Sn=H(["Phi_{B} = sum_{i=0}^{n_{lati}} Phi_{Bn}"],["\\Phi_{B} = \\sum_{i=0}^{n_{lati}} \\Phi_{Bn}"]),xn=H(["Wb = T cdot m^2"],["Wb = T \\cdot m^2"]),An=H(["Phi_B = mu_0 cdot I"],["\\Phi_B = \\mu_0 \\cdot I"]),Ln=H(["\vec{F}_{B} = q cdot (\vec{v} \times \vec{B})"],["\\vec{F}_{B} = q \\cdot (\\vec{v} \\times \\vec{B})"]),Mn=H(["\vec{B}"],["\\vec{B}"]),Tn=H(["\vec{v}"],["\\vec{v}"]),In=H(["\vec{F}_{magnetica} = I cdot (\vec{L} \times \vec{B})"],["\\vec{F}_{magnetica} = I \\cdot (\\vec{L} \\times \\vec{B})"]),qn=H(["I"],["I"]),Dn=H(["\vec{L}"],["\\vec{L}"]),Fn=H(["left | \vec{B} \right | = mu_0 cdot I cdot \frac{A_{vvolgimenti}}{L_{unghezzafilo}}"],["\\left | \\vec{B} \\right | = \\mu_0 \\cdot I \\cdot \\frac{A_{vvolgimenti}}{L_{unghezzafilo}}"]),Bn=H(["left | \vec{B} \right | = \frac{mu cdot I}{2 pi r}"],["\\left | \\vec{B} \\right | = \\frac{\\mu \\cdot I}{2 \\pi r}"]),Nn=H(["Delta V_{indotta} = v cdot B cdot L"],["\\Delta V_{indotta} = v \\cdot B \\cdot L"]),Rn=H(["Phi_B = \vec{B} cdot \vec{A} = B cdot A cdot cos(alpha)"],["\\Phi_B = \\vec{B} \\cdot \\vec{A} = B \\cdot A \\cdot \\cos(\\alpha)"]),Hn=H(["Delta V_{indotta} = - \frac{Delta Phi_B}{Delta t}"],["\\Delta V_{indotta} = - \\frac{\\Delta \\Phi_B}{\\Delta t}"]),Un=H(["Delta V_{indotta} = - \frac{N cdot Delta Phi_{B_{spira}}}{Delta t} = - \frac{N cdot B cdot A cdot cos(alpha)}{Delta t}"],["\\Delta V_{indotta} = - \\frac{N \\cdot \\Delta \\Phi_{B_{spira}}}{\\Delta t} = - \\frac{N \\cdot B \\cdot A \\cdot cos(\\alpha)}{\\Delta t}"]),Vn=H(["N"],["N"]),Wn=H(["E"],["E"]),$n=H(["E = c cdot B"],["E = c \\cdot B"]),Gn=H(["c"],["c"]),Zn=H(["c = \frac{1}{sqrt{epsilon_0 cdot mu_0}} = 3.00 cdot 10^8 \frac{m}{s}"],["c = \\frac{1}{\\sqrt{\\epsilon_0 \\cdot \\mu_0}} = 3.00 \\cdot 10^8 \\frac{m}{s}"]),Kn=H(["A(t) = A_{max} cdot sin left ( \frac{2 pi}{lambda} - omega t + phi \right )"],["A(t) = A_{max} \\cdot \\sin \\left ( \\frac{2 \\pi}{\\lambda} - \\omega t + \\phi \\right )"]),Yn=H(["A_{max}"],["A_{max}"]),Qn=H(["\frac{2 pi}{lambda} = left | \vec{k} \right |"],["\\frac{2 \\pi}{\\lambda} = \\left | \\vec{k} \\right |"]),Xn=H(["omega"],["\\omega"]),Jn=H(["\frac{1}{lambda} = R left ( \frac{1}{4} - \frac{1}{n^2} \right )"],["\\frac{1}{\\lambda} = R \\left ( \\frac{1}{4} - \\frac{1}{n^2} \\right )"]),ea=H(["R = 1.097 cdot 10^7 \frac{1}{m}"],["R = 1.097 \\cdot 10^7 \\frac{1}{m}"]),ta=H(["n"],["n"]),na=H(["h"],["h"]),aa=H(["hbar = left ( \frac{h}{2 pi} \right )"],["\\hbar = \\left ( \\frac{h}{2 \\pi} \\right )"]),ra=H(["m cdot v_n cdot 2 pi cdot r = n cdot h"],["m \\cdot v_n \\cdot 2 \\pi \\cdot r = n \\cdot h"]),ia=H(["r_n = n^2 cdot a_0 = n^2 cdot \frac{hbar}{m_{elettrone} cdot k cdot e^2} "],["r_n = n^2 \\cdot a_0 = n^2 \\cdot \\frac{\\hbar}{m_{elettrone} \\cdot k \\cdot e^2} "]),oa=H(["a_0 = left ( \frac{h}{2 pi} \right )^2 cdot \frac{1}{m_{elettrone} cdot k cdot e^2} = 5.29 cdot 10^{-11} m"],["a_0 = \\left ( \\frac{h}{2 \\pi} \\right )^2 \\cdot \\frac{1}{m_{elettrone} \\cdot k \\cdot e^2} = 5.29 \\cdot 10^{-11} m"]),la=H(["E_n = \frac{1}{n^2} cdot E_1 = - \frac{1}{n^2} cdot \frac{a_0^2}{2 cdot m cdot hbar^4} = - \frac{1}{n^2} cdot \frac{m_{elettrone} cdot k^2 cdot e^4}{2 cdot hbar^2}"],["E_n = \\frac{1}{n^2} \\cdot E_1 = - \\frac{1}{n^2} \\cdot \\frac{a_0^2}{2 \\cdot m \\cdot \\hbar^4} = - \\frac{1}{n^2} \\cdot \\frac{m_{elettrone} \\cdot k^2 \\cdot e^4}{2 \\cdot \\hbar^2}"]),ca=H(["10^1 eV"],["10^1 eV"]),sa=H(["1 eV"],["1 eV"]),ua=H(["lambda"],["\\lambda"]),pa=H(["lambda_{max} cdot T"],["\\lambda_{max} \\cdot T"]),ha=H(["E_{fotone} = h cdot f"],["E_{fotone} = h \\cdot f"]),da=String.raw,ba=Object(pe.h)("h1",null,"Fisica"),ma=Object(pe.h)("p",null,"Usa le regole base della trigonometria:"),fa=Object(pe.h)("p",null,"Scomponi in componenti, poi sommali:"),ga=Object(pe.h)("p",null,"Produce il vettore risultante dall'applicazione della regola del parallelogramma."),_a=Object(pe.h)("p",null,"Alla fine è sempre una somma:"),ja=Object(pe.h)("p",null,"Produce il vettore che parte da ",Object(pe.h)(Re,null,"w")," e arriva a ",Object(pe.h)(Re,null,"v"),"."),Oa=Object(pe.h)("p",null,"Si chiama scalare perchè il risultato è uno scalare, non un vettore."),va=Object(pe.h)("p",null,"Si chiama vettoriale perchè il risultato è un altro vettore."),wa=Object(pe.h)("li",null,Object(pe.h)("a",{href:"https://it.wikipedia.org/wiki/Regola_della_mano_destra"},"Regola della mano destra")),ya=Object(pe.h)("p",null,"Non è commutativo!"),ka=Object(pe.h)("p",null,"Se un corpo puntiforme ha forza risultante nulla, allora la sua velocità non cambia."),za=Object(pe.h)("p",null,"La forza risultante di un corpo è direttamente proporzionale alla sua accelerazione, e la costante di proporzionalità è la ",Object(pe.h)("i",null,"massa"),"."),Pa=Object(pe.h)("p",null,"Due corpi esercitano forze uguali e opposte uno sull'altro."),Ea=Object(pe.h)("p",null,"Due corpi puntiformi si attirano uno verso l'altro con forza:"),Ca=Object(pe.h)("p",null,Object(pe.h)(Re,null,"G")," è la ",Object(pe.h)("i",null,"costante di gravitazione universale")," e vale:"),Sa=Object(pe.h)("p",null,"Se nel sistema di riferimento consideriamo la Terra ferma, allora un corpo è attratto verso la Terra con forza ",Object(pe.h)("i",null,"peso")," uguale a:"),xa=Object(pe.h)("p",null,Object(pe.h)(Re,null,"g")," è la ",Object(pe.h)("i",null,"costante di gravità")," della Terra, e vale:"),Aa=Object(pe.h)("p",null,"Per pianeti diversi dalla Terra vale la stessa regola:"),La=Object(pe.h)("p",null,"L'unica differenza è che cambia la ",Object(pe.h)("i",null,"costante di gravità"),":"),Ma=Object(pe.h)(Pe,{title:"Normale"},Object(pe.h)("p",null,"Si oppone alle forze applicate alla superficie di contatto."),Object(pe.h)("p",null,"Un libro appoggiato su un tavolo ha la ",Object(pe.h)("b",null,"forza di gravità")," che lo attira verso il terreno e la ",Object(pe.h)("b",null,"forza normale")," che lo trattiene dal cadere.")),Ta=Object(pe.h)("p",null,"Impedisce a un corpo di muoversi se non viene spinto da una forza che supera una certa soglia:"),Ia=Object(pe.h)("p",null,"Rallenta i corpi che si stanno muovendo finchè essi non si fermano:"),qa=Object(pe.h)(Pe,{title:"Tensione"},Object(pe.h)("p",null,"E' forza trasmessa tra due estremi di una fune."),Object(pe.h)("p",null,"Può essere redirezionata per mezzo di carrucole.")),Da=Object(pe.h)("p",null,"Una molla cerca sempre di tornare alla sua posizione indeformata con forza:"),Fa=Object(pe.h)("p",null,"(E' negativa perchè la forza è opposta a quella applicata per deformarla.)"),Ba=Object(pe.h)("p",null,"È un vettore che indica la posizione di un corpo rispetto a un'origine."),Na=Object(pe.h)("p",null,"È un vettore che misura la variazione di posizione nel tempo."),Ra=Object(pe.h)("p",null,"Se si considera un intervallo di tempo infinitesimale si dice ",Object(pe.h)("i",null,"velocità istantanea"),":"),Ha=Object(pe.h)("p",null,"È un vettore che misura la variazione di velocità nel tempo."),Ua=Object(pe.h)("p",null,"Se si considera un intervallo di tempo infinitesimale si dice ",Object(pe.h)("i",null,"accelerazione istantanea"),":"),Va=Object(pe.h)("span",null,"Quantità di moto ",Object(pe.h)("small",null,"(momento lineare)")),Wa=Object(pe.h)("p",null,"La quantità di moto è una proprietà vettoriale dei corpi:"),$a=Object(pe.h)("p",null,"Se la forza risultante è nulla, la quantità di moto non cambia."),Ga=Object(pe.h)("p",null,"La ",Object(pe.h)("i",null,"legge oraria")," è:"),Za=Object(pe.h)("p",null,"È costante:"),Ka=Object(pe.h)("p",null,"La velocità non varia:"),Ya=Object(pe.h)(Pe,{title:"Forze"},Object(pe.h)("p",null,"Si applica la prima legge di Newton:"),Object(pe.h)("p",null,Object(pe.h)(Re,null,"f(t) = 0"))),Qa=Object(pe.h)("p",null,"La ",Object(pe.h)("i",null,"legge oraria")," è:"),Xa=Object(pe.h)("p",null,"È una retta:"),Ja=Object(pe.h)("p",null,"È costante:"),er=Object(pe.h)(Pe,{title:"Forze"},Object(pe.h)("p",null,"Si applica la prima legge di Newton:"),Object(pe.h)("p",null,Object(pe.h)(Re,null,"f(t) = m a"))),tr=Object(pe.h)(Pe,{title:"Ampiezza"},Object(pe.h)("p",null,"E' la distanza dal centro massima che raggiunge il corpo."),Object(pe.h)("p",null,"(L'ampiezza di una sinusoide.)")),nr=Object(pe.h)("p",null,"Indica quanto in fretta cambia la posizione del corpo."),ar=Object(pe.h)("p",null,"Dipende dal periodo:"),rr=Object(pe.h)("p",null,"E' una sinusoide:"),ir=Object(pe.h)(Pe,{title:"Forze"},Object(pe.h)("p",null,"Si applica la prima legge di Newton:"),Object(pe.h)("p",null,Object(pe.h)(Re,null,"f(t) = m a"))),or=Object(pe.h)(Pe,{title:"Moto parabolico"},Object(pe.h)("p",null,"Il moto parabolico è dato sommando un moto rettilineo uniforme sull'asse orizzontale e un moto rettilineo uniformemente accelerato sull'asse verticale.")),lr=Object(pe.h)("h3",null,"Velocità angolare"),cr=Object(pe.h)("p",null,"Quanto cambia la fase nel tempo."),sr=Object(pe.h)("p",null,"E' l'angolo percorso dal corpo rispetto alla posizione iniziale."),ur=Object(pe.h)("p",null,"Si applicano le formule per la circonferenza:"),pr=Object(pe.h)("p",null,"Il corpo ha sempre un accelerazione verso il centro che gli impedisce di abbandonare il moto:"),hr=Object(pe.h)("p",null,"È verso il centro e si calcola con:"),dr=Object(pe.h)("p",null,"E' compiuto da una forza che sposta un corpo."),br=Object(pe.h)("p",null,"(Se la forza non è parallela allo spostamento, il prodotto scalare ci fa considerare solo la componente parallela.)"),mr=Object(pe.h)("p",null,"Un corpo ha energia cinetica in ogni momento uguale a:"),fr=Object(pe.h)("p",null,"Se una forza effettua lavoro su un corpo, cambia la sua energia cinetica pari al lavoro effettuato:"),gr=Object(pe.h)("p",null,"Un corpo ha energia potenziale in ogni momento pari a:"),_r=Object(pe.h)("p",null,"(Con ",Object(pe.h)(Re,null,"h")," uguale a un altezza scelta come punto di riferimento.)"),jr=Object(pe.h)("p",null,"Una molla ha sempre energia potenziale elastica pari a:"),Or=Object(pe.h)("p",null,"Sono conservative le forze per le quali il lavoro compiuto non dipende dal percorso seguito per andare dalla partenza all'arrivo."),vr=Object(pe.h)("p",null,"Ad esempio, è conservativa la ",Object(pe.h)("i",null,"forza di gravità"),", ma ",Object(pe.h)("b",null,"non")," è conservativa la forza di attrito."),wr=Object(pe.h)("p",null,"Se in un sistema ci sono solo forze conservative, allora l'energia meccanica totale si conserva:"),yr=Object(pe.h)("p",null,"È la velocità di trasferimento di energia:"),kr=Object(pe.h)("p",null,"È una proprietà dei corpi che può essere ",Object(pe.h)(Ve,null,"positiva")," o ",Object(pe.h)(Ge,null,"negativa"),"."),zr=Object(pe.h)("p",null,"Si conserva: in un sistema chiuso la carica totale è costante."),Pr=Object(pe.h)("p",null,"Cariche ",Object(pe.h)(Ve,null,"opp"),Object(pe.h)(Ge,null,"oste")," si attraggono; cariche ",Object(pe.h)(Ve,null,"uguali")," si respingono."),Er=Object(pe.h)(Pe,{title:"Conduttori e isolanti"},Object(pe.h)("p",null,"Più ",Object(pe.h)("a",{href:"https://it.wikipedia.org/wiki/Ione"},"ioni")," ha un corpo, meglio la carica si muove attraverso di esso."),Object(pe.h)("p",null,"I corpi in cui la carica si muove bene sono ",Object(pe.h)("i",null,"conduttori"),", mentre quelli in cui si muove difficilmente sono ",Object(pe.h)("i",null,"isolanti"),"."),Object(pe.h)("p",null,Object(pe.h)("i",null,"Il corpo umano è un buon conduttore."))),Cr=Object(pe.h)(Se,{title:"Polarizzazione"},Object(pe.h)(Pe,{title:"Polarizzazione"},Object(pe.h)("p",null,"E' possibile polarizzare un corpo per accumulare la carica di un segno in una certa zona."))),Sr=Object(pe.h)(Se,null,Object(pe.h)(Pe,{title:"Messa a terra"},Object(pe.h)("p",null,"Se un corpo conduttore è in contatto con la Terra, le cariche su di esso saranno ",Object(pe.h)("i",null,"equilibrate")," e il corpo diventerà elettricamente neutro (con stesso numero di ",Object(pe.h)(Ve,null,"cariche positive")," e ",Object(pe.h)(Ge,null,"negative")," all'interno)."))),xr=Object(pe.h)(Se,null,Object(pe.h)(Pe,{title:"Polarizzazione per strofinio"},Object(pe.h)("p",null,"Strofinando tra loro due corpi isolanti, essi si ",Object(pe.h)("i",null,"polarizzeranno per strofinio"),".")),Object(pe.h)(Pe,{title:"Polarizzazione per contatto"},Object(pe.h)("p",null,"Toccando un conduttore con un corpo carico, il conduttore potrà ",Object(pe.h)("i",null,"polarizzarsi per contatto"),".")),Object(pe.h)(Pe,{title:"Polarizzazione per induzione"},Object(pe.h)("p",null,'Se un corpo conduttore ha cariche "esterne" di un ',Object(pe.h)(Ve,null,"certo segno")," vicino, esso avrà tutte le cariche del ",Object(pe.h)(Ge,null,"segno opposto")," in equilibrio vicino alle cariche esterne, e tutte le cariche dello ",Object(pe.h)(Ve,null,"stesso segno")," più lontano possibile da esse."),Object(pe.h)("p",null,"Mettendo a terra il conduttore, nuove cariche del ",Object(pe.h)(Ge,null,"segno opposto")," saranno attratte all'interno del corpo per equilibrare le cariche che si sono allontanate."),Object(pe.h)("p",null,"Staccando il conduttore da terra e rimuovendo le cariche esterne, esso si ritroverà ",Object(pe.h)(Ge,null,"caricato del segno opposto")," rispetto alle cariche esterne."))),Ar=Object(pe.h)("p",null,"Due corpi carichi si attraggono tra loro con forza:"),Lr=Object(pe.h)("i",null,"costante di Coulomb"),Mr=Object(pe.h)("i",null,"permeabilità del vuoto"),Tr=Object(pe.h)("p",null,"Misura che forza viene applicata in ogni punto su una carica unitaria:"),Ir=Object(pe.h)("p",null,'È la differenza tra "quanto" campo elettrico ',Object(pe.h)(Ve,null,"entra")," e quanto campo elettrico ",Object(pe.h)(Ge,null,"esce")," da una certa area."),qr=Object(pe.h)("p",null,"In qualsiasi superficie chiusa, il flusso elettrico è uguale alla componente perpendicolare del campo elettrico moltiplicato per l'area."),Dr=Object(pe.h)("p",null,"Se il campo elettrico è uniforme, se ne può calcolare facilmente il valore:"),Fr=Object(pe.h)("p",null,Object(pe.h)(Le,null,"Circa. E' una specie di integrale...")),Br=Object(pe.h)("p",null,"Il flusso elettrico è direttamente proporzionale alla carica presente all'interno della superficie."),Nr=Object(pe.h)("p",null,"Ovvero, i campi elettrostatici sono generati dalle cariche elettriche."),Rr=Object(pe.h)("i",null,"energia potenziale elettrica"),Hr=Object(pe.h)("span",null,"Potenziale elettrico ",Object(pe.h)("small",null,"(tensione)")),Ur=Object(pe.h)("p",null,"È il valore dell'energia potenziale elettrica per una carica unitaria."),Vr=Object(pe.h)("p",null,"In una batteria è detto ",Object(pe.h)("i",null,"forza elettromotrice"),", e corrisponde al lavoro compiuto da una batteria ideale per spostare una carica unitaria tra i due poli."),Wr=Object(pe.h)("span",null,"Corrente elettrica ",Object(pe.h)("small",null,"(intensità)")),$r=Object(pe.h)("p",null,"Quanta carica passa attraverso un'area (perpendicolare al flusso) nel tempo."),Gr=Object(pe.h)("p",null,"Fintanto che c'è differenza di potenziale, ci sarà anche intensità non nulla."),Zr=Object(pe.h)(Pe,{title:Object(pe.h)("span",null,"Corrente continua ",Object(pe.h)("small",null,"(",Object(pe.h)("abbr",{title:"Direct Current"},"DC"),")"))},Object(pe.h)("p",null,"Quando in un circuito la direzione della corrente è costante.")),Kr=Object(pe.h)(Pe,{title:Object(pe.h)("span",null,"Corrente alternata ",Object(pe.h)("small",null,"(",Object(pe.h)("abbr",{title:"Alternate Current"},"AC"),")"))},Object(pe.h)("p",null,"Quando in un circuito la direzione della corrente si alterna periodicamente.")),Yr=Object(pe.h)("p",null,"Possiamo calcolare la potenza di un circuito:"),Qr=Object(pe.h)("p",null,"Riduce l'intensità di corrente, e converte parte del potenziale in calore."),Xr=Object(pe.h)("p",null,"Il potenziale utilizzato è pari a:"),Jr=Object(pe.h)("i",null,"resistenza"),ei=Object(pe.h)("p",null,"La resistenza di un conduttore vale:"),ti=Object(pe.h)("i",null,"resistività"),ni=Object(pe.h)("p",null,"Immagazzina potenziale elettrico, permettendo di riutilizzarla in seguito."),ai=Object(pe.h)("p",null,"Per farlo, cattura cariche ",Object(pe.h)(Ve,null,"positive")," e ",Object(pe.h)(Ge,null,"negative")," sulle sue due armature; perchè questo avvenga, deve essere compiuto lavoro."),ri=Object(pe.h)("p",null,"Ha una ",Object(pe.h)("b",null,"capacità")," caratteristica, che in un condensatore a facce piane parallele è:"),ii=Object(pe.h)("p",null,"Condensatori di capacità maggiore immagazzinano più potenziale con meno carica."),oi=Object(pe.h)("p",null,"La capacità aumenta se viene messo qualcosa tra le armature:"),li=Object(pe.h)("i",null,"costante dielettrica relativa"),ci=Object(pe.h)("p",null,"Se il campo elettrico creatosi tra le due armature supera la ",Object(pe.h)("i",null,"rigidità dielettrica")," del condensatore, la carica immagazzinata viene persa e ha luogo un ",Object(pe.h)("i",null,"breakdown"),"."),si=Object(pe.h)(Pe,{title:"Amperometro"},Object(pe.h)("p",null,"Misura la corrente elettrica se messo in serie."),Object(pe.h)("p",null,"(Funzionamento: ha una resistenza interna bassisima in modo da non influire significativamente sulla corrente.)")),ui=Object(pe.h)(Pe,{title:"Voltmetro"},Object(pe.h)("p",null,"Misura la differenza di potenziale se messo in parallelo."),Object(pe.h)("p",null,"(Funzionamento: ha una resistenza altissima in modo da non influire significativamente sulla tensione.)")),pi=Object(pe.h)(Se,{title:"Principi di Kirchhoff"},Object(pe.h)(Pe,{title:"Legge dei nodi"},Object(pe.h)("p",null,"Per nodo si intende un qualsiasi punto del circuito."),Object(pe.h)("p",null,"Da un nodo entra ed esce la stessa corrente.")),Object(pe.h)(Pe,{title:"Legge delle maglie"},Object(pe.h)("p",null,"Per maglia si intende un qualsiasi percorso chiuso all'interno del circuito."),Object(pe.h)("p",null,"In una maglia chiusa, la somma delle differenze di potenziale è 0."))),hi=Object(pe.h)(Se,{title:"Serie e Parallelo"},Object(pe.h)(Pe,{title:"Circuito in serie"},Object(pe.h)("p",null,"Più parti di circuito sono ",Object(pe.h)("i",null,"in serie")," se sono consecutive e senza biforcazioni."),Object(pe.h)("p",null,"Parti di circuito in serie sono attraversate dalla stessa corrente.")),Object(pe.h)(Pe,{title:"Circuito in parallelo"},Object(pe.h)("p",null,"Più parti di circuito sono ",Object(pe.h)("i",null,"in parallelo")," tra loro se hanno lo stesso punto di partenza e lo stesso punto di arrivo."),Object(pe.h)("p",null,"Parti di circuito in parallelo hanno la stessa differenza di potenziale."))),di=Object(pe.h)("p",null,"Nei circuiti in serie, tutte le resistenze possono essere sostituite con una equivalente dalla resistenza della somma di tutte le quelle sostituite:"),bi=Object(pe.h)("p",null,"Nei circuiti in parallelo, tutte le resistenze possono essere sostituite con una equivalente dalla resistenza di:"),mi=Object(pe.h)("p",null,"Nei circuiti in serie, tutti i condensatori possono essere sostituiti con uno equivalente dalla capacità di:"),fi=Object(pe.h)("p",null,"Nei circuiti in parallelo, tutte i condensatori possono essere sostituite con uno equivalente dalla capacità della somma di tutti quelli sostituiti:"),gi=Object(pe.h)("p",null,"E' una costante fisica fondamentale che rappresenta quanto un materiale si magnetizza facilmente."),_i=Object(pe.h)("p",null,"Come un campo elettrico, ma per i magneti."),ji=Object(pe.h)(Re,null,"T"),Oi=Object(pe.h)("p",null,'È "quanto" campo magnetico ',Object(pe.h)("b",null,"attraversa")," un percorso chiuso."),vi=Object(pe.h)("p",null,'Per qualsiasi percorso chiuso, il flusso magnetico è uguale alla somma di tutti i "sottoflussi" magnetici calcolati sui suoi lati.'),wi=Object(pe.h)(Pe,{title:"Legge di Gauss per i campi magnetici"},Object(pe.h)("p",null,"Il flusso magnetico attraverso qualsiasi superficie chiusa è sempre nullo."),Object(pe.h)("p",null,"Ovvero, non esistono monopoli magnetici.")),yi=Object(pe.h)("p",null,"L'intensità di corrente che attraversa un percorso chiuso è direttamente proporzionale al flusso magnetico dello stesso percorso."),ki=Object(pe.h)("span",null,"Forza magnetica su carica puntiforme ",Object(pe.h)("small",null,"(Forza di Lorentz)")),zi=Object(pe.h)("p",null,"I campi magnetici applicano una forza sulle cariche vicine:"),Pi=Object(pe.h)("p",null,"Si ha una forza massima se la velocità è perpendicolare al campo magnetico."),Ei=Object(pe.h)("p",null,"In un campo magnetico uniforme, una velocità perpendicolare al campo porta alla creazione di un moto circolare uniforme."),Ci=Object(pe.h)("p",null,"I campi magnetici influenzano ovviamente anche le cariche presenti in un conduttore:"),Si=Object(pe.h)("a",{href:"https://it.openprof.com/wb/forza_di_lorentz_su_un_filo_percorso_da_corrente?ch=360"},"[1]"),xi=Object(pe.h)(Pe,{title:"Campo magnetico in una spira"},Object(pe.h)("p",null,"Una spira in cui passa corrente produce un campo magnetico perpendicolare al piano creato dalla spira.")),Ai=Object(pe.h)("p",null,"Un solenoide sono tante spire avvolte in modo da formare una specie di cilindro."),Li=Object(pe.h)("p",null,"All'interno del solenoide si crea un campo (quasi) uniforme:"),Mi=Object(pe.h)("p",null,Object(pe.h)("i",null,"Caso particolare della ",Object(pe.h)("a",{href:"https://it.wikipedia.org/wiki/Legge_di_Amp%C3%A8re"},"Legge di Ampère"),".")),Ti=Object(pe.h)("p",null,"Il modulo del campo magnetico ",Object(pe.h)(Re,null,"B")," prodotto da un filo in cui passa una corrente continua ",Object(pe.h)(Re,null,"I")," alla distanza ",Object(pe.h)(Re,null,"s")," è:"),Ii=Object(pe.h)("p",null,"Il campo magnetico così creato gira attorno al filo in senso antiorario."),qi=Object(pe.h)("p",null,"Due fili attraversati dalla ",Object(pe.h)(Ve,null,"stessa corrente")," si attraggono, due fili attraversati da ",Object(pe.h)(Ve,null,"corr"),Object(pe.h)(Ge,null,"enti")," ",Object(pe.h)(Ve,null,"opp"),Object(pe.h)(Ge,null,"oste")," si respingono."),Di=Object(pe.h)("p",null,"Un conduttore perpendicolare ad un campo magnetico può ottenere una differenza di potenziale se messo in movimento in un direzione perpendicolare alla direzione del conduttore e del campo."),Fi=Object(pe.h)("p",null,"La differenza di potenziale si crea a causa della forza magnetica, che fa spostare tutti gli elettroni verso un capo del conduttore."),Bi=Object(pe.h)("p",null,"Essa vale:"),Ni=Object(pe.h)("p",null,"Dove ",Object(pe.h)(Re,null,"v")," è la velocità del conduttore, ",Object(pe.h)(Re,null,"B")," è l'intensità del campo magnetico ed ",Object(pe.h)(Re,null,"L")," è la lunghezza del conduttore."),Ri=Object(pe.h)("i",null,"Legge di Faraday-Neumann-Lenz"),Hi=Object(pe.h)("p",null,"Dice che la forza elettromotrice media indotta in un percorso dipende dalla variazione nel tempo del flusso magnetico nello stesso percorso."),Ui=Object(pe.h)("p",null,"Il meno è dovuto alla ",Object(pe.h)("a",{href:"https://it.wikipedia.org/wiki/Legge_di_Lenz"},"Legge di Lenz"),", che specifica qualitativamente il verso della forza elettromotrice indotta."),Vi=Object(pe.h)("p",null,"In un solenoide, la forza elettromotrice indotta è uguale a:"),Wi=Object(pe.h)(Pe,{title:"Legge di Ampère-Maxwell"},Object(pe.h)("p",null,"Correnti o campi elettrici variabili creano un campo magnetico.")),$i=Object(pe.h)("p",null,"Si dice quindi che sono ",Object(pe.h)("i",null,"onde elettromagnetiche"),"."),Gi=Object(pe.h)("p",null,"Esse sono legate dalla relazione:"),Zi=Object(pe.h)("p",null,"I solidi, se portati ad alta temperatura, emettono luce con uno ",Object(pe.h)("a",{href:"https://it.wikipedia.org/wiki/Spettro_continuo"},"spettro continuo"),"."),Ki=Object(pe.h)("p",null,"I gas, invece, ad alta temperatura emettono luce solo con particolari lunghezze d'onda."),Yi=Object(pe.h)("p",null,"In un gas di idrogeno, le lunghezze d'onda emesse sono ricavabili con:"),Qi=Object(pe.h)("p",null,"Una grandezza si dice quantizzata (o discreta) se può assumere solo determinati valori."),Xi=Object(pe.h)("p",null,"Una grandezza si dice continua se può assumere qualsiasi valore e quindi se non è quantizzata."),Ji=Object(pe.h)("p",null,"Energia, momento angolare e raggio sono quantizzati."),eo=Object(pe.h)("p",null,"L'energia degli elettroni è quantizzata."),to=Object(pe.h)("p",null,"Inoltre, per essi è valido che:"),no=Object(pe.h)("p",null,"Ancora, il raggio delle orbite è uguale a:"),ao=Object(pe.h)("p",null,"Infine, in ogni stato, l'energia è pari a:"),ro=Object(pe.h)("p",null,"Due elettroni non possono occupare lo stesso stato."),io=Object(pe.h)("p",null,"Questo modello funziona solo per atomi con numero atomico basso. Atomi con molti elettroni hanno comportamenti diversi, descritti dal modello di"),oo=Object(pe.h)(Se,null,Object(pe.h)(Pe,{title:"Nei solidi"},Object(pe.h)("p",null,"Nei solidi, le lunghezze d'onda sono talmente tanto vicine da poter essere considerate una banda."),Object(pe.h)("p",null,"Possono però comunque avere dei gap dovuti agli intervalli di energia non ammessi."))),lo=Object(pe.h)("p",null,Object(pe.h)(Le,null,"Refactor this")),co=Object(pe.h)("p",null,"Se invece la banda di emissione si sovrappone a un altra, allora il corpo è un conduttore."),so=Object(pe.h)(Pe,{title:"Lacune"},Object(pe.h)("p",null,"Legami in cui ",Object(pe.h)(Ve,null,"mancano elettroni"),"."),Object(pe.h)("p",null,Object(pe.h)(Ge,null,"Elettroni")," di altri legami possono spostarsi per colmare le ",Object(pe.h)(Ve,null,"lacune"),", creandone altre, e spostandole in direzione opposta a quella della corrente.")),uo=Object(pe.h)(Pe,{title:"Accettori e donori"},Object(pe.h)("p",null,"Se si inserisce in un cristallo semiconduttore si inserisce un atomo con numero atomico diverso, si otterrà:"),Object(pe.h)("ul",null,Object(pe.h)("li",null,"Con numero atomico maggiore, un semiconduttore di ",Object(pe.h)(Ge,null,"tipo N")," con ",Object(pe.h)(Ge,null,"elettroni in eccesso")," liberi di scorrere."),Object(pe.h)("li",null,"Con numero atomico minore, un semiconduttore di ",Object(pe.h)(Ve,null,"tipo P")," con ",Object(pe.h)(Ve,null,"lacune in eccesso")," libere di catturare elettroni da altri legami.")),Object(pe.h)("p",null,"Maggiore impurezza porta a maggiore conduttività.")),po=Object(pe.h)(Pe,{title:"Temperatura"},Object(pe.h)("p",null,"Aumentando la temperatura di un semiconduttore si aumenta la conduttività, perchè eccita le particelle e favorisce il movimento di ",Object(pe.h)(Ge,null,"elettroni")," e ",Object(pe.h)(Ve,null,"lacune"),".")),ho=Object(pe.h)("span",null,"Ottica ",Object(pe.h)("small",null,"(non l'abbiamo fatta)")),bo=Object(pe.h)(Pe,{title:"Assorbimento e riflessione"},Object(pe.h)("p",null,"I corpi possono assorbire o riflettere le onde elettromagnetiche che li colpiscono.")),mo=Object(pe.h)("p",null,"Un corpo nero è un corpo che assorbe tutte le onde elettromagnetiche che riceve senza rifletterne nessuna."),fo=Object(pe.h)(Pe,{title:"Teoria di Planck per il corpo nero"},Object(pe.h)("p",null,"L'energia assorbita e emessa dai corpi neri è quantizzata.")),go=Object(pe.h)("p",null,"Un onda magnetica con un quanto di energia è detta ",Object(pe.h)("i",null,"fotone"),":"),_o=Object(pe.h)(Pe,{title:"Effetto fotoelettrico"},Object(pe.h)("p",null,"A volte, i fotoni che colpiscono un metallo possono estrarvi degli elettroni e creare una differenza di potenziale."),Object(pe.h)("p",null,"Perchè avvenga, la frequenza deve essere maggiore di una certa soglia."),Object(pe.h)("p",null,"Il numero di elettroni estratti dipende dall'intensità dell'onda, mentre l'energia cinetica degli elettroni dipende dalla frequenza."),Object(pe.h)("p",null,"Non c'è nessun ritardo tra l'assorbimento del fotone e l'estrazione di elettroni.")),jo=function(e){function t(){return U(this,t),V(this,e.apply(this,arguments))}return W(t,e),t.prototype.render=function(){return Object(pe.h)("div",{style:Fe.a.fisica},ba,Object(pe.h)(Se,{title:"Vettori"},Object(pe.h)(Pe,{title:"Componenti cartesiane"},ma,Object(pe.h)("p",null,Object(pe.h)(Re,null,da(Ze))),Object(pe.h)("p",null,Object(pe.h)(Re,null,da(Ke))),Object(pe.h)("p",null,Object(pe.h)(Re,null,da(Ye)))),Object(pe.h)(Pe,{title:"Somma"},fa,Object(pe.h)("p",null,Object(pe.h)(Re,null,da(Qe))),ga),Object(pe.h)(Pe,{title:"Differenza"},_a,Object(pe.h)("p",null,Object(pe.h)(Re,null,da(Xe))),ja),Object(pe.h)(Pe,{title:"Prodotto scalare"},Oa,Object(pe.h)("p",null,Object(pe.h)(Re,null,da(Je))),Object(pe.h)("p",null,"Produce il modulo della proiezione di ",Object(pe.h)(Re,null,da(et))," su ",Object(pe.h)(Re,null,da(tt)),".")),Object(pe.h)(Pe,{title:"Prodotto vettoriale"},va,Object(pe.h)("ul",null,Object(pe.h)("li",null,Object(pe.h)(Re,null,da(nt))),Object(pe.h)("li",null,Object(pe.h)(Re,null,da(at))),wa),ya)),Object(pe.h)(Se,{title:"Leggi di Newton"},Object(pe.h)(Pe,{title:"1ᵃ: Inerzia"},ka,Object(pe.h)("p",null,Object(pe.h)(Re,null,da(rt)))),Object(pe.h)(Pe,{title:"2ᵃ: Proporzionalità"},za,Object(pe.h)("p",null,Object(pe.h)(Re,null,da(it)))),Object(pe.h)(Pe,{title:"3ᵃ: Azione e reazione"},Pa,Object(pe.h)("p",null,Object(pe.h)(Re,null,da(ot))))),Object(pe.h)(Se,{title:"Forza di gravità"},Object(pe.h)(Pe,{title:"Tra due corpi"},Ea,Object(pe.h)("p",null,Object(pe.h)(Re,null,da(lt))),Ca,Object(pe.h)("p",null,Object(pe.h)(Re,null,da(ct)))),Object(pe.h)(Pe,{title:"Verso la Terra"},Sa,Object(pe.h)("p",null,Object(pe.h)(Re,null,da(st))),xa,Object(pe.h)("p",null,Object(pe.h)(Re,null,da(ut)))),Object(pe.h)(Pe,{title:"Su pianeti diversi"},Aa,Object(pe.h)("p",null,Object(pe.h)(Re,null,da(st))),La,Object(pe.h)("p",null,Object(pe.h)(Re,null,da(pt))),Object(pe.h)("p",null,Object(pe.h)(Re,null,da(ht))))),Object(pe.h)(Se,{title:"Forze di contatto"},Ma,Object(pe.h)(Pe,{title:"Attrito statico"},Ta,Object(pe.h)("p",null,Object(pe.h)(Re,null,da(dt)))),Object(pe.h)(Pe,{title:"Attrito dinamico"},Ia,Object(pe.h)("p",null,Object(pe.h)(Re,null,da(bt)))),qa,Object(pe.h)(Pe,{title:"Elastica"},Da,Object(pe.h)("p",null,Object(pe.h)(Re,null,da(mt))),Fa)),Object(pe.h)(Se,{title:"Cinematica"},Object(pe.h)(Pe,{title:"Spostamento"},Ba,Object(pe.h)("p",null,Object(pe.h)(Re,null,da(ft)))),Object(pe.h)(Pe,{title:"Velocità"},Na,Object(pe.h)("p",null,Object(pe.h)(Re,null,da(gt))),Ra,Object(pe.h)("p",null,Object(pe.h)(Re,null,da(_t)))),Object(pe.h)(Pe,{title:"Accelerazione"},Ha,Object(pe.h)("p",null,Object(pe.h)(Re,null,da(jt))),Ua,Object(pe.h)("p",null,Object(pe.h)(Re,null,da(Ot)))),Object(pe.h)(Pe,{title:Va},Wa,Object(pe.h)("p",null,Object(pe.h)(Re,null,da(vt))),$a,Object(pe.h)("p",null,Object(pe.h)(Re,null,da(wt))))),Object(pe.h)(Se,{title:"Moto rettilineo uniforme"},Object(pe.h)(Pe,{title:"Spostamento"},Ga,Object(pe.h)("p",null,Object(pe.h)(Re,null,da(yt)))),Object(pe.h)(Pe,{title:"Velocità"},Za,Object(pe.h)("p",null,Object(pe.h)(Re,null,da(kt)))),Object(pe.h)(Pe,{title:"Accelerazione"},Ka,Object(pe.h)("p",null,Object(pe.h)(Re,null,da(zt)))),Ya),Object(pe.h)(Se,{title:"Moto rettilineo uniformemente accelerato"},Object(pe.h)(Pe,{title:"Spostamento"},Qa,Object(pe.h)("p",null,Object(pe.h)(Re,null,da(Pt)))),Object(pe.h)(Pe,{title:"Velocità"},Xa,Object(pe.h)("p",null,Object(pe.h)(Re,null,da(Et)))),Object(pe.h)(Pe,{title:"Accelerazione"},Ja,Object(pe.h)("p",null,Object(pe.h)(Re,null,da(Ct)))),er),Object(pe.h)(Se,{title:"Moto armonico semplice"},tr,Object(pe.h)(Pe,{title:"Velocità angolare"},nr,ar,Object(pe.h)("p",null,Object(pe.h)(Re,null,da(St)))),Object(pe.h)(Pe,{title:"Spostamento"},rr,Object(pe.h)("p",null,Object(pe.h)(Re,null,da(xt)))),Object(pe.h)(Pe,{title:"Velocità"},Object(pe.h)("p",null,"E' la sinusoide dello spostamento, sfasata di ",Object(pe.h)(Re,null,da(At)),":"),Object(pe.h)("p",null,Object(pe.h)(Re,null,da(Lt)))),Object(pe.h)(Pe,{title:"Accelerazione"},Object(pe.h)("p",null,"E' la sinusoide della velocità, sfasata di ",Object(pe.h)(Re,null,da(Mt)),":"),Object(pe.h)("p",null,Object(pe.h)(Re,null,da(Tt)))),ir),Object(pe.h)(Se,{title:"Moti composti"},or,Object(pe.h)(Pe,{title:"Moto circolare uniforme"},Object(pe.h)("p",null,"Il moto parabolico è dato sommando due moti armonici semplici: uno sull'asse X, e l'altro, sfasato di ",Object(pe.h)(Re,null,da(At)),", sull'asse Y."))),Object(pe.h)(Se,{title:"Moto circolare uniforme"},Object(pe.h)(Pe,null,lr,cr,Object(pe.h)("p",null,Object(pe.h)(Re,null,da(St)))),Object(pe.h)(Pe,{title:"Fase"},sr,Object(pe.h)("p",null,"Si indica con ",Object(pe.h)(Re,null,da(It)),", e generalmente si usa in radianti.")),Object(pe.h)(Pe,{title:"Velocità"},ur,Object(pe.h)("p",null,Object(pe.h)(Re,null,da(qt)))),Object(pe.h)(Pe,{title:"Accelerazione"},pr,Object(pe.h)("p",null,Object(pe.h)(Re,null,da(Dt)))),Object(pe.h)(Pe,{title:"Forza centripeta"},hr,Object(pe.h)("p",null,Object(pe.h)(Re,null,da(Ft))))),Object(pe.h)(Se,{title:"Lavoro ed energia"},Object(pe.h)(Pe,{title:"Lavoro"},dr,Object(pe.h)("p",null,Object(pe.h)(Re,null,da(Bt))),br),Object(pe.h)(Pe,{title:"Energia cinetica"},mr,Object(pe.h)("p",null,Object(pe.h)(Re,null,da(Nt))),fr,Object(pe.h)("p",null,Object(pe.h)(Re,null,da(Rt)))),Object(pe.h)(Pe,{title:"Energia potenziale gravitazionale"},gr,Object(pe.h)("p",null,Object(pe.h)(Re,null,da(Ht))),_r),Object(pe.h)(Pe,{title:"Energia potenziale elastica"},jr,Object(pe.h)("p",null,Object(pe.h)(Re,null,da(Ut)))),Object(pe.h)(Pe,{title:"Forze conservative"},Or,vr,wr,Object(pe.h)("p",null,Object(pe.h)(Re,null,da(Vt)))),Object(pe.h)(Pe,{title:"Potenza"},yr,Object(pe.h)("p",null,Object(pe.h)(Re,null,da(Wt))))),Object(pe.h)(Se,{title:"Elettrostatica"},Object(pe.h)(Pe,{title:"Carica elettrica"},kr,zr,Object(pe.h)("p",null,"Esiste un'unità elementare: ",Object(pe.h)(Re,null,da($t)),"."),Pr),Er),Cr,Sr,xr,Object(pe.h)(Se,{title:"Forza elettrica"},Object(pe.h)(Pe,{title:"Legge di Coulomb"},Ar,Object(pe.h)("p",null,Object(pe.h)(Re,null,da(Gt))),Object(pe.h)("p",null,Object(pe.h)(Re,null,da(Zt))," è la ",Lr,", e vale ",Object(pe.h)(Re,null,da(Kt)),".")),Object(pe.h)(Pe,{title:"Permeabilità dello spazio vuoto"},Object(pe.h)("p",null,"La costante ",Object(pe.h)(Re,null,da(Zt))," è in realtà dipendente da un altra costante, ",Object(pe.h)(Re,null,da(Yt)),", la ",Mr,"."),Object(pe.h)("p",null,Object(pe.h)(Re,null,da(Qt))),Object(pe.h)("p",null,Object(pe.h)(Re,null,da(Xt)))),Object(pe.h)(Pe,{title:"Campo elettrico"},Tr,Object(pe.h)("p",null,Object(pe.h)(Re,null,da(Jt)))),Object(pe.h)(Pe,{title:"Flusso elettrico"},Ir,qr,Object(pe.h)("p",null,Object(pe.h)(Re,null,da(en))),Dr,Object(pe.h)("p",null,Object(pe.h)(Re,null,da(tn))),Fr),Object(pe.h)(Pe,{title:"Legge di Gauss per i campi elettrostatici"},Br,Object(pe.h)("p",null,Object(pe.h)(Re,null,da(nn))),Nr)),Object(pe.h)(Se,{title:"Energia elettrica"},Object(pe.h)(Pe,{title:"Energia potenziale elettrica"},Object(pe.h)("p",null,"Un corpo carico vicino ad altre cariche possiede un'",Rr," ",Object(pe.h)(Re,null,da(an)),"."))),Object(pe.h)(Se,{title:"Circuiti elettrici"},Object(pe.h)(Pe,{title:Hr},Ur,Object(pe.h)("p",null,Object(pe.h)(Re,null,da(rn))),Object(pe.h)("p",null,"La sua unità di misura è il Volt (",Object(pe.h)(Re,null,da(on)),")."),Vr),Object(pe.h)(Pe,{title:Wr},$r,Object(pe.h)("p",null,Object(pe.h)(Re,null,da(ln))),Gr,Object(pe.h)("p",null,"La sua unità di misura è l'Ampere (",Object(pe.h)(Re,null,da(cn)),").")),Zr,Kr,Object(pe.h)(Pe,{title:"Potenza elettrica"},Yr,Object(pe.h)("p",null,Object(pe.h)(Re,null,da(sn))))),Object(pe.h)(Se,{title:"Elementi di un circuito"},Object(pe.h)(Pe,{title:"Resistore"},Qr,Xr,Object(pe.h)("p",null,Object(pe.h)(Re,null,da(un))),Object(pe.h)("p",null,"Dove ",Object(pe.h)(Re,null,da(pn))," è una costante detta ",Jr," con unità di misura Ohm (",Object(pe.h)(Re,null,da(hn)),")."),ei,Object(pe.h)("p",null,Object(pe.h)(Re,null,da(dn))),Object(pe.h)("p",null,Object(pe.h)(Re,null,da(bn))," è la ",ti," del materiale, e varia in base alla temperatura:"),Object(pe.h)("p",null,Object(pe.h)(Re,null,da(mn)))),Object(pe.h)(Pe,{title:"Condensatore"},ni,ai,ri,Object(pe.h)("p",null,Object(pe.h)(Re,null,da(fn))),ii,oi,Object(pe.h)("p",null,Object(pe.h)(Re,null,da(gn))),Object(pe.h)("p",null,"Dove ",Object(pe.h)(Re,null,da(_n))," è la ",li," del materiale inserito, ",Object(pe.h)(Re,null,da(cn))," l'area di una armatura e ",Object(pe.h)(Re,null,da(jn))," la distanza tra le due armature."),ci,Object(pe.h)("p",null,"La sua unità di misura è il Farad (",Object(pe.h)(Re,null,da(On)),")")),si,ui),pi,hi,Object(pe.h)(Se,{title:"Resistenze equivalenti"},Object(pe.h)(Pe,{title:"Circuiti in serie"},di,Object(pe.h)("p",null,Object(pe.h)(Re,null,da(vn)))),Object(pe.h)(Pe,{title:"Circuiti in parallelo"},bi,Object(pe.h)("p",null,Object(pe.h)(Re,null,da(wn))))),Object(pe.h)(Se,{title:"Condensatori equivalenti"},Object(pe.h)(Pe,{title:"Circuiti in serie"},mi,Object(pe.h)("p",null,Object(pe.h)(Re,null,da(yn)))),Object(pe.h)(Pe,{title:"Circuiti in parallelo"},fi,Object(pe.h)("p",null,Object(pe.h)(Re,null,da(kn))))),Object(pe.h)(Se,{title:"Magnetismo"},Object(pe.h)(Pe,{title:"Permeabilità magnetica dello spazio vuoto"},gi,Object(pe.h)("p",null,Object(pe.h)(Re,null,da(zn))," (",Object(pe.h)(Re,null,da(Pn)),")")),Object(pe.h)(Pe,{title:"Campo magnetico"},_i,Object(pe.h)("p",null,"Il suo simbolo è ",Object(pe.h)(Re,null,da(En)),", e la sua unità di misura è il Tesla (",ji,").")),Object(pe.h)(Pe,{title:"Flusso magnetico"},Oi,vi,Object(pe.h)("p",null,Object(pe.h)(Re,null,da(Cn))),Object(pe.h)("p",null,Object(pe.h)(Re,null,da(Sn))),Object(pe.h)("p",null,"La sua unità di misura è il Weber (",Object(pe.h)(Re,null,da(xn)),").")),wi,Object(pe.h)(Pe,{title:"Legge di Ampère"},yi,Object(pe.h)("p",null,Object(pe.h)(Re,null,da(An))))),Object(pe.h)(Se,{title:"Forze magnetiche"},Object(pe.h)(Pe,{title:ki},zi,Object(pe.h)("p",null,Object(pe.h)(Re,null,da(Ln))),Object(pe.h)("p",null,"Dove ",Object(pe.h)(Re,null,da(Mn))," è l'intensità del campo magnetico e ",Object(pe.h)(Re,null,da(Tn))," la velocità della carica considerata."),Pi,Ei),Object(pe.h)(Pe,{title:"Forza magnetica in un filo"},Ci,Object(pe.h)("p",null,Object(pe.h)(Re,null,da(In))," ",Si),Object(pe.h)("p",null,"Dove ",Object(pe.h)(Re,null,da(qn))," è la corrente elettrica, ",Object(pe.h)(Re,null,da(Dn))," è un vettore che punta nella direzione di scorrimento della corrente e ha come modulo la lunghezza del conduttore."))),Object(pe.h)(Se,{title:"Campi magnetici"},xi,Object(pe.h)(Pe,{title:"Campo magnetico di un solenoide"},Ai,Li,Object(pe.h)("p",null,Object(pe.h)(Re,null,da(Fn)))),Object(pe.h)(Pe,{title:"Legge di Oersted"},Mi,Ti,Object(pe.h)("p",null,Object(pe.h)(Re,null,da(Bn))),Ii,qi)),Object(pe.h)(Se,{title:"Induzione elettromagnetica"},Object(pe.h)(Pe,{title:"Forza elettromotrice indotta"},Di,Fi,Bi,Object(pe.h)("p",null,Object(pe.h)(Re,null,da(Nn))),Ni),Object(pe.h)(Pe,{title:"Flusso magnetico in una spira"},Object(pe.h)("p",null,"In un campo magnetico ",Object(pe.h)(Re,null,da(En))," uniforme e perpendicolare al piano di una spira di area ",Object(pe.h)(Re,null,da(cn)),", il flusso magnetico si può determinare con la ",Ri,":"),Object(pe.h)("p",null,Object(pe.h)(Re,null,da(Rn))))),Object(pe.h)(Se,null,Object(pe.h)(Pe,{title:"Legge di Faraday-Neumann-Lenz"},Hi,Object(pe.h)("p",null,Object(pe.h)(Re,null,da(Hn))),Ui),Object(pe.h)(Pe,{title:"Faraday in un solenoide"},Vi,Object(pe.h)("p",null,Object(pe.h)(Re,null,da(Un))),Object(pe.h)("p",null,"Dove ",Object(pe.h)(Re,null,da(Vn))," è il numero delle spire del solenoide.")),Wi),Object(pe.h)(Se,{title:"Elettromagnetismo"},Object(pe.h)(Pe,{title:"Onde elettromagnetiche"},Object(pe.h)("p",null,"Nel vuoto, il campo elettrico ",Object(pe.h)(Re,null,da(Wn))," e il campo magnetico ",Object(pe.h)(Re,null,da(En))," sono perpendicolari tra loro e la direzione di propagazione, e sono entrambe funzioni del tempo."),$i,Gi,Object(pe.h)("p",null,Object(pe.h)(Re,null,da($n))),Object(pe.h)("p",null,"Dove ",Object(pe.h)(Re,null,da(Gn))," è la velocità delle onde (luce) nel vuoto, e a sua volta è uguale a:"),Object(pe.h)("p",null,Object(pe.h)(Re,null,da(Zn)))),Object(pe.h)(Pe,{title:"Formula delle onde"},Object(pe.h)("p",null,Object(pe.h)(Re,null,da(Kn))),Object(pe.h)("p",null,"Dove ",Object(pe.h)(Re,null,da(Yn))," è l'ampiezza massima che può avere l'onda, ",Object(pe.h)(Re,null,da(Qn))," è il vettore d'onda, ",Object(pe.h)(Re,null,da(Xn))," la frequenza angolare e ",Object(pe.h)(Re,null,da(It))," la fase."))),Object(pe.h)(Se,{title:"Spettroscopia"},Object(pe.h)(Pe,{title:"Emissione"},Zi,Ki,Yi,Object(pe.h)("p",null,Object(pe.h)(Re,null,da(Jn))),Object(pe.h)("p",null,"Con ",Object(pe.h)(Re,null,da(ea)),", detta costante di Rydberg, e ",Object(pe.h)(Re,null,da(ta))," un numero intero.")),Object(pe.h)(Pe,{title:"Grandezza quantizzata"},Qi,Xi,Ji,Object(pe.h)("p",null,"Nota costante quantica è ",Object(pe.h)(Re,null,da(na)),", la costante di Planck, ovvero il valore minimo possibile per la carica (talvolta espressa come ",Object(pe.h)(Re,null,da(aa)),"."))),Object(pe.h)(Se,null,Object(pe.h)(Pe,{title:"Modello di Bohr"},eo,to,Object(pe.h)("p",null,Object(pe.h)(Re,null,da(ra))),no,Object(pe.h)("p",null,Object(pe.h)(Re,null,da(ia))),Object(pe.h)("p",null,"Con ",Object(pe.h)(Re,null,da(oa)),"."),ao,Object(pe.h)("p",null,Object(pe.h)(Re,null,da(la))),ro,io)),oo,Object(pe.h)(Se,{title:"Semiconduttori"},Object(pe.h)(Pe,{title:"Semiconduttori"},lo,Object(pe.h)("p",null,"Se la banda di emissione con energia più alta di un corpo è assente o è separata da un gap dell'ordine di grandezza maggiore di ",Object(pe.h)(Re,null,da(ca)),", allora il corpo è un isolante."),co,Object(pe.h)("p",null,"Se il gap è invece dell'ordine di grandezza di ",Object(pe.h)(Re,null,da(sa)),", allora il corpo è un semiconduttore.")),so,uo,po),Object(pe.h)(Se,{title:ho},bo,Object(pe.h)(Pe,{title:"Corpo nero"},mo,Object(pe.h)("p",null,"Le onde assorbite vengono poi riemesse sotto forma di un onda di ",Object(pe.h)(Re,null,da(ua))," variabile in base alla temperatura."),Object(pe.h)("p",null,Object(pe.h)(Re,null,da(pa))," è costante.")),fo,Object(pe.h)(Pe,{title:"Fotone"},go,Object(pe.h)("p",null,Object(pe.h)(Re,null,da(ha)))),_o))},t}(pe.Component),Oo=n("jHTF"),vo=n.n(Oo),wo=n("MKE3"),yo=n.n(wo),ko=n("6adR"),zo=n.n(ko),Po=function(e){function t(){return $(this,t),G(this,e.apply(this,arguments))}return Z(t,e),t.prototype.render=function(){var e=new zo.a.Converter;e.setFlavor("github");var t=e.makeHtml(""+this.props.children);return Object(pe.h)("div",{style:yo.a.markdown,dangerouslySetInnerHTML:{__html:t}})},t}(pe.Component),Eo=function(e,t){return e.raw=t,e}(["\nTutte le videolezioni sono state pubblicate sotto licenza [CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/) dalla Prof.ssa Beatrice Ruini nell'anno accademico 2018/2019 sul [portale Dolly 2018](https://dolly.fim.unimore.it/2018/course/view.php?id=14#section-0) (Moodle).\n\nPer comodità, ho estratto l'url sorgente del video dall'embed presente nella rispettiva pagina.\n\n1. [Definizione di Spazio Vettoriale](https://www.youtube.com/watch?v=7eHEzf4403c) (1:17:29)\n2. [Sottospazi vettoriali I](https://www.youtube.com/watch?v=FPqrULk5HBU) (37:15)\n3. [Sottospazi vettoriali II](https://www.youtube.com/watch?v=ubDWUw9hk0k) (43:26)\n4. [Sottospazi vettoriali III](https://www.youtube.com/watch?v=381n4NPb6Oc) (40:29)\n5. [Lineare dipendenza e indipendenza](https://www.youtube.com/watch?v=9YVQ5olYrh0) (56:12)\n6. [Basi di uno spazio vettoriale I](https://www.youtube.com/watch?v=mEF_lcTzEoE) (25:52)\n7. [Basi di uno spazio vettoriale II](https://www.youtube.com/watch?v=k1r9JfXY53k) (48:24)\n8. [Teorema di Grassmann](https://www.youtube.com/watch?v=3sqB-MMyCWM) (32:36)\n9. [Basi e Matrici](https://www.youtube.com/watch?v=Rd6AB_jE7YI) (27:06)\n10. [Definizione di Applicazioni Lineari](https://www.youtube.com/watch?v=rmd7ffZeVYk) (16:23)\n11. [Proprietà delle Applicazioni Lineari](https://www.youtube.com/watch?v=MH7ztQGkqmw) (31:58)\n12. [Definizione di determinante](https://www.youtube.com/watch?v=EwubcLwBdzk) (36:43)\n13. [Proprietà e metodo di triangolazione](https://www.youtube.com/watch?v=SFusGarV6HI) (22:36)\n14. [Teorema di Laplace](https://www.youtube.com/watch?v=BqZDWnKl2nQ) (29:03)\n15. [4 applicazioni del Teorema di Laplace](https://www.youtube.com/watch?v=2tr3y725GY0) (47:53)\n16. [Spazi vettoriali euclidei reali - Parte 1](https://www.youtube.com/watch?v=W7Z1hm-jwMM) (28:46)\n17. [Spazi vettoriali euclidei reali - Parte 2](https://www.youtube.com/watch?v=zjmKE9TMGm8) (27:17)\n18. [Autovalori e autovettori](https://www.youtube.com/watch?v=XlrlcnvcTtQ) (33:00)\n19. [Polinomio caratteristico](https://www.youtube.com/watch?v=61icRbgWTdI) (31:31)\n20. [Teorema diagonalizzabilità](https://www.youtube.com/watch?v=wm5V6en9OFo) (18:49)\n21. [Spazi affini](https://player.vimeo.com/video/291457587) (20:46)\n22. [Sottospazi affini](https://player.vimeo.com/video/291458991) (21:32)\n23. [Parallelismo e Riferimenti Affini](https://player.vimeo.com/video/291510181) (16:57)\n24. [Rappresentazione di Sottospazi Affini](https://player.vimeo.com/video/291510296) (31:17)\n25. [Spazi Euclidei](https://player.vimeo.com/video/291510612) (35:57)\n26. [Teoria dei ranghi](https://player.vimeo.com/video/291510964) (9:44)\n27. [Teoria dei ranghi 2](https://player.vimeo.com/video/291510862) (14:44)\n\nNell'anno accademico 2018/2019 non sono stati trattati gli argomenti nei video 21, 22 e 23.\n "],["\nTutte le videolezioni sono state pubblicate sotto licenza [CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/) dalla Prof.ssa Beatrice Ruini nell'anno accademico 2018/2019 sul [portale Dolly 2018](https://dolly.fim.unimore.it/2018/course/view.php?id=14#section-0) (Moodle).\n\nPer comodità, ho estratto l'url sorgente del video dall'embed presente nella rispettiva pagina.\n\n1. [Definizione di Spazio Vettoriale](https://www.youtube.com/watch?v=7eHEzf4403c) (1:17:29)\n2. [Sottospazi vettoriali I](https://www.youtube.com/watch?v=FPqrULk5HBU) (37:15)\n3. [Sottospazi vettoriali II](https://www.youtube.com/watch?v=ubDWUw9hk0k) (43:26)\n4. [Sottospazi vettoriali III](https://www.youtube.com/watch?v=381n4NPb6Oc) (40:29)\n5. [Lineare dipendenza e indipendenza](https://www.youtube.com/watch?v=9YVQ5olYrh0) (56:12)\n6. [Basi di uno spazio vettoriale I](https://www.youtube.com/watch?v=mEF_lcTzEoE) (25:52)\n7. [Basi di uno spazio vettoriale II](https://www.youtube.com/watch?v=k1r9JfXY53k) (48:24)\n8. [Teorema di Grassmann](https://www.youtube.com/watch?v=3sqB-MMyCWM) (32:36)\n9. [Basi e Matrici](https://www.youtube.com/watch?v=Rd6AB_jE7YI) (27:06)\n10. [Definizione di Applicazioni Lineari](https://www.youtube.com/watch?v=rmd7ffZeVYk) (16:23)\n11. [Proprietà delle Applicazioni Lineari](https://www.youtube.com/watch?v=MH7ztQGkqmw) (31:58)\n12. [Definizione di determinante](https://www.youtube.com/watch?v=EwubcLwBdzk) (36:43)\n13. [Proprietà e metodo di triangolazione](https://www.youtube.com/watch?v=SFusGarV6HI) (22:36)\n14. [Teorema di Laplace](https://www.youtube.com/watch?v=BqZDWnKl2nQ) (29:03)\n15. [4 applicazioni del Teorema di Laplace](https://www.youtube.com/watch?v=2tr3y725GY0) (47:53)\n16. [Spazi vettoriali euclidei reali - Parte 1](https://www.youtube.com/watch?v=W7Z1hm-jwMM) (28:46)\n17. [Spazi vettoriali euclidei reali - Parte 2](https://www.youtube.com/watch?v=zjmKE9TMGm8) (27:17)\n18. [Autovalori e autovettori](https://www.youtube.com/watch?v=XlrlcnvcTtQ) (33:00)\n19. [Polinomio caratteristico](https://www.youtube.com/watch?v=61icRbgWTdI) (31:31)\n20. [Teorema diagonalizzabilità](https://www.youtube.com/watch?v=wm5V6en9OFo) (18:49)\n21. [Spazi affini](https://player.vimeo.com/video/291457587) (20:46)\n22. [Sottospazi affini](https://player.vimeo.com/video/291458991) (21:32)\n23. [Parallelismo e Riferimenti Affini](https://player.vimeo.com/video/291510181) (16:57)\n24. [Rappresentazione di Sottospazi Affini](https://player.vimeo.com/video/291510296) (31:17)\n25. [Spazi Euclidei](https://player.vimeo.com/video/291510612) (35:57)\n26. [Teoria dei ranghi](https://player.vimeo.com/video/291510964) (9:44)\n27. [Teoria dei ranghi 2](https://player.vimeo.com/video/291510862) (14:44)\n\nNell'anno accademico 2018/2019 non sono stati trattati gli argomenti nei video 21, 22 e 23.\n "]),Co=String.raw,So=Object(pe.h)("h1",null,"Videolezioni di Geometria"),xo=function(e){function t(){return K(this,t),Y(this,e.apply(this,arguments))}return Q(t,e),t.prototype.render=function(){return Object(pe.h)("div",{style:vo.a.vldigeometria},So,Object(pe.h)(Pe,null,Object(pe.h)(Po,null,Co(Eo))))},t}(pe.Component),Ao=n("5m9J"),Lo=n.n(Ao),Mo=Object(pe.h)("h1",null,"Come installare MinGW"),To=Object(pe.h)(Pe,null,Object(pe.h)("p",null," Scaricate ",Object(pe.h)("a",{href:"https://osdn.net/projects/mingw/downloads/68260/mingw-get-setup.exe/"},"l'installer ufficiale"),", ed eseguitelo."),Object(pe.h)("img",{src:"https://i.imgur.com/mDZSqjV.png",alt:""}),Object(pe.h)("p",null," Dovrebbe comparire questa schermata. Cliccate su ",Object(pe.h)("code",null,"Install"),", poi scegliete una cartella di installazione (ricordatevela!) e poi ",Object(pe.h)("code",null,"Continue"),". Lasciate stare le altre opzioni, dovrebbero essere tutte spuntate, tranne ",Object(pe.h)("code",null,"For all users"),", che dovrebbe essere disattivato."),Object(pe.h)("img",{src:"https://i.imgur.com/brdw8Xy.png",alt:""}),Object(pe.h)("p",null," Aspettate che finisca il download. Pochi secondi dopo, dovrebbe finire e dovrebbe apparire un tasto",Object(pe.h)("code",null,"Continue"),". Premetelo."),Object(pe.h)("img",{src:"https://i.imgur.com/aPTwrxz.png",alt:""}),Object(pe.h)("p",null," Dovrebbe apparirvi questa finestra. L'installer di MinGW è una specie di gestore pacchetti (tipo ",Object(pe.h)("code",null,"apt")," su Ubuntu); potete scegliere quali pacchetti installare, e quindi quali funzionalità."),Object(pe.h)("img",{src:"https://i.imgur.com/5QLSkFN.png",alt:""}),Object(pe.h)("p",null," Nel nostro caso, dovrebbero servirci ",Object(pe.h)("code",null,"mingw32-base-bin")," (per il C e alcune librerie C++) e",Object(pe.h)("code",null,"mingw32-gcc-g++-bin")," (per il C++). Cliccate, quindi, sui due quadratini corrispondenti, e premete",Object(pe.h)("code",null,"Mark for Installation"),". Dovrebbe comparire una freccia gialla sul quadratino."),Object(pe.h)("img",{src:"https://i.imgur.com/zP74nks.png",alt:""}),Object(pe.h)("p",null," Ora, è il momento di installare i pacchetti. Aprite il menù ",Object(pe.h)("code",null,"Installation"),", poi premete",Object(pe.h)("code",null,"Apply Changes"),", e di nuovo ",Object(pe.h)("code",null,"Apply"),"."),Object(pe.h)("img",{src:"https://i.imgur.com/jp4uz5B.png",alt:""}),Object(pe.h)("p",null," Lasciate che scarichi, ci vorrà un po'. Guardatevi un video nel frattempo, fatevi una partitina a qualcosa, tornate dopo circa 10 minuti."),Object(pe.h)("img",{src:"https://i.imgur.com/Lq9IepY.png",alt:""}),Object(pe.h)("p",null," Una volta installato, dobbiamo aggiungere ",Object(pe.h)("code",null,"g++")," ai programmi eseguibili da Prompt dei Comandi: premete il tasto ",Object(pe.h)("kbd",null,"Windows"),", e scrivete ",Object(pe.h)("code",null,"PATH"),". Windows dovrebbe trovarvi automaticamente quell'opzione."),Object(pe.h)("img",{src:"https://i.imgur.com/dy3b5Ub.png",alt:""}),Object(pe.h)("p",null," Dentro la finestra di ",Object(pe.h)("i",null,"Proprietà del Sistema"),", premete ",Object(pe.h)("code",null,"Variabili d'ambiente"),"."),Object(pe.h)("img",{src:"https://i.imgur.com/FjYpT1n.png",alt:""}),Object(pe.h)("p",null," Trovate la variabile d'ambiente globale ",Object(pe.h)("code",null,"Path"),", e fateci doppio click per modificarla."),Object(pe.h)("img",{src:"https://i.imgur.com/klZQ9So.png",alt:""}),Object(pe.h)("p",null," Ora dovreste vedere l'elenco di tutte le cartelle contenenti programmi eseguibili da terminale: dobbiamo aggiungere quella di MinGW! Premete ",Object(pe.h)("code",null,"Sfoglia"),"."),Object(pe.h)("img",{src:"https://i.imgur.com/F6lBCqS.png",alt:""}),Object(pe.h)("p",null," Trovate la cartella in cui avete installato MinGW (vi avevo detto di ricordarvela!); entrateci, poi selezionate la sottocartella ",Object(pe.h)("code",null,"bin")," e premete ",Object(pe.h)("code",null,"OK")," su tutte le finestre che avete aperto fino ad ora, chiudendole."),Object(pe.h)("p",null," Complimenti! Avete installato MinGW e potete compilare programmi C e C++ da Windows! Avete a disposizione",Object(pe.h)("code",null,"gcc")," e ",Object(pe.h)("code",null,"g++")," sul Prompt dei Comandi, e potete finalmente creare dei file .exe! ")),Io=function(e){function t(){return X(this,t),J(this,e.apply(this,arguments))}return ee(t,e),t.prototype.render=function(){return Object(pe.h)("div",{style:Lo.a.mingwinstall},Mo,To)},t}(pe.Component),qo=n("qMTX"),Do=n.n(qo),Fo=Object(pe.h)("a",{href:"https://creativecommons.org/licenses/by-sa/4.0/"},"CC BY-SA 4.0"),Bo=Object(pe.h)("a",{href:"https://github.com/Steffo99/appuntiweb"},"Codice sorgente"),No=function(e){function t(){return te(this,t),ne(this,e.apply(this,arguments))}return ae(t,e),t.prototype.render=function(){return Object(pe.h)("div",{class:Do.a.copyright},"© 2019 - Stefano Pigozzi - ",Fo," - ",Bo)},t}(pe.Component),Ro=n("WViY"),Ho=n.n(Ro),Uo=re(["Omega = left { 1, 2, 3, 4, 5, 6 \right }"],["\\Omega = \\left \\{ 1, 2, 3, 4, 5, 6 \\right \\}"]),Vo=re(["omega = 1"],["\\omega = 1"]),Wo=re(["E = left { 1, 2 \right }"],["E = \\left \\{ 1, 2 \\right \\}"]),$o=re(["\bar{E} = left { 3, 4, 5, 6 \right }"],["\\bar{E} = \\left \\{ 3, 4, 5, 6 \\right \\}"]),Go=re(["E cap F = left { 1 \right }"],["E \\cap F = \\left \\{ 1 \\right \\}"]),Zo=re(["E cup F = left { 1, 2, 3, 4 \right }"],["E \\cup F = \\left \\{ 1, 2, 3, 4 \\right \\}"]),Ko=re(["E setminus F = E cap \bar{F}"],["E \\setminus F = E \\cap \\bar{F}"]),Yo=re(["E subseteq F"],["E \\subseteq F"]),Qo=re(["I = emptyset"],["I = \\emptyset"]),Xo=re(["E cap F = emptyset"],["E \\cap F = \\emptyset"]),Jo=re(["mathcal{F}"],["\\mathcal{F}"]),el=re(["sigma"],["\\sigma"]),tl=re(["Omega in mathcal{F}"],["\\Omega \\in \\mathcal{F}"]),nl=re(["E in mathcal{F} implies \bar{E} in mathcal{F}"],["E \\in \\mathcal{F} \\implies \\bar{E} \\in \\mathcal{F}"]),al=re(["(E, F) in mathcal{F} implies (E cup F, E cap F) in mathcal{F}"],["(E, F) \\in \\mathcal{F} \\implies (E \\cup F, E \\cap F) \\in \\mathcal{F}"]),rl=re(["E in mathcal{F} implies mathcal{F} = { emptyset, E, \bar{E}, Omega }"],["E \\in \\mathcal{F} \\implies \\mathcal{F} = \\{ \\emptyset, E, \\bar{E}, \\Omega \\}"]),il=re(["P(E) = \frac{casi favorevoli}{casi possibili}"],["P(E) = \\frac{casi\\ favorevoli}{casi\\ possibili}"]),ol=re(["P(E) = \frac{successi}{prove totali}"],["P(E) = \\frac{successi}{prove\\ totali}"]),ll=re(["\forall E in mathcal{F}, 0 leq P(E) leq 1"],["\\forall E \\in \\mathcal{F}, 0 \\leq P(E) \\leq 1"]),cl=re(["P(Omega) = 1"],["P(\\Omega) = 1"]),sl=re(["P left ( \bigcup_i E_i \right ) = sum_i P ( E_i )"],["P \\left ( \\bigcup_i E_i \\right ) = \\sum_i P ( E_i )"]),ul=re(["P(\bar{E}) = 1 - P(\bar{E})"],["P(\\bar{E}) = 1 - P(\\bar{E})"]),pl=re(["F subseteq E implies P(F) leq P(E)"],["F \\subseteq E \\implies P(F) \\leq P(E)"]),hl=re(["P(E cup F) = P(E) + P(F) - P(E cap F)"],["P(E \\cup F) = P(E) + P(F) - P(E \\cap F)"]),dl=re(["P(E) = \frac{len(E)}{len(Omega)}"],["P(E) = \\frac{len(E)}{len(\\Omega)}"]),bl=String.raw,ml=Object(pe.h)("h1",null,"Statistica ed Elementi di Probabilità"),fl=Object(pe.h)(Se,{title:"Popolazioni"},Object(pe.h)(Pe,{title:"Popolazione",id:"popolazione"},Object(pe.h)("p",null,"Gruppo ",Object(pe.h)("b",null,"intero")," di oggetti di cui si cercano informazioni.")),Object(pe.h)(Pe,{title:"Popolazione tangibile"},Object(pe.h)("p",null,"Popolazione finita di oggetti concreti che possono essere campionati ciascuno solo una volta.")),Object(pe.h)(Pe,{title:"Popolazione concettuale"},Object(pe.h)("p",null,"Popolazione di valori ottenuti da prove sperimentali indipendenti ripetute più volte."))),gl=Object(pe.h)(Se,{title:"Campionamento"},Object(pe.h)(Pe,{title:"Campione"},Object(pe.h)("p",null,"Sottoinsieme della ",Object(pe.h)("a",{href:"#popolazione"},"popolazione")," che contiene gli oggetti che si sono osservati.")),Object(pe.h)(Pe,{title:Object(pe.h)("i",null,"Simple random sample")},Object(pe.h)("p",null,"Campione di una data dimensione in cui qualsiasi selezione di ",Object(pe.h)("i",null,"n")," elementi ha la stessa probabilità di costituire il campione.")),Object(pe.h)(Pe,{title:Object(pe.h)("i",null,"Sample of convenience")},Object(pe.h)("p",null,"Campione ottenuto in un modo casuale non ben definito.")),Object(pe.h)(Pe,{title:Object(pe.h)("i",null,"Sample with replacement")},Object(pe.h)("p",null,"Campione ottenuto sostituendo nella popolazione gli elementi estratti con dei nuovi elementi."),Object(pe.h)("p",null,"Dire che un campione è ottenuto ",Object(pe.h)("i",null,"with replacement")," è equivalente a dire che la popolazione che si sta campionando è infinita, e quindi che tutti gli elementi sono indipendenti.")),Object(pe.h)(Pe,{title:"Campione pesato"},Object(pe.h)("p",null,"Campione ottenuto da una popolazione in cui certi elementi hanno più probabilità di essere stati selezionati di altri.")),Object(pe.h)(Pe,{title:Object(pe.h)("i",null,"Stratified random sample")},Object(pe.h)("p",null,"Campione ottenuto da un sottoinsieme della popolazione detto ",Object(pe.h)("i",null,"strato"),".")),Object(pe.h)(Pe,{title:Object(pe.h)("i",null,"Cluster sample")},Object(pe.h)("p",null,"Campione ottenuto selezionando più ",Object(pe.h)("i",null,"cluster")," di elementi alla volta."))),_l=Object(pe.h)(Se,null,Object(pe.h)(Pe,{title:Object(pe.h)("i",null,"Sampling variation")},Object(pe.h)("p",null,"Differenza di informazioni presente tra due campioni diversi della stessa popolazione.")),Object(pe.h)(Pe,{title:"Indipendenza"},Object(pe.h)("p",null,"Gli elementi in un campione sono indipendenti se gli elementi estratti in precedenza non influsicono ",Object(pe.h)("small",null,"significativamente")," sulle probabilità di estrazione dell'elemento successivo."))),jl=Object(pe.h)(Se,{title:"Tipi di prove sperimentali"},Object(pe.h)(Pe,{title:"A campione singolo"},Object(pe.h)("p",null,"Esperimento in cui c'è una sola popolazione da cui vengono estratti campioni."),Object(pe.h)("p",null,"Serve per verificare delle condizioni.")),Object(pe.h)(Pe,{title:"Multicampione"},Object(pe.h)("p",null,"Esperimento in cui sono presenti più popolazioni (aventi caratteristiche differenti una dall'altra dette ",Object(pe.h)("i",null,"fattori"),") da cui vengono estratti campioni."),Object(pe.h)("p",null,"Serve per capire quali fattori influenzano il risultato dell'esperimento."))),Ol=Object(pe.h)(Se,{title:"Tipi di dato"},Object(pe.h)(Pe,{title:Object(pe.h)("span",null,"Numerico",Object(pe.h)("small",null," o quantitativo"))},"Il dato descrive un valore numerico relativo all'elemento, come ad esempio una quantità fisica."),Object(pe.h)(Pe,{title:Object(pe.h)("span",null,"Categorico",Object(pe.h)("small",null," o qualitativo"))},"Il dato indica una categoria a cui appartiene l'elemento, come ad esempio il suo colore.")),vl=Object(pe.h)("p",null,"L'",Object(pe.h)("b",null,"insieme")," di tutti gli esiti possibili di un esperimento."),wl=Object(pe.h)("p",null,"Uno dei possibili risultati di un esperimento."),yl=Object(pe.h)("p",null,"E' un ",Object(pe.h)("b",null,"elemento")," dello spazio campionario."),kl=Object(pe.h)("p",null,"Un ",Object(pe.h)("b",null,"sottoinsieme")," dello spazio campionario."),zl=Object(pe.h)("p",null,"Lo spazio campionario stesso è un ",Object(pe.h)("b",null,"evento certo"),"."),Pl=Object(pe.h)("p",null,"Il ",Object(pe.h)("b",null,"complementare")," di un sottoinsieme."),El=Object(pe.h)("p",null,"L'",Object(pe.h)("b",null,"intersezione")," di più sottoinsiemi."),Cl=Object(pe.h)("p",null,"L'",Object(pe.h)("b",null,"unione")," di più sottoinsiemi."),Sl=Object(pe.h)("p",null,"L'",Object(pe.h)("b",null,"inclusione")," del primo insieme in un altro."),xl=Object(pe.h)("p",null,"Se si verifica ",Object(pe.h)(Re,null,"E"),", allora si verifica anche ",Object(pe.h)(Re,null,"F"),"."),Al=Object(pe.h)("p",null,"Un sottoinsieme ",Object(pe.h)("b",null,"vuoto"),"."),Ll=Object(pe.h)("p",null,"La ",Object(pe.h)("b",null,"disgiunzione")," di due insiemi."),Ml=Object(pe.h)("p",null,"I sottoinsiemi dello spazio campionario formano una ",Object(pe.h)("b",null,"famiglia")," di sottoinsiemi detta ",Object(pe.h)("i",null,"famiglia degli eventi"),"."),Tl=Object(pe.h)(Pe,{title:"Soggettiva"},Object(pe.h)("p",null,Object(pe.h)(Le,null,"TODO: Trovare un'espressione decente"))),Il=Object(pe.h)("p",null,"La probabilità di un evento è un numero tra 0 e 1."),ql=Object(pe.h)("p",null,"La probabilità dello spazio campionario è sempre 1."),Dl=Object(pe.h)("p",null,"La probabilità dell'unione di eventi indipendenti è uguale alla somma delle loro probabilità."),Fl=Object(pe.h)(Pe,{title:"Cosa sono?"},Object(pe.h)("p",null,"Spazi campionari in cui ci sono un numero finito di esiti e ogni esito ha la stessa probabilità di verificarsi.")),Bl=Object(pe.h)(Se,null,Object(pe.h)(Pe,{title:"Disposizioni"},Object(pe.h)("p",null,"Estraggo un numero, mi segno che numero ho estratto e lo ",Object(pe.h)("b",null,"tengo fuori dal sacchetto"),"."),Object(pe.h)("p",null,Object(pe.h)("b",null,"Tengo conto")," dell'ordine in cui ho estratto i numeri.")),Object(pe.h)(Pe,{title:"Disposizioni con ripetizione"},Object(pe.h)("p",null,"Estraggo un numero, mi segno che numero ho estratto e lo ",Object(pe.h)("b",null,"rimetto nel sacchetto"),"."),Object(pe.h)("p",null,Object(pe.h)("b",null,"Tengo conto")," dell'ordine in cui ho estratto i numeri.")),Object(pe.h)(Pe,{title:"Combinazioni"},Object(pe.h)("p",null,"Estraggo un numero, mi segno che numero ho estratto e lo ",Object(pe.h)("b",null,"tengo fuori dal sacchetto"),"."),Object(pe.h)("p",null,Object(pe.h)("b",null,"Non mi interessa")," l'ordine in cui ho estratto i numeri.")),Object(pe.h)(Pe,{title:"Combinazioni con ripetizione"},Object(pe.h)("p",null,"Estraggo un numero, mi segno che numero ho estratto e lo ",Object(pe.h)("b",null,"rimetto nel sacchetto"),"."),Object(pe.h)("p",null,Object(pe.h)("b",null,"Non mi interessa")," l'ordine in cui ho estratto i numeri.")),Object(pe.h)(Pe,{title:"Permutazioni"},Object(pe.h)("p",null,"Estraggo N numeri e guardo in quanti ordini diversi li posso mettere."))),Nl=function(e){function t(){return ie(this,t),oe(this,e.apply(this,arguments))}return le(t,e),t.prototype.render=function(){return Object(pe.h)("div",{style:Ho.a.statistica},ml,fl,gl,_l,jl,Ol,Object(pe.h)(Se,{title:"Linguaggio matematico"},Object(pe.h)(Pe,{title:"Spazio campionario"},vl,Object(pe.h)("p",null,Object(pe.h)(Re,null,bl(Uo)))),Object(pe.h)(Pe,{title:"Esito"},wl,yl,Object(pe.h)("p",null,Object(pe.h)(Re,null,bl(Vo)),' "omeghino"')),Object(pe.h)(Pe,{title:"Evento"},kl,Object(pe.h)("p",null,Object(pe.h)(Re,null,bl(Wo))),zl),Object(pe.h)(Pe,{title:"NOT"},Pl,Object(pe.h)("p",null,Object(pe.h)(Re,null,bl($o)))),Object(pe.h)(Pe,{title:"AND"},El,Object(pe.h)("p",null,Object(pe.h)(Re,null,bl(Go)))),Object(pe.h)(Pe,{title:"OR"},Cl,Object(pe.h)("p",null,Object(pe.h)(Re,null,bl(Zo)))),Object(pe.h)(Pe,{title:"Differenza"},Object(pe.h)("p",null,Object(pe.h)(Re,null,bl(Ko)))),Object(pe.h)(Pe,{title:"Implicazione"},Sl,Object(pe.h)("p",null,Object(pe.h)(Re,null,bl(Yo))),xl),Object(pe.h)(Pe,{title:"Evento impossibile"},Al,Object(pe.h)("p",null,Object(pe.h)(Re,null,bl(Qo)))),Object(pe.h)(Pe,{title:"Mutua esclusione"},Ll,Object(pe.h)("p",null,Object(pe.h)(Re,null,bl(Xo))))),Object(pe.h)(Se,{title:"Famiglia degli eventi"},Object(pe.h)(Pe,{title:"Famiglia"},Ml,Object(pe.h)("p",null,Object(pe.h)(Re,null,bl(Jo)),' ("effe")'),Object(pe.h)("p",null,"Qualsiasi sottoinsieme appartenente a ",Object(pe.h)(Re,null,bl(Jo))," è considerato un evento.")),Object(pe.h)(Pe,{title:Object(pe.h)("span",null,Object(pe.h)(Re,null,bl(el)),"-algebra")},Object(pe.h)("p",null,"Se la famiglia degli eventi soddisfa questi tre requisiti, allora viene detta ",Object(pe.h)("span",null,Object(pe.h)(Re,null,bl(el)),"-algebra"),":"),Object(pe.h)("ol",null,Object(pe.h)("li",null,"Lo spazio campionario è un evento: ",Object(pe.h)(Re,null,bl(tl))),Object(pe.h)("li",null,"Se un sottoinsieme è un evento, allora anche il suo complementare lo è: ",Object(pe.h)(Re,null,bl(nl))),Object(pe.h)("li",null,"Se due sottoinsiemi sono eventi, allora lo sono anche la loro unione e intersezione: ",Object(pe.h)(Re,null,bl(al)))),Object(pe.h)("p",null,"Un esempio: ",Object(pe.h)(Re,null,bl(rl))))),Object(pe.h)(Se,{title:"Tipi di probabilità"},Object(pe.h)(Pe,{title:"Classica"},Object(pe.h)("p",null,Object(pe.h)(Re,null,bl(il)))),Object(pe.h)(Pe,{title:"Frequentista"},Object(pe.h)("p",null,Object(pe.h)(Re,null,bl(ol)))),Tl),Object(pe.h)(Se,{title:"Assiomi della probabilità"},Object(pe.h)(Pe,{title:"Primo"},Il,Object(pe.h)("p",null,Object(pe.h)(Re,null,bl(ll)))),Object(pe.h)(Pe,{title:"Secondo"},ql,Object(pe.h)("p",null,Object(pe.h)(Re,null,bl(cl)))),Object(pe.h)(Pe,{title:"Terzo"},Dl,Object(pe.h)("p",null,Object(pe.h)(Re,null,bl(sl))))),Object(pe.h)(Se,{title:"Conseguenze degli assiomi"},Object(pe.h)(Pe,{title:"NOT"},Object(pe.h)("p",null,Object(pe.h)(Re,null,bl(ul)))),Object(pe.h)(Pe,{title:"Inclusione"},Object(pe.h)("p",null,Object(pe.h)(Re,null,bl(pl)))),Object(pe.h)(Pe,{title:"Unione"},Object(pe.h)("p",null,Object(pe.h)(Re,null,bl(hl))))),Object(pe.h)(Se,{title:"Spazi equiprobabili"},Fl,Object(pe.h)(Pe,{title:"Probabilità"},Object(pe.h)("p",null,Object(pe.h)(Re,null,bl(dl))))),Bl)},t}(pe.Component);n.d(t,"default",function(){return Hl});var Rl=Object(pe.h)("div",{id:"app"},Object(pe.h)("h1",null,Object(pe.h)("a",{href:"/"},"Appuntiweb")," ",Object(pe.h)("small",null,"di ",Object(pe.h)("a",{href:"https://steffo.eu/"},"Steffo"))),Object(pe.h)(ve,null,Object(pe.h)(qe,{path:"/"}),Object(pe.h)(jo,{path:"/fisica"}),Object(pe.h)(xo,{path:"/vldigeometria"}),Object(pe.h)(Io,{path:"/mingwinstall"}),Object(pe.h)(Nl,{path:"/statistica"})),Object(pe.h)(No,null)),Hl=function(e){function t(){return ce(this,t),se(this,e.apply(this,arguments))}return ue(t,e),t.prototype.render=function(){return Rl},t}(pe.Component)},KM04:function(e){!function(){"use strict";function t(e,t){var n,a,r,i,o=M;for(i=arguments.length;i-- >2;)L.push(arguments[i]);for(t&&null!=t.children&&(L.length||L.push(t.children),delete t.children);L.length;)if((a=L.pop())&&void 0!==a.pop)for(i=a.length;i--;)L.push(a[i]);else"boolean"==typeof a&&(a=null),(r="function"!=typeof e)&&(null==a?a="":"number"==typeof a?a+="":"string"!=typeof a&&(r=!1)),r&&n?o[o.length-1]+=a:o===M?o=[a]:o.push(a),n=r;var l=new x;return l.nodeName=e,l.children=o,l.attributes=null==t?void 0:t,l.key=null==t?void 0:t.key,void 0!==A.vnode&&A.vnode(l),l}function n(e,t){for(var n in t)e[n]=t[n];return e}function a(e,t){e&&("function"==typeof e?e(t):e.current=t)}function r(e,a){return t(e.nodeName,n(n({},e.attributes),a),arguments.length>2?[].slice.call(arguments,2):e.children)}function i(e){!e.__d&&(e.__d=!0)&&1==q.push(e)&&(A.debounceRendering||T)(o)}function o(){for(var e;e=q.pop();)e.__d&&k(e)}function l(e,t,n){return"string"==typeof t||"number"==typeof t?void 0!==e.splitText:"string"==typeof t.nodeName?!e._componentConstructor&&c(e,t.nodeName):n||e._componentConstructor===t.nodeName}function c(e,t){return e.__n===t||e.nodeName.toLowerCase()===t.toLowerCase()}function s(e){var t=n({},e.attributes);t.children=e.children;var a=e.nodeName.defaultProps;if(void 0!==a)for(var r in a)void 0===t[r]&&(t[r]=a[r]);return t}function u(e,t){var n=t?document.createElementNS("http://www.w3.org/2000/svg",e):document.createElement(e);return n.__n=e,n}function p(e){var t=e.parentNode;t&&t.removeChild(e)}function h(e,t,n,r,i){if("className"===t&&(t="class"),"key"===t);else if("ref"===t)a(n,null),a(r,e);else if("class"!==t||i)if("style"===t){if(r&&"string"!=typeof r&&"string"!=typeof n||(e.style.cssText=r||""),r&&"object"==typeof r){if("string"!=typeof n)for(var o in n)o in r||(e.style[o]="");for(var o in r)e.style[o]="number"==typeof r[o]&&!1===I.test(o)?r[o]+"px":r[o]}}else if("dangerouslySetInnerHTML"===t)r&&(e.innerHTML=r.__html||"");else if("o"==t[0]&&"n"==t[1]){var l=t!==(t=t.replace(/Capture$/,""));t=t.toLowerCase().substring(2),r?n||e.addEventListener(t,d,l):e.removeEventListener(t,d,l),(e.__l||(e.__l={}))[t]=r}else if("list"!==t&&"type"!==t&&!i&&t in e){try{e[t]=null==r?"":r}catch(e){}null!=r&&!1!==r||"spellcheck"==t||e.removeAttribute(t)}else{var c=i&&t!==(t=t.replace(/^xlink:?/,""));null==r||!1===r?c?e.removeAttributeNS("http://www.w3.org/1999/xlink",t.toLowerCase()):e.removeAttribute(t):"function"!=typeof r&&(c?e.setAttributeNS("http://www.w3.org/1999/xlink",t.toLowerCase(),r):e.setAttribute(t,r))}else e.className=r||""}function d(e){return this.__l[e.type](A.event&&A.event(e)||e)}function b(){for(var e;e=D.shift();)A.afterMount&&A.afterMount(e),e.componentDidMount&&e.componentDidMount()}function m(e,t,n,a,r,i){F++||(B=null!=r&&void 0!==r.ownerSVGElement,N=null!=e&&!("__preactattr_"in e));var o=f(e,t,n,a,i);return r&&o.parentNode!==r&&r.appendChild(o),--F||(N=!1,i||b()),o}function f(e,t,n,a,r){var i=e,o=B;if(null!=t&&"boolean"!=typeof t||(t=""),"string"==typeof t||"number"==typeof t)return e&&void 0!==e.splitText&&e.parentNode&&(!e._component||r)?e.nodeValue!=t&&(e.nodeValue=t):(i=document.createTextNode(t),e&&(e.parentNode&&e.parentNode.replaceChild(i,e),_(e,!0))),i.__preactattr_=!0,i;var l=t.nodeName;if("function"==typeof l)return z(e,t,n,a);if(B="svg"===l||"foreignObject"!==l&&B,l+="",(!e||!c(e,l))&&(i=u(l,B),e)){for(;e.firstChild;)i.appendChild(e.firstChild);e.parentNode&&e.parentNode.replaceChild(i,e),_(e,!0)}var s=i.firstChild,p=i.__preactattr_,h=t.children;if(null==p){p=i.__preactattr_={};for(var d=i.attributes,b=d.length;b--;)p[d[b].name]=d[b].value}return!N&&h&&1===h.length&&"string"==typeof h[0]&&null!=s&&void 0!==s.splitText&&null==s.nextSibling?s.nodeValue!=h[0]&&(s.nodeValue=h[0]):(h&&h.length||null!=s)&&g(i,h,n,a,N||null!=p.dangerouslySetInnerHTML),O(i,t.attributes,p),B=o,i}function g(e,t,n,a,r){var i,o,c,s,u,h=e.childNodes,d=[],b={},m=0,g=0,j=h.length,O=0,v=t?t.length:0;if(0!==j)for(var w=0;w (GFM Style)',\n type: 'boolean'\n },\n requireSpaceBeforeHeadingText: {\n defaultValue: false,\n description: 'Makes adding a space between `#` and the header text mandatory (GFM Style)',\n type: 'boolean'\n },\n ghMentions: {\n defaultValue: false,\n description: 'Enables github @mentions',\n type: 'boolean'\n },\n ghMentionsLink: {\n defaultValue: 'https://github.com/{u}',\n description: 'Changes the link generated by @mentions. Only applies if ghMentions option is enabled.',\n type: 'string'\n },\n encodeEmails: {\n defaultValue: true,\n description: 'Encode e-mail addresses through the use of Character Entities, transforming ASCII e-mail addresses into its equivalent decimal entities',\n type: 'boolean'\n },\n openLinksInNewWindow: {\n defaultValue: false,\n description: 'Open all links in new windows',\n type: 'boolean'\n },\n backslashEscapesHTMLTags: {\n defaultValue: false,\n description: 'Support for HTML Tag escaping. ex: \\foo\\',\n type: 'boolean'\n },\n emoji: {\n defaultValue: false,\n description: 'Enable emoji support. Ex: `this is a :smile: emoji`',\n type: 'boolean'\n },\n underline: {\n defaultValue: false,\n description: 'Enable support for underline. Syntax is double or triple underscores: `__underline word__`. With this option enabled, underscores no longer parses into `` and ``',\n type: 'boolean'\n },\n completeHTMLDocument: {\n defaultValue: false,\n description: 'Outputs a complete html document, including ``, `` and `` tags',\n type: 'boolean'\n },\n metadata: {\n defaultValue: false,\n description: 'Enable support for document metadata (defined at the top of the document between `«««` and `»»»` or between `---` and `---`).',\n type: 'boolean'\n },\n splitAdjacentBlockquotes: {\n defaultValue: false,\n description: 'Split adjacent blockquote blocks',\n type: 'boolean'\n }\n };\n if (simple === false) {\n return JSON.parse(JSON.stringify(defaultOptions));\n }\n var ret = {};\n for (var opt in defaultOptions) {\n if (defaultOptions.hasOwnProperty(opt)) {\n ret[opt] = defaultOptions[opt].defaultValue;\n }\n }\n return ret;\n }\n\n function allOptionsOn() {\n 'use strict';\n\n var options = getDefaultOpts(true),\n ret = {};\n for (var opt in options) {\n if (options.hasOwnProperty(opt)) {\n ret[opt] = true;\n }\n }\n return ret;\n }\n\n /**\n * Created by Tivie on 06-01-2015.\n */\n\n // Private properties\n var showdown = {},\n parsers = {},\n extensions = {},\n globalOptions = getDefaultOpts(true),\n setFlavor = 'vanilla',\n flavor = {\n github: {\n omitExtraWLInCodeBlocks: true,\n simplifiedAutoLink: true,\n excludeTrailingPunctuationFromURLs: true,\n literalMidWordUnderscores: true,\n strikethrough: true,\n tables: true,\n tablesHeaderId: true,\n ghCodeBlocks: true,\n tasklists: true,\n disableForced4SpacesIndentedSublists: true,\n simpleLineBreaks: true,\n requireSpaceBeforeHeadingText: true,\n ghCompatibleHeaderId: true,\n ghMentions: true,\n backslashEscapesHTMLTags: true,\n emoji: true,\n splitAdjacentBlockquotes: true\n },\n original: {\n noHeaderId: true,\n ghCodeBlocks: false\n },\n ghost: {\n omitExtraWLInCodeBlocks: true,\n parseImgDimensions: true,\n simplifiedAutoLink: true,\n excludeTrailingPunctuationFromURLs: true,\n literalMidWordUnderscores: true,\n strikethrough: true,\n tables: true,\n tablesHeaderId: true,\n ghCodeBlocks: true,\n tasklists: true,\n smoothLivePreview: true,\n simpleLineBreaks: true,\n requireSpaceBeforeHeadingText: true,\n ghMentions: false,\n encodeEmails: true\n },\n vanilla: getDefaultOpts(true),\n allOn: allOptionsOn()\n };\n\n /**\n * helper namespace\n * @type {{}}\n */\n showdown.helper = {};\n\n /**\n * TODO LEGACY SUPPORT CODE\n * @type {{}}\n */\n showdown.extensions = {};\n\n /**\n * Set a global option\n * @static\n * @param {string} key\n * @param {*} value\n * @returns {showdown}\n */\n showdown.setOption = function (key, value) {\n 'use strict';\n\n globalOptions[key] = value;\n return this;\n };\n\n /**\n * Get a global option\n * @static\n * @param {string} key\n * @returns {*}\n */\n showdown.getOption = function (key) {\n 'use strict';\n\n return globalOptions[key];\n };\n\n /**\n * Get the global options\n * @static\n * @returns {{}}\n */\n showdown.getOptions = function () {\n 'use strict';\n\n return globalOptions;\n };\n\n /**\n * Reset global options to the default values\n * @static\n */\n showdown.resetOptions = function () {\n 'use strict';\n\n globalOptions = getDefaultOpts(true);\n };\n\n /**\n * Set the flavor showdown should use as default\n * @param {string} name\n */\n showdown.setFlavor = function (name) {\n 'use strict';\n\n if (!flavor.hasOwnProperty(name)) {\n throw Error(name + ' flavor was not found');\n }\n showdown.resetOptions();\n var preset = flavor[name];\n setFlavor = name;\n for (var option in preset) {\n if (preset.hasOwnProperty(option)) {\n globalOptions[option] = preset[option];\n }\n }\n };\n\n /**\n * Get the currently set flavor\n * @returns {string}\n */\n showdown.getFlavor = function () {\n 'use strict';\n\n return setFlavor;\n };\n\n /**\n * Get the options of a specified flavor. Returns undefined if the flavor was not found\n * @param {string} name Name of the flavor\n * @returns {{}|undefined}\n */\n showdown.getFlavorOptions = function (name) {\n 'use strict';\n\n if (flavor.hasOwnProperty(name)) {\n return flavor[name];\n }\n };\n\n /**\n * Get the default options\n * @static\n * @param {boolean} [simple=true]\n * @returns {{}}\n */\n showdown.getDefaultOptions = function (simple) {\n 'use strict';\n\n return getDefaultOpts(simple);\n };\n\n /**\n * Get or set a subParser\n *\n * subParser(name) - Get a registered subParser\n * subParser(name, func) - Register a subParser\n * @static\n * @param {string} name\n * @param {function} [func]\n * @returns {*}\n */\n showdown.subParser = function (name, func) {\n 'use strict';\n\n if (showdown.helper.isString(name)) {\n if (typeof func !== 'undefined') {\n parsers[name] = func;\n } else {\n if (parsers.hasOwnProperty(name)) {\n return parsers[name];\n } else {\n throw Error('SubParser named ' + name + ' not registered!');\n }\n }\n }\n };\n\n /**\n * Gets or registers an extension\n * @static\n * @param {string} name\n * @param {object|function=} ext\n * @returns {*}\n */\n showdown.extension = function (name, ext) {\n 'use strict';\n\n if (!showdown.helper.isString(name)) {\n throw Error('Extension \\'name\\' must be a string');\n }\n\n name = showdown.helper.stdExtName(name);\n\n // Getter\n if (showdown.helper.isUndefined(ext)) {\n if (!extensions.hasOwnProperty(name)) {\n throw Error('Extension named ' + name + ' is not registered!');\n }\n return extensions[name];\n\n // Setter\n } else {\n // Expand extension if it's wrapped in a function\n if (typeof ext === 'function') {\n ext = ext();\n }\n\n // Ensure extension is an array\n if (!showdown.helper.isArray(ext)) {\n ext = [ext];\n }\n\n var validExtension = validate(ext, name);\n\n if (validExtension.valid) {\n extensions[name] = ext;\n } else {\n throw Error(validExtension.error);\n }\n }\n };\n\n /**\n * Gets all extensions registered\n * @returns {{}}\n */\n showdown.getAllExtensions = function () {\n 'use strict';\n\n return extensions;\n };\n\n /**\n * Remove an extension\n * @param {string} name\n */\n showdown.removeExtension = function (name) {\n 'use strict';\n\n delete extensions[name];\n };\n\n /**\n * Removes all extensions\n */\n showdown.resetExtensions = function () {\n 'use strict';\n\n extensions = {};\n };\n\n /**\n * Validate extension\n * @param {array} extension\n * @param {string} name\n * @returns {{valid: boolean, error: string}}\n */\n function validate(extension, name) {\n 'use strict';\n\n var errMsg = name ? 'Error in ' + name + ' extension->' : 'Error in unnamed extension',\n ret = {\n valid: true,\n error: ''\n };\n\n if (!showdown.helper.isArray(extension)) {\n extension = [extension];\n }\n\n for (var i = 0; i < extension.length; ++i) {\n var baseMsg = errMsg + ' sub-extension ' + i + ': ',\n ext = extension[i];\n if (typeof ext !== 'object') {\n ret.valid = false;\n ret.error = baseMsg + 'must be an object, but ' + typeof ext + ' given';\n return ret;\n }\n\n if (!showdown.helper.isString(ext.type)) {\n ret.valid = false;\n ret.error = baseMsg + 'property \"type\" must be a string, but ' + typeof ext.type + ' given';\n return ret;\n }\n\n var type = ext.type = ext.type.toLowerCase();\n\n // normalize extension type\n if (type === 'language') {\n type = ext.type = 'lang';\n }\n\n if (type === 'html') {\n type = ext.type = 'output';\n }\n\n if (type !== 'lang' && type !== 'output' && type !== 'listener') {\n ret.valid = false;\n ret.error = baseMsg + 'type ' + type + ' is not recognized. Valid values: \"lang/language\", \"output/html\" or \"listener\"';\n return ret;\n }\n\n if (type === 'listener') {\n if (showdown.helper.isUndefined(ext.listeners)) {\n ret.valid = false;\n ret.error = baseMsg + '. Extensions of type \"listener\" must have a property called \"listeners\"';\n return ret;\n }\n } else {\n if (showdown.helper.isUndefined(ext.filter) && showdown.helper.isUndefined(ext.regex)) {\n ret.valid = false;\n ret.error = baseMsg + type + ' extensions must define either a \"regex\" property or a \"filter\" method';\n return ret;\n }\n }\n\n if (ext.listeners) {\n if (typeof ext.listeners !== 'object') {\n ret.valid = false;\n ret.error = baseMsg + '\"listeners\" property must be an object but ' + typeof ext.listeners + ' given';\n return ret;\n }\n for (var ln in ext.listeners) {\n if (ext.listeners.hasOwnProperty(ln)) {\n if (typeof ext.listeners[ln] !== 'function') {\n ret.valid = false;\n ret.error = baseMsg + '\"listeners\" property must be an hash of [event name]: [callback]. listeners.' + ln + ' must be a function but ' + typeof ext.listeners[ln] + ' given';\n return ret;\n }\n }\n }\n }\n\n if (ext.filter) {\n if (typeof ext.filter !== 'function') {\n ret.valid = false;\n ret.error = baseMsg + '\"filter\" must be a function, but ' + typeof ext.filter + ' given';\n return ret;\n }\n } else if (ext.regex) {\n if (showdown.helper.isString(ext.regex)) {\n ext.regex = new RegExp(ext.regex, 'g');\n }\n if (!(ext.regex instanceof RegExp)) {\n ret.valid = false;\n ret.error = baseMsg + '\"regex\" property must either be a string or a RegExp object, but ' + typeof ext.regex + ' given';\n return ret;\n }\n if (showdown.helper.isUndefined(ext.replace)) {\n ret.valid = false;\n ret.error = baseMsg + '\"regex\" extensions must implement a replace string or function';\n return ret;\n }\n }\n }\n return ret;\n }\n\n /**\n * Validate extension\n * @param {object} ext\n * @returns {boolean}\n */\n showdown.validateExtension = function (ext) {\n 'use strict';\n\n var validateExtension = validate(ext, null);\n if (!validateExtension.valid) {\n console.warn(validateExtension.error);\n return false;\n }\n return true;\n };\n\n /**\n * showdownjs helper functions\n */\n\n if (!showdown.hasOwnProperty('helper')) {\n showdown.helper = {};\n }\n\n /**\n * Check if var is string\n * @static\n * @param {string} a\n * @returns {boolean}\n */\n showdown.helper.isString = function (a) {\n 'use strict';\n\n return typeof a === 'string' || a instanceof String;\n };\n\n /**\n * Check if var is a function\n * @static\n * @param {*} a\n * @returns {boolean}\n */\n showdown.helper.isFunction = function (a) {\n 'use strict';\n\n var getType = {};\n return a && getType.toString.call(a) === '[object Function]';\n };\n\n /**\n * isArray helper function\n * @static\n * @param {*} a\n * @returns {boolean}\n */\n showdown.helper.isArray = function (a) {\n 'use strict';\n\n return Array.isArray(a);\n };\n\n /**\n * Check if value is undefined\n * @static\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is `undefined`, else `false`.\n */\n showdown.helper.isUndefined = function (value) {\n 'use strict';\n\n return typeof value === 'undefined';\n };\n\n /**\n * ForEach helper function\n * Iterates over Arrays and Objects (own properties only)\n * @static\n * @param {*} obj\n * @param {function} callback Accepts 3 params: 1. value, 2. key, 3. the original array/object\n */\n showdown.helper.forEach = function (obj, callback) {\n 'use strict';\n // check if obj is defined\n\n if (showdown.helper.isUndefined(obj)) {\n throw new Error('obj param is required');\n }\n\n if (showdown.helper.isUndefined(callback)) {\n throw new Error('callback param is required');\n }\n\n if (!showdown.helper.isFunction(callback)) {\n throw new Error('callback param must be a function/closure');\n }\n\n if (typeof obj.forEach === 'function') {\n obj.forEach(callback);\n } else if (showdown.helper.isArray(obj)) {\n for (var i = 0; i < obj.length; i++) {\n callback(obj[i], i, obj);\n }\n } else if (typeof obj === 'object') {\n for (var prop in obj) {\n if (obj.hasOwnProperty(prop)) {\n callback(obj[prop], prop, obj);\n }\n }\n } else {\n throw new Error('obj does not seem to be an array or an iterable object');\n }\n };\n\n /**\n * Standardidize extension name\n * @static\n * @param {string} s extension name\n * @returns {string}\n */\n showdown.helper.stdExtName = function (s) {\n 'use strict';\n\n return s.replace(/[_?*+\\/\\\\.^-]/g, '').replace(/\\s/g, '').toLowerCase();\n };\n\n function escapeCharactersCallback(wholeMatch, m1) {\n 'use strict';\n\n var charCodeToEscape = m1.charCodeAt(0);\n return '¨E' + charCodeToEscape + 'E';\n }\n\n /**\n * Callback used to escape characters when passing through String.replace\n * @static\n * @param {string} wholeMatch\n * @param {string} m1\n * @returns {string}\n */\n showdown.helper.escapeCharactersCallback = escapeCharactersCallback;\n\n /**\n * Escape characters in a string\n * @static\n * @param {string} text\n * @param {string} charsToEscape\n * @param {boolean} afterBackslash\n * @returns {XML|string|void|*}\n */\n showdown.helper.escapeCharacters = function (text, charsToEscape, afterBackslash) {\n 'use strict';\n // First we have to escape the escape characters so that\n // we can build a character class out of them\n\n var regexString = '([' + charsToEscape.replace(/([\\[\\]\\\\])/g, '\\\\$1') + '])';\n\n if (afterBackslash) {\n regexString = '\\\\\\\\' + regexString;\n }\n\n var regex = new RegExp(regexString, 'g');\n text = text.replace(regex, escapeCharactersCallback);\n\n return text;\n };\n\n /**\n * Unescape HTML entities\n * @param txt\n * @returns {string}\n */\n showdown.helper.unescapeHTMLEntities = function (txt) {\n 'use strict';\n\n return txt.replace(/"/g, '\"').replace(/</g, '<').replace(/>/g, '>').replace(/&/g, '&');\n };\n\n var rgxFindMatchPos = function rgxFindMatchPos(str, left, right, flags) {\n 'use strict';\n\n var f = flags || '',\n g = f.indexOf('g') > -1,\n x = new RegExp(left + '|' + right, 'g' + f.replace(/g/g, '')),\n l = new RegExp(left, f.replace(/g/g, '')),\n pos = [],\n t,\n s,\n m,\n start,\n end;\n\n do {\n t = 0;\n while (m = x.exec(str)) {\n if (l.test(m[0])) {\n if (!t++) {\n s = x.lastIndex;\n start = s - m[0].length;\n }\n } else if (t) {\n if (! --t) {\n end = m.index + m[0].length;\n var obj = {\n left: { start: start, end: s },\n match: { start: s, end: m.index },\n right: { start: m.index, end: end },\n wholeMatch: { start: start, end: end }\n };\n pos.push(obj);\n if (!g) {\n return pos;\n }\n }\n }\n }\n } while (t && (x.lastIndex = s));\n\n return pos;\n };\n\n /**\n * matchRecursiveRegExp\n *\n * (c) 2007 Steven Levithan \n * MIT License\n *\n * Accepts a string to search, a left and right format delimiter\n * as regex patterns, and optional regex flags. Returns an array\n * of matches, allowing nested instances of left/right delimiters.\n * Use the \"g\" flag to return all matches, otherwise only the\n * first is returned. Be careful to ensure that the left and\n * right format delimiters produce mutually exclusive matches.\n * Backreferences are not supported within the right delimiter\n * due to how it is internally combined with the left delimiter.\n * When matching strings whose format delimiters are unbalanced\n * to the left or right, the output is intentionally as a\n * conventional regex library with recursion support would\n * produce, e.g. \"<\" and \">\" both produce [\"x\"] when using\n * \"<\" and \">\" as the delimiters (both strings contain a single,\n * balanced instance of \"\").\n *\n * examples:\n * matchRecursiveRegExp(\"test\", \"\\\\(\", \"\\\\)\")\n * returns: []\n * matchRecursiveRegExp(\">>t<>\", \"<\", \">\", \"g\")\n * returns: [\"t<>\", \"\"]\n * matchRecursiveRegExp(\"test\", \"]*>\", \"\", \"gi\")\n * returns: [\"test\"]\n */\n showdown.helper.matchRecursiveRegExp = function (str, left, right, flags) {\n 'use strict';\n\n var matchPos = rgxFindMatchPos(str, left, right, flags),\n results = [];\n\n for (var i = 0; i < matchPos.length; ++i) {\n results.push([str.slice(matchPos[i].wholeMatch.start, matchPos[i].wholeMatch.end), str.slice(matchPos[i].match.start, matchPos[i].match.end), str.slice(matchPos[i].left.start, matchPos[i].left.end), str.slice(matchPos[i].right.start, matchPos[i].right.end)]);\n }\n return results;\n };\n\n /**\n *\n * @param {string} str\n * @param {string|function} replacement\n * @param {string} left\n * @param {string} right\n * @param {string} flags\n * @returns {string}\n */\n showdown.helper.replaceRecursiveRegExp = function (str, replacement, left, right, flags) {\n 'use strict';\n\n if (!showdown.helper.isFunction(replacement)) {\n var repStr = replacement;\n replacement = function replacement() {\n return repStr;\n };\n }\n\n var matchPos = rgxFindMatchPos(str, left, right, flags),\n finalStr = str,\n lng = matchPos.length;\n\n if (lng > 0) {\n var bits = [];\n if (matchPos[0].wholeMatch.start !== 0) {\n bits.push(str.slice(0, matchPos[0].wholeMatch.start));\n }\n for (var i = 0; i < lng; ++i) {\n bits.push(replacement(str.slice(matchPos[i].wholeMatch.start, matchPos[i].wholeMatch.end), str.slice(matchPos[i].match.start, matchPos[i].match.end), str.slice(matchPos[i].left.start, matchPos[i].left.end), str.slice(matchPos[i].right.start, matchPos[i].right.end)));\n if (i < lng - 1) {\n bits.push(str.slice(matchPos[i].wholeMatch.end, matchPos[i + 1].wholeMatch.start));\n }\n }\n if (matchPos[lng - 1].wholeMatch.end < str.length) {\n bits.push(str.slice(matchPos[lng - 1].wholeMatch.end));\n }\n finalStr = bits.join('');\n }\n return finalStr;\n };\n\n /**\n * Returns the index within the passed String object of the first occurrence of the specified regex,\n * starting the search at fromIndex. Returns -1 if the value is not found.\n *\n * @param {string} str string to search\n * @param {RegExp} regex Regular expression to search\n * @param {int} [fromIndex = 0] Index to start the search\n * @returns {Number}\n * @throws InvalidArgumentError\n */\n showdown.helper.regexIndexOf = function (str, regex, fromIndex) {\n 'use strict';\n\n if (!showdown.helper.isString(str)) {\n throw 'InvalidArgumentError: first parameter of showdown.helper.regexIndexOf function must be a string';\n }\n if (regex instanceof RegExp === false) {\n throw 'InvalidArgumentError: second parameter of showdown.helper.regexIndexOf function must be an instance of RegExp';\n }\n var indexOf = str.substring(fromIndex || 0).search(regex);\n return indexOf >= 0 ? indexOf + (fromIndex || 0) : indexOf;\n };\n\n /**\n * Splits the passed string object at the defined index, and returns an array composed of the two substrings\n * @param {string} str string to split\n * @param {int} index index to split string at\n * @returns {[string,string]}\n * @throws InvalidArgumentError\n */\n showdown.helper.splitAtIndex = function (str, index) {\n 'use strict';\n\n if (!showdown.helper.isString(str)) {\n throw 'InvalidArgumentError: first parameter of showdown.helper.regexIndexOf function must be a string';\n }\n return [str.substring(0, index), str.substring(index)];\n };\n\n /**\n * Obfuscate an e-mail address through the use of Character Entities,\n * transforming ASCII characters into their equivalent decimal or hex entities.\n *\n * Since it has a random component, subsequent calls to this function produce different results\n *\n * @param {string} mail\n * @returns {string}\n */\n showdown.helper.encodeEmailAddress = function (mail) {\n 'use strict';\n\n var encode = [function (ch) {\n return '' + ch.charCodeAt(0) + ';';\n }, function (ch) {\n return '' + ch.charCodeAt(0).toString(16) + ';';\n }, function (ch) {\n return ch;\n }];\n\n mail = mail.replace(/./g, function (ch) {\n if (ch === '@') {\n // this *must* be encoded. I insist.\n ch = encode[Math.floor(Math.random() * 2)](ch);\n } else {\n var r = Math.random();\n // roughly 10% raw, 45% hex, 45% dec\n ch = r > 0.9 ? encode[2](ch) : r > 0.45 ? encode[1](ch) : encode[0](ch);\n }\n return ch;\n });\n\n return mail;\n };\n\n /**\n *\n * @param str\n * @param targetLength\n * @param padString\n * @returns {string}\n */\n showdown.helper.padEnd = function padEnd(str, targetLength, padString) {\n 'use strict';\n /*jshint bitwise: false*/\n // eslint-disable-next-line space-infix-ops\n\n targetLength = targetLength >> 0; //floor if number or convert non-number to 0;\n /*jshint bitwise: true*/\n padString = String(padString || ' ');\n if (str.length > targetLength) {\n return String(str);\n } else {\n targetLength = targetLength - str.length;\n if (targetLength > padString.length) {\n padString += padString.repeat(targetLength / padString.length); //append to original to ensure we are longer than needed\n }\n return String(str) + padString.slice(0, targetLength);\n }\n };\n\n /**\n * POLYFILLS\n */\n // use this instead of builtin is undefined for IE8 compatibility\n if (typeof console === 'undefined') {\n console = {\n warn: function warn(msg) {\n 'use strict';\n\n alert(msg);\n },\n log: function log(msg) {\n 'use strict';\n\n alert(msg);\n },\n error: function error(msg) {\n 'use strict';\n\n throw msg;\n }\n };\n }\n\n /**\n * Common regexes.\n * We declare some common regexes to improve performance\n */\n showdown.helper.regexes = {\n asteriskDashAndColon: /([*_:~])/g\n };\n\n /**\n * EMOJIS LIST\n */\n showdown.helper.emojis = {\n '+1': '\\uD83D\\uDC4D',\n '-1': '\\uD83D\\uDC4E',\n '100': '\\uD83D\\uDCAF',\n '1234': '\\uD83D\\uDD22',\n '1st_place_medal': '\\uD83E\\uDD47',\n '2nd_place_medal': '\\uD83E\\uDD48',\n '3rd_place_medal': '\\uD83E\\uDD49',\n '8ball': '\\uD83C\\uDFB1',\n 'a': '\\uD83C\\uDD70\\uFE0F',\n 'ab': '\\uD83C\\uDD8E',\n 'abc': '\\uD83D\\uDD24',\n 'abcd': '\\uD83D\\uDD21',\n 'accept': '\\uD83C\\uDE51',\n 'aerial_tramway': '\\uD83D\\uDEA1',\n 'airplane': '\\u2708\\uFE0F',\n 'alarm_clock': '\\u23F0',\n 'alembic': '\\u2697\\uFE0F',\n 'alien': '\\uD83D\\uDC7D',\n 'ambulance': '\\uD83D\\uDE91',\n 'amphora': '\\uD83C\\uDFFA',\n 'anchor': '\\u2693\\uFE0F',\n 'angel': '\\uD83D\\uDC7C',\n 'anger': '\\uD83D\\uDCA2',\n 'angry': '\\uD83D\\uDE20',\n 'anguished': '\\uD83D\\uDE27',\n 'ant': '\\uD83D\\uDC1C',\n 'apple': '\\uD83C\\uDF4E',\n 'aquarius': '\\u2652\\uFE0F',\n 'aries': '\\u2648\\uFE0F',\n 'arrow_backward': '\\u25C0\\uFE0F',\n 'arrow_double_down': '\\u23EC',\n 'arrow_double_up': '\\u23EB',\n 'arrow_down': '\\u2B07\\uFE0F',\n 'arrow_down_small': '\\uD83D\\uDD3D',\n 'arrow_forward': '\\u25B6\\uFE0F',\n 'arrow_heading_down': '\\u2935\\uFE0F',\n 'arrow_heading_up': '\\u2934\\uFE0F',\n 'arrow_left': '\\u2B05\\uFE0F',\n 'arrow_lower_left': '\\u2199\\uFE0F',\n 'arrow_lower_right': '\\u2198\\uFE0F',\n 'arrow_right': '\\u27A1\\uFE0F',\n 'arrow_right_hook': '\\u21AA\\uFE0F',\n 'arrow_up': '\\u2B06\\uFE0F',\n 'arrow_up_down': '\\u2195\\uFE0F',\n 'arrow_up_small': '\\uD83D\\uDD3C',\n 'arrow_upper_left': '\\u2196\\uFE0F',\n 'arrow_upper_right': '\\u2197\\uFE0F',\n 'arrows_clockwise': '\\uD83D\\uDD03',\n 'arrows_counterclockwise': '\\uD83D\\uDD04',\n 'art': '\\uD83C\\uDFA8',\n 'articulated_lorry': '\\uD83D\\uDE9B',\n 'artificial_satellite': '\\uD83D\\uDEF0',\n 'astonished': '\\uD83D\\uDE32',\n 'athletic_shoe': '\\uD83D\\uDC5F',\n 'atm': '\\uD83C\\uDFE7',\n 'atom_symbol': '\\u269B\\uFE0F',\n 'avocado': '\\uD83E\\uDD51',\n 'b': '\\uD83C\\uDD71\\uFE0F',\n 'baby': '\\uD83D\\uDC76',\n 'baby_bottle': '\\uD83C\\uDF7C',\n 'baby_chick': '\\uD83D\\uDC24',\n 'baby_symbol': '\\uD83D\\uDEBC',\n 'back': '\\uD83D\\uDD19',\n 'bacon': '\\uD83E\\uDD53',\n 'badminton': '\\uD83C\\uDFF8',\n 'baggage_claim': '\\uD83D\\uDEC4',\n 'baguette_bread': '\\uD83E\\uDD56',\n 'balance_scale': '\\u2696\\uFE0F',\n 'balloon': '\\uD83C\\uDF88',\n 'ballot_box': '\\uD83D\\uDDF3',\n 'ballot_box_with_check': '\\u2611\\uFE0F',\n 'bamboo': '\\uD83C\\uDF8D',\n 'banana': '\\uD83C\\uDF4C',\n 'bangbang': '\\u203C\\uFE0F',\n 'bank': '\\uD83C\\uDFE6',\n 'bar_chart': '\\uD83D\\uDCCA',\n 'barber': '\\uD83D\\uDC88',\n 'baseball': '\\u26BE\\uFE0F',\n 'basketball': '\\uD83C\\uDFC0',\n 'basketball_man': '\\u26F9\\uFE0F',\n 'basketball_woman': '\\u26F9\\uFE0F\\u2640\\uFE0F',\n 'bat': '\\uD83E\\uDD87',\n 'bath': '\\uD83D\\uDEC0',\n 'bathtub': '\\uD83D\\uDEC1',\n 'battery': '\\uD83D\\uDD0B',\n 'beach_umbrella': '\\uD83C\\uDFD6',\n 'bear': '\\uD83D\\uDC3B',\n 'bed': '\\uD83D\\uDECF',\n 'bee': '\\uD83D\\uDC1D',\n 'beer': '\\uD83C\\uDF7A',\n 'beers': '\\uD83C\\uDF7B',\n 'beetle': '\\uD83D\\uDC1E',\n 'beginner': '\\uD83D\\uDD30',\n 'bell': '\\uD83D\\uDD14',\n 'bellhop_bell': '\\uD83D\\uDECE',\n 'bento': '\\uD83C\\uDF71',\n 'biking_man': '\\uD83D\\uDEB4',\n 'bike': '\\uD83D\\uDEB2',\n 'biking_woman': '\\uD83D\\uDEB4\\u2640\\uFE0F',\n 'bikini': '\\uD83D\\uDC59',\n 'biohazard': '\\u2623\\uFE0F',\n 'bird': '\\uD83D\\uDC26',\n 'birthday': '\\uD83C\\uDF82',\n 'black_circle': '\\u26AB\\uFE0F',\n 'black_flag': '\\uD83C\\uDFF4',\n 'black_heart': '\\uD83D\\uDDA4',\n 'black_joker': '\\uD83C\\uDCCF',\n 'black_large_square': '\\u2B1B\\uFE0F',\n 'black_medium_small_square': '\\u25FE\\uFE0F',\n 'black_medium_square': '\\u25FC\\uFE0F',\n 'black_nib': '\\u2712\\uFE0F',\n 'black_small_square': '\\u25AA\\uFE0F',\n 'black_square_button': '\\uD83D\\uDD32',\n 'blonde_man': '\\uD83D\\uDC71',\n 'blonde_woman': '\\uD83D\\uDC71\\u2640\\uFE0F',\n 'blossom': '\\uD83C\\uDF3C',\n 'blowfish': '\\uD83D\\uDC21',\n 'blue_book': '\\uD83D\\uDCD8',\n 'blue_car': '\\uD83D\\uDE99',\n 'blue_heart': '\\uD83D\\uDC99',\n 'blush': '\\uD83D\\uDE0A',\n 'boar': '\\uD83D\\uDC17',\n 'boat': '\\u26F5\\uFE0F',\n 'bomb': '\\uD83D\\uDCA3',\n 'book': '\\uD83D\\uDCD6',\n 'bookmark': '\\uD83D\\uDD16',\n 'bookmark_tabs': '\\uD83D\\uDCD1',\n 'books': '\\uD83D\\uDCDA',\n 'boom': '\\uD83D\\uDCA5',\n 'boot': '\\uD83D\\uDC62',\n 'bouquet': '\\uD83D\\uDC90',\n 'bowing_man': '\\uD83D\\uDE47',\n 'bow_and_arrow': '\\uD83C\\uDFF9',\n 'bowing_woman': '\\uD83D\\uDE47\\u2640\\uFE0F',\n 'bowling': '\\uD83C\\uDFB3',\n 'boxing_glove': '\\uD83E\\uDD4A',\n 'boy': '\\uD83D\\uDC66',\n 'bread': '\\uD83C\\uDF5E',\n 'bride_with_veil': '\\uD83D\\uDC70',\n 'bridge_at_night': '\\uD83C\\uDF09',\n 'briefcase': '\\uD83D\\uDCBC',\n 'broken_heart': '\\uD83D\\uDC94',\n 'bug': '\\uD83D\\uDC1B',\n 'building_construction': '\\uD83C\\uDFD7',\n 'bulb': '\\uD83D\\uDCA1',\n 'bullettrain_front': '\\uD83D\\uDE85',\n 'bullettrain_side': '\\uD83D\\uDE84',\n 'burrito': '\\uD83C\\uDF2F',\n 'bus': '\\uD83D\\uDE8C',\n 'business_suit_levitating': '\\uD83D\\uDD74',\n 'busstop': '\\uD83D\\uDE8F',\n 'bust_in_silhouette': '\\uD83D\\uDC64',\n 'busts_in_silhouette': '\\uD83D\\uDC65',\n 'butterfly': '\\uD83E\\uDD8B',\n 'cactus': '\\uD83C\\uDF35',\n 'cake': '\\uD83C\\uDF70',\n 'calendar': '\\uD83D\\uDCC6',\n 'call_me_hand': '\\uD83E\\uDD19',\n 'calling': '\\uD83D\\uDCF2',\n 'camel': '\\uD83D\\uDC2B',\n 'camera': '\\uD83D\\uDCF7',\n 'camera_flash': '\\uD83D\\uDCF8',\n 'camping': '\\uD83C\\uDFD5',\n 'cancer': '\\u264B\\uFE0F',\n 'candle': '\\uD83D\\uDD6F',\n 'candy': '\\uD83C\\uDF6C',\n 'canoe': '\\uD83D\\uDEF6',\n 'capital_abcd': '\\uD83D\\uDD20',\n 'capricorn': '\\u2651\\uFE0F',\n 'car': '\\uD83D\\uDE97',\n 'card_file_box': '\\uD83D\\uDDC3',\n 'card_index': '\\uD83D\\uDCC7',\n 'card_index_dividers': '\\uD83D\\uDDC2',\n 'carousel_horse': '\\uD83C\\uDFA0',\n 'carrot': '\\uD83E\\uDD55',\n 'cat': '\\uD83D\\uDC31',\n 'cat2': '\\uD83D\\uDC08',\n 'cd': '\\uD83D\\uDCBF',\n 'chains': '\\u26D3',\n 'champagne': '\\uD83C\\uDF7E',\n 'chart': '\\uD83D\\uDCB9',\n 'chart_with_downwards_trend': '\\uD83D\\uDCC9',\n 'chart_with_upwards_trend': '\\uD83D\\uDCC8',\n 'checkered_flag': '\\uD83C\\uDFC1',\n 'cheese': '\\uD83E\\uDDC0',\n 'cherries': '\\uD83C\\uDF52',\n 'cherry_blossom': '\\uD83C\\uDF38',\n 'chestnut': '\\uD83C\\uDF30',\n 'chicken': '\\uD83D\\uDC14',\n 'children_crossing': '\\uD83D\\uDEB8',\n 'chipmunk': '\\uD83D\\uDC3F',\n 'chocolate_bar': '\\uD83C\\uDF6B',\n 'christmas_tree': '\\uD83C\\uDF84',\n 'church': '\\u26EA\\uFE0F',\n 'cinema': '\\uD83C\\uDFA6',\n 'circus_tent': '\\uD83C\\uDFAA',\n 'city_sunrise': '\\uD83C\\uDF07',\n 'city_sunset': '\\uD83C\\uDF06',\n 'cityscape': '\\uD83C\\uDFD9',\n 'cl': '\\uD83C\\uDD91',\n 'clamp': '\\uD83D\\uDDDC',\n 'clap': '\\uD83D\\uDC4F',\n 'clapper': '\\uD83C\\uDFAC',\n 'classical_building': '\\uD83C\\uDFDB',\n 'clinking_glasses': '\\uD83E\\uDD42',\n 'clipboard': '\\uD83D\\uDCCB',\n 'clock1': '\\uD83D\\uDD50',\n 'clock10': '\\uD83D\\uDD59',\n 'clock1030': '\\uD83D\\uDD65',\n 'clock11': '\\uD83D\\uDD5A',\n 'clock1130': '\\uD83D\\uDD66',\n 'clock12': '\\uD83D\\uDD5B',\n 'clock1230': '\\uD83D\\uDD67',\n 'clock130': '\\uD83D\\uDD5C',\n 'clock2': '\\uD83D\\uDD51',\n 'clock230': '\\uD83D\\uDD5D',\n 'clock3': '\\uD83D\\uDD52',\n 'clock330': '\\uD83D\\uDD5E',\n 'clock4': '\\uD83D\\uDD53',\n 'clock430': '\\uD83D\\uDD5F',\n 'clock5': '\\uD83D\\uDD54',\n 'clock530': '\\uD83D\\uDD60',\n 'clock6': '\\uD83D\\uDD55',\n 'clock630': '\\uD83D\\uDD61',\n 'clock7': '\\uD83D\\uDD56',\n 'clock730': '\\uD83D\\uDD62',\n 'clock8': '\\uD83D\\uDD57',\n 'clock830': '\\uD83D\\uDD63',\n 'clock9': '\\uD83D\\uDD58',\n 'clock930': '\\uD83D\\uDD64',\n 'closed_book': '\\uD83D\\uDCD5',\n 'closed_lock_with_key': '\\uD83D\\uDD10',\n 'closed_umbrella': '\\uD83C\\uDF02',\n 'cloud': '\\u2601\\uFE0F',\n 'cloud_with_lightning': '\\uD83C\\uDF29',\n 'cloud_with_lightning_and_rain': '\\u26C8',\n 'cloud_with_rain': '\\uD83C\\uDF27',\n 'cloud_with_snow': '\\uD83C\\uDF28',\n 'clown_face': '\\uD83E\\uDD21',\n 'clubs': '\\u2663\\uFE0F',\n 'cocktail': '\\uD83C\\uDF78',\n 'coffee': '\\u2615\\uFE0F',\n 'coffin': '\\u26B0\\uFE0F',\n 'cold_sweat': '\\uD83D\\uDE30',\n 'comet': '\\u2604\\uFE0F',\n 'computer': '\\uD83D\\uDCBB',\n 'computer_mouse': '\\uD83D\\uDDB1',\n 'confetti_ball': '\\uD83C\\uDF8A',\n 'confounded': '\\uD83D\\uDE16',\n 'confused': '\\uD83D\\uDE15',\n 'congratulations': '\\u3297\\uFE0F',\n 'construction': '\\uD83D\\uDEA7',\n 'construction_worker_man': '\\uD83D\\uDC77',\n 'construction_worker_woman': '\\uD83D\\uDC77\\u2640\\uFE0F',\n 'control_knobs': '\\uD83C\\uDF9B',\n 'convenience_store': '\\uD83C\\uDFEA',\n 'cookie': '\\uD83C\\uDF6A',\n 'cool': '\\uD83C\\uDD92',\n 'policeman': '\\uD83D\\uDC6E',\n 'copyright': '\\xA9\\uFE0F',\n 'corn': '\\uD83C\\uDF3D',\n 'couch_and_lamp': '\\uD83D\\uDECB',\n 'couple': '\\uD83D\\uDC6B',\n 'couple_with_heart_woman_man': '\\uD83D\\uDC91',\n 'couple_with_heart_man_man': '\\uD83D\\uDC68\\u2764\\uFE0F\\uD83D\\uDC68',\n 'couple_with_heart_woman_woman': '\\uD83D\\uDC69\\u2764\\uFE0F\\uD83D\\uDC69',\n 'couplekiss_man_man': '\\uD83D\\uDC68\\u2764\\uFE0F\\uD83D\\uDC8B\\uD83D\\uDC68',\n 'couplekiss_man_woman': '\\uD83D\\uDC8F',\n 'couplekiss_woman_woman': '\\uD83D\\uDC69\\u2764\\uFE0F\\uD83D\\uDC8B\\uD83D\\uDC69',\n 'cow': '\\uD83D\\uDC2E',\n 'cow2': '\\uD83D\\uDC04',\n 'cowboy_hat_face': '\\uD83E\\uDD20',\n 'crab': '\\uD83E\\uDD80',\n 'crayon': '\\uD83D\\uDD8D',\n 'credit_card': '\\uD83D\\uDCB3',\n 'crescent_moon': '\\uD83C\\uDF19',\n 'cricket': '\\uD83C\\uDFCF',\n 'crocodile': '\\uD83D\\uDC0A',\n 'croissant': '\\uD83E\\uDD50',\n 'crossed_fingers': '\\uD83E\\uDD1E',\n 'crossed_flags': '\\uD83C\\uDF8C',\n 'crossed_swords': '\\u2694\\uFE0F',\n 'crown': '\\uD83D\\uDC51',\n 'cry': '\\uD83D\\uDE22',\n 'crying_cat_face': '\\uD83D\\uDE3F',\n 'crystal_ball': '\\uD83D\\uDD2E',\n 'cucumber': '\\uD83E\\uDD52',\n 'cupid': '\\uD83D\\uDC98',\n 'curly_loop': '\\u27B0',\n 'currency_exchange': '\\uD83D\\uDCB1',\n 'curry': '\\uD83C\\uDF5B',\n 'custard': '\\uD83C\\uDF6E',\n 'customs': '\\uD83D\\uDEC3',\n 'cyclone': '\\uD83C\\uDF00',\n 'dagger': '\\uD83D\\uDDE1',\n 'dancer': '\\uD83D\\uDC83',\n 'dancing_women': '\\uD83D\\uDC6F',\n 'dancing_men': '\\uD83D\\uDC6F\\u2642\\uFE0F',\n 'dango': '\\uD83C\\uDF61',\n 'dark_sunglasses': '\\uD83D\\uDD76',\n 'dart': '\\uD83C\\uDFAF',\n 'dash': '\\uD83D\\uDCA8',\n 'date': '\\uD83D\\uDCC5',\n 'deciduous_tree': '\\uD83C\\uDF33',\n 'deer': '\\uD83E\\uDD8C',\n 'department_store': '\\uD83C\\uDFEC',\n 'derelict_house': '\\uD83C\\uDFDA',\n 'desert': '\\uD83C\\uDFDC',\n 'desert_island': '\\uD83C\\uDFDD',\n 'desktop_computer': '\\uD83D\\uDDA5',\n 'male_detective': '\\uD83D\\uDD75\\uFE0F',\n 'diamond_shape_with_a_dot_inside': '\\uD83D\\uDCA0',\n 'diamonds': '\\u2666\\uFE0F',\n 'disappointed': '\\uD83D\\uDE1E',\n 'disappointed_relieved': '\\uD83D\\uDE25',\n 'dizzy': '\\uD83D\\uDCAB',\n 'dizzy_face': '\\uD83D\\uDE35',\n 'do_not_litter': '\\uD83D\\uDEAF',\n 'dog': '\\uD83D\\uDC36',\n 'dog2': '\\uD83D\\uDC15',\n 'dollar': '\\uD83D\\uDCB5',\n 'dolls': '\\uD83C\\uDF8E',\n 'dolphin': '\\uD83D\\uDC2C',\n 'door': '\\uD83D\\uDEAA',\n 'doughnut': '\\uD83C\\uDF69',\n 'dove': '\\uD83D\\uDD4A',\n 'dragon': '\\uD83D\\uDC09',\n 'dragon_face': '\\uD83D\\uDC32',\n 'dress': '\\uD83D\\uDC57',\n 'dromedary_camel': '\\uD83D\\uDC2A',\n 'drooling_face': '\\uD83E\\uDD24',\n 'droplet': '\\uD83D\\uDCA7',\n 'drum': '\\uD83E\\uDD41',\n 'duck': '\\uD83E\\uDD86',\n 'dvd': '\\uD83D\\uDCC0',\n 'e-mail': '\\uD83D\\uDCE7',\n 'eagle': '\\uD83E\\uDD85',\n 'ear': '\\uD83D\\uDC42',\n 'ear_of_rice': '\\uD83C\\uDF3E',\n 'earth_africa': '\\uD83C\\uDF0D',\n 'earth_americas': '\\uD83C\\uDF0E',\n 'earth_asia': '\\uD83C\\uDF0F',\n 'egg': '\\uD83E\\uDD5A',\n 'eggplant': '\\uD83C\\uDF46',\n 'eight_pointed_black_star': '\\u2734\\uFE0F',\n 'eight_spoked_asterisk': '\\u2733\\uFE0F',\n 'electric_plug': '\\uD83D\\uDD0C',\n 'elephant': '\\uD83D\\uDC18',\n 'email': '\\u2709\\uFE0F',\n 'end': '\\uD83D\\uDD1A',\n 'envelope_with_arrow': '\\uD83D\\uDCE9',\n 'euro': '\\uD83D\\uDCB6',\n 'european_castle': '\\uD83C\\uDFF0',\n 'european_post_office': '\\uD83C\\uDFE4',\n 'evergreen_tree': '\\uD83C\\uDF32',\n 'exclamation': '\\u2757\\uFE0F',\n 'expressionless': '\\uD83D\\uDE11',\n 'eye': '\\uD83D\\uDC41',\n 'eye_speech_bubble': '\\uD83D\\uDC41\\uD83D\\uDDE8',\n 'eyeglasses': '\\uD83D\\uDC53',\n 'eyes': '\\uD83D\\uDC40',\n 'face_with_head_bandage': '\\uD83E\\uDD15',\n 'face_with_thermometer': '\\uD83E\\uDD12',\n 'fist_oncoming': '\\uD83D\\uDC4A',\n 'factory': '\\uD83C\\uDFED',\n 'fallen_leaf': '\\uD83C\\uDF42',\n 'family_man_woman_boy': '\\uD83D\\uDC6A',\n 'family_man_boy': '\\uD83D\\uDC68\\uD83D\\uDC66',\n 'family_man_boy_boy': '\\uD83D\\uDC68\\uD83D\\uDC66\\uD83D\\uDC66',\n 'family_man_girl': '\\uD83D\\uDC68\\uD83D\\uDC67',\n 'family_man_girl_boy': '\\uD83D\\uDC68\\uD83D\\uDC67\\uD83D\\uDC66',\n 'family_man_girl_girl': '\\uD83D\\uDC68\\uD83D\\uDC67\\uD83D\\uDC67',\n 'family_man_man_boy': '\\uD83D\\uDC68\\uD83D\\uDC68\\uD83D\\uDC66',\n 'family_man_man_boy_boy': '\\uD83D\\uDC68\\uD83D\\uDC68\\uD83D\\uDC66\\uD83D\\uDC66',\n 'family_man_man_girl': '\\uD83D\\uDC68\\uD83D\\uDC68\\uD83D\\uDC67',\n 'family_man_man_girl_boy': '\\uD83D\\uDC68\\uD83D\\uDC68\\uD83D\\uDC67\\uD83D\\uDC66',\n 'family_man_man_girl_girl': '\\uD83D\\uDC68\\uD83D\\uDC68\\uD83D\\uDC67\\uD83D\\uDC67',\n 'family_man_woman_boy_boy': '\\uD83D\\uDC68\\uD83D\\uDC69\\uD83D\\uDC66\\uD83D\\uDC66',\n 'family_man_woman_girl': '\\uD83D\\uDC68\\uD83D\\uDC69\\uD83D\\uDC67',\n 'family_man_woman_girl_boy': '\\uD83D\\uDC68\\uD83D\\uDC69\\uD83D\\uDC67\\uD83D\\uDC66',\n 'family_man_woman_girl_girl': '\\uD83D\\uDC68\\uD83D\\uDC69\\uD83D\\uDC67\\uD83D\\uDC67',\n 'family_woman_boy': '\\uD83D\\uDC69\\uD83D\\uDC66',\n 'family_woman_boy_boy': '\\uD83D\\uDC69\\uD83D\\uDC66\\uD83D\\uDC66',\n 'family_woman_girl': '\\uD83D\\uDC69\\uD83D\\uDC67',\n 'family_woman_girl_boy': '\\uD83D\\uDC69\\uD83D\\uDC67\\uD83D\\uDC66',\n 'family_woman_girl_girl': '\\uD83D\\uDC69\\uD83D\\uDC67\\uD83D\\uDC67',\n 'family_woman_woman_boy': '\\uD83D\\uDC69\\uD83D\\uDC69\\uD83D\\uDC66',\n 'family_woman_woman_boy_boy': '\\uD83D\\uDC69\\uD83D\\uDC69\\uD83D\\uDC66\\uD83D\\uDC66',\n 'family_woman_woman_girl': '\\uD83D\\uDC69\\uD83D\\uDC69\\uD83D\\uDC67',\n 'family_woman_woman_girl_boy': '\\uD83D\\uDC69\\uD83D\\uDC69\\uD83D\\uDC67\\uD83D\\uDC66',\n 'family_woman_woman_girl_girl': '\\uD83D\\uDC69\\uD83D\\uDC69\\uD83D\\uDC67\\uD83D\\uDC67',\n 'fast_forward': '\\u23E9',\n 'fax': '\\uD83D\\uDCE0',\n 'fearful': '\\uD83D\\uDE28',\n 'feet': '\\uD83D\\uDC3E',\n 'female_detective': '\\uD83D\\uDD75\\uFE0F\\u2640\\uFE0F',\n 'ferris_wheel': '\\uD83C\\uDFA1',\n 'ferry': '\\u26F4',\n 'field_hockey': '\\uD83C\\uDFD1',\n 'file_cabinet': '\\uD83D\\uDDC4',\n 'file_folder': '\\uD83D\\uDCC1',\n 'film_projector': '\\uD83D\\uDCFD',\n 'film_strip': '\\uD83C\\uDF9E',\n 'fire': '\\uD83D\\uDD25',\n 'fire_engine': '\\uD83D\\uDE92',\n 'fireworks': '\\uD83C\\uDF86',\n 'first_quarter_moon': '\\uD83C\\uDF13',\n 'first_quarter_moon_with_face': '\\uD83C\\uDF1B',\n 'fish': '\\uD83D\\uDC1F',\n 'fish_cake': '\\uD83C\\uDF65',\n 'fishing_pole_and_fish': '\\uD83C\\uDFA3',\n 'fist_raised': '\\u270A',\n 'fist_left': '\\uD83E\\uDD1B',\n 'fist_right': '\\uD83E\\uDD1C',\n 'flags': '\\uD83C\\uDF8F',\n 'flashlight': '\\uD83D\\uDD26',\n 'fleur_de_lis': '\\u269C\\uFE0F',\n 'flight_arrival': '\\uD83D\\uDEEC',\n 'flight_departure': '\\uD83D\\uDEEB',\n 'floppy_disk': '\\uD83D\\uDCBE',\n 'flower_playing_cards': '\\uD83C\\uDFB4',\n 'flushed': '\\uD83D\\uDE33',\n 'fog': '\\uD83C\\uDF2B',\n 'foggy': '\\uD83C\\uDF01',\n 'football': '\\uD83C\\uDFC8',\n 'footprints': '\\uD83D\\uDC63',\n 'fork_and_knife': '\\uD83C\\uDF74',\n 'fountain': '\\u26F2\\uFE0F',\n 'fountain_pen': '\\uD83D\\uDD8B',\n 'four_leaf_clover': '\\uD83C\\uDF40',\n 'fox_face': '\\uD83E\\uDD8A',\n 'framed_picture': '\\uD83D\\uDDBC',\n 'free': '\\uD83C\\uDD93',\n 'fried_egg': '\\uD83C\\uDF73',\n 'fried_shrimp': '\\uD83C\\uDF64',\n 'fries': '\\uD83C\\uDF5F',\n 'frog': '\\uD83D\\uDC38',\n 'frowning': '\\uD83D\\uDE26',\n 'frowning_face': '\\u2639\\uFE0F',\n 'frowning_man': '\\uD83D\\uDE4D\\u2642\\uFE0F',\n 'frowning_woman': '\\uD83D\\uDE4D',\n 'middle_finger': '\\uD83D\\uDD95',\n 'fuelpump': '\\u26FD\\uFE0F',\n 'full_moon': '\\uD83C\\uDF15',\n 'full_moon_with_face': '\\uD83C\\uDF1D',\n 'funeral_urn': '\\u26B1\\uFE0F',\n 'game_die': '\\uD83C\\uDFB2',\n 'gear': '\\u2699\\uFE0F',\n 'gem': '\\uD83D\\uDC8E',\n 'gemini': '\\u264A\\uFE0F',\n 'ghost': '\\uD83D\\uDC7B',\n 'gift': '\\uD83C\\uDF81',\n 'gift_heart': '\\uD83D\\uDC9D',\n 'girl': '\\uD83D\\uDC67',\n 'globe_with_meridians': '\\uD83C\\uDF10',\n 'goal_net': '\\uD83E\\uDD45',\n 'goat': '\\uD83D\\uDC10',\n 'golf': '\\u26F3\\uFE0F',\n 'golfing_man': '\\uD83C\\uDFCC\\uFE0F',\n 'golfing_woman': '\\uD83C\\uDFCC\\uFE0F\\u2640\\uFE0F',\n 'gorilla': '\\uD83E\\uDD8D',\n 'grapes': '\\uD83C\\uDF47',\n 'green_apple': '\\uD83C\\uDF4F',\n 'green_book': '\\uD83D\\uDCD7',\n 'green_heart': '\\uD83D\\uDC9A',\n 'green_salad': '\\uD83E\\uDD57',\n 'grey_exclamation': '\\u2755',\n 'grey_question': '\\u2754',\n 'grimacing': '\\uD83D\\uDE2C',\n 'grin': '\\uD83D\\uDE01',\n 'grinning': '\\uD83D\\uDE00',\n 'guardsman': '\\uD83D\\uDC82',\n 'guardswoman': '\\uD83D\\uDC82\\u2640\\uFE0F',\n 'guitar': '\\uD83C\\uDFB8',\n 'gun': '\\uD83D\\uDD2B',\n 'haircut_woman': '\\uD83D\\uDC87',\n 'haircut_man': '\\uD83D\\uDC87\\u2642\\uFE0F',\n 'hamburger': '\\uD83C\\uDF54',\n 'hammer': '\\uD83D\\uDD28',\n 'hammer_and_pick': '\\u2692',\n 'hammer_and_wrench': '\\uD83D\\uDEE0',\n 'hamster': '\\uD83D\\uDC39',\n 'hand': '\\u270B',\n 'handbag': '\\uD83D\\uDC5C',\n 'handshake': '\\uD83E\\uDD1D',\n 'hankey': '\\uD83D\\uDCA9',\n 'hatched_chick': '\\uD83D\\uDC25',\n 'hatching_chick': '\\uD83D\\uDC23',\n 'headphones': '\\uD83C\\uDFA7',\n 'hear_no_evil': '\\uD83D\\uDE49',\n 'heart': '\\u2764\\uFE0F',\n 'heart_decoration': '\\uD83D\\uDC9F',\n 'heart_eyes': '\\uD83D\\uDE0D',\n 'heart_eyes_cat': '\\uD83D\\uDE3B',\n 'heartbeat': '\\uD83D\\uDC93',\n 'heartpulse': '\\uD83D\\uDC97',\n 'hearts': '\\u2665\\uFE0F',\n 'heavy_check_mark': '\\u2714\\uFE0F',\n 'heavy_division_sign': '\\u2797',\n 'heavy_dollar_sign': '\\uD83D\\uDCB2',\n 'heavy_heart_exclamation': '\\u2763\\uFE0F',\n 'heavy_minus_sign': '\\u2796',\n 'heavy_multiplication_x': '\\u2716\\uFE0F',\n 'heavy_plus_sign': '\\u2795',\n 'helicopter': '\\uD83D\\uDE81',\n 'herb': '\\uD83C\\uDF3F',\n 'hibiscus': '\\uD83C\\uDF3A',\n 'high_brightness': '\\uD83D\\uDD06',\n 'high_heel': '\\uD83D\\uDC60',\n 'hocho': '\\uD83D\\uDD2A',\n 'hole': '\\uD83D\\uDD73',\n 'honey_pot': '\\uD83C\\uDF6F',\n 'horse': '\\uD83D\\uDC34',\n 'horse_racing': '\\uD83C\\uDFC7',\n 'hospital': '\\uD83C\\uDFE5',\n 'hot_pepper': '\\uD83C\\uDF36',\n 'hotdog': '\\uD83C\\uDF2D',\n 'hotel': '\\uD83C\\uDFE8',\n 'hotsprings': '\\u2668\\uFE0F',\n 'hourglass': '\\u231B\\uFE0F',\n 'hourglass_flowing_sand': '\\u23F3',\n 'house': '\\uD83C\\uDFE0',\n 'house_with_garden': '\\uD83C\\uDFE1',\n 'houses': '\\uD83C\\uDFD8',\n 'hugs': '\\uD83E\\uDD17',\n 'hushed': '\\uD83D\\uDE2F',\n 'ice_cream': '\\uD83C\\uDF68',\n 'ice_hockey': '\\uD83C\\uDFD2',\n 'ice_skate': '\\u26F8',\n 'icecream': '\\uD83C\\uDF66',\n 'id': '\\uD83C\\uDD94',\n 'ideograph_advantage': '\\uD83C\\uDE50',\n 'imp': '\\uD83D\\uDC7F',\n 'inbox_tray': '\\uD83D\\uDCE5',\n 'incoming_envelope': '\\uD83D\\uDCE8',\n 'tipping_hand_woman': '\\uD83D\\uDC81',\n 'information_source': '\\u2139\\uFE0F',\n 'innocent': '\\uD83D\\uDE07',\n 'interrobang': '\\u2049\\uFE0F',\n 'iphone': '\\uD83D\\uDCF1',\n 'izakaya_lantern': '\\uD83C\\uDFEE',\n 'jack_o_lantern': '\\uD83C\\uDF83',\n 'japan': '\\uD83D\\uDDFE',\n 'japanese_castle': '\\uD83C\\uDFEF',\n 'japanese_goblin': '\\uD83D\\uDC7A',\n 'japanese_ogre': '\\uD83D\\uDC79',\n 'jeans': '\\uD83D\\uDC56',\n 'joy': '\\uD83D\\uDE02',\n 'joy_cat': '\\uD83D\\uDE39',\n 'joystick': '\\uD83D\\uDD79',\n 'kaaba': '\\uD83D\\uDD4B',\n 'key': '\\uD83D\\uDD11',\n 'keyboard': '\\u2328\\uFE0F',\n 'keycap_ten': '\\uD83D\\uDD1F',\n 'kick_scooter': '\\uD83D\\uDEF4',\n 'kimono': '\\uD83D\\uDC58',\n 'kiss': '\\uD83D\\uDC8B',\n 'kissing': '\\uD83D\\uDE17',\n 'kissing_cat': '\\uD83D\\uDE3D',\n 'kissing_closed_eyes': '\\uD83D\\uDE1A',\n 'kissing_heart': '\\uD83D\\uDE18',\n 'kissing_smiling_eyes': '\\uD83D\\uDE19',\n 'kiwi_fruit': '\\uD83E\\uDD5D',\n 'koala': '\\uD83D\\uDC28',\n 'koko': '\\uD83C\\uDE01',\n 'label': '\\uD83C\\uDFF7',\n 'large_blue_circle': '\\uD83D\\uDD35',\n 'large_blue_diamond': '\\uD83D\\uDD37',\n 'large_orange_diamond': '\\uD83D\\uDD36',\n 'last_quarter_moon': '\\uD83C\\uDF17',\n 'last_quarter_moon_with_face': '\\uD83C\\uDF1C',\n 'latin_cross': '\\u271D\\uFE0F',\n 'laughing': '\\uD83D\\uDE06',\n 'leaves': '\\uD83C\\uDF43',\n 'ledger': '\\uD83D\\uDCD2',\n 'left_luggage': '\\uD83D\\uDEC5',\n 'left_right_arrow': '\\u2194\\uFE0F',\n 'leftwards_arrow_with_hook': '\\u21A9\\uFE0F',\n 'lemon': '\\uD83C\\uDF4B',\n 'leo': '\\u264C\\uFE0F',\n 'leopard': '\\uD83D\\uDC06',\n 'level_slider': '\\uD83C\\uDF9A',\n 'libra': '\\u264E\\uFE0F',\n 'light_rail': '\\uD83D\\uDE88',\n 'link': '\\uD83D\\uDD17',\n 'lion': '\\uD83E\\uDD81',\n 'lips': '\\uD83D\\uDC44',\n 'lipstick': '\\uD83D\\uDC84',\n 'lizard': '\\uD83E\\uDD8E',\n 'lock': '\\uD83D\\uDD12',\n 'lock_with_ink_pen': '\\uD83D\\uDD0F',\n 'lollipop': '\\uD83C\\uDF6D',\n 'loop': '\\u27BF',\n 'loud_sound': '\\uD83D\\uDD0A',\n 'loudspeaker': '\\uD83D\\uDCE2',\n 'love_hotel': '\\uD83C\\uDFE9',\n 'love_letter': '\\uD83D\\uDC8C',\n 'low_brightness': '\\uD83D\\uDD05',\n 'lying_face': '\\uD83E\\uDD25',\n 'm': '\\u24C2\\uFE0F',\n 'mag': '\\uD83D\\uDD0D',\n 'mag_right': '\\uD83D\\uDD0E',\n 'mahjong': '\\uD83C\\uDC04\\uFE0F',\n 'mailbox': '\\uD83D\\uDCEB',\n 'mailbox_closed': '\\uD83D\\uDCEA',\n 'mailbox_with_mail': '\\uD83D\\uDCEC',\n 'mailbox_with_no_mail': '\\uD83D\\uDCED',\n 'man': '\\uD83D\\uDC68',\n 'man_artist': '\\uD83D\\uDC68\\uD83C\\uDFA8',\n 'man_astronaut': '\\uD83D\\uDC68\\uD83D\\uDE80',\n 'man_cartwheeling': '\\uD83E\\uDD38\\u2642\\uFE0F',\n 'man_cook': '\\uD83D\\uDC68\\uD83C\\uDF73',\n 'man_dancing': '\\uD83D\\uDD7A',\n 'man_facepalming': '\\uD83E\\uDD26\\u2642\\uFE0F',\n 'man_factory_worker': '\\uD83D\\uDC68\\uD83C\\uDFED',\n 'man_farmer': '\\uD83D\\uDC68\\uD83C\\uDF3E',\n 'man_firefighter': '\\uD83D\\uDC68\\uD83D\\uDE92',\n 'man_health_worker': '\\uD83D\\uDC68\\u2695\\uFE0F',\n 'man_in_tuxedo': '\\uD83E\\uDD35',\n 'man_judge': '\\uD83D\\uDC68\\u2696\\uFE0F',\n 'man_juggling': '\\uD83E\\uDD39\\u2642\\uFE0F',\n 'man_mechanic': '\\uD83D\\uDC68\\uD83D\\uDD27',\n 'man_office_worker': '\\uD83D\\uDC68\\uD83D\\uDCBC',\n 'man_pilot': '\\uD83D\\uDC68\\u2708\\uFE0F',\n 'man_playing_handball': '\\uD83E\\uDD3E\\u2642\\uFE0F',\n 'man_playing_water_polo': '\\uD83E\\uDD3D\\u2642\\uFE0F',\n 'man_scientist': '\\uD83D\\uDC68\\uD83D\\uDD2C',\n 'man_shrugging': '\\uD83E\\uDD37\\u2642\\uFE0F',\n 'man_singer': '\\uD83D\\uDC68\\uD83C\\uDFA4',\n 'man_student': '\\uD83D\\uDC68\\uD83C\\uDF93',\n 'man_teacher': '\\uD83D\\uDC68\\uD83C\\uDFEB',\n 'man_technologist': '\\uD83D\\uDC68\\uD83D\\uDCBB',\n 'man_with_gua_pi_mao': '\\uD83D\\uDC72',\n 'man_with_turban': '\\uD83D\\uDC73',\n 'tangerine': '\\uD83C\\uDF4A',\n 'mans_shoe': '\\uD83D\\uDC5E',\n 'mantelpiece_clock': '\\uD83D\\uDD70',\n 'maple_leaf': '\\uD83C\\uDF41',\n 'martial_arts_uniform': '\\uD83E\\uDD4B',\n 'mask': '\\uD83D\\uDE37',\n 'massage_woman': '\\uD83D\\uDC86',\n 'massage_man': '\\uD83D\\uDC86\\u2642\\uFE0F',\n 'meat_on_bone': '\\uD83C\\uDF56',\n 'medal_military': '\\uD83C\\uDF96',\n 'medal_sports': '\\uD83C\\uDFC5',\n 'mega': '\\uD83D\\uDCE3',\n 'melon': '\\uD83C\\uDF48',\n 'memo': '\\uD83D\\uDCDD',\n 'men_wrestling': '\\uD83E\\uDD3C\\u2642\\uFE0F',\n 'menorah': '\\uD83D\\uDD4E',\n 'mens': '\\uD83D\\uDEB9',\n 'metal': '\\uD83E\\uDD18',\n 'metro': '\\uD83D\\uDE87',\n 'microphone': '\\uD83C\\uDFA4',\n 'microscope': '\\uD83D\\uDD2C',\n 'milk_glass': '\\uD83E\\uDD5B',\n 'milky_way': '\\uD83C\\uDF0C',\n 'minibus': '\\uD83D\\uDE90',\n 'minidisc': '\\uD83D\\uDCBD',\n 'mobile_phone_off': '\\uD83D\\uDCF4',\n 'money_mouth_face': '\\uD83E\\uDD11',\n 'money_with_wings': '\\uD83D\\uDCB8',\n 'moneybag': '\\uD83D\\uDCB0',\n 'monkey': '\\uD83D\\uDC12',\n 'monkey_face': '\\uD83D\\uDC35',\n 'monorail': '\\uD83D\\uDE9D',\n 'moon': '\\uD83C\\uDF14',\n 'mortar_board': '\\uD83C\\uDF93',\n 'mosque': '\\uD83D\\uDD4C',\n 'motor_boat': '\\uD83D\\uDEE5',\n 'motor_scooter': '\\uD83D\\uDEF5',\n 'motorcycle': '\\uD83C\\uDFCD',\n 'motorway': '\\uD83D\\uDEE3',\n 'mount_fuji': '\\uD83D\\uDDFB',\n 'mountain': '\\u26F0',\n 'mountain_biking_man': '\\uD83D\\uDEB5',\n 'mountain_biking_woman': '\\uD83D\\uDEB5\\u2640\\uFE0F',\n 'mountain_cableway': '\\uD83D\\uDEA0',\n 'mountain_railway': '\\uD83D\\uDE9E',\n 'mountain_snow': '\\uD83C\\uDFD4',\n 'mouse': '\\uD83D\\uDC2D',\n 'mouse2': '\\uD83D\\uDC01',\n 'movie_camera': '\\uD83C\\uDFA5',\n 'moyai': '\\uD83D\\uDDFF',\n 'mrs_claus': '\\uD83E\\uDD36',\n 'muscle': '\\uD83D\\uDCAA',\n 'mushroom': '\\uD83C\\uDF44',\n 'musical_keyboard': '\\uD83C\\uDFB9',\n 'musical_note': '\\uD83C\\uDFB5',\n 'musical_score': '\\uD83C\\uDFBC',\n 'mute': '\\uD83D\\uDD07',\n 'nail_care': '\\uD83D\\uDC85',\n 'name_badge': '\\uD83D\\uDCDB',\n 'national_park': '\\uD83C\\uDFDE',\n 'nauseated_face': '\\uD83E\\uDD22',\n 'necktie': '\\uD83D\\uDC54',\n 'negative_squared_cross_mark': '\\u274E',\n 'nerd_face': '\\uD83E\\uDD13',\n 'neutral_face': '\\uD83D\\uDE10',\n 'new': '\\uD83C\\uDD95',\n 'new_moon': '\\uD83C\\uDF11',\n 'new_moon_with_face': '\\uD83C\\uDF1A',\n 'newspaper': '\\uD83D\\uDCF0',\n 'newspaper_roll': '\\uD83D\\uDDDE',\n 'next_track_button': '\\u23ED',\n 'ng': '\\uD83C\\uDD96',\n 'no_good_man': '\\uD83D\\uDE45\\u2642\\uFE0F',\n 'no_good_woman': '\\uD83D\\uDE45',\n 'night_with_stars': '\\uD83C\\uDF03',\n 'no_bell': '\\uD83D\\uDD15',\n 'no_bicycles': '\\uD83D\\uDEB3',\n 'no_entry': '\\u26D4\\uFE0F',\n 'no_entry_sign': '\\uD83D\\uDEAB',\n 'no_mobile_phones': '\\uD83D\\uDCF5',\n 'no_mouth': '\\uD83D\\uDE36',\n 'no_pedestrians': '\\uD83D\\uDEB7',\n 'no_smoking': '\\uD83D\\uDEAD',\n 'non-potable_water': '\\uD83D\\uDEB1',\n 'nose': '\\uD83D\\uDC43',\n 'notebook': '\\uD83D\\uDCD3',\n 'notebook_with_decorative_cover': '\\uD83D\\uDCD4',\n 'notes': '\\uD83C\\uDFB6',\n 'nut_and_bolt': '\\uD83D\\uDD29',\n 'o': '\\u2B55\\uFE0F',\n 'o2': '\\uD83C\\uDD7E\\uFE0F',\n 'ocean': '\\uD83C\\uDF0A',\n 'octopus': '\\uD83D\\uDC19',\n 'oden': '\\uD83C\\uDF62',\n 'office': '\\uD83C\\uDFE2',\n 'oil_drum': '\\uD83D\\uDEE2',\n 'ok': '\\uD83C\\uDD97',\n 'ok_hand': '\\uD83D\\uDC4C',\n 'ok_man': '\\uD83D\\uDE46\\u2642\\uFE0F',\n 'ok_woman': '\\uD83D\\uDE46',\n 'old_key': '\\uD83D\\uDDDD',\n 'older_man': '\\uD83D\\uDC74',\n 'older_woman': '\\uD83D\\uDC75',\n 'om': '\\uD83D\\uDD49',\n 'on': '\\uD83D\\uDD1B',\n 'oncoming_automobile': '\\uD83D\\uDE98',\n 'oncoming_bus': '\\uD83D\\uDE8D',\n 'oncoming_police_car': '\\uD83D\\uDE94',\n 'oncoming_taxi': '\\uD83D\\uDE96',\n 'open_file_folder': '\\uD83D\\uDCC2',\n 'open_hands': '\\uD83D\\uDC50',\n 'open_mouth': '\\uD83D\\uDE2E',\n 'open_umbrella': '\\u2602\\uFE0F',\n 'ophiuchus': '\\u26CE',\n 'orange_book': '\\uD83D\\uDCD9',\n 'orthodox_cross': '\\u2626\\uFE0F',\n 'outbox_tray': '\\uD83D\\uDCE4',\n 'owl': '\\uD83E\\uDD89',\n 'ox': '\\uD83D\\uDC02',\n 'package': '\\uD83D\\uDCE6',\n 'page_facing_up': '\\uD83D\\uDCC4',\n 'page_with_curl': '\\uD83D\\uDCC3',\n 'pager': '\\uD83D\\uDCDF',\n 'paintbrush': '\\uD83D\\uDD8C',\n 'palm_tree': '\\uD83C\\uDF34',\n 'pancakes': '\\uD83E\\uDD5E',\n 'panda_face': '\\uD83D\\uDC3C',\n 'paperclip': '\\uD83D\\uDCCE',\n 'paperclips': '\\uD83D\\uDD87',\n 'parasol_on_ground': '\\u26F1',\n 'parking': '\\uD83C\\uDD7F\\uFE0F',\n 'part_alternation_mark': '\\u303D\\uFE0F',\n 'partly_sunny': '\\u26C5\\uFE0F',\n 'passenger_ship': '\\uD83D\\uDEF3',\n 'passport_control': '\\uD83D\\uDEC2',\n 'pause_button': '\\u23F8',\n 'peace_symbol': '\\u262E\\uFE0F',\n 'peach': '\\uD83C\\uDF51',\n 'peanuts': '\\uD83E\\uDD5C',\n 'pear': '\\uD83C\\uDF50',\n 'pen': '\\uD83D\\uDD8A',\n 'pencil2': '\\u270F\\uFE0F',\n 'penguin': '\\uD83D\\uDC27',\n 'pensive': '\\uD83D\\uDE14',\n 'performing_arts': '\\uD83C\\uDFAD',\n 'persevere': '\\uD83D\\uDE23',\n 'person_fencing': '\\uD83E\\uDD3A',\n 'pouting_woman': '\\uD83D\\uDE4E',\n 'phone': '\\u260E\\uFE0F',\n 'pick': '\\u26CF',\n 'pig': '\\uD83D\\uDC37',\n 'pig2': '\\uD83D\\uDC16',\n 'pig_nose': '\\uD83D\\uDC3D',\n 'pill': '\\uD83D\\uDC8A',\n 'pineapple': '\\uD83C\\uDF4D',\n 'ping_pong': '\\uD83C\\uDFD3',\n 'pisces': '\\u2653\\uFE0F',\n 'pizza': '\\uD83C\\uDF55',\n 'place_of_worship': '\\uD83D\\uDED0',\n 'plate_with_cutlery': '\\uD83C\\uDF7D',\n 'play_or_pause_button': '\\u23EF',\n 'point_down': '\\uD83D\\uDC47',\n 'point_left': '\\uD83D\\uDC48',\n 'point_right': '\\uD83D\\uDC49',\n 'point_up': '\\u261D\\uFE0F',\n 'point_up_2': '\\uD83D\\uDC46',\n 'police_car': '\\uD83D\\uDE93',\n 'policewoman': '\\uD83D\\uDC6E\\u2640\\uFE0F',\n 'poodle': '\\uD83D\\uDC29',\n 'popcorn': '\\uD83C\\uDF7F',\n 'post_office': '\\uD83C\\uDFE3',\n 'postal_horn': '\\uD83D\\uDCEF',\n 'postbox': '\\uD83D\\uDCEE',\n 'potable_water': '\\uD83D\\uDEB0',\n 'potato': '\\uD83E\\uDD54',\n 'pouch': '\\uD83D\\uDC5D',\n 'poultry_leg': '\\uD83C\\uDF57',\n 'pound': '\\uD83D\\uDCB7',\n 'rage': '\\uD83D\\uDE21',\n 'pouting_cat': '\\uD83D\\uDE3E',\n 'pouting_man': '\\uD83D\\uDE4E\\u2642\\uFE0F',\n 'pray': '\\uD83D\\uDE4F',\n 'prayer_beads': '\\uD83D\\uDCFF',\n 'pregnant_woman': '\\uD83E\\uDD30',\n 'previous_track_button': '\\u23EE',\n 'prince': '\\uD83E\\uDD34',\n 'princess': '\\uD83D\\uDC78',\n 'printer': '\\uD83D\\uDDA8',\n 'purple_heart': '\\uD83D\\uDC9C',\n 'purse': '\\uD83D\\uDC5B',\n 'pushpin': '\\uD83D\\uDCCC',\n 'put_litter_in_its_place': '\\uD83D\\uDEAE',\n 'question': '\\u2753',\n 'rabbit': '\\uD83D\\uDC30',\n 'rabbit2': '\\uD83D\\uDC07',\n 'racehorse': '\\uD83D\\uDC0E',\n 'racing_car': '\\uD83C\\uDFCE',\n 'radio': '\\uD83D\\uDCFB',\n 'radio_button': '\\uD83D\\uDD18',\n 'radioactive': '\\u2622\\uFE0F',\n 'railway_car': '\\uD83D\\uDE83',\n 'railway_track': '\\uD83D\\uDEE4',\n 'rainbow': '\\uD83C\\uDF08',\n 'rainbow_flag': '\\uD83C\\uDFF3\\uFE0F\\uD83C\\uDF08',\n 'raised_back_of_hand': '\\uD83E\\uDD1A',\n 'raised_hand_with_fingers_splayed': '\\uD83D\\uDD90',\n 'raised_hands': '\\uD83D\\uDE4C',\n 'raising_hand_woman': '\\uD83D\\uDE4B',\n 'raising_hand_man': '\\uD83D\\uDE4B\\u2642\\uFE0F',\n 'ram': '\\uD83D\\uDC0F',\n 'ramen': '\\uD83C\\uDF5C',\n 'rat': '\\uD83D\\uDC00',\n 'record_button': '\\u23FA',\n 'recycle': '\\u267B\\uFE0F',\n 'red_circle': '\\uD83D\\uDD34',\n 'registered': '\\xAE\\uFE0F',\n 'relaxed': '\\u263A\\uFE0F',\n 'relieved': '\\uD83D\\uDE0C',\n 'reminder_ribbon': '\\uD83C\\uDF97',\n 'repeat': '\\uD83D\\uDD01',\n 'repeat_one': '\\uD83D\\uDD02',\n 'rescue_worker_helmet': '\\u26D1',\n 'restroom': '\\uD83D\\uDEBB',\n 'revolving_hearts': '\\uD83D\\uDC9E',\n 'rewind': '\\u23EA',\n 'rhinoceros': '\\uD83E\\uDD8F',\n 'ribbon': '\\uD83C\\uDF80',\n 'rice': '\\uD83C\\uDF5A',\n 'rice_ball': '\\uD83C\\uDF59',\n 'rice_cracker': '\\uD83C\\uDF58',\n 'rice_scene': '\\uD83C\\uDF91',\n 'right_anger_bubble': '\\uD83D\\uDDEF',\n 'ring': '\\uD83D\\uDC8D',\n 'robot': '\\uD83E\\uDD16',\n 'rocket': '\\uD83D\\uDE80',\n 'rofl': '\\uD83E\\uDD23',\n 'roll_eyes': '\\uD83D\\uDE44',\n 'roller_coaster': '\\uD83C\\uDFA2',\n 'rooster': '\\uD83D\\uDC13',\n 'rose': '\\uD83C\\uDF39',\n 'rosette': '\\uD83C\\uDFF5',\n 'rotating_light': '\\uD83D\\uDEA8',\n 'round_pushpin': '\\uD83D\\uDCCD',\n 'rowing_man': '\\uD83D\\uDEA3',\n 'rowing_woman': '\\uD83D\\uDEA3\\u2640\\uFE0F',\n 'rugby_football': '\\uD83C\\uDFC9',\n 'running_man': '\\uD83C\\uDFC3',\n 'running_shirt_with_sash': '\\uD83C\\uDFBD',\n 'running_woman': '\\uD83C\\uDFC3\\u2640\\uFE0F',\n 'sa': '\\uD83C\\uDE02\\uFE0F',\n 'sagittarius': '\\u2650\\uFE0F',\n 'sake': '\\uD83C\\uDF76',\n 'sandal': '\\uD83D\\uDC61',\n 'santa': '\\uD83C\\uDF85',\n 'satellite': '\\uD83D\\uDCE1',\n 'saxophone': '\\uD83C\\uDFB7',\n 'school': '\\uD83C\\uDFEB',\n 'school_satchel': '\\uD83C\\uDF92',\n 'scissors': '\\u2702\\uFE0F',\n 'scorpion': '\\uD83E\\uDD82',\n 'scorpius': '\\u264F\\uFE0F',\n 'scream': '\\uD83D\\uDE31',\n 'scream_cat': '\\uD83D\\uDE40',\n 'scroll': '\\uD83D\\uDCDC',\n 'seat': '\\uD83D\\uDCBA',\n 'secret': '\\u3299\\uFE0F',\n 'see_no_evil': '\\uD83D\\uDE48',\n 'seedling': '\\uD83C\\uDF31',\n 'selfie': '\\uD83E\\uDD33',\n 'shallow_pan_of_food': '\\uD83E\\uDD58',\n 'shamrock': '\\u2618\\uFE0F',\n 'shark': '\\uD83E\\uDD88',\n 'shaved_ice': '\\uD83C\\uDF67',\n 'sheep': '\\uD83D\\uDC11',\n 'shell': '\\uD83D\\uDC1A',\n 'shield': '\\uD83D\\uDEE1',\n 'shinto_shrine': '\\u26E9',\n 'ship': '\\uD83D\\uDEA2',\n 'shirt': '\\uD83D\\uDC55',\n 'shopping': '\\uD83D\\uDECD',\n 'shopping_cart': '\\uD83D\\uDED2',\n 'shower': '\\uD83D\\uDEBF',\n 'shrimp': '\\uD83E\\uDD90',\n 'signal_strength': '\\uD83D\\uDCF6',\n 'six_pointed_star': '\\uD83D\\uDD2F',\n 'ski': '\\uD83C\\uDFBF',\n 'skier': '\\u26F7',\n 'skull': '\\uD83D\\uDC80',\n 'skull_and_crossbones': '\\u2620\\uFE0F',\n 'sleeping': '\\uD83D\\uDE34',\n 'sleeping_bed': '\\uD83D\\uDECC',\n 'sleepy': '\\uD83D\\uDE2A',\n 'slightly_frowning_face': '\\uD83D\\uDE41',\n 'slightly_smiling_face': '\\uD83D\\uDE42',\n 'slot_machine': '\\uD83C\\uDFB0',\n 'small_airplane': '\\uD83D\\uDEE9',\n 'small_blue_diamond': '\\uD83D\\uDD39',\n 'small_orange_diamond': '\\uD83D\\uDD38',\n 'small_red_triangle': '\\uD83D\\uDD3A',\n 'small_red_triangle_down': '\\uD83D\\uDD3B',\n 'smile': '\\uD83D\\uDE04',\n 'smile_cat': '\\uD83D\\uDE38',\n 'smiley': '\\uD83D\\uDE03',\n 'smiley_cat': '\\uD83D\\uDE3A',\n 'smiling_imp': '\\uD83D\\uDE08',\n 'smirk': '\\uD83D\\uDE0F',\n 'smirk_cat': '\\uD83D\\uDE3C',\n 'smoking': '\\uD83D\\uDEAC',\n 'snail': '\\uD83D\\uDC0C',\n 'snake': '\\uD83D\\uDC0D',\n 'sneezing_face': '\\uD83E\\uDD27',\n 'snowboarder': '\\uD83C\\uDFC2',\n 'snowflake': '\\u2744\\uFE0F',\n 'snowman': '\\u26C4\\uFE0F',\n 'snowman_with_snow': '\\u2603\\uFE0F',\n 'sob': '\\uD83D\\uDE2D',\n 'soccer': '\\u26BD\\uFE0F',\n 'soon': '\\uD83D\\uDD1C',\n 'sos': '\\uD83C\\uDD98',\n 'sound': '\\uD83D\\uDD09',\n 'space_invader': '\\uD83D\\uDC7E',\n 'spades': '\\u2660\\uFE0F',\n 'spaghetti': '\\uD83C\\uDF5D',\n 'sparkle': '\\u2747\\uFE0F',\n 'sparkler': '\\uD83C\\uDF87',\n 'sparkles': '\\u2728',\n 'sparkling_heart': '\\uD83D\\uDC96',\n 'speak_no_evil': '\\uD83D\\uDE4A',\n 'speaker': '\\uD83D\\uDD08',\n 'speaking_head': '\\uD83D\\uDDE3',\n 'speech_balloon': '\\uD83D\\uDCAC',\n 'speedboat': '\\uD83D\\uDEA4',\n 'spider': '\\uD83D\\uDD77',\n 'spider_web': '\\uD83D\\uDD78',\n 'spiral_calendar': '\\uD83D\\uDDD3',\n 'spiral_notepad': '\\uD83D\\uDDD2',\n 'spoon': '\\uD83E\\uDD44',\n 'squid': '\\uD83E\\uDD91',\n 'stadium': '\\uD83C\\uDFDF',\n 'star': '\\u2B50\\uFE0F',\n 'star2': '\\uD83C\\uDF1F',\n 'star_and_crescent': '\\u262A\\uFE0F',\n 'star_of_david': '\\u2721\\uFE0F',\n 'stars': '\\uD83C\\uDF20',\n 'station': '\\uD83D\\uDE89',\n 'statue_of_liberty': '\\uD83D\\uDDFD',\n 'steam_locomotive': '\\uD83D\\uDE82',\n 'stew': '\\uD83C\\uDF72',\n 'stop_button': '\\u23F9',\n 'stop_sign': '\\uD83D\\uDED1',\n 'stopwatch': '\\u23F1',\n 'straight_ruler': '\\uD83D\\uDCCF',\n 'strawberry': '\\uD83C\\uDF53',\n 'stuck_out_tongue': '\\uD83D\\uDE1B',\n 'stuck_out_tongue_closed_eyes': '\\uD83D\\uDE1D',\n 'stuck_out_tongue_winking_eye': '\\uD83D\\uDE1C',\n 'studio_microphone': '\\uD83C\\uDF99',\n 'stuffed_flatbread': '\\uD83E\\uDD59',\n 'sun_behind_large_cloud': '\\uD83C\\uDF25',\n 'sun_behind_rain_cloud': '\\uD83C\\uDF26',\n 'sun_behind_small_cloud': '\\uD83C\\uDF24',\n 'sun_with_face': '\\uD83C\\uDF1E',\n 'sunflower': '\\uD83C\\uDF3B',\n 'sunglasses': '\\uD83D\\uDE0E',\n 'sunny': '\\u2600\\uFE0F',\n 'sunrise': '\\uD83C\\uDF05',\n 'sunrise_over_mountains': '\\uD83C\\uDF04',\n 'surfing_man': '\\uD83C\\uDFC4',\n 'surfing_woman': '\\uD83C\\uDFC4\\u2640\\uFE0F',\n 'sushi': '\\uD83C\\uDF63',\n 'suspension_railway': '\\uD83D\\uDE9F',\n 'sweat': '\\uD83D\\uDE13',\n 'sweat_drops': '\\uD83D\\uDCA6',\n 'sweat_smile': '\\uD83D\\uDE05',\n 'sweet_potato': '\\uD83C\\uDF60',\n 'swimming_man': '\\uD83C\\uDFCA',\n 'swimming_woman': '\\uD83C\\uDFCA\\u2640\\uFE0F',\n 'symbols': '\\uD83D\\uDD23',\n 'synagogue': '\\uD83D\\uDD4D',\n 'syringe': '\\uD83D\\uDC89',\n 'taco': '\\uD83C\\uDF2E',\n 'tada': '\\uD83C\\uDF89',\n 'tanabata_tree': '\\uD83C\\uDF8B',\n 'taurus': '\\u2649\\uFE0F',\n 'taxi': '\\uD83D\\uDE95',\n 'tea': '\\uD83C\\uDF75',\n 'telephone_receiver': '\\uD83D\\uDCDE',\n 'telescope': '\\uD83D\\uDD2D',\n 'tennis': '\\uD83C\\uDFBE',\n 'tent': '\\u26FA\\uFE0F',\n 'thermometer': '\\uD83C\\uDF21',\n 'thinking': '\\uD83E\\uDD14',\n 'thought_balloon': '\\uD83D\\uDCAD',\n 'ticket': '\\uD83C\\uDFAB',\n 'tickets': '\\uD83C\\uDF9F',\n 'tiger': '\\uD83D\\uDC2F',\n 'tiger2': '\\uD83D\\uDC05',\n 'timer_clock': '\\u23F2',\n 'tipping_hand_man': '\\uD83D\\uDC81\\u2642\\uFE0F',\n 'tired_face': '\\uD83D\\uDE2B',\n 'tm': '\\u2122\\uFE0F',\n 'toilet': '\\uD83D\\uDEBD',\n 'tokyo_tower': '\\uD83D\\uDDFC',\n 'tomato': '\\uD83C\\uDF45',\n 'tongue': '\\uD83D\\uDC45',\n 'top': '\\uD83D\\uDD1D',\n 'tophat': '\\uD83C\\uDFA9',\n 'tornado': '\\uD83C\\uDF2A',\n 'trackball': '\\uD83D\\uDDB2',\n 'tractor': '\\uD83D\\uDE9C',\n 'traffic_light': '\\uD83D\\uDEA5',\n 'train': '\\uD83D\\uDE8B',\n 'train2': '\\uD83D\\uDE86',\n 'tram': '\\uD83D\\uDE8A',\n 'triangular_flag_on_post': '\\uD83D\\uDEA9',\n 'triangular_ruler': '\\uD83D\\uDCD0',\n 'trident': '\\uD83D\\uDD31',\n 'triumph': '\\uD83D\\uDE24',\n 'trolleybus': '\\uD83D\\uDE8E',\n 'trophy': '\\uD83C\\uDFC6',\n 'tropical_drink': '\\uD83C\\uDF79',\n 'tropical_fish': '\\uD83D\\uDC20',\n 'truck': '\\uD83D\\uDE9A',\n 'trumpet': '\\uD83C\\uDFBA',\n 'tulip': '\\uD83C\\uDF37',\n 'tumbler_glass': '\\uD83E\\uDD43',\n 'turkey': '\\uD83E\\uDD83',\n 'turtle': '\\uD83D\\uDC22',\n 'tv': '\\uD83D\\uDCFA',\n 'twisted_rightwards_arrows': '\\uD83D\\uDD00',\n 'two_hearts': '\\uD83D\\uDC95',\n 'two_men_holding_hands': '\\uD83D\\uDC6C',\n 'two_women_holding_hands': '\\uD83D\\uDC6D',\n 'u5272': '\\uD83C\\uDE39',\n 'u5408': '\\uD83C\\uDE34',\n 'u55b6': '\\uD83C\\uDE3A',\n 'u6307': '\\uD83C\\uDE2F\\uFE0F',\n 'u6708': '\\uD83C\\uDE37\\uFE0F',\n 'u6709': '\\uD83C\\uDE36',\n 'u6e80': '\\uD83C\\uDE35',\n 'u7121': '\\uD83C\\uDE1A\\uFE0F',\n 'u7533': '\\uD83C\\uDE38',\n 'u7981': '\\uD83C\\uDE32',\n 'u7a7a': '\\uD83C\\uDE33',\n 'umbrella': '\\u2614\\uFE0F',\n 'unamused': '\\uD83D\\uDE12',\n 'underage': '\\uD83D\\uDD1E',\n 'unicorn': '\\uD83E\\uDD84',\n 'unlock': '\\uD83D\\uDD13',\n 'up': '\\uD83C\\uDD99',\n 'upside_down_face': '\\uD83D\\uDE43',\n 'v': '\\u270C\\uFE0F',\n 'vertical_traffic_light': '\\uD83D\\uDEA6',\n 'vhs': '\\uD83D\\uDCFC',\n 'vibration_mode': '\\uD83D\\uDCF3',\n 'video_camera': '\\uD83D\\uDCF9',\n 'video_game': '\\uD83C\\uDFAE',\n 'violin': '\\uD83C\\uDFBB',\n 'virgo': '\\u264D\\uFE0F',\n 'volcano': '\\uD83C\\uDF0B',\n 'volleyball': '\\uD83C\\uDFD0',\n 'vs': '\\uD83C\\uDD9A',\n 'vulcan_salute': '\\uD83D\\uDD96',\n 'walking_man': '\\uD83D\\uDEB6',\n 'walking_woman': '\\uD83D\\uDEB6\\u2640\\uFE0F',\n 'waning_crescent_moon': '\\uD83C\\uDF18',\n 'waning_gibbous_moon': '\\uD83C\\uDF16',\n 'warning': '\\u26A0\\uFE0F',\n 'wastebasket': '\\uD83D\\uDDD1',\n 'watch': '\\u231A\\uFE0F',\n 'water_buffalo': '\\uD83D\\uDC03',\n 'watermelon': '\\uD83C\\uDF49',\n 'wave': '\\uD83D\\uDC4B',\n 'wavy_dash': '\\u3030\\uFE0F',\n 'waxing_crescent_moon': '\\uD83C\\uDF12',\n 'wc': '\\uD83D\\uDEBE',\n 'weary': '\\uD83D\\uDE29',\n 'wedding': '\\uD83D\\uDC92',\n 'weight_lifting_man': '\\uD83C\\uDFCB\\uFE0F',\n 'weight_lifting_woman': '\\uD83C\\uDFCB\\uFE0F\\u2640\\uFE0F',\n 'whale': '\\uD83D\\uDC33',\n 'whale2': '\\uD83D\\uDC0B',\n 'wheel_of_dharma': '\\u2638\\uFE0F',\n 'wheelchair': '\\u267F\\uFE0F',\n 'white_check_mark': '\\u2705',\n 'white_circle': '\\u26AA\\uFE0F',\n 'white_flag': '\\uD83C\\uDFF3\\uFE0F',\n 'white_flower': '\\uD83D\\uDCAE',\n 'white_large_square': '\\u2B1C\\uFE0F',\n 'white_medium_small_square': '\\u25FD\\uFE0F',\n 'white_medium_square': '\\u25FB\\uFE0F',\n 'white_small_square': '\\u25AB\\uFE0F',\n 'white_square_button': '\\uD83D\\uDD33',\n 'wilted_flower': '\\uD83E\\uDD40',\n 'wind_chime': '\\uD83C\\uDF90',\n 'wind_face': '\\uD83C\\uDF2C',\n 'wine_glass': '\\uD83C\\uDF77',\n 'wink': '\\uD83D\\uDE09',\n 'wolf': '\\uD83D\\uDC3A',\n 'woman': '\\uD83D\\uDC69',\n 'woman_artist': '\\uD83D\\uDC69\\uD83C\\uDFA8',\n 'woman_astronaut': '\\uD83D\\uDC69\\uD83D\\uDE80',\n 'woman_cartwheeling': '\\uD83E\\uDD38\\u2640\\uFE0F',\n 'woman_cook': '\\uD83D\\uDC69\\uD83C\\uDF73',\n 'woman_facepalming': '\\uD83E\\uDD26\\u2640\\uFE0F',\n 'woman_factory_worker': '\\uD83D\\uDC69\\uD83C\\uDFED',\n 'woman_farmer': '\\uD83D\\uDC69\\uD83C\\uDF3E',\n 'woman_firefighter': '\\uD83D\\uDC69\\uD83D\\uDE92',\n 'woman_health_worker': '\\uD83D\\uDC69\\u2695\\uFE0F',\n 'woman_judge': '\\uD83D\\uDC69\\u2696\\uFE0F',\n 'woman_juggling': '\\uD83E\\uDD39\\u2640\\uFE0F',\n 'woman_mechanic': '\\uD83D\\uDC69\\uD83D\\uDD27',\n 'woman_office_worker': '\\uD83D\\uDC69\\uD83D\\uDCBC',\n 'woman_pilot': '\\uD83D\\uDC69\\u2708\\uFE0F',\n 'woman_playing_handball': '\\uD83E\\uDD3E\\u2640\\uFE0F',\n 'woman_playing_water_polo': '\\uD83E\\uDD3D\\u2640\\uFE0F',\n 'woman_scientist': '\\uD83D\\uDC69\\uD83D\\uDD2C',\n 'woman_shrugging': '\\uD83E\\uDD37\\u2640\\uFE0F',\n 'woman_singer': '\\uD83D\\uDC69\\uD83C\\uDFA4',\n 'woman_student': '\\uD83D\\uDC69\\uD83C\\uDF93',\n 'woman_teacher': '\\uD83D\\uDC69\\uD83C\\uDFEB',\n 'woman_technologist': '\\uD83D\\uDC69\\uD83D\\uDCBB',\n 'woman_with_turban': '\\uD83D\\uDC73\\u2640\\uFE0F',\n 'womans_clothes': '\\uD83D\\uDC5A',\n 'womans_hat': '\\uD83D\\uDC52',\n 'women_wrestling': '\\uD83E\\uDD3C\\u2640\\uFE0F',\n 'womens': '\\uD83D\\uDEBA',\n 'world_map': '\\uD83D\\uDDFA',\n 'worried': '\\uD83D\\uDE1F',\n 'wrench': '\\uD83D\\uDD27',\n 'writing_hand': '\\u270D\\uFE0F',\n 'x': '\\u274C',\n 'yellow_heart': '\\uD83D\\uDC9B',\n 'yen': '\\uD83D\\uDCB4',\n 'yin_yang': '\\u262F\\uFE0F',\n 'yum': '\\uD83D\\uDE0B',\n 'zap': '\\u26A1\\uFE0F',\n 'zipper_mouth_face': '\\uD83E\\uDD10',\n 'zzz': '\\uD83D\\uDCA4',\n\n /* special emojis :P */\n 'octocat': '',\n 'showdown': 'S'\n };\n\n /**\n * Created by Estevao on 31-05-2015.\n */\n\n /**\n * Showdown Converter class\n * @class\n * @param {object} [converterOptions]\n * @returns {Converter}\n */\n showdown.Converter = function (converterOptions) {\n 'use strict';\n\n var\n /**\n * Options used by this converter\n * @private\n * @type {{}}\n */\n options = {},\n\n\n /**\n * Language extensions used by this converter\n * @private\n * @type {Array}\n */\n langExtensions = [],\n\n\n /**\n * Output modifiers extensions used by this converter\n * @private\n * @type {Array}\n */\n outputModifiers = [],\n\n\n /**\n * Event listeners\n * @private\n * @type {{}}\n */\n listeners = {},\n\n\n /**\n * The flavor set in this converter\n */\n setConvFlavor = setFlavor,\n\n\n /**\n * Metadata of the document\n * @type {{parsed: {}, raw: string, format: string}}\n */\n metadata = {\n parsed: {},\n raw: '',\n format: ''\n };\n\n _constructor();\n\n /**\n * Converter constructor\n * @private\n */\n function _constructor() {\n converterOptions = converterOptions || {};\n\n for (var gOpt in globalOptions) {\n if (globalOptions.hasOwnProperty(gOpt)) {\n options[gOpt] = globalOptions[gOpt];\n }\n }\n\n // Merge options\n if (typeof converterOptions === 'object') {\n for (var opt in converterOptions) {\n if (converterOptions.hasOwnProperty(opt)) {\n options[opt] = converterOptions[opt];\n }\n }\n } else {\n throw Error('Converter expects the passed parameter to be an object, but ' + typeof converterOptions + ' was passed instead.');\n }\n\n if (options.extensions) {\n showdown.helper.forEach(options.extensions, _parseExtension);\n }\n }\n\n /**\n * Parse extension\n * @param {*} ext\n * @param {string} [name='']\n * @private\n */\n function _parseExtension(ext, name) {\n\n name = name || null;\n // If it's a string, the extension was previously loaded\n if (showdown.helper.isString(ext)) {\n ext = showdown.helper.stdExtName(ext);\n name = ext;\n\n // LEGACY_SUPPORT CODE\n if (showdown.extensions[ext]) {\n console.warn('DEPRECATION WARNING: ' + ext + ' is an old extension that uses a deprecated loading method.' + 'Please inform the developer that the extension should be updated!');\n legacyExtensionLoading(showdown.extensions[ext], ext);\n return;\n // END LEGACY SUPPORT CODE\n } else if (!showdown.helper.isUndefined(extensions[ext])) {\n ext = extensions[ext];\n } else {\n throw Error('Extension \"' + ext + '\" could not be loaded. It was either not found or is not a valid extension.');\n }\n }\n\n if (typeof ext === 'function') {\n ext = ext();\n }\n\n if (!showdown.helper.isArray(ext)) {\n ext = [ext];\n }\n\n var validExt = validate(ext, name);\n if (!validExt.valid) {\n throw Error(validExt.error);\n }\n\n for (var i = 0; i < ext.length; ++i) {\n switch (ext[i].type) {\n\n case 'lang':\n langExtensions.push(ext[i]);\n break;\n\n case 'output':\n outputModifiers.push(ext[i]);\n break;\n }\n if (ext[i].hasOwnProperty('listeners')) {\n for (var ln in ext[i].listeners) {\n if (ext[i].listeners.hasOwnProperty(ln)) {\n listen(ln, ext[i].listeners[ln]);\n }\n }\n }\n }\n }\n\n /**\n * LEGACY_SUPPORT\n * @param {*} ext\n * @param {string} name\n */\n function legacyExtensionLoading(ext, name) {\n if (typeof ext === 'function') {\n ext = ext(new showdown.Converter());\n }\n if (!showdown.helper.isArray(ext)) {\n ext = [ext];\n }\n var valid = validate(ext, name);\n\n if (!valid.valid) {\n throw Error(valid.error);\n }\n\n for (var i = 0; i < ext.length; ++i) {\n switch (ext[i].type) {\n case 'lang':\n langExtensions.push(ext[i]);\n break;\n case 'output':\n outputModifiers.push(ext[i]);\n break;\n default:\n // should never reach here\n throw Error('Extension loader error: Type unrecognized!!!');\n }\n }\n }\n\n /**\n * Listen to an event\n * @param {string} name\n * @param {function} callback\n */\n function listen(name, callback) {\n if (!showdown.helper.isString(name)) {\n throw Error('Invalid argument in converter.listen() method: name must be a string, but ' + typeof name + ' given');\n }\n\n if (typeof callback !== 'function') {\n throw Error('Invalid argument in converter.listen() method: callback must be a function, but ' + typeof callback + ' given');\n }\n\n if (!listeners.hasOwnProperty(name)) {\n listeners[name] = [];\n }\n listeners[name].push(callback);\n }\n\n function rTrimInputText(text) {\n var rsp = text.match(/^\\s*/)[0].length,\n rgx = new RegExp('^\\\\s{0,' + rsp + '}', 'gm');\n return text.replace(rgx, '');\n }\n\n /**\n * Dispatch an event\n * @private\n * @param {string} evtName Event name\n * @param {string} text Text\n * @param {{}} options Converter Options\n * @param {{}} globals\n * @returns {string}\n */\n this._dispatch = function dispatch(evtName, text, options, globals) {\n if (listeners.hasOwnProperty(evtName)) {\n for (var ei = 0; ei < listeners[evtName].length; ++ei) {\n var nText = listeners[evtName][ei](evtName, text, this, options, globals);\n if (nText && typeof nText !== 'undefined') {\n text = nText;\n }\n }\n }\n return text;\n };\n\n /**\n * Listen to an event\n * @param {string} name\n * @param {function} callback\n * @returns {showdown.Converter}\n */\n this.listen = function (name, callback) {\n listen(name, callback);\n return this;\n };\n\n /**\n * Converts a markdown string into HTML\n * @param {string} text\n * @returns {*}\n */\n this.makeHtml = function (text) {\n //check if text is not falsy\n if (!text) {\n return text;\n }\n\n var globals = {\n gHtmlBlocks: [],\n gHtmlMdBlocks: [],\n gHtmlSpans: [],\n gUrls: {},\n gTitles: {},\n gDimensions: {},\n gListLevel: 0,\n hashLinkCounts: {},\n langExtensions: langExtensions,\n outputModifiers: outputModifiers,\n converter: this,\n ghCodeBlocks: [],\n metadata: {\n parsed: {},\n raw: '',\n format: ''\n }\n };\n\n // This lets us use ¨ trema as an escape char to avoid md5 hashes\n // The choice of character is arbitrary; anything that isn't\n // magic in Markdown will work.\n text = text.replace(/¨/g, '¨T');\n\n // Replace $ with ¨D\n // RegExp interprets $ as a special character\n // when it's in a replacement string\n text = text.replace(/\\$/g, '¨D');\n\n // Standardize line endings\n text = text.replace(/\\r\\n/g, '\\n'); // DOS to Unix\n text = text.replace(/\\r/g, '\\n'); // Mac to Unix\n\n // Stardardize line spaces\n text = text.replace(/\\u00A0/g, ' ');\n\n if (options.smartIndentationFix) {\n text = rTrimInputText(text);\n }\n\n // Make sure text begins and ends with a couple of newlines:\n text = '\\n\\n' + text + '\\n\\n';\n\n // detab\n text = showdown.subParser('detab')(text, options, globals);\n\n /**\n * Strip any lines consisting only of spaces and tabs.\n * This makes subsequent regexs easier to write, because we can\n * match consecutive blank lines with /\\n+/ instead of something\n * contorted like /[ \\t]*\\n+/\n */\n text = text.replace(/^[ \\t]+$/mg, '');\n\n //run languageExtensions\n showdown.helper.forEach(langExtensions, function (ext) {\n text = showdown.subParser('runExtension')(ext, text, options, globals);\n });\n\n // run the sub parsers\n text = showdown.subParser('metadata')(text, options, globals);\n text = showdown.subParser('hashPreCodeTags')(text, options, globals);\n text = showdown.subParser('githubCodeBlocks')(text, options, globals);\n text = showdown.subParser('hashHTMLBlocks')(text, options, globals);\n text = showdown.subParser('hashCodeTags')(text, options, globals);\n text = showdown.subParser('stripLinkDefinitions')(text, options, globals);\n text = showdown.subParser('blockGamut')(text, options, globals);\n text = showdown.subParser('unhashHTMLSpans')(text, options, globals);\n text = showdown.subParser('unescapeSpecialChars')(text, options, globals);\n\n // attacklab: Restore dollar signs\n text = text.replace(/¨D/g, '$$');\n\n // attacklab: Restore tremas\n text = text.replace(/¨T/g, '¨');\n\n // render a complete html document instead of a partial if the option is enabled\n text = showdown.subParser('completeHTMLDocument')(text, options, globals);\n\n // Run output modifiers\n showdown.helper.forEach(outputModifiers, function (ext) {\n text = showdown.subParser('runExtension')(ext, text, options, globals);\n });\n\n // update metadata\n metadata = globals.metadata;\n return text;\n };\n\n /**\n * Converts an HTML string into a markdown string\n * @param src\n * @param [HTMLParser] A WHATWG DOM and HTML parser, such as JSDOM. If none is supplied, window.document will be used.\n * @returns {string}\n */\n this.makeMarkdown = this.makeMd = function (src, HTMLParser) {\n\n // replace \\r\\n with \\n\n src = src.replace(/\\r\\n/g, '\\n');\n src = src.replace(/\\r/g, '\\n'); // old macs\n\n // due to an edge case, we need to find this: > <\n // to prevent removing of non silent white spaces\n // ex: this is sparta\n src = src.replace(/>[ \\t]+, '>¨NBSP;<');\n\n if (!HTMLParser) {\n if (window && window.document) {\n HTMLParser = window.document;\n } else {\n throw new Error('HTMLParser is undefined. If in a webworker or nodejs environment, you need to provide a WHATWG DOM and HTML such as JSDOM');\n }\n }\n\n var doc = HTMLParser.createElement('div');\n doc.innerHTML = src;\n\n var globals = {\n preList: substitutePreCodeTags(doc)\n };\n\n // remove all newlines and collapse spaces\n clean(doc);\n\n // some stuff, like accidental reference links must now be escaped\n // TODO\n // doc.innerHTML = doc.innerHTML.replace(/\\[[\\S\\t ]]/);\n\n var nodes = doc.childNodes,\n mdDoc = '';\n\n for (var i = 0; i < nodes.length; i++) {\n mdDoc += showdown.subParser('makeMarkdown.node')(nodes[i], globals);\n }\n\n function clean(node) {\n for (var n = 0; n < node.childNodes.length; ++n) {\n var child = node.childNodes[n];\n if (child.nodeType === 3) {\n if (!/\\S/.test(child.nodeValue)) {\n node.removeChild(child);\n --n;\n } else {\n child.nodeValue = child.nodeValue.split('\\n').join(' ');\n child.nodeValue = child.nodeValue.replace(/(\\s)+/g, '$1');\n }\n } else if (child.nodeType === 1) {\n clean(child);\n }\n }\n }\n\n // find all pre tags and replace contents with placeholder\n // we need this so that we can remove all indentation from html\n // to ease up parsing\n function substitutePreCodeTags(doc) {\n\n var pres = doc.querySelectorAll('pre'),\n presPH = [];\n\n for (var i = 0; i < pres.length; ++i) {\n\n if (pres[i].childElementCount === 1 && pres[i].firstChild.tagName.toLowerCase() === 'code') {\n var content = pres[i].firstChild.innerHTML.trim(),\n language = pres[i].firstChild.getAttribute('data-language') || '';\n\n // if data-language attribute is not defined, then we look for class language-*\n if (language === '') {\n var classes = pres[i].firstChild.className.split(' ');\n for (var c = 0; c < classes.length; ++c) {\n var matches = classes[c].match(/^language-(.+)$/);\n if (matches !== null) {\n language = matches[1];\n break;\n }\n }\n }\n\n // unescape html entities in content\n content = showdown.helper.unescapeHTMLEntities(content);\n\n presPH.push(content);\n pres[i].outerHTML = ' ';\n } else {\n presPH.push(pres[i].innerHTML);\n pres[i].innerHTML = '';\n pres[i].setAttribute('prenum', i.toString());\n }\n }\n return presPH;\n }\n\n return mdDoc;\n };\n\n /**\n * Set an option of this Converter instance\n * @param {string} key\n * @param {*} value\n */\n this.setOption = function (key, value) {\n options[key] = value;\n };\n\n /**\n * Get the option of this Converter instance\n * @param {string} key\n * @returns {*}\n */\n this.getOption = function (key) {\n return options[key];\n };\n\n /**\n * Get the options of this Converter instance\n * @returns {{}}\n */\n this.getOptions = function () {\n return options;\n };\n\n /**\n * Add extension to THIS converter\n * @param {{}} extension\n * @param {string} [name=null]\n */\n this.addExtension = function (extension, name) {\n name = name || null;\n _parseExtension(extension, name);\n };\n\n /**\n * Use a global registered extension with THIS converter\n * @param {string} extensionName Name of the previously registered extension\n */\n this.useExtension = function (extensionName) {\n _parseExtension(extensionName);\n };\n\n /**\n * Set the flavor THIS converter should use\n * @param {string} name\n */\n this.setFlavor = function (name) {\n if (!flavor.hasOwnProperty(name)) {\n throw Error(name + ' flavor was not found');\n }\n var preset = flavor[name];\n setConvFlavor = name;\n for (var option in preset) {\n if (preset.hasOwnProperty(option)) {\n options[option] = preset[option];\n }\n }\n };\n\n /**\n * Get the currently set flavor of this converter\n * @returns {string}\n */\n this.getFlavor = function () {\n return setConvFlavor;\n };\n\n /**\n * Remove an extension from THIS converter.\n * Note: This is a costly operation. It's better to initialize a new converter\n * and specify the extensions you wish to use\n * @param {Array} extension\n */\n this.removeExtension = function (extension) {\n if (!showdown.helper.isArray(extension)) {\n extension = [extension];\n }\n for (var a = 0; a < extension.length; ++a) {\n var ext = extension[a];\n for (var i = 0; i < langExtensions.length; ++i) {\n if (langExtensions[i] === ext) {\n langExtensions[i].splice(i, 1);\n }\n }\n for (var ii = 0; ii < outputModifiers.length; ++i) {\n if (outputModifiers[ii] === ext) {\n outputModifiers[ii].splice(i, 1);\n }\n }\n }\n };\n\n /**\n * Get all extension of THIS converter\n * @returns {{language: Array, output: Array}}\n */\n this.getAllExtensions = function () {\n return {\n language: langExtensions,\n output: outputModifiers\n };\n };\n\n /**\n * Get the metadata of the previously parsed document\n * @param raw\n * @returns {string|{}}\n */\n this.getMetadata = function (raw) {\n if (raw) {\n return metadata.raw;\n } else {\n return metadata.parsed;\n }\n };\n\n /**\n * Get the metadata format of the previously parsed document\n * @returns {string}\n */\n this.getMetadataFormat = function () {\n return metadata.format;\n };\n\n /**\n * Private: set a single key, value metadata pair\n * @param {string} key\n * @param {string} value\n */\n this._setMetadataPair = function (key, value) {\n metadata.parsed[key] = value;\n };\n\n /**\n * Private: set metadata format\n * @param {string} format\n */\n this._setMetadataFormat = function (format) {\n metadata.format = format;\n };\n\n /**\n * Private: set metadata raw text\n * @param {string} raw\n */\n this._setMetadataRaw = function (raw) {\n metadata.raw = raw;\n };\n };\n\n /**\n * Turn Markdown link shortcuts into XHTML tags.\n */\n showdown.subParser('anchors', function (text, options, globals) {\n 'use strict';\n\n text = globals.converter._dispatch('anchors.before', text, options, globals);\n\n var writeAnchorTag = function writeAnchorTag(wholeMatch, linkText, linkId, url, m5, m6, title) {\n if (showdown.helper.isUndefined(title)) {\n title = '';\n }\n linkId = linkId.toLowerCase();\n\n // Special case for explicit empty url\n if (wholeMatch.search(/\\(\\s*>? ?(['\"].*['\"])?\\)$/m) > -1) {\n url = '';\n } else if (!url) {\n if (!linkId) {\n // lower-case and turn embedded newlines into spaces\n linkId = linkText.toLowerCase().replace(/ ?\\n/g, ' ');\n }\n url = '#' + linkId;\n\n if (!showdown.helper.isUndefined(globals.gUrls[linkId])) {\n url = globals.gUrls[linkId];\n if (!showdown.helper.isUndefined(globals.gTitles[linkId])) {\n title = globals.gTitles[linkId];\n }\n } else {\n return wholeMatch;\n }\n }\n\n //url = showdown.helper.escapeCharacters(url, '*_', false); // replaced line to improve performance\n url = url.replace(showdown.helper.regexes.asteriskDashAndColon, showdown.helper.escapeCharactersCallback);\n\n var result = '' + linkText + '';\n\n return result;\n };\n\n // First, handle reference-style links: [link text] [id]\n text = text.replace(/\\[((?:\\[[^\\]]*]|[^\\[\\]])*)] ?(?:\\n *)?\\[(.*?)]()()()()/g, writeAnchorTag);\n\n // Next, inline-style links: [link text](url \"optional title\")\n // cases with crazy urls like ./image/cat1).png\n text = text.replace(/\\[((?:\\[[^\\]]*]|[^\\[\\]])*)]()[ \\t]*\\([ \\t]?<([^>]*)>(?:[ \\t]*(([\"'])([^\"]*?)\\5))?[ \\t]?\\)/g, writeAnchorTag);\n\n // normal cases\n text = text.replace(/\\[((?:\\[[^\\]]*]|[^\\[\\]])*)]()[ \\t]*\\([ \\t]?([\\S]+?(?:\\([\\S]*?\\)[\\S]*?)?)>?(?:[ \\t]*(([\"'])([^\"]*?)\\5))?[ \\t]?\\)/g, writeAnchorTag);\n\n // handle reference-style shortcuts: [link text]\n // These must come last in case you've also got [link test][1]\n // or [link test](/foo)\n text = text.replace(/\\[([^\\[\\]]+)]()()()()()/g, writeAnchorTag);\n\n // Lastly handle GithubMentions if option is enabled\n if (options.ghMentions) {\n text = text.replace(/(^|\\s)(\\\\)?(@([a-z\\d]+(?:[a-z\\d.-]+?[a-z\\d]+)*))/gmi, function (wm, st, escape, mentions, username) {\n if (escape === '\\\\') {\n return st + mentions;\n }\n\n //check if options.ghMentionsLink is a string\n if (!showdown.helper.isString(options.ghMentionsLink)) {\n throw new Error('ghMentionsLink option must be a string');\n }\n var lnk = options.ghMentionsLink.replace(/\\{u}/g, username),\n target = '';\n if (options.openLinksInNewWindow) {\n target = ' rel=\"noopener noreferrer\" target=\"¨E95Eblank\"';\n }\n return st + '' + mentions + '';\n });\n }\n\n text = globals.converter._dispatch('anchors.after', text, options, globals);\n return text;\n });\n\n // url allowed chars [a-z\\d_.~:/?#[]@!$&'()*+,;=-]\n\n var simpleURLRegex = /([*~_]+|\\b)(((https?|ftp|dict):\\/\\/|www\\.)[^'\">\\s]+?\\.[^'\">\\s]+?)()(\\1)?(?=\\s|$)(?![\"<>])/gi,\n simpleURLRegex2 = /([*~_]+|\\b)(((https?|ftp|dict):\\/\\/|www\\.)[^'\">\\s]+\\.[^'\">\\s]+?)([.!?,()\\[\\]])?(\\1)?(?=\\s|$)(?![\"<>])/gi,\n delimUrlRegex = /()<(((https?|ftp|dict):\\/\\/|www\\.)[^'\">\\s]+)()>()/gi,\n simpleMailRegex = /(^|\\s)(?:mailto:)?([A-Za-z0-9!#$%&'*+-/=?^_`{|}~.]+@[-a-z0-9]+(\\.[-a-z0-9]+)*\\.[a-z]+)(?=$|\\s)/gmi,\n delimMailRegex = /<()(?:mailto:)?([-.\\w]+@[-a-z0-9]+(\\.[-a-z0-9]+)*\\.[a-z]+)>/gi,\n replaceLink = function replaceLink(options) {\n 'use strict';\n\n return function (wm, leadingMagicChars, link, m2, m3, trailingPunctuation, trailingMagicChars) {\n link = link.replace(showdown.helper.regexes.asteriskDashAndColon, showdown.helper.escapeCharactersCallback);\n var lnkTxt = link,\n append = '',\n target = '',\n lmc = leadingMagicChars || '',\n tmc = trailingMagicChars || '';\n if (/^www\\./i.test(link)) {\n link = link.replace(/^www\\./i, 'http://www.');\n }\n if (options.excludeTrailingPunctuationFromURLs && trailingPunctuation) {\n append = trailingPunctuation;\n }\n if (options.openLinksInNewWindow) {\n target = ' rel=\"noopener noreferrer\" target=\"¨E95Eblank\"';\n }\n return lmc + '' + lnkTxt + '' + append + tmc;\n };\n },\n replaceMail = function replaceMail(options, globals) {\n 'use strict';\n\n return function (wholeMatch, b, mail) {\n var href = 'mailto:';\n b = b || '';\n mail = showdown.subParser('unescapeSpecialChars')(mail, options, globals);\n if (options.encodeEmails) {\n href = showdown.helper.encodeEmailAddress(href + mail);\n mail = showdown.helper.encodeEmailAddress(mail);\n } else {\n href = href + mail;\n }\n return b + '' + mail + '';\n };\n };\n\n showdown.subParser('autoLinks', function (text, options, globals) {\n 'use strict';\n\n text = globals.converter._dispatch('autoLinks.before', text, options, globals);\n\n text = text.replace(delimUrlRegex, replaceLink(options));\n text = text.replace(delimMailRegex, replaceMail(options, globals));\n\n text = globals.converter._dispatch('autoLinks.after', text, options, globals);\n\n return text;\n });\n\n showdown.subParser('simplifiedAutoLinks', function (text, options, globals) {\n 'use strict';\n\n if (!options.simplifiedAutoLink) {\n return text;\n }\n\n text = globals.converter._dispatch('simplifiedAutoLinks.before', text, options, globals);\n\n if (options.excludeTrailingPunctuationFromURLs) {\n text = text.replace(simpleURLRegex2, replaceLink(options));\n } else {\n text = text.replace(simpleURLRegex, replaceLink(options));\n }\n text = text.replace(simpleMailRegex, replaceMail(options, globals));\n\n text = globals.converter._dispatch('simplifiedAutoLinks.after', text, options, globals);\n\n return text;\n });\n\n /**\n * These are all the transformations that form block-level\n * tags like paragraphs, headers, and list items.\n */\n showdown.subParser('blockGamut', function (text, options, globals) {\n 'use strict';\n\n text = globals.converter._dispatch('blockGamut.before', text, options, globals);\n\n // we parse blockquotes first so that we can have headings and hrs\n // inside blockquotes\n text = showdown.subParser('blockQuotes')(text, options, globals);\n text = showdown.subParser('headers')(text, options, globals);\n\n // Do Horizontal Rules:\n text = showdown.subParser('horizontalRule')(text, options, globals);\n\n text = showdown.subParser('lists')(text, options, globals);\n text = showdown.subParser('codeBlocks')(text, options, globals);\n text = showdown.subParser('tables')(text, options, globals);\n\n // We already ran _HashHTMLBlocks() before, in Markdown(), but that\n // was to escape raw HTML in the original Markdown source. This time,\n // we're escaping the markup we've just created, so that we don't wrap\n // tags around block-level tags.\n text = showdown.subParser('hashHTMLBlocks')(text, options, globals);\n text = showdown.subParser('paragraphs')(text, options, globals);\n\n text = globals.converter._dispatch('blockGamut.after', text, options, globals);\n\n return text;\n });\n\n showdown.subParser('blockQuotes', function (text, options, globals) {\n 'use strict';\n\n text = globals.converter._dispatch('blockQuotes.before', text, options, globals);\n\n // add a couple extra lines after the text and endtext mark\n text = text + '\\n\\n';\n\n var rgx = /(^ {0,3}>[ \\t]?.+\\n(.+\\n)*\\n*)+/gm;\n\n if (options.splitAdjacentBlockquotes) {\n rgx = /^ {0,3}>[\\s\\S]*?(?:\\n\\n)/gm;\n }\n\n text = text.replace(rgx, function (bq) {\n // attacklab: hack around Konqueror 3.5.4 bug:\n // \"----------bug\".replace(/^-/g,\"\") == \"bug\"\n bq = bq.replace(/^[ \\t]*>[ \\t]?/gm, ''); // trim one level of quoting\n\n // attacklab: clean up hack\n bq = bq.replace(/¨0/g, '');\n\n bq = bq.replace(/^[ \\t]+$/gm, ''); // trim whitespace-only lines\n bq = showdown.subParser('githubCodeBlocks')(bq, options, globals);\n bq = showdown.subParser('blockGamut')(bq, options, globals); // recurse\n\n bq = bq.replace(/(^|\\n)/g, '$1 ');\n // These leading spaces screw with
content, so we need to fix that:\n bq = bq.replace(/(\\s*[^\\r]+?<\\/pre>)/gm, function (wholeMatch, m1) {\n var pre = m1;\n // attacklab: hack around Konqueror 3.5.4 bug:\n pre = pre.replace(/^ /mg, '¨0');\n pre = pre.replace(/¨0/g, '');\n return pre;\n });\n\n return showdown.subParser('hashBlock')('\\n' + bq + '\\n
', options, globals);\n });\n\n text = globals.converter._dispatch('blockQuotes.after', text, options, globals);\n return text;\n });\n\n /**\n * Process Markdown `` blocks.\n */\n showdown.subParser('codeBlocks', function (text, options, globals) {\n 'use strict';\n\n text = globals.converter._dispatch('codeBlocks.before', text, options, globals);\n\n // sentinel workarounds for lack of \\A and \\Z, safari\\khtml bug\n text += '¨0';\n\n var pattern = /(?:\\n\\n|^)((?:(?:[ ]{4}|\\t).*\\n+)+)(\\n*[ ]{0,3}[^ \\t\\n]|(?=¨0))/g;\n text = text.replace(pattern, function (wholeMatch, m1, m2) {\n var codeblock = m1,\n nextChar = m2,\n end = '\\n';\n\n codeblock = showdown.subParser('outdent')(codeblock, options, globals);\n codeblock = showdown.subParser('encodeCode')(codeblock, options, globals);\n codeblock = showdown.subParser('detab')(codeblock, options, globals);\n codeblock = codeblock.replace(/^\\n+/g, ''); // trim leading newlines\n codeblock = codeblock.replace(/\\n+$/g, ''); // trim trailing newlines\n\n if (options.omitExtraWLInCodeBlocks) {\n end = '';\n }\n\n codeblock = '' + codeblock + end + '
';\n\n return showdown.subParser('hashBlock')(codeblock, options, globals) + nextChar;\n });\n\n // strip sentinel\n text = text.replace(/¨0/, '');\n\n text = globals.converter._dispatch('codeBlocks.after', text, options, globals);\n return text;\n });\n\n /**\n *\n * * Backtick quotes are used for
spans.\n *\n * * You can use multiple backticks as the delimiters if you want to\n * include literal backticks in the code span. So, this input:\n *\n * Just type ``foo `bar` baz`` at the prompt.\n *\n * Will translate to:\n *\n * Just type foo `bar` baz
at the prompt.
\n *\n * There's no arbitrary limit to the number of backticks you\n * can use as delimters. If you need three consecutive backticks\n * in your code, use four for delimiters, etc.\n *\n * * You can use spaces to get literal backticks at the edges:\n *\n * ... type `` `bar` `` ...\n *\n * Turns to:\n *\n * ... type `bar`
...\n */\n showdown.subParser('codeSpans', function (text, options, globals) {\n 'use strict';\n\n text = globals.converter._dispatch('codeSpans.before', text, options, globals);\n\n if (typeof text === 'undefined') {\n text = '';\n }\n text = text.replace(/(^|[^\\\\])(`+)([^\\r]*?[^`])\\2(?!`)/gm, function (wholeMatch, m1, m2, m3) {\n var c = m3;\n c = c.replace(/^([ \\t]*)/g, ''); // leading whitespace\n c = c.replace(/[ \\t]*$/g, ''); // trailing whitespace\n c = showdown.subParser('encodeCode')(c, options, globals);\n c = m1 + '' + c + '
';\n c = showdown.subParser('hashHTMLSpans')(c, options, globals);\n return c;\n });\n\n text = globals.converter._dispatch('codeSpans.after', text, options, globals);\n return text;\n });\n\n /**\n * Create a full HTML document from the processed markdown\n */\n showdown.subParser('completeHTMLDocument', function (text, options, globals) {\n 'use strict';\n\n if (!options.completeHTMLDocument) {\n return text;\n }\n\n text = globals.converter._dispatch('completeHTMLDocument.before', text, options, globals);\n\n var doctype = 'html',\n doctypeParsed = '\\n',\n title = '',\n charset = '\\n',\n lang = '',\n metadata = '';\n\n if (typeof globals.metadata.parsed.doctype !== 'undefined') {\n doctypeParsed = '\\n';\n doctype = globals.metadata.parsed.doctype.toString().toLowerCase();\n if (doctype === 'html' || doctype === 'html5') {\n charset = '';\n }\n }\n\n for (var meta in globals.metadata.parsed) {\n if (globals.metadata.parsed.hasOwnProperty(meta)) {\n switch (meta.toLowerCase()) {\n case 'doctype':\n break;\n\n case 'title':\n title = '' + globals.metadata.parsed.title + ' \\n';\n break;\n\n case 'charset':\n if (doctype === 'html' || doctype === 'html5') {\n charset = '\\n';\n } else {\n charset = '\\n';\n }\n break;\n\n case 'language':\n case 'lang':\n lang = ' lang=\"' + globals.metadata.parsed[meta] + '\"';\n metadata += '\\n';\n break;\n\n default:\n metadata += '\\n';\n }\n }\n }\n\n text = doctypeParsed + '\\n\\n' + title + charset + metadata + '\\n\\n' + text.trim() + '\\n\\n';\n\n text = globals.converter._dispatch('completeHTMLDocument.after', text, options, globals);\n return text;\n });\n\n /**\n * Convert all tabs to spaces\n */\n showdown.subParser('detab', function (text, options, globals) {\n 'use strict';\n\n text = globals.converter._dispatch('detab.before', text, options, globals);\n\n // expand first n-1 tabs\n text = text.replace(/\\t(?=\\t)/g, ' '); // g_tab_width\n\n // replace the nth with two sentinels\n text = text.replace(/\\t/g, '¨A¨B');\n\n // use the sentinel to anchor our regex so it doesn't explode\n text = text.replace(/¨B(.+?)¨A/g, function (wholeMatch, m1) {\n var leadingText = m1,\n numSpaces = 4 - leadingText.length % 4; // g_tab_width\n\n // there *must* be a better way to do this:\n for (var i = 0; i < numSpaces; i++) {\n leadingText += ' ';\n }\n\n return leadingText;\n });\n\n // clean up sentinels\n text = text.replace(/¨A/g, ' '); // g_tab_width\n text = text.replace(/¨B/g, '');\n\n text = globals.converter._dispatch('detab.after', text, options, globals);\n return text;\n });\n\n showdown.subParser('ellipsis', function (text, options, globals) {\n 'use strict';\n\n text = globals.converter._dispatch('ellipsis.before', text, options, globals);\n\n text = text.replace(/\\.\\.\\./g, '…');\n\n text = globals.converter._dispatch('ellipsis.after', text, options, globals);\n\n return text;\n });\n\n /**\n * Turn emoji codes into emojis\n *\n * List of supported emojis: https://github.com/showdownjs/showdown/wiki/Emojis\n */\n showdown.subParser('emoji', function (text, options, globals) {\n 'use strict';\n\n if (!options.emoji) {\n return text;\n }\n\n text = globals.converter._dispatch('emoji.before', text, options, globals);\n\n var emojiRgx = /:([\\S]+?):/g;\n\n text = text.replace(emojiRgx, function (wm, emojiCode) {\n if (showdown.helper.emojis.hasOwnProperty(emojiCode)) {\n return showdown.helper.emojis[emojiCode];\n }\n return wm;\n });\n\n text = globals.converter._dispatch('emoji.after', text, options, globals);\n\n return text;\n });\n\n /**\n * Smart processing for ampersands and angle brackets that need to be encoded.\n */\n showdown.subParser('encodeAmpsAndAngles', function (text, options, globals) {\n 'use strict';\n\n text = globals.converter._dispatch('encodeAmpsAndAngles.before', text, options, globals);\n\n // Ampersand-encoding based entirely on Nat Irons's Amputator MT plugin:\n // http://bumppo.net/projects/amputator/\n text = text.replace(/&(?!#?[xX]?(?:[0-9a-fA-F]+|\\w+);)/g, '&');\n\n // Encode naked <'s\n text = text.replace(/<(?![a-z\\/?$!])/gi, '<');\n\n // Encode <\n text = text.replace(/\n text = text.replace(/>/g, '>');\n\n text = globals.converter._dispatch('encodeAmpsAndAngles.after', text, options, globals);\n return text;\n });\n\n /**\n * Returns the string, with after processing the following backslash escape sequences.\n *\n * attacklab: The polite way to do this is with the new escapeCharacters() function:\n *\n * text = escapeCharacters(text,\"\\\\\",true);\n * text = escapeCharacters(text,\"`*_{}[]()>#+-.!\",true);\n *\n * ...but we're sidestepping its use of the (slow) RegExp constructor\n * as an optimization for Firefox. This function gets called a LOT.\n */\n showdown.subParser('encodeBackslashEscapes', function (text, options, globals) {\n 'use strict';\n\n text = globals.converter._dispatch('encodeBackslashEscapes.before', text, options, globals);\n\n text = text.replace(/\\\\(\\\\)/g, showdown.helper.escapeCharactersCallback);\n text = text.replace(/\\\\([`*_{}\\[\\]()>#+.!~=|-])/g, showdown.helper.escapeCharactersCallback);\n\n text = globals.converter._dispatch('encodeBackslashEscapes.after', text, options, globals);\n return text;\n });\n\n /**\n * Encode/escape certain characters inside Markdown code runs.\n * The point is that in code, these characters are literals,\n * and lose their special Markdown meanings.\n */\n showdown.subParser('encodeCode', function (text, options, globals) {\n 'use strict';\n\n text = globals.converter._dispatch('encodeCode.before', text, options, globals);\n\n // Encode all ampersands; HTML entities are not\n // entities within a Markdown code span.\n text = text.replace(/&/g, '&')\n // Do the angle bracket song and dance:\n .replace(//g, '>')\n // Now, escape characters that are magic in Markdown:\n .replace(/([*_{}\\[\\]\\\\=~-])/g, showdown.helper.escapeCharactersCallback);\n\n text = globals.converter._dispatch('encodeCode.after', text, options, globals);\n return text;\n });\n\n /**\n * Within tags -- meaning between < and > -- encode [\\ ` * _ ~ =] so they\n * don't conflict with their use in Markdown for code, italics and strong.\n */\n showdown.subParser('escapeSpecialCharsWithinTagAttributes', function (text, options, globals) {\n 'use strict';\n\n text = globals.converter._dispatch('escapeSpecialCharsWithinTagAttributes.before', text, options, globals);\n\n // Build a regex to find HTML tags.\n var tags = /<\\/?[a-z\\d_:-]+(?:[\\s]+[\\s\\S]+?)?>/gi,\n comments = /-]|-[^>])(?:[^-]|-[^-])*)--)>/gi;\n\n text = text.replace(tags, function (wholeMatch) {\n return wholeMatch.replace(/(.)<\\/?code>(?=.)/g, '$1`').replace(/([\\\\`*_~=|])/g, showdown.helper.escapeCharactersCallback);\n });\n\n text = text.replace(comments, function (wholeMatch) {\n return wholeMatch.replace(/([\\\\`*_~=|])/g, showdown.helper.escapeCharactersCallback);\n });\n\n text = globals.converter._dispatch('escapeSpecialCharsWithinTagAttributes.after', text, options, globals);\n return text;\n });\n\n /**\n * Handle github codeblocks prior to running HashHTML so that\n * HTML contained within the codeblock gets escaped properly\n * Example:\n * ```ruby\n * def hello_world(x)\n * puts \"Hello, #{x}\"\n * end\n * ```\n */\n showdown.subParser('githubCodeBlocks', function (text, options, globals) {\n 'use strict';\n\n // early exit if option is not enabled\n\n if (!options.ghCodeBlocks) {\n return text;\n }\n\n text = globals.converter._dispatch('githubCodeBlocks.before', text, options, globals);\n\n text += '¨0';\n\n text = text.replace(/(?:^|\\n)(?: {0,3})(```+|~~~+)(?: *)([^\\s`~]*)\\n([\\s\\S]*?)\\n(?: {0,3})\\1/g, function (wholeMatch, delim, language, codeblock) {\n var end = options.omitExtraWLInCodeBlocks ? '' : '\\n';\n\n // First parse the github code block\n codeblock = showdown.subParser('encodeCode')(codeblock, options, globals);\n codeblock = showdown.subParser('detab')(codeblock, options, globals);\n codeblock = codeblock.replace(/^\\n+/g, ''); // trim leading newlines\n codeblock = codeblock.replace(/\\n+$/g, ''); // trim trailing whitespace\n\n codeblock = '' + codeblock + end + '
';\n\n codeblock = showdown.subParser('hashBlock')(codeblock, options, globals);\n\n // Since GHCodeblocks can be false positives, we need to\n // store the primitive text and the parsed text in a global var,\n // and then return a token\n return '\\n\\n¨G' + (globals.ghCodeBlocks.push({ text: wholeMatch, codeblock: codeblock }) - 1) + 'G\\n\\n';\n });\n\n // attacklab: strip sentinel\n text = text.replace(/¨0/, '');\n\n return globals.converter._dispatch('githubCodeBlocks.after', text, options, globals);\n });\n\n showdown.subParser('hashBlock', function (text, options, globals) {\n 'use strict';\n\n text = globals.converter._dispatch('hashBlock.before', text, options, globals);\n text = text.replace(/(^\\n+|\\n+$)/g, '');\n text = '\\n\\n¨K' + (globals.gHtmlBlocks.push(text) - 1) + 'K\\n\\n';\n text = globals.converter._dispatch('hashBlock.after', text, options, globals);\n return text;\n });\n\n /**\n * Hash and escape elements that should not be parsed as markdown\n */\n showdown.subParser('hashCodeTags', function (text, options, globals) {\n 'use strict';\n\n text = globals.converter._dispatch('hashCodeTags.before', text, options, globals);\n\n var repFunc = function repFunc(wholeMatch, match, left, right) {\n var codeblock = left + showdown.subParser('encodeCode')(match, options, globals) + right;\n return '¨C' + (globals.gHtmlSpans.push(codeblock) - 1) + 'C';\n };\n\n // Hash naked \n text = showdown.helper.replaceRecursiveRegExp(text, repFunc, ']*>', '
', 'gim');\n\n text = globals.converter._dispatch('hashCodeTags.after', text, options, globals);\n return text;\n });\n\n showdown.subParser('hashElement', function (text, options, globals) {\n 'use strict';\n\n return function (wholeMatch, m1) {\n var blockText = m1;\n\n // Undo double lines\n blockText = blockText.replace(/\\n\\n/g, '\\n');\n blockText = blockText.replace(/^\\n/, '');\n\n // strip trailing blank lines\n blockText = blockText.replace(/\\n+$/g, '');\n\n // Replace the element text with a marker (\"¨KxK\" where x is its key)\n blockText = '\\n\\n¨K' + (globals.gHtmlBlocks.push(blockText) - 1) + 'K\\n\\n';\n\n return blockText;\n };\n });\n\n showdown.subParser('hashHTMLBlocks', function (text, options, globals) {\n 'use strict';\n\n text = globals.converter._dispatch('hashHTMLBlocks.before', text, options, globals);\n\n var blockTags = ['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 repFunc = function repFunc(wholeMatch, match, left, right) {\n var txt = wholeMatch;\n // check if this html element is marked as markdown\n // if so, it's contents should be parsed as markdown\n if (left.search(/\\bmarkdown\\b/) !== -1) {\n txt = left + globals.converter.makeHtml(match) + right;\n }\n return '\\n\\n¨K' + (globals.gHtmlBlocks.push(txt) - 1) + 'K\\n\\n';\n };\n\n if (options.backslashEscapesHTMLTags) {\n // encode backslash escaped HTML tags\n text = text.replace(/\\\\<(\\/?[^>]+?)>/g, function (wm, inside) {\n return '<' + inside + '>';\n });\n }\n\n // hash HTML Blocks\n for (var i = 0; i < blockTags.length; ++i) {\n\n var opTagPos,\n rgx1 = new RegExp('^ {0,3}(<' + blockTags[i] + '\\\\b[^>]*>)', 'im'),\n patLeft = '<' + blockTags[i] + '\\\\b[^>]*>',\n patRight = '' + blockTags[i] + '>';\n // 1. Look for the first position of the first opening HTML tag in the text\n while ((opTagPos = showdown.helper.regexIndexOf(text, rgx1)) !== -1) {\n\n // if the HTML tag is \\ escaped, we need to escape it and break\n\n\n //2. Split the text in that position\n var subTexts = showdown.helper.splitAtIndex(text, opTagPos),\n\n //3. Match recursively\n newSubText1 = showdown.helper.replaceRecursiveRegExp(subTexts[1], repFunc, patLeft, patRight, 'im');\n\n // prevent an infinite loop\n if (newSubText1 === subTexts[1]) {\n break;\n }\n text = subTexts[0].concat(newSubText1);\n }\n }\n // HR SPECIAL CASE\n text = text.replace(/(\\n {0,3}(<(hr)\\b([^<>])*?\\/?>)[ \\t]*(?=\\n{2,}))/g, showdown.subParser('hashElement')(text, options, globals));\n\n // Special case for standalone HTML comments\n text = showdown.helper.replaceRecursiveRegExp(text, function (txt) {\n return '\\n\\n¨K' + (globals.gHtmlBlocks.push(txt) - 1) + 'K\\n\\n';\n }, '^ {0,3}', 'gm');\n\n // PHP and ASP-style processor instructions (...?> and <%...%>)\n text = text.replace(/(?:\\n\\n)( {0,3}(?:<([?%])[^\\r]*?\\2>)[ \\t]*(?=\\n{2,}))/g, showdown.subParser('hashElement')(text, options, globals));\n\n text = globals.converter._dispatch('hashHTMLBlocks.after', text, options, globals);\n return text;\n });\n\n /**\n * Hash span elements that should not be parsed as markdown\n */\n showdown.subParser('hashHTMLSpans', function (text, options, globals) {\n 'use strict';\n\n text = globals.converter._dispatch('hashHTMLSpans.before', text, options, globals);\n\n function hashHTMLSpan(html) {\n return '¨C' + (globals.gHtmlSpans.push(html) - 1) + 'C';\n }\n\n // Hash Self Closing tags\n text = text.replace(/<[^>]+?\\/>/gi, function (wm) {\n return hashHTMLSpan(wm);\n });\n\n // Hash tags without properties\n text = text.replace(/<([^>]+?)>[\\s\\S]*?<\\/\\1>/g, function (wm) {\n return hashHTMLSpan(wm);\n });\n\n // Hash tags with properties\n text = text.replace(/<([^>]+?)\\s[^>]+?>[\\s\\S]*?<\\/\\1>/g, function (wm) {\n return hashHTMLSpan(wm);\n });\n\n // Hash self closing tags without />\n text = text.replace(/<[^>]+?>/gi, function (wm) {\n return hashHTMLSpan(wm);\n });\n\n /*showdown.helper.matchRecursiveRegExp(text, ']*>', '
', 'gi');*/\n\n text = globals.converter._dispatch('hashHTMLSpans.after', text, options, globals);\n return text;\n });\n\n /**\n * Unhash HTML spans\n */\n showdown.subParser('unhashHTMLSpans', function (text, options, globals) {\n 'use strict';\n\n text = globals.converter._dispatch('unhashHTMLSpans.before', text, options, globals);\n\n for (var i = 0; i < globals.gHtmlSpans.length; ++i) {\n var repText = globals.gHtmlSpans[i],\n\n // limiter to prevent infinite loop (assume 10 as limit for recurse)\n limit = 0;\n\n while (/¨C(\\d+)C/.test(repText)) {\n var num = RegExp.$1;\n repText = repText.replace('¨C' + num + 'C', globals.gHtmlSpans[num]);\n if (limit === 10) {\n console.error('maximum nesting of 10 spans reached!!!');\n break;\n }\n ++limit;\n }\n text = text.replace('¨C' + i + 'C', repText);\n }\n\n text = globals.converter._dispatch('unhashHTMLSpans.after', text, options, globals);\n return text;\n });\n\n /**\n * Hash and escape elements that should not be parsed as markdown\n */\n showdown.subParser('hashPreCodeTags', function (text, options, globals) {\n 'use strict';\n\n text = globals.converter._dispatch('hashPreCodeTags.before', text, options, globals);\n\n var repFunc = function repFunc(wholeMatch, match, left, right) {\n // encode html entities\n var codeblock = left + showdown.subParser('encodeCode')(match, options, globals) + right;\n return '\\n\\n¨G' + (globals.ghCodeBlocks.push({ text: wholeMatch, codeblock: codeblock }) - 1) + 'G\\n\\n';\n };\n\n // Hash \n text = showdown.helper.replaceRecursiveRegExp(text, repFunc, '^ {0,3}]*>\\\\s*]*>', '^ {0,3}
\\\\s*
', 'gim');\n\n text = globals.converter._dispatch('hashPreCodeTags.after', text, options, globals);\n return text;\n });\n\n showdown.subParser('headers', function (text, options, globals) {\n 'use strict';\n\n text = globals.converter._dispatch('headers.before', text, options, globals);\n\n var headerLevelStart = isNaN(parseInt(options.headerLevelStart)) ? 1 : parseInt(options.headerLevelStart),\n\n\n // Set text-style headers:\n //\tHeader 1\n //\t========\n //\n //\tHeader 2\n //\t--------\n //\n setextRegexH1 = options.smoothLivePreview ? /^(.+)[ \\t]*\\n={2,}[ \\t]*\\n+/gm : /^(.+)[ \\t]*\\n=+[ \\t]*\\n+/gm,\n setextRegexH2 = options.smoothLivePreview ? /^(.+)[ \\t]*\\n-{2,}[ \\t]*\\n+/gm : /^(.+)[ \\t]*\\n-+[ \\t]*\\n+/gm;\n\n text = text.replace(setextRegexH1, function (wholeMatch, m1) {\n\n var spanGamut = showdown.subParser('spanGamut')(m1, options, globals),\n hID = options.noHeaderId ? '' : ' id=\"' + headerId(m1) + '\"',\n hLevel = headerLevelStart,\n hashBlock = '' + spanGamut + ' ';\n return showdown.subParser('hashBlock')(hashBlock, options, globals);\n });\n\n text = text.replace(setextRegexH2, function (matchFound, m1) {\n var spanGamut = showdown.subParser('spanGamut')(m1, options, globals),\n hID = options.noHeaderId ? '' : ' id=\"' + headerId(m1) + '\"',\n hLevel = headerLevelStart + 1,\n hashBlock = '' + spanGamut + ' ';\n return showdown.subParser('hashBlock')(hashBlock, options, globals);\n });\n\n // atx-style headers:\n // # Header 1\n // ## Header 2\n // ## Header 2 with closing hashes ##\n // ...\n // ###### Header 6\n //\n var atxStyle = options.requireSpaceBeforeHeadingText ? /^(#{1,6})[ \\t]+(.+?)[ \\t]*#*\\n+/gm : /^(#{1,6})[ \\t]*(.+?)[ \\t]*#*\\n+/gm;\n\n text = text.replace(atxStyle, function (wholeMatch, m1, m2) {\n var hText = m2;\n if (options.customizedHeaderId) {\n hText = m2.replace(/\\s?\\{([^{]+?)}\\s*$/, '');\n }\n\n var span = showdown.subParser('spanGamut')(hText, options, globals),\n hID = options.noHeaderId ? '' : ' id=\"' + headerId(m2) + '\"',\n hLevel = headerLevelStart - 1 + m1.length,\n header = '' + span + ' ';\n\n return showdown.subParser('hashBlock')(header, options, globals);\n });\n\n function headerId(m) {\n var title, prefix;\n\n // It is separate from other options to allow combining prefix and customized\n if (options.customizedHeaderId) {\n var match = m.match(/\\{([^{]+?)}\\s*$/);\n if (match && match[1]) {\n m = match[1];\n }\n }\n\n title = m;\n\n // Prefix id to prevent causing inadvertent pre-existing style matches.\n if (showdown.helper.isString(options.prefixHeaderId)) {\n prefix = options.prefixHeaderId;\n } else if (options.prefixHeaderId === true) {\n prefix = 'section-';\n } else {\n prefix = '';\n }\n\n if (!options.rawPrefixHeaderId) {\n title = prefix + title;\n }\n\n if (options.ghCompatibleHeaderId) {\n title = title.replace(/ /g, '-')\n // replace previously escaped chars (&, ¨ and $)\n .replace(/&/g, '').replace(/¨T/g, '').replace(/¨D/g, '')\n // replace rest of the chars (&~$ are repeated as they might have been escaped)\n // borrowed from github's redcarpet (some they should produce similar results)\n .replace(/[&+$,\\/:;=?@\"#{}|^¨~\\[\\]`\\\\*)(%.!'<>]/g, '').toLowerCase();\n } else if (options.rawHeaderId) {\n title = title.replace(/ /g, '-')\n // replace previously escaped chars (&, ¨ and $)\n .replace(/&/g, '&').replace(/¨T/g, '¨').replace(/¨D/g, '$')\n // replace \" and '\n .replace(/[\"']/g, '-').toLowerCase();\n } else {\n title = title.replace(/[^\\w]/g, '').toLowerCase();\n }\n\n if (options.rawPrefixHeaderId) {\n title = prefix + title;\n }\n\n if (globals.hashLinkCounts[title]) {\n title = title + '-' + globals.hashLinkCounts[title]++;\n } else {\n globals.hashLinkCounts[title] = 1;\n }\n return title;\n }\n\n text = globals.converter._dispatch('headers.after', text, options, globals);\n return text;\n });\n\n /**\n * Turn Markdown link shortcuts into XHTML tags.\n */\n showdown.subParser('horizontalRule', function (text, options, globals) {\n 'use strict';\n\n text = globals.converter._dispatch('horizontalRule.before', text, options, globals);\n\n var key = showdown.subParser('hashBlock')('
', options, globals);\n text = text.replace(/^ {0,2}( ?-){3,}[ \\t]*$/gm, key);\n text = text.replace(/^ {0,2}( ?\\*){3,}[ \\t]*$/gm, key);\n text = text.replace(/^ {0,2}( ?_){3,}[ \\t]*$/gm, key);\n\n text = globals.converter._dispatch('horizontalRule.after', text, options, globals);\n return text;\n });\n\n /**\n * Turn Markdown image shortcuts into tags.\n */\n showdown.subParser('images', function (text, options, globals) {\n 'use strict';\n\n text = globals.converter._dispatch('images.before', text, options, globals);\n\n var inlineRegExp = /!\\[([^\\]]*?)][ \\t]*()\\([ \\t]?([\\S]+?(?:\\([\\S]*?\\)[\\S]*?)?)>?(?: =([*\\d]+[A-Za-z%]{0,4})x([*\\d]+[A-Za-z%]{0,4}))?[ \\t]*(?:([\"'])([^\"]*?)\\6)?[ \\t]?\\)/g,\n crazyRegExp = /!\\[([^\\]]*?)][ \\t]*()\\([ \\t]?<([^>]*)>(?: =([*\\d]+[A-Za-z%]{0,4})x([*\\d]+[A-Za-z%]{0,4}))?[ \\t]*(?:(?:([\"'])([^\"]*?)\\6))?[ \\t]?\\)/g,\n base64RegExp = /!\\[([^\\]]*?)][ \\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,\n referenceRegExp = /!\\[([^\\]]*?)] ?(?:\\n *)?\\[([\\s\\S]*?)]()()()()()/g,\n refShortcutRegExp = /!\\[([^\\[\\]]+)]()()()()()/g;\n\n function writeImageTagBase64(wholeMatch, altText, linkId, url, width, height, m5, title) {\n url = url.replace(/\\s/g, '');\n return writeImageTag(wholeMatch, altText, linkId, url, width, height, m5, title);\n }\n\n function writeImageTag(wholeMatch, altText, linkId, url, width, height, m5, title) {\n\n var gUrls = globals.gUrls,\n gTitles = globals.gTitles,\n gDims = globals.gDimensions;\n\n linkId = linkId.toLowerCase();\n\n if (!title) {\n title = '';\n }\n // Special case for explicit empty url\n if (wholeMatch.search(/\\(\\s*>? ?(['\"].*['\"])?\\)$/m) > -1) {\n url = '';\n } else if (url === '' || url === null) {\n if (linkId === '' || linkId === null) {\n // lower-case and turn embedded newlines into spaces\n linkId = altText.toLowerCase().replace(/ ?\\n/g, ' ');\n }\n url = '#' + linkId;\n\n if (!showdown.helper.isUndefined(gUrls[linkId])) {\n url = gUrls[linkId];\n if (!showdown.helper.isUndefined(gTitles[linkId])) {\n title = gTitles[linkId];\n }\n if (!showdown.helper.isUndefined(gDims[linkId])) {\n width = gDims[linkId].width;\n height = gDims[linkId].height;\n }\n } else {\n return wholeMatch;\n }\n }\n\n altText = altText.replace(/\"/g, '"')\n //altText = showdown.helper.escapeCharacters(altText, '*_', false);\n .replace(showdown.helper.regexes.asteriskDashAndColon, showdown.helper.escapeCharactersCallback);\n //url = showdown.helper.escapeCharacters(url, '*_', false);\n url = url.replace(showdown.helper.regexes.asteriskDashAndColon, showdown.helper.escapeCharactersCallback);\n var result = '';\n\n return result;\n }\n\n // First, handle reference-style labeled images: ![alt text][id]\n text = text.replace(referenceRegExp, writeImageTag);\n\n // Next, handle inline images: ![alt text](url =x \"optional title\")\n\n // base64 encoded images\n text = text.replace(base64RegExp, writeImageTagBase64);\n\n // cases with crazy urls like ./image/cat1).png\n text = text.replace(crazyRegExp, writeImageTag);\n\n // normal cases\n text = text.replace(inlineRegExp, writeImageTag);\n\n // handle reference-style shortcuts: ![img text]\n text = text.replace(refShortcutRegExp, writeImageTag);\n\n text = globals.converter._dispatch('images.after', text, options, globals);\n return text;\n });\n\n showdown.subParser('italicsAndBold', function (text, options, globals) {\n 'use strict';\n\n text = globals.converter._dispatch('italicsAndBold.before', text, options, globals);\n\n // it's faster to have 3 separate regexes for each case than have just one\n // because of backtracing, in some cases, it could lead to an exponential effect\n // called \"catastrophic backtrace\". Ominous!\n\n function parseInside(txt, left, right) {\n /*\n if (options.simplifiedAutoLink) {\n txt = showdown.subParser('simplifiedAutoLinks')(txt, options, globals);\n }\n */\n return left + txt + right;\n }\n\n // Parse underscores\n if (options.literalMidWordUnderscores) {\n text = text.replace(/\\b___(\\S[\\s\\S]*?)___\\b/g, function (wm, txt) {\n return parseInside(txt, '', '');\n });\n text = text.replace(/\\b__(\\S[\\s\\S]*?)__\\b/g, function (wm, txt) {\n return parseInside(txt, '', '');\n });\n text = text.replace(/\\b_(\\S[\\s\\S]*?)_\\b/g, function (wm, txt) {\n return parseInside(txt, '', '');\n });\n } else {\n text = text.replace(/___(\\S[\\s\\S]*?)___/g, function (wm, m) {\n return (/\\S$/.test(m) ? parseInside(m, '', '') : wm\n );\n });\n text = text.replace(/__(\\S[\\s\\S]*?)__/g, function (wm, m) {\n return (/\\S$/.test(m) ? parseInside(m, '', '') : wm\n );\n });\n text = text.replace(/_([^\\s_][\\s\\S]*?)_/g, function (wm, m) {\n // !/^_[^_]/.test(m) - test if it doesn't start with __ (since it seems redundant, we removed it)\n return (/\\S$/.test(m) ? parseInside(m, '', '') : wm\n );\n });\n }\n\n // Now parse asterisks\n if (options.literalMidWordAsterisks) {\n text = text.replace(/([^*]|^)\\B\\*\\*\\*(\\S[\\s\\S]*?)\\*\\*\\*\\B(?!\\*)/g, function (wm, lead, txt) {\n return parseInside(txt, lead + '', '');\n });\n text = text.replace(/([^*]|^)\\B\\*\\*(\\S[\\s\\S]*?)\\*\\*\\B(?!\\*)/g, function (wm, lead, txt) {\n return parseInside(txt, lead + '', '');\n });\n text = text.replace(/([^*]|^)\\B\\*(\\S[\\s\\S]*?)\\*\\B(?!\\*)/g, function (wm, lead, txt) {\n return parseInside(txt, lead + '', '');\n });\n } else {\n text = text.replace(/\\*\\*\\*(\\S[\\s\\S]*?)\\*\\*\\*/g, function (wm, m) {\n return (/\\S$/.test(m) ? parseInside(m, '', '') : wm\n );\n });\n text = text.replace(/\\*\\*(\\S[\\s\\S]*?)\\*\\*/g, function (wm, m) {\n return (/\\S$/.test(m) ? parseInside(m, '', '') : wm\n );\n });\n text = text.replace(/\\*([^\\s*][\\s\\S]*?)\\*/g, function (wm, m) {\n // !/^\\*[^*]/.test(m) - test if it doesn't start with ** (since it seems redundant, we removed it)\n return (/\\S$/.test(m) ? parseInside(m, '', '') : wm\n );\n });\n }\n\n text = globals.converter._dispatch('italicsAndBold.after', text, options, globals);\n return text;\n });\n\n /**\n * Form HTML ordered (numbered) and unordered (bulleted) lists.\n */\n showdown.subParser('lists', function (text, options, globals) {\n 'use strict';\n\n /**\n * Process the contents of a single ordered or unordered list, splitting it\n * into individual list items.\n * @param {string} listStr\n * @param {boolean} trimTrailing\n * @returns {string}\n */\n\n function processListItems(listStr, trimTrailing) {\n // The $g_list_level global keeps track of when we're inside a list.\n // Each time we enter a list, we increment it; when we leave a list,\n // we decrement. If it's zero, we're not in a list anymore.\n //\n // We do this because when we're not inside a list, we want to treat\n // something like this:\n //\n // I recommend upgrading to version\n // 8. Oops, now this line is treated\n // as a sub-list.\n //\n // As a single paragraph, despite the fact that the second line starts\n // with a digit-period-space sequence.\n //\n // Whereas when we're inside a list (or sub-list), that line will be\n // treated as the start of a sub-list. What a kludge, huh? This is\n // an aspect of Markdown's syntax that's hard to parse perfectly\n // without resorting to mind-reading. Perhaps the solution is to\n // change the syntax rules such that sub-lists must start with a\n // starting cardinal number; e.g. \"1.\" or \"a.\".\n globals.gListLevel++;\n\n // trim trailing blank lines:\n listStr = listStr.replace(/\\n{2,}$/, '\\n');\n\n // attacklab: add sentinel to emulate \\z\n listStr += '¨0';\n\n var rgx = /(\\n)?(^ {0,3})([*+-]|\\d+[.])[ \\t]+((\\[(x|X| )?])?[ \\t]*[^\\r]+?(\\n{1,2}))(?=\\n*(¨0| {0,3}([*+-]|\\d+[.])[ \\t]+))/gm,\n isParagraphed = /\\n[ \\t]*\\n(?!¨0)/.test(listStr);\n\n // Since version 1.5, nesting sublists requires 4 spaces (or 1 tab) indentation,\n // which is a syntax breaking change\n // activating this option reverts to old behavior\n if (options.disableForced4SpacesIndentedSublists) {\n rgx = /(\\n)?(^ {0,3})([*+-]|\\d+[.])[ \\t]+((\\[(x|X| )?])?[ \\t]*[^\\r]+?(\\n{1,2}))(?=\\n*(¨0|\\2([*+-]|\\d+[.])[ \\t]+))/gm;\n }\n\n listStr = listStr.replace(rgx, function (wholeMatch, m1, m2, m3, m4, taskbtn, checked) {\n checked = checked && checked.trim() !== '';\n\n var item = showdown.subParser('outdent')(m4, options, globals),\n bulletStyle = '';\n\n // Support for github tasklists\n if (taskbtn && options.tasklists) {\n bulletStyle = ' class=\"task-list-item\" style=\"list-style-type: none;\"';\n item = item.replace(/^[ \\t]*\\[(x|X| )?]/m, function () {\n var otp = '';\n return otp;\n });\n }\n\n // ISSUE #312\n // This input: - - - a\n // causes trouble to the parser, since it interprets it as:\n // - a
\n // instead of:\n // - - - a
\n // So, to prevent it, we will put a marker (¨A)in the beginning of the line\n // Kind of hackish/monkey patching, but seems more effective than overcomplicating the list parser\n item = item.replace(/^([-*+]|\\d\\.)[ \\t]+[\\S\\n ]*/g, function (wm2) {\n return '¨A' + wm2;\n });\n\n // m1 - Leading line or\n // Has a double return (multi paragraph) or\n // Has sublist\n if (m1 || item.search(/\\n{2,}/) > -1) {\n item = showdown.subParser('githubCodeBlocks')(item, options, globals);\n item = showdown.subParser('blockGamut')(item, options, globals);\n } else {\n // Recursion for sub-lists:\n item = showdown.subParser('lists')(item, options, globals);\n item = item.replace(/\\n$/, ''); // chomp(item)\n item = showdown.subParser('hashHTMLBlocks')(item, options, globals);\n\n // Colapse double linebreaks\n item = item.replace(/\\n\\n+/g, '\\n\\n');\n if (isParagraphed) {\n item = showdown.subParser('paragraphs')(item, options, globals);\n } else {\n item = showdown.subParser('spanGamut')(item, options, globals);\n }\n }\n\n // now we need to remove the marker (¨A)\n item = item.replace('¨A', '');\n // we can finally wrap the line in list item tags\n item = '' + item + ' \\n';\n\n return item;\n });\n\n // attacklab: strip sentinel\n listStr = listStr.replace(/¨0/g, '');\n\n globals.gListLevel--;\n\n if (trimTrailing) {\n listStr = listStr.replace(/\\s+$/, '');\n }\n\n return listStr;\n }\n\n function styleStartNumber(list, listType) {\n // check if ol and starts by a number different than 1\n if (listType === 'ol') {\n var res = list.match(/^ *(\\d+)\\./);\n if (res && res[1] !== '1') {\n return ' start=\"' + res[1] + '\"';\n }\n }\n return '';\n }\n\n /**\n * Check and parse consecutive lists (better fix for issue #142)\n * @param {string} list\n * @param {string} listType\n * @param {boolean} trimTrailing\n * @returns {string}\n */\n function parseConsecutiveLists(list, listType, trimTrailing) {\n // check if we caught 2 or more consecutive lists by mistake\n // we use the counterRgx, meaning if listType is UL we look for OL and vice versa\n var olRgx = options.disableForced4SpacesIndentedSublists ? /^ ?\\d+\\.[ \\t]/gm : /^ {0,3}\\d+\\.[ \\t]/gm,\n ulRgx = options.disableForced4SpacesIndentedSublists ? /^ ?[*+-][ \\t]/gm : /^ {0,3}[*+-][ \\t]/gm,\n counterRxg = listType === 'ul' ? olRgx : ulRgx,\n result = '';\n\n if (list.search(counterRxg) !== -1) {\n (function parseCL(txt) {\n var pos = txt.search(counterRxg),\n style = styleStartNumber(list, listType);\n if (pos !== -1) {\n // slice\n result += '\\n\\n<' + listType + style + '>\\n' + processListItems(txt.slice(0, pos), !!trimTrailing) + '' + listType + '>\\n';\n\n // invert counterType and listType\n listType = listType === 'ul' ? 'ol' : 'ul';\n counterRxg = listType === 'ul' ? olRgx : ulRgx;\n\n //recurse\n parseCL(txt.slice(pos));\n } else {\n result += '\\n\\n<' + listType + style + '>\\n' + processListItems(txt, !!trimTrailing) + '' + listType + '>\\n';\n }\n })(list);\n } else {\n var style = styleStartNumber(list, listType);\n result = '\\n\\n<' + listType + style + '>\\n' + processListItems(list, !!trimTrailing) + '' + listType + '>\\n';\n }\n\n return result;\n }\n\n /** Start of list parsing **/\n text = globals.converter._dispatch('lists.before', text, options, globals);\n // add sentinel to hack around khtml/safari bug:\n // http://bugs.webkit.org/show_bug.cgi?id=11231\n text += '¨0';\n\n if (globals.gListLevel) {\n text = text.replace(/^(( {0,3}([*+-]|\\d+[.])[ \\t]+)[^\\r]+?(¨0|\\n{2,}(?=\\S)(?![ \\t]*(?:[*+-]|\\d+[.])[ \\t]+)))/gm, function (wholeMatch, list, m2) {\n var listType = m2.search(/[*+-]/g) > -1 ? 'ul' : 'ol';\n return parseConsecutiveLists(list, listType, true);\n });\n } else {\n text = text.replace(/(\\n\\n|^\\n?)(( {0,3}([*+-]|\\d+[.])[ \\t]+)[^\\r]+?(¨0|\\n{2,}(?=\\S)(?![ \\t]*(?:[*+-]|\\d+[.])[ \\t]+)))/gm, function (wholeMatch, m1, list, m3) {\n var listType = m3.search(/[*+-]/g) > -1 ? 'ul' : 'ol';\n return parseConsecutiveLists(list, listType, false);\n });\n }\n\n // strip sentinel\n text = text.replace(/¨0/, '');\n text = globals.converter._dispatch('lists.after', text, options, globals);\n return text;\n });\n\n /**\n * Parse metadata at the top of the document\n */\n showdown.subParser('metadata', function (text, options, globals) {\n 'use strict';\n\n if (!options.metadata) {\n return text;\n }\n\n text = globals.converter._dispatch('metadata.before', text, options, globals);\n\n function parseMetadataContents(content) {\n // raw is raw so it's not changed in any way\n globals.metadata.raw = content;\n\n // escape chars forbidden in html attributes\n // double quotes\n content = content\n // ampersand first\n .replace(/&/g, '&')\n // double quotes\n .replace(/\"/g, '"');\n\n content = content.replace(/\\n {4}/g, ' ');\n content.replace(/^([\\S ]+): +([\\s\\S]+?)$/gm, function (wm, key, value) {\n globals.metadata.parsed[key] = value;\n return '';\n });\n }\n\n text = text.replace(/^\\s*«««+(\\S*?)\\n([\\s\\S]+?)\\n»»»+\\n/, function (wholematch, format, content) {\n parseMetadataContents(content);\n return '¨M';\n });\n\n text = text.replace(/^\\s*---+(\\S*?)\\n([\\s\\S]+?)\\n---+\\n/, function (wholematch, format, content) {\n if (format) {\n globals.metadata.format = format;\n }\n parseMetadataContents(content);\n return '¨M';\n });\n\n text = text.replace(/¨M/g, '');\n\n text = globals.converter._dispatch('metadata.after', text, options, globals);\n return text;\n });\n\n /**\n * Remove one level of line-leading tabs or spaces\n */\n showdown.subParser('outdent', function (text, options, globals) {\n 'use strict';\n\n text = globals.converter._dispatch('outdent.before', text, options, globals);\n\n // attacklab: hack around Konqueror 3.5.4 bug:\n // \"----------bug\".replace(/^-/g,\"\") == \"bug\"\n text = text.replace(/^(\\t|[ ]{1,4})/gm, '¨0'); // attacklab: g_tab_width\n\n // attacklab: clean up hack\n text = text.replace(/¨0/g, '');\n\n text = globals.converter._dispatch('outdent.after', text, options, globals);\n return text;\n });\n\n /**\n *\n */\n showdown.subParser('paragraphs', function (text, options, globals) {\n 'use strict';\n\n text = globals.converter._dispatch('paragraphs.before', text, options, globals);\n // Strip leading and trailing lines:\n text = text.replace(/^\\n+/g, '');\n text = text.replace(/\\n+$/g, '');\n\n var grafs = text.split(/\\n{2,}/g),\n grafsOut = [],\n end = grafs.length; // Wrap tags\n\n for (var i = 0; i < end; i++) {\n var str = grafs[i];\n // if this is an HTML marker, copy it\n if (str.search(/¨(K|G)(\\d+)\\1/g) >= 0) {\n grafsOut.push(str);\n\n // test for presence of characters to prevent empty lines being parsed\n // as paragraphs (resulting in undesired extra empty paragraphs)\n } else if (str.search(/\\S/) >= 0) {\n str = showdown.subParser('spanGamut')(str, options, globals);\n str = str.replace(/^([ \\t]*)/g, '
');\n str += '
';\n grafsOut.push(str);\n }\n }\n\n /** Unhashify HTML blocks */\n end = grafsOut.length;\n for (i = 0; i < end; i++) {\n var blockText = '',\n grafsOutIt = grafsOut[i],\n codeFlag = false;\n // if this is a marker for an html block...\n // use RegExp.test instead of string.search because of QML bug\n while (/¨(K|G)(\\d+)\\1/.test(grafsOutIt)) {\n var delim = RegExp.$1,\n num = RegExp.$2;\n\n if (delim === 'K') {\n blockText = globals.gHtmlBlocks[num];\n } else {\n // we need to check if ghBlock is a false positive\n if (codeFlag) {\n // use encoded version of all text\n blockText = showdown.subParser('encodeCode')(globals.ghCodeBlocks[num].text, options, globals);\n } else {\n blockText = globals.ghCodeBlocks[num].codeblock;\n }\n }\n blockText = blockText.replace(/\\$/g, '$$$$'); // Escape any dollar signs\n\n grafsOutIt = grafsOutIt.replace(/(\\n\\n)?¨(K|G)\\d+\\2(\\n\\n)?/, blockText);\n // Check if grafsOutIt is a pre->code\n if (/^]*>\\s*]*>/.test(grafsOutIt)) {\n codeFlag = true;\n }\n }\n grafsOut[i] = grafsOutIt;\n }\n text = grafsOut.join('\\n');\n // Strip leading and trailing lines:\n text = text.replace(/^\\n+/g, '');\n text = text.replace(/\\n+$/g, '');\n return globals.converter._dispatch('paragraphs.after', text, options, globals);\n });\n\n /**\n * Run extension\n */\n showdown.subParser('runExtension', function (ext, text, options, globals) {\n 'use strict';\n\n if (ext.filter) {\n text = ext.filter(text, globals.converter, options);\n } else if (ext.regex) {\n // TODO remove this when old extension loading mechanism is deprecated\n var re = ext.regex;\n if (!(re instanceof RegExp)) {\n re = new RegExp(re, 'g');\n }\n text = text.replace(re, ext.replace);\n }\n\n return text;\n });\n\n /**\n * These are all the transformations that occur *within* block-level\n * tags like paragraphs, headers, and list items.\n */\n showdown.subParser('spanGamut', function (text, options, globals) {\n 'use strict';\n\n text = globals.converter._dispatch('spanGamut.before', text, options, globals);\n text = showdown.subParser('codeSpans')(text, options, globals);\n text = showdown.subParser('escapeSpecialCharsWithinTagAttributes')(text, options, globals);\n text = showdown.subParser('encodeBackslashEscapes')(text, options, globals);\n\n // Process anchor and image tags. Images must come first,\n // because ![foo][f] looks like an anchor.\n text = showdown.subParser('images')(text, options, globals);\n text = showdown.subParser('anchors')(text, options, globals);\n\n // Make links out of things like ` `\n // Must come after anchors, because you can use < and >\n // delimiters in inline links like [this]().\n text = showdown.subParser('autoLinks')(text, options, globals);\n text = showdown.subParser('simplifiedAutoLinks')(text, options, globals);\n text = showdown.subParser('emoji')(text, options, globals);\n text = showdown.subParser('underline')(text, options, globals);\n text = showdown.subParser('italicsAndBold')(text, options, globals);\n text = showdown.subParser('strikethrough')(text, options, globals);\n text = showdown.subParser('ellipsis')(text, options, globals);\n\n // we need to hash HTML tags inside spans\n text = showdown.subParser('hashHTMLSpans')(text, options, globals);\n\n // now we encode amps and angles\n text = showdown.subParser('encodeAmpsAndAngles')(text, options, globals);\n\n // Do hard breaks\n if (options.simpleLineBreaks) {\n // GFM style hard breaks\n // only add line breaks if the text does not contain a block (special case for lists)\n if (!/\\n\\n¨K/.test(text)) {\n text = text.replace(/\\n+/g, '
\\n');\n }\n } else {\n // Vanilla hard breaks\n text = text.replace(/ +\\n/g, '
\\n');\n }\n\n text = globals.converter._dispatch('spanGamut.after', text, options, globals);\n return text;\n });\n\n showdown.subParser('strikethrough', function (text, options, globals) {\n 'use strict';\n\n function parseInside(txt) {\n if (options.simplifiedAutoLink) {\n txt = showdown.subParser('simplifiedAutoLinks')(txt, options, globals);\n }\n return '' + txt + '';\n }\n\n if (options.strikethrough) {\n text = globals.converter._dispatch('strikethrough.before', text, options, globals);\n text = text.replace(/(?:~){2}([\\s\\S]+?)(?:~){2}/g, function (wm, txt) {\n return parseInside(txt);\n });\n text = globals.converter._dispatch('strikethrough.after', text, options, globals);\n }\n\n return text;\n });\n\n /**\n * Strips link definitions from text, stores the URLs and titles in\n * hash references.\n * Link defs are in the form: ^[id]: url \"optional title\"\n */\n showdown.subParser('stripLinkDefinitions', function (text, options, globals) {\n 'use strict';\n\n var regex = /^ {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,\n base64Regex = /^ {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;\n\n // attacklab: sentinel workarounds for lack of \\A and \\Z, safari\\khtml bug\n text += '¨0';\n\n var replaceFunc = function replaceFunc(wholeMatch, linkId, url, width, height, blankLines, title) {\n linkId = linkId.toLowerCase();\n if (url.match(/^data:.+?\\/.+?;base64,/)) {\n // remove newlines\n globals.gUrls[linkId] = url.replace(/\\s/g, '');\n } else {\n globals.gUrls[linkId] = showdown.subParser('encodeAmpsAndAngles')(url, options, globals); // Link IDs are case-insensitive\n }\n\n if (blankLines) {\n // Oops, found blank lines, so it's not a title.\n // Put back the parenthetical statement we stole.\n return blankLines + title;\n } else {\n if (title) {\n globals.gTitles[linkId] = title.replace(/\"|'/g, '"');\n }\n if (options.parseImgDimensions && width && height) {\n globals.gDimensions[linkId] = {\n width: width,\n height: height\n };\n }\n }\n // Completely remove the definition from the text\n return '';\n };\n\n // first we try to find base64 link references\n text = text.replace(base64Regex, replaceFunc);\n\n text = text.replace(regex, replaceFunc);\n\n // attacklab: strip sentinel\n text = text.replace(/¨0/, '');\n\n return text;\n });\n\n showdown.subParser('tables', function (text, options, globals) {\n 'use strict';\n\n if (!options.tables) {\n return text;\n }\n\n var tableRgx = /^ {0,3}\\|?.+\\|.+\\n {0,3}\\|?[ \\t]*:?[ \\t]*(?:[-=]){2,}[ \\t]*:?[ \\t]*\\|[ \\t]*:?[ \\t]*(?:[-=]){2,}[\\s\\S]+?(?:\\n\\n|¨0)/gm,\n\n //singeColTblRgx = /^ {0,3}\\|.+\\|\\n {0,3}\\|[ \\t]*:?[ \\t]*(?:[-=]){2,}[ \\t]*:?[ \\t]*\\|[ \\t]*\\n(?: {0,3}\\|.+\\|\\n)+(?:\\n\\n|¨0)/gm;\n singeColTblRgx = /^ {0,3}\\|.+\\|[ \\t]*\\n {0,3}\\|[ \\t]*:?[ \\t]*(?:[-=]){2,}[ \\t]*:?[ \\t]*\\|[ \\t]*\\n( {0,3}\\|.+\\|[ \\t]*\\n)*(?:\\n|¨0)/gm;\n\n function parseStyles(sLine) {\n if (/^:[ \\t]*--*$/.test(sLine)) {\n return ' style=\"text-align:left;\"';\n } else if (/^--*[ \\t]*:[ \\t]*$/.test(sLine)) {\n return ' style=\"text-align:right;\"';\n } else if (/^:[ \\t]*--*[ \\t]*:$/.test(sLine)) {\n return ' style=\"text-align:center;\"';\n } else {\n return '';\n }\n }\n\n function parseHeaders(header, style) {\n var id = '';\n header = header.trim();\n // support both tablesHeaderId and tableHeaderId due to error in documentation so we don't break backwards compatibility\n if (options.tablesHeaderId || options.tableHeaderId) {\n id = ' id=\"' + header.replace(/ /g, '_').toLowerCase() + '\"';\n }\n header = showdown.subParser('spanGamut')(header, options, globals);\n\n return '' + header + ' \\n';\n }\n\n function parseCells(cell, style) {\n var subText = showdown.subParser('spanGamut')(cell, options, globals);\n return '' + subText + ' \\n';\n }\n\n function buildTable(headers, cells) {\n var tb = '\\n\\n\\n',\n tblLgn = headers.length;\n\n for (var i = 0; i < tblLgn; ++i) {\n tb += headers[i];\n }\n tb += ' \\n\\n\\n';\n\n for (i = 0; i < cells.length; ++i) {\n tb += '\\n';\n for (var ii = 0; ii < tblLgn; ++ii) {\n tb += cells[i][ii];\n }\n tb += ' \\n';\n }\n tb += '\\n
\\n';\n return tb;\n }\n\n function parseTable(rawTable) {\n var i,\n tableLines = rawTable.split('\\n');\n\n for (i = 0; i < tableLines.length; ++i) {\n // strip wrong first and last column if wrapped tables are used\n if (/^ {0,3}\\|/.test(tableLines[i])) {\n tableLines[i] = tableLines[i].replace(/^ {0,3}\\|/, '');\n }\n if (/\\|[ \\t]*$/.test(tableLines[i])) {\n tableLines[i] = tableLines[i].replace(/\\|[ \\t]*$/, '');\n }\n // parse code spans first, but we only support one line code spans\n tableLines[i] = showdown.subParser('codeSpans')(tableLines[i], options, globals);\n }\n\n var rawHeaders = tableLines[0].split('|').map(function (s) {\n return s.trim();\n }),\n rawStyles = tableLines[1].split('|').map(function (s) {\n return s.trim();\n }),\n rawCells = [],\n headers = [],\n styles = [],\n cells = [];\n\n tableLines.shift();\n tableLines.shift();\n\n for (i = 0; i < tableLines.length; ++i) {\n if (tableLines[i].trim() === '') {\n continue;\n }\n rawCells.push(tableLines[i].split('|').map(function (s) {\n return s.trim();\n }));\n }\n\n if (rawHeaders.length < rawStyles.length) {\n return rawTable;\n }\n\n for (i = 0; i < rawStyles.length; ++i) {\n styles.push(parseStyles(rawStyles[i]));\n }\n\n for (i = 0; i < rawHeaders.length; ++i) {\n if (showdown.helper.isUndefined(styles[i])) {\n styles[i] = '';\n }\n headers.push(parseHeaders(rawHeaders[i], styles[i]));\n }\n\n for (i = 0; i < rawCells.length; ++i) {\n var row = [];\n for (var ii = 0; ii < headers.length; ++ii) {\n if (showdown.helper.isUndefined(rawCells[i][ii])) {}\n row.push(parseCells(rawCells[i][ii], styles[ii]));\n }\n cells.push(row);\n }\n\n return buildTable(headers, cells);\n }\n\n text = globals.converter._dispatch('tables.before', text, options, globals);\n\n // find escaped pipe characters\n text = text.replace(/\\\\(\\|)/g, showdown.helper.escapeCharactersCallback);\n\n // parse multi column tables\n text = text.replace(tableRgx, parseTable);\n\n // parse one column tables\n text = text.replace(singeColTblRgx, parseTable);\n\n text = globals.converter._dispatch('tables.after', text, options, globals);\n\n return text;\n });\n\n showdown.subParser('underline', function (text, options, globals) {\n 'use strict';\n\n if (!options.underline) {\n return text;\n }\n\n text = globals.converter._dispatch('underline.before', text, options, globals);\n\n if (options.literalMidWordUnderscores) {\n text = text.replace(/\\b___(\\S[\\s\\S]*?)___\\b/g, function (wm, txt) {\n return '' + txt + '';\n });\n text = text.replace(/\\b__(\\S[\\s\\S]*?)__\\b/g, function (wm, txt) {\n return '' + txt + '';\n });\n } else {\n text = text.replace(/___(\\S[\\s\\S]*?)___/g, function (wm, m) {\n return (/\\S$/.test(m) ? '' + m + '' : wm\n );\n });\n text = text.replace(/__(\\S[\\s\\S]*?)__/g, function (wm, m) {\n return (/\\S$/.test(m) ? '' + m + '' : wm\n );\n });\n }\n\n // escape remaining underscores to prevent them being parsed by italic and bold\n text = text.replace(/(_)/g, showdown.helper.escapeCharactersCallback);\n\n text = globals.converter._dispatch('underline.after', text, options, globals);\n\n return text;\n });\n\n /**\n * Swap back in all the special characters we've hidden.\n */\n showdown.subParser('unescapeSpecialChars', function (text, options, globals) {\n 'use strict';\n\n text = globals.converter._dispatch('unescapeSpecialChars.before', text, options, globals);\n\n text = text.replace(/¨E(\\d+)E/g, function (wholeMatch, m1) {\n var charCodeToReplace = parseInt(m1);\n return String.fromCharCode(charCodeToReplace);\n });\n\n text = globals.converter._dispatch('unescapeSpecialChars.after', text, options, globals);\n return text;\n });\n\n showdown.subParser('makeMarkdown.blockquote', function (node, globals) {\n 'use strict';\n\n var txt = '';\n if (node.hasChildNodes()) {\n var children = node.childNodes,\n childrenLength = children.length;\n\n for (var i = 0; i < childrenLength; ++i) {\n var innerTxt = showdown.subParser('makeMarkdown.node')(children[i], globals);\n\n if (innerTxt === '') {\n continue;\n }\n txt += innerTxt;\n }\n }\n // cleanup\n txt = txt.trim();\n txt = '> ' + txt.split('\\n').join('\\n> ');\n return txt;\n });\n\n showdown.subParser('makeMarkdown.codeBlock', function (node, globals) {\n 'use strict';\n\n var lang = node.getAttribute('language'),\n num = node.getAttribute('precodenum');\n return '```' + lang + '\\n' + globals.preList[num] + '\\n```';\n });\n\n showdown.subParser('makeMarkdown.codeSpan', function (node) {\n 'use strict';\n\n return '`' + node.innerHTML + '`';\n });\n\n showdown.subParser('makeMarkdown.emphasis', function (node, globals) {\n 'use strict';\n\n var txt = '';\n if (node.hasChildNodes()) {\n txt += '*';\n var children = node.childNodes,\n childrenLength = children.length;\n for (var i = 0; i < childrenLength; ++i) {\n txt += showdown.subParser('makeMarkdown.node')(children[i], globals);\n }\n txt += '*';\n }\n return txt;\n });\n\n showdown.subParser('makeMarkdown.header', function (node, globals, headerLevel) {\n 'use strict';\n\n var headerMark = new Array(headerLevel + 1).join('#'),\n txt = '';\n\n if (node.hasChildNodes()) {\n txt = headerMark + ' ';\n var children = node.childNodes,\n childrenLength = children.length;\n\n for (var i = 0; i < childrenLength; ++i) {\n txt += showdown.subParser('makeMarkdown.node')(children[i], globals);\n }\n }\n return txt;\n });\n\n showdown.subParser('makeMarkdown.hr', function () {\n 'use strict';\n\n return '---';\n });\n\n showdown.subParser('makeMarkdown.image', function (node) {\n 'use strict';\n\n var txt = '';\n if (node.hasAttribute('src')) {\n txt += '![' + node.getAttribute('alt') + '](';\n txt += '<' + node.getAttribute('src') + '>';\n if (node.hasAttribute('width') && node.hasAttribute('height')) {\n txt += ' =' + node.getAttribute('width') + 'x' + node.getAttribute('height');\n }\n\n if (node.hasAttribute('title')) {\n txt += ' \"' + node.getAttribute('title') + '\"';\n }\n txt += ')';\n }\n return txt;\n });\n\n showdown.subParser('makeMarkdown.links', function (node, globals) {\n 'use strict';\n\n var txt = '';\n if (node.hasChildNodes() && node.hasAttribute('href')) {\n var children = node.childNodes,\n childrenLength = children.length;\n txt = '[';\n for (var i = 0; i < childrenLength; ++i) {\n txt += showdown.subParser('makeMarkdown.node')(children[i], globals);\n }\n txt += '](';\n txt += '<' + node.getAttribute('href') + '>';\n if (node.hasAttribute('title')) {\n txt += ' \"' + node.getAttribute('title') + '\"';\n }\n txt += ')';\n }\n return txt;\n });\n\n showdown.subParser('makeMarkdown.list', function (node, globals, type) {\n 'use strict';\n\n var txt = '';\n if (!node.hasChildNodes()) {\n return '';\n }\n var listItems = node.childNodes,\n listItemsLenght = listItems.length,\n listNum = node.getAttribute('start') || 1;\n\n for (var i = 0; i < listItemsLenght; ++i) {\n if (typeof listItems[i].tagName === 'undefined' || listItems[i].tagName.toLowerCase() !== 'li') {\n continue;\n }\n\n // define the bullet to use in list\n var bullet = '';\n if (type === 'ol') {\n bullet = listNum.toString() + '. ';\n } else {\n bullet = '- ';\n }\n\n // parse list item\n txt += bullet + showdown.subParser('makeMarkdown.listItem')(listItems[i], globals);\n ++listNum;\n }\n\n // add comment at the end to prevent consecutive lists to be parsed as one\n txt += '\\n\\n';\n return txt.trim();\n });\n\n showdown.subParser('makeMarkdown.listItem', function (node, globals) {\n 'use strict';\n\n var listItemTxt = '';\n\n var children = node.childNodes,\n childrenLenght = children.length;\n\n for (var i = 0; i < childrenLenght; ++i) {\n listItemTxt += showdown.subParser('makeMarkdown.node')(children[i], globals);\n }\n // if it's only one liner, we need to add a newline at the end\n if (!/\\n$/.test(listItemTxt)) {\n listItemTxt += '\\n';\n } else {\n // it's multiparagraph, so we need to indent\n listItemTxt = listItemTxt.split('\\n').join('\\n ').replace(/^ {4}$/gm, '').replace(/\\n\\n+/g, '\\n\\n');\n }\n\n return listItemTxt;\n });\n\n showdown.subParser('makeMarkdown.node', function (node, globals, spansOnly) {\n 'use strict';\n\n spansOnly = spansOnly || false;\n\n var txt = '';\n\n // edge case of text without wrapper paragraph\n if (node.nodeType === 3) {\n return showdown.subParser('makeMarkdown.txt')(node, globals);\n }\n\n // HTML comment\n if (node.nodeType === 8) {\n return '\\n\\n';\n }\n\n // process only node elements\n if (node.nodeType !== 1) {\n return '';\n }\n\n var tagName = node.tagName.toLowerCase();\n\n switch (tagName) {\n\n //\n // BLOCKS\n //\n case 'h1':\n if (!spansOnly) {\n txt = showdown.subParser('makeMarkdown.header')(node, globals, 1) + '\\n\\n';\n }\n break;\n case 'h2':\n if (!spansOnly) {\n txt = showdown.subParser('makeMarkdown.header')(node, globals, 2) + '\\n\\n';\n }\n break;\n case 'h3':\n if (!spansOnly) {\n txt = showdown.subParser('makeMarkdown.header')(node, globals, 3) + '\\n\\n';\n }\n break;\n case 'h4':\n if (!spansOnly) {\n txt = showdown.subParser('makeMarkdown.header')(node, globals, 4) + '\\n\\n';\n }\n break;\n case 'h5':\n if (!spansOnly) {\n txt = showdown.subParser('makeMarkdown.header')(node, globals, 5) + '\\n\\n';\n }\n break;\n case 'h6':\n if (!spansOnly) {\n txt = showdown.subParser('makeMarkdown.header')(node, globals, 6) + '\\n\\n';\n }\n break;\n\n case 'p':\n if (!spansOnly) {\n txt = showdown.subParser('makeMarkdown.paragraph')(node, globals) + '\\n\\n';\n }\n break;\n\n case 'blockquote':\n if (!spansOnly) {\n txt = showdown.subParser('makeMarkdown.blockquote')(node, globals) + '\\n\\n';\n }\n break;\n\n case 'hr':\n if (!spansOnly) {\n txt = showdown.subParser('makeMarkdown.hr')(node, globals) + '\\n\\n';\n }\n break;\n\n case 'ol':\n if (!spansOnly) {\n txt = showdown.subParser('makeMarkdown.list')(node, globals, 'ol') + '\\n\\n';\n }\n break;\n\n case 'ul':\n if (!spansOnly) {\n txt = showdown.subParser('makeMarkdown.list')(node, globals, 'ul') + '\\n\\n';\n }\n break;\n\n case 'precode':\n if (!spansOnly) {\n txt = showdown.subParser('makeMarkdown.codeBlock')(node, globals) + '\\n\\n';\n }\n break;\n\n case 'pre':\n if (!spansOnly) {\n txt = showdown.subParser('makeMarkdown.pre')(node, globals) + '\\n\\n';\n }\n break;\n\n case 'table':\n if (!spansOnly) {\n txt = showdown.subParser('makeMarkdown.table')(node, globals) + '\\n\\n';\n }\n break;\n\n //\n // SPANS\n //\n case 'code':\n txt = showdown.subParser('makeMarkdown.codeSpan')(node, globals);\n break;\n\n case 'em':\n case 'i':\n txt = showdown.subParser('makeMarkdown.emphasis')(node, globals);\n break;\n\n case 'strong':\n case 'b':\n txt = showdown.subParser('makeMarkdown.strong')(node, globals);\n break;\n\n case 'del':\n txt = showdown.subParser('makeMarkdown.strikethrough')(node, globals);\n break;\n\n case 'a':\n txt = showdown.subParser('makeMarkdown.links')(node, globals);\n break;\n\n case 'img':\n txt = showdown.subParser('makeMarkdown.image')(node, globals);\n break;\n\n default:\n txt = node.outerHTML + '\\n\\n';\n }\n\n // common normalization\n // TODO eventually\n\n return txt;\n });\n\n showdown.subParser('makeMarkdown.paragraph', function (node, globals) {\n 'use strict';\n\n var txt = '';\n if (node.hasChildNodes()) {\n var children = node.childNodes,\n childrenLength = children.length;\n for (var i = 0; i < childrenLength; ++i) {\n txt += showdown.subParser('makeMarkdown.node')(children[i], globals);\n }\n }\n\n // some text normalization\n txt = txt.trim();\n\n return txt;\n });\n\n showdown.subParser('makeMarkdown.pre', function (node, globals) {\n 'use strict';\n\n var num = node.getAttribute('prenum');\n return '' + globals.preList[num] + '
';\n });\n\n showdown.subParser('makeMarkdown.strikethrough', function (node, globals) {\n 'use strict';\n\n var txt = '';\n if (node.hasChildNodes()) {\n txt += '~~';\n var children = node.childNodes,\n childrenLength = children.length;\n for (var i = 0; i < childrenLength; ++i) {\n txt += showdown.subParser('makeMarkdown.node')(children[i], globals);\n }\n txt += '~~';\n }\n return txt;\n });\n\n showdown.subParser('makeMarkdown.strong', function (node, globals) {\n 'use strict';\n\n var txt = '';\n if (node.hasChildNodes()) {\n txt += '**';\n var children = node.childNodes,\n childrenLength = children.length;\n for (var i = 0; i < childrenLength; ++i) {\n txt += showdown.subParser('makeMarkdown.node')(children[i], globals);\n }\n txt += '**';\n }\n return txt;\n });\n\n showdown.subParser('makeMarkdown.table', function (node, globals) {\n 'use strict';\n\n var txt = '',\n tableArray = [[], []],\n headings = node.querySelectorAll('thead>tr>th'),\n rows = node.querySelectorAll('tbody>tr'),\n i,\n ii;\n for (i = 0; i < headings.length; ++i) {\n var headContent = showdown.subParser('makeMarkdown.tableCell')(headings[i], globals),\n allign = '---';\n\n if (headings[i].hasAttribute('style')) {\n var style = headings[i].getAttribute('style').toLowerCase().replace(/\\s/g, '');\n switch (style) {\n case 'text-align:left;':\n allign = ':---';\n break;\n case 'text-align:right;':\n allign = '---:';\n break;\n case 'text-align:center;':\n allign = ':---:';\n break;\n }\n }\n tableArray[0][i] = headContent.trim();\n tableArray[1][i] = allign;\n }\n\n for (i = 0; i < rows.length; ++i) {\n var r = tableArray.push([]) - 1,\n cols = rows[i].getElementsByTagName('td');\n\n for (ii = 0; ii < headings.length; ++ii) {\n var cellContent = ' ';\n if (typeof cols[ii] !== 'undefined') {\n cellContent = showdown.subParser('makeMarkdown.tableCell')(cols[ii], globals);\n }\n tableArray[r].push(cellContent);\n }\n }\n\n var cellSpacesCount = 3;\n for (i = 0; i < tableArray.length; ++i) {\n for (ii = 0; ii < tableArray[i].length; ++ii) {\n var strLen = tableArray[i][ii].length;\n if (strLen > cellSpacesCount) {\n cellSpacesCount = strLen;\n }\n }\n }\n\n for (i = 0; i < tableArray.length; ++i) {\n for (ii = 0; ii < tableArray[i].length; ++ii) {\n if (i === 1) {\n if (tableArray[i][ii].slice(-1) === ':') {\n tableArray[i][ii] = showdown.helper.padEnd(tableArray[i][ii].slice(-1), cellSpacesCount - 1, '-') + ':';\n } else {\n tableArray[i][ii] = showdown.helper.padEnd(tableArray[i][ii], cellSpacesCount, '-');\n }\n } else {\n tableArray[i][ii] = showdown.helper.padEnd(tableArray[i][ii], cellSpacesCount);\n }\n }\n txt += '| ' + tableArray[i].join(' | ') + ' |\\n';\n }\n\n return txt.trim();\n });\n\n showdown.subParser('makeMarkdown.tableCell', function (node, globals) {\n 'use strict';\n\n var txt = '';\n if (!node.hasChildNodes()) {\n return '';\n }\n var children = node.childNodes,\n childrenLength = children.length;\n\n for (var i = 0; i < childrenLength; ++i) {\n txt += showdown.subParser('makeMarkdown.node')(children[i], globals, true);\n }\n return txt.trim();\n });\n\n showdown.subParser('makeMarkdown.txt', function (node) {\n 'use strict';\n\n var txt = node.nodeValue;\n\n // multiple spaces are collapsed\n txt = txt.replace(/ +/g, ' ');\n\n // replace the custom ¨NBSP; with a space\n txt = txt.replace(/¨NBSP;/g, ' ');\n\n // \", <, > and & should replace escaped html entities\n txt = showdown.helper.unescapeHTMLEntities(txt);\n\n // escape markdown magic characters\n // emphasis, strong and strikethrough - can appear everywhere\n // we also escape pipe (|) because of tables\n // and escape ` because of code blocks and spans\n txt = txt.replace(/([*_~|`])/g, '\\\\$1');\n\n // escape > because of blockquotes\n txt = txt.replace(/^(\\s*)>/g, '\\\\$1>');\n\n // hash character, only troublesome at the beginning of a line because of headers\n txt = txt.replace(/^#/gm, '\\\\#');\n\n // horizontal rules\n txt = txt.replace(/^(\\s*)([-=]{3,})(\\s*)$/, '$1\\\\$2$3');\n\n // dot, because of ordered lists, only troublesome at the beginning of a line when preceded by an integer\n txt = txt.replace(/^( {0,3}\\d+)\\./gm, '$1\\\\.');\n\n // +, * and -, at the beginning of a line becomes a list, so we need to escape them also (asterisk was already escaped)\n txt = txt.replace(/^( {0,3})([+-])/gm, '$1\\\\$2');\n\n // images and links, ] followed by ( is problematic, so we escape it\n txt = txt.replace(/]([\\s]*)\\(/g, '\\\\]$1\\\\(');\n\n // reference URIs must also be escaped\n txt = txt.replace(/^ {0,3}\\[([\\S \\t]*?)]:/gm, '\\\\[$1]:');\n\n return txt;\n });\n\n var root = this;\n\n // AMD Loader\n if (true) {\n !(__WEBPACK_AMD_DEFINE_RESULT__ = (function () {\n 'use strict';\n\n return showdown;\n }).call(exports, __webpack_require__, exports, module),\n\t\t\t\t__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));\n\n // CommonJS/nodeJS Loader\n } else if (typeof module !== 'undefined' && module.exports) {\n module.exports = showdown;\n\n // Regular Browser loader\n } else {\n root.showdown = showdown;\n }\n}).call(this);\n\n//# sourceMappingURL=showdown.js.map\n\n/***/ }),\n\n/***/ \"JkW7\":\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\nObject.defineProperty(__webpack_exports__, \"__esModule\", { value: true });\n\n// EXTERNAL MODULE: ../node_modules/preact/dist/preact.min.js\nvar preact_min = __webpack_require__(\"KM04\");\nvar preact_min_default = /*#__PURE__*/__webpack_require__.n(preact_min);\n\n// EXTERNAL MODULE: ./index.css\nvar index = __webpack_require__(\"xHuH\");\nvar index_default = /*#__PURE__*/__webpack_require__.n(index);\n\n// EXTERNAL MODULE: ./manifest.json\nvar manifest = __webpack_require__(\"ZcXo\");\nvar manifest_default = /*#__PURE__*/__webpack_require__.n(manifest);\n\n// CONCATENATED MODULE: ../node_modules/preact-router/dist/preact-router.es.js\n\n\nvar EMPTY$1 = {};\n\nfunction preact_router_es_assign(obj, props) {\n\t// eslint-disable-next-line guard-for-in\n\tfor (var i in props) {\n\t\tobj[i] = props[i];\n\t}\n\treturn obj;\n}\n\nfunction exec(url, route, opts) {\n\tvar reg = /(?:\\?([^#]*))?(#.*)?$/,\n\t c = url.match(reg),\n\t matches = {},\n\t ret;\n\tif (c && c[1]) {\n\t\tvar p = c[1].split('&');\n\t\tfor (var i = 0; i < p.length; i++) {\n\t\t\tvar r = p[i].split('=');\n\t\t\tmatches[decodeURIComponent(r[0])] = decodeURIComponent(r.slice(1).join('='));\n\t\t}\n\t}\n\turl = segmentize(url.replace(reg, ''));\n\troute = segmentize(route || '');\n\tvar max = Math.max(url.length, route.length);\n\tfor (var i$1 = 0; i$1 < max; i$1++) {\n\t\tif (route[i$1] && route[i$1].charAt(0) === ':') {\n\t\t\tvar param = route[i$1].replace(/(^\\:|[+*?]+$)/g, ''),\n\t\t\t flags = (route[i$1].match(/[+*?]+$/) || EMPTY$1)[0] || '',\n\t\t\t plus = ~flags.indexOf('+'),\n\t\t\t star = ~flags.indexOf('*'),\n\t\t\t val = url[i$1] || '';\n\t\t\tif (!val && !star && (flags.indexOf('?') < 0 || plus)) {\n\t\t\t\tret = false;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tmatches[param] = decodeURIComponent(val);\n\t\t\tif (plus || star) {\n\t\t\t\tmatches[param] = url.slice(i$1).map(decodeURIComponent).join('/');\n\t\t\t\tbreak;\n\t\t\t}\n\t\t} else if (route[i$1] !== url[i$1]) {\n\t\t\tret = false;\n\t\t\tbreak;\n\t\t}\n\t}\n\tif (opts.default !== true && ret === false) {\n\t\treturn false;\n\t}\n\treturn matches;\n}\n\nfunction pathRankSort(a, b) {\n\treturn a.rank < b.rank ? 1 : a.rank > b.rank ? -1 : a.index - b.index;\n}\n\n// filter out VNodes without attributes (which are unrankeable), and add `index`/`rank` properties to be used in sorting.\nfunction prepareVNodeForRanking(vnode, index) {\n\tvnode.index = index;\n\tvnode.rank = rankChild(vnode);\n\treturn vnode.attributes;\n}\n\nfunction segmentize(url) {\n\treturn url.replace(/(^\\/+|\\/+$)/g, '').split('/');\n}\n\nfunction rankSegment(segment) {\n\treturn segment.charAt(0) == ':' ? 1 + '*+?'.indexOf(segment.charAt(segment.length - 1)) || 4 : 5;\n}\n\nfunction rank(path) {\n\treturn segmentize(path).map(rankSegment).join('');\n}\n\nfunction rankChild(vnode) {\n\treturn vnode.attributes.default ? 0 : rank(vnode.attributes.path);\n}\n\nvar customHistory = null;\n\nvar ROUTERS = [];\n\nvar subscribers = [];\n\nvar EMPTY = {};\n\nfunction isPreactElement(node) {\n\treturn node.__preactattr_ != null || typeof Symbol !== 'undefined' && node[Symbol.for('preactattr')] != null;\n}\n\nfunction setUrl(url, type) {\n\tif (type === void 0) type = 'push';\n\n\tif (customHistory && customHistory[type]) {\n\t\tcustomHistory[type](url);\n\t} else if (typeof history !== 'undefined' && history[type + 'State']) {\n\t\thistory[type + 'State'](null, null, url);\n\t}\n}\n\nfunction getCurrentUrl() {\n\tvar url;\n\tif (customHistory && customHistory.location) {\n\t\turl = customHistory.location;\n\t} else if (customHistory && customHistory.getCurrentLocation) {\n\t\turl = customHistory.getCurrentLocation();\n\t} else {\n\t\turl = typeof location !== 'undefined' ? location : EMPTY;\n\t}\n\treturn \"\" + (url.pathname || '') + (url.search || '');\n}\n\nfunction route(url, replace) {\n\tif (replace === void 0) replace = false;\n\n\tif (typeof url !== 'string' && url.url) {\n\t\treplace = url.replace;\n\t\turl = url.url;\n\t}\n\n\t// only push URL into history if we can handle it\n\tif (canRoute(url)) {\n\t\tsetUrl(url, replace ? 'replace' : 'push');\n\t}\n\n\treturn routeTo(url);\n}\n\n/** Check if the given URL can be handled by any router instances. */\nfunction canRoute(url) {\n\tfor (var i = ROUTERS.length; i--;) {\n\t\tif (ROUTERS[i].canRoute(url)) {\n\t\t\treturn true;\n\t\t}\n\t}\n\treturn false;\n}\n\n/** Tell all router instances to handle the given URL. */\nfunction routeTo(url) {\n\tvar didRoute = false;\n\tfor (var i = 0; i < ROUTERS.length; i++) {\n\t\tif (ROUTERS[i].routeTo(url) === true) {\n\t\t\tdidRoute = true;\n\t\t}\n\t}\n\tfor (var i$1 = subscribers.length; i$1--;) {\n\t\tsubscribers[i$1](url);\n\t}\n\treturn didRoute;\n}\n\nfunction routeFromLink(node) {\n\t// only valid elements\n\tif (!node || !node.getAttribute) {\n\t\treturn;\n\t}\n\n\tvar href = node.getAttribute('href'),\n\t target = node.getAttribute('target');\n\n\t// ignore links with targets and non-path URLs\n\tif (!href || !href.match(/^\\//g) || target && !target.match(/^_?self$/i)) {\n\t\treturn;\n\t}\n\n\t// attempt to route, if no match simply cede control to browser\n\treturn route(href);\n}\n\nfunction handleLinkClick(e) {\n\tif (e.button == 0) {\n\t\trouteFromLink(e.currentTarget || e.target || this);\n\t\treturn prevent(e);\n\t}\n}\n\nfunction prevent(e) {\n\tif (e) {\n\t\tif (e.stopImmediatePropagation) {\n\t\t\te.stopImmediatePropagation();\n\t\t}\n\t\tif (e.stopPropagation) {\n\t\t\te.stopPropagation();\n\t\t}\n\t\te.preventDefault();\n\t}\n\treturn false;\n}\n\nfunction delegateLinkHandler(e) {\n\t// ignore events the browser takes care of already:\n\tif (e.ctrlKey || e.metaKey || e.altKey || e.shiftKey || e.button !== 0) {\n\t\treturn;\n\t}\n\n\tvar t = e.target;\n\tdo {\n\t\tif (String(t.nodeName).toUpperCase() === 'A' && t.getAttribute('href') && isPreactElement(t)) {\n\t\t\tif (t.hasAttribute('native')) {\n\t\t\t\treturn;\n\t\t\t}\n\t\t\t// if link is handled by the router, prevent browser defaults\n\t\t\tif (routeFromLink(t)) {\n\t\t\t\treturn prevent(e);\n\t\t\t}\n\t\t}\n\t} while (t = t.parentNode);\n}\n\nvar eventListenersInitialized = false;\n\nfunction initEventListeners() {\n\tif (eventListenersInitialized) {\n\t\treturn;\n\t}\n\n\tif (typeof addEventListener === 'function') {\n\t\tif (!customHistory) {\n\t\t\taddEventListener('popstate', function () {\n\t\t\t\trouteTo(getCurrentUrl());\n\t\t\t});\n\t\t}\n\t\taddEventListener('click', delegateLinkHandler);\n\t}\n\teventListenersInitialized = true;\n}\n\nvar preact_router_es_Router = function (Component$$1) {\n\tfunction Router(props) {\n\t\tComponent$$1.call(this, props);\n\t\tif (props.history) {\n\t\t\tcustomHistory = props.history;\n\t\t}\n\n\t\tthis.state = {\n\t\t\turl: props.url || getCurrentUrl()\n\t\t};\n\n\t\tinitEventListeners();\n\t}\n\n\tif (Component$$1) Router.__proto__ = Component$$1;\n\tRouter.prototype = Object.create(Component$$1 && Component$$1.prototype);\n\tRouter.prototype.constructor = Router;\n\n\tRouter.prototype.shouldComponentUpdate = function shouldComponentUpdate(props) {\n\t\tif (props.static !== true) {\n\t\t\treturn true;\n\t\t}\n\t\treturn props.url !== this.props.url || props.onChange !== this.props.onChange;\n\t};\n\n\t/** Check if the given URL can be matched against any children */\n\tRouter.prototype.canRoute = function canRoute(url) {\n\t\treturn this.getMatchingChildren(this.props.children, url, false).length > 0;\n\t};\n\n\t/** Re-render children with a new URL to match against. */\n\tRouter.prototype.routeTo = function routeTo(url) {\n\t\tthis._didRoute = false;\n\t\tthis.setState({ url: url });\n\n\t\t// if we're in the middle of an update, don't synchronously re-route.\n\t\tif (this.updating) {\n\t\t\treturn this.canRoute(url);\n\t\t}\n\n\t\tthis.forceUpdate();\n\t\treturn this._didRoute;\n\t};\n\n\tRouter.prototype.componentWillMount = function componentWillMount() {\n\t\tROUTERS.push(this);\n\t\tthis.updating = true;\n\t};\n\n\tRouter.prototype.componentDidMount = function componentDidMount() {\n\t\tvar this$1 = this;\n\n\t\tif (customHistory) {\n\t\t\tthis.unlisten = customHistory.listen(function (location) {\n\t\t\t\tthis$1.routeTo(\"\" + (location.pathname || '') + (location.search || ''));\n\t\t\t});\n\t\t}\n\t\tthis.updating = false;\n\t};\n\n\tRouter.prototype.componentWillUnmount = function componentWillUnmount() {\n\t\tif (typeof this.unlisten === 'function') {\n\t\t\tthis.unlisten();\n\t\t}\n\t\tROUTERS.splice(ROUTERS.indexOf(this), 1);\n\t};\n\n\tRouter.prototype.componentWillUpdate = function componentWillUpdate() {\n\t\tthis.updating = true;\n\t};\n\n\tRouter.prototype.componentDidUpdate = function componentDidUpdate() {\n\t\tthis.updating = false;\n\t};\n\n\tRouter.prototype.getMatchingChildren = function getMatchingChildren(children, url, invoke) {\n\t\treturn children.filter(prepareVNodeForRanking).sort(pathRankSort).map(function (vnode) {\n\t\t\tvar matches = exec(url, vnode.attributes.path, vnode.attributes);\n\t\t\tif (matches) {\n\t\t\t\tif (invoke !== false) {\n\t\t\t\t\tvar newProps = { url: url, matches: matches };\n\t\t\t\t\tpreact_router_es_assign(newProps, matches);\n\t\t\t\t\tdelete newProps.ref;\n\t\t\t\t\tdelete newProps.key;\n\t\t\t\t\treturn Object(preact_min[\"cloneElement\"])(vnode, newProps);\n\t\t\t\t}\n\t\t\t\treturn vnode;\n\t\t\t}\n\t\t}).filter(Boolean);\n\t};\n\n\tRouter.prototype.render = function render(ref, ref$1) {\n\t\tvar children = ref.children;\n\t\tvar onChange = ref.onChange;\n\t\tvar url = ref$1.url;\n\n\t\tvar active = this.getMatchingChildren(children, url, true);\n\n\t\tvar current = active[0] || null;\n\t\tthis._didRoute = !!current;\n\n\t\tvar previous = this.previousUrl;\n\t\tif (url !== previous) {\n\t\t\tthis.previousUrl = url;\n\t\t\tif (typeof onChange === 'function') {\n\t\t\t\tonChange({\n\t\t\t\t\trouter: this,\n\t\t\t\t\turl: url,\n\t\t\t\t\tprevious: previous,\n\t\t\t\t\tactive: active,\n\t\t\t\t\tcurrent: current\n\t\t\t\t});\n\t\t\t}\n\t\t}\n\n\t\treturn current;\n\t};\n\n\treturn Router;\n}(preact_min[\"Component\"]);\n\nvar preact_router_es_Link = function Link(props) {\n\treturn Object(preact_min[\"h\"])('a', preact_router_es_assign({ onClick: handleLinkClick }, props));\n};\n\nvar preact_router_es_Route = function Route(props) {\n\treturn Object(preact_min[\"h\"])(props.component, props);\n};\n\npreact_router_es_Router.subscribers = subscribers;\npreact_router_es_Router.getCurrentUrl = getCurrentUrl;\npreact_router_es_Router.route = route;\npreact_router_es_Router.Router = preact_router_es_Router;\npreact_router_es_Router.Route = preact_router_es_Route;\npreact_router_es_Router.Link = preact_router_es_Link;\n\n/* harmony default export */ var preact_router_es = (preact_router_es_Router);\n//# sourceMappingURL=preact-router.es.js.map\n// EXTERNAL MODULE: ./pages/home.css\nvar home = __webpack_require__(\"36Ou\");\nvar home_default = /*#__PURE__*/__webpack_require__.n(home);\n\n// EXTERNAL MODULE: ./components/panel.css\nvar panel = __webpack_require__(\"P9k+\");\nvar panel_default = /*#__PURE__*/__webpack_require__.n(panel);\n\n// CONCATENATED MODULE: ./components/panel.js\n\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\n\n\n\nvar panel_Panel = function (_Component) {\n\t_inherits(Panel, _Component);\n\n\tfunction Panel() {\n\t\t_classCallCheck(this, Panel);\n\n\t\treturn _possibleConstructorReturn(this, _Component.apply(this, arguments));\n\t}\n\n\tPanel.prototype.render = function render() {\n\t\tvar title = null;\n\t\tif (this.props.title !== undefined) {\n\t\t\ttitle = Object(preact_min[\"h\"])(\n\t\t\t\t\"h3\",\n\t\t\t\tnull,\n\t\t\t\tthis.props.title\n\t\t\t);\n\t\t}\n\n\t\treturn Object(preact_min[\"h\"])(\n\t\t\t\"div\",\n\t\t\t{ \"class\": panel_default.a.panel, id: this.props.id },\n\t\t\ttitle,\n\t\t\tthis.props.children\n\t\t);\n\t};\n\n\treturn Panel;\n}(preact_min[\"Component\"]);\n\n\n// EXTERNAL MODULE: ./components/split.css\nvar split = __webpack_require__(\"1EpE\");\nvar split_default = /*#__PURE__*/__webpack_require__.n(split);\n\n// CONCATENATED MODULE: ./components/split.js\n\n\nfunction split__classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction split__possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction split__inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\n\n\n\nvar split_Split = function (_Component) {\n split__inherits(Split, _Component);\n\n function Split() {\n split__classCallCheck(this, Split);\n\n return split__possibleConstructorReturn(this, _Component.apply(this, arguments));\n }\n\n Split.prototype.render = function render() {\n var title = null;\n if (this.props.title !== undefined) {\n title = Object(preact_min[\"h\"])(\n \"h2\",\n null,\n this.props.title\n );\n }\n\n var children = void 0;\n if (Array.isArray(this.props.children)) {\n children = this.props.children.map(function (element) {\n return Object(preact_min[\"h\"])(\n \"div\",\n { \"class\": split_default.a.splitchild },\n element\n );\n });\n } else {\n children = Object(preact_min[\"h\"])(\n \"div\",\n { \"class\": split_default.a.splitchild },\n this.props.children\n );\n }\n return Object(preact_min[\"h\"])(\n \"div\",\n { \"class\": split_default.a.split },\n title,\n Object(preact_min[\"h\"])(\n \"div\",\n { \"class\": split_default.a.splitparent },\n children\n )\n );\n };\n\n return Split;\n}(preact_min[\"Component\"]);\n\n\n// EXTERNAL MODULE: ./components/todo.css\nvar todo = __webpack_require__(\"tO1d\");\nvar todo_default = /*#__PURE__*/__webpack_require__.n(todo);\n\n// CONCATENATED MODULE: ./components/todo.js\n\n\nfunction todo__classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction todo__possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction todo__inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\n\n\n\nvar todo_Todo = function (_Component) {\n\ttodo__inherits(Todo, _Component);\n\n\tfunction Todo() {\n\t\ttodo__classCallCheck(this, Todo);\n\n\t\treturn todo__possibleConstructorReturn(this, _Component.apply(this, arguments));\n\t}\n\n\tTodo.prototype.render = function render() {\n\t\treturn Object(preact_min[\"h\"])(\n\t\t\t\"span\",\n\t\t\t{ \"class\": todo_default.a.todo },\n\t\t\tthis.props.children\n\t\t);\n\t};\n\n\treturn Todo;\n}(preact_min[\"Component\"]);\n\n\n// CONCATENATED MODULE: ./pages/home.js\n\n\nfunction home__classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction home__possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction home__inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\n\n\n\n\n\n\nvar _ref = Object(preact_min[\"h\"])(\n 'h1',\n null,\n 'Indice'\n);\n\nvar _ref2 = Object(preact_min[\"h\"])(\n split_Split,\n { title: 'Argomenti' },\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: Object(preact_min[\"h\"])(\n 'a',\n { href: '/statistica' },\n 'Statistica ed elementi di probabilit\\xE0'\n ) },\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Appunti scritti mentre studiavo per l\\'esame di ',\n Object(preact_min[\"h\"])(\n 'a',\n { href: \"http://personale.unimore.it/rubrica/contenutiad/llarocca/2019/58028/N0/N0/9999\" },\n 'Statistica ed elementi di probabilit\\xE0'\n ),\n ' del ',\n Object(preact_min[\"h\"])(\n 'a',\n { href: 'https://www.unimore.it/didattica/mlaurea.html?ID=54' },\n 'corso triennale di Informatica'\n ),\n ' all\\'',\n Object(preact_min[\"h\"])(\n 'a',\n { href: 'https://www.unimore.it/' },\n 'Unimore'\n ),\n ' del Prof. ',\n Object(preact_min[\"h\"])(\n 'a',\n { href: \"http://personale.unimore.it/rubrica/dettaglio/llarocca\" },\n 'Luca La Rocca'\n ),\n '.'\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: Object(preact_min[\"h\"])(\n 'a',\n { href: 'https://github.com/Steffo99/cleaver' },\n 'Cleaver'\n ) },\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Progetto in Java sviluppato per l\\'esame di ',\n Object(preact_min[\"h\"])(\n 'a',\n { href: 'http://personale.unimore.it/rubrica/contenutiad/gcabri/2019/58026/N0/N0/9999' },\n 'Programmazione ad Oggetti'\n ),\n ' del ',\n Object(preact_min[\"h\"])(\n 'a',\n { href: 'https://www.unimore.it/didattica/mlaurea.html?ID=54' },\n 'corso triennale di Informatica'\n ),\n ' all\\'',\n Object(preact_min[\"h\"])(\n 'a',\n { href: 'https://www.unimore.it/' },\n 'Unimore'\n ),\n ', tenuto dai Prof. ',\n Object(preact_min[\"h\"])(\n 'a',\n { href: 'http://personale.unimore.it/rubrica/dettaglio/gcabri' },\n 'Giacomo Cabri'\n ),\n ' e ',\n Object(preact_min[\"h\"])(\n 'a',\n { href: 'http://personale.unimore.it/Rubrica/Dettaglio/n.capodieci' },\n 'Nicola Capodieci'\n ),\n '.'\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: Object(preact_min[\"h\"])(\n 'a',\n { href: '/fisica' },\n 'Fisica'\n ) },\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Appunti delle ',\n Object(preact_min[\"h\"])(\n 'a',\n { href: 'http://personale.unimore.it/rubrica/contenutiad/brunetti/2019/58025/N0/N0/9999' },\n 'lezioni di Fisica'\n ),\n ' del ',\n Object(preact_min[\"h\"])(\n 'a',\n { href: 'https://www.unimore.it/didattica/mlaurea.html?ID=54' },\n 'corso triennale di Informatica'\n ),\n ' all\\'',\n Object(preact_min[\"h\"])(\n 'a',\n { href: 'https://www.unimore.it/' },\n 'Unimore'\n ),\n ', tenute dalla ',\n Object(preact_min[\"h\"])(\n 'a',\n { href: 'https://personale.unimore.it/rubrica/dettaglio/brunetti' },\n 'Prof.ssa Rossella Brunetti'\n ),\n ' nel primo semestre dell\\'Anno Accademico 2019/2020.'\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: Object(preact_min[\"h\"])(\n 'a',\n { href: 'https://github.com/Steffo99/appunti-universitari/tree/master/2019_SistemiOperativi/Arzigogoli' },\n 'Sistemi Operativi'\n ) },\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Soluzioni agli ',\n Object(preact_min[\"h\"])(\n 'a',\n { href: 'https://weblab.ing.unimore.it/people/andreolini/didattica/sistemi-operativi/index.html#arzigogoli' },\n 'Arzigogoli'\n ),\n ' proposti dal ',\n Object(preact_min[\"h\"])(\n 'a',\n { href: 'https://personale.unimore.it/rubrica/dettaglio/andreolini' },\n 'Prof. Mauro Andreolini'\n ),\n ' durante le ',\n Object(preact_min[\"h\"])(\n 'a',\n { href: 'https://personale.unimore.it/rubrica/contenutiad/andreolini/2019/58027/N0/N0/9999' },\n 'lezioni di Sistemi Operativi'\n ),\n ' del ',\n Object(preact_min[\"h\"])(\n 'a',\n { href: 'https://www.unimore.it/didattica/mlaurea.html?ID=54' },\n 'corso triennale di Informatica'\n ),\n ' all\\'',\n Object(preact_min[\"h\"])(\n 'a',\n { href: 'https://www.unimore.it/' },\n 'Unimore'\n ),\n ' tenutesi nel primo semestre dell\\'Anno Accademico 2019/2020.'\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: Object(preact_min[\"h\"])(\n 'a',\n { href: 'https://github.com/Steffo99/appunti-universitari/tree/master/2018_AlgoritmiEStruttureDati' },\n 'Algoritmi e Strutture Dati'\n ) },\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Appunti delle ',\n Object(preact_min[\"h\"])(\n 'a',\n { href: 'https://personale.unimore.it/rubrica/contenutiad/mmontangero/2018/58133/N0/N0/9999' },\n 'lezioni di Algoritmi e Strutture Dati'\n ),\n ' del ',\n Object(preact_min[\"h\"])(\n 'a',\n { href: 'https://www.unimore.it/didattica/mlaurea.html?ID=54' },\n 'corso triennale di Informatica'\n ),\n ' all\\'',\n Object(preact_min[\"h\"])(\n 'a',\n { href: 'https://www.unimore.it/' },\n 'Unimore'\n ),\n ', tenute dalla ',\n Object(preact_min[\"h\"])(\n 'a',\n { href: 'https://personale.unimore.it/rubrica/dettaglio/mmontangero' },\n 'Prof.ssa Manuela Montangero'\n ),\n ' nel secondo semestre dell\\'Anno Accademico 2018/2019.'\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: Object(preact_min[\"h\"])(\n 'a',\n { href: '/vldigeometria' },\n 'Videolezioni di Geometria'\n ) },\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Ottime videolezioni di Geometria con licenza ',\n Object(preact_min[\"h\"])(\n 'a',\n { href: 'https://creativecommons.org/licenses/by-nc-sa/4.0/' },\n 'CC BY-NC-SA 4.0'\n ),\n ' che ho trovato sul ',\n Object(preact_min[\"h\"])(\n 'a',\n { href: 'https://dolly.fim.unimore.it/2018/course/view.php?id=14#section-0' },\n 'portale Dolly 2018'\n ),\n ' dell\\'',\n Object(preact_min[\"h\"])(\n 'a',\n { href: 'https://www.unimore.it/' },\n 'Unimore'\n ),\n '.'\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: Object(preact_min[\"h\"])(\n 'a',\n { href: '/mingwinstall' },\n 'Come installare MinGW'\n ) },\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Un breve tutorial con immagini su come installare e configurare ',\n Object(preact_min[\"h\"])(\n 'a',\n { href: 'https://it.wikipedia.org/wiki/MinGW' },\n 'MinGW'\n ),\n ' per compilare programmi C e C++ su Windows.'\n )\n )\n);\n\nvar _ref3 = Object(preact_min[\"h\"])(\n split_Split,\n { title: 'Altri collegamenti utili' },\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: Object(preact_min[\"h\"])(\n 'a',\n { href: 'https://t.me/unimoreinfo' },\n '@unimoreinfo'\n ) },\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Il gruppo ',\n Object(preact_min[\"h\"])(\n 'a',\n { href: 'https://telegram.org/' },\n 'Telegram'\n ),\n ' del corso di Informatica dell\\'Unimore!'\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: Object(preact_min[\"h\"])(\n 'a',\n { href: 'https://calendar.google.com/calendar?cid=MmYza2o2M3VuZWQ1cmZqaGpmOGY0MWFrNmdAZ3JvdXAuY2FsZW5kYXIuZ29vZ2xlLmNvbQ' },\n 'Calendario Lezioni'\n ) },\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Calendario Google ',\n Object(preact_min[\"h\"])(\n 'small',\n null,\n 'quasi'\n ),\n ' sempre aggiornato delle lezioni e degli esami del secondo anno dell\\'',\n Object(preact_min[\"h\"])(\n 'a',\n { href: 'https://www.unimore.it/' },\n 'Unimore'\n ),\n ' durante l\\'Anno Accademico 2019/2020.'\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: Object(preact_min[\"h\"])(\n 'a',\n { href: 'http://erre2.fermitech.info/dashboard' },\n 'Erre2'\n ) },\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Portale contenente appunti e riassunti mantenuto da ',\n Object(preact_min[\"h\"])(\n 'a',\n { href: 'https://github.com/LBindustries' },\n 'Lorenzo Balugani'\n ),\n '.'\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: Object(preact_min[\"h\"])(\n 'a',\n { href: 'https://github.com/vezzalinistefano/Appunti-Algoritmi' },\n 'vezzalinistefano/Appunti-Algoritmi'\n ) },\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Appunti di Algoritmi e Strutture Dati mantenuti da ',\n Object(preact_min[\"h\"])(\n 'a',\n { href: 'https://github.com/vezzalinistefano/' },\n 'Vezzalini Stefano'\n ),\n '.'\n )\n )\n);\n\nvar home_Home = function (_Component) {\n home__inherits(Home, _Component);\n\n function Home() {\n home__classCallCheck(this, Home);\n\n return home__possibleConstructorReturn(this, _Component.apply(this, arguments));\n }\n\n Home.prototype.render = function render() {\n return Object(preact_min[\"h\"])(\n 'div',\n { style: home_default.a.home },\n _ref,\n _ref2,\n _ref3\n );\n };\n\n return Home;\n}(preact_min[\"Component\"]);\n\n\n// EXTERNAL MODULE: ./pages/fisica.css\nvar fisica = __webpack_require__(\"0lnO\");\nvar fisica_default = /*#__PURE__*/__webpack_require__.n(fisica);\n\n// EXTERNAL MODULE: ./components/latex.css\nvar latex = __webpack_require__(\"+uq9\");\nvar latex_default = /*#__PURE__*/__webpack_require__.n(latex);\n\n// CONCATENATED MODULE: ./components/latex.js\n\n\nfunction latex__classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction latex__possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction latex__inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\n\n\n\nvar latex_Latex = function (_Component) {\n\tlatex__inherits(Latex, _Component);\n\n\tfunction Latex() {\n\t\tlatex__classCallCheck(this, Latex);\n\n\t\treturn latex__possibleConstructorReturn(this, _Component.apply(this, arguments));\n\t}\n\n\tLatex.prototype.render = function render() {\n\t\tvar equation = '{\\\\color{White} ' + this.props.children + ' }';\n\t\treturn Object(preact_min[\"h\"])('img', { src: 'https://latex.codecogs.com/png.latex?' + equation,\n\t\t\talt: this.props.children,\n\t\t\ttitle: this.props.children,\n\t\t\t'class': latex_default.a.latex\n\t\t});\n\t};\n\n\treturn Latex;\n}(preact_min[\"Component\"]);\n\n\n// EXTERNAL MODULE: ./components/plus.css\nvar plus = __webpack_require__(\"ddTt\");\nvar plus_default = /*#__PURE__*/__webpack_require__.n(plus);\n\n// CONCATENATED MODULE: ./components/plus.js\n\n\nfunction plus__classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction plus__possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction plus__inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\n\n\n\nvar plus_Plus = function (_Component) {\n\tplus__inherits(Plus, _Component);\n\n\tfunction Plus() {\n\t\tplus__classCallCheck(this, Plus);\n\n\t\treturn plus__possibleConstructorReturn(this, _Component.apply(this, arguments));\n\t}\n\n\tPlus.prototype.render = function render() {\n\t\treturn Object(preact_min[\"h\"])(\n\t\t\t\"span\",\n\t\t\t{ \"class\": plus_default.a.plus },\n\t\t\tthis.props.children\n\t\t);\n\t};\n\n\treturn Plus;\n}(preact_min[\"Component\"]);\n\n\n// EXTERNAL MODULE: ./components/minus.css\nvar minus = __webpack_require__(\"MeW5\");\nvar minus_default = /*#__PURE__*/__webpack_require__.n(minus);\n\n// CONCATENATED MODULE: ./components/minus.js\n\n\nfunction minus__classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction minus__possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction minus__inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\n\n\n\nvar minus_Minus = function (_Component) {\n\tminus__inherits(Minus, _Component);\n\n\tfunction Minus() {\n\t\tminus__classCallCheck(this, Minus);\n\n\t\treturn minus__possibleConstructorReturn(this, _Component.apply(this, arguments));\n\t}\n\n\tMinus.prototype.render = function render() {\n\t\treturn Object(preact_min[\"h\"])(\n\t\t\t\"span\",\n\t\t\t{ \"class\": minus_default.a.minus },\n\t\t\tthis.props.children\n\t\t);\n\t};\n\n\treturn Minus;\n}(preact_min[\"Component\"]);\n\n\n// CONCATENATED MODULE: ./pages/fisica.js\nvar _templateObject = _taggedTemplateLiteralLoose(['\\x0Bec{v} = \\x0Bec{v}_x + \\x0Bec{v}_y'], ['\\\\vec{v} = \\\\vec{v}_x + \\\\vec{v}_y']),\n _templateObject2 = _taggedTemplateLiteralLoose(['left | \\x0Bec{v}_x \\right | = left | \\x0Bec{v} \\right | sin alpha'], ['\\\\left | \\\\vec{v}_x \\\\right | = \\\\left | \\\\vec{v} \\\\right | \\\\sin \\\\alpha']),\n _templateObject3 = _taggedTemplateLiteralLoose(['left | \\x0Bec{v}_y \\right | = left | \\x0Bec{v} \\right | cos alpha'], ['\\\\left | \\\\vec{v}_y \\\\right | = \\\\left | \\\\vec{v} \\\\right | \\\\cos \\\\alpha']),\n _templateObject4 = _taggedTemplateLiteralLoose(['\\x0Bec{v} + \\x0Bec{w} = (\\x0Bec{v}_x + \\x0Bec{w}_x) + (\\x0Bec{v}_y + \\x0Bec{w}_y)'], ['\\\\vec{v} + \\\\vec{w} = (\\\\vec{v}_x + \\\\vec{w}_x) + (\\\\vec{v}_y + \\\\vec{w}_y)']),\n _templateObject5 = _taggedTemplateLiteralLoose(['\\x0Bec{v} - \\x0Bec{w} = (\\x0Bec{v}_x - \\x0Bec{w}_x) + (\\x0Bec{v}_y - \\x0Bec{w}_y)'], ['\\\\vec{v} - \\\\vec{w} = (\\\\vec{v}_x - \\\\vec{w}_x) + (\\\\vec{v}_y - \\\\vec{w}_y)']),\n _templateObject6 = _taggedTemplateLiteralLoose(['\\x0Bec{v} cdot \\x0Bec{w} = left | \\x0Bec{v} \\right | left | \\x0Bec{w} \\right | cos alpha'], ['\\\\vec{v} \\\\cdot \\\\vec{w} = \\\\left | \\\\vec{v} \\\\right | \\\\left | \\\\vec{w} \\\\right | \\\\cos \\\\alpha']),\n _templateObject7 = _taggedTemplateLiteralLoose(['\\x0Bec{a}'], ['\\\\vec{a}']),\n _templateObject8 = _taggedTemplateLiteralLoose(['\\x0Bec{b}'], ['\\\\vec{b}']),\n _templateObject9 = _taggedTemplateLiteralLoose(['\\x0Bec{c} = \\x0Bec{a} \\times \\x0Bec{b}'], ['\\\\vec{c} = \\\\vec{a} \\\\times \\\\vec{b}']),\n _templateObject10 = _taggedTemplateLiteralLoose(['left | \\x0Bec{c} \\right | = left | \\x0Bec{a} \\right | cdot left | \\x0Bec{b} \\right | cdot sin(alpha)'], ['\\\\left | \\\\vec{c} \\\\right | = \\\\left | \\\\vec{a} \\\\right | \\\\cdot \\\\left | \\\\vec{b} \\\\right | \\\\cdot \\\\sin(\\\\alpha)']),\n _templateObject11 = _taggedTemplateLiteralLoose(['Sigma \\x0Bec{F} = 0 Longleftrightarrow Delta v = 0'], ['\\\\Sigma \\\\vec{F} = 0 \\\\Longleftrightarrow \\\\Delta v = 0']),\n _templateObject12 = _taggedTemplateLiteralLoose(['Sigma \\x0Bec{F} = m \\x0Bec{a}'], ['\\\\Sigma \\\\vec{F} = m \\\\vec{a}']),\n _templateObject13 = _taggedTemplateLiteralLoose(['\\x0Bec{F}_{21} = -\\x0Bec{F}_{12}'], ['\\\\vec{F}_{21} = -\\\\vec{F}_{12}']),\n _templateObject14 = _taggedTemplateLiteralLoose(['left | \\x0Bec{F} \\right | = G \\frac{m_1 m_2}{s^2}'], ['\\\\left | \\\\vec{F} \\\\right | = G \\\\frac{m_1 m_2}{s^2}']),\n _templateObject15 = _taggedTemplateLiteralLoose(['G = 6.67 cdot 10^{-11} \\frac{N m^2}{{kg}^2}'], ['G = 6.67 \\\\cdot 10^{-11} \\\\frac{N m^2}{{kg}^2}']),\n _templateObject16 = _taggedTemplateLiteralLoose(['left | \\x0Bec{F} \\right | = g m'], ['\\\\left | \\\\vec{F} \\\\right | = g m']),\n _templateObject17 = _taggedTemplateLiteralLoose(['g = 9.81 \\frac{m}{s^2}'], ['g = 9.81 \\\\frac{m}{s^2}']),\n _templateObject18 = _taggedTemplateLiteralLoose(['g_{luna} = 1.62 \\frac{m}{s^2}'], ['g_{luna} = 1.62 \\\\frac{m}{s^2}']),\n _templateObject19 = _taggedTemplateLiteralLoose(['g_{marte} = 3.71 \\frac{m}{s^2}'], ['g_{marte} = 3.71 \\\\frac{m}{s^2}']),\n _templateObject20 = _taggedTemplateLiteralLoose(['left | \\x0Bec{F} \\right | leq mu_{s} left | \\x0Bec{F}_{normale} \\right |'], ['\\\\left | \\\\vec{F} \\\\right | \\\\leq \\\\mu_{s} \\\\left | \\\\vec{F}_{normale} \\\\right |']),\n _templateObject21 = _taggedTemplateLiteralLoose(['left | \\x0Bec{F} \\right | leq mu_{d} left | \\x0Bec{F}_{normale} \\right |'], ['\\\\left | \\\\vec{F} \\\\right | \\\\leq \\\\mu_{d} \\\\left | \\\\vec{F}_{normale} \\\\right |']),\n _templateObject22 = _taggedTemplateLiteralLoose(['F = -k x'], ['F = -k x']),\n _templateObject23 = _taggedTemplateLiteralLoose(['Delta \\x0Bec{s} = \\x0Bec{s}(fine) - \\x0Bec{s}(inizio)'], ['\\\\Delta \\\\vec{s} = \\\\vec{s}(fine) - \\\\vec{s}(inizio)']),\n _templateObject24 = _taggedTemplateLiteralLoose(['\\x0Bec{v} = \\frac{Delta \\x0Bec{s}}{Delta t}'], ['\\\\vec{v} = \\\\frac{\\\\Delta \\\\vec{s}}{\\\\Delta t}']),\n _templateObject25 = _taggedTemplateLiteralLoose(['\\x0Bec{v} = lim_{Delta t \\to 0} \\frac{Delta \\x0Bec{s}}{Delta t} = \\frac{d \\x0Bec{s}}{dt}'], ['\\\\vec{v} = \\\\lim_{\\\\Delta t \\\\to 0} \\\\frac{\\\\Delta \\\\vec{s}}{\\\\Delta t} = \\\\frac{d \\\\vec{s}}{dt}']),\n _templateObject26 = _taggedTemplateLiteralLoose(['\\x0Bec{a} = \\frac{Delta \\x0Bec{v}}{Delta t}'], ['\\\\vec{a} = \\\\frac{\\\\Delta \\\\vec{v}}{\\\\Delta t}']),\n _templateObject27 = _taggedTemplateLiteralLoose(['\\x0Bec{a} = lim_{Delta v \\to 0} \\frac{Delta \\x0Bec{v}}{Delta t} = \\frac{d \\x0Bec{v}}{d t} = \\frac{d^2 \\x0Bec{s}}{d t^2}'], ['\\\\vec{a} = \\\\lim_{\\\\Delta v \\\\to 0} \\\\frac{\\\\Delta \\\\vec{v}}{\\\\Delta t} = \\\\frac{d \\\\vec{v}}{d t} = \\\\frac{d^2 \\\\vec{s}}{d t^2}']),\n _templateObject28 = _taggedTemplateLiteralLoose(['\\x0Bec{p} = m \\x0Bec{v}'], ['\\\\vec{p} = m \\\\vec{v}']),\n _templateObject29 = _taggedTemplateLiteralLoose(['Sigma \\x0Bec{F} = 0 Longleftrightarrow Delta \\x0Bec{p} = 0'], ['\\\\Sigma \\\\vec{F} = 0 \\\\Longleftrightarrow \\\\Delta \\\\vec{p} = 0']),\n _templateObject30 = _taggedTemplateLiteralLoose(['s(t) = v cdot Delta t + s(0)'], ['s(t) = v \\\\cdot \\\\Delta t + s(0)']),\n _templateObject31 = _taggedTemplateLiteralLoose(['v(t) = k'], ['v(t) = k']),\n _templateObject32 = _taggedTemplateLiteralLoose(['a(t) = 0'], ['a(t) = 0']),\n _templateObject33 = _taggedTemplateLiteralLoose(['s(t) = \\frac{1}{2} a cdot (Delta t)^2 + v(0) cdot (Delta t) + s(0)'], ['s(t) = \\\\frac{1}{2} a \\\\cdot (\\\\Delta t)^2 + v(0) \\\\cdot (\\\\Delta t) + s(0)']),\n _templateObject34 = _taggedTemplateLiteralLoose(['v(t) = a Delta t + v(0)'], ['v(t) = a \\\\Delta t + v(0)']),\n _templateObject35 = _taggedTemplateLiteralLoose(['a(t) = k'], ['a(t) = k']),\n _templateObject36 = _taggedTemplateLiteralLoose(['omega = \\frac{2 pi}{T}'], ['\\\\omega = \\\\frac{2 \\\\pi}{T}']),\n _templateObject37 = _taggedTemplateLiteralLoose(['s(t) = A sin (omega cdot t + phi)'], ['s(t) = A \\\\sin (\\\\omega \\\\cdot t + \\\\phi)']),\n _templateObject38 = _taggedTemplateLiteralLoose(['\\frac{pi}{2}'], ['\\\\frac{\\\\pi}{2}']),\n _templateObject39 = _taggedTemplateLiteralLoose(['v(t) = A sin (omega cdot t + phi + \\frac{pi}{2})'], ['v(t) = A \\\\sin (\\\\omega \\\\cdot t + \\\\phi + \\\\frac{\\\\pi}{2})']),\n _templateObject40 = _taggedTemplateLiteralLoose(['pi'], ['\\\\pi']),\n _templateObject41 = _taggedTemplateLiteralLoose(['a(t) = A sin (omega cdot t + phi + pi)'], ['a(t) = A \\\\sin (\\\\omega \\\\cdot t + \\\\phi + \\\\pi)']),\n _templateObject42 = _taggedTemplateLiteralLoose(['phi'], ['\\\\phi']),\n _templateObject43 = _taggedTemplateLiteralLoose(['v = \\frac{Delta s}{t} = \\frac{2 pi cdot r}{T} = omega r'], ['v = \\\\frac{\\\\Delta s}{t} = \\\\frac{2 \\\\pi \\\\cdot r}{T} = \\\\omega r']),\n _templateObject44 = _taggedTemplateLiteralLoose(['a = \\frac{v^2}{r} = r cdot omega^2 = v cdot omega'], ['a = \\\\frac{v^2}{r} = r \\\\cdot \\\\omega^2 = v \\\\cdot \\\\omega']),\n _templateObject45 = _taggedTemplateLiteralLoose(['F = m cdot a'], ['F = m \\\\cdot a']),\n _templateObject46 = _taggedTemplateLiteralLoose(['W = \\x0Bec{F} cdot \\x0Bec{s} = F cdot Delta s cdot cos(alpha )'], ['W = \\\\vec{F} \\\\cdot \\\\vec{s} = F \\\\cdot \\\\Delta s \\\\cdot cos(\\\\alpha )']),\n _templateObject47 = _taggedTemplateLiteralLoose(['E_c = \\frac{1}{2} m v^2'], ['E_c = \\\\frac{1}{2} m v^2']),\n _templateObject48 = _taggedTemplateLiteralLoose(['Delta E_c = W'], ['\\\\Delta E_c = W']),\n _templateObject49 = _taggedTemplateLiteralLoose(['E_{p_g} = m cdot g cdot h'], ['E_{p_g} = m \\\\cdot g \\\\cdot h']),\n _templateObject50 = _taggedTemplateLiteralLoose(['E_{p_e} = \\frac{1}{2} k x^2'], ['E_{p_e} = \\\\frac{1}{2} k x^2']),\n _templateObject51 = _taggedTemplateLiteralLoose(['E = E_k + E_p'], ['E = E_k + E_p']),\n _templateObject52 = _taggedTemplateLiteralLoose(['P = \\frac{Delta E}{Delta t}'], ['P = \\\\frac{\\\\Delta E}{\\\\Delta t}']),\n _templateObject53 = _taggedTemplateLiteralLoose(['C_{elettrone} = 1.602 cdot 10^{-19}'], ['C_{elettrone} = 1.602 \\\\cdot 10^{-19}']),\n _templateObject54 = _taggedTemplateLiteralLoose(['left | \\x0Bec{F}_{elettrica} \\right | = \\frac{-k cdot q_1 cdot q_2}{s^2}'], ['\\\\left | \\\\vec{F}_{elettrica} \\\\right | = \\\\frac{-k \\\\cdot q_1 \\\\cdot q_2}{s^2}']),\n _templateObject55 = _taggedTemplateLiteralLoose(['k'], ['k']),\n _templateObject56 = _taggedTemplateLiteralLoose(['k = 8.99 cdot 10^9 \\frac{N cdot m^2}{C^2}'], ['k = 8.99 \\\\cdot 10^9 \\\\frac{N \\\\cdot m^2}{C^2}']),\n _templateObject57 = _taggedTemplateLiteralLoose(['epsilon_0'], ['\\\\epsilon_0']),\n _templateObject58 = _taggedTemplateLiteralLoose(['k = \\frac{1}{4 pi cdot epsilon_0}'], ['k = \\\\frac{1}{4 \\\\pi \\\\cdot \\\\epsilon_0}']),\n _templateObject59 = _taggedTemplateLiteralLoose(['left | \\x0Bec{F}_{elettrica} \\right | = \\frac{q_1 cdot q_2}{4 pi cdot epsilon_0 cdot s^2}'], ['\\\\left | \\\\vec{F}_{elettrica} \\\\right | = \\\\frac{q_1 \\\\cdot q_2}{4 \\\\pi \\\\cdot \\\\epsilon_0 \\\\cdot s^2}']),\n _templateObject60 = _taggedTemplateLiteralLoose(['\\x0Bec{E} = \\frac{\\x0Bec{F}_{elettrica}}{q} = \\frac{-k cdot q}{s^2}'], ['\\\\vec{E} = \\\\frac{\\\\vec{F}_{elettrica}}{q} = \\\\frac{-k \\\\cdot q}{s^2}']),\n _templateObject61 = _taggedTemplateLiteralLoose(['Phi_E = \\x0Bec{E} cdot \\x0Bec{A}'], ['\\\\Phi_E = \\\\vec{E} \\\\cdot \\\\vec{A}']),\n _templateObject62 = _taggedTemplateLiteralLoose(['Phi_E = \\x0Bec{E} cdot \\x0Bec{A} = E_perp cdot A cdot cos(alpha)'], ['\\\\Phi_E = \\\\vec{E} \\\\cdot \\\\vec{A} = E_\\\\perp \\\\cdot A \\\\cdot \\\\cos(\\\\alpha)']),\n _templateObject63 = _taggedTemplateLiteralLoose(['Phi_E = 4 pi cdot k cdot q = \\frac{q}{epsilon_0}'], ['\\\\Phi_E = 4 \\\\pi \\\\cdot k \\\\cdot q = \\\\frac{q}{\\\\epsilon_0}']),\n _templateObject64 = _taggedTemplateLiteralLoose(['U_e'], ['U_e']),\n _templateObject65 = _taggedTemplateLiteralLoose(['V = \\frac{U_e}{q}'], ['V = \\\\frac{U_e}{q}']),\n _templateObject66 = _taggedTemplateLiteralLoose(['V'], ['V']),\n _templateObject67 = _taggedTemplateLiteralLoose(['I = \\frac{Delta q}{Delta t}'], ['I = \\\\frac{\\\\Delta q}{\\\\Delta t}']),\n _templateObject68 = _taggedTemplateLiteralLoose(['A'], ['A']),\n _templateObject69 = _taggedTemplateLiteralLoose(['P = \\frac{Delta U_e}{Delta t} = I cdot Delta V = I^2 cdot R = \\frac{(Delta V)^2}{R}'], ['P = \\\\frac{\\\\Delta U_e}{\\\\Delta t} = I \\\\cdot \\\\Delta V = I^2 \\\\cdot R = \\\\frac{(\\\\Delta V)^2}{R}']),\n _templateObject70 = _taggedTemplateLiteralLoose(['V = R cdot I'], ['V = R \\\\cdot I']),\n _templateObject71 = _taggedTemplateLiteralLoose(['R'], ['R']),\n _templateObject72 = _taggedTemplateLiteralLoose(['Omega'], ['\\\\Omega']),\n _templateObject73 = _taggedTemplateLiteralLoose(['R = \\rho \\frac{L_{unghezza}}{A_{rea}}'], ['R = \\\\rho \\\\frac{L_{unghezza}}{A_{rea}}']),\n _templateObject74 = _taggedTemplateLiteralLoose(['\\rho'], ['\\\\rho']),\n _templateObject75 = _taggedTemplateLiteralLoose(['\\rho = \\rho_0 (1 + alpha(T - T_0))'], ['\\\\rho = \\\\rho_0 (1 + \\\\alpha(T - T_0))']),\n _templateObject76 = _taggedTemplateLiteralLoose(['C = \\frac{q_{massima}}{Delta V}'], ['C = \\\\frac{q_{massima}}{\\\\Delta V}']),\n _templateObject77 = _taggedTemplateLiteralLoose(['C_{nuova} = kappa cdot \\frac{epsilon_0 cdot A}{s}'], ['C_{nuova} = \\\\kappa \\\\cdot \\\\frac{\\\\epsilon_0 \\\\cdot A}{s}']),\n _templateObject78 = _taggedTemplateLiteralLoose(['kappa'], ['\\\\kappa']),\n _templateObject79 = _taggedTemplateLiteralLoose(['s'], ['s']),\n _templateObject80 = _taggedTemplateLiteralLoose(['Fa'], ['Fa']),\n _templateObject81 = _taggedTemplateLiteralLoose(['R_{serie} = sum_{i=1}^{n} R_i'], ['R_{serie} = \\\\sum_{i=1}^{n} R_i']),\n _templateObject82 = _taggedTemplateLiteralLoose(['R_{parallelo} = \\frac{1}{sum_{i=1}^{n} \\frac{1}{R_i}}'], ['R_{parallelo} = \\\\frac{1}{\\\\sum_{i=1}^{n} \\\\frac{1}{R_i}}']),\n _templateObject83 = _taggedTemplateLiteralLoose(['C_{serie} = \\frac{1}{sum_{i=1}^{n} \\frac{1}{C_i}}'], ['C_{serie} = \\\\frac{1}{\\\\sum_{i=1}^{n} \\\\frac{1}{C_i}}']),\n _templateObject84 = _taggedTemplateLiteralLoose(['C_{parallelo} = sum_{i=1}^{n} C_n'], ['C_{parallelo} = \\\\sum_{i=1}^{n} C_n']),\n _templateObject85 = _taggedTemplateLiteralLoose(['mu_0 = 4 pi cdot 10^{-7} \\frac{H}{m}'], ['\\\\mu_0 = 4 \\\\pi \\\\cdot 10^{-7} \\\\frac{H}{m}']),\n _templateObject86 = _taggedTemplateLiteralLoose(['\\frac{N}{A^2}'], ['\\\\frac{N}{A^2}']),\n _templateObject87 = _taggedTemplateLiteralLoose(['B'], ['B']),\n _templateObject88 = _taggedTemplateLiteralLoose(['Phi_{B_{i}} = \\x0Bec{B} cdot \\x0Bec{L}_n = B cdot L_i cdot sin(alpha) = B_parallel cdot L_i'], ['\\\\Phi_{B_{i}} = \\\\vec{B} \\\\cdot \\\\vec{L}_n = B \\\\cdot L_i \\\\cdot \\\\sin(\\\\alpha) = B_\\\\parallel \\\\cdot L_i']),\n _templateObject89 = _taggedTemplateLiteralLoose(['Phi_{B} = sum_{i=0}^{n_{lati}} Phi_{Bn}'], ['\\\\Phi_{B} = \\\\sum_{i=0}^{n_{lati}} \\\\Phi_{Bn}']),\n _templateObject90 = _taggedTemplateLiteralLoose(['Wb = T cdot m^2'], ['Wb = T \\\\cdot m^2']),\n _templateObject91 = _taggedTemplateLiteralLoose(['Phi_B = mu_0 cdot I'], ['\\\\Phi_B = \\\\mu_0 \\\\cdot I']),\n _templateObject92 = _taggedTemplateLiteralLoose(['\\x0Bec{F}_{B} = q cdot (\\x0Bec{v} \\times \\x0Bec{B})'], ['\\\\vec{F}_{B} = q \\\\cdot (\\\\vec{v} \\\\times \\\\vec{B})']),\n _templateObject93 = _taggedTemplateLiteralLoose(['\\x0Bec{B}'], ['\\\\vec{B}']),\n _templateObject94 = _taggedTemplateLiteralLoose(['\\x0Bec{v}'], ['\\\\vec{v}']),\n _templateObject95 = _taggedTemplateLiteralLoose(['\\x0Bec{F}_{magnetica} = I cdot (\\x0Bec{L} \\times \\x0Bec{B})'], ['\\\\vec{F}_{magnetica} = I \\\\cdot (\\\\vec{L} \\\\times \\\\vec{B})']),\n _templateObject96 = _taggedTemplateLiteralLoose(['I'], ['I']),\n _templateObject97 = _taggedTemplateLiteralLoose(['\\x0Bec{L}'], ['\\\\vec{L}']),\n _templateObject98 = _taggedTemplateLiteralLoose(['left | \\x0Bec{B} \\right | = mu_0 cdot I cdot \\frac{A_{vvolgimenti}}{L_{unghezzafilo}}'], ['\\\\left | \\\\vec{B} \\\\right | = \\\\mu_0 \\\\cdot I \\\\cdot \\\\frac{A_{vvolgimenti}}{L_{unghezzafilo}}']),\n _templateObject99 = _taggedTemplateLiteralLoose(['left | \\x0Bec{B} \\right | = \\frac{mu cdot I}{2 pi r}'], ['\\\\left | \\\\vec{B} \\\\right | = \\\\frac{\\\\mu \\\\cdot I}{2 \\\\pi r}']),\n _templateObject100 = _taggedTemplateLiteralLoose(['Delta V_{indotta} = v cdot B cdot L'], ['\\\\Delta V_{indotta} = v \\\\cdot B \\\\cdot L']),\n _templateObject101 = _taggedTemplateLiteralLoose(['Phi_B = \\x0Bec{B} cdot \\x0Bec{A} = B cdot A cdot cos(alpha)'], ['\\\\Phi_B = \\\\vec{B} \\\\cdot \\\\vec{A} = B \\\\cdot A \\\\cdot \\\\cos(\\\\alpha)']),\n _templateObject102 = _taggedTemplateLiteralLoose(['Delta V_{indotta} = - \\frac{Delta Phi_B}{Delta t}'], ['\\\\Delta V_{indotta} = - \\\\frac{\\\\Delta \\\\Phi_B}{\\\\Delta t}']),\n _templateObject103 = _taggedTemplateLiteralLoose(['Delta V_{indotta} = - \\frac{N cdot Delta Phi_{B_{spira}}}{Delta t} = - \\frac{N cdot B cdot A cdot cos(alpha)}{Delta t}'], ['\\\\Delta V_{indotta} = - \\\\frac{N \\\\cdot \\\\Delta \\\\Phi_{B_{spira}}}{\\\\Delta t} = - \\\\frac{N \\\\cdot B \\\\cdot A \\\\cdot cos(\\\\alpha)}{\\\\Delta t}']),\n _templateObject104 = _taggedTemplateLiteralLoose(['N'], ['N']),\n _templateObject105 = _taggedTemplateLiteralLoose(['E'], ['E']),\n _templateObject106 = _taggedTemplateLiteralLoose(['E = c cdot B'], ['E = c \\\\cdot B']),\n _templateObject107 = _taggedTemplateLiteralLoose(['c'], ['c']),\n _templateObject108 = _taggedTemplateLiteralLoose(['c = \\frac{1}{sqrt{epsilon_0 cdot mu_0}} = 3.00 cdot 10^8 \\frac{m}{s}'], ['c = \\\\frac{1}{\\\\sqrt{\\\\epsilon_0 \\\\cdot \\\\mu_0}} = 3.00 \\\\cdot 10^8 \\\\frac{m}{s}']),\n _templateObject109 = _taggedTemplateLiteralLoose(['A(t) = A_{max} cdot sin left ( \\frac{2 pi}{lambda} - omega t + phi \\right )'], ['A(t) = A_{max} \\\\cdot \\\\sin \\\\left ( \\\\frac{2 \\\\pi}{\\\\lambda} - \\\\omega t + \\\\phi \\\\right )']),\n _templateObject110 = _taggedTemplateLiteralLoose(['A_{max}'], ['A_{max}']),\n _templateObject111 = _taggedTemplateLiteralLoose(['\\frac{2 pi}{lambda} = left | \\x0Bec{k} \\right |'], ['\\\\frac{2 \\\\pi}{\\\\lambda} = \\\\left | \\\\vec{k} \\\\right |']),\n _templateObject112 = _taggedTemplateLiteralLoose(['omega'], ['\\\\omega']),\n _templateObject113 = _taggedTemplateLiteralLoose(['\\frac{1}{lambda} = R left ( \\frac{1}{4} - \\frac{1}{n^2} \\right )'], ['\\\\frac{1}{\\\\lambda} = R \\\\left ( \\\\frac{1}{4} - \\\\frac{1}{n^2} \\\\right )']),\n _templateObject114 = _taggedTemplateLiteralLoose(['R = 1.097 cdot 10^7 \\frac{1}{m}'], ['R = 1.097 \\\\cdot 10^7 \\\\frac{1}{m}']),\n _templateObject115 = _taggedTemplateLiteralLoose(['n'], ['n']),\n _templateObject116 = _taggedTemplateLiteralLoose(['h'], ['h']),\n _templateObject117 = _taggedTemplateLiteralLoose(['hbar = left ( \\frac{h}{2 pi} \\right )'], ['\\\\hbar = \\\\left ( \\\\frac{h}{2 \\\\pi} \\\\right )']),\n _templateObject118 = _taggedTemplateLiteralLoose(['m cdot v_n cdot 2 pi cdot r = n cdot h'], ['m \\\\cdot v_n \\\\cdot 2 \\\\pi \\\\cdot r = n \\\\cdot h']),\n _templateObject119 = _taggedTemplateLiteralLoose(['r_n = n^2 cdot a_0 = n^2 cdot \\frac{hbar}{m_{elettrone} cdot k cdot e^2} '], ['r_n = n^2 \\\\cdot a_0 = n^2 \\\\cdot \\\\frac{\\\\hbar}{m_{elettrone} \\\\cdot k \\\\cdot e^2} ']),\n _templateObject120 = _taggedTemplateLiteralLoose(['a_0 = left ( \\frac{h}{2 pi} \\right )^2 cdot \\frac{1}{m_{elettrone} cdot k cdot e^2} = 5.29 cdot 10^{-11} m'], ['a_0 = \\\\left ( \\\\frac{h}{2 \\\\pi} \\\\right )^2 \\\\cdot \\\\frac{1}{m_{elettrone} \\\\cdot k \\\\cdot e^2} = 5.29 \\\\cdot 10^{-11} m']),\n _templateObject121 = _taggedTemplateLiteralLoose(['E_n = \\frac{1}{n^2} cdot E_1 = - \\frac{1}{n^2} cdot \\frac{a_0^2}{2 cdot m cdot hbar^4} = - \\frac{1}{n^2} cdot \\frac{m_{elettrone} cdot k^2 cdot e^4}{2 cdot hbar^2}'], ['E_n = \\\\frac{1}{n^2} \\\\cdot E_1 = - \\\\frac{1}{n^2} \\\\cdot \\\\frac{a_0^2}{2 \\\\cdot m \\\\cdot \\\\hbar^4} = - \\\\frac{1}{n^2} \\\\cdot \\\\frac{m_{elettrone} \\\\cdot k^2 \\\\cdot e^4}{2 \\\\cdot \\\\hbar^2}']),\n _templateObject122 = _taggedTemplateLiteralLoose(['10^1 eV'], ['10^1 eV']),\n _templateObject123 = _taggedTemplateLiteralLoose(['1 eV'], ['1 eV']),\n _templateObject124 = _taggedTemplateLiteralLoose(['lambda'], ['\\\\lambda']),\n _templateObject125 = _taggedTemplateLiteralLoose(['lambda_{max} cdot T'], ['\\\\lambda_{max} \\\\cdot T']),\n _templateObject126 = _taggedTemplateLiteralLoose(['E_{fotone} = h cdot f'], ['E_{fotone} = h \\\\cdot f']);\n\n\n\nfunction _taggedTemplateLiteralLoose(strings, raw) { strings.raw = raw; return strings; }\n\nfunction fisica__classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction fisica__possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction fisica__inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\n\n\n\n\n\n\n\n\n\nvar r = String.raw;\n\nvar fisica__ref = Object(preact_min[\"h\"])(\n 'h1',\n null,\n 'Fisica'\n);\n\nvar fisica__ref2 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Usa le regole base della trigonometria:'\n);\n\nvar fisica__ref3 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Scomponi in componenti, poi sommali:'\n);\n\nvar _ref4 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Produce il vettore risultante dall\\'applicazione della regola del parallelogramma.'\n);\n\nvar _ref5 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Alla fine \\xE8 sempre una somma:'\n);\n\nvar _ref6 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Produce il vettore che parte da ',\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n 'w'\n ),\n ' e arriva a ',\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n 'v'\n ),\n '.'\n);\n\nvar _ref7 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Si chiama scalare perch\\xE8 il risultato \\xE8 uno scalare, non un vettore.'\n);\n\nvar _ref8 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Si chiama vettoriale perch\\xE8 il risultato \\xE8 un altro vettore.'\n);\n\nvar _ref9 = Object(preact_min[\"h\"])(\n 'li',\n null,\n Object(preact_min[\"h\"])(\n 'a',\n { href: 'https://it.wikipedia.org/wiki/Regola_della_mano_destra' },\n 'Regola della mano destra'\n )\n);\n\nvar _ref10 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Non \\xE8 commutativo!'\n);\n\nvar _ref11 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Se un corpo puntiforme ha forza risultante nulla, allora la sua velocit\\xE0 non cambia.'\n);\n\nvar _ref12 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'La forza risultante di un corpo \\xE8 direttamente proporzionale alla sua accelerazione, e la costante di proporzionalit\\xE0 \\xE8 la ',\n Object(preact_min[\"h\"])(\n 'i',\n null,\n 'massa'\n ),\n '.'\n);\n\nvar _ref13 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Due corpi esercitano forze uguali e opposte uno sull\\'altro.'\n);\n\nvar _ref14 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Due corpi puntiformi si attirano uno verso l\\'altro con forza:'\n);\n\nvar _ref15 = Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n 'G'\n ),\n ' \\xE8 la ',\n Object(preact_min[\"h\"])(\n 'i',\n null,\n 'costante di gravitazione universale'\n ),\n ' e vale:'\n);\n\nvar _ref16 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Se nel sistema di riferimento consideriamo la Terra ferma, allora un corpo \\xE8 attratto verso la Terra con forza ',\n Object(preact_min[\"h\"])(\n 'i',\n null,\n 'peso'\n ),\n ' uguale a:'\n);\n\nvar _ref17 = Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n 'g'\n ),\n ' \\xE8 la ',\n Object(preact_min[\"h\"])(\n 'i',\n null,\n 'costante di gravit\\xE0'\n ),\n ' della Terra, e vale:'\n);\n\nvar _ref18 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Per pianeti diversi dalla Terra vale la stessa regola:'\n);\n\nvar _ref19 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'L\\'unica differenza \\xE8 che cambia la ',\n Object(preact_min[\"h\"])(\n 'i',\n null,\n 'costante di gravit\\xE0'\n ),\n ':'\n);\n\nvar _ref20 = Object(preact_min[\"h\"])(\n panel_Panel,\n { title: 'Normale' },\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Si oppone alle forze applicate alla superficie di contatto.'\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Un libro appoggiato su un tavolo ha la ',\n Object(preact_min[\"h\"])(\n 'b',\n null,\n 'forza di gravit\\xE0'\n ),\n ' che lo attira verso il terreno e la ',\n Object(preact_min[\"h\"])(\n 'b',\n null,\n 'forza normale'\n ),\n ' che lo trattiene dal cadere.'\n )\n);\n\nvar _ref21 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Impedisce a un corpo di muoversi se non viene spinto da una forza che supera una certa soglia:'\n);\n\nvar _ref22 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Rallenta i corpi che si stanno muovendo finch\\xE8 essi non si fermano:'\n);\n\nvar _ref23 = Object(preact_min[\"h\"])(\n panel_Panel,\n { title: 'Tensione' },\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'E\\' forza trasmessa tra due estremi di una fune.'\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Pu\\xF2 essere redirezionata per mezzo di carrucole.'\n )\n);\n\nvar _ref24 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Una molla cerca sempre di tornare alla sua posizione indeformata con forza:'\n);\n\nvar _ref25 = Object(preact_min[\"h\"])(\n 'p',\n null,\n '(E\\' negativa perch\\xE8 la forza \\xE8 opposta a quella applicata per deformarla.)'\n);\n\nvar _ref26 = Object(preact_min[\"h\"])(\n 'p',\n null,\n '\\xC8 un vettore che indica la posizione di un corpo rispetto a un\\'origine.'\n);\n\nvar _ref27 = Object(preact_min[\"h\"])(\n 'p',\n null,\n '\\xC8 un vettore che misura la variazione di posizione nel tempo.'\n);\n\nvar _ref28 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Se si considera un intervallo di tempo infinitesimale si dice ',\n Object(preact_min[\"h\"])(\n 'i',\n null,\n 'velocit\\xE0 istantanea'\n ),\n ':'\n);\n\nvar _ref29 = Object(preact_min[\"h\"])(\n 'p',\n null,\n '\\xC8 un vettore che misura la variazione di velocit\\xE0 nel tempo.'\n);\n\nvar _ref30 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Se si considera un intervallo di tempo infinitesimale si dice ',\n Object(preact_min[\"h\"])(\n 'i',\n null,\n 'accelerazione istantanea'\n ),\n ':'\n);\n\nvar _ref31 = Object(preact_min[\"h\"])(\n 'span',\n null,\n 'Quantit\\xE0 di moto ',\n Object(preact_min[\"h\"])(\n 'small',\n null,\n '(momento lineare)'\n )\n);\n\nvar _ref32 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'La quantit\\xE0 di moto \\xE8 una propriet\\xE0 vettoriale dei corpi:'\n);\n\nvar _ref33 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Se la forza risultante \\xE8 nulla, la quantit\\xE0 di moto non cambia.'\n);\n\nvar _ref34 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'La ',\n Object(preact_min[\"h\"])(\n 'i',\n null,\n 'legge oraria'\n ),\n ' \\xE8:'\n);\n\nvar _ref35 = Object(preact_min[\"h\"])(\n 'p',\n null,\n '\\xC8 costante:'\n);\n\nvar _ref36 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'La velocit\\xE0 non varia:'\n);\n\nvar _ref37 = Object(preact_min[\"h\"])(\n panel_Panel,\n { title: 'Forze' },\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Si applica la prima legge di Newton:'\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n 'f(t) = 0'\n )\n )\n);\n\nvar _ref38 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'La ',\n Object(preact_min[\"h\"])(\n 'i',\n null,\n 'legge oraria'\n ),\n ' \\xE8:'\n);\n\nvar _ref39 = Object(preact_min[\"h\"])(\n 'p',\n null,\n '\\xC8 una retta:'\n);\n\nvar _ref40 = Object(preact_min[\"h\"])(\n 'p',\n null,\n '\\xC8 costante:'\n);\n\nvar _ref41 = Object(preact_min[\"h\"])(\n panel_Panel,\n { title: 'Forze' },\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Si applica la prima legge di Newton:'\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n 'f(t) = m a'\n )\n )\n);\n\nvar _ref42 = Object(preact_min[\"h\"])(\n panel_Panel,\n { title: 'Ampiezza' },\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'E\\' la distanza dal centro massima che raggiunge il corpo.'\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n '(L\\'ampiezza di una sinusoide.)'\n )\n);\n\nvar _ref43 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Indica quanto in fretta cambia la posizione del corpo.'\n);\n\nvar _ref44 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Dipende dal periodo:'\n);\n\nvar _ref45 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'E\\' una sinusoide:'\n);\n\nvar _ref46 = Object(preact_min[\"h\"])(\n panel_Panel,\n { title: 'Forze' },\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Si applica la prima legge di Newton:'\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n 'f(t) = m a'\n )\n )\n);\n\nvar _ref47 = Object(preact_min[\"h\"])(\n panel_Panel,\n { title: 'Moto parabolico' },\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Il moto parabolico \\xE8 dato sommando un moto rettilineo uniforme sull\\'asse orizzontale e un moto rettilineo uniformemente accelerato sull\\'asse verticale.'\n )\n);\n\nvar _ref48 = Object(preact_min[\"h\"])(\n 'h3',\n null,\n 'Velocit\\xE0 angolare'\n);\n\nvar _ref49 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Quanto cambia la fase nel tempo.'\n);\n\nvar _ref50 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'E\\' l\\'angolo percorso dal corpo rispetto alla posizione iniziale.'\n);\n\nvar _ref51 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Si applicano le formule per la circonferenza:'\n);\n\nvar _ref52 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Il corpo ha sempre un accelerazione verso il centro che gli impedisce di abbandonare il moto:'\n);\n\nvar _ref53 = Object(preact_min[\"h\"])(\n 'p',\n null,\n '\\xC8 verso il centro e si calcola con:'\n);\n\nvar _ref54 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'E\\' compiuto da una forza che sposta un corpo.'\n);\n\nvar _ref55 = Object(preact_min[\"h\"])(\n 'p',\n null,\n '(Se la forza non \\xE8 parallela allo spostamento, il prodotto scalare ci fa considerare solo la componente parallela.)'\n);\n\nvar _ref56 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Un corpo ha energia cinetica in ogni momento uguale a:'\n);\n\nvar _ref57 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Se una forza effettua lavoro su un corpo, cambia la sua energia cinetica pari al lavoro effettuato:'\n);\n\nvar _ref58 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Un corpo ha energia potenziale in ogni momento pari a:'\n);\n\nvar _ref59 = Object(preact_min[\"h\"])(\n 'p',\n null,\n '(Con ',\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n 'h'\n ),\n ' uguale a un altezza scelta come punto di riferimento.)'\n);\n\nvar _ref60 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Una molla ha sempre energia potenziale elastica pari a:'\n);\n\nvar _ref61 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Sono conservative le forze per le quali il lavoro compiuto non dipende dal percorso seguito per andare dalla partenza all\\'arrivo.'\n);\n\nvar _ref62 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Ad esempio, \\xE8 conservativa la ',\n Object(preact_min[\"h\"])(\n 'i',\n null,\n 'forza di gravit\\xE0'\n ),\n ', ma ',\n Object(preact_min[\"h\"])(\n 'b',\n null,\n 'non'\n ),\n ' \\xE8 conservativa la forza di attrito.'\n);\n\nvar _ref63 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Se in un sistema ci sono solo forze conservative, allora l\\'energia meccanica totale si conserva:'\n);\n\nvar _ref64 = Object(preact_min[\"h\"])(\n 'p',\n null,\n '\\xC8 la velocit\\xE0 di trasferimento di energia:'\n);\n\nvar _ref65 = Object(preact_min[\"h\"])(\n 'p',\n null,\n '\\xC8 una propriet\\xE0 dei corpi che pu\\xF2 essere ',\n Object(preact_min[\"h\"])(\n plus_Plus,\n null,\n 'positiva'\n ),\n ' o ',\n Object(preact_min[\"h\"])(\n minus_Minus,\n null,\n 'negativa'\n ),\n '.'\n);\n\nvar _ref66 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Si conserva: in un sistema chiuso la carica totale \\xE8 costante.'\n);\n\nvar _ref67 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Cariche ',\n Object(preact_min[\"h\"])(\n plus_Plus,\n null,\n 'opp'\n ),\n Object(preact_min[\"h\"])(\n minus_Minus,\n null,\n 'oste'\n ),\n ' si attraggono; cariche ',\n Object(preact_min[\"h\"])(\n plus_Plus,\n null,\n 'uguali'\n ),\n ' si respingono.'\n);\n\nvar _ref68 = Object(preact_min[\"h\"])(\n panel_Panel,\n { title: 'Conduttori e isolanti' },\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Pi\\xF9 ',\n Object(preact_min[\"h\"])(\n 'a',\n { href: 'https://it.wikipedia.org/wiki/Ione' },\n 'ioni'\n ),\n ' ha un corpo, meglio la carica si muove attraverso di esso.'\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'I corpi in cui la carica si muove bene sono ',\n Object(preact_min[\"h\"])(\n 'i',\n null,\n 'conduttori'\n ),\n ', mentre quelli in cui si muove difficilmente sono ',\n Object(preact_min[\"h\"])(\n 'i',\n null,\n 'isolanti'\n ),\n '.'\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n 'i',\n null,\n 'Il corpo umano \\xE8 un buon conduttore.'\n )\n )\n);\n\nvar _ref69 = Object(preact_min[\"h\"])(\n split_Split,\n { title: 'Polarizzazione' },\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: 'Polarizzazione' },\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'E\\' possibile polarizzare un corpo per accumulare la carica di un segno in una certa zona.'\n )\n )\n);\n\nvar _ref70 = Object(preact_min[\"h\"])(\n split_Split,\n null,\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: 'Messa a terra' },\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Se un corpo conduttore \\xE8 in contatto con la Terra, le cariche su di esso saranno ',\n Object(preact_min[\"h\"])(\n 'i',\n null,\n 'equilibrate'\n ),\n ' e il corpo diventer\\xE0 elettricamente neutro (con stesso numero di ',\n Object(preact_min[\"h\"])(\n plus_Plus,\n null,\n 'cariche positive'\n ),\n ' e ',\n Object(preact_min[\"h\"])(\n minus_Minus,\n null,\n 'negative'\n ),\n ' all\\'interno).'\n )\n )\n);\n\nvar _ref71 = Object(preact_min[\"h\"])(\n split_Split,\n null,\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: 'Polarizzazione per strofinio' },\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Strofinando tra loro due corpi isolanti, essi si ',\n Object(preact_min[\"h\"])(\n 'i',\n null,\n 'polarizzeranno per strofinio'\n ),\n '.'\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: 'Polarizzazione per contatto' },\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Toccando un conduttore con un corpo carico, il conduttore potr\\xE0 ',\n Object(preact_min[\"h\"])(\n 'i',\n null,\n 'polarizzarsi per contatto'\n ),\n '.'\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: 'Polarizzazione per induzione' },\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Se un corpo conduttore ha cariche \"esterne\" di un ',\n Object(preact_min[\"h\"])(\n plus_Plus,\n null,\n 'certo segno'\n ),\n ' vicino, esso avr\\xE0 tutte le cariche del ',\n Object(preact_min[\"h\"])(\n minus_Minus,\n null,\n 'segno opposto'\n ),\n ' in equilibrio vicino alle cariche esterne, e tutte le cariche dello ',\n Object(preact_min[\"h\"])(\n plus_Plus,\n null,\n 'stesso segno'\n ),\n ' pi\\xF9 lontano possibile da esse.'\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Mettendo a terra il conduttore, nuove cariche del ',\n Object(preact_min[\"h\"])(\n minus_Minus,\n null,\n 'segno opposto'\n ),\n ' saranno attratte all\\'interno del corpo per equilibrare le cariche che si sono allontanate.'\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Staccando il conduttore da terra e rimuovendo le cariche esterne, esso si ritrover\\xE0 ',\n Object(preact_min[\"h\"])(\n minus_Minus,\n null,\n 'caricato del segno opposto'\n ),\n ' rispetto alle cariche esterne.'\n )\n )\n);\n\nvar _ref72 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Due corpi carichi si attraggono tra loro con forza:'\n);\n\nvar _ref73 = Object(preact_min[\"h\"])(\n 'i',\n null,\n 'costante di Coulomb'\n);\n\nvar _ref74 = Object(preact_min[\"h\"])(\n 'i',\n null,\n 'permeabilit\\xE0 del vuoto'\n);\n\nvar _ref75 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Misura che forza viene applicata in ogni punto su una carica unitaria:'\n);\n\nvar _ref76 = Object(preact_min[\"h\"])(\n 'p',\n null,\n '\\xC8 la differenza tra \"quanto\" campo elettrico ',\n Object(preact_min[\"h\"])(\n plus_Plus,\n null,\n 'entra'\n ),\n ' e quanto campo elettrico ',\n Object(preact_min[\"h\"])(\n minus_Minus,\n null,\n 'esce'\n ),\n ' da una certa area.'\n);\n\nvar _ref77 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'In qualsiasi superficie chiusa, il flusso elettrico \\xE8 uguale alla componente perpendicolare del campo elettrico moltiplicato per l\\'area.'\n);\n\nvar _ref78 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Se il campo elettrico \\xE8 uniforme, se ne pu\\xF2 calcolare facilmente il valore:'\n);\n\nvar _ref79 = Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n todo_Todo,\n null,\n 'Circa. E\\' una specie di integrale...'\n )\n);\n\nvar _ref80 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Il flusso elettrico \\xE8 direttamente proporzionale alla carica presente all\\'interno della superficie.'\n);\n\nvar _ref81 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Ovvero, i campi elettrostatici sono generati dalle cariche elettriche.'\n);\n\nvar _ref82 = Object(preact_min[\"h\"])(\n 'i',\n null,\n 'energia potenziale elettrica'\n);\n\nvar _ref83 = Object(preact_min[\"h\"])(\n 'span',\n null,\n 'Potenziale elettrico ',\n Object(preact_min[\"h\"])(\n 'small',\n null,\n '(tensione)'\n )\n);\n\nvar _ref84 = Object(preact_min[\"h\"])(\n 'p',\n null,\n '\\xC8 il valore dell\\'energia potenziale elettrica per una carica unitaria.'\n);\n\nvar _ref85 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'In una batteria \\xE8 detto ',\n Object(preact_min[\"h\"])(\n 'i',\n null,\n 'forza elettromotrice'\n ),\n ', e corrisponde al lavoro compiuto da una batteria ideale per spostare una carica unitaria tra i due poli.'\n);\n\nvar _ref86 = Object(preact_min[\"h\"])(\n 'span',\n null,\n 'Corrente elettrica ',\n Object(preact_min[\"h\"])(\n 'small',\n null,\n '(intensit\\xE0)'\n )\n);\n\nvar _ref87 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Quanta carica passa attraverso un\\'area (perpendicolare al flusso) nel tempo.'\n);\n\nvar _ref88 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Fintanto che c\\'\\xE8 differenza di potenziale, ci sar\\xE0 anche intensit\\xE0 non nulla.'\n);\n\nvar _ref89 = Object(preact_min[\"h\"])(\n panel_Panel,\n { title: Object(preact_min[\"h\"])(\n 'span',\n null,\n 'Corrente continua ',\n Object(preact_min[\"h\"])(\n 'small',\n null,\n '(',\n Object(preact_min[\"h\"])(\n 'abbr',\n { title: 'Direct Current' },\n 'DC'\n ),\n ')'\n )\n ) },\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Quando in un circuito la direzione della corrente \\xE8 costante.'\n )\n);\n\nvar _ref90 = Object(preact_min[\"h\"])(\n panel_Panel,\n { title: Object(preact_min[\"h\"])(\n 'span',\n null,\n 'Corrente alternata ',\n Object(preact_min[\"h\"])(\n 'small',\n null,\n '(',\n Object(preact_min[\"h\"])(\n 'abbr',\n { title: 'Alternate Current' },\n 'AC'\n ),\n ')'\n )\n ) },\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Quando in un circuito la direzione della corrente si alterna periodicamente.'\n )\n);\n\nvar _ref91 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Possiamo calcolare la potenza di un circuito:'\n);\n\nvar _ref92 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Riduce l\\'intensit\\xE0 di corrente, e converte parte del potenziale in calore.'\n);\n\nvar _ref93 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Il potenziale utilizzato \\xE8 pari a:'\n);\n\nvar _ref94 = Object(preact_min[\"h\"])(\n 'i',\n null,\n 'resistenza'\n);\n\nvar _ref95 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'La resistenza di un conduttore vale:'\n);\n\nvar _ref96 = Object(preact_min[\"h\"])(\n 'i',\n null,\n 'resistivit\\xE0'\n);\n\nvar _ref97 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Immagazzina potenziale elettrico, permettendo di riutilizzarla in seguito.'\n);\n\nvar _ref98 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Per farlo, cattura cariche ',\n Object(preact_min[\"h\"])(\n plus_Plus,\n null,\n 'positive'\n ),\n ' e ',\n Object(preact_min[\"h\"])(\n minus_Minus,\n null,\n 'negative'\n ),\n ' sulle sue due armature; perch\\xE8 questo avvenga, deve essere compiuto lavoro.'\n);\n\nvar _ref99 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Ha una ',\n Object(preact_min[\"h\"])(\n 'b',\n null,\n 'capacit\\xE0'\n ),\n ' caratteristica, che in un condensatore a facce piane parallele \\xE8:'\n);\n\nvar _ref100 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Condensatori di capacit\\xE0 maggiore immagazzinano pi\\xF9 potenziale con meno carica.'\n);\n\nvar _ref101 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'La capacit\\xE0 aumenta se viene messo qualcosa tra le armature:'\n);\n\nvar _ref102 = Object(preact_min[\"h\"])(\n 'i',\n null,\n 'costante dielettrica relativa'\n);\n\nvar _ref103 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Se il campo elettrico creatosi tra le due armature supera la ',\n Object(preact_min[\"h\"])(\n 'i',\n null,\n 'rigidit\\xE0 dielettrica'\n ),\n ' del condensatore, la carica immagazzinata viene persa e ha luogo un ',\n Object(preact_min[\"h\"])(\n 'i',\n null,\n 'breakdown'\n ),\n '.'\n);\n\nvar _ref104 = Object(preact_min[\"h\"])(\n panel_Panel,\n { title: 'Amperometro' },\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Misura la corrente elettrica se messo in serie.'\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n '(Funzionamento: ha una resistenza interna bassisima in modo da non influire significativamente sulla corrente.)'\n )\n);\n\nvar _ref105 = Object(preact_min[\"h\"])(\n panel_Panel,\n { title: 'Voltmetro' },\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Misura la differenza di potenziale se messo in parallelo.'\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n '(Funzionamento: ha una resistenza altissima in modo da non influire significativamente sulla tensione.)'\n )\n);\n\nvar _ref106 = Object(preact_min[\"h\"])(\n split_Split,\n { title: 'Principi di Kirchhoff' },\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: 'Legge dei nodi' },\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Per nodo si intende un qualsiasi punto del circuito.'\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Da un nodo entra ed esce la stessa corrente.'\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: 'Legge delle maglie' },\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Per maglia si intende un qualsiasi percorso chiuso all\\'interno del circuito.'\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'In una maglia chiusa, la somma delle differenze di potenziale \\xE8 0.'\n )\n )\n);\n\nvar _ref107 = Object(preact_min[\"h\"])(\n split_Split,\n { title: 'Serie e Parallelo' },\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: 'Circuito in serie' },\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Pi\\xF9 parti di circuito sono ',\n Object(preact_min[\"h\"])(\n 'i',\n null,\n 'in serie'\n ),\n ' se sono consecutive e senza biforcazioni.'\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Parti di circuito in serie sono attraversate dalla stessa corrente.'\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: 'Circuito in parallelo' },\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Pi\\xF9 parti di circuito sono ',\n Object(preact_min[\"h\"])(\n 'i',\n null,\n 'in parallelo'\n ),\n ' tra loro se hanno lo stesso punto di partenza e lo stesso punto di arrivo.'\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Parti di circuito in parallelo hanno la stessa differenza di potenziale.'\n )\n )\n);\n\nvar _ref108 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Nei circuiti in serie, tutte le resistenze possono essere sostituite con una equivalente dalla resistenza della somma di tutte le quelle sostituite:'\n);\n\nvar _ref109 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Nei circuiti in parallelo, tutte le resistenze possono essere sostituite con una equivalente dalla resistenza di:'\n);\n\nvar _ref110 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Nei circuiti in serie, tutti i condensatori possono essere sostituiti con uno equivalente dalla capacit\\xE0 di:'\n);\n\nvar _ref111 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Nei circuiti in parallelo, tutte i condensatori possono essere sostituite con uno equivalente dalla capacit\\xE0 della somma di tutti quelli sostituiti:'\n);\n\nvar _ref112 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'E\\' una costante fisica fondamentale che rappresenta quanto un materiale si magnetizza facilmente.'\n);\n\nvar _ref113 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Come un campo elettrico, ma per i magneti.'\n);\n\nvar _ref114 = Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n 'T'\n);\n\nvar _ref115 = Object(preact_min[\"h\"])(\n 'p',\n null,\n '\\xC8 \"quanto\" campo magnetico ',\n Object(preact_min[\"h\"])(\n 'b',\n null,\n 'attraversa'\n ),\n ' un percorso chiuso.'\n);\n\nvar _ref116 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Per qualsiasi percorso chiuso, il flusso magnetico \\xE8 uguale alla somma di tutti i \"sottoflussi\" magnetici calcolati sui suoi lati.'\n);\n\nvar _ref117 = Object(preact_min[\"h\"])(\n panel_Panel,\n { title: 'Legge di Gauss per i campi magnetici' },\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Il flusso magnetico attraverso qualsiasi superficie chiusa \\xE8 sempre nullo.'\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Ovvero, non esistono monopoli magnetici.'\n )\n);\n\nvar _ref118 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'L\\'intensit\\xE0 di corrente che attraversa un percorso chiuso \\xE8 direttamente proporzionale al flusso magnetico dello stesso percorso.'\n);\n\nvar _ref119 = Object(preact_min[\"h\"])(\n 'span',\n null,\n 'Forza magnetica su carica puntiforme ',\n Object(preact_min[\"h\"])(\n 'small',\n null,\n '(Forza di Lorentz)'\n )\n);\n\nvar _ref120 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'I campi magnetici applicano una forza sulle cariche vicine:'\n);\n\nvar _ref121 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Si ha una forza massima se la velocit\\xE0 \\xE8 perpendicolare al campo magnetico.'\n);\n\nvar _ref122 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'In un campo magnetico uniforme, una velocit\\xE0 perpendicolare al campo porta alla creazione di un moto circolare uniforme.'\n);\n\nvar _ref123 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'I campi magnetici influenzano ovviamente anche le cariche presenti in un conduttore:'\n);\n\nvar _ref124 = Object(preact_min[\"h\"])(\n 'a',\n { href: 'https://it.openprof.com/wb/forza_di_lorentz_su_un_filo_percorso_da_corrente?ch=360' },\n '[1]'\n);\n\nvar _ref125 = Object(preact_min[\"h\"])(\n panel_Panel,\n { title: 'Campo magnetico in una spira' },\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Una spira in cui passa corrente produce un campo magnetico perpendicolare al piano creato dalla spira.'\n )\n);\n\nvar _ref126 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Un solenoide sono tante spire avvolte in modo da formare una specie di cilindro.'\n);\n\nvar _ref127 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'All\\'interno del solenoide si crea un campo (quasi) uniforme:'\n);\n\nvar _ref128 = Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n 'i',\n null,\n 'Caso particolare della ',\n Object(preact_min[\"h\"])(\n 'a',\n { href: 'https://it.wikipedia.org/wiki/Legge_di_Amp%C3%A8re' },\n 'Legge di Amp\\xE8re'\n ),\n '.'\n )\n);\n\nvar _ref129 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Il modulo del campo magnetico ',\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n 'B'\n ),\n ' prodotto da un filo in cui passa una corrente continua ',\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n 'I'\n ),\n ' alla distanza ',\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n 's'\n ),\n ' \\xE8:'\n);\n\nvar _ref130 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Il campo magnetico cos\\xEC creato gira attorno al filo in senso antiorario.'\n);\n\nvar _ref131 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Due fili attraversati dalla ',\n Object(preact_min[\"h\"])(\n plus_Plus,\n null,\n 'stessa corrente'\n ),\n ' si attraggono, due fili attraversati da ',\n Object(preact_min[\"h\"])(\n plus_Plus,\n null,\n 'corr'\n ),\n Object(preact_min[\"h\"])(\n minus_Minus,\n null,\n 'enti'\n ),\n ' ',\n Object(preact_min[\"h\"])(\n plus_Plus,\n null,\n 'opp'\n ),\n Object(preact_min[\"h\"])(\n minus_Minus,\n null,\n 'oste'\n ),\n ' si respingono.'\n);\n\nvar _ref132 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Un conduttore perpendicolare ad un campo magnetico pu\\xF2 ottenere una differenza di potenziale se messo in movimento in un direzione perpendicolare alla direzione del conduttore e del campo.'\n);\n\nvar _ref133 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'La differenza di potenziale si crea a causa della forza magnetica, che fa spostare tutti gli elettroni verso un capo del conduttore.'\n);\n\nvar _ref134 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Essa vale:'\n);\n\nvar _ref135 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Dove ',\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n 'v'\n ),\n ' \\xE8 la velocit\\xE0 del conduttore, ',\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n 'B'\n ),\n ' \\xE8 l\\'intensit\\xE0 del campo magnetico ed ',\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n 'L'\n ),\n ' \\xE8 la lunghezza del conduttore.'\n);\n\nvar _ref136 = Object(preact_min[\"h\"])(\n 'i',\n null,\n 'Legge di Faraday-Neumann-Lenz'\n);\n\nvar _ref137 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Dice che la forza elettromotrice media indotta in un percorso dipende dalla variazione nel tempo del flusso magnetico nello stesso percorso.'\n);\n\nvar _ref138 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Il meno \\xE8 dovuto alla ',\n Object(preact_min[\"h\"])(\n 'a',\n { href: 'https://it.wikipedia.org/wiki/Legge_di_Lenz' },\n 'Legge di Lenz'\n ),\n ', che specifica qualitativamente il verso della forza elettromotrice indotta.'\n);\n\nvar _ref139 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'In un solenoide, la forza elettromotrice indotta \\xE8 uguale a:'\n);\n\nvar _ref140 = Object(preact_min[\"h\"])(\n panel_Panel,\n { title: 'Legge di Amp\\xE8re-Maxwell' },\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Correnti o campi elettrici variabili creano un campo magnetico.'\n )\n);\n\nvar _ref141 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Si dice quindi che sono ',\n Object(preact_min[\"h\"])(\n 'i',\n null,\n 'onde elettromagnetiche'\n ),\n '.'\n);\n\nvar _ref142 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Esse sono legate dalla relazione:'\n);\n\nvar _ref143 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'I solidi, se portati ad alta temperatura, emettono luce con uno ',\n Object(preact_min[\"h\"])(\n 'a',\n { href: 'https://it.wikipedia.org/wiki/Spettro_continuo' },\n 'spettro continuo'\n ),\n '.'\n);\n\nvar _ref144 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'I gas, invece, ad alta temperatura emettono luce solo con particolari lunghezze d\\'onda.'\n);\n\nvar _ref145 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'In un gas di idrogeno, le lunghezze d\\'onda emesse sono ricavabili con:'\n);\n\nvar _ref146 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Una grandezza si dice quantizzata (o discreta) se pu\\xF2 assumere solo determinati valori.'\n);\n\nvar _ref147 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Una grandezza si dice continua se pu\\xF2 assumere qualsiasi valore e quindi se non \\xE8 quantizzata.'\n);\n\nvar _ref148 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Energia, momento angolare e raggio sono quantizzati.'\n);\n\nvar _ref149 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'L\\'energia degli elettroni \\xE8 quantizzata.'\n);\n\nvar _ref150 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Inoltre, per essi \\xE8 valido che:'\n);\n\nvar _ref151 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Ancora, il raggio delle orbite \\xE8 uguale a:'\n);\n\nvar _ref152 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Infine, in ogni stato, l\\'energia \\xE8 pari a:'\n);\n\nvar _ref153 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Due elettroni non possono occupare lo stesso stato.'\n);\n\nvar _ref154 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Questo modello funziona solo per atomi con numero atomico basso. Atomi con molti elettroni hanno comportamenti diversi, descritti dal modello di'\n);\n\nvar _ref155 = Object(preact_min[\"h\"])(\n split_Split,\n null,\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: 'Nei solidi' },\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Nei solidi, le lunghezze d\\'onda sono talmente tanto vicine da poter essere considerate una banda.'\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Possono per\\xF2 comunque avere dei gap dovuti agli intervalli di energia non ammessi.'\n )\n )\n);\n\nvar _ref156 = Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n todo_Todo,\n null,\n 'Refactor this'\n )\n);\n\nvar _ref157 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Se invece la banda di emissione si sovrappone a un altra, allora il corpo \\xE8 un conduttore.'\n);\n\nvar _ref158 = Object(preact_min[\"h\"])(\n panel_Panel,\n { title: 'Lacune' },\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Legami in cui ',\n Object(preact_min[\"h\"])(\n plus_Plus,\n null,\n 'mancano elettroni'\n ),\n '.'\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n minus_Minus,\n null,\n 'Elettroni'\n ),\n ' di altri legami possono spostarsi per colmare le ',\n Object(preact_min[\"h\"])(\n plus_Plus,\n null,\n 'lacune'\n ),\n ', creandone altre, e spostandole in direzione opposta a quella della corrente.'\n )\n);\n\nvar _ref159 = Object(preact_min[\"h\"])(\n panel_Panel,\n { title: 'Accettori e donori' },\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Se si inserisce in un cristallo semiconduttore si inserisce un atomo con numero atomico diverso, si otterr\\xE0:'\n ),\n Object(preact_min[\"h\"])(\n 'ul',\n null,\n Object(preact_min[\"h\"])(\n 'li',\n null,\n 'Con numero atomico maggiore, un semiconduttore di ',\n Object(preact_min[\"h\"])(\n minus_Minus,\n null,\n 'tipo N'\n ),\n ' con ',\n Object(preact_min[\"h\"])(\n minus_Minus,\n null,\n 'elettroni in eccesso'\n ),\n ' liberi di scorrere.'\n ),\n Object(preact_min[\"h\"])(\n 'li',\n null,\n 'Con numero atomico minore, un semiconduttore di ',\n Object(preact_min[\"h\"])(\n plus_Plus,\n null,\n 'tipo P'\n ),\n ' con ',\n Object(preact_min[\"h\"])(\n plus_Plus,\n null,\n 'lacune in eccesso'\n ),\n ' libere di catturare elettroni da altri legami.'\n )\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Maggiore impurezza porta a maggiore conduttivit\\xE0.'\n )\n);\n\nvar _ref160 = Object(preact_min[\"h\"])(\n panel_Panel,\n { title: 'Temperatura' },\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Aumentando la temperatura di un semiconduttore si aumenta la conduttivit\\xE0, perch\\xE8 eccita le particelle e favorisce il movimento di ',\n Object(preact_min[\"h\"])(\n minus_Minus,\n null,\n 'elettroni'\n ),\n ' e ',\n Object(preact_min[\"h\"])(\n plus_Plus,\n null,\n 'lacune'\n ),\n '.'\n )\n);\n\nvar _ref161 = Object(preact_min[\"h\"])(\n 'span',\n null,\n 'Ottica ',\n Object(preact_min[\"h\"])(\n 'small',\n null,\n '(non l\\'abbiamo fatta)'\n )\n);\n\nvar _ref162 = Object(preact_min[\"h\"])(\n panel_Panel,\n { title: 'Assorbimento e riflessione' },\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'I corpi possono assorbire o riflettere le onde elettromagnetiche che li colpiscono.'\n )\n);\n\nvar _ref163 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Un corpo nero \\xE8 un corpo che assorbe tutte le onde elettromagnetiche che riceve senza rifletterne nessuna.'\n);\n\nvar _ref164 = Object(preact_min[\"h\"])(\n panel_Panel,\n { title: 'Teoria di Planck per il corpo nero' },\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'L\\'energia assorbita e emessa dai corpi neri \\xE8 quantizzata.'\n )\n);\n\nvar _ref165 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Un onda magnetica con un quanto di energia \\xE8 detta ',\n Object(preact_min[\"h\"])(\n 'i',\n null,\n 'fotone'\n ),\n ':'\n);\n\nvar _ref166 = Object(preact_min[\"h\"])(\n panel_Panel,\n { title: 'Effetto fotoelettrico' },\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'A volte, i fotoni che colpiscono un metallo possono estrarvi degli elettroni e creare una differenza di potenziale.'\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Perch\\xE8 avvenga, la frequenza deve essere maggiore di una certa soglia.'\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Il numero di elettroni estratti dipende dall\\'intensit\\xE0 dell\\'onda, mentre l\\'energia cinetica degli elettroni dipende dalla frequenza.'\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Non c\\'\\xE8 nessun ritardo tra l\\'assorbimento del fotone e l\\'estrazione di elettroni.'\n )\n);\n\nvar fisica_Fisica = function (_Component) {\n fisica__inherits(Fisica, _Component);\n\n function Fisica() {\n fisica__classCallCheck(this, Fisica);\n\n return fisica__possibleConstructorReturn(this, _Component.apply(this, arguments));\n }\n\n Fisica.prototype.render = function render() {\n return Object(preact_min[\"h\"])(\n 'div',\n { style: fisica_default.a.fisica },\n fisica__ref,\n Object(preact_min[\"h\"])(\n split_Split,\n { title: 'Vettori' },\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: 'Componenti cartesiane' },\n fisica__ref2,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject)\n )\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject2)\n )\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject3)\n )\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: 'Somma' },\n fisica__ref3,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject4)\n )\n ),\n _ref4\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: 'Differenza' },\n _ref5,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject5)\n )\n ),\n _ref6\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: 'Prodotto scalare' },\n _ref7,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject6)\n )\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Produce il modulo della proiezione di ',\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject7)\n ),\n ' su ',\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject8)\n ),\n '.'\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: 'Prodotto vettoriale' },\n _ref8,\n Object(preact_min[\"h\"])(\n 'ul',\n null,\n Object(preact_min[\"h\"])(\n 'li',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject9)\n )\n ),\n Object(preact_min[\"h\"])(\n 'li',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject10)\n )\n ),\n _ref9\n ),\n _ref10\n )\n ),\n Object(preact_min[\"h\"])(\n split_Split,\n { title: 'Leggi di Newton' },\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: '1\\u1D43: Inerzia' },\n _ref11,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject11)\n )\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: '2\\u1D43: Proporzionalit\\xE0' },\n _ref12,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject12)\n )\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: '3\\u1D43: Azione e reazione' },\n _ref13,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject13)\n )\n )\n )\n ),\n Object(preact_min[\"h\"])(\n split_Split,\n { title: 'Forza di gravit\\xE0' },\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: 'Tra due corpi' },\n _ref14,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject14)\n )\n ),\n _ref15,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject15)\n )\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: 'Verso la Terra' },\n _ref16,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject16)\n )\n ),\n _ref17,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject17)\n )\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: 'Su pianeti diversi' },\n _ref18,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject16)\n )\n ),\n _ref19,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject18)\n )\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject19)\n )\n )\n )\n ),\n Object(preact_min[\"h\"])(\n split_Split,\n { title: 'Forze di contatto' },\n _ref20,\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: 'Attrito statico' },\n _ref21,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject20)\n )\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: 'Attrito dinamico' },\n _ref22,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject21)\n )\n )\n ),\n _ref23,\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: 'Elastica' },\n _ref24,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject22)\n )\n ),\n _ref25\n )\n ),\n Object(preact_min[\"h\"])(\n split_Split,\n { title: 'Cinematica' },\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: 'Spostamento' },\n _ref26,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject23)\n )\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: 'Velocit\\xE0' },\n _ref27,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject24)\n )\n ),\n _ref28,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject25)\n )\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: 'Accelerazione' },\n _ref29,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject26)\n )\n ),\n _ref30,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject27)\n )\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: _ref31 },\n _ref32,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject28)\n )\n ),\n _ref33,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject29)\n )\n )\n )\n ),\n Object(preact_min[\"h\"])(\n split_Split,\n { title: 'Moto rettilineo uniforme' },\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: 'Spostamento' },\n _ref34,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject30)\n )\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: 'Velocit\\xE0' },\n _ref35,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject31)\n )\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: 'Accelerazione' },\n _ref36,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject32)\n )\n )\n ),\n _ref37\n ),\n Object(preact_min[\"h\"])(\n split_Split,\n { title: 'Moto rettilineo uniformemente accelerato' },\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: 'Spostamento' },\n _ref38,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject33)\n )\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: 'Velocit\\xE0' },\n _ref39,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject34)\n )\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: 'Accelerazione' },\n _ref40,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject35)\n )\n )\n ),\n _ref41\n ),\n Object(preact_min[\"h\"])(\n split_Split,\n { title: 'Moto armonico semplice' },\n _ref42,\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: 'Velocit\\xE0 angolare' },\n _ref43,\n _ref44,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject36)\n )\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: 'Spostamento' },\n _ref45,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject37)\n )\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: 'Velocit\\xE0' },\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'E\\' la sinusoide dello spostamento, sfasata di ',\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject38)\n ),\n ':'\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject39)\n )\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: 'Accelerazione' },\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'E\\' la sinusoide della velocit\\xE0, sfasata di ',\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject40)\n ),\n ':'\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject41)\n )\n )\n ),\n _ref46\n ),\n Object(preact_min[\"h\"])(\n split_Split,\n { title: 'Moti composti' },\n _ref47,\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: 'Moto circolare uniforme' },\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Il moto parabolico \\xE8 dato sommando due moti armonici semplici: uno sull\\'asse X, e l\\'altro, sfasato di ',\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject38)\n ),\n ', sull\\'asse Y.'\n )\n )\n ),\n Object(preact_min[\"h\"])(\n split_Split,\n { title: 'Moto circolare uniforme' },\n Object(preact_min[\"h\"])(\n panel_Panel,\n null,\n _ref48,\n _ref49,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject36)\n )\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: 'Fase' },\n _ref50,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Si indica con ',\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject42)\n ),\n ', e generalmente si usa in radianti.'\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: 'Velocit\\xE0' },\n _ref51,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject43)\n )\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: 'Accelerazione' },\n _ref52,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject44)\n )\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: 'Forza centripeta' },\n _ref53,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject45)\n )\n )\n )\n ),\n Object(preact_min[\"h\"])(\n split_Split,\n { title: 'Lavoro ed energia' },\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: 'Lavoro' },\n _ref54,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject46)\n )\n ),\n _ref55\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: 'Energia cinetica' },\n _ref56,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject47)\n )\n ),\n _ref57,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject48)\n )\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: 'Energia potenziale gravitazionale' },\n _ref58,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject49)\n )\n ),\n _ref59\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: 'Energia potenziale elastica' },\n _ref60,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject50)\n )\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: 'Forze conservative' },\n _ref61,\n _ref62,\n _ref63,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject51)\n )\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: 'Potenza' },\n _ref64,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject52)\n )\n )\n )\n ),\n Object(preact_min[\"h\"])(\n split_Split,\n { title: 'Elettrostatica' },\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: 'Carica elettrica' },\n _ref65,\n _ref66,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Esiste un\\'unit\\xE0 elementare: ',\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject53)\n ),\n '.'\n ),\n _ref67\n ),\n _ref68\n ),\n _ref69,\n _ref70,\n _ref71,\n Object(preact_min[\"h\"])(\n split_Split,\n { title: 'Forza elettrica' },\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: 'Legge di Coulomb' },\n _ref72,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject54)\n )\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject55)\n ),\n ' \\xE8 la ',\n _ref73,\n ', e vale ',\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject56)\n ),\n '.'\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: 'Permeabilit\\xE0 dello spazio vuoto' },\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'La costante ',\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject55)\n ),\n ' \\xE8 in realt\\xE0 dipendente da un altra costante, ',\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject57)\n ),\n ', la ',\n _ref74,\n '.'\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject58)\n )\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject59)\n )\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: 'Campo elettrico' },\n _ref75,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject60)\n )\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: 'Flusso elettrico' },\n _ref76,\n _ref77,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject61)\n )\n ),\n _ref78,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject62)\n )\n ),\n _ref79\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: 'Legge di Gauss per i campi elettrostatici' },\n _ref80,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject63)\n )\n ),\n _ref81\n )\n ),\n Object(preact_min[\"h\"])(\n split_Split,\n { title: 'Energia elettrica' },\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: 'Energia potenziale elettrica' },\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Un corpo carico vicino ad altre cariche possiede un\\'',\n _ref82,\n ' ',\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject64)\n ),\n '.'\n )\n )\n ),\n Object(preact_min[\"h\"])(\n split_Split,\n { title: 'Circuiti elettrici' },\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: _ref83 },\n _ref84,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject65)\n )\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'La sua unit\\xE0 di misura \\xE8 il Volt (',\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject66)\n ),\n ').'\n ),\n _ref85\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: _ref86 },\n _ref87,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject67)\n )\n ),\n _ref88,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'La sua unit\\xE0 di misura \\xE8 l\\'Ampere (',\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject68)\n ),\n ').'\n )\n ),\n _ref89,\n _ref90,\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: 'Potenza elettrica' },\n _ref91,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject69)\n )\n )\n )\n ),\n Object(preact_min[\"h\"])(\n split_Split,\n { title: 'Elementi di un circuito' },\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: 'Resistore' },\n _ref92,\n _ref93,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject70)\n )\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Dove ',\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject71)\n ),\n ' \\xE8 una costante detta ',\n _ref94,\n ' con unit\\xE0 di misura Ohm (',\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject72)\n ),\n ').'\n ),\n _ref95,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject73)\n )\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject74)\n ),\n ' \\xE8 la ',\n _ref96,\n ' del materiale, e varia in base alla temperatura:'\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject75)\n )\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: 'Condensatore' },\n _ref97,\n _ref98,\n _ref99,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject76)\n )\n ),\n _ref100,\n _ref101,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject77)\n )\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Dove ',\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject78)\n ),\n ' \\xE8 la ',\n _ref102,\n ' del materiale inserito, ',\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject68)\n ),\n ' l\\'area di una armatura e ',\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject79)\n ),\n ' la distanza tra le due armature.'\n ),\n _ref103,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'La sua unit\\xE0 di misura \\xE8 il Farad (',\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject80)\n ),\n ')'\n )\n ),\n _ref104,\n _ref105\n ),\n _ref106,\n _ref107,\n Object(preact_min[\"h\"])(\n split_Split,\n { title: 'Resistenze equivalenti' },\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: 'Circuiti in serie' },\n _ref108,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject81)\n )\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: 'Circuiti in parallelo' },\n _ref109,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject82)\n )\n )\n )\n ),\n Object(preact_min[\"h\"])(\n split_Split,\n { title: 'Condensatori equivalenti' },\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: 'Circuiti in serie' },\n _ref110,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject83)\n )\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: 'Circuiti in parallelo' },\n _ref111,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject84)\n )\n )\n )\n ),\n Object(preact_min[\"h\"])(\n split_Split,\n { title: 'Magnetismo' },\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: 'Permeabilit\\xE0 magnetica dello spazio vuoto' },\n _ref112,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject85)\n ),\n ' (',\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject86)\n ),\n ')'\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: 'Campo magnetico' },\n _ref113,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Il suo simbolo \\xE8 ',\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject87)\n ),\n ', e la sua unit\\xE0 di misura \\xE8 il Tesla (',\n _ref114,\n ').'\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: 'Flusso magnetico' },\n _ref115,\n _ref116,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject88)\n )\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject89)\n )\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'La sua unit\\xE0 di misura \\xE8 il Weber (',\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject90)\n ),\n ').'\n )\n ),\n _ref117,\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: 'Legge di Amp\\xE8re' },\n _ref118,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject91)\n )\n )\n )\n ),\n Object(preact_min[\"h\"])(\n split_Split,\n { title: 'Forze magnetiche' },\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: _ref119 },\n _ref120,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject92)\n )\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Dove ',\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject93)\n ),\n ' \\xE8 l\\'intensit\\xE0 del campo magnetico e ',\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject94)\n ),\n ' la velocit\\xE0 della carica considerata.'\n ),\n _ref121,\n _ref122\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: 'Forza magnetica in un filo' },\n _ref123,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject95)\n ),\n ' ',\n _ref124\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Dove ',\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject96)\n ),\n ' \\xE8 la corrente elettrica, ',\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject97)\n ),\n ' \\xE8 un vettore che punta nella direzione di scorrimento della corrente e ha come modulo la lunghezza del conduttore.'\n )\n )\n ),\n Object(preact_min[\"h\"])(\n split_Split,\n { title: 'Campi magnetici' },\n _ref125,\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: 'Campo magnetico di un solenoide' },\n _ref126,\n _ref127,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject98)\n )\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: 'Legge di Oersted' },\n _ref128,\n _ref129,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject99)\n )\n ),\n _ref130,\n _ref131\n )\n ),\n Object(preact_min[\"h\"])(\n split_Split,\n { title: 'Induzione elettromagnetica' },\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: 'Forza elettromotrice indotta' },\n _ref132,\n _ref133,\n _ref134,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject100)\n )\n ),\n _ref135\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: 'Flusso magnetico in una spira' },\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'In un campo magnetico ',\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject87)\n ),\n ' uniforme e perpendicolare al piano di una spira di area ',\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject68)\n ),\n ', il flusso magnetico si pu\\xF2 determinare con la ',\n _ref136,\n ':'\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject101)\n )\n )\n )\n ),\n Object(preact_min[\"h\"])(\n split_Split,\n null,\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: 'Legge di Faraday-Neumann-Lenz' },\n _ref137,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject102)\n )\n ),\n _ref138\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: 'Faraday in un solenoide' },\n _ref139,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject103)\n )\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Dove ',\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject104)\n ),\n ' \\xE8 il numero delle spire del solenoide.'\n )\n ),\n _ref140\n ),\n Object(preact_min[\"h\"])(\n split_Split,\n { title: 'Elettromagnetismo' },\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: 'Onde elettromagnetiche' },\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Nel vuoto, il campo elettrico ',\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject105)\n ),\n ' e il campo magnetico ',\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject87)\n ),\n ' sono perpendicolari tra loro e la direzione di propagazione, e sono entrambe funzioni del tempo.'\n ),\n _ref141,\n _ref142,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject106)\n )\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Dove ',\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject107)\n ),\n ' \\xE8 la velocit\\xE0 delle onde (luce) nel vuoto, e a sua volta \\xE8 uguale a:'\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject108)\n )\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: 'Formula delle onde' },\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject109)\n )\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Dove ',\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject110)\n ),\n ' \\xE8 l\\'ampiezza massima che pu\\xF2 avere l\\'onda, ',\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject111)\n ),\n ' \\xE8 il vettore d\\'onda, ',\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject112)\n ),\n ' la frequenza angolare e ',\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject42)\n ),\n ' la fase.'\n )\n )\n ),\n Object(preact_min[\"h\"])(\n split_Split,\n { title: 'Spettroscopia' },\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: 'Emissione' },\n _ref143,\n _ref144,\n _ref145,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject113)\n )\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Con ',\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject114)\n ),\n ', detta costante di Rydberg, e ',\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject115)\n ),\n ' un numero intero.'\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: 'Grandezza quantizzata' },\n _ref146,\n _ref147,\n _ref148,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Nota costante quantica \\xE8 ',\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject116)\n ),\n ', la costante di Planck, ovvero il valore minimo possibile per la carica (talvolta espressa come ',\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject117)\n ),\n '.'\n )\n )\n ),\n Object(preact_min[\"h\"])(\n split_Split,\n null,\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: 'Modello di Bohr' },\n _ref149,\n _ref150,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject118)\n )\n ),\n _ref151,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject119)\n )\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Con ',\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject120)\n ),\n '.'\n ),\n _ref152,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject121)\n )\n ),\n _ref153,\n _ref154\n )\n ),\n _ref155,\n Object(preact_min[\"h\"])(\n split_Split,\n { title: 'Semiconduttori' },\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: 'Semiconduttori' },\n _ref156,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Se la banda di emissione con energia pi\\xF9 alta di un corpo \\xE8 assente o \\xE8 separata da un gap dell\\'ordine di grandezza maggiore di ',\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject122)\n ),\n ', allora il corpo \\xE8 un isolante.'\n ),\n _ref157,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Se il gap \\xE8 invece dell\\'ordine di grandezza di ',\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject123)\n ),\n ', allora il corpo \\xE8 un semiconduttore.'\n )\n ),\n _ref158,\n _ref159,\n _ref160\n ),\n Object(preact_min[\"h\"])(\n split_Split,\n { title: _ref161 },\n _ref162,\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: 'Corpo nero' },\n _ref163,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Le onde assorbite vengono poi riemesse sotto forma di un onda di ',\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject124)\n ),\n ' variabile in base alla temperatura.'\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject125)\n ),\n ' \\xE8 costante.'\n )\n ),\n _ref164,\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: 'Fotone' },\n _ref165,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject126)\n )\n )\n ),\n _ref166\n )\n );\n };\n\n return Fisica;\n}(preact_min[\"Component\"]);\n\n\n// EXTERNAL MODULE: ./pages/vldigeometria.css\nvar vldigeometria = __webpack_require__(\"jHTF\");\nvar vldigeometria_default = /*#__PURE__*/__webpack_require__.n(vldigeometria);\n\n// EXTERNAL MODULE: ./components/markdown.css\nvar markdown = __webpack_require__(\"MKE3\");\nvar markdown_default = /*#__PURE__*/__webpack_require__.n(markdown);\n\n// EXTERNAL MODULE: ../node_modules/showdown/dist/showdown.js\nvar showdown = __webpack_require__(\"6adR\");\nvar showdown_default = /*#__PURE__*/__webpack_require__.n(showdown);\n\n// CONCATENATED MODULE: ./components/markdown.js\n\n\nfunction markdown__classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction markdown__possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction markdown__inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\n\n\n\n\nvar markdown_Markdown = function (_Component) {\n markdown__inherits(Markdown, _Component);\n\n function Markdown() {\n markdown__classCallCheck(this, Markdown);\n\n return markdown__possibleConstructorReturn(this, _Component.apply(this, arguments));\n }\n\n Markdown.prototype.render = function render() {\n var converter = new showdown_default.a.Converter();\n converter.setFlavor(\"github\");\n var html = converter.makeHtml(\"\" + this.props.children);\n // noinspection CheckTagEmptyBody\n return Object(preact_min[\"h\"])(\"div\", { style: markdown_default.a.markdown, dangerouslySetInnerHTML: { __html: html } });\n };\n\n return Markdown;\n}(preact_min[\"Component\"]);\n\n\n// CONCATENATED MODULE: ./pages/vldigeometria.js\nvar vldigeometria__templateObject = vldigeometria__taggedTemplateLiteralLoose(['\\nTutte le videolezioni sono state pubblicate sotto licenza [CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/) dalla Prof.ssa Beatrice Ruini nell\\'anno accademico 2018/2019 sul [portale Dolly 2018](https://dolly.fim.unimore.it/2018/course/view.php?id=14#section-0) (Moodle).\\n\\nPer comodit\\xE0, ho estratto l\\'url sorgente del video dall\\'embed presente nella rispettiva pagina.\\n\\n1. [Definizione di Spazio Vettoriale](https://www.youtube.com/watch?v=7eHEzf4403c) (1:17:29)\\n2. [Sottospazi vettoriali I](https://www.youtube.com/watch?v=FPqrULk5HBU) (37:15)\\n3. [Sottospazi vettoriali II](https://www.youtube.com/watch?v=ubDWUw9hk0k) (43:26)\\n4. [Sottospazi vettoriali III](https://www.youtube.com/watch?v=381n4NPb6Oc) (40:29)\\n5. [Lineare dipendenza e indipendenza](https://www.youtube.com/watch?v=9YVQ5olYrh0) (56:12)\\n6. [Basi di uno spazio vettoriale I](https://www.youtube.com/watch?v=mEF_lcTzEoE) (25:52)\\n7. [Basi di uno spazio vettoriale II](https://www.youtube.com/watch?v=k1r9JfXY53k) (48:24)\\n8. [Teorema di Grassmann](https://www.youtube.com/watch?v=3sqB-MMyCWM) (32:36)\\n9. [Basi e Matrici](https://www.youtube.com/watch?v=Rd6AB_jE7YI) (27:06)\\n10. [Definizione di Applicazioni Lineari](https://www.youtube.com/watch?v=rmd7ffZeVYk) (16:23)\\n11. [Propriet\\xE0 delle Applicazioni Lineari](https://www.youtube.com/watch?v=MH7ztQGkqmw) (31:58)\\n12. [Definizione di determinante](https://www.youtube.com/watch?v=EwubcLwBdzk) (36:43)\\n13. [Propriet\\xE0 e metodo di triangolazione](https://www.youtube.com/watch?v=SFusGarV6HI) (22:36)\\n14. [Teorema di Laplace](https://www.youtube.com/watch?v=BqZDWnKl2nQ) (29:03)\\n15. [4 applicazioni del Teorema di Laplace](https://www.youtube.com/watch?v=2tr3y725GY0) (47:53)\\n16. [Spazi vettoriali euclidei reali - Parte 1](https://www.youtube.com/watch?v=W7Z1hm-jwMM) (28:46)\\n17. [Spazi vettoriali euclidei reali - Parte 2](https://www.youtube.com/watch?v=zjmKE9TMGm8) (27:17)\\n18. [Autovalori e autovettori](https://www.youtube.com/watch?v=XlrlcnvcTtQ) (33:00)\\n19. [Polinomio caratteristico](https://www.youtube.com/watch?v=61icRbgWTdI) (31:31)\\n20. [Teorema diagonalizzabilit\\xE0](https://www.youtube.com/watch?v=wm5V6en9OFo) (18:49)\\n21. [Spazi affini](https://player.vimeo.com/video/291457587) (20:46)\\n22. [Sottospazi affini](https://player.vimeo.com/video/291458991) (21:32)\\n23. [Parallelismo e Riferimenti Affini](https://player.vimeo.com/video/291510181) (16:57)\\n24. [Rappresentazione di Sottospazi Affini](https://player.vimeo.com/video/291510296) (31:17)\\n25. [Spazi Euclidei](https://player.vimeo.com/video/291510612) (35:57)\\n26. [Teoria dei ranghi](https://player.vimeo.com/video/291510964) (9:44)\\n27. [Teoria dei ranghi 2](https://player.vimeo.com/video/291510862) (14:44)\\n\\nNell\\'anno accademico 2018/2019 non sono stati trattati gli argomenti nei video 21, 22 e 23.\\n '], ['\\nTutte le videolezioni sono state pubblicate sotto licenza [CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/) dalla Prof.ssa Beatrice Ruini nell\\'anno accademico 2018/2019 sul [portale Dolly 2018](https://dolly.fim.unimore.it/2018/course/view.php?id=14#section-0) (Moodle).\\n\\nPer comodit\\xE0, ho estratto l\\'url sorgente del video dall\\'embed presente nella rispettiva pagina.\\n\\n1. [Definizione di Spazio Vettoriale](https://www.youtube.com/watch?v=7eHEzf4403c) (1:17:29)\\n2. [Sottospazi vettoriali I](https://www.youtube.com/watch?v=FPqrULk5HBU) (37:15)\\n3. [Sottospazi vettoriali II](https://www.youtube.com/watch?v=ubDWUw9hk0k) (43:26)\\n4. [Sottospazi vettoriali III](https://www.youtube.com/watch?v=381n4NPb6Oc) (40:29)\\n5. [Lineare dipendenza e indipendenza](https://www.youtube.com/watch?v=9YVQ5olYrh0) (56:12)\\n6. [Basi di uno spazio vettoriale I](https://www.youtube.com/watch?v=mEF_lcTzEoE) (25:52)\\n7. [Basi di uno spazio vettoriale II](https://www.youtube.com/watch?v=k1r9JfXY53k) (48:24)\\n8. [Teorema di Grassmann](https://www.youtube.com/watch?v=3sqB-MMyCWM) (32:36)\\n9. [Basi e Matrici](https://www.youtube.com/watch?v=Rd6AB_jE7YI) (27:06)\\n10. [Definizione di Applicazioni Lineari](https://www.youtube.com/watch?v=rmd7ffZeVYk) (16:23)\\n11. [Propriet\\xE0 delle Applicazioni Lineari](https://www.youtube.com/watch?v=MH7ztQGkqmw) (31:58)\\n12. [Definizione di determinante](https://www.youtube.com/watch?v=EwubcLwBdzk) (36:43)\\n13. [Propriet\\xE0 e metodo di triangolazione](https://www.youtube.com/watch?v=SFusGarV6HI) (22:36)\\n14. [Teorema di Laplace](https://www.youtube.com/watch?v=BqZDWnKl2nQ) (29:03)\\n15. [4 applicazioni del Teorema di Laplace](https://www.youtube.com/watch?v=2tr3y725GY0) (47:53)\\n16. [Spazi vettoriali euclidei reali - Parte 1](https://www.youtube.com/watch?v=W7Z1hm-jwMM) (28:46)\\n17. [Spazi vettoriali euclidei reali - Parte 2](https://www.youtube.com/watch?v=zjmKE9TMGm8) (27:17)\\n18. [Autovalori e autovettori](https://www.youtube.com/watch?v=XlrlcnvcTtQ) (33:00)\\n19. [Polinomio caratteristico](https://www.youtube.com/watch?v=61icRbgWTdI) (31:31)\\n20. [Teorema diagonalizzabilit\\xE0](https://www.youtube.com/watch?v=wm5V6en9OFo) (18:49)\\n21. [Spazi affini](https://player.vimeo.com/video/291457587) (20:46)\\n22. [Sottospazi affini](https://player.vimeo.com/video/291458991) (21:32)\\n23. [Parallelismo e Riferimenti Affini](https://player.vimeo.com/video/291510181) (16:57)\\n24. [Rappresentazione di Sottospazi Affini](https://player.vimeo.com/video/291510296) (31:17)\\n25. [Spazi Euclidei](https://player.vimeo.com/video/291510612) (35:57)\\n26. [Teoria dei ranghi](https://player.vimeo.com/video/291510964) (9:44)\\n27. [Teoria dei ranghi 2](https://player.vimeo.com/video/291510862) (14:44)\\n\\nNell\\'anno accademico 2018/2019 non sono stati trattati gli argomenti nei video 21, 22 e 23.\\n ']);\n\n\n\nfunction vldigeometria__taggedTemplateLiteralLoose(strings, raw) { strings.raw = raw; return strings; }\n\nfunction vldigeometria__classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction vldigeometria__possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction vldigeometria__inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\n\n\n\n\n\nvar vldigeometria_r = String.raw;\n\nvar vldigeometria__ref = Object(preact_min[\"h\"])(\n\t'h1',\n\tnull,\n\t'Videolezioni di Geometria'\n);\n\nvar vldigeometria_VlDiGeometria = function (_Component) {\n\tvldigeometria__inherits(VlDiGeometria, _Component);\n\n\tfunction VlDiGeometria() {\n\t\tvldigeometria__classCallCheck(this, VlDiGeometria);\n\n\t\treturn vldigeometria__possibleConstructorReturn(this, _Component.apply(this, arguments));\n\t}\n\n\tVlDiGeometria.prototype.render = function render() {\n\t\t//Imported from unimore-info-wiki\n\t\treturn Object(preact_min[\"h\"])(\n\t\t\t'div',\n\t\t\t{ style: vldigeometria_default.a.vldigeometria },\n\t\t\tvldigeometria__ref,\n\t\t\tObject(preact_min[\"h\"])(\n\t\t\t\tpanel_Panel,\n\t\t\t\tnull,\n\t\t\t\tObject(preact_min[\"h\"])(\n\t\t\t\t\tmarkdown_Markdown,\n\t\t\t\t\tnull,\n\t\t\t\t\tvldigeometria_r(vldigeometria__templateObject)\n\t\t\t\t)\n\t\t\t)\n\t\t);\n\t};\n\n\treturn VlDiGeometria;\n}(preact_min[\"Component\"]);\n\n\n// EXTERNAL MODULE: ./pages/mingwinstall.css\nvar mingwinstall = __webpack_require__(\"5m9J\");\nvar mingwinstall_default = /*#__PURE__*/__webpack_require__.n(mingwinstall);\n\n// CONCATENATED MODULE: ./pages/mingwinstall.js\n\n\nfunction mingwinstall__classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction mingwinstall__possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction mingwinstall__inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\n\n\n\n\nvar mingwinstall__ref = Object(preact_min[\"h\"])(\n\t'h1',\n\tnull,\n\t'Come installare MinGW'\n);\n\nvar mingwinstall__ref2 = Object(preact_min[\"h\"])(\n\tpanel_Panel,\n\tnull,\n\tObject(preact_min[\"h\"])(\n\t\t'p',\n\t\tnull,\n\t\t' Scaricate ',\n\t\tObject(preact_min[\"h\"])(\n\t\t\t'a',\n\t\t\t{ href: 'https://osdn.net/projects/mingw/downloads/68260/mingw-get-setup.exe/' },\n\t\t\t'l\\'installer ufficiale'\n\t\t),\n\t\t', ed eseguitelo.'\n\t),\n\tObject(preact_min[\"h\"])('img', { src: 'https://i.imgur.com/mDZSqjV.png', alt: '' }),\n\tObject(preact_min[\"h\"])(\n\t\t'p',\n\t\tnull,\n\t\t' Dovrebbe comparire questa schermata. Cliccate su ',\n\t\tObject(preact_min[\"h\"])(\n\t\t\t'code',\n\t\t\tnull,\n\t\t\t'Install'\n\t\t),\n\t\t', poi scegliete una cartella di installazione (ricordatevela!) e poi ',\n\t\tObject(preact_min[\"h\"])(\n\t\t\t'code',\n\t\t\tnull,\n\t\t\t'Continue'\n\t\t),\n\t\t'. Lasciate stare le altre opzioni, dovrebbero essere tutte spuntate, tranne ',\n\t\tObject(preact_min[\"h\"])(\n\t\t\t'code',\n\t\t\tnull,\n\t\t\t'For all users'\n\t\t),\n\t\t', che dovrebbe essere disattivato.'\n\t),\n\tObject(preact_min[\"h\"])('img', { src: 'https://i.imgur.com/brdw8Xy.png', alt: '' }),\n\tObject(preact_min[\"h\"])(\n\t\t'p',\n\t\tnull,\n\t\t' Aspettate che finisca il download. Pochi secondi dopo, dovrebbe finire e dovrebbe apparire un tasto',\n\t\tObject(preact_min[\"h\"])(\n\t\t\t'code',\n\t\t\tnull,\n\t\t\t'Continue'\n\t\t),\n\t\t'. Premetelo.'\n\t),\n\tObject(preact_min[\"h\"])('img', { src: 'https://i.imgur.com/aPTwrxz.png', alt: '' }),\n\tObject(preact_min[\"h\"])(\n\t\t'p',\n\t\tnull,\n\t\t' Dovrebbe apparirvi questa finestra. L\\'installer di MinGW \\xE8 una specie di gestore pacchetti (tipo ',\n\t\tObject(preact_min[\"h\"])(\n\t\t\t'code',\n\t\t\tnull,\n\t\t\t'apt'\n\t\t),\n\t\t' su Ubuntu); potete scegliere quali pacchetti installare, e quindi quali funzionalit\\xE0.'\n\t),\n\tObject(preact_min[\"h\"])('img', { src: 'https://i.imgur.com/5QLSkFN.png', alt: '' }),\n\tObject(preact_min[\"h\"])(\n\t\t'p',\n\t\tnull,\n\t\t' Nel nostro caso, dovrebbero servirci ',\n\t\tObject(preact_min[\"h\"])(\n\t\t\t'code',\n\t\t\tnull,\n\t\t\t'mingw32-base-bin'\n\t\t),\n\t\t' (per il C e alcune librerie C++) e',\n\t\tObject(preact_min[\"h\"])(\n\t\t\t'code',\n\t\t\tnull,\n\t\t\t'mingw32-gcc-g++-bin'\n\t\t),\n\t\t' (per il C++). Cliccate, quindi, sui due quadratini corrispondenti, e premete',\n\t\tObject(preact_min[\"h\"])(\n\t\t\t'code',\n\t\t\tnull,\n\t\t\t'Mark for Installation'\n\t\t),\n\t\t'. Dovrebbe comparire una freccia gialla sul quadratino.'\n\t),\n\tObject(preact_min[\"h\"])('img', { src: 'https://i.imgur.com/zP74nks.png', alt: '' }),\n\tObject(preact_min[\"h\"])(\n\t\t'p',\n\t\tnull,\n\t\t' Ora, \\xE8 il momento di installare i pacchetti. Aprite il men\\xF9 ',\n\t\tObject(preact_min[\"h\"])(\n\t\t\t'code',\n\t\t\tnull,\n\t\t\t'Installation'\n\t\t),\n\t\t', poi premete',\n\t\tObject(preact_min[\"h\"])(\n\t\t\t'code',\n\t\t\tnull,\n\t\t\t'Apply Changes'\n\t\t),\n\t\t', e di nuovo ',\n\t\tObject(preact_min[\"h\"])(\n\t\t\t'code',\n\t\t\tnull,\n\t\t\t'Apply'\n\t\t),\n\t\t'.'\n\t),\n\tObject(preact_min[\"h\"])('img', { src: 'https://i.imgur.com/jp4uz5B.png', alt: '' }),\n\tObject(preact_min[\"h\"])(\n\t\t'p',\n\t\tnull,\n\t\t' Lasciate che scarichi, ci vorr\\xE0 un po\\'. Guardatevi un video nel frattempo, fatevi una partitina a qualcosa, tornate dopo circa 10 minuti.'\n\t),\n\tObject(preact_min[\"h\"])('img', { src: 'https://i.imgur.com/Lq9IepY.png', alt: '' }),\n\tObject(preact_min[\"h\"])(\n\t\t'p',\n\t\tnull,\n\t\t' Una volta installato, dobbiamo aggiungere ',\n\t\tObject(preact_min[\"h\"])(\n\t\t\t'code',\n\t\t\tnull,\n\t\t\t'g++'\n\t\t),\n\t\t' ai programmi eseguibili da Prompt dei Comandi: premete il tasto ',\n\t\tObject(preact_min[\"h\"])(\n\t\t\t'kbd',\n\t\t\tnull,\n\t\t\t'Windows'\n\t\t),\n\t\t', e scrivete ',\n\t\tObject(preact_min[\"h\"])(\n\t\t\t'code',\n\t\t\tnull,\n\t\t\t'PATH'\n\t\t),\n\t\t'. Windows dovrebbe trovarvi automaticamente quell\\'opzione.'\n\t),\n\tObject(preact_min[\"h\"])('img', { src: 'https://i.imgur.com/dy3b5Ub.png', alt: '' }),\n\tObject(preact_min[\"h\"])(\n\t\t'p',\n\t\tnull,\n\t\t' Dentro la finestra di ',\n\t\tObject(preact_min[\"h\"])(\n\t\t\t'i',\n\t\t\tnull,\n\t\t\t'Propriet\\xE0 del Sistema'\n\t\t),\n\t\t', premete ',\n\t\tObject(preact_min[\"h\"])(\n\t\t\t'code',\n\t\t\tnull,\n\t\t\t'Variabili d\\'ambiente'\n\t\t),\n\t\t'.'\n\t),\n\tObject(preact_min[\"h\"])('img', { src: 'https://i.imgur.com/FjYpT1n.png', alt: '' }),\n\tObject(preact_min[\"h\"])(\n\t\t'p',\n\t\tnull,\n\t\t' Trovate la variabile d\\'ambiente globale ',\n\t\tObject(preact_min[\"h\"])(\n\t\t\t'code',\n\t\t\tnull,\n\t\t\t'Path'\n\t\t),\n\t\t', e fateci doppio click per modificarla.'\n\t),\n\tObject(preact_min[\"h\"])('img', { src: 'https://i.imgur.com/klZQ9So.png', alt: '' }),\n\tObject(preact_min[\"h\"])(\n\t\t'p',\n\t\tnull,\n\t\t' Ora dovreste vedere l\\'elenco di tutte le cartelle contenenti programmi eseguibili da terminale: dobbiamo aggiungere quella di MinGW! Premete ',\n\t\tObject(preact_min[\"h\"])(\n\t\t\t'code',\n\t\t\tnull,\n\t\t\t'Sfoglia'\n\t\t),\n\t\t'.'\n\t),\n\tObject(preact_min[\"h\"])('img', { src: 'https://i.imgur.com/F6lBCqS.png', alt: '' }),\n\tObject(preact_min[\"h\"])(\n\t\t'p',\n\t\tnull,\n\t\t' Trovate la cartella in cui avete installato MinGW (vi avevo detto di ricordarvela!); entrateci, poi selezionate la sottocartella ',\n\t\tObject(preact_min[\"h\"])(\n\t\t\t'code',\n\t\t\tnull,\n\t\t\t'bin'\n\t\t),\n\t\t' e premete ',\n\t\tObject(preact_min[\"h\"])(\n\t\t\t'code',\n\t\t\tnull,\n\t\t\t'OK'\n\t\t),\n\t\t' su tutte le finestre che avete aperto fino ad ora, chiudendole.'\n\t),\n\tObject(preact_min[\"h\"])(\n\t\t'p',\n\t\tnull,\n\t\t' Complimenti! Avete installato MinGW e potete compilare programmi C e C++ da Windows! Avete a disposizione',\n\t\tObject(preact_min[\"h\"])(\n\t\t\t'code',\n\t\t\tnull,\n\t\t\t'gcc'\n\t\t),\n\t\t' e ',\n\t\tObject(preact_min[\"h\"])(\n\t\t\t'code',\n\t\t\tnull,\n\t\t\t'g++'\n\t\t),\n\t\t' sul Prompt dei Comandi, e potete finalmente creare dei file .exe! '\n\t)\n);\n\nvar mingwinstall_MingwInstall = function (_Component) {\n\tmingwinstall__inherits(MingwInstall, _Component);\n\n\tfunction MingwInstall() {\n\t\tmingwinstall__classCallCheck(this, MingwInstall);\n\n\t\treturn mingwinstall__possibleConstructorReturn(this, _Component.apply(this, arguments));\n\t}\n\n\tMingwInstall.prototype.render = function render() {\n\t\t//Imported from unimore-info-wiki\n\t\treturn Object(preact_min[\"h\"])(\n\t\t\t'div',\n\t\t\t{ style: mingwinstall_default.a.mingwinstall },\n\t\t\tmingwinstall__ref,\n\t\t\tmingwinstall__ref2\n\t\t);\n\t};\n\n\treturn MingwInstall;\n}(preact_min[\"Component\"]);\n\n\n// EXTERNAL MODULE: ./components/copyright.css\nvar copyright = __webpack_require__(\"qMTX\");\nvar copyright_default = /*#__PURE__*/__webpack_require__.n(copyright);\n\n// CONCATENATED MODULE: ./components/copyright.js\n\n\nfunction copyright__classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction copyright__possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction copyright__inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\n\n\n\nvar copyright__ref = Object(preact_min[\"h\"])(\n\t'a',\n\t{ href: 'https://creativecommons.org/licenses/by-sa/4.0/' },\n\t'CC BY-SA 4.0'\n);\n\nvar copyright__ref2 = Object(preact_min[\"h\"])(\n\t'a',\n\t{ href: 'https://github.com/Steffo99/appuntiweb' },\n\t'Codice sorgente'\n);\n\nvar copyright_Copyright = function (_Component) {\n\tcopyright__inherits(Copyright, _Component);\n\n\tfunction Copyright() {\n\t\tcopyright__classCallCheck(this, Copyright);\n\n\t\treturn copyright__possibleConstructorReturn(this, _Component.apply(this, arguments));\n\t}\n\n\tCopyright.prototype.render = function render() {\n\t\treturn Object(preact_min[\"h\"])(\n\t\t\t'div',\n\t\t\t{ 'class': copyright_default.a.copyright },\n\t\t\t'\\xA9 2019 - Stefano Pigozzi - ',\n\t\t\tcopyright__ref,\n\t\t\t' - ',\n\t\t\tcopyright__ref2\n\t\t);\n\t};\n\n\treturn Copyright;\n}(preact_min[\"Component\"]);\n\n\n// EXTERNAL MODULE: ./pages/statistica.css\nvar statistica = __webpack_require__(\"WViY\");\nvar statistica_default = /*#__PURE__*/__webpack_require__.n(statistica);\n\n// CONCATENATED MODULE: ./pages/statistica.js\nvar statistica__templateObject = statistica__taggedTemplateLiteralLoose(['Omega = left { 1, 2, 3, 4, 5, 6 \\right }'], ['\\\\Omega = \\\\left \\\\{ 1, 2, 3, 4, 5, 6 \\\\right \\\\}']),\n statistica__templateObject2 = statistica__taggedTemplateLiteralLoose(['omega = 1'], ['\\\\omega = 1']),\n statistica__templateObject3 = statistica__taggedTemplateLiteralLoose(['E = left { 1, 2 \\right }'], ['E = \\\\left \\\\{ 1, 2 \\\\right \\\\}']),\n statistica__templateObject4 = statistica__taggedTemplateLiteralLoose(['\\bar{E} = left { 3, 4, 5, 6 \\right }'], ['\\\\bar{E} = \\\\left \\\\{ 3, 4, 5, 6 \\\\right \\\\}']),\n statistica__templateObject5 = statistica__taggedTemplateLiteralLoose(['E cap F = left { 1 \\right }'], ['E \\\\cap F = \\\\left \\\\{ 1 \\\\right \\\\}']),\n statistica__templateObject6 = statistica__taggedTemplateLiteralLoose(['E cup F = left { 1, 2, 3, 4 \\right }'], ['E \\\\cup F = \\\\left \\\\{ 1, 2, 3, 4 \\\\right \\\\}']),\n statistica__templateObject7 = statistica__taggedTemplateLiteralLoose(['E setminus F = E cap \\bar{F}'], ['E \\\\setminus F = E \\\\cap \\\\bar{F}']),\n statistica__templateObject8 = statistica__taggedTemplateLiteralLoose(['E subseteq F'], ['E \\\\subseteq F']),\n statistica__templateObject9 = statistica__taggedTemplateLiteralLoose(['I = emptyset'], ['I = \\\\emptyset']),\n statistica__templateObject10 = statistica__taggedTemplateLiteralLoose(['E cap F = emptyset'], ['E \\\\cap F = \\\\emptyset']),\n statistica__templateObject11 = statistica__taggedTemplateLiteralLoose(['mathcal{F}'], ['\\\\mathcal{F}']),\n statistica__templateObject12 = statistica__taggedTemplateLiteralLoose(['sigma'], ['\\\\sigma']),\n statistica__templateObject13 = statistica__taggedTemplateLiteralLoose(['Omega in mathcal{F}'], ['\\\\Omega \\\\in \\\\mathcal{F}']),\n statistica__templateObject14 = statistica__taggedTemplateLiteralLoose(['E in mathcal{F} implies \\bar{E} in mathcal{F}'], ['E \\\\in \\\\mathcal{F} \\\\implies \\\\bar{E} \\\\in \\\\mathcal{F}']),\n statistica__templateObject15 = statistica__taggedTemplateLiteralLoose(['(E, F) in mathcal{F} implies (E cup F, E cap F) in mathcal{F}'], ['(E, F) \\\\in \\\\mathcal{F} \\\\implies (E \\\\cup F, E \\\\cap F) \\\\in \\\\mathcal{F}']),\n statistica__templateObject16 = statistica__taggedTemplateLiteralLoose(['E in mathcal{F} implies mathcal{F} = { emptyset, E, \\bar{E}, Omega }'], ['E \\\\in \\\\mathcal{F} \\\\implies \\\\mathcal{F} = \\\\{ \\\\emptyset, E, \\\\bar{E}, \\\\Omega \\\\}']),\n statistica__templateObject17 = statistica__taggedTemplateLiteralLoose(['P(E) = \\frac{casi favorevoli}{casi possibili}'], ['P(E) = \\\\frac{casi\\\\ favorevoli}{casi\\\\ possibili}']),\n statistica__templateObject18 = statistica__taggedTemplateLiteralLoose(['P(E) = \\frac{successi}{prove totali}'], ['P(E) = \\\\frac{successi}{prove\\\\ totali}']),\n statistica__templateObject19 = statistica__taggedTemplateLiteralLoose(['\\forall E in mathcal{F}, 0 leq P(E) leq 1'], ['\\\\forall E \\\\in \\\\mathcal{F}, 0 \\\\leq P(E) \\\\leq 1']),\n statistica__templateObject20 = statistica__taggedTemplateLiteralLoose(['P(Omega) = 1'], ['P(\\\\Omega) = 1']),\n statistica__templateObject21 = statistica__taggedTemplateLiteralLoose(['P left ( \\bigcup_i E_i \\right ) = sum_i P ( E_i )'], ['P \\\\left ( \\\\bigcup_i E_i \\\\right ) = \\\\sum_i P ( E_i )']),\n statistica__templateObject22 = statistica__taggedTemplateLiteralLoose(['P(\\bar{E}) = 1 - P(\\bar{E})'], ['P(\\\\bar{E}) = 1 - P(\\\\bar{E})']),\n statistica__templateObject23 = statistica__taggedTemplateLiteralLoose(['F subseteq E implies P(F) leq P(E)'], ['F \\\\subseteq E \\\\implies P(F) \\\\leq P(E)']),\n statistica__templateObject24 = statistica__taggedTemplateLiteralLoose(['P(E cup F) = P(E) + P(F) - P(E cap F)'], ['P(E \\\\cup F) = P(E) + P(F) - P(E \\\\cap F)']),\n statistica__templateObject25 = statistica__taggedTemplateLiteralLoose(['P(E) = \\frac{len(E)}{len(Omega)}'], ['P(E) = \\\\frac{len(E)}{len(\\\\Omega)}']);\n\n\n\nfunction statistica__taggedTemplateLiteralLoose(strings, raw) { strings.raw = raw; return strings; }\n\nfunction statistica__classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction statistica__possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction statistica__inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\n\n\n\n\n\n\n\n\n\nvar statistica_r = String.raw;\n\nvar statistica__ref = Object(preact_min[\"h\"])(\n 'h1',\n null,\n 'Statistica ed Elementi di Probabilit\\xE0'\n);\n\nvar statistica__ref2 = Object(preact_min[\"h\"])(\n split_Split,\n { title: \"Popolazioni\" },\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: \"Popolazione\", id: \"popolazione\" },\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Gruppo ',\n Object(preact_min[\"h\"])(\n 'b',\n null,\n 'intero'\n ),\n ' di oggetti di cui si cercano informazioni.'\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: \"Popolazione tangibile\" },\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Popolazione finita di oggetti concreti che possono essere campionati ciascuno solo una volta.'\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: \"Popolazione concettuale\" },\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Popolazione di valori ottenuti da prove sperimentali indipendenti ripetute pi\\xF9 volte.'\n )\n )\n);\n\nvar statistica__ref3 = Object(preact_min[\"h\"])(\n split_Split,\n { title: \"Campionamento\" },\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: \"Campione\" },\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Sottoinsieme della ',\n Object(preact_min[\"h\"])(\n 'a',\n { href: \"#popolazione\" },\n 'popolazione'\n ),\n ' che contiene gli oggetti che si sono osservati.'\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: Object(preact_min[\"h\"])(\n 'i',\n null,\n 'Simple random sample'\n ) },\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Campione di una data dimensione in cui qualsiasi selezione di ',\n Object(preact_min[\"h\"])(\n 'i',\n null,\n 'n'\n ),\n ' elementi ha la stessa probabilit\\xE0 di costituire il campione.'\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: Object(preact_min[\"h\"])(\n 'i',\n null,\n 'Sample of convenience'\n ) },\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Campione ottenuto in un modo casuale non ben definito.'\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: Object(preact_min[\"h\"])(\n 'i',\n null,\n 'Sample with replacement'\n ) },\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Campione ottenuto sostituendo nella popolazione gli elementi estratti con dei nuovi elementi.'\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Dire che un campione \\xE8 ottenuto ',\n Object(preact_min[\"h\"])(\n 'i',\n null,\n 'with replacement'\n ),\n ' \\xE8 equivalente a dire che la popolazione che si sta campionando \\xE8 infinita, e quindi che tutti gli elementi sono indipendenti.'\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: \"Campione pesato\" },\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Campione ottenuto da una popolazione in cui certi elementi hanno pi\\xF9 probabilit\\xE0 di essere stati selezionati di altri.'\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: Object(preact_min[\"h\"])(\n 'i',\n null,\n 'Stratified random sample'\n ) },\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Campione ottenuto da un sottoinsieme della popolazione detto ',\n Object(preact_min[\"h\"])(\n 'i',\n null,\n 'strato'\n ),\n '.'\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: Object(preact_min[\"h\"])(\n 'i',\n null,\n 'Cluster sample'\n ) },\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Campione ottenuto selezionando pi\\xF9 ',\n Object(preact_min[\"h\"])(\n 'i',\n null,\n 'cluster'\n ),\n ' di elementi alla volta.'\n )\n )\n);\n\nvar statistica__ref4 = Object(preact_min[\"h\"])(\n split_Split,\n null,\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: Object(preact_min[\"h\"])(\n 'i',\n null,\n 'Sampling variation'\n ) },\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Differenza di informazioni presente tra due campioni diversi della stessa popolazione.'\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: \"Indipendenza\" },\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Gli elementi in un campione sono indipendenti se gli elementi estratti in precedenza non influsicono ',\n Object(preact_min[\"h\"])(\n 'small',\n null,\n 'significativamente'\n ),\n ' sulle probabilit\\xE0 di estrazione dell\\'elemento successivo.'\n )\n )\n);\n\nvar statistica__ref5 = Object(preact_min[\"h\"])(\n split_Split,\n { title: \"Tipi di prove sperimentali\" },\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: \"A campione singolo\" },\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Esperimento in cui c\\'\\xE8 una sola popolazione da cui vengono estratti campioni.'\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Serve per verificare delle condizioni.'\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: \"Multicampione\" },\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Esperimento in cui sono presenti pi\\xF9 popolazioni (aventi caratteristiche differenti una dall\\'altra dette ',\n Object(preact_min[\"h\"])(\n 'i',\n null,\n 'fattori'\n ),\n ') da cui vengono estratti campioni.'\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Serve per capire quali fattori influenzano il risultato dell\\'esperimento.'\n )\n )\n);\n\nvar statistica__ref6 = Object(preact_min[\"h\"])(\n split_Split,\n { title: \"Tipi di dato\" },\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: Object(preact_min[\"h\"])(\n 'span',\n null,\n 'Numerico',\n Object(preact_min[\"h\"])(\n 'small',\n null,\n ' o quantitativo'\n )\n ) },\n 'Il dato descrive un valore numerico relativo all\\'elemento, come ad esempio una quantit\\xE0 fisica.'\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: Object(preact_min[\"h\"])(\n 'span',\n null,\n 'Categorico',\n Object(preact_min[\"h\"])(\n 'small',\n null,\n ' o qualitativo'\n )\n ) },\n 'Il dato indica una categoria a cui appartiene l\\'elemento, come ad esempio il suo colore.'\n )\n);\n\nvar statistica__ref7 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'L\\'',\n Object(preact_min[\"h\"])(\n 'b',\n null,\n 'insieme'\n ),\n ' di tutti gli esiti possibili di un esperimento.'\n);\n\nvar statistica__ref8 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Uno dei possibili risultati di un esperimento.'\n);\n\nvar statistica__ref9 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'E\\' un ',\n Object(preact_min[\"h\"])(\n 'b',\n null,\n 'elemento'\n ),\n ' dello spazio campionario.'\n);\n\nvar statistica__ref10 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Un ',\n Object(preact_min[\"h\"])(\n 'b',\n null,\n 'sottoinsieme'\n ),\n ' dello spazio campionario.'\n);\n\nvar statistica__ref11 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Lo spazio campionario stesso \\xE8 un ',\n Object(preact_min[\"h\"])(\n 'b',\n null,\n 'evento certo'\n ),\n '.'\n);\n\nvar statistica__ref12 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Il ',\n Object(preact_min[\"h\"])(\n 'b',\n null,\n 'complementare'\n ),\n ' di un sottoinsieme.'\n);\n\nvar statistica__ref13 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'L\\'',\n Object(preact_min[\"h\"])(\n 'b',\n null,\n 'intersezione'\n ),\n ' di pi\\xF9 sottoinsiemi.'\n);\n\nvar statistica__ref14 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'L\\'',\n Object(preact_min[\"h\"])(\n 'b',\n null,\n 'unione'\n ),\n ' di pi\\xF9 sottoinsiemi.'\n);\n\nvar statistica__ref15 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'L\\'',\n Object(preact_min[\"h\"])(\n 'b',\n null,\n 'inclusione'\n ),\n ' del primo insieme in un altro.'\n);\n\nvar statistica__ref16 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Se si verifica ',\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n 'E'\n ),\n ', allora si verifica anche ',\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n 'F'\n ),\n '.'\n);\n\nvar statistica__ref17 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Un sottoinsieme ',\n Object(preact_min[\"h\"])(\n 'b',\n null,\n 'vuoto'\n ),\n '.'\n);\n\nvar statistica__ref18 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'La ',\n Object(preact_min[\"h\"])(\n 'b',\n null,\n 'disgiunzione'\n ),\n ' di due insiemi.'\n);\n\nvar statistica__ref19 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'I sottoinsiemi dello spazio campionario formano una ',\n Object(preact_min[\"h\"])(\n 'b',\n null,\n 'famiglia'\n ),\n ' di sottoinsiemi detta ',\n Object(preact_min[\"h\"])(\n 'i',\n null,\n 'famiglia degli eventi'\n ),\n '.'\n);\n\nvar statistica__ref20 = Object(preact_min[\"h\"])(\n panel_Panel,\n { title: \"Soggettiva\" },\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n todo_Todo,\n null,\n 'TODO: Trovare un\\'espressione decente'\n )\n )\n);\n\nvar statistica__ref21 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'La probabilit\\xE0 di un evento \\xE8 un numero tra 0 e 1.'\n);\n\nvar statistica__ref22 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'La probabilit\\xE0 dello spazio campionario \\xE8 sempre 1.'\n);\n\nvar statistica__ref23 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'La probabilit\\xE0 dell\\'unione di eventi indipendenti \\xE8 uguale alla somma delle loro probabilit\\xE0.'\n);\n\nvar statistica__ref24 = Object(preact_min[\"h\"])(\n panel_Panel,\n { title: \"Cosa sono?\" },\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Spazi campionari in cui ci sono un numero finito di esiti e ogni esito ha la stessa probabilit\\xE0 di verificarsi.'\n )\n);\n\nvar statistica__ref25 = Object(preact_min[\"h\"])(\n split_Split,\n null,\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: \"Disposizioni\" },\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Estraggo un numero, mi segno che numero ho estratto e lo ',\n Object(preact_min[\"h\"])(\n 'b',\n null,\n 'tengo fuori dal sacchetto'\n ),\n '.'\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n 'b',\n null,\n 'Tengo conto'\n ),\n ' dell\\'ordine in cui ho estratto i numeri.'\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: \"Disposizioni con ripetizione\" },\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Estraggo un numero, mi segno che numero ho estratto e lo ',\n Object(preact_min[\"h\"])(\n 'b',\n null,\n 'rimetto nel sacchetto'\n ),\n '.'\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n 'b',\n null,\n 'Tengo conto'\n ),\n ' dell\\'ordine in cui ho estratto i numeri.'\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: \"Combinazioni\" },\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Estraggo un numero, mi segno che numero ho estratto e lo ',\n Object(preact_min[\"h\"])(\n 'b',\n null,\n 'tengo fuori dal sacchetto'\n ),\n '.'\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n 'b',\n null,\n 'Non mi interessa'\n ),\n ' l\\'ordine in cui ho estratto i numeri.'\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: \"Combinazioni con ripetizione\" },\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Estraggo un numero, mi segno che numero ho estratto e lo ',\n Object(preact_min[\"h\"])(\n 'b',\n null,\n 'rimetto nel sacchetto'\n ),\n '.'\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n 'b',\n null,\n 'Non mi interessa'\n ),\n ' l\\'ordine in cui ho estratto i numeri.'\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: \"Permutazioni\" },\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Estraggo N numeri e guardo in quanti ordini diversi li posso mettere.'\n )\n )\n);\n\nvar statistica_Statistica = function (_Component) {\n statistica__inherits(Statistica, _Component);\n\n function Statistica() {\n statistica__classCallCheck(this, Statistica);\n\n return statistica__possibleConstructorReturn(this, _Component.apply(this, arguments));\n }\n\n Statistica.prototype.render = function render() {\n return Object(preact_min[\"h\"])(\n 'div',\n { style: statistica_default.a.statistica },\n statistica__ref,\n statistica__ref2,\n statistica__ref3,\n statistica__ref4,\n statistica__ref5,\n statistica__ref6,\n Object(preact_min[\"h\"])(\n split_Split,\n { title: \"Linguaggio matematico\" },\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: \"Spazio campionario\" },\n statistica__ref7,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n statistica_r(statistica__templateObject)\n )\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: \"Esito\" },\n statistica__ref8,\n statistica__ref9,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n statistica_r(statistica__templateObject2)\n ),\n ' \"omeghino\"'\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: \"Evento\" },\n statistica__ref10,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n statistica_r(statistica__templateObject3)\n )\n ),\n statistica__ref11\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: \"NOT\" },\n statistica__ref12,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n statistica_r(statistica__templateObject4)\n )\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: \"AND\" },\n statistica__ref13,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n statistica_r(statistica__templateObject5)\n )\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: \"OR\" },\n statistica__ref14,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n statistica_r(statistica__templateObject6)\n )\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: \"Differenza\" },\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n statistica_r(statistica__templateObject7)\n )\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: \"Implicazione\" },\n statistica__ref15,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n statistica_r(statistica__templateObject8)\n )\n ),\n statistica__ref16\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: \"Evento impossibile\" },\n statistica__ref17,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n statistica_r(statistica__templateObject9)\n )\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: \"Mutua esclusione\" },\n statistica__ref18,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n statistica_r(statistica__templateObject10)\n )\n )\n )\n ),\n Object(preact_min[\"h\"])(\n split_Split,\n { title: \"Famiglia degli eventi\" },\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: \"Famiglia\" },\n statistica__ref19,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n statistica_r(statistica__templateObject11)\n ),\n ' (\"effe\")'\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Qualsiasi sottoinsieme appartenente a ',\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n statistica_r(statistica__templateObject11)\n ),\n ' \\xE8 considerato un evento.'\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: Object(preact_min[\"h\"])(\n 'span',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n statistica_r(statistica__templateObject12)\n ),\n '-algebra'\n ) },\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Se la famiglia degli eventi soddisfa questi tre requisiti, allora viene detta ',\n Object(preact_min[\"h\"])(\n 'span',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n statistica_r(statistica__templateObject12)\n ),\n '-algebra'\n ),\n ':'\n ),\n Object(preact_min[\"h\"])(\n 'ol',\n null,\n Object(preact_min[\"h\"])(\n 'li',\n null,\n 'Lo spazio campionario \\xE8 un evento: ',\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n statistica_r(statistica__templateObject13)\n )\n ),\n Object(preact_min[\"h\"])(\n 'li',\n null,\n 'Se un sottoinsieme \\xE8 un evento, allora anche il suo complementare lo \\xE8: ',\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n statistica_r(statistica__templateObject14)\n )\n ),\n Object(preact_min[\"h\"])(\n 'li',\n null,\n 'Se due sottoinsiemi sono eventi, allora lo sono anche la loro unione e intersezione: ',\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n statistica_r(statistica__templateObject15)\n )\n )\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Un esempio: ',\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n statistica_r(statistica__templateObject16)\n )\n )\n )\n ),\n Object(preact_min[\"h\"])(\n split_Split,\n { title: \"Tipi di probabilità\" },\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: \"Classica\" },\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n statistica_r(statistica__templateObject17)\n )\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: \"Frequentista\" },\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n statistica_r(statistica__templateObject18)\n )\n )\n ),\n statistica__ref20\n ),\n Object(preact_min[\"h\"])(\n split_Split,\n { title: \"Assiomi della probabilità\" },\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: \"Primo\" },\n statistica__ref21,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n statistica_r(statistica__templateObject19)\n )\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: \"Secondo\" },\n statistica__ref22,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n statistica_r(statistica__templateObject20)\n )\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: \"Terzo\" },\n statistica__ref23,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n statistica_r(statistica__templateObject21)\n )\n )\n )\n ),\n Object(preact_min[\"h\"])(\n split_Split,\n { title: \"Conseguenze degli assiomi\" },\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: \"NOT\" },\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n statistica_r(statistica__templateObject22)\n )\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: \"Inclusione\" },\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n statistica_r(statistica__templateObject23)\n )\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: \"Unione\" },\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n statistica_r(statistica__templateObject24)\n )\n )\n )\n ),\n Object(preact_min[\"h\"])(\n split_Split,\n { title: \"Spazi equiprobabili\" },\n statistica__ref24,\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: \"Probabilità\" },\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n statistica_r(statistica__templateObject25)\n )\n )\n )\n ),\n statistica__ref25\n );\n };\n\n return Statistica;\n}(preact_min[\"Component\"]);\n\n\n// CONCATENATED MODULE: ./index.js\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return App; });\n\n\nfunction index__classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction index__possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction index__inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\n\n\n\n\n\n\n\n\n\n\n\n// noinspection JSUnusedGlobalSymbols\n\nvar index__ref = Object(preact_min[\"h\"])(\n\t'div',\n\t{ id: 'app' },\n\tObject(preact_min[\"h\"])(\n\t\t'h1',\n\t\tnull,\n\t\tObject(preact_min[\"h\"])(\n\t\t\t'a',\n\t\t\t{ href: '/' },\n\t\t\t'Appuntiweb'\n\t\t),\n\t\t' ',\n\t\tObject(preact_min[\"h\"])(\n\t\t\t'small',\n\t\t\tnull,\n\t\t\t'di ',\n\t\t\tObject(preact_min[\"h\"])(\n\t\t\t\t'a',\n\t\t\t\t{ href: 'https://steffo.eu/' },\n\t\t\t\t'Steffo'\n\t\t\t)\n\t\t)\n\t),\n\tObject(preact_min[\"h\"])(\n\t\tpreact_router_es,\n\t\tnull,\n\t\tObject(preact_min[\"h\"])(home_Home, { path: '/' }),\n\t\tObject(preact_min[\"h\"])(fisica_Fisica, { path: '/fisica' }),\n\t\tObject(preact_min[\"h\"])(vldigeometria_VlDiGeometria, { path: '/vldigeometria' }),\n\t\tObject(preact_min[\"h\"])(mingwinstall_MingwInstall, { path: '/mingwinstall' }),\n\t\tObject(preact_min[\"h\"])(statistica_Statistica, { path: '/statistica' })\n\t),\n\tObject(preact_min[\"h\"])(copyright_Copyright, null)\n);\n\nvar App = function (_Component) {\n\tindex__inherits(App, _Component);\n\n\tfunction App() {\n\t\tindex__classCallCheck(this, App);\n\n\t\treturn index__possibleConstructorReturn(this, _Component.apply(this, arguments));\n\t}\n\n\tApp.prototype.render = function render() {\n\t\treturn index__ref;\n\t};\n\n\treturn App;\n}(preact_min[\"Component\"]);\n\n\n\n/***/ }),\n\n/***/ \"KM04\":\n/***/ (function(module, exports, __webpack_require__) {\n\n!function () {\n \"use strict\";\n function e(e, t) {\n var n,\n o,\n r,\n i,\n l = W;for (i = arguments.length; i-- > 2;) {\n P.push(arguments[i]);\n }t && null != t.children && (P.length || P.push(t.children), delete t.children);while (P.length) {\n if ((o = P.pop()) && void 0 !== o.pop) for (i = o.length; i--;) {\n P.push(o[i]);\n } else \"boolean\" == typeof o && (o = null), (r = \"function\" != typeof e) && (null == o ? o = \"\" : \"number\" == typeof o ? o += \"\" : \"string\" != typeof o && (r = !1)), r && n ? l[l.length - 1] += o : l === W ? l = [o] : l.push(o), n = r;\n }var a = new T();return a.nodeName = e, a.children = l, a.attributes = null == t ? void 0 : t, a.key = null == t ? void 0 : t.key, void 0 !== M.vnode && M.vnode(a), a;\n }function t(e, t) {\n for (var n in t) {\n e[n] = t[n];\n }return e;\n }function n(e, t) {\n e && (\"function\" == typeof e ? e(t) : e.current = t);\n }function o(n, o) {\n return e(n.nodeName, t(t({}, n.attributes), o), arguments.length > 2 ? [].slice.call(arguments, 2) : n.children);\n }function r(e) {\n !e.__d && (e.__d = !0) && 1 == V.push(e) && (M.debounceRendering || D)(i);\n }function i() {\n var e;while (e = V.pop()) {\n e.__d && x(e);\n }\n }function l(e, t, n) {\n return \"string\" == typeof t || \"number\" == typeof t ? void 0 !== e.splitText : \"string\" == typeof t.nodeName ? !e._componentConstructor && a(e, t.nodeName) : n || e._componentConstructor === t.nodeName;\n }function a(e, t) {\n return e.__n === t || e.nodeName.toLowerCase() === t.toLowerCase();\n }function u(e) {\n var n = t({}, e.attributes);n.children = e.children;var o = e.nodeName.defaultProps;if (void 0 !== o) for (var r in o) {\n void 0 === n[r] && (n[r] = o[r]);\n }return n;\n }function c(e, t) {\n var n = t ? document.createElementNS(\"http://www.w3.org/2000/svg\", e) : document.createElement(e);return n.__n = e, n;\n }function p(e) {\n var t = e.parentNode;t && t.removeChild(e);\n }function s(e, t, o, r, i) {\n if (\"className\" === t && (t = \"class\"), \"key\" === t) ;else if (\"ref\" === t) n(o, null), n(r, e);else if (\"class\" !== t || i) {\n if (\"style\" === t) {\n if (r && \"string\" != typeof r && \"string\" != typeof o || (e.style.cssText = r || \"\"), r && \"object\" == typeof r) {\n if (\"string\" != typeof o) for (var l in o) {\n l in r || (e.style[l] = \"\");\n }for (var l in r) {\n e.style[l] = \"number\" == typeof r[l] && !1 === E.test(l) ? r[l] + \"px\" : r[l];\n }\n }\n } else if (\"dangerouslySetInnerHTML\" === t) r && (e.innerHTML = r.__html || \"\");else if (\"o\" == t[0] && \"n\" == t[1]) {\n var a = t !== (t = t.replace(/Capture$/, \"\"));t = t.toLowerCase().substring(2), r ? o || e.addEventListener(t, _, a) : e.removeEventListener(t, _, a), (e.__l || (e.__l = {}))[t] = r;\n } else if (\"list\" !== t && \"type\" !== t && !i && t in e) {\n try {\n e[t] = null == r ? \"\" : r;\n } catch (e) {}null != r && !1 !== r || \"spellcheck\" == t || e.removeAttribute(t);\n } else {\n var u = i && t !== (t = t.replace(/^xlink:?/, \"\"));null == r || !1 === r ? u ? e.removeAttributeNS(\"http://www.w3.org/1999/xlink\", t.toLowerCase()) : e.removeAttribute(t) : \"function\" != typeof r && (u ? e.setAttributeNS(\"http://www.w3.org/1999/xlink\", t.toLowerCase(), r) : e.setAttribute(t, r));\n }\n } else e.className = r || \"\";\n }function _(e) {\n return this.__l[e.type](M.event && M.event(e) || e);\n }function f() {\n var e;while (e = A.shift()) {\n M.afterMount && M.afterMount(e), e.componentDidMount && e.componentDidMount();\n }\n }function d(e, t, n, o, r, i) {\n H++ || (R = null != r && void 0 !== r.ownerSVGElement, B = null != e && !(\"__preactattr_\" in e));var l = h(e, t, n, o, i);return r && l.parentNode !== r && r.appendChild(l), --H || (B = !1, i || f()), l;\n }function h(e, t, n, o, r) {\n var i = e,\n l = R;if (null != t && \"boolean\" != typeof t || (t = \"\"), \"string\" == typeof t || \"number\" == typeof t) return e && void 0 !== e.splitText && e.parentNode && (!e._component || r) ? e.nodeValue != t && (e.nodeValue = t) : (i = document.createTextNode(t), e && (e.parentNode && e.parentNode.replaceChild(i, e), v(e, !0))), i.__preactattr_ = !0, i;var u = t.nodeName;if (\"function\" == typeof u) return N(e, t, n, o);if (R = \"svg\" === u || \"foreignObject\" !== u && R, u += \"\", (!e || !a(e, u)) && (i = c(u, R), e)) {\n while (e.firstChild) {\n i.appendChild(e.firstChild);\n }e.parentNode && e.parentNode.replaceChild(i, e), v(e, !0);\n }var p = i.firstChild,\n s = i.__preactattr_,\n _ = t.children;if (null == s) {\n s = i.__preactattr_ = {};for (var f = i.attributes, d = f.length; d--;) {\n s[f[d].name] = f[d].value;\n }\n }return !B && _ && 1 === _.length && \"string\" == typeof _[0] && null != p && void 0 !== p.splitText && null == p.nextSibling ? p.nodeValue != _[0] && (p.nodeValue = _[0]) : (_ && _.length || null != p) && m(i, _, n, o, B || null != s.dangerouslySetInnerHTML), y(i, t.attributes, s), R = l, i;\n }function m(e, t, n, o, r) {\n var i,\n a,\n u,\n c,\n s,\n _ = e.childNodes,\n f = [],\n d = {},\n m = 0,\n b = 0,\n y = _.length,\n g = 0,\n w = t ? t.length : 0;if (0 !== y) for (var C = 0; C < y; C++) {\n var x = _[C],\n N = x.__preactattr_,\n k = w && N ? x._component ? x._component.__k : N.key : null;null != k ? (m++, d[k] = x) : (N || (void 0 !== x.splitText ? !r || x.nodeValue.trim() : r)) && (f[g++] = x);\n }if (0 !== w) for (var C = 0; C < w; C++) {\n c = t[C], s = null;var k = c.key;if (null != k) m && void 0 !== d[k] && (s = d[k], d[k] = void 0, m--);else if (b < g) for (i = b; i < g; i++) {\n if (void 0 !== f[i] && l(a = f[i], c, r)) {\n s = a, f[i] = void 0, i === g - 1 && g--, i === b && b++;break;\n }\n }s = h(s, c, n, o), u = _[C], s && s !== e && s !== u && (null == u ? e.appendChild(s) : s === u.nextSibling ? p(u) : e.insertBefore(s, u));\n }if (m) for (var C in d) {\n void 0 !== d[C] && v(d[C], !1);\n }while (b <= g) {\n void 0 !== (s = f[g--]) && v(s, !1);\n }\n }function v(e, t) {\n var o = e._component;o ? k(o) : (null != e.__preactattr_ && n(e.__preactattr_.ref, null), !1 !== t && null != e.__preactattr_ || p(e), b(e));\n }function b(e) {\n e = e.lastChild;while (e) {\n var t = e.previousSibling;v(e, !0), e = t;\n }\n }function y(e, t, n) {\n var o;for (o in n) {\n t && null != t[o] || null == n[o] || s(e, o, n[o], n[o] = void 0, R);\n }for (o in t) {\n \"children\" === o || \"innerHTML\" === o || o in n && t[o] === (\"value\" === o || \"checked\" === o ? e[o] : n[o]) || s(e, o, n[o], n[o] = t[o], R);\n }\n }function g(e, t, n) {\n var o,\n r = F.length;e.prototype && e.prototype.render ? (o = new e(t, n), U.call(o, t, n)) : (o = new U(t, n), o.constructor = e, o.render = w);while (r--) {\n if (F[r].constructor === e) return o.__b = F[r].__b, F.splice(r, 1), o;\n }return o;\n }function w(e, t, n) {\n return this.constructor(e, n);\n }function C(e, t, o, i, l) {\n e.__x || (e.__x = !0, e.__r = t.ref, e.__k = t.key, delete t.ref, delete t.key, void 0 === e.constructor.getDerivedStateFromProps && (!e.base || l ? e.componentWillMount && e.componentWillMount() : e.componentWillReceiveProps && e.componentWillReceiveProps(t, i)), i && i !== e.context && (e.__c || (e.__c = e.context), e.context = i), e.__p || (e.__p = e.props), e.props = t, e.__x = !1, 0 !== o && (1 !== o && !1 === M.syncComponentUpdates && e.base ? r(e) : x(e, 1, l)), n(e.__r, e));\n }function x(e, n, o, r) {\n if (!e.__x) {\n var i,\n l,\n a,\n c = e.props,\n p = e.state,\n s = e.context,\n _ = e.__p || c,\n h = e.__s || p,\n m = e.__c || s,\n b = e.base,\n y = e.__b,\n w = b || y,\n N = e._component,\n U = !1,\n S = m;if (e.constructor.getDerivedStateFromProps && (p = t(t({}, p), e.constructor.getDerivedStateFromProps(c, p)), e.state = p), b && (e.props = _, e.state = h, e.context = m, 2 !== n && e.shouldComponentUpdate && !1 === e.shouldComponentUpdate(c, p, s) ? U = !0 : e.componentWillUpdate && e.componentWillUpdate(c, p, s), e.props = c, e.state = p, e.context = s), e.__p = e.__s = e.__c = e.__b = null, e.__d = !1, !U) {\n i = e.render(c, p, s), e.getChildContext && (s = t(t({}, s), e.getChildContext())), b && e.getSnapshotBeforeUpdate && (S = e.getSnapshotBeforeUpdate(_, h));var L,\n T,\n P = i && i.nodeName;if (\"function\" == typeof P) {\n var W = u(i);l = N, l && l.constructor === P && W.key == l.__k ? C(l, W, 1, s, !1) : (L = l, e._component = l = g(P, W, s), l.__b = l.__b || y, l.__u = e, C(l, W, 0, s, !1), x(l, 1, o, !0)), T = l.base;\n } else a = w, L = N, L && (a = e._component = null), (w || 1 === n) && (a && (a._component = null), T = d(a, i, s, o || !b, w && w.parentNode, !0));if (w && T !== w && l !== N) {\n var D = w.parentNode;D && T !== D && (D.replaceChild(T, w), L || (w._component = null, v(w, !1)));\n }if (L && k(L), e.base = T, T && !r) {\n var E = e,\n V = e;while (V = V.__u) {\n (E = V).base = T;\n }T._component = E, T._componentConstructor = E.constructor;\n }\n }!b || o ? A.push(e) : U || (e.componentDidUpdate && e.componentDidUpdate(_, h, S), M.afterUpdate && M.afterUpdate(e));while (e.__h.length) {\n e.__h.pop().call(e);\n }H || r || f();\n }\n }function N(e, t, n, o) {\n var r = e && e._component,\n i = r,\n l = e,\n a = r && e._componentConstructor === t.nodeName,\n c = a,\n p = u(t);while (r && !c && (r = r.__u)) {\n c = r.constructor === t.nodeName;\n }return r && c && (!o || r._component) ? (C(r, p, 3, n, o), e = r.base) : (i && !a && (k(i), e = l = null), r = g(t.nodeName, p, n), e && !r.__b && (r.__b = e, l = null), C(r, p, 1, n, o), e = r.base, l && e !== l && (l._component = null, v(l, !1))), e;\n }function k(e) {\n M.beforeUnmount && M.beforeUnmount(e);var t = e.base;e.__x = !0, e.componentWillUnmount && e.componentWillUnmount(), e.base = null;var o = e._component;o ? k(o) : t && (null != t.__preactattr_ && n(t.__preactattr_.ref, null), e.__b = t, p(t), F.push(e), b(t)), n(e.__r, null);\n }function U(e, t) {\n this.__d = !0, this.context = t, this.props = e, this.state = this.state || {}, this.__h = [];\n }function S(e, t, n) {\n return d(n, e, {}, !1, t, !1);\n }function L() {\n return {};\n }var T = function T() {},\n M = {},\n P = [],\n W = [],\n D = \"function\" == typeof Promise ? Promise.resolve().then.bind(Promise.resolve()) : setTimeout,\n E = /acit|ex(?:s|g|n|p|$)|rph|ows|mnc|ntw|ine[ch]|zoo|^ord/i,\n V = [],\n A = [],\n H = 0,\n R = !1,\n B = !1,\n F = [];t(U.prototype, { setState: function setState(e, n) {\n this.__s || (this.__s = this.state), this.state = t(t({}, this.state), \"function\" == typeof e ? e(this.state, this.props) : e), n && this.__h.push(n), r(this);\n }, forceUpdate: function forceUpdate(e) {\n e && this.__h.push(e), x(this, 2);\n }, render: function render() {} });var j = { h: e, createElement: e, cloneElement: o, createRef: L, Component: U, render: S, rerender: i, options: M }; true ? module.exports = j : self.preact = j;\n}();\n//# sourceMappingURL=preact.min.js.map\n\n/***/ }),\n\n/***/ \"MKE3\":\n/***/ (function(module, exports) {\n\n// removed by extract-text-webpack-plugin\nmodule.exports = {\"markdown\":\"markdown__2fpjQ\"};\n\n/***/ }),\n\n/***/ \"MeW5\":\n/***/ (function(module, exports) {\n\n// removed by extract-text-webpack-plugin\nmodule.exports = {\"minus\":\"minus__2d_8r\"};\n\n/***/ }),\n\n/***/ \"P9k+\":\n/***/ (function(module, exports) {\n\n// removed by extract-text-webpack-plugin\nmodule.exports = {\"panel\":\"panel__22fOQ\"};\n\n/***/ }),\n\n/***/ \"WViY\":\n/***/ (function(module, exports) {\n\n// removed by extract-text-webpack-plugin\n\n/***/ }),\n\n/***/ \"ZcXo\":\n/***/ (function(module, exports) {\n\nmodule.exports = {\"name\":\"Appunti Web\",\"short_name\":\"Appunti Web\",\"start_url\":\"/appuntiweb/\",\"display\":\"standalone\",\"orientation\":\"portrait\",\"background_color\":\"#0d193b\",\"theme_color\":\"#a0ccff\",\"icons\":[{\"src\":\"/assets/icon.png\",\"type\":\"image/png\",\"sizes\":\"800x800\"}]}\n\n/***/ }),\n\n/***/ \"ddTt\":\n/***/ (function(module, exports) {\n\n// removed by extract-text-webpack-plugin\nmodule.exports = {\"plus\":\"plus__1JPyf\"};\n\n/***/ }),\n\n/***/ \"jHTF\":\n/***/ (function(module, exports) {\n\n// removed by extract-text-webpack-plugin\n\n/***/ }),\n\n/***/ \"pwNi\":\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nvar _preact = __webpack_require__(\"KM04\");\n\nif (false) {\n\trequire('preact/devtools');\n} else if (true && 'serviceWorker' in navigator && location.protocol === 'https:') {\n\tnavigator.serviceWorker.register(__webpack_require__.p + 'sw.js');\n}\n\nvar interopDefault = function interopDefault(m) {\n\treturn m && m.default ? m.default : m;\n};\n\nvar app = interopDefault(__webpack_require__(\"JkW7\"));\n\nif (typeof app === 'function') {\n\tvar root = document.body.firstElementChild;\n\n\tvar init = function init() {\n\t\tvar app = interopDefault(__webpack_require__(\"JkW7\"));\n\t\troot = (0, _preact.render)((0, _preact.h)(app), document.body, root);\n\t};\n\n\tif (false) module.hot.accept('preact-cli-entrypoint', init);\n\n\tinit();\n}\n\n/***/ }),\n\n/***/ \"qMTX\":\n/***/ (function(module, exports) {\n\n// removed by extract-text-webpack-plugin\nmodule.exports = {\"copyright\":\"copyright__TBGn1\"};\n\n/***/ }),\n\n/***/ \"tO1d\":\n/***/ (function(module, exports) {\n\n// removed by extract-text-webpack-plugin\nmodule.exports = {\"todo\":\"todo__5Soco\"};\n\n/***/ }),\n\n/***/ \"xHuH\":\n/***/ (function(module, exports) {\n\n// removed by extract-text-webpack-plugin\n\n/***/ })\n\n/******/ });\n\n\n// WEBPACK FOOTER //\n// bundle.03999.js"," \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, {\n \t\t\t\tconfigurable: false,\n \t\t\t\tenumerable: true,\n \t\t\t\tget: getter\n \t\t\t});\n \t\t}\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"/\";\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = \"pwNi\");\n\n\n\n// WEBPACK FOOTER //\n// webpack/bootstrap 2b4277d1243efbc9c22d","// removed by extract-text-webpack-plugin\nmodule.exports = {\"latex\":\"latex__34DCT\"};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./components/latex.css\n// module id = +uq9\n// module chunks = 0","// removed by extract-text-webpack-plugin\nmodule.exports = {\"split\":\"split__2Bl8C\",\"splitparent\":\"splitparent__nqY7W\",\"splitchild\":\"splitchild__3Ip86\"};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./components/split.css\n// module id = 1EpE\n// module chunks = 0",";/*! showdown v 1.9.1 - 02-11-2019 */\r\n(function(){\r\n/**\n * Created by Tivie on 13-07-2015.\n */\n\nfunction getDefaultOpts (simple) {\n 'use strict';\n\n var defaultOptions = {\n omitExtraWLInCodeBlocks: {\n defaultValue: false,\n describe: 'Omit the default extra whiteline added to code blocks',\n type: 'boolean'\n },\n noHeaderId: {\n defaultValue: false,\n describe: 'Turn on/off generated header id',\n type: 'boolean'\n },\n prefixHeaderId: {\n defaultValue: false,\n 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',\n type: 'string'\n },\n rawPrefixHeaderId: {\n defaultValue: false,\n 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)',\n type: 'boolean'\n },\n ghCompatibleHeaderId: {\n defaultValue: false,\n describe: 'Generate header ids compatible with github style (spaces are replaced with dashes, a bunch of non alphanumeric chars are removed)',\n type: 'boolean'\n },\n rawHeaderId: {\n defaultValue: false,\n describe: 'Remove only spaces, \\' and \" from generated header ids (including prefixes), replacing them with dashes (-). WARNING: This might result in malformed ids',\n type: 'boolean'\n },\n headerLevelStart: {\n defaultValue: false,\n describe: 'The header blocks level start',\n type: 'integer'\n },\n parseImgDimensions: {\n defaultValue: false,\n describe: 'Turn on/off image dimension parsing',\n type: 'boolean'\n },\n simplifiedAutoLink: {\n defaultValue: false,\n describe: 'Turn on/off GFM autolink style',\n type: 'boolean'\n },\n excludeTrailingPunctuationFromURLs: {\n defaultValue: false,\n describe: 'Excludes trailing punctuation from links generated with autoLinking',\n type: 'boolean'\n },\n literalMidWordUnderscores: {\n defaultValue: false,\n describe: 'Parse midword underscores as literal underscores',\n type: 'boolean'\n },\n literalMidWordAsterisks: {\n defaultValue: false,\n describe: 'Parse midword asterisks as literal asterisks',\n type: 'boolean'\n },\n strikethrough: {\n defaultValue: false,\n describe: 'Turn on/off strikethrough support',\n type: 'boolean'\n },\n tables: {\n defaultValue: false,\n describe: 'Turn on/off tables support',\n type: 'boolean'\n },\n tablesHeaderId: {\n defaultValue: false,\n describe: 'Add an id to table headers',\n type: 'boolean'\n },\n ghCodeBlocks: {\n defaultValue: true,\n describe: 'Turn on/off GFM fenced code blocks support',\n type: 'boolean'\n },\n tasklists: {\n defaultValue: false,\n describe: 'Turn on/off GFM tasklist support',\n type: 'boolean'\n },\n smoothLivePreview: {\n defaultValue: false,\n describe: 'Prevents weird effects in live previews due to incomplete input',\n type: 'boolean'\n },\n smartIndentationFix: {\n defaultValue: false,\n description: 'Tries to smartly fix indentation in es6 strings',\n type: 'boolean'\n },\n disableForced4SpacesIndentedSublists: {\n defaultValue: false,\n description: 'Disables the requirement of indenting nested sublists by 4 spaces',\n type: 'boolean'\n },\n simpleLineBreaks: {\n defaultValue: false,\n description: 'Parses simple line breaks as
(GFM Style)',\n type: 'boolean'\n },\n requireSpaceBeforeHeadingText: {\n defaultValue: false,\n description: 'Makes adding a space between `#` and the header text mandatory (GFM Style)',\n type: 'boolean'\n },\n ghMentions: {\n defaultValue: false,\n description: 'Enables github @mentions',\n type: 'boolean'\n },\n ghMentionsLink: {\n defaultValue: 'https://github.com/{u}',\n description: 'Changes the link generated by @mentions. Only applies if ghMentions option is enabled.',\n type: 'string'\n },\n encodeEmails: {\n defaultValue: true,\n description: 'Encode e-mail addresses through the use of Character Entities, transforming ASCII e-mail addresses into its equivalent decimal entities',\n type: 'boolean'\n },\n openLinksInNewWindow: {\n defaultValue: false,\n description: 'Open all links in new windows',\n type: 'boolean'\n },\n backslashEscapesHTMLTags: {\n defaultValue: false,\n description: 'Support for HTML Tag escaping. ex: \\foo\\',\n type: 'boolean'\n },\n emoji: {\n defaultValue: false,\n description: 'Enable emoji support. Ex: `this is a :smile: emoji`',\n type: 'boolean'\n },\n underline: {\n defaultValue: false,\n description: 'Enable support for underline. Syntax is double or triple underscores: `__underline word__`. With this option enabled, underscores no longer parses into `` and ``',\n type: 'boolean'\n },\n completeHTMLDocument: {\n defaultValue: false,\n description: 'Outputs a complete html document, including ``, `` and `` tags',\n type: 'boolean'\n },\n metadata: {\n defaultValue: false,\n description: 'Enable support for document metadata (defined at the top of the document between `«««` and `»»»` or between `---` and `---`).',\n type: 'boolean'\n },\n splitAdjacentBlockquotes: {\n defaultValue: false,\n description: 'Split adjacent blockquote blocks',\n type: 'boolean'\n }\n };\n if (simple === false) {\n return JSON.parse(JSON.stringify(defaultOptions));\n }\n var ret = {};\n for (var opt in defaultOptions) {\n if (defaultOptions.hasOwnProperty(opt)) {\n ret[opt] = defaultOptions[opt].defaultValue;\n }\n }\n return ret;\n}\n\nfunction allOptionsOn () {\n 'use strict';\n var options = getDefaultOpts(true),\n ret = {};\n for (var opt in options) {\n if (options.hasOwnProperty(opt)) {\n ret[opt] = true;\n }\n }\n return ret;\n}\n\r\n/**\n * Created by Tivie on 06-01-2015.\n */\n\n// Private properties\nvar showdown = {},\n parsers = {},\n extensions = {},\n globalOptions = getDefaultOpts(true),\n setFlavor = 'vanilla',\n flavor = {\n github: {\n omitExtraWLInCodeBlocks: true,\n simplifiedAutoLink: true,\n excludeTrailingPunctuationFromURLs: true,\n literalMidWordUnderscores: true,\n strikethrough: true,\n tables: true,\n tablesHeaderId: true,\n ghCodeBlocks: true,\n tasklists: true,\n disableForced4SpacesIndentedSublists: true,\n simpleLineBreaks: true,\n requireSpaceBeforeHeadingText: true,\n ghCompatibleHeaderId: true,\n ghMentions: true,\n backslashEscapesHTMLTags: true,\n emoji: true,\n splitAdjacentBlockquotes: true\n },\n original: {\n noHeaderId: true,\n ghCodeBlocks: false\n },\n ghost: {\n omitExtraWLInCodeBlocks: true,\n parseImgDimensions: true,\n simplifiedAutoLink: true,\n excludeTrailingPunctuationFromURLs: true,\n literalMidWordUnderscores: true,\n strikethrough: true,\n tables: true,\n tablesHeaderId: true,\n ghCodeBlocks: true,\n tasklists: true,\n smoothLivePreview: true,\n simpleLineBreaks: true,\n requireSpaceBeforeHeadingText: true,\n ghMentions: false,\n encodeEmails: true\n },\n vanilla: getDefaultOpts(true),\n allOn: allOptionsOn()\n };\n\n/**\n * helper namespace\n * @type {{}}\n */\nshowdown.helper = {};\n\n/**\n * TODO LEGACY SUPPORT CODE\n * @type {{}}\n */\nshowdown.extensions = {};\n\n/**\n * Set a global option\n * @static\n * @param {string} key\n * @param {*} value\n * @returns {showdown}\n */\nshowdown.setOption = function (key, value) {\n 'use strict';\n globalOptions[key] = value;\n return this;\n};\n\n/**\n * Get a global option\n * @static\n * @param {string} key\n * @returns {*}\n */\nshowdown.getOption = function (key) {\n 'use strict';\n return globalOptions[key];\n};\n\n/**\n * Get the global options\n * @static\n * @returns {{}}\n */\nshowdown.getOptions = function () {\n 'use strict';\n return globalOptions;\n};\n\n/**\n * Reset global options to the default values\n * @static\n */\nshowdown.resetOptions = function () {\n 'use strict';\n globalOptions = getDefaultOpts(true);\n};\n\n/**\n * Set the flavor showdown should use as default\n * @param {string} name\n */\nshowdown.setFlavor = function (name) {\n 'use strict';\n if (!flavor.hasOwnProperty(name)) {\n throw Error(name + ' flavor was not found');\n }\n showdown.resetOptions();\n var preset = flavor[name];\n setFlavor = name;\n for (var option in preset) {\n if (preset.hasOwnProperty(option)) {\n globalOptions[option] = preset[option];\n }\n }\n};\n\n/**\n * Get the currently set flavor\n * @returns {string}\n */\nshowdown.getFlavor = function () {\n 'use strict';\n return setFlavor;\n};\n\n/**\n * Get the options of a specified flavor. Returns undefined if the flavor was not found\n * @param {string} name Name of the flavor\n * @returns {{}|undefined}\n */\nshowdown.getFlavorOptions = function (name) {\n 'use strict';\n if (flavor.hasOwnProperty(name)) {\n return flavor[name];\n }\n};\n\n/**\n * Get the default options\n * @static\n * @param {boolean} [simple=true]\n * @returns {{}}\n */\nshowdown.getDefaultOptions = function (simple) {\n 'use strict';\n return getDefaultOpts(simple);\n};\n\n/**\n * Get or set a subParser\n *\n * subParser(name) - Get a registered subParser\n * subParser(name, func) - Register a subParser\n * @static\n * @param {string} name\n * @param {function} [func]\n * @returns {*}\n */\nshowdown.subParser = function (name, func) {\n 'use strict';\n if (showdown.helper.isString(name)) {\n if (typeof func !== 'undefined') {\n parsers[name] = func;\n } else {\n if (parsers.hasOwnProperty(name)) {\n return parsers[name];\n } else {\n throw Error('SubParser named ' + name + ' not registered!');\n }\n }\n }\n};\n\n/**\n * Gets or registers an extension\n * @static\n * @param {string} name\n * @param {object|function=} ext\n * @returns {*}\n */\nshowdown.extension = function (name, ext) {\n 'use strict';\n\n if (!showdown.helper.isString(name)) {\n throw Error('Extension \\'name\\' must be a string');\n }\n\n name = showdown.helper.stdExtName(name);\n\n // Getter\n if (showdown.helper.isUndefined(ext)) {\n if (!extensions.hasOwnProperty(name)) {\n throw Error('Extension named ' + name + ' is not registered!');\n }\n return extensions[name];\n\n // Setter\n } else {\n // Expand extension if it's wrapped in a function\n if (typeof ext === 'function') {\n ext = ext();\n }\n\n // Ensure extension is an array\n if (!showdown.helper.isArray(ext)) {\n ext = [ext];\n }\n\n var validExtension = validate(ext, name);\n\n if (validExtension.valid) {\n extensions[name] = ext;\n } else {\n throw Error(validExtension.error);\n }\n }\n};\n\n/**\n * Gets all extensions registered\n * @returns {{}}\n */\nshowdown.getAllExtensions = function () {\n 'use strict';\n return extensions;\n};\n\n/**\n * Remove an extension\n * @param {string} name\n */\nshowdown.removeExtension = function (name) {\n 'use strict';\n delete extensions[name];\n};\n\n/**\n * Removes all extensions\n */\nshowdown.resetExtensions = function () {\n 'use strict';\n extensions = {};\n};\n\n/**\n * Validate extension\n * @param {array} extension\n * @param {string} name\n * @returns {{valid: boolean, error: string}}\n */\nfunction validate (extension, name) {\n 'use strict';\n\n var errMsg = (name) ? 'Error in ' + name + ' extension->' : 'Error in unnamed extension',\n ret = {\n valid: true,\n error: ''\n };\n\n if (!showdown.helper.isArray(extension)) {\n extension = [extension];\n }\n\n for (var i = 0; i < extension.length; ++i) {\n var baseMsg = errMsg + ' sub-extension ' + i + ': ',\n ext = extension[i];\n if (typeof ext !== 'object') {\n ret.valid = false;\n ret.error = baseMsg + 'must be an object, but ' + typeof ext + ' given';\n return ret;\n }\n\n if (!showdown.helper.isString(ext.type)) {\n ret.valid = false;\n ret.error = baseMsg + 'property \"type\" must be a string, but ' + typeof ext.type + ' given';\n return ret;\n }\n\n var type = ext.type = ext.type.toLowerCase();\n\n // normalize extension type\n if (type === 'language') {\n type = ext.type = 'lang';\n }\n\n if (type === 'html') {\n type = ext.type = 'output';\n }\n\n if (type !== 'lang' && type !== 'output' && type !== 'listener') {\n ret.valid = false;\n ret.error = baseMsg + 'type ' + type + ' is not recognized. Valid values: \"lang/language\", \"output/html\" or \"listener\"';\n return ret;\n }\n\n if (type === 'listener') {\n if (showdown.helper.isUndefined(ext.listeners)) {\n ret.valid = false;\n ret.error = baseMsg + '. Extensions of type \"listener\" must have a property called \"listeners\"';\n return ret;\n }\n } else {\n if (showdown.helper.isUndefined(ext.filter) && showdown.helper.isUndefined(ext.regex)) {\n ret.valid = false;\n ret.error = baseMsg + type + ' extensions must define either a \"regex\" property or a \"filter\" method';\n return ret;\n }\n }\n\n if (ext.listeners) {\n if (typeof ext.listeners !== 'object') {\n ret.valid = false;\n ret.error = baseMsg + '\"listeners\" property must be an object but ' + typeof ext.listeners + ' given';\n return ret;\n }\n for (var ln in ext.listeners) {\n if (ext.listeners.hasOwnProperty(ln)) {\n if (typeof ext.listeners[ln] !== 'function') {\n ret.valid = false;\n ret.error = baseMsg + '\"listeners\" property must be an hash of [event name]: [callback]. listeners.' + ln +\n ' must be a function but ' + typeof ext.listeners[ln] + ' given';\n return ret;\n }\n }\n }\n }\n\n if (ext.filter) {\n if (typeof ext.filter !== 'function') {\n ret.valid = false;\n ret.error = baseMsg + '\"filter\" must be a function, but ' + typeof ext.filter + ' given';\n return ret;\n }\n } else if (ext.regex) {\n if (showdown.helper.isString(ext.regex)) {\n ext.regex = new RegExp(ext.regex, 'g');\n }\n if (!(ext.regex instanceof RegExp)) {\n ret.valid = false;\n ret.error = baseMsg + '\"regex\" property must either be a string or a RegExp object, but ' + typeof ext.regex + ' given';\n return ret;\n }\n if (showdown.helper.isUndefined(ext.replace)) {\n ret.valid = false;\n ret.error = baseMsg + '\"regex\" extensions must implement a replace string or function';\n return ret;\n }\n }\n }\n return ret;\n}\n\n/**\n * Validate extension\n * @param {object} ext\n * @returns {boolean}\n */\nshowdown.validateExtension = function (ext) {\n 'use strict';\n\n var validateExtension = validate(ext, null);\n if (!validateExtension.valid) {\n console.warn(validateExtension.error);\n return false;\n }\n return true;\n};\n\r\n/**\n * showdownjs helper functions\n */\n\nif (!showdown.hasOwnProperty('helper')) {\n showdown.helper = {};\n}\n\n/**\n * Check if var is string\n * @static\n * @param {string} a\n * @returns {boolean}\n */\nshowdown.helper.isString = function (a) {\n 'use strict';\n return (typeof a === 'string' || a instanceof String);\n};\n\n/**\n * Check if var is a function\n * @static\n * @param {*} a\n * @returns {boolean}\n */\nshowdown.helper.isFunction = function (a) {\n 'use strict';\n var getType = {};\n return a && getType.toString.call(a) === '[object Function]';\n};\n\n/**\n * isArray helper function\n * @static\n * @param {*} a\n * @returns {boolean}\n */\nshowdown.helper.isArray = function (a) {\n 'use strict';\n return Array.isArray(a);\n};\n\n/**\n * Check if value is undefined\n * @static\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is `undefined`, else `false`.\n */\nshowdown.helper.isUndefined = function (value) {\n 'use strict';\n return typeof value === 'undefined';\n};\n\n/**\n * ForEach helper function\n * Iterates over Arrays and Objects (own properties only)\n * @static\n * @param {*} obj\n * @param {function} callback Accepts 3 params: 1. value, 2. key, 3. the original array/object\n */\nshowdown.helper.forEach = function (obj, callback) {\n 'use strict';\n // check if obj is defined\n if (showdown.helper.isUndefined(obj)) {\n throw new Error('obj param is required');\n }\n\n if (showdown.helper.isUndefined(callback)) {\n throw new Error('callback param is required');\n }\n\n if (!showdown.helper.isFunction(callback)) {\n throw new Error('callback param must be a function/closure');\n }\n\n if (typeof obj.forEach === 'function') {\n obj.forEach(callback);\n } else if (showdown.helper.isArray(obj)) {\n for (var i = 0; i < obj.length; i++) {\n callback(obj[i], i, obj);\n }\n } else if (typeof (obj) === 'object') {\n for (var prop in obj) {\n if (obj.hasOwnProperty(prop)) {\n callback(obj[prop], prop, obj);\n }\n }\n } else {\n throw new Error('obj does not seem to be an array or an iterable object');\n }\n};\n\n/**\n * Standardidize extension name\n * @static\n * @param {string} s extension name\n * @returns {string}\n */\nshowdown.helper.stdExtName = function (s) {\n 'use strict';\n return s.replace(/[_?*+\\/\\\\.^-]/g, '').replace(/\\s/g, '').toLowerCase();\n};\n\nfunction escapeCharactersCallback (wholeMatch, m1) {\n 'use strict';\n var charCodeToEscape = m1.charCodeAt(0);\n return '¨E' + charCodeToEscape + 'E';\n}\n\n/**\n * Callback used to escape characters when passing through String.replace\n * @static\n * @param {string} wholeMatch\n * @param {string} m1\n * @returns {string}\n */\nshowdown.helper.escapeCharactersCallback = escapeCharactersCallback;\n\n/**\n * Escape characters in a string\n * @static\n * @param {string} text\n * @param {string} charsToEscape\n * @param {boolean} afterBackslash\n * @returns {XML|string|void|*}\n */\nshowdown.helper.escapeCharacters = function (text, charsToEscape, afterBackslash) {\n 'use strict';\n // First we have to escape the escape characters so that\n // we can build a character class out of them\n var regexString = '([' + charsToEscape.replace(/([\\[\\]\\\\])/g, '\\\\$1') + '])';\n\n if (afterBackslash) {\n regexString = '\\\\\\\\' + regexString;\n }\n\n var regex = new RegExp(regexString, 'g');\n text = text.replace(regex, escapeCharactersCallback);\n\n return text;\n};\n\n/**\n * Unescape HTML entities\n * @param txt\n * @returns {string}\n */\nshowdown.helper.unescapeHTMLEntities = function (txt) {\n 'use strict';\n\n return txt\n .replace(/"/g, '\"')\n .replace(/</g, '<')\n .replace(/>/g, '>')\n .replace(/&/g, '&');\n};\n\nvar rgxFindMatchPos = function (str, left, right, flags) {\n 'use strict';\n var f = flags || '',\n g = f.indexOf('g') > -1,\n x = new RegExp(left + '|' + right, 'g' + f.replace(/g/g, '')),\n l = new RegExp(left, f.replace(/g/g, '')),\n pos = [],\n t, s, m, start, end;\n\n do {\n t = 0;\n while ((m = x.exec(str))) {\n if (l.test(m[0])) {\n if (!(t++)) {\n s = x.lastIndex;\n start = s - m[0].length;\n }\n } else if (t) {\n if (!--t) {\n end = m.index + m[0].length;\n var obj = {\n left: {start: start, end: s},\n match: {start: s, end: m.index},\n right: {start: m.index, end: end},\n wholeMatch: {start: start, end: end}\n };\n pos.push(obj);\n if (!g) {\n return pos;\n }\n }\n }\n }\n } while (t && (x.lastIndex = s));\n\n return pos;\n};\n\n/**\n * matchRecursiveRegExp\n *\n * (c) 2007 Steven Levithan \n * MIT License\n *\n * Accepts a string to search, a left and right format delimiter\n * as regex patterns, and optional regex flags. Returns an array\n * of matches, allowing nested instances of left/right delimiters.\n * Use the \"g\" flag to return all matches, otherwise only the\n * first is returned. Be careful to ensure that the left and\n * right format delimiters produce mutually exclusive matches.\n * Backreferences are not supported within the right delimiter\n * due to how it is internally combined with the left delimiter.\n * When matching strings whose format delimiters are unbalanced\n * to the left or right, the output is intentionally as a\n * conventional regex library with recursion support would\n * produce, e.g. \"<\" and \">\" both produce [\"x\"] when using\n * \"<\" and \">\" as the delimiters (both strings contain a single,\n * balanced instance of \"\").\n *\n * examples:\n * matchRecursiveRegExp(\"test\", \"\\\\(\", \"\\\\)\")\n * returns: []\n * matchRecursiveRegExp(\">>t<>\", \"<\", \">\", \"g\")\n * returns: [\"t<>\", \"\"]\n * matchRecursiveRegExp(\"test\", \"]*>\", \"\", \"gi\")\n * returns: [\"test\"]\n */\nshowdown.helper.matchRecursiveRegExp = function (str, left, right, flags) {\n 'use strict';\n\n var matchPos = rgxFindMatchPos (str, left, right, flags),\n results = [];\n\n for (var i = 0; i < matchPos.length; ++i) {\n results.push([\n str.slice(matchPos[i].wholeMatch.start, matchPos[i].wholeMatch.end),\n str.slice(matchPos[i].match.start, matchPos[i].match.end),\n str.slice(matchPos[i].left.start, matchPos[i].left.end),\n str.slice(matchPos[i].right.start, matchPos[i].right.end)\n ]);\n }\n return results;\n};\n\n/**\n *\n * @param {string} str\n * @param {string|function} replacement\n * @param {string} left\n * @param {string} right\n * @param {string} flags\n * @returns {string}\n */\nshowdown.helper.replaceRecursiveRegExp = function (str, replacement, left, right, flags) {\n 'use strict';\n\n if (!showdown.helper.isFunction(replacement)) {\n var repStr = replacement;\n replacement = function () {\n return repStr;\n };\n }\n\n var matchPos = rgxFindMatchPos(str, left, right, flags),\n finalStr = str,\n lng = matchPos.length;\n\n if (lng > 0) {\n var bits = [];\n if (matchPos[0].wholeMatch.start !== 0) {\n bits.push(str.slice(0, matchPos[0].wholeMatch.start));\n }\n for (var i = 0; i < lng; ++i) {\n bits.push(\n replacement(\n str.slice(matchPos[i].wholeMatch.start, matchPos[i].wholeMatch.end),\n str.slice(matchPos[i].match.start, matchPos[i].match.end),\n str.slice(matchPos[i].left.start, matchPos[i].left.end),\n str.slice(matchPos[i].right.start, matchPos[i].right.end)\n )\n );\n if (i < lng - 1) {\n bits.push(str.slice(matchPos[i].wholeMatch.end, matchPos[i + 1].wholeMatch.start));\n }\n }\n if (matchPos[lng - 1].wholeMatch.end < str.length) {\n bits.push(str.slice(matchPos[lng - 1].wholeMatch.end));\n }\n finalStr = bits.join('');\n }\n return finalStr;\n};\n\n/**\n * Returns the index within the passed String object of the first occurrence of the specified regex,\n * starting the search at fromIndex. Returns -1 if the value is not found.\n *\n * @param {string} str string to search\n * @param {RegExp} regex Regular expression to search\n * @param {int} [fromIndex = 0] Index to start the search\n * @returns {Number}\n * @throws InvalidArgumentError\n */\nshowdown.helper.regexIndexOf = function (str, regex, fromIndex) {\n 'use strict';\n if (!showdown.helper.isString(str)) {\n throw 'InvalidArgumentError: first parameter of showdown.helper.regexIndexOf function must be a string';\n }\n if (regex instanceof RegExp === false) {\n throw 'InvalidArgumentError: second parameter of showdown.helper.regexIndexOf function must be an instance of RegExp';\n }\n var indexOf = str.substring(fromIndex || 0).search(regex);\n return (indexOf >= 0) ? (indexOf + (fromIndex || 0)) : indexOf;\n};\n\n/**\n * Splits the passed string object at the defined index, and returns an array composed of the two substrings\n * @param {string} str string to split\n * @param {int} index index to split string at\n * @returns {[string,string]}\n * @throws InvalidArgumentError\n */\nshowdown.helper.splitAtIndex = function (str, index) {\n 'use strict';\n if (!showdown.helper.isString(str)) {\n throw 'InvalidArgumentError: first parameter of showdown.helper.regexIndexOf function must be a string';\n }\n return [str.substring(0, index), str.substring(index)];\n};\n\n/**\n * Obfuscate an e-mail address through the use of Character Entities,\n * transforming ASCII characters into their equivalent decimal or hex entities.\n *\n * Since it has a random component, subsequent calls to this function produce different results\n *\n * @param {string} mail\n * @returns {string}\n */\nshowdown.helper.encodeEmailAddress = function (mail) {\n 'use strict';\n var encode = [\n function (ch) {\n return '' + ch.charCodeAt(0) + ';';\n },\n function (ch) {\n return '' + ch.charCodeAt(0).toString(16) + ';';\n },\n function (ch) {\n return ch;\n }\n ];\n\n mail = mail.replace(/./g, function (ch) {\n if (ch === '@') {\n // this *must* be encoded. I insist.\n ch = encode[Math.floor(Math.random() * 2)](ch);\n } else {\n var r = Math.random();\n // roughly 10% raw, 45% hex, 45% dec\n ch = (\n r > 0.9 ? encode[2](ch) : r > 0.45 ? encode[1](ch) : encode[0](ch)\n );\n }\n return ch;\n });\n\n return mail;\n};\n\n/**\n *\n * @param str\n * @param targetLength\n * @param padString\n * @returns {string}\n */\nshowdown.helper.padEnd = function padEnd (str, targetLength, padString) {\n 'use strict';\n /*jshint bitwise: false*/\n // eslint-disable-next-line space-infix-ops\n targetLength = targetLength>>0; //floor if number or convert non-number to 0;\n /*jshint bitwise: true*/\n padString = String(padString || ' ');\n if (str.length > targetLength) {\n return String(str);\n } else {\n targetLength = targetLength - str.length;\n if (targetLength > padString.length) {\n padString += padString.repeat(targetLength / padString.length); //append to original to ensure we are longer than needed\n }\n return String(str) + padString.slice(0,targetLength);\n }\n};\n\n/**\n * POLYFILLS\n */\n// use this instead of builtin is undefined for IE8 compatibility\nif (typeof console === 'undefined') {\n console = {\n warn: function (msg) {\n 'use strict';\n alert(msg);\n },\n log: function (msg) {\n 'use strict';\n alert(msg);\n },\n error: function (msg) {\n 'use strict';\n throw msg;\n }\n };\n}\n\n/**\n * Common regexes.\n * We declare some common regexes to improve performance\n */\nshowdown.helper.regexes = {\n asteriskDashAndColon: /([*_:~])/g\n};\n\n/**\n * EMOJIS LIST\n */\nshowdown.helper.emojis = {\n '+1':'\\ud83d\\udc4d',\n '-1':'\\ud83d\\udc4e',\n '100':'\\ud83d\\udcaf',\n '1234':'\\ud83d\\udd22',\n '1st_place_medal':'\\ud83e\\udd47',\n '2nd_place_medal':'\\ud83e\\udd48',\n '3rd_place_medal':'\\ud83e\\udd49',\n '8ball':'\\ud83c\\udfb1',\n 'a':'\\ud83c\\udd70\\ufe0f',\n 'ab':'\\ud83c\\udd8e',\n 'abc':'\\ud83d\\udd24',\n 'abcd':'\\ud83d\\udd21',\n 'accept':'\\ud83c\\ude51',\n 'aerial_tramway':'\\ud83d\\udea1',\n 'airplane':'\\u2708\\ufe0f',\n 'alarm_clock':'\\u23f0',\n 'alembic':'\\u2697\\ufe0f',\n 'alien':'\\ud83d\\udc7d',\n 'ambulance':'\\ud83d\\ude91',\n 'amphora':'\\ud83c\\udffa',\n 'anchor':'\\u2693\\ufe0f',\n 'angel':'\\ud83d\\udc7c',\n 'anger':'\\ud83d\\udca2',\n 'angry':'\\ud83d\\ude20',\n 'anguished':'\\ud83d\\ude27',\n 'ant':'\\ud83d\\udc1c',\n 'apple':'\\ud83c\\udf4e',\n 'aquarius':'\\u2652\\ufe0f',\n 'aries':'\\u2648\\ufe0f',\n 'arrow_backward':'\\u25c0\\ufe0f',\n 'arrow_double_down':'\\u23ec',\n 'arrow_double_up':'\\u23eb',\n 'arrow_down':'\\u2b07\\ufe0f',\n 'arrow_down_small':'\\ud83d\\udd3d',\n 'arrow_forward':'\\u25b6\\ufe0f',\n 'arrow_heading_down':'\\u2935\\ufe0f',\n 'arrow_heading_up':'\\u2934\\ufe0f',\n 'arrow_left':'\\u2b05\\ufe0f',\n 'arrow_lower_left':'\\u2199\\ufe0f',\n 'arrow_lower_right':'\\u2198\\ufe0f',\n 'arrow_right':'\\u27a1\\ufe0f',\n 'arrow_right_hook':'\\u21aa\\ufe0f',\n 'arrow_up':'\\u2b06\\ufe0f',\n 'arrow_up_down':'\\u2195\\ufe0f',\n 'arrow_up_small':'\\ud83d\\udd3c',\n 'arrow_upper_left':'\\u2196\\ufe0f',\n 'arrow_upper_right':'\\u2197\\ufe0f',\n 'arrows_clockwise':'\\ud83d\\udd03',\n 'arrows_counterclockwise':'\\ud83d\\udd04',\n 'art':'\\ud83c\\udfa8',\n 'articulated_lorry':'\\ud83d\\ude9b',\n 'artificial_satellite':'\\ud83d\\udef0',\n 'astonished':'\\ud83d\\ude32',\n 'athletic_shoe':'\\ud83d\\udc5f',\n 'atm':'\\ud83c\\udfe7',\n 'atom_symbol':'\\u269b\\ufe0f',\n 'avocado':'\\ud83e\\udd51',\n 'b':'\\ud83c\\udd71\\ufe0f',\n 'baby':'\\ud83d\\udc76',\n 'baby_bottle':'\\ud83c\\udf7c',\n 'baby_chick':'\\ud83d\\udc24',\n 'baby_symbol':'\\ud83d\\udebc',\n 'back':'\\ud83d\\udd19',\n 'bacon':'\\ud83e\\udd53',\n 'badminton':'\\ud83c\\udff8',\n 'baggage_claim':'\\ud83d\\udec4',\n 'baguette_bread':'\\ud83e\\udd56',\n 'balance_scale':'\\u2696\\ufe0f',\n 'balloon':'\\ud83c\\udf88',\n 'ballot_box':'\\ud83d\\uddf3',\n 'ballot_box_with_check':'\\u2611\\ufe0f',\n 'bamboo':'\\ud83c\\udf8d',\n 'banana':'\\ud83c\\udf4c',\n 'bangbang':'\\u203c\\ufe0f',\n 'bank':'\\ud83c\\udfe6',\n 'bar_chart':'\\ud83d\\udcca',\n 'barber':'\\ud83d\\udc88',\n 'baseball':'\\u26be\\ufe0f',\n 'basketball':'\\ud83c\\udfc0',\n 'basketball_man':'\\u26f9\\ufe0f',\n 'basketball_woman':'\\u26f9\\ufe0f\\u2640\\ufe0f',\n 'bat':'\\ud83e\\udd87',\n 'bath':'\\ud83d\\udec0',\n 'bathtub':'\\ud83d\\udec1',\n 'battery':'\\ud83d\\udd0b',\n 'beach_umbrella':'\\ud83c\\udfd6',\n 'bear':'\\ud83d\\udc3b',\n 'bed':'\\ud83d\\udecf',\n 'bee':'\\ud83d\\udc1d',\n 'beer':'\\ud83c\\udf7a',\n 'beers':'\\ud83c\\udf7b',\n 'beetle':'\\ud83d\\udc1e',\n 'beginner':'\\ud83d\\udd30',\n 'bell':'\\ud83d\\udd14',\n 'bellhop_bell':'\\ud83d\\udece',\n 'bento':'\\ud83c\\udf71',\n 'biking_man':'\\ud83d\\udeb4',\n 'bike':'\\ud83d\\udeb2',\n 'biking_woman':'\\ud83d\\udeb4\\u2640\\ufe0f',\n 'bikini':'\\ud83d\\udc59',\n 'biohazard':'\\u2623\\ufe0f',\n 'bird':'\\ud83d\\udc26',\n 'birthday':'\\ud83c\\udf82',\n 'black_circle':'\\u26ab\\ufe0f',\n 'black_flag':'\\ud83c\\udff4',\n 'black_heart':'\\ud83d\\udda4',\n 'black_joker':'\\ud83c\\udccf',\n 'black_large_square':'\\u2b1b\\ufe0f',\n 'black_medium_small_square':'\\u25fe\\ufe0f',\n 'black_medium_square':'\\u25fc\\ufe0f',\n 'black_nib':'\\u2712\\ufe0f',\n 'black_small_square':'\\u25aa\\ufe0f',\n 'black_square_button':'\\ud83d\\udd32',\n 'blonde_man':'\\ud83d\\udc71',\n 'blonde_woman':'\\ud83d\\udc71\\u2640\\ufe0f',\n 'blossom':'\\ud83c\\udf3c',\n 'blowfish':'\\ud83d\\udc21',\n 'blue_book':'\\ud83d\\udcd8',\n 'blue_car':'\\ud83d\\ude99',\n 'blue_heart':'\\ud83d\\udc99',\n 'blush':'\\ud83d\\ude0a',\n 'boar':'\\ud83d\\udc17',\n 'boat':'\\u26f5\\ufe0f',\n 'bomb':'\\ud83d\\udca3',\n 'book':'\\ud83d\\udcd6',\n 'bookmark':'\\ud83d\\udd16',\n 'bookmark_tabs':'\\ud83d\\udcd1',\n 'books':'\\ud83d\\udcda',\n 'boom':'\\ud83d\\udca5',\n 'boot':'\\ud83d\\udc62',\n 'bouquet':'\\ud83d\\udc90',\n 'bowing_man':'\\ud83d\\ude47',\n 'bow_and_arrow':'\\ud83c\\udff9',\n 'bowing_woman':'\\ud83d\\ude47\\u2640\\ufe0f',\n 'bowling':'\\ud83c\\udfb3',\n 'boxing_glove':'\\ud83e\\udd4a',\n 'boy':'\\ud83d\\udc66',\n 'bread':'\\ud83c\\udf5e',\n 'bride_with_veil':'\\ud83d\\udc70',\n 'bridge_at_night':'\\ud83c\\udf09',\n 'briefcase':'\\ud83d\\udcbc',\n 'broken_heart':'\\ud83d\\udc94',\n 'bug':'\\ud83d\\udc1b',\n 'building_construction':'\\ud83c\\udfd7',\n 'bulb':'\\ud83d\\udca1',\n 'bullettrain_front':'\\ud83d\\ude85',\n 'bullettrain_side':'\\ud83d\\ude84',\n 'burrito':'\\ud83c\\udf2f',\n 'bus':'\\ud83d\\ude8c',\n 'business_suit_levitating':'\\ud83d\\udd74',\n 'busstop':'\\ud83d\\ude8f',\n 'bust_in_silhouette':'\\ud83d\\udc64',\n 'busts_in_silhouette':'\\ud83d\\udc65',\n 'butterfly':'\\ud83e\\udd8b',\n 'cactus':'\\ud83c\\udf35',\n 'cake':'\\ud83c\\udf70',\n 'calendar':'\\ud83d\\udcc6',\n 'call_me_hand':'\\ud83e\\udd19',\n 'calling':'\\ud83d\\udcf2',\n 'camel':'\\ud83d\\udc2b',\n 'camera':'\\ud83d\\udcf7',\n 'camera_flash':'\\ud83d\\udcf8',\n 'camping':'\\ud83c\\udfd5',\n 'cancer':'\\u264b\\ufe0f',\n 'candle':'\\ud83d\\udd6f',\n 'candy':'\\ud83c\\udf6c',\n 'canoe':'\\ud83d\\udef6',\n 'capital_abcd':'\\ud83d\\udd20',\n 'capricorn':'\\u2651\\ufe0f',\n 'car':'\\ud83d\\ude97',\n 'card_file_box':'\\ud83d\\uddc3',\n 'card_index':'\\ud83d\\udcc7',\n 'card_index_dividers':'\\ud83d\\uddc2',\n 'carousel_horse':'\\ud83c\\udfa0',\n 'carrot':'\\ud83e\\udd55',\n 'cat':'\\ud83d\\udc31',\n 'cat2':'\\ud83d\\udc08',\n 'cd':'\\ud83d\\udcbf',\n 'chains':'\\u26d3',\n 'champagne':'\\ud83c\\udf7e',\n 'chart':'\\ud83d\\udcb9',\n 'chart_with_downwards_trend':'\\ud83d\\udcc9',\n 'chart_with_upwards_trend':'\\ud83d\\udcc8',\n 'checkered_flag':'\\ud83c\\udfc1',\n 'cheese':'\\ud83e\\uddc0',\n 'cherries':'\\ud83c\\udf52',\n 'cherry_blossom':'\\ud83c\\udf38',\n 'chestnut':'\\ud83c\\udf30',\n 'chicken':'\\ud83d\\udc14',\n 'children_crossing':'\\ud83d\\udeb8',\n 'chipmunk':'\\ud83d\\udc3f',\n 'chocolate_bar':'\\ud83c\\udf6b',\n 'christmas_tree':'\\ud83c\\udf84',\n 'church':'\\u26ea\\ufe0f',\n 'cinema':'\\ud83c\\udfa6',\n 'circus_tent':'\\ud83c\\udfaa',\n 'city_sunrise':'\\ud83c\\udf07',\n 'city_sunset':'\\ud83c\\udf06',\n 'cityscape':'\\ud83c\\udfd9',\n 'cl':'\\ud83c\\udd91',\n 'clamp':'\\ud83d\\udddc',\n 'clap':'\\ud83d\\udc4f',\n 'clapper':'\\ud83c\\udfac',\n 'classical_building':'\\ud83c\\udfdb',\n 'clinking_glasses':'\\ud83e\\udd42',\n 'clipboard':'\\ud83d\\udccb',\n 'clock1':'\\ud83d\\udd50',\n 'clock10':'\\ud83d\\udd59',\n 'clock1030':'\\ud83d\\udd65',\n 'clock11':'\\ud83d\\udd5a',\n 'clock1130':'\\ud83d\\udd66',\n 'clock12':'\\ud83d\\udd5b',\n 'clock1230':'\\ud83d\\udd67',\n 'clock130':'\\ud83d\\udd5c',\n 'clock2':'\\ud83d\\udd51',\n 'clock230':'\\ud83d\\udd5d',\n 'clock3':'\\ud83d\\udd52',\n 'clock330':'\\ud83d\\udd5e',\n 'clock4':'\\ud83d\\udd53',\n 'clock430':'\\ud83d\\udd5f',\n 'clock5':'\\ud83d\\udd54',\n 'clock530':'\\ud83d\\udd60',\n 'clock6':'\\ud83d\\udd55',\n 'clock630':'\\ud83d\\udd61',\n 'clock7':'\\ud83d\\udd56',\n 'clock730':'\\ud83d\\udd62',\n 'clock8':'\\ud83d\\udd57',\n 'clock830':'\\ud83d\\udd63',\n 'clock9':'\\ud83d\\udd58',\n 'clock930':'\\ud83d\\udd64',\n 'closed_book':'\\ud83d\\udcd5',\n 'closed_lock_with_key':'\\ud83d\\udd10',\n 'closed_umbrella':'\\ud83c\\udf02',\n 'cloud':'\\u2601\\ufe0f',\n 'cloud_with_lightning':'\\ud83c\\udf29',\n 'cloud_with_lightning_and_rain':'\\u26c8',\n 'cloud_with_rain':'\\ud83c\\udf27',\n 'cloud_with_snow':'\\ud83c\\udf28',\n 'clown_face':'\\ud83e\\udd21',\n 'clubs':'\\u2663\\ufe0f',\n 'cocktail':'\\ud83c\\udf78',\n 'coffee':'\\u2615\\ufe0f',\n 'coffin':'\\u26b0\\ufe0f',\n 'cold_sweat':'\\ud83d\\ude30',\n 'comet':'\\u2604\\ufe0f',\n 'computer':'\\ud83d\\udcbb',\n 'computer_mouse':'\\ud83d\\uddb1',\n 'confetti_ball':'\\ud83c\\udf8a',\n 'confounded':'\\ud83d\\ude16',\n 'confused':'\\ud83d\\ude15',\n 'congratulations':'\\u3297\\ufe0f',\n 'construction':'\\ud83d\\udea7',\n 'construction_worker_man':'\\ud83d\\udc77',\n 'construction_worker_woman':'\\ud83d\\udc77\\u2640\\ufe0f',\n 'control_knobs':'\\ud83c\\udf9b',\n 'convenience_store':'\\ud83c\\udfea',\n 'cookie':'\\ud83c\\udf6a',\n 'cool':'\\ud83c\\udd92',\n 'policeman':'\\ud83d\\udc6e',\n 'copyright':'\\u00a9\\ufe0f',\n 'corn':'\\ud83c\\udf3d',\n 'couch_and_lamp':'\\ud83d\\udecb',\n 'couple':'\\ud83d\\udc6b',\n 'couple_with_heart_woman_man':'\\ud83d\\udc91',\n 'couple_with_heart_man_man':'\\ud83d\\udc68\\u2764\\ufe0f\\ud83d\\udc68',\n 'couple_with_heart_woman_woman':'\\ud83d\\udc69\\u2764\\ufe0f\\ud83d\\udc69',\n 'couplekiss_man_man':'\\ud83d\\udc68\\u2764\\ufe0f\\ud83d\\udc8b\\ud83d\\udc68',\n 'couplekiss_man_woman':'\\ud83d\\udc8f',\n 'couplekiss_woman_woman':'\\ud83d\\udc69\\u2764\\ufe0f\\ud83d\\udc8b\\ud83d\\udc69',\n 'cow':'\\ud83d\\udc2e',\n 'cow2':'\\ud83d\\udc04',\n 'cowboy_hat_face':'\\ud83e\\udd20',\n 'crab':'\\ud83e\\udd80',\n 'crayon':'\\ud83d\\udd8d',\n 'credit_card':'\\ud83d\\udcb3',\n 'crescent_moon':'\\ud83c\\udf19',\n 'cricket':'\\ud83c\\udfcf',\n 'crocodile':'\\ud83d\\udc0a',\n 'croissant':'\\ud83e\\udd50',\n 'crossed_fingers':'\\ud83e\\udd1e',\n 'crossed_flags':'\\ud83c\\udf8c',\n 'crossed_swords':'\\u2694\\ufe0f',\n 'crown':'\\ud83d\\udc51',\n 'cry':'\\ud83d\\ude22',\n 'crying_cat_face':'\\ud83d\\ude3f',\n 'crystal_ball':'\\ud83d\\udd2e',\n 'cucumber':'\\ud83e\\udd52',\n 'cupid':'\\ud83d\\udc98',\n 'curly_loop':'\\u27b0',\n 'currency_exchange':'\\ud83d\\udcb1',\n 'curry':'\\ud83c\\udf5b',\n 'custard':'\\ud83c\\udf6e',\n 'customs':'\\ud83d\\udec3',\n 'cyclone':'\\ud83c\\udf00',\n 'dagger':'\\ud83d\\udde1',\n 'dancer':'\\ud83d\\udc83',\n 'dancing_women':'\\ud83d\\udc6f',\n 'dancing_men':'\\ud83d\\udc6f\\u2642\\ufe0f',\n 'dango':'\\ud83c\\udf61',\n 'dark_sunglasses':'\\ud83d\\udd76',\n 'dart':'\\ud83c\\udfaf',\n 'dash':'\\ud83d\\udca8',\n 'date':'\\ud83d\\udcc5',\n 'deciduous_tree':'\\ud83c\\udf33',\n 'deer':'\\ud83e\\udd8c',\n 'department_store':'\\ud83c\\udfec',\n 'derelict_house':'\\ud83c\\udfda',\n 'desert':'\\ud83c\\udfdc',\n 'desert_island':'\\ud83c\\udfdd',\n 'desktop_computer':'\\ud83d\\udda5',\n 'male_detective':'\\ud83d\\udd75\\ufe0f',\n 'diamond_shape_with_a_dot_inside':'\\ud83d\\udca0',\n 'diamonds':'\\u2666\\ufe0f',\n 'disappointed':'\\ud83d\\ude1e',\n 'disappointed_relieved':'\\ud83d\\ude25',\n 'dizzy':'\\ud83d\\udcab',\n 'dizzy_face':'\\ud83d\\ude35',\n 'do_not_litter':'\\ud83d\\udeaf',\n 'dog':'\\ud83d\\udc36',\n 'dog2':'\\ud83d\\udc15',\n 'dollar':'\\ud83d\\udcb5',\n 'dolls':'\\ud83c\\udf8e',\n 'dolphin':'\\ud83d\\udc2c',\n 'door':'\\ud83d\\udeaa',\n 'doughnut':'\\ud83c\\udf69',\n 'dove':'\\ud83d\\udd4a',\n 'dragon':'\\ud83d\\udc09',\n 'dragon_face':'\\ud83d\\udc32',\n 'dress':'\\ud83d\\udc57',\n 'dromedary_camel':'\\ud83d\\udc2a',\n 'drooling_face':'\\ud83e\\udd24',\n 'droplet':'\\ud83d\\udca7',\n 'drum':'\\ud83e\\udd41',\n 'duck':'\\ud83e\\udd86',\n 'dvd':'\\ud83d\\udcc0',\n 'e-mail':'\\ud83d\\udce7',\n 'eagle':'\\ud83e\\udd85',\n 'ear':'\\ud83d\\udc42',\n 'ear_of_rice':'\\ud83c\\udf3e',\n 'earth_africa':'\\ud83c\\udf0d',\n 'earth_americas':'\\ud83c\\udf0e',\n 'earth_asia':'\\ud83c\\udf0f',\n 'egg':'\\ud83e\\udd5a',\n 'eggplant':'\\ud83c\\udf46',\n 'eight_pointed_black_star':'\\u2734\\ufe0f',\n 'eight_spoked_asterisk':'\\u2733\\ufe0f',\n 'electric_plug':'\\ud83d\\udd0c',\n 'elephant':'\\ud83d\\udc18',\n 'email':'\\u2709\\ufe0f',\n 'end':'\\ud83d\\udd1a',\n 'envelope_with_arrow':'\\ud83d\\udce9',\n 'euro':'\\ud83d\\udcb6',\n 'european_castle':'\\ud83c\\udff0',\n 'european_post_office':'\\ud83c\\udfe4',\n 'evergreen_tree':'\\ud83c\\udf32',\n 'exclamation':'\\u2757\\ufe0f',\n 'expressionless':'\\ud83d\\ude11',\n 'eye':'\\ud83d\\udc41',\n 'eye_speech_bubble':'\\ud83d\\udc41\\ud83d\\udde8',\n 'eyeglasses':'\\ud83d\\udc53',\n 'eyes':'\\ud83d\\udc40',\n 'face_with_head_bandage':'\\ud83e\\udd15',\n 'face_with_thermometer':'\\ud83e\\udd12',\n 'fist_oncoming':'\\ud83d\\udc4a',\n 'factory':'\\ud83c\\udfed',\n 'fallen_leaf':'\\ud83c\\udf42',\n 'family_man_woman_boy':'\\ud83d\\udc6a',\n 'family_man_boy':'\\ud83d\\udc68\\ud83d\\udc66',\n 'family_man_boy_boy':'\\ud83d\\udc68\\ud83d\\udc66\\ud83d\\udc66',\n 'family_man_girl':'\\ud83d\\udc68\\ud83d\\udc67',\n 'family_man_girl_boy':'\\ud83d\\udc68\\ud83d\\udc67\\ud83d\\udc66',\n 'family_man_girl_girl':'\\ud83d\\udc68\\ud83d\\udc67\\ud83d\\udc67',\n 'family_man_man_boy':'\\ud83d\\udc68\\ud83d\\udc68\\ud83d\\udc66',\n 'family_man_man_boy_boy':'\\ud83d\\udc68\\ud83d\\udc68\\ud83d\\udc66\\ud83d\\udc66',\n 'family_man_man_girl':'\\ud83d\\udc68\\ud83d\\udc68\\ud83d\\udc67',\n 'family_man_man_girl_boy':'\\ud83d\\udc68\\ud83d\\udc68\\ud83d\\udc67\\ud83d\\udc66',\n 'family_man_man_girl_girl':'\\ud83d\\udc68\\ud83d\\udc68\\ud83d\\udc67\\ud83d\\udc67',\n 'family_man_woman_boy_boy':'\\ud83d\\udc68\\ud83d\\udc69\\ud83d\\udc66\\ud83d\\udc66',\n 'family_man_woman_girl':'\\ud83d\\udc68\\ud83d\\udc69\\ud83d\\udc67',\n 'family_man_woman_girl_boy':'\\ud83d\\udc68\\ud83d\\udc69\\ud83d\\udc67\\ud83d\\udc66',\n 'family_man_woman_girl_girl':'\\ud83d\\udc68\\ud83d\\udc69\\ud83d\\udc67\\ud83d\\udc67',\n 'family_woman_boy':'\\ud83d\\udc69\\ud83d\\udc66',\n 'family_woman_boy_boy':'\\ud83d\\udc69\\ud83d\\udc66\\ud83d\\udc66',\n 'family_woman_girl':'\\ud83d\\udc69\\ud83d\\udc67',\n 'family_woman_girl_boy':'\\ud83d\\udc69\\ud83d\\udc67\\ud83d\\udc66',\n 'family_woman_girl_girl':'\\ud83d\\udc69\\ud83d\\udc67\\ud83d\\udc67',\n 'family_woman_woman_boy':'\\ud83d\\udc69\\ud83d\\udc69\\ud83d\\udc66',\n 'family_woman_woman_boy_boy':'\\ud83d\\udc69\\ud83d\\udc69\\ud83d\\udc66\\ud83d\\udc66',\n 'family_woman_woman_girl':'\\ud83d\\udc69\\ud83d\\udc69\\ud83d\\udc67',\n 'family_woman_woman_girl_boy':'\\ud83d\\udc69\\ud83d\\udc69\\ud83d\\udc67\\ud83d\\udc66',\n 'family_woman_woman_girl_girl':'\\ud83d\\udc69\\ud83d\\udc69\\ud83d\\udc67\\ud83d\\udc67',\n 'fast_forward':'\\u23e9',\n 'fax':'\\ud83d\\udce0',\n 'fearful':'\\ud83d\\ude28',\n 'feet':'\\ud83d\\udc3e',\n 'female_detective':'\\ud83d\\udd75\\ufe0f\\u2640\\ufe0f',\n 'ferris_wheel':'\\ud83c\\udfa1',\n 'ferry':'\\u26f4',\n 'field_hockey':'\\ud83c\\udfd1',\n 'file_cabinet':'\\ud83d\\uddc4',\n 'file_folder':'\\ud83d\\udcc1',\n 'film_projector':'\\ud83d\\udcfd',\n 'film_strip':'\\ud83c\\udf9e',\n 'fire':'\\ud83d\\udd25',\n 'fire_engine':'\\ud83d\\ude92',\n 'fireworks':'\\ud83c\\udf86',\n 'first_quarter_moon':'\\ud83c\\udf13',\n 'first_quarter_moon_with_face':'\\ud83c\\udf1b',\n 'fish':'\\ud83d\\udc1f',\n 'fish_cake':'\\ud83c\\udf65',\n 'fishing_pole_and_fish':'\\ud83c\\udfa3',\n 'fist_raised':'\\u270a',\n 'fist_left':'\\ud83e\\udd1b',\n 'fist_right':'\\ud83e\\udd1c',\n 'flags':'\\ud83c\\udf8f',\n 'flashlight':'\\ud83d\\udd26',\n 'fleur_de_lis':'\\u269c\\ufe0f',\n 'flight_arrival':'\\ud83d\\udeec',\n 'flight_departure':'\\ud83d\\udeeb',\n 'floppy_disk':'\\ud83d\\udcbe',\n 'flower_playing_cards':'\\ud83c\\udfb4',\n 'flushed':'\\ud83d\\ude33',\n 'fog':'\\ud83c\\udf2b',\n 'foggy':'\\ud83c\\udf01',\n 'football':'\\ud83c\\udfc8',\n 'footprints':'\\ud83d\\udc63',\n 'fork_and_knife':'\\ud83c\\udf74',\n 'fountain':'\\u26f2\\ufe0f',\n 'fountain_pen':'\\ud83d\\udd8b',\n 'four_leaf_clover':'\\ud83c\\udf40',\n 'fox_face':'\\ud83e\\udd8a',\n 'framed_picture':'\\ud83d\\uddbc',\n 'free':'\\ud83c\\udd93',\n 'fried_egg':'\\ud83c\\udf73',\n 'fried_shrimp':'\\ud83c\\udf64',\n 'fries':'\\ud83c\\udf5f',\n 'frog':'\\ud83d\\udc38',\n 'frowning':'\\ud83d\\ude26',\n 'frowning_face':'\\u2639\\ufe0f',\n 'frowning_man':'\\ud83d\\ude4d\\u2642\\ufe0f',\n 'frowning_woman':'\\ud83d\\ude4d',\n 'middle_finger':'\\ud83d\\udd95',\n 'fuelpump':'\\u26fd\\ufe0f',\n 'full_moon':'\\ud83c\\udf15',\n 'full_moon_with_face':'\\ud83c\\udf1d',\n 'funeral_urn':'\\u26b1\\ufe0f',\n 'game_die':'\\ud83c\\udfb2',\n 'gear':'\\u2699\\ufe0f',\n 'gem':'\\ud83d\\udc8e',\n 'gemini':'\\u264a\\ufe0f',\n 'ghost':'\\ud83d\\udc7b',\n 'gift':'\\ud83c\\udf81',\n 'gift_heart':'\\ud83d\\udc9d',\n 'girl':'\\ud83d\\udc67',\n 'globe_with_meridians':'\\ud83c\\udf10',\n 'goal_net':'\\ud83e\\udd45',\n 'goat':'\\ud83d\\udc10',\n 'golf':'\\u26f3\\ufe0f',\n 'golfing_man':'\\ud83c\\udfcc\\ufe0f',\n 'golfing_woman':'\\ud83c\\udfcc\\ufe0f\\u2640\\ufe0f',\n 'gorilla':'\\ud83e\\udd8d',\n 'grapes':'\\ud83c\\udf47',\n 'green_apple':'\\ud83c\\udf4f',\n 'green_book':'\\ud83d\\udcd7',\n 'green_heart':'\\ud83d\\udc9a',\n 'green_salad':'\\ud83e\\udd57',\n 'grey_exclamation':'\\u2755',\n 'grey_question':'\\u2754',\n 'grimacing':'\\ud83d\\ude2c',\n 'grin':'\\ud83d\\ude01',\n 'grinning':'\\ud83d\\ude00',\n 'guardsman':'\\ud83d\\udc82',\n 'guardswoman':'\\ud83d\\udc82\\u2640\\ufe0f',\n 'guitar':'\\ud83c\\udfb8',\n 'gun':'\\ud83d\\udd2b',\n 'haircut_woman':'\\ud83d\\udc87',\n 'haircut_man':'\\ud83d\\udc87\\u2642\\ufe0f',\n 'hamburger':'\\ud83c\\udf54',\n 'hammer':'\\ud83d\\udd28',\n 'hammer_and_pick':'\\u2692',\n 'hammer_and_wrench':'\\ud83d\\udee0',\n 'hamster':'\\ud83d\\udc39',\n 'hand':'\\u270b',\n 'handbag':'\\ud83d\\udc5c',\n 'handshake':'\\ud83e\\udd1d',\n 'hankey':'\\ud83d\\udca9',\n 'hatched_chick':'\\ud83d\\udc25',\n 'hatching_chick':'\\ud83d\\udc23',\n 'headphones':'\\ud83c\\udfa7',\n 'hear_no_evil':'\\ud83d\\ude49',\n 'heart':'\\u2764\\ufe0f',\n 'heart_decoration':'\\ud83d\\udc9f',\n 'heart_eyes':'\\ud83d\\ude0d',\n 'heart_eyes_cat':'\\ud83d\\ude3b',\n 'heartbeat':'\\ud83d\\udc93',\n 'heartpulse':'\\ud83d\\udc97',\n 'hearts':'\\u2665\\ufe0f',\n 'heavy_check_mark':'\\u2714\\ufe0f',\n 'heavy_division_sign':'\\u2797',\n 'heavy_dollar_sign':'\\ud83d\\udcb2',\n 'heavy_heart_exclamation':'\\u2763\\ufe0f',\n 'heavy_minus_sign':'\\u2796',\n 'heavy_multiplication_x':'\\u2716\\ufe0f',\n 'heavy_plus_sign':'\\u2795',\n 'helicopter':'\\ud83d\\ude81',\n 'herb':'\\ud83c\\udf3f',\n 'hibiscus':'\\ud83c\\udf3a',\n 'high_brightness':'\\ud83d\\udd06',\n 'high_heel':'\\ud83d\\udc60',\n 'hocho':'\\ud83d\\udd2a',\n 'hole':'\\ud83d\\udd73',\n 'honey_pot':'\\ud83c\\udf6f',\n 'horse':'\\ud83d\\udc34',\n 'horse_racing':'\\ud83c\\udfc7',\n 'hospital':'\\ud83c\\udfe5',\n 'hot_pepper':'\\ud83c\\udf36',\n 'hotdog':'\\ud83c\\udf2d',\n 'hotel':'\\ud83c\\udfe8',\n 'hotsprings':'\\u2668\\ufe0f',\n 'hourglass':'\\u231b\\ufe0f',\n 'hourglass_flowing_sand':'\\u23f3',\n 'house':'\\ud83c\\udfe0',\n 'house_with_garden':'\\ud83c\\udfe1',\n 'houses':'\\ud83c\\udfd8',\n 'hugs':'\\ud83e\\udd17',\n 'hushed':'\\ud83d\\ude2f',\n 'ice_cream':'\\ud83c\\udf68',\n 'ice_hockey':'\\ud83c\\udfd2',\n 'ice_skate':'\\u26f8',\n 'icecream':'\\ud83c\\udf66',\n 'id':'\\ud83c\\udd94',\n 'ideograph_advantage':'\\ud83c\\ude50',\n 'imp':'\\ud83d\\udc7f',\n 'inbox_tray':'\\ud83d\\udce5',\n 'incoming_envelope':'\\ud83d\\udce8',\n 'tipping_hand_woman':'\\ud83d\\udc81',\n 'information_source':'\\u2139\\ufe0f',\n 'innocent':'\\ud83d\\ude07',\n 'interrobang':'\\u2049\\ufe0f',\n 'iphone':'\\ud83d\\udcf1',\n 'izakaya_lantern':'\\ud83c\\udfee',\n 'jack_o_lantern':'\\ud83c\\udf83',\n 'japan':'\\ud83d\\uddfe',\n 'japanese_castle':'\\ud83c\\udfef',\n 'japanese_goblin':'\\ud83d\\udc7a',\n 'japanese_ogre':'\\ud83d\\udc79',\n 'jeans':'\\ud83d\\udc56',\n 'joy':'\\ud83d\\ude02',\n 'joy_cat':'\\ud83d\\ude39',\n 'joystick':'\\ud83d\\udd79',\n 'kaaba':'\\ud83d\\udd4b',\n 'key':'\\ud83d\\udd11',\n 'keyboard':'\\u2328\\ufe0f',\n 'keycap_ten':'\\ud83d\\udd1f',\n 'kick_scooter':'\\ud83d\\udef4',\n 'kimono':'\\ud83d\\udc58',\n 'kiss':'\\ud83d\\udc8b',\n 'kissing':'\\ud83d\\ude17',\n 'kissing_cat':'\\ud83d\\ude3d',\n 'kissing_closed_eyes':'\\ud83d\\ude1a',\n 'kissing_heart':'\\ud83d\\ude18',\n 'kissing_smiling_eyes':'\\ud83d\\ude19',\n 'kiwi_fruit':'\\ud83e\\udd5d',\n 'koala':'\\ud83d\\udc28',\n 'koko':'\\ud83c\\ude01',\n 'label':'\\ud83c\\udff7',\n 'large_blue_circle':'\\ud83d\\udd35',\n 'large_blue_diamond':'\\ud83d\\udd37',\n 'large_orange_diamond':'\\ud83d\\udd36',\n 'last_quarter_moon':'\\ud83c\\udf17',\n 'last_quarter_moon_with_face':'\\ud83c\\udf1c',\n 'latin_cross':'\\u271d\\ufe0f',\n 'laughing':'\\ud83d\\ude06',\n 'leaves':'\\ud83c\\udf43',\n 'ledger':'\\ud83d\\udcd2',\n 'left_luggage':'\\ud83d\\udec5',\n 'left_right_arrow':'\\u2194\\ufe0f',\n 'leftwards_arrow_with_hook':'\\u21a9\\ufe0f',\n 'lemon':'\\ud83c\\udf4b',\n 'leo':'\\u264c\\ufe0f',\n 'leopard':'\\ud83d\\udc06',\n 'level_slider':'\\ud83c\\udf9a',\n 'libra':'\\u264e\\ufe0f',\n 'light_rail':'\\ud83d\\ude88',\n 'link':'\\ud83d\\udd17',\n 'lion':'\\ud83e\\udd81',\n 'lips':'\\ud83d\\udc44',\n 'lipstick':'\\ud83d\\udc84',\n 'lizard':'\\ud83e\\udd8e',\n 'lock':'\\ud83d\\udd12',\n 'lock_with_ink_pen':'\\ud83d\\udd0f',\n 'lollipop':'\\ud83c\\udf6d',\n 'loop':'\\u27bf',\n 'loud_sound':'\\ud83d\\udd0a',\n 'loudspeaker':'\\ud83d\\udce2',\n 'love_hotel':'\\ud83c\\udfe9',\n 'love_letter':'\\ud83d\\udc8c',\n 'low_brightness':'\\ud83d\\udd05',\n 'lying_face':'\\ud83e\\udd25',\n 'm':'\\u24c2\\ufe0f',\n 'mag':'\\ud83d\\udd0d',\n 'mag_right':'\\ud83d\\udd0e',\n 'mahjong':'\\ud83c\\udc04\\ufe0f',\n 'mailbox':'\\ud83d\\udceb',\n 'mailbox_closed':'\\ud83d\\udcea',\n 'mailbox_with_mail':'\\ud83d\\udcec',\n 'mailbox_with_no_mail':'\\ud83d\\udced',\n 'man':'\\ud83d\\udc68',\n 'man_artist':'\\ud83d\\udc68\\ud83c\\udfa8',\n 'man_astronaut':'\\ud83d\\udc68\\ud83d\\ude80',\n 'man_cartwheeling':'\\ud83e\\udd38\\u2642\\ufe0f',\n 'man_cook':'\\ud83d\\udc68\\ud83c\\udf73',\n 'man_dancing':'\\ud83d\\udd7a',\n 'man_facepalming':'\\ud83e\\udd26\\u2642\\ufe0f',\n 'man_factory_worker':'\\ud83d\\udc68\\ud83c\\udfed',\n 'man_farmer':'\\ud83d\\udc68\\ud83c\\udf3e',\n 'man_firefighter':'\\ud83d\\udc68\\ud83d\\ude92',\n 'man_health_worker':'\\ud83d\\udc68\\u2695\\ufe0f',\n 'man_in_tuxedo':'\\ud83e\\udd35',\n 'man_judge':'\\ud83d\\udc68\\u2696\\ufe0f',\n 'man_juggling':'\\ud83e\\udd39\\u2642\\ufe0f',\n 'man_mechanic':'\\ud83d\\udc68\\ud83d\\udd27',\n 'man_office_worker':'\\ud83d\\udc68\\ud83d\\udcbc',\n 'man_pilot':'\\ud83d\\udc68\\u2708\\ufe0f',\n 'man_playing_handball':'\\ud83e\\udd3e\\u2642\\ufe0f',\n 'man_playing_water_polo':'\\ud83e\\udd3d\\u2642\\ufe0f',\n 'man_scientist':'\\ud83d\\udc68\\ud83d\\udd2c',\n 'man_shrugging':'\\ud83e\\udd37\\u2642\\ufe0f',\n 'man_singer':'\\ud83d\\udc68\\ud83c\\udfa4',\n 'man_student':'\\ud83d\\udc68\\ud83c\\udf93',\n 'man_teacher':'\\ud83d\\udc68\\ud83c\\udfeb',\n 'man_technologist':'\\ud83d\\udc68\\ud83d\\udcbb',\n 'man_with_gua_pi_mao':'\\ud83d\\udc72',\n 'man_with_turban':'\\ud83d\\udc73',\n 'tangerine':'\\ud83c\\udf4a',\n 'mans_shoe':'\\ud83d\\udc5e',\n 'mantelpiece_clock':'\\ud83d\\udd70',\n 'maple_leaf':'\\ud83c\\udf41',\n 'martial_arts_uniform':'\\ud83e\\udd4b',\n 'mask':'\\ud83d\\ude37',\n 'massage_woman':'\\ud83d\\udc86',\n 'massage_man':'\\ud83d\\udc86\\u2642\\ufe0f',\n 'meat_on_bone':'\\ud83c\\udf56',\n 'medal_military':'\\ud83c\\udf96',\n 'medal_sports':'\\ud83c\\udfc5',\n 'mega':'\\ud83d\\udce3',\n 'melon':'\\ud83c\\udf48',\n 'memo':'\\ud83d\\udcdd',\n 'men_wrestling':'\\ud83e\\udd3c\\u2642\\ufe0f',\n 'menorah':'\\ud83d\\udd4e',\n 'mens':'\\ud83d\\udeb9',\n 'metal':'\\ud83e\\udd18',\n 'metro':'\\ud83d\\ude87',\n 'microphone':'\\ud83c\\udfa4',\n 'microscope':'\\ud83d\\udd2c',\n 'milk_glass':'\\ud83e\\udd5b',\n 'milky_way':'\\ud83c\\udf0c',\n 'minibus':'\\ud83d\\ude90',\n 'minidisc':'\\ud83d\\udcbd',\n 'mobile_phone_off':'\\ud83d\\udcf4',\n 'money_mouth_face':'\\ud83e\\udd11',\n 'money_with_wings':'\\ud83d\\udcb8',\n 'moneybag':'\\ud83d\\udcb0',\n 'monkey':'\\ud83d\\udc12',\n 'monkey_face':'\\ud83d\\udc35',\n 'monorail':'\\ud83d\\ude9d',\n 'moon':'\\ud83c\\udf14',\n 'mortar_board':'\\ud83c\\udf93',\n 'mosque':'\\ud83d\\udd4c',\n 'motor_boat':'\\ud83d\\udee5',\n 'motor_scooter':'\\ud83d\\udef5',\n 'motorcycle':'\\ud83c\\udfcd',\n 'motorway':'\\ud83d\\udee3',\n 'mount_fuji':'\\ud83d\\uddfb',\n 'mountain':'\\u26f0',\n 'mountain_biking_man':'\\ud83d\\udeb5',\n 'mountain_biking_woman':'\\ud83d\\udeb5\\u2640\\ufe0f',\n 'mountain_cableway':'\\ud83d\\udea0',\n 'mountain_railway':'\\ud83d\\ude9e',\n 'mountain_snow':'\\ud83c\\udfd4',\n 'mouse':'\\ud83d\\udc2d',\n 'mouse2':'\\ud83d\\udc01',\n 'movie_camera':'\\ud83c\\udfa5',\n 'moyai':'\\ud83d\\uddff',\n 'mrs_claus':'\\ud83e\\udd36',\n 'muscle':'\\ud83d\\udcaa',\n 'mushroom':'\\ud83c\\udf44',\n 'musical_keyboard':'\\ud83c\\udfb9',\n 'musical_note':'\\ud83c\\udfb5',\n 'musical_score':'\\ud83c\\udfbc',\n 'mute':'\\ud83d\\udd07',\n 'nail_care':'\\ud83d\\udc85',\n 'name_badge':'\\ud83d\\udcdb',\n 'national_park':'\\ud83c\\udfde',\n 'nauseated_face':'\\ud83e\\udd22',\n 'necktie':'\\ud83d\\udc54',\n 'negative_squared_cross_mark':'\\u274e',\n 'nerd_face':'\\ud83e\\udd13',\n 'neutral_face':'\\ud83d\\ude10',\n 'new':'\\ud83c\\udd95',\n 'new_moon':'\\ud83c\\udf11',\n 'new_moon_with_face':'\\ud83c\\udf1a',\n 'newspaper':'\\ud83d\\udcf0',\n 'newspaper_roll':'\\ud83d\\uddde',\n 'next_track_button':'\\u23ed',\n 'ng':'\\ud83c\\udd96',\n 'no_good_man':'\\ud83d\\ude45\\u2642\\ufe0f',\n 'no_good_woman':'\\ud83d\\ude45',\n 'night_with_stars':'\\ud83c\\udf03',\n 'no_bell':'\\ud83d\\udd15',\n 'no_bicycles':'\\ud83d\\udeb3',\n 'no_entry':'\\u26d4\\ufe0f',\n 'no_entry_sign':'\\ud83d\\udeab',\n 'no_mobile_phones':'\\ud83d\\udcf5',\n 'no_mouth':'\\ud83d\\ude36',\n 'no_pedestrians':'\\ud83d\\udeb7',\n 'no_smoking':'\\ud83d\\udead',\n 'non-potable_water':'\\ud83d\\udeb1',\n 'nose':'\\ud83d\\udc43',\n 'notebook':'\\ud83d\\udcd3',\n 'notebook_with_decorative_cover':'\\ud83d\\udcd4',\n 'notes':'\\ud83c\\udfb6',\n 'nut_and_bolt':'\\ud83d\\udd29',\n 'o':'\\u2b55\\ufe0f',\n 'o2':'\\ud83c\\udd7e\\ufe0f',\n 'ocean':'\\ud83c\\udf0a',\n 'octopus':'\\ud83d\\udc19',\n 'oden':'\\ud83c\\udf62',\n 'office':'\\ud83c\\udfe2',\n 'oil_drum':'\\ud83d\\udee2',\n 'ok':'\\ud83c\\udd97',\n 'ok_hand':'\\ud83d\\udc4c',\n 'ok_man':'\\ud83d\\ude46\\u2642\\ufe0f',\n 'ok_woman':'\\ud83d\\ude46',\n 'old_key':'\\ud83d\\udddd',\n 'older_man':'\\ud83d\\udc74',\n 'older_woman':'\\ud83d\\udc75',\n 'om':'\\ud83d\\udd49',\n 'on':'\\ud83d\\udd1b',\n 'oncoming_automobile':'\\ud83d\\ude98',\n 'oncoming_bus':'\\ud83d\\ude8d',\n 'oncoming_police_car':'\\ud83d\\ude94',\n 'oncoming_taxi':'\\ud83d\\ude96',\n 'open_file_folder':'\\ud83d\\udcc2',\n 'open_hands':'\\ud83d\\udc50',\n 'open_mouth':'\\ud83d\\ude2e',\n 'open_umbrella':'\\u2602\\ufe0f',\n 'ophiuchus':'\\u26ce',\n 'orange_book':'\\ud83d\\udcd9',\n 'orthodox_cross':'\\u2626\\ufe0f',\n 'outbox_tray':'\\ud83d\\udce4',\n 'owl':'\\ud83e\\udd89',\n 'ox':'\\ud83d\\udc02',\n 'package':'\\ud83d\\udce6',\n 'page_facing_up':'\\ud83d\\udcc4',\n 'page_with_curl':'\\ud83d\\udcc3',\n 'pager':'\\ud83d\\udcdf',\n 'paintbrush':'\\ud83d\\udd8c',\n 'palm_tree':'\\ud83c\\udf34',\n 'pancakes':'\\ud83e\\udd5e',\n 'panda_face':'\\ud83d\\udc3c',\n 'paperclip':'\\ud83d\\udcce',\n 'paperclips':'\\ud83d\\udd87',\n 'parasol_on_ground':'\\u26f1',\n 'parking':'\\ud83c\\udd7f\\ufe0f',\n 'part_alternation_mark':'\\u303d\\ufe0f',\n 'partly_sunny':'\\u26c5\\ufe0f',\n 'passenger_ship':'\\ud83d\\udef3',\n 'passport_control':'\\ud83d\\udec2',\n 'pause_button':'\\u23f8',\n 'peace_symbol':'\\u262e\\ufe0f',\n 'peach':'\\ud83c\\udf51',\n 'peanuts':'\\ud83e\\udd5c',\n 'pear':'\\ud83c\\udf50',\n 'pen':'\\ud83d\\udd8a',\n 'pencil2':'\\u270f\\ufe0f',\n 'penguin':'\\ud83d\\udc27',\n 'pensive':'\\ud83d\\ude14',\n 'performing_arts':'\\ud83c\\udfad',\n 'persevere':'\\ud83d\\ude23',\n 'person_fencing':'\\ud83e\\udd3a',\n 'pouting_woman':'\\ud83d\\ude4e',\n 'phone':'\\u260e\\ufe0f',\n 'pick':'\\u26cf',\n 'pig':'\\ud83d\\udc37',\n 'pig2':'\\ud83d\\udc16',\n 'pig_nose':'\\ud83d\\udc3d',\n 'pill':'\\ud83d\\udc8a',\n 'pineapple':'\\ud83c\\udf4d',\n 'ping_pong':'\\ud83c\\udfd3',\n 'pisces':'\\u2653\\ufe0f',\n 'pizza':'\\ud83c\\udf55',\n 'place_of_worship':'\\ud83d\\uded0',\n 'plate_with_cutlery':'\\ud83c\\udf7d',\n 'play_or_pause_button':'\\u23ef',\n 'point_down':'\\ud83d\\udc47',\n 'point_left':'\\ud83d\\udc48',\n 'point_right':'\\ud83d\\udc49',\n 'point_up':'\\u261d\\ufe0f',\n 'point_up_2':'\\ud83d\\udc46',\n 'police_car':'\\ud83d\\ude93',\n 'policewoman':'\\ud83d\\udc6e\\u2640\\ufe0f',\n 'poodle':'\\ud83d\\udc29',\n 'popcorn':'\\ud83c\\udf7f',\n 'post_office':'\\ud83c\\udfe3',\n 'postal_horn':'\\ud83d\\udcef',\n 'postbox':'\\ud83d\\udcee',\n 'potable_water':'\\ud83d\\udeb0',\n 'potato':'\\ud83e\\udd54',\n 'pouch':'\\ud83d\\udc5d',\n 'poultry_leg':'\\ud83c\\udf57',\n 'pound':'\\ud83d\\udcb7',\n 'rage':'\\ud83d\\ude21',\n 'pouting_cat':'\\ud83d\\ude3e',\n 'pouting_man':'\\ud83d\\ude4e\\u2642\\ufe0f',\n 'pray':'\\ud83d\\ude4f',\n 'prayer_beads':'\\ud83d\\udcff',\n 'pregnant_woman':'\\ud83e\\udd30',\n 'previous_track_button':'\\u23ee',\n 'prince':'\\ud83e\\udd34',\n 'princess':'\\ud83d\\udc78',\n 'printer':'\\ud83d\\udda8',\n 'purple_heart':'\\ud83d\\udc9c',\n 'purse':'\\ud83d\\udc5b',\n 'pushpin':'\\ud83d\\udccc',\n 'put_litter_in_its_place':'\\ud83d\\udeae',\n 'question':'\\u2753',\n 'rabbit':'\\ud83d\\udc30',\n 'rabbit2':'\\ud83d\\udc07',\n 'racehorse':'\\ud83d\\udc0e',\n 'racing_car':'\\ud83c\\udfce',\n 'radio':'\\ud83d\\udcfb',\n 'radio_button':'\\ud83d\\udd18',\n 'radioactive':'\\u2622\\ufe0f',\n 'railway_car':'\\ud83d\\ude83',\n 'railway_track':'\\ud83d\\udee4',\n 'rainbow':'\\ud83c\\udf08',\n 'rainbow_flag':'\\ud83c\\udff3\\ufe0f\\ud83c\\udf08',\n 'raised_back_of_hand':'\\ud83e\\udd1a',\n 'raised_hand_with_fingers_splayed':'\\ud83d\\udd90',\n 'raised_hands':'\\ud83d\\ude4c',\n 'raising_hand_woman':'\\ud83d\\ude4b',\n 'raising_hand_man':'\\ud83d\\ude4b\\u2642\\ufe0f',\n 'ram':'\\ud83d\\udc0f',\n 'ramen':'\\ud83c\\udf5c',\n 'rat':'\\ud83d\\udc00',\n 'record_button':'\\u23fa',\n 'recycle':'\\u267b\\ufe0f',\n 'red_circle':'\\ud83d\\udd34',\n 'registered':'\\u00ae\\ufe0f',\n 'relaxed':'\\u263a\\ufe0f',\n 'relieved':'\\ud83d\\ude0c',\n 'reminder_ribbon':'\\ud83c\\udf97',\n 'repeat':'\\ud83d\\udd01',\n 'repeat_one':'\\ud83d\\udd02',\n 'rescue_worker_helmet':'\\u26d1',\n 'restroom':'\\ud83d\\udebb',\n 'revolving_hearts':'\\ud83d\\udc9e',\n 'rewind':'\\u23ea',\n 'rhinoceros':'\\ud83e\\udd8f',\n 'ribbon':'\\ud83c\\udf80',\n 'rice':'\\ud83c\\udf5a',\n 'rice_ball':'\\ud83c\\udf59',\n 'rice_cracker':'\\ud83c\\udf58',\n 'rice_scene':'\\ud83c\\udf91',\n 'right_anger_bubble':'\\ud83d\\uddef',\n 'ring':'\\ud83d\\udc8d',\n 'robot':'\\ud83e\\udd16',\n 'rocket':'\\ud83d\\ude80',\n 'rofl':'\\ud83e\\udd23',\n 'roll_eyes':'\\ud83d\\ude44',\n 'roller_coaster':'\\ud83c\\udfa2',\n 'rooster':'\\ud83d\\udc13',\n 'rose':'\\ud83c\\udf39',\n 'rosette':'\\ud83c\\udff5',\n 'rotating_light':'\\ud83d\\udea8',\n 'round_pushpin':'\\ud83d\\udccd',\n 'rowing_man':'\\ud83d\\udea3',\n 'rowing_woman':'\\ud83d\\udea3\\u2640\\ufe0f',\n 'rugby_football':'\\ud83c\\udfc9',\n 'running_man':'\\ud83c\\udfc3',\n 'running_shirt_with_sash':'\\ud83c\\udfbd',\n 'running_woman':'\\ud83c\\udfc3\\u2640\\ufe0f',\n 'sa':'\\ud83c\\ude02\\ufe0f',\n 'sagittarius':'\\u2650\\ufe0f',\n 'sake':'\\ud83c\\udf76',\n 'sandal':'\\ud83d\\udc61',\n 'santa':'\\ud83c\\udf85',\n 'satellite':'\\ud83d\\udce1',\n 'saxophone':'\\ud83c\\udfb7',\n 'school':'\\ud83c\\udfeb',\n 'school_satchel':'\\ud83c\\udf92',\n 'scissors':'\\u2702\\ufe0f',\n 'scorpion':'\\ud83e\\udd82',\n 'scorpius':'\\u264f\\ufe0f',\n 'scream':'\\ud83d\\ude31',\n 'scream_cat':'\\ud83d\\ude40',\n 'scroll':'\\ud83d\\udcdc',\n 'seat':'\\ud83d\\udcba',\n 'secret':'\\u3299\\ufe0f',\n 'see_no_evil':'\\ud83d\\ude48',\n 'seedling':'\\ud83c\\udf31',\n 'selfie':'\\ud83e\\udd33',\n 'shallow_pan_of_food':'\\ud83e\\udd58',\n 'shamrock':'\\u2618\\ufe0f',\n 'shark':'\\ud83e\\udd88',\n 'shaved_ice':'\\ud83c\\udf67',\n 'sheep':'\\ud83d\\udc11',\n 'shell':'\\ud83d\\udc1a',\n 'shield':'\\ud83d\\udee1',\n 'shinto_shrine':'\\u26e9',\n 'ship':'\\ud83d\\udea2',\n 'shirt':'\\ud83d\\udc55',\n 'shopping':'\\ud83d\\udecd',\n 'shopping_cart':'\\ud83d\\uded2',\n 'shower':'\\ud83d\\udebf',\n 'shrimp':'\\ud83e\\udd90',\n 'signal_strength':'\\ud83d\\udcf6',\n 'six_pointed_star':'\\ud83d\\udd2f',\n 'ski':'\\ud83c\\udfbf',\n 'skier':'\\u26f7',\n 'skull':'\\ud83d\\udc80',\n 'skull_and_crossbones':'\\u2620\\ufe0f',\n 'sleeping':'\\ud83d\\ude34',\n 'sleeping_bed':'\\ud83d\\udecc',\n 'sleepy':'\\ud83d\\ude2a',\n 'slightly_frowning_face':'\\ud83d\\ude41',\n 'slightly_smiling_face':'\\ud83d\\ude42',\n 'slot_machine':'\\ud83c\\udfb0',\n 'small_airplane':'\\ud83d\\udee9',\n 'small_blue_diamond':'\\ud83d\\udd39',\n 'small_orange_diamond':'\\ud83d\\udd38',\n 'small_red_triangle':'\\ud83d\\udd3a',\n 'small_red_triangle_down':'\\ud83d\\udd3b',\n 'smile':'\\ud83d\\ude04',\n 'smile_cat':'\\ud83d\\ude38',\n 'smiley':'\\ud83d\\ude03',\n 'smiley_cat':'\\ud83d\\ude3a',\n 'smiling_imp':'\\ud83d\\ude08',\n 'smirk':'\\ud83d\\ude0f',\n 'smirk_cat':'\\ud83d\\ude3c',\n 'smoking':'\\ud83d\\udeac',\n 'snail':'\\ud83d\\udc0c',\n 'snake':'\\ud83d\\udc0d',\n 'sneezing_face':'\\ud83e\\udd27',\n 'snowboarder':'\\ud83c\\udfc2',\n 'snowflake':'\\u2744\\ufe0f',\n 'snowman':'\\u26c4\\ufe0f',\n 'snowman_with_snow':'\\u2603\\ufe0f',\n 'sob':'\\ud83d\\ude2d',\n 'soccer':'\\u26bd\\ufe0f',\n 'soon':'\\ud83d\\udd1c',\n 'sos':'\\ud83c\\udd98',\n 'sound':'\\ud83d\\udd09',\n 'space_invader':'\\ud83d\\udc7e',\n 'spades':'\\u2660\\ufe0f',\n 'spaghetti':'\\ud83c\\udf5d',\n 'sparkle':'\\u2747\\ufe0f',\n 'sparkler':'\\ud83c\\udf87',\n 'sparkles':'\\u2728',\n 'sparkling_heart':'\\ud83d\\udc96',\n 'speak_no_evil':'\\ud83d\\ude4a',\n 'speaker':'\\ud83d\\udd08',\n 'speaking_head':'\\ud83d\\udde3',\n 'speech_balloon':'\\ud83d\\udcac',\n 'speedboat':'\\ud83d\\udea4',\n 'spider':'\\ud83d\\udd77',\n 'spider_web':'\\ud83d\\udd78',\n 'spiral_calendar':'\\ud83d\\uddd3',\n 'spiral_notepad':'\\ud83d\\uddd2',\n 'spoon':'\\ud83e\\udd44',\n 'squid':'\\ud83e\\udd91',\n 'stadium':'\\ud83c\\udfdf',\n 'star':'\\u2b50\\ufe0f',\n 'star2':'\\ud83c\\udf1f',\n 'star_and_crescent':'\\u262a\\ufe0f',\n 'star_of_david':'\\u2721\\ufe0f',\n 'stars':'\\ud83c\\udf20',\n 'station':'\\ud83d\\ude89',\n 'statue_of_liberty':'\\ud83d\\uddfd',\n 'steam_locomotive':'\\ud83d\\ude82',\n 'stew':'\\ud83c\\udf72',\n 'stop_button':'\\u23f9',\n 'stop_sign':'\\ud83d\\uded1',\n 'stopwatch':'\\u23f1',\n 'straight_ruler':'\\ud83d\\udccf',\n 'strawberry':'\\ud83c\\udf53',\n 'stuck_out_tongue':'\\ud83d\\ude1b',\n 'stuck_out_tongue_closed_eyes':'\\ud83d\\ude1d',\n 'stuck_out_tongue_winking_eye':'\\ud83d\\ude1c',\n 'studio_microphone':'\\ud83c\\udf99',\n 'stuffed_flatbread':'\\ud83e\\udd59',\n 'sun_behind_large_cloud':'\\ud83c\\udf25',\n 'sun_behind_rain_cloud':'\\ud83c\\udf26',\n 'sun_behind_small_cloud':'\\ud83c\\udf24',\n 'sun_with_face':'\\ud83c\\udf1e',\n 'sunflower':'\\ud83c\\udf3b',\n 'sunglasses':'\\ud83d\\ude0e',\n 'sunny':'\\u2600\\ufe0f',\n 'sunrise':'\\ud83c\\udf05',\n 'sunrise_over_mountains':'\\ud83c\\udf04',\n 'surfing_man':'\\ud83c\\udfc4',\n 'surfing_woman':'\\ud83c\\udfc4\\u2640\\ufe0f',\n 'sushi':'\\ud83c\\udf63',\n 'suspension_railway':'\\ud83d\\ude9f',\n 'sweat':'\\ud83d\\ude13',\n 'sweat_drops':'\\ud83d\\udca6',\n 'sweat_smile':'\\ud83d\\ude05',\n 'sweet_potato':'\\ud83c\\udf60',\n 'swimming_man':'\\ud83c\\udfca',\n 'swimming_woman':'\\ud83c\\udfca\\u2640\\ufe0f',\n 'symbols':'\\ud83d\\udd23',\n 'synagogue':'\\ud83d\\udd4d',\n 'syringe':'\\ud83d\\udc89',\n 'taco':'\\ud83c\\udf2e',\n 'tada':'\\ud83c\\udf89',\n 'tanabata_tree':'\\ud83c\\udf8b',\n 'taurus':'\\u2649\\ufe0f',\n 'taxi':'\\ud83d\\ude95',\n 'tea':'\\ud83c\\udf75',\n 'telephone_receiver':'\\ud83d\\udcde',\n 'telescope':'\\ud83d\\udd2d',\n 'tennis':'\\ud83c\\udfbe',\n 'tent':'\\u26fa\\ufe0f',\n 'thermometer':'\\ud83c\\udf21',\n 'thinking':'\\ud83e\\udd14',\n 'thought_balloon':'\\ud83d\\udcad',\n 'ticket':'\\ud83c\\udfab',\n 'tickets':'\\ud83c\\udf9f',\n 'tiger':'\\ud83d\\udc2f',\n 'tiger2':'\\ud83d\\udc05',\n 'timer_clock':'\\u23f2',\n 'tipping_hand_man':'\\ud83d\\udc81\\u2642\\ufe0f',\n 'tired_face':'\\ud83d\\ude2b',\n 'tm':'\\u2122\\ufe0f',\n 'toilet':'\\ud83d\\udebd',\n 'tokyo_tower':'\\ud83d\\uddfc',\n 'tomato':'\\ud83c\\udf45',\n 'tongue':'\\ud83d\\udc45',\n 'top':'\\ud83d\\udd1d',\n 'tophat':'\\ud83c\\udfa9',\n 'tornado':'\\ud83c\\udf2a',\n 'trackball':'\\ud83d\\uddb2',\n 'tractor':'\\ud83d\\ude9c',\n 'traffic_light':'\\ud83d\\udea5',\n 'train':'\\ud83d\\ude8b',\n 'train2':'\\ud83d\\ude86',\n 'tram':'\\ud83d\\ude8a',\n 'triangular_flag_on_post':'\\ud83d\\udea9',\n 'triangular_ruler':'\\ud83d\\udcd0',\n 'trident':'\\ud83d\\udd31',\n 'triumph':'\\ud83d\\ude24',\n 'trolleybus':'\\ud83d\\ude8e',\n 'trophy':'\\ud83c\\udfc6',\n 'tropical_drink':'\\ud83c\\udf79',\n 'tropical_fish':'\\ud83d\\udc20',\n 'truck':'\\ud83d\\ude9a',\n 'trumpet':'\\ud83c\\udfba',\n 'tulip':'\\ud83c\\udf37',\n 'tumbler_glass':'\\ud83e\\udd43',\n 'turkey':'\\ud83e\\udd83',\n 'turtle':'\\ud83d\\udc22',\n 'tv':'\\ud83d\\udcfa',\n 'twisted_rightwards_arrows':'\\ud83d\\udd00',\n 'two_hearts':'\\ud83d\\udc95',\n 'two_men_holding_hands':'\\ud83d\\udc6c',\n 'two_women_holding_hands':'\\ud83d\\udc6d',\n 'u5272':'\\ud83c\\ude39',\n 'u5408':'\\ud83c\\ude34',\n 'u55b6':'\\ud83c\\ude3a',\n 'u6307':'\\ud83c\\ude2f\\ufe0f',\n 'u6708':'\\ud83c\\ude37\\ufe0f',\n 'u6709':'\\ud83c\\ude36',\n 'u6e80':'\\ud83c\\ude35',\n 'u7121':'\\ud83c\\ude1a\\ufe0f',\n 'u7533':'\\ud83c\\ude38',\n 'u7981':'\\ud83c\\ude32',\n 'u7a7a':'\\ud83c\\ude33',\n 'umbrella':'\\u2614\\ufe0f',\n 'unamused':'\\ud83d\\ude12',\n 'underage':'\\ud83d\\udd1e',\n 'unicorn':'\\ud83e\\udd84',\n 'unlock':'\\ud83d\\udd13',\n 'up':'\\ud83c\\udd99',\n 'upside_down_face':'\\ud83d\\ude43',\n 'v':'\\u270c\\ufe0f',\n 'vertical_traffic_light':'\\ud83d\\udea6',\n 'vhs':'\\ud83d\\udcfc',\n 'vibration_mode':'\\ud83d\\udcf3',\n 'video_camera':'\\ud83d\\udcf9',\n 'video_game':'\\ud83c\\udfae',\n 'violin':'\\ud83c\\udfbb',\n 'virgo':'\\u264d\\ufe0f',\n 'volcano':'\\ud83c\\udf0b',\n 'volleyball':'\\ud83c\\udfd0',\n 'vs':'\\ud83c\\udd9a',\n 'vulcan_salute':'\\ud83d\\udd96',\n 'walking_man':'\\ud83d\\udeb6',\n 'walking_woman':'\\ud83d\\udeb6\\u2640\\ufe0f',\n 'waning_crescent_moon':'\\ud83c\\udf18',\n 'waning_gibbous_moon':'\\ud83c\\udf16',\n 'warning':'\\u26a0\\ufe0f',\n 'wastebasket':'\\ud83d\\uddd1',\n 'watch':'\\u231a\\ufe0f',\n 'water_buffalo':'\\ud83d\\udc03',\n 'watermelon':'\\ud83c\\udf49',\n 'wave':'\\ud83d\\udc4b',\n 'wavy_dash':'\\u3030\\ufe0f',\n 'waxing_crescent_moon':'\\ud83c\\udf12',\n 'wc':'\\ud83d\\udebe',\n 'weary':'\\ud83d\\ude29',\n 'wedding':'\\ud83d\\udc92',\n 'weight_lifting_man':'\\ud83c\\udfcb\\ufe0f',\n 'weight_lifting_woman':'\\ud83c\\udfcb\\ufe0f\\u2640\\ufe0f',\n 'whale':'\\ud83d\\udc33',\n 'whale2':'\\ud83d\\udc0b',\n 'wheel_of_dharma':'\\u2638\\ufe0f',\n 'wheelchair':'\\u267f\\ufe0f',\n 'white_check_mark':'\\u2705',\n 'white_circle':'\\u26aa\\ufe0f',\n 'white_flag':'\\ud83c\\udff3\\ufe0f',\n 'white_flower':'\\ud83d\\udcae',\n 'white_large_square':'\\u2b1c\\ufe0f',\n 'white_medium_small_square':'\\u25fd\\ufe0f',\n 'white_medium_square':'\\u25fb\\ufe0f',\n 'white_small_square':'\\u25ab\\ufe0f',\n 'white_square_button':'\\ud83d\\udd33',\n 'wilted_flower':'\\ud83e\\udd40',\n 'wind_chime':'\\ud83c\\udf90',\n 'wind_face':'\\ud83c\\udf2c',\n 'wine_glass':'\\ud83c\\udf77',\n 'wink':'\\ud83d\\ude09',\n 'wolf':'\\ud83d\\udc3a',\n 'woman':'\\ud83d\\udc69',\n 'woman_artist':'\\ud83d\\udc69\\ud83c\\udfa8',\n 'woman_astronaut':'\\ud83d\\udc69\\ud83d\\ude80',\n 'woman_cartwheeling':'\\ud83e\\udd38\\u2640\\ufe0f',\n 'woman_cook':'\\ud83d\\udc69\\ud83c\\udf73',\n 'woman_facepalming':'\\ud83e\\udd26\\u2640\\ufe0f',\n 'woman_factory_worker':'\\ud83d\\udc69\\ud83c\\udfed',\n 'woman_farmer':'\\ud83d\\udc69\\ud83c\\udf3e',\n 'woman_firefighter':'\\ud83d\\udc69\\ud83d\\ude92',\n 'woman_health_worker':'\\ud83d\\udc69\\u2695\\ufe0f',\n 'woman_judge':'\\ud83d\\udc69\\u2696\\ufe0f',\n 'woman_juggling':'\\ud83e\\udd39\\u2640\\ufe0f',\n 'woman_mechanic':'\\ud83d\\udc69\\ud83d\\udd27',\n 'woman_office_worker':'\\ud83d\\udc69\\ud83d\\udcbc',\n 'woman_pilot':'\\ud83d\\udc69\\u2708\\ufe0f',\n 'woman_playing_handball':'\\ud83e\\udd3e\\u2640\\ufe0f',\n 'woman_playing_water_polo':'\\ud83e\\udd3d\\u2640\\ufe0f',\n 'woman_scientist':'\\ud83d\\udc69\\ud83d\\udd2c',\n 'woman_shrugging':'\\ud83e\\udd37\\u2640\\ufe0f',\n 'woman_singer':'\\ud83d\\udc69\\ud83c\\udfa4',\n 'woman_student':'\\ud83d\\udc69\\ud83c\\udf93',\n 'woman_teacher':'\\ud83d\\udc69\\ud83c\\udfeb',\n 'woman_technologist':'\\ud83d\\udc69\\ud83d\\udcbb',\n 'woman_with_turban':'\\ud83d\\udc73\\u2640\\ufe0f',\n 'womans_clothes':'\\ud83d\\udc5a',\n 'womans_hat':'\\ud83d\\udc52',\n 'women_wrestling':'\\ud83e\\udd3c\\u2640\\ufe0f',\n 'womens':'\\ud83d\\udeba',\n 'world_map':'\\ud83d\\uddfa',\n 'worried':'\\ud83d\\ude1f',\n 'wrench':'\\ud83d\\udd27',\n 'writing_hand':'\\u270d\\ufe0f',\n 'x':'\\u274c',\n 'yellow_heart':'\\ud83d\\udc9b',\n 'yen':'\\ud83d\\udcb4',\n 'yin_yang':'\\u262f\\ufe0f',\n 'yum':'\\ud83d\\ude0b',\n 'zap':'\\u26a1\\ufe0f',\n 'zipper_mouth_face':'\\ud83e\\udd10',\n 'zzz':'\\ud83d\\udca4',\n\n /* special emojis :P */\n 'octocat': '',\n 'showdown': 'S'\n};\n\r\n/**\n * Created by Estevao on 31-05-2015.\n */\n\n/**\n * Showdown Converter class\n * @class\n * @param {object} [converterOptions]\n * @returns {Converter}\n */\nshowdown.Converter = function (converterOptions) {\n 'use strict';\n\n var\n /**\n * Options used by this converter\n * @private\n * @type {{}}\n */\n options = {},\n\n /**\n * Language extensions used by this converter\n * @private\n * @type {Array}\n */\n langExtensions = [],\n\n /**\n * Output modifiers extensions used by this converter\n * @private\n * @type {Array}\n */\n outputModifiers = [],\n\n /**\n * Event listeners\n * @private\n * @type {{}}\n */\n listeners = {},\n\n /**\n * The flavor set in this converter\n */\n setConvFlavor = setFlavor,\n\n /**\n * Metadata of the document\n * @type {{parsed: {}, raw: string, format: string}}\n */\n metadata = {\n parsed: {},\n raw: '',\n format: ''\n };\n\n _constructor();\n\n /**\n * Converter constructor\n * @private\n */\n function _constructor () {\n converterOptions = converterOptions || {};\n\n for (var gOpt in globalOptions) {\n if (globalOptions.hasOwnProperty(gOpt)) {\n options[gOpt] = globalOptions[gOpt];\n }\n }\n\n // Merge options\n if (typeof converterOptions === 'object') {\n for (var opt in converterOptions) {\n if (converterOptions.hasOwnProperty(opt)) {\n options[opt] = converterOptions[opt];\n }\n }\n } else {\n throw Error('Converter expects the passed parameter to be an object, but ' + typeof converterOptions +\n ' was passed instead.');\n }\n\n if (options.extensions) {\n showdown.helper.forEach(options.extensions, _parseExtension);\n }\n }\n\n /**\n * Parse extension\n * @param {*} ext\n * @param {string} [name='']\n * @private\n */\n function _parseExtension (ext, name) {\n\n name = name || null;\n // If it's a string, the extension was previously loaded\n if (showdown.helper.isString(ext)) {\n ext = showdown.helper.stdExtName(ext);\n name = ext;\n\n // LEGACY_SUPPORT CODE\n if (showdown.extensions[ext]) {\n console.warn('DEPRECATION WARNING: ' + ext + ' is an old extension that uses a deprecated loading method.' +\n 'Please inform the developer that the extension should be updated!');\n legacyExtensionLoading(showdown.extensions[ext], ext);\n return;\n // END LEGACY SUPPORT CODE\n\n } else if (!showdown.helper.isUndefined(extensions[ext])) {\n ext = extensions[ext];\n\n } else {\n throw Error('Extension \"' + ext + '\" could not be loaded. It was either not found or is not a valid extension.');\n }\n }\n\n if (typeof ext === 'function') {\n ext = ext();\n }\n\n if (!showdown.helper.isArray(ext)) {\n ext = [ext];\n }\n\n var validExt = validate(ext, name);\n if (!validExt.valid) {\n throw Error(validExt.error);\n }\n\n for (var i = 0; i < ext.length; ++i) {\n switch (ext[i].type) {\n\n case 'lang':\n langExtensions.push(ext[i]);\n break;\n\n case 'output':\n outputModifiers.push(ext[i]);\n break;\n }\n if (ext[i].hasOwnProperty('listeners')) {\n for (var ln in ext[i].listeners) {\n if (ext[i].listeners.hasOwnProperty(ln)) {\n listen(ln, ext[i].listeners[ln]);\n }\n }\n }\n }\n\n }\n\n /**\n * LEGACY_SUPPORT\n * @param {*} ext\n * @param {string} name\n */\n function legacyExtensionLoading (ext, name) {\n if (typeof ext === 'function') {\n ext = ext(new showdown.Converter());\n }\n if (!showdown.helper.isArray(ext)) {\n ext = [ext];\n }\n var valid = validate(ext, name);\n\n if (!valid.valid) {\n throw Error(valid.error);\n }\n\n for (var i = 0; i < ext.length; ++i) {\n switch (ext[i].type) {\n case 'lang':\n langExtensions.push(ext[i]);\n break;\n case 'output':\n outputModifiers.push(ext[i]);\n break;\n default:// should never reach here\n throw Error('Extension loader error: Type unrecognized!!!');\n }\n }\n }\n\n /**\n * Listen to an event\n * @param {string} name\n * @param {function} callback\n */\n function listen (name, callback) {\n if (!showdown.helper.isString(name)) {\n throw Error('Invalid argument in converter.listen() method: name must be a string, but ' + typeof name + ' given');\n }\n\n if (typeof callback !== 'function') {\n throw Error('Invalid argument in converter.listen() method: callback must be a function, but ' + typeof callback + ' given');\n }\n\n if (!listeners.hasOwnProperty(name)) {\n listeners[name] = [];\n }\n listeners[name].push(callback);\n }\n\n function rTrimInputText (text) {\n var rsp = text.match(/^\\s*/)[0].length,\n rgx = new RegExp('^\\\\s{0,' + rsp + '}', 'gm');\n return text.replace(rgx, '');\n }\n\n /**\n * Dispatch an event\n * @private\n * @param {string} evtName Event name\n * @param {string} text Text\n * @param {{}} options Converter Options\n * @param {{}} globals\n * @returns {string}\n */\n this._dispatch = function dispatch (evtName, text, options, globals) {\n if (listeners.hasOwnProperty(evtName)) {\n for (var ei = 0; ei < listeners[evtName].length; ++ei) {\n var nText = listeners[evtName][ei](evtName, text, this, options, globals);\n if (nText && typeof nText !== 'undefined') {\n text = nText;\n }\n }\n }\n return text;\n };\n\n /**\n * Listen to an event\n * @param {string} name\n * @param {function} callback\n * @returns {showdown.Converter}\n */\n this.listen = function (name, callback) {\n listen(name, callback);\n return this;\n };\n\n /**\n * Converts a markdown string into HTML\n * @param {string} text\n * @returns {*}\n */\n this.makeHtml = function (text) {\n //check if text is not falsy\n if (!text) {\n return text;\n }\n\n var globals = {\n gHtmlBlocks: [],\n gHtmlMdBlocks: [],\n gHtmlSpans: [],\n gUrls: {},\n gTitles: {},\n gDimensions: {},\n gListLevel: 0,\n hashLinkCounts: {},\n langExtensions: langExtensions,\n outputModifiers: outputModifiers,\n converter: this,\n ghCodeBlocks: [],\n metadata: {\n parsed: {},\n raw: '',\n format: ''\n }\n };\n\n // This lets us use ¨ trema as an escape char to avoid md5 hashes\n // The choice of character is arbitrary; anything that isn't\n // magic in Markdown will work.\n text = text.replace(/¨/g, '¨T');\n\n // Replace $ with ¨D\n // RegExp interprets $ as a special character\n // when it's in a replacement string\n text = text.replace(/\\$/g, '¨D');\n\n // Standardize line endings\n text = text.replace(/\\r\\n/g, '\\n'); // DOS to Unix\n text = text.replace(/\\r/g, '\\n'); // Mac to Unix\n\n // Stardardize line spaces\n text = text.replace(/\\u00A0/g, ' ');\n\n if (options.smartIndentationFix) {\n text = rTrimInputText(text);\n }\n\n // Make sure text begins and ends with a couple of newlines:\n text = '\\n\\n' + text + '\\n\\n';\n\n // detab\n text = showdown.subParser('detab')(text, options, globals);\n\n /**\n * Strip any lines consisting only of spaces and tabs.\n * This makes subsequent regexs easier to write, because we can\n * match consecutive blank lines with /\\n+/ instead of something\n * contorted like /[ \\t]*\\n+/\n */\n text = text.replace(/^[ \\t]+$/mg, '');\n\n //run languageExtensions\n showdown.helper.forEach(langExtensions, function (ext) {\n text = showdown.subParser('runExtension')(ext, text, options, globals);\n });\n\n // run the sub parsers\n text = showdown.subParser('metadata')(text, options, globals);\n text = showdown.subParser('hashPreCodeTags')(text, options, globals);\n text = showdown.subParser('githubCodeBlocks')(text, options, globals);\n text = showdown.subParser('hashHTMLBlocks')(text, options, globals);\n text = showdown.subParser('hashCodeTags')(text, options, globals);\n text = showdown.subParser('stripLinkDefinitions')(text, options, globals);\n text = showdown.subParser('blockGamut')(text, options, globals);\n text = showdown.subParser('unhashHTMLSpans')(text, options, globals);\n text = showdown.subParser('unescapeSpecialChars')(text, options, globals);\n\n // attacklab: Restore dollar signs\n text = text.replace(/¨D/g, '$$');\n\n // attacklab: Restore tremas\n text = text.replace(/¨T/g, '¨');\n\n // render a complete html document instead of a partial if the option is enabled\n text = showdown.subParser('completeHTMLDocument')(text, options, globals);\n\n // Run output modifiers\n showdown.helper.forEach(outputModifiers, function (ext) {\n text = showdown.subParser('runExtension')(ext, text, options, globals);\n });\n\n // update metadata\n metadata = globals.metadata;\n return text;\n };\n\n /**\n * Converts an HTML string into a markdown string\n * @param src\n * @param [HTMLParser] A WHATWG DOM and HTML parser, such as JSDOM. If none is supplied, window.document will be used.\n * @returns {string}\n */\n this.makeMarkdown = this.makeMd = function (src, HTMLParser) {\n\n // replace \\r\\n with \\n\n src = src.replace(/\\r\\n/g, '\\n');\n src = src.replace(/\\r/g, '\\n'); // old macs\n\n // due to an edge case, we need to find this: > <\n // to prevent removing of non silent white spaces\n // ex: this is sparta\n src = src.replace(/>[ \\t]+, '>¨NBSP;<');\n\n if (!HTMLParser) {\n if (window && window.document) {\n HTMLParser = window.document;\n } else {\n throw new Error('HTMLParser is undefined. If in a webworker or nodejs environment, you need to provide a WHATWG DOM and HTML such as JSDOM');\n }\n }\n\n var doc = HTMLParser.createElement('div');\n doc.innerHTML = src;\n\n var globals = {\n preList: substitutePreCodeTags(doc)\n };\n\n // remove all newlines and collapse spaces\n clean(doc);\n\n // some stuff, like accidental reference links must now be escaped\n // TODO\n // doc.innerHTML = doc.innerHTML.replace(/\\[[\\S\\t ]]/);\n\n var nodes = doc.childNodes,\n mdDoc = '';\n\n for (var i = 0; i < nodes.length; i++) {\n mdDoc += showdown.subParser('makeMarkdown.node')(nodes[i], globals);\n }\n\n function clean (node) {\n for (var n = 0; n < node.childNodes.length; ++n) {\n var child = node.childNodes[n];\n if (child.nodeType === 3) {\n if (!/\\S/.test(child.nodeValue)) {\n node.removeChild(child);\n --n;\n } else {\n child.nodeValue = child.nodeValue.split('\\n').join(' ');\n child.nodeValue = child.nodeValue.replace(/(\\s)+/g, '$1');\n }\n } else if (child.nodeType === 1) {\n clean(child);\n }\n }\n }\n\n // find all pre tags and replace contents with placeholder\n // we need this so that we can remove all indentation from html\n // to ease up parsing\n function substitutePreCodeTags (doc) {\n\n var pres = doc.querySelectorAll('pre'),\n presPH = [];\n\n for (var i = 0; i < pres.length; ++i) {\n\n if (pres[i].childElementCount === 1 && pres[i].firstChild.tagName.toLowerCase() === 'code') {\n var content = pres[i].firstChild.innerHTML.trim(),\n language = pres[i].firstChild.getAttribute('data-language') || '';\n\n // if data-language attribute is not defined, then we look for class language-*\n if (language === '') {\n var classes = pres[i].firstChild.className.split(' ');\n for (var c = 0; c < classes.length; ++c) {\n var matches = classes[c].match(/^language-(.+)$/);\n if (matches !== null) {\n language = matches[1];\n break;\n }\n }\n }\n\n // unescape html entities in content\n content = showdown.helper.unescapeHTMLEntities(content);\n\n presPH.push(content);\n pres[i].outerHTML = ' ';\n } else {\n presPH.push(pres[i].innerHTML);\n pres[i].innerHTML = '';\n pres[i].setAttribute('prenum', i.toString());\n }\n }\n return presPH;\n }\n\n return mdDoc;\n };\n\n /**\n * Set an option of this Converter instance\n * @param {string} key\n * @param {*} value\n */\n this.setOption = function (key, value) {\n options[key] = value;\n };\n\n /**\n * Get the option of this Converter instance\n * @param {string} key\n * @returns {*}\n */\n this.getOption = function (key) {\n return options[key];\n };\n\n /**\n * Get the options of this Converter instance\n * @returns {{}}\n */\n this.getOptions = function () {\n return options;\n };\n\n /**\n * Add extension to THIS converter\n * @param {{}} extension\n * @param {string} [name=null]\n */\n this.addExtension = function (extension, name) {\n name = name || null;\n _parseExtension(extension, name);\n };\n\n /**\n * Use a global registered extension with THIS converter\n * @param {string} extensionName Name of the previously registered extension\n */\n this.useExtension = function (extensionName) {\n _parseExtension(extensionName);\n };\n\n /**\n * Set the flavor THIS converter should use\n * @param {string} name\n */\n this.setFlavor = function (name) {\n if (!flavor.hasOwnProperty(name)) {\n throw Error(name + ' flavor was not found');\n }\n var preset = flavor[name];\n setConvFlavor = name;\n for (var option in preset) {\n if (preset.hasOwnProperty(option)) {\n options[option] = preset[option];\n }\n }\n };\n\n /**\n * Get the currently set flavor of this converter\n * @returns {string}\n */\n this.getFlavor = function () {\n return setConvFlavor;\n };\n\n /**\n * Remove an extension from THIS converter.\n * Note: This is a costly operation. It's better to initialize a new converter\n * and specify the extensions you wish to use\n * @param {Array} extension\n */\n this.removeExtension = function (extension) {\n if (!showdown.helper.isArray(extension)) {\n extension = [extension];\n }\n for (var a = 0; a < extension.length; ++a) {\n var ext = extension[a];\n for (var i = 0; i < langExtensions.length; ++i) {\n if (langExtensions[i] === ext) {\n langExtensions[i].splice(i, 1);\n }\n }\n for (var ii = 0; ii < outputModifiers.length; ++i) {\n if (outputModifiers[ii] === ext) {\n outputModifiers[ii].splice(i, 1);\n }\n }\n }\n };\n\n /**\n * Get all extension of THIS converter\n * @returns {{language: Array, output: Array}}\n */\n this.getAllExtensions = function () {\n return {\n language: langExtensions,\n output: outputModifiers\n };\n };\n\n /**\n * Get the metadata of the previously parsed document\n * @param raw\n * @returns {string|{}}\n */\n this.getMetadata = function (raw) {\n if (raw) {\n return metadata.raw;\n } else {\n return metadata.parsed;\n }\n };\n\n /**\n * Get the metadata format of the previously parsed document\n * @returns {string}\n */\n this.getMetadataFormat = function () {\n return metadata.format;\n };\n\n /**\n * Private: set a single key, value metadata pair\n * @param {string} key\n * @param {string} value\n */\n this._setMetadataPair = function (key, value) {\n metadata.parsed[key] = value;\n };\n\n /**\n * Private: set metadata format\n * @param {string} format\n */\n this._setMetadataFormat = function (format) {\n metadata.format = format;\n };\n\n /**\n * Private: set metadata raw text\n * @param {string} raw\n */\n this._setMetadataRaw = function (raw) {\n metadata.raw = raw;\n };\n};\n\r\n/**\n * Turn Markdown link shortcuts into XHTML tags.\n */\nshowdown.subParser('anchors', function (text, options, globals) {\n 'use strict';\n\n text = globals.converter._dispatch('anchors.before', text, options, globals);\n\n var writeAnchorTag = function (wholeMatch, linkText, linkId, url, m5, m6, title) {\n if (showdown.helper.isUndefined(title)) {\n title = '';\n }\n linkId = linkId.toLowerCase();\n\n // Special case for explicit empty url\n if (wholeMatch.search(/\\(\\s*>? ?(['\"].*['\"])?\\)$/m) > -1) {\n url = '';\n } else if (!url) {\n if (!linkId) {\n // lower-case and turn embedded newlines into spaces\n linkId = linkText.toLowerCase().replace(/ ?\\n/g, ' ');\n }\n url = '#' + linkId;\n\n if (!showdown.helper.isUndefined(globals.gUrls[linkId])) {\n url = globals.gUrls[linkId];\n if (!showdown.helper.isUndefined(globals.gTitles[linkId])) {\n title = globals.gTitles[linkId];\n }\n } else {\n return wholeMatch;\n }\n }\n\n //url = showdown.helper.escapeCharacters(url, '*_', false); // replaced line to improve performance\n url = url.replace(showdown.helper.regexes.asteriskDashAndColon, showdown.helper.escapeCharactersCallback);\n\n var result = '' + linkText + '';\n\n return result;\n };\n\n // First, handle reference-style links: [link text] [id]\n text = text.replace(/\\[((?:\\[[^\\]]*]|[^\\[\\]])*)] ?(?:\\n *)?\\[(.*?)]()()()()/g, writeAnchorTag);\n\n // Next, inline-style links: [link text](url \"optional title\")\n // cases with crazy urls like ./image/cat1).png\n text = text.replace(/\\[((?:\\[[^\\]]*]|[^\\[\\]])*)]()[ \\t]*\\([ \\t]?<([^>]*)>(?:[ \\t]*(([\"'])([^\"]*?)\\5))?[ \\t]?\\)/g,\n writeAnchorTag);\n\n // normal cases\n text = text.replace(/\\[((?:\\[[^\\]]*]|[^\\[\\]])*)]()[ \\t]*\\([ \\t]?([\\S]+?(?:\\([\\S]*?\\)[\\S]*?)?)>?(?:[ \\t]*(([\"'])([^\"]*?)\\5))?[ \\t]?\\)/g,\n writeAnchorTag);\n\n // handle reference-style shortcuts: [link text]\n // These must come last in case you've also got [link test][1]\n // or [link test](/foo)\n text = text.replace(/\\[([^\\[\\]]+)]()()()()()/g, writeAnchorTag);\n\n // Lastly handle GithubMentions if option is enabled\n if (options.ghMentions) {\n text = text.replace(/(^|\\s)(\\\\)?(@([a-z\\d]+(?:[a-z\\d.-]+?[a-z\\d]+)*))/gmi, function (wm, st, escape, mentions, username) {\n if (escape === '\\\\') {\n return st + mentions;\n }\n\n //check if options.ghMentionsLink is a string\n if (!showdown.helper.isString(options.ghMentionsLink)) {\n throw new Error('ghMentionsLink option must be a string');\n }\n var lnk = options.ghMentionsLink.replace(/\\{u}/g, username),\n target = '';\n if (options.openLinksInNewWindow) {\n target = ' rel=\"noopener noreferrer\" target=\"¨E95Eblank\"';\n }\n return st + '' + mentions + '';\n });\n }\n\n text = globals.converter._dispatch('anchors.after', text, options, globals);\n return text;\n});\n\r\n// url allowed chars [a-z\\d_.~:/?#[]@!$&'()*+,;=-]\n\nvar simpleURLRegex = /([*~_]+|\\b)(((https?|ftp|dict):\\/\\/|www\\.)[^'\">\\s]+?\\.[^'\">\\s]+?)()(\\1)?(?=\\s|$)(?![\"<>])/gi,\n simpleURLRegex2 = /([*~_]+|\\b)(((https?|ftp|dict):\\/\\/|www\\.)[^'\">\\s]+\\.[^'\">\\s]+?)([.!?,()\\[\\]])?(\\1)?(?=\\s|$)(?![\"<>])/gi,\n delimUrlRegex = /()<(((https?|ftp|dict):\\/\\/|www\\.)[^'\">\\s]+)()>()/gi,\n simpleMailRegex = /(^|\\s)(?:mailto:)?([A-Za-z0-9!#$%&'*+-/=?^_`{|}~.]+@[-a-z0-9]+(\\.[-a-z0-9]+)*\\.[a-z]+)(?=$|\\s)/gmi,\n delimMailRegex = /<()(?:mailto:)?([-.\\w]+@[-a-z0-9]+(\\.[-a-z0-9]+)*\\.[a-z]+)>/gi,\n\n replaceLink = function (options) {\n 'use strict';\n return function (wm, leadingMagicChars, link, m2, m3, trailingPunctuation, trailingMagicChars) {\n link = link.replace(showdown.helper.regexes.asteriskDashAndColon, showdown.helper.escapeCharactersCallback);\n var lnkTxt = link,\n append = '',\n target = '',\n lmc = leadingMagicChars || '',\n tmc = trailingMagicChars || '';\n if (/^www\\./i.test(link)) {\n link = link.replace(/^www\\./i, 'http://www.');\n }\n if (options.excludeTrailingPunctuationFromURLs && trailingPunctuation) {\n append = trailingPunctuation;\n }\n if (options.openLinksInNewWindow) {\n target = ' rel=\"noopener noreferrer\" target=\"¨E95Eblank\"';\n }\n return lmc + '' + lnkTxt + '' + append + tmc;\n };\n },\n\n replaceMail = function (options, globals) {\n 'use strict';\n return function (wholeMatch, b, mail) {\n var href = 'mailto:';\n b = b || '';\n mail = showdown.subParser('unescapeSpecialChars')(mail, options, globals);\n if (options.encodeEmails) {\n href = showdown.helper.encodeEmailAddress(href + mail);\n mail = showdown.helper.encodeEmailAddress(mail);\n } else {\n href = href + mail;\n }\n return b + '' + mail + '';\n };\n };\n\nshowdown.subParser('autoLinks', function (text, options, globals) {\n 'use strict';\n\n text = globals.converter._dispatch('autoLinks.before', text, options, globals);\n\n text = text.replace(delimUrlRegex, replaceLink(options));\n text = text.replace(delimMailRegex, replaceMail(options, globals));\n\n text = globals.converter._dispatch('autoLinks.after', text, options, globals);\n\n return text;\n});\n\nshowdown.subParser('simplifiedAutoLinks', function (text, options, globals) {\n 'use strict';\n\n if (!options.simplifiedAutoLink) {\n return text;\n }\n\n text = globals.converter._dispatch('simplifiedAutoLinks.before', text, options, globals);\n\n if (options.excludeTrailingPunctuationFromURLs) {\n text = text.replace(simpleURLRegex2, replaceLink(options));\n } else {\n text = text.replace(simpleURLRegex, replaceLink(options));\n }\n text = text.replace(simpleMailRegex, replaceMail(options, globals));\n\n text = globals.converter._dispatch('simplifiedAutoLinks.after', text, options, globals);\n\n return text;\n});\n\r\n/**\n * These are all the transformations that form block-level\n * tags like paragraphs, headers, and list items.\n */\nshowdown.subParser('blockGamut', function (text, options, globals) {\n 'use strict';\n\n text = globals.converter._dispatch('blockGamut.before', text, options, globals);\n\n // we parse blockquotes first so that we can have headings and hrs\n // inside blockquotes\n text = showdown.subParser('blockQuotes')(text, options, globals);\n text = showdown.subParser('headers')(text, options, globals);\n\n // Do Horizontal Rules:\n text = showdown.subParser('horizontalRule')(text, options, globals);\n\n text = showdown.subParser('lists')(text, options, globals);\n text = showdown.subParser('codeBlocks')(text, options, globals);\n text = showdown.subParser('tables')(text, options, globals);\n\n // We already ran _HashHTMLBlocks() before, in Markdown(), but that\n // was to escape raw HTML in the original Markdown source. This time,\n // we're escaping the markup we've just created, so that we don't wrap\n // tags around block-level tags.\n text = showdown.subParser('hashHTMLBlocks')(text, options, globals);\n text = showdown.subParser('paragraphs')(text, options, globals);\n\n text = globals.converter._dispatch('blockGamut.after', text, options, globals);\n\n return text;\n});\n\r\nshowdown.subParser('blockQuotes', function (text, options, globals) {\n 'use strict';\n\n text = globals.converter._dispatch('blockQuotes.before', text, options, globals);\n\n // add a couple extra lines after the text and endtext mark\n text = text + '\\n\\n';\n\n var rgx = /(^ {0,3}>[ \\t]?.+\\n(.+\\n)*\\n*)+/gm;\n\n if (options.splitAdjacentBlockquotes) {\n rgx = /^ {0,3}>[\\s\\S]*?(?:\\n\\n)/gm;\n }\n\n text = text.replace(rgx, function (bq) {\n // attacklab: hack around Konqueror 3.5.4 bug:\n // \"----------bug\".replace(/^-/g,\"\") == \"bug\"\n bq = bq.replace(/^[ \\t]*>[ \\t]?/gm, ''); // trim one level of quoting\n\n // attacklab: clean up hack\n bq = bq.replace(/¨0/g, '');\n\n bq = bq.replace(/^[ \\t]+$/gm, ''); // trim whitespace-only lines\n bq = showdown.subParser('githubCodeBlocks')(bq, options, globals);\n bq = showdown.subParser('blockGamut')(bq, options, globals); // recurse\n\n bq = bq.replace(/(^|\\n)/g, '$1 ');\n // These leading spaces screw with
content, so we need to fix that:\n bq = bq.replace(/(\\s*[^\\r]+?<\\/pre>)/gm, function (wholeMatch, m1) {\n var pre = m1;\n // attacklab: hack around Konqueror 3.5.4 bug:\n pre = pre.replace(/^ /mg, '¨0');\n pre = pre.replace(/¨0/g, '');\n return pre;\n });\n\n return showdown.subParser('hashBlock')('\\n' + bq + '\\n
', options, globals);\n });\n\n text = globals.converter._dispatch('blockQuotes.after', text, options, globals);\n return text;\n});\n\r\n/**\n * Process Markdown `` blocks.\n */\nshowdown.subParser('codeBlocks', function (text, options, globals) {\n 'use strict';\n\n text = globals.converter._dispatch('codeBlocks.before', text, options, globals);\n\n // sentinel workarounds for lack of \\A and \\Z, safari\\khtml bug\n text += '¨0';\n\n var pattern = /(?:\\n\\n|^)((?:(?:[ ]{4}|\\t).*\\n+)+)(\\n*[ ]{0,3}[^ \\t\\n]|(?=¨0))/g;\n text = text.replace(pattern, function (wholeMatch, m1, m2) {\n var codeblock = m1,\n nextChar = m2,\n end = '\\n';\n\n codeblock = showdown.subParser('outdent')(codeblock, options, globals);\n codeblock = showdown.subParser('encodeCode')(codeblock, options, globals);\n codeblock = showdown.subParser('detab')(codeblock, options, globals);\n codeblock = codeblock.replace(/^\\n+/g, ''); // trim leading newlines\n codeblock = codeblock.replace(/\\n+$/g, ''); // trim trailing newlines\n\n if (options.omitExtraWLInCodeBlocks) {\n end = '';\n }\n\n codeblock = '' + codeblock + end + '
';\n\n return showdown.subParser('hashBlock')(codeblock, options, globals) + nextChar;\n });\n\n // strip sentinel\n text = text.replace(/¨0/, '');\n\n text = globals.converter._dispatch('codeBlocks.after', text, options, globals);\n return text;\n});\n\r\n/**\n *\n * * Backtick quotes are used for
spans.\n *\n * * You can use multiple backticks as the delimiters if you want to\n * include literal backticks in the code span. So, this input:\n *\n * Just type ``foo `bar` baz`` at the prompt.\n *\n * Will translate to:\n *\n * Just type foo `bar` baz
at the prompt.
\n *\n * There's no arbitrary limit to the number of backticks you\n * can use as delimters. If you need three consecutive backticks\n * in your code, use four for delimiters, etc.\n *\n * * You can use spaces to get literal backticks at the edges:\n *\n * ... type `` `bar` `` ...\n *\n * Turns to:\n *\n * ... type `bar`
...\n */\nshowdown.subParser('codeSpans', function (text, options, globals) {\n 'use strict';\n\n text = globals.converter._dispatch('codeSpans.before', text, options, globals);\n\n if (typeof text === 'undefined') {\n text = '';\n }\n text = text.replace(/(^|[^\\\\])(`+)([^\\r]*?[^`])\\2(?!`)/gm,\n function (wholeMatch, m1, m2, m3) {\n var c = m3;\n c = c.replace(/^([ \\t]*)/g, '');\t// leading whitespace\n c = c.replace(/[ \\t]*$/g, '');\t// trailing whitespace\n c = showdown.subParser('encodeCode')(c, options, globals);\n c = m1 + '' + c + '
';\n c = showdown.subParser('hashHTMLSpans')(c, options, globals);\n return c;\n }\n );\n\n text = globals.converter._dispatch('codeSpans.after', text, options, globals);\n return text;\n});\n\r\n/**\n * Create a full HTML document from the processed markdown\n */\nshowdown.subParser('completeHTMLDocument', function (text, options, globals) {\n 'use strict';\n\n if (!options.completeHTMLDocument) {\n return text;\n }\n\n text = globals.converter._dispatch('completeHTMLDocument.before', text, options, globals);\n\n var doctype = 'html',\n doctypeParsed = '\\n',\n title = '',\n charset = '\\n',\n lang = '',\n metadata = '';\n\n if (typeof globals.metadata.parsed.doctype !== 'undefined') {\n doctypeParsed = '\\n';\n doctype = globals.metadata.parsed.doctype.toString().toLowerCase();\n if (doctype === 'html' || doctype === 'html5') {\n charset = '';\n }\n }\n\n for (var meta in globals.metadata.parsed) {\n if (globals.metadata.parsed.hasOwnProperty(meta)) {\n switch (meta.toLowerCase()) {\n case 'doctype':\n break;\n\n case 'title':\n title = '' + globals.metadata.parsed.title + ' \\n';\n break;\n\n case 'charset':\n if (doctype === 'html' || doctype === 'html5') {\n charset = '\\n';\n } else {\n charset = '\\n';\n }\n break;\n\n case 'language':\n case 'lang':\n lang = ' lang=\"' + globals.metadata.parsed[meta] + '\"';\n metadata += '\\n';\n break;\n\n default:\n metadata += '\\n';\n }\n }\n }\n\n text = doctypeParsed + '\\n\\n' + title + charset + metadata + '\\n\\n' + text.trim() + '\\n\\n';\n\n text = globals.converter._dispatch('completeHTMLDocument.after', text, options, globals);\n return text;\n});\n\r\n/**\n * Convert all tabs to spaces\n */\nshowdown.subParser('detab', function (text, options, globals) {\n 'use strict';\n text = globals.converter._dispatch('detab.before', text, options, globals);\n\n // expand first n-1 tabs\n text = text.replace(/\\t(?=\\t)/g, ' '); // g_tab_width\n\n // replace the nth with two sentinels\n text = text.replace(/\\t/g, '¨A¨B');\n\n // use the sentinel to anchor our regex so it doesn't explode\n text = text.replace(/¨B(.+?)¨A/g, function (wholeMatch, m1) {\n var leadingText = m1,\n numSpaces = 4 - leadingText.length % 4; // g_tab_width\n\n // there *must* be a better way to do this:\n for (var i = 0; i < numSpaces; i++) {\n leadingText += ' ';\n }\n\n return leadingText;\n });\n\n // clean up sentinels\n text = text.replace(/¨A/g, ' '); // g_tab_width\n text = text.replace(/¨B/g, '');\n\n text = globals.converter._dispatch('detab.after', text, options, globals);\n return text;\n});\n\r\nshowdown.subParser('ellipsis', function (text, options, globals) {\n 'use strict';\n\n text = globals.converter._dispatch('ellipsis.before', text, options, globals);\n\n text = text.replace(/\\.\\.\\./g, '…');\n\n text = globals.converter._dispatch('ellipsis.after', text, options, globals);\n\n return text;\n});\n\r\n/**\n * Turn emoji codes into emojis\n *\n * List of supported emojis: https://github.com/showdownjs/showdown/wiki/Emojis\n */\nshowdown.subParser('emoji', function (text, options, globals) {\n 'use strict';\n\n if (!options.emoji) {\n return text;\n }\n\n text = globals.converter._dispatch('emoji.before', text, options, globals);\n\n var emojiRgx = /:([\\S]+?):/g;\n\n text = text.replace(emojiRgx, function (wm, emojiCode) {\n if (showdown.helper.emojis.hasOwnProperty(emojiCode)) {\n return showdown.helper.emojis[emojiCode];\n }\n return wm;\n });\n\n text = globals.converter._dispatch('emoji.after', text, options, globals);\n\n return text;\n});\n\r\n/**\n * Smart processing for ampersands and angle brackets that need to be encoded.\n */\nshowdown.subParser('encodeAmpsAndAngles', function (text, options, globals) {\n 'use strict';\n text = globals.converter._dispatch('encodeAmpsAndAngles.before', text, options, globals);\n\n // Ampersand-encoding based entirely on Nat Irons's Amputator MT plugin:\n // http://bumppo.net/projects/amputator/\n text = text.replace(/&(?!#?[xX]?(?:[0-9a-fA-F]+|\\w+);)/g, '&');\n\n // Encode naked <'s\n text = text.replace(/<(?![a-z\\/?$!])/gi, '<');\n\n // Encode <\n text = text.replace(/\n text = text.replace(/>/g, '>');\n\n text = globals.converter._dispatch('encodeAmpsAndAngles.after', text, options, globals);\n return text;\n});\n\r\n/**\n * Returns the string, with after processing the following backslash escape sequences.\n *\n * attacklab: The polite way to do this is with the new escapeCharacters() function:\n *\n * text = escapeCharacters(text,\"\\\\\",true);\n * text = escapeCharacters(text,\"`*_{}[]()>#+-.!\",true);\n *\n * ...but we're sidestepping its use of the (slow) RegExp constructor\n * as an optimization for Firefox. This function gets called a LOT.\n */\nshowdown.subParser('encodeBackslashEscapes', function (text, options, globals) {\n 'use strict';\n text = globals.converter._dispatch('encodeBackslashEscapes.before', text, options, globals);\n\n text = text.replace(/\\\\(\\\\)/g, showdown.helper.escapeCharactersCallback);\n text = text.replace(/\\\\([`*_{}\\[\\]()>#+.!~=|-])/g, showdown.helper.escapeCharactersCallback);\n\n text = globals.converter._dispatch('encodeBackslashEscapes.after', text, options, globals);\n return text;\n});\n\r\n/**\n * Encode/escape certain characters inside Markdown code runs.\n * The point is that in code, these characters are literals,\n * and lose their special Markdown meanings.\n */\nshowdown.subParser('encodeCode', function (text, options, globals) {\n 'use strict';\n\n text = globals.converter._dispatch('encodeCode.before', text, options, globals);\n\n // Encode all ampersands; HTML entities are not\n // entities within a Markdown code span.\n text = text\n .replace(/&/g, '&')\n // Do the angle bracket song and dance:\n .replace(//g, '>')\n // Now, escape characters that are magic in Markdown:\n .replace(/([*_{}\\[\\]\\\\=~-])/g, showdown.helper.escapeCharactersCallback);\n\n text = globals.converter._dispatch('encodeCode.after', text, options, globals);\n return text;\n});\n\r\n/**\n * Within tags -- meaning between < and > -- encode [\\ ` * _ ~ =] so they\n * don't conflict with their use in Markdown for code, italics and strong.\n */\nshowdown.subParser('escapeSpecialCharsWithinTagAttributes', function (text, options, globals) {\n 'use strict';\n text = globals.converter._dispatch('escapeSpecialCharsWithinTagAttributes.before', text, options, globals);\n\n // Build a regex to find HTML tags.\n var tags = /<\\/?[a-z\\d_:-]+(?:[\\s]+[\\s\\S]+?)?>/gi,\n comments = /-]|-[^>])(?:[^-]|-[^-])*)--)>/gi;\n\n text = text.replace(tags, function (wholeMatch) {\n return wholeMatch\n .replace(/(.)<\\/?code>(?=.)/g, '$1`')\n .replace(/([\\\\`*_~=|])/g, showdown.helper.escapeCharactersCallback);\n });\n\n text = text.replace(comments, function (wholeMatch) {\n return wholeMatch\n .replace(/([\\\\`*_~=|])/g, showdown.helper.escapeCharactersCallback);\n });\n\n text = globals.converter._dispatch('escapeSpecialCharsWithinTagAttributes.after', text, options, globals);\n return text;\n});\n\r\n/**\n * Handle github codeblocks prior to running HashHTML so that\n * HTML contained within the codeblock gets escaped properly\n * Example:\n * ```ruby\n * def hello_world(x)\n * puts \"Hello, #{x}\"\n * end\n * ```\n */\nshowdown.subParser('githubCodeBlocks', function (text, options, globals) {\n 'use strict';\n\n // early exit if option is not enabled\n if (!options.ghCodeBlocks) {\n return text;\n }\n\n text = globals.converter._dispatch('githubCodeBlocks.before', text, options, globals);\n\n text += '¨0';\n\n text = text.replace(/(?:^|\\n)(?: {0,3})(```+|~~~+)(?: *)([^\\s`~]*)\\n([\\s\\S]*?)\\n(?: {0,3})\\1/g, function (wholeMatch, delim, language, codeblock) {\n var end = (options.omitExtraWLInCodeBlocks) ? '' : '\\n';\n\n // First parse the github code block\n codeblock = showdown.subParser('encodeCode')(codeblock, options, globals);\n codeblock = showdown.subParser('detab')(codeblock, options, globals);\n codeblock = codeblock.replace(/^\\n+/g, ''); // trim leading newlines\n codeblock = codeblock.replace(/\\n+$/g, ''); // trim trailing whitespace\n\n codeblock = '' + codeblock + end + '
';\n\n codeblock = showdown.subParser('hashBlock')(codeblock, options, globals);\n\n // Since GHCodeblocks can be false positives, we need to\n // store the primitive text and the parsed text in a global var,\n // and then return a token\n return '\\n\\n¨G' + (globals.ghCodeBlocks.push({text: wholeMatch, codeblock: codeblock}) - 1) + 'G\\n\\n';\n });\n\n // attacklab: strip sentinel\n text = text.replace(/¨0/, '');\n\n return globals.converter._dispatch('githubCodeBlocks.after', text, options, globals);\n});\n\r\nshowdown.subParser('hashBlock', function (text, options, globals) {\n 'use strict';\n text = globals.converter._dispatch('hashBlock.before', text, options, globals);\n text = text.replace(/(^\\n+|\\n+$)/g, '');\n text = '\\n\\n¨K' + (globals.gHtmlBlocks.push(text) - 1) + 'K\\n\\n';\n text = globals.converter._dispatch('hashBlock.after', text, options, globals);\n return text;\n});\n\r\n/**\n * Hash and escape elements that should not be parsed as markdown\n */\nshowdown.subParser('hashCodeTags', function (text, options, globals) {\n 'use strict';\n text = globals.converter._dispatch('hashCodeTags.before', text, options, globals);\n\n var repFunc = function (wholeMatch, match, left, right) {\n var codeblock = left + showdown.subParser('encodeCode')(match, options, globals) + right;\n return '¨C' + (globals.gHtmlSpans.push(codeblock) - 1) + 'C';\n };\n\n // Hash naked \n text = showdown.helper.replaceRecursiveRegExp(text, repFunc, ']*>', '
', 'gim');\n\n text = globals.converter._dispatch('hashCodeTags.after', text, options, globals);\n return text;\n});\n\r\nshowdown.subParser('hashElement', function (text, options, globals) {\n 'use strict';\n\n return function (wholeMatch, m1) {\n var blockText = m1;\n\n // Undo double lines\n blockText = blockText.replace(/\\n\\n/g, '\\n');\n blockText = blockText.replace(/^\\n/, '');\n\n // strip trailing blank lines\n blockText = blockText.replace(/\\n+$/g, '');\n\n // Replace the element text with a marker (\"¨KxK\" where x is its key)\n blockText = '\\n\\n¨K' + (globals.gHtmlBlocks.push(blockText) - 1) + 'K\\n\\n';\n\n return blockText;\n };\n});\n\r\nshowdown.subParser('hashHTMLBlocks', function (text, options, globals) {\n 'use strict';\n text = globals.converter._dispatch('hashHTMLBlocks.before', text, options, globals);\n\n var blockTags = [\n 'pre',\n 'div',\n 'h1',\n 'h2',\n 'h3',\n 'h4',\n 'h5',\n 'h6',\n 'blockquote',\n 'table',\n 'dl',\n 'ol',\n 'ul',\n 'script',\n 'noscript',\n 'form',\n 'fieldset',\n 'iframe',\n 'math',\n 'style',\n 'section',\n 'header',\n 'footer',\n 'nav',\n 'article',\n 'aside',\n 'address',\n 'audio',\n 'canvas',\n 'figure',\n 'hgroup',\n 'output',\n 'video',\n 'p'\n ],\n repFunc = function (wholeMatch, match, left, right) {\n var txt = wholeMatch;\n // check if this html element is marked as markdown\n // if so, it's contents should be parsed as markdown\n if (left.search(/\\bmarkdown\\b/) !== -1) {\n txt = left + globals.converter.makeHtml(match) + right;\n }\n return '\\n\\n¨K' + (globals.gHtmlBlocks.push(txt) - 1) + 'K\\n\\n';\n };\n\n if (options.backslashEscapesHTMLTags) {\n // encode backslash escaped HTML tags\n text = text.replace(/\\\\<(\\/?[^>]+?)>/g, function (wm, inside) {\n return '<' + inside + '>';\n });\n }\n\n // hash HTML Blocks\n for (var i = 0; i < blockTags.length; ++i) {\n\n var opTagPos,\n rgx1 = new RegExp('^ {0,3}(<' + blockTags[i] + '\\\\b[^>]*>)', 'im'),\n patLeft = '<' + blockTags[i] + '\\\\b[^>]*>',\n patRight = '' + blockTags[i] + '>';\n // 1. Look for the first position of the first opening HTML tag in the text\n while ((opTagPos = showdown.helper.regexIndexOf(text, rgx1)) !== -1) {\n\n // if the HTML tag is \\ escaped, we need to escape it and break\n\n\n //2. Split the text in that position\n var subTexts = showdown.helper.splitAtIndex(text, opTagPos),\n //3. Match recursively\n newSubText1 = showdown.helper.replaceRecursiveRegExp(subTexts[1], repFunc, patLeft, patRight, 'im');\n\n // prevent an infinite loop\n if (newSubText1 === subTexts[1]) {\n break;\n }\n text = subTexts[0].concat(newSubText1);\n }\n }\n // HR SPECIAL CASE\n text = text.replace(/(\\n {0,3}(<(hr)\\b([^<>])*?\\/?>)[ \\t]*(?=\\n{2,}))/g,\n showdown.subParser('hashElement')(text, options, globals));\n\n // Special case for standalone HTML comments\n text = showdown.helper.replaceRecursiveRegExp(text, function (txt) {\n return '\\n\\n¨K' + (globals.gHtmlBlocks.push(txt) - 1) + 'K\\n\\n';\n }, '^ {0,3}', 'gm');\n\n // PHP and ASP-style processor instructions (...?> and <%...%>)\n text = text.replace(/(?:\\n\\n)( {0,3}(?:<([?%])[^\\r]*?\\2>)[ \\t]*(?=\\n{2,}))/g,\n showdown.subParser('hashElement')(text, options, globals));\n\n text = globals.converter._dispatch('hashHTMLBlocks.after', text, options, globals);\n return text;\n});\n\r\n/**\n * Hash span elements that should not be parsed as markdown\n */\nshowdown.subParser('hashHTMLSpans', function (text, options, globals) {\n 'use strict';\n text = globals.converter._dispatch('hashHTMLSpans.before', text, options, globals);\n\n function hashHTMLSpan (html) {\n return '¨C' + (globals.gHtmlSpans.push(html) - 1) + 'C';\n }\n\n // Hash Self Closing tags\n text = text.replace(/<[^>]+?\\/>/gi, function (wm) {\n return hashHTMLSpan(wm);\n });\n\n // Hash tags without properties\n text = text.replace(/<([^>]+?)>[\\s\\S]*?<\\/\\1>/g, function (wm) {\n return hashHTMLSpan(wm);\n });\n\n // Hash tags with properties\n text = text.replace(/<([^>]+?)\\s[^>]+?>[\\s\\S]*?<\\/\\1>/g, function (wm) {\n return hashHTMLSpan(wm);\n });\n\n // Hash self closing tags without />\n text = text.replace(/<[^>]+?>/gi, function (wm) {\n return hashHTMLSpan(wm);\n });\n\n /*showdown.helper.matchRecursiveRegExp(text, ']*>', '
', 'gi');*/\n\n text = globals.converter._dispatch('hashHTMLSpans.after', text, options, globals);\n return text;\n});\n\n/**\n * Unhash HTML spans\n */\nshowdown.subParser('unhashHTMLSpans', function (text, options, globals) {\n 'use strict';\n text = globals.converter._dispatch('unhashHTMLSpans.before', text, options, globals);\n\n for (var i = 0; i < globals.gHtmlSpans.length; ++i) {\n var repText = globals.gHtmlSpans[i],\n // limiter to prevent infinite loop (assume 10 as limit for recurse)\n limit = 0;\n\n while (/¨C(\\d+)C/.test(repText)) {\n var num = RegExp.$1;\n repText = repText.replace('¨C' + num + 'C', globals.gHtmlSpans[num]);\n if (limit === 10) {\n console.error('maximum nesting of 10 spans reached!!!');\n break;\n }\n ++limit;\n }\n text = text.replace('¨C' + i + 'C', repText);\n }\n\n text = globals.converter._dispatch('unhashHTMLSpans.after', text, options, globals);\n return text;\n});\n\r\n/**\n * Hash and escape elements that should not be parsed as markdown\n */\nshowdown.subParser('hashPreCodeTags', function (text, options, globals) {\n 'use strict';\n text = globals.converter._dispatch('hashPreCodeTags.before', text, options, globals);\n\n var repFunc = function (wholeMatch, match, left, right) {\n // encode html entities\n var codeblock = left + showdown.subParser('encodeCode')(match, options, globals) + right;\n return '\\n\\n¨G' + (globals.ghCodeBlocks.push({text: wholeMatch, codeblock: codeblock}) - 1) + 'G\\n\\n';\n };\n\n // Hash \n text = showdown.helper.replaceRecursiveRegExp(text, repFunc, '^ {0,3}]*>\\\\s*]*>', '^ {0,3}
\\\\s*
', 'gim');\n\n text = globals.converter._dispatch('hashPreCodeTags.after', text, options, globals);\n return text;\n});\n\r\nshowdown.subParser('headers', function (text, options, globals) {\n 'use strict';\n\n text = globals.converter._dispatch('headers.before', text, options, globals);\n\n var headerLevelStart = (isNaN(parseInt(options.headerLevelStart))) ? 1 : parseInt(options.headerLevelStart),\n\n // Set text-style headers:\n //\tHeader 1\n //\t========\n //\n //\tHeader 2\n //\t--------\n //\n setextRegexH1 = (options.smoothLivePreview) ? /^(.+)[ \\t]*\\n={2,}[ \\t]*\\n+/gm : /^(.+)[ \\t]*\\n=+[ \\t]*\\n+/gm,\n setextRegexH2 = (options.smoothLivePreview) ? /^(.+)[ \\t]*\\n-{2,}[ \\t]*\\n+/gm : /^(.+)[ \\t]*\\n-+[ \\t]*\\n+/gm;\n\n text = text.replace(setextRegexH1, function (wholeMatch, m1) {\n\n var spanGamut = showdown.subParser('spanGamut')(m1, options, globals),\n hID = (options.noHeaderId) ? '' : ' id=\"' + headerId(m1) + '\"',\n hLevel = headerLevelStart,\n hashBlock = '' + spanGamut + ' ';\n return showdown.subParser('hashBlock')(hashBlock, options, globals);\n });\n\n text = text.replace(setextRegexH2, function (matchFound, m1) {\n var spanGamut = showdown.subParser('spanGamut')(m1, options, globals),\n hID = (options.noHeaderId) ? '' : ' id=\"' + headerId(m1) + '\"',\n hLevel = headerLevelStart + 1,\n hashBlock = '' + spanGamut + ' ';\n return showdown.subParser('hashBlock')(hashBlock, options, globals);\n });\n\n // atx-style headers:\n // # Header 1\n // ## Header 2\n // ## Header 2 with closing hashes ##\n // ...\n // ###### Header 6\n //\n var atxStyle = (options.requireSpaceBeforeHeadingText) ? /^(#{1,6})[ \\t]+(.+?)[ \\t]*#*\\n+/gm : /^(#{1,6})[ \\t]*(.+?)[ \\t]*#*\\n+/gm;\n\n text = text.replace(atxStyle, function (wholeMatch, m1, m2) {\n var hText = m2;\n if (options.customizedHeaderId) {\n hText = m2.replace(/\\s?\\{([^{]+?)}\\s*$/, '');\n }\n\n var span = showdown.subParser('spanGamut')(hText, options, globals),\n hID = (options.noHeaderId) ? '' : ' id=\"' + headerId(m2) + '\"',\n hLevel = headerLevelStart - 1 + m1.length,\n header = '' + span + ' ';\n\n return showdown.subParser('hashBlock')(header, options, globals);\n });\n\n function headerId (m) {\n var title,\n prefix;\n\n // It is separate from other options to allow combining prefix and customized\n if (options.customizedHeaderId) {\n var match = m.match(/\\{([^{]+?)}\\s*$/);\n if (match && match[1]) {\n m = match[1];\n }\n }\n\n title = m;\n\n // Prefix id to prevent causing inadvertent pre-existing style matches.\n if (showdown.helper.isString(options.prefixHeaderId)) {\n prefix = options.prefixHeaderId;\n } else if (options.prefixHeaderId === true) {\n prefix = 'section-';\n } else {\n prefix = '';\n }\n\n if (!options.rawPrefixHeaderId) {\n title = prefix + title;\n }\n\n if (options.ghCompatibleHeaderId) {\n title = title\n .replace(/ /g, '-')\n // replace previously escaped chars (&, ¨ and $)\n .replace(/&/g, '')\n .replace(/¨T/g, '')\n .replace(/¨D/g, '')\n // replace rest of the chars (&~$ are repeated as they might have been escaped)\n // borrowed from github's redcarpet (some they should produce similar results)\n .replace(/[&+$,\\/:;=?@\"#{}|^¨~\\[\\]`\\\\*)(%.!'<>]/g, '')\n .toLowerCase();\n } else if (options.rawHeaderId) {\n title = title\n .replace(/ /g, '-')\n // replace previously escaped chars (&, ¨ and $)\n .replace(/&/g, '&')\n .replace(/¨T/g, '¨')\n .replace(/¨D/g, '$')\n // replace \" and '\n .replace(/[\"']/g, '-')\n .toLowerCase();\n } else {\n title = title\n .replace(/[^\\w]/g, '')\n .toLowerCase();\n }\n\n if (options.rawPrefixHeaderId) {\n title = prefix + title;\n }\n\n if (globals.hashLinkCounts[title]) {\n title = title + '-' + (globals.hashLinkCounts[title]++);\n } else {\n globals.hashLinkCounts[title] = 1;\n }\n return title;\n }\n\n text = globals.converter._dispatch('headers.after', text, options, globals);\n return text;\n});\n\r\n/**\n * Turn Markdown link shortcuts into XHTML tags.\n */\nshowdown.subParser('horizontalRule', function (text, options, globals) {\n 'use strict';\n text = globals.converter._dispatch('horizontalRule.before', text, options, globals);\n\n var key = showdown.subParser('hashBlock')('
', options, globals);\n text = text.replace(/^ {0,2}( ?-){3,}[ \\t]*$/gm, key);\n text = text.replace(/^ {0,2}( ?\\*){3,}[ \\t]*$/gm, key);\n text = text.replace(/^ {0,2}( ?_){3,}[ \\t]*$/gm, key);\n\n text = globals.converter._dispatch('horizontalRule.after', text, options, globals);\n return text;\n});\n\r\n/**\n * Turn Markdown image shortcuts into tags.\n */\nshowdown.subParser('images', function (text, options, globals) {\n 'use strict';\n\n text = globals.converter._dispatch('images.before', text, options, globals);\n\n var inlineRegExp = /!\\[([^\\]]*?)][ \\t]*()\\([ \\t]?([\\S]+?(?:\\([\\S]*?\\)[\\S]*?)?)>?(?: =([*\\d]+[A-Za-z%]{0,4})x([*\\d]+[A-Za-z%]{0,4}))?[ \\t]*(?:([\"'])([^\"]*?)\\6)?[ \\t]?\\)/g,\n crazyRegExp = /!\\[([^\\]]*?)][ \\t]*()\\([ \\t]?<([^>]*)>(?: =([*\\d]+[A-Za-z%]{0,4})x([*\\d]+[A-Za-z%]{0,4}))?[ \\t]*(?:(?:([\"'])([^\"]*?)\\6))?[ \\t]?\\)/g,\n base64RegExp = /!\\[([^\\]]*?)][ \\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,\n referenceRegExp = /!\\[([^\\]]*?)] ?(?:\\n *)?\\[([\\s\\S]*?)]()()()()()/g,\n refShortcutRegExp = /!\\[([^\\[\\]]+)]()()()()()/g;\n\n function writeImageTagBase64 (wholeMatch, altText, linkId, url, width, height, m5, title) {\n url = url.replace(/\\s/g, '');\n return writeImageTag (wholeMatch, altText, linkId, url, width, height, m5, title);\n }\n\n function writeImageTag (wholeMatch, altText, linkId, url, width, height, m5, title) {\n\n var gUrls = globals.gUrls,\n gTitles = globals.gTitles,\n gDims = globals.gDimensions;\n\n linkId = linkId.toLowerCase();\n\n if (!title) {\n title = '';\n }\n // Special case for explicit empty url\n if (wholeMatch.search(/\\(\\s*>? ?(['\"].*['\"])?\\)$/m) > -1) {\n url = '';\n\n } else if (url === '' || url === null) {\n if (linkId === '' || linkId === null) {\n // lower-case and turn embedded newlines into spaces\n linkId = altText.toLowerCase().replace(/ ?\\n/g, ' ');\n }\n url = '#' + linkId;\n\n if (!showdown.helper.isUndefined(gUrls[linkId])) {\n url = gUrls[linkId];\n if (!showdown.helper.isUndefined(gTitles[linkId])) {\n title = gTitles[linkId];\n }\n if (!showdown.helper.isUndefined(gDims[linkId])) {\n width = gDims[linkId].width;\n height = gDims[linkId].height;\n }\n } else {\n return wholeMatch;\n }\n }\n\n altText = altText\n .replace(/\"/g, '"')\n //altText = showdown.helper.escapeCharacters(altText, '*_', false);\n .replace(showdown.helper.regexes.asteriskDashAndColon, showdown.helper.escapeCharactersCallback);\n //url = showdown.helper.escapeCharacters(url, '*_', false);\n url = url.replace(showdown.helper.regexes.asteriskDashAndColon, showdown.helper.escapeCharactersCallback);\n var result = '';\n\n return result;\n }\n\n // First, handle reference-style labeled images: ![alt text][id]\n text = text.replace(referenceRegExp, writeImageTag);\n\n // Next, handle inline images: ![alt text](url =x \"optional title\")\n\n // base64 encoded images\n text = text.replace(base64RegExp, writeImageTagBase64);\n\n // cases with crazy urls like ./image/cat1).png\n text = text.replace(crazyRegExp, writeImageTag);\n\n // normal cases\n text = text.replace(inlineRegExp, writeImageTag);\n\n // handle reference-style shortcuts: ![img text]\n text = text.replace(refShortcutRegExp, writeImageTag);\n\n text = globals.converter._dispatch('images.after', text, options, globals);\n return text;\n});\n\r\nshowdown.subParser('italicsAndBold', function (text, options, globals) {\n 'use strict';\n\n text = globals.converter._dispatch('italicsAndBold.before', text, options, globals);\n\n // it's faster to have 3 separate regexes for each case than have just one\n // because of backtracing, in some cases, it could lead to an exponential effect\n // called \"catastrophic backtrace\". Ominous!\n\n function parseInside (txt, left, right) {\n /*\n if (options.simplifiedAutoLink) {\n txt = showdown.subParser('simplifiedAutoLinks')(txt, options, globals);\n }\n */\n return left + txt + right;\n }\n\n // Parse underscores\n if (options.literalMidWordUnderscores) {\n text = text.replace(/\\b___(\\S[\\s\\S]*?)___\\b/g, function (wm, txt) {\n return parseInside (txt, '', '');\n });\n text = text.replace(/\\b__(\\S[\\s\\S]*?)__\\b/g, function (wm, txt) {\n return parseInside (txt, '', '');\n });\n text = text.replace(/\\b_(\\S[\\s\\S]*?)_\\b/g, function (wm, txt) {\n return parseInside (txt, '', '');\n });\n } else {\n text = text.replace(/___(\\S[\\s\\S]*?)___/g, function (wm, m) {\n return (/\\S$/.test(m)) ? parseInside (m, '', '') : wm;\n });\n text = text.replace(/__(\\S[\\s\\S]*?)__/g, function (wm, m) {\n return (/\\S$/.test(m)) ? parseInside (m, '', '') : wm;\n });\n text = text.replace(/_([^\\s_][\\s\\S]*?)_/g, function (wm, m) {\n // !/^_[^_]/.test(m) - test if it doesn't start with __ (since it seems redundant, we removed it)\n return (/\\S$/.test(m)) ? parseInside (m, '', '') : wm;\n });\n }\n\n // Now parse asterisks\n if (options.literalMidWordAsterisks) {\n text = text.replace(/([^*]|^)\\B\\*\\*\\*(\\S[\\s\\S]*?)\\*\\*\\*\\B(?!\\*)/g, function (wm, lead, txt) {\n return parseInside (txt, lead + '', '');\n });\n text = text.replace(/([^*]|^)\\B\\*\\*(\\S[\\s\\S]*?)\\*\\*\\B(?!\\*)/g, function (wm, lead, txt) {\n return parseInside (txt, lead + '', '');\n });\n text = text.replace(/([^*]|^)\\B\\*(\\S[\\s\\S]*?)\\*\\B(?!\\*)/g, function (wm, lead, txt) {\n return parseInside (txt, lead + '', '');\n });\n } else {\n text = text.replace(/\\*\\*\\*(\\S[\\s\\S]*?)\\*\\*\\*/g, function (wm, m) {\n return (/\\S$/.test(m)) ? parseInside (m, '', '') : wm;\n });\n text = text.replace(/\\*\\*(\\S[\\s\\S]*?)\\*\\*/g, function (wm, m) {\n return (/\\S$/.test(m)) ? parseInside (m, '', '') : wm;\n });\n text = text.replace(/\\*([^\\s*][\\s\\S]*?)\\*/g, function (wm, m) {\n // !/^\\*[^*]/.test(m) - test if it doesn't start with ** (since it seems redundant, we removed it)\n return (/\\S$/.test(m)) ? parseInside (m, '', '') : wm;\n });\n }\n\n\n text = globals.converter._dispatch('italicsAndBold.after', text, options, globals);\n return text;\n});\n\r\n/**\n * Form HTML ordered (numbered) and unordered (bulleted) lists.\n */\nshowdown.subParser('lists', function (text, options, globals) {\n 'use strict';\n\n /**\n * Process the contents of a single ordered or unordered list, splitting it\n * into individual list items.\n * @param {string} listStr\n * @param {boolean} trimTrailing\n * @returns {string}\n */\n function processListItems (listStr, trimTrailing) {\n // The $g_list_level global keeps track of when we're inside a list.\n // Each time we enter a list, we increment it; when we leave a list,\n // we decrement. If it's zero, we're not in a list anymore.\n //\n // We do this because when we're not inside a list, we want to treat\n // something like this:\n //\n // I recommend upgrading to version\n // 8. Oops, now this line is treated\n // as a sub-list.\n //\n // As a single paragraph, despite the fact that the second line starts\n // with a digit-period-space sequence.\n //\n // Whereas when we're inside a list (or sub-list), that line will be\n // treated as the start of a sub-list. What a kludge, huh? This is\n // an aspect of Markdown's syntax that's hard to parse perfectly\n // without resorting to mind-reading. Perhaps the solution is to\n // change the syntax rules such that sub-lists must start with a\n // starting cardinal number; e.g. \"1.\" or \"a.\".\n globals.gListLevel++;\n\n // trim trailing blank lines:\n listStr = listStr.replace(/\\n{2,}$/, '\\n');\n\n // attacklab: add sentinel to emulate \\z\n listStr += '¨0';\n\n var rgx = /(\\n)?(^ {0,3})([*+-]|\\d+[.])[ \\t]+((\\[(x|X| )?])?[ \\t]*[^\\r]+?(\\n{1,2}))(?=\\n*(¨0| {0,3}([*+-]|\\d+[.])[ \\t]+))/gm,\n isParagraphed = (/\\n[ \\t]*\\n(?!¨0)/.test(listStr));\n\n // Since version 1.5, nesting sublists requires 4 spaces (or 1 tab) indentation,\n // which is a syntax breaking change\n // activating this option reverts to old behavior\n if (options.disableForced4SpacesIndentedSublists) {\n rgx = /(\\n)?(^ {0,3})([*+-]|\\d+[.])[ \\t]+((\\[(x|X| )?])?[ \\t]*[^\\r]+?(\\n{1,2}))(?=\\n*(¨0|\\2([*+-]|\\d+[.])[ \\t]+))/gm;\n }\n\n listStr = listStr.replace(rgx, function (wholeMatch, m1, m2, m3, m4, taskbtn, checked) {\n checked = (checked && checked.trim() !== '');\n\n var item = showdown.subParser('outdent')(m4, options, globals),\n bulletStyle = '';\n\n // Support for github tasklists\n if (taskbtn && options.tasklists) {\n bulletStyle = ' class=\"task-list-item\" style=\"list-style-type: none;\"';\n item = item.replace(/^[ \\t]*\\[(x|X| )?]/m, function () {\n var otp = '';\n return otp;\n });\n }\n\n // ISSUE #312\n // This input: - - - a\n // causes trouble to the parser, since it interprets it as:\n // - a
\n // instead of:\n // - - - a
\n // So, to prevent it, we will put a marker (¨A)in the beginning of the line\n // Kind of hackish/monkey patching, but seems more effective than overcomplicating the list parser\n item = item.replace(/^([-*+]|\\d\\.)[ \\t]+[\\S\\n ]*/g, function (wm2) {\n return '¨A' + wm2;\n });\n\n // m1 - Leading line or\n // Has a double return (multi paragraph) or\n // Has sublist\n if (m1 || (item.search(/\\n{2,}/) > -1)) {\n item = showdown.subParser('githubCodeBlocks')(item, options, globals);\n item = showdown.subParser('blockGamut')(item, options, globals);\n } else {\n // Recursion for sub-lists:\n item = showdown.subParser('lists')(item, options, globals);\n item = item.replace(/\\n$/, ''); // chomp(item)\n item = showdown.subParser('hashHTMLBlocks')(item, options, globals);\n\n // Colapse double linebreaks\n item = item.replace(/\\n\\n+/g, '\\n\\n');\n if (isParagraphed) {\n item = showdown.subParser('paragraphs')(item, options, globals);\n } else {\n item = showdown.subParser('spanGamut')(item, options, globals);\n }\n }\n\n // now we need to remove the marker (¨A)\n item = item.replace('¨A', '');\n // we can finally wrap the line in list item tags\n item = '' + item + ' \\n';\n\n return item;\n });\n\n // attacklab: strip sentinel\n listStr = listStr.replace(/¨0/g, '');\n\n globals.gListLevel--;\n\n if (trimTrailing) {\n listStr = listStr.replace(/\\s+$/, '');\n }\n\n return listStr;\n }\n\n function styleStartNumber (list, listType) {\n // check if ol and starts by a number different than 1\n if (listType === 'ol') {\n var res = list.match(/^ *(\\d+)\\./);\n if (res && res[1] !== '1') {\n return ' start=\"' + res[1] + '\"';\n }\n }\n return '';\n }\n\n /**\n * Check and parse consecutive lists (better fix for issue #142)\n * @param {string} list\n * @param {string} listType\n * @param {boolean} trimTrailing\n * @returns {string}\n */\n function parseConsecutiveLists (list, listType, trimTrailing) {\n // check if we caught 2 or more consecutive lists by mistake\n // we use the counterRgx, meaning if listType is UL we look for OL and vice versa\n var olRgx = (options.disableForced4SpacesIndentedSublists) ? /^ ?\\d+\\.[ \\t]/gm : /^ {0,3}\\d+\\.[ \\t]/gm,\n ulRgx = (options.disableForced4SpacesIndentedSublists) ? /^ ?[*+-][ \\t]/gm : /^ {0,3}[*+-][ \\t]/gm,\n counterRxg = (listType === 'ul') ? olRgx : ulRgx,\n result = '';\n\n if (list.search(counterRxg) !== -1) {\n (function parseCL (txt) {\n var pos = txt.search(counterRxg),\n style = styleStartNumber(list, listType);\n if (pos !== -1) {\n // slice\n result += '\\n\\n<' + listType + style + '>\\n' + processListItems(txt.slice(0, pos), !!trimTrailing) + '' + listType + '>\\n';\n\n // invert counterType and listType\n listType = (listType === 'ul') ? 'ol' : 'ul';\n counterRxg = (listType === 'ul') ? olRgx : ulRgx;\n\n //recurse\n parseCL(txt.slice(pos));\n } else {\n result += '\\n\\n<' + listType + style + '>\\n' + processListItems(txt, !!trimTrailing) + '' + listType + '>\\n';\n }\n })(list);\n } else {\n var style = styleStartNumber(list, listType);\n result = '\\n\\n<' + listType + style + '>\\n' + processListItems(list, !!trimTrailing) + '' + listType + '>\\n';\n }\n\n return result;\n }\n\n /** Start of list parsing **/\n text = globals.converter._dispatch('lists.before', text, options, globals);\n // add sentinel to hack around khtml/safari bug:\n // http://bugs.webkit.org/show_bug.cgi?id=11231\n text += '¨0';\n\n if (globals.gListLevel) {\n text = text.replace(/^(( {0,3}([*+-]|\\d+[.])[ \\t]+)[^\\r]+?(¨0|\\n{2,}(?=\\S)(?![ \\t]*(?:[*+-]|\\d+[.])[ \\t]+)))/gm,\n function (wholeMatch, list, m2) {\n var listType = (m2.search(/[*+-]/g) > -1) ? 'ul' : 'ol';\n return parseConsecutiveLists(list, listType, true);\n }\n );\n } else {\n text = text.replace(/(\\n\\n|^\\n?)(( {0,3}([*+-]|\\d+[.])[ \\t]+)[^\\r]+?(¨0|\\n{2,}(?=\\S)(?![ \\t]*(?:[*+-]|\\d+[.])[ \\t]+)))/gm,\n function (wholeMatch, m1, list, m3) {\n var listType = (m3.search(/[*+-]/g) > -1) ? 'ul' : 'ol';\n return parseConsecutiveLists(list, listType, false);\n }\n );\n }\n\n // strip sentinel\n text = text.replace(/¨0/, '');\n text = globals.converter._dispatch('lists.after', text, options, globals);\n return text;\n});\n\r\n/**\n * Parse metadata at the top of the document\n */\nshowdown.subParser('metadata', function (text, options, globals) {\n 'use strict';\n\n if (!options.metadata) {\n return text;\n }\n\n text = globals.converter._dispatch('metadata.before', text, options, globals);\n\n function parseMetadataContents (content) {\n // raw is raw so it's not changed in any way\n globals.metadata.raw = content;\n\n // escape chars forbidden in html attributes\n // double quotes\n content = content\n // ampersand first\n .replace(/&/g, '&')\n // double quotes\n .replace(/\"/g, '"');\n\n content = content.replace(/\\n {4}/g, ' ');\n content.replace(/^([\\S ]+): +([\\s\\S]+?)$/gm, function (wm, key, value) {\n globals.metadata.parsed[key] = value;\n return '';\n });\n }\n\n text = text.replace(/^\\s*«««+(\\S*?)\\n([\\s\\S]+?)\\n»»»+\\n/, function (wholematch, format, content) {\n parseMetadataContents(content);\n return '¨M';\n });\n\n text = text.replace(/^\\s*---+(\\S*?)\\n([\\s\\S]+?)\\n---+\\n/, function (wholematch, format, content) {\n if (format) {\n globals.metadata.format = format;\n }\n parseMetadataContents(content);\n return '¨M';\n });\n\n text = text.replace(/¨M/g, '');\n\n text = globals.converter._dispatch('metadata.after', text, options, globals);\n return text;\n});\n\r\n/**\n * Remove one level of line-leading tabs or spaces\n */\nshowdown.subParser('outdent', function (text, options, globals) {\n 'use strict';\n text = globals.converter._dispatch('outdent.before', text, options, globals);\n\n // attacklab: hack around Konqueror 3.5.4 bug:\n // \"----------bug\".replace(/^-/g,\"\") == \"bug\"\n text = text.replace(/^(\\t|[ ]{1,4})/gm, '¨0'); // attacklab: g_tab_width\n\n // attacklab: clean up hack\n text = text.replace(/¨0/g, '');\n\n text = globals.converter._dispatch('outdent.after', text, options, globals);\n return text;\n});\n\r\n/**\n *\n */\nshowdown.subParser('paragraphs', function (text, options, globals) {\n 'use strict';\n\n text = globals.converter._dispatch('paragraphs.before', text, options, globals);\n // Strip leading and trailing lines:\n text = text.replace(/^\\n+/g, '');\n text = text.replace(/\\n+$/g, '');\n\n var grafs = text.split(/\\n{2,}/g),\n grafsOut = [],\n end = grafs.length; // Wrap tags\n\n for (var i = 0; i < end; i++) {\n var str = grafs[i];\n // if this is an HTML marker, copy it\n if (str.search(/¨(K|G)(\\d+)\\1/g) >= 0) {\n grafsOut.push(str);\n\n // test for presence of characters to prevent empty lines being parsed\n // as paragraphs (resulting in undesired extra empty paragraphs)\n } else if (str.search(/\\S/) >= 0) {\n str = showdown.subParser('spanGamut')(str, options, globals);\n str = str.replace(/^([ \\t]*)/g, '
');\n str += '
';\n grafsOut.push(str);\n }\n }\n\n /** Unhashify HTML blocks */\n end = grafsOut.length;\n for (i = 0; i < end; i++) {\n var blockText = '',\n grafsOutIt = grafsOut[i],\n codeFlag = false;\n // if this is a marker for an html block...\n // use RegExp.test instead of string.search because of QML bug\n while (/¨(K|G)(\\d+)\\1/.test(grafsOutIt)) {\n var delim = RegExp.$1,\n num = RegExp.$2;\n\n if (delim === 'K') {\n blockText = globals.gHtmlBlocks[num];\n } else {\n // we need to check if ghBlock is a false positive\n if (codeFlag) {\n // use encoded version of all text\n blockText = showdown.subParser('encodeCode')(globals.ghCodeBlocks[num].text, options, globals);\n } else {\n blockText = globals.ghCodeBlocks[num].codeblock;\n }\n }\n blockText = blockText.replace(/\\$/g, '$$$$'); // Escape any dollar signs\n\n grafsOutIt = grafsOutIt.replace(/(\\n\\n)?¨(K|G)\\d+\\2(\\n\\n)?/, blockText);\n // Check if grafsOutIt is a pre->code\n if (/^]*>\\s*]*>/.test(grafsOutIt)) {\n codeFlag = true;\n }\n }\n grafsOut[i] = grafsOutIt;\n }\n text = grafsOut.join('\\n');\n // Strip leading and trailing lines:\n text = text.replace(/^\\n+/g, '');\n text = text.replace(/\\n+$/g, '');\n return globals.converter._dispatch('paragraphs.after', text, options, globals);\n});\n\r\n/**\n * Run extension\n */\nshowdown.subParser('runExtension', function (ext, text, options, globals) {\n 'use strict';\n\n if (ext.filter) {\n text = ext.filter(text, globals.converter, options);\n\n } else if (ext.regex) {\n // TODO remove this when old extension loading mechanism is deprecated\n var re = ext.regex;\n if (!(re instanceof RegExp)) {\n re = new RegExp(re, 'g');\n }\n text = text.replace(re, ext.replace);\n }\n\n return text;\n});\n\r\n/**\n * These are all the transformations that occur *within* block-level\n * tags like paragraphs, headers, and list items.\n */\nshowdown.subParser('spanGamut', function (text, options, globals) {\n 'use strict';\n\n text = globals.converter._dispatch('spanGamut.before', text, options, globals);\n text = showdown.subParser('codeSpans')(text, options, globals);\n text = showdown.subParser('escapeSpecialCharsWithinTagAttributes')(text, options, globals);\n text = showdown.subParser('encodeBackslashEscapes')(text, options, globals);\n\n // Process anchor and image tags. Images must come first,\n // because ![foo][f] looks like an anchor.\n text = showdown.subParser('images')(text, options, globals);\n text = showdown.subParser('anchors')(text, options, globals);\n\n // Make links out of things like ` `\n // Must come after anchors, because you can use < and >\n // delimiters in inline links like [this]().\n text = showdown.subParser('autoLinks')(text, options, globals);\n text = showdown.subParser('simplifiedAutoLinks')(text, options, globals);\n text = showdown.subParser('emoji')(text, options, globals);\n text = showdown.subParser('underline')(text, options, globals);\n text = showdown.subParser('italicsAndBold')(text, options, globals);\n text = showdown.subParser('strikethrough')(text, options, globals);\n text = showdown.subParser('ellipsis')(text, options, globals);\n\n // we need to hash HTML tags inside spans\n text = showdown.subParser('hashHTMLSpans')(text, options, globals);\n\n // now we encode amps and angles\n text = showdown.subParser('encodeAmpsAndAngles')(text, options, globals);\n\n // Do hard breaks\n if (options.simpleLineBreaks) {\n // GFM style hard breaks\n // only add line breaks if the text does not contain a block (special case for lists)\n if (!/\\n\\n¨K/.test(text)) {\n text = text.replace(/\\n+/g, '
\\n');\n }\n } else {\n // Vanilla hard breaks\n text = text.replace(/ +\\n/g, '
\\n');\n }\n\n text = globals.converter._dispatch('spanGamut.after', text, options, globals);\n return text;\n});\n\r\nshowdown.subParser('strikethrough', function (text, options, globals) {\n 'use strict';\n\n function parseInside (txt) {\n if (options.simplifiedAutoLink) {\n txt = showdown.subParser('simplifiedAutoLinks')(txt, options, globals);\n }\n return '' + txt + '';\n }\n\n if (options.strikethrough) {\n text = globals.converter._dispatch('strikethrough.before', text, options, globals);\n text = text.replace(/(?:~){2}([\\s\\S]+?)(?:~){2}/g, function (wm, txt) { return parseInside(txt); });\n text = globals.converter._dispatch('strikethrough.after', text, options, globals);\n }\n\n return text;\n});\n\r\n/**\n * Strips link definitions from text, stores the URLs and titles in\n * hash references.\n * Link defs are in the form: ^[id]: url \"optional title\"\n */\nshowdown.subParser('stripLinkDefinitions', function (text, options, globals) {\n 'use strict';\n\n var regex = /^ {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,\n base64Regex = /^ {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;\n\n // attacklab: sentinel workarounds for lack of \\A and \\Z, safari\\khtml bug\n text += '¨0';\n\n var replaceFunc = function (wholeMatch, linkId, url, width, height, blankLines, title) {\n linkId = linkId.toLowerCase();\n if (url.match(/^data:.+?\\/.+?;base64,/)) {\n // remove newlines\n globals.gUrls[linkId] = url.replace(/\\s/g, '');\n } else {\n globals.gUrls[linkId] = showdown.subParser('encodeAmpsAndAngles')(url, options, globals); // Link IDs are case-insensitive\n }\n\n if (blankLines) {\n // Oops, found blank lines, so it's not a title.\n // Put back the parenthetical statement we stole.\n return blankLines + title;\n\n } else {\n if (title) {\n globals.gTitles[linkId] = title.replace(/\"|'/g, '"');\n }\n if (options.parseImgDimensions && width && height) {\n globals.gDimensions[linkId] = {\n width: width,\n height: height\n };\n }\n }\n // Completely remove the definition from the text\n return '';\n };\n\n // first we try to find base64 link references\n text = text.replace(base64Regex, replaceFunc);\n\n text = text.replace(regex, replaceFunc);\n\n // attacklab: strip sentinel\n text = text.replace(/¨0/, '');\n\n return text;\n});\n\r\nshowdown.subParser('tables', function (text, options, globals) {\n 'use strict';\n\n if (!options.tables) {\n return text;\n }\n\n var tableRgx = /^ {0,3}\\|?.+\\|.+\\n {0,3}\\|?[ \\t]*:?[ \\t]*(?:[-=]){2,}[ \\t]*:?[ \\t]*\\|[ \\t]*:?[ \\t]*(?:[-=]){2,}[\\s\\S]+?(?:\\n\\n|¨0)/gm,\n //singeColTblRgx = /^ {0,3}\\|.+\\|\\n {0,3}\\|[ \\t]*:?[ \\t]*(?:[-=]){2,}[ \\t]*:?[ \\t]*\\|[ \\t]*\\n(?: {0,3}\\|.+\\|\\n)+(?:\\n\\n|¨0)/gm;\n singeColTblRgx = /^ {0,3}\\|.+\\|[ \\t]*\\n {0,3}\\|[ \\t]*:?[ \\t]*(?:[-=]){2,}[ \\t]*:?[ \\t]*\\|[ \\t]*\\n( {0,3}\\|.+\\|[ \\t]*\\n)*(?:\\n|¨0)/gm;\n\n function parseStyles (sLine) {\n if (/^:[ \\t]*--*$/.test(sLine)) {\n return ' style=\"text-align:left;\"';\n } else if (/^--*[ \\t]*:[ \\t]*$/.test(sLine)) {\n return ' style=\"text-align:right;\"';\n } else if (/^:[ \\t]*--*[ \\t]*:$/.test(sLine)) {\n return ' style=\"text-align:center;\"';\n } else {\n return '';\n }\n }\n\n function parseHeaders (header, style) {\n var id = '';\n header = header.trim();\n // support both tablesHeaderId and tableHeaderId due to error in documentation so we don't break backwards compatibility\n if (options.tablesHeaderId || options.tableHeaderId) {\n id = ' id=\"' + header.replace(/ /g, '_').toLowerCase() + '\"';\n }\n header = showdown.subParser('spanGamut')(header, options, globals);\n\n return '' + header + ' \\n';\n }\n\n function parseCells (cell, style) {\n var subText = showdown.subParser('spanGamut')(cell, options, globals);\n return '' + subText + ' \\n';\n }\n\n function buildTable (headers, cells) {\n var tb = '\\n\\n\\n',\n tblLgn = headers.length;\n\n for (var i = 0; i < tblLgn; ++i) {\n tb += headers[i];\n }\n tb += ' \\n\\n\\n';\n\n for (i = 0; i < cells.length; ++i) {\n tb += '\\n';\n for (var ii = 0; ii < tblLgn; ++ii) {\n tb += cells[i][ii];\n }\n tb += ' \\n';\n }\n tb += '\\n
\\n';\n return tb;\n }\n\n function parseTable (rawTable) {\n var i, tableLines = rawTable.split('\\n');\n\n for (i = 0; i < tableLines.length; ++i) {\n // strip wrong first and last column if wrapped tables are used\n if (/^ {0,3}\\|/.test(tableLines[i])) {\n tableLines[i] = tableLines[i].replace(/^ {0,3}\\|/, '');\n }\n if (/\\|[ \\t]*$/.test(tableLines[i])) {\n tableLines[i] = tableLines[i].replace(/\\|[ \\t]*$/, '');\n }\n // parse code spans first, but we only support one line code spans\n tableLines[i] = showdown.subParser('codeSpans')(tableLines[i], options, globals);\n }\n\n var rawHeaders = tableLines[0].split('|').map(function (s) { return s.trim();}),\n rawStyles = tableLines[1].split('|').map(function (s) { return s.trim();}),\n rawCells = [],\n headers = [],\n styles = [],\n cells = [];\n\n tableLines.shift();\n tableLines.shift();\n\n for (i = 0; i < tableLines.length; ++i) {\n if (tableLines[i].trim() === '') {\n continue;\n }\n rawCells.push(\n tableLines[i]\n .split('|')\n .map(function (s) {\n return s.trim();\n })\n );\n }\n\n if (rawHeaders.length < rawStyles.length) {\n return rawTable;\n }\n\n for (i = 0; i < rawStyles.length; ++i) {\n styles.push(parseStyles(rawStyles[i]));\n }\n\n for (i = 0; i < rawHeaders.length; ++i) {\n if (showdown.helper.isUndefined(styles[i])) {\n styles[i] = '';\n }\n headers.push(parseHeaders(rawHeaders[i], styles[i]));\n }\n\n for (i = 0; i < rawCells.length; ++i) {\n var row = [];\n for (var ii = 0; ii < headers.length; ++ii) {\n if (showdown.helper.isUndefined(rawCells[i][ii])) {\n\n }\n row.push(parseCells(rawCells[i][ii], styles[ii]));\n }\n cells.push(row);\n }\n\n return buildTable(headers, cells);\n }\n\n text = globals.converter._dispatch('tables.before', text, options, globals);\n\n // find escaped pipe characters\n text = text.replace(/\\\\(\\|)/g, showdown.helper.escapeCharactersCallback);\n\n // parse multi column tables\n text = text.replace(tableRgx, parseTable);\n\n // parse one column tables\n text = text.replace(singeColTblRgx, parseTable);\n\n text = globals.converter._dispatch('tables.after', text, options, globals);\n\n return text;\n});\n\r\nshowdown.subParser('underline', function (text, options, globals) {\n 'use strict';\n\n if (!options.underline) {\n return text;\n }\n\n text = globals.converter._dispatch('underline.before', text, options, globals);\n\n if (options.literalMidWordUnderscores) {\n text = text.replace(/\\b___(\\S[\\s\\S]*?)___\\b/g, function (wm, txt) {\n return '' + txt + '';\n });\n text = text.replace(/\\b__(\\S[\\s\\S]*?)__\\b/g, function (wm, txt) {\n return '' + txt + '';\n });\n } else {\n text = text.replace(/___(\\S[\\s\\S]*?)___/g, function (wm, m) {\n return (/\\S$/.test(m)) ? '' + m + '' : wm;\n });\n text = text.replace(/__(\\S[\\s\\S]*?)__/g, function (wm, m) {\n return (/\\S$/.test(m)) ? '' + m + '' : wm;\n });\n }\n\n // escape remaining underscores to prevent them being parsed by italic and bold\n text = text.replace(/(_)/g, showdown.helper.escapeCharactersCallback);\n\n text = globals.converter._dispatch('underline.after', text, options, globals);\n\n return text;\n});\n\r\n/**\n * Swap back in all the special characters we've hidden.\n */\nshowdown.subParser('unescapeSpecialChars', function (text, options, globals) {\n 'use strict';\n text = globals.converter._dispatch('unescapeSpecialChars.before', text, options, globals);\n\n text = text.replace(/¨E(\\d+)E/g, function (wholeMatch, m1) {\n var charCodeToReplace = parseInt(m1);\n return String.fromCharCode(charCodeToReplace);\n });\n\n text = globals.converter._dispatch('unescapeSpecialChars.after', text, options, globals);\n return text;\n});\n\r\nshowdown.subParser('makeMarkdown.blockquote', function (node, globals) {\n 'use strict';\n\n var txt = '';\n if (node.hasChildNodes()) {\n var children = node.childNodes,\n childrenLength = children.length;\n\n for (var i = 0; i < childrenLength; ++i) {\n var innerTxt = showdown.subParser('makeMarkdown.node')(children[i], globals);\n\n if (innerTxt === '') {\n continue;\n }\n txt += innerTxt;\n }\n }\n // cleanup\n txt = txt.trim();\n txt = '> ' + txt.split('\\n').join('\\n> ');\n return txt;\n});\n\r\nshowdown.subParser('makeMarkdown.codeBlock', function (node, globals) {\n 'use strict';\n\n var lang = node.getAttribute('language'),\n num = node.getAttribute('precodenum');\n return '```' + lang + '\\n' + globals.preList[num] + '\\n```';\n});\n\r\nshowdown.subParser('makeMarkdown.codeSpan', function (node) {\n 'use strict';\n\n return '`' + node.innerHTML + '`';\n});\n\r\nshowdown.subParser('makeMarkdown.emphasis', function (node, globals) {\n 'use strict';\n\n var txt = '';\n if (node.hasChildNodes()) {\n txt += '*';\n var children = node.childNodes,\n childrenLength = children.length;\n for (var i = 0; i < childrenLength; ++i) {\n txt += showdown.subParser('makeMarkdown.node')(children[i], globals);\n }\n txt += '*';\n }\n return txt;\n});\n\r\nshowdown.subParser('makeMarkdown.header', function (node, globals, headerLevel) {\n 'use strict';\n\n var headerMark = new Array(headerLevel + 1).join('#'),\n txt = '';\n\n if (node.hasChildNodes()) {\n txt = headerMark + ' ';\n var children = node.childNodes,\n childrenLength = children.length;\n\n for (var i = 0; i < childrenLength; ++i) {\n txt += showdown.subParser('makeMarkdown.node')(children[i], globals);\n }\n }\n return txt;\n});\n\r\nshowdown.subParser('makeMarkdown.hr', function () {\n 'use strict';\n\n return '---';\n});\n\r\nshowdown.subParser('makeMarkdown.image', function (node) {\n 'use strict';\n\n var txt = '';\n if (node.hasAttribute('src')) {\n txt += '![' + node.getAttribute('alt') + '](';\n txt += '<' + node.getAttribute('src') + '>';\n if (node.hasAttribute('width') && node.hasAttribute('height')) {\n txt += ' =' + node.getAttribute('width') + 'x' + node.getAttribute('height');\n }\n\n if (node.hasAttribute('title')) {\n txt += ' \"' + node.getAttribute('title') + '\"';\n }\n txt += ')';\n }\n return txt;\n});\n\r\nshowdown.subParser('makeMarkdown.links', function (node, globals) {\n 'use strict';\n\n var txt = '';\n if (node.hasChildNodes() && node.hasAttribute('href')) {\n var children = node.childNodes,\n childrenLength = children.length;\n txt = '[';\n for (var i = 0; i < childrenLength; ++i) {\n txt += showdown.subParser('makeMarkdown.node')(children[i], globals);\n }\n txt += '](';\n txt += '<' + node.getAttribute('href') + '>';\n if (node.hasAttribute('title')) {\n txt += ' \"' + node.getAttribute('title') + '\"';\n }\n txt += ')';\n }\n return txt;\n});\n\r\nshowdown.subParser('makeMarkdown.list', function (node, globals, type) {\n 'use strict';\n\n var txt = '';\n if (!node.hasChildNodes()) {\n return '';\n }\n var listItems = node.childNodes,\n listItemsLenght = listItems.length,\n listNum = node.getAttribute('start') || 1;\n\n for (var i = 0; i < listItemsLenght; ++i) {\n if (typeof listItems[i].tagName === 'undefined' || listItems[i].tagName.toLowerCase() !== 'li') {\n continue;\n }\n\n // define the bullet to use in list\n var bullet = '';\n if (type === 'ol') {\n bullet = listNum.toString() + '. ';\n } else {\n bullet = '- ';\n }\n\n // parse list item\n txt += bullet + showdown.subParser('makeMarkdown.listItem')(listItems[i], globals);\n ++listNum;\n }\n\n // add comment at the end to prevent consecutive lists to be parsed as one\n txt += '\\n\\n';\n return txt.trim();\n});\n\r\nshowdown.subParser('makeMarkdown.listItem', function (node, globals) {\n 'use strict';\n\n var listItemTxt = '';\n\n var children = node.childNodes,\n childrenLenght = children.length;\n\n for (var i = 0; i < childrenLenght; ++i) {\n listItemTxt += showdown.subParser('makeMarkdown.node')(children[i], globals);\n }\n // if it's only one liner, we need to add a newline at the end\n if (!/\\n$/.test(listItemTxt)) {\n listItemTxt += '\\n';\n } else {\n // it's multiparagraph, so we need to indent\n listItemTxt = listItemTxt\n .split('\\n')\n .join('\\n ')\n .replace(/^ {4}$/gm, '')\n .replace(/\\n\\n+/g, '\\n\\n');\n }\n\n return listItemTxt;\n});\n\r\n\n\nshowdown.subParser('makeMarkdown.node', function (node, globals, spansOnly) {\n 'use strict';\n\n spansOnly = spansOnly || false;\n\n var txt = '';\n\n // edge case of text without wrapper paragraph\n if (node.nodeType === 3) {\n return showdown.subParser('makeMarkdown.txt')(node, globals);\n }\n\n // HTML comment\n if (node.nodeType === 8) {\n return '\\n\\n';\n }\n\n // process only node elements\n if (node.nodeType !== 1) {\n return '';\n }\n\n var tagName = node.tagName.toLowerCase();\n\n switch (tagName) {\n\n //\n // BLOCKS\n //\n case 'h1':\n if (!spansOnly) { txt = showdown.subParser('makeMarkdown.header')(node, globals, 1) + '\\n\\n'; }\n break;\n case 'h2':\n if (!spansOnly) { txt = showdown.subParser('makeMarkdown.header')(node, globals, 2) + '\\n\\n'; }\n break;\n case 'h3':\n if (!spansOnly) { txt = showdown.subParser('makeMarkdown.header')(node, globals, 3) + '\\n\\n'; }\n break;\n case 'h4':\n if (!spansOnly) { txt = showdown.subParser('makeMarkdown.header')(node, globals, 4) + '\\n\\n'; }\n break;\n case 'h5':\n if (!spansOnly) { txt = showdown.subParser('makeMarkdown.header')(node, globals, 5) + '\\n\\n'; }\n break;\n case 'h6':\n if (!spansOnly) { txt = showdown.subParser('makeMarkdown.header')(node, globals, 6) + '\\n\\n'; }\n break;\n\n case 'p':\n if (!spansOnly) { txt = showdown.subParser('makeMarkdown.paragraph')(node, globals) + '\\n\\n'; }\n break;\n\n case 'blockquote':\n if (!spansOnly) { txt = showdown.subParser('makeMarkdown.blockquote')(node, globals) + '\\n\\n'; }\n break;\n\n case 'hr':\n if (!spansOnly) { txt = showdown.subParser('makeMarkdown.hr')(node, globals) + '\\n\\n'; }\n break;\n\n case 'ol':\n if (!spansOnly) { txt = showdown.subParser('makeMarkdown.list')(node, globals, 'ol') + '\\n\\n'; }\n break;\n\n case 'ul':\n if (!spansOnly) { txt = showdown.subParser('makeMarkdown.list')(node, globals, 'ul') + '\\n\\n'; }\n break;\n\n case 'precode':\n if (!spansOnly) { txt = showdown.subParser('makeMarkdown.codeBlock')(node, globals) + '\\n\\n'; }\n break;\n\n case 'pre':\n if (!spansOnly) { txt = showdown.subParser('makeMarkdown.pre')(node, globals) + '\\n\\n'; }\n break;\n\n case 'table':\n if (!spansOnly) { txt = showdown.subParser('makeMarkdown.table')(node, globals) + '\\n\\n'; }\n break;\n\n //\n // SPANS\n //\n case 'code':\n txt = showdown.subParser('makeMarkdown.codeSpan')(node, globals);\n break;\n\n case 'em':\n case 'i':\n txt = showdown.subParser('makeMarkdown.emphasis')(node, globals);\n break;\n\n case 'strong':\n case 'b':\n txt = showdown.subParser('makeMarkdown.strong')(node, globals);\n break;\n\n case 'del':\n txt = showdown.subParser('makeMarkdown.strikethrough')(node, globals);\n break;\n\n case 'a':\n txt = showdown.subParser('makeMarkdown.links')(node, globals);\n break;\n\n case 'img':\n txt = showdown.subParser('makeMarkdown.image')(node, globals);\n break;\n\n default:\n txt = node.outerHTML + '\\n\\n';\n }\n\n // common normalization\n // TODO eventually\n\n return txt;\n});\n\r\nshowdown.subParser('makeMarkdown.paragraph', function (node, globals) {\n 'use strict';\n\n var txt = '';\n if (node.hasChildNodes()) {\n var children = node.childNodes,\n childrenLength = children.length;\n for (var i = 0; i < childrenLength; ++i) {\n txt += showdown.subParser('makeMarkdown.node')(children[i], globals);\n }\n }\n\n // some text normalization\n txt = txt.trim();\n\n return txt;\n});\n\r\nshowdown.subParser('makeMarkdown.pre', function (node, globals) {\n 'use strict';\n\n var num = node.getAttribute('prenum');\n return '' + globals.preList[num] + '
';\n});\n\r\nshowdown.subParser('makeMarkdown.strikethrough', function (node, globals) {\n 'use strict';\n\n var txt = '';\n if (node.hasChildNodes()) {\n txt += '~~';\n var children = node.childNodes,\n childrenLength = children.length;\n for (var i = 0; i < childrenLength; ++i) {\n txt += showdown.subParser('makeMarkdown.node')(children[i], globals);\n }\n txt += '~~';\n }\n return txt;\n});\n\r\nshowdown.subParser('makeMarkdown.strong', function (node, globals) {\n 'use strict';\n\n var txt = '';\n if (node.hasChildNodes()) {\n txt += '**';\n var children = node.childNodes,\n childrenLength = children.length;\n for (var i = 0; i < childrenLength; ++i) {\n txt += showdown.subParser('makeMarkdown.node')(children[i], globals);\n }\n txt += '**';\n }\n return txt;\n});\n\r\nshowdown.subParser('makeMarkdown.table', function (node, globals) {\n 'use strict';\n\n var txt = '',\n tableArray = [[], []],\n headings = node.querySelectorAll('thead>tr>th'),\n rows = node.querySelectorAll('tbody>tr'),\n i, ii;\n for (i = 0; i < headings.length; ++i) {\n var headContent = showdown.subParser('makeMarkdown.tableCell')(headings[i], globals),\n allign = '---';\n\n if (headings[i].hasAttribute('style')) {\n var style = headings[i].getAttribute('style').toLowerCase().replace(/\\s/g, '');\n switch (style) {\n case 'text-align:left;':\n allign = ':---';\n break;\n case 'text-align:right;':\n allign = '---:';\n break;\n case 'text-align:center;':\n allign = ':---:';\n break;\n }\n }\n tableArray[0][i] = headContent.trim();\n tableArray[1][i] = allign;\n }\n\n for (i = 0; i < rows.length; ++i) {\n var r = tableArray.push([]) - 1,\n cols = rows[i].getElementsByTagName('td');\n\n for (ii = 0; ii < headings.length; ++ii) {\n var cellContent = ' ';\n if (typeof cols[ii] !== 'undefined') {\n cellContent = showdown.subParser('makeMarkdown.tableCell')(cols[ii], globals);\n }\n tableArray[r].push(cellContent);\n }\n }\n\n var cellSpacesCount = 3;\n for (i = 0; i < tableArray.length; ++i) {\n for (ii = 0; ii < tableArray[i].length; ++ii) {\n var strLen = tableArray[i][ii].length;\n if (strLen > cellSpacesCount) {\n cellSpacesCount = strLen;\n }\n }\n }\n\n for (i = 0; i < tableArray.length; ++i) {\n for (ii = 0; ii < tableArray[i].length; ++ii) {\n if (i === 1) {\n if (tableArray[i][ii].slice(-1) === ':') {\n tableArray[i][ii] = showdown.helper.padEnd(tableArray[i][ii].slice(-1), cellSpacesCount - 1, '-') + ':';\n } else {\n tableArray[i][ii] = showdown.helper.padEnd(tableArray[i][ii], cellSpacesCount, '-');\n }\n } else {\n tableArray[i][ii] = showdown.helper.padEnd(tableArray[i][ii], cellSpacesCount);\n }\n }\n txt += '| ' + tableArray[i].join(' | ') + ' |\\n';\n }\n\n return txt.trim();\n});\n\r\nshowdown.subParser('makeMarkdown.tableCell', function (node, globals) {\n 'use strict';\n\n var txt = '';\n if (!node.hasChildNodes()) {\n return '';\n }\n var children = node.childNodes,\n childrenLength = children.length;\n\n for (var i = 0; i < childrenLength; ++i) {\n txt += showdown.subParser('makeMarkdown.node')(children[i], globals, true);\n }\n return txt.trim();\n});\n\r\nshowdown.subParser('makeMarkdown.txt', function (node) {\n 'use strict';\n\n var txt = node.nodeValue;\n\n // multiple spaces are collapsed\n txt = txt.replace(/ +/g, ' ');\n\n // replace the custom ¨NBSP; with a space\n txt = txt.replace(/¨NBSP;/g, ' ');\n\n // \", <, > and & should replace escaped html entities\n txt = showdown.helper.unescapeHTMLEntities(txt);\n\n // escape markdown magic characters\n // emphasis, strong and strikethrough - can appear everywhere\n // we also escape pipe (|) because of tables\n // and escape ` because of code blocks and spans\n txt = txt.replace(/([*_~|`])/g, '\\\\$1');\n\n // escape > because of blockquotes\n txt = txt.replace(/^(\\s*)>/g, '\\\\$1>');\n\n // hash character, only troublesome at the beginning of a line because of headers\n txt = txt.replace(/^#/gm, '\\\\#');\n\n // horizontal rules\n txt = txt.replace(/^(\\s*)([-=]{3,})(\\s*)$/, '$1\\\\$2$3');\n\n // dot, because of ordered lists, only troublesome at the beginning of a line when preceded by an integer\n txt = txt.replace(/^( {0,3}\\d+)\\./gm, '$1\\\\.');\n\n // +, * and -, at the beginning of a line becomes a list, so we need to escape them also (asterisk was already escaped)\n txt = txt.replace(/^( {0,3})([+-])/gm, '$1\\\\$2');\n\n // images and links, ] followed by ( is problematic, so we escape it\n txt = txt.replace(/]([\\s]*)\\(/g, '\\\\]$1\\\\(');\n\n // reference URIs must also be escaped\n txt = txt.replace(/^ {0,3}\\[([\\S \\t]*?)]:/gm, '\\\\[$1]:');\n\n return txt;\n});\n\r\nvar root = this;\n\n// AMD Loader\nif (typeof define === 'function' && define.amd) {\n define(function () {\n 'use strict';\n return showdown;\n });\n\n// CommonJS/nodeJS Loader\n} else if (typeof module !== 'undefined' && module.exports) {\n module.exports = showdown;\n\n// Regular Browser loader\n} else {\n root.showdown = showdown;\n}\n}).call(this);\r\n\n//# sourceMappingURL=showdown.js.map\r\n\n\n\n// WEBPACK FOOTER //\n// ../node_modules/showdown/dist/showdown.js","import { Component, cloneElement, h } from 'preact';\n\nvar EMPTY$1 = {};\n\nfunction assign(obj, props) {\n\t// eslint-disable-next-line guard-for-in\n\tfor (var i in props) {\n\t\tobj[i] = props[i];\n\t}\n\treturn obj;\n}\n\nfunction exec(url, route, opts) {\n\tvar reg = /(?:\\?([^#]*))?(#.*)?$/,\n\t\tc = url.match(reg),\n\t\tmatches = {},\n\t\tret;\n\tif (c && c[1]) {\n\t\tvar p = c[1].split('&');\n\t\tfor (var i=0; i b.rank) ? -1 :\n\t\t(a.index - b.index)\n\t);\n}\n\n// filter out VNodes without attributes (which are unrankeable), and add `index`/`rank` properties to be used in sorting.\nfunction prepareVNodeForRanking(vnode, index) {\n\tvnode.index = index;\n\tvnode.rank = rankChild(vnode);\n\treturn vnode.attributes;\n}\n\nfunction segmentize(url) {\n\treturn url.replace(/(^\\/+|\\/+$)/g, '').split('/');\n}\n\nfunction rankSegment(segment) {\n\treturn segment.charAt(0)==':' ? (1 + '*+?'.indexOf(segment.charAt(segment.length-1))) || 4 : 5;\n}\n\nfunction rank(path) {\n\treturn segmentize(path).map(rankSegment).join('');\n}\n\nfunction rankChild(vnode) {\n\treturn vnode.attributes.default ? 0 : rank(vnode.attributes.path);\n}\n\nvar customHistory = null;\n\nvar ROUTERS = [];\n\nvar subscribers = [];\n\nvar EMPTY = {};\n\nfunction isPreactElement(node) {\n\treturn node.__preactattr_!=null || typeof Symbol!=='undefined' && node[Symbol.for('preactattr')]!=null;\n}\n\nfunction setUrl(url, type) {\n\tif ( type === void 0 ) type='push';\n\n\tif (customHistory && customHistory[type]) {\n\t\tcustomHistory[type](url);\n\t}\n\telse if (typeof history!=='undefined' && history[type+'State']) {\n\t\thistory[type+'State'](null, null, url);\n\t}\n}\n\n\nfunction getCurrentUrl() {\n\tvar url;\n\tif (customHistory && customHistory.location) {\n\t\turl = customHistory.location;\n\t}\n\telse if (customHistory && customHistory.getCurrentLocation) {\n\t\turl = customHistory.getCurrentLocation();\n\t}\n\telse {\n\t\turl = typeof location!=='undefined' ? location : EMPTY;\n\t}\n\treturn (\"\" + (url.pathname || '') + (url.search || ''));\n}\n\n\n\nfunction route(url, replace) {\n\tif ( replace === void 0 ) replace=false;\n\n\tif (typeof url!=='string' && url.url) {\n\t\treplace = url.replace;\n\t\turl = url.url;\n\t}\n\n\t// only push URL into history if we can handle it\n\tif (canRoute(url)) {\n\t\tsetUrl(url, replace ? 'replace' : 'push');\n\t}\n\n\treturn routeTo(url);\n}\n\n\n/** Check if the given URL can be handled by any router instances. */\nfunction canRoute(url) {\n\tfor (var i=ROUTERS.length; i--; ) {\n\t\tif (ROUTERS[i].canRoute(url)) { return true; }\n\t}\n\treturn false;\n}\n\n\n/** Tell all router instances to handle the given URL. */\nfunction routeTo(url) {\n\tvar didRoute = false;\n\tfor (var i=0; i 0;\n\t};\n\n\t/** Re-render children with a new URL to match against. */\n\tRouter.prototype.routeTo = function routeTo (url) {\n\t\tthis._didRoute = false;\n\t\tthis.setState({ url: url });\n\n\t\t// if we're in the middle of an update, don't synchronously re-route.\n\t\tif (this.updating) { return this.canRoute(url); }\n\n\t\tthis.forceUpdate();\n\t\treturn this._didRoute;\n\t};\n\n\tRouter.prototype.componentWillMount = function componentWillMount () {\n\t\tROUTERS.push(this);\n\t\tthis.updating = true;\n\t};\n\n\tRouter.prototype.componentDidMount = function componentDidMount () {\n\t\tvar this$1 = this;\n\n\t\tif (customHistory) {\n\t\t\tthis.unlisten = customHistory.listen(function (location) {\n\t\t\t\tthis$1.routeTo((\"\" + (location.pathname || '') + (location.search || '')));\n\t\t\t});\n\t\t}\n\t\tthis.updating = false;\n\t};\n\n\tRouter.prototype.componentWillUnmount = function componentWillUnmount () {\n\t\tif (typeof this.unlisten==='function') { this.unlisten(); }\n\t\tROUTERS.splice(ROUTERS.indexOf(this), 1);\n\t};\n\n\tRouter.prototype.componentWillUpdate = function componentWillUpdate () {\n\t\tthis.updating = true;\n\t};\n\n\tRouter.prototype.componentDidUpdate = function componentDidUpdate () {\n\t\tthis.updating = false;\n\t};\n\n\tRouter.prototype.getMatchingChildren = function getMatchingChildren (children, url, invoke) {\n\t\treturn children\n\t\t\t.filter(prepareVNodeForRanking)\n\t\t\t.sort(pathRankSort)\n\t\t\t.map( function (vnode) {\n\t\t\t\tvar matches = exec(url, vnode.attributes.path, vnode.attributes);\n\t\t\t\tif (matches) {\n\t\t\t\t\tif (invoke !== false) {\n\t\t\t\t\t\tvar newProps = { url: url, matches: matches };\n\t\t\t\t\t\tassign(newProps, matches);\n\t\t\t\t\t\tdelete newProps.ref;\n\t\t\t\t\t\tdelete newProps.key;\n\t\t\t\t\t\treturn cloneElement(vnode, newProps);\n\t\t\t\t\t}\n\t\t\t\t\treturn vnode;\n\t\t\t\t}\n\t\t\t}).filter(Boolean);\n\t};\n\n\tRouter.prototype.render = function render (ref, ref$1) {\n\t\tvar children = ref.children;\n\t\tvar onChange = ref.onChange;\n\t\tvar url = ref$1.url;\n\n\t\tvar active = this.getMatchingChildren(children, url, true);\n\n\t\tvar current = active[0] || null;\n\t\tthis._didRoute = !!current;\n\n\t\tvar previous = this.previousUrl;\n\t\tif (url!==previous) {\n\t\t\tthis.previousUrl = url;\n\t\t\tif (typeof onChange==='function') {\n\t\t\t\tonChange({\n\t\t\t\t\trouter: this,\n\t\t\t\t\turl: url,\n\t\t\t\t\tprevious: previous,\n\t\t\t\t\tactive: active,\n\t\t\t\t\tcurrent: current\n\t\t\t\t});\n\t\t\t}\n\t\t}\n\n\t\treturn current;\n\t};\n\n\treturn Router;\n}(Component));\n\nvar Link = function (props) { return (\n\th('a', assign({ onClick: handleLinkClick }, props))\n); };\n\nvar Route = function (props) { return h(props.component, props); };\n\nRouter.subscribers = subscribers;\nRouter.getCurrentUrl = getCurrentUrl;\nRouter.route = route;\nRouter.Router = Router;\nRouter.Route = Route;\nRouter.Link = Link;\n\nexport { subscribers, getCurrentUrl, route, Router, Route, Link };export default Router;\n//# sourceMappingURL=preact-router.es.js.map\n\n\n\n// WEBPACK FOOTER //\n// ../node_modules/preact-router/dist/preact-router.es.js","import style from \"./panel.css\";\nimport { Component } from 'preact';\n\nexport default class Panel extends Component {\n\trender() {\n\t\tlet title = null;\n\t\tif(this.props.title !== undefined) {\n\t\t\ttitle = ({this.props.title}
);\n\t\t}\n\n\t\treturn (\n\t\t\t\n\t\t\t\t{title}\n\t\t\t\t{this.props.children}\n\t\t\t\n\t\t);\n\t}\n}\n\n\n\n// WEBPACK FOOTER //\n// ./components/panel.js","import style from \"./split.css\";\nimport { Component } from 'preact';\n\nexport default class Split extends Component {\n\trender() {\n\t let title = null;\n\t if(this.props.title !== undefined) {\n title = ({this.props.title}
)\n }\n\n let children;\n if(Array.isArray(this.props.children)) {\n children = this.props.children.map(element => {\n return ({element});\n });\n }\n else {\n children = {this.props.children};\n }\n\t\treturn (\n\t \n {title}\n {children}\n \n );\n\t}\n}\n\n\n\n// WEBPACK FOOTER //\n// ./components/split.js","import style from \"./todo.css\";\r\nimport { Component } from 'preact';\r\n\r\nexport default class Todo extends Component {\r\n\trender() {\r\n\t\treturn {this.props.children};\r\n\t}\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./components/todo.js","import style from './home.css'\r\nimport { Component } from 'preact';\r\nimport Panel from '../components/panel';\r\nimport Split from '../components/split';\r\nimport Todo from '../components/todo';\r\n\r\nexport default class Home extends Component {\r\n render() {\r\n return (\r\n \r\n Indice
\r\n \r\n Statistica ed elementi di probabilità}>\r\n \r\n Appunti scritti mentre studiavo per l'esame di Statistica ed elementi di probabilità del corso triennale di Informatica all'Unimore del Prof. Luca La Rocca.\r\n
\r\n \r\n Cleaver}>\r\n \r\n Progetto in Java sviluppato per l'esame di Programmazione ad Oggetti del corso triennale di Informatica all'Unimore, tenuto dai Prof. Giacomo Cabri e Nicola Capodieci.\r\n
\r\n \r\n Fisica}>\r\n \r\n Appunti delle lezioni di Fisica del corso triennale di Informatica all'Unimore, tenute dalla Prof.ssa Rossella Brunetti nel primo semestre dell'Anno Accademico 2019/2020.\r\n
\r\n \r\n Sistemi Operativi}>\r\n \r\n Soluzioni agli Arzigogoli proposti dal Prof. Mauro Andreolini durante le lezioni di Sistemi Operativi del corso triennale di Informatica all'Unimore tenutesi nel primo semestre dell'Anno Accademico 2019/2020.\r\n
\r\n \r\n Algoritmi e Strutture Dati}>\r\n \r\n Appunti delle lezioni di Algoritmi e Strutture Dati del corso triennale di Informatica all'Unimore, tenute dalla Prof.ssa Manuela Montangero nel secondo semestre dell'Anno Accademico 2018/2019.\r\n
\r\n \r\n Videolezioni di Geometria}>\r\n \r\n Ottime videolezioni di Geometria con licenza CC BY-NC-SA 4.0 che ho trovato sul portale Dolly 2018 dell'Unimore.\r\n
\r\n \r\n Come installare MinGW}>\r\n \r\n Un breve tutorial con immagini su come installare e configurare MinGW per compilare programmi C e C++ su Windows.\r\n
\r\n \r\n \r\n \r\n @unimoreinfo}>\r\n \r\n Il gruppo Telegram del corso di Informatica dell'Unimore!\r\n
\r\n \r\n Calendario Lezioni}>\r\n \r\n Calendario Google quasi sempre aggiornato delle lezioni e degli esami del secondo anno dell'Unimore durante l'Anno Accademico 2019/2020.\r\n
\r\n \r\n Erre2}>\r\n \r\n Portale contenente appunti e riassunti mantenuto da Lorenzo Balugani.\r\n
\r\n \r\n vezzalinistefano/Appunti-Algoritmi}>\r\n \r\n Appunti di Algoritmi e Strutture Dati mantenuti da Vezzalini Stefano.\r\n
\r\n \r\n \r\n \r\n )\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./pages/home.js","import style from './latex.css';\nimport { Component } from 'preact';\n\nexport default class Latex extends Component {\n\trender() {\n\t\tlet equation = `{\\\\color{White} ${this.props.children} }`;\n\t\treturn (\n\t\t\t);\n\t}\n}\n\n\n// WEBPACK FOOTER //\n// ./components/latex.js","import style from \"./plus.css\";\r\nimport { Component } from 'preact';\r\n\r\nexport default class Plus extends Component {\r\n\trender() {\r\n\t\treturn {this.props.children};\r\n\t}\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./components/plus.js","import style from \"./minus.css\";\r\nimport { Component } from 'preact';\r\n\r\nexport default class Minus extends Component {\r\n\trender() {\r\n\t\treturn {this.props.children};\r\n\t}\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./components/minus.js","import style from './fisica.css';\nimport { Component } from 'preact';\nimport Latex from '../components/latex';\nimport Panel from '../components/panel';\nimport Split from '../components/split';\nimport Plus from '../components/plus';\nimport Minus from '../components/minus';\nimport Todo from '../components/todo';\n\nconst r = String.raw;\n\nexport default class Fisica extends Component {\n\trender() {\n return (\n \n Fisica
\n \n \n \n Usa le regole base della trigonometria:\n
\n \n {r`\\vec{v} = \\vec{v}_x + \\vec{v}_y`} \n
\n \n {r`\\left | \\vec{v}_x \\right | = \\left | \\vec{v} \\right | \\sin \\alpha`} \n
\n \n {r`\\left | \\vec{v}_y \\right | = \\left | \\vec{v} \\right | \\cos \\alpha`} \n
\n \n \n \n Scomponi in componenti, poi sommali:\n
\n \n {r`\\vec{v} + \\vec{w} = (\\vec{v}_x + \\vec{w}_x) + (\\vec{v}_y + \\vec{w}_y)`} \n
\n \n Produce il vettore risultante dall'applicazione della regola del parallelogramma.\n
\n \n \n \n Alla fine è sempre una somma:\n
\n \n {r`\\vec{v} - \\vec{w} = (\\vec{v}_x - \\vec{w}_x) + (\\vec{v}_y - \\vec{w}_y)`} \n
\n \n Produce il vettore che parte da w e arriva a v .\n
\n \n \n \n Si chiama scalare perchè il risultato è uno scalare, non un vettore.\n
\n \n {r`\\vec{v} \\cdot \\vec{w} = \\left | \\vec{v} \\right | \\left | \\vec{w} \\right | \\cos \\alpha`} \n
\n \n Produce il modulo della proiezione di {r`\\vec{a}`} su {r`\\vec{b}`} .\n
\n \n \n \n Si chiama vettoriale perchè il risultato è un altro vettore.\n
\n \n {r`\\vec{c} = \\vec{a} \\times \\vec{b}`} \n {r`\\left | \\vec{c} \\right | = \\left | \\vec{a} \\right | \\cdot \\left | \\vec{b} \\right | \\cdot \\sin(\\alpha)`} \n - Regola della mano destra
\n
\n \n Non è commutativo!\n
\n \n \n \n \n \n Se un corpo puntiforme ha forza risultante nulla, allora la sua velocità non cambia.\n
\n \n {r`\\Sigma \\vec{F} = 0 \\Longleftrightarrow \\Delta v = 0`} \n
\n \n \n \n La forza risultante di un corpo è direttamente proporzionale alla sua accelerazione, e la costante di proporzionalità è la massa.\n
\n \n {r`\\Sigma \\vec{F} = m \\vec{a}`} \n
\n \n \n \n Due corpi esercitano forze uguali e opposte uno sull'altro. \n
\n \n {r`\\vec{F}_{21} = -\\vec{F}_{12}`} \n
\n \n \n \n \n \n Due corpi puntiformi si attirano uno verso l'altro con forza:\n
\n \n {r`\\left | \\vec{F} \\right | = G \\frac{m_1 m_2}{s^2}`} \n
\n \n G è la costante di gravitazione universale e vale:\n
\n \n {r`G = 6.67 \\cdot 10^{-11} \\frac{N m^2}{{kg}^2}`} \n
\n \n \n \n Se nel sistema di riferimento consideriamo la Terra ferma, allora un corpo è attratto verso la Terra con forza peso uguale a:\n
\n \n {r`\\left | \\vec{F} \\right | = g m`} \n
\n \n g è la costante di gravità della Terra, e vale:\n
\n \n {r`g = 9.81 \\frac{m}{s^2}`} \n
\n \n \n \n Per pianeti diversi dalla Terra vale la stessa regola:\n
\n \n {r`\\left | \\vec{F} \\right | = g m`} \n
\n \n L'unica differenza è che cambia la costante di gravità:\n
\n \n {r`g_{luna} = 1.62 \\frac{m}{s^2}`} \n
\n \n {r`g_{marte} = 3.71 \\frac{m}{s^2}`} \n
\n \n \n \n \n \n Si oppone alle forze applicate alla superficie di contatto.\n
\n \n Un libro appoggiato su un tavolo ha la forza di gravità che lo attira verso il terreno e la forza normale che lo trattiene dal cadere. \n
\n \n \n \n Impedisce a un corpo di muoversi se non viene spinto da una forza che supera una certa soglia:\n
\n \n {r`\\left | \\vec{F} \\right | \\leq \\mu_{s} \\left | \\vec{F}_{normale} \\right |`} \n
\n \n \n \n Rallenta i corpi che si stanno muovendo finchè essi non si fermano:\n
\n \n {r`\\left | \\vec{F} \\right | \\leq \\mu_{d} \\left | \\vec{F}_{normale} \\right |`} \n
\n \n \n \n E' forza trasmessa tra due estremi di una fune.\n
\n \n Può essere redirezionata per mezzo di carrucole.\n
\n \n \n \n Una molla cerca sempre di tornare alla sua posizione indeformata con forza:\n
\n \n {r`F = -k x`} \n
\n \n (E' negativa perchè la forza è opposta a quella applicata per deformarla.)\n
\n \n \n \n \n \n È un vettore che indica la posizione di un corpo rispetto a un'origine.\n
\n \n {r`\\Delta \\vec{s} = \\vec{s}(fine) - \\vec{s}(inizio)`} \n
\n \n \n \n È un vettore che misura la variazione di posizione nel tempo.\n
\n \n {r`\\vec{v} = \\frac{\\Delta \\vec{s}}{\\Delta t}`} \n
\n \n Se si considera un intervallo di tempo infinitesimale si dice velocità istantanea:\n
\n \n {r`\\vec{v} = \\lim_{\\Delta t \\to 0} \\frac{\\Delta \\vec{s}}{\\Delta t} = \\frac{d \\vec{s}}{dt}`} \n
\n \n \n \n È un vettore che misura la variazione di velocità nel tempo.\n
\n \n {r`\\vec{a} = \\frac{\\Delta \\vec{v}}{\\Delta t}`} \n
\n \n Se si considera un intervallo di tempo infinitesimale si dice accelerazione istantanea:\n
\n \n {r`\\vec{a} = \\lim_{\\Delta v \\to 0} \\frac{\\Delta \\vec{v}}{\\Delta t} = \\frac{d \\vec{v}}{d t} = \\frac{d^2 \\vec{s}}{d t^2}`} \n
\n \n Quantità di moto (momento lineare)}>\n \n La quantità di moto è una proprietà vettoriale dei corpi:\n
\n \n {r`\\vec{p} = m \\vec{v}`} \n
\n \n Se la forza risultante è nulla, la quantità di moto non cambia.\n
\n \n {r`\\Sigma \\vec{F} = 0 \\Longleftrightarrow \\Delta \\vec{p} = 0`} \n
\n \n \n \n \n \n La legge oraria è:\n
\n \n {r`s(t) = v \\cdot \\Delta t + s(0)`} \n
\n \n \n \n È costante:\n
\n \n {r`v(t) = k`} \n
\n \n \n \n La velocità non varia:\n
\n \n {r`a(t) = 0`} \n
\n \n \n \n Si applica la prima legge di Newton:\n
\n \n f(t) = 0 \n
\n \n \n \n \n \n La legge oraria è:\n
\n \n {r`s(t) = \\frac{1}{2} a \\cdot (\\Delta t)^2 + v(0) \\cdot (\\Delta t) + s(0)`} \n
\n \n \n \n È una retta:\n
\n \n {r`v(t) = a \\Delta t + v(0)`} \n
\n \n \n \n È costante:\n
\n \n {r`a(t) = k`} \n
\n \n \n \n Si applica la prima legge di Newton:\n
\n \n f(t) = m a \n
\n \n \n \n \n \n E' la distanza dal centro massima che raggiunge il corpo.\n
\n \n (L'ampiezza di una sinusoide.)\n
\n \n \n \n Indica quanto in fretta cambia la posizione del corpo. \n
\n \n Dipende dal periodo:\n
\n \n {r`\\omega = \\frac{2 \\pi}{T}`} \n
\n \n \n \n E' una sinusoide:\n
\n \n {r`s(t) = A \\sin (\\omega \\cdot t + \\phi)`} \n
\n \n \n \n E' la sinusoide dello spostamento, sfasata di {r`\\frac{\\pi}{2}`} :\n
\n \n {r`v(t) = A \\sin (\\omega \\cdot t + \\phi + \\frac{\\pi}{2})`} \n
\n \n \n \n E' la sinusoide della velocità, sfasata di {r`\\pi`} :\n
\n \n {r`a(t) = A \\sin (\\omega \\cdot t + \\phi + \\pi)`} \n
\n \n \n \n Si applica la prima legge di Newton:\n
\n \n f(t) = m a \n
\n \n \n \n \n \n Il moto parabolico è dato sommando un moto rettilineo uniforme sull'asse orizzontale e un moto rettilineo uniformemente accelerato sull'asse verticale.\n
\n \n \n \n Il moto parabolico è dato sommando due moti armonici semplici: uno sull'asse X, e l'altro, sfasato di {r`\\frac{\\pi}{2}`} , sull'asse Y.\n
\n \n \n \n \n \n Velocità angolare\n
\n \n Quanto cambia la fase nel tempo.\n
\n \n {r`\\omega = \\frac{2 \\pi}{T}`} \n
\n \n \n \n E' l'angolo percorso dal corpo rispetto alla posizione iniziale.\n
\n \n Si indica con {r`\\phi`} , e generalmente si usa in radianti.\n
\n \n \n \n Si applicano le formule per la circonferenza:\n
\n \n {r`v = \\frac{\\Delta s}{t} = \\frac{2 \\pi \\cdot r}{T} = \\omega r`} \n
\n \n \n \n Il corpo ha sempre un accelerazione verso il centro che gli impedisce di abbandonare il moto: \n
\n \n {r`a = \\frac{v^2}{r} = r \\cdot \\omega^2 = v \\cdot \\omega`} \n
\n \n \n \n È verso il centro e si calcola con:\n
\n \n {r`F = m \\cdot a`} \n
\n \n \n \n \n \n E' compiuto da una forza che sposta un corpo.\n
\n \n {r`W = \\vec{F} \\cdot \\vec{s} = F \\cdot \\Delta s \\cdot cos(\\alpha )`} \n
\n \n (Se la forza non è parallela allo spostamento, il prodotto scalare ci fa considerare solo la componente parallela.)\n
\n \n \n \n Un corpo ha energia cinetica in ogni momento uguale a:\n
\n \n {r`E_c = \\frac{1}{2} m v^2`} \n
\n \n Se una forza effettua lavoro su un corpo, cambia la sua energia cinetica pari al lavoro effettuato:\n
\n \n {r`\\Delta E_c = W`} \n
\n \n \n \n Un corpo ha energia potenziale in ogni momento pari a: \n
\n \n {r`E_{p_g} = m \\cdot g \\cdot h`} \n
\n \n (Con h uguale a un altezza scelta come punto di riferimento.)\n
\n \n \n \n Una molla ha sempre energia potenziale elastica pari a:\n
\n \n {r`E_{p_e} = \\frac{1}{2} k x^2`} \n
\n \n \n \n Sono conservative le forze per le quali il lavoro compiuto non dipende dal percorso seguito per andare dalla partenza all'arrivo.\n
\n \n Ad esempio, è conservativa la forza di gravità, ma non è conservativa la forza di attrito.\n
\n \n Se in un sistema ci sono solo forze conservative, allora l'energia meccanica totale si conserva:\n
\n \n {r`E = E_k + E_p`} \n
\n \n \n \n È la velocità di trasferimento di energia:\n
\n \n {r`P = \\frac{\\Delta E}{\\Delta t}`} \n
\n \n \n \n \n \n È una proprietà dei corpi che può essere positiva o negativa .\n
\n \n Si conserva: in un sistema chiuso la carica totale è costante.\n
\n \n Esiste un'unità elementare: {r`C_{elettrone} = 1.602 \\cdot 10^{-19}`} .\n
\n \n Cariche opp oste si attraggono; cariche uguali si respingono.\n
\n \n \n \n Più ioni ha un corpo, meglio la carica si muove attraverso di esso.\n
\n \n I corpi in cui la carica si muove bene sono conduttori, mentre quelli in cui si muove difficilmente sono isolanti.\n
\n \n Il corpo umano è un buon conduttore.\n
\n \n \n \n \n \n E' possibile polarizzare un corpo per accumulare la carica di un segno in una certa zona.\n
\n \n \n \n \n \n Se un corpo conduttore è in contatto con la Terra, le cariche su di esso saranno equilibrate e il corpo diventerà elettricamente neutro (con stesso numero di cariche positive e negative all'interno).\n
\n \n \n \n \n \n Strofinando tra loro due corpi isolanti, essi si polarizzeranno per strofinio.\n
\n \n \n \n Toccando un conduttore con un corpo carico, il conduttore potrà polarizzarsi per contatto.\n
\n \n \n \n Se un corpo conduttore ha cariche \"esterne\" di un certo segno vicino, esso avrà tutte le cariche del segno opposto in equilibrio vicino alle cariche esterne, e tutte le cariche dello stesso segno più lontano possibile da esse.\n
\n \n Mettendo a terra il conduttore, nuove cariche del segno opposto saranno attratte all'interno del corpo per equilibrare le cariche che si sono allontanate.\n
\n \n Staccando il conduttore da terra e rimuovendo le cariche esterne, esso si ritroverà caricato del segno opposto rispetto alle cariche esterne.\n
\n \n \n \n \n \n Due corpi carichi si attraggono tra loro con forza: \n
\n \n {r`\\left | \\vec{F}_{elettrica} \\right | = \\frac{-k \\cdot q_1 \\cdot q_2}{s^2}`} \n
\n \n {r`k`} è la costante di Coulomb, e vale {r`k = 8.99 \\cdot 10^9 \\frac{N \\cdot m^2}{C^2}`} .\n
\n \n \n \n La costante {r`k`} è in realtà dipendente da un altra costante, {r`\\epsilon_0`} , la permeabilità del vuoto.\n
\n \n {r`k = \\frac{1}{4 \\pi \\cdot \\epsilon_0}`} \n
\n \n {r`\\left | \\vec{F}_{elettrica} \\right | = \\frac{q_1 \\cdot q_2}{4 \\pi \\cdot \\epsilon_0 \\cdot s^2}`} \n
\n \n \n \n Misura che forza viene applicata in ogni punto su una carica unitaria:\n
\n \n {r`\\vec{E} = \\frac{\\vec{F}_{elettrica}}{q} = \\frac{-k \\cdot q}{s^2}`} \n
\n \n \n \n È la differenza tra \"quanto\" campo elettrico entra e quanto campo elettrico esce da una certa area.\n
\n \n In qualsiasi superficie chiusa, il flusso elettrico è uguale alla componente perpendicolare del campo elettrico moltiplicato per l'area.\n
\n \n {r`\\Phi_E = \\vec{E} \\cdot \\vec{A}`} \n
\n \n Se il campo elettrico è uniforme, se ne può calcolare facilmente il valore:\n
\n \n {r`\\Phi_E = \\vec{E} \\cdot \\vec{A} = E_\\perp \\cdot A \\cdot \\cos(\\alpha)`} \n
\n \n Circa. E' una specie di integrale... \n
\n \n \n \n Il flusso elettrico è direttamente proporzionale alla carica presente all'interno della superficie.\n
\n \n {r`\\Phi_E = 4 \\pi \\cdot k \\cdot q = \\frac{q}{\\epsilon_0}`} \n
\n \n Ovvero, i campi elettrostatici sono generati dalle cariche elettriche.\n
\n \n \n \n \n \n Un corpo carico vicino ad altre cariche possiede un'energia potenziale elettrica {r`U_e`} .\n
\n \n \n \n Potenziale elettrico (tensione)}>\n \n È il valore dell'energia potenziale elettrica per una carica unitaria.\n
\n \n {r`V = \\frac{U_e}{q}`} \n
\n \n La sua unità di misura è il Volt ({r`V`} ).\n
\n \n In una batteria è detto forza elettromotrice, e corrisponde al lavoro compiuto da una batteria ideale per spostare una carica unitaria tra i due poli.\n
\n \n Corrente elettrica (intensità)}>\n \n Quanta carica passa attraverso un'area (perpendicolare al flusso) nel tempo.\n
\n \n {r`I = \\frac{\\Delta q}{\\Delta t}`} \n
\n \n Fintanto che c'è differenza di potenziale, ci sarà anche intensità non nulla.\n
\n \n La sua unità di misura è l'Ampere ({r`A`} ).\n
\n \n Corrente continua (DC)}>\n \n Quando in un circuito la direzione della corrente è costante.\n
\n \n Corrente alternata (AC)}>\n \n Quando in un circuito la direzione della corrente si alterna periodicamente.\n
\n \n \n \n Possiamo calcolare la potenza di un circuito:\n
\n \n {r`P = \\frac{\\Delta U_e}{\\Delta t} = I \\cdot \\Delta V = I^2 \\cdot R = \\frac{(\\Delta V)^2}{R}`} \n
\n \n \n \n \n \n Riduce l'intensità di corrente, e converte parte del potenziale in calore.\n
\n \n Il potenziale utilizzato è pari a:\n
\n \n {r`V = R \\cdot I`} \n
\n \n Dove {r`R`} è una costante detta resistenza con unità di misura Ohm ({r`\\Omega`} ).\n
\n \n La resistenza di un conduttore vale:\n
\n \n {r`R = \\rho \\frac{L_{unghezza}}{A_{rea}}`} \n
\n \n {r`\\rho`} è la resistività del materiale, e varia in base alla temperatura:\n
\n \n {r`\\rho = \\rho_0 (1 + \\alpha(T - T_0))`} \n
\n \n \n \n Immagazzina potenziale elettrico, permettendo di riutilizzarla in seguito.\n
\n \n Per farlo, cattura cariche positive e negative sulle sue due armature; perchè questo avvenga, deve essere compiuto lavoro.\n
\n \n Ha una capacità caratteristica, che in un condensatore a facce piane parallele è:\n
\n \n {r`C = \\frac{q_{massima}}{\\Delta V}`} \n
\n \n Condensatori di capacità maggiore immagazzinano più potenziale con meno carica.\n
\n \n La capacità aumenta se viene messo qualcosa tra le armature:\n
\n \n {r`C_{nuova} = \\kappa \\cdot \\frac{\\epsilon_0 \\cdot A}{s}`} \n
\n \n Dove {r`\\kappa`} è la costante dielettrica relativa del materiale inserito, {r`A`} l'area di una armatura e {r`s`} la distanza tra le due armature.\n
\n \n Se il campo elettrico creatosi tra le due armature supera la rigidità dielettrica del condensatore, la carica immagazzinata viene persa e ha luogo un breakdown.\n
\n \n La sua unità di misura è il Farad ({r`Fa`} )\n
\n \n \n \n Misura la corrente elettrica se messo in serie.\n
\n \n (Funzionamento: ha una resistenza interna bassisima in modo da non influire significativamente sulla corrente.)\n
\n \n \n \n Misura la differenza di potenziale se messo in parallelo.\n
\n \n (Funzionamento: ha una resistenza altissima in modo da non influire significativamente sulla tensione.)\n
\n \n \n \n \n \n Per nodo si intende un qualsiasi punto del circuito.\n
\n \n Da un nodo entra ed esce la stessa corrente.\n
\n \n \n \n Per maglia si intende un qualsiasi percorso chiuso all'interno del circuito.\n
\n \n In una maglia chiusa, la somma delle differenze di potenziale è 0.\n
\n \n \n \n \n \n Più parti di circuito sono in serie se sono consecutive e senza biforcazioni.\n
\n \n Parti di circuito in serie sono attraversate dalla stessa corrente.\n
\n \n \n \n Più parti di circuito sono in parallelo tra loro se hanno lo stesso punto di partenza e lo stesso punto di arrivo. \n
\n \n Parti di circuito in parallelo hanno la stessa differenza di potenziale.\n
\n \n \n \n \n \n Nei circuiti in serie, tutte le resistenze possono essere sostituite con una equivalente dalla resistenza della somma di tutte le quelle sostituite:\n
\n \n {r`R_{serie} = \\sum_{i=1}^{n} R_i`} \n
\n \n \n \n Nei circuiti in parallelo, tutte le resistenze possono essere sostituite con una equivalente dalla resistenza di:\n
\n \n {r`R_{parallelo} = \\frac{1}{\\sum_{i=1}^{n} \\frac{1}{R_i}}`} \n
\n \n \n \n \n \n Nei circuiti in serie, tutti i condensatori possono essere sostituiti con uno equivalente dalla capacità di:\n
\n \n {r`C_{serie} = \\frac{1}{\\sum_{i=1}^{n} \\frac{1}{C_i}}`} \n
\n \n \n \n Nei circuiti in parallelo, tutte i condensatori possono essere sostituite con uno equivalente dalla capacità della somma di tutti quelli sostituiti:\n
\n \n {r`C_{parallelo} = \\sum_{i=1}^{n} C_n`} \n
\n \n \n \n \n \n E' una costante fisica fondamentale che rappresenta quanto un materiale si magnetizza facilmente.\n
\n \n {r`\\mu_0 = 4 \\pi \\cdot 10^{-7} \\frac{H}{m}`} ({r`\\frac{N}{A^2}`} )\n
\n \n \n \n Come un campo elettrico, ma per i magneti.\n
\n \n Il suo simbolo è {r`B`} , e la sua unità di misura è il Tesla (T ).\n
\n \n \n \n È \"quanto\" campo magnetico attraversa un percorso chiuso.\n
\n \n Per qualsiasi percorso chiuso, il flusso magnetico è uguale alla somma di tutti i \"sottoflussi\" magnetici calcolati sui suoi lati.\n
\n \n {r`\\Phi_{B_{i}} = \\vec{B} \\cdot \\vec{L}_n = B \\cdot L_i \\cdot \\sin(\\alpha) = B_\\parallel \\cdot L_i`} \n
\n \n {r`\\Phi_{B} = \\sum_{i=0}^{n_{lati}} \\Phi_{Bn}`} \n
\n \n La sua unità di misura è il Weber ({r`Wb = T \\cdot m^2`} ).\n
\n \n \n \n Il flusso magnetico attraverso qualsiasi superficie chiusa è sempre nullo.\n
\n \n Ovvero, non esistono monopoli magnetici.\n
\n \n \n \n L'intensità di corrente che attraversa un percorso chiuso è direttamente proporzionale al flusso magnetico dello stesso percorso.\n
\n \n {r`\\Phi_B = \\mu_0 \\cdot I`} \n
\n \n \n \n Forza magnetica su carica puntiforme (Forza di Lorentz)}>\n \n I campi magnetici applicano una forza sulle cariche vicine:\n
\n \n {r`\\vec{F}_{B} = q \\cdot (\\vec{v} \\times \\vec{B})`} \n
\n \n Dove {r`\\vec{B}`} è l'intensità del campo magnetico e {r`\\vec{v}`} la velocità della carica considerata.\n
\n \n Si ha una forza massima se la velocità è perpendicolare al campo magnetico.\n
\n \n In un campo magnetico uniforme, una velocità perpendicolare al campo porta alla creazione di un moto circolare uniforme.\n
\n \n \n \n I campi magnetici influenzano ovviamente anche le cariche presenti in un conduttore:\n
\n \n {r`\\vec{F}_{magnetica} = I \\cdot (\\vec{L} \\times \\vec{B})`} [1]\n
\n \n Dove {r`I`} è la corrente elettrica, {r`\\vec{L}`} è un vettore che punta nella direzione di scorrimento della corrente e ha come modulo la lunghezza del conduttore.\n
\n \n \n \n \n \n Una spira in cui passa corrente produce un campo magnetico perpendicolare al piano creato dalla spira.\n
\n \n \n \n Un solenoide sono tante spire avvolte in modo da formare una specie di cilindro.\n
\n \n All'interno del solenoide si crea un campo (quasi) uniforme:\n
\n \n {r`\\left | \\vec{B} \\right | = \\mu_0 \\cdot I \\cdot \\frac{A_{vvolgimenti}}{L_{unghezzafilo}}`} \n
\n \n \n \n Caso particolare della Legge di Ampère.\n
\n \n Il modulo del campo magnetico B prodotto da un filo in cui passa una corrente continua I alla distanza s è:\n
\n \n {r`\\left | \\vec{B} \\right | = \\frac{\\mu \\cdot I}{2 \\pi r}`} \n
\n \n Il campo magnetico così creato gira attorno al filo in senso antiorario.\n
\n \n Due fili attraversati dalla stessa corrente si attraggono, due fili attraversati da corr enti opp oste si respingono.\n
\n \n \n \n \n \n Un conduttore perpendicolare ad un campo magnetico può ottenere una differenza di potenziale se messo in movimento in un direzione perpendicolare alla direzione del conduttore e del campo. \n
\n \n La differenza di potenziale si crea a causa della forza magnetica, che fa spostare tutti gli elettroni verso un capo del conduttore. \n
\n \n Essa vale:\n
\n \n {r`\\Delta V_{indotta} = v \\cdot B \\cdot L`} \n
\n \n Dove v è la velocità del conduttore, B è l'intensità del campo magnetico ed L è la lunghezza del conduttore.\n
\n \n \n \n In un campo magnetico {r`B`} uniforme e perpendicolare al piano di una spira di area {r`A`} , il flusso magnetico si può determinare con la Legge di Faraday-Neumann-Lenz:\n
\n \n {r`\\Phi_B = \\vec{B} \\cdot \\vec{A} = B \\cdot A \\cdot \\cos(\\alpha)`} \n
\n \n \n \n \n \n Dice che la forza elettromotrice media indotta in un percorso dipende dalla variazione nel tempo del flusso magnetico nello stesso percorso.\n
\n \n {r`\\Delta V_{indotta} = - \\frac{\\Delta \\Phi_B}{\\Delta t}`} \n
\n \n Il meno è dovuto alla Legge di Lenz, che specifica qualitativamente il verso della forza elettromotrice indotta.\n
\n \n \n \n In un solenoide, la forza elettromotrice indotta è uguale a:\n
\n \n {r`\\Delta V_{indotta} = - \\frac{N \\cdot \\Delta \\Phi_{B_{spira}}}{\\Delta t} = - \\frac{N \\cdot B \\cdot A \\cdot cos(\\alpha)}{\\Delta t}`} \n
\n \n Dove {r`N`} è il numero delle spire del solenoide.\n
\n \n \n \n Correnti o campi elettrici variabili creano un campo magnetico.\n
\n \n \n \n \n \n Nel vuoto, il campo elettrico {r`E`} e il campo magnetico {r`B`} sono perpendicolari tra loro e la direzione di propagazione, e sono entrambe funzioni del tempo.\n
\n \n Si dice quindi che sono onde elettromagnetiche.\n
\n \n Esse sono legate dalla relazione:\n
\n \n {r`E = c \\cdot B`} \n
\n \n Dove {r`c`} è la velocità delle onde (luce) nel vuoto, e a sua volta è uguale a:\n
\n \n {r`c = \\frac{1}{\\sqrt{\\epsilon_0 \\cdot \\mu_0}} = 3.00 \\cdot 10^8 \\frac{m}{s}`} \n
\n \n \n \n {r`A(t) = A_{max} \\cdot \\sin \\left ( \\frac{2 \\pi}{\\lambda} - \\omega t + \\phi \\right )`} \n
\n \n Dove {r`A_{max}`} è l'ampiezza massima che può avere l'onda, {r`\\frac{2 \\pi}{\\lambda} = \\left | \\vec{k} \\right |`} è il vettore d'onda, {r`\\omega`} la frequenza angolare e {r`\\phi`} la fase.\n
\n \n \n \n \n \n I solidi, se portati ad alta temperatura, emettono luce con uno spettro continuo.\n
\n \n I gas, invece, ad alta temperatura emettono luce solo con particolari lunghezze d'onda. \n
\n \n In un gas di idrogeno, le lunghezze d'onda emesse sono ricavabili con:\n
\n \n {r`\\frac{1}{\\lambda} = R \\left ( \\frac{1}{4} - \\frac{1}{n^2} \\right )`} \n
\n \n Con {r`R = 1.097 \\cdot 10^7 \\frac{1}{m}`} , detta costante di Rydberg, e {r`n`} un numero intero.\n
\n \n \n \n Una grandezza si dice quantizzata (o discreta) se può assumere solo determinati valori. \n
\n \n Una grandezza si dice continua se può assumere qualsiasi valore e quindi se non è quantizzata.\n
\n \n Energia, momento angolare e raggio sono quantizzati.\n
\n \n Nota costante quantica è {r`h`} , la costante di Planck, ovvero il valore minimo possibile per la carica (talvolta espressa come {r`\\hbar = \\left ( \\frac{h}{2 \\pi} \\right )`} .\n
\n \n \n \n \n \n L'energia degli elettroni è quantizzata.\n
\n \n Inoltre, per essi è valido che:\n
\n \n {r`m \\cdot v_n \\cdot 2 \\pi \\cdot r = n \\cdot h`} \n
\n \n Ancora, il raggio delle orbite è uguale a:\n
\n \n {r`r_n = n^2 \\cdot a_0 = n^2 \\cdot \\frac{\\hbar}{m_{elettrone} \\cdot k \\cdot e^2} `} \n
\n \n Con {r`a_0 = \\left ( \\frac{h}{2 \\pi} \\right )^2 \\cdot \\frac{1}{m_{elettrone} \\cdot k \\cdot e^2} = 5.29 \\cdot 10^{-11} m`} .\n
\n \n Infine, in ogni stato, l'energia è pari a:\n
\n \n {r`E_n = \\frac{1}{n^2} \\cdot E_1 = - \\frac{1}{n^2} \\cdot \\frac{a_0^2}{2 \\cdot m \\cdot \\hbar^4} = - \\frac{1}{n^2} \\cdot \\frac{m_{elettrone} \\cdot k^2 \\cdot e^4}{2 \\cdot \\hbar^2}`} \n
\n \n Due elettroni non possono occupare lo stesso stato.\n
\n \n Questo modello funziona solo per atomi con numero atomico basso. Atomi con molti elettroni hanno comportamenti diversi, descritti dal modello di\n
\n \n \n \n \n \n Nei solidi, le lunghezze d'onda sono talmente tanto vicine da poter essere considerate una banda.\n
\n \n Possono però comunque avere dei gap dovuti agli intervalli di energia non ammessi.\n
\n \n \n \n \n \n Refactor this \n
\n \n Se la banda di emissione con energia più alta di un corpo è assente o è separata da un gap dell'ordine di grandezza maggiore di {r`10^1 eV`} , allora il corpo è un isolante.\n
\n \n Se invece la banda di emissione si sovrappone a un altra, allora il corpo è un conduttore.\n
\n \n Se il gap è invece dell'ordine di grandezza di {r`1 eV`} , allora il corpo è un semiconduttore.\n
\n \n \n \n Legami in cui mancano elettroni .\n
\n \n Elettroni di altri legami possono spostarsi per colmare le lacune , creandone altre, e spostandole in direzione opposta a quella della corrente.\n
\n \n \n \n Se si inserisce in un cristallo semiconduttore si inserisce un atomo con numero atomico diverso, si otterrà:\n
\n \n - Con numero atomico maggiore, un semiconduttore di
tipo N con elettroni in eccesso liberi di scorrere. \n - Con numero atomico minore, un semiconduttore di
tipo P con lacune in eccesso libere di catturare elettroni da altri legami. \n
\n \n Maggiore impurezza porta a maggiore conduttività.\n
\n \n \n \n Aumentando la temperatura di un semiconduttore si aumenta la conduttività, perchè eccita le particelle e favorisce il movimento di elettroni e lacune .\n
\n \n \n Ottica (non l'abbiamo fatta)}>\n \n \n I corpi possono assorbire o riflettere le onde elettromagnetiche che li colpiscono.\n
\n \n \n \n Un corpo nero è un corpo che assorbe tutte le onde elettromagnetiche che riceve senza rifletterne nessuna.\n
\n \n Le onde assorbite vengono poi riemesse sotto forma di un onda di {r`\\lambda`} variabile in base alla temperatura.\n
\n \n {r`\\lambda_{max} \\cdot T`} è costante.\n
\n \n \n \n L'energia assorbita e emessa dai corpi neri è quantizzata.\n
\n \n \n \n Un onda magnetica con un quanto di energia è detta fotone:\n
\n \n {r`E_{fotone} = h \\cdot f`} \n
\n \n \n \n A volte, i fotoni che colpiscono un metallo possono estrarvi degli elettroni e creare una differenza di potenziale.\n
\n \n Perchè avvenga, la frequenza deve essere maggiore di una certa soglia.\n
\n \n Il numero di elettroni estratti dipende dall'intensità dell'onda, mentre l'energia cinetica degli elettroni dipende dalla frequenza.\n
\n \n Non c'è nessun ritardo tra l'assorbimento del fotone e l'estrazione di elettroni.\n
\n \n \n \n )\n\t}\n}\n\n\n// WEBPACK FOOTER //\n// ./pages/fisica.js","import style from \"./markdown.css\";\nimport { Component } from 'preact';\nimport showdown from \"showdown\";\n\nexport default class Markdown extends Component {\n\trender() {\n let converter = new showdown.Converter();\n converter.setFlavor(\"github\");\n let html = converter.makeHtml(`${this.props.children}`);\n // noinspection CheckTagEmptyBody\n return ;\n\t}\n}\n\n\n\n// WEBPACK FOOTER //\n// ./components/markdown.js","import style from './vldigeometria.css';\r\nimport { Component } from 'preact';\r\nimport Markdown from '../components/markdown';\r\nimport Panel from '../components/panel';\r\n\r\nconst r = String.raw;\r\n\r\nexport default class VlDiGeometria extends Component {\r\n\trender() {\r\n\t\t//Imported from unimore-info-wiki\r\n\t\treturn (\r\n\t\t\t\r\n Videolezioni di Geometria
\r\n \r\n {r`\r\nTutte le videolezioni sono state pubblicate sotto licenza [CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/) dalla Prof.ssa Beatrice Ruini nell'anno accademico 2018/2019 sul [portale Dolly 2018](https://dolly.fim.unimore.it/2018/course/view.php?id=14#section-0) (Moodle).\r\n\r\nPer comodità, ho estratto l'url sorgente del video dall'embed presente nella rispettiva pagina.\r\n\r\n1. [Definizione di Spazio Vettoriale](https://www.youtube.com/watch?v=7eHEzf4403c) (1:17:29)\r\n2. [Sottospazi vettoriali I](https://www.youtube.com/watch?v=FPqrULk5HBU) (37:15)\r\n3. [Sottospazi vettoriali II](https://www.youtube.com/watch?v=ubDWUw9hk0k) (43:26)\r\n4. [Sottospazi vettoriali III](https://www.youtube.com/watch?v=381n4NPb6Oc) (40:29)\r\n5. [Lineare dipendenza e indipendenza](https://www.youtube.com/watch?v=9YVQ5olYrh0) (56:12)\r\n6. [Basi di uno spazio vettoriale I](https://www.youtube.com/watch?v=mEF_lcTzEoE) (25:52)\r\n7. [Basi di uno spazio vettoriale II](https://www.youtube.com/watch?v=k1r9JfXY53k) (48:24)\r\n8. [Teorema di Grassmann](https://www.youtube.com/watch?v=3sqB-MMyCWM) (32:36)\r\n9. [Basi e Matrici](https://www.youtube.com/watch?v=Rd6AB_jE7YI) (27:06)\r\n10. [Definizione di Applicazioni Lineari](https://www.youtube.com/watch?v=rmd7ffZeVYk) (16:23)\r\n11. [Proprietà delle Applicazioni Lineari](https://www.youtube.com/watch?v=MH7ztQGkqmw) (31:58)\r\n12. [Definizione di determinante](https://www.youtube.com/watch?v=EwubcLwBdzk) (36:43)\r\n13. [Proprietà e metodo di triangolazione](https://www.youtube.com/watch?v=SFusGarV6HI) (22:36)\r\n14. [Teorema di Laplace](https://www.youtube.com/watch?v=BqZDWnKl2nQ) (29:03)\r\n15. [4 applicazioni del Teorema di Laplace](https://www.youtube.com/watch?v=2tr3y725GY0) (47:53)\r\n16. [Spazi vettoriali euclidei reali - Parte 1](https://www.youtube.com/watch?v=W7Z1hm-jwMM) (28:46)\r\n17. [Spazi vettoriali euclidei reali - Parte 2](https://www.youtube.com/watch?v=zjmKE9TMGm8) (27:17)\r\n18. [Autovalori e autovettori](https://www.youtube.com/watch?v=XlrlcnvcTtQ) (33:00)\r\n19. [Polinomio caratteristico](https://www.youtube.com/watch?v=61icRbgWTdI) (31:31)\r\n20. [Teorema diagonalizzabilità](https://www.youtube.com/watch?v=wm5V6en9OFo) (18:49)\r\n21. [Spazi affini](https://player.vimeo.com/video/291457587) (20:46)\r\n22. [Sottospazi affini](https://player.vimeo.com/video/291458991) (21:32)\r\n23. [Parallelismo e Riferimenti Affini](https://player.vimeo.com/video/291510181) (16:57)\r\n24. [Rappresentazione di Sottospazi Affini](https://player.vimeo.com/video/291510296) (31:17)\r\n25. [Spazi Euclidei](https://player.vimeo.com/video/291510612) (35:57)\r\n26. [Teoria dei ranghi](https://player.vimeo.com/video/291510964) (9:44)\r\n27. [Teoria dei ranghi 2](https://player.vimeo.com/video/291510862) (14:44)\r\n\r\nNell'anno accademico 2018/2019 non sono stati trattati gli argomenti nei video 21, 22 e 23.\r\n `} \r\n \r\n\t\t\t\r\n\t\t);\r\n\t}\r\n}\r\n\r\n\n\n\n// WEBPACK FOOTER //\n// ./pages/vldigeometria.js","import style from './mingwinstall.css';\r\nimport { Component } from 'preact';\r\nimport Panel from '../components/panel';\r\n\r\nexport default class MingwInstall extends Component {\r\n\trender() {\r\n\t\t//Imported from unimore-info-wiki\r\n\t\treturn (\r\n\t\t\t\r\n Come installare MinGW
\r\n \r\n\t\t\t\t\t Scaricate l'installer ufficiale,\r\n\t\t\t\t\t\ted eseguitelo.
\r\n\t\t\t\t\t Dovrebbe comparire questa schermata. Cliccate su Install
, poi scegliete una cartella di installazione\r\n\t\t\t\t\t\t(ricordatevela!) e poi Continue
. Lasciate stare le altre opzioni, dovrebbero essere tutte spuntate,\r\n\t\t\t\t\t\ttranne For all users
, che dovrebbe essere disattivato.
\r\n\t\t\t\t\t Aspettate che finisca il download. Pochi secondi dopo, dovrebbe finire e dovrebbe apparire un tasto\r\n\t\t\t\t\t\tContinue
. Premetelo.
\r\n\t\t\t\t\t Dovrebbe apparirvi questa finestra. L'installer di MinGW è una specie di gestore pacchetti (tipo apt
su\r\n\t\t\t\t\t\tUbuntu); potete scegliere quali pacchetti installare, e quindi quali funzionalità.
\r\n\t\t\t\t\t Nel nostro caso, dovrebbero servirci mingw32-base-bin
(per il C e alcune librerie C++) e\r\n\t\t\t\t\t\tmingw32-gcc-g++-bin
(per il C++). Cliccate, quindi, sui due quadratini corrispondenti, e premete\r\n\t\t\t\t\t\tMark for Installation
. Dovrebbe comparire una freccia gialla sul quadratino.
\r\n\t\t\t\t\t Ora, è il momento di installare i pacchetti. Aprite il menù Installation
, poi premete\r\n\t\t\t\t\t\tApply Changes
, e di nuovo Apply
.
\r\n\t\t\t\t\t Lasciate che scarichi, ci vorrà un po'. Guardatevi un video nel frattempo, fatevi una partitina a qualcosa, tornate\r\n\t\t\t\t\t\tdopo circa 10 minuti.
\r\n\t\t\t\t\t Una volta installato, dobbiamo aggiungere g++
ai programmi eseguibili da Prompt dei Comandi: premete il\r\n\t\t\t\t\t\ttasto Windows, e scrivete PATH
. Windows dovrebbe trovarvi automaticamente quell'opzione.
\r\n\t\t\t\t\t\r\n\t\t\t\t\t Dentro la finestra di Proprietà del Sistema, premete Variabili d'ambiente
.
\r\n\t\t\t\t\t Trovate la variabile d'ambiente globale Path
, e fateci doppio click per modificarla.
\r\n\t\t\t\t\t Ora dovreste vedere l'elenco di tutte le cartelle contenenti programmi eseguibili da terminale: dobbiamo aggiungere\r\n\t\t\t\t\t\tquella di MinGW! Premete Sfoglia
.
\r\n\t\t\t\t\t Trovate la cartella in cui avete installato MinGW (vi avevo detto di ricordarvela!); entrateci, poi selezionate la\r\n\t\t\t\t\t\tsottocartella bin
e premete OK
su tutte le finestre che avete aperto fino ad ora,\r\n\t\t\t\t\t\tchiudendole.
\r\n\t\t\t\t\t Complimenti! Avete installato MinGW e potete compilare programmi C e C++ da Windows! Avete a disposizione\r\n\t\t\t\t\t\tgcc
e g++
sul Prompt dei Comandi, e potete finalmente creare dei file .exe!
\r\n\t\t\t\t \r\n\t\t\t\r\n\t\t);\r\n\t}\r\n}\r\n\r\n\n\n\n// WEBPACK FOOTER //\n// ./pages/mingwinstall.js","import style from './copyright.css';\r\nimport { Component } from 'preact';\r\n\r\nexport default class Copyright extends Component {\r\n\trender() {\r\n\t\treturn © 2019 - Stefano Pigozzi - CC BY-SA 4.0 - Codice sorgente;\r\n\t}\r\n}\n\n\n// WEBPACK FOOTER //\n// ./components/copyright.js","import style from './statistica.css';\r\nimport { Component } from 'preact';\r\nimport Latex from '../components/latex';\r\nimport Panel from '../components/panel';\r\nimport Split from '../components/split';\r\nimport Plus from '../components/plus';\r\nimport Minus from '../components/minus';\r\nimport Todo from '../components/todo';\r\n\r\nconst r = String.raw;\r\n\r\nexport default class Statistica extends Component {\r\n\trender() {\r\n return (\r\n \r\n Statistica ed Elementi di Probabilità
\r\n \r\n \r\n \r\n Gruppo intero di oggetti di cui si cercano informazioni.\r\n
\r\n \r\n \r\n \r\n Popolazione finita di oggetti concreti che possono essere campionati ciascuno solo una volta.\r\n
\r\n \r\n \r\n \r\n Popolazione di valori ottenuti da prove sperimentali indipendenti ripetute più volte.\r\n
\r\n \r\n \r\n \r\n \r\n \r\n Sottoinsieme della popolazione che contiene gli oggetti che si sono osservati.\r\n
\r\n \r\n Simple random sample}>\r\n \r\n Campione di una data dimensione in cui qualsiasi selezione di n elementi ha la stessa probabilità di costituire il campione.\r\n
\r\n \r\n Sample of convenience}>\r\n \r\n Campione ottenuto in un modo casuale non ben definito.\r\n
\r\n \r\n Sample with replacement}>\r\n \r\n Campione ottenuto sostituendo nella popolazione gli elementi estratti con dei nuovi elementi.\r\n
\r\n \r\n Dire che un campione è ottenuto with replacement è equivalente a dire che la popolazione che si sta campionando è infinita, e quindi che tutti gli elementi sono indipendenti.\r\n
\r\n \r\n \r\n \r\n Campione ottenuto da una popolazione in cui certi elementi hanno più probabilità di essere stati selezionati di altri.\r\n
\r\n \r\n Stratified random sample}>\r\n \r\n Campione ottenuto da un sottoinsieme della popolazione detto strato.\r\n
\r\n \r\n Cluster sample}>\r\n \r\n Campione ottenuto selezionando più cluster di elementi alla volta.\r\n
\r\n \r\n \r\n \r\n Sampling variation}>\r\n \r\n Differenza di informazioni presente tra due campioni diversi della stessa popolazione.\r\n
\r\n \r\n \r\n \r\n Gli elementi in un campione sono indipendenti se gli elementi estratti in precedenza non influsicono significativamente sulle probabilità di estrazione dell'elemento successivo.\r\n
\r\n \r\n \r\n \r\n \r\n \r\n Esperimento in cui c'è una sola popolazione da cui vengono estratti campioni.\r\n
\r\n \r\n Serve per verificare delle condizioni.\r\n
\r\n \r\n \r\n \r\n Esperimento in cui sono presenti più popolazioni (aventi caratteristiche differenti una dall'altra dette fattori) da cui vengono estratti campioni.\r\n
\r\n \r\n Serve per capire quali fattori influenzano il risultato dell'esperimento.\r\n
\r\n \r\n \r\n \r\n Numerico o quantitativo}>\r\n Il dato descrive un valore numerico relativo all'elemento, come ad esempio una quantità fisica.\r\n \r\n Categorico o qualitativo}>\r\n Il dato indica una categoria a cui appartiene l'elemento, come ad esempio il suo colore.\r\n \r\n \r\n \r\n \r\n \r\n L'insieme di tutti gli esiti possibili di un esperimento.\r\n
\r\n \r\n {r`\\Omega = \\left \\{ 1, 2, 3, 4, 5, 6 \\right \\}`} \r\n
\r\n \r\n \r\n \r\n Uno dei possibili risultati di un esperimento.\r\n
\r\n \r\n E' un elemento dello spazio campionario.\r\n
\r\n \r\n {r`\\omega = 1`} \"omeghino\"\r\n
\r\n \r\n \r\n \r\n Un sottoinsieme dello spazio campionario.\r\n
\r\n \r\n {r`E = \\left \\{ 1, 2 \\right \\}`} \r\n
\r\n \r\n Lo spazio campionario stesso è un evento certo.\r\n
\r\n \r\n \r\n \r\n Il complementare di un sottoinsieme.\r\n
\r\n \r\n {r`\\bar{E} = \\left \\{ 3, 4, 5, 6 \\right \\}`} \r\n
\r\n \r\n \r\n \r\n L'intersezione di più sottoinsiemi.\r\n
\r\n \r\n {r`E \\cap F = \\left \\{ 1 \\right \\}`} \r\n
\r\n \r\n \r\n \r\n L'unione di più sottoinsiemi.\r\n
\r\n \r\n {r`E \\cup F = \\left \\{ 1, 2, 3, 4 \\right \\}`} \r\n
\r\n \r\n \r\n \r\n {r`E \\setminus F = E \\cap \\bar{F}`} \r\n
\r\n \r\n \r\n \r\n L'inclusione del primo insieme in un altro.\r\n
\r\n \r\n {r`E \\subseteq F`} \r\n
\r\n \r\n Se si verifica E , allora si verifica anche F .\r\n
\r\n \r\n \r\n \r\n Un sottoinsieme vuoto.\r\n
\r\n \r\n {r`I = \\emptyset`} \r\n
\r\n \r\n \r\n \r\n La disgiunzione di due insiemi.\r\n
\r\n \r\n {r`E \\cap F = \\emptyset`} \r\n
\r\n \r\n \r\n \r\n \r\n \r\n I sottoinsiemi dello spazio campionario formano una famiglia di sottoinsiemi detta famiglia degli eventi.\r\n
\r\n \r\n {r`\\mathcal{F}`} (\"effe\")\r\n
\r\n \r\n Qualsiasi sottoinsieme appartenente a {r`\\mathcal{F}`} è considerato un evento.\r\n
\r\n \r\n {r`\\sigma`} -algebra}>\r\n \r\n Se la famiglia degli eventi soddisfa questi tre requisiti, allora viene detta {r`\\sigma`} -algebra:\r\n
\r\n \r\n - \r\n Lo spazio campionario è un evento:
{r`\\Omega \\in \\mathcal{F}`} \r\n \r\n - \r\n Se un sottoinsieme è un evento, allora anche il suo complementare lo è:
{r`E \\in \\mathcal{F} \\implies \\bar{E} \\in \\mathcal{F}`} \r\n \r\n - \r\n Se due sottoinsiemi sono eventi, allora lo sono anche la loro unione e intersezione:
{r`(E, F) \\in \\mathcal{F} \\implies (E \\cup F, E \\cap F) \\in \\mathcal{F}`} \r\n \r\n
\r\n \r\n Un esempio: {r`E \\in \\mathcal{F} \\implies \\mathcal{F} = \\{ \\emptyset, E, \\bar{E}, \\Omega \\}`} \r\n
\r\n \r\n \r\n \r\n \r\n \r\n {r`P(E) = \\frac{casi\\ favorevoli}{casi\\ possibili}`} \r\n
\r\n \r\n \r\n \r\n {r`P(E) = \\frac{successi}{prove\\ totali}`} \r\n
\r\n \r\n \r\n \r\n TODO: Trovare un'espressione decente \r\n
\r\n \r\n \r\n \r\n \r\n \r\n La probabilità di un evento è un numero tra 0 e 1.\r\n
\r\n \r\n {r`\\forall E \\in \\mathcal{F}, 0 \\leq P(E) \\leq 1`} \r\n
\r\n \r\n \r\n \r\n La probabilità dello spazio campionario è sempre 1.\r\n
\r\n \r\n {r`P(\\Omega) = 1`} \r\n
\r\n \r\n \r\n \r\n La probabilità dell'unione di eventi indipendenti è uguale alla somma delle loro probabilità.\r\n
\r\n \r\n {r`P \\left ( \\bigcup_i E_i \\right ) = \\sum_i P ( E_i )`} \r\n
\r\n \r\n \r\n \r\n \r\n \r\n {r`P(\\bar{E}) = 1 - P(\\bar{E})`} \r\n
\r\n \r\n \r\n \r\n {r`F \\subseteq E \\implies P(F) \\leq P(E)`} \r\n
\r\n \r\n \r\n \r\n {r`P(E \\cup F) = P(E) + P(F) - P(E \\cap F)`} \r\n
\r\n \r\n \r\n \r\n \r\n \r\n Spazi campionari in cui ci sono un numero finito di esiti e ogni esito ha la stessa probabilità di verificarsi.\r\n
\r\n \r\n \r\n \r\n {r`P(E) = \\frac{len(E)}{len(\\Omega)}`} \r\n
\r\n \r\n \r\n \r\n \r\n \r\n Estraggo un numero, mi segno che numero ho estratto e lo tengo fuori dal sacchetto.\r\n
\r\n \r\n Tengo conto dell'ordine in cui ho estratto i numeri.\r\n
\r\n \r\n \r\n \r\n Estraggo un numero, mi segno che numero ho estratto e lo rimetto nel sacchetto.\r\n
\r\n \r\n Tengo conto dell'ordine in cui ho estratto i numeri.\r\n
\r\n \r\n \r\n \r\n Estraggo un numero, mi segno che numero ho estratto e lo tengo fuori dal sacchetto.\r\n
\r\n \r\n Non mi interessa l'ordine in cui ho estratto i numeri.\r\n
\r\n \r\n \r\n \r\n Estraggo un numero, mi segno che numero ho estratto e lo rimetto nel sacchetto.\r\n
\r\n \r\n Non mi interessa l'ordine in cui ho estratto i numeri.\r\n
\r\n \r\n \r\n \r\n Estraggo N numeri e guardo in quanti ordini diversi li posso mettere.\r\n
\r\n \r\n \r\n \r\n )\r\n\t}\r\n}\n\n\n// WEBPACK FOOTER //\n// ./pages/statistica.js","import './index.css';\nimport './manifest.json';\nimport { Component } from 'preact';\nimport Router from 'preact-router';\nimport Home from './pages/home';\nimport Fisica from './pages/fisica';\nimport VlDiGeometria from './pages/vldigeometria';\nimport MingwInstall from './pages/mingwinstall';\nimport Copyright from './components/copyright';\nimport Statistica from './pages/statistica';\n\n// noinspection JSUnusedGlobalSymbols\nexport default class App extends Component {\n\trender() {\n\t\treturn (\n\t\t\t\n\t\t\t\tAppuntiweb di Steffo
\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t \n\t\t\t\t \n\t\t\t\n\t\t);\n\t}\n}\n\n\n\n// WEBPACK FOOTER //\n// ./index.js","!function(){\"use strict\";function e(e,t){var n,o,r,i,l=W;for(i=arguments.length;i-- >2;)P.push(arguments[i]);t&&null!=t.children&&(P.length||P.push(t.children),delete t.children);while(P.length)if((o=P.pop())&&void 0!==o.pop)for(i=o.length;i--;)P.push(o[i]);else\"boolean\"==typeof o&&(o=null),(r=\"function\"!=typeof e)&&(null==o?o=\"\":\"number\"==typeof o?o+=\"\":\"string\"!=typeof o&&(r=!1)),r&&n?l[l.length-1]+=o:l===W?l=[o]:l.push(o),n=r;var a=new T;return a.nodeName=e,a.children=l,a.attributes=null==t?void 0:t,a.key=null==t?void 0:t.key,void 0!==M.vnode&&M.vnode(a),a}function t(e,t){for(var n in t)e[n]=t[n];return e}function n(e,t){e&&(\"function\"==typeof e?e(t):e.current=t)}function o(n,o){return e(n.nodeName,t(t({},n.attributes),o),arguments.length>2?[].slice.call(arguments,2):n.children)}function r(e){!e.__d&&(e.__d=!0)&&1==V.push(e)&&(M.debounceRendering||D)(i)}function i(){var e;while(e=V.pop())e.__d&&x(e)}function l(e,t,n){return\"string\"==typeof t||\"number\"==typeof t?void 0!==e.splitText:\"string\"==typeof t.nodeName?!e._componentConstructor&&a(e,t.nodeName):n||e._componentConstructor===t.nodeName}function a(e,t){return e.__n===t||e.nodeName.toLowerCase()===t.toLowerCase()}function u(e){var n=t({},e.attributes);n.children=e.children;var o=e.nodeName.defaultProps;if(void 0!==o)for(var r in o)void 0===n[r]&&(n[r]=o[r]);return n}function c(e,t){var n=t?document.createElementNS(\"http://www.w3.org/2000/svg\",e):document.createElement(e);return n.__n=e,n}function p(e){var t=e.parentNode;t&&t.removeChild(e)}function s(e,t,o,r,i){if(\"className\"===t&&(t=\"class\"),\"key\"===t);else if(\"ref\"===t)n(o,null),n(r,e);else if(\"class\"!==t||i)if(\"style\"===t){if(r&&\"string\"!=typeof r&&\"string\"!=typeof o||(e.style.cssText=r||\"\"),r&&\"object\"==typeof r){if(\"string\"!=typeof o)for(var l in o)l in r||(e.style[l]=\"\");for(var l in r)e.style[l]=\"number\"==typeof r[l]&&!1===E.test(l)?r[l]+\"px\":r[l]}}else if(\"dangerouslySetInnerHTML\"===t)r&&(e.innerHTML=r.__html||\"\");else if(\"o\"==t[0]&&\"n\"==t[1]){var a=t!==(t=t.replace(/Capture$/,\"\"));t=t.toLowerCase().substring(2),r?o||e.addEventListener(t,_,a):e.removeEventListener(t,_,a),(e.__l||(e.__l={}))[t]=r}else if(\"list\"!==t&&\"type\"!==t&&!i&&t in e){try{e[t]=null==r?\"\":r}catch(e){}null!=r&&!1!==r||\"spellcheck\"==t||e.removeAttribute(t)}else{var u=i&&t!==(t=t.replace(/^xlink:?/,\"\"));null==r||!1===r?u?e.removeAttributeNS(\"http://www.w3.org/1999/xlink\",t.toLowerCase()):e.removeAttribute(t):\"function\"!=typeof r&&(u?e.setAttributeNS(\"http://www.w3.org/1999/xlink\",t.toLowerCase(),r):e.setAttribute(t,r))}else e.className=r||\"\"}function _(e){return this.__l[e.type](M.event&&M.event(e)||e)}function f(){var e;while(e=A.shift())M.afterMount&&M.afterMount(e),e.componentDidMount&&e.componentDidMount()}function d(e,t,n,o,r,i){H++||(R=null!=r&&void 0!==r.ownerSVGElement,B=null!=e&&!(\"__preactattr_\"in e));var l=h(e,t,n,o,i);return r&&l.parentNode!==r&&r.appendChild(l),--H||(B=!1,i||f()),l}function h(e,t,n,o,r){var i=e,l=R;if(null!=t&&\"boolean\"!=typeof t||(t=\"\"),\"string\"==typeof t||\"number\"==typeof t)return e&&void 0!==e.splitText&&e.parentNode&&(!e._component||r)?e.nodeValue!=t&&(e.nodeValue=t):(i=document.createTextNode(t),e&&(e.parentNode&&e.parentNode.replaceChild(i,e),v(e,!0))),i.__preactattr_=!0,i;var u=t.nodeName;if(\"function\"==typeof u)return N(e,t,n,o);if(R=\"svg\"===u||\"foreignObject\"!==u&&R,u+=\"\",(!e||!a(e,u))&&(i=c(u,R),e)){while(e.firstChild)i.appendChild(e.firstChild);e.parentNode&&e.parentNode.replaceChild(i,e),v(e,!0)}var p=i.firstChild,s=i.__preactattr_,_=t.children;if(null==s){s=i.__preactattr_={};for(var f=i.attributes,d=f.length;d--;)s[f[d].name]=f[d].value}return!B&&_&&1===_.length&&\"string\"==typeof _[0]&&null!=p&&void 0!==p.splitText&&null==p.nextSibling?p.nodeValue!=_[0]&&(p.nodeValue=_[0]):(_&&_.length||null!=p)&&m(i,_,n,o,B||null!=s.dangerouslySetInnerHTML),y(i,t.attributes,s),R=l,i}function m(e,t,n,o,r){var i,a,u,c,s,_=e.childNodes,f=[],d={},m=0,b=0,y=_.length,g=0,w=t?t.length:0;if(0!==y)for(var C=0;C m && m.default ? m.default : m;\n\nlet app = interopDefault(require('preact-cli-entrypoint'));\n\nif (typeof app === 'function') {\n\tlet root = document.body.firstElementChild;\n\n\tlet init = () => {\n\t\tlet app = interopDefault(require('preact-cli-entrypoint'));\n\t\troot = (0, _preact.render)((0, _preact.h)(app), document.body, root);\n\t};\n\n\tif (module.hot) module.hot.accept('preact-cli-entrypoint', init);\n\n\tinit();\n}\n\n\n// WEBPACK FOOTER //\n// ../node_modules/preact-cli/lib/lib/entry.js","// removed by extract-text-webpack-plugin\nmodule.exports = {\"copyright\":\"copyright__TBGn1\"};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./components/copyright.css\n// module id = qMTX\n// module chunks = 0","// removed by extract-text-webpack-plugin\nmodule.exports = {\"todo\":\"todo__5Soco\"};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./components/todo.css\n// module id = tO1d\n// module chunks = 0"],"sourceRoot":""}
\ No newline at end of file
diff --git a/docs/bundle.4130c.js b/docs/bundle.4130c.js
new file mode 100644
index 0000000..074eb54
--- /dev/null
+++ b/docs/bundle.4130c.js
@@ -0,0 +1,2 @@
+!function(e){function t(a){if(n[a])return n[a].exports;var r=n[a]={i:a,l:!1,exports:{}};return e[a].call(r.exports,r,r.exports,t),r.l=!0,r.exports}var n={};t.m=e,t.c=n,t.d=function(e,n,a){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:a})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="/",t(t.s="pwNi")}({"+uq9":function(e){e.exports={latex:"latex__34DCT"}},"0lnO":function(){},"1EpE":function(e){e.exports={split:"split__2Bl8C",splitparent:"splitparent__nqY7W",splitchild:"splitchild__3Ip86"}},"36Ou":function(){},"5m9J":function(){},"6adR":function(e,t,n){var a;(function(){function r(e){"use strict";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
(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: foo",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 `` and ``",type:"boolean"},completeHTMLDocument:{defaultValue:!1,description:"Outputs a complete html document, including ``, `` and `` 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 n={};for(var a in t)t.hasOwnProperty(a)&&(n[a]=t[a].defaultValue);return n}function i(e,t){"use strict";var n=t?"Error in "+t+" extension->":"Error in unnamed extension",a={valid:!0,error:""};l.helper.isArray(e)||(e=[e]);for(var r=0;r").replace(/&/g,"&")};var d=function(e,t,n,a){"use strict";var r,i,o,l,c,s=a||"",u=s.indexOf("g")>-1,p=new RegExp(t+"|"+n,"g"+s.replace(/g/g,"")),h=new RegExp(t,s.replace(/g/g,"")),d=[];do{for(r=0;o=p.exec(e);)if(h.test(o[0]))r++||(i=p.lastIndex,l=i-o[0].length);else if(r&&!--r){c=o.index+o[0].length;var b={left:{start:l,end:i},match:{start:i,end:o.index},right:{start:o.index,end:c},wholeMatch:{start:l,end:c}};if(d.push(b),!u)return d}}while(r&&(p.lastIndex=i));return d};l.helper.matchRecursiveRegExp=function(e,t,n,a){"use strict";for(var r=d(e,t,n,a),i=[],o=0;o0){var u=[];0!==o[0].wholeMatch.start&&u.push(e.slice(0,o[0].wholeMatch.start));for(var p=0;p=0?a+(n||0):a},l.helper.splitAtIndex=function(e,t){"use strict";if(!l.helper.isString(e))throw"InvalidArgumentError: first parameter of showdown.helper.regexIndexOf function must be a string";return[e.substring(0,t),e.substring(t)]},l.helper.encodeEmailAddress=function(e){"use strict";var t=[function(e){return""+e.charCodeAt(0)+";"},function(e){return""+e.charCodeAt(0).toString(16)+";"},function(e){return e}];return e=e.replace(/./g,function(e){if("@"===e)e=t[Math.floor(2*Math.random())](e);else{var n=Math.random();e=n>.9?t[2](e):n>.45?t[1](e):t[0](e)}return e})},l.helper.padEnd=function(e,t,n){"use strict";return t>>=0,n=String(n||" "),e.length>t?String(e):(t-=e.length,t>n.length&&(n+=n.repeat(t/n.length)),String(e)+n.slice(0,t))},"undefined"==typeof console&&(console={warn:function(e){"use strict";alert(e)},log:function(e){"use strict";alert(e)},error:function(e){"use strict";throw e}}),l.helper.regexes={asteriskDashAndColon:/([*_:~])/g},l.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:"⛹️♀️",bat:"🦇",bath:"🛀",bathtub:"🛁",battery:"🔋",beach_umbrella:"🏖",bear:"🐻",bed:"🛏",bee:"🐝",beer:"🍺",beers:"🍻",beetle:"🐞",beginner:"🔰",bell:"🔔",bellhop_bell:"🛎",bento:"🍱",biking_man:"🚴",bike:"🚲",biking_woman:"🚴♀️",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:"👱♀️",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:"🙇♀️",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:"👷♀️",control_knobs:"🎛",convenience_store:"🏪",cookie:"🍪",cool:"🆒",policeman:"👮",copyright:"©️",corn:"🌽",couch_and_lamp:"🛋",couple:"👫",couple_with_heart_woman_man:"💑",couple_with_heart_man_man:"👨❤️👨",couple_with_heart_woman_woman:"👩❤️👩",couplekiss_man_man:"👨❤️💋👨",couplekiss_man_woman:"💏",couplekiss_woman_woman:"👩❤️💋👩",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:"👯♂️",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:"👁🗨",eyeglasses:"👓",eyes:"👀",face_with_head_bandage:"🤕",face_with_thermometer:"🤒",fist_oncoming:"👊",factory:"🏭",fallen_leaf:"🍂",family_man_woman_boy:"👪",family_man_boy:"👨👦",family_man_boy_boy:"👨👦👦",family_man_girl:"👨👧",family_man_girl_boy:"👨👧👦",family_man_girl_girl:"👨👧👧",family_man_man_boy:"👨👨👦",family_man_man_boy_boy:"👨👨👦👦",family_man_man_girl:"👨👨👧",family_man_man_girl_boy:"👨👨👧👦",family_man_man_girl_girl:"👨👨👧👧",family_man_woman_boy_boy:"👨👩👦👦",family_man_woman_girl:"👨👩👧",family_man_woman_girl_boy:"👨👩👧👦",family_man_woman_girl_girl:"👨👩👧👧",family_woman_boy:"👩👦",family_woman_boy_boy:"👩👦👦",family_woman_girl:"👩👧",family_woman_girl_boy:"👩👧👦",family_woman_girl_girl:"👩👧👧",family_woman_woman_boy:"👩👩👦",family_woman_woman_boy_boy:"👩👩👦👦",family_woman_woman_girl:"👩👩👧",family_woman_woman_girl_boy:"👩👩👧👦",family_woman_woman_girl_girl:"👩👩👧👧",fast_forward:"⏩",fax:"📠",fearful:"😨",feet:"🐾",female_detective:"🕵️♀️",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:"🙍♂️",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:"🏌️♀️",gorilla:"🦍",grapes:"🍇",green_apple:"🍏",green_book:"📗",green_heart:"💚",green_salad:"🥗",grey_exclamation:"❕",grey_question:"❔",grimacing:"😬",grin:"😁",grinning:"😀",guardsman:"💂",guardswoman:"💂♀️",guitar:"🎸",gun:"🔫",haircut_woman:"💇",haircut_man:"💇♂️",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:"👨🎨",man_astronaut:"👨🚀",man_cartwheeling:"🤸♂️",man_cook:"👨🍳",man_dancing:"🕺",man_facepalming:"🤦♂️",man_factory_worker:"👨🏭",man_farmer:"👨🌾",man_firefighter:"👨🚒",man_health_worker:"👨⚕️",man_in_tuxedo:"🤵",man_judge:"👨⚖️",man_juggling:"🤹♂️",man_mechanic:"👨🔧",man_office_worker:"👨💼",man_pilot:"👨✈️",man_playing_handball:"🤾♂️",man_playing_water_polo:"🤽♂️",man_scientist:"👨🔬",man_shrugging:"🤷♂️",man_singer:"👨🎤",man_student:"👨🎓",man_teacher:"👨🏫",man_technologist:"👨💻",man_with_gua_pi_mao:"👲",man_with_turban:"👳",tangerine:"🍊",mans_shoe:"👞",mantelpiece_clock:"🕰",maple_leaf:"🍁",martial_arts_uniform:"🥋",mask:"😷",massage_woman:"💆",massage_man:"💆♂️",meat_on_bone:"🍖",medal_military:"🎖",medal_sports:"🏅",mega:"📣",melon:"🍈",memo:"📝",men_wrestling:"🤼♂️",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:"🚵♀️",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:"🙅♂️",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:"🙆♂️",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:"👮♀️",poodle:"🐩",popcorn:"🍿",post_office:"🏣",postal_horn:"📯",postbox:"📮",potable_water:"🚰",potato:"🥔",pouch:"👝",poultry_leg:"🍗",pound:"💷",rage:"😡",pouting_cat:"😾",pouting_man:"🙎♂️",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:"🏳️🌈",raised_back_of_hand:"🤚",raised_hand_with_fingers_splayed:"🖐",raised_hands:"🙌",raising_hand_woman:"🙋",raising_hand_man:"🙋♂️",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:"🚣♀️",rugby_football:"🏉",running_man:"🏃",running_shirt_with_sash:"🎽",running_woman:"🏃♀️",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:"🏄♀️",sushi:"🍣",suspension_railway:"🚟",sweat:"😓",sweat_drops:"💦",sweat_smile:"😅",sweet_potato:"🍠",swimming_man:"🏊",swimming_woman:"🏊♀️",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:"💁♂️",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:"🚶♀️",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:"🏋️♀️",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:"👩🎨",woman_astronaut:"👩🚀",woman_cartwheeling:"🤸♀️",woman_cook:"👩🍳",woman_facepalming:"🤦♀️",woman_factory_worker:"👩🏭",woman_farmer:"👩🌾",woman_firefighter:"👩🚒",woman_health_worker:"👩⚕️",woman_judge:"👩⚖️",woman_juggling:"🤹♀️",woman_mechanic:"👩🔧",woman_office_worker:"👩💼",woman_pilot:"👩✈️",woman_playing_handball:"🤾♀️",woman_playing_water_polo:"🤽♀️",woman_scientist:"👩🔬",woman_shrugging:"🤷♀️",woman_singer:"👩🎤",woman_student:"👩🎓",woman_teacher:"👩🏫",woman_technologist:"👩💻",woman_with_turban:"👳♀️",womans_clothes:"👚",womans_hat:"👒",women_wrestling:"🤼♀️",womens:"🚺",world_map:"🗺",worried:"😟",wrench:"🔧",writing_hand:"✍️",x:"❌",yellow_heart:"💛",yen:"💴",yin_yang:"☯️",yum:"😋",zap:"⚡️",zipper_mouth_face:"🤐",zzz:"💤",octocat:'',showdown:"S"},l.Converter=function(e){"use strict";function t(e,t){if(t=t||null,l.helper.isString(e)){if(e=l.helper.stdExtName(e),t=e,l.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 n(l.extensions[e],e);if(l.helper.isUndefined(s[e]))throw Error('Extension "'+e+'" could not be loaded. It was either not found or is not a valid extension.');e=s[e]}"function"==typeof e&&(e=e()),l.helper.isArray(e)||(e=[e]);var r=i(e,t);if(!r.valid)throw Error(r.error);for(var o=0;o [ \t]+,">¨NBSP;<"),!t){if(!window||!window.document)throw new 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 a=t.createElement("div");a.innerHTML=e;var r={preList:function(e){for(var t=e.querySelectorAll("pre"),n=[],a=0;a'}else n.push(t[a].innerHTML),t[a].innerHTML="",t[a].setAttribute("prenum",a.toString());return n}(a)};n(a);for(var i=a.childNodes,o="",c=0;c? ?(['"].*['"])?\)$/m)>-1)i="";else if(!i){if(r||(r=a.toLowerCase().replace(/ ?\n/g," ")),i="#"+r,l.helper.isUndefined(n.gUrls[r]))return e;i=n.gUrls[r],l.helper.isUndefined(n.gTitles[r])||(s=n.gTitles[r])}i=i.replace(l.helper.regexes.asteriskDashAndColon,l.helper.escapeCharactersCallback);var u='"+a+""};return e=e.replace(/\[((?:\[[^\]]*]|[^\[\]])*)] ?(?:\n *)?\[(.*?)]()()()()/g,a),e=e.replace(/\[((?:\[[^\]]*]|[^\[\]])*)]()[ \t]*\([ \t]?<([^>]*)>(?:[ \t]*((["'])([^"]*?)\5))?[ \t]?\)/g,a),e=e.replace(/\[((?:\[[^\]]*]|[^\[\]])*)]()[ \t]*\([ \t]?([\S]+?(?:\([\S]*?\)[\S]*?)?)>?(?:[ \t]*((["'])([^"]*?)\5))?[ \t]?\)/g,a),e=e.replace(/\[([^\[\]]+)]()()()()()/g,a),t.ghMentions&&(e=e.replace(/(^|\s)(\\)?(@([a-z\d]+(?:[a-z\d.-]+?[a-z\d]+)*))/gim,function(e,n,a,r,i){if("\\"===a)return n+r;if(!l.helper.isString(t.ghMentionsLink))throw new Error("ghMentionsLink option must be a string");var o=t.ghMentionsLink.replace(/\{u}/g,i),c="";return t.openLinksInNewWindow&&(c=' rel="noopener noreferrer" target="¨E95Eblank"'),n+'"+r+""})),e=n.converter._dispatch("anchors.after",e,t,n)});var b=/([*~_]+|\b)(((https?|ftp|dict):\/\/|www\.)[^'">\s]+?\.[^'">\s]+?)()(\1)?(?=\s|$)(?!["<>])/gi,m=/([*~_]+|\b)(((https?|ftp|dict):\/\/|www\.)[^'">\s]+\.[^'">\s]+?)([.!?,()\[\]])?(\1)?(?=\s|$)(?!["<>])/gi,f=/()<(((https?|ftp|dict):\/\/|www\.)[^'">\s]+)()>()/gi,g=/(^|\s)(?:mailto:)?([A-Za-z0-9!#$%&'*+-/=?^_`{|}~.]+@[-a-z0-9]+(\.[-a-z0-9]+)*\.[a-z]+)(?=$|\s)/gim,_=/<()(?:mailto:)?([-.\w]+@[-a-z0-9]+(\.[-a-z0-9]+)*\.[a-z]+)>/gi,j=function(e){"use strict";return function(t,n,a,r,i,o,c){a=a.replace(l.helper.regexes.asteriskDashAndColon,l.helper.escapeCharactersCallback);var s=a,u="",p="",h=n||"",d=c||"";return/^www\./i.test(a)&&(a=a.replace(/^www\./i,"http://www.")),e.excludeTrailingPunctuationFromURLs&&o&&(u=o),e.openLinksInNewWindow&&(p=' rel="noopener noreferrer" target="¨E95Eblank"'),h+'"+s+""+u+d}},O=function(e,t){"use strict";return function(n,a,r){var i="mailto:";return a=a||"",r=l.subParser("unescapeSpecialChars")(r,e,t),e.encodeEmails?(i=l.helper.encodeEmailAddress(i+r),r=l.helper.encodeEmailAddress(r)):i+=r,a+''+r+""}};l.subParser("autoLinks",function(e,t,n){"use strict";return e=n.converter._dispatch("autoLinks.before",e,t,n),e=e.replace(f,j(t)),e=e.replace(_,O(t,n)),e=n.converter._dispatch("autoLinks.after",e,t,n)}),l.subParser("simplifiedAutoLinks",function(e,t,n){"use strict";return t.simplifiedAutoLink?(e=n.converter._dispatch("simplifiedAutoLinks.before",e,t,n),e=t.excludeTrailingPunctuationFromURLs?e.replace(m,j(t)):e.replace(b,j(t)),e=e.replace(g,O(t,n)),e=n.converter._dispatch("simplifiedAutoLinks.after",e,t,n)):e}),l.subParser("blockGamut",function(e,t,n){"use strict";return e=n.converter._dispatch("blockGamut.before",e,t,n),e=l.subParser("blockQuotes")(e,t,n),e=l.subParser("headers")(e,t,n),e=l.subParser("horizontalRule")(e,t,n),e=l.subParser("lists")(e,t,n),e=l.subParser("codeBlocks")(e,t,n),e=l.subParser("tables")(e,t,n),e=l.subParser("hashHTMLBlocks")(e,t,n),e=l.subParser("paragraphs")(e,t,n),e=n.converter._dispatch("blockGamut.after",e,t,n)}),l.subParser("blockQuotes",function(e,t,n){"use strict";e=n.converter._dispatch("blockQuotes.before",e,t,n),e+="\n\n";var a=/(^ {0,3}>[ \t]?.+\n(.+\n)*\n*)+/gm;return t.splitAdjacentBlockquotes&&(a=/^ {0,3}>[\s\S]*?(?:\n\n)/gm),e=e.replace(a,function(e){return e=e.replace(/^[ \t]*>[ \t]?/gm,""),e=e.replace(/¨0/g,""),e=e.replace(/^[ \t]+$/gm,""),e=l.subParser("githubCodeBlocks")(e,t,n),e=l.subParser("blockGamut")(e,t,n),e=e.replace(/(^|\n)/g,"$1 "),e=e.replace(/(\s*[^\r]+?<\/pre>)/gm,function(e,t){var n=t;return n=n.replace(/^ /gm,"¨0"),n=n.replace(/¨0/g,"")}),l.subParser("hashBlock")("\n"+e+"\n
",t,n)}),e=n.converter._dispatch("blockQuotes.after",e,t,n)}),l.subParser("codeBlocks",function(e,t,n){"use strict";return e=n.converter._dispatch("codeBlocks.before",e,t,n),e+="¨0",e=e.replace(/(?:\n\n|^)((?:(?:[ ]{4}|\t).*\n+)+)(\n*[ ]{0,3}[^ \t\n]|(?=¨0))/g,function(e,a,r){var i=a,o=r,c="\n";return i=l.subParser("outdent")(i,t,n),i=l.subParser("encodeCode")(i,t,n),i=l.subParser("detab")(i,t,n),i=i.replace(/^\n+/g,""),i=i.replace(/\n+$/g,""),t.omitExtraWLInCodeBlocks&&(c=""),i=""+i+c+"
",l.subParser("hashBlock")(i,t,n)+o}),e=e.replace(/¨0/,""),e=n.converter._dispatch("codeBlocks.after",e,t,n)}),l.subParser("codeSpans",function(e,t,n){"use strict";return e=n.converter._dispatch("codeSpans.before",e,t,n),void 0===e&&(e=""),e=e.replace(/(^|[^\\])(`+)([^\r]*?[^`])\2(?!`)/gm,function(e,a,r,i){var o=i;return o=o.replace(/^([ \t]*)/g,""),o=o.replace(/[ \t]*$/g,""),o=l.subParser("encodeCode")(o,t,n),o=a+""+o+"
",o=l.subParser("hashHTMLSpans")(o,t,n)}),e=n.converter._dispatch("codeSpans.after",e,t,n)}),l.subParser("completeHTMLDocument",function(e,t,n){"use strict";if(!t.completeHTMLDocument)return e;e=n.converter._dispatch("completeHTMLDocument.before",e,t,n);var a="html",r="\n",i="",o='\n',l="",c="";void 0!==n.metadata.parsed.doctype&&(r="\n","html"!==(a=n.metadata.parsed.doctype.toString().toLowerCase())&&"html5"!==a||(o=''));for(var s in n.metadata.parsed)if(n.metadata.parsed.hasOwnProperty(s))switch(s.toLowerCase()){case"doctype":break;case"title":i=""+n.metadata.parsed.title+" \n";break;case"charset":o="html"===a||"html5"===a?'\n':'\n';break;case"language":case"lang":l=' lang="'+n.metadata.parsed[s]+'"',c+='\n';break;default:c+='\n'}return e=r+"\n\n"+i+o+c+"\n\n"+e.trim()+"\n\n",e=n.converter._dispatch("completeHTMLDocument.after",e,t,n)}),l.subParser("detab",function(e,t,n){"use strict";return e=n.converter._dispatch("detab.before",e,t,n),e=e.replace(/\t(?=\t)/g," "),e=e.replace(/\t/g,"¨A¨B"),e=e.replace(/¨B(.+?)¨A/g,function(e,t){for(var n=t,a=4-n.length%4,r=0;r/g,">"),e=n.converter._dispatch("encodeAmpsAndAngles.after",e,t,n)}),l.subParser("encodeBackslashEscapes",function(e,t,n){"use strict";return e=n.converter._dispatch("encodeBackslashEscapes.before",e,t,n),e=e.replace(/\\(\\)/g,l.helper.escapeCharactersCallback),e=e.replace(/\\([`*_{}\[\]()>#+.!~=|-])/g,l.helper.escapeCharactersCallback),e=n.converter._dispatch("encodeBackslashEscapes.after",e,t,n)}),l.subParser("encodeCode",function(e,t,n){"use strict";return e=n.converter._dispatch("encodeCode.before",e,t,n),e=e.replace(/&/g,"&").replace(//g,">").replace(/([*_{}\[\]\\=~-])/g,l.helper.escapeCharactersCallback),e=n.converter._dispatch("encodeCode.after",e,t,n)}),l.subParser("escapeSpecialCharsWithinTagAttributes",function(e,t,n){"use strict";e=n.converter._dispatch("escapeSpecialCharsWithinTagAttributes.before",e,t,n);var a=/<\/?[a-z\d_:-]+(?:[\s]+[\s\S]+?)?>/gi,r=/-]|-[^>])(?:[^-]|-[^-])*)--)>/gi;return e=e.replace(a,function(e){return e.replace(/(.)<\/?code>(?=.)/g,"$1`").replace(/([\\`*_~=|])/g,l.helper.escapeCharactersCallback)}),e=e.replace(r,function(e){return e.replace(/([\\`*_~=|])/g,l.helper.escapeCharactersCallback)}),e=n.converter._dispatch("escapeSpecialCharsWithinTagAttributes.after",e,t,n)}),l.subParser("githubCodeBlocks",function(e,t,n){"use strict";return t.ghCodeBlocks?(e=n.converter._dispatch("githubCodeBlocks.before",e,t,n),e+="¨0",e=e.replace(/(?:^|\n)(?: {0,3})(```+|~~~+)(?: *)([^\s`~]*)\n([\s\S]*?)\n(?: {0,3})\1/g,function(e,a,r,i){var o=t.omitExtraWLInCodeBlocks?"":"\n";return i=l.subParser("encodeCode")(i,t,n),i=l.subParser("detab")(i,t,n),i=i.replace(/^\n+/g,""),i=i.replace(/\n+$/g,""),i=""+i+o+"
",i=l.subParser("hashBlock")(i,t,n),"\n\n¨G"+(n.ghCodeBlocks.push({text:e,codeblock:i})-1)+"G\n\n"}),e=e.replace(/¨0/,""),n.converter._dispatch("githubCodeBlocks.after",e,t,n)):e}),l.subParser("hashBlock",function(e,t,n){"use strict";return e=n.converter._dispatch("hashBlock.before",e,t,n),e=e.replace(/(^\n+|\n+$)/g,""),e="\n\n¨K"+(n.gHtmlBlocks.push(e)-1)+"K\n\n",e=n.converter._dispatch("hashBlock.after",e,t,n)}),l.subParser("hashCodeTags",function(e,t,n){"use strict";return e=n.converter._dispatch("hashCodeTags.before",e,t,n),e=l.helper.replaceRecursiveRegExp(e,function(e,a,r,i){var o=r+l.subParser("encodeCode")(a,t,n)+i;return"¨C"+(n.gHtmlSpans.push(o)-1)+"C"},"]*>","
","gim"),e=n.converter._dispatch("hashCodeTags.after",e,t,n)}),l.subParser("hashElement",function(e,t,n){"use strict";return function(e,t){var a=t;return a=a.replace(/\n\n/g,"\n"),a=a.replace(/^\n/,""),a=a.replace(/\n+$/g,""),a="\n\n¨K"+(n.gHtmlBlocks.push(a)-1)+"K\n\n"}}),l.subParser("hashHTMLBlocks",function(e,t,n){"use strict";e=n.converter._dispatch("hashHTMLBlocks.before",e,t,n);var a=["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"],r=function(e,t,a,r){var i=e;return-1!==a.search(/\bmarkdown\b/)&&(i=a+n.converter.makeHtml(t)+r),"\n\n¨K"+(n.gHtmlBlocks.push(i)-1)+"K\n\n"};t.backslashEscapesHTMLTags&&(e=e.replace(/\\<(\/?[^>]+?)>/g,function(e,t){return"<"+t+">"}));for(var i=0;i]*>)","im"),s="<"+a[i]+"\\b[^>]*>",u=""+a[i]+">";-1!==(o=l.helper.regexIndexOf(e,c));){var p=l.helper.splitAtIndex(e,o),h=l.helper.replaceRecursiveRegExp(p[1],r,s,u,"im");if(h===p[1])break;e=p[0].concat(h)}return e=e.replace(/(\n {0,3}(<(hr)\b([^<>])*?\/?>)[ \t]*(?=\n{2,}))/g,l.subParser("hashElement")(e,t,n)),e=l.helper.replaceRecursiveRegExp(e,function(e){return"\n\n¨K"+(n.gHtmlBlocks.push(e)-1)+"K\n\n"},"^ {0,3}\x3c!--","--\x3e","gm"),e=e.replace(/(?:\n\n)( {0,3}(?:<([?%])[^\r]*?\2>)[ \t]*(?=\n{2,}))/g,l.subParser("hashElement")(e,t,n)),e=n.converter._dispatch("hashHTMLBlocks.after",e,t,n)}),l.subParser("hashHTMLSpans",function(e,t,n){"use strict";function a(e){return"¨C"+(n.gHtmlSpans.push(e)-1)+"C"}return e=n.converter._dispatch("hashHTMLSpans.before",e,t,n),e=e.replace(/<[^>]+?\/>/gi,function(e){return a(e)}),e=e.replace(/<([^>]+?)>[\s\S]*?<\/\1>/g,function(e){return a(e)}),e=e.replace(/<([^>]+?)\s[^>]+?>[\s\S]*?<\/\1>/g,function(e){return a(e)}),e=e.replace(/<[^>]+?>/gi,function(e){return a(e)}),e=n.converter._dispatch("hashHTMLSpans.after",e,t,n)}),l.subParser("unhashHTMLSpans",function(e,t,n){"use strict";e=n.converter._dispatch("unhashHTMLSpans.before",e,t,n);for(var a=0;a]*>\\s*]*>","^ {0,3}
\\s*
","gim"),e=n.converter._dispatch("hashPreCodeTags.after",e,t,n)}),l.subParser("headers",function(e,t,n){"use strict";function a(e){var a,r;if(t.customizedHeaderId){var i=e.match(/\{([^{]+?)}\s*$/);i&&i[1]&&(e=i[1])}return a=e,r=l.helper.isString(t.prefixHeaderId)?t.prefixHeaderId:!0===t.prefixHeaderId?"section-":"",t.rawPrefixHeaderId||(a=r+a),a=t.ghCompatibleHeaderId?a.replace(/ /g,"-").replace(/&/g,"").replace(/¨T/g,"").replace(/¨D/g,"").replace(/[&+$,\/:;=?@"#{}|^¨~\[\]`\\*)(%.!'<>]/g,"").toLowerCase():t.rawHeaderId?a.replace(/ /g,"-").replace(/&/g,"&").replace(/¨T/g,"¨").replace(/¨D/g,"$").replace(/["']/g,"-").toLowerCase():a.replace(/[^\w]/g,"").toLowerCase(),t.rawPrefixHeaderId&&(a=r+a),n.hashLinkCounts[a]?a=a+"-"+n.hashLinkCounts[a]++:n.hashLinkCounts[a]=1,a}e=n.converter._dispatch("headers.before",e,t,n);var r=isNaN(parseInt(t.headerLevelStart))?1:parseInt(t.headerLevelStart),i=t.smoothLivePreview?/^(.+)[ \t]*\n={2,}[ \t]*\n+/gm:/^(.+)[ \t]*\n=+[ \t]*\n+/gm,o=t.smoothLivePreview?/^(.+)[ \t]*\n-{2,}[ \t]*\n+/gm:/^(.+)[ \t]*\n-+[ \t]*\n+/gm;return e=e.replace(i,function(e,i){var o=l.subParser("spanGamut")(i,t,n),c=t.noHeaderId?"":' id="'+a(i)+'"',s=r,u=""+o+" ";return l.subParser("hashBlock")(u,t,n)}),e=e.replace(o,function(e,i){var o=l.subParser("spanGamut")(i,t,n),c=t.noHeaderId?"":' id="'+a(i)+'"',s=r+1,u=""+o+" ";return l.subParser("hashBlock")(u,t,n)}),e=e.replace(t.requireSpaceBeforeHeadingText?/^(#{1,6})[ \t]+(.+?)[ \t]*#*\n+/gm:/^(#{1,6})[ \t]*(.+?)[ \t]*#*\n+/gm,function(e,i,o){var c=o;t.customizedHeaderId&&(c=o.replace(/\s?\{([^{]+?)}\s*$/,""));var s=l.subParser("spanGamut")(c,t,n),u=t.noHeaderId?"":' id="'+a(o)+'"',p=r-1+i.length,h=""+s+" ";return l.subParser("hashBlock")(h,t,n)}),e=n.converter._dispatch("headers.after",e,t,n)}),l.subParser("horizontalRule",function(e,t,n){"use strict";e=n.converter._dispatch("horizontalRule.before",e,t,n);var a=l.subParser("hashBlock")("
",t,n);return e=e.replace(/^ {0,2}( ?-){3,}[ \t]*$/gm,a),e=e.replace(/^ {0,2}( ?\*){3,}[ \t]*$/gm,a),e=e.replace(/^ {0,2}( ?_){3,}[ \t]*$/gm,a),e=n.converter._dispatch("horizontalRule.after",e,t,n)}),l.subParser("images",function(e,t,n){"use strict";function a(e,t,n,a,i,o,l,c){return a=a.replace(/\s/g,""),r(e,t,n,a,i,o,l,c)}function r(e,t,a,r,i,o,c,s){var u=n.gUrls,p=n.gTitles,h=n.gDimensions;if(a=a.toLowerCase(),s||(s=""),e.search(/\(\s*>? ?(['"].*['"])?\)$/m)>-1)r="";else if(""===r||null===r){if(""!==a&&null!==a||(a=t.toLowerCase().replace(/ ?\n/g," ")),r="#"+a,l.helper.isUndefined(u[a]))return e;r=u[a],l.helper.isUndefined(p[a])||(s=p[a]),l.helper.isUndefined(h[a])||(i=h[a].width,o=h[a].height)}t=t.replace(/"/g,""").replace(l.helper.regexes.asteriskDashAndColon,l.helper.escapeCharactersCallback),r=r.replace(l.helper.regexes.asteriskDashAndColon,l.helper.escapeCharactersCallback);var d='"}e=n.converter._dispatch("images.before",e,t,n);var i=/!\[([^\]]*?)][ \t]*()\([ \t]?([\S]+?(?:\([\S]*?\)[\S]*?)?)>?(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*(?:(["'])([^"]*?)\6)?[ \t]?\)/g,o=/!\[([^\]]*?)][ \t]*()\([ \t]?<([^>]*)>(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*(?:(?:(["'])([^"]*?)\6))?[ \t]?\)/g,c=/!\[([^\]]*?)][ \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,s=/!\[([^\]]*?)] ?(?:\n *)?\[([\s\S]*?)]()()()()()/g,u=/!\[([^\[\]]+)]()()()()()/g;return e=e.replace(s,r),e=e.replace(c,a),e=e.replace(o,r),e=e.replace(i,r),e=e.replace(u,r),e=n.converter._dispatch("images.after",e,t,n)}),l.subParser("italicsAndBold",function(e,t,n){"use strict";function a(e,t,n){return t+e+n}return e=n.converter._dispatch("italicsAndBold.before",e,t,n),t.literalMidWordUnderscores?(e=e.replace(/\b___(\S[\s\S]*?)___\b/g,function(e,t){return a(t,"","")}),e=e.replace(/\b__(\S[\s\S]*?)__\b/g,function(e,t){return a(t,"","")}),e=e.replace(/\b_(\S[\s\S]*?)_\b/g,function(e,t){return a(t,"","")})):(e=e.replace(/___(\S[\s\S]*?)___/g,function(e,t){return/\S$/.test(t)?a(t,"",""):e}),e=e.replace(/__(\S[\s\S]*?)__/g,function(e,t){return/\S$/.test(t)?a(t,"",""):e}),e=e.replace(/_([^\s_][\s\S]*?)_/g,function(e,t){return/\S$/.test(t)?a(t,"",""):e})),t.literalMidWordAsterisks?(e=e.replace(/([^*]|^)\B\*\*\*(\S[\s\S]*?)\*\*\*\B(?!\*)/g,function(e,t,n){return a(n,t+"","")}),e=e.replace(/([^*]|^)\B\*\*(\S[\s\S]*?)\*\*\B(?!\*)/g,function(e,t,n){return a(n,t+"","")}),e=e.replace(/([^*]|^)\B\*(\S[\s\S]*?)\*\B(?!\*)/g,function(e,t,n){return a(n,t+"","")})):(e=e.replace(/\*\*\*(\S[\s\S]*?)\*\*\*/g,function(e,t){return/\S$/.test(t)?a(t,"",""):e}),e=e.replace(/\*\*(\S[\s\S]*?)\*\*/g,function(e,t){return/\S$/.test(t)?a(t,"",""):e}),e=e.replace(/\*([^\s*][\s\S]*?)\*/g,function(e,t){return/\S$/.test(t)?a(t,"",""):e})),e=n.converter._dispatch("italicsAndBold.after",e,t,n)}),l.subParser("lists",function(e,t,n){"use strict";function a(e,a){n.gListLevel++,e=e.replace(/\n{2,}$/,"\n"),e+="¨0";var r=/(\n)?(^ {0,3})([*+-]|\d+[.])[ \t]+((\[(x|X| )?])?[ \t]*[^\r]+?(\n{1,2}))(?=\n*(¨0| {0,3}([*+-]|\d+[.])[ \t]+))/gm,i=/\n[ \t]*\n(?!¨0)/.test(e);return t.disableForced4SpacesIndentedSublists&&(r=/(\n)?(^ {0,3})([*+-]|\d+[.])[ \t]+((\[(x|X| )?])?[ \t]*[^\r]+?(\n{1,2}))(?=\n*(¨0|\2([*+-]|\d+[.])[ \t]+))/gm),e=e.replace(r,function(e,a,r,o,c,s,u){u=u&&""!==u.trim();var p=l.subParser("outdent")(c,t,n),h="";return s&&t.tasklists&&(h=' class="task-list-item" style="list-style-type: none;"',p=p.replace(/^[ \t]*\[(x|X| )?]/m,function(){var e='"})),p=p.replace(/^([-*+]|\d\.)[ \t]+[\S\n ]*/g,function(e){return"¨A"+e}),a||p.search(/\n{2,}/)>-1?(p=l.subParser("githubCodeBlocks")(p,t,n),p=l.subParser("blockGamut")(p,t,n)):(p=l.subParser("lists")(p,t,n),p=p.replace(/\n$/,""),p=l.subParser("hashHTMLBlocks")(p,t,n),p=p.replace(/\n\n+/g,"\n\n"),p=i?l.subParser("paragraphs")(p,t,n):l.subParser("spanGamut")(p,t,n)),p=p.replace("¨A",""),p=""+p+" \n"}),e=e.replace(/¨0/g,""),n.gListLevel--,a&&(e=e.replace(/\s+$/,"")),e}function r(e,t){if("ol"===t){var n=e.match(/^ *(\d+)\./);if(n&&"1"!==n[1])return' start="'+n[1]+'"'}return""}function i(e,n,i){var o=t.disableForced4SpacesIndentedSublists?/^ ?\d+\.[ \t]/gm:/^ {0,3}\d+\.[ \t]/gm,l=t.disableForced4SpacesIndentedSublists?/^ ?[*+-][ \t]/gm:/^ {0,3}[*+-][ \t]/gm,c="ul"===n?o:l,s="";if(-1!==e.search(c))!function t(u){var p=u.search(c),h=r(e,n);-1!==p?(s+="\n\n<"+n+h+">\n"+a(u.slice(0,p),!!i)+""+n+">\n",n="ul"===n?"ol":"ul",c="ul"===n?o:l,t(u.slice(p))):s+="\n\n<"+n+h+">\n"+a(u,!!i)+""+n+">\n"}(e);else{var u=r(e,n);s="\n\n<"+n+u+">\n"+a(e,!!i)+""+n+">\n"}return s}return e=n.converter._dispatch("lists.before",e,t,n),e+="¨0",e=n.gListLevel?e.replace(/^(( {0,3}([*+-]|\d+[.])[ \t]+)[^\r]+?(¨0|\n{2,}(?=\S)(?![ \t]*(?:[*+-]|\d+[.])[ \t]+)))/gm,function(e,t,n){return i(t,n.search(/[*+-]/g)>-1?"ul":"ol",!0)}):e.replace(/(\n\n|^\n?)(( {0,3}([*+-]|\d+[.])[ \t]+)[^\r]+?(¨0|\n{2,}(?=\S)(?![ \t]*(?:[*+-]|\d+[.])[ \t]+)))/gm,function(e,t,n,a){return i(n,a.search(/[*+-]/g)>-1?"ul":"ol",!1)}),e=e.replace(/¨0/,""),e=n.converter._dispatch("lists.after",e,t,n)}),l.subParser("metadata",function(e,t,n){"use strict";function a(e){n.metadata.raw=e,e=e.replace(/&/g,"&").replace(/"/g,"""),e=e.replace(/\n {4}/g," "),e.replace(/^([\S ]+): +([\s\S]+?)$/gm,function(e,t,a){return n.metadata.parsed[t]=a,""})}return t.metadata?(e=n.converter._dispatch("metadata.before",e,t,n),e=e.replace(/^\s*«««+(\S*?)\n([\s\S]+?)\n»»»+\n/,function(e,t,n){return a(n),"¨M"}),e=e.replace(/^\s*---+(\S*?)\n([\s\S]+?)\n---+\n/,function(e,t,r){return t&&(n.metadata.format=t),a(r),"¨M"}),e=e.replace(/¨M/g,""),e=n.converter._dispatch("metadata.after",e,t,n)):e}),l.subParser("outdent",function(e,t,n){"use strict";return e=n.converter._dispatch("outdent.before",e,t,n),e=e.replace(/^(\t|[ ]{1,4})/gm,"¨0"),e=e.replace(/¨0/g,""),e=n.converter._dispatch("outdent.after",e,t,n)}),l.subParser("paragraphs",function(e,t,n){"use strict";e=n.converter._dispatch("paragraphs.before",e,t,n),e=e.replace(/^\n+/g,""),e=e.replace(/\n+$/g,"");for(var a=e.split(/\n{2,}/g),r=[],i=a.length,o=0;o=0?r.push(c):c.search(/\S/)>=0&&(c=l.subParser("spanGamut")(c,t,n),c=c.replace(/^([ \t]*)/g,""),c+="
",r.push(c))}for(i=r.length,o=0;o]*>\s*]*>/.test(u)&&(p=!0)}r[o]=u}return e=r.join("\n"),e=e.replace(/^\n+/g,""),e=e.replace(/\n+$/g,""),n.converter._dispatch("paragraphs.after",e,t,n)}),l.subParser("runExtension",function(e,t,n,a){"use strict";if(e.filter)t=e.filter(t,a.converter,n);else if(e.regex){var r=e.regex;r instanceof RegExp||(r=new RegExp(r,"g")),t=t.replace(r,e.replace)}return t}),l.subParser("spanGamut",function(e,t,n){"use strict";return e=n.converter._dispatch("spanGamut.before",e,t,n),e=l.subParser("codeSpans")(e,t,n),e=l.subParser("escapeSpecialCharsWithinTagAttributes")(e,t,n),e=l.subParser("encodeBackslashEscapes")(e,t,n),e=l.subParser("images")(e,t,n),e=l.subParser("anchors")(e,t,n),e=l.subParser("autoLinks")(e,t,n),e=l.subParser("simplifiedAutoLinks")(e,t,n),e=l.subParser("emoji")(e,t,n),e=l.subParser("underline")(e,t,n),e=l.subParser("italicsAndBold")(e,t,n),e=l.subParser("strikethrough")(e,t,n),e=l.subParser("ellipsis")(e,t,n),e=l.subParser("hashHTMLSpans")(e,t,n),e=l.subParser("encodeAmpsAndAngles")(e,t,n),t.simpleLineBreaks?/\n\n¨K/.test(e)||(e=e.replace(/\n+/g,"
\n")):e=e.replace(/ +\n/g,"
\n"),e=n.converter._dispatch("spanGamut.after",e,t,n)}),l.subParser("strikethrough",function(e,t,n){"use strict";function a(e){return t.simplifiedAutoLink&&(e=l.subParser("simplifiedAutoLinks")(e,t,n)),""+e+""}return t.strikethrough&&(e=n.converter._dispatch("strikethrough.before",e,t,n),e=e.replace(/(?:~){2}([\s\S]+?)(?:~){2}/g,function(e,t){return a(t)}),e=n.converter._dispatch("strikethrough.after",e,t,n)),e}),l.subParser("stripLinkDefinitions",function(e,t,n){"use strict";var a=/^ {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=/^ {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;e+="¨0";var i=function(e,a,r,i,o,c,s){return a=a.toLowerCase(),n.gUrls[a]=r.match(/^data:.+?\/.+?;base64,/)?r.replace(/\s/g,""):l.subParser("encodeAmpsAndAngles")(r,t,n),c?c+s:(s&&(n.gTitles[a]=s.replace(/"|'/g,""")),t.parseImgDimensions&&i&&o&&(n.gDimensions[a]={width:i,height:o}),"")};return e=e.replace(r,i),e=e.replace(a,i),e=e.replace(/¨0/,"")}),l.subParser("tables",function(e,t,n){"use strict";function a(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 r(e,a){var r="";return e=e.trim(),(t.tablesHeaderId||t.tableHeaderId)&&(r=' id="'+e.replace(/ /g,"_").toLowerCase()+'"'),e=l.subParser("spanGamut")(e,t,n),""+e+" \n"}function i(e,a){return""+l.subParser("spanGamut")(e,t,n)+" \n"}function o(e,t){for(var n="\n\n\n",a=e.length,r=0;r\n \n\n",r=0;r\n";for(var i=0;i\n"}return n+=" \n
\n"}function c(e){var c,s=e.split("\n");for(c=0;c"+t+""}),e=e.replace(/\b__(\S[\s\S]*?)__\b/g,function(e,t){return""+t+""})):(e=e.replace(/___(\S[\s\S]*?)___/g,function(e,t){return/\S$/.test(t)?""+t+"":e}),e=e.replace(/__(\S[\s\S]*?)__/g,function(e,t){return/\S$/.test(t)?""+t+"":e})),e=e.replace(/(_)/g,l.helper.escapeCharactersCallback),e=n.converter._dispatch("underline.after",e,t,n)):e}),l.subParser("unescapeSpecialChars",function(e,t,n){"use strict";return e=n.converter._dispatch("unescapeSpecialChars.before",e,t,n),e=e.replace(/¨E(\d+)E/g,function(e,t){var n=parseInt(t);return String.fromCharCode(n)}),e=n.converter._dispatch("unescapeSpecialChars.after",e,t,n)}),l.subParser("makeMarkdown.blockquote",function(e,t){"use strict";var n="";if(e.hasChildNodes())for(var a=e.childNodes,r=a.length,i=0;i "+n.split("\n").join("\n> ")}),l.subParser("makeMarkdown.codeBlock",function(e,t){"use strict";return"```"+e.getAttribute("language")+"\n"+t.preList[e.getAttribute("precodenum")]+"\n```"}),l.subParser("makeMarkdown.codeSpan",function(e){"use strict";return"`"+e.innerHTML+"`"}),l.subParser("makeMarkdown.emphasis",function(e,t){"use strict";var n="";if(e.hasChildNodes()){n+="*";for(var a=e.childNodes,r=a.length,i=0;i",e.hasAttribute("width")&&e.hasAttribute("height")&&(t+=" ="+e.getAttribute("width")+"x"+e.getAttribute("height")),e.hasAttribute("title")&&(t+=' "'+e.getAttribute("title")+'"'),t+=")"),t}),l.subParser("makeMarkdown.links",function(e,t){"use strict";var n="";if(e.hasChildNodes()&&e.hasAttribute("href")){var a=e.childNodes,r=a.length;n="[";for(var i=0;i",e.hasAttribute("title")&&(n+=' "'+e.getAttribute("title")+'"'),n+=")"}return n}),l.subParser("makeMarkdown.list",function(e,t,n){"use strict";var a="";if(!e.hasChildNodes())return"";for(var r=e.childNodes,i=r.length,o=e.getAttribute("start")||1,c=0;c"+t.preList[e.getAttribute("prenum")]+"
"}),l.subParser("makeMarkdown.strikethrough",function(e,t){"use strict";var n="";if(e.hasChildNodes()){n+="~~";for(var a=e.childNodes,r=a.length,i=0;itr>th"),c=e.querySelectorAll("tbody>tr");for(n=0;nb&&(b=m)}for(n=0;n/g,"\\$1>"),t=t.replace(/^#/gm,"\\#"),t=t.replace(/^(\s*)([-=]{3,})(\s*)$/,"$1\\$2$3"),t=t.replace(/^( {0,3}\d+)\./gm,"$1\\."),t=t.replace(/^( {0,3})([+-])/gm,"$1\\$2"),t=t.replace(/]([\s]*)\(/g,"\\]$1\\("),t=t.replace(/^ {0,3}\[([\S \t]*?)]:/gm,"\\[$1]:")});void 0!==(a=function(){"use strict";return l}.call(t,n,t,e))&&(e.exports=a)}).call(this)},J9SO:function(e){e.exports={thesis:"thesis__3uAQ4"}},JkW7:function(e,t,n){"use strict";function a(e,t){for(var n in t)e[n]=t[n];return e}function r(e,t,n){var a,r=/(?:\?([^#]*))?(#.*)?$/,i=e.match(r),o={};if(i&&i[1])for(var c=i[1].split("&"),s=0;st.rank?-1:e.index-t.index}function o(e,t){return e.index=t,e.rank=u(e),e.attributes}function l(e){return e.replace(/(^\/+|\/+$)/g,"").split("/")}function c(e){return":"==e.charAt(0)?1+"*+?".indexOf(e.charAt(e.length-1))||4:5}function s(e){return l(e).map(c).join("")}function u(e){return e.attributes.default?0:s(e.attributes.path)}function p(e){return null!=e.__preactattr_||"undefined"!=typeof Symbol&&null!=e[Symbol.for("preactattr")]}function h(e,t){void 0===t&&(t="push"),ze&&ze[t]?ze[t](e):"undefined"!=typeof history&&history[t+"State"]&&history[t+"State"](null,null,e)}function d(){var e;return e=ze&&ze.location?ze.location:ze&&ze.getCurrentLocation?ze.getCurrentLocation():"undefined"!=typeof location?location:Ce,""+(e.pathname||"")+(e.search||"")}function b(e,t){return void 0===t&&(t=!1),"string"!=typeof e&&e.url&&(t=e.replace,e=e.url),m(e)&&h(e,t?"replace":"push"),f(e)}function m(e){for(var t=Pe.length;t--;)if(Pe[t].canRoute(e))return!0;return!1}function f(e){for(var t=!1,n=0;n0},t.prototype.routeTo=function(e){return this._didRoute=!1,this.setState({url:e}),this.updating?this.canRoute(e):(this.forceUpdate(),this._didRoute)},t.prototype.componentWillMount=function(){Pe.push(this),this.updating=!0},t.prototype.componentDidMount=function(){var e=this;ze&&(this.unlisten=ze.listen(function(t){e.routeTo(""+(t.pathname||"")+(t.search||""))})),this.updating=!1},t.prototype.componentWillUnmount=function(){"function"==typeof this.unlisten&&this.unlisten(),Pe.splice(Pe.indexOf(this),1)},t.prototype.componentWillUpdate=function(){this.updating=!0},t.prototype.componentDidUpdate=function(){this.updating=!1},t.prototype.getMatchingChildren=function(e,t,n){return e.filter(o).sort(i).map(function(e){var i=r(t,e.attributes.path,e.attributes);if(i){if(!1!==n){var o={url:t,matches:i};return a(o,i),delete o.ref,delete o.key,Object(ye.cloneElement)(e,o)}return e}}).filter(Boolean)},t.prototype.render=function(e,t){var n=e.children,a=e.onChange,r=t.url,i=this.getMatchingChildren(n,r,!0),o=i[0]||null;this._didRoute=!!o;var l=this.previousUrl;return r!==l&&(this.previousUrl=r,"function"==typeof a&&a({router:this,url:r,previous:l,active:i,current:o})),o},t}(ye.Component),Ae=function(e){return Object(ye.h)("a",a({onClick:_},e))},Le=function(e){return Object(ye.h)(e.component,e)};xe.subscribers=Ee,xe.getCurrentUrl=d,xe.route=b,xe.Router=xe,xe.Route=Le,xe.Link=Ae;var Fe=xe,Me=n("36Ou"),Te=n.n(Me),Ie=n("P9k+"),qe=n.n(Ie),De=function(e){function t(){return w(this,e.apply(this,arguments))}return y(t,e),t.prototype.getStyle=function(){return qe.a.panel},t.prototype.render=function(){var e=null;return void 0!==this.props.title&&(e=Object(ye.h)("h3",null,this.props.title)),Object(ye.h)("div",{class:this.getStyle(),id:this.props.id},e,this.props.children)},t}(ye.Component),Be=n("1EpE"),Ne=n.n(Be),Re=function(e){function t(){return k(this,t),z(this,e.apply(this,arguments))}return P(t,e),t.prototype.render=function(){var e=null;void 0!==this.props.title&&(e=Object(ye.h)("h2",null,this.props.title));var t=void 0;return t=Array.isArray(this.props.children)?this.props.children.map(function(e){return Object(ye.h)("div",{class:Ne.a.splitchild},e)}):Object(ye.h)("div",{class:Ne.a.splitchild},this.props.children),Object(ye.h)("div",{class:Ne.a.split},e,Object(ye.h)("div",{class:Ne.a.splitparent},t))},t}(ye.Component),He=n("tO1d"),Ue=n.n(He),Ve=function(e){function t(){return E(this,t),C(this,e.apply(this,arguments))}return S(t,e),t.prototype.render=function(){return Object(ye.h)("span",{class:Ue.a.todo},this.props.children)},t}(ye.Component),We=Object(ye.h)("h1",null,"Indice"),Ge=Object(ye.h)(Re,{title:"Argomenti"},Object(ye.h)(De,{title:Object(ye.h)("a",{href:"/statistica"},"Statistica ed elementi di probabilità")},Object(ye.h)("p",null,"Appunti scritti mentre studiavo per l'esame di ",Object(ye.h)("a",{href:"http://personale.unimore.it/rubrica/contenutiad/llarocca/2019/58028/N0/N0/9999"},"Statistica ed elementi di probabilità")," del ",Object(ye.h)("a",{href:"https://www.unimore.it/didattica/mlaurea.html?ID=54"},"corso triennale di Informatica")," all'",Object(ye.h)("a",{href:"https://www.unimore.it/"},"Unimore")," del Prof. ",Object(ye.h)("a",{href:"http://personale.unimore.it/rubrica/dettaglio/llarocca"},"Luca La Rocca"),"."),Object(ye.h)("p",null,Object(ye.h)(Ve,null,"TODO: è ancora incompleto!"))),Object(ye.h)(De,{title:Object(ye.h)("a",{href:"https://github.com/Steffo99/cleaver"},"Cleaver")},Object(ye.h)("p",null,"Progetto in Java sviluppato per l'esame di ",Object(ye.h)("a",{href:"http://personale.unimore.it/rubrica/contenutiad/gcabri/2019/58026/N0/N0/9999"},"Programmazione ad Oggetti")," del ",Object(ye.h)("a",{href:"https://www.unimore.it/didattica/mlaurea.html?ID=54"},"corso triennale di Informatica")," all'",Object(ye.h)("a",{href:"https://www.unimore.it/"},"Unimore"),", tenuto dai Prof. ",Object(ye.h)("a",{href:"http://personale.unimore.it/rubrica/dettaglio/gcabri"},"Giacomo Cabri")," e ",Object(ye.h)("a",{href:"http://personale.unimore.it/Rubrica/Dettaglio/n.capodieci"},"Nicola Capodieci"),".")),Object(ye.h)(De,{title:Object(ye.h)("a",{href:"/fisica"},"Fisica")},Object(ye.h)("p",null,"Appunti delle ",Object(ye.h)("a",{href:"http://personale.unimore.it/rubrica/contenutiad/brunetti/2019/58025/N0/N0/9999"},"lezioni di Fisica")," del ",Object(ye.h)("a",{href:"https://www.unimore.it/didattica/mlaurea.html?ID=54"},"corso triennale di Informatica")," all'",Object(ye.h)("a",{href:"https://www.unimore.it/"},"Unimore"),", tenute dalla ",Object(ye.h)("a",{href:"https://personale.unimore.it/rubrica/dettaglio/brunetti"},"Prof.ssa Rossella Brunetti")," nel primo semestre dell'Anno Accademico 2019/2020.")),Object(ye.h)(De,{title:Object(ye.h)("a",{href:"https://github.com/Steffo99/appunti-universitari/tree/master/2019_SistemiOperativi/Arzigogoli"},"Sistemi Operativi")},Object(ye.h)("p",null,"Soluzioni agli ",Object(ye.h)("a",{href:"https://weblab.ing.unimore.it/people/andreolini/didattica/sistemi-operativi/index.html#arzigogoli"},"Arzigogoli")," proposti dal ",Object(ye.h)("a",{href:"https://personale.unimore.it/rubrica/dettaglio/andreolini"},"Prof. Mauro Andreolini")," durante le ",Object(ye.h)("a",{href:"https://personale.unimore.it/rubrica/contenutiad/andreolini/2019/58027/N0/N0/9999"},"lezioni di Sistemi Operativi")," del ",Object(ye.h)("a",{href:"https://www.unimore.it/didattica/mlaurea.html?ID=54"},"corso triennale di Informatica")," all'",Object(ye.h)("a",{href:"https://www.unimore.it/"},"Unimore")," tenutesi nel primo semestre dell'Anno Accademico 2019/2020.")),Object(ye.h)(De,{title:Object(ye.h)("a",{href:"https://github.com/Steffo99/appunti-universitari/tree/master/2018_AlgoritmiEStruttureDati"},"Algoritmi e Strutture Dati")},Object(ye.h)("p",null,"Appunti delle ",Object(ye.h)("a",{href:"https://personale.unimore.it/rubrica/contenutiad/mmontangero/2018/58133/N0/N0/9999"},"lezioni di Algoritmi e Strutture Dati")," del ",Object(ye.h)("a",{href:"https://www.unimore.it/didattica/mlaurea.html?ID=54"},"corso triennale di Informatica")," all'",Object(ye.h)("a",{href:"https://www.unimore.it/"},"Unimore"),", tenute dalla ",Object(ye.h)("a",{href:"https://personale.unimore.it/rubrica/dettaglio/mmontangero"},"Prof.ssa Manuela Montangero")," nel secondo semestre dell'Anno Accademico 2018/2019.")),Object(ye.h)(De,{title:Object(ye.h)("a",{href:"/vldigeometria"},"Videolezioni di Geometria")},Object(ye.h)("p",null,"Ottime videolezioni di Geometria con licenza ",Object(ye.h)("a",{href:"https://creativecommons.org/licenses/by-nc-sa/4.0/"},"CC BY-NC-SA 4.0")," che ho trovato sul ",Object(ye.h)("a",{href:"https://dolly.fim.unimore.it/2018/course/view.php?id=14#section-0"},"portale Dolly 2018")," dell'",Object(ye.h)("a",{href:"https://www.unimore.it/"},"Unimore"),".")),Object(ye.h)(De,{title:Object(ye.h)("a",{href:"/mingwinstall"},"Come installare MinGW")},Object(ye.h)("p",null,"Un breve tutorial con immagini su come installare e configurare ",Object(ye.h)("a",{href:"https://it.wikipedia.org/wiki/MinGW"},"MinGW")," per compilare programmi C e C++ su Windows."))),$e=Object(ye.h)(Re,{title:"Altri collegamenti utili"},Object(ye.h)(De,{title:Object(ye.h)("a",{href:"https://t.me/unimoreinfo"},"@unimoreinfo")},Object(ye.h)("p",null,"Il gruppo ",Object(ye.h)("a",{href:"https://telegram.org/"},"Telegram")," del corso di Informatica dell'Unimore!")),Object(ye.h)(De,{title:Object(ye.h)("a",{href:"https://calendar.google.com/calendar?cid=MmYza2o2M3VuZWQ1cmZqaGpmOGY0MWFrNmdAZ3JvdXAuY2FsZW5kYXIuZ29vZ2xlLmNvbQ"},"Calendario Lezioni")},Object(ye.h)("p",null,"Calendario Google ",Object(ye.h)("small",null,"quasi")," sempre aggiornato delle lezioni e degli esami del secondo anno dell'",Object(ye.h)("a",{href:"https://www.unimore.it/"},"Unimore")," durante l'Anno Accademico 2019/2020.")),Object(ye.h)(De,{title:Object(ye.h)("a",{href:"http://erre2.fermitech.info/dashboard"},"Erre2")},Object(ye.h)("p",null,"Portale contenente appunti e riassunti mantenuto da ",Object(ye.h)("a",{href:"https://github.com/LBindustries"},"Lorenzo Balugani"),".")),Object(ye.h)(De,{title:Object(ye.h)("a",{href:"https://github.com/vezzalinistefano/Appunti-Algoritmi"},"vezzalinistefano/Appunti-Algoritmi")},Object(ye.h)("p",null,"Appunti di Algoritmi e Strutture Dati mantenuti da ",Object(ye.h)("a",{href:"https://github.com/vezzalinistefano/"},"Vezzalini Stefano"),"."))),Ze=function(e){function t(){return x(this,t),A(this,e.apply(this,arguments))}return L(t,e),t.prototype.render=function(){return Object(ye.h)("div",{style:Te.a.home},We,Ge,$e)},t}(ye.Component),Ke=n("0lnO"),Ye=n.n(Ke),Qe=n("+uq9"),Je=n.n(Qe),Xe=function(e){function t(){return F(this,t),M(this,e.apply(this,arguments))}return T(t,e),t.prototype.render=function(){var e="{\\color{White} "+this.props.children+" }";return Object(ye.h)("img",{src:"https://latex.codecogs.com/png.latex?"+e,alt:this.props.children,title:this.props.children,class:Je.a.latex})},t}(ye.Component),et=n("ddTt"),tt=n.n(et),nt=function(e){function t(){return I(this,t),q(this,e.apply(this,arguments))}return D(t,e),t.prototype.render=function(){return Object(ye.h)("span",{class:tt.a.plus},this.props.children)},t}(ye.Component),at=n("MeW5"),rt=n.n(at),it=function(e){function t(){return B(this,t),N(this,e.apply(this,arguments))}return R(t,e),t.prototype.render=function(){return Object(ye.h)("span",{class:rt.a.minus},this.props.children)},t}(ye.Component),ot=H(["\vec{v} = \vec{v}_x + \vec{v}_y"],["\\vec{v} = \\vec{v}_x + \\vec{v}_y"]),lt=H(["left | \vec{v}_x \right | = left | \vec{v} \right | sin alpha"],["\\left | \\vec{v}_x \\right | = \\left | \\vec{v} \\right | \\sin \\alpha"]),ct=H(["left | \vec{v}_y \right | = left | \vec{v} \right | cos alpha"],["\\left | \\vec{v}_y \\right | = \\left | \\vec{v} \\right | \\cos \\alpha"]),st=H(["\vec{v} + \vec{w} = (\vec{v}_x + \vec{w}_x) + (\vec{v}_y + \vec{w}_y)"],["\\vec{v} + \\vec{w} = (\\vec{v}_x + \\vec{w}_x) + (\\vec{v}_y + \\vec{w}_y)"]),ut=H(["\vec{v} - \vec{w} = (\vec{v}_x - \vec{w}_x) + (\vec{v}_y - \vec{w}_y)"],["\\vec{v} - \\vec{w} = (\\vec{v}_x - \\vec{w}_x) + (\\vec{v}_y - \\vec{w}_y)"]),pt=H(["\vec{v} cdot \vec{w} = left | \vec{v} \right | left | \vec{w} \right | cos alpha"],["\\vec{v} \\cdot \\vec{w} = \\left | \\vec{v} \\right | \\left | \\vec{w} \\right | \\cos \\alpha"]),ht=H(["\vec{a}"],["\\vec{a}"]),dt=H(["\vec{b}"],["\\vec{b}"]),bt=H(["\vec{c} = \vec{a} \times \vec{b}"],["\\vec{c} = \\vec{a} \\times \\vec{b}"]),mt=H(["left | \vec{c} \right | = left | \vec{a} \right | cdot left | \vec{b} \right | cdot sin(alpha)"],["\\left | \\vec{c} \\right | = \\left | \\vec{a} \\right | \\cdot \\left | \\vec{b} \\right | \\cdot \\sin(\\alpha)"]),ft=H(["Sigma \vec{F} = 0 Longleftrightarrow Delta v = 0"],["\\Sigma \\vec{F} = 0 \\Longleftrightarrow \\Delta v = 0"]),gt=H(["Sigma \vec{F} = m \vec{a}"],["\\Sigma \\vec{F} = m \\vec{a}"]),_t=H(["\vec{F}_{21} = -\vec{F}_{12}"],["\\vec{F}_{21} = -\\vec{F}_{12}"]),jt=H(["left | \vec{F} \right | = G \frac{m_1 m_2}{s^2}"],["\\left | \\vec{F} \\right | = G \\frac{m_1 m_2}{s^2}"]),Ot=H(["G = 6.67 cdot 10^{-11} \frac{N m^2}{{kg}^2}"],["G = 6.67 \\cdot 10^{-11} \\frac{N m^2}{{kg}^2}"]),vt=H(["left | \vec{F} \right | = g m"],["\\left | \\vec{F} \\right | = g m"]),wt=H(["g = 9.81 \frac{m}{s^2}"],["g = 9.81 \\frac{m}{s^2}"]),yt=H(["g_{luna} = 1.62 \frac{m}{s^2}"],["g_{luna} = 1.62 \\frac{m}{s^2}"]),kt=H(["g_{marte} = 3.71 \frac{m}{s^2}"],["g_{marte} = 3.71 \\frac{m}{s^2}"]),zt=H(["left | \vec{F} \right | leq mu_{s} left | \vec{F}_{normale} \right |"],["\\left | \\vec{F} \\right | \\leq \\mu_{s} \\left | \\vec{F}_{normale} \\right |"]),Pt=H(["left | \vec{F} \right | leq mu_{d} left | \vec{F}_{normale} \right |"],["\\left | \\vec{F} \\right | \\leq \\mu_{d} \\left | \\vec{F}_{normale} \\right |"]),Et=H(["F = -k x"],["F = -k x"]),Ct=H(["Delta \vec{s} = \vec{s}(fine) - \vec{s}(inizio)"],["\\Delta \\vec{s} = \\vec{s}(fine) - \\vec{s}(inizio)"]),St=H(["\vec{v} = \frac{Delta \vec{s}}{Delta t}"],["\\vec{v} = \\frac{\\Delta \\vec{s}}{\\Delta t}"]),xt=H(["\vec{v} = lim_{Delta t \to 0} \frac{Delta \vec{s}}{Delta t} = \frac{d \vec{s}}{dt}"],["\\vec{v} = \\lim_{\\Delta t \\to 0} \\frac{\\Delta \\vec{s}}{\\Delta t} = \\frac{d \\vec{s}}{dt}"]),At=H(["\vec{a} = \frac{Delta \vec{v}}{Delta t}"],["\\vec{a} = \\frac{\\Delta \\vec{v}}{\\Delta t}"]),Lt=H(["\vec{a} = lim_{Delta v \to 0} \frac{Delta \vec{v}}{Delta t} = \frac{d \vec{v}}{d t} = \frac{d^2 \vec{s}}{d t^2}"],["\\vec{a} = \\lim_{\\Delta v \\to 0} \\frac{\\Delta \\vec{v}}{\\Delta t} = \\frac{d \\vec{v}}{d t} = \\frac{d^2 \\vec{s}}{d t^2}"]),Ft=H(["\vec{p} = m \vec{v}"],["\\vec{p} = m \\vec{v}"]),Mt=H(["Sigma \vec{F} = 0 Longleftrightarrow Delta \vec{p} = 0"],["\\Sigma \\vec{F} = 0 \\Longleftrightarrow \\Delta \\vec{p} = 0"]),Tt=H(["s(t) = v cdot Delta t + s(0)"],["s(t) = v \\cdot \\Delta t + s(0)"]),It=H(["v(t) = k"],["v(t) = k"]),qt=H(["a(t) = 0"],["a(t) = 0"]),Dt=H(["s(t) = \frac{1}{2} a cdot (Delta t)^2 + v(0) cdot (Delta t) + s(0)"],["s(t) = \\frac{1}{2} a \\cdot (\\Delta t)^2 + v(0) \\cdot (\\Delta t) + s(0)"]),Bt=H(["v(t) = a Delta t + v(0)"],["v(t) = a \\Delta t + v(0)"]),Nt=H(["a(t) = k"],["a(t) = k"]),Rt=H(["omega = \frac{2 pi}{T}"],["\\omega = \\frac{2 \\pi}{T}"]),Ht=H(["s(t) = A sin (omega cdot t + phi)"],["s(t) = A \\sin (\\omega \\cdot t + \\phi)"]),Ut=H(["\frac{pi}{2}"],["\\frac{\\pi}{2}"]),Vt=H(["v(t) = A sin (omega cdot t + phi + \frac{pi}{2})"],["v(t) = A \\sin (\\omega \\cdot t + \\phi + \\frac{\\pi}{2})"]),Wt=H(["pi"],["\\pi"]),Gt=H(["a(t) = A sin (omega cdot t + phi + pi)"],["a(t) = A \\sin (\\omega \\cdot t + \\phi + \\pi)"]),$t=H(["phi"],["\\phi"]),Zt=H(["v = \frac{Delta s}{t} = \frac{2 pi cdot r}{T} = omega r"],["v = \\frac{\\Delta s}{t} = \\frac{2 \\pi \\cdot r}{T} = \\omega r"]),Kt=H(["a = \frac{v^2}{r} = r cdot omega^2 = v cdot omega"],["a = \\frac{v^2}{r} = r \\cdot \\omega^2 = v \\cdot \\omega"]),Yt=H(["F = m cdot a"],["F = m \\cdot a"]),Qt=H(["W = \vec{F} cdot \vec{s} = F cdot Delta s cdot cos(alpha )"],["W = \\vec{F} \\cdot \\vec{s} = F \\cdot \\Delta s \\cdot cos(\\alpha )"]),Jt=H(["E_c = \frac{1}{2} m v^2"],["E_c = \\frac{1}{2} m v^2"]),Xt=H(["Delta E_c = W"],["\\Delta E_c = W"]),en=H(["E_{p_g} = m cdot g cdot h"],["E_{p_g} = m \\cdot g \\cdot h"]),tn=H(["E_{p_e} = \frac{1}{2} k x^2"],["E_{p_e} = \\frac{1}{2} k x^2"]),nn=H(["E = E_k + E_p"],["E = E_k + E_p"]),an=H(["P = \frac{Delta E}{Delta t}"],["P = \\frac{\\Delta E}{\\Delta t}"]),rn=H(["C_{elettrone} = 1.602 cdot 10^{-19}"],["C_{elettrone} = 1.602 \\cdot 10^{-19}"]),on=H(["left | \vec{F}_{elettrica} \right | = \frac{-k cdot q_1 cdot q_2}{s^2}"],["\\left | \\vec{F}_{elettrica} \\right | = \\frac{-k \\cdot q_1 \\cdot q_2}{s^2}"]),ln=H(["k"],["k"]),cn=H(["k = 8.99 cdot 10^9 \frac{N cdot m^2}{C^2}"],["k = 8.99 \\cdot 10^9 \\frac{N \\cdot m^2}{C^2}"]),sn=H(["epsilon_0"],["\\epsilon_0"]),un=H(["k = \frac{1}{4 pi cdot epsilon_0}"],["k = \\frac{1}{4 \\pi \\cdot \\epsilon_0}"]),pn=H(["left | \vec{F}_{elettrica} \right | = \frac{q_1 cdot q_2}{4 pi cdot epsilon_0 cdot s^2}"],["\\left | \\vec{F}_{elettrica} \\right | = \\frac{q_1 \\cdot q_2}{4 \\pi \\cdot \\epsilon_0 \\cdot s^2}"]),hn=H(["\vec{E} = \frac{\vec{F}_{elettrica}}{q} = \frac{-k cdot q}{s^2}"],["\\vec{E} = \\frac{\\vec{F}_{elettrica}}{q} = \\frac{-k \\cdot q}{s^2}"]),dn=H(["Phi_E = \vec{E} cdot \vec{A}"],["\\Phi_E = \\vec{E} \\cdot \\vec{A}"]),bn=H(["Phi_E = \vec{E} cdot \vec{A} = E_perp cdot A cdot cos(alpha)"],["\\Phi_E = \\vec{E} \\cdot \\vec{A} = E_\\perp \\cdot A \\cdot \\cos(\\alpha)"]),mn=H(["Phi_E = 4 pi cdot k cdot q = \frac{q}{epsilon_0}"],["\\Phi_E = 4 \\pi \\cdot k \\cdot q = \\frac{q}{\\epsilon_0}"]),fn=H(["U_e"],["U_e"]),gn=H(["V = \frac{U_e}{q}"],["V = \\frac{U_e}{q}"]),_n=H(["V"],["V"]),jn=H(["I = \frac{Delta q}{Delta t}"],["I = \\frac{\\Delta q}{\\Delta t}"]),On=H(["A"],["A"]),vn=H(["P = \frac{Delta U_e}{Delta t} = I cdot Delta V = I^2 cdot R = \frac{(Delta V)^2}{R}"],["P = \\frac{\\Delta U_e}{\\Delta t} = I \\cdot \\Delta V = I^2 \\cdot R = \\frac{(\\Delta V)^2}{R}"]),wn=H(["V = R cdot I"],["V = R \\cdot I"]),yn=H(["R"],["R"]),kn=H(["Omega"],["\\Omega"]),zn=H(["R = \rho \frac{L_{unghezza}}{A_{rea}}"],["R = \\rho \\frac{L_{unghezza}}{A_{rea}}"]),Pn=H(["\rho"],["\\rho"]),En=H(["\rho = \rho_0 (1 + alpha(T - T_0))"],["\\rho = \\rho_0 (1 + \\alpha(T - T_0))"]),Cn=H(["C = \frac{q_{massima}}{Delta V}"],["C = \\frac{q_{massima}}{\\Delta V}"]),Sn=H(["C_{nuova} = kappa cdot \frac{epsilon_0 cdot A}{s}"],["C_{nuova} = \\kappa \\cdot \\frac{\\epsilon_0 \\cdot A}{s}"]),xn=H(["kappa"],["\\kappa"]),An=H(["s"],["s"]),Ln=H(["Fa"],["Fa"]),Fn=H(["R_{serie} = sum_{i=1}^{n} R_i"],["R_{serie} = \\sum_{i=1}^{n} R_i"]),Mn=H(["R_{parallelo} = \frac{1}{sum_{i=1}^{n} \frac{1}{R_i}}"],["R_{parallelo} = \\frac{1}{\\sum_{i=1}^{n} \\frac{1}{R_i}}"]),Tn=H(["C_{serie} = \frac{1}{sum_{i=1}^{n} \frac{1}{C_i}}"],["C_{serie} = \\frac{1}{\\sum_{i=1}^{n} \\frac{1}{C_i}}"]),In=H(["C_{parallelo} = sum_{i=1}^{n} C_n"],["C_{parallelo} = \\sum_{i=1}^{n} C_n"]),qn=H(["mu_0 = 4 pi cdot 10^{-7} \frac{H}{m}"],["\\mu_0 = 4 \\pi \\cdot 10^{-7} \\frac{H}{m}"]),Dn=H(["\frac{N}{A^2}"],["\\frac{N}{A^2}"]),Bn=H(["B"],["B"]),Nn=H(["Phi_{B_{i}} = \vec{B} cdot \vec{L}_n = B cdot L_i cdot sin(alpha) = B_parallel cdot L_i"],["\\Phi_{B_{i}} = \\vec{B} \\cdot \\vec{L}_n = B \\cdot L_i \\cdot \\sin(\\alpha) = B_\\parallel \\cdot L_i"]),Rn=H(["Phi_{B} = sum_{i=0}^{n_{lati}} Phi_{Bn}"],["\\Phi_{B} = \\sum_{i=0}^{n_{lati}} \\Phi_{Bn}"]),Hn=H(["Wb = T cdot m^2"],["Wb = T \\cdot m^2"]),Un=H(["Phi_B = mu_0 cdot I"],["\\Phi_B = \\mu_0 \\cdot I"]),Vn=H(["\vec{F}_{B} = q cdot (\vec{v} \times \vec{B})"],["\\vec{F}_{B} = q \\cdot (\\vec{v} \\times \\vec{B})"]),Wn=H(["\vec{B}"],["\\vec{B}"]),Gn=H(["\vec{v}"],["\\vec{v}"]),$n=H(["\vec{F}_{magnetica} = I cdot (\vec{L} \times \vec{B})"],["\\vec{F}_{magnetica} = I \\cdot (\\vec{L} \\times \\vec{B})"]),Zn=H(["I"],["I"]),Kn=H(["\vec{L}"],["\\vec{L}"]),Yn=H(["left | \vec{B} \right | = mu_0 cdot I cdot \frac{A_{vvolgimenti}}{L_{unghezzafilo}}"],["\\left | \\vec{B} \\right | = \\mu_0 \\cdot I \\cdot \\frac{A_{vvolgimenti}}{L_{unghezzafilo}}"]),Qn=H(["left | \vec{B} \right | = \frac{mu cdot I}{2 pi r}"],["\\left | \\vec{B} \\right | = \\frac{\\mu \\cdot I}{2 \\pi r}"]),Jn=H(["Delta V_{indotta} = v cdot B cdot L"],["\\Delta V_{indotta} = v \\cdot B \\cdot L"]),Xn=H(["Phi_B = \vec{B} cdot \vec{A} = B cdot A cdot cos(alpha)"],["\\Phi_B = \\vec{B} \\cdot \\vec{A} = B \\cdot A \\cdot \\cos(\\alpha)"]),ea=H(["Delta V_{indotta} = - \frac{Delta Phi_B}{Delta t}"],["\\Delta V_{indotta} = - \\frac{\\Delta \\Phi_B}{\\Delta t}"]),ta=H(["Delta V_{indotta} = - \frac{N cdot Delta Phi_{B_{spira}}}{Delta t} = - \frac{N cdot B cdot A cdot cos(alpha)}{Delta t}"],["\\Delta V_{indotta} = - \\frac{N \\cdot \\Delta \\Phi_{B_{spira}}}{\\Delta t} = - \\frac{N \\cdot B \\cdot A \\cdot cos(\\alpha)}{\\Delta t}"]),na=H(["N"],["N"]),aa=H(["E"],["E"]),ra=H(["E = c cdot B"],["E = c \\cdot B"]),ia=H(["c"],["c"]),oa=H(["c = \frac{1}{sqrt{epsilon_0 cdot mu_0}} = 3.00 cdot 10^8 \frac{m}{s}"],["c = \\frac{1}{\\sqrt{\\epsilon_0 \\cdot \\mu_0}} = 3.00 \\cdot 10^8 \\frac{m}{s}"]),la=H(["A(t) = A_{max} cdot sin left ( \frac{2 pi}{lambda} - omega t + phi \right )"],["A(t) = A_{max} \\cdot \\sin \\left ( \\frac{2 \\pi}{\\lambda} - \\omega t + \\phi \\right )"]),ca=H(["A_{max}"],["A_{max}"]),sa=H(["\frac{2 pi}{lambda} = left | \vec{k} \right |"],["\\frac{2 \\pi}{\\lambda} = \\left | \\vec{k} \\right |"]),ua=H(["omega"],["\\omega"]),pa=H(["\frac{1}{lambda} = R left ( \frac{1}{4} - \frac{1}{n^2} \right )"],["\\frac{1}{\\lambda} = R \\left ( \\frac{1}{4} - \\frac{1}{n^2} \\right )"]),ha=H(["R = 1.097 cdot 10^7 \frac{1}{m}"],["R = 1.097 \\cdot 10^7 \\frac{1}{m}"]),da=H(["n"],["n"]),ba=H(["h"],["h"]),ma=H(["hbar = left ( \frac{h}{2 pi} \right )"],["\\hbar = \\left ( \\frac{h}{2 \\pi} \\right )"]),fa=H(["m cdot v_n cdot 2 pi cdot r = n cdot h"],["m \\cdot v_n \\cdot 2 \\pi \\cdot r = n \\cdot h"]),ga=H(["r_n = n^2 cdot a_0 = n^2 cdot \frac{hbar}{m_{elettrone} cdot k cdot e^2} "],["r_n = n^2 \\cdot a_0 = n^2 \\cdot \\frac{\\hbar}{m_{elettrone} \\cdot k \\cdot e^2} "]),_a=H(["a_0 = left ( \frac{h}{2 pi} \right )^2 cdot \frac{1}{m_{elettrone} cdot k cdot e^2} = 5.29 cdot 10^{-11} m"],["a_0 = \\left ( \\frac{h}{2 \\pi} \\right )^2 \\cdot \\frac{1}{m_{elettrone} \\cdot k \\cdot e^2} = 5.29 \\cdot 10^{-11} m"]),ja=H(["E_n = \frac{1}{n^2} cdot E_1 = - \frac{1}{n^2} cdot \frac{a_0^2}{2 cdot m cdot hbar^4} = - \frac{1}{n^2} cdot \frac{m_{elettrone} cdot k^2 cdot e^4}{2 cdot hbar^2}"],["E_n = \\frac{1}{n^2} \\cdot E_1 = - \\frac{1}{n^2} \\cdot \\frac{a_0^2}{2 \\cdot m \\cdot \\hbar^4} = - \\frac{1}{n^2} \\cdot \\frac{m_{elettrone} \\cdot k^2 \\cdot e^4}{2 \\cdot \\hbar^2}"]),Oa=H(["10^1 eV"],["10^1 eV"]),va=H(["1 eV"],["1 eV"]),wa=H(["lambda"],["\\lambda"]),ya=H(["lambda_{max} cdot T"],["\\lambda_{max} \\cdot T"]),ka=H(["E_{fotone} = h cdot f"],["E_{fotone} = h \\cdot f"]),za=String.raw,Pa=Object(ye.h)("h1",null,"Fisica"),Ea=Object(ye.h)("p",null,"Usa le regole base della trigonometria:"),Ca=Object(ye.h)("p",null,"Scomponi in componenti, poi sommali:"),Sa=Object(ye.h)("p",null,"Produce il vettore risultante dall'applicazione della regola del parallelogramma."),xa=Object(ye.h)("p",null,"Alla fine è sempre una somma:"),Aa=Object(ye.h)("p",null,"Produce il vettore che parte da ",Object(ye.h)(Xe,null,"w")," e arriva a ",Object(ye.h)(Xe,null,"v"),"."),La=Object(ye.h)("p",null,"Si chiama scalare perchè il risultato è uno scalare, non un vettore."),Fa=Object(ye.h)("p",null,"Si chiama vettoriale perchè il risultato è un altro vettore."),Ma=Object(ye.h)("li",null,Object(ye.h)("a",{href:"https://it.wikipedia.org/wiki/Regola_della_mano_destra"},"Regola della mano destra")),Ta=Object(ye.h)("p",null,"Non è commutativo!"),Ia=Object(ye.h)("p",null,"Se un corpo puntiforme ha forza risultante nulla, allora la sua velocità non cambia."),qa=Object(ye.h)("p",null,"La forza risultante di un corpo è direttamente proporzionale alla sua accelerazione, e la costante di proporzionalità è la ",Object(ye.h)("i",null,"massa"),"."),Da=Object(ye.h)("p",null,"Due corpi esercitano forze uguali e opposte uno sull'altro."),Ba=Object(ye.h)("p",null,"Due corpi puntiformi si attirano uno verso l'altro con forza:"),Na=Object(ye.h)("p",null,Object(ye.h)(Xe,null,"G")," è la ",Object(ye.h)("i",null,"costante di gravitazione universale")," e vale:"),Ra=Object(ye.h)("p",null,"Se nel sistema di riferimento consideriamo la Terra ferma, allora un corpo è attratto verso la Terra con forza ",Object(ye.h)("i",null,"peso")," uguale a:"),Ha=Object(ye.h)("p",null,Object(ye.h)(Xe,null,"g")," è la ",Object(ye.h)("i",null,"costante di gravità")," della Terra, e vale:"),Ua=Object(ye.h)("p",null,"Per pianeti diversi dalla Terra vale la stessa regola:"),Va=Object(ye.h)("p",null,"L'unica differenza è che cambia la ",Object(ye.h)("i",null,"costante di gravità"),":"),Wa=Object(ye.h)(De,{title:"Normale"},Object(ye.h)("p",null,"Si oppone alle forze applicate alla superficie di contatto."),Object(ye.h)("p",null,"Un libro appoggiato su un tavolo ha la ",Object(ye.h)("b",null,"forza di gravità")," che lo attira verso il terreno e la ",Object(ye.h)("b",null,"forza normale")," che lo trattiene dal cadere.")),Ga=Object(ye.h)("p",null,"Impedisce a un corpo di muoversi se non viene spinto da una forza che supera una certa soglia:"),$a=Object(ye.h)("p",null,"Rallenta i corpi che si stanno muovendo finchè essi non si fermano:"),Za=Object(ye.h)(De,{title:"Tensione"},Object(ye.h)("p",null,"E' forza trasmessa tra due estremi di una fune."),Object(ye.h)("p",null,"Può essere redirezionata per mezzo di carrucole.")),Ka=Object(ye.h)("p",null,"Una molla cerca sempre di tornare alla sua posizione indeformata con forza:"),Ya=Object(ye.h)("p",null,"(E' negativa perchè la forza è opposta a quella applicata per deformarla.)"),Qa=Object(ye.h)("p",null,"È un vettore che indica la posizione di un corpo rispetto a un'origine."),Ja=Object(ye.h)("p",null,"È un vettore che misura la variazione di posizione nel tempo."),Xa=Object(ye.h)("p",null,"Se si considera un intervallo di tempo infinitesimale si dice ",Object(ye.h)("i",null,"velocità istantanea"),":"),er=Object(ye.h)("p",null,"È un vettore che misura la variazione di velocità nel tempo."),tr=Object(ye.h)("p",null,"Se si considera un intervallo di tempo infinitesimale si dice ",Object(ye.h)("i",null,"accelerazione istantanea"),":"),nr=Object(ye.h)("span",null,"Quantità di moto ",Object(ye.h)("small",null,"(momento lineare)")),ar=Object(ye.h)("p",null,"La quantità di moto è una proprietà vettoriale dei corpi:"),rr=Object(ye.h)("p",null,"Se la forza risultante è nulla, la quantità di moto non cambia."),ir=Object(ye.h)("p",null,"La ",Object(ye.h)("i",null,"legge oraria")," è:"),or=Object(ye.h)("p",null,"È costante:"),lr=Object(ye.h)("p",null,"La velocità non varia:"),cr=Object(ye.h)(De,{title:"Forze"},Object(ye.h)("p",null,"Si applica la prima legge di Newton:"),Object(ye.h)("p",null,Object(ye.h)(Xe,null,"f(t) = 0"))),sr=Object(ye.h)("p",null,"La ",Object(ye.h)("i",null,"legge oraria")," è:"),ur=Object(ye.h)("p",null,"È una retta:"),pr=Object(ye.h)("p",null,"È costante:"),hr=Object(ye.h)(De,{title:"Forze"},Object(ye.h)("p",null,"Si applica la prima legge di Newton:"),Object(ye.h)("p",null,Object(ye.h)(Xe,null,"f(t) = m a"))),dr=Object(ye.h)(De,{title:"Ampiezza"},Object(ye.h)("p",null,"E' la distanza dal centro massima che raggiunge il corpo."),Object(ye.h)("p",null,"(L'ampiezza di una sinusoide.)")),br=Object(ye.h)("p",null,"Indica quanto in fretta cambia la posizione del corpo."),mr=Object(ye.h)("p",null,"Dipende dal periodo:"),fr=Object(ye.h)("p",null,"E' una sinusoide:"),gr=Object(ye.h)(De,{title:"Forze"},Object(ye.h)("p",null,"Si applica la prima legge di Newton:"),Object(ye.h)("p",null,Object(ye.h)(Xe,null,"f(t) = m a"))),_r=Object(ye.h)(De,{title:"Moto parabolico"},Object(ye.h)("p",null,"Il moto parabolico è dato sommando un moto rettilineo uniforme sull'asse orizzontale e un moto rettilineo uniformemente accelerato sull'asse verticale.")),jr=Object(ye.h)("h3",null,"Velocità angolare"),Or=Object(ye.h)("p",null,"Quanto cambia la fase nel tempo."),vr=Object(ye.h)("p",null,"E' l'angolo percorso dal corpo rispetto alla posizione iniziale."),wr=Object(ye.h)("p",null,"Si applicano le formule per la circonferenza:"),yr=Object(ye.h)("p",null,"Il corpo ha sempre un accelerazione verso il centro che gli impedisce di abbandonare il moto:"),kr=Object(ye.h)("p",null,"È verso il centro e si calcola con:"),zr=Object(ye.h)("p",null,"E' compiuto da una forza che sposta un corpo."),Pr=Object(ye.h)("p",null,"(Se la forza non è parallela allo spostamento, il prodotto scalare ci fa considerare solo la componente parallela.)"),Er=Object(ye.h)("p",null,"Un corpo ha energia cinetica in ogni momento uguale a:"),Cr=Object(ye.h)("p",null,"Se una forza effettua lavoro su un corpo, cambia la sua energia cinetica pari al lavoro effettuato:"),Sr=Object(ye.h)("p",null,"Un corpo ha energia potenziale in ogni momento pari a:"),xr=Object(ye.h)("p",null,"(Con ",Object(ye.h)(Xe,null,"h")," uguale a un altezza scelta come punto di riferimento.)"),Ar=Object(ye.h)("p",null,"Una molla ha sempre energia potenziale elastica pari a:"),Lr=Object(ye.h)("p",null,"Sono conservative le forze per le quali il lavoro compiuto non dipende dal percorso seguito per andare dalla partenza all'arrivo."),Fr=Object(ye.h)("p",null,"Ad esempio, è conservativa la ",Object(ye.h)("i",null,"forza di gravità"),", ma ",Object(ye.h)("b",null,"non")," è conservativa la forza di attrito."),Mr=Object(ye.h)("p",null,"Se in un sistema ci sono solo forze conservative, allora l'energia meccanica totale si conserva:"),Tr=Object(ye.h)("p",null,"È la velocità di trasferimento di energia:"),Ir=Object(ye.h)("p",null,"È una proprietà dei corpi che può essere ",Object(ye.h)(nt,null,"positiva")," o ",Object(ye.h)(it,null,"negativa"),"."),qr=Object(ye.h)("p",null,"Si conserva: in un sistema chiuso la carica totale è costante."),Dr=Object(ye.h)("p",null,"Cariche ",Object(ye.h)(nt,null,"opp"),Object(ye.h)(it,null,"oste")," si attraggono; cariche ",Object(ye.h)(nt,null,"uguali")," si respingono."),Br=Object(ye.h)(De,{title:"Conduttori e isolanti"},Object(ye.h)("p",null,"Più ",Object(ye.h)("a",{href:"https://it.wikipedia.org/wiki/Ione"},"ioni")," ha un corpo, meglio la carica si muove attraverso di esso."),Object(ye.h)("p",null,"I corpi in cui la carica si muove bene sono ",Object(ye.h)("i",null,"conduttori"),", mentre quelli in cui si muove difficilmente sono ",Object(ye.h)("i",null,"isolanti"),"."),Object(ye.h)("p",null,Object(ye.h)("i",null,"Il corpo umano è un buon conduttore."))),Nr=Object(ye.h)(Re,{title:"Polarizzazione"},Object(ye.h)(De,{title:"Polarizzazione"},Object(ye.h)("p",null,"E' possibile polarizzare un corpo per accumulare la carica di un segno in una certa zona."))),Rr=Object(ye.h)(Re,null,Object(ye.h)(De,{title:"Messa a terra"},Object(ye.h)("p",null,"Se un corpo conduttore è in contatto con la Terra, le cariche su di esso saranno ",Object(ye.h)("i",null,"equilibrate")," e il corpo diventerà elettricamente neutro (con stesso numero di ",Object(ye.h)(nt,null,"cariche positive")," e ",Object(ye.h)(it,null,"negative")," all'interno)."))),Hr=Object(ye.h)(Re,null,Object(ye.h)(De,{title:"Polarizzazione per strofinio"},Object(ye.h)("p",null,"Strofinando tra loro due corpi isolanti, essi si ",Object(ye.h)("i",null,"polarizzeranno per strofinio"),".")),Object(ye.h)(De,{title:"Polarizzazione per contatto"},Object(ye.h)("p",null,"Toccando un conduttore con un corpo carico, il conduttore potrà ",Object(ye.h)("i",null,"polarizzarsi per contatto"),".")),Object(ye.h)(De,{title:"Polarizzazione per induzione"},Object(ye.h)("p",null,'Se un corpo conduttore ha cariche "esterne" di un ',Object(ye.h)(nt,null,"certo segno")," vicino, esso avrà tutte le cariche del ",Object(ye.h)(it,null,"segno opposto")," in equilibrio vicino alle cariche esterne, e tutte le cariche dello ",Object(ye.h)(nt,null,"stesso segno")," più lontano possibile da esse."),Object(ye.h)("p",null,"Mettendo a terra il conduttore, nuove cariche del ",Object(ye.h)(it,null,"segno opposto")," saranno attratte all'interno del corpo per equilibrare le cariche che si sono allontanate."),Object(ye.h)("p",null,"Staccando il conduttore da terra e rimuovendo le cariche esterne, esso si ritroverà ",Object(ye.h)(it,null,"caricato del segno opposto")," rispetto alle cariche esterne."))),Ur=Object(ye.h)("p",null,"Due corpi carichi si attraggono tra loro con forza:"),Vr=Object(ye.h)("i",null,"costante di Coulomb"),Wr=Object(ye.h)("i",null,"permeabilità del vuoto"),Gr=Object(ye.h)("p",null,"Misura che forza viene applicata in ogni punto su una carica unitaria:"),$r=Object(ye.h)("p",null,'È la differenza tra "quanto" campo elettrico ',Object(ye.h)(nt,null,"entra")," e quanto campo elettrico ",Object(ye.h)(it,null,"esce")," da una certa area."),Zr=Object(ye.h)("p",null,"In qualsiasi superficie chiusa, il flusso elettrico è uguale alla componente perpendicolare del campo elettrico moltiplicato per l'area."),Kr=Object(ye.h)("p",null,"Se il campo elettrico è uniforme, se ne può calcolare facilmente il valore:"),Yr=Object(ye.h)("p",null,Object(ye.h)(Ve,null,"Circa. E' una specie di integrale...")),Qr=Object(ye.h)("p",null,"Il flusso elettrico è direttamente proporzionale alla carica presente all'interno della superficie."),Jr=Object(ye.h)("p",null,"Ovvero, i campi elettrostatici sono generati dalle cariche elettriche."),Xr=Object(ye.h)("i",null,"energia potenziale elettrica"),ei=Object(ye.h)("span",null,"Potenziale elettrico ",Object(ye.h)("small",null,"(tensione)")),ti=Object(ye.h)("p",null,"È il valore dell'energia potenziale elettrica per una carica unitaria."),ni=Object(ye.h)("p",null,"In una batteria è detto ",Object(ye.h)("i",null,"forza elettromotrice"),", e corrisponde al lavoro compiuto da una batteria ideale per spostare una carica unitaria tra i due poli."),ai=Object(ye.h)("span",null,"Corrente elettrica ",Object(ye.h)("small",null,"(intensità)")),ri=Object(ye.h)("p",null,"Quanta carica passa attraverso un'area (perpendicolare al flusso) nel tempo."),ii=Object(ye.h)("p",null,"Fintanto che c'è differenza di potenziale, ci sarà anche intensità non nulla."),oi=Object(ye.h)(De,{title:Object(ye.h)("span",null,"Corrente continua ",Object(ye.h)("small",null,"(",Object(ye.h)("abbr",{title:"Direct Current"},"DC"),")"))},Object(ye.h)("p",null,"Quando in un circuito la direzione della corrente è costante.")),li=Object(ye.h)(De,{title:Object(ye.h)("span",null,"Corrente alternata ",Object(ye.h)("small",null,"(",Object(ye.h)("abbr",{title:"Alternate Current"},"AC"),")"))},Object(ye.h)("p",null,"Quando in un circuito la direzione della corrente si alterna periodicamente.")),ci=Object(ye.h)("p",null,"Possiamo calcolare la potenza di un circuito:"),si=Object(ye.h)("p",null,"Riduce l'intensità di corrente, e converte parte del potenziale in calore."),ui=Object(ye.h)("p",null,"Il potenziale utilizzato è pari a:"),pi=Object(ye.h)("i",null,"resistenza"),hi=Object(ye.h)("p",null,"La resistenza di un conduttore vale:"),di=Object(ye.h)("i",null,"resistività"),bi=Object(ye.h)("p",null,"Immagazzina potenziale elettrico, permettendo di riutilizzarla in seguito."),mi=Object(ye.h)("p",null,"Per farlo, cattura cariche ",Object(ye.h)(nt,null,"positive")," e ",Object(ye.h)(it,null,"negative")," sulle sue due armature; perchè questo avvenga, deve essere compiuto lavoro."),fi=Object(ye.h)("p",null,"Ha una ",Object(ye.h)("b",null,"capacità")," caratteristica, che in un condensatore a facce piane parallele è:"),gi=Object(ye.h)("p",null,"Condensatori di capacità maggiore immagazzinano più potenziale con meno carica."),_i=Object(ye.h)("p",null,"La capacità aumenta se viene messo qualcosa tra le armature:"),ji=Object(ye.h)("i",null,"costante dielettrica relativa"),Oi=Object(ye.h)("p",null,"Se il campo elettrico creatosi tra le due armature supera la ",Object(ye.h)("i",null,"rigidità dielettrica")," del condensatore, la carica immagazzinata viene persa e ha luogo un ",Object(ye.h)("i",null,"breakdown"),"."),vi=Object(ye.h)(De,{title:"Amperometro"},Object(ye.h)("p",null,"Misura la corrente elettrica se messo in serie."),Object(ye.h)("p",null,"(Funzionamento: ha una resistenza interna bassisima in modo da non influire significativamente sulla corrente.)")),wi=Object(ye.h)(De,{title:"Voltmetro"},Object(ye.h)("p",null,"Misura la differenza di potenziale se messo in parallelo."),Object(ye.h)("p",null,"(Funzionamento: ha una resistenza altissima in modo da non influire significativamente sulla tensione.)")),yi=Object(ye.h)(Re,{title:"Principi di Kirchhoff"},Object(ye.h)(De,{title:"Legge dei nodi"},Object(ye.h)("p",null,"Per nodo si intende un qualsiasi punto del circuito."),Object(ye.h)("p",null,"Da un nodo entra ed esce la stessa corrente.")),Object(ye.h)(De,{title:"Legge delle maglie"},Object(ye.h)("p",null,"Per maglia si intende un qualsiasi percorso chiuso all'interno del circuito."),Object(ye.h)("p",null,"In una maglia chiusa, la somma delle differenze di potenziale è 0."))),ki=Object(ye.h)(Re,{title:"Serie e Parallelo"},Object(ye.h)(De,{title:"Circuito in serie"},Object(ye.h)("p",null,"Più parti di circuito sono ",Object(ye.h)("i",null,"in serie")," se sono consecutive e senza biforcazioni."),Object(ye.h)("p",null,"Parti di circuito in serie sono attraversate dalla stessa corrente.")),Object(ye.h)(De,{title:"Circuito in parallelo"},Object(ye.h)("p",null,"Più parti di circuito sono ",Object(ye.h)("i",null,"in parallelo")," tra loro se hanno lo stesso punto di partenza e lo stesso punto di arrivo."),Object(ye.h)("p",null,"Parti di circuito in parallelo hanno la stessa differenza di potenziale."))),zi=Object(ye.h)("p",null,"Nei circuiti in serie, tutte le resistenze possono essere sostituite con una equivalente dalla resistenza della somma di tutte le quelle sostituite:"),Pi=Object(ye.h)("p",null,"Nei circuiti in parallelo, tutte le resistenze possono essere sostituite con una equivalente dalla resistenza di:"),Ei=Object(ye.h)("p",null,"Nei circuiti in serie, tutti i condensatori possono essere sostituiti con uno equivalente dalla capacità di:"),Ci=Object(ye.h)("p",null,"Nei circuiti in parallelo, tutte i condensatori possono essere sostituite con uno equivalente dalla capacità della somma di tutti quelli sostituiti:"),Si=Object(ye.h)("p",null,"E' una costante fisica fondamentale che rappresenta quanto un materiale si magnetizza facilmente."),xi=Object(ye.h)("p",null,"Come un campo elettrico, ma per i magneti."),Ai=Object(ye.h)(Xe,null,"T"),Li=Object(ye.h)("p",null,'È "quanto" campo magnetico ',Object(ye.h)("b",null,"attraversa")," un percorso chiuso."),Fi=Object(ye.h)("p",null,'Per qualsiasi percorso chiuso, il flusso magnetico è uguale alla somma di tutti i "sottoflussi" magnetici calcolati sui suoi lati.'),Mi=Object(ye.h)(De,{title:"Legge di Gauss per i campi magnetici"},Object(ye.h)("p",null,"Il flusso magnetico attraverso qualsiasi superficie chiusa è sempre nullo."),Object(ye.h)("p",null,"Ovvero, non esistono monopoli magnetici.")),Ti=Object(ye.h)("p",null,"L'intensità di corrente che attraversa un percorso chiuso è direttamente proporzionale al flusso magnetico dello stesso percorso."),Ii=Object(ye.h)("span",null,"Forza magnetica su carica puntiforme ",Object(ye.h)("small",null,"(Forza di Lorentz)")),qi=Object(ye.h)("p",null,"I campi magnetici applicano una forza sulle cariche vicine:"),Di=Object(ye.h)("p",null,"Si ha una forza massima se la velocità è perpendicolare al campo magnetico."),Bi=Object(ye.h)("p",null,"In un campo magnetico uniforme, una velocità perpendicolare al campo porta alla creazione di un moto circolare uniforme."),Ni=Object(ye.h)("p",null,"I campi magnetici influenzano ovviamente anche le cariche presenti in un conduttore:"),Ri=Object(ye.h)("a",{href:"https://it.openprof.com/wb/forza_di_lorentz_su_un_filo_percorso_da_corrente?ch=360"},"[1]"),Hi=Object(ye.h)(De,{title:"Campo magnetico in una spira"},Object(ye.h)("p",null,"Una spira in cui passa corrente produce un campo magnetico perpendicolare al piano creato dalla spira.")),Ui=Object(ye.h)("p",null,"Un solenoide sono tante spire avvolte in modo da formare una specie di cilindro."),Vi=Object(ye.h)("p",null,"All'interno del solenoide si crea un campo (quasi) uniforme:"),Wi=Object(ye.h)("p",null,Object(ye.h)("i",null,"Caso particolare della ",Object(ye.h)("a",{href:"https://it.wikipedia.org/wiki/Legge_di_Amp%C3%A8re"},"Legge di Ampère"),".")),Gi=Object(ye.h)("p",null,"Il modulo del campo magnetico ",Object(ye.h)(Xe,null,"B")," prodotto da un filo in cui passa una corrente continua ",Object(ye.h)(Xe,null,"I")," alla distanza ",Object(ye.h)(Xe,null,"s")," è:"),$i=Object(ye.h)("p",null,"Il campo magnetico così creato gira attorno al filo in senso antiorario."),Zi=Object(ye.h)("p",null,"Due fili attraversati dalla ",Object(ye.h)(nt,null,"stessa corrente")," si attraggono, due fili attraversati da ",Object(ye.h)(nt,null,"corr"),Object(ye.h)(it,null,"enti")," ",Object(ye.h)(nt,null,"opp"),Object(ye.h)(it,null,"oste")," si respingono."),Ki=Object(ye.h)("p",null,"Un conduttore perpendicolare ad un campo magnetico può ottenere una differenza di potenziale se messo in movimento in un direzione perpendicolare alla direzione del conduttore e del campo."),Yi=Object(ye.h)("p",null,"La differenza di potenziale si crea a causa della forza magnetica, che fa spostare tutti gli elettroni verso un capo del conduttore."),Qi=Object(ye.h)("p",null,"Essa vale:"),Ji=Object(ye.h)("p",null,"Dove ",Object(ye.h)(Xe,null,"v")," è la velocità del conduttore, ",Object(ye.h)(Xe,null,"B")," è l'intensità del campo magnetico ed ",Object(ye.h)(Xe,null,"L")," è la lunghezza del conduttore."),Xi=Object(ye.h)("i",null,"Legge di Faraday-Neumann-Lenz"),eo=Object(ye.h)("p",null,"Dice che la forza elettromotrice media indotta in un percorso dipende dalla variazione nel tempo del flusso magnetico nello stesso percorso."),to=Object(ye.h)("p",null,"Il meno è dovuto alla ",Object(ye.h)("a",{href:"https://it.wikipedia.org/wiki/Legge_di_Lenz"},"Legge di Lenz"),", che specifica qualitativamente il verso della forza elettromotrice indotta."),no=Object(ye.h)("p",null,"In un solenoide, la forza elettromotrice indotta è uguale a:"),ao=Object(ye.h)(De,{title:"Legge di Ampère-Maxwell"},Object(ye.h)("p",null,"Correnti o campi elettrici variabili creano un campo magnetico.")),ro=Object(ye.h)("p",null,"Si dice quindi che sono ",Object(ye.h)("i",null,"onde elettromagnetiche"),"."),io=Object(ye.h)("p",null,"Esse sono legate dalla relazione:"),oo=Object(ye.h)("p",null,"I solidi, se portati ad alta temperatura, emettono luce con uno ",Object(ye.h)("a",{href:"https://it.wikipedia.org/wiki/Spettro_continuo"},"spettro continuo"),"."),lo=Object(ye.h)("p",null,"I gas, invece, ad alta temperatura emettono luce solo con particolari lunghezze d'onda."),co=Object(ye.h)("p",null,"In un gas di idrogeno, le lunghezze d'onda emesse sono ricavabili con:"),so=Object(ye.h)("p",null,"Una grandezza si dice quantizzata (o discreta) se può assumere solo determinati valori."),uo=Object(ye.h)("p",null,"Una grandezza si dice continua se può assumere qualsiasi valore e quindi se non è quantizzata."),po=Object(ye.h)("p",null,"Energia, momento angolare e raggio sono quantizzati."),ho=Object(ye.h)("p",null,"L'energia degli elettroni è quantizzata."),bo=Object(ye.h)("p",null,"Inoltre, per essi è valido che:"),mo=Object(ye.h)("p",null,"Ancora, il raggio delle orbite è uguale a:"),fo=Object(ye.h)("p",null,"Infine, in ogni stato, l'energia è pari a:"),go=Object(ye.h)("p",null,"Due elettroni non possono occupare lo stesso stato."),_o=Object(ye.h)("p",null,"Questo modello funziona solo per atomi con numero atomico basso. Atomi con molti elettroni hanno comportamenti diversi, descritti dal modello di"),jo=Object(ye.h)(Re,null,Object(ye.h)(De,{title:"Nei solidi"},Object(ye.h)("p",null,"Nei solidi, le lunghezze d'onda sono talmente tanto vicine da poter essere considerate una banda."),Object(ye.h)("p",null,"Possono però comunque avere dei gap dovuti agli intervalli di energia non ammessi."))),Oo=Object(ye.h)("p",null,Object(ye.h)(Ve,null,"Refactor this")),vo=Object(ye.h)("p",null,"Se invece la banda di emissione si sovrappone a un altra, allora il corpo è un conduttore."),wo=Object(ye.h)(De,{title:"Lacune"},Object(ye.h)("p",null,"Legami in cui ",Object(ye.h)(nt,null,"mancano elettroni"),"."),Object(ye.h)("p",null,Object(ye.h)(it,null,"Elettroni")," di altri legami possono spostarsi per colmare le ",Object(ye.h)(nt,null,"lacune"),", creandone altre, e spostandole in direzione opposta a quella della corrente.")),yo=Object(ye.h)(De,{title:"Accettori e donori"},Object(ye.h)("p",null,"Se si inserisce in un cristallo semiconduttore si inserisce un atomo con numero atomico diverso, si otterrà:"),Object(ye.h)("ul",null,Object(ye.h)("li",null,"Con numero atomico maggiore, un semiconduttore di ",Object(ye.h)(it,null,"tipo N")," con ",Object(ye.h)(it,null,"elettroni in eccesso")," liberi di scorrere."),Object(ye.h)("li",null,"Con numero atomico minore, un semiconduttore di ",Object(ye.h)(nt,null,"tipo P")," con ",Object(ye.h)(nt,null,"lacune in eccesso")," libere di catturare elettroni da altri legami.")),Object(ye.h)("p",null,"Maggiore impurezza porta a maggiore conduttività.")),ko=Object(ye.h)(De,{title:"Temperatura"},Object(ye.h)("p",null,"Aumentando la temperatura di un semiconduttore si aumenta la conduttività, perchè eccita le particelle e favorisce il movimento di ",Object(ye.h)(it,null,"elettroni")," e ",Object(ye.h)(nt,null,"lacune"),".")),zo=Object(ye.h)("span",null,"Ottica ",Object(ye.h)("small",null,"(non l'abbiamo fatta)")),Po=Object(ye.h)(De,{title:"Assorbimento e riflessione"},Object(ye.h)("p",null,"I corpi possono assorbire o riflettere le onde elettromagnetiche che li colpiscono.")),Eo=Object(ye.h)("p",null,"Un corpo nero è un corpo che assorbe tutte le onde elettromagnetiche che riceve senza rifletterne nessuna."),Co=Object(ye.h)(De,{title:"Teoria di Planck per il corpo nero"},Object(ye.h)("p",null,"L'energia assorbita e emessa dai corpi neri è quantizzata.")),So=Object(ye.h)("p",null,"Un onda magnetica con un quanto di energia è detta ",Object(ye.h)("i",null,"fotone"),":"),xo=Object(ye.h)(De,{title:"Effetto fotoelettrico"},Object(ye.h)("p",null,"A volte, i fotoni che colpiscono un metallo possono estrarvi degli elettroni e creare una differenza di potenziale."),Object(ye.h)("p",null,"Perchè avvenga, la frequenza deve essere maggiore di una certa soglia."),Object(ye.h)("p",null,"Il numero di elettroni estratti dipende dall'intensità dell'onda, mentre l'energia cinetica degli elettroni dipende dalla frequenza."),Object(ye.h)("p",null,"Non c'è nessun ritardo tra l'assorbimento del fotone e l'estrazione di elettroni.")),Ao=function(e){function t(){return U(this,t),V(this,e.apply(this,arguments))}return W(t,e),t.prototype.render=function(){return Object(ye.h)("div",{style:Ye.a.fisica},Pa,Object(ye.h)(Re,{title:"Vettori"},Object(ye.h)(De,{title:"Componenti cartesiane"},Ea,Object(ye.h)("p",null,Object(ye.h)(Xe,null,za(ot))),Object(ye.h)("p",null,Object(ye.h)(Xe,null,za(lt))),Object(ye.h)("p",null,Object(ye.h)(Xe,null,za(ct)))),Object(ye.h)(De,{title:"Somma"},Ca,Object(ye.h)("p",null,Object(ye.h)(Xe,null,za(st))),Sa),Object(ye.h)(De,{title:"Differenza"},xa,Object(ye.h)("p",null,Object(ye.h)(Xe,null,za(ut))),Aa),Object(ye.h)(De,{title:"Prodotto scalare"},La,Object(ye.h)("p",null,Object(ye.h)(Xe,null,za(pt))),Object(ye.h)("p",null,"Produce il modulo della proiezione di ",Object(ye.h)(Xe,null,za(ht))," su ",Object(ye.h)(Xe,null,za(dt)),".")),Object(ye.h)(De,{title:"Prodotto vettoriale"},Fa,Object(ye.h)("ul",null,Object(ye.h)("li",null,Object(ye.h)(Xe,null,za(bt))),Object(ye.h)("li",null,Object(ye.h)(Xe,null,za(mt))),Ma),Ta)),Object(ye.h)(Re,{title:"Leggi di Newton"},Object(ye.h)(De,{title:"1ᵃ: Inerzia"},Ia,Object(ye.h)("p",null,Object(ye.h)(Xe,null,za(ft)))),Object(ye.h)(De,{title:"2ᵃ: Proporzionalità"},qa,Object(ye.h)("p",null,Object(ye.h)(Xe,null,za(gt)))),Object(ye.h)(De,{title:"3ᵃ: Azione e reazione"},Da,Object(ye.h)("p",null,Object(ye.h)(Xe,null,za(_t))))),Object(ye.h)(Re,{title:"Forza di gravità"},Object(ye.h)(De,{title:"Tra due corpi"},Ba,Object(ye.h)("p",null,Object(ye.h)(Xe,null,za(jt))),Na,Object(ye.h)("p",null,Object(ye.h)(Xe,null,za(Ot)))),Object(ye.h)(De,{title:"Verso la Terra"},Ra,Object(ye.h)("p",null,Object(ye.h)(Xe,null,za(vt))),Ha,Object(ye.h)("p",null,Object(ye.h)(Xe,null,za(wt)))),Object(ye.h)(De,{title:"Su pianeti diversi"},Ua,Object(ye.h)("p",null,Object(ye.h)(Xe,null,za(vt))),Va,Object(ye.h)("p",null,Object(ye.h)(Xe,null,za(yt))),Object(ye.h)("p",null,Object(ye.h)(Xe,null,za(kt))))),Object(ye.h)(Re,{title:"Forze di contatto"},Wa,Object(ye.h)(De,{title:"Attrito statico"},Ga,Object(ye.h)("p",null,Object(ye.h)(Xe,null,za(zt)))),Object(ye.h)(De,{title:"Attrito dinamico"},$a,Object(ye.h)("p",null,Object(ye.h)(Xe,null,za(Pt)))),Za,Object(ye.h)(De,{title:"Elastica"},Ka,Object(ye.h)("p",null,Object(ye.h)(Xe,null,za(Et))),Ya)),Object(ye.h)(Re,{title:"Cinematica"},Object(ye.h)(De,{title:"Spostamento"},Qa,Object(ye.h)("p",null,Object(ye.h)(Xe,null,za(Ct)))),Object(ye.h)(De,{title:"Velocità"},Ja,Object(ye.h)("p",null,Object(ye.h)(Xe,null,za(St))),Xa,Object(ye.h)("p",null,Object(ye.h)(Xe,null,za(xt)))),Object(ye.h)(De,{title:"Accelerazione"},er,Object(ye.h)("p",null,Object(ye.h)(Xe,null,za(At))),tr,Object(ye.h)("p",null,Object(ye.h)(Xe,null,za(Lt)))),Object(ye.h)(De,{title:nr},ar,Object(ye.h)("p",null,Object(ye.h)(Xe,null,za(Ft))),rr,Object(ye.h)("p",null,Object(ye.h)(Xe,null,za(Mt))))),Object(ye.h)(Re,{title:"Moto rettilineo uniforme"},Object(ye.h)(De,{title:"Spostamento"},ir,Object(ye.h)("p",null,Object(ye.h)(Xe,null,za(Tt)))),Object(ye.h)(De,{title:"Velocità"},or,Object(ye.h)("p",null,Object(ye.h)(Xe,null,za(It)))),Object(ye.h)(De,{title:"Accelerazione"},lr,Object(ye.h)("p",null,Object(ye.h)(Xe,null,za(qt)))),cr),Object(ye.h)(Re,{title:"Moto rettilineo uniformemente accelerato"},Object(ye.h)(De,{title:"Spostamento"},sr,Object(ye.h)("p",null,Object(ye.h)(Xe,null,za(Dt)))),Object(ye.h)(De,{title:"Velocità"},ur,Object(ye.h)("p",null,Object(ye.h)(Xe,null,za(Bt)))),Object(ye.h)(De,{title:"Accelerazione"},pr,Object(ye.h)("p",null,Object(ye.h)(Xe,null,za(Nt)))),hr),Object(ye.h)(Re,{title:"Moto armonico semplice"},dr,Object(ye.h)(De,{title:"Velocità angolare"},br,mr,Object(ye.h)("p",null,Object(ye.h)(Xe,null,za(Rt)))),Object(ye.h)(De,{title:"Spostamento"},fr,Object(ye.h)("p",null,Object(ye.h)(Xe,null,za(Ht)))),Object(ye.h)(De,{title:"Velocità"},Object(ye.h)("p",null,"E' la sinusoide dello spostamento, sfasata di ",Object(ye.h)(Xe,null,za(Ut)),":"),Object(ye.h)("p",null,Object(ye.h)(Xe,null,za(Vt)))),Object(ye.h)(De,{title:"Accelerazione"},Object(ye.h)("p",null,"E' la sinusoide della velocità, sfasata di ",Object(ye.h)(Xe,null,za(Wt)),":"),Object(ye.h)("p",null,Object(ye.h)(Xe,null,za(Gt)))),gr),Object(ye.h)(Re,{title:"Moti composti"},_r,Object(ye.h)(De,{title:"Moto circolare uniforme"},Object(ye.h)("p",null,"Il moto parabolico è dato sommando due moti armonici semplici: uno sull'asse X, e l'altro, sfasato di ",Object(ye.h)(Xe,null,za(Ut)),", sull'asse Y."))),Object(ye.h)(Re,{title:"Moto circolare uniforme"},Object(ye.h)(De,null,jr,Or,Object(ye.h)("p",null,Object(ye.h)(Xe,null,za(Rt)))),Object(ye.h)(De,{title:"Fase"},vr,Object(ye.h)("p",null,"Si indica con ",Object(ye.h)(Xe,null,za($t)),", e generalmente si usa in radianti.")),Object(ye.h)(De,{title:"Velocità"},wr,Object(ye.h)("p",null,Object(ye.h)(Xe,null,za(Zt)))),Object(ye.h)(De,{title:"Accelerazione"},yr,Object(ye.h)("p",null,Object(ye.h)(Xe,null,za(Kt)))),Object(ye.h)(De,{title:"Forza centripeta"},kr,Object(ye.h)("p",null,Object(ye.h)(Xe,null,za(Yt))))),Object(ye.h)(Re,{title:"Lavoro ed energia"},Object(ye.h)(De,{title:"Lavoro"},zr,Object(ye.h)("p",null,Object(ye.h)(Xe,null,za(Qt))),Pr),Object(ye.h)(De,{title:"Energia cinetica"},Er,Object(ye.h)("p",null,Object(ye.h)(Xe,null,za(Jt))),Cr,Object(ye.h)("p",null,Object(ye.h)(Xe,null,za(Xt)))),Object(ye.h)(De,{title:"Energia potenziale gravitazionale"},Sr,Object(ye.h)("p",null,Object(ye.h)(Xe,null,za(en))),xr),Object(ye.h)(De,{title:"Energia potenziale elastica"},Ar,Object(ye.h)("p",null,Object(ye.h)(Xe,null,za(tn)))),Object(ye.h)(De,{title:"Forze conservative"},Lr,Fr,Mr,Object(ye.h)("p",null,Object(ye.h)(Xe,null,za(nn)))),Object(ye.h)(De,{title:"Potenza"},Tr,Object(ye.h)("p",null,Object(ye.h)(Xe,null,za(an))))),Object(ye.h)(Re,{title:"Elettrostatica"},Object(ye.h)(De,{title:"Carica elettrica"},Ir,qr,Object(ye.h)("p",null,"Esiste un'unità elementare: ",Object(ye.h)(Xe,null,za(rn)),"."),Dr),Br),Nr,Rr,Hr,Object(ye.h)(Re,{title:"Forza elettrica"},Object(ye.h)(De,{title:"Legge di Coulomb"},Ur,Object(ye.h)("p",null,Object(ye.h)(Xe,null,za(on))),Object(ye.h)("p",null,Object(ye.h)(Xe,null,za(ln))," è la ",Vr,", e vale ",Object(ye.h)(Xe,null,za(cn)),".")),Object(ye.h)(De,{title:"Permeabilità dello spazio vuoto"},Object(ye.h)("p",null,"La costante ",Object(ye.h)(Xe,null,za(ln))," è in realtà dipendente da un altra costante, ",Object(ye.h)(Xe,null,za(sn)),", la ",Wr,"."),Object(ye.h)("p",null,Object(ye.h)(Xe,null,za(un))),Object(ye.h)("p",null,Object(ye.h)(Xe,null,za(pn)))),Object(ye.h)(De,{title:"Campo elettrico"},Gr,Object(ye.h)("p",null,Object(ye.h)(Xe,null,za(hn)))),Object(ye.h)(De,{title:"Flusso elettrico"},$r,Zr,Object(ye.h)("p",null,Object(ye.h)(Xe,null,za(dn))),Kr,Object(ye.h)("p",null,Object(ye.h)(Xe,null,za(bn))),Yr),Object(ye.h)(De,{title:"Legge di Gauss per i campi elettrostatici"},Qr,Object(ye.h)("p",null,Object(ye.h)(Xe,null,za(mn))),Jr)),Object(ye.h)(Re,{title:"Energia elettrica"},Object(ye.h)(De,{title:"Energia potenziale elettrica"},Object(ye.h)("p",null,"Un corpo carico vicino ad altre cariche possiede un'",Xr," ",Object(ye.h)(Xe,null,za(fn)),"."))),Object(ye.h)(Re,{title:"Circuiti elettrici"},Object(ye.h)(De,{title:ei},ti,Object(ye.h)("p",null,Object(ye.h)(Xe,null,za(gn))),Object(ye.h)("p",null,"La sua unità di misura è il Volt (",Object(ye.h)(Xe,null,za(_n)),")."),ni),Object(ye.h)(De,{title:ai},ri,Object(ye.h)("p",null,Object(ye.h)(Xe,null,za(jn))),ii,Object(ye.h)("p",null,"La sua unità di misura è l'Ampere (",Object(ye.h)(Xe,null,za(On)),").")),oi,li,Object(ye.h)(De,{title:"Potenza elettrica"},ci,Object(ye.h)("p",null,Object(ye.h)(Xe,null,za(vn))))),Object(ye.h)(Re,{title:"Elementi di un circuito"},Object(ye.h)(De,{title:"Resistore"},si,ui,Object(ye.h)("p",null,Object(ye.h)(Xe,null,za(wn))),Object(ye.h)("p",null,"Dove ",Object(ye.h)(Xe,null,za(yn))," è una costante detta ",pi," con unità di misura Ohm (",Object(ye.h)(Xe,null,za(kn)),")."),hi,Object(ye.h)("p",null,Object(ye.h)(Xe,null,za(zn))),Object(ye.h)("p",null,Object(ye.h)(Xe,null,za(Pn))," è la ",di," del materiale, e varia in base alla temperatura:"),Object(ye.h)("p",null,Object(ye.h)(Xe,null,za(En)))),Object(ye.h)(De,{title:"Condensatore"},bi,mi,fi,Object(ye.h)("p",null,Object(ye.h)(Xe,null,za(Cn))),gi,_i,Object(ye.h)("p",null,Object(ye.h)(Xe,null,za(Sn))),Object(ye.h)("p",null,"Dove ",Object(ye.h)(Xe,null,za(xn))," è la ",ji," del materiale inserito, ",Object(ye.h)(Xe,null,za(On))," l'area di una armatura e ",Object(ye.h)(Xe,null,za(An))," la distanza tra le due armature."),Oi,Object(ye.h)("p",null,"La sua unità di misura è il Farad (",Object(ye.h)(Xe,null,za(Ln)),")")),vi,wi),yi,ki,Object(ye.h)(Re,{title:"Resistenze equivalenti"},Object(ye.h)(De,{title:"Circuiti in serie"},zi,Object(ye.h)("p",null,Object(ye.h)(Xe,null,za(Fn)))),Object(ye.h)(De,{title:"Circuiti in parallelo"},Pi,Object(ye.h)("p",null,Object(ye.h)(Xe,null,za(Mn))))),Object(ye.h)(Re,{title:"Condensatori equivalenti"},Object(ye.h)(De,{title:"Circuiti in serie"},Ei,Object(ye.h)("p",null,Object(ye.h)(Xe,null,za(Tn)))),Object(ye.h)(De,{title:"Circuiti in parallelo"},Ci,Object(ye.h)("p",null,Object(ye.h)(Xe,null,za(In))))),Object(ye.h)(Re,{title:"Magnetismo"},Object(ye.h)(De,{title:"Permeabilità magnetica dello spazio vuoto"},Si,Object(ye.h)("p",null,Object(ye.h)(Xe,null,za(qn))," (",Object(ye.h)(Xe,null,za(Dn)),")")),Object(ye.h)(De,{title:"Campo magnetico"},xi,Object(ye.h)("p",null,"Il suo simbolo è ",Object(ye.h)(Xe,null,za(Bn)),", e la sua unità di misura è il Tesla (",Ai,").")),Object(ye.h)(De,{title:"Flusso magnetico"},Li,Fi,Object(ye.h)("p",null,Object(ye.h)(Xe,null,za(Nn))),Object(ye.h)("p",null,Object(ye.h)(Xe,null,za(Rn))),Object(ye.h)("p",null,"La sua unità di misura è il Weber (",Object(ye.h)(Xe,null,za(Hn)),").")),Mi,Object(ye.h)(De,{title:"Legge di Ampère"},Ti,Object(ye.h)("p",null,Object(ye.h)(Xe,null,za(Un))))),Object(ye.h)(Re,{title:"Forze magnetiche"},Object(ye.h)(De,{title:Ii},qi,Object(ye.h)("p",null,Object(ye.h)(Xe,null,za(Vn))),Object(ye.h)("p",null,"Dove ",Object(ye.h)(Xe,null,za(Wn))," è l'intensità del campo magnetico e ",Object(ye.h)(Xe,null,za(Gn))," la velocità della carica considerata."),Di,Bi),Object(ye.h)(De,{title:"Forza magnetica in un filo"},Ni,Object(ye.h)("p",null,Object(ye.h)(Xe,null,za($n))," ",Ri),Object(ye.h)("p",null,"Dove ",Object(ye.h)(Xe,null,za(Zn))," è la corrente elettrica, ",Object(ye.h)(Xe,null,za(Kn))," è un vettore che punta nella direzione di scorrimento della corrente e ha come modulo la lunghezza del conduttore."))),Object(ye.h)(Re,{title:"Campi magnetici"},Hi,Object(ye.h)(De,{title:"Campo magnetico di un solenoide"},Ui,Vi,Object(ye.h)("p",null,Object(ye.h)(Xe,null,za(Yn)))),Object(ye.h)(De,{title:"Legge di Oersted"},Wi,Gi,Object(ye.h)("p",null,Object(ye.h)(Xe,null,za(Qn))),$i,Zi)),Object(ye.h)(Re,{title:"Induzione elettromagnetica"},Object(ye.h)(De,{title:"Forza elettromotrice indotta"},Ki,Yi,Qi,Object(ye.h)("p",null,Object(ye.h)(Xe,null,za(Jn))),Ji),Object(ye.h)(De,{title:"Flusso magnetico in una spira"},Object(ye.h)("p",null,"In un campo magnetico ",Object(ye.h)(Xe,null,za(Bn))," uniforme e perpendicolare al piano di una spira di area ",Object(ye.h)(Xe,null,za(On)),", il flusso magnetico si può determinare con la ",Xi,":"),Object(ye.h)("p",null,Object(ye.h)(Xe,null,za(Xn))))),Object(ye.h)(Re,null,Object(ye.h)(De,{title:"Legge di Faraday-Neumann-Lenz"},eo,Object(ye.h)("p",null,Object(ye.h)(Xe,null,za(ea))),to),Object(ye.h)(De,{title:"Faraday in un solenoide"},no,Object(ye.h)("p",null,Object(ye.h)(Xe,null,za(ta))),Object(ye.h)("p",null,"Dove ",Object(ye.h)(Xe,null,za(na))," è il numero delle spire del solenoide.")),ao),Object(ye.h)(Re,{title:"Elettromagnetismo"},Object(ye.h)(De,{title:"Onde elettromagnetiche"},Object(ye.h)("p",null,"Nel vuoto, il campo elettrico ",Object(ye.h)(Xe,null,za(aa))," e il campo magnetico ",Object(ye.h)(Xe,null,za(Bn))," sono perpendicolari tra loro e la direzione di propagazione, e sono entrambe funzioni del tempo."),ro,io,Object(ye.h)("p",null,Object(ye.h)(Xe,null,za(ra))),Object(ye.h)("p",null,"Dove ",Object(ye.h)(Xe,null,za(ia))," è la velocità delle onde (luce) nel vuoto, e a sua volta è uguale a:"),Object(ye.h)("p",null,Object(ye.h)(Xe,null,za(oa)))),Object(ye.h)(De,{title:"Formula delle onde"},Object(ye.h)("p",null,Object(ye.h)(Xe,null,za(la))),Object(ye.h)("p",null,"Dove ",Object(ye.h)(Xe,null,za(ca))," è l'ampiezza massima che può avere l'onda, ",Object(ye.h)(Xe,null,za(sa))," è il vettore d'onda, ",Object(ye.h)(Xe,null,za(ua))," la frequenza angolare e ",Object(ye.h)(Xe,null,za($t))," la fase."))),Object(ye.h)(Re,{title:"Spettroscopia"},Object(ye.h)(De,{title:"Emissione"},oo,lo,co,Object(ye.h)("p",null,Object(ye.h)(Xe,null,za(pa))),Object(ye.h)("p",null,"Con ",Object(ye.h)(Xe,null,za(ha)),", detta costante di Rydberg, e ",Object(ye.h)(Xe,null,za(da))," un numero intero.")),Object(ye.h)(De,{title:"Grandezza quantizzata"},so,uo,po,Object(ye.h)("p",null,"Nota costante quantica è ",Object(ye.h)(Xe,null,za(ba)),", la costante di Planck, ovvero il valore minimo possibile per la carica (talvolta espressa come ",Object(ye.h)(Xe,null,za(ma)),"."))),Object(ye.h)(Re,null,Object(ye.h)(De,{title:"Modello di Bohr"},ho,bo,Object(ye.h)("p",null,Object(ye.h)(Xe,null,za(fa))),mo,Object(ye.h)("p",null,Object(ye.h)(Xe,null,za(ga))),Object(ye.h)("p",null,"Con ",Object(ye.h)(Xe,null,za(_a)),"."),fo,Object(ye.h)("p",null,Object(ye.h)(Xe,null,za(ja))),go,_o)),jo,Object(ye.h)(Re,{title:"Semiconduttori"},Object(ye.h)(De,{title:"Semiconduttori"},Oo,Object(ye.h)("p",null,"Se la banda di emissione con energia più alta di un corpo è assente o è separata da un gap dell'ordine di grandezza maggiore di ",Object(ye.h)(Xe,null,za(Oa)),", allora il corpo è un isolante."),vo,Object(ye.h)("p",null,"Se il gap è invece dell'ordine di grandezza di ",Object(ye.h)(Xe,null,za(va)),", allora il corpo è un semiconduttore.")),wo,yo,ko),Object(ye.h)(Re,{title:zo},Po,Object(ye.h)(De,{title:"Corpo nero"},Eo,Object(ye.h)("p",null,"Le onde assorbite vengono poi riemesse sotto forma di un onda di ",Object(ye.h)(Xe,null,za(wa))," variabile in base alla temperatura."),Object(ye.h)("p",null,Object(ye.h)(Xe,null,za(ya))," è costante.")),Co,Object(ye.h)(De,{title:"Fotone"},So,Object(ye.h)("p",null,Object(ye.h)(Xe,null,za(ka)))),xo))},t}(ye.Component),Lo=n("jHTF"),Fo=n.n(Lo),Mo=n("MKE3"),To=n.n(Mo),Io=n("6adR"),qo=n.n(Io),Do=function(e){function t(){return G(this,t),$(this,e.apply(this,arguments))}return Z(t,e),t.prototype.render=function(){var e=new qo.a.Converter;e.setFlavor("github");var t=e.makeHtml(""+this.props.children);return Object(ye.h)("div",{style:To.a.markdown,dangerouslySetInnerHTML:{__html:t}})},t}(ye.Component),Bo=function(e,t){return e.raw=t,e}(["\nTutte le videolezioni sono state pubblicate sotto licenza [CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/) dalla Prof.ssa Beatrice Ruini nell'anno accademico 2018/2019 sul [portale Dolly 2018](https://dolly.fim.unimore.it/2018/course/view.php?id=14#section-0) (Moodle).\n\nPer comodità, ho estratto l'url sorgente del video dall'embed presente nella rispettiva pagina.\n\n1. [Definizione di Spazio Vettoriale](https://www.youtube.com/watch?v=7eHEzf4403c) (1:17:29)\n2. [Sottospazi vettoriali I](https://www.youtube.com/watch?v=FPqrULk5HBU) (37:15)\n3. [Sottospazi vettoriali II](https://www.youtube.com/watch?v=ubDWUw9hk0k) (43:26)\n4. [Sottospazi vettoriali III](https://www.youtube.com/watch?v=381n4NPb6Oc) (40:29)\n5. [Lineare dipendenza e indipendenza](https://www.youtube.com/watch?v=9YVQ5olYrh0) (56:12)\n6. [Basi di uno spazio vettoriale I](https://www.youtube.com/watch?v=mEF_lcTzEoE) (25:52)\n7. [Basi di uno spazio vettoriale II](https://www.youtube.com/watch?v=k1r9JfXY53k) (48:24)\n8. [Teorema di Grassmann](https://www.youtube.com/watch?v=3sqB-MMyCWM) (32:36)\n9. [Basi e Matrici](https://www.youtube.com/watch?v=Rd6AB_jE7YI) (27:06)\n10. [Definizione di Applicazioni Lineari](https://www.youtube.com/watch?v=rmd7ffZeVYk) (16:23)\n11. [Proprietà delle Applicazioni Lineari](https://www.youtube.com/watch?v=MH7ztQGkqmw) (31:58)\n12. [Definizione di determinante](https://www.youtube.com/watch?v=EwubcLwBdzk) (36:43)\n13. [Proprietà e metodo di triangolazione](https://www.youtube.com/watch?v=SFusGarV6HI) (22:36)\n14. [Teorema di Laplace](https://www.youtube.com/watch?v=BqZDWnKl2nQ) (29:03)\n15. [4 applicazioni del Teorema di Laplace](https://www.youtube.com/watch?v=2tr3y725GY0) (47:53)\n16. [Spazi vettoriali euclidei reali - Parte 1](https://www.youtube.com/watch?v=W7Z1hm-jwMM) (28:46)\n17. [Spazi vettoriali euclidei reali - Parte 2](https://www.youtube.com/watch?v=zjmKE9TMGm8) (27:17)\n18. [Autovalori e autovettori](https://www.youtube.com/watch?v=XlrlcnvcTtQ) (33:00)\n19. [Polinomio caratteristico](https://www.youtube.com/watch?v=61icRbgWTdI) (31:31)\n20. [Teorema diagonalizzabilità](https://www.youtube.com/watch?v=wm5V6en9OFo) (18:49)\n21. [Spazi affini](https://player.vimeo.com/video/291457587) (20:46)\n22. [Sottospazi affini](https://player.vimeo.com/video/291458991) (21:32)\n23. [Parallelismo e Riferimenti Affini](https://player.vimeo.com/video/291510181) (16:57)\n24. [Rappresentazione di Sottospazi Affini](https://player.vimeo.com/video/291510296) (31:17)\n25. [Spazi Euclidei](https://player.vimeo.com/video/291510612) (35:57)\n26. [Teoria dei ranghi](https://player.vimeo.com/video/291510964) (9:44)\n27. [Teoria dei ranghi 2](https://player.vimeo.com/video/291510862) (14:44)\n\nNell'anno accademico 2018/2019 non sono stati trattati gli argomenti nei video 21, 22 e 23.\n "],["\nTutte le videolezioni sono state pubblicate sotto licenza [CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/) dalla Prof.ssa Beatrice Ruini nell'anno accademico 2018/2019 sul [portale Dolly 2018](https://dolly.fim.unimore.it/2018/course/view.php?id=14#section-0) (Moodle).\n\nPer comodità, ho estratto l'url sorgente del video dall'embed presente nella rispettiva pagina.\n\n1. [Definizione di Spazio Vettoriale](https://www.youtube.com/watch?v=7eHEzf4403c) (1:17:29)\n2. [Sottospazi vettoriali I](https://www.youtube.com/watch?v=FPqrULk5HBU) (37:15)\n3. [Sottospazi vettoriali II](https://www.youtube.com/watch?v=ubDWUw9hk0k) (43:26)\n4. [Sottospazi vettoriali III](https://www.youtube.com/watch?v=381n4NPb6Oc) (40:29)\n5. [Lineare dipendenza e indipendenza](https://www.youtube.com/watch?v=9YVQ5olYrh0) (56:12)\n6. [Basi di uno spazio vettoriale I](https://www.youtube.com/watch?v=mEF_lcTzEoE) (25:52)\n7. [Basi di uno spazio vettoriale II](https://www.youtube.com/watch?v=k1r9JfXY53k) (48:24)\n8. [Teorema di Grassmann](https://www.youtube.com/watch?v=3sqB-MMyCWM) (32:36)\n9. [Basi e Matrici](https://www.youtube.com/watch?v=Rd6AB_jE7YI) (27:06)\n10. [Definizione di Applicazioni Lineari](https://www.youtube.com/watch?v=rmd7ffZeVYk) (16:23)\n11. [Proprietà delle Applicazioni Lineari](https://www.youtube.com/watch?v=MH7ztQGkqmw) (31:58)\n12. [Definizione di determinante](https://www.youtube.com/watch?v=EwubcLwBdzk) (36:43)\n13. [Proprietà e metodo di triangolazione](https://www.youtube.com/watch?v=SFusGarV6HI) (22:36)\n14. [Teorema di Laplace](https://www.youtube.com/watch?v=BqZDWnKl2nQ) (29:03)\n15. [4 applicazioni del Teorema di Laplace](https://www.youtube.com/watch?v=2tr3y725GY0) (47:53)\n16. [Spazi vettoriali euclidei reali - Parte 1](https://www.youtube.com/watch?v=W7Z1hm-jwMM) (28:46)\n17. [Spazi vettoriali euclidei reali - Parte 2](https://www.youtube.com/watch?v=zjmKE9TMGm8) (27:17)\n18. [Autovalori e autovettori](https://www.youtube.com/watch?v=XlrlcnvcTtQ) (33:00)\n19. [Polinomio caratteristico](https://www.youtube.com/watch?v=61icRbgWTdI) (31:31)\n20. [Teorema diagonalizzabilità](https://www.youtube.com/watch?v=wm5V6en9OFo) (18:49)\n21. [Spazi affini](https://player.vimeo.com/video/291457587) (20:46)\n22. [Sottospazi affini](https://player.vimeo.com/video/291458991) (21:32)\n23. [Parallelismo e Riferimenti Affini](https://player.vimeo.com/video/291510181) (16:57)\n24. [Rappresentazione di Sottospazi Affini](https://player.vimeo.com/video/291510296) (31:17)\n25. [Spazi Euclidei](https://player.vimeo.com/video/291510612) (35:57)\n26. [Teoria dei ranghi](https://player.vimeo.com/video/291510964) (9:44)\n27. [Teoria dei ranghi 2](https://player.vimeo.com/video/291510862) (14:44)\n\nNell'anno accademico 2018/2019 non sono stati trattati gli argomenti nei video 21, 22 e 23.\n "]),No=String.raw,Ro=Object(ye.h)("h1",null,"Videolezioni di Geometria"),Ho=function(e){function t(){return K(this,t),Y(this,e.apply(this,arguments))}return Q(t,e),t.prototype.render=function(){return Object(ye.h)("div",{style:Fo.a.vldigeometria},Ro,Object(ye.h)(De,null,Object(ye.h)(Do,null,No(Bo))))},t}(ye.Component),Uo=n("5m9J"),Vo=n.n(Uo),Wo=Object(ye.h)("h1",null,"Come installare MinGW"),Go=Object(ye.h)(De,null,Object(ye.h)("p",null," Scaricate ",Object(ye.h)("a",{href:"https://osdn.net/projects/mingw/downloads/68260/mingw-get-setup.exe/"},"l'installer ufficiale"),", ed eseguitelo."),Object(ye.h)("img",{src:"https://i.imgur.com/mDZSqjV.png",alt:""}),Object(ye.h)("p",null," Dovrebbe comparire questa schermata. Cliccate su ",Object(ye.h)("code",null,"Install"),", poi scegliete una cartella di installazione (ricordatevela!) e poi ",Object(ye.h)("code",null,"Continue"),". Lasciate stare le altre opzioni, dovrebbero essere tutte spuntate, tranne ",Object(ye.h)("code",null,"For all users"),", che dovrebbe essere disattivato."),Object(ye.h)("img",{src:"https://i.imgur.com/brdw8Xy.png",alt:""}),Object(ye.h)("p",null," Aspettate che finisca il download. Pochi secondi dopo, dovrebbe finire e dovrebbe apparire un tasto",Object(ye.h)("code",null,"Continue"),". Premetelo."),Object(ye.h)("img",{src:"https://i.imgur.com/aPTwrxz.png",alt:""}),Object(ye.h)("p",null," Dovrebbe apparirvi questa finestra. L'installer di MinGW è una specie di gestore pacchetti (tipo ",Object(ye.h)("code",null,"apt")," su Ubuntu); potete scegliere quali pacchetti installare, e quindi quali funzionalità."),Object(ye.h)("img",{src:"https://i.imgur.com/5QLSkFN.png",alt:""}),Object(ye.h)("p",null," Nel nostro caso, dovrebbero servirci ",Object(ye.h)("code",null,"mingw32-base-bin")," (per il C e alcune librerie C++) e",Object(ye.h)("code",null,"mingw32-gcc-g++-bin")," (per il C++). Cliccate, quindi, sui due quadratini corrispondenti, e premete",Object(ye.h)("code",null,"Mark for Installation"),". Dovrebbe comparire una freccia gialla sul quadratino."),Object(ye.h)("img",{src:"https://i.imgur.com/zP74nks.png",alt:""}),Object(ye.h)("p",null," Ora, è il momento di installare i pacchetti. Aprite il menù ",Object(ye.h)("code",null,"Installation"),", poi premete",Object(ye.h)("code",null,"Apply Changes"),", e di nuovo ",Object(ye.h)("code",null,"Apply"),"."),Object(ye.h)("img",{src:"https://i.imgur.com/jp4uz5B.png",alt:""}),Object(ye.h)("p",null," Lasciate che scarichi, ci vorrà un po'. Guardatevi un video nel frattempo, fatevi una partitina a qualcosa, tornate dopo circa 10 minuti."),Object(ye.h)("img",{src:"https://i.imgur.com/Lq9IepY.png",alt:""}),Object(ye.h)("p",null," Una volta installato, dobbiamo aggiungere ",Object(ye.h)("code",null,"g++")," ai programmi eseguibili da Prompt dei Comandi: premete il tasto ",Object(ye.h)("kbd",null,"Windows"),", e scrivete ",Object(ye.h)("code",null,"PATH"),". Windows dovrebbe trovarvi automaticamente quell'opzione."),Object(ye.h)("img",{src:"https://i.imgur.com/dy3b5Ub.png",alt:""}),Object(ye.h)("p",null," Dentro la finestra di ",Object(ye.h)("i",null,"Proprietà del Sistema"),", premete ",Object(ye.h)("code",null,"Variabili d'ambiente"),"."),Object(ye.h)("img",{src:"https://i.imgur.com/FjYpT1n.png",alt:""}),Object(ye.h)("p",null," Trovate la variabile d'ambiente globale ",Object(ye.h)("code",null,"Path"),", e fateci doppio click per modificarla."),Object(ye.h)("img",{src:"https://i.imgur.com/klZQ9So.png",alt:""}),Object(ye.h)("p",null," Ora dovreste vedere l'elenco di tutte le cartelle contenenti programmi eseguibili da terminale: dobbiamo aggiungere quella di MinGW! Premete ",Object(ye.h)("code",null,"Sfoglia"),"."),Object(ye.h)("img",{src:"https://i.imgur.com/F6lBCqS.png",alt:""}),Object(ye.h)("p",null," Trovate la cartella in cui avete installato MinGW (vi avevo detto di ricordarvela!); entrateci, poi selezionate la sottocartella ",Object(ye.h)("code",null,"bin")," e premete ",Object(ye.h)("code",null,"OK")," su tutte le finestre che avete aperto fino ad ora, chiudendole."),Object(ye.h)("p",null," Complimenti! Avete installato MinGW e potete compilare programmi C e C++ da Windows! Avete a disposizione",Object(ye.h)("code",null,"gcc")," e ",Object(ye.h)("code",null,"g++")," sul Prompt dei Comandi, e potete finalmente creare dei file .exe! ")),$o=function(e){function t(){return J(this,t),X(this,e.apply(this,arguments))}return ee(t,e),t.prototype.render=function(){return Object(ye.h)("div",{style:Vo.a.mingwinstall},Wo,Go)},t}(ye.Component),Zo=n("qMTX"),Ko=n.n(Zo),Yo=Object(ye.h)("a",{href:"https://creativecommons.org/licenses/by-sa/4.0/"},"CC BY-SA 4.0"),Qo=Object(ye.h)("a",{href:"https://github.com/Steffo99/appuntiweb"},"Codice sorgente"),Jo=function(e){function t(){return te(this,t),ne(this,e.apply(this,arguments))}return ae(t,e),t.prototype.render=function(){return Object(ye.h)("div",{class:Ko.a.copyright},"© 2019 - Stefano Pigozzi - ",Yo," - ",Qo)},t}(ye.Component),Xo=n("WViY"),el=n.n(Xo),tl=n("oNmJ"),nl=n.n(tl),al=function(e){function t(){return re(this,t),ie(this,e.apply(this,arguments))}return oe(t,e),t.prototype.getStyle=function(){return e.prototype.getStyle.call(this)+" "+nl.a.theorem},t}(De),rl=n("pRAn"),il=n.n(rl),ol=Object(ye.h)("h4",null,"Ipotesi"),ll=function(e){function t(){return le(this,t),ce(this,e.apply(this,arguments))}return se(t,e),t.prototype.render=function(){return Object(ye.h)("div",{class:il.a.hypothesis},ol,this.props.children)},t}(ye.Component),cl=n("J9SO"),sl=n.n(cl),ul=Object(ye.h)("h4",null,"Tesi"),pl=function(e){function t(){return ue(this,t),pe(this,e.apply(this,arguments))}return he(t,e),t.prototype.render=function(){return Object(ye.h)("div",{class:sl.a.thesis},ul,this.props.children)},t}(ye.Component),hl=n("Oqef"),dl=n.n(hl),bl=Object(ye.h)("h4",null,"Dimostrazione"),ml=function(e){function t(){return de(this,t),be(this,e.apply(this,arguments))}return me(t,e),t.prototype.render=function(){return Object(ye.h)("div",{class:dl.a.proof},bl,this.props.children)},t}(ye.Component),fl=fe(["Omega = left { 1, 2, 3, 4, 5, 6 \right }"],["\\Omega = \\left \\{ 1, 2, 3, 4, 5, 6 \\right \\}"]),gl=fe(["omega = 1"],["\\omega = 1"]),_l=fe(["E = left { 1, 2 \right }"],["E = \\left \\{ 1, 2 \\right \\}"]),jl=fe(["\bar{E} = left { 3, 4, 5, 6 \right }"],["\\bar{E} = \\left \\{ 3, 4, 5, 6 \\right \\}"]),Ol=fe(["E cap F = left { 1 \right }"],["E \\cap F = \\left \\{ 1 \\right \\}"]),vl=fe(["E cup F = left { 1, 2, 3, 4 \right }"],["E \\cup F = \\left \\{ 1, 2, 3, 4 \\right \\}"]),wl=fe(["E setminus F = E cap \bar{F}"],["E \\setminus F = E \\cap \\bar{F}"]),yl=fe(["E subseteq F"],["E \\subseteq F"]),kl=fe(["I = emptyset"],["I = \\emptyset"]),zl=fe(["E cap F = emptyset"],["E \\cap F = \\emptyset"]),Pl=fe(["mathcal{F}"],["\\mathcal{F}"]),El=fe(["sigma"],["\\sigma"]),Cl=fe(["Omega in mathcal{F}"],["\\Omega \\in \\mathcal{F}"]),Sl=fe(["E in mathcal{F} implies \bar{E} in mathcal{F}"],["E \\in \\mathcal{F} \\implies \\bar{E} \\in \\mathcal{F}"]),xl=fe(["(E, F) in mathcal{F} implies (E cup F, E cap F) in mathcal{F}"],["(E, F) \\in \\mathcal{F} \\implies (E \\cup F, E \\cap F) \\in \\mathcal{F}"]),Al=fe(["E in mathcal{F} implies mathcal{F} = { emptyset, E, \bar{E}, Omega }"],["E \\in \\mathcal{F} \\implies \\mathcal{F} = \\{ \\emptyset, E, \\bar{E}, \\Omega \\}"]),Ll=fe(["P(E) = \frac{casi favorevoli}{casi possibili}"],["P(E) = \\frac{casi\\ favorevoli}{casi\\ possibili}"]),Fl=fe(["P(E) = \frac{successi}{prove totali}"],["P(E) = \\frac{successi}{prove\\ totali}"]),Ml=fe(["\forall E in mathcal{F}, 0 leq P(E) leq 1"],["\\forall E \\in \\mathcal{F}, 0 \\leq P(E) \\leq 1"]),Tl=fe(["P(Omega) = 1"],["P(\\Omega) = 1"]),Il=fe(["P left ( \bigcup_i E_i \right ) = sum_i P ( E_i )"],["P \\left ( \\bigcup_i E_i \\right ) = \\sum_i P ( E_i )"]),ql=fe(["P(\bar{E}) = 1 - P(\bar{E})"],["P(\\bar{E}) = 1 - P(\\bar{E})"]),Dl=fe(["F subseteq E implies P(F) leq P(E)"],["F \\subseteq E \\implies P(F) \\leq P(E)"]),Bl=fe(["P(E cup F) = P(E) + P(F) - P(E cap F)"],["P(E \\cup F) = P(E) + P(F) - P(E \\cap F)"]),Nl=fe(["P(E) = \frac{len(E)}{len(Omega)}"],["P(E) = \\frac{len(E)}{len(\\Omega)}"]),Rl=fe(["\boldsymbol{D}_{n, k} = \frac{n!}{(n - k)!}"],["\\boldsymbol{D}_{n, k} = \\frac{n!}{(n - k)!}"]),Hl=fe(["\boldsymbol{D}^{r}_{n, k} = n^k"],["\\boldsymbol{D}^{r}_{n, k} = n^k"]),Ul=fe(["\boldsymbol{C}_{n, k} = \binom{n}{k} = \frac{n!}{(k)! cdot (n - k)!}"],["\\boldsymbol{C}_{n, k} = \\binom{n}{k} = \\frac{n!}{(k)! \\cdot (n - k)!}"]),Vl=fe(["\boldsymbol{C}^{r}_{n, k} = \binom{n + k - 1}{k} = \frac{(n + k - 1)!}{(k)! cdot (n - 1)!}"],["\\boldsymbol{C}^{r}_{n, k} = \\binom{n + k - 1}{k} = \\frac{(n + k - 1)!}{(k)! \\cdot (n - 1)!}"]),Wl=fe(["\boldsymbol{P}_n = n!"],["\\boldsymbol{P}_n = n!"]),Gl=fe(["P(E|F) = \frac{P(E cap F)}{P(F)}"],["P(E|F) = \\frac{P(E \\cap F)}{P(F)}"]),$l=fe(["E, F indipendenti Longleftrightarrow P(E|F) = P(E), P(F|E) = P(F)"],["E, F\\ indipendenti\\ \\Longleftrightarrow P(E|F) = P(E), P(F|E) = P(F)"]),Zl=fe(["E cap F = emptyset Longleftrightarrow P(E|F) = P(F|E) = 0"],["E \\cap F = \\emptyset \\Longleftrightarrow P(E|F) = P(F|E) = 0"]),Kl=fe(["P(E_1 cap \times cap E_n) = P(E_1) \times P(E_2 | E_1) \times dots \times P(E_n | E_1 cap E_2 cap dots cap E_{n-1})"],["P(E_1 \\cap \\times \\cap E_n) = P(E_1) \\times P(E_2 | E_1) \\times \\dots \\times P(E_n | E_1 \\cap E_2 \\cap \\dots \\cap E_{n-1})"]),Yl=fe(["E_i"],["E_i"]),Ql=fe(["E_1"],["E_1"]),Jl=fe(["E_2"],["E_2"]),Xl=fe(["E_3"],["E_3"]),ec=fe(["E_n"],["E_n"]),tc=fe(["Omega"],["\\Omega"]),nc=fe(["F"],["F"]),ac=fe(["in Omega"],["\\in \\Omega"]),rc=fe(["P(F) = sum_{i} P(F|E_i) cdot P(E_i)"],["P(F) = \\sum_{i} P(F|E_i) \\cdot P(E_i)"]),ic=fe(["P(F|E_i) cdot P(E_i) = P(F cap E_i)"],["P(F|E_i) \\cdot P(E_i) = P(F \\cap E_i)"]),oc=fe(["\forall i, exists! E_i"],["\\forall i, \\exists! E_i"]),lc=fe(["sum_i P(F cap E_i) = P left( \bigcup_i (F cap E_i) \right)"],["\\sum_i P(F \\cap E_i) = P \\left( \\bigcup_i (F \\cap E_i) \\right)"]),cc=fe(["\bigcup_i ( F cap E_i ) = F cap left( \bigcup_i E_i \right) = F cap Omega = F"],["\\bigcup_i ( F \\cap E_i ) = F \\cap \\left( \\bigcup_i E_i \\right) = F \\cap \\Omega = F"]),sc=fe(["P(F|G) = sum_i P(F|E_i cap G) cdot P(E_i | G)"],["P(F|G) = \\sum_i P(F|E_i \\cap G) \\cdot P(E_i | G)"]),uc=String.raw,pc=Object(ye.h)("h1",null,"Statistica ed Elementi di Probabilità"),hc=Object(ye.h)(Re,{title:"Popolazioni"},Object(ye.h)(De,{title:"Popolazione",id:"popolazione"},Object(ye.h)("p",null,"Gruppo ",Object(ye.h)("b",null,"intero")," di oggetti di cui si cercano informazioni.")),Object(ye.h)(De,{title:"Popolazione tangibile"},Object(ye.h)("p",null,"Popolazione finita di oggetti concreti che possono essere campionati ciascuno solo una volta.")),Object(ye.h)(De,{title:"Popolazione concettuale"},Object(ye.h)("p",null,"Popolazione di valori ottenuti da prove sperimentali indipendenti ripetute più volte."))),dc=Object(ye.h)(Re,{title:"Campionamento"},Object(ye.h)(De,{title:"Campione"},Object(ye.h)("p",null,"Sottoinsieme della ",Object(ye.h)("a",{href:"#popolazione"},"popolazione")," che contiene gli oggetti che si sono osservati.")),Object(ye.h)(De,{title:Object(ye.h)("i",null,"Simple random sample")},Object(ye.h)("p",null,"Campione di una data dimensione in cui qualsiasi selezione di ",Object(ye.h)("i",null,"n")," elementi ha la stessa probabilità di costituire il campione.")),Object(ye.h)(De,{title:Object(ye.h)("i",null,"Sample of convenience")},Object(ye.h)("p",null,"Campione ottenuto in un modo casuale non ben definito.")),Object(ye.h)(De,{title:Object(ye.h)("i",null,"Sample with replacement")},Object(ye.h)("p",null,"Campione ottenuto sostituendo nella popolazione gli elementi estratti con dei nuovi elementi."),Object(ye.h)("p",null,"Dire che un campione è ottenuto ",Object(ye.h)("i",null,"with replacement")," è equivalente a dire che la popolazione che si sta campionando è infinita, e quindi che tutti gli elementi sono indipendenti.")),Object(ye.h)(De,{title:"Campione pesato"},Object(ye.h)("p",null,"Campione ottenuto da una popolazione in cui certi elementi hanno più probabilità di essere stati selezionati di altri.")),Object(ye.h)(De,{title:Object(ye.h)("i",null,"Stratified random sample")},Object(ye.h)("p",null,"Campione ottenuto da un sottoinsieme della popolazione detto ",Object(ye.h)("i",null,"strato"),".")),Object(ye.h)(De,{title:Object(ye.h)("i",null,"Cluster sample")},Object(ye.h)("p",null,"Campione ottenuto selezionando più ",Object(ye.h)("i",null,"cluster")," di elementi alla volta."))),bc=Object(ye.h)(Re,null,Object(ye.h)(De,{title:Object(ye.h)("i",null,"Sampling variation")},Object(ye.h)("p",null,"Differenza di informazioni presente tra due campioni diversi della stessa popolazione.")),Object(ye.h)(De,{title:"Indipendenza"},Object(ye.h)("p",null,"Gli elementi in un campione sono indipendenti se gli elementi estratti in precedenza non influsicono ",Object(ye.h)("small",null,"significativamente")," sulle probabilità di estrazione dell'elemento successivo."))),mc=Object(ye.h)(Re,{title:"Tipi di prove sperimentali"},Object(ye.h)(De,{title:"A campione singolo"},Object(ye.h)("p",null,"Esperimento in cui c'è una sola popolazione da cui vengono estratti campioni."),Object(ye.h)("p",null,"Serve per verificare delle condizioni.")),Object(ye.h)(De,{title:"Multicampione"},Object(ye.h)("p",null,"Esperimento in cui sono presenti più popolazioni (aventi caratteristiche differenti una dall'altra dette ",Object(ye.h)("i",null,"fattori"),") da cui vengono estratti campioni."),Object(ye.h)("p",null,"Serve per capire quali fattori influenzano il risultato dell'esperimento."))),fc=Object(ye.h)(Re,{title:"Tipi di dato"},Object(ye.h)(De,{title:Object(ye.h)("span",null,"Numerico",Object(ye.h)("small",null," o quantitativo"))},"Il dato descrive un valore numerico relativo all'elemento, come ad esempio una quantità fisica."),Object(ye.h)(De,{title:Object(ye.h)("span",null,"Categorico",Object(ye.h)("small",null," o qualitativo"))},"Il dato indica una categoria a cui appartiene l'elemento, come ad esempio il suo colore.")),gc=Object(ye.h)("p",null,"L'",Object(ye.h)("b",null,"insieme")," di tutti gli esiti possibili di un esperimento."),_c=Object(ye.h)("p",null,"Uno dei possibili risultati di un esperimento."),jc=Object(ye.h)("p",null,"E' un ",Object(ye.h)("b",null,"elemento")," dello spazio campionario."),Oc=Object(ye.h)("p",null,"Un ",Object(ye.h)("b",null,"sottoinsieme")," dello spazio campionario."),vc=Object(ye.h)("p",null,"Lo spazio campionario stesso è un ",Object(ye.h)("b",null,"evento certo"),"."),wc=Object(ye.h)("p",null,"Il ",Object(ye.h)("b",null,"complementare")," di un sottoinsieme."),yc=Object(ye.h)("p",null,"L'",Object(ye.h)("b",null,"intersezione")," di più sottoinsiemi."),kc=Object(ye.h)("p",null,"L'",Object(ye.h)("b",null,"unione")," di più sottoinsiemi."),zc=Object(ye.h)("p",null,"L'",Object(ye.h)("b",null,"inclusione")," del primo insieme in un altro."),Pc=Object(ye.h)("p",null,"Se si verifica ",Object(ye.h)(Xe,null,"E"),", allora si verifica anche ",Object(ye.h)(Xe,null,"F"),"."),Ec=Object(ye.h)("p",null,"Un sottoinsieme ",Object(ye.h)("b",null,"vuoto"),"."),Cc=Object(ye.h)("p",null,"La ",Object(ye.h)("b",null,"disgiunzione")," di due insiemi."),Sc=Object(ye.h)("p",null,"I sottoinsiemi dello spazio campionario formano una ",Object(ye.h)("b",null,"famiglia")," di sottoinsiemi detta ",Object(ye.h)("i",null,"famiglia degli eventi"),"."),xc=Object(ye.h)(De,{title:"Soggettiva"},Object(ye.h)("p",null,Object(ye.h)(Ve,null,"TODO: Trovare un'espressione decente"))),Ac=Object(ye.h)("p",null,"La probabilità di un evento è un numero tra 0 e 1."),Lc=Object(ye.h)("p",null,"La probabilità dello spazio campionario è sempre 1."),Fc=Object(ye.h)("p",null,"La probabilità dell'unione di eventi indipendenti è uguale alla somma delle loro probabilità."),Mc=Object(ye.h)(De,{title:"Cosa sono?"},Object(ye.h)("p",null,"Spazi campionari in cui ci sono un numero finito di esiti e ogni esito ha la stessa probabilità di verificarsi.")),Tc=Object(ye.h)("p",null,"Estraggo un numero, da un sacchetto con ",Object(ye.h)(Xe,null,"n")," numeri, mi segno che numero ho estratto e lo ",Object(ye.h)("b",null,"tengo fuori dal sacchetto"),". Ripeto per ",Object(ye.h)(Xe,null,"k")," volte."),Ic=Object(ye.h)("p",null,Object(ye.h)("b",null,"Tengo conto")," dell'ordine in cui ho estratto i numeri."),qc=Object(ye.h)("p",null,"Estraggo un numero, da un sacchetto con ",Object(ye.h)(Xe,null,"n")," numeri, mi segno che numero ho estratto e lo ",Object(ye.h)("b",null,"rimetto nel sacchetto"),". Ripeto per ",Object(ye.h)(Xe,null,"k")," volte."),Dc=Object(ye.h)("p",null,Object(ye.h)("b",null,"Tengo conto")," dell'ordine in cui ho estratto i numeri."),Bc=Object(ye.h)("p",null,"Estraggo un numero, da un sacchetto con ",Object(ye.h)(Xe,null,"n")," numeri, mi segno che numero ho estratto e lo ",Object(ye.h)("b",null,"tengo fuori dal sacchetto"),". Ripeto per ",Object(ye.h)(Xe,null,"k")," volte."),Nc=Object(ye.h)("p",null,Object(ye.h)("b",null,"Non mi interessa")," l'ordine in cui ho estratto i numeri."),Rc=Object(ye.h)("p",null,"Estraggo un numero, da un sacchetto con ",Object(ye.h)(Xe,null,"n")," numeri, mi segno che numero ho estratto e lo ",Object(ye.h)("b",null,"rimetto nel sacchetto"),". Ripeto per ",Object(ye.h)(Xe,null,"k")," volte."),Hc=Object(ye.h)("p",null,Object(ye.h)("b",null,"Non mi interessa")," l'ordine in cui ho estratto i numeri."),Uc=Object(ye.h)("p",null,Object(ye.h)(Ve,null,"TODO: Controllare la formula.")),Vc=Object(ye.h)("p",null,"Estraggo ",Object(ye.h)(Xe,null,"n")," numeri e guardo in quanti ordini diversi li posso mettere."),Wc=Object(ye.h)(Re,null,Object(ye.h)(De,{title:"Spazi equiprobabili geometrici"},Object(ye.h)("p",null,"Gli spazi campionari possono avere un numero infinito di esisti: si ha equiprobabilità se nessun esito è privilegiato rispetto agli altri."))),Gc=Object(ye.h)("span",null,"E dato F"),$c=Object(ye.h)("p",null,"La probabilità di un evento ",Object(ye.h)(Xe,null,"E")," dato un altro evento ",Object(ye.h)(Xe,null,"F")," indica la probabilità che si verifichi ",Object(ye.h)(Xe,null,"E")," sapendo che ",Object(ye.h)("b",null,"si è già verificato")," ",Object(ye.h)(Xe,null,"F"),"."),Zc=Object(ye.h)("p",null,"Se due eventi sono indipendenti, sapere che uno dei due si è verificato non influisce sulle probabilità che si sia verificato l'altro."),Kc=Object(ye.h)("p",null,"Se due eventi sono mutualmente esclusivi, entrambe le loro probabilità condizionate saranno uguali a 0."),Yc=Object(ye.h)("p",null,"Si può sfruttare la formula inversa della probabilità condizionata per calcolare catene di intersezioni:"),Qc=Object(ye.h)("p",null,"E' una partizione dello spazio campionario un insieme di eventi:"),Jc=Object(ye.h)("ul",null,Object(ye.h)("li",null,Object(ye.h)("b",null,"Finito"),"."),Object(ye.h)("li",null,"In cui tutti gli eventi hanno ",Object(ye.h)("b",null,"probabilità diversa da 0"),"."),Object(ye.h)("li",null,"In cui tutti gli eventi sono ",Object(ye.h)("b",null,"mutualmente esclusivi"),"."),Object(ye.h)("li",null,"L'unione di tutti gli eventi ",Object(ye.h)("b",null,"copre lo spazio campionario"),".")),Xc=Object(ye.h)("p",null,"Se lo spazio campionario fosse una torta, una sua partizione sarebbe l'insieme delle fette di uno dei modi in cui si potrebbe tagliare."),es=Object(ye.h)(Xe,null,"E_i"),ts=Object(ye.h)("b",null,"partizione"),ns=Object(ye.h)("b",null,"evento"),as=Object(ye.h)("p",null,"La probabilità che si verifichi un evento è pari alla somma delle probabilità dell'evento stesso dati tutti gli eventi di una partizione."),rs=Object(ye.h)("p",null,"Per la definizione di probabilità condizionata:"),is=Object(ye.h)("p",null,"Essendo parte di una partizione, tutti gli ",Object(ye.h)(Xe,null,"E_i")," sono distinti:"),os=Object(ye.h)("p",null,"Essendo mutualmente esclusivi, le probabilità di tutti gli ",Object(ye.h)(Xe,null,"E_i")," possono essere sommate:"),ls=Object(ye.h)(Re,null,Object(ye.h)(al,{title:"Formula di Bayes"},Object(ye.h)(ll,null),Object(ye.h)(pl,null),Object(ye.h)(ml,null))),cs=function(e){function t(){return ge(this,t),_e(this,e.apply(this,arguments))}return je(t,e),t.prototype.render=function(){return Object(ye.h)("div",{style:el.a.statistica},pc,hc,dc,bc,mc,fc,Object(ye.h)(Re,{title:"Linguaggio matematico"},Object(ye.h)(De,{title:"Spazio campionario"},gc,Object(ye.h)("p",null,Object(ye.h)(Xe,null,uc(fl)))),Object(ye.h)(De,{title:"Esito"},_c,jc,Object(ye.h)("p",null,Object(ye.h)(Xe,null,uc(gl)),' "omeghino"')),Object(ye.h)(De,{title:"Evento"},Oc,Object(ye.h)("p",null,Object(ye.h)(Xe,null,uc(_l))),vc),Object(ye.h)(De,{title:"NOT"},wc,Object(ye.h)("p",null,Object(ye.h)(Xe,null,uc(jl)))),Object(ye.h)(De,{title:"AND"},yc,Object(ye.h)("p",null,Object(ye.h)(Xe,null,uc(Ol)))),Object(ye.h)(De,{title:"OR"},kc,Object(ye.h)("p",null,Object(ye.h)(Xe,null,uc(vl)))),Object(ye.h)(De,{title:"Differenza"},Object(ye.h)("p",null,Object(ye.h)(Xe,null,uc(wl)))),Object(ye.h)(De,{title:"Implicazione"},zc,Object(ye.h)("p",null,Object(ye.h)(Xe,null,uc(yl))),Pc),Object(ye.h)(De,{title:"Evento impossibile"},Ec,Object(ye.h)("p",null,Object(ye.h)(Xe,null,uc(kl)))),Object(ye.h)(De,{title:"Mutua esclusione"},Cc,Object(ye.h)("p",null,Object(ye.h)(Xe,null,uc(zl))))),Object(ye.h)(Re,{title:"Famiglia degli eventi"},Object(ye.h)(De,{title:"Famiglia"},Sc,Object(ye.h)("p",null,Object(ye.h)(Xe,null,uc(Pl)),' ("effe")'),Object(ye.h)("p",null,"Qualsiasi sottoinsieme appartenente a ",Object(ye.h)(Xe,null,uc(Pl))," è considerato un evento.")),Object(ye.h)(De,{title:Object(ye.h)("span",null,Object(ye.h)(Xe,null,uc(El)),"-algebra")},Object(ye.h)("p",null,"Se la famiglia degli eventi soddisfa questi tre requisiti, allora viene detta ",Object(ye.h)("span",null,Object(ye.h)(Xe,null,uc(El)),"-algebra"),":"),Object(ye.h)("ol",null,Object(ye.h)("li",null,"Lo spazio campionario è un evento: ",Object(ye.h)(Xe,null,uc(Cl))),Object(ye.h)("li",null,"Se un sottoinsieme è un evento, allora anche il suo complementare lo è: ",Object(ye.h)(Xe,null,uc(Sl))),Object(ye.h)("li",null,"Se due sottoinsiemi sono eventi, allora lo sono anche la loro unione e intersezione: ",Object(ye.h)(Xe,null,uc(xl)))),Object(ye.h)("p",null,"Un esempio: ",Object(ye.h)(Xe,null,uc(Al))))),Object(ye.h)(Re,{title:"Tipi di probabilità"},Object(ye.h)(De,{title:"Classica"},Object(ye.h)("p",null,Object(ye.h)(Xe,null,uc(Ll)))),Object(ye.h)(De,{title:"Frequentista"},Object(ye.h)("p",null,Object(ye.h)(Xe,null,uc(Fl)))),xc),Object(ye.h)(Re,{title:"Assiomi della probabilità"},Object(ye.h)(De,{title:"Primo"},Ac,Object(ye.h)("p",null,Object(ye.h)(Xe,null,uc(Ml)))),Object(ye.h)(De,{title:"Secondo"},Lc,Object(ye.h)("p",null,Object(ye.h)(Xe,null,uc(Tl)))),Object(ye.h)(De,{title:"Terzo"},Fc,Object(ye.h)("p",null,Object(ye.h)(Xe,null,uc(Il))))),Object(ye.h)(Re,{title:"Conseguenze degli assiomi"},Object(ye.h)(De,{title:"NOT"},Object(ye.h)("p",null,Object(ye.h)(Xe,null,uc(ql)))),Object(ye.h)(De,{title:"Inclusione"},Object(ye.h)("p",null,Object(ye.h)(Xe,null,uc(Dl)))),Object(ye.h)(De,{title:"Unione"},Object(ye.h)("p",null,Object(ye.h)(Xe,null,uc(Bl))))),Object(ye.h)(Re,{title:"Spazi equiprobabili"},Mc,Object(ye.h)(De,{title:"Probabilità"},Object(ye.h)("p",null,Object(ye.h)(Xe,null,uc(Nl))))),Object(ye.h)(Re,null,Object(ye.h)(De,{title:"Disposizioni"},Tc,Ic,Object(ye.h)("p",null,Object(ye.h)(Xe,null,uc(Rl)))),Object(ye.h)(De,{title:"Disposizioni con ripetizione"},qc,Dc,Object(ye.h)("p",null,Object(ye.h)(Xe,null,uc(Hl)))),Object(ye.h)(De,{title:"Combinazioni"},Bc,Nc,Object(ye.h)("p",null,Object(ye.h)(Xe,null,uc(Ul)))),Object(ye.h)(De,{title:"Combinazioni con ripetizione"},Rc,Hc,Object(ye.h)("p",null,Object(ye.h)(Xe,null,uc(Vl))),Uc)),Object(ye.h)(Re,null,Object(ye.h)(De,{title:"Permutazioni"},Vc,Object(ye.h)("p",null,Object(ye.h)(Xe,null,uc(Wl))))),Wc,Object(ye.h)(Re,{title:"Probabilità condizionata"},Object(ye.h)(De,{title:Gc},$c,Object(ye.h)("p",null,Object(ye.h)(Xe,null,uc(Gl)))),Object(ye.h)(De,{title:"Eventi indipendenti"},Zc,Object(ye.h)("p",null,Object(ye.h)(Xe,null,uc($l)))),Object(ye.h)(De,{title:"Eventi mutualmente esclusivi"},Kc,Object(ye.h)("p",null,Object(ye.h)(Xe,null,uc(Zl)))),Object(ye.h)(De,{title:"Regola della catena"},Yc,Object(ye.h)("p",null,Object(ye.h)(Xe,null,uc(Kl))))),Object(ye.h)(Re,null,Object(ye.h)(De,{title:"Partizioni"},Qc,Jc,Xc,Object(ye.h)("p",null,"La partizione ",Object(ye.h)(Xe,null,uc(Yl))," è composta dagli eventi ",Object(ye.h)(Xe,null,uc(Ql)),", ",Object(ye.h)(Xe,null,uc(Jl)),", ",Object(ye.h)(Xe,null,uc(Xl)),", fino a ",Object(ye.h)(Xe,null,uc(ec)),".")),Object(ye.h)(al,{title:"Legge delle alternative"},Object(ye.h)(ll,null,Object(ye.h)("ul",null,Object(ye.h)("li",null,es," ",ts," di ",Object(ye.h)(Xe,null,uc(tc))),Object(ye.h)("li",null,Object(ye.h)(Xe,null,uc(nc))," ",ns," ",Object(ye.h)(Xe,null,uc(ac))))),Object(ye.h)(pl,null,as,Object(ye.h)("p",null,Object(ye.h)(Xe,null,uc(rc)))),Object(ye.h)(ml,null,rs,Object(ye.h)("p",null,Object(ye.h)(Xe,null,uc(ic))),is,Object(ye.h)("p",null,Object(ye.h)(Xe,null,uc(oc))),os,Object(ye.h)("p",null,Object(ye.h)(Xe,null,uc(lc))),Object(ye.h)("p",null,"Essendo una partizione di ",Object(ye.h)(Xe,null,uc(tc)),", allora la loro unione lo forma:"),Object(ye.h)("p",null,Object(ye.h)(Xe,null,uc(cc)))))),Object(ye.h)(Re,null,Object(ye.h)(De,{title:"Legge condizionata delle alternative"},Object(ye.h)("p",null,"La legge delle alternative funziona anche per gli eventi, non solo per ",Object(ye.h)(Xe,null,uc(tc)),":"),Object(ye.h)("p",null,Object(ye.h)(Xe,null,uc(sc))))),ls)},t}(ye.Component);n.d(t,"default",function(){return us});var ss=Object(ye.h)("div",{id:"app"},Object(ye.h)("h1",null,Object(ye.h)("a",{href:"/"},"Appuntiweb")," ",Object(ye.h)("small",null,"di ",Object(ye.h)("a",{href:"https://steffo.eu/"},"Steffo"))),Object(ye.h)(Fe,null,Object(ye.h)(Ze,{path:"/"}),Object(ye.h)(Ao,{path:"/fisica"}),Object(ye.h)(Ho,{path:"/vldigeometria"}),Object(ye.h)($o,{path:"/mingwinstall"}),Object(ye.h)(cs,{path:"/statistica"})),Object(ye.h)(Jo,null)),us=function(e){function t(){return Oe(this,t),ve(this,e.apply(this,arguments))}return we(t,e),t.prototype.render=function(){return ss},t}(ye.Component)},KM04:function(e){!function(){"use strict";function t(e,t){var n,a,r,i,o=F;for(i=arguments.length;i-- >2;)L.push(arguments[i]);for(t&&null!=t.children&&(L.length||L.push(t.children),delete t.children);L.length;)if((a=L.pop())&&void 0!==a.pop)for(i=a.length;i--;)L.push(a[i]);else"boolean"==typeof a&&(a=null),(r="function"!=typeof e)&&(null==a?a="":"number"==typeof a?a+="":"string"!=typeof a&&(r=!1)),r&&n?o[o.length-1]+=a:o===F?o=[a]:o.push(a),n=r;var l=new x;return l.nodeName=e,l.children=o,l.attributes=null==t?void 0:t,l.key=null==t?void 0:t.key,void 0!==A.vnode&&A.vnode(l),l}function n(e,t){for(var n in t)e[n]=t[n];return e}function a(e,t){e&&("function"==typeof e?e(t):e.current=t)}function r(e,a){return t(e.nodeName,n(n({},e.attributes),a),arguments.length>2?[].slice.call(arguments,2):e.children)}function i(e){!e.__d&&(e.__d=!0)&&1==I.push(e)&&(A.debounceRendering||M)(o)}function o(){for(var e;e=I.pop();)e.__d&&k(e)}function l(e,t,n){return"string"==typeof t||"number"==typeof t?void 0!==e.splitText:"string"==typeof t.nodeName?!e._componentConstructor&&c(e,t.nodeName):n||e._componentConstructor===t.nodeName}function c(e,t){return e.__n===t||e.nodeName.toLowerCase()===t.toLowerCase()}function s(e){var t=n({},e.attributes);t.children=e.children;var a=e.nodeName.defaultProps;if(void 0!==a)for(var r in a)void 0===t[r]&&(t[r]=a[r]);return t}function u(e,t){var n=t?document.createElementNS("http://www.w3.org/2000/svg",e):document.createElement(e);return n.__n=e,n}function p(e){var t=e.parentNode;t&&t.removeChild(e)}function h(e,t,n,r,i){if("className"===t&&(t="class"),"key"===t);else if("ref"===t)a(n,null),a(r,e);else if("class"!==t||i)if("style"===t){if(r&&"string"!=typeof r&&"string"!=typeof n||(e.style.cssText=r||""),r&&"object"==typeof r){if("string"!=typeof n)for(var o in n)o in r||(e.style[o]="");for(var o in r)e.style[o]="number"==typeof r[o]&&!1===T.test(o)?r[o]+"px":r[o]}}else if("dangerouslySetInnerHTML"===t)r&&(e.innerHTML=r.__html||"");else if("o"==t[0]&&"n"==t[1]){var l=t!==(t=t.replace(/Capture$/,""));t=t.toLowerCase().substring(2),r?n||e.addEventListener(t,d,l):e.removeEventListener(t,d,l),(e.__l||(e.__l={}))[t]=r}else if("list"!==t&&"type"!==t&&!i&&t in e){try{e[t]=null==r?"":r}catch(e){}null!=r&&!1!==r||"spellcheck"==t||e.removeAttribute(t)}else{var c=i&&t!==(t=t.replace(/^xlink:?/,""));null==r||!1===r?c?e.removeAttributeNS("http://www.w3.org/1999/xlink",t.toLowerCase()):e.removeAttribute(t):"function"!=typeof r&&(c?e.setAttributeNS("http://www.w3.org/1999/xlink",t.toLowerCase(),r):e.setAttribute(t,r))}else e.className=r||""}function d(e){return this.__l[e.type](A.event&&A.event(e)||e)}function b(){for(var e;e=q.shift();)A.afterMount&&A.afterMount(e),e.componentDidMount&&e.componentDidMount()}function m(e,t,n,a,r,i){D++||(B=null!=r&&void 0!==r.ownerSVGElement,N=null!=e&&!("__preactattr_"in e));var o=f(e,t,n,a,i);return r&&o.parentNode!==r&&r.appendChild(o),--D||(N=!1,i||b()),o}function f(e,t,n,a,r){var i=e,o=B;if(null!=t&&"boolean"!=typeof t||(t=""),"string"==typeof t||"number"==typeof t)return e&&void 0!==e.splitText&&e.parentNode&&(!e._component||r)?e.nodeValue!=t&&(e.nodeValue=t):(i=document.createTextNode(t),e&&(e.parentNode&&e.parentNode.replaceChild(i,e),_(e,!0))),i.__preactattr_=!0,i;var l=t.nodeName;if("function"==typeof l)return z(e,t,n,a);if(B="svg"===l||"foreignObject"!==l&&B,l+="",(!e||!c(e,l))&&(i=u(l,B),e)){for(;e.firstChild;)i.appendChild(e.firstChild);e.parentNode&&e.parentNode.replaceChild(i,e),_(e,!0)}var s=i.firstChild,p=i.__preactattr_,h=t.children;if(null==p){p=i.__preactattr_={};for(var d=i.attributes,b=d.length;b--;)p[d[b].name]=d[b].value}return!N&&h&&1===h.length&&"string"==typeof h[0]&&null!=s&&void 0!==s.splitText&&null==s.nextSibling?s.nodeValue!=h[0]&&(s.nodeValue=h[0]):(h&&h.length||null!=s)&&g(i,h,n,a,N||null!=p.dangerouslySetInnerHTML),O(i,t.attributes,p),B=o,i}function g(e,t,n,a,r){var i,o,c,s,u,h=e.childNodes,d=[],b={},m=0,g=0,j=h.length,O=0,v=t?t.length:0;if(0!==j)for(var w=0;w (GFM Style)',\n type: 'boolean'\n },\n requireSpaceBeforeHeadingText: {\n defaultValue: false,\n description: 'Makes adding a space between `#` and the header text mandatory (GFM Style)',\n type: 'boolean'\n },\n ghMentions: {\n defaultValue: false,\n description: 'Enables github @mentions',\n type: 'boolean'\n },\n ghMentionsLink: {\n defaultValue: 'https://github.com/{u}',\n description: 'Changes the link generated by @mentions. Only applies if ghMentions option is enabled.',\n type: 'string'\n },\n encodeEmails: {\n defaultValue: true,\n description: 'Encode e-mail addresses through the use of Character Entities, transforming ASCII e-mail addresses into its equivalent decimal entities',\n type: 'boolean'\n },\n openLinksInNewWindow: {\n defaultValue: false,\n description: 'Open all links in new windows',\n type: 'boolean'\n },\n backslashEscapesHTMLTags: {\n defaultValue: false,\n description: 'Support for HTML Tag escaping. ex: \\foo\\',\n type: 'boolean'\n },\n emoji: {\n defaultValue: false,\n description: 'Enable emoji support. Ex: `this is a :smile: emoji`',\n type: 'boolean'\n },\n underline: {\n defaultValue: false,\n description: 'Enable support for underline. Syntax is double or triple underscores: `__underline word__`. With this option enabled, underscores no longer parses into `` and ``',\n type: 'boolean'\n },\n completeHTMLDocument: {\n defaultValue: false,\n description: 'Outputs a complete html document, including ``, `` and `` tags',\n type: 'boolean'\n },\n metadata: {\n defaultValue: false,\n description: 'Enable support for document metadata (defined at the top of the document between `«««` and `»»»` or between `---` and `---`).',\n type: 'boolean'\n },\n splitAdjacentBlockquotes: {\n defaultValue: false,\n description: 'Split adjacent blockquote blocks',\n type: 'boolean'\n }\n };\n if (simple === false) {\n return JSON.parse(JSON.stringify(defaultOptions));\n }\n var ret = {};\n for (var opt in defaultOptions) {\n if (defaultOptions.hasOwnProperty(opt)) {\n ret[opt] = defaultOptions[opt].defaultValue;\n }\n }\n return ret;\n }\n\n function allOptionsOn() {\n 'use strict';\n\n var options = getDefaultOpts(true),\n ret = {};\n for (var opt in options) {\n if (options.hasOwnProperty(opt)) {\n ret[opt] = true;\n }\n }\n return ret;\n }\n\n /**\n * Created by Tivie on 06-01-2015.\n */\n\n // Private properties\n var showdown = {},\n parsers = {},\n extensions = {},\n globalOptions = getDefaultOpts(true),\n setFlavor = 'vanilla',\n flavor = {\n github: {\n omitExtraWLInCodeBlocks: true,\n simplifiedAutoLink: true,\n excludeTrailingPunctuationFromURLs: true,\n literalMidWordUnderscores: true,\n strikethrough: true,\n tables: true,\n tablesHeaderId: true,\n ghCodeBlocks: true,\n tasklists: true,\n disableForced4SpacesIndentedSublists: true,\n simpleLineBreaks: true,\n requireSpaceBeforeHeadingText: true,\n ghCompatibleHeaderId: true,\n ghMentions: true,\n backslashEscapesHTMLTags: true,\n emoji: true,\n splitAdjacentBlockquotes: true\n },\n original: {\n noHeaderId: true,\n ghCodeBlocks: false\n },\n ghost: {\n omitExtraWLInCodeBlocks: true,\n parseImgDimensions: true,\n simplifiedAutoLink: true,\n excludeTrailingPunctuationFromURLs: true,\n literalMidWordUnderscores: true,\n strikethrough: true,\n tables: true,\n tablesHeaderId: true,\n ghCodeBlocks: true,\n tasklists: true,\n smoothLivePreview: true,\n simpleLineBreaks: true,\n requireSpaceBeforeHeadingText: true,\n ghMentions: false,\n encodeEmails: true\n },\n vanilla: getDefaultOpts(true),\n allOn: allOptionsOn()\n };\n\n /**\n * helper namespace\n * @type {{}}\n */\n showdown.helper = {};\n\n /**\n * TODO LEGACY SUPPORT CODE\n * @type {{}}\n */\n showdown.extensions = {};\n\n /**\n * Set a global option\n * @static\n * @param {string} key\n * @param {*} value\n * @returns {showdown}\n */\n showdown.setOption = function (key, value) {\n 'use strict';\n\n globalOptions[key] = value;\n return this;\n };\n\n /**\n * Get a global option\n * @static\n * @param {string} key\n * @returns {*}\n */\n showdown.getOption = function (key) {\n 'use strict';\n\n return globalOptions[key];\n };\n\n /**\n * Get the global options\n * @static\n * @returns {{}}\n */\n showdown.getOptions = function () {\n 'use strict';\n\n return globalOptions;\n };\n\n /**\n * Reset global options to the default values\n * @static\n */\n showdown.resetOptions = function () {\n 'use strict';\n\n globalOptions = getDefaultOpts(true);\n };\n\n /**\n * Set the flavor showdown should use as default\n * @param {string} name\n */\n showdown.setFlavor = function (name) {\n 'use strict';\n\n if (!flavor.hasOwnProperty(name)) {\n throw Error(name + ' flavor was not found');\n }\n showdown.resetOptions();\n var preset = flavor[name];\n setFlavor = name;\n for (var option in preset) {\n if (preset.hasOwnProperty(option)) {\n globalOptions[option] = preset[option];\n }\n }\n };\n\n /**\n * Get the currently set flavor\n * @returns {string}\n */\n showdown.getFlavor = function () {\n 'use strict';\n\n return setFlavor;\n };\n\n /**\n * Get the options of a specified flavor. Returns undefined if the flavor was not found\n * @param {string} name Name of the flavor\n * @returns {{}|undefined}\n */\n showdown.getFlavorOptions = function (name) {\n 'use strict';\n\n if (flavor.hasOwnProperty(name)) {\n return flavor[name];\n }\n };\n\n /**\n * Get the default options\n * @static\n * @param {boolean} [simple=true]\n * @returns {{}}\n */\n showdown.getDefaultOptions = function (simple) {\n 'use strict';\n\n return getDefaultOpts(simple);\n };\n\n /**\n * Get or set a subParser\n *\n * subParser(name) - Get a registered subParser\n * subParser(name, func) - Register a subParser\n * @static\n * @param {string} name\n * @param {function} [func]\n * @returns {*}\n */\n showdown.subParser = function (name, func) {\n 'use strict';\n\n if (showdown.helper.isString(name)) {\n if (typeof func !== 'undefined') {\n parsers[name] = func;\n } else {\n if (parsers.hasOwnProperty(name)) {\n return parsers[name];\n } else {\n throw Error('SubParser named ' + name + ' not registered!');\n }\n }\n }\n };\n\n /**\n * Gets or registers an extension\n * @static\n * @param {string} name\n * @param {object|function=} ext\n * @returns {*}\n */\n showdown.extension = function (name, ext) {\n 'use strict';\n\n if (!showdown.helper.isString(name)) {\n throw Error('Extension \\'name\\' must be a string');\n }\n\n name = showdown.helper.stdExtName(name);\n\n // Getter\n if (showdown.helper.isUndefined(ext)) {\n if (!extensions.hasOwnProperty(name)) {\n throw Error('Extension named ' + name + ' is not registered!');\n }\n return extensions[name];\n\n // Setter\n } else {\n // Expand extension if it's wrapped in a function\n if (typeof ext === 'function') {\n ext = ext();\n }\n\n // Ensure extension is an array\n if (!showdown.helper.isArray(ext)) {\n ext = [ext];\n }\n\n var validExtension = validate(ext, name);\n\n if (validExtension.valid) {\n extensions[name] = ext;\n } else {\n throw Error(validExtension.error);\n }\n }\n };\n\n /**\n * Gets all extensions registered\n * @returns {{}}\n */\n showdown.getAllExtensions = function () {\n 'use strict';\n\n return extensions;\n };\n\n /**\n * Remove an extension\n * @param {string} name\n */\n showdown.removeExtension = function (name) {\n 'use strict';\n\n delete extensions[name];\n };\n\n /**\n * Removes all extensions\n */\n showdown.resetExtensions = function () {\n 'use strict';\n\n extensions = {};\n };\n\n /**\n * Validate extension\n * @param {array} extension\n * @param {string} name\n * @returns {{valid: boolean, error: string}}\n */\n function validate(extension, name) {\n 'use strict';\n\n var errMsg = name ? 'Error in ' + name + ' extension->' : 'Error in unnamed extension',\n ret = {\n valid: true,\n error: ''\n };\n\n if (!showdown.helper.isArray(extension)) {\n extension = [extension];\n }\n\n for (var i = 0; i < extension.length; ++i) {\n var baseMsg = errMsg + ' sub-extension ' + i + ': ',\n ext = extension[i];\n if (typeof ext !== 'object') {\n ret.valid = false;\n ret.error = baseMsg + 'must be an object, but ' + typeof ext + ' given';\n return ret;\n }\n\n if (!showdown.helper.isString(ext.type)) {\n ret.valid = false;\n ret.error = baseMsg + 'property \"type\" must be a string, but ' + typeof ext.type + ' given';\n return ret;\n }\n\n var type = ext.type = ext.type.toLowerCase();\n\n // normalize extension type\n if (type === 'language') {\n type = ext.type = 'lang';\n }\n\n if (type === 'html') {\n type = ext.type = 'output';\n }\n\n if (type !== 'lang' && type !== 'output' && type !== 'listener') {\n ret.valid = false;\n ret.error = baseMsg + 'type ' + type + ' is not recognized. Valid values: \"lang/language\", \"output/html\" or \"listener\"';\n return ret;\n }\n\n if (type === 'listener') {\n if (showdown.helper.isUndefined(ext.listeners)) {\n ret.valid = false;\n ret.error = baseMsg + '. Extensions of type \"listener\" must have a property called \"listeners\"';\n return ret;\n }\n } else {\n if (showdown.helper.isUndefined(ext.filter) && showdown.helper.isUndefined(ext.regex)) {\n ret.valid = false;\n ret.error = baseMsg + type + ' extensions must define either a \"regex\" property or a \"filter\" method';\n return ret;\n }\n }\n\n if (ext.listeners) {\n if (typeof ext.listeners !== 'object') {\n ret.valid = false;\n ret.error = baseMsg + '\"listeners\" property must be an object but ' + typeof ext.listeners + ' given';\n return ret;\n }\n for (var ln in ext.listeners) {\n if (ext.listeners.hasOwnProperty(ln)) {\n if (typeof ext.listeners[ln] !== 'function') {\n ret.valid = false;\n ret.error = baseMsg + '\"listeners\" property must be an hash of [event name]: [callback]. listeners.' + ln + ' must be a function but ' + typeof ext.listeners[ln] + ' given';\n return ret;\n }\n }\n }\n }\n\n if (ext.filter) {\n if (typeof ext.filter !== 'function') {\n ret.valid = false;\n ret.error = baseMsg + '\"filter\" must be a function, but ' + typeof ext.filter + ' given';\n return ret;\n }\n } else if (ext.regex) {\n if (showdown.helper.isString(ext.regex)) {\n ext.regex = new RegExp(ext.regex, 'g');\n }\n if (!(ext.regex instanceof RegExp)) {\n ret.valid = false;\n ret.error = baseMsg + '\"regex\" property must either be a string or a RegExp object, but ' + typeof ext.regex + ' given';\n return ret;\n }\n if (showdown.helper.isUndefined(ext.replace)) {\n ret.valid = false;\n ret.error = baseMsg + '\"regex\" extensions must implement a replace string or function';\n return ret;\n }\n }\n }\n return ret;\n }\n\n /**\n * Validate extension\n * @param {object} ext\n * @returns {boolean}\n */\n showdown.validateExtension = function (ext) {\n 'use strict';\n\n var validateExtension = validate(ext, null);\n if (!validateExtension.valid) {\n console.warn(validateExtension.error);\n return false;\n }\n return true;\n };\n\n /**\n * showdownjs helper functions\n */\n\n if (!showdown.hasOwnProperty('helper')) {\n showdown.helper = {};\n }\n\n /**\n * Check if var is string\n * @static\n * @param {string} a\n * @returns {boolean}\n */\n showdown.helper.isString = function (a) {\n 'use strict';\n\n return typeof a === 'string' || a instanceof String;\n };\n\n /**\n * Check if var is a function\n * @static\n * @param {*} a\n * @returns {boolean}\n */\n showdown.helper.isFunction = function (a) {\n 'use strict';\n\n var getType = {};\n return a && getType.toString.call(a) === '[object Function]';\n };\n\n /**\n * isArray helper function\n * @static\n * @param {*} a\n * @returns {boolean}\n */\n showdown.helper.isArray = function (a) {\n 'use strict';\n\n return Array.isArray(a);\n };\n\n /**\n * Check if value is undefined\n * @static\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is `undefined`, else `false`.\n */\n showdown.helper.isUndefined = function (value) {\n 'use strict';\n\n return typeof value === 'undefined';\n };\n\n /**\n * ForEach helper function\n * Iterates over Arrays and Objects (own properties only)\n * @static\n * @param {*} obj\n * @param {function} callback Accepts 3 params: 1. value, 2. key, 3. the original array/object\n */\n showdown.helper.forEach = function (obj, callback) {\n 'use strict';\n // check if obj is defined\n\n if (showdown.helper.isUndefined(obj)) {\n throw new Error('obj param is required');\n }\n\n if (showdown.helper.isUndefined(callback)) {\n throw new Error('callback param is required');\n }\n\n if (!showdown.helper.isFunction(callback)) {\n throw new Error('callback param must be a function/closure');\n }\n\n if (typeof obj.forEach === 'function') {\n obj.forEach(callback);\n } else if (showdown.helper.isArray(obj)) {\n for (var i = 0; i < obj.length; i++) {\n callback(obj[i], i, obj);\n }\n } else if (typeof obj === 'object') {\n for (var prop in obj) {\n if (obj.hasOwnProperty(prop)) {\n callback(obj[prop], prop, obj);\n }\n }\n } else {\n throw new Error('obj does not seem to be an array or an iterable object');\n }\n };\n\n /**\n * Standardidize extension name\n * @static\n * @param {string} s extension name\n * @returns {string}\n */\n showdown.helper.stdExtName = function (s) {\n 'use strict';\n\n return s.replace(/[_?*+\\/\\\\.^-]/g, '').replace(/\\s/g, '').toLowerCase();\n };\n\n function escapeCharactersCallback(wholeMatch, m1) {\n 'use strict';\n\n var charCodeToEscape = m1.charCodeAt(0);\n return '¨E' + charCodeToEscape + 'E';\n }\n\n /**\n * Callback used to escape characters when passing through String.replace\n * @static\n * @param {string} wholeMatch\n * @param {string} m1\n * @returns {string}\n */\n showdown.helper.escapeCharactersCallback = escapeCharactersCallback;\n\n /**\n * Escape characters in a string\n * @static\n * @param {string} text\n * @param {string} charsToEscape\n * @param {boolean} afterBackslash\n * @returns {XML|string|void|*}\n */\n showdown.helper.escapeCharacters = function (text, charsToEscape, afterBackslash) {\n 'use strict';\n // First we have to escape the escape characters so that\n // we can build a character class out of them\n\n var regexString = '([' + charsToEscape.replace(/([\\[\\]\\\\])/g, '\\\\$1') + '])';\n\n if (afterBackslash) {\n regexString = '\\\\\\\\' + regexString;\n }\n\n var regex = new RegExp(regexString, 'g');\n text = text.replace(regex, escapeCharactersCallback);\n\n return text;\n };\n\n /**\n * Unescape HTML entities\n * @param txt\n * @returns {string}\n */\n showdown.helper.unescapeHTMLEntities = function (txt) {\n 'use strict';\n\n return txt.replace(/"/g, '\"').replace(/</g, '<').replace(/>/g, '>').replace(/&/g, '&');\n };\n\n var rgxFindMatchPos = function rgxFindMatchPos(str, left, right, flags) {\n 'use strict';\n\n var f = flags || '',\n g = f.indexOf('g') > -1,\n x = new RegExp(left + '|' + right, 'g' + f.replace(/g/g, '')),\n l = new RegExp(left, f.replace(/g/g, '')),\n pos = [],\n t,\n s,\n m,\n start,\n end;\n\n do {\n t = 0;\n while (m = x.exec(str)) {\n if (l.test(m[0])) {\n if (!t++) {\n s = x.lastIndex;\n start = s - m[0].length;\n }\n } else if (t) {\n if (! --t) {\n end = m.index + m[0].length;\n var obj = {\n left: { start: start, end: s },\n match: { start: s, end: m.index },\n right: { start: m.index, end: end },\n wholeMatch: { start: start, end: end }\n };\n pos.push(obj);\n if (!g) {\n return pos;\n }\n }\n }\n }\n } while (t && (x.lastIndex = s));\n\n return pos;\n };\n\n /**\n * matchRecursiveRegExp\n *\n * (c) 2007 Steven Levithan \n * MIT License\n *\n * Accepts a string to search, a left and right format delimiter\n * as regex patterns, and optional regex flags. Returns an array\n * of matches, allowing nested instances of left/right delimiters.\n * Use the \"g\" flag to return all matches, otherwise only the\n * first is returned. Be careful to ensure that the left and\n * right format delimiters produce mutually exclusive matches.\n * Backreferences are not supported within the right delimiter\n * due to how it is internally combined with the left delimiter.\n * When matching strings whose format delimiters are unbalanced\n * to the left or right, the output is intentionally as a\n * conventional regex library with recursion support would\n * produce, e.g. \"<\" and \">\" both produce [\"x\"] when using\n * \"<\" and \">\" as the delimiters (both strings contain a single,\n * balanced instance of \"\").\n *\n * examples:\n * matchRecursiveRegExp(\"test\", \"\\\\(\", \"\\\\)\")\n * returns: []\n * matchRecursiveRegExp(\">>t<>\", \"<\", \">\", \"g\")\n * returns: [\"t<>\", \"\"]\n * matchRecursiveRegExp(\"test\", \"]*>\", \"\", \"gi\")\n * returns: [\"test\"]\n */\n showdown.helper.matchRecursiveRegExp = function (str, left, right, flags) {\n 'use strict';\n\n var matchPos = rgxFindMatchPos(str, left, right, flags),\n results = [];\n\n for (var i = 0; i < matchPos.length; ++i) {\n results.push([str.slice(matchPos[i].wholeMatch.start, matchPos[i].wholeMatch.end), str.slice(matchPos[i].match.start, matchPos[i].match.end), str.slice(matchPos[i].left.start, matchPos[i].left.end), str.slice(matchPos[i].right.start, matchPos[i].right.end)]);\n }\n return results;\n };\n\n /**\n *\n * @param {string} str\n * @param {string|function} replacement\n * @param {string} left\n * @param {string} right\n * @param {string} flags\n * @returns {string}\n */\n showdown.helper.replaceRecursiveRegExp = function (str, replacement, left, right, flags) {\n 'use strict';\n\n if (!showdown.helper.isFunction(replacement)) {\n var repStr = replacement;\n replacement = function replacement() {\n return repStr;\n };\n }\n\n var matchPos = rgxFindMatchPos(str, left, right, flags),\n finalStr = str,\n lng = matchPos.length;\n\n if (lng > 0) {\n var bits = [];\n if (matchPos[0].wholeMatch.start !== 0) {\n bits.push(str.slice(0, matchPos[0].wholeMatch.start));\n }\n for (var i = 0; i < lng; ++i) {\n bits.push(replacement(str.slice(matchPos[i].wholeMatch.start, matchPos[i].wholeMatch.end), str.slice(matchPos[i].match.start, matchPos[i].match.end), str.slice(matchPos[i].left.start, matchPos[i].left.end), str.slice(matchPos[i].right.start, matchPos[i].right.end)));\n if (i < lng - 1) {\n bits.push(str.slice(matchPos[i].wholeMatch.end, matchPos[i + 1].wholeMatch.start));\n }\n }\n if (matchPos[lng - 1].wholeMatch.end < str.length) {\n bits.push(str.slice(matchPos[lng - 1].wholeMatch.end));\n }\n finalStr = bits.join('');\n }\n return finalStr;\n };\n\n /**\n * Returns the index within the passed String object of the first occurrence of the specified regex,\n * starting the search at fromIndex. Returns -1 if the value is not found.\n *\n * @param {string} str string to search\n * @param {RegExp} regex Regular expression to search\n * @param {int} [fromIndex = 0] Index to start the search\n * @returns {Number}\n * @throws InvalidArgumentError\n */\n showdown.helper.regexIndexOf = function (str, regex, fromIndex) {\n 'use strict';\n\n if (!showdown.helper.isString(str)) {\n throw 'InvalidArgumentError: first parameter of showdown.helper.regexIndexOf function must be a string';\n }\n if (regex instanceof RegExp === false) {\n throw 'InvalidArgumentError: second parameter of showdown.helper.regexIndexOf function must be an instance of RegExp';\n }\n var indexOf = str.substring(fromIndex || 0).search(regex);\n return indexOf >= 0 ? indexOf + (fromIndex || 0) : indexOf;\n };\n\n /**\n * Splits the passed string object at the defined index, and returns an array composed of the two substrings\n * @param {string} str string to split\n * @param {int} index index to split string at\n * @returns {[string,string]}\n * @throws InvalidArgumentError\n */\n showdown.helper.splitAtIndex = function (str, index) {\n 'use strict';\n\n if (!showdown.helper.isString(str)) {\n throw 'InvalidArgumentError: first parameter of showdown.helper.regexIndexOf function must be a string';\n }\n return [str.substring(0, index), str.substring(index)];\n };\n\n /**\n * Obfuscate an e-mail address through the use of Character Entities,\n * transforming ASCII characters into their equivalent decimal or hex entities.\n *\n * Since it has a random component, subsequent calls to this function produce different results\n *\n * @param {string} mail\n * @returns {string}\n */\n showdown.helper.encodeEmailAddress = function (mail) {\n 'use strict';\n\n var encode = [function (ch) {\n return '' + ch.charCodeAt(0) + ';';\n }, function (ch) {\n return '' + ch.charCodeAt(0).toString(16) + ';';\n }, function (ch) {\n return ch;\n }];\n\n mail = mail.replace(/./g, function (ch) {\n if (ch === '@') {\n // this *must* be encoded. I insist.\n ch = encode[Math.floor(Math.random() * 2)](ch);\n } else {\n var r = Math.random();\n // roughly 10% raw, 45% hex, 45% dec\n ch = r > 0.9 ? encode[2](ch) : r > 0.45 ? encode[1](ch) : encode[0](ch);\n }\n return ch;\n });\n\n return mail;\n };\n\n /**\n *\n * @param str\n * @param targetLength\n * @param padString\n * @returns {string}\n */\n showdown.helper.padEnd = function padEnd(str, targetLength, padString) {\n 'use strict';\n /*jshint bitwise: false*/\n // eslint-disable-next-line space-infix-ops\n\n targetLength = targetLength >> 0; //floor if number or convert non-number to 0;\n /*jshint bitwise: true*/\n padString = String(padString || ' ');\n if (str.length > targetLength) {\n return String(str);\n } else {\n targetLength = targetLength - str.length;\n if (targetLength > padString.length) {\n padString += padString.repeat(targetLength / padString.length); //append to original to ensure we are longer than needed\n }\n return String(str) + padString.slice(0, targetLength);\n }\n };\n\n /**\n * POLYFILLS\n */\n // use this instead of builtin is undefined for IE8 compatibility\n if (typeof console === 'undefined') {\n console = {\n warn: function warn(msg) {\n 'use strict';\n\n alert(msg);\n },\n log: function log(msg) {\n 'use strict';\n\n alert(msg);\n },\n error: function error(msg) {\n 'use strict';\n\n throw msg;\n }\n };\n }\n\n /**\n * Common regexes.\n * We declare some common regexes to improve performance\n */\n showdown.helper.regexes = {\n asteriskDashAndColon: /([*_:~])/g\n };\n\n /**\n * EMOJIS LIST\n */\n showdown.helper.emojis = {\n '+1': '\\uD83D\\uDC4D',\n '-1': '\\uD83D\\uDC4E',\n '100': '\\uD83D\\uDCAF',\n '1234': '\\uD83D\\uDD22',\n '1st_place_medal': '\\uD83E\\uDD47',\n '2nd_place_medal': '\\uD83E\\uDD48',\n '3rd_place_medal': '\\uD83E\\uDD49',\n '8ball': '\\uD83C\\uDFB1',\n 'a': '\\uD83C\\uDD70\\uFE0F',\n 'ab': '\\uD83C\\uDD8E',\n 'abc': '\\uD83D\\uDD24',\n 'abcd': '\\uD83D\\uDD21',\n 'accept': '\\uD83C\\uDE51',\n 'aerial_tramway': '\\uD83D\\uDEA1',\n 'airplane': '\\u2708\\uFE0F',\n 'alarm_clock': '\\u23F0',\n 'alembic': '\\u2697\\uFE0F',\n 'alien': '\\uD83D\\uDC7D',\n 'ambulance': '\\uD83D\\uDE91',\n 'amphora': '\\uD83C\\uDFFA',\n 'anchor': '\\u2693\\uFE0F',\n 'angel': '\\uD83D\\uDC7C',\n 'anger': '\\uD83D\\uDCA2',\n 'angry': '\\uD83D\\uDE20',\n 'anguished': '\\uD83D\\uDE27',\n 'ant': '\\uD83D\\uDC1C',\n 'apple': '\\uD83C\\uDF4E',\n 'aquarius': '\\u2652\\uFE0F',\n 'aries': '\\u2648\\uFE0F',\n 'arrow_backward': '\\u25C0\\uFE0F',\n 'arrow_double_down': '\\u23EC',\n 'arrow_double_up': '\\u23EB',\n 'arrow_down': '\\u2B07\\uFE0F',\n 'arrow_down_small': '\\uD83D\\uDD3D',\n 'arrow_forward': '\\u25B6\\uFE0F',\n 'arrow_heading_down': '\\u2935\\uFE0F',\n 'arrow_heading_up': '\\u2934\\uFE0F',\n 'arrow_left': '\\u2B05\\uFE0F',\n 'arrow_lower_left': '\\u2199\\uFE0F',\n 'arrow_lower_right': '\\u2198\\uFE0F',\n 'arrow_right': '\\u27A1\\uFE0F',\n 'arrow_right_hook': '\\u21AA\\uFE0F',\n 'arrow_up': '\\u2B06\\uFE0F',\n 'arrow_up_down': '\\u2195\\uFE0F',\n 'arrow_up_small': '\\uD83D\\uDD3C',\n 'arrow_upper_left': '\\u2196\\uFE0F',\n 'arrow_upper_right': '\\u2197\\uFE0F',\n 'arrows_clockwise': '\\uD83D\\uDD03',\n 'arrows_counterclockwise': '\\uD83D\\uDD04',\n 'art': '\\uD83C\\uDFA8',\n 'articulated_lorry': '\\uD83D\\uDE9B',\n 'artificial_satellite': '\\uD83D\\uDEF0',\n 'astonished': '\\uD83D\\uDE32',\n 'athletic_shoe': '\\uD83D\\uDC5F',\n 'atm': '\\uD83C\\uDFE7',\n 'atom_symbol': '\\u269B\\uFE0F',\n 'avocado': '\\uD83E\\uDD51',\n 'b': '\\uD83C\\uDD71\\uFE0F',\n 'baby': '\\uD83D\\uDC76',\n 'baby_bottle': '\\uD83C\\uDF7C',\n 'baby_chick': '\\uD83D\\uDC24',\n 'baby_symbol': '\\uD83D\\uDEBC',\n 'back': '\\uD83D\\uDD19',\n 'bacon': '\\uD83E\\uDD53',\n 'badminton': '\\uD83C\\uDFF8',\n 'baggage_claim': '\\uD83D\\uDEC4',\n 'baguette_bread': '\\uD83E\\uDD56',\n 'balance_scale': '\\u2696\\uFE0F',\n 'balloon': '\\uD83C\\uDF88',\n 'ballot_box': '\\uD83D\\uDDF3',\n 'ballot_box_with_check': '\\u2611\\uFE0F',\n 'bamboo': '\\uD83C\\uDF8D',\n 'banana': '\\uD83C\\uDF4C',\n 'bangbang': '\\u203C\\uFE0F',\n 'bank': '\\uD83C\\uDFE6',\n 'bar_chart': '\\uD83D\\uDCCA',\n 'barber': '\\uD83D\\uDC88',\n 'baseball': '\\u26BE\\uFE0F',\n 'basketball': '\\uD83C\\uDFC0',\n 'basketball_man': '\\u26F9\\uFE0F',\n 'basketball_woman': '\\u26F9\\uFE0F\\u2640\\uFE0F',\n 'bat': '\\uD83E\\uDD87',\n 'bath': '\\uD83D\\uDEC0',\n 'bathtub': '\\uD83D\\uDEC1',\n 'battery': '\\uD83D\\uDD0B',\n 'beach_umbrella': '\\uD83C\\uDFD6',\n 'bear': '\\uD83D\\uDC3B',\n 'bed': '\\uD83D\\uDECF',\n 'bee': '\\uD83D\\uDC1D',\n 'beer': '\\uD83C\\uDF7A',\n 'beers': '\\uD83C\\uDF7B',\n 'beetle': '\\uD83D\\uDC1E',\n 'beginner': '\\uD83D\\uDD30',\n 'bell': '\\uD83D\\uDD14',\n 'bellhop_bell': '\\uD83D\\uDECE',\n 'bento': '\\uD83C\\uDF71',\n 'biking_man': '\\uD83D\\uDEB4',\n 'bike': '\\uD83D\\uDEB2',\n 'biking_woman': '\\uD83D\\uDEB4\\u2640\\uFE0F',\n 'bikini': '\\uD83D\\uDC59',\n 'biohazard': '\\u2623\\uFE0F',\n 'bird': '\\uD83D\\uDC26',\n 'birthday': '\\uD83C\\uDF82',\n 'black_circle': '\\u26AB\\uFE0F',\n 'black_flag': '\\uD83C\\uDFF4',\n 'black_heart': '\\uD83D\\uDDA4',\n 'black_joker': '\\uD83C\\uDCCF',\n 'black_large_square': '\\u2B1B\\uFE0F',\n 'black_medium_small_square': '\\u25FE\\uFE0F',\n 'black_medium_square': '\\u25FC\\uFE0F',\n 'black_nib': '\\u2712\\uFE0F',\n 'black_small_square': '\\u25AA\\uFE0F',\n 'black_square_button': '\\uD83D\\uDD32',\n 'blonde_man': '\\uD83D\\uDC71',\n 'blonde_woman': '\\uD83D\\uDC71\\u2640\\uFE0F',\n 'blossom': '\\uD83C\\uDF3C',\n 'blowfish': '\\uD83D\\uDC21',\n 'blue_book': '\\uD83D\\uDCD8',\n 'blue_car': '\\uD83D\\uDE99',\n 'blue_heart': '\\uD83D\\uDC99',\n 'blush': '\\uD83D\\uDE0A',\n 'boar': '\\uD83D\\uDC17',\n 'boat': '\\u26F5\\uFE0F',\n 'bomb': '\\uD83D\\uDCA3',\n 'book': '\\uD83D\\uDCD6',\n 'bookmark': '\\uD83D\\uDD16',\n 'bookmark_tabs': '\\uD83D\\uDCD1',\n 'books': '\\uD83D\\uDCDA',\n 'boom': '\\uD83D\\uDCA5',\n 'boot': '\\uD83D\\uDC62',\n 'bouquet': '\\uD83D\\uDC90',\n 'bowing_man': '\\uD83D\\uDE47',\n 'bow_and_arrow': '\\uD83C\\uDFF9',\n 'bowing_woman': '\\uD83D\\uDE47\\u2640\\uFE0F',\n 'bowling': '\\uD83C\\uDFB3',\n 'boxing_glove': '\\uD83E\\uDD4A',\n 'boy': '\\uD83D\\uDC66',\n 'bread': '\\uD83C\\uDF5E',\n 'bride_with_veil': '\\uD83D\\uDC70',\n 'bridge_at_night': '\\uD83C\\uDF09',\n 'briefcase': '\\uD83D\\uDCBC',\n 'broken_heart': '\\uD83D\\uDC94',\n 'bug': '\\uD83D\\uDC1B',\n 'building_construction': '\\uD83C\\uDFD7',\n 'bulb': '\\uD83D\\uDCA1',\n 'bullettrain_front': '\\uD83D\\uDE85',\n 'bullettrain_side': '\\uD83D\\uDE84',\n 'burrito': '\\uD83C\\uDF2F',\n 'bus': '\\uD83D\\uDE8C',\n 'business_suit_levitating': '\\uD83D\\uDD74',\n 'busstop': '\\uD83D\\uDE8F',\n 'bust_in_silhouette': '\\uD83D\\uDC64',\n 'busts_in_silhouette': '\\uD83D\\uDC65',\n 'butterfly': '\\uD83E\\uDD8B',\n 'cactus': '\\uD83C\\uDF35',\n 'cake': '\\uD83C\\uDF70',\n 'calendar': '\\uD83D\\uDCC6',\n 'call_me_hand': '\\uD83E\\uDD19',\n 'calling': '\\uD83D\\uDCF2',\n 'camel': '\\uD83D\\uDC2B',\n 'camera': '\\uD83D\\uDCF7',\n 'camera_flash': '\\uD83D\\uDCF8',\n 'camping': '\\uD83C\\uDFD5',\n 'cancer': '\\u264B\\uFE0F',\n 'candle': '\\uD83D\\uDD6F',\n 'candy': '\\uD83C\\uDF6C',\n 'canoe': '\\uD83D\\uDEF6',\n 'capital_abcd': '\\uD83D\\uDD20',\n 'capricorn': '\\u2651\\uFE0F',\n 'car': '\\uD83D\\uDE97',\n 'card_file_box': '\\uD83D\\uDDC3',\n 'card_index': '\\uD83D\\uDCC7',\n 'card_index_dividers': '\\uD83D\\uDDC2',\n 'carousel_horse': '\\uD83C\\uDFA0',\n 'carrot': '\\uD83E\\uDD55',\n 'cat': '\\uD83D\\uDC31',\n 'cat2': '\\uD83D\\uDC08',\n 'cd': '\\uD83D\\uDCBF',\n 'chains': '\\u26D3',\n 'champagne': '\\uD83C\\uDF7E',\n 'chart': '\\uD83D\\uDCB9',\n 'chart_with_downwards_trend': '\\uD83D\\uDCC9',\n 'chart_with_upwards_trend': '\\uD83D\\uDCC8',\n 'checkered_flag': '\\uD83C\\uDFC1',\n 'cheese': '\\uD83E\\uDDC0',\n 'cherries': '\\uD83C\\uDF52',\n 'cherry_blossom': '\\uD83C\\uDF38',\n 'chestnut': '\\uD83C\\uDF30',\n 'chicken': '\\uD83D\\uDC14',\n 'children_crossing': '\\uD83D\\uDEB8',\n 'chipmunk': '\\uD83D\\uDC3F',\n 'chocolate_bar': '\\uD83C\\uDF6B',\n 'christmas_tree': '\\uD83C\\uDF84',\n 'church': '\\u26EA\\uFE0F',\n 'cinema': '\\uD83C\\uDFA6',\n 'circus_tent': '\\uD83C\\uDFAA',\n 'city_sunrise': '\\uD83C\\uDF07',\n 'city_sunset': '\\uD83C\\uDF06',\n 'cityscape': '\\uD83C\\uDFD9',\n 'cl': '\\uD83C\\uDD91',\n 'clamp': '\\uD83D\\uDDDC',\n 'clap': '\\uD83D\\uDC4F',\n 'clapper': '\\uD83C\\uDFAC',\n 'classical_building': '\\uD83C\\uDFDB',\n 'clinking_glasses': '\\uD83E\\uDD42',\n 'clipboard': '\\uD83D\\uDCCB',\n 'clock1': '\\uD83D\\uDD50',\n 'clock10': '\\uD83D\\uDD59',\n 'clock1030': '\\uD83D\\uDD65',\n 'clock11': '\\uD83D\\uDD5A',\n 'clock1130': '\\uD83D\\uDD66',\n 'clock12': '\\uD83D\\uDD5B',\n 'clock1230': '\\uD83D\\uDD67',\n 'clock130': '\\uD83D\\uDD5C',\n 'clock2': '\\uD83D\\uDD51',\n 'clock230': '\\uD83D\\uDD5D',\n 'clock3': '\\uD83D\\uDD52',\n 'clock330': '\\uD83D\\uDD5E',\n 'clock4': '\\uD83D\\uDD53',\n 'clock430': '\\uD83D\\uDD5F',\n 'clock5': '\\uD83D\\uDD54',\n 'clock530': '\\uD83D\\uDD60',\n 'clock6': '\\uD83D\\uDD55',\n 'clock630': '\\uD83D\\uDD61',\n 'clock7': '\\uD83D\\uDD56',\n 'clock730': '\\uD83D\\uDD62',\n 'clock8': '\\uD83D\\uDD57',\n 'clock830': '\\uD83D\\uDD63',\n 'clock9': '\\uD83D\\uDD58',\n 'clock930': '\\uD83D\\uDD64',\n 'closed_book': '\\uD83D\\uDCD5',\n 'closed_lock_with_key': '\\uD83D\\uDD10',\n 'closed_umbrella': '\\uD83C\\uDF02',\n 'cloud': '\\u2601\\uFE0F',\n 'cloud_with_lightning': '\\uD83C\\uDF29',\n 'cloud_with_lightning_and_rain': '\\u26C8',\n 'cloud_with_rain': '\\uD83C\\uDF27',\n 'cloud_with_snow': '\\uD83C\\uDF28',\n 'clown_face': '\\uD83E\\uDD21',\n 'clubs': '\\u2663\\uFE0F',\n 'cocktail': '\\uD83C\\uDF78',\n 'coffee': '\\u2615\\uFE0F',\n 'coffin': '\\u26B0\\uFE0F',\n 'cold_sweat': '\\uD83D\\uDE30',\n 'comet': '\\u2604\\uFE0F',\n 'computer': '\\uD83D\\uDCBB',\n 'computer_mouse': '\\uD83D\\uDDB1',\n 'confetti_ball': '\\uD83C\\uDF8A',\n 'confounded': '\\uD83D\\uDE16',\n 'confused': '\\uD83D\\uDE15',\n 'congratulations': '\\u3297\\uFE0F',\n 'construction': '\\uD83D\\uDEA7',\n 'construction_worker_man': '\\uD83D\\uDC77',\n 'construction_worker_woman': '\\uD83D\\uDC77\\u2640\\uFE0F',\n 'control_knobs': '\\uD83C\\uDF9B',\n 'convenience_store': '\\uD83C\\uDFEA',\n 'cookie': '\\uD83C\\uDF6A',\n 'cool': '\\uD83C\\uDD92',\n 'policeman': '\\uD83D\\uDC6E',\n 'copyright': '\\xA9\\uFE0F',\n 'corn': '\\uD83C\\uDF3D',\n 'couch_and_lamp': '\\uD83D\\uDECB',\n 'couple': '\\uD83D\\uDC6B',\n 'couple_with_heart_woman_man': '\\uD83D\\uDC91',\n 'couple_with_heart_man_man': '\\uD83D\\uDC68\\u2764\\uFE0F\\uD83D\\uDC68',\n 'couple_with_heart_woman_woman': '\\uD83D\\uDC69\\u2764\\uFE0F\\uD83D\\uDC69',\n 'couplekiss_man_man': '\\uD83D\\uDC68\\u2764\\uFE0F\\uD83D\\uDC8B\\uD83D\\uDC68',\n 'couplekiss_man_woman': '\\uD83D\\uDC8F',\n 'couplekiss_woman_woman': '\\uD83D\\uDC69\\u2764\\uFE0F\\uD83D\\uDC8B\\uD83D\\uDC69',\n 'cow': '\\uD83D\\uDC2E',\n 'cow2': '\\uD83D\\uDC04',\n 'cowboy_hat_face': '\\uD83E\\uDD20',\n 'crab': '\\uD83E\\uDD80',\n 'crayon': '\\uD83D\\uDD8D',\n 'credit_card': '\\uD83D\\uDCB3',\n 'crescent_moon': '\\uD83C\\uDF19',\n 'cricket': '\\uD83C\\uDFCF',\n 'crocodile': '\\uD83D\\uDC0A',\n 'croissant': '\\uD83E\\uDD50',\n 'crossed_fingers': '\\uD83E\\uDD1E',\n 'crossed_flags': '\\uD83C\\uDF8C',\n 'crossed_swords': '\\u2694\\uFE0F',\n 'crown': '\\uD83D\\uDC51',\n 'cry': '\\uD83D\\uDE22',\n 'crying_cat_face': '\\uD83D\\uDE3F',\n 'crystal_ball': '\\uD83D\\uDD2E',\n 'cucumber': '\\uD83E\\uDD52',\n 'cupid': '\\uD83D\\uDC98',\n 'curly_loop': '\\u27B0',\n 'currency_exchange': '\\uD83D\\uDCB1',\n 'curry': '\\uD83C\\uDF5B',\n 'custard': '\\uD83C\\uDF6E',\n 'customs': '\\uD83D\\uDEC3',\n 'cyclone': '\\uD83C\\uDF00',\n 'dagger': '\\uD83D\\uDDE1',\n 'dancer': '\\uD83D\\uDC83',\n 'dancing_women': '\\uD83D\\uDC6F',\n 'dancing_men': '\\uD83D\\uDC6F\\u2642\\uFE0F',\n 'dango': '\\uD83C\\uDF61',\n 'dark_sunglasses': '\\uD83D\\uDD76',\n 'dart': '\\uD83C\\uDFAF',\n 'dash': '\\uD83D\\uDCA8',\n 'date': '\\uD83D\\uDCC5',\n 'deciduous_tree': '\\uD83C\\uDF33',\n 'deer': '\\uD83E\\uDD8C',\n 'department_store': '\\uD83C\\uDFEC',\n 'derelict_house': '\\uD83C\\uDFDA',\n 'desert': '\\uD83C\\uDFDC',\n 'desert_island': '\\uD83C\\uDFDD',\n 'desktop_computer': '\\uD83D\\uDDA5',\n 'male_detective': '\\uD83D\\uDD75\\uFE0F',\n 'diamond_shape_with_a_dot_inside': '\\uD83D\\uDCA0',\n 'diamonds': '\\u2666\\uFE0F',\n 'disappointed': '\\uD83D\\uDE1E',\n 'disappointed_relieved': '\\uD83D\\uDE25',\n 'dizzy': '\\uD83D\\uDCAB',\n 'dizzy_face': '\\uD83D\\uDE35',\n 'do_not_litter': '\\uD83D\\uDEAF',\n 'dog': '\\uD83D\\uDC36',\n 'dog2': '\\uD83D\\uDC15',\n 'dollar': '\\uD83D\\uDCB5',\n 'dolls': '\\uD83C\\uDF8E',\n 'dolphin': '\\uD83D\\uDC2C',\n 'door': '\\uD83D\\uDEAA',\n 'doughnut': '\\uD83C\\uDF69',\n 'dove': '\\uD83D\\uDD4A',\n 'dragon': '\\uD83D\\uDC09',\n 'dragon_face': '\\uD83D\\uDC32',\n 'dress': '\\uD83D\\uDC57',\n 'dromedary_camel': '\\uD83D\\uDC2A',\n 'drooling_face': '\\uD83E\\uDD24',\n 'droplet': '\\uD83D\\uDCA7',\n 'drum': '\\uD83E\\uDD41',\n 'duck': '\\uD83E\\uDD86',\n 'dvd': '\\uD83D\\uDCC0',\n 'e-mail': '\\uD83D\\uDCE7',\n 'eagle': '\\uD83E\\uDD85',\n 'ear': '\\uD83D\\uDC42',\n 'ear_of_rice': '\\uD83C\\uDF3E',\n 'earth_africa': '\\uD83C\\uDF0D',\n 'earth_americas': '\\uD83C\\uDF0E',\n 'earth_asia': '\\uD83C\\uDF0F',\n 'egg': '\\uD83E\\uDD5A',\n 'eggplant': '\\uD83C\\uDF46',\n 'eight_pointed_black_star': '\\u2734\\uFE0F',\n 'eight_spoked_asterisk': '\\u2733\\uFE0F',\n 'electric_plug': '\\uD83D\\uDD0C',\n 'elephant': '\\uD83D\\uDC18',\n 'email': '\\u2709\\uFE0F',\n 'end': '\\uD83D\\uDD1A',\n 'envelope_with_arrow': '\\uD83D\\uDCE9',\n 'euro': '\\uD83D\\uDCB6',\n 'european_castle': '\\uD83C\\uDFF0',\n 'european_post_office': '\\uD83C\\uDFE4',\n 'evergreen_tree': '\\uD83C\\uDF32',\n 'exclamation': '\\u2757\\uFE0F',\n 'expressionless': '\\uD83D\\uDE11',\n 'eye': '\\uD83D\\uDC41',\n 'eye_speech_bubble': '\\uD83D\\uDC41\\uD83D\\uDDE8',\n 'eyeglasses': '\\uD83D\\uDC53',\n 'eyes': '\\uD83D\\uDC40',\n 'face_with_head_bandage': '\\uD83E\\uDD15',\n 'face_with_thermometer': '\\uD83E\\uDD12',\n 'fist_oncoming': '\\uD83D\\uDC4A',\n 'factory': '\\uD83C\\uDFED',\n 'fallen_leaf': '\\uD83C\\uDF42',\n 'family_man_woman_boy': '\\uD83D\\uDC6A',\n 'family_man_boy': '\\uD83D\\uDC68\\uD83D\\uDC66',\n 'family_man_boy_boy': '\\uD83D\\uDC68\\uD83D\\uDC66\\uD83D\\uDC66',\n 'family_man_girl': '\\uD83D\\uDC68\\uD83D\\uDC67',\n 'family_man_girl_boy': '\\uD83D\\uDC68\\uD83D\\uDC67\\uD83D\\uDC66',\n 'family_man_girl_girl': '\\uD83D\\uDC68\\uD83D\\uDC67\\uD83D\\uDC67',\n 'family_man_man_boy': '\\uD83D\\uDC68\\uD83D\\uDC68\\uD83D\\uDC66',\n 'family_man_man_boy_boy': '\\uD83D\\uDC68\\uD83D\\uDC68\\uD83D\\uDC66\\uD83D\\uDC66',\n 'family_man_man_girl': '\\uD83D\\uDC68\\uD83D\\uDC68\\uD83D\\uDC67',\n 'family_man_man_girl_boy': '\\uD83D\\uDC68\\uD83D\\uDC68\\uD83D\\uDC67\\uD83D\\uDC66',\n 'family_man_man_girl_girl': '\\uD83D\\uDC68\\uD83D\\uDC68\\uD83D\\uDC67\\uD83D\\uDC67',\n 'family_man_woman_boy_boy': '\\uD83D\\uDC68\\uD83D\\uDC69\\uD83D\\uDC66\\uD83D\\uDC66',\n 'family_man_woman_girl': '\\uD83D\\uDC68\\uD83D\\uDC69\\uD83D\\uDC67',\n 'family_man_woman_girl_boy': '\\uD83D\\uDC68\\uD83D\\uDC69\\uD83D\\uDC67\\uD83D\\uDC66',\n 'family_man_woman_girl_girl': '\\uD83D\\uDC68\\uD83D\\uDC69\\uD83D\\uDC67\\uD83D\\uDC67',\n 'family_woman_boy': '\\uD83D\\uDC69\\uD83D\\uDC66',\n 'family_woman_boy_boy': '\\uD83D\\uDC69\\uD83D\\uDC66\\uD83D\\uDC66',\n 'family_woman_girl': '\\uD83D\\uDC69\\uD83D\\uDC67',\n 'family_woman_girl_boy': '\\uD83D\\uDC69\\uD83D\\uDC67\\uD83D\\uDC66',\n 'family_woman_girl_girl': '\\uD83D\\uDC69\\uD83D\\uDC67\\uD83D\\uDC67',\n 'family_woman_woman_boy': '\\uD83D\\uDC69\\uD83D\\uDC69\\uD83D\\uDC66',\n 'family_woman_woman_boy_boy': '\\uD83D\\uDC69\\uD83D\\uDC69\\uD83D\\uDC66\\uD83D\\uDC66',\n 'family_woman_woman_girl': '\\uD83D\\uDC69\\uD83D\\uDC69\\uD83D\\uDC67',\n 'family_woman_woman_girl_boy': '\\uD83D\\uDC69\\uD83D\\uDC69\\uD83D\\uDC67\\uD83D\\uDC66',\n 'family_woman_woman_girl_girl': '\\uD83D\\uDC69\\uD83D\\uDC69\\uD83D\\uDC67\\uD83D\\uDC67',\n 'fast_forward': '\\u23E9',\n 'fax': '\\uD83D\\uDCE0',\n 'fearful': '\\uD83D\\uDE28',\n 'feet': '\\uD83D\\uDC3E',\n 'female_detective': '\\uD83D\\uDD75\\uFE0F\\u2640\\uFE0F',\n 'ferris_wheel': '\\uD83C\\uDFA1',\n 'ferry': '\\u26F4',\n 'field_hockey': '\\uD83C\\uDFD1',\n 'file_cabinet': '\\uD83D\\uDDC4',\n 'file_folder': '\\uD83D\\uDCC1',\n 'film_projector': '\\uD83D\\uDCFD',\n 'film_strip': '\\uD83C\\uDF9E',\n 'fire': '\\uD83D\\uDD25',\n 'fire_engine': '\\uD83D\\uDE92',\n 'fireworks': '\\uD83C\\uDF86',\n 'first_quarter_moon': '\\uD83C\\uDF13',\n 'first_quarter_moon_with_face': '\\uD83C\\uDF1B',\n 'fish': '\\uD83D\\uDC1F',\n 'fish_cake': '\\uD83C\\uDF65',\n 'fishing_pole_and_fish': '\\uD83C\\uDFA3',\n 'fist_raised': '\\u270A',\n 'fist_left': '\\uD83E\\uDD1B',\n 'fist_right': '\\uD83E\\uDD1C',\n 'flags': '\\uD83C\\uDF8F',\n 'flashlight': '\\uD83D\\uDD26',\n 'fleur_de_lis': '\\u269C\\uFE0F',\n 'flight_arrival': '\\uD83D\\uDEEC',\n 'flight_departure': '\\uD83D\\uDEEB',\n 'floppy_disk': '\\uD83D\\uDCBE',\n 'flower_playing_cards': '\\uD83C\\uDFB4',\n 'flushed': '\\uD83D\\uDE33',\n 'fog': '\\uD83C\\uDF2B',\n 'foggy': '\\uD83C\\uDF01',\n 'football': '\\uD83C\\uDFC8',\n 'footprints': '\\uD83D\\uDC63',\n 'fork_and_knife': '\\uD83C\\uDF74',\n 'fountain': '\\u26F2\\uFE0F',\n 'fountain_pen': '\\uD83D\\uDD8B',\n 'four_leaf_clover': '\\uD83C\\uDF40',\n 'fox_face': '\\uD83E\\uDD8A',\n 'framed_picture': '\\uD83D\\uDDBC',\n 'free': '\\uD83C\\uDD93',\n 'fried_egg': '\\uD83C\\uDF73',\n 'fried_shrimp': '\\uD83C\\uDF64',\n 'fries': '\\uD83C\\uDF5F',\n 'frog': '\\uD83D\\uDC38',\n 'frowning': '\\uD83D\\uDE26',\n 'frowning_face': '\\u2639\\uFE0F',\n 'frowning_man': '\\uD83D\\uDE4D\\u2642\\uFE0F',\n 'frowning_woman': '\\uD83D\\uDE4D',\n 'middle_finger': '\\uD83D\\uDD95',\n 'fuelpump': '\\u26FD\\uFE0F',\n 'full_moon': '\\uD83C\\uDF15',\n 'full_moon_with_face': '\\uD83C\\uDF1D',\n 'funeral_urn': '\\u26B1\\uFE0F',\n 'game_die': '\\uD83C\\uDFB2',\n 'gear': '\\u2699\\uFE0F',\n 'gem': '\\uD83D\\uDC8E',\n 'gemini': '\\u264A\\uFE0F',\n 'ghost': '\\uD83D\\uDC7B',\n 'gift': '\\uD83C\\uDF81',\n 'gift_heart': '\\uD83D\\uDC9D',\n 'girl': '\\uD83D\\uDC67',\n 'globe_with_meridians': '\\uD83C\\uDF10',\n 'goal_net': '\\uD83E\\uDD45',\n 'goat': '\\uD83D\\uDC10',\n 'golf': '\\u26F3\\uFE0F',\n 'golfing_man': '\\uD83C\\uDFCC\\uFE0F',\n 'golfing_woman': '\\uD83C\\uDFCC\\uFE0F\\u2640\\uFE0F',\n 'gorilla': '\\uD83E\\uDD8D',\n 'grapes': '\\uD83C\\uDF47',\n 'green_apple': '\\uD83C\\uDF4F',\n 'green_book': '\\uD83D\\uDCD7',\n 'green_heart': '\\uD83D\\uDC9A',\n 'green_salad': '\\uD83E\\uDD57',\n 'grey_exclamation': '\\u2755',\n 'grey_question': '\\u2754',\n 'grimacing': '\\uD83D\\uDE2C',\n 'grin': '\\uD83D\\uDE01',\n 'grinning': '\\uD83D\\uDE00',\n 'guardsman': '\\uD83D\\uDC82',\n 'guardswoman': '\\uD83D\\uDC82\\u2640\\uFE0F',\n 'guitar': '\\uD83C\\uDFB8',\n 'gun': '\\uD83D\\uDD2B',\n 'haircut_woman': '\\uD83D\\uDC87',\n 'haircut_man': '\\uD83D\\uDC87\\u2642\\uFE0F',\n 'hamburger': '\\uD83C\\uDF54',\n 'hammer': '\\uD83D\\uDD28',\n 'hammer_and_pick': '\\u2692',\n 'hammer_and_wrench': '\\uD83D\\uDEE0',\n 'hamster': '\\uD83D\\uDC39',\n 'hand': '\\u270B',\n 'handbag': '\\uD83D\\uDC5C',\n 'handshake': '\\uD83E\\uDD1D',\n 'hankey': '\\uD83D\\uDCA9',\n 'hatched_chick': '\\uD83D\\uDC25',\n 'hatching_chick': '\\uD83D\\uDC23',\n 'headphones': '\\uD83C\\uDFA7',\n 'hear_no_evil': '\\uD83D\\uDE49',\n 'heart': '\\u2764\\uFE0F',\n 'heart_decoration': '\\uD83D\\uDC9F',\n 'heart_eyes': '\\uD83D\\uDE0D',\n 'heart_eyes_cat': '\\uD83D\\uDE3B',\n 'heartbeat': '\\uD83D\\uDC93',\n 'heartpulse': '\\uD83D\\uDC97',\n 'hearts': '\\u2665\\uFE0F',\n 'heavy_check_mark': '\\u2714\\uFE0F',\n 'heavy_division_sign': '\\u2797',\n 'heavy_dollar_sign': '\\uD83D\\uDCB2',\n 'heavy_heart_exclamation': '\\u2763\\uFE0F',\n 'heavy_minus_sign': '\\u2796',\n 'heavy_multiplication_x': '\\u2716\\uFE0F',\n 'heavy_plus_sign': '\\u2795',\n 'helicopter': '\\uD83D\\uDE81',\n 'herb': '\\uD83C\\uDF3F',\n 'hibiscus': '\\uD83C\\uDF3A',\n 'high_brightness': '\\uD83D\\uDD06',\n 'high_heel': '\\uD83D\\uDC60',\n 'hocho': '\\uD83D\\uDD2A',\n 'hole': '\\uD83D\\uDD73',\n 'honey_pot': '\\uD83C\\uDF6F',\n 'horse': '\\uD83D\\uDC34',\n 'horse_racing': '\\uD83C\\uDFC7',\n 'hospital': '\\uD83C\\uDFE5',\n 'hot_pepper': '\\uD83C\\uDF36',\n 'hotdog': '\\uD83C\\uDF2D',\n 'hotel': '\\uD83C\\uDFE8',\n 'hotsprings': '\\u2668\\uFE0F',\n 'hourglass': '\\u231B\\uFE0F',\n 'hourglass_flowing_sand': '\\u23F3',\n 'house': '\\uD83C\\uDFE0',\n 'house_with_garden': '\\uD83C\\uDFE1',\n 'houses': '\\uD83C\\uDFD8',\n 'hugs': '\\uD83E\\uDD17',\n 'hushed': '\\uD83D\\uDE2F',\n 'ice_cream': '\\uD83C\\uDF68',\n 'ice_hockey': '\\uD83C\\uDFD2',\n 'ice_skate': '\\u26F8',\n 'icecream': '\\uD83C\\uDF66',\n 'id': '\\uD83C\\uDD94',\n 'ideograph_advantage': '\\uD83C\\uDE50',\n 'imp': '\\uD83D\\uDC7F',\n 'inbox_tray': '\\uD83D\\uDCE5',\n 'incoming_envelope': '\\uD83D\\uDCE8',\n 'tipping_hand_woman': '\\uD83D\\uDC81',\n 'information_source': '\\u2139\\uFE0F',\n 'innocent': '\\uD83D\\uDE07',\n 'interrobang': '\\u2049\\uFE0F',\n 'iphone': '\\uD83D\\uDCF1',\n 'izakaya_lantern': '\\uD83C\\uDFEE',\n 'jack_o_lantern': '\\uD83C\\uDF83',\n 'japan': '\\uD83D\\uDDFE',\n 'japanese_castle': '\\uD83C\\uDFEF',\n 'japanese_goblin': '\\uD83D\\uDC7A',\n 'japanese_ogre': '\\uD83D\\uDC79',\n 'jeans': '\\uD83D\\uDC56',\n 'joy': '\\uD83D\\uDE02',\n 'joy_cat': '\\uD83D\\uDE39',\n 'joystick': '\\uD83D\\uDD79',\n 'kaaba': '\\uD83D\\uDD4B',\n 'key': '\\uD83D\\uDD11',\n 'keyboard': '\\u2328\\uFE0F',\n 'keycap_ten': '\\uD83D\\uDD1F',\n 'kick_scooter': '\\uD83D\\uDEF4',\n 'kimono': '\\uD83D\\uDC58',\n 'kiss': '\\uD83D\\uDC8B',\n 'kissing': '\\uD83D\\uDE17',\n 'kissing_cat': '\\uD83D\\uDE3D',\n 'kissing_closed_eyes': '\\uD83D\\uDE1A',\n 'kissing_heart': '\\uD83D\\uDE18',\n 'kissing_smiling_eyes': '\\uD83D\\uDE19',\n 'kiwi_fruit': '\\uD83E\\uDD5D',\n 'koala': '\\uD83D\\uDC28',\n 'koko': '\\uD83C\\uDE01',\n 'label': '\\uD83C\\uDFF7',\n 'large_blue_circle': '\\uD83D\\uDD35',\n 'large_blue_diamond': '\\uD83D\\uDD37',\n 'large_orange_diamond': '\\uD83D\\uDD36',\n 'last_quarter_moon': '\\uD83C\\uDF17',\n 'last_quarter_moon_with_face': '\\uD83C\\uDF1C',\n 'latin_cross': '\\u271D\\uFE0F',\n 'laughing': '\\uD83D\\uDE06',\n 'leaves': '\\uD83C\\uDF43',\n 'ledger': '\\uD83D\\uDCD2',\n 'left_luggage': '\\uD83D\\uDEC5',\n 'left_right_arrow': '\\u2194\\uFE0F',\n 'leftwards_arrow_with_hook': '\\u21A9\\uFE0F',\n 'lemon': '\\uD83C\\uDF4B',\n 'leo': '\\u264C\\uFE0F',\n 'leopard': '\\uD83D\\uDC06',\n 'level_slider': '\\uD83C\\uDF9A',\n 'libra': '\\u264E\\uFE0F',\n 'light_rail': '\\uD83D\\uDE88',\n 'link': '\\uD83D\\uDD17',\n 'lion': '\\uD83E\\uDD81',\n 'lips': '\\uD83D\\uDC44',\n 'lipstick': '\\uD83D\\uDC84',\n 'lizard': '\\uD83E\\uDD8E',\n 'lock': '\\uD83D\\uDD12',\n 'lock_with_ink_pen': '\\uD83D\\uDD0F',\n 'lollipop': '\\uD83C\\uDF6D',\n 'loop': '\\u27BF',\n 'loud_sound': '\\uD83D\\uDD0A',\n 'loudspeaker': '\\uD83D\\uDCE2',\n 'love_hotel': '\\uD83C\\uDFE9',\n 'love_letter': '\\uD83D\\uDC8C',\n 'low_brightness': '\\uD83D\\uDD05',\n 'lying_face': '\\uD83E\\uDD25',\n 'm': '\\u24C2\\uFE0F',\n 'mag': '\\uD83D\\uDD0D',\n 'mag_right': '\\uD83D\\uDD0E',\n 'mahjong': '\\uD83C\\uDC04\\uFE0F',\n 'mailbox': '\\uD83D\\uDCEB',\n 'mailbox_closed': '\\uD83D\\uDCEA',\n 'mailbox_with_mail': '\\uD83D\\uDCEC',\n 'mailbox_with_no_mail': '\\uD83D\\uDCED',\n 'man': '\\uD83D\\uDC68',\n 'man_artist': '\\uD83D\\uDC68\\uD83C\\uDFA8',\n 'man_astronaut': '\\uD83D\\uDC68\\uD83D\\uDE80',\n 'man_cartwheeling': '\\uD83E\\uDD38\\u2642\\uFE0F',\n 'man_cook': '\\uD83D\\uDC68\\uD83C\\uDF73',\n 'man_dancing': '\\uD83D\\uDD7A',\n 'man_facepalming': '\\uD83E\\uDD26\\u2642\\uFE0F',\n 'man_factory_worker': '\\uD83D\\uDC68\\uD83C\\uDFED',\n 'man_farmer': '\\uD83D\\uDC68\\uD83C\\uDF3E',\n 'man_firefighter': '\\uD83D\\uDC68\\uD83D\\uDE92',\n 'man_health_worker': '\\uD83D\\uDC68\\u2695\\uFE0F',\n 'man_in_tuxedo': '\\uD83E\\uDD35',\n 'man_judge': '\\uD83D\\uDC68\\u2696\\uFE0F',\n 'man_juggling': '\\uD83E\\uDD39\\u2642\\uFE0F',\n 'man_mechanic': '\\uD83D\\uDC68\\uD83D\\uDD27',\n 'man_office_worker': '\\uD83D\\uDC68\\uD83D\\uDCBC',\n 'man_pilot': '\\uD83D\\uDC68\\u2708\\uFE0F',\n 'man_playing_handball': '\\uD83E\\uDD3E\\u2642\\uFE0F',\n 'man_playing_water_polo': '\\uD83E\\uDD3D\\u2642\\uFE0F',\n 'man_scientist': '\\uD83D\\uDC68\\uD83D\\uDD2C',\n 'man_shrugging': '\\uD83E\\uDD37\\u2642\\uFE0F',\n 'man_singer': '\\uD83D\\uDC68\\uD83C\\uDFA4',\n 'man_student': '\\uD83D\\uDC68\\uD83C\\uDF93',\n 'man_teacher': '\\uD83D\\uDC68\\uD83C\\uDFEB',\n 'man_technologist': '\\uD83D\\uDC68\\uD83D\\uDCBB',\n 'man_with_gua_pi_mao': '\\uD83D\\uDC72',\n 'man_with_turban': '\\uD83D\\uDC73',\n 'tangerine': '\\uD83C\\uDF4A',\n 'mans_shoe': '\\uD83D\\uDC5E',\n 'mantelpiece_clock': '\\uD83D\\uDD70',\n 'maple_leaf': '\\uD83C\\uDF41',\n 'martial_arts_uniform': '\\uD83E\\uDD4B',\n 'mask': '\\uD83D\\uDE37',\n 'massage_woman': '\\uD83D\\uDC86',\n 'massage_man': '\\uD83D\\uDC86\\u2642\\uFE0F',\n 'meat_on_bone': '\\uD83C\\uDF56',\n 'medal_military': '\\uD83C\\uDF96',\n 'medal_sports': '\\uD83C\\uDFC5',\n 'mega': '\\uD83D\\uDCE3',\n 'melon': '\\uD83C\\uDF48',\n 'memo': '\\uD83D\\uDCDD',\n 'men_wrestling': '\\uD83E\\uDD3C\\u2642\\uFE0F',\n 'menorah': '\\uD83D\\uDD4E',\n 'mens': '\\uD83D\\uDEB9',\n 'metal': '\\uD83E\\uDD18',\n 'metro': '\\uD83D\\uDE87',\n 'microphone': '\\uD83C\\uDFA4',\n 'microscope': '\\uD83D\\uDD2C',\n 'milk_glass': '\\uD83E\\uDD5B',\n 'milky_way': '\\uD83C\\uDF0C',\n 'minibus': '\\uD83D\\uDE90',\n 'minidisc': '\\uD83D\\uDCBD',\n 'mobile_phone_off': '\\uD83D\\uDCF4',\n 'money_mouth_face': '\\uD83E\\uDD11',\n 'money_with_wings': '\\uD83D\\uDCB8',\n 'moneybag': '\\uD83D\\uDCB0',\n 'monkey': '\\uD83D\\uDC12',\n 'monkey_face': '\\uD83D\\uDC35',\n 'monorail': '\\uD83D\\uDE9D',\n 'moon': '\\uD83C\\uDF14',\n 'mortar_board': '\\uD83C\\uDF93',\n 'mosque': '\\uD83D\\uDD4C',\n 'motor_boat': '\\uD83D\\uDEE5',\n 'motor_scooter': '\\uD83D\\uDEF5',\n 'motorcycle': '\\uD83C\\uDFCD',\n 'motorway': '\\uD83D\\uDEE3',\n 'mount_fuji': '\\uD83D\\uDDFB',\n 'mountain': '\\u26F0',\n 'mountain_biking_man': '\\uD83D\\uDEB5',\n 'mountain_biking_woman': '\\uD83D\\uDEB5\\u2640\\uFE0F',\n 'mountain_cableway': '\\uD83D\\uDEA0',\n 'mountain_railway': '\\uD83D\\uDE9E',\n 'mountain_snow': '\\uD83C\\uDFD4',\n 'mouse': '\\uD83D\\uDC2D',\n 'mouse2': '\\uD83D\\uDC01',\n 'movie_camera': '\\uD83C\\uDFA5',\n 'moyai': '\\uD83D\\uDDFF',\n 'mrs_claus': '\\uD83E\\uDD36',\n 'muscle': '\\uD83D\\uDCAA',\n 'mushroom': '\\uD83C\\uDF44',\n 'musical_keyboard': '\\uD83C\\uDFB9',\n 'musical_note': '\\uD83C\\uDFB5',\n 'musical_score': '\\uD83C\\uDFBC',\n 'mute': '\\uD83D\\uDD07',\n 'nail_care': '\\uD83D\\uDC85',\n 'name_badge': '\\uD83D\\uDCDB',\n 'national_park': '\\uD83C\\uDFDE',\n 'nauseated_face': '\\uD83E\\uDD22',\n 'necktie': '\\uD83D\\uDC54',\n 'negative_squared_cross_mark': '\\u274E',\n 'nerd_face': '\\uD83E\\uDD13',\n 'neutral_face': '\\uD83D\\uDE10',\n 'new': '\\uD83C\\uDD95',\n 'new_moon': '\\uD83C\\uDF11',\n 'new_moon_with_face': '\\uD83C\\uDF1A',\n 'newspaper': '\\uD83D\\uDCF0',\n 'newspaper_roll': '\\uD83D\\uDDDE',\n 'next_track_button': '\\u23ED',\n 'ng': '\\uD83C\\uDD96',\n 'no_good_man': '\\uD83D\\uDE45\\u2642\\uFE0F',\n 'no_good_woman': '\\uD83D\\uDE45',\n 'night_with_stars': '\\uD83C\\uDF03',\n 'no_bell': '\\uD83D\\uDD15',\n 'no_bicycles': '\\uD83D\\uDEB3',\n 'no_entry': '\\u26D4\\uFE0F',\n 'no_entry_sign': '\\uD83D\\uDEAB',\n 'no_mobile_phones': '\\uD83D\\uDCF5',\n 'no_mouth': '\\uD83D\\uDE36',\n 'no_pedestrians': '\\uD83D\\uDEB7',\n 'no_smoking': '\\uD83D\\uDEAD',\n 'non-potable_water': '\\uD83D\\uDEB1',\n 'nose': '\\uD83D\\uDC43',\n 'notebook': '\\uD83D\\uDCD3',\n 'notebook_with_decorative_cover': '\\uD83D\\uDCD4',\n 'notes': '\\uD83C\\uDFB6',\n 'nut_and_bolt': '\\uD83D\\uDD29',\n 'o': '\\u2B55\\uFE0F',\n 'o2': '\\uD83C\\uDD7E\\uFE0F',\n 'ocean': '\\uD83C\\uDF0A',\n 'octopus': '\\uD83D\\uDC19',\n 'oden': '\\uD83C\\uDF62',\n 'office': '\\uD83C\\uDFE2',\n 'oil_drum': '\\uD83D\\uDEE2',\n 'ok': '\\uD83C\\uDD97',\n 'ok_hand': '\\uD83D\\uDC4C',\n 'ok_man': '\\uD83D\\uDE46\\u2642\\uFE0F',\n 'ok_woman': '\\uD83D\\uDE46',\n 'old_key': '\\uD83D\\uDDDD',\n 'older_man': '\\uD83D\\uDC74',\n 'older_woman': '\\uD83D\\uDC75',\n 'om': '\\uD83D\\uDD49',\n 'on': '\\uD83D\\uDD1B',\n 'oncoming_automobile': '\\uD83D\\uDE98',\n 'oncoming_bus': '\\uD83D\\uDE8D',\n 'oncoming_police_car': '\\uD83D\\uDE94',\n 'oncoming_taxi': '\\uD83D\\uDE96',\n 'open_file_folder': '\\uD83D\\uDCC2',\n 'open_hands': '\\uD83D\\uDC50',\n 'open_mouth': '\\uD83D\\uDE2E',\n 'open_umbrella': '\\u2602\\uFE0F',\n 'ophiuchus': '\\u26CE',\n 'orange_book': '\\uD83D\\uDCD9',\n 'orthodox_cross': '\\u2626\\uFE0F',\n 'outbox_tray': '\\uD83D\\uDCE4',\n 'owl': '\\uD83E\\uDD89',\n 'ox': '\\uD83D\\uDC02',\n 'package': '\\uD83D\\uDCE6',\n 'page_facing_up': '\\uD83D\\uDCC4',\n 'page_with_curl': '\\uD83D\\uDCC3',\n 'pager': '\\uD83D\\uDCDF',\n 'paintbrush': '\\uD83D\\uDD8C',\n 'palm_tree': '\\uD83C\\uDF34',\n 'pancakes': '\\uD83E\\uDD5E',\n 'panda_face': '\\uD83D\\uDC3C',\n 'paperclip': '\\uD83D\\uDCCE',\n 'paperclips': '\\uD83D\\uDD87',\n 'parasol_on_ground': '\\u26F1',\n 'parking': '\\uD83C\\uDD7F\\uFE0F',\n 'part_alternation_mark': '\\u303D\\uFE0F',\n 'partly_sunny': '\\u26C5\\uFE0F',\n 'passenger_ship': '\\uD83D\\uDEF3',\n 'passport_control': '\\uD83D\\uDEC2',\n 'pause_button': '\\u23F8',\n 'peace_symbol': '\\u262E\\uFE0F',\n 'peach': '\\uD83C\\uDF51',\n 'peanuts': '\\uD83E\\uDD5C',\n 'pear': '\\uD83C\\uDF50',\n 'pen': '\\uD83D\\uDD8A',\n 'pencil2': '\\u270F\\uFE0F',\n 'penguin': '\\uD83D\\uDC27',\n 'pensive': '\\uD83D\\uDE14',\n 'performing_arts': '\\uD83C\\uDFAD',\n 'persevere': '\\uD83D\\uDE23',\n 'person_fencing': '\\uD83E\\uDD3A',\n 'pouting_woman': '\\uD83D\\uDE4E',\n 'phone': '\\u260E\\uFE0F',\n 'pick': '\\u26CF',\n 'pig': '\\uD83D\\uDC37',\n 'pig2': '\\uD83D\\uDC16',\n 'pig_nose': '\\uD83D\\uDC3D',\n 'pill': '\\uD83D\\uDC8A',\n 'pineapple': '\\uD83C\\uDF4D',\n 'ping_pong': '\\uD83C\\uDFD3',\n 'pisces': '\\u2653\\uFE0F',\n 'pizza': '\\uD83C\\uDF55',\n 'place_of_worship': '\\uD83D\\uDED0',\n 'plate_with_cutlery': '\\uD83C\\uDF7D',\n 'play_or_pause_button': '\\u23EF',\n 'point_down': '\\uD83D\\uDC47',\n 'point_left': '\\uD83D\\uDC48',\n 'point_right': '\\uD83D\\uDC49',\n 'point_up': '\\u261D\\uFE0F',\n 'point_up_2': '\\uD83D\\uDC46',\n 'police_car': '\\uD83D\\uDE93',\n 'policewoman': '\\uD83D\\uDC6E\\u2640\\uFE0F',\n 'poodle': '\\uD83D\\uDC29',\n 'popcorn': '\\uD83C\\uDF7F',\n 'post_office': '\\uD83C\\uDFE3',\n 'postal_horn': '\\uD83D\\uDCEF',\n 'postbox': '\\uD83D\\uDCEE',\n 'potable_water': '\\uD83D\\uDEB0',\n 'potato': '\\uD83E\\uDD54',\n 'pouch': '\\uD83D\\uDC5D',\n 'poultry_leg': '\\uD83C\\uDF57',\n 'pound': '\\uD83D\\uDCB7',\n 'rage': '\\uD83D\\uDE21',\n 'pouting_cat': '\\uD83D\\uDE3E',\n 'pouting_man': '\\uD83D\\uDE4E\\u2642\\uFE0F',\n 'pray': '\\uD83D\\uDE4F',\n 'prayer_beads': '\\uD83D\\uDCFF',\n 'pregnant_woman': '\\uD83E\\uDD30',\n 'previous_track_button': '\\u23EE',\n 'prince': '\\uD83E\\uDD34',\n 'princess': '\\uD83D\\uDC78',\n 'printer': '\\uD83D\\uDDA8',\n 'purple_heart': '\\uD83D\\uDC9C',\n 'purse': '\\uD83D\\uDC5B',\n 'pushpin': '\\uD83D\\uDCCC',\n 'put_litter_in_its_place': '\\uD83D\\uDEAE',\n 'question': '\\u2753',\n 'rabbit': '\\uD83D\\uDC30',\n 'rabbit2': '\\uD83D\\uDC07',\n 'racehorse': '\\uD83D\\uDC0E',\n 'racing_car': '\\uD83C\\uDFCE',\n 'radio': '\\uD83D\\uDCFB',\n 'radio_button': '\\uD83D\\uDD18',\n 'radioactive': '\\u2622\\uFE0F',\n 'railway_car': '\\uD83D\\uDE83',\n 'railway_track': '\\uD83D\\uDEE4',\n 'rainbow': '\\uD83C\\uDF08',\n 'rainbow_flag': '\\uD83C\\uDFF3\\uFE0F\\uD83C\\uDF08',\n 'raised_back_of_hand': '\\uD83E\\uDD1A',\n 'raised_hand_with_fingers_splayed': '\\uD83D\\uDD90',\n 'raised_hands': '\\uD83D\\uDE4C',\n 'raising_hand_woman': '\\uD83D\\uDE4B',\n 'raising_hand_man': '\\uD83D\\uDE4B\\u2642\\uFE0F',\n 'ram': '\\uD83D\\uDC0F',\n 'ramen': '\\uD83C\\uDF5C',\n 'rat': '\\uD83D\\uDC00',\n 'record_button': '\\u23FA',\n 'recycle': '\\u267B\\uFE0F',\n 'red_circle': '\\uD83D\\uDD34',\n 'registered': '\\xAE\\uFE0F',\n 'relaxed': '\\u263A\\uFE0F',\n 'relieved': '\\uD83D\\uDE0C',\n 'reminder_ribbon': '\\uD83C\\uDF97',\n 'repeat': '\\uD83D\\uDD01',\n 'repeat_one': '\\uD83D\\uDD02',\n 'rescue_worker_helmet': '\\u26D1',\n 'restroom': '\\uD83D\\uDEBB',\n 'revolving_hearts': '\\uD83D\\uDC9E',\n 'rewind': '\\u23EA',\n 'rhinoceros': '\\uD83E\\uDD8F',\n 'ribbon': '\\uD83C\\uDF80',\n 'rice': '\\uD83C\\uDF5A',\n 'rice_ball': '\\uD83C\\uDF59',\n 'rice_cracker': '\\uD83C\\uDF58',\n 'rice_scene': '\\uD83C\\uDF91',\n 'right_anger_bubble': '\\uD83D\\uDDEF',\n 'ring': '\\uD83D\\uDC8D',\n 'robot': '\\uD83E\\uDD16',\n 'rocket': '\\uD83D\\uDE80',\n 'rofl': '\\uD83E\\uDD23',\n 'roll_eyes': '\\uD83D\\uDE44',\n 'roller_coaster': '\\uD83C\\uDFA2',\n 'rooster': '\\uD83D\\uDC13',\n 'rose': '\\uD83C\\uDF39',\n 'rosette': '\\uD83C\\uDFF5',\n 'rotating_light': '\\uD83D\\uDEA8',\n 'round_pushpin': '\\uD83D\\uDCCD',\n 'rowing_man': '\\uD83D\\uDEA3',\n 'rowing_woman': '\\uD83D\\uDEA3\\u2640\\uFE0F',\n 'rugby_football': '\\uD83C\\uDFC9',\n 'running_man': '\\uD83C\\uDFC3',\n 'running_shirt_with_sash': '\\uD83C\\uDFBD',\n 'running_woman': '\\uD83C\\uDFC3\\u2640\\uFE0F',\n 'sa': '\\uD83C\\uDE02\\uFE0F',\n 'sagittarius': '\\u2650\\uFE0F',\n 'sake': '\\uD83C\\uDF76',\n 'sandal': '\\uD83D\\uDC61',\n 'santa': '\\uD83C\\uDF85',\n 'satellite': '\\uD83D\\uDCE1',\n 'saxophone': '\\uD83C\\uDFB7',\n 'school': '\\uD83C\\uDFEB',\n 'school_satchel': '\\uD83C\\uDF92',\n 'scissors': '\\u2702\\uFE0F',\n 'scorpion': '\\uD83E\\uDD82',\n 'scorpius': '\\u264F\\uFE0F',\n 'scream': '\\uD83D\\uDE31',\n 'scream_cat': '\\uD83D\\uDE40',\n 'scroll': '\\uD83D\\uDCDC',\n 'seat': '\\uD83D\\uDCBA',\n 'secret': '\\u3299\\uFE0F',\n 'see_no_evil': '\\uD83D\\uDE48',\n 'seedling': '\\uD83C\\uDF31',\n 'selfie': '\\uD83E\\uDD33',\n 'shallow_pan_of_food': '\\uD83E\\uDD58',\n 'shamrock': '\\u2618\\uFE0F',\n 'shark': '\\uD83E\\uDD88',\n 'shaved_ice': '\\uD83C\\uDF67',\n 'sheep': '\\uD83D\\uDC11',\n 'shell': '\\uD83D\\uDC1A',\n 'shield': '\\uD83D\\uDEE1',\n 'shinto_shrine': '\\u26E9',\n 'ship': '\\uD83D\\uDEA2',\n 'shirt': '\\uD83D\\uDC55',\n 'shopping': '\\uD83D\\uDECD',\n 'shopping_cart': '\\uD83D\\uDED2',\n 'shower': '\\uD83D\\uDEBF',\n 'shrimp': '\\uD83E\\uDD90',\n 'signal_strength': '\\uD83D\\uDCF6',\n 'six_pointed_star': '\\uD83D\\uDD2F',\n 'ski': '\\uD83C\\uDFBF',\n 'skier': '\\u26F7',\n 'skull': '\\uD83D\\uDC80',\n 'skull_and_crossbones': '\\u2620\\uFE0F',\n 'sleeping': '\\uD83D\\uDE34',\n 'sleeping_bed': '\\uD83D\\uDECC',\n 'sleepy': '\\uD83D\\uDE2A',\n 'slightly_frowning_face': '\\uD83D\\uDE41',\n 'slightly_smiling_face': '\\uD83D\\uDE42',\n 'slot_machine': '\\uD83C\\uDFB0',\n 'small_airplane': '\\uD83D\\uDEE9',\n 'small_blue_diamond': '\\uD83D\\uDD39',\n 'small_orange_diamond': '\\uD83D\\uDD38',\n 'small_red_triangle': '\\uD83D\\uDD3A',\n 'small_red_triangle_down': '\\uD83D\\uDD3B',\n 'smile': '\\uD83D\\uDE04',\n 'smile_cat': '\\uD83D\\uDE38',\n 'smiley': '\\uD83D\\uDE03',\n 'smiley_cat': '\\uD83D\\uDE3A',\n 'smiling_imp': '\\uD83D\\uDE08',\n 'smirk': '\\uD83D\\uDE0F',\n 'smirk_cat': '\\uD83D\\uDE3C',\n 'smoking': '\\uD83D\\uDEAC',\n 'snail': '\\uD83D\\uDC0C',\n 'snake': '\\uD83D\\uDC0D',\n 'sneezing_face': '\\uD83E\\uDD27',\n 'snowboarder': '\\uD83C\\uDFC2',\n 'snowflake': '\\u2744\\uFE0F',\n 'snowman': '\\u26C4\\uFE0F',\n 'snowman_with_snow': '\\u2603\\uFE0F',\n 'sob': '\\uD83D\\uDE2D',\n 'soccer': '\\u26BD\\uFE0F',\n 'soon': '\\uD83D\\uDD1C',\n 'sos': '\\uD83C\\uDD98',\n 'sound': '\\uD83D\\uDD09',\n 'space_invader': '\\uD83D\\uDC7E',\n 'spades': '\\u2660\\uFE0F',\n 'spaghetti': '\\uD83C\\uDF5D',\n 'sparkle': '\\u2747\\uFE0F',\n 'sparkler': '\\uD83C\\uDF87',\n 'sparkles': '\\u2728',\n 'sparkling_heart': '\\uD83D\\uDC96',\n 'speak_no_evil': '\\uD83D\\uDE4A',\n 'speaker': '\\uD83D\\uDD08',\n 'speaking_head': '\\uD83D\\uDDE3',\n 'speech_balloon': '\\uD83D\\uDCAC',\n 'speedboat': '\\uD83D\\uDEA4',\n 'spider': '\\uD83D\\uDD77',\n 'spider_web': '\\uD83D\\uDD78',\n 'spiral_calendar': '\\uD83D\\uDDD3',\n 'spiral_notepad': '\\uD83D\\uDDD2',\n 'spoon': '\\uD83E\\uDD44',\n 'squid': '\\uD83E\\uDD91',\n 'stadium': '\\uD83C\\uDFDF',\n 'star': '\\u2B50\\uFE0F',\n 'star2': '\\uD83C\\uDF1F',\n 'star_and_crescent': '\\u262A\\uFE0F',\n 'star_of_david': '\\u2721\\uFE0F',\n 'stars': '\\uD83C\\uDF20',\n 'station': '\\uD83D\\uDE89',\n 'statue_of_liberty': '\\uD83D\\uDDFD',\n 'steam_locomotive': '\\uD83D\\uDE82',\n 'stew': '\\uD83C\\uDF72',\n 'stop_button': '\\u23F9',\n 'stop_sign': '\\uD83D\\uDED1',\n 'stopwatch': '\\u23F1',\n 'straight_ruler': '\\uD83D\\uDCCF',\n 'strawberry': '\\uD83C\\uDF53',\n 'stuck_out_tongue': '\\uD83D\\uDE1B',\n 'stuck_out_tongue_closed_eyes': '\\uD83D\\uDE1D',\n 'stuck_out_tongue_winking_eye': '\\uD83D\\uDE1C',\n 'studio_microphone': '\\uD83C\\uDF99',\n 'stuffed_flatbread': '\\uD83E\\uDD59',\n 'sun_behind_large_cloud': '\\uD83C\\uDF25',\n 'sun_behind_rain_cloud': '\\uD83C\\uDF26',\n 'sun_behind_small_cloud': '\\uD83C\\uDF24',\n 'sun_with_face': '\\uD83C\\uDF1E',\n 'sunflower': '\\uD83C\\uDF3B',\n 'sunglasses': '\\uD83D\\uDE0E',\n 'sunny': '\\u2600\\uFE0F',\n 'sunrise': '\\uD83C\\uDF05',\n 'sunrise_over_mountains': '\\uD83C\\uDF04',\n 'surfing_man': '\\uD83C\\uDFC4',\n 'surfing_woman': '\\uD83C\\uDFC4\\u2640\\uFE0F',\n 'sushi': '\\uD83C\\uDF63',\n 'suspension_railway': '\\uD83D\\uDE9F',\n 'sweat': '\\uD83D\\uDE13',\n 'sweat_drops': '\\uD83D\\uDCA6',\n 'sweat_smile': '\\uD83D\\uDE05',\n 'sweet_potato': '\\uD83C\\uDF60',\n 'swimming_man': '\\uD83C\\uDFCA',\n 'swimming_woman': '\\uD83C\\uDFCA\\u2640\\uFE0F',\n 'symbols': '\\uD83D\\uDD23',\n 'synagogue': '\\uD83D\\uDD4D',\n 'syringe': '\\uD83D\\uDC89',\n 'taco': '\\uD83C\\uDF2E',\n 'tada': '\\uD83C\\uDF89',\n 'tanabata_tree': '\\uD83C\\uDF8B',\n 'taurus': '\\u2649\\uFE0F',\n 'taxi': '\\uD83D\\uDE95',\n 'tea': '\\uD83C\\uDF75',\n 'telephone_receiver': '\\uD83D\\uDCDE',\n 'telescope': '\\uD83D\\uDD2D',\n 'tennis': '\\uD83C\\uDFBE',\n 'tent': '\\u26FA\\uFE0F',\n 'thermometer': '\\uD83C\\uDF21',\n 'thinking': '\\uD83E\\uDD14',\n 'thought_balloon': '\\uD83D\\uDCAD',\n 'ticket': '\\uD83C\\uDFAB',\n 'tickets': '\\uD83C\\uDF9F',\n 'tiger': '\\uD83D\\uDC2F',\n 'tiger2': '\\uD83D\\uDC05',\n 'timer_clock': '\\u23F2',\n 'tipping_hand_man': '\\uD83D\\uDC81\\u2642\\uFE0F',\n 'tired_face': '\\uD83D\\uDE2B',\n 'tm': '\\u2122\\uFE0F',\n 'toilet': '\\uD83D\\uDEBD',\n 'tokyo_tower': '\\uD83D\\uDDFC',\n 'tomato': '\\uD83C\\uDF45',\n 'tongue': '\\uD83D\\uDC45',\n 'top': '\\uD83D\\uDD1D',\n 'tophat': '\\uD83C\\uDFA9',\n 'tornado': '\\uD83C\\uDF2A',\n 'trackball': '\\uD83D\\uDDB2',\n 'tractor': '\\uD83D\\uDE9C',\n 'traffic_light': '\\uD83D\\uDEA5',\n 'train': '\\uD83D\\uDE8B',\n 'train2': '\\uD83D\\uDE86',\n 'tram': '\\uD83D\\uDE8A',\n 'triangular_flag_on_post': '\\uD83D\\uDEA9',\n 'triangular_ruler': '\\uD83D\\uDCD0',\n 'trident': '\\uD83D\\uDD31',\n 'triumph': '\\uD83D\\uDE24',\n 'trolleybus': '\\uD83D\\uDE8E',\n 'trophy': '\\uD83C\\uDFC6',\n 'tropical_drink': '\\uD83C\\uDF79',\n 'tropical_fish': '\\uD83D\\uDC20',\n 'truck': '\\uD83D\\uDE9A',\n 'trumpet': '\\uD83C\\uDFBA',\n 'tulip': '\\uD83C\\uDF37',\n 'tumbler_glass': '\\uD83E\\uDD43',\n 'turkey': '\\uD83E\\uDD83',\n 'turtle': '\\uD83D\\uDC22',\n 'tv': '\\uD83D\\uDCFA',\n 'twisted_rightwards_arrows': '\\uD83D\\uDD00',\n 'two_hearts': '\\uD83D\\uDC95',\n 'two_men_holding_hands': '\\uD83D\\uDC6C',\n 'two_women_holding_hands': '\\uD83D\\uDC6D',\n 'u5272': '\\uD83C\\uDE39',\n 'u5408': '\\uD83C\\uDE34',\n 'u55b6': '\\uD83C\\uDE3A',\n 'u6307': '\\uD83C\\uDE2F\\uFE0F',\n 'u6708': '\\uD83C\\uDE37\\uFE0F',\n 'u6709': '\\uD83C\\uDE36',\n 'u6e80': '\\uD83C\\uDE35',\n 'u7121': '\\uD83C\\uDE1A\\uFE0F',\n 'u7533': '\\uD83C\\uDE38',\n 'u7981': '\\uD83C\\uDE32',\n 'u7a7a': '\\uD83C\\uDE33',\n 'umbrella': '\\u2614\\uFE0F',\n 'unamused': '\\uD83D\\uDE12',\n 'underage': '\\uD83D\\uDD1E',\n 'unicorn': '\\uD83E\\uDD84',\n 'unlock': '\\uD83D\\uDD13',\n 'up': '\\uD83C\\uDD99',\n 'upside_down_face': '\\uD83D\\uDE43',\n 'v': '\\u270C\\uFE0F',\n 'vertical_traffic_light': '\\uD83D\\uDEA6',\n 'vhs': '\\uD83D\\uDCFC',\n 'vibration_mode': '\\uD83D\\uDCF3',\n 'video_camera': '\\uD83D\\uDCF9',\n 'video_game': '\\uD83C\\uDFAE',\n 'violin': '\\uD83C\\uDFBB',\n 'virgo': '\\u264D\\uFE0F',\n 'volcano': '\\uD83C\\uDF0B',\n 'volleyball': '\\uD83C\\uDFD0',\n 'vs': '\\uD83C\\uDD9A',\n 'vulcan_salute': '\\uD83D\\uDD96',\n 'walking_man': '\\uD83D\\uDEB6',\n 'walking_woman': '\\uD83D\\uDEB6\\u2640\\uFE0F',\n 'waning_crescent_moon': '\\uD83C\\uDF18',\n 'waning_gibbous_moon': '\\uD83C\\uDF16',\n 'warning': '\\u26A0\\uFE0F',\n 'wastebasket': '\\uD83D\\uDDD1',\n 'watch': '\\u231A\\uFE0F',\n 'water_buffalo': '\\uD83D\\uDC03',\n 'watermelon': '\\uD83C\\uDF49',\n 'wave': '\\uD83D\\uDC4B',\n 'wavy_dash': '\\u3030\\uFE0F',\n 'waxing_crescent_moon': '\\uD83C\\uDF12',\n 'wc': '\\uD83D\\uDEBE',\n 'weary': '\\uD83D\\uDE29',\n 'wedding': '\\uD83D\\uDC92',\n 'weight_lifting_man': '\\uD83C\\uDFCB\\uFE0F',\n 'weight_lifting_woman': '\\uD83C\\uDFCB\\uFE0F\\u2640\\uFE0F',\n 'whale': '\\uD83D\\uDC33',\n 'whale2': '\\uD83D\\uDC0B',\n 'wheel_of_dharma': '\\u2638\\uFE0F',\n 'wheelchair': '\\u267F\\uFE0F',\n 'white_check_mark': '\\u2705',\n 'white_circle': '\\u26AA\\uFE0F',\n 'white_flag': '\\uD83C\\uDFF3\\uFE0F',\n 'white_flower': '\\uD83D\\uDCAE',\n 'white_large_square': '\\u2B1C\\uFE0F',\n 'white_medium_small_square': '\\u25FD\\uFE0F',\n 'white_medium_square': '\\u25FB\\uFE0F',\n 'white_small_square': '\\u25AB\\uFE0F',\n 'white_square_button': '\\uD83D\\uDD33',\n 'wilted_flower': '\\uD83E\\uDD40',\n 'wind_chime': '\\uD83C\\uDF90',\n 'wind_face': '\\uD83C\\uDF2C',\n 'wine_glass': '\\uD83C\\uDF77',\n 'wink': '\\uD83D\\uDE09',\n 'wolf': '\\uD83D\\uDC3A',\n 'woman': '\\uD83D\\uDC69',\n 'woman_artist': '\\uD83D\\uDC69\\uD83C\\uDFA8',\n 'woman_astronaut': '\\uD83D\\uDC69\\uD83D\\uDE80',\n 'woman_cartwheeling': '\\uD83E\\uDD38\\u2640\\uFE0F',\n 'woman_cook': '\\uD83D\\uDC69\\uD83C\\uDF73',\n 'woman_facepalming': '\\uD83E\\uDD26\\u2640\\uFE0F',\n 'woman_factory_worker': '\\uD83D\\uDC69\\uD83C\\uDFED',\n 'woman_farmer': '\\uD83D\\uDC69\\uD83C\\uDF3E',\n 'woman_firefighter': '\\uD83D\\uDC69\\uD83D\\uDE92',\n 'woman_health_worker': '\\uD83D\\uDC69\\u2695\\uFE0F',\n 'woman_judge': '\\uD83D\\uDC69\\u2696\\uFE0F',\n 'woman_juggling': '\\uD83E\\uDD39\\u2640\\uFE0F',\n 'woman_mechanic': '\\uD83D\\uDC69\\uD83D\\uDD27',\n 'woman_office_worker': '\\uD83D\\uDC69\\uD83D\\uDCBC',\n 'woman_pilot': '\\uD83D\\uDC69\\u2708\\uFE0F',\n 'woman_playing_handball': '\\uD83E\\uDD3E\\u2640\\uFE0F',\n 'woman_playing_water_polo': '\\uD83E\\uDD3D\\u2640\\uFE0F',\n 'woman_scientist': '\\uD83D\\uDC69\\uD83D\\uDD2C',\n 'woman_shrugging': '\\uD83E\\uDD37\\u2640\\uFE0F',\n 'woman_singer': '\\uD83D\\uDC69\\uD83C\\uDFA4',\n 'woman_student': '\\uD83D\\uDC69\\uD83C\\uDF93',\n 'woman_teacher': '\\uD83D\\uDC69\\uD83C\\uDFEB',\n 'woman_technologist': '\\uD83D\\uDC69\\uD83D\\uDCBB',\n 'woman_with_turban': '\\uD83D\\uDC73\\u2640\\uFE0F',\n 'womans_clothes': '\\uD83D\\uDC5A',\n 'womans_hat': '\\uD83D\\uDC52',\n 'women_wrestling': '\\uD83E\\uDD3C\\u2640\\uFE0F',\n 'womens': '\\uD83D\\uDEBA',\n 'world_map': '\\uD83D\\uDDFA',\n 'worried': '\\uD83D\\uDE1F',\n 'wrench': '\\uD83D\\uDD27',\n 'writing_hand': '\\u270D\\uFE0F',\n 'x': '\\u274C',\n 'yellow_heart': '\\uD83D\\uDC9B',\n 'yen': '\\uD83D\\uDCB4',\n 'yin_yang': '\\u262F\\uFE0F',\n 'yum': '\\uD83D\\uDE0B',\n 'zap': '\\u26A1\\uFE0F',\n 'zipper_mouth_face': '\\uD83E\\uDD10',\n 'zzz': '\\uD83D\\uDCA4',\n\n /* special emojis :P */\n 'octocat': '',\n 'showdown': 'S'\n };\n\n /**\n * Created by Estevao on 31-05-2015.\n */\n\n /**\n * Showdown Converter class\n * @class\n * @param {object} [converterOptions]\n * @returns {Converter}\n */\n showdown.Converter = function (converterOptions) {\n 'use strict';\n\n var\n /**\n * Options used by this converter\n * @private\n * @type {{}}\n */\n options = {},\n\n\n /**\n * Language extensions used by this converter\n * @private\n * @type {Array}\n */\n langExtensions = [],\n\n\n /**\n * Output modifiers extensions used by this converter\n * @private\n * @type {Array}\n */\n outputModifiers = [],\n\n\n /**\n * Event listeners\n * @private\n * @type {{}}\n */\n listeners = {},\n\n\n /**\n * The flavor set in this converter\n */\n setConvFlavor = setFlavor,\n\n\n /**\n * Metadata of the document\n * @type {{parsed: {}, raw: string, format: string}}\n */\n metadata = {\n parsed: {},\n raw: '',\n format: ''\n };\n\n _constructor();\n\n /**\n * Converter constructor\n * @private\n */\n function _constructor() {\n converterOptions = converterOptions || {};\n\n for (var gOpt in globalOptions) {\n if (globalOptions.hasOwnProperty(gOpt)) {\n options[gOpt] = globalOptions[gOpt];\n }\n }\n\n // Merge options\n if (typeof converterOptions === 'object') {\n for (var opt in converterOptions) {\n if (converterOptions.hasOwnProperty(opt)) {\n options[opt] = converterOptions[opt];\n }\n }\n } else {\n throw Error('Converter expects the passed parameter to be an object, but ' + typeof converterOptions + ' was passed instead.');\n }\n\n if (options.extensions) {\n showdown.helper.forEach(options.extensions, _parseExtension);\n }\n }\n\n /**\n * Parse extension\n * @param {*} ext\n * @param {string} [name='']\n * @private\n */\n function _parseExtension(ext, name) {\n\n name = name || null;\n // If it's a string, the extension was previously loaded\n if (showdown.helper.isString(ext)) {\n ext = showdown.helper.stdExtName(ext);\n name = ext;\n\n // LEGACY_SUPPORT CODE\n if (showdown.extensions[ext]) {\n console.warn('DEPRECATION WARNING: ' + ext + ' is an old extension that uses a deprecated loading method.' + 'Please inform the developer that the extension should be updated!');\n legacyExtensionLoading(showdown.extensions[ext], ext);\n return;\n // END LEGACY SUPPORT CODE\n } else if (!showdown.helper.isUndefined(extensions[ext])) {\n ext = extensions[ext];\n } else {\n throw Error('Extension \"' + ext + '\" could not be loaded. It was either not found or is not a valid extension.');\n }\n }\n\n if (typeof ext === 'function') {\n ext = ext();\n }\n\n if (!showdown.helper.isArray(ext)) {\n ext = [ext];\n }\n\n var validExt = validate(ext, name);\n if (!validExt.valid) {\n throw Error(validExt.error);\n }\n\n for (var i = 0; i < ext.length; ++i) {\n switch (ext[i].type) {\n\n case 'lang':\n langExtensions.push(ext[i]);\n break;\n\n case 'output':\n outputModifiers.push(ext[i]);\n break;\n }\n if (ext[i].hasOwnProperty('listeners')) {\n for (var ln in ext[i].listeners) {\n if (ext[i].listeners.hasOwnProperty(ln)) {\n listen(ln, ext[i].listeners[ln]);\n }\n }\n }\n }\n }\n\n /**\n * LEGACY_SUPPORT\n * @param {*} ext\n * @param {string} name\n */\n function legacyExtensionLoading(ext, name) {\n if (typeof ext === 'function') {\n ext = ext(new showdown.Converter());\n }\n if (!showdown.helper.isArray(ext)) {\n ext = [ext];\n }\n var valid = validate(ext, name);\n\n if (!valid.valid) {\n throw Error(valid.error);\n }\n\n for (var i = 0; i < ext.length; ++i) {\n switch (ext[i].type) {\n case 'lang':\n langExtensions.push(ext[i]);\n break;\n case 'output':\n outputModifiers.push(ext[i]);\n break;\n default:\n // should never reach here\n throw Error('Extension loader error: Type unrecognized!!!');\n }\n }\n }\n\n /**\n * Listen to an event\n * @param {string} name\n * @param {function} callback\n */\n function listen(name, callback) {\n if (!showdown.helper.isString(name)) {\n throw Error('Invalid argument in converter.listen() method: name must be a string, but ' + typeof name + ' given');\n }\n\n if (typeof callback !== 'function') {\n throw Error('Invalid argument in converter.listen() method: callback must be a function, but ' + typeof callback + ' given');\n }\n\n if (!listeners.hasOwnProperty(name)) {\n listeners[name] = [];\n }\n listeners[name].push(callback);\n }\n\n function rTrimInputText(text) {\n var rsp = text.match(/^\\s*/)[0].length,\n rgx = new RegExp('^\\\\s{0,' + rsp + '}', 'gm');\n return text.replace(rgx, '');\n }\n\n /**\n * Dispatch an event\n * @private\n * @param {string} evtName Event name\n * @param {string} text Text\n * @param {{}} options Converter Options\n * @param {{}} globals\n * @returns {string}\n */\n this._dispatch = function dispatch(evtName, text, options, globals) {\n if (listeners.hasOwnProperty(evtName)) {\n for (var ei = 0; ei < listeners[evtName].length; ++ei) {\n var nText = listeners[evtName][ei](evtName, text, this, options, globals);\n if (nText && typeof nText !== 'undefined') {\n text = nText;\n }\n }\n }\n return text;\n };\n\n /**\n * Listen to an event\n * @param {string} name\n * @param {function} callback\n * @returns {showdown.Converter}\n */\n this.listen = function (name, callback) {\n listen(name, callback);\n return this;\n };\n\n /**\n * Converts a markdown string into HTML\n * @param {string} text\n * @returns {*}\n */\n this.makeHtml = function (text) {\n //check if text is not falsy\n if (!text) {\n return text;\n }\n\n var globals = {\n gHtmlBlocks: [],\n gHtmlMdBlocks: [],\n gHtmlSpans: [],\n gUrls: {},\n gTitles: {},\n gDimensions: {},\n gListLevel: 0,\n hashLinkCounts: {},\n langExtensions: langExtensions,\n outputModifiers: outputModifiers,\n converter: this,\n ghCodeBlocks: [],\n metadata: {\n parsed: {},\n raw: '',\n format: ''\n }\n };\n\n // This lets us use ¨ trema as an escape char to avoid md5 hashes\n // The choice of character is arbitrary; anything that isn't\n // magic in Markdown will work.\n text = text.replace(/¨/g, '¨T');\n\n // Replace $ with ¨D\n // RegExp interprets $ as a special character\n // when it's in a replacement string\n text = text.replace(/\\$/g, '¨D');\n\n // Standardize line endings\n text = text.replace(/\\r\\n/g, '\\n'); // DOS to Unix\n text = text.replace(/\\r/g, '\\n'); // Mac to Unix\n\n // Stardardize line spaces\n text = text.replace(/\\u00A0/g, ' ');\n\n if (options.smartIndentationFix) {\n text = rTrimInputText(text);\n }\n\n // Make sure text begins and ends with a couple of newlines:\n text = '\\n\\n' + text + '\\n\\n';\n\n // detab\n text = showdown.subParser('detab')(text, options, globals);\n\n /**\n * Strip any lines consisting only of spaces and tabs.\n * This makes subsequent regexs easier to write, because we can\n * match consecutive blank lines with /\\n+/ instead of something\n * contorted like /[ \\t]*\\n+/\n */\n text = text.replace(/^[ \\t]+$/mg, '');\n\n //run languageExtensions\n showdown.helper.forEach(langExtensions, function (ext) {\n text = showdown.subParser('runExtension')(ext, text, options, globals);\n });\n\n // run the sub parsers\n text = showdown.subParser('metadata')(text, options, globals);\n text = showdown.subParser('hashPreCodeTags')(text, options, globals);\n text = showdown.subParser('githubCodeBlocks')(text, options, globals);\n text = showdown.subParser('hashHTMLBlocks')(text, options, globals);\n text = showdown.subParser('hashCodeTags')(text, options, globals);\n text = showdown.subParser('stripLinkDefinitions')(text, options, globals);\n text = showdown.subParser('blockGamut')(text, options, globals);\n text = showdown.subParser('unhashHTMLSpans')(text, options, globals);\n text = showdown.subParser('unescapeSpecialChars')(text, options, globals);\n\n // attacklab: Restore dollar signs\n text = text.replace(/¨D/g, '$$');\n\n // attacklab: Restore tremas\n text = text.replace(/¨T/g, '¨');\n\n // render a complete html document instead of a partial if the option is enabled\n text = showdown.subParser('completeHTMLDocument')(text, options, globals);\n\n // Run output modifiers\n showdown.helper.forEach(outputModifiers, function (ext) {\n text = showdown.subParser('runExtension')(ext, text, options, globals);\n });\n\n // update metadata\n metadata = globals.metadata;\n return text;\n };\n\n /**\n * Converts an HTML string into a markdown string\n * @param src\n * @param [HTMLParser] A WHATWG DOM and HTML parser, such as JSDOM. If none is supplied, window.document will be used.\n * @returns {string}\n */\n this.makeMarkdown = this.makeMd = function (src, HTMLParser) {\n\n // replace \\r\\n with \\n\n src = src.replace(/\\r\\n/g, '\\n');\n src = src.replace(/\\r/g, '\\n'); // old macs\n\n // due to an edge case, we need to find this: > <\n // to prevent removing of non silent white spaces\n // ex: this is sparta\n src = src.replace(/>[ \\t]+, '>¨NBSP;<');\n\n if (!HTMLParser) {\n if (window && window.document) {\n HTMLParser = window.document;\n } else {\n throw new Error('HTMLParser is undefined. If in a webworker or nodejs environment, you need to provide a WHATWG DOM and HTML such as JSDOM');\n }\n }\n\n var doc = HTMLParser.createElement('div');\n doc.innerHTML = src;\n\n var globals = {\n preList: substitutePreCodeTags(doc)\n };\n\n // remove all newlines and collapse spaces\n clean(doc);\n\n // some stuff, like accidental reference links must now be escaped\n // TODO\n // doc.innerHTML = doc.innerHTML.replace(/\\[[\\S\\t ]]/);\n\n var nodes = doc.childNodes,\n mdDoc = '';\n\n for (var i = 0; i < nodes.length; i++) {\n mdDoc += showdown.subParser('makeMarkdown.node')(nodes[i], globals);\n }\n\n function clean(node) {\n for (var n = 0; n < node.childNodes.length; ++n) {\n var child = node.childNodes[n];\n if (child.nodeType === 3) {\n if (!/\\S/.test(child.nodeValue)) {\n node.removeChild(child);\n --n;\n } else {\n child.nodeValue = child.nodeValue.split('\\n').join(' ');\n child.nodeValue = child.nodeValue.replace(/(\\s)+/g, '$1');\n }\n } else if (child.nodeType === 1) {\n clean(child);\n }\n }\n }\n\n // find all pre tags and replace contents with placeholder\n // we need this so that we can remove all indentation from html\n // to ease up parsing\n function substitutePreCodeTags(doc) {\n\n var pres = doc.querySelectorAll('pre'),\n presPH = [];\n\n for (var i = 0; i < pres.length; ++i) {\n\n if (pres[i].childElementCount === 1 && pres[i].firstChild.tagName.toLowerCase() === 'code') {\n var content = pres[i].firstChild.innerHTML.trim(),\n language = pres[i].firstChild.getAttribute('data-language') || '';\n\n // if data-language attribute is not defined, then we look for class language-*\n if (language === '') {\n var classes = pres[i].firstChild.className.split(' ');\n for (var c = 0; c < classes.length; ++c) {\n var matches = classes[c].match(/^language-(.+)$/);\n if (matches !== null) {\n language = matches[1];\n break;\n }\n }\n }\n\n // unescape html entities in content\n content = showdown.helper.unescapeHTMLEntities(content);\n\n presPH.push(content);\n pres[i].outerHTML = ' ';\n } else {\n presPH.push(pres[i].innerHTML);\n pres[i].innerHTML = '';\n pres[i].setAttribute('prenum', i.toString());\n }\n }\n return presPH;\n }\n\n return mdDoc;\n };\n\n /**\n * Set an option of this Converter instance\n * @param {string} key\n * @param {*} value\n */\n this.setOption = function (key, value) {\n options[key] = value;\n };\n\n /**\n * Get the option of this Converter instance\n * @param {string} key\n * @returns {*}\n */\n this.getOption = function (key) {\n return options[key];\n };\n\n /**\n * Get the options of this Converter instance\n * @returns {{}}\n */\n this.getOptions = function () {\n return options;\n };\n\n /**\n * Add extension to THIS converter\n * @param {{}} extension\n * @param {string} [name=null]\n */\n this.addExtension = function (extension, name) {\n name = name || null;\n _parseExtension(extension, name);\n };\n\n /**\n * Use a global registered extension with THIS converter\n * @param {string} extensionName Name of the previously registered extension\n */\n this.useExtension = function (extensionName) {\n _parseExtension(extensionName);\n };\n\n /**\n * Set the flavor THIS converter should use\n * @param {string} name\n */\n this.setFlavor = function (name) {\n if (!flavor.hasOwnProperty(name)) {\n throw Error(name + ' flavor was not found');\n }\n var preset = flavor[name];\n setConvFlavor = name;\n for (var option in preset) {\n if (preset.hasOwnProperty(option)) {\n options[option] = preset[option];\n }\n }\n };\n\n /**\n * Get the currently set flavor of this converter\n * @returns {string}\n */\n this.getFlavor = function () {\n return setConvFlavor;\n };\n\n /**\n * Remove an extension from THIS converter.\n * Note: This is a costly operation. It's better to initialize a new converter\n * and specify the extensions you wish to use\n * @param {Array} extension\n */\n this.removeExtension = function (extension) {\n if (!showdown.helper.isArray(extension)) {\n extension = [extension];\n }\n for (var a = 0; a < extension.length; ++a) {\n var ext = extension[a];\n for (var i = 0; i < langExtensions.length; ++i) {\n if (langExtensions[i] === ext) {\n langExtensions[i].splice(i, 1);\n }\n }\n for (var ii = 0; ii < outputModifiers.length; ++i) {\n if (outputModifiers[ii] === ext) {\n outputModifiers[ii].splice(i, 1);\n }\n }\n }\n };\n\n /**\n * Get all extension of THIS converter\n * @returns {{language: Array, output: Array}}\n */\n this.getAllExtensions = function () {\n return {\n language: langExtensions,\n output: outputModifiers\n };\n };\n\n /**\n * Get the metadata of the previously parsed document\n * @param raw\n * @returns {string|{}}\n */\n this.getMetadata = function (raw) {\n if (raw) {\n return metadata.raw;\n } else {\n return metadata.parsed;\n }\n };\n\n /**\n * Get the metadata format of the previously parsed document\n * @returns {string}\n */\n this.getMetadataFormat = function () {\n return metadata.format;\n };\n\n /**\n * Private: set a single key, value metadata pair\n * @param {string} key\n * @param {string} value\n */\n this._setMetadataPair = function (key, value) {\n metadata.parsed[key] = value;\n };\n\n /**\n * Private: set metadata format\n * @param {string} format\n */\n this._setMetadataFormat = function (format) {\n metadata.format = format;\n };\n\n /**\n * Private: set metadata raw text\n * @param {string} raw\n */\n this._setMetadataRaw = function (raw) {\n metadata.raw = raw;\n };\n };\n\n /**\n * Turn Markdown link shortcuts into XHTML tags.\n */\n showdown.subParser('anchors', function (text, options, globals) {\n 'use strict';\n\n text = globals.converter._dispatch('anchors.before', text, options, globals);\n\n var writeAnchorTag = function writeAnchorTag(wholeMatch, linkText, linkId, url, m5, m6, title) {\n if (showdown.helper.isUndefined(title)) {\n title = '';\n }\n linkId = linkId.toLowerCase();\n\n // Special case for explicit empty url\n if (wholeMatch.search(/\\(\\s*>? ?(['\"].*['\"])?\\)$/m) > -1) {\n url = '';\n } else if (!url) {\n if (!linkId) {\n // lower-case and turn embedded newlines into spaces\n linkId = linkText.toLowerCase().replace(/ ?\\n/g, ' ');\n }\n url = '#' + linkId;\n\n if (!showdown.helper.isUndefined(globals.gUrls[linkId])) {\n url = globals.gUrls[linkId];\n if (!showdown.helper.isUndefined(globals.gTitles[linkId])) {\n title = globals.gTitles[linkId];\n }\n } else {\n return wholeMatch;\n }\n }\n\n //url = showdown.helper.escapeCharacters(url, '*_', false); // replaced line to improve performance\n url = url.replace(showdown.helper.regexes.asteriskDashAndColon, showdown.helper.escapeCharactersCallback);\n\n var result = '' + linkText + '';\n\n return result;\n };\n\n // First, handle reference-style links: [link text] [id]\n text = text.replace(/\\[((?:\\[[^\\]]*]|[^\\[\\]])*)] ?(?:\\n *)?\\[(.*?)]()()()()/g, writeAnchorTag);\n\n // Next, inline-style links: [link text](url \"optional title\")\n // cases with crazy urls like ./image/cat1).png\n text = text.replace(/\\[((?:\\[[^\\]]*]|[^\\[\\]])*)]()[ \\t]*\\([ \\t]?<([^>]*)>(?:[ \\t]*(([\"'])([^\"]*?)\\5))?[ \\t]?\\)/g, writeAnchorTag);\n\n // normal cases\n text = text.replace(/\\[((?:\\[[^\\]]*]|[^\\[\\]])*)]()[ \\t]*\\([ \\t]?([\\S]+?(?:\\([\\S]*?\\)[\\S]*?)?)>?(?:[ \\t]*(([\"'])([^\"]*?)\\5))?[ \\t]?\\)/g, writeAnchorTag);\n\n // handle reference-style shortcuts: [link text]\n // These must come last in case you've also got [link test][1]\n // or [link test](/foo)\n text = text.replace(/\\[([^\\[\\]]+)]()()()()()/g, writeAnchorTag);\n\n // Lastly handle GithubMentions if option is enabled\n if (options.ghMentions) {\n text = text.replace(/(^|\\s)(\\\\)?(@([a-z\\d]+(?:[a-z\\d.-]+?[a-z\\d]+)*))/gmi, function (wm, st, escape, mentions, username) {\n if (escape === '\\\\') {\n return st + mentions;\n }\n\n //check if options.ghMentionsLink is a string\n if (!showdown.helper.isString(options.ghMentionsLink)) {\n throw new Error('ghMentionsLink option must be a string');\n }\n var lnk = options.ghMentionsLink.replace(/\\{u}/g, username),\n target = '';\n if (options.openLinksInNewWindow) {\n target = ' rel=\"noopener noreferrer\" target=\"¨E95Eblank\"';\n }\n return st + '' + mentions + '';\n });\n }\n\n text = globals.converter._dispatch('anchors.after', text, options, globals);\n return text;\n });\n\n // url allowed chars [a-z\\d_.~:/?#[]@!$&'()*+,;=-]\n\n var simpleURLRegex = /([*~_]+|\\b)(((https?|ftp|dict):\\/\\/|www\\.)[^'\">\\s]+?\\.[^'\">\\s]+?)()(\\1)?(?=\\s|$)(?![\"<>])/gi,\n simpleURLRegex2 = /([*~_]+|\\b)(((https?|ftp|dict):\\/\\/|www\\.)[^'\">\\s]+\\.[^'\">\\s]+?)([.!?,()\\[\\]])?(\\1)?(?=\\s|$)(?![\"<>])/gi,\n delimUrlRegex = /()<(((https?|ftp|dict):\\/\\/|www\\.)[^'\">\\s]+)()>()/gi,\n simpleMailRegex = /(^|\\s)(?:mailto:)?([A-Za-z0-9!#$%&'*+-/=?^_`{|}~.]+@[-a-z0-9]+(\\.[-a-z0-9]+)*\\.[a-z]+)(?=$|\\s)/gmi,\n delimMailRegex = /<()(?:mailto:)?([-.\\w]+@[-a-z0-9]+(\\.[-a-z0-9]+)*\\.[a-z]+)>/gi,\n replaceLink = function replaceLink(options) {\n 'use strict';\n\n return function (wm, leadingMagicChars, link, m2, m3, trailingPunctuation, trailingMagicChars) {\n link = link.replace(showdown.helper.regexes.asteriskDashAndColon, showdown.helper.escapeCharactersCallback);\n var lnkTxt = link,\n append = '',\n target = '',\n lmc = leadingMagicChars || '',\n tmc = trailingMagicChars || '';\n if (/^www\\./i.test(link)) {\n link = link.replace(/^www\\./i, 'http://www.');\n }\n if (options.excludeTrailingPunctuationFromURLs && trailingPunctuation) {\n append = trailingPunctuation;\n }\n if (options.openLinksInNewWindow) {\n target = ' rel=\"noopener noreferrer\" target=\"¨E95Eblank\"';\n }\n return lmc + '' + lnkTxt + '' + append + tmc;\n };\n },\n replaceMail = function replaceMail(options, globals) {\n 'use strict';\n\n return function (wholeMatch, b, mail) {\n var href = 'mailto:';\n b = b || '';\n mail = showdown.subParser('unescapeSpecialChars')(mail, options, globals);\n if (options.encodeEmails) {\n href = showdown.helper.encodeEmailAddress(href + mail);\n mail = showdown.helper.encodeEmailAddress(mail);\n } else {\n href = href + mail;\n }\n return b + '' + mail + '';\n };\n };\n\n showdown.subParser('autoLinks', function (text, options, globals) {\n 'use strict';\n\n text = globals.converter._dispatch('autoLinks.before', text, options, globals);\n\n text = text.replace(delimUrlRegex, replaceLink(options));\n text = text.replace(delimMailRegex, replaceMail(options, globals));\n\n text = globals.converter._dispatch('autoLinks.after', text, options, globals);\n\n return text;\n });\n\n showdown.subParser('simplifiedAutoLinks', function (text, options, globals) {\n 'use strict';\n\n if (!options.simplifiedAutoLink) {\n return text;\n }\n\n text = globals.converter._dispatch('simplifiedAutoLinks.before', text, options, globals);\n\n if (options.excludeTrailingPunctuationFromURLs) {\n text = text.replace(simpleURLRegex2, replaceLink(options));\n } else {\n text = text.replace(simpleURLRegex, replaceLink(options));\n }\n text = text.replace(simpleMailRegex, replaceMail(options, globals));\n\n text = globals.converter._dispatch('simplifiedAutoLinks.after', text, options, globals);\n\n return text;\n });\n\n /**\n * These are all the transformations that form block-level\n * tags like paragraphs, headers, and list items.\n */\n showdown.subParser('blockGamut', function (text, options, globals) {\n 'use strict';\n\n text = globals.converter._dispatch('blockGamut.before', text, options, globals);\n\n // we parse blockquotes first so that we can have headings and hrs\n // inside blockquotes\n text = showdown.subParser('blockQuotes')(text, options, globals);\n text = showdown.subParser('headers')(text, options, globals);\n\n // Do Horizontal Rules:\n text = showdown.subParser('horizontalRule')(text, options, globals);\n\n text = showdown.subParser('lists')(text, options, globals);\n text = showdown.subParser('codeBlocks')(text, options, globals);\n text = showdown.subParser('tables')(text, options, globals);\n\n // We already ran _HashHTMLBlocks() before, in Markdown(), but that\n // was to escape raw HTML in the original Markdown source. This time,\n // we're escaping the markup we've just created, so that we don't wrap\n // tags around block-level tags.\n text = showdown.subParser('hashHTMLBlocks')(text, options, globals);\n text = showdown.subParser('paragraphs')(text, options, globals);\n\n text = globals.converter._dispatch('blockGamut.after', text, options, globals);\n\n return text;\n });\n\n showdown.subParser('blockQuotes', function (text, options, globals) {\n 'use strict';\n\n text = globals.converter._dispatch('blockQuotes.before', text, options, globals);\n\n // add a couple extra lines after the text and endtext mark\n text = text + '\\n\\n';\n\n var rgx = /(^ {0,3}>[ \\t]?.+\\n(.+\\n)*\\n*)+/gm;\n\n if (options.splitAdjacentBlockquotes) {\n rgx = /^ {0,3}>[\\s\\S]*?(?:\\n\\n)/gm;\n }\n\n text = text.replace(rgx, function (bq) {\n // attacklab: hack around Konqueror 3.5.4 bug:\n // \"----------bug\".replace(/^-/g,\"\") == \"bug\"\n bq = bq.replace(/^[ \\t]*>[ \\t]?/gm, ''); // trim one level of quoting\n\n // attacklab: clean up hack\n bq = bq.replace(/¨0/g, '');\n\n bq = bq.replace(/^[ \\t]+$/gm, ''); // trim whitespace-only lines\n bq = showdown.subParser('githubCodeBlocks')(bq, options, globals);\n bq = showdown.subParser('blockGamut')(bq, options, globals); // recurse\n\n bq = bq.replace(/(^|\\n)/g, '$1 ');\n // These leading spaces screw with
content, so we need to fix that:\n bq = bq.replace(/(\\s*[^\\r]+?<\\/pre>)/gm, function (wholeMatch, m1) {\n var pre = m1;\n // attacklab: hack around Konqueror 3.5.4 bug:\n pre = pre.replace(/^ /mg, '¨0');\n pre = pre.replace(/¨0/g, '');\n return pre;\n });\n\n return showdown.subParser('hashBlock')('\\n' + bq + '\\n
', options, globals);\n });\n\n text = globals.converter._dispatch('blockQuotes.after', text, options, globals);\n return text;\n });\n\n /**\n * Process Markdown `` blocks.\n */\n showdown.subParser('codeBlocks', function (text, options, globals) {\n 'use strict';\n\n text = globals.converter._dispatch('codeBlocks.before', text, options, globals);\n\n // sentinel workarounds for lack of \\A and \\Z, safari\\khtml bug\n text += '¨0';\n\n var pattern = /(?:\\n\\n|^)((?:(?:[ ]{4}|\\t).*\\n+)+)(\\n*[ ]{0,3}[^ \\t\\n]|(?=¨0))/g;\n text = text.replace(pattern, function (wholeMatch, m1, m2) {\n var codeblock = m1,\n nextChar = m2,\n end = '\\n';\n\n codeblock = showdown.subParser('outdent')(codeblock, options, globals);\n codeblock = showdown.subParser('encodeCode')(codeblock, options, globals);\n codeblock = showdown.subParser('detab')(codeblock, options, globals);\n codeblock = codeblock.replace(/^\\n+/g, ''); // trim leading newlines\n codeblock = codeblock.replace(/\\n+$/g, ''); // trim trailing newlines\n\n if (options.omitExtraWLInCodeBlocks) {\n end = '';\n }\n\n codeblock = '' + codeblock + end + '
';\n\n return showdown.subParser('hashBlock')(codeblock, options, globals) + nextChar;\n });\n\n // strip sentinel\n text = text.replace(/¨0/, '');\n\n text = globals.converter._dispatch('codeBlocks.after', text, options, globals);\n return text;\n });\n\n /**\n *\n * * Backtick quotes are used for
spans.\n *\n * * You can use multiple backticks as the delimiters if you want to\n * include literal backticks in the code span. So, this input:\n *\n * Just type ``foo `bar` baz`` at the prompt.\n *\n * Will translate to:\n *\n * Just type foo `bar` baz
at the prompt.
\n *\n * There's no arbitrary limit to the number of backticks you\n * can use as delimters. If you need three consecutive backticks\n * in your code, use four for delimiters, etc.\n *\n * * You can use spaces to get literal backticks at the edges:\n *\n * ... type `` `bar` `` ...\n *\n * Turns to:\n *\n * ... type `bar`
...\n */\n showdown.subParser('codeSpans', function (text, options, globals) {\n 'use strict';\n\n text = globals.converter._dispatch('codeSpans.before', text, options, globals);\n\n if (typeof text === 'undefined') {\n text = '';\n }\n text = text.replace(/(^|[^\\\\])(`+)([^\\r]*?[^`])\\2(?!`)/gm, function (wholeMatch, m1, m2, m3) {\n var c = m3;\n c = c.replace(/^([ \\t]*)/g, ''); // leading whitespace\n c = c.replace(/[ \\t]*$/g, ''); // trailing whitespace\n c = showdown.subParser('encodeCode')(c, options, globals);\n c = m1 + '' + c + '
';\n c = showdown.subParser('hashHTMLSpans')(c, options, globals);\n return c;\n });\n\n text = globals.converter._dispatch('codeSpans.after', text, options, globals);\n return text;\n });\n\n /**\n * Create a full HTML document from the processed markdown\n */\n showdown.subParser('completeHTMLDocument', function (text, options, globals) {\n 'use strict';\n\n if (!options.completeHTMLDocument) {\n return text;\n }\n\n text = globals.converter._dispatch('completeHTMLDocument.before', text, options, globals);\n\n var doctype = 'html',\n doctypeParsed = '\\n',\n title = '',\n charset = '\\n',\n lang = '',\n metadata = '';\n\n if (typeof globals.metadata.parsed.doctype !== 'undefined') {\n doctypeParsed = '\\n';\n doctype = globals.metadata.parsed.doctype.toString().toLowerCase();\n if (doctype === 'html' || doctype === 'html5') {\n charset = '';\n }\n }\n\n for (var meta in globals.metadata.parsed) {\n if (globals.metadata.parsed.hasOwnProperty(meta)) {\n switch (meta.toLowerCase()) {\n case 'doctype':\n break;\n\n case 'title':\n title = '' + globals.metadata.parsed.title + ' \\n';\n break;\n\n case 'charset':\n if (doctype === 'html' || doctype === 'html5') {\n charset = '\\n';\n } else {\n charset = '\\n';\n }\n break;\n\n case 'language':\n case 'lang':\n lang = ' lang=\"' + globals.metadata.parsed[meta] + '\"';\n metadata += '\\n';\n break;\n\n default:\n metadata += '\\n';\n }\n }\n }\n\n text = doctypeParsed + '\\n\\n' + title + charset + metadata + '\\n\\n' + text.trim() + '\\n\\n';\n\n text = globals.converter._dispatch('completeHTMLDocument.after', text, options, globals);\n return text;\n });\n\n /**\n * Convert all tabs to spaces\n */\n showdown.subParser('detab', function (text, options, globals) {\n 'use strict';\n\n text = globals.converter._dispatch('detab.before', text, options, globals);\n\n // expand first n-1 tabs\n text = text.replace(/\\t(?=\\t)/g, ' '); // g_tab_width\n\n // replace the nth with two sentinels\n text = text.replace(/\\t/g, '¨A¨B');\n\n // use the sentinel to anchor our regex so it doesn't explode\n text = text.replace(/¨B(.+?)¨A/g, function (wholeMatch, m1) {\n var leadingText = m1,\n numSpaces = 4 - leadingText.length % 4; // g_tab_width\n\n // there *must* be a better way to do this:\n for (var i = 0; i < numSpaces; i++) {\n leadingText += ' ';\n }\n\n return leadingText;\n });\n\n // clean up sentinels\n text = text.replace(/¨A/g, ' '); // g_tab_width\n text = text.replace(/¨B/g, '');\n\n text = globals.converter._dispatch('detab.after', text, options, globals);\n return text;\n });\n\n showdown.subParser('ellipsis', function (text, options, globals) {\n 'use strict';\n\n text = globals.converter._dispatch('ellipsis.before', text, options, globals);\n\n text = text.replace(/\\.\\.\\./g, '…');\n\n text = globals.converter._dispatch('ellipsis.after', text, options, globals);\n\n return text;\n });\n\n /**\n * Turn emoji codes into emojis\n *\n * List of supported emojis: https://github.com/showdownjs/showdown/wiki/Emojis\n */\n showdown.subParser('emoji', function (text, options, globals) {\n 'use strict';\n\n if (!options.emoji) {\n return text;\n }\n\n text = globals.converter._dispatch('emoji.before', text, options, globals);\n\n var emojiRgx = /:([\\S]+?):/g;\n\n text = text.replace(emojiRgx, function (wm, emojiCode) {\n if (showdown.helper.emojis.hasOwnProperty(emojiCode)) {\n return showdown.helper.emojis[emojiCode];\n }\n return wm;\n });\n\n text = globals.converter._dispatch('emoji.after', text, options, globals);\n\n return text;\n });\n\n /**\n * Smart processing for ampersands and angle brackets that need to be encoded.\n */\n showdown.subParser('encodeAmpsAndAngles', function (text, options, globals) {\n 'use strict';\n\n text = globals.converter._dispatch('encodeAmpsAndAngles.before', text, options, globals);\n\n // Ampersand-encoding based entirely on Nat Irons's Amputator MT plugin:\n // http://bumppo.net/projects/amputator/\n text = text.replace(/&(?!#?[xX]?(?:[0-9a-fA-F]+|\\w+);)/g, '&');\n\n // Encode naked <'s\n text = text.replace(/<(?![a-z\\/?$!])/gi, '<');\n\n // Encode <\n text = text.replace(/\n text = text.replace(/>/g, '>');\n\n text = globals.converter._dispatch('encodeAmpsAndAngles.after', text, options, globals);\n return text;\n });\n\n /**\n * Returns the string, with after processing the following backslash escape sequences.\n *\n * attacklab: The polite way to do this is with the new escapeCharacters() function:\n *\n * text = escapeCharacters(text,\"\\\\\",true);\n * text = escapeCharacters(text,\"`*_{}[]()>#+-.!\",true);\n *\n * ...but we're sidestepping its use of the (slow) RegExp constructor\n * as an optimization for Firefox. This function gets called a LOT.\n */\n showdown.subParser('encodeBackslashEscapes', function (text, options, globals) {\n 'use strict';\n\n text = globals.converter._dispatch('encodeBackslashEscapes.before', text, options, globals);\n\n text = text.replace(/\\\\(\\\\)/g, showdown.helper.escapeCharactersCallback);\n text = text.replace(/\\\\([`*_{}\\[\\]()>#+.!~=|-])/g, showdown.helper.escapeCharactersCallback);\n\n text = globals.converter._dispatch('encodeBackslashEscapes.after', text, options, globals);\n return text;\n });\n\n /**\n * Encode/escape certain characters inside Markdown code runs.\n * The point is that in code, these characters are literals,\n * and lose their special Markdown meanings.\n */\n showdown.subParser('encodeCode', function (text, options, globals) {\n 'use strict';\n\n text = globals.converter._dispatch('encodeCode.before', text, options, globals);\n\n // Encode all ampersands; HTML entities are not\n // entities within a Markdown code span.\n text = text.replace(/&/g, '&')\n // Do the angle bracket song and dance:\n .replace(//g, '>')\n // Now, escape characters that are magic in Markdown:\n .replace(/([*_{}\\[\\]\\\\=~-])/g, showdown.helper.escapeCharactersCallback);\n\n text = globals.converter._dispatch('encodeCode.after', text, options, globals);\n return text;\n });\n\n /**\n * Within tags -- meaning between < and > -- encode [\\ ` * _ ~ =] so they\n * don't conflict with their use in Markdown for code, italics and strong.\n */\n showdown.subParser('escapeSpecialCharsWithinTagAttributes', function (text, options, globals) {\n 'use strict';\n\n text = globals.converter._dispatch('escapeSpecialCharsWithinTagAttributes.before', text, options, globals);\n\n // Build a regex to find HTML tags.\n var tags = /<\\/?[a-z\\d_:-]+(?:[\\s]+[\\s\\S]+?)?>/gi,\n comments = /-]|-[^>])(?:[^-]|-[^-])*)--)>/gi;\n\n text = text.replace(tags, function (wholeMatch) {\n return wholeMatch.replace(/(.)<\\/?code>(?=.)/g, '$1`').replace(/([\\\\`*_~=|])/g, showdown.helper.escapeCharactersCallback);\n });\n\n text = text.replace(comments, function (wholeMatch) {\n return wholeMatch.replace(/([\\\\`*_~=|])/g, showdown.helper.escapeCharactersCallback);\n });\n\n text = globals.converter._dispatch('escapeSpecialCharsWithinTagAttributes.after', text, options, globals);\n return text;\n });\n\n /**\n * Handle github codeblocks prior to running HashHTML so that\n * HTML contained within the codeblock gets escaped properly\n * Example:\n * ```ruby\n * def hello_world(x)\n * puts \"Hello, #{x}\"\n * end\n * ```\n */\n showdown.subParser('githubCodeBlocks', function (text, options, globals) {\n 'use strict';\n\n // early exit if option is not enabled\n\n if (!options.ghCodeBlocks) {\n return text;\n }\n\n text = globals.converter._dispatch('githubCodeBlocks.before', text, options, globals);\n\n text += '¨0';\n\n text = text.replace(/(?:^|\\n)(?: {0,3})(```+|~~~+)(?: *)([^\\s`~]*)\\n([\\s\\S]*?)\\n(?: {0,3})\\1/g, function (wholeMatch, delim, language, codeblock) {\n var end = options.omitExtraWLInCodeBlocks ? '' : '\\n';\n\n // First parse the github code block\n codeblock = showdown.subParser('encodeCode')(codeblock, options, globals);\n codeblock = showdown.subParser('detab')(codeblock, options, globals);\n codeblock = codeblock.replace(/^\\n+/g, ''); // trim leading newlines\n codeblock = codeblock.replace(/\\n+$/g, ''); // trim trailing whitespace\n\n codeblock = '' + codeblock + end + '
';\n\n codeblock = showdown.subParser('hashBlock')(codeblock, options, globals);\n\n // Since GHCodeblocks can be false positives, we need to\n // store the primitive text and the parsed text in a global var,\n // and then return a token\n return '\\n\\n¨G' + (globals.ghCodeBlocks.push({ text: wholeMatch, codeblock: codeblock }) - 1) + 'G\\n\\n';\n });\n\n // attacklab: strip sentinel\n text = text.replace(/¨0/, '');\n\n return globals.converter._dispatch('githubCodeBlocks.after', text, options, globals);\n });\n\n showdown.subParser('hashBlock', function (text, options, globals) {\n 'use strict';\n\n text = globals.converter._dispatch('hashBlock.before', text, options, globals);\n text = text.replace(/(^\\n+|\\n+$)/g, '');\n text = '\\n\\n¨K' + (globals.gHtmlBlocks.push(text) - 1) + 'K\\n\\n';\n text = globals.converter._dispatch('hashBlock.after', text, options, globals);\n return text;\n });\n\n /**\n * Hash and escape elements that should not be parsed as markdown\n */\n showdown.subParser('hashCodeTags', function (text, options, globals) {\n 'use strict';\n\n text = globals.converter._dispatch('hashCodeTags.before', text, options, globals);\n\n var repFunc = function repFunc(wholeMatch, match, left, right) {\n var codeblock = left + showdown.subParser('encodeCode')(match, options, globals) + right;\n return '¨C' + (globals.gHtmlSpans.push(codeblock) - 1) + 'C';\n };\n\n // Hash naked \n text = showdown.helper.replaceRecursiveRegExp(text, repFunc, ']*>', '
', 'gim');\n\n text = globals.converter._dispatch('hashCodeTags.after', text, options, globals);\n return text;\n });\n\n showdown.subParser('hashElement', function (text, options, globals) {\n 'use strict';\n\n return function (wholeMatch, m1) {\n var blockText = m1;\n\n // Undo double lines\n blockText = blockText.replace(/\\n\\n/g, '\\n');\n blockText = blockText.replace(/^\\n/, '');\n\n // strip trailing blank lines\n blockText = blockText.replace(/\\n+$/g, '');\n\n // Replace the element text with a marker (\"¨KxK\" where x is its key)\n blockText = '\\n\\n¨K' + (globals.gHtmlBlocks.push(blockText) - 1) + 'K\\n\\n';\n\n return blockText;\n };\n });\n\n showdown.subParser('hashHTMLBlocks', function (text, options, globals) {\n 'use strict';\n\n text = globals.converter._dispatch('hashHTMLBlocks.before', text, options, globals);\n\n var blockTags = ['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 repFunc = function repFunc(wholeMatch, match, left, right) {\n var txt = wholeMatch;\n // check if this html element is marked as markdown\n // if so, it's contents should be parsed as markdown\n if (left.search(/\\bmarkdown\\b/) !== -1) {\n txt = left + globals.converter.makeHtml(match) + right;\n }\n return '\\n\\n¨K' + (globals.gHtmlBlocks.push(txt) - 1) + 'K\\n\\n';\n };\n\n if (options.backslashEscapesHTMLTags) {\n // encode backslash escaped HTML tags\n text = text.replace(/\\\\<(\\/?[^>]+?)>/g, function (wm, inside) {\n return '<' + inside + '>';\n });\n }\n\n // hash HTML Blocks\n for (var i = 0; i < blockTags.length; ++i) {\n\n var opTagPos,\n rgx1 = new RegExp('^ {0,3}(<' + blockTags[i] + '\\\\b[^>]*>)', 'im'),\n patLeft = '<' + blockTags[i] + '\\\\b[^>]*>',\n patRight = '' + blockTags[i] + '>';\n // 1. Look for the first position of the first opening HTML tag in the text\n while ((opTagPos = showdown.helper.regexIndexOf(text, rgx1)) !== -1) {\n\n // if the HTML tag is \\ escaped, we need to escape it and break\n\n\n //2. Split the text in that position\n var subTexts = showdown.helper.splitAtIndex(text, opTagPos),\n\n //3. Match recursively\n newSubText1 = showdown.helper.replaceRecursiveRegExp(subTexts[1], repFunc, patLeft, patRight, 'im');\n\n // prevent an infinite loop\n if (newSubText1 === subTexts[1]) {\n break;\n }\n text = subTexts[0].concat(newSubText1);\n }\n }\n // HR SPECIAL CASE\n text = text.replace(/(\\n {0,3}(<(hr)\\b([^<>])*?\\/?>)[ \\t]*(?=\\n{2,}))/g, showdown.subParser('hashElement')(text, options, globals));\n\n // Special case for standalone HTML comments\n text = showdown.helper.replaceRecursiveRegExp(text, function (txt) {\n return '\\n\\n¨K' + (globals.gHtmlBlocks.push(txt) - 1) + 'K\\n\\n';\n }, '^ {0,3}', 'gm');\n\n // PHP and ASP-style processor instructions (...?> and <%...%>)\n text = text.replace(/(?:\\n\\n)( {0,3}(?:<([?%])[^\\r]*?\\2>)[ \\t]*(?=\\n{2,}))/g, showdown.subParser('hashElement')(text, options, globals));\n\n text = globals.converter._dispatch('hashHTMLBlocks.after', text, options, globals);\n return text;\n });\n\n /**\n * Hash span elements that should not be parsed as markdown\n */\n showdown.subParser('hashHTMLSpans', function (text, options, globals) {\n 'use strict';\n\n text = globals.converter._dispatch('hashHTMLSpans.before', text, options, globals);\n\n function hashHTMLSpan(html) {\n return '¨C' + (globals.gHtmlSpans.push(html) - 1) + 'C';\n }\n\n // Hash Self Closing tags\n text = text.replace(/<[^>]+?\\/>/gi, function (wm) {\n return hashHTMLSpan(wm);\n });\n\n // Hash tags without properties\n text = text.replace(/<([^>]+?)>[\\s\\S]*?<\\/\\1>/g, function (wm) {\n return hashHTMLSpan(wm);\n });\n\n // Hash tags with properties\n text = text.replace(/<([^>]+?)\\s[^>]+?>[\\s\\S]*?<\\/\\1>/g, function (wm) {\n return hashHTMLSpan(wm);\n });\n\n // Hash self closing tags without />\n text = text.replace(/<[^>]+?>/gi, function (wm) {\n return hashHTMLSpan(wm);\n });\n\n /*showdown.helper.matchRecursiveRegExp(text, ']*>', '
', 'gi');*/\n\n text = globals.converter._dispatch('hashHTMLSpans.after', text, options, globals);\n return text;\n });\n\n /**\n * Unhash HTML spans\n */\n showdown.subParser('unhashHTMLSpans', function (text, options, globals) {\n 'use strict';\n\n text = globals.converter._dispatch('unhashHTMLSpans.before', text, options, globals);\n\n for (var i = 0; i < globals.gHtmlSpans.length; ++i) {\n var repText = globals.gHtmlSpans[i],\n\n // limiter to prevent infinite loop (assume 10 as limit for recurse)\n limit = 0;\n\n while (/¨C(\\d+)C/.test(repText)) {\n var num = RegExp.$1;\n repText = repText.replace('¨C' + num + 'C', globals.gHtmlSpans[num]);\n if (limit === 10) {\n console.error('maximum nesting of 10 spans reached!!!');\n break;\n }\n ++limit;\n }\n text = text.replace('¨C' + i + 'C', repText);\n }\n\n text = globals.converter._dispatch('unhashHTMLSpans.after', text, options, globals);\n return text;\n });\n\n /**\n * Hash and escape elements that should not be parsed as markdown\n */\n showdown.subParser('hashPreCodeTags', function (text, options, globals) {\n 'use strict';\n\n text = globals.converter._dispatch('hashPreCodeTags.before', text, options, globals);\n\n var repFunc = function repFunc(wholeMatch, match, left, right) {\n // encode html entities\n var codeblock = left + showdown.subParser('encodeCode')(match, options, globals) + right;\n return '\\n\\n¨G' + (globals.ghCodeBlocks.push({ text: wholeMatch, codeblock: codeblock }) - 1) + 'G\\n\\n';\n };\n\n // Hash \n text = showdown.helper.replaceRecursiveRegExp(text, repFunc, '^ {0,3}]*>\\\\s*]*>', '^ {0,3}
\\\\s*
', 'gim');\n\n text = globals.converter._dispatch('hashPreCodeTags.after', text, options, globals);\n return text;\n });\n\n showdown.subParser('headers', function (text, options, globals) {\n 'use strict';\n\n text = globals.converter._dispatch('headers.before', text, options, globals);\n\n var headerLevelStart = isNaN(parseInt(options.headerLevelStart)) ? 1 : parseInt(options.headerLevelStart),\n\n\n // Set text-style headers:\n //\tHeader 1\n //\t========\n //\n //\tHeader 2\n //\t--------\n //\n setextRegexH1 = options.smoothLivePreview ? /^(.+)[ \\t]*\\n={2,}[ \\t]*\\n+/gm : /^(.+)[ \\t]*\\n=+[ \\t]*\\n+/gm,\n setextRegexH2 = options.smoothLivePreview ? /^(.+)[ \\t]*\\n-{2,}[ \\t]*\\n+/gm : /^(.+)[ \\t]*\\n-+[ \\t]*\\n+/gm;\n\n text = text.replace(setextRegexH1, function (wholeMatch, m1) {\n\n var spanGamut = showdown.subParser('spanGamut')(m1, options, globals),\n hID = options.noHeaderId ? '' : ' id=\"' + headerId(m1) + '\"',\n hLevel = headerLevelStart,\n hashBlock = '' + spanGamut + ' ';\n return showdown.subParser('hashBlock')(hashBlock, options, globals);\n });\n\n text = text.replace(setextRegexH2, function (matchFound, m1) {\n var spanGamut = showdown.subParser('spanGamut')(m1, options, globals),\n hID = options.noHeaderId ? '' : ' id=\"' + headerId(m1) + '\"',\n hLevel = headerLevelStart + 1,\n hashBlock = '' + spanGamut + ' ';\n return showdown.subParser('hashBlock')(hashBlock, options, globals);\n });\n\n // atx-style headers:\n // # Header 1\n // ## Header 2\n // ## Header 2 with closing hashes ##\n // ...\n // ###### Header 6\n //\n var atxStyle = options.requireSpaceBeforeHeadingText ? /^(#{1,6})[ \\t]+(.+?)[ \\t]*#*\\n+/gm : /^(#{1,6})[ \\t]*(.+?)[ \\t]*#*\\n+/gm;\n\n text = text.replace(atxStyle, function (wholeMatch, m1, m2) {\n var hText = m2;\n if (options.customizedHeaderId) {\n hText = m2.replace(/\\s?\\{([^{]+?)}\\s*$/, '');\n }\n\n var span = showdown.subParser('spanGamut')(hText, options, globals),\n hID = options.noHeaderId ? '' : ' id=\"' + headerId(m2) + '\"',\n hLevel = headerLevelStart - 1 + m1.length,\n header = '' + span + ' ';\n\n return showdown.subParser('hashBlock')(header, options, globals);\n });\n\n function headerId(m) {\n var title, prefix;\n\n // It is separate from other options to allow combining prefix and customized\n if (options.customizedHeaderId) {\n var match = m.match(/\\{([^{]+?)}\\s*$/);\n if (match && match[1]) {\n m = match[1];\n }\n }\n\n title = m;\n\n // Prefix id to prevent causing inadvertent pre-existing style matches.\n if (showdown.helper.isString(options.prefixHeaderId)) {\n prefix = options.prefixHeaderId;\n } else if (options.prefixHeaderId === true) {\n prefix = 'section-';\n } else {\n prefix = '';\n }\n\n if (!options.rawPrefixHeaderId) {\n title = prefix + title;\n }\n\n if (options.ghCompatibleHeaderId) {\n title = title.replace(/ /g, '-')\n // replace previously escaped chars (&, ¨ and $)\n .replace(/&/g, '').replace(/¨T/g, '').replace(/¨D/g, '')\n // replace rest of the chars (&~$ are repeated as they might have been escaped)\n // borrowed from github's redcarpet (some they should produce similar results)\n .replace(/[&+$,\\/:;=?@\"#{}|^¨~\\[\\]`\\\\*)(%.!'<>]/g, '').toLowerCase();\n } else if (options.rawHeaderId) {\n title = title.replace(/ /g, '-')\n // replace previously escaped chars (&, ¨ and $)\n .replace(/&/g, '&').replace(/¨T/g, '¨').replace(/¨D/g, '$')\n // replace \" and '\n .replace(/[\"']/g, '-').toLowerCase();\n } else {\n title = title.replace(/[^\\w]/g, '').toLowerCase();\n }\n\n if (options.rawPrefixHeaderId) {\n title = prefix + title;\n }\n\n if (globals.hashLinkCounts[title]) {\n title = title + '-' + globals.hashLinkCounts[title]++;\n } else {\n globals.hashLinkCounts[title] = 1;\n }\n return title;\n }\n\n text = globals.converter._dispatch('headers.after', text, options, globals);\n return text;\n });\n\n /**\n * Turn Markdown link shortcuts into XHTML tags.\n */\n showdown.subParser('horizontalRule', function (text, options, globals) {\n 'use strict';\n\n text = globals.converter._dispatch('horizontalRule.before', text, options, globals);\n\n var key = showdown.subParser('hashBlock')('
', options, globals);\n text = text.replace(/^ {0,2}( ?-){3,}[ \\t]*$/gm, key);\n text = text.replace(/^ {0,2}( ?\\*){3,}[ \\t]*$/gm, key);\n text = text.replace(/^ {0,2}( ?_){3,}[ \\t]*$/gm, key);\n\n text = globals.converter._dispatch('horizontalRule.after', text, options, globals);\n return text;\n });\n\n /**\n * Turn Markdown image shortcuts into tags.\n */\n showdown.subParser('images', function (text, options, globals) {\n 'use strict';\n\n text = globals.converter._dispatch('images.before', text, options, globals);\n\n var inlineRegExp = /!\\[([^\\]]*?)][ \\t]*()\\([ \\t]?([\\S]+?(?:\\([\\S]*?\\)[\\S]*?)?)>?(?: =([*\\d]+[A-Za-z%]{0,4})x([*\\d]+[A-Za-z%]{0,4}))?[ \\t]*(?:([\"'])([^\"]*?)\\6)?[ \\t]?\\)/g,\n crazyRegExp = /!\\[([^\\]]*?)][ \\t]*()\\([ \\t]?<([^>]*)>(?: =([*\\d]+[A-Za-z%]{0,4})x([*\\d]+[A-Za-z%]{0,4}))?[ \\t]*(?:(?:([\"'])([^\"]*?)\\6))?[ \\t]?\\)/g,\n base64RegExp = /!\\[([^\\]]*?)][ \\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,\n referenceRegExp = /!\\[([^\\]]*?)] ?(?:\\n *)?\\[([\\s\\S]*?)]()()()()()/g,\n refShortcutRegExp = /!\\[([^\\[\\]]+)]()()()()()/g;\n\n function writeImageTagBase64(wholeMatch, altText, linkId, url, width, height, m5, title) {\n url = url.replace(/\\s/g, '');\n return writeImageTag(wholeMatch, altText, linkId, url, width, height, m5, title);\n }\n\n function writeImageTag(wholeMatch, altText, linkId, url, width, height, m5, title) {\n\n var gUrls = globals.gUrls,\n gTitles = globals.gTitles,\n gDims = globals.gDimensions;\n\n linkId = linkId.toLowerCase();\n\n if (!title) {\n title = '';\n }\n // Special case for explicit empty url\n if (wholeMatch.search(/\\(\\s*>? ?(['\"].*['\"])?\\)$/m) > -1) {\n url = '';\n } else if (url === '' || url === null) {\n if (linkId === '' || linkId === null) {\n // lower-case and turn embedded newlines into spaces\n linkId = altText.toLowerCase().replace(/ ?\\n/g, ' ');\n }\n url = '#' + linkId;\n\n if (!showdown.helper.isUndefined(gUrls[linkId])) {\n url = gUrls[linkId];\n if (!showdown.helper.isUndefined(gTitles[linkId])) {\n title = gTitles[linkId];\n }\n if (!showdown.helper.isUndefined(gDims[linkId])) {\n width = gDims[linkId].width;\n height = gDims[linkId].height;\n }\n } else {\n return wholeMatch;\n }\n }\n\n altText = altText.replace(/\"/g, '"')\n //altText = showdown.helper.escapeCharacters(altText, '*_', false);\n .replace(showdown.helper.regexes.asteriskDashAndColon, showdown.helper.escapeCharactersCallback);\n //url = showdown.helper.escapeCharacters(url, '*_', false);\n url = url.replace(showdown.helper.regexes.asteriskDashAndColon, showdown.helper.escapeCharactersCallback);\n var result = '';\n\n return result;\n }\n\n // First, handle reference-style labeled images: ![alt text][id]\n text = text.replace(referenceRegExp, writeImageTag);\n\n // Next, handle inline images: ![alt text](url =x \"optional title\")\n\n // base64 encoded images\n text = text.replace(base64RegExp, writeImageTagBase64);\n\n // cases with crazy urls like ./image/cat1).png\n text = text.replace(crazyRegExp, writeImageTag);\n\n // normal cases\n text = text.replace(inlineRegExp, writeImageTag);\n\n // handle reference-style shortcuts: ![img text]\n text = text.replace(refShortcutRegExp, writeImageTag);\n\n text = globals.converter._dispatch('images.after', text, options, globals);\n return text;\n });\n\n showdown.subParser('italicsAndBold', function (text, options, globals) {\n 'use strict';\n\n text = globals.converter._dispatch('italicsAndBold.before', text, options, globals);\n\n // it's faster to have 3 separate regexes for each case than have just one\n // because of backtracing, in some cases, it could lead to an exponential effect\n // called \"catastrophic backtrace\". Ominous!\n\n function parseInside(txt, left, right) {\n /*\n if (options.simplifiedAutoLink) {\n txt = showdown.subParser('simplifiedAutoLinks')(txt, options, globals);\n }\n */\n return left + txt + right;\n }\n\n // Parse underscores\n if (options.literalMidWordUnderscores) {\n text = text.replace(/\\b___(\\S[\\s\\S]*?)___\\b/g, function (wm, txt) {\n return parseInside(txt, '', '');\n });\n text = text.replace(/\\b__(\\S[\\s\\S]*?)__\\b/g, function (wm, txt) {\n return parseInside(txt, '', '');\n });\n text = text.replace(/\\b_(\\S[\\s\\S]*?)_\\b/g, function (wm, txt) {\n return parseInside(txt, '', '');\n });\n } else {\n text = text.replace(/___(\\S[\\s\\S]*?)___/g, function (wm, m) {\n return (/\\S$/.test(m) ? parseInside(m, '', '') : wm\n );\n });\n text = text.replace(/__(\\S[\\s\\S]*?)__/g, function (wm, m) {\n return (/\\S$/.test(m) ? parseInside(m, '', '') : wm\n );\n });\n text = text.replace(/_([^\\s_][\\s\\S]*?)_/g, function (wm, m) {\n // !/^_[^_]/.test(m) - test if it doesn't start with __ (since it seems redundant, we removed it)\n return (/\\S$/.test(m) ? parseInside(m, '', '') : wm\n );\n });\n }\n\n // Now parse asterisks\n if (options.literalMidWordAsterisks) {\n text = text.replace(/([^*]|^)\\B\\*\\*\\*(\\S[\\s\\S]*?)\\*\\*\\*\\B(?!\\*)/g, function (wm, lead, txt) {\n return parseInside(txt, lead + '', '');\n });\n text = text.replace(/([^*]|^)\\B\\*\\*(\\S[\\s\\S]*?)\\*\\*\\B(?!\\*)/g, function (wm, lead, txt) {\n return parseInside(txt, lead + '', '');\n });\n text = text.replace(/([^*]|^)\\B\\*(\\S[\\s\\S]*?)\\*\\B(?!\\*)/g, function (wm, lead, txt) {\n return parseInside(txt, lead + '', '');\n });\n } else {\n text = text.replace(/\\*\\*\\*(\\S[\\s\\S]*?)\\*\\*\\*/g, function (wm, m) {\n return (/\\S$/.test(m) ? parseInside(m, '', '') : wm\n );\n });\n text = text.replace(/\\*\\*(\\S[\\s\\S]*?)\\*\\*/g, function (wm, m) {\n return (/\\S$/.test(m) ? parseInside(m, '', '') : wm\n );\n });\n text = text.replace(/\\*([^\\s*][\\s\\S]*?)\\*/g, function (wm, m) {\n // !/^\\*[^*]/.test(m) - test if it doesn't start with ** (since it seems redundant, we removed it)\n return (/\\S$/.test(m) ? parseInside(m, '', '') : wm\n );\n });\n }\n\n text = globals.converter._dispatch('italicsAndBold.after', text, options, globals);\n return text;\n });\n\n /**\n * Form HTML ordered (numbered) and unordered (bulleted) lists.\n */\n showdown.subParser('lists', function (text, options, globals) {\n 'use strict';\n\n /**\n * Process the contents of a single ordered or unordered list, splitting it\n * into individual list items.\n * @param {string} listStr\n * @param {boolean} trimTrailing\n * @returns {string}\n */\n\n function processListItems(listStr, trimTrailing) {\n // The $g_list_level global keeps track of when we're inside a list.\n // Each time we enter a list, we increment it; when we leave a list,\n // we decrement. If it's zero, we're not in a list anymore.\n //\n // We do this because when we're not inside a list, we want to treat\n // something like this:\n //\n // I recommend upgrading to version\n // 8. Oops, now this line is treated\n // as a sub-list.\n //\n // As a single paragraph, despite the fact that the second line starts\n // with a digit-period-space sequence.\n //\n // Whereas when we're inside a list (or sub-list), that line will be\n // treated as the start of a sub-list. What a kludge, huh? This is\n // an aspect of Markdown's syntax that's hard to parse perfectly\n // without resorting to mind-reading. Perhaps the solution is to\n // change the syntax rules such that sub-lists must start with a\n // starting cardinal number; e.g. \"1.\" or \"a.\".\n globals.gListLevel++;\n\n // trim trailing blank lines:\n listStr = listStr.replace(/\\n{2,}$/, '\\n');\n\n // attacklab: add sentinel to emulate \\z\n listStr += '¨0';\n\n var rgx = /(\\n)?(^ {0,3})([*+-]|\\d+[.])[ \\t]+((\\[(x|X| )?])?[ \\t]*[^\\r]+?(\\n{1,2}))(?=\\n*(¨0| {0,3}([*+-]|\\d+[.])[ \\t]+))/gm,\n isParagraphed = /\\n[ \\t]*\\n(?!¨0)/.test(listStr);\n\n // Since version 1.5, nesting sublists requires 4 spaces (or 1 tab) indentation,\n // which is a syntax breaking change\n // activating this option reverts to old behavior\n if (options.disableForced4SpacesIndentedSublists) {\n rgx = /(\\n)?(^ {0,3})([*+-]|\\d+[.])[ \\t]+((\\[(x|X| )?])?[ \\t]*[^\\r]+?(\\n{1,2}))(?=\\n*(¨0|\\2([*+-]|\\d+[.])[ \\t]+))/gm;\n }\n\n listStr = listStr.replace(rgx, function (wholeMatch, m1, m2, m3, m4, taskbtn, checked) {\n checked = checked && checked.trim() !== '';\n\n var item = showdown.subParser('outdent')(m4, options, globals),\n bulletStyle = '';\n\n // Support for github tasklists\n if (taskbtn && options.tasklists) {\n bulletStyle = ' class=\"task-list-item\" style=\"list-style-type: none;\"';\n item = item.replace(/^[ \\t]*\\[(x|X| )?]/m, function () {\n var otp = '';\n return otp;\n });\n }\n\n // ISSUE #312\n // This input: - - - a\n // causes trouble to the parser, since it interprets it as:\n // - a
\n // instead of:\n // - - - a
\n // So, to prevent it, we will put a marker (¨A)in the beginning of the line\n // Kind of hackish/monkey patching, but seems more effective than overcomplicating the list parser\n item = item.replace(/^([-*+]|\\d\\.)[ \\t]+[\\S\\n ]*/g, function (wm2) {\n return '¨A' + wm2;\n });\n\n // m1 - Leading line or\n // Has a double return (multi paragraph) or\n // Has sublist\n if (m1 || item.search(/\\n{2,}/) > -1) {\n item = showdown.subParser('githubCodeBlocks')(item, options, globals);\n item = showdown.subParser('blockGamut')(item, options, globals);\n } else {\n // Recursion for sub-lists:\n item = showdown.subParser('lists')(item, options, globals);\n item = item.replace(/\\n$/, ''); // chomp(item)\n item = showdown.subParser('hashHTMLBlocks')(item, options, globals);\n\n // Colapse double linebreaks\n item = item.replace(/\\n\\n+/g, '\\n\\n');\n if (isParagraphed) {\n item = showdown.subParser('paragraphs')(item, options, globals);\n } else {\n item = showdown.subParser('spanGamut')(item, options, globals);\n }\n }\n\n // now we need to remove the marker (¨A)\n item = item.replace('¨A', '');\n // we can finally wrap the line in list item tags\n item = '' + item + ' \\n';\n\n return item;\n });\n\n // attacklab: strip sentinel\n listStr = listStr.replace(/¨0/g, '');\n\n globals.gListLevel--;\n\n if (trimTrailing) {\n listStr = listStr.replace(/\\s+$/, '');\n }\n\n return listStr;\n }\n\n function styleStartNumber(list, listType) {\n // check if ol and starts by a number different than 1\n if (listType === 'ol') {\n var res = list.match(/^ *(\\d+)\\./);\n if (res && res[1] !== '1') {\n return ' start=\"' + res[1] + '\"';\n }\n }\n return '';\n }\n\n /**\n * Check and parse consecutive lists (better fix for issue #142)\n * @param {string} list\n * @param {string} listType\n * @param {boolean} trimTrailing\n * @returns {string}\n */\n function parseConsecutiveLists(list, listType, trimTrailing) {\n // check if we caught 2 or more consecutive lists by mistake\n // we use the counterRgx, meaning if listType is UL we look for OL and vice versa\n var olRgx = options.disableForced4SpacesIndentedSublists ? /^ ?\\d+\\.[ \\t]/gm : /^ {0,3}\\d+\\.[ \\t]/gm,\n ulRgx = options.disableForced4SpacesIndentedSublists ? /^ ?[*+-][ \\t]/gm : /^ {0,3}[*+-][ \\t]/gm,\n counterRxg = listType === 'ul' ? olRgx : ulRgx,\n result = '';\n\n if (list.search(counterRxg) !== -1) {\n (function parseCL(txt) {\n var pos = txt.search(counterRxg),\n style = styleStartNumber(list, listType);\n if (pos !== -1) {\n // slice\n result += '\\n\\n<' + listType + style + '>\\n' + processListItems(txt.slice(0, pos), !!trimTrailing) + '' + listType + '>\\n';\n\n // invert counterType and listType\n listType = listType === 'ul' ? 'ol' : 'ul';\n counterRxg = listType === 'ul' ? olRgx : ulRgx;\n\n //recurse\n parseCL(txt.slice(pos));\n } else {\n result += '\\n\\n<' + listType + style + '>\\n' + processListItems(txt, !!trimTrailing) + '' + listType + '>\\n';\n }\n })(list);\n } else {\n var style = styleStartNumber(list, listType);\n result = '\\n\\n<' + listType + style + '>\\n' + processListItems(list, !!trimTrailing) + '' + listType + '>\\n';\n }\n\n return result;\n }\n\n /** Start of list parsing **/\n text = globals.converter._dispatch('lists.before', text, options, globals);\n // add sentinel to hack around khtml/safari bug:\n // http://bugs.webkit.org/show_bug.cgi?id=11231\n text += '¨0';\n\n if (globals.gListLevel) {\n text = text.replace(/^(( {0,3}([*+-]|\\d+[.])[ \\t]+)[^\\r]+?(¨0|\\n{2,}(?=\\S)(?![ \\t]*(?:[*+-]|\\d+[.])[ \\t]+)))/gm, function (wholeMatch, list, m2) {\n var listType = m2.search(/[*+-]/g) > -1 ? 'ul' : 'ol';\n return parseConsecutiveLists(list, listType, true);\n });\n } else {\n text = text.replace(/(\\n\\n|^\\n?)(( {0,3}([*+-]|\\d+[.])[ \\t]+)[^\\r]+?(¨0|\\n{2,}(?=\\S)(?![ \\t]*(?:[*+-]|\\d+[.])[ \\t]+)))/gm, function (wholeMatch, m1, list, m3) {\n var listType = m3.search(/[*+-]/g) > -1 ? 'ul' : 'ol';\n return parseConsecutiveLists(list, listType, false);\n });\n }\n\n // strip sentinel\n text = text.replace(/¨0/, '');\n text = globals.converter._dispatch('lists.after', text, options, globals);\n return text;\n });\n\n /**\n * Parse metadata at the top of the document\n */\n showdown.subParser('metadata', function (text, options, globals) {\n 'use strict';\n\n if (!options.metadata) {\n return text;\n }\n\n text = globals.converter._dispatch('metadata.before', text, options, globals);\n\n function parseMetadataContents(content) {\n // raw is raw so it's not changed in any way\n globals.metadata.raw = content;\n\n // escape chars forbidden in html attributes\n // double quotes\n content = content\n // ampersand first\n .replace(/&/g, '&')\n // double quotes\n .replace(/\"/g, '"');\n\n content = content.replace(/\\n {4}/g, ' ');\n content.replace(/^([\\S ]+): +([\\s\\S]+?)$/gm, function (wm, key, value) {\n globals.metadata.parsed[key] = value;\n return '';\n });\n }\n\n text = text.replace(/^\\s*«««+(\\S*?)\\n([\\s\\S]+?)\\n»»»+\\n/, function (wholematch, format, content) {\n parseMetadataContents(content);\n return '¨M';\n });\n\n text = text.replace(/^\\s*---+(\\S*?)\\n([\\s\\S]+?)\\n---+\\n/, function (wholematch, format, content) {\n if (format) {\n globals.metadata.format = format;\n }\n parseMetadataContents(content);\n return '¨M';\n });\n\n text = text.replace(/¨M/g, '');\n\n text = globals.converter._dispatch('metadata.after', text, options, globals);\n return text;\n });\n\n /**\n * Remove one level of line-leading tabs or spaces\n */\n showdown.subParser('outdent', function (text, options, globals) {\n 'use strict';\n\n text = globals.converter._dispatch('outdent.before', text, options, globals);\n\n // attacklab: hack around Konqueror 3.5.4 bug:\n // \"----------bug\".replace(/^-/g,\"\") == \"bug\"\n text = text.replace(/^(\\t|[ ]{1,4})/gm, '¨0'); // attacklab: g_tab_width\n\n // attacklab: clean up hack\n text = text.replace(/¨0/g, '');\n\n text = globals.converter._dispatch('outdent.after', text, options, globals);\n return text;\n });\n\n /**\n *\n */\n showdown.subParser('paragraphs', function (text, options, globals) {\n 'use strict';\n\n text = globals.converter._dispatch('paragraphs.before', text, options, globals);\n // Strip leading and trailing lines:\n text = text.replace(/^\\n+/g, '');\n text = text.replace(/\\n+$/g, '');\n\n var grafs = text.split(/\\n{2,}/g),\n grafsOut = [],\n end = grafs.length; // Wrap tags\n\n for (var i = 0; i < end; i++) {\n var str = grafs[i];\n // if this is an HTML marker, copy it\n if (str.search(/¨(K|G)(\\d+)\\1/g) >= 0) {\n grafsOut.push(str);\n\n // test for presence of characters to prevent empty lines being parsed\n // as paragraphs (resulting in undesired extra empty paragraphs)\n } else if (str.search(/\\S/) >= 0) {\n str = showdown.subParser('spanGamut')(str, options, globals);\n str = str.replace(/^([ \\t]*)/g, '
');\n str += '
';\n grafsOut.push(str);\n }\n }\n\n /** Unhashify HTML blocks */\n end = grafsOut.length;\n for (i = 0; i < end; i++) {\n var blockText = '',\n grafsOutIt = grafsOut[i],\n codeFlag = false;\n // if this is a marker for an html block...\n // use RegExp.test instead of string.search because of QML bug\n while (/¨(K|G)(\\d+)\\1/.test(grafsOutIt)) {\n var delim = RegExp.$1,\n num = RegExp.$2;\n\n if (delim === 'K') {\n blockText = globals.gHtmlBlocks[num];\n } else {\n // we need to check if ghBlock is a false positive\n if (codeFlag) {\n // use encoded version of all text\n blockText = showdown.subParser('encodeCode')(globals.ghCodeBlocks[num].text, options, globals);\n } else {\n blockText = globals.ghCodeBlocks[num].codeblock;\n }\n }\n blockText = blockText.replace(/\\$/g, '$$$$'); // Escape any dollar signs\n\n grafsOutIt = grafsOutIt.replace(/(\\n\\n)?¨(K|G)\\d+\\2(\\n\\n)?/, blockText);\n // Check if grafsOutIt is a pre->code\n if (/^]*>\\s*]*>/.test(grafsOutIt)) {\n codeFlag = true;\n }\n }\n grafsOut[i] = grafsOutIt;\n }\n text = grafsOut.join('\\n');\n // Strip leading and trailing lines:\n text = text.replace(/^\\n+/g, '');\n text = text.replace(/\\n+$/g, '');\n return globals.converter._dispatch('paragraphs.after', text, options, globals);\n });\n\n /**\n * Run extension\n */\n showdown.subParser('runExtension', function (ext, text, options, globals) {\n 'use strict';\n\n if (ext.filter) {\n text = ext.filter(text, globals.converter, options);\n } else if (ext.regex) {\n // TODO remove this when old extension loading mechanism is deprecated\n var re = ext.regex;\n if (!(re instanceof RegExp)) {\n re = new RegExp(re, 'g');\n }\n text = text.replace(re, ext.replace);\n }\n\n return text;\n });\n\n /**\n * These are all the transformations that occur *within* block-level\n * tags like paragraphs, headers, and list items.\n */\n showdown.subParser('spanGamut', function (text, options, globals) {\n 'use strict';\n\n text = globals.converter._dispatch('spanGamut.before', text, options, globals);\n text = showdown.subParser('codeSpans')(text, options, globals);\n text = showdown.subParser('escapeSpecialCharsWithinTagAttributes')(text, options, globals);\n text = showdown.subParser('encodeBackslashEscapes')(text, options, globals);\n\n // Process anchor and image tags. Images must come first,\n // because ![foo][f] looks like an anchor.\n text = showdown.subParser('images')(text, options, globals);\n text = showdown.subParser('anchors')(text, options, globals);\n\n // Make links out of things like ` `\n // Must come after anchors, because you can use < and >\n // delimiters in inline links like [this]().\n text = showdown.subParser('autoLinks')(text, options, globals);\n text = showdown.subParser('simplifiedAutoLinks')(text, options, globals);\n text = showdown.subParser('emoji')(text, options, globals);\n text = showdown.subParser('underline')(text, options, globals);\n text = showdown.subParser('italicsAndBold')(text, options, globals);\n text = showdown.subParser('strikethrough')(text, options, globals);\n text = showdown.subParser('ellipsis')(text, options, globals);\n\n // we need to hash HTML tags inside spans\n text = showdown.subParser('hashHTMLSpans')(text, options, globals);\n\n // now we encode amps and angles\n text = showdown.subParser('encodeAmpsAndAngles')(text, options, globals);\n\n // Do hard breaks\n if (options.simpleLineBreaks) {\n // GFM style hard breaks\n // only add line breaks if the text does not contain a block (special case for lists)\n if (!/\\n\\n¨K/.test(text)) {\n text = text.replace(/\\n+/g, '
\\n');\n }\n } else {\n // Vanilla hard breaks\n text = text.replace(/ +\\n/g, '
\\n');\n }\n\n text = globals.converter._dispatch('spanGamut.after', text, options, globals);\n return text;\n });\n\n showdown.subParser('strikethrough', function (text, options, globals) {\n 'use strict';\n\n function parseInside(txt) {\n if (options.simplifiedAutoLink) {\n txt = showdown.subParser('simplifiedAutoLinks')(txt, options, globals);\n }\n return '' + txt + '';\n }\n\n if (options.strikethrough) {\n text = globals.converter._dispatch('strikethrough.before', text, options, globals);\n text = text.replace(/(?:~){2}([\\s\\S]+?)(?:~){2}/g, function (wm, txt) {\n return parseInside(txt);\n });\n text = globals.converter._dispatch('strikethrough.after', text, options, globals);\n }\n\n return text;\n });\n\n /**\n * Strips link definitions from text, stores the URLs and titles in\n * hash references.\n * Link defs are in the form: ^[id]: url \"optional title\"\n */\n showdown.subParser('stripLinkDefinitions', function (text, options, globals) {\n 'use strict';\n\n var regex = /^ {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,\n base64Regex = /^ {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;\n\n // attacklab: sentinel workarounds for lack of \\A and \\Z, safari\\khtml bug\n text += '¨0';\n\n var replaceFunc = function replaceFunc(wholeMatch, linkId, url, width, height, blankLines, title) {\n linkId = linkId.toLowerCase();\n if (url.match(/^data:.+?\\/.+?;base64,/)) {\n // remove newlines\n globals.gUrls[linkId] = url.replace(/\\s/g, '');\n } else {\n globals.gUrls[linkId] = showdown.subParser('encodeAmpsAndAngles')(url, options, globals); // Link IDs are case-insensitive\n }\n\n if (blankLines) {\n // Oops, found blank lines, so it's not a title.\n // Put back the parenthetical statement we stole.\n return blankLines + title;\n } else {\n if (title) {\n globals.gTitles[linkId] = title.replace(/\"|'/g, '"');\n }\n if (options.parseImgDimensions && width && height) {\n globals.gDimensions[linkId] = {\n width: width,\n height: height\n };\n }\n }\n // Completely remove the definition from the text\n return '';\n };\n\n // first we try to find base64 link references\n text = text.replace(base64Regex, replaceFunc);\n\n text = text.replace(regex, replaceFunc);\n\n // attacklab: strip sentinel\n text = text.replace(/¨0/, '');\n\n return text;\n });\n\n showdown.subParser('tables', function (text, options, globals) {\n 'use strict';\n\n if (!options.tables) {\n return text;\n }\n\n var tableRgx = /^ {0,3}\\|?.+\\|.+\\n {0,3}\\|?[ \\t]*:?[ \\t]*(?:[-=]){2,}[ \\t]*:?[ \\t]*\\|[ \\t]*:?[ \\t]*(?:[-=]){2,}[\\s\\S]+?(?:\\n\\n|¨0)/gm,\n\n //singeColTblRgx = /^ {0,3}\\|.+\\|\\n {0,3}\\|[ \\t]*:?[ \\t]*(?:[-=]){2,}[ \\t]*:?[ \\t]*\\|[ \\t]*\\n(?: {0,3}\\|.+\\|\\n)+(?:\\n\\n|¨0)/gm;\n singeColTblRgx = /^ {0,3}\\|.+\\|[ \\t]*\\n {0,3}\\|[ \\t]*:?[ \\t]*(?:[-=]){2,}[ \\t]*:?[ \\t]*\\|[ \\t]*\\n( {0,3}\\|.+\\|[ \\t]*\\n)*(?:\\n|¨0)/gm;\n\n function parseStyles(sLine) {\n if (/^:[ \\t]*--*$/.test(sLine)) {\n return ' style=\"text-align:left;\"';\n } else if (/^--*[ \\t]*:[ \\t]*$/.test(sLine)) {\n return ' style=\"text-align:right;\"';\n } else if (/^:[ \\t]*--*[ \\t]*:$/.test(sLine)) {\n return ' style=\"text-align:center;\"';\n } else {\n return '';\n }\n }\n\n function parseHeaders(header, style) {\n var id = '';\n header = header.trim();\n // support both tablesHeaderId and tableHeaderId due to error in documentation so we don't break backwards compatibility\n if (options.tablesHeaderId || options.tableHeaderId) {\n id = ' id=\"' + header.replace(/ /g, '_').toLowerCase() + '\"';\n }\n header = showdown.subParser('spanGamut')(header, options, globals);\n\n return '' + header + ' \\n';\n }\n\n function parseCells(cell, style) {\n var subText = showdown.subParser('spanGamut')(cell, options, globals);\n return '' + subText + ' \\n';\n }\n\n function buildTable(headers, cells) {\n var tb = '\\n\\n\\n',\n tblLgn = headers.length;\n\n for (var i = 0; i < tblLgn; ++i) {\n tb += headers[i];\n }\n tb += ' \\n\\n\\n';\n\n for (i = 0; i < cells.length; ++i) {\n tb += '\\n';\n for (var ii = 0; ii < tblLgn; ++ii) {\n tb += cells[i][ii];\n }\n tb += ' \\n';\n }\n tb += '\\n
\\n';\n return tb;\n }\n\n function parseTable(rawTable) {\n var i,\n tableLines = rawTable.split('\\n');\n\n for (i = 0; i < tableLines.length; ++i) {\n // strip wrong first and last column if wrapped tables are used\n if (/^ {0,3}\\|/.test(tableLines[i])) {\n tableLines[i] = tableLines[i].replace(/^ {0,3}\\|/, '');\n }\n if (/\\|[ \\t]*$/.test(tableLines[i])) {\n tableLines[i] = tableLines[i].replace(/\\|[ \\t]*$/, '');\n }\n // parse code spans first, but we only support one line code spans\n tableLines[i] = showdown.subParser('codeSpans')(tableLines[i], options, globals);\n }\n\n var rawHeaders = tableLines[0].split('|').map(function (s) {\n return s.trim();\n }),\n rawStyles = tableLines[1].split('|').map(function (s) {\n return s.trim();\n }),\n rawCells = [],\n headers = [],\n styles = [],\n cells = [];\n\n tableLines.shift();\n tableLines.shift();\n\n for (i = 0; i < tableLines.length; ++i) {\n if (tableLines[i].trim() === '') {\n continue;\n }\n rawCells.push(tableLines[i].split('|').map(function (s) {\n return s.trim();\n }));\n }\n\n if (rawHeaders.length < rawStyles.length) {\n return rawTable;\n }\n\n for (i = 0; i < rawStyles.length; ++i) {\n styles.push(parseStyles(rawStyles[i]));\n }\n\n for (i = 0; i < rawHeaders.length; ++i) {\n if (showdown.helper.isUndefined(styles[i])) {\n styles[i] = '';\n }\n headers.push(parseHeaders(rawHeaders[i], styles[i]));\n }\n\n for (i = 0; i < rawCells.length; ++i) {\n var row = [];\n for (var ii = 0; ii < headers.length; ++ii) {\n if (showdown.helper.isUndefined(rawCells[i][ii])) {}\n row.push(parseCells(rawCells[i][ii], styles[ii]));\n }\n cells.push(row);\n }\n\n return buildTable(headers, cells);\n }\n\n text = globals.converter._dispatch('tables.before', text, options, globals);\n\n // find escaped pipe characters\n text = text.replace(/\\\\(\\|)/g, showdown.helper.escapeCharactersCallback);\n\n // parse multi column tables\n text = text.replace(tableRgx, parseTable);\n\n // parse one column tables\n text = text.replace(singeColTblRgx, parseTable);\n\n text = globals.converter._dispatch('tables.after', text, options, globals);\n\n return text;\n });\n\n showdown.subParser('underline', function (text, options, globals) {\n 'use strict';\n\n if (!options.underline) {\n return text;\n }\n\n text = globals.converter._dispatch('underline.before', text, options, globals);\n\n if (options.literalMidWordUnderscores) {\n text = text.replace(/\\b___(\\S[\\s\\S]*?)___\\b/g, function (wm, txt) {\n return '' + txt + '';\n });\n text = text.replace(/\\b__(\\S[\\s\\S]*?)__\\b/g, function (wm, txt) {\n return '' + txt + '';\n });\n } else {\n text = text.replace(/___(\\S[\\s\\S]*?)___/g, function (wm, m) {\n return (/\\S$/.test(m) ? '' + m + '' : wm\n );\n });\n text = text.replace(/__(\\S[\\s\\S]*?)__/g, function (wm, m) {\n return (/\\S$/.test(m) ? '' + m + '' : wm\n );\n });\n }\n\n // escape remaining underscores to prevent them being parsed by italic and bold\n text = text.replace(/(_)/g, showdown.helper.escapeCharactersCallback);\n\n text = globals.converter._dispatch('underline.after', text, options, globals);\n\n return text;\n });\n\n /**\n * Swap back in all the special characters we've hidden.\n */\n showdown.subParser('unescapeSpecialChars', function (text, options, globals) {\n 'use strict';\n\n text = globals.converter._dispatch('unescapeSpecialChars.before', text, options, globals);\n\n text = text.replace(/¨E(\\d+)E/g, function (wholeMatch, m1) {\n var charCodeToReplace = parseInt(m1);\n return String.fromCharCode(charCodeToReplace);\n });\n\n text = globals.converter._dispatch('unescapeSpecialChars.after', text, options, globals);\n return text;\n });\n\n showdown.subParser('makeMarkdown.blockquote', function (node, globals) {\n 'use strict';\n\n var txt = '';\n if (node.hasChildNodes()) {\n var children = node.childNodes,\n childrenLength = children.length;\n\n for (var i = 0; i < childrenLength; ++i) {\n var innerTxt = showdown.subParser('makeMarkdown.node')(children[i], globals);\n\n if (innerTxt === '') {\n continue;\n }\n txt += innerTxt;\n }\n }\n // cleanup\n txt = txt.trim();\n txt = '> ' + txt.split('\\n').join('\\n> ');\n return txt;\n });\n\n showdown.subParser('makeMarkdown.codeBlock', function (node, globals) {\n 'use strict';\n\n var lang = node.getAttribute('language'),\n num = node.getAttribute('precodenum');\n return '```' + lang + '\\n' + globals.preList[num] + '\\n```';\n });\n\n showdown.subParser('makeMarkdown.codeSpan', function (node) {\n 'use strict';\n\n return '`' + node.innerHTML + '`';\n });\n\n showdown.subParser('makeMarkdown.emphasis', function (node, globals) {\n 'use strict';\n\n var txt = '';\n if (node.hasChildNodes()) {\n txt += '*';\n var children = node.childNodes,\n childrenLength = children.length;\n for (var i = 0; i < childrenLength; ++i) {\n txt += showdown.subParser('makeMarkdown.node')(children[i], globals);\n }\n txt += '*';\n }\n return txt;\n });\n\n showdown.subParser('makeMarkdown.header', function (node, globals, headerLevel) {\n 'use strict';\n\n var headerMark = new Array(headerLevel + 1).join('#'),\n txt = '';\n\n if (node.hasChildNodes()) {\n txt = headerMark + ' ';\n var children = node.childNodes,\n childrenLength = children.length;\n\n for (var i = 0; i < childrenLength; ++i) {\n txt += showdown.subParser('makeMarkdown.node')(children[i], globals);\n }\n }\n return txt;\n });\n\n showdown.subParser('makeMarkdown.hr', function () {\n 'use strict';\n\n return '---';\n });\n\n showdown.subParser('makeMarkdown.image', function (node) {\n 'use strict';\n\n var txt = '';\n if (node.hasAttribute('src')) {\n txt += '![' + node.getAttribute('alt') + '](';\n txt += '<' + node.getAttribute('src') + '>';\n if (node.hasAttribute('width') && node.hasAttribute('height')) {\n txt += ' =' + node.getAttribute('width') + 'x' + node.getAttribute('height');\n }\n\n if (node.hasAttribute('title')) {\n txt += ' \"' + node.getAttribute('title') + '\"';\n }\n txt += ')';\n }\n return txt;\n });\n\n showdown.subParser('makeMarkdown.links', function (node, globals) {\n 'use strict';\n\n var txt = '';\n if (node.hasChildNodes() && node.hasAttribute('href')) {\n var children = node.childNodes,\n childrenLength = children.length;\n txt = '[';\n for (var i = 0; i < childrenLength; ++i) {\n txt += showdown.subParser('makeMarkdown.node')(children[i], globals);\n }\n txt += '](';\n txt += '<' + node.getAttribute('href') + '>';\n if (node.hasAttribute('title')) {\n txt += ' \"' + node.getAttribute('title') + '\"';\n }\n txt += ')';\n }\n return txt;\n });\n\n showdown.subParser('makeMarkdown.list', function (node, globals, type) {\n 'use strict';\n\n var txt = '';\n if (!node.hasChildNodes()) {\n return '';\n }\n var listItems = node.childNodes,\n listItemsLenght = listItems.length,\n listNum = node.getAttribute('start') || 1;\n\n for (var i = 0; i < listItemsLenght; ++i) {\n if (typeof listItems[i].tagName === 'undefined' || listItems[i].tagName.toLowerCase() !== 'li') {\n continue;\n }\n\n // define the bullet to use in list\n var bullet = '';\n if (type === 'ol') {\n bullet = listNum.toString() + '. ';\n } else {\n bullet = '- ';\n }\n\n // parse list item\n txt += bullet + showdown.subParser('makeMarkdown.listItem')(listItems[i], globals);\n ++listNum;\n }\n\n // add comment at the end to prevent consecutive lists to be parsed as one\n txt += '\\n\\n';\n return txt.trim();\n });\n\n showdown.subParser('makeMarkdown.listItem', function (node, globals) {\n 'use strict';\n\n var listItemTxt = '';\n\n var children = node.childNodes,\n childrenLenght = children.length;\n\n for (var i = 0; i < childrenLenght; ++i) {\n listItemTxt += showdown.subParser('makeMarkdown.node')(children[i], globals);\n }\n // if it's only one liner, we need to add a newline at the end\n if (!/\\n$/.test(listItemTxt)) {\n listItemTxt += '\\n';\n } else {\n // it's multiparagraph, so we need to indent\n listItemTxt = listItemTxt.split('\\n').join('\\n ').replace(/^ {4}$/gm, '').replace(/\\n\\n+/g, '\\n\\n');\n }\n\n return listItemTxt;\n });\n\n showdown.subParser('makeMarkdown.node', function (node, globals, spansOnly) {\n 'use strict';\n\n spansOnly = spansOnly || false;\n\n var txt = '';\n\n // edge case of text without wrapper paragraph\n if (node.nodeType === 3) {\n return showdown.subParser('makeMarkdown.txt')(node, globals);\n }\n\n // HTML comment\n if (node.nodeType === 8) {\n return '\\n\\n';\n }\n\n // process only node elements\n if (node.nodeType !== 1) {\n return '';\n }\n\n var tagName = node.tagName.toLowerCase();\n\n switch (tagName) {\n\n //\n // BLOCKS\n //\n case 'h1':\n if (!spansOnly) {\n txt = showdown.subParser('makeMarkdown.header')(node, globals, 1) + '\\n\\n';\n }\n break;\n case 'h2':\n if (!spansOnly) {\n txt = showdown.subParser('makeMarkdown.header')(node, globals, 2) + '\\n\\n';\n }\n break;\n case 'h3':\n if (!spansOnly) {\n txt = showdown.subParser('makeMarkdown.header')(node, globals, 3) + '\\n\\n';\n }\n break;\n case 'h4':\n if (!spansOnly) {\n txt = showdown.subParser('makeMarkdown.header')(node, globals, 4) + '\\n\\n';\n }\n break;\n case 'h5':\n if (!spansOnly) {\n txt = showdown.subParser('makeMarkdown.header')(node, globals, 5) + '\\n\\n';\n }\n break;\n case 'h6':\n if (!spansOnly) {\n txt = showdown.subParser('makeMarkdown.header')(node, globals, 6) + '\\n\\n';\n }\n break;\n\n case 'p':\n if (!spansOnly) {\n txt = showdown.subParser('makeMarkdown.paragraph')(node, globals) + '\\n\\n';\n }\n break;\n\n case 'blockquote':\n if (!spansOnly) {\n txt = showdown.subParser('makeMarkdown.blockquote')(node, globals) + '\\n\\n';\n }\n break;\n\n case 'hr':\n if (!spansOnly) {\n txt = showdown.subParser('makeMarkdown.hr')(node, globals) + '\\n\\n';\n }\n break;\n\n case 'ol':\n if (!spansOnly) {\n txt = showdown.subParser('makeMarkdown.list')(node, globals, 'ol') + '\\n\\n';\n }\n break;\n\n case 'ul':\n if (!spansOnly) {\n txt = showdown.subParser('makeMarkdown.list')(node, globals, 'ul') + '\\n\\n';\n }\n break;\n\n case 'precode':\n if (!spansOnly) {\n txt = showdown.subParser('makeMarkdown.codeBlock')(node, globals) + '\\n\\n';\n }\n break;\n\n case 'pre':\n if (!spansOnly) {\n txt = showdown.subParser('makeMarkdown.pre')(node, globals) + '\\n\\n';\n }\n break;\n\n case 'table':\n if (!spansOnly) {\n txt = showdown.subParser('makeMarkdown.table')(node, globals) + '\\n\\n';\n }\n break;\n\n //\n // SPANS\n //\n case 'code':\n txt = showdown.subParser('makeMarkdown.codeSpan')(node, globals);\n break;\n\n case 'em':\n case 'i':\n txt = showdown.subParser('makeMarkdown.emphasis')(node, globals);\n break;\n\n case 'strong':\n case 'b':\n txt = showdown.subParser('makeMarkdown.strong')(node, globals);\n break;\n\n case 'del':\n txt = showdown.subParser('makeMarkdown.strikethrough')(node, globals);\n break;\n\n case 'a':\n txt = showdown.subParser('makeMarkdown.links')(node, globals);\n break;\n\n case 'img':\n txt = showdown.subParser('makeMarkdown.image')(node, globals);\n break;\n\n default:\n txt = node.outerHTML + '\\n\\n';\n }\n\n // common normalization\n // TODO eventually\n\n return txt;\n });\n\n showdown.subParser('makeMarkdown.paragraph', function (node, globals) {\n 'use strict';\n\n var txt = '';\n if (node.hasChildNodes()) {\n var children = node.childNodes,\n childrenLength = children.length;\n for (var i = 0; i < childrenLength; ++i) {\n txt += showdown.subParser('makeMarkdown.node')(children[i], globals);\n }\n }\n\n // some text normalization\n txt = txt.trim();\n\n return txt;\n });\n\n showdown.subParser('makeMarkdown.pre', function (node, globals) {\n 'use strict';\n\n var num = node.getAttribute('prenum');\n return '' + globals.preList[num] + '
';\n });\n\n showdown.subParser('makeMarkdown.strikethrough', function (node, globals) {\n 'use strict';\n\n var txt = '';\n if (node.hasChildNodes()) {\n txt += '~~';\n var children = node.childNodes,\n childrenLength = children.length;\n for (var i = 0; i < childrenLength; ++i) {\n txt += showdown.subParser('makeMarkdown.node')(children[i], globals);\n }\n txt += '~~';\n }\n return txt;\n });\n\n showdown.subParser('makeMarkdown.strong', function (node, globals) {\n 'use strict';\n\n var txt = '';\n if (node.hasChildNodes()) {\n txt += '**';\n var children = node.childNodes,\n childrenLength = children.length;\n for (var i = 0; i < childrenLength; ++i) {\n txt += showdown.subParser('makeMarkdown.node')(children[i], globals);\n }\n txt += '**';\n }\n return txt;\n });\n\n showdown.subParser('makeMarkdown.table', function (node, globals) {\n 'use strict';\n\n var txt = '',\n tableArray = [[], []],\n headings = node.querySelectorAll('thead>tr>th'),\n rows = node.querySelectorAll('tbody>tr'),\n i,\n ii;\n for (i = 0; i < headings.length; ++i) {\n var headContent = showdown.subParser('makeMarkdown.tableCell')(headings[i], globals),\n allign = '---';\n\n if (headings[i].hasAttribute('style')) {\n var style = headings[i].getAttribute('style').toLowerCase().replace(/\\s/g, '');\n switch (style) {\n case 'text-align:left;':\n allign = ':---';\n break;\n case 'text-align:right;':\n allign = '---:';\n break;\n case 'text-align:center;':\n allign = ':---:';\n break;\n }\n }\n tableArray[0][i] = headContent.trim();\n tableArray[1][i] = allign;\n }\n\n for (i = 0; i < rows.length; ++i) {\n var r = tableArray.push([]) - 1,\n cols = rows[i].getElementsByTagName('td');\n\n for (ii = 0; ii < headings.length; ++ii) {\n var cellContent = ' ';\n if (typeof cols[ii] !== 'undefined') {\n cellContent = showdown.subParser('makeMarkdown.tableCell')(cols[ii], globals);\n }\n tableArray[r].push(cellContent);\n }\n }\n\n var cellSpacesCount = 3;\n for (i = 0; i < tableArray.length; ++i) {\n for (ii = 0; ii < tableArray[i].length; ++ii) {\n var strLen = tableArray[i][ii].length;\n if (strLen > cellSpacesCount) {\n cellSpacesCount = strLen;\n }\n }\n }\n\n for (i = 0; i < tableArray.length; ++i) {\n for (ii = 0; ii < tableArray[i].length; ++ii) {\n if (i === 1) {\n if (tableArray[i][ii].slice(-1) === ':') {\n tableArray[i][ii] = showdown.helper.padEnd(tableArray[i][ii].slice(-1), cellSpacesCount - 1, '-') + ':';\n } else {\n tableArray[i][ii] = showdown.helper.padEnd(tableArray[i][ii], cellSpacesCount, '-');\n }\n } else {\n tableArray[i][ii] = showdown.helper.padEnd(tableArray[i][ii], cellSpacesCount);\n }\n }\n txt += '| ' + tableArray[i].join(' | ') + ' |\\n';\n }\n\n return txt.trim();\n });\n\n showdown.subParser('makeMarkdown.tableCell', function (node, globals) {\n 'use strict';\n\n var txt = '';\n if (!node.hasChildNodes()) {\n return '';\n }\n var children = node.childNodes,\n childrenLength = children.length;\n\n for (var i = 0; i < childrenLength; ++i) {\n txt += showdown.subParser('makeMarkdown.node')(children[i], globals, true);\n }\n return txt.trim();\n });\n\n showdown.subParser('makeMarkdown.txt', function (node) {\n 'use strict';\n\n var txt = node.nodeValue;\n\n // multiple spaces are collapsed\n txt = txt.replace(/ +/g, ' ');\n\n // replace the custom ¨NBSP; with a space\n txt = txt.replace(/¨NBSP;/g, ' ');\n\n // \", <, > and & should replace escaped html entities\n txt = showdown.helper.unescapeHTMLEntities(txt);\n\n // escape markdown magic characters\n // emphasis, strong and strikethrough - can appear everywhere\n // we also escape pipe (|) because of tables\n // and escape ` because of code blocks and spans\n txt = txt.replace(/([*_~|`])/g, '\\\\$1');\n\n // escape > because of blockquotes\n txt = txt.replace(/^(\\s*)>/g, '\\\\$1>');\n\n // hash character, only troublesome at the beginning of a line because of headers\n txt = txt.replace(/^#/gm, '\\\\#');\n\n // horizontal rules\n txt = txt.replace(/^(\\s*)([-=]{3,})(\\s*)$/, '$1\\\\$2$3');\n\n // dot, because of ordered lists, only troublesome at the beginning of a line when preceded by an integer\n txt = txt.replace(/^( {0,3}\\d+)\\./gm, '$1\\\\.');\n\n // +, * and -, at the beginning of a line becomes a list, so we need to escape them also (asterisk was already escaped)\n txt = txt.replace(/^( {0,3})([+-])/gm, '$1\\\\$2');\n\n // images and links, ] followed by ( is problematic, so we escape it\n txt = txt.replace(/]([\\s]*)\\(/g, '\\\\]$1\\\\(');\n\n // reference URIs must also be escaped\n txt = txt.replace(/^ {0,3}\\[([\\S \\t]*?)]:/gm, '\\\\[$1]:');\n\n return txt;\n });\n\n var root = this;\n\n // AMD Loader\n if (true) {\n !(__WEBPACK_AMD_DEFINE_RESULT__ = (function () {\n 'use strict';\n\n return showdown;\n }).call(exports, __webpack_require__, exports, module),\n\t\t\t\t__WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));\n\n // CommonJS/nodeJS Loader\n } else if (typeof module !== 'undefined' && module.exports) {\n module.exports = showdown;\n\n // Regular Browser loader\n } else {\n root.showdown = showdown;\n }\n}).call(this);\n\n//# sourceMappingURL=showdown.js.map\n\n/***/ }),\n\n/***/ \"J9SO\":\n/***/ (function(module, exports) {\n\n// removed by extract-text-webpack-plugin\nmodule.exports = {\"thesis\":\"thesis__3uAQ4\"};\n\n/***/ }),\n\n/***/ \"JkW7\":\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\nObject.defineProperty(__webpack_exports__, \"__esModule\", { value: true });\n\n// EXTERNAL MODULE: ../node_modules/preact/dist/preact.min.js\nvar preact_min = __webpack_require__(\"KM04\");\nvar preact_min_default = /*#__PURE__*/__webpack_require__.n(preact_min);\n\n// EXTERNAL MODULE: ./index.css\nvar index = __webpack_require__(\"xHuH\");\nvar index_default = /*#__PURE__*/__webpack_require__.n(index);\n\n// EXTERNAL MODULE: ./manifest.json\nvar manifest = __webpack_require__(\"ZcXo\");\nvar manifest_default = /*#__PURE__*/__webpack_require__.n(manifest);\n\n// CONCATENATED MODULE: ../node_modules/preact-router/dist/preact-router.es.js\n\n\nvar EMPTY$1 = {};\n\nfunction preact_router_es_assign(obj, props) {\n\t// eslint-disable-next-line guard-for-in\n\tfor (var i in props) {\n\t\tobj[i] = props[i];\n\t}\n\treturn obj;\n}\n\nfunction exec(url, route, opts) {\n\tvar reg = /(?:\\?([^#]*))?(#.*)?$/,\n\t c = url.match(reg),\n\t matches = {},\n\t ret;\n\tif (c && c[1]) {\n\t\tvar p = c[1].split('&');\n\t\tfor (var i = 0; i < p.length; i++) {\n\t\t\tvar r = p[i].split('=');\n\t\t\tmatches[decodeURIComponent(r[0])] = decodeURIComponent(r.slice(1).join('='));\n\t\t}\n\t}\n\turl = segmentize(url.replace(reg, ''));\n\troute = segmentize(route || '');\n\tvar max = Math.max(url.length, route.length);\n\tfor (var i$1 = 0; i$1 < max; i$1++) {\n\t\tif (route[i$1] && route[i$1].charAt(0) === ':') {\n\t\t\tvar param = route[i$1].replace(/(^\\:|[+*?]+$)/g, ''),\n\t\t\t flags = (route[i$1].match(/[+*?]+$/) || EMPTY$1)[0] || '',\n\t\t\t plus = ~flags.indexOf('+'),\n\t\t\t star = ~flags.indexOf('*'),\n\t\t\t val = url[i$1] || '';\n\t\t\tif (!val && !star && (flags.indexOf('?') < 0 || plus)) {\n\t\t\t\tret = false;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tmatches[param] = decodeURIComponent(val);\n\t\t\tif (plus || star) {\n\t\t\t\tmatches[param] = url.slice(i$1).map(decodeURIComponent).join('/');\n\t\t\t\tbreak;\n\t\t\t}\n\t\t} else if (route[i$1] !== url[i$1]) {\n\t\t\tret = false;\n\t\t\tbreak;\n\t\t}\n\t}\n\tif (opts.default !== true && ret === false) {\n\t\treturn false;\n\t}\n\treturn matches;\n}\n\nfunction pathRankSort(a, b) {\n\treturn a.rank < b.rank ? 1 : a.rank > b.rank ? -1 : a.index - b.index;\n}\n\n// filter out VNodes without attributes (which are unrankeable), and add `index`/`rank` properties to be used in sorting.\nfunction prepareVNodeForRanking(vnode, index) {\n\tvnode.index = index;\n\tvnode.rank = rankChild(vnode);\n\treturn vnode.attributes;\n}\n\nfunction segmentize(url) {\n\treturn url.replace(/(^\\/+|\\/+$)/g, '').split('/');\n}\n\nfunction rankSegment(segment) {\n\treturn segment.charAt(0) == ':' ? 1 + '*+?'.indexOf(segment.charAt(segment.length - 1)) || 4 : 5;\n}\n\nfunction rank(path) {\n\treturn segmentize(path).map(rankSegment).join('');\n}\n\nfunction rankChild(vnode) {\n\treturn vnode.attributes.default ? 0 : rank(vnode.attributes.path);\n}\n\nvar customHistory = null;\n\nvar ROUTERS = [];\n\nvar subscribers = [];\n\nvar EMPTY = {};\n\nfunction isPreactElement(node) {\n\treturn node.__preactattr_ != null || typeof Symbol !== 'undefined' && node[Symbol.for('preactattr')] != null;\n}\n\nfunction setUrl(url, type) {\n\tif (type === void 0) type = 'push';\n\n\tif (customHistory && customHistory[type]) {\n\t\tcustomHistory[type](url);\n\t} else if (typeof history !== 'undefined' && history[type + 'State']) {\n\t\thistory[type + 'State'](null, null, url);\n\t}\n}\n\nfunction getCurrentUrl() {\n\tvar url;\n\tif (customHistory && customHistory.location) {\n\t\turl = customHistory.location;\n\t} else if (customHistory && customHistory.getCurrentLocation) {\n\t\turl = customHistory.getCurrentLocation();\n\t} else {\n\t\turl = typeof location !== 'undefined' ? location : EMPTY;\n\t}\n\treturn \"\" + (url.pathname || '') + (url.search || '');\n}\n\nfunction route(url, replace) {\n\tif (replace === void 0) replace = false;\n\n\tif (typeof url !== 'string' && url.url) {\n\t\treplace = url.replace;\n\t\turl = url.url;\n\t}\n\n\t// only push URL into history if we can handle it\n\tif (canRoute(url)) {\n\t\tsetUrl(url, replace ? 'replace' : 'push');\n\t}\n\n\treturn routeTo(url);\n}\n\n/** Check if the given URL can be handled by any router instances. */\nfunction canRoute(url) {\n\tfor (var i = ROUTERS.length; i--;) {\n\t\tif (ROUTERS[i].canRoute(url)) {\n\t\t\treturn true;\n\t\t}\n\t}\n\treturn false;\n}\n\n/** Tell all router instances to handle the given URL. */\nfunction routeTo(url) {\n\tvar didRoute = false;\n\tfor (var i = 0; i < ROUTERS.length; i++) {\n\t\tif (ROUTERS[i].routeTo(url) === true) {\n\t\t\tdidRoute = true;\n\t\t}\n\t}\n\tfor (var i$1 = subscribers.length; i$1--;) {\n\t\tsubscribers[i$1](url);\n\t}\n\treturn didRoute;\n}\n\nfunction routeFromLink(node) {\n\t// only valid elements\n\tif (!node || !node.getAttribute) {\n\t\treturn;\n\t}\n\n\tvar href = node.getAttribute('href'),\n\t target = node.getAttribute('target');\n\n\t// ignore links with targets and non-path URLs\n\tif (!href || !href.match(/^\\//g) || target && !target.match(/^_?self$/i)) {\n\t\treturn;\n\t}\n\n\t// attempt to route, if no match simply cede control to browser\n\treturn route(href);\n}\n\nfunction handleLinkClick(e) {\n\tif (e.button == 0) {\n\t\trouteFromLink(e.currentTarget || e.target || this);\n\t\treturn prevent(e);\n\t}\n}\n\nfunction prevent(e) {\n\tif (e) {\n\t\tif (e.stopImmediatePropagation) {\n\t\t\te.stopImmediatePropagation();\n\t\t}\n\t\tif (e.stopPropagation) {\n\t\t\te.stopPropagation();\n\t\t}\n\t\te.preventDefault();\n\t}\n\treturn false;\n}\n\nfunction delegateLinkHandler(e) {\n\t// ignore events the browser takes care of already:\n\tif (e.ctrlKey || e.metaKey || e.altKey || e.shiftKey || e.button !== 0) {\n\t\treturn;\n\t}\n\n\tvar t = e.target;\n\tdo {\n\t\tif (String(t.nodeName).toUpperCase() === 'A' && t.getAttribute('href') && isPreactElement(t)) {\n\t\t\tif (t.hasAttribute('native')) {\n\t\t\t\treturn;\n\t\t\t}\n\t\t\t// if link is handled by the router, prevent browser defaults\n\t\t\tif (routeFromLink(t)) {\n\t\t\t\treturn prevent(e);\n\t\t\t}\n\t\t}\n\t} while (t = t.parentNode);\n}\n\nvar eventListenersInitialized = false;\n\nfunction initEventListeners() {\n\tif (eventListenersInitialized) {\n\t\treturn;\n\t}\n\n\tif (typeof addEventListener === 'function') {\n\t\tif (!customHistory) {\n\t\t\taddEventListener('popstate', function () {\n\t\t\t\trouteTo(getCurrentUrl());\n\t\t\t});\n\t\t}\n\t\taddEventListener('click', delegateLinkHandler);\n\t}\n\teventListenersInitialized = true;\n}\n\nvar preact_router_es_Router = function (Component$$1) {\n\tfunction Router(props) {\n\t\tComponent$$1.call(this, props);\n\t\tif (props.history) {\n\t\t\tcustomHistory = props.history;\n\t\t}\n\n\t\tthis.state = {\n\t\t\turl: props.url || getCurrentUrl()\n\t\t};\n\n\t\tinitEventListeners();\n\t}\n\n\tif (Component$$1) Router.__proto__ = Component$$1;\n\tRouter.prototype = Object.create(Component$$1 && Component$$1.prototype);\n\tRouter.prototype.constructor = Router;\n\n\tRouter.prototype.shouldComponentUpdate = function shouldComponentUpdate(props) {\n\t\tif (props.static !== true) {\n\t\t\treturn true;\n\t\t}\n\t\treturn props.url !== this.props.url || props.onChange !== this.props.onChange;\n\t};\n\n\t/** Check if the given URL can be matched against any children */\n\tRouter.prototype.canRoute = function canRoute(url) {\n\t\treturn this.getMatchingChildren(this.props.children, url, false).length > 0;\n\t};\n\n\t/** Re-render children with a new URL to match against. */\n\tRouter.prototype.routeTo = function routeTo(url) {\n\t\tthis._didRoute = false;\n\t\tthis.setState({ url: url });\n\n\t\t// if we're in the middle of an update, don't synchronously re-route.\n\t\tif (this.updating) {\n\t\t\treturn this.canRoute(url);\n\t\t}\n\n\t\tthis.forceUpdate();\n\t\treturn this._didRoute;\n\t};\n\n\tRouter.prototype.componentWillMount = function componentWillMount() {\n\t\tROUTERS.push(this);\n\t\tthis.updating = true;\n\t};\n\n\tRouter.prototype.componentDidMount = function componentDidMount() {\n\t\tvar this$1 = this;\n\n\t\tif (customHistory) {\n\t\t\tthis.unlisten = customHistory.listen(function (location) {\n\t\t\t\tthis$1.routeTo(\"\" + (location.pathname || '') + (location.search || ''));\n\t\t\t});\n\t\t}\n\t\tthis.updating = false;\n\t};\n\n\tRouter.prototype.componentWillUnmount = function componentWillUnmount() {\n\t\tif (typeof this.unlisten === 'function') {\n\t\t\tthis.unlisten();\n\t\t}\n\t\tROUTERS.splice(ROUTERS.indexOf(this), 1);\n\t};\n\n\tRouter.prototype.componentWillUpdate = function componentWillUpdate() {\n\t\tthis.updating = true;\n\t};\n\n\tRouter.prototype.componentDidUpdate = function componentDidUpdate() {\n\t\tthis.updating = false;\n\t};\n\n\tRouter.prototype.getMatchingChildren = function getMatchingChildren(children, url, invoke) {\n\t\treturn children.filter(prepareVNodeForRanking).sort(pathRankSort).map(function (vnode) {\n\t\t\tvar matches = exec(url, vnode.attributes.path, vnode.attributes);\n\t\t\tif (matches) {\n\t\t\t\tif (invoke !== false) {\n\t\t\t\t\tvar newProps = { url: url, matches: matches };\n\t\t\t\t\tpreact_router_es_assign(newProps, matches);\n\t\t\t\t\tdelete newProps.ref;\n\t\t\t\t\tdelete newProps.key;\n\t\t\t\t\treturn Object(preact_min[\"cloneElement\"])(vnode, newProps);\n\t\t\t\t}\n\t\t\t\treturn vnode;\n\t\t\t}\n\t\t}).filter(Boolean);\n\t};\n\n\tRouter.prototype.render = function render(ref, ref$1) {\n\t\tvar children = ref.children;\n\t\tvar onChange = ref.onChange;\n\t\tvar url = ref$1.url;\n\n\t\tvar active = this.getMatchingChildren(children, url, true);\n\n\t\tvar current = active[0] || null;\n\t\tthis._didRoute = !!current;\n\n\t\tvar previous = this.previousUrl;\n\t\tif (url !== previous) {\n\t\t\tthis.previousUrl = url;\n\t\t\tif (typeof onChange === 'function') {\n\t\t\t\tonChange({\n\t\t\t\t\trouter: this,\n\t\t\t\t\turl: url,\n\t\t\t\t\tprevious: previous,\n\t\t\t\t\tactive: active,\n\t\t\t\t\tcurrent: current\n\t\t\t\t});\n\t\t\t}\n\t\t}\n\n\t\treturn current;\n\t};\n\n\treturn Router;\n}(preact_min[\"Component\"]);\n\nvar preact_router_es_Link = function Link(props) {\n\treturn Object(preact_min[\"h\"])('a', preact_router_es_assign({ onClick: handleLinkClick }, props));\n};\n\nvar preact_router_es_Route = function Route(props) {\n\treturn Object(preact_min[\"h\"])(props.component, props);\n};\n\npreact_router_es_Router.subscribers = subscribers;\npreact_router_es_Router.getCurrentUrl = getCurrentUrl;\npreact_router_es_Router.route = route;\npreact_router_es_Router.Router = preact_router_es_Router;\npreact_router_es_Router.Route = preact_router_es_Route;\npreact_router_es_Router.Link = preact_router_es_Link;\n\n/* harmony default export */ var preact_router_es = (preact_router_es_Router);\n//# sourceMappingURL=preact-router.es.js.map\n// EXTERNAL MODULE: ./pages/home.css\nvar home = __webpack_require__(\"36Ou\");\nvar home_default = /*#__PURE__*/__webpack_require__.n(home);\n\n// EXTERNAL MODULE: ./components/panel.css\nvar panel = __webpack_require__(\"P9k+\");\nvar panel_default = /*#__PURE__*/__webpack_require__.n(panel);\n\n// CONCATENATED MODULE: ./components/panel.js\n\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\n\n\n\nvar panel_Panel = function (_Component) {\n\t_inherits(Panel, _Component);\n\n\tfunction Panel() {\n\t\t_classCallCheck(this, Panel);\n\n\t\treturn _possibleConstructorReturn(this, _Component.apply(this, arguments));\n\t}\n\n\tPanel.prototype.getStyle = function getStyle() {\n\t\treturn panel_default.a.panel;\n\t};\n\n\tPanel.prototype.render = function render() {\n\t\tvar title = null;\n\t\tif (this.props.title !== undefined) {\n\t\t\ttitle = Object(preact_min[\"h\"])(\n\t\t\t\t\"h3\",\n\t\t\t\tnull,\n\t\t\t\tthis.props.title\n\t\t\t);\n\t\t}\n\n\t\treturn Object(preact_min[\"h\"])(\n\t\t\t\"div\",\n\t\t\t{ \"class\": this.getStyle(), id: this.props.id },\n\t\t\ttitle,\n\t\t\tthis.props.children\n\t\t);\n\t};\n\n\treturn Panel;\n}(preact_min[\"Component\"]);\n\n\n// EXTERNAL MODULE: ./components/split.css\nvar split = __webpack_require__(\"1EpE\");\nvar split_default = /*#__PURE__*/__webpack_require__.n(split);\n\n// CONCATENATED MODULE: ./components/split.js\n\n\nfunction split__classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction split__possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction split__inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\n\n\n\nvar split_Split = function (_Component) {\n split__inherits(Split, _Component);\n\n function Split() {\n split__classCallCheck(this, Split);\n\n return split__possibleConstructorReturn(this, _Component.apply(this, arguments));\n }\n\n Split.prototype.render = function render() {\n var title = null;\n if (this.props.title !== undefined) {\n title = Object(preact_min[\"h\"])(\n \"h2\",\n null,\n this.props.title\n );\n }\n\n var children = void 0;\n if (Array.isArray(this.props.children)) {\n children = this.props.children.map(function (element) {\n return Object(preact_min[\"h\"])(\n \"div\",\n { \"class\": split_default.a.splitchild },\n element\n );\n });\n } else {\n children = Object(preact_min[\"h\"])(\n \"div\",\n { \"class\": split_default.a.splitchild },\n this.props.children\n );\n }\n return Object(preact_min[\"h\"])(\n \"div\",\n { \"class\": split_default.a.split },\n title,\n Object(preact_min[\"h\"])(\n \"div\",\n { \"class\": split_default.a.splitparent },\n children\n )\n );\n };\n\n return Split;\n}(preact_min[\"Component\"]);\n\n\n// EXTERNAL MODULE: ./components/todo.css\nvar todo = __webpack_require__(\"tO1d\");\nvar todo_default = /*#__PURE__*/__webpack_require__.n(todo);\n\n// CONCATENATED MODULE: ./components/todo.js\n\n\nfunction todo__classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction todo__possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction todo__inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\n\n\n\nvar todo_Todo = function (_Component) {\n\ttodo__inherits(Todo, _Component);\n\n\tfunction Todo() {\n\t\ttodo__classCallCheck(this, Todo);\n\n\t\treturn todo__possibleConstructorReturn(this, _Component.apply(this, arguments));\n\t}\n\n\tTodo.prototype.render = function render() {\n\t\treturn Object(preact_min[\"h\"])(\n\t\t\t\"span\",\n\t\t\t{ \"class\": todo_default.a.todo },\n\t\t\tthis.props.children\n\t\t);\n\t};\n\n\treturn Todo;\n}(preact_min[\"Component\"]);\n\n\n// CONCATENATED MODULE: ./pages/home.js\n\n\nfunction home__classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction home__possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction home__inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\n\n\n\n\n\n\nvar _ref = Object(preact_min[\"h\"])(\n 'h1',\n null,\n 'Indice'\n);\n\nvar _ref2 = Object(preact_min[\"h\"])(\n split_Split,\n { title: 'Argomenti' },\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: Object(preact_min[\"h\"])(\n 'a',\n { href: '/statistica' },\n 'Statistica ed elementi di probabilit\\xE0'\n ) },\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Appunti scritti mentre studiavo per l\\'esame di ',\n Object(preact_min[\"h\"])(\n 'a',\n { href: \"http://personale.unimore.it/rubrica/contenutiad/llarocca/2019/58028/N0/N0/9999\" },\n 'Statistica ed elementi di probabilit\\xE0'\n ),\n ' del ',\n Object(preact_min[\"h\"])(\n 'a',\n { href: 'https://www.unimore.it/didattica/mlaurea.html?ID=54' },\n 'corso triennale di Informatica'\n ),\n ' all\\'',\n Object(preact_min[\"h\"])(\n 'a',\n { href: 'https://www.unimore.it/' },\n 'Unimore'\n ),\n ' del Prof. ',\n Object(preact_min[\"h\"])(\n 'a',\n { href: \"http://personale.unimore.it/rubrica/dettaglio/llarocca\" },\n 'Luca La Rocca'\n ),\n '.'\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n todo_Todo,\n null,\n 'TODO: \\xE8 ancora incompleto!'\n )\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: Object(preact_min[\"h\"])(\n 'a',\n { href: 'https://github.com/Steffo99/cleaver' },\n 'Cleaver'\n ) },\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Progetto in Java sviluppato per l\\'esame di ',\n Object(preact_min[\"h\"])(\n 'a',\n { href: 'http://personale.unimore.it/rubrica/contenutiad/gcabri/2019/58026/N0/N0/9999' },\n 'Programmazione ad Oggetti'\n ),\n ' del ',\n Object(preact_min[\"h\"])(\n 'a',\n { href: 'https://www.unimore.it/didattica/mlaurea.html?ID=54' },\n 'corso triennale di Informatica'\n ),\n ' all\\'',\n Object(preact_min[\"h\"])(\n 'a',\n { href: 'https://www.unimore.it/' },\n 'Unimore'\n ),\n ', tenuto dai Prof. ',\n Object(preact_min[\"h\"])(\n 'a',\n { href: 'http://personale.unimore.it/rubrica/dettaglio/gcabri' },\n 'Giacomo Cabri'\n ),\n ' e ',\n Object(preact_min[\"h\"])(\n 'a',\n { href: 'http://personale.unimore.it/Rubrica/Dettaglio/n.capodieci' },\n 'Nicola Capodieci'\n ),\n '.'\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: Object(preact_min[\"h\"])(\n 'a',\n { href: '/fisica' },\n 'Fisica'\n ) },\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Appunti delle ',\n Object(preact_min[\"h\"])(\n 'a',\n { href: 'http://personale.unimore.it/rubrica/contenutiad/brunetti/2019/58025/N0/N0/9999' },\n 'lezioni di Fisica'\n ),\n ' del ',\n Object(preact_min[\"h\"])(\n 'a',\n { href: 'https://www.unimore.it/didattica/mlaurea.html?ID=54' },\n 'corso triennale di Informatica'\n ),\n ' all\\'',\n Object(preact_min[\"h\"])(\n 'a',\n { href: 'https://www.unimore.it/' },\n 'Unimore'\n ),\n ', tenute dalla ',\n Object(preact_min[\"h\"])(\n 'a',\n { href: 'https://personale.unimore.it/rubrica/dettaglio/brunetti' },\n 'Prof.ssa Rossella Brunetti'\n ),\n ' nel primo semestre dell\\'Anno Accademico 2019/2020.'\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: Object(preact_min[\"h\"])(\n 'a',\n { href: 'https://github.com/Steffo99/appunti-universitari/tree/master/2019_SistemiOperativi/Arzigogoli' },\n 'Sistemi Operativi'\n ) },\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Soluzioni agli ',\n Object(preact_min[\"h\"])(\n 'a',\n { href: 'https://weblab.ing.unimore.it/people/andreolini/didattica/sistemi-operativi/index.html#arzigogoli' },\n 'Arzigogoli'\n ),\n ' proposti dal ',\n Object(preact_min[\"h\"])(\n 'a',\n { href: 'https://personale.unimore.it/rubrica/dettaglio/andreolini' },\n 'Prof. Mauro Andreolini'\n ),\n ' durante le ',\n Object(preact_min[\"h\"])(\n 'a',\n { href: 'https://personale.unimore.it/rubrica/contenutiad/andreolini/2019/58027/N0/N0/9999' },\n 'lezioni di Sistemi Operativi'\n ),\n ' del ',\n Object(preact_min[\"h\"])(\n 'a',\n { href: 'https://www.unimore.it/didattica/mlaurea.html?ID=54' },\n 'corso triennale di Informatica'\n ),\n ' all\\'',\n Object(preact_min[\"h\"])(\n 'a',\n { href: 'https://www.unimore.it/' },\n 'Unimore'\n ),\n ' tenutesi nel primo semestre dell\\'Anno Accademico 2019/2020.'\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: Object(preact_min[\"h\"])(\n 'a',\n { href: 'https://github.com/Steffo99/appunti-universitari/tree/master/2018_AlgoritmiEStruttureDati' },\n 'Algoritmi e Strutture Dati'\n ) },\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Appunti delle ',\n Object(preact_min[\"h\"])(\n 'a',\n { href: 'https://personale.unimore.it/rubrica/contenutiad/mmontangero/2018/58133/N0/N0/9999' },\n 'lezioni di Algoritmi e Strutture Dati'\n ),\n ' del ',\n Object(preact_min[\"h\"])(\n 'a',\n { href: 'https://www.unimore.it/didattica/mlaurea.html?ID=54' },\n 'corso triennale di Informatica'\n ),\n ' all\\'',\n Object(preact_min[\"h\"])(\n 'a',\n { href: 'https://www.unimore.it/' },\n 'Unimore'\n ),\n ', tenute dalla ',\n Object(preact_min[\"h\"])(\n 'a',\n { href: 'https://personale.unimore.it/rubrica/dettaglio/mmontangero' },\n 'Prof.ssa Manuela Montangero'\n ),\n ' nel secondo semestre dell\\'Anno Accademico 2018/2019.'\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: Object(preact_min[\"h\"])(\n 'a',\n { href: '/vldigeometria' },\n 'Videolezioni di Geometria'\n ) },\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Ottime videolezioni di Geometria con licenza ',\n Object(preact_min[\"h\"])(\n 'a',\n { href: 'https://creativecommons.org/licenses/by-nc-sa/4.0/' },\n 'CC BY-NC-SA 4.0'\n ),\n ' che ho trovato sul ',\n Object(preact_min[\"h\"])(\n 'a',\n { href: 'https://dolly.fim.unimore.it/2018/course/view.php?id=14#section-0' },\n 'portale Dolly 2018'\n ),\n ' dell\\'',\n Object(preact_min[\"h\"])(\n 'a',\n { href: 'https://www.unimore.it/' },\n 'Unimore'\n ),\n '.'\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: Object(preact_min[\"h\"])(\n 'a',\n { href: '/mingwinstall' },\n 'Come installare MinGW'\n ) },\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Un breve tutorial con immagini su come installare e configurare ',\n Object(preact_min[\"h\"])(\n 'a',\n { href: 'https://it.wikipedia.org/wiki/MinGW' },\n 'MinGW'\n ),\n ' per compilare programmi C e C++ su Windows.'\n )\n )\n);\n\nvar _ref3 = Object(preact_min[\"h\"])(\n split_Split,\n { title: 'Altri collegamenti utili' },\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: Object(preact_min[\"h\"])(\n 'a',\n { href: 'https://t.me/unimoreinfo' },\n '@unimoreinfo'\n ) },\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Il gruppo ',\n Object(preact_min[\"h\"])(\n 'a',\n { href: 'https://telegram.org/' },\n 'Telegram'\n ),\n ' del corso di Informatica dell\\'Unimore!'\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: Object(preact_min[\"h\"])(\n 'a',\n { href: 'https://calendar.google.com/calendar?cid=MmYza2o2M3VuZWQ1cmZqaGpmOGY0MWFrNmdAZ3JvdXAuY2FsZW5kYXIuZ29vZ2xlLmNvbQ' },\n 'Calendario Lezioni'\n ) },\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Calendario Google ',\n Object(preact_min[\"h\"])(\n 'small',\n null,\n 'quasi'\n ),\n ' sempre aggiornato delle lezioni e degli esami del secondo anno dell\\'',\n Object(preact_min[\"h\"])(\n 'a',\n { href: 'https://www.unimore.it/' },\n 'Unimore'\n ),\n ' durante l\\'Anno Accademico 2019/2020.'\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: Object(preact_min[\"h\"])(\n 'a',\n { href: 'http://erre2.fermitech.info/dashboard' },\n 'Erre2'\n ) },\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Portale contenente appunti e riassunti mantenuto da ',\n Object(preact_min[\"h\"])(\n 'a',\n { href: 'https://github.com/LBindustries' },\n 'Lorenzo Balugani'\n ),\n '.'\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: Object(preact_min[\"h\"])(\n 'a',\n { href: 'https://github.com/vezzalinistefano/Appunti-Algoritmi' },\n 'vezzalinistefano/Appunti-Algoritmi'\n ) },\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Appunti di Algoritmi e Strutture Dati mantenuti da ',\n Object(preact_min[\"h\"])(\n 'a',\n { href: 'https://github.com/vezzalinistefano/' },\n 'Vezzalini Stefano'\n ),\n '.'\n )\n )\n);\n\nvar home_Home = function (_Component) {\n home__inherits(Home, _Component);\n\n function Home() {\n home__classCallCheck(this, Home);\n\n return home__possibleConstructorReturn(this, _Component.apply(this, arguments));\n }\n\n Home.prototype.render = function render() {\n return Object(preact_min[\"h\"])(\n 'div',\n { style: home_default.a.home },\n _ref,\n _ref2,\n _ref3\n );\n };\n\n return Home;\n}(preact_min[\"Component\"]);\n\n\n// EXTERNAL MODULE: ./pages/fisica.css\nvar fisica = __webpack_require__(\"0lnO\");\nvar fisica_default = /*#__PURE__*/__webpack_require__.n(fisica);\n\n// EXTERNAL MODULE: ./components/latex.css\nvar latex = __webpack_require__(\"+uq9\");\nvar latex_default = /*#__PURE__*/__webpack_require__.n(latex);\n\n// CONCATENATED MODULE: ./components/latex.js\n\n\nfunction latex__classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction latex__possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction latex__inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\n\n\n\nvar latex_Latex = function (_Component) {\n\tlatex__inherits(Latex, _Component);\n\n\tfunction Latex() {\n\t\tlatex__classCallCheck(this, Latex);\n\n\t\treturn latex__possibleConstructorReturn(this, _Component.apply(this, arguments));\n\t}\n\n\tLatex.prototype.render = function render() {\n\t\tvar equation = '{\\\\color{White} ' + this.props.children + ' }';\n\t\treturn Object(preact_min[\"h\"])('img', { src: 'https://latex.codecogs.com/png.latex?' + equation,\n\t\t\talt: this.props.children,\n\t\t\ttitle: this.props.children,\n\t\t\t'class': latex_default.a.latex\n\t\t});\n\t};\n\n\treturn Latex;\n}(preact_min[\"Component\"]);\n\n\n// EXTERNAL MODULE: ./components/plus.css\nvar plus = __webpack_require__(\"ddTt\");\nvar plus_default = /*#__PURE__*/__webpack_require__.n(plus);\n\n// CONCATENATED MODULE: ./components/plus.js\n\n\nfunction plus__classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction plus__possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction plus__inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\n\n\n\nvar plus_Plus = function (_Component) {\n\tplus__inherits(Plus, _Component);\n\n\tfunction Plus() {\n\t\tplus__classCallCheck(this, Plus);\n\n\t\treturn plus__possibleConstructorReturn(this, _Component.apply(this, arguments));\n\t}\n\n\tPlus.prototype.render = function render() {\n\t\treturn Object(preact_min[\"h\"])(\n\t\t\t\"span\",\n\t\t\t{ \"class\": plus_default.a.plus },\n\t\t\tthis.props.children\n\t\t);\n\t};\n\n\treturn Plus;\n}(preact_min[\"Component\"]);\n\n\n// EXTERNAL MODULE: ./components/minus.css\nvar minus = __webpack_require__(\"MeW5\");\nvar minus_default = /*#__PURE__*/__webpack_require__.n(minus);\n\n// CONCATENATED MODULE: ./components/minus.js\n\n\nfunction minus__classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction minus__possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction minus__inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\n\n\n\nvar minus_Minus = function (_Component) {\n\tminus__inherits(Minus, _Component);\n\n\tfunction Minus() {\n\t\tminus__classCallCheck(this, Minus);\n\n\t\treturn minus__possibleConstructorReturn(this, _Component.apply(this, arguments));\n\t}\n\n\tMinus.prototype.render = function render() {\n\t\treturn Object(preact_min[\"h\"])(\n\t\t\t\"span\",\n\t\t\t{ \"class\": minus_default.a.minus },\n\t\t\tthis.props.children\n\t\t);\n\t};\n\n\treturn Minus;\n}(preact_min[\"Component\"]);\n\n\n// CONCATENATED MODULE: ./pages/fisica.js\nvar _templateObject = _taggedTemplateLiteralLoose(['\\x0Bec{v} = \\x0Bec{v}_x + \\x0Bec{v}_y'], ['\\\\vec{v} = \\\\vec{v}_x + \\\\vec{v}_y']),\n _templateObject2 = _taggedTemplateLiteralLoose(['left | \\x0Bec{v}_x \\right | = left | \\x0Bec{v} \\right | sin alpha'], ['\\\\left | \\\\vec{v}_x \\\\right | = \\\\left | \\\\vec{v} \\\\right | \\\\sin \\\\alpha']),\n _templateObject3 = _taggedTemplateLiteralLoose(['left | \\x0Bec{v}_y \\right | = left | \\x0Bec{v} \\right | cos alpha'], ['\\\\left | \\\\vec{v}_y \\\\right | = \\\\left | \\\\vec{v} \\\\right | \\\\cos \\\\alpha']),\n _templateObject4 = _taggedTemplateLiteralLoose(['\\x0Bec{v} + \\x0Bec{w} = (\\x0Bec{v}_x + \\x0Bec{w}_x) + (\\x0Bec{v}_y + \\x0Bec{w}_y)'], ['\\\\vec{v} + \\\\vec{w} = (\\\\vec{v}_x + \\\\vec{w}_x) + (\\\\vec{v}_y + \\\\vec{w}_y)']),\n _templateObject5 = _taggedTemplateLiteralLoose(['\\x0Bec{v} - \\x0Bec{w} = (\\x0Bec{v}_x - \\x0Bec{w}_x) + (\\x0Bec{v}_y - \\x0Bec{w}_y)'], ['\\\\vec{v} - \\\\vec{w} = (\\\\vec{v}_x - \\\\vec{w}_x) + (\\\\vec{v}_y - \\\\vec{w}_y)']),\n _templateObject6 = _taggedTemplateLiteralLoose(['\\x0Bec{v} cdot \\x0Bec{w} = left | \\x0Bec{v} \\right | left | \\x0Bec{w} \\right | cos alpha'], ['\\\\vec{v} \\\\cdot \\\\vec{w} = \\\\left | \\\\vec{v} \\\\right | \\\\left | \\\\vec{w} \\\\right | \\\\cos \\\\alpha']),\n _templateObject7 = _taggedTemplateLiteralLoose(['\\x0Bec{a}'], ['\\\\vec{a}']),\n _templateObject8 = _taggedTemplateLiteralLoose(['\\x0Bec{b}'], ['\\\\vec{b}']),\n _templateObject9 = _taggedTemplateLiteralLoose(['\\x0Bec{c} = \\x0Bec{a} \\times \\x0Bec{b}'], ['\\\\vec{c} = \\\\vec{a} \\\\times \\\\vec{b}']),\n _templateObject10 = _taggedTemplateLiteralLoose(['left | \\x0Bec{c} \\right | = left | \\x0Bec{a} \\right | cdot left | \\x0Bec{b} \\right | cdot sin(alpha)'], ['\\\\left | \\\\vec{c} \\\\right | = \\\\left | \\\\vec{a} \\\\right | \\\\cdot \\\\left | \\\\vec{b} \\\\right | \\\\cdot \\\\sin(\\\\alpha)']),\n _templateObject11 = _taggedTemplateLiteralLoose(['Sigma \\x0Bec{F} = 0 Longleftrightarrow Delta v = 0'], ['\\\\Sigma \\\\vec{F} = 0 \\\\Longleftrightarrow \\\\Delta v = 0']),\n _templateObject12 = _taggedTemplateLiteralLoose(['Sigma \\x0Bec{F} = m \\x0Bec{a}'], ['\\\\Sigma \\\\vec{F} = m \\\\vec{a}']),\n _templateObject13 = _taggedTemplateLiteralLoose(['\\x0Bec{F}_{21} = -\\x0Bec{F}_{12}'], ['\\\\vec{F}_{21} = -\\\\vec{F}_{12}']),\n _templateObject14 = _taggedTemplateLiteralLoose(['left | \\x0Bec{F} \\right | = G \\frac{m_1 m_2}{s^2}'], ['\\\\left | \\\\vec{F} \\\\right | = G \\\\frac{m_1 m_2}{s^2}']),\n _templateObject15 = _taggedTemplateLiteralLoose(['G = 6.67 cdot 10^{-11} \\frac{N m^2}{{kg}^2}'], ['G = 6.67 \\\\cdot 10^{-11} \\\\frac{N m^2}{{kg}^2}']),\n _templateObject16 = _taggedTemplateLiteralLoose(['left | \\x0Bec{F} \\right | = g m'], ['\\\\left | \\\\vec{F} \\\\right | = g m']),\n _templateObject17 = _taggedTemplateLiteralLoose(['g = 9.81 \\frac{m}{s^2}'], ['g = 9.81 \\\\frac{m}{s^2}']),\n _templateObject18 = _taggedTemplateLiteralLoose(['g_{luna} = 1.62 \\frac{m}{s^2}'], ['g_{luna} = 1.62 \\\\frac{m}{s^2}']),\n _templateObject19 = _taggedTemplateLiteralLoose(['g_{marte} = 3.71 \\frac{m}{s^2}'], ['g_{marte} = 3.71 \\\\frac{m}{s^2}']),\n _templateObject20 = _taggedTemplateLiteralLoose(['left | \\x0Bec{F} \\right | leq mu_{s} left | \\x0Bec{F}_{normale} \\right |'], ['\\\\left | \\\\vec{F} \\\\right | \\\\leq \\\\mu_{s} \\\\left | \\\\vec{F}_{normale} \\\\right |']),\n _templateObject21 = _taggedTemplateLiteralLoose(['left | \\x0Bec{F} \\right | leq mu_{d} left | \\x0Bec{F}_{normale} \\right |'], ['\\\\left | \\\\vec{F} \\\\right | \\\\leq \\\\mu_{d} \\\\left | \\\\vec{F}_{normale} \\\\right |']),\n _templateObject22 = _taggedTemplateLiteralLoose(['F = -k x'], ['F = -k x']),\n _templateObject23 = _taggedTemplateLiteralLoose(['Delta \\x0Bec{s} = \\x0Bec{s}(fine) - \\x0Bec{s}(inizio)'], ['\\\\Delta \\\\vec{s} = \\\\vec{s}(fine) - \\\\vec{s}(inizio)']),\n _templateObject24 = _taggedTemplateLiteralLoose(['\\x0Bec{v} = \\frac{Delta \\x0Bec{s}}{Delta t}'], ['\\\\vec{v} = \\\\frac{\\\\Delta \\\\vec{s}}{\\\\Delta t}']),\n _templateObject25 = _taggedTemplateLiteralLoose(['\\x0Bec{v} = lim_{Delta t \\to 0} \\frac{Delta \\x0Bec{s}}{Delta t} = \\frac{d \\x0Bec{s}}{dt}'], ['\\\\vec{v} = \\\\lim_{\\\\Delta t \\\\to 0} \\\\frac{\\\\Delta \\\\vec{s}}{\\\\Delta t} = \\\\frac{d \\\\vec{s}}{dt}']),\n _templateObject26 = _taggedTemplateLiteralLoose(['\\x0Bec{a} = \\frac{Delta \\x0Bec{v}}{Delta t}'], ['\\\\vec{a} = \\\\frac{\\\\Delta \\\\vec{v}}{\\\\Delta t}']),\n _templateObject27 = _taggedTemplateLiteralLoose(['\\x0Bec{a} = lim_{Delta v \\to 0} \\frac{Delta \\x0Bec{v}}{Delta t} = \\frac{d \\x0Bec{v}}{d t} = \\frac{d^2 \\x0Bec{s}}{d t^2}'], ['\\\\vec{a} = \\\\lim_{\\\\Delta v \\\\to 0} \\\\frac{\\\\Delta \\\\vec{v}}{\\\\Delta t} = \\\\frac{d \\\\vec{v}}{d t} = \\\\frac{d^2 \\\\vec{s}}{d t^2}']),\n _templateObject28 = _taggedTemplateLiteralLoose(['\\x0Bec{p} = m \\x0Bec{v}'], ['\\\\vec{p} = m \\\\vec{v}']),\n _templateObject29 = _taggedTemplateLiteralLoose(['Sigma \\x0Bec{F} = 0 Longleftrightarrow Delta \\x0Bec{p} = 0'], ['\\\\Sigma \\\\vec{F} = 0 \\\\Longleftrightarrow \\\\Delta \\\\vec{p} = 0']),\n _templateObject30 = _taggedTemplateLiteralLoose(['s(t) = v cdot Delta t + s(0)'], ['s(t) = v \\\\cdot \\\\Delta t + s(0)']),\n _templateObject31 = _taggedTemplateLiteralLoose(['v(t) = k'], ['v(t) = k']),\n _templateObject32 = _taggedTemplateLiteralLoose(['a(t) = 0'], ['a(t) = 0']),\n _templateObject33 = _taggedTemplateLiteralLoose(['s(t) = \\frac{1}{2} a cdot (Delta t)^2 + v(0) cdot (Delta t) + s(0)'], ['s(t) = \\\\frac{1}{2} a \\\\cdot (\\\\Delta t)^2 + v(0) \\\\cdot (\\\\Delta t) + s(0)']),\n _templateObject34 = _taggedTemplateLiteralLoose(['v(t) = a Delta t + v(0)'], ['v(t) = a \\\\Delta t + v(0)']),\n _templateObject35 = _taggedTemplateLiteralLoose(['a(t) = k'], ['a(t) = k']),\n _templateObject36 = _taggedTemplateLiteralLoose(['omega = \\frac{2 pi}{T}'], ['\\\\omega = \\\\frac{2 \\\\pi}{T}']),\n _templateObject37 = _taggedTemplateLiteralLoose(['s(t) = A sin (omega cdot t + phi)'], ['s(t) = A \\\\sin (\\\\omega \\\\cdot t + \\\\phi)']),\n _templateObject38 = _taggedTemplateLiteralLoose(['\\frac{pi}{2}'], ['\\\\frac{\\\\pi}{2}']),\n _templateObject39 = _taggedTemplateLiteralLoose(['v(t) = A sin (omega cdot t + phi + \\frac{pi}{2})'], ['v(t) = A \\\\sin (\\\\omega \\\\cdot t + \\\\phi + \\\\frac{\\\\pi}{2})']),\n _templateObject40 = _taggedTemplateLiteralLoose(['pi'], ['\\\\pi']),\n _templateObject41 = _taggedTemplateLiteralLoose(['a(t) = A sin (omega cdot t + phi + pi)'], ['a(t) = A \\\\sin (\\\\omega \\\\cdot t + \\\\phi + \\\\pi)']),\n _templateObject42 = _taggedTemplateLiteralLoose(['phi'], ['\\\\phi']),\n _templateObject43 = _taggedTemplateLiteralLoose(['v = \\frac{Delta s}{t} = \\frac{2 pi cdot r}{T} = omega r'], ['v = \\\\frac{\\\\Delta s}{t} = \\\\frac{2 \\\\pi \\\\cdot r}{T} = \\\\omega r']),\n _templateObject44 = _taggedTemplateLiteralLoose(['a = \\frac{v^2}{r} = r cdot omega^2 = v cdot omega'], ['a = \\\\frac{v^2}{r} = r \\\\cdot \\\\omega^2 = v \\\\cdot \\\\omega']),\n _templateObject45 = _taggedTemplateLiteralLoose(['F = m cdot a'], ['F = m \\\\cdot a']),\n _templateObject46 = _taggedTemplateLiteralLoose(['W = \\x0Bec{F} cdot \\x0Bec{s} = F cdot Delta s cdot cos(alpha )'], ['W = \\\\vec{F} \\\\cdot \\\\vec{s} = F \\\\cdot \\\\Delta s \\\\cdot cos(\\\\alpha )']),\n _templateObject47 = _taggedTemplateLiteralLoose(['E_c = \\frac{1}{2} m v^2'], ['E_c = \\\\frac{1}{2} m v^2']),\n _templateObject48 = _taggedTemplateLiteralLoose(['Delta E_c = W'], ['\\\\Delta E_c = W']),\n _templateObject49 = _taggedTemplateLiteralLoose(['E_{p_g} = m cdot g cdot h'], ['E_{p_g} = m \\\\cdot g \\\\cdot h']),\n _templateObject50 = _taggedTemplateLiteralLoose(['E_{p_e} = \\frac{1}{2} k x^2'], ['E_{p_e} = \\\\frac{1}{2} k x^2']),\n _templateObject51 = _taggedTemplateLiteralLoose(['E = E_k + E_p'], ['E = E_k + E_p']),\n _templateObject52 = _taggedTemplateLiteralLoose(['P = \\frac{Delta E}{Delta t}'], ['P = \\\\frac{\\\\Delta E}{\\\\Delta t}']),\n _templateObject53 = _taggedTemplateLiteralLoose(['C_{elettrone} = 1.602 cdot 10^{-19}'], ['C_{elettrone} = 1.602 \\\\cdot 10^{-19}']),\n _templateObject54 = _taggedTemplateLiteralLoose(['left | \\x0Bec{F}_{elettrica} \\right | = \\frac{-k cdot q_1 cdot q_2}{s^2}'], ['\\\\left | \\\\vec{F}_{elettrica} \\\\right | = \\\\frac{-k \\\\cdot q_1 \\\\cdot q_2}{s^2}']),\n _templateObject55 = _taggedTemplateLiteralLoose(['k'], ['k']),\n _templateObject56 = _taggedTemplateLiteralLoose(['k = 8.99 cdot 10^9 \\frac{N cdot m^2}{C^2}'], ['k = 8.99 \\\\cdot 10^9 \\\\frac{N \\\\cdot m^2}{C^2}']),\n _templateObject57 = _taggedTemplateLiteralLoose(['epsilon_0'], ['\\\\epsilon_0']),\n _templateObject58 = _taggedTemplateLiteralLoose(['k = \\frac{1}{4 pi cdot epsilon_0}'], ['k = \\\\frac{1}{4 \\\\pi \\\\cdot \\\\epsilon_0}']),\n _templateObject59 = _taggedTemplateLiteralLoose(['left | \\x0Bec{F}_{elettrica} \\right | = \\frac{q_1 cdot q_2}{4 pi cdot epsilon_0 cdot s^2}'], ['\\\\left | \\\\vec{F}_{elettrica} \\\\right | = \\\\frac{q_1 \\\\cdot q_2}{4 \\\\pi \\\\cdot \\\\epsilon_0 \\\\cdot s^2}']),\n _templateObject60 = _taggedTemplateLiteralLoose(['\\x0Bec{E} = \\frac{\\x0Bec{F}_{elettrica}}{q} = \\frac{-k cdot q}{s^2}'], ['\\\\vec{E} = \\\\frac{\\\\vec{F}_{elettrica}}{q} = \\\\frac{-k \\\\cdot q}{s^2}']),\n _templateObject61 = _taggedTemplateLiteralLoose(['Phi_E = \\x0Bec{E} cdot \\x0Bec{A}'], ['\\\\Phi_E = \\\\vec{E} \\\\cdot \\\\vec{A}']),\n _templateObject62 = _taggedTemplateLiteralLoose(['Phi_E = \\x0Bec{E} cdot \\x0Bec{A} = E_perp cdot A cdot cos(alpha)'], ['\\\\Phi_E = \\\\vec{E} \\\\cdot \\\\vec{A} = E_\\\\perp \\\\cdot A \\\\cdot \\\\cos(\\\\alpha)']),\n _templateObject63 = _taggedTemplateLiteralLoose(['Phi_E = 4 pi cdot k cdot q = \\frac{q}{epsilon_0}'], ['\\\\Phi_E = 4 \\\\pi \\\\cdot k \\\\cdot q = \\\\frac{q}{\\\\epsilon_0}']),\n _templateObject64 = _taggedTemplateLiteralLoose(['U_e'], ['U_e']),\n _templateObject65 = _taggedTemplateLiteralLoose(['V = \\frac{U_e}{q}'], ['V = \\\\frac{U_e}{q}']),\n _templateObject66 = _taggedTemplateLiteralLoose(['V'], ['V']),\n _templateObject67 = _taggedTemplateLiteralLoose(['I = \\frac{Delta q}{Delta t}'], ['I = \\\\frac{\\\\Delta q}{\\\\Delta t}']),\n _templateObject68 = _taggedTemplateLiteralLoose(['A'], ['A']),\n _templateObject69 = _taggedTemplateLiteralLoose(['P = \\frac{Delta U_e}{Delta t} = I cdot Delta V = I^2 cdot R = \\frac{(Delta V)^2}{R}'], ['P = \\\\frac{\\\\Delta U_e}{\\\\Delta t} = I \\\\cdot \\\\Delta V = I^2 \\\\cdot R = \\\\frac{(\\\\Delta V)^2}{R}']),\n _templateObject70 = _taggedTemplateLiteralLoose(['V = R cdot I'], ['V = R \\\\cdot I']),\n _templateObject71 = _taggedTemplateLiteralLoose(['R'], ['R']),\n _templateObject72 = _taggedTemplateLiteralLoose(['Omega'], ['\\\\Omega']),\n _templateObject73 = _taggedTemplateLiteralLoose(['R = \\rho \\frac{L_{unghezza}}{A_{rea}}'], ['R = \\\\rho \\\\frac{L_{unghezza}}{A_{rea}}']),\n _templateObject74 = _taggedTemplateLiteralLoose(['\\rho'], ['\\\\rho']),\n _templateObject75 = _taggedTemplateLiteralLoose(['\\rho = \\rho_0 (1 + alpha(T - T_0))'], ['\\\\rho = \\\\rho_0 (1 + \\\\alpha(T - T_0))']),\n _templateObject76 = _taggedTemplateLiteralLoose(['C = \\frac{q_{massima}}{Delta V}'], ['C = \\\\frac{q_{massima}}{\\\\Delta V}']),\n _templateObject77 = _taggedTemplateLiteralLoose(['C_{nuova} = kappa cdot \\frac{epsilon_0 cdot A}{s}'], ['C_{nuova} = \\\\kappa \\\\cdot \\\\frac{\\\\epsilon_0 \\\\cdot A}{s}']),\n _templateObject78 = _taggedTemplateLiteralLoose(['kappa'], ['\\\\kappa']),\n _templateObject79 = _taggedTemplateLiteralLoose(['s'], ['s']),\n _templateObject80 = _taggedTemplateLiteralLoose(['Fa'], ['Fa']),\n _templateObject81 = _taggedTemplateLiteralLoose(['R_{serie} = sum_{i=1}^{n} R_i'], ['R_{serie} = \\\\sum_{i=1}^{n} R_i']),\n _templateObject82 = _taggedTemplateLiteralLoose(['R_{parallelo} = \\frac{1}{sum_{i=1}^{n} \\frac{1}{R_i}}'], ['R_{parallelo} = \\\\frac{1}{\\\\sum_{i=1}^{n} \\\\frac{1}{R_i}}']),\n _templateObject83 = _taggedTemplateLiteralLoose(['C_{serie} = \\frac{1}{sum_{i=1}^{n} \\frac{1}{C_i}}'], ['C_{serie} = \\\\frac{1}{\\\\sum_{i=1}^{n} \\\\frac{1}{C_i}}']),\n _templateObject84 = _taggedTemplateLiteralLoose(['C_{parallelo} = sum_{i=1}^{n} C_n'], ['C_{parallelo} = \\\\sum_{i=1}^{n} C_n']),\n _templateObject85 = _taggedTemplateLiteralLoose(['mu_0 = 4 pi cdot 10^{-7} \\frac{H}{m}'], ['\\\\mu_0 = 4 \\\\pi \\\\cdot 10^{-7} \\\\frac{H}{m}']),\n _templateObject86 = _taggedTemplateLiteralLoose(['\\frac{N}{A^2}'], ['\\\\frac{N}{A^2}']),\n _templateObject87 = _taggedTemplateLiteralLoose(['B'], ['B']),\n _templateObject88 = _taggedTemplateLiteralLoose(['Phi_{B_{i}} = \\x0Bec{B} cdot \\x0Bec{L}_n = B cdot L_i cdot sin(alpha) = B_parallel cdot L_i'], ['\\\\Phi_{B_{i}} = \\\\vec{B} \\\\cdot \\\\vec{L}_n = B \\\\cdot L_i \\\\cdot \\\\sin(\\\\alpha) = B_\\\\parallel \\\\cdot L_i']),\n _templateObject89 = _taggedTemplateLiteralLoose(['Phi_{B} = sum_{i=0}^{n_{lati}} Phi_{Bn}'], ['\\\\Phi_{B} = \\\\sum_{i=0}^{n_{lati}} \\\\Phi_{Bn}']),\n _templateObject90 = _taggedTemplateLiteralLoose(['Wb = T cdot m^2'], ['Wb = T \\\\cdot m^2']),\n _templateObject91 = _taggedTemplateLiteralLoose(['Phi_B = mu_0 cdot I'], ['\\\\Phi_B = \\\\mu_0 \\\\cdot I']),\n _templateObject92 = _taggedTemplateLiteralLoose(['\\x0Bec{F}_{B} = q cdot (\\x0Bec{v} \\times \\x0Bec{B})'], ['\\\\vec{F}_{B} = q \\\\cdot (\\\\vec{v} \\\\times \\\\vec{B})']),\n _templateObject93 = _taggedTemplateLiteralLoose(['\\x0Bec{B}'], ['\\\\vec{B}']),\n _templateObject94 = _taggedTemplateLiteralLoose(['\\x0Bec{v}'], ['\\\\vec{v}']),\n _templateObject95 = _taggedTemplateLiteralLoose(['\\x0Bec{F}_{magnetica} = I cdot (\\x0Bec{L} \\times \\x0Bec{B})'], ['\\\\vec{F}_{magnetica} = I \\\\cdot (\\\\vec{L} \\\\times \\\\vec{B})']),\n _templateObject96 = _taggedTemplateLiteralLoose(['I'], ['I']),\n _templateObject97 = _taggedTemplateLiteralLoose(['\\x0Bec{L}'], ['\\\\vec{L}']),\n _templateObject98 = _taggedTemplateLiteralLoose(['left | \\x0Bec{B} \\right | = mu_0 cdot I cdot \\frac{A_{vvolgimenti}}{L_{unghezzafilo}}'], ['\\\\left | \\\\vec{B} \\\\right | = \\\\mu_0 \\\\cdot I \\\\cdot \\\\frac{A_{vvolgimenti}}{L_{unghezzafilo}}']),\n _templateObject99 = _taggedTemplateLiteralLoose(['left | \\x0Bec{B} \\right | = \\frac{mu cdot I}{2 pi r}'], ['\\\\left | \\\\vec{B} \\\\right | = \\\\frac{\\\\mu \\\\cdot I}{2 \\\\pi r}']),\n _templateObject100 = _taggedTemplateLiteralLoose(['Delta V_{indotta} = v cdot B cdot L'], ['\\\\Delta V_{indotta} = v \\\\cdot B \\\\cdot L']),\n _templateObject101 = _taggedTemplateLiteralLoose(['Phi_B = \\x0Bec{B} cdot \\x0Bec{A} = B cdot A cdot cos(alpha)'], ['\\\\Phi_B = \\\\vec{B} \\\\cdot \\\\vec{A} = B \\\\cdot A \\\\cdot \\\\cos(\\\\alpha)']),\n _templateObject102 = _taggedTemplateLiteralLoose(['Delta V_{indotta} = - \\frac{Delta Phi_B}{Delta t}'], ['\\\\Delta V_{indotta} = - \\\\frac{\\\\Delta \\\\Phi_B}{\\\\Delta t}']),\n _templateObject103 = _taggedTemplateLiteralLoose(['Delta V_{indotta} = - \\frac{N cdot Delta Phi_{B_{spira}}}{Delta t} = - \\frac{N cdot B cdot A cdot cos(alpha)}{Delta t}'], ['\\\\Delta V_{indotta} = - \\\\frac{N \\\\cdot \\\\Delta \\\\Phi_{B_{spira}}}{\\\\Delta t} = - \\\\frac{N \\\\cdot B \\\\cdot A \\\\cdot cos(\\\\alpha)}{\\\\Delta t}']),\n _templateObject104 = _taggedTemplateLiteralLoose(['N'], ['N']),\n _templateObject105 = _taggedTemplateLiteralLoose(['E'], ['E']),\n _templateObject106 = _taggedTemplateLiteralLoose(['E = c cdot B'], ['E = c \\\\cdot B']),\n _templateObject107 = _taggedTemplateLiteralLoose(['c'], ['c']),\n _templateObject108 = _taggedTemplateLiteralLoose(['c = \\frac{1}{sqrt{epsilon_0 cdot mu_0}} = 3.00 cdot 10^8 \\frac{m}{s}'], ['c = \\\\frac{1}{\\\\sqrt{\\\\epsilon_0 \\\\cdot \\\\mu_0}} = 3.00 \\\\cdot 10^8 \\\\frac{m}{s}']),\n _templateObject109 = _taggedTemplateLiteralLoose(['A(t) = A_{max} cdot sin left ( \\frac{2 pi}{lambda} - omega t + phi \\right )'], ['A(t) = A_{max} \\\\cdot \\\\sin \\\\left ( \\\\frac{2 \\\\pi}{\\\\lambda} - \\\\omega t + \\\\phi \\\\right )']),\n _templateObject110 = _taggedTemplateLiteralLoose(['A_{max}'], ['A_{max}']),\n _templateObject111 = _taggedTemplateLiteralLoose(['\\frac{2 pi}{lambda} = left | \\x0Bec{k} \\right |'], ['\\\\frac{2 \\\\pi}{\\\\lambda} = \\\\left | \\\\vec{k} \\\\right |']),\n _templateObject112 = _taggedTemplateLiteralLoose(['omega'], ['\\\\omega']),\n _templateObject113 = _taggedTemplateLiteralLoose(['\\frac{1}{lambda} = R left ( \\frac{1}{4} - \\frac{1}{n^2} \\right )'], ['\\\\frac{1}{\\\\lambda} = R \\\\left ( \\\\frac{1}{4} - \\\\frac{1}{n^2} \\\\right )']),\n _templateObject114 = _taggedTemplateLiteralLoose(['R = 1.097 cdot 10^7 \\frac{1}{m}'], ['R = 1.097 \\\\cdot 10^7 \\\\frac{1}{m}']),\n _templateObject115 = _taggedTemplateLiteralLoose(['n'], ['n']),\n _templateObject116 = _taggedTemplateLiteralLoose(['h'], ['h']),\n _templateObject117 = _taggedTemplateLiteralLoose(['hbar = left ( \\frac{h}{2 pi} \\right )'], ['\\\\hbar = \\\\left ( \\\\frac{h}{2 \\\\pi} \\\\right )']),\n _templateObject118 = _taggedTemplateLiteralLoose(['m cdot v_n cdot 2 pi cdot r = n cdot h'], ['m \\\\cdot v_n \\\\cdot 2 \\\\pi \\\\cdot r = n \\\\cdot h']),\n _templateObject119 = _taggedTemplateLiteralLoose(['r_n = n^2 cdot a_0 = n^2 cdot \\frac{hbar}{m_{elettrone} cdot k cdot e^2} '], ['r_n = n^2 \\\\cdot a_0 = n^2 \\\\cdot \\\\frac{\\\\hbar}{m_{elettrone} \\\\cdot k \\\\cdot e^2} ']),\n _templateObject120 = _taggedTemplateLiteralLoose(['a_0 = left ( \\frac{h}{2 pi} \\right )^2 cdot \\frac{1}{m_{elettrone} cdot k cdot e^2} = 5.29 cdot 10^{-11} m'], ['a_0 = \\\\left ( \\\\frac{h}{2 \\\\pi} \\\\right )^2 \\\\cdot \\\\frac{1}{m_{elettrone} \\\\cdot k \\\\cdot e^2} = 5.29 \\\\cdot 10^{-11} m']),\n _templateObject121 = _taggedTemplateLiteralLoose(['E_n = \\frac{1}{n^2} cdot E_1 = - \\frac{1}{n^2} cdot \\frac{a_0^2}{2 cdot m cdot hbar^4} = - \\frac{1}{n^2} cdot \\frac{m_{elettrone} cdot k^2 cdot e^4}{2 cdot hbar^2}'], ['E_n = \\\\frac{1}{n^2} \\\\cdot E_1 = - \\\\frac{1}{n^2} \\\\cdot \\\\frac{a_0^2}{2 \\\\cdot m \\\\cdot \\\\hbar^4} = - \\\\frac{1}{n^2} \\\\cdot \\\\frac{m_{elettrone} \\\\cdot k^2 \\\\cdot e^4}{2 \\\\cdot \\\\hbar^2}']),\n _templateObject122 = _taggedTemplateLiteralLoose(['10^1 eV'], ['10^1 eV']),\n _templateObject123 = _taggedTemplateLiteralLoose(['1 eV'], ['1 eV']),\n _templateObject124 = _taggedTemplateLiteralLoose(['lambda'], ['\\\\lambda']),\n _templateObject125 = _taggedTemplateLiteralLoose(['lambda_{max} cdot T'], ['\\\\lambda_{max} \\\\cdot T']),\n _templateObject126 = _taggedTemplateLiteralLoose(['E_{fotone} = h cdot f'], ['E_{fotone} = h \\\\cdot f']);\n\n\n\nfunction _taggedTemplateLiteralLoose(strings, raw) { strings.raw = raw; return strings; }\n\nfunction fisica__classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction fisica__possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction fisica__inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\n\n\n\n\n\n\n\n\n\nvar r = String.raw;\n\nvar fisica__ref = Object(preact_min[\"h\"])(\n 'h1',\n null,\n 'Fisica'\n);\n\nvar fisica__ref2 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Usa le regole base della trigonometria:'\n);\n\nvar fisica__ref3 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Scomponi in componenti, poi sommali:'\n);\n\nvar _ref4 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Produce il vettore risultante dall\\'applicazione della regola del parallelogramma.'\n);\n\nvar _ref5 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Alla fine \\xE8 sempre una somma:'\n);\n\nvar _ref6 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Produce il vettore che parte da ',\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n 'w'\n ),\n ' e arriva a ',\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n 'v'\n ),\n '.'\n);\n\nvar _ref7 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Si chiama scalare perch\\xE8 il risultato \\xE8 uno scalare, non un vettore.'\n);\n\nvar _ref8 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Si chiama vettoriale perch\\xE8 il risultato \\xE8 un altro vettore.'\n);\n\nvar _ref9 = Object(preact_min[\"h\"])(\n 'li',\n null,\n Object(preact_min[\"h\"])(\n 'a',\n { href: 'https://it.wikipedia.org/wiki/Regola_della_mano_destra' },\n 'Regola della mano destra'\n )\n);\n\nvar _ref10 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Non \\xE8 commutativo!'\n);\n\nvar _ref11 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Se un corpo puntiforme ha forza risultante nulla, allora la sua velocit\\xE0 non cambia.'\n);\n\nvar _ref12 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'La forza risultante di un corpo \\xE8 direttamente proporzionale alla sua accelerazione, e la costante di proporzionalit\\xE0 \\xE8 la ',\n Object(preact_min[\"h\"])(\n 'i',\n null,\n 'massa'\n ),\n '.'\n);\n\nvar _ref13 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Due corpi esercitano forze uguali e opposte uno sull\\'altro.'\n);\n\nvar _ref14 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Due corpi puntiformi si attirano uno verso l\\'altro con forza:'\n);\n\nvar _ref15 = Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n 'G'\n ),\n ' \\xE8 la ',\n Object(preact_min[\"h\"])(\n 'i',\n null,\n 'costante di gravitazione universale'\n ),\n ' e vale:'\n);\n\nvar _ref16 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Se nel sistema di riferimento consideriamo la Terra ferma, allora un corpo \\xE8 attratto verso la Terra con forza ',\n Object(preact_min[\"h\"])(\n 'i',\n null,\n 'peso'\n ),\n ' uguale a:'\n);\n\nvar _ref17 = Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n 'g'\n ),\n ' \\xE8 la ',\n Object(preact_min[\"h\"])(\n 'i',\n null,\n 'costante di gravit\\xE0'\n ),\n ' della Terra, e vale:'\n);\n\nvar _ref18 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Per pianeti diversi dalla Terra vale la stessa regola:'\n);\n\nvar _ref19 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'L\\'unica differenza \\xE8 che cambia la ',\n Object(preact_min[\"h\"])(\n 'i',\n null,\n 'costante di gravit\\xE0'\n ),\n ':'\n);\n\nvar _ref20 = Object(preact_min[\"h\"])(\n panel_Panel,\n { title: 'Normale' },\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Si oppone alle forze applicate alla superficie di contatto.'\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Un libro appoggiato su un tavolo ha la ',\n Object(preact_min[\"h\"])(\n 'b',\n null,\n 'forza di gravit\\xE0'\n ),\n ' che lo attira verso il terreno e la ',\n Object(preact_min[\"h\"])(\n 'b',\n null,\n 'forza normale'\n ),\n ' che lo trattiene dal cadere.'\n )\n);\n\nvar _ref21 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Impedisce a un corpo di muoversi se non viene spinto da una forza che supera una certa soglia:'\n);\n\nvar _ref22 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Rallenta i corpi che si stanno muovendo finch\\xE8 essi non si fermano:'\n);\n\nvar _ref23 = Object(preact_min[\"h\"])(\n panel_Panel,\n { title: 'Tensione' },\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'E\\' forza trasmessa tra due estremi di una fune.'\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Pu\\xF2 essere redirezionata per mezzo di carrucole.'\n )\n);\n\nvar _ref24 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Una molla cerca sempre di tornare alla sua posizione indeformata con forza:'\n);\n\nvar _ref25 = Object(preact_min[\"h\"])(\n 'p',\n null,\n '(E\\' negativa perch\\xE8 la forza \\xE8 opposta a quella applicata per deformarla.)'\n);\n\nvar _ref26 = Object(preact_min[\"h\"])(\n 'p',\n null,\n '\\xC8 un vettore che indica la posizione di un corpo rispetto a un\\'origine.'\n);\n\nvar _ref27 = Object(preact_min[\"h\"])(\n 'p',\n null,\n '\\xC8 un vettore che misura la variazione di posizione nel tempo.'\n);\n\nvar _ref28 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Se si considera un intervallo di tempo infinitesimale si dice ',\n Object(preact_min[\"h\"])(\n 'i',\n null,\n 'velocit\\xE0 istantanea'\n ),\n ':'\n);\n\nvar _ref29 = Object(preact_min[\"h\"])(\n 'p',\n null,\n '\\xC8 un vettore che misura la variazione di velocit\\xE0 nel tempo.'\n);\n\nvar _ref30 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Se si considera un intervallo di tempo infinitesimale si dice ',\n Object(preact_min[\"h\"])(\n 'i',\n null,\n 'accelerazione istantanea'\n ),\n ':'\n);\n\nvar _ref31 = Object(preact_min[\"h\"])(\n 'span',\n null,\n 'Quantit\\xE0 di moto ',\n Object(preact_min[\"h\"])(\n 'small',\n null,\n '(momento lineare)'\n )\n);\n\nvar _ref32 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'La quantit\\xE0 di moto \\xE8 una propriet\\xE0 vettoriale dei corpi:'\n);\n\nvar _ref33 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Se la forza risultante \\xE8 nulla, la quantit\\xE0 di moto non cambia.'\n);\n\nvar _ref34 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'La ',\n Object(preact_min[\"h\"])(\n 'i',\n null,\n 'legge oraria'\n ),\n ' \\xE8:'\n);\n\nvar _ref35 = Object(preact_min[\"h\"])(\n 'p',\n null,\n '\\xC8 costante:'\n);\n\nvar _ref36 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'La velocit\\xE0 non varia:'\n);\n\nvar _ref37 = Object(preact_min[\"h\"])(\n panel_Panel,\n { title: 'Forze' },\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Si applica la prima legge di Newton:'\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n 'f(t) = 0'\n )\n )\n);\n\nvar _ref38 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'La ',\n Object(preact_min[\"h\"])(\n 'i',\n null,\n 'legge oraria'\n ),\n ' \\xE8:'\n);\n\nvar _ref39 = Object(preact_min[\"h\"])(\n 'p',\n null,\n '\\xC8 una retta:'\n);\n\nvar _ref40 = Object(preact_min[\"h\"])(\n 'p',\n null,\n '\\xC8 costante:'\n);\n\nvar _ref41 = Object(preact_min[\"h\"])(\n panel_Panel,\n { title: 'Forze' },\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Si applica la prima legge di Newton:'\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n 'f(t) = m a'\n )\n )\n);\n\nvar _ref42 = Object(preact_min[\"h\"])(\n panel_Panel,\n { title: 'Ampiezza' },\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'E\\' la distanza dal centro massima che raggiunge il corpo.'\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n '(L\\'ampiezza di una sinusoide.)'\n )\n);\n\nvar _ref43 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Indica quanto in fretta cambia la posizione del corpo.'\n);\n\nvar _ref44 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Dipende dal periodo:'\n);\n\nvar _ref45 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'E\\' una sinusoide:'\n);\n\nvar _ref46 = Object(preact_min[\"h\"])(\n panel_Panel,\n { title: 'Forze' },\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Si applica la prima legge di Newton:'\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n 'f(t) = m a'\n )\n )\n);\n\nvar _ref47 = Object(preact_min[\"h\"])(\n panel_Panel,\n { title: 'Moto parabolico' },\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Il moto parabolico \\xE8 dato sommando un moto rettilineo uniforme sull\\'asse orizzontale e un moto rettilineo uniformemente accelerato sull\\'asse verticale.'\n )\n);\n\nvar _ref48 = Object(preact_min[\"h\"])(\n 'h3',\n null,\n 'Velocit\\xE0 angolare'\n);\n\nvar _ref49 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Quanto cambia la fase nel tempo.'\n);\n\nvar _ref50 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'E\\' l\\'angolo percorso dal corpo rispetto alla posizione iniziale.'\n);\n\nvar _ref51 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Si applicano le formule per la circonferenza:'\n);\n\nvar _ref52 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Il corpo ha sempre un accelerazione verso il centro che gli impedisce di abbandonare il moto:'\n);\n\nvar _ref53 = Object(preact_min[\"h\"])(\n 'p',\n null,\n '\\xC8 verso il centro e si calcola con:'\n);\n\nvar _ref54 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'E\\' compiuto da una forza che sposta un corpo.'\n);\n\nvar _ref55 = Object(preact_min[\"h\"])(\n 'p',\n null,\n '(Se la forza non \\xE8 parallela allo spostamento, il prodotto scalare ci fa considerare solo la componente parallela.)'\n);\n\nvar _ref56 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Un corpo ha energia cinetica in ogni momento uguale a:'\n);\n\nvar _ref57 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Se una forza effettua lavoro su un corpo, cambia la sua energia cinetica pari al lavoro effettuato:'\n);\n\nvar _ref58 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Un corpo ha energia potenziale in ogni momento pari a:'\n);\n\nvar _ref59 = Object(preact_min[\"h\"])(\n 'p',\n null,\n '(Con ',\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n 'h'\n ),\n ' uguale a un altezza scelta come punto di riferimento.)'\n);\n\nvar _ref60 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Una molla ha sempre energia potenziale elastica pari a:'\n);\n\nvar _ref61 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Sono conservative le forze per le quali il lavoro compiuto non dipende dal percorso seguito per andare dalla partenza all\\'arrivo.'\n);\n\nvar _ref62 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Ad esempio, \\xE8 conservativa la ',\n Object(preact_min[\"h\"])(\n 'i',\n null,\n 'forza di gravit\\xE0'\n ),\n ', ma ',\n Object(preact_min[\"h\"])(\n 'b',\n null,\n 'non'\n ),\n ' \\xE8 conservativa la forza di attrito.'\n);\n\nvar _ref63 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Se in un sistema ci sono solo forze conservative, allora l\\'energia meccanica totale si conserva:'\n);\n\nvar _ref64 = Object(preact_min[\"h\"])(\n 'p',\n null,\n '\\xC8 la velocit\\xE0 di trasferimento di energia:'\n);\n\nvar _ref65 = Object(preact_min[\"h\"])(\n 'p',\n null,\n '\\xC8 una propriet\\xE0 dei corpi che pu\\xF2 essere ',\n Object(preact_min[\"h\"])(\n plus_Plus,\n null,\n 'positiva'\n ),\n ' o ',\n Object(preact_min[\"h\"])(\n minus_Minus,\n null,\n 'negativa'\n ),\n '.'\n);\n\nvar _ref66 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Si conserva: in un sistema chiuso la carica totale \\xE8 costante.'\n);\n\nvar _ref67 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Cariche ',\n Object(preact_min[\"h\"])(\n plus_Plus,\n null,\n 'opp'\n ),\n Object(preact_min[\"h\"])(\n minus_Minus,\n null,\n 'oste'\n ),\n ' si attraggono; cariche ',\n Object(preact_min[\"h\"])(\n plus_Plus,\n null,\n 'uguali'\n ),\n ' si respingono.'\n);\n\nvar _ref68 = Object(preact_min[\"h\"])(\n panel_Panel,\n { title: 'Conduttori e isolanti' },\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Pi\\xF9 ',\n Object(preact_min[\"h\"])(\n 'a',\n { href: 'https://it.wikipedia.org/wiki/Ione' },\n 'ioni'\n ),\n ' ha un corpo, meglio la carica si muove attraverso di esso.'\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'I corpi in cui la carica si muove bene sono ',\n Object(preact_min[\"h\"])(\n 'i',\n null,\n 'conduttori'\n ),\n ', mentre quelli in cui si muove difficilmente sono ',\n Object(preact_min[\"h\"])(\n 'i',\n null,\n 'isolanti'\n ),\n '.'\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n 'i',\n null,\n 'Il corpo umano \\xE8 un buon conduttore.'\n )\n )\n);\n\nvar _ref69 = Object(preact_min[\"h\"])(\n split_Split,\n { title: 'Polarizzazione' },\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: 'Polarizzazione' },\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'E\\' possibile polarizzare un corpo per accumulare la carica di un segno in una certa zona.'\n )\n )\n);\n\nvar _ref70 = Object(preact_min[\"h\"])(\n split_Split,\n null,\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: 'Messa a terra' },\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Se un corpo conduttore \\xE8 in contatto con la Terra, le cariche su di esso saranno ',\n Object(preact_min[\"h\"])(\n 'i',\n null,\n 'equilibrate'\n ),\n ' e il corpo diventer\\xE0 elettricamente neutro (con stesso numero di ',\n Object(preact_min[\"h\"])(\n plus_Plus,\n null,\n 'cariche positive'\n ),\n ' e ',\n Object(preact_min[\"h\"])(\n minus_Minus,\n null,\n 'negative'\n ),\n ' all\\'interno).'\n )\n )\n);\n\nvar _ref71 = Object(preact_min[\"h\"])(\n split_Split,\n null,\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: 'Polarizzazione per strofinio' },\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Strofinando tra loro due corpi isolanti, essi si ',\n Object(preact_min[\"h\"])(\n 'i',\n null,\n 'polarizzeranno per strofinio'\n ),\n '.'\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: 'Polarizzazione per contatto' },\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Toccando un conduttore con un corpo carico, il conduttore potr\\xE0 ',\n Object(preact_min[\"h\"])(\n 'i',\n null,\n 'polarizzarsi per contatto'\n ),\n '.'\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: 'Polarizzazione per induzione' },\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Se un corpo conduttore ha cariche \"esterne\" di un ',\n Object(preact_min[\"h\"])(\n plus_Plus,\n null,\n 'certo segno'\n ),\n ' vicino, esso avr\\xE0 tutte le cariche del ',\n Object(preact_min[\"h\"])(\n minus_Minus,\n null,\n 'segno opposto'\n ),\n ' in equilibrio vicino alle cariche esterne, e tutte le cariche dello ',\n Object(preact_min[\"h\"])(\n plus_Plus,\n null,\n 'stesso segno'\n ),\n ' pi\\xF9 lontano possibile da esse.'\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Mettendo a terra il conduttore, nuove cariche del ',\n Object(preact_min[\"h\"])(\n minus_Minus,\n null,\n 'segno opposto'\n ),\n ' saranno attratte all\\'interno del corpo per equilibrare le cariche che si sono allontanate.'\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Staccando il conduttore da terra e rimuovendo le cariche esterne, esso si ritrover\\xE0 ',\n Object(preact_min[\"h\"])(\n minus_Minus,\n null,\n 'caricato del segno opposto'\n ),\n ' rispetto alle cariche esterne.'\n )\n )\n);\n\nvar _ref72 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Due corpi carichi si attraggono tra loro con forza:'\n);\n\nvar _ref73 = Object(preact_min[\"h\"])(\n 'i',\n null,\n 'costante di Coulomb'\n);\n\nvar _ref74 = Object(preact_min[\"h\"])(\n 'i',\n null,\n 'permeabilit\\xE0 del vuoto'\n);\n\nvar _ref75 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Misura che forza viene applicata in ogni punto su una carica unitaria:'\n);\n\nvar _ref76 = Object(preact_min[\"h\"])(\n 'p',\n null,\n '\\xC8 la differenza tra \"quanto\" campo elettrico ',\n Object(preact_min[\"h\"])(\n plus_Plus,\n null,\n 'entra'\n ),\n ' e quanto campo elettrico ',\n Object(preact_min[\"h\"])(\n minus_Minus,\n null,\n 'esce'\n ),\n ' da una certa area.'\n);\n\nvar _ref77 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'In qualsiasi superficie chiusa, il flusso elettrico \\xE8 uguale alla componente perpendicolare del campo elettrico moltiplicato per l\\'area.'\n);\n\nvar _ref78 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Se il campo elettrico \\xE8 uniforme, se ne pu\\xF2 calcolare facilmente il valore:'\n);\n\nvar _ref79 = Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n todo_Todo,\n null,\n 'Circa. E\\' una specie di integrale...'\n )\n);\n\nvar _ref80 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Il flusso elettrico \\xE8 direttamente proporzionale alla carica presente all\\'interno della superficie.'\n);\n\nvar _ref81 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Ovvero, i campi elettrostatici sono generati dalle cariche elettriche.'\n);\n\nvar _ref82 = Object(preact_min[\"h\"])(\n 'i',\n null,\n 'energia potenziale elettrica'\n);\n\nvar _ref83 = Object(preact_min[\"h\"])(\n 'span',\n null,\n 'Potenziale elettrico ',\n Object(preact_min[\"h\"])(\n 'small',\n null,\n '(tensione)'\n )\n);\n\nvar _ref84 = Object(preact_min[\"h\"])(\n 'p',\n null,\n '\\xC8 il valore dell\\'energia potenziale elettrica per una carica unitaria.'\n);\n\nvar _ref85 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'In una batteria \\xE8 detto ',\n Object(preact_min[\"h\"])(\n 'i',\n null,\n 'forza elettromotrice'\n ),\n ', e corrisponde al lavoro compiuto da una batteria ideale per spostare una carica unitaria tra i due poli.'\n);\n\nvar _ref86 = Object(preact_min[\"h\"])(\n 'span',\n null,\n 'Corrente elettrica ',\n Object(preact_min[\"h\"])(\n 'small',\n null,\n '(intensit\\xE0)'\n )\n);\n\nvar _ref87 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Quanta carica passa attraverso un\\'area (perpendicolare al flusso) nel tempo.'\n);\n\nvar _ref88 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Fintanto che c\\'\\xE8 differenza di potenziale, ci sar\\xE0 anche intensit\\xE0 non nulla.'\n);\n\nvar _ref89 = Object(preact_min[\"h\"])(\n panel_Panel,\n { title: Object(preact_min[\"h\"])(\n 'span',\n null,\n 'Corrente continua ',\n Object(preact_min[\"h\"])(\n 'small',\n null,\n '(',\n Object(preact_min[\"h\"])(\n 'abbr',\n { title: 'Direct Current' },\n 'DC'\n ),\n ')'\n )\n ) },\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Quando in un circuito la direzione della corrente \\xE8 costante.'\n )\n);\n\nvar _ref90 = Object(preact_min[\"h\"])(\n panel_Panel,\n { title: Object(preact_min[\"h\"])(\n 'span',\n null,\n 'Corrente alternata ',\n Object(preact_min[\"h\"])(\n 'small',\n null,\n '(',\n Object(preact_min[\"h\"])(\n 'abbr',\n { title: 'Alternate Current' },\n 'AC'\n ),\n ')'\n )\n ) },\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Quando in un circuito la direzione della corrente si alterna periodicamente.'\n )\n);\n\nvar _ref91 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Possiamo calcolare la potenza di un circuito:'\n);\n\nvar _ref92 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Riduce l\\'intensit\\xE0 di corrente, e converte parte del potenziale in calore.'\n);\n\nvar _ref93 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Il potenziale utilizzato \\xE8 pari a:'\n);\n\nvar _ref94 = Object(preact_min[\"h\"])(\n 'i',\n null,\n 'resistenza'\n);\n\nvar _ref95 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'La resistenza di un conduttore vale:'\n);\n\nvar _ref96 = Object(preact_min[\"h\"])(\n 'i',\n null,\n 'resistivit\\xE0'\n);\n\nvar _ref97 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Immagazzina potenziale elettrico, permettendo di riutilizzarla in seguito.'\n);\n\nvar _ref98 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Per farlo, cattura cariche ',\n Object(preact_min[\"h\"])(\n plus_Plus,\n null,\n 'positive'\n ),\n ' e ',\n Object(preact_min[\"h\"])(\n minus_Minus,\n null,\n 'negative'\n ),\n ' sulle sue due armature; perch\\xE8 questo avvenga, deve essere compiuto lavoro.'\n);\n\nvar _ref99 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Ha una ',\n Object(preact_min[\"h\"])(\n 'b',\n null,\n 'capacit\\xE0'\n ),\n ' caratteristica, che in un condensatore a facce piane parallele \\xE8:'\n);\n\nvar _ref100 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Condensatori di capacit\\xE0 maggiore immagazzinano pi\\xF9 potenziale con meno carica.'\n);\n\nvar _ref101 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'La capacit\\xE0 aumenta se viene messo qualcosa tra le armature:'\n);\n\nvar _ref102 = Object(preact_min[\"h\"])(\n 'i',\n null,\n 'costante dielettrica relativa'\n);\n\nvar _ref103 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Se il campo elettrico creatosi tra le due armature supera la ',\n Object(preact_min[\"h\"])(\n 'i',\n null,\n 'rigidit\\xE0 dielettrica'\n ),\n ' del condensatore, la carica immagazzinata viene persa e ha luogo un ',\n Object(preact_min[\"h\"])(\n 'i',\n null,\n 'breakdown'\n ),\n '.'\n);\n\nvar _ref104 = Object(preact_min[\"h\"])(\n panel_Panel,\n { title: 'Amperometro' },\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Misura la corrente elettrica se messo in serie.'\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n '(Funzionamento: ha una resistenza interna bassisima in modo da non influire significativamente sulla corrente.)'\n )\n);\n\nvar _ref105 = Object(preact_min[\"h\"])(\n panel_Panel,\n { title: 'Voltmetro' },\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Misura la differenza di potenziale se messo in parallelo.'\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n '(Funzionamento: ha una resistenza altissima in modo da non influire significativamente sulla tensione.)'\n )\n);\n\nvar _ref106 = Object(preact_min[\"h\"])(\n split_Split,\n { title: 'Principi di Kirchhoff' },\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: 'Legge dei nodi' },\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Per nodo si intende un qualsiasi punto del circuito.'\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Da un nodo entra ed esce la stessa corrente.'\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: 'Legge delle maglie' },\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Per maglia si intende un qualsiasi percorso chiuso all\\'interno del circuito.'\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'In una maglia chiusa, la somma delle differenze di potenziale \\xE8 0.'\n )\n )\n);\n\nvar _ref107 = Object(preact_min[\"h\"])(\n split_Split,\n { title: 'Serie e Parallelo' },\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: 'Circuito in serie' },\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Pi\\xF9 parti di circuito sono ',\n Object(preact_min[\"h\"])(\n 'i',\n null,\n 'in serie'\n ),\n ' se sono consecutive e senza biforcazioni.'\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Parti di circuito in serie sono attraversate dalla stessa corrente.'\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: 'Circuito in parallelo' },\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Pi\\xF9 parti di circuito sono ',\n Object(preact_min[\"h\"])(\n 'i',\n null,\n 'in parallelo'\n ),\n ' tra loro se hanno lo stesso punto di partenza e lo stesso punto di arrivo.'\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Parti di circuito in parallelo hanno la stessa differenza di potenziale.'\n )\n )\n);\n\nvar _ref108 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Nei circuiti in serie, tutte le resistenze possono essere sostituite con una equivalente dalla resistenza della somma di tutte le quelle sostituite:'\n);\n\nvar _ref109 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Nei circuiti in parallelo, tutte le resistenze possono essere sostituite con una equivalente dalla resistenza di:'\n);\n\nvar _ref110 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Nei circuiti in serie, tutti i condensatori possono essere sostituiti con uno equivalente dalla capacit\\xE0 di:'\n);\n\nvar _ref111 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Nei circuiti in parallelo, tutte i condensatori possono essere sostituite con uno equivalente dalla capacit\\xE0 della somma di tutti quelli sostituiti:'\n);\n\nvar _ref112 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'E\\' una costante fisica fondamentale che rappresenta quanto un materiale si magnetizza facilmente.'\n);\n\nvar _ref113 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Come un campo elettrico, ma per i magneti.'\n);\n\nvar _ref114 = Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n 'T'\n);\n\nvar _ref115 = Object(preact_min[\"h\"])(\n 'p',\n null,\n '\\xC8 \"quanto\" campo magnetico ',\n Object(preact_min[\"h\"])(\n 'b',\n null,\n 'attraversa'\n ),\n ' un percorso chiuso.'\n);\n\nvar _ref116 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Per qualsiasi percorso chiuso, il flusso magnetico \\xE8 uguale alla somma di tutti i \"sottoflussi\" magnetici calcolati sui suoi lati.'\n);\n\nvar _ref117 = Object(preact_min[\"h\"])(\n panel_Panel,\n { title: 'Legge di Gauss per i campi magnetici' },\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Il flusso magnetico attraverso qualsiasi superficie chiusa \\xE8 sempre nullo.'\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Ovvero, non esistono monopoli magnetici.'\n )\n);\n\nvar _ref118 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'L\\'intensit\\xE0 di corrente che attraversa un percorso chiuso \\xE8 direttamente proporzionale al flusso magnetico dello stesso percorso.'\n);\n\nvar _ref119 = Object(preact_min[\"h\"])(\n 'span',\n null,\n 'Forza magnetica su carica puntiforme ',\n Object(preact_min[\"h\"])(\n 'small',\n null,\n '(Forza di Lorentz)'\n )\n);\n\nvar _ref120 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'I campi magnetici applicano una forza sulle cariche vicine:'\n);\n\nvar _ref121 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Si ha una forza massima se la velocit\\xE0 \\xE8 perpendicolare al campo magnetico.'\n);\n\nvar _ref122 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'In un campo magnetico uniforme, una velocit\\xE0 perpendicolare al campo porta alla creazione di un moto circolare uniforme.'\n);\n\nvar _ref123 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'I campi magnetici influenzano ovviamente anche le cariche presenti in un conduttore:'\n);\n\nvar _ref124 = Object(preact_min[\"h\"])(\n 'a',\n { href: 'https://it.openprof.com/wb/forza_di_lorentz_su_un_filo_percorso_da_corrente?ch=360' },\n '[1]'\n);\n\nvar _ref125 = Object(preact_min[\"h\"])(\n panel_Panel,\n { title: 'Campo magnetico in una spira' },\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Una spira in cui passa corrente produce un campo magnetico perpendicolare al piano creato dalla spira.'\n )\n);\n\nvar _ref126 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Un solenoide sono tante spire avvolte in modo da formare una specie di cilindro.'\n);\n\nvar _ref127 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'All\\'interno del solenoide si crea un campo (quasi) uniforme:'\n);\n\nvar _ref128 = Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n 'i',\n null,\n 'Caso particolare della ',\n Object(preact_min[\"h\"])(\n 'a',\n { href: 'https://it.wikipedia.org/wiki/Legge_di_Amp%C3%A8re' },\n 'Legge di Amp\\xE8re'\n ),\n '.'\n )\n);\n\nvar _ref129 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Il modulo del campo magnetico ',\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n 'B'\n ),\n ' prodotto da un filo in cui passa una corrente continua ',\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n 'I'\n ),\n ' alla distanza ',\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n 's'\n ),\n ' \\xE8:'\n);\n\nvar _ref130 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Il campo magnetico cos\\xEC creato gira attorno al filo in senso antiorario.'\n);\n\nvar _ref131 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Due fili attraversati dalla ',\n Object(preact_min[\"h\"])(\n plus_Plus,\n null,\n 'stessa corrente'\n ),\n ' si attraggono, due fili attraversati da ',\n Object(preact_min[\"h\"])(\n plus_Plus,\n null,\n 'corr'\n ),\n Object(preact_min[\"h\"])(\n minus_Minus,\n null,\n 'enti'\n ),\n ' ',\n Object(preact_min[\"h\"])(\n plus_Plus,\n null,\n 'opp'\n ),\n Object(preact_min[\"h\"])(\n minus_Minus,\n null,\n 'oste'\n ),\n ' si respingono.'\n);\n\nvar _ref132 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Un conduttore perpendicolare ad un campo magnetico pu\\xF2 ottenere una differenza di potenziale se messo in movimento in un direzione perpendicolare alla direzione del conduttore e del campo.'\n);\n\nvar _ref133 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'La differenza di potenziale si crea a causa della forza magnetica, che fa spostare tutti gli elettroni verso un capo del conduttore.'\n);\n\nvar _ref134 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Essa vale:'\n);\n\nvar _ref135 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Dove ',\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n 'v'\n ),\n ' \\xE8 la velocit\\xE0 del conduttore, ',\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n 'B'\n ),\n ' \\xE8 l\\'intensit\\xE0 del campo magnetico ed ',\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n 'L'\n ),\n ' \\xE8 la lunghezza del conduttore.'\n);\n\nvar _ref136 = Object(preact_min[\"h\"])(\n 'i',\n null,\n 'Legge di Faraday-Neumann-Lenz'\n);\n\nvar _ref137 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Dice che la forza elettromotrice media indotta in un percorso dipende dalla variazione nel tempo del flusso magnetico nello stesso percorso.'\n);\n\nvar _ref138 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Il meno \\xE8 dovuto alla ',\n Object(preact_min[\"h\"])(\n 'a',\n { href: 'https://it.wikipedia.org/wiki/Legge_di_Lenz' },\n 'Legge di Lenz'\n ),\n ', che specifica qualitativamente il verso della forza elettromotrice indotta.'\n);\n\nvar _ref139 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'In un solenoide, la forza elettromotrice indotta \\xE8 uguale a:'\n);\n\nvar _ref140 = Object(preact_min[\"h\"])(\n panel_Panel,\n { title: 'Legge di Amp\\xE8re-Maxwell' },\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Correnti o campi elettrici variabili creano un campo magnetico.'\n )\n);\n\nvar _ref141 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Si dice quindi che sono ',\n Object(preact_min[\"h\"])(\n 'i',\n null,\n 'onde elettromagnetiche'\n ),\n '.'\n);\n\nvar _ref142 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Esse sono legate dalla relazione:'\n);\n\nvar _ref143 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'I solidi, se portati ad alta temperatura, emettono luce con uno ',\n Object(preact_min[\"h\"])(\n 'a',\n { href: 'https://it.wikipedia.org/wiki/Spettro_continuo' },\n 'spettro continuo'\n ),\n '.'\n);\n\nvar _ref144 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'I gas, invece, ad alta temperatura emettono luce solo con particolari lunghezze d\\'onda.'\n);\n\nvar _ref145 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'In un gas di idrogeno, le lunghezze d\\'onda emesse sono ricavabili con:'\n);\n\nvar _ref146 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Una grandezza si dice quantizzata (o discreta) se pu\\xF2 assumere solo determinati valori.'\n);\n\nvar _ref147 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Una grandezza si dice continua se pu\\xF2 assumere qualsiasi valore e quindi se non \\xE8 quantizzata.'\n);\n\nvar _ref148 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Energia, momento angolare e raggio sono quantizzati.'\n);\n\nvar _ref149 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'L\\'energia degli elettroni \\xE8 quantizzata.'\n);\n\nvar _ref150 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Inoltre, per essi \\xE8 valido che:'\n);\n\nvar _ref151 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Ancora, il raggio delle orbite \\xE8 uguale a:'\n);\n\nvar _ref152 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Infine, in ogni stato, l\\'energia \\xE8 pari a:'\n);\n\nvar _ref153 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Due elettroni non possono occupare lo stesso stato.'\n);\n\nvar _ref154 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Questo modello funziona solo per atomi con numero atomico basso. Atomi con molti elettroni hanno comportamenti diversi, descritti dal modello di'\n);\n\nvar _ref155 = Object(preact_min[\"h\"])(\n split_Split,\n null,\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: 'Nei solidi' },\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Nei solidi, le lunghezze d\\'onda sono talmente tanto vicine da poter essere considerate una banda.'\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Possono per\\xF2 comunque avere dei gap dovuti agli intervalli di energia non ammessi.'\n )\n )\n);\n\nvar _ref156 = Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n todo_Todo,\n null,\n 'Refactor this'\n )\n);\n\nvar _ref157 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Se invece la banda di emissione si sovrappone a un altra, allora il corpo \\xE8 un conduttore.'\n);\n\nvar _ref158 = Object(preact_min[\"h\"])(\n panel_Panel,\n { title: 'Lacune' },\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Legami in cui ',\n Object(preact_min[\"h\"])(\n plus_Plus,\n null,\n 'mancano elettroni'\n ),\n '.'\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n minus_Minus,\n null,\n 'Elettroni'\n ),\n ' di altri legami possono spostarsi per colmare le ',\n Object(preact_min[\"h\"])(\n plus_Plus,\n null,\n 'lacune'\n ),\n ', creandone altre, e spostandole in direzione opposta a quella della corrente.'\n )\n);\n\nvar _ref159 = Object(preact_min[\"h\"])(\n panel_Panel,\n { title: 'Accettori e donori' },\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Se si inserisce in un cristallo semiconduttore si inserisce un atomo con numero atomico diverso, si otterr\\xE0:'\n ),\n Object(preact_min[\"h\"])(\n 'ul',\n null,\n Object(preact_min[\"h\"])(\n 'li',\n null,\n 'Con numero atomico maggiore, un semiconduttore di ',\n Object(preact_min[\"h\"])(\n minus_Minus,\n null,\n 'tipo N'\n ),\n ' con ',\n Object(preact_min[\"h\"])(\n minus_Minus,\n null,\n 'elettroni in eccesso'\n ),\n ' liberi di scorrere.'\n ),\n Object(preact_min[\"h\"])(\n 'li',\n null,\n 'Con numero atomico minore, un semiconduttore di ',\n Object(preact_min[\"h\"])(\n plus_Plus,\n null,\n 'tipo P'\n ),\n ' con ',\n Object(preact_min[\"h\"])(\n plus_Plus,\n null,\n 'lacune in eccesso'\n ),\n ' libere di catturare elettroni da altri legami.'\n )\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Maggiore impurezza porta a maggiore conduttivit\\xE0.'\n )\n);\n\nvar _ref160 = Object(preact_min[\"h\"])(\n panel_Panel,\n { title: 'Temperatura' },\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Aumentando la temperatura di un semiconduttore si aumenta la conduttivit\\xE0, perch\\xE8 eccita le particelle e favorisce il movimento di ',\n Object(preact_min[\"h\"])(\n minus_Minus,\n null,\n 'elettroni'\n ),\n ' e ',\n Object(preact_min[\"h\"])(\n plus_Plus,\n null,\n 'lacune'\n ),\n '.'\n )\n);\n\nvar _ref161 = Object(preact_min[\"h\"])(\n 'span',\n null,\n 'Ottica ',\n Object(preact_min[\"h\"])(\n 'small',\n null,\n '(non l\\'abbiamo fatta)'\n )\n);\n\nvar _ref162 = Object(preact_min[\"h\"])(\n panel_Panel,\n { title: 'Assorbimento e riflessione' },\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'I corpi possono assorbire o riflettere le onde elettromagnetiche che li colpiscono.'\n )\n);\n\nvar _ref163 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Un corpo nero \\xE8 un corpo che assorbe tutte le onde elettromagnetiche che riceve senza rifletterne nessuna.'\n);\n\nvar _ref164 = Object(preact_min[\"h\"])(\n panel_Panel,\n { title: 'Teoria di Planck per il corpo nero' },\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'L\\'energia assorbita e emessa dai corpi neri \\xE8 quantizzata.'\n )\n);\n\nvar _ref165 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Un onda magnetica con un quanto di energia \\xE8 detta ',\n Object(preact_min[\"h\"])(\n 'i',\n null,\n 'fotone'\n ),\n ':'\n);\n\nvar _ref166 = Object(preact_min[\"h\"])(\n panel_Panel,\n { title: 'Effetto fotoelettrico' },\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'A volte, i fotoni che colpiscono un metallo possono estrarvi degli elettroni e creare una differenza di potenziale.'\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Perch\\xE8 avvenga, la frequenza deve essere maggiore di una certa soglia.'\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Il numero di elettroni estratti dipende dall\\'intensit\\xE0 dell\\'onda, mentre l\\'energia cinetica degli elettroni dipende dalla frequenza.'\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Non c\\'\\xE8 nessun ritardo tra l\\'assorbimento del fotone e l\\'estrazione di elettroni.'\n )\n);\n\nvar fisica_Fisica = function (_Component) {\n fisica__inherits(Fisica, _Component);\n\n function Fisica() {\n fisica__classCallCheck(this, Fisica);\n\n return fisica__possibleConstructorReturn(this, _Component.apply(this, arguments));\n }\n\n Fisica.prototype.render = function render() {\n return Object(preact_min[\"h\"])(\n 'div',\n { style: fisica_default.a.fisica },\n fisica__ref,\n Object(preact_min[\"h\"])(\n split_Split,\n { title: 'Vettori' },\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: 'Componenti cartesiane' },\n fisica__ref2,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject)\n )\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject2)\n )\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject3)\n )\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: 'Somma' },\n fisica__ref3,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject4)\n )\n ),\n _ref4\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: 'Differenza' },\n _ref5,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject5)\n )\n ),\n _ref6\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: 'Prodotto scalare' },\n _ref7,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject6)\n )\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Produce il modulo della proiezione di ',\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject7)\n ),\n ' su ',\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject8)\n ),\n '.'\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: 'Prodotto vettoriale' },\n _ref8,\n Object(preact_min[\"h\"])(\n 'ul',\n null,\n Object(preact_min[\"h\"])(\n 'li',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject9)\n )\n ),\n Object(preact_min[\"h\"])(\n 'li',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject10)\n )\n ),\n _ref9\n ),\n _ref10\n )\n ),\n Object(preact_min[\"h\"])(\n split_Split,\n { title: 'Leggi di Newton' },\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: '1\\u1D43: Inerzia' },\n _ref11,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject11)\n )\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: '2\\u1D43: Proporzionalit\\xE0' },\n _ref12,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject12)\n )\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: '3\\u1D43: Azione e reazione' },\n _ref13,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject13)\n )\n )\n )\n ),\n Object(preact_min[\"h\"])(\n split_Split,\n { title: 'Forza di gravit\\xE0' },\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: 'Tra due corpi' },\n _ref14,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject14)\n )\n ),\n _ref15,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject15)\n )\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: 'Verso la Terra' },\n _ref16,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject16)\n )\n ),\n _ref17,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject17)\n )\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: 'Su pianeti diversi' },\n _ref18,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject16)\n )\n ),\n _ref19,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject18)\n )\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject19)\n )\n )\n )\n ),\n Object(preact_min[\"h\"])(\n split_Split,\n { title: 'Forze di contatto' },\n _ref20,\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: 'Attrito statico' },\n _ref21,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject20)\n )\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: 'Attrito dinamico' },\n _ref22,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject21)\n )\n )\n ),\n _ref23,\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: 'Elastica' },\n _ref24,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject22)\n )\n ),\n _ref25\n )\n ),\n Object(preact_min[\"h\"])(\n split_Split,\n { title: 'Cinematica' },\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: 'Spostamento' },\n _ref26,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject23)\n )\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: 'Velocit\\xE0' },\n _ref27,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject24)\n )\n ),\n _ref28,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject25)\n )\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: 'Accelerazione' },\n _ref29,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject26)\n )\n ),\n _ref30,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject27)\n )\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: _ref31 },\n _ref32,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject28)\n )\n ),\n _ref33,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject29)\n )\n )\n )\n ),\n Object(preact_min[\"h\"])(\n split_Split,\n { title: 'Moto rettilineo uniforme' },\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: 'Spostamento' },\n _ref34,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject30)\n )\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: 'Velocit\\xE0' },\n _ref35,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject31)\n )\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: 'Accelerazione' },\n _ref36,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject32)\n )\n )\n ),\n _ref37\n ),\n Object(preact_min[\"h\"])(\n split_Split,\n { title: 'Moto rettilineo uniformemente accelerato' },\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: 'Spostamento' },\n _ref38,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject33)\n )\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: 'Velocit\\xE0' },\n _ref39,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject34)\n )\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: 'Accelerazione' },\n _ref40,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject35)\n )\n )\n ),\n _ref41\n ),\n Object(preact_min[\"h\"])(\n split_Split,\n { title: 'Moto armonico semplice' },\n _ref42,\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: 'Velocit\\xE0 angolare' },\n _ref43,\n _ref44,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject36)\n )\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: 'Spostamento' },\n _ref45,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject37)\n )\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: 'Velocit\\xE0' },\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'E\\' la sinusoide dello spostamento, sfasata di ',\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject38)\n ),\n ':'\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject39)\n )\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: 'Accelerazione' },\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'E\\' la sinusoide della velocit\\xE0, sfasata di ',\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject40)\n ),\n ':'\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject41)\n )\n )\n ),\n _ref46\n ),\n Object(preact_min[\"h\"])(\n split_Split,\n { title: 'Moti composti' },\n _ref47,\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: 'Moto circolare uniforme' },\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Il moto parabolico \\xE8 dato sommando due moti armonici semplici: uno sull\\'asse X, e l\\'altro, sfasato di ',\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject38)\n ),\n ', sull\\'asse Y.'\n )\n )\n ),\n Object(preact_min[\"h\"])(\n split_Split,\n { title: 'Moto circolare uniforme' },\n Object(preact_min[\"h\"])(\n panel_Panel,\n null,\n _ref48,\n _ref49,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject36)\n )\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: 'Fase' },\n _ref50,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Si indica con ',\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject42)\n ),\n ', e generalmente si usa in radianti.'\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: 'Velocit\\xE0' },\n _ref51,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject43)\n )\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: 'Accelerazione' },\n _ref52,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject44)\n )\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: 'Forza centripeta' },\n _ref53,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject45)\n )\n )\n )\n ),\n Object(preact_min[\"h\"])(\n split_Split,\n { title: 'Lavoro ed energia' },\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: 'Lavoro' },\n _ref54,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject46)\n )\n ),\n _ref55\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: 'Energia cinetica' },\n _ref56,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject47)\n )\n ),\n _ref57,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject48)\n )\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: 'Energia potenziale gravitazionale' },\n _ref58,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject49)\n )\n ),\n _ref59\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: 'Energia potenziale elastica' },\n _ref60,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject50)\n )\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: 'Forze conservative' },\n _ref61,\n _ref62,\n _ref63,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject51)\n )\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: 'Potenza' },\n _ref64,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject52)\n )\n )\n )\n ),\n Object(preact_min[\"h\"])(\n split_Split,\n { title: 'Elettrostatica' },\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: 'Carica elettrica' },\n _ref65,\n _ref66,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Esiste un\\'unit\\xE0 elementare: ',\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject53)\n ),\n '.'\n ),\n _ref67\n ),\n _ref68\n ),\n _ref69,\n _ref70,\n _ref71,\n Object(preact_min[\"h\"])(\n split_Split,\n { title: 'Forza elettrica' },\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: 'Legge di Coulomb' },\n _ref72,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject54)\n )\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject55)\n ),\n ' \\xE8 la ',\n _ref73,\n ', e vale ',\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject56)\n ),\n '.'\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: 'Permeabilit\\xE0 dello spazio vuoto' },\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'La costante ',\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject55)\n ),\n ' \\xE8 in realt\\xE0 dipendente da un altra costante, ',\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject57)\n ),\n ', la ',\n _ref74,\n '.'\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject58)\n )\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject59)\n )\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: 'Campo elettrico' },\n _ref75,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject60)\n )\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: 'Flusso elettrico' },\n _ref76,\n _ref77,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject61)\n )\n ),\n _ref78,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject62)\n )\n ),\n _ref79\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: 'Legge di Gauss per i campi elettrostatici' },\n _ref80,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject63)\n )\n ),\n _ref81\n )\n ),\n Object(preact_min[\"h\"])(\n split_Split,\n { title: 'Energia elettrica' },\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: 'Energia potenziale elettrica' },\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Un corpo carico vicino ad altre cariche possiede un\\'',\n _ref82,\n ' ',\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject64)\n ),\n '.'\n )\n )\n ),\n Object(preact_min[\"h\"])(\n split_Split,\n { title: 'Circuiti elettrici' },\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: _ref83 },\n _ref84,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject65)\n )\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'La sua unit\\xE0 di misura \\xE8 il Volt (',\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject66)\n ),\n ').'\n ),\n _ref85\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: _ref86 },\n _ref87,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject67)\n )\n ),\n _ref88,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'La sua unit\\xE0 di misura \\xE8 l\\'Ampere (',\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject68)\n ),\n ').'\n )\n ),\n _ref89,\n _ref90,\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: 'Potenza elettrica' },\n _ref91,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject69)\n )\n )\n )\n ),\n Object(preact_min[\"h\"])(\n split_Split,\n { title: 'Elementi di un circuito' },\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: 'Resistore' },\n _ref92,\n _ref93,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject70)\n )\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Dove ',\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject71)\n ),\n ' \\xE8 una costante detta ',\n _ref94,\n ' con unit\\xE0 di misura Ohm (',\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject72)\n ),\n ').'\n ),\n _ref95,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject73)\n )\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject74)\n ),\n ' \\xE8 la ',\n _ref96,\n ' del materiale, e varia in base alla temperatura:'\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject75)\n )\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: 'Condensatore' },\n _ref97,\n _ref98,\n _ref99,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject76)\n )\n ),\n _ref100,\n _ref101,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject77)\n )\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Dove ',\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject78)\n ),\n ' \\xE8 la ',\n _ref102,\n ' del materiale inserito, ',\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject68)\n ),\n ' l\\'area di una armatura e ',\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject79)\n ),\n ' la distanza tra le due armature.'\n ),\n _ref103,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'La sua unit\\xE0 di misura \\xE8 il Farad (',\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject80)\n ),\n ')'\n )\n ),\n _ref104,\n _ref105\n ),\n _ref106,\n _ref107,\n Object(preact_min[\"h\"])(\n split_Split,\n { title: 'Resistenze equivalenti' },\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: 'Circuiti in serie' },\n _ref108,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject81)\n )\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: 'Circuiti in parallelo' },\n _ref109,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject82)\n )\n )\n )\n ),\n Object(preact_min[\"h\"])(\n split_Split,\n { title: 'Condensatori equivalenti' },\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: 'Circuiti in serie' },\n _ref110,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject83)\n )\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: 'Circuiti in parallelo' },\n _ref111,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject84)\n )\n )\n )\n ),\n Object(preact_min[\"h\"])(\n split_Split,\n { title: 'Magnetismo' },\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: 'Permeabilit\\xE0 magnetica dello spazio vuoto' },\n _ref112,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject85)\n ),\n ' (',\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject86)\n ),\n ')'\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: 'Campo magnetico' },\n _ref113,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Il suo simbolo \\xE8 ',\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject87)\n ),\n ', e la sua unit\\xE0 di misura \\xE8 il Tesla (',\n _ref114,\n ').'\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: 'Flusso magnetico' },\n _ref115,\n _ref116,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject88)\n )\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject89)\n )\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'La sua unit\\xE0 di misura \\xE8 il Weber (',\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject90)\n ),\n ').'\n )\n ),\n _ref117,\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: 'Legge di Amp\\xE8re' },\n _ref118,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject91)\n )\n )\n )\n ),\n Object(preact_min[\"h\"])(\n split_Split,\n { title: 'Forze magnetiche' },\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: _ref119 },\n _ref120,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject92)\n )\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Dove ',\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject93)\n ),\n ' \\xE8 l\\'intensit\\xE0 del campo magnetico e ',\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject94)\n ),\n ' la velocit\\xE0 della carica considerata.'\n ),\n _ref121,\n _ref122\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: 'Forza magnetica in un filo' },\n _ref123,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject95)\n ),\n ' ',\n _ref124\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Dove ',\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject96)\n ),\n ' \\xE8 la corrente elettrica, ',\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject97)\n ),\n ' \\xE8 un vettore che punta nella direzione di scorrimento della corrente e ha come modulo la lunghezza del conduttore.'\n )\n )\n ),\n Object(preact_min[\"h\"])(\n split_Split,\n { title: 'Campi magnetici' },\n _ref125,\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: 'Campo magnetico di un solenoide' },\n _ref126,\n _ref127,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject98)\n )\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: 'Legge di Oersted' },\n _ref128,\n _ref129,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject99)\n )\n ),\n _ref130,\n _ref131\n )\n ),\n Object(preact_min[\"h\"])(\n split_Split,\n { title: 'Induzione elettromagnetica' },\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: 'Forza elettromotrice indotta' },\n _ref132,\n _ref133,\n _ref134,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject100)\n )\n ),\n _ref135\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: 'Flusso magnetico in una spira' },\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'In un campo magnetico ',\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject87)\n ),\n ' uniforme e perpendicolare al piano di una spira di area ',\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject68)\n ),\n ', il flusso magnetico si pu\\xF2 determinare con la ',\n _ref136,\n ':'\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject101)\n )\n )\n )\n ),\n Object(preact_min[\"h\"])(\n split_Split,\n null,\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: 'Legge di Faraday-Neumann-Lenz' },\n _ref137,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject102)\n )\n ),\n _ref138\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: 'Faraday in un solenoide' },\n _ref139,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject103)\n )\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Dove ',\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject104)\n ),\n ' \\xE8 il numero delle spire del solenoide.'\n )\n ),\n _ref140\n ),\n Object(preact_min[\"h\"])(\n split_Split,\n { title: 'Elettromagnetismo' },\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: 'Onde elettromagnetiche' },\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Nel vuoto, il campo elettrico ',\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject105)\n ),\n ' e il campo magnetico ',\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject87)\n ),\n ' sono perpendicolari tra loro e la direzione di propagazione, e sono entrambe funzioni del tempo.'\n ),\n _ref141,\n _ref142,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject106)\n )\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Dove ',\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject107)\n ),\n ' \\xE8 la velocit\\xE0 delle onde (luce) nel vuoto, e a sua volta \\xE8 uguale a:'\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject108)\n )\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: 'Formula delle onde' },\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject109)\n )\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Dove ',\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject110)\n ),\n ' \\xE8 l\\'ampiezza massima che pu\\xF2 avere l\\'onda, ',\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject111)\n ),\n ' \\xE8 il vettore d\\'onda, ',\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject112)\n ),\n ' la frequenza angolare e ',\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject42)\n ),\n ' la fase.'\n )\n )\n ),\n Object(preact_min[\"h\"])(\n split_Split,\n { title: 'Spettroscopia' },\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: 'Emissione' },\n _ref143,\n _ref144,\n _ref145,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject113)\n )\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Con ',\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject114)\n ),\n ', detta costante di Rydberg, e ',\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject115)\n ),\n ' un numero intero.'\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: 'Grandezza quantizzata' },\n _ref146,\n _ref147,\n _ref148,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Nota costante quantica \\xE8 ',\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject116)\n ),\n ', la costante di Planck, ovvero il valore minimo possibile per la carica (talvolta espressa come ',\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject117)\n ),\n '.'\n )\n )\n ),\n Object(preact_min[\"h\"])(\n split_Split,\n null,\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: 'Modello di Bohr' },\n _ref149,\n _ref150,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject118)\n )\n ),\n _ref151,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject119)\n )\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Con ',\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject120)\n ),\n '.'\n ),\n _ref152,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject121)\n )\n ),\n _ref153,\n _ref154\n )\n ),\n _ref155,\n Object(preact_min[\"h\"])(\n split_Split,\n { title: 'Semiconduttori' },\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: 'Semiconduttori' },\n _ref156,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Se la banda di emissione con energia pi\\xF9 alta di un corpo \\xE8 assente o \\xE8 separata da un gap dell\\'ordine di grandezza maggiore di ',\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject122)\n ),\n ', allora il corpo \\xE8 un isolante.'\n ),\n _ref157,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Se il gap \\xE8 invece dell\\'ordine di grandezza di ',\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject123)\n ),\n ', allora il corpo \\xE8 un semiconduttore.'\n )\n ),\n _ref158,\n _ref159,\n _ref160\n ),\n Object(preact_min[\"h\"])(\n split_Split,\n { title: _ref161 },\n _ref162,\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: 'Corpo nero' },\n _ref163,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Le onde assorbite vengono poi riemesse sotto forma di un onda di ',\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject124)\n ),\n ' variabile in base alla temperatura.'\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject125)\n ),\n ' \\xE8 costante.'\n )\n ),\n _ref164,\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: 'Fotone' },\n _ref165,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n r(_templateObject126)\n )\n )\n ),\n _ref166\n )\n );\n };\n\n return Fisica;\n}(preact_min[\"Component\"]);\n\n\n// EXTERNAL MODULE: ./pages/vldigeometria.css\nvar vldigeometria = __webpack_require__(\"jHTF\");\nvar vldigeometria_default = /*#__PURE__*/__webpack_require__.n(vldigeometria);\n\n// EXTERNAL MODULE: ./components/markdown.css\nvar markdown = __webpack_require__(\"MKE3\");\nvar markdown_default = /*#__PURE__*/__webpack_require__.n(markdown);\n\n// EXTERNAL MODULE: ../node_modules/showdown/dist/showdown.js\nvar showdown = __webpack_require__(\"6adR\");\nvar showdown_default = /*#__PURE__*/__webpack_require__.n(showdown);\n\n// CONCATENATED MODULE: ./components/markdown.js\n\n\nfunction markdown__classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction markdown__possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction markdown__inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\n\n\n\n\nvar markdown_Markdown = function (_Component) {\n markdown__inherits(Markdown, _Component);\n\n function Markdown() {\n markdown__classCallCheck(this, Markdown);\n\n return markdown__possibleConstructorReturn(this, _Component.apply(this, arguments));\n }\n\n Markdown.prototype.render = function render() {\n var converter = new showdown_default.a.Converter();\n converter.setFlavor(\"github\");\n var html = converter.makeHtml(\"\" + this.props.children);\n // noinspection CheckTagEmptyBody\n return Object(preact_min[\"h\"])(\"div\", { style: markdown_default.a.markdown, dangerouslySetInnerHTML: { __html: html } });\n };\n\n return Markdown;\n}(preact_min[\"Component\"]);\n\n\n// CONCATENATED MODULE: ./pages/vldigeometria.js\nvar vldigeometria__templateObject = vldigeometria__taggedTemplateLiteralLoose(['\\nTutte le videolezioni sono state pubblicate sotto licenza [CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/) dalla Prof.ssa Beatrice Ruini nell\\'anno accademico 2018/2019 sul [portale Dolly 2018](https://dolly.fim.unimore.it/2018/course/view.php?id=14#section-0) (Moodle).\\n\\nPer comodit\\xE0, ho estratto l\\'url sorgente del video dall\\'embed presente nella rispettiva pagina.\\n\\n1. [Definizione di Spazio Vettoriale](https://www.youtube.com/watch?v=7eHEzf4403c) (1:17:29)\\n2. [Sottospazi vettoriali I](https://www.youtube.com/watch?v=FPqrULk5HBU) (37:15)\\n3. [Sottospazi vettoriali II](https://www.youtube.com/watch?v=ubDWUw9hk0k) (43:26)\\n4. [Sottospazi vettoriali III](https://www.youtube.com/watch?v=381n4NPb6Oc) (40:29)\\n5. [Lineare dipendenza e indipendenza](https://www.youtube.com/watch?v=9YVQ5olYrh0) (56:12)\\n6. [Basi di uno spazio vettoriale I](https://www.youtube.com/watch?v=mEF_lcTzEoE) (25:52)\\n7. [Basi di uno spazio vettoriale II](https://www.youtube.com/watch?v=k1r9JfXY53k) (48:24)\\n8. [Teorema di Grassmann](https://www.youtube.com/watch?v=3sqB-MMyCWM) (32:36)\\n9. [Basi e Matrici](https://www.youtube.com/watch?v=Rd6AB_jE7YI) (27:06)\\n10. [Definizione di Applicazioni Lineari](https://www.youtube.com/watch?v=rmd7ffZeVYk) (16:23)\\n11. [Propriet\\xE0 delle Applicazioni Lineari](https://www.youtube.com/watch?v=MH7ztQGkqmw) (31:58)\\n12. [Definizione di determinante](https://www.youtube.com/watch?v=EwubcLwBdzk) (36:43)\\n13. [Propriet\\xE0 e metodo di triangolazione](https://www.youtube.com/watch?v=SFusGarV6HI) (22:36)\\n14. [Teorema di Laplace](https://www.youtube.com/watch?v=BqZDWnKl2nQ) (29:03)\\n15. [4 applicazioni del Teorema di Laplace](https://www.youtube.com/watch?v=2tr3y725GY0) (47:53)\\n16. [Spazi vettoriali euclidei reali - Parte 1](https://www.youtube.com/watch?v=W7Z1hm-jwMM) (28:46)\\n17. [Spazi vettoriali euclidei reali - Parte 2](https://www.youtube.com/watch?v=zjmKE9TMGm8) (27:17)\\n18. [Autovalori e autovettori](https://www.youtube.com/watch?v=XlrlcnvcTtQ) (33:00)\\n19. [Polinomio caratteristico](https://www.youtube.com/watch?v=61icRbgWTdI) (31:31)\\n20. [Teorema diagonalizzabilit\\xE0](https://www.youtube.com/watch?v=wm5V6en9OFo) (18:49)\\n21. [Spazi affini](https://player.vimeo.com/video/291457587) (20:46)\\n22. [Sottospazi affini](https://player.vimeo.com/video/291458991) (21:32)\\n23. [Parallelismo e Riferimenti Affini](https://player.vimeo.com/video/291510181) (16:57)\\n24. [Rappresentazione di Sottospazi Affini](https://player.vimeo.com/video/291510296) (31:17)\\n25. [Spazi Euclidei](https://player.vimeo.com/video/291510612) (35:57)\\n26. [Teoria dei ranghi](https://player.vimeo.com/video/291510964) (9:44)\\n27. [Teoria dei ranghi 2](https://player.vimeo.com/video/291510862) (14:44)\\n\\nNell\\'anno accademico 2018/2019 non sono stati trattati gli argomenti nei video 21, 22 e 23.\\n '], ['\\nTutte le videolezioni sono state pubblicate sotto licenza [CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/) dalla Prof.ssa Beatrice Ruini nell\\'anno accademico 2018/2019 sul [portale Dolly 2018](https://dolly.fim.unimore.it/2018/course/view.php?id=14#section-0) (Moodle).\\n\\nPer comodit\\xE0, ho estratto l\\'url sorgente del video dall\\'embed presente nella rispettiva pagina.\\n\\n1. [Definizione di Spazio Vettoriale](https://www.youtube.com/watch?v=7eHEzf4403c) (1:17:29)\\n2. [Sottospazi vettoriali I](https://www.youtube.com/watch?v=FPqrULk5HBU) (37:15)\\n3. [Sottospazi vettoriali II](https://www.youtube.com/watch?v=ubDWUw9hk0k) (43:26)\\n4. [Sottospazi vettoriali III](https://www.youtube.com/watch?v=381n4NPb6Oc) (40:29)\\n5. [Lineare dipendenza e indipendenza](https://www.youtube.com/watch?v=9YVQ5olYrh0) (56:12)\\n6. [Basi di uno spazio vettoriale I](https://www.youtube.com/watch?v=mEF_lcTzEoE) (25:52)\\n7. [Basi di uno spazio vettoriale II](https://www.youtube.com/watch?v=k1r9JfXY53k) (48:24)\\n8. [Teorema di Grassmann](https://www.youtube.com/watch?v=3sqB-MMyCWM) (32:36)\\n9. [Basi e Matrici](https://www.youtube.com/watch?v=Rd6AB_jE7YI) (27:06)\\n10. [Definizione di Applicazioni Lineari](https://www.youtube.com/watch?v=rmd7ffZeVYk) (16:23)\\n11. [Propriet\\xE0 delle Applicazioni Lineari](https://www.youtube.com/watch?v=MH7ztQGkqmw) (31:58)\\n12. [Definizione di determinante](https://www.youtube.com/watch?v=EwubcLwBdzk) (36:43)\\n13. [Propriet\\xE0 e metodo di triangolazione](https://www.youtube.com/watch?v=SFusGarV6HI) (22:36)\\n14. [Teorema di Laplace](https://www.youtube.com/watch?v=BqZDWnKl2nQ) (29:03)\\n15. [4 applicazioni del Teorema di Laplace](https://www.youtube.com/watch?v=2tr3y725GY0) (47:53)\\n16. [Spazi vettoriali euclidei reali - Parte 1](https://www.youtube.com/watch?v=W7Z1hm-jwMM) (28:46)\\n17. [Spazi vettoriali euclidei reali - Parte 2](https://www.youtube.com/watch?v=zjmKE9TMGm8) (27:17)\\n18. [Autovalori e autovettori](https://www.youtube.com/watch?v=XlrlcnvcTtQ) (33:00)\\n19. [Polinomio caratteristico](https://www.youtube.com/watch?v=61icRbgWTdI) (31:31)\\n20. [Teorema diagonalizzabilit\\xE0](https://www.youtube.com/watch?v=wm5V6en9OFo) (18:49)\\n21. [Spazi affini](https://player.vimeo.com/video/291457587) (20:46)\\n22. [Sottospazi affini](https://player.vimeo.com/video/291458991) (21:32)\\n23. [Parallelismo e Riferimenti Affini](https://player.vimeo.com/video/291510181) (16:57)\\n24. [Rappresentazione di Sottospazi Affini](https://player.vimeo.com/video/291510296) (31:17)\\n25. [Spazi Euclidei](https://player.vimeo.com/video/291510612) (35:57)\\n26. [Teoria dei ranghi](https://player.vimeo.com/video/291510964) (9:44)\\n27. [Teoria dei ranghi 2](https://player.vimeo.com/video/291510862) (14:44)\\n\\nNell\\'anno accademico 2018/2019 non sono stati trattati gli argomenti nei video 21, 22 e 23.\\n ']);\n\n\n\nfunction vldigeometria__taggedTemplateLiteralLoose(strings, raw) { strings.raw = raw; return strings; }\n\nfunction vldigeometria__classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction vldigeometria__possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction vldigeometria__inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\n\n\n\n\n\nvar vldigeometria_r = String.raw;\n\nvar vldigeometria__ref = Object(preact_min[\"h\"])(\n\t'h1',\n\tnull,\n\t'Videolezioni di Geometria'\n);\n\nvar vldigeometria_VlDiGeometria = function (_Component) {\n\tvldigeometria__inherits(VlDiGeometria, _Component);\n\n\tfunction VlDiGeometria() {\n\t\tvldigeometria__classCallCheck(this, VlDiGeometria);\n\n\t\treturn vldigeometria__possibleConstructorReturn(this, _Component.apply(this, arguments));\n\t}\n\n\tVlDiGeometria.prototype.render = function render() {\n\t\t//Imported from unimore-info-wiki\n\t\treturn Object(preact_min[\"h\"])(\n\t\t\t'div',\n\t\t\t{ style: vldigeometria_default.a.vldigeometria },\n\t\t\tvldigeometria__ref,\n\t\t\tObject(preact_min[\"h\"])(\n\t\t\t\tpanel_Panel,\n\t\t\t\tnull,\n\t\t\t\tObject(preact_min[\"h\"])(\n\t\t\t\t\tmarkdown_Markdown,\n\t\t\t\t\tnull,\n\t\t\t\t\tvldigeometria_r(vldigeometria__templateObject)\n\t\t\t\t)\n\t\t\t)\n\t\t);\n\t};\n\n\treturn VlDiGeometria;\n}(preact_min[\"Component\"]);\n\n\n// EXTERNAL MODULE: ./pages/mingwinstall.css\nvar mingwinstall = __webpack_require__(\"5m9J\");\nvar mingwinstall_default = /*#__PURE__*/__webpack_require__.n(mingwinstall);\n\n// CONCATENATED MODULE: ./pages/mingwinstall.js\n\n\nfunction mingwinstall__classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction mingwinstall__possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction mingwinstall__inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\n\n\n\n\nvar mingwinstall__ref = Object(preact_min[\"h\"])(\n\t'h1',\n\tnull,\n\t'Come installare MinGW'\n);\n\nvar mingwinstall__ref2 = Object(preact_min[\"h\"])(\n\tpanel_Panel,\n\tnull,\n\tObject(preact_min[\"h\"])(\n\t\t'p',\n\t\tnull,\n\t\t' Scaricate ',\n\t\tObject(preact_min[\"h\"])(\n\t\t\t'a',\n\t\t\t{ href: 'https://osdn.net/projects/mingw/downloads/68260/mingw-get-setup.exe/' },\n\t\t\t'l\\'installer ufficiale'\n\t\t),\n\t\t', ed eseguitelo.'\n\t),\n\tObject(preact_min[\"h\"])('img', { src: 'https://i.imgur.com/mDZSqjV.png', alt: '' }),\n\tObject(preact_min[\"h\"])(\n\t\t'p',\n\t\tnull,\n\t\t' Dovrebbe comparire questa schermata. Cliccate su ',\n\t\tObject(preact_min[\"h\"])(\n\t\t\t'code',\n\t\t\tnull,\n\t\t\t'Install'\n\t\t),\n\t\t', poi scegliete una cartella di installazione (ricordatevela!) e poi ',\n\t\tObject(preact_min[\"h\"])(\n\t\t\t'code',\n\t\t\tnull,\n\t\t\t'Continue'\n\t\t),\n\t\t'. Lasciate stare le altre opzioni, dovrebbero essere tutte spuntate, tranne ',\n\t\tObject(preact_min[\"h\"])(\n\t\t\t'code',\n\t\t\tnull,\n\t\t\t'For all users'\n\t\t),\n\t\t', che dovrebbe essere disattivato.'\n\t),\n\tObject(preact_min[\"h\"])('img', { src: 'https://i.imgur.com/brdw8Xy.png', alt: '' }),\n\tObject(preact_min[\"h\"])(\n\t\t'p',\n\t\tnull,\n\t\t' Aspettate che finisca il download. Pochi secondi dopo, dovrebbe finire e dovrebbe apparire un tasto',\n\t\tObject(preact_min[\"h\"])(\n\t\t\t'code',\n\t\t\tnull,\n\t\t\t'Continue'\n\t\t),\n\t\t'. Premetelo.'\n\t),\n\tObject(preact_min[\"h\"])('img', { src: 'https://i.imgur.com/aPTwrxz.png', alt: '' }),\n\tObject(preact_min[\"h\"])(\n\t\t'p',\n\t\tnull,\n\t\t' Dovrebbe apparirvi questa finestra. L\\'installer di MinGW \\xE8 una specie di gestore pacchetti (tipo ',\n\t\tObject(preact_min[\"h\"])(\n\t\t\t'code',\n\t\t\tnull,\n\t\t\t'apt'\n\t\t),\n\t\t' su Ubuntu); potete scegliere quali pacchetti installare, e quindi quali funzionalit\\xE0.'\n\t),\n\tObject(preact_min[\"h\"])('img', { src: 'https://i.imgur.com/5QLSkFN.png', alt: '' }),\n\tObject(preact_min[\"h\"])(\n\t\t'p',\n\t\tnull,\n\t\t' Nel nostro caso, dovrebbero servirci ',\n\t\tObject(preact_min[\"h\"])(\n\t\t\t'code',\n\t\t\tnull,\n\t\t\t'mingw32-base-bin'\n\t\t),\n\t\t' (per il C e alcune librerie C++) e',\n\t\tObject(preact_min[\"h\"])(\n\t\t\t'code',\n\t\t\tnull,\n\t\t\t'mingw32-gcc-g++-bin'\n\t\t),\n\t\t' (per il C++). Cliccate, quindi, sui due quadratini corrispondenti, e premete',\n\t\tObject(preact_min[\"h\"])(\n\t\t\t'code',\n\t\t\tnull,\n\t\t\t'Mark for Installation'\n\t\t),\n\t\t'. Dovrebbe comparire una freccia gialla sul quadratino.'\n\t),\n\tObject(preact_min[\"h\"])('img', { src: 'https://i.imgur.com/zP74nks.png', alt: '' }),\n\tObject(preact_min[\"h\"])(\n\t\t'p',\n\t\tnull,\n\t\t' Ora, \\xE8 il momento di installare i pacchetti. Aprite il men\\xF9 ',\n\t\tObject(preact_min[\"h\"])(\n\t\t\t'code',\n\t\t\tnull,\n\t\t\t'Installation'\n\t\t),\n\t\t', poi premete',\n\t\tObject(preact_min[\"h\"])(\n\t\t\t'code',\n\t\t\tnull,\n\t\t\t'Apply Changes'\n\t\t),\n\t\t', e di nuovo ',\n\t\tObject(preact_min[\"h\"])(\n\t\t\t'code',\n\t\t\tnull,\n\t\t\t'Apply'\n\t\t),\n\t\t'.'\n\t),\n\tObject(preact_min[\"h\"])('img', { src: 'https://i.imgur.com/jp4uz5B.png', alt: '' }),\n\tObject(preact_min[\"h\"])(\n\t\t'p',\n\t\tnull,\n\t\t' Lasciate che scarichi, ci vorr\\xE0 un po\\'. Guardatevi un video nel frattempo, fatevi una partitina a qualcosa, tornate dopo circa 10 minuti.'\n\t),\n\tObject(preact_min[\"h\"])('img', { src: 'https://i.imgur.com/Lq9IepY.png', alt: '' }),\n\tObject(preact_min[\"h\"])(\n\t\t'p',\n\t\tnull,\n\t\t' Una volta installato, dobbiamo aggiungere ',\n\t\tObject(preact_min[\"h\"])(\n\t\t\t'code',\n\t\t\tnull,\n\t\t\t'g++'\n\t\t),\n\t\t' ai programmi eseguibili da Prompt dei Comandi: premete il tasto ',\n\t\tObject(preact_min[\"h\"])(\n\t\t\t'kbd',\n\t\t\tnull,\n\t\t\t'Windows'\n\t\t),\n\t\t', e scrivete ',\n\t\tObject(preact_min[\"h\"])(\n\t\t\t'code',\n\t\t\tnull,\n\t\t\t'PATH'\n\t\t),\n\t\t'. Windows dovrebbe trovarvi automaticamente quell\\'opzione.'\n\t),\n\tObject(preact_min[\"h\"])('img', { src: 'https://i.imgur.com/dy3b5Ub.png', alt: '' }),\n\tObject(preact_min[\"h\"])(\n\t\t'p',\n\t\tnull,\n\t\t' Dentro la finestra di ',\n\t\tObject(preact_min[\"h\"])(\n\t\t\t'i',\n\t\t\tnull,\n\t\t\t'Propriet\\xE0 del Sistema'\n\t\t),\n\t\t', premete ',\n\t\tObject(preact_min[\"h\"])(\n\t\t\t'code',\n\t\t\tnull,\n\t\t\t'Variabili d\\'ambiente'\n\t\t),\n\t\t'.'\n\t),\n\tObject(preact_min[\"h\"])('img', { src: 'https://i.imgur.com/FjYpT1n.png', alt: '' }),\n\tObject(preact_min[\"h\"])(\n\t\t'p',\n\t\tnull,\n\t\t' Trovate la variabile d\\'ambiente globale ',\n\t\tObject(preact_min[\"h\"])(\n\t\t\t'code',\n\t\t\tnull,\n\t\t\t'Path'\n\t\t),\n\t\t', e fateci doppio click per modificarla.'\n\t),\n\tObject(preact_min[\"h\"])('img', { src: 'https://i.imgur.com/klZQ9So.png', alt: '' }),\n\tObject(preact_min[\"h\"])(\n\t\t'p',\n\t\tnull,\n\t\t' Ora dovreste vedere l\\'elenco di tutte le cartelle contenenti programmi eseguibili da terminale: dobbiamo aggiungere quella di MinGW! Premete ',\n\t\tObject(preact_min[\"h\"])(\n\t\t\t'code',\n\t\t\tnull,\n\t\t\t'Sfoglia'\n\t\t),\n\t\t'.'\n\t),\n\tObject(preact_min[\"h\"])('img', { src: 'https://i.imgur.com/F6lBCqS.png', alt: '' }),\n\tObject(preact_min[\"h\"])(\n\t\t'p',\n\t\tnull,\n\t\t' Trovate la cartella in cui avete installato MinGW (vi avevo detto di ricordarvela!); entrateci, poi selezionate la sottocartella ',\n\t\tObject(preact_min[\"h\"])(\n\t\t\t'code',\n\t\t\tnull,\n\t\t\t'bin'\n\t\t),\n\t\t' e premete ',\n\t\tObject(preact_min[\"h\"])(\n\t\t\t'code',\n\t\t\tnull,\n\t\t\t'OK'\n\t\t),\n\t\t' su tutte le finestre che avete aperto fino ad ora, chiudendole.'\n\t),\n\tObject(preact_min[\"h\"])(\n\t\t'p',\n\t\tnull,\n\t\t' Complimenti! Avete installato MinGW e potete compilare programmi C e C++ da Windows! Avete a disposizione',\n\t\tObject(preact_min[\"h\"])(\n\t\t\t'code',\n\t\t\tnull,\n\t\t\t'gcc'\n\t\t),\n\t\t' e ',\n\t\tObject(preact_min[\"h\"])(\n\t\t\t'code',\n\t\t\tnull,\n\t\t\t'g++'\n\t\t),\n\t\t' sul Prompt dei Comandi, e potete finalmente creare dei file .exe! '\n\t)\n);\n\nvar mingwinstall_MingwInstall = function (_Component) {\n\tmingwinstall__inherits(MingwInstall, _Component);\n\n\tfunction MingwInstall() {\n\t\tmingwinstall__classCallCheck(this, MingwInstall);\n\n\t\treturn mingwinstall__possibleConstructorReturn(this, _Component.apply(this, arguments));\n\t}\n\n\tMingwInstall.prototype.render = function render() {\n\t\t//Imported from unimore-info-wiki\n\t\treturn Object(preact_min[\"h\"])(\n\t\t\t'div',\n\t\t\t{ style: mingwinstall_default.a.mingwinstall },\n\t\t\tmingwinstall__ref,\n\t\t\tmingwinstall__ref2\n\t\t);\n\t};\n\n\treturn MingwInstall;\n}(preact_min[\"Component\"]);\n\n\n// EXTERNAL MODULE: ./components/copyright.css\nvar copyright = __webpack_require__(\"qMTX\");\nvar copyright_default = /*#__PURE__*/__webpack_require__.n(copyright);\n\n// CONCATENATED MODULE: ./components/copyright.js\n\n\nfunction copyright__classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction copyright__possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction copyright__inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\n\n\n\nvar copyright__ref = Object(preact_min[\"h\"])(\n\t'a',\n\t{ href: 'https://creativecommons.org/licenses/by-sa/4.0/' },\n\t'CC BY-SA 4.0'\n);\n\nvar copyright__ref2 = Object(preact_min[\"h\"])(\n\t'a',\n\t{ href: 'https://github.com/Steffo99/appuntiweb' },\n\t'Codice sorgente'\n);\n\nvar copyright_Copyright = function (_Component) {\n\tcopyright__inherits(Copyright, _Component);\n\n\tfunction Copyright() {\n\t\tcopyright__classCallCheck(this, Copyright);\n\n\t\treturn copyright__possibleConstructorReturn(this, _Component.apply(this, arguments));\n\t}\n\n\tCopyright.prototype.render = function render() {\n\t\treturn Object(preact_min[\"h\"])(\n\t\t\t'div',\n\t\t\t{ 'class': copyright_default.a.copyright },\n\t\t\t'\\xA9 2019 - Stefano Pigozzi - ',\n\t\t\tcopyright__ref,\n\t\t\t' - ',\n\t\t\tcopyright__ref2\n\t\t);\n\t};\n\n\treturn Copyright;\n}(preact_min[\"Component\"]);\n\n\n// EXTERNAL MODULE: ./pages/statistica.css\nvar statistica = __webpack_require__(\"WViY\");\nvar statistica_default = /*#__PURE__*/__webpack_require__.n(statistica);\n\n// EXTERNAL MODULE: ./components/theorem.css\nvar theorem = __webpack_require__(\"oNmJ\");\nvar theorem_default = /*#__PURE__*/__webpack_require__.n(theorem);\n\n// CONCATENATED MODULE: ./components/theorem.js\nfunction theorem__classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction theorem__possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction theorem__inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\n\n\n\nvar theorem_Theorem = function (_Panel) {\n theorem__inherits(Theorem, _Panel);\n\n function Theorem() {\n theorem__classCallCheck(this, Theorem);\n\n return theorem__possibleConstructorReturn(this, _Panel.apply(this, arguments));\n }\n\n Theorem.prototype.getStyle = function getStyle() {\n return _Panel.prototype.getStyle.call(this) + \" \" + theorem_default.a.theorem;\n };\n\n return Theorem;\n}(panel_Panel);\n\n\n// EXTERNAL MODULE: ./components/hypothesis.css\nvar hypothesis = __webpack_require__(\"pRAn\");\nvar hypothesis_default = /*#__PURE__*/__webpack_require__.n(hypothesis);\n\n// CONCATENATED MODULE: ./components/hypothesis.js\n\n\nfunction hypothesis__classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction hypothesis__possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction hypothesis__inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\n\n\n\nvar hypothesis__ref = Object(preact_min[\"h\"])(\n \"h4\",\n null,\n \"Ipotesi\"\n);\n\nvar hypothesis_Hypothesis = function (_Component) {\n hypothesis__inherits(Hypothesis, _Component);\n\n function Hypothesis() {\n hypothesis__classCallCheck(this, Hypothesis);\n\n return hypothesis__possibleConstructorReturn(this, _Component.apply(this, arguments));\n }\n\n Hypothesis.prototype.render = function render() {\n return Object(preact_min[\"h\"])(\n \"div\",\n { \"class\": hypothesis_default.a.hypothesis },\n hypothesis__ref,\n this.props.children\n );\n };\n\n return Hypothesis;\n}(preact_min[\"Component\"]);\n\n\n// EXTERNAL MODULE: ./components/thesis.css\nvar thesis = __webpack_require__(\"J9SO\");\nvar thesis_default = /*#__PURE__*/__webpack_require__.n(thesis);\n\n// CONCATENATED MODULE: ./components/thesis.js\n\n\nfunction thesis__classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction thesis__possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction thesis__inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\n\n\n\nvar thesis__ref = Object(preact_min[\"h\"])(\n \"h4\",\n null,\n \"Tesi\"\n);\n\nvar thesis_Thesis = function (_Component) {\n thesis__inherits(Thesis, _Component);\n\n function Thesis() {\n thesis__classCallCheck(this, Thesis);\n\n return thesis__possibleConstructorReturn(this, _Component.apply(this, arguments));\n }\n\n Thesis.prototype.render = function render() {\n return Object(preact_min[\"h\"])(\n \"div\",\n { \"class\": thesis_default.a.thesis },\n thesis__ref,\n this.props.children\n );\n };\n\n return Thesis;\n}(preact_min[\"Component\"]);\n\n\n// EXTERNAL MODULE: ./components/proof.css\nvar proof = __webpack_require__(\"Oqef\");\nvar proof_default = /*#__PURE__*/__webpack_require__.n(proof);\n\n// CONCATENATED MODULE: ./components/proof.js\n\n\nfunction proof__classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction proof__possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction proof__inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\n\n\n\nvar proof__ref = Object(preact_min[\"h\"])(\n \"h4\",\n null,\n \"Dimostrazione\"\n);\n\nvar proof_Proof = function (_Component) {\n proof__inherits(Proof, _Component);\n\n function Proof() {\n proof__classCallCheck(this, Proof);\n\n return proof__possibleConstructorReturn(this, _Component.apply(this, arguments));\n }\n\n Proof.prototype.render = function render() {\n return Object(preact_min[\"h\"])(\n \"div\",\n { \"class\": proof_default.a.proof },\n proof__ref,\n this.props.children\n );\n };\n\n return Proof;\n}(preact_min[\"Component\"]);\n\n\n// CONCATENATED MODULE: ./pages/statistica.js\nvar statistica__templateObject = statistica__taggedTemplateLiteralLoose(['Omega = left { 1, 2, 3, 4, 5, 6 \\right }'], ['\\\\Omega = \\\\left \\\\{ 1, 2, 3, 4, 5, 6 \\\\right \\\\}']),\n statistica__templateObject2 = statistica__taggedTemplateLiteralLoose(['omega = 1'], ['\\\\omega = 1']),\n statistica__templateObject3 = statistica__taggedTemplateLiteralLoose(['E = left { 1, 2 \\right }'], ['E = \\\\left \\\\{ 1, 2 \\\\right \\\\}']),\n statistica__templateObject4 = statistica__taggedTemplateLiteralLoose(['\\bar{E} = left { 3, 4, 5, 6 \\right }'], ['\\\\bar{E} = \\\\left \\\\{ 3, 4, 5, 6 \\\\right \\\\}']),\n statistica__templateObject5 = statistica__taggedTemplateLiteralLoose(['E cap F = left { 1 \\right }'], ['E \\\\cap F = \\\\left \\\\{ 1 \\\\right \\\\}']),\n statistica__templateObject6 = statistica__taggedTemplateLiteralLoose(['E cup F = left { 1, 2, 3, 4 \\right }'], ['E \\\\cup F = \\\\left \\\\{ 1, 2, 3, 4 \\\\right \\\\}']),\n statistica__templateObject7 = statistica__taggedTemplateLiteralLoose(['E setminus F = E cap \\bar{F}'], ['E \\\\setminus F = E \\\\cap \\\\bar{F}']),\n statistica__templateObject8 = statistica__taggedTemplateLiteralLoose(['E subseteq F'], ['E \\\\subseteq F']),\n statistica__templateObject9 = statistica__taggedTemplateLiteralLoose(['I = emptyset'], ['I = \\\\emptyset']),\n statistica__templateObject10 = statistica__taggedTemplateLiteralLoose(['E cap F = emptyset'], ['E \\\\cap F = \\\\emptyset']),\n statistica__templateObject11 = statistica__taggedTemplateLiteralLoose(['mathcal{F}'], ['\\\\mathcal{F}']),\n statistica__templateObject12 = statistica__taggedTemplateLiteralLoose(['sigma'], ['\\\\sigma']),\n statistica__templateObject13 = statistica__taggedTemplateLiteralLoose(['Omega in mathcal{F}'], ['\\\\Omega \\\\in \\\\mathcal{F}']),\n statistica__templateObject14 = statistica__taggedTemplateLiteralLoose(['E in mathcal{F} implies \\bar{E} in mathcal{F}'], ['E \\\\in \\\\mathcal{F} \\\\implies \\\\bar{E} \\\\in \\\\mathcal{F}']),\n statistica__templateObject15 = statistica__taggedTemplateLiteralLoose(['(E, F) in mathcal{F} implies (E cup F, E cap F) in mathcal{F}'], ['(E, F) \\\\in \\\\mathcal{F} \\\\implies (E \\\\cup F, E \\\\cap F) \\\\in \\\\mathcal{F}']),\n statistica__templateObject16 = statistica__taggedTemplateLiteralLoose(['E in mathcal{F} implies mathcal{F} = { emptyset, E, \\bar{E}, Omega }'], ['E \\\\in \\\\mathcal{F} \\\\implies \\\\mathcal{F} = \\\\{ \\\\emptyset, E, \\\\bar{E}, \\\\Omega \\\\}']),\n statistica__templateObject17 = statistica__taggedTemplateLiteralLoose(['P(E) = \\frac{casi favorevoli}{casi possibili}'], ['P(E) = \\\\frac{casi\\\\ favorevoli}{casi\\\\ possibili}']),\n statistica__templateObject18 = statistica__taggedTemplateLiteralLoose(['P(E) = \\frac{successi}{prove totali}'], ['P(E) = \\\\frac{successi}{prove\\\\ totali}']),\n statistica__templateObject19 = statistica__taggedTemplateLiteralLoose(['\\forall E in mathcal{F}, 0 leq P(E) leq 1'], ['\\\\forall E \\\\in \\\\mathcal{F}, 0 \\\\leq P(E) \\\\leq 1']),\n statistica__templateObject20 = statistica__taggedTemplateLiteralLoose(['P(Omega) = 1'], ['P(\\\\Omega) = 1']),\n statistica__templateObject21 = statistica__taggedTemplateLiteralLoose(['P left ( \\bigcup_i E_i \\right ) = sum_i P ( E_i )'], ['P \\\\left ( \\\\bigcup_i E_i \\\\right ) = \\\\sum_i P ( E_i )']),\n statistica__templateObject22 = statistica__taggedTemplateLiteralLoose(['P(\\bar{E}) = 1 - P(\\bar{E})'], ['P(\\\\bar{E}) = 1 - P(\\\\bar{E})']),\n statistica__templateObject23 = statistica__taggedTemplateLiteralLoose(['F subseteq E implies P(F) leq P(E)'], ['F \\\\subseteq E \\\\implies P(F) \\\\leq P(E)']),\n statistica__templateObject24 = statistica__taggedTemplateLiteralLoose(['P(E cup F) = P(E) + P(F) - P(E cap F)'], ['P(E \\\\cup F) = P(E) + P(F) - P(E \\\\cap F)']),\n statistica__templateObject25 = statistica__taggedTemplateLiteralLoose(['P(E) = \\frac{len(E)}{len(Omega)}'], ['P(E) = \\\\frac{len(E)}{len(\\\\Omega)}']),\n statistica__templateObject26 = statistica__taggedTemplateLiteralLoose(['\\boldsymbol{D}_{n, k} = \\frac{n!}{(n - k)!}'], ['\\\\boldsymbol{D}_{n, k} = \\\\frac{n!}{(n - k)!}']),\n statistica__templateObject27 = statistica__taggedTemplateLiteralLoose(['\\boldsymbol{D}^{r}_{n, k} = n^k'], ['\\\\boldsymbol{D}^{r}_{n, k} = n^k']),\n statistica__templateObject28 = statistica__taggedTemplateLiteralLoose(['\\boldsymbol{C}_{n, k} = \\binom{n}{k} = \\frac{n!}{(k)! cdot (n - k)!}'], ['\\\\boldsymbol{C}_{n, k} = \\\\binom{n}{k} = \\\\frac{n!}{(k)! \\\\cdot (n - k)!}']),\n statistica__templateObject29 = statistica__taggedTemplateLiteralLoose(['\\boldsymbol{C}^{r}_{n, k} = \\binom{n + k - 1}{k} = \\frac{(n + k - 1)!}{(k)! cdot (n - 1)!}'], ['\\\\boldsymbol{C}^{r}_{n, k} = \\\\binom{n + k - 1}{k} = \\\\frac{(n + k - 1)!}{(k)! \\\\cdot (n - 1)!}']),\n statistica__templateObject30 = statistica__taggedTemplateLiteralLoose(['\\boldsymbol{P}_n = n!'], ['\\\\boldsymbol{P}_n = n!']),\n statistica__templateObject31 = statistica__taggedTemplateLiteralLoose(['P(E|F) = \\frac{P(E cap F)}{P(F)}'], ['P(E|F) = \\\\frac{P(E \\\\cap F)}{P(F)}']),\n statistica__templateObject32 = statistica__taggedTemplateLiteralLoose(['E, F indipendenti Longleftrightarrow P(E|F) = P(E), P(F|E) = P(F)'], ['E, F\\\\ indipendenti\\\\ \\\\Longleftrightarrow P(E|F) = P(E), P(F|E) = P(F)']),\n statistica__templateObject33 = statistica__taggedTemplateLiteralLoose(['E cap F = emptyset Longleftrightarrow P(E|F) = P(F|E) = 0'], ['E \\\\cap F = \\\\emptyset \\\\Longleftrightarrow P(E|F) = P(F|E) = 0']),\n statistica__templateObject34 = statistica__taggedTemplateLiteralLoose(['P(E_1 cap \\times cap E_n) = P(E_1) \\times P(E_2 | E_1) \\times dots \\times P(E_n | E_1 cap E_2 cap dots cap E_{n-1})'], ['P(E_1 \\\\cap \\\\times \\\\cap E_n) = P(E_1) \\\\times P(E_2 | E_1) \\\\times \\\\dots \\\\times P(E_n | E_1 \\\\cap E_2 \\\\cap \\\\dots \\\\cap E_{n-1})']),\n statistica__templateObject35 = statistica__taggedTemplateLiteralLoose(['E_i'], ['E_i']),\n statistica__templateObject36 = statistica__taggedTemplateLiteralLoose(['E_1'], ['E_1']),\n statistica__templateObject37 = statistica__taggedTemplateLiteralLoose(['E_2'], ['E_2']),\n statistica__templateObject38 = statistica__taggedTemplateLiteralLoose(['E_3'], ['E_3']),\n statistica__templateObject39 = statistica__taggedTemplateLiteralLoose(['E_n'], ['E_n']),\n statistica__templateObject40 = statistica__taggedTemplateLiteralLoose(['Omega'], ['\\\\Omega']),\n statistica__templateObject41 = statistica__taggedTemplateLiteralLoose(['F'], ['F']),\n statistica__templateObject42 = statistica__taggedTemplateLiteralLoose(['in Omega'], ['\\\\in \\\\Omega']),\n statistica__templateObject43 = statistica__taggedTemplateLiteralLoose(['P(F) = sum_{i} P(F|E_i) cdot P(E_i)'], ['P(F) = \\\\sum_{i} P(F|E_i) \\\\cdot P(E_i)']),\n statistica__templateObject44 = statistica__taggedTemplateLiteralLoose(['P(F|E_i) cdot P(E_i) = P(F cap E_i)'], ['P(F|E_i) \\\\cdot P(E_i) = P(F \\\\cap E_i)']),\n statistica__templateObject45 = statistica__taggedTemplateLiteralLoose(['\\forall i, exists! E_i'], ['\\\\forall i, \\\\exists! E_i']),\n statistica__templateObject46 = statistica__taggedTemplateLiteralLoose(['sum_i P(F cap E_i) = P left( \\bigcup_i (F cap E_i) \\right)'], ['\\\\sum_i P(F \\\\cap E_i) = P \\\\left( \\\\bigcup_i (F \\\\cap E_i) \\\\right)']),\n statistica__templateObject47 = statistica__taggedTemplateLiteralLoose(['\\bigcup_i ( F cap E_i ) = F cap left( \\bigcup_i E_i \\right) = F cap Omega = F'], ['\\\\bigcup_i ( F \\\\cap E_i ) = F \\\\cap \\\\left( \\\\bigcup_i E_i \\\\right) = F \\\\cap \\\\Omega = F']),\n statistica__templateObject48 = statistica__taggedTemplateLiteralLoose(['P(F|G) = sum_i P(F|E_i cap G) cdot P(E_i | G)'], ['P(F|G) = \\\\sum_i P(F|E_i \\\\cap G) \\\\cdot P(E_i | G)']);\n\n\n\nfunction statistica__taggedTemplateLiteralLoose(strings, raw) { strings.raw = raw; return strings; }\n\nfunction statistica__classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction statistica__possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction statistica__inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nvar statistica_r = String.raw;\n\nvar statistica__ref = Object(preact_min[\"h\"])(\n 'h1',\n null,\n 'Statistica ed Elementi di Probabilit\\xE0'\n);\n\nvar statistica__ref2 = Object(preact_min[\"h\"])(\n split_Split,\n { title: \"Popolazioni\" },\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: \"Popolazione\", id: \"popolazione\" },\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Gruppo ',\n Object(preact_min[\"h\"])(\n 'b',\n null,\n 'intero'\n ),\n ' di oggetti di cui si cercano informazioni.'\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: \"Popolazione tangibile\" },\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Popolazione finita di oggetti concreti che possono essere campionati ciascuno solo una volta.'\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: \"Popolazione concettuale\" },\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Popolazione di valori ottenuti da prove sperimentali indipendenti ripetute pi\\xF9 volte.'\n )\n )\n);\n\nvar statistica__ref3 = Object(preact_min[\"h\"])(\n split_Split,\n { title: \"Campionamento\" },\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: \"Campione\" },\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Sottoinsieme della ',\n Object(preact_min[\"h\"])(\n 'a',\n { href: \"#popolazione\" },\n 'popolazione'\n ),\n ' che contiene gli oggetti che si sono osservati.'\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: Object(preact_min[\"h\"])(\n 'i',\n null,\n 'Simple random sample'\n ) },\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Campione di una data dimensione in cui qualsiasi selezione di ',\n Object(preact_min[\"h\"])(\n 'i',\n null,\n 'n'\n ),\n ' elementi ha la stessa probabilit\\xE0 di costituire il campione.'\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: Object(preact_min[\"h\"])(\n 'i',\n null,\n 'Sample of convenience'\n ) },\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Campione ottenuto in un modo casuale non ben definito.'\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: Object(preact_min[\"h\"])(\n 'i',\n null,\n 'Sample with replacement'\n ) },\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Campione ottenuto sostituendo nella popolazione gli elementi estratti con dei nuovi elementi.'\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Dire che un campione \\xE8 ottenuto ',\n Object(preact_min[\"h\"])(\n 'i',\n null,\n 'with replacement'\n ),\n ' \\xE8 equivalente a dire che la popolazione che si sta campionando \\xE8 infinita, e quindi che tutti gli elementi sono indipendenti.'\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: \"Campione pesato\" },\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Campione ottenuto da una popolazione in cui certi elementi hanno pi\\xF9 probabilit\\xE0 di essere stati selezionati di altri.'\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: Object(preact_min[\"h\"])(\n 'i',\n null,\n 'Stratified random sample'\n ) },\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Campione ottenuto da un sottoinsieme della popolazione detto ',\n Object(preact_min[\"h\"])(\n 'i',\n null,\n 'strato'\n ),\n '.'\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: Object(preact_min[\"h\"])(\n 'i',\n null,\n 'Cluster sample'\n ) },\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Campione ottenuto selezionando pi\\xF9 ',\n Object(preact_min[\"h\"])(\n 'i',\n null,\n 'cluster'\n ),\n ' di elementi alla volta.'\n )\n )\n);\n\nvar statistica__ref4 = Object(preact_min[\"h\"])(\n split_Split,\n null,\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: Object(preact_min[\"h\"])(\n 'i',\n null,\n 'Sampling variation'\n ) },\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Differenza di informazioni presente tra due campioni diversi della stessa popolazione.'\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: \"Indipendenza\" },\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Gli elementi in un campione sono indipendenti se gli elementi estratti in precedenza non influsicono ',\n Object(preact_min[\"h\"])(\n 'small',\n null,\n 'significativamente'\n ),\n ' sulle probabilit\\xE0 di estrazione dell\\'elemento successivo.'\n )\n )\n);\n\nvar statistica__ref5 = Object(preact_min[\"h\"])(\n split_Split,\n { title: \"Tipi di prove sperimentali\" },\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: \"A campione singolo\" },\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Esperimento in cui c\\'\\xE8 una sola popolazione da cui vengono estratti campioni.'\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Serve per verificare delle condizioni.'\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: \"Multicampione\" },\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Esperimento in cui sono presenti pi\\xF9 popolazioni (aventi caratteristiche differenti una dall\\'altra dette ',\n Object(preact_min[\"h\"])(\n 'i',\n null,\n 'fattori'\n ),\n ') da cui vengono estratti campioni.'\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Serve per capire quali fattori influenzano il risultato dell\\'esperimento.'\n )\n )\n);\n\nvar statistica__ref6 = Object(preact_min[\"h\"])(\n split_Split,\n { title: \"Tipi di dato\" },\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: Object(preact_min[\"h\"])(\n 'span',\n null,\n 'Numerico',\n Object(preact_min[\"h\"])(\n 'small',\n null,\n ' o quantitativo'\n )\n ) },\n 'Il dato descrive un valore numerico relativo all\\'elemento, come ad esempio una quantit\\xE0 fisica.'\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: Object(preact_min[\"h\"])(\n 'span',\n null,\n 'Categorico',\n Object(preact_min[\"h\"])(\n 'small',\n null,\n ' o qualitativo'\n )\n ) },\n 'Il dato indica una categoria a cui appartiene l\\'elemento, come ad esempio il suo colore.'\n )\n);\n\nvar statistica__ref7 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'L\\'',\n Object(preact_min[\"h\"])(\n 'b',\n null,\n 'insieme'\n ),\n ' di tutti gli esiti possibili di un esperimento.'\n);\n\nvar statistica__ref8 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Uno dei possibili risultati di un esperimento.'\n);\n\nvar statistica__ref9 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'E\\' un ',\n Object(preact_min[\"h\"])(\n 'b',\n null,\n 'elemento'\n ),\n ' dello spazio campionario.'\n);\n\nvar statistica__ref10 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Un ',\n Object(preact_min[\"h\"])(\n 'b',\n null,\n 'sottoinsieme'\n ),\n ' dello spazio campionario.'\n);\n\nvar statistica__ref11 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Lo spazio campionario stesso \\xE8 un ',\n Object(preact_min[\"h\"])(\n 'b',\n null,\n 'evento certo'\n ),\n '.'\n);\n\nvar statistica__ref12 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Il ',\n Object(preact_min[\"h\"])(\n 'b',\n null,\n 'complementare'\n ),\n ' di un sottoinsieme.'\n);\n\nvar statistica__ref13 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'L\\'',\n Object(preact_min[\"h\"])(\n 'b',\n null,\n 'intersezione'\n ),\n ' di pi\\xF9 sottoinsiemi.'\n);\n\nvar statistica__ref14 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'L\\'',\n Object(preact_min[\"h\"])(\n 'b',\n null,\n 'unione'\n ),\n ' di pi\\xF9 sottoinsiemi.'\n);\n\nvar statistica__ref15 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'L\\'',\n Object(preact_min[\"h\"])(\n 'b',\n null,\n 'inclusione'\n ),\n ' del primo insieme in un altro.'\n);\n\nvar statistica__ref16 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Se si verifica ',\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n 'E'\n ),\n ', allora si verifica anche ',\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n 'F'\n ),\n '.'\n);\n\nvar statistica__ref17 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Un sottoinsieme ',\n Object(preact_min[\"h\"])(\n 'b',\n null,\n 'vuoto'\n ),\n '.'\n);\n\nvar statistica__ref18 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'La ',\n Object(preact_min[\"h\"])(\n 'b',\n null,\n 'disgiunzione'\n ),\n ' di due insiemi.'\n);\n\nvar statistica__ref19 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'I sottoinsiemi dello spazio campionario formano una ',\n Object(preact_min[\"h\"])(\n 'b',\n null,\n 'famiglia'\n ),\n ' di sottoinsiemi detta ',\n Object(preact_min[\"h\"])(\n 'i',\n null,\n 'famiglia degli eventi'\n ),\n '.'\n);\n\nvar statistica__ref20 = Object(preact_min[\"h\"])(\n panel_Panel,\n { title: \"Soggettiva\" },\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n todo_Todo,\n null,\n 'TODO: Trovare un\\'espressione decente'\n )\n )\n);\n\nvar statistica__ref21 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'La probabilit\\xE0 di un evento \\xE8 un numero tra 0 e 1.'\n);\n\nvar statistica__ref22 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'La probabilit\\xE0 dello spazio campionario \\xE8 sempre 1.'\n);\n\nvar statistica__ref23 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'La probabilit\\xE0 dell\\'unione di eventi indipendenti \\xE8 uguale alla somma delle loro probabilit\\xE0.'\n);\n\nvar statistica__ref24 = Object(preact_min[\"h\"])(\n panel_Panel,\n { title: \"Cosa sono?\" },\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Spazi campionari in cui ci sono un numero finito di esiti e ogni esito ha la stessa probabilit\\xE0 di verificarsi.'\n )\n);\n\nvar statistica__ref25 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Estraggo un numero, da un sacchetto con ',\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n 'n'\n ),\n ' numeri, mi segno che numero ho estratto e lo ',\n Object(preact_min[\"h\"])(\n 'b',\n null,\n 'tengo fuori dal sacchetto'\n ),\n '. Ripeto per ',\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n 'k'\n ),\n ' volte.'\n);\n\nvar statistica__ref26 = Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n 'b',\n null,\n 'Tengo conto'\n ),\n ' dell\\'ordine in cui ho estratto i numeri.'\n);\n\nvar statistica__ref27 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Estraggo un numero, da un sacchetto con ',\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n 'n'\n ),\n ' numeri, mi segno che numero ho estratto e lo ',\n Object(preact_min[\"h\"])(\n 'b',\n null,\n 'rimetto nel sacchetto'\n ),\n '. Ripeto per ',\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n 'k'\n ),\n ' volte.'\n);\n\nvar statistica__ref28 = Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n 'b',\n null,\n 'Tengo conto'\n ),\n ' dell\\'ordine in cui ho estratto i numeri.'\n);\n\nvar statistica__ref29 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Estraggo un numero, da un sacchetto con ',\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n 'n'\n ),\n ' numeri, mi segno che numero ho estratto e lo ',\n Object(preact_min[\"h\"])(\n 'b',\n null,\n 'tengo fuori dal sacchetto'\n ),\n '. Ripeto per ',\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n 'k'\n ),\n ' volte.'\n);\n\nvar statistica__ref30 = Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n 'b',\n null,\n 'Non mi interessa'\n ),\n ' l\\'ordine in cui ho estratto i numeri.'\n);\n\nvar statistica__ref31 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Estraggo un numero, da un sacchetto con ',\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n 'n'\n ),\n ' numeri, mi segno che numero ho estratto e lo ',\n Object(preact_min[\"h\"])(\n 'b',\n null,\n 'rimetto nel sacchetto'\n ),\n '. Ripeto per ',\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n 'k'\n ),\n ' volte.'\n);\n\nvar statistica__ref32 = Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n 'b',\n null,\n 'Non mi interessa'\n ),\n ' l\\'ordine in cui ho estratto i numeri.'\n);\n\nvar statistica__ref33 = Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n todo_Todo,\n null,\n 'TODO: Controllare la formula.'\n )\n);\n\nvar statistica__ref34 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Estraggo ',\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n 'n'\n ),\n ' numeri e guardo in quanti ordini diversi li posso mettere.'\n);\n\nvar statistica__ref35 = Object(preact_min[\"h\"])(\n split_Split,\n null,\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: \"Spazi equiprobabili geometrici\" },\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Gli spazi campionari possono avere un numero infinito di esisti: si ha equiprobabilit\\xE0 se nessun esito \\xE8 privilegiato rispetto agli altri.'\n )\n )\n);\n\nvar statistica__ref36 = Object(preact_min[\"h\"])(\n 'span',\n null,\n 'E dato F'\n);\n\nvar statistica__ref37 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'La probabilit\\xE0 di un evento ',\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n 'E'\n ),\n ' dato un altro evento ',\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n 'F'\n ),\n ' indica la probabilit\\xE0 che si verifichi ',\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n 'E'\n ),\n ' sapendo che ',\n Object(preact_min[\"h\"])(\n 'b',\n null,\n 'si \\xE8 gi\\xE0 verificato'\n ),\n ' ',\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n 'F'\n ),\n '.'\n);\n\nvar statistica__ref38 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Se due eventi sono indipendenti, sapere che uno dei due si \\xE8 verificato non influisce sulle probabilit\\xE0 che si sia verificato l\\'altro.'\n);\n\nvar statistica__ref39 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Se due eventi sono mutualmente esclusivi, entrambe le loro probabilit\\xE0 condizionate saranno uguali a 0.'\n);\n\nvar statistica__ref40 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Si pu\\xF2 sfruttare la formula inversa della probabilit\\xE0 condizionata per calcolare catene di intersezioni:'\n);\n\nvar statistica__ref41 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'E\\' una partizione dello spazio campionario un insieme di eventi:'\n);\n\nvar statistica__ref42 = Object(preact_min[\"h\"])(\n 'ul',\n null,\n Object(preact_min[\"h\"])(\n 'li',\n null,\n Object(preact_min[\"h\"])(\n 'b',\n null,\n 'Finito'\n ),\n '.'\n ),\n Object(preact_min[\"h\"])(\n 'li',\n null,\n 'In cui tutti gli eventi hanno ',\n Object(preact_min[\"h\"])(\n 'b',\n null,\n 'probabilit\\xE0 diversa da 0'\n ),\n '.'\n ),\n Object(preact_min[\"h\"])(\n 'li',\n null,\n 'In cui tutti gli eventi sono ',\n Object(preact_min[\"h\"])(\n 'b',\n null,\n 'mutualmente esclusivi'\n ),\n '.'\n ),\n Object(preact_min[\"h\"])(\n 'li',\n null,\n 'L\\'unione di tutti gli eventi ',\n Object(preact_min[\"h\"])(\n 'b',\n null,\n 'copre lo spazio campionario'\n ),\n '.'\n )\n);\n\nvar statistica__ref43 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Se lo spazio campionario fosse una torta, una sua partizione sarebbe l\\'insieme delle fette di uno dei modi in cui si potrebbe tagliare.'\n);\n\nvar statistica__ref44 = Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n 'E_i'\n);\n\nvar statistica__ref45 = Object(preact_min[\"h\"])(\n 'b',\n null,\n 'partizione'\n);\n\nvar statistica__ref46 = Object(preact_min[\"h\"])(\n 'b',\n null,\n 'evento'\n);\n\nvar statistica__ref47 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'La probabilit\\xE0 che si verifichi un evento \\xE8 pari alla somma delle probabilit\\xE0 dell\\'evento stesso dati tutti gli eventi di una partizione.'\n);\n\nvar statistica__ref48 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Per la definizione di probabilit\\xE0 condizionata:'\n);\n\nvar statistica__ref49 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Essendo parte di una partizione, tutti gli ',\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n 'E_i'\n ),\n ' sono distinti:'\n);\n\nvar statistica__ref50 = Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Essendo mutualmente esclusivi, le probabilit\\xE0 di tutti gli ',\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n 'E_i'\n ),\n ' possono essere sommate:'\n);\n\nvar statistica__ref51 = Object(preact_min[\"h\"])(\n split_Split,\n null,\n Object(preact_min[\"h\"])(\n theorem_Theorem,\n { title: \"Formula di Bayes\" },\n Object(preact_min[\"h\"])(hypothesis_Hypothesis, null),\n Object(preact_min[\"h\"])(thesis_Thesis, null),\n Object(preact_min[\"h\"])(proof_Proof, null)\n )\n);\n\nvar statistica_Statistica = function (_Component) {\n statistica__inherits(Statistica, _Component);\n\n function Statistica() {\n statistica__classCallCheck(this, Statistica);\n\n return statistica__possibleConstructorReturn(this, _Component.apply(this, arguments));\n }\n\n Statistica.prototype.render = function render() {\n return Object(preact_min[\"h\"])(\n 'div',\n { style: statistica_default.a.statistica },\n statistica__ref,\n statistica__ref2,\n statistica__ref3,\n statistica__ref4,\n statistica__ref5,\n statistica__ref6,\n Object(preact_min[\"h\"])(\n split_Split,\n { title: \"Linguaggio matematico\" },\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: \"Spazio campionario\" },\n statistica__ref7,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n statistica_r(statistica__templateObject)\n )\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: \"Esito\" },\n statistica__ref8,\n statistica__ref9,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n statistica_r(statistica__templateObject2)\n ),\n ' \"omeghino\"'\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: \"Evento\" },\n statistica__ref10,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n statistica_r(statistica__templateObject3)\n )\n ),\n statistica__ref11\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: \"NOT\" },\n statistica__ref12,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n statistica_r(statistica__templateObject4)\n )\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: \"AND\" },\n statistica__ref13,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n statistica_r(statistica__templateObject5)\n )\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: \"OR\" },\n statistica__ref14,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n statistica_r(statistica__templateObject6)\n )\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: \"Differenza\" },\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n statistica_r(statistica__templateObject7)\n )\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: \"Implicazione\" },\n statistica__ref15,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n statistica_r(statistica__templateObject8)\n )\n ),\n statistica__ref16\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: \"Evento impossibile\" },\n statistica__ref17,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n statistica_r(statistica__templateObject9)\n )\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: \"Mutua esclusione\" },\n statistica__ref18,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n statistica_r(statistica__templateObject10)\n )\n )\n )\n ),\n Object(preact_min[\"h\"])(\n split_Split,\n { title: \"Famiglia degli eventi\" },\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: \"Famiglia\" },\n statistica__ref19,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n statistica_r(statistica__templateObject11)\n ),\n ' (\"effe\")'\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Qualsiasi sottoinsieme appartenente a ',\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n statistica_r(statistica__templateObject11)\n ),\n ' \\xE8 considerato un evento.'\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: Object(preact_min[\"h\"])(\n 'span',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n statistica_r(statistica__templateObject12)\n ),\n '-algebra'\n ) },\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Se la famiglia degli eventi soddisfa questi tre requisiti, allora viene detta ',\n Object(preact_min[\"h\"])(\n 'span',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n statistica_r(statistica__templateObject12)\n ),\n '-algebra'\n ),\n ':'\n ),\n Object(preact_min[\"h\"])(\n 'ol',\n null,\n Object(preact_min[\"h\"])(\n 'li',\n null,\n 'Lo spazio campionario \\xE8 un evento: ',\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n statistica_r(statistica__templateObject13)\n )\n ),\n Object(preact_min[\"h\"])(\n 'li',\n null,\n 'Se un sottoinsieme \\xE8 un evento, allora anche il suo complementare lo \\xE8: ',\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n statistica_r(statistica__templateObject14)\n )\n ),\n Object(preact_min[\"h\"])(\n 'li',\n null,\n 'Se due sottoinsiemi sono eventi, allora lo sono anche la loro unione e intersezione: ',\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n statistica_r(statistica__templateObject15)\n )\n )\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Un esempio: ',\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n statistica_r(statistica__templateObject16)\n )\n )\n )\n ),\n Object(preact_min[\"h\"])(\n split_Split,\n { title: \"Tipi di probabilità\" },\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: \"Classica\" },\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n statistica_r(statistica__templateObject17)\n )\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: \"Frequentista\" },\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n statistica_r(statistica__templateObject18)\n )\n )\n ),\n statistica__ref20\n ),\n Object(preact_min[\"h\"])(\n split_Split,\n { title: \"Assiomi della probabilità\" },\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: \"Primo\" },\n statistica__ref21,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n statistica_r(statistica__templateObject19)\n )\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: \"Secondo\" },\n statistica__ref22,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n statistica_r(statistica__templateObject20)\n )\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: \"Terzo\" },\n statistica__ref23,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n statistica_r(statistica__templateObject21)\n )\n )\n )\n ),\n Object(preact_min[\"h\"])(\n split_Split,\n { title: \"Conseguenze degli assiomi\" },\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: \"NOT\" },\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n statistica_r(statistica__templateObject22)\n )\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: \"Inclusione\" },\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n statistica_r(statistica__templateObject23)\n )\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: \"Unione\" },\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n statistica_r(statistica__templateObject24)\n )\n )\n )\n ),\n Object(preact_min[\"h\"])(\n split_Split,\n { title: \"Spazi equiprobabili\" },\n statistica__ref24,\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: \"Probabilità\" },\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n statistica_r(statistica__templateObject25)\n )\n )\n )\n ),\n Object(preact_min[\"h\"])(\n split_Split,\n null,\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: \"Disposizioni\" },\n statistica__ref25,\n statistica__ref26,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n statistica_r(statistica__templateObject26)\n )\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: \"Disposizioni con ripetizione\" },\n statistica__ref27,\n statistica__ref28,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n statistica_r(statistica__templateObject27)\n )\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: \"Combinazioni\" },\n statistica__ref29,\n statistica__ref30,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n statistica_r(statistica__templateObject28)\n )\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: \"Combinazioni con ripetizione\" },\n statistica__ref31,\n statistica__ref32,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n statistica_r(statistica__templateObject29)\n )\n ),\n statistica__ref33\n )\n ),\n Object(preact_min[\"h\"])(\n split_Split,\n null,\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: \"Permutazioni\" },\n statistica__ref34,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n statistica_r(statistica__templateObject30)\n )\n )\n )\n ),\n statistica__ref35,\n Object(preact_min[\"h\"])(\n split_Split,\n { title: \"Probabilità condizionata\" },\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: statistica__ref36 },\n statistica__ref37,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n statistica_r(statistica__templateObject31)\n )\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: \"Eventi indipendenti\" },\n statistica__ref38,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n statistica_r(statistica__templateObject32)\n )\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: \"Eventi mutualmente esclusivi\" },\n statistica__ref39,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n statistica_r(statistica__templateObject33)\n )\n )\n ),\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: \"Regola della catena\" },\n statistica__ref40,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n statistica_r(statistica__templateObject34)\n )\n )\n )\n ),\n Object(preact_min[\"h\"])(\n split_Split,\n null,\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: \"Partizioni\" },\n statistica__ref41,\n statistica__ref42,\n statistica__ref43,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'La partizione ',\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n statistica_r(statistica__templateObject35)\n ),\n ' \\xE8 composta dagli eventi ',\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n statistica_r(statistica__templateObject36)\n ),\n ', ',\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n statistica_r(statistica__templateObject37)\n ),\n ', ',\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n statistica_r(statistica__templateObject38)\n ),\n ', fino a ',\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n statistica_r(statistica__templateObject39)\n ),\n '.'\n )\n ),\n Object(preact_min[\"h\"])(\n theorem_Theorem,\n { title: \"Legge delle alternative\" },\n Object(preact_min[\"h\"])(\n hypothesis_Hypothesis,\n null,\n Object(preact_min[\"h\"])(\n 'ul',\n null,\n Object(preact_min[\"h\"])(\n 'li',\n null,\n statistica__ref44,\n ' ',\n statistica__ref45,\n ' di ',\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n statistica_r(statistica__templateObject40)\n )\n ),\n Object(preact_min[\"h\"])(\n 'li',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n statistica_r(statistica__templateObject41)\n ),\n ' ',\n statistica__ref46,\n ' ',\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n statistica_r(statistica__templateObject42)\n )\n )\n )\n ),\n Object(preact_min[\"h\"])(\n thesis_Thesis,\n null,\n statistica__ref47,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n statistica_r(statistica__templateObject43)\n )\n )\n ),\n Object(preact_min[\"h\"])(\n proof_Proof,\n null,\n statistica__ref48,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n statistica_r(statistica__templateObject44)\n )\n ),\n statistica__ref49,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n statistica_r(statistica__templateObject45)\n )\n ),\n statistica__ref50,\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n statistica_r(statistica__templateObject46)\n )\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'Essendo una partizione di ',\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n statistica_r(statistica__templateObject40)\n ),\n ', allora la loro unione lo forma:'\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n statistica_r(statistica__templateObject47)\n )\n )\n )\n )\n ),\n Object(preact_min[\"h\"])(\n split_Split,\n null,\n Object(preact_min[\"h\"])(\n panel_Panel,\n { title: \"Legge condizionata delle alternative\" },\n Object(preact_min[\"h\"])(\n 'p',\n null,\n 'La legge delle alternative funziona anche per gli eventi, non solo per ',\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n statistica_r(statistica__templateObject40)\n ),\n ':'\n ),\n Object(preact_min[\"h\"])(\n 'p',\n null,\n Object(preact_min[\"h\"])(\n latex_Latex,\n null,\n statistica_r(statistica__templateObject48)\n )\n )\n )\n ),\n statistica__ref51\n );\n };\n\n return Statistica;\n}(preact_min[\"Component\"]);\n\n\n// CONCATENATED MODULE: ./index.js\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"default\", function() { return App; });\n\n\nfunction index__classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction index__possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction index__inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\n\n\n\n\n\n\n\n\n\n\n\n// noinspection JSUnusedGlobalSymbols\n\nvar index__ref = Object(preact_min[\"h\"])(\n\t'div',\n\t{ id: 'app' },\n\tObject(preact_min[\"h\"])(\n\t\t'h1',\n\t\tnull,\n\t\tObject(preact_min[\"h\"])(\n\t\t\t'a',\n\t\t\t{ href: '/' },\n\t\t\t'Appuntiweb'\n\t\t),\n\t\t' ',\n\t\tObject(preact_min[\"h\"])(\n\t\t\t'small',\n\t\t\tnull,\n\t\t\t'di ',\n\t\t\tObject(preact_min[\"h\"])(\n\t\t\t\t'a',\n\t\t\t\t{ href: 'https://steffo.eu/' },\n\t\t\t\t'Steffo'\n\t\t\t)\n\t\t)\n\t),\n\tObject(preact_min[\"h\"])(\n\t\tpreact_router_es,\n\t\tnull,\n\t\tObject(preact_min[\"h\"])(home_Home, { path: '/' }),\n\t\tObject(preact_min[\"h\"])(fisica_Fisica, { path: '/fisica' }),\n\t\tObject(preact_min[\"h\"])(vldigeometria_VlDiGeometria, { path: '/vldigeometria' }),\n\t\tObject(preact_min[\"h\"])(mingwinstall_MingwInstall, { path: '/mingwinstall' }),\n\t\tObject(preact_min[\"h\"])(statistica_Statistica, { path: '/statistica' })\n\t),\n\tObject(preact_min[\"h\"])(copyright_Copyright, null)\n);\n\nvar App = function (_Component) {\n\tindex__inherits(App, _Component);\n\n\tfunction App() {\n\t\tindex__classCallCheck(this, App);\n\n\t\treturn index__possibleConstructorReturn(this, _Component.apply(this, arguments));\n\t}\n\n\tApp.prototype.render = function render() {\n\t\treturn index__ref;\n\t};\n\n\treturn App;\n}(preact_min[\"Component\"]);\n\n\n\n/***/ }),\n\n/***/ \"KM04\":\n/***/ (function(module, exports, __webpack_require__) {\n\n!function () {\n \"use strict\";\n function e(e, t) {\n var n,\n o,\n r,\n i,\n l = W;for (i = arguments.length; i-- > 2;) {\n P.push(arguments[i]);\n }t && null != t.children && (P.length || P.push(t.children), delete t.children);while (P.length) {\n if ((o = P.pop()) && void 0 !== o.pop) for (i = o.length; i--;) {\n P.push(o[i]);\n } else \"boolean\" == typeof o && (o = null), (r = \"function\" != typeof e) && (null == o ? o = \"\" : \"number\" == typeof o ? o += \"\" : \"string\" != typeof o && (r = !1)), r && n ? l[l.length - 1] += o : l === W ? l = [o] : l.push(o), n = r;\n }var a = new T();return a.nodeName = e, a.children = l, a.attributes = null == t ? void 0 : t, a.key = null == t ? void 0 : t.key, void 0 !== M.vnode && M.vnode(a), a;\n }function t(e, t) {\n for (var n in t) {\n e[n] = t[n];\n }return e;\n }function n(e, t) {\n e && (\"function\" == typeof e ? e(t) : e.current = t);\n }function o(n, o) {\n return e(n.nodeName, t(t({}, n.attributes), o), arguments.length > 2 ? [].slice.call(arguments, 2) : n.children);\n }function r(e) {\n !e.__d && (e.__d = !0) && 1 == V.push(e) && (M.debounceRendering || D)(i);\n }function i() {\n var e;while (e = V.pop()) {\n e.__d && x(e);\n }\n }function l(e, t, n) {\n return \"string\" == typeof t || \"number\" == typeof t ? void 0 !== e.splitText : \"string\" == typeof t.nodeName ? !e._componentConstructor && a(e, t.nodeName) : n || e._componentConstructor === t.nodeName;\n }function a(e, t) {\n return e.__n === t || e.nodeName.toLowerCase() === t.toLowerCase();\n }function u(e) {\n var n = t({}, e.attributes);n.children = e.children;var o = e.nodeName.defaultProps;if (void 0 !== o) for (var r in o) {\n void 0 === n[r] && (n[r] = o[r]);\n }return n;\n }function c(e, t) {\n var n = t ? document.createElementNS(\"http://www.w3.org/2000/svg\", e) : document.createElement(e);return n.__n = e, n;\n }function p(e) {\n var t = e.parentNode;t && t.removeChild(e);\n }function s(e, t, o, r, i) {\n if (\"className\" === t && (t = \"class\"), \"key\" === t) ;else if (\"ref\" === t) n(o, null), n(r, e);else if (\"class\" !== t || i) {\n if (\"style\" === t) {\n if (r && \"string\" != typeof r && \"string\" != typeof o || (e.style.cssText = r || \"\"), r && \"object\" == typeof r) {\n if (\"string\" != typeof o) for (var l in o) {\n l in r || (e.style[l] = \"\");\n }for (var l in r) {\n e.style[l] = \"number\" == typeof r[l] && !1 === E.test(l) ? r[l] + \"px\" : r[l];\n }\n }\n } else if (\"dangerouslySetInnerHTML\" === t) r && (e.innerHTML = r.__html || \"\");else if (\"o\" == t[0] && \"n\" == t[1]) {\n var a = t !== (t = t.replace(/Capture$/, \"\"));t = t.toLowerCase().substring(2), r ? o || e.addEventListener(t, _, a) : e.removeEventListener(t, _, a), (e.__l || (e.__l = {}))[t] = r;\n } else if (\"list\" !== t && \"type\" !== t && !i && t in e) {\n try {\n e[t] = null == r ? \"\" : r;\n } catch (e) {}null != r && !1 !== r || \"spellcheck\" == t || e.removeAttribute(t);\n } else {\n var u = i && t !== (t = t.replace(/^xlink:?/, \"\"));null == r || !1 === r ? u ? e.removeAttributeNS(\"http://www.w3.org/1999/xlink\", t.toLowerCase()) : e.removeAttribute(t) : \"function\" != typeof r && (u ? e.setAttributeNS(\"http://www.w3.org/1999/xlink\", t.toLowerCase(), r) : e.setAttribute(t, r));\n }\n } else e.className = r || \"\";\n }function _(e) {\n return this.__l[e.type](M.event && M.event(e) || e);\n }function f() {\n var e;while (e = A.shift()) {\n M.afterMount && M.afterMount(e), e.componentDidMount && e.componentDidMount();\n }\n }function d(e, t, n, o, r, i) {\n H++ || (R = null != r && void 0 !== r.ownerSVGElement, B = null != e && !(\"__preactattr_\" in e));var l = h(e, t, n, o, i);return r && l.parentNode !== r && r.appendChild(l), --H || (B = !1, i || f()), l;\n }function h(e, t, n, o, r) {\n var i = e,\n l = R;if (null != t && \"boolean\" != typeof t || (t = \"\"), \"string\" == typeof t || \"number\" == typeof t) return e && void 0 !== e.splitText && e.parentNode && (!e._component || r) ? e.nodeValue != t && (e.nodeValue = t) : (i = document.createTextNode(t), e && (e.parentNode && e.parentNode.replaceChild(i, e), v(e, !0))), i.__preactattr_ = !0, i;var u = t.nodeName;if (\"function\" == typeof u) return N(e, t, n, o);if (R = \"svg\" === u || \"foreignObject\" !== u && R, u += \"\", (!e || !a(e, u)) && (i = c(u, R), e)) {\n while (e.firstChild) {\n i.appendChild(e.firstChild);\n }e.parentNode && e.parentNode.replaceChild(i, e), v(e, !0);\n }var p = i.firstChild,\n s = i.__preactattr_,\n _ = t.children;if (null == s) {\n s = i.__preactattr_ = {};for (var f = i.attributes, d = f.length; d--;) {\n s[f[d].name] = f[d].value;\n }\n }return !B && _ && 1 === _.length && \"string\" == typeof _[0] && null != p && void 0 !== p.splitText && null == p.nextSibling ? p.nodeValue != _[0] && (p.nodeValue = _[0]) : (_ && _.length || null != p) && m(i, _, n, o, B || null != s.dangerouslySetInnerHTML), y(i, t.attributes, s), R = l, i;\n }function m(e, t, n, o, r) {\n var i,\n a,\n u,\n c,\n s,\n _ = e.childNodes,\n f = [],\n d = {},\n m = 0,\n b = 0,\n y = _.length,\n g = 0,\n w = t ? t.length : 0;if (0 !== y) for (var C = 0; C < y; C++) {\n var x = _[C],\n N = x.__preactattr_,\n k = w && N ? x._component ? x._component.__k : N.key : null;null != k ? (m++, d[k] = x) : (N || (void 0 !== x.splitText ? !r || x.nodeValue.trim() : r)) && (f[g++] = x);\n }if (0 !== w) for (var C = 0; C < w; C++) {\n c = t[C], s = null;var k = c.key;if (null != k) m && void 0 !== d[k] && (s = d[k], d[k] = void 0, m--);else if (b < g) for (i = b; i < g; i++) {\n if (void 0 !== f[i] && l(a = f[i], c, r)) {\n s = a, f[i] = void 0, i === g - 1 && g--, i === b && b++;break;\n }\n }s = h(s, c, n, o), u = _[C], s && s !== e && s !== u && (null == u ? e.appendChild(s) : s === u.nextSibling ? p(u) : e.insertBefore(s, u));\n }if (m) for (var C in d) {\n void 0 !== d[C] && v(d[C], !1);\n }while (b <= g) {\n void 0 !== (s = f[g--]) && v(s, !1);\n }\n }function v(e, t) {\n var o = e._component;o ? k(o) : (null != e.__preactattr_ && n(e.__preactattr_.ref, null), !1 !== t && null != e.__preactattr_ || p(e), b(e));\n }function b(e) {\n e = e.lastChild;while (e) {\n var t = e.previousSibling;v(e, !0), e = t;\n }\n }function y(e, t, n) {\n var o;for (o in n) {\n t && null != t[o] || null == n[o] || s(e, o, n[o], n[o] = void 0, R);\n }for (o in t) {\n \"children\" === o || \"innerHTML\" === o || o in n && t[o] === (\"value\" === o || \"checked\" === o ? e[o] : n[o]) || s(e, o, n[o], n[o] = t[o], R);\n }\n }function g(e, t, n) {\n var o,\n r = F.length;e.prototype && e.prototype.render ? (o = new e(t, n), U.call(o, t, n)) : (o = new U(t, n), o.constructor = e, o.render = w);while (r--) {\n if (F[r].constructor === e) return o.__b = F[r].__b, F.splice(r, 1), o;\n }return o;\n }function w(e, t, n) {\n return this.constructor(e, n);\n }function C(e, t, o, i, l) {\n e.__x || (e.__x = !0, e.__r = t.ref, e.__k = t.key, delete t.ref, delete t.key, void 0 === e.constructor.getDerivedStateFromProps && (!e.base || l ? e.componentWillMount && e.componentWillMount() : e.componentWillReceiveProps && e.componentWillReceiveProps(t, i)), i && i !== e.context && (e.__c || (e.__c = e.context), e.context = i), e.__p || (e.__p = e.props), e.props = t, e.__x = !1, 0 !== o && (1 !== o && !1 === M.syncComponentUpdates && e.base ? r(e) : x(e, 1, l)), n(e.__r, e));\n }function x(e, n, o, r) {\n if (!e.__x) {\n var i,\n l,\n a,\n c = e.props,\n p = e.state,\n s = e.context,\n _ = e.__p || c,\n h = e.__s || p,\n m = e.__c || s,\n b = e.base,\n y = e.__b,\n w = b || y,\n N = e._component,\n U = !1,\n S = m;if (e.constructor.getDerivedStateFromProps && (p = t(t({}, p), e.constructor.getDerivedStateFromProps(c, p)), e.state = p), b && (e.props = _, e.state = h, e.context = m, 2 !== n && e.shouldComponentUpdate && !1 === e.shouldComponentUpdate(c, p, s) ? U = !0 : e.componentWillUpdate && e.componentWillUpdate(c, p, s), e.props = c, e.state = p, e.context = s), e.__p = e.__s = e.__c = e.__b = null, e.__d = !1, !U) {\n i = e.render(c, p, s), e.getChildContext && (s = t(t({}, s), e.getChildContext())), b && e.getSnapshotBeforeUpdate && (S = e.getSnapshotBeforeUpdate(_, h));var L,\n T,\n P = i && i.nodeName;if (\"function\" == typeof P) {\n var W = u(i);l = N, l && l.constructor === P && W.key == l.__k ? C(l, W, 1, s, !1) : (L = l, e._component = l = g(P, W, s), l.__b = l.__b || y, l.__u = e, C(l, W, 0, s, !1), x(l, 1, o, !0)), T = l.base;\n } else a = w, L = N, L && (a = e._component = null), (w || 1 === n) && (a && (a._component = null), T = d(a, i, s, o || !b, w && w.parentNode, !0));if (w && T !== w && l !== N) {\n var D = w.parentNode;D && T !== D && (D.replaceChild(T, w), L || (w._component = null, v(w, !1)));\n }if (L && k(L), e.base = T, T && !r) {\n var E = e,\n V = e;while (V = V.__u) {\n (E = V).base = T;\n }T._component = E, T._componentConstructor = E.constructor;\n }\n }!b || o ? A.push(e) : U || (e.componentDidUpdate && e.componentDidUpdate(_, h, S), M.afterUpdate && M.afterUpdate(e));while (e.__h.length) {\n e.__h.pop().call(e);\n }H || r || f();\n }\n }function N(e, t, n, o) {\n var r = e && e._component,\n i = r,\n l = e,\n a = r && e._componentConstructor === t.nodeName,\n c = a,\n p = u(t);while (r && !c && (r = r.__u)) {\n c = r.constructor === t.nodeName;\n }return r && c && (!o || r._component) ? (C(r, p, 3, n, o), e = r.base) : (i && !a && (k(i), e = l = null), r = g(t.nodeName, p, n), e && !r.__b && (r.__b = e, l = null), C(r, p, 1, n, o), e = r.base, l && e !== l && (l._component = null, v(l, !1))), e;\n }function k(e) {\n M.beforeUnmount && M.beforeUnmount(e);var t = e.base;e.__x = !0, e.componentWillUnmount && e.componentWillUnmount(), e.base = null;var o = e._component;o ? k(o) : t && (null != t.__preactattr_ && n(t.__preactattr_.ref, null), e.__b = t, p(t), F.push(e), b(t)), n(e.__r, null);\n }function U(e, t) {\n this.__d = !0, this.context = t, this.props = e, this.state = this.state || {}, this.__h = [];\n }function S(e, t, n) {\n return d(n, e, {}, !1, t, !1);\n }function L() {\n return {};\n }var T = function T() {},\n M = {},\n P = [],\n W = [],\n D = \"function\" == typeof Promise ? Promise.resolve().then.bind(Promise.resolve()) : setTimeout,\n E = /acit|ex(?:s|g|n|p|$)|rph|ows|mnc|ntw|ine[ch]|zoo|^ord/i,\n V = [],\n A = [],\n H = 0,\n R = !1,\n B = !1,\n F = [];t(U.prototype, { setState: function setState(e, n) {\n this.__s || (this.__s = this.state), this.state = t(t({}, this.state), \"function\" == typeof e ? e(this.state, this.props) : e), n && this.__h.push(n), r(this);\n }, forceUpdate: function forceUpdate(e) {\n e && this.__h.push(e), x(this, 2);\n }, render: function render() {} });var j = { h: e, createElement: e, cloneElement: o, createRef: L, Component: U, render: S, rerender: i, options: M }; true ? module.exports = j : self.preact = j;\n}();\n//# sourceMappingURL=preact.min.js.map\n\n/***/ }),\n\n/***/ \"MKE3\":\n/***/ (function(module, exports) {\n\n// removed by extract-text-webpack-plugin\nmodule.exports = {\"markdown\":\"markdown__2fpjQ\"};\n\n/***/ }),\n\n/***/ \"MeW5\":\n/***/ (function(module, exports) {\n\n// removed by extract-text-webpack-plugin\nmodule.exports = {\"minus\":\"minus__2d_8r\"};\n\n/***/ }),\n\n/***/ \"Oqef\":\n/***/ (function(module, exports) {\n\n// removed by extract-text-webpack-plugin\n\n/***/ }),\n\n/***/ \"P9k+\":\n/***/ (function(module, exports) {\n\n// removed by extract-text-webpack-plugin\nmodule.exports = {\"panel\":\"panel__22fOQ\"};\n\n/***/ }),\n\n/***/ \"WViY\":\n/***/ (function(module, exports) {\n\n// removed by extract-text-webpack-plugin\n\n/***/ }),\n\n/***/ \"ZcXo\":\n/***/ (function(module, exports) {\n\nmodule.exports = {\"name\":\"Appunti Web\",\"short_name\":\"Appunti Web\",\"start_url\":\"/appuntiweb/\",\"display\":\"standalone\",\"orientation\":\"portrait\",\"background_color\":\"#0d193b\",\"theme_color\":\"#a0ccff\",\"icons\":[{\"src\":\"/assets/icon.png\",\"type\":\"image/png\",\"sizes\":\"800x800\"}]}\n\n/***/ }),\n\n/***/ \"ddTt\":\n/***/ (function(module, exports) {\n\n// removed by extract-text-webpack-plugin\nmodule.exports = {\"plus\":\"plus__1JPyf\"};\n\n/***/ }),\n\n/***/ \"jHTF\":\n/***/ (function(module, exports) {\n\n// removed by extract-text-webpack-plugin\n\n/***/ }),\n\n/***/ \"oNmJ\":\n/***/ (function(module, exports) {\n\n// removed by extract-text-webpack-plugin\nmodule.exports = {\"theorem\":\"theorem__yukmA\"};\n\n/***/ }),\n\n/***/ \"pRAn\":\n/***/ (function(module, exports) {\n\n// removed by extract-text-webpack-plugin\nmodule.exports = {\"hypothesis\":\"hypothesis__Ma0m3\"};\n\n/***/ }),\n\n/***/ \"pwNi\":\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nvar _preact = __webpack_require__(\"KM04\");\n\nif (false) {\n\trequire('preact/devtools');\n} else if (true && 'serviceWorker' in navigator && location.protocol === 'https:') {\n\tnavigator.serviceWorker.register(__webpack_require__.p + 'sw.js');\n}\n\nvar interopDefault = function interopDefault(m) {\n\treturn m && m.default ? m.default : m;\n};\n\nvar app = interopDefault(__webpack_require__(\"JkW7\"));\n\nif (typeof app === 'function') {\n\tvar root = document.body.firstElementChild;\n\n\tvar init = function init() {\n\t\tvar app = interopDefault(__webpack_require__(\"JkW7\"));\n\t\troot = (0, _preact.render)((0, _preact.h)(app), document.body, root);\n\t};\n\n\tif (false) module.hot.accept('preact-cli-entrypoint', init);\n\n\tinit();\n}\n\n/***/ }),\n\n/***/ \"qMTX\":\n/***/ (function(module, exports) {\n\n// removed by extract-text-webpack-plugin\nmodule.exports = {\"copyright\":\"copyright__TBGn1\"};\n\n/***/ }),\n\n/***/ \"tO1d\":\n/***/ (function(module, exports) {\n\n// removed by extract-text-webpack-plugin\nmodule.exports = {\"todo\":\"todo__5Soco\"};\n\n/***/ }),\n\n/***/ \"xHuH\":\n/***/ (function(module, exports) {\n\n// removed by extract-text-webpack-plugin\n\n/***/ })\n\n/******/ });\n\n\n// WEBPACK FOOTER //\n// bundle.4130c.js"," \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, {\n \t\t\t\tconfigurable: false,\n \t\t\t\tenumerable: true,\n \t\t\t\tget: getter\n \t\t\t});\n \t\t}\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"/\";\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = \"pwNi\");\n\n\n\n// WEBPACK FOOTER //\n// webpack/bootstrap 83144072610ce23e91b5","// removed by extract-text-webpack-plugin\nmodule.exports = {\"latex\":\"latex__34DCT\"};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./components/latex.css\n// module id = +uq9\n// module chunks = 0","// removed by extract-text-webpack-plugin\nmodule.exports = {\"split\":\"split__2Bl8C\",\"splitparent\":\"splitparent__nqY7W\",\"splitchild\":\"splitchild__3Ip86\"};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./components/split.css\n// module id = 1EpE\n// module chunks = 0",";/*! showdown v 1.9.1 - 02-11-2019 */\r\n(function(){\r\n/**\n * Created by Tivie on 13-07-2015.\n */\n\nfunction getDefaultOpts (simple) {\n 'use strict';\n\n var defaultOptions = {\n omitExtraWLInCodeBlocks: {\n defaultValue: false,\n describe: 'Omit the default extra whiteline added to code blocks',\n type: 'boolean'\n },\n noHeaderId: {\n defaultValue: false,\n describe: 'Turn on/off generated header id',\n type: 'boolean'\n },\n prefixHeaderId: {\n defaultValue: false,\n 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',\n type: 'string'\n },\n rawPrefixHeaderId: {\n defaultValue: false,\n 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)',\n type: 'boolean'\n },\n ghCompatibleHeaderId: {\n defaultValue: false,\n describe: 'Generate header ids compatible with github style (spaces are replaced with dashes, a bunch of non alphanumeric chars are removed)',\n type: 'boolean'\n },\n rawHeaderId: {\n defaultValue: false,\n describe: 'Remove only spaces, \\' and \" from generated header ids (including prefixes), replacing them with dashes (-). WARNING: This might result in malformed ids',\n type: 'boolean'\n },\n headerLevelStart: {\n defaultValue: false,\n describe: 'The header blocks level start',\n type: 'integer'\n },\n parseImgDimensions: {\n defaultValue: false,\n describe: 'Turn on/off image dimension parsing',\n type: 'boolean'\n },\n simplifiedAutoLink: {\n defaultValue: false,\n describe: 'Turn on/off GFM autolink style',\n type: 'boolean'\n },\n excludeTrailingPunctuationFromURLs: {\n defaultValue: false,\n describe: 'Excludes trailing punctuation from links generated with autoLinking',\n type: 'boolean'\n },\n literalMidWordUnderscores: {\n defaultValue: false,\n describe: 'Parse midword underscores as literal underscores',\n type: 'boolean'\n },\n literalMidWordAsterisks: {\n defaultValue: false,\n describe: 'Parse midword asterisks as literal asterisks',\n type: 'boolean'\n },\n strikethrough: {\n defaultValue: false,\n describe: 'Turn on/off strikethrough support',\n type: 'boolean'\n },\n tables: {\n defaultValue: false,\n describe: 'Turn on/off tables support',\n type: 'boolean'\n },\n tablesHeaderId: {\n defaultValue: false,\n describe: 'Add an id to table headers',\n type: 'boolean'\n },\n ghCodeBlocks: {\n defaultValue: true,\n describe: 'Turn on/off GFM fenced code blocks support',\n type: 'boolean'\n },\n tasklists: {\n defaultValue: false,\n describe: 'Turn on/off GFM tasklist support',\n type: 'boolean'\n },\n smoothLivePreview: {\n defaultValue: false,\n describe: 'Prevents weird effects in live previews due to incomplete input',\n type: 'boolean'\n },\n smartIndentationFix: {\n defaultValue: false,\n description: 'Tries to smartly fix indentation in es6 strings',\n type: 'boolean'\n },\n disableForced4SpacesIndentedSublists: {\n defaultValue: false,\n description: 'Disables the requirement of indenting nested sublists by 4 spaces',\n type: 'boolean'\n },\n simpleLineBreaks: {\n defaultValue: false,\n description: 'Parses simple line breaks as
(GFM Style)',\n type: 'boolean'\n },\n requireSpaceBeforeHeadingText: {\n defaultValue: false,\n description: 'Makes adding a space between `#` and the header text mandatory (GFM Style)',\n type: 'boolean'\n },\n ghMentions: {\n defaultValue: false,\n description: 'Enables github @mentions',\n type: 'boolean'\n },\n ghMentionsLink: {\n defaultValue: 'https://github.com/{u}',\n description: 'Changes the link generated by @mentions. Only applies if ghMentions option is enabled.',\n type: 'string'\n },\n encodeEmails: {\n defaultValue: true,\n description: 'Encode e-mail addresses through the use of Character Entities, transforming ASCII e-mail addresses into its equivalent decimal entities',\n type: 'boolean'\n },\n openLinksInNewWindow: {\n defaultValue: false,\n description: 'Open all links in new windows',\n type: 'boolean'\n },\n backslashEscapesHTMLTags: {\n defaultValue: false,\n description: 'Support for HTML Tag escaping. ex: \\foo\\',\n type: 'boolean'\n },\n emoji: {\n defaultValue: false,\n description: 'Enable emoji support. Ex: `this is a :smile: emoji`',\n type: 'boolean'\n },\n underline: {\n defaultValue: false,\n description: 'Enable support for underline. Syntax is double or triple underscores: `__underline word__`. With this option enabled, underscores no longer parses into `` and ``',\n type: 'boolean'\n },\n completeHTMLDocument: {\n defaultValue: false,\n description: 'Outputs a complete html document, including ``, `` and `` tags',\n type: 'boolean'\n },\n metadata: {\n defaultValue: false,\n description: 'Enable support for document metadata (defined at the top of the document between `«««` and `»»»` or between `---` and `---`).',\n type: 'boolean'\n },\n splitAdjacentBlockquotes: {\n defaultValue: false,\n description: 'Split adjacent blockquote blocks',\n type: 'boolean'\n }\n };\n if (simple === false) {\n return JSON.parse(JSON.stringify(defaultOptions));\n }\n var ret = {};\n for (var opt in defaultOptions) {\n if (defaultOptions.hasOwnProperty(opt)) {\n ret[opt] = defaultOptions[opt].defaultValue;\n }\n }\n return ret;\n}\n\nfunction allOptionsOn () {\n 'use strict';\n var options = getDefaultOpts(true),\n ret = {};\n for (var opt in options) {\n if (options.hasOwnProperty(opt)) {\n ret[opt] = true;\n }\n }\n return ret;\n}\n\r\n/**\n * Created by Tivie on 06-01-2015.\n */\n\n// Private properties\nvar showdown = {},\n parsers = {},\n extensions = {},\n globalOptions = getDefaultOpts(true),\n setFlavor = 'vanilla',\n flavor = {\n github: {\n omitExtraWLInCodeBlocks: true,\n simplifiedAutoLink: true,\n excludeTrailingPunctuationFromURLs: true,\n literalMidWordUnderscores: true,\n strikethrough: true,\n tables: true,\n tablesHeaderId: true,\n ghCodeBlocks: true,\n tasklists: true,\n disableForced4SpacesIndentedSublists: true,\n simpleLineBreaks: true,\n requireSpaceBeforeHeadingText: true,\n ghCompatibleHeaderId: true,\n ghMentions: true,\n backslashEscapesHTMLTags: true,\n emoji: true,\n splitAdjacentBlockquotes: true\n },\n original: {\n noHeaderId: true,\n ghCodeBlocks: false\n },\n ghost: {\n omitExtraWLInCodeBlocks: true,\n parseImgDimensions: true,\n simplifiedAutoLink: true,\n excludeTrailingPunctuationFromURLs: true,\n literalMidWordUnderscores: true,\n strikethrough: true,\n tables: true,\n tablesHeaderId: true,\n ghCodeBlocks: true,\n tasklists: true,\n smoothLivePreview: true,\n simpleLineBreaks: true,\n requireSpaceBeforeHeadingText: true,\n ghMentions: false,\n encodeEmails: true\n },\n vanilla: getDefaultOpts(true),\n allOn: allOptionsOn()\n };\n\n/**\n * helper namespace\n * @type {{}}\n */\nshowdown.helper = {};\n\n/**\n * TODO LEGACY SUPPORT CODE\n * @type {{}}\n */\nshowdown.extensions = {};\n\n/**\n * Set a global option\n * @static\n * @param {string} key\n * @param {*} value\n * @returns {showdown}\n */\nshowdown.setOption = function (key, value) {\n 'use strict';\n globalOptions[key] = value;\n return this;\n};\n\n/**\n * Get a global option\n * @static\n * @param {string} key\n * @returns {*}\n */\nshowdown.getOption = function (key) {\n 'use strict';\n return globalOptions[key];\n};\n\n/**\n * Get the global options\n * @static\n * @returns {{}}\n */\nshowdown.getOptions = function () {\n 'use strict';\n return globalOptions;\n};\n\n/**\n * Reset global options to the default values\n * @static\n */\nshowdown.resetOptions = function () {\n 'use strict';\n globalOptions = getDefaultOpts(true);\n};\n\n/**\n * Set the flavor showdown should use as default\n * @param {string} name\n */\nshowdown.setFlavor = function (name) {\n 'use strict';\n if (!flavor.hasOwnProperty(name)) {\n throw Error(name + ' flavor was not found');\n }\n showdown.resetOptions();\n var preset = flavor[name];\n setFlavor = name;\n for (var option in preset) {\n if (preset.hasOwnProperty(option)) {\n globalOptions[option] = preset[option];\n }\n }\n};\n\n/**\n * Get the currently set flavor\n * @returns {string}\n */\nshowdown.getFlavor = function () {\n 'use strict';\n return setFlavor;\n};\n\n/**\n * Get the options of a specified flavor. Returns undefined if the flavor was not found\n * @param {string} name Name of the flavor\n * @returns {{}|undefined}\n */\nshowdown.getFlavorOptions = function (name) {\n 'use strict';\n if (flavor.hasOwnProperty(name)) {\n return flavor[name];\n }\n};\n\n/**\n * Get the default options\n * @static\n * @param {boolean} [simple=true]\n * @returns {{}}\n */\nshowdown.getDefaultOptions = function (simple) {\n 'use strict';\n return getDefaultOpts(simple);\n};\n\n/**\n * Get or set a subParser\n *\n * subParser(name) - Get a registered subParser\n * subParser(name, func) - Register a subParser\n * @static\n * @param {string} name\n * @param {function} [func]\n * @returns {*}\n */\nshowdown.subParser = function (name, func) {\n 'use strict';\n if (showdown.helper.isString(name)) {\n if (typeof func !== 'undefined') {\n parsers[name] = func;\n } else {\n if (parsers.hasOwnProperty(name)) {\n return parsers[name];\n } else {\n throw Error('SubParser named ' + name + ' not registered!');\n }\n }\n }\n};\n\n/**\n * Gets or registers an extension\n * @static\n * @param {string} name\n * @param {object|function=} ext\n * @returns {*}\n */\nshowdown.extension = function (name, ext) {\n 'use strict';\n\n if (!showdown.helper.isString(name)) {\n throw Error('Extension \\'name\\' must be a string');\n }\n\n name = showdown.helper.stdExtName(name);\n\n // Getter\n if (showdown.helper.isUndefined(ext)) {\n if (!extensions.hasOwnProperty(name)) {\n throw Error('Extension named ' + name + ' is not registered!');\n }\n return extensions[name];\n\n // Setter\n } else {\n // Expand extension if it's wrapped in a function\n if (typeof ext === 'function') {\n ext = ext();\n }\n\n // Ensure extension is an array\n if (!showdown.helper.isArray(ext)) {\n ext = [ext];\n }\n\n var validExtension = validate(ext, name);\n\n if (validExtension.valid) {\n extensions[name] = ext;\n } else {\n throw Error(validExtension.error);\n }\n }\n};\n\n/**\n * Gets all extensions registered\n * @returns {{}}\n */\nshowdown.getAllExtensions = function () {\n 'use strict';\n return extensions;\n};\n\n/**\n * Remove an extension\n * @param {string} name\n */\nshowdown.removeExtension = function (name) {\n 'use strict';\n delete extensions[name];\n};\n\n/**\n * Removes all extensions\n */\nshowdown.resetExtensions = function () {\n 'use strict';\n extensions = {};\n};\n\n/**\n * Validate extension\n * @param {array} extension\n * @param {string} name\n * @returns {{valid: boolean, error: string}}\n */\nfunction validate (extension, name) {\n 'use strict';\n\n var errMsg = (name) ? 'Error in ' + name + ' extension->' : 'Error in unnamed extension',\n ret = {\n valid: true,\n error: ''\n };\n\n if (!showdown.helper.isArray(extension)) {\n extension = [extension];\n }\n\n for (var i = 0; i < extension.length; ++i) {\n var baseMsg = errMsg + ' sub-extension ' + i + ': ',\n ext = extension[i];\n if (typeof ext !== 'object') {\n ret.valid = false;\n ret.error = baseMsg + 'must be an object, but ' + typeof ext + ' given';\n return ret;\n }\n\n if (!showdown.helper.isString(ext.type)) {\n ret.valid = false;\n ret.error = baseMsg + 'property \"type\" must be a string, but ' + typeof ext.type + ' given';\n return ret;\n }\n\n var type = ext.type = ext.type.toLowerCase();\n\n // normalize extension type\n if (type === 'language') {\n type = ext.type = 'lang';\n }\n\n if (type === 'html') {\n type = ext.type = 'output';\n }\n\n if (type !== 'lang' && type !== 'output' && type !== 'listener') {\n ret.valid = false;\n ret.error = baseMsg + 'type ' + type + ' is not recognized. Valid values: \"lang/language\", \"output/html\" or \"listener\"';\n return ret;\n }\n\n if (type === 'listener') {\n if (showdown.helper.isUndefined(ext.listeners)) {\n ret.valid = false;\n ret.error = baseMsg + '. Extensions of type \"listener\" must have a property called \"listeners\"';\n return ret;\n }\n } else {\n if (showdown.helper.isUndefined(ext.filter) && showdown.helper.isUndefined(ext.regex)) {\n ret.valid = false;\n ret.error = baseMsg + type + ' extensions must define either a \"regex\" property or a \"filter\" method';\n return ret;\n }\n }\n\n if (ext.listeners) {\n if (typeof ext.listeners !== 'object') {\n ret.valid = false;\n ret.error = baseMsg + '\"listeners\" property must be an object but ' + typeof ext.listeners + ' given';\n return ret;\n }\n for (var ln in ext.listeners) {\n if (ext.listeners.hasOwnProperty(ln)) {\n if (typeof ext.listeners[ln] !== 'function') {\n ret.valid = false;\n ret.error = baseMsg + '\"listeners\" property must be an hash of [event name]: [callback]. listeners.' + ln +\n ' must be a function but ' + typeof ext.listeners[ln] + ' given';\n return ret;\n }\n }\n }\n }\n\n if (ext.filter) {\n if (typeof ext.filter !== 'function') {\n ret.valid = false;\n ret.error = baseMsg + '\"filter\" must be a function, but ' + typeof ext.filter + ' given';\n return ret;\n }\n } else if (ext.regex) {\n if (showdown.helper.isString(ext.regex)) {\n ext.regex = new RegExp(ext.regex, 'g');\n }\n if (!(ext.regex instanceof RegExp)) {\n ret.valid = false;\n ret.error = baseMsg + '\"regex\" property must either be a string or a RegExp object, but ' + typeof ext.regex + ' given';\n return ret;\n }\n if (showdown.helper.isUndefined(ext.replace)) {\n ret.valid = false;\n ret.error = baseMsg + '\"regex\" extensions must implement a replace string or function';\n return ret;\n }\n }\n }\n return ret;\n}\n\n/**\n * Validate extension\n * @param {object} ext\n * @returns {boolean}\n */\nshowdown.validateExtension = function (ext) {\n 'use strict';\n\n var validateExtension = validate(ext, null);\n if (!validateExtension.valid) {\n console.warn(validateExtension.error);\n return false;\n }\n return true;\n};\n\r\n/**\n * showdownjs helper functions\n */\n\nif (!showdown.hasOwnProperty('helper')) {\n showdown.helper = {};\n}\n\n/**\n * Check if var is string\n * @static\n * @param {string} a\n * @returns {boolean}\n */\nshowdown.helper.isString = function (a) {\n 'use strict';\n return (typeof a === 'string' || a instanceof String);\n};\n\n/**\n * Check if var is a function\n * @static\n * @param {*} a\n * @returns {boolean}\n */\nshowdown.helper.isFunction = function (a) {\n 'use strict';\n var getType = {};\n return a && getType.toString.call(a) === '[object Function]';\n};\n\n/**\n * isArray helper function\n * @static\n * @param {*} a\n * @returns {boolean}\n */\nshowdown.helper.isArray = function (a) {\n 'use strict';\n return Array.isArray(a);\n};\n\n/**\n * Check if value is undefined\n * @static\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is `undefined`, else `false`.\n */\nshowdown.helper.isUndefined = function (value) {\n 'use strict';\n return typeof value === 'undefined';\n};\n\n/**\n * ForEach helper function\n * Iterates over Arrays and Objects (own properties only)\n * @static\n * @param {*} obj\n * @param {function} callback Accepts 3 params: 1. value, 2. key, 3. the original array/object\n */\nshowdown.helper.forEach = function (obj, callback) {\n 'use strict';\n // check if obj is defined\n if (showdown.helper.isUndefined(obj)) {\n throw new Error('obj param is required');\n }\n\n if (showdown.helper.isUndefined(callback)) {\n throw new Error('callback param is required');\n }\n\n if (!showdown.helper.isFunction(callback)) {\n throw new Error('callback param must be a function/closure');\n }\n\n if (typeof obj.forEach === 'function') {\n obj.forEach(callback);\n } else if (showdown.helper.isArray(obj)) {\n for (var i = 0; i < obj.length; i++) {\n callback(obj[i], i, obj);\n }\n } else if (typeof (obj) === 'object') {\n for (var prop in obj) {\n if (obj.hasOwnProperty(prop)) {\n callback(obj[prop], prop, obj);\n }\n }\n } else {\n throw new Error('obj does not seem to be an array or an iterable object');\n }\n};\n\n/**\n * Standardidize extension name\n * @static\n * @param {string} s extension name\n * @returns {string}\n */\nshowdown.helper.stdExtName = function (s) {\n 'use strict';\n return s.replace(/[_?*+\\/\\\\.^-]/g, '').replace(/\\s/g, '').toLowerCase();\n};\n\nfunction escapeCharactersCallback (wholeMatch, m1) {\n 'use strict';\n var charCodeToEscape = m1.charCodeAt(0);\n return '¨E' + charCodeToEscape + 'E';\n}\n\n/**\n * Callback used to escape characters when passing through String.replace\n * @static\n * @param {string} wholeMatch\n * @param {string} m1\n * @returns {string}\n */\nshowdown.helper.escapeCharactersCallback = escapeCharactersCallback;\n\n/**\n * Escape characters in a string\n * @static\n * @param {string} text\n * @param {string} charsToEscape\n * @param {boolean} afterBackslash\n * @returns {XML|string|void|*}\n */\nshowdown.helper.escapeCharacters = function (text, charsToEscape, afterBackslash) {\n 'use strict';\n // First we have to escape the escape characters so that\n // we can build a character class out of them\n var regexString = '([' + charsToEscape.replace(/([\\[\\]\\\\])/g, '\\\\$1') + '])';\n\n if (afterBackslash) {\n regexString = '\\\\\\\\' + regexString;\n }\n\n var regex = new RegExp(regexString, 'g');\n text = text.replace(regex, escapeCharactersCallback);\n\n return text;\n};\n\n/**\n * Unescape HTML entities\n * @param txt\n * @returns {string}\n */\nshowdown.helper.unescapeHTMLEntities = function (txt) {\n 'use strict';\n\n return txt\n .replace(/"/g, '\"')\n .replace(/</g, '<')\n .replace(/>/g, '>')\n .replace(/&/g, '&');\n};\n\nvar rgxFindMatchPos = function (str, left, right, flags) {\n 'use strict';\n var f = flags || '',\n g = f.indexOf('g') > -1,\n x = new RegExp(left + '|' + right, 'g' + f.replace(/g/g, '')),\n l = new RegExp(left, f.replace(/g/g, '')),\n pos = [],\n t, s, m, start, end;\n\n do {\n t = 0;\n while ((m = x.exec(str))) {\n if (l.test(m[0])) {\n if (!(t++)) {\n s = x.lastIndex;\n start = s - m[0].length;\n }\n } else if (t) {\n if (!--t) {\n end = m.index + m[0].length;\n var obj = {\n left: {start: start, end: s},\n match: {start: s, end: m.index},\n right: {start: m.index, end: end},\n wholeMatch: {start: start, end: end}\n };\n pos.push(obj);\n if (!g) {\n return pos;\n }\n }\n }\n }\n } while (t && (x.lastIndex = s));\n\n return pos;\n};\n\n/**\n * matchRecursiveRegExp\n *\n * (c) 2007 Steven Levithan \n * MIT License\n *\n * Accepts a string to search, a left and right format delimiter\n * as regex patterns, and optional regex flags. Returns an array\n * of matches, allowing nested instances of left/right delimiters.\n * Use the \"g\" flag to return all matches, otherwise only the\n * first is returned. Be careful to ensure that the left and\n * right format delimiters produce mutually exclusive matches.\n * Backreferences are not supported within the right delimiter\n * due to how it is internally combined with the left delimiter.\n * When matching strings whose format delimiters are unbalanced\n * to the left or right, the output is intentionally as a\n * conventional regex library with recursion support would\n * produce, e.g. \"<\" and \">\" both produce [\"x\"] when using\n * \"<\" and \">\" as the delimiters (both strings contain a single,\n * balanced instance of \"\").\n *\n * examples:\n * matchRecursiveRegExp(\"test\", \"\\\\(\", \"\\\\)\")\n * returns: []\n * matchRecursiveRegExp(\">>t<>\", \"<\", \">\", \"g\")\n * returns: [\"t<>\", \"\"]\n * matchRecursiveRegExp(\"test\", \"]*>\", \"\", \"gi\")\n * returns: [\"test\"]\n */\nshowdown.helper.matchRecursiveRegExp = function (str, left, right, flags) {\n 'use strict';\n\n var matchPos = rgxFindMatchPos (str, left, right, flags),\n results = [];\n\n for (var i = 0; i < matchPos.length; ++i) {\n results.push([\n str.slice(matchPos[i].wholeMatch.start, matchPos[i].wholeMatch.end),\n str.slice(matchPos[i].match.start, matchPos[i].match.end),\n str.slice(matchPos[i].left.start, matchPos[i].left.end),\n str.slice(matchPos[i].right.start, matchPos[i].right.end)\n ]);\n }\n return results;\n};\n\n/**\n *\n * @param {string} str\n * @param {string|function} replacement\n * @param {string} left\n * @param {string} right\n * @param {string} flags\n * @returns {string}\n */\nshowdown.helper.replaceRecursiveRegExp = function (str, replacement, left, right, flags) {\n 'use strict';\n\n if (!showdown.helper.isFunction(replacement)) {\n var repStr = replacement;\n replacement = function () {\n return repStr;\n };\n }\n\n var matchPos = rgxFindMatchPos(str, left, right, flags),\n finalStr = str,\n lng = matchPos.length;\n\n if (lng > 0) {\n var bits = [];\n if (matchPos[0].wholeMatch.start !== 0) {\n bits.push(str.slice(0, matchPos[0].wholeMatch.start));\n }\n for (var i = 0; i < lng; ++i) {\n bits.push(\n replacement(\n str.slice(matchPos[i].wholeMatch.start, matchPos[i].wholeMatch.end),\n str.slice(matchPos[i].match.start, matchPos[i].match.end),\n str.slice(matchPos[i].left.start, matchPos[i].left.end),\n str.slice(matchPos[i].right.start, matchPos[i].right.end)\n )\n );\n if (i < lng - 1) {\n bits.push(str.slice(matchPos[i].wholeMatch.end, matchPos[i + 1].wholeMatch.start));\n }\n }\n if (matchPos[lng - 1].wholeMatch.end < str.length) {\n bits.push(str.slice(matchPos[lng - 1].wholeMatch.end));\n }\n finalStr = bits.join('');\n }\n return finalStr;\n};\n\n/**\n * Returns the index within the passed String object of the first occurrence of the specified regex,\n * starting the search at fromIndex. Returns -1 if the value is not found.\n *\n * @param {string} str string to search\n * @param {RegExp} regex Regular expression to search\n * @param {int} [fromIndex = 0] Index to start the search\n * @returns {Number}\n * @throws InvalidArgumentError\n */\nshowdown.helper.regexIndexOf = function (str, regex, fromIndex) {\n 'use strict';\n if (!showdown.helper.isString(str)) {\n throw 'InvalidArgumentError: first parameter of showdown.helper.regexIndexOf function must be a string';\n }\n if (regex instanceof RegExp === false) {\n throw 'InvalidArgumentError: second parameter of showdown.helper.regexIndexOf function must be an instance of RegExp';\n }\n var indexOf = str.substring(fromIndex || 0).search(regex);\n return (indexOf >= 0) ? (indexOf + (fromIndex || 0)) : indexOf;\n};\n\n/**\n * Splits the passed string object at the defined index, and returns an array composed of the two substrings\n * @param {string} str string to split\n * @param {int} index index to split string at\n * @returns {[string,string]}\n * @throws InvalidArgumentError\n */\nshowdown.helper.splitAtIndex = function (str, index) {\n 'use strict';\n if (!showdown.helper.isString(str)) {\n throw 'InvalidArgumentError: first parameter of showdown.helper.regexIndexOf function must be a string';\n }\n return [str.substring(0, index), str.substring(index)];\n};\n\n/**\n * Obfuscate an e-mail address through the use of Character Entities,\n * transforming ASCII characters into their equivalent decimal or hex entities.\n *\n * Since it has a random component, subsequent calls to this function produce different results\n *\n * @param {string} mail\n * @returns {string}\n */\nshowdown.helper.encodeEmailAddress = function (mail) {\n 'use strict';\n var encode = [\n function (ch) {\n return '' + ch.charCodeAt(0) + ';';\n },\n function (ch) {\n return '' + ch.charCodeAt(0).toString(16) + ';';\n },\n function (ch) {\n return ch;\n }\n ];\n\n mail = mail.replace(/./g, function (ch) {\n if (ch === '@') {\n // this *must* be encoded. I insist.\n ch = encode[Math.floor(Math.random() * 2)](ch);\n } else {\n var r = Math.random();\n // roughly 10% raw, 45% hex, 45% dec\n ch = (\n r > 0.9 ? encode[2](ch) : r > 0.45 ? encode[1](ch) : encode[0](ch)\n );\n }\n return ch;\n });\n\n return mail;\n};\n\n/**\n *\n * @param str\n * @param targetLength\n * @param padString\n * @returns {string}\n */\nshowdown.helper.padEnd = function padEnd (str, targetLength, padString) {\n 'use strict';\n /*jshint bitwise: false*/\n // eslint-disable-next-line space-infix-ops\n targetLength = targetLength>>0; //floor if number or convert non-number to 0;\n /*jshint bitwise: true*/\n padString = String(padString || ' ');\n if (str.length > targetLength) {\n return String(str);\n } else {\n targetLength = targetLength - str.length;\n if (targetLength > padString.length) {\n padString += padString.repeat(targetLength / padString.length); //append to original to ensure we are longer than needed\n }\n return String(str) + padString.slice(0,targetLength);\n }\n};\n\n/**\n * POLYFILLS\n */\n// use this instead of builtin is undefined for IE8 compatibility\nif (typeof console === 'undefined') {\n console = {\n warn: function (msg) {\n 'use strict';\n alert(msg);\n },\n log: function (msg) {\n 'use strict';\n alert(msg);\n },\n error: function (msg) {\n 'use strict';\n throw msg;\n }\n };\n}\n\n/**\n * Common regexes.\n * We declare some common regexes to improve performance\n */\nshowdown.helper.regexes = {\n asteriskDashAndColon: /([*_:~])/g\n};\n\n/**\n * EMOJIS LIST\n */\nshowdown.helper.emojis = {\n '+1':'\\ud83d\\udc4d',\n '-1':'\\ud83d\\udc4e',\n '100':'\\ud83d\\udcaf',\n '1234':'\\ud83d\\udd22',\n '1st_place_medal':'\\ud83e\\udd47',\n '2nd_place_medal':'\\ud83e\\udd48',\n '3rd_place_medal':'\\ud83e\\udd49',\n '8ball':'\\ud83c\\udfb1',\n 'a':'\\ud83c\\udd70\\ufe0f',\n 'ab':'\\ud83c\\udd8e',\n 'abc':'\\ud83d\\udd24',\n 'abcd':'\\ud83d\\udd21',\n 'accept':'\\ud83c\\ude51',\n 'aerial_tramway':'\\ud83d\\udea1',\n 'airplane':'\\u2708\\ufe0f',\n 'alarm_clock':'\\u23f0',\n 'alembic':'\\u2697\\ufe0f',\n 'alien':'\\ud83d\\udc7d',\n 'ambulance':'\\ud83d\\ude91',\n 'amphora':'\\ud83c\\udffa',\n 'anchor':'\\u2693\\ufe0f',\n 'angel':'\\ud83d\\udc7c',\n 'anger':'\\ud83d\\udca2',\n 'angry':'\\ud83d\\ude20',\n 'anguished':'\\ud83d\\ude27',\n 'ant':'\\ud83d\\udc1c',\n 'apple':'\\ud83c\\udf4e',\n 'aquarius':'\\u2652\\ufe0f',\n 'aries':'\\u2648\\ufe0f',\n 'arrow_backward':'\\u25c0\\ufe0f',\n 'arrow_double_down':'\\u23ec',\n 'arrow_double_up':'\\u23eb',\n 'arrow_down':'\\u2b07\\ufe0f',\n 'arrow_down_small':'\\ud83d\\udd3d',\n 'arrow_forward':'\\u25b6\\ufe0f',\n 'arrow_heading_down':'\\u2935\\ufe0f',\n 'arrow_heading_up':'\\u2934\\ufe0f',\n 'arrow_left':'\\u2b05\\ufe0f',\n 'arrow_lower_left':'\\u2199\\ufe0f',\n 'arrow_lower_right':'\\u2198\\ufe0f',\n 'arrow_right':'\\u27a1\\ufe0f',\n 'arrow_right_hook':'\\u21aa\\ufe0f',\n 'arrow_up':'\\u2b06\\ufe0f',\n 'arrow_up_down':'\\u2195\\ufe0f',\n 'arrow_up_small':'\\ud83d\\udd3c',\n 'arrow_upper_left':'\\u2196\\ufe0f',\n 'arrow_upper_right':'\\u2197\\ufe0f',\n 'arrows_clockwise':'\\ud83d\\udd03',\n 'arrows_counterclockwise':'\\ud83d\\udd04',\n 'art':'\\ud83c\\udfa8',\n 'articulated_lorry':'\\ud83d\\ude9b',\n 'artificial_satellite':'\\ud83d\\udef0',\n 'astonished':'\\ud83d\\ude32',\n 'athletic_shoe':'\\ud83d\\udc5f',\n 'atm':'\\ud83c\\udfe7',\n 'atom_symbol':'\\u269b\\ufe0f',\n 'avocado':'\\ud83e\\udd51',\n 'b':'\\ud83c\\udd71\\ufe0f',\n 'baby':'\\ud83d\\udc76',\n 'baby_bottle':'\\ud83c\\udf7c',\n 'baby_chick':'\\ud83d\\udc24',\n 'baby_symbol':'\\ud83d\\udebc',\n 'back':'\\ud83d\\udd19',\n 'bacon':'\\ud83e\\udd53',\n 'badminton':'\\ud83c\\udff8',\n 'baggage_claim':'\\ud83d\\udec4',\n 'baguette_bread':'\\ud83e\\udd56',\n 'balance_scale':'\\u2696\\ufe0f',\n 'balloon':'\\ud83c\\udf88',\n 'ballot_box':'\\ud83d\\uddf3',\n 'ballot_box_with_check':'\\u2611\\ufe0f',\n 'bamboo':'\\ud83c\\udf8d',\n 'banana':'\\ud83c\\udf4c',\n 'bangbang':'\\u203c\\ufe0f',\n 'bank':'\\ud83c\\udfe6',\n 'bar_chart':'\\ud83d\\udcca',\n 'barber':'\\ud83d\\udc88',\n 'baseball':'\\u26be\\ufe0f',\n 'basketball':'\\ud83c\\udfc0',\n 'basketball_man':'\\u26f9\\ufe0f',\n 'basketball_woman':'\\u26f9\\ufe0f\\u2640\\ufe0f',\n 'bat':'\\ud83e\\udd87',\n 'bath':'\\ud83d\\udec0',\n 'bathtub':'\\ud83d\\udec1',\n 'battery':'\\ud83d\\udd0b',\n 'beach_umbrella':'\\ud83c\\udfd6',\n 'bear':'\\ud83d\\udc3b',\n 'bed':'\\ud83d\\udecf',\n 'bee':'\\ud83d\\udc1d',\n 'beer':'\\ud83c\\udf7a',\n 'beers':'\\ud83c\\udf7b',\n 'beetle':'\\ud83d\\udc1e',\n 'beginner':'\\ud83d\\udd30',\n 'bell':'\\ud83d\\udd14',\n 'bellhop_bell':'\\ud83d\\udece',\n 'bento':'\\ud83c\\udf71',\n 'biking_man':'\\ud83d\\udeb4',\n 'bike':'\\ud83d\\udeb2',\n 'biking_woman':'\\ud83d\\udeb4\\u2640\\ufe0f',\n 'bikini':'\\ud83d\\udc59',\n 'biohazard':'\\u2623\\ufe0f',\n 'bird':'\\ud83d\\udc26',\n 'birthday':'\\ud83c\\udf82',\n 'black_circle':'\\u26ab\\ufe0f',\n 'black_flag':'\\ud83c\\udff4',\n 'black_heart':'\\ud83d\\udda4',\n 'black_joker':'\\ud83c\\udccf',\n 'black_large_square':'\\u2b1b\\ufe0f',\n 'black_medium_small_square':'\\u25fe\\ufe0f',\n 'black_medium_square':'\\u25fc\\ufe0f',\n 'black_nib':'\\u2712\\ufe0f',\n 'black_small_square':'\\u25aa\\ufe0f',\n 'black_square_button':'\\ud83d\\udd32',\n 'blonde_man':'\\ud83d\\udc71',\n 'blonde_woman':'\\ud83d\\udc71\\u2640\\ufe0f',\n 'blossom':'\\ud83c\\udf3c',\n 'blowfish':'\\ud83d\\udc21',\n 'blue_book':'\\ud83d\\udcd8',\n 'blue_car':'\\ud83d\\ude99',\n 'blue_heart':'\\ud83d\\udc99',\n 'blush':'\\ud83d\\ude0a',\n 'boar':'\\ud83d\\udc17',\n 'boat':'\\u26f5\\ufe0f',\n 'bomb':'\\ud83d\\udca3',\n 'book':'\\ud83d\\udcd6',\n 'bookmark':'\\ud83d\\udd16',\n 'bookmark_tabs':'\\ud83d\\udcd1',\n 'books':'\\ud83d\\udcda',\n 'boom':'\\ud83d\\udca5',\n 'boot':'\\ud83d\\udc62',\n 'bouquet':'\\ud83d\\udc90',\n 'bowing_man':'\\ud83d\\ude47',\n 'bow_and_arrow':'\\ud83c\\udff9',\n 'bowing_woman':'\\ud83d\\ude47\\u2640\\ufe0f',\n 'bowling':'\\ud83c\\udfb3',\n 'boxing_glove':'\\ud83e\\udd4a',\n 'boy':'\\ud83d\\udc66',\n 'bread':'\\ud83c\\udf5e',\n 'bride_with_veil':'\\ud83d\\udc70',\n 'bridge_at_night':'\\ud83c\\udf09',\n 'briefcase':'\\ud83d\\udcbc',\n 'broken_heart':'\\ud83d\\udc94',\n 'bug':'\\ud83d\\udc1b',\n 'building_construction':'\\ud83c\\udfd7',\n 'bulb':'\\ud83d\\udca1',\n 'bullettrain_front':'\\ud83d\\ude85',\n 'bullettrain_side':'\\ud83d\\ude84',\n 'burrito':'\\ud83c\\udf2f',\n 'bus':'\\ud83d\\ude8c',\n 'business_suit_levitating':'\\ud83d\\udd74',\n 'busstop':'\\ud83d\\ude8f',\n 'bust_in_silhouette':'\\ud83d\\udc64',\n 'busts_in_silhouette':'\\ud83d\\udc65',\n 'butterfly':'\\ud83e\\udd8b',\n 'cactus':'\\ud83c\\udf35',\n 'cake':'\\ud83c\\udf70',\n 'calendar':'\\ud83d\\udcc6',\n 'call_me_hand':'\\ud83e\\udd19',\n 'calling':'\\ud83d\\udcf2',\n 'camel':'\\ud83d\\udc2b',\n 'camera':'\\ud83d\\udcf7',\n 'camera_flash':'\\ud83d\\udcf8',\n 'camping':'\\ud83c\\udfd5',\n 'cancer':'\\u264b\\ufe0f',\n 'candle':'\\ud83d\\udd6f',\n 'candy':'\\ud83c\\udf6c',\n 'canoe':'\\ud83d\\udef6',\n 'capital_abcd':'\\ud83d\\udd20',\n 'capricorn':'\\u2651\\ufe0f',\n 'car':'\\ud83d\\ude97',\n 'card_file_box':'\\ud83d\\uddc3',\n 'card_index':'\\ud83d\\udcc7',\n 'card_index_dividers':'\\ud83d\\uddc2',\n 'carousel_horse':'\\ud83c\\udfa0',\n 'carrot':'\\ud83e\\udd55',\n 'cat':'\\ud83d\\udc31',\n 'cat2':'\\ud83d\\udc08',\n 'cd':'\\ud83d\\udcbf',\n 'chains':'\\u26d3',\n 'champagne':'\\ud83c\\udf7e',\n 'chart':'\\ud83d\\udcb9',\n 'chart_with_downwards_trend':'\\ud83d\\udcc9',\n 'chart_with_upwards_trend':'\\ud83d\\udcc8',\n 'checkered_flag':'\\ud83c\\udfc1',\n 'cheese':'\\ud83e\\uddc0',\n 'cherries':'\\ud83c\\udf52',\n 'cherry_blossom':'\\ud83c\\udf38',\n 'chestnut':'\\ud83c\\udf30',\n 'chicken':'\\ud83d\\udc14',\n 'children_crossing':'\\ud83d\\udeb8',\n 'chipmunk':'\\ud83d\\udc3f',\n 'chocolate_bar':'\\ud83c\\udf6b',\n 'christmas_tree':'\\ud83c\\udf84',\n 'church':'\\u26ea\\ufe0f',\n 'cinema':'\\ud83c\\udfa6',\n 'circus_tent':'\\ud83c\\udfaa',\n 'city_sunrise':'\\ud83c\\udf07',\n 'city_sunset':'\\ud83c\\udf06',\n 'cityscape':'\\ud83c\\udfd9',\n 'cl':'\\ud83c\\udd91',\n 'clamp':'\\ud83d\\udddc',\n 'clap':'\\ud83d\\udc4f',\n 'clapper':'\\ud83c\\udfac',\n 'classical_building':'\\ud83c\\udfdb',\n 'clinking_glasses':'\\ud83e\\udd42',\n 'clipboard':'\\ud83d\\udccb',\n 'clock1':'\\ud83d\\udd50',\n 'clock10':'\\ud83d\\udd59',\n 'clock1030':'\\ud83d\\udd65',\n 'clock11':'\\ud83d\\udd5a',\n 'clock1130':'\\ud83d\\udd66',\n 'clock12':'\\ud83d\\udd5b',\n 'clock1230':'\\ud83d\\udd67',\n 'clock130':'\\ud83d\\udd5c',\n 'clock2':'\\ud83d\\udd51',\n 'clock230':'\\ud83d\\udd5d',\n 'clock3':'\\ud83d\\udd52',\n 'clock330':'\\ud83d\\udd5e',\n 'clock4':'\\ud83d\\udd53',\n 'clock430':'\\ud83d\\udd5f',\n 'clock5':'\\ud83d\\udd54',\n 'clock530':'\\ud83d\\udd60',\n 'clock6':'\\ud83d\\udd55',\n 'clock630':'\\ud83d\\udd61',\n 'clock7':'\\ud83d\\udd56',\n 'clock730':'\\ud83d\\udd62',\n 'clock8':'\\ud83d\\udd57',\n 'clock830':'\\ud83d\\udd63',\n 'clock9':'\\ud83d\\udd58',\n 'clock930':'\\ud83d\\udd64',\n 'closed_book':'\\ud83d\\udcd5',\n 'closed_lock_with_key':'\\ud83d\\udd10',\n 'closed_umbrella':'\\ud83c\\udf02',\n 'cloud':'\\u2601\\ufe0f',\n 'cloud_with_lightning':'\\ud83c\\udf29',\n 'cloud_with_lightning_and_rain':'\\u26c8',\n 'cloud_with_rain':'\\ud83c\\udf27',\n 'cloud_with_snow':'\\ud83c\\udf28',\n 'clown_face':'\\ud83e\\udd21',\n 'clubs':'\\u2663\\ufe0f',\n 'cocktail':'\\ud83c\\udf78',\n 'coffee':'\\u2615\\ufe0f',\n 'coffin':'\\u26b0\\ufe0f',\n 'cold_sweat':'\\ud83d\\ude30',\n 'comet':'\\u2604\\ufe0f',\n 'computer':'\\ud83d\\udcbb',\n 'computer_mouse':'\\ud83d\\uddb1',\n 'confetti_ball':'\\ud83c\\udf8a',\n 'confounded':'\\ud83d\\ude16',\n 'confused':'\\ud83d\\ude15',\n 'congratulations':'\\u3297\\ufe0f',\n 'construction':'\\ud83d\\udea7',\n 'construction_worker_man':'\\ud83d\\udc77',\n 'construction_worker_woman':'\\ud83d\\udc77\\u2640\\ufe0f',\n 'control_knobs':'\\ud83c\\udf9b',\n 'convenience_store':'\\ud83c\\udfea',\n 'cookie':'\\ud83c\\udf6a',\n 'cool':'\\ud83c\\udd92',\n 'policeman':'\\ud83d\\udc6e',\n 'copyright':'\\u00a9\\ufe0f',\n 'corn':'\\ud83c\\udf3d',\n 'couch_and_lamp':'\\ud83d\\udecb',\n 'couple':'\\ud83d\\udc6b',\n 'couple_with_heart_woman_man':'\\ud83d\\udc91',\n 'couple_with_heart_man_man':'\\ud83d\\udc68\\u2764\\ufe0f\\ud83d\\udc68',\n 'couple_with_heart_woman_woman':'\\ud83d\\udc69\\u2764\\ufe0f\\ud83d\\udc69',\n 'couplekiss_man_man':'\\ud83d\\udc68\\u2764\\ufe0f\\ud83d\\udc8b\\ud83d\\udc68',\n 'couplekiss_man_woman':'\\ud83d\\udc8f',\n 'couplekiss_woman_woman':'\\ud83d\\udc69\\u2764\\ufe0f\\ud83d\\udc8b\\ud83d\\udc69',\n 'cow':'\\ud83d\\udc2e',\n 'cow2':'\\ud83d\\udc04',\n 'cowboy_hat_face':'\\ud83e\\udd20',\n 'crab':'\\ud83e\\udd80',\n 'crayon':'\\ud83d\\udd8d',\n 'credit_card':'\\ud83d\\udcb3',\n 'crescent_moon':'\\ud83c\\udf19',\n 'cricket':'\\ud83c\\udfcf',\n 'crocodile':'\\ud83d\\udc0a',\n 'croissant':'\\ud83e\\udd50',\n 'crossed_fingers':'\\ud83e\\udd1e',\n 'crossed_flags':'\\ud83c\\udf8c',\n 'crossed_swords':'\\u2694\\ufe0f',\n 'crown':'\\ud83d\\udc51',\n 'cry':'\\ud83d\\ude22',\n 'crying_cat_face':'\\ud83d\\ude3f',\n 'crystal_ball':'\\ud83d\\udd2e',\n 'cucumber':'\\ud83e\\udd52',\n 'cupid':'\\ud83d\\udc98',\n 'curly_loop':'\\u27b0',\n 'currency_exchange':'\\ud83d\\udcb1',\n 'curry':'\\ud83c\\udf5b',\n 'custard':'\\ud83c\\udf6e',\n 'customs':'\\ud83d\\udec3',\n 'cyclone':'\\ud83c\\udf00',\n 'dagger':'\\ud83d\\udde1',\n 'dancer':'\\ud83d\\udc83',\n 'dancing_women':'\\ud83d\\udc6f',\n 'dancing_men':'\\ud83d\\udc6f\\u2642\\ufe0f',\n 'dango':'\\ud83c\\udf61',\n 'dark_sunglasses':'\\ud83d\\udd76',\n 'dart':'\\ud83c\\udfaf',\n 'dash':'\\ud83d\\udca8',\n 'date':'\\ud83d\\udcc5',\n 'deciduous_tree':'\\ud83c\\udf33',\n 'deer':'\\ud83e\\udd8c',\n 'department_store':'\\ud83c\\udfec',\n 'derelict_house':'\\ud83c\\udfda',\n 'desert':'\\ud83c\\udfdc',\n 'desert_island':'\\ud83c\\udfdd',\n 'desktop_computer':'\\ud83d\\udda5',\n 'male_detective':'\\ud83d\\udd75\\ufe0f',\n 'diamond_shape_with_a_dot_inside':'\\ud83d\\udca0',\n 'diamonds':'\\u2666\\ufe0f',\n 'disappointed':'\\ud83d\\ude1e',\n 'disappointed_relieved':'\\ud83d\\ude25',\n 'dizzy':'\\ud83d\\udcab',\n 'dizzy_face':'\\ud83d\\ude35',\n 'do_not_litter':'\\ud83d\\udeaf',\n 'dog':'\\ud83d\\udc36',\n 'dog2':'\\ud83d\\udc15',\n 'dollar':'\\ud83d\\udcb5',\n 'dolls':'\\ud83c\\udf8e',\n 'dolphin':'\\ud83d\\udc2c',\n 'door':'\\ud83d\\udeaa',\n 'doughnut':'\\ud83c\\udf69',\n 'dove':'\\ud83d\\udd4a',\n 'dragon':'\\ud83d\\udc09',\n 'dragon_face':'\\ud83d\\udc32',\n 'dress':'\\ud83d\\udc57',\n 'dromedary_camel':'\\ud83d\\udc2a',\n 'drooling_face':'\\ud83e\\udd24',\n 'droplet':'\\ud83d\\udca7',\n 'drum':'\\ud83e\\udd41',\n 'duck':'\\ud83e\\udd86',\n 'dvd':'\\ud83d\\udcc0',\n 'e-mail':'\\ud83d\\udce7',\n 'eagle':'\\ud83e\\udd85',\n 'ear':'\\ud83d\\udc42',\n 'ear_of_rice':'\\ud83c\\udf3e',\n 'earth_africa':'\\ud83c\\udf0d',\n 'earth_americas':'\\ud83c\\udf0e',\n 'earth_asia':'\\ud83c\\udf0f',\n 'egg':'\\ud83e\\udd5a',\n 'eggplant':'\\ud83c\\udf46',\n 'eight_pointed_black_star':'\\u2734\\ufe0f',\n 'eight_spoked_asterisk':'\\u2733\\ufe0f',\n 'electric_plug':'\\ud83d\\udd0c',\n 'elephant':'\\ud83d\\udc18',\n 'email':'\\u2709\\ufe0f',\n 'end':'\\ud83d\\udd1a',\n 'envelope_with_arrow':'\\ud83d\\udce9',\n 'euro':'\\ud83d\\udcb6',\n 'european_castle':'\\ud83c\\udff0',\n 'european_post_office':'\\ud83c\\udfe4',\n 'evergreen_tree':'\\ud83c\\udf32',\n 'exclamation':'\\u2757\\ufe0f',\n 'expressionless':'\\ud83d\\ude11',\n 'eye':'\\ud83d\\udc41',\n 'eye_speech_bubble':'\\ud83d\\udc41\\ud83d\\udde8',\n 'eyeglasses':'\\ud83d\\udc53',\n 'eyes':'\\ud83d\\udc40',\n 'face_with_head_bandage':'\\ud83e\\udd15',\n 'face_with_thermometer':'\\ud83e\\udd12',\n 'fist_oncoming':'\\ud83d\\udc4a',\n 'factory':'\\ud83c\\udfed',\n 'fallen_leaf':'\\ud83c\\udf42',\n 'family_man_woman_boy':'\\ud83d\\udc6a',\n 'family_man_boy':'\\ud83d\\udc68\\ud83d\\udc66',\n 'family_man_boy_boy':'\\ud83d\\udc68\\ud83d\\udc66\\ud83d\\udc66',\n 'family_man_girl':'\\ud83d\\udc68\\ud83d\\udc67',\n 'family_man_girl_boy':'\\ud83d\\udc68\\ud83d\\udc67\\ud83d\\udc66',\n 'family_man_girl_girl':'\\ud83d\\udc68\\ud83d\\udc67\\ud83d\\udc67',\n 'family_man_man_boy':'\\ud83d\\udc68\\ud83d\\udc68\\ud83d\\udc66',\n 'family_man_man_boy_boy':'\\ud83d\\udc68\\ud83d\\udc68\\ud83d\\udc66\\ud83d\\udc66',\n 'family_man_man_girl':'\\ud83d\\udc68\\ud83d\\udc68\\ud83d\\udc67',\n 'family_man_man_girl_boy':'\\ud83d\\udc68\\ud83d\\udc68\\ud83d\\udc67\\ud83d\\udc66',\n 'family_man_man_girl_girl':'\\ud83d\\udc68\\ud83d\\udc68\\ud83d\\udc67\\ud83d\\udc67',\n 'family_man_woman_boy_boy':'\\ud83d\\udc68\\ud83d\\udc69\\ud83d\\udc66\\ud83d\\udc66',\n 'family_man_woman_girl':'\\ud83d\\udc68\\ud83d\\udc69\\ud83d\\udc67',\n 'family_man_woman_girl_boy':'\\ud83d\\udc68\\ud83d\\udc69\\ud83d\\udc67\\ud83d\\udc66',\n 'family_man_woman_girl_girl':'\\ud83d\\udc68\\ud83d\\udc69\\ud83d\\udc67\\ud83d\\udc67',\n 'family_woman_boy':'\\ud83d\\udc69\\ud83d\\udc66',\n 'family_woman_boy_boy':'\\ud83d\\udc69\\ud83d\\udc66\\ud83d\\udc66',\n 'family_woman_girl':'\\ud83d\\udc69\\ud83d\\udc67',\n 'family_woman_girl_boy':'\\ud83d\\udc69\\ud83d\\udc67\\ud83d\\udc66',\n 'family_woman_girl_girl':'\\ud83d\\udc69\\ud83d\\udc67\\ud83d\\udc67',\n 'family_woman_woman_boy':'\\ud83d\\udc69\\ud83d\\udc69\\ud83d\\udc66',\n 'family_woman_woman_boy_boy':'\\ud83d\\udc69\\ud83d\\udc69\\ud83d\\udc66\\ud83d\\udc66',\n 'family_woman_woman_girl':'\\ud83d\\udc69\\ud83d\\udc69\\ud83d\\udc67',\n 'family_woman_woman_girl_boy':'\\ud83d\\udc69\\ud83d\\udc69\\ud83d\\udc67\\ud83d\\udc66',\n 'family_woman_woman_girl_girl':'\\ud83d\\udc69\\ud83d\\udc69\\ud83d\\udc67\\ud83d\\udc67',\n 'fast_forward':'\\u23e9',\n 'fax':'\\ud83d\\udce0',\n 'fearful':'\\ud83d\\ude28',\n 'feet':'\\ud83d\\udc3e',\n 'female_detective':'\\ud83d\\udd75\\ufe0f\\u2640\\ufe0f',\n 'ferris_wheel':'\\ud83c\\udfa1',\n 'ferry':'\\u26f4',\n 'field_hockey':'\\ud83c\\udfd1',\n 'file_cabinet':'\\ud83d\\uddc4',\n 'file_folder':'\\ud83d\\udcc1',\n 'film_projector':'\\ud83d\\udcfd',\n 'film_strip':'\\ud83c\\udf9e',\n 'fire':'\\ud83d\\udd25',\n 'fire_engine':'\\ud83d\\ude92',\n 'fireworks':'\\ud83c\\udf86',\n 'first_quarter_moon':'\\ud83c\\udf13',\n 'first_quarter_moon_with_face':'\\ud83c\\udf1b',\n 'fish':'\\ud83d\\udc1f',\n 'fish_cake':'\\ud83c\\udf65',\n 'fishing_pole_and_fish':'\\ud83c\\udfa3',\n 'fist_raised':'\\u270a',\n 'fist_left':'\\ud83e\\udd1b',\n 'fist_right':'\\ud83e\\udd1c',\n 'flags':'\\ud83c\\udf8f',\n 'flashlight':'\\ud83d\\udd26',\n 'fleur_de_lis':'\\u269c\\ufe0f',\n 'flight_arrival':'\\ud83d\\udeec',\n 'flight_departure':'\\ud83d\\udeeb',\n 'floppy_disk':'\\ud83d\\udcbe',\n 'flower_playing_cards':'\\ud83c\\udfb4',\n 'flushed':'\\ud83d\\ude33',\n 'fog':'\\ud83c\\udf2b',\n 'foggy':'\\ud83c\\udf01',\n 'football':'\\ud83c\\udfc8',\n 'footprints':'\\ud83d\\udc63',\n 'fork_and_knife':'\\ud83c\\udf74',\n 'fountain':'\\u26f2\\ufe0f',\n 'fountain_pen':'\\ud83d\\udd8b',\n 'four_leaf_clover':'\\ud83c\\udf40',\n 'fox_face':'\\ud83e\\udd8a',\n 'framed_picture':'\\ud83d\\uddbc',\n 'free':'\\ud83c\\udd93',\n 'fried_egg':'\\ud83c\\udf73',\n 'fried_shrimp':'\\ud83c\\udf64',\n 'fries':'\\ud83c\\udf5f',\n 'frog':'\\ud83d\\udc38',\n 'frowning':'\\ud83d\\ude26',\n 'frowning_face':'\\u2639\\ufe0f',\n 'frowning_man':'\\ud83d\\ude4d\\u2642\\ufe0f',\n 'frowning_woman':'\\ud83d\\ude4d',\n 'middle_finger':'\\ud83d\\udd95',\n 'fuelpump':'\\u26fd\\ufe0f',\n 'full_moon':'\\ud83c\\udf15',\n 'full_moon_with_face':'\\ud83c\\udf1d',\n 'funeral_urn':'\\u26b1\\ufe0f',\n 'game_die':'\\ud83c\\udfb2',\n 'gear':'\\u2699\\ufe0f',\n 'gem':'\\ud83d\\udc8e',\n 'gemini':'\\u264a\\ufe0f',\n 'ghost':'\\ud83d\\udc7b',\n 'gift':'\\ud83c\\udf81',\n 'gift_heart':'\\ud83d\\udc9d',\n 'girl':'\\ud83d\\udc67',\n 'globe_with_meridians':'\\ud83c\\udf10',\n 'goal_net':'\\ud83e\\udd45',\n 'goat':'\\ud83d\\udc10',\n 'golf':'\\u26f3\\ufe0f',\n 'golfing_man':'\\ud83c\\udfcc\\ufe0f',\n 'golfing_woman':'\\ud83c\\udfcc\\ufe0f\\u2640\\ufe0f',\n 'gorilla':'\\ud83e\\udd8d',\n 'grapes':'\\ud83c\\udf47',\n 'green_apple':'\\ud83c\\udf4f',\n 'green_book':'\\ud83d\\udcd7',\n 'green_heart':'\\ud83d\\udc9a',\n 'green_salad':'\\ud83e\\udd57',\n 'grey_exclamation':'\\u2755',\n 'grey_question':'\\u2754',\n 'grimacing':'\\ud83d\\ude2c',\n 'grin':'\\ud83d\\ude01',\n 'grinning':'\\ud83d\\ude00',\n 'guardsman':'\\ud83d\\udc82',\n 'guardswoman':'\\ud83d\\udc82\\u2640\\ufe0f',\n 'guitar':'\\ud83c\\udfb8',\n 'gun':'\\ud83d\\udd2b',\n 'haircut_woman':'\\ud83d\\udc87',\n 'haircut_man':'\\ud83d\\udc87\\u2642\\ufe0f',\n 'hamburger':'\\ud83c\\udf54',\n 'hammer':'\\ud83d\\udd28',\n 'hammer_and_pick':'\\u2692',\n 'hammer_and_wrench':'\\ud83d\\udee0',\n 'hamster':'\\ud83d\\udc39',\n 'hand':'\\u270b',\n 'handbag':'\\ud83d\\udc5c',\n 'handshake':'\\ud83e\\udd1d',\n 'hankey':'\\ud83d\\udca9',\n 'hatched_chick':'\\ud83d\\udc25',\n 'hatching_chick':'\\ud83d\\udc23',\n 'headphones':'\\ud83c\\udfa7',\n 'hear_no_evil':'\\ud83d\\ude49',\n 'heart':'\\u2764\\ufe0f',\n 'heart_decoration':'\\ud83d\\udc9f',\n 'heart_eyes':'\\ud83d\\ude0d',\n 'heart_eyes_cat':'\\ud83d\\ude3b',\n 'heartbeat':'\\ud83d\\udc93',\n 'heartpulse':'\\ud83d\\udc97',\n 'hearts':'\\u2665\\ufe0f',\n 'heavy_check_mark':'\\u2714\\ufe0f',\n 'heavy_division_sign':'\\u2797',\n 'heavy_dollar_sign':'\\ud83d\\udcb2',\n 'heavy_heart_exclamation':'\\u2763\\ufe0f',\n 'heavy_minus_sign':'\\u2796',\n 'heavy_multiplication_x':'\\u2716\\ufe0f',\n 'heavy_plus_sign':'\\u2795',\n 'helicopter':'\\ud83d\\ude81',\n 'herb':'\\ud83c\\udf3f',\n 'hibiscus':'\\ud83c\\udf3a',\n 'high_brightness':'\\ud83d\\udd06',\n 'high_heel':'\\ud83d\\udc60',\n 'hocho':'\\ud83d\\udd2a',\n 'hole':'\\ud83d\\udd73',\n 'honey_pot':'\\ud83c\\udf6f',\n 'horse':'\\ud83d\\udc34',\n 'horse_racing':'\\ud83c\\udfc7',\n 'hospital':'\\ud83c\\udfe5',\n 'hot_pepper':'\\ud83c\\udf36',\n 'hotdog':'\\ud83c\\udf2d',\n 'hotel':'\\ud83c\\udfe8',\n 'hotsprings':'\\u2668\\ufe0f',\n 'hourglass':'\\u231b\\ufe0f',\n 'hourglass_flowing_sand':'\\u23f3',\n 'house':'\\ud83c\\udfe0',\n 'house_with_garden':'\\ud83c\\udfe1',\n 'houses':'\\ud83c\\udfd8',\n 'hugs':'\\ud83e\\udd17',\n 'hushed':'\\ud83d\\ude2f',\n 'ice_cream':'\\ud83c\\udf68',\n 'ice_hockey':'\\ud83c\\udfd2',\n 'ice_skate':'\\u26f8',\n 'icecream':'\\ud83c\\udf66',\n 'id':'\\ud83c\\udd94',\n 'ideograph_advantage':'\\ud83c\\ude50',\n 'imp':'\\ud83d\\udc7f',\n 'inbox_tray':'\\ud83d\\udce5',\n 'incoming_envelope':'\\ud83d\\udce8',\n 'tipping_hand_woman':'\\ud83d\\udc81',\n 'information_source':'\\u2139\\ufe0f',\n 'innocent':'\\ud83d\\ude07',\n 'interrobang':'\\u2049\\ufe0f',\n 'iphone':'\\ud83d\\udcf1',\n 'izakaya_lantern':'\\ud83c\\udfee',\n 'jack_o_lantern':'\\ud83c\\udf83',\n 'japan':'\\ud83d\\uddfe',\n 'japanese_castle':'\\ud83c\\udfef',\n 'japanese_goblin':'\\ud83d\\udc7a',\n 'japanese_ogre':'\\ud83d\\udc79',\n 'jeans':'\\ud83d\\udc56',\n 'joy':'\\ud83d\\ude02',\n 'joy_cat':'\\ud83d\\ude39',\n 'joystick':'\\ud83d\\udd79',\n 'kaaba':'\\ud83d\\udd4b',\n 'key':'\\ud83d\\udd11',\n 'keyboard':'\\u2328\\ufe0f',\n 'keycap_ten':'\\ud83d\\udd1f',\n 'kick_scooter':'\\ud83d\\udef4',\n 'kimono':'\\ud83d\\udc58',\n 'kiss':'\\ud83d\\udc8b',\n 'kissing':'\\ud83d\\ude17',\n 'kissing_cat':'\\ud83d\\ude3d',\n 'kissing_closed_eyes':'\\ud83d\\ude1a',\n 'kissing_heart':'\\ud83d\\ude18',\n 'kissing_smiling_eyes':'\\ud83d\\ude19',\n 'kiwi_fruit':'\\ud83e\\udd5d',\n 'koala':'\\ud83d\\udc28',\n 'koko':'\\ud83c\\ude01',\n 'label':'\\ud83c\\udff7',\n 'large_blue_circle':'\\ud83d\\udd35',\n 'large_blue_diamond':'\\ud83d\\udd37',\n 'large_orange_diamond':'\\ud83d\\udd36',\n 'last_quarter_moon':'\\ud83c\\udf17',\n 'last_quarter_moon_with_face':'\\ud83c\\udf1c',\n 'latin_cross':'\\u271d\\ufe0f',\n 'laughing':'\\ud83d\\ude06',\n 'leaves':'\\ud83c\\udf43',\n 'ledger':'\\ud83d\\udcd2',\n 'left_luggage':'\\ud83d\\udec5',\n 'left_right_arrow':'\\u2194\\ufe0f',\n 'leftwards_arrow_with_hook':'\\u21a9\\ufe0f',\n 'lemon':'\\ud83c\\udf4b',\n 'leo':'\\u264c\\ufe0f',\n 'leopard':'\\ud83d\\udc06',\n 'level_slider':'\\ud83c\\udf9a',\n 'libra':'\\u264e\\ufe0f',\n 'light_rail':'\\ud83d\\ude88',\n 'link':'\\ud83d\\udd17',\n 'lion':'\\ud83e\\udd81',\n 'lips':'\\ud83d\\udc44',\n 'lipstick':'\\ud83d\\udc84',\n 'lizard':'\\ud83e\\udd8e',\n 'lock':'\\ud83d\\udd12',\n 'lock_with_ink_pen':'\\ud83d\\udd0f',\n 'lollipop':'\\ud83c\\udf6d',\n 'loop':'\\u27bf',\n 'loud_sound':'\\ud83d\\udd0a',\n 'loudspeaker':'\\ud83d\\udce2',\n 'love_hotel':'\\ud83c\\udfe9',\n 'love_letter':'\\ud83d\\udc8c',\n 'low_brightness':'\\ud83d\\udd05',\n 'lying_face':'\\ud83e\\udd25',\n 'm':'\\u24c2\\ufe0f',\n 'mag':'\\ud83d\\udd0d',\n 'mag_right':'\\ud83d\\udd0e',\n 'mahjong':'\\ud83c\\udc04\\ufe0f',\n 'mailbox':'\\ud83d\\udceb',\n 'mailbox_closed':'\\ud83d\\udcea',\n 'mailbox_with_mail':'\\ud83d\\udcec',\n 'mailbox_with_no_mail':'\\ud83d\\udced',\n 'man':'\\ud83d\\udc68',\n 'man_artist':'\\ud83d\\udc68\\ud83c\\udfa8',\n 'man_astronaut':'\\ud83d\\udc68\\ud83d\\ude80',\n 'man_cartwheeling':'\\ud83e\\udd38\\u2642\\ufe0f',\n 'man_cook':'\\ud83d\\udc68\\ud83c\\udf73',\n 'man_dancing':'\\ud83d\\udd7a',\n 'man_facepalming':'\\ud83e\\udd26\\u2642\\ufe0f',\n 'man_factory_worker':'\\ud83d\\udc68\\ud83c\\udfed',\n 'man_farmer':'\\ud83d\\udc68\\ud83c\\udf3e',\n 'man_firefighter':'\\ud83d\\udc68\\ud83d\\ude92',\n 'man_health_worker':'\\ud83d\\udc68\\u2695\\ufe0f',\n 'man_in_tuxedo':'\\ud83e\\udd35',\n 'man_judge':'\\ud83d\\udc68\\u2696\\ufe0f',\n 'man_juggling':'\\ud83e\\udd39\\u2642\\ufe0f',\n 'man_mechanic':'\\ud83d\\udc68\\ud83d\\udd27',\n 'man_office_worker':'\\ud83d\\udc68\\ud83d\\udcbc',\n 'man_pilot':'\\ud83d\\udc68\\u2708\\ufe0f',\n 'man_playing_handball':'\\ud83e\\udd3e\\u2642\\ufe0f',\n 'man_playing_water_polo':'\\ud83e\\udd3d\\u2642\\ufe0f',\n 'man_scientist':'\\ud83d\\udc68\\ud83d\\udd2c',\n 'man_shrugging':'\\ud83e\\udd37\\u2642\\ufe0f',\n 'man_singer':'\\ud83d\\udc68\\ud83c\\udfa4',\n 'man_student':'\\ud83d\\udc68\\ud83c\\udf93',\n 'man_teacher':'\\ud83d\\udc68\\ud83c\\udfeb',\n 'man_technologist':'\\ud83d\\udc68\\ud83d\\udcbb',\n 'man_with_gua_pi_mao':'\\ud83d\\udc72',\n 'man_with_turban':'\\ud83d\\udc73',\n 'tangerine':'\\ud83c\\udf4a',\n 'mans_shoe':'\\ud83d\\udc5e',\n 'mantelpiece_clock':'\\ud83d\\udd70',\n 'maple_leaf':'\\ud83c\\udf41',\n 'martial_arts_uniform':'\\ud83e\\udd4b',\n 'mask':'\\ud83d\\ude37',\n 'massage_woman':'\\ud83d\\udc86',\n 'massage_man':'\\ud83d\\udc86\\u2642\\ufe0f',\n 'meat_on_bone':'\\ud83c\\udf56',\n 'medal_military':'\\ud83c\\udf96',\n 'medal_sports':'\\ud83c\\udfc5',\n 'mega':'\\ud83d\\udce3',\n 'melon':'\\ud83c\\udf48',\n 'memo':'\\ud83d\\udcdd',\n 'men_wrestling':'\\ud83e\\udd3c\\u2642\\ufe0f',\n 'menorah':'\\ud83d\\udd4e',\n 'mens':'\\ud83d\\udeb9',\n 'metal':'\\ud83e\\udd18',\n 'metro':'\\ud83d\\ude87',\n 'microphone':'\\ud83c\\udfa4',\n 'microscope':'\\ud83d\\udd2c',\n 'milk_glass':'\\ud83e\\udd5b',\n 'milky_way':'\\ud83c\\udf0c',\n 'minibus':'\\ud83d\\ude90',\n 'minidisc':'\\ud83d\\udcbd',\n 'mobile_phone_off':'\\ud83d\\udcf4',\n 'money_mouth_face':'\\ud83e\\udd11',\n 'money_with_wings':'\\ud83d\\udcb8',\n 'moneybag':'\\ud83d\\udcb0',\n 'monkey':'\\ud83d\\udc12',\n 'monkey_face':'\\ud83d\\udc35',\n 'monorail':'\\ud83d\\ude9d',\n 'moon':'\\ud83c\\udf14',\n 'mortar_board':'\\ud83c\\udf93',\n 'mosque':'\\ud83d\\udd4c',\n 'motor_boat':'\\ud83d\\udee5',\n 'motor_scooter':'\\ud83d\\udef5',\n 'motorcycle':'\\ud83c\\udfcd',\n 'motorway':'\\ud83d\\udee3',\n 'mount_fuji':'\\ud83d\\uddfb',\n 'mountain':'\\u26f0',\n 'mountain_biking_man':'\\ud83d\\udeb5',\n 'mountain_biking_woman':'\\ud83d\\udeb5\\u2640\\ufe0f',\n 'mountain_cableway':'\\ud83d\\udea0',\n 'mountain_railway':'\\ud83d\\ude9e',\n 'mountain_snow':'\\ud83c\\udfd4',\n 'mouse':'\\ud83d\\udc2d',\n 'mouse2':'\\ud83d\\udc01',\n 'movie_camera':'\\ud83c\\udfa5',\n 'moyai':'\\ud83d\\uddff',\n 'mrs_claus':'\\ud83e\\udd36',\n 'muscle':'\\ud83d\\udcaa',\n 'mushroom':'\\ud83c\\udf44',\n 'musical_keyboard':'\\ud83c\\udfb9',\n 'musical_note':'\\ud83c\\udfb5',\n 'musical_score':'\\ud83c\\udfbc',\n 'mute':'\\ud83d\\udd07',\n 'nail_care':'\\ud83d\\udc85',\n 'name_badge':'\\ud83d\\udcdb',\n 'national_park':'\\ud83c\\udfde',\n 'nauseated_face':'\\ud83e\\udd22',\n 'necktie':'\\ud83d\\udc54',\n 'negative_squared_cross_mark':'\\u274e',\n 'nerd_face':'\\ud83e\\udd13',\n 'neutral_face':'\\ud83d\\ude10',\n 'new':'\\ud83c\\udd95',\n 'new_moon':'\\ud83c\\udf11',\n 'new_moon_with_face':'\\ud83c\\udf1a',\n 'newspaper':'\\ud83d\\udcf0',\n 'newspaper_roll':'\\ud83d\\uddde',\n 'next_track_button':'\\u23ed',\n 'ng':'\\ud83c\\udd96',\n 'no_good_man':'\\ud83d\\ude45\\u2642\\ufe0f',\n 'no_good_woman':'\\ud83d\\ude45',\n 'night_with_stars':'\\ud83c\\udf03',\n 'no_bell':'\\ud83d\\udd15',\n 'no_bicycles':'\\ud83d\\udeb3',\n 'no_entry':'\\u26d4\\ufe0f',\n 'no_entry_sign':'\\ud83d\\udeab',\n 'no_mobile_phones':'\\ud83d\\udcf5',\n 'no_mouth':'\\ud83d\\ude36',\n 'no_pedestrians':'\\ud83d\\udeb7',\n 'no_smoking':'\\ud83d\\udead',\n 'non-potable_water':'\\ud83d\\udeb1',\n 'nose':'\\ud83d\\udc43',\n 'notebook':'\\ud83d\\udcd3',\n 'notebook_with_decorative_cover':'\\ud83d\\udcd4',\n 'notes':'\\ud83c\\udfb6',\n 'nut_and_bolt':'\\ud83d\\udd29',\n 'o':'\\u2b55\\ufe0f',\n 'o2':'\\ud83c\\udd7e\\ufe0f',\n 'ocean':'\\ud83c\\udf0a',\n 'octopus':'\\ud83d\\udc19',\n 'oden':'\\ud83c\\udf62',\n 'office':'\\ud83c\\udfe2',\n 'oil_drum':'\\ud83d\\udee2',\n 'ok':'\\ud83c\\udd97',\n 'ok_hand':'\\ud83d\\udc4c',\n 'ok_man':'\\ud83d\\ude46\\u2642\\ufe0f',\n 'ok_woman':'\\ud83d\\ude46',\n 'old_key':'\\ud83d\\udddd',\n 'older_man':'\\ud83d\\udc74',\n 'older_woman':'\\ud83d\\udc75',\n 'om':'\\ud83d\\udd49',\n 'on':'\\ud83d\\udd1b',\n 'oncoming_automobile':'\\ud83d\\ude98',\n 'oncoming_bus':'\\ud83d\\ude8d',\n 'oncoming_police_car':'\\ud83d\\ude94',\n 'oncoming_taxi':'\\ud83d\\ude96',\n 'open_file_folder':'\\ud83d\\udcc2',\n 'open_hands':'\\ud83d\\udc50',\n 'open_mouth':'\\ud83d\\ude2e',\n 'open_umbrella':'\\u2602\\ufe0f',\n 'ophiuchus':'\\u26ce',\n 'orange_book':'\\ud83d\\udcd9',\n 'orthodox_cross':'\\u2626\\ufe0f',\n 'outbox_tray':'\\ud83d\\udce4',\n 'owl':'\\ud83e\\udd89',\n 'ox':'\\ud83d\\udc02',\n 'package':'\\ud83d\\udce6',\n 'page_facing_up':'\\ud83d\\udcc4',\n 'page_with_curl':'\\ud83d\\udcc3',\n 'pager':'\\ud83d\\udcdf',\n 'paintbrush':'\\ud83d\\udd8c',\n 'palm_tree':'\\ud83c\\udf34',\n 'pancakes':'\\ud83e\\udd5e',\n 'panda_face':'\\ud83d\\udc3c',\n 'paperclip':'\\ud83d\\udcce',\n 'paperclips':'\\ud83d\\udd87',\n 'parasol_on_ground':'\\u26f1',\n 'parking':'\\ud83c\\udd7f\\ufe0f',\n 'part_alternation_mark':'\\u303d\\ufe0f',\n 'partly_sunny':'\\u26c5\\ufe0f',\n 'passenger_ship':'\\ud83d\\udef3',\n 'passport_control':'\\ud83d\\udec2',\n 'pause_button':'\\u23f8',\n 'peace_symbol':'\\u262e\\ufe0f',\n 'peach':'\\ud83c\\udf51',\n 'peanuts':'\\ud83e\\udd5c',\n 'pear':'\\ud83c\\udf50',\n 'pen':'\\ud83d\\udd8a',\n 'pencil2':'\\u270f\\ufe0f',\n 'penguin':'\\ud83d\\udc27',\n 'pensive':'\\ud83d\\ude14',\n 'performing_arts':'\\ud83c\\udfad',\n 'persevere':'\\ud83d\\ude23',\n 'person_fencing':'\\ud83e\\udd3a',\n 'pouting_woman':'\\ud83d\\ude4e',\n 'phone':'\\u260e\\ufe0f',\n 'pick':'\\u26cf',\n 'pig':'\\ud83d\\udc37',\n 'pig2':'\\ud83d\\udc16',\n 'pig_nose':'\\ud83d\\udc3d',\n 'pill':'\\ud83d\\udc8a',\n 'pineapple':'\\ud83c\\udf4d',\n 'ping_pong':'\\ud83c\\udfd3',\n 'pisces':'\\u2653\\ufe0f',\n 'pizza':'\\ud83c\\udf55',\n 'place_of_worship':'\\ud83d\\uded0',\n 'plate_with_cutlery':'\\ud83c\\udf7d',\n 'play_or_pause_button':'\\u23ef',\n 'point_down':'\\ud83d\\udc47',\n 'point_left':'\\ud83d\\udc48',\n 'point_right':'\\ud83d\\udc49',\n 'point_up':'\\u261d\\ufe0f',\n 'point_up_2':'\\ud83d\\udc46',\n 'police_car':'\\ud83d\\ude93',\n 'policewoman':'\\ud83d\\udc6e\\u2640\\ufe0f',\n 'poodle':'\\ud83d\\udc29',\n 'popcorn':'\\ud83c\\udf7f',\n 'post_office':'\\ud83c\\udfe3',\n 'postal_horn':'\\ud83d\\udcef',\n 'postbox':'\\ud83d\\udcee',\n 'potable_water':'\\ud83d\\udeb0',\n 'potato':'\\ud83e\\udd54',\n 'pouch':'\\ud83d\\udc5d',\n 'poultry_leg':'\\ud83c\\udf57',\n 'pound':'\\ud83d\\udcb7',\n 'rage':'\\ud83d\\ude21',\n 'pouting_cat':'\\ud83d\\ude3e',\n 'pouting_man':'\\ud83d\\ude4e\\u2642\\ufe0f',\n 'pray':'\\ud83d\\ude4f',\n 'prayer_beads':'\\ud83d\\udcff',\n 'pregnant_woman':'\\ud83e\\udd30',\n 'previous_track_button':'\\u23ee',\n 'prince':'\\ud83e\\udd34',\n 'princess':'\\ud83d\\udc78',\n 'printer':'\\ud83d\\udda8',\n 'purple_heart':'\\ud83d\\udc9c',\n 'purse':'\\ud83d\\udc5b',\n 'pushpin':'\\ud83d\\udccc',\n 'put_litter_in_its_place':'\\ud83d\\udeae',\n 'question':'\\u2753',\n 'rabbit':'\\ud83d\\udc30',\n 'rabbit2':'\\ud83d\\udc07',\n 'racehorse':'\\ud83d\\udc0e',\n 'racing_car':'\\ud83c\\udfce',\n 'radio':'\\ud83d\\udcfb',\n 'radio_button':'\\ud83d\\udd18',\n 'radioactive':'\\u2622\\ufe0f',\n 'railway_car':'\\ud83d\\ude83',\n 'railway_track':'\\ud83d\\udee4',\n 'rainbow':'\\ud83c\\udf08',\n 'rainbow_flag':'\\ud83c\\udff3\\ufe0f\\ud83c\\udf08',\n 'raised_back_of_hand':'\\ud83e\\udd1a',\n 'raised_hand_with_fingers_splayed':'\\ud83d\\udd90',\n 'raised_hands':'\\ud83d\\ude4c',\n 'raising_hand_woman':'\\ud83d\\ude4b',\n 'raising_hand_man':'\\ud83d\\ude4b\\u2642\\ufe0f',\n 'ram':'\\ud83d\\udc0f',\n 'ramen':'\\ud83c\\udf5c',\n 'rat':'\\ud83d\\udc00',\n 'record_button':'\\u23fa',\n 'recycle':'\\u267b\\ufe0f',\n 'red_circle':'\\ud83d\\udd34',\n 'registered':'\\u00ae\\ufe0f',\n 'relaxed':'\\u263a\\ufe0f',\n 'relieved':'\\ud83d\\ude0c',\n 'reminder_ribbon':'\\ud83c\\udf97',\n 'repeat':'\\ud83d\\udd01',\n 'repeat_one':'\\ud83d\\udd02',\n 'rescue_worker_helmet':'\\u26d1',\n 'restroom':'\\ud83d\\udebb',\n 'revolving_hearts':'\\ud83d\\udc9e',\n 'rewind':'\\u23ea',\n 'rhinoceros':'\\ud83e\\udd8f',\n 'ribbon':'\\ud83c\\udf80',\n 'rice':'\\ud83c\\udf5a',\n 'rice_ball':'\\ud83c\\udf59',\n 'rice_cracker':'\\ud83c\\udf58',\n 'rice_scene':'\\ud83c\\udf91',\n 'right_anger_bubble':'\\ud83d\\uddef',\n 'ring':'\\ud83d\\udc8d',\n 'robot':'\\ud83e\\udd16',\n 'rocket':'\\ud83d\\ude80',\n 'rofl':'\\ud83e\\udd23',\n 'roll_eyes':'\\ud83d\\ude44',\n 'roller_coaster':'\\ud83c\\udfa2',\n 'rooster':'\\ud83d\\udc13',\n 'rose':'\\ud83c\\udf39',\n 'rosette':'\\ud83c\\udff5',\n 'rotating_light':'\\ud83d\\udea8',\n 'round_pushpin':'\\ud83d\\udccd',\n 'rowing_man':'\\ud83d\\udea3',\n 'rowing_woman':'\\ud83d\\udea3\\u2640\\ufe0f',\n 'rugby_football':'\\ud83c\\udfc9',\n 'running_man':'\\ud83c\\udfc3',\n 'running_shirt_with_sash':'\\ud83c\\udfbd',\n 'running_woman':'\\ud83c\\udfc3\\u2640\\ufe0f',\n 'sa':'\\ud83c\\ude02\\ufe0f',\n 'sagittarius':'\\u2650\\ufe0f',\n 'sake':'\\ud83c\\udf76',\n 'sandal':'\\ud83d\\udc61',\n 'santa':'\\ud83c\\udf85',\n 'satellite':'\\ud83d\\udce1',\n 'saxophone':'\\ud83c\\udfb7',\n 'school':'\\ud83c\\udfeb',\n 'school_satchel':'\\ud83c\\udf92',\n 'scissors':'\\u2702\\ufe0f',\n 'scorpion':'\\ud83e\\udd82',\n 'scorpius':'\\u264f\\ufe0f',\n 'scream':'\\ud83d\\ude31',\n 'scream_cat':'\\ud83d\\ude40',\n 'scroll':'\\ud83d\\udcdc',\n 'seat':'\\ud83d\\udcba',\n 'secret':'\\u3299\\ufe0f',\n 'see_no_evil':'\\ud83d\\ude48',\n 'seedling':'\\ud83c\\udf31',\n 'selfie':'\\ud83e\\udd33',\n 'shallow_pan_of_food':'\\ud83e\\udd58',\n 'shamrock':'\\u2618\\ufe0f',\n 'shark':'\\ud83e\\udd88',\n 'shaved_ice':'\\ud83c\\udf67',\n 'sheep':'\\ud83d\\udc11',\n 'shell':'\\ud83d\\udc1a',\n 'shield':'\\ud83d\\udee1',\n 'shinto_shrine':'\\u26e9',\n 'ship':'\\ud83d\\udea2',\n 'shirt':'\\ud83d\\udc55',\n 'shopping':'\\ud83d\\udecd',\n 'shopping_cart':'\\ud83d\\uded2',\n 'shower':'\\ud83d\\udebf',\n 'shrimp':'\\ud83e\\udd90',\n 'signal_strength':'\\ud83d\\udcf6',\n 'six_pointed_star':'\\ud83d\\udd2f',\n 'ski':'\\ud83c\\udfbf',\n 'skier':'\\u26f7',\n 'skull':'\\ud83d\\udc80',\n 'skull_and_crossbones':'\\u2620\\ufe0f',\n 'sleeping':'\\ud83d\\ude34',\n 'sleeping_bed':'\\ud83d\\udecc',\n 'sleepy':'\\ud83d\\ude2a',\n 'slightly_frowning_face':'\\ud83d\\ude41',\n 'slightly_smiling_face':'\\ud83d\\ude42',\n 'slot_machine':'\\ud83c\\udfb0',\n 'small_airplane':'\\ud83d\\udee9',\n 'small_blue_diamond':'\\ud83d\\udd39',\n 'small_orange_diamond':'\\ud83d\\udd38',\n 'small_red_triangle':'\\ud83d\\udd3a',\n 'small_red_triangle_down':'\\ud83d\\udd3b',\n 'smile':'\\ud83d\\ude04',\n 'smile_cat':'\\ud83d\\ude38',\n 'smiley':'\\ud83d\\ude03',\n 'smiley_cat':'\\ud83d\\ude3a',\n 'smiling_imp':'\\ud83d\\ude08',\n 'smirk':'\\ud83d\\ude0f',\n 'smirk_cat':'\\ud83d\\ude3c',\n 'smoking':'\\ud83d\\udeac',\n 'snail':'\\ud83d\\udc0c',\n 'snake':'\\ud83d\\udc0d',\n 'sneezing_face':'\\ud83e\\udd27',\n 'snowboarder':'\\ud83c\\udfc2',\n 'snowflake':'\\u2744\\ufe0f',\n 'snowman':'\\u26c4\\ufe0f',\n 'snowman_with_snow':'\\u2603\\ufe0f',\n 'sob':'\\ud83d\\ude2d',\n 'soccer':'\\u26bd\\ufe0f',\n 'soon':'\\ud83d\\udd1c',\n 'sos':'\\ud83c\\udd98',\n 'sound':'\\ud83d\\udd09',\n 'space_invader':'\\ud83d\\udc7e',\n 'spades':'\\u2660\\ufe0f',\n 'spaghetti':'\\ud83c\\udf5d',\n 'sparkle':'\\u2747\\ufe0f',\n 'sparkler':'\\ud83c\\udf87',\n 'sparkles':'\\u2728',\n 'sparkling_heart':'\\ud83d\\udc96',\n 'speak_no_evil':'\\ud83d\\ude4a',\n 'speaker':'\\ud83d\\udd08',\n 'speaking_head':'\\ud83d\\udde3',\n 'speech_balloon':'\\ud83d\\udcac',\n 'speedboat':'\\ud83d\\udea4',\n 'spider':'\\ud83d\\udd77',\n 'spider_web':'\\ud83d\\udd78',\n 'spiral_calendar':'\\ud83d\\uddd3',\n 'spiral_notepad':'\\ud83d\\uddd2',\n 'spoon':'\\ud83e\\udd44',\n 'squid':'\\ud83e\\udd91',\n 'stadium':'\\ud83c\\udfdf',\n 'star':'\\u2b50\\ufe0f',\n 'star2':'\\ud83c\\udf1f',\n 'star_and_crescent':'\\u262a\\ufe0f',\n 'star_of_david':'\\u2721\\ufe0f',\n 'stars':'\\ud83c\\udf20',\n 'station':'\\ud83d\\ude89',\n 'statue_of_liberty':'\\ud83d\\uddfd',\n 'steam_locomotive':'\\ud83d\\ude82',\n 'stew':'\\ud83c\\udf72',\n 'stop_button':'\\u23f9',\n 'stop_sign':'\\ud83d\\uded1',\n 'stopwatch':'\\u23f1',\n 'straight_ruler':'\\ud83d\\udccf',\n 'strawberry':'\\ud83c\\udf53',\n 'stuck_out_tongue':'\\ud83d\\ude1b',\n 'stuck_out_tongue_closed_eyes':'\\ud83d\\ude1d',\n 'stuck_out_tongue_winking_eye':'\\ud83d\\ude1c',\n 'studio_microphone':'\\ud83c\\udf99',\n 'stuffed_flatbread':'\\ud83e\\udd59',\n 'sun_behind_large_cloud':'\\ud83c\\udf25',\n 'sun_behind_rain_cloud':'\\ud83c\\udf26',\n 'sun_behind_small_cloud':'\\ud83c\\udf24',\n 'sun_with_face':'\\ud83c\\udf1e',\n 'sunflower':'\\ud83c\\udf3b',\n 'sunglasses':'\\ud83d\\ude0e',\n 'sunny':'\\u2600\\ufe0f',\n 'sunrise':'\\ud83c\\udf05',\n 'sunrise_over_mountains':'\\ud83c\\udf04',\n 'surfing_man':'\\ud83c\\udfc4',\n 'surfing_woman':'\\ud83c\\udfc4\\u2640\\ufe0f',\n 'sushi':'\\ud83c\\udf63',\n 'suspension_railway':'\\ud83d\\ude9f',\n 'sweat':'\\ud83d\\ude13',\n 'sweat_drops':'\\ud83d\\udca6',\n 'sweat_smile':'\\ud83d\\ude05',\n 'sweet_potato':'\\ud83c\\udf60',\n 'swimming_man':'\\ud83c\\udfca',\n 'swimming_woman':'\\ud83c\\udfca\\u2640\\ufe0f',\n 'symbols':'\\ud83d\\udd23',\n 'synagogue':'\\ud83d\\udd4d',\n 'syringe':'\\ud83d\\udc89',\n 'taco':'\\ud83c\\udf2e',\n 'tada':'\\ud83c\\udf89',\n 'tanabata_tree':'\\ud83c\\udf8b',\n 'taurus':'\\u2649\\ufe0f',\n 'taxi':'\\ud83d\\ude95',\n 'tea':'\\ud83c\\udf75',\n 'telephone_receiver':'\\ud83d\\udcde',\n 'telescope':'\\ud83d\\udd2d',\n 'tennis':'\\ud83c\\udfbe',\n 'tent':'\\u26fa\\ufe0f',\n 'thermometer':'\\ud83c\\udf21',\n 'thinking':'\\ud83e\\udd14',\n 'thought_balloon':'\\ud83d\\udcad',\n 'ticket':'\\ud83c\\udfab',\n 'tickets':'\\ud83c\\udf9f',\n 'tiger':'\\ud83d\\udc2f',\n 'tiger2':'\\ud83d\\udc05',\n 'timer_clock':'\\u23f2',\n 'tipping_hand_man':'\\ud83d\\udc81\\u2642\\ufe0f',\n 'tired_face':'\\ud83d\\ude2b',\n 'tm':'\\u2122\\ufe0f',\n 'toilet':'\\ud83d\\udebd',\n 'tokyo_tower':'\\ud83d\\uddfc',\n 'tomato':'\\ud83c\\udf45',\n 'tongue':'\\ud83d\\udc45',\n 'top':'\\ud83d\\udd1d',\n 'tophat':'\\ud83c\\udfa9',\n 'tornado':'\\ud83c\\udf2a',\n 'trackball':'\\ud83d\\uddb2',\n 'tractor':'\\ud83d\\ude9c',\n 'traffic_light':'\\ud83d\\udea5',\n 'train':'\\ud83d\\ude8b',\n 'train2':'\\ud83d\\ude86',\n 'tram':'\\ud83d\\ude8a',\n 'triangular_flag_on_post':'\\ud83d\\udea9',\n 'triangular_ruler':'\\ud83d\\udcd0',\n 'trident':'\\ud83d\\udd31',\n 'triumph':'\\ud83d\\ude24',\n 'trolleybus':'\\ud83d\\ude8e',\n 'trophy':'\\ud83c\\udfc6',\n 'tropical_drink':'\\ud83c\\udf79',\n 'tropical_fish':'\\ud83d\\udc20',\n 'truck':'\\ud83d\\ude9a',\n 'trumpet':'\\ud83c\\udfba',\n 'tulip':'\\ud83c\\udf37',\n 'tumbler_glass':'\\ud83e\\udd43',\n 'turkey':'\\ud83e\\udd83',\n 'turtle':'\\ud83d\\udc22',\n 'tv':'\\ud83d\\udcfa',\n 'twisted_rightwards_arrows':'\\ud83d\\udd00',\n 'two_hearts':'\\ud83d\\udc95',\n 'two_men_holding_hands':'\\ud83d\\udc6c',\n 'two_women_holding_hands':'\\ud83d\\udc6d',\n 'u5272':'\\ud83c\\ude39',\n 'u5408':'\\ud83c\\ude34',\n 'u55b6':'\\ud83c\\ude3a',\n 'u6307':'\\ud83c\\ude2f\\ufe0f',\n 'u6708':'\\ud83c\\ude37\\ufe0f',\n 'u6709':'\\ud83c\\ude36',\n 'u6e80':'\\ud83c\\ude35',\n 'u7121':'\\ud83c\\ude1a\\ufe0f',\n 'u7533':'\\ud83c\\ude38',\n 'u7981':'\\ud83c\\ude32',\n 'u7a7a':'\\ud83c\\ude33',\n 'umbrella':'\\u2614\\ufe0f',\n 'unamused':'\\ud83d\\ude12',\n 'underage':'\\ud83d\\udd1e',\n 'unicorn':'\\ud83e\\udd84',\n 'unlock':'\\ud83d\\udd13',\n 'up':'\\ud83c\\udd99',\n 'upside_down_face':'\\ud83d\\ude43',\n 'v':'\\u270c\\ufe0f',\n 'vertical_traffic_light':'\\ud83d\\udea6',\n 'vhs':'\\ud83d\\udcfc',\n 'vibration_mode':'\\ud83d\\udcf3',\n 'video_camera':'\\ud83d\\udcf9',\n 'video_game':'\\ud83c\\udfae',\n 'violin':'\\ud83c\\udfbb',\n 'virgo':'\\u264d\\ufe0f',\n 'volcano':'\\ud83c\\udf0b',\n 'volleyball':'\\ud83c\\udfd0',\n 'vs':'\\ud83c\\udd9a',\n 'vulcan_salute':'\\ud83d\\udd96',\n 'walking_man':'\\ud83d\\udeb6',\n 'walking_woman':'\\ud83d\\udeb6\\u2640\\ufe0f',\n 'waning_crescent_moon':'\\ud83c\\udf18',\n 'waning_gibbous_moon':'\\ud83c\\udf16',\n 'warning':'\\u26a0\\ufe0f',\n 'wastebasket':'\\ud83d\\uddd1',\n 'watch':'\\u231a\\ufe0f',\n 'water_buffalo':'\\ud83d\\udc03',\n 'watermelon':'\\ud83c\\udf49',\n 'wave':'\\ud83d\\udc4b',\n 'wavy_dash':'\\u3030\\ufe0f',\n 'waxing_crescent_moon':'\\ud83c\\udf12',\n 'wc':'\\ud83d\\udebe',\n 'weary':'\\ud83d\\ude29',\n 'wedding':'\\ud83d\\udc92',\n 'weight_lifting_man':'\\ud83c\\udfcb\\ufe0f',\n 'weight_lifting_woman':'\\ud83c\\udfcb\\ufe0f\\u2640\\ufe0f',\n 'whale':'\\ud83d\\udc33',\n 'whale2':'\\ud83d\\udc0b',\n 'wheel_of_dharma':'\\u2638\\ufe0f',\n 'wheelchair':'\\u267f\\ufe0f',\n 'white_check_mark':'\\u2705',\n 'white_circle':'\\u26aa\\ufe0f',\n 'white_flag':'\\ud83c\\udff3\\ufe0f',\n 'white_flower':'\\ud83d\\udcae',\n 'white_large_square':'\\u2b1c\\ufe0f',\n 'white_medium_small_square':'\\u25fd\\ufe0f',\n 'white_medium_square':'\\u25fb\\ufe0f',\n 'white_small_square':'\\u25ab\\ufe0f',\n 'white_square_button':'\\ud83d\\udd33',\n 'wilted_flower':'\\ud83e\\udd40',\n 'wind_chime':'\\ud83c\\udf90',\n 'wind_face':'\\ud83c\\udf2c',\n 'wine_glass':'\\ud83c\\udf77',\n 'wink':'\\ud83d\\ude09',\n 'wolf':'\\ud83d\\udc3a',\n 'woman':'\\ud83d\\udc69',\n 'woman_artist':'\\ud83d\\udc69\\ud83c\\udfa8',\n 'woman_astronaut':'\\ud83d\\udc69\\ud83d\\ude80',\n 'woman_cartwheeling':'\\ud83e\\udd38\\u2640\\ufe0f',\n 'woman_cook':'\\ud83d\\udc69\\ud83c\\udf73',\n 'woman_facepalming':'\\ud83e\\udd26\\u2640\\ufe0f',\n 'woman_factory_worker':'\\ud83d\\udc69\\ud83c\\udfed',\n 'woman_farmer':'\\ud83d\\udc69\\ud83c\\udf3e',\n 'woman_firefighter':'\\ud83d\\udc69\\ud83d\\ude92',\n 'woman_health_worker':'\\ud83d\\udc69\\u2695\\ufe0f',\n 'woman_judge':'\\ud83d\\udc69\\u2696\\ufe0f',\n 'woman_juggling':'\\ud83e\\udd39\\u2640\\ufe0f',\n 'woman_mechanic':'\\ud83d\\udc69\\ud83d\\udd27',\n 'woman_office_worker':'\\ud83d\\udc69\\ud83d\\udcbc',\n 'woman_pilot':'\\ud83d\\udc69\\u2708\\ufe0f',\n 'woman_playing_handball':'\\ud83e\\udd3e\\u2640\\ufe0f',\n 'woman_playing_water_polo':'\\ud83e\\udd3d\\u2640\\ufe0f',\n 'woman_scientist':'\\ud83d\\udc69\\ud83d\\udd2c',\n 'woman_shrugging':'\\ud83e\\udd37\\u2640\\ufe0f',\n 'woman_singer':'\\ud83d\\udc69\\ud83c\\udfa4',\n 'woman_student':'\\ud83d\\udc69\\ud83c\\udf93',\n 'woman_teacher':'\\ud83d\\udc69\\ud83c\\udfeb',\n 'woman_technologist':'\\ud83d\\udc69\\ud83d\\udcbb',\n 'woman_with_turban':'\\ud83d\\udc73\\u2640\\ufe0f',\n 'womans_clothes':'\\ud83d\\udc5a',\n 'womans_hat':'\\ud83d\\udc52',\n 'women_wrestling':'\\ud83e\\udd3c\\u2640\\ufe0f',\n 'womens':'\\ud83d\\udeba',\n 'world_map':'\\ud83d\\uddfa',\n 'worried':'\\ud83d\\ude1f',\n 'wrench':'\\ud83d\\udd27',\n 'writing_hand':'\\u270d\\ufe0f',\n 'x':'\\u274c',\n 'yellow_heart':'\\ud83d\\udc9b',\n 'yen':'\\ud83d\\udcb4',\n 'yin_yang':'\\u262f\\ufe0f',\n 'yum':'\\ud83d\\ude0b',\n 'zap':'\\u26a1\\ufe0f',\n 'zipper_mouth_face':'\\ud83e\\udd10',\n 'zzz':'\\ud83d\\udca4',\n\n /* special emojis :P */\n 'octocat': '',\n 'showdown': 'S'\n};\n\r\n/**\n * Created by Estevao on 31-05-2015.\n */\n\n/**\n * Showdown Converter class\n * @class\n * @param {object} [converterOptions]\n * @returns {Converter}\n */\nshowdown.Converter = function (converterOptions) {\n 'use strict';\n\n var\n /**\n * Options used by this converter\n * @private\n * @type {{}}\n */\n options = {},\n\n /**\n * Language extensions used by this converter\n * @private\n * @type {Array}\n */\n langExtensions = [],\n\n /**\n * Output modifiers extensions used by this converter\n * @private\n * @type {Array}\n */\n outputModifiers = [],\n\n /**\n * Event listeners\n * @private\n * @type {{}}\n */\n listeners = {},\n\n /**\n * The flavor set in this converter\n */\n setConvFlavor = setFlavor,\n\n /**\n * Metadata of the document\n * @type {{parsed: {}, raw: string, format: string}}\n */\n metadata = {\n parsed: {},\n raw: '',\n format: ''\n };\n\n _constructor();\n\n /**\n * Converter constructor\n * @private\n */\n function _constructor () {\n converterOptions = converterOptions || {};\n\n for (var gOpt in globalOptions) {\n if (globalOptions.hasOwnProperty(gOpt)) {\n options[gOpt] = globalOptions[gOpt];\n }\n }\n\n // Merge options\n if (typeof converterOptions === 'object') {\n for (var opt in converterOptions) {\n if (converterOptions.hasOwnProperty(opt)) {\n options[opt] = converterOptions[opt];\n }\n }\n } else {\n throw Error('Converter expects the passed parameter to be an object, but ' + typeof converterOptions +\n ' was passed instead.');\n }\n\n if (options.extensions) {\n showdown.helper.forEach(options.extensions, _parseExtension);\n }\n }\n\n /**\n * Parse extension\n * @param {*} ext\n * @param {string} [name='']\n * @private\n */\n function _parseExtension (ext, name) {\n\n name = name || null;\n // If it's a string, the extension was previously loaded\n if (showdown.helper.isString(ext)) {\n ext = showdown.helper.stdExtName(ext);\n name = ext;\n\n // LEGACY_SUPPORT CODE\n if (showdown.extensions[ext]) {\n console.warn('DEPRECATION WARNING: ' + ext + ' is an old extension that uses a deprecated loading method.' +\n 'Please inform the developer that the extension should be updated!');\n legacyExtensionLoading(showdown.extensions[ext], ext);\n return;\n // END LEGACY SUPPORT CODE\n\n } else if (!showdown.helper.isUndefined(extensions[ext])) {\n ext = extensions[ext];\n\n } else {\n throw Error('Extension \"' + ext + '\" could not be loaded. It was either not found or is not a valid extension.');\n }\n }\n\n if (typeof ext === 'function') {\n ext = ext();\n }\n\n if (!showdown.helper.isArray(ext)) {\n ext = [ext];\n }\n\n var validExt = validate(ext, name);\n if (!validExt.valid) {\n throw Error(validExt.error);\n }\n\n for (var i = 0; i < ext.length; ++i) {\n switch (ext[i].type) {\n\n case 'lang':\n langExtensions.push(ext[i]);\n break;\n\n case 'output':\n outputModifiers.push(ext[i]);\n break;\n }\n if (ext[i].hasOwnProperty('listeners')) {\n for (var ln in ext[i].listeners) {\n if (ext[i].listeners.hasOwnProperty(ln)) {\n listen(ln, ext[i].listeners[ln]);\n }\n }\n }\n }\n\n }\n\n /**\n * LEGACY_SUPPORT\n * @param {*} ext\n * @param {string} name\n */\n function legacyExtensionLoading (ext, name) {\n if (typeof ext === 'function') {\n ext = ext(new showdown.Converter());\n }\n if (!showdown.helper.isArray(ext)) {\n ext = [ext];\n }\n var valid = validate(ext, name);\n\n if (!valid.valid) {\n throw Error(valid.error);\n }\n\n for (var i = 0; i < ext.length; ++i) {\n switch (ext[i].type) {\n case 'lang':\n langExtensions.push(ext[i]);\n break;\n case 'output':\n outputModifiers.push(ext[i]);\n break;\n default:// should never reach here\n throw Error('Extension loader error: Type unrecognized!!!');\n }\n }\n }\n\n /**\n * Listen to an event\n * @param {string} name\n * @param {function} callback\n */\n function listen (name, callback) {\n if (!showdown.helper.isString(name)) {\n throw Error('Invalid argument in converter.listen() method: name must be a string, but ' + typeof name + ' given');\n }\n\n if (typeof callback !== 'function') {\n throw Error('Invalid argument in converter.listen() method: callback must be a function, but ' + typeof callback + ' given');\n }\n\n if (!listeners.hasOwnProperty(name)) {\n listeners[name] = [];\n }\n listeners[name].push(callback);\n }\n\n function rTrimInputText (text) {\n var rsp = text.match(/^\\s*/)[0].length,\n rgx = new RegExp('^\\\\s{0,' + rsp + '}', 'gm');\n return text.replace(rgx, '');\n }\n\n /**\n * Dispatch an event\n * @private\n * @param {string} evtName Event name\n * @param {string} text Text\n * @param {{}} options Converter Options\n * @param {{}} globals\n * @returns {string}\n */\n this._dispatch = function dispatch (evtName, text, options, globals) {\n if (listeners.hasOwnProperty(evtName)) {\n for (var ei = 0; ei < listeners[evtName].length; ++ei) {\n var nText = listeners[evtName][ei](evtName, text, this, options, globals);\n if (nText && typeof nText !== 'undefined') {\n text = nText;\n }\n }\n }\n return text;\n };\n\n /**\n * Listen to an event\n * @param {string} name\n * @param {function} callback\n * @returns {showdown.Converter}\n */\n this.listen = function (name, callback) {\n listen(name, callback);\n return this;\n };\n\n /**\n * Converts a markdown string into HTML\n * @param {string} text\n * @returns {*}\n */\n this.makeHtml = function (text) {\n //check if text is not falsy\n if (!text) {\n return text;\n }\n\n var globals = {\n gHtmlBlocks: [],\n gHtmlMdBlocks: [],\n gHtmlSpans: [],\n gUrls: {},\n gTitles: {},\n gDimensions: {},\n gListLevel: 0,\n hashLinkCounts: {},\n langExtensions: langExtensions,\n outputModifiers: outputModifiers,\n converter: this,\n ghCodeBlocks: [],\n metadata: {\n parsed: {},\n raw: '',\n format: ''\n }\n };\n\n // This lets us use ¨ trema as an escape char to avoid md5 hashes\n // The choice of character is arbitrary; anything that isn't\n // magic in Markdown will work.\n text = text.replace(/¨/g, '¨T');\n\n // Replace $ with ¨D\n // RegExp interprets $ as a special character\n // when it's in a replacement string\n text = text.replace(/\\$/g, '¨D');\n\n // Standardize line endings\n text = text.replace(/\\r\\n/g, '\\n'); // DOS to Unix\n text = text.replace(/\\r/g, '\\n'); // Mac to Unix\n\n // Stardardize line spaces\n text = text.replace(/\\u00A0/g, ' ');\n\n if (options.smartIndentationFix) {\n text = rTrimInputText(text);\n }\n\n // Make sure text begins and ends with a couple of newlines:\n text = '\\n\\n' + text + '\\n\\n';\n\n // detab\n text = showdown.subParser('detab')(text, options, globals);\n\n /**\n * Strip any lines consisting only of spaces and tabs.\n * This makes subsequent regexs easier to write, because we can\n * match consecutive blank lines with /\\n+/ instead of something\n * contorted like /[ \\t]*\\n+/\n */\n text = text.replace(/^[ \\t]+$/mg, '');\n\n //run languageExtensions\n showdown.helper.forEach(langExtensions, function (ext) {\n text = showdown.subParser('runExtension')(ext, text, options, globals);\n });\n\n // run the sub parsers\n text = showdown.subParser('metadata')(text, options, globals);\n text = showdown.subParser('hashPreCodeTags')(text, options, globals);\n text = showdown.subParser('githubCodeBlocks')(text, options, globals);\n text = showdown.subParser('hashHTMLBlocks')(text, options, globals);\n text = showdown.subParser('hashCodeTags')(text, options, globals);\n text = showdown.subParser('stripLinkDefinitions')(text, options, globals);\n text = showdown.subParser('blockGamut')(text, options, globals);\n text = showdown.subParser('unhashHTMLSpans')(text, options, globals);\n text = showdown.subParser('unescapeSpecialChars')(text, options, globals);\n\n // attacklab: Restore dollar signs\n text = text.replace(/¨D/g, '$$');\n\n // attacklab: Restore tremas\n text = text.replace(/¨T/g, '¨');\n\n // render a complete html document instead of a partial if the option is enabled\n text = showdown.subParser('completeHTMLDocument')(text, options, globals);\n\n // Run output modifiers\n showdown.helper.forEach(outputModifiers, function (ext) {\n text = showdown.subParser('runExtension')(ext, text, options, globals);\n });\n\n // update metadata\n metadata = globals.metadata;\n return text;\n };\n\n /**\n * Converts an HTML string into a markdown string\n * @param src\n * @param [HTMLParser] A WHATWG DOM and HTML parser, such as JSDOM. If none is supplied, window.document will be used.\n * @returns {string}\n */\n this.makeMarkdown = this.makeMd = function (src, HTMLParser) {\n\n // replace \\r\\n with \\n\n src = src.replace(/\\r\\n/g, '\\n');\n src = src.replace(/\\r/g, '\\n'); // old macs\n\n // due to an edge case, we need to find this: > <\n // to prevent removing of non silent white spaces\n // ex: this is sparta\n src = src.replace(/>[ \\t]+, '>¨NBSP;<');\n\n if (!HTMLParser) {\n if (window && window.document) {\n HTMLParser = window.document;\n } else {\n throw new Error('HTMLParser is undefined. If in a webworker or nodejs environment, you need to provide a WHATWG DOM and HTML such as JSDOM');\n }\n }\n\n var doc = HTMLParser.createElement('div');\n doc.innerHTML = src;\n\n var globals = {\n preList: substitutePreCodeTags(doc)\n };\n\n // remove all newlines and collapse spaces\n clean(doc);\n\n // some stuff, like accidental reference links must now be escaped\n // TODO\n // doc.innerHTML = doc.innerHTML.replace(/\\[[\\S\\t ]]/);\n\n var nodes = doc.childNodes,\n mdDoc = '';\n\n for (var i = 0; i < nodes.length; i++) {\n mdDoc += showdown.subParser('makeMarkdown.node')(nodes[i], globals);\n }\n\n function clean (node) {\n for (var n = 0; n < node.childNodes.length; ++n) {\n var child = node.childNodes[n];\n if (child.nodeType === 3) {\n if (!/\\S/.test(child.nodeValue)) {\n node.removeChild(child);\n --n;\n } else {\n child.nodeValue = child.nodeValue.split('\\n').join(' ');\n child.nodeValue = child.nodeValue.replace(/(\\s)+/g, '$1');\n }\n } else if (child.nodeType === 1) {\n clean(child);\n }\n }\n }\n\n // find all pre tags and replace contents with placeholder\n // we need this so that we can remove all indentation from html\n // to ease up parsing\n function substitutePreCodeTags (doc) {\n\n var pres = doc.querySelectorAll('pre'),\n presPH = [];\n\n for (var i = 0; i < pres.length; ++i) {\n\n if (pres[i].childElementCount === 1 && pres[i].firstChild.tagName.toLowerCase() === 'code') {\n var content = pres[i].firstChild.innerHTML.trim(),\n language = pres[i].firstChild.getAttribute('data-language') || '';\n\n // if data-language attribute is not defined, then we look for class language-*\n if (language === '') {\n var classes = pres[i].firstChild.className.split(' ');\n for (var c = 0; c < classes.length; ++c) {\n var matches = classes[c].match(/^language-(.+)$/);\n if (matches !== null) {\n language = matches[1];\n break;\n }\n }\n }\n\n // unescape html entities in content\n content = showdown.helper.unescapeHTMLEntities(content);\n\n presPH.push(content);\n pres[i].outerHTML = ' ';\n } else {\n presPH.push(pres[i].innerHTML);\n pres[i].innerHTML = '';\n pres[i].setAttribute('prenum', i.toString());\n }\n }\n return presPH;\n }\n\n return mdDoc;\n };\n\n /**\n * Set an option of this Converter instance\n * @param {string} key\n * @param {*} value\n */\n this.setOption = function (key, value) {\n options[key] = value;\n };\n\n /**\n * Get the option of this Converter instance\n * @param {string} key\n * @returns {*}\n */\n this.getOption = function (key) {\n return options[key];\n };\n\n /**\n * Get the options of this Converter instance\n * @returns {{}}\n */\n this.getOptions = function () {\n return options;\n };\n\n /**\n * Add extension to THIS converter\n * @param {{}} extension\n * @param {string} [name=null]\n */\n this.addExtension = function (extension, name) {\n name = name || null;\n _parseExtension(extension, name);\n };\n\n /**\n * Use a global registered extension with THIS converter\n * @param {string} extensionName Name of the previously registered extension\n */\n this.useExtension = function (extensionName) {\n _parseExtension(extensionName);\n };\n\n /**\n * Set the flavor THIS converter should use\n * @param {string} name\n */\n this.setFlavor = function (name) {\n if (!flavor.hasOwnProperty(name)) {\n throw Error(name + ' flavor was not found');\n }\n var preset = flavor[name];\n setConvFlavor = name;\n for (var option in preset) {\n if (preset.hasOwnProperty(option)) {\n options[option] = preset[option];\n }\n }\n };\n\n /**\n * Get the currently set flavor of this converter\n * @returns {string}\n */\n this.getFlavor = function () {\n return setConvFlavor;\n };\n\n /**\n * Remove an extension from THIS converter.\n * Note: This is a costly operation. It's better to initialize a new converter\n * and specify the extensions you wish to use\n * @param {Array} extension\n */\n this.removeExtension = function (extension) {\n if (!showdown.helper.isArray(extension)) {\n extension = [extension];\n }\n for (var a = 0; a < extension.length; ++a) {\n var ext = extension[a];\n for (var i = 0; i < langExtensions.length; ++i) {\n if (langExtensions[i] === ext) {\n langExtensions[i].splice(i, 1);\n }\n }\n for (var ii = 0; ii < outputModifiers.length; ++i) {\n if (outputModifiers[ii] === ext) {\n outputModifiers[ii].splice(i, 1);\n }\n }\n }\n };\n\n /**\n * Get all extension of THIS converter\n * @returns {{language: Array, output: Array}}\n */\n this.getAllExtensions = function () {\n return {\n language: langExtensions,\n output: outputModifiers\n };\n };\n\n /**\n * Get the metadata of the previously parsed document\n * @param raw\n * @returns {string|{}}\n */\n this.getMetadata = function (raw) {\n if (raw) {\n return metadata.raw;\n } else {\n return metadata.parsed;\n }\n };\n\n /**\n * Get the metadata format of the previously parsed document\n * @returns {string}\n */\n this.getMetadataFormat = function () {\n return metadata.format;\n };\n\n /**\n * Private: set a single key, value metadata pair\n * @param {string} key\n * @param {string} value\n */\n this._setMetadataPair = function (key, value) {\n metadata.parsed[key] = value;\n };\n\n /**\n * Private: set metadata format\n * @param {string} format\n */\n this._setMetadataFormat = function (format) {\n metadata.format = format;\n };\n\n /**\n * Private: set metadata raw text\n * @param {string} raw\n */\n this._setMetadataRaw = function (raw) {\n metadata.raw = raw;\n };\n};\n\r\n/**\n * Turn Markdown link shortcuts into XHTML tags.\n */\nshowdown.subParser('anchors', function (text, options, globals) {\n 'use strict';\n\n text = globals.converter._dispatch('anchors.before', text, options, globals);\n\n var writeAnchorTag = function (wholeMatch, linkText, linkId, url, m5, m6, title) {\n if (showdown.helper.isUndefined(title)) {\n title = '';\n }\n linkId = linkId.toLowerCase();\n\n // Special case for explicit empty url\n if (wholeMatch.search(/\\(\\s*>? ?(['\"].*['\"])?\\)$/m) > -1) {\n url = '';\n } else if (!url) {\n if (!linkId) {\n // lower-case and turn embedded newlines into spaces\n linkId = linkText.toLowerCase().replace(/ ?\\n/g, ' ');\n }\n url = '#' + linkId;\n\n if (!showdown.helper.isUndefined(globals.gUrls[linkId])) {\n url = globals.gUrls[linkId];\n if (!showdown.helper.isUndefined(globals.gTitles[linkId])) {\n title = globals.gTitles[linkId];\n }\n } else {\n return wholeMatch;\n }\n }\n\n //url = showdown.helper.escapeCharacters(url, '*_', false); // replaced line to improve performance\n url = url.replace(showdown.helper.regexes.asteriskDashAndColon, showdown.helper.escapeCharactersCallback);\n\n var result = '' + linkText + '';\n\n return result;\n };\n\n // First, handle reference-style links: [link text] [id]\n text = text.replace(/\\[((?:\\[[^\\]]*]|[^\\[\\]])*)] ?(?:\\n *)?\\[(.*?)]()()()()/g, writeAnchorTag);\n\n // Next, inline-style links: [link text](url \"optional title\")\n // cases with crazy urls like ./image/cat1).png\n text = text.replace(/\\[((?:\\[[^\\]]*]|[^\\[\\]])*)]()[ \\t]*\\([ \\t]?<([^>]*)>(?:[ \\t]*(([\"'])([^\"]*?)\\5))?[ \\t]?\\)/g,\n writeAnchorTag);\n\n // normal cases\n text = text.replace(/\\[((?:\\[[^\\]]*]|[^\\[\\]])*)]()[ \\t]*\\([ \\t]?([\\S]+?(?:\\([\\S]*?\\)[\\S]*?)?)>?(?:[ \\t]*(([\"'])([^\"]*?)\\5))?[ \\t]?\\)/g,\n writeAnchorTag);\n\n // handle reference-style shortcuts: [link text]\n // These must come last in case you've also got [link test][1]\n // or [link test](/foo)\n text = text.replace(/\\[([^\\[\\]]+)]()()()()()/g, writeAnchorTag);\n\n // Lastly handle GithubMentions if option is enabled\n if (options.ghMentions) {\n text = text.replace(/(^|\\s)(\\\\)?(@([a-z\\d]+(?:[a-z\\d.-]+?[a-z\\d]+)*))/gmi, function (wm, st, escape, mentions, username) {\n if (escape === '\\\\') {\n return st + mentions;\n }\n\n //check if options.ghMentionsLink is a string\n if (!showdown.helper.isString(options.ghMentionsLink)) {\n throw new Error('ghMentionsLink option must be a string');\n }\n var lnk = options.ghMentionsLink.replace(/\\{u}/g, username),\n target = '';\n if (options.openLinksInNewWindow) {\n target = ' rel=\"noopener noreferrer\" target=\"¨E95Eblank\"';\n }\n return st + '' + mentions + '';\n });\n }\n\n text = globals.converter._dispatch('anchors.after', text, options, globals);\n return text;\n});\n\r\n// url allowed chars [a-z\\d_.~:/?#[]@!$&'()*+,;=-]\n\nvar simpleURLRegex = /([*~_]+|\\b)(((https?|ftp|dict):\\/\\/|www\\.)[^'\">\\s]+?\\.[^'\">\\s]+?)()(\\1)?(?=\\s|$)(?![\"<>])/gi,\n simpleURLRegex2 = /([*~_]+|\\b)(((https?|ftp|dict):\\/\\/|www\\.)[^'\">\\s]+\\.[^'\">\\s]+?)([.!?,()\\[\\]])?(\\1)?(?=\\s|$)(?![\"<>])/gi,\n delimUrlRegex = /()<(((https?|ftp|dict):\\/\\/|www\\.)[^'\">\\s]+)()>()/gi,\n simpleMailRegex = /(^|\\s)(?:mailto:)?([A-Za-z0-9!#$%&'*+-/=?^_`{|}~.]+@[-a-z0-9]+(\\.[-a-z0-9]+)*\\.[a-z]+)(?=$|\\s)/gmi,\n delimMailRegex = /<()(?:mailto:)?([-.\\w]+@[-a-z0-9]+(\\.[-a-z0-9]+)*\\.[a-z]+)>/gi,\n\n replaceLink = function (options) {\n 'use strict';\n return function (wm, leadingMagicChars, link, m2, m3, trailingPunctuation, trailingMagicChars) {\n link = link.replace(showdown.helper.regexes.asteriskDashAndColon, showdown.helper.escapeCharactersCallback);\n var lnkTxt = link,\n append = '',\n target = '',\n lmc = leadingMagicChars || '',\n tmc = trailingMagicChars || '';\n if (/^www\\./i.test(link)) {\n link = link.replace(/^www\\./i, 'http://www.');\n }\n if (options.excludeTrailingPunctuationFromURLs && trailingPunctuation) {\n append = trailingPunctuation;\n }\n if (options.openLinksInNewWindow) {\n target = ' rel=\"noopener noreferrer\" target=\"¨E95Eblank\"';\n }\n return lmc + '' + lnkTxt + '' + append + tmc;\n };\n },\n\n replaceMail = function (options, globals) {\n 'use strict';\n return function (wholeMatch, b, mail) {\n var href = 'mailto:';\n b = b || '';\n mail = showdown.subParser('unescapeSpecialChars')(mail, options, globals);\n if (options.encodeEmails) {\n href = showdown.helper.encodeEmailAddress(href + mail);\n mail = showdown.helper.encodeEmailAddress(mail);\n } else {\n href = href + mail;\n }\n return b + '' + mail + '';\n };\n };\n\nshowdown.subParser('autoLinks', function (text, options, globals) {\n 'use strict';\n\n text = globals.converter._dispatch('autoLinks.before', text, options, globals);\n\n text = text.replace(delimUrlRegex, replaceLink(options));\n text = text.replace(delimMailRegex, replaceMail(options, globals));\n\n text = globals.converter._dispatch('autoLinks.after', text, options, globals);\n\n return text;\n});\n\nshowdown.subParser('simplifiedAutoLinks', function (text, options, globals) {\n 'use strict';\n\n if (!options.simplifiedAutoLink) {\n return text;\n }\n\n text = globals.converter._dispatch('simplifiedAutoLinks.before', text, options, globals);\n\n if (options.excludeTrailingPunctuationFromURLs) {\n text = text.replace(simpleURLRegex2, replaceLink(options));\n } else {\n text = text.replace(simpleURLRegex, replaceLink(options));\n }\n text = text.replace(simpleMailRegex, replaceMail(options, globals));\n\n text = globals.converter._dispatch('simplifiedAutoLinks.after', text, options, globals);\n\n return text;\n});\n\r\n/**\n * These are all the transformations that form block-level\n * tags like paragraphs, headers, and list items.\n */\nshowdown.subParser('blockGamut', function (text, options, globals) {\n 'use strict';\n\n text = globals.converter._dispatch('blockGamut.before', text, options, globals);\n\n // we parse blockquotes first so that we can have headings and hrs\n // inside blockquotes\n text = showdown.subParser('blockQuotes')(text, options, globals);\n text = showdown.subParser('headers')(text, options, globals);\n\n // Do Horizontal Rules:\n text = showdown.subParser('horizontalRule')(text, options, globals);\n\n text = showdown.subParser('lists')(text, options, globals);\n text = showdown.subParser('codeBlocks')(text, options, globals);\n text = showdown.subParser('tables')(text, options, globals);\n\n // We already ran _HashHTMLBlocks() before, in Markdown(), but that\n // was to escape raw HTML in the original Markdown source. This time,\n // we're escaping the markup we've just created, so that we don't wrap\n // tags around block-level tags.\n text = showdown.subParser('hashHTMLBlocks')(text, options, globals);\n text = showdown.subParser('paragraphs')(text, options, globals);\n\n text = globals.converter._dispatch('blockGamut.after', text, options, globals);\n\n return text;\n});\n\r\nshowdown.subParser('blockQuotes', function (text, options, globals) {\n 'use strict';\n\n text = globals.converter._dispatch('blockQuotes.before', text, options, globals);\n\n // add a couple extra lines after the text and endtext mark\n text = text + '\\n\\n';\n\n var rgx = /(^ {0,3}>[ \\t]?.+\\n(.+\\n)*\\n*)+/gm;\n\n if (options.splitAdjacentBlockquotes) {\n rgx = /^ {0,3}>[\\s\\S]*?(?:\\n\\n)/gm;\n }\n\n text = text.replace(rgx, function (bq) {\n // attacklab: hack around Konqueror 3.5.4 bug:\n // \"----------bug\".replace(/^-/g,\"\") == \"bug\"\n bq = bq.replace(/^[ \\t]*>[ \\t]?/gm, ''); // trim one level of quoting\n\n // attacklab: clean up hack\n bq = bq.replace(/¨0/g, '');\n\n bq = bq.replace(/^[ \\t]+$/gm, ''); // trim whitespace-only lines\n bq = showdown.subParser('githubCodeBlocks')(bq, options, globals);\n bq = showdown.subParser('blockGamut')(bq, options, globals); // recurse\n\n bq = bq.replace(/(^|\\n)/g, '$1 ');\n // These leading spaces screw with
content, so we need to fix that:\n bq = bq.replace(/(\\s*[^\\r]+?<\\/pre>)/gm, function (wholeMatch, m1) {\n var pre = m1;\n // attacklab: hack around Konqueror 3.5.4 bug:\n pre = pre.replace(/^ /mg, '¨0');\n pre = pre.replace(/¨0/g, '');\n return pre;\n });\n\n return showdown.subParser('hashBlock')('\\n' + bq + '\\n
', options, globals);\n });\n\n text = globals.converter._dispatch('blockQuotes.after', text, options, globals);\n return text;\n});\n\r\n/**\n * Process Markdown `` blocks.\n */\nshowdown.subParser('codeBlocks', function (text, options, globals) {\n 'use strict';\n\n text = globals.converter._dispatch('codeBlocks.before', text, options, globals);\n\n // sentinel workarounds for lack of \\A and \\Z, safari\\khtml bug\n text += '¨0';\n\n var pattern = /(?:\\n\\n|^)((?:(?:[ ]{4}|\\t).*\\n+)+)(\\n*[ ]{0,3}[^ \\t\\n]|(?=¨0))/g;\n text = text.replace(pattern, function (wholeMatch, m1, m2) {\n var codeblock = m1,\n nextChar = m2,\n end = '\\n';\n\n codeblock = showdown.subParser('outdent')(codeblock, options, globals);\n codeblock = showdown.subParser('encodeCode')(codeblock, options, globals);\n codeblock = showdown.subParser('detab')(codeblock, options, globals);\n codeblock = codeblock.replace(/^\\n+/g, ''); // trim leading newlines\n codeblock = codeblock.replace(/\\n+$/g, ''); // trim trailing newlines\n\n if (options.omitExtraWLInCodeBlocks) {\n end = '';\n }\n\n codeblock = '' + codeblock + end + '
';\n\n return showdown.subParser('hashBlock')(codeblock, options, globals) + nextChar;\n });\n\n // strip sentinel\n text = text.replace(/¨0/, '');\n\n text = globals.converter._dispatch('codeBlocks.after', text, options, globals);\n return text;\n});\n\r\n/**\n *\n * * Backtick quotes are used for
spans.\n *\n * * You can use multiple backticks as the delimiters if you want to\n * include literal backticks in the code span. So, this input:\n *\n * Just type ``foo `bar` baz`` at the prompt.\n *\n * Will translate to:\n *\n * Just type foo `bar` baz
at the prompt.
\n *\n * There's no arbitrary limit to the number of backticks you\n * can use as delimters. If you need three consecutive backticks\n * in your code, use four for delimiters, etc.\n *\n * * You can use spaces to get literal backticks at the edges:\n *\n * ... type `` `bar` `` ...\n *\n * Turns to:\n *\n * ... type `bar`
...\n */\nshowdown.subParser('codeSpans', function (text, options, globals) {\n 'use strict';\n\n text = globals.converter._dispatch('codeSpans.before', text, options, globals);\n\n if (typeof text === 'undefined') {\n text = '';\n }\n text = text.replace(/(^|[^\\\\])(`+)([^\\r]*?[^`])\\2(?!`)/gm,\n function (wholeMatch, m1, m2, m3) {\n var c = m3;\n c = c.replace(/^([ \\t]*)/g, '');\t// leading whitespace\n c = c.replace(/[ \\t]*$/g, '');\t// trailing whitespace\n c = showdown.subParser('encodeCode')(c, options, globals);\n c = m1 + '' + c + '
';\n c = showdown.subParser('hashHTMLSpans')(c, options, globals);\n return c;\n }\n );\n\n text = globals.converter._dispatch('codeSpans.after', text, options, globals);\n return text;\n});\n\r\n/**\n * Create a full HTML document from the processed markdown\n */\nshowdown.subParser('completeHTMLDocument', function (text, options, globals) {\n 'use strict';\n\n if (!options.completeHTMLDocument) {\n return text;\n }\n\n text = globals.converter._dispatch('completeHTMLDocument.before', text, options, globals);\n\n var doctype = 'html',\n doctypeParsed = '\\n',\n title = '',\n charset = '\\n',\n lang = '',\n metadata = '';\n\n if (typeof globals.metadata.parsed.doctype !== 'undefined') {\n doctypeParsed = '\\n';\n doctype = globals.metadata.parsed.doctype.toString().toLowerCase();\n if (doctype === 'html' || doctype === 'html5') {\n charset = '';\n }\n }\n\n for (var meta in globals.metadata.parsed) {\n if (globals.metadata.parsed.hasOwnProperty(meta)) {\n switch (meta.toLowerCase()) {\n case 'doctype':\n break;\n\n case 'title':\n title = '' + globals.metadata.parsed.title + ' \\n';\n break;\n\n case 'charset':\n if (doctype === 'html' || doctype === 'html5') {\n charset = '\\n';\n } else {\n charset = '\\n';\n }\n break;\n\n case 'language':\n case 'lang':\n lang = ' lang=\"' + globals.metadata.parsed[meta] + '\"';\n metadata += '\\n';\n break;\n\n default:\n metadata += '\\n';\n }\n }\n }\n\n text = doctypeParsed + '\\n\\n' + title + charset + metadata + '\\n\\n' + text.trim() + '\\n\\n';\n\n text = globals.converter._dispatch('completeHTMLDocument.after', text, options, globals);\n return text;\n});\n\r\n/**\n * Convert all tabs to spaces\n */\nshowdown.subParser('detab', function (text, options, globals) {\n 'use strict';\n text = globals.converter._dispatch('detab.before', text, options, globals);\n\n // expand first n-1 tabs\n text = text.replace(/\\t(?=\\t)/g, ' '); // g_tab_width\n\n // replace the nth with two sentinels\n text = text.replace(/\\t/g, '¨A¨B');\n\n // use the sentinel to anchor our regex so it doesn't explode\n text = text.replace(/¨B(.+?)¨A/g, function (wholeMatch, m1) {\n var leadingText = m1,\n numSpaces = 4 - leadingText.length % 4; // g_tab_width\n\n // there *must* be a better way to do this:\n for (var i = 0; i < numSpaces; i++) {\n leadingText += ' ';\n }\n\n return leadingText;\n });\n\n // clean up sentinels\n text = text.replace(/¨A/g, ' '); // g_tab_width\n text = text.replace(/¨B/g, '');\n\n text = globals.converter._dispatch('detab.after', text, options, globals);\n return text;\n});\n\r\nshowdown.subParser('ellipsis', function (text, options, globals) {\n 'use strict';\n\n text = globals.converter._dispatch('ellipsis.before', text, options, globals);\n\n text = text.replace(/\\.\\.\\./g, '…');\n\n text = globals.converter._dispatch('ellipsis.after', text, options, globals);\n\n return text;\n});\n\r\n/**\n * Turn emoji codes into emojis\n *\n * List of supported emojis: https://github.com/showdownjs/showdown/wiki/Emojis\n */\nshowdown.subParser('emoji', function (text, options, globals) {\n 'use strict';\n\n if (!options.emoji) {\n return text;\n }\n\n text = globals.converter._dispatch('emoji.before', text, options, globals);\n\n var emojiRgx = /:([\\S]+?):/g;\n\n text = text.replace(emojiRgx, function (wm, emojiCode) {\n if (showdown.helper.emojis.hasOwnProperty(emojiCode)) {\n return showdown.helper.emojis[emojiCode];\n }\n return wm;\n });\n\n text = globals.converter._dispatch('emoji.after', text, options, globals);\n\n return text;\n});\n\r\n/**\n * Smart processing for ampersands and angle brackets that need to be encoded.\n */\nshowdown.subParser('encodeAmpsAndAngles', function (text, options, globals) {\n 'use strict';\n text = globals.converter._dispatch('encodeAmpsAndAngles.before', text, options, globals);\n\n // Ampersand-encoding based entirely on Nat Irons's Amputator MT plugin:\n // http://bumppo.net/projects/amputator/\n text = text.replace(/&(?!#?[xX]?(?:[0-9a-fA-F]+|\\w+);)/g, '&');\n\n // Encode naked <'s\n text = text.replace(/<(?![a-z\\/?$!])/gi, '<');\n\n // Encode <\n text = text.replace(/\n text = text.replace(/>/g, '>');\n\n text = globals.converter._dispatch('encodeAmpsAndAngles.after', text, options, globals);\n return text;\n});\n\r\n/**\n * Returns the string, with after processing the following backslash escape sequences.\n *\n * attacklab: The polite way to do this is with the new escapeCharacters() function:\n *\n * text = escapeCharacters(text,\"\\\\\",true);\n * text = escapeCharacters(text,\"`*_{}[]()>#+-.!\",true);\n *\n * ...but we're sidestepping its use of the (slow) RegExp constructor\n * as an optimization for Firefox. This function gets called a LOT.\n */\nshowdown.subParser('encodeBackslashEscapes', function (text, options, globals) {\n 'use strict';\n text = globals.converter._dispatch('encodeBackslashEscapes.before', text, options, globals);\n\n text = text.replace(/\\\\(\\\\)/g, showdown.helper.escapeCharactersCallback);\n text = text.replace(/\\\\([`*_{}\\[\\]()>#+.!~=|-])/g, showdown.helper.escapeCharactersCallback);\n\n text = globals.converter._dispatch('encodeBackslashEscapes.after', text, options, globals);\n return text;\n});\n\r\n/**\n * Encode/escape certain characters inside Markdown code runs.\n * The point is that in code, these characters are literals,\n * and lose their special Markdown meanings.\n */\nshowdown.subParser('encodeCode', function (text, options, globals) {\n 'use strict';\n\n text = globals.converter._dispatch('encodeCode.before', text, options, globals);\n\n // Encode all ampersands; HTML entities are not\n // entities within a Markdown code span.\n text = text\n .replace(/&/g, '&')\n // Do the angle bracket song and dance:\n .replace(//g, '>')\n // Now, escape characters that are magic in Markdown:\n .replace(/([*_{}\\[\\]\\\\=~-])/g, showdown.helper.escapeCharactersCallback);\n\n text = globals.converter._dispatch('encodeCode.after', text, options, globals);\n return text;\n});\n\r\n/**\n * Within tags -- meaning between < and > -- encode [\\ ` * _ ~ =] so they\n * don't conflict with their use in Markdown for code, italics and strong.\n */\nshowdown.subParser('escapeSpecialCharsWithinTagAttributes', function (text, options, globals) {\n 'use strict';\n text = globals.converter._dispatch('escapeSpecialCharsWithinTagAttributes.before', text, options, globals);\n\n // Build a regex to find HTML tags.\n var tags = /<\\/?[a-z\\d_:-]+(?:[\\s]+[\\s\\S]+?)?>/gi,\n comments = /-]|-[^>])(?:[^-]|-[^-])*)--)>/gi;\n\n text = text.replace(tags, function (wholeMatch) {\n return wholeMatch\n .replace(/(.)<\\/?code>(?=.)/g, '$1`')\n .replace(/([\\\\`*_~=|])/g, showdown.helper.escapeCharactersCallback);\n });\n\n text = text.replace(comments, function (wholeMatch) {\n return wholeMatch\n .replace(/([\\\\`*_~=|])/g, showdown.helper.escapeCharactersCallback);\n });\n\n text = globals.converter._dispatch('escapeSpecialCharsWithinTagAttributes.after', text, options, globals);\n return text;\n});\n\r\n/**\n * Handle github codeblocks prior to running HashHTML so that\n * HTML contained within the codeblock gets escaped properly\n * Example:\n * ```ruby\n * def hello_world(x)\n * puts \"Hello, #{x}\"\n * end\n * ```\n */\nshowdown.subParser('githubCodeBlocks', function (text, options, globals) {\n 'use strict';\n\n // early exit if option is not enabled\n if (!options.ghCodeBlocks) {\n return text;\n }\n\n text = globals.converter._dispatch('githubCodeBlocks.before', text, options, globals);\n\n text += '¨0';\n\n text = text.replace(/(?:^|\\n)(?: {0,3})(```+|~~~+)(?: *)([^\\s`~]*)\\n([\\s\\S]*?)\\n(?: {0,3})\\1/g, function (wholeMatch, delim, language, codeblock) {\n var end = (options.omitExtraWLInCodeBlocks) ? '' : '\\n';\n\n // First parse the github code block\n codeblock = showdown.subParser('encodeCode')(codeblock, options, globals);\n codeblock = showdown.subParser('detab')(codeblock, options, globals);\n codeblock = codeblock.replace(/^\\n+/g, ''); // trim leading newlines\n codeblock = codeblock.replace(/\\n+$/g, ''); // trim trailing whitespace\n\n codeblock = '' + codeblock + end + '
';\n\n codeblock = showdown.subParser('hashBlock')(codeblock, options, globals);\n\n // Since GHCodeblocks can be false positives, we need to\n // store the primitive text and the parsed text in a global var,\n // and then return a token\n return '\\n\\n¨G' + (globals.ghCodeBlocks.push({text: wholeMatch, codeblock: codeblock}) - 1) + 'G\\n\\n';\n });\n\n // attacklab: strip sentinel\n text = text.replace(/¨0/, '');\n\n return globals.converter._dispatch('githubCodeBlocks.after', text, options, globals);\n});\n\r\nshowdown.subParser('hashBlock', function (text, options, globals) {\n 'use strict';\n text = globals.converter._dispatch('hashBlock.before', text, options, globals);\n text = text.replace(/(^\\n+|\\n+$)/g, '');\n text = '\\n\\n¨K' + (globals.gHtmlBlocks.push(text) - 1) + 'K\\n\\n';\n text = globals.converter._dispatch('hashBlock.after', text, options, globals);\n return text;\n});\n\r\n/**\n * Hash and escape elements that should not be parsed as markdown\n */\nshowdown.subParser('hashCodeTags', function (text, options, globals) {\n 'use strict';\n text = globals.converter._dispatch('hashCodeTags.before', text, options, globals);\n\n var repFunc = function (wholeMatch, match, left, right) {\n var codeblock = left + showdown.subParser('encodeCode')(match, options, globals) + right;\n return '¨C' + (globals.gHtmlSpans.push(codeblock) - 1) + 'C';\n };\n\n // Hash naked \n text = showdown.helper.replaceRecursiveRegExp(text, repFunc, ']*>', '
', 'gim');\n\n text = globals.converter._dispatch('hashCodeTags.after', text, options, globals);\n return text;\n});\n\r\nshowdown.subParser('hashElement', function (text, options, globals) {\n 'use strict';\n\n return function (wholeMatch, m1) {\n var blockText = m1;\n\n // Undo double lines\n blockText = blockText.replace(/\\n\\n/g, '\\n');\n blockText = blockText.replace(/^\\n/, '');\n\n // strip trailing blank lines\n blockText = blockText.replace(/\\n+$/g, '');\n\n // Replace the element text with a marker (\"¨KxK\" where x is its key)\n blockText = '\\n\\n¨K' + (globals.gHtmlBlocks.push(blockText) - 1) + 'K\\n\\n';\n\n return blockText;\n };\n});\n\r\nshowdown.subParser('hashHTMLBlocks', function (text, options, globals) {\n 'use strict';\n text = globals.converter._dispatch('hashHTMLBlocks.before', text, options, globals);\n\n var blockTags = [\n 'pre',\n 'div',\n 'h1',\n 'h2',\n 'h3',\n 'h4',\n 'h5',\n 'h6',\n 'blockquote',\n 'table',\n 'dl',\n 'ol',\n 'ul',\n 'script',\n 'noscript',\n 'form',\n 'fieldset',\n 'iframe',\n 'math',\n 'style',\n 'section',\n 'header',\n 'footer',\n 'nav',\n 'article',\n 'aside',\n 'address',\n 'audio',\n 'canvas',\n 'figure',\n 'hgroup',\n 'output',\n 'video',\n 'p'\n ],\n repFunc = function (wholeMatch, match, left, right) {\n var txt = wholeMatch;\n // check if this html element is marked as markdown\n // if so, it's contents should be parsed as markdown\n if (left.search(/\\bmarkdown\\b/) !== -1) {\n txt = left + globals.converter.makeHtml(match) + right;\n }\n return '\\n\\n¨K' + (globals.gHtmlBlocks.push(txt) - 1) + 'K\\n\\n';\n };\n\n if (options.backslashEscapesHTMLTags) {\n // encode backslash escaped HTML tags\n text = text.replace(/\\\\<(\\/?[^>]+?)>/g, function (wm, inside) {\n return '<' + inside + '>';\n });\n }\n\n // hash HTML Blocks\n for (var i = 0; i < blockTags.length; ++i) {\n\n var opTagPos,\n rgx1 = new RegExp('^ {0,3}(<' + blockTags[i] + '\\\\b[^>]*>)', 'im'),\n patLeft = '<' + blockTags[i] + '\\\\b[^>]*>',\n patRight = '' + blockTags[i] + '>';\n // 1. Look for the first position of the first opening HTML tag in the text\n while ((opTagPos = showdown.helper.regexIndexOf(text, rgx1)) !== -1) {\n\n // if the HTML tag is \\ escaped, we need to escape it and break\n\n\n //2. Split the text in that position\n var subTexts = showdown.helper.splitAtIndex(text, opTagPos),\n //3. Match recursively\n newSubText1 = showdown.helper.replaceRecursiveRegExp(subTexts[1], repFunc, patLeft, patRight, 'im');\n\n // prevent an infinite loop\n if (newSubText1 === subTexts[1]) {\n break;\n }\n text = subTexts[0].concat(newSubText1);\n }\n }\n // HR SPECIAL CASE\n text = text.replace(/(\\n {0,3}(<(hr)\\b([^<>])*?\\/?>)[ \\t]*(?=\\n{2,}))/g,\n showdown.subParser('hashElement')(text, options, globals));\n\n // Special case for standalone HTML comments\n text = showdown.helper.replaceRecursiveRegExp(text, function (txt) {\n return '\\n\\n¨K' + (globals.gHtmlBlocks.push(txt) - 1) + 'K\\n\\n';\n }, '^ {0,3}', 'gm');\n\n // PHP and ASP-style processor instructions (...?> and <%...%>)\n text = text.replace(/(?:\\n\\n)( {0,3}(?:<([?%])[^\\r]*?\\2>)[ \\t]*(?=\\n{2,}))/g,\n showdown.subParser('hashElement')(text, options, globals));\n\n text = globals.converter._dispatch('hashHTMLBlocks.after', text, options, globals);\n return text;\n});\n\r\n/**\n * Hash span elements that should not be parsed as markdown\n */\nshowdown.subParser('hashHTMLSpans', function (text, options, globals) {\n 'use strict';\n text = globals.converter._dispatch('hashHTMLSpans.before', text, options, globals);\n\n function hashHTMLSpan (html) {\n return '¨C' + (globals.gHtmlSpans.push(html) - 1) + 'C';\n }\n\n // Hash Self Closing tags\n text = text.replace(/<[^>]+?\\/>/gi, function (wm) {\n return hashHTMLSpan(wm);\n });\n\n // Hash tags without properties\n text = text.replace(/<([^>]+?)>[\\s\\S]*?<\\/\\1>/g, function (wm) {\n return hashHTMLSpan(wm);\n });\n\n // Hash tags with properties\n text = text.replace(/<([^>]+?)\\s[^>]+?>[\\s\\S]*?<\\/\\1>/g, function (wm) {\n return hashHTMLSpan(wm);\n });\n\n // Hash self closing tags without />\n text = text.replace(/<[^>]+?>/gi, function (wm) {\n return hashHTMLSpan(wm);\n });\n\n /*showdown.helper.matchRecursiveRegExp(text, ']*>', '
', 'gi');*/\n\n text = globals.converter._dispatch('hashHTMLSpans.after', text, options, globals);\n return text;\n});\n\n/**\n * Unhash HTML spans\n */\nshowdown.subParser('unhashHTMLSpans', function (text, options, globals) {\n 'use strict';\n text = globals.converter._dispatch('unhashHTMLSpans.before', text, options, globals);\n\n for (var i = 0; i < globals.gHtmlSpans.length; ++i) {\n var repText = globals.gHtmlSpans[i],\n // limiter to prevent infinite loop (assume 10 as limit for recurse)\n limit = 0;\n\n while (/¨C(\\d+)C/.test(repText)) {\n var num = RegExp.$1;\n repText = repText.replace('¨C' + num + 'C', globals.gHtmlSpans[num]);\n if (limit === 10) {\n console.error('maximum nesting of 10 spans reached!!!');\n break;\n }\n ++limit;\n }\n text = text.replace('¨C' + i + 'C', repText);\n }\n\n text = globals.converter._dispatch('unhashHTMLSpans.after', text, options, globals);\n return text;\n});\n\r\n/**\n * Hash and escape elements that should not be parsed as markdown\n */\nshowdown.subParser('hashPreCodeTags', function (text, options, globals) {\n 'use strict';\n text = globals.converter._dispatch('hashPreCodeTags.before', text, options, globals);\n\n var repFunc = function (wholeMatch, match, left, right) {\n // encode html entities\n var codeblock = left + showdown.subParser('encodeCode')(match, options, globals) + right;\n return '\\n\\n¨G' + (globals.ghCodeBlocks.push({text: wholeMatch, codeblock: codeblock}) - 1) + 'G\\n\\n';\n };\n\n // Hash \n text = showdown.helper.replaceRecursiveRegExp(text, repFunc, '^ {0,3}]*>\\\\s*]*>', '^ {0,3}
\\\\s*
', 'gim');\n\n text = globals.converter._dispatch('hashPreCodeTags.after', text, options, globals);\n return text;\n});\n\r\nshowdown.subParser('headers', function (text, options, globals) {\n 'use strict';\n\n text = globals.converter._dispatch('headers.before', text, options, globals);\n\n var headerLevelStart = (isNaN(parseInt(options.headerLevelStart))) ? 1 : parseInt(options.headerLevelStart),\n\n // Set text-style headers:\n //\tHeader 1\n //\t========\n //\n //\tHeader 2\n //\t--------\n //\n setextRegexH1 = (options.smoothLivePreview) ? /^(.+)[ \\t]*\\n={2,}[ \\t]*\\n+/gm : /^(.+)[ \\t]*\\n=+[ \\t]*\\n+/gm,\n setextRegexH2 = (options.smoothLivePreview) ? /^(.+)[ \\t]*\\n-{2,}[ \\t]*\\n+/gm : /^(.+)[ \\t]*\\n-+[ \\t]*\\n+/gm;\n\n text = text.replace(setextRegexH1, function (wholeMatch, m1) {\n\n var spanGamut = showdown.subParser('spanGamut')(m1, options, globals),\n hID = (options.noHeaderId) ? '' : ' id=\"' + headerId(m1) + '\"',\n hLevel = headerLevelStart,\n hashBlock = '' + spanGamut + ' ';\n return showdown.subParser('hashBlock')(hashBlock, options, globals);\n });\n\n text = text.replace(setextRegexH2, function (matchFound, m1) {\n var spanGamut = showdown.subParser('spanGamut')(m1, options, globals),\n hID = (options.noHeaderId) ? '' : ' id=\"' + headerId(m1) + '\"',\n hLevel = headerLevelStart + 1,\n hashBlock = '' + spanGamut + ' ';\n return showdown.subParser('hashBlock')(hashBlock, options, globals);\n });\n\n // atx-style headers:\n // # Header 1\n // ## Header 2\n // ## Header 2 with closing hashes ##\n // ...\n // ###### Header 6\n //\n var atxStyle = (options.requireSpaceBeforeHeadingText) ? /^(#{1,6})[ \\t]+(.+?)[ \\t]*#*\\n+/gm : /^(#{1,6})[ \\t]*(.+?)[ \\t]*#*\\n+/gm;\n\n text = text.replace(atxStyle, function (wholeMatch, m1, m2) {\n var hText = m2;\n if (options.customizedHeaderId) {\n hText = m2.replace(/\\s?\\{([^{]+?)}\\s*$/, '');\n }\n\n var span = showdown.subParser('spanGamut')(hText, options, globals),\n hID = (options.noHeaderId) ? '' : ' id=\"' + headerId(m2) + '\"',\n hLevel = headerLevelStart - 1 + m1.length,\n header = '' + span + ' ';\n\n return showdown.subParser('hashBlock')(header, options, globals);\n });\n\n function headerId (m) {\n var title,\n prefix;\n\n // It is separate from other options to allow combining prefix and customized\n if (options.customizedHeaderId) {\n var match = m.match(/\\{([^{]+?)}\\s*$/);\n if (match && match[1]) {\n m = match[1];\n }\n }\n\n title = m;\n\n // Prefix id to prevent causing inadvertent pre-existing style matches.\n if (showdown.helper.isString(options.prefixHeaderId)) {\n prefix = options.prefixHeaderId;\n } else if (options.prefixHeaderId === true) {\n prefix = 'section-';\n } else {\n prefix = '';\n }\n\n if (!options.rawPrefixHeaderId) {\n title = prefix + title;\n }\n\n if (options.ghCompatibleHeaderId) {\n title = title\n .replace(/ /g, '-')\n // replace previously escaped chars (&, ¨ and $)\n .replace(/&/g, '')\n .replace(/¨T/g, '')\n .replace(/¨D/g, '')\n // replace rest of the chars (&~$ are repeated as they might have been escaped)\n // borrowed from github's redcarpet (some they should produce similar results)\n .replace(/[&+$,\\/:;=?@\"#{}|^¨~\\[\\]`\\\\*)(%.!'<>]/g, '')\n .toLowerCase();\n } else if (options.rawHeaderId) {\n title = title\n .replace(/ /g, '-')\n // replace previously escaped chars (&, ¨ and $)\n .replace(/&/g, '&')\n .replace(/¨T/g, '¨')\n .replace(/¨D/g, '$')\n // replace \" and '\n .replace(/[\"']/g, '-')\n .toLowerCase();\n } else {\n title = title\n .replace(/[^\\w]/g, '')\n .toLowerCase();\n }\n\n if (options.rawPrefixHeaderId) {\n title = prefix + title;\n }\n\n if (globals.hashLinkCounts[title]) {\n title = title + '-' + (globals.hashLinkCounts[title]++);\n } else {\n globals.hashLinkCounts[title] = 1;\n }\n return title;\n }\n\n text = globals.converter._dispatch('headers.after', text, options, globals);\n return text;\n});\n\r\n/**\n * Turn Markdown link shortcuts into XHTML tags.\n */\nshowdown.subParser('horizontalRule', function (text, options, globals) {\n 'use strict';\n text = globals.converter._dispatch('horizontalRule.before', text, options, globals);\n\n var key = showdown.subParser('hashBlock')('
', options, globals);\n text = text.replace(/^ {0,2}( ?-){3,}[ \\t]*$/gm, key);\n text = text.replace(/^ {0,2}( ?\\*){3,}[ \\t]*$/gm, key);\n text = text.replace(/^ {0,2}( ?_){3,}[ \\t]*$/gm, key);\n\n text = globals.converter._dispatch('horizontalRule.after', text, options, globals);\n return text;\n});\n\r\n/**\n * Turn Markdown image shortcuts into tags.\n */\nshowdown.subParser('images', function (text, options, globals) {\n 'use strict';\n\n text = globals.converter._dispatch('images.before', text, options, globals);\n\n var inlineRegExp = /!\\[([^\\]]*?)][ \\t]*()\\([ \\t]?([\\S]+?(?:\\([\\S]*?\\)[\\S]*?)?)>?(?: =([*\\d]+[A-Za-z%]{0,4})x([*\\d]+[A-Za-z%]{0,4}))?[ \\t]*(?:([\"'])([^\"]*?)\\6)?[ \\t]?\\)/g,\n crazyRegExp = /!\\[([^\\]]*?)][ \\t]*()\\([ \\t]?<([^>]*)>(?: =([*\\d]+[A-Za-z%]{0,4})x([*\\d]+[A-Za-z%]{0,4}))?[ \\t]*(?:(?:([\"'])([^\"]*?)\\6))?[ \\t]?\\)/g,\n base64RegExp = /!\\[([^\\]]*?)][ \\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,\n referenceRegExp = /!\\[([^\\]]*?)] ?(?:\\n *)?\\[([\\s\\S]*?)]()()()()()/g,\n refShortcutRegExp = /!\\[([^\\[\\]]+)]()()()()()/g;\n\n function writeImageTagBase64 (wholeMatch, altText, linkId, url, width, height, m5, title) {\n url = url.replace(/\\s/g, '');\n return writeImageTag (wholeMatch, altText, linkId, url, width, height, m5, title);\n }\n\n function writeImageTag (wholeMatch, altText, linkId, url, width, height, m5, title) {\n\n var gUrls = globals.gUrls,\n gTitles = globals.gTitles,\n gDims = globals.gDimensions;\n\n linkId = linkId.toLowerCase();\n\n if (!title) {\n title = '';\n }\n // Special case for explicit empty url\n if (wholeMatch.search(/\\(\\s*>? ?(['\"].*['\"])?\\)$/m) > -1) {\n url = '';\n\n } else if (url === '' || url === null) {\n if (linkId === '' || linkId === null) {\n // lower-case and turn embedded newlines into spaces\n linkId = altText.toLowerCase().replace(/ ?\\n/g, ' ');\n }\n url = '#' + linkId;\n\n if (!showdown.helper.isUndefined(gUrls[linkId])) {\n url = gUrls[linkId];\n if (!showdown.helper.isUndefined(gTitles[linkId])) {\n title = gTitles[linkId];\n }\n if (!showdown.helper.isUndefined(gDims[linkId])) {\n width = gDims[linkId].width;\n height = gDims[linkId].height;\n }\n } else {\n return wholeMatch;\n }\n }\n\n altText = altText\n .replace(/\"/g, '"')\n //altText = showdown.helper.escapeCharacters(altText, '*_', false);\n .replace(showdown.helper.regexes.asteriskDashAndColon, showdown.helper.escapeCharactersCallback);\n //url = showdown.helper.escapeCharacters(url, '*_', false);\n url = url.replace(showdown.helper.regexes.asteriskDashAndColon, showdown.helper.escapeCharactersCallback);\n var result = '';\n\n return result;\n }\n\n // First, handle reference-style labeled images: ![alt text][id]\n text = text.replace(referenceRegExp, writeImageTag);\n\n // Next, handle inline images: ![alt text](url =x \"optional title\")\n\n // base64 encoded images\n text = text.replace(base64RegExp, writeImageTagBase64);\n\n // cases with crazy urls like ./image/cat1).png\n text = text.replace(crazyRegExp, writeImageTag);\n\n // normal cases\n text = text.replace(inlineRegExp, writeImageTag);\n\n // handle reference-style shortcuts: ![img text]\n text = text.replace(refShortcutRegExp, writeImageTag);\n\n text = globals.converter._dispatch('images.after', text, options, globals);\n return text;\n});\n\r\nshowdown.subParser('italicsAndBold', function (text, options, globals) {\n 'use strict';\n\n text = globals.converter._dispatch('italicsAndBold.before', text, options, globals);\n\n // it's faster to have 3 separate regexes for each case than have just one\n // because of backtracing, in some cases, it could lead to an exponential effect\n // called \"catastrophic backtrace\". Ominous!\n\n function parseInside (txt, left, right) {\n /*\n if (options.simplifiedAutoLink) {\n txt = showdown.subParser('simplifiedAutoLinks')(txt, options, globals);\n }\n */\n return left + txt + right;\n }\n\n // Parse underscores\n if (options.literalMidWordUnderscores) {\n text = text.replace(/\\b___(\\S[\\s\\S]*?)___\\b/g, function (wm, txt) {\n return parseInside (txt, '', '');\n });\n text = text.replace(/\\b__(\\S[\\s\\S]*?)__\\b/g, function (wm, txt) {\n return parseInside (txt, '', '');\n });\n text = text.replace(/\\b_(\\S[\\s\\S]*?)_\\b/g, function (wm, txt) {\n return parseInside (txt, '', '');\n });\n } else {\n text = text.replace(/___(\\S[\\s\\S]*?)___/g, function (wm, m) {\n return (/\\S$/.test(m)) ? parseInside (m, '', '') : wm;\n });\n text = text.replace(/__(\\S[\\s\\S]*?)__/g, function (wm, m) {\n return (/\\S$/.test(m)) ? parseInside (m, '', '') : wm;\n });\n text = text.replace(/_([^\\s_][\\s\\S]*?)_/g, function (wm, m) {\n // !/^_[^_]/.test(m) - test if it doesn't start with __ (since it seems redundant, we removed it)\n return (/\\S$/.test(m)) ? parseInside (m, '', '') : wm;\n });\n }\n\n // Now parse asterisks\n if (options.literalMidWordAsterisks) {\n text = text.replace(/([^*]|^)\\B\\*\\*\\*(\\S[\\s\\S]*?)\\*\\*\\*\\B(?!\\*)/g, function (wm, lead, txt) {\n return parseInside (txt, lead + '', '');\n });\n text = text.replace(/([^*]|^)\\B\\*\\*(\\S[\\s\\S]*?)\\*\\*\\B(?!\\*)/g, function (wm, lead, txt) {\n return parseInside (txt, lead + '', '');\n });\n text = text.replace(/([^*]|^)\\B\\*(\\S[\\s\\S]*?)\\*\\B(?!\\*)/g, function (wm, lead, txt) {\n return parseInside (txt, lead + '', '');\n });\n } else {\n text = text.replace(/\\*\\*\\*(\\S[\\s\\S]*?)\\*\\*\\*/g, function (wm, m) {\n return (/\\S$/.test(m)) ? parseInside (m, '', '') : wm;\n });\n text = text.replace(/\\*\\*(\\S[\\s\\S]*?)\\*\\*/g, function (wm, m) {\n return (/\\S$/.test(m)) ? parseInside (m, '', '') : wm;\n });\n text = text.replace(/\\*([^\\s*][\\s\\S]*?)\\*/g, function (wm, m) {\n // !/^\\*[^*]/.test(m) - test if it doesn't start with ** (since it seems redundant, we removed it)\n return (/\\S$/.test(m)) ? parseInside (m, '', '') : wm;\n });\n }\n\n\n text = globals.converter._dispatch('italicsAndBold.after', text, options, globals);\n return text;\n});\n\r\n/**\n * Form HTML ordered (numbered) and unordered (bulleted) lists.\n */\nshowdown.subParser('lists', function (text, options, globals) {\n 'use strict';\n\n /**\n * Process the contents of a single ordered or unordered list, splitting it\n * into individual list items.\n * @param {string} listStr\n * @param {boolean} trimTrailing\n * @returns {string}\n */\n function processListItems (listStr, trimTrailing) {\n // The $g_list_level global keeps track of when we're inside a list.\n // Each time we enter a list, we increment it; when we leave a list,\n // we decrement. If it's zero, we're not in a list anymore.\n //\n // We do this because when we're not inside a list, we want to treat\n // something like this:\n //\n // I recommend upgrading to version\n // 8. Oops, now this line is treated\n // as a sub-list.\n //\n // As a single paragraph, despite the fact that the second line starts\n // with a digit-period-space sequence.\n //\n // Whereas when we're inside a list (or sub-list), that line will be\n // treated as the start of a sub-list. What a kludge, huh? This is\n // an aspect of Markdown's syntax that's hard to parse perfectly\n // without resorting to mind-reading. Perhaps the solution is to\n // change the syntax rules such that sub-lists must start with a\n // starting cardinal number; e.g. \"1.\" or \"a.\".\n globals.gListLevel++;\n\n // trim trailing blank lines:\n listStr = listStr.replace(/\\n{2,}$/, '\\n');\n\n // attacklab: add sentinel to emulate \\z\n listStr += '¨0';\n\n var rgx = /(\\n)?(^ {0,3})([*+-]|\\d+[.])[ \\t]+((\\[(x|X| )?])?[ \\t]*[^\\r]+?(\\n{1,2}))(?=\\n*(¨0| {0,3}([*+-]|\\d+[.])[ \\t]+))/gm,\n isParagraphed = (/\\n[ \\t]*\\n(?!¨0)/.test(listStr));\n\n // Since version 1.5, nesting sublists requires 4 spaces (or 1 tab) indentation,\n // which is a syntax breaking change\n // activating this option reverts to old behavior\n if (options.disableForced4SpacesIndentedSublists) {\n rgx = /(\\n)?(^ {0,3})([*+-]|\\d+[.])[ \\t]+((\\[(x|X| )?])?[ \\t]*[^\\r]+?(\\n{1,2}))(?=\\n*(¨0|\\2([*+-]|\\d+[.])[ \\t]+))/gm;\n }\n\n listStr = listStr.replace(rgx, function (wholeMatch, m1, m2, m3, m4, taskbtn, checked) {\n checked = (checked && checked.trim() !== '');\n\n var item = showdown.subParser('outdent')(m4, options, globals),\n bulletStyle = '';\n\n // Support for github tasklists\n if (taskbtn && options.tasklists) {\n bulletStyle = ' class=\"task-list-item\" style=\"list-style-type: none;\"';\n item = item.replace(/^[ \\t]*\\[(x|X| )?]/m, function () {\n var otp = '';\n return otp;\n });\n }\n\n // ISSUE #312\n // This input: - - - a\n // causes trouble to the parser, since it interprets it as:\n // - a
\n // instead of:\n // - - - a
\n // So, to prevent it, we will put a marker (¨A)in the beginning of the line\n // Kind of hackish/monkey patching, but seems more effective than overcomplicating the list parser\n item = item.replace(/^([-*+]|\\d\\.)[ \\t]+[\\S\\n ]*/g, function (wm2) {\n return '¨A' + wm2;\n });\n\n // m1 - Leading line or\n // Has a double return (multi paragraph) or\n // Has sublist\n if (m1 || (item.search(/\\n{2,}/) > -1)) {\n item = showdown.subParser('githubCodeBlocks')(item, options, globals);\n item = showdown.subParser('blockGamut')(item, options, globals);\n } else {\n // Recursion for sub-lists:\n item = showdown.subParser('lists')(item, options, globals);\n item = item.replace(/\\n$/, ''); // chomp(item)\n item = showdown.subParser('hashHTMLBlocks')(item, options, globals);\n\n // Colapse double linebreaks\n item = item.replace(/\\n\\n+/g, '\\n\\n');\n if (isParagraphed) {\n item = showdown.subParser('paragraphs')(item, options, globals);\n } else {\n item = showdown.subParser('spanGamut')(item, options, globals);\n }\n }\n\n // now we need to remove the marker (¨A)\n item = item.replace('¨A', '');\n // we can finally wrap the line in list item tags\n item = '' + item + ' \\n';\n\n return item;\n });\n\n // attacklab: strip sentinel\n listStr = listStr.replace(/¨0/g, '');\n\n globals.gListLevel--;\n\n if (trimTrailing) {\n listStr = listStr.replace(/\\s+$/, '');\n }\n\n return listStr;\n }\n\n function styleStartNumber (list, listType) {\n // check if ol and starts by a number different than 1\n if (listType === 'ol') {\n var res = list.match(/^ *(\\d+)\\./);\n if (res && res[1] !== '1') {\n return ' start=\"' + res[1] + '\"';\n }\n }\n return '';\n }\n\n /**\n * Check and parse consecutive lists (better fix for issue #142)\n * @param {string} list\n * @param {string} listType\n * @param {boolean} trimTrailing\n * @returns {string}\n */\n function parseConsecutiveLists (list, listType, trimTrailing) {\n // check if we caught 2 or more consecutive lists by mistake\n // we use the counterRgx, meaning if listType is UL we look for OL and vice versa\n var olRgx = (options.disableForced4SpacesIndentedSublists) ? /^ ?\\d+\\.[ \\t]/gm : /^ {0,3}\\d+\\.[ \\t]/gm,\n ulRgx = (options.disableForced4SpacesIndentedSublists) ? /^ ?[*+-][ \\t]/gm : /^ {0,3}[*+-][ \\t]/gm,\n counterRxg = (listType === 'ul') ? olRgx : ulRgx,\n result = '';\n\n if (list.search(counterRxg) !== -1) {\n (function parseCL (txt) {\n var pos = txt.search(counterRxg),\n style = styleStartNumber(list, listType);\n if (pos !== -1) {\n // slice\n result += '\\n\\n<' + listType + style + '>\\n' + processListItems(txt.slice(0, pos), !!trimTrailing) + '' + listType + '>\\n';\n\n // invert counterType and listType\n listType = (listType === 'ul') ? 'ol' : 'ul';\n counterRxg = (listType === 'ul') ? olRgx : ulRgx;\n\n //recurse\n parseCL(txt.slice(pos));\n } else {\n result += '\\n\\n<' + listType + style + '>\\n' + processListItems(txt, !!trimTrailing) + '' + listType + '>\\n';\n }\n })(list);\n } else {\n var style = styleStartNumber(list, listType);\n result = '\\n\\n<' + listType + style + '>\\n' + processListItems(list, !!trimTrailing) + '' + listType + '>\\n';\n }\n\n return result;\n }\n\n /** Start of list parsing **/\n text = globals.converter._dispatch('lists.before', text, options, globals);\n // add sentinel to hack around khtml/safari bug:\n // http://bugs.webkit.org/show_bug.cgi?id=11231\n text += '¨0';\n\n if (globals.gListLevel) {\n text = text.replace(/^(( {0,3}([*+-]|\\d+[.])[ \\t]+)[^\\r]+?(¨0|\\n{2,}(?=\\S)(?![ \\t]*(?:[*+-]|\\d+[.])[ \\t]+)))/gm,\n function (wholeMatch, list, m2) {\n var listType = (m2.search(/[*+-]/g) > -1) ? 'ul' : 'ol';\n return parseConsecutiveLists(list, listType, true);\n }\n );\n } else {\n text = text.replace(/(\\n\\n|^\\n?)(( {0,3}([*+-]|\\d+[.])[ \\t]+)[^\\r]+?(¨0|\\n{2,}(?=\\S)(?![ \\t]*(?:[*+-]|\\d+[.])[ \\t]+)))/gm,\n function (wholeMatch, m1, list, m3) {\n var listType = (m3.search(/[*+-]/g) > -1) ? 'ul' : 'ol';\n return parseConsecutiveLists(list, listType, false);\n }\n );\n }\n\n // strip sentinel\n text = text.replace(/¨0/, '');\n text = globals.converter._dispatch('lists.after', text, options, globals);\n return text;\n});\n\r\n/**\n * Parse metadata at the top of the document\n */\nshowdown.subParser('metadata', function (text, options, globals) {\n 'use strict';\n\n if (!options.metadata) {\n return text;\n }\n\n text = globals.converter._dispatch('metadata.before', text, options, globals);\n\n function parseMetadataContents (content) {\n // raw is raw so it's not changed in any way\n globals.metadata.raw = content;\n\n // escape chars forbidden in html attributes\n // double quotes\n content = content\n // ampersand first\n .replace(/&/g, '&')\n // double quotes\n .replace(/\"/g, '"');\n\n content = content.replace(/\\n {4}/g, ' ');\n content.replace(/^([\\S ]+): +([\\s\\S]+?)$/gm, function (wm, key, value) {\n globals.metadata.parsed[key] = value;\n return '';\n });\n }\n\n text = text.replace(/^\\s*«««+(\\S*?)\\n([\\s\\S]+?)\\n»»»+\\n/, function (wholematch, format, content) {\n parseMetadataContents(content);\n return '¨M';\n });\n\n text = text.replace(/^\\s*---+(\\S*?)\\n([\\s\\S]+?)\\n---+\\n/, function (wholematch, format, content) {\n if (format) {\n globals.metadata.format = format;\n }\n parseMetadataContents(content);\n return '¨M';\n });\n\n text = text.replace(/¨M/g, '');\n\n text = globals.converter._dispatch('metadata.after', text, options, globals);\n return text;\n});\n\r\n/**\n * Remove one level of line-leading tabs or spaces\n */\nshowdown.subParser('outdent', function (text, options, globals) {\n 'use strict';\n text = globals.converter._dispatch('outdent.before', text, options, globals);\n\n // attacklab: hack around Konqueror 3.5.4 bug:\n // \"----------bug\".replace(/^-/g,\"\") == \"bug\"\n text = text.replace(/^(\\t|[ ]{1,4})/gm, '¨0'); // attacklab: g_tab_width\n\n // attacklab: clean up hack\n text = text.replace(/¨0/g, '');\n\n text = globals.converter._dispatch('outdent.after', text, options, globals);\n return text;\n});\n\r\n/**\n *\n */\nshowdown.subParser('paragraphs', function (text, options, globals) {\n 'use strict';\n\n text = globals.converter._dispatch('paragraphs.before', text, options, globals);\n // Strip leading and trailing lines:\n text = text.replace(/^\\n+/g, '');\n text = text.replace(/\\n+$/g, '');\n\n var grafs = text.split(/\\n{2,}/g),\n grafsOut = [],\n end = grafs.length; // Wrap tags\n\n for (var i = 0; i < end; i++) {\n var str = grafs[i];\n // if this is an HTML marker, copy it\n if (str.search(/¨(K|G)(\\d+)\\1/g) >= 0) {\n grafsOut.push(str);\n\n // test for presence of characters to prevent empty lines being parsed\n // as paragraphs (resulting in undesired extra empty paragraphs)\n } else if (str.search(/\\S/) >= 0) {\n str = showdown.subParser('spanGamut')(str, options, globals);\n str = str.replace(/^([ \\t]*)/g, '
');\n str += '
';\n grafsOut.push(str);\n }\n }\n\n /** Unhashify HTML blocks */\n end = grafsOut.length;\n for (i = 0; i < end; i++) {\n var blockText = '',\n grafsOutIt = grafsOut[i],\n codeFlag = false;\n // if this is a marker for an html block...\n // use RegExp.test instead of string.search because of QML bug\n while (/¨(K|G)(\\d+)\\1/.test(grafsOutIt)) {\n var delim = RegExp.$1,\n num = RegExp.$2;\n\n if (delim === 'K') {\n blockText = globals.gHtmlBlocks[num];\n } else {\n // we need to check if ghBlock is a false positive\n if (codeFlag) {\n // use encoded version of all text\n blockText = showdown.subParser('encodeCode')(globals.ghCodeBlocks[num].text, options, globals);\n } else {\n blockText = globals.ghCodeBlocks[num].codeblock;\n }\n }\n blockText = blockText.replace(/\\$/g, '$$$$'); // Escape any dollar signs\n\n grafsOutIt = grafsOutIt.replace(/(\\n\\n)?¨(K|G)\\d+\\2(\\n\\n)?/, blockText);\n // Check if grafsOutIt is a pre->code\n if (/^]*>\\s*]*>/.test(grafsOutIt)) {\n codeFlag = true;\n }\n }\n grafsOut[i] = grafsOutIt;\n }\n text = grafsOut.join('\\n');\n // Strip leading and trailing lines:\n text = text.replace(/^\\n+/g, '');\n text = text.replace(/\\n+$/g, '');\n return globals.converter._dispatch('paragraphs.after', text, options, globals);\n});\n\r\n/**\n * Run extension\n */\nshowdown.subParser('runExtension', function (ext, text, options, globals) {\n 'use strict';\n\n if (ext.filter) {\n text = ext.filter(text, globals.converter, options);\n\n } else if (ext.regex) {\n // TODO remove this when old extension loading mechanism is deprecated\n var re = ext.regex;\n if (!(re instanceof RegExp)) {\n re = new RegExp(re, 'g');\n }\n text = text.replace(re, ext.replace);\n }\n\n return text;\n});\n\r\n/**\n * These are all the transformations that occur *within* block-level\n * tags like paragraphs, headers, and list items.\n */\nshowdown.subParser('spanGamut', function (text, options, globals) {\n 'use strict';\n\n text = globals.converter._dispatch('spanGamut.before', text, options, globals);\n text = showdown.subParser('codeSpans')(text, options, globals);\n text = showdown.subParser('escapeSpecialCharsWithinTagAttributes')(text, options, globals);\n text = showdown.subParser('encodeBackslashEscapes')(text, options, globals);\n\n // Process anchor and image tags. Images must come first,\n // because ![foo][f] looks like an anchor.\n text = showdown.subParser('images')(text, options, globals);\n text = showdown.subParser('anchors')(text, options, globals);\n\n // Make links out of things like ` `\n // Must come after anchors, because you can use < and >\n // delimiters in inline links like [this]().\n text = showdown.subParser('autoLinks')(text, options, globals);\n text = showdown.subParser('simplifiedAutoLinks')(text, options, globals);\n text = showdown.subParser('emoji')(text, options, globals);\n text = showdown.subParser('underline')(text, options, globals);\n text = showdown.subParser('italicsAndBold')(text, options, globals);\n text = showdown.subParser('strikethrough')(text, options, globals);\n text = showdown.subParser('ellipsis')(text, options, globals);\n\n // we need to hash HTML tags inside spans\n text = showdown.subParser('hashHTMLSpans')(text, options, globals);\n\n // now we encode amps and angles\n text = showdown.subParser('encodeAmpsAndAngles')(text, options, globals);\n\n // Do hard breaks\n if (options.simpleLineBreaks) {\n // GFM style hard breaks\n // only add line breaks if the text does not contain a block (special case for lists)\n if (!/\\n\\n¨K/.test(text)) {\n text = text.replace(/\\n+/g, '
\\n');\n }\n } else {\n // Vanilla hard breaks\n text = text.replace(/ +\\n/g, '
\\n');\n }\n\n text = globals.converter._dispatch('spanGamut.after', text, options, globals);\n return text;\n});\n\r\nshowdown.subParser('strikethrough', function (text, options, globals) {\n 'use strict';\n\n function parseInside (txt) {\n if (options.simplifiedAutoLink) {\n txt = showdown.subParser('simplifiedAutoLinks')(txt, options, globals);\n }\n return '' + txt + '';\n }\n\n if (options.strikethrough) {\n text = globals.converter._dispatch('strikethrough.before', text, options, globals);\n text = text.replace(/(?:~){2}([\\s\\S]+?)(?:~){2}/g, function (wm, txt) { return parseInside(txt); });\n text = globals.converter._dispatch('strikethrough.after', text, options, globals);\n }\n\n return text;\n});\n\r\n/**\n * Strips link definitions from text, stores the URLs and titles in\n * hash references.\n * Link defs are in the form: ^[id]: url \"optional title\"\n */\nshowdown.subParser('stripLinkDefinitions', function (text, options, globals) {\n 'use strict';\n\n var regex = /^ {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,\n base64Regex = /^ {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;\n\n // attacklab: sentinel workarounds for lack of \\A and \\Z, safari\\khtml bug\n text += '¨0';\n\n var replaceFunc = function (wholeMatch, linkId, url, width, height, blankLines, title) {\n linkId = linkId.toLowerCase();\n if (url.match(/^data:.+?\\/.+?;base64,/)) {\n // remove newlines\n globals.gUrls[linkId] = url.replace(/\\s/g, '');\n } else {\n globals.gUrls[linkId] = showdown.subParser('encodeAmpsAndAngles')(url, options, globals); // Link IDs are case-insensitive\n }\n\n if (blankLines) {\n // Oops, found blank lines, so it's not a title.\n // Put back the parenthetical statement we stole.\n return blankLines + title;\n\n } else {\n if (title) {\n globals.gTitles[linkId] = title.replace(/\"|'/g, '"');\n }\n if (options.parseImgDimensions && width && height) {\n globals.gDimensions[linkId] = {\n width: width,\n height: height\n };\n }\n }\n // Completely remove the definition from the text\n return '';\n };\n\n // first we try to find base64 link references\n text = text.replace(base64Regex, replaceFunc);\n\n text = text.replace(regex, replaceFunc);\n\n // attacklab: strip sentinel\n text = text.replace(/¨0/, '');\n\n return text;\n});\n\r\nshowdown.subParser('tables', function (text, options, globals) {\n 'use strict';\n\n if (!options.tables) {\n return text;\n }\n\n var tableRgx = /^ {0,3}\\|?.+\\|.+\\n {0,3}\\|?[ \\t]*:?[ \\t]*(?:[-=]){2,}[ \\t]*:?[ \\t]*\\|[ \\t]*:?[ \\t]*(?:[-=]){2,}[\\s\\S]+?(?:\\n\\n|¨0)/gm,\n //singeColTblRgx = /^ {0,3}\\|.+\\|\\n {0,3}\\|[ \\t]*:?[ \\t]*(?:[-=]){2,}[ \\t]*:?[ \\t]*\\|[ \\t]*\\n(?: {0,3}\\|.+\\|\\n)+(?:\\n\\n|¨0)/gm;\n singeColTblRgx = /^ {0,3}\\|.+\\|[ \\t]*\\n {0,3}\\|[ \\t]*:?[ \\t]*(?:[-=]){2,}[ \\t]*:?[ \\t]*\\|[ \\t]*\\n( {0,3}\\|.+\\|[ \\t]*\\n)*(?:\\n|¨0)/gm;\n\n function parseStyles (sLine) {\n if (/^:[ \\t]*--*$/.test(sLine)) {\n return ' style=\"text-align:left;\"';\n } else if (/^--*[ \\t]*:[ \\t]*$/.test(sLine)) {\n return ' style=\"text-align:right;\"';\n } else if (/^:[ \\t]*--*[ \\t]*:$/.test(sLine)) {\n return ' style=\"text-align:center;\"';\n } else {\n return '';\n }\n }\n\n function parseHeaders (header, style) {\n var id = '';\n header = header.trim();\n // support both tablesHeaderId and tableHeaderId due to error in documentation so we don't break backwards compatibility\n if (options.tablesHeaderId || options.tableHeaderId) {\n id = ' id=\"' + header.replace(/ /g, '_').toLowerCase() + '\"';\n }\n header = showdown.subParser('spanGamut')(header, options, globals);\n\n return '' + header + ' \\n';\n }\n\n function parseCells (cell, style) {\n var subText = showdown.subParser('spanGamut')(cell, options, globals);\n return '' + subText + ' \\n';\n }\n\n function buildTable (headers, cells) {\n var tb = '\\n\\n\\n',\n tblLgn = headers.length;\n\n for (var i = 0; i < tblLgn; ++i) {\n tb += headers[i];\n }\n tb += ' \\n\\n\\n';\n\n for (i = 0; i < cells.length; ++i) {\n tb += '\\n';\n for (var ii = 0; ii < tblLgn; ++ii) {\n tb += cells[i][ii];\n }\n tb += ' \\n';\n }\n tb += '\\n
\\n';\n return tb;\n }\n\n function parseTable (rawTable) {\n var i, tableLines = rawTable.split('\\n');\n\n for (i = 0; i < tableLines.length; ++i) {\n // strip wrong first and last column if wrapped tables are used\n if (/^ {0,3}\\|/.test(tableLines[i])) {\n tableLines[i] = tableLines[i].replace(/^ {0,3}\\|/, '');\n }\n if (/\\|[ \\t]*$/.test(tableLines[i])) {\n tableLines[i] = tableLines[i].replace(/\\|[ \\t]*$/, '');\n }\n // parse code spans first, but we only support one line code spans\n tableLines[i] = showdown.subParser('codeSpans')(tableLines[i], options, globals);\n }\n\n var rawHeaders = tableLines[0].split('|').map(function (s) { return s.trim();}),\n rawStyles = tableLines[1].split('|').map(function (s) { return s.trim();}),\n rawCells = [],\n headers = [],\n styles = [],\n cells = [];\n\n tableLines.shift();\n tableLines.shift();\n\n for (i = 0; i < tableLines.length; ++i) {\n if (tableLines[i].trim() === '') {\n continue;\n }\n rawCells.push(\n tableLines[i]\n .split('|')\n .map(function (s) {\n return s.trim();\n })\n );\n }\n\n if (rawHeaders.length < rawStyles.length) {\n return rawTable;\n }\n\n for (i = 0; i < rawStyles.length; ++i) {\n styles.push(parseStyles(rawStyles[i]));\n }\n\n for (i = 0; i < rawHeaders.length; ++i) {\n if (showdown.helper.isUndefined(styles[i])) {\n styles[i] = '';\n }\n headers.push(parseHeaders(rawHeaders[i], styles[i]));\n }\n\n for (i = 0; i < rawCells.length; ++i) {\n var row = [];\n for (var ii = 0; ii < headers.length; ++ii) {\n if (showdown.helper.isUndefined(rawCells[i][ii])) {\n\n }\n row.push(parseCells(rawCells[i][ii], styles[ii]));\n }\n cells.push(row);\n }\n\n return buildTable(headers, cells);\n }\n\n text = globals.converter._dispatch('tables.before', text, options, globals);\n\n // find escaped pipe characters\n text = text.replace(/\\\\(\\|)/g, showdown.helper.escapeCharactersCallback);\n\n // parse multi column tables\n text = text.replace(tableRgx, parseTable);\n\n // parse one column tables\n text = text.replace(singeColTblRgx, parseTable);\n\n text = globals.converter._dispatch('tables.after', text, options, globals);\n\n return text;\n});\n\r\nshowdown.subParser('underline', function (text, options, globals) {\n 'use strict';\n\n if (!options.underline) {\n return text;\n }\n\n text = globals.converter._dispatch('underline.before', text, options, globals);\n\n if (options.literalMidWordUnderscores) {\n text = text.replace(/\\b___(\\S[\\s\\S]*?)___\\b/g, function (wm, txt) {\n return '' + txt + '';\n });\n text = text.replace(/\\b__(\\S[\\s\\S]*?)__\\b/g, function (wm, txt) {\n return '' + txt + '';\n });\n } else {\n text = text.replace(/___(\\S[\\s\\S]*?)___/g, function (wm, m) {\n return (/\\S$/.test(m)) ? '' + m + '' : wm;\n });\n text = text.replace(/__(\\S[\\s\\S]*?)__/g, function (wm, m) {\n return (/\\S$/.test(m)) ? '' + m + '' : wm;\n });\n }\n\n // escape remaining underscores to prevent them being parsed by italic and bold\n text = text.replace(/(_)/g, showdown.helper.escapeCharactersCallback);\n\n text = globals.converter._dispatch('underline.after', text, options, globals);\n\n return text;\n});\n\r\n/**\n * Swap back in all the special characters we've hidden.\n */\nshowdown.subParser('unescapeSpecialChars', function (text, options, globals) {\n 'use strict';\n text = globals.converter._dispatch('unescapeSpecialChars.before', text, options, globals);\n\n text = text.replace(/¨E(\\d+)E/g, function (wholeMatch, m1) {\n var charCodeToReplace = parseInt(m1);\n return String.fromCharCode(charCodeToReplace);\n });\n\n text = globals.converter._dispatch('unescapeSpecialChars.after', text, options, globals);\n return text;\n});\n\r\nshowdown.subParser('makeMarkdown.blockquote', function (node, globals) {\n 'use strict';\n\n var txt = '';\n if (node.hasChildNodes()) {\n var children = node.childNodes,\n childrenLength = children.length;\n\n for (var i = 0; i < childrenLength; ++i) {\n var innerTxt = showdown.subParser('makeMarkdown.node')(children[i], globals);\n\n if (innerTxt === '') {\n continue;\n }\n txt += innerTxt;\n }\n }\n // cleanup\n txt = txt.trim();\n txt = '> ' + txt.split('\\n').join('\\n> ');\n return txt;\n});\n\r\nshowdown.subParser('makeMarkdown.codeBlock', function (node, globals) {\n 'use strict';\n\n var lang = node.getAttribute('language'),\n num = node.getAttribute('precodenum');\n return '```' + lang + '\\n' + globals.preList[num] + '\\n```';\n});\n\r\nshowdown.subParser('makeMarkdown.codeSpan', function (node) {\n 'use strict';\n\n return '`' + node.innerHTML + '`';\n});\n\r\nshowdown.subParser('makeMarkdown.emphasis', function (node, globals) {\n 'use strict';\n\n var txt = '';\n if (node.hasChildNodes()) {\n txt += '*';\n var children = node.childNodes,\n childrenLength = children.length;\n for (var i = 0; i < childrenLength; ++i) {\n txt += showdown.subParser('makeMarkdown.node')(children[i], globals);\n }\n txt += '*';\n }\n return txt;\n});\n\r\nshowdown.subParser('makeMarkdown.header', function (node, globals, headerLevel) {\n 'use strict';\n\n var headerMark = new Array(headerLevel + 1).join('#'),\n txt = '';\n\n if (node.hasChildNodes()) {\n txt = headerMark + ' ';\n var children = node.childNodes,\n childrenLength = children.length;\n\n for (var i = 0; i < childrenLength; ++i) {\n txt += showdown.subParser('makeMarkdown.node')(children[i], globals);\n }\n }\n return txt;\n});\n\r\nshowdown.subParser('makeMarkdown.hr', function () {\n 'use strict';\n\n return '---';\n});\n\r\nshowdown.subParser('makeMarkdown.image', function (node) {\n 'use strict';\n\n var txt = '';\n if (node.hasAttribute('src')) {\n txt += '![' + node.getAttribute('alt') + '](';\n txt += '<' + node.getAttribute('src') + '>';\n if (node.hasAttribute('width') && node.hasAttribute('height')) {\n txt += ' =' + node.getAttribute('width') + 'x' + node.getAttribute('height');\n }\n\n if (node.hasAttribute('title')) {\n txt += ' \"' + node.getAttribute('title') + '\"';\n }\n txt += ')';\n }\n return txt;\n});\n\r\nshowdown.subParser('makeMarkdown.links', function (node, globals) {\n 'use strict';\n\n var txt = '';\n if (node.hasChildNodes() && node.hasAttribute('href')) {\n var children = node.childNodes,\n childrenLength = children.length;\n txt = '[';\n for (var i = 0; i < childrenLength; ++i) {\n txt += showdown.subParser('makeMarkdown.node')(children[i], globals);\n }\n txt += '](';\n txt += '<' + node.getAttribute('href') + '>';\n if (node.hasAttribute('title')) {\n txt += ' \"' + node.getAttribute('title') + '\"';\n }\n txt += ')';\n }\n return txt;\n});\n\r\nshowdown.subParser('makeMarkdown.list', function (node, globals, type) {\n 'use strict';\n\n var txt = '';\n if (!node.hasChildNodes()) {\n return '';\n }\n var listItems = node.childNodes,\n listItemsLenght = listItems.length,\n listNum = node.getAttribute('start') || 1;\n\n for (var i = 0; i < listItemsLenght; ++i) {\n if (typeof listItems[i].tagName === 'undefined' || listItems[i].tagName.toLowerCase() !== 'li') {\n continue;\n }\n\n // define the bullet to use in list\n var bullet = '';\n if (type === 'ol') {\n bullet = listNum.toString() + '. ';\n } else {\n bullet = '- ';\n }\n\n // parse list item\n txt += bullet + showdown.subParser('makeMarkdown.listItem')(listItems[i], globals);\n ++listNum;\n }\n\n // add comment at the end to prevent consecutive lists to be parsed as one\n txt += '\\n\\n';\n return txt.trim();\n});\n\r\nshowdown.subParser('makeMarkdown.listItem', function (node, globals) {\n 'use strict';\n\n var listItemTxt = '';\n\n var children = node.childNodes,\n childrenLenght = children.length;\n\n for (var i = 0; i < childrenLenght; ++i) {\n listItemTxt += showdown.subParser('makeMarkdown.node')(children[i], globals);\n }\n // if it's only one liner, we need to add a newline at the end\n if (!/\\n$/.test(listItemTxt)) {\n listItemTxt += '\\n';\n } else {\n // it's multiparagraph, so we need to indent\n listItemTxt = listItemTxt\n .split('\\n')\n .join('\\n ')\n .replace(/^ {4}$/gm, '')\n .replace(/\\n\\n+/g, '\\n\\n');\n }\n\n return listItemTxt;\n});\n\r\n\n\nshowdown.subParser('makeMarkdown.node', function (node, globals, spansOnly) {\n 'use strict';\n\n spansOnly = spansOnly || false;\n\n var txt = '';\n\n // edge case of text without wrapper paragraph\n if (node.nodeType === 3) {\n return showdown.subParser('makeMarkdown.txt')(node, globals);\n }\n\n // HTML comment\n if (node.nodeType === 8) {\n return '\\n\\n';\n }\n\n // process only node elements\n if (node.nodeType !== 1) {\n return '';\n }\n\n var tagName = node.tagName.toLowerCase();\n\n switch (tagName) {\n\n //\n // BLOCKS\n //\n case 'h1':\n if (!spansOnly) { txt = showdown.subParser('makeMarkdown.header')(node, globals, 1) + '\\n\\n'; }\n break;\n case 'h2':\n if (!spansOnly) { txt = showdown.subParser('makeMarkdown.header')(node, globals, 2) + '\\n\\n'; }\n break;\n case 'h3':\n if (!spansOnly) { txt = showdown.subParser('makeMarkdown.header')(node, globals, 3) + '\\n\\n'; }\n break;\n case 'h4':\n if (!spansOnly) { txt = showdown.subParser('makeMarkdown.header')(node, globals, 4) + '\\n\\n'; }\n break;\n case 'h5':\n if (!spansOnly) { txt = showdown.subParser('makeMarkdown.header')(node, globals, 5) + '\\n\\n'; }\n break;\n case 'h6':\n if (!spansOnly) { txt = showdown.subParser('makeMarkdown.header')(node, globals, 6) + '\\n\\n'; }\n break;\n\n case 'p':\n if (!spansOnly) { txt = showdown.subParser('makeMarkdown.paragraph')(node, globals) + '\\n\\n'; }\n break;\n\n case 'blockquote':\n if (!spansOnly) { txt = showdown.subParser('makeMarkdown.blockquote')(node, globals) + '\\n\\n'; }\n break;\n\n case 'hr':\n if (!spansOnly) { txt = showdown.subParser('makeMarkdown.hr')(node, globals) + '\\n\\n'; }\n break;\n\n case 'ol':\n if (!spansOnly) { txt = showdown.subParser('makeMarkdown.list')(node, globals, 'ol') + '\\n\\n'; }\n break;\n\n case 'ul':\n if (!spansOnly) { txt = showdown.subParser('makeMarkdown.list')(node, globals, 'ul') + '\\n\\n'; }\n break;\n\n case 'precode':\n if (!spansOnly) { txt = showdown.subParser('makeMarkdown.codeBlock')(node, globals) + '\\n\\n'; }\n break;\n\n case 'pre':\n if (!spansOnly) { txt = showdown.subParser('makeMarkdown.pre')(node, globals) + '\\n\\n'; }\n break;\n\n case 'table':\n if (!spansOnly) { txt = showdown.subParser('makeMarkdown.table')(node, globals) + '\\n\\n'; }\n break;\n\n //\n // SPANS\n //\n case 'code':\n txt = showdown.subParser('makeMarkdown.codeSpan')(node, globals);\n break;\n\n case 'em':\n case 'i':\n txt = showdown.subParser('makeMarkdown.emphasis')(node, globals);\n break;\n\n case 'strong':\n case 'b':\n txt = showdown.subParser('makeMarkdown.strong')(node, globals);\n break;\n\n case 'del':\n txt = showdown.subParser('makeMarkdown.strikethrough')(node, globals);\n break;\n\n case 'a':\n txt = showdown.subParser('makeMarkdown.links')(node, globals);\n break;\n\n case 'img':\n txt = showdown.subParser('makeMarkdown.image')(node, globals);\n break;\n\n default:\n txt = node.outerHTML + '\\n\\n';\n }\n\n // common normalization\n // TODO eventually\n\n return txt;\n});\n\r\nshowdown.subParser('makeMarkdown.paragraph', function (node, globals) {\n 'use strict';\n\n var txt = '';\n if (node.hasChildNodes()) {\n var children = node.childNodes,\n childrenLength = children.length;\n for (var i = 0; i < childrenLength; ++i) {\n txt += showdown.subParser('makeMarkdown.node')(children[i], globals);\n }\n }\n\n // some text normalization\n txt = txt.trim();\n\n return txt;\n});\n\r\nshowdown.subParser('makeMarkdown.pre', function (node, globals) {\n 'use strict';\n\n var num = node.getAttribute('prenum');\n return '' + globals.preList[num] + '
';\n});\n\r\nshowdown.subParser('makeMarkdown.strikethrough', function (node, globals) {\n 'use strict';\n\n var txt = '';\n if (node.hasChildNodes()) {\n txt += '~~';\n var children = node.childNodes,\n childrenLength = children.length;\n for (var i = 0; i < childrenLength; ++i) {\n txt += showdown.subParser('makeMarkdown.node')(children[i], globals);\n }\n txt += '~~';\n }\n return txt;\n});\n\r\nshowdown.subParser('makeMarkdown.strong', function (node, globals) {\n 'use strict';\n\n var txt = '';\n if (node.hasChildNodes()) {\n txt += '**';\n var children = node.childNodes,\n childrenLength = children.length;\n for (var i = 0; i < childrenLength; ++i) {\n txt += showdown.subParser('makeMarkdown.node')(children[i], globals);\n }\n txt += '**';\n }\n return txt;\n});\n\r\nshowdown.subParser('makeMarkdown.table', function (node, globals) {\n 'use strict';\n\n var txt = '',\n tableArray = [[], []],\n headings = node.querySelectorAll('thead>tr>th'),\n rows = node.querySelectorAll('tbody>tr'),\n i, ii;\n for (i = 0; i < headings.length; ++i) {\n var headContent = showdown.subParser('makeMarkdown.tableCell')(headings[i], globals),\n allign = '---';\n\n if (headings[i].hasAttribute('style')) {\n var style = headings[i].getAttribute('style').toLowerCase().replace(/\\s/g, '');\n switch (style) {\n case 'text-align:left;':\n allign = ':---';\n break;\n case 'text-align:right;':\n allign = '---:';\n break;\n case 'text-align:center;':\n allign = ':---:';\n break;\n }\n }\n tableArray[0][i] = headContent.trim();\n tableArray[1][i] = allign;\n }\n\n for (i = 0; i < rows.length; ++i) {\n var r = tableArray.push([]) - 1,\n cols = rows[i].getElementsByTagName('td');\n\n for (ii = 0; ii < headings.length; ++ii) {\n var cellContent = ' ';\n if (typeof cols[ii] !== 'undefined') {\n cellContent = showdown.subParser('makeMarkdown.tableCell')(cols[ii], globals);\n }\n tableArray[r].push(cellContent);\n }\n }\n\n var cellSpacesCount = 3;\n for (i = 0; i < tableArray.length; ++i) {\n for (ii = 0; ii < tableArray[i].length; ++ii) {\n var strLen = tableArray[i][ii].length;\n if (strLen > cellSpacesCount) {\n cellSpacesCount = strLen;\n }\n }\n }\n\n for (i = 0; i < tableArray.length; ++i) {\n for (ii = 0; ii < tableArray[i].length; ++ii) {\n if (i === 1) {\n if (tableArray[i][ii].slice(-1) === ':') {\n tableArray[i][ii] = showdown.helper.padEnd(tableArray[i][ii].slice(-1), cellSpacesCount - 1, '-') + ':';\n } else {\n tableArray[i][ii] = showdown.helper.padEnd(tableArray[i][ii], cellSpacesCount, '-');\n }\n } else {\n tableArray[i][ii] = showdown.helper.padEnd(tableArray[i][ii], cellSpacesCount);\n }\n }\n txt += '| ' + tableArray[i].join(' | ') + ' |\\n';\n }\n\n return txt.trim();\n});\n\r\nshowdown.subParser('makeMarkdown.tableCell', function (node, globals) {\n 'use strict';\n\n var txt = '';\n if (!node.hasChildNodes()) {\n return '';\n }\n var children = node.childNodes,\n childrenLength = children.length;\n\n for (var i = 0; i < childrenLength; ++i) {\n txt += showdown.subParser('makeMarkdown.node')(children[i], globals, true);\n }\n return txt.trim();\n});\n\r\nshowdown.subParser('makeMarkdown.txt', function (node) {\n 'use strict';\n\n var txt = node.nodeValue;\n\n // multiple spaces are collapsed\n txt = txt.replace(/ +/g, ' ');\n\n // replace the custom ¨NBSP; with a space\n txt = txt.replace(/¨NBSP;/g, ' ');\n\n // \", <, > and & should replace escaped html entities\n txt = showdown.helper.unescapeHTMLEntities(txt);\n\n // escape markdown magic characters\n // emphasis, strong and strikethrough - can appear everywhere\n // we also escape pipe (|) because of tables\n // and escape ` because of code blocks and spans\n txt = txt.replace(/([*_~|`])/g, '\\\\$1');\n\n // escape > because of blockquotes\n txt = txt.replace(/^(\\s*)>/g, '\\\\$1>');\n\n // hash character, only troublesome at the beginning of a line because of headers\n txt = txt.replace(/^#/gm, '\\\\#');\n\n // horizontal rules\n txt = txt.replace(/^(\\s*)([-=]{3,})(\\s*)$/, '$1\\\\$2$3');\n\n // dot, because of ordered lists, only troublesome at the beginning of a line when preceded by an integer\n txt = txt.replace(/^( {0,3}\\d+)\\./gm, '$1\\\\.');\n\n // +, * and -, at the beginning of a line becomes a list, so we need to escape them also (asterisk was already escaped)\n txt = txt.replace(/^( {0,3})([+-])/gm, '$1\\\\$2');\n\n // images and links, ] followed by ( is problematic, so we escape it\n txt = txt.replace(/]([\\s]*)\\(/g, '\\\\]$1\\\\(');\n\n // reference URIs must also be escaped\n txt = txt.replace(/^ {0,3}\\[([\\S \\t]*?)]:/gm, '\\\\[$1]:');\n\n return txt;\n});\n\r\nvar root = this;\n\n// AMD Loader\nif (typeof define === 'function' && define.amd) {\n define(function () {\n 'use strict';\n return showdown;\n });\n\n// CommonJS/nodeJS Loader\n} else if (typeof module !== 'undefined' && module.exports) {\n module.exports = showdown;\n\n// Regular Browser loader\n} else {\n root.showdown = showdown;\n}\n}).call(this);\r\n\n//# sourceMappingURL=showdown.js.map\r\n\n\n\n// WEBPACK FOOTER //\n// ../node_modules/showdown/dist/showdown.js","// removed by extract-text-webpack-plugin\nmodule.exports = {\"thesis\":\"thesis__3uAQ4\"};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./components/thesis.css\n// module id = J9SO\n// module chunks = 0","import { Component, cloneElement, h } from 'preact';\n\nvar EMPTY$1 = {};\n\nfunction assign(obj, props) {\n\t// eslint-disable-next-line guard-for-in\n\tfor (var i in props) {\n\t\tobj[i] = props[i];\n\t}\n\treturn obj;\n}\n\nfunction exec(url, route, opts) {\n\tvar reg = /(?:\\?([^#]*))?(#.*)?$/,\n\t\tc = url.match(reg),\n\t\tmatches = {},\n\t\tret;\n\tif (c && c[1]) {\n\t\tvar p = c[1].split('&');\n\t\tfor (var i=0; i b.rank) ? -1 :\n\t\t(a.index - b.index)\n\t);\n}\n\n// filter out VNodes without attributes (which are unrankeable), and add `index`/`rank` properties to be used in sorting.\nfunction prepareVNodeForRanking(vnode, index) {\n\tvnode.index = index;\n\tvnode.rank = rankChild(vnode);\n\treturn vnode.attributes;\n}\n\nfunction segmentize(url) {\n\treturn url.replace(/(^\\/+|\\/+$)/g, '').split('/');\n}\n\nfunction rankSegment(segment) {\n\treturn segment.charAt(0)==':' ? (1 + '*+?'.indexOf(segment.charAt(segment.length-1))) || 4 : 5;\n}\n\nfunction rank(path) {\n\treturn segmentize(path).map(rankSegment).join('');\n}\n\nfunction rankChild(vnode) {\n\treturn vnode.attributes.default ? 0 : rank(vnode.attributes.path);\n}\n\nvar customHistory = null;\n\nvar ROUTERS = [];\n\nvar subscribers = [];\n\nvar EMPTY = {};\n\nfunction isPreactElement(node) {\n\treturn node.__preactattr_!=null || typeof Symbol!=='undefined' && node[Symbol.for('preactattr')]!=null;\n}\n\nfunction setUrl(url, type) {\n\tif ( type === void 0 ) type='push';\n\n\tif (customHistory && customHistory[type]) {\n\t\tcustomHistory[type](url);\n\t}\n\telse if (typeof history!=='undefined' && history[type+'State']) {\n\t\thistory[type+'State'](null, null, url);\n\t}\n}\n\n\nfunction getCurrentUrl() {\n\tvar url;\n\tif (customHistory && customHistory.location) {\n\t\turl = customHistory.location;\n\t}\n\telse if (customHistory && customHistory.getCurrentLocation) {\n\t\turl = customHistory.getCurrentLocation();\n\t}\n\telse {\n\t\turl = typeof location!=='undefined' ? location : EMPTY;\n\t}\n\treturn (\"\" + (url.pathname || '') + (url.search || ''));\n}\n\n\n\nfunction route(url, replace) {\n\tif ( replace === void 0 ) replace=false;\n\n\tif (typeof url!=='string' && url.url) {\n\t\treplace = url.replace;\n\t\turl = url.url;\n\t}\n\n\t// only push URL into history if we can handle it\n\tif (canRoute(url)) {\n\t\tsetUrl(url, replace ? 'replace' : 'push');\n\t}\n\n\treturn routeTo(url);\n}\n\n\n/** Check if the given URL can be handled by any router instances. */\nfunction canRoute(url) {\n\tfor (var i=ROUTERS.length; i--; ) {\n\t\tif (ROUTERS[i].canRoute(url)) { return true; }\n\t}\n\treturn false;\n}\n\n\n/** Tell all router instances to handle the given URL. */\nfunction routeTo(url) {\n\tvar didRoute = false;\n\tfor (var i=0; i 0;\n\t};\n\n\t/** Re-render children with a new URL to match against. */\n\tRouter.prototype.routeTo = function routeTo (url) {\n\t\tthis._didRoute = false;\n\t\tthis.setState({ url: url });\n\n\t\t// if we're in the middle of an update, don't synchronously re-route.\n\t\tif (this.updating) { return this.canRoute(url); }\n\n\t\tthis.forceUpdate();\n\t\treturn this._didRoute;\n\t};\n\n\tRouter.prototype.componentWillMount = function componentWillMount () {\n\t\tROUTERS.push(this);\n\t\tthis.updating = true;\n\t};\n\n\tRouter.prototype.componentDidMount = function componentDidMount () {\n\t\tvar this$1 = this;\n\n\t\tif (customHistory) {\n\t\t\tthis.unlisten = customHistory.listen(function (location) {\n\t\t\t\tthis$1.routeTo((\"\" + (location.pathname || '') + (location.search || '')));\n\t\t\t});\n\t\t}\n\t\tthis.updating = false;\n\t};\n\n\tRouter.prototype.componentWillUnmount = function componentWillUnmount () {\n\t\tif (typeof this.unlisten==='function') { this.unlisten(); }\n\t\tROUTERS.splice(ROUTERS.indexOf(this), 1);\n\t};\n\n\tRouter.prototype.componentWillUpdate = function componentWillUpdate () {\n\t\tthis.updating = true;\n\t};\n\n\tRouter.prototype.componentDidUpdate = function componentDidUpdate () {\n\t\tthis.updating = false;\n\t};\n\n\tRouter.prototype.getMatchingChildren = function getMatchingChildren (children, url, invoke) {\n\t\treturn children\n\t\t\t.filter(prepareVNodeForRanking)\n\t\t\t.sort(pathRankSort)\n\t\t\t.map( function (vnode) {\n\t\t\t\tvar matches = exec(url, vnode.attributes.path, vnode.attributes);\n\t\t\t\tif (matches) {\n\t\t\t\t\tif (invoke !== false) {\n\t\t\t\t\t\tvar newProps = { url: url, matches: matches };\n\t\t\t\t\t\tassign(newProps, matches);\n\t\t\t\t\t\tdelete newProps.ref;\n\t\t\t\t\t\tdelete newProps.key;\n\t\t\t\t\t\treturn cloneElement(vnode, newProps);\n\t\t\t\t\t}\n\t\t\t\t\treturn vnode;\n\t\t\t\t}\n\t\t\t}).filter(Boolean);\n\t};\n\n\tRouter.prototype.render = function render (ref, ref$1) {\n\t\tvar children = ref.children;\n\t\tvar onChange = ref.onChange;\n\t\tvar url = ref$1.url;\n\n\t\tvar active = this.getMatchingChildren(children, url, true);\n\n\t\tvar current = active[0] || null;\n\t\tthis._didRoute = !!current;\n\n\t\tvar previous = this.previousUrl;\n\t\tif (url!==previous) {\n\t\t\tthis.previousUrl = url;\n\t\t\tif (typeof onChange==='function') {\n\t\t\t\tonChange({\n\t\t\t\t\trouter: this,\n\t\t\t\t\turl: url,\n\t\t\t\t\tprevious: previous,\n\t\t\t\t\tactive: active,\n\t\t\t\t\tcurrent: current\n\t\t\t\t});\n\t\t\t}\n\t\t}\n\n\t\treturn current;\n\t};\n\n\treturn Router;\n}(Component));\n\nvar Link = function (props) { return (\n\th('a', assign({ onClick: handleLinkClick }, props))\n); };\n\nvar Route = function (props) { return h(props.component, props); };\n\nRouter.subscribers = subscribers;\nRouter.getCurrentUrl = getCurrentUrl;\nRouter.route = route;\nRouter.Router = Router;\nRouter.Route = Route;\nRouter.Link = Link;\n\nexport { subscribers, getCurrentUrl, route, Router, Route, Link };export default Router;\n//# sourceMappingURL=preact-router.es.js.map\n\n\n\n// WEBPACK FOOTER //\n// ../node_modules/preact-router/dist/preact-router.es.js","import style from \"./panel.css\";\nimport { Component } from 'preact';\n\nexport default class Panel extends Component {\n\tgetStyle() {\n\t\treturn style.panel;\n\t};\n\n\trender() {\n\t\tlet title = null;\n\t\tif(this.props.title !== undefined) {\n\t\t\ttitle = ({this.props.title}
);\n\t\t}\n\n\t\treturn (\n\t\t\t\n\t\t\t\t{title}\n\t\t\t\t{this.props.children}\n\t\t\t\n\t\t);\n\t}\n}\n\n\n\n// WEBPACK FOOTER //\n// ./components/panel.js","import style from \"./split.css\";\nimport { Component } from 'preact';\n\nexport default class Split extends Component {\n\trender() {\n\t let title = null;\n\t if(this.props.title !== undefined) {\n title = ({this.props.title}
)\n }\n\n let children;\n if(Array.isArray(this.props.children)) {\n children = this.props.children.map(element => {\n return ({element});\n });\n }\n else {\n children = {this.props.children};\n }\n\t\treturn (\n\t \n {title}\n {children}\n \n );\n\t}\n}\n\n\n\n// WEBPACK FOOTER //\n// ./components/split.js","import style from \"./todo.css\";\r\nimport { Component } from 'preact';\r\n\r\nexport default class Todo extends Component {\r\n\trender() {\r\n\t\treturn {this.props.children};\r\n\t}\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./components/todo.js","import style from './home.css'\r\nimport { Component } from 'preact';\r\nimport Panel from '../components/panel';\r\nimport Split from '../components/split';\r\nimport Todo from '../components/todo';\r\n\r\nexport default class Home extends Component {\r\n render() {\r\n return (\r\n \r\n Indice
\r\n \r\n Statistica ed elementi di probabilità}>\r\n \r\n Appunti scritti mentre studiavo per l'esame di Statistica ed elementi di probabilità del corso triennale di Informatica all'Unimore del Prof. Luca La Rocca.\r\n
\r\n \r\n TODO: è ancora incompleto! \r\n
\r\n \r\n Cleaver}>\r\n \r\n Progetto in Java sviluppato per l'esame di Programmazione ad Oggetti del corso triennale di Informatica all'Unimore, tenuto dai Prof. Giacomo Cabri e Nicola Capodieci.\r\n
\r\n \r\n Fisica}>\r\n \r\n Appunti delle lezioni di Fisica del corso triennale di Informatica all'Unimore, tenute dalla Prof.ssa Rossella Brunetti nel primo semestre dell'Anno Accademico 2019/2020.\r\n
\r\n \r\n Sistemi Operativi}>\r\n \r\n Soluzioni agli Arzigogoli proposti dal Prof. Mauro Andreolini durante le lezioni di Sistemi Operativi del corso triennale di Informatica all'Unimore tenutesi nel primo semestre dell'Anno Accademico 2019/2020.\r\n
\r\n \r\n Algoritmi e Strutture Dati}>\r\n \r\n Appunti delle lezioni di Algoritmi e Strutture Dati del corso triennale di Informatica all'Unimore, tenute dalla Prof.ssa Manuela Montangero nel secondo semestre dell'Anno Accademico 2018/2019.\r\n
\r\n \r\n Videolezioni di Geometria}>\r\n \r\n Ottime videolezioni di Geometria con licenza CC BY-NC-SA 4.0 che ho trovato sul portale Dolly 2018 dell'Unimore.\r\n
\r\n \r\n Come installare MinGW}>\r\n \r\n Un breve tutorial con immagini su come installare e configurare MinGW per compilare programmi C e C++ su Windows.\r\n
\r\n \r\n \r\n \r\n @unimoreinfo}>\r\n \r\n Il gruppo Telegram del corso di Informatica dell'Unimore!\r\n
\r\n \r\n Calendario Lezioni}>\r\n \r\n Calendario Google quasi sempre aggiornato delle lezioni e degli esami del secondo anno dell'Unimore durante l'Anno Accademico 2019/2020.\r\n
\r\n \r\n Erre2}>\r\n \r\n Portale contenente appunti e riassunti mantenuto da Lorenzo Balugani.\r\n
\r\n \r\n vezzalinistefano/Appunti-Algoritmi}>\r\n \r\n Appunti di Algoritmi e Strutture Dati mantenuti da Vezzalini Stefano.\r\n
\r\n \r\n \r\n \r\n )\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./pages/home.js","import style from './latex.css';\nimport { Component } from 'preact';\n\nexport default class Latex extends Component {\n\trender() {\n\t\tlet equation = `{\\\\color{White} ${this.props.children} }`;\n\t\treturn (\n\t\t\t);\n\t}\n}\n\n\n// WEBPACK FOOTER //\n// ./components/latex.js","import style from \"./plus.css\";\r\nimport { Component } from 'preact';\r\n\r\nexport default class Plus extends Component {\r\n\trender() {\r\n\t\treturn {this.props.children};\r\n\t}\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./components/plus.js","import style from \"./minus.css\";\r\nimport { Component } from 'preact';\r\n\r\nexport default class Minus extends Component {\r\n\trender() {\r\n\t\treturn {this.props.children};\r\n\t}\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./components/minus.js","import style from './fisica.css';\nimport { Component } from 'preact';\nimport Latex from '../components/latex';\nimport Panel from '../components/panel';\nimport Split from '../components/split';\nimport Plus from '../components/plus';\nimport Minus from '../components/minus';\nimport Todo from '../components/todo';\n\nconst r = String.raw;\n\nexport default class Fisica extends Component {\n\trender() {\n return (\n \n Fisica
\n \n \n \n Usa le regole base della trigonometria:\n
\n \n {r`\\vec{v} = \\vec{v}_x + \\vec{v}_y`} \n
\n \n {r`\\left | \\vec{v}_x \\right | = \\left | \\vec{v} \\right | \\sin \\alpha`} \n
\n \n {r`\\left | \\vec{v}_y \\right | = \\left | \\vec{v} \\right | \\cos \\alpha`} \n
\n \n \n \n Scomponi in componenti, poi sommali:\n
\n \n {r`\\vec{v} + \\vec{w} = (\\vec{v}_x + \\vec{w}_x) + (\\vec{v}_y + \\vec{w}_y)`} \n
\n \n Produce il vettore risultante dall'applicazione della regola del parallelogramma.\n
\n \n \n \n Alla fine è sempre una somma:\n
\n \n {r`\\vec{v} - \\vec{w} = (\\vec{v}_x - \\vec{w}_x) + (\\vec{v}_y - \\vec{w}_y)`} \n
\n \n Produce il vettore che parte da w e arriva a v .\n
\n \n \n \n Si chiama scalare perchè il risultato è uno scalare, non un vettore.\n
\n \n {r`\\vec{v} \\cdot \\vec{w} = \\left | \\vec{v} \\right | \\left | \\vec{w} \\right | \\cos \\alpha`} \n
\n \n Produce il modulo della proiezione di {r`\\vec{a}`} su {r`\\vec{b}`} .\n
\n \n \n \n Si chiama vettoriale perchè il risultato è un altro vettore.\n
\n \n {r`\\vec{c} = \\vec{a} \\times \\vec{b}`} \n {r`\\left | \\vec{c} \\right | = \\left | \\vec{a} \\right | \\cdot \\left | \\vec{b} \\right | \\cdot \\sin(\\alpha)`} \n - Regola della mano destra
\n
\n \n Non è commutativo!\n
\n \n \n \n \n \n Se un corpo puntiforme ha forza risultante nulla, allora la sua velocità non cambia.\n
\n \n {r`\\Sigma \\vec{F} = 0 \\Longleftrightarrow \\Delta v = 0`} \n
\n \n \n \n La forza risultante di un corpo è direttamente proporzionale alla sua accelerazione, e la costante di proporzionalità è la massa.\n
\n \n {r`\\Sigma \\vec{F} = m \\vec{a}`} \n
\n \n \n \n Due corpi esercitano forze uguali e opposte uno sull'altro. \n
\n \n {r`\\vec{F}_{21} = -\\vec{F}_{12}`} \n
\n \n \n \n \n \n Due corpi puntiformi si attirano uno verso l'altro con forza:\n
\n \n {r`\\left | \\vec{F} \\right | = G \\frac{m_1 m_2}{s^2}`} \n
\n \n G è la costante di gravitazione universale e vale:\n
\n \n {r`G = 6.67 \\cdot 10^{-11} \\frac{N m^2}{{kg}^2}`} \n
\n \n \n \n Se nel sistema di riferimento consideriamo la Terra ferma, allora un corpo è attratto verso la Terra con forza peso uguale a:\n
\n \n {r`\\left | \\vec{F} \\right | = g m`} \n
\n \n g è la costante di gravità della Terra, e vale:\n
\n \n {r`g = 9.81 \\frac{m}{s^2}`} \n
\n \n \n \n Per pianeti diversi dalla Terra vale la stessa regola:\n
\n \n {r`\\left | \\vec{F} \\right | = g m`} \n
\n \n L'unica differenza è che cambia la costante di gravità:\n
\n \n {r`g_{luna} = 1.62 \\frac{m}{s^2}`} \n
\n \n {r`g_{marte} = 3.71 \\frac{m}{s^2}`} \n
\n \n \n \n \n \n Si oppone alle forze applicate alla superficie di contatto.\n
\n \n Un libro appoggiato su un tavolo ha la forza di gravità che lo attira verso il terreno e la forza normale che lo trattiene dal cadere. \n
\n \n \n \n Impedisce a un corpo di muoversi se non viene spinto da una forza che supera una certa soglia:\n
\n \n {r`\\left | \\vec{F} \\right | \\leq \\mu_{s} \\left | \\vec{F}_{normale} \\right |`} \n
\n \n \n \n Rallenta i corpi che si stanno muovendo finchè essi non si fermano:\n
\n \n {r`\\left | \\vec{F} \\right | \\leq \\mu_{d} \\left | \\vec{F}_{normale} \\right |`} \n
\n \n \n \n E' forza trasmessa tra due estremi di una fune.\n
\n \n Può essere redirezionata per mezzo di carrucole.\n
\n \n \n \n Una molla cerca sempre di tornare alla sua posizione indeformata con forza:\n
\n \n {r`F = -k x`} \n
\n \n (E' negativa perchè la forza è opposta a quella applicata per deformarla.)\n
\n \n \n \n \n \n È un vettore che indica la posizione di un corpo rispetto a un'origine.\n
\n \n {r`\\Delta \\vec{s} = \\vec{s}(fine) - \\vec{s}(inizio)`} \n
\n \n \n \n È un vettore che misura la variazione di posizione nel tempo.\n
\n \n {r`\\vec{v} = \\frac{\\Delta \\vec{s}}{\\Delta t}`} \n
\n \n Se si considera un intervallo di tempo infinitesimale si dice velocità istantanea:\n
\n \n {r`\\vec{v} = \\lim_{\\Delta t \\to 0} \\frac{\\Delta \\vec{s}}{\\Delta t} = \\frac{d \\vec{s}}{dt}`} \n
\n \n \n \n È un vettore che misura la variazione di velocità nel tempo.\n
\n \n {r`\\vec{a} = \\frac{\\Delta \\vec{v}}{\\Delta t}`} \n
\n \n Se si considera un intervallo di tempo infinitesimale si dice accelerazione istantanea:\n
\n \n {r`\\vec{a} = \\lim_{\\Delta v \\to 0} \\frac{\\Delta \\vec{v}}{\\Delta t} = \\frac{d \\vec{v}}{d t} = \\frac{d^2 \\vec{s}}{d t^2}`} \n
\n \n Quantità di moto (momento lineare)}>\n \n La quantità di moto è una proprietà vettoriale dei corpi:\n
\n \n {r`\\vec{p} = m \\vec{v}`} \n
\n \n Se la forza risultante è nulla, la quantità di moto non cambia.\n
\n \n {r`\\Sigma \\vec{F} = 0 \\Longleftrightarrow \\Delta \\vec{p} = 0`} \n
\n \n \n \n \n \n La legge oraria è:\n
\n \n {r`s(t) = v \\cdot \\Delta t + s(0)`} \n
\n \n \n \n È costante:\n
\n \n {r`v(t) = k`} \n
\n \n \n \n La velocità non varia:\n
\n \n {r`a(t) = 0`} \n
\n \n \n \n Si applica la prima legge di Newton:\n
\n \n f(t) = 0 \n
\n \n \n \n \n \n La legge oraria è:\n
\n \n {r`s(t) = \\frac{1}{2} a \\cdot (\\Delta t)^2 + v(0) \\cdot (\\Delta t) + s(0)`} \n
\n \n \n \n È una retta:\n
\n \n {r`v(t) = a \\Delta t + v(0)`} \n
\n \n \n \n È costante:\n
\n \n {r`a(t) = k`} \n
\n \n \n \n Si applica la prima legge di Newton:\n
\n \n f(t) = m a \n
\n \n \n \n \n \n E' la distanza dal centro massima che raggiunge il corpo.\n
\n \n (L'ampiezza di una sinusoide.)\n
\n \n \n \n Indica quanto in fretta cambia la posizione del corpo. \n
\n \n Dipende dal periodo:\n
\n \n {r`\\omega = \\frac{2 \\pi}{T}`} \n
\n \n \n \n E' una sinusoide:\n
\n \n {r`s(t) = A \\sin (\\omega \\cdot t + \\phi)`} \n
\n \n \n \n E' la sinusoide dello spostamento, sfasata di {r`\\frac{\\pi}{2}`} :\n
\n \n {r`v(t) = A \\sin (\\omega \\cdot t + \\phi + \\frac{\\pi}{2})`} \n
\n \n \n \n E' la sinusoide della velocità, sfasata di {r`\\pi`} :\n
\n \n {r`a(t) = A \\sin (\\omega \\cdot t + \\phi + \\pi)`} \n
\n \n \n \n Si applica la prima legge di Newton:\n
\n \n f(t) = m a \n
\n \n \n \n \n \n Il moto parabolico è dato sommando un moto rettilineo uniforme sull'asse orizzontale e un moto rettilineo uniformemente accelerato sull'asse verticale.\n
\n \n \n \n Il moto parabolico è dato sommando due moti armonici semplici: uno sull'asse X, e l'altro, sfasato di {r`\\frac{\\pi}{2}`} , sull'asse Y.\n
\n \n \n \n \n \n Velocità angolare\n
\n \n Quanto cambia la fase nel tempo.\n
\n \n {r`\\omega = \\frac{2 \\pi}{T}`} \n
\n \n \n \n E' l'angolo percorso dal corpo rispetto alla posizione iniziale.\n
\n \n Si indica con {r`\\phi`} , e generalmente si usa in radianti.\n
\n \n \n \n Si applicano le formule per la circonferenza:\n
\n \n {r`v = \\frac{\\Delta s}{t} = \\frac{2 \\pi \\cdot r}{T} = \\omega r`} \n
\n \n \n \n Il corpo ha sempre un accelerazione verso il centro che gli impedisce di abbandonare il moto: \n
\n \n {r`a = \\frac{v^2}{r} = r \\cdot \\omega^2 = v \\cdot \\omega`} \n
\n \n \n \n È verso il centro e si calcola con:\n
\n \n {r`F = m \\cdot a`} \n
\n \n \n \n \n \n E' compiuto da una forza che sposta un corpo.\n
\n \n {r`W = \\vec{F} \\cdot \\vec{s} = F \\cdot \\Delta s \\cdot cos(\\alpha )`} \n
\n \n (Se la forza non è parallela allo spostamento, il prodotto scalare ci fa considerare solo la componente parallela.)\n
\n \n \n \n Un corpo ha energia cinetica in ogni momento uguale a:\n
\n \n {r`E_c = \\frac{1}{2} m v^2`} \n
\n \n Se una forza effettua lavoro su un corpo, cambia la sua energia cinetica pari al lavoro effettuato:\n
\n \n {r`\\Delta E_c = W`} \n
\n \n \n \n Un corpo ha energia potenziale in ogni momento pari a: \n
\n \n {r`E_{p_g} = m \\cdot g \\cdot h`} \n
\n \n (Con h uguale a un altezza scelta come punto di riferimento.)\n
\n \n \n \n Una molla ha sempre energia potenziale elastica pari a:\n
\n \n {r`E_{p_e} = \\frac{1}{2} k x^2`} \n
\n \n \n \n Sono conservative le forze per le quali il lavoro compiuto non dipende dal percorso seguito per andare dalla partenza all'arrivo.\n
\n \n Ad esempio, è conservativa la forza di gravità, ma non è conservativa la forza di attrito.\n
\n \n Se in un sistema ci sono solo forze conservative, allora l'energia meccanica totale si conserva:\n
\n \n {r`E = E_k + E_p`} \n
\n \n \n \n È la velocità di trasferimento di energia:\n
\n \n {r`P = \\frac{\\Delta E}{\\Delta t}`} \n
\n \n \n \n \n \n È una proprietà dei corpi che può essere positiva o negativa .\n
\n \n Si conserva: in un sistema chiuso la carica totale è costante.\n
\n \n Esiste un'unità elementare: {r`C_{elettrone} = 1.602 \\cdot 10^{-19}`} .\n
\n \n Cariche opp oste si attraggono; cariche uguali si respingono.\n
\n \n \n \n Più ioni ha un corpo, meglio la carica si muove attraverso di esso.\n
\n \n I corpi in cui la carica si muove bene sono conduttori, mentre quelli in cui si muove difficilmente sono isolanti.\n
\n \n Il corpo umano è un buon conduttore.\n
\n \n \n \n \n \n E' possibile polarizzare un corpo per accumulare la carica di un segno in una certa zona.\n
\n \n \n \n \n \n Se un corpo conduttore è in contatto con la Terra, le cariche su di esso saranno equilibrate e il corpo diventerà elettricamente neutro (con stesso numero di cariche positive e negative all'interno).\n
\n \n \n \n \n \n Strofinando tra loro due corpi isolanti, essi si polarizzeranno per strofinio.\n
\n \n \n \n Toccando un conduttore con un corpo carico, il conduttore potrà polarizzarsi per contatto.\n
\n \n \n \n Se un corpo conduttore ha cariche \"esterne\" di un certo segno vicino, esso avrà tutte le cariche del segno opposto in equilibrio vicino alle cariche esterne, e tutte le cariche dello stesso segno più lontano possibile da esse.\n
\n \n Mettendo a terra il conduttore, nuove cariche del segno opposto saranno attratte all'interno del corpo per equilibrare le cariche che si sono allontanate.\n
\n \n Staccando il conduttore da terra e rimuovendo le cariche esterne, esso si ritroverà caricato del segno opposto rispetto alle cariche esterne.\n
\n \n \n \n \n \n Due corpi carichi si attraggono tra loro con forza: \n
\n \n {r`\\left | \\vec{F}_{elettrica} \\right | = \\frac{-k \\cdot q_1 \\cdot q_2}{s^2}`} \n
\n \n {r`k`} è la costante di Coulomb, e vale {r`k = 8.99 \\cdot 10^9 \\frac{N \\cdot m^2}{C^2}`} .\n
\n \n \n \n La costante {r`k`} è in realtà dipendente da un altra costante, {r`\\epsilon_0`} , la permeabilità del vuoto.\n
\n \n {r`k = \\frac{1}{4 \\pi \\cdot \\epsilon_0}`} \n
\n \n {r`\\left | \\vec{F}_{elettrica} \\right | = \\frac{q_1 \\cdot q_2}{4 \\pi \\cdot \\epsilon_0 \\cdot s^2}`} \n
\n \n \n \n Misura che forza viene applicata in ogni punto su una carica unitaria:\n
\n \n {r`\\vec{E} = \\frac{\\vec{F}_{elettrica}}{q} = \\frac{-k \\cdot q}{s^2}`} \n
\n \n \n \n È la differenza tra \"quanto\" campo elettrico entra e quanto campo elettrico esce da una certa area.\n
\n \n In qualsiasi superficie chiusa, il flusso elettrico è uguale alla componente perpendicolare del campo elettrico moltiplicato per l'area.\n
\n \n {r`\\Phi_E = \\vec{E} \\cdot \\vec{A}`} \n
\n \n Se il campo elettrico è uniforme, se ne può calcolare facilmente il valore:\n
\n \n {r`\\Phi_E = \\vec{E} \\cdot \\vec{A} = E_\\perp \\cdot A \\cdot \\cos(\\alpha)`} \n
\n \n Circa. E' una specie di integrale... \n
\n \n \n \n Il flusso elettrico è direttamente proporzionale alla carica presente all'interno della superficie.\n
\n \n {r`\\Phi_E = 4 \\pi \\cdot k \\cdot q = \\frac{q}{\\epsilon_0}`} \n
\n \n Ovvero, i campi elettrostatici sono generati dalle cariche elettriche.\n
\n \n \n \n \n \n Un corpo carico vicino ad altre cariche possiede un'energia potenziale elettrica {r`U_e`} .\n
\n \n \n \n Potenziale elettrico (tensione)}>\n \n È il valore dell'energia potenziale elettrica per una carica unitaria.\n
\n \n {r`V = \\frac{U_e}{q}`} \n
\n \n La sua unità di misura è il Volt ({r`V`} ).\n
\n \n In una batteria è detto forza elettromotrice, e corrisponde al lavoro compiuto da una batteria ideale per spostare una carica unitaria tra i due poli.\n
\n \n Corrente elettrica (intensità)}>\n \n Quanta carica passa attraverso un'area (perpendicolare al flusso) nel tempo.\n
\n \n {r`I = \\frac{\\Delta q}{\\Delta t}`} \n
\n \n Fintanto che c'è differenza di potenziale, ci sarà anche intensità non nulla.\n
\n \n La sua unità di misura è l'Ampere ({r`A`} ).\n
\n \n Corrente continua (DC)}>\n \n Quando in un circuito la direzione della corrente è costante.\n
\n \n Corrente alternata (AC)}>\n \n Quando in un circuito la direzione della corrente si alterna periodicamente.\n
\n \n \n \n Possiamo calcolare la potenza di un circuito:\n
\n \n {r`P = \\frac{\\Delta U_e}{\\Delta t} = I \\cdot \\Delta V = I^2 \\cdot R = \\frac{(\\Delta V)^2}{R}`} \n
\n \n \n \n \n \n Riduce l'intensità di corrente, e converte parte del potenziale in calore.\n
\n \n Il potenziale utilizzato è pari a:\n
\n \n {r`V = R \\cdot I`} \n
\n \n Dove {r`R`} è una costante detta resistenza con unità di misura Ohm ({r`\\Omega`} ).\n
\n \n La resistenza di un conduttore vale:\n
\n \n {r`R = \\rho \\frac{L_{unghezza}}{A_{rea}}`} \n
\n \n {r`\\rho`} è la resistività del materiale, e varia in base alla temperatura:\n
\n \n {r`\\rho = \\rho_0 (1 + \\alpha(T - T_0))`} \n
\n \n \n \n Immagazzina potenziale elettrico, permettendo di riutilizzarla in seguito.\n
\n \n Per farlo, cattura cariche positive e negative sulle sue due armature; perchè questo avvenga, deve essere compiuto lavoro.\n
\n \n Ha una capacità caratteristica, che in un condensatore a facce piane parallele è:\n
\n \n {r`C = \\frac{q_{massima}}{\\Delta V}`} \n
\n \n Condensatori di capacità maggiore immagazzinano più potenziale con meno carica.\n
\n \n La capacità aumenta se viene messo qualcosa tra le armature:\n
\n \n {r`C_{nuova} = \\kappa \\cdot \\frac{\\epsilon_0 \\cdot A}{s}`} \n
\n \n Dove {r`\\kappa`} è la costante dielettrica relativa del materiale inserito, {r`A`} l'area di una armatura e {r`s`} la distanza tra le due armature.\n
\n \n Se il campo elettrico creatosi tra le due armature supera la rigidità dielettrica del condensatore, la carica immagazzinata viene persa e ha luogo un breakdown.\n
\n \n La sua unità di misura è il Farad ({r`Fa`} )\n
\n \n \n \n Misura la corrente elettrica se messo in serie.\n
\n \n (Funzionamento: ha una resistenza interna bassisima in modo da non influire significativamente sulla corrente.)\n
\n \n \n \n Misura la differenza di potenziale se messo in parallelo.\n
\n \n (Funzionamento: ha una resistenza altissima in modo da non influire significativamente sulla tensione.)\n
\n \n \n \n \n \n Per nodo si intende un qualsiasi punto del circuito.\n
\n \n Da un nodo entra ed esce la stessa corrente.\n
\n \n \n \n Per maglia si intende un qualsiasi percorso chiuso all'interno del circuito.\n
\n \n In una maglia chiusa, la somma delle differenze di potenziale è 0.\n
\n \n \n \n \n \n Più parti di circuito sono in serie se sono consecutive e senza biforcazioni.\n
\n \n Parti di circuito in serie sono attraversate dalla stessa corrente.\n
\n \n \n \n Più parti di circuito sono in parallelo tra loro se hanno lo stesso punto di partenza e lo stesso punto di arrivo. \n
\n \n Parti di circuito in parallelo hanno la stessa differenza di potenziale.\n
\n \n \n \n \n \n Nei circuiti in serie, tutte le resistenze possono essere sostituite con una equivalente dalla resistenza della somma di tutte le quelle sostituite:\n
\n \n {r`R_{serie} = \\sum_{i=1}^{n} R_i`} \n
\n \n \n \n Nei circuiti in parallelo, tutte le resistenze possono essere sostituite con una equivalente dalla resistenza di:\n
\n \n {r`R_{parallelo} = \\frac{1}{\\sum_{i=1}^{n} \\frac{1}{R_i}}`} \n
\n \n \n \n \n \n Nei circuiti in serie, tutti i condensatori possono essere sostituiti con uno equivalente dalla capacità di:\n
\n \n {r`C_{serie} = \\frac{1}{\\sum_{i=1}^{n} \\frac{1}{C_i}}`} \n
\n \n \n \n Nei circuiti in parallelo, tutte i condensatori possono essere sostituite con uno equivalente dalla capacità della somma di tutti quelli sostituiti:\n
\n \n {r`C_{parallelo} = \\sum_{i=1}^{n} C_n`} \n
\n \n \n \n \n \n E' una costante fisica fondamentale che rappresenta quanto un materiale si magnetizza facilmente.\n
\n \n {r`\\mu_0 = 4 \\pi \\cdot 10^{-7} \\frac{H}{m}`} ({r`\\frac{N}{A^2}`} )\n
\n \n \n \n Come un campo elettrico, ma per i magneti.\n
\n \n Il suo simbolo è {r`B`} , e la sua unità di misura è il Tesla (T ).\n
\n \n \n \n È \"quanto\" campo magnetico attraversa un percorso chiuso.\n
\n \n Per qualsiasi percorso chiuso, il flusso magnetico è uguale alla somma di tutti i \"sottoflussi\" magnetici calcolati sui suoi lati.\n
\n \n {r`\\Phi_{B_{i}} = \\vec{B} \\cdot \\vec{L}_n = B \\cdot L_i \\cdot \\sin(\\alpha) = B_\\parallel \\cdot L_i`} \n
\n \n {r`\\Phi_{B} = \\sum_{i=0}^{n_{lati}} \\Phi_{Bn}`} \n
\n \n La sua unità di misura è il Weber ({r`Wb = T \\cdot m^2`} ).\n
\n \n \n \n Il flusso magnetico attraverso qualsiasi superficie chiusa è sempre nullo.\n
\n \n Ovvero, non esistono monopoli magnetici.\n
\n \n \n \n L'intensità di corrente che attraversa un percorso chiuso è direttamente proporzionale al flusso magnetico dello stesso percorso.\n
\n \n {r`\\Phi_B = \\mu_0 \\cdot I`} \n
\n \n \n \n Forza magnetica su carica puntiforme (Forza di Lorentz)}>\n \n I campi magnetici applicano una forza sulle cariche vicine:\n
\n \n {r`\\vec{F}_{B} = q \\cdot (\\vec{v} \\times \\vec{B})`} \n
\n \n Dove {r`\\vec{B}`} è l'intensità del campo magnetico e {r`\\vec{v}`} la velocità della carica considerata.\n
\n \n Si ha una forza massima se la velocità è perpendicolare al campo magnetico.\n
\n \n In un campo magnetico uniforme, una velocità perpendicolare al campo porta alla creazione di un moto circolare uniforme.\n
\n \n \n \n I campi magnetici influenzano ovviamente anche le cariche presenti in un conduttore:\n
\n \n {r`\\vec{F}_{magnetica} = I \\cdot (\\vec{L} \\times \\vec{B})`} [1]\n
\n \n Dove {r`I`} è la corrente elettrica, {r`\\vec{L}`} è un vettore che punta nella direzione di scorrimento della corrente e ha come modulo la lunghezza del conduttore.\n
\n \n \n \n \n \n Una spira in cui passa corrente produce un campo magnetico perpendicolare al piano creato dalla spira.\n
\n \n \n \n Un solenoide sono tante spire avvolte in modo da formare una specie di cilindro.\n
\n \n All'interno del solenoide si crea un campo (quasi) uniforme:\n
\n \n {r`\\left | \\vec{B} \\right | = \\mu_0 \\cdot I \\cdot \\frac{A_{vvolgimenti}}{L_{unghezzafilo}}`} \n
\n \n \n \n Caso particolare della Legge di Ampère.\n
\n \n Il modulo del campo magnetico B prodotto da un filo in cui passa una corrente continua I alla distanza s è:\n
\n \n {r`\\left | \\vec{B} \\right | = \\frac{\\mu \\cdot I}{2 \\pi r}`} \n
\n \n Il campo magnetico così creato gira attorno al filo in senso antiorario.\n
\n \n Due fili attraversati dalla stessa corrente si attraggono, due fili attraversati da corr enti opp oste si respingono.\n
\n \n \n \n \n \n Un conduttore perpendicolare ad un campo magnetico può ottenere una differenza di potenziale se messo in movimento in un direzione perpendicolare alla direzione del conduttore e del campo. \n
\n \n La differenza di potenziale si crea a causa della forza magnetica, che fa spostare tutti gli elettroni verso un capo del conduttore. \n
\n \n Essa vale:\n
\n \n {r`\\Delta V_{indotta} = v \\cdot B \\cdot L`} \n
\n \n Dove v è la velocità del conduttore, B è l'intensità del campo magnetico ed L è la lunghezza del conduttore.\n
\n \n \n \n In un campo magnetico {r`B`} uniforme e perpendicolare al piano di una spira di area {r`A`} , il flusso magnetico si può determinare con la Legge di Faraday-Neumann-Lenz:\n
\n \n {r`\\Phi_B = \\vec{B} \\cdot \\vec{A} = B \\cdot A \\cdot \\cos(\\alpha)`} \n
\n \n \n \n \n \n Dice che la forza elettromotrice media indotta in un percorso dipende dalla variazione nel tempo del flusso magnetico nello stesso percorso.\n
\n \n {r`\\Delta V_{indotta} = - \\frac{\\Delta \\Phi_B}{\\Delta t}`} \n
\n \n Il meno è dovuto alla Legge di Lenz, che specifica qualitativamente il verso della forza elettromotrice indotta.\n
\n \n \n \n In un solenoide, la forza elettromotrice indotta è uguale a:\n
\n \n {r`\\Delta V_{indotta} = - \\frac{N \\cdot \\Delta \\Phi_{B_{spira}}}{\\Delta t} = - \\frac{N \\cdot B \\cdot A \\cdot cos(\\alpha)}{\\Delta t}`} \n
\n \n Dove {r`N`} è il numero delle spire del solenoide.\n
\n \n \n \n Correnti o campi elettrici variabili creano un campo magnetico.\n
\n \n \n \n \n \n Nel vuoto, il campo elettrico {r`E`} e il campo magnetico {r`B`} sono perpendicolari tra loro e la direzione di propagazione, e sono entrambe funzioni del tempo.\n
\n \n Si dice quindi che sono onde elettromagnetiche.\n
\n \n Esse sono legate dalla relazione:\n
\n \n {r`E = c \\cdot B`} \n
\n \n Dove {r`c`} è la velocità delle onde (luce) nel vuoto, e a sua volta è uguale a:\n
\n \n {r`c = \\frac{1}{\\sqrt{\\epsilon_0 \\cdot \\mu_0}} = 3.00 \\cdot 10^8 \\frac{m}{s}`} \n
\n \n \n \n {r`A(t) = A_{max} \\cdot \\sin \\left ( \\frac{2 \\pi}{\\lambda} - \\omega t + \\phi \\right )`} \n
\n \n Dove {r`A_{max}`} è l'ampiezza massima che può avere l'onda, {r`\\frac{2 \\pi}{\\lambda} = \\left | \\vec{k} \\right |`} è il vettore d'onda, {r`\\omega`} la frequenza angolare e {r`\\phi`} la fase.\n
\n \n \n \n \n \n I solidi, se portati ad alta temperatura, emettono luce con uno spettro continuo.\n
\n \n I gas, invece, ad alta temperatura emettono luce solo con particolari lunghezze d'onda. \n
\n \n In un gas di idrogeno, le lunghezze d'onda emesse sono ricavabili con:\n
\n \n {r`\\frac{1}{\\lambda} = R \\left ( \\frac{1}{4} - \\frac{1}{n^2} \\right )`} \n
\n \n Con {r`R = 1.097 \\cdot 10^7 \\frac{1}{m}`} , detta costante di Rydberg, e {r`n`} un numero intero.\n
\n \n \n \n Una grandezza si dice quantizzata (o discreta) se può assumere solo determinati valori. \n
\n \n Una grandezza si dice continua se può assumere qualsiasi valore e quindi se non è quantizzata.\n
\n \n Energia, momento angolare e raggio sono quantizzati.\n
\n \n Nota costante quantica è {r`h`} , la costante di Planck, ovvero il valore minimo possibile per la carica (talvolta espressa come {r`\\hbar = \\left ( \\frac{h}{2 \\pi} \\right )`} .\n
\n \n \n \n \n \n L'energia degli elettroni è quantizzata.\n
\n \n Inoltre, per essi è valido che:\n
\n \n {r`m \\cdot v_n \\cdot 2 \\pi \\cdot r = n \\cdot h`} \n
\n \n Ancora, il raggio delle orbite è uguale a:\n
\n \n {r`r_n = n^2 \\cdot a_0 = n^2 \\cdot \\frac{\\hbar}{m_{elettrone} \\cdot k \\cdot e^2} `} \n
\n \n Con {r`a_0 = \\left ( \\frac{h}{2 \\pi} \\right )^2 \\cdot \\frac{1}{m_{elettrone} \\cdot k \\cdot e^2} = 5.29 \\cdot 10^{-11} m`} .\n
\n \n Infine, in ogni stato, l'energia è pari a:\n
\n \n {r`E_n = \\frac{1}{n^2} \\cdot E_1 = - \\frac{1}{n^2} \\cdot \\frac{a_0^2}{2 \\cdot m \\cdot \\hbar^4} = - \\frac{1}{n^2} \\cdot \\frac{m_{elettrone} \\cdot k^2 \\cdot e^4}{2 \\cdot \\hbar^2}`} \n
\n \n Due elettroni non possono occupare lo stesso stato.\n
\n \n Questo modello funziona solo per atomi con numero atomico basso. Atomi con molti elettroni hanno comportamenti diversi, descritti dal modello di\n
\n \n \n \n \n \n Nei solidi, le lunghezze d'onda sono talmente tanto vicine da poter essere considerate una banda.\n
\n \n Possono però comunque avere dei gap dovuti agli intervalli di energia non ammessi.\n
\n \n \n \n \n \n Refactor this \n
\n \n Se la banda di emissione con energia più alta di un corpo è assente o è separata da un gap dell'ordine di grandezza maggiore di {r`10^1 eV`} , allora il corpo è un isolante.\n
\n \n Se invece la banda di emissione si sovrappone a un altra, allora il corpo è un conduttore.\n
\n \n Se il gap è invece dell'ordine di grandezza di {r`1 eV`} , allora il corpo è un semiconduttore.\n
\n \n \n \n Legami in cui mancano elettroni .\n
\n \n Elettroni di altri legami possono spostarsi per colmare le lacune , creandone altre, e spostandole in direzione opposta a quella della corrente.\n
\n \n \n \n Se si inserisce in un cristallo semiconduttore si inserisce un atomo con numero atomico diverso, si otterrà:\n
\n \n - Con numero atomico maggiore, un semiconduttore di
tipo N con elettroni in eccesso liberi di scorrere. \n - Con numero atomico minore, un semiconduttore di
tipo P con lacune in eccesso libere di catturare elettroni da altri legami. \n
\n \n Maggiore impurezza porta a maggiore conduttività.\n
\n \n \n \n Aumentando la temperatura di un semiconduttore si aumenta la conduttività, perchè eccita le particelle e favorisce il movimento di elettroni e lacune .\n
\n \n \n Ottica (non l'abbiamo fatta)}>\n \n \n I corpi possono assorbire o riflettere le onde elettromagnetiche che li colpiscono.\n
\n \n \n \n Un corpo nero è un corpo che assorbe tutte le onde elettromagnetiche che riceve senza rifletterne nessuna.\n
\n \n Le onde assorbite vengono poi riemesse sotto forma di un onda di {r`\\lambda`} variabile in base alla temperatura.\n
\n \n {r`\\lambda_{max} \\cdot T`} è costante.\n
\n \n \n \n L'energia assorbita e emessa dai corpi neri è quantizzata.\n
\n \n \n \n Un onda magnetica con un quanto di energia è detta fotone:\n
\n \n {r`E_{fotone} = h \\cdot f`} \n
\n \n \n \n A volte, i fotoni che colpiscono un metallo possono estrarvi degli elettroni e creare una differenza di potenziale.\n
\n \n Perchè avvenga, la frequenza deve essere maggiore di una certa soglia.\n
\n \n Il numero di elettroni estratti dipende dall'intensità dell'onda, mentre l'energia cinetica degli elettroni dipende dalla frequenza.\n
\n \n Non c'è nessun ritardo tra l'assorbimento del fotone e l'estrazione di elettroni.\n
\n \n \n \n )\n\t}\n}\n\n\n// WEBPACK FOOTER //\n// ./pages/fisica.js","import style from \"./markdown.css\";\nimport { Component } from 'preact';\nimport showdown from \"showdown\";\n\nexport default class Markdown extends Component {\n\trender() {\n let converter = new showdown.Converter();\n converter.setFlavor(\"github\");\n let html = converter.makeHtml(`${this.props.children}`);\n // noinspection CheckTagEmptyBody\n return ;\n\t}\n}\n\n\n\n// WEBPACK FOOTER //\n// ./components/markdown.js","import style from './vldigeometria.css';\r\nimport { Component } from 'preact';\r\nimport Markdown from '../components/markdown';\r\nimport Panel from '../components/panel';\r\n\r\nconst r = String.raw;\r\n\r\nexport default class VlDiGeometria extends Component {\r\n\trender() {\r\n\t\t//Imported from unimore-info-wiki\r\n\t\treturn (\r\n\t\t\t\r\n Videolezioni di Geometria
\r\n \r\n {r`\r\nTutte le videolezioni sono state pubblicate sotto licenza [CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/) dalla Prof.ssa Beatrice Ruini nell'anno accademico 2018/2019 sul [portale Dolly 2018](https://dolly.fim.unimore.it/2018/course/view.php?id=14#section-0) (Moodle).\r\n\r\nPer comodità, ho estratto l'url sorgente del video dall'embed presente nella rispettiva pagina.\r\n\r\n1. [Definizione di Spazio Vettoriale](https://www.youtube.com/watch?v=7eHEzf4403c) (1:17:29)\r\n2. [Sottospazi vettoriali I](https://www.youtube.com/watch?v=FPqrULk5HBU) (37:15)\r\n3. [Sottospazi vettoriali II](https://www.youtube.com/watch?v=ubDWUw9hk0k) (43:26)\r\n4. [Sottospazi vettoriali III](https://www.youtube.com/watch?v=381n4NPb6Oc) (40:29)\r\n5. [Lineare dipendenza e indipendenza](https://www.youtube.com/watch?v=9YVQ5olYrh0) (56:12)\r\n6. [Basi di uno spazio vettoriale I](https://www.youtube.com/watch?v=mEF_lcTzEoE) (25:52)\r\n7. [Basi di uno spazio vettoriale II](https://www.youtube.com/watch?v=k1r9JfXY53k) (48:24)\r\n8. [Teorema di Grassmann](https://www.youtube.com/watch?v=3sqB-MMyCWM) (32:36)\r\n9. [Basi e Matrici](https://www.youtube.com/watch?v=Rd6AB_jE7YI) (27:06)\r\n10. [Definizione di Applicazioni Lineari](https://www.youtube.com/watch?v=rmd7ffZeVYk) (16:23)\r\n11. [Proprietà delle Applicazioni Lineari](https://www.youtube.com/watch?v=MH7ztQGkqmw) (31:58)\r\n12. [Definizione di determinante](https://www.youtube.com/watch?v=EwubcLwBdzk) (36:43)\r\n13. [Proprietà e metodo di triangolazione](https://www.youtube.com/watch?v=SFusGarV6HI) (22:36)\r\n14. [Teorema di Laplace](https://www.youtube.com/watch?v=BqZDWnKl2nQ) (29:03)\r\n15. [4 applicazioni del Teorema di Laplace](https://www.youtube.com/watch?v=2tr3y725GY0) (47:53)\r\n16. [Spazi vettoriali euclidei reali - Parte 1](https://www.youtube.com/watch?v=W7Z1hm-jwMM) (28:46)\r\n17. [Spazi vettoriali euclidei reali - Parte 2](https://www.youtube.com/watch?v=zjmKE9TMGm8) (27:17)\r\n18. [Autovalori e autovettori](https://www.youtube.com/watch?v=XlrlcnvcTtQ) (33:00)\r\n19. [Polinomio caratteristico](https://www.youtube.com/watch?v=61icRbgWTdI) (31:31)\r\n20. [Teorema diagonalizzabilità](https://www.youtube.com/watch?v=wm5V6en9OFo) (18:49)\r\n21. [Spazi affini](https://player.vimeo.com/video/291457587) (20:46)\r\n22. [Sottospazi affini](https://player.vimeo.com/video/291458991) (21:32)\r\n23. [Parallelismo e Riferimenti Affini](https://player.vimeo.com/video/291510181) (16:57)\r\n24. [Rappresentazione di Sottospazi Affini](https://player.vimeo.com/video/291510296) (31:17)\r\n25. [Spazi Euclidei](https://player.vimeo.com/video/291510612) (35:57)\r\n26. [Teoria dei ranghi](https://player.vimeo.com/video/291510964) (9:44)\r\n27. [Teoria dei ranghi 2](https://player.vimeo.com/video/291510862) (14:44)\r\n\r\nNell'anno accademico 2018/2019 non sono stati trattati gli argomenti nei video 21, 22 e 23.\r\n `} \r\n \r\n\t\t\t\r\n\t\t);\r\n\t}\r\n}\r\n\r\n\n\n\n// WEBPACK FOOTER //\n// ./pages/vldigeometria.js","import style from './mingwinstall.css';\r\nimport { Component } from 'preact';\r\nimport Panel from '../components/panel';\r\n\r\nexport default class MingwInstall extends Component {\r\n\trender() {\r\n\t\t//Imported from unimore-info-wiki\r\n\t\treturn (\r\n\t\t\t\r\n Come installare MinGW
\r\n \r\n\t\t\t\t\t Scaricate l'installer ufficiale,\r\n\t\t\t\t\t\ted eseguitelo.
\r\n\t\t\t\t\t Dovrebbe comparire questa schermata. Cliccate su Install
, poi scegliete una cartella di installazione\r\n\t\t\t\t\t\t(ricordatevela!) e poi Continue
. Lasciate stare le altre opzioni, dovrebbero essere tutte spuntate,\r\n\t\t\t\t\t\ttranne For all users
, che dovrebbe essere disattivato.
\r\n\t\t\t\t\t Aspettate che finisca il download. Pochi secondi dopo, dovrebbe finire e dovrebbe apparire un tasto\r\n\t\t\t\t\t\tContinue
. Premetelo.
\r\n\t\t\t\t\t Dovrebbe apparirvi questa finestra. L'installer di MinGW è una specie di gestore pacchetti (tipo apt
su\r\n\t\t\t\t\t\tUbuntu); potete scegliere quali pacchetti installare, e quindi quali funzionalità.
\r\n\t\t\t\t\t Nel nostro caso, dovrebbero servirci mingw32-base-bin
(per il C e alcune librerie C++) e\r\n\t\t\t\t\t\tmingw32-gcc-g++-bin
(per il C++). Cliccate, quindi, sui due quadratini corrispondenti, e premete\r\n\t\t\t\t\t\tMark for Installation
. Dovrebbe comparire una freccia gialla sul quadratino.
\r\n\t\t\t\t\t Ora, è il momento di installare i pacchetti. Aprite il menù Installation
, poi premete\r\n\t\t\t\t\t\tApply Changes
, e di nuovo Apply
.
\r\n\t\t\t\t\t Lasciate che scarichi, ci vorrà un po'. Guardatevi un video nel frattempo, fatevi una partitina a qualcosa, tornate\r\n\t\t\t\t\t\tdopo circa 10 minuti.
\r\n\t\t\t\t\t Una volta installato, dobbiamo aggiungere g++
ai programmi eseguibili da Prompt dei Comandi: premete il\r\n\t\t\t\t\t\ttasto Windows, e scrivete PATH
. Windows dovrebbe trovarvi automaticamente quell'opzione.
\r\n\t\t\t\t\t\r\n\t\t\t\t\t Dentro la finestra di Proprietà del Sistema, premete Variabili d'ambiente
.
\r\n\t\t\t\t\t Trovate la variabile d'ambiente globale Path
, e fateci doppio click per modificarla.
\r\n\t\t\t\t\t Ora dovreste vedere l'elenco di tutte le cartelle contenenti programmi eseguibili da terminale: dobbiamo aggiungere\r\n\t\t\t\t\t\tquella di MinGW! Premete Sfoglia
.
\r\n\t\t\t\t\t Trovate la cartella in cui avete installato MinGW (vi avevo detto di ricordarvela!); entrateci, poi selezionate la\r\n\t\t\t\t\t\tsottocartella bin
e premete OK
su tutte le finestre che avete aperto fino ad ora,\r\n\t\t\t\t\t\tchiudendole.
\r\n\t\t\t\t\t Complimenti! Avete installato MinGW e potete compilare programmi C e C++ da Windows! Avete a disposizione\r\n\t\t\t\t\t\tgcc
e g++
sul Prompt dei Comandi, e potete finalmente creare dei file .exe!
\r\n\t\t\t\t \r\n\t\t\t\r\n\t\t);\r\n\t}\r\n}\r\n\r\n\n\n\n// WEBPACK FOOTER //\n// ./pages/mingwinstall.js","import style from './copyright.css';\r\nimport { Component } from 'preact';\r\n\r\nexport default class Copyright extends Component {\r\n\trender() {\r\n\t\treturn © 2019 - Stefano Pigozzi - CC BY-SA 4.0 - Codice sorgente;\r\n\t}\r\n}\n\n\n// WEBPACK FOOTER //\n// ./components/copyright.js","import style from \"./theorem.css\";\r\nimport Panel from \"./panel.js\";\r\n\r\nexport default class Theorem extends Panel {\r\n getStyle() {\r\n return super.getStyle() + \" \" + style.theorem;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./components/theorem.js","import style from \"./hypothesis.css\";\r\nimport {Component} from \"preact\";\r\n\r\nexport default class Hypothesis extends Component {\r\n render() {\r\n return (\r\n \r\n \r\n Ipotesi\r\n
\r\n {this.props.children}\r\n \r\n )\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./components/hypothesis.js","import style from \"./thesis.css\";\r\nimport {Component} from \"preact\";\r\n\r\nexport default class Thesis extends Component {\r\n render() {\r\n return (\r\n \r\n \r\n Tesi\r\n
\r\n {this.props.children}\r\n \r\n )\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./components/thesis.js","import style from \"./proof.css\";\r\nimport {Component} from \"preact\";\r\n\r\nexport default class Proof extends Component {\r\n render() {\r\n return (\r\n \r\n \r\n Dimostrazione\r\n
\r\n {this.props.children}\r\n \r\n )\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./components/proof.js","import style from './statistica.css';\r\nimport { Component } from 'preact';\r\nimport Latex from '../components/latex';\r\nimport Panel from '../components/panel';\r\nimport Split from '../components/split';\r\nimport Plus from '../components/plus';\r\nimport Minus from '../components/minus';\r\nimport Todo from '../components/todo';\r\nimport Theorem from \"../components/theorem\";\r\nimport Hypothesis from \"../components/hypothesis\";\r\nimport Thesis from \"../components/thesis\";\r\nimport Proof from \"../components/proof\";\r\n\r\nconst r = String.raw;\r\n\r\nexport default class Statistica extends Component {\r\n\trender() {\r\n return (\r\n \r\n Statistica ed Elementi di Probabilità
\r\n \r\n \r\n \r\n Gruppo intero di oggetti di cui si cercano informazioni.\r\n
\r\n \r\n \r\n \r\n Popolazione finita di oggetti concreti che possono essere campionati ciascuno solo una volta.\r\n
\r\n \r\n \r\n \r\n Popolazione di valori ottenuti da prove sperimentali indipendenti ripetute più volte.\r\n
\r\n \r\n \r\n \r\n \r\n \r\n Sottoinsieme della popolazione che contiene gli oggetti che si sono osservati.\r\n
\r\n \r\n Simple random sample}>\r\n \r\n Campione di una data dimensione in cui qualsiasi selezione di n elementi ha la stessa probabilità di costituire il campione.\r\n
\r\n \r\n Sample of convenience}>\r\n \r\n Campione ottenuto in un modo casuale non ben definito.\r\n
\r\n \r\n Sample with replacement}>\r\n \r\n Campione ottenuto sostituendo nella popolazione gli elementi estratti con dei nuovi elementi.\r\n
\r\n \r\n Dire che un campione è ottenuto with replacement è equivalente a dire che la popolazione che si sta campionando è infinita, e quindi che tutti gli elementi sono indipendenti.\r\n
\r\n \r\n \r\n \r\n Campione ottenuto da una popolazione in cui certi elementi hanno più probabilità di essere stati selezionati di altri.\r\n
\r\n \r\n Stratified random sample}>\r\n \r\n Campione ottenuto da un sottoinsieme della popolazione detto strato.\r\n
\r\n \r\n Cluster sample}>\r\n \r\n Campione ottenuto selezionando più cluster di elementi alla volta.\r\n
\r\n \r\n \r\n \r\n Sampling variation}>\r\n \r\n Differenza di informazioni presente tra due campioni diversi della stessa popolazione.\r\n
\r\n \r\n \r\n \r\n Gli elementi in un campione sono indipendenti se gli elementi estratti in precedenza non influsicono significativamente sulle probabilità di estrazione dell'elemento successivo.\r\n
\r\n \r\n \r\n \r\n \r\n \r\n Esperimento in cui c'è una sola popolazione da cui vengono estratti campioni.\r\n
\r\n \r\n Serve per verificare delle condizioni.\r\n
\r\n \r\n \r\n \r\n Esperimento in cui sono presenti più popolazioni (aventi caratteristiche differenti una dall'altra dette fattori) da cui vengono estratti campioni.\r\n
\r\n \r\n Serve per capire quali fattori influenzano il risultato dell'esperimento.\r\n
\r\n \r\n \r\n \r\n Numerico o quantitativo}>\r\n Il dato descrive un valore numerico relativo all'elemento, come ad esempio una quantità fisica.\r\n \r\n Categorico o qualitativo}>\r\n Il dato indica una categoria a cui appartiene l'elemento, come ad esempio il suo colore.\r\n \r\n \r\n \r\n \r\n \r\n L'insieme di tutti gli esiti possibili di un esperimento.\r\n
\r\n \r\n {r`\\Omega = \\left \\{ 1, 2, 3, 4, 5, 6 \\right \\}`} \r\n
\r\n \r\n \r\n \r\n Uno dei possibili risultati di un esperimento.\r\n
\r\n \r\n E' un elemento dello spazio campionario.\r\n
\r\n \r\n {r`\\omega = 1`} \"omeghino\"\r\n
\r\n \r\n \r\n \r\n Un sottoinsieme dello spazio campionario.\r\n
\r\n \r\n {r`E = \\left \\{ 1, 2 \\right \\}`} \r\n
\r\n \r\n Lo spazio campionario stesso è un evento certo.\r\n
\r\n \r\n \r\n \r\n Il complementare di un sottoinsieme.\r\n
\r\n \r\n {r`\\bar{E} = \\left \\{ 3, 4, 5, 6 \\right \\}`} \r\n
\r\n \r\n \r\n \r\n L'intersezione di più sottoinsiemi.\r\n
\r\n \r\n {r`E \\cap F = \\left \\{ 1 \\right \\}`} \r\n
\r\n \r\n \r\n \r\n L'unione di più sottoinsiemi.\r\n
\r\n \r\n {r`E \\cup F = \\left \\{ 1, 2, 3, 4 \\right \\}`} \r\n
\r\n \r\n \r\n \r\n {r`E \\setminus F = E \\cap \\bar{F}`} \r\n
\r\n \r\n \r\n \r\n L'inclusione del primo insieme in un altro.\r\n
\r\n \r\n {r`E \\subseteq F`} \r\n
\r\n \r\n Se si verifica E , allora si verifica anche F .\r\n
\r\n \r\n \r\n \r\n Un sottoinsieme vuoto.\r\n
\r\n \r\n {r`I = \\emptyset`} \r\n
\r\n \r\n \r\n \r\n La disgiunzione di due insiemi.\r\n
\r\n \r\n {r`E \\cap F = \\emptyset`} \r\n
\r\n \r\n \r\n \r\n \r\n \r\n I sottoinsiemi dello spazio campionario formano una famiglia di sottoinsiemi detta famiglia degli eventi.\r\n
\r\n \r\n {r`\\mathcal{F}`} (\"effe\")\r\n
\r\n \r\n Qualsiasi sottoinsieme appartenente a {r`\\mathcal{F}`} è considerato un evento.\r\n
\r\n \r\n {r`\\sigma`} -algebra}>\r\n \r\n Se la famiglia degli eventi soddisfa questi tre requisiti, allora viene detta {r`\\sigma`} -algebra:\r\n
\r\n \r\n - \r\n Lo spazio campionario è un evento:
{r`\\Omega \\in \\mathcal{F}`} \r\n \r\n - \r\n Se un sottoinsieme è un evento, allora anche il suo complementare lo è:
{r`E \\in \\mathcal{F} \\implies \\bar{E} \\in \\mathcal{F}`} \r\n \r\n - \r\n Se due sottoinsiemi sono eventi, allora lo sono anche la loro unione e intersezione:
{r`(E, F) \\in \\mathcal{F} \\implies (E \\cup F, E \\cap F) \\in \\mathcal{F}`} \r\n \r\n
\r\n \r\n Un esempio: {r`E \\in \\mathcal{F} \\implies \\mathcal{F} = \\{ \\emptyset, E, \\bar{E}, \\Omega \\}`} \r\n
\r\n \r\n \r\n \r\n \r\n \r\n {r`P(E) = \\frac{casi\\ favorevoli}{casi\\ possibili}`} \r\n
\r\n \r\n \r\n \r\n {r`P(E) = \\frac{successi}{prove\\ totali}`} \r\n
\r\n \r\n \r\n \r\n TODO: Trovare un'espressione decente \r\n
\r\n \r\n \r\n \r\n \r\n \r\n La probabilità di un evento è un numero tra 0 e 1.\r\n
\r\n \r\n {r`\\forall E \\in \\mathcal{F}, 0 \\leq P(E) \\leq 1`} \r\n
\r\n \r\n \r\n \r\n La probabilità dello spazio campionario è sempre 1.\r\n
\r\n \r\n {r`P(\\Omega) = 1`} \r\n
\r\n \r\n \r\n \r\n La probabilità dell'unione di eventi indipendenti è uguale alla somma delle loro probabilità.\r\n
\r\n \r\n {r`P \\left ( \\bigcup_i E_i \\right ) = \\sum_i P ( E_i )`} \r\n
\r\n \r\n \r\n \r\n \r\n \r\n {r`P(\\bar{E}) = 1 - P(\\bar{E})`} \r\n
\r\n \r\n \r\n \r\n {r`F \\subseteq E \\implies P(F) \\leq P(E)`} \r\n
\r\n \r\n \r\n \r\n {r`P(E \\cup F) = P(E) + P(F) - P(E \\cap F)`} \r\n
\r\n \r\n \r\n \r\n \r\n \r\n Spazi campionari in cui ci sono un numero finito di esiti e ogni esito ha la stessa probabilità di verificarsi.\r\n
\r\n \r\n \r\n \r\n {r`P(E) = \\frac{len(E)}{len(\\Omega)}`} \r\n
\r\n \r\n \r\n \r\n \r\n \r\n Estraggo un numero, da un sacchetto con n numeri, mi segno che numero ho estratto e lo tengo fuori dal sacchetto. Ripeto per k volte.\r\n
\r\n \r\n Tengo conto dell'ordine in cui ho estratto i numeri.\r\n
\r\n \r\n {r`\\boldsymbol{D}_{n, k} = \\frac{n!}{(n - k)!}`} \r\n
\r\n \r\n \r\n \r\n Estraggo un numero, da un sacchetto con n numeri, mi segno che numero ho estratto e lo rimetto nel sacchetto. Ripeto per k volte.\r\n
\r\n \r\n Tengo conto dell'ordine in cui ho estratto i numeri.\r\n
\r\n \r\n {r`\\boldsymbol{D}^{r}_{n, k} = n^k`} \r\n
\r\n \r\n \r\n \r\n Estraggo un numero, da un sacchetto con n numeri, mi segno che numero ho estratto e lo tengo fuori dal sacchetto. Ripeto per k volte.\r\n
\r\n \r\n Non mi interessa l'ordine in cui ho estratto i numeri.\r\n
\r\n \r\n {r`\\boldsymbol{C}_{n, k} = \\binom{n}{k} = \\frac{n!}{(k)! \\cdot (n - k)!}`} \r\n
\r\n \r\n \r\n \r\n Estraggo un numero, da un sacchetto con n numeri, mi segno che numero ho estratto e lo rimetto nel sacchetto. Ripeto per k volte.\r\n
\r\n \r\n Non mi interessa l'ordine in cui ho estratto i numeri.\r\n
\r\n \r\n {r`\\boldsymbol{C}^{r}_{n, k} = \\binom{n + k - 1}{k} = \\frac{(n + k - 1)!}{(k)! \\cdot (n - 1)!}`} \r\n
\r\n \r\n TODO: Controllare la formula. \r\n
\r\n \r\n \r\n \r\n \r\n \r\n Estraggo n numeri e guardo in quanti ordini diversi li posso mettere.\r\n
\r\n \r\n {r`\\boldsymbol{P}_n = n!`} \r\n
\r\n \r\n \r\n \r\n \r\n \r\n Gli spazi campionari possono avere un numero infinito di esisti: si ha equiprobabilità se nessun esito è privilegiato rispetto agli altri.\r\n
\r\n \r\n \r\n \r\n E dato F}>\r\n \r\n La probabilità di un evento E dato un altro evento F indica la probabilità che si verifichi E sapendo che si è già verificato F .\r\n
\r\n \r\n {r`P(E|F) = \\frac{P(E \\cap F)}{P(F)}`} \r\n
\r\n \r\n \r\n \r\n Se due eventi sono indipendenti, sapere che uno dei due si è verificato non influisce sulle probabilità che si sia verificato l'altro.\r\n
\r\n \r\n {r`E, F\\ indipendenti\\ \\Longleftrightarrow P(E|F) = P(E), P(F|E) = P(F)`} \r\n
\r\n \r\n \r\n \r\n Se due eventi sono mutualmente esclusivi, entrambe le loro probabilità condizionate saranno uguali a 0.\r\n
\r\n \r\n {r`E \\cap F = \\emptyset \\Longleftrightarrow P(E|F) = P(F|E) = 0`} \r\n
\r\n \r\n \r\n \r\n Si può sfruttare la formula inversa della probabilità condizionata per calcolare catene di intersezioni:\r\n
\r\n \r\n {r`P(E_1 \\cap \\times \\cap E_n) = P(E_1) \\times P(E_2 | E_1) \\times \\dots \\times P(E_n | E_1 \\cap E_2 \\cap \\dots \\cap E_{n-1})`} \r\n
\r\n \r\n \r\n \r\n \r\n \r\n E' una partizione dello spazio campionario un insieme di eventi:\r\n
\r\n \r\n - Finito.
\r\n - In cui tutti gli eventi hanno probabilità diversa da 0.
\r\n - In cui tutti gli eventi sono mutualmente esclusivi.
\r\n - L'unione di tutti gli eventi copre lo spazio campionario.
\r\n
\r\n \r\n Se lo spazio campionario fosse una torta, una sua partizione sarebbe l'insieme delle fette di uno dei modi in cui si potrebbe tagliare.\r\n
\r\n \r\n La partizione {r`E_i`} è composta dagli eventi {r`E_1`} , {r`E_2`} , {r`E_3`} , fino a {r`E_n`} .\r\n
\r\n \r\n \r\n \r\n \r\n E_i partizione di {r`\\Omega`} \r\n {r`F`} evento {r`\\in \\Omega`} \r\n
\r\n \r\n \r\n \r\n La probabilità che si verifichi un evento è pari alla somma delle probabilità dell'evento stesso dati tutti gli eventi di una partizione.\r\n
\r\n \r\n {r`P(F) = \\sum_{i} P(F|E_i) \\cdot P(E_i)`} \r\n
\r\n \r\n \r\n \r\n Per la definizione di probabilità condizionata:\r\n
\r\n \r\n {r`P(F|E_i) \\cdot P(E_i) = P(F \\cap E_i)`} \r\n
\r\n \r\n Essendo parte di una partizione, tutti gli E_i sono distinti:\r\n
\r\n \r\n {r`\\forall i, \\exists! E_i`} \r\n
\r\n \r\n Essendo mutualmente esclusivi, le probabilità di tutti gli E_i possono essere sommate:\r\n
\r\n \r\n {r`\\sum_i P(F \\cap E_i) = P \\left( \\bigcup_i (F \\cap E_i) \\right)`} \r\n
\r\n \r\n Essendo una partizione di {r`\\Omega`} , allora la loro unione lo forma:\r\n
\r\n \r\n {r`\\bigcup_i ( F \\cap E_i ) = F \\cap \\left( \\bigcup_i E_i \\right) = F \\cap \\Omega = F`} \r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n La legge delle alternative funziona anche per gli eventi, non solo per {r`\\Omega`} :\r\n
\r\n \r\n {r`P(F|G) = \\sum_i P(F|E_i \\cap G) \\cdot P(E_i | G)`} \r\n
\r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n\r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n )\r\n\t}\r\n}\n\n\n// WEBPACK FOOTER //\n// ./pages/statistica.js","import './index.css';\nimport './manifest.json';\nimport { Component } from 'preact';\nimport Router from 'preact-router';\nimport Home from './pages/home';\nimport Fisica from './pages/fisica';\nimport VlDiGeometria from './pages/vldigeometria';\nimport MingwInstall from './pages/mingwinstall';\nimport Copyright from './components/copyright';\nimport Statistica from './pages/statistica';\n\n// noinspection JSUnusedGlobalSymbols\nexport default class App extends Component {\n\trender() {\n\t\treturn (\n\t\t\t\n\t\t\t\tAppuntiweb di Steffo
\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t \n\t\t\t\t \n\t\t\t\n\t\t);\n\t}\n}\n\n\n\n// WEBPACK FOOTER //\n// ./index.js","!function(){\"use strict\";function e(e,t){var n,o,r,i,l=W;for(i=arguments.length;i-- >2;)P.push(arguments[i]);t&&null!=t.children&&(P.length||P.push(t.children),delete t.children);while(P.length)if((o=P.pop())&&void 0!==o.pop)for(i=o.length;i--;)P.push(o[i]);else\"boolean\"==typeof o&&(o=null),(r=\"function\"!=typeof e)&&(null==o?o=\"\":\"number\"==typeof o?o+=\"\":\"string\"!=typeof o&&(r=!1)),r&&n?l[l.length-1]+=o:l===W?l=[o]:l.push(o),n=r;var a=new T;return a.nodeName=e,a.children=l,a.attributes=null==t?void 0:t,a.key=null==t?void 0:t.key,void 0!==M.vnode&&M.vnode(a),a}function t(e,t){for(var n in t)e[n]=t[n];return e}function n(e,t){e&&(\"function\"==typeof e?e(t):e.current=t)}function o(n,o){return e(n.nodeName,t(t({},n.attributes),o),arguments.length>2?[].slice.call(arguments,2):n.children)}function r(e){!e.__d&&(e.__d=!0)&&1==V.push(e)&&(M.debounceRendering||D)(i)}function i(){var e;while(e=V.pop())e.__d&&x(e)}function l(e,t,n){return\"string\"==typeof t||\"number\"==typeof t?void 0!==e.splitText:\"string\"==typeof t.nodeName?!e._componentConstructor&&a(e,t.nodeName):n||e._componentConstructor===t.nodeName}function a(e,t){return e.__n===t||e.nodeName.toLowerCase()===t.toLowerCase()}function u(e){var n=t({},e.attributes);n.children=e.children;var o=e.nodeName.defaultProps;if(void 0!==o)for(var r in o)void 0===n[r]&&(n[r]=o[r]);return n}function c(e,t){var n=t?document.createElementNS(\"http://www.w3.org/2000/svg\",e):document.createElement(e);return n.__n=e,n}function p(e){var t=e.parentNode;t&&t.removeChild(e)}function s(e,t,o,r,i){if(\"className\"===t&&(t=\"class\"),\"key\"===t);else if(\"ref\"===t)n(o,null),n(r,e);else if(\"class\"!==t||i)if(\"style\"===t){if(r&&\"string\"!=typeof r&&\"string\"!=typeof o||(e.style.cssText=r||\"\"),r&&\"object\"==typeof r){if(\"string\"!=typeof o)for(var l in o)l in r||(e.style[l]=\"\");for(var l in r)e.style[l]=\"number\"==typeof r[l]&&!1===E.test(l)?r[l]+\"px\":r[l]}}else if(\"dangerouslySetInnerHTML\"===t)r&&(e.innerHTML=r.__html||\"\");else if(\"o\"==t[0]&&\"n\"==t[1]){var a=t!==(t=t.replace(/Capture$/,\"\"));t=t.toLowerCase().substring(2),r?o||e.addEventListener(t,_,a):e.removeEventListener(t,_,a),(e.__l||(e.__l={}))[t]=r}else if(\"list\"!==t&&\"type\"!==t&&!i&&t in e){try{e[t]=null==r?\"\":r}catch(e){}null!=r&&!1!==r||\"spellcheck\"==t||e.removeAttribute(t)}else{var u=i&&t!==(t=t.replace(/^xlink:?/,\"\"));null==r||!1===r?u?e.removeAttributeNS(\"http://www.w3.org/1999/xlink\",t.toLowerCase()):e.removeAttribute(t):\"function\"!=typeof r&&(u?e.setAttributeNS(\"http://www.w3.org/1999/xlink\",t.toLowerCase(),r):e.setAttribute(t,r))}else e.className=r||\"\"}function _(e){return this.__l[e.type](M.event&&M.event(e)||e)}function f(){var e;while(e=A.shift())M.afterMount&&M.afterMount(e),e.componentDidMount&&e.componentDidMount()}function d(e,t,n,o,r,i){H++||(R=null!=r&&void 0!==r.ownerSVGElement,B=null!=e&&!(\"__preactattr_\"in e));var l=h(e,t,n,o,i);return r&&l.parentNode!==r&&r.appendChild(l),--H||(B=!1,i||f()),l}function h(e,t,n,o,r){var i=e,l=R;if(null!=t&&\"boolean\"!=typeof t||(t=\"\"),\"string\"==typeof t||\"number\"==typeof t)return e&&void 0!==e.splitText&&e.parentNode&&(!e._component||r)?e.nodeValue!=t&&(e.nodeValue=t):(i=document.createTextNode(t),e&&(e.parentNode&&e.parentNode.replaceChild(i,e),v(e,!0))),i.__preactattr_=!0,i;var u=t.nodeName;if(\"function\"==typeof u)return N(e,t,n,o);if(R=\"svg\"===u||\"foreignObject\"!==u&&R,u+=\"\",(!e||!a(e,u))&&(i=c(u,R),e)){while(e.firstChild)i.appendChild(e.firstChild);e.parentNode&&e.parentNode.replaceChild(i,e),v(e,!0)}var p=i.firstChild,s=i.__preactattr_,_=t.children;if(null==s){s=i.__preactattr_={};for(var f=i.attributes,d=f.length;d--;)s[f[d].name]=f[d].value}return!B&&_&&1===_.length&&\"string\"==typeof _[0]&&null!=p&&void 0!==p.splitText&&null==p.nextSibling?p.nodeValue!=_[0]&&(p.nodeValue=_[0]):(_&&_.length||null!=p)&&m(i,_,n,o,B||null!=s.dangerouslySetInnerHTML),y(i,t.attributes,s),R=l,i}function m(e,t,n,o,r){var i,a,u,c,s,_=e.childNodes,f=[],d={},m=0,b=0,y=_.length,g=0,w=t?t.length:0;if(0!==y)for(var C=0;C m && m.default ? m.default : m;\n\nlet app = interopDefault(require('preact-cli-entrypoint'));\n\nif (typeof app === 'function') {\n\tlet root = document.body.firstElementChild;\n\n\tlet init = () => {\n\t\tlet app = interopDefault(require('preact-cli-entrypoint'));\n\t\troot = (0, _preact.render)((0, _preact.h)(app), document.body, root);\n\t};\n\n\tif (module.hot) module.hot.accept('preact-cli-entrypoint', init);\n\n\tinit();\n}\n\n\n// WEBPACK FOOTER //\n// ../node_modules/preact-cli/lib/lib/entry.js","// removed by extract-text-webpack-plugin\nmodule.exports = {\"copyright\":\"copyright__TBGn1\"};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./components/copyright.css\n// module id = qMTX\n// module chunks = 0","// removed by extract-text-webpack-plugin\nmodule.exports = {\"todo\":\"todo__5Soco\"};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./components/todo.css\n// module id = tO1d\n// module chunks = 0"],"sourceRoot":""}
\ No newline at end of file
diff --git a/docs/index.html b/docs/index.html
index e500f9f..86d09d2 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -1 +1 @@
-Appunti Web Appuntiweb di Steffo
Indice
Argomenti
Statistica ed elementi di probabilità
Appunti scritti mentre studiavo per l'esame di Statistica ed elementi di probabilità del corso triennale di Informatica all'Unimore del Prof. Luca La Rocca.
Cleaver
Progetto in Java sviluppato per l'esame di Programmazione ad Oggetti del corso triennale di Informatica all'Unimore, tenuto dai Prof. Giacomo Cabri e Nicola Capodieci.
Fisica
Appunti delle lezioni di Fisica del corso triennale di Informatica all'Unimore, tenute dalla Prof.ssa Rossella Brunetti nel primo semestre dell'Anno Accademico 2019/2020.
Sistemi Operativi
Soluzioni agli Arzigogoli proposti dal Prof. Mauro Andreolini durante le lezioni di Sistemi Operativi del corso triennale di Informatica all'Unimore tenutesi nel primo semestre dell'Anno Accademico 2019/2020.
Algoritmi e Strutture Dati
Appunti delle lezioni di Algoritmi e Strutture Dati del corso triennale di Informatica all'Unimore, tenute dalla Prof.ssa Manuela Montangero nel secondo semestre dell'Anno Accademico 2018/2019.
Videolezioni di Geometria
Ottime videolezioni di Geometria con licenza CC BY-NC-SA 4.0 che ho trovato sul portale Dolly 2018 dell'Unimore.
Come installare MinGW
Un breve tutorial con immagini su come installare e configurare MinGW per compilare programmi C e C++ su Windows.
Altri collegamenti utili
@unimoreinfo
Il gruppo Telegram del corso di Informatica dell'Unimore!
Calendario Lezioni
Calendario Google quasi sempre aggiornato delle lezioni e degli esami del secondo anno dell'Unimore durante l'Anno Accademico 2019/2020.
Erre2
Portale contenente appunti e riassunti mantenuto da Lorenzo Balugani.
vezzalinistefano/Appunti-Algoritmi
Appunti di Algoritmi e Strutture Dati mantenuti da Vezzalini Stefano.
© 2019 - Stefano Pigozzi - CC BY-SA 4.0 - Codice sorgente
\ No newline at end of file
+Appunti Web Appuntiweb di Steffo
Indice
Argomenti
Statistica ed elementi di probabilità
Appunti scritti mentre studiavo per l'esame di Statistica ed elementi di probabilità del corso triennale di Informatica all'Unimore del Prof. Luca La Rocca.
TODO: è ancora incompleto!
Cleaver
Progetto in Java sviluppato per l'esame di Programmazione ad Oggetti del corso triennale di Informatica all'Unimore, tenuto dai Prof. Giacomo Cabri e Nicola Capodieci.
Fisica
Appunti delle lezioni di Fisica del corso triennale di Informatica all'Unimore, tenute dalla Prof.ssa Rossella Brunetti nel primo semestre dell'Anno Accademico 2019/2020.
Sistemi Operativi
Soluzioni agli Arzigogoli proposti dal Prof. Mauro Andreolini durante le lezioni di Sistemi Operativi del corso triennale di Informatica all'Unimore tenutesi nel primo semestre dell'Anno Accademico 2019/2020.
Algoritmi e Strutture Dati
Appunti delle lezioni di Algoritmi e Strutture Dati del corso triennale di Informatica all'Unimore, tenute dalla Prof.ssa Manuela Montangero nel secondo semestre dell'Anno Accademico 2018/2019.
Videolezioni di Geometria
Ottime videolezioni di Geometria con licenza CC BY-NC-SA 4.0 che ho trovato sul portale Dolly 2018 dell'Unimore.
Come installare MinGW
Un breve tutorial con immagini su come installare e configurare MinGW per compilare programmi C e C++ su Windows.
Altri collegamenti utili
@unimoreinfo
Il gruppo Telegram del corso di Informatica dell'Unimore!
Calendario Lezioni
Calendario Google quasi sempre aggiornato delle lezioni e degli esami del secondo anno dell'Unimore durante l'Anno Accademico 2019/2020.
Erre2
Portale contenente appunti e riassunti mantenuto da Lorenzo Balugani.
vezzalinistefano/Appunti-Algoritmi
Appunti di Algoritmi e Strutture Dati mantenuti da Vezzalini Stefano.
© 2019 - Stefano Pigozzi - CC BY-SA 4.0 - Codice sorgente
\ No newline at end of file
diff --git a/docs/polyfills.04c22.js.map b/docs/polyfills.04c22.js.map
index a05af79..7e7500f 100644
--- a/docs/polyfills.04c22.js.map
+++ b/docs/polyfills.04c22.js.map
@@ -1 +1 @@
-{"version":3,"sources":["webpack:///polyfills.04c22.js","webpack:///webpack/bootstrap 2b4277d1243efbc9c22d","webpack:///../node_modules/promise-polyfill/promise.js","webpack:///../node_modules/unfetch/dist/unfetch.es.js","webpack:///../node_modules/isomorphic-unfetch/browser.js","webpack:///../node_modules/webpack/buildin/global.js","webpack:///../node_modules/preact-cli/lib/lib/webpack/polyfills.js"],"names":["modules","__webpack_require__","moduleId","installedModules","exports","module","i","l","call","m","c","d","name","getter","o","Object","defineProperty","configurable","enumerable","get","n","__esModule","object","property","prototype","hasOwnProperty","p","s","BtxX","root","noop","bind","fn","thisArg","apply","arguments","Promise","this","TypeError","_state","_handled","_value","undefined","_deferreds","doResolve","handle","self","deferred","push","_immediateFn","cb","onFulfilled","onRejected","resolve","reject","promise","ret","e","newValue","then","finale","length","_unhandledRejectionFn","len","Handler","done","value","reason","ex","setTimeoutFunc","setTimeout","prom","constructor","all","arr","res","val","args","remaining","Array","slice","race","values","setImmediate","err","console","warn","_setImmediateFn","_setUnhandledRejectionFn","QAmr","__webpack_exports__","index","fetch","url","options","response","header","keys","headers","request","getAllResponseHeaders","replace","key","toLowerCase","ok","status","statusText","responseURL","clone","text","responseText","json","JSON","parse","blob","Blob","entries","has","XMLHttpRequest","open","method","setRequestHeader","withCredentials","credentials","onload","onerror","send","body","VS7n","window","require","default","h6ac","g","Function","eval","m+Gh","global"],"mappings":"CAAS,SAAUA,GCIjB,QAASC,GAAoBC,GAG5B,GAAGC,EAAiBD,GACnB,MAAOC,GAAiBD,GAAUE,OAGnC,IAAIC,GAASF,EAAiBD,IAC7BI,EAAGJ,EACHK,GAAG,EACHH,WAUD,OANAJ,GAAQE,GAAUM,KAAKH,EAAOD,QAASC,EAAQA,EAAOD,QAASH,GAG/DI,EAAOE,GAAI,EAGJF,EAAOD,QAvBf,GAAID,KA4BJF,GAAoBQ,EAAIT,EAGxBC,EAAoBS,EAAIP,EAGxBF,EAAoBU,EAAI,SAASP,EAASQ,EAAMC,GAC3CZ,EAAoBa,EAAEV,EAASQ,IAClCG,OAAOC,eAAeZ,EAASQ,GAC9BK,cAAc,EACdC,YAAY,EACZC,IAAKN,KAMRZ,EAAoBmB,EAAI,SAASf,GAChC,GAAIQ,GAASR,GAAUA,EAAOgB,WAC7B,WAAwB,MAAOhB,GAAgB,SAC/C,WAA8B,MAAOA,GAEtC,OADAJ,GAAoBU,EAAEE,EAAQ,IAAKA,GAC5BA,GAIRZ,EAAoBa,EAAI,SAASQ,EAAQC,GAAY,MAAOR,QAAOS,UAAUC,eAAejB,KAAKc,EAAQC,IAGzGtB,EAAoByB,EAAI,IAGjBzB,EAAoBA,EAAoB0B,EAAI,UDM/CC,KACA,SAAUv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ASH,GIjYjCI,EAAOD,QAAU6H,OAAOrC,QAAUqC,OAAOrC,MAAQsC,EAAQ,QAAWC,SAAWD,EAAQ,UJuYjFE,KACA,SAAU/H,GKxYhB,GAAIgI,EAGJA,GAAK,WACJ,MAAOhG,QAGR,KAECgG,EAAIA,GAAKC,SAAS,mBAAoB,EAAGC,MAAM,QAC9C,MAAM9E,GAEc,gBAAXwE,UACTI,EAAIJ,QAON5H,EAAOD,QAAUiI,GL6YXG,OACA,SAAUnI,EAAQD,EAASH,GAEjC,cMpaA,YAEKwI,EAAOrG,UAASqG,EAAOrG,QAAU8F,EAAQ,SACzCO,EAAO7C,QAAO6C,EAAO7C,MAAQsC,EAAQ,WNsab1H,KAAKJ,EAASH,EAAoB","file":"polyfills.04c22.js","sourcesContent":["/******/ (function(modules) { // webpackBootstrap\n/******/ \t// The module cache\n/******/ \tvar installedModules = {};\n/******/\n/******/ \t// The require function\n/******/ \tfunction __webpack_require__(moduleId) {\n/******/\n/******/ \t\t// Check if module is in cache\n/******/ \t\tif(installedModules[moduleId]) {\n/******/ \t\t\treturn installedModules[moduleId].exports;\n/******/ \t\t}\n/******/ \t\t// Create a new module (and put it into the cache)\n/******/ \t\tvar module = installedModules[moduleId] = {\n/******/ \t\t\ti: moduleId,\n/******/ \t\t\tl: false,\n/******/ \t\t\texports: {}\n/******/ \t\t};\n/******/\n/******/ \t\t// Execute the module function\n/******/ \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n/******/\n/******/ \t\t// Flag the module as loaded\n/******/ \t\tmodule.l = true;\n/******/\n/******/ \t\t// Return the exports of the module\n/******/ \t\treturn module.exports;\n/******/ \t}\n/******/\n/******/\n/******/ \t// expose the modules object (__webpack_modules__)\n/******/ \t__webpack_require__.m = modules;\n/******/\n/******/ \t// expose the module cache\n/******/ \t__webpack_require__.c = installedModules;\n/******/\n/******/ \t// define getter function for harmony exports\n/******/ \t__webpack_require__.d = function(exports, name, getter) {\n/******/ \t\tif(!__webpack_require__.o(exports, name)) {\n/******/ \t\t\tObject.defineProperty(exports, name, {\n/******/ \t\t\t\tconfigurable: false,\n/******/ \t\t\t\tenumerable: true,\n/******/ \t\t\t\tget: getter\n/******/ \t\t\t});\n/******/ \t\t}\n/******/ \t};\n/******/\n/******/ \t// getDefaultExport function for compatibility with non-harmony modules\n/******/ \t__webpack_require__.n = function(module) {\n/******/ \t\tvar getter = module && module.__esModule ?\n/******/ \t\t\tfunction getDefault() { return module['default']; } :\n/******/ \t\t\tfunction getModuleExports() { return module; };\n/******/ \t\t__webpack_require__.d(getter, 'a', getter);\n/******/ \t\treturn getter;\n/******/ \t};\n/******/\n/******/ \t// Object.prototype.hasOwnProperty.call\n/******/ \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n/******/\n/******/ \t// __webpack_public_path__\n/******/ \t__webpack_require__.p = \"/\";\n/******/\n/******/ \t// Load entry module and return exports\n/******/ \treturn __webpack_require__(__webpack_require__.s = \"m+Gh\");\n/******/ })\n/************************************************************************/\n/******/ ({\n\n/***/ \"BtxX\":\n/***/ (function(module, exports) {\n\n(function (root) {\n\n // Store setTimeout reference so promise-polyfill will be unaffected by\n // other code modifying setTimeout (like sinon.useFakeTimers())\n var setTimeoutFunc = setTimeout;\n\n function noop() {}\n\n // Polyfill for Function.prototype.bind\n function bind(fn, thisArg) {\n return function () {\n fn.apply(thisArg, arguments);\n };\n }\n\n function Promise(fn) {\n if (!(this instanceof Promise)) throw new TypeError('Promises must be constructed via new');\n if (typeof fn !== 'function') throw new TypeError('not a function');\n this._state = 0;\n this._handled = false;\n this._value = undefined;\n this._deferreds = [];\n\n doResolve(fn, this);\n }\n\n function handle(self, deferred) {\n while (self._state === 3) {\n self = self._value;\n }\n if (self._state === 0) {\n self._deferreds.push(deferred);\n return;\n }\n self._handled = true;\n Promise._immediateFn(function () {\n var cb = self._state === 1 ? deferred.onFulfilled : deferred.onRejected;\n if (cb === null) {\n (self._state === 1 ? resolve : reject)(deferred.promise, self._value);\n return;\n }\n var ret;\n try {\n ret = cb(self._value);\n } catch (e) {\n reject(deferred.promise, e);\n return;\n }\n resolve(deferred.promise, ret);\n });\n }\n\n function resolve(self, newValue) {\n try {\n // Promise Resolution Procedure: https://github.com/promises-aplus/promises-spec#the-promise-resolution-procedure\n if (newValue === self) throw new TypeError('A promise cannot be resolved with itself.');\n if (newValue && (typeof newValue === 'object' || typeof newValue === 'function')) {\n var then = newValue.then;\n if (newValue instanceof Promise) {\n self._state = 3;\n self._value = newValue;\n finale(self);\n return;\n } else if (typeof then === 'function') {\n doResolve(bind(then, newValue), self);\n return;\n }\n }\n self._state = 1;\n self._value = newValue;\n finale(self);\n } catch (e) {\n reject(self, e);\n }\n }\n\n function reject(self, newValue) {\n self._state = 2;\n self._value = newValue;\n finale(self);\n }\n\n function finale(self) {\n if (self._state === 2 && self._deferreds.length === 0) {\n Promise._immediateFn(function () {\n if (!self._handled) {\n Promise._unhandledRejectionFn(self._value);\n }\n });\n }\n\n for (var i = 0, len = self._deferreds.length; i < len; i++) {\n handle(self, self._deferreds[i]);\n }\n self._deferreds = null;\n }\n\n function Handler(onFulfilled, onRejected, promise) {\n this.onFulfilled = typeof onFulfilled === 'function' ? onFulfilled : null;\n this.onRejected = typeof onRejected === 'function' ? onRejected : null;\n this.promise = promise;\n }\n\n /**\n * Take a potentially misbehaving resolver function and make sure\n * onFulfilled and onRejected are only called once.\n *\n * Makes no guarantees about asynchrony.\n */\n function doResolve(fn, self) {\n var done = false;\n try {\n fn(function (value) {\n if (done) return;\n done = true;\n resolve(self, value);\n }, function (reason) {\n if (done) return;\n done = true;\n reject(self, reason);\n });\n } catch (ex) {\n if (done) return;\n done = true;\n reject(self, ex);\n }\n }\n\n Promise.prototype['catch'] = function (onRejected) {\n return this.then(null, onRejected);\n };\n\n Promise.prototype.then = function (onFulfilled, onRejected) {\n var prom = new this.constructor(noop);\n\n handle(this, new Handler(onFulfilled, onRejected, prom));\n return prom;\n };\n\n Promise.all = function (arr) {\n return new Promise(function (resolve, reject) {\n if (!arr || typeof arr.length === 'undefined') throw new TypeError('Promise.all accepts an array');\n var args = Array.prototype.slice.call(arr);\n if (args.length === 0) return resolve([]);\n var remaining = args.length;\n\n function res(i, val) {\n try {\n if (val && (typeof val === 'object' || typeof val === 'function')) {\n var then = val.then;\n if (typeof then === 'function') {\n then.call(val, function (val) {\n res(i, val);\n }, reject);\n return;\n }\n }\n args[i] = val;\n if (--remaining === 0) {\n resolve(args);\n }\n } catch (ex) {\n reject(ex);\n }\n }\n\n for (var i = 0; i < args.length; i++) {\n res(i, args[i]);\n }\n });\n };\n\n Promise.resolve = function (value) {\n if (value && typeof value === 'object' && value.constructor === Promise) {\n return value;\n }\n\n return new Promise(function (resolve) {\n resolve(value);\n });\n };\n\n Promise.reject = function (value) {\n return new Promise(function (resolve, reject) {\n reject(value);\n });\n };\n\n Promise.race = function (values) {\n return new Promise(function (resolve, reject) {\n for (var i = 0, len = values.length; i < len; i++) {\n values[i].then(resolve, reject);\n }\n });\n };\n\n // Use polyfill for setImmediate for performance gains\n Promise._immediateFn = typeof setImmediate === 'function' && function (fn) {\n setImmediate(fn);\n } || function (fn) {\n setTimeoutFunc(fn, 0);\n };\n\n Promise._unhandledRejectionFn = function _unhandledRejectionFn(err) {\n if (typeof console !== 'undefined' && console) {\n console.warn('Possible Unhandled Promise Rejection:', err); // eslint-disable-line no-console\n }\n };\n\n /**\n * Set the immediate function to execute callbacks\n * @param fn {function} Function to execute\n * @deprecated\n */\n Promise._setImmediateFn = function _setImmediateFn(fn) {\n Promise._immediateFn = fn;\n };\n\n /**\n * Change the function to execute on unhandled rejection\n * @param {function} fn Function to execute on unhandled rejection\n * @deprecated\n */\n Promise._setUnhandledRejectionFn = function _setUnhandledRejectionFn(fn) {\n Promise._unhandledRejectionFn = fn;\n };\n\n if (typeof module !== 'undefined' && module.exports) {\n module.exports = Promise;\n } else if (!root.Promise) {\n root.Promise = Promise;\n }\n})(this);\n\n/***/ }),\n\n/***/ \"QAmr\":\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\nObject.defineProperty(__webpack_exports__, \"__esModule\", { value: true });\nvar index = typeof fetch == 'function' ? fetch.bind() : function (url, options) {\n\toptions = options || {};\n\treturn new Promise(function (resolve, reject) {\n\t\tvar request = new XMLHttpRequest();\n\n\t\trequest.open(options.method || 'get', url, true);\n\n\t\tfor (var i in options.headers) {\n\t\t\trequest.setRequestHeader(i, options.headers[i]);\n\t\t}\n\n\t\trequest.withCredentials = options.credentials == 'include';\n\n\t\trequest.onload = function () {\n\t\t\tresolve(response());\n\t\t};\n\n\t\trequest.onerror = reject;\n\n\t\trequest.send(options.body || null);\n\n\t\tfunction response() {\n\t\t\tvar _keys = [],\n\t\t\t all = [],\n\t\t\t headers = {},\n\t\t\t header;\n\n\t\t\trequest.getAllResponseHeaders().replace(/^(.*?):[^\\S\\n]*([\\s\\S]*?)$/gm, function (m, key, value) {\n\t\t\t\t_keys.push(key = key.toLowerCase());\n\t\t\t\tall.push([key, value]);\n\t\t\t\theader = headers[key];\n\t\t\t\theaders[key] = header ? header + \",\" + value : value;\n\t\t\t});\n\n\t\t\treturn {\n\t\t\t\tok: (request.status / 100 | 0) == 2, // 200-299\n\t\t\t\tstatus: request.status,\n\t\t\t\tstatusText: request.statusText,\n\t\t\t\turl: request.responseURL,\n\t\t\t\tclone: response,\n\t\t\t\ttext: function text() {\n\t\t\t\t\treturn Promise.resolve(request.responseText);\n\t\t\t\t},\n\t\t\t\tjson: function json() {\n\t\t\t\t\treturn Promise.resolve(request.responseText).then(JSON.parse);\n\t\t\t\t},\n\t\t\t\tblob: function blob() {\n\t\t\t\t\treturn Promise.resolve(new Blob([request.response]));\n\t\t\t\t},\n\t\t\t\theaders: {\n\t\t\t\t\tkeys: function keys() {\n\t\t\t\t\t\treturn _keys;\n\t\t\t\t\t},\n\t\t\t\t\tentries: function entries() {\n\t\t\t\t\t\treturn all;\n\t\t\t\t\t},\n\t\t\t\t\tget: function get(n) {\n\t\t\t\t\t\treturn headers[n.toLowerCase()];\n\t\t\t\t\t},\n\t\t\t\t\thas: function has(n) {\n\t\t\t\t\t\treturn n.toLowerCase() in headers;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t};\n\t\t}\n\t});\n};\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (index);\n//# sourceMappingURL=unfetch.es.js.map\n\n/***/ }),\n\n/***/ \"VS7n\":\n/***/ (function(module, exports, __webpack_require__) {\n\nmodule.exports = window.fetch || (window.fetch = __webpack_require__(\"QAmr\").default || __webpack_require__(\"QAmr\"));\n\n/***/ }),\n\n/***/ \"h6ac\":\n/***/ (function(module, exports) {\n\nvar g;\n\n// This works in non-strict mode\ng = function () {\n\treturn this;\n}();\n\ntry {\n\t// This works if eval is allowed (see CSP)\n\tg = g || Function(\"return this\")() || (1, eval)(\"this\");\n} catch (e) {\n\t// This works if the window reference is available\n\tif (typeof window === \"object\") g = window;\n}\n\n// g can still be undefined, but nothing to do about it...\n// We return undefined, instead of nothing here, so it's\n// easier to handle this case. if(!global) { ...}\n\nmodule.exports = g;\n\n/***/ }),\n\n/***/ \"m+Gh\":\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* WEBPACK VAR INJECTION */(function(global) {\n\nif (!global.Promise) global.Promise = __webpack_require__(\"BtxX\");\nif (!global.fetch) global.fetch = __webpack_require__(\"VS7n\");\n/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(\"h6ac\")))\n\n/***/ })\n\n/******/ });\n\n\n// WEBPACK FOOTER //\n// polyfills.04c22.js"," \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, {\n \t\t\t\tconfigurable: false,\n \t\t\t\tenumerable: true,\n \t\t\t\tget: getter\n \t\t\t});\n \t\t}\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"/\";\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = \"m+Gh\");\n\n\n\n// WEBPACK FOOTER //\n// webpack/bootstrap 2b4277d1243efbc9c22d","(function (root) {\n\n // Store setTimeout reference so promise-polyfill will be unaffected by\n // other code modifying setTimeout (like sinon.useFakeTimers())\n var setTimeoutFunc = setTimeout;\n\n function noop() {}\n \n // Polyfill for Function.prototype.bind\n function bind(fn, thisArg) {\n return function () {\n fn.apply(thisArg, arguments);\n };\n }\n\n function Promise(fn) {\n if (!(this instanceof Promise)) throw new TypeError('Promises must be constructed via new');\n if (typeof fn !== 'function') throw new TypeError('not a function');\n this._state = 0;\n this._handled = false;\n this._value = undefined;\n this._deferreds = [];\n\n doResolve(fn, this);\n }\n\n function handle(self, deferred) {\n while (self._state === 3) {\n self = self._value;\n }\n if (self._state === 0) {\n self._deferreds.push(deferred);\n return;\n }\n self._handled = true;\n Promise._immediateFn(function () {\n var cb = self._state === 1 ? deferred.onFulfilled : deferred.onRejected;\n if (cb === null) {\n (self._state === 1 ? resolve : reject)(deferred.promise, self._value);\n return;\n }\n var ret;\n try {\n ret = cb(self._value);\n } catch (e) {\n reject(deferred.promise, e);\n return;\n }\n resolve(deferred.promise, ret);\n });\n }\n\n function resolve(self, newValue) {\n try {\n // Promise Resolution Procedure: https://github.com/promises-aplus/promises-spec#the-promise-resolution-procedure\n if (newValue === self) throw new TypeError('A promise cannot be resolved with itself.');\n if (newValue && (typeof newValue === 'object' || typeof newValue === 'function')) {\n var then = newValue.then;\n if (newValue instanceof Promise) {\n self._state = 3;\n self._value = newValue;\n finale(self);\n return;\n } else if (typeof then === 'function') {\n doResolve(bind(then, newValue), self);\n return;\n }\n }\n self._state = 1;\n self._value = newValue;\n finale(self);\n } catch (e) {\n reject(self, e);\n }\n }\n\n function reject(self, newValue) {\n self._state = 2;\n self._value = newValue;\n finale(self);\n }\n\n function finale(self) {\n if (self._state === 2 && self._deferreds.length === 0) {\n Promise._immediateFn(function() {\n if (!self._handled) {\n Promise._unhandledRejectionFn(self._value);\n }\n });\n }\n\n for (var i = 0, len = self._deferreds.length; i < len; i++) {\n handle(self, self._deferreds[i]);\n }\n self._deferreds = null;\n }\n\n function Handler(onFulfilled, onRejected, promise) {\n this.onFulfilled = typeof onFulfilled === 'function' ? onFulfilled : null;\n this.onRejected = typeof onRejected === 'function' ? onRejected : null;\n this.promise = promise;\n }\n\n /**\n * Take a potentially misbehaving resolver function and make sure\n * onFulfilled and onRejected are only called once.\n *\n * Makes no guarantees about asynchrony.\n */\n function doResolve(fn, self) {\n var done = false;\n try {\n fn(function (value) {\n if (done) return;\n done = true;\n resolve(self, value);\n }, function (reason) {\n if (done) return;\n done = true;\n reject(self, reason);\n });\n } catch (ex) {\n if (done) return;\n done = true;\n reject(self, ex);\n }\n }\n\n Promise.prototype['catch'] = function (onRejected) {\n return this.then(null, onRejected);\n };\n\n Promise.prototype.then = function (onFulfilled, onRejected) {\n var prom = new (this.constructor)(noop);\n\n handle(this, new Handler(onFulfilled, onRejected, prom));\n return prom;\n };\n\n Promise.all = function (arr) {\n return new Promise(function (resolve, reject) {\n if (!arr || typeof arr.length === 'undefined') throw new TypeError('Promise.all accepts an array');\n var args = Array.prototype.slice.call(arr);\n if (args.length === 0) return resolve([]);\n var remaining = args.length;\n\n function res(i, val) {\n try {\n if (val && (typeof val === 'object' || typeof val === 'function')) {\n var then = val.then;\n if (typeof then === 'function') {\n then.call(val, function (val) {\n res(i, val);\n }, reject);\n return;\n }\n }\n args[i] = val;\n if (--remaining === 0) {\n resolve(args);\n }\n } catch (ex) {\n reject(ex);\n }\n }\n\n for (var i = 0; i < args.length; i++) {\n res(i, args[i]);\n }\n });\n };\n\n Promise.resolve = function (value) {\n if (value && typeof value === 'object' && value.constructor === Promise) {\n return value;\n }\n\n return new Promise(function (resolve) {\n resolve(value);\n });\n };\n\n Promise.reject = function (value) {\n return new Promise(function (resolve, reject) {\n reject(value);\n });\n };\n\n Promise.race = function (values) {\n return new Promise(function (resolve, reject) {\n for (var i = 0, len = values.length; i < len; i++) {\n values[i].then(resolve, reject);\n }\n });\n };\n\n // Use polyfill for setImmediate for performance gains\n Promise._immediateFn = (typeof setImmediate === 'function' && function (fn) { setImmediate(fn); }) ||\n function (fn) {\n setTimeoutFunc(fn, 0);\n };\n\n Promise._unhandledRejectionFn = function _unhandledRejectionFn(err) {\n if (typeof console !== 'undefined' && console) {\n console.warn('Possible Unhandled Promise Rejection:', err); // eslint-disable-line no-console\n }\n };\n\n /**\n * Set the immediate function to execute callbacks\n * @param fn {function} Function to execute\n * @deprecated\n */\n Promise._setImmediateFn = function _setImmediateFn(fn) {\n Promise._immediateFn = fn;\n };\n\n /**\n * Change the function to execute on unhandled rejection\n * @param {function} fn Function to execute on unhandled rejection\n * @deprecated\n */\n Promise._setUnhandledRejectionFn = function _setUnhandledRejectionFn(fn) {\n Promise._unhandledRejectionFn = fn;\n };\n \n if (typeof module !== 'undefined' && module.exports) {\n module.exports = Promise;\n } else if (!root.Promise) {\n root.Promise = Promise;\n }\n\n})(this);\n\n\n\n// WEBPACK FOOTER //\n// ../node_modules/promise-polyfill/promise.js","var index = typeof fetch=='function' ? fetch.bind() : function(url, options) {\n\toptions = options || {};\n\treturn new Promise( function (resolve, reject) {\n\t\tvar request = new XMLHttpRequest();\n\n\t\trequest.open(options.method || 'get', url, true);\n\n\t\tfor (var i in options.headers) {\n\t\t\trequest.setRequestHeader(i, options.headers[i]);\n\t\t}\n\n\t\trequest.withCredentials = options.credentials=='include';\n\n\t\trequest.onload = function () {\n\t\t\tresolve(response());\n\t\t};\n\n\t\trequest.onerror = reject;\n\n\t\trequest.send(options.body || null);\n\n\t\tfunction response() {\n\t\t\tvar keys = [],\n\t\t\t\tall = [],\n\t\t\t\theaders = {},\n\t\t\t\theader;\n\n\t\t\trequest.getAllResponseHeaders().replace(/^(.*?):[^\\S\\n]*([\\s\\S]*?)$/gm, function (m, key, value) {\n\t\t\t\tkeys.push(key = key.toLowerCase());\n\t\t\t\tall.push([key, value]);\n\t\t\t\theader = headers[key];\n\t\t\t\theaders[key] = header ? (header + \",\" + value) : value;\n\t\t\t});\n\n\t\t\treturn {\n\t\t\t\tok: (request.status/100|0) == 2,\t\t// 200-299\n\t\t\t\tstatus: request.status,\n\t\t\t\tstatusText: request.statusText,\n\t\t\t\turl: request.responseURL,\n\t\t\t\tclone: response,\n\t\t\t\ttext: function () { return Promise.resolve(request.responseText); },\n\t\t\t\tjson: function () { return Promise.resolve(request.responseText).then(JSON.parse); },\n\t\t\t\tblob: function () { return Promise.resolve(new Blob([request.response])); },\n\t\t\t\theaders: {\n\t\t\t\t\tkeys: function () { return keys; },\n\t\t\t\t\tentries: function () { return all; },\n\t\t\t\t\tget: function (n) { return headers[n.toLowerCase()]; },\n\t\t\t\t\thas: function (n) { return n.toLowerCase() in headers; }\n\t\t\t\t}\n\t\t\t};\n\t\t}\n\t});\n};\n\nexport default index;\n//# sourceMappingURL=unfetch.es.js.map\n\n\n\n// WEBPACK FOOTER //\n// ../node_modules/unfetch/dist/unfetch.es.js","module.exports = window.fetch || (window.fetch = require('unfetch').default || require('unfetch'));\n\n\n\n// WEBPACK FOOTER //\n// ../node_modules/isomorphic-unfetch/browser.js","var g;\r\n\r\n// This works in non-strict mode\r\ng = (function() {\r\n\treturn this;\r\n})();\r\n\r\ntry {\r\n\t// This works if eval is allowed (see CSP)\r\n\tg = g || Function(\"return this\")() || (1,eval)(\"this\");\r\n} catch(e) {\r\n\t// This works if the window reference is available\r\n\tif(typeof window === \"object\")\r\n\t\tg = window;\r\n}\r\n\r\n// g can still be undefined, but nothing to do about it...\r\n// We return undefined, instead of nothing here, so it's\r\n// easier to handle this case. if(!global) { ...}\r\n\r\nmodule.exports = g;\r\n\n\n\n// WEBPACK FOOTER //\n// ../node_modules/webpack/buildin/global.js","'use strict';\n\nif (!global.Promise) global.Promise = require('promise-polyfill');\nif (!global.fetch) global.fetch = require('isomorphic-unfetch');\n\n\n// WEBPACK FOOTER //\n// ../node_modules/preact-cli/lib/lib/webpack/polyfills.js"],"sourceRoot":""}
\ No newline at end of file
+{"version":3,"sources":["webpack:///polyfills.04c22.js","webpack:///webpack/bootstrap 83144072610ce23e91b5","webpack:///../node_modules/promise-polyfill/promise.js","webpack:///../node_modules/unfetch/dist/unfetch.es.js","webpack:///../node_modules/isomorphic-unfetch/browser.js","webpack:///../node_modules/webpack/buildin/global.js","webpack:///../node_modules/preact-cli/lib/lib/webpack/polyfills.js"],"names":["modules","__webpack_require__","moduleId","installedModules","exports","module","i","l","call","m","c","d","name","getter","o","Object","defineProperty","configurable","enumerable","get","n","__esModule","object","property","prototype","hasOwnProperty","p","s","BtxX","root","noop","bind","fn","thisArg","apply","arguments","Promise","this","TypeError","_state","_handled","_value","undefined","_deferreds","doResolve","handle","self","deferred","push","_immediateFn","cb","onFulfilled","onRejected","resolve","reject","promise","ret","e","newValue","then","finale","length","_unhandledRejectionFn","len","Handler","done","value","reason","ex","setTimeoutFunc","setTimeout","prom","constructor","all","arr","res","val","args","remaining","Array","slice","race","values","setImmediate","err","console","warn","_setImmediateFn","_setUnhandledRejectionFn","QAmr","__webpack_exports__","index","fetch","url","options","response","header","keys","headers","request","getAllResponseHeaders","replace","key","toLowerCase","ok","status","statusText","responseURL","clone","text","responseText","json","JSON","parse","blob","Blob","entries","has","XMLHttpRequest","open","method","setRequestHeader","withCredentials","credentials","onload","onerror","send","body","VS7n","window","require","default","h6ac","g","Function","eval","m+Gh","global"],"mappings":"CAAS,SAAUA,GCIjB,QAASC,GAAoBC,GAG5B,GAAGC,EAAiBD,GACnB,MAAOC,GAAiBD,GAAUE,OAGnC,IAAIC,GAASF,EAAiBD,IAC7BI,EAAGJ,EACHK,GAAG,EACHH,WAUD,OANAJ,GAAQE,GAAUM,KAAKH,EAAOD,QAASC,EAAQA,EAAOD,QAASH,GAG/DI,EAAOE,GAAI,EAGJF,EAAOD,QAvBf,GAAID,KA4BJF,GAAoBQ,EAAIT,EAGxBC,EAAoBS,EAAIP,EAGxBF,EAAoBU,EAAI,SAASP,EAASQ,EAAMC,GAC3CZ,EAAoBa,EAAEV,EAASQ,IAClCG,OAAOC,eAAeZ,EAASQ,GAC9BK,cAAc,EACdC,YAAY,EACZC,IAAKN,KAMRZ,EAAoBmB,EAAI,SAASf,GAChC,GAAIQ,GAASR,GAAUA,EAAOgB,WAC7B,WAAwB,MAAOhB,GAAgB,SAC/C,WAA8B,MAAOA,GAEtC,OADAJ,GAAoBU,EAAEE,EAAQ,IAAKA,GAC5BA,GAIRZ,EAAoBa,EAAI,SAASQ,EAAQC,GAAY,MAAOR,QAAOS,UAAUC,eAAejB,KAAKc,EAAQC,IAGzGtB,EAAoByB,EAAI,IAGjBzB,EAAoBA,EAAoB0B,EAAI,UDM/CC,KACA,SAAUvB,IEpEhB,SAAWwB,GAMT,QAASC,MAGT,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QAAUqC,OAAOrC,MAAQsC,EAAQ,QAAWC,SAAWD,EAAQ,UJuYjFE,KACA,SAAU/H,GKxYhB,GAAIgI,EAGJA,GAAK,WACJ,MAAOhG,QAGR,KAECgG,EAAIA,GAAKC,SAAS,mBAAoB,EAAGC,MAAM,QAC9C,MAAM9E,GAEc,gBAAXwE,UACTI,EAAIJ,QAON5H,EAAOD,QAAUiI,GL6YXG,OACA,SAAUnI,EAAQD,EAASH,GAEjC,cMpaA,YAEKwI,EAAOrG,UAASqG,EAAOrG,QAAU8F,EAAQ,SACzCO,EAAO7C,QAAO6C,EAAO7C,MAAQsC,EAAQ,WNsab1H,KAAKJ,EAASH,EAAoB","file":"polyfills.04c22.js","sourcesContent":["/******/ (function(modules) { // webpackBootstrap\n/******/ \t// The module cache\n/******/ \tvar installedModules = {};\n/******/\n/******/ \t// The require function\n/******/ \tfunction __webpack_require__(moduleId) {\n/******/\n/******/ \t\t// Check if module is in cache\n/******/ \t\tif(installedModules[moduleId]) {\n/******/ \t\t\treturn installedModules[moduleId].exports;\n/******/ \t\t}\n/******/ \t\t// Create a new module (and put it into the cache)\n/******/ \t\tvar module = installedModules[moduleId] = {\n/******/ \t\t\ti: moduleId,\n/******/ \t\t\tl: false,\n/******/ \t\t\texports: {}\n/******/ \t\t};\n/******/\n/******/ \t\t// Execute the module function\n/******/ \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n/******/\n/******/ \t\t// Flag the module as loaded\n/******/ \t\tmodule.l = true;\n/******/\n/******/ \t\t// Return the exports of the module\n/******/ \t\treturn module.exports;\n/******/ \t}\n/******/\n/******/\n/******/ \t// expose the modules object (__webpack_modules__)\n/******/ \t__webpack_require__.m = modules;\n/******/\n/******/ \t// expose the module cache\n/******/ \t__webpack_require__.c = installedModules;\n/******/\n/******/ \t// define getter function for harmony exports\n/******/ \t__webpack_require__.d = function(exports, name, getter) {\n/******/ \t\tif(!__webpack_require__.o(exports, name)) {\n/******/ \t\t\tObject.defineProperty(exports, name, {\n/******/ \t\t\t\tconfigurable: false,\n/******/ \t\t\t\tenumerable: true,\n/******/ \t\t\t\tget: getter\n/******/ \t\t\t});\n/******/ \t\t}\n/******/ \t};\n/******/\n/******/ \t// getDefaultExport function for compatibility with non-harmony modules\n/******/ \t__webpack_require__.n = function(module) {\n/******/ \t\tvar getter = module && module.__esModule ?\n/******/ \t\t\tfunction getDefault() { return module['default']; } :\n/******/ \t\t\tfunction getModuleExports() { return module; };\n/******/ \t\t__webpack_require__.d(getter, 'a', getter);\n/******/ \t\treturn getter;\n/******/ \t};\n/******/\n/******/ \t// Object.prototype.hasOwnProperty.call\n/******/ \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n/******/\n/******/ \t// __webpack_public_path__\n/******/ \t__webpack_require__.p = \"/\";\n/******/\n/******/ \t// Load entry module and return exports\n/******/ \treturn __webpack_require__(__webpack_require__.s = \"m+Gh\");\n/******/ })\n/************************************************************************/\n/******/ ({\n\n/***/ \"BtxX\":\n/***/ (function(module, exports) {\n\n(function (root) {\n\n // Store setTimeout reference so promise-polyfill will be unaffected by\n // other code modifying setTimeout (like sinon.useFakeTimers())\n var setTimeoutFunc = setTimeout;\n\n function noop() {}\n\n // Polyfill for Function.prototype.bind\n function bind(fn, thisArg) {\n return function () {\n fn.apply(thisArg, arguments);\n };\n }\n\n function Promise(fn) {\n if (!(this instanceof Promise)) throw new TypeError('Promises must be constructed via new');\n if (typeof fn !== 'function') throw new TypeError('not a function');\n this._state = 0;\n this._handled = false;\n this._value = undefined;\n this._deferreds = [];\n\n doResolve(fn, this);\n }\n\n function handle(self, deferred) {\n while (self._state === 3) {\n self = self._value;\n }\n if (self._state === 0) {\n self._deferreds.push(deferred);\n return;\n }\n self._handled = true;\n Promise._immediateFn(function () {\n var cb = self._state === 1 ? deferred.onFulfilled : deferred.onRejected;\n if (cb === null) {\n (self._state === 1 ? resolve : reject)(deferred.promise, self._value);\n return;\n }\n var ret;\n try {\n ret = cb(self._value);\n } catch (e) {\n reject(deferred.promise, e);\n return;\n }\n resolve(deferred.promise, ret);\n });\n }\n\n function resolve(self, newValue) {\n try {\n // Promise Resolution Procedure: https://github.com/promises-aplus/promises-spec#the-promise-resolution-procedure\n if (newValue === self) throw new TypeError('A promise cannot be resolved with itself.');\n if (newValue && (typeof newValue === 'object' || typeof newValue === 'function')) {\n var then = newValue.then;\n if (newValue instanceof Promise) {\n self._state = 3;\n self._value = newValue;\n finale(self);\n return;\n } else if (typeof then === 'function') {\n doResolve(bind(then, newValue), self);\n return;\n }\n }\n self._state = 1;\n self._value = newValue;\n finale(self);\n } catch (e) {\n reject(self, e);\n }\n }\n\n function reject(self, newValue) {\n self._state = 2;\n self._value = newValue;\n finale(self);\n }\n\n function finale(self) {\n if (self._state === 2 && self._deferreds.length === 0) {\n Promise._immediateFn(function () {\n if (!self._handled) {\n Promise._unhandledRejectionFn(self._value);\n }\n });\n }\n\n for (var i = 0, len = self._deferreds.length; i < len; i++) {\n handle(self, self._deferreds[i]);\n }\n self._deferreds = null;\n }\n\n function Handler(onFulfilled, onRejected, promise) {\n this.onFulfilled = typeof onFulfilled === 'function' ? onFulfilled : null;\n this.onRejected = typeof onRejected === 'function' ? onRejected : null;\n this.promise = promise;\n }\n\n /**\n * Take a potentially misbehaving resolver function and make sure\n * onFulfilled and onRejected are only called once.\n *\n * Makes no guarantees about asynchrony.\n */\n function doResolve(fn, self) {\n var done = false;\n try {\n fn(function (value) {\n if (done) return;\n done = true;\n resolve(self, value);\n }, function (reason) {\n if (done) return;\n done = true;\n reject(self, reason);\n });\n } catch (ex) {\n if (done) return;\n done = true;\n reject(self, ex);\n }\n }\n\n Promise.prototype['catch'] = function (onRejected) {\n return this.then(null, onRejected);\n };\n\n Promise.prototype.then = function (onFulfilled, onRejected) {\n var prom = new this.constructor(noop);\n\n handle(this, new Handler(onFulfilled, onRejected, prom));\n return prom;\n };\n\n Promise.all = function (arr) {\n return new Promise(function (resolve, reject) {\n if (!arr || typeof arr.length === 'undefined') throw new TypeError('Promise.all accepts an array');\n var args = Array.prototype.slice.call(arr);\n if (args.length === 0) return resolve([]);\n var remaining = args.length;\n\n function res(i, val) {\n try {\n if (val && (typeof val === 'object' || typeof val === 'function')) {\n var then = val.then;\n if (typeof then === 'function') {\n then.call(val, function (val) {\n res(i, val);\n }, reject);\n return;\n }\n }\n args[i] = val;\n if (--remaining === 0) {\n resolve(args);\n }\n } catch (ex) {\n reject(ex);\n }\n }\n\n for (var i = 0; i < args.length; i++) {\n res(i, args[i]);\n }\n });\n };\n\n Promise.resolve = function (value) {\n if (value && typeof value === 'object' && value.constructor === Promise) {\n return value;\n }\n\n return new Promise(function (resolve) {\n resolve(value);\n });\n };\n\n Promise.reject = function (value) {\n return new Promise(function (resolve, reject) {\n reject(value);\n });\n };\n\n Promise.race = function (values) {\n return new Promise(function (resolve, reject) {\n for (var i = 0, len = values.length; i < len; i++) {\n values[i].then(resolve, reject);\n }\n });\n };\n\n // Use polyfill for setImmediate for performance gains\n Promise._immediateFn = typeof setImmediate === 'function' && function (fn) {\n setImmediate(fn);\n } || function (fn) {\n setTimeoutFunc(fn, 0);\n };\n\n Promise._unhandledRejectionFn = function _unhandledRejectionFn(err) {\n if (typeof console !== 'undefined' && console) {\n console.warn('Possible Unhandled Promise Rejection:', err); // eslint-disable-line no-console\n }\n };\n\n /**\n * Set the immediate function to execute callbacks\n * @param fn {function} Function to execute\n * @deprecated\n */\n Promise._setImmediateFn = function _setImmediateFn(fn) {\n Promise._immediateFn = fn;\n };\n\n /**\n * Change the function to execute on unhandled rejection\n * @param {function} fn Function to execute on unhandled rejection\n * @deprecated\n */\n Promise._setUnhandledRejectionFn = function _setUnhandledRejectionFn(fn) {\n Promise._unhandledRejectionFn = fn;\n };\n\n if (typeof module !== 'undefined' && module.exports) {\n module.exports = Promise;\n } else if (!root.Promise) {\n root.Promise = Promise;\n }\n})(this);\n\n/***/ }),\n\n/***/ \"QAmr\":\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\nObject.defineProperty(__webpack_exports__, \"__esModule\", { value: true });\nvar index = typeof fetch == 'function' ? fetch.bind() : function (url, options) {\n\toptions = options || {};\n\treturn new Promise(function (resolve, reject) {\n\t\tvar request = new XMLHttpRequest();\n\n\t\trequest.open(options.method || 'get', url, true);\n\n\t\tfor (var i in options.headers) {\n\t\t\trequest.setRequestHeader(i, options.headers[i]);\n\t\t}\n\n\t\trequest.withCredentials = options.credentials == 'include';\n\n\t\trequest.onload = function () {\n\t\t\tresolve(response());\n\t\t};\n\n\t\trequest.onerror = reject;\n\n\t\trequest.send(options.body || null);\n\n\t\tfunction response() {\n\t\t\tvar _keys = [],\n\t\t\t all = [],\n\t\t\t headers = {},\n\t\t\t header;\n\n\t\t\trequest.getAllResponseHeaders().replace(/^(.*?):[^\\S\\n]*([\\s\\S]*?)$/gm, function (m, key, value) {\n\t\t\t\t_keys.push(key = key.toLowerCase());\n\t\t\t\tall.push([key, value]);\n\t\t\t\theader = headers[key];\n\t\t\t\theaders[key] = header ? header + \",\" + value : value;\n\t\t\t});\n\n\t\t\treturn {\n\t\t\t\tok: (request.status / 100 | 0) == 2, // 200-299\n\t\t\t\tstatus: request.status,\n\t\t\t\tstatusText: request.statusText,\n\t\t\t\turl: request.responseURL,\n\t\t\t\tclone: response,\n\t\t\t\ttext: function text() {\n\t\t\t\t\treturn Promise.resolve(request.responseText);\n\t\t\t\t},\n\t\t\t\tjson: function json() {\n\t\t\t\t\treturn Promise.resolve(request.responseText).then(JSON.parse);\n\t\t\t\t},\n\t\t\t\tblob: function blob() {\n\t\t\t\t\treturn Promise.resolve(new Blob([request.response]));\n\t\t\t\t},\n\t\t\t\theaders: {\n\t\t\t\t\tkeys: function keys() {\n\t\t\t\t\t\treturn _keys;\n\t\t\t\t\t},\n\t\t\t\t\tentries: function entries() {\n\t\t\t\t\t\treturn all;\n\t\t\t\t\t},\n\t\t\t\t\tget: function get(n) {\n\t\t\t\t\t\treturn headers[n.toLowerCase()];\n\t\t\t\t\t},\n\t\t\t\t\thas: function has(n) {\n\t\t\t\t\t\treturn n.toLowerCase() in headers;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t};\n\t\t}\n\t});\n};\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (index);\n//# sourceMappingURL=unfetch.es.js.map\n\n/***/ }),\n\n/***/ \"VS7n\":\n/***/ (function(module, exports, __webpack_require__) {\n\nmodule.exports = window.fetch || (window.fetch = __webpack_require__(\"QAmr\").default || __webpack_require__(\"QAmr\"));\n\n/***/ }),\n\n/***/ \"h6ac\":\n/***/ (function(module, exports) {\n\nvar g;\n\n// This works in non-strict mode\ng = function () {\n\treturn this;\n}();\n\ntry {\n\t// This works if eval is allowed (see CSP)\n\tg = g || Function(\"return this\")() || (1, eval)(\"this\");\n} catch (e) {\n\t// This works if the window reference is available\n\tif (typeof window === \"object\") g = window;\n}\n\n// g can still be undefined, but nothing to do about it...\n// We return undefined, instead of nothing here, so it's\n// easier to handle this case. if(!global) { ...}\n\nmodule.exports = g;\n\n/***/ }),\n\n/***/ \"m+Gh\":\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n/* WEBPACK VAR INJECTION */(function(global) {\n\nif (!global.Promise) global.Promise = __webpack_require__(\"BtxX\");\nif (!global.fetch) global.fetch = __webpack_require__(\"VS7n\");\n/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(\"h6ac\")))\n\n/***/ })\n\n/******/ });\n\n\n// WEBPACK FOOTER //\n// polyfills.04c22.js"," \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, {\n \t\t\t\tconfigurable: false,\n \t\t\t\tenumerable: true,\n \t\t\t\tget: getter\n \t\t\t});\n \t\t}\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"/\";\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = \"m+Gh\");\n\n\n\n// WEBPACK FOOTER //\n// webpack/bootstrap 83144072610ce23e91b5","(function (root) {\n\n // Store setTimeout reference so promise-polyfill will be unaffected by\n // other code modifying setTimeout (like sinon.useFakeTimers())\n var setTimeoutFunc = setTimeout;\n\n function noop() {}\n \n // Polyfill for Function.prototype.bind\n function bind(fn, thisArg) {\n return function () {\n fn.apply(thisArg, arguments);\n };\n }\n\n function Promise(fn) {\n if (!(this instanceof Promise)) throw new TypeError('Promises must be constructed via new');\n if (typeof fn !== 'function') throw new TypeError('not a function');\n this._state = 0;\n this._handled = false;\n this._value = undefined;\n this._deferreds = [];\n\n doResolve(fn, this);\n }\n\n function handle(self, deferred) {\n while (self._state === 3) {\n self = self._value;\n }\n if (self._state === 0) {\n self._deferreds.push(deferred);\n return;\n }\n self._handled = true;\n Promise._immediateFn(function () {\n var cb = self._state === 1 ? deferred.onFulfilled : deferred.onRejected;\n if (cb === null) {\n (self._state === 1 ? resolve : reject)(deferred.promise, self._value);\n return;\n }\n var ret;\n try {\n ret = cb(self._value);\n } catch (e) {\n reject(deferred.promise, e);\n return;\n }\n resolve(deferred.promise, ret);\n });\n }\n\n function resolve(self, newValue) {\n try {\n // Promise Resolution Procedure: https://github.com/promises-aplus/promises-spec#the-promise-resolution-procedure\n if (newValue === self) throw new TypeError('A promise cannot be resolved with itself.');\n if (newValue && (typeof newValue === 'object' || typeof newValue === 'function')) {\n var then = newValue.then;\n if (newValue instanceof Promise) {\n self._state = 3;\n self._value = newValue;\n finale(self);\n return;\n } else if (typeof then === 'function') {\n doResolve(bind(then, newValue), self);\n return;\n }\n }\n self._state = 1;\n self._value = newValue;\n finale(self);\n } catch (e) {\n reject(self, e);\n }\n }\n\n function reject(self, newValue) {\n self._state = 2;\n self._value = newValue;\n finale(self);\n }\n\n function finale(self) {\n if (self._state === 2 && self._deferreds.length === 0) {\n Promise._immediateFn(function() {\n if (!self._handled) {\n Promise._unhandledRejectionFn(self._value);\n }\n });\n }\n\n for (var i = 0, len = self._deferreds.length; i < len; i++) {\n handle(self, self._deferreds[i]);\n }\n self._deferreds = null;\n }\n\n function Handler(onFulfilled, onRejected, promise) {\n this.onFulfilled = typeof onFulfilled === 'function' ? onFulfilled : null;\n this.onRejected = typeof onRejected === 'function' ? onRejected : null;\n this.promise = promise;\n }\n\n /**\n * Take a potentially misbehaving resolver function and make sure\n * onFulfilled and onRejected are only called once.\n *\n * Makes no guarantees about asynchrony.\n */\n function doResolve(fn, self) {\n var done = false;\n try {\n fn(function (value) {\n if (done) return;\n done = true;\n resolve(self, value);\n }, function (reason) {\n if (done) return;\n done = true;\n reject(self, reason);\n });\n } catch (ex) {\n if (done) return;\n done = true;\n reject(self, ex);\n }\n }\n\n Promise.prototype['catch'] = function (onRejected) {\n return this.then(null, onRejected);\n };\n\n Promise.prototype.then = function (onFulfilled, onRejected) {\n var prom = new (this.constructor)(noop);\n\n handle(this, new Handler(onFulfilled, onRejected, prom));\n return prom;\n };\n\n Promise.all = function (arr) {\n return new Promise(function (resolve, reject) {\n if (!arr || typeof arr.length === 'undefined') throw new TypeError('Promise.all accepts an array');\n var args = Array.prototype.slice.call(arr);\n if (args.length === 0) return resolve([]);\n var remaining = args.length;\n\n function res(i, val) {\n try {\n if (val && (typeof val === 'object' || typeof val === 'function')) {\n var then = val.then;\n if (typeof then === 'function') {\n then.call(val, function (val) {\n res(i, val);\n }, reject);\n return;\n }\n }\n args[i] = val;\n if (--remaining === 0) {\n resolve(args);\n }\n } catch (ex) {\n reject(ex);\n }\n }\n\n for (var i = 0; i < args.length; i++) {\n res(i, args[i]);\n }\n });\n };\n\n Promise.resolve = function (value) {\n if (value && typeof value === 'object' && value.constructor === Promise) {\n return value;\n }\n\n return new Promise(function (resolve) {\n resolve(value);\n });\n };\n\n Promise.reject = function (value) {\n return new Promise(function (resolve, reject) {\n reject(value);\n });\n };\n\n Promise.race = function (values) {\n return new Promise(function (resolve, reject) {\n for (var i = 0, len = values.length; i < len; i++) {\n values[i].then(resolve, reject);\n }\n });\n };\n\n // Use polyfill for setImmediate for performance gains\n Promise._immediateFn = (typeof setImmediate === 'function' && function (fn) { setImmediate(fn); }) ||\n function (fn) {\n setTimeoutFunc(fn, 0);\n };\n\n Promise._unhandledRejectionFn = function _unhandledRejectionFn(err) {\n if (typeof console !== 'undefined' && console) {\n console.warn('Possible Unhandled Promise Rejection:', err); // eslint-disable-line no-console\n }\n };\n\n /**\n * Set the immediate function to execute callbacks\n * @param fn {function} Function to execute\n * @deprecated\n */\n Promise._setImmediateFn = function _setImmediateFn(fn) {\n Promise._immediateFn = fn;\n };\n\n /**\n * Change the function to execute on unhandled rejection\n * @param {function} fn Function to execute on unhandled rejection\n * @deprecated\n */\n Promise._setUnhandledRejectionFn = function _setUnhandledRejectionFn(fn) {\n Promise._unhandledRejectionFn = fn;\n };\n \n if (typeof module !== 'undefined' && module.exports) {\n module.exports = Promise;\n } else if (!root.Promise) {\n root.Promise = Promise;\n }\n\n})(this);\n\n\n\n// WEBPACK FOOTER //\n// ../node_modules/promise-polyfill/promise.js","var index = typeof fetch=='function' ? fetch.bind() : function(url, options) {\n\toptions = options || {};\n\treturn new Promise( function (resolve, reject) {\n\t\tvar request = new XMLHttpRequest();\n\n\t\trequest.open(options.method || 'get', url, true);\n\n\t\tfor (var i in options.headers) {\n\t\t\trequest.setRequestHeader(i, options.headers[i]);\n\t\t}\n\n\t\trequest.withCredentials = options.credentials=='include';\n\n\t\trequest.onload = function () {\n\t\t\tresolve(response());\n\t\t};\n\n\t\trequest.onerror = reject;\n\n\t\trequest.send(options.body || null);\n\n\t\tfunction response() {\n\t\t\tvar keys = [],\n\t\t\t\tall = [],\n\t\t\t\theaders = {},\n\t\t\t\theader;\n\n\t\t\trequest.getAllResponseHeaders().replace(/^(.*?):[^\\S\\n]*([\\s\\S]*?)$/gm, function (m, key, value) {\n\t\t\t\tkeys.push(key = key.toLowerCase());\n\t\t\t\tall.push([key, value]);\n\t\t\t\theader = headers[key];\n\t\t\t\theaders[key] = header ? (header + \",\" + value) : value;\n\t\t\t});\n\n\t\t\treturn {\n\t\t\t\tok: (request.status/100|0) == 2,\t\t// 200-299\n\t\t\t\tstatus: request.status,\n\t\t\t\tstatusText: request.statusText,\n\t\t\t\turl: request.responseURL,\n\t\t\t\tclone: response,\n\t\t\t\ttext: function () { return Promise.resolve(request.responseText); },\n\t\t\t\tjson: function () { return Promise.resolve(request.responseText).then(JSON.parse); },\n\t\t\t\tblob: function () { return Promise.resolve(new Blob([request.response])); },\n\t\t\t\theaders: {\n\t\t\t\t\tkeys: function () { return keys; },\n\t\t\t\t\tentries: function () { return all; },\n\t\t\t\t\tget: function (n) { return headers[n.toLowerCase()]; },\n\t\t\t\t\thas: function (n) { return n.toLowerCase() in headers; }\n\t\t\t\t}\n\t\t\t};\n\t\t}\n\t});\n};\n\nexport default index;\n//# sourceMappingURL=unfetch.es.js.map\n\n\n\n// WEBPACK FOOTER //\n// ../node_modules/unfetch/dist/unfetch.es.js","module.exports = window.fetch || (window.fetch = require('unfetch').default || require('unfetch'));\n\n\n\n// WEBPACK FOOTER //\n// ../node_modules/isomorphic-unfetch/browser.js","var g;\r\n\r\n// This works in non-strict mode\r\ng = (function() {\r\n\treturn this;\r\n})();\r\n\r\ntry {\r\n\t// This works if eval is allowed (see CSP)\r\n\tg = g || Function(\"return this\")() || (1,eval)(\"this\");\r\n} catch(e) {\r\n\t// This works if the window reference is available\r\n\tif(typeof window === \"object\")\r\n\t\tg = window;\r\n}\r\n\r\n// g can still be undefined, but nothing to do about it...\r\n// We return undefined, instead of nothing here, so it's\r\n// easier to handle this case. if(!global) { ...}\r\n\r\nmodule.exports = g;\r\n\n\n\n// WEBPACK FOOTER //\n// ../node_modules/webpack/buildin/global.js","'use strict';\n\nif (!global.Promise) global.Promise = require('promise-polyfill');\nif (!global.fetch) global.fetch = require('isomorphic-unfetch');\n\n\n// WEBPACK FOOTER //\n// ../node_modules/preact-cli/lib/lib/webpack/polyfills.js"],"sourceRoot":""}
\ No newline at end of file
diff --git a/docs/push-manifest.json b/docs/push-manifest.json
index aff0142..8aaf79f 100644
--- a/docs/push-manifest.json
+++ b/docs/push-manifest.json
@@ -1 +1 @@
-{"/":{"style.bc35d.css":{"type":"style","weight":1},"bundle.03999.js":{"type":"script","weight":1}}}
\ No newline at end of file
+{"/":{"style.114f1.css":{"type":"style","weight":1},"bundle.4130c.js":{"type":"script","weight":1}}}
\ No newline at end of file
diff --git a/docs/ssr-build/ssr-bundle.js b/docs/ssr-build/ssr-bundle.js
index 72d3b8e..f946661 100644
--- a/docs/ssr-build/ssr-bundle.js
+++ b/docs/ssr-build/ssr-bundle.js
@@ -5249,6 +5249,14 @@ var __WEBPACK_AMD_DEFINE_RESULT__;; /*! showdown v 1.9.1 - 02-11-2019 */
/***/ }),
+/***/ "J9SO":
+/***/ (function(module, exports) {
+
+// removed by extract-text-webpack-plugin
+module.exports = {"thesis":"thesis__3uAQ4"};
+
+/***/ }),
+
/***/ "JkW7":
/***/ (function(module, __webpack_exports__, __webpack_require__) {
@@ -5666,6 +5674,10 @@ var panel_Panel = function (_Component) {
return _possibleConstructorReturn(this, _Component.apply(this, arguments));
}
+ Panel.prototype.getStyle = function getStyle() {
+ return panel_default.a.panel;
+ };
+
Panel.prototype.render = function render() {
var title = null;
if (this.props.title !== undefined) {
@@ -5678,7 +5690,7 @@ var panel_Panel = function (_Component) {
return Object(preact_min["h"])(
"div",
- { "class": panel_default.a.panel, id: this.props.id },
+ { "class": this.getStyle(), id: this.props.id },
title,
this.props.children
);
@@ -5851,6 +5863,15 @@ var _ref2 = Object(preact_min["h"])(
'Luca La Rocca'
),
'.'
+ ),
+ Object(preact_min["h"])(
+ 'p',
+ null,
+ Object(preact_min["h"])(
+ todo_Todo,
+ null,
+ 'TODO: \xE8 ancora incompleto!'
+ )
)
),
Object(preact_min["h"])(
@@ -10507,6 +10528,169 @@ var copyright_Copyright = function (_Component) {
var statistica = __webpack_require__("WViY");
var statistica_default = /*#__PURE__*/__webpack_require__.n(statistica);
+// EXTERNAL MODULE: ./components/theorem.css
+var theorem = __webpack_require__("oNmJ");
+var theorem_default = /*#__PURE__*/__webpack_require__.n(theorem);
+
+// CONCATENATED MODULE: ./components/theorem.js
+function theorem__classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
+
+function theorem__possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
+
+function theorem__inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
+
+
+
+
+var theorem_Theorem = function (_Panel) {
+ theorem__inherits(Theorem, _Panel);
+
+ function Theorem() {
+ theorem__classCallCheck(this, Theorem);
+
+ return theorem__possibleConstructorReturn(this, _Panel.apply(this, arguments));
+ }
+
+ Theorem.prototype.getStyle = function getStyle() {
+ return _Panel.prototype.getStyle.call(this) + " " + theorem_default.a.theorem;
+ };
+
+ return Theorem;
+}(panel_Panel);
+
+
+// EXTERNAL MODULE: ./components/hypothesis.css
+var hypothesis = __webpack_require__("pRAn");
+var hypothesis_default = /*#__PURE__*/__webpack_require__.n(hypothesis);
+
+// CONCATENATED MODULE: ./components/hypothesis.js
+
+
+function hypothesis__classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
+
+function hypothesis__possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
+
+function hypothesis__inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
+
+
+
+
+var hypothesis__ref = Object(preact_min["h"])(
+ "h4",
+ null,
+ "Ipotesi"
+);
+
+var hypothesis_Hypothesis = function (_Component) {
+ hypothesis__inherits(Hypothesis, _Component);
+
+ function Hypothesis() {
+ hypothesis__classCallCheck(this, Hypothesis);
+
+ return hypothesis__possibleConstructorReturn(this, _Component.apply(this, arguments));
+ }
+
+ Hypothesis.prototype.render = function render() {
+ return Object(preact_min["h"])(
+ "div",
+ { "class": hypothesis_default.a.hypothesis },
+ hypothesis__ref,
+ this.props.children
+ );
+ };
+
+ return Hypothesis;
+}(preact_min["Component"]);
+
+
+// EXTERNAL MODULE: ./components/thesis.css
+var thesis = __webpack_require__("J9SO");
+var thesis_default = /*#__PURE__*/__webpack_require__.n(thesis);
+
+// CONCATENATED MODULE: ./components/thesis.js
+
+
+function thesis__classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
+
+function thesis__possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
+
+function thesis__inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
+
+
+
+
+var thesis__ref = Object(preact_min["h"])(
+ "h4",
+ null,
+ "Tesi"
+);
+
+var thesis_Thesis = function (_Component) {
+ thesis__inherits(Thesis, _Component);
+
+ function Thesis() {
+ thesis__classCallCheck(this, Thesis);
+
+ return thesis__possibleConstructorReturn(this, _Component.apply(this, arguments));
+ }
+
+ Thesis.prototype.render = function render() {
+ return Object(preact_min["h"])(
+ "div",
+ { "class": thesis_default.a.thesis },
+ thesis__ref,
+ this.props.children
+ );
+ };
+
+ return Thesis;
+}(preact_min["Component"]);
+
+
+// EXTERNAL MODULE: ./components/proof.css
+var proof = __webpack_require__("Oqef");
+var proof_default = /*#__PURE__*/__webpack_require__.n(proof);
+
+// CONCATENATED MODULE: ./components/proof.js
+
+
+function proof__classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
+
+function proof__possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
+
+function proof__inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
+
+
+
+
+var proof__ref = Object(preact_min["h"])(
+ "h4",
+ null,
+ "Dimostrazione"
+);
+
+var proof_Proof = function (_Component) {
+ proof__inherits(Proof, _Component);
+
+ function Proof() {
+ proof__classCallCheck(this, Proof);
+
+ return proof__possibleConstructorReturn(this, _Component.apply(this, arguments));
+ }
+
+ Proof.prototype.render = function render() {
+ return Object(preact_min["h"])(
+ "div",
+ { "class": proof_default.a.proof },
+ proof__ref,
+ this.props.children
+ );
+ };
+
+ return Proof;
+}(preact_min["Component"]);
+
+
// CONCATENATED MODULE: ./pages/statistica.js
var statistica__templateObject = statistica__taggedTemplateLiteralLoose(['Omega = left { 1, 2, 3, 4, 5, 6 \right }'], ['\\Omega = \\left \\{ 1, 2, 3, 4, 5, 6 \\right \\}']),
statistica__templateObject2 = statistica__taggedTemplateLiteralLoose(['omega = 1'], ['\\omega = 1']),
@@ -10532,7 +10716,30 @@ var statistica__templateObject = statistica__taggedTemplateLiteralLoose(['Omega
statistica__templateObject22 = statistica__taggedTemplateLiteralLoose(['P(\bar{E}) = 1 - P(\bar{E})'], ['P(\\bar{E}) = 1 - P(\\bar{E})']),
statistica__templateObject23 = statistica__taggedTemplateLiteralLoose(['F subseteq E implies P(F) leq P(E)'], ['F \\subseteq E \\implies P(F) \\leq P(E)']),
statistica__templateObject24 = statistica__taggedTemplateLiteralLoose(['P(E cup F) = P(E) + P(F) - P(E cap F)'], ['P(E \\cup F) = P(E) + P(F) - P(E \\cap F)']),
- statistica__templateObject25 = statistica__taggedTemplateLiteralLoose(['P(E) = \frac{len(E)}{len(Omega)}'], ['P(E) = \\frac{len(E)}{len(\\Omega)}']);
+ statistica__templateObject25 = statistica__taggedTemplateLiteralLoose(['P(E) = \frac{len(E)}{len(Omega)}'], ['P(E) = \\frac{len(E)}{len(\\Omega)}']),
+ statistica__templateObject26 = statistica__taggedTemplateLiteralLoose(['\boldsymbol{D}_{n, k} = \frac{n!}{(n - k)!}'], ['\\boldsymbol{D}_{n, k} = \\frac{n!}{(n - k)!}']),
+ statistica__templateObject27 = statistica__taggedTemplateLiteralLoose(['\boldsymbol{D}^{r}_{n, k} = n^k'], ['\\boldsymbol{D}^{r}_{n, k} = n^k']),
+ statistica__templateObject28 = statistica__taggedTemplateLiteralLoose(['\boldsymbol{C}_{n, k} = \binom{n}{k} = \frac{n!}{(k)! cdot (n - k)!}'], ['\\boldsymbol{C}_{n, k} = \\binom{n}{k} = \\frac{n!}{(k)! \\cdot (n - k)!}']),
+ statistica__templateObject29 = statistica__taggedTemplateLiteralLoose(['\boldsymbol{C}^{r}_{n, k} = \binom{n + k - 1}{k} = \frac{(n + k - 1)!}{(k)! cdot (n - 1)!}'], ['\\boldsymbol{C}^{r}_{n, k} = \\binom{n + k - 1}{k} = \\frac{(n + k - 1)!}{(k)! \\cdot (n - 1)!}']),
+ statistica__templateObject30 = statistica__taggedTemplateLiteralLoose(['\boldsymbol{P}_n = n!'], ['\\boldsymbol{P}_n = n!']),
+ statistica__templateObject31 = statistica__taggedTemplateLiteralLoose(['P(E|F) = \frac{P(E cap F)}{P(F)}'], ['P(E|F) = \\frac{P(E \\cap F)}{P(F)}']),
+ statistica__templateObject32 = statistica__taggedTemplateLiteralLoose(['E, F indipendenti Longleftrightarrow P(E|F) = P(E), P(F|E) = P(F)'], ['E, F\\ indipendenti\\ \\Longleftrightarrow P(E|F) = P(E), P(F|E) = P(F)']),
+ statistica__templateObject33 = statistica__taggedTemplateLiteralLoose(['E cap F = emptyset Longleftrightarrow P(E|F) = P(F|E) = 0'], ['E \\cap F = \\emptyset \\Longleftrightarrow P(E|F) = P(F|E) = 0']),
+ statistica__templateObject34 = statistica__taggedTemplateLiteralLoose(['P(E_1 cap \times cap E_n) = P(E_1) \times P(E_2 | E_1) \times dots \times P(E_n | E_1 cap E_2 cap dots cap E_{n-1})'], ['P(E_1 \\cap \\times \\cap E_n) = P(E_1) \\times P(E_2 | E_1) \\times \\dots \\times P(E_n | E_1 \\cap E_2 \\cap \\dots \\cap E_{n-1})']),
+ statistica__templateObject35 = statistica__taggedTemplateLiteralLoose(['E_i'], ['E_i']),
+ statistica__templateObject36 = statistica__taggedTemplateLiteralLoose(['E_1'], ['E_1']),
+ statistica__templateObject37 = statistica__taggedTemplateLiteralLoose(['E_2'], ['E_2']),
+ statistica__templateObject38 = statistica__taggedTemplateLiteralLoose(['E_3'], ['E_3']),
+ statistica__templateObject39 = statistica__taggedTemplateLiteralLoose(['E_n'], ['E_n']),
+ statistica__templateObject40 = statistica__taggedTemplateLiteralLoose(['Omega'], ['\\Omega']),
+ statistica__templateObject41 = statistica__taggedTemplateLiteralLoose(['F'], ['F']),
+ statistica__templateObject42 = statistica__taggedTemplateLiteralLoose(['in Omega'], ['\\in \\Omega']),
+ statistica__templateObject43 = statistica__taggedTemplateLiteralLoose(['P(F) = sum_{i} P(F|E_i) cdot P(E_i)'], ['P(F) = \\sum_{i} P(F|E_i) \\cdot P(E_i)']),
+ statistica__templateObject44 = statistica__taggedTemplateLiteralLoose(['P(F|E_i) cdot P(E_i) = P(F cap E_i)'], ['P(F|E_i) \\cdot P(E_i) = P(F \\cap E_i)']),
+ statistica__templateObject45 = statistica__taggedTemplateLiteralLoose(['\forall i, exists! E_i'], ['\\forall i, \\exists! E_i']),
+ statistica__templateObject46 = statistica__taggedTemplateLiteralLoose(['sum_i P(F cap E_i) = P left( \bigcup_i (F cap E_i) \right)'], ['\\sum_i P(F \\cap E_i) = P \\left( \\bigcup_i (F \\cap E_i) \\right)']),
+ statistica__templateObject47 = statistica__taggedTemplateLiteralLoose(['\bigcup_i ( F cap E_i ) = F cap left( \bigcup_i E_i \right) = F cap Omega = F'], ['\\bigcup_i ( F \\cap E_i ) = F \\cap \\left( \\bigcup_i E_i \\right) = F \\cap \\Omega = F']),
+ statistica__templateObject48 = statistica__taggedTemplateLiteralLoose(['P(F|G) = sum_i P(F|E_i cap G) cdot P(E_i | G)'], ['P(F|G) = \\sum_i P(F|E_i \\cap G) \\cdot P(E_i | G)']);
@@ -10553,6 +10760,10 @@ function statistica__inherits(subClass, superClass) { if (typeof superClass !==
+
+
+
+
var statistica_r = String.raw;
var statistica__ref = Object(preact_min["h"])(
@@ -11032,116 +11243,364 @@ var statistica__ref24 = Object(preact_min["h"])(
);
var statistica__ref25 = Object(preact_min["h"])(
+ 'p',
+ null,
+ 'Estraggo un numero, da un sacchetto con ',
+ Object(preact_min["h"])(
+ latex_Latex,
+ null,
+ 'n'
+ ),
+ ' numeri, mi segno che numero ho estratto e lo ',
+ Object(preact_min["h"])(
+ 'b',
+ null,
+ 'tengo fuori dal sacchetto'
+ ),
+ '. Ripeto per ',
+ Object(preact_min["h"])(
+ latex_Latex,
+ null,
+ 'k'
+ ),
+ ' volte.'
+);
+
+var statistica__ref26 = Object(preact_min["h"])(
+ 'p',
+ null,
+ Object(preact_min["h"])(
+ 'b',
+ null,
+ 'Tengo conto'
+ ),
+ ' dell\'ordine in cui ho estratto i numeri.'
+);
+
+var statistica__ref27 = Object(preact_min["h"])(
+ 'p',
+ null,
+ 'Estraggo un numero, da un sacchetto con ',
+ Object(preact_min["h"])(
+ latex_Latex,
+ null,
+ 'n'
+ ),
+ ' numeri, mi segno che numero ho estratto e lo ',
+ Object(preact_min["h"])(
+ 'b',
+ null,
+ 'rimetto nel sacchetto'
+ ),
+ '. Ripeto per ',
+ Object(preact_min["h"])(
+ latex_Latex,
+ null,
+ 'k'
+ ),
+ ' volte.'
+);
+
+var statistica__ref28 = Object(preact_min["h"])(
+ 'p',
+ null,
+ Object(preact_min["h"])(
+ 'b',
+ null,
+ 'Tengo conto'
+ ),
+ ' dell\'ordine in cui ho estratto i numeri.'
+);
+
+var statistica__ref29 = Object(preact_min["h"])(
+ 'p',
+ null,
+ 'Estraggo un numero, da un sacchetto con ',
+ Object(preact_min["h"])(
+ latex_Latex,
+ null,
+ 'n'
+ ),
+ ' numeri, mi segno che numero ho estratto e lo ',
+ Object(preact_min["h"])(
+ 'b',
+ null,
+ 'tengo fuori dal sacchetto'
+ ),
+ '. Ripeto per ',
+ Object(preact_min["h"])(
+ latex_Latex,
+ null,
+ 'k'
+ ),
+ ' volte.'
+);
+
+var statistica__ref30 = Object(preact_min["h"])(
+ 'p',
+ null,
+ Object(preact_min["h"])(
+ 'b',
+ null,
+ 'Non mi interessa'
+ ),
+ ' l\'ordine in cui ho estratto i numeri.'
+);
+
+var statistica__ref31 = Object(preact_min["h"])(
+ 'p',
+ null,
+ 'Estraggo un numero, da un sacchetto con ',
+ Object(preact_min["h"])(
+ latex_Latex,
+ null,
+ 'n'
+ ),
+ ' numeri, mi segno che numero ho estratto e lo ',
+ Object(preact_min["h"])(
+ 'b',
+ null,
+ 'rimetto nel sacchetto'
+ ),
+ '. Ripeto per ',
+ Object(preact_min["h"])(
+ latex_Latex,
+ null,
+ 'k'
+ ),
+ ' volte.'
+);
+
+var statistica__ref32 = Object(preact_min["h"])(
+ 'p',
+ null,
+ Object(preact_min["h"])(
+ 'b',
+ null,
+ 'Non mi interessa'
+ ),
+ ' l\'ordine in cui ho estratto i numeri.'
+);
+
+var statistica__ref33 = Object(preact_min["h"])(
+ 'p',
+ null,
+ Object(preact_min["h"])(
+ todo_Todo,
+ null,
+ 'TODO: Controllare la formula.'
+ )
+);
+
+var statistica__ref34 = Object(preact_min["h"])(
+ 'p',
+ null,
+ 'Estraggo ',
+ Object(preact_min["h"])(
+ latex_Latex,
+ null,
+ 'n'
+ ),
+ ' numeri e guardo in quanti ordini diversi li posso mettere.'
+);
+
+var statistica__ref35 = Object(preact_min["h"])(
split_Split,
null,
Object(preact_min["h"])(
panel_Panel,
- { title: "Disposizioni" },
+ { title: "Spazi equiprobabili geometrici" },
Object(preact_min["h"])(
'p',
null,
- 'Estraggo un numero, mi segno che numero ho estratto e lo ',
- Object(preact_min["h"])(
- 'b',
- null,
- 'tengo fuori dal sacchetto'
- ),
- '.'
- ),
- Object(preact_min["h"])(
- 'p',
- null,
- Object(preact_min["h"])(
- 'b',
- null,
- 'Tengo conto'
- ),
- ' dell\'ordine in cui ho estratto i numeri.'
+ 'Gli spazi campionari possono avere un numero infinito di esisti: si ha equiprobabilit\xE0 se nessun esito \xE8 privilegiato rispetto agli altri.'
)
+ )
+);
+
+var statistica__ref36 = Object(preact_min["h"])(
+ 'span',
+ null,
+ 'E dato F'
+);
+
+var statistica__ref37 = Object(preact_min["h"])(
+ 'p',
+ null,
+ 'La probabilit\xE0 di un evento ',
+ Object(preact_min["h"])(
+ latex_Latex,
+ null,
+ 'E'
+ ),
+ ' dato un altro evento ',
+ Object(preact_min["h"])(
+ latex_Latex,
+ null,
+ 'F'
+ ),
+ ' indica la probabilit\xE0 che si verifichi ',
+ Object(preact_min["h"])(
+ latex_Latex,
+ null,
+ 'E'
+ ),
+ ' sapendo che ',
+ Object(preact_min["h"])(
+ 'b',
+ null,
+ 'si \xE8 gi\xE0 verificato'
+ ),
+ ' ',
+ Object(preact_min["h"])(
+ latex_Latex,
+ null,
+ 'F'
+ ),
+ '.'
+);
+
+var statistica__ref38 = Object(preact_min["h"])(
+ 'p',
+ null,
+ 'Se due eventi sono indipendenti, sapere che uno dei due si \xE8 verificato non influisce sulle probabilit\xE0 che si sia verificato l\'altro.'
+);
+
+var statistica__ref39 = Object(preact_min["h"])(
+ 'p',
+ null,
+ 'Se due eventi sono mutualmente esclusivi, entrambe le loro probabilit\xE0 condizionate saranno uguali a 0.'
+);
+
+var statistica__ref40 = Object(preact_min["h"])(
+ 'p',
+ null,
+ 'Si pu\xF2 sfruttare la formula inversa della probabilit\xE0 condizionata per calcolare catene di intersezioni:'
+);
+
+var statistica__ref41 = Object(preact_min["h"])(
+ 'p',
+ null,
+ 'E\' una partizione dello spazio campionario un insieme di eventi:'
+);
+
+var statistica__ref42 = Object(preact_min["h"])(
+ 'ul',
+ null,
+ Object(preact_min["h"])(
+ 'li',
+ null,
+ Object(preact_min["h"])(
+ 'b',
+ null,
+ 'Finito'
+ ),
+ '.'
),
Object(preact_min["h"])(
- panel_Panel,
- { title: "Disposizioni con ripetizione" },
+ 'li',
+ null,
+ 'In cui tutti gli eventi hanno ',
Object(preact_min["h"])(
- 'p',
+ 'b',
null,
- 'Estraggo un numero, mi segno che numero ho estratto e lo ',
- Object(preact_min["h"])(
- 'b',
- null,
- 'rimetto nel sacchetto'
- ),
- '.'
+ 'probabilit\xE0 diversa da 0'
),
- Object(preact_min["h"])(
- 'p',
- null,
- Object(preact_min["h"])(
- 'b',
- null,
- 'Tengo conto'
- ),
- ' dell\'ordine in cui ho estratto i numeri.'
- )
+ '.'
),
Object(preact_min["h"])(
- panel_Panel,
- { title: "Combinazioni" },
+ 'li',
+ null,
+ 'In cui tutti gli eventi sono ',
Object(preact_min["h"])(
- 'p',
+ 'b',
null,
- 'Estraggo un numero, mi segno che numero ho estratto e lo ',
- Object(preact_min["h"])(
- 'b',
- null,
- 'tengo fuori dal sacchetto'
- ),
- '.'
+ 'mutualmente esclusivi'
),
- Object(preact_min["h"])(
- 'p',
- null,
- Object(preact_min["h"])(
- 'b',
- null,
- 'Non mi interessa'
- ),
- ' l\'ordine in cui ho estratto i numeri.'
- )
+ '.'
),
Object(preact_min["h"])(
- panel_Panel,
- { title: "Combinazioni con ripetizione" },
+ 'li',
+ null,
+ 'L\'unione di tutti gli eventi ',
Object(preact_min["h"])(
- 'p',
+ 'b',
null,
- 'Estraggo un numero, mi segno che numero ho estratto e lo ',
- Object(preact_min["h"])(
- 'b',
- null,
- 'rimetto nel sacchetto'
- ),
- '.'
+ 'copre lo spazio campionario'
),
- Object(preact_min["h"])(
- 'p',
- null,
- Object(preact_min["h"])(
- 'b',
- null,
- 'Non mi interessa'
- ),
- ' l\'ordine in cui ho estratto i numeri.'
- )
- ),
+ '.'
+ )
+);
+
+var statistica__ref43 = Object(preact_min["h"])(
+ 'p',
+ null,
+ 'Se lo spazio campionario fosse una torta, una sua partizione sarebbe l\'insieme delle fette di uno dei modi in cui si potrebbe tagliare.'
+);
+
+var statistica__ref44 = Object(preact_min["h"])(
+ latex_Latex,
+ null,
+ 'E_i'
+);
+
+var statistica__ref45 = Object(preact_min["h"])(
+ 'b',
+ null,
+ 'partizione'
+);
+
+var statistica__ref46 = Object(preact_min["h"])(
+ 'b',
+ null,
+ 'evento'
+);
+
+var statistica__ref47 = Object(preact_min["h"])(
+ 'p',
+ null,
+ 'La probabilit\xE0 che si verifichi un evento \xE8 pari alla somma delle probabilit\xE0 dell\'evento stesso dati tutti gli eventi di una partizione.'
+);
+
+var statistica__ref48 = Object(preact_min["h"])(
+ 'p',
+ null,
+ 'Per la definizione di probabilit\xE0 condizionata:'
+);
+
+var statistica__ref49 = Object(preact_min["h"])(
+ 'p',
+ null,
+ 'Essendo parte di una partizione, tutti gli ',
Object(preact_min["h"])(
- panel_Panel,
- { title: "Permutazioni" },
- Object(preact_min["h"])(
- 'p',
- null,
- 'Estraggo N numeri e guardo in quanti ordini diversi li posso mettere.'
- )
+ latex_Latex,
+ null,
+ 'E_i'
+ ),
+ ' sono distinti:'
+);
+
+var statistica__ref50 = Object(preact_min["h"])(
+ 'p',
+ null,
+ 'Essendo mutualmente esclusivi, le probabilit\xE0 di tutti gli ',
+ Object(preact_min["h"])(
+ latex_Latex,
+ null,
+ 'E_i'
+ ),
+ ' possono essere sommate:'
+);
+
+var statistica__ref51 = Object(preact_min["h"])(
+ split_Split,
+ null,
+ Object(preact_min["h"])(
+ theorem_Theorem,
+ { title: "Formula di Bayes" },
+ Object(preact_min["h"])(hypothesis_Hypothesis, null),
+ Object(preact_min["h"])(thesis_Thesis, null),
+ Object(preact_min["h"])(proof_Proof, null)
)
);
@@ -11552,7 +12011,335 @@ var statistica_Statistica = function (_Component) {
)
)
),
- statistica__ref25
+ Object(preact_min["h"])(
+ split_Split,
+ null,
+ Object(preact_min["h"])(
+ panel_Panel,
+ { title: "Disposizioni" },
+ statistica__ref25,
+ statistica__ref26,
+ Object(preact_min["h"])(
+ 'p',
+ null,
+ Object(preact_min["h"])(
+ latex_Latex,
+ null,
+ statistica_r(statistica__templateObject26)
+ )
+ )
+ ),
+ Object(preact_min["h"])(
+ panel_Panel,
+ { title: "Disposizioni con ripetizione" },
+ statistica__ref27,
+ statistica__ref28,
+ Object(preact_min["h"])(
+ 'p',
+ null,
+ Object(preact_min["h"])(
+ latex_Latex,
+ null,
+ statistica_r(statistica__templateObject27)
+ )
+ )
+ ),
+ Object(preact_min["h"])(
+ panel_Panel,
+ { title: "Combinazioni" },
+ statistica__ref29,
+ statistica__ref30,
+ Object(preact_min["h"])(
+ 'p',
+ null,
+ Object(preact_min["h"])(
+ latex_Latex,
+ null,
+ statistica_r(statistica__templateObject28)
+ )
+ )
+ ),
+ Object(preact_min["h"])(
+ panel_Panel,
+ { title: "Combinazioni con ripetizione" },
+ statistica__ref31,
+ statistica__ref32,
+ Object(preact_min["h"])(
+ 'p',
+ null,
+ Object(preact_min["h"])(
+ latex_Latex,
+ null,
+ statistica_r(statistica__templateObject29)
+ )
+ ),
+ statistica__ref33
+ )
+ ),
+ Object(preact_min["h"])(
+ split_Split,
+ null,
+ Object(preact_min["h"])(
+ panel_Panel,
+ { title: "Permutazioni" },
+ statistica__ref34,
+ Object(preact_min["h"])(
+ 'p',
+ null,
+ Object(preact_min["h"])(
+ latex_Latex,
+ null,
+ statistica_r(statistica__templateObject30)
+ )
+ )
+ )
+ ),
+ statistica__ref35,
+ Object(preact_min["h"])(
+ split_Split,
+ { title: "Probabilità condizionata" },
+ Object(preact_min["h"])(
+ panel_Panel,
+ { title: statistica__ref36 },
+ statistica__ref37,
+ Object(preact_min["h"])(
+ 'p',
+ null,
+ Object(preact_min["h"])(
+ latex_Latex,
+ null,
+ statistica_r(statistica__templateObject31)
+ )
+ )
+ ),
+ Object(preact_min["h"])(
+ panel_Panel,
+ { title: "Eventi indipendenti" },
+ statistica__ref38,
+ Object(preact_min["h"])(
+ 'p',
+ null,
+ Object(preact_min["h"])(
+ latex_Latex,
+ null,
+ statistica_r(statistica__templateObject32)
+ )
+ )
+ ),
+ Object(preact_min["h"])(
+ panel_Panel,
+ { title: "Eventi mutualmente esclusivi" },
+ statistica__ref39,
+ Object(preact_min["h"])(
+ 'p',
+ null,
+ Object(preact_min["h"])(
+ latex_Latex,
+ null,
+ statistica_r(statistica__templateObject33)
+ )
+ )
+ ),
+ Object(preact_min["h"])(
+ panel_Panel,
+ { title: "Regola della catena" },
+ statistica__ref40,
+ Object(preact_min["h"])(
+ 'p',
+ null,
+ Object(preact_min["h"])(
+ latex_Latex,
+ null,
+ statistica_r(statistica__templateObject34)
+ )
+ )
+ )
+ ),
+ Object(preact_min["h"])(
+ split_Split,
+ null,
+ Object(preact_min["h"])(
+ panel_Panel,
+ { title: "Partizioni" },
+ statistica__ref41,
+ statistica__ref42,
+ statistica__ref43,
+ Object(preact_min["h"])(
+ 'p',
+ null,
+ 'La partizione ',
+ Object(preact_min["h"])(
+ latex_Latex,
+ null,
+ statistica_r(statistica__templateObject35)
+ ),
+ ' \xE8 composta dagli eventi ',
+ Object(preact_min["h"])(
+ latex_Latex,
+ null,
+ statistica_r(statistica__templateObject36)
+ ),
+ ', ',
+ Object(preact_min["h"])(
+ latex_Latex,
+ null,
+ statistica_r(statistica__templateObject37)
+ ),
+ ', ',
+ Object(preact_min["h"])(
+ latex_Latex,
+ null,
+ statistica_r(statistica__templateObject38)
+ ),
+ ', fino a ',
+ Object(preact_min["h"])(
+ latex_Latex,
+ null,
+ statistica_r(statistica__templateObject39)
+ ),
+ '.'
+ )
+ ),
+ Object(preact_min["h"])(
+ theorem_Theorem,
+ { title: "Legge delle alternative" },
+ Object(preact_min["h"])(
+ hypothesis_Hypothesis,
+ null,
+ Object(preact_min["h"])(
+ 'ul',
+ null,
+ Object(preact_min["h"])(
+ 'li',
+ null,
+ statistica__ref44,
+ ' ',
+ statistica__ref45,
+ ' di ',
+ Object(preact_min["h"])(
+ latex_Latex,
+ null,
+ statistica_r(statistica__templateObject40)
+ )
+ ),
+ Object(preact_min["h"])(
+ 'li',
+ null,
+ Object(preact_min["h"])(
+ latex_Latex,
+ null,
+ statistica_r(statistica__templateObject41)
+ ),
+ ' ',
+ statistica__ref46,
+ ' ',
+ Object(preact_min["h"])(
+ latex_Latex,
+ null,
+ statistica_r(statistica__templateObject42)
+ )
+ )
+ )
+ ),
+ Object(preact_min["h"])(
+ thesis_Thesis,
+ null,
+ statistica__ref47,
+ Object(preact_min["h"])(
+ 'p',
+ null,
+ Object(preact_min["h"])(
+ latex_Latex,
+ null,
+ statistica_r(statistica__templateObject43)
+ )
+ )
+ ),
+ Object(preact_min["h"])(
+ proof_Proof,
+ null,
+ statistica__ref48,
+ Object(preact_min["h"])(
+ 'p',
+ null,
+ Object(preact_min["h"])(
+ latex_Latex,
+ null,
+ statistica_r(statistica__templateObject44)
+ )
+ ),
+ statistica__ref49,
+ Object(preact_min["h"])(
+ 'p',
+ null,
+ Object(preact_min["h"])(
+ latex_Latex,
+ null,
+ statistica_r(statistica__templateObject45)
+ )
+ ),
+ statistica__ref50,
+ Object(preact_min["h"])(
+ 'p',
+ null,
+ Object(preact_min["h"])(
+ latex_Latex,
+ null,
+ statistica_r(statistica__templateObject46)
+ )
+ ),
+ Object(preact_min["h"])(
+ 'p',
+ null,
+ 'Essendo una partizione di ',
+ Object(preact_min["h"])(
+ latex_Latex,
+ null,
+ statistica_r(statistica__templateObject40)
+ ),
+ ', allora la loro unione lo forma:'
+ ),
+ Object(preact_min["h"])(
+ 'p',
+ null,
+ Object(preact_min["h"])(
+ latex_Latex,
+ null,
+ statistica_r(statistica__templateObject47)
+ )
+ )
+ )
+ )
+ ),
+ Object(preact_min["h"])(
+ split_Split,
+ null,
+ Object(preact_min["h"])(
+ panel_Panel,
+ { title: "Legge condizionata delle alternative" },
+ Object(preact_min["h"])(
+ 'p',
+ null,
+ 'La legge delle alternative funziona anche per gli eventi, non solo per ',
+ Object(preact_min["h"])(
+ latex_Latex,
+ null,
+ statistica_r(statistica__templateObject40)
+ ),
+ ':'
+ ),
+ Object(preact_min["h"])(
+ 'p',
+ null,
+ Object(preact_min["h"])(
+ latex_Latex,
+ null,
+ statistica_r(statistica__templateObject48)
+ )
+ )
+ )
+ ),
+ statistica__ref51
);
};
@@ -11858,6 +12645,13 @@ module.exports = {"minus":"minus__2d_8r"};
/***/ }),
+/***/ "Oqef":
+/***/ (function(module, exports) {
+
+// removed by extract-text-webpack-plugin
+
+/***/ }),
+
/***/ "P9k+":
/***/ (function(module, exports) {
@@ -11895,6 +12689,22 @@ module.exports = {"plus":"plus__1JPyf"};
/***/ }),
+/***/ "oNmJ":
+/***/ (function(module, exports) {
+
+// removed by extract-text-webpack-plugin
+module.exports = {"theorem":"theorem__yukmA"};
+
+/***/ }),
+
+/***/ "pRAn":
+/***/ (function(module, exports) {
+
+// removed by extract-text-webpack-plugin
+module.exports = {"hypothesis":"hypothesis__Ma0m3"};
+
+/***/ }),
+
/***/ "qMTX":
/***/ (function(module, exports) {
diff --git a/docs/ssr-build/ssr-bundle.js.map b/docs/ssr-build/ssr-bundle.js.map
index 68db10a..3746c8a 100644
--- a/docs/ssr-build/ssr-bundle.js.map
+++ b/docs/ssr-build/ssr-bundle.js.map
@@ -1 +1 @@
-{"version":3,"sources":["webpack:///webpack/bootstrap 192604d8a67a64e504d2","webpack:///./components/latex.css","webpack:///./pages/fisica.css","webpack:///./components/split.css","webpack:///./pages/home.css","webpack:///./pages/mingwinstall.css","webpack:///../node_modules/showdown/dist/showdown.js","webpack:///../node_modules/preact-router/dist/preact-router.es.js","webpack:///./components/panel.js","webpack:///./components/split.js","webpack:///./components/todo.js","webpack:///./pages/home.js","webpack:///./components/latex.js","webpack:///./components/plus.js","webpack:///./components/minus.js","webpack:///./pages/fisica.js","webpack:///./components/markdown.js","webpack:///./pages/vldigeometria.js","webpack:///./pages/mingwinstall.js","webpack:///./components/copyright.js","webpack:///./pages/statistica.js","webpack:///./index.js","webpack:///../node_modules/preact/dist/preact.min.js","webpack:///./components/markdown.css","webpack:///./components/minus.css","webpack:///./components/panel.css","webpack:///./pages/statistica.css","webpack:///./manifest.json","webpack:///./components/plus.css","webpack:///./pages/vldigeometria.css","webpack:///./components/copyright.css","webpack:///./components/todo.css","webpack:///./index.css"],"names":["getDefaultOpts","simple","defaultOptions","omitExtraWLInCodeBlocks","defaultValue","describe","type","noHeaderId","prefixHeaderId","rawPrefixHeaderId","ghCompatibleHeaderId","rawHeaderId","headerLevelStart","parseImgDimensions","simplifiedAutoLink","excludeTrailingPunctuationFromURLs","literalMidWordUnderscores","literalMidWordAsterisks","strikethrough","tables","tablesHeaderId","ghCodeBlocks","tasklists","smoothLivePreview","smartIndentationFix","description","disableForced4SpacesIndentedSublists","simpleLineBreaks","requireSpaceBeforeHeadingText","ghMentions","ghMentionsLink","encodeEmails","openLinksInNewWindow","backslashEscapesHTMLTags","emoji","underline","completeHTMLDocument","metadata","splitAdjacentBlockquotes","JSON","parse","stringify","ret","opt","hasOwnProperty","allOptionsOn","options","showdown","parsers","extensions","globalOptions","setFlavor","flavor","github","original","ghost","vanilla","allOn","helper","setOption","key","value","getOption","getOptions","resetOptions","name","Error","preset","option","getFlavor","getFlavorOptions","getDefaultOptions","subParser","func","isString","extension","ext","stdExtName","isUndefined","isArray","validExtension","validate","valid","error","getAllExtensions","removeExtension","resetExtensions","errMsg","i","length","baseMsg","toLowerCase","listeners","filter","regex","ln","RegExp","replace","validateExtension","console","warn","a","String","isFunction","getType","toString","call","Array","forEach","obj","callback","prop","s","escapeCharactersCallback","wholeMatch","m1","charCodeToEscape","charCodeAt","escapeCharacters","text","charsToEscape","afterBackslash","regexString","unescapeHTMLEntities","txt","rgxFindMatchPos","str","left","right","flags","f","g","indexOf","x","l","pos","t","m","start","end","exec","test","lastIndex","index","match","push","matchRecursiveRegExp","matchPos","results","slice","replaceRecursiveRegExp","replacement","repStr","finalStr","lng","bits","join","regexIndexOf","fromIndex","substring","search","splitAtIndex","encodeEmailAddress","mail","encode","ch","Math","floor","random","r","padEnd","targetLength","padString","repeat","msg","alert","log","regexes","asteriskDashAndColon","emojis","Converter","converterOptions","langExtensions","outputModifiers","setConvFlavor","parsed","raw","format","_constructor","gOpt","_parseExtension","legacyExtensionLoading","validExt","listen","rTrimInputText","rsp","rgx","_dispatch","dispatch","evtName","globals","ei","nText","makeHtml","gHtmlBlocks","gHtmlMdBlocks","gHtmlSpans","gUrls","gTitles","gDimensions","gListLevel","hashLinkCounts","converter","makeMarkdown","makeMd","src","HTMLParser","window","document","doc","createElement","innerHTML","preList","substitutePreCodeTags","clean","nodes","childNodes","mdDoc","node","n","child","nodeType","nodeValue","removeChild","split","pres","querySelectorAll","presPH","childElementCount","firstChild","tagName","content","trim","language","getAttribute","classes","className","c","matches","outerHTML","setAttribute","addExtension","useExtension","extensionName","splice","ii","output","getMetadata","getMetadataFormat","_setMetadataPair","_setMetadataFormat","_setMetadataRaw","writeAnchorTag","linkText","linkId","url","m5","m6","title","result","wm","st","escape","mentions","username","lnk","target","simpleURLRegex","simpleURLRegex2","delimUrlRegex","simpleMailRegex","delimMailRegex","replaceLink","leadingMagicChars","link","m2","m3","trailingPunctuation","trailingMagicChars","lnkTxt","append","lmc","tmc","replaceMail","b","href","bq","pre","pattern","codeblock","nextChar","doctype","doctypeParsed","charset","lang","meta","leadingText","numSpaces","emojiRgx","emojiCode","tags","comments","delim","repFunc","blockText","blockTags","inside","opTagPos","rgx1","patLeft","patRight","subTexts","newSubText1","concat","hashHTMLSpan","html","repText","limit","num","$1","isNaN","parseInt","setextRegexH1","setextRegexH2","spanGamut","hID","headerId","hLevel","hashBlock","matchFound","atxStyle","hText","customizedHeaderId","span","header","prefix","inlineRegExp","crazyRegExp","base64RegExp","referenceRegExp","refShortcutRegExp","writeImageTagBase64","altText","width","height","writeImageTag","gDims","parseInside","lead","processListItems","listStr","trimTrailing","isParagraphed","m4","taskbtn","checked","item","bulletStyle","otp","wm2","styleStartNumber","list","listType","res","parseConsecutiveLists","olRgx","ulRgx","counterRxg","parseCL","style","parseMetadataContents","wholematch","grafs","grafsOut","grafsOutIt","codeFlag","$2","re","base64Regex","replaceFunc","blankLines","tableRgx","singeColTblRgx","parseStyles","sLine","parseHeaders","id","tableHeaderId","parseCells","cell","subText","buildTable","headers","cells","tb","tblLgn","parseTable","rawTable","tableLines","rawHeaders","map","rawStyles","rawCells","styles","shift","row","charCodeToReplace","fromCharCode","hasChildNodes","children","childrenLength","innerTxt","headerLevel","headerMark","hasAttribute","listItems","listItemsLenght","listNum","bullet","listItemTxt","childrenLenght","spansOnly","data","tableArray","headings","rows","headContent","allign","cols","getElementsByTagName","cellContent","cellSpacesCount","strLen","root","define","module","exports","EMPTY$1","assign","props","route","opts","reg","p","decodeURIComponent","segmentize","max","i$1","charAt","param","plus","star","val","default","pathRankSort","rank","prepareVNodeForRanking","vnode","rankChild","attributes","rankSegment","segment","path","customHistory","ROUTERS","subscribers","EMPTY","isPreactElement","__preactattr_","Symbol","for","setUrl","history","getCurrentUrl","location","getCurrentLocation","pathname","canRoute","routeTo","didRoute","routeFromLink","handleLinkClick","e","button","currentTarget","prevent","stopImmediatePropagation","stopPropagation","preventDefault","delegateLinkHandler","ctrlKey","metaKey","altKey","shiftKey","nodeName","toUpperCase","parentNode","eventListenersInitialized","initEventListeners","addEventListener","Router","Component$$1","state","__proto__","prototype","Object","create","constructor","shouldComponentUpdate","static","onChange","getMatchingChildren","_didRoute","setState","updating","forceUpdate","componentWillMount","componentDidMount","this$1","unlisten","componentWillUnmount","componentWillUpdate","componentDidUpdate","invoke","sort","newProps","ref","cloneElement","Boolean","render","ref$1","active","current","previous","previousUrl","router","Component","Link","h","onClick","Route","component","Panel","undefined","panel","Split","splitchild","element","splitparent","Todo","todo","Home","home","Latex","equation","latex","Plus","Minus","minus","Fisica","fisica","Markdown","markdown","__html","VlDiGeometria","vldigeometria","MingwInstall","mingwinstall","Copyright","copyright","Statistica","statistica","App","o","W","arguments","P","pop","T","M","__d","V","debounceRendering","D","splitText","_componentConstructor","__n","u","defaultProps","createElementNS","cssText","E","_","removeEventListener","__l","removeAttribute","removeAttributeNS","setAttributeNS","event","A","afterMount","d","H","R","ownerSVGElement","B","appendChild","_component","createTextNode","replaceChild","v","N","nextSibling","dangerouslySetInnerHTML","y","w","C","k","__k","insertBefore","lastChild","previousSibling","F","U","__b","__x","__r","getDerivedStateFromProps","base","componentWillReceiveProps","context","__c","__p","syncComponentUpdates","__s","S","getChildContext","getSnapshotBeforeUpdate","L","__u","afterUpdate","__h","beforeUnmount","Promise","resolve","then","bind","setTimeout","j","createRef","rerender","self","preact"],"mappings":";;QAAA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;;;QAGA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA,KAAK;QACL;QACA;;QAEA;QACA;QACA;QACA,2BAA2B,0BAA0B,EAAE;QACvD,iCAAiC,eAAe;QAChD;QACA;QACA;;QAEA;QACA,sDAAsD,+DAA+D;;QAErH;QACA;;QAEA;QACA;;;;;;;;AC7DA;AACA,kBAAkB,wB;;;;;;;ACDlB,yC;;;;;;;ACAA;AACA,kBAAkB,4F;;;;;;;ACDlB,yC;;;;;;;ACAA,yC;;;;;;;ACAA,mC,CAAC;AACD,CAAC,YAAU;AACX;;;;AAIA,WAASA,cAAT,CAAyBC,MAAzB,EAAiC;AAC/B;;AAEA,QAAIC,iBAAiB;AACnBC,+BAAyB;AACvBC,sBAAc,KADS;AAEvBC,kBAAU,uDAFa;AAGvBC,cAAM;AAHiB,OADN;AAMnBC,kBAAY;AACVH,sBAAc,KADJ;AAEVC,kBAAU,iCAFA;AAGVC,cAAM;AAHI,OANO;AAWnBE,sBAAgB;AACdJ,sBAAc,KADA;AAEdC,kBAAU,6JAFI;AAGdC,cAAM;AAHQ,OAXG;AAgBnBG,yBAAmB;AAC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AlH,EAAmI5D,EAAE,IAAF,CAAnI;AAA2I,KAAnK,EAAoKoW,aAAY,qBAASjC,CAAT,EAAW;AAACA,WAAG,KAAK+J,GAAL,CAAS1f,IAAT,CAAc2V,CAAd,CAAH,EAAoBvW,EAAE,IAAF,EAAO,CAAP,CAApB;AAA8B,KAA1N,EAA2NsZ,QAAO,kBAAU,CAAE,CAA9O,EAAd,EAA+P,IAAIuH,IAAE,EAAC9G,GAAExD,CAAH,EAAKhR,eAAcgR,CAAnB,EAAqB6C,cAAa8C,CAAlC,EAAoC4E,WAAUX,CAA9C,EAAgDtG,WAAUuF,CAA1D,EAA4D9F,QAAO0G,CAAnE,EAAqEe,UAAS5jB,CAA9E,EAAgF1C,SAAQ+hB,CAAxF,EAAN,CAAiG,QAA2BhJ,OAAOC,OAAP,GAAeoN,CAA1C,GAA4CG,KAAKC,MAAL,GAAYJ,CAAxD;AAA0D,CAAvsQ,EAAD;AACA,sC;;;;;;;ACDA;AACA,kBAAkB,8B;;;;;;;ACDlB;AACA,kBAAkB,wB;;;;;;;ACDlB;AACA,kBAAkB,wB;;;;;;;ACDlB,yC;;;;;;;ACAA,kBAAkB,0LAA0L,8DAA8D,E;;;;;;;ACA1Q;AACA,kBAAkB,sB;;;;;;;ACDlB,yC;;;;;;;ACAA;AACA,kBAAkB,gC;;;;;;;ACDlB;AACA,kBAAkB,sB;;;;;;;ACDlB,yC","file":"ssr-bundle.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, {\n \t\t\t\tconfigurable: false,\n \t\t\t\tenumerable: true,\n \t\t\t\tget: getter\n \t\t\t});\n \t\t}\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"/\";\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = \"JkW7\");\n\n\n\n// WEBPACK FOOTER //\n// webpack/bootstrap 192604d8a67a64e504d2","// removed by extract-text-webpack-plugin\nmodule.exports = {\"latex\":\"latex__34DCT\"};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./components/latex.css\n// module id = +uq9\n// module chunks = 0","// removed by extract-text-webpack-plugin\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./pages/fisica.css\n// module id = 0lnO\n// module chunks = 0","// removed by extract-text-webpack-plugin\nmodule.exports = {\"split\":\"split__2Bl8C\",\"splitparent\":\"splitparent__nqY7W\",\"splitchild\":\"splitchild__3Ip86\"};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./components/split.css\n// module id = 1EpE\n// module chunks = 0","// removed by extract-text-webpack-plugin\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./pages/home.css\n// module id = 36Ou\n// module chunks = 0","// removed by extract-text-webpack-plugin\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./pages/mingwinstall.css\n// module id = 5m9J\n// module chunks = 0",";/*! showdown v 1.9.1 - 02-11-2019 */\r\n(function(){\r\n/**\n * Created by Tivie on 13-07-2015.\n */\n\nfunction getDefaultOpts (simple) {\n 'use strict';\n\n var defaultOptions = {\n omitExtraWLInCodeBlocks: {\n defaultValue: false,\n describe: 'Omit the default extra whiteline added to code blocks',\n type: 'boolean'\n },\n noHeaderId: {\n defaultValue: false,\n describe: 'Turn on/off generated header id',\n type: 'boolean'\n },\n prefixHeaderId: {\n defaultValue: false,\n 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',\n type: 'string'\n },\n rawPrefixHeaderId: {\n defaultValue: false,\n 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)',\n type: 'boolean'\n },\n ghCompatibleHeaderId: {\n defaultValue: false,\n describe: 'Generate header ids compatible with github style (spaces are replaced with dashes, a bunch of non alphanumeric chars are removed)',\n type: 'boolean'\n },\n rawHeaderId: {\n defaultValue: false,\n describe: 'Remove only spaces, \\' and \" from generated header ids (including prefixes), replacing them with dashes (-). WARNING: This might result in malformed ids',\n type: 'boolean'\n },\n headerLevelStart: {\n defaultValue: false,\n describe: 'The header blocks level start',\n type: 'integer'\n },\n parseImgDimensions: {\n defaultValue: false,\n describe: 'Turn on/off image dimension parsing',\n type: 'boolean'\n },\n simplifiedAutoLink: {\n defaultValue: false,\n describe: 'Turn on/off GFM autolink style',\n type: 'boolean'\n },\n excludeTrailingPunctuationFromURLs: {\n defaultValue: false,\n describe: 'Excludes trailing punctuation from links generated with autoLinking',\n type: 'boolean'\n },\n literalMidWordUnderscores: {\n defaultValue: false,\n describe: 'Parse midword underscores as literal underscores',\n type: 'boolean'\n },\n literalMidWordAsterisks: {\n defaultValue: false,\n describe: 'Parse midword asterisks as literal asterisks',\n type: 'boolean'\n },\n strikethrough: {\n defaultValue: false,\n describe: 'Turn on/off strikethrough support',\n type: 'boolean'\n },\n tables: {\n defaultValue: false,\n describe: 'Turn on/off tables support',\n type: 'boolean'\n },\n tablesHeaderId: {\n defaultValue: false,\n describe: 'Add an id to table headers',\n type: 'boolean'\n },\n ghCodeBlocks: {\n defaultValue: true,\n describe: 'Turn on/off GFM fenced code blocks support',\n type: 'boolean'\n },\n tasklists: {\n defaultValue: false,\n describe: 'Turn on/off GFM tasklist support',\n type: 'boolean'\n },\n smoothLivePreview: {\n defaultValue: false,\n describe: 'Prevents weird effects in live previews due to incomplete input',\n type: 'boolean'\n },\n smartIndentationFix: {\n defaultValue: false,\n description: 'Tries to smartly fix indentation in es6 strings',\n type: 'boolean'\n },\n disableForced4SpacesIndentedSublists: {\n defaultValue: false,\n description: 'Disables the requirement of indenting nested sublists by 4 spaces',\n type: 'boolean'\n },\n simpleLineBreaks: {\n defaultValue: false,\n description: 'Parses simple line breaks as
(GFM Style)',\n type: 'boolean'\n },\n requireSpaceBeforeHeadingText: {\n defaultValue: false,\n description: 'Makes adding a space between `#` and the header text mandatory (GFM Style)',\n type: 'boolean'\n },\n ghMentions: {\n defaultValue: false,\n description: 'Enables github @mentions',\n type: 'boolean'\n },\n ghMentionsLink: {\n defaultValue: 'https://github.com/{u}',\n description: 'Changes the link generated by @mentions. Only applies if ghMentions option is enabled.',\n type: 'string'\n },\n encodeEmails: {\n defaultValue: true,\n description: 'Encode e-mail addresses through the use of Character Entities, transforming ASCII e-mail addresses into its equivalent decimal entities',\n type: 'boolean'\n },\n openLinksInNewWindow: {\n defaultValue: false,\n description: 'Open all links in new windows',\n type: 'boolean'\n },\n backslashEscapesHTMLTags: {\n defaultValue: false,\n description: 'Support for HTML Tag escaping. ex: \\foo\\',\n type: 'boolean'\n },\n emoji: {\n defaultValue: false,\n description: 'Enable emoji support. Ex: `this is a :smile: emoji`',\n type: 'boolean'\n },\n underline: {\n defaultValue: false,\n description: 'Enable support for underline. Syntax is double or triple underscores: `__underline word__`. With this option enabled, underscores no longer parses into `` and ``',\n type: 'boolean'\n },\n completeHTMLDocument: {\n defaultValue: false,\n description: 'Outputs a complete html document, including ``, `` and `` tags',\n type: 'boolean'\n },\n metadata: {\n defaultValue: false,\n description: 'Enable support for document metadata (defined at the top of the document between `«««` and `»»»` or between `---` and `---`).',\n type: 'boolean'\n },\n splitAdjacentBlockquotes: {\n defaultValue: false,\n description: 'Split adjacent blockquote blocks',\n type: 'boolean'\n }\n };\n if (simple === false) {\n return JSON.parse(JSON.stringify(defaultOptions));\n }\n var ret = {};\n for (var opt in defaultOptions) {\n if (defaultOptions.hasOwnProperty(opt)) {\n ret[opt] = defaultOptions[opt].defaultValue;\n }\n }\n return ret;\n}\n\nfunction allOptionsOn () {\n 'use strict';\n var options = getDefaultOpts(true),\n ret = {};\n for (var opt in options) {\n if (options.hasOwnProperty(opt)) {\n ret[opt] = true;\n }\n }\n return ret;\n}\n\r\n/**\n * Created by Tivie on 06-01-2015.\n */\n\n// Private properties\nvar showdown = {},\n parsers = {},\n extensions = {},\n globalOptions = getDefaultOpts(true),\n setFlavor = 'vanilla',\n flavor = {\n github: {\n omitExtraWLInCodeBlocks: true,\n simplifiedAutoLink: true,\n excludeTrailingPunctuationFromURLs: true,\n literalMidWordUnderscores: true,\n strikethrough: true,\n tables: true,\n tablesHeaderId: true,\n ghCodeBlocks: true,\n tasklists: true,\n disableForced4SpacesIndentedSublists: true,\n simpleLineBreaks: true,\n requireSpaceBeforeHeadingText: true,\n ghCompatibleHeaderId: true,\n ghMentions: true,\n backslashEscapesHTMLTags: true,\n emoji: true,\n splitAdjacentBlockquotes: true\n },\n original: {\n noHeaderId: true,\n ghCodeBlocks: false\n },\n ghost: {\n omitExtraWLInCodeBlocks: true,\n parseImgDimensions: true,\n simplifiedAutoLink: true,\n excludeTrailingPunctuationFromURLs: true,\n literalMidWordUnderscores: true,\n strikethrough: true,\n tables: true,\n tablesHeaderId: true,\n ghCodeBlocks: true,\n tasklists: true,\n smoothLivePreview: true,\n simpleLineBreaks: true,\n requireSpaceBeforeHeadingText: true,\n ghMentions: false,\n encodeEmails: true\n },\n vanilla: getDefaultOpts(true),\n allOn: allOptionsOn()\n };\n\n/**\n * helper namespace\n * @type {{}}\n */\nshowdown.helper = {};\n\n/**\n * TODO LEGACY SUPPORT CODE\n * @type {{}}\n */\nshowdown.extensions = {};\n\n/**\n * Set a global option\n * @static\n * @param {string} key\n * @param {*} value\n * @returns {showdown}\n */\nshowdown.setOption = function (key, value) {\n 'use strict';\n globalOptions[key] = value;\n return this;\n};\n\n/**\n * Get a global option\n * @static\n * @param {string} key\n * @returns {*}\n */\nshowdown.getOption = function (key) {\n 'use strict';\n return globalOptions[key];\n};\n\n/**\n * Get the global options\n * @static\n * @returns {{}}\n */\nshowdown.getOptions = function () {\n 'use strict';\n return globalOptions;\n};\n\n/**\n * Reset global options to the default values\n * @static\n */\nshowdown.resetOptions = function () {\n 'use strict';\n globalOptions = getDefaultOpts(true);\n};\n\n/**\n * Set the flavor showdown should use as default\n * @param {string} name\n */\nshowdown.setFlavor = function (name) {\n 'use strict';\n if (!flavor.hasOwnProperty(name)) {\n throw Error(name + ' flavor was not found');\n }\n showdown.resetOptions();\n var preset = flavor[name];\n setFlavor = name;\n for (var option in preset) {\n if (preset.hasOwnProperty(option)) {\n globalOptions[option] = preset[option];\n }\n }\n};\n\n/**\n * Get the currently set flavor\n * @returns {string}\n */\nshowdown.getFlavor = function () {\n 'use strict';\n return setFlavor;\n};\n\n/**\n * Get the options of a specified flavor. Returns undefined if the flavor was not found\n * @param {string} name Name of the flavor\n * @returns {{}|undefined}\n */\nshowdown.getFlavorOptions = function (name) {\n 'use strict';\n if (flavor.hasOwnProperty(name)) {\n return flavor[name];\n }\n};\n\n/**\n * Get the default options\n * @static\n * @param {boolean} [simple=true]\n * @returns {{}}\n */\nshowdown.getDefaultOptions = function (simple) {\n 'use strict';\n return getDefaultOpts(simple);\n};\n\n/**\n * Get or set a subParser\n *\n * subParser(name) - Get a registered subParser\n * subParser(name, func) - Register a subParser\n * @static\n * @param {string} name\n * @param {function} [func]\n * @returns {*}\n */\nshowdown.subParser = function (name, func) {\n 'use strict';\n if (showdown.helper.isString(name)) {\n if (typeof func !== 'undefined') {\n parsers[name] = func;\n } else {\n if (parsers.hasOwnProperty(name)) {\n return parsers[name];\n } else {\n throw Error('SubParser named ' + name + ' not registered!');\n }\n }\n }\n};\n\n/**\n * Gets or registers an extension\n * @static\n * @param {string} name\n * @param {object|function=} ext\n * @returns {*}\n */\nshowdown.extension = function (name, ext) {\n 'use strict';\n\n if (!showdown.helper.isString(name)) {\n throw Error('Extension \\'name\\' must be a string');\n }\n\n name = showdown.helper.stdExtName(name);\n\n // Getter\n if (showdown.helper.isUndefined(ext)) {\n if (!extensions.hasOwnProperty(name)) {\n throw Error('Extension named ' + name + ' is not registered!');\n }\n return extensions[name];\n\n // Setter\n } else {\n // Expand extension if it's wrapped in a function\n if (typeof ext === 'function') {\n ext = ext();\n }\n\n // Ensure extension is an array\n if (!showdown.helper.isArray(ext)) {\n ext = [ext];\n }\n\n var validExtension = validate(ext, name);\n\n if (validExtension.valid) {\n extensions[name] = ext;\n } else {\n throw Error(validExtension.error);\n }\n }\n};\n\n/**\n * Gets all extensions registered\n * @returns {{}}\n */\nshowdown.getAllExtensions = function () {\n 'use strict';\n return extensions;\n};\n\n/**\n * Remove an extension\n * @param {string} name\n */\nshowdown.removeExtension = function (name) {\n 'use strict';\n delete extensions[name];\n};\n\n/**\n * Removes all extensions\n */\nshowdown.resetExtensions = function () {\n 'use strict';\n extensions = {};\n};\n\n/**\n * Validate extension\n * @param {array} extension\n * @param {string} name\n * @returns {{valid: boolean, error: string}}\n */\nfunction validate (extension, name) {\n 'use strict';\n\n var errMsg = (name) ? 'Error in ' + name + ' extension->' : 'Error in unnamed extension',\n ret = {\n valid: true,\n error: ''\n };\n\n if (!showdown.helper.isArray(extension)) {\n extension = [extension];\n }\n\n for (var i = 0; i < extension.length; ++i) {\n var baseMsg = errMsg + ' sub-extension ' + i + ': ',\n ext = extension[i];\n if (typeof ext !== 'object') {\n ret.valid = false;\n ret.error = baseMsg + 'must be an object, but ' + typeof ext + ' given';\n return ret;\n }\n\n if (!showdown.helper.isString(ext.type)) {\n ret.valid = false;\n ret.error = baseMsg + 'property \"type\" must be a string, but ' + typeof ext.type + ' given';\n return ret;\n }\n\n var type = ext.type = ext.type.toLowerCase();\n\n // normalize extension type\n if (type === 'language') {\n type = ext.type = 'lang';\n }\n\n if (type === 'html') {\n type = ext.type = 'output';\n }\n\n if (type !== 'lang' && type !== 'output' && type !== 'listener') {\n ret.valid = false;\n ret.error = baseMsg + 'type ' + type + ' is not recognized. Valid values: \"lang/language\", \"output/html\" or \"listener\"';\n return ret;\n }\n\n if (type === 'listener') {\n if (showdown.helper.isUndefined(ext.listeners)) {\n ret.valid = false;\n ret.error = baseMsg + '. Extensions of type \"listener\" must have a property called \"listeners\"';\n return ret;\n }\n } else {\n if (showdown.helper.isUndefined(ext.filter) && showdown.helper.isUndefined(ext.regex)) {\n ret.valid = false;\n ret.error = baseMsg + type + ' extensions must define either a \"regex\" property or a \"filter\" method';\n return ret;\n }\n }\n\n if (ext.listeners) {\n if (typeof ext.listeners !== 'object') {\n ret.valid = false;\n ret.error = baseMsg + '\"listeners\" property must be an object but ' + typeof ext.listeners + ' given';\n return ret;\n }\n for (var ln in ext.listeners) {\n if (ext.listeners.hasOwnProperty(ln)) {\n if (typeof ext.listeners[ln] !== 'function') {\n ret.valid = false;\n ret.error = baseMsg + '\"listeners\" property must be an hash of [event name]: [callback]. listeners.' + ln +\n ' must be a function but ' + typeof ext.listeners[ln] + ' given';\n return ret;\n }\n }\n }\n }\n\n if (ext.filter) {\n if (typeof ext.filter !== 'function') {\n ret.valid = false;\n ret.error = baseMsg + '\"filter\" must be a function, but ' + typeof ext.filter + ' given';\n return ret;\n }\n } else if (ext.regex) {\n if (showdown.helper.isString(ext.regex)) {\n ext.regex = new RegExp(ext.regex, 'g');\n }\n if (!(ext.regex instanceof RegExp)) {\n ret.valid = false;\n ret.error = baseMsg + '\"regex\" property must either be a string or a RegExp object, but ' + typeof ext.regex + ' given';\n return ret;\n }\n if (showdown.helper.isUndefined(ext.replace)) {\n ret.valid = false;\n ret.error = baseMsg + '\"regex\" extensions must implement a replace string or function';\n return ret;\n }\n }\n }\n return ret;\n}\n\n/**\n * Validate extension\n * @param {object} ext\n * @returns {boolean}\n */\nshowdown.validateExtension = function (ext) {\n 'use strict';\n\n var validateExtension = validate(ext, null);\n if (!validateExtension.valid) {\n console.warn(validateExtension.error);\n return false;\n }\n return true;\n};\n\r\n/**\n * showdownjs helper functions\n */\n\nif (!showdown.hasOwnProperty('helper')) {\n showdown.helper = {};\n}\n\n/**\n * Check if var is string\n * @static\n * @param {string} a\n * @returns {boolean}\n */\nshowdown.helper.isString = function (a) {\n 'use strict';\n return (typeof a === 'string' || a instanceof String);\n};\n\n/**\n * Check if var is a function\n * @static\n * @param {*} a\n * @returns {boolean}\n */\nshowdown.helper.isFunction = function (a) {\n 'use strict';\n var getType = {};\n return a && getType.toString.call(a) === '[object Function]';\n};\n\n/**\n * isArray helper function\n * @static\n * @param {*} a\n * @returns {boolean}\n */\nshowdown.helper.isArray = function (a) {\n 'use strict';\n return Array.isArray(a);\n};\n\n/**\n * Check if value is undefined\n * @static\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is `undefined`, else `false`.\n */\nshowdown.helper.isUndefined = function (value) {\n 'use strict';\n return typeof value === 'undefined';\n};\n\n/**\n * ForEach helper function\n * Iterates over Arrays and Objects (own properties only)\n * @static\n * @param {*} obj\n * @param {function} callback Accepts 3 params: 1. value, 2. key, 3. the original array/object\n */\nshowdown.helper.forEach = function (obj, callback) {\n 'use strict';\n // check if obj is defined\n if (showdown.helper.isUndefined(obj)) {\n throw new Error('obj param is required');\n }\n\n if (showdown.helper.isUndefined(callback)) {\n throw new Error('callback param is required');\n }\n\n if (!showdown.helper.isFunction(callback)) {\n throw new Error('callback param must be a function/closure');\n }\n\n if (typeof obj.forEach === 'function') {\n obj.forEach(callback);\n } else if (showdown.helper.isArray(obj)) {\n for (var i = 0; i < obj.length; i++) {\n callback(obj[i], i, obj);\n }\n } else if (typeof (obj) === 'object') {\n for (var prop in obj) {\n if (obj.hasOwnProperty(prop)) {\n callback(obj[prop], prop, obj);\n }\n }\n } else {\n throw new Error('obj does not seem to be an array or an iterable object');\n }\n};\n\n/**\n * Standardidize extension name\n * @static\n * @param {string} s extension name\n * @returns {string}\n */\nshowdown.helper.stdExtName = function (s) {\n 'use strict';\n return s.replace(/[_?*+\\/\\\\.^-]/g, '').replace(/\\s/g, '').toLowerCase();\n};\n\nfunction escapeCharactersCallback (wholeMatch, m1) {\n 'use strict';\n var charCodeToEscape = m1.charCodeAt(0);\n return '¨E' + charCodeToEscape + 'E';\n}\n\n/**\n * Callback used to escape characters when passing through String.replace\n * @static\n * @param {string} wholeMatch\n * @param {string} m1\n * @returns {string}\n */\nshowdown.helper.escapeCharactersCallback = escapeCharactersCallback;\n\n/**\n * Escape characters in a string\n * @static\n * @param {string} text\n * @param {string} charsToEscape\n * @param {boolean} afterBackslash\n * @returns {XML|string|void|*}\n */\nshowdown.helper.escapeCharacters = function (text, charsToEscape, afterBackslash) {\n 'use strict';\n // First we have to escape the escape characters so that\n // we can build a character class out of them\n var regexString = '([' + charsToEscape.replace(/([\\[\\]\\\\])/g, '\\\\$1') + '])';\n\n if (afterBackslash) {\n regexString = '\\\\\\\\' + regexString;\n }\n\n var regex = new RegExp(regexString, 'g');\n text = text.replace(regex, escapeCharactersCallback);\n\n return text;\n};\n\n/**\n * Unescape HTML entities\n * @param txt\n * @returns {string}\n */\nshowdown.helper.unescapeHTMLEntities = function (txt) {\n 'use strict';\n\n return txt\n .replace(/"/g, '\"')\n .replace(/</g, '<')\n .replace(/>/g, '>')\n .replace(/&/g, '&');\n};\n\nvar rgxFindMatchPos = function (str, left, right, flags) {\n 'use strict';\n var f = flags || '',\n g = f.indexOf('g') > -1,\n x = new RegExp(left + '|' + right, 'g' + f.replace(/g/g, '')),\n l = new RegExp(left, f.replace(/g/g, '')),\n pos = [],\n t, s, m, start, end;\n\n do {\n t = 0;\n while ((m = x.exec(str))) {\n if (l.test(m[0])) {\n if (!(t++)) {\n s = x.lastIndex;\n start = s - m[0].length;\n }\n } else if (t) {\n if (!--t) {\n end = m.index + m[0].length;\n var obj = {\n left: {start: start, end: s},\n match: {start: s, end: m.index},\n right: {start: m.index, end: end},\n wholeMatch: {start: start, end: end}\n };\n pos.push(obj);\n if (!g) {\n return pos;\n }\n }\n }\n }\n } while (t && (x.lastIndex = s));\n\n return pos;\n};\n\n/**\n * matchRecursiveRegExp\n *\n * (c) 2007 Steven Levithan \n * MIT License\n *\n * Accepts a string to search, a left and right format delimiter\n * as regex patterns, and optional regex flags. Returns an array\n * of matches, allowing nested instances of left/right delimiters.\n * Use the \"g\" flag to return all matches, otherwise only the\n * first is returned. Be careful to ensure that the left and\n * right format delimiters produce mutually exclusive matches.\n * Backreferences are not supported within the right delimiter\n * due to how it is internally combined with the left delimiter.\n * When matching strings whose format delimiters are unbalanced\n * to the left or right, the output is intentionally as a\n * conventional regex library with recursion support would\n * produce, e.g. \"<\" and \">\" both produce [\"x\"] when using\n * \"<\" and \">\" as the delimiters (both strings contain a single,\n * balanced instance of \"\").\n *\n * examples:\n * matchRecursiveRegExp(\"test\", \"\\\\(\", \"\\\\)\")\n * returns: []\n * matchRecursiveRegExp(\">>t<>\", \"<\", \">\", \"g\")\n * returns: [\"t<>\", \"\"]\n * matchRecursiveRegExp(\"test\", \"]*>\", \"\", \"gi\")\n * returns: [\"test\"]\n */\nshowdown.helper.matchRecursiveRegExp = function (str, left, right, flags) {\n 'use strict';\n\n var matchPos = rgxFindMatchPos (str, left, right, flags),\n results = [];\n\n for (var i = 0; i < matchPos.length; ++i) {\n results.push([\n str.slice(matchPos[i].wholeMatch.start, matchPos[i].wholeMatch.end),\n str.slice(matchPos[i].match.start, matchPos[i].match.end),\n str.slice(matchPos[i].left.start, matchPos[i].left.end),\n str.slice(matchPos[i].right.start, matchPos[i].right.end)\n ]);\n }\n return results;\n};\n\n/**\n *\n * @param {string} str\n * @param {string|function} replacement\n * @param {string} left\n * @param {string} right\n * @param {string} flags\n * @returns {string}\n */\nshowdown.helper.replaceRecursiveRegExp = function (str, replacement, left, right, flags) {\n 'use strict';\n\n if (!showdown.helper.isFunction(replacement)) {\n var repStr = replacement;\n replacement = function () {\n return repStr;\n };\n }\n\n var matchPos = rgxFindMatchPos(str, left, right, flags),\n finalStr = str,\n lng = matchPos.length;\n\n if (lng > 0) {\n var bits = [];\n if (matchPos[0].wholeMatch.start !== 0) {\n bits.push(str.slice(0, matchPos[0].wholeMatch.start));\n }\n for (var i = 0; i < lng; ++i) {\n bits.push(\n replacement(\n str.slice(matchPos[i].wholeMatch.start, matchPos[i].wholeMatch.end),\n str.slice(matchPos[i].match.start, matchPos[i].match.end),\n str.slice(matchPos[i].left.start, matchPos[i].left.end),\n str.slice(matchPos[i].right.start, matchPos[i].right.end)\n )\n );\n if (i < lng - 1) {\n bits.push(str.slice(matchPos[i].wholeMatch.end, matchPos[i + 1].wholeMatch.start));\n }\n }\n if (matchPos[lng - 1].wholeMatch.end < str.length) {\n bits.push(str.slice(matchPos[lng - 1].wholeMatch.end));\n }\n finalStr = bits.join('');\n }\n return finalStr;\n};\n\n/**\n * Returns the index within the passed String object of the first occurrence of the specified regex,\n * starting the search at fromIndex. Returns -1 if the value is not found.\n *\n * @param {string} str string to search\n * @param {RegExp} regex Regular expression to search\n * @param {int} [fromIndex = 0] Index to start the search\n * @returns {Number}\n * @throws InvalidArgumentError\n */\nshowdown.helper.regexIndexOf = function (str, regex, fromIndex) {\n 'use strict';\n if (!showdown.helper.isString(str)) {\n throw 'InvalidArgumentError: first parameter of showdown.helper.regexIndexOf function must be a string';\n }\n if (regex instanceof RegExp === false) {\n throw 'InvalidArgumentError: second parameter of showdown.helper.regexIndexOf function must be an instance of RegExp';\n }\n var indexOf = str.substring(fromIndex || 0).search(regex);\n return (indexOf >= 0) ? (indexOf + (fromIndex || 0)) : indexOf;\n};\n\n/**\n * Splits the passed string object at the defined index, and returns an array composed of the two substrings\n * @param {string} str string to split\n * @param {int} index index to split string at\n * @returns {[string,string]}\n * @throws InvalidArgumentError\n */\nshowdown.helper.splitAtIndex = function (str, index) {\n 'use strict';\n if (!showdown.helper.isString(str)) {\n throw 'InvalidArgumentError: first parameter of showdown.helper.regexIndexOf function must be a string';\n }\n return [str.substring(0, index), str.substring(index)];\n};\n\n/**\n * Obfuscate an e-mail address through the use of Character Entities,\n * transforming ASCII characters into their equivalent decimal or hex entities.\n *\n * Since it has a random component, subsequent calls to this function produce different results\n *\n * @param {string} mail\n * @returns {string}\n */\nshowdown.helper.encodeEmailAddress = function (mail) {\n 'use strict';\n var encode = [\n function (ch) {\n return '' + ch.charCodeAt(0) + ';';\n },\n function (ch) {\n return '' + ch.charCodeAt(0).toString(16) + ';';\n },\n function (ch) {\n return ch;\n }\n ];\n\n mail = mail.replace(/./g, function (ch) {\n if (ch === '@') {\n // this *must* be encoded. I insist.\n ch = encode[Math.floor(Math.random() * 2)](ch);\n } else {\n var r = Math.random();\n // roughly 10% raw, 45% hex, 45% dec\n ch = (\n r > 0.9 ? encode[2](ch) : r > 0.45 ? encode[1](ch) : encode[0](ch)\n );\n }\n return ch;\n });\n\n return mail;\n};\n\n/**\n *\n * @param str\n * @param targetLength\n * @param padString\n * @returns {string}\n */\nshowdown.helper.padEnd = function padEnd (str, targetLength, padString) {\n 'use strict';\n /*jshint bitwise: false*/\n // eslint-disable-next-line space-infix-ops\n targetLength = targetLength>>0; //floor if number or convert non-number to 0;\n /*jshint bitwise: true*/\n padString = String(padString || ' ');\n if (str.length > targetLength) {\n return String(str);\n } else {\n targetLength = targetLength - str.length;\n if (targetLength > padString.length) {\n padString += padString.repeat(targetLength / padString.length); //append to original to ensure we are longer than needed\n }\n return String(str) + padString.slice(0,targetLength);\n }\n};\n\n/**\n * POLYFILLS\n */\n// use this instead of builtin is undefined for IE8 compatibility\nif (typeof console === 'undefined') {\n console = {\n warn: function (msg) {\n 'use strict';\n alert(msg);\n },\n log: function (msg) {\n 'use strict';\n alert(msg);\n },\n error: function (msg) {\n 'use strict';\n throw msg;\n }\n };\n}\n\n/**\n * Common regexes.\n * We declare some common regexes to improve performance\n */\nshowdown.helper.regexes = {\n asteriskDashAndColon: /([*_:~])/g\n};\n\n/**\n * EMOJIS LIST\n */\nshowdown.helper.emojis = {\n '+1':'\\ud83d\\udc4d',\n '-1':'\\ud83d\\udc4e',\n '100':'\\ud83d\\udcaf',\n '1234':'\\ud83d\\udd22',\n '1st_place_medal':'\\ud83e\\udd47',\n '2nd_place_medal':'\\ud83e\\udd48',\n '3rd_place_medal':'\\ud83e\\udd49',\n '8ball':'\\ud83c\\udfb1',\n 'a':'\\ud83c\\udd70\\ufe0f',\n 'ab':'\\ud83c\\udd8e',\n 'abc':'\\ud83d\\udd24',\n 'abcd':'\\ud83d\\udd21',\n 'accept':'\\ud83c\\ude51',\n 'aerial_tramway':'\\ud83d\\udea1',\n 'airplane':'\\u2708\\ufe0f',\n 'alarm_clock':'\\u23f0',\n 'alembic':'\\u2697\\ufe0f',\n 'alien':'\\ud83d\\udc7d',\n 'ambulance':'\\ud83d\\ude91',\n 'amphora':'\\ud83c\\udffa',\n 'anchor':'\\u2693\\ufe0f',\n 'angel':'\\ud83d\\udc7c',\n 'anger':'\\ud83d\\udca2',\n 'angry':'\\ud83d\\ude20',\n 'anguished':'\\ud83d\\ude27',\n 'ant':'\\ud83d\\udc1c',\n 'apple':'\\ud83c\\udf4e',\n 'aquarius':'\\u2652\\ufe0f',\n 'aries':'\\u2648\\ufe0f',\n 'arrow_backward':'\\u25c0\\ufe0f',\n 'arrow_double_down':'\\u23ec',\n 'arrow_double_up':'\\u23eb',\n 'arrow_down':'\\u2b07\\ufe0f',\n 'arrow_down_small':'\\ud83d\\udd3d',\n 'arrow_forward':'\\u25b6\\ufe0f',\n 'arrow_heading_down':'\\u2935\\ufe0f',\n 'arrow_heading_up':'\\u2934\\ufe0f',\n 'arrow_left':'\\u2b05\\ufe0f',\n 'arrow_lower_left':'\\u2199\\ufe0f',\n 'arrow_lower_right':'\\u2198\\ufe0f',\n 'arrow_right':'\\u27a1\\ufe0f',\n 'arrow_right_hook':'\\u21aa\\ufe0f',\n 'arrow_up':'\\u2b06\\ufe0f',\n 'arrow_up_down':'\\u2195\\ufe0f',\n 'arrow_up_small':'\\ud83d\\udd3c',\n 'arrow_upper_left':'\\u2196\\ufe0f',\n 'arrow_upper_right':'\\u2197\\ufe0f',\n 'arrows_clockwise':'\\ud83d\\udd03',\n 'arrows_counterclockwise':'\\ud83d\\udd04',\n 'art':'\\ud83c\\udfa8',\n 'articulated_lorry':'\\ud83d\\ude9b',\n 'artificial_satellite':'\\ud83d\\udef0',\n 'astonished':'\\ud83d\\ude32',\n 'athletic_shoe':'\\ud83d\\udc5f',\n 'atm':'\\ud83c\\udfe7',\n 'atom_symbol':'\\u269b\\ufe0f',\n 'avocado':'\\ud83e\\udd51',\n 'b':'\\ud83c\\udd71\\ufe0f',\n 'baby':'\\ud83d\\udc76',\n 'baby_bottle':'\\ud83c\\udf7c',\n 'baby_chick':'\\ud83d\\udc24',\n 'baby_symbol':'\\ud83d\\udebc',\n 'back':'\\ud83d\\udd19',\n 'bacon':'\\ud83e\\udd53',\n 'badminton':'\\ud83c\\udff8',\n 'baggage_claim':'\\ud83d\\udec4',\n 'baguette_bread':'\\ud83e\\udd56',\n 'balance_scale':'\\u2696\\ufe0f',\n 'balloon':'\\ud83c\\udf88',\n 'ballot_box':'\\ud83d\\uddf3',\n 'ballot_box_with_check':'\\u2611\\ufe0f',\n 'bamboo':'\\ud83c\\udf8d',\n 'banana':'\\ud83c\\udf4c',\n 'bangbang':'\\u203c\\ufe0f',\n 'bank':'\\ud83c\\udfe6',\n 'bar_chart':'\\ud83d\\udcca',\n 'barber':'\\ud83d\\udc88',\n 'baseball':'\\u26be\\ufe0f',\n 'basketball':'\\ud83c\\udfc0',\n 'basketball_man':'\\u26f9\\ufe0f',\n 'basketball_woman':'\\u26f9\\ufe0f\\u2640\\ufe0f',\n 'bat':'\\ud83e\\udd87',\n 'bath':'\\ud83d\\udec0',\n 'bathtub':'\\ud83d\\udec1',\n 'battery':'\\ud83d\\udd0b',\n 'beach_umbrella':'\\ud83c\\udfd6',\n 'bear':'\\ud83d\\udc3b',\n 'bed':'\\ud83d\\udecf',\n 'bee':'\\ud83d\\udc1d',\n 'beer':'\\ud83c\\udf7a',\n 'beers':'\\ud83c\\udf7b',\n 'beetle':'\\ud83d\\udc1e',\n 'beginner':'\\ud83d\\udd30',\n 'bell':'\\ud83d\\udd14',\n 'bellhop_bell':'\\ud83d\\udece',\n 'bento':'\\ud83c\\udf71',\n 'biking_man':'\\ud83d\\udeb4',\n 'bike':'\\ud83d\\udeb2',\n 'biking_woman':'\\ud83d\\udeb4\\u2640\\ufe0f',\n 'bikini':'\\ud83d\\udc59',\n 'biohazard':'\\u2623\\ufe0f',\n 'bird':'\\ud83d\\udc26',\n 'birthday':'\\ud83c\\udf82',\n 'black_circle':'\\u26ab\\ufe0f',\n 'black_flag':'\\ud83c\\udff4',\n 'black_heart':'\\ud83d\\udda4',\n 'black_joker':'\\ud83c\\udccf',\n 'black_large_square':'\\u2b1b\\ufe0f',\n 'black_medium_small_square':'\\u25fe\\ufe0f',\n 'black_medium_square':'\\u25fc\\ufe0f',\n 'black_nib':'\\u2712\\ufe0f',\n 'black_small_square':'\\u25aa\\ufe0f',\n 'black_square_button':'\\ud83d\\udd32',\n 'blonde_man':'\\ud83d\\udc71',\n 'blonde_woman':'\\ud83d\\udc71\\u2640\\ufe0f',\n 'blossom':'\\ud83c\\udf3c',\n 'blowfish':'\\ud83d\\udc21',\n 'blue_book':'\\ud83d\\udcd8',\n 'blue_car':'\\ud83d\\ude99',\n 'blue_heart':'\\ud83d\\udc99',\n 'blush':'\\ud83d\\ude0a',\n 'boar':'\\ud83d\\udc17',\n 'boat':'\\u26f5\\ufe0f',\n 'bomb':'\\ud83d\\udca3',\n 'book':'\\ud83d\\udcd6',\n 'bookmark':'\\ud83d\\udd16',\n 'bookmark_tabs':'\\ud83d\\udcd1',\n 'books':'\\ud83d\\udcda',\n 'boom':'\\ud83d\\udca5',\n 'boot':'\\ud83d\\udc62',\n 'bouquet':'\\ud83d\\udc90',\n 'bowing_man':'\\ud83d\\ude47',\n 'bow_and_arrow':'\\ud83c\\udff9',\n 'bowing_woman':'\\ud83d\\ude47\\u2640\\ufe0f',\n 'bowling':'\\ud83c\\udfb3',\n 'boxing_glove':'\\ud83e\\udd4a',\n 'boy':'\\ud83d\\udc66',\n 'bread':'\\ud83c\\udf5e',\n 'bride_with_veil':'\\ud83d\\udc70',\n 'bridge_at_night':'\\ud83c\\udf09',\n 'briefcase':'\\ud83d\\udcbc',\n 'broken_heart':'\\ud83d\\udc94',\n 'bug':'\\ud83d\\udc1b',\n 'building_construction':'\\ud83c\\udfd7',\n 'bulb':'\\ud83d\\udca1',\n 'bullettrain_front':'\\ud83d\\ude85',\n 'bullettrain_side':'\\ud83d\\ude84',\n 'burrito':'\\ud83c\\udf2f',\n 'bus':'\\ud83d\\ude8c',\n 'business_suit_levitating':'\\ud83d\\udd74',\n 'busstop':'\\ud83d\\ude8f',\n 'bust_in_silhouette':'\\ud83d\\udc64',\n 'busts_in_silhouette':'\\ud83d\\udc65',\n 'butterfly':'\\ud83e\\udd8b',\n 'cactus':'\\ud83c\\udf35',\n 'cake':'\\ud83c\\udf70',\n 'calendar':'\\ud83d\\udcc6',\n 'call_me_hand':'\\ud83e\\udd19',\n 'calling':'\\ud83d\\udcf2',\n 'camel':'\\ud83d\\udc2b',\n 'camera':'\\ud83d\\udcf7',\n 'camera_flash':'\\ud83d\\udcf8',\n 'camping':'\\ud83c\\udfd5',\n 'cancer':'\\u264b\\ufe0f',\n 'candle':'\\ud83d\\udd6f',\n 'candy':'\\ud83c\\udf6c',\n 'canoe':'\\ud83d\\udef6',\n 'capital_abcd':'\\ud83d\\udd20',\n 'capricorn':'\\u2651\\ufe0f',\n 'car':'\\ud83d\\ude97',\n 'card_file_box':'\\ud83d\\uddc3',\n 'card_index':'\\ud83d\\udcc7',\n 'card_index_dividers':'\\ud83d\\uddc2',\n 'carousel_horse':'\\ud83c\\udfa0',\n 'carrot':'\\ud83e\\udd55',\n 'cat':'\\ud83d\\udc31',\n 'cat2':'\\ud83d\\udc08',\n 'cd':'\\ud83d\\udcbf',\n 'chains':'\\u26d3',\n 'champagne':'\\ud83c\\udf7e',\n 'chart':'\\ud83d\\udcb9',\n 'chart_with_downwards_trend':'\\ud83d\\udcc9',\n 'chart_with_upwards_trend':'\\ud83d\\udcc8',\n 'checkered_flag':'\\ud83c\\udfc1',\n 'cheese':'\\ud83e\\uddc0',\n 'cherries':'\\ud83c\\udf52',\n 'cherry_blossom':'\\ud83c\\udf38',\n 'chestnut':'\\ud83c\\udf30',\n 'chicken':'\\ud83d\\udc14',\n 'children_crossing':'\\ud83d\\udeb8',\n 'chipmunk':'\\ud83d\\udc3f',\n 'chocolate_bar':'\\ud83c\\udf6b',\n 'christmas_tree':'\\ud83c\\udf84',\n 'church':'\\u26ea\\ufe0f',\n 'cinema':'\\ud83c\\udfa6',\n 'circus_tent':'\\ud83c\\udfaa',\n 'city_sunrise':'\\ud83c\\udf07',\n 'city_sunset':'\\ud83c\\udf06',\n 'cityscape':'\\ud83c\\udfd9',\n 'cl':'\\ud83c\\udd91',\n 'clamp':'\\ud83d\\udddc',\n 'clap':'\\ud83d\\udc4f',\n 'clapper':'\\ud83c\\udfac',\n 'classical_building':'\\ud83c\\udfdb',\n 'clinking_glasses':'\\ud83e\\udd42',\n 'clipboard':'\\ud83d\\udccb',\n 'clock1':'\\ud83d\\udd50',\n 'clock10':'\\ud83d\\udd59',\n 'clock1030':'\\ud83d\\udd65',\n 'clock11':'\\ud83d\\udd5a',\n 'clock1130':'\\ud83d\\udd66',\n 'clock12':'\\ud83d\\udd5b',\n 'clock1230':'\\ud83d\\udd67',\n 'clock130':'\\ud83d\\udd5c',\n 'clock2':'\\ud83d\\udd51',\n 'clock230':'\\ud83d\\udd5d',\n 'clock3':'\\ud83d\\udd52',\n 'clock330':'\\ud83d\\udd5e',\n 'clock4':'\\ud83d\\udd53',\n 'clock430':'\\ud83d\\udd5f',\n 'clock5':'\\ud83d\\udd54',\n 'clock530':'\\ud83d\\udd60',\n 'clock6':'\\ud83d\\udd55',\n 'clock630':'\\ud83d\\udd61',\n 'clock7':'\\ud83d\\udd56',\n 'clock730':'\\ud83d\\udd62',\n 'clock8':'\\ud83d\\udd57',\n 'clock830':'\\ud83d\\udd63',\n 'clock9':'\\ud83d\\udd58',\n 'clock930':'\\ud83d\\udd64',\n 'closed_book':'\\ud83d\\udcd5',\n 'closed_lock_with_key':'\\ud83d\\udd10',\n 'closed_umbrella':'\\ud83c\\udf02',\n 'cloud':'\\u2601\\ufe0f',\n 'cloud_with_lightning':'\\ud83c\\udf29',\n 'cloud_with_lightning_and_rain':'\\u26c8',\n 'cloud_with_rain':'\\ud83c\\udf27',\n 'cloud_with_snow':'\\ud83c\\udf28',\n 'clown_face':'\\ud83e\\udd21',\n 'clubs':'\\u2663\\ufe0f',\n 'cocktail':'\\ud83c\\udf78',\n 'coffee':'\\u2615\\ufe0f',\n 'coffin':'\\u26b0\\ufe0f',\n 'cold_sweat':'\\ud83d\\ude30',\n 'comet':'\\u2604\\ufe0f',\n 'computer':'\\ud83d\\udcbb',\n 'computer_mouse':'\\ud83d\\uddb1',\n 'confetti_ball':'\\ud83c\\udf8a',\n 'confounded':'\\ud83d\\ude16',\n 'confused':'\\ud83d\\ude15',\n 'congratulations':'\\u3297\\ufe0f',\n 'construction':'\\ud83d\\udea7',\n 'construction_worker_man':'\\ud83d\\udc77',\n 'construction_worker_woman':'\\ud83d\\udc77\\u2640\\ufe0f',\n 'control_knobs':'\\ud83c\\udf9b',\n 'convenience_store':'\\ud83c\\udfea',\n 'cookie':'\\ud83c\\udf6a',\n 'cool':'\\ud83c\\udd92',\n 'policeman':'\\ud83d\\udc6e',\n 'copyright':'\\u00a9\\ufe0f',\n 'corn':'\\ud83c\\udf3d',\n 'couch_and_lamp':'\\ud83d\\udecb',\n 'couple':'\\ud83d\\udc6b',\n 'couple_with_heart_woman_man':'\\ud83d\\udc91',\n 'couple_with_heart_man_man':'\\ud83d\\udc68\\u2764\\ufe0f\\ud83d\\udc68',\n 'couple_with_heart_woman_woman':'\\ud83d\\udc69\\u2764\\ufe0f\\ud83d\\udc69',\n 'couplekiss_man_man':'\\ud83d\\udc68\\u2764\\ufe0f\\ud83d\\udc8b\\ud83d\\udc68',\n 'couplekiss_man_woman':'\\ud83d\\udc8f',\n 'couplekiss_woman_woman':'\\ud83d\\udc69\\u2764\\ufe0f\\ud83d\\udc8b\\ud83d\\udc69',\n 'cow':'\\ud83d\\udc2e',\n 'cow2':'\\ud83d\\udc04',\n 'cowboy_hat_face':'\\ud83e\\udd20',\n 'crab':'\\ud83e\\udd80',\n 'crayon':'\\ud83d\\udd8d',\n 'credit_card':'\\ud83d\\udcb3',\n 'crescent_moon':'\\ud83c\\udf19',\n 'cricket':'\\ud83c\\udfcf',\n 'crocodile':'\\ud83d\\udc0a',\n 'croissant':'\\ud83e\\udd50',\n 'crossed_fingers':'\\ud83e\\udd1e',\n 'crossed_flags':'\\ud83c\\udf8c',\n 'crossed_swords':'\\u2694\\ufe0f',\n 'crown':'\\ud83d\\udc51',\n 'cry':'\\ud83d\\ude22',\n 'crying_cat_face':'\\ud83d\\ude3f',\n 'crystal_ball':'\\ud83d\\udd2e',\n 'cucumber':'\\ud83e\\udd52',\n 'cupid':'\\ud83d\\udc98',\n 'curly_loop':'\\u27b0',\n 'currency_exchange':'\\ud83d\\udcb1',\n 'curry':'\\ud83c\\udf5b',\n 'custard':'\\ud83c\\udf6e',\n 'customs':'\\ud83d\\udec3',\n 'cyclone':'\\ud83c\\udf00',\n 'dagger':'\\ud83d\\udde1',\n 'dancer':'\\ud83d\\udc83',\n 'dancing_women':'\\ud83d\\udc6f',\n 'dancing_men':'\\ud83d\\udc6f\\u2642\\ufe0f',\n 'dango':'\\ud83c\\udf61',\n 'dark_sunglasses':'\\ud83d\\udd76',\n 'dart':'\\ud83c\\udfaf',\n 'dash':'\\ud83d\\udca8',\n 'date':'\\ud83d\\udcc5',\n 'deciduous_tree':'\\ud83c\\udf33',\n 'deer':'\\ud83e\\udd8c',\n 'department_store':'\\ud83c\\udfec',\n 'derelict_house':'\\ud83c\\udfda',\n 'desert':'\\ud83c\\udfdc',\n 'desert_island':'\\ud83c\\udfdd',\n 'desktop_computer':'\\ud83d\\udda5',\n 'male_detective':'\\ud83d\\udd75\\ufe0f',\n 'diamond_shape_with_a_dot_inside':'\\ud83d\\udca0',\n 'diamonds':'\\u2666\\ufe0f',\n 'disappointed':'\\ud83d\\ude1e',\n 'disappointed_relieved':'\\ud83d\\ude25',\n 'dizzy':'\\ud83d\\udcab',\n 'dizzy_face':'\\ud83d\\ude35',\n 'do_not_litter':'\\ud83d\\udeaf',\n 'dog':'\\ud83d\\udc36',\n 'dog2':'\\ud83d\\udc15',\n 'dollar':'\\ud83d\\udcb5',\n 'dolls':'\\ud83c\\udf8e',\n 'dolphin':'\\ud83d\\udc2c',\n 'door':'\\ud83d\\udeaa',\n 'doughnut':'\\ud83c\\udf69',\n 'dove':'\\ud83d\\udd4a',\n 'dragon':'\\ud83d\\udc09',\n 'dragon_face':'\\ud83d\\udc32',\n 'dress':'\\ud83d\\udc57',\n 'dromedary_camel':'\\ud83d\\udc2a',\n 'drooling_face':'\\ud83e\\udd24',\n 'droplet':'\\ud83d\\udca7',\n 'drum':'\\ud83e\\udd41',\n 'duck':'\\ud83e\\udd86',\n 'dvd':'\\ud83d\\udcc0',\n 'e-mail':'\\ud83d\\udce7',\n 'eagle':'\\ud83e\\udd85',\n 'ear':'\\ud83d\\udc42',\n 'ear_of_rice':'\\ud83c\\udf3e',\n 'earth_africa':'\\ud83c\\udf0d',\n 'earth_americas':'\\ud83c\\udf0e',\n 'earth_asia':'\\ud83c\\udf0f',\n 'egg':'\\ud83e\\udd5a',\n 'eggplant':'\\ud83c\\udf46',\n 'eight_pointed_black_star':'\\u2734\\ufe0f',\n 'eight_spoked_asterisk':'\\u2733\\ufe0f',\n 'electric_plug':'\\ud83d\\udd0c',\n 'elephant':'\\ud83d\\udc18',\n 'email':'\\u2709\\ufe0f',\n 'end':'\\ud83d\\udd1a',\n 'envelope_with_arrow':'\\ud83d\\udce9',\n 'euro':'\\ud83d\\udcb6',\n 'european_castle':'\\ud83c\\udff0',\n 'european_post_office':'\\ud83c\\udfe4',\n 'evergreen_tree':'\\ud83c\\udf32',\n 'exclamation':'\\u2757\\ufe0f',\n 'expressionless':'\\ud83d\\ude11',\n 'eye':'\\ud83d\\udc41',\n 'eye_speech_bubble':'\\ud83d\\udc41\\ud83d\\udde8',\n 'eyeglasses':'\\ud83d\\udc53',\n 'eyes':'\\ud83d\\udc40',\n 'face_with_head_bandage':'\\ud83e\\udd15',\n 'face_with_thermometer':'\\ud83e\\udd12',\n 'fist_oncoming':'\\ud83d\\udc4a',\n 'factory':'\\ud83c\\udfed',\n 'fallen_leaf':'\\ud83c\\udf42',\n 'family_man_woman_boy':'\\ud83d\\udc6a',\n 'family_man_boy':'\\ud83d\\udc68\\ud83d\\udc66',\n 'family_man_boy_boy':'\\ud83d\\udc68\\ud83d\\udc66\\ud83d\\udc66',\n 'family_man_girl':'\\ud83d\\udc68\\ud83d\\udc67',\n 'family_man_girl_boy':'\\ud83d\\udc68\\ud83d\\udc67\\ud83d\\udc66',\n 'family_man_girl_girl':'\\ud83d\\udc68\\ud83d\\udc67\\ud83d\\udc67',\n 'family_man_man_boy':'\\ud83d\\udc68\\ud83d\\udc68\\ud83d\\udc66',\n 'family_man_man_boy_boy':'\\ud83d\\udc68\\ud83d\\udc68\\ud83d\\udc66\\ud83d\\udc66',\n 'family_man_man_girl':'\\ud83d\\udc68\\ud83d\\udc68\\ud83d\\udc67',\n 'family_man_man_girl_boy':'\\ud83d\\udc68\\ud83d\\udc68\\ud83d\\udc67\\ud83d\\udc66',\n 'family_man_man_girl_girl':'\\ud83d\\udc68\\ud83d\\udc68\\ud83d\\udc67\\ud83d\\udc67',\n 'family_man_woman_boy_boy':'\\ud83d\\udc68\\ud83d\\udc69\\ud83d\\udc66\\ud83d\\udc66',\n 'family_man_woman_girl':'\\ud83d\\udc68\\ud83d\\udc69\\ud83d\\udc67',\n 'family_man_woman_girl_boy':'\\ud83d\\udc68\\ud83d\\udc69\\ud83d\\udc67\\ud83d\\udc66',\n 'family_man_woman_girl_girl':'\\ud83d\\udc68\\ud83d\\udc69\\ud83d\\udc67\\ud83d\\udc67',\n 'family_woman_boy':'\\ud83d\\udc69\\ud83d\\udc66',\n 'family_woman_boy_boy':'\\ud83d\\udc69\\ud83d\\udc66\\ud83d\\udc66',\n 'family_woman_girl':'\\ud83d\\udc69\\ud83d\\udc67',\n 'family_woman_girl_boy':'\\ud83d\\udc69\\ud83d\\udc67\\ud83d\\udc66',\n 'family_woman_girl_girl':'\\ud83d\\udc69\\ud83d\\udc67\\ud83d\\udc67',\n 'family_woman_woman_boy':'\\ud83d\\udc69\\ud83d\\udc69\\ud83d\\udc66',\n 'family_woman_woman_boy_boy':'\\ud83d\\udc69\\ud83d\\udc69\\ud83d\\udc66\\ud83d\\udc66',\n 'family_woman_woman_girl':'\\ud83d\\udc69\\ud83d\\udc69\\ud83d\\udc67',\n 'family_woman_woman_girl_boy':'\\ud83d\\udc69\\ud83d\\udc69\\ud83d\\udc67\\ud83d\\udc66',\n 'family_woman_woman_girl_girl':'\\ud83d\\udc69\\ud83d\\udc69\\ud83d\\udc67\\ud83d\\udc67',\n 'fast_forward':'\\u23e9',\n 'fax':'\\ud83d\\udce0',\n 'fearful':'\\ud83d\\ude28',\n 'feet':'\\ud83d\\udc3e',\n 'female_detective':'\\ud83d\\udd75\\ufe0f\\u2640\\ufe0f',\n 'ferris_wheel':'\\ud83c\\udfa1',\n 'ferry':'\\u26f4',\n 'field_hockey':'\\ud83c\\udfd1',\n 'file_cabinet':'\\ud83d\\uddc4',\n 'file_folder':'\\ud83d\\udcc1',\n 'film_projector':'\\ud83d\\udcfd',\n 'film_strip':'\\ud83c\\udf9e',\n 'fire':'\\ud83d\\udd25',\n 'fire_engine':'\\ud83d\\ude92',\n 'fireworks':'\\ud83c\\udf86',\n 'first_quarter_moon':'\\ud83c\\udf13',\n 'first_quarter_moon_with_face':'\\ud83c\\udf1b',\n 'fish':'\\ud83d\\udc1f',\n 'fish_cake':'\\ud83c\\udf65',\n 'fishing_pole_and_fish':'\\ud83c\\udfa3',\n 'fist_raised':'\\u270a',\n 'fist_left':'\\ud83e\\udd1b',\n 'fist_right':'\\ud83e\\udd1c',\n 'flags':'\\ud83c\\udf8f',\n 'flashlight':'\\ud83d\\udd26',\n 'fleur_de_lis':'\\u269c\\ufe0f',\n 'flight_arrival':'\\ud83d\\udeec',\n 'flight_departure':'\\ud83d\\udeeb',\n 'floppy_disk':'\\ud83d\\udcbe',\n 'flower_playing_cards':'\\ud83c\\udfb4',\n 'flushed':'\\ud83d\\ude33',\n 'fog':'\\ud83c\\udf2b',\n 'foggy':'\\ud83c\\udf01',\n 'football':'\\ud83c\\udfc8',\n 'footprints':'\\ud83d\\udc63',\n 'fork_and_knife':'\\ud83c\\udf74',\n 'fountain':'\\u26f2\\ufe0f',\n 'fountain_pen':'\\ud83d\\udd8b',\n 'four_leaf_clover':'\\ud83c\\udf40',\n 'fox_face':'\\ud83e\\udd8a',\n 'framed_picture':'\\ud83d\\uddbc',\n 'free':'\\ud83c\\udd93',\n 'fried_egg':'\\ud83c\\udf73',\n 'fried_shrimp':'\\ud83c\\udf64',\n 'fries':'\\ud83c\\udf5f',\n 'frog':'\\ud83d\\udc38',\n 'frowning':'\\ud83d\\ude26',\n 'frowning_face':'\\u2639\\ufe0f',\n 'frowning_man':'\\ud83d\\ude4d\\u2642\\ufe0f',\n 'frowning_woman':'\\ud83d\\ude4d',\n 'middle_finger':'\\ud83d\\udd95',\n 'fuelpump':'\\u26fd\\ufe0f',\n 'full_moon':'\\ud83c\\udf15',\n 'full_moon_with_face':'\\ud83c\\udf1d',\n 'funeral_urn':'\\u26b1\\ufe0f',\n 'game_die':'\\ud83c\\udfb2',\n 'gear':'\\u2699\\ufe0f',\n 'gem':'\\ud83d\\udc8e',\n 'gemini':'\\u264a\\ufe0f',\n 'ghost':'\\ud83d\\udc7b',\n 'gift':'\\ud83c\\udf81',\n 'gift_heart':'\\ud83d\\udc9d',\n 'girl':'\\ud83d\\udc67',\n 'globe_with_meridians':'\\ud83c\\udf10',\n 'goal_net':'\\ud83e\\udd45',\n 'goat':'\\ud83d\\udc10',\n 'golf':'\\u26f3\\ufe0f',\n 'golfing_man':'\\ud83c\\udfcc\\ufe0f',\n 'golfing_woman':'\\ud83c\\udfcc\\ufe0f\\u2640\\ufe0f',\n 'gorilla':'\\ud83e\\udd8d',\n 'grapes':'\\ud83c\\udf47',\n 'green_apple':'\\ud83c\\udf4f',\n 'green_book':'\\ud83d\\udcd7',\n 'green_heart':'\\ud83d\\udc9a',\n 'green_salad':'\\ud83e\\udd57',\n 'grey_exclamation':'\\u2755',\n 'grey_question':'\\u2754',\n 'grimacing':'\\ud83d\\ude2c',\n 'grin':'\\ud83d\\ude01',\n 'grinning':'\\ud83d\\ude00',\n 'guardsman':'\\ud83d\\udc82',\n 'guardswoman':'\\ud83d\\udc82\\u2640\\ufe0f',\n 'guitar':'\\ud83c\\udfb8',\n 'gun':'\\ud83d\\udd2b',\n 'haircut_woman':'\\ud83d\\udc87',\n 'haircut_man':'\\ud83d\\udc87\\u2642\\ufe0f',\n 'hamburger':'\\ud83c\\udf54',\n 'hammer':'\\ud83d\\udd28',\n 'hammer_and_pick':'\\u2692',\n 'hammer_and_wrench':'\\ud83d\\udee0',\n 'hamster':'\\ud83d\\udc39',\n 'hand':'\\u270b',\n 'handbag':'\\ud83d\\udc5c',\n 'handshake':'\\ud83e\\udd1d',\n 'hankey':'\\ud83d\\udca9',\n 'hatched_chick':'\\ud83d\\udc25',\n 'hatching_chick':'\\ud83d\\udc23',\n 'headphones':'\\ud83c\\udfa7',\n 'hear_no_evil':'\\ud83d\\ude49',\n 'heart':'\\u2764\\ufe0f',\n 'heart_decoration':'\\ud83d\\udc9f',\n 'heart_eyes':'\\ud83d\\ude0d',\n 'heart_eyes_cat':'\\ud83d\\ude3b',\n 'heartbeat':'\\ud83d\\udc93',\n 'heartpulse':'\\ud83d\\udc97',\n 'hearts':'\\u2665\\ufe0f',\n 'heavy_check_mark':'\\u2714\\ufe0f',\n 'heavy_division_sign':'\\u2797',\n 'heavy_dollar_sign':'\\ud83d\\udcb2',\n 'heavy_heart_exclamation':'\\u2763\\ufe0f',\n 'heavy_minus_sign':'\\u2796',\n 'heavy_multiplication_x':'\\u2716\\ufe0f',\n 'heavy_plus_sign':'\\u2795',\n 'helicopter':'\\ud83d\\ude81',\n 'herb':'\\ud83c\\udf3f',\n 'hibiscus':'\\ud83c\\udf3a',\n 'high_brightness':'\\ud83d\\udd06',\n 'high_heel':'\\ud83d\\udc60',\n 'hocho':'\\ud83d\\udd2a',\n 'hole':'\\ud83d\\udd73',\n 'honey_pot':'\\ud83c\\udf6f',\n 'horse':'\\ud83d\\udc34',\n 'horse_racing':'\\ud83c\\udfc7',\n 'hospital':'\\ud83c\\udfe5',\n 'hot_pepper':'\\ud83c\\udf36',\n 'hotdog':'\\ud83c\\udf2d',\n 'hotel':'\\ud83c\\udfe8',\n 'hotsprings':'\\u2668\\ufe0f',\n 'hourglass':'\\u231b\\ufe0f',\n 'hourglass_flowing_sand':'\\u23f3',\n 'house':'\\ud83c\\udfe0',\n 'house_with_garden':'\\ud83c\\udfe1',\n 'houses':'\\ud83c\\udfd8',\n 'hugs':'\\ud83e\\udd17',\n 'hushed':'\\ud83d\\ude2f',\n 'ice_cream':'\\ud83c\\udf68',\n 'ice_hockey':'\\ud83c\\udfd2',\n 'ice_skate':'\\u26f8',\n 'icecream':'\\ud83c\\udf66',\n 'id':'\\ud83c\\udd94',\n 'ideograph_advantage':'\\ud83c\\ude50',\n 'imp':'\\ud83d\\udc7f',\n 'inbox_tray':'\\ud83d\\udce5',\n 'incoming_envelope':'\\ud83d\\udce8',\n 'tipping_hand_woman':'\\ud83d\\udc81',\n 'information_source':'\\u2139\\ufe0f',\n 'innocent':'\\ud83d\\ude07',\n 'interrobang':'\\u2049\\ufe0f',\n 'iphone':'\\ud83d\\udcf1',\n 'izakaya_lantern':'\\ud83c\\udfee',\n 'jack_o_lantern':'\\ud83c\\udf83',\n 'japan':'\\ud83d\\uddfe',\n 'japanese_castle':'\\ud83c\\udfef',\n 'japanese_goblin':'\\ud83d\\udc7a',\n 'japanese_ogre':'\\ud83d\\udc79',\n 'jeans':'\\ud83d\\udc56',\n 'joy':'\\ud83d\\ude02',\n 'joy_cat':'\\ud83d\\ude39',\n 'joystick':'\\ud83d\\udd79',\n 'kaaba':'\\ud83d\\udd4b',\n 'key':'\\ud83d\\udd11',\n 'keyboard':'\\u2328\\ufe0f',\n 'keycap_ten':'\\ud83d\\udd1f',\n 'kick_scooter':'\\ud83d\\udef4',\n 'kimono':'\\ud83d\\udc58',\n 'kiss':'\\ud83d\\udc8b',\n 'kissing':'\\ud83d\\ude17',\n 'kissing_cat':'\\ud83d\\ude3d',\n 'kissing_closed_eyes':'\\ud83d\\ude1a',\n 'kissing_heart':'\\ud83d\\ude18',\n 'kissing_smiling_eyes':'\\ud83d\\ude19',\n 'kiwi_fruit':'\\ud83e\\udd5d',\n 'koala':'\\ud83d\\udc28',\n 'koko':'\\ud83c\\ude01',\n 'label':'\\ud83c\\udff7',\n 'large_blue_circle':'\\ud83d\\udd35',\n 'large_blue_diamond':'\\ud83d\\udd37',\n 'large_orange_diamond':'\\ud83d\\udd36',\n 'last_quarter_moon':'\\ud83c\\udf17',\n 'last_quarter_moon_with_face':'\\ud83c\\udf1c',\n 'latin_cross':'\\u271d\\ufe0f',\n 'laughing':'\\ud83d\\ude06',\n 'leaves':'\\ud83c\\udf43',\n 'ledger':'\\ud83d\\udcd2',\n 'left_luggage':'\\ud83d\\udec5',\n 'left_right_arrow':'\\u2194\\ufe0f',\n 'leftwards_arrow_with_hook':'\\u21a9\\ufe0f',\n 'lemon':'\\ud83c\\udf4b',\n 'leo':'\\u264c\\ufe0f',\n 'leopard':'\\ud83d\\udc06',\n 'level_slider':'\\ud83c\\udf9a',\n 'libra':'\\u264e\\ufe0f',\n 'light_rail':'\\ud83d\\ude88',\n 'link':'\\ud83d\\udd17',\n 'lion':'\\ud83e\\udd81',\n 'lips':'\\ud83d\\udc44',\n 'lipstick':'\\ud83d\\udc84',\n 'lizard':'\\ud83e\\udd8e',\n 'lock':'\\ud83d\\udd12',\n 'lock_with_ink_pen':'\\ud83d\\udd0f',\n 'lollipop':'\\ud83c\\udf6d',\n 'loop':'\\u27bf',\n 'loud_sound':'\\ud83d\\udd0a',\n 'loudspeaker':'\\ud83d\\udce2',\n 'love_hotel':'\\ud83c\\udfe9',\n 'love_letter':'\\ud83d\\udc8c',\n 'low_brightness':'\\ud83d\\udd05',\n 'lying_face':'\\ud83e\\udd25',\n 'm':'\\u24c2\\ufe0f',\n 'mag':'\\ud83d\\udd0d',\n 'mag_right':'\\ud83d\\udd0e',\n 'mahjong':'\\ud83c\\udc04\\ufe0f',\n 'mailbox':'\\ud83d\\udceb',\n 'mailbox_closed':'\\ud83d\\udcea',\n 'mailbox_with_mail':'\\ud83d\\udcec',\n 'mailbox_with_no_mail':'\\ud83d\\udced',\n 'man':'\\ud83d\\udc68',\n 'man_artist':'\\ud83d\\udc68\\ud83c\\udfa8',\n 'man_astronaut':'\\ud83d\\udc68\\ud83d\\ude80',\n 'man_cartwheeling':'\\ud83e\\udd38\\u2642\\ufe0f',\n 'man_cook':'\\ud83d\\udc68\\ud83c\\udf73',\n 'man_dancing':'\\ud83d\\udd7a',\n 'man_facepalming':'\\ud83e\\udd26\\u2642\\ufe0f',\n 'man_factory_worker':'\\ud83d\\udc68\\ud83c\\udfed',\n 'man_farmer':'\\ud83d\\udc68\\ud83c\\udf3e',\n 'man_firefighter':'\\ud83d\\udc68\\ud83d\\ude92',\n 'man_health_worker':'\\ud83d\\udc68\\u2695\\ufe0f',\n 'man_in_tuxedo':'\\ud83e\\udd35',\n 'man_judge':'\\ud83d\\udc68\\u2696\\ufe0f',\n 'man_juggling':'\\ud83e\\udd39\\u2642\\ufe0f',\n 'man_mechanic':'\\ud83d\\udc68\\ud83d\\udd27',\n 'man_office_worker':'\\ud83d\\udc68\\ud83d\\udcbc',\n 'man_pilot':'\\ud83d\\udc68\\u2708\\ufe0f',\n 'man_playing_handball':'\\ud83e\\udd3e\\u2642\\ufe0f',\n 'man_playing_water_polo':'\\ud83e\\udd3d\\u2642\\ufe0f',\n 'man_scientist':'\\ud83d\\udc68\\ud83d\\udd2c',\n 'man_shrugging':'\\ud83e\\udd37\\u2642\\ufe0f',\n 'man_singer':'\\ud83d\\udc68\\ud83c\\udfa4',\n 'man_student':'\\ud83d\\udc68\\ud83c\\udf93',\n 'man_teacher':'\\ud83d\\udc68\\ud83c\\udfeb',\n 'man_technologist':'\\ud83d\\udc68\\ud83d\\udcbb',\n 'man_with_gua_pi_mao':'\\ud83d\\udc72',\n 'man_with_turban':'\\ud83d\\udc73',\n 'tangerine':'\\ud83c\\udf4a',\n 'mans_shoe':'\\ud83d\\udc5e',\n 'mantelpiece_clock':'\\ud83d\\udd70',\n 'maple_leaf':'\\ud83c\\udf41',\n 'martial_arts_uniform':'\\ud83e\\udd4b',\n 'mask':'\\ud83d\\ude37',\n 'massage_woman':'\\ud83d\\udc86',\n 'massage_man':'\\ud83d\\udc86\\u2642\\ufe0f',\n 'meat_on_bone':'\\ud83c\\udf56',\n 'medal_military':'\\ud83c\\udf96',\n 'medal_sports':'\\ud83c\\udfc5',\n 'mega':'\\ud83d\\udce3',\n 'melon':'\\ud83c\\udf48',\n 'memo':'\\ud83d\\udcdd',\n 'men_wrestling':'\\ud83e\\udd3c\\u2642\\ufe0f',\n 'menorah':'\\ud83d\\udd4e',\n 'mens':'\\ud83d\\udeb9',\n 'metal':'\\ud83e\\udd18',\n 'metro':'\\ud83d\\ude87',\n 'microphone':'\\ud83c\\udfa4',\n 'microscope':'\\ud83d\\udd2c',\n 'milk_glass':'\\ud83e\\udd5b',\n 'milky_way':'\\ud83c\\udf0c',\n 'minibus':'\\ud83d\\ude90',\n 'minidisc':'\\ud83d\\udcbd',\n 'mobile_phone_off':'\\ud83d\\udcf4',\n 'money_mouth_face':'\\ud83e\\udd11',\n 'money_with_wings':'\\ud83d\\udcb8',\n 'moneybag':'\\ud83d\\udcb0',\n 'monkey':'\\ud83d\\udc12',\n 'monkey_face':'\\ud83d\\udc35',\n 'monorail':'\\ud83d\\ude9d',\n 'moon':'\\ud83c\\udf14',\n 'mortar_board':'\\ud83c\\udf93',\n 'mosque':'\\ud83d\\udd4c',\n 'motor_boat':'\\ud83d\\udee5',\n 'motor_scooter':'\\ud83d\\udef5',\n 'motorcycle':'\\ud83c\\udfcd',\n 'motorway':'\\ud83d\\udee3',\n 'mount_fuji':'\\ud83d\\uddfb',\n 'mountain':'\\u26f0',\n 'mountain_biking_man':'\\ud83d\\udeb5',\n 'mountain_biking_woman':'\\ud83d\\udeb5\\u2640\\ufe0f',\n 'mountain_cableway':'\\ud83d\\udea0',\n 'mountain_railway':'\\ud83d\\ude9e',\n 'mountain_snow':'\\ud83c\\udfd4',\n 'mouse':'\\ud83d\\udc2d',\n 'mouse2':'\\ud83d\\udc01',\n 'movie_camera':'\\ud83c\\udfa5',\n 'moyai':'\\ud83d\\uddff',\n 'mrs_claus':'\\ud83e\\udd36',\n 'muscle':'\\ud83d\\udcaa',\n 'mushroom':'\\ud83c\\udf44',\n 'musical_keyboard':'\\ud83c\\udfb9',\n 'musical_note':'\\ud83c\\udfb5',\n 'musical_score':'\\ud83c\\udfbc',\n 'mute':'\\ud83d\\udd07',\n 'nail_care':'\\ud83d\\udc85',\n 'name_badge':'\\ud83d\\udcdb',\n 'national_park':'\\ud83c\\udfde',\n 'nauseated_face':'\\ud83e\\udd22',\n 'necktie':'\\ud83d\\udc54',\n 'negative_squared_cross_mark':'\\u274e',\n 'nerd_face':'\\ud83e\\udd13',\n 'neutral_face':'\\ud83d\\ude10',\n 'new':'\\ud83c\\udd95',\n 'new_moon':'\\ud83c\\udf11',\n 'new_moon_with_face':'\\ud83c\\udf1a',\n 'newspaper':'\\ud83d\\udcf0',\n 'newspaper_roll':'\\ud83d\\uddde',\n 'next_track_button':'\\u23ed',\n 'ng':'\\ud83c\\udd96',\n 'no_good_man':'\\ud83d\\ude45\\u2642\\ufe0f',\n 'no_good_woman':'\\ud83d\\ude45',\n 'night_with_stars':'\\ud83c\\udf03',\n 'no_bell':'\\ud83d\\udd15',\n 'no_bicycles':'\\ud83d\\udeb3',\n 'no_entry':'\\u26d4\\ufe0f',\n 'no_entry_sign':'\\ud83d\\udeab',\n 'no_mobile_phones':'\\ud83d\\udcf5',\n 'no_mouth':'\\ud83d\\ude36',\n 'no_pedestrians':'\\ud83d\\udeb7',\n 'no_smoking':'\\ud83d\\udead',\n 'non-potable_water':'\\ud83d\\udeb1',\n 'nose':'\\ud83d\\udc43',\n 'notebook':'\\ud83d\\udcd3',\n 'notebook_with_decorative_cover':'\\ud83d\\udcd4',\n 'notes':'\\ud83c\\udfb6',\n 'nut_and_bolt':'\\ud83d\\udd29',\n 'o':'\\u2b55\\ufe0f',\n 'o2':'\\ud83c\\udd7e\\ufe0f',\n 'ocean':'\\ud83c\\udf0a',\n 'octopus':'\\ud83d\\udc19',\n 'oden':'\\ud83c\\udf62',\n 'office':'\\ud83c\\udfe2',\n 'oil_drum':'\\ud83d\\udee2',\n 'ok':'\\ud83c\\udd97',\n 'ok_hand':'\\ud83d\\udc4c',\n 'ok_man':'\\ud83d\\ude46\\u2642\\ufe0f',\n 'ok_woman':'\\ud83d\\ude46',\n 'old_key':'\\ud83d\\udddd',\n 'older_man':'\\ud83d\\udc74',\n 'older_woman':'\\ud83d\\udc75',\n 'om':'\\ud83d\\udd49',\n 'on':'\\ud83d\\udd1b',\n 'oncoming_automobile':'\\ud83d\\ude98',\n 'oncoming_bus':'\\ud83d\\ude8d',\n 'oncoming_police_car':'\\ud83d\\ude94',\n 'oncoming_taxi':'\\ud83d\\ude96',\n 'open_file_folder':'\\ud83d\\udcc2',\n 'open_hands':'\\ud83d\\udc50',\n 'open_mouth':'\\ud83d\\ude2e',\n 'open_umbrella':'\\u2602\\ufe0f',\n 'ophiuchus':'\\u26ce',\n 'orange_book':'\\ud83d\\udcd9',\n 'orthodox_cross':'\\u2626\\ufe0f',\n 'outbox_tray':'\\ud83d\\udce4',\n 'owl':'\\ud83e\\udd89',\n 'ox':'\\ud83d\\udc02',\n 'package':'\\ud83d\\udce6',\n 'page_facing_up':'\\ud83d\\udcc4',\n 'page_with_curl':'\\ud83d\\udcc3',\n 'pager':'\\ud83d\\udcdf',\n 'paintbrush':'\\ud83d\\udd8c',\n 'palm_tree':'\\ud83c\\udf34',\n 'pancakes':'\\ud83e\\udd5e',\n 'panda_face':'\\ud83d\\udc3c',\n 'paperclip':'\\ud83d\\udcce',\n 'paperclips':'\\ud83d\\udd87',\n 'parasol_on_ground':'\\u26f1',\n 'parking':'\\ud83c\\udd7f\\ufe0f',\n 'part_alternation_mark':'\\u303d\\ufe0f',\n 'partly_sunny':'\\u26c5\\ufe0f',\n 'passenger_ship':'\\ud83d\\udef3',\n 'passport_control':'\\ud83d\\udec2',\n 'pause_button':'\\u23f8',\n 'peace_symbol':'\\u262e\\ufe0f',\n 'peach':'\\ud83c\\udf51',\n 'peanuts':'\\ud83e\\udd5c',\n 'pear':'\\ud83c\\udf50',\n 'pen':'\\ud83d\\udd8a',\n 'pencil2':'\\u270f\\ufe0f',\n 'penguin':'\\ud83d\\udc27',\n 'pensive':'\\ud83d\\ude14',\n 'performing_arts':'\\ud83c\\udfad',\n 'persevere':'\\ud83d\\ude23',\n 'person_fencing':'\\ud83e\\udd3a',\n 'pouting_woman':'\\ud83d\\ude4e',\n 'phone':'\\u260e\\ufe0f',\n 'pick':'\\u26cf',\n 'pig':'\\ud83d\\udc37',\n 'pig2':'\\ud83d\\udc16',\n 'pig_nose':'\\ud83d\\udc3d',\n 'pill':'\\ud83d\\udc8a',\n 'pineapple':'\\ud83c\\udf4d',\n 'ping_pong':'\\ud83c\\udfd3',\n 'pisces':'\\u2653\\ufe0f',\n 'pizza':'\\ud83c\\udf55',\n 'place_of_worship':'\\ud83d\\uded0',\n 'plate_with_cutlery':'\\ud83c\\udf7d',\n 'play_or_pause_button':'\\u23ef',\n 'point_down':'\\ud83d\\udc47',\n 'point_left':'\\ud83d\\udc48',\n 'point_right':'\\ud83d\\udc49',\n 'point_up':'\\u261d\\ufe0f',\n 'point_up_2':'\\ud83d\\udc46',\n 'police_car':'\\ud83d\\ude93',\n 'policewoman':'\\ud83d\\udc6e\\u2640\\ufe0f',\n 'poodle':'\\ud83d\\udc29',\n 'popcorn':'\\ud83c\\udf7f',\n 'post_office':'\\ud83c\\udfe3',\n 'postal_horn':'\\ud83d\\udcef',\n 'postbox':'\\ud83d\\udcee',\n 'potable_water':'\\ud83d\\udeb0',\n 'potato':'\\ud83e\\udd54',\n 'pouch':'\\ud83d\\udc5d',\n 'poultry_leg':'\\ud83c\\udf57',\n 'pound':'\\ud83d\\udcb7',\n 'rage':'\\ud83d\\ude21',\n 'pouting_cat':'\\ud83d\\ude3e',\n 'pouting_man':'\\ud83d\\ude4e\\u2642\\ufe0f',\n 'pray':'\\ud83d\\ude4f',\n 'prayer_beads':'\\ud83d\\udcff',\n 'pregnant_woman':'\\ud83e\\udd30',\n 'previous_track_button':'\\u23ee',\n 'prince':'\\ud83e\\udd34',\n 'princess':'\\ud83d\\udc78',\n 'printer':'\\ud83d\\udda8',\n 'purple_heart':'\\ud83d\\udc9c',\n 'purse':'\\ud83d\\udc5b',\n 'pushpin':'\\ud83d\\udccc',\n 'put_litter_in_its_place':'\\ud83d\\udeae',\n 'question':'\\u2753',\n 'rabbit':'\\ud83d\\udc30',\n 'rabbit2':'\\ud83d\\udc07',\n 'racehorse':'\\ud83d\\udc0e',\n 'racing_car':'\\ud83c\\udfce',\n 'radio':'\\ud83d\\udcfb',\n 'radio_button':'\\ud83d\\udd18',\n 'radioactive':'\\u2622\\ufe0f',\n 'railway_car':'\\ud83d\\ude83',\n 'railway_track':'\\ud83d\\udee4',\n 'rainbow':'\\ud83c\\udf08',\n 'rainbow_flag':'\\ud83c\\udff3\\ufe0f\\ud83c\\udf08',\n 'raised_back_of_hand':'\\ud83e\\udd1a',\n 'raised_hand_with_fingers_splayed':'\\ud83d\\udd90',\n 'raised_hands':'\\ud83d\\ude4c',\n 'raising_hand_woman':'\\ud83d\\ude4b',\n 'raising_hand_man':'\\ud83d\\ude4b\\u2642\\ufe0f',\n 'ram':'\\ud83d\\udc0f',\n 'ramen':'\\ud83c\\udf5c',\n 'rat':'\\ud83d\\udc00',\n 'record_button':'\\u23fa',\n 'recycle':'\\u267b\\ufe0f',\n 'red_circle':'\\ud83d\\udd34',\n 'registered':'\\u00ae\\ufe0f',\n 'relaxed':'\\u263a\\ufe0f',\n 'relieved':'\\ud83d\\ude0c',\n 'reminder_ribbon':'\\ud83c\\udf97',\n 'repeat':'\\ud83d\\udd01',\n 'repeat_one':'\\ud83d\\udd02',\n 'rescue_worker_helmet':'\\u26d1',\n 'restroom':'\\ud83d\\udebb',\n 'revolving_hearts':'\\ud83d\\udc9e',\n 'rewind':'\\u23ea',\n 'rhinoceros':'\\ud83e\\udd8f',\n 'ribbon':'\\ud83c\\udf80',\n 'rice':'\\ud83c\\udf5a',\n 'rice_ball':'\\ud83c\\udf59',\n 'rice_cracker':'\\ud83c\\udf58',\n 'rice_scene':'\\ud83c\\udf91',\n 'right_anger_bubble':'\\ud83d\\uddef',\n 'ring':'\\ud83d\\udc8d',\n 'robot':'\\ud83e\\udd16',\n 'rocket':'\\ud83d\\ude80',\n 'rofl':'\\ud83e\\udd23',\n 'roll_eyes':'\\ud83d\\ude44',\n 'roller_coaster':'\\ud83c\\udfa2',\n 'rooster':'\\ud83d\\udc13',\n 'rose':'\\ud83c\\udf39',\n 'rosette':'\\ud83c\\udff5',\n 'rotating_light':'\\ud83d\\udea8',\n 'round_pushpin':'\\ud83d\\udccd',\n 'rowing_man':'\\ud83d\\udea3',\n 'rowing_woman':'\\ud83d\\udea3\\u2640\\ufe0f',\n 'rugby_football':'\\ud83c\\udfc9',\n 'running_man':'\\ud83c\\udfc3',\n 'running_shirt_with_sash':'\\ud83c\\udfbd',\n 'running_woman':'\\ud83c\\udfc3\\u2640\\ufe0f',\n 'sa':'\\ud83c\\ude02\\ufe0f',\n 'sagittarius':'\\u2650\\ufe0f',\n 'sake':'\\ud83c\\udf76',\n 'sandal':'\\ud83d\\udc61',\n 'santa':'\\ud83c\\udf85',\n 'satellite':'\\ud83d\\udce1',\n 'saxophone':'\\ud83c\\udfb7',\n 'school':'\\ud83c\\udfeb',\n 'school_satchel':'\\ud83c\\udf92',\n 'scissors':'\\u2702\\ufe0f',\n 'scorpion':'\\ud83e\\udd82',\n 'scorpius':'\\u264f\\ufe0f',\n 'scream':'\\ud83d\\ude31',\n 'scream_cat':'\\ud83d\\ude40',\n 'scroll':'\\ud83d\\udcdc',\n 'seat':'\\ud83d\\udcba',\n 'secret':'\\u3299\\ufe0f',\n 'see_no_evil':'\\ud83d\\ude48',\n 'seedling':'\\ud83c\\udf31',\n 'selfie':'\\ud83e\\udd33',\n 'shallow_pan_of_food':'\\ud83e\\udd58',\n 'shamrock':'\\u2618\\ufe0f',\n 'shark':'\\ud83e\\udd88',\n 'shaved_ice':'\\ud83c\\udf67',\n 'sheep':'\\ud83d\\udc11',\n 'shell':'\\ud83d\\udc1a',\n 'shield':'\\ud83d\\udee1',\n 'shinto_shrine':'\\u26e9',\n 'ship':'\\ud83d\\udea2',\n 'shirt':'\\ud83d\\udc55',\n 'shopping':'\\ud83d\\udecd',\n 'shopping_cart':'\\ud83d\\uded2',\n 'shower':'\\ud83d\\udebf',\n 'shrimp':'\\ud83e\\udd90',\n 'signal_strength':'\\ud83d\\udcf6',\n 'six_pointed_star':'\\ud83d\\udd2f',\n 'ski':'\\ud83c\\udfbf',\n 'skier':'\\u26f7',\n 'skull':'\\ud83d\\udc80',\n 'skull_and_crossbones':'\\u2620\\ufe0f',\n 'sleeping':'\\ud83d\\ude34',\n 'sleeping_bed':'\\ud83d\\udecc',\n 'sleepy':'\\ud83d\\ude2a',\n 'slightly_frowning_face':'\\ud83d\\ude41',\n 'slightly_smiling_face':'\\ud83d\\ude42',\n 'slot_machine':'\\ud83c\\udfb0',\n 'small_airplane':'\\ud83d\\udee9',\n 'small_blue_diamond':'\\ud83d\\udd39',\n 'small_orange_diamond':'\\ud83d\\udd38',\n 'small_red_triangle':'\\ud83d\\udd3a',\n 'small_red_triangle_down':'\\ud83d\\udd3b',\n 'smile':'\\ud83d\\ude04',\n 'smile_cat':'\\ud83d\\ude38',\n 'smiley':'\\ud83d\\ude03',\n 'smiley_cat':'\\ud83d\\ude3a',\n 'smiling_imp':'\\ud83d\\ude08',\n 'smirk':'\\ud83d\\ude0f',\n 'smirk_cat':'\\ud83d\\ude3c',\n 'smoking':'\\ud83d\\udeac',\n 'snail':'\\ud83d\\udc0c',\n 'snake':'\\ud83d\\udc0d',\n 'sneezing_face':'\\ud83e\\udd27',\n 'snowboarder':'\\ud83c\\udfc2',\n 'snowflake':'\\u2744\\ufe0f',\n 'snowman':'\\u26c4\\ufe0f',\n 'snowman_with_snow':'\\u2603\\ufe0f',\n 'sob':'\\ud83d\\ude2d',\n 'soccer':'\\u26bd\\ufe0f',\n 'soon':'\\ud83d\\udd1c',\n 'sos':'\\ud83c\\udd98',\n 'sound':'\\ud83d\\udd09',\n 'space_invader':'\\ud83d\\udc7e',\n 'spades':'\\u2660\\ufe0f',\n 'spaghetti':'\\ud83c\\udf5d',\n 'sparkle':'\\u2747\\ufe0f',\n 'sparkler':'\\ud83c\\udf87',\n 'sparkles':'\\u2728',\n 'sparkling_heart':'\\ud83d\\udc96',\n 'speak_no_evil':'\\ud83d\\ude4a',\n 'speaker':'\\ud83d\\udd08',\n 'speaking_head':'\\ud83d\\udde3',\n 'speech_balloon':'\\ud83d\\udcac',\n 'speedboat':'\\ud83d\\udea4',\n 'spider':'\\ud83d\\udd77',\n 'spider_web':'\\ud83d\\udd78',\n 'spiral_calendar':'\\ud83d\\uddd3',\n 'spiral_notepad':'\\ud83d\\uddd2',\n 'spoon':'\\ud83e\\udd44',\n 'squid':'\\ud83e\\udd91',\n 'stadium':'\\ud83c\\udfdf',\n 'star':'\\u2b50\\ufe0f',\n 'star2':'\\ud83c\\udf1f',\n 'star_and_crescent':'\\u262a\\ufe0f',\n 'star_of_david':'\\u2721\\ufe0f',\n 'stars':'\\ud83c\\udf20',\n 'station':'\\ud83d\\ude89',\n 'statue_of_liberty':'\\ud83d\\uddfd',\n 'steam_locomotive':'\\ud83d\\ude82',\n 'stew':'\\ud83c\\udf72',\n 'stop_button':'\\u23f9',\n 'stop_sign':'\\ud83d\\uded1',\n 'stopwatch':'\\u23f1',\n 'straight_ruler':'\\ud83d\\udccf',\n 'strawberry':'\\ud83c\\udf53',\n 'stuck_out_tongue':'\\ud83d\\ude1b',\n 'stuck_out_tongue_closed_eyes':'\\ud83d\\ude1d',\n 'stuck_out_tongue_winking_eye':'\\ud83d\\ude1c',\n 'studio_microphone':'\\ud83c\\udf99',\n 'stuffed_flatbread':'\\ud83e\\udd59',\n 'sun_behind_large_cloud':'\\ud83c\\udf25',\n 'sun_behind_rain_cloud':'\\ud83c\\udf26',\n 'sun_behind_small_cloud':'\\ud83c\\udf24',\n 'sun_with_face':'\\ud83c\\udf1e',\n 'sunflower':'\\ud83c\\udf3b',\n 'sunglasses':'\\ud83d\\ude0e',\n 'sunny':'\\u2600\\ufe0f',\n 'sunrise':'\\ud83c\\udf05',\n 'sunrise_over_mountains':'\\ud83c\\udf04',\n 'surfing_man':'\\ud83c\\udfc4',\n 'surfing_woman':'\\ud83c\\udfc4\\u2640\\ufe0f',\n 'sushi':'\\ud83c\\udf63',\n 'suspension_railway':'\\ud83d\\ude9f',\n 'sweat':'\\ud83d\\ude13',\n 'sweat_drops':'\\ud83d\\udca6',\n 'sweat_smile':'\\ud83d\\ude05',\n 'sweet_potato':'\\ud83c\\udf60',\n 'swimming_man':'\\ud83c\\udfca',\n 'swimming_woman':'\\ud83c\\udfca\\u2640\\ufe0f',\n 'symbols':'\\ud83d\\udd23',\n 'synagogue':'\\ud83d\\udd4d',\n 'syringe':'\\ud83d\\udc89',\n 'taco':'\\ud83c\\udf2e',\n 'tada':'\\ud83c\\udf89',\n 'tanabata_tree':'\\ud83c\\udf8b',\n 'taurus':'\\u2649\\ufe0f',\n 'taxi':'\\ud83d\\ude95',\n 'tea':'\\ud83c\\udf75',\n 'telephone_receiver':'\\ud83d\\udcde',\n 'telescope':'\\ud83d\\udd2d',\n 'tennis':'\\ud83c\\udfbe',\n 'tent':'\\u26fa\\ufe0f',\n 'thermometer':'\\ud83c\\udf21',\n 'thinking':'\\ud83e\\udd14',\n 'thought_balloon':'\\ud83d\\udcad',\n 'ticket':'\\ud83c\\udfab',\n 'tickets':'\\ud83c\\udf9f',\n 'tiger':'\\ud83d\\udc2f',\n 'tiger2':'\\ud83d\\udc05',\n 'timer_clock':'\\u23f2',\n 'tipping_hand_man':'\\ud83d\\udc81\\u2642\\ufe0f',\n 'tired_face':'\\ud83d\\ude2b',\n 'tm':'\\u2122\\ufe0f',\n 'toilet':'\\ud83d\\udebd',\n 'tokyo_tower':'\\ud83d\\uddfc',\n 'tomato':'\\ud83c\\udf45',\n 'tongue':'\\ud83d\\udc45',\n 'top':'\\ud83d\\udd1d',\n 'tophat':'\\ud83c\\udfa9',\n 'tornado':'\\ud83c\\udf2a',\n 'trackball':'\\ud83d\\uddb2',\n 'tractor':'\\ud83d\\ude9c',\n 'traffic_light':'\\ud83d\\udea5',\n 'train':'\\ud83d\\ude8b',\n 'train2':'\\ud83d\\ude86',\n 'tram':'\\ud83d\\ude8a',\n 'triangular_flag_on_post':'\\ud83d\\udea9',\n 'triangular_ruler':'\\ud83d\\udcd0',\n 'trident':'\\ud83d\\udd31',\n 'triumph':'\\ud83d\\ude24',\n 'trolleybus':'\\ud83d\\ude8e',\n 'trophy':'\\ud83c\\udfc6',\n 'tropical_drink':'\\ud83c\\udf79',\n 'tropical_fish':'\\ud83d\\udc20',\n 'truck':'\\ud83d\\ude9a',\n 'trumpet':'\\ud83c\\udfba',\n 'tulip':'\\ud83c\\udf37',\n 'tumbler_glass':'\\ud83e\\udd43',\n 'turkey':'\\ud83e\\udd83',\n 'turtle':'\\ud83d\\udc22',\n 'tv':'\\ud83d\\udcfa',\n 'twisted_rightwards_arrows':'\\ud83d\\udd00',\n 'two_hearts':'\\ud83d\\udc95',\n 'two_men_holding_hands':'\\ud83d\\udc6c',\n 'two_women_holding_hands':'\\ud83d\\udc6d',\n 'u5272':'\\ud83c\\ude39',\n 'u5408':'\\ud83c\\ude34',\n 'u55b6':'\\ud83c\\ude3a',\n 'u6307':'\\ud83c\\ude2f\\ufe0f',\n 'u6708':'\\ud83c\\ude37\\ufe0f',\n 'u6709':'\\ud83c\\ude36',\n 'u6e80':'\\ud83c\\ude35',\n 'u7121':'\\ud83c\\ude1a\\ufe0f',\n 'u7533':'\\ud83c\\ude38',\n 'u7981':'\\ud83c\\ude32',\n 'u7a7a':'\\ud83c\\ude33',\n 'umbrella':'\\u2614\\ufe0f',\n 'unamused':'\\ud83d\\ude12',\n 'underage':'\\ud83d\\udd1e',\n 'unicorn':'\\ud83e\\udd84',\n 'unlock':'\\ud83d\\udd13',\n 'up':'\\ud83c\\udd99',\n 'upside_down_face':'\\ud83d\\ude43',\n 'v':'\\u270c\\ufe0f',\n 'vertical_traffic_light':'\\ud83d\\udea6',\n 'vhs':'\\ud83d\\udcfc',\n 'vibration_mode':'\\ud83d\\udcf3',\n 'video_camera':'\\ud83d\\udcf9',\n 'video_game':'\\ud83c\\udfae',\n 'violin':'\\ud83c\\udfbb',\n 'virgo':'\\u264d\\ufe0f',\n 'volcano':'\\ud83c\\udf0b',\n 'volleyball':'\\ud83c\\udfd0',\n 'vs':'\\ud83c\\udd9a',\n 'vulcan_salute':'\\ud83d\\udd96',\n 'walking_man':'\\ud83d\\udeb6',\n 'walking_woman':'\\ud83d\\udeb6\\u2640\\ufe0f',\n 'waning_crescent_moon':'\\ud83c\\udf18',\n 'waning_gibbous_moon':'\\ud83c\\udf16',\n 'warning':'\\u26a0\\ufe0f',\n 'wastebasket':'\\ud83d\\uddd1',\n 'watch':'\\u231a\\ufe0f',\n 'water_buffalo':'\\ud83d\\udc03',\n 'watermelon':'\\ud83c\\udf49',\n 'wave':'\\ud83d\\udc4b',\n 'wavy_dash':'\\u3030\\ufe0f',\n 'waxing_crescent_moon':'\\ud83c\\udf12',\n 'wc':'\\ud83d\\udebe',\n 'weary':'\\ud83d\\ude29',\n 'wedding':'\\ud83d\\udc92',\n 'weight_lifting_man':'\\ud83c\\udfcb\\ufe0f',\n 'weight_lifting_woman':'\\ud83c\\udfcb\\ufe0f\\u2640\\ufe0f',\n 'whale':'\\ud83d\\udc33',\n 'whale2':'\\ud83d\\udc0b',\n 'wheel_of_dharma':'\\u2638\\ufe0f',\n 'wheelchair':'\\u267f\\ufe0f',\n 'white_check_mark':'\\u2705',\n 'white_circle':'\\u26aa\\ufe0f',\n 'white_flag':'\\ud83c\\udff3\\ufe0f',\n 'white_flower':'\\ud83d\\udcae',\n 'white_large_square':'\\u2b1c\\ufe0f',\n 'white_medium_small_square':'\\u25fd\\ufe0f',\n 'white_medium_square':'\\u25fb\\ufe0f',\n 'white_small_square':'\\u25ab\\ufe0f',\n 'white_square_button':'\\ud83d\\udd33',\n 'wilted_flower':'\\ud83e\\udd40',\n 'wind_chime':'\\ud83c\\udf90',\n 'wind_face':'\\ud83c\\udf2c',\n 'wine_glass':'\\ud83c\\udf77',\n 'wink':'\\ud83d\\ude09',\n 'wolf':'\\ud83d\\udc3a',\n 'woman':'\\ud83d\\udc69',\n 'woman_artist':'\\ud83d\\udc69\\ud83c\\udfa8',\n 'woman_astronaut':'\\ud83d\\udc69\\ud83d\\ude80',\n 'woman_cartwheeling':'\\ud83e\\udd38\\u2640\\ufe0f',\n 'woman_cook':'\\ud83d\\udc69\\ud83c\\udf73',\n 'woman_facepalming':'\\ud83e\\udd26\\u2640\\ufe0f',\n 'woman_factory_worker':'\\ud83d\\udc69\\ud83c\\udfed',\n 'woman_farmer':'\\ud83d\\udc69\\ud83c\\udf3e',\n 'woman_firefighter':'\\ud83d\\udc69\\ud83d\\ude92',\n 'woman_health_worker':'\\ud83d\\udc69\\u2695\\ufe0f',\n 'woman_judge':'\\ud83d\\udc69\\u2696\\ufe0f',\n 'woman_juggling':'\\ud83e\\udd39\\u2640\\ufe0f',\n 'woman_mechanic':'\\ud83d\\udc69\\ud83d\\udd27',\n 'woman_office_worker':'\\ud83d\\udc69\\ud83d\\udcbc',\n 'woman_pilot':'\\ud83d\\udc69\\u2708\\ufe0f',\n 'woman_playing_handball':'\\ud83e\\udd3e\\u2640\\ufe0f',\n 'woman_playing_water_polo':'\\ud83e\\udd3d\\u2640\\ufe0f',\n 'woman_scientist':'\\ud83d\\udc69\\ud83d\\udd2c',\n 'woman_shrugging':'\\ud83e\\udd37\\u2640\\ufe0f',\n 'woman_singer':'\\ud83d\\udc69\\ud83c\\udfa4',\n 'woman_student':'\\ud83d\\udc69\\ud83c\\udf93',\n 'woman_teacher':'\\ud83d\\udc69\\ud83c\\udfeb',\n 'woman_technologist':'\\ud83d\\udc69\\ud83d\\udcbb',\n 'woman_with_turban':'\\ud83d\\udc73\\u2640\\ufe0f',\n 'womans_clothes':'\\ud83d\\udc5a',\n 'womans_hat':'\\ud83d\\udc52',\n 'women_wrestling':'\\ud83e\\udd3c\\u2640\\ufe0f',\n 'womens':'\\ud83d\\udeba',\n 'world_map':'\\ud83d\\uddfa',\n 'worried':'\\ud83d\\ude1f',\n 'wrench':'\\ud83d\\udd27',\n 'writing_hand':'\\u270d\\ufe0f',\n 'x':'\\u274c',\n 'yellow_heart':'\\ud83d\\udc9b',\n 'yen':'\\ud83d\\udcb4',\n 'yin_yang':'\\u262f\\ufe0f',\n 'yum':'\\ud83d\\ude0b',\n 'zap':'\\u26a1\\ufe0f',\n 'zipper_mouth_face':'\\ud83e\\udd10',\n 'zzz':'\\ud83d\\udca4',\n\n /* special emojis :P */\n 'octocat': '',\n 'showdown': 'S'\n};\n\r\n/**\n * Created by Estevao on 31-05-2015.\n */\n\n/**\n * Showdown Converter class\n * @class\n * @param {object} [converterOptions]\n * @returns {Converter}\n */\nshowdown.Converter = function (converterOptions) {\n 'use strict';\n\n var\n /**\n * Options used by this converter\n * @private\n * @type {{}}\n */\n options = {},\n\n /**\n * Language extensions used by this converter\n * @private\n * @type {Array}\n */\n langExtensions = [],\n\n /**\n * Output modifiers extensions used by this converter\n * @private\n * @type {Array}\n */\n outputModifiers = [],\n\n /**\n * Event listeners\n * @private\n * @type {{}}\n */\n listeners = {},\n\n /**\n * The flavor set in this converter\n */\n setConvFlavor = setFlavor,\n\n /**\n * Metadata of the document\n * @type {{parsed: {}, raw: string, format: string}}\n */\n metadata = {\n parsed: {},\n raw: '',\n format: ''\n };\n\n _constructor();\n\n /**\n * Converter constructor\n * @private\n */\n function _constructor () {\n converterOptions = converterOptions || {};\n\n for (var gOpt in globalOptions) {\n if (globalOptions.hasOwnProperty(gOpt)) {\n options[gOpt] = globalOptions[gOpt];\n }\n }\n\n // Merge options\n if (typeof converterOptions === 'object') {\n for (var opt in converterOptions) {\n if (converterOptions.hasOwnProperty(opt)) {\n options[opt] = converterOptions[opt];\n }\n }\n } else {\n throw Error('Converter expects the passed parameter to be an object, but ' + typeof converterOptions +\n ' was passed instead.');\n }\n\n if (options.extensions) {\n showdown.helper.forEach(options.extensions, _parseExtension);\n }\n }\n\n /**\n * Parse extension\n * @param {*} ext\n * @param {string} [name='']\n * @private\n */\n function _parseExtension (ext, name) {\n\n name = name || null;\n // If it's a string, the extension was previously loaded\n if (showdown.helper.isString(ext)) {\n ext = showdown.helper.stdExtName(ext);\n name = ext;\n\n // LEGACY_SUPPORT CODE\n if (showdown.extensions[ext]) {\n console.warn('DEPRECATION WARNING: ' + ext + ' is an old extension that uses a deprecated loading method.' +\n 'Please inform the developer that the extension should be updated!');\n legacyExtensionLoading(showdown.extensions[ext], ext);\n return;\n // END LEGACY SUPPORT CODE\n\n } else if (!showdown.helper.isUndefined(extensions[ext])) {\n ext = extensions[ext];\n\n } else {\n throw Error('Extension \"' + ext + '\" could not be loaded. It was either not found or is not a valid extension.');\n }\n }\n\n if (typeof ext === 'function') {\n ext = ext();\n }\n\n if (!showdown.helper.isArray(ext)) {\n ext = [ext];\n }\n\n var validExt = validate(ext, name);\n if (!validExt.valid) {\n throw Error(validExt.error);\n }\n\n for (var i = 0; i < ext.length; ++i) {\n switch (ext[i].type) {\n\n case 'lang':\n langExtensions.push(ext[i]);\n break;\n\n case 'output':\n outputModifiers.push(ext[i]);\n break;\n }\n if (ext[i].hasOwnProperty('listeners')) {\n for (var ln in ext[i].listeners) {\n if (ext[i].listeners.hasOwnProperty(ln)) {\n listen(ln, ext[i].listeners[ln]);\n }\n }\n }\n }\n\n }\n\n /**\n * LEGACY_SUPPORT\n * @param {*} ext\n * @param {string} name\n */\n function legacyExtensionLoading (ext, name) {\n if (typeof ext === 'function') {\n ext = ext(new showdown.Converter());\n }\n if (!showdown.helper.isArray(ext)) {\n ext = [ext];\n }\n var valid = validate(ext, name);\n\n if (!valid.valid) {\n throw Error(valid.error);\n }\n\n for (var i = 0; i < ext.length; ++i) {\n switch (ext[i].type) {\n case 'lang':\n langExtensions.push(ext[i]);\n break;\n case 'output':\n outputModifiers.push(ext[i]);\n break;\n default:// should never reach here\n throw Error('Extension loader error: Type unrecognized!!!');\n }\n }\n }\n\n /**\n * Listen to an event\n * @param {string} name\n * @param {function} callback\n */\n function listen (name, callback) {\n if (!showdown.helper.isString(name)) {\n throw Error('Invalid argument in converter.listen() method: name must be a string, but ' + typeof name + ' given');\n }\n\n if (typeof callback !== 'function') {\n throw Error('Invalid argument in converter.listen() method: callback must be a function, but ' + typeof callback + ' given');\n }\n\n if (!listeners.hasOwnProperty(name)) {\n listeners[name] = [];\n }\n listeners[name].push(callback);\n }\n\n function rTrimInputText (text) {\n var rsp = text.match(/^\\s*/)[0].length,\n rgx = new RegExp('^\\\\s{0,' + rsp + '}', 'gm');\n return text.replace(rgx, '');\n }\n\n /**\n * Dispatch an event\n * @private\n * @param {string} evtName Event name\n * @param {string} text Text\n * @param {{}} options Converter Options\n * @param {{}} globals\n * @returns {string}\n */\n this._dispatch = function dispatch (evtName, text, options, globals) {\n if (listeners.hasOwnProperty(evtName)) {\n for (var ei = 0; ei < listeners[evtName].length; ++ei) {\n var nText = listeners[evtName][ei](evtName, text, this, options, globals);\n if (nText && typeof nText !== 'undefined') {\n text = nText;\n }\n }\n }\n return text;\n };\n\n /**\n * Listen to an event\n * @param {string} name\n * @param {function} callback\n * @returns {showdown.Converter}\n */\n this.listen = function (name, callback) {\n listen(name, callback);\n return this;\n };\n\n /**\n * Converts a markdown string into HTML\n * @param {string} text\n * @returns {*}\n */\n this.makeHtml = function (text) {\n //check if text is not falsy\n if (!text) {\n return text;\n }\n\n var globals = {\n gHtmlBlocks: [],\n gHtmlMdBlocks: [],\n gHtmlSpans: [],\n gUrls: {},\n gTitles: {},\n gDimensions: {},\n gListLevel: 0,\n hashLinkCounts: {},\n langExtensions: langExtensions,\n outputModifiers: outputModifiers,\n converter: this,\n ghCodeBlocks: [],\n metadata: {\n parsed: {},\n raw: '',\n format: ''\n }\n };\n\n // This lets us use ¨ trema as an escape char to avoid md5 hashes\n // The choice of character is arbitrary; anything that isn't\n // magic in Markdown will work.\n text = text.replace(/¨/g, '¨T');\n\n // Replace $ with ¨D\n // RegExp interprets $ as a special character\n // when it's in a replacement string\n text = text.replace(/\\$/g, '¨D');\n\n // Standardize line endings\n text = text.replace(/\\r\\n/g, '\\n'); // DOS to Unix\n text = text.replace(/\\r/g, '\\n'); // Mac to Unix\n\n // Stardardize line spaces\n text = text.replace(/\\u00A0/g, ' ');\n\n if (options.smartIndentationFix) {\n text = rTrimInputText(text);\n }\n\n // Make sure text begins and ends with a couple of newlines:\n text = '\\n\\n' + text + '\\n\\n';\n\n // detab\n text = showdown.subParser('detab')(text, options, globals);\n\n /**\n * Strip any lines consisting only of spaces and tabs.\n * This makes subsequent regexs easier to write, because we can\n * match consecutive blank lines with /\\n+/ instead of something\n * contorted like /[ \\t]*\\n+/\n */\n text = text.replace(/^[ \\t]+$/mg, '');\n\n //run languageExtensions\n showdown.helper.forEach(langExtensions, function (ext) {\n text = showdown.subParser('runExtension')(ext, text, options, globals);\n });\n\n // run the sub parsers\n text = showdown.subParser('metadata')(text, options, globals);\n text = showdown.subParser('hashPreCodeTags')(text, options, globals);\n text = showdown.subParser('githubCodeBlocks')(text, options, globals);\n text = showdown.subParser('hashHTMLBlocks')(text, options, globals);\n text = showdown.subParser('hashCodeTags')(text, options, globals);\n text = showdown.subParser('stripLinkDefinitions')(text, options, globals);\n text = showdown.subParser('blockGamut')(text, options, globals);\n text = showdown.subParser('unhashHTMLSpans')(text, options, globals);\n text = showdown.subParser('unescapeSpecialChars')(text, options, globals);\n\n // attacklab: Restore dollar signs\n text = text.replace(/¨D/g, '$$');\n\n // attacklab: Restore tremas\n text = text.replace(/¨T/g, '¨');\n\n // render a complete html document instead of a partial if the option is enabled\n text = showdown.subParser('completeHTMLDocument')(text, options, globals);\n\n // Run output modifiers\n showdown.helper.forEach(outputModifiers, function (ext) {\n text = showdown.subParser('runExtension')(ext, text, options, globals);\n });\n\n // update metadata\n metadata = globals.metadata;\n return text;\n };\n\n /**\n * Converts an HTML string into a markdown string\n * @param src\n * @param [HTMLParser] A WHATWG DOM and HTML parser, such as JSDOM. If none is supplied, window.document will be used.\n * @returns {string}\n */\n this.makeMarkdown = this.makeMd = function (src, HTMLParser) {\n\n // replace \\r\\n with \\n\n src = src.replace(/\\r\\n/g, '\\n');\n src = src.replace(/\\r/g, '\\n'); // old macs\n\n // due to an edge case, we need to find this: > <\n // to prevent removing of non silent white spaces\n // ex: this is sparta\n src = src.replace(/>[ \\t]+, '>¨NBSP;<');\n\n if (!HTMLParser) {\n if (window && window.document) {\n HTMLParser = window.document;\n } else {\n throw new Error('HTMLParser is undefined. If in a webworker or nodejs environment, you need to provide a WHATWG DOM and HTML such as JSDOM');\n }\n }\n\n var doc = HTMLParser.createElement('div');\n doc.innerHTML = src;\n\n var globals = {\n preList: substitutePreCodeTags(doc)\n };\n\n // remove all newlines and collapse spaces\n clean(doc);\n\n // some stuff, like accidental reference links must now be escaped\n // TODO\n // doc.innerHTML = doc.innerHTML.replace(/\\[[\\S\\t ]]/);\n\n var nodes = doc.childNodes,\n mdDoc = '';\n\n for (var i = 0; i < nodes.length; i++) {\n mdDoc += showdown.subParser('makeMarkdown.node')(nodes[i], globals);\n }\n\n function clean (node) {\n for (var n = 0; n < node.childNodes.length; ++n) {\n var child = node.childNodes[n];\n if (child.nodeType === 3) {\n if (!/\\S/.test(child.nodeValue)) {\n node.removeChild(child);\n --n;\n } else {\n child.nodeValue = child.nodeValue.split('\\n').join(' ');\n child.nodeValue = child.nodeValue.replace(/(\\s)+/g, '$1');\n }\n } else if (child.nodeType === 1) {\n clean(child);\n }\n }\n }\n\n // find all pre tags and replace contents with placeholder\n // we need this so that we can remove all indentation from html\n // to ease up parsing\n function substitutePreCodeTags (doc) {\n\n var pres = doc.querySelectorAll('pre'),\n presPH = [];\n\n for (var i = 0; i < pres.length; ++i) {\n\n if (pres[i].childElementCount === 1 && pres[i].firstChild.tagName.toLowerCase() === 'code') {\n var content = pres[i].firstChild.innerHTML.trim(),\n language = pres[i].firstChild.getAttribute('data-language') || '';\n\n // if data-language attribute is not defined, then we look for class language-*\n if (language === '') {\n var classes = pres[i].firstChild.className.split(' ');\n for (var c = 0; c < classes.length; ++c) {\n var matches = classes[c].match(/^language-(.+)$/);\n if (matches !== null) {\n language = matches[1];\n break;\n }\n }\n }\n\n // unescape html entities in content\n content = showdown.helper.unescapeHTMLEntities(content);\n\n presPH.push(content);\n pres[i].outerHTML = ' ';\n } else {\n presPH.push(pres[i].innerHTML);\n pres[i].innerHTML = '';\n pres[i].setAttribute('prenum', i.toString());\n }\n }\n return presPH;\n }\n\n return mdDoc;\n };\n\n /**\n * Set an option of this Converter instance\n * @param {string} key\n * @param {*} value\n */\n this.setOption = function (key, value) {\n options[key] = value;\n };\n\n /**\n * Get the option of this Converter instance\n * @param {string} key\n * @returns {*}\n */\n this.getOption = function (key) {\n return options[key];\n };\n\n /**\n * Get the options of this Converter instance\n * @returns {{}}\n */\n this.getOptions = function () {\n return options;\n };\n\n /**\n * Add extension to THIS converter\n * @param {{}} extension\n * @param {string} [name=null]\n */\n this.addExtension = function (extension, name) {\n name = name || null;\n _parseExtension(extension, name);\n };\n\n /**\n * Use a global registered extension with THIS converter\n * @param {string} extensionName Name of the previously registered extension\n */\n this.useExtension = function (extensionName) {\n _parseExtension(extensionName);\n };\n\n /**\n * Set the flavor THIS converter should use\n * @param {string} name\n */\n this.setFlavor = function (name) {\n if (!flavor.hasOwnProperty(name)) {\n throw Error(name + ' flavor was not found');\n }\n var preset = flavor[name];\n setConvFlavor = name;\n for (var option in preset) {\n if (preset.hasOwnProperty(option)) {\n options[option] = preset[option];\n }\n }\n };\n\n /**\n * Get the currently set flavor of this converter\n * @returns {string}\n */\n this.getFlavor = function () {\n return setConvFlavor;\n };\n\n /**\n * Remove an extension from THIS converter.\n * Note: This is a costly operation. It's better to initialize a new converter\n * and specify the extensions you wish to use\n * @param {Array} extension\n */\n this.removeExtension = function (extension) {\n if (!showdown.helper.isArray(extension)) {\n extension = [extension];\n }\n for (var a = 0; a < extension.length; ++a) {\n var ext = extension[a];\n for (var i = 0; i < langExtensions.length; ++i) {\n if (langExtensions[i] === ext) {\n langExtensions[i].splice(i, 1);\n }\n }\n for (var ii = 0; ii < outputModifiers.length; ++i) {\n if (outputModifiers[ii] === ext) {\n outputModifiers[ii].splice(i, 1);\n }\n }\n }\n };\n\n /**\n * Get all extension of THIS converter\n * @returns {{language: Array, output: Array}}\n */\n this.getAllExtensions = function () {\n return {\n language: langExtensions,\n output: outputModifiers\n };\n };\n\n /**\n * Get the metadata of the previously parsed document\n * @param raw\n * @returns {string|{}}\n */\n this.getMetadata = function (raw) {\n if (raw) {\n return metadata.raw;\n } else {\n return metadata.parsed;\n }\n };\n\n /**\n * Get the metadata format of the previously parsed document\n * @returns {string}\n */\n this.getMetadataFormat = function () {\n return metadata.format;\n };\n\n /**\n * Private: set a single key, value metadata pair\n * @param {string} key\n * @param {string} value\n */\n this._setMetadataPair = function (key, value) {\n metadata.parsed[key] = value;\n };\n\n /**\n * Private: set metadata format\n * @param {string} format\n */\n this._setMetadataFormat = function (format) {\n metadata.format = format;\n };\n\n /**\n * Private: set metadata raw text\n * @param {string} raw\n */\n this._setMetadataRaw = function (raw) {\n metadata.raw = raw;\n };\n};\n\r\n/**\n * Turn Markdown link shortcuts into XHTML tags.\n */\nshowdown.subParser('anchors', function (text, options, globals) {\n 'use strict';\n\n text = globals.converter._dispatch('anchors.before', text, options, globals);\n\n var writeAnchorTag = function (wholeMatch, linkText, linkId, url, m5, m6, title) {\n if (showdown.helper.isUndefined(title)) {\n title = '';\n }\n linkId = linkId.toLowerCase();\n\n // Special case for explicit empty url\n if (wholeMatch.search(/\\(\\s*>? ?(['\"].*['\"])?\\)$/m) > -1) {\n url = '';\n } else if (!url) {\n if (!linkId) {\n // lower-case and turn embedded newlines into spaces\n linkId = linkText.toLowerCase().replace(/ ?\\n/g, ' ');\n }\n url = '#' + linkId;\n\n if (!showdown.helper.isUndefined(globals.gUrls[linkId])) {\n url = globals.gUrls[linkId];\n if (!showdown.helper.isUndefined(globals.gTitles[linkId])) {\n title = globals.gTitles[linkId];\n }\n } else {\n return wholeMatch;\n }\n }\n\n //url = showdown.helper.escapeCharacters(url, '*_', false); // replaced line to improve performance\n url = url.replace(showdown.helper.regexes.asteriskDashAndColon, showdown.helper.escapeCharactersCallback);\n\n var result = '' + linkText + '';\n\n return result;\n };\n\n // First, handle reference-style links: [link text] [id]\n text = text.replace(/\\[((?:\\[[^\\]]*]|[^\\[\\]])*)] ?(?:\\n *)?\\[(.*?)]()()()()/g, writeAnchorTag);\n\n // Next, inline-style links: [link text](url \"optional title\")\n // cases with crazy urls like ./image/cat1).png\n text = text.replace(/\\[((?:\\[[^\\]]*]|[^\\[\\]])*)]()[ \\t]*\\([ \\t]?<([^>]*)>(?:[ \\t]*(([\"'])([^\"]*?)\\5))?[ \\t]?\\)/g,\n writeAnchorTag);\n\n // normal cases\n text = text.replace(/\\[((?:\\[[^\\]]*]|[^\\[\\]])*)]()[ \\t]*\\([ \\t]?([\\S]+?(?:\\([\\S]*?\\)[\\S]*?)?)>?(?:[ \\t]*(([\"'])([^\"]*?)\\5))?[ \\t]?\\)/g,\n writeAnchorTag);\n\n // handle reference-style shortcuts: [link text]\n // These must come last in case you've also got [link test][1]\n // or [link test](/foo)\n text = text.replace(/\\[([^\\[\\]]+)]()()()()()/g, writeAnchorTag);\n\n // Lastly handle GithubMentions if option is enabled\n if (options.ghMentions) {\n text = text.replace(/(^|\\s)(\\\\)?(@([a-z\\d]+(?:[a-z\\d.-]+?[a-z\\d]+)*))/gmi, function (wm, st, escape, mentions, username) {\n if (escape === '\\\\') {\n return st + mentions;\n }\n\n //check if options.ghMentionsLink is a string\n if (!showdown.helper.isString(options.ghMentionsLink)) {\n throw new Error('ghMentionsLink option must be a string');\n }\n var lnk = options.ghMentionsLink.replace(/\\{u}/g, username),\n target = '';\n if (options.openLinksInNewWindow) {\n target = ' rel=\"noopener noreferrer\" target=\"¨E95Eblank\"';\n }\n return st + '' + mentions + '';\n });\n }\n\n text = globals.converter._dispatch('anchors.after', text, options, globals);\n return text;\n});\n\r\n// url allowed chars [a-z\\d_.~:/?#[]@!$&'()*+,;=-]\n\nvar simpleURLRegex = /([*~_]+|\\b)(((https?|ftp|dict):\\/\\/|www\\.)[^'\">\\s]+?\\.[^'\">\\s]+?)()(\\1)?(?=\\s|$)(?![\"<>])/gi,\n simpleURLRegex2 = /([*~_]+|\\b)(((https?|ftp|dict):\\/\\/|www\\.)[^'\">\\s]+\\.[^'\">\\s]+?)([.!?,()\\[\\]])?(\\1)?(?=\\s|$)(?![\"<>])/gi,\n delimUrlRegex = /()<(((https?|ftp|dict):\\/\\/|www\\.)[^'\">\\s]+)()>()/gi,\n simpleMailRegex = /(^|\\s)(?:mailto:)?([A-Za-z0-9!#$%&'*+-/=?^_`{|}~.]+@[-a-z0-9]+(\\.[-a-z0-9]+)*\\.[a-z]+)(?=$|\\s)/gmi,\n delimMailRegex = /<()(?:mailto:)?([-.\\w]+@[-a-z0-9]+(\\.[-a-z0-9]+)*\\.[a-z]+)>/gi,\n\n replaceLink = function (options) {\n 'use strict';\n return function (wm, leadingMagicChars, link, m2, m3, trailingPunctuation, trailingMagicChars) {\n link = link.replace(showdown.helper.regexes.asteriskDashAndColon, showdown.helper.escapeCharactersCallback);\n var lnkTxt = link,\n append = '',\n target = '',\n lmc = leadingMagicChars || '',\n tmc = trailingMagicChars || '';\n if (/^www\\./i.test(link)) {\n link = link.replace(/^www\\./i, 'http://www.');\n }\n if (options.excludeTrailingPunctuationFromURLs && trailingPunctuation) {\n append = trailingPunctuation;\n }\n if (options.openLinksInNewWindow) {\n target = ' rel=\"noopener noreferrer\" target=\"¨E95Eblank\"';\n }\n return lmc + '' + lnkTxt + '' + append + tmc;\n };\n },\n\n replaceMail = function (options, globals) {\n 'use strict';\n return function (wholeMatch, b, mail) {\n var href = 'mailto:';\n b = b || '';\n mail = showdown.subParser('unescapeSpecialChars')(mail, options, globals);\n if (options.encodeEmails) {\n href = showdown.helper.encodeEmailAddress(href + mail);\n mail = showdown.helper.encodeEmailAddress(mail);\n } else {\n href = href + mail;\n }\n return b + '' + mail + '';\n };\n };\n\nshowdown.subParser('autoLinks', function (text, options, globals) {\n 'use strict';\n\n text = globals.converter._dispatch('autoLinks.before', text, options, globals);\n\n text = text.replace(delimUrlRegex, replaceLink(options));\n text = text.replace(delimMailRegex, replaceMail(options, globals));\n\n text = globals.converter._dispatch('autoLinks.after', text, options, globals);\n\n return text;\n});\n\nshowdown.subParser('simplifiedAutoLinks', function (text, options, globals) {\n 'use strict';\n\n if (!options.simplifiedAutoLink) {\n return text;\n }\n\n text = globals.converter._dispatch('simplifiedAutoLinks.before', text, options, globals);\n\n if (options.excludeTrailingPunctuationFromURLs) {\n text = text.replace(simpleURLRegex2, replaceLink(options));\n } else {\n text = text.replace(simpleURLRegex, replaceLink(options));\n }\n text = text.replace(simpleMailRegex, replaceMail(options, globals));\n\n text = globals.converter._dispatch('simplifiedAutoLinks.after', text, options, globals);\n\n return text;\n});\n\r\n/**\n * These are all the transformations that form block-level\n * tags like paragraphs, headers, and list items.\n */\nshowdown.subParser('blockGamut', function (text, options, globals) {\n 'use strict';\n\n text = globals.converter._dispatch('blockGamut.before', text, options, globals);\n\n // we parse blockquotes first so that we can have headings and hrs\n // inside blockquotes\n text = showdown.subParser('blockQuotes')(text, options, globals);\n text = showdown.subParser('headers')(text, options, globals);\n\n // Do Horizontal Rules:\n text = showdown.subParser('horizontalRule')(text, options, globals);\n\n text = showdown.subParser('lists')(text, options, globals);\n text = showdown.subParser('codeBlocks')(text, options, globals);\n text = showdown.subParser('tables')(text, options, globals);\n\n // We already ran _HashHTMLBlocks() before, in Markdown(), but that\n // was to escape raw HTML in the original Markdown source. This time,\n // we're escaping the markup we've just created, so that we don't wrap\n // tags around block-level tags.\n text = showdown.subParser('hashHTMLBlocks')(text, options, globals);\n text = showdown.subParser('paragraphs')(text, options, globals);\n\n text = globals.converter._dispatch('blockGamut.after', text, options, globals);\n\n return text;\n});\n\r\nshowdown.subParser('blockQuotes', function (text, options, globals) {\n 'use strict';\n\n text = globals.converter._dispatch('blockQuotes.before', text, options, globals);\n\n // add a couple extra lines after the text and endtext mark\n text = text + '\\n\\n';\n\n var rgx = /(^ {0,3}>[ \\t]?.+\\n(.+\\n)*\\n*)+/gm;\n\n if (options.splitAdjacentBlockquotes) {\n rgx = /^ {0,3}>[\\s\\S]*?(?:\\n\\n)/gm;\n }\n\n text = text.replace(rgx, function (bq) {\n // attacklab: hack around Konqueror 3.5.4 bug:\n // \"----------bug\".replace(/^-/g,\"\") == \"bug\"\n bq = bq.replace(/^[ \\t]*>[ \\t]?/gm, ''); // trim one level of quoting\n\n // attacklab: clean up hack\n bq = bq.replace(/¨0/g, '');\n\n bq = bq.replace(/^[ \\t]+$/gm, ''); // trim whitespace-only lines\n bq = showdown.subParser('githubCodeBlocks')(bq, options, globals);\n bq = showdown.subParser('blockGamut')(bq, options, globals); // recurse\n\n bq = bq.replace(/(^|\\n)/g, '$1 ');\n // These leading spaces screw with
content, so we need to fix that:\n bq = bq.replace(/(\\s*[^\\r]+?<\\/pre>)/gm, function (wholeMatch, m1) {\n var pre = m1;\n // attacklab: hack around Konqueror 3.5.4 bug:\n pre = pre.replace(/^ /mg, '¨0');\n pre = pre.replace(/¨0/g, '');\n return pre;\n });\n\n return showdown.subParser('hashBlock')('\\n' + bq + '\\n
', options, globals);\n });\n\n text = globals.converter._dispatch('blockQuotes.after', text, options, globals);\n return text;\n});\n\r\n/**\n * Process Markdown `` blocks.\n */\nshowdown.subParser('codeBlocks', function (text, options, globals) {\n 'use strict';\n\n text = globals.converter._dispatch('codeBlocks.before', text, options, globals);\n\n // sentinel workarounds for lack of \\A and \\Z, safari\\khtml bug\n text += '¨0';\n\n var pattern = /(?:\\n\\n|^)((?:(?:[ ]{4}|\\t).*\\n+)+)(\\n*[ ]{0,3}[^ \\t\\n]|(?=¨0))/g;\n text = text.replace(pattern, function (wholeMatch, m1, m2) {\n var codeblock = m1,\n nextChar = m2,\n end = '\\n';\n\n codeblock = showdown.subParser('outdent')(codeblock, options, globals);\n codeblock = showdown.subParser('encodeCode')(codeblock, options, globals);\n codeblock = showdown.subParser('detab')(codeblock, options, globals);\n codeblock = codeblock.replace(/^\\n+/g, ''); // trim leading newlines\n codeblock = codeblock.replace(/\\n+$/g, ''); // trim trailing newlines\n\n if (options.omitExtraWLInCodeBlocks) {\n end = '';\n }\n\n codeblock = '' + codeblock + end + '
';\n\n return showdown.subParser('hashBlock')(codeblock, options, globals) + nextChar;\n });\n\n // strip sentinel\n text = text.replace(/¨0/, '');\n\n text = globals.converter._dispatch('codeBlocks.after', text, options, globals);\n return text;\n});\n\r\n/**\n *\n * * Backtick quotes are used for
spans.\n *\n * * You can use multiple backticks as the delimiters if you want to\n * include literal backticks in the code span. So, this input:\n *\n * Just type ``foo `bar` baz`` at the prompt.\n *\n * Will translate to:\n *\n * Just type foo `bar` baz
at the prompt.
\n *\n * There's no arbitrary limit to the number of backticks you\n * can use as delimters. If you need three consecutive backticks\n * in your code, use four for delimiters, etc.\n *\n * * You can use spaces to get literal backticks at the edges:\n *\n * ... type `` `bar` `` ...\n *\n * Turns to:\n *\n * ... type `bar`
...\n */\nshowdown.subParser('codeSpans', function (text, options, globals) {\n 'use strict';\n\n text = globals.converter._dispatch('codeSpans.before', text, options, globals);\n\n if (typeof text === 'undefined') {\n text = '';\n }\n text = text.replace(/(^|[^\\\\])(`+)([^\\r]*?[^`])\\2(?!`)/gm,\n function (wholeMatch, m1, m2, m3) {\n var c = m3;\n c = c.replace(/^([ \\t]*)/g, '');\t// leading whitespace\n c = c.replace(/[ \\t]*$/g, '');\t// trailing whitespace\n c = showdown.subParser('encodeCode')(c, options, globals);\n c = m1 + '' + c + '
';\n c = showdown.subParser('hashHTMLSpans')(c, options, globals);\n return c;\n }\n );\n\n text = globals.converter._dispatch('codeSpans.after', text, options, globals);\n return text;\n});\n\r\n/**\n * Create a full HTML document from the processed markdown\n */\nshowdown.subParser('completeHTMLDocument', function (text, options, globals) {\n 'use strict';\n\n if (!options.completeHTMLDocument) {\n return text;\n }\n\n text = globals.converter._dispatch('completeHTMLDocument.before', text, options, globals);\n\n var doctype = 'html',\n doctypeParsed = '\\n',\n title = '',\n charset = '\\n',\n lang = '',\n metadata = '';\n\n if (typeof globals.metadata.parsed.doctype !== 'undefined') {\n doctypeParsed = '\\n';\n doctype = globals.metadata.parsed.doctype.toString().toLowerCase();\n if (doctype === 'html' || doctype === 'html5') {\n charset = '';\n }\n }\n\n for (var meta in globals.metadata.parsed) {\n if (globals.metadata.parsed.hasOwnProperty(meta)) {\n switch (meta.toLowerCase()) {\n case 'doctype':\n break;\n\n case 'title':\n title = '' + globals.metadata.parsed.title + ' \\n';\n break;\n\n case 'charset':\n if (doctype === 'html' || doctype === 'html5') {\n charset = '\\n';\n } else {\n charset = '\\n';\n }\n break;\n\n case 'language':\n case 'lang':\n lang = ' lang=\"' + globals.metadata.parsed[meta] + '\"';\n metadata += '\\n';\n break;\n\n default:\n metadata += '\\n';\n }\n }\n }\n\n text = doctypeParsed + '\\n\\n' + title + charset + metadata + '\\n\\n' + text.trim() + '\\n\\n';\n\n text = globals.converter._dispatch('completeHTMLDocument.after', text, options, globals);\n return text;\n});\n\r\n/**\n * Convert all tabs to spaces\n */\nshowdown.subParser('detab', function (text, options, globals) {\n 'use strict';\n text = globals.converter._dispatch('detab.before', text, options, globals);\n\n // expand first n-1 tabs\n text = text.replace(/\\t(?=\\t)/g, ' '); // g_tab_width\n\n // replace the nth with two sentinels\n text = text.replace(/\\t/g, '¨A¨B');\n\n // use the sentinel to anchor our regex so it doesn't explode\n text = text.replace(/¨B(.+?)¨A/g, function (wholeMatch, m1) {\n var leadingText = m1,\n numSpaces = 4 - leadingText.length % 4; // g_tab_width\n\n // there *must* be a better way to do this:\n for (var i = 0; i < numSpaces; i++) {\n leadingText += ' ';\n }\n\n return leadingText;\n });\n\n // clean up sentinels\n text = text.replace(/¨A/g, ' '); // g_tab_width\n text = text.replace(/¨B/g, '');\n\n text = globals.converter._dispatch('detab.after', text, options, globals);\n return text;\n});\n\r\nshowdown.subParser('ellipsis', function (text, options, globals) {\n 'use strict';\n\n text = globals.converter._dispatch('ellipsis.before', text, options, globals);\n\n text = text.replace(/\\.\\.\\./g, '…');\n\n text = globals.converter._dispatch('ellipsis.after', text, options, globals);\n\n return text;\n});\n\r\n/**\n * Turn emoji codes into emojis\n *\n * List of supported emojis: https://github.com/showdownjs/showdown/wiki/Emojis\n */\nshowdown.subParser('emoji', function (text, options, globals) {\n 'use strict';\n\n if (!options.emoji) {\n return text;\n }\n\n text = globals.converter._dispatch('emoji.before', text, options, globals);\n\n var emojiRgx = /:([\\S]+?):/g;\n\n text = text.replace(emojiRgx, function (wm, emojiCode) {\n if (showdown.helper.emojis.hasOwnProperty(emojiCode)) {\n return showdown.helper.emojis[emojiCode];\n }\n return wm;\n });\n\n text = globals.converter._dispatch('emoji.after', text, options, globals);\n\n return text;\n});\n\r\n/**\n * Smart processing for ampersands and angle brackets that need to be encoded.\n */\nshowdown.subParser('encodeAmpsAndAngles', function (text, options, globals) {\n 'use strict';\n text = globals.converter._dispatch('encodeAmpsAndAngles.before', text, options, globals);\n\n // Ampersand-encoding based entirely on Nat Irons's Amputator MT plugin:\n // http://bumppo.net/projects/amputator/\n text = text.replace(/&(?!#?[xX]?(?:[0-9a-fA-F]+|\\w+);)/g, '&');\n\n // Encode naked <'s\n text = text.replace(/<(?![a-z\\/?$!])/gi, '<');\n\n // Encode <\n text = text.replace(/\n text = text.replace(/>/g, '>');\n\n text = globals.converter._dispatch('encodeAmpsAndAngles.after', text, options, globals);\n return text;\n});\n\r\n/**\n * Returns the string, with after processing the following backslash escape sequences.\n *\n * attacklab: The polite way to do this is with the new escapeCharacters() function:\n *\n * text = escapeCharacters(text,\"\\\\\",true);\n * text = escapeCharacters(text,\"`*_{}[]()>#+-.!\",true);\n *\n * ...but we're sidestepping its use of the (slow) RegExp constructor\n * as an optimization for Firefox. This function gets called a LOT.\n */\nshowdown.subParser('encodeBackslashEscapes', function (text, options, globals) {\n 'use strict';\n text = globals.converter._dispatch('encodeBackslashEscapes.before', text, options, globals);\n\n text = text.replace(/\\\\(\\\\)/g, showdown.helper.escapeCharactersCallback);\n text = text.replace(/\\\\([`*_{}\\[\\]()>#+.!~=|-])/g, showdown.helper.escapeCharactersCallback);\n\n text = globals.converter._dispatch('encodeBackslashEscapes.after', text, options, globals);\n return text;\n});\n\r\n/**\n * Encode/escape certain characters inside Markdown code runs.\n * The point is that in code, these characters are literals,\n * and lose their special Markdown meanings.\n */\nshowdown.subParser('encodeCode', function (text, options, globals) {\n 'use strict';\n\n text = globals.converter._dispatch('encodeCode.before', text, options, globals);\n\n // Encode all ampersands; HTML entities are not\n // entities within a Markdown code span.\n text = text\n .replace(/&/g, '&')\n // Do the angle bracket song and dance:\n .replace(//g, '>')\n // Now, escape characters that are magic in Markdown:\n .replace(/([*_{}\\[\\]\\\\=~-])/g, showdown.helper.escapeCharactersCallback);\n\n text = globals.converter._dispatch('encodeCode.after', text, options, globals);\n return text;\n});\n\r\n/**\n * Within tags -- meaning between < and > -- encode [\\ ` * _ ~ =] so they\n * don't conflict with their use in Markdown for code, italics and strong.\n */\nshowdown.subParser('escapeSpecialCharsWithinTagAttributes', function (text, options, globals) {\n 'use strict';\n text = globals.converter._dispatch('escapeSpecialCharsWithinTagAttributes.before', text, options, globals);\n\n // Build a regex to find HTML tags.\n var tags = /<\\/?[a-z\\d_:-]+(?:[\\s]+[\\s\\S]+?)?>/gi,\n comments = /-]|-[^>])(?:[^-]|-[^-])*)--)>/gi;\n\n text = text.replace(tags, function (wholeMatch) {\n return wholeMatch\n .replace(/(.)<\\/?code>(?=.)/g, '$1`')\n .replace(/([\\\\`*_~=|])/g, showdown.helper.escapeCharactersCallback);\n });\n\n text = text.replace(comments, function (wholeMatch) {\n return wholeMatch\n .replace(/([\\\\`*_~=|])/g, showdown.helper.escapeCharactersCallback);\n });\n\n text = globals.converter._dispatch('escapeSpecialCharsWithinTagAttributes.after', text, options, globals);\n return text;\n});\n\r\n/**\n * Handle github codeblocks prior to running HashHTML so that\n * HTML contained within the codeblock gets escaped properly\n * Example:\n * ```ruby\n * def hello_world(x)\n * puts \"Hello, #{x}\"\n * end\n * ```\n */\nshowdown.subParser('githubCodeBlocks', function (text, options, globals) {\n 'use strict';\n\n // early exit if option is not enabled\n if (!options.ghCodeBlocks) {\n return text;\n }\n\n text = globals.converter._dispatch('githubCodeBlocks.before', text, options, globals);\n\n text += '¨0';\n\n text = text.replace(/(?:^|\\n)(?: {0,3})(```+|~~~+)(?: *)([^\\s`~]*)\\n([\\s\\S]*?)\\n(?: {0,3})\\1/g, function (wholeMatch, delim, language, codeblock) {\n var end = (options.omitExtraWLInCodeBlocks) ? '' : '\\n';\n\n // First parse the github code block\n codeblock = showdown.subParser('encodeCode')(codeblock, options, globals);\n codeblock = showdown.subParser('detab')(codeblock, options, globals);\n codeblock = codeblock.replace(/^\\n+/g, ''); // trim leading newlines\n codeblock = codeblock.replace(/\\n+$/g, ''); // trim trailing whitespace\n\n codeblock = '' + codeblock + end + '
';\n\n codeblock = showdown.subParser('hashBlock')(codeblock, options, globals);\n\n // Since GHCodeblocks can be false positives, we need to\n // store the primitive text and the parsed text in a global var,\n // and then return a token\n return '\\n\\n¨G' + (globals.ghCodeBlocks.push({text: wholeMatch, codeblock: codeblock}) - 1) + 'G\\n\\n';\n });\n\n // attacklab: strip sentinel\n text = text.replace(/¨0/, '');\n\n return globals.converter._dispatch('githubCodeBlocks.after', text, options, globals);\n});\n\r\nshowdown.subParser('hashBlock', function (text, options, globals) {\n 'use strict';\n text = globals.converter._dispatch('hashBlock.before', text, options, globals);\n text = text.replace(/(^\\n+|\\n+$)/g, '');\n text = '\\n\\n¨K' + (globals.gHtmlBlocks.push(text) - 1) + 'K\\n\\n';\n text = globals.converter._dispatch('hashBlock.after', text, options, globals);\n return text;\n});\n\r\n/**\n * Hash and escape elements that should not be parsed as markdown\n */\nshowdown.subParser('hashCodeTags', function (text, options, globals) {\n 'use strict';\n text = globals.converter._dispatch('hashCodeTags.before', text, options, globals);\n\n var repFunc = function (wholeMatch, match, left, right) {\n var codeblock = left + showdown.subParser('encodeCode')(match, options, globals) + right;\n return '¨C' + (globals.gHtmlSpans.push(codeblock) - 1) + 'C';\n };\n\n // Hash naked \n text = showdown.helper.replaceRecursiveRegExp(text, repFunc, ']*>', '
', 'gim');\n\n text = globals.converter._dispatch('hashCodeTags.after', text, options, globals);\n return text;\n});\n\r\nshowdown.subParser('hashElement', function (text, options, globals) {\n 'use strict';\n\n return function (wholeMatch, m1) {\n var blockText = m1;\n\n // Undo double lines\n blockText = blockText.replace(/\\n\\n/g, '\\n');\n blockText = blockText.replace(/^\\n/, '');\n\n // strip trailing blank lines\n blockText = blockText.replace(/\\n+$/g, '');\n\n // Replace the element text with a marker (\"¨KxK\" where x is its key)\n blockText = '\\n\\n¨K' + (globals.gHtmlBlocks.push(blockText) - 1) + 'K\\n\\n';\n\n return blockText;\n };\n});\n\r\nshowdown.subParser('hashHTMLBlocks', function (text, options, globals) {\n 'use strict';\n text = globals.converter._dispatch('hashHTMLBlocks.before', text, options, globals);\n\n var blockTags = [\n 'pre',\n 'div',\n 'h1',\n 'h2',\n 'h3',\n 'h4',\n 'h5',\n 'h6',\n 'blockquote',\n 'table',\n 'dl',\n 'ol',\n 'ul',\n 'script',\n 'noscript',\n 'form',\n 'fieldset',\n 'iframe',\n 'math',\n 'style',\n 'section',\n 'header',\n 'footer',\n 'nav',\n 'article',\n 'aside',\n 'address',\n 'audio',\n 'canvas',\n 'figure',\n 'hgroup',\n 'output',\n 'video',\n 'p'\n ],\n repFunc = function (wholeMatch, match, left, right) {\n var txt = wholeMatch;\n // check if this html element is marked as markdown\n // if so, it's contents should be parsed as markdown\n if (left.search(/\\bmarkdown\\b/) !== -1) {\n txt = left + globals.converter.makeHtml(match) + right;\n }\n return '\\n\\n¨K' + (globals.gHtmlBlocks.push(txt) - 1) + 'K\\n\\n';\n };\n\n if (options.backslashEscapesHTMLTags) {\n // encode backslash escaped HTML tags\n text = text.replace(/\\\\<(\\/?[^>]+?)>/g, function (wm, inside) {\n return '<' + inside + '>';\n });\n }\n\n // hash HTML Blocks\n for (var i = 0; i < blockTags.length; ++i) {\n\n var opTagPos,\n rgx1 = new RegExp('^ {0,3}(<' + blockTags[i] + '\\\\b[^>]*>)', 'im'),\n patLeft = '<' + blockTags[i] + '\\\\b[^>]*>',\n patRight = '' + blockTags[i] + '>';\n // 1. Look for the first position of the first opening HTML tag in the text\n while ((opTagPos = showdown.helper.regexIndexOf(text, rgx1)) !== -1) {\n\n // if the HTML tag is \\ escaped, we need to escape it and break\n\n\n //2. Split the text in that position\n var subTexts = showdown.helper.splitAtIndex(text, opTagPos),\n //3. Match recursively\n newSubText1 = showdown.helper.replaceRecursiveRegExp(subTexts[1], repFunc, patLeft, patRight, 'im');\n\n // prevent an infinite loop\n if (newSubText1 === subTexts[1]) {\n break;\n }\n text = subTexts[0].concat(newSubText1);\n }\n }\n // HR SPECIAL CASE\n text = text.replace(/(\\n {0,3}(<(hr)\\b([^<>])*?\\/?>)[ \\t]*(?=\\n{2,}))/g,\n showdown.subParser('hashElement')(text, options, globals));\n\n // Special case for standalone HTML comments\n text = showdown.helper.replaceRecursiveRegExp(text, function (txt) {\n return '\\n\\n¨K' + (globals.gHtmlBlocks.push(txt) - 1) + 'K\\n\\n';\n }, '^ {0,3}', 'gm');\n\n // PHP and ASP-style processor instructions (...?> and <%...%>)\n text = text.replace(/(?:\\n\\n)( {0,3}(?:<([?%])[^\\r]*?\\2>)[ \\t]*(?=\\n{2,}))/g,\n showdown.subParser('hashElement')(text, options, globals));\n\n text = globals.converter._dispatch('hashHTMLBlocks.after', text, options, globals);\n return text;\n});\n\r\n/**\n * Hash span elements that should not be parsed as markdown\n */\nshowdown.subParser('hashHTMLSpans', function (text, options, globals) {\n 'use strict';\n text = globals.converter._dispatch('hashHTMLSpans.before', text, options, globals);\n\n function hashHTMLSpan (html) {\n return '¨C' + (globals.gHtmlSpans.push(html) - 1) + 'C';\n }\n\n // Hash Self Closing tags\n text = text.replace(/<[^>]+?\\/>/gi, function (wm) {\n return hashHTMLSpan(wm);\n });\n\n // Hash tags without properties\n text = text.replace(/<([^>]+?)>[\\s\\S]*?<\\/\\1>/g, function (wm) {\n return hashHTMLSpan(wm);\n });\n\n // Hash tags with properties\n text = text.replace(/<([^>]+?)\\s[^>]+?>[\\s\\S]*?<\\/\\1>/g, function (wm) {\n return hashHTMLSpan(wm);\n });\n\n // Hash self closing tags without />\n text = text.replace(/<[^>]+?>/gi, function (wm) {\n return hashHTMLSpan(wm);\n });\n\n /*showdown.helper.matchRecursiveRegExp(text, ']*>', '
', 'gi');*/\n\n text = globals.converter._dispatch('hashHTMLSpans.after', text, options, globals);\n return text;\n});\n\n/**\n * Unhash HTML spans\n */\nshowdown.subParser('unhashHTMLSpans', function (text, options, globals) {\n 'use strict';\n text = globals.converter._dispatch('unhashHTMLSpans.before', text, options, globals);\n\n for (var i = 0; i < globals.gHtmlSpans.length; ++i) {\n var repText = globals.gHtmlSpans[i],\n // limiter to prevent infinite loop (assume 10 as limit for recurse)\n limit = 0;\n\n while (/¨C(\\d+)C/.test(repText)) {\n var num = RegExp.$1;\n repText = repText.replace('¨C' + num + 'C', globals.gHtmlSpans[num]);\n if (limit === 10) {\n console.error('maximum nesting of 10 spans reached!!!');\n break;\n }\n ++limit;\n }\n text = text.replace('¨C' + i + 'C', repText);\n }\n\n text = globals.converter._dispatch('unhashHTMLSpans.after', text, options, globals);\n return text;\n});\n\r\n/**\n * Hash and escape elements that should not be parsed as markdown\n */\nshowdown.subParser('hashPreCodeTags', function (text, options, globals) {\n 'use strict';\n text = globals.converter._dispatch('hashPreCodeTags.before', text, options, globals);\n\n var repFunc = function (wholeMatch, match, left, right) {\n // encode html entities\n var codeblock = left + showdown.subParser('encodeCode')(match, options, globals) + right;\n return '\\n\\n¨G' + (globals.ghCodeBlocks.push({text: wholeMatch, codeblock: codeblock}) - 1) + 'G\\n\\n';\n };\n\n // Hash \n text = showdown.helper.replaceRecursiveRegExp(text, repFunc, '^ {0,3}]*>\\\\s*]*>', '^ {0,3}
\\\\s*
', 'gim');\n\n text = globals.converter._dispatch('hashPreCodeTags.after', text, options, globals);\n return text;\n});\n\r\nshowdown.subParser('headers', function (text, options, globals) {\n 'use strict';\n\n text = globals.converter._dispatch('headers.before', text, options, globals);\n\n var headerLevelStart = (isNaN(parseInt(options.headerLevelStart))) ? 1 : parseInt(options.headerLevelStart),\n\n // Set text-style headers:\n //\tHeader 1\n //\t========\n //\n //\tHeader 2\n //\t--------\n //\n setextRegexH1 = (options.smoothLivePreview) ? /^(.+)[ \\t]*\\n={2,}[ \\t]*\\n+/gm : /^(.+)[ \\t]*\\n=+[ \\t]*\\n+/gm,\n setextRegexH2 = (options.smoothLivePreview) ? /^(.+)[ \\t]*\\n-{2,}[ \\t]*\\n+/gm : /^(.+)[ \\t]*\\n-+[ \\t]*\\n+/gm;\n\n text = text.replace(setextRegexH1, function (wholeMatch, m1) {\n\n var spanGamut = showdown.subParser('spanGamut')(m1, options, globals),\n hID = (options.noHeaderId) ? '' : ' id=\"' + headerId(m1) + '\"',\n hLevel = headerLevelStart,\n hashBlock = '' + spanGamut + ' ';\n return showdown.subParser('hashBlock')(hashBlock, options, globals);\n });\n\n text = text.replace(setextRegexH2, function (matchFound, m1) {\n var spanGamut = showdown.subParser('spanGamut')(m1, options, globals),\n hID = (options.noHeaderId) ? '' : ' id=\"' + headerId(m1) + '\"',\n hLevel = headerLevelStart + 1,\n hashBlock = '' + spanGamut + ' ';\n return showdown.subParser('hashBlock')(hashBlock, options, globals);\n });\n\n // atx-style headers:\n // # Header 1\n // ## Header 2\n // ## Header 2 with closing hashes ##\n // ...\n // ###### Header 6\n //\n var atxStyle = (options.requireSpaceBeforeHeadingText) ? /^(#{1,6})[ \\t]+(.+?)[ \\t]*#*\\n+/gm : /^(#{1,6})[ \\t]*(.+?)[ \\t]*#*\\n+/gm;\n\n text = text.replace(atxStyle, function (wholeMatch, m1, m2) {\n var hText = m2;\n if (options.customizedHeaderId) {\n hText = m2.replace(/\\s?\\{([^{]+?)}\\s*$/, '');\n }\n\n var span = showdown.subParser('spanGamut')(hText, options, globals),\n hID = (options.noHeaderId) ? '' : ' id=\"' + headerId(m2) + '\"',\n hLevel = headerLevelStart - 1 + m1.length,\n header = '' + span + ' ';\n\n return showdown.subParser('hashBlock')(header, options, globals);\n });\n\n function headerId (m) {\n var title,\n prefix;\n\n // It is separate from other options to allow combining prefix and customized\n if (options.customizedHeaderId) {\n var match = m.match(/\\{([^{]+?)}\\s*$/);\n if (match && match[1]) {\n m = match[1];\n }\n }\n\n title = m;\n\n // Prefix id to prevent causing inadvertent pre-existing style matches.\n if (showdown.helper.isString(options.prefixHeaderId)) {\n prefix = options.prefixHeaderId;\n } else if (options.prefixHeaderId === true) {\n prefix = 'section-';\n } else {\n prefix = '';\n }\n\n if (!options.rawPrefixHeaderId) {\n title = prefix + title;\n }\n\n if (options.ghCompatibleHeaderId) {\n title = title\n .replace(/ /g, '-')\n // replace previously escaped chars (&, ¨ and $)\n .replace(/&/g, '')\n .replace(/¨T/g, '')\n .replace(/¨D/g, '')\n // replace rest of the chars (&~$ are repeated as they might have been escaped)\n // borrowed from github's redcarpet (some they should produce similar results)\n .replace(/[&+$,\\/:;=?@\"#{}|^¨~\\[\\]`\\\\*)(%.!'<>]/g, '')\n .toLowerCase();\n } else if (options.rawHeaderId) {\n title = title\n .replace(/ /g, '-')\n // replace previously escaped chars (&, ¨ and $)\n .replace(/&/g, '&')\n .replace(/¨T/g, '¨')\n .replace(/¨D/g, '$')\n // replace \" and '\n .replace(/[\"']/g, '-')\n .toLowerCase();\n } else {\n title = title\n .replace(/[^\\w]/g, '')\n .toLowerCase();\n }\n\n if (options.rawPrefixHeaderId) {\n title = prefix + title;\n }\n\n if (globals.hashLinkCounts[title]) {\n title = title + '-' + (globals.hashLinkCounts[title]++);\n } else {\n globals.hashLinkCounts[title] = 1;\n }\n return title;\n }\n\n text = globals.converter._dispatch('headers.after', text, options, globals);\n return text;\n});\n\r\n/**\n * Turn Markdown link shortcuts into XHTML tags.\n */\nshowdown.subParser('horizontalRule', function (text, options, globals) {\n 'use strict';\n text = globals.converter._dispatch('horizontalRule.before', text, options, globals);\n\n var key = showdown.subParser('hashBlock')('
', options, globals);\n text = text.replace(/^ {0,2}( ?-){3,}[ \\t]*$/gm, key);\n text = text.replace(/^ {0,2}( ?\\*){3,}[ \\t]*$/gm, key);\n text = text.replace(/^ {0,2}( ?_){3,}[ \\t]*$/gm, key);\n\n text = globals.converter._dispatch('horizontalRule.after', text, options, globals);\n return text;\n});\n\r\n/**\n * Turn Markdown image shortcuts into tags.\n */\nshowdown.subParser('images', function (text, options, globals) {\n 'use strict';\n\n text = globals.converter._dispatch('images.before', text, options, globals);\n\n var inlineRegExp = /!\\[([^\\]]*?)][ \\t]*()\\([ \\t]?([\\S]+?(?:\\([\\S]*?\\)[\\S]*?)?)>?(?: =([*\\d]+[A-Za-z%]{0,4})x([*\\d]+[A-Za-z%]{0,4}))?[ \\t]*(?:([\"'])([^\"]*?)\\6)?[ \\t]?\\)/g,\n crazyRegExp = /!\\[([^\\]]*?)][ \\t]*()\\([ \\t]?<([^>]*)>(?: =([*\\d]+[A-Za-z%]{0,4})x([*\\d]+[A-Za-z%]{0,4}))?[ \\t]*(?:(?:([\"'])([^\"]*?)\\6))?[ \\t]?\\)/g,\n base64RegExp = /!\\[([^\\]]*?)][ \\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,\n referenceRegExp = /!\\[([^\\]]*?)] ?(?:\\n *)?\\[([\\s\\S]*?)]()()()()()/g,\n refShortcutRegExp = /!\\[([^\\[\\]]+)]()()()()()/g;\n\n function writeImageTagBase64 (wholeMatch, altText, linkId, url, width, height, m5, title) {\n url = url.replace(/\\s/g, '');\n return writeImageTag (wholeMatch, altText, linkId, url, width, height, m5, title);\n }\n\n function writeImageTag (wholeMatch, altText, linkId, url, width, height, m5, title) {\n\n var gUrls = globals.gUrls,\n gTitles = globals.gTitles,\n gDims = globals.gDimensions;\n\n linkId = linkId.toLowerCase();\n\n if (!title) {\n title = '';\n }\n // Special case for explicit empty url\n if (wholeMatch.search(/\\(\\s*>? ?(['\"].*['\"])?\\)$/m) > -1) {\n url = '';\n\n } else if (url === '' || url === null) {\n if (linkId === '' || linkId === null) {\n // lower-case and turn embedded newlines into spaces\n linkId = altText.toLowerCase().replace(/ ?\\n/g, ' ');\n }\n url = '#' + linkId;\n\n if (!showdown.helper.isUndefined(gUrls[linkId])) {\n url = gUrls[linkId];\n if (!showdown.helper.isUndefined(gTitles[linkId])) {\n title = gTitles[linkId];\n }\n if (!showdown.helper.isUndefined(gDims[linkId])) {\n width = gDims[linkId].width;\n height = gDims[linkId].height;\n }\n } else {\n return wholeMatch;\n }\n }\n\n altText = altText\n .replace(/\"/g, '"')\n //altText = showdown.helper.escapeCharacters(altText, '*_', false);\n .replace(showdown.helper.regexes.asteriskDashAndColon, showdown.helper.escapeCharactersCallback);\n //url = showdown.helper.escapeCharacters(url, '*_', false);\n url = url.replace(showdown.helper.regexes.asteriskDashAndColon, showdown.helper.escapeCharactersCallback);\n var result = '';\n\n return result;\n }\n\n // First, handle reference-style labeled images: ![alt text][id]\n text = text.replace(referenceRegExp, writeImageTag);\n\n // Next, handle inline images: ![alt text](url =x \"optional title\")\n\n // base64 encoded images\n text = text.replace(base64RegExp, writeImageTagBase64);\n\n // cases with crazy urls like ./image/cat1).png\n text = text.replace(crazyRegExp, writeImageTag);\n\n // normal cases\n text = text.replace(inlineRegExp, writeImageTag);\n\n // handle reference-style shortcuts: ![img text]\n text = text.replace(refShortcutRegExp, writeImageTag);\n\n text = globals.converter._dispatch('images.after', text, options, globals);\n return text;\n});\n\r\nshowdown.subParser('italicsAndBold', function (text, options, globals) {\n 'use strict';\n\n text = globals.converter._dispatch('italicsAndBold.before', text, options, globals);\n\n // it's faster to have 3 separate regexes for each case than have just one\n // because of backtracing, in some cases, it could lead to an exponential effect\n // called \"catastrophic backtrace\". Ominous!\n\n function parseInside (txt, left, right) {\n /*\n if (options.simplifiedAutoLink) {\n txt = showdown.subParser('simplifiedAutoLinks')(txt, options, globals);\n }\n */\n return left + txt + right;\n }\n\n // Parse underscores\n if (options.literalMidWordUnderscores) {\n text = text.replace(/\\b___(\\S[\\s\\S]*?)___\\b/g, function (wm, txt) {\n return parseInside (txt, '', '');\n });\n text = text.replace(/\\b__(\\S[\\s\\S]*?)__\\b/g, function (wm, txt) {\n return parseInside (txt, '', '');\n });\n text = text.replace(/\\b_(\\S[\\s\\S]*?)_\\b/g, function (wm, txt) {\n return parseInside (txt, '', '');\n });\n } else {\n text = text.replace(/___(\\S[\\s\\S]*?)___/g, function (wm, m) {\n return (/\\S$/.test(m)) ? parseInside (m, '', '') : wm;\n });\n text = text.replace(/__(\\S[\\s\\S]*?)__/g, function (wm, m) {\n return (/\\S$/.test(m)) ? parseInside (m, '', '') : wm;\n });\n text = text.replace(/_([^\\s_][\\s\\S]*?)_/g, function (wm, m) {\n // !/^_[^_]/.test(m) - test if it doesn't start with __ (since it seems redundant, we removed it)\n return (/\\S$/.test(m)) ? parseInside (m, '', '') : wm;\n });\n }\n\n // Now parse asterisks\n if (options.literalMidWordAsterisks) {\n text = text.replace(/([^*]|^)\\B\\*\\*\\*(\\S[\\s\\S]*?)\\*\\*\\*\\B(?!\\*)/g, function (wm, lead, txt) {\n return parseInside (txt, lead + '', '');\n });\n text = text.replace(/([^*]|^)\\B\\*\\*(\\S[\\s\\S]*?)\\*\\*\\B(?!\\*)/g, function (wm, lead, txt) {\n return parseInside (txt, lead + '', '');\n });\n text = text.replace(/([^*]|^)\\B\\*(\\S[\\s\\S]*?)\\*\\B(?!\\*)/g, function (wm, lead, txt) {\n return parseInside (txt, lead + '', '');\n });\n } else {\n text = text.replace(/\\*\\*\\*(\\S[\\s\\S]*?)\\*\\*\\*/g, function (wm, m) {\n return (/\\S$/.test(m)) ? parseInside (m, '', '') : wm;\n });\n text = text.replace(/\\*\\*(\\S[\\s\\S]*?)\\*\\*/g, function (wm, m) {\n return (/\\S$/.test(m)) ? parseInside (m, '', '') : wm;\n });\n text = text.replace(/\\*([^\\s*][\\s\\S]*?)\\*/g, function (wm, m) {\n // !/^\\*[^*]/.test(m) - test if it doesn't start with ** (since it seems redundant, we removed it)\n return (/\\S$/.test(m)) ? parseInside (m, '', '') : wm;\n });\n }\n\n\n text = globals.converter._dispatch('italicsAndBold.after', text, options, globals);\n return text;\n});\n\r\n/**\n * Form HTML ordered (numbered) and unordered (bulleted) lists.\n */\nshowdown.subParser('lists', function (text, options, globals) {\n 'use strict';\n\n /**\n * Process the contents of a single ordered or unordered list, splitting it\n * into individual list items.\n * @param {string} listStr\n * @param {boolean} trimTrailing\n * @returns {string}\n */\n function processListItems (listStr, trimTrailing) {\n // The $g_list_level global keeps track of when we're inside a list.\n // Each time we enter a list, we increment it; when we leave a list,\n // we decrement. If it's zero, we're not in a list anymore.\n //\n // We do this because when we're not inside a list, we want to treat\n // something like this:\n //\n // I recommend upgrading to version\n // 8. Oops, now this line is treated\n // as a sub-list.\n //\n // As a single paragraph, despite the fact that the second line starts\n // with a digit-period-space sequence.\n //\n // Whereas when we're inside a list (or sub-list), that line will be\n // treated as the start of a sub-list. What a kludge, huh? This is\n // an aspect of Markdown's syntax that's hard to parse perfectly\n // without resorting to mind-reading. Perhaps the solution is to\n // change the syntax rules such that sub-lists must start with a\n // starting cardinal number; e.g. \"1.\" or \"a.\".\n globals.gListLevel++;\n\n // trim trailing blank lines:\n listStr = listStr.replace(/\\n{2,}$/, '\\n');\n\n // attacklab: add sentinel to emulate \\z\n listStr += '¨0';\n\n var rgx = /(\\n)?(^ {0,3})([*+-]|\\d+[.])[ \\t]+((\\[(x|X| )?])?[ \\t]*[^\\r]+?(\\n{1,2}))(?=\\n*(¨0| {0,3}([*+-]|\\d+[.])[ \\t]+))/gm,\n isParagraphed = (/\\n[ \\t]*\\n(?!¨0)/.test(listStr));\n\n // Since version 1.5, nesting sublists requires 4 spaces (or 1 tab) indentation,\n // which is a syntax breaking change\n // activating this option reverts to old behavior\n if (options.disableForced4SpacesIndentedSublists) {\n rgx = /(\\n)?(^ {0,3})([*+-]|\\d+[.])[ \\t]+((\\[(x|X| )?])?[ \\t]*[^\\r]+?(\\n{1,2}))(?=\\n*(¨0|\\2([*+-]|\\d+[.])[ \\t]+))/gm;\n }\n\n listStr = listStr.replace(rgx, function (wholeMatch, m1, m2, m3, m4, taskbtn, checked) {\n checked = (checked && checked.trim() !== '');\n\n var item = showdown.subParser('outdent')(m4, options, globals),\n bulletStyle = '';\n\n // Support for github tasklists\n if (taskbtn && options.tasklists) {\n bulletStyle = ' class=\"task-list-item\" style=\"list-style-type: none;\"';\n item = item.replace(/^[ \\t]*\\[(x|X| )?]/m, function () {\n var otp = '';\n return otp;\n });\n }\n\n // ISSUE #312\n // This input: - - - a\n // causes trouble to the parser, since it interprets it as:\n // - a
\n // instead of:\n // - - - a
\n // So, to prevent it, we will put a marker (¨A)in the beginning of the line\n // Kind of hackish/monkey patching, but seems more effective than overcomplicating the list parser\n item = item.replace(/^([-*+]|\\d\\.)[ \\t]+[\\S\\n ]*/g, function (wm2) {\n return '¨A' + wm2;\n });\n\n // m1 - Leading line or\n // Has a double return (multi paragraph) or\n // Has sublist\n if (m1 || (item.search(/\\n{2,}/) > -1)) {\n item = showdown.subParser('githubCodeBlocks')(item, options, globals);\n item = showdown.subParser('blockGamut')(item, options, globals);\n } else {\n // Recursion for sub-lists:\n item = showdown.subParser('lists')(item, options, globals);\n item = item.replace(/\\n$/, ''); // chomp(item)\n item = showdown.subParser('hashHTMLBlocks')(item, options, globals);\n\n // Colapse double linebreaks\n item = item.replace(/\\n\\n+/g, '\\n\\n');\n if (isParagraphed) {\n item = showdown.subParser('paragraphs')(item, options, globals);\n } else {\n item = showdown.subParser('spanGamut')(item, options, globals);\n }\n }\n\n // now we need to remove the marker (¨A)\n item = item.replace('¨A', '');\n // we can finally wrap the line in list item tags\n item = '' + item + ' \\n';\n\n return item;\n });\n\n // attacklab: strip sentinel\n listStr = listStr.replace(/¨0/g, '');\n\n globals.gListLevel--;\n\n if (trimTrailing) {\n listStr = listStr.replace(/\\s+$/, '');\n }\n\n return listStr;\n }\n\n function styleStartNumber (list, listType) {\n // check if ol and starts by a number different than 1\n if (listType === 'ol') {\n var res = list.match(/^ *(\\d+)\\./);\n if (res && res[1] !== '1') {\n return ' start=\"' + res[1] + '\"';\n }\n }\n return '';\n }\n\n /**\n * Check and parse consecutive lists (better fix for issue #142)\n * @param {string} list\n * @param {string} listType\n * @param {boolean} trimTrailing\n * @returns {string}\n */\n function parseConsecutiveLists (list, listType, trimTrailing) {\n // check if we caught 2 or more consecutive lists by mistake\n // we use the counterRgx, meaning if listType is UL we look for OL and vice versa\n var olRgx = (options.disableForced4SpacesIndentedSublists) ? /^ ?\\d+\\.[ \\t]/gm : /^ {0,3}\\d+\\.[ \\t]/gm,\n ulRgx = (options.disableForced4SpacesIndentedSublists) ? /^ ?[*+-][ \\t]/gm : /^ {0,3}[*+-][ \\t]/gm,\n counterRxg = (listType === 'ul') ? olRgx : ulRgx,\n result = '';\n\n if (list.search(counterRxg) !== -1) {\n (function parseCL (txt) {\n var pos = txt.search(counterRxg),\n style = styleStartNumber(list, listType);\n if (pos !== -1) {\n // slice\n result += '\\n\\n<' + listType + style + '>\\n' + processListItems(txt.slice(0, pos), !!trimTrailing) + '' + listType + '>\\n';\n\n // invert counterType and listType\n listType = (listType === 'ul') ? 'ol' : 'ul';\n counterRxg = (listType === 'ul') ? olRgx : ulRgx;\n\n //recurse\n parseCL(txt.slice(pos));\n } else {\n result += '\\n\\n<' + listType + style + '>\\n' + processListItems(txt, !!trimTrailing) + '' + listType + '>\\n';\n }\n })(list);\n } else {\n var style = styleStartNumber(list, listType);\n result = '\\n\\n<' + listType + style + '>\\n' + processListItems(list, !!trimTrailing) + '' + listType + '>\\n';\n }\n\n return result;\n }\n\n /** Start of list parsing **/\n text = globals.converter._dispatch('lists.before', text, options, globals);\n // add sentinel to hack around khtml/safari bug:\n // http://bugs.webkit.org/show_bug.cgi?id=11231\n text += '¨0';\n\n if (globals.gListLevel) {\n text = text.replace(/^(( {0,3}([*+-]|\\d+[.])[ \\t]+)[^\\r]+?(¨0|\\n{2,}(?=\\S)(?![ \\t]*(?:[*+-]|\\d+[.])[ \\t]+)))/gm,\n function (wholeMatch, list, m2) {\n var listType = (m2.search(/[*+-]/g) > -1) ? 'ul' : 'ol';\n return parseConsecutiveLists(list, listType, true);\n }\n );\n } else {\n text = text.replace(/(\\n\\n|^\\n?)(( {0,3}([*+-]|\\d+[.])[ \\t]+)[^\\r]+?(¨0|\\n{2,}(?=\\S)(?![ \\t]*(?:[*+-]|\\d+[.])[ \\t]+)))/gm,\n function (wholeMatch, m1, list, m3) {\n var listType = (m3.search(/[*+-]/g) > -1) ? 'ul' : 'ol';\n return parseConsecutiveLists(list, listType, false);\n }\n );\n }\n\n // strip sentinel\n text = text.replace(/¨0/, '');\n text = globals.converter._dispatch('lists.after', text, options, globals);\n return text;\n});\n\r\n/**\n * Parse metadata at the top of the document\n */\nshowdown.subParser('metadata', function (text, options, globals) {\n 'use strict';\n\n if (!options.metadata) {\n return text;\n }\n\n text = globals.converter._dispatch('metadata.before', text, options, globals);\n\n function parseMetadataContents (content) {\n // raw is raw so it's not changed in any way\n globals.metadata.raw = content;\n\n // escape chars forbidden in html attributes\n // double quotes\n content = content\n // ampersand first\n .replace(/&/g, '&')\n // double quotes\n .replace(/\"/g, '"');\n\n content = content.replace(/\\n {4}/g, ' ');\n content.replace(/^([\\S ]+): +([\\s\\S]+?)$/gm, function (wm, key, value) {\n globals.metadata.parsed[key] = value;\n return '';\n });\n }\n\n text = text.replace(/^\\s*«««+(\\S*?)\\n([\\s\\S]+?)\\n»»»+\\n/, function (wholematch, format, content) {\n parseMetadataContents(content);\n return '¨M';\n });\n\n text = text.replace(/^\\s*---+(\\S*?)\\n([\\s\\S]+?)\\n---+\\n/, function (wholematch, format, content) {\n if (format) {\n globals.metadata.format = format;\n }\n parseMetadataContents(content);\n return '¨M';\n });\n\n text = text.replace(/¨M/g, '');\n\n text = globals.converter._dispatch('metadata.after', text, options, globals);\n return text;\n});\n\r\n/**\n * Remove one level of line-leading tabs or spaces\n */\nshowdown.subParser('outdent', function (text, options, globals) {\n 'use strict';\n text = globals.converter._dispatch('outdent.before', text, options, globals);\n\n // attacklab: hack around Konqueror 3.5.4 bug:\n // \"----------bug\".replace(/^-/g,\"\") == \"bug\"\n text = text.replace(/^(\\t|[ ]{1,4})/gm, '¨0'); // attacklab: g_tab_width\n\n // attacklab: clean up hack\n text = text.replace(/¨0/g, '');\n\n text = globals.converter._dispatch('outdent.after', text, options, globals);\n return text;\n});\n\r\n/**\n *\n */\nshowdown.subParser('paragraphs', function (text, options, globals) {\n 'use strict';\n\n text = globals.converter._dispatch('paragraphs.before', text, options, globals);\n // Strip leading and trailing lines:\n text = text.replace(/^\\n+/g, '');\n text = text.replace(/\\n+$/g, '');\n\n var grafs = text.split(/\\n{2,}/g),\n grafsOut = [],\n end = grafs.length; // Wrap tags\n\n for (var i = 0; i < end; i++) {\n var str = grafs[i];\n // if this is an HTML marker, copy it\n if (str.search(/¨(K|G)(\\d+)\\1/g) >= 0) {\n grafsOut.push(str);\n\n // test for presence of characters to prevent empty lines being parsed\n // as paragraphs (resulting in undesired extra empty paragraphs)\n } else if (str.search(/\\S/) >= 0) {\n str = showdown.subParser('spanGamut')(str, options, globals);\n str = str.replace(/^([ \\t]*)/g, '
');\n str += '
';\n grafsOut.push(str);\n }\n }\n\n /** Unhashify HTML blocks */\n end = grafsOut.length;\n for (i = 0; i < end; i++) {\n var blockText = '',\n grafsOutIt = grafsOut[i],\n codeFlag = false;\n // if this is a marker for an html block...\n // use RegExp.test instead of string.search because of QML bug\n while (/¨(K|G)(\\d+)\\1/.test(grafsOutIt)) {\n var delim = RegExp.$1,\n num = RegExp.$2;\n\n if (delim === 'K') {\n blockText = globals.gHtmlBlocks[num];\n } else {\n // we need to check if ghBlock is a false positive\n if (codeFlag) {\n // use encoded version of all text\n blockText = showdown.subParser('encodeCode')(globals.ghCodeBlocks[num].text, options, globals);\n } else {\n blockText = globals.ghCodeBlocks[num].codeblock;\n }\n }\n blockText = blockText.replace(/\\$/g, '$$$$'); // Escape any dollar signs\n\n grafsOutIt = grafsOutIt.replace(/(\\n\\n)?¨(K|G)\\d+\\2(\\n\\n)?/, blockText);\n // Check if grafsOutIt is a pre->code\n if (/^]*>\\s*]*>/.test(grafsOutIt)) {\n codeFlag = true;\n }\n }\n grafsOut[i] = grafsOutIt;\n }\n text = grafsOut.join('\\n');\n // Strip leading and trailing lines:\n text = text.replace(/^\\n+/g, '');\n text = text.replace(/\\n+$/g, '');\n return globals.converter._dispatch('paragraphs.after', text, options, globals);\n});\n\r\n/**\n * Run extension\n */\nshowdown.subParser('runExtension', function (ext, text, options, globals) {\n 'use strict';\n\n if (ext.filter) {\n text = ext.filter(text, globals.converter, options);\n\n } else if (ext.regex) {\n // TODO remove this when old extension loading mechanism is deprecated\n var re = ext.regex;\n if (!(re instanceof RegExp)) {\n re = new RegExp(re, 'g');\n }\n text = text.replace(re, ext.replace);\n }\n\n return text;\n});\n\r\n/**\n * These are all the transformations that occur *within* block-level\n * tags like paragraphs, headers, and list items.\n */\nshowdown.subParser('spanGamut', function (text, options, globals) {\n 'use strict';\n\n text = globals.converter._dispatch('spanGamut.before', text, options, globals);\n text = showdown.subParser('codeSpans')(text, options, globals);\n text = showdown.subParser('escapeSpecialCharsWithinTagAttributes')(text, options, globals);\n text = showdown.subParser('encodeBackslashEscapes')(text, options, globals);\n\n // Process anchor and image tags. Images must come first,\n // because ![foo][f] looks like an anchor.\n text = showdown.subParser('images')(text, options, globals);\n text = showdown.subParser('anchors')(text, options, globals);\n\n // Make links out of things like ` `\n // Must come after anchors, because you can use < and >\n // delimiters in inline links like [this]().\n text = showdown.subParser('autoLinks')(text, options, globals);\n text = showdown.subParser('simplifiedAutoLinks')(text, options, globals);\n text = showdown.subParser('emoji')(text, options, globals);\n text = showdown.subParser('underline')(text, options, globals);\n text = showdown.subParser('italicsAndBold')(text, options, globals);\n text = showdown.subParser('strikethrough')(text, options, globals);\n text = showdown.subParser('ellipsis')(text, options, globals);\n\n // we need to hash HTML tags inside spans\n text = showdown.subParser('hashHTMLSpans')(text, options, globals);\n\n // now we encode amps and angles\n text = showdown.subParser('encodeAmpsAndAngles')(text, options, globals);\n\n // Do hard breaks\n if (options.simpleLineBreaks) {\n // GFM style hard breaks\n // only add line breaks if the text does not contain a block (special case for lists)\n if (!/\\n\\n¨K/.test(text)) {\n text = text.replace(/\\n+/g, '
\\n');\n }\n } else {\n // Vanilla hard breaks\n text = text.replace(/ +\\n/g, '
\\n');\n }\n\n text = globals.converter._dispatch('spanGamut.after', text, options, globals);\n return text;\n});\n\r\nshowdown.subParser('strikethrough', function (text, options, globals) {\n 'use strict';\n\n function parseInside (txt) {\n if (options.simplifiedAutoLink) {\n txt = showdown.subParser('simplifiedAutoLinks')(txt, options, globals);\n }\n return '' + txt + '';\n }\n\n if (options.strikethrough) {\n text = globals.converter._dispatch('strikethrough.before', text, options, globals);\n text = text.replace(/(?:~){2}([\\s\\S]+?)(?:~){2}/g, function (wm, txt) { return parseInside(txt); });\n text = globals.converter._dispatch('strikethrough.after', text, options, globals);\n }\n\n return text;\n});\n\r\n/**\n * Strips link definitions from text, stores the URLs and titles in\n * hash references.\n * Link defs are in the form: ^[id]: url \"optional title\"\n */\nshowdown.subParser('stripLinkDefinitions', function (text, options, globals) {\n 'use strict';\n\n var regex = /^ {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,\n base64Regex = /^ {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;\n\n // attacklab: sentinel workarounds for lack of \\A and \\Z, safari\\khtml bug\n text += '¨0';\n\n var replaceFunc = function (wholeMatch, linkId, url, width, height, blankLines, title) {\n linkId = linkId.toLowerCase();\n if (url.match(/^data:.+?\\/.+?;base64,/)) {\n // remove newlines\n globals.gUrls[linkId] = url.replace(/\\s/g, '');\n } else {\n globals.gUrls[linkId] = showdown.subParser('encodeAmpsAndAngles')(url, options, globals); // Link IDs are case-insensitive\n }\n\n if (blankLines) {\n // Oops, found blank lines, so it's not a title.\n // Put back the parenthetical statement we stole.\n return blankLines + title;\n\n } else {\n if (title) {\n globals.gTitles[linkId] = title.replace(/\"|'/g, '"');\n }\n if (options.parseImgDimensions && width && height) {\n globals.gDimensions[linkId] = {\n width: width,\n height: height\n };\n }\n }\n // Completely remove the definition from the text\n return '';\n };\n\n // first we try to find base64 link references\n text = text.replace(base64Regex, replaceFunc);\n\n text = text.replace(regex, replaceFunc);\n\n // attacklab: strip sentinel\n text = text.replace(/¨0/, '');\n\n return text;\n});\n\r\nshowdown.subParser('tables', function (text, options, globals) {\n 'use strict';\n\n if (!options.tables) {\n return text;\n }\n\n var tableRgx = /^ {0,3}\\|?.+\\|.+\\n {0,3}\\|?[ \\t]*:?[ \\t]*(?:[-=]){2,}[ \\t]*:?[ \\t]*\\|[ \\t]*:?[ \\t]*(?:[-=]){2,}[\\s\\S]+?(?:\\n\\n|¨0)/gm,\n //singeColTblRgx = /^ {0,3}\\|.+\\|\\n {0,3}\\|[ \\t]*:?[ \\t]*(?:[-=]){2,}[ \\t]*:?[ \\t]*\\|[ \\t]*\\n(?: {0,3}\\|.+\\|\\n)+(?:\\n\\n|¨0)/gm;\n singeColTblRgx = /^ {0,3}\\|.+\\|[ \\t]*\\n {0,3}\\|[ \\t]*:?[ \\t]*(?:[-=]){2,}[ \\t]*:?[ \\t]*\\|[ \\t]*\\n( {0,3}\\|.+\\|[ \\t]*\\n)*(?:\\n|¨0)/gm;\n\n function parseStyles (sLine) {\n if (/^:[ \\t]*--*$/.test(sLine)) {\n return ' style=\"text-align:left;\"';\n } else if (/^--*[ \\t]*:[ \\t]*$/.test(sLine)) {\n return ' style=\"text-align:right;\"';\n } else if (/^:[ \\t]*--*[ \\t]*:$/.test(sLine)) {\n return ' style=\"text-align:center;\"';\n } else {\n return '';\n }\n }\n\n function parseHeaders (header, style) {\n var id = '';\n header = header.trim();\n // support both tablesHeaderId and tableHeaderId due to error in documentation so we don't break backwards compatibility\n if (options.tablesHeaderId || options.tableHeaderId) {\n id = ' id=\"' + header.replace(/ /g, '_').toLowerCase() + '\"';\n }\n header = showdown.subParser('spanGamut')(header, options, globals);\n\n return '' + header + ' \\n';\n }\n\n function parseCells (cell, style) {\n var subText = showdown.subParser('spanGamut')(cell, options, globals);\n return '' + subText + ' \\n';\n }\n\n function buildTable (headers, cells) {\n var tb = '\\n\\n\\n',\n tblLgn = headers.length;\n\n for (var i = 0; i < tblLgn; ++i) {\n tb += headers[i];\n }\n tb += ' \\n\\n\\n';\n\n for (i = 0; i < cells.length; ++i) {\n tb += '\\n';\n for (var ii = 0; ii < tblLgn; ++ii) {\n tb += cells[i][ii];\n }\n tb += ' \\n';\n }\n tb += '\\n
\\n';\n return tb;\n }\n\n function parseTable (rawTable) {\n var i, tableLines = rawTable.split('\\n');\n\n for (i = 0; i < tableLines.length; ++i) {\n // strip wrong first and last column if wrapped tables are used\n if (/^ {0,3}\\|/.test(tableLines[i])) {\n tableLines[i] = tableLines[i].replace(/^ {0,3}\\|/, '');\n }\n if (/\\|[ \\t]*$/.test(tableLines[i])) {\n tableLines[i] = tableLines[i].replace(/\\|[ \\t]*$/, '');\n }\n // parse code spans first, but we only support one line code spans\n tableLines[i] = showdown.subParser('codeSpans')(tableLines[i], options, globals);\n }\n\n var rawHeaders = tableLines[0].split('|').map(function (s) { return s.trim();}),\n rawStyles = tableLines[1].split('|').map(function (s) { return s.trim();}),\n rawCells = [],\n headers = [],\n styles = [],\n cells = [];\n\n tableLines.shift();\n tableLines.shift();\n\n for (i = 0; i < tableLines.length; ++i) {\n if (tableLines[i].trim() === '') {\n continue;\n }\n rawCells.push(\n tableLines[i]\n .split('|')\n .map(function (s) {\n return s.trim();\n })\n );\n }\n\n if (rawHeaders.length < rawStyles.length) {\n return rawTable;\n }\n\n for (i = 0; i < rawStyles.length; ++i) {\n styles.push(parseStyles(rawStyles[i]));\n }\n\n for (i = 0; i < rawHeaders.length; ++i) {\n if (showdown.helper.isUndefined(styles[i])) {\n styles[i] = '';\n }\n headers.push(parseHeaders(rawHeaders[i], styles[i]));\n }\n\n for (i = 0; i < rawCells.length; ++i) {\n var row = [];\n for (var ii = 0; ii < headers.length; ++ii) {\n if (showdown.helper.isUndefined(rawCells[i][ii])) {\n\n }\n row.push(parseCells(rawCells[i][ii], styles[ii]));\n }\n cells.push(row);\n }\n\n return buildTable(headers, cells);\n }\n\n text = globals.converter._dispatch('tables.before', text, options, globals);\n\n // find escaped pipe characters\n text = text.replace(/\\\\(\\|)/g, showdown.helper.escapeCharactersCallback);\n\n // parse multi column tables\n text = text.replace(tableRgx, parseTable);\n\n // parse one column tables\n text = text.replace(singeColTblRgx, parseTable);\n\n text = globals.converter._dispatch('tables.after', text, options, globals);\n\n return text;\n});\n\r\nshowdown.subParser('underline', function (text, options, globals) {\n 'use strict';\n\n if (!options.underline) {\n return text;\n }\n\n text = globals.converter._dispatch('underline.before', text, options, globals);\n\n if (options.literalMidWordUnderscores) {\n text = text.replace(/\\b___(\\S[\\s\\S]*?)___\\b/g, function (wm, txt) {\n return '' + txt + '';\n });\n text = text.replace(/\\b__(\\S[\\s\\S]*?)__\\b/g, function (wm, txt) {\n return '' + txt + '';\n });\n } else {\n text = text.replace(/___(\\S[\\s\\S]*?)___/g, function (wm, m) {\n return (/\\S$/.test(m)) ? '' + m + '' : wm;\n });\n text = text.replace(/__(\\S[\\s\\S]*?)__/g, function (wm, m) {\n return (/\\S$/.test(m)) ? '' + m + '' : wm;\n });\n }\n\n // escape remaining underscores to prevent them being parsed by italic and bold\n text = text.replace(/(_)/g, showdown.helper.escapeCharactersCallback);\n\n text = globals.converter._dispatch('underline.after', text, options, globals);\n\n return text;\n});\n\r\n/**\n * Swap back in all the special characters we've hidden.\n */\nshowdown.subParser('unescapeSpecialChars', function (text, options, globals) {\n 'use strict';\n text = globals.converter._dispatch('unescapeSpecialChars.before', text, options, globals);\n\n text = text.replace(/¨E(\\d+)E/g, function (wholeMatch, m1) {\n var charCodeToReplace = parseInt(m1);\n return String.fromCharCode(charCodeToReplace);\n });\n\n text = globals.converter._dispatch('unescapeSpecialChars.after', text, options, globals);\n return text;\n});\n\r\nshowdown.subParser('makeMarkdown.blockquote', function (node, globals) {\n 'use strict';\n\n var txt = '';\n if (node.hasChildNodes()) {\n var children = node.childNodes,\n childrenLength = children.length;\n\n for (var i = 0; i < childrenLength; ++i) {\n var innerTxt = showdown.subParser('makeMarkdown.node')(children[i], globals);\n\n if (innerTxt === '') {\n continue;\n }\n txt += innerTxt;\n }\n }\n // cleanup\n txt = txt.trim();\n txt = '> ' + txt.split('\\n').join('\\n> ');\n return txt;\n});\n\r\nshowdown.subParser('makeMarkdown.codeBlock', function (node, globals) {\n 'use strict';\n\n var lang = node.getAttribute('language'),\n num = node.getAttribute('precodenum');\n return '```' + lang + '\\n' + globals.preList[num] + '\\n```';\n});\n\r\nshowdown.subParser('makeMarkdown.codeSpan', function (node) {\n 'use strict';\n\n return '`' + node.innerHTML + '`';\n});\n\r\nshowdown.subParser('makeMarkdown.emphasis', function (node, globals) {\n 'use strict';\n\n var txt = '';\n if (node.hasChildNodes()) {\n txt += '*';\n var children = node.childNodes,\n childrenLength = children.length;\n for (var i = 0; i < childrenLength; ++i) {\n txt += showdown.subParser('makeMarkdown.node')(children[i], globals);\n }\n txt += '*';\n }\n return txt;\n});\n\r\nshowdown.subParser('makeMarkdown.header', function (node, globals, headerLevel) {\n 'use strict';\n\n var headerMark = new Array(headerLevel + 1).join('#'),\n txt = '';\n\n if (node.hasChildNodes()) {\n txt = headerMark + ' ';\n var children = node.childNodes,\n childrenLength = children.length;\n\n for (var i = 0; i < childrenLength; ++i) {\n txt += showdown.subParser('makeMarkdown.node')(children[i], globals);\n }\n }\n return txt;\n});\n\r\nshowdown.subParser('makeMarkdown.hr', function () {\n 'use strict';\n\n return '---';\n});\n\r\nshowdown.subParser('makeMarkdown.image', function (node) {\n 'use strict';\n\n var txt = '';\n if (node.hasAttribute('src')) {\n txt += '![' + node.getAttribute('alt') + '](';\n txt += '<' + node.getAttribute('src') + '>';\n if (node.hasAttribute('width') && node.hasAttribute('height')) {\n txt += ' =' + node.getAttribute('width') + 'x' + node.getAttribute('height');\n }\n\n if (node.hasAttribute('title')) {\n txt += ' \"' + node.getAttribute('title') + '\"';\n }\n txt += ')';\n }\n return txt;\n});\n\r\nshowdown.subParser('makeMarkdown.links', function (node, globals) {\n 'use strict';\n\n var txt = '';\n if (node.hasChildNodes() && node.hasAttribute('href')) {\n var children = node.childNodes,\n childrenLength = children.length;\n txt = '[';\n for (var i = 0; i < childrenLength; ++i) {\n txt += showdown.subParser('makeMarkdown.node')(children[i], globals);\n }\n txt += '](';\n txt += '<' + node.getAttribute('href') + '>';\n if (node.hasAttribute('title')) {\n txt += ' \"' + node.getAttribute('title') + '\"';\n }\n txt += ')';\n }\n return txt;\n});\n\r\nshowdown.subParser('makeMarkdown.list', function (node, globals, type) {\n 'use strict';\n\n var txt = '';\n if (!node.hasChildNodes()) {\n return '';\n }\n var listItems = node.childNodes,\n listItemsLenght = listItems.length,\n listNum = node.getAttribute('start') || 1;\n\n for (var i = 0; i < listItemsLenght; ++i) {\n if (typeof listItems[i].tagName === 'undefined' || listItems[i].tagName.toLowerCase() !== 'li') {\n continue;\n }\n\n // define the bullet to use in list\n var bullet = '';\n if (type === 'ol') {\n bullet = listNum.toString() + '. ';\n } else {\n bullet = '- ';\n }\n\n // parse list item\n txt += bullet + showdown.subParser('makeMarkdown.listItem')(listItems[i], globals);\n ++listNum;\n }\n\n // add comment at the end to prevent consecutive lists to be parsed as one\n txt += '\\n\\n';\n return txt.trim();\n});\n\r\nshowdown.subParser('makeMarkdown.listItem', function (node, globals) {\n 'use strict';\n\n var listItemTxt = '';\n\n var children = node.childNodes,\n childrenLenght = children.length;\n\n for (var i = 0; i < childrenLenght; ++i) {\n listItemTxt += showdown.subParser('makeMarkdown.node')(children[i], globals);\n }\n // if it's only one liner, we need to add a newline at the end\n if (!/\\n$/.test(listItemTxt)) {\n listItemTxt += '\\n';\n } else {\n // it's multiparagraph, so we need to indent\n listItemTxt = listItemTxt\n .split('\\n')\n .join('\\n ')\n .replace(/^ {4}$/gm, '')\n .replace(/\\n\\n+/g, '\\n\\n');\n }\n\n return listItemTxt;\n});\n\r\n\n\nshowdown.subParser('makeMarkdown.node', function (node, globals, spansOnly) {\n 'use strict';\n\n spansOnly = spansOnly || false;\n\n var txt = '';\n\n // edge case of text without wrapper paragraph\n if (node.nodeType === 3) {\n return showdown.subParser('makeMarkdown.txt')(node, globals);\n }\n\n // HTML comment\n if (node.nodeType === 8) {\n return '\\n\\n';\n }\n\n // process only node elements\n if (node.nodeType !== 1) {\n return '';\n }\n\n var tagName = node.tagName.toLowerCase();\n\n switch (tagName) {\n\n //\n // BLOCKS\n //\n case 'h1':\n if (!spansOnly) { txt = showdown.subParser('makeMarkdown.header')(node, globals, 1) + '\\n\\n'; }\n break;\n case 'h2':\n if (!spansOnly) { txt = showdown.subParser('makeMarkdown.header')(node, globals, 2) + '\\n\\n'; }\n break;\n case 'h3':\n if (!spansOnly) { txt = showdown.subParser('makeMarkdown.header')(node, globals, 3) + '\\n\\n'; }\n break;\n case 'h4':\n if (!spansOnly) { txt = showdown.subParser('makeMarkdown.header')(node, globals, 4) + '\\n\\n'; }\n break;\n case 'h5':\n if (!spansOnly) { txt = showdown.subParser('makeMarkdown.header')(node, globals, 5) + '\\n\\n'; }\n break;\n case 'h6':\n if (!spansOnly) { txt = showdown.subParser('makeMarkdown.header')(node, globals, 6) + '\\n\\n'; }\n break;\n\n case 'p':\n if (!spansOnly) { txt = showdown.subParser('makeMarkdown.paragraph')(node, globals) + '\\n\\n'; }\n break;\n\n case 'blockquote':\n if (!spansOnly) { txt = showdown.subParser('makeMarkdown.blockquote')(node, globals) + '\\n\\n'; }\n break;\n\n case 'hr':\n if (!spansOnly) { txt = showdown.subParser('makeMarkdown.hr')(node, globals) + '\\n\\n'; }\n break;\n\n case 'ol':\n if (!spansOnly) { txt = showdown.subParser('makeMarkdown.list')(node, globals, 'ol') + '\\n\\n'; }\n break;\n\n case 'ul':\n if (!spansOnly) { txt = showdown.subParser('makeMarkdown.list')(node, globals, 'ul') + '\\n\\n'; }\n break;\n\n case 'precode':\n if (!spansOnly) { txt = showdown.subParser('makeMarkdown.codeBlock')(node, globals) + '\\n\\n'; }\n break;\n\n case 'pre':\n if (!spansOnly) { txt = showdown.subParser('makeMarkdown.pre')(node, globals) + '\\n\\n'; }\n break;\n\n case 'table':\n if (!spansOnly) { txt = showdown.subParser('makeMarkdown.table')(node, globals) + '\\n\\n'; }\n break;\n\n //\n // SPANS\n //\n case 'code':\n txt = showdown.subParser('makeMarkdown.codeSpan')(node, globals);\n break;\n\n case 'em':\n case 'i':\n txt = showdown.subParser('makeMarkdown.emphasis')(node, globals);\n break;\n\n case 'strong':\n case 'b':\n txt = showdown.subParser('makeMarkdown.strong')(node, globals);\n break;\n\n case 'del':\n txt = showdown.subParser('makeMarkdown.strikethrough')(node, globals);\n break;\n\n case 'a':\n txt = showdown.subParser('makeMarkdown.links')(node, globals);\n break;\n\n case 'img':\n txt = showdown.subParser('makeMarkdown.image')(node, globals);\n break;\n\n default:\n txt = node.outerHTML + '\\n\\n';\n }\n\n // common normalization\n // TODO eventually\n\n return txt;\n});\n\r\nshowdown.subParser('makeMarkdown.paragraph', function (node, globals) {\n 'use strict';\n\n var txt = '';\n if (node.hasChildNodes()) {\n var children = node.childNodes,\n childrenLength = children.length;\n for (var i = 0; i < childrenLength; ++i) {\n txt += showdown.subParser('makeMarkdown.node')(children[i], globals);\n }\n }\n\n // some text normalization\n txt = txt.trim();\n\n return txt;\n});\n\r\nshowdown.subParser('makeMarkdown.pre', function (node, globals) {\n 'use strict';\n\n var num = node.getAttribute('prenum');\n return '' + globals.preList[num] + '
';\n});\n\r\nshowdown.subParser('makeMarkdown.strikethrough', function (node, globals) {\n 'use strict';\n\n var txt = '';\n if (node.hasChildNodes()) {\n txt += '~~';\n var children = node.childNodes,\n childrenLength = children.length;\n for (var i = 0; i < childrenLength; ++i) {\n txt += showdown.subParser('makeMarkdown.node')(children[i], globals);\n }\n txt += '~~';\n }\n return txt;\n});\n\r\nshowdown.subParser('makeMarkdown.strong', function (node, globals) {\n 'use strict';\n\n var txt = '';\n if (node.hasChildNodes()) {\n txt += '**';\n var children = node.childNodes,\n childrenLength = children.length;\n for (var i = 0; i < childrenLength; ++i) {\n txt += showdown.subParser('makeMarkdown.node')(children[i], globals);\n }\n txt += '**';\n }\n return txt;\n});\n\r\nshowdown.subParser('makeMarkdown.table', function (node, globals) {\n 'use strict';\n\n var txt = '',\n tableArray = [[], []],\n headings = node.querySelectorAll('thead>tr>th'),\n rows = node.querySelectorAll('tbody>tr'),\n i, ii;\n for (i = 0; i < headings.length; ++i) {\n var headContent = showdown.subParser('makeMarkdown.tableCell')(headings[i], globals),\n allign = '---';\n\n if (headings[i].hasAttribute('style')) {\n var style = headings[i].getAttribute('style').toLowerCase().replace(/\\s/g, '');\n switch (style) {\n case 'text-align:left;':\n allign = ':---';\n break;\n case 'text-align:right;':\n allign = '---:';\n break;\n case 'text-align:center;':\n allign = ':---:';\n break;\n }\n }\n tableArray[0][i] = headContent.trim();\n tableArray[1][i] = allign;\n }\n\n for (i = 0; i < rows.length; ++i) {\n var r = tableArray.push([]) - 1,\n cols = rows[i].getElementsByTagName('td');\n\n for (ii = 0; ii < headings.length; ++ii) {\n var cellContent = ' ';\n if (typeof cols[ii] !== 'undefined') {\n cellContent = showdown.subParser('makeMarkdown.tableCell')(cols[ii], globals);\n }\n tableArray[r].push(cellContent);\n }\n }\n\n var cellSpacesCount = 3;\n for (i = 0; i < tableArray.length; ++i) {\n for (ii = 0; ii < tableArray[i].length; ++ii) {\n var strLen = tableArray[i][ii].length;\n if (strLen > cellSpacesCount) {\n cellSpacesCount = strLen;\n }\n }\n }\n\n for (i = 0; i < tableArray.length; ++i) {\n for (ii = 0; ii < tableArray[i].length; ++ii) {\n if (i === 1) {\n if (tableArray[i][ii].slice(-1) === ':') {\n tableArray[i][ii] = showdown.helper.padEnd(tableArray[i][ii].slice(-1), cellSpacesCount - 1, '-') + ':';\n } else {\n tableArray[i][ii] = showdown.helper.padEnd(tableArray[i][ii], cellSpacesCount, '-');\n }\n } else {\n tableArray[i][ii] = showdown.helper.padEnd(tableArray[i][ii], cellSpacesCount);\n }\n }\n txt += '| ' + tableArray[i].join(' | ') + ' |\\n';\n }\n\n return txt.trim();\n});\n\r\nshowdown.subParser('makeMarkdown.tableCell', function (node, globals) {\n 'use strict';\n\n var txt = '';\n if (!node.hasChildNodes()) {\n return '';\n }\n var children = node.childNodes,\n childrenLength = children.length;\n\n for (var i = 0; i < childrenLength; ++i) {\n txt += showdown.subParser('makeMarkdown.node')(children[i], globals, true);\n }\n return txt.trim();\n});\n\r\nshowdown.subParser('makeMarkdown.txt', function (node) {\n 'use strict';\n\n var txt = node.nodeValue;\n\n // multiple spaces are collapsed\n txt = txt.replace(/ +/g, ' ');\n\n // replace the custom ¨NBSP; with a space\n txt = txt.replace(/¨NBSP;/g, ' ');\n\n // \", <, > and & should replace escaped html entities\n txt = showdown.helper.unescapeHTMLEntities(txt);\n\n // escape markdown magic characters\n // emphasis, strong and strikethrough - can appear everywhere\n // we also escape pipe (|) because of tables\n // and escape ` because of code blocks and spans\n txt = txt.replace(/([*_~|`])/g, '\\\\$1');\n\n // escape > because of blockquotes\n txt = txt.replace(/^(\\s*)>/g, '\\\\$1>');\n\n // hash character, only troublesome at the beginning of a line because of headers\n txt = txt.replace(/^#/gm, '\\\\#');\n\n // horizontal rules\n txt = txt.replace(/^(\\s*)([-=]{3,})(\\s*)$/, '$1\\\\$2$3');\n\n // dot, because of ordered lists, only troublesome at the beginning of a line when preceded by an integer\n txt = txt.replace(/^( {0,3}\\d+)\\./gm, '$1\\\\.');\n\n // +, * and -, at the beginning of a line becomes a list, so we need to escape them also (asterisk was already escaped)\n txt = txt.replace(/^( {0,3})([+-])/gm, '$1\\\\$2');\n\n // images and links, ] followed by ( is problematic, so we escape it\n txt = txt.replace(/]([\\s]*)\\(/g, '\\\\]$1\\\\(');\n\n // reference URIs must also be escaped\n txt = txt.replace(/^ {0,3}\\[([\\S \\t]*?)]:/gm, '\\\\[$1]:');\n\n return txt;\n});\n\r\nvar root = this;\n\n// AMD Loader\nif (typeof define === 'function' && define.amd) {\n define(function () {\n 'use strict';\n return showdown;\n });\n\n// CommonJS/nodeJS Loader\n} else if (typeof module !== 'undefined' && module.exports) {\n module.exports = showdown;\n\n// Regular Browser loader\n} else {\n root.showdown = showdown;\n}\n}).call(this);\r\n\n//# sourceMappingURL=showdown.js.map\r\n\n\n\n// WEBPACK FOOTER //\n// ../node_modules/showdown/dist/showdown.js","import { Component, cloneElement, h } from 'preact';\n\nvar EMPTY$1 = {};\n\nfunction assign(obj, props) {\n\t// eslint-disable-next-line guard-for-in\n\tfor (var i in props) {\n\t\tobj[i] = props[i];\n\t}\n\treturn obj;\n}\n\nfunction exec(url, route, opts) {\n\tvar reg = /(?:\\?([^#]*))?(#.*)?$/,\n\t\tc = url.match(reg),\n\t\tmatches = {},\n\t\tret;\n\tif (c && c[1]) {\n\t\tvar p = c[1].split('&');\n\t\tfor (var i=0; i b.rank) ? -1 :\n\t\t(a.index - b.index)\n\t);\n}\n\n// filter out VNodes without attributes (which are unrankeable), and add `index`/`rank` properties to be used in sorting.\nfunction prepareVNodeForRanking(vnode, index) {\n\tvnode.index = index;\n\tvnode.rank = rankChild(vnode);\n\treturn vnode.attributes;\n}\n\nfunction segmentize(url) {\n\treturn url.replace(/(^\\/+|\\/+$)/g, '').split('/');\n}\n\nfunction rankSegment(segment) {\n\treturn segment.charAt(0)==':' ? (1 + '*+?'.indexOf(segment.charAt(segment.length-1))) || 4 : 5;\n}\n\nfunction rank(path) {\n\treturn segmentize(path).map(rankSegment).join('');\n}\n\nfunction rankChild(vnode) {\n\treturn vnode.attributes.default ? 0 : rank(vnode.attributes.path);\n}\n\nvar customHistory = null;\n\nvar ROUTERS = [];\n\nvar subscribers = [];\n\nvar EMPTY = {};\n\nfunction isPreactElement(node) {\n\treturn node.__preactattr_!=null || typeof Symbol!=='undefined' && node[Symbol.for('preactattr')]!=null;\n}\n\nfunction setUrl(url, type) {\n\tif ( type === void 0 ) type='push';\n\n\tif (customHistory && customHistory[type]) {\n\t\tcustomHistory[type](url);\n\t}\n\telse if (typeof history!=='undefined' && history[type+'State']) {\n\t\thistory[type+'State'](null, null, url);\n\t}\n}\n\n\nfunction getCurrentUrl() {\n\tvar url;\n\tif (customHistory && customHistory.location) {\n\t\turl = customHistory.location;\n\t}\n\telse if (customHistory && customHistory.getCurrentLocation) {\n\t\turl = customHistory.getCurrentLocation();\n\t}\n\telse {\n\t\turl = typeof location!=='undefined' ? location : EMPTY;\n\t}\n\treturn (\"\" + (url.pathname || '') + (url.search || ''));\n}\n\n\n\nfunction route(url, replace) {\n\tif ( replace === void 0 ) replace=false;\n\n\tif (typeof url!=='string' && url.url) {\n\t\treplace = url.replace;\n\t\turl = url.url;\n\t}\n\n\t// only push URL into history if we can handle it\n\tif (canRoute(url)) {\n\t\tsetUrl(url, replace ? 'replace' : 'push');\n\t}\n\n\treturn routeTo(url);\n}\n\n\n/** Check if the given URL can be handled by any router instances. */\nfunction canRoute(url) {\n\tfor (var i=ROUTERS.length; i--; ) {\n\t\tif (ROUTERS[i].canRoute(url)) { return true; }\n\t}\n\treturn false;\n}\n\n\n/** Tell all router instances to handle the given URL. */\nfunction routeTo(url) {\n\tvar didRoute = false;\n\tfor (var i=0; i 0;\n\t};\n\n\t/** Re-render children with a new URL to match against. */\n\tRouter.prototype.routeTo = function routeTo (url) {\n\t\tthis._didRoute = false;\n\t\tthis.setState({ url: url });\n\n\t\t// if we're in the middle of an update, don't synchronously re-route.\n\t\tif (this.updating) { return this.canRoute(url); }\n\n\t\tthis.forceUpdate();\n\t\treturn this._didRoute;\n\t};\n\n\tRouter.prototype.componentWillMount = function componentWillMount () {\n\t\tROUTERS.push(this);\n\t\tthis.updating = true;\n\t};\n\n\tRouter.prototype.componentDidMount = function componentDidMount () {\n\t\tvar this$1 = this;\n\n\t\tif (customHistory) {\n\t\t\tthis.unlisten = customHistory.listen(function (location) {\n\t\t\t\tthis$1.routeTo((\"\" + (location.pathname || '') + (location.search || '')));\n\t\t\t});\n\t\t}\n\t\tthis.updating = false;\n\t};\n\n\tRouter.prototype.componentWillUnmount = function componentWillUnmount () {\n\t\tif (typeof this.unlisten==='function') { this.unlisten(); }\n\t\tROUTERS.splice(ROUTERS.indexOf(this), 1);\n\t};\n\n\tRouter.prototype.componentWillUpdate = function componentWillUpdate () {\n\t\tthis.updating = true;\n\t};\n\n\tRouter.prototype.componentDidUpdate = function componentDidUpdate () {\n\t\tthis.updating = false;\n\t};\n\n\tRouter.prototype.getMatchingChildren = function getMatchingChildren (children, url, invoke) {\n\t\treturn children\n\t\t\t.filter(prepareVNodeForRanking)\n\t\t\t.sort(pathRankSort)\n\t\t\t.map( function (vnode) {\n\t\t\t\tvar matches = exec(url, vnode.attributes.path, vnode.attributes);\n\t\t\t\tif (matches) {\n\t\t\t\t\tif (invoke !== false) {\n\t\t\t\t\t\tvar newProps = { url: url, matches: matches };\n\t\t\t\t\t\tassign(newProps, matches);\n\t\t\t\t\t\tdelete newProps.ref;\n\t\t\t\t\t\tdelete newProps.key;\n\t\t\t\t\t\treturn cloneElement(vnode, newProps);\n\t\t\t\t\t}\n\t\t\t\t\treturn vnode;\n\t\t\t\t}\n\t\t\t}).filter(Boolean);\n\t};\n\n\tRouter.prototype.render = function render (ref, ref$1) {\n\t\tvar children = ref.children;\n\t\tvar onChange = ref.onChange;\n\t\tvar url = ref$1.url;\n\n\t\tvar active = this.getMatchingChildren(children, url, true);\n\n\t\tvar current = active[0] || null;\n\t\tthis._didRoute = !!current;\n\n\t\tvar previous = this.previousUrl;\n\t\tif (url!==previous) {\n\t\t\tthis.previousUrl = url;\n\t\t\tif (typeof onChange==='function') {\n\t\t\t\tonChange({\n\t\t\t\t\trouter: this,\n\t\t\t\t\turl: url,\n\t\t\t\t\tprevious: previous,\n\t\t\t\t\tactive: active,\n\t\t\t\t\tcurrent: current\n\t\t\t\t});\n\t\t\t}\n\t\t}\n\n\t\treturn current;\n\t};\n\n\treturn Router;\n}(Component));\n\nvar Link = function (props) { return (\n\th('a', assign({ onClick: handleLinkClick }, props))\n); };\n\nvar Route = function (props) { return h(props.component, props); };\n\nRouter.subscribers = subscribers;\nRouter.getCurrentUrl = getCurrentUrl;\nRouter.route = route;\nRouter.Router = Router;\nRouter.Route = Route;\nRouter.Link = Link;\n\nexport { subscribers, getCurrentUrl, route, Router, Route, Link };export default Router;\n//# sourceMappingURL=preact-router.es.js.map\n\n\n\n// WEBPACK FOOTER //\n// ../node_modules/preact-router/dist/preact-router.es.js","import style from \"./panel.css\";\nimport { Component } from 'preact';\n\nexport default class Panel extends Component {\n\trender() {\n\t\tlet title = null;\n\t\tif(this.props.title !== undefined) {\n\t\t\ttitle = ({this.props.title}
);\n\t\t}\n\n\t\treturn (\n\t\t\t\n\t\t\t\t{title}\n\t\t\t\t{this.props.children}\n\t\t\t\n\t\t);\n\t}\n}\n\n\n\n// WEBPACK FOOTER //\n// ./components/panel.js","import style from \"./split.css\";\nimport { Component } from 'preact';\n\nexport default class Split extends Component {\n\trender() {\n\t let title = null;\n\t if(this.props.title !== undefined) {\n title = ({this.props.title}
)\n }\n\n let children;\n if(Array.isArray(this.props.children)) {\n children = this.props.children.map(element => {\n return ({element});\n });\n }\n else {\n children = {this.props.children};\n }\n\t\treturn (\n\t \n {title}\n {children}\n \n );\n\t}\n}\n\n\n\n// WEBPACK FOOTER //\n// ./components/split.js","import style from \"./todo.css\";\r\nimport { Component } from 'preact';\r\n\r\nexport default class Todo extends Component {\r\n\trender() {\r\n\t\treturn {this.props.children};\r\n\t}\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./components/todo.js","import style from './home.css'\r\nimport { Component } from 'preact';\r\nimport Panel from '../components/panel';\r\nimport Split from '../components/split';\r\nimport Todo from '../components/todo';\r\n\r\nexport default class Home extends Component {\r\n render() {\r\n return (\r\n \r\n Indice
\r\n \r\n Statistica ed elementi di probabilità}>\r\n \r\n Appunti scritti mentre studiavo per l'esame di Statistica ed elementi di probabilità del corso triennale di Informatica all'Unimore del Prof. Luca La Rocca.\r\n
\r\n \r\n Cleaver}>\r\n \r\n Progetto in Java sviluppato per l'esame di Programmazione ad Oggetti del corso triennale di Informatica all'Unimore, tenuto dai Prof. Giacomo Cabri e Nicola Capodieci.\r\n
\r\n \r\n Fisica}>\r\n \r\n Appunti delle lezioni di Fisica del corso triennale di Informatica all'Unimore, tenute dalla Prof.ssa Rossella Brunetti nel primo semestre dell'Anno Accademico 2019/2020.\r\n
\r\n \r\n Sistemi Operativi}>\r\n \r\n Soluzioni agli Arzigogoli proposti dal Prof. Mauro Andreolini durante le lezioni di Sistemi Operativi del corso triennale di Informatica all'Unimore tenutesi nel primo semestre dell'Anno Accademico 2019/2020.\r\n
\r\n \r\n Algoritmi e Strutture Dati}>\r\n \r\n Appunti delle lezioni di Algoritmi e Strutture Dati del corso triennale di Informatica all'Unimore, tenute dalla Prof.ssa Manuela Montangero nel secondo semestre dell'Anno Accademico 2018/2019.\r\n
\r\n \r\n Videolezioni di Geometria}>\r\n \r\n Ottime videolezioni di Geometria con licenza CC BY-NC-SA 4.0 che ho trovato sul portale Dolly 2018 dell'Unimore.\r\n
\r\n \r\n Come installare MinGW}>\r\n \r\n Un breve tutorial con immagini su come installare e configurare MinGW per compilare programmi C e C++ su Windows.\r\n
\r\n \r\n \r\n \r\n @unimoreinfo}>\r\n \r\n Il gruppo Telegram del corso di Informatica dell'Unimore!\r\n
\r\n \r\n Calendario Lezioni}>\r\n \r\n Calendario Google quasi sempre aggiornato delle lezioni e degli esami del secondo anno dell'Unimore durante l'Anno Accademico 2019/2020.\r\n
\r\n \r\n Erre2}>\r\n \r\n Portale contenente appunti e riassunti mantenuto da Lorenzo Balugani.\r\n
\r\n \r\n vezzalinistefano/Appunti-Algoritmi}>\r\n \r\n Appunti di Algoritmi e Strutture Dati mantenuti da Vezzalini Stefano.\r\n
\r\n \r\n \r\n \r\n )\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./pages/home.js","import style from './latex.css';\nimport { Component } from 'preact';\n\nexport default class Latex extends Component {\n\trender() {\n\t\tlet equation = `{\\\\color{White} ${this.props.children} }`;\n\t\treturn (\n\t\t\t);\n\t}\n}\n\n\n// WEBPACK FOOTER //\n// ./components/latex.js","import style from \"./plus.css\";\r\nimport { Component } from 'preact';\r\n\r\nexport default class Plus extends Component {\r\n\trender() {\r\n\t\treturn {this.props.children};\r\n\t}\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./components/plus.js","import style from \"./minus.css\";\r\nimport { Component } from 'preact';\r\n\r\nexport default class Minus extends Component {\r\n\trender() {\r\n\t\treturn {this.props.children};\r\n\t}\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./components/minus.js","import style from './fisica.css';\nimport { Component } from 'preact';\nimport Latex from '../components/latex';\nimport Panel from '../components/panel';\nimport Split from '../components/split';\nimport Plus from '../components/plus';\nimport Minus from '../components/minus';\nimport Todo from '../components/todo';\n\nconst r = String.raw;\n\nexport default class Fisica extends Component {\n\trender() {\n return (\n \n Fisica
\n \n \n \n Usa le regole base della trigonometria:\n
\n \n {r`\\vec{v} = \\vec{v}_x + \\vec{v}_y`} \n
\n \n {r`\\left | \\vec{v}_x \\right | = \\left | \\vec{v} \\right | \\sin \\alpha`} \n
\n \n {r`\\left | \\vec{v}_y \\right | = \\left | \\vec{v} \\right | \\cos \\alpha`} \n
\n \n \n \n Scomponi in componenti, poi sommali:\n
\n \n {r`\\vec{v} + \\vec{w} = (\\vec{v}_x + \\vec{w}_x) + (\\vec{v}_y + \\vec{w}_y)`} \n
\n \n Produce il vettore risultante dall'applicazione della regola del parallelogramma.\n
\n \n \n \n Alla fine è sempre una somma:\n
\n \n {r`\\vec{v} - \\vec{w} = (\\vec{v}_x - \\vec{w}_x) + (\\vec{v}_y - \\vec{w}_y)`} \n
\n \n Produce il vettore che parte da w e arriva a v .\n
\n \n \n \n Si chiama scalare perchè il risultato è uno scalare, non un vettore.\n
\n \n {r`\\vec{v} \\cdot \\vec{w} = \\left | \\vec{v} \\right | \\left | \\vec{w} \\right | \\cos \\alpha`} \n
\n \n Produce il modulo della proiezione di {r`\\vec{a}`} su {r`\\vec{b}`} .\n
\n \n \n \n Si chiama vettoriale perchè il risultato è un altro vettore.\n
\n \n {r`\\vec{c} = \\vec{a} \\times \\vec{b}`} \n {r`\\left | \\vec{c} \\right | = \\left | \\vec{a} \\right | \\cdot \\left | \\vec{b} \\right | \\cdot \\sin(\\alpha)`} \n - Regola della mano destra
\n
\n \n Non è commutativo!\n
\n \n \n \n \n \n Se un corpo puntiforme ha forza risultante nulla, allora la sua velocità non cambia.\n
\n \n {r`\\Sigma \\vec{F} = 0 \\Longleftrightarrow \\Delta v = 0`} \n
\n \n \n \n La forza risultante di un corpo è direttamente proporzionale alla sua accelerazione, e la costante di proporzionalità è la massa.\n
\n \n {r`\\Sigma \\vec{F} = m \\vec{a}`} \n
\n \n \n \n Due corpi esercitano forze uguali e opposte uno sull'altro. \n
\n \n {r`\\vec{F}_{21} = -\\vec{F}_{12}`} \n
\n \n \n \n \n \n Due corpi puntiformi si attirano uno verso l'altro con forza:\n
\n \n {r`\\left | \\vec{F} \\right | = G \\frac{m_1 m_2}{s^2}`} \n
\n \n G è la costante di gravitazione universale e vale:\n
\n \n {r`G = 6.67 \\cdot 10^{-11} \\frac{N m^2}{{kg}^2}`} \n
\n \n \n \n Se nel sistema di riferimento consideriamo la Terra ferma, allora un corpo è attratto verso la Terra con forza peso uguale a:\n
\n \n {r`\\left | \\vec{F} \\right | = g m`} \n
\n \n g è la costante di gravità della Terra, e vale:\n
\n \n {r`g = 9.81 \\frac{m}{s^2}`} \n
\n \n \n \n Per pianeti diversi dalla Terra vale la stessa regola:\n
\n \n {r`\\left | \\vec{F} \\right | = g m`} \n
\n \n L'unica differenza è che cambia la costante di gravità:\n
\n \n {r`g_{luna} = 1.62 \\frac{m}{s^2}`} \n
\n \n {r`g_{marte} = 3.71 \\frac{m}{s^2}`} \n
\n \n \n \n \n \n Si oppone alle forze applicate alla superficie di contatto.\n
\n \n Un libro appoggiato su un tavolo ha la forza di gravità che lo attira verso il terreno e la forza normale che lo trattiene dal cadere. \n
\n \n \n \n Impedisce a un corpo di muoversi se non viene spinto da una forza che supera una certa soglia:\n
\n \n {r`\\left | \\vec{F} \\right | \\leq \\mu_{s} \\left | \\vec{F}_{normale} \\right |`} \n
\n \n \n \n Rallenta i corpi che si stanno muovendo finchè essi non si fermano:\n
\n \n {r`\\left | \\vec{F} \\right | \\leq \\mu_{d} \\left | \\vec{F}_{normale} \\right |`} \n
\n \n \n \n E' forza trasmessa tra due estremi di una fune.\n
\n \n Può essere redirezionata per mezzo di carrucole.\n
\n \n \n \n Una molla cerca sempre di tornare alla sua posizione indeformata con forza:\n
\n \n {r`F = -k x`} \n
\n \n (E' negativa perchè la forza è opposta a quella applicata per deformarla.)\n
\n \n \n \n \n \n È un vettore che indica la posizione di un corpo rispetto a un'origine.\n
\n \n {r`\\Delta \\vec{s} = \\vec{s}(fine) - \\vec{s}(inizio)`} \n
\n \n \n \n È un vettore che misura la variazione di posizione nel tempo.\n
\n \n {r`\\vec{v} = \\frac{\\Delta \\vec{s}}{\\Delta t}`} \n
\n \n Se si considera un intervallo di tempo infinitesimale si dice velocità istantanea:\n
\n \n {r`\\vec{v} = \\lim_{\\Delta t \\to 0} \\frac{\\Delta \\vec{s}}{\\Delta t} = \\frac{d \\vec{s}}{dt}`} \n
\n \n \n \n È un vettore che misura la variazione di velocità nel tempo.\n
\n \n {r`\\vec{a} = \\frac{\\Delta \\vec{v}}{\\Delta t}`} \n
\n \n Se si considera un intervallo di tempo infinitesimale si dice accelerazione istantanea:\n
\n \n {r`\\vec{a} = \\lim_{\\Delta v \\to 0} \\frac{\\Delta \\vec{v}}{\\Delta t} = \\frac{d \\vec{v}}{d t} = \\frac{d^2 \\vec{s}}{d t^2}`} \n
\n \n Quantità di moto (momento lineare)}>\n \n La quantità di moto è una proprietà vettoriale dei corpi:\n
\n \n {r`\\vec{p} = m \\vec{v}`} \n
\n \n Se la forza risultante è nulla, la quantità di moto non cambia.\n
\n \n {r`\\Sigma \\vec{F} = 0 \\Longleftrightarrow \\Delta \\vec{p} = 0`} \n
\n \n \n \n \n \n La legge oraria è:\n
\n \n {r`s(t) = v \\cdot \\Delta t + s(0)`} \n
\n \n \n \n È costante:\n
\n \n {r`v(t) = k`} \n
\n \n \n \n La velocità non varia:\n
\n \n {r`a(t) = 0`} \n
\n \n \n \n Si applica la prima legge di Newton:\n
\n \n f(t) = 0 \n
\n \n \n \n \n \n La legge oraria è:\n
\n \n {r`s(t) = \\frac{1}{2} a \\cdot (\\Delta t)^2 + v(0) \\cdot (\\Delta t) + s(0)`} \n
\n \n \n \n È una retta:\n
\n \n {r`v(t) = a \\Delta t + v(0)`} \n
\n \n \n \n È costante:\n
\n \n {r`a(t) = k`} \n
\n \n \n \n Si applica la prima legge di Newton:\n
\n \n f(t) = m a \n
\n \n \n \n \n \n E' la distanza dal centro massima che raggiunge il corpo.\n
\n \n (L'ampiezza di una sinusoide.)\n
\n \n \n \n Indica quanto in fretta cambia la posizione del corpo. \n
\n \n Dipende dal periodo:\n
\n \n {r`\\omega = \\frac{2 \\pi}{T}`} \n
\n \n \n \n E' una sinusoide:\n
\n \n {r`s(t) = A \\sin (\\omega \\cdot t + \\phi)`} \n
\n \n \n \n E' la sinusoide dello spostamento, sfasata di {r`\\frac{\\pi}{2}`} :\n
\n \n {r`v(t) = A \\sin (\\omega \\cdot t + \\phi + \\frac{\\pi}{2})`} \n
\n \n \n \n E' la sinusoide della velocità, sfasata di {r`\\pi`} :\n
\n \n {r`a(t) = A \\sin (\\omega \\cdot t + \\phi + \\pi)`} \n
\n \n \n \n Si applica la prima legge di Newton:\n
\n \n f(t) = m a \n
\n \n \n \n \n \n Il moto parabolico è dato sommando un moto rettilineo uniforme sull'asse orizzontale e un moto rettilineo uniformemente accelerato sull'asse verticale.\n
\n \n \n \n Il moto parabolico è dato sommando due moti armonici semplici: uno sull'asse X, e l'altro, sfasato di {r`\\frac{\\pi}{2}`} , sull'asse Y.\n
\n \n \n \n \n \n Velocità angolare\n
\n \n Quanto cambia la fase nel tempo.\n
\n \n {r`\\omega = \\frac{2 \\pi}{T}`} \n
\n \n \n \n E' l'angolo percorso dal corpo rispetto alla posizione iniziale.\n
\n \n Si indica con {r`\\phi`} , e generalmente si usa in radianti.\n
\n \n \n \n Si applicano le formule per la circonferenza:\n
\n \n {r`v = \\frac{\\Delta s}{t} = \\frac{2 \\pi \\cdot r}{T} = \\omega r`} \n
\n \n \n \n Il corpo ha sempre un accelerazione verso il centro che gli impedisce di abbandonare il moto: \n
\n \n {r`a = \\frac{v^2}{r} = r \\cdot \\omega^2 = v \\cdot \\omega`} \n
\n \n \n \n È verso il centro e si calcola con:\n
\n \n {r`F = m \\cdot a`} \n
\n \n \n \n \n \n E' compiuto da una forza che sposta un corpo.\n
\n \n {r`W = \\vec{F} \\cdot \\vec{s} = F \\cdot \\Delta s \\cdot cos(\\alpha )`} \n
\n \n (Se la forza non è parallela allo spostamento, il prodotto scalare ci fa considerare solo la componente parallela.)\n
\n \n \n \n Un corpo ha energia cinetica in ogni momento uguale a:\n
\n \n {r`E_c = \\frac{1}{2} m v^2`} \n
\n \n Se una forza effettua lavoro su un corpo, cambia la sua energia cinetica pari al lavoro effettuato:\n
\n \n {r`\\Delta E_c = W`} \n
\n \n \n \n Un corpo ha energia potenziale in ogni momento pari a: \n
\n \n {r`E_{p_g} = m \\cdot g \\cdot h`} \n
\n \n (Con h uguale a un altezza scelta come punto di riferimento.)\n
\n \n \n \n Una molla ha sempre energia potenziale elastica pari a:\n
\n \n {r`E_{p_e} = \\frac{1}{2} k x^2`} \n
\n \n \n \n Sono conservative le forze per le quali il lavoro compiuto non dipende dal percorso seguito per andare dalla partenza all'arrivo.\n
\n \n Ad esempio, è conservativa la forza di gravità, ma non è conservativa la forza di attrito.\n
\n \n Se in un sistema ci sono solo forze conservative, allora l'energia meccanica totale si conserva:\n
\n \n {r`E = E_k + E_p`} \n
\n \n \n \n È la velocità di trasferimento di energia:\n
\n \n {r`P = \\frac{\\Delta E}{\\Delta t}`} \n
\n \n \n \n \n \n È una proprietà dei corpi che può essere positiva o negativa .\n
\n \n Si conserva: in un sistema chiuso la carica totale è costante.\n
\n \n Esiste un'unità elementare: {r`C_{elettrone} = 1.602 \\cdot 10^{-19}`} .\n
\n \n Cariche opp oste si attraggono; cariche uguali si respingono.\n
\n \n \n \n Più ioni ha un corpo, meglio la carica si muove attraverso di esso.\n
\n \n I corpi in cui la carica si muove bene sono conduttori, mentre quelli in cui si muove difficilmente sono isolanti.\n
\n \n Il corpo umano è un buon conduttore.\n
\n \n \n \n \n \n E' possibile polarizzare un corpo per accumulare la carica di un segno in una certa zona.\n
\n \n \n \n \n \n Se un corpo conduttore è in contatto con la Terra, le cariche su di esso saranno equilibrate e il corpo diventerà elettricamente neutro (con stesso numero di cariche positive e negative all'interno).\n
\n \n \n \n \n \n Strofinando tra loro due corpi isolanti, essi si polarizzeranno per strofinio.\n
\n \n \n \n Toccando un conduttore con un corpo carico, il conduttore potrà polarizzarsi per contatto.\n
\n \n \n \n Se un corpo conduttore ha cariche \"esterne\" di un certo segno vicino, esso avrà tutte le cariche del segno opposto in equilibrio vicino alle cariche esterne, e tutte le cariche dello stesso segno più lontano possibile da esse.\n
\n \n Mettendo a terra il conduttore, nuove cariche del segno opposto saranno attratte all'interno del corpo per equilibrare le cariche che si sono allontanate.\n
\n \n Staccando il conduttore da terra e rimuovendo le cariche esterne, esso si ritroverà caricato del segno opposto rispetto alle cariche esterne.\n
\n \n \n \n \n \n Due corpi carichi si attraggono tra loro con forza: \n
\n \n {r`\\left | \\vec{F}_{elettrica} \\right | = \\frac{-k \\cdot q_1 \\cdot q_2}{s^2}`} \n
\n \n {r`k`} è la costante di Coulomb, e vale {r`k = 8.99 \\cdot 10^9 \\frac{N \\cdot m^2}{C^2}`} .\n
\n \n \n \n La costante {r`k`} è in realtà dipendente da un altra costante, {r`\\epsilon_0`} , la permeabilità del vuoto.\n
\n \n {r`k = \\frac{1}{4 \\pi \\cdot \\epsilon_0}`} \n
\n \n {r`\\left | \\vec{F}_{elettrica} \\right | = \\frac{q_1 \\cdot q_2}{4 \\pi \\cdot \\epsilon_0 \\cdot s^2}`} \n
\n \n \n \n Misura che forza viene applicata in ogni punto su una carica unitaria:\n
\n \n {r`\\vec{E} = \\frac{\\vec{F}_{elettrica}}{q} = \\frac{-k \\cdot q}{s^2}`} \n
\n \n \n \n È la differenza tra \"quanto\" campo elettrico entra e quanto campo elettrico esce da una certa area.\n
\n \n In qualsiasi superficie chiusa, il flusso elettrico è uguale alla componente perpendicolare del campo elettrico moltiplicato per l'area.\n
\n \n {r`\\Phi_E = \\vec{E} \\cdot \\vec{A}`} \n
\n \n Se il campo elettrico è uniforme, se ne può calcolare facilmente il valore:\n
\n \n {r`\\Phi_E = \\vec{E} \\cdot \\vec{A} = E_\\perp \\cdot A \\cdot \\cos(\\alpha)`} \n
\n \n Circa. E' una specie di integrale... \n
\n \n \n \n Il flusso elettrico è direttamente proporzionale alla carica presente all'interno della superficie.\n
\n \n {r`\\Phi_E = 4 \\pi \\cdot k \\cdot q = \\frac{q}{\\epsilon_0}`} \n
\n \n Ovvero, i campi elettrostatici sono generati dalle cariche elettriche.\n
\n \n \n \n \n \n Un corpo carico vicino ad altre cariche possiede un'energia potenziale elettrica {r`U_e`} .\n
\n \n \n \n Potenziale elettrico (tensione)}>\n \n È il valore dell'energia potenziale elettrica per una carica unitaria.\n
\n \n {r`V = \\frac{U_e}{q}`} \n
\n \n La sua unità di misura è il Volt ({r`V`} ).\n
\n \n In una batteria è detto forza elettromotrice, e corrisponde al lavoro compiuto da una batteria ideale per spostare una carica unitaria tra i due poli.\n
\n \n Corrente elettrica (intensità)}>\n \n Quanta carica passa attraverso un'area (perpendicolare al flusso) nel tempo.\n
\n \n {r`I = \\frac{\\Delta q}{\\Delta t}`} \n
\n \n Fintanto che c'è differenza di potenziale, ci sarà anche intensità non nulla.\n
\n \n La sua unità di misura è l'Ampere ({r`A`} ).\n
\n \n Corrente continua (DC)}>\n \n Quando in un circuito la direzione della corrente è costante.\n
\n \n Corrente alternata (AC)}>\n \n Quando in un circuito la direzione della corrente si alterna periodicamente.\n
\n \n \n \n Possiamo calcolare la potenza di un circuito:\n
\n \n {r`P = \\frac{\\Delta U_e}{\\Delta t} = I \\cdot \\Delta V = I^2 \\cdot R = \\frac{(\\Delta V)^2}{R}`} \n
\n \n \n \n \n \n Riduce l'intensità di corrente, e converte parte del potenziale in calore.\n
\n \n Il potenziale utilizzato è pari a:\n
\n \n {r`V = R \\cdot I`} \n
\n \n Dove {r`R`} è una costante detta resistenza con unità di misura Ohm ({r`\\Omega`} ).\n
\n \n La resistenza di un conduttore vale:\n
\n \n {r`R = \\rho \\frac{L_{unghezza}}{A_{rea}}`} \n
\n \n {r`\\rho`} è la resistività del materiale, e varia in base alla temperatura:\n
\n \n {r`\\rho = \\rho_0 (1 + \\alpha(T - T_0))`} \n
\n \n \n \n Immagazzina potenziale elettrico, permettendo di riutilizzarla in seguito.\n
\n \n Per farlo, cattura cariche positive e negative sulle sue due armature; perchè questo avvenga, deve essere compiuto lavoro.\n
\n \n Ha una capacità caratteristica, che in un condensatore a facce piane parallele è:\n
\n \n {r`C = \\frac{q_{massima}}{\\Delta V}`} \n
\n \n Condensatori di capacità maggiore immagazzinano più potenziale con meno carica.\n
\n \n La capacità aumenta se viene messo qualcosa tra le armature:\n
\n \n {r`C_{nuova} = \\kappa \\cdot \\frac{\\epsilon_0 \\cdot A}{s}`} \n
\n \n Dove {r`\\kappa`} è la costante dielettrica relativa del materiale inserito, {r`A`} l'area di una armatura e {r`s`} la distanza tra le due armature.\n
\n \n Se il campo elettrico creatosi tra le due armature supera la rigidità dielettrica del condensatore, la carica immagazzinata viene persa e ha luogo un breakdown.\n
\n \n La sua unità di misura è il Farad ({r`Fa`} )\n
\n \n \n \n Misura la corrente elettrica se messo in serie.\n
\n \n (Funzionamento: ha una resistenza interna bassisima in modo da non influire significativamente sulla corrente.)\n
\n \n \n \n Misura la differenza di potenziale se messo in parallelo.\n
\n \n (Funzionamento: ha una resistenza altissima in modo da non influire significativamente sulla tensione.)\n
\n \n \n \n \n \n Per nodo si intende un qualsiasi punto del circuito.\n
\n \n Da un nodo entra ed esce la stessa corrente.\n
\n \n \n \n Per maglia si intende un qualsiasi percorso chiuso all'interno del circuito.\n
\n \n In una maglia chiusa, la somma delle differenze di potenziale è 0.\n
\n \n \n \n \n \n Più parti di circuito sono in serie se sono consecutive e senza biforcazioni.\n
\n \n Parti di circuito in serie sono attraversate dalla stessa corrente.\n
\n \n \n \n Più parti di circuito sono in parallelo tra loro se hanno lo stesso punto di partenza e lo stesso punto di arrivo. \n
\n \n Parti di circuito in parallelo hanno la stessa differenza di potenziale.\n
\n \n \n \n \n \n Nei circuiti in serie, tutte le resistenze possono essere sostituite con una equivalente dalla resistenza della somma di tutte le quelle sostituite:\n
\n \n {r`R_{serie} = \\sum_{i=1}^{n} R_i`} \n
\n \n \n \n Nei circuiti in parallelo, tutte le resistenze possono essere sostituite con una equivalente dalla resistenza di:\n
\n \n {r`R_{parallelo} = \\frac{1}{\\sum_{i=1}^{n} \\frac{1}{R_i}}`} \n
\n \n \n \n \n \n Nei circuiti in serie, tutti i condensatori possono essere sostituiti con uno equivalente dalla capacità di:\n
\n \n {r`C_{serie} = \\frac{1}{\\sum_{i=1}^{n} \\frac{1}{C_i}}`} \n
\n \n \n \n Nei circuiti in parallelo, tutte i condensatori possono essere sostituite con uno equivalente dalla capacità della somma di tutti quelli sostituiti:\n
\n \n {r`C_{parallelo} = \\sum_{i=1}^{n} C_n`} \n
\n \n \n \n \n \n E' una costante fisica fondamentale che rappresenta quanto un materiale si magnetizza facilmente.\n
\n \n {r`\\mu_0 = 4 \\pi \\cdot 10^{-7} \\frac{H}{m}`} ({r`\\frac{N}{A^2}`} )\n
\n \n \n \n Come un campo elettrico, ma per i magneti.\n
\n \n Il suo simbolo è {r`B`} , e la sua unità di misura è il Tesla (T ).\n
\n \n \n \n È \"quanto\" campo magnetico attraversa un percorso chiuso.\n
\n \n Per qualsiasi percorso chiuso, il flusso magnetico è uguale alla somma di tutti i \"sottoflussi\" magnetici calcolati sui suoi lati.\n
\n \n {r`\\Phi_{B_{i}} = \\vec{B} \\cdot \\vec{L}_n = B \\cdot L_i \\cdot \\sin(\\alpha) = B_\\parallel \\cdot L_i`} \n
\n \n {r`\\Phi_{B} = \\sum_{i=0}^{n_{lati}} \\Phi_{Bn}`} \n
\n \n La sua unità di misura è il Weber ({r`Wb = T \\cdot m^2`} ).\n
\n \n \n \n Il flusso magnetico attraverso qualsiasi superficie chiusa è sempre nullo.\n
\n \n Ovvero, non esistono monopoli magnetici.\n
\n \n \n \n L'intensità di corrente che attraversa un percorso chiuso è direttamente proporzionale al flusso magnetico dello stesso percorso.\n
\n \n {r`\\Phi_B = \\mu_0 \\cdot I`} \n
\n \n \n \n Forza magnetica su carica puntiforme (Forza di Lorentz)}>\n \n I campi magnetici applicano una forza sulle cariche vicine:\n
\n \n {r`\\vec{F}_{B} = q \\cdot (\\vec{v} \\times \\vec{B})`} \n
\n \n Dove {r`\\vec{B}`} è l'intensità del campo magnetico e {r`\\vec{v}`} la velocità della carica considerata.\n
\n \n Si ha una forza massima se la velocità è perpendicolare al campo magnetico.\n
\n \n In un campo magnetico uniforme, una velocità perpendicolare al campo porta alla creazione di un moto circolare uniforme.\n
\n \n \n \n I campi magnetici influenzano ovviamente anche le cariche presenti in un conduttore:\n
\n \n {r`\\vec{F}_{magnetica} = I \\cdot (\\vec{L} \\times \\vec{B})`} [1]\n
\n \n Dove {r`I`} è la corrente elettrica, {r`\\vec{L}`} è un vettore che punta nella direzione di scorrimento della corrente e ha come modulo la lunghezza del conduttore.\n
\n \n \n \n \n \n Una spira in cui passa corrente produce un campo magnetico perpendicolare al piano creato dalla spira.\n
\n \n \n \n Un solenoide sono tante spire avvolte in modo da formare una specie di cilindro.\n
\n \n All'interno del solenoide si crea un campo (quasi) uniforme:\n
\n \n {r`\\left | \\vec{B} \\right | = \\mu_0 \\cdot I \\cdot \\frac{A_{vvolgimenti}}{L_{unghezzafilo}}`} \n
\n \n \n \n Caso particolare della Legge di Ampère.\n
\n \n Il modulo del campo magnetico B prodotto da un filo in cui passa una corrente continua I alla distanza s è:\n
\n \n {r`\\left | \\vec{B} \\right | = \\frac{\\mu \\cdot I}{2 \\pi r}`} \n
\n \n Il campo magnetico così creato gira attorno al filo in senso antiorario.\n
\n \n Due fili attraversati dalla stessa corrente si attraggono, due fili attraversati da corr enti opp oste si respingono.\n
\n \n \n \n \n \n Un conduttore perpendicolare ad un campo magnetico può ottenere una differenza di potenziale se messo in movimento in un direzione perpendicolare alla direzione del conduttore e del campo. \n
\n \n La differenza di potenziale si crea a causa della forza magnetica, che fa spostare tutti gli elettroni verso un capo del conduttore. \n
\n \n Essa vale:\n
\n \n {r`\\Delta V_{indotta} = v \\cdot B \\cdot L`} \n
\n \n Dove v è la velocità del conduttore, B è l'intensità del campo magnetico ed L è la lunghezza del conduttore.\n
\n \n \n \n In un campo magnetico {r`B`} uniforme e perpendicolare al piano di una spira di area {r`A`} , il flusso magnetico si può determinare con la Legge di Faraday-Neumann-Lenz:\n
\n \n {r`\\Phi_B = \\vec{B} \\cdot \\vec{A} = B \\cdot A \\cdot \\cos(\\alpha)`} \n
\n \n \n \n \n \n Dice che la forza elettromotrice media indotta in un percorso dipende dalla variazione nel tempo del flusso magnetico nello stesso percorso.\n
\n \n {r`\\Delta V_{indotta} = - \\frac{\\Delta \\Phi_B}{\\Delta t}`} \n
\n \n Il meno è dovuto alla Legge di Lenz, che specifica qualitativamente il verso della forza elettromotrice indotta.\n
\n \n \n \n In un solenoide, la forza elettromotrice indotta è uguale a:\n
\n \n {r`\\Delta V_{indotta} = - \\frac{N \\cdot \\Delta \\Phi_{B_{spira}}}{\\Delta t} = - \\frac{N \\cdot B \\cdot A \\cdot cos(\\alpha)}{\\Delta t}`} \n
\n \n Dove {r`N`} è il numero delle spire del solenoide.\n
\n \n \n \n Correnti o campi elettrici variabili creano un campo magnetico.\n
\n \n \n \n \n \n Nel vuoto, il campo elettrico {r`E`} e il campo magnetico {r`B`} sono perpendicolari tra loro e la direzione di propagazione, e sono entrambe funzioni del tempo.\n
\n \n Si dice quindi che sono onde elettromagnetiche.\n
\n \n Esse sono legate dalla relazione:\n
\n \n {r`E = c \\cdot B`} \n
\n \n Dove {r`c`} è la velocità delle onde (luce) nel vuoto, e a sua volta è uguale a:\n
\n \n {r`c = \\frac{1}{\\sqrt{\\epsilon_0 \\cdot \\mu_0}} = 3.00 \\cdot 10^8 \\frac{m}{s}`} \n
\n \n \n \n {r`A(t) = A_{max} \\cdot \\sin \\left ( \\frac{2 \\pi}{\\lambda} - \\omega t + \\phi \\right )`} \n
\n \n Dove {r`A_{max}`} è l'ampiezza massima che può avere l'onda, {r`\\frac{2 \\pi}{\\lambda} = \\left | \\vec{k} \\right |`} è il vettore d'onda, {r`\\omega`} la frequenza angolare e {r`\\phi`} la fase.\n
\n \n \n \n \n \n I solidi, se portati ad alta temperatura, emettono luce con uno spettro continuo.\n
\n \n I gas, invece, ad alta temperatura emettono luce solo con particolari lunghezze d'onda. \n
\n \n In un gas di idrogeno, le lunghezze d'onda emesse sono ricavabili con:\n
\n \n {r`\\frac{1}{\\lambda} = R \\left ( \\frac{1}{4} - \\frac{1}{n^2} \\right )`} \n
\n \n Con {r`R = 1.097 \\cdot 10^7 \\frac{1}{m}`} , detta costante di Rydberg, e {r`n`} un numero intero.\n
\n \n \n \n Una grandezza si dice quantizzata (o discreta) se può assumere solo determinati valori. \n
\n \n Una grandezza si dice continua se può assumere qualsiasi valore e quindi se non è quantizzata.\n
\n \n Energia, momento angolare e raggio sono quantizzati.\n
\n \n Nota costante quantica è {r`h`} , la costante di Planck, ovvero il valore minimo possibile per la carica (talvolta espressa come {r`\\hbar = \\left ( \\frac{h}{2 \\pi} \\right )`} .\n
\n \n \n \n \n \n L'energia degli elettroni è quantizzata.\n
\n \n Inoltre, per essi è valido che:\n
\n \n {r`m \\cdot v_n \\cdot 2 \\pi \\cdot r = n \\cdot h`} \n
\n \n Ancora, il raggio delle orbite è uguale a:\n
\n \n {r`r_n = n^2 \\cdot a_0 = n^2 \\cdot \\frac{\\hbar}{m_{elettrone} \\cdot k \\cdot e^2} `} \n
\n \n Con {r`a_0 = \\left ( \\frac{h}{2 \\pi} \\right )^2 \\cdot \\frac{1}{m_{elettrone} \\cdot k \\cdot e^2} = 5.29 \\cdot 10^{-11} m`} .\n
\n \n Infine, in ogni stato, l'energia è pari a:\n
\n \n {r`E_n = \\frac{1}{n^2} \\cdot E_1 = - \\frac{1}{n^2} \\cdot \\frac{a_0^2}{2 \\cdot m \\cdot \\hbar^4} = - \\frac{1}{n^2} \\cdot \\frac{m_{elettrone} \\cdot k^2 \\cdot e^4}{2 \\cdot \\hbar^2}`} \n
\n \n Due elettroni non possono occupare lo stesso stato.\n
\n \n Questo modello funziona solo per atomi con numero atomico basso. Atomi con molti elettroni hanno comportamenti diversi, descritti dal modello di\n
\n \n \n \n \n \n Nei solidi, le lunghezze d'onda sono talmente tanto vicine da poter essere considerate una banda.\n
\n \n Possono però comunque avere dei gap dovuti agli intervalli di energia non ammessi.\n
\n \n \n \n \n \n Refactor this \n
\n \n Se la banda di emissione con energia più alta di un corpo è assente o è separata da un gap dell'ordine di grandezza maggiore di {r`10^1 eV`} , allora il corpo è un isolante.\n
\n \n Se invece la banda di emissione si sovrappone a un altra, allora il corpo è un conduttore.\n
\n \n Se il gap è invece dell'ordine di grandezza di {r`1 eV`} , allora il corpo è un semiconduttore.\n
\n \n \n \n Legami in cui mancano elettroni .\n
\n \n Elettroni di altri legami possono spostarsi per colmare le lacune , creandone altre, e spostandole in direzione opposta a quella della corrente.\n
\n \n \n \n Se si inserisce in un cristallo semiconduttore si inserisce un atomo con numero atomico diverso, si otterrà:\n
\n \n - Con numero atomico maggiore, un semiconduttore di
tipo N con elettroni in eccesso liberi di scorrere. \n - Con numero atomico minore, un semiconduttore di
tipo P con lacune in eccesso libere di catturare elettroni da altri legami. \n
\n \n Maggiore impurezza porta a maggiore conduttività.\n
\n \n \n \n Aumentando la temperatura di un semiconduttore si aumenta la conduttività, perchè eccita le particelle e favorisce il movimento di elettroni e lacune .\n
\n \n \n Ottica (non l'abbiamo fatta)}>\n \n \n I corpi possono assorbire o riflettere le onde elettromagnetiche che li colpiscono.\n
\n \n \n \n Un corpo nero è un corpo che assorbe tutte le onde elettromagnetiche che riceve senza rifletterne nessuna.\n
\n \n Le onde assorbite vengono poi riemesse sotto forma di un onda di {r`\\lambda`} variabile in base alla temperatura.\n
\n \n {r`\\lambda_{max} \\cdot T`} è costante.\n
\n \n \n \n L'energia assorbita e emessa dai corpi neri è quantizzata.\n
\n \n \n \n Un onda magnetica con un quanto di energia è detta fotone:\n
\n \n {r`E_{fotone} = h \\cdot f`} \n
\n \n \n \n A volte, i fotoni che colpiscono un metallo possono estrarvi degli elettroni e creare una differenza di potenziale.\n
\n \n Perchè avvenga, la frequenza deve essere maggiore di una certa soglia.\n
\n \n Il numero di elettroni estratti dipende dall'intensità dell'onda, mentre l'energia cinetica degli elettroni dipende dalla frequenza.\n
\n \n Non c'è nessun ritardo tra l'assorbimento del fotone e l'estrazione di elettroni.\n
\n \n \n \n )\n\t}\n}\n\n\n// WEBPACK FOOTER //\n// ./pages/fisica.js","import style from \"./markdown.css\";\nimport { Component } from 'preact';\nimport showdown from \"showdown\";\n\nexport default class Markdown extends Component {\n\trender() {\n let converter = new showdown.Converter();\n converter.setFlavor(\"github\");\n let html = converter.makeHtml(`${this.props.children}`);\n // noinspection CheckTagEmptyBody\n return ;\n\t}\n}\n\n\n\n// WEBPACK FOOTER //\n// ./components/markdown.js","import style from './vldigeometria.css';\r\nimport { Component } from 'preact';\r\nimport Markdown from '../components/markdown';\r\nimport Panel from '../components/panel';\r\n\r\nconst r = String.raw;\r\n\r\nexport default class VlDiGeometria extends Component {\r\n\trender() {\r\n\t\t//Imported from unimore-info-wiki\r\n\t\treturn (\r\n\t\t\t\r\n Videolezioni di Geometria
\r\n \r\n {r`\r\nTutte le videolezioni sono state pubblicate sotto licenza [CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/) dalla Prof.ssa Beatrice Ruini nell'anno accademico 2018/2019 sul [portale Dolly 2018](https://dolly.fim.unimore.it/2018/course/view.php?id=14#section-0) (Moodle).\r\n\r\nPer comodità, ho estratto l'url sorgente del video dall'embed presente nella rispettiva pagina.\r\n\r\n1. [Definizione di Spazio Vettoriale](https://www.youtube.com/watch?v=7eHEzf4403c) (1:17:29)\r\n2. [Sottospazi vettoriali I](https://www.youtube.com/watch?v=FPqrULk5HBU) (37:15)\r\n3. [Sottospazi vettoriali II](https://www.youtube.com/watch?v=ubDWUw9hk0k) (43:26)\r\n4. [Sottospazi vettoriali III](https://www.youtube.com/watch?v=381n4NPb6Oc) (40:29)\r\n5. [Lineare dipendenza e indipendenza](https://www.youtube.com/watch?v=9YVQ5olYrh0) (56:12)\r\n6. [Basi di uno spazio vettoriale I](https://www.youtube.com/watch?v=mEF_lcTzEoE) (25:52)\r\n7. [Basi di uno spazio vettoriale II](https://www.youtube.com/watch?v=k1r9JfXY53k) (48:24)\r\n8. [Teorema di Grassmann](https://www.youtube.com/watch?v=3sqB-MMyCWM) (32:36)\r\n9. [Basi e Matrici](https://www.youtube.com/watch?v=Rd6AB_jE7YI) (27:06)\r\n10. [Definizione di Applicazioni Lineari](https://www.youtube.com/watch?v=rmd7ffZeVYk) (16:23)\r\n11. [Proprietà delle Applicazioni Lineari](https://www.youtube.com/watch?v=MH7ztQGkqmw) (31:58)\r\n12. [Definizione di determinante](https://www.youtube.com/watch?v=EwubcLwBdzk) (36:43)\r\n13. [Proprietà e metodo di triangolazione](https://www.youtube.com/watch?v=SFusGarV6HI) (22:36)\r\n14. [Teorema di Laplace](https://www.youtube.com/watch?v=BqZDWnKl2nQ) (29:03)\r\n15. [4 applicazioni del Teorema di Laplace](https://www.youtube.com/watch?v=2tr3y725GY0) (47:53)\r\n16. [Spazi vettoriali euclidei reali - Parte 1](https://www.youtube.com/watch?v=W7Z1hm-jwMM) (28:46)\r\n17. [Spazi vettoriali euclidei reali - Parte 2](https://www.youtube.com/watch?v=zjmKE9TMGm8) (27:17)\r\n18. [Autovalori e autovettori](https://www.youtube.com/watch?v=XlrlcnvcTtQ) (33:00)\r\n19. [Polinomio caratteristico](https://www.youtube.com/watch?v=61icRbgWTdI) (31:31)\r\n20. [Teorema diagonalizzabilità](https://www.youtube.com/watch?v=wm5V6en9OFo) (18:49)\r\n21. [Spazi affini](https://player.vimeo.com/video/291457587) (20:46)\r\n22. [Sottospazi affini](https://player.vimeo.com/video/291458991) (21:32)\r\n23. [Parallelismo e Riferimenti Affini](https://player.vimeo.com/video/291510181) (16:57)\r\n24. [Rappresentazione di Sottospazi Affini](https://player.vimeo.com/video/291510296) (31:17)\r\n25. [Spazi Euclidei](https://player.vimeo.com/video/291510612) (35:57)\r\n26. [Teoria dei ranghi](https://player.vimeo.com/video/291510964) (9:44)\r\n27. [Teoria dei ranghi 2](https://player.vimeo.com/video/291510862) (14:44)\r\n\r\nNell'anno accademico 2018/2019 non sono stati trattati gli argomenti nei video 21, 22 e 23.\r\n `} \r\n \r\n\t\t\t\r\n\t\t);\r\n\t}\r\n}\r\n\r\n\n\n\n// WEBPACK FOOTER //\n// ./pages/vldigeometria.js","import style from './mingwinstall.css';\r\nimport { Component } from 'preact';\r\nimport Panel from '../components/panel';\r\n\r\nexport default class MingwInstall extends Component {\r\n\trender() {\r\n\t\t//Imported from unimore-info-wiki\r\n\t\treturn (\r\n\t\t\t\r\n Come installare MinGW
\r\n \r\n\t\t\t\t\t Scaricate l'installer ufficiale,\r\n\t\t\t\t\t\ted eseguitelo.
\r\n\t\t\t\t\t Dovrebbe comparire questa schermata. Cliccate su Install
, poi scegliete una cartella di installazione\r\n\t\t\t\t\t\t(ricordatevela!) e poi Continue
. Lasciate stare le altre opzioni, dovrebbero essere tutte spuntate,\r\n\t\t\t\t\t\ttranne For all users
, che dovrebbe essere disattivato.
\r\n\t\t\t\t\t Aspettate che finisca il download. Pochi secondi dopo, dovrebbe finire e dovrebbe apparire un tasto\r\n\t\t\t\t\t\tContinue
. Premetelo.
\r\n\t\t\t\t\t Dovrebbe apparirvi questa finestra. L'installer di MinGW è una specie di gestore pacchetti (tipo apt
su\r\n\t\t\t\t\t\tUbuntu); potete scegliere quali pacchetti installare, e quindi quali funzionalità.
\r\n\t\t\t\t\t Nel nostro caso, dovrebbero servirci mingw32-base-bin
(per il C e alcune librerie C++) e\r\n\t\t\t\t\t\tmingw32-gcc-g++-bin
(per il C++). Cliccate, quindi, sui due quadratini corrispondenti, e premete\r\n\t\t\t\t\t\tMark for Installation
. Dovrebbe comparire una freccia gialla sul quadratino.
\r\n\t\t\t\t\t Ora, è il momento di installare i pacchetti. Aprite il menù Installation
, poi premete\r\n\t\t\t\t\t\tApply Changes
, e di nuovo Apply
.
\r\n\t\t\t\t\t Lasciate che scarichi, ci vorrà un po'. Guardatevi un video nel frattempo, fatevi una partitina a qualcosa, tornate\r\n\t\t\t\t\t\tdopo circa 10 minuti.
\r\n\t\t\t\t\t Una volta installato, dobbiamo aggiungere g++
ai programmi eseguibili da Prompt dei Comandi: premete il\r\n\t\t\t\t\t\ttasto Windows, e scrivete PATH
. Windows dovrebbe trovarvi automaticamente quell'opzione.
\r\n\t\t\t\t\t\r\n\t\t\t\t\t Dentro la finestra di Proprietà del Sistema, premete Variabili d'ambiente
.
\r\n\t\t\t\t\t Trovate la variabile d'ambiente globale Path
, e fateci doppio click per modificarla.
\r\n\t\t\t\t\t Ora dovreste vedere l'elenco di tutte le cartelle contenenti programmi eseguibili da terminale: dobbiamo aggiungere\r\n\t\t\t\t\t\tquella di MinGW! Premete Sfoglia
.
\r\n\t\t\t\t\t Trovate la cartella in cui avete installato MinGW (vi avevo detto di ricordarvela!); entrateci, poi selezionate la\r\n\t\t\t\t\t\tsottocartella bin
e premete OK
su tutte le finestre che avete aperto fino ad ora,\r\n\t\t\t\t\t\tchiudendole.
\r\n\t\t\t\t\t Complimenti! Avete installato MinGW e potete compilare programmi C e C++ da Windows! Avete a disposizione\r\n\t\t\t\t\t\tgcc
e g++
sul Prompt dei Comandi, e potete finalmente creare dei file .exe!
\r\n\t\t\t\t \r\n\t\t\t\r\n\t\t);\r\n\t}\r\n}\r\n\r\n\n\n\n// WEBPACK FOOTER //\n// ./pages/mingwinstall.js","import style from './copyright.css';\r\nimport { Component } from 'preact';\r\n\r\nexport default class Copyright extends Component {\r\n\trender() {\r\n\t\treturn © 2019 - Stefano Pigozzi - CC BY-SA 4.0 - Codice sorgente;\r\n\t}\r\n}\n\n\n// WEBPACK FOOTER //\n// ./components/copyright.js","import style from './statistica.css';\r\nimport { Component } from 'preact';\r\nimport Latex from '../components/latex';\r\nimport Panel from '../components/panel';\r\nimport Split from '../components/split';\r\nimport Plus from '../components/plus';\r\nimport Minus from '../components/minus';\r\nimport Todo from '../components/todo';\r\n\r\nconst r = String.raw;\r\n\r\nexport default class Statistica extends Component {\r\n\trender() {\r\n return (\r\n \r\n Statistica ed Elementi di Probabilità
\r\n \r\n \r\n \r\n Gruppo intero di oggetti di cui si cercano informazioni.\r\n
\r\n \r\n \r\n \r\n Popolazione finita di oggetti concreti che possono essere campionati ciascuno solo una volta.\r\n
\r\n \r\n \r\n \r\n Popolazione di valori ottenuti da prove sperimentali indipendenti ripetute più volte.\r\n
\r\n \r\n \r\n \r\n \r\n \r\n Sottoinsieme della popolazione che contiene gli oggetti che si sono osservati.\r\n
\r\n \r\n Simple random sample}>\r\n \r\n Campione di una data dimensione in cui qualsiasi selezione di n elementi ha la stessa probabilità di costituire il campione.\r\n
\r\n \r\n Sample of convenience}>\r\n \r\n Campione ottenuto in un modo casuale non ben definito.\r\n
\r\n \r\n Sample with replacement}>\r\n \r\n Campione ottenuto sostituendo nella popolazione gli elementi estratti con dei nuovi elementi.\r\n
\r\n \r\n Dire che un campione è ottenuto with replacement è equivalente a dire che la popolazione che si sta campionando è infinita, e quindi che tutti gli elementi sono indipendenti.\r\n
\r\n \r\n \r\n \r\n Campione ottenuto da una popolazione in cui certi elementi hanno più probabilità di essere stati selezionati di altri.\r\n
\r\n \r\n Stratified random sample}>\r\n \r\n Campione ottenuto da un sottoinsieme della popolazione detto strato.\r\n
\r\n \r\n Cluster sample}>\r\n \r\n Campione ottenuto selezionando più cluster di elementi alla volta.\r\n
\r\n \r\n \r\n \r\n Sampling variation}>\r\n \r\n Differenza di informazioni presente tra due campioni diversi della stessa popolazione.\r\n
\r\n \r\n \r\n \r\n Gli elementi in un campione sono indipendenti se gli elementi estratti in precedenza non influsicono significativamente sulle probabilità di estrazione dell'elemento successivo.\r\n
\r\n \r\n \r\n \r\n \r\n \r\n Esperimento in cui c'è una sola popolazione da cui vengono estratti campioni.\r\n
\r\n \r\n Serve per verificare delle condizioni.\r\n
\r\n \r\n \r\n \r\n Esperimento in cui sono presenti più popolazioni (aventi caratteristiche differenti una dall'altra dette fattori) da cui vengono estratti campioni.\r\n
\r\n \r\n Serve per capire quali fattori influenzano il risultato dell'esperimento.\r\n
\r\n \r\n \r\n \r\n Numerico o quantitativo}>\r\n Il dato descrive un valore numerico relativo all'elemento, come ad esempio una quantità fisica.\r\n \r\n Categorico o qualitativo}>\r\n Il dato indica una categoria a cui appartiene l'elemento, come ad esempio il suo colore.\r\n \r\n \r\n \r\n \r\n \r\n L'insieme di tutti gli esiti possibili di un esperimento.\r\n
\r\n \r\n {r`\\Omega = \\left \\{ 1, 2, 3, 4, 5, 6 \\right \\}`} \r\n
\r\n \r\n \r\n \r\n Uno dei possibili risultati di un esperimento.\r\n
\r\n \r\n E' un elemento dello spazio campionario.\r\n
\r\n \r\n {r`\\omega = 1`} \"omeghino\"\r\n
\r\n \r\n \r\n \r\n Un sottoinsieme dello spazio campionario.\r\n
\r\n \r\n {r`E = \\left \\{ 1, 2 \\right \\}`} \r\n
\r\n \r\n Lo spazio campionario stesso è un evento certo.\r\n
\r\n \r\n \r\n \r\n Il complementare di un sottoinsieme.\r\n
\r\n \r\n {r`\\bar{E} = \\left \\{ 3, 4, 5, 6 \\right \\}`} \r\n
\r\n \r\n \r\n \r\n L'intersezione di più sottoinsiemi.\r\n
\r\n \r\n {r`E \\cap F = \\left \\{ 1 \\right \\}`} \r\n
\r\n \r\n \r\n \r\n L'unione di più sottoinsiemi.\r\n
\r\n \r\n {r`E \\cup F = \\left \\{ 1, 2, 3, 4 \\right \\}`} \r\n
\r\n \r\n \r\n \r\n {r`E \\setminus F = E \\cap \\bar{F}`} \r\n
\r\n \r\n \r\n \r\n L'inclusione del primo insieme in un altro.\r\n
\r\n \r\n {r`E \\subseteq F`} \r\n
\r\n \r\n Se si verifica E , allora si verifica anche F .\r\n
\r\n \r\n \r\n \r\n Un sottoinsieme vuoto.\r\n
\r\n \r\n {r`I = \\emptyset`} \r\n
\r\n \r\n \r\n \r\n La disgiunzione di due insiemi.\r\n
\r\n \r\n {r`E \\cap F = \\emptyset`} \r\n
\r\n \r\n \r\n \r\n \r\n \r\n I sottoinsiemi dello spazio campionario formano una famiglia di sottoinsiemi detta famiglia degli eventi.\r\n
\r\n \r\n {r`\\mathcal{F}`} (\"effe\")\r\n
\r\n \r\n Qualsiasi sottoinsieme appartenente a {r`\\mathcal{F}`} è considerato un evento.\r\n
\r\n \r\n {r`\\sigma`} -algebra}>\r\n \r\n Se la famiglia degli eventi soddisfa questi tre requisiti, allora viene detta {r`\\sigma`} -algebra:\r\n
\r\n \r\n - \r\n Lo spazio campionario è un evento:
{r`\\Omega \\in \\mathcal{F}`} \r\n \r\n - \r\n Se un sottoinsieme è un evento, allora anche il suo complementare lo è:
{r`E \\in \\mathcal{F} \\implies \\bar{E} \\in \\mathcal{F}`} \r\n \r\n - \r\n Se due sottoinsiemi sono eventi, allora lo sono anche la loro unione e intersezione:
{r`(E, F) \\in \\mathcal{F} \\implies (E \\cup F, E \\cap F) \\in \\mathcal{F}`} \r\n \r\n
\r\n \r\n Un esempio: {r`E \\in \\mathcal{F} \\implies \\mathcal{F} = \\{ \\emptyset, E, \\bar{E}, \\Omega \\}`} \r\n
\r\n \r\n \r\n \r\n \r\n \r\n {r`P(E) = \\frac{casi\\ favorevoli}{casi\\ possibili}`} \r\n
\r\n \r\n \r\n \r\n {r`P(E) = \\frac{successi}{prove\\ totali}`} \r\n
\r\n \r\n \r\n \r\n TODO: Trovare un'espressione decente \r\n
\r\n \r\n \r\n \r\n \r\n \r\n La probabilità di un evento è un numero tra 0 e 1.\r\n
\r\n \r\n {r`\\forall E \\in \\mathcal{F}, 0 \\leq P(E) \\leq 1`} \r\n
\r\n \r\n \r\n \r\n La probabilità dello spazio campionario è sempre 1.\r\n
\r\n \r\n {r`P(\\Omega) = 1`} \r\n
\r\n \r\n \r\n \r\n La probabilità dell'unione di eventi indipendenti è uguale alla somma delle loro probabilità.\r\n
\r\n \r\n {r`P \\left ( \\bigcup_i E_i \\right ) = \\sum_i P ( E_i )`} \r\n
\r\n \r\n \r\n \r\n \r\n \r\n {r`P(\\bar{E}) = 1 - P(\\bar{E})`} \r\n
\r\n \r\n \r\n \r\n {r`F \\subseteq E \\implies P(F) \\leq P(E)`} \r\n
\r\n \r\n \r\n \r\n {r`P(E \\cup F) = P(E) + P(F) - P(E \\cap F)`} \r\n
\r\n \r\n \r\n \r\n \r\n \r\n Spazi campionari in cui ci sono un numero finito di esiti e ogni esito ha la stessa probabilità di verificarsi.\r\n
\r\n \r\n \r\n \r\n {r`P(E) = \\frac{len(E)}{len(\\Omega)}`} \r\n
\r\n \r\n \r\n \r\n \r\n \r\n Estraggo un numero, mi segno che numero ho estratto e lo tengo fuori dal sacchetto.\r\n
\r\n \r\n Tengo conto dell'ordine in cui ho estratto i numeri.\r\n
\r\n \r\n \r\n \r\n Estraggo un numero, mi segno che numero ho estratto e lo rimetto nel sacchetto.\r\n
\r\n \r\n Tengo conto dell'ordine in cui ho estratto i numeri.\r\n
\r\n \r\n \r\n \r\n Estraggo un numero, mi segno che numero ho estratto e lo tengo fuori dal sacchetto.\r\n
\r\n \r\n Non mi interessa l'ordine in cui ho estratto i numeri.\r\n
\r\n \r\n \r\n \r\n Estraggo un numero, mi segno che numero ho estratto e lo rimetto nel sacchetto.\r\n
\r\n \r\n Non mi interessa l'ordine in cui ho estratto i numeri.\r\n
\r\n \r\n \r\n \r\n Estraggo N numeri e guardo in quanti ordini diversi li posso mettere.\r\n
\r\n \r\n \r\n \r\n )\r\n\t}\r\n}\n\n\n// WEBPACK FOOTER //\n// ./pages/statistica.js","import './index.css';\nimport './manifest.json';\nimport { Component } from 'preact';\nimport Router from 'preact-router';\nimport Home from './pages/home';\nimport Fisica from './pages/fisica';\nimport VlDiGeometria from './pages/vldigeometria';\nimport MingwInstall from './pages/mingwinstall';\nimport Copyright from './components/copyright';\nimport Statistica from './pages/statistica';\n\n// noinspection JSUnusedGlobalSymbols\nexport default class App extends Component {\n\trender() {\n\t\treturn (\n\t\t\t\n\t\t\t\tAppuntiweb di Steffo
\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t \n\t\t\t\t \n\t\t\t\n\t\t);\n\t}\n}\n\n\n\n// WEBPACK FOOTER //\n// ./index.js","!function(){\"use strict\";function e(e,t){var n,o,r,i,l=W;for(i=arguments.length;i-- >2;)P.push(arguments[i]);t&&null!=t.children&&(P.length||P.push(t.children),delete t.children);while(P.length)if((o=P.pop())&&void 0!==o.pop)for(i=o.length;i--;)P.push(o[i]);else\"boolean\"==typeof o&&(o=null),(r=\"function\"!=typeof e)&&(null==o?o=\"\":\"number\"==typeof o?o+=\"\":\"string\"!=typeof o&&(r=!1)),r&&n?l[l.length-1]+=o:l===W?l=[o]:l.push(o),n=r;var a=new T;return a.nodeName=e,a.children=l,a.attributes=null==t?void 0:t,a.key=null==t?void 0:t.key,void 0!==M.vnode&&M.vnode(a),a}function t(e,t){for(var n in t)e[n]=t[n];return e}function n(e,t){e&&(\"function\"==typeof e?e(t):e.current=t)}function o(n,o){return e(n.nodeName,t(t({},n.attributes),o),arguments.length>2?[].slice.call(arguments,2):n.children)}function r(e){!e.__d&&(e.__d=!0)&&1==V.push(e)&&(M.debounceRendering||D)(i)}function i(){var e;while(e=V.pop())e.__d&&x(e)}function l(e,t,n){return\"string\"==typeof t||\"number\"==typeof t?void 0!==e.splitText:\"string\"==typeof t.nodeName?!e._componentConstructor&&a(e,t.nodeName):n||e._componentConstructor===t.nodeName}function a(e,t){return e.__n===t||e.nodeName.toLowerCase()===t.toLowerCase()}function u(e){var n=t({},e.attributes);n.children=e.children;var o=e.nodeName.defaultProps;if(void 0!==o)for(var r in o)void 0===n[r]&&(n[r]=o[r]);return n}function c(e,t){var n=t?document.createElementNS(\"http://www.w3.org/2000/svg\",e):document.createElement(e);return n.__n=e,n}function p(e){var t=e.parentNode;t&&t.removeChild(e)}function s(e,t,o,r,i){if(\"className\"===t&&(t=\"class\"),\"key\"===t);else if(\"ref\"===t)n(o,null),n(r,e);else if(\"class\"!==t||i)if(\"style\"===t){if(r&&\"string\"!=typeof r&&\"string\"!=typeof o||(e.style.cssText=r||\"\"),r&&\"object\"==typeof r){if(\"string\"!=typeof o)for(var l in o)l in r||(e.style[l]=\"\");for(var l in r)e.style[l]=\"number\"==typeof r[l]&&!1===E.test(l)?r[l]+\"px\":r[l]}}else if(\"dangerouslySetInnerHTML\"===t)r&&(e.innerHTML=r.__html||\"\");else if(\"o\"==t[0]&&\"n\"==t[1]){var a=t!==(t=t.replace(/Capture$/,\"\"));t=t.toLowerCase().substring(2),r?o||e.addEventListener(t,_,a):e.removeEventListener(t,_,a),(e.__l||(e.__l={}))[t]=r}else if(\"list\"!==t&&\"type\"!==t&&!i&&t in e){try{e[t]=null==r?\"\":r}catch(e){}null!=r&&!1!==r||\"spellcheck\"==t||e.removeAttribute(t)}else{var u=i&&t!==(t=t.replace(/^xlink:?/,\"\"));null==r||!1===r?u?e.removeAttributeNS(\"http://www.w3.org/1999/xlink\",t.toLowerCase()):e.removeAttribute(t):\"function\"!=typeof r&&(u?e.setAttributeNS(\"http://www.w3.org/1999/xlink\",t.toLowerCase(),r):e.setAttribute(t,r))}else e.className=r||\"\"}function _(e){return this.__l[e.type](M.event&&M.event(e)||e)}function f(){var e;while(e=A.shift())M.afterMount&&M.afterMount(e),e.componentDidMount&&e.componentDidMount()}function d(e,t,n,o,r,i){H++||(R=null!=r&&void 0!==r.ownerSVGElement,B=null!=e&&!(\"__preactattr_\"in e));var l=h(e,t,n,o,i);return r&&l.parentNode!==r&&r.appendChild(l),--H||(B=!1,i||f()),l}function h(e,t,n,o,r){var i=e,l=R;if(null!=t&&\"boolean\"!=typeof t||(t=\"\"),\"string\"==typeof t||\"number\"==typeof t)return e&&void 0!==e.splitText&&e.parentNode&&(!e._component||r)?e.nodeValue!=t&&(e.nodeValue=t):(i=document.createTextNode(t),e&&(e.parentNode&&e.parentNode.replaceChild(i,e),v(e,!0))),i.__preactattr_=!0,i;var u=t.nodeName;if(\"function\"==typeof u)return N(e,t,n,o);if(R=\"svg\"===u||\"foreignObject\"!==u&&R,u+=\"\",(!e||!a(e,u))&&(i=c(u,R),e)){while(e.firstChild)i.appendChild(e.firstChild);e.parentNode&&e.parentNode.replaceChild(i,e),v(e,!0)}var p=i.firstChild,s=i.__preactattr_,_=t.children;if(null==s){s=i.__preactattr_={};for(var f=i.attributes,d=f.length;d--;)s[f[d].name]=f[d].value}return!B&&_&&1===_.length&&\"string\"==typeof _[0]&&null!=p&&void 0!==p.splitText&&null==p.nextSibling?p.nodeValue!=_[0]&&(p.nodeValue=_[0]):(_&&_.length||null!=p)&&m(i,_,n,o,B||null!=s.dangerouslySetInnerHTML),y(i,t.attributes,s),R=l,i}function m(e,t,n,o,r){var i,a,u,c,s,_=e.childNodes,f=[],d={},m=0,b=0,y=_.length,g=0,w=t?t.length:0;if(0!==y)for(var C=0;C (GFM Style)',\n type: 'boolean'\n },\n requireSpaceBeforeHeadingText: {\n defaultValue: false,\n description: 'Makes adding a space between `#` and the header text mandatory (GFM Style)',\n type: 'boolean'\n },\n ghMentions: {\n defaultValue: false,\n description: 'Enables github @mentions',\n type: 'boolean'\n },\n ghMentionsLink: {\n defaultValue: 'https://github.com/{u}',\n description: 'Changes the link generated by @mentions. Only applies if ghMentions option is enabled.',\n type: 'string'\n },\n encodeEmails: {\n defaultValue: true,\n description: 'Encode e-mail addresses through the use of Character Entities, transforming ASCII e-mail addresses into its equivalent decimal entities',\n type: 'boolean'\n },\n openLinksInNewWindow: {\n defaultValue: false,\n description: 'Open all links in new windows',\n type: 'boolean'\n },\n backslashEscapesHTMLTags: {\n defaultValue: false,\n description: 'Support for HTML Tag escaping. ex: \\foo\\',\n type: 'boolean'\n },\n emoji: {\n defaultValue: false,\n description: 'Enable emoji support. Ex: `this is a :smile: emoji`',\n type: 'boolean'\n },\n underline: {\n defaultValue: false,\n description: 'Enable support for underline. Syntax is double or triple underscores: `__underline word__`. With this option enabled, underscores no longer parses into `` and ``',\n type: 'boolean'\n },\n completeHTMLDocument: {\n defaultValue: false,\n description: 'Outputs a complete html document, including ``, `` and `` tags',\n type: 'boolean'\n },\n metadata: {\n defaultValue: false,\n description: 'Enable support for document metadata (defined at the top of the document between `«««` and `»»»` or between `---` and `---`).',\n type: 'boolean'\n },\n splitAdjacentBlockquotes: {\n defaultValue: false,\n description: 'Split adjacent blockquote blocks',\n type: 'boolean'\n }\n };\n if (simple === false) {\n return JSON.parse(JSON.stringify(defaultOptions));\n }\n var ret = {};\n for (var opt in defaultOptions) {\n if (defaultOptions.hasOwnProperty(opt)) {\n ret[opt] = defaultOptions[opt].defaultValue;\n }\n }\n return ret;\n}\n\nfunction allOptionsOn () {\n 'use strict';\n var options = getDefaultOpts(true),\n ret = {};\n for (var opt in options) {\n if (options.hasOwnProperty(opt)) {\n ret[opt] = true;\n }\n }\n return ret;\n}\n\r\n/**\n * Created by Tivie on 06-01-2015.\n */\n\n// Private properties\nvar showdown = {},\n parsers = {},\n extensions = {},\n globalOptions = getDefaultOpts(true),\n setFlavor = 'vanilla',\n flavor = {\n github: {\n omitExtraWLInCodeBlocks: true,\n simplifiedAutoLink: true,\n excludeTrailingPunctuationFromURLs: true,\n literalMidWordUnderscores: true,\n strikethrough: true,\n tables: true,\n tablesHeaderId: true,\n ghCodeBlocks: true,\n tasklists: true,\n disableForced4SpacesIndentedSublists: true,\n simpleLineBreaks: true,\n requireSpaceBeforeHeadingText: true,\n ghCompatibleHeaderId: true,\n ghMentions: true,\n backslashEscapesHTMLTags: true,\n emoji: true,\n splitAdjacentBlockquotes: true\n },\n original: {\n noHeaderId: true,\n ghCodeBlocks: false\n },\n ghost: {\n omitExtraWLInCodeBlocks: true,\n parseImgDimensions: true,\n simplifiedAutoLink: true,\n excludeTrailingPunctuationFromURLs: true,\n literalMidWordUnderscores: true,\n strikethrough: true,\n tables: true,\n tablesHeaderId: true,\n ghCodeBlocks: true,\n tasklists: true,\n smoothLivePreview: true,\n simpleLineBreaks: true,\n requireSpaceBeforeHeadingText: true,\n ghMentions: false,\n encodeEmails: true\n },\n vanilla: getDefaultOpts(true),\n allOn: allOptionsOn()\n };\n\n/**\n * helper namespace\n * @type {{}}\n */\nshowdown.helper = {};\n\n/**\n * TODO LEGACY SUPPORT CODE\n * @type {{}}\n */\nshowdown.extensions = {};\n\n/**\n * Set a global option\n * @static\n * @param {string} key\n * @param {*} value\n * @returns {showdown}\n */\nshowdown.setOption = function (key, value) {\n 'use strict';\n globalOptions[key] = value;\n return this;\n};\n\n/**\n * Get a global option\n * @static\n * @param {string} key\n * @returns {*}\n */\nshowdown.getOption = function (key) {\n 'use strict';\n return globalOptions[key];\n};\n\n/**\n * Get the global options\n * @static\n * @returns {{}}\n */\nshowdown.getOptions = function () {\n 'use strict';\n return globalOptions;\n};\n\n/**\n * Reset global options to the default values\n * @static\n */\nshowdown.resetOptions = function () {\n 'use strict';\n globalOptions = getDefaultOpts(true);\n};\n\n/**\n * Set the flavor showdown should use as default\n * @param {string} name\n */\nshowdown.setFlavor = function (name) {\n 'use strict';\n if (!flavor.hasOwnProperty(name)) {\n throw Error(name + ' flavor was not found');\n }\n showdown.resetOptions();\n var preset = flavor[name];\n setFlavor = name;\n for (var option in preset) {\n if (preset.hasOwnProperty(option)) {\n globalOptions[option] = preset[option];\n }\n }\n};\n\n/**\n * Get the currently set flavor\n * @returns {string}\n */\nshowdown.getFlavor = function () {\n 'use strict';\n return setFlavor;\n};\n\n/**\n * Get the options of a specified flavor. Returns undefined if the flavor was not found\n * @param {string} name Name of the flavor\n * @returns {{}|undefined}\n */\nshowdown.getFlavorOptions = function (name) {\n 'use strict';\n if (flavor.hasOwnProperty(name)) {\n return flavor[name];\n }\n};\n\n/**\n * Get the default options\n * @static\n * @param {boolean} [simple=true]\n * @returns {{}}\n */\nshowdown.getDefaultOptions = function (simple) {\n 'use strict';\n return getDefaultOpts(simple);\n};\n\n/**\n * Get or set a subParser\n *\n * subParser(name) - Get a registered subParser\n * subParser(name, func) - Register a subParser\n * @static\n * @param {string} name\n * @param {function} [func]\n * @returns {*}\n */\nshowdown.subParser = function (name, func) {\n 'use strict';\n if (showdown.helper.isString(name)) {\n if (typeof func !== 'undefined') {\n parsers[name] = func;\n } else {\n if (parsers.hasOwnProperty(name)) {\n return parsers[name];\n } else {\n throw Error('SubParser named ' + name + ' not registered!');\n }\n }\n }\n};\n\n/**\n * Gets or registers an extension\n * @static\n * @param {string} name\n * @param {object|function=} ext\n * @returns {*}\n */\nshowdown.extension = function (name, ext) {\n 'use strict';\n\n if (!showdown.helper.isString(name)) {\n throw Error('Extension \\'name\\' must be a string');\n }\n\n name = showdown.helper.stdExtName(name);\n\n // Getter\n if (showdown.helper.isUndefined(ext)) {\n if (!extensions.hasOwnProperty(name)) {\n throw Error('Extension named ' + name + ' is not registered!');\n }\n return extensions[name];\n\n // Setter\n } else {\n // Expand extension if it's wrapped in a function\n if (typeof ext === 'function') {\n ext = ext();\n }\n\n // Ensure extension is an array\n if (!showdown.helper.isArray(ext)) {\n ext = [ext];\n }\n\n var validExtension = validate(ext, name);\n\n if (validExtension.valid) {\n extensions[name] = ext;\n } else {\n throw Error(validExtension.error);\n }\n }\n};\n\n/**\n * Gets all extensions registered\n * @returns {{}}\n */\nshowdown.getAllExtensions = function () {\n 'use strict';\n return extensions;\n};\n\n/**\n * Remove an extension\n * @param {string} name\n */\nshowdown.removeExtension = function (name) {\n 'use strict';\n delete extensions[name];\n};\n\n/**\n * Removes all extensions\n */\nshowdown.resetExtensions = function () {\n 'use strict';\n extensions = {};\n};\n\n/**\n * Validate extension\n * @param {array} extension\n * @param {string} name\n * @returns {{valid: boolean, error: string}}\n */\nfunction validate (extension, name) {\n 'use strict';\n\n var errMsg = (name) ? 'Error in ' + name + ' extension->' : 'Error in unnamed extension',\n ret = {\n valid: true,\n error: ''\n };\n\n if (!showdown.helper.isArray(extension)) {\n extension = [extension];\n }\n\n for (var i = 0; i < extension.length; ++i) {\n var baseMsg = errMsg + ' sub-extension ' + i + ': ',\n ext = extension[i];\n if (typeof ext !== 'object') {\n ret.valid = false;\n ret.error = baseMsg + 'must be an object, but ' + typeof ext + ' given';\n return ret;\n }\n\n if (!showdown.helper.isString(ext.type)) {\n ret.valid = false;\n ret.error = baseMsg + 'property \"type\" must be a string, but ' + typeof ext.type + ' given';\n return ret;\n }\n\n var type = ext.type = ext.type.toLowerCase();\n\n // normalize extension type\n if (type === 'language') {\n type = ext.type = 'lang';\n }\n\n if (type === 'html') {\n type = ext.type = 'output';\n }\n\n if (type !== 'lang' && type !== 'output' && type !== 'listener') {\n ret.valid = false;\n ret.error = baseMsg + 'type ' + type + ' is not recognized. Valid values: \"lang/language\", \"output/html\" or \"listener\"';\n return ret;\n }\n\n if (type === 'listener') {\n if (showdown.helper.isUndefined(ext.listeners)) {\n ret.valid = false;\n ret.error = baseMsg + '. Extensions of type \"listener\" must have a property called \"listeners\"';\n return ret;\n }\n } else {\n if (showdown.helper.isUndefined(ext.filter) && showdown.helper.isUndefined(ext.regex)) {\n ret.valid = false;\n ret.error = baseMsg + type + ' extensions must define either a \"regex\" property or a \"filter\" method';\n return ret;\n }\n }\n\n if (ext.listeners) {\n if (typeof ext.listeners !== 'object') {\n ret.valid = false;\n ret.error = baseMsg + '\"listeners\" property must be an object but ' + typeof ext.listeners + ' given';\n return ret;\n }\n for (var ln in ext.listeners) {\n if (ext.listeners.hasOwnProperty(ln)) {\n if (typeof ext.listeners[ln] !== 'function') {\n ret.valid = false;\n ret.error = baseMsg + '\"listeners\" property must be an hash of [event name]: [callback]. listeners.' + ln +\n ' must be a function but ' + typeof ext.listeners[ln] + ' given';\n return ret;\n }\n }\n }\n }\n\n if (ext.filter) {\n if (typeof ext.filter !== 'function') {\n ret.valid = false;\n ret.error = baseMsg + '\"filter\" must be a function, but ' + typeof ext.filter + ' given';\n return ret;\n }\n } else if (ext.regex) {\n if (showdown.helper.isString(ext.regex)) {\n ext.regex = new RegExp(ext.regex, 'g');\n }\n if (!(ext.regex instanceof RegExp)) {\n ret.valid = false;\n ret.error = baseMsg + '\"regex\" property must either be a string or a RegExp object, but ' + typeof ext.regex + ' given';\n return ret;\n }\n if (showdown.helper.isUndefined(ext.replace)) {\n ret.valid = false;\n ret.error = baseMsg + '\"regex\" extensions must implement a replace string or function';\n return ret;\n }\n }\n }\n return ret;\n}\n\n/**\n * Validate extension\n * @param {object} ext\n * @returns {boolean}\n */\nshowdown.validateExtension = function (ext) {\n 'use strict';\n\n var validateExtension = validate(ext, null);\n if (!validateExtension.valid) {\n console.warn(validateExtension.error);\n return false;\n }\n return true;\n};\n\r\n/**\n * showdownjs helper functions\n */\n\nif (!showdown.hasOwnProperty('helper')) {\n showdown.helper = {};\n}\n\n/**\n * Check if var is string\n * @static\n * @param {string} a\n * @returns {boolean}\n */\nshowdown.helper.isString = function (a) {\n 'use strict';\n return (typeof a === 'string' || a instanceof String);\n};\n\n/**\n * Check if var is a function\n * @static\n * @param {*} a\n * @returns {boolean}\n */\nshowdown.helper.isFunction = function (a) {\n 'use strict';\n var getType = {};\n return a && getType.toString.call(a) === '[object Function]';\n};\n\n/**\n * isArray helper function\n * @static\n * @param {*} a\n * @returns {boolean}\n */\nshowdown.helper.isArray = function (a) {\n 'use strict';\n return Array.isArray(a);\n};\n\n/**\n * Check if value is undefined\n * @static\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is `undefined`, else `false`.\n */\nshowdown.helper.isUndefined = function (value) {\n 'use strict';\n return typeof value === 'undefined';\n};\n\n/**\n * ForEach helper function\n * Iterates over Arrays and Objects (own properties only)\n * @static\n * @param {*} obj\n * @param {function} callback Accepts 3 params: 1. value, 2. key, 3. the original array/object\n */\nshowdown.helper.forEach = function (obj, callback) {\n 'use strict';\n // check if obj is defined\n if (showdown.helper.isUndefined(obj)) {\n throw new Error('obj param is required');\n }\n\n if (showdown.helper.isUndefined(callback)) {\n throw new Error('callback param is required');\n }\n\n if (!showdown.helper.isFunction(callback)) {\n throw new Error('callback param must be a function/closure');\n }\n\n if (typeof obj.forEach === 'function') {\n obj.forEach(callback);\n } else if (showdown.helper.isArray(obj)) {\n for (var i = 0; i < obj.length; i++) {\n callback(obj[i], i, obj);\n }\n } else if (typeof (obj) === 'object') {\n for (var prop in obj) {\n if (obj.hasOwnProperty(prop)) {\n callback(obj[prop], prop, obj);\n }\n }\n } else {\n throw new Error('obj does not seem to be an array or an iterable object');\n }\n};\n\n/**\n * Standardidize extension name\n * @static\n * @param {string} s extension name\n * @returns {string}\n */\nshowdown.helper.stdExtName = function (s) {\n 'use strict';\n return s.replace(/[_?*+\\/\\\\.^-]/g, '').replace(/\\s/g, '').toLowerCase();\n};\n\nfunction escapeCharactersCallback (wholeMatch, m1) {\n 'use strict';\n var charCodeToEscape = m1.charCodeAt(0);\n return '¨E' + charCodeToEscape + 'E';\n}\n\n/**\n * Callback used to escape characters when passing through String.replace\n * @static\n * @param {string} wholeMatch\n * @param {string} m1\n * @returns {string}\n */\nshowdown.helper.escapeCharactersCallback = escapeCharactersCallback;\n\n/**\n * Escape characters in a string\n * @static\n * @param {string} text\n * @param {string} charsToEscape\n * @param {boolean} afterBackslash\n * @returns {XML|string|void|*}\n */\nshowdown.helper.escapeCharacters = function (text, charsToEscape, afterBackslash) {\n 'use strict';\n // First we have to escape the escape characters so that\n // we can build a character class out of them\n var regexString = '([' + charsToEscape.replace(/([\\[\\]\\\\])/g, '\\\\$1') + '])';\n\n if (afterBackslash) {\n regexString = '\\\\\\\\' + regexString;\n }\n\n var regex = new RegExp(regexString, 'g');\n text = text.replace(regex, escapeCharactersCallback);\n\n return text;\n};\n\n/**\n * Unescape HTML entities\n * @param txt\n * @returns {string}\n */\nshowdown.helper.unescapeHTMLEntities = function (txt) {\n 'use strict';\n\n return txt\n .replace(/"/g, '\"')\n .replace(/</g, '<')\n .replace(/>/g, '>')\n .replace(/&/g, '&');\n};\n\nvar rgxFindMatchPos = function (str, left, right, flags) {\n 'use strict';\n var f = flags || '',\n g = f.indexOf('g') > -1,\n x = new RegExp(left + '|' + right, 'g' + f.replace(/g/g, '')),\n l = new RegExp(left, f.replace(/g/g, '')),\n pos = [],\n t, s, m, start, end;\n\n do {\n t = 0;\n while ((m = x.exec(str))) {\n if (l.test(m[0])) {\n if (!(t++)) {\n s = x.lastIndex;\n start = s - m[0].length;\n }\n } else if (t) {\n if (!--t) {\n end = m.index + m[0].length;\n var obj = {\n left: {start: start, end: s},\n match: {start: s, end: m.index},\n right: {start: m.index, end: end},\n wholeMatch: {start: start, end: end}\n };\n pos.push(obj);\n if (!g) {\n return pos;\n }\n }\n }\n }\n } while (t && (x.lastIndex = s));\n\n return pos;\n};\n\n/**\n * matchRecursiveRegExp\n *\n * (c) 2007 Steven Levithan \n * MIT License\n *\n * Accepts a string to search, a left and right format delimiter\n * as regex patterns, and optional regex flags. Returns an array\n * of matches, allowing nested instances of left/right delimiters.\n * Use the \"g\" flag to return all matches, otherwise only the\n * first is returned. Be careful to ensure that the left and\n * right format delimiters produce mutually exclusive matches.\n * Backreferences are not supported within the right delimiter\n * due to how it is internally combined with the left delimiter.\n * When matching strings whose format delimiters are unbalanced\n * to the left or right, the output is intentionally as a\n * conventional regex library with recursion support would\n * produce, e.g. \"<\" and \">\" both produce [\"x\"] when using\n * \"<\" and \">\" as the delimiters (both strings contain a single,\n * balanced instance of \"\").\n *\n * examples:\n * matchRecursiveRegExp(\"test\", \"\\\\(\", \"\\\\)\")\n * returns: []\n * matchRecursiveRegExp(\">>t<>\", \"<\", \">\", \"g\")\n * returns: [\"t<>\", \"\"]\n * matchRecursiveRegExp(\"test\", \"]*>\", \"\", \"gi\")\n * returns: [\"test\"]\n */\nshowdown.helper.matchRecursiveRegExp = function (str, left, right, flags) {\n 'use strict';\n\n var matchPos = rgxFindMatchPos (str, left, right, flags),\n results = [];\n\n for (var i = 0; i < matchPos.length; ++i) {\n results.push([\n str.slice(matchPos[i].wholeMatch.start, matchPos[i].wholeMatch.end),\n str.slice(matchPos[i].match.start, matchPos[i].match.end),\n str.slice(matchPos[i].left.start, matchPos[i].left.end),\n str.slice(matchPos[i].right.start, matchPos[i].right.end)\n ]);\n }\n return results;\n};\n\n/**\n *\n * @param {string} str\n * @param {string|function} replacement\n * @param {string} left\n * @param {string} right\n * @param {string} flags\n * @returns {string}\n */\nshowdown.helper.replaceRecursiveRegExp = function (str, replacement, left, right, flags) {\n 'use strict';\n\n if (!showdown.helper.isFunction(replacement)) {\n var repStr = replacement;\n replacement = function () {\n return repStr;\n };\n }\n\n var matchPos = rgxFindMatchPos(str, left, right, flags),\n finalStr = str,\n lng = matchPos.length;\n\n if (lng > 0) {\n var bits = [];\n if (matchPos[0].wholeMatch.start !== 0) {\n bits.push(str.slice(0, matchPos[0].wholeMatch.start));\n }\n for (var i = 0; i < lng; ++i) {\n bits.push(\n replacement(\n str.slice(matchPos[i].wholeMatch.start, matchPos[i].wholeMatch.end),\n str.slice(matchPos[i].match.start, matchPos[i].match.end),\n str.slice(matchPos[i].left.start, matchPos[i].left.end),\n str.slice(matchPos[i].right.start, matchPos[i].right.end)\n )\n );\n if (i < lng - 1) {\n bits.push(str.slice(matchPos[i].wholeMatch.end, matchPos[i + 1].wholeMatch.start));\n }\n }\n if (matchPos[lng - 1].wholeMatch.end < str.length) {\n bits.push(str.slice(matchPos[lng - 1].wholeMatch.end));\n }\n finalStr = bits.join('');\n }\n return finalStr;\n};\n\n/**\n * Returns the index within the passed String object of the first occurrence of the specified regex,\n * starting the search at fromIndex. Returns -1 if the value is not found.\n *\n * @param {string} str string to search\n * @param {RegExp} regex Regular expression to search\n * @param {int} [fromIndex = 0] Index to start the search\n * @returns {Number}\n * @throws InvalidArgumentError\n */\nshowdown.helper.regexIndexOf = function (str, regex, fromIndex) {\n 'use strict';\n if (!showdown.helper.isString(str)) {\n throw 'InvalidArgumentError: first parameter of showdown.helper.regexIndexOf function must be a string';\n }\n if (regex instanceof RegExp === false) {\n throw 'InvalidArgumentError: second parameter of showdown.helper.regexIndexOf function must be an instance of RegExp';\n }\n var indexOf = str.substring(fromIndex || 0).search(regex);\n return (indexOf >= 0) ? (indexOf + (fromIndex || 0)) : indexOf;\n};\n\n/**\n * Splits the passed string object at the defined index, and returns an array composed of the two substrings\n * @param {string} str string to split\n * @param {int} index index to split string at\n * @returns {[string,string]}\n * @throws InvalidArgumentError\n */\nshowdown.helper.splitAtIndex = function (str, index) {\n 'use strict';\n if (!showdown.helper.isString(str)) {\n throw 'InvalidArgumentError: first parameter of showdown.helper.regexIndexOf function must be a string';\n }\n return [str.substring(0, index), str.substring(index)];\n};\n\n/**\n * Obfuscate an e-mail address through the use of Character Entities,\n * transforming ASCII characters into their equivalent decimal or hex entities.\n *\n * Since it has a random component, subsequent calls to this function produce different results\n *\n * @param {string} mail\n * @returns {string}\n */\nshowdown.helper.encodeEmailAddress = function (mail) {\n 'use strict';\n var encode = [\n function (ch) {\n return '' + ch.charCodeAt(0) + ';';\n },\n function (ch) {\n return '' + ch.charCodeAt(0).toString(16) + ';';\n },\n function (ch) {\n return ch;\n }\n ];\n\n mail = mail.replace(/./g, function (ch) {\n if (ch === '@') {\n // this *must* be encoded. I insist.\n ch = encode[Math.floor(Math.random() * 2)](ch);\n } else {\n var r = Math.random();\n // roughly 10% raw, 45% hex, 45% dec\n ch = (\n r > 0.9 ? encode[2](ch) : r > 0.45 ? encode[1](ch) : encode[0](ch)\n );\n }\n return ch;\n });\n\n return mail;\n};\n\n/**\n *\n * @param str\n * @param targetLength\n * @param padString\n * @returns {string}\n */\nshowdown.helper.padEnd = function padEnd (str, targetLength, padString) {\n 'use strict';\n /*jshint bitwise: false*/\n // eslint-disable-next-line space-infix-ops\n targetLength = targetLength>>0; //floor if number or convert non-number to 0;\n /*jshint bitwise: true*/\n padString = String(padString || ' ');\n if (str.length > targetLength) {\n return String(str);\n } else {\n targetLength = targetLength - str.length;\n if (targetLength > padString.length) {\n padString += padString.repeat(targetLength / padString.length); //append to original to ensure we are longer than needed\n }\n return String(str) + padString.slice(0,targetLength);\n }\n};\n\n/**\n * POLYFILLS\n */\n// use this instead of builtin is undefined for IE8 compatibility\nif (typeof console === 'undefined') {\n console = {\n warn: function (msg) {\n 'use strict';\n alert(msg);\n },\n log: function (msg) {\n 'use strict';\n alert(msg);\n },\n error: function (msg) {\n 'use strict';\n throw msg;\n }\n };\n}\n\n/**\n * Common regexes.\n * We declare some common regexes to improve performance\n */\nshowdown.helper.regexes = {\n asteriskDashAndColon: /([*_:~])/g\n};\n\n/**\n * EMOJIS LIST\n */\nshowdown.helper.emojis = {\n '+1':'\\ud83d\\udc4d',\n '-1':'\\ud83d\\udc4e',\n '100':'\\ud83d\\udcaf',\n '1234':'\\ud83d\\udd22',\n '1st_place_medal':'\\ud83e\\udd47',\n '2nd_place_medal':'\\ud83e\\udd48',\n '3rd_place_medal':'\\ud83e\\udd49',\n '8ball':'\\ud83c\\udfb1',\n 'a':'\\ud83c\\udd70\\ufe0f',\n 'ab':'\\ud83c\\udd8e',\n 'abc':'\\ud83d\\udd24',\n 'abcd':'\\ud83d\\udd21',\n 'accept':'\\ud83c\\ude51',\n 'aerial_tramway':'\\ud83d\\udea1',\n 'airplane':'\\u2708\\ufe0f',\n 'alarm_clock':'\\u23f0',\n 'alembic':'\\u2697\\ufe0f',\n 'alien':'\\ud83d\\udc7d',\n 'ambulance':'\\ud83d\\ude91',\n 'amphora':'\\ud83c\\udffa',\n 'anchor':'\\u2693\\ufe0f',\n 'angel':'\\ud83d\\udc7c',\n 'anger':'\\ud83d\\udca2',\n 'angry':'\\ud83d\\ude20',\n 'anguished':'\\ud83d\\ude27',\n 'ant':'\\ud83d\\udc1c',\n 'apple':'\\ud83c\\udf4e',\n 'aquarius':'\\u2652\\ufe0f',\n 'aries':'\\u2648\\ufe0f',\n 'arrow_backward':'\\u25c0\\ufe0f',\n 'arrow_double_down':'\\u23ec',\n 'arrow_double_up':'\\u23eb',\n 'arrow_down':'\\u2b07\\ufe0f',\n 'arrow_down_small':'\\ud83d\\udd3d',\n 'arrow_forward':'\\u25b6\\ufe0f',\n 'arrow_heading_down':'\\u2935\\ufe0f',\n 'arrow_heading_up':'\\u2934\\ufe0f',\n 'arrow_left':'\\u2b05\\ufe0f',\n 'arrow_lower_left':'\\u2199\\ufe0f',\n 'arrow_lower_right':'\\u2198\\ufe0f',\n 'arrow_right':'\\u27a1\\ufe0f',\n 'arrow_right_hook':'\\u21aa\\ufe0f',\n 'arrow_up':'\\u2b06\\ufe0f',\n 'arrow_up_down':'\\u2195\\ufe0f',\n 'arrow_up_small':'\\ud83d\\udd3c',\n 'arrow_upper_left':'\\u2196\\ufe0f',\n 'arrow_upper_right':'\\u2197\\ufe0f',\n 'arrows_clockwise':'\\ud83d\\udd03',\n 'arrows_counterclockwise':'\\ud83d\\udd04',\n 'art':'\\ud83c\\udfa8',\n 'articulated_lorry':'\\ud83d\\ude9b',\n 'artificial_satellite':'\\ud83d\\udef0',\n 'astonished':'\\ud83d\\ude32',\n 'athletic_shoe':'\\ud83d\\udc5f',\n 'atm':'\\ud83c\\udfe7',\n 'atom_symbol':'\\u269b\\ufe0f',\n 'avocado':'\\ud83e\\udd51',\n 'b':'\\ud83c\\udd71\\ufe0f',\n 'baby':'\\ud83d\\udc76',\n 'baby_bottle':'\\ud83c\\udf7c',\n 'baby_chick':'\\ud83d\\udc24',\n 'baby_symbol':'\\ud83d\\udebc',\n 'back':'\\ud83d\\udd19',\n 'bacon':'\\ud83e\\udd53',\n 'badminton':'\\ud83c\\udff8',\n 'baggage_claim':'\\ud83d\\udec4',\n 'baguette_bread':'\\ud83e\\udd56',\n 'balance_scale':'\\u2696\\ufe0f',\n 'balloon':'\\ud83c\\udf88',\n 'ballot_box':'\\ud83d\\uddf3',\n 'ballot_box_with_check':'\\u2611\\ufe0f',\n 'bamboo':'\\ud83c\\udf8d',\n 'banana':'\\ud83c\\udf4c',\n 'bangbang':'\\u203c\\ufe0f',\n 'bank':'\\ud83c\\udfe6',\n 'bar_chart':'\\ud83d\\udcca',\n 'barber':'\\ud83d\\udc88',\n 'baseball':'\\u26be\\ufe0f',\n 'basketball':'\\ud83c\\udfc0',\n 'basketball_man':'\\u26f9\\ufe0f',\n 'basketball_woman':'\\u26f9\\ufe0f\\u2640\\ufe0f',\n 'bat':'\\ud83e\\udd87',\n 'bath':'\\ud83d\\udec0',\n 'bathtub':'\\ud83d\\udec1',\n 'battery':'\\ud83d\\udd0b',\n 'beach_umbrella':'\\ud83c\\udfd6',\n 'bear':'\\ud83d\\udc3b',\n 'bed':'\\ud83d\\udecf',\n 'bee':'\\ud83d\\udc1d',\n 'beer':'\\ud83c\\udf7a',\n 'beers':'\\ud83c\\udf7b',\n 'beetle':'\\ud83d\\udc1e',\n 'beginner':'\\ud83d\\udd30',\n 'bell':'\\ud83d\\udd14',\n 'bellhop_bell':'\\ud83d\\udece',\n 'bento':'\\ud83c\\udf71',\n 'biking_man':'\\ud83d\\udeb4',\n 'bike':'\\ud83d\\udeb2',\n 'biking_woman':'\\ud83d\\udeb4\\u2640\\ufe0f',\n 'bikini':'\\ud83d\\udc59',\n 'biohazard':'\\u2623\\ufe0f',\n 'bird':'\\ud83d\\udc26',\n 'birthday':'\\ud83c\\udf82',\n 'black_circle':'\\u26ab\\ufe0f',\n 'black_flag':'\\ud83c\\udff4',\n 'black_heart':'\\ud83d\\udda4',\n 'black_joker':'\\ud83c\\udccf',\n 'black_large_square':'\\u2b1b\\ufe0f',\n 'black_medium_small_square':'\\u25fe\\ufe0f',\n 'black_medium_square':'\\u25fc\\ufe0f',\n 'black_nib':'\\u2712\\ufe0f',\n 'black_small_square':'\\u25aa\\ufe0f',\n 'black_square_button':'\\ud83d\\udd32',\n 'blonde_man':'\\ud83d\\udc71',\n 'blonde_woman':'\\ud83d\\udc71\\u2640\\ufe0f',\n 'blossom':'\\ud83c\\udf3c',\n 'blowfish':'\\ud83d\\udc21',\n 'blue_book':'\\ud83d\\udcd8',\n 'blue_car':'\\ud83d\\ude99',\n 'blue_heart':'\\ud83d\\udc99',\n 'blush':'\\ud83d\\ude0a',\n 'boar':'\\ud83d\\udc17',\n 'boat':'\\u26f5\\ufe0f',\n 'bomb':'\\ud83d\\udca3',\n 'book':'\\ud83d\\udcd6',\n 'bookmark':'\\ud83d\\udd16',\n 'bookmark_tabs':'\\ud83d\\udcd1',\n 'books':'\\ud83d\\udcda',\n 'boom':'\\ud83d\\udca5',\n 'boot':'\\ud83d\\udc62',\n 'bouquet':'\\ud83d\\udc90',\n 'bowing_man':'\\ud83d\\ude47',\n 'bow_and_arrow':'\\ud83c\\udff9',\n 'bowing_woman':'\\ud83d\\ude47\\u2640\\ufe0f',\n 'bowling':'\\ud83c\\udfb3',\n 'boxing_glove':'\\ud83e\\udd4a',\n 'boy':'\\ud83d\\udc66',\n 'bread':'\\ud83c\\udf5e',\n 'bride_with_veil':'\\ud83d\\udc70',\n 'bridge_at_night':'\\ud83c\\udf09',\n 'briefcase':'\\ud83d\\udcbc',\n 'broken_heart':'\\ud83d\\udc94',\n 'bug':'\\ud83d\\udc1b',\n 'building_construction':'\\ud83c\\udfd7',\n 'bulb':'\\ud83d\\udca1',\n 'bullettrain_front':'\\ud83d\\ude85',\n 'bullettrain_side':'\\ud83d\\ude84',\n 'burrito':'\\ud83c\\udf2f',\n 'bus':'\\ud83d\\ude8c',\n 'business_suit_levitating':'\\ud83d\\udd74',\n 'busstop':'\\ud83d\\ude8f',\n 'bust_in_silhouette':'\\ud83d\\udc64',\n 'busts_in_silhouette':'\\ud83d\\udc65',\n 'butterfly':'\\ud83e\\udd8b',\n 'cactus':'\\ud83c\\udf35',\n 'cake':'\\ud83c\\udf70',\n 'calendar':'\\ud83d\\udcc6',\n 'call_me_hand':'\\ud83e\\udd19',\n 'calling':'\\ud83d\\udcf2',\n 'camel':'\\ud83d\\udc2b',\n 'camera':'\\ud83d\\udcf7',\n 'camera_flash':'\\ud83d\\udcf8',\n 'camping':'\\ud83c\\udfd5',\n 'cancer':'\\u264b\\ufe0f',\n 'candle':'\\ud83d\\udd6f',\n 'candy':'\\ud83c\\udf6c',\n 'canoe':'\\ud83d\\udef6',\n 'capital_abcd':'\\ud83d\\udd20',\n 'capricorn':'\\u2651\\ufe0f',\n 'car':'\\ud83d\\ude97',\n 'card_file_box':'\\ud83d\\uddc3',\n 'card_index':'\\ud83d\\udcc7',\n 'card_index_dividers':'\\ud83d\\uddc2',\n 'carousel_horse':'\\ud83c\\udfa0',\n 'carrot':'\\ud83e\\udd55',\n 'cat':'\\ud83d\\udc31',\n 'cat2':'\\ud83d\\udc08',\n 'cd':'\\ud83d\\udcbf',\n 'chains':'\\u26d3',\n 'champagne':'\\ud83c\\udf7e',\n 'chart':'\\ud83d\\udcb9',\n 'chart_with_downwards_trend':'\\ud83d\\udcc9',\n 'chart_with_upwards_trend':'\\ud83d\\udcc8',\n 'checkered_flag':'\\ud83c\\udfc1',\n 'cheese':'\\ud83e\\uddc0',\n 'cherries':'\\ud83c\\udf52',\n 'cherry_blossom':'\\ud83c\\udf38',\n 'chestnut':'\\ud83c\\udf30',\n 'chicken':'\\ud83d\\udc14',\n 'children_crossing':'\\ud83d\\udeb8',\n 'chipmunk':'\\ud83d\\udc3f',\n 'chocolate_bar':'\\ud83c\\udf6b',\n 'christmas_tree':'\\ud83c\\udf84',\n 'church':'\\u26ea\\ufe0f',\n 'cinema':'\\ud83c\\udfa6',\n 'circus_tent':'\\ud83c\\udfaa',\n 'city_sunrise':'\\ud83c\\udf07',\n 'city_sunset':'\\ud83c\\udf06',\n 'cityscape':'\\ud83c\\udfd9',\n 'cl':'\\ud83c\\udd91',\n 'clamp':'\\ud83d\\udddc',\n 'clap':'\\ud83d\\udc4f',\n 'clapper':'\\ud83c\\udfac',\n 'classical_building':'\\ud83c\\udfdb',\n 'clinking_glasses':'\\ud83e\\udd42',\n 'clipboard':'\\ud83d\\udccb',\n 'clock1':'\\ud83d\\udd50',\n 'clock10':'\\ud83d\\udd59',\n 'clock1030':'\\ud83d\\udd65',\n 'clock11':'\\ud83d\\udd5a',\n 'clock1130':'\\ud83d\\udd66',\n 'clock12':'\\ud83d\\udd5b',\n 'clock1230':'\\ud83d\\udd67',\n 'clock130':'\\ud83d\\udd5c',\n 'clock2':'\\ud83d\\udd51',\n 'clock230':'\\ud83d\\udd5d',\n 'clock3':'\\ud83d\\udd52',\n 'clock330':'\\ud83d\\udd5e',\n 'clock4':'\\ud83d\\udd53',\n 'clock430':'\\ud83d\\udd5f',\n 'clock5':'\\ud83d\\udd54',\n 'clock530':'\\ud83d\\udd60',\n 'clock6':'\\ud83d\\udd55',\n 'clock630':'\\ud83d\\udd61',\n 'clock7':'\\ud83d\\udd56',\n 'clock730':'\\ud83d\\udd62',\n 'clock8':'\\ud83d\\udd57',\n 'clock830':'\\ud83d\\udd63',\n 'clock9':'\\ud83d\\udd58',\n 'clock930':'\\ud83d\\udd64',\n 'closed_book':'\\ud83d\\udcd5',\n 'closed_lock_with_key':'\\ud83d\\udd10',\n 'closed_umbrella':'\\ud83c\\udf02',\n 'cloud':'\\u2601\\ufe0f',\n 'cloud_with_lightning':'\\ud83c\\udf29',\n 'cloud_with_lightning_and_rain':'\\u26c8',\n 'cloud_with_rain':'\\ud83c\\udf27',\n 'cloud_with_snow':'\\ud83c\\udf28',\n 'clown_face':'\\ud83e\\udd21',\n 'clubs':'\\u2663\\ufe0f',\n 'cocktail':'\\ud83c\\udf78',\n 'coffee':'\\u2615\\ufe0f',\n 'coffin':'\\u26b0\\ufe0f',\n 'cold_sweat':'\\ud83d\\ude30',\n 'comet':'\\u2604\\ufe0f',\n 'computer':'\\ud83d\\udcbb',\n 'computer_mouse':'\\ud83d\\uddb1',\n 'confetti_ball':'\\ud83c\\udf8a',\n 'confounded':'\\ud83d\\ude16',\n 'confused':'\\ud83d\\ude15',\n 'congratulations':'\\u3297\\ufe0f',\n 'construction':'\\ud83d\\udea7',\n 'construction_worker_man':'\\ud83d\\udc77',\n 'construction_worker_woman':'\\ud83d\\udc77\\u2640\\ufe0f',\n 'control_knobs':'\\ud83c\\udf9b',\n 'convenience_store':'\\ud83c\\udfea',\n 'cookie':'\\ud83c\\udf6a',\n 'cool':'\\ud83c\\udd92',\n 'policeman':'\\ud83d\\udc6e',\n 'copyright':'\\u00a9\\ufe0f',\n 'corn':'\\ud83c\\udf3d',\n 'couch_and_lamp':'\\ud83d\\udecb',\n 'couple':'\\ud83d\\udc6b',\n 'couple_with_heart_woman_man':'\\ud83d\\udc91',\n 'couple_with_heart_man_man':'\\ud83d\\udc68\\u2764\\ufe0f\\ud83d\\udc68',\n 'couple_with_heart_woman_woman':'\\ud83d\\udc69\\u2764\\ufe0f\\ud83d\\udc69',\n 'couplekiss_man_man':'\\ud83d\\udc68\\u2764\\ufe0f\\ud83d\\udc8b\\ud83d\\udc68',\n 'couplekiss_man_woman':'\\ud83d\\udc8f',\n 'couplekiss_woman_woman':'\\ud83d\\udc69\\u2764\\ufe0f\\ud83d\\udc8b\\ud83d\\udc69',\n 'cow':'\\ud83d\\udc2e',\n 'cow2':'\\ud83d\\udc04',\n 'cowboy_hat_face':'\\ud83e\\udd20',\n 'crab':'\\ud83e\\udd80',\n 'crayon':'\\ud83d\\udd8d',\n 'credit_card':'\\ud83d\\udcb3',\n 'crescent_moon':'\\ud83c\\udf19',\n 'cricket':'\\ud83c\\udfcf',\n 'crocodile':'\\ud83d\\udc0a',\n 'croissant':'\\ud83e\\udd50',\n 'crossed_fingers':'\\ud83e\\udd1e',\n 'crossed_flags':'\\ud83c\\udf8c',\n 'crossed_swords':'\\u2694\\ufe0f',\n 'crown':'\\ud83d\\udc51',\n 'cry':'\\ud83d\\ude22',\n 'crying_cat_face':'\\ud83d\\ude3f',\n 'crystal_ball':'\\ud83d\\udd2e',\n 'cucumber':'\\ud83e\\udd52',\n 'cupid':'\\ud83d\\udc98',\n 'curly_loop':'\\u27b0',\n 'currency_exchange':'\\ud83d\\udcb1',\n 'curry':'\\ud83c\\udf5b',\n 'custard':'\\ud83c\\udf6e',\n 'customs':'\\ud83d\\udec3',\n 'cyclone':'\\ud83c\\udf00',\n 'dagger':'\\ud83d\\udde1',\n 'dancer':'\\ud83d\\udc83',\n 'dancing_women':'\\ud83d\\udc6f',\n 'dancing_men':'\\ud83d\\udc6f\\u2642\\ufe0f',\n 'dango':'\\ud83c\\udf61',\n 'dark_sunglasses':'\\ud83d\\udd76',\n 'dart':'\\ud83c\\udfaf',\n 'dash':'\\ud83d\\udca8',\n 'date':'\\ud83d\\udcc5',\n 'deciduous_tree':'\\ud83c\\udf33',\n 'deer':'\\ud83e\\udd8c',\n 'department_store':'\\ud83c\\udfec',\n 'derelict_house':'\\ud83c\\udfda',\n 'desert':'\\ud83c\\udfdc',\n 'desert_island':'\\ud83c\\udfdd',\n 'desktop_computer':'\\ud83d\\udda5',\n 'male_detective':'\\ud83d\\udd75\\ufe0f',\n 'diamond_shape_with_a_dot_inside':'\\ud83d\\udca0',\n 'diamonds':'\\u2666\\ufe0f',\n 'disappointed':'\\ud83d\\ude1e',\n 'disappointed_relieved':'\\ud83d\\ude25',\n 'dizzy':'\\ud83d\\udcab',\n 'dizzy_face':'\\ud83d\\ude35',\n 'do_not_litter':'\\ud83d\\udeaf',\n 'dog':'\\ud83d\\udc36',\n 'dog2':'\\ud83d\\udc15',\n 'dollar':'\\ud83d\\udcb5',\n 'dolls':'\\ud83c\\udf8e',\n 'dolphin':'\\ud83d\\udc2c',\n 'door':'\\ud83d\\udeaa',\n 'doughnut':'\\ud83c\\udf69',\n 'dove':'\\ud83d\\udd4a',\n 'dragon':'\\ud83d\\udc09',\n 'dragon_face':'\\ud83d\\udc32',\n 'dress':'\\ud83d\\udc57',\n 'dromedary_camel':'\\ud83d\\udc2a',\n 'drooling_face':'\\ud83e\\udd24',\n 'droplet':'\\ud83d\\udca7',\n 'drum':'\\ud83e\\udd41',\n 'duck':'\\ud83e\\udd86',\n 'dvd':'\\ud83d\\udcc0',\n 'e-mail':'\\ud83d\\udce7',\n 'eagle':'\\ud83e\\udd85',\n 'ear':'\\ud83d\\udc42',\n 'ear_of_rice':'\\ud83c\\udf3e',\n 'earth_africa':'\\ud83c\\udf0d',\n 'earth_americas':'\\ud83c\\udf0e',\n 'earth_asia':'\\ud83c\\udf0f',\n 'egg':'\\ud83e\\udd5a',\n 'eggplant':'\\ud83c\\udf46',\n 'eight_pointed_black_star':'\\u2734\\ufe0f',\n 'eight_spoked_asterisk':'\\u2733\\ufe0f',\n 'electric_plug':'\\ud83d\\udd0c',\n 'elephant':'\\ud83d\\udc18',\n 'email':'\\u2709\\ufe0f',\n 'end':'\\ud83d\\udd1a',\n 'envelope_with_arrow':'\\ud83d\\udce9',\n 'euro':'\\ud83d\\udcb6',\n 'european_castle':'\\ud83c\\udff0',\n 'european_post_office':'\\ud83c\\udfe4',\n 'evergreen_tree':'\\ud83c\\udf32',\n 'exclamation':'\\u2757\\ufe0f',\n 'expressionless':'\\ud83d\\ude11',\n 'eye':'\\ud83d\\udc41',\n 'eye_speech_bubble':'\\ud83d\\udc41\\ud83d\\udde8',\n 'eyeglasses':'\\ud83d\\udc53',\n 'eyes':'\\ud83d\\udc40',\n 'face_with_head_bandage':'\\ud83e\\udd15',\n 'face_with_thermometer':'\\ud83e\\udd12',\n 'fist_oncoming':'\\ud83d\\udc4a',\n 'factory':'\\ud83c\\udfed',\n 'fallen_leaf':'\\ud83c\\udf42',\n 'family_man_woman_boy':'\\ud83d\\udc6a',\n 'family_man_boy':'\\ud83d\\udc68\\ud83d\\udc66',\n 'family_man_boy_boy':'\\ud83d\\udc68\\ud83d\\udc66\\ud83d\\udc66',\n 'family_man_girl':'\\ud83d\\udc68\\ud83d\\udc67',\n 'family_man_girl_boy':'\\ud83d\\udc68\\ud83d\\udc67\\ud83d\\udc66',\n 'family_man_girl_girl':'\\ud83d\\udc68\\ud83d\\udc67\\ud83d\\udc67',\n 'family_man_man_boy':'\\ud83d\\udc68\\ud83d\\udc68\\ud83d\\udc66',\n 'family_man_man_boy_boy':'\\ud83d\\udc68\\ud83d\\udc68\\ud83d\\udc66\\ud83d\\udc66',\n 'family_man_man_girl':'\\ud83d\\udc68\\ud83d\\udc68\\ud83d\\udc67',\n 'family_man_man_girl_boy':'\\ud83d\\udc68\\ud83d\\udc68\\ud83d\\udc67\\ud83d\\udc66',\n 'family_man_man_girl_girl':'\\ud83d\\udc68\\ud83d\\udc68\\ud83d\\udc67\\ud83d\\udc67',\n 'family_man_woman_boy_boy':'\\ud83d\\udc68\\ud83d\\udc69\\ud83d\\udc66\\ud83d\\udc66',\n 'family_man_woman_girl':'\\ud83d\\udc68\\ud83d\\udc69\\ud83d\\udc67',\n 'family_man_woman_girl_boy':'\\ud83d\\udc68\\ud83d\\udc69\\ud83d\\udc67\\ud83d\\udc66',\n 'family_man_woman_girl_girl':'\\ud83d\\udc68\\ud83d\\udc69\\ud83d\\udc67\\ud83d\\udc67',\n 'family_woman_boy':'\\ud83d\\udc69\\ud83d\\udc66',\n 'family_woman_boy_boy':'\\ud83d\\udc69\\ud83d\\udc66\\ud83d\\udc66',\n 'family_woman_girl':'\\ud83d\\udc69\\ud83d\\udc67',\n 'family_woman_girl_boy':'\\ud83d\\udc69\\ud83d\\udc67\\ud83d\\udc66',\n 'family_woman_girl_girl':'\\ud83d\\udc69\\ud83d\\udc67\\ud83d\\udc67',\n 'family_woman_woman_boy':'\\ud83d\\udc69\\ud83d\\udc69\\ud83d\\udc66',\n 'family_woman_woman_boy_boy':'\\ud83d\\udc69\\ud83d\\udc69\\ud83d\\udc66\\ud83d\\udc66',\n 'family_woman_woman_girl':'\\ud83d\\udc69\\ud83d\\udc69\\ud83d\\udc67',\n 'family_woman_woman_girl_boy':'\\ud83d\\udc69\\ud83d\\udc69\\ud83d\\udc67\\ud83d\\udc66',\n 'family_woman_woman_girl_girl':'\\ud83d\\udc69\\ud83d\\udc69\\ud83d\\udc67\\ud83d\\udc67',\n 'fast_forward':'\\u23e9',\n 'fax':'\\ud83d\\udce0',\n 'fearful':'\\ud83d\\ude28',\n 'feet':'\\ud83d\\udc3e',\n 'female_detective':'\\ud83d\\udd75\\ufe0f\\u2640\\ufe0f',\n 'ferris_wheel':'\\ud83c\\udfa1',\n 'ferry':'\\u26f4',\n 'field_hockey':'\\ud83c\\udfd1',\n 'file_cabinet':'\\ud83d\\uddc4',\n 'file_folder':'\\ud83d\\udcc1',\n 'film_projector':'\\ud83d\\udcfd',\n 'film_strip':'\\ud83c\\udf9e',\n 'fire':'\\ud83d\\udd25',\n 'fire_engine':'\\ud83d\\ude92',\n 'fireworks':'\\ud83c\\udf86',\n 'first_quarter_moon':'\\ud83c\\udf13',\n 'first_quarter_moon_with_face':'\\ud83c\\udf1b',\n 'fish':'\\ud83d\\udc1f',\n 'fish_cake':'\\ud83c\\udf65',\n 'fishing_pole_and_fish':'\\ud83c\\udfa3',\n 'fist_raised':'\\u270a',\n 'fist_left':'\\ud83e\\udd1b',\n 'fist_right':'\\ud83e\\udd1c',\n 'flags':'\\ud83c\\udf8f',\n 'flashlight':'\\ud83d\\udd26',\n 'fleur_de_lis':'\\u269c\\ufe0f',\n 'flight_arrival':'\\ud83d\\udeec',\n 'flight_departure':'\\ud83d\\udeeb',\n 'floppy_disk':'\\ud83d\\udcbe',\n 'flower_playing_cards':'\\ud83c\\udfb4',\n 'flushed':'\\ud83d\\ude33',\n 'fog':'\\ud83c\\udf2b',\n 'foggy':'\\ud83c\\udf01',\n 'football':'\\ud83c\\udfc8',\n 'footprints':'\\ud83d\\udc63',\n 'fork_and_knife':'\\ud83c\\udf74',\n 'fountain':'\\u26f2\\ufe0f',\n 'fountain_pen':'\\ud83d\\udd8b',\n 'four_leaf_clover':'\\ud83c\\udf40',\n 'fox_face':'\\ud83e\\udd8a',\n 'framed_picture':'\\ud83d\\uddbc',\n 'free':'\\ud83c\\udd93',\n 'fried_egg':'\\ud83c\\udf73',\n 'fried_shrimp':'\\ud83c\\udf64',\n 'fries':'\\ud83c\\udf5f',\n 'frog':'\\ud83d\\udc38',\n 'frowning':'\\ud83d\\ude26',\n 'frowning_face':'\\u2639\\ufe0f',\n 'frowning_man':'\\ud83d\\ude4d\\u2642\\ufe0f',\n 'frowning_woman':'\\ud83d\\ude4d',\n 'middle_finger':'\\ud83d\\udd95',\n 'fuelpump':'\\u26fd\\ufe0f',\n 'full_moon':'\\ud83c\\udf15',\n 'full_moon_with_face':'\\ud83c\\udf1d',\n 'funeral_urn':'\\u26b1\\ufe0f',\n 'game_die':'\\ud83c\\udfb2',\n 'gear':'\\u2699\\ufe0f',\n 'gem':'\\ud83d\\udc8e',\n 'gemini':'\\u264a\\ufe0f',\n 'ghost':'\\ud83d\\udc7b',\n 'gift':'\\ud83c\\udf81',\n 'gift_heart':'\\ud83d\\udc9d',\n 'girl':'\\ud83d\\udc67',\n 'globe_with_meridians':'\\ud83c\\udf10',\n 'goal_net':'\\ud83e\\udd45',\n 'goat':'\\ud83d\\udc10',\n 'golf':'\\u26f3\\ufe0f',\n 'golfing_man':'\\ud83c\\udfcc\\ufe0f',\n 'golfing_woman':'\\ud83c\\udfcc\\ufe0f\\u2640\\ufe0f',\n 'gorilla':'\\ud83e\\udd8d',\n 'grapes':'\\ud83c\\udf47',\n 'green_apple':'\\ud83c\\udf4f',\n 'green_book':'\\ud83d\\udcd7',\n 'green_heart':'\\ud83d\\udc9a',\n 'green_salad':'\\ud83e\\udd57',\n 'grey_exclamation':'\\u2755',\n 'grey_question':'\\u2754',\n 'grimacing':'\\ud83d\\ude2c',\n 'grin':'\\ud83d\\ude01',\n 'grinning':'\\ud83d\\ude00',\n 'guardsman':'\\ud83d\\udc82',\n 'guardswoman':'\\ud83d\\udc82\\u2640\\ufe0f',\n 'guitar':'\\ud83c\\udfb8',\n 'gun':'\\ud83d\\udd2b',\n 'haircut_woman':'\\ud83d\\udc87',\n 'haircut_man':'\\ud83d\\udc87\\u2642\\ufe0f',\n 'hamburger':'\\ud83c\\udf54',\n 'hammer':'\\ud83d\\udd28',\n 'hammer_and_pick':'\\u2692',\n 'hammer_and_wrench':'\\ud83d\\udee0',\n 'hamster':'\\ud83d\\udc39',\n 'hand':'\\u270b',\n 'handbag':'\\ud83d\\udc5c',\n 'handshake':'\\ud83e\\udd1d',\n 'hankey':'\\ud83d\\udca9',\n 'hatched_chick':'\\ud83d\\udc25',\n 'hatching_chick':'\\ud83d\\udc23',\n 'headphones':'\\ud83c\\udfa7',\n 'hear_no_evil':'\\ud83d\\ude49',\n 'heart':'\\u2764\\ufe0f',\n 'heart_decoration':'\\ud83d\\udc9f',\n 'heart_eyes':'\\ud83d\\ude0d',\n 'heart_eyes_cat':'\\ud83d\\ude3b',\n 'heartbeat':'\\ud83d\\udc93',\n 'heartpulse':'\\ud83d\\udc97',\n 'hearts':'\\u2665\\ufe0f',\n 'heavy_check_mark':'\\u2714\\ufe0f',\n 'heavy_division_sign':'\\u2797',\n 'heavy_dollar_sign':'\\ud83d\\udcb2',\n 'heavy_heart_exclamation':'\\u2763\\ufe0f',\n 'heavy_minus_sign':'\\u2796',\n 'heavy_multiplication_x':'\\u2716\\ufe0f',\n 'heavy_plus_sign':'\\u2795',\n 'helicopter':'\\ud83d\\ude81',\n 'herb':'\\ud83c\\udf3f',\n 'hibiscus':'\\ud83c\\udf3a',\n 'high_brightness':'\\ud83d\\udd06',\n 'high_heel':'\\ud83d\\udc60',\n 'hocho':'\\ud83d\\udd2a',\n 'hole':'\\ud83d\\udd73',\n 'honey_pot':'\\ud83c\\udf6f',\n 'horse':'\\ud83d\\udc34',\n 'horse_racing':'\\ud83c\\udfc7',\n 'hospital':'\\ud83c\\udfe5',\n 'hot_pepper':'\\ud83c\\udf36',\n 'hotdog':'\\ud83c\\udf2d',\n 'hotel':'\\ud83c\\udfe8',\n 'hotsprings':'\\u2668\\ufe0f',\n 'hourglass':'\\u231b\\ufe0f',\n 'hourglass_flowing_sand':'\\u23f3',\n 'house':'\\ud83c\\udfe0',\n 'house_with_garden':'\\ud83c\\udfe1',\n 'houses':'\\ud83c\\udfd8',\n 'hugs':'\\ud83e\\udd17',\n 'hushed':'\\ud83d\\ude2f',\n 'ice_cream':'\\ud83c\\udf68',\n 'ice_hockey':'\\ud83c\\udfd2',\n 'ice_skate':'\\u26f8',\n 'icecream':'\\ud83c\\udf66',\n 'id':'\\ud83c\\udd94',\n 'ideograph_advantage':'\\ud83c\\ude50',\n 'imp':'\\ud83d\\udc7f',\n 'inbox_tray':'\\ud83d\\udce5',\n 'incoming_envelope':'\\ud83d\\udce8',\n 'tipping_hand_woman':'\\ud83d\\udc81',\n 'information_source':'\\u2139\\ufe0f',\n 'innocent':'\\ud83d\\ude07',\n 'interrobang':'\\u2049\\ufe0f',\n 'iphone':'\\ud83d\\udcf1',\n 'izakaya_lantern':'\\ud83c\\udfee',\n 'jack_o_lantern':'\\ud83c\\udf83',\n 'japan':'\\ud83d\\uddfe',\n 'japanese_castle':'\\ud83c\\udfef',\n 'japanese_goblin':'\\ud83d\\udc7a',\n 'japanese_ogre':'\\ud83d\\udc79',\n 'jeans':'\\ud83d\\udc56',\n 'joy':'\\ud83d\\ude02',\n 'joy_cat':'\\ud83d\\ude39',\n 'joystick':'\\ud83d\\udd79',\n 'kaaba':'\\ud83d\\udd4b',\n 'key':'\\ud83d\\udd11',\n 'keyboard':'\\u2328\\ufe0f',\n 'keycap_ten':'\\ud83d\\udd1f',\n 'kick_scooter':'\\ud83d\\udef4',\n 'kimono':'\\ud83d\\udc58',\n 'kiss':'\\ud83d\\udc8b',\n 'kissing':'\\ud83d\\ude17',\n 'kissing_cat':'\\ud83d\\ude3d',\n 'kissing_closed_eyes':'\\ud83d\\ude1a',\n 'kissing_heart':'\\ud83d\\ude18',\n 'kissing_smiling_eyes':'\\ud83d\\ude19',\n 'kiwi_fruit':'\\ud83e\\udd5d',\n 'koala':'\\ud83d\\udc28',\n 'koko':'\\ud83c\\ude01',\n 'label':'\\ud83c\\udff7',\n 'large_blue_circle':'\\ud83d\\udd35',\n 'large_blue_diamond':'\\ud83d\\udd37',\n 'large_orange_diamond':'\\ud83d\\udd36',\n 'last_quarter_moon':'\\ud83c\\udf17',\n 'last_quarter_moon_with_face':'\\ud83c\\udf1c',\n 'latin_cross':'\\u271d\\ufe0f',\n 'laughing':'\\ud83d\\ude06',\n 'leaves':'\\ud83c\\udf43',\n 'ledger':'\\ud83d\\udcd2',\n 'left_luggage':'\\ud83d\\udec5',\n 'left_right_arrow':'\\u2194\\ufe0f',\n 'leftwards_arrow_with_hook':'\\u21a9\\ufe0f',\n 'lemon':'\\ud83c\\udf4b',\n 'leo':'\\u264c\\ufe0f',\n 'leopard':'\\ud83d\\udc06',\n 'level_slider':'\\ud83c\\udf9a',\n 'libra':'\\u264e\\ufe0f',\n 'light_rail':'\\ud83d\\ude88',\n 'link':'\\ud83d\\udd17',\n 'lion':'\\ud83e\\udd81',\n 'lips':'\\ud83d\\udc44',\n 'lipstick':'\\ud83d\\udc84',\n 'lizard':'\\ud83e\\udd8e',\n 'lock':'\\ud83d\\udd12',\n 'lock_with_ink_pen':'\\ud83d\\udd0f',\n 'lollipop':'\\ud83c\\udf6d',\n 'loop':'\\u27bf',\n 'loud_sound':'\\ud83d\\udd0a',\n 'loudspeaker':'\\ud83d\\udce2',\n 'love_hotel':'\\ud83c\\udfe9',\n 'love_letter':'\\ud83d\\udc8c',\n 'low_brightness':'\\ud83d\\udd05',\n 'lying_face':'\\ud83e\\udd25',\n 'm':'\\u24c2\\ufe0f',\n 'mag':'\\ud83d\\udd0d',\n 'mag_right':'\\ud83d\\udd0e',\n 'mahjong':'\\ud83c\\udc04\\ufe0f',\n 'mailbox':'\\ud83d\\udceb',\n 'mailbox_closed':'\\ud83d\\udcea',\n 'mailbox_with_mail':'\\ud83d\\udcec',\n 'mailbox_with_no_mail':'\\ud83d\\udced',\n 'man':'\\ud83d\\udc68',\n 'man_artist':'\\ud83d\\udc68\\ud83c\\udfa8',\n 'man_astronaut':'\\ud83d\\udc68\\ud83d\\ude80',\n 'man_cartwheeling':'\\ud83e\\udd38\\u2642\\ufe0f',\n 'man_cook':'\\ud83d\\udc68\\ud83c\\udf73',\n 'man_dancing':'\\ud83d\\udd7a',\n 'man_facepalming':'\\ud83e\\udd26\\u2642\\ufe0f',\n 'man_factory_worker':'\\ud83d\\udc68\\ud83c\\udfed',\n 'man_farmer':'\\ud83d\\udc68\\ud83c\\udf3e',\n 'man_firefighter':'\\ud83d\\udc68\\ud83d\\ude92',\n 'man_health_worker':'\\ud83d\\udc68\\u2695\\ufe0f',\n 'man_in_tuxedo':'\\ud83e\\udd35',\n 'man_judge':'\\ud83d\\udc68\\u2696\\ufe0f',\n 'man_juggling':'\\ud83e\\udd39\\u2642\\ufe0f',\n 'man_mechanic':'\\ud83d\\udc68\\ud83d\\udd27',\n 'man_office_worker':'\\ud83d\\udc68\\ud83d\\udcbc',\n 'man_pilot':'\\ud83d\\udc68\\u2708\\ufe0f',\n 'man_playing_handball':'\\ud83e\\udd3e\\u2642\\ufe0f',\n 'man_playing_water_polo':'\\ud83e\\udd3d\\u2642\\ufe0f',\n 'man_scientist':'\\ud83d\\udc68\\ud83d\\udd2c',\n 'man_shrugging':'\\ud83e\\udd37\\u2642\\ufe0f',\n 'man_singer':'\\ud83d\\udc68\\ud83c\\udfa4',\n 'man_student':'\\ud83d\\udc68\\ud83c\\udf93',\n 'man_teacher':'\\ud83d\\udc68\\ud83c\\udfeb',\n 'man_technologist':'\\ud83d\\udc68\\ud83d\\udcbb',\n 'man_with_gua_pi_mao':'\\ud83d\\udc72',\n 'man_with_turban':'\\ud83d\\udc73',\n 'tangerine':'\\ud83c\\udf4a',\n 'mans_shoe':'\\ud83d\\udc5e',\n 'mantelpiece_clock':'\\ud83d\\udd70',\n 'maple_leaf':'\\ud83c\\udf41',\n 'martial_arts_uniform':'\\ud83e\\udd4b',\n 'mask':'\\ud83d\\ude37',\n 'massage_woman':'\\ud83d\\udc86',\n 'massage_man':'\\ud83d\\udc86\\u2642\\ufe0f',\n 'meat_on_bone':'\\ud83c\\udf56',\n 'medal_military':'\\ud83c\\udf96',\n 'medal_sports':'\\ud83c\\udfc5',\n 'mega':'\\ud83d\\udce3',\n 'melon':'\\ud83c\\udf48',\n 'memo':'\\ud83d\\udcdd',\n 'men_wrestling':'\\ud83e\\udd3c\\u2642\\ufe0f',\n 'menorah':'\\ud83d\\udd4e',\n 'mens':'\\ud83d\\udeb9',\n 'metal':'\\ud83e\\udd18',\n 'metro':'\\ud83d\\ude87',\n 'microphone':'\\ud83c\\udfa4',\n 'microscope':'\\ud83d\\udd2c',\n 'milk_glass':'\\ud83e\\udd5b',\n 'milky_way':'\\ud83c\\udf0c',\n 'minibus':'\\ud83d\\ude90',\n 'minidisc':'\\ud83d\\udcbd',\n 'mobile_phone_off':'\\ud83d\\udcf4',\n 'money_mouth_face':'\\ud83e\\udd11',\n 'money_with_wings':'\\ud83d\\udcb8',\n 'moneybag':'\\ud83d\\udcb0',\n 'monkey':'\\ud83d\\udc12',\n 'monkey_face':'\\ud83d\\udc35',\n 'monorail':'\\ud83d\\ude9d',\n 'moon':'\\ud83c\\udf14',\n 'mortar_board':'\\ud83c\\udf93',\n 'mosque':'\\ud83d\\udd4c',\n 'motor_boat':'\\ud83d\\udee5',\n 'motor_scooter':'\\ud83d\\udef5',\n 'motorcycle':'\\ud83c\\udfcd',\n 'motorway':'\\ud83d\\udee3',\n 'mount_fuji':'\\ud83d\\uddfb',\n 'mountain':'\\u26f0',\n 'mountain_biking_man':'\\ud83d\\udeb5',\n 'mountain_biking_woman':'\\ud83d\\udeb5\\u2640\\ufe0f',\n 'mountain_cableway':'\\ud83d\\udea0',\n 'mountain_railway':'\\ud83d\\ude9e',\n 'mountain_snow':'\\ud83c\\udfd4',\n 'mouse':'\\ud83d\\udc2d',\n 'mouse2':'\\ud83d\\udc01',\n 'movie_camera':'\\ud83c\\udfa5',\n 'moyai':'\\ud83d\\uddff',\n 'mrs_claus':'\\ud83e\\udd36',\n 'muscle':'\\ud83d\\udcaa',\n 'mushroom':'\\ud83c\\udf44',\n 'musical_keyboard':'\\ud83c\\udfb9',\n 'musical_note':'\\ud83c\\udfb5',\n 'musical_score':'\\ud83c\\udfbc',\n 'mute':'\\ud83d\\udd07',\n 'nail_care':'\\ud83d\\udc85',\n 'name_badge':'\\ud83d\\udcdb',\n 'national_park':'\\ud83c\\udfde',\n 'nauseated_face':'\\ud83e\\udd22',\n 'necktie':'\\ud83d\\udc54',\n 'negative_squared_cross_mark':'\\u274e',\n 'nerd_face':'\\ud83e\\udd13',\n 'neutral_face':'\\ud83d\\ude10',\n 'new':'\\ud83c\\udd95',\n 'new_moon':'\\ud83c\\udf11',\n 'new_moon_with_face':'\\ud83c\\udf1a',\n 'newspaper':'\\ud83d\\udcf0',\n 'newspaper_roll':'\\ud83d\\uddde',\n 'next_track_button':'\\u23ed',\n 'ng':'\\ud83c\\udd96',\n 'no_good_man':'\\ud83d\\ude45\\u2642\\ufe0f',\n 'no_good_woman':'\\ud83d\\ude45',\n 'night_with_stars':'\\ud83c\\udf03',\n 'no_bell':'\\ud83d\\udd15',\n 'no_bicycles':'\\ud83d\\udeb3',\n 'no_entry':'\\u26d4\\ufe0f',\n 'no_entry_sign':'\\ud83d\\udeab',\n 'no_mobile_phones':'\\ud83d\\udcf5',\n 'no_mouth':'\\ud83d\\ude36',\n 'no_pedestrians':'\\ud83d\\udeb7',\n 'no_smoking':'\\ud83d\\udead',\n 'non-potable_water':'\\ud83d\\udeb1',\n 'nose':'\\ud83d\\udc43',\n 'notebook':'\\ud83d\\udcd3',\n 'notebook_with_decorative_cover':'\\ud83d\\udcd4',\n 'notes':'\\ud83c\\udfb6',\n 'nut_and_bolt':'\\ud83d\\udd29',\n 'o':'\\u2b55\\ufe0f',\n 'o2':'\\ud83c\\udd7e\\ufe0f',\n 'ocean':'\\ud83c\\udf0a',\n 'octopus':'\\ud83d\\udc19',\n 'oden':'\\ud83c\\udf62',\n 'office':'\\ud83c\\udfe2',\n 'oil_drum':'\\ud83d\\udee2',\n 'ok':'\\ud83c\\udd97',\n 'ok_hand':'\\ud83d\\udc4c',\n 'ok_man':'\\ud83d\\ude46\\u2642\\ufe0f',\n 'ok_woman':'\\ud83d\\ude46',\n 'old_key':'\\ud83d\\udddd',\n 'older_man':'\\ud83d\\udc74',\n 'older_woman':'\\ud83d\\udc75',\n 'om':'\\ud83d\\udd49',\n 'on':'\\ud83d\\udd1b',\n 'oncoming_automobile':'\\ud83d\\ude98',\n 'oncoming_bus':'\\ud83d\\ude8d',\n 'oncoming_police_car':'\\ud83d\\ude94',\n 'oncoming_taxi':'\\ud83d\\ude96',\n 'open_file_folder':'\\ud83d\\udcc2',\n 'open_hands':'\\ud83d\\udc50',\n 'open_mouth':'\\ud83d\\ude2e',\n 'open_umbrella':'\\u2602\\ufe0f',\n 'ophiuchus':'\\u26ce',\n 'orange_book':'\\ud83d\\udcd9',\n 'orthodox_cross':'\\u2626\\ufe0f',\n 'outbox_tray':'\\ud83d\\udce4',\n 'owl':'\\ud83e\\udd89',\n 'ox':'\\ud83d\\udc02',\n 'package':'\\ud83d\\udce6',\n 'page_facing_up':'\\ud83d\\udcc4',\n 'page_with_curl':'\\ud83d\\udcc3',\n 'pager':'\\ud83d\\udcdf',\n 'paintbrush':'\\ud83d\\udd8c',\n 'palm_tree':'\\ud83c\\udf34',\n 'pancakes':'\\ud83e\\udd5e',\n 'panda_face':'\\ud83d\\udc3c',\n 'paperclip':'\\ud83d\\udcce',\n 'paperclips':'\\ud83d\\udd87',\n 'parasol_on_ground':'\\u26f1',\n 'parking':'\\ud83c\\udd7f\\ufe0f',\n 'part_alternation_mark':'\\u303d\\ufe0f',\n 'partly_sunny':'\\u26c5\\ufe0f',\n 'passenger_ship':'\\ud83d\\udef3',\n 'passport_control':'\\ud83d\\udec2',\n 'pause_button':'\\u23f8',\n 'peace_symbol':'\\u262e\\ufe0f',\n 'peach':'\\ud83c\\udf51',\n 'peanuts':'\\ud83e\\udd5c',\n 'pear':'\\ud83c\\udf50',\n 'pen':'\\ud83d\\udd8a',\n 'pencil2':'\\u270f\\ufe0f',\n 'penguin':'\\ud83d\\udc27',\n 'pensive':'\\ud83d\\ude14',\n 'performing_arts':'\\ud83c\\udfad',\n 'persevere':'\\ud83d\\ude23',\n 'person_fencing':'\\ud83e\\udd3a',\n 'pouting_woman':'\\ud83d\\ude4e',\n 'phone':'\\u260e\\ufe0f',\n 'pick':'\\u26cf',\n 'pig':'\\ud83d\\udc37',\n 'pig2':'\\ud83d\\udc16',\n 'pig_nose':'\\ud83d\\udc3d',\n 'pill':'\\ud83d\\udc8a',\n 'pineapple':'\\ud83c\\udf4d',\n 'ping_pong':'\\ud83c\\udfd3',\n 'pisces':'\\u2653\\ufe0f',\n 'pizza':'\\ud83c\\udf55',\n 'place_of_worship':'\\ud83d\\uded0',\n 'plate_with_cutlery':'\\ud83c\\udf7d',\n 'play_or_pause_button':'\\u23ef',\n 'point_down':'\\ud83d\\udc47',\n 'point_left':'\\ud83d\\udc48',\n 'point_right':'\\ud83d\\udc49',\n 'point_up':'\\u261d\\ufe0f',\n 'point_up_2':'\\ud83d\\udc46',\n 'police_car':'\\ud83d\\ude93',\n 'policewoman':'\\ud83d\\udc6e\\u2640\\ufe0f',\n 'poodle':'\\ud83d\\udc29',\n 'popcorn':'\\ud83c\\udf7f',\n 'post_office':'\\ud83c\\udfe3',\n 'postal_horn':'\\ud83d\\udcef',\n 'postbox':'\\ud83d\\udcee',\n 'potable_water':'\\ud83d\\udeb0',\n 'potato':'\\ud83e\\udd54',\n 'pouch':'\\ud83d\\udc5d',\n 'poultry_leg':'\\ud83c\\udf57',\n 'pound':'\\ud83d\\udcb7',\n 'rage':'\\ud83d\\ude21',\n 'pouting_cat':'\\ud83d\\ude3e',\n 'pouting_man':'\\ud83d\\ude4e\\u2642\\ufe0f',\n 'pray':'\\ud83d\\ude4f',\n 'prayer_beads':'\\ud83d\\udcff',\n 'pregnant_woman':'\\ud83e\\udd30',\n 'previous_track_button':'\\u23ee',\n 'prince':'\\ud83e\\udd34',\n 'princess':'\\ud83d\\udc78',\n 'printer':'\\ud83d\\udda8',\n 'purple_heart':'\\ud83d\\udc9c',\n 'purse':'\\ud83d\\udc5b',\n 'pushpin':'\\ud83d\\udccc',\n 'put_litter_in_its_place':'\\ud83d\\udeae',\n 'question':'\\u2753',\n 'rabbit':'\\ud83d\\udc30',\n 'rabbit2':'\\ud83d\\udc07',\n 'racehorse':'\\ud83d\\udc0e',\n 'racing_car':'\\ud83c\\udfce',\n 'radio':'\\ud83d\\udcfb',\n 'radio_button':'\\ud83d\\udd18',\n 'radioactive':'\\u2622\\ufe0f',\n 'railway_car':'\\ud83d\\ude83',\n 'railway_track':'\\ud83d\\udee4',\n 'rainbow':'\\ud83c\\udf08',\n 'rainbow_flag':'\\ud83c\\udff3\\ufe0f\\ud83c\\udf08',\n 'raised_back_of_hand':'\\ud83e\\udd1a',\n 'raised_hand_with_fingers_splayed':'\\ud83d\\udd90',\n 'raised_hands':'\\ud83d\\ude4c',\n 'raising_hand_woman':'\\ud83d\\ude4b',\n 'raising_hand_man':'\\ud83d\\ude4b\\u2642\\ufe0f',\n 'ram':'\\ud83d\\udc0f',\n 'ramen':'\\ud83c\\udf5c',\n 'rat':'\\ud83d\\udc00',\n 'record_button':'\\u23fa',\n 'recycle':'\\u267b\\ufe0f',\n 'red_circle':'\\ud83d\\udd34',\n 'registered':'\\u00ae\\ufe0f',\n 'relaxed':'\\u263a\\ufe0f',\n 'relieved':'\\ud83d\\ude0c',\n 'reminder_ribbon':'\\ud83c\\udf97',\n 'repeat':'\\ud83d\\udd01',\n 'repeat_one':'\\ud83d\\udd02',\n 'rescue_worker_helmet':'\\u26d1',\n 'restroom':'\\ud83d\\udebb',\n 'revolving_hearts':'\\ud83d\\udc9e',\n 'rewind':'\\u23ea',\n 'rhinoceros':'\\ud83e\\udd8f',\n 'ribbon':'\\ud83c\\udf80',\n 'rice':'\\ud83c\\udf5a',\n 'rice_ball':'\\ud83c\\udf59',\n 'rice_cracker':'\\ud83c\\udf58',\n 'rice_scene':'\\ud83c\\udf91',\n 'right_anger_bubble':'\\ud83d\\uddef',\n 'ring':'\\ud83d\\udc8d',\n 'robot':'\\ud83e\\udd16',\n 'rocket':'\\ud83d\\ude80',\n 'rofl':'\\ud83e\\udd23',\n 'roll_eyes':'\\ud83d\\ude44',\n 'roller_coaster':'\\ud83c\\udfa2',\n 'rooster':'\\ud83d\\udc13',\n 'rose':'\\ud83c\\udf39',\n 'rosette':'\\ud83c\\udff5',\n 'rotating_light':'\\ud83d\\udea8',\n 'round_pushpin':'\\ud83d\\udccd',\n 'rowing_man':'\\ud83d\\udea3',\n 'rowing_woman':'\\ud83d\\udea3\\u2640\\ufe0f',\n 'rugby_football':'\\ud83c\\udfc9',\n 'running_man':'\\ud83c\\udfc3',\n 'running_shirt_with_sash':'\\ud83c\\udfbd',\n 'running_woman':'\\ud83c\\udfc3\\u2640\\ufe0f',\n 'sa':'\\ud83c\\ude02\\ufe0f',\n 'sagittarius':'\\u2650\\ufe0f',\n 'sake':'\\ud83c\\udf76',\n 'sandal':'\\ud83d\\udc61',\n 'santa':'\\ud83c\\udf85',\n 'satellite':'\\ud83d\\udce1',\n 'saxophone':'\\ud83c\\udfb7',\n 'school':'\\ud83c\\udfeb',\n 'school_satchel':'\\ud83c\\udf92',\n 'scissors':'\\u2702\\ufe0f',\n 'scorpion':'\\ud83e\\udd82',\n 'scorpius':'\\u264f\\ufe0f',\n 'scream':'\\ud83d\\ude31',\n 'scream_cat':'\\ud83d\\ude40',\n 'scroll':'\\ud83d\\udcdc',\n 'seat':'\\ud83d\\udcba',\n 'secret':'\\u3299\\ufe0f',\n 'see_no_evil':'\\ud83d\\ude48',\n 'seedling':'\\ud83c\\udf31',\n 'selfie':'\\ud83e\\udd33',\n 'shallow_pan_of_food':'\\ud83e\\udd58',\n 'shamrock':'\\u2618\\ufe0f',\n 'shark':'\\ud83e\\udd88',\n 'shaved_ice':'\\ud83c\\udf67',\n 'sheep':'\\ud83d\\udc11',\n 'shell':'\\ud83d\\udc1a',\n 'shield':'\\ud83d\\udee1',\n 'shinto_shrine':'\\u26e9',\n 'ship':'\\ud83d\\udea2',\n 'shirt':'\\ud83d\\udc55',\n 'shopping':'\\ud83d\\udecd',\n 'shopping_cart':'\\ud83d\\uded2',\n 'shower':'\\ud83d\\udebf',\n 'shrimp':'\\ud83e\\udd90',\n 'signal_strength':'\\ud83d\\udcf6',\n 'six_pointed_star':'\\ud83d\\udd2f',\n 'ski':'\\ud83c\\udfbf',\n 'skier':'\\u26f7',\n 'skull':'\\ud83d\\udc80',\n 'skull_and_crossbones':'\\u2620\\ufe0f',\n 'sleeping':'\\ud83d\\ude34',\n 'sleeping_bed':'\\ud83d\\udecc',\n 'sleepy':'\\ud83d\\ude2a',\n 'slightly_frowning_face':'\\ud83d\\ude41',\n 'slightly_smiling_face':'\\ud83d\\ude42',\n 'slot_machine':'\\ud83c\\udfb0',\n 'small_airplane':'\\ud83d\\udee9',\n 'small_blue_diamond':'\\ud83d\\udd39',\n 'small_orange_diamond':'\\ud83d\\udd38',\n 'small_red_triangle':'\\ud83d\\udd3a',\n 'small_red_triangle_down':'\\ud83d\\udd3b',\n 'smile':'\\ud83d\\ude04',\n 'smile_cat':'\\ud83d\\ude38',\n 'smiley':'\\ud83d\\ude03',\n 'smiley_cat':'\\ud83d\\ude3a',\n 'smiling_imp':'\\ud83d\\ude08',\n 'smirk':'\\ud83d\\ude0f',\n 'smirk_cat':'\\ud83d\\ude3c',\n 'smoking':'\\ud83d\\udeac',\n 'snail':'\\ud83d\\udc0c',\n 'snake':'\\ud83d\\udc0d',\n 'sneezing_face':'\\ud83e\\udd27',\n 'snowboarder':'\\ud83c\\udfc2',\n 'snowflake':'\\u2744\\ufe0f',\n 'snowman':'\\u26c4\\ufe0f',\n 'snowman_with_snow':'\\u2603\\ufe0f',\n 'sob':'\\ud83d\\ude2d',\n 'soccer':'\\u26bd\\ufe0f',\n 'soon':'\\ud83d\\udd1c',\n 'sos':'\\ud83c\\udd98',\n 'sound':'\\ud83d\\udd09',\n 'space_invader':'\\ud83d\\udc7e',\n 'spades':'\\u2660\\ufe0f',\n 'spaghetti':'\\ud83c\\udf5d',\n 'sparkle':'\\u2747\\ufe0f',\n 'sparkler':'\\ud83c\\udf87',\n 'sparkles':'\\u2728',\n 'sparkling_heart':'\\ud83d\\udc96',\n 'speak_no_evil':'\\ud83d\\ude4a',\n 'speaker':'\\ud83d\\udd08',\n 'speaking_head':'\\ud83d\\udde3',\n 'speech_balloon':'\\ud83d\\udcac',\n 'speedboat':'\\ud83d\\udea4',\n 'spider':'\\ud83d\\udd77',\n 'spider_web':'\\ud83d\\udd78',\n 'spiral_calendar':'\\ud83d\\uddd3',\n 'spiral_notepad':'\\ud83d\\uddd2',\n 'spoon':'\\ud83e\\udd44',\n 'squid':'\\ud83e\\udd91',\n 'stadium':'\\ud83c\\udfdf',\n 'star':'\\u2b50\\ufe0f',\n 'star2':'\\ud83c\\udf1f',\n 'star_and_crescent':'\\u262a\\ufe0f',\n 'star_of_david':'\\u2721\\ufe0f',\n 'stars':'\\ud83c\\udf20',\n 'station':'\\ud83d\\ude89',\n 'statue_of_liberty':'\\ud83d\\uddfd',\n 'steam_locomotive':'\\ud83d\\ude82',\n 'stew':'\\ud83c\\udf72',\n 'stop_button':'\\u23f9',\n 'stop_sign':'\\ud83d\\uded1',\n 'stopwatch':'\\u23f1',\n 'straight_ruler':'\\ud83d\\udccf',\n 'strawberry':'\\ud83c\\udf53',\n 'stuck_out_tongue':'\\ud83d\\ude1b',\n 'stuck_out_tongue_closed_eyes':'\\ud83d\\ude1d',\n 'stuck_out_tongue_winking_eye':'\\ud83d\\ude1c',\n 'studio_microphone':'\\ud83c\\udf99',\n 'stuffed_flatbread':'\\ud83e\\udd59',\n 'sun_behind_large_cloud':'\\ud83c\\udf25',\n 'sun_behind_rain_cloud':'\\ud83c\\udf26',\n 'sun_behind_small_cloud':'\\ud83c\\udf24',\n 'sun_with_face':'\\ud83c\\udf1e',\n 'sunflower':'\\ud83c\\udf3b',\n 'sunglasses':'\\ud83d\\ude0e',\n 'sunny':'\\u2600\\ufe0f',\n 'sunrise':'\\ud83c\\udf05',\n 'sunrise_over_mountains':'\\ud83c\\udf04',\n 'surfing_man':'\\ud83c\\udfc4',\n 'surfing_woman':'\\ud83c\\udfc4\\u2640\\ufe0f',\n 'sushi':'\\ud83c\\udf63',\n 'suspension_railway':'\\ud83d\\ude9f',\n 'sweat':'\\ud83d\\ude13',\n 'sweat_drops':'\\ud83d\\udca6',\n 'sweat_smile':'\\ud83d\\ude05',\n 'sweet_potato':'\\ud83c\\udf60',\n 'swimming_man':'\\ud83c\\udfca',\n 'swimming_woman':'\\ud83c\\udfca\\u2640\\ufe0f',\n 'symbols':'\\ud83d\\udd23',\n 'synagogue':'\\ud83d\\udd4d',\n 'syringe':'\\ud83d\\udc89',\n 'taco':'\\ud83c\\udf2e',\n 'tada':'\\ud83c\\udf89',\n 'tanabata_tree':'\\ud83c\\udf8b',\n 'taurus':'\\u2649\\ufe0f',\n 'taxi':'\\ud83d\\ude95',\n 'tea':'\\ud83c\\udf75',\n 'telephone_receiver':'\\ud83d\\udcde',\n 'telescope':'\\ud83d\\udd2d',\n 'tennis':'\\ud83c\\udfbe',\n 'tent':'\\u26fa\\ufe0f',\n 'thermometer':'\\ud83c\\udf21',\n 'thinking':'\\ud83e\\udd14',\n 'thought_balloon':'\\ud83d\\udcad',\n 'ticket':'\\ud83c\\udfab',\n 'tickets':'\\ud83c\\udf9f',\n 'tiger':'\\ud83d\\udc2f',\n 'tiger2':'\\ud83d\\udc05',\n 'timer_clock':'\\u23f2',\n 'tipping_hand_man':'\\ud83d\\udc81\\u2642\\ufe0f',\n 'tired_face':'\\ud83d\\ude2b',\n 'tm':'\\u2122\\ufe0f',\n 'toilet':'\\ud83d\\udebd',\n 'tokyo_tower':'\\ud83d\\uddfc',\n 'tomato':'\\ud83c\\udf45',\n 'tongue':'\\ud83d\\udc45',\n 'top':'\\ud83d\\udd1d',\n 'tophat':'\\ud83c\\udfa9',\n 'tornado':'\\ud83c\\udf2a',\n 'trackball':'\\ud83d\\uddb2',\n 'tractor':'\\ud83d\\ude9c',\n 'traffic_light':'\\ud83d\\udea5',\n 'train':'\\ud83d\\ude8b',\n 'train2':'\\ud83d\\ude86',\n 'tram':'\\ud83d\\ude8a',\n 'triangular_flag_on_post':'\\ud83d\\udea9',\n 'triangular_ruler':'\\ud83d\\udcd0',\n 'trident':'\\ud83d\\udd31',\n 'triumph':'\\ud83d\\ude24',\n 'trolleybus':'\\ud83d\\ude8e',\n 'trophy':'\\ud83c\\udfc6',\n 'tropical_drink':'\\ud83c\\udf79',\n 'tropical_fish':'\\ud83d\\udc20',\n 'truck':'\\ud83d\\ude9a',\n 'trumpet':'\\ud83c\\udfba',\n 'tulip':'\\ud83c\\udf37',\n 'tumbler_glass':'\\ud83e\\udd43',\n 'turkey':'\\ud83e\\udd83',\n 'turtle':'\\ud83d\\udc22',\n 'tv':'\\ud83d\\udcfa',\n 'twisted_rightwards_arrows':'\\ud83d\\udd00',\n 'two_hearts':'\\ud83d\\udc95',\n 'two_men_holding_hands':'\\ud83d\\udc6c',\n 'two_women_holding_hands':'\\ud83d\\udc6d',\n 'u5272':'\\ud83c\\ude39',\n 'u5408':'\\ud83c\\ude34',\n 'u55b6':'\\ud83c\\ude3a',\n 'u6307':'\\ud83c\\ude2f\\ufe0f',\n 'u6708':'\\ud83c\\ude37\\ufe0f',\n 'u6709':'\\ud83c\\ude36',\n 'u6e80':'\\ud83c\\ude35',\n 'u7121':'\\ud83c\\ude1a\\ufe0f',\n 'u7533':'\\ud83c\\ude38',\n 'u7981':'\\ud83c\\ude32',\n 'u7a7a':'\\ud83c\\ude33',\n 'umbrella':'\\u2614\\ufe0f',\n 'unamused':'\\ud83d\\ude12',\n 'underage':'\\ud83d\\udd1e',\n 'unicorn':'\\ud83e\\udd84',\n 'unlock':'\\ud83d\\udd13',\n 'up':'\\ud83c\\udd99',\n 'upside_down_face':'\\ud83d\\ude43',\n 'v':'\\u270c\\ufe0f',\n 'vertical_traffic_light':'\\ud83d\\udea6',\n 'vhs':'\\ud83d\\udcfc',\n 'vibration_mode':'\\ud83d\\udcf3',\n 'video_camera':'\\ud83d\\udcf9',\n 'video_game':'\\ud83c\\udfae',\n 'violin':'\\ud83c\\udfbb',\n 'virgo':'\\u264d\\ufe0f',\n 'volcano':'\\ud83c\\udf0b',\n 'volleyball':'\\ud83c\\udfd0',\n 'vs':'\\ud83c\\udd9a',\n 'vulcan_salute':'\\ud83d\\udd96',\n 'walking_man':'\\ud83d\\udeb6',\n 'walking_woman':'\\ud83d\\udeb6\\u2640\\ufe0f',\n 'waning_crescent_moon':'\\ud83c\\udf18',\n 'waning_gibbous_moon':'\\ud83c\\udf16',\n 'warning':'\\u26a0\\ufe0f',\n 'wastebasket':'\\ud83d\\uddd1',\n 'watch':'\\u231a\\ufe0f',\n 'water_buffalo':'\\ud83d\\udc03',\n 'watermelon':'\\ud83c\\udf49',\n 'wave':'\\ud83d\\udc4b',\n 'wavy_dash':'\\u3030\\ufe0f',\n 'waxing_crescent_moon':'\\ud83c\\udf12',\n 'wc':'\\ud83d\\udebe',\n 'weary':'\\ud83d\\ude29',\n 'wedding':'\\ud83d\\udc92',\n 'weight_lifting_man':'\\ud83c\\udfcb\\ufe0f',\n 'weight_lifting_woman':'\\ud83c\\udfcb\\ufe0f\\u2640\\ufe0f',\n 'whale':'\\ud83d\\udc33',\n 'whale2':'\\ud83d\\udc0b',\n 'wheel_of_dharma':'\\u2638\\ufe0f',\n 'wheelchair':'\\u267f\\ufe0f',\n 'white_check_mark':'\\u2705',\n 'white_circle':'\\u26aa\\ufe0f',\n 'white_flag':'\\ud83c\\udff3\\ufe0f',\n 'white_flower':'\\ud83d\\udcae',\n 'white_large_square':'\\u2b1c\\ufe0f',\n 'white_medium_small_square':'\\u25fd\\ufe0f',\n 'white_medium_square':'\\u25fb\\ufe0f',\n 'white_small_square':'\\u25ab\\ufe0f',\n 'white_square_button':'\\ud83d\\udd33',\n 'wilted_flower':'\\ud83e\\udd40',\n 'wind_chime':'\\ud83c\\udf90',\n 'wind_face':'\\ud83c\\udf2c',\n 'wine_glass':'\\ud83c\\udf77',\n 'wink':'\\ud83d\\ude09',\n 'wolf':'\\ud83d\\udc3a',\n 'woman':'\\ud83d\\udc69',\n 'woman_artist':'\\ud83d\\udc69\\ud83c\\udfa8',\n 'woman_astronaut':'\\ud83d\\udc69\\ud83d\\ude80',\n 'woman_cartwheeling':'\\ud83e\\udd38\\u2640\\ufe0f',\n 'woman_cook':'\\ud83d\\udc69\\ud83c\\udf73',\n 'woman_facepalming':'\\ud83e\\udd26\\u2640\\ufe0f',\n 'woman_factory_worker':'\\ud83d\\udc69\\ud83c\\udfed',\n 'woman_farmer':'\\ud83d\\udc69\\ud83c\\udf3e',\n 'woman_firefighter':'\\ud83d\\udc69\\ud83d\\ude92',\n 'woman_health_worker':'\\ud83d\\udc69\\u2695\\ufe0f',\n 'woman_judge':'\\ud83d\\udc69\\u2696\\ufe0f',\n 'woman_juggling':'\\ud83e\\udd39\\u2640\\ufe0f',\n 'woman_mechanic':'\\ud83d\\udc69\\ud83d\\udd27',\n 'woman_office_worker':'\\ud83d\\udc69\\ud83d\\udcbc',\n 'woman_pilot':'\\ud83d\\udc69\\u2708\\ufe0f',\n 'woman_playing_handball':'\\ud83e\\udd3e\\u2640\\ufe0f',\n 'woman_playing_water_polo':'\\ud83e\\udd3d\\u2640\\ufe0f',\n 'woman_scientist':'\\ud83d\\udc69\\ud83d\\udd2c',\n 'woman_shrugging':'\\ud83e\\udd37\\u2640\\ufe0f',\n 'woman_singer':'\\ud83d\\udc69\\ud83c\\udfa4',\n 'woman_student':'\\ud83d\\udc69\\ud83c\\udf93',\n 'woman_teacher':'\\ud83d\\udc69\\ud83c\\udfeb',\n 'woman_technologist':'\\ud83d\\udc69\\ud83d\\udcbb',\n 'woman_with_turban':'\\ud83d\\udc73\\u2640\\ufe0f',\n 'womans_clothes':'\\ud83d\\udc5a',\n 'womans_hat':'\\ud83d\\udc52',\n 'women_wrestling':'\\ud83e\\udd3c\\u2640\\ufe0f',\n 'womens':'\\ud83d\\udeba',\n 'world_map':'\\ud83d\\uddfa',\n 'worried':'\\ud83d\\ude1f',\n 'wrench':'\\ud83d\\udd27',\n 'writing_hand':'\\u270d\\ufe0f',\n 'x':'\\u274c',\n 'yellow_heart':'\\ud83d\\udc9b',\n 'yen':'\\ud83d\\udcb4',\n 'yin_yang':'\\u262f\\ufe0f',\n 'yum':'\\ud83d\\ude0b',\n 'zap':'\\u26a1\\ufe0f',\n 'zipper_mouth_face':'\\ud83e\\udd10',\n 'zzz':'\\ud83d\\udca4',\n\n /* special emojis :P */\n 'octocat': '',\n 'showdown': 'S'\n};\n\r\n/**\n * Created by Estevao on 31-05-2015.\n */\n\n/**\n * Showdown Converter class\n * @class\n * @param {object} [converterOptions]\n * @returns {Converter}\n */\nshowdown.Converter = function (converterOptions) {\n 'use strict';\n\n var\n /**\n * Options used by this converter\n * @private\n * @type {{}}\n */\n options = {},\n\n /**\n * Language extensions used by this converter\n * @private\n * @type {Array}\n */\n langExtensions = [],\n\n /**\n * Output modifiers extensions used by this converter\n * @private\n * @type {Array}\n */\n outputModifiers = [],\n\n /**\n * Event listeners\n * @private\n * @type {{}}\n */\n listeners = {},\n\n /**\n * The flavor set in this converter\n */\n setConvFlavor = setFlavor,\n\n /**\n * Metadata of the document\n * @type {{parsed: {}, raw: string, format: string}}\n */\n metadata = {\n parsed: {},\n raw: '',\n format: ''\n };\n\n _constructor();\n\n /**\n * Converter constructor\n * @private\n */\n function _constructor () {\n converterOptions = converterOptions || {};\n\n for (var gOpt in globalOptions) {\n if (globalOptions.hasOwnProperty(gOpt)) {\n options[gOpt] = globalOptions[gOpt];\n }\n }\n\n // Merge options\n if (typeof converterOptions === 'object') {\n for (var opt in converterOptions) {\n if (converterOptions.hasOwnProperty(opt)) {\n options[opt] = converterOptions[opt];\n }\n }\n } else {\n throw Error('Converter expects the passed parameter to be an object, but ' + typeof converterOptions +\n ' was passed instead.');\n }\n\n if (options.extensions) {\n showdown.helper.forEach(options.extensions, _parseExtension);\n }\n }\n\n /**\n * Parse extension\n * @param {*} ext\n * @param {string} [name='']\n * @private\n */\n function _parseExtension (ext, name) {\n\n name = name || null;\n // If it's a string, the extension was previously loaded\n if (showdown.helper.isString(ext)) {\n ext = showdown.helper.stdExtName(ext);\n name = ext;\n\n // LEGACY_SUPPORT CODE\n if (showdown.extensions[ext]) {\n console.warn('DEPRECATION WARNING: ' + ext + ' is an old extension that uses a deprecated loading method.' +\n 'Please inform the developer that the extension should be updated!');\n legacyExtensionLoading(showdown.extensions[ext], ext);\n return;\n // END LEGACY SUPPORT CODE\n\n } else if (!showdown.helper.isUndefined(extensions[ext])) {\n ext = extensions[ext];\n\n } else {\n throw Error('Extension \"' + ext + '\" could not be loaded. It was either not found or is not a valid extension.');\n }\n }\n\n if (typeof ext === 'function') {\n ext = ext();\n }\n\n if (!showdown.helper.isArray(ext)) {\n ext = [ext];\n }\n\n var validExt = validate(ext, name);\n if (!validExt.valid) {\n throw Error(validExt.error);\n }\n\n for (var i = 0; i < ext.length; ++i) {\n switch (ext[i].type) {\n\n case 'lang':\n langExtensions.push(ext[i]);\n break;\n\n case 'output':\n outputModifiers.push(ext[i]);\n break;\n }\n if (ext[i].hasOwnProperty('listeners')) {\n for (var ln in ext[i].listeners) {\n if (ext[i].listeners.hasOwnProperty(ln)) {\n listen(ln, ext[i].listeners[ln]);\n }\n }\n }\n }\n\n }\n\n /**\n * LEGACY_SUPPORT\n * @param {*} ext\n * @param {string} name\n */\n function legacyExtensionLoading (ext, name) {\n if (typeof ext === 'function') {\n ext = ext(new showdown.Converter());\n }\n if (!showdown.helper.isArray(ext)) {\n ext = [ext];\n }\n var valid = validate(ext, name);\n\n if (!valid.valid) {\n throw Error(valid.error);\n }\n\n for (var i = 0; i < ext.length; ++i) {\n switch (ext[i].type) {\n case 'lang':\n langExtensions.push(ext[i]);\n break;\n case 'output':\n outputModifiers.push(ext[i]);\n break;\n default:// should never reach here\n throw Error('Extension loader error: Type unrecognized!!!');\n }\n }\n }\n\n /**\n * Listen to an event\n * @param {string} name\n * @param {function} callback\n */\n function listen (name, callback) {\n if (!showdown.helper.isString(name)) {\n throw Error('Invalid argument in converter.listen() method: name must be a string, but ' + typeof name + ' given');\n }\n\n if (typeof callback !== 'function') {\n throw Error('Invalid argument in converter.listen() method: callback must be a function, but ' + typeof callback + ' given');\n }\n\n if (!listeners.hasOwnProperty(name)) {\n listeners[name] = [];\n }\n listeners[name].push(callback);\n }\n\n function rTrimInputText (text) {\n var rsp = text.match(/^\\s*/)[0].length,\n rgx = new RegExp('^\\\\s{0,' + rsp + '}', 'gm');\n return text.replace(rgx, '');\n }\n\n /**\n * Dispatch an event\n * @private\n * @param {string} evtName Event name\n * @param {string} text Text\n * @param {{}} options Converter Options\n * @param {{}} globals\n * @returns {string}\n */\n this._dispatch = function dispatch (evtName, text, options, globals) {\n if (listeners.hasOwnProperty(evtName)) {\n for (var ei = 0; ei < listeners[evtName].length; ++ei) {\n var nText = listeners[evtName][ei](evtName, text, this, options, globals);\n if (nText && typeof nText !== 'undefined') {\n text = nText;\n }\n }\n }\n return text;\n };\n\n /**\n * Listen to an event\n * @param {string} name\n * @param {function} callback\n * @returns {showdown.Converter}\n */\n this.listen = function (name, callback) {\n listen(name, callback);\n return this;\n };\n\n /**\n * Converts a markdown string into HTML\n * @param {string} text\n * @returns {*}\n */\n this.makeHtml = function (text) {\n //check if text is not falsy\n if (!text) {\n return text;\n }\n\n var globals = {\n gHtmlBlocks: [],\n gHtmlMdBlocks: [],\n gHtmlSpans: [],\n gUrls: {},\n gTitles: {},\n gDimensions: {},\n gListLevel: 0,\n hashLinkCounts: {},\n langExtensions: langExtensions,\n outputModifiers: outputModifiers,\n converter: this,\n ghCodeBlocks: [],\n metadata: {\n parsed: {},\n raw: '',\n format: ''\n }\n };\n\n // This lets us use ¨ trema as an escape char to avoid md5 hashes\n // The choice of character is arbitrary; anything that isn't\n // magic in Markdown will work.\n text = text.replace(/¨/g, '¨T');\n\n // Replace $ with ¨D\n // RegExp interprets $ as a special character\n // when it's in a replacement string\n text = text.replace(/\\$/g, '¨D');\n\n // Standardize line endings\n text = text.replace(/\\r\\n/g, '\\n'); // DOS to Unix\n text = text.replace(/\\r/g, '\\n'); // Mac to Unix\n\n // Stardardize line spaces\n text = text.replace(/\\u00A0/g, ' ');\n\n if (options.smartIndentationFix) {\n text = rTrimInputText(text);\n }\n\n // Make sure text begins and ends with a couple of newlines:\n text = '\\n\\n' + text + '\\n\\n';\n\n // detab\n text = showdown.subParser('detab')(text, options, globals);\n\n /**\n * Strip any lines consisting only of spaces and tabs.\n * This makes subsequent regexs easier to write, because we can\n * match consecutive blank lines with /\\n+/ instead of something\n * contorted like /[ \\t]*\\n+/\n */\n text = text.replace(/^[ \\t]+$/mg, '');\n\n //run languageExtensions\n showdown.helper.forEach(langExtensions, function (ext) {\n text = showdown.subParser('runExtension')(ext, text, options, globals);\n });\n\n // run the sub parsers\n text = showdown.subParser('metadata')(text, options, globals);\n text = showdown.subParser('hashPreCodeTags')(text, options, globals);\n text = showdown.subParser('githubCodeBlocks')(text, options, globals);\n text = showdown.subParser('hashHTMLBlocks')(text, options, globals);\n text = showdown.subParser('hashCodeTags')(text, options, globals);\n text = showdown.subParser('stripLinkDefinitions')(text, options, globals);\n text = showdown.subParser('blockGamut')(text, options, globals);\n text = showdown.subParser('unhashHTMLSpans')(text, options, globals);\n text = showdown.subParser('unescapeSpecialChars')(text, options, globals);\n\n // attacklab: Restore dollar signs\n text = text.replace(/¨D/g, '$$');\n\n // attacklab: Restore tremas\n text = text.replace(/¨T/g, '¨');\n\n // render a complete html document instead of a partial if the option is enabled\n text = showdown.subParser('completeHTMLDocument')(text, options, globals);\n\n // Run output modifiers\n showdown.helper.forEach(outputModifiers, function (ext) {\n text = showdown.subParser('runExtension')(ext, text, options, globals);\n });\n\n // update metadata\n metadata = globals.metadata;\n return text;\n };\n\n /**\n * Converts an HTML string into a markdown string\n * @param src\n * @param [HTMLParser] A WHATWG DOM and HTML parser, such as JSDOM. If none is supplied, window.document will be used.\n * @returns {string}\n */\n this.makeMarkdown = this.makeMd = function (src, HTMLParser) {\n\n // replace \\r\\n with \\n\n src = src.replace(/\\r\\n/g, '\\n');\n src = src.replace(/\\r/g, '\\n'); // old macs\n\n // due to an edge case, we need to find this: > <\n // to prevent removing of non silent white spaces\n // ex: this is sparta\n src = src.replace(/>[ \\t]+, '>¨NBSP;<');\n\n if (!HTMLParser) {\n if (window && window.document) {\n HTMLParser = window.document;\n } else {\n throw new Error('HTMLParser is undefined. If in a webworker or nodejs environment, you need to provide a WHATWG DOM and HTML such as JSDOM');\n }\n }\n\n var doc = HTMLParser.createElement('div');\n doc.innerHTML = src;\n\n var globals = {\n preList: substitutePreCodeTags(doc)\n };\n\n // remove all newlines and collapse spaces\n clean(doc);\n\n // some stuff, like accidental reference links must now be escaped\n // TODO\n // doc.innerHTML = doc.innerHTML.replace(/\\[[\\S\\t ]]/);\n\n var nodes = doc.childNodes,\n mdDoc = '';\n\n for (var i = 0; i < nodes.length; i++) {\n mdDoc += showdown.subParser('makeMarkdown.node')(nodes[i], globals);\n }\n\n function clean (node) {\n for (var n = 0; n < node.childNodes.length; ++n) {\n var child = node.childNodes[n];\n if (child.nodeType === 3) {\n if (!/\\S/.test(child.nodeValue)) {\n node.removeChild(child);\n --n;\n } else {\n child.nodeValue = child.nodeValue.split('\\n').join(' ');\n child.nodeValue = child.nodeValue.replace(/(\\s)+/g, '$1');\n }\n } else if (child.nodeType === 1) {\n clean(child);\n }\n }\n }\n\n // find all pre tags and replace contents with placeholder\n // we need this so that we can remove all indentation from html\n // to ease up parsing\n function substitutePreCodeTags (doc) {\n\n var pres = doc.querySelectorAll('pre'),\n presPH = [];\n\n for (var i = 0; i < pres.length; ++i) {\n\n if (pres[i].childElementCount === 1 && pres[i].firstChild.tagName.toLowerCase() === 'code') {\n var content = pres[i].firstChild.innerHTML.trim(),\n language = pres[i].firstChild.getAttribute('data-language') || '';\n\n // if data-language attribute is not defined, then we look for class language-*\n if (language === '') {\n var classes = pres[i].firstChild.className.split(' ');\n for (var c = 0; c < classes.length; ++c) {\n var matches = classes[c].match(/^language-(.+)$/);\n if (matches !== null) {\n language = matches[1];\n break;\n }\n }\n }\n\n // unescape html entities in content\n content = showdown.helper.unescapeHTMLEntities(content);\n\n presPH.push(content);\n pres[i].outerHTML = ' ';\n } else {\n presPH.push(pres[i].innerHTML);\n pres[i].innerHTML = '';\n pres[i].setAttribute('prenum', i.toString());\n }\n }\n return presPH;\n }\n\n return mdDoc;\n };\n\n /**\n * Set an option of this Converter instance\n * @param {string} key\n * @param {*} value\n */\n this.setOption = function (key, value) {\n options[key] = value;\n };\n\n /**\n * Get the option of this Converter instance\n * @param {string} key\n * @returns {*}\n */\n this.getOption = function (key) {\n return options[key];\n };\n\n /**\n * Get the options of this Converter instance\n * @returns {{}}\n */\n this.getOptions = function () {\n return options;\n };\n\n /**\n * Add extension to THIS converter\n * @param {{}} extension\n * @param {string} [name=null]\n */\n this.addExtension = function (extension, name) {\n name = name || null;\n _parseExtension(extension, name);\n };\n\n /**\n * Use a global registered extension with THIS converter\n * @param {string} extensionName Name of the previously registered extension\n */\n this.useExtension = function (extensionName) {\n _parseExtension(extensionName);\n };\n\n /**\n * Set the flavor THIS converter should use\n * @param {string} name\n */\n this.setFlavor = function (name) {\n if (!flavor.hasOwnProperty(name)) {\n throw Error(name + ' flavor was not found');\n }\n var preset = flavor[name];\n setConvFlavor = name;\n for (var option in preset) {\n if (preset.hasOwnProperty(option)) {\n options[option] = preset[option];\n }\n }\n };\n\n /**\n * Get the currently set flavor of this converter\n * @returns {string}\n */\n this.getFlavor = function () {\n return setConvFlavor;\n };\n\n /**\n * Remove an extension from THIS converter.\n * Note: This is a costly operation. It's better to initialize a new converter\n * and specify the extensions you wish to use\n * @param {Array} extension\n */\n this.removeExtension = function (extension) {\n if (!showdown.helper.isArray(extension)) {\n extension = [extension];\n }\n for (var a = 0; a < extension.length; ++a) {\n var ext = extension[a];\n for (var i = 0; i < langExtensions.length; ++i) {\n if (langExtensions[i] === ext) {\n langExtensions[i].splice(i, 1);\n }\n }\n for (var ii = 0; ii < outputModifiers.length; ++i) {\n if (outputModifiers[ii] === ext) {\n outputModifiers[ii].splice(i, 1);\n }\n }\n }\n };\n\n /**\n * Get all extension of THIS converter\n * @returns {{language: Array, output: Array}}\n */\n this.getAllExtensions = function () {\n return {\n language: langExtensions,\n output: outputModifiers\n };\n };\n\n /**\n * Get the metadata of the previously parsed document\n * @param raw\n * @returns {string|{}}\n */\n this.getMetadata = function (raw) {\n if (raw) {\n return metadata.raw;\n } else {\n return metadata.parsed;\n }\n };\n\n /**\n * Get the metadata format of the previously parsed document\n * @returns {string}\n */\n this.getMetadataFormat = function () {\n return metadata.format;\n };\n\n /**\n * Private: set a single key, value metadata pair\n * @param {string} key\n * @param {string} value\n */\n this._setMetadataPair = function (key, value) {\n metadata.parsed[key] = value;\n };\n\n /**\n * Private: set metadata format\n * @param {string} format\n */\n this._setMetadataFormat = function (format) {\n metadata.format = format;\n };\n\n /**\n * Private: set metadata raw text\n * @param {string} raw\n */\n this._setMetadataRaw = function (raw) {\n metadata.raw = raw;\n };\n};\n\r\n/**\n * Turn Markdown link shortcuts into XHTML tags.\n */\nshowdown.subParser('anchors', function (text, options, globals) {\n 'use strict';\n\n text = globals.converter._dispatch('anchors.before', text, options, globals);\n\n var writeAnchorTag = function (wholeMatch, linkText, linkId, url, m5, m6, title) {\n if (showdown.helper.isUndefined(title)) {\n title = '';\n }\n linkId = linkId.toLowerCase();\n\n // Special case for explicit empty url\n if (wholeMatch.search(/\\(\\s*>? ?(['\"].*['\"])?\\)$/m) > -1) {\n url = '';\n } else if (!url) {\n if (!linkId) {\n // lower-case and turn embedded newlines into spaces\n linkId = linkText.toLowerCase().replace(/ ?\\n/g, ' ');\n }\n url = '#' + linkId;\n\n if (!showdown.helper.isUndefined(globals.gUrls[linkId])) {\n url = globals.gUrls[linkId];\n if (!showdown.helper.isUndefined(globals.gTitles[linkId])) {\n title = globals.gTitles[linkId];\n }\n } else {\n return wholeMatch;\n }\n }\n\n //url = showdown.helper.escapeCharacters(url, '*_', false); // replaced line to improve performance\n url = url.replace(showdown.helper.regexes.asteriskDashAndColon, showdown.helper.escapeCharactersCallback);\n\n var result = '' + linkText + '';\n\n return result;\n };\n\n // First, handle reference-style links: [link text] [id]\n text = text.replace(/\\[((?:\\[[^\\]]*]|[^\\[\\]])*)] ?(?:\\n *)?\\[(.*?)]()()()()/g, writeAnchorTag);\n\n // Next, inline-style links: [link text](url \"optional title\")\n // cases with crazy urls like ./image/cat1).png\n text = text.replace(/\\[((?:\\[[^\\]]*]|[^\\[\\]])*)]()[ \\t]*\\([ \\t]?<([^>]*)>(?:[ \\t]*(([\"'])([^\"]*?)\\5))?[ \\t]?\\)/g,\n writeAnchorTag);\n\n // normal cases\n text = text.replace(/\\[((?:\\[[^\\]]*]|[^\\[\\]])*)]()[ \\t]*\\([ \\t]?([\\S]+?(?:\\([\\S]*?\\)[\\S]*?)?)>?(?:[ \\t]*(([\"'])([^\"]*?)\\5))?[ \\t]?\\)/g,\n writeAnchorTag);\n\n // handle reference-style shortcuts: [link text]\n // These must come last in case you've also got [link test][1]\n // or [link test](/foo)\n text = text.replace(/\\[([^\\[\\]]+)]()()()()()/g, writeAnchorTag);\n\n // Lastly handle GithubMentions if option is enabled\n if (options.ghMentions) {\n text = text.replace(/(^|\\s)(\\\\)?(@([a-z\\d]+(?:[a-z\\d.-]+?[a-z\\d]+)*))/gmi, function (wm, st, escape, mentions, username) {\n if (escape === '\\\\') {\n return st + mentions;\n }\n\n //check if options.ghMentionsLink is a string\n if (!showdown.helper.isString(options.ghMentionsLink)) {\n throw new Error('ghMentionsLink option must be a string');\n }\n var lnk = options.ghMentionsLink.replace(/\\{u}/g, username),\n target = '';\n if (options.openLinksInNewWindow) {\n target = ' rel=\"noopener noreferrer\" target=\"¨E95Eblank\"';\n }\n return st + '' + mentions + '';\n });\n }\n\n text = globals.converter._dispatch('anchors.after', text, options, globals);\n return text;\n});\n\r\n// url allowed chars [a-z\\d_.~:/?#[]@!$&'()*+,;=-]\n\nvar simpleURLRegex = /([*~_]+|\\b)(((https?|ftp|dict):\\/\\/|www\\.)[^'\">\\s]+?\\.[^'\">\\s]+?)()(\\1)?(?=\\s|$)(?![\"<>])/gi,\n simpleURLRegex2 = /([*~_]+|\\b)(((https?|ftp|dict):\\/\\/|www\\.)[^'\">\\s]+\\.[^'\">\\s]+?)([.!?,()\\[\\]])?(\\1)?(?=\\s|$)(?![\"<>])/gi,\n delimUrlRegex = /()<(((https?|ftp|dict):\\/\\/|www\\.)[^'\">\\s]+)()>()/gi,\n simpleMailRegex = /(^|\\s)(?:mailto:)?([A-Za-z0-9!#$%&'*+-/=?^_`{|}~.]+@[-a-z0-9]+(\\.[-a-z0-9]+)*\\.[a-z]+)(?=$|\\s)/gmi,\n delimMailRegex = /<()(?:mailto:)?([-.\\w]+@[-a-z0-9]+(\\.[-a-z0-9]+)*\\.[a-z]+)>/gi,\n\n replaceLink = function (options) {\n 'use strict';\n return function (wm, leadingMagicChars, link, m2, m3, trailingPunctuation, trailingMagicChars) {\n link = link.replace(showdown.helper.regexes.asteriskDashAndColon, showdown.helper.escapeCharactersCallback);\n var lnkTxt = link,\n append = '',\n target = '',\n lmc = leadingMagicChars || '',\n tmc = trailingMagicChars || '';\n if (/^www\\./i.test(link)) {\n link = link.replace(/^www\\./i, 'http://www.');\n }\n if (options.excludeTrailingPunctuationFromURLs && trailingPunctuation) {\n append = trailingPunctuation;\n }\n if (options.openLinksInNewWindow) {\n target = ' rel=\"noopener noreferrer\" target=\"¨E95Eblank\"';\n }\n return lmc + '' + lnkTxt + '' + append + tmc;\n };\n },\n\n replaceMail = function (options, globals) {\n 'use strict';\n return function (wholeMatch, b, mail) {\n var href = 'mailto:';\n b = b || '';\n mail = showdown.subParser('unescapeSpecialChars')(mail, options, globals);\n if (options.encodeEmails) {\n href = showdown.helper.encodeEmailAddress(href + mail);\n mail = showdown.helper.encodeEmailAddress(mail);\n } else {\n href = href + mail;\n }\n return b + '' + mail + '';\n };\n };\n\nshowdown.subParser('autoLinks', function (text, options, globals) {\n 'use strict';\n\n text = globals.converter._dispatch('autoLinks.before', text, options, globals);\n\n text = text.replace(delimUrlRegex, replaceLink(options));\n text = text.replace(delimMailRegex, replaceMail(options, globals));\n\n text = globals.converter._dispatch('autoLinks.after', text, options, globals);\n\n return text;\n});\n\nshowdown.subParser('simplifiedAutoLinks', function (text, options, globals) {\n 'use strict';\n\n if (!options.simplifiedAutoLink) {\n return text;\n }\n\n text = globals.converter._dispatch('simplifiedAutoLinks.before', text, options, globals);\n\n if (options.excludeTrailingPunctuationFromURLs) {\n text = text.replace(simpleURLRegex2, replaceLink(options));\n } else {\n text = text.replace(simpleURLRegex, replaceLink(options));\n }\n text = text.replace(simpleMailRegex, replaceMail(options, globals));\n\n text = globals.converter._dispatch('simplifiedAutoLinks.after', text, options, globals);\n\n return text;\n});\n\r\n/**\n * These are all the transformations that form block-level\n * tags like paragraphs, headers, and list items.\n */\nshowdown.subParser('blockGamut', function (text, options, globals) {\n 'use strict';\n\n text = globals.converter._dispatch('blockGamut.before', text, options, globals);\n\n // we parse blockquotes first so that we can have headings and hrs\n // inside blockquotes\n text = showdown.subParser('blockQuotes')(text, options, globals);\n text = showdown.subParser('headers')(text, options, globals);\n\n // Do Horizontal Rules:\n text = showdown.subParser('horizontalRule')(text, options, globals);\n\n text = showdown.subParser('lists')(text, options, globals);\n text = showdown.subParser('codeBlocks')(text, options, globals);\n text = showdown.subParser('tables')(text, options, globals);\n\n // We already ran _HashHTMLBlocks() before, in Markdown(), but that\n // was to escape raw HTML in the original Markdown source. This time,\n // we're escaping the markup we've just created, so that we don't wrap\n // tags around block-level tags.\n text = showdown.subParser('hashHTMLBlocks')(text, options, globals);\n text = showdown.subParser('paragraphs')(text, options, globals);\n\n text = globals.converter._dispatch('blockGamut.after', text, options, globals);\n\n return text;\n});\n\r\nshowdown.subParser('blockQuotes', function (text, options, globals) {\n 'use strict';\n\n text = globals.converter._dispatch('blockQuotes.before', text, options, globals);\n\n // add a couple extra lines after the text and endtext mark\n text = text + '\\n\\n';\n\n var rgx = /(^ {0,3}>[ \\t]?.+\\n(.+\\n)*\\n*)+/gm;\n\n if (options.splitAdjacentBlockquotes) {\n rgx = /^ {0,3}>[\\s\\S]*?(?:\\n\\n)/gm;\n }\n\n text = text.replace(rgx, function (bq) {\n // attacklab: hack around Konqueror 3.5.4 bug:\n // \"----------bug\".replace(/^-/g,\"\") == \"bug\"\n bq = bq.replace(/^[ \\t]*>[ \\t]?/gm, ''); // trim one level of quoting\n\n // attacklab: clean up hack\n bq = bq.replace(/¨0/g, '');\n\n bq = bq.replace(/^[ \\t]+$/gm, ''); // trim whitespace-only lines\n bq = showdown.subParser('githubCodeBlocks')(bq, options, globals);\n bq = showdown.subParser('blockGamut')(bq, options, globals); // recurse\n\n bq = bq.replace(/(^|\\n)/g, '$1 ');\n // These leading spaces screw with
content, so we need to fix that:\n bq = bq.replace(/(\\s*[^\\r]+?<\\/pre>)/gm, function (wholeMatch, m1) {\n var pre = m1;\n // attacklab: hack around Konqueror 3.5.4 bug:\n pre = pre.replace(/^ /mg, '¨0');\n pre = pre.replace(/¨0/g, '');\n return pre;\n });\n\n return showdown.subParser('hashBlock')('\\n' + bq + '\\n
', options, globals);\n });\n\n text = globals.converter._dispatch('blockQuotes.after', text, options, globals);\n return text;\n});\n\r\n/**\n * Process Markdown `` blocks.\n */\nshowdown.subParser('codeBlocks', function (text, options, globals) {\n 'use strict';\n\n text = globals.converter._dispatch('codeBlocks.before', text, options, globals);\n\n // sentinel workarounds for lack of \\A and \\Z, safari\\khtml bug\n text += '¨0';\n\n var pattern = /(?:\\n\\n|^)((?:(?:[ ]{4}|\\t).*\\n+)+)(\\n*[ ]{0,3}[^ \\t\\n]|(?=¨0))/g;\n text = text.replace(pattern, function (wholeMatch, m1, m2) {\n var codeblock = m1,\n nextChar = m2,\n end = '\\n';\n\n codeblock = showdown.subParser('outdent')(codeblock, options, globals);\n codeblock = showdown.subParser('encodeCode')(codeblock, options, globals);\n codeblock = showdown.subParser('detab')(codeblock, options, globals);\n codeblock = codeblock.replace(/^\\n+/g, ''); // trim leading newlines\n codeblock = codeblock.replace(/\\n+$/g, ''); // trim trailing newlines\n\n if (options.omitExtraWLInCodeBlocks) {\n end = '';\n }\n\n codeblock = '' + codeblock + end + '
';\n\n return showdown.subParser('hashBlock')(codeblock, options, globals) + nextChar;\n });\n\n // strip sentinel\n text = text.replace(/¨0/, '');\n\n text = globals.converter._dispatch('codeBlocks.after', text, options, globals);\n return text;\n});\n\r\n/**\n *\n * * Backtick quotes are used for
spans.\n *\n * * You can use multiple backticks as the delimiters if you want to\n * include literal backticks in the code span. So, this input:\n *\n * Just type ``foo `bar` baz`` at the prompt.\n *\n * Will translate to:\n *\n * Just type foo `bar` baz
at the prompt.
\n *\n * There's no arbitrary limit to the number of backticks you\n * can use as delimters. If you need three consecutive backticks\n * in your code, use four for delimiters, etc.\n *\n * * You can use spaces to get literal backticks at the edges:\n *\n * ... type `` `bar` `` ...\n *\n * Turns to:\n *\n * ... type `bar`
...\n */\nshowdown.subParser('codeSpans', function (text, options, globals) {\n 'use strict';\n\n text = globals.converter._dispatch('codeSpans.before', text, options, globals);\n\n if (typeof text === 'undefined') {\n text = '';\n }\n text = text.replace(/(^|[^\\\\])(`+)([^\\r]*?[^`])\\2(?!`)/gm,\n function (wholeMatch, m1, m2, m3) {\n var c = m3;\n c = c.replace(/^([ \\t]*)/g, '');\t// leading whitespace\n c = c.replace(/[ \\t]*$/g, '');\t// trailing whitespace\n c = showdown.subParser('encodeCode')(c, options, globals);\n c = m1 + '' + c + '
';\n c = showdown.subParser('hashHTMLSpans')(c, options, globals);\n return c;\n }\n );\n\n text = globals.converter._dispatch('codeSpans.after', text, options, globals);\n return text;\n});\n\r\n/**\n * Create a full HTML document from the processed markdown\n */\nshowdown.subParser('completeHTMLDocument', function (text, options, globals) {\n 'use strict';\n\n if (!options.completeHTMLDocument) {\n return text;\n }\n\n text = globals.converter._dispatch('completeHTMLDocument.before', text, options, globals);\n\n var doctype = 'html',\n doctypeParsed = '\\n',\n title = '',\n charset = '\\n',\n lang = '',\n metadata = '';\n\n if (typeof globals.metadata.parsed.doctype !== 'undefined') {\n doctypeParsed = '\\n';\n doctype = globals.metadata.parsed.doctype.toString().toLowerCase();\n if (doctype === 'html' || doctype === 'html5') {\n charset = '';\n }\n }\n\n for (var meta in globals.metadata.parsed) {\n if (globals.metadata.parsed.hasOwnProperty(meta)) {\n switch (meta.toLowerCase()) {\n case 'doctype':\n break;\n\n case 'title':\n title = '' + globals.metadata.parsed.title + ' \\n';\n break;\n\n case 'charset':\n if (doctype === 'html' || doctype === 'html5') {\n charset = '\\n';\n } else {\n charset = '\\n';\n }\n break;\n\n case 'language':\n case 'lang':\n lang = ' lang=\"' + globals.metadata.parsed[meta] + '\"';\n metadata += '\\n';\n break;\n\n default:\n metadata += '\\n';\n }\n }\n }\n\n text = doctypeParsed + '\\n\\n' + title + charset + metadata + '\\n\\n' + text.trim() + '\\n\\n';\n\n text = globals.converter._dispatch('completeHTMLDocument.after', text, options, globals);\n return text;\n});\n\r\n/**\n * Convert all tabs to spaces\n */\nshowdown.subParser('detab', function (text, options, globals) {\n 'use strict';\n text = globals.converter._dispatch('detab.before', text, options, globals);\n\n // expand first n-1 tabs\n text = text.replace(/\\t(?=\\t)/g, ' '); // g_tab_width\n\n // replace the nth with two sentinels\n text = text.replace(/\\t/g, '¨A¨B');\n\n // use the sentinel to anchor our regex so it doesn't explode\n text = text.replace(/¨B(.+?)¨A/g, function (wholeMatch, m1) {\n var leadingText = m1,\n numSpaces = 4 - leadingText.length % 4; // g_tab_width\n\n // there *must* be a better way to do this:\n for (var i = 0; i < numSpaces; i++) {\n leadingText += ' ';\n }\n\n return leadingText;\n });\n\n // clean up sentinels\n text = text.replace(/¨A/g, ' '); // g_tab_width\n text = text.replace(/¨B/g, '');\n\n text = globals.converter._dispatch('detab.after', text, options, globals);\n return text;\n});\n\r\nshowdown.subParser('ellipsis', function (text, options, globals) {\n 'use strict';\n\n text = globals.converter._dispatch('ellipsis.before', text, options, globals);\n\n text = text.replace(/\\.\\.\\./g, '…');\n\n text = globals.converter._dispatch('ellipsis.after', text, options, globals);\n\n return text;\n});\n\r\n/**\n * Turn emoji codes into emojis\n *\n * List of supported emojis: https://github.com/showdownjs/showdown/wiki/Emojis\n */\nshowdown.subParser('emoji', function (text, options, globals) {\n 'use strict';\n\n if (!options.emoji) {\n return text;\n }\n\n text = globals.converter._dispatch('emoji.before', text, options, globals);\n\n var emojiRgx = /:([\\S]+?):/g;\n\n text = text.replace(emojiRgx, function (wm, emojiCode) {\n if (showdown.helper.emojis.hasOwnProperty(emojiCode)) {\n return showdown.helper.emojis[emojiCode];\n }\n return wm;\n });\n\n text = globals.converter._dispatch('emoji.after', text, options, globals);\n\n return text;\n});\n\r\n/**\n * Smart processing for ampersands and angle brackets that need to be encoded.\n */\nshowdown.subParser('encodeAmpsAndAngles', function (text, options, globals) {\n 'use strict';\n text = globals.converter._dispatch('encodeAmpsAndAngles.before', text, options, globals);\n\n // Ampersand-encoding based entirely on Nat Irons's Amputator MT plugin:\n // http://bumppo.net/projects/amputator/\n text = text.replace(/&(?!#?[xX]?(?:[0-9a-fA-F]+|\\w+);)/g, '&');\n\n // Encode naked <'s\n text = text.replace(/<(?![a-z\\/?$!])/gi, '<');\n\n // Encode <\n text = text.replace(/\n text = text.replace(/>/g, '>');\n\n text = globals.converter._dispatch('encodeAmpsAndAngles.after', text, options, globals);\n return text;\n});\n\r\n/**\n * Returns the string, with after processing the following backslash escape sequences.\n *\n * attacklab: The polite way to do this is with the new escapeCharacters() function:\n *\n * text = escapeCharacters(text,\"\\\\\",true);\n * text = escapeCharacters(text,\"`*_{}[]()>#+-.!\",true);\n *\n * ...but we're sidestepping its use of the (slow) RegExp constructor\n * as an optimization for Firefox. This function gets called a LOT.\n */\nshowdown.subParser('encodeBackslashEscapes', function (text, options, globals) {\n 'use strict';\n text = globals.converter._dispatch('encodeBackslashEscapes.before', text, options, globals);\n\n text = text.replace(/\\\\(\\\\)/g, showdown.helper.escapeCharactersCallback);\n text = text.replace(/\\\\([`*_{}\\[\\]()>#+.!~=|-])/g, showdown.helper.escapeCharactersCallback);\n\n text = globals.converter._dispatch('encodeBackslashEscapes.after', text, options, globals);\n return text;\n});\n\r\n/**\n * Encode/escape certain characters inside Markdown code runs.\n * The point is that in code, these characters are literals,\n * and lose their special Markdown meanings.\n */\nshowdown.subParser('encodeCode', function (text, options, globals) {\n 'use strict';\n\n text = globals.converter._dispatch('encodeCode.before', text, options, globals);\n\n // Encode all ampersands; HTML entities are not\n // entities within a Markdown code span.\n text = text\n .replace(/&/g, '&')\n // Do the angle bracket song and dance:\n .replace(//g, '>')\n // Now, escape characters that are magic in Markdown:\n .replace(/([*_{}\\[\\]\\\\=~-])/g, showdown.helper.escapeCharactersCallback);\n\n text = globals.converter._dispatch('encodeCode.after', text, options, globals);\n return text;\n});\n\r\n/**\n * Within tags -- meaning between < and > -- encode [\\ ` * _ ~ =] so they\n * don't conflict with their use in Markdown for code, italics and strong.\n */\nshowdown.subParser('escapeSpecialCharsWithinTagAttributes', function (text, options, globals) {\n 'use strict';\n text = globals.converter._dispatch('escapeSpecialCharsWithinTagAttributes.before', text, options, globals);\n\n // Build a regex to find HTML tags.\n var tags = /<\\/?[a-z\\d_:-]+(?:[\\s]+[\\s\\S]+?)?>/gi,\n comments = /-]|-[^>])(?:[^-]|-[^-])*)--)>/gi;\n\n text = text.replace(tags, function (wholeMatch) {\n return wholeMatch\n .replace(/(.)<\\/?code>(?=.)/g, '$1`')\n .replace(/([\\\\`*_~=|])/g, showdown.helper.escapeCharactersCallback);\n });\n\n text = text.replace(comments, function (wholeMatch) {\n return wholeMatch\n .replace(/([\\\\`*_~=|])/g, showdown.helper.escapeCharactersCallback);\n });\n\n text = globals.converter._dispatch('escapeSpecialCharsWithinTagAttributes.after', text, options, globals);\n return text;\n});\n\r\n/**\n * Handle github codeblocks prior to running HashHTML so that\n * HTML contained within the codeblock gets escaped properly\n * Example:\n * ```ruby\n * def hello_world(x)\n * puts \"Hello, #{x}\"\n * end\n * ```\n */\nshowdown.subParser('githubCodeBlocks', function (text, options, globals) {\n 'use strict';\n\n // early exit if option is not enabled\n if (!options.ghCodeBlocks) {\n return text;\n }\n\n text = globals.converter._dispatch('githubCodeBlocks.before', text, options, globals);\n\n text += '¨0';\n\n text = text.replace(/(?:^|\\n)(?: {0,3})(```+|~~~+)(?: *)([^\\s`~]*)\\n([\\s\\S]*?)\\n(?: {0,3})\\1/g, function (wholeMatch, delim, language, codeblock) {\n var end = (options.omitExtraWLInCodeBlocks) ? '' : '\\n';\n\n // First parse the github code block\n codeblock = showdown.subParser('encodeCode')(codeblock, options, globals);\n codeblock = showdown.subParser('detab')(codeblock, options, globals);\n codeblock = codeblock.replace(/^\\n+/g, ''); // trim leading newlines\n codeblock = codeblock.replace(/\\n+$/g, ''); // trim trailing whitespace\n\n codeblock = '' + codeblock + end + '
';\n\n codeblock = showdown.subParser('hashBlock')(codeblock, options, globals);\n\n // Since GHCodeblocks can be false positives, we need to\n // store the primitive text and the parsed text in a global var,\n // and then return a token\n return '\\n\\n¨G' + (globals.ghCodeBlocks.push({text: wholeMatch, codeblock: codeblock}) - 1) + 'G\\n\\n';\n });\n\n // attacklab: strip sentinel\n text = text.replace(/¨0/, '');\n\n return globals.converter._dispatch('githubCodeBlocks.after', text, options, globals);\n});\n\r\nshowdown.subParser('hashBlock', function (text, options, globals) {\n 'use strict';\n text = globals.converter._dispatch('hashBlock.before', text, options, globals);\n text = text.replace(/(^\\n+|\\n+$)/g, '');\n text = '\\n\\n¨K' + (globals.gHtmlBlocks.push(text) - 1) + 'K\\n\\n';\n text = globals.converter._dispatch('hashBlock.after', text, options, globals);\n return text;\n});\n\r\n/**\n * Hash and escape elements that should not be parsed as markdown\n */\nshowdown.subParser('hashCodeTags', function (text, options, globals) {\n 'use strict';\n text = globals.converter._dispatch('hashCodeTags.before', text, options, globals);\n\n var repFunc = function (wholeMatch, match, left, right) {\n var codeblock = left + showdown.subParser('encodeCode')(match, options, globals) + right;\n return '¨C' + (globals.gHtmlSpans.push(codeblock) - 1) + 'C';\n };\n\n // Hash naked \n text = showdown.helper.replaceRecursiveRegExp(text, repFunc, ']*>', '
', 'gim');\n\n text = globals.converter._dispatch('hashCodeTags.after', text, options, globals);\n return text;\n});\n\r\nshowdown.subParser('hashElement', function (text, options, globals) {\n 'use strict';\n\n return function (wholeMatch, m1) {\n var blockText = m1;\n\n // Undo double lines\n blockText = blockText.replace(/\\n\\n/g, '\\n');\n blockText = blockText.replace(/^\\n/, '');\n\n // strip trailing blank lines\n blockText = blockText.replace(/\\n+$/g, '');\n\n // Replace the element text with a marker (\"¨KxK\" where x is its key)\n blockText = '\\n\\n¨K' + (globals.gHtmlBlocks.push(blockText) - 1) + 'K\\n\\n';\n\n return blockText;\n };\n});\n\r\nshowdown.subParser('hashHTMLBlocks', function (text, options, globals) {\n 'use strict';\n text = globals.converter._dispatch('hashHTMLBlocks.before', text, options, globals);\n\n var blockTags = [\n 'pre',\n 'div',\n 'h1',\n 'h2',\n 'h3',\n 'h4',\n 'h5',\n 'h6',\n 'blockquote',\n 'table',\n 'dl',\n 'ol',\n 'ul',\n 'script',\n 'noscript',\n 'form',\n 'fieldset',\n 'iframe',\n 'math',\n 'style',\n 'section',\n 'header',\n 'footer',\n 'nav',\n 'article',\n 'aside',\n 'address',\n 'audio',\n 'canvas',\n 'figure',\n 'hgroup',\n 'output',\n 'video',\n 'p'\n ],\n repFunc = function (wholeMatch, match, left, right) {\n var txt = wholeMatch;\n // check if this html element is marked as markdown\n // if so, it's contents should be parsed as markdown\n if (left.search(/\\bmarkdown\\b/) !== -1) {\n txt = left + globals.converter.makeHtml(match) + right;\n }\n return '\\n\\n¨K' + (globals.gHtmlBlocks.push(txt) - 1) + 'K\\n\\n';\n };\n\n if (options.backslashEscapesHTMLTags) {\n // encode backslash escaped HTML tags\n text = text.replace(/\\\\<(\\/?[^>]+?)>/g, function (wm, inside) {\n return '<' + inside + '>';\n });\n }\n\n // hash HTML Blocks\n for (var i = 0; i < blockTags.length; ++i) {\n\n var opTagPos,\n rgx1 = new RegExp('^ {0,3}(<' + blockTags[i] + '\\\\b[^>]*>)', 'im'),\n patLeft = '<' + blockTags[i] + '\\\\b[^>]*>',\n patRight = '' + blockTags[i] + '>';\n // 1. Look for the first position of the first opening HTML tag in the text\n while ((opTagPos = showdown.helper.regexIndexOf(text, rgx1)) !== -1) {\n\n // if the HTML tag is \\ escaped, we need to escape it and break\n\n\n //2. Split the text in that position\n var subTexts = showdown.helper.splitAtIndex(text, opTagPos),\n //3. Match recursively\n newSubText1 = showdown.helper.replaceRecursiveRegExp(subTexts[1], repFunc, patLeft, patRight, 'im');\n\n // prevent an infinite loop\n if (newSubText1 === subTexts[1]) {\n break;\n }\n text = subTexts[0].concat(newSubText1);\n }\n }\n // HR SPECIAL CASE\n text = text.replace(/(\\n {0,3}(<(hr)\\b([^<>])*?\\/?>)[ \\t]*(?=\\n{2,}))/g,\n showdown.subParser('hashElement')(text, options, globals));\n\n // Special case for standalone HTML comments\n text = showdown.helper.replaceRecursiveRegExp(text, function (txt) {\n return '\\n\\n¨K' + (globals.gHtmlBlocks.push(txt) - 1) + 'K\\n\\n';\n }, '^ {0,3}', 'gm');\n\n // PHP and ASP-style processor instructions (...?> and <%...%>)\n text = text.replace(/(?:\\n\\n)( {0,3}(?:<([?%])[^\\r]*?\\2>)[ \\t]*(?=\\n{2,}))/g,\n showdown.subParser('hashElement')(text, options, globals));\n\n text = globals.converter._dispatch('hashHTMLBlocks.after', text, options, globals);\n return text;\n});\n\r\n/**\n * Hash span elements that should not be parsed as markdown\n */\nshowdown.subParser('hashHTMLSpans', function (text, options, globals) {\n 'use strict';\n text = globals.converter._dispatch('hashHTMLSpans.before', text, options, globals);\n\n function hashHTMLSpan (html) {\n return '¨C' + (globals.gHtmlSpans.push(html) - 1) + 'C';\n }\n\n // Hash Self Closing tags\n text = text.replace(/<[^>]+?\\/>/gi, function (wm) {\n return hashHTMLSpan(wm);\n });\n\n // Hash tags without properties\n text = text.replace(/<([^>]+?)>[\\s\\S]*?<\\/\\1>/g, function (wm) {\n return hashHTMLSpan(wm);\n });\n\n // Hash tags with properties\n text = text.replace(/<([^>]+?)\\s[^>]+?>[\\s\\S]*?<\\/\\1>/g, function (wm) {\n return hashHTMLSpan(wm);\n });\n\n // Hash self closing tags without />\n text = text.replace(/<[^>]+?>/gi, function (wm) {\n return hashHTMLSpan(wm);\n });\n\n /*showdown.helper.matchRecursiveRegExp(text, ']*>', '
', 'gi');*/\n\n text = globals.converter._dispatch('hashHTMLSpans.after', text, options, globals);\n return text;\n});\n\n/**\n * Unhash HTML spans\n */\nshowdown.subParser('unhashHTMLSpans', function (text, options, globals) {\n 'use strict';\n text = globals.converter._dispatch('unhashHTMLSpans.before', text, options, globals);\n\n for (var i = 0; i < globals.gHtmlSpans.length; ++i) {\n var repText = globals.gHtmlSpans[i],\n // limiter to prevent infinite loop (assume 10 as limit for recurse)\n limit = 0;\n\n while (/¨C(\\d+)C/.test(repText)) {\n var num = RegExp.$1;\n repText = repText.replace('¨C' + num + 'C', globals.gHtmlSpans[num]);\n if (limit === 10) {\n console.error('maximum nesting of 10 spans reached!!!');\n break;\n }\n ++limit;\n }\n text = text.replace('¨C' + i + 'C', repText);\n }\n\n text = globals.converter._dispatch('unhashHTMLSpans.after', text, options, globals);\n return text;\n});\n\r\n/**\n * Hash and escape elements that should not be parsed as markdown\n */\nshowdown.subParser('hashPreCodeTags', function (text, options, globals) {\n 'use strict';\n text = globals.converter._dispatch('hashPreCodeTags.before', text, options, globals);\n\n var repFunc = function (wholeMatch, match, left, right) {\n // encode html entities\n var codeblock = left + showdown.subParser('encodeCode')(match, options, globals) + right;\n return '\\n\\n¨G' + (globals.ghCodeBlocks.push({text: wholeMatch, codeblock: codeblock}) - 1) + 'G\\n\\n';\n };\n\n // Hash \n text = showdown.helper.replaceRecursiveRegExp(text, repFunc, '^ {0,3}]*>\\\\s*]*>', '^ {0,3}
\\\\s*
', 'gim');\n\n text = globals.converter._dispatch('hashPreCodeTags.after', text, options, globals);\n return text;\n});\n\r\nshowdown.subParser('headers', function (text, options, globals) {\n 'use strict';\n\n text = globals.converter._dispatch('headers.before', text, options, globals);\n\n var headerLevelStart = (isNaN(parseInt(options.headerLevelStart))) ? 1 : parseInt(options.headerLevelStart),\n\n // Set text-style headers:\n //\tHeader 1\n //\t========\n //\n //\tHeader 2\n //\t--------\n //\n setextRegexH1 = (options.smoothLivePreview) ? /^(.+)[ \\t]*\\n={2,}[ \\t]*\\n+/gm : /^(.+)[ \\t]*\\n=+[ \\t]*\\n+/gm,\n setextRegexH2 = (options.smoothLivePreview) ? /^(.+)[ \\t]*\\n-{2,}[ \\t]*\\n+/gm : /^(.+)[ \\t]*\\n-+[ \\t]*\\n+/gm;\n\n text = text.replace(setextRegexH1, function (wholeMatch, m1) {\n\n var spanGamut = showdown.subParser('spanGamut')(m1, options, globals),\n hID = (options.noHeaderId) ? '' : ' id=\"' + headerId(m1) + '\"',\n hLevel = headerLevelStart,\n hashBlock = '' + spanGamut + ' ';\n return showdown.subParser('hashBlock')(hashBlock, options, globals);\n });\n\n text = text.replace(setextRegexH2, function (matchFound, m1) {\n var spanGamut = showdown.subParser('spanGamut')(m1, options, globals),\n hID = (options.noHeaderId) ? '' : ' id=\"' + headerId(m1) + '\"',\n hLevel = headerLevelStart + 1,\n hashBlock = '' + spanGamut + ' ';\n return showdown.subParser('hashBlock')(hashBlock, options, globals);\n });\n\n // atx-style headers:\n // # Header 1\n // ## Header 2\n // ## Header 2 with closing hashes ##\n // ...\n // ###### Header 6\n //\n var atxStyle = (options.requireSpaceBeforeHeadingText) ? /^(#{1,6})[ \\t]+(.+?)[ \\t]*#*\\n+/gm : /^(#{1,6})[ \\t]*(.+?)[ \\t]*#*\\n+/gm;\n\n text = text.replace(atxStyle, function (wholeMatch, m1, m2) {\n var hText = m2;\n if (options.customizedHeaderId) {\n hText = m2.replace(/\\s?\\{([^{]+?)}\\s*$/, '');\n }\n\n var span = showdown.subParser('spanGamut')(hText, options, globals),\n hID = (options.noHeaderId) ? '' : ' id=\"' + headerId(m2) + '\"',\n hLevel = headerLevelStart - 1 + m1.length,\n header = '' + span + ' ';\n\n return showdown.subParser('hashBlock')(header, options, globals);\n });\n\n function headerId (m) {\n var title,\n prefix;\n\n // It is separate from other options to allow combining prefix and customized\n if (options.customizedHeaderId) {\n var match = m.match(/\\{([^{]+?)}\\s*$/);\n if (match && match[1]) {\n m = match[1];\n }\n }\n\n title = m;\n\n // Prefix id to prevent causing inadvertent pre-existing style matches.\n if (showdown.helper.isString(options.prefixHeaderId)) {\n prefix = options.prefixHeaderId;\n } else if (options.prefixHeaderId === true) {\n prefix = 'section-';\n } else {\n prefix = '';\n }\n\n if (!options.rawPrefixHeaderId) {\n title = prefix + title;\n }\n\n if (options.ghCompatibleHeaderId) {\n title = title\n .replace(/ /g, '-')\n // replace previously escaped chars (&, ¨ and $)\n .replace(/&/g, '')\n .replace(/¨T/g, '')\n .replace(/¨D/g, '')\n // replace rest of the chars (&~$ are repeated as they might have been escaped)\n // borrowed from github's redcarpet (some they should produce similar results)\n .replace(/[&+$,\\/:;=?@\"#{}|^¨~\\[\\]`\\\\*)(%.!'<>]/g, '')\n .toLowerCase();\n } else if (options.rawHeaderId) {\n title = title\n .replace(/ /g, '-')\n // replace previously escaped chars (&, ¨ and $)\n .replace(/&/g, '&')\n .replace(/¨T/g, '¨')\n .replace(/¨D/g, '$')\n // replace \" and '\n .replace(/[\"']/g, '-')\n .toLowerCase();\n } else {\n title = title\n .replace(/[^\\w]/g, '')\n .toLowerCase();\n }\n\n if (options.rawPrefixHeaderId) {\n title = prefix + title;\n }\n\n if (globals.hashLinkCounts[title]) {\n title = title + '-' + (globals.hashLinkCounts[title]++);\n } else {\n globals.hashLinkCounts[title] = 1;\n }\n return title;\n }\n\n text = globals.converter._dispatch('headers.after', text, options, globals);\n return text;\n});\n\r\n/**\n * Turn Markdown link shortcuts into XHTML tags.\n */\nshowdown.subParser('horizontalRule', function (text, options, globals) {\n 'use strict';\n text = globals.converter._dispatch('horizontalRule.before', text, options, globals);\n\n var key = showdown.subParser('hashBlock')('
', options, globals);\n text = text.replace(/^ {0,2}( ?-){3,}[ \\t]*$/gm, key);\n text = text.replace(/^ {0,2}( ?\\*){3,}[ \\t]*$/gm, key);\n text = text.replace(/^ {0,2}( ?_){3,}[ \\t]*$/gm, key);\n\n text = globals.converter._dispatch('horizontalRule.after', text, options, globals);\n return text;\n});\n\r\n/**\n * Turn Markdown image shortcuts into tags.\n */\nshowdown.subParser('images', function (text, options, globals) {\n 'use strict';\n\n text = globals.converter._dispatch('images.before', text, options, globals);\n\n var inlineRegExp = /!\\[([^\\]]*?)][ \\t]*()\\([ \\t]?([\\S]+?(?:\\([\\S]*?\\)[\\S]*?)?)>?(?: =([*\\d]+[A-Za-z%]{0,4})x([*\\d]+[A-Za-z%]{0,4}))?[ \\t]*(?:([\"'])([^\"]*?)\\6)?[ \\t]?\\)/g,\n crazyRegExp = /!\\[([^\\]]*?)][ \\t]*()\\([ \\t]?<([^>]*)>(?: =([*\\d]+[A-Za-z%]{0,4})x([*\\d]+[A-Za-z%]{0,4}))?[ \\t]*(?:(?:([\"'])([^\"]*?)\\6))?[ \\t]?\\)/g,\n base64RegExp = /!\\[([^\\]]*?)][ \\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,\n referenceRegExp = /!\\[([^\\]]*?)] ?(?:\\n *)?\\[([\\s\\S]*?)]()()()()()/g,\n refShortcutRegExp = /!\\[([^\\[\\]]+)]()()()()()/g;\n\n function writeImageTagBase64 (wholeMatch, altText, linkId, url, width, height, m5, title) {\n url = url.replace(/\\s/g, '');\n return writeImageTag (wholeMatch, altText, linkId, url, width, height, m5, title);\n }\n\n function writeImageTag (wholeMatch, altText, linkId, url, width, height, m5, title) {\n\n var gUrls = globals.gUrls,\n gTitles = globals.gTitles,\n gDims = globals.gDimensions;\n\n linkId = linkId.toLowerCase();\n\n if (!title) {\n title = '';\n }\n // Special case for explicit empty url\n if (wholeMatch.search(/\\(\\s*>? ?(['\"].*['\"])?\\)$/m) > -1) {\n url = '';\n\n } else if (url === '' || url === null) {\n if (linkId === '' || linkId === null) {\n // lower-case and turn embedded newlines into spaces\n linkId = altText.toLowerCase().replace(/ ?\\n/g, ' ');\n }\n url = '#' + linkId;\n\n if (!showdown.helper.isUndefined(gUrls[linkId])) {\n url = gUrls[linkId];\n if (!showdown.helper.isUndefined(gTitles[linkId])) {\n title = gTitles[linkId];\n }\n if (!showdown.helper.isUndefined(gDims[linkId])) {\n width = gDims[linkId].width;\n height = gDims[linkId].height;\n }\n } else {\n return wholeMatch;\n }\n }\n\n altText = altText\n .replace(/\"/g, '"')\n //altText = showdown.helper.escapeCharacters(altText, '*_', false);\n .replace(showdown.helper.regexes.asteriskDashAndColon, showdown.helper.escapeCharactersCallback);\n //url = showdown.helper.escapeCharacters(url, '*_', false);\n url = url.replace(showdown.helper.regexes.asteriskDashAndColon, showdown.helper.escapeCharactersCallback);\n var result = '';\n\n return result;\n }\n\n // First, handle reference-style labeled images: ![alt text][id]\n text = text.replace(referenceRegExp, writeImageTag);\n\n // Next, handle inline images: ![alt text](url =x \"optional title\")\n\n // base64 encoded images\n text = text.replace(base64RegExp, writeImageTagBase64);\n\n // cases with crazy urls like ./image/cat1).png\n text = text.replace(crazyRegExp, writeImageTag);\n\n // normal cases\n text = text.replace(inlineRegExp, writeImageTag);\n\n // handle reference-style shortcuts: ![img text]\n text = text.replace(refShortcutRegExp, writeImageTag);\n\n text = globals.converter._dispatch('images.after', text, options, globals);\n return text;\n});\n\r\nshowdown.subParser('italicsAndBold', function (text, options, globals) {\n 'use strict';\n\n text = globals.converter._dispatch('italicsAndBold.before', text, options, globals);\n\n // it's faster to have 3 separate regexes for each case than have just one\n // because of backtracing, in some cases, it could lead to an exponential effect\n // called \"catastrophic backtrace\". Ominous!\n\n function parseInside (txt, left, right) {\n /*\n if (options.simplifiedAutoLink) {\n txt = showdown.subParser('simplifiedAutoLinks')(txt, options, globals);\n }\n */\n return left + txt + right;\n }\n\n // Parse underscores\n if (options.literalMidWordUnderscores) {\n text = text.replace(/\\b___(\\S[\\s\\S]*?)___\\b/g, function (wm, txt) {\n return parseInside (txt, '', '');\n });\n text = text.replace(/\\b__(\\S[\\s\\S]*?)__\\b/g, function (wm, txt) {\n return parseInside (txt, '', '');\n });\n text = text.replace(/\\b_(\\S[\\s\\S]*?)_\\b/g, function (wm, txt) {\n return parseInside (txt, '', '');\n });\n } else {\n text = text.replace(/___(\\S[\\s\\S]*?)___/g, function (wm, m) {\n return (/\\S$/.test(m)) ? parseInside (m, '', '') : wm;\n });\n text = text.replace(/__(\\S[\\s\\S]*?)__/g, function (wm, m) {\n return (/\\S$/.test(m)) ? parseInside (m, '', '') : wm;\n });\n text = text.replace(/_([^\\s_][\\s\\S]*?)_/g, function (wm, m) {\n // !/^_[^_]/.test(m) - test if it doesn't start with __ (since it seems redundant, we removed it)\n return (/\\S$/.test(m)) ? parseInside (m, '', '') : wm;\n });\n }\n\n // Now parse asterisks\n if (options.literalMidWordAsterisks) {\n text = text.replace(/([^*]|^)\\B\\*\\*\\*(\\S[\\s\\S]*?)\\*\\*\\*\\B(?!\\*)/g, function (wm, lead, txt) {\n return parseInside (txt, lead + '', '');\n });\n text = text.replace(/([^*]|^)\\B\\*\\*(\\S[\\s\\S]*?)\\*\\*\\B(?!\\*)/g, function (wm, lead, txt) {\n return parseInside (txt, lead + '', '');\n });\n text = text.replace(/([^*]|^)\\B\\*(\\S[\\s\\S]*?)\\*\\B(?!\\*)/g, function (wm, lead, txt) {\n return parseInside (txt, lead + '', '');\n });\n } else {\n text = text.replace(/\\*\\*\\*(\\S[\\s\\S]*?)\\*\\*\\*/g, function (wm, m) {\n return (/\\S$/.test(m)) ? parseInside (m, '', '') : wm;\n });\n text = text.replace(/\\*\\*(\\S[\\s\\S]*?)\\*\\*/g, function (wm, m) {\n return (/\\S$/.test(m)) ? parseInside (m, '', '') : wm;\n });\n text = text.replace(/\\*([^\\s*][\\s\\S]*?)\\*/g, function (wm, m) {\n // !/^\\*[^*]/.test(m) - test if it doesn't start with ** (since it seems redundant, we removed it)\n return (/\\S$/.test(m)) ? parseInside (m, '', '') : wm;\n });\n }\n\n\n text = globals.converter._dispatch('italicsAndBold.after', text, options, globals);\n return text;\n});\n\r\n/**\n * Form HTML ordered (numbered) and unordered (bulleted) lists.\n */\nshowdown.subParser('lists', function (text, options, globals) {\n 'use strict';\n\n /**\n * Process the contents of a single ordered or unordered list, splitting it\n * into individual list items.\n * @param {string} listStr\n * @param {boolean} trimTrailing\n * @returns {string}\n */\n function processListItems (listStr, trimTrailing) {\n // The $g_list_level global keeps track of when we're inside a list.\n // Each time we enter a list, we increment it; when we leave a list,\n // we decrement. If it's zero, we're not in a list anymore.\n //\n // We do this because when we're not inside a list, we want to treat\n // something like this:\n //\n // I recommend upgrading to version\n // 8. Oops, now this line is treated\n // as a sub-list.\n //\n // As a single paragraph, despite the fact that the second line starts\n // with a digit-period-space sequence.\n //\n // Whereas when we're inside a list (or sub-list), that line will be\n // treated as the start of a sub-list. What a kludge, huh? This is\n // an aspect of Markdown's syntax that's hard to parse perfectly\n // without resorting to mind-reading. Perhaps the solution is to\n // change the syntax rules such that sub-lists must start with a\n // starting cardinal number; e.g. \"1.\" or \"a.\".\n globals.gListLevel++;\n\n // trim trailing blank lines:\n listStr = listStr.replace(/\\n{2,}$/, '\\n');\n\n // attacklab: add sentinel to emulate \\z\n listStr += '¨0';\n\n var rgx = /(\\n)?(^ {0,3})([*+-]|\\d+[.])[ \\t]+((\\[(x|X| )?])?[ \\t]*[^\\r]+?(\\n{1,2}))(?=\\n*(¨0| {0,3}([*+-]|\\d+[.])[ \\t]+))/gm,\n isParagraphed = (/\\n[ \\t]*\\n(?!¨0)/.test(listStr));\n\n // Since version 1.5, nesting sublists requires 4 spaces (or 1 tab) indentation,\n // which is a syntax breaking change\n // activating this option reverts to old behavior\n if (options.disableForced4SpacesIndentedSublists) {\n rgx = /(\\n)?(^ {0,3})([*+-]|\\d+[.])[ \\t]+((\\[(x|X| )?])?[ \\t]*[^\\r]+?(\\n{1,2}))(?=\\n*(¨0|\\2([*+-]|\\d+[.])[ \\t]+))/gm;\n }\n\n listStr = listStr.replace(rgx, function (wholeMatch, m1, m2, m3, m4, taskbtn, checked) {\n checked = (checked && checked.trim() !== '');\n\n var item = showdown.subParser('outdent')(m4, options, globals),\n bulletStyle = '';\n\n // Support for github tasklists\n if (taskbtn && options.tasklists) {\n bulletStyle = ' class=\"task-list-item\" style=\"list-style-type: none;\"';\n item = item.replace(/^[ \\t]*\\[(x|X| )?]/m, function () {\n var otp = '';\n return otp;\n });\n }\n\n // ISSUE #312\n // This input: - - - a\n // causes trouble to the parser, since it interprets it as:\n // - a
\n // instead of:\n // - - - a
\n // So, to prevent it, we will put a marker (¨A)in the beginning of the line\n // Kind of hackish/monkey patching, but seems more effective than overcomplicating the list parser\n item = item.replace(/^([-*+]|\\d\\.)[ \\t]+[\\S\\n ]*/g, function (wm2) {\n return '¨A' + wm2;\n });\n\n // m1 - Leading line or\n // Has a double return (multi paragraph) or\n // Has sublist\n if (m1 || (item.search(/\\n{2,}/) > -1)) {\n item = showdown.subParser('githubCodeBlocks')(item, options, globals);\n item = showdown.subParser('blockGamut')(item, options, globals);\n } else {\n // Recursion for sub-lists:\n item = showdown.subParser('lists')(item, options, globals);\n item = item.replace(/\\n$/, ''); // chomp(item)\n item = showdown.subParser('hashHTMLBlocks')(item, options, globals);\n\n // Colapse double linebreaks\n item = item.replace(/\\n\\n+/g, '\\n\\n');\n if (isParagraphed) {\n item = showdown.subParser('paragraphs')(item, options, globals);\n } else {\n item = showdown.subParser('spanGamut')(item, options, globals);\n }\n }\n\n // now we need to remove the marker (¨A)\n item = item.replace('¨A', '');\n // we can finally wrap the line in list item tags\n item = '' + item + ' \\n';\n\n return item;\n });\n\n // attacklab: strip sentinel\n listStr = listStr.replace(/¨0/g, '');\n\n globals.gListLevel--;\n\n if (trimTrailing) {\n listStr = listStr.replace(/\\s+$/, '');\n }\n\n return listStr;\n }\n\n function styleStartNumber (list, listType) {\n // check if ol and starts by a number different than 1\n if (listType === 'ol') {\n var res = list.match(/^ *(\\d+)\\./);\n if (res && res[1] !== '1') {\n return ' start=\"' + res[1] + '\"';\n }\n }\n return '';\n }\n\n /**\n * Check and parse consecutive lists (better fix for issue #142)\n * @param {string} list\n * @param {string} listType\n * @param {boolean} trimTrailing\n * @returns {string}\n */\n function parseConsecutiveLists (list, listType, trimTrailing) {\n // check if we caught 2 or more consecutive lists by mistake\n // we use the counterRgx, meaning if listType is UL we look for OL and vice versa\n var olRgx = (options.disableForced4SpacesIndentedSublists) ? /^ ?\\d+\\.[ \\t]/gm : /^ {0,3}\\d+\\.[ \\t]/gm,\n ulRgx = (options.disableForced4SpacesIndentedSublists) ? /^ ?[*+-][ \\t]/gm : /^ {0,3}[*+-][ \\t]/gm,\n counterRxg = (listType === 'ul') ? olRgx : ulRgx,\n result = '';\n\n if (list.search(counterRxg) !== -1) {\n (function parseCL (txt) {\n var pos = txt.search(counterRxg),\n style = styleStartNumber(list, listType);\n if (pos !== -1) {\n // slice\n result += '\\n\\n<' + listType + style + '>\\n' + processListItems(txt.slice(0, pos), !!trimTrailing) + '' + listType + '>\\n';\n\n // invert counterType and listType\n listType = (listType === 'ul') ? 'ol' : 'ul';\n counterRxg = (listType === 'ul') ? olRgx : ulRgx;\n\n //recurse\n parseCL(txt.slice(pos));\n } else {\n result += '\\n\\n<' + listType + style + '>\\n' + processListItems(txt, !!trimTrailing) + '' + listType + '>\\n';\n }\n })(list);\n } else {\n var style = styleStartNumber(list, listType);\n result = '\\n\\n<' + listType + style + '>\\n' + processListItems(list, !!trimTrailing) + '' + listType + '>\\n';\n }\n\n return result;\n }\n\n /** Start of list parsing **/\n text = globals.converter._dispatch('lists.before', text, options, globals);\n // add sentinel to hack around khtml/safari bug:\n // http://bugs.webkit.org/show_bug.cgi?id=11231\n text += '¨0';\n\n if (globals.gListLevel) {\n text = text.replace(/^(( {0,3}([*+-]|\\d+[.])[ \\t]+)[^\\r]+?(¨0|\\n{2,}(?=\\S)(?![ \\t]*(?:[*+-]|\\d+[.])[ \\t]+)))/gm,\n function (wholeMatch, list, m2) {\n var listType = (m2.search(/[*+-]/g) > -1) ? 'ul' : 'ol';\n return parseConsecutiveLists(list, listType, true);\n }\n );\n } else {\n text = text.replace(/(\\n\\n|^\\n?)(( {0,3}([*+-]|\\d+[.])[ \\t]+)[^\\r]+?(¨0|\\n{2,}(?=\\S)(?![ \\t]*(?:[*+-]|\\d+[.])[ \\t]+)))/gm,\n function (wholeMatch, m1, list, m3) {\n var listType = (m3.search(/[*+-]/g) > -1) ? 'ul' : 'ol';\n return parseConsecutiveLists(list, listType, false);\n }\n );\n }\n\n // strip sentinel\n text = text.replace(/¨0/, '');\n text = globals.converter._dispatch('lists.after', text, options, globals);\n return text;\n});\n\r\n/**\n * Parse metadata at the top of the document\n */\nshowdown.subParser('metadata', function (text, options, globals) {\n 'use strict';\n\n if (!options.metadata) {\n return text;\n }\n\n text = globals.converter._dispatch('metadata.before', text, options, globals);\n\n function parseMetadataContents (content) {\n // raw is raw so it's not changed in any way\n globals.metadata.raw = content;\n\n // escape chars forbidden in html attributes\n // double quotes\n content = content\n // ampersand first\n .replace(/&/g, '&')\n // double quotes\n .replace(/\"/g, '"');\n\n content = content.replace(/\\n {4}/g, ' ');\n content.replace(/^([\\S ]+): +([\\s\\S]+?)$/gm, function (wm, key, value) {\n globals.metadata.parsed[key] = value;\n return '';\n });\n }\n\n text = text.replace(/^\\s*«««+(\\S*?)\\n([\\s\\S]+?)\\n»»»+\\n/, function (wholematch, format, content) {\n parseMetadataContents(content);\n return '¨M';\n });\n\n text = text.replace(/^\\s*---+(\\S*?)\\n([\\s\\S]+?)\\n---+\\n/, function (wholematch, format, content) {\n if (format) {\n globals.metadata.format = format;\n }\n parseMetadataContents(content);\n return '¨M';\n });\n\n text = text.replace(/¨M/g, '');\n\n text = globals.converter._dispatch('metadata.after', text, options, globals);\n return text;\n});\n\r\n/**\n * Remove one level of line-leading tabs or spaces\n */\nshowdown.subParser('outdent', function (text, options, globals) {\n 'use strict';\n text = globals.converter._dispatch('outdent.before', text, options, globals);\n\n // attacklab: hack around Konqueror 3.5.4 bug:\n // \"----------bug\".replace(/^-/g,\"\") == \"bug\"\n text = text.replace(/^(\\t|[ ]{1,4})/gm, '¨0'); // attacklab: g_tab_width\n\n // attacklab: clean up hack\n text = text.replace(/¨0/g, '');\n\n text = globals.converter._dispatch('outdent.after', text, options, globals);\n return text;\n});\n\r\n/**\n *\n */\nshowdown.subParser('paragraphs', function (text, options, globals) {\n 'use strict';\n\n text = globals.converter._dispatch('paragraphs.before', text, options, globals);\n // Strip leading and trailing lines:\n text = text.replace(/^\\n+/g, '');\n text = text.replace(/\\n+$/g, '');\n\n var grafs = text.split(/\\n{2,}/g),\n grafsOut = [],\n end = grafs.length; // Wrap tags\n\n for (var i = 0; i < end; i++) {\n var str = grafs[i];\n // if this is an HTML marker, copy it\n if (str.search(/¨(K|G)(\\d+)\\1/g) >= 0) {\n grafsOut.push(str);\n\n // test for presence of characters to prevent empty lines being parsed\n // as paragraphs (resulting in undesired extra empty paragraphs)\n } else if (str.search(/\\S/) >= 0) {\n str = showdown.subParser('spanGamut')(str, options, globals);\n str = str.replace(/^([ \\t]*)/g, '
');\n str += '
';\n grafsOut.push(str);\n }\n }\n\n /** Unhashify HTML blocks */\n end = grafsOut.length;\n for (i = 0; i < end; i++) {\n var blockText = '',\n grafsOutIt = grafsOut[i],\n codeFlag = false;\n // if this is a marker for an html block...\n // use RegExp.test instead of string.search because of QML bug\n while (/¨(K|G)(\\d+)\\1/.test(grafsOutIt)) {\n var delim = RegExp.$1,\n num = RegExp.$2;\n\n if (delim === 'K') {\n blockText = globals.gHtmlBlocks[num];\n } else {\n // we need to check if ghBlock is a false positive\n if (codeFlag) {\n // use encoded version of all text\n blockText = showdown.subParser('encodeCode')(globals.ghCodeBlocks[num].text, options, globals);\n } else {\n blockText = globals.ghCodeBlocks[num].codeblock;\n }\n }\n blockText = blockText.replace(/\\$/g, '$$$$'); // Escape any dollar signs\n\n grafsOutIt = grafsOutIt.replace(/(\\n\\n)?¨(K|G)\\d+\\2(\\n\\n)?/, blockText);\n // Check if grafsOutIt is a pre->code\n if (/^]*>\\s*]*>/.test(grafsOutIt)) {\n codeFlag = true;\n }\n }\n grafsOut[i] = grafsOutIt;\n }\n text = grafsOut.join('\\n');\n // Strip leading and trailing lines:\n text = text.replace(/^\\n+/g, '');\n text = text.replace(/\\n+$/g, '');\n return globals.converter._dispatch('paragraphs.after', text, options, globals);\n});\n\r\n/**\n * Run extension\n */\nshowdown.subParser('runExtension', function (ext, text, options, globals) {\n 'use strict';\n\n if (ext.filter) {\n text = ext.filter(text, globals.converter, options);\n\n } else if (ext.regex) {\n // TODO remove this when old extension loading mechanism is deprecated\n var re = ext.regex;\n if (!(re instanceof RegExp)) {\n re = new RegExp(re, 'g');\n }\n text = text.replace(re, ext.replace);\n }\n\n return text;\n});\n\r\n/**\n * These are all the transformations that occur *within* block-level\n * tags like paragraphs, headers, and list items.\n */\nshowdown.subParser('spanGamut', function (text, options, globals) {\n 'use strict';\n\n text = globals.converter._dispatch('spanGamut.before', text, options, globals);\n text = showdown.subParser('codeSpans')(text, options, globals);\n text = showdown.subParser('escapeSpecialCharsWithinTagAttributes')(text, options, globals);\n text = showdown.subParser('encodeBackslashEscapes')(text, options, globals);\n\n // Process anchor and image tags. Images must come first,\n // because ![foo][f] looks like an anchor.\n text = showdown.subParser('images')(text, options, globals);\n text = showdown.subParser('anchors')(text, options, globals);\n\n // Make links out of things like ` `\n // Must come after anchors, because you can use < and >\n // delimiters in inline links like [this]().\n text = showdown.subParser('autoLinks')(text, options, globals);\n text = showdown.subParser('simplifiedAutoLinks')(text, options, globals);\n text = showdown.subParser('emoji')(text, options, globals);\n text = showdown.subParser('underline')(text, options, globals);\n text = showdown.subParser('italicsAndBold')(text, options, globals);\n text = showdown.subParser('strikethrough')(text, options, globals);\n text = showdown.subParser('ellipsis')(text, options, globals);\n\n // we need to hash HTML tags inside spans\n text = showdown.subParser('hashHTMLSpans')(text, options, globals);\n\n // now we encode amps and angles\n text = showdown.subParser('encodeAmpsAndAngles')(text, options, globals);\n\n // Do hard breaks\n if (options.simpleLineBreaks) {\n // GFM style hard breaks\n // only add line breaks if the text does not contain a block (special case for lists)\n if (!/\\n\\n¨K/.test(text)) {\n text = text.replace(/\\n+/g, '
\\n');\n }\n } else {\n // Vanilla hard breaks\n text = text.replace(/ +\\n/g, '
\\n');\n }\n\n text = globals.converter._dispatch('spanGamut.after', text, options, globals);\n return text;\n});\n\r\nshowdown.subParser('strikethrough', function (text, options, globals) {\n 'use strict';\n\n function parseInside (txt) {\n if (options.simplifiedAutoLink) {\n txt = showdown.subParser('simplifiedAutoLinks')(txt, options, globals);\n }\n return '' + txt + '';\n }\n\n if (options.strikethrough) {\n text = globals.converter._dispatch('strikethrough.before', text, options, globals);\n text = text.replace(/(?:~){2}([\\s\\S]+?)(?:~){2}/g, function (wm, txt) { return parseInside(txt); });\n text = globals.converter._dispatch('strikethrough.after', text, options, globals);\n }\n\n return text;\n});\n\r\n/**\n * Strips link definitions from text, stores the URLs and titles in\n * hash references.\n * Link defs are in the form: ^[id]: url \"optional title\"\n */\nshowdown.subParser('stripLinkDefinitions', function (text, options, globals) {\n 'use strict';\n\n var regex = /^ {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,\n base64Regex = /^ {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;\n\n // attacklab: sentinel workarounds for lack of \\A and \\Z, safari\\khtml bug\n text += '¨0';\n\n var replaceFunc = function (wholeMatch, linkId, url, width, height, blankLines, title) {\n linkId = linkId.toLowerCase();\n if (url.match(/^data:.+?\\/.+?;base64,/)) {\n // remove newlines\n globals.gUrls[linkId] = url.replace(/\\s/g, '');\n } else {\n globals.gUrls[linkId] = showdown.subParser('encodeAmpsAndAngles')(url, options, globals); // Link IDs are case-insensitive\n }\n\n if (blankLines) {\n // Oops, found blank lines, so it's not a title.\n // Put back the parenthetical statement we stole.\n return blankLines + title;\n\n } else {\n if (title) {\n globals.gTitles[linkId] = title.replace(/\"|'/g, '"');\n }\n if (options.parseImgDimensions && width && height) {\n globals.gDimensions[linkId] = {\n width: width,\n height: height\n };\n }\n }\n // Completely remove the definition from the text\n return '';\n };\n\n // first we try to find base64 link references\n text = text.replace(base64Regex, replaceFunc);\n\n text = text.replace(regex, replaceFunc);\n\n // attacklab: strip sentinel\n text = text.replace(/¨0/, '');\n\n return text;\n});\n\r\nshowdown.subParser('tables', function (text, options, globals) {\n 'use strict';\n\n if (!options.tables) {\n return text;\n }\n\n var tableRgx = /^ {0,3}\\|?.+\\|.+\\n {0,3}\\|?[ \\t]*:?[ \\t]*(?:[-=]){2,}[ \\t]*:?[ \\t]*\\|[ \\t]*:?[ \\t]*(?:[-=]){2,}[\\s\\S]+?(?:\\n\\n|¨0)/gm,\n //singeColTblRgx = /^ {0,3}\\|.+\\|\\n {0,3}\\|[ \\t]*:?[ \\t]*(?:[-=]){2,}[ \\t]*:?[ \\t]*\\|[ \\t]*\\n(?: {0,3}\\|.+\\|\\n)+(?:\\n\\n|¨0)/gm;\n singeColTblRgx = /^ {0,3}\\|.+\\|[ \\t]*\\n {0,3}\\|[ \\t]*:?[ \\t]*(?:[-=]){2,}[ \\t]*:?[ \\t]*\\|[ \\t]*\\n( {0,3}\\|.+\\|[ \\t]*\\n)*(?:\\n|¨0)/gm;\n\n function parseStyles (sLine) {\n if (/^:[ \\t]*--*$/.test(sLine)) {\n return ' style=\"text-align:left;\"';\n } else if (/^--*[ \\t]*:[ \\t]*$/.test(sLine)) {\n return ' style=\"text-align:right;\"';\n } else if (/^:[ \\t]*--*[ \\t]*:$/.test(sLine)) {\n return ' style=\"text-align:center;\"';\n } else {\n return '';\n }\n }\n\n function parseHeaders (header, style) {\n var id = '';\n header = header.trim();\n // support both tablesHeaderId and tableHeaderId due to error in documentation so we don't break backwards compatibility\n if (options.tablesHeaderId || options.tableHeaderId) {\n id = ' id=\"' + header.replace(/ /g, '_').toLowerCase() + '\"';\n }\n header = showdown.subParser('spanGamut')(header, options, globals);\n\n return '' + header + ' \\n';\n }\n\n function parseCells (cell, style) {\n var subText = showdown.subParser('spanGamut')(cell, options, globals);\n return '' + subText + ' \\n';\n }\n\n function buildTable (headers, cells) {\n var tb = '\\n\\n\\n',\n tblLgn = headers.length;\n\n for (var i = 0; i < tblLgn; ++i) {\n tb += headers[i];\n }\n tb += ' \\n\\n\\n';\n\n for (i = 0; i < cells.length; ++i) {\n tb += '\\n';\n for (var ii = 0; ii < tblLgn; ++ii) {\n tb += cells[i][ii];\n }\n tb += ' \\n';\n }\n tb += '\\n
\\n';\n return tb;\n }\n\n function parseTable (rawTable) {\n var i, tableLines = rawTable.split('\\n');\n\n for (i = 0; i < tableLines.length; ++i) {\n // strip wrong first and last column if wrapped tables are used\n if (/^ {0,3}\\|/.test(tableLines[i])) {\n tableLines[i] = tableLines[i].replace(/^ {0,3}\\|/, '');\n }\n if (/\\|[ \\t]*$/.test(tableLines[i])) {\n tableLines[i] = tableLines[i].replace(/\\|[ \\t]*$/, '');\n }\n // parse code spans first, but we only support one line code spans\n tableLines[i] = showdown.subParser('codeSpans')(tableLines[i], options, globals);\n }\n\n var rawHeaders = tableLines[0].split('|').map(function (s) { return s.trim();}),\n rawStyles = tableLines[1].split('|').map(function (s) { return s.trim();}),\n rawCells = [],\n headers = [],\n styles = [],\n cells = [];\n\n tableLines.shift();\n tableLines.shift();\n\n for (i = 0; i < tableLines.length; ++i) {\n if (tableLines[i].trim() === '') {\n continue;\n }\n rawCells.push(\n tableLines[i]\n .split('|')\n .map(function (s) {\n return s.trim();\n })\n );\n }\n\n if (rawHeaders.length < rawStyles.length) {\n return rawTable;\n }\n\n for (i = 0; i < rawStyles.length; ++i) {\n styles.push(parseStyles(rawStyles[i]));\n }\n\n for (i = 0; i < rawHeaders.length; ++i) {\n if (showdown.helper.isUndefined(styles[i])) {\n styles[i] = '';\n }\n headers.push(parseHeaders(rawHeaders[i], styles[i]));\n }\n\n for (i = 0; i < rawCells.length; ++i) {\n var row = [];\n for (var ii = 0; ii < headers.length; ++ii) {\n if (showdown.helper.isUndefined(rawCells[i][ii])) {\n\n }\n row.push(parseCells(rawCells[i][ii], styles[ii]));\n }\n cells.push(row);\n }\n\n return buildTable(headers, cells);\n }\n\n text = globals.converter._dispatch('tables.before', text, options, globals);\n\n // find escaped pipe characters\n text = text.replace(/\\\\(\\|)/g, showdown.helper.escapeCharactersCallback);\n\n // parse multi column tables\n text = text.replace(tableRgx, parseTable);\n\n // parse one column tables\n text = text.replace(singeColTblRgx, parseTable);\n\n text = globals.converter._dispatch('tables.after', text, options, globals);\n\n return text;\n});\n\r\nshowdown.subParser('underline', function (text, options, globals) {\n 'use strict';\n\n if (!options.underline) {\n return text;\n }\n\n text = globals.converter._dispatch('underline.before', text, options, globals);\n\n if (options.literalMidWordUnderscores) {\n text = text.replace(/\\b___(\\S[\\s\\S]*?)___\\b/g, function (wm, txt) {\n return '' + txt + '';\n });\n text = text.replace(/\\b__(\\S[\\s\\S]*?)__\\b/g, function (wm, txt) {\n return '' + txt + '';\n });\n } else {\n text = text.replace(/___(\\S[\\s\\S]*?)___/g, function (wm, m) {\n return (/\\S$/.test(m)) ? '' + m + '' : wm;\n });\n text = text.replace(/__(\\S[\\s\\S]*?)__/g, function (wm, m) {\n return (/\\S$/.test(m)) ? '' + m + '' : wm;\n });\n }\n\n // escape remaining underscores to prevent them being parsed by italic and bold\n text = text.replace(/(_)/g, showdown.helper.escapeCharactersCallback);\n\n text = globals.converter._dispatch('underline.after', text, options, globals);\n\n return text;\n});\n\r\n/**\n * Swap back in all the special characters we've hidden.\n */\nshowdown.subParser('unescapeSpecialChars', function (text, options, globals) {\n 'use strict';\n text = globals.converter._dispatch('unescapeSpecialChars.before', text, options, globals);\n\n text = text.replace(/¨E(\\d+)E/g, function (wholeMatch, m1) {\n var charCodeToReplace = parseInt(m1);\n return String.fromCharCode(charCodeToReplace);\n });\n\n text = globals.converter._dispatch('unescapeSpecialChars.after', text, options, globals);\n return text;\n});\n\r\nshowdown.subParser('makeMarkdown.blockquote', function (node, globals) {\n 'use strict';\n\n var txt = '';\n if (node.hasChildNodes()) {\n var children = node.childNodes,\n childrenLength = children.length;\n\n for (var i = 0; i < childrenLength; ++i) {\n var innerTxt = showdown.subParser('makeMarkdown.node')(children[i], globals);\n\n if (innerTxt === '') {\n continue;\n }\n txt += innerTxt;\n }\n }\n // cleanup\n txt = txt.trim();\n txt = '> ' + txt.split('\\n').join('\\n> ');\n return txt;\n});\n\r\nshowdown.subParser('makeMarkdown.codeBlock', function (node, globals) {\n 'use strict';\n\n var lang = node.getAttribute('language'),\n num = node.getAttribute('precodenum');\n return '```' + lang + '\\n' + globals.preList[num] + '\\n```';\n});\n\r\nshowdown.subParser('makeMarkdown.codeSpan', function (node) {\n 'use strict';\n\n return '`' + node.innerHTML + '`';\n});\n\r\nshowdown.subParser('makeMarkdown.emphasis', function (node, globals) {\n 'use strict';\n\n var txt = '';\n if (node.hasChildNodes()) {\n txt += '*';\n var children = node.childNodes,\n childrenLength = children.length;\n for (var i = 0; i < childrenLength; ++i) {\n txt += showdown.subParser('makeMarkdown.node')(children[i], globals);\n }\n txt += '*';\n }\n return txt;\n});\n\r\nshowdown.subParser('makeMarkdown.header', function (node, globals, headerLevel) {\n 'use strict';\n\n var headerMark = new Array(headerLevel + 1).join('#'),\n txt = '';\n\n if (node.hasChildNodes()) {\n txt = headerMark + ' ';\n var children = node.childNodes,\n childrenLength = children.length;\n\n for (var i = 0; i < childrenLength; ++i) {\n txt += showdown.subParser('makeMarkdown.node')(children[i], globals);\n }\n }\n return txt;\n});\n\r\nshowdown.subParser('makeMarkdown.hr', function () {\n 'use strict';\n\n return '---';\n});\n\r\nshowdown.subParser('makeMarkdown.image', function (node) {\n 'use strict';\n\n var txt = '';\n if (node.hasAttribute('src')) {\n txt += '![' + node.getAttribute('alt') + '](';\n txt += '<' + node.getAttribute('src') + '>';\n if (node.hasAttribute('width') && node.hasAttribute('height')) {\n txt += ' =' + node.getAttribute('width') + 'x' + node.getAttribute('height');\n }\n\n if (node.hasAttribute('title')) {\n txt += ' \"' + node.getAttribute('title') + '\"';\n }\n txt += ')';\n }\n return txt;\n});\n\r\nshowdown.subParser('makeMarkdown.links', function (node, globals) {\n 'use strict';\n\n var txt = '';\n if (node.hasChildNodes() && node.hasAttribute('href')) {\n var children = node.childNodes,\n childrenLength = children.length;\n txt = '[';\n for (var i = 0; i < childrenLength; ++i) {\n txt += showdown.subParser('makeMarkdown.node')(children[i], globals);\n }\n txt += '](';\n txt += '<' + node.getAttribute('href') + '>';\n if (node.hasAttribute('title')) {\n txt += ' \"' + node.getAttribute('title') + '\"';\n }\n txt += ')';\n }\n return txt;\n});\n\r\nshowdown.subParser('makeMarkdown.list', function (node, globals, type) {\n 'use strict';\n\n var txt = '';\n if (!node.hasChildNodes()) {\n return '';\n }\n var listItems = node.childNodes,\n listItemsLenght = listItems.length,\n listNum = node.getAttribute('start') || 1;\n\n for (var i = 0; i < listItemsLenght; ++i) {\n if (typeof listItems[i].tagName === 'undefined' || listItems[i].tagName.toLowerCase() !== 'li') {\n continue;\n }\n\n // define the bullet to use in list\n var bullet = '';\n if (type === 'ol') {\n bullet = listNum.toString() + '. ';\n } else {\n bullet = '- ';\n }\n\n // parse list item\n txt += bullet + showdown.subParser('makeMarkdown.listItem')(listItems[i], globals);\n ++listNum;\n }\n\n // add comment at the end to prevent consecutive lists to be parsed as one\n txt += '\\n\\n';\n return txt.trim();\n});\n\r\nshowdown.subParser('makeMarkdown.listItem', function (node, globals) {\n 'use strict';\n\n var listItemTxt = '';\n\n var children = node.childNodes,\n childrenLenght = children.length;\n\n for (var i = 0; i < childrenLenght; ++i) {\n listItemTxt += showdown.subParser('makeMarkdown.node')(children[i], globals);\n }\n // if it's only one liner, we need to add a newline at the end\n if (!/\\n$/.test(listItemTxt)) {\n listItemTxt += '\\n';\n } else {\n // it's multiparagraph, so we need to indent\n listItemTxt = listItemTxt\n .split('\\n')\n .join('\\n ')\n .replace(/^ {4}$/gm, '')\n .replace(/\\n\\n+/g, '\\n\\n');\n }\n\n return listItemTxt;\n});\n\r\n\n\nshowdown.subParser('makeMarkdown.node', function (node, globals, spansOnly) {\n 'use strict';\n\n spansOnly = spansOnly || false;\n\n var txt = '';\n\n // edge case of text without wrapper paragraph\n if (node.nodeType === 3) {\n return showdown.subParser('makeMarkdown.txt')(node, globals);\n }\n\n // HTML comment\n if (node.nodeType === 8) {\n return '\\n\\n';\n }\n\n // process only node elements\n if (node.nodeType !== 1) {\n return '';\n }\n\n var tagName = node.tagName.toLowerCase();\n\n switch (tagName) {\n\n //\n // BLOCKS\n //\n case 'h1':\n if (!spansOnly) { txt = showdown.subParser('makeMarkdown.header')(node, globals, 1) + '\\n\\n'; }\n break;\n case 'h2':\n if (!spansOnly) { txt = showdown.subParser('makeMarkdown.header')(node, globals, 2) + '\\n\\n'; }\n break;\n case 'h3':\n if (!spansOnly) { txt = showdown.subParser('makeMarkdown.header')(node, globals, 3) + '\\n\\n'; }\n break;\n case 'h4':\n if (!spansOnly) { txt = showdown.subParser('makeMarkdown.header')(node, globals, 4) + '\\n\\n'; }\n break;\n case 'h5':\n if (!spansOnly) { txt = showdown.subParser('makeMarkdown.header')(node, globals, 5) + '\\n\\n'; }\n break;\n case 'h6':\n if (!spansOnly) { txt = showdown.subParser('makeMarkdown.header')(node, globals, 6) + '\\n\\n'; }\n break;\n\n case 'p':\n if (!spansOnly) { txt = showdown.subParser('makeMarkdown.paragraph')(node, globals) + '\\n\\n'; }\n break;\n\n case 'blockquote':\n if (!spansOnly) { txt = showdown.subParser('makeMarkdown.blockquote')(node, globals) + '\\n\\n'; }\n break;\n\n case 'hr':\n if (!spansOnly) { txt = showdown.subParser('makeMarkdown.hr')(node, globals) + '\\n\\n'; }\n break;\n\n case 'ol':\n if (!spansOnly) { txt = showdown.subParser('makeMarkdown.list')(node, globals, 'ol') + '\\n\\n'; }\n break;\n\n case 'ul':\n if (!spansOnly) { txt = showdown.subParser('makeMarkdown.list')(node, globals, 'ul') + '\\n\\n'; }\n break;\n\n case 'precode':\n if (!spansOnly) { txt = showdown.subParser('makeMarkdown.codeBlock')(node, globals) + '\\n\\n'; }\n break;\n\n case 'pre':\n if (!spansOnly) { txt = showdown.subParser('makeMarkdown.pre')(node, globals) + '\\n\\n'; }\n break;\n\n case 'table':\n if (!spansOnly) { txt = showdown.subParser('makeMarkdown.table')(node, globals) + '\\n\\n'; }\n break;\n\n //\n // SPANS\n //\n case 'code':\n txt = showdown.subParser('makeMarkdown.codeSpan')(node, globals);\n break;\n\n case 'em':\n case 'i':\n txt = showdown.subParser('makeMarkdown.emphasis')(node, globals);\n break;\n\n case 'strong':\n case 'b':\n txt = showdown.subParser('makeMarkdown.strong')(node, globals);\n break;\n\n case 'del':\n txt = showdown.subParser('makeMarkdown.strikethrough')(node, globals);\n break;\n\n case 'a':\n txt = showdown.subParser('makeMarkdown.links')(node, globals);\n break;\n\n case 'img':\n txt = showdown.subParser('makeMarkdown.image')(node, globals);\n break;\n\n default:\n txt = node.outerHTML + '\\n\\n';\n }\n\n // common normalization\n // TODO eventually\n\n return txt;\n});\n\r\nshowdown.subParser('makeMarkdown.paragraph', function (node, globals) {\n 'use strict';\n\n var txt = '';\n if (node.hasChildNodes()) {\n var children = node.childNodes,\n childrenLength = children.length;\n for (var i = 0; i < childrenLength; ++i) {\n txt += showdown.subParser('makeMarkdown.node')(children[i], globals);\n }\n }\n\n // some text normalization\n txt = txt.trim();\n\n return txt;\n});\n\r\nshowdown.subParser('makeMarkdown.pre', function (node, globals) {\n 'use strict';\n\n var num = node.getAttribute('prenum');\n return '' + globals.preList[num] + '
';\n});\n\r\nshowdown.subParser('makeMarkdown.strikethrough', function (node, globals) {\n 'use strict';\n\n var txt = '';\n if (node.hasChildNodes()) {\n txt += '~~';\n var children = node.childNodes,\n childrenLength = children.length;\n for (var i = 0; i < childrenLength; ++i) {\n txt += showdown.subParser('makeMarkdown.node')(children[i], globals);\n }\n txt += '~~';\n }\n return txt;\n});\n\r\nshowdown.subParser('makeMarkdown.strong', function (node, globals) {\n 'use strict';\n\n var txt = '';\n if (node.hasChildNodes()) {\n txt += '**';\n var children = node.childNodes,\n childrenLength = children.length;\n for (var i = 0; i < childrenLength; ++i) {\n txt += showdown.subParser('makeMarkdown.node')(children[i], globals);\n }\n txt += '**';\n }\n return txt;\n});\n\r\nshowdown.subParser('makeMarkdown.table', function (node, globals) {\n 'use strict';\n\n var txt = '',\n tableArray = [[], []],\n headings = node.querySelectorAll('thead>tr>th'),\n rows = node.querySelectorAll('tbody>tr'),\n i, ii;\n for (i = 0; i < headings.length; ++i) {\n var headContent = showdown.subParser('makeMarkdown.tableCell')(headings[i], globals),\n allign = '---';\n\n if (headings[i].hasAttribute('style')) {\n var style = headings[i].getAttribute('style').toLowerCase().replace(/\\s/g, '');\n switch (style) {\n case 'text-align:left;':\n allign = ':---';\n break;\n case 'text-align:right;':\n allign = '---:';\n break;\n case 'text-align:center;':\n allign = ':---:';\n break;\n }\n }\n tableArray[0][i] = headContent.trim();\n tableArray[1][i] = allign;\n }\n\n for (i = 0; i < rows.length; ++i) {\n var r = tableArray.push([]) - 1,\n cols = rows[i].getElementsByTagName('td');\n\n for (ii = 0; ii < headings.length; ++ii) {\n var cellContent = ' ';\n if (typeof cols[ii] !== 'undefined') {\n cellContent = showdown.subParser('makeMarkdown.tableCell')(cols[ii], globals);\n }\n tableArray[r].push(cellContent);\n }\n }\n\n var cellSpacesCount = 3;\n for (i = 0; i < tableArray.length; ++i) {\n for (ii = 0; ii < tableArray[i].length; ++ii) {\n var strLen = tableArray[i][ii].length;\n if (strLen > cellSpacesCount) {\n cellSpacesCount = strLen;\n }\n }\n }\n\n for (i = 0; i < tableArray.length; ++i) {\n for (ii = 0; ii < tableArray[i].length; ++ii) {\n if (i === 1) {\n if (tableArray[i][ii].slice(-1) === ':') {\n tableArray[i][ii] = showdown.helper.padEnd(tableArray[i][ii].slice(-1), cellSpacesCount - 1, '-') + ':';\n } else {\n tableArray[i][ii] = showdown.helper.padEnd(tableArray[i][ii], cellSpacesCount, '-');\n }\n } else {\n tableArray[i][ii] = showdown.helper.padEnd(tableArray[i][ii], cellSpacesCount);\n }\n }\n txt += '| ' + tableArray[i].join(' | ') + ' |\\n';\n }\n\n return txt.trim();\n});\n\r\nshowdown.subParser('makeMarkdown.tableCell', function (node, globals) {\n 'use strict';\n\n var txt = '';\n if (!node.hasChildNodes()) {\n return '';\n }\n var children = node.childNodes,\n childrenLength = children.length;\n\n for (var i = 0; i < childrenLength; ++i) {\n txt += showdown.subParser('makeMarkdown.node')(children[i], globals, true);\n }\n return txt.trim();\n});\n\r\nshowdown.subParser('makeMarkdown.txt', function (node) {\n 'use strict';\n\n var txt = node.nodeValue;\n\n // multiple spaces are collapsed\n txt = txt.replace(/ +/g, ' ');\n\n // replace the custom ¨NBSP; with a space\n txt = txt.replace(/¨NBSP;/g, ' ');\n\n // \", <, > and & should replace escaped html entities\n txt = showdown.helper.unescapeHTMLEntities(txt);\n\n // escape markdown magic characters\n // emphasis, strong and strikethrough - can appear everywhere\n // we also escape pipe (|) because of tables\n // and escape ` because of code blocks and spans\n txt = txt.replace(/([*_~|`])/g, '\\\\$1');\n\n // escape > because of blockquotes\n txt = txt.replace(/^(\\s*)>/g, '\\\\$1>');\n\n // hash character, only troublesome at the beginning of a line because of headers\n txt = txt.replace(/^#/gm, '\\\\#');\n\n // horizontal rules\n txt = txt.replace(/^(\\s*)([-=]{3,})(\\s*)$/, '$1\\\\$2$3');\n\n // dot, because of ordered lists, only troublesome at the beginning of a line when preceded by an integer\n txt = txt.replace(/^( {0,3}\\d+)\\./gm, '$1\\\\.');\n\n // +, * and -, at the beginning of a line becomes a list, so we need to escape them also (asterisk was already escaped)\n txt = txt.replace(/^( {0,3})([+-])/gm, '$1\\\\$2');\n\n // images and links, ] followed by ( is problematic, so we escape it\n txt = txt.replace(/]([\\s]*)\\(/g, '\\\\]$1\\\\(');\n\n // reference URIs must also be escaped\n txt = txt.replace(/^ {0,3}\\[([\\S \\t]*?)]:/gm, '\\\\[$1]:');\n\n return txt;\n});\n\r\nvar root = this;\n\n// AMD Loader\nif (typeof define === 'function' && define.amd) {\n define(function () {\n 'use strict';\n return showdown;\n });\n\n// CommonJS/nodeJS Loader\n} else if (typeof module !== 'undefined' && module.exports) {\n module.exports = showdown;\n\n// Regular Browser loader\n} else {\n root.showdown = showdown;\n}\n}).call(this);\r\n\n//# sourceMappingURL=showdown.js.map\r\n\n\n\n// WEBPACK FOOTER //\n// ../node_modules/showdown/dist/showdown.js","// removed by extract-text-webpack-plugin\nmodule.exports = {\"thesis\":\"thesis__3uAQ4\"};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./components/thesis.css\n// module id = J9SO\n// module chunks = 0","import { Component, cloneElement, h } from 'preact';\n\nvar EMPTY$1 = {};\n\nfunction assign(obj, props) {\n\t// eslint-disable-next-line guard-for-in\n\tfor (var i in props) {\n\t\tobj[i] = props[i];\n\t}\n\treturn obj;\n}\n\nfunction exec(url, route, opts) {\n\tvar reg = /(?:\\?([^#]*))?(#.*)?$/,\n\t\tc = url.match(reg),\n\t\tmatches = {},\n\t\tret;\n\tif (c && c[1]) {\n\t\tvar p = c[1].split('&');\n\t\tfor (var i=0; i b.rank) ? -1 :\n\t\t(a.index - b.index)\n\t);\n}\n\n// filter out VNodes without attributes (which are unrankeable), and add `index`/`rank` properties to be used in sorting.\nfunction prepareVNodeForRanking(vnode, index) {\n\tvnode.index = index;\n\tvnode.rank = rankChild(vnode);\n\treturn vnode.attributes;\n}\n\nfunction segmentize(url) {\n\treturn url.replace(/(^\\/+|\\/+$)/g, '').split('/');\n}\n\nfunction rankSegment(segment) {\n\treturn segment.charAt(0)==':' ? (1 + '*+?'.indexOf(segment.charAt(segment.length-1))) || 4 : 5;\n}\n\nfunction rank(path) {\n\treturn segmentize(path).map(rankSegment).join('');\n}\n\nfunction rankChild(vnode) {\n\treturn vnode.attributes.default ? 0 : rank(vnode.attributes.path);\n}\n\nvar customHistory = null;\n\nvar ROUTERS = [];\n\nvar subscribers = [];\n\nvar EMPTY = {};\n\nfunction isPreactElement(node) {\n\treturn node.__preactattr_!=null || typeof Symbol!=='undefined' && node[Symbol.for('preactattr')]!=null;\n}\n\nfunction setUrl(url, type) {\n\tif ( type === void 0 ) type='push';\n\n\tif (customHistory && customHistory[type]) {\n\t\tcustomHistory[type](url);\n\t}\n\telse if (typeof history!=='undefined' && history[type+'State']) {\n\t\thistory[type+'State'](null, null, url);\n\t}\n}\n\n\nfunction getCurrentUrl() {\n\tvar url;\n\tif (customHistory && customHistory.location) {\n\t\turl = customHistory.location;\n\t}\n\telse if (customHistory && customHistory.getCurrentLocation) {\n\t\turl = customHistory.getCurrentLocation();\n\t}\n\telse {\n\t\turl = typeof location!=='undefined' ? location : EMPTY;\n\t}\n\treturn (\"\" + (url.pathname || '') + (url.search || ''));\n}\n\n\n\nfunction route(url, replace) {\n\tif ( replace === void 0 ) replace=false;\n\n\tif (typeof url!=='string' && url.url) {\n\t\treplace = url.replace;\n\t\turl = url.url;\n\t}\n\n\t// only push URL into history if we can handle it\n\tif (canRoute(url)) {\n\t\tsetUrl(url, replace ? 'replace' : 'push');\n\t}\n\n\treturn routeTo(url);\n}\n\n\n/** Check if the given URL can be handled by any router instances. */\nfunction canRoute(url) {\n\tfor (var i=ROUTERS.length; i--; ) {\n\t\tif (ROUTERS[i].canRoute(url)) { return true; }\n\t}\n\treturn false;\n}\n\n\n/** Tell all router instances to handle the given URL. */\nfunction routeTo(url) {\n\tvar didRoute = false;\n\tfor (var i=0; i 0;\n\t};\n\n\t/** Re-render children with a new URL to match against. */\n\tRouter.prototype.routeTo = function routeTo (url) {\n\t\tthis._didRoute = false;\n\t\tthis.setState({ url: url });\n\n\t\t// if we're in the middle of an update, don't synchronously re-route.\n\t\tif (this.updating) { return this.canRoute(url); }\n\n\t\tthis.forceUpdate();\n\t\treturn this._didRoute;\n\t};\n\n\tRouter.prototype.componentWillMount = function componentWillMount () {\n\t\tROUTERS.push(this);\n\t\tthis.updating = true;\n\t};\n\n\tRouter.prototype.componentDidMount = function componentDidMount () {\n\t\tvar this$1 = this;\n\n\t\tif (customHistory) {\n\t\t\tthis.unlisten = customHistory.listen(function (location) {\n\t\t\t\tthis$1.routeTo((\"\" + (location.pathname || '') + (location.search || '')));\n\t\t\t});\n\t\t}\n\t\tthis.updating = false;\n\t};\n\n\tRouter.prototype.componentWillUnmount = function componentWillUnmount () {\n\t\tif (typeof this.unlisten==='function') { this.unlisten(); }\n\t\tROUTERS.splice(ROUTERS.indexOf(this), 1);\n\t};\n\n\tRouter.prototype.componentWillUpdate = function componentWillUpdate () {\n\t\tthis.updating = true;\n\t};\n\n\tRouter.prototype.componentDidUpdate = function componentDidUpdate () {\n\t\tthis.updating = false;\n\t};\n\n\tRouter.prototype.getMatchingChildren = function getMatchingChildren (children, url, invoke) {\n\t\treturn children\n\t\t\t.filter(prepareVNodeForRanking)\n\t\t\t.sort(pathRankSort)\n\t\t\t.map( function (vnode) {\n\t\t\t\tvar matches = exec(url, vnode.attributes.path, vnode.attributes);\n\t\t\t\tif (matches) {\n\t\t\t\t\tif (invoke !== false) {\n\t\t\t\t\t\tvar newProps = { url: url, matches: matches };\n\t\t\t\t\t\tassign(newProps, matches);\n\t\t\t\t\t\tdelete newProps.ref;\n\t\t\t\t\t\tdelete newProps.key;\n\t\t\t\t\t\treturn cloneElement(vnode, newProps);\n\t\t\t\t\t}\n\t\t\t\t\treturn vnode;\n\t\t\t\t}\n\t\t\t}).filter(Boolean);\n\t};\n\n\tRouter.prototype.render = function render (ref, ref$1) {\n\t\tvar children = ref.children;\n\t\tvar onChange = ref.onChange;\n\t\tvar url = ref$1.url;\n\n\t\tvar active = this.getMatchingChildren(children, url, true);\n\n\t\tvar current = active[0] || null;\n\t\tthis._didRoute = !!current;\n\n\t\tvar previous = this.previousUrl;\n\t\tif (url!==previous) {\n\t\t\tthis.previousUrl = url;\n\t\t\tif (typeof onChange==='function') {\n\t\t\t\tonChange({\n\t\t\t\t\trouter: this,\n\t\t\t\t\turl: url,\n\t\t\t\t\tprevious: previous,\n\t\t\t\t\tactive: active,\n\t\t\t\t\tcurrent: current\n\t\t\t\t});\n\t\t\t}\n\t\t}\n\n\t\treturn current;\n\t};\n\n\treturn Router;\n}(Component));\n\nvar Link = function (props) { return (\n\th('a', assign({ onClick: handleLinkClick }, props))\n); };\n\nvar Route = function (props) { return h(props.component, props); };\n\nRouter.subscribers = subscribers;\nRouter.getCurrentUrl = getCurrentUrl;\nRouter.route = route;\nRouter.Router = Router;\nRouter.Route = Route;\nRouter.Link = Link;\n\nexport { subscribers, getCurrentUrl, route, Router, Route, Link };export default Router;\n//# sourceMappingURL=preact-router.es.js.map\n\n\n\n// WEBPACK FOOTER //\n// ../node_modules/preact-router/dist/preact-router.es.js","import style from \"./panel.css\";\nimport { Component } from 'preact';\n\nexport default class Panel extends Component {\n\tgetStyle() {\n\t\treturn style.panel;\n\t};\n\n\trender() {\n\t\tlet title = null;\n\t\tif(this.props.title !== undefined) {\n\t\t\ttitle = ({this.props.title}
);\n\t\t}\n\n\t\treturn (\n\t\t\t\n\t\t\t\t{title}\n\t\t\t\t{this.props.children}\n\t\t\t\n\t\t);\n\t}\n}\n\n\n\n// WEBPACK FOOTER //\n// ./components/panel.js","import style from \"./split.css\";\nimport { Component } from 'preact';\n\nexport default class Split extends Component {\n\trender() {\n\t let title = null;\n\t if(this.props.title !== undefined) {\n title = ({this.props.title}
)\n }\n\n let children;\n if(Array.isArray(this.props.children)) {\n children = this.props.children.map(element => {\n return ({element});\n });\n }\n else {\n children = {this.props.children};\n }\n\t\treturn (\n\t \n {title}\n {children}\n \n );\n\t}\n}\n\n\n\n// WEBPACK FOOTER //\n// ./components/split.js","import style from \"./todo.css\";\r\nimport { Component } from 'preact';\r\n\r\nexport default class Todo extends Component {\r\n\trender() {\r\n\t\treturn {this.props.children};\r\n\t}\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./components/todo.js","import style from './home.css'\r\nimport { Component } from 'preact';\r\nimport Panel from '../components/panel';\r\nimport Split from '../components/split';\r\nimport Todo from '../components/todo';\r\n\r\nexport default class Home extends Component {\r\n render() {\r\n return (\r\n \r\n Indice
\r\n \r\n Statistica ed elementi di probabilità}>\r\n \r\n Appunti scritti mentre studiavo per l'esame di Statistica ed elementi di probabilità del corso triennale di Informatica all'Unimore del Prof. Luca La Rocca.\r\n
\r\n \r\n TODO: è ancora incompleto! \r\n
\r\n \r\n Cleaver}>\r\n \r\n Progetto in Java sviluppato per l'esame di Programmazione ad Oggetti del corso triennale di Informatica all'Unimore, tenuto dai Prof. Giacomo Cabri e Nicola Capodieci.\r\n
\r\n \r\n Fisica}>\r\n \r\n Appunti delle lezioni di Fisica del corso triennale di Informatica all'Unimore, tenute dalla Prof.ssa Rossella Brunetti nel primo semestre dell'Anno Accademico 2019/2020.\r\n
\r\n \r\n Sistemi Operativi}>\r\n \r\n Soluzioni agli Arzigogoli proposti dal Prof. Mauro Andreolini durante le lezioni di Sistemi Operativi del corso triennale di Informatica all'Unimore tenutesi nel primo semestre dell'Anno Accademico 2019/2020.\r\n
\r\n \r\n Algoritmi e Strutture Dati}>\r\n \r\n Appunti delle lezioni di Algoritmi e Strutture Dati del corso triennale di Informatica all'Unimore, tenute dalla Prof.ssa Manuela Montangero nel secondo semestre dell'Anno Accademico 2018/2019.\r\n
\r\n \r\n Videolezioni di Geometria}>\r\n \r\n Ottime videolezioni di Geometria con licenza CC BY-NC-SA 4.0 che ho trovato sul portale Dolly 2018 dell'Unimore.\r\n
\r\n \r\n Come installare MinGW}>\r\n \r\n Un breve tutorial con immagini su come installare e configurare MinGW per compilare programmi C e C++ su Windows.\r\n
\r\n \r\n \r\n \r\n @unimoreinfo}>\r\n \r\n Il gruppo Telegram del corso di Informatica dell'Unimore!\r\n
\r\n \r\n Calendario Lezioni}>\r\n \r\n Calendario Google quasi sempre aggiornato delle lezioni e degli esami del secondo anno dell'Unimore durante l'Anno Accademico 2019/2020.\r\n
\r\n \r\n Erre2}>\r\n \r\n Portale contenente appunti e riassunti mantenuto da Lorenzo Balugani.\r\n
\r\n \r\n vezzalinistefano/Appunti-Algoritmi}>\r\n \r\n Appunti di Algoritmi e Strutture Dati mantenuti da Vezzalini Stefano.\r\n
\r\n \r\n \r\n \r\n )\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./pages/home.js","import style from './latex.css';\nimport { Component } from 'preact';\n\nexport default class Latex extends Component {\n\trender() {\n\t\tlet equation = `{\\\\color{White} ${this.props.children} }`;\n\t\treturn (\n\t\t\t);\n\t}\n}\n\n\n// WEBPACK FOOTER //\n// ./components/latex.js","import style from \"./plus.css\";\r\nimport { Component } from 'preact';\r\n\r\nexport default class Plus extends Component {\r\n\trender() {\r\n\t\treturn {this.props.children};\r\n\t}\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./components/plus.js","import style from \"./minus.css\";\r\nimport { Component } from 'preact';\r\n\r\nexport default class Minus extends Component {\r\n\trender() {\r\n\t\treturn {this.props.children};\r\n\t}\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./components/minus.js","import style from './fisica.css';\nimport { Component } from 'preact';\nimport Latex from '../components/latex';\nimport Panel from '../components/panel';\nimport Split from '../components/split';\nimport Plus from '../components/plus';\nimport Minus from '../components/minus';\nimport Todo from '../components/todo';\n\nconst r = String.raw;\n\nexport default class Fisica extends Component {\n\trender() {\n return (\n \n Fisica
\n \n \n \n Usa le regole base della trigonometria:\n
\n \n {r`\\vec{v} = \\vec{v}_x + \\vec{v}_y`} \n
\n \n {r`\\left | \\vec{v}_x \\right | = \\left | \\vec{v} \\right | \\sin \\alpha`} \n
\n \n {r`\\left | \\vec{v}_y \\right | = \\left | \\vec{v} \\right | \\cos \\alpha`} \n
\n \n \n \n Scomponi in componenti, poi sommali:\n
\n \n {r`\\vec{v} + \\vec{w} = (\\vec{v}_x + \\vec{w}_x) + (\\vec{v}_y + \\vec{w}_y)`} \n
\n \n Produce il vettore risultante dall'applicazione della regola del parallelogramma.\n
\n \n \n \n Alla fine è sempre una somma:\n
\n \n {r`\\vec{v} - \\vec{w} = (\\vec{v}_x - \\vec{w}_x) + (\\vec{v}_y - \\vec{w}_y)`} \n
\n \n Produce il vettore che parte da w e arriva a v .\n
\n \n \n \n Si chiama scalare perchè il risultato è uno scalare, non un vettore.\n
\n \n {r`\\vec{v} \\cdot \\vec{w} = \\left | \\vec{v} \\right | \\left | \\vec{w} \\right | \\cos \\alpha`} \n
\n \n Produce il modulo della proiezione di {r`\\vec{a}`} su {r`\\vec{b}`} .\n
\n \n \n \n Si chiama vettoriale perchè il risultato è un altro vettore.\n
\n \n {r`\\vec{c} = \\vec{a} \\times \\vec{b}`} \n {r`\\left | \\vec{c} \\right | = \\left | \\vec{a} \\right | \\cdot \\left | \\vec{b} \\right | \\cdot \\sin(\\alpha)`} \n - Regola della mano destra
\n
\n \n Non è commutativo!\n
\n \n \n \n \n \n Se un corpo puntiforme ha forza risultante nulla, allora la sua velocità non cambia.\n
\n \n {r`\\Sigma \\vec{F} = 0 \\Longleftrightarrow \\Delta v = 0`} \n
\n \n \n \n La forza risultante di un corpo è direttamente proporzionale alla sua accelerazione, e la costante di proporzionalità è la massa.\n
\n \n {r`\\Sigma \\vec{F} = m \\vec{a}`} \n
\n \n \n \n Due corpi esercitano forze uguali e opposte uno sull'altro. \n
\n \n {r`\\vec{F}_{21} = -\\vec{F}_{12}`} \n
\n \n \n \n \n \n Due corpi puntiformi si attirano uno verso l'altro con forza:\n
\n \n {r`\\left | \\vec{F} \\right | = G \\frac{m_1 m_2}{s^2}`} \n
\n \n G è la costante di gravitazione universale e vale:\n
\n \n {r`G = 6.67 \\cdot 10^{-11} \\frac{N m^2}{{kg}^2}`} \n
\n \n \n \n Se nel sistema di riferimento consideriamo la Terra ferma, allora un corpo è attratto verso la Terra con forza peso uguale a:\n
\n \n {r`\\left | \\vec{F} \\right | = g m`} \n
\n \n g è la costante di gravità della Terra, e vale:\n
\n \n {r`g = 9.81 \\frac{m}{s^2}`} \n
\n \n \n \n Per pianeti diversi dalla Terra vale la stessa regola:\n
\n \n {r`\\left | \\vec{F} \\right | = g m`} \n
\n \n L'unica differenza è che cambia la costante di gravità:\n
\n \n {r`g_{luna} = 1.62 \\frac{m}{s^2}`} \n
\n \n {r`g_{marte} = 3.71 \\frac{m}{s^2}`} \n
\n \n \n \n \n \n Si oppone alle forze applicate alla superficie di contatto.\n
\n \n Un libro appoggiato su un tavolo ha la forza di gravità che lo attira verso il terreno e la forza normale che lo trattiene dal cadere. \n
\n \n \n \n Impedisce a un corpo di muoversi se non viene spinto da una forza che supera una certa soglia:\n
\n \n {r`\\left | \\vec{F} \\right | \\leq \\mu_{s} \\left | \\vec{F}_{normale} \\right |`} \n
\n \n \n \n Rallenta i corpi che si stanno muovendo finchè essi non si fermano:\n
\n \n {r`\\left | \\vec{F} \\right | \\leq \\mu_{d} \\left | \\vec{F}_{normale} \\right |`} \n
\n \n \n \n E' forza trasmessa tra due estremi di una fune.\n
\n \n Può essere redirezionata per mezzo di carrucole.\n
\n \n \n \n Una molla cerca sempre di tornare alla sua posizione indeformata con forza:\n
\n \n {r`F = -k x`} \n
\n \n (E' negativa perchè la forza è opposta a quella applicata per deformarla.)\n
\n \n \n \n \n \n È un vettore che indica la posizione di un corpo rispetto a un'origine.\n
\n \n {r`\\Delta \\vec{s} = \\vec{s}(fine) - \\vec{s}(inizio)`} \n
\n \n \n \n È un vettore che misura la variazione di posizione nel tempo.\n
\n \n {r`\\vec{v} = \\frac{\\Delta \\vec{s}}{\\Delta t}`} \n
\n \n Se si considera un intervallo di tempo infinitesimale si dice velocità istantanea:\n
\n \n {r`\\vec{v} = \\lim_{\\Delta t \\to 0} \\frac{\\Delta \\vec{s}}{\\Delta t} = \\frac{d \\vec{s}}{dt}`} \n
\n \n \n \n È un vettore che misura la variazione di velocità nel tempo.\n
\n \n {r`\\vec{a} = \\frac{\\Delta \\vec{v}}{\\Delta t}`} \n
\n \n Se si considera un intervallo di tempo infinitesimale si dice accelerazione istantanea:\n
\n \n {r`\\vec{a} = \\lim_{\\Delta v \\to 0} \\frac{\\Delta \\vec{v}}{\\Delta t} = \\frac{d \\vec{v}}{d t} = \\frac{d^2 \\vec{s}}{d t^2}`} \n
\n \n Quantità di moto (momento lineare)}>\n \n La quantità di moto è una proprietà vettoriale dei corpi:\n
\n \n {r`\\vec{p} = m \\vec{v}`} \n
\n \n Se la forza risultante è nulla, la quantità di moto non cambia.\n
\n \n {r`\\Sigma \\vec{F} = 0 \\Longleftrightarrow \\Delta \\vec{p} = 0`} \n
\n \n \n \n \n \n La legge oraria è:\n
\n \n {r`s(t) = v \\cdot \\Delta t + s(0)`} \n
\n \n \n \n È costante:\n
\n \n {r`v(t) = k`} \n
\n \n \n \n La velocità non varia:\n
\n \n {r`a(t) = 0`} \n
\n \n \n \n Si applica la prima legge di Newton:\n
\n \n f(t) = 0 \n
\n \n \n \n \n \n La legge oraria è:\n
\n \n {r`s(t) = \\frac{1}{2} a \\cdot (\\Delta t)^2 + v(0) \\cdot (\\Delta t) + s(0)`} \n
\n \n \n \n È una retta:\n
\n \n {r`v(t) = a \\Delta t + v(0)`} \n
\n \n \n \n È costante:\n
\n \n {r`a(t) = k`} \n
\n \n \n \n Si applica la prima legge di Newton:\n
\n \n f(t) = m a \n
\n \n \n \n \n \n E' la distanza dal centro massima che raggiunge il corpo.\n
\n \n (L'ampiezza di una sinusoide.)\n
\n \n \n \n Indica quanto in fretta cambia la posizione del corpo. \n
\n \n Dipende dal periodo:\n
\n \n {r`\\omega = \\frac{2 \\pi}{T}`} \n
\n \n \n \n E' una sinusoide:\n
\n \n {r`s(t) = A \\sin (\\omega \\cdot t + \\phi)`} \n
\n \n \n \n E' la sinusoide dello spostamento, sfasata di {r`\\frac{\\pi}{2}`} :\n
\n \n {r`v(t) = A \\sin (\\omega \\cdot t + \\phi + \\frac{\\pi}{2})`} \n
\n \n \n \n E' la sinusoide della velocità, sfasata di {r`\\pi`} :\n
\n \n {r`a(t) = A \\sin (\\omega \\cdot t + \\phi + \\pi)`} \n
\n \n \n \n Si applica la prima legge di Newton:\n
\n \n f(t) = m a \n
\n \n \n \n \n \n Il moto parabolico è dato sommando un moto rettilineo uniforme sull'asse orizzontale e un moto rettilineo uniformemente accelerato sull'asse verticale.\n
\n \n \n \n Il moto parabolico è dato sommando due moti armonici semplici: uno sull'asse X, e l'altro, sfasato di {r`\\frac{\\pi}{2}`} , sull'asse Y.\n
\n \n \n \n \n \n Velocità angolare\n
\n \n Quanto cambia la fase nel tempo.\n
\n \n {r`\\omega = \\frac{2 \\pi}{T}`} \n
\n \n \n \n E' l'angolo percorso dal corpo rispetto alla posizione iniziale.\n
\n \n Si indica con {r`\\phi`} , e generalmente si usa in radianti.\n
\n \n \n \n Si applicano le formule per la circonferenza:\n
\n \n {r`v = \\frac{\\Delta s}{t} = \\frac{2 \\pi \\cdot r}{T} = \\omega r`} \n
\n \n \n \n Il corpo ha sempre un accelerazione verso il centro che gli impedisce di abbandonare il moto: \n
\n \n {r`a = \\frac{v^2}{r} = r \\cdot \\omega^2 = v \\cdot \\omega`} \n
\n \n \n \n È verso il centro e si calcola con:\n
\n \n {r`F = m \\cdot a`} \n
\n \n \n \n \n \n E' compiuto da una forza che sposta un corpo.\n
\n \n {r`W = \\vec{F} \\cdot \\vec{s} = F \\cdot \\Delta s \\cdot cos(\\alpha )`} \n
\n \n (Se la forza non è parallela allo spostamento, il prodotto scalare ci fa considerare solo la componente parallela.)\n
\n \n \n \n Un corpo ha energia cinetica in ogni momento uguale a:\n
\n \n {r`E_c = \\frac{1}{2} m v^2`} \n
\n \n Se una forza effettua lavoro su un corpo, cambia la sua energia cinetica pari al lavoro effettuato:\n
\n \n {r`\\Delta E_c = W`} \n
\n \n \n \n Un corpo ha energia potenziale in ogni momento pari a: \n
\n \n {r`E_{p_g} = m \\cdot g \\cdot h`} \n
\n \n (Con h uguale a un altezza scelta come punto di riferimento.)\n
\n \n \n \n Una molla ha sempre energia potenziale elastica pari a:\n
\n \n {r`E_{p_e} = \\frac{1}{2} k x^2`} \n
\n \n \n \n Sono conservative le forze per le quali il lavoro compiuto non dipende dal percorso seguito per andare dalla partenza all'arrivo.\n
\n \n Ad esempio, è conservativa la forza di gravità, ma non è conservativa la forza di attrito.\n
\n \n Se in un sistema ci sono solo forze conservative, allora l'energia meccanica totale si conserva:\n
\n \n {r`E = E_k + E_p`} \n
\n \n \n \n È la velocità di trasferimento di energia:\n
\n \n {r`P = \\frac{\\Delta E}{\\Delta t}`} \n
\n \n \n \n \n \n È una proprietà dei corpi che può essere positiva o negativa .\n
\n \n Si conserva: in un sistema chiuso la carica totale è costante.\n
\n \n Esiste un'unità elementare: {r`C_{elettrone} = 1.602 \\cdot 10^{-19}`} .\n
\n \n Cariche opp oste si attraggono; cariche uguali si respingono.\n
\n \n \n \n Più ioni ha un corpo, meglio la carica si muove attraverso di esso.\n
\n \n I corpi in cui la carica si muove bene sono conduttori, mentre quelli in cui si muove difficilmente sono isolanti.\n
\n \n Il corpo umano è un buon conduttore.\n
\n \n \n \n \n \n E' possibile polarizzare un corpo per accumulare la carica di un segno in una certa zona.\n
\n \n \n \n \n \n Se un corpo conduttore è in contatto con la Terra, le cariche su di esso saranno equilibrate e il corpo diventerà elettricamente neutro (con stesso numero di cariche positive e negative all'interno).\n
\n \n \n \n \n \n Strofinando tra loro due corpi isolanti, essi si polarizzeranno per strofinio.\n
\n \n \n \n Toccando un conduttore con un corpo carico, il conduttore potrà polarizzarsi per contatto.\n
\n \n \n \n Se un corpo conduttore ha cariche \"esterne\" di un certo segno vicino, esso avrà tutte le cariche del segno opposto in equilibrio vicino alle cariche esterne, e tutte le cariche dello stesso segno più lontano possibile da esse.\n
\n \n Mettendo a terra il conduttore, nuove cariche del segno opposto saranno attratte all'interno del corpo per equilibrare le cariche che si sono allontanate.\n
\n \n Staccando il conduttore da terra e rimuovendo le cariche esterne, esso si ritroverà caricato del segno opposto rispetto alle cariche esterne.\n
\n \n \n \n \n \n Due corpi carichi si attraggono tra loro con forza: \n
\n \n {r`\\left | \\vec{F}_{elettrica} \\right | = \\frac{-k \\cdot q_1 \\cdot q_2}{s^2}`} \n
\n \n {r`k`} è la costante di Coulomb, e vale {r`k = 8.99 \\cdot 10^9 \\frac{N \\cdot m^2}{C^2}`} .\n
\n \n \n \n La costante {r`k`} è in realtà dipendente da un altra costante, {r`\\epsilon_0`} , la permeabilità del vuoto.\n
\n \n {r`k = \\frac{1}{4 \\pi \\cdot \\epsilon_0}`} \n
\n \n {r`\\left | \\vec{F}_{elettrica} \\right | = \\frac{q_1 \\cdot q_2}{4 \\pi \\cdot \\epsilon_0 \\cdot s^2}`} \n
\n \n \n \n Misura che forza viene applicata in ogni punto su una carica unitaria:\n
\n \n {r`\\vec{E} = \\frac{\\vec{F}_{elettrica}}{q} = \\frac{-k \\cdot q}{s^2}`} \n
\n \n \n \n È la differenza tra \"quanto\" campo elettrico entra e quanto campo elettrico esce da una certa area.\n
\n \n In qualsiasi superficie chiusa, il flusso elettrico è uguale alla componente perpendicolare del campo elettrico moltiplicato per l'area.\n
\n \n {r`\\Phi_E = \\vec{E} \\cdot \\vec{A}`} \n
\n \n Se il campo elettrico è uniforme, se ne può calcolare facilmente il valore:\n
\n \n {r`\\Phi_E = \\vec{E} \\cdot \\vec{A} = E_\\perp \\cdot A \\cdot \\cos(\\alpha)`} \n
\n \n Circa. E' una specie di integrale... \n
\n \n \n \n Il flusso elettrico è direttamente proporzionale alla carica presente all'interno della superficie.\n
\n \n {r`\\Phi_E = 4 \\pi \\cdot k \\cdot q = \\frac{q}{\\epsilon_0}`} \n
\n \n Ovvero, i campi elettrostatici sono generati dalle cariche elettriche.\n
\n \n \n \n \n \n Un corpo carico vicino ad altre cariche possiede un'energia potenziale elettrica {r`U_e`} .\n
\n \n \n \n Potenziale elettrico (tensione)}>\n \n È il valore dell'energia potenziale elettrica per una carica unitaria.\n
\n \n {r`V = \\frac{U_e}{q}`} \n
\n \n La sua unità di misura è il Volt ({r`V`} ).\n
\n \n In una batteria è detto forza elettromotrice, e corrisponde al lavoro compiuto da una batteria ideale per spostare una carica unitaria tra i due poli.\n
\n \n Corrente elettrica (intensità)}>\n \n Quanta carica passa attraverso un'area (perpendicolare al flusso) nel tempo.\n
\n \n {r`I = \\frac{\\Delta q}{\\Delta t}`} \n
\n \n Fintanto che c'è differenza di potenziale, ci sarà anche intensità non nulla.\n
\n \n La sua unità di misura è l'Ampere ({r`A`} ).\n
\n \n Corrente continua (DC)}>\n \n Quando in un circuito la direzione della corrente è costante.\n
\n \n Corrente alternata (AC)}>\n \n Quando in un circuito la direzione della corrente si alterna periodicamente.\n
\n \n \n \n Possiamo calcolare la potenza di un circuito:\n
\n \n {r`P = \\frac{\\Delta U_e}{\\Delta t} = I \\cdot \\Delta V = I^2 \\cdot R = \\frac{(\\Delta V)^2}{R}`} \n
\n \n \n \n \n \n Riduce l'intensità di corrente, e converte parte del potenziale in calore.\n
\n \n Il potenziale utilizzato è pari a:\n
\n \n {r`V = R \\cdot I`} \n
\n \n Dove {r`R`} è una costante detta resistenza con unità di misura Ohm ({r`\\Omega`} ).\n
\n \n La resistenza di un conduttore vale:\n
\n \n {r`R = \\rho \\frac{L_{unghezza}}{A_{rea}}`} \n
\n \n {r`\\rho`} è la resistività del materiale, e varia in base alla temperatura:\n
\n \n {r`\\rho = \\rho_0 (1 + \\alpha(T - T_0))`} \n
\n \n \n \n Immagazzina potenziale elettrico, permettendo di riutilizzarla in seguito.\n
\n \n Per farlo, cattura cariche positive e negative sulle sue due armature; perchè questo avvenga, deve essere compiuto lavoro.\n
\n \n Ha una capacità caratteristica, che in un condensatore a facce piane parallele è:\n
\n \n {r`C = \\frac{q_{massima}}{\\Delta V}`} \n
\n \n Condensatori di capacità maggiore immagazzinano più potenziale con meno carica.\n
\n \n La capacità aumenta se viene messo qualcosa tra le armature:\n
\n \n {r`C_{nuova} = \\kappa \\cdot \\frac{\\epsilon_0 \\cdot A}{s}`} \n
\n \n Dove {r`\\kappa`} è la costante dielettrica relativa del materiale inserito, {r`A`} l'area di una armatura e {r`s`} la distanza tra le due armature.\n
\n \n Se il campo elettrico creatosi tra le due armature supera la rigidità dielettrica del condensatore, la carica immagazzinata viene persa e ha luogo un breakdown.\n
\n \n La sua unità di misura è il Farad ({r`Fa`} )\n
\n \n \n \n Misura la corrente elettrica se messo in serie.\n
\n \n (Funzionamento: ha una resistenza interna bassisima in modo da non influire significativamente sulla corrente.)\n
\n \n \n \n Misura la differenza di potenziale se messo in parallelo.\n
\n \n (Funzionamento: ha una resistenza altissima in modo da non influire significativamente sulla tensione.)\n
\n \n \n \n \n \n Per nodo si intende un qualsiasi punto del circuito.\n
\n \n Da un nodo entra ed esce la stessa corrente.\n
\n \n \n \n Per maglia si intende un qualsiasi percorso chiuso all'interno del circuito.\n
\n \n In una maglia chiusa, la somma delle differenze di potenziale è 0.\n
\n \n \n \n \n \n Più parti di circuito sono in serie se sono consecutive e senza biforcazioni.\n
\n \n Parti di circuito in serie sono attraversate dalla stessa corrente.\n
\n \n \n \n Più parti di circuito sono in parallelo tra loro se hanno lo stesso punto di partenza e lo stesso punto di arrivo. \n
\n \n Parti di circuito in parallelo hanno la stessa differenza di potenziale.\n
\n \n \n \n \n \n Nei circuiti in serie, tutte le resistenze possono essere sostituite con una equivalente dalla resistenza della somma di tutte le quelle sostituite:\n
\n \n {r`R_{serie} = \\sum_{i=1}^{n} R_i`} \n
\n \n \n \n Nei circuiti in parallelo, tutte le resistenze possono essere sostituite con una equivalente dalla resistenza di:\n
\n \n {r`R_{parallelo} = \\frac{1}{\\sum_{i=1}^{n} \\frac{1}{R_i}}`} \n
\n \n \n \n \n \n Nei circuiti in serie, tutti i condensatori possono essere sostituiti con uno equivalente dalla capacità di:\n
\n \n {r`C_{serie} = \\frac{1}{\\sum_{i=1}^{n} \\frac{1}{C_i}}`} \n
\n \n \n \n Nei circuiti in parallelo, tutte i condensatori possono essere sostituite con uno equivalente dalla capacità della somma di tutti quelli sostituiti:\n
\n \n {r`C_{parallelo} = \\sum_{i=1}^{n} C_n`} \n
\n \n \n \n \n \n E' una costante fisica fondamentale che rappresenta quanto un materiale si magnetizza facilmente.\n
\n \n {r`\\mu_0 = 4 \\pi \\cdot 10^{-7} \\frac{H}{m}`} ({r`\\frac{N}{A^2}`} )\n
\n \n \n \n Come un campo elettrico, ma per i magneti.\n
\n \n Il suo simbolo è {r`B`} , e la sua unità di misura è il Tesla (T ).\n
\n \n \n \n È \"quanto\" campo magnetico attraversa un percorso chiuso.\n
\n \n Per qualsiasi percorso chiuso, il flusso magnetico è uguale alla somma di tutti i \"sottoflussi\" magnetici calcolati sui suoi lati.\n
\n \n {r`\\Phi_{B_{i}} = \\vec{B} \\cdot \\vec{L}_n = B \\cdot L_i \\cdot \\sin(\\alpha) = B_\\parallel \\cdot L_i`} \n
\n \n {r`\\Phi_{B} = \\sum_{i=0}^{n_{lati}} \\Phi_{Bn}`} \n
\n \n La sua unità di misura è il Weber ({r`Wb = T \\cdot m^2`} ).\n
\n \n \n \n Il flusso magnetico attraverso qualsiasi superficie chiusa è sempre nullo.\n
\n \n Ovvero, non esistono monopoli magnetici.\n
\n \n \n \n L'intensità di corrente che attraversa un percorso chiuso è direttamente proporzionale al flusso magnetico dello stesso percorso.\n
\n \n {r`\\Phi_B = \\mu_0 \\cdot I`} \n
\n \n \n \n Forza magnetica su carica puntiforme (Forza di Lorentz)}>\n \n I campi magnetici applicano una forza sulle cariche vicine:\n
\n \n {r`\\vec{F}_{B} = q \\cdot (\\vec{v} \\times \\vec{B})`} \n
\n \n Dove {r`\\vec{B}`} è l'intensità del campo magnetico e {r`\\vec{v}`} la velocità della carica considerata.\n
\n \n Si ha una forza massima se la velocità è perpendicolare al campo magnetico.\n
\n \n In un campo magnetico uniforme, una velocità perpendicolare al campo porta alla creazione di un moto circolare uniforme.\n
\n \n \n \n I campi magnetici influenzano ovviamente anche le cariche presenti in un conduttore:\n
\n \n {r`\\vec{F}_{magnetica} = I \\cdot (\\vec{L} \\times \\vec{B})`} [1]\n
\n \n Dove {r`I`} è la corrente elettrica, {r`\\vec{L}`} è un vettore che punta nella direzione di scorrimento della corrente e ha come modulo la lunghezza del conduttore.\n
\n \n \n \n \n \n Una spira in cui passa corrente produce un campo magnetico perpendicolare al piano creato dalla spira.\n
\n \n \n \n Un solenoide sono tante spire avvolte in modo da formare una specie di cilindro.\n
\n \n All'interno del solenoide si crea un campo (quasi) uniforme:\n
\n \n {r`\\left | \\vec{B} \\right | = \\mu_0 \\cdot I \\cdot \\frac{A_{vvolgimenti}}{L_{unghezzafilo}}`} \n
\n \n \n \n Caso particolare della Legge di Ampère.\n
\n \n Il modulo del campo magnetico B prodotto da un filo in cui passa una corrente continua I alla distanza s è:\n
\n \n {r`\\left | \\vec{B} \\right | = \\frac{\\mu \\cdot I}{2 \\pi r}`} \n
\n \n Il campo magnetico così creato gira attorno al filo in senso antiorario.\n
\n \n Due fili attraversati dalla stessa corrente si attraggono, due fili attraversati da corr enti opp oste si respingono.\n
\n \n \n \n \n \n Un conduttore perpendicolare ad un campo magnetico può ottenere una differenza di potenziale se messo in movimento in un direzione perpendicolare alla direzione del conduttore e del campo. \n
\n \n La differenza di potenziale si crea a causa della forza magnetica, che fa spostare tutti gli elettroni verso un capo del conduttore. \n
\n \n Essa vale:\n
\n \n {r`\\Delta V_{indotta} = v \\cdot B \\cdot L`} \n
\n \n Dove v è la velocità del conduttore, B è l'intensità del campo magnetico ed L è la lunghezza del conduttore.\n
\n \n \n \n In un campo magnetico {r`B`} uniforme e perpendicolare al piano di una spira di area {r`A`} , il flusso magnetico si può determinare con la Legge di Faraday-Neumann-Lenz:\n
\n \n {r`\\Phi_B = \\vec{B} \\cdot \\vec{A} = B \\cdot A \\cdot \\cos(\\alpha)`} \n
\n \n \n \n \n \n Dice che la forza elettromotrice media indotta in un percorso dipende dalla variazione nel tempo del flusso magnetico nello stesso percorso.\n
\n \n {r`\\Delta V_{indotta} = - \\frac{\\Delta \\Phi_B}{\\Delta t}`} \n
\n \n Il meno è dovuto alla Legge di Lenz, che specifica qualitativamente il verso della forza elettromotrice indotta.\n
\n \n \n \n In un solenoide, la forza elettromotrice indotta è uguale a:\n
\n \n {r`\\Delta V_{indotta} = - \\frac{N \\cdot \\Delta \\Phi_{B_{spira}}}{\\Delta t} = - \\frac{N \\cdot B \\cdot A \\cdot cos(\\alpha)}{\\Delta t}`} \n
\n \n Dove {r`N`} è il numero delle spire del solenoide.\n
\n \n \n \n Correnti o campi elettrici variabili creano un campo magnetico.\n
\n \n \n \n \n \n Nel vuoto, il campo elettrico {r`E`} e il campo magnetico {r`B`} sono perpendicolari tra loro e la direzione di propagazione, e sono entrambe funzioni del tempo.\n
\n \n Si dice quindi che sono onde elettromagnetiche.\n
\n \n Esse sono legate dalla relazione:\n
\n \n {r`E = c \\cdot B`} \n
\n \n Dove {r`c`} è la velocità delle onde (luce) nel vuoto, e a sua volta è uguale a:\n
\n \n {r`c = \\frac{1}{\\sqrt{\\epsilon_0 \\cdot \\mu_0}} = 3.00 \\cdot 10^8 \\frac{m}{s}`} \n
\n \n \n \n {r`A(t) = A_{max} \\cdot \\sin \\left ( \\frac{2 \\pi}{\\lambda} - \\omega t + \\phi \\right )`} \n
\n \n Dove {r`A_{max}`} è l'ampiezza massima che può avere l'onda, {r`\\frac{2 \\pi}{\\lambda} = \\left | \\vec{k} \\right |`} è il vettore d'onda, {r`\\omega`} la frequenza angolare e {r`\\phi`} la fase.\n
\n \n \n \n \n \n I solidi, se portati ad alta temperatura, emettono luce con uno spettro continuo.\n
\n \n I gas, invece, ad alta temperatura emettono luce solo con particolari lunghezze d'onda. \n
\n \n In un gas di idrogeno, le lunghezze d'onda emesse sono ricavabili con:\n
\n \n {r`\\frac{1}{\\lambda} = R \\left ( \\frac{1}{4} - \\frac{1}{n^2} \\right )`} \n
\n \n Con {r`R = 1.097 \\cdot 10^7 \\frac{1}{m}`} , detta costante di Rydberg, e {r`n`} un numero intero.\n
\n \n \n \n Una grandezza si dice quantizzata (o discreta) se può assumere solo determinati valori. \n
\n \n Una grandezza si dice continua se può assumere qualsiasi valore e quindi se non è quantizzata.\n
\n \n Energia, momento angolare e raggio sono quantizzati.\n
\n \n Nota costante quantica è {r`h`} , la costante di Planck, ovvero il valore minimo possibile per la carica (talvolta espressa come {r`\\hbar = \\left ( \\frac{h}{2 \\pi} \\right )`} .\n
\n \n \n \n \n \n L'energia degli elettroni è quantizzata.\n
\n \n Inoltre, per essi è valido che:\n
\n \n {r`m \\cdot v_n \\cdot 2 \\pi \\cdot r = n \\cdot h`} \n
\n \n Ancora, il raggio delle orbite è uguale a:\n
\n \n {r`r_n = n^2 \\cdot a_0 = n^2 \\cdot \\frac{\\hbar}{m_{elettrone} \\cdot k \\cdot e^2} `} \n
\n \n Con {r`a_0 = \\left ( \\frac{h}{2 \\pi} \\right )^2 \\cdot \\frac{1}{m_{elettrone} \\cdot k \\cdot e^2} = 5.29 \\cdot 10^{-11} m`} .\n
\n \n Infine, in ogni stato, l'energia è pari a:\n
\n \n {r`E_n = \\frac{1}{n^2} \\cdot E_1 = - \\frac{1}{n^2} \\cdot \\frac{a_0^2}{2 \\cdot m \\cdot \\hbar^4} = - \\frac{1}{n^2} \\cdot \\frac{m_{elettrone} \\cdot k^2 \\cdot e^4}{2 \\cdot \\hbar^2}`} \n
\n \n Due elettroni non possono occupare lo stesso stato.\n
\n \n Questo modello funziona solo per atomi con numero atomico basso. Atomi con molti elettroni hanno comportamenti diversi, descritti dal modello di\n
\n \n \n \n \n \n Nei solidi, le lunghezze d'onda sono talmente tanto vicine da poter essere considerate una banda.\n
\n \n Possono però comunque avere dei gap dovuti agli intervalli di energia non ammessi.\n
\n \n \n \n \n \n Refactor this \n
\n \n Se la banda di emissione con energia più alta di un corpo è assente o è separata da un gap dell'ordine di grandezza maggiore di {r`10^1 eV`} , allora il corpo è un isolante.\n
\n \n Se invece la banda di emissione si sovrappone a un altra, allora il corpo è un conduttore.\n
\n \n Se il gap è invece dell'ordine di grandezza di {r`1 eV`} , allora il corpo è un semiconduttore.\n
\n \n \n \n Legami in cui mancano elettroni .\n
\n \n Elettroni di altri legami possono spostarsi per colmare le lacune , creandone altre, e spostandole in direzione opposta a quella della corrente.\n
\n \n \n \n Se si inserisce in un cristallo semiconduttore si inserisce un atomo con numero atomico diverso, si otterrà:\n
\n \n - Con numero atomico maggiore, un semiconduttore di
tipo N con elettroni in eccesso liberi di scorrere. \n - Con numero atomico minore, un semiconduttore di
tipo P con lacune in eccesso libere di catturare elettroni da altri legami. \n
\n \n Maggiore impurezza porta a maggiore conduttività.\n
\n \n \n \n Aumentando la temperatura di un semiconduttore si aumenta la conduttività, perchè eccita le particelle e favorisce il movimento di elettroni e lacune .\n
\n \n \n Ottica (non l'abbiamo fatta)}>\n \n \n I corpi possono assorbire o riflettere le onde elettromagnetiche che li colpiscono.\n
\n \n \n \n Un corpo nero è un corpo che assorbe tutte le onde elettromagnetiche che riceve senza rifletterne nessuna.\n
\n \n Le onde assorbite vengono poi riemesse sotto forma di un onda di {r`\\lambda`} variabile in base alla temperatura.\n
\n \n {r`\\lambda_{max} \\cdot T`} è costante.\n
\n \n \n \n L'energia assorbita e emessa dai corpi neri è quantizzata.\n
\n \n \n \n Un onda magnetica con un quanto di energia è detta fotone:\n
\n \n {r`E_{fotone} = h \\cdot f`} \n
\n \n \n \n A volte, i fotoni che colpiscono un metallo possono estrarvi degli elettroni e creare una differenza di potenziale.\n
\n \n Perchè avvenga, la frequenza deve essere maggiore di una certa soglia.\n
\n \n Il numero di elettroni estratti dipende dall'intensità dell'onda, mentre l'energia cinetica degli elettroni dipende dalla frequenza.\n
\n \n Non c'è nessun ritardo tra l'assorbimento del fotone e l'estrazione di elettroni.\n
\n \n \n \n )\n\t}\n}\n\n\n// WEBPACK FOOTER //\n// ./pages/fisica.js","import style from \"./markdown.css\";\nimport { Component } from 'preact';\nimport showdown from \"showdown\";\n\nexport default class Markdown extends Component {\n\trender() {\n let converter = new showdown.Converter();\n converter.setFlavor(\"github\");\n let html = converter.makeHtml(`${this.props.children}`);\n // noinspection CheckTagEmptyBody\n return ;\n\t}\n}\n\n\n\n// WEBPACK FOOTER //\n// ./components/markdown.js","import style from './vldigeometria.css';\r\nimport { Component } from 'preact';\r\nimport Markdown from '../components/markdown';\r\nimport Panel from '../components/panel';\r\n\r\nconst r = String.raw;\r\n\r\nexport default class VlDiGeometria extends Component {\r\n\trender() {\r\n\t\t//Imported from unimore-info-wiki\r\n\t\treturn (\r\n\t\t\t\r\n Videolezioni di Geometria
\r\n \r\n {r`\r\nTutte le videolezioni sono state pubblicate sotto licenza [CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/) dalla Prof.ssa Beatrice Ruini nell'anno accademico 2018/2019 sul [portale Dolly 2018](https://dolly.fim.unimore.it/2018/course/view.php?id=14#section-0) (Moodle).\r\n\r\nPer comodità, ho estratto l'url sorgente del video dall'embed presente nella rispettiva pagina.\r\n\r\n1. [Definizione di Spazio Vettoriale](https://www.youtube.com/watch?v=7eHEzf4403c) (1:17:29)\r\n2. [Sottospazi vettoriali I](https://www.youtube.com/watch?v=FPqrULk5HBU) (37:15)\r\n3. [Sottospazi vettoriali II](https://www.youtube.com/watch?v=ubDWUw9hk0k) (43:26)\r\n4. [Sottospazi vettoriali III](https://www.youtube.com/watch?v=381n4NPb6Oc) (40:29)\r\n5. [Lineare dipendenza e indipendenza](https://www.youtube.com/watch?v=9YVQ5olYrh0) (56:12)\r\n6. [Basi di uno spazio vettoriale I](https://www.youtube.com/watch?v=mEF_lcTzEoE) (25:52)\r\n7. [Basi di uno spazio vettoriale II](https://www.youtube.com/watch?v=k1r9JfXY53k) (48:24)\r\n8. [Teorema di Grassmann](https://www.youtube.com/watch?v=3sqB-MMyCWM) (32:36)\r\n9. [Basi e Matrici](https://www.youtube.com/watch?v=Rd6AB_jE7YI) (27:06)\r\n10. [Definizione di Applicazioni Lineari](https://www.youtube.com/watch?v=rmd7ffZeVYk) (16:23)\r\n11. [Proprietà delle Applicazioni Lineari](https://www.youtube.com/watch?v=MH7ztQGkqmw) (31:58)\r\n12. [Definizione di determinante](https://www.youtube.com/watch?v=EwubcLwBdzk) (36:43)\r\n13. [Proprietà e metodo di triangolazione](https://www.youtube.com/watch?v=SFusGarV6HI) (22:36)\r\n14. [Teorema di Laplace](https://www.youtube.com/watch?v=BqZDWnKl2nQ) (29:03)\r\n15. [4 applicazioni del Teorema di Laplace](https://www.youtube.com/watch?v=2tr3y725GY0) (47:53)\r\n16. [Spazi vettoriali euclidei reali - Parte 1](https://www.youtube.com/watch?v=W7Z1hm-jwMM) (28:46)\r\n17. [Spazi vettoriali euclidei reali - Parte 2](https://www.youtube.com/watch?v=zjmKE9TMGm8) (27:17)\r\n18. [Autovalori e autovettori](https://www.youtube.com/watch?v=XlrlcnvcTtQ) (33:00)\r\n19. [Polinomio caratteristico](https://www.youtube.com/watch?v=61icRbgWTdI) (31:31)\r\n20. [Teorema diagonalizzabilità](https://www.youtube.com/watch?v=wm5V6en9OFo) (18:49)\r\n21. [Spazi affini](https://player.vimeo.com/video/291457587) (20:46)\r\n22. [Sottospazi affini](https://player.vimeo.com/video/291458991) (21:32)\r\n23. [Parallelismo e Riferimenti Affini](https://player.vimeo.com/video/291510181) (16:57)\r\n24. [Rappresentazione di Sottospazi Affini](https://player.vimeo.com/video/291510296) (31:17)\r\n25. [Spazi Euclidei](https://player.vimeo.com/video/291510612) (35:57)\r\n26. [Teoria dei ranghi](https://player.vimeo.com/video/291510964) (9:44)\r\n27. [Teoria dei ranghi 2](https://player.vimeo.com/video/291510862) (14:44)\r\n\r\nNell'anno accademico 2018/2019 non sono stati trattati gli argomenti nei video 21, 22 e 23.\r\n `} \r\n \r\n\t\t\t\r\n\t\t);\r\n\t}\r\n}\r\n\r\n\n\n\n// WEBPACK FOOTER //\n// ./pages/vldigeometria.js","import style from './mingwinstall.css';\r\nimport { Component } from 'preact';\r\nimport Panel from '../components/panel';\r\n\r\nexport default class MingwInstall extends Component {\r\n\trender() {\r\n\t\t//Imported from unimore-info-wiki\r\n\t\treturn (\r\n\t\t\t\r\n Come installare MinGW
\r\n \r\n\t\t\t\t\t Scaricate l'installer ufficiale,\r\n\t\t\t\t\t\ted eseguitelo.
\r\n\t\t\t\t\t Dovrebbe comparire questa schermata. Cliccate su Install
, poi scegliete una cartella di installazione\r\n\t\t\t\t\t\t(ricordatevela!) e poi Continue
. Lasciate stare le altre opzioni, dovrebbero essere tutte spuntate,\r\n\t\t\t\t\t\ttranne For all users
, che dovrebbe essere disattivato.
\r\n\t\t\t\t\t Aspettate che finisca il download. Pochi secondi dopo, dovrebbe finire e dovrebbe apparire un tasto\r\n\t\t\t\t\t\tContinue
. Premetelo.
\r\n\t\t\t\t\t Dovrebbe apparirvi questa finestra. L'installer di MinGW è una specie di gestore pacchetti (tipo apt
su\r\n\t\t\t\t\t\tUbuntu); potete scegliere quali pacchetti installare, e quindi quali funzionalità.
\r\n\t\t\t\t\t Nel nostro caso, dovrebbero servirci mingw32-base-bin
(per il C e alcune librerie C++) e\r\n\t\t\t\t\t\tmingw32-gcc-g++-bin
(per il C++). Cliccate, quindi, sui due quadratini corrispondenti, e premete\r\n\t\t\t\t\t\tMark for Installation
. Dovrebbe comparire una freccia gialla sul quadratino.
\r\n\t\t\t\t\t Ora, è il momento di installare i pacchetti. Aprite il menù Installation
, poi premete\r\n\t\t\t\t\t\tApply Changes
, e di nuovo Apply
.
\r\n\t\t\t\t\t Lasciate che scarichi, ci vorrà un po'. Guardatevi un video nel frattempo, fatevi una partitina a qualcosa, tornate\r\n\t\t\t\t\t\tdopo circa 10 minuti.
\r\n\t\t\t\t\t Una volta installato, dobbiamo aggiungere g++
ai programmi eseguibili da Prompt dei Comandi: premete il\r\n\t\t\t\t\t\ttasto Windows, e scrivete PATH
. Windows dovrebbe trovarvi automaticamente quell'opzione.
\r\n\t\t\t\t\t\r\n\t\t\t\t\t Dentro la finestra di Proprietà del Sistema, premete Variabili d'ambiente
.
\r\n\t\t\t\t\t Trovate la variabile d'ambiente globale Path
, e fateci doppio click per modificarla.
\r\n\t\t\t\t\t Ora dovreste vedere l'elenco di tutte le cartelle contenenti programmi eseguibili da terminale: dobbiamo aggiungere\r\n\t\t\t\t\t\tquella di MinGW! Premete Sfoglia
.
\r\n\t\t\t\t\t Trovate la cartella in cui avete installato MinGW (vi avevo detto di ricordarvela!); entrateci, poi selezionate la\r\n\t\t\t\t\t\tsottocartella bin
e premete OK
su tutte le finestre che avete aperto fino ad ora,\r\n\t\t\t\t\t\tchiudendole.
\r\n\t\t\t\t\t Complimenti! Avete installato MinGW e potete compilare programmi C e C++ da Windows! Avete a disposizione\r\n\t\t\t\t\t\tgcc
e g++
sul Prompt dei Comandi, e potete finalmente creare dei file .exe!
\r\n\t\t\t\t \r\n\t\t\t\r\n\t\t);\r\n\t}\r\n}\r\n\r\n\n\n\n// WEBPACK FOOTER //\n// ./pages/mingwinstall.js","import style from './copyright.css';\r\nimport { Component } from 'preact';\r\n\r\nexport default class Copyright extends Component {\r\n\trender() {\r\n\t\treturn © 2019 - Stefano Pigozzi - CC BY-SA 4.0 - Codice sorgente;\r\n\t}\r\n}\n\n\n// WEBPACK FOOTER //\n// ./components/copyright.js","import style from \"./theorem.css\";\r\nimport Panel from \"./panel.js\";\r\n\r\nexport default class Theorem extends Panel {\r\n getStyle() {\r\n return super.getStyle() + \" \" + style.theorem;\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./components/theorem.js","import style from \"./hypothesis.css\";\r\nimport {Component} from \"preact\";\r\n\r\nexport default class Hypothesis extends Component {\r\n render() {\r\n return (\r\n \r\n \r\n Ipotesi\r\n
\r\n {this.props.children}\r\n \r\n )\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./components/hypothesis.js","import style from \"./thesis.css\";\r\nimport {Component} from \"preact\";\r\n\r\nexport default class Thesis extends Component {\r\n render() {\r\n return (\r\n \r\n \r\n Tesi\r\n
\r\n {this.props.children}\r\n \r\n )\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./components/thesis.js","import style from \"./proof.css\";\r\nimport {Component} from \"preact\";\r\n\r\nexport default class Proof extends Component {\r\n render() {\r\n return (\r\n \r\n \r\n Dimostrazione\r\n
\r\n {this.props.children}\r\n \r\n )\r\n }\r\n}\r\n\n\n\n// WEBPACK FOOTER //\n// ./components/proof.js","import style from './statistica.css';\r\nimport { Component } from 'preact';\r\nimport Latex from '../components/latex';\r\nimport Panel from '../components/panel';\r\nimport Split from '../components/split';\r\nimport Plus from '../components/plus';\r\nimport Minus from '../components/minus';\r\nimport Todo from '../components/todo';\r\nimport Theorem from \"../components/theorem\";\r\nimport Hypothesis from \"../components/hypothesis\";\r\nimport Thesis from \"../components/thesis\";\r\nimport Proof from \"../components/proof\";\r\n\r\nconst r = String.raw;\r\n\r\nexport default class Statistica extends Component {\r\n\trender() {\r\n return (\r\n \r\n Statistica ed Elementi di Probabilità
\r\n \r\n \r\n \r\n Gruppo intero di oggetti di cui si cercano informazioni.\r\n
\r\n \r\n \r\n \r\n Popolazione finita di oggetti concreti che possono essere campionati ciascuno solo una volta.\r\n
\r\n \r\n \r\n \r\n Popolazione di valori ottenuti da prove sperimentali indipendenti ripetute più volte.\r\n
\r\n \r\n \r\n \r\n \r\n \r\n Sottoinsieme della popolazione che contiene gli oggetti che si sono osservati.\r\n
\r\n \r\n Simple random sample}>\r\n \r\n Campione di una data dimensione in cui qualsiasi selezione di n elementi ha la stessa probabilità di costituire il campione.\r\n
\r\n \r\n Sample of convenience}>\r\n \r\n Campione ottenuto in un modo casuale non ben definito.\r\n
\r\n \r\n Sample with replacement}>\r\n \r\n Campione ottenuto sostituendo nella popolazione gli elementi estratti con dei nuovi elementi.\r\n
\r\n \r\n Dire che un campione è ottenuto with replacement è equivalente a dire che la popolazione che si sta campionando è infinita, e quindi che tutti gli elementi sono indipendenti.\r\n
\r\n \r\n \r\n \r\n Campione ottenuto da una popolazione in cui certi elementi hanno più probabilità di essere stati selezionati di altri.\r\n
\r\n \r\n Stratified random sample}>\r\n \r\n Campione ottenuto da un sottoinsieme della popolazione detto strato.\r\n
\r\n \r\n Cluster sample}>\r\n \r\n Campione ottenuto selezionando più cluster di elementi alla volta.\r\n
\r\n \r\n \r\n \r\n Sampling variation}>\r\n \r\n Differenza di informazioni presente tra due campioni diversi della stessa popolazione.\r\n
\r\n \r\n \r\n \r\n Gli elementi in un campione sono indipendenti se gli elementi estratti in precedenza non influsicono significativamente sulle probabilità di estrazione dell'elemento successivo.\r\n
\r\n \r\n \r\n \r\n \r\n \r\n Esperimento in cui c'è una sola popolazione da cui vengono estratti campioni.\r\n
\r\n \r\n Serve per verificare delle condizioni.\r\n
\r\n \r\n \r\n \r\n Esperimento in cui sono presenti più popolazioni (aventi caratteristiche differenti una dall'altra dette fattori) da cui vengono estratti campioni.\r\n
\r\n \r\n Serve per capire quali fattori influenzano il risultato dell'esperimento.\r\n
\r\n \r\n \r\n \r\n Numerico o quantitativo}>\r\n Il dato descrive un valore numerico relativo all'elemento, come ad esempio una quantità fisica.\r\n \r\n Categorico o qualitativo}>\r\n Il dato indica una categoria a cui appartiene l'elemento, come ad esempio il suo colore.\r\n \r\n \r\n \r\n \r\n \r\n L'insieme di tutti gli esiti possibili di un esperimento.\r\n
\r\n \r\n {r`\\Omega = \\left \\{ 1, 2, 3, 4, 5, 6 \\right \\}`} \r\n
\r\n \r\n \r\n \r\n Uno dei possibili risultati di un esperimento.\r\n
\r\n \r\n E' un elemento dello spazio campionario.\r\n
\r\n \r\n {r`\\omega = 1`} \"omeghino\"\r\n
\r\n \r\n \r\n \r\n Un sottoinsieme dello spazio campionario.\r\n
\r\n \r\n {r`E = \\left \\{ 1, 2 \\right \\}`} \r\n
\r\n \r\n Lo spazio campionario stesso è un evento certo.\r\n
\r\n \r\n \r\n \r\n Il complementare di un sottoinsieme.\r\n
\r\n \r\n {r`\\bar{E} = \\left \\{ 3, 4, 5, 6 \\right \\}`} \r\n
\r\n \r\n \r\n \r\n L'intersezione di più sottoinsiemi.\r\n
\r\n \r\n {r`E \\cap F = \\left \\{ 1 \\right \\}`} \r\n
\r\n \r\n \r\n \r\n L'unione di più sottoinsiemi.\r\n
\r\n \r\n {r`E \\cup F = \\left \\{ 1, 2, 3, 4 \\right \\}`} \r\n
\r\n \r\n \r\n \r\n {r`E \\setminus F = E \\cap \\bar{F}`} \r\n
\r\n \r\n \r\n \r\n L'inclusione del primo insieme in un altro.\r\n
\r\n \r\n {r`E \\subseteq F`} \r\n
\r\n \r\n Se si verifica E , allora si verifica anche F .\r\n
\r\n \r\n \r\n \r\n Un sottoinsieme vuoto.\r\n
\r\n \r\n {r`I = \\emptyset`} \r\n
\r\n \r\n \r\n \r\n La disgiunzione di due insiemi.\r\n
\r\n \r\n {r`E \\cap F = \\emptyset`} \r\n
\r\n \r\n \r\n \r\n \r\n \r\n I sottoinsiemi dello spazio campionario formano una famiglia di sottoinsiemi detta famiglia degli eventi.\r\n
\r\n \r\n {r`\\mathcal{F}`} (\"effe\")\r\n
\r\n \r\n Qualsiasi sottoinsieme appartenente a {r`\\mathcal{F}`} è considerato un evento.\r\n
\r\n \r\n {r`\\sigma`} -algebra}>\r\n \r\n Se la famiglia degli eventi soddisfa questi tre requisiti, allora viene detta {r`\\sigma`} -algebra:\r\n
\r\n \r\n - \r\n Lo spazio campionario è un evento:
{r`\\Omega \\in \\mathcal{F}`} \r\n \r\n - \r\n Se un sottoinsieme è un evento, allora anche il suo complementare lo è:
{r`E \\in \\mathcal{F} \\implies \\bar{E} \\in \\mathcal{F}`} \r\n \r\n - \r\n Se due sottoinsiemi sono eventi, allora lo sono anche la loro unione e intersezione:
{r`(E, F) \\in \\mathcal{F} \\implies (E \\cup F, E \\cap F) \\in \\mathcal{F}`} \r\n \r\n
\r\n \r\n Un esempio: {r`E \\in \\mathcal{F} \\implies \\mathcal{F} = \\{ \\emptyset, E, \\bar{E}, \\Omega \\}`} \r\n
\r\n \r\n \r\n \r\n \r\n \r\n {r`P(E) = \\frac{casi\\ favorevoli}{casi\\ possibili}`} \r\n
\r\n \r\n \r\n \r\n {r`P(E) = \\frac{successi}{prove\\ totali}`} \r\n
\r\n \r\n \r\n \r\n TODO: Trovare un'espressione decente \r\n
\r\n \r\n \r\n \r\n \r\n \r\n La probabilità di un evento è un numero tra 0 e 1.\r\n
\r\n \r\n {r`\\forall E \\in \\mathcal{F}, 0 \\leq P(E) \\leq 1`} \r\n
\r\n \r\n \r\n \r\n La probabilità dello spazio campionario è sempre 1.\r\n
\r\n \r\n {r`P(\\Omega) = 1`} \r\n
\r\n \r\n \r\n \r\n La probabilità dell'unione di eventi indipendenti è uguale alla somma delle loro probabilità.\r\n
\r\n \r\n {r`P \\left ( \\bigcup_i E_i \\right ) = \\sum_i P ( E_i )`} \r\n
\r\n \r\n \r\n \r\n \r\n \r\n {r`P(\\bar{E}) = 1 - P(\\bar{E})`} \r\n
\r\n \r\n \r\n \r\n {r`F \\subseteq E \\implies P(F) \\leq P(E)`} \r\n
\r\n \r\n \r\n \r\n {r`P(E \\cup F) = P(E) + P(F) - P(E \\cap F)`} \r\n
\r\n \r\n \r\n \r\n \r\n \r\n Spazi campionari in cui ci sono un numero finito di esiti e ogni esito ha la stessa probabilità di verificarsi.\r\n
\r\n \r\n \r\n \r\n {r`P(E) = \\frac{len(E)}{len(\\Omega)}`} \r\n
\r\n \r\n \r\n \r\n \r\n \r\n Estraggo un numero, da un sacchetto con n numeri, mi segno che numero ho estratto e lo tengo fuori dal sacchetto. Ripeto per k volte.\r\n
\r\n \r\n Tengo conto dell'ordine in cui ho estratto i numeri.\r\n
\r\n \r\n {r`\\boldsymbol{D}_{n, k} = \\frac{n!}{(n - k)!}`} \r\n
\r\n \r\n \r\n \r\n Estraggo un numero, da un sacchetto con n numeri, mi segno che numero ho estratto e lo rimetto nel sacchetto. Ripeto per k volte.\r\n
\r\n \r\n Tengo conto dell'ordine in cui ho estratto i numeri.\r\n
\r\n \r\n {r`\\boldsymbol{D}^{r}_{n, k} = n^k`} \r\n
\r\n \r\n \r\n \r\n Estraggo un numero, da un sacchetto con n numeri, mi segno che numero ho estratto e lo tengo fuori dal sacchetto. Ripeto per k volte.\r\n
\r\n \r\n Non mi interessa l'ordine in cui ho estratto i numeri.\r\n
\r\n \r\n {r`\\boldsymbol{C}_{n, k} = \\binom{n}{k} = \\frac{n!}{(k)! \\cdot (n - k)!}`} \r\n
\r\n \r\n \r\n \r\n Estraggo un numero, da un sacchetto con n numeri, mi segno che numero ho estratto e lo rimetto nel sacchetto. Ripeto per k volte.\r\n
\r\n \r\n Non mi interessa l'ordine in cui ho estratto i numeri.\r\n
\r\n \r\n {r`\\boldsymbol{C}^{r}_{n, k} = \\binom{n + k - 1}{k} = \\frac{(n + k - 1)!}{(k)! \\cdot (n - 1)!}`} \r\n
\r\n \r\n TODO: Controllare la formula. \r\n
\r\n \r\n \r\n \r\n \r\n \r\n Estraggo n numeri e guardo in quanti ordini diversi li posso mettere.\r\n
\r\n \r\n {r`\\boldsymbol{P}_n = n!`} \r\n
\r\n \r\n \r\n \r\n \r\n \r\n Gli spazi campionari possono avere un numero infinito di esisti: si ha equiprobabilità se nessun esito è privilegiato rispetto agli altri.\r\n
\r\n \r\n \r\n \r\n E dato F}>\r\n \r\n La probabilità di un evento E dato un altro evento F indica la probabilità che si verifichi E sapendo che si è già verificato F .\r\n
\r\n \r\n {r`P(E|F) = \\frac{P(E \\cap F)}{P(F)}`} \r\n
\r\n \r\n \r\n \r\n Se due eventi sono indipendenti, sapere che uno dei due si è verificato non influisce sulle probabilità che si sia verificato l'altro.\r\n
\r\n \r\n {r`E, F\\ indipendenti\\ \\Longleftrightarrow P(E|F) = P(E), P(F|E) = P(F)`} \r\n
\r\n \r\n \r\n \r\n Se due eventi sono mutualmente esclusivi, entrambe le loro probabilità condizionate saranno uguali a 0.\r\n
\r\n \r\n {r`E \\cap F = \\emptyset \\Longleftrightarrow P(E|F) = P(F|E) = 0`} \r\n
\r\n \r\n \r\n \r\n Si può sfruttare la formula inversa della probabilità condizionata per calcolare catene di intersezioni:\r\n
\r\n \r\n {r`P(E_1 \\cap \\times \\cap E_n) = P(E_1) \\times P(E_2 | E_1) \\times \\dots \\times P(E_n | E_1 \\cap E_2 \\cap \\dots \\cap E_{n-1})`} \r\n
\r\n \r\n \r\n \r\n \r\n \r\n E' una partizione dello spazio campionario un insieme di eventi:\r\n
\r\n \r\n - Finito.
\r\n - In cui tutti gli eventi hanno probabilità diversa da 0.
\r\n - In cui tutti gli eventi sono mutualmente esclusivi.
\r\n - L'unione di tutti gli eventi copre lo spazio campionario.
\r\n
\r\n \r\n Se lo spazio campionario fosse una torta, una sua partizione sarebbe l'insieme delle fette di uno dei modi in cui si potrebbe tagliare.\r\n
\r\n \r\n La partizione {r`E_i`} è composta dagli eventi {r`E_1`} , {r`E_2`} , {r`E_3`} , fino a {r`E_n`} .\r\n
\r\n \r\n \r\n \r\n \r\n E_i partizione di {r`\\Omega`} \r\n {r`F`} evento {r`\\in \\Omega`} \r\n
\r\n \r\n \r\n \r\n La probabilità che si verifichi un evento è pari alla somma delle probabilità dell'evento stesso dati tutti gli eventi di una partizione.\r\n
\r\n \r\n {r`P(F) = \\sum_{i} P(F|E_i) \\cdot P(E_i)`} \r\n
\r\n \r\n \r\n \r\n Per la definizione di probabilità condizionata:\r\n
\r\n \r\n {r`P(F|E_i) \\cdot P(E_i) = P(F \\cap E_i)`} \r\n
\r\n \r\n Essendo parte di una partizione, tutti gli E_i sono distinti:\r\n
\r\n \r\n {r`\\forall i, \\exists! E_i`} \r\n
\r\n \r\n Essendo mutualmente esclusivi, le probabilità di tutti gli E_i possono essere sommate:\r\n
\r\n \r\n {r`\\sum_i P(F \\cap E_i) = P \\left( \\bigcup_i (F \\cap E_i) \\right)`} \r\n
\r\n \r\n Essendo una partizione di {r`\\Omega`} , allora la loro unione lo forma:\r\n
\r\n \r\n {r`\\bigcup_i ( F \\cap E_i ) = F \\cap \\left( \\bigcup_i E_i \\right) = F \\cap \\Omega = F`} \r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n La legge delle alternative funziona anche per gli eventi, non solo per {r`\\Omega`} :\r\n
\r\n \r\n {r`P(F|G) = \\sum_i P(F|E_i \\cap G) \\cdot P(E_i | G)`} \r\n
\r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n\r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n )\r\n\t}\r\n}\n\n\n// WEBPACK FOOTER //\n// ./pages/statistica.js","import './index.css';\nimport './manifest.json';\nimport { Component } from 'preact';\nimport Router from 'preact-router';\nimport Home from './pages/home';\nimport Fisica from './pages/fisica';\nimport VlDiGeometria from './pages/vldigeometria';\nimport MingwInstall from './pages/mingwinstall';\nimport Copyright from './components/copyright';\nimport Statistica from './pages/statistica';\n\n// noinspection JSUnusedGlobalSymbols\nexport default class App extends Component {\n\trender() {\n\t\treturn (\n\t\t\t\n\t\t\t\tAppuntiweb di Steffo
\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t \n\t\t\t\t \n\t\t\t\n\t\t);\n\t}\n}\n\n\n\n// WEBPACK FOOTER //\n// ./index.js","!function(){\"use strict\";function e(e,t){var n,o,r,i,l=W;for(i=arguments.length;i-- >2;)P.push(arguments[i]);t&&null!=t.children&&(P.length||P.push(t.children),delete t.children);while(P.length)if((o=P.pop())&&void 0!==o.pop)for(i=o.length;i--;)P.push(o[i]);else\"boolean\"==typeof o&&(o=null),(r=\"function\"!=typeof e)&&(null==o?o=\"\":\"number\"==typeof o?o+=\"\":\"string\"!=typeof o&&(r=!1)),r&&n?l[l.length-1]+=o:l===W?l=[o]:l.push(o),n=r;var a=new T;return a.nodeName=e,a.children=l,a.attributes=null==t?void 0:t,a.key=null==t?void 0:t.key,void 0!==M.vnode&&M.vnode(a),a}function t(e,t){for(var n in t)e[n]=t[n];return e}function n(e,t){e&&(\"function\"==typeof e?e(t):e.current=t)}function o(n,o){return e(n.nodeName,t(t({},n.attributes),o),arguments.length>2?[].slice.call(arguments,2):n.children)}function r(e){!e.__d&&(e.__d=!0)&&1==V.push(e)&&(M.debounceRendering||D)(i)}function i(){var e;while(e=V.pop())e.__d&&x(e)}function l(e,t,n){return\"string\"==typeof t||\"number\"==typeof t?void 0!==e.splitText:\"string\"==typeof t.nodeName?!e._componentConstructor&&a(e,t.nodeName):n||e._componentConstructor===t.nodeName}function a(e,t){return e.__n===t||e.nodeName.toLowerCase()===t.toLowerCase()}function u(e){var n=t({},e.attributes);n.children=e.children;var o=e.nodeName.defaultProps;if(void 0!==o)for(var r in o)void 0===n[r]&&(n[r]=o[r]);return n}function c(e,t){var n=t?document.createElementNS(\"http://www.w3.org/2000/svg\",e):document.createElement(e);return n.__n=e,n}function p(e){var t=e.parentNode;t&&t.removeChild(e)}function s(e,t,o,r,i){if(\"className\"===t&&(t=\"class\"),\"key\"===t);else if(\"ref\"===t)n(o,null),n(r,e);else if(\"class\"!==t||i)if(\"style\"===t){if(r&&\"string\"!=typeof r&&\"string\"!=typeof o||(e.style.cssText=r||\"\"),r&&\"object\"==typeof r){if(\"string\"!=typeof o)for(var l in o)l in r||(e.style[l]=\"\");for(var l in r)e.style[l]=\"number\"==typeof r[l]&&!1===E.test(l)?r[l]+\"px\":r[l]}}else if(\"dangerouslySetInnerHTML\"===t)r&&(e.innerHTML=r.__html||\"\");else if(\"o\"==t[0]&&\"n\"==t[1]){var a=t!==(t=t.replace(/Capture$/,\"\"));t=t.toLowerCase().substring(2),r?o||e.addEventListener(t,_,a):e.removeEventListener(t,_,a),(e.__l||(e.__l={}))[t]=r}else if(\"list\"!==t&&\"type\"!==t&&!i&&t in e){try{e[t]=null==r?\"\":r}catch(e){}null!=r&&!1!==r||\"spellcheck\"==t||e.removeAttribute(t)}else{var u=i&&t!==(t=t.replace(/^xlink:?/,\"\"));null==r||!1===r?u?e.removeAttributeNS(\"http://www.w3.org/1999/xlink\",t.toLowerCase()):e.removeAttribute(t):\"function\"!=typeof r&&(u?e.setAttributeNS(\"http://www.w3.org/1999/xlink\",t.toLowerCase(),r):e.setAttribute(t,r))}else e.className=r||\"\"}function _(e){return this.__l[e.type](M.event&&M.event(e)||e)}function f(){var e;while(e=A.shift())M.afterMount&&M.afterMount(e),e.componentDidMount&&e.componentDidMount()}function d(e,t,n,o,r,i){H++||(R=null!=r&&void 0!==r.ownerSVGElement,B=null!=e&&!(\"__preactattr_\"in e));var l=h(e,t,n,o,i);return r&&l.parentNode!==r&&r.appendChild(l),--H||(B=!1,i||f()),l}function h(e,t,n,o,r){var i=e,l=R;if(null!=t&&\"boolean\"!=typeof t||(t=\"\"),\"string\"==typeof t||\"number\"==typeof t)return e&&void 0!==e.splitText&&e.parentNode&&(!e._component||r)?e.nodeValue!=t&&(e.nodeValue=t):(i=document.createTextNode(t),e&&(e.parentNode&&e.parentNode.replaceChild(i,e),v(e,!0))),i.__preactattr_=!0,i;var u=t.nodeName;if(\"function\"==typeof u)return N(e,t,n,o);if(R=\"svg\"===u||\"foreignObject\"!==u&&R,u+=\"\",(!e||!a(e,u))&&(i=c(u,R),e)){while(e.firstChild)i.appendChild(e.firstChild);e.parentNode&&e.parentNode.replaceChild(i,e),v(e,!0)}var p=i.firstChild,s=i.__preactattr_,_=t.children;if(null==s){s=i.__preactattr_={};for(var f=i.attributes,d=f.length;d--;)s[f[d].name]=f[d].value}return!B&&_&&1===_.length&&\"string\"==typeof _[0]&&null!=p&&void 0!==p.splitText&&null==p.nextSibling?p.nodeValue!=_[0]&&(p.nodeValue=_[0]):(_&&_.length||null!=p)&&m(i,_,n,o,B||null!=s.dangerouslySetInnerHTML),y(i,t.attributes,s),R=l,i}function m(e,t,n,o,r){var i,a,u,c,s,_=e.childNodes,f=[],d={},m=0,b=0,y=_.length,g=0,w=t?t.length:0;if(0!==y)for(var C=0;C
+
+ Ipotesi
+
+ {this.props.children}
+
+ )
+ }
+}
diff --git a/src/components/panel.js b/src/components/panel.js
index ca795a1..0874b5c 100644
--- a/src/components/panel.js
+++ b/src/components/panel.js
@@ -2,6 +2,10 @@ import style from "./panel.css";
import { Component } from 'preact';
export default class Panel extends Component {
+ getStyle() {
+ return style.panel;
+ };
+
render() {
let title = null;
if(this.props.title !== undefined) {
@@ -9,7 +13,7 @@ export default class Panel extends Component {
}
return (
-
+
{title}
{this.props.children}
diff --git a/docs/.nojekyll b/src/components/proof.css
similarity index 100%
rename from docs/.nojekyll
rename to src/components/proof.css
diff --git a/src/components/proof.js b/src/components/proof.js
new file mode 100644
index 0000000..922da39
--- /dev/null
+++ b/src/components/proof.js
@@ -0,0 +1,15 @@
+import style from "./proof.css";
+import {Component} from "preact";
+
+export default class Proof extends Component {
+ render() {
+ return (
+
+
+ Dimostrazione
+
+ {this.props.children}
+
+ )
+ }
+}
diff --git a/src/components/theorem.css b/src/components/theorem.css
new file mode 100644
index 0000000..41acf14
--- /dev/null
+++ b/src/components/theorem.css
@@ -0,0 +1,4 @@
+.theorem {
+ background-color: rgba(160, 255, 204, 0.1);
+ color: #a0ffcc;
+}
\ No newline at end of file
diff --git a/src/components/theorem.js b/src/components/theorem.js
new file mode 100644
index 0000000..c809e4a
--- /dev/null
+++ b/src/components/theorem.js
@@ -0,0 +1,8 @@
+import style from "./theorem.css";
+import Panel from "./panel.js";
+
+export default class Theorem extends Panel {
+ getStyle() {
+ return super.getStyle() + " " + style.theorem;
+ }
+}
diff --git a/src/components/thesis.css b/src/components/thesis.css
new file mode 100644
index 0000000..fc5dd49
--- /dev/null
+++ b/src/components/thesis.css
@@ -0,0 +1,3 @@
+.thesis {
+
+}
\ No newline at end of file
diff --git a/src/components/thesis.js b/src/components/thesis.js
new file mode 100644
index 0000000..e4d4728
--- /dev/null
+++ b/src/components/thesis.js
@@ -0,0 +1,15 @@
+import style from "./thesis.css";
+import {Component} from "preact";
+
+export default class Thesis extends Component {
+ render() {
+ return (
+
+
+ Tesi
+
+ {this.props.children}
+
+ )
+ }
+}
diff --git a/src/index.css b/src/index.css
index 9475020..52d0b40 100644
--- a/src/index.css
+++ b/src/index.css
@@ -9,13 +9,21 @@ body {
}
h1, h2, h3, h4, h5, h6 {
- text-align: center;
margin-top: 4px;
margin-bottom: 4px;
color: #ffffff;
font-weight: normal;
}
+h1, h2, h3 {
+ text-align: center;
+}
+
+h4, h5, h6 {
+ font-weight: bold;
+}
+
+
a {
color: #00caca;
text-decoration: none;
diff --git a/src/pages/home.js b/src/pages/home.js
index ec2c758..743248b 100644
--- a/src/pages/home.js
+++ b/src/pages/home.js
@@ -14,6 +14,9 @@ export default class Home extends Component {
Appunti scritti mentre studiavo per l'esame di Statistica ed elementi di probabilità del corso triennale di Informatica all'Unimore del Prof. Luca La Rocca.
+
+ TODO: è ancora incompleto!
+
Cleaver}>
diff --git a/src/pages/statistica.js b/src/pages/statistica.js
index 6e27380..80e8de7 100644
--- a/src/pages/statistica.js
+++ b/src/pages/statistica.js
@@ -6,6 +6,10 @@ import Split from '../components/split';
import Plus from '../components/plus';
import Minus from '../components/minus';
import Todo from '../components/todo';
+import Theorem from "../components/theorem";
+import Hypothesis from "../components/hypothesis";
+import Thesis from "../components/thesis";
+import Proof from "../components/proof";
const r = String.raw;
@@ -304,42 +308,187 @@ export default class Statistica extends Component {
- Estraggo un numero, mi segno che numero ho estratto e lo tengo fuori dal sacchetto.
+ Estraggo un numero, da un sacchetto con n numeri, mi segno che numero ho estratto e lo tengo fuori dal sacchetto. Ripeto per k volte.
Tengo conto dell'ordine in cui ho estratto i numeri.
+
+ {r`\boldsymbol{D}_{n, k} = \frac{n!}{(n - k)!}`}
+
- Estraggo un numero, mi segno che numero ho estratto e lo rimetto nel sacchetto.
+ Estraggo un numero, da un sacchetto con n numeri, mi segno che numero ho estratto e lo rimetto nel sacchetto. Ripeto per k volte.
Tengo conto dell'ordine in cui ho estratto i numeri.
+
+ {r`\boldsymbol{D}^{r}_{n, k} = n^k`}
+
- Estraggo un numero, mi segno che numero ho estratto e lo tengo fuori dal sacchetto.
+ Estraggo un numero, da un sacchetto con n numeri, mi segno che numero ho estratto e lo tengo fuori dal sacchetto. Ripeto per k volte.
Non mi interessa l'ordine in cui ho estratto i numeri.
+
+ {r`\boldsymbol{C}_{n, k} = \binom{n}{k} = \frac{n!}{(k)! \cdot (n - k)!}`}
+
- Estraggo un numero, mi segno che numero ho estratto e lo rimetto nel sacchetto.
+ Estraggo un numero, da un sacchetto con n numeri, mi segno che numero ho estratto e lo rimetto nel sacchetto. Ripeto per k volte.
Non mi interessa l'ordine in cui ho estratto i numeri.
-
-
- Estraggo N numeri e guardo in quanti ordini diversi li posso mettere.
+ {r`\boldsymbol{C}^{r}_{n, k} = \binom{n + k - 1}{k} = \frac{(n + k - 1)!}{(k)! \cdot (n - 1)!}`}
+
+
+ TODO: Controllare la formula.
+
+
+
+ Estraggo n numeri e guardo in quanti ordini diversi li posso mettere.
+
+
+ {r`\boldsymbol{P}_n = n!`}
+
+
+
+
+
+
+ Gli spazi campionari possono avere un numero infinito di esisti: si ha equiprobabilità se nessun esito è privilegiato rispetto agli altri.
+
+
+
+
+ E dato F}>
+
+ La probabilità di un evento E dato un altro evento F indica la probabilità che si verifichi E sapendo che si è già verificato F .
+
+
+ {r`P(E|F) = \frac{P(E \cap F)}{P(F)}`}
+
+
+
+
+ Se due eventi sono indipendenti, sapere che uno dei due si è verificato non influisce sulle probabilità che si sia verificato l'altro.
+
+
+ {r`E, F\ indipendenti\ \Longleftrightarrow P(E|F) = P(E), P(F|E) = P(F)`}
+
+
+
+
+ Se due eventi sono mutualmente esclusivi, entrambe le loro probabilità condizionate saranno uguali a 0.
+
+
+ {r`E \cap F = \emptyset \Longleftrightarrow P(E|F) = P(F|E) = 0`}
+
+
+
+
+ Si può sfruttare la formula inversa della probabilità condizionata per calcolare catene di intersezioni:
+
+
+ {r`P(E_1 \cap \times \cap E_n) = P(E_1) \times P(E_2 | E_1) \times \dots \times P(E_n | E_1 \cap E_2 \cap \dots \cap E_{n-1})`}
+
+
+
+
+
+
+ E' una partizione dello spazio campionario un insieme di eventi:
+
+
+ - Finito.
+ - In cui tutti gli eventi hanno probabilità diversa da 0.
+ - In cui tutti gli eventi sono mutualmente esclusivi.
+ - L'unione di tutti gli eventi copre lo spazio campionario.
+
+
+ Se lo spazio campionario fosse una torta, una sua partizione sarebbe l'insieme delle fette di uno dei modi in cui si potrebbe tagliare.
+
+
+ La partizione {r`E_i`} è composta dagli eventi {r`E_1`} , {r`E_2`} , {r`E_3`} , fino a {r`E_n`} .
+
+
+
+
+
+ E_i partizione di {r`\Omega`}
+ {r`F`} evento {r`\in \Omega`}
+
+
+
+
+ La probabilità che si verifichi un evento è pari alla somma delle probabilità dell'evento stesso dati tutti gli eventi di una partizione.
+
+
+ {r`P(F) = \sum_{i} P(F|E_i) \cdot P(E_i)`}
+
+
+
+
+ Per la definizione di probabilità condizionata:
+
+
+ {r`P(F|E_i) \cdot P(E_i) = P(F \cap E_i)`}
+
+
+ Essendo parte di una partizione, tutti gli E_i sono distinti:
+
+
+ {r`\forall i, \exists! E_i`}
+
+
+ Essendo mutualmente esclusivi, le probabilità di tutti gli E_i possono essere sommate:
+
+
+ {r`\sum_i P(F \cap E_i) = P \left( \bigcup_i (F \cap E_i) \right)`}
+
+
+ Essendo una partizione di {r`\Omega`} , allora la loro unione lo forma:
+
+
+ {r`\bigcup_i ( F \cap E_i ) = F \cap \left( \bigcup_i E_i \right) = F \cap \Omega = F`}
+
+
+
+
+
+
+
+ La legge delle alternative funziona anche per gli eventi, non solo per {r`\Omega`} :
+
+
+ {r`P(F|G) = \sum_i P(F|E_i \cap G) \cdot P(E_i | G)`}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
)
}