fa23-si/plugin/markdown/markdown.esm.js
2021-02-10 10:34:25 +01:00

2 lines
77 KiB
JavaScript
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function t(e,t,n){return e(n={path:t,exports:{},require:function(e,t){return function(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}(null==t&&n.path)}},n.exports),n.exports}var n=function(e){return e&&e.Math==Math&&e},r=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof e&&e)||function(){return this}()||Function("return this")(),i=function(e){try{return!!e()}catch(e){return!0}},o=!i((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),a={}.propertyIsEnumerable,l=Object.getOwnPropertyDescriptor,s={f:l&&!a.call({1:2},1)?function(e){var t=l(this,e);return!!t&&t.enumerable}:a},c=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},u={}.toString,f=function(e){return u.call(e).slice(8,-1)},p="".split,h=i((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==f(e)?p.call(e,""):Object(e)}:Object,g=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e},d=function(e){return h(g(e))},v=function(e){return"object"==typeof e?null!==e:"function"==typeof e},y=function(e,t){if(!v(e))return e;var n,r;if(t&&"function"==typeof(n=e.toString)&&!v(r=n.call(e)))return r;if("function"==typeof(n=e.valueOf)&&!v(r=n.call(e)))return r;if(!t&&"function"==typeof(n=e.toString)&&!v(r=n.call(e)))return r;throw TypeError("Can't convert object to primitive value")},k={}.hasOwnProperty,m=function(e,t){return k.call(e,t)},b=r.document,x=v(b)&&v(b.createElement),w=function(e){return x?b.createElement(e):{}},S=!o&&!i((function(){return 7!=Object.defineProperty(w("div"),"a",{get:function(){return 7}}).a})),_=Object.getOwnPropertyDescriptor,E={f:o?_:function(e,t){if(e=d(e),t=y(t,!0),S)try{return _(e,t)}catch(e){}if(m(e,t))return c(!s.f.call(e,t),e[t])}},A=function(e){if(!v(e))throw TypeError(String(e)+" is not an object");return e},O=Object.defineProperty,T={f:o?O:function(e,t,n){if(A(e),t=y(t,!0),A(n),S)try{return O(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},R=o?function(e,t,n){return T.f(e,t,c(1,n))}:function(e,t,n){return e[t]=n,e},I=function(e,t){try{R(r,e,t)}catch(n){r[e]=t}return t},j=r["__core-js_shared__"]||I("__core-js_shared__",{}),z=Function.toString;"function"!=typeof j.inspectSource&&(j.inspectSource=function(e){return z.call(e)});var $,P,C,L=j.inspectSource,M=r.WeakMap,N="function"==typeof M&&/native code/.test(L(M)),D=t((function(e){(e.exports=function(e,t){return j[e]||(j[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.7.0",mode:"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})})),U=0,q=Math.random(),Z=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++U+q).toString(36)},F=D("keys"),G=function(e){return F[e]||(F[e]=Z(e))},W={},H=r.WeakMap;if(N){var B=j.state||(j.state=new H),V=B.get,K=B.has,X=B.set;$=function(e,t){return t.facade=e,X.call(B,e,t),t},P=function(e){return V.call(B,e)||{}},C=function(e){return K.call(B,e)}}else{var Y=G("state");W[Y]=!0,$=function(e,t){return t.facade=e,R(e,Y,t),t},P=function(e){return m(e,Y)?e[Y]:{}},C=function(e){return m(e,Y)}}var J,Q,ee={set:$,get:P,has:C,enforce:function(e){return C(e)?P(e):$(e,{})},getterFor:function(e){return function(t){var n;if(!v(t)||(n=P(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}}},te=t((function(e){var t=ee.get,n=ee.enforce,i=String(String).split("String");(e.exports=function(e,t,o,a){var l,s=!!a&&!!a.unsafe,c=!!a&&!!a.enumerable,u=!!a&&!!a.noTargetGet;"function"==typeof o&&("string"!=typeof t||m(o,"name")||R(o,"name",t),(l=n(o)).source||(l.source=i.join("string"==typeof t?t:""))),e!==r?(s?!u&&e[t]&&(c=!0):delete e[t],c?e[t]=o:R(e,t,o)):c?e[t]=o:I(t,o)})(Function.prototype,"toString",(function(){return"function"==typeof this&&t(this).source||L(this)}))})),ne=r,re=function(e){return"function"==typeof e?e:void 0},ie=function(e,t){return arguments.length<2?re(ne[e])||re(r[e]):ne[e]&&ne[e][t]||r[e]&&r[e][t]},oe=Math.ceil,ae=Math.floor,le=function(e){return isNaN(e=+e)?0:(e>0?ae:oe)(e)},se=Math.min,ce=function(e){return e>0?se(le(e),9007199254740991):0},ue=Math.max,fe=Math.min,pe=function(e,t){var n=le(e);return n<0?ue(n+t,0):fe(n,t)},he=function(e){return function(t,n,r){var i,o=d(t),a=ce(o.length),l=pe(r,a);if(e&&n!=n){for(;a>l;)if((i=o[l++])!=i)return!0}else for(;a>l;l++)if((e||l in o)&&o[l]===n)return e||l||0;return!e&&-1}},ge={includes:he(!0),indexOf:he(!1)},de=ge.indexOf,ve=function(e,t){var n,r=d(e),i=0,o=[];for(n in r)!m(W,n)&&m(r,n)&&o.push(n);for(;t.length>i;)m(r,n=t[i++])&&(~de(o,n)||o.push(n));return o},ye=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],ke=ye.concat("length","prototype"),me={f:Object.getOwnPropertyNames||function(e){return ve(e,ke)}},be={f:Object.getOwnPropertySymbols},xe=ie("Reflect","ownKeys")||function(e){var t=me.f(A(e)),n=be.f;return n?t.concat(n(e)):t},we=function(e,t){for(var n=xe(t),r=T.f,i=E.f,o=0;o<n.length;o++){var a=n[o];m(e,a)||r(e,a,i(t,a))}},Se=/#|\.prototype\./,_e=function(e,t){var n=Ae[Ee(e)];return n==Te||n!=Oe&&("function"==typeof t?i(t):!!t)},Ee=_e.normalize=function(e){return String(e).replace(Se,".").toLowerCase()},Ae=_e.data={},Oe=_e.NATIVE="N",Te=_e.POLYFILL="P",Re=_e,Ie=E.f,je=function(e,t){var n,i,o,a,l,s=e.target,c=e.global,u=e.stat;if(n=c?r:u?r[s]||I(s,{}):(r[s]||{}).prototype)for(i in t){if(a=t[i],o=e.noTargetGet?(l=Ie(n,i))&&l.value:n[i],!Re(c?i:s+(u?".":"#")+i,e.forced)&&void 0!==o){if(typeof a==typeof o)continue;we(a,o)}(e.sham||o&&o.sham)&&R(a,"sham",!0),te(n,i,a,e)}},ze=Array.isArray||function(e){return"Array"==f(e)},$e=function(e){return Object(g(e))},Pe=function(e,t,n){var r=y(t);r in e?T.f(e,r,c(0,n)):e[r]=n},Ce=!!Object.getOwnPropertySymbols&&!i((function(){return!String(Symbol())})),Le=Ce&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,Me=D("wks"),Ne=r.Symbol,De=Le?Ne:Ne&&Ne.withoutSetter||Z,Ue=function(e){return m(Me,e)||(Ce&&m(Ne,e)?Me[e]=Ne[e]:Me[e]=De("Symbol."+e)),Me[e]},qe=Ue("species"),Ze=function(e,t){var n;return ze(e)&&("function"!=typeof(n=e.constructor)||n!==Array&&!ze(n.prototype)?v(n)&&null===(n=n[qe])&&(n=void 0):n=void 0),new(void 0===n?Array:n)(0===t?0:t)},Fe=ie("navigator","userAgent")||"",Ge=r.process,We=Ge&&Ge.versions,He=We&&We.v8;He?Q=(J=He.split("."))[0]+J[1]:Fe&&(!(J=Fe.match(/Edge\/(\d+)/))||J[1]>=74)&&(J=Fe.match(/Chrome\/(\d+)/))&&(Q=J[1]);var Be=Q&&+Q,Ve=Ue("species"),Ke=function(e){return Be>=51||!i((function(){var t=[];return(t.constructor={})[Ve]=function(){return{foo:1}},1!==t[e](Boolean).foo}))},Xe=Ue("isConcatSpreadable"),Ye=Be>=51||!i((function(){var e=[];return e[Xe]=!1,e.concat()[0]!==e})),Je=Ke("concat"),Qe=function(e){if(!v(e))return!1;var t=e[Xe];return void 0!==t?!!t:ze(e)};je({target:"Array",proto:!0,forced:!Ye||!Je},{concat:function(e){var t,n,r,i,o,a=$e(this),l=Ze(a,0),s=0;for(t=-1,r=arguments.length;t<r;t++)if(Qe(o=-1===t?a:arguments[t])){if(s+(i=ce(o.length))>9007199254740991)throw TypeError("Maximum allowed index exceeded");for(n=0;n<i;n++,s++)n in o&&Pe(l,s,o[n])}else{if(s>=9007199254740991)throw TypeError("Maximum allowed index exceeded");Pe(l,s++,o)}return l.length=s,l}});var et=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e},tt=function(e,t,n){if(et(e),void 0===t)return e;switch(n){case 0:return function(){return e.call(t)};case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,i){return e.call(t,n,r,i)}}return function(){return e.apply(t,arguments)}},nt=[].push,rt=function(e){var t=1==e,n=2==e,r=3==e,i=4==e,o=6==e,a=5==e||o;return function(l,s,c,u){for(var f,p,g=$e(l),d=h(g),v=tt(s,c,3),y=ce(d.length),k=0,m=u||Ze,b=t?m(l,y):n?m(l,0):void 0;y>k;k++)if((a||k in d)&&(p=v(f=d[k],k,g),e))if(t)b[k]=p;else if(p)switch(e){case 3:return!0;case 5:return f;case 6:return k;case 2:nt.call(b,f)}else if(i)return!1;return o?-1:r||i?i:b}},it={forEach:rt(0),map:rt(1),filter:rt(2),some:rt(3),every:rt(4),find:rt(5),findIndex:rt(6)},ot=function(e,t){var n=[][e];return!!n&&i((function(){n.call(null,t||function(){throw 1},1)}))},at=Object.defineProperty,lt={},st=function(e){throw e},ct=function(e,t){if(m(lt,e))return lt[e];t||(t={});var n=[][e],r=!!m(t,"ACCESSORS")&&t.ACCESSORS,a=m(t,0)?t[0]:st,l=m(t,1)?t[1]:void 0;return lt[e]=!!n&&!i((function(){if(r&&!o)return!0;var e={length:-1};r?at(e,1,{enumerable:!0,get:st}):e[1]=1,n.call(e,a,l)}))},ut=it.forEach,ft=ot("forEach"),pt=ct("forEach"),ht=ft&&pt?[].forEach:function(e){return ut(this,e,arguments.length>1?arguments[1]:void 0)};je({target:"Array",proto:!0,forced:[].forEach!=ht},{forEach:ht});var gt,dt=Object.keys||function(e){return ve(e,ye)},vt=o?Object.defineProperties:function(e,t){A(e);for(var n,r=dt(t),i=r.length,o=0;i>o;)T.f(e,n=r[o++],t[n]);return e},yt=ie("document","documentElement"),kt=G("IE_PROTO"),mt=function(){},bt=function(e){return"<script>"+e+"<\/script>"},xt=function(){try{gt=document.domain&&new ActiveXObject("htmlfile")}catch(e){}var e,t;xt=gt?function(e){e.write(bt("")),e.close();var t=e.parentWindow.Object;return e=null,t}(gt):((t=w("iframe")).style.display="none",yt.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(bt("document.F=Object")),e.close(),e.F);for(var n=ye.length;n--;)delete xt.prototype[ye[n]];return xt()};W[kt]=!0;var wt=Object.create||function(e,t){var n;return null!==e?(mt.prototype=A(e),n=new mt,mt.prototype=null,n[kt]=e):n=xt(),void 0===t?n:vt(n,t)},St=Ue("unscopables"),_t=Array.prototype;null==_t[St]&&T.f(_t,St,{configurable:!0,value:wt(null)});var Et,At,Ot,Tt=function(e){_t[St][e]=!0},Rt={},It=!i((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype})),jt=G("IE_PROTO"),zt=Object.prototype,$t=It?Object.getPrototypeOf:function(e){return e=$e(e),m(e,jt)?e[jt]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?zt:null},Pt=Ue("iterator"),Ct=!1;[].keys&&("next"in(Ot=[].keys())?(At=$t($t(Ot)))!==Object.prototype&&(Et=At):Ct=!0),null==Et&&(Et={}),m(Et,Pt)||R(Et,Pt,(function(){return this}));var Lt={IteratorPrototype:Et,BUGGY_SAFARI_ITERATORS:Ct},Mt=T.f,Nt=Ue("toStringTag"),Dt=function(e,t,n){e&&!m(e=n?e:e.prototype,Nt)&&Mt(e,Nt,{configurable:!0,value:t})},Ut=Lt.IteratorPrototype,qt=function(){return this},Zt=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(n,[]),t=n instanceof Array}catch(e){}return function(n,r){return A(n),function(e){if(!v(e)&&null!==e)throw TypeError("Can't set "+String(e)+" as a prototype")}(r),t?e.call(n,r):n.__proto__=r,n}}():void 0),Ft=Lt.IteratorPrototype,Gt=Lt.BUGGY_SAFARI_ITERATORS,Wt=Ue("iterator"),Ht=function(){return this},Bt=function(e,t,n,r,i,o,a){!function(e,t,n){var r=t+" Iterator";e.prototype=wt(Ut,{next:c(1,n)}),Dt(e,r,!1),Rt[r]=qt}(n,t,r);var l,s,u,f=function(e){if(e===i&&v)return v;if(!Gt&&e in g)return g[e];switch(e){case"keys":case"values":case"entries":return function(){return new n(this,e)}}return function(){return new n(this)}},p=t+" Iterator",h=!1,g=e.prototype,d=g[Wt]||g["@@iterator"]||i&&g[i],v=!Gt&&d||f(i),y="Array"==t&&g.entries||d;if(y&&(l=$t(y.call(new e)),Ft!==Object.prototype&&l.next&&($t(l)!==Ft&&(Zt?Zt(l,Ft):"function"!=typeof l[Wt]&&R(l,Wt,Ht)),Dt(l,p,!0))),"values"==i&&d&&"values"!==d.name&&(h=!0,v=function(){return d.call(this)}),g[Wt]!==v&&R(g,Wt,v),Rt[t]=v,i)if(s={values:f("values"),keys:o?v:f("keys"),entries:f("entries")},a)for(u in s)(Gt||h||!(u in g))&&te(g,u,s[u]);else je({target:t,proto:!0,forced:Gt||h},s);return s},Vt=ee.set,Kt=ee.getterFor("Array Iterator"),Xt=Bt(Array,"Array",(function(e,t){Vt(this,{type:"Array Iterator",target:d(e),index:0,kind:t})}),(function(){var e=Kt(this),t=e.target,n=e.kind,r=e.index++;return!t||r>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:r,done:!1}:"values"==n?{value:t[r],done:!1}:{value:[r,t[r]],done:!1}}),"values");Rt.Arguments=Rt.Array,Tt("keys"),Tt("values"),Tt("entries");var Yt=[].join,Jt=h!=Object,Qt=ot("join",",");je({target:"Array",proto:!0,forced:Jt||!Qt},{join:function(e){return Yt.call(d(this),void 0===e?",":e)}});var en=Ke("slice"),tn=ct("slice",{ACCESSORS:!0,0:0,1:2}),nn=Ue("species"),rn=[].slice,on=Math.max;je({target:"Array",proto:!0,forced:!en||!tn},{slice:function(e,t){var n,r,i,o=d(this),a=ce(o.length),l=pe(e,a),s=pe(void 0===t?a:t,a);if(ze(o)&&("function"!=typeof(n=o.constructor)||n!==Array&&!ze(n.prototype)?v(n)&&null===(n=n[nn])&&(n=void 0):n=void 0,n===Array||void 0===n))return rn.call(o,l,s);for(r=new(void 0===n?Array:n)(on(s-l,0)),i=0;l<s;l++,i++)l in o&&Pe(r,i,o[l]);return r.length=i,r}});var an=T.f,ln=Function.prototype,sn=ln.toString,cn=/^\s*function ([^ (]*)/;o&&!("name"in ln)&&an(ln,"name",{configurable:!0,get:function(){try{return sn.call(this).match(cn)[1]}catch(e){return""}}});var un={};un[Ue("toStringTag")]="z";var fn="[object z]"===String(un),pn=Ue("toStringTag"),hn="Arguments"==f(function(){return arguments}()),gn=fn?f:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),pn))?n:hn?f(t):"Object"==(r=f(t))&&"function"==typeof t.callee?"Arguments":r},dn=fn?{}.toString:function(){return"[object "+gn(this)+"]"};fn||te(Object.prototype,"toString",dn,{unsafe:!0});var vn=r.Promise,yn=Ue("species"),kn=function(e){var t=ie(e),n=T.f;o&&t&&!t[yn]&&n(t,yn,{configurable:!0,get:function(){return this}})},mn=Ue("iterator"),bn=Array.prototype,xn=Ue("iterator"),wn=function(e){var t=e.return;if(void 0!==t)return A(t.call(e)).value},Sn=function(e,t){this.stopped=e,this.result=t},_n=function(e,t,n){var r,i,o,a,l,s,c,u,f=n&&n.that,p=!(!n||!n.AS_ENTRIES),h=!(!n||!n.IS_ITERATOR),g=!(!n||!n.INTERRUPTED),d=tt(t,f,1+p+g),v=function(e){return r&&wn(r),new Sn(!0,e)},y=function(e){return p?(A(e),g?d(e[0],e[1],v):d(e[0],e[1])):g?d(e,v):d(e)};if(h)r=e;else{if("function"!=typeof(i=function(e){if(null!=e)return e[xn]||e["@@iterator"]||Rt[gn(e)]}(e)))throw TypeError("Target is not iterable");if(void 0!==(u=i)&&(Rt.Array===u||bn[mn]===u)){for(o=0,a=ce(e.length);a>o;o++)if((l=y(e[o]))&&l instanceof Sn)return l;return new Sn(!1)}r=i.call(e)}for(s=r.next;!(c=s.call(r)).done;){try{l=y(c.value)}catch(e){throw wn(r),e}if("object"==typeof l&&l&&l instanceof Sn)return l}return new Sn(!1)},En=Ue("iterator"),An=!1;try{var On=0,Tn={next:function(){return{done:!!On++}},return:function(){An=!0}};Tn[En]=function(){return this},Array.from(Tn,(function(){throw 2}))}catch(e){}var Rn,In,jn,zn=Ue("species"),$n=function(e,t){var n,r=A(e).constructor;return void 0===r||null==(n=A(r)[zn])?t:et(n)},Pn=/(iphone|ipod|ipad).*applewebkit/i.test(Fe),Cn="process"==f(r.process),Ln=r.location,Mn=r.setImmediate,Nn=r.clearImmediate,Dn=r.process,Un=r.MessageChannel,qn=r.Dispatch,Zn=0,Fn={},Gn=function(e){if(Fn.hasOwnProperty(e)){var t=Fn[e];delete Fn[e],t()}},Wn=function(e){return function(){Gn(e)}},Hn=function(e){Gn(e.data)},Bn=function(e){r.postMessage(e+"",Ln.protocol+"//"+Ln.host)};Mn&&Nn||(Mn=function(e){for(var t=[],n=1;arguments.length>n;)t.push(arguments[n++]);return Fn[++Zn]=function(){("function"==typeof e?e:Function(e)).apply(void 0,t)},Rn(Zn),Zn},Nn=function(e){delete Fn[e]},Cn?Rn=function(e){Dn.nextTick(Wn(e))}:qn&&qn.now?Rn=function(e){qn.now(Wn(e))}:Un&&!Pn?(jn=(In=new Un).port2,In.port1.onmessage=Hn,Rn=tt(jn.postMessage,jn,1)):r.addEventListener&&"function"==typeof postMessage&&!r.importScripts&&Ln&&"file:"!==Ln.protocol&&!i(Bn)?(Rn=Bn,r.addEventListener("message",Hn,!1)):Rn="onreadystatechange"in w("script")?function(e){yt.appendChild(w("script")).onreadystatechange=function(){yt.removeChild(this),Gn(e)}}:function(e){setTimeout(Wn(e),0)});var Vn,Kn,Xn,Yn,Jn,Qn,er,tr,nr={set:Mn,clear:Nn},rr=E.f,ir=nr.set,or=r.MutationObserver||r.WebKitMutationObserver,ar=r.document,lr=r.process,sr=r.Promise,cr=rr(r,"queueMicrotask"),ur=cr&&cr.value;ur||(Vn=function(){var e,t;for(Cn&&(e=lr.domain)&&e.exit();Kn;){t=Kn.fn,Kn=Kn.next;try{t()}catch(e){throw Kn?Yn():Xn=void 0,e}}Xn=void 0,e&&e.enter()},!Pn&&!Cn&&or&&ar?(Jn=!0,Qn=ar.createTextNode(""),new or(Vn).observe(Qn,{characterData:!0}),Yn=function(){Qn.data=Jn=!Jn}):sr&&sr.resolve?(er=sr.resolve(void 0),tr=er.then,Yn=function(){tr.call(er,Vn)}):Yn=Cn?function(){lr.nextTick(Vn)}:function(){ir.call(r,Vn)});var fr,pr,hr,gr,dr=ur||function(e){var t={fn:e,next:void 0};Xn&&(Xn.next=t),Kn||(Kn=t,Yn()),Xn=t},vr=function(e){var t,n;this.promise=new e((function(e,r){if(void 0!==t||void 0!==n)throw TypeError("Bad Promise constructor");t=e,n=r})),this.resolve=et(t),this.reject=et(n)},yr={f:function(e){return new vr(e)}},kr=function(e,t){if(A(e),v(t)&&t.constructor===e)return t;var n=yr.f(e);return(0,n.resolve)(t),n.promise},mr=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}},br=nr.set,xr=Ue("species"),wr="Promise",Sr=ee.get,_r=ee.set,Er=ee.getterFor(wr),Ar=vn,Or=r.TypeError,Tr=r.document,Rr=r.process,Ir=ie("fetch"),jr=yr.f,zr=jr,$r=!!(Tr&&Tr.createEvent&&r.dispatchEvent),Pr="function"==typeof PromiseRejectionEvent,Cr=Re(wr,(function(){if(!(L(Ar)!==String(Ar))){if(66===Be)return!0;if(!Cn&&!Pr)return!0}if(Be>=51&&/native code/.test(Ar))return!1;var e=Ar.resolve(1),t=function(e){e((function(){}),(function(){}))};return(e.constructor={})[xr]=t,!(e.then((function(){}))instanceof t)})),Lr=Cr||!function(e,t){if(!t&&!An)return!1;var n=!1;try{var r={};r[En]=function(){return{next:function(){return{done:n=!0}}}},e(r)}catch(e){}return n}((function(e){Ar.all(e).catch((function(){}))})),Mr=function(e){var t;return!(!v(e)||"function"!=typeof(t=e.then))&&t},Nr=function(e,t){if(!e.notified){e.notified=!0;var n=e.reactions;dr((function(){for(var r=e.value,i=1==e.state,o=0;n.length>o;){var a,l,s,c=n[o++],u=i?c.ok:c.fail,f=c.resolve,p=c.reject,h=c.domain;try{u?(i||(2===e.rejection&&Zr(e),e.rejection=1),!0===u?a=r:(h&&h.enter(),a=u(r),h&&(h.exit(),s=!0)),a===c.promise?p(Or("Promise-chain cycle")):(l=Mr(a))?l.call(a,f,p):f(a)):p(r)}catch(e){h&&!s&&h.exit(),p(e)}}e.reactions=[],e.notified=!1,t&&!e.rejection&&Ur(e)}))}},Dr=function(e,t,n){var i,o;$r?((i=Tr.createEvent("Event")).promise=t,i.reason=n,i.initEvent(e,!1,!0),r.dispatchEvent(i)):i={promise:t,reason:n},!Pr&&(o=r["on"+e])?o(i):"unhandledrejection"===e&&function(e,t){var n=r.console;n&&n.error&&(1===arguments.length?n.error(e):n.error(e,t))}("Unhandled promise rejection",n)},Ur=function(e){br.call(r,(function(){var t,n=e.facade,r=e.value;if(qr(e)&&(t=mr((function(){Cn?Rr.emit("unhandledRejection",r,n):Dr("unhandledrejection",n,r)})),e.rejection=Cn||qr(e)?2:1,t.error))throw t.value}))},qr=function(e){return 1!==e.rejection&&!e.parent},Zr=function(e){br.call(r,(function(){var t=e.facade;Cn?Rr.emit("rejectionHandled",t):Dr("rejectionhandled",t,e.value)}))},Fr=function(e,t,n){return function(r){e(t,r,n)}},Gr=function(e,t,n){e.done||(e.done=!0,n&&(e=n),e.value=t,e.state=2,Nr(e,!0))},Wr=function(e,t,n){if(!e.done){e.done=!0,n&&(e=n);try{if(e.facade===t)throw Or("Promise can't be resolved itself");var r=Mr(t);r?dr((function(){var n={done:!1};try{r.call(t,Fr(Wr,n,e),Fr(Gr,n,e))}catch(t){Gr(n,t,e)}})):(e.value=t,e.state=1,Nr(e,!1))}catch(t){Gr({done:!1},t,e)}}};Cr&&(Ar=function(e){!function(e,t,n){if(!(e instanceof t))throw TypeError("Incorrect "+(n?n+" ":"")+"invocation")}(this,Ar,wr),et(e),fr.call(this);var t=Sr(this);try{e(Fr(Wr,t),Fr(Gr,t))}catch(e){Gr(t,e)}},(fr=function(e){_r(this,{type:wr,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=function(e,t,n){for(var r in t)te(e,r,t[r],n);return e}(Ar.prototype,{then:function(e,t){var n=Er(this),r=jr($n(this,Ar));return r.ok="function"!=typeof e||e,r.fail="function"==typeof t&&t,r.domain=Cn?Rr.domain:void 0,n.parent=!0,n.reactions.push(r),0!=n.state&&Nr(n,!1),r.promise},catch:function(e){return this.then(void 0,e)}}),pr=function(){var e=new fr,t=Sr(e);this.promise=e,this.resolve=Fr(Wr,t),this.reject=Fr(Gr,t)},yr.f=jr=function(e){return e===Ar||e===hr?new pr(e):zr(e)},"function"==typeof vn&&(gr=vn.prototype.then,te(vn.prototype,"then",(function(e,t){var n=this;return new Ar((function(e,t){gr.call(n,e,t)})).then(e,t)}),{unsafe:!0}),"function"==typeof Ir&&je({global:!0,enumerable:!0,forced:!0},{fetch:function(e){return kr(Ar,Ir.apply(r,arguments))}}))),je({global:!0,wrap:!0,forced:Cr},{Promise:Ar}),Dt(Ar,wr,!1),kn(wr),hr=ie(wr),je({target:wr,stat:!0,forced:Cr},{reject:function(e){var t=jr(this);return t.reject.call(void 0,e),t.promise}}),je({target:wr,stat:!0,forced:Cr},{resolve:function(e){return kr(this,e)}}),je({target:wr,stat:!0,forced:Lr},{all:function(e){var t=this,n=jr(t),r=n.resolve,i=n.reject,o=mr((function(){var n=et(t.resolve),o=[],a=0,l=1;_n(e,(function(e){var s=a++,c=!1;o.push(void 0),l++,n.call(t,e).then((function(e){c||(c=!0,o[s]=e,--l||r(o))}),i)})),--l||r(o)}));return o.error&&i(o.value),n.promise},race:function(e){var t=this,n=jr(t),r=n.reject,i=mr((function(){var i=et(t.resolve);_n(e,(function(e){i.call(t,e).then(n.resolve,r)}))}));return i.error&&r(i.value),n.promise}});var Hr=Ue("match"),Br=function(e){var t;return v(e)&&(void 0!==(t=e[Hr])?!!t:"RegExp"==f(e))},Vr=function(){var e=A(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t};function Kr(e,t){return RegExp(e,t)}var Xr={UNSUPPORTED_Y:i((function(){var e=Kr("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),BROKEN_CARET:i((function(){var e=Kr("^r","gy");return e.lastIndex=2,null!=e.exec("str")}))},Yr=T.f,Jr=me.f,Qr=ee.set,ei=Ue("match"),ti=r.RegExp,ni=ti.prototype,ri=/a/g,ii=/a/g,oi=new ti(ri)!==ri,ai=Xr.UNSUPPORTED_Y;if(o&&Re("RegExp",!oi||ai||i((function(){return ii[ei]=!1,ti(ri)!=ri||ti(ii)==ii||"/a/i"!=ti(ri,"i")})))){for(var li=function(e,t){var n,r=this instanceof li,i=Br(e),o=void 0===t;if(!r&&i&&e.constructor===li&&o)return e;oi?i&&!o&&(e=e.source):e instanceof li&&(o&&(t=Vr.call(e)),e=e.source),ai&&(n=!!t&&t.indexOf("y")>-1)&&(t=t.replace(/y/g,""));var a,l,s,c,u,f=(a=oi?new ti(e,t):ti(e,t),l=r?this:ni,s=li,Zt&&"function"==typeof(c=l.constructor)&&c!==s&&v(u=c.prototype)&&u!==s.prototype&&Zt(a,u),a);return ai&&n&&Qr(f,{sticky:n}),f},si=function(e){e in li||Yr(li,e,{configurable:!0,get:function(){return ti[e]},set:function(t){ti[e]=t}})},ci=Jr(ti),ui=0;ci.length>ui;)si(ci[ui++]);ni.constructor=li,li.prototype=ni,te(r,"RegExp",li)}kn("RegExp");var fi=RegExp.prototype.exec,pi=String.prototype.replace,hi=fi,gi=function(){var e=/a/,t=/b*/g;return fi.call(e,"a"),fi.call(t,"a"),0!==e.lastIndex||0!==t.lastIndex}(),di=Xr.UNSUPPORTED_Y||Xr.BROKEN_CARET,vi=void 0!==/()??/.exec("")[1];(gi||vi||di)&&(hi=function(e){var t,n,r,i,o=this,a=di&&o.sticky,l=Vr.call(o),s=o.source,c=0,u=e;return a&&(-1===(l=l.replace("y","")).indexOf("g")&&(l+="g"),u=String(e).slice(o.lastIndex),o.lastIndex>0&&(!o.multiline||o.multiline&&"\n"!==e[o.lastIndex-1])&&(s="(?: "+s+")",u=" "+u,c++),n=new RegExp("^(?:"+s+")",l)),vi&&(n=new RegExp("^"+s+"$(?!\\s)",l)),gi&&(t=o.lastIndex),r=fi.call(a?n:o,u),a?r?(r.input=r.input.slice(c),r[0]=r[0].slice(c),r.index=o.lastIndex,o.lastIndex+=r[0].length):o.lastIndex=0:gi&&r&&(o.lastIndex=o.global?r.index+r[0].length:t),vi&&r&&r.length>1&&pi.call(r[0],n,(function(){for(i=1;i<arguments.length-2;i++)void 0===arguments[i]&&(r[i]=void 0)})),r});var yi=hi;je({target:"RegExp",proto:!0,forced:/./.exec!==yi},{exec:yi});var ki=RegExp.prototype,mi=ki.toString,bi=i((function(){return"/a/b"!=mi.call({source:"a",flags:"b"})})),xi="toString"!=mi.name;(bi||xi)&&te(RegExp.prototype,"toString",(function(){var e=A(this),t=String(e.source),n=e.flags;return"/"+t+"/"+String(void 0===n&&e instanceof RegExp&&!("flags"in ki)?Vr.call(e):n)}),{unsafe:!0});var wi=function(e){return function(t,n){var r,i,o=String(g(t)),a=le(n),l=o.length;return a<0||a>=l?e?"":void 0:(r=o.charCodeAt(a))<55296||r>56319||a+1===l||(i=o.charCodeAt(a+1))<56320||i>57343?e?o.charAt(a):r:e?o.slice(a,a+2):i-56320+(r-55296<<10)+65536}},Si={codeAt:wi(!1),charAt:wi(!0)},_i=Si.charAt,Ei=ee.set,Ai=ee.getterFor("String Iterator");Bt(String,"String",(function(e){Ei(this,{type:"String Iterator",string:String(e),index:0})}),(function(){var e,t=Ai(this),n=t.string,r=t.index;return r>=n.length?{value:void 0,done:!0}:(e=_i(n,r),t.index+=e.length,{value:e,done:!1})}));var Oi=Ue("species"),Ti=!i((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")})),Ri="$0"==="a".replace(/./,"$0"),Ii=Ue("replace"),ji=!!/./[Ii]&&""===/./[Ii]("a","$0"),zi=!i((function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return 2!==n.length||"a"!==n[0]||"b"!==n[1]})),$i=function(e,t,n,r){var o=Ue(e),a=!i((function(){var t={};return t[o]=function(){return 7},7!=""[e](t)})),l=a&&!i((function(){var t=!1,n=/a/;return"split"===e&&((n={}).constructor={},n.constructor[Oi]=function(){return n},n.flags="",n[o]=/./[o]),n.exec=function(){return t=!0,null},n[o](""),!t}));if(!a||!l||"replace"===e&&(!Ti||!Ri||ji)||"split"===e&&!zi){var s=/./[o],c=n(o,""[e],(function(e,t,n,r,i){return t.exec===yi?a&&!i?{done:!0,value:s.call(t,n,r)}:{done:!0,value:e.call(n,t,r)}:{done:!1}}),{REPLACE_KEEPS_$0:Ri,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:ji}),u=c[0],f=c[1];te(String.prototype,e,u),te(RegExp.prototype,o,2==t?function(e,t){return f.call(e,this,t)}:function(e){return f.call(e,this)})}r&&R(RegExp.prototype[o],"sham",!0)},Pi=Si.charAt,Ci=function(e,t,n){return t+(n?Pi(e,t).length:1)},Li=function(e,t){var n=e.exec;if("function"==typeof n){var r=n.call(e,t);if("object"!=typeof r)throw TypeError("RegExp exec method returned something other than an Object or null");return r}if("RegExp"!==f(e))throw TypeError("RegExp#exec called on incompatible receiver");return yi.call(e,t)};$i("match",1,(function(e,t,n){return[function(t){var n=g(this),r=null==t?void 0:t[e];return void 0!==r?r.call(t,n):new RegExp(t)[e](String(n))},function(e){var r=n(t,e,this);if(r.done)return r.value;var i=A(e),o=String(this);if(!i.global)return Li(i,o);var a=i.unicode;i.lastIndex=0;for(var l,s=[],c=0;null!==(l=Li(i,o));){var u=String(l[0]);s[c]=u,""===u&&(i.lastIndex=Ci(o,ce(i.lastIndex),a)),c++}return 0===c?null:s}]}));var Mi=Math.max,Ni=Math.min,Di=Math.floor,Ui=/\$([$&'`]|\d\d?|<[^>]*>)/g,qi=/\$([$&'`]|\d\d?)/g;$i("replace",2,(function(e,t,n,r){var i=r.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,o=r.REPLACE_KEEPS_$0,a=i?"$":"$0";return[function(n,r){var i=g(this),o=null==n?void 0:n[e];return void 0!==o?o.call(n,i,r):t.call(String(i),n,r)},function(e,r){if(!i&&o||"string"==typeof r&&-1===r.indexOf(a)){var s=n(t,e,this,r);if(s.done)return s.value}var c=A(e),u=String(this),f="function"==typeof r;f||(r=String(r));var p=c.global;if(p){var h=c.unicode;c.lastIndex=0}for(var g=[];;){var d=Li(c,u);if(null===d)break;if(g.push(d),!p)break;""===String(d[0])&&(c.lastIndex=Ci(u,ce(c.lastIndex),h))}for(var v,y="",k=0,m=0;m<g.length;m++){d=g[m];for(var b=String(d[0]),x=Mi(Ni(le(d.index),u.length),0),w=[],S=1;S<d.length;S++)w.push(void 0===(v=d[S])?v:String(v));var _=d.groups;if(f){var E=[b].concat(w,x,u);void 0!==_&&E.push(_);var O=String(r.apply(void 0,E))}else O=l(b,u,x,w,_,r);x>=k&&(y+=u.slice(k,x)+O,k=x+b.length)}return y+u.slice(k)}];function l(e,n,r,i,o,a){var l=r+e.length,s=i.length,c=qi;return void 0!==o&&(o=$e(o),c=Ui),t.call(a,c,(function(t,a){var c;switch(a.charAt(0)){case"$":return"$";case"&":return e;case"`":return n.slice(0,r);case"'":return n.slice(l);case"<":c=o[a.slice(1,-1)];break;default:var u=+a;if(0===u)return t;if(u>s){var f=Di(u/10);return 0===f?t:f<=s?void 0===i[f-1]?a.charAt(1):i[f-1]+a.charAt(1):t}c=i[u-1]}return void 0===c?"":c}))}}));var Zi=[].push,Fi=Math.min,Gi=!i((function(){return!RegExp(4294967295,"y")}));$i("split",2,(function(e,t,n){var r;return r="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(e,n){var r=String(g(this)),i=void 0===n?4294967295:n>>>0;if(0===i)return[];if(void 0===e)return[r];if(!Br(e))return t.call(r,e,i);for(var o,a,l,s=[],c=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),u=0,f=new RegExp(e.source,c+"g");(o=yi.call(f,r))&&!((a=f.lastIndex)>u&&(s.push(r.slice(u,o.index)),o.length>1&&o.index<r.length&&Zi.apply(s,o.slice(1)),l=o[0].length,u=a,s.length>=i));)f.lastIndex===o.index&&f.lastIndex++;return u===r.length?!l&&f.test("")||s.push(""):s.push(r.slice(u)),s.length>i?s.slice(0,i):s}:"0".split(void 0,0).length?function(e,n){return void 0===e&&0===n?[]:t.call(this,e,n)}:t,[function(t,n){var i=g(this),o=null==t?void 0:t[e];return void 0!==o?o.call(t,i,n):r.call(String(i),t,n)},function(e,i){var o=n(r,e,this,i,r!==t);if(o.done)return o.value;var a=A(e),l=String(this),s=$n(a,RegExp),c=a.unicode,u=(a.ignoreCase?"i":"")+(a.multiline?"m":"")+(a.unicode?"u":"")+(Gi?"y":"g"),f=new s(Gi?a:"^(?:"+a.source+")",u),p=void 0===i?4294967295:i>>>0;if(0===p)return[];if(0===l.length)return null===Li(f,l)?[l]:[];for(var h=0,g=0,d=[];g<l.length;){f.lastIndex=Gi?g:0;var v,y=Li(f,Gi?l:l.slice(g));if(null===y||(v=Fi(ce(f.lastIndex+(Gi?0:g)),l.length))===h)g=Ci(l,g,c);else{if(d.push(l.slice(h,g)),d.length===p)return d;for(var k=1;k<=y.length-1;k++)if(d.push(y[k]),d.length===p)return d;g=h=v}}return d.push(l.slice(h)),d}]}),!Gi);var Wi="\t\n\v\f\r    \u2028\u2029\ufeff",Hi="["+Wi+"]",Bi=RegExp("^"+Hi+Hi+"*"),Vi=RegExp(Hi+Hi+"*$"),Ki=function(e){return function(t){var n=String(g(t));return 1&e&&(n=n.replace(Bi,"")),2&e&&(n=n.replace(Vi,"")),n}},Xi={start:Ki(1),end:Ki(2),trim:Ki(3)},Yi=function(e){return i((function(){return!!Wi[e]()||"…"!="…"[e]()||Wi[e].name!==e}))},Ji=Xi.trim;je({target:"String",proto:!0,forced:Yi("trim")},{trim:function(){return Ji(this)}});var Qi={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0};for(var eo in Qi){var to=r[eo],no=to&&to.prototype;if(no&&no.forEach!==ht)try{R(no,"forEach",ht)}catch(e){no.forEach=ht}}var ro=Ue("iterator"),io=Ue("toStringTag"),oo=Xt.values;for(var ao in Qi){var lo=r[ao],so=lo&&lo.prototype;if(so){if(so[ro]!==oo)try{R(so,ro,oo)}catch(e){so[ro]=oo}if(so[io]||R(so,io,ao),Qi[ao])for(var co in Xt)if(so[co]!==Xt[co])try{R(so,co,Xt[co])}catch(e){so[co]=Xt[co]}}}function uo(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function fo(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function po(e,t,n){return t&&fo(e.prototype,t),n&&fo(e,n),e}function ho(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function go(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function vo(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],r=!0,i=!1,o=void 0;try{for(var a,l=e[Symbol.iterator]();!(r=(a=l.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){i=!0,o=e}finally{try{r||null==l.return||l.return()}finally{if(i)throw o}}return n}(e,t)||yo(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function yo(e,t){if(e){if("string"==typeof e)return ko(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?ko(e,t):void 0}}function ko(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function mo(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=yo(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,l=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return a=e.done,e},e:function(e){l=!0,o=e},f:function(){try{a||null==n.return||n.return()}finally{if(l)throw o}}}}var bo=ge.includes,xo=ct("indexOf",{ACCESSORS:!0,1:0});je({target:"Array",proto:!0,forced:!xo},{includes:function(e){return bo(this,e,arguments.length>1?arguments[1]:void 0)}}),Tt("includes");var wo=Math.min,So=[].lastIndexOf,_o=!!So&&1/[1].lastIndexOf(1,-0)<0,Eo=ot("lastIndexOf"),Ao=ct("indexOf",{ACCESSORS:!0,1:0}),Oo=_o||!Eo||!Ao?function(e){if(_o)return So.apply(this,arguments)||0;var t=d(this),n=ce(t.length),r=n-1;for(arguments.length>1&&(r=wo(r,le(arguments[1]))),r<0&&(r=n+r);r>=0;r--)if(r in t&&t[r]===e)return r||0;return-1}:So;je({target:"Array",proto:!0,forced:Oo!==[].lastIndexOf},{lastIndexOf:Oo});var To=i((function(){dt(1)}));je({target:"Object",stat:!0,forced:To},{keys:function(e){return dt($e(e))}});var Ro=function(e){if(Br(e))throw TypeError("The method doesn't accept regular expressions");return e},Io=Ue("match"),jo=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[Io]=!1,"/./"[e](t)}catch(e){}}return!1};je({target:"String",proto:!0,forced:!jo("includes")},{includes:function(e){return!!~String(g(this)).indexOf(Ro(e),arguments.length>1?arguments[1]:void 0)}});var zo=/"/g;je({target:"String",proto:!0,forced:function(e){return i((function(){var t=""[e]('"');return t!==t.toLowerCase()||t.split('"').length>3}))}("link")},{link:function(e){return t="a",n="href",r=e,i=String(g(this)),o="<"+t,""!==n&&(o+=" "+n+'="'+String(r).replace(zo,"&quot;")+'"'),o+">"+i+"</"+t+">";var t,n,r,i,o}});var $o=ge.indexOf,Po=[].indexOf,Co=!!Po&&1/[1].indexOf(1,-0)<0,Lo=ot("indexOf"),Mo=ct("indexOf",{ACCESSORS:!0,1:0});je({target:"Array",proto:!0,forced:Co||!Lo||!Mo},{indexOf:function(e){return Co?Po.apply(this,arguments)||0:$o(this,e,arguments.length>1?arguments[1]:void 0)}});var No=it.map,Do=Ke("map"),Uo=ct("map");je({target:"Array",proto:!0,forced:!Do||!Uo},{map:function(e){return No(this,e,arguments.length>1?arguments[1]:void 0)}});var qo=Ke("splice"),Zo=ct("splice",{ACCESSORS:!0,0:0,1:2}),Fo=Math.max,Go=Math.min;je({target:"Array",proto:!0,forced:!qo||!Zo},{splice:function(e,t){var n,r,i,o,a,l,s=$e(this),c=ce(s.length),u=pe(e,c),f=arguments.length;if(0===f?n=r=0:1===f?(n=0,r=c-u):(n=f-2,r=Go(Fo(le(t),0),c-u)),c+n-r>9007199254740991)throw TypeError("Maximum allowed length exceeded");for(i=Ze(s,r),o=0;o<r;o++)(a=u+o)in s&&Pe(i,o,s[a]);if(i.length=r,n<r){for(o=u;o<c-r;o++)l=o+n,(a=o+r)in s?s[l]=s[a]:delete s[l];for(o=c;o>c-r+n;o--)delete s[o-1]}else if(n>r)for(o=c-r;o>u;o--)l=o+n-1,(a=o+r-1)in s?s[l]=s[a]:delete s[l];for(o=0;o<n;o++)s[o+u]=arguments[o+2];return s.length=c-r+n,i}});var Wo,Ho=E.f,Bo="".endsWith,Vo=Math.min,Ko=jo("endsWith"),Xo=!(Ko||(Wo=Ho(String.prototype,"endsWith"),!Wo||Wo.writable));je({target:"String",proto:!0,forced:!Xo&&!Ko},{endsWith:function(e){var t=String(g(this));Ro(e);var n=arguments.length>1?arguments[1]:void 0,r=ce(t.length),i=void 0===n?r:Vo(ce(n),r),o=String(e);return Bo?Bo.call(t,o,i):t.slice(i-o.length,i)===o}});var Yo=E.f,Jo="".startsWith,Qo=Math.min,ea=jo("startsWith"),ta=!ea&&!!function(){var e=Yo(String.prototype,"startsWith");return e&&!e.writable}();je({target:"String",proto:!0,forced:!ta&&!ea},{startsWith:function(e){var t=String(g(this));Ro(e);var n=ce(Qo(arguments.length>1?arguments[1]:void 0,t.length)),r=String(e);return Jo?Jo.call(t,r,n):t.slice(n,n+r.length)===r}});var na=Xi.end,ra=Yi("trimEnd"),ia=ra?function(){return na(this)}:"".trimEnd;je({target:"String",proto:!0,forced:ra},{trimEnd:ia,trimRight:ia});var oa=t((function(e){function t(){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,tokenizer:null,walkTokens:null,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,tokenizer:null,walkTokens:null,xhtml:!1},getDefaults:t,changeDefaults:function(t){e.exports.defaults=t}}})),aa=/[&<>"']/,la=/[&<>"']/g,sa=/[<>"']|&(?!#?\w+;)/,ca=/[<>"']|&(?!#?\w+;)/g,ua={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},fa=function(e){return ua[e]};var pa=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/gi;function ha(e){return e.replace(pa,(function(e,t){return"colon"===(t=t.toLowerCase())?":":"#"===t.charAt(0)?"x"===t.charAt(1)?String.fromCharCode(parseInt(t.substring(2),16)):String.fromCharCode(+t.substring(1)):""}))}var ga=/(^|[^\[])\^/g;var da=/[^\w:]/g,va=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;var ya={},ka=/^[^:]+:\/*[^/]*$/,ma=/^([^:]+:)[\s\S]*$/,ba=/^([^:]+:\/*[^/]*)[\s\S]*$/;function xa(e,t){ya[" "+e]||(ka.test(e)?ya[" "+e]=e+"/":ya[" "+e]=wa(e,"/",!0));var n=-1===(e=ya[" "+e]).indexOf(":");return"//"===t.substring(0,2)?n?t:e.replace(ma,"$1")+t:"/"===t.charAt(0)?n?t:e.replace(ba,"$1")+t:e+t}function wa(e,t,n){var r=e.length;if(0===r)return"";for(var i=0;i<r;){var o=e.charAt(r-i-1);if(o!==t||n){if(o===t||!n)break;i++}else i++}return e.substr(0,r-i)}var Sa=function(e,t){if(t){if(aa.test(e))return e.replace(la,fa)}else if(sa.test(e))return e.replace(ca,fa);return e},_a=ha,Ea=function(e,t){e=e.source||e,t=t||"";var n={replace:function(t,r){return r=(r=r.source||r).replace(ga,"$1"),e=e.replace(t,r),n},getRegex:function(){return new RegExp(e,t)}};return n},Aa=function(e,t,n){if(e){var r;try{r=decodeURIComponent(ha(n)).replace(da,"").toLowerCase()}catch(e){return null}if(0===r.indexOf("javascript:")||0===r.indexOf("vbscript:")||0===r.indexOf("data:"))return null}t&&!va.test(n)&&(n=xa(t,n));try{n=encodeURI(n).replace(/%25/g,"%")}catch(e){return null}return n},Oa={exec:function(){}},Ta=function(e){for(var t,n,r=1;r<arguments.length;r++)for(n in t=arguments[r])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e},Ra=function(e,t){var n=e.replace(/\|/g,(function(e,t,n){for(var r=!1,i=t;--i>=0&&"\\"===n[i];)r=!r;return r?"|":" |"})).split(/ \|/),r=0;if(n.length>t)n.splice(t);else for(;n.length<t;)n.push("");for(;r<n.length;r++)n[r]=n[r].trim().replace(/\\\|/g,"|");return n},Ia=wa,ja=function(e,t){if(-1===e.indexOf(t[1]))return-1;for(var n=e.length,r=0,i=0;i<n;i++)if("\\"===e[i])i++;else if(e[i]===t[0])r++;else if(e[i]===t[1]&&--r<0)return i;return-1},za=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")},$a=function(e,t){if(t<1)return"";for(var n="";t>1;)1&t&&(n+=e),t>>=1,e+=e;return n+e},Pa=oa.defaults,Ca=Ia,La=Ra,Ma=Sa,Na=ja;function Da(e,t,n){var r=t.href,i=t.title?Ma(t.title):null,o=e[1].replace(/\\([\[\]])/g,"$1");return"!"!==e[0].charAt(0)?{type:"link",raw:n,href:r,title:i,text:o}:{type:"image",raw:n,href:r,title:i,text:Ma(o)}}var Ua=function(){function e(t){uo(this,e),this.options=t||Pa}return po(e,[{key:"space",value:function(e){var t=this.rules.block.newline.exec(e);if(t)return t[0].length>1?{type:"space",raw:t[0]}:{raw:"\n"}}},{key:"code",value:function(e,t){var n=this.rules.block.code.exec(e);if(n){var r=t[t.length-1];if(r&&"paragraph"===r.type)return{raw:n[0],text:n[0].trimRight()};var i=n[0].replace(/^ {4}/gm,"");return{type:"code",raw:n[0],codeBlockStyle:"indented",text:this.options.pedantic?i:Ca(i,"\n")}}}},{key:"fences",value:function(e){var t=this.rules.block.fences.exec(e);if(t){var n=t[0],r=function(e,t){var n=e.match(/^(\s+)(?:```)/);if(null===n)return t;var r=n[1];return t.split("\n").map((function(e){var t=e.match(/^\s+/);return null===t?e:vo(t,1)[0].length>=r.length?e.slice(r.length):e})).join("\n")}(n,t[3]||"");return{type:"code",raw:n,lang:t[2]?t[2].trim():t[2],text:r}}}},{key:"heading",value:function(e){var t=this.rules.block.heading.exec(e);if(t)return{type:"heading",raw:t[0],depth:t[1].length,text:t[2]}}},{key:"nptable",value:function(e){var t=this.rules.block.nptable.exec(e);if(t){var n={type:"table",header:La(t[1].replace(/^ *| *\| *$/g,"")),align:t[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:t[3]?t[3].replace(/\n$/,"").split("\n"):[],raw:t[0]};if(n.header.length===n.align.length){var r,i=n.align.length;for(r=0;r<i;r++)/^ *-+: *$/.test(n.align[r])?n.align[r]="right":/^ *:-+: *$/.test(n.align[r])?n.align[r]="center":/^ *:-+ *$/.test(n.align[r])?n.align[r]="left":n.align[r]=null;for(i=n.cells.length,r=0;r<i;r++)n.cells[r]=La(n.cells[r],n.header.length);return n}}}},{key:"hr",value:function(e){var t=this.rules.block.hr.exec(e);if(t)return{type:"hr",raw:t[0]}}},{key:"blockquote",value:function(e){var t=this.rules.block.blockquote.exec(e);if(t){var n=t[0].replace(/^ *> ?/gm,"");return{type:"blockquote",raw:t[0],text:n}}}},{key:"list",value:function(e){var t=this.rules.block.list.exec(e);if(t){var n,r,i,o,a,l,s,c,u=t[0],f=t[2],p=f.length>1,h={type:"list",raw:u,ordered:p,start:p?+f.slice(0,-1):"",loose:!1,items:[]},g=t[0].match(this.rules.block.item),d=!1,v=g.length;i=this.rules.block.listItemStart.exec(g[0]);for(var y=0;y<v;y++){if(u=n=g[y],y!==v-1){if((o=this.rules.block.listItemStart.exec(g[y+1]))[1].length>i[0].length||o[1].length>3){g.splice(y,2,g[y]+"\n"+g[y+1]),y--,v--;continue}(!this.options.pedantic||this.options.smartLists?o[2][o[2].length-1]!==f[f.length-1]:p===(1===o[2].length))&&(a=g.slice(y+1).join("\n"),h.raw=h.raw.substring(0,h.raw.length-a.length),y=v-1),i=o}r=n.length,~(n=n.replace(/^ *([*+-]|\d+[.)]) ?/,"")).indexOf("\n ")&&(r-=n.length,n=this.options.pedantic?n.replace(/^ {1,4}/gm,""):n.replace(new RegExp("^ {1,"+r+"}","gm"),"")),l=d||/\n\n(?!\s*$)/.test(n),y!==v-1&&(d="\n"===n.charAt(n.length-1),l||(l=d)),l&&(h.loose=!0),this.options.gfm&&(c=void 0,(s=/^\[[ xX]\] /.test(n))&&(c=" "!==n[1],n=n.replace(/^\[[ xX]\] +/,""))),h.items.push({type:"list_item",raw:u,task:s,checked:c,loose:l,text:n})}return h}}},{key:"html",value:function(e){var t=this.rules.block.html.exec(e);if(t)return{type:this.options.sanitize?"paragraph":"html",raw:t[0],pre:!this.options.sanitizer&&("pre"===t[1]||"script"===t[1]||"style"===t[1]),text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(t[0]):Ma(t[0]):t[0]}}},{key:"def",value:function(e){var t=this.rules.block.def.exec(e);if(t)return t[3]&&(t[3]=t[3].substring(1,t[3].length-1)),{tag:t[1].toLowerCase().replace(/\s+/g," "),raw:t[0],href:t[2],title:t[3]}}},{key:"table",value:function(e){var t=this.rules.block.table.exec(e);if(t){var n={type:"table",header:La(t[1].replace(/^ *| *\| *$/g,"")),align:t[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:t[3]?t[3].replace(/\n$/,"").split("\n"):[]};if(n.header.length===n.align.length){n.raw=t[0];var r,i=n.align.length;for(r=0;r<i;r++)/^ *-+: *$/.test(n.align[r])?n.align[r]="right":/^ *:-+: *$/.test(n.align[r])?n.align[r]="center":/^ *:-+ *$/.test(n.align[r])?n.align[r]="left":n.align[r]=null;for(i=n.cells.length,r=0;r<i;r++)n.cells[r]=La(n.cells[r].replace(/^ *\| *| *\| *$/g,""),n.header.length);return n}}}},{key:"lheading",value:function(e){var t=this.rules.block.lheading.exec(e);if(t)return{type:"heading",raw:t[0],depth:"="===t[2].charAt(0)?1:2,text:t[1]}}},{key:"paragraph",value:function(e){var t=this.rules.block.paragraph.exec(e);if(t)return{type:"paragraph",raw:t[0],text:"\n"===t[1].charAt(t[1].length-1)?t[1].slice(0,-1):t[1]}}},{key:"text",value:function(e,t){var n=this.rules.block.text.exec(e);if(n){var r=t[t.length-1];return r&&"text"===r.type?{raw:n[0],text:n[0]}:{type:"text",raw:n[0],text:n[0]}}}},{key:"escape",value:function(e){var t=this.rules.inline.escape.exec(e);if(t)return{type:"escape",raw:t[0],text:Ma(t[1])}}},{key:"tag",value:function(e,t,n){var r=this.rules.inline.tag.exec(e);if(r)return!t&&/^<a /i.test(r[0])?t=!0:t&&/^<\/a>/i.test(r[0])&&(t=!1),!n&&/^<(pre|code|kbd|script)(\s|>)/i.test(r[0])?n=!0:n&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(r[0])&&(n=!1),{type:this.options.sanitize?"text":"html",raw:r[0],inLink:t,inRawBlock:n,text:this.options.sanitize?this.options.sanitizer?this.options.sanitizer(r[0]):Ma(r[0]):r[0]}}},{key:"link",value:function(e){var t=this.rules.inline.link.exec(e);if(t){var n=Na(t[2],"()");if(n>-1){var r=(0===t[0].indexOf("!")?5:4)+t[1].length+n;t[2]=t[2].substring(0,n),t[0]=t[0].substring(0,r).trim(),t[3]=""}var i=t[2],o="";if(this.options.pedantic){var a=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(i);a?(i=a[1],o=a[3]):o=""}else o=t[3]?t[3].slice(1,-1):"";return Da(t,{href:(i=i.trim().replace(/^<([\s\S]*)>$/,"$1"))?i.replace(this.rules.inline._escapes,"$1"):i,title:o?o.replace(this.rules.inline._escapes,"$1"):o},t[0])}}},{key:"reflink",value:function(e,t){var n;if((n=this.rules.inline.reflink.exec(e))||(n=this.rules.inline.nolink.exec(e))){var r=(n[2]||n[1]).replace(/\s+/g," ");if(!(r=t[r.toLowerCase()])||!r.href){var i=n[0].charAt(0);return{type:"text",raw:i,text:i}}return Da(n,r,n[0])}}},{key:"strong",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",r=this.rules.inline.strong.start.exec(e);if(r&&(!r[1]||r[1]&&(""===n||this.rules.inline.punctuation.exec(n)))){t=t.slice(-1*e.length);var i,o="**"===r[0]?this.rules.inline.strong.endAst:this.rules.inline.strong.endUnd;for(o.lastIndex=0;null!=(r=o.exec(t));)if(i=this.rules.inline.strong.middle.exec(t.slice(0,r.index+3)))return{type:"strong",raw:e.slice(0,i[0].length),text:e.slice(2,i[0].length-2)}}}},{key:"em",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",r=this.rules.inline.em.start.exec(e);if(r&&(!r[1]||r[1]&&(""===n||this.rules.inline.punctuation.exec(n)))){t=t.slice(-1*e.length);var i,o="*"===r[0]?this.rules.inline.em.endAst:this.rules.inline.em.endUnd;for(o.lastIndex=0;null!=(r=o.exec(t));)if(i=this.rules.inline.em.middle.exec(t.slice(0,r.index+2)))return{type:"em",raw:e.slice(0,i[0].length),text:e.slice(1,i[0].length-1)}}}},{key:"codespan",value:function(e){var t=this.rules.inline.code.exec(e);if(t){var n=t[2].replace(/\n/g," "),r=/[^ ]/.test(n),i=n.startsWith(" ")&&n.endsWith(" ");return r&&i&&(n=n.substring(1,n.length-1)),n=Ma(n,!0),{type:"codespan",raw:t[0],text:n}}}},{key:"br",value:function(e){var t=this.rules.inline.br.exec(e);if(t)return{type:"br",raw:t[0]}}},{key:"del",value:function(e){var t=this.rules.inline.del.exec(e);if(t)return{type:"del",raw:t[0],text:t[2]}}},{key:"autolink",value:function(e,t){var n,r,i=this.rules.inline.autolink.exec(e);if(i)return r="@"===i[2]?"mailto:"+(n=Ma(this.options.mangle?t(i[1]):i[1])):n=Ma(i[1]),{type:"link",raw:i[0],text:n,href:r,tokens:[{type:"text",raw:n,text:n}]}}},{key:"url",value:function(e,t){var n;if(n=this.rules.inline.url.exec(e)){var r,i;if("@"===n[2])i="mailto:"+(r=Ma(this.options.mangle?t(n[0]):n[0]));else{var o;do{o=n[0],n[0]=this.rules.inline._backpedal.exec(n[0])[0]}while(o!==n[0]);r=Ma(n[0]),i="www."===n[1]?"http://"+r:r}return{type:"link",raw:n[0],text:r,href:i,tokens:[{type:"text",raw:r,text:r}]}}}},{key:"inlineText",value:function(e,t,n){var r,i=this.rules.inline.text.exec(e);if(i)return r=t?this.options.sanitize?this.options.sanitizer?this.options.sanitizer(i[0]):Ma(i[0]):i[0]:Ma(this.options.smartypants?n(i[0]):i[0]),{type:"text",raw:i[0],text:r}}}]),e}(),qa=Oa,Za=Ea,Fa=Ta,Ga={newline:/^\n+/,code:/^( {4}[^\n]+\n*)+/,fences:/^ {0,3}(`{3,}(?=[^`\n]*\n)|~{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,}(?! )(?! {0,3}bull )\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:qa,table:qa,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?'|\([^()]*\))/};Ga.def=Za(Ga.def).replace("label",Ga._label).replace("title",Ga._title).getRegex(),Ga.bullet=/(?:[*+-]|\d{1,9}[.)])/,Ga.item=/^( *)(bull) ?[^\n]*(?:\n(?! *bull ?)[^\n]*)*/,Ga.item=Za(Ga.item,"gm").replace(/bull/g,Ga.bullet).getRegex(),Ga.listItemStart=Za(/^( *)(bull)/).replace("bull",Ga.bullet).getRegex(),Ga.list=Za(Ga.list).replace(/bull/g,Ga.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+Ga.def.source+")").getRegex(),Ga._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",Ga._comment=/<!--(?!-?>)[\s\S]*?(?:-->|$)/,Ga.html=Za(Ga.html,"i").replace("comment",Ga._comment).replace("tag",Ga._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),Ga.paragraph=Za(Ga._paragraph).replace("hr",Ga.hr).replace("heading"," {0,3}#{1,6} ").replace("|lheading","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|!--)").replace("tag",Ga._tag).getRegex(),Ga.blockquote=Za(Ga.blockquote).replace("paragraph",Ga.paragraph).getRegex(),Ga.normal=Fa({},Ga),Ga.gfm=Fa({},Ga.normal,{nptable:"^ *([^|\\n ].*\\|.*)\\n {0,3}([-:]+ *\\|[-| :]*)(?:\\n((?:(?!\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)",table:"^ *\\|(.+)\\n {0,3}\\|?( *[-:]+[-| :]*)(?:\\n *((?:(?!\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)"}),Ga.gfm.nptable=Za(Ga.gfm.nptable).replace("hr",Ga.hr).replace("heading"," {0,3}#{1,6} ").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|!--)").replace("tag",Ga._tag).getRegex(),Ga.gfm.table=Za(Ga.gfm.table).replace("hr",Ga.hr).replace("heading"," {0,3}#{1,6} ").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|!--)").replace("tag",Ga._tag).getRegex(),Ga.pedantic=Fa({},Ga.normal,{html:Za("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:\"[^\"]*\"|'[^']*'|\\s[^'\"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment",Ga._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:qa,paragraph:Za(Ga.normal._paragraph).replace("hr",Ga.hr).replace("heading"," *#{1,6} *[^\n]").replace("lheading",Ga.lheading).replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").getRegex()});var Wa={escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:qa,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*\])((?:\[[^\[\]]*\]|\\[\[\]]|[^\[\]])*)\](?:\[\])?/,reflinkSearch:"reflink|nolink(?!\\()",strong:{start:/^(?:(\*\*(?=[*punctuation]))|\*\*)(?![\s])|__/,middle:/^\*\*(?:(?:(?!overlapSkip)(?:[^*]|\\\*)|overlapSkip)|\*(?:(?!overlapSkip)(?:[^*]|\\\*)|overlapSkip)*?\*)+?\*\*$|^__(?![\s])((?:(?:(?!overlapSkip)(?:[^_]|\\_)|overlapSkip)|_(?:(?!overlapSkip)(?:[^_]|\\_)|overlapSkip)*?_)+?)__$/,endAst:/[^punctuation\s]\*\*(?!\*)|[punctuation]\*\*(?!\*)(?:(?=[punctuation_\s]|$))/,endUnd:/[^\s]__(?!_)(?:(?=[punctuation*\s])|$)/},em:{start:/^(?:(\*(?=[punctuation]))|\*)(?![*\s])|_/,middle:/^\*(?:(?:(?!overlapSkip)(?:[^*]|\\\*)|overlapSkip)|\*(?:(?!overlapSkip)(?:[^*]|\\\*)|overlapSkip)*?\*)+?\*$|^_(?![_\s])(?:(?:(?!overlapSkip)(?:[^_]|\\_)|overlapSkip)|_(?:(?!overlapSkip)(?:[^_]|\\_)|overlapSkip)*?_)+?_$/,endAst:/[^punctuation\s]\*(?!\*)|[punctuation]\*(?!\*)(?:(?=[punctuation_\s]|$))/,endUnd:/[^\s]_(?!_)(?:(?=[punctuation*\s])|$)/},code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,br:/^( {2,}|\\)\n(?!\s*$)/,del:qa,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*]|\b_|$)|[^ ](?= {2,}\n)))/,punctuation:/^([\s*punctuation])/,_punctuation:"!\"#$%&'()+\\-.,/:;<=>?@\\[\\]`^{|}~"};Wa.punctuation=Za(Wa.punctuation).replace(/punctuation/g,Wa._punctuation).getRegex(),Wa._blockSkip="\\[[^\\]]*?\\]\\([^\\)]*?\\)|`[^`]*?`|<[^>]*?>",Wa._overlapSkip="__[^_]*?__|\\*\\*\\[^\\*\\]*?\\*\\*",Wa._comment=Za(Ga._comment).replace("(?:--\x3e|$)","--\x3e").getRegex(),Wa.em.start=Za(Wa.em.start).replace(/punctuation/g,Wa._punctuation).getRegex(),Wa.em.middle=Za(Wa.em.middle).replace(/punctuation/g,Wa._punctuation).replace(/overlapSkip/g,Wa._overlapSkip).getRegex(),Wa.em.endAst=Za(Wa.em.endAst,"g").replace(/punctuation/g,Wa._punctuation).getRegex(),Wa.em.endUnd=Za(Wa.em.endUnd,"g").replace(/punctuation/g,Wa._punctuation).getRegex(),Wa.strong.start=Za(Wa.strong.start).replace(/punctuation/g,Wa._punctuation).getRegex(),Wa.strong.middle=Za(Wa.strong.middle).replace(/punctuation/g,Wa._punctuation).replace(/overlapSkip/g,Wa._overlapSkip).getRegex(),Wa.strong.endAst=Za(Wa.strong.endAst,"g").replace(/punctuation/g,Wa._punctuation).getRegex(),Wa.strong.endUnd=Za(Wa.strong.endUnd,"g").replace(/punctuation/g,Wa._punctuation).getRegex(),Wa.blockSkip=Za(Wa._blockSkip,"g").getRegex(),Wa.overlapSkip=Za(Wa._overlapSkip,"g").getRegex(),Wa._escapes=/\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/g,Wa._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/,Wa._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])?)+(?![-_])/,Wa.autolink=Za(Wa.autolink).replace("scheme",Wa._scheme).replace("email",Wa._email).getRegex(),Wa._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/,Wa.tag=Za(Wa.tag).replace("comment",Wa._comment).replace("attribute",Wa._attribute).getRegex(),Wa._label=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,Wa._href=/<(?:\\[<>]?|[^\s<>\\])*>|[^\s\x00-\x1f]*/,Wa._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/,Wa.link=Za(Wa.link).replace("label",Wa._label).replace("href",Wa._href).replace("title",Wa._title).getRegex(),Wa.reflink=Za(Wa.reflink).replace("label",Wa._label).getRegex(),Wa.reflinkSearch=Za(Wa.reflinkSearch,"g").replace("reflink",Wa.reflink).replace("nolink",Wa.nolink).getRegex(),Wa.normal=Fa({},Wa),Wa.pedantic=Fa({},Wa.normal,{strong:{start:/^__|\*\*/,middle:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,endAst:/\*\*(?!\*)/g,endUnd:/__(?!_)/g},em:{start:/^_|\*/,middle:/^()\*(?=\S)([\s\S]*?\S)\*(?!\*)|^_(?=\S)([\s\S]*?\S)_(?!_)/,endAst:/\*(?!\*)/g,endUnd:/_(?!_)/g},link:Za(/^!?\[(label)\]\((.*?)\)/).replace("label",Wa._label).getRegex(),reflink:Za(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",Wa._label).getRegex()}),Wa.gfm=Fa({},Wa.normal,{escape:Za(Wa.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~])\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*~]|\b_|https?:\/\/|ftp:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@))|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@))/}),Wa.gfm.url=Za(Wa.gfm.url,"i").replace("email",Wa.gfm._extended_email).getRegex(),Wa.breaks=Fa({},Wa.gfm,{br:Za(Wa.br).replace("{2,}","*").getRegex(),text:Za(Wa.gfm.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()});var Ha={block:Ga,inline:Wa},Ba=oa.defaults,Va=Ha.block,Ka=Ha.inline,Xa=$a;function Ya(e){return e.replace(/---/g,"—").replace(/--/g,"").replace(/(^|[-\u2014/(\[{"\s])'/g,"$1").replace(/'/g,"").replace(/(^|[-\u2014/(\[{\u2018\s])"/g,"$1“").replace(/"/g,"”").replace(/\.{3}/g,"…")}function Ja(e){var t,n,r="",i=e.length;for(t=0;t<i;t++)n=e.charCodeAt(t),Math.random()>.5&&(n="x"+n.toString(16)),r+="&#"+n+";";return r}var Qa=function(){function e(t){uo(this,e),this.tokens=[],this.tokens.links=Object.create(null),this.options=t||Ba,this.options.tokenizer=this.options.tokenizer||new Ua,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options;var n={block:Va.normal,inline:Ka.normal};this.options.pedantic?(n.block=Va.pedantic,n.inline=Ka.pedantic):this.options.gfm&&(n.block=Va.gfm,this.options.breaks?n.inline=Ka.breaks:n.inline=Ka.gfm),this.tokenizer.rules=n}return po(e,[{key:"lex",value:function(e){return e=e.replace(/\r\n|\r/g,"\n").replace(/\t/g," "),this.blockTokens(e,this.tokens,!0),this.inline(this.tokens),this.tokens}},{key:"blockTokens",value:function(e){var t,n,r,i,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],a=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];for(e=e.replace(/^ +$/gm,"");e;)if(t=this.tokenizer.space(e))e=e.substring(t.raw.length),t.type&&o.push(t);else if(t=this.tokenizer.code(e,o))e=e.substring(t.raw.length),t.type?o.push(t):((i=o[o.length-1]).raw+="\n"+t.raw,i.text+="\n"+t.text);else if(t=this.tokenizer.fences(e))e=e.substring(t.raw.length),o.push(t);else if(t=this.tokenizer.heading(e))e=e.substring(t.raw.length),o.push(t);else if(t=this.tokenizer.nptable(e))e=e.substring(t.raw.length),o.push(t);else if(t=this.tokenizer.hr(e))e=e.substring(t.raw.length),o.push(t);else if(t=this.tokenizer.blockquote(e))e=e.substring(t.raw.length),t.tokens=this.blockTokens(t.text,[],a),o.push(t);else if(t=this.tokenizer.list(e)){for(e=e.substring(t.raw.length),r=t.items.length,n=0;n<r;n++)t.items[n].tokens=this.blockTokens(t.items[n].text,[],!1);o.push(t)}else if(t=this.tokenizer.html(e))e=e.substring(t.raw.length),o.push(t);else if(a&&(t=this.tokenizer.def(e)))e=e.substring(t.raw.length),this.tokens.links[t.tag]||(this.tokens.links[t.tag]={href:t.href,title:t.title});else if(t=this.tokenizer.table(e))e=e.substring(t.raw.length),o.push(t);else if(t=this.tokenizer.lheading(e))e=e.substring(t.raw.length),o.push(t);else if(a&&(t=this.tokenizer.paragraph(e)))e=e.substring(t.raw.length),o.push(t);else if(t=this.tokenizer.text(e,o))e=e.substring(t.raw.length),t.type?o.push(t):((i=o[o.length-1]).raw+="\n"+t.raw,i.text+="\n"+t.text);else if(e){var l="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(l);break}throw new Error(l)}return o}},{key:"inline",value:function(e){var t,n,r,i,o,a,l=e.length;for(t=0;t<l;t++)switch((a=e[t]).type){case"paragraph":case"text":case"heading":a.tokens=[],this.inlineTokens(a.text,a.tokens);break;case"table":for(a.tokens={header:[],cells:[]},i=a.header.length,n=0;n<i;n++)a.tokens.header[n]=[],this.inlineTokens(a.header[n],a.tokens.header[n]);for(i=a.cells.length,n=0;n<i;n++)for(o=a.cells[n],a.tokens.cells[n]=[],r=0;r<o.length;r++)a.tokens.cells[n][r]=[],this.inlineTokens(o[r],a.tokens.cells[n][r]);break;case"blockquote":this.inline(a.tokens);break;case"list":for(i=a.items.length,n=0;n<i;n++)this.inline(a.items[n].tokens)}return e}},{key:"inlineTokens",value:function(e){var t,n,r,i,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],a=arguments.length>2&&void 0!==arguments[2]&&arguments[2],l=arguments.length>3&&void 0!==arguments[3]&&arguments[3],s=e;if(this.tokens.links){var c=Object.keys(this.tokens.links);if(c.length>0)for(;null!=(n=this.tokenizer.rules.inline.reflinkSearch.exec(s));)c.includes(n[0].slice(n[0].lastIndexOf("[")+1,-1))&&(s=s.slice(0,n.index)+"["+Xa("a",n[0].length-2)+"]"+s.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;null!=(n=this.tokenizer.rules.inline.blockSkip.exec(s));)s=s.slice(0,n.index)+"["+Xa("a",n[0].length-2)+"]"+s.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;e;)if(r||(i=""),r=!1,t=this.tokenizer.escape(e))e=e.substring(t.raw.length),o.push(t);else if(t=this.tokenizer.tag(e,a,l))e=e.substring(t.raw.length),a=t.inLink,l=t.inRawBlock,o.push(t);else if(t=this.tokenizer.link(e))e=e.substring(t.raw.length),"link"===t.type&&(t.tokens=this.inlineTokens(t.text,[],!0,l)),o.push(t);else if(t=this.tokenizer.reflink(e,this.tokens.links))e=e.substring(t.raw.length),"link"===t.type&&(t.tokens=this.inlineTokens(t.text,[],!0,l)),o.push(t);else if(t=this.tokenizer.strong(e,s,i))e=e.substring(t.raw.length),t.tokens=this.inlineTokens(t.text,[],a,l),o.push(t);else if(t=this.tokenizer.em(e,s,i))e=e.substring(t.raw.length),t.tokens=this.inlineTokens(t.text,[],a,l),o.push(t);else if(t=this.tokenizer.codespan(e))e=e.substring(t.raw.length),o.push(t);else if(t=this.tokenizer.br(e))e=e.substring(t.raw.length),o.push(t);else if(t=this.tokenizer.del(e))e=e.substring(t.raw.length),t.tokens=this.inlineTokens(t.text,[],a,l),o.push(t);else if(t=this.tokenizer.autolink(e,Ja))e=e.substring(t.raw.length),o.push(t);else if(a||!(t=this.tokenizer.url(e,Ja))){if(t=this.tokenizer.inlineText(e,l,Ya))e=e.substring(t.raw.length),i=t.raw.slice(-1),r=!0,o.push(t);else if(e){var u="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(u);break}throw new Error(u)}}else e=e.substring(t.raw.length),o.push(t);return o}}],[{key:"lex",value:function(t,n){return new e(n).lex(t)}},{key:"lexInline",value:function(t,n){return new e(n).inlineTokens(t)}},{key:"rules",get:function(){return{block:Va,inline:Ka}}}]),e}(),el=oa.defaults,tl=Aa,nl=Sa,rl=function(){function e(t){uo(this,e),this.options=t||el}return po(e,[{key:"code",value:function(e,t,n){var r=(t||"").match(/\S*/)[0];if(this.options.highlight){var i=this.options.highlight(e,r);null!=i&&i!==e&&(n=!0,e=i)}return r?'<pre><code class="'+this.options.langPrefix+nl(r,!0)+'">'+(n?e:nl(e,!0))+"</code></pre>\n":"<pre><code>"+(n?e:nl(e,!0))+"</code></pre>\n"}},{key:"blockquote",value:function(e){return"<blockquote>\n"+e+"</blockquote>\n"}},{key:"html",value:function(e){return e}},{key:"heading",value:function(e,t,n,r){return this.options.headerIds?"<h"+t+' id="'+this.options.headerPrefix+r.slug(n)+'">'+e+"</h"+t+">\n":"<h"+t+">"+e+"</h"+t+">\n"}},{key:"hr",value:function(){return this.options.xhtml?"<hr/>\n":"<hr>\n"}},{key:"list",value:function(e,t,n){var r=t?"ol":"ul";return"<"+r+(t&&1!==n?' start="'+n+'"':"")+">\n"+e+"</"+r+">\n"}},{key:"listitem",value:function(e){return"<li>"+e+"</li>\n"}},{key:"checkbox",value:function(e){return"<input "+(e?'checked="" ':"")+'disabled="" type="checkbox"'+(this.options.xhtml?" /":"")+"> "}},{key:"paragraph",value:function(e){return"<p>"+e+"</p>\n"}},{key:"table",value:function(e,t){return t&&(t="<tbody>"+t+"</tbody>"),"<table>\n<thead>\n"+e+"</thead>\n"+t+"</table>\n"}},{key:"tablerow",value:function(e){return"<tr>\n"+e+"</tr>\n"}},{key:"tablecell",value:function(e,t){var n=t.header?"th":"td";return(t.align?"<"+n+' align="'+t.align+'">':"<"+n+">")+e+"</"+n+">\n"}},{key:"strong",value:function(e){return"<strong>"+e+"</strong>"}},{key:"em",value:function(e){return"<em>"+e+"</em>"}},{key:"codespan",value:function(e){return"<code>"+e+"</code>"}},{key:"br",value:function(){return this.options.xhtml?"<br/>":"<br>"}},{key:"del",value:function(e){return"<del>"+e+"</del>"}},{key:"link",value:function(e,t,n){if(null===(e=tl(this.options.sanitize,this.options.baseUrl,e)))return n;var r='<a href="'+nl(e)+'"';return t&&(r+=' title="'+t+'"'),r+=">"+n+"</a>"}},{key:"image",value:function(e,t,n){if(null===(e=tl(this.options.sanitize,this.options.baseUrl,e)))return n;var r='<img src="'+e+'" alt="'+n+'"';return t&&(r+=' title="'+t+'"'),r+=this.options.xhtml?"/>":">"}},{key:"text",value:function(e){return e}}]),e}(),il=function(){function e(){uo(this,e)}return po(e,[{key:"strong",value:function(e){return e}},{key:"em",value:function(e){return e}},{key:"codespan",value:function(e){return e}},{key:"del",value:function(e){return e}},{key:"html",value:function(e){return e}},{key:"text",value:function(e){return e}},{key:"link",value:function(e,t,n){return""+n}},{key:"image",value:function(e,t,n){return""+n}},{key:"br",value:function(){return""}}]),e}(),ol=function(){function e(){uo(this,e),this.seen={}}return po(e,[{key:"serialize",value:function(e){return e.toLowerCase().trim().replace(/<[!\/a-z].*?>/gi,"").replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g,"").replace(/\s/g,"-")}},{key:"getNextSafeSlug",value:function(e,t){var n=e,r=0;if(this.seen.hasOwnProperty(n)){r=this.seen[e];do{n=e+"-"+ ++r}while(this.seen.hasOwnProperty(n))}return t||(this.seen[e]=r,this.seen[n]=0),n}},{key:"slug",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=this.serialize(e);return this.getNextSafeSlug(n,t.dryrun)}}]),e}(),al=oa.defaults,ll=_a,sl=function(){function e(t){uo(this,e),this.options=t||al,this.options.renderer=this.options.renderer||new rl,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new il,this.slugger=new ol}return po(e,[{key:"parse",value:function(e){var t,n,r,i,o,a,l,s,c,u,f,p,h,g,d,v,y,k,m=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],b="",x=e.length;for(t=0;t<x;t++)switch((u=e[t]).type){case"space":continue;case"hr":b+=this.renderer.hr();continue;case"heading":b+=this.renderer.heading(this.parseInline(u.tokens),u.depth,ll(this.parseInline(u.tokens,this.textRenderer)),this.slugger);continue;case"code":b+=this.renderer.code(u.text,u.lang,u.escaped);continue;case"table":for(s="",l="",i=u.header.length,n=0;n<i;n++)l+=this.renderer.tablecell(this.parseInline(u.tokens.header[n]),{header:!0,align:u.align[n]});for(s+=this.renderer.tablerow(l),c="",i=u.cells.length,n=0;n<i;n++){for(l="",o=(a=u.tokens.cells[n]).length,r=0;r<o;r++)l+=this.renderer.tablecell(this.parseInline(a[r]),{header:!1,align:u.align[r]});c+=this.renderer.tablerow(l)}b+=this.renderer.table(s,c);continue;case"blockquote":c=this.parse(u.tokens),b+=this.renderer.blockquote(c);continue;case"list":for(f=u.ordered,p=u.start,h=u.loose,i=u.items.length,c="",n=0;n<i;n++)v=(d=u.items[n]).checked,y=d.task,g="",d.task&&(k=this.renderer.checkbox(v),h?d.tokens.length>0&&"text"===d.tokens[0].type?(d.tokens[0].text=k+" "+d.tokens[0].text,d.tokens[0].tokens&&d.tokens[0].tokens.length>0&&"text"===d.tokens[0].tokens[0].type&&(d.tokens[0].tokens[0].text=k+" "+d.tokens[0].tokens[0].text)):d.tokens.unshift({type:"text",text:k}):g+=k),g+=this.parse(d.tokens,h),c+=this.renderer.listitem(g,y,v);b+=this.renderer.list(c,f,p);continue;case"html":b+=this.renderer.html(u.text);continue;case"paragraph":b+=this.renderer.paragraph(this.parseInline(u.tokens));continue;case"text":for(c=u.tokens?this.parseInline(u.tokens):u.text;t+1<x&&"text"===e[t+1].type;)c+="\n"+((u=e[++t]).tokens?this.parseInline(u.tokens):u.text);b+=m?this.renderer.paragraph(c):c;continue;default:var w='Token with "'+u.type+'" type was not found.';if(this.options.silent)return void console.error(w);throw new Error(w)}return b}},{key:"parseInline",value:function(e,t){t=t||this.renderer;var n,r,i="",o=e.length;for(n=0;n<o;n++)switch((r=e[n]).type){case"escape":i+=t.text(r.text);break;case"html":i+=t.html(r.text);break;case"link":i+=t.link(r.href,r.title,this.parseInline(r.tokens,t));break;case"image":i+=t.image(r.href,r.title,r.text);break;case"strong":i+=t.strong(this.parseInline(r.tokens,t));break;case"em":i+=t.em(this.parseInline(r.tokens,t));break;case"codespan":i+=t.codespan(r.text);break;case"br":i+=t.br();break;case"del":i+=t.del(this.parseInline(r.tokens,t));break;case"text":i+=t.text(r.text);break;default:var a='Token with "'+r.type+'" type was not found.';if(this.options.silent)return void console.error(a);throw new Error(a)}return i}}],[{key:"parse",value:function(t,n){return new e(n).parse(t)}},{key:"parseInline",value:function(t,n){return new e(n).parseInline(t)}}]),e}(),cl=Ta,ul=za,fl=Sa,pl=oa.getDefaults,hl=oa.changeDefaults,gl=oa.defaults;function dl(e,t,n){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("function"==typeof t&&(n=t,t=null),t=cl({},dl.defaults,t||{}),ul(t),n){var r,i=t.highlight;try{r=Qa.lex(e,t)}catch(e){return n(e)}var o=function(e){var o;if(!e)try{o=sl.parse(r,t)}catch(t){e=t}return t.highlight=i,e?n(e):n(null,o)};if(!i||i.length<3)return o();if(delete t.highlight,!r.length)return o();var a=0;return dl.walkTokens(r,(function(e){"code"===e.type&&(a++,setTimeout((function(){i(e.text,e.lang,(function(t,n){if(t)return o(t);null!=n&&n!==e.text&&(e.text=n,e.escaped=!0),0===--a&&o()}))}),0))})),void(0===a&&o())}try{var l=Qa.lex(e,t);return t.walkTokens&&dl.walkTokens(l,t.walkTokens),sl.parse(l,t)}catch(e){if(e.message+="\nPlease report this to https://github.com/markedjs/marked.",t.silent)return"<p>An error occurred:</p><pre>"+fl(e.message+"",!0)+"</pre>";throw e}}dl.options=dl.setOptions=function(e){return cl(dl.defaults,e),hl(dl.defaults),dl},dl.getDefaults=pl,dl.defaults=gl,dl.use=function(e){var t=cl({},e);if(e.renderer&&function(){var n=dl.defaults.renderer||new rl,r=function(t){var r=n[t];n[t]=function(){for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];var l=e.renderer[t].apply(n,o);return!1===l&&(l=r.apply(n,o)),l}};for(var i in e.renderer)r(i);t.renderer=n}(),e.tokenizer&&function(){var n=dl.defaults.tokenizer||new Ua,r=function(t){var r=n[t];n[t]=function(){for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];var l=e.tokenizer[t].apply(n,o);return!1===l&&(l=r.apply(n,o)),l}};for(var i in e.tokenizer)r(i);t.tokenizer=n}(),e.walkTokens){var n=dl.defaults.walkTokens;t.walkTokens=function(t){e.walkTokens(t),n&&n(t)}}dl.setOptions(t)},dl.walkTokens=function(e,t){var n,r=mo(e);try{for(r.s();!(n=r.n()).done;){var i=n.value;switch(t(i),i.type){case"table":var o,a=mo(i.tokens.header);try{for(a.s();!(o=a.n()).done;){var l=o.value;dl.walkTokens(l,t)}}catch(e){a.e(e)}finally{a.f()}var s,c=mo(i.tokens.cells);try{for(c.s();!(s=c.n()).done;){var u,f=mo(s.value);try{for(f.s();!(u=f.n()).done;){var p=u.value;dl.walkTokens(p,t)}}catch(e){f.e(e)}finally{f.f()}}}catch(e){c.e(e)}finally{c.f()}break;case"list":dl.walkTokens(i.items,t);break;default:i.tokens&&dl.walkTokens(i.tokens,t)}}}catch(e){r.e(e)}finally{r.f()}},dl.parseInline=function(e,t){if(null==e)throw new Error("marked.parseInline(): input parameter is undefined or null");if("string"!=typeof e)throw new Error("marked.parseInline(): input parameter is of type "+Object.prototype.toString.call(e)+", string expected");t=cl({},dl.defaults,t||{}),ul(t);try{var n=Qa.lexInline(e,t);return t.walkTokens&&dl.walkTokens(n,t.walkTokens),sl.parseInline(n,t)}catch(e){if(e.message+="\nPlease report this to https://github.com/markedjs/marked.",t.silent)return"<p>An error occurred:</p><pre>"+fl(e.message+"",!0)+"</pre>";throw e}},dl.Parser=sl,dl.parser=sl.parse,dl.Renderer=rl,dl.TextRenderer=il,dl.Lexer=Qa,dl.lexer=Qa.lex,dl.Tokenizer=Ua,dl.Slugger=ol,dl.parse=dl;var vl=dl,yl=/\[([\s\d,|-]*)\]/,kl={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"};export default function(){var e;function t(e){var t=(e.querySelector("[data-template]")||e.querySelector("script")||e).textContent,n=(t=t.replace(new RegExp("__SCRIPT_END__","g"),"<\/script>")).match(/^\n?(\s*)/)[1].length,r=t.match(/^\n?(\t*)/)[1].length;return r>0?t=t.replace(new RegExp("\\n?\\t{"+r+"}","g"),"\n"):n>1&&(t=t.replace(new RegExp("\\n? {"+n+"}","g"),"\n")),t}function n(e){for(var t=e.attributes,n=[],r=0,i=t.length;r<i;r++){var o=t[r].name,a=t[r].value;/data\-(markdown|separator|vertical|notes)/gi.test(o)||(a?n.push(o+'="'+a+'"'):n.push(o))}return n.join(" ")}function r(e){return(e=e||{}).separator=e.separator||"\r?\n---\r?\n",e.notesSeparator=e.notesSeparator||"notes?:",e.attributes=e.attributes||"",e}function i(e,t){t=r(t);var n=e.split(new RegExp(t.notesSeparator,"mgi"));return 2===n.length&&(e=n[0]+'<aside class="notes">'+vl(n[1].trim())+"</aside>"),'<script type="text/template">'+(e=e.replace(/<\/script>/g,"__SCRIPT_END__"))+"<\/script>"}function o(e,t){t=r(t);for(var n,o,a,l=new RegExp(t.separator+(t.verticalSeparator?"|"+t.verticalSeparator:""),"mg"),s=new RegExp(t.separator),c=0,u=!0,f=[];n=l.exec(e);)!(o=s.test(n[0]))&&u&&f.push([]),a=e.substring(c,n.index),o&&u?f.push(a):f[f.length-1].push(a),c=l.lastIndex,u=o;(u?f:f[f.length-1]).push(e.substring(c));for(var p="",h=0,g=f.length;h<g;h++)f[h]instanceof Array?(p+="<section "+t.attributes+">",f[h].forEach((function(e){p+="<section data-markdown>"+i(e,t)+"</section>"})),p+="</section>"):p+="<section "+t.attributes+" data-markdown>"+i(f[h],t)+"</section>";return p}function a(e){return new Promise((function(r){var i=[];[].slice.call(e.querySelectorAll("[data-markdown]:not([data-markdown-parsed])")).forEach((function(e,r){e.getAttribute("data-markdown").length?i.push(function(e){return new Promise((function(t,n){var r=new XMLHttpRequest,i=e.getAttribute("data-markdown"),o=e.getAttribute("data-charset");null!=o&&""!=o&&r.overrideMimeType("text/html; charset="+o),r.onreadystatechange=function(e,r){4===r.readyState&&(r.status>=200&&r.status<300||0===r.status?t(r,i):n(r,i))}.bind(this,e,r),r.open("GET",i,!0);try{r.send()}catch(e){console.warn("Failed to get the Markdown file "+i+". Make sure that the presentation and the file are served by a HTTP server and the file can be found there. "+e),t(r,i)}}))}(e).then((function(t,r){e.outerHTML=o(t.responseText,{separator:e.getAttribute("data-separator"),verticalSeparator:e.getAttribute("data-separator-vertical"),notesSeparator:e.getAttribute("data-separator-notes"),attributes:n(e)})}),(function(t,n){e.outerHTML='<section data-state="alert">ERROR: The attempt to fetch '+n+" failed with HTTP status "+t.status+".Check your browser's JavaScript console for more details.<p>Remember that you need to serve the presentation HTML from a HTTP server.</p></section>"}))):e.outerHTML=o(t(e),{separator:e.getAttribute("data-separator"),verticalSeparator:e.getAttribute("data-separator-vertical"),notesSeparator:e.getAttribute("data-separator-notes"),attributes:n(e)})})),Promise.all(i).then(r)}))}function l(e,t,n){var r,i,o=new RegExp(n,"mg"),a=new RegExp('([^"= ]+?)="([^"]+?)"|(data-[^"= ]+?)(?=[" ])',"mg"),l=e.nodeValue;if(r=o.exec(l)){var s=r[1];for(l=l.substring(0,r.index)+l.substring(o.lastIndex),e.nodeValue=l;i=a.exec(s);)i[2]?t.setAttribute(i[1],i[2]):t.setAttribute(i[3],"");return!0}return!1}function s(e,t,n,r,i){if(null!=t&&null!=t.childNodes&&t.childNodes.length>0)for(var o=t,a=0;a<t.childNodes.length;a++){var c=t.childNodes[a];if(a>0)for(var u=a-1;u>=0;){var f=t.childNodes[u];if("function"==typeof f.setAttribute&&"BR"!=f.tagName){o=f;break}u-=1}var p=e;"section"==c.nodeName&&(p=c,o=c),"function"!=typeof c.setAttribute&&c.nodeType!=Node.COMMENT_NODE||s(p,c,o,r,i)}t.nodeType==Node.COMMENT_NODE&&0==l(t,n,r)&&l(t,e,i)}function c(){var n=e.getRevealElement().querySelectorAll("[data-markdown]:not([data-markdown-parsed])");return[].slice.call(n).forEach((function(e){e.setAttribute("data-markdown-parsed",!0);var n=e.querySelector("aside.notes"),r=t(e);e.innerHTML=vl(r),s(e,e,null,e.getAttribute("data-element-attributes")||e.parentNode.getAttribute("data-element-attributes")||"\\.element\\s*?(.+?)$",e.getAttribute("data-attributes")||e.parentNode.getAttribute("data-attributes")||"\\.slide:\\s*?(\\S.+?)$"),n&&e.appendChild(n)})),Promise.resolve()}return{id:"markdown",init:function(t){e=t;var n=new vl.Renderer;return n.code=function(e,t){var n="";return yl.test(t)&&(n=t.match(yl)[1].trim(),n='data-line-numbers="'.concat(n,'"'),t=t.replace(yl,"").trim()),e=e.replace(/([&<>'"])/g,(function(e){return kl[e]})),"<pre><code ".concat(n,' class="').concat(t,'">').concat(e,"</code></pre>")},vl.setOptions(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?go(Object(n),!0).forEach((function(t){ho(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):go(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({renderer:n},e.getConfig().markdown)),a(e.getRevealElement()).then(c)},processSlides:a,convertSlides:c,slidify:o,marked:vl}}