fhir-react
Version:
React component library for displaying FHIR Resources
8 lines • 254 kB
JavaScript
module.exports=function(e){var t={};function r(a){if(t[a])return t[a].exports;var n=t[a]={i:a,l:!1,exports:{}};return e[a].call(n.exports,n,n.exports,r),n.l=!0,n.exports}return r.m=e,r.c=t,r.d=function(e,t,a){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:a})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var a=Object.create(null);if(r.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)r.d(a,n,function(t){return e[t]}.bind(null,n));return a},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=43)}([function(e,t){e.exports=require("react")},function(e,t,r){var a=r(46);e.exports=function(e,t,r){var n=null==e?void 0:a(e,t);return void 0===n?r:n}},function(e,t,r){e.exports=r(44)()},function(e,t,r){var a=r(96),n=r(97);e.exports=function(e,t){return null!=e&&n(e,t,a)}},function(e,t,r){var a=r(24),n="object"==typeof self&&self&&self.Object===Object&&self,i=a||n||Function("return this")();e.exports=i},function(e,t){var r=Array.isArray;e.exports=r},function(e,t,r){var a=r(12),n=r(48),i=r(49),o="[object Null]",c="[object Undefined]",l=a?a.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?c:o:l&&l in Object(e)?n(e):i(e)}},function(e,t,r){var a=r(57),n=r(60);e.exports=function(e,t){var r=n(e,t);return a(r)?r:void 0}},function(e,t){const r=/[&<>"']/,a=/[&<>"']/g,n=/[<>"']|&(?!#?\w+;)/,i=/[<>"']|&(?!#?\w+;)/g,o={"&":"&","<":"<",">":">",'"':""","'":"'"},c=e=>o[e];const l=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/gi;function s(e){return e.replace(l,(e,t)=>"colon"===(t=t.toLowerCase())?":":"#"===t.charAt(0)?"x"===t.charAt(1)?String.fromCharCode(parseInt(t.substring(2),16)):String.fromCharCode(+t.substring(1)):"")}const u=/(^|[^\[])\^/g;const d=/[^\w:]/g,f=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;const p={},m=/^[^:]+:\/*[^/]*$/,h=/^([^:]+:)[\s\S]*$/,y=/^([^:]+:\/*[^/]*)[\s\S]*$/;function g(e,t){p[" "+e]||(m.test(e)?p[" "+e]=e+"/":p[" "+e]=E(e,"/",!0));const r=-1===(e=p[" "+e]).indexOf(":");return"//"===t.substring(0,2)?r?t:e.replace(h,"$1")+t:"/"===t.charAt(0)?r?t:e.replace(y,"$1")+t:e+t}function E(e,t,r){const a=e.length;if(0===a)return"";let n=0;for(;n<a;){const i=e.charAt(a-n-1);if(i!==t||r){if(i===t||!r)break;n++}else n++}return e.substr(0,a-n)}e.exports={escape:function(e,t){if(t){if(r.test(e))return e.replace(a,c)}else if(n.test(e))return e.replace(i,c);return e},unescape:s,edit:function(e,t){e=e.source||e,t=t||"";const r={replace:(t,a)=>(a=(a=a.source||a).replace(u,"$1"),e=e.replace(t,a),r),getRegex:()=>new RegExp(e,t)};return r},cleanUrl:function(e,t,r){if(e){let e;try{e=decodeURIComponent(s(r)).replace(d,"").toLowerCase()}catch(e){return null}if(0===e.indexOf("javascript:")||0===e.indexOf("vbscript:")||0===e.indexOf("data:"))return null}t&&!f.test(r)&&(r=g(t,r));try{r=encodeURI(r).replace(/%25/g,"%")}catch(e){return null}return r},resolveUrl:g,noopTest:{exec:function(){}},merge:function(e){let t,r,a=1;for(;a<arguments.length;a++)for(r in t=arguments[a],t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},splitCells:function(e,t){const r=e.replace(/\|/g,(e,t,r)=>{let a=!1,n=t;for(;--n>=0&&"\\"===r[n];)a=!a;return a?"|":" |"}).split(/ \|/);let a=0;if(r.length>t)r.splice(t);else for(;r.length<t;)r.push("");for(;a<r.length;a++)r[a]=r[a].trim().replace(/\\\|/g,"|");return r},rtrim:E,findClosingBracket:function(e,t){if(-1===e.indexOf(t[1]))return-1;const r=e.length;let a=0,n=0;for(;n<r;n++)if("\\"===e[n])n++;else if(e[n]===t[0])a++;else if(e[n]===t[1]&&(a--,a<0))return n;return-1},checkSanitizeDeprecation:function(e){e&&e.sanitize&&!e.silent&&console.warn("marked(): sanitize and sanitizer parameters are deprecated since version 0.7.0, should not be used and will be removed in the future. Read more here: https://marked.js.org/#/USING_ADVANCED.md#options")}}},function(e,t){e.exports=function(e){return null!=e&&"object"==typeof e}},function(e,t){function r(){return{baseUrl:null,breaks:!1,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartLists:!1,smartypants:!1,xhtml:!1}}e.exports={defaults:{baseUrl:null,breaks:!1,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:null,sanitize:!1,sanitizer:null,silent:!1,smartLists:!1,smartypants:!1,xhtml:!1},getDefaults:r,changeDefaults:function(t){e.exports.defaults=t}}},function(e,t){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},function(e,t,r){var a=r(4).Symbol;e.exports=a},function(e,t,r){var a=r(7)(Object,"create");e.exports=a},function(e,t,r){var a=r(68);e.exports=function(e,t){for(var r=e.length;r--;)if(a(e[r][0],t))return r;return-1}},function(e,t,r){var a=r(73);e.exports=function(e,t){var r=e.__data__;return a(t)?r["string"==typeof t?"string":"hash"]:r.map}},function(e,t,r){var a,n,i,o,c;a=r(117),n=r(32).utf8,i=r(118),o=r(32).bin,(c=function(e,t){e.constructor==String?e=t&&"binary"===t.encoding?o.stringToBytes(e):n.stringToBytes(e):i(e)?e=Array.prototype.slice.call(e,0):Array.isArray(e)||(e=e.toString());for(var r=a.bytesToWords(e),l=8*e.length,s=1732584193,u=-271733879,d=-1732584194,f=271733878,p=0;p<r.length;p++)r[p]=16711935&(r[p]<<8|r[p]>>>24)|4278255360&(r[p]<<24|r[p]>>>8);r[l>>>5]|=128<<l%32,r[14+(l+64>>>9<<4)]=l;var m=c._ff,h=c._gg,y=c._hh,g=c._ii;for(p=0;p<r.length;p+=16){var E=s,b=u,v=d,O=f;s=m(s,u,d,f,r[p+0],7,-680876936),f=m(f,s,u,d,r[p+1],12,-389564586),d=m(d,f,s,u,r[p+2],17,606105819),u=m(u,d,f,s,r[p+3],22,-1044525330),s=m(s,u,d,f,r[p+4],7,-176418897),f=m(f,s,u,d,r[p+5],12,1200080426),d=m(d,f,s,u,r[p+6],17,-1473231341),u=m(u,d,f,s,r[p+7],22,-45705983),s=m(s,u,d,f,r[p+8],7,1770035416),f=m(f,s,u,d,r[p+9],12,-1958414417),d=m(d,f,s,u,r[p+10],17,-42063),u=m(u,d,f,s,r[p+11],22,-1990404162),s=m(s,u,d,f,r[p+12],7,1804603682),f=m(f,s,u,d,r[p+13],12,-40341101),d=m(d,f,s,u,r[p+14],17,-1502002290),s=h(s,u=m(u,d,f,s,r[p+15],22,1236535329),d,f,r[p+1],5,-165796510),f=h(f,s,u,d,r[p+6],9,-1069501632),d=h(d,f,s,u,r[p+11],14,643717713),u=h(u,d,f,s,r[p+0],20,-373897302),s=h(s,u,d,f,r[p+5],5,-701558691),f=h(f,s,u,d,r[p+10],9,38016083),d=h(d,f,s,u,r[p+15],14,-660478335),u=h(u,d,f,s,r[p+4],20,-405537848),s=h(s,u,d,f,r[p+9],5,568446438),f=h(f,s,u,d,r[p+14],9,-1019803690),d=h(d,f,s,u,r[p+3],14,-187363961),u=h(u,d,f,s,r[p+8],20,1163531501),s=h(s,u,d,f,r[p+13],5,-1444681467),f=h(f,s,u,d,r[p+2],9,-51403784),d=h(d,f,s,u,r[p+7],14,1735328473),s=y(s,u=h(u,d,f,s,r[p+12],20,-1926607734),d,f,r[p+5],4,-378558),f=y(f,s,u,d,r[p+8],11,-2022574463),d=y(d,f,s,u,r[p+11],16,1839030562),u=y(u,d,f,s,r[p+14],23,-35309556),s=y(s,u,d,f,r[p+1],4,-1530992060),f=y(f,s,u,d,r[p+4],11,1272893353),d=y(d,f,s,u,r[p+7],16,-155497632),u=y(u,d,f,s,r[p+10],23,-1094730640),s=y(s,u,d,f,r[p+13],4,681279174),f=y(f,s,u,d,r[p+0],11,-358537222),d=y(d,f,s,u,r[p+3],16,-722521979),u=y(u,d,f,s,r[p+6],23,76029189),s=y(s,u,d,f,r[p+9],4,-640364487),f=y(f,s,u,d,r[p+12],11,-421815835),d=y(d,f,s,u,r[p+15],16,530742520),s=g(s,u=y(u,d,f,s,r[p+2],23,-995338651),d,f,r[p+0],6,-198630844),f=g(f,s,u,d,r[p+7],10,1126891415),d=g(d,f,s,u,r[p+14],15,-1416354905),u=g(u,d,f,s,r[p+5],21,-57434055),s=g(s,u,d,f,r[p+12],6,1700485571),f=g(f,s,u,d,r[p+3],10,-1894986606),d=g(d,f,s,u,r[p+10],15,-1051523),u=g(u,d,f,s,r[p+1],21,-2054922799),s=g(s,u,d,f,r[p+8],6,1873313359),f=g(f,s,u,d,r[p+15],10,-30611744),d=g(d,f,s,u,r[p+6],15,-1560198380),u=g(u,d,f,s,r[p+13],21,1309151649),s=g(s,u,d,f,r[p+4],6,-145523070),f=g(f,s,u,d,r[p+11],10,-1120210379),d=g(d,f,s,u,r[p+2],15,718787259),u=g(u,d,f,s,r[p+9],21,-343485551),s=s+E>>>0,u=u+b>>>0,d=d+v>>>0,f=f+O>>>0}return a.endian([s,u,d,f])})._ff=function(e,t,r,a,n,i,o){var c=e+(t&r|~t&a)+(n>>>0)+o;return(c<<i|c>>>32-i)+t},c._gg=function(e,t,r,a,n,i,o){var c=e+(t&a|r&~a)+(n>>>0)+o;return(c<<i|c>>>32-i)+t},c._hh=function(e,t,r,a,n,i,o){var c=e+(t^r^a)+(n>>>0)+o;return(c<<i|c>>>32-i)+t},c._ii=function(e,t,r,a,n,i,o){var c=e+(r^(t|~a))+(n>>>0)+o;return(c<<i|c>>>32-i)+t},c._blocksize=16,c._digestsize=16,e.exports=function(e,t){if(null==e)throw new Error("Illegal argument "+e);var r=a.wordsToBytes(c(e,t));return t&&t.asBytes?r:t&&t.asString?o.bytesToString(r):a.bytesToHex(r)}},function(e,t,r){var a=r(119);e.exports=function(e){return(null==e?0:e.length)?a(e,1):[]}},function(e,t,r){var a=r(6),n=r(9),i="[object Symbol]";e.exports=function(e){return"symbol"==typeof e||n(e)&&a(e)==i}},function(e,t,r){var a=r(98),n=r(9),i=Object.prototype,o=i.hasOwnProperty,c=i.propertyIsEnumerable,l=a(function(){return arguments}())?a:function(e){return n(e)&&o.call(e,"callee")&&!c.call(e,"callee")};e.exports=l},function(e,t){var r=9007199254740991;e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=r}},function(e,t,r){const{defaults:a}=r(10),{cleanUrl:n,escape:i}=r(8);e.exports=class{constructor(e){this.options=e||a}code(e,t,r){const a=(t||"").match(/\S*/)[0];if(this.options.highlight){const t=this.options.highlight(e,a);null!=t&&t!==e&&(r=!0,e=t)}return a?'<pre><code class="'+this.options.langPrefix+i(a,!0)+'">'+(r?e:i(e,!0))+"</code></pre>\n":"<pre><code>"+(r?e:i(e,!0))+"</code></pre>"}blockquote(e){return"<blockquote>\n"+e+"</blockquote>\n"}html(e){return e}heading(e,t,r,a){return this.options.headerIds?"<h"+t+' id="'+this.options.headerPrefix+a.slug(r)+'">'+e+"</h"+t+">\n":"<h"+t+">"+e+"</h"+t+">\n"}hr(){return this.options.xhtml?"<hr/>\n":"<hr>\n"}list(e,t,r){const a=t?"ol":"ul";return"<"+a+(t&&1!==r?' start="'+r+'"':"")+">\n"+e+"</"+a+">\n"}listitem(e){return"<li>"+e+"</li>\n"}checkbox(e){return"<input "+(e?'checked="" ':"")+'disabled="" type="checkbox"'+(this.options.xhtml?" /":"")+"> "}paragraph(e){return"<p>"+e+"</p>\n"}table(e,t){return t&&(t="<tbody>"+t+"</tbody>"),"<table>\n<thead>\n"+e+"</thead>\n"+t+"</table>\n"}tablerow(e){return"<tr>\n"+e+"</tr>\n"}tablecell(e,t){const r=t.header?"th":"td";return(t.align?"<"+r+' align="'+t.align+'">':"<"+r+">")+e+"</"+r+">\n"}strong(e){return"<strong>"+e+"</strong>"}em(e){return"<em>"+e+"</em>"}codespan(e){return"<code>"+e+"</code>"}br(){return this.options.xhtml?"<br/>":"<br>"}del(e){return"<del>"+e+"</del>"}link(e,t,r){if(null===(e=n(this.options.sanitize,this.options.baseUrl,e)))return r;let a='<a href="'+i(e)+'"';return t&&(a+=' title="'+t+'"'),a+=">"+r+"</a>",a}image(e,t,r){if(null===(e=n(this.options.sanitize,this.options.baseUrl,e)))return r;let a='<img src="'+e+'" alt="'+r+'"';return t&&(a+=' title="'+t+'"'),a+=this.options.xhtml?"/>":">",a}text(e){return e}}},function(e,t,r){var a=r(4).isFinite;e.exports=function(e){return"number"==typeof e&&a(e)}},function(e,t,r){var a=r(5),n=r(47),i=r(50),o=r(77);e.exports=function(e,t){return a(e)?e:n(e,t)?[e]:i(o(e))}},function(e,t,r){(function(t){var r="object"==typeof t&&t&&t.Object===Object&&t;e.exports=r}).call(this,r(25))},function(e,t){var r;r=function(){return this}();try{r=r||new Function("return this")()}catch(e){"object"==typeof window&&(r=window)}e.exports=r},function(e,t,r){var a=r(6),n=r(11),i="[object AsyncFunction]",o="[object Function]",c="[object GeneratorFunction]",l="[object Proxy]";e.exports=function(e){if(!n(e))return!1;var t=a(e);return t==o||t==c||t==i||t==l}},function(e,t){var r=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return r.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},function(e,t,r){var a=r(7)(r(4),"Map");e.exports=a},function(e,t,r){var a=r(18),n=1/0;e.exports=function(e){if("string"==typeof e||a(e))return e;var t=e+"";return"0"==t&&1/e==-n?"-0":t}},function(e,t){var r=Object.prototype;e.exports=function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||r)}},function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},function(e,t){var r={utf8:{stringToBytes:function(e){return r.bin.stringToBytes(unescape(encodeURIComponent(e)))},bytesToString:function(e){return decodeURIComponent(escape(r.bin.bytesToString(e)))}},bin:{stringToBytes:function(e){for(var t=[],r=0;r<e.length;r++)t.push(255&e.charCodeAt(r));return t},bytesToString:function(e){for(var t=[],r=0;r<e.length;r++)t.push(String.fromCharCode(e[r]));return t.join("")}}};e.exports=r},function(e,t,r){const{noopTest:a,edit:n,merge:i}=r(8),o={newline:/^\n+/,code:/^( {4}[^\n]+\n*)+/,fences:/^ {0,3}(`{3,}|~{3,})([^`~\n]*)\n(?:|([\s\S]*?)\n)(?: {0,3}\1[~`]* *(?:\n+|$)|$)/,hr:/^ {0,3}((?:- *){3,}|(?:_ *){3,}|(?:\* *){3,})(?:\n+|$)/,heading:/^ {0,3}(#{1,6}) +([^\n]*?)(?: +#+)? *(?:\n+|$)/,blockquote:/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,list:/^( {0,3})(bull) [\s\S]+?(?:hr|def|\n{2,}(?! )(?!\1bull )\n*|\s*$)/,html:"^ {0,3}(?:<(script|pre|style)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?\\?>\\n*|<![A-Z][\\s\\S]*?>\\n*|<!\\[CDATA\\[[\\s\\S]*?\\]\\]>\\n*|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:\\n{2,}|$)|<(?!script|pre|style)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:\\n{2,}|$)|</(?!script|pre|style)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:\\n{2,}|$))",def:/^ {0,3}\[(label)\]: *\n? *<?([^\s>]+)>?(?:(?: +\n? *| *\n *)(title))? *(?:\n+|$)/,nptable:a,table:a,lheading:/^([^\n]+)\n {0,3}(=+|-+) *(?:\n+|$)/,_paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html)[^\n]+)*)/,text:/^[^\n]+/,_label:/(?!\s*\])(?:\\[\[\]]|[^\[\]])+/,_title:/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/};o.def=n(o.def).replace("label",o._label).replace("title",o._title).getRegex(),o.bullet=/(?:[*+-]|\d{1,9}\.)/,o.item=/^( *)(bull) ?[^\n]*(?:\n(?!\1bull ?)[^\n]*)*/,o.item=n(o.item,"gm").replace(/bull/g,o.bullet).getRegex(),o.list=n(o.list).replace(/bull/g,o.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+o.def.source+")").getRegex(),o._tag="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",o._comment=/<!--(?!-?>)[\s\S]*?-->/,o.html=n(o.html,"i").replace("comment",o._comment).replace("tag",o._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),o.paragraph=n(o._paragraph).replace("hr",o.hr).replace("heading"," {0,3}#{1,6} +").replace("|lheading","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}|~{3,})[^`\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|!--)").replace("tag",o._tag).getRegex(),o.blockquote=n(o.blockquote).replace("paragraph",o.paragraph).getRegex(),o.normal=i({},o),o.gfm=i({},o.normal,{nptable:/^ *([^|\n ].*\|.*)\n *([-:]+ *\|[-| :]*)(?:\n((?:.*[^>\n ].*(?:\n|$))*)\n*|$)/,table:/^ *\|(.+)\n *\|?( *[-:]+[-| :]*)(?:\n((?: *[^>\n ].*(?:\n|$))*)\n*|$)/}),o.pedantic=i({},o.normal,{html:n("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:\"[^\"]*\"|'[^']*'|\\s[^'\"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment",o._comment).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^ *(#{1,6}) *([^\n]+?) *(?:#+ *)?(?:\n+|$)/,fences:a,paragraph:n(o.normal._paragraph).replace("hr",o.hr).replace("heading"," *#{1,6} *[^\n]").replace("lheading",o.lheading).replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").getRegex()});const c={escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:a,tag:"^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>",link:/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/,reflink:/^!?\[(label)\]\[(?!\s*\])((?:\\[\[\]]?|[^\[\]\\])+)\]/,nolink:/^!?\[(?!\s*\])((?:\[[^\[\]]*\]|\\[\[\]]|[^\[\]])*)\](?:\[\])?/,strong:/^__([^\s_])__(?!_)|^\*\*([^\s*])\*\*(?!\*)|^__([^\s][\s\S]*?[^\s])__(?!_)|^\*\*([^\s][\s\S]*?[^\s])\*\*(?!\*)/,em:/^_([^\s_])_(?!_)|^\*([^\s*<\[])\*(?!\*)|^_([^\s<][\s\S]*?[^\s_])_(?!_|[^\spunctuation])|^_([^\s_<][\s\S]*?[^\s])_(?!_|[^\spunctuation])|^\*([^\s<"][\s\S]*?[^\s\*])\*(?!\*|[^\spunctuation])|^\*([^\s*"<\[][\s\S]*?[^\s])\*(?!\*)/,code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,br:/^( {2,}|\\)\n(?!\s*$)/,del:a,text:/^(`+|[^`])(?:[\s\S]*?(?:(?=[\\<!\[`*]|\b_|$)|[^ ](?= {2,}\n))|(?= {2,}\n))/,_punctuation:"!\"#$%&'()*+,\\-./:;<=>?@\\[^_{|}~"};c.em=n(c.em).replace(/punctuation/g,c._punctuation).getRegex(),c._escapes=/\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/g,c._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/,c._email=/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/,c.autolink=n(c.autolink).replace("scheme",c._scheme).replace("email",c._email).getRegex(),c._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/,c.tag=n(c.tag).replace("comment",o._comment).replace("attribute",c._attribute).getRegex(),c._label=/(?:\[[^\[\]]*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,c._href=/<(?:\\[<>]?|[^\s<>\\])*>|[^\s\x00-\x1f]*/,c._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/,c.link=n(c.link).replace("label",c._label).replace("href",c._href).replace("title",c._title).getRegex(),c.reflink=n(c.reflink).replace("label",c._label).getRegex(),c.normal=i({},c),c.pedantic=i({},c.normal,{strong:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,em:/^_(?=\S)([\s\S]*?\S)_(?!_)|^\*(?=\S)([\s\S]*?\S)\*(?!\*)/,link:n(/^!?\[(label)\]\((.*?)\)/).replace("label",c._label).getRegex(),reflink:n(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",c._label).getRegex()}),c.gfm=i({},c.normal,{escape:n(c.escape).replace("])","~|])").getRegex(),_extended_email:/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/,url:/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,_backpedal:/(?:[^?!.,:;*_~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_~)]+(?!$))+/,del:/^~+(?=\S)([\s\S]*?\S)~+/,text:/^(`+|[^`])(?:[\s\S]*?(?:(?=[\\<!\[`*~]|\b_|https?:\/\/|ftp:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@))|(?= {2,}\n|[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@))/}),c.gfm.url=n(c.gfm.url,"i").replace("email",c.gfm._extended_email).getRegex(),c.breaks=i({},c.gfm,{br:n(c.br).replace("{2,}","*").getRegex(),text:n(c.gfm.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()}),e.exports={block:o,inline:c}},function(e,t){e.exports=class{constructor(){this.seen={}}slug(e){let t=e.toLowerCase().trim().replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g,"").replace(/\s/g,"-");if(this.seen.hasOwnProperty(t)){const e=t;do{this.seen[e]++,t=e+"-"+this.seen[e]}while(this.seen.hasOwnProperty(t))}return this.seen[t]=0,t}}},function(e,t,r){const a=r(21),{defaults:n}=r(10),{inline:i}=r(33),{findClosingBracket:o,escape:c}=r(8);e.exports=class e{constructor(e,t){if(this.options=t||n,this.links=e,this.rules=i.normal,this.options.renderer=this.options.renderer||new a,this.renderer=this.options.renderer,this.renderer.options=this.options,!this.links)throw new Error("Tokens array requires a `links` property.");this.options.pedantic?this.rules=i.pedantic:this.options.gfm&&(this.options.breaks?this.rules=i.breaks:this.rules=i.gfm)}static get rules(){return i}static output(t,r,a){return new e(r,a).output(t)}output(t){let r,a,n,i,l,s,u="";for(;t;)if(l=this.rules.escape.exec(t))t=t.substring(l[0].length),u+=c(l[1]);else if(l=this.rules.tag.exec(t))!this.inLink&&/^<a /i.test(l[0])?this.inLink=!0:this.inLink&&/^<\/a>/i.test(l[0])&&(this.inLink=!1),!this.inRawBlock&&/^<(pre|code|kbd|script)(\s|>)/i.test(l[0])?this.inRawBlock=!0:this.inRawBlock&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(l[0])&&(this.inRawBlock=!1),t=t.substring(l[0].length),u+=this.options.sanitize?this.options.sanitizer?this.options.sanitizer(l[0]):c(l[0]):l[0];else if(l=this.rules.link.exec(t)){const a=o(l[2],"()");if(a>-1){const e=(0===l[0].indexOf("!")?5:4)+l[1].length+a;l[2]=l[2].substring(0,a),l[0]=l[0].substring(0,e).trim(),l[3]=""}t=t.substring(l[0].length),this.inLink=!0,n=l[2],this.options.pedantic?(r=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(n),r?(n=r[1],i=r[3]):i=""):i=l[3]?l[3].slice(1,-1):"",n=n.trim().replace(/^<([\s\S]*)>$/,"$1"),u+=this.outputLink(l,{href:e.escapes(n),title:e.escapes(i)}),this.inLink=!1}else if((l=this.rules.reflink.exec(t))||(l=this.rules.nolink.exec(t))){if(t=t.substring(l[0].length),r=(l[2]||l[1]).replace(/\s+/g," "),r=this.links[r.toLowerCase()],!r||!r.href){u+=l[0].charAt(0),t=l[0].substring(1)+t;continue}this.inLink=!0,u+=this.outputLink(l,r),this.inLink=!1}else if(l=this.rules.strong.exec(t))t=t.substring(l[0].length),u+=this.renderer.strong(this.output(l[4]||l[3]||l[2]||l[1]));else if(l=this.rules.em.exec(t))t=t.substring(l[0].length),u+=this.renderer.em(this.output(l[6]||l[5]||l[4]||l[3]||l[2]||l[1]));else if(l=this.rules.code.exec(t))t=t.substring(l[0].length),u+=this.renderer.codespan(c(l[2].trim(),!0));else if(l=this.rules.br.exec(t))t=t.substring(l[0].length),u+=this.renderer.br();else if(l=this.rules.del.exec(t))t=t.substring(l[0].length),u+=this.renderer.del(this.output(l[1]));else if(l=this.rules.autolink.exec(t))t=t.substring(l[0].length),"@"===l[2]?(a=c(this.mangle(l[1])),n="mailto:"+a):(a=c(l[1]),n=a),u+=this.renderer.link(n,null,a);else if(this.inLink||!(l=this.rules.url.exec(t))){if(l=this.rules.text.exec(t))t=t.substring(l[0].length),this.inRawBlock?u+=this.renderer.text(this.options.sanitize?this.options.sanitizer?this.options.sanitizer(l[0]):c(l[0]):l[0]):u+=this.renderer.text(c(this.smartypants(l[0])));else if(t)throw new Error("Infinite loop on byte: "+t.charCodeAt(0))}else{if("@"===l[2])a=c(l[0]),n="mailto:"+a;else{do{s=l[0],l[0]=this.rules._backpedal.exec(l[0])[0]}while(s!==l[0]);a=c(l[0]),n="www."===l[1]?"http://"+a:a}t=t.substring(l[0].length),u+=this.renderer.link(n,null,a)}return u}static escapes(t){return t?t.replace(e.rules._escapes,"$1"):t}outputLink(e,t){const r=t.href,a=t.title?c(t.title):null;return"!"!==e[0].charAt(0)?this.renderer.link(r,a,this.output(e[1])):this.renderer.image(r,a,c(e[1]))}smartypants(e){return this.options.smartypants?e.replace(/---/g,"—").replace(/--/g,"–").replace(/(^|[-\u2014/(\[{"\s])'/g,"$1‘").replace(/'/g,"’").replace(/(^|[-\u2014/(\[{\u2018\s])"/g,"$1“").replace(/"/g,"”").replace(/\.{3}/g,"…"):e}mangle(e){if(!this.options.mangle)return e;const t=e.length;let r,a="",n=0;for(;n<t;n++)r=e.charCodeAt(n),Math.random()>.5&&(r="x"+r.toString(16)),a+="&#"+r+";";return a}}},function(e,t){e.exports=class{strong(e){return e}em(e){return e}codespan(e){return e}del(e){return e}text(e){return e}link(e,t,r){return""+r}image(e,t,r){return""+r}br(){return""}}},function(e,t,r){"use strict";(function(e){var a=r(0),n=r.n(a);r(90);t.a=function(t){var r=t.fhirResource,a=e.from(r.content,"base64").toString();return n.a.createElement("div",{className:"fhir-datatype__BinaryText"},n.a.createElement("pre",{className:"fhir-datatype__BinaryText__block"},a))}}).call(this,r(86).Buffer)},function(e,t,r){"use strict";const a=["B","kB","MB","GB","TB","PB","EB","ZB","YB"],n=["b","kbit","Mbit","Gbit","Tbit","Pbit","Ebit","Zbit","Ybit"],i=(e,t)=>{let r=e;return"string"==typeof t?r=e.toLocaleString(t):!0===t&&(r=e.toLocaleString()),r};e.exports=(e,t)=>{if(!Number.isFinite(e))throw new TypeError(`Expected a finite number, got ${typeof e}: ${e}`);const r=(t=Object.assign({bits:!1},t)).bits?n:a;if(t.signed&&0===e)return" 0 "+r[0];const o=e<0,c=o?"-":t.signed?"+":"";if(o&&(e=-e),e<1){return c+i(e,t.locale)+" "+r[0]}const l=Math.min(Math.floor(Math.log10(e)/3),r.length-1);return e=Number((e/Math.pow(1e3,l)).toPrecision(3)),c+i(e,t.locale)+" "+r[l]}},function(e,t,r){var a=r(100),n=r(103),i=r(19),o=r(5),c=r(108),l=r(109),s=r(30),u=r(111),d="[object Map]",f="[object Set]",p=Object.prototype.hasOwnProperty;e.exports=function(e){if(null==e)return!0;if(c(e)&&(o(e)||"string"==typeof e||"function"==typeof e.splice||l(e)||u(e)||i(e)))return!e.length;var t=n(e);if(t==d||t==f)return!e.size;if(s(e))return!a(e).length;for(var r in e)if(p.call(e,r))return!1;return!0}},function(e,t,r){var a=r(6),n=r(9),i="[object Number]";e.exports=function(e){return"number"==typeof e||n(e)&&a(e)==i}},function(e,t,r){const a=r(127),n=r(128),i=r(21),o=r(36),c=r(35),l=r(34),{merge:s,checkSanitizeDeprecation:u,escape:d}=r(8),{getDefaults:f,changeDefaults:p,defaults:m}=r(10);function h(e,t,r){if(null==e)throw new Error("marked(): input parameter is undefined or null");if("string"!=typeof e)throw new Error("marked(): input parameter is of type "+Object.prototype.toString.call(e)+", string expected");if(r||"function"==typeof t){r||(r=t,t=null),t=s({},h.defaults,t||{}),u(t);const i=t.highlight;let o,c,l=0;try{o=a.lex(e,t)}catch(e){return r(e)}c=o.length;const d=function(e){if(e)return t.highlight=i,r(e);let a;try{a=n.parse(o,t)}catch(t){e=t}return t.highlight=i,e?r(e):r(null,a)};if(!i||i.length<3)return d();if(delete t.highlight,!c)return d();for(;l<o.length;l++)!function(e){"code"!==e.type?--c||d():i(e.text,e.lang,(function(t,r){return t?d(t):null==r||r===e.text?--c||d():(e.text=r,e.escaped=!0,void(--c||d()))}))}(o[l])}else try{return t=s({},h.defaults,t||{}),u(t),n.parse(a.lex(e,t),t)}catch(e){if(e.message+="\nPlease report this to https://github.com/markedjs/marked.",(t||h.defaults).silent)return"<p>An error occurred:</p><pre>"+d(e.message+"",!0)+"</pre>";throw e}}h.options=h.setOptions=function(e){return s(h.defaults,e),p(h.defaults),h},h.getDefaults=f,h.defaults=m,h.Parser=n,h.parser=n.parse,h.Renderer=i,h.TextRenderer=o,h.Lexer=a,h.lexer=a.lex,h.InlineLexer=c,h.inlineLexer=c.output,h.Slugger=l,h.parse=h,e.exports=h},function(e,t,r){e.exports=function(){"use strict";var e=Object.freeze||function(e){return e},t=e(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),r=e(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","audio","canvas","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","video","view","vkern"]),a=e(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),n=e(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover"]),i=e(["#text"]),o=Object.freeze||function(e){return e},c=o(["accept","action","align","alt","autocomplete","background","bgcolor","border","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","coords","crossorigin","datetime","default","dir","disabled","download","enctype","face","for","headers","height","hidden","high","href","hreflang","id","integrity","ismap","label","lang","list","loop","low","max","maxlength","media","method","min","minlength","multiple","name","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","type","usemap","valign","value","width","xmlns"]),l=o(["accent-height","accumulate","additive","alignment-baseline","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","specularconstant","specularexponent","spreadmethod","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","tabindex","targetx","targety","transform","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),s=o(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),u=o(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),d=Object.hasOwnProperty,f=Object.setPrototypeOf,p=("undefined"!=typeof Reflect&&Reflect).apply;function m(e,t){f&&f(e,null);for(var r=t.length;r--;){var a=t[r];if("string"==typeof a){var n=a.toLowerCase();n!==a&&(Object.isFrozen(t)||(t[r]=n),a=n)}e[a]=!0}return e}function h(e){var t={},r=void 0;for(r in e)p(d,e,[r])&&(t[r]=e[r]);return t}p||(p=function(e,t,r){return e.apply(t,r)});var y=Object.seal||function(e){return e},g=y(/\{\{[\s\S]*|[\s\S]*\}\}/gm),E=y(/<%[\s\S]*|[\s\S]*%>/gm),b=y(/^data-[\-\w.\u00B7-\uFFFF]/),v=y(/^aria-[\-\w]+$/),O=y(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),D=y(/^(?:\w+script|data):/i),w=y(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205f\u3000]/g),_="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};function S(e){if(Array.isArray(e)){for(var t=0,r=Array(e.length);t<e.length;t++)r[t]=e[t];return r}return Array.from(e)}var j=("undefined"!=typeof Reflect&&Reflect).apply,P=Array.prototype.slice,T=Object.freeze,R=function(){return"undefined"==typeof window?null:window};j||(j=function(e,t,r){return e.apply(t,r)});var x=function(e,t){if("object"!==(void 0===e?"undefined":_(e))||"function"!=typeof e.createPolicy)return null;var r=null;t.currentScript&&t.currentScript.hasAttribute("data-tt-policy-suffix")&&(r=t.currentScript.getAttribute("data-tt-policy-suffix"));var a="dompurify"+(r?"#"+r:"");try{return e.createPolicy(a,{createHTML:function(e){return e}})}catch(e){return console.warn("TrustedTypes policy "+a+" could not be created."),null}};return function e(){var o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:R(),d=function(t){return e(t)};if(d.version="2.0.7",d.removed=[],!o||!o.document||9!==o.document.nodeType)return d.isSupported=!1,d;var f=o.document,p=!1,y=!1,A=o.document,k=o.DocumentFragment,C=o.HTMLTemplateElement,I=o.Node,U=o.NodeFilter,N=o.NamedNodeMap,q=void 0===N?o.NamedNodeMap||o.MozNamedAttrMap:N,L=o.Text,z=o.Comment,M=o.DOMParser,B=o.TrustedTypes;if("function"==typeof C){var F=A.createElement("template");F.content&&F.content.ownerDocument&&(A=F.content.ownerDocument)}var V=x(B,f),$=V?V.createHTML(""):"",Q=A,H=Q.implementation,Y=Q.createNodeIterator,G=Q.getElementsByTagName,Z=Q.createDocumentFragment,W=f.importNode,K={};d.isSupported=H&&void 0!==H.createHTMLDocument&&9!==A.documentMode;var X=g,J=E,ee=b,te=v,re=D,ae=w,ne=O,ie=null,oe=m({},[].concat(S(t),S(r),S(a),S(n),S(i))),ce=null,le=m({},[].concat(S(c),S(l),S(s),S(u))),se=null,ue=null,de=!0,fe=!0,pe=!1,me=!1,he=!1,ye=!1,ge=!1,Ee=!1,be=!1,ve=!1,Oe=!1,De=!1,we=!0,_e=!0,Se=!1,je={},Pe=m({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","plaintext","script","style","svg","template","thead","title","video","xmp"]),Te=m({},["audio","video","img","source","image"]),Re=null,xe=m({},["alt","class","for","id","label","name","pattern","placeholder","summary","title","value","style","xmlns"]),Ae=null,ke=A.createElement("form"),Ce=function(e){Ae&&Ae===e||(e&&"object"===(void 0===e?"undefined":_(e))||(e={}),ie="ALLOWED_TAGS"in e?m({},e.ALLOWED_TAGS):oe,ce="ALLOWED_ATTR"in e?m({},e.ALLOWED_ATTR):le,Re="ADD_URI_SAFE_ATTR"in e?m(h(xe),e.ADD_URI_SAFE_ATTR):xe,se="FORBID_TAGS"in e?m({},e.FORBID_TAGS):{},ue="FORBID_ATTR"in e?m({},e.FORBID_ATTR):{},je="USE_PROFILES"in e&&e.USE_PROFILES,de=!1!==e.ALLOW_ARIA_ATTR,fe=!1!==e.ALLOW_DATA_ATTR,pe=e.ALLOW_UNKNOWN_PROTOCOLS||!1,me=e.SAFE_FOR_JQUERY||!1,he=e.SAFE_FOR_TEMPLATES||!1,ye=e.WHOLE_DOCUMENT||!1,be=e.RETURN_DOM||!1,ve=e.RETURN_DOM_FRAGMENT||!1,Oe=e.RETURN_DOM_IMPORT||!1,De=e.RETURN_TRUSTED_TYPE||!1,Ee=e.FORCE_BODY||!1,we=!1!==e.SANITIZE_DOM,_e=!1!==e.KEEP_CONTENT,Se=e.IN_PLACE||!1,ne=e.ALLOWED_URI_REGEXP||ne,he&&(fe=!1),ve&&(be=!0),je&&(ie=m({},[].concat(S(i))),ce=[],!0===je.html&&(m(ie,t),m(ce,c)),!0===je.svg&&(m(ie,r),m(ce,l),m(ce,u)),!0===je.svgFilters&&(m(ie,a),m(ce,l),m(ce,u)),!0===je.mathMl&&(m(ie,n),m(ce,s),m(ce,u))),e.ADD_TAGS&&(ie===oe&&(ie=h(ie)),m(ie,e.ADD_TAGS)),e.ADD_ATTR&&(ce===le&&(ce=h(ce)),m(ce,e.ADD_ATTR)),e.ADD_URI_SAFE_ATTR&&m(Re,e.ADD_URI_SAFE_ATTR),_e&&(ie["#text"]=!0),ye&&m(ie,["html","head","body"]),ie.table&&(m(ie,["tbody"]),delete se.tbody),T&&T(e),Ae=e)},Ie=function(e){d.removed.push({element:e});try{e.parentNode.removeChild(e)}catch(t){e.outerHTML=$}},Ue=function(e,t){try{d.removed.push({attribute:t.getAttributeNode(e),from:t})}catch(e){d.removed.push({attribute:null,from:t})}t.removeAttribute(e)},Ne=function(e){var t=void 0,r=void 0;if(Ee)e="<remove></remove>"+e;else{var a=e.match(/^[\s]+/);(r=a&&a[0])&&(e=e.slice(r.length))}if(p)try{t=(new M).parseFromString(e,"text/html")}catch(e){}if(y&&m(se,["title"]),!t||!t.documentElement){var n=(t=H.createHTMLDocument("")).body;n.parentNode.removeChild(n.parentNode.firstElementChild),n.outerHTML=V?V.createHTML(e):e}return e&&r&&t.body.insertBefore(A.createTextNode(r),t.body.childNodes[0]||null),G.call(t,ye?"html":"body")[0]};d.isSupported&&(function(){try{Ne('<svg><p><textarea><img src="</textarea><img src=x abc=1//">').querySelector("svg img")&&(p=!0)}catch(e){}}(),function(){try{var e=Ne("<x/><title></title><img>");/<\/title/.test(e.querySelector("title").innerHTML)&&(y=!0)}catch(e){}}());var qe=function(e){return Y.call(e.ownerDocument||e,e,U.SHOW_ELEMENT|U.SHOW_COMMENT|U.SHOW_TEXT,(function(){return U.FILTER_ACCEPT}),!1)},Le=function(e){return"object"===(void 0===I?"undefined":_(I))?e instanceof I:e&&"object"===(void 0===e?"undefined":_(e))&&"number"==typeof e.nodeType&&"string"==typeof e.nodeName},ze=function(e,t,r){K[e]&&K[e].forEach((function(e){e.call(d,t,r,Ae)}))},Me=function(e){var t,r=void 0;if(ze("beforeSanitizeElements",e,null),!((t=e)instanceof L||t instanceof z||"string"==typeof t.nodeName&&"string"==typeof t.textContent&&"function"==typeof t.removeChild&&t.attributes instanceof q&&"function"==typeof t.removeAttribute&&"function"==typeof t.setAttribute&&"string"==typeof t.namespaceURI))return Ie(e),!0;var a=e.nodeName.toLowerCase();if(ze("uponSanitizeElement",e,{tagName:a,allowedTags:ie}),("svg"===a||"math"===a)&&0!==e.querySelectorAll("p, br").length)return Ie(e),!0;if(!ie[a]||se[a]){if(_e&&!Pe[a]&&"function"==typeof e.insertAdjacentHTML)try{var n=e.innerHTML;e.insertAdjacentHTML("AfterEnd",V?V.createHTML(n):n)}catch(e){}return Ie(e),!0}return"noscript"===a&&/<\/noscript/i.test(e.innerHTML)?(Ie(e),!0):"noembed"===a&&/<\/noembed/i.test(e.innerHTML)?(Ie(e),!0):(!me||e.firstElementChild||e.content&&e.content.firstElementChild||!/</g.test(e.textContent)||(d.removed.push({element:e.cloneNode()}),e.innerHTML?e.innerHTML=e.innerHTML.replace(/</g,"<"):e.innerHTML=e.textContent.replace(/</g,"<")),he&&3===e.nodeType&&(r=(r=(r=e.textContent).replace(X," ")).replace(J," "),e.textContent!==r&&(d.removed.push({element:e.cloneNode()}),e.textContent=r)),ze("afterSanitizeElements",e,null),!1)},Be=function(e,t,r){if(we&&("id"===t||"name"===t)&&(r in A||r in ke))return!1;if(fe&&ee.test(t));else if(de&&te.test(t));else{if(!ce[t]||ue[t])return!1;if(Re[t]);else if(ne.test(r.replace(ae,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==r.indexOf("data:")||!Te[e])if(pe&&!re.test(r.replace(ae,"")));else if(r)return!1}return!0},Fe=function(e){var t=void 0,r=void 0,a=void 0,n=void 0,i=void 0;ze("beforeSanitizeAttributes",e,null);var o=e.attributes;if(o){var c={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:ce};for(i=o.length;i--;){var l=t=o[i],s=l.name,u=l.namespaceURI;if(r=t.value.trim(),a=s.toLowerCase(),c.attrName=a,c.attrValue=r,c.keepAttr=!0,ze("uponSanitizeAttribute",e,c),r=c.attrValue,"name"===a&&"IMG"===e.nodeName&&o.id)n=o.id,o=j(P,o,[]),Ue("id",e),Ue(s,e),o.indexOf(n)>i&&e.setAttribute("id",n.value);else{if("INPUT"===e.nodeName&&"type"===a&&"file"===r&&c.keepAttr&&(ce[a]||!ue[a]))continue;"id"===s&&e.setAttribute(s,""),Ue(s,e)}if(c.keepAttr)if(/svg|math/i.test(e.namespaceURI)&&new RegExp("</("+Object.keys(Pe).join("|")+")","i").test(r))Ue(s,e);else{he&&(r=(r=r.replace(X," ")).replace(J," "));var f=e.nodeName.toLowerCase();if(Be(f,a,r))try{u?e.setAttributeNS(u,s,r):e.setAttribute(s,r),d.removed.pop()}catch(e){}}}ze("afterSanitizeAttributes",e,null)}},Ve=function e(t){var r=void 0,a=qe(t);for(ze("beforeSanitizeShadowDOM",t,null);r=a.nextNode();)ze("uponSanitizeShadowNode",r,null),Me(r)||(r.content instanceof k&&e(r.content),Fe(r));ze("afterSanitizeShadowDOM",t,null)};return d.sanitize=function(e,t){var r=void 0,a=void 0,n=void 0,i=void 0,c=void 0;if(e||(e="\x3c!--\x3e"),"string"!=typeof e&&!Le(e)){if("function"!=typeof e.toString)throw new TypeError("toString is not a function");if("string"!=typeof(e=e.toString()))throw new TypeError("dirty is not a string, aborting")}if(!d.isSupported){if("object"===_(o.toStaticHTML)||"function"==typeof o.toStaticHTML){if("string"==typeof e)return o.toStaticHTML(e);if(Le(e))return o.toStaticHTML(e.outerHTML)}return e}if(ge||Ce(t),d.removed=[],Se);else if(e instanceof I)1===(a=(r=Ne("\x3c!--\x3e")).ownerDocument.importNode(e,!0)).nodeType&&"BODY"===a.nodeName?r=a:"HTML"===a.nodeName?r=a:r.appendChild(a);else{if(!be&&!he&&!ye&&De&&-1===e.indexOf("<"))return V?V.createHTML(e):e;if(!(r=Ne(e)))return be?null:$}r&&Ee&&Ie(r.firstChild);for(var l=qe(Se?e:r);n=l.nextNode();)3===n.nodeType&&n===i||Me(n)||(n.content instanceof k&&Ve(n.content),Fe(n),i=n);if(i=null,Se)return e;if(be){if(ve)for(c=Z.call(r.ownerDocument);r.firstChild;)c.appendChild(r.firstChild);else c=r;return Oe&&(c=W.call(f,c,!0)),c}var s=ye?r.outerHTML:r.innerHTML;return he&&(s=(s=s.replace(X," ")).replace(J," ")),V&&De?V.createHTML(s):s},d.setConfig=function(e){Ce(e),ge=!0},d.clearConfig=function(){Ae=null,ge=!1},d.isValidAttribute=function(e,t,r){Ae||Ce({});var a=e.toLowerCase(),n=t.toLowerCase();return Be(a,n,r)},d.addHook=function(e,t){"function"==typeof t&&(K[e]=K[e]||[],K[e].push(t))},d.removeHook=function(e){K[e]&&K[e].pop()},d.removeHooks=function(e){K[e]&&(K[e]=[])},d.removeAllHooks=function(){K={}},d}()}()},function(e,t,r){e.exports=r(132)},function(e,t,r){"use strict";var a=r(45);function n(){}function i(){}i.resetWarningCache=n,e.exports=function(){function e(e,t,r,n,i,o){if(o!==a){var c=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw c.name="Invariant Violation",c}}function t(){return e}e.isRequired=e;var r={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:n};return r.PropTypes=r,r}},function(e,t,r){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,r){var a=r(23),n=r(29);e.exports=function(e,t){for(var r=0,i=(t=a(t,e)).length;null!=e&&r<i;)e=e[n(t[r++])];return r&&r==i?e:void 0}},function(e,t,r){var a=r(5),n=r(18),i=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,o=/^\w*$/;e.exports=function(e,t){if(a(e))return!1;var r=typeof e;return!("number"!=r&&"symbol"!=r&&"boolean"!=r&&null!=e&&!n(e))||(o.test(e)||!i.test(e)||null!=t&&e in Object(t))}},function(e,t,r){var a=r(12),n=Object.prototype,i=n.hasOwnProperty,o=n.toString,c=a?a.toStringTag:void 0;e.exports=function(e){var t=i.call(e,c),r=e[c];try{e[c]=void 0;var a=!0}catch(e){}var n=o.call(e);return a&&(t?e[c]=r:delete e[c]),n}},function(e,t){var r=Object.prototype.toString;e.exports=function(e){return r.call(e)}},function(e,t,r){var a=r(51),n=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,i=/\\(\\)?/g,o=a((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(n,(function(e,r,a,n){t.push(a?n.replace(i,"$1"):r||e)})),t}));e.exports=o},function(e,t,r){var a=r(52),n=500;e.exports=function(e){var t=a(e,(function(e){return r.size===n&&r.clear(),e})),r=t.cache;return t}},function(e,t,r){var a=r(53),n="Expected a function";function i(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError(n);var r=function(){var a=arguments,n=t?t.apply(this,a):a[0],i=r.cache;if(i.has(n))return i.get(n);var o=e.apply(this,a);return r.cache=i.set(n,o)||i,o};return r.cache=new(i.Cache||a),r}i.Cache=a,e.exports=i},function(e,t,r){var a=r(54),n=r(72),i=r(74),o=r(75),c=r(76);function l(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var a=e[t];this.set(a[0],a[1])}}l.prototype.clear=a,l.prototype.delete=n,l.prototype.get=i,l.prototype.has=o,l.prototype.set=c,e.exports=l},function(e,t,r){var a=r(55),n=r(65),i=r(28);e.exports=function(){this.size=0,this.__data__={hash:new a,map:new(i||n),string:new a}}},function(e,t,r){var a=r(56),n=r(61),i=r(62),o=r(63),c=r(64);function l(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var a=e[t];this.set(a[0],a[1])}}l.prototype.clear=a,l.prototype.delete=n,l.prototype.get=i,l.prototype.has=o,l.prototype.set=c,e.exports=l},function(e,t,r){var a=r(13);e.exports=function(){this.__data__=a?a(null):{},this.size=0}},function(e,t,r){var a=r(26),n=r(58),i=r(11),o=r(27),c=/^\[object .+?Constructor\]$/,l=Function.prototype,s=Object.prototype,u=l.toString,d=s.hasOwnProperty,f=RegExp("^"+u.call(d).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!i(e)||n(e))&&(a(e)?f:c).test(o(e))}},function(e,t,r){var a,n=r(59),i=(a=/[^.]+$/.exec(n&&n.keys&&n.keys.IE_PROTO||""))?"Symbol(src)_1."+a:"";e.exports=function(e){return!!i&&i in e}},function(e,t,r){var a=r(4)["__core-js_shared__"];e.exports=a},function(e,t){e.exports=function(e,t){return null==e?void 0:e[t]}},function(e,t){e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},function(e,t,r){var a=r(13),n="__lodash_hash_undefined__",i=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(a){var r=t[e];return r===n?void 0:r}return i.call(t,e)?t[e]:void 0}},function(e,t,r){var a=r(13),n=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return a?void 0!==t[e]:n.call(t,e)}},function(e,t,r){var a=r(13),n="__lodash_hash_undefined__";e.exports=function(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=a&&void 0===t?n:t,this}},function(e,t,r){var a=r(66),n=r(67),i=r(69),o=r(70),c=r(71);function l(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var a=e[t];this.set(a[0],a[1])}}l.prototype.clear=a,l.prototype.delete=n,l.prototype.get=i,l.prototype.has=o,l.prototype.set=c,e.exports=l},function(e,t){e.exports=function(){this.__data__=[],this.size=0}},function(e,t,r){var a=r(14),n=Array.prototype.splice;e.exports=function(e){var t=this.__data__,r=a(t,e);return!(r<0)&&(r==t.length-1?t.pop():n.call(t,r,1),--this.size,!0)}},function(e,t){e.exports=function(e,t){return e===t||e!=e&&t!=t}},function(e,t,r){var a=r(14);e.exports=function(e){var t=this.__data__,r=a(t,e);return r<0?void 0:t[r][1]}},function(e,t,r){var a=r(14);e.exports=function(e){return a(this.__data__,e)>-1}},function(e,t,r){var a=r(14);e.exports=function(e,t){var r=this.__data__,n=a(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this}},function(e,t,r){var a=r(15);e.exports=function(e){var t=a(this,e).delete(e);return this.size-=t?1:0,t}},function(e,t){e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},function(e,t,r){var a=r(15);e.exports=function(e){return a(this,e).get(e)}},function(e,t,r){var a=r(15);e.exports=function(e){return a(this,e).has(e)}},function(e,t,r){var a=r(15);e.exports=function(e,t){var r=a(this,e),n=r.size;return r.set(e,t),this.size+=r.size==n?0:1,this}},function(e,t,r){var a=r(78);e.exports=function(e){return null==e?"":a(e)}},function(e,t,r){var a=r(12),n=r(79),i=r(5),o=r(18),c=1/0,l=a?a.prototype:void 0,s=l?l.toString:void 0;e.exports=function e(t){if("string"==typeof t)return t;if(i(t))return n(t,e)+"";if(o(t))return s?s.call(t):"";var r=t+"";return"0"==r&&1/t==-c?"-0":r}},function(e,t){e.exports=function(e,t){for(var r=-1,a=null==e?0:e.length,n=Array(a);++r<a;)n[r]=t(e[r],r,e);return n}},function(e,t,r){},function(e,t,r){},function(e,t,r){},function(e,t,r){},function(e,t,r){},function(e,t,r){},function(e,t,r){"use strict";(function(e){
/*!
* The buffer module from node.js, for the browser.
*
* @author Feross Aboukhadijeh <feross@feross.org> <http://feross.org>
* @license MIT
*/
var a=r(87),n=r(88),i=r(89);function o(){return l.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function c(e,t){if(o()<t)throw new RangeError("Invalid typed array length");return l.TYPED_ARRAY_SUPPORT?(e=new Uint8Array(t)).__proto__=l.prototype:(null===e&&(e=new l(t)),e.length=t),e}function l(e,t,r){if(!(l.TYPED_ARRAY_SUPPORT||this instanceof l))return new l(e,t,r);if("number"==typeof e){if("string"==typeof t)throw new Error("If encoding is specified then the first argument must be a string");return d(this,e)}return s(this,e,t,r)}function s(e,t,r,a){if("number"==typeof t)throw new TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer?function(e,t,r,a){if(t.byteLength,r<0||t.byteLength<r)throw new RangeError("'offset' is out of bounds");if(t.byteLength<r+(a||0))throw new RangeError("'length' is out of bounds");t=void 0===r&&void 0===a?new Uint8Array(t):void 0===a?new Uint8Array(t,r):new Uint8Array(t,r,a);l.TYPED_ARRAY_SUPPORT?(e=t).__proto__=l.prototype:e=f(e,t);return e}(e,t,r,a):"string"==typeof t?function(e,t,r){"string"==typeof r&&""!==r||(r="utf8");if(!l.isEncoding(r))throw new TypeError('"encoding" must be a valid string encodi