0;){const x=e[o],E=Array.isArray(x),P=E?x[1]:x,F=null===P;let V=n[o+1];V===Hn&&(V=F?ur:void 0);let $=F?fc(V,r):P===r?V:void 0;if(E&&!ux($)&&($=fc(x,r)),ux($)&&(y=$,p))return y;const ce=e[o+1];o=p?cf(ce):Yp(ce)}if(null!==t){let x=c?t.residualClasses:t.residualStyles;null!=x&&(y=fc(x,r))}return y}function ux(e){return void 0!==e}let VD=(e,t)=>null;function Vg(e,t){return VD(e,t)}class HN{destroy(t){}updateValue(t,n){}swap(t,n){const r=Math.min(t,n),o=Math.max(t,n),c=this.detach(o);if(o-r>1){const p=this.detach(r);this.attach(r,c),this.attach(o,p)}else this.attach(r,c)}move(t,n){this.attach(n,this.detach(t))}}function WC(e,t,n,r,o){return e===n&&Object.is(t,r)?1:Object.is(o(e,t),o(n,r))?-1:0}function ZC(e,t,n,r){return!(void 0===t||!t.has(r)||(e.attach(n,t.get(r)),t.delete(r),0))}function UD(e,t,n,r,o){if(ZC(e,t,r,n(r,o)))e.updateValue(r,o);else{const c=e.create(r,o);e.attach(r,c)}}function jD(e,t,n,r){const o=new Set;for(let c=t;c<=n;c++)o.add(r(c,e.at(c)));return o}class $D{constructor(){this.map=new Map}has(t){const n=this.map.get(t);return void 0!==n&&n.length>0}delete(t){const n=this.map.get(t);return void 0!==n&&(n.shift(),!0)}get(t){const n=this.map.get(t);return void 0!==n&&n.length>0?n[0]:void 0}set(t,n){this.map.has(t)?this.map.get(t)?.push(n):this.map.set(t,[n])}forEach(t){for(const[n,r]of this.map)for(const o of r)t(o,n)}}function D0(e,t,n,r){const o=t.tView,y=af(e,o,n,4096&e[Mn]?4096:16,null,t,null,null,null,r?.injector??null,r?.dehydratedView??null);y[cc]=e[t.index];const E=e[Uo];return null!==E&&(y[Uo]=E.createEmbeddedView(o)),FC(o,y,n),y}function HD(e,t){const n=B+t;if(n ${t} An error occurred: An error occurred: {F||(F=!0,E--),y[P]=V},()=>x--,void 0,()=>{(!x||!F)&&(E||c.next(r?ZA(r,y):y),c.complete())}))}});return t?o.pipe(bE(t)):o}class Mk{constructor(t,n,r){this.endpoint=t,this.token=n,this.database=r,this.tables=new w_(1)}fetchTables(t){return t.get(`${this.endpoint}/api/database/tables/database/${this.database}/`,{headers:{Authorization:`Token ${this.token}`}}).pipe(yn(n=>n.map(r=>new x$(this.endpoint,this.token,r.id,r.name))),Vi(n=>Mw(n.map(r=>r.fetchRows(t))).pipe(yn(()=>n))),$r(n=>{this.tables.next(n)}))}getTable(t){return this.tables.pipe(as(),yn(n=>n.find(r=>r.name===t)))}}var Ic=ze(304);class Ew{}class Tw{}class ql{constructor(t){this.normalizedNames=new Map,this.lazyUpdate=null,t?"string"==typeof t?this.lazyInit=()=>{this.headers=new Map,t.split("\n").forEach(n=>{const r=n.indexOf(":");if(r>0){const o=n.slice(0,r),c=o.toLowerCase(),p=n.slice(r+1).trim();this.maybeSetNormalizedName(o,c),this.headers.has(c)?this.headers.get(c).push(p):this.headers.set(c,[p])}})}:typeof Headers<"u"&&t instanceof Headers?(this.headers=new Map,t.forEach((n,r)=>{this.setHeaderEntries(r,n)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(t).forEach(([n,r])=>{this.setHeaderEntries(n,r)})}:this.headers=new Map}has(t){return this.init(),this.headers.has(t.toLowerCase())}get(t){this.init();const n=this.headers.get(t.toLowerCase());return n&&n.length>0?n[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(t){return this.init(),this.headers.get(t.toLowerCase())||null}append(t,n){return this.clone({name:t,value:n,op:"a"})}set(t,n){return this.clone({name:t,value:n,op:"s"})}delete(t,n){return this.clone({name:t,value:n,op:"d"})}maybeSetNormalizedName(t,n){this.normalizedNames.has(n)||this.normalizedNames.set(n,t)}init(){this.lazyInit&&(this.lazyInit instanceof ql?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(t=>this.applyUpdate(t)),this.lazyUpdate=null))}copyFrom(t){t.init(),Array.from(t.headers.keys()).forEach(n=>{this.headers.set(n,t.headers.get(n)),this.normalizedNames.set(n,t.normalizedNames.get(n))})}clone(t){const n=new ql;return n.lazyInit=this.lazyInit&&this.lazyInit instanceof ql?this.lazyInit:this,n.lazyUpdate=(this.lazyUpdate||[]).concat([t]),n}applyUpdate(t){const n=t.name.toLowerCase();switch(t.op){case"a":case"s":let r=t.value;if("string"==typeof r&&(r=[r]),0===r.length)return;this.maybeSetNormalizedName(t.name,n);const o=("a"===t.op?this.headers.get(n):void 0)||[];o.push(...r),this.headers.set(n,o);break;case"d":const c=t.value;if(c){let p=this.headers.get(n);if(!p)return;p=p.filter(y=>-1===c.indexOf(y)),0===p.length?(this.headers.delete(n),this.normalizedNames.delete(n)):this.headers.set(n,p)}else this.headers.delete(n),this.normalizedNames.delete(n)}}setHeaderEntries(t,n){const r=(Array.isArray(n)?n:[n]).map(c=>c.toString()),o=t.toLowerCase();this.headers.set(o,r),this.maybeSetNormalizedName(t,o)}forEach(t){this.init(),Array.from(this.normalizedNames.keys()).forEach(n=>t(this.normalizedNames.get(n),this.headers.get(n)))}}class w${encodeKey(t){return Dk(t)}encodeValue(t){return Dk(t)}decodeKey(t){return decodeURIComponent(t)}decodeValue(t){return decodeURIComponent(t)}}const C$=/%(\d[a-f0-9])/gi,M$={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function Dk(e){return encodeURIComponent(e).replace(C$,(t,n)=>M$[n]??t)}function Dw(e){return`${e}`}class _f{constructor(t={}){if(this.updates=null,this.cloneFrom=null,this.encoder=t.encoder||new w$,t.fromString){if(t.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function b$(e,t){const n=new Map;return e.length>0&&e.replace(/^\?/,"").split("&").forEach(o=>{const c=o.indexOf("="),[p,y]=-1==c?[t.decodeKey(o),""]:[t.decodeKey(o.slice(0,c)),t.decodeValue(o.slice(c+1))],x=n.get(p)||[];x.push(y),n.set(p,x)}),n}(t.fromString,this.encoder)}else t.fromObject?(this.map=new Map,Object.keys(t.fromObject).forEach(n=>{const r=t.fromObject[n],o=Array.isArray(r)?r.map(Dw):[Dw(r)];this.map.set(n,o)})):this.map=null}has(t){return this.init(),this.map.has(t)}get(t){this.init();const n=this.map.get(t);return n?n[0]:null}getAll(t){return this.init(),this.map.get(t)||null}keys(){return this.init(),Array.from(this.map.keys())}append(t,n){return this.clone({param:t,value:n,op:"a"})}appendAll(t){const n=[];return Object.keys(t).forEach(r=>{const o=t[r];Array.isArray(o)?o.forEach(c=>{n.push({param:r,value:c,op:"a"})}):n.push({param:r,value:o,op:"a"})}),this.clone(n)}set(t,n){return this.clone({param:t,value:n,op:"s"})}delete(t,n){return this.clone({param:t,value:n,op:"d"})}toString(){return this.init(),this.keys().map(t=>{const n=this.encoder.encodeKey(t);return this.map.get(t).map(r=>n+"="+this.encoder.encodeValue(r)).join("&")}).filter(t=>""!==t).join("&")}clone(t){const n=new _f({encoder:this.encoder});return n.cloneFrom=this.cloneFrom||this,n.updates=(this.updates||[]).concat(t),n}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(t=>this.map.set(t,this.cloneFrom.map.get(t))),this.updates.forEach(t=>{switch(t.op){case"a":case"s":const n=("a"===t.op?this.map.get(t.param):void 0)||[];n.push(Dw(t.value)),this.map.set(t.param,n);break;case"d":if(void 0===t.value){this.map.delete(t.param);break}{let r=this.map.get(t.param)||[];const o=r.indexOf(Dw(t.value));-1!==o&&r.splice(o,1),r.length>0?this.map.set(t.param,r):this.map.delete(t.param)}}}),this.cloneFrom=this.updates=null)}}class E${constructor(){this.map=new Map}set(t,n){return this.map.set(t,n),this}get(t){return this.map.has(t)||this.map.set(t,t.defaultValue()),this.map.get(t)}delete(t){return this.map.delete(t),this}has(t){return this.map.has(t)}keys(){return this.map.keys()}}function Ik(e){return typeof ArrayBuffer<"u"&&e instanceof ArrayBuffer}function Sk(e){return typeof Blob<"u"&&e instanceof Blob}function Pk(e){return typeof FormData<"u"&&e instanceof FormData}class dv{constructor(t,n,r,o){let c;if(this.url=n,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=t.toUpperCase(),function T$(e){switch(e){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||o?(this.body=void 0!==r?r:null,c=o):c=r,c&&(this.reportProgress=!!c.reportProgress,this.withCredentials=!!c.withCredentials,c.responseType&&(this.responseType=c.responseType),c.headers&&(this.headers=c.headers),c.context&&(this.context=c.context),c.params&&(this.params=c.params),this.transferCache=c.transferCache),this.headers||(this.headers=new ql),this.context||(this.context=new E$),this.params){const p=this.params.toString();if(0===p.length)this.urlWithParams=n;else{const y=n.indexOf("?");this.urlWithParams=n+(-1===y?"?":y 0)for(var o,c,n=new Array(o),r=0;r >>1;n(y[F],x)<0?E=F+1:P=F}while(E Qw(e(y),x),r=(y,x)=>e(y)-x):(t=e===Qw||e===Rq?e:Lq,n=e,r=e),{left:o,center:function p(y,x,E=0,P=y.length){const F=o(y,x,E,P-1);return F>E&&r(y[F-1],x)>-r(y[F],x)?F-1:F},right:function c(y,x,E=0,P=y.length){if(E >>1;n(y[F],x)<=0?E=F+1:P=F}while(E =DT?o*=10:c>=IT?o*=5:c>=ST&&(o*=2),t [t.toLowerCase(),n]))}function tW(e,t,n){var r=us.exec(t.slice(n,n+1));return r?(e.w=+r[0],n+r[0].length):-1}function nW(e,t,n){var r=us.exec(t.slice(n,n+1));return r?(e.u=+r[0],n+r[0].length):-1}function rW(e,t,n){var r=us.exec(t.slice(n,n+2));return r?(e.U=+r[0],n+r[0].length):-1}function iW(e,t,n){var r=us.exec(t.slice(n,n+2));return r?(e.V=+r[0],n+r[0].length):-1}function oW(e,t,n){var r=us.exec(t.slice(n,n+2));return r?(e.W=+r[0],n+r[0].length):-1}function iL(e,t,n){var r=us.exec(t.slice(n,n+4));return r?(e.y=+r[0],n+r[0].length):-1}function oL(e,t,n){var r=us.exec(t.slice(n,n+2));return r?(e.y=+r[0]+(+r[0]>68?1900:2e3),n+r[0].length):-1}function sW(e,t,n){var r=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(t.slice(n,n+6));return r?(e.Z=r[1]?0:-(r[2]+(r[3]||"00")),n+r[0].length):-1}function aW(e,t,n){var r=us.exec(t.slice(n,n+1));return r?(e.q=3*r[0]-3,n+r[0].length):-1}function lW(e,t,n){var r=us.exec(t.slice(n,n+2));return r?(e.m=r[0]-1,n+r[0].length):-1}function sL(e,t,n){var r=us.exec(t.slice(n,n+2));return r?(e.d=+r[0],n+r[0].length):-1}function cW(e,t,n){var r=us.exec(t.slice(n,n+3));return r?(e.m=0,e.d=+r[0],n+r[0].length):-1}function aL(e,t,n){var r=us.exec(t.slice(n,n+2));return r?(e.H=+r[0],n+r[0].length):-1}function uW(e,t,n){var r=us.exec(t.slice(n,n+2));return r?(e.M=+r[0],n+r[0].length):-1}function hW(e,t,n){var r=us.exec(t.slice(n,n+2));return r?(e.S=+r[0],n+r[0].length):-1}function dW(e,t,n){var r=us.exec(t.slice(n,n+3));return r?(e.L=+r[0],n+r[0].length):-1}function fW(e,t,n){var r=us.exec(t.slice(n,n+6));return r?(e.L=Math.floor(r[0]/1e3),n+r[0].length):-1}function pW(e,t,n){var r=Jq.exec(t.slice(n,n+1));return r?n+r[0].length:-1}function mW(e,t,n){var r=us.exec(t.slice(n));return r?(e.Q=+r[0],n+r[0].length):-1}function gW(e,t,n){var r=us.exec(t.slice(n));return r?(e.s=+r[0],n+r[0].length):-1}function lL(e,t){return Zr(e.getDate(),t,2)}function _W(e,t){return Zr(e.getHours(),t,2)}function yW(e,t){return Zr(e.getHours()%12||12,t,2)}function vW(e,t){return Zr(1+tb.count(mm(e),e),t,3)}function cL(e,t){return Zr(e.getMilliseconds(),t,3)}function xW(e,t){return cL(e,t)+"000"}function wW(e,t){return Zr(e.getMonth()+1,t,2)}function bW(e,t){return Zr(e.getMinutes(),t,2)}function CW(e,t){return Zr(e.getSeconds(),t,2)}function MW(e){var t=e.getDay();return 0===t?7:t}function EW(e,t){return Zr(nb.count(mm(e)-1,e),t,2)}function uL(e){var t=e.getDay();return t>=4||0===t?T_(e):T_.ceil(e)}function TW(e,t){return e=uL(e),Zr(T_.count(mm(e),e)+(4===mm(e).getDay()),t,2)}function DW(e){return e.getDay()}function IW(e,t){return Zr(rb.count(mm(e)-1,e),t,2)}function SW(e,t){return Zr(e.getFullYear()%100,t,2)}function PW(e,t){return Zr((e=uL(e)).getFullYear()%100,t,2)}function AW(e,t){return Zr(e.getFullYear()%1e4,t,4)}function OW(e,t){var n=e.getDay();return Zr((e=n>=4||0===n?T_(e):T_.ceil(e)).getFullYear()%1e4,t,4)}function kW(e){var t=e.getTimezoneOffset();return(t>0?"-":(t*=-1,"+"))+Zr(t/60|0,"0",2)+Zr(t%60,"0",2)}function hL(e,t){return Zr(e.getUTCDate(),t,2)}function RW(e,t){return Zr(e.getUTCHours(),t,2)}function LW(e,t){return Zr(e.getUTCHours()%12||12,t,2)}function FW(e,t){return Zr(1+LT.count(I_(e),e),t,3)}function dL(e,t){return Zr(e.getUTCMilliseconds(),t,3)}function NW(e,t){return dL(e,t)+"000"}function zW(e,t){return Zr(e.getUTCMonth()+1,t,2)}function BW(e,t){return Zr(e.getUTCMinutes(),t,2)}function VW(e,t){return Zr(e.getUTCSeconds(),t,2)}function UW(e){var t=e.getUTCDay();return 0===t?7:t}function jW(e,t){return Zr(FT.count(I_(e)-1,e),t,2)}function fL(e){var t=e.getUTCDay();return t>=4||0===t?D_(e):D_.ceil(e)}function $W(e,t){return e=fL(e),Zr(D_.count(I_(e),e)+(4===I_(e).getUTCDay()),t,2)}function HW(e){return e.getUTCDay()}function GW(e,t){return Zr(ib.count(I_(e)-1,e),t,2)}function qW(e,t){return Zr(e.getUTCFullYear()%100,t,2)}function WW(e,t){return Zr((e=fL(e)).getUTCFullYear()%100,t,2)}function ZW(e,t){return Zr(e.getUTCFullYear()%1e4,t,4)}function XW(e,t){var n=e.getUTCDay();return Zr((e=n>=4||0===n?D_(e):D_.ceil(e)).getUTCFullYear()%1e4,t,4)}function YW(){return"+0000"}function pL(){return"%"}function mL(e){return+e}function gL(e){return Math.floor(+e/1e3)}!function eZ(e){S_=function Kq(e){var t=e.dateTime,n=e.date,r=e.time,o=e.periods,c=e.days,p=e.shortDays,y=e.months,x=e.shortMonths,E=Tv(o),P=Dv(o),F=Tv(c),V=Dv(c),$=Tv(p),ce=Dv(p),_e=Tv(y),Pe=Dv(y),De=Tv(x),Ne=Dv(x),wt={a:function An(gn){return p[gn.getDay()]},A:function ar(gn){return c[gn.getDay()]},b:function yr(gn){return x[gn.getMonth()]},B:function Cr(gn){return y[gn.getMonth()]},c:null,d:lL,e:lL,f:xW,g:PW,G:OW,H:_W,I:yW,j:vW,L:cL,m:wW,M:bW,p:function Mi(gn){return o[+(gn.getHours()>=12)]},q:function ro(gn){return 1+~~(gn.getMonth()/3)},Q:mL,s:gL,S:CW,u:MW,U:EW,V:TW,w:DW,W:IW,x:null,X:null,y:SW,Y:AW,Z:kW,"%":pL},Wt={a:function Xl(gn){return p[gn.getUTCDay()]},A:function Xo(gn){return c[gn.getUTCDay()]},b:function al(gn){return x[gn.getUTCMonth()]},B:function kc(gn){return y[gn.getUTCMonth()]},c:null,d:hL,e:hL,f:NW,g:WW,G:XW,H:RW,I:LW,j:FW,L:dL,m:zW,M:BW,p:function ll(gn){return o[+(gn.getUTCHours()>=12)]},q:function Rc(gn){return 1+~~(gn.getUTCMonth()/3)},Q:mL,s:gL,S:VW,u:UW,U:jW,V:$W,w:HW,W:GW,x:null,X:null,y:qW,Y:ZW,Z:YW,"%":pL},nn={a:function Pa(gn,Dr,Xr){var $t=$.exec(Dr.slice(Xr));return $t?(gn.w=ce.get($t[0].toLowerCase()),Xr+$t[0].length):-1},A:function od(gn,Dr,Xr){var $t=F.exec(Dr.slice(Xr));return $t?(gn.w=V.get($t[0].toLowerCase()),Xr+$t[0].length):-1},b:function Zl(gn,Dr,Xr){var $t=De.exec(Dr.slice(Xr));return $t?(gn.m=Ne.get($t[0].toLowerCase()),Xr+$t[0].length):-1},B:function Cf(gn,Dr,Xr){var $t=_e.exec(Dr.slice(Xr));return $t?(gn.m=Pe.get($t[0].toLowerCase()),Xr+$t[0].length):-1},c:function at(gn,Dr,Xr){return Fi(gn,t,Dr,Xr)},d:sL,e:sL,f:fW,g:oL,G:iL,H:aL,I:aL,j:cW,L:dW,m:lW,M:uW,p:function ha(gn,Dr,Xr){var $t=E.exec(Dr.slice(Xr));return $t?(gn.p=P.get($t[0].toLowerCase()),Xr+$t[0].length):-1},q:aW,Q:mW,s:gW,S:hW,u:nW,U:rW,V:iW,w:tW,W:oW,x:function Tn(gn,Dr,Xr){return Fi(gn,n,Dr,Xr)},X:function jt(gn,Dr,Xr){return Fi(gn,r,Dr,Xr)},y:oL,Y:iL,Z:sW,"%":pW};function Ot(gn,Dr){return function(Xr){var ul,vm,k3,$t=[],Aa=-1,Ni=0,cl=gn.length;for(Xr instanceof Date||(Xr=new Date(+Xr));++Aa
\n":"'+(r?t:ls(t,!0))+"
\n"}blockquote(t){return`"+(r?t:ls(t,!0))+"
\n${t}
\n`}html(t){return t}heading(t,n,r,o){return this.options.headerIds?`
\n":"
\n"}list(t,n,r){const o=n?"ol":"ul";return"<"+o+(n&&1!==r?' start="'+r+'"':"")+">\n"+t+""+o+">\n"}listitem(t){return`\n\n"+t+"\n"+n+"
\n"}tablerow(t){return`\n${t} \n`}tablecell(t,n){const r=n.header?"th":"td";return(n.align?`<${r} align="${n.align}">`:`<${r}>`)+t+`${r}>\n`}strong(t){return`${t}`}em(t){return`${t}`}codespan(t){return`${t}
`}br(){return this.options.xhtml?"
":"
"}del(t){return`${t}`}link(t,n,r){if(null===(t=nk(this.options.sanitize,this.options.baseUrl,t)))return r;let o='"+r+"",o}image(t,n,r){if(null===(t=nk(this.options.sanitize,this.options.baseUrl,t)))return r;let o=`":">",o}text(t){return t}}class lk{strong(t){return t}em(t){return t}codespan(t){return t}del(t){return t}html(t){return t}text(t){return t}link(t,n,r){return""+r}image(t,n,r){return""+r}br(){return""}}class ck{constructor(){this.seen={}}serialize(t){return t.toLowerCase().trim().replace(/<[!\/a-z].*?>/gi,"").replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&()*+,./:;<=>?@[\]^`{|}~]/g,"").replace(/\s/g,"-")}getNextSafeSlug(t,n){let r=t,o=0;if(this.seen.hasOwnProperty(r)){o=this.seen[t];do{o++,r=t+"-"+o}while(this.seen.hasOwnProperty(r))}return n||(this.seen[t]=o,this.seen[r]=0),r}slug(t,n={}){const r=this.serialize(t);return this.getNextSafeSlug(r,n.dryrun)}}class Jh{constructor(t){this.options=t||y_,this.options.renderer=this.options.renderer||new eT,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new lk,this.slugger=new ck}static parse(t,n){return new Jh(n).parse(t)}static parseInline(t,n){return new Jh(n).parseInline(t)}parse(t,n=!0){let o,c,p,y,x,E,P,F,V,$,ce,_e,Pe,De,Ne,wt,Wt,nn,Ot,r="";const Gn=t.length;for(o=0;o"+ls(r.message+"",!0)+"
";throw r}}En.options=En.setOptions=function(e){return Dc(En.defaults,e),function Aj(e){y_=e}(En.defaults),En},En.getDefaults=function QO(){return{baseUrl:null,breaks:!1,extensions:null,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}},En.defaults=y_,En.use=function(...e){const t=Dc({},...e),n=En.defaults.extensions||{renderers:{},childTokens:{}};let r;e.forEach(o=>{if(o.extensions&&(r=!0,o.extensions.forEach(c=>{if(!c.name)throw new Error("extension name required");if(c.renderer){const p=n.renderers?n.renderers[c.name]:null;n.renderers[c.name]=p?function(...y){let x=c.renderer.apply(this,y);return!1===x&&(x=p.apply(this,y)),x}:c.renderer}if(c.tokenizer){if(!c.level||"block"!==c.level&&"inline"!==c.level)throw new Error("extension level must be 'block' or 'inline'");n[c.level]?n[c.level].unshift(c.tokenizer):n[c.level]=[c.tokenizer],c.start&&("block"===c.level?n.startBlock?n.startBlock.push(c.start):n.startBlock=[c.start]:"inline"===c.level&&(n.startInline?n.startInline.push(c.start):n.startInline=[c.start]))}c.childTokens&&(n.childTokens[c.name]=c.childTokens)})),o.renderer){const c=En.defaults.renderer||new eT;for(const p in o.renderer){const y=c[p];c[p]=(...x)=>{let E=o.renderer[p].apply(c,x);return!1===E&&(E=y.apply(c,x)),E}}t.renderer=c}if(o.tokenizer){const c=En.defaults.tokenizer||new QE;for(const p in o.tokenizer){const y=c[p];c[p]=(...x)=>{let E=o.tokenizer[p].apply(c,x);return!1===E&&(E=y.apply(c,x)),E}}t.tokenizer=c}if(o.walkTokens){const c=En.defaults.walkTokens;t.walkTokens=function(p){o.walkTokens.call(this,p),c&&c.call(this,p)}}r&&(t.extensions=n),En.setOptions(t)})},En.walkTokens=function(e,t){for(const n of e)switch(t.call(En,n),n.type){case"table":for(const r of n.header)En.walkTokens(r.tokens,t);for(const r of n.rows)for(const o of r)En.walkTokens(o.tokens,t);break;case"list":En.walkTokens(n.items,t);break;default:En.defaults.extensions&&En.defaults.extensions.childTokens&&En.defaults.extensions.childTokens[n.type]?En.defaults.extensions.childTokens[n.type].forEach(function(r){En.walkTokens(n[r],t)}):n.tokens&&En.walkTokens(n.tokens,t)}},En.parseInline=function(e,t){if(typeof e>"u"||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");ik(t=Dc({},En.defaults,t||{}));try{const n=Kh.lexInline(e,t);return t.walkTokens&&En.walkTokens(n,t.walkTokens),Jh.parseInline(n,t)}catch(n){if(n.message+="\nPlease report this to https://github.com/markedjs/marked.",t.silent)return""+ls(n.message+"",!0)+"
";throw n}},En.Parser=Jh,En.parser=Jh.parse,En.Renderer=eT,En.TextRenderer=lk,En.Lexer=Kh,En.lexer=Kh.lex,En.Tokenizer=QE,En.Slugger=ck,En.parse=En;const Zj=Kc,Yj=Symbol("__destroy"),uk=Symbol("__decoratorApplied");function hk(e){return"string"==typeof e?Symbol(`__destroy__${e}`):Yj}function dk(e,t){e[t]||(e[t]=new Qt)}function fk(e,t){e[t]&&(e[t].next(),e[t].complete(),e[t]=null)}function pk(e){e instanceof Hr&&e.unsubscribe()}function mk(e,t){return function(){if(e&&e.call(this),fk(this,hk()),t.arrayName&&function Jj(e){Array.isArray(e)&&e.forEach(pk)}(this[t.arrayName]),t.checkProperties)for(const n in this)t.blackList?.includes(n)||pk(this[n])}}function bw(e={}){return t=>{!function Xj(e){return!!e[Zj]}(t)?function Qj(e,t){e.prototype.ngOnDestroy=mk(e.prototype.ngOnDestroy,t)}(t,e):function e$(e,t){const n=e.\u0275pipe;n.onDestroy=mk(n.onDestroy,t)}(t,e),function Kj(e){e.prototype[uk]=!0}(t)}}Symbol("CheckerHasBeenSet");function v_(e,t){return n=>{const r=hk(t);"string"==typeof t?function i$(e,t,n){const r=e[t];dk(e,n),e[t]=function(){r.apply(this,arguments),fk(this,n),e[t]=r}}(e,t,r):dk(e,r);const o=e[r];return n.pipe(EE(o))}}const s$=["addListener","removeListener"],a$=["addEventListener","removeEventListener"],l$=["on","off"];function ca(e,t,n,r){if(bn(n)&&(r=n,n=void 0),r)return ca(e,t,n).pipe(bE(r));const[o,c]=function h$(e){return bn(e.addEventListener)&&bn(e.removeEventListener)}(e)?a$.map(p=>y=>e[p](t,y,n)):function c$(e){return bn(e.addListener)&&bn(e.removeListener)}(e)?s$.map(vk(e,t)):function u$(e){return bn(e.on)&&bn(e.off)}(e)?l$.map(vk(e,t)):[];if(!o&&No(e))return Sr(p=>ca(p,t,n))(Jo(e));if(!o)throw new TypeError("Invalid event target");return new fe(p=>{const y=(...x)=>p.next(1